@univerjs-pro/boards-mind-ui 1.0.3 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +15 -15
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x303e32=_0x2923;(function(_0x2993ed,_0x22e9d4){const _0x26b698=_0x2923,_0x4fc56d=_0x2993ed();while(!![]){try{const _0x17d33d=parseInt(_0x26b698(0x30b))/0x1*(parseInt(_0x26b698(0x2a0))/0x2)+parseInt(_0x26b698(0x133))/0x3*(parseInt(_0x26b698(0x1ab))/0x4)+-parseInt(_0x26b698(0x22c))/0x5*(parseInt(_0x26b698(0x14f))/0x6)+-parseInt(_0x26b698(0x3b2))/0x7+parseInt(_0x26b698(0x15e))/0x8+-parseInt(_0x26b698(0x331))/0x9+parseInt(_0x26b698(0x198))/0xa;if(_0x17d33d===_0x22e9d4)break;else _0x4fc56d['push'](_0x4fc56d['shift']());}catch(_0x3aaea3){_0x4fc56d['push'](_0x4fc56d['shift']());}}}(_0x1917,0x52f53));import{BoardElementType as _0x7fb8a8,BoardToolType as _0x382aeb,IBoardElementService as _0x5648dc,IBoardMindMapAdapterService as _0x107036,UniverBoardsPlugin as _0x16d831,documentTextStyleToBoardShapeTextStyle as _0x44ae3b,offsetBoardConnectorGeometry as _0xa65e8b,resolveBoardElementWorldBounds as _0x1edce2}from'@univerjs-pro/boards';import{AddMindMapChildOperation as _0x1c718c,AddMindMapSiblingOperation as _0x460694,ChangeMindMapBranchLineTypeOperation as _0x41e3f9,ChangeMindMapLayoutOperation as _0x50dd3d,CopyMindMapNodeOperation as _0x408690,DeleteMindMapNodeOperation as _0x44a255,DetachMindMapNodeOperation as _0x1dba47,ExportMindMapOpmlOperation as _0x45c484,IMindMapClipboardService as _0x505035,ImportMindMapOpmlOperation as _0x12520c,InsertBoardMindMapOperation as _0xf8f47e,LayoutMindMapOperation as _0x47042e,MIND_MAP_DEFAULT_LAYOUT as _0x314ab2,MIND_MAP_DEFAULT_NODE_SIZE as _0x5d3af4,MIND_MAP_DEFAULT_NODE_TEXT as _0x6d2fad,MIND_MAP_LAYOUT_SPACING_LIMITS as _0x116f01,PasteMindMapAsNewMindMapOperation as _0x5dd497,PasteMindMapNodeOperation as _0x475991,PromoteMindMapNodeOperation as _0x1f0f3e,ReparentMindMapNodeOperation as _0x58c28a,ToggleMindMapNodeCollapseOperation as _0x33c3d6,TranslateMindMapOperation as _0x5170ca,UniverBoardsMindPlugin as _0x3e5573,UpdateMindMapIncomingConnectorOperation as _0x2c7a73,UpdateMindMapNodeOperation as _0x274fe8,compareMindMapOrderKey as _0x41fedd,getMindMapConnectorMeta as _0x5ed47f,getMindMapContainerMeta as _0xb789bf,getMindMapDefaultChildOrderKey as _0x45e6f0,getMindMapNodeMeta as _0x5b8eed,isMindMapPlainStructureKind as _0x1c3d5d,resolveMindMapBranchLineTypeForStructure as _0x3b0722,resolveMindMapLayoutPreview as _0x5e5d2c,resolveMindMapNodeHostSize as _0x21f3f2}from'@univerjs-pro/boards-mind';import{BOARDS_UI_PLUGIN_CONFIG_KEY as _0x3d0de4,BOARD_RENDER_LAYER_INDEX as _0x4a2e26,BOARD_RENDER_OBJECT_Z_INDEX as _0x1a2df1,BOARD_SHORTCUT_BINDINGS as _0x2bbd2a,BoardCanvasPopManagerService as _0x5414be,BoardInteractionSurfaceService as _0x27681d,BoardShapeIntrinsicSizeService as _0x29edb2,BoardTextEditingService as _0x5ae2fd,IBoardElementStateService as _0x2f7d9b,IBoardUIStateService as _0x57e681,UniverBoardsMobileUIPlugin as _0x1b9102,UniverBoardsUIPlugin as _0x2a8e51,areBoardShapeTextValuesEquivalent as _0x10f60,getBoardElementRenderObjectKey as _0x317ee1,isBoardShortcutAvailable as _0x23a614,parseBoardElementRenderObjectKey as _0x30d995,resolveBoardFloatingToolbarSelection as _0x7c41ac,syncBoardElementRenderObject as _0x12b00f}from'@univerjs-pro/boards-ui';import{UniverLicensePlugin as _0x143357}from'@univerjs-pro/license';import{BooleanNumber as _0xe917cc,CommandType as _0x19a3b2,DEFAULT_STYLES as _0x1f3242,DependentOn as _0x1fca7f,Disposable as _0x5a3354,DisposableCollection as _0x1825a2,HorizontalAlign as _0x546b27,ICommandService as _0x18b2f8,IConfigService as _0x1b3482,IContextService as _0x2bb0be,IUniverInstanceService as _0xd8ff2e,Inject as _0x4b1a3e,Injector as _0x539aca,LocaleService as _0x51902b,Plugin as _0x2713d6,RxDisposable as _0xd5b999,UniverInstanceType as _0x3c080c,VerticalAlign as _0x4b77cb,generateRandomId as _0x1f2708,merge as _0x59d214,toDisposable as _0x502ac1}from'@univerjs/core';import{BaseObject as _0x534fd4,Control as _0x556d17,DeviceType as _0x16178e,IRenderManagerService as _0x16c87c,UniverRenderEnginePlugin as _0x504b1f}from'@univerjs/engine-render';import{Subject as _0xa98ca6,merge as _0x285c97,takeUntil as _0x24fd2b}from'rxjs';import{ComponentManager as _0x211b96,IDialogService as _0x3469b1,IFontService as _0x2001b3,IShortcutService as _0x20fa6c,ISidebarService as _0x397b3a,KeyCode as _0x2dcee3,MetaKeys as _0x516482,UndoRedoGroupService as _0x222deb,useDependency as _0x3ebafe,useObservable as _0x5d3f5c}from'@univerjs/ui';import{MobileShapeMenu as _0x16a392,SHAPE_FLOATING_TOOLBAR_DEFAULT_STROKE_COLOR as _0x8d8629,SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_BACKGROUND_COLOR as _0x5733e6,SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_COLOR as _0x7a94d8,SHAPE_TEXT_EDITOR_QUOTE_COMMAND_ID as _0x492dc1,ShapeFillButton as _0x27393e,ShapeFloatingToolbarContent as _0x29f3a8,ShapeFloatingToolbarDropdownTrigger as _0x523581,ShapeFloatingToolbarFontSizeSelect as _0x3ac94b,ShapeFloatingToolbarIcon as _0x3ac543,ShapeFloatingToolbarMenuItem as _0x4ecb87,ShapeFloatingToolbarMenuPanel as _0x41baf4,ShapeStrokePanelButton as _0x534af4,ShapeStrokePanelContent as _0x6a1080,TextFillButton as _0x33b5ad,TypographyPanelButton as _0x443c63,buildShapeTextDataUpdate as _0x1a2ff7,getTextStyle as _0x573fac}from'@univerjs-pro/shape-editor-ui';import{ShapeDefaultConfig as _0x47319e,ShapeLineDashEnum as _0x546449,ShapeLineTypeEnum as _0x12b30e}from'@univerjs-pro/engine-shape';import{Button as _0x245e38,Dropdown as _0xba36e7,Input as _0xfa467d,InputNumber as _0x37d52a,MobileColorPresets as _0xa1dc0,Segmented as _0xc43e53,Separator as _0x2dcbd3,Textarea as _0x4d17a6,borderClassName as _0x39be21,clsx as _0x2509f8}from'@univerjs/design';import{AlignBottomIcon as _0x52711e,AlignTextBothIcon as _0x12cdd4,AlignTopIcon as _0x35efdb,BoldIcon as _0x19a073,HorizontallyIcon as _0x557496,ItalicIcon as _0x29a7ff,LeftJustifyingIcon as _0x9512c5,MoreHorizontalIcon as _0x1003f2,RightJustifyingIcon as _0x6598db,SearchIcon as _0x4d5263,ShapeLineIcon as _0x452bae,StrikethroughIcon as _0x2e0f12,UnderlineIcon as _0x2903d6,VerticalCenterIcon as _0x250a7b}from'@univerjs/icons';import{useEffect as _0x8d1f4a,useReducer as _0x5b65d2,useState as _0x3322bd}from'react';import{Fragment as _0xa348f8,jsx as _0x5de246,jsxs as _0x2bf1e8}from'react/jsx-runtime';var Zt=_0x303e32(0x3da),Qt='1.0.3';const $t=_0x303e32(0x1dc),en={};function tn(_0x2796fa){'@babel/helpers - typeof';const _0x5ad89c=_0x303e32;return tn=typeof Symbol==_0x5ad89c(0x3e0)&&typeof Symbol[_0x5ad89c(0x28d)]==_0x5ad89c(0x16f)?function(_0x53a4db){return typeof _0x53a4db;}:function(_0x830757){const _0x210842=_0x5ad89c;return _0x830757&&typeof Symbol==_0x210842(0x3e0)&&_0x830757[_0x210842(0x17d)]===Symbol&&_0x830757!==Symbol[_0x210842(0x268)]?_0x210842(0x16f):typeof _0x830757;},tn(_0x2796fa);}function nn(_0xb9ee2a,_0x555e57){const _0x1e31c9=_0x303e32;if(tn(_0xb9ee2a)!=_0x1e31c9(0x319)||!_0xb9ee2a)return _0xb9ee2a;var _0x15902f=_0xb9ee2a[Symbol['toPrimitive']];if(_0x15902f!==void 0x0){var _0x5c0b25=_0x15902f[_0x1e31c9(0x2ca)](_0xb9ee2a,_0x555e57||_0x1e31c9(0x2b8));if(tn(_0x5c0b25)!='object')return _0x5c0b25;throw TypeError(_0x1e31c9(0x271));}return(_0x555e57===_0x1e31c9(0x121)?String:Number)(_0xb9ee2a);}function rn(_0x190237){const _0xf5a07=_0x303e32;var _0x4575d0=nn(_0x190237,_0xf5a07(0x121));return tn(_0x4575d0)==_0xf5a07(0x16f)?_0x4575d0:_0x4575d0+'';}function K(_0x22f28e,_0x5267e9,_0x274cbb){return(_0x5267e9=rn(_0x5267e9))in _0x22f28e?Object['defineProperty'](_0x22f28e,_0x5267e9,{'value':_0x274cbb,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x22f28e[_0x5267e9]=_0x274cbb,_0x22f28e;}function q(_0x1a9a4f,_0x5d06c5){return function(_0x2ba434,_0x33e70b){_0x5d06c5(_0x2ba434,_0x33e70b,_0x1a9a4f);};}function J(_0x2a3510,_0x1fc82d,_0x1d38fa,_0x35dada){const _0x85e19d=_0x303e32;var _0x3e4288=arguments[_0x85e19d(0x346)],_0x53a9f1=_0x3e4288<0x3?_0x1fc82d:_0x35dada===null?_0x35dada=Object[_0x85e19d(0x2b1)](_0x1fc82d,_0x1d38fa):_0x35dada,_0xd92f8f;if(typeof Reflect==_0x85e19d(0x319)&&typeof Reflect['decorate']=='function')_0x53a9f1=Reflect[_0x85e19d(0x2c7)](_0x2a3510,_0x1fc82d,_0x1d38fa,_0x35dada);else{for(var _0x33b7fc=_0x2a3510[_0x85e19d(0x346)]-0x1;_0x33b7fc>=0x0;_0x33b7fc--)(_0xd92f8f=_0x2a3510[_0x33b7fc])&&(_0x53a9f1=(_0x3e4288<0x3?_0xd92f8f(_0x53a9f1):_0x3e4288>0x3?_0xd92f8f(_0x1fc82d,_0x1d38fa,_0x53a9f1):_0xd92f8f(_0x1fc82d,_0x1d38fa))||_0x53a9f1);}return _0x3e4288>0x3&&_0x53a9f1&&Object[_0x85e19d(0x247)](_0x1fc82d,_0x1d38fa,_0x53a9f1),_0x53a9f1;}let an=class extends _0xd5b999{constructor(_0x1501c4,_0x306413,_0x869a71){const _0x166952=_0x303e32;super(),this[_0x166952(0x34f)]=_0x1501c4,this[_0x166952(0x12e)]=_0x306413,this[_0x166952(0x3a7)]=_0x869a71,K(this,_0x166952(0x297),new Map()),K(this,'_queuedLayouts',new Map()),K(this,_0x166952(0x31f),!0x1),this[_0x166952(0x1ee)]();}[_0x303e32(0x1ee)](){const _0x3d1f05=_0x303e32;this['_seedExistingNodeSizes'](),this['disposeWithMe'](_0x502ac1(this['_boardElementService'][_0x3d1f05(0x2fd)][_0x3d1f05(0x3c0)](_0x24fd2b(this['dispose$']))[_0x3d1f05(0x3b6)](_0x5bcffa=>{const _0x5ba23d=_0x3d1f05;_0x5bcffa[_0x5ba23d(0x332)](_0x32e158=>{const _0x5eb428=_0x5ba23d;let _0x4e523a=this[_0x5eb428(0x12e)][_0x5eb428(0x3e2)](_0x32e158[_0x5eb428(0x305)],_0x32e158[_0x5eb428(0x437)],_0x32e158[_0x5eb428(0x3f5)]);this[_0x5eb428(0x41e)](_0x32e158,_0x4e523a);});}))),this['disposeWithMe'](_0x502ac1(this[_0x3d1f05(0x12e)][_0x3d1f05(0x295)][_0x3d1f05(0x3c0)](_0x24fd2b(this[_0x3d1f05(0x401)]))[_0x3d1f05(0x3b6)](_0x31d961=>{const _0x2d927b=_0x3d1f05;_0x31d961[_0x2d927b(0x332)](_0x575abd=>this[_0x2d927b(0x3b8)](_0x575abd));})));}[_0x303e32(0x3a8)](){const _0x5ca616=_0x303e32;let _0x2b360e=this[_0x5ca616(0x34f)][_0x5ca616(0x305)],_0x130d5b=this[_0x5ca616(0x12e)][_0x5ca616(0x340)](_0x2b360e);Object[_0x5ca616(0x180)](_0x130d5b)[_0x5ca616(0x332)](([_0x275e78,_0x41c9ec])=>{const _0x1b7c4b=_0x5ca616;Object['values'](_0x41c9ec['data'])[_0x1b7c4b(0x332)](_0x1723ee=>{const _0x1735d1=_0x1b7c4b;this[_0x1735d1(0x41e)]({'unitId':_0x2b360e,'subUnitId':_0x275e78,'elementId':_0x1723ee['elementId']},_0x1723ee);});});}[_0x303e32(0x3b8)](_0x47bb2c){const _0x579fb6=_0x303e32;if(_0x47bb2c[_0x579fb6(0x305)]!==this[_0x579fb6(0x34f)][_0x579fb6(0x305)])return;let _0x4d68ff=this[_0x579fb6(0x12e)]['getElementById'](_0x47bb2c['unitId'],_0x47bb2c[_0x579fb6(0x437)],_0x47bb2c[_0x579fb6(0x3f5)]),_0x2a507c=_0x5b8eed(_0x4d68ff==null?void 0x0:_0x4d68ff[_0x579fb6(0x357)]),_0xc372f5=this[_0x579fb6(0x3c2)](_0x4d68ff);if(!_0x2a507c||!_0xc372f5){this['_nodeSizeByKey']['delete'](this['_getElementKey'](_0x47bb2c));return;}let _0xcef07d=this[_0x579fb6(0x26b)](_0x47bb2c),_0x3f30d9=this[_0x579fb6(0x297)][_0x579fb6(0x409)](_0xcef07d);this[_0x579fb6(0x297)][_0x579fb6(0x343)](_0xcef07d,_0xc372f5),!(_0x3f30d9&&_0x3f30d9[_0x579fb6(0x39c)]===_0xc372f5[_0x579fb6(0x39c)]&&_0x3f30d9[_0x579fb6(0x2fb)]===_0xc372f5[_0x579fb6(0x2fb)])&&this[_0x579fb6(0x2a5)]({'unitId':_0x47bb2c[_0x579fb6(0x305)],'subUnitId':_0x47bb2c[_0x579fb6(0x437)],'scopeId':_0x2a507c[_0x579fb6(0x34b)]});}[_0x303e32(0x41e)](_0x50aa5a,_0x8e5952){const _0x9796d3=_0x303e32;if(_0x50aa5a[_0x9796d3(0x305)]!==this[_0x9796d3(0x34f)]['unitId'])return;let _0xdb326f=_0x5b8eed(_0x8e5952==null?void 0x0:_0x8e5952['element']),_0x67fa94=this['_resolveNodeSize'](_0x8e5952);_0xdb326f&&_0x67fa94&&this[_0x9796d3(0x297)][_0x9796d3(0x343)](this[_0x9796d3(0x26b)](_0x50aa5a),_0x67fa94);}[_0x303e32(0x3c2)](_0x596ca9){const _0x16c801=_0x303e32;let _0x379e78=(_0x596ca9==null?void 0x0:_0x596ca9[_0x16c801(0x3ad)])??(_0x596ca9==null?void 0x0:_0x596ca9['element'][_0x16c801(0x3ad)]),_0x74ef5=_0x379e78==null?void 0x0:_0x379e78['width'],_0x250b83=_0x379e78==null?void 0x0:_0x379e78[_0x16c801(0x2fb)];return!Number[_0x16c801(0x1df)](_0x74ef5)||!Number[_0x16c801(0x1df)](_0x250b83)?null:{'width':_0x74ef5,'height':_0x250b83};}[_0x303e32(0x2a5)](_0x4a83ec){const _0x58343c=_0x303e32;this[_0x58343c(0x284)][_0x58343c(0x343)](_0x4a83ec['unitId']+':'+_0x4a83ec[_0x58343c(0x437)]+':'+_0x4a83ec[_0x58343c(0x236)],_0x4a83ec),!this[_0x58343c(0x31f)]&&(this[_0x58343c(0x31f)]=!0x0,Promise[_0x58343c(0x3c3)]()[_0x58343c(0x248)](()=>{const _0x2f2c87=_0x58343c;this['_layoutFlushScheduled']=!0x1;let _0x383ff6=Array[_0x2f2c87(0x219)](this['_queuedLayouts'][_0x2f2c87(0x12b)]());this[_0x2f2c87(0x284)][_0x2f2c87(0x136)](),_0x383ff6[_0x2f2c87(0x332)](_0x1ca67e=>{const _0x500397=_0x2f2c87;this[_0x500397(0x2f8)](_0x1ca67e);});}));}['_executeRootAnchoredLayout'](_0x5d83e9){const _0x1d3d9b=_0x303e32;var _0x6365c4;let _0x4c908b=this[_0x1d3d9b(0x12e)]['getElementById'](_0x5d83e9[_0x1d3d9b(0x305)],_0x5d83e9[_0x1d3d9b(0x437)],_0x5d83e9[_0x1d3d9b(0x236)]),_0x1d73a6=(_0x6365c4=_0xb789bf(_0x4c908b==null?void 0x0:_0x4c908b[_0x1d3d9b(0x357)]))==null?void 0x0:_0x6365c4[_0x1d3d9b(0x339)];this['_commandService'][_0x1d3d9b(0x2de)](_0x47042e['id'],{..._0x5d83e9,'skipUndo':!0x0,..._0x1d73a6?{'anchorNodeId':_0x1d73a6}:null});}['_getElementKey'](_0x3da09b){const _0x6df034=_0x303e32;return _0x3da09b[_0x6df034(0x305)]+':'+_0x3da09b[_0x6df034(0x437)]+':'+_0x3da09b[_0x6df034(0x3f5)];}};an=J([q(0x1,_0x4b1a3e(_0x5648dc)),q(0x2,_0x18b2f8)],an);const Y={'primaryColor':_0x8d8629,'surfaceColor':_0x5733e6,'textColor':_0x7a94d8,'fontFamily':_0x1f3242['ff']};function on(_0x29649a,_0x508a52){const _0x39e8bd=_0x303e32;let _0x5a23b5=Math[_0x39e8bd(0x11f)](0x1,Math['max'](0x0,Number[_0x39e8bd(0x1df)](_0x508a52)?_0x508a52:0x1)),_0x2d9bee=_0x29649a[_0x39e8bd(0x38a)](),_0x18b1d2=/^#([0-9a-fA-F]{6})$/[_0x39e8bd(0x12f)](_0x2d9bee);if(!_0x18b1d2)return _0x29649a;let _0x5430a9=_0x18b1d2[0x1];return _0x39e8bd(0x3a3)+Number[_0x39e8bd(0x13d)](_0x5430a9[_0x39e8bd(0x36f)](0x0,0x2),0x10)+',\x20'+Number['parseInt'](_0x5430a9[_0x39e8bd(0x36f)](0x2,0x4),0x10)+',\x20'+Number[_0x39e8bd(0x13d)](_0x5430a9[_0x39e8bd(0x36f)](0x4,0x6),0x10)+',\x20'+_0x5a23b5+')';}const X={'primaryColor':Y[_0x303e32(0x267)],'ghostFillColor':on(Y[_0x303e32(0x1e0)],0.72),'ghostTextColor':on(Y[_0x303e32(0x1e6)],0.62),'rootTextColor':on(Y[_0x303e32(0x1e0)],0.86),'sourceHighlightFillColor':on(Y[_0x303e32(0x267)],0.12),'sourceHighlightStrokeColor':on(Y['primaryColor'],0.9),'objectAlpha':0.72,'dragObjectAlpha':0.78,'connectorAlpha':0.64,'lineWidthScreen':0x2,'fallbackNodeWidth':_0x5d3af4[_0x303e32(0x3cc)],'fallbackNodeHeight':_0x5d3af4[_0x303e32(0x20f)],'branchGap':_0x314ab2[_0x303e32(0x315)],'sourceHaloScreen':0x4,'ghostRadius':0x8,'rootRadius':0xa,'fontFamily':Y[_0x303e32(0x406)],'ghostFontWeight':0x1f4,'rootFontWeight':0x258,'rootFontSize':0x12,'textPaddingScreen':0xc,'dirtyPaddingScreen':0x18,'sourceDashScreen':[0x6,0x4]};function Z(_0x3ccf48,_0x3663e2,_0x3ff625,_0x1ecbf2,_0xb3e0e8,_0x4bff2e){const _0x32c162=_0x303e32;let _0x2d1258=Math[_0x32c162(0x11f)](_0x4bff2e,_0x1ecbf2/0x2,_0xb3e0e8/0x2);_0x3ccf48[_0x32c162(0x2a9)](),_0x3ccf48[_0x32c162(0x14c)](_0x3663e2+_0x2d1258,_0x3ff625),_0x3ccf48[_0x32c162(0x132)](_0x3663e2+_0x1ecbf2-_0x2d1258,_0x3ff625),_0x3ccf48[_0x32c162(0x28e)](_0x3663e2+_0x1ecbf2,_0x3ff625,_0x3663e2+_0x1ecbf2,_0x3ff625+_0x2d1258),_0x3ccf48[_0x32c162(0x132)](_0x3663e2+_0x1ecbf2,_0x3ff625+_0xb3e0e8-_0x2d1258),_0x3ccf48[_0x32c162(0x28e)](_0x3663e2+_0x1ecbf2,_0x3ff625+_0xb3e0e8,_0x3663e2+_0x1ecbf2-_0x2d1258,_0x3ff625+_0xb3e0e8),_0x3ccf48['lineTo'](_0x3663e2+_0x2d1258,_0x3ff625+_0xb3e0e8),_0x3ccf48[_0x32c162(0x28e)](_0x3663e2,_0x3ff625+_0xb3e0e8,_0x3663e2,_0x3ff625+_0xb3e0e8-_0x2d1258),_0x3ccf48[_0x32c162(0x132)](_0x3663e2,_0x3ff625+_0x2d1258),_0x3ccf48[_0x32c162(0x28e)](_0x3663e2,_0x3ff625,_0x3663e2+_0x2d1258,_0x3ff625),_0x3ccf48['closePath']();}function sn(_0x2246b3,_0x350f38,_0x1eb994){const _0x5b1b2e=_0x303e32;return _0x2246b3+'\x20'+_0x350f38/_0x1eb994+_0x5b1b2e(0x204)+X[_0x5b1b2e(0x406)];}const cn=_0x303e32(0x2f7),ln=_0x4a2e26[_0x303e32(0x2e8)];function Q(_0x31ae50,_0x456504){const _0x3f3895=_0x303e32;return Number[_0x3f3895(0x1df)](_0x31ae50)?_0x31ae50:_0x456504;}function un(){const _0x36d67a=_0x303e32;return X[_0x36d67a(0x414)];}function dn(){const _0x4abe38=_0x303e32;return X[_0x4abe38(0x21f)];}function fn(_0x4f0952){const _0x42b844=_0x303e32;return _0x4f0952===0x1?_0x42b844(0x162):_0x4f0952===0x3?'right':_0x42b844(0x3d8);}function pn(_0x435f6f,_0x419fa6,_0x22d00b,_0x2acde7){return _0x22d00b===0x1?_0x435f6f+_0x2acde7:_0x22d00b===0x3?_0x435f6f+_0x419fa6-_0x2acde7:_0x435f6f+_0x419fa6/0x2;}var mn=class extends _0x534fd4{constructor(_0x3bbfe1=cn,_0x18a28c){const _0x2d76f7=_0x303e32;super(_0x3bbfe1),K(this,_0x2d76f7(0x18d),{'ghostBounds':null,'parentBounds':null,'side':_0x2d76f7(0x293),'zoomRatio':0x1}),this[_0x2d76f7(0x31d)]=!0x1,this[_0x2d76f7(0x239)]=_0x1a2df1[_0x2d76f7(0x390)],this[_0x2d76f7(0x1ca)](_0x18a28c);}[_0x303e32(0x1ca)](_0x293b61){const _0x2840b5=_0x303e32;if(this['_state']={...this[_0x2840b5(0x18d)],..._0x293b61},this[_0x2840b5(0x18d)][_0x2840b5(0x1d9)]){let _0x3e0458=this[_0x2840b5(0x2d3)]();this[_0x2840b5(0x19b)](_0x3e0458),this[_0x2840b5(0x124)]();}else this['hide']();let _0x38fe44=this;typeof _0x38fe44['makeDirtyNoDebounce']==_0x2840b5(0x3e0)?_0x38fe44[_0x2840b5(0x1dd)](!0x0):this[_0x2840b5(0x242)](!0x0);}['isHit'](_0x2cf6d6){return!0x1;}[_0x303e32(0x287)](_0x161009,_0x583667){const _0x24c4f3=_0x303e32;let _0xb0d28c=this[_0x24c4f3(0x18d)]['ghostBounds'];if(!_0xb0d28c||!this['visible'])return this[_0x24c4f3(0x242)](!0x1),this;let _0xe90e65=Number[_0x24c4f3(0x1df)](this['_state'][_0x24c4f3(0x1fb)])&&(this[_0x24c4f3(0x18d)][_0x24c4f3(0x1fb)]??0x0)>0x0?this[_0x24c4f3(0x18d)][_0x24c4f3(0x1fb)]:0x1,_0xa70013=Q(_0xb0d28c[_0x24c4f3(0x162)],0x0),_0x44faee=Q(_0xb0d28c[_0x24c4f3(0x2a2)],0x0),_0x49c032=Math[_0x24c4f3(0x384)](0x1,Q(_0xb0d28c[_0x24c4f3(0x39c)],un())),_0x52ede2=Math[_0x24c4f3(0x384)](0x1,Q(_0xb0d28c['height'],dn()));if(_0x161009[_0x24c4f3(0x2a4)](),_0x161009[_0x24c4f3(0x286)]=X[_0x24c4f3(0x35b)],_0x161009[_0x24c4f3(0x1b7)]=X['lineWidthScreen']/_0xe90e65,_0x161009[_0x24c4f3(0x282)]=X[_0x24c4f3(0x267)],_0x161009[_0x24c4f3(0x1f3)]=X[_0x24c4f3(0x1d7)],this[_0x24c4f3(0x15f)](_0x161009,{'left':_0xa70013,'top':_0x44faee,'width':_0x49c032,'height':_0x52ede2},_0xe90e65),this['_drawSourceHighlight'](_0x161009,_0xe90e65),this[_0x24c4f3(0x18d)][_0x24c4f3(0x244)]===!0x1)return _0x161009[_0x24c4f3(0x365)](),this[_0x24c4f3(0x242)](!0x1),this;Z(_0x161009,_0xa70013,_0x44faee,_0x49c032,_0x52ede2,X[_0x24c4f3(0x182)]),_0x161009[_0x24c4f3(0x2c2)](),_0x161009[_0x24c4f3(0x235)]();let _0x3c117d=this[_0x24c4f3(0x18d)][_0x24c4f3(0x22b)],_0x13f2ff=Number[_0x24c4f3(0x1df)](_0x3c117d==null?void 0x0:_0x3c117d[_0x24c4f3(0x2ac)])&&((_0x3c117d==null?void 0x0:_0x3c117d[_0x24c4f3(0x2ac)])??0x0)>0x0?_0x3c117d[_0x24c4f3(0x2ac)]:0x10,_0xe3f02d=X[_0x24c4f3(0x3a2)]/_0xe90e65;return _0x161009['fillStyle']=(_0x3c117d==null?void 0x0:_0x3c117d[_0x24c4f3(0x1ec)])??X[_0x24c4f3(0x341)],_0x161009[_0x24c4f3(0x3d5)]=sn(X['ghostFontWeight'],_0x13f2ff,_0xe90e65),_0x161009[_0x24c4f3(0x1c1)]=fn(_0x3c117d==null?void 0x0:_0x3c117d[_0x24c4f3(0x2c4)]),_0x161009[_0x24c4f3(0x1f0)]=_0x24c4f3(0x3c1),_0x161009[_0x24c4f3(0x17c)]((_0x3c117d==null?void 0x0:_0x3c117d[_0x24c4f3(0x1ae)])||_0x6d2fad,pn(_0xa70013,_0x49c032,_0x3c117d==null?void 0x0:_0x3c117d[_0x24c4f3(0x2c4)],_0xe3f02d),_0x44faee+_0x52ede2/0x2,Math[_0x24c4f3(0x384)](0x1,_0x49c032-_0xe3f02d*0x2)),_0x161009[_0x24c4f3(0x365)](),this[_0x24c4f3(0x242)](!0x1),this;}[_0x303e32(0x2d3)](){const _0x1c682b=_0x303e32;let _0x280873=this[_0x1c682b(0x18d)][_0x1c682b(0x1d9)],_0x2e49cb=Number[_0x1c682b(0x1df)](this[_0x1c682b(0x18d)][_0x1c682b(0x1fb)])&&(this[_0x1c682b(0x18d)][_0x1c682b(0x1fb)]??0x0)>0x0?this[_0x1c682b(0x18d)][_0x1c682b(0x1fb)]:0x1,_0x7fa471=X['dirtyPaddingScreen']/_0x2e49cb;if(!_0x280873)return{'left':0x0,'top':0x0,'width':0x1,'height':0x1};let _0x4e57a2=Q(_0x280873['left'],0x0),_0xaa59d9=Q(_0x280873['top'],0x0),_0x217cd6=Math[_0x1c682b(0x384)](0x1,Q(_0x280873[_0x1c682b(0x39c)],un())),_0x55da96=Math['max'](0x1,Q(_0x280873[_0x1c682b(0x2fb)],dn())),_0x73837c=this['_state'][_0x1c682b(0x175)],_0x39d425=this['_state'][_0x1c682b(0x27d)],_0x3fe86b=Q(_0x73837c==null?void 0x0:_0x73837c[_0x1c682b(0x162)],_0x4e57a2),_0x3745c5=Q(_0x73837c==null?void 0x0:_0x73837c['top'],_0xaa59d9),_0x555723=Math[_0x1c682b(0x384)](0x1,Q(_0x73837c==null?void 0x0:_0x73837c['width'],_0x217cd6)),_0x396dab=Math[_0x1c682b(0x384)](0x1,Q(_0x73837c==null?void 0x0:_0x73837c[_0x1c682b(0x2fb)],_0x55da96));if(!_0x39d425){let _0x558d7d=Math[_0x1c682b(0x11f)](_0x4e57a2,_0x3fe86b)-_0x7fa471,_0x55a7a1=Math[_0x1c682b(0x11f)](_0xaa59d9,_0x3745c5)-_0x7fa471,_0x4b000d=Math[_0x1c682b(0x384)](_0x4e57a2+_0x217cd6,_0x3fe86b+_0x555723)+_0x7fa471,_0x489ebe=Math[_0x1c682b(0x384)](_0xaa59d9+_0x55da96,_0x3745c5+_0x396dab)+_0x7fa471;return{'left':_0x558d7d,'top':_0x55a7a1,'width':_0x4b000d-_0x558d7d,'height':_0x489ebe-_0x55a7a1};}let _0x34601a=Q(_0x39d425[_0x1c682b(0x162)],_0x4e57a2),_0x1eb750=Q(_0x39d425[_0x1c682b(0x2a2)],_0xaa59d9),_0x2baf55=Math[_0x1c682b(0x384)](0x1,Q(_0x39d425[_0x1c682b(0x39c)],un())),_0x242d36=Math[_0x1c682b(0x384)](0x1,Q(_0x39d425['height'],dn())),_0x1420a6=Math[_0x1c682b(0x11f)](_0x4e57a2,_0x34601a,_0x3fe86b)-_0x7fa471,_0xfb2c12=Math['min'](_0xaa59d9,_0x1eb750,_0x3745c5)-_0x7fa471,_0xf4444f=Math[_0x1c682b(0x384)](_0x4e57a2+_0x217cd6,_0x34601a+_0x2baf55,_0x3fe86b+_0x555723)+_0x7fa471,_0x13a98e=Math['max'](_0xaa59d9+_0x55da96,_0x1eb750+_0x242d36,_0x3745c5+_0x396dab)+_0x7fa471;return{'left':_0x1420a6,'top':_0xfb2c12,'width':_0xf4444f-_0x1420a6,'height':_0x13a98e-_0xfb2c12};}[_0x303e32(0x310)](_0x31ad03,_0x2ceeb9){const _0x152779=_0x303e32;var _0x5b7e25;let _0x1ee017=this['_state']['sourceBounds'];if(!_0x1ee017)return;let _0x2f426e=X['sourceHaloScreen']/_0x2ceeb9,_0x1e1608=Q(_0x1ee017[_0x152779(0x162)],0x0)-_0x2f426e,_0x58f090=Q(_0x1ee017[_0x152779(0x2a2)],0x0)-_0x2f426e,_0x13b274=Math[_0x152779(0x384)](0x1,Q(_0x1ee017[_0x152779(0x39c)],un()))+_0x2f426e*0x2,_0x4638f7=Math[_0x152779(0x384)](0x1,Q(_0x1ee017['height'],dn()))+_0x2f426e*0x2;_0x31ad03['save'](),_0x31ad03[_0x152779(0x286)]=0x1,_0x31ad03[_0x152779(0x1b7)]=X[_0x152779(0x3b0)]/_0x2ceeb9,_0x31ad03[_0x152779(0x282)]=X['sourceHighlightStrokeColor'],_0x31ad03[_0x152779(0x1f3)]=X[_0x152779(0x237)],(_0x5b7e25=_0x31ad03[_0x152779(0x1f5)])==null||_0x5b7e25[_0x152779(0x2ca)](_0x31ad03,X[_0x152779(0x3cd)]['map'](_0x5be70c=>_0x5be70c/_0x2ceeb9)),Z(_0x31ad03,_0x1e1608,_0x58f090,_0x13b274,_0x4638f7,X[_0x152779(0x33e)]),_0x31ad03[_0x152779(0x2c2)](),_0x31ad03['stroke'](),_0x31ad03['restore']();}[_0x303e32(0x15f)](_0x217db8,_0x2490dc,_0x5e3887){const _0x2a9649=_0x303e32;let _0x1b89a0=this[_0x2a9649(0x18d)][_0x2a9649(0x27d)];if(!_0x1b89a0)return;let _0x1ee39f=Q(_0x1b89a0[_0x2a9649(0x162)],0x0),_0x2837df=Q(_0x1b89a0[_0x2a9649(0x2a2)],0x0),_0x45b506=Math['max'](0x1,Q(_0x1b89a0[_0x2a9649(0x39c)],un())),_0x153911=Math[_0x2a9649(0x384)](0x1,Q(_0x1b89a0[_0x2a9649(0x2fb)],dn())),_0x27e0b2=X[_0x2a9649(0x315)],_0x47cbf3=this['_state']['side']??_0x2a9649(0x293);if(_0x217db8[_0x2a9649(0x2a4)](),_0x217db8[_0x2a9649(0x286)]=X[_0x2a9649(0x1ef)],_0x217db8['strokeStyle']=X[_0x2a9649(0x267)],_0x217db8[_0x2a9649(0x1b7)]=X['lineWidthScreen']/_0x5e3887,_0x217db8[_0x2a9649(0x311)]=_0x2a9649(0x21c),_0x217db8[_0x2a9649(0x40f)]='round',_0x217db8[_0x2a9649(0x2a9)](),_0x47cbf3===_0x2a9649(0x2a2)||_0x47cbf3===_0x2a9649(0x11e)){let _0x3cd8c0=_0x1ee39f+_0x45b506/0x2,_0x54b23c=_0x2490dc['left']+_0x2490dc[_0x2a9649(0x39c)]/0x2,_0x142986=_0x47cbf3===_0x2a9649(0x11e)?_0x2837df+_0x153911:_0x2837df,_0x24d088=_0x47cbf3==='bottom'?_0x2490dc['top']:_0x2490dc[_0x2a9649(0x2a2)]+_0x2490dc[_0x2a9649(0x2fb)],_0x3bb0d9=_0x47cbf3===_0x2a9649(0x11e)?Math[_0x2a9649(0x11f)](_0x142986+_0x27e0b2,(_0x142986+_0x24d088)/0x2):Math['max'](_0x142986-_0x27e0b2,(_0x142986+_0x24d088)/0x2);_0x217db8[_0x2a9649(0x14c)](_0x3cd8c0,_0x142986),_0x217db8[_0x2a9649(0x132)](_0x3cd8c0,_0x3bb0d9),_0x217db8[_0x2a9649(0x132)](_0x54b23c,_0x3bb0d9),_0x217db8['lineTo'](_0x54b23c,_0x24d088);}else{let _0xfb19a3=_0x2837df+_0x153911/0x2,_0x59ef85=_0x2490dc[_0x2a9649(0x2a2)]+_0x2490dc[_0x2a9649(0x2fb)]/0x2,_0x30a516=_0x47cbf3===_0x2a9649(0x293)?_0x1ee39f+_0x45b506:_0x1ee39f,_0x9bf3cd=_0x47cbf3===_0x2a9649(0x293)?_0x2490dc['left']:_0x2490dc[_0x2a9649(0x162)]+_0x2490dc[_0x2a9649(0x39c)],_0x3b789a=_0x47cbf3===_0x2a9649(0x293)?Math[_0x2a9649(0x11f)](_0x30a516+_0x27e0b2,(_0x30a516+_0x9bf3cd)/0x2):Math[_0x2a9649(0x384)](_0x30a516-_0x27e0b2,(_0x30a516+_0x9bf3cd)/0x2);_0x217db8[_0x2a9649(0x14c)](_0x30a516,_0xfb19a3),_0x217db8['lineTo'](_0x3b789a,_0xfb19a3),_0x217db8[_0x2a9649(0x132)](_0x3b789a,_0x59ef85),_0x217db8[_0x2a9649(0x132)](_0x9bf3cd,_0x59ef85);}_0x217db8[_0x2a9649(0x235)](),_0x217db8[_0x2a9649(0x365)]();}};function hn(_0x59aebe,_0x1d8882){const _0x2a1664=_0x303e32;return(_0x1d8882==null?void 0x0:_0x1d8882[_0x59aebe[_0x2a1664(0x3f5)]])??_0x59aebe[_0x2a1664(0x357)][_0x2a1664(0x3ad)];}function gn(_0x25ff5a,_0x68788f){const _0xd1e90a=_0x303e32;let _0x180366=hn(_0x25ff5a,_0x68788f);return{'x':(_0x180366[_0xd1e90a(0x162)]??0x0)+(_0x180366[_0xd1e90a(0x39c)]??0x0)/0x2,'y':(_0x180366[_0xd1e90a(0x2a2)]??0x0)+(_0x180366[_0xd1e90a(0x2fb)]??0x0)/0x2};}function _n(_0xc42319,_0x4ba9e5){return Math['hypot'](_0xc42319['x']-_0x4ba9e5['x'],_0xc42319['y']-_0x4ba9e5['y']);}function _0x2923(_0x5b5aef,_0x3cbaad){_0x5b5aef=_0x5b5aef-0x118;const _0x1917b9=_0x1917();let _0x292365=_0x1917b9[_0x5b5aef];return _0x292365;}function vn(_0x6b1003,_0x34a4bb){const _0x12fce0=_0x303e32;let _0x55f324=_0x6b1003[_0x12fce0(0x162)]??0x0,_0x33e716=_0x6b1003[_0x12fce0(0x2a2)]??0x0,_0x51c145=_0x55f324+(_0x6b1003[_0x12fce0(0x39c)]??0x0),_0x69ccfb=_0x33e716+(_0x6b1003[_0x12fce0(0x2fb)]??0x0),_0xed9810=_0x34a4bb[_0x12fce0(0x162)]??0x0,_0x42afee=_0x34a4bb['top']??0x0,_0x61af50=_0xed9810+(_0x34a4bb[_0x12fce0(0x39c)]??0x0),_0x51880c=_0x42afee+(_0x34a4bb['height']??0x0),_0xaa1c5e=Math[_0x12fce0(0x384)](_0xed9810-_0x51c145,_0x55f324-_0x61af50,0x0),_0x5629ca=Math[_0x12fce0(0x384)](_0x42afee-_0x69ccfb,_0x33e716-_0x51880c,0x0);return Math[_0x12fce0(0x15d)](_0xaa1c5e,_0x5629ca);}function yn(_0x56da7e,_0xca3965,_0x4b4991){const _0x5d5ced=_0x303e32;var _0x987c9c;let _0x5ecbb4=_0x5b8eed((_0x987c9c=_0x56da7e[_0xca3965])==null?void 0x0:_0x987c9c['element']);for(;_0x5ecbb4!=null&&_0x5ecbb4[_0x5d5ced(0x259)];){var _0x1497e9;if(_0x5ecbb4['parentNodeId']===_0x4b4991)return!0x0;_0x5ecbb4=_0x5b8eed((_0x1497e9=_0x56da7e[_0x5ecbb4[_0x5d5ced(0x259)]])==null?void 0x0:_0x1497e9[_0x5d5ced(0x357)]);}return!0x1;}function bn(_0x32ae0c,_0x253b09,_0x525d80){const _0x5952eb=_0x303e32;let _0x2f753d=hn(_0x32ae0c,_0x525d80),_0x455e28=_0x2f753d[_0x5952eb(0x2a2)]??0x0,_0x211569=_0x2f753d['height']??0x0;return _0x211569<=0x0?null:_0x253b09['y']<=_0x455e28+_0x211569/0x3?_0x5952eb(0x351):_0x253b09['y']>=_0x455e28+_0x211569*0x2/0x3?_0x5952eb(0x145):null;}function xn(_0x1aa890,_0x17fb89){const _0x5db2f9=_0x303e32;let _0x377e50=_0x17fb89==null?void 0x0:_0x17fb89[_0x1aa890];return Number['isFinite'](_0x377e50==null?void 0x0:_0x377e50[_0x5db2f9(0x162)])&&Number['isFinite'](_0x377e50==null?void 0x0:_0x377e50[_0x5db2f9(0x2a2)])?{'kind':_0x5db2f9(0x3aa),'left':_0x377e50['left'],'top':_0x377e50[_0x5db2f9(0x2a2)]}:{'kind':_0x5db2f9(0x3aa)};}function Sn(_0x12506c,_0x3938b9,_0x3f27bb){const _0x38fc68=_0x303e32;let _0x53cc06=_0x12506c[_0x3938b9],_0x58a78f=_0x5b8eed(_0x53cc06==null?void 0x0:_0x53cc06[_0x38fc68(0x357)]);if(!_0x53cc06||!_0x58a78f||!_0x58a78f[_0x38fc68(0x259)]&&!(_0x3f27bb!=null&&_0x3f27bb[_0x38fc68(0x272)]))return{'kind':_0x38fc68(0x358)};let _0x5055d2=_0x3f27bb==null?void 0x0:_0x3f27bb[_0x38fc68(0x17f)],_0x375b12=hn(_0x53cc06,_0x5055d2),_0x422d0c=gn(_0x53cc06,_0x5055d2),_0x34d926=Object[_0x38fc68(0x12b)](_0x12506c)[_0x38fc68(0x2c5)](_0x1d7dcc=>{const _0xb98d20=_0x38fc68;let _0x448c86=_0x5b8eed(_0x1d7dcc[_0xb98d20(0x357)]);return!_0x448c86||_0x1d7dcc[_0xb98d20(0x3f5)]===_0x3938b9||_0x1d7dcc[_0xb98d20(0x3f5)]===_0x58a78f[_0xb98d20(0x259)]||_0x3f27bb!=null&&_0x3f27bb['allowRootReparent']&&!_0x58a78f[_0xb98d20(0x259)]&&_0x448c86[_0xb98d20(0x34b)]===_0x58a78f[_0xb98d20(0x34b)]||yn(_0x12506c,_0x1d7dcc[_0xb98d20(0x3f5)],_0x3938b9)?null:{'item':_0x1d7dcc,'snapDistance':vn(_0x375b12,hn(_0x1d7dcc,_0x5055d2)),'center':gn(_0x1d7dcc,_0x5055d2)};})[_0x38fc68(0x18a)](_0x1f11c2=>!!_0x1f11c2)['sort']((_0x2ada56,_0x4fd0f4)=>_0x2ada56[_0x38fc68(0x379)]-_0x4fd0f4[_0x38fc68(0x379)]||_n(_0x422d0c,_0x2ada56['center'])-_n(_0x422d0c,_0x4fd0f4['center']))[0x0];if(_0x34d926&&_0x34d926[_0x38fc68(0x379)]<=0x64){let _0x321c81=_0x5b8eed(_0x34d926[_0x38fc68(0x388)][_0x38fc68(0x357)]),_0x143dbe=_0x321c81!=null&&_0x321c81[_0x38fc68(0x259)]?bn(_0x34d926[_0x38fc68(0x388)],_0x422d0c,_0x5055d2):null;return _0x321c81!=null&&_0x321c81[_0x38fc68(0x259)]&&_0x143dbe?{'kind':_0x38fc68(0x42f),'newParentNodeId':_0x321c81[_0x38fc68(0x259)],'side':_0x321c81[_0x38fc68(0x3cf)]??'right','referenceNodeId':_0x34d926[_0x38fc68(0x388)][_0x38fc68(0x3f5)],'placement':_0x143dbe}:{'kind':_0x38fc68(0x42f),'newParentNodeId':_0x34d926[_0x38fc68(0x388)][_0x38fc68(0x3f5)],'side':_0x422d0c['x']<_0x34d926[_0x38fc68(0x3d8)]['x']?_0x38fc68(0x162):'right'};}if(_0x3f27bb!=null&&_0x3f27bb[_0x38fc68(0x231)])return xn(_0x3938b9,_0x5055d2);if(!_0x58a78f[_0x38fc68(0x259)])return{'kind':'none'};let _0x519731=_0x12506c[_0x58a78f[_0x38fc68(0x259)]];return _0x519731&&_n(_0x422d0c,gn(_0x519731,_0x5055d2))>0x230?xn(_0x3938b9,_0x5055d2):{'kind':_0x38fc68(0x358)};}function Cn(_0x169b60,_0x567d5d){const _0x414c1a=_0x303e32;var _0x343f8d,_0x2f0d93;return _0x169b60[_0x414c1a(0x3f5)]===_0x567d5d||((_0x343f8d=_0x5b8eed(_0x169b60[_0x414c1a(0x357)]))==null?void 0x0:_0x343f8d['structureScopeId'])===_0x567d5d||((_0x2f0d93=_0x5ed47f(_0x169b60[_0x414c1a(0x357)]))==null?void 0x0:_0x2f0d93[_0x414c1a(0x34b)])===_0x567d5d;}function wn(_0x208d41,_0x2e06ac,_0x3d17e7,_0x228ccf){const _0x95bd18=_0x303e32;let _0x3548c=_0x208d41[_0x2e06ac];if(!_0x3548c)return _0x208d41;let _0x5a6977=_0x3548c[_0x95bd18(0x3ad)]??_0x3548c[_0x95bd18(0x357)]['transform']??{};return{..._0x208d41,[_0x2e06ac]:{..._0x3548c,'transform':{..._0x5a6977,'left':(_0x5a6977[_0x95bd18(0x162)]??0x0)+_0x3d17e7,'top':(_0x5a6977['top']??0x0)+_0x228ccf},'element':{..._0x3548c[_0x95bd18(0x357)],'transform':{..._0x3548c[_0x95bd18(0x357)][_0x95bd18(0x3ad)],'left':(_0x3548c[_0x95bd18(0x357)][_0x95bd18(0x3ad)]['left']??0x0)+_0x3d17e7,'top':(_0x3548c['element'][_0x95bd18(0x3ad)][_0x95bd18(0x2a2)]??0x0)+_0x228ccf}}}};}function Tn(_0x42438c){const _0xe19957=_0x303e32;if(!Number[_0xe19957(0x1df)](_0x42438c[_0xe19957(0x34a)][_0xe19957(0x162)])||!Number['isFinite'](_0x42438c[_0xe19957(0x34a)][_0xe19957(0x2a2)])||!Number['isFinite'](_0x42438c[_0xe19957(0x3d6)][_0xe19957(0x162)])||!Number[_0xe19957(0x1df)](_0x42438c[_0xe19957(0x3d6)][_0xe19957(0x2a2)]))return null;let _0x182943=_0x42438c['liveRootBounds']['left']-_0x42438c[_0xe19957(0x3d6)][_0xe19957(0x162)],_0x28771f=_0x42438c[_0xe19957(0x34a)]['top']-_0x42438c[_0xe19957(0x3d6)][_0xe19957(0x2a2)],_0x1d6549=wn(_0x42438c[_0xe19957(0x42b)],_0x42438c[_0xe19957(0x236)],_0x182943,_0x28771f),_0x2a9a7d=[];return Object[_0xe19957(0x12b)](_0x1d6549)[_0xe19957(0x332)](_0x10721e=>{const _0x2ebc63=_0xe19957;if(_0x10721e[_0x2ebc63(0x3f5)]===_0x42438c[_0x2ebc63(0x339)]||_0x10721e[_0x2ebc63(0x3f5)]===_0x42438c[_0x2ebc63(0x236)]||!Cn(_0x10721e,_0x42438c['scopeId']))return;if(_0x2ebc63(0x3ac)in _0x10721e[_0x2ebc63(0x357)]){var _0xb4bc13;let _0x344947=(_0xb4bc13=_0x42438c[_0x2ebc63(0x42b)][_0x10721e[_0x2ebc63(0x3f5)]])==null?void 0x0:_0xb4bc13[_0x2ebc63(0x357)];_0x344947&&_0x2ebc63(0x3ac)in _0x344947&&_0x2a9a7d[_0x2ebc63(0x203)]({'kind':_0x2ebc63(0x13f),'elementId':_0x10721e['elementId'],'element':_0xa65e8b(_0x344947,{'x':_0x182943,'y':_0x28771f})});return;}let _0x36ff1b=_0x1edce2(_0x1d6549,_0x10721e[_0x2ebc63(0x3f5)]);_0x36ff1b&&_0x2a9a7d[_0x2ebc63(0x203)]({'kind':_0x2ebc63(0x129),'elementId':_0x10721e['elementId'],'bounds':_0x36ff1b});}),{'deltaX':_0x182943,'deltaY':_0x28771f,'elementData':_0x1d6549,'items':_0x2a9a7d};}let En=class extends _0xd5b999{constructor(_0x3c8af6,_0x3c234b,_0x1caba0,_0x3a96a7,_0xd478af,_0x213334,_0x9d804d){const _0x1ccb95=_0x303e32;super(),this[_0x1ccb95(0x34f)]=_0x3c8af6,this['_boardElementService']=_0x3c234b,this[_0x1ccb95(0x368)]=_0x1caba0,this[_0x1ccb95(0x3a7)]=_0x3a96a7,this[_0x1ccb95(0x363)]=_0xd478af,this[_0x1ccb95(0x3b3)]=_0x213334,this[_0x1ccb95(0x425)]=_0x9d804d,K(this,_0x1ccb95(0x1da),null),K(this,_0x1ccb95(0x33b),null),K(this,_0x1ccb95(0x240),null),K(this,_0x1ccb95(0x167),!0x1),K(this,_0x1ccb95(0x2bf),null),K(this,_0x1ccb95(0x1c2),null),K(this,_0x1ccb95(0x251),!0x1),K(this,_0x1ccb95(0x32a),null),K(this,_0x1ccb95(0x2bd),!0x1),this[_0x1ccb95(0x1ee)]();}[_0x303e32(0x1ee)](){const _0x286b7f=_0x303e32;var _0x298dd1,_0x51abd3,_0xa4c8ae,_0x1612af,_0x569b21;let _0x3788a3=this['_renderContext']['scene']['getTransformerByCreate']();this['disposeWithMe'](_0x502ac1(_0x3788a3[_0x286b7f(0x2b6)][_0x286b7f(0x3c0)](_0x24fd2b(this[_0x286b7f(0x401)]))[_0x286b7f(0x3b6)](()=>{const _0x379e05=_0x286b7f;this[_0x379e05(0x263)]();}))),this[_0x286b7f(0x18e)](_0x502ac1(((_0x298dd1=_0x3788a3[_0x286b7f(0x238)])==null?void 0x0:_0x298dd1['pipe'](_0x24fd2b(this[_0x286b7f(0x401)]))[_0x286b7f(0x3b6)](_0x1ac8b6=>{const _0x52d860=_0x286b7f;this[_0x52d860(0x2d2)](_0x1ac8b6==null?void 0x0:_0x1ac8b6[_0x52d860(0x413)]);}))??{'dispose':()=>{}})),this[_0x286b7f(0x18e)](_0x502ac1(_0x3788a3[_0x286b7f(0x3f7)][_0x286b7f(0x3c0)](_0x24fd2b(this[_0x286b7f(0x401)]))[_0x286b7f(0x3b6)](_0x39b5a3=>{setTimeout(()=>this['_applyDragTopologyAction'](_0x39b5a3==null?void 0x0:_0x39b5a3['objects']),0x0);}))),this[_0x286b7f(0x18e)](_0x502ac1(((_0x51abd3=this[_0x286b7f(0x34f)][_0x286b7f(0x18f)][_0x286b7f(0x42d)])==null?void 0x0:_0x51abd3['subscribeEvent']({'priority':0x3,'next':([_0x39b5b6])=>this['_capturePointerChildDragStart'](_0x39b5b6)}))??{'dispose':()=>{}})),this[_0x286b7f(0x18e)](_0x502ac1(((_0xa4c8ae=this['_renderContext'][_0x286b7f(0x18f)][_0x286b7f(0x16a)])==null?void 0x0:_0xa4c8ae['subscribeEvent']({'priority':0x3,'next':([_0x59af88,_0x325d67])=>this[_0x286b7f(0x26e)](_0x59af88,_0x325d67)}))??{'dispose':()=>{}})),this[_0x286b7f(0x18e)](_0x502ac1(((_0x1612af=this[_0x286b7f(0x34f)]['scene']['onPointerUp$'])==null?void 0x0:_0x1612af['subscribeEvent']({'priority':0x3,'next':([_0x2d635c,_0x3debd2])=>this[_0x286b7f(0x122)](_0x2d635c,_0x3debd2)}))??{'dispose':()=>{}})),this[_0x286b7f(0x18e)](_0x502ac1(((_0x569b21=this[_0x286b7f(0x34f)]['scene'][_0x286b7f(0x2f9)])==null?void 0x0:_0x569b21[_0x286b7f(0x201)]({'priority':0x3,'next':([,_0x31546a])=>this[_0x286b7f(0x29c)](_0x31546a)}))??{'dispose':()=>{}})),this[_0x286b7f(0x18e)](_0x502ac1(()=>{const _0x38c769=_0x286b7f;var _0x27b17f;return(_0x27b17f=this[_0x38c769(0x1c2)])==null?void 0x0:_0x27b17f[_0x38c769(0x192)]();})),this[_0x286b7f(0x18e)](_0x502ac1(()=>this[_0x286b7f(0x1f8)]())),this[_0x286b7f(0x383)](),this[_0x286b7f(0x257)](),this[_0x286b7f(0x18e)](_0x502ac1(()=>this[_0x286b7f(0x3f4)]()));}[_0x303e32(0x383)](){const _0x3ae8d4=_0x303e32;[this[_0x3ae8d4(0x12e)][_0x3ae8d4(0x2fd)],this['_boardElementService'][_0x3ae8d4(0x295)],this[_0x3ae8d4(0x12e)][_0x3ae8d4(0x3b5)]]['forEach'](_0x18026f=>{const _0x453212=_0x3ae8d4;this[_0x453212(0x18e)](_0x502ac1(_0x18026f[_0x453212(0x3c0)](_0x24fd2b(this[_0x453212(0x401)]))[_0x453212(0x3b6)](()=>{this['_scheduleAttachObjectPointerListeners']();})));}),this[_0x3ae8d4(0x368)][_0x3ae8d4(0x1ea)]&&this[_0x3ae8d4(0x18e)](_0x502ac1(this[_0x3ae8d4(0x368)][_0x3ae8d4(0x1ea)][_0x3ae8d4(0x3c0)](_0x24fd2b(this['dispose$']))[_0x3ae8d4(0x3b6)](()=>{const _0x529f4d=_0x3ae8d4;this[_0x529f4d(0x257)]();})));}['_scheduleAttachObjectPointerListeners'](){const _0x567ec8=_0x303e32;this['_attachObjectPointerScheduled']||(this[_0x567ec8(0x251)]=!0x0,Promise['resolve']()[_0x567ec8(0x248)](()=>this['_attachObjectPointerListeners']()));}[_0x303e32(0x2f4)](){const _0x73b9fc=_0x303e32;var _0x50b924;this[_0x73b9fc(0x251)]=!0x1;let _0x441cab=this[_0x73b9fc(0x1cf)](),_0x751a7e=this[_0x73b9fc(0x34f)]['scene'];if(!_0x441cab||typeof _0x751a7e['getObject']!=_0x73b9fc(0x3e0))return;let _0x53f425=this[_0x73b9fc(0x12e)]['getElementData'](_0x441cab[_0x73b9fc(0x305)],_0x441cab['subUnitId']),_0x228b68=new _0x1825a2();(_0x50b924=this[_0x73b9fc(0x1c2)])==null||_0x50b924['dispose'](),this[_0x73b9fc(0x1c2)]=_0x228b68,Object[_0x73b9fc(0x12b)](_0x53f425)[_0x73b9fc(0x332)](_0x4a528e=>{const _0x1172eb=_0x73b9fc;var _0x438c4e,_0x47cbbe;let _0x24545c=_0x5b8eed(_0x4a528e[_0x1172eb(0x357)]);if(!(_0x24545c!=null&&_0x24545c[_0x1172eb(0x259)]))return;let _0x4aed8d=_0x317ee1(_0x441cab[_0x1172eb(0x305)],_0x4a528e[_0x1172eb(0x3f5)]),_0x44cd03=((_0x438c4e=_0x751a7e['getObjectIncludeInGroup'])==null?void 0x0:_0x438c4e[_0x1172eb(0x2ca)](_0x751a7e,_0x4aed8d))??((_0x47cbbe=_0x751a7e[_0x1172eb(0x316)])==null?void 0x0:_0x47cbbe['call'](_0x751a7e,_0x4aed8d));_0x44cd03!=null&&_0x44cd03[_0x1172eb(0x42d)]&&_0x228b68[_0x1172eb(0x260)](_0x44cd03[_0x1172eb(0x42d)][_0x1172eb(0x201)]({'priority':-0xa,'next':([_0x167b24,_0x86573d])=>this[_0x1172eb(0x1cc)](_0x167b24,{'unitId':_0x441cab[_0x1172eb(0x305)],'subUnitId':_0x441cab[_0x1172eb(0x437)],'nodeId':_0x4a528e[_0x1172eb(0x3f5)]},_0x86573d)}));});}[_0x303e32(0x1cf)](){const _0x4f768b=_0x303e32;let _0x3f28bb=this[_0x4f768b(0x368)]['getSnapshot']()[_0x4f768b(0x32f)];if(_0x3f28bb)return _0x3f28bb;let _0x2b0afe=this[_0x4f768b(0x34f)][_0x4f768b(0x305)],_0x278cb4=_0x2b0afe?this[_0x4f768b(0x3b3)][_0x4f768b(0x302)](_0x2b0afe,_0x3c080c[_0x4f768b(0x336)]):null,_0x348d44=_0x278cb4==null?void 0x0:_0x278cb4[_0x4f768b(0x2df)]();return!_0x278cb4||!_0x348d44?null:{'unitId':_0x278cb4['getUnitId'](),'subUnitId':_0x348d44};}[_0x303e32(0x263)](){const _0x2d1633=_0x303e32;let _0xd50a77=this[_0x2d1633(0x368)][_0x2d1633(0x1aa)]();this[_0x2d1633(0x167)]=!0x1,this[_0x2d1633(0x2bd)]=!0x1,this['_lastChildDragAction']=null;let _0x2af8b4=_0xd50a77[_0x2d1633(0x32f)],_0xc39c1b=_0xd50a77[_0x2d1633(0x32c)]??_0xd50a77['selectedIds'][0x0];if(!_0x2af8b4||!_0xc39c1b){this[_0x2d1633(0x1da)]=null,this['_removeDragPreviewObject']();return;}let _0x1489f0=this[_0x2d1633(0x12e)][_0x2d1633(0x3c7)](_0x2af8b4[_0x2d1633(0x305)],_0x2af8b4[_0x2d1633(0x437)]);if(_0xd50a77['selectedIds']['length']>0x1){let _0x4cba4a=this[_0x2d1633(0x2e3)](_0x1489f0,_0xd50a77['selectedIds']);if(!_0x4cba4a){this[_0x2d1633(0x1da)]=null,this[_0x2d1633(0x3f4)]();return;}let _0x32f389=_0x1489f0[_0x4cba4a[_0x2d1633(0x339)]],_0x2af6c2=_0x1edce2(_0x1489f0,_0x4cba4a[_0x2d1633(0x339)]),_0x3df058=_0x32f389[_0x2d1633(0x357)]['transform'];this[_0x2d1633(0x1da)]={'kind':_0x2d1633(0x391),'unitId':_0x2af8b4[_0x2d1633(0x305)],'subUnitId':_0x2af8b4[_0x2d1633(0x437)],'nodeId':_0x4cba4a[_0x2d1633(0x339)],'scopeId':_0x4cba4a[_0x2d1633(0x236)],'left':(_0x2af6c2==null?void 0x0:_0x2af6c2['left'])??_0x3df058['left']??0x0,'top':(_0x2af6c2==null?void 0x0:_0x2af6c2[_0x2d1633(0x2a2)])??_0x3df058[_0x2d1633(0x2a2)]??0x0,'width':(_0x2af6c2==null?void 0x0:_0x2af6c2[_0x2d1633(0x39c)])??_0x3df058[_0x2d1633(0x39c)]??0x0,'height':(_0x2af6c2==null?void 0x0:_0x2af6c2[_0x2d1633(0x2fb)])??_0x3df058['height']??0x0,'elementData':_0x1489f0};return;}let _0x59b8d6=_0x1489f0[_0xc39c1b],_0x35eea4=_0x5b8eed(_0x59b8d6==null?void 0x0:_0x59b8d6['element']);if(!_0x59b8d6||!_0x35eea4){this[_0x2d1633(0x1da)]=null,this[_0x2d1633(0x3f4)]();return;}let _0x500ed9=_0x1edce2(_0x1489f0,_0xc39c1b),_0x38a4a6=_0x59b8d6[_0x2d1633(0x357)][_0x2d1633(0x3ad)];this[_0x2d1633(0x1da)]={'kind':_0x35eea4[_0x2d1633(0x259)]===null?'root':'child','unitId':_0x2af8b4[_0x2d1633(0x305)],'subUnitId':_0x2af8b4[_0x2d1633(0x437)],'nodeId':_0xc39c1b,'scopeId':_0x35eea4['structureScopeId'],'left':(_0x500ed9==null?void 0x0:_0x500ed9[_0x2d1633(0x162)])??_0x38a4a6[_0x2d1633(0x162)]??0x0,'top':(_0x500ed9==null?void 0x0:_0x500ed9[_0x2d1633(0x2a2)])??_0x38a4a6[_0x2d1633(0x2a2)]??0x0,'width':(_0x500ed9==null?void 0x0:_0x500ed9[_0x2d1633(0x39c)])??_0x38a4a6['width']??0x0,'height':(_0x500ed9==null?void 0x0:_0x500ed9[_0x2d1633(0x2fb)])??_0x38a4a6[_0x2d1633(0x2fb)]??0x0,'elementData':_0x1489f0};}[_0x303e32(0x2e3)](_0x2393fd,_0x35e025){const _0x59ab40=_0x303e32;let _0x1a38eb=new Set(_0x35e025),_0x4156d4=_0x35e025[_0x59ab40(0x2c5)](_0x2114b2=>{const _0x48c222=_0x59ab40;var _0x365c7f,_0xec2cb3,_0x28226f,_0x536778;let _0x53138b=(_0x365c7f=_0x2393fd[_0x2114b2])==null?void 0x0:_0x365c7f[_0x48c222(0x357)];return((_0xec2cb3=_0x5b8eed(_0x53138b))==null?void 0x0:_0xec2cb3[_0x48c222(0x34b)])??((_0x28226f=_0x5ed47f(_0x53138b))==null?void 0x0:_0x28226f['structureScopeId'])??((_0x536778=_0xb789bf(_0x53138b))==null?void 0x0:_0x536778['structureScopeId'])??null;});if(_0x4156d4[_0x59ab40(0x422)](_0x1506d4=>_0x1506d4===null)||new Set(_0x4156d4)[_0x59ab40(0x3ec)]!==0x1)return null;let _0x249fee=_0x4156d4[0x0];if(!_0x249fee)return null;let _0x482afb=Object['values'](_0x2393fd)['filter'](_0x52defe=>{const _0x56ae5f=_0x59ab40;var _0x692405;return _0x52defe[_0x56ae5f(0x357)]['visible']!==!0x1&&((_0x692405=_0x5b8eed(_0x52defe['element']))==null?void 0x0:_0x692405[_0x56ae5f(0x34b)])===_0x249fee;});if(_0x482afb[_0x59ab40(0x346)]===0x0||_0x482afb[_0x59ab40(0x422)](_0x52eba2=>!_0x1a38eb[_0x59ab40(0x33d)](_0x52eba2[_0x59ab40(0x3f5)])))return null;let _0x2dec8f=_0x482afb['filter'](_0x2a0daf=>{var _0x29d82a;return((_0x29d82a=_0x5b8eed(_0x2a0daf['element']))==null?void 0x0:_0x29d82a['parentNodeId'])===null;});return _0x2dec8f[_0x59ab40(0x346)]===0x1?{'rootNodeId':_0x2dec8f[0x0][_0x59ab40(0x3f5)],'scopeId':_0x249fee}:null;}['_capturePointerChildDragStart'](_0x47321b,_0x29d069,_0x5dec4b){const _0x6e2e3=_0x303e32;var _0x59b0cc,_0x2537c9,_0x3d2bcc,_0x14658a,_0x404ca3;if(this[_0x6e2e3(0x363)][_0x6e2e3(0x280)]()['interactionMode']===_0x6e2e3(0x1f4)||(_0x47321b['button']??0x0)!==0x0)return;let _0x688773=this['_elementStateService'][_0x6e2e3(0x1aa)]();if(_0x688773[_0x6e2e3(0x178)]){this[_0x6e2e3(0x33b)]=null;return;}let _0xd3f2c4=_0x29d069?{'unitId':_0x29d069['unitId'],'subUnitId':_0x29d069[_0x6e2e3(0x437)]}:_0x688773[_0x6e2e3(0x32f)]??this['_resolveCurrentBoardContext'](),_0x3988ee=(_0x29d069==null?void 0x0:_0x29d069[_0x6e2e3(0x24a)])??(_0x688773[_0x6e2e3(0x2b7)][_0x6e2e3(0x346)]===0x1?_0x688773[_0x6e2e3(0x32c)]??_0x688773[_0x6e2e3(0x2b7)][0x0]:void 0x0);if(!_0xd3f2c4){this['_pointerDragStart']=null;return;}let _0x8147a1=this['_boardElementService'][_0x6e2e3(0x3c7)](_0xd3f2c4[_0x6e2e3(0x305)],_0xd3f2c4[_0x6e2e3(0x437)]),_0x574be1=this[_0x6e2e3(0x241)](_0x47321b);if(!_0x29d069){let _0x3a8824=_0x3988ee?_0x8147a1[_0x3988ee]:null,_0xb0c463=_0x5b8eed(_0x3a8824==null?void 0x0:_0x3a8824['element']),_0x1e7df1=_0x3988ee?_0x1edce2(_0x8147a1,_0x3988ee)??(_0x3a8824==null?void 0x0:_0x3a8824[_0x6e2e3(0x357)][_0x6e2e3(0x3ad)]):null;(!(_0xb0c463!=null&&_0xb0c463[_0x6e2e3(0x259)])||!_0x1e7df1||!this['_isPointInBounds'](_0x574be1,{'left':_0x1e7df1[_0x6e2e3(0x162)]??0x0,'top':_0x1e7df1[_0x6e2e3(0x2a2)]??0x0,'width':_0x1e7df1['width']??0x0,'height':_0x1e7df1[_0x6e2e3(0x2fb)]??0x0}))&&(_0x3988ee=this[_0x6e2e3(0x165)](_0x8147a1,_0x574be1));}if(!_0x3988ee){this[_0x6e2e3(0x33b)]=null;return;}let _0x367f7b=_0x8147a1[_0x3988ee],_0x46c938=_0x5b8eed(_0x367f7b==null?void 0x0:_0x367f7b[_0x6e2e3(0x357)]);if(!_0x367f7b||!(_0x46c938!=null&&_0x46c938[_0x6e2e3(0x259)])){this[_0x6e2e3(0x33b)]=null;return;}this['_instanceService'][_0x6e2e3(0x185)](_0xd3f2c4[_0x6e2e3(0x305)]),(_0x59b0cc=this[_0x6e2e3(0x34f)]['engine'])==null||(_0x2537c9=_0x59b0cc['getCanvasElement'])==null||(_0x2537c9=_0x2537c9[_0x6e2e3(0x2ca)](_0x59b0cc))==null||(_0x3d2bcc=_0x2537c9[_0x6e2e3(0x428)])==null||_0x3d2bcc['call'](_0x2537c9,{'preventScroll':!0x0}),(_0x14658a=(_0x404ca3=this[_0x6e2e3(0x368)])[_0x6e2e3(0x1f6)])==null||_0x14658a[_0x6e2e3(0x2ca)](_0x404ca3,_0xd3f2c4,[_0x3988ee],_0x3988ee),_0x5dec4b==null||_0x5dec4b[_0x6e2e3(0x41d)]();let _0x2116ff=_0x1edce2(_0x8147a1,_0x3988ee),_0x26fad1=_0x367f7b[_0x6e2e3(0x357)][_0x6e2e3(0x3ad)],_0x552efb={'left':(_0x2116ff==null?void 0x0:_0x2116ff[_0x6e2e3(0x162)])??_0x26fad1[_0x6e2e3(0x162)]??0x0,'top':(_0x2116ff==null?void 0x0:_0x2116ff[_0x6e2e3(0x2a2)])??_0x26fad1[_0x6e2e3(0x2a2)]??0x0,'width':(_0x2116ff==null?void 0x0:_0x2116ff['width'])??_0x26fad1[_0x6e2e3(0x39c)]??0x0,'height':(_0x2116ff==null?void 0x0:_0x2116ff['height'])??_0x26fad1[_0x6e2e3(0x2fb)]??0x0};if(!_0x29d069&&!this[_0x6e2e3(0x25c)](_0x574be1,_0x552efb)){this[_0x6e2e3(0x33b)]=null;return;}let _0x25ec1b=this[_0x6e2e3(0x32d)](_0x47321b);this['_childDragActivated']=!0x1,this[_0x6e2e3(0x2bd)]=!0x1,this[_0x6e2e3(0x2bf)]=null,this['_pointerDragStart']={'kind':_0x6e2e3(0x412),'unitId':_0xd3f2c4[_0x6e2e3(0x305)],'subUnitId':_0xd3f2c4['subUnitId'],'nodeId':_0x3988ee,'scopeId':_0x46c938[_0x6e2e3(0x34b)],..._0x552efb,'pointerStartX':_0x25ec1b['x'],'pointerStartY':_0x25ec1b['y'],'elementData':_0x8147a1},this['_attachActivePointerDragListeners'](),this[_0x6e2e3(0x20a)](_0x47321b,_0x5dec4b);}['_syncPointerChildDragPreview'](_0x1c5792,_0x3f640b){const _0x32849f=_0x303e32;var _0x387f9f,_0xa3b33d;let _0x223ac2=this[_0x32849f(0x33b)];if(!_0x223ac2||_0x1c5792[_0x32849f(0x2ab)]!==void 0x0&&_0x1c5792['buttons']!==0x1)return;let _0xa3fc60=this[_0x32849f(0x269)](_0x1c5792,_0x223ac2);if(!this[_0x32849f(0x199)](_0x223ac2,_0xa3fc60))return;this[_0x32849f(0x167)]||this[_0x32849f(0x141)](),this[_0x32849f(0x167)]=!0x0;let _0x42ff1a=this[_0x32849f(0x20d)](_0x223ac2[_0x32849f(0x42b)],_0x223ac2[_0x32849f(0x24a)],_0xa3fc60),_0x35fcf6=Sn(_0x223ac2['elementData'],_0x223ac2['nodeId'],{'boundsByElementId':_0x42ff1a,'detachWhenNoSnap':!0x0});this['_lastChildDragAction']=_0x35fcf6,this[_0x32849f(0x41c)](_0xa3fc60,_0x35fcf6,_0x42ff1a),this[_0x32849f(0x20a)](_0x1c5792,_0x3f640b),this[_0x32849f(0x34f)][_0x32849f(0x18f)][_0x32849f(0x242)](!0x0),(_0x387f9f=(_0xa3b33d=this['_renderContext'][_0x32849f(0x18f)])[_0x32849f(0x306)])==null||_0x387f9f[_0x32849f(0x2ca)](_0xa3b33d);}[_0x303e32(0x122)](_0x267e93,_0x3b648c){const _0x50abcc=_0x303e32;let _0x4dc3b4=this[_0x50abcc(0x33b)];if(!_0x4dc3b4)return;if(this[_0x50abcc(0x33b)]=null,this[_0x50abcc(0x1f8)](),this[_0x50abcc(0x3f4)](),!this[_0x50abcc(0x167)]){this[_0x50abcc(0x2bf)]=null;return;}let _0x36d8d6=this[_0x50abcc(0x12e)][_0x50abcc(0x3c7)](_0x4dc3b4['unitId'],_0x4dc3b4[_0x50abcc(0x437)]),_0x1dd817=this[_0x50abcc(0x269)](_0x267e93,_0x4dc3b4),_0x1523dd=this[_0x50abcc(0x20d)](_0x36d8d6,_0x4dc3b4['nodeId'],_0x1dd817),_0x3a70ff=Sn(_0x36d8d6,_0x4dc3b4[_0x50abcc(0x24a)],{'boundsByElementId':_0x1523dd,'detachWhenNoSnap':!0x0});this[_0x50abcc(0x2bf)]=null,this[_0x50abcc(0x14a)](_0x4dc3b4[_0x50abcc(0x305)],_0x4dc3b4['subUnitId'],_0x4dc3b4[_0x50abcc(0x24a)],_0x36d8d6,_0x3a70ff),this['_childDragSelectionHidden']=!0x1,this[_0x50abcc(0x20a)](_0x267e93,_0x3b648c);}[_0x303e32(0x29c)](_0xf5282c){const _0x24070d=_0x303e32;let _0x4b67af=this['_pointerDragStart'];if(_0x4b67af){if(this[_0x24070d(0x33b)]=null,this['_disposeActivePointerDragListeners'](),this['_childDragActivated']=!0x1,this[_0x24070d(0x2bf)]=null,this[_0x24070d(0x3f4)](),this[_0x24070d(0x2bd)]){var _0xbab81a,_0x321065;(_0xbab81a=(_0x321065=this[_0x24070d(0x368)])['selectElements'])==null||_0xbab81a[_0x24070d(0x2ca)](_0x321065,{'unitId':_0x4b67af[_0x24070d(0x305)],'subUnitId':_0x4b67af[_0x24070d(0x437)]},[_0x4b67af[_0x24070d(0x24a)]],_0x4b67af[_0x24070d(0x24a)]),this[_0x24070d(0x2bd)]=!0x1;}_0xf5282c==null||_0xf5282c[_0x24070d(0x41d)]();}}[_0x303e32(0x3d4)](){const _0x1a8ff9=_0x303e32;this[_0x1a8ff9(0x1f8)]();let _0x9249a8=typeof window>'u'?null:window;if(!(_0x9249a8!=null&&_0x9249a8[_0x1a8ff9(0x38f)]))return;let _0x33b67e=new _0x1825a2(),_0x35b669=_0x1b695e=>this[_0x1a8ff9(0x26e)](_0x1b695e),_0x1a0dd0=_0x202b57=>this['_applyPointerChildDrag'](_0x202b57),_0x203db3=()=>this['_cancelPointerChildDrag']();_0x9249a8[_0x1a8ff9(0x38f)](_0x1a8ff9(0x3a1),_0x35b669,{'capture':!0x0}),_0x9249a8[_0x1a8ff9(0x38f)](_0x1a8ff9(0x329),_0x1a0dd0,{'capture':!0x0}),_0x9249a8[_0x1a8ff9(0x38f)]('pointercancel',_0x203db3,{'capture':!0x0}),_0x33b67e['add'](_0x502ac1(()=>{const _0x55a8c6=_0x1a8ff9;_0x9249a8['removeEventListener'](_0x55a8c6(0x3a1),_0x35b669,{'capture':!0x0}),_0x9249a8[_0x55a8c6(0x19f)](_0x55a8c6(0x329),_0x1a0dd0,{'capture':!0x0}),_0x9249a8[_0x55a8c6(0x19f)](_0x55a8c6(0x31b),_0x203db3,{'capture':!0x0});})),this[_0x1a8ff9(0x32a)]=_0x33b67e;}[_0x303e32(0x165)](_0x3c259c,_0x468ff6){const _0x3e076e=_0x303e32;let _0x38554a=Object[_0x3e076e(0x12b)](_0x3c259c);for(let _0x2a2cfa=_0x38554a[_0x3e076e(0x346)]-0x1;_0x2a2cfa>=0x0;--_0x2a2cfa){let _0x1aaf0e=_0x38554a[_0x2a2cfa],_0xde7622=_0x5b8eed(_0x1aaf0e[_0x3e076e(0x357)]);if(!(_0xde7622!=null&&_0xde7622['parentNodeId']))continue;let _0x1a14d1=_0x1edce2(_0x3c259c,_0x1aaf0e[_0x3e076e(0x3f5)])??_0x1aaf0e['element'][_0x3e076e(0x3ad)];if(this[_0x3e076e(0x25c)](_0x468ff6,{'left':_0x1a14d1[_0x3e076e(0x162)]??0x0,'top':_0x1a14d1['top']??0x0,'width':_0x1a14d1[_0x3e076e(0x39c)]??0x0,'height':_0x1a14d1[_0x3e076e(0x2fb)]??0x0}))return _0x1aaf0e[_0x3e076e(0x3f5)];}}[_0x303e32(0x1f8)](){var _0x3c5066;(_0x3c5066=this['_activePointerDragDisposables'])==null||_0x3c5066['dispose'](),this['_activePointerDragDisposables']=null;}['_syncDragPreview'](_0x46a349){const _0x221818=_0x303e32;let _0x7bdc67=this[_0x221818(0x1da)];if(_0x7bdc67){if((_0x7bdc67[_0x221818(0x214)]==='root'||_0x7bdc67['kind']===_0x221818(0x391))&&this[_0x221818(0x283)](_0x46a349),_0x7bdc67[_0x221818(0x214)]===_0x221818(0x3a4)){this[_0x221818(0x312)](_0x46a349);return;}this['_syncChildDragPreview'](_0x46a349);}}[_0x303e32(0x283)](_0x176546){const _0x1b52cc=_0x303e32;let _0x20b888=this[_0x1b52cc(0x1da)];if(!_0x20b888||_0x20b888[_0x1b52cc(0x214)]!=='root'&&_0x20b888['kind']!=='scope')return;let _0x2dbd93=_0x176546==null?void 0x0:_0x176546[_0x1b52cc(0x409)](_0x317ee1(_0x20b888[_0x1b52cc(0x305)],_0x20b888[_0x1b52cc(0x24a)]));if(!_0x2dbd93||!Number['isFinite'](_0x2dbd93[_0x1b52cc(0x162)])||!Number[_0x1b52cc(0x1df)](_0x2dbd93[_0x1b52cc(0x2a2)]))return;let _0x3de8da=Tn({'elementData':_0x20b888[_0x1b52cc(0x42b)],'rootNodeId':_0x20b888[_0x1b52cc(0x24a)],'scopeId':_0x20b888[_0x1b52cc(0x236)],'rootStartBounds':{'left':_0x20b888[_0x1b52cc(0x162)],'top':_0x20b888['top']},'liveRootBounds':{'left':_0x2dbd93[_0x1b52cc(0x162)],'top':_0x2dbd93['top']}});if(!_0x3de8da)return;let _0x30c606=this['_renderContext'][_0x1b52cc(0x18f)],_0x15cd76=_0x30c606,_0x30fbbc=!0x1;_0x3de8da['items'][_0x1b52cc(0x332)](_0xb580f=>{const _0x3dc984=_0x1b52cc;var _0x390f6e;let _0x401c4f=_0x317ee1(_0x20b888['unitId'],_0xb580f[_0x3dc984(0x3f5)]),_0x16fc4c=((_0x390f6e=_0x15cd76[_0x3dc984(0x334)])==null?void 0x0:_0x390f6e['call'](_0x15cd76,_0x401c4f))??_0x30c606[_0x3dc984(0x316)](_0x401c4f);if(_0x16fc4c){if(_0xb580f[_0x3dc984(0x214)]===_0x3dc984(0x13f)&&typeof _0x16fc4c['updateElement']==_0x3dc984(0x3e0)){_0x16fc4c[_0x3dc984(0x356)](_0xb580f[_0x3dc984(0x357)],_0x3de8da[_0x3dc984(0x42b)]),_0x30fbbc=!0x0;return;}_0xb580f['kind']===_0x3dc984(0x129)&&(_0x16fc4c[_0x3dc984(0x19b)](_0xb580f[_0x3dc984(0x129)]),typeof _0x16fc4c[_0x3dc984(0x1dd)]==_0x3dc984(0x3e0)?_0x16fc4c['makeDirtyNoDebounce'](!0x0):_0x16fc4c[_0x3dc984(0x242)](!0x0),_0x30fbbc=!0x0);}}),_0x30fbbc&&_0x30c606[_0x1b52cc(0x242)](!0x0);}[_0x303e32(0x312)](_0x57f5cb){const _0x409a48=_0x303e32;var _0x3ee858,_0xeafe47;let _0x99ced=this[_0x409a48(0x1da)];if(!_0x99ced||_0x99ced['kind']!==_0x409a48(0x3a4))return;let _0x24cb0a=_0x57f5cb==null?void 0x0:_0x57f5cb[_0x409a48(0x409)](_0x317ee1(_0x99ced['unitId'],_0x99ced['nodeId']));if(!_0x24cb0a||!Number['isFinite'](_0x24cb0a['left'])||!Number[_0x409a48(0x1df)](_0x24cb0a['top'])){this[_0x409a48(0x3f4)]();return;}let _0x3b92ef=this[_0x409a48(0x320)](_0x24cb0a,_0x99ced),_0x59ee53=this[_0x409a48(0x20d)](_0x99ced['elementData'],_0x99ced[_0x409a48(0x24a)],_0x3b92ef),_0xbc9176=Sn(_0x99ced[_0x409a48(0x42b)],_0x99ced[_0x409a48(0x24a)],{'boundsByElementId':_0x59ee53,'allowRootReparent':!0x0});if(_0xbc9176[_0x409a48(0x214)]!==_0x409a48(0x42f)){this[_0x409a48(0x3f4)]();return;}let _0x16cc8b=this[_0x409a48(0x2d5)]();_0x16cc8b&&(_0x16cc8b[_0x409a48(0x1ca)]({'ghostBounds':_0x3b92ef,'sourceBounds':null,'parentBounds':_0x59ee53[_0xbc9176['newParentNodeId']],'side':_0xbc9176[_0x409a48(0x3cf)],'textStyle':void 0x0,'renderGhostNode':!0x1}),this[_0x409a48(0x34f)][_0x409a48(0x18f)][_0x409a48(0x242)](!0x0),(_0x3ee858=(_0xeafe47=this[_0x409a48(0x34f)][_0x409a48(0x18f)])[_0x409a48(0x306)])==null||_0x3ee858[_0x409a48(0x2ca)](_0xeafe47));}[_0x303e32(0x314)](_0xc9a569){const _0x2eca99=_0x303e32;var _0x55bf1a,_0x3053cb;let _0x339666=this['_dragStart'];if(!_0x339666||_0x339666['kind']!==_0x2eca99(0x412))return;let _0xd06264=_0xc9a569==null?void 0x0:_0xc9a569[_0x2eca99(0x409)](_0x317ee1(_0x339666['unitId'],_0x339666[_0x2eca99(0x24a)]));if(!_0xd06264){this[_0x2eca99(0x3f4)]();return;}let _0x3b3c10=this[_0x2eca99(0x320)](_0xd06264,_0x339666);if(!this['_isChildDragPastActivationThreshold'](_0x339666,_0x3b3c10)){this[_0x2eca99(0x2bf)]=null,this['_removeDragPreviewObject'](),this[_0x2eca99(0x24c)](_0xd06264,_0x339666),this[_0x2eca99(0x34f)][_0x2eca99(0x18f)]['makeDirty'](!0x0);return;}this[_0x2eca99(0x167)]||this[_0x2eca99(0x141)](),this[_0x2eca99(0x167)]=!0x0;let _0x5b6783=this['_createTopologyBoundsByElementId'](_0x339666['elementData'],_0x339666[_0x2eca99(0x24a)],_0x3b3c10),_0x429353=Sn(_0x339666[_0x2eca99(0x42b)],_0x339666[_0x2eca99(0x24a)],{'boundsByElementId':_0x5b6783,'detachWhenNoSnap':!0x0});this[_0x2eca99(0x2bf)]=_0x429353,this[_0x2eca99(0x41c)](_0x3b3c10,_0x429353,_0x5b6783),this[_0x2eca99(0x24c)](_0xd06264,_0x339666),this['_renderContext'][_0x2eca99(0x18f)][_0x2eca99(0x242)](!0x0),(_0x55bf1a=(_0x3053cb=this[_0x2eca99(0x34f)][_0x2eca99(0x18f)])['requestRender'])==null||_0x55bf1a[_0x2eca99(0x2ca)](_0x3053cb);}[_0x303e32(0x418)](_0x401075){const _0x58044c=_0x303e32;var _0x31af73;let _0x29c740=this[_0x58044c(0x368)][_0x58044c(0x1aa)](),_0x2c2ed4=_0x29c740[_0x58044c(0x32f)],_0x58755e=_0x29c740[_0x58044c(0x32c)]??_0x29c740[_0x58044c(0x2b7)][0x0];if(_0x2c2ed4&&((_0x31af73=this[_0x58044c(0x1da)])==null?void 0x0:_0x31af73[_0x58044c(0x214)])==='scope'){this[_0x58044c(0x3f4)](),this[_0x58044c(0x187)](_0x2c2ed4[_0x58044c(0x305)],_0x2c2ed4[_0x58044c(0x437)],_0x401075);return;}if(!_0x2c2ed4||!_0x58755e||_0x29c740[_0x58044c(0x2b7)][_0x58044c(0x346)]!==0x1){this[_0x58044c(0x3f4)](),this[_0x58044c(0x1da)]=null;return;}this['_removeDragPreviewObject']();let _0x6a63a7=this[_0x58044c(0x12e)][_0x58044c(0x3c7)](_0x2c2ed4[_0x58044c(0x305)],_0x2c2ed4[_0x58044c(0x437)]);if(this[_0x58044c(0x3fe)](_0x2c2ed4[_0x58044c(0x305)],_0x2c2ed4[_0x58044c(0x437)],_0x58755e,_0x6a63a7,_0x401075))return;let _0x31e403=this[_0x58044c(0x42c)](_0x2c2ed4[_0x58044c(0x305)],_0x2c2ed4[_0x58044c(0x437)],_0x58755e,_0x6a63a7,_0x401075);this['_executeChildDragAction'](_0x2c2ed4[_0x58044c(0x305)],_0x2c2ed4[_0x58044c(0x437)],_0x58755e,_0x6a63a7,_0x31e403);}['_applyScopeTranslation'](_0x158342,_0x43b819,_0x24ecd6){const _0x29f87b=_0x303e32;let _0x3f1ed3=this[_0x29f87b(0x1da)];if(this[_0x29f87b(0x1da)]=null,!_0x3f1ed3||_0x3f1ed3[_0x29f87b(0x214)]!==_0x29f87b(0x391)||_0x3f1ed3['unitId']!==_0x158342||_0x3f1ed3[_0x29f87b(0x437)]!==_0x43b819)return;let _0x90215b=_0x24ecd6==null?void 0x0:_0x24ecd6[_0x29f87b(0x409)](_0x317ee1(_0x158342,_0x3f1ed3[_0x29f87b(0x24a)])),_0x173ba6=_0x90215b&&Number[_0x29f87b(0x1df)](_0x90215b[_0x29f87b(0x162)])?_0x90215b[_0x29f87b(0x162)]??_0x3f1ed3[_0x29f87b(0x162)]:_0x3f1ed3[_0x29f87b(0x162)],_0x3a814e=_0x90215b&&Number[_0x29f87b(0x1df)](_0x90215b['top'])?_0x90215b[_0x29f87b(0x2a2)]??_0x3f1ed3[_0x29f87b(0x2a2)]:_0x3f1ed3[_0x29f87b(0x2a2)],_0xb0ff62=_0x173ba6-_0x3f1ed3[_0x29f87b(0x162)],_0x2d2fa5=_0x3a814e-_0x3f1ed3[_0x29f87b(0x2a2)];(_0xb0ff62!==0x0||_0x2d2fa5!==0x0)&&this['_commandService'][_0x29f87b(0x2de)](_0x5170ca['id'],{'unitId':_0x158342,'subUnitId':_0x43b819,'scopeId':_0x3f1ed3[_0x29f87b(0x236)],'deltaX':_0xb0ff62,'deltaY':_0x2d2fa5});}[_0x303e32(0x14a)](_0x378221,_0x1fbd1b,_0x4adfca,_0x3b98e9,_0x52b513){const _0x27ad22=_0x303e32;if(_0x52b513[_0x27ad22(0x214)]==='reparent'){var _0x58a7e1,_0xff8a3;let _0x58621c=_0x5b8eed((_0x58a7e1=_0x3b98e9[_0x4adfca])==null?void 0x0:_0x58a7e1[_0x27ad22(0x357)]),_0x334811=_0x5b8eed((_0xff8a3=_0x3b98e9[_0x52b513[_0x27ad22(0x22e)]])==null?void 0x0:_0xff8a3[_0x27ad22(0x357)]);this['_executeAndLayout'](_0x58c28a['id'],{'unitId':_0x378221,'subUnitId':_0x1fbd1b,'nodeId':_0x4adfca,'newParentNodeId':_0x52b513[_0x27ad22(0x22e)],'side':_0x52b513[_0x27ad22(0x3cf)],..._0x52b513[_0x27ad22(0x1b9)]?{'referenceNodeId':_0x52b513['referenceNodeId']}:null,..._0x52b513[_0x27ad22(0x152)]?{'placement':_0x52b513['placement']}:null},[_0x58621c==null?void 0x0:_0x58621c[_0x27ad22(0x34b)],_0x334811==null?void 0x0:_0x334811['structureScopeId']],_0x4adfca);return;}if(_0x52b513[_0x27ad22(0x214)]===_0x27ad22(0x3aa)){var _0x5b6ad2;let _0x5afed6=_0x5b8eed((_0x5b6ad2=_0x3b98e9[_0x4adfca])==null?void 0x0:_0x5b6ad2[_0x27ad22(0x357)]);this['_executeAndLayout'](_0x1dba47['id'],{'unitId':_0x378221,'subUnitId':_0x1fbd1b,'nodeId':_0x4adfca,...Number[_0x27ad22(0x1df)](_0x52b513[_0x27ad22(0x162)])?{'left':_0x52b513[_0x27ad22(0x162)]}:null,...Number[_0x27ad22(0x1df)](_0x52b513[_0x27ad22(0x2a2)])?{'top':_0x52b513[_0x27ad22(0x2a2)]}:null},[_0x5afed6==null?void 0x0:_0x5afed6[_0x27ad22(0x34b)]],_0x4adfca);}}[_0x303e32(0x3fe)](_0x2772e3,_0x2d4159,_0x55d61a,_0x47c2a3,_0x2b2c22){const _0x1ff24a=_0x303e32;let _0x2866a1=this[_0x1ff24a(0x1da)];if((_0x2866a1==null?void 0x0:_0x2866a1[_0x1ff24a(0x214)])===_0x1ff24a(0x3a4)&&(this[_0x1ff24a(0x1da)]=null),!_0x2866a1||_0x2866a1[_0x1ff24a(0x305)]!==_0x2772e3||_0x2866a1[_0x1ff24a(0x437)]!==_0x2d4159||_0x2866a1[_0x1ff24a(0x24a)]!==_0x55d61a)return!0x1;let _0x5d1d08=_0x47c2a3[_0x55d61a],_0x16465a=_0x5b8eed(_0x5d1d08==null?void 0x0:_0x5d1d08[_0x1ff24a(0x357)]);if(!_0x5d1d08||!_0x16465a||_0x16465a['parentNodeId']!==null)return!0x1;let _0x2e033e=_0x2b2c22==null?void 0x0:_0x2b2c22[_0x1ff24a(0x409)](_0x317ee1(_0x2772e3,_0x55d61a)),_0x287ffa=_0x1edce2(_0x47c2a3,_0x55d61a),_0x1e3195=Number[_0x1ff24a(0x1df)](_0x2e033e==null?void 0x0:_0x2e033e['left'])?_0x2e033e[_0x1ff24a(0x162)]:(_0x287ffa==null?void 0x0:_0x287ffa[_0x1ff24a(0x162)])??_0x5d1d08['element'][_0x1ff24a(0x3ad)][_0x1ff24a(0x162)]??0x0,_0xf943f0=Number[_0x1ff24a(0x1df)](_0x2e033e==null?void 0x0:_0x2e033e[_0x1ff24a(0x2a2)])?_0x2e033e['top']:(_0x287ffa==null?void 0x0:_0x287ffa[_0x1ff24a(0x2a2)])??_0x5d1d08[_0x1ff24a(0x357)][_0x1ff24a(0x3ad)][_0x1ff24a(0x2a2)]??0x0,_0x2941b9=_0x1e3195-_0x2866a1[_0x1ff24a(0x162)],_0x3318b3=_0xf943f0-_0x2866a1[_0x1ff24a(0x2a2)];if(_0x2941b9===0x0&&_0x3318b3===0x0)return!0x0;let _0x268c3e={'left':_0x1e3195,'top':_0xf943f0,'width':Number['isFinite'](_0x2e033e==null?void 0x0:_0x2e033e[_0x1ff24a(0x39c)])?_0x2e033e[_0x1ff24a(0x39c)]:_0x2866a1['width'],'height':Number[_0x1ff24a(0x1df)](_0x2e033e==null?void 0x0:_0x2e033e[_0x1ff24a(0x2fb)])?_0x2e033e[_0x1ff24a(0x2fb)]:_0x2866a1[_0x1ff24a(0x2fb)]},_0xd1154d=Sn(_0x47c2a3,_0x55d61a,{'boundsByElementId':this['_createTopologyBoundsByElementId'](_0x47c2a3,_0x55d61a,_0x268c3e),'allowRootReparent':!0x0});if(_0xd1154d[_0x1ff24a(0x214)]===_0x1ff24a(0x42f))return this['_executeChildDragAction'](_0x2772e3,_0x2d4159,_0x55d61a,_0x47c2a3,_0xd1154d),!0x0;let _0x14dee0=!!_0x287ffa&&Math['abs'](_0x287ffa[_0x1ff24a(0x162)]-_0x1e3195)<0.001&&Math[_0x1ff24a(0x395)](_0x287ffa[_0x1ff24a(0x2a2)]-_0xf943f0)<0.001;return this['_commandService'][_0x1ff24a(0x2de)](_0x5170ca['id'],{'unitId':_0x2772e3,'subUnitId':_0x2d4159,'scopeId':_0x2866a1[_0x1ff24a(0x236)],'deltaX':_0x2941b9,'deltaY':_0x3318b3,..._0x14dee0?{'excludeElementIds':[_0x55d61a],'preserveExcludedWorldTransforms':!0x0}:null}),!0x0;}['_resolveChildDragTopologyAction'](_0x1a9555,_0x407bf3,_0x56771d,_0x1c20bb,_0x2a6466){const _0x3ff5e4=_0x303e32;let _0x1bcd38=this['_dragStart'];if(!_0x1bcd38||_0x1bcd38['kind']!==_0x3ff5e4(0x412)||_0x1bcd38['unitId']!==_0x1a9555||_0x1bcd38['subUnitId']!==_0x407bf3||_0x1bcd38[_0x3ff5e4(0x24a)]!==_0x56771d)return{'kind':'none'};this['_dragStart']=null;let _0x471e47=_0x2a6466==null?void 0x0:_0x2a6466[_0x3ff5e4(0x409)](_0x317ee1(_0x1a9555,_0x56771d));if(!this[_0x3ff5e4(0x167)])return _0x471e47&&this[_0x3ff5e4(0x24c)](_0x471e47,_0x1bcd38),this['_lastChildDragAction']=null,{'kind':_0x3ff5e4(0x358)};if(!_0x471e47){let _0x47f03a=this[_0x3ff5e4(0x2bf)]??{'kind':'none'};return this[_0x3ff5e4(0x2bf)]=null,_0x47f03a;}let _0x49b215=this[_0x3ff5e4(0x320)](_0x471e47,_0x1bcd38);if(this[_0x3ff5e4(0x24c)](_0x471e47,_0x1bcd38),!this['_isChildDragPastActivationThreshold'](_0x1bcd38,_0x49b215))return this[_0x3ff5e4(0x2bf)]=null,{'kind':_0x3ff5e4(0x358)};let _0x23ed28=Sn(_0x1c20bb,_0x56771d,{'boundsByElementId':this[_0x3ff5e4(0x20d)](_0x1c20bb,_0x56771d,_0x49b215),'detachWhenNoSnap':!0x0});return this[_0x3ff5e4(0x2bf)]=null,_0x23ed28;}['_isChildDragPastActivationThreshold'](_0x4a4923,_0x174830){const _0x4227b6=_0x303e32;let _0x332e1e=(_0x174830['left']??_0x4a4923[_0x4227b6(0x162)])-_0x4a4923[_0x4227b6(0x162)],_0x244723=(_0x174830[_0x4227b6(0x2a2)]??_0x4a4923[_0x4227b6(0x2a2)])-_0x4a4923[_0x4227b6(0x2a2)];return Math[_0x4227b6(0x15d)](_0x332e1e,_0x244723)>=0x12;}[_0x303e32(0x269)](_0x27db3b,_0x20d518){const _0x38f554=_0x303e32;let _0x3c17f1=this[_0x38f554(0x32d)](_0x27db3b),_0x5955f5=this[_0x38f554(0x142)]();return{'left':_0x20d518[_0x38f554(0x162)]+(_0x3c17f1['x']-_0x20d518['pointerStartX'])/_0x5955f5,'top':_0x20d518[_0x38f554(0x2a2)]+(_0x3c17f1['y']-_0x20d518[_0x38f554(0x404)])/_0x5955f5,'width':_0x20d518['width'],'height':_0x20d518[_0x38f554(0x2fb)]};}[_0x303e32(0x241)](_0x13ebf0){const _0x6c917d=_0x303e32;let _0x40383a=this[_0x6c917d(0x363)][_0x6c917d(0x280)](),_0x2224e4=(_0x40383a==null?void 0x0:_0x40383a[_0x6c917d(0x431)])??{'x':0x0,'y':0x0},_0x7ad969=this[_0x6c917d(0x142)]();return{'x':Math[_0x6c917d(0x21c)](((_0x13ebf0[_0x6c917d(0x2d8)]??0x0)-_0x2224e4['x'])/_0x7ad969),'y':Math[_0x6c917d(0x21c)](((_0x13ebf0['offsetY']??0x0)-_0x2224e4['y'])/_0x7ad969)};}[_0x303e32(0x32d)](_0x18cb83){const _0x425059=_0x303e32;return{'x':Number['isFinite'](_0x18cb83[_0x425059(0x135)])?_0x18cb83[_0x425059(0x135)]:_0x18cb83[_0x425059(0x2d8)]??0x0,'y':Number['isFinite'](_0x18cb83[_0x425059(0x322)])?_0x18cb83[_0x425059(0x322)]:_0x18cb83[_0x425059(0x3bd)]??0x0};}['_getZoomRatio'](){const _0xd40292=_0x303e32;let _0x150d1c=this[_0xd40292(0x363)][_0xd40292(0x280)]()[_0xd40292(0x1fb)];return Number[_0xd40292(0x1df)](_0x150d1c)&&(_0x150d1c??0x0)>0x0?_0x150d1c:0x1;}[_0x303e32(0x25c)](_0x2fda5f,_0xfd74a3){const _0x118980=_0x303e32;return _0x2fda5f['x']>=_0xfd74a3[_0x118980(0x162)]&&_0x2fda5f['x']<=_0xfd74a3[_0x118980(0x162)]+_0xfd74a3[_0x118980(0x39c)]&&_0x2fda5f['y']>=_0xfd74a3[_0x118980(0x2a2)]&&_0x2fda5f['y']<=_0xfd74a3[_0x118980(0x2a2)]+_0xfd74a3['height'];}[_0x303e32(0x20a)](_0x1b13a7,_0x54cbfc){const _0x2a749d=_0x303e32;var _0x12d963,_0x5eb5d7;_0x54cbfc==null||_0x54cbfc[_0x2a749d(0x41d)](),_0x54cbfc&&(_0x54cbfc[_0x2a749d(0x127)]=!0x0),(_0x12d963=_0x1b13a7[_0x2a749d(0x373)])==null||_0x12d963[_0x2a749d(0x2ca)](_0x1b13a7),(_0x5eb5d7=_0x1b13a7['stopPropagation'])==null||_0x5eb5d7['call'](_0x1b13a7);}['_hideSelectionForChildDrag'](){const _0x21d93f=_0x303e32;var _0x3225dd,_0x564d2d;this[_0x21d93f(0x2bd)]||=((_0x3225dd=(_0x564d2d=this[_0x21d93f(0x368)])[_0x21d93f(0x3c4)])==null||_0x3225dd[_0x21d93f(0x2ca)](_0x564d2d),!0x0);}['_getLiveObjectBounds'](_0x67b85c,_0x5be31d){const _0x14b5c8=_0x303e32;return{'left':Number[_0x14b5c8(0x1df)](_0x67b85c[_0x14b5c8(0x162)])?_0x67b85c[_0x14b5c8(0x162)]:_0x5be31d[_0x14b5c8(0x162)],'top':Number[_0x14b5c8(0x1df)](_0x67b85c[_0x14b5c8(0x2a2)])?_0x67b85c[_0x14b5c8(0x2a2)]:_0x5be31d['top'],'width':Number[_0x14b5c8(0x1df)](_0x67b85c[_0x14b5c8(0x39c)])?_0x67b85c[_0x14b5c8(0x39c)]:_0x5be31d[_0x14b5c8(0x39c)],'height':Number[_0x14b5c8(0x1df)](_0x67b85c[_0x14b5c8(0x2fb)])?_0x67b85c[_0x14b5c8(0x2fb)]:_0x5be31d['height']};}[_0x303e32(0x24c)](_0xee62da,_0x225df9){const _0x43aae4=_0x303e32;typeof _0xee62da['transformByState']==_0x43aae4(0x3e0)&&_0xee62da[_0x43aae4(0x19b)]({'left':_0x225df9['left'],'top':_0x225df9[_0x43aae4(0x2a2)],'width':_0x225df9['width'],'height':_0x225df9[_0x43aae4(0x2fb)]}),typeof _0xee62da[_0x43aae4(0x1dd)]==_0x43aae4(0x3e0)?_0xee62da[_0x43aae4(0x1dd)](!0x0):typeof _0xee62da[_0x43aae4(0x242)]==_0x43aae4(0x3e0)&&_0xee62da[_0x43aae4(0x242)](!0x0);}[_0x303e32(0x20d)](_0x52ba28,_0x1f0679,_0x39bc0f){const _0x46806f=_0x303e32;return Object[_0x46806f(0x3ca)](Object[_0x46806f(0x2e1)](_0x52ba28)[_0x46806f(0x2c5)](_0x5c7f7c=>_0x5c7f7c===_0x1f0679?[_0x5c7f7c,_0x39bc0f]:[_0x5c7f7c,_0x1edce2(_0x52ba28,_0x5c7f7c)??_0x52ba28[_0x5c7f7c]['element'][_0x46806f(0x3ad)]]));}[_0x303e32(0x2d5)](){const _0x1879a3=_0x303e32;if(this[_0x1879a3(0x240)])return this['_dragPreviewObject'];let _0x5001f9=this[_0x1879a3(0x34f)][_0x1879a3(0x18f)];return typeof _0x5001f9[_0x1879a3(0x435)]=='function'?(this[_0x1879a3(0x240)]=new mn(cn),_0x5001f9[_0x1879a3(0x435)](this[_0x1879a3(0x240)],ln),this[_0x1879a3(0x240)]):null;}[_0x303e32(0x41c)](_0x296a53,_0x58725d,_0x2b817b){const _0xa0c21f=_0x303e32;let _0x3f9d37=this[_0xa0c21f(0x2d5)]();_0x3f9d37&&_0x3f9d37[_0xa0c21f(0x1ca)]({'ghostBounds':_0x296a53,'sourceBounds':this['_resolvePreviewSourceBounds'](),'parentBounds':_0x58725d[_0xa0c21f(0x214)]===_0xa0c21f(0x42f)?_0x2b817b[_0x58725d[_0xa0c21f(0x22e)]]:null,'side':_0x58725d[_0xa0c21f(0x214)]===_0xa0c21f(0x42f)?_0x58725d['side']:_0xa0c21f(0x293),'textStyle':this[_0xa0c21f(0x2fe)](),'renderGhostNode':!0x0});}['_resolvePreviewSourceBounds'](){const _0x1584eb=_0x303e32;let _0x3c2a3c=this[_0x1584eb(0x33b)]??this[_0x1584eb(0x1da)];return _0x3c2a3c?{'left':_0x3c2a3c['left'],'top':_0x3c2a3c[_0x1584eb(0x2a2)],'width':_0x3c2a3c[_0x1584eb(0x39c)],'height':_0x3c2a3c[_0x1584eb(0x2fb)]}:null;}[_0x303e32(0x2fe)](){const _0xe0de3c=_0x303e32;var _0x174233,_0x2c27c7;let _0x2afa88=this['_pointerDragStart']??this[_0xe0de3c(0x1da)],_0x44448d=_0x2afa88==null||(_0x174233=_0x2afa88[_0xe0de3c(0x42b)][_0x2afa88[_0xe0de3c(0x24a)]])==null?void 0x0:_0x174233['element'],_0x2bbfeb=_0x44448d==null||(_0x2c27c7=_0x44448d['shapeData'])==null?void 0x0:_0x2c27c7[_0xe0de3c(0x26f)];if(_0x2bbfeb)return{'text':typeof _0x2bbfeb[_0xe0de3c(0x1ae)]==_0xe0de3c(0x121)?_0x2bbfeb[_0xe0de3c(0x1ae)]:void 0x0,'fontSize':Number[_0xe0de3c(0x1df)](_0x2bbfeb[_0xe0de3c(0x2ac)])?_0x2bbfeb['fontSize']:void 0x0,'color':typeof _0x2bbfeb[_0xe0de3c(0x1ec)]==_0xe0de3c(0x121)?_0x2bbfeb['color']:void 0x0,'horizontalAlign':Number['isFinite'](_0x2bbfeb['horizontalAlign'])?_0x2bbfeb['horizontalAlign']:void 0x0};}['_removeDragPreviewObject'](){const _0x44165e=_0x303e32;var _0x146313,_0x2e5869,_0x378845;if(!this[_0x44165e(0x240)])return;let _0x429de7=this[_0x44165e(0x34f)]['scene'];(_0x146313=_0x429de7[_0x44165e(0x1e2)])==null||_0x146313[_0x44165e(0x2ca)](_0x429de7,[this['_dragPreviewObject']]),this[_0x44165e(0x240)]=null,(_0x2e5869=(_0x378845=this[_0x44165e(0x34f)]['scene'])[_0x44165e(0x242)])==null||_0x2e5869['call'](_0x378845,!0x0);}['_executeAndLayout'](_0x45e494,_0x5c2f81,_0x4fff0d,_0x54c4b5){const _0x3baf51=_0x303e32;let _0x3a3d2a=[...new Set(_0x4fff0d[_0x3baf51(0x18a)](_0x4150ba=>!!_0x4150ba))],_0x1ea7be=typeof _0x5c2f81[_0x3baf51(0x305)]==_0x3baf51(0x121)?_0x5c2f81[_0x3baf51(0x305)]:this[_0x3baf51(0x34f)][_0x3baf51(0x305)],_0x4e1ba5=this[_0x3baf51(0x425)][_0x3baf51(0x2b0)](_0x1ea7be),_0x4c0241=_0x4e1ba5(()=>this['_commandService']['executeCommand'](_0x45e494,_0x5c2f81));Promise[_0x3baf51(0x3c3)](_0x4c0241)[_0x3baf51(0x248)](_0x48c8e5=>{const _0x45d378=_0x3baf51;var _0x3c7166,_0x50e6a7,_0x577d92,_0x2fdaca;if(_0x48c8e5){if(_0x3a3d2a[_0x45d378(0x332)](_0x537973=>{const _0x4a4a12=_0x45d378;_0x4e1ba5(()=>this['_commandService'][_0x4a4a12(0x2de)](_0x47042e['id'],{'unitId':_0x5c2f81[_0x4a4a12(0x305)],'subUnitId':_0x5c2f81['subUnitId'],'scopeId':_0x537973}));}),_0x54c4b5&&typeof _0x5c2f81[_0x45d378(0x305)]=='string'&&typeof _0x5c2f81['subUnitId']==_0x45d378(0x121)){var _0x1e8471,_0x4301c8;(_0x1e8471=(_0x4301c8=this[_0x45d378(0x368)])['selectElements'])==null||_0x1e8471[_0x45d378(0x2ca)](_0x4301c8,{'unitId':_0x5c2f81[_0x45d378(0x305)],'subUnitId':_0x5c2f81[_0x45d378(0x437)]},[_0x54c4b5],_0x54c4b5);}(_0x3c7166=(_0x50e6a7=this[_0x45d378(0x34f)][_0x45d378(0x18f)])[_0x45d378(0x242)])==null||_0x3c7166['call'](_0x50e6a7,!0x0),(_0x577d92=(_0x2fdaca=this[_0x45d378(0x34f)][_0x45d378(0x18f)])['requestRender'])==null||_0x577d92[_0x45d378(0x2ca)](_0x2fdaca);}});}};En=J([q(0x1,_0x4b1a3e(_0x5648dc)),q(0x2,_0x4b1a3e(_0x2f7d9b)),q(0x3,_0x18b2f8),q(0x4,_0x57e681),q(0x5,_0xd8ff2e),q(0x6,_0x4b1a3e(_0x222deb))],En);let Dn=class extends _0x5a3354{constructor(_0x336a78,_0xe8d12e,_0xbc2bd5,_0x1000bb,_0x1e2710,_0x2e2287,_0x374d6d,_0x33f427,_0x405a99){const _0x494bbb=_0x303e32;super(),this[_0x494bbb(0x149)]=_0x336a78,this['commandService']=_0xe8d12e,this[_0x494bbb(0x3e5)]=_0xbc2bd5,this[_0x494bbb(0x333)]=_0x1000bb,this[_0x494bbb(0x37e)]=_0x1e2710,this[_0x494bbb(0x3b7)]=_0x2e2287,this['dialogService']=_0x374d6d,this[_0x494bbb(0x138)]=_0x33f427,this['textEditingService']=_0x405a99;}};Dn=J([q(0x1,_0x18b2f8),q(0x2,_0x5648dc),q(0x3,_0x2f7d9b),q(0x4,_0x57e681),q(0x5,_0x505035),q(0x6,_0x3469b1),q(0x7,_0x4b1a3e(_0x51902b)),q(0x8,_0x4b1a3e(_0x5ae2fd))],Dn);const On='board.mind-map.description-dialog',kn=_0x303e32(0x335);function An(_0x4f1a9a){const _0x3d80ae=_0x303e32;let {unitId:_0x1cd144,subUnitId:_0x2eb66c,nodeId:_0x2f60a1,initialDescription:_0x4d9f98=''}=_0x4f1a9a,_0x2420db=_0x3ebafe(_0x18b2f8),_0x61a518=_0x3ebafe(_0x3469b1),_0x458d25=_0x3ebafe(_0x51902b),[_0x274777,_0x35c657]=_0x3322bd(_0x4d9f98),_0x43eea8=()=>_0x61a518[_0x3d80ae(0x2fa)](kn);return _0x2bf1e8(_0x3d80ae(0x27f),{'className':_0x3d80ae(0x202),'data-board-mind-map-description-dialog':_0x3d80ae(0x150),'children':[_0x2bf1e8(_0x3d80ae(0x397),{'className':_0x3d80ae(0x360),'children':[_0x5de246(_0x3d80ae(0x1b3),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-0','children':_0x458d25['t'](_0x3d80ae(0x2c0))}),_0x5de246(_0x4d17a6,{'autoFocus':!0x0,'className':_0x3d80ae(0x1cd),'placeholder':_0x458d25['t']('boards-mind-ui.descriptionPlaceholder'),'value':_0x274777,'onValueChange':_0x35c657})]}),_0x2bf1e8('div',{'className':'univer-flex\x20univer-justify-end\x20univer-gap-2','children':[_0x5de246(_0x245e38,{'size':'small','variant':_0x3d80ae(0x2b8),'onClick':_0x43eea8,'children':_0x458d25['t'](_0x3d80ae(0x2af))}),_0x5de246(_0x245e38,{'size':'small','variant':_0x3d80ae(0x1a1),'onClick':()=>{const _0x1140b8=_0x3d80ae;_0x2420db[_0x1140b8(0x2de)](_0x274fe8['id'],{'unitId':_0x1cd144,'subUnitId':_0x2eb66c,'nodeId':_0x2f60a1,'foreignAttributes':{'_note':_0x274777[_0x1140b8(0x38a)]()?_0x274777:null}}),_0x43eea8();},'children':_0x458d25['t'](_0x3d80ae(0x3eb))})]})]});}const jn='board.operation.mind-map.keyboard-shortcut',Mn=_0x303e32(0x16d),Nn=_0x303e32(0x374),Pn={'copy':_0x2bbd2a[_0x303e32(0x2a7)],'paste':_0x2bbd2a[_0x303e32(0x212)],'paste-as-new':_0x2bbd2a['paste'],'add-child':_0x2bbd2a[_0x303e32(0x197)],'add-sibling-or-child':_0x2bbd2a['addSiblingNode'],'promote':_0x2bbd2a['addParentNode'],'toggle-collapse':_0x2bbd2a[_0x303e32(0x19c)],'collapse-all':_0x2bbd2a[_0x303e32(0x26a)],'edit-text':_0x2bbd2a[_0x303e32(0x420)],'open-description':_0x2bbd2a[_0x303e32(0x2b2)],'delete':_0x2dcee3[_0x303e32(0x393)],'arrow-left':_0x2dcee3[_0x303e32(0x3f6)],'arrow-right':_0x2dcee3['ARROW_RIGHT'],'arrow-up':_0x2dcee3[_0x303e32(0x37f)],'arrow-down':_0x2dcee3[_0x303e32(0x179)]},Fn={'delete':[_0x2dcee3[_0x303e32(0x1fa)]]};function In(_0x2a81c0){return[Pn[_0x2a81c0],...Fn[_0x2a81c0]??[]];}let Ln=class extends _0xd5b999{constructor(_0x2bdfa9,_0x4c9c0e,_0x152bdb,_0x450fd8){const _0x2112a1=_0x303e32;super(),this['_mindMapClipboardService']=_0x2bdfa9,this[_0x2112a1(0x3a7)]=_0x4c9c0e,this[_0x2112a1(0x370)]=_0x152bdb,this[_0x2112a1(0x425)]=_0x450fd8,this[_0x2112a1(0x1ee)]();}['_init'](){const _0x2b1498=_0x303e32;this[_0x2b1498(0x18e)](this[_0x2b1498(0x3a7)][_0x2b1498(0x23c)](this[_0x2b1498(0x137)]())),this[_0x2b1498(0x39e)]()[_0x2b1498(0x332)](_0x432eab=>{const _0x3f59db=_0x2b1498;this[_0x3f59db(0x18e)](this[_0x3f59db(0x370)][_0x3f59db(0x2aa)](_0x432eab));});}['_createKeyboardShortcutOperation'](){const _0x37ac13=_0x303e32;return{'id':jn,'type':_0x19a3b2[_0x37ac13(0x1f2)],'handler':(_0x475ee2,_0x2e76f6,_0x4739b5)=>{const _0x44e5ff=_0x37ac13;let _0x228ae5=Rn(_0x475ee2,_0x4739b5);return _0x228ae5?this[_0x44e5ff(0x399)](_0x228ae5,_0x2e76f6==null?void 0x0:_0x2e76f6[_0x44e5ff(0x17b)]):!0x1;}};}[_0x303e32(0x39e)](){const _0x16754c=_0x303e32;let _0x5cc2ea=(_0x337b9e,_0x5e34cb)=>({'id':jn,'binding':_0x337b9e,'priority':0xa0,'preconditions':_0x1b76c6=>_0x23a614(_0x1b76c6)&&!!_0x1b76c6['getContextValue']('FOCUSING_MIND_MAP_NODE'),'staticParameters':{'action':_0x5e34cb}}),_0x119c14=_0x369303=>In(_0x369303)['map'](_0x53050d=>_0x5cc2ea(_0x53050d,_0x369303));return[..._0x119c14(_0x16754c(0x2a7)),{'id':jn,'binding':Pn[_0x16754c(0x212)],'priority':0xa0,'preconditions':_0x44bc22=>_0x23a614(_0x44bc22)&&!!this['_mindMapClipboardService'][_0x16754c(0x17a)]()&&!!_0x44bc22['getContextValue'](_0x16754c(0x16d)),'staticParameters':{'action':_0x16754c(0x212)}},{'id':jn,'binding':Pn[_0x16754c(0x38d)],'priority':0x96,'preconditions':_0x10ea3e=>_0x23a614(_0x10ea3e)&&!!this['_mindMapClipboardService'][_0x16754c(0x17a)]()&&!!_0x10ea3e['getContextValue']('FOCUSING_MIND_MAP_BLANK_BOARD'),'staticParameters':{'action':_0x16754c(0x38d)}},..._0x119c14(_0x16754c(0x330)),..._0x119c14(_0x16754c(0x211)),..._0x119c14('promote'),..._0x119c14(_0x16754c(0x196)),..._0x119c14(_0x16754c(0x2ae)),..._0x119c14(_0x16754c(0x1c8)),..._0x119c14(_0x16754c(0x2d6)),..._0x119c14('delete'),..._0x119c14(_0x16754c(0x1e8)),..._0x119c14(_0x16754c(0x36a)),..._0x119c14(_0x16754c(0x264)),..._0x119c14(_0x16754c(0x37a))];}[_0x303e32(0x399)](_0xc96350,_0x3c48c2){const _0x4ee582=_0x303e32;return _0xc96350[_0x4ee582(0x37e)]['getState']()[_0x4ee582(0x2db)]===_0x4ee582(0x1f4)&&_0x3c48c2!==_0x4ee582(0x2a7)?!0x1:_0x3c48c2===_0x4ee582(0x2a7)?this['_copySelectedNode'](_0xc96350):_0x3c48c2===_0x4ee582(0x212)?this[_0x4ee582(0x155)](_0xc96350):_0x3c48c2==='paste-as-new'?this[_0x4ee582(0x1d1)](_0xc96350):_0x3c48c2==='add-child'?this[_0x4ee582(0x15c)](_0xc96350):_0x3c48c2===_0x4ee582(0x211)?this[_0x4ee582(0x28a)](_0xc96350):_0x3c48c2==='promote'?this['_executeNodeOperation'](_0xc96350,_0x1f0f3e['id']):_0x3c48c2===_0x4ee582(0x196)?this[_0x4ee582(0x31c)](_0xc96350,_0x33c3d6['id']):_0x3c48c2===_0x4ee582(0x2ae)?this['_collapseAll'](_0xc96350):_0x3c48c2===_0x4ee582(0x1c8)?this[_0x4ee582(0x1bb)](_0xc96350):_0x3c48c2==='open-description'?this[_0x4ee582(0x278)](_0xc96350):_0x3c48c2===_0x4ee582(0x1ed)?this[_0x4ee582(0x385)](_0xc96350):_0x3c48c2&&zn(_0x3c48c2)?this['_navigateByTopology'](_0xc96350,_0x3c48c2):!0x1;}[_0x303e32(0x166)](_0x8940e2){const _0x3f535c=_0x303e32;let _0x52721e=this[_0x3f535c(0x154)](_0x8940e2);return _0x52721e?(_0x8940e2[_0x3f535c(0x208)][_0x3f535c(0x2de)](_0x408690['id'],{'unitId':_0x52721e[_0x3f535c(0x305)],'subUnitId':_0x52721e[_0x3f535c(0x437)],'nodeId':_0x52721e[_0x3f535c(0x24a)]}),!0x0):!0x1;}[_0x303e32(0x155)](_0x2a7b13){const _0x38cba8=_0x303e32;let _0x544a09=this[_0x38cba8(0x154)](_0x2a7b13);return!_0x544a09||!_0x2a7b13['clipboardService']['getPayload']()?!0x1:(this[_0x38cba8(0x1ba)](_0x2a7b13,_0x475991['id'],{'unitId':_0x544a09['unitId'],'subUnitId':_0x544a09['subUnitId'],'targetNodeId':_0x544a09[_0x38cba8(0x24a)]},_0x544a09[_0x38cba8(0x236)]),!0x0);}[_0x303e32(0x1d1)](_0x2dc35d){const _0x2e1b00=_0x303e32;let _0x5dff7f=this['_getBlankBoardContext'](_0x2dc35d);if(!_0x5dff7f||!_0x2dc35d[_0x2e1b00(0x3b7)][_0x2e1b00(0x17a)]())return!0x1;let _0x4844be=_0x2dc35d[_0x2e1b00(0x37e)][_0x2e1b00(0x280)](),_0x21f032=Number['isFinite'](_0x4844be[_0x2e1b00(0x1fb)])&&_0x4844be[_0x2e1b00(0x1fb)]>0x0?_0x4844be[_0x2e1b00(0x1fb)]:0x1,_0x4a4e6a=Math[_0x2e1b00(0x21c)]((0x40-_0x4844be[_0x2e1b00(0x431)]['x'])/_0x21f032),_0x5f19e4=Math[_0x2e1b00(0x21c)]((0x40-_0x4844be['viewportPanOffset']['y'])/_0x21f032);return _0x2dc35d['commandService'][_0x2e1b00(0x2de)](_0x5dd497['id'],{'unitId':_0x5dff7f[_0x2e1b00(0x305)],'subUnitId':_0x5dff7f['subUnitId'],'left':_0x4a4e6a,'top':_0x5f19e4}),!0x0;}['_addChild'](_0x24802f){const _0x28b1ba=_0x303e32;let _0x3d8add=this[_0x28b1ba(0x154)](_0x24802f);if(!_0x3d8add)return!0x1;let _0x754cd2=_0x1f2708(0x6);return this['_executeCreateAndEdit'](_0x24802f,_0x1c718c['id'],{'unitId':_0x3d8add[_0x28b1ba(0x305)],'subUnitId':_0x3d8add['subUnitId'],'parentNodeId':_0x3d8add[_0x28b1ba(0x24a)],'nodeId':_0x754cd2,'connectorId':_0x1f2708(0x6),'text':_0x24802f[_0x28b1ba(0x138)]['t']('boards-mind-ui.panel.addText')},_0x3d8add[_0x28b1ba(0x236)],_0x754cd2),!0x0;}[_0x303e32(0x28a)](_0x5ed4a6){const _0x132826=_0x303e32;let _0x3e82fb=this[_0x132826(0x154)](_0x5ed4a6);if(!_0x3e82fb)return!0x1;let _0x5dc442=_0x1f2708(0x6);return this[_0x132826(0x359)](_0x5ed4a6,_0x3e82fb[_0x132826(0x289)]?_0x1c718c['id']:_0x460694['id'],{'unitId':_0x3e82fb[_0x132826(0x305)],'subUnitId':_0x3e82fb['subUnitId'],..._0x3e82fb[_0x132826(0x289)]?{'parentNodeId':_0x3e82fb['nodeId'],'nodeId':_0x5dc442}:{'nodeId':_0x3e82fb[_0x132826(0x24a)],'siblingNodeId':_0x5dc442},'connectorId':_0x1f2708(0x6),'text':_0x5ed4a6[_0x132826(0x138)]['t'](_0x132826(0x30f))},_0x3e82fb[_0x132826(0x236)],_0x5dc442),!0x0;}[_0x303e32(0x31c)](_0x38c94b,_0x37135b){const _0x7e6bc5=_0x303e32;let _0x480523=this['_getSelectedMindMapContext'](_0x38c94b);return _0x480523?(this[_0x7e6bc5(0x1ba)](_0x38c94b,_0x37135b,{'unitId':_0x480523[_0x7e6bc5(0x305)],'subUnitId':_0x480523[_0x7e6bc5(0x437)],'nodeId':_0x480523[_0x7e6bc5(0x24a)]},_0x480523[_0x7e6bc5(0x236)]),!0x0):!0x1;}[_0x303e32(0x385)](_0x23c32e){const _0x23486b=_0x303e32;let _0x5dea5c=this[_0x23486b(0x154)](_0x23c32e);if(!_0x5dea5c)return!0x1;let _0x17b6d5=_0x23c32e['commandService'][_0x23486b(0x3ff)](_0x44a255['id'],{'unitId':_0x5dea5c[_0x23486b(0x305)],'subUnitId':_0x5dea5c[_0x23486b(0x437)],'nodeId':_0x5dea5c[_0x23486b(0x24a)]});return _0x17b6d5&&_0x23c32e[_0x23486b(0x333)][_0x23486b(0x3c4)](),_0x17b6d5;}['_collapseAll'](_0x2c5d0d){const _0x5fe2da=_0x303e32;let _0x55844e=this[_0x5fe2da(0x154)](_0x2c5d0d);if(!_0x55844e)return!0x1;let _0x5472e5=_0x2c5d0d[_0x5fe2da(0x3e5)][_0x5fe2da(0x3c7)](_0x55844e['unitId'],_0x55844e[_0x5fe2da(0x437)]),_0x4f5176=Object['values'](_0x5472e5)['map'](_0x4de042=>{const _0x58540f=_0x5fe2da;let _0x2779b5=_0x5b8eed(_0x4de042[_0x58540f(0x357)]);return(_0x2779b5==null?void 0x0:_0x2779b5[_0x58540f(0x34b)])===_0x55844e['scopeId']&&this[_0x58540f(0x2e5)](_0x5472e5,_0x55844e[_0x58540f(0x236)],_0x4de042[_0x58540f(0x3f5)])[_0x58540f(0x346)]>0x0?{'nodeId':_0x4de042[_0x58540f(0x3f5)],'collapsed':_0x2779b5[_0x58540f(0x209)]}:null;})[_0x5fe2da(0x18a)](_0x4fddc9=>!!_0x4fddc9);if(_0x4f5176[_0x5fe2da(0x346)]===0x0)return!0x1;let _0x556059=_0x4f5176[_0x5fe2da(0x422)](_0x1edf29=>!_0x1edf29[_0x5fe2da(0x209)]),_0x5c0a64=_0x2c5d0d[_0x5fe2da(0x208)],_0x3e7b35=this[_0x5fe2da(0x425)][_0x5fe2da(0x2b0)](_0x55844e[_0x5fe2da(0x305)]),_0x282a64=_0x4f5176[_0x5fe2da(0x2c5)](_0xd74669=>_0x3e7b35(()=>_0x5c0a64[_0x5fe2da(0x2de)](_0x33c3d6['id'],{'unitId':_0x55844e[_0x5fe2da(0x305)],'subUnitId':_0x55844e[_0x5fe2da(0x437)],'nodeId':_0xd74669[_0x5fe2da(0x24a)],'collapsed':_0x556059})));return Promise[_0x5fe2da(0x20c)](_0x282a64['map'](_0x42a1d3=>Promise[_0x5fe2da(0x3c3)](_0x42a1d3)))['then'](_0x3d2612=>{const _0x9d4f9a=_0x5fe2da;_0x3d2612['some'](Boolean)&&_0x3e7b35(()=>_0x5c0a64[_0x9d4f9a(0x2de)](_0x47042e['id'],{'unitId':_0x55844e['unitId'],'subUnitId':_0x55844e[_0x9d4f9a(0x437)],'scopeId':_0x55844e['scopeId']}));}),!0x0;}[_0x303e32(0x1bb)](_0x53804e){const _0x1908c3=_0x303e32;let _0x578b19=this['_getSelectedMindMapContext'](_0x53804e);if(!_0x578b19)return!0x1;_0x53804e[_0x1908c3(0x333)]['selectElements']({'unitId':_0x578b19[_0x1908c3(0x305)],'subUnitId':_0x578b19[_0x1908c3(0x437)]},[_0x578b19[_0x1908c3(0x24a)]],_0x578b19[_0x1908c3(0x24a)]);let _0x4be2a7=_0x53804e[_0x1908c3(0x1c6)];return _0x4be2a7['ignoreExternalFocusChanges'](),_0x4be2a7['setEditing']({'unitId':_0x578b19[_0x1908c3(0x305)],'subUnitId':_0x578b19[_0x1908c3(0x437)],'shapeId':_0x578b19[_0x1908c3(0x24a)],'shapeKey':_0x317ee1(_0x578b19[_0x1908c3(0x305)],_0x578b19[_0x1908c3(0x24a)]),'visible':!0x0}),!0x0;}[_0x303e32(0x278)](_0x831751){const _0x2f35fb=_0x303e32;let _0x1e9563=this[_0x2f35fb(0x154)](_0x831751);return _0x1e9563?(_0x831751[_0x2f35fb(0x2a6)][_0x2f35fb(0x3fa)]({'id':kn,'title':{'title':_0x2f35fb(0x2c0)},'width':0x1a4,'draggable':!0x0,'mask':!0x1,'maskClosable':!0x0,'children':{'label':On,'unitId':_0x1e9563[_0x2f35fb(0x305)],'subUnitId':_0x1e9563[_0x2f35fb(0x437)],'nodeId':_0x1e9563[_0x2f35fb(0x24a)],'initialDescription':_0x1e9563['description']}}),!0x0):!0x1;}[_0x303e32(0x217)](_0x457714,_0x2ac2da){const _0x1eb68d=_0x303e32;let _0x450ae3=this['_getSelectedMindMapContext'](_0x457714);if(!_0x450ae3)return!0x1;let _0x308e93=_0x457714['elementService'][_0x1eb68d(0x3c7)](_0x450ae3['unitId'],_0x450ae3[_0x1eb68d(0x437)]),_0x50673e=_0x308e93[_0x450ae3[_0x1eb68d(0x24a)]],_0x197154=_0x5b8eed(_0x50673e==null?void 0x0:_0x50673e[_0x1eb68d(0x357)]);if(!_0x50673e||!_0x197154)return!0x1;let _0x567e77={'arrow-left':'ArrowLeft','arrow-right':_0x1eb68d(0x1b8),'arrow-up':'ArrowUp','arrow-down':'ArrowDown'}[_0x2ac2da];if(!_0x567e77)return!0x1;let _0x1f2a21=this[_0x1eb68d(0x362)](_0x308e93,_0x450ae3[_0x1eb68d(0x24a)],_0x197154,_0x567e77);return _0x1f2a21?(_0x457714['elementStateService'][_0x1eb68d(0x1f6)]({'unitId':_0x450ae3[_0x1eb68d(0x305)],'subUnitId':_0x450ae3['subUnitId']},[_0x1f2a21],_0x1f2a21),!0x0):!0x1;}[_0x303e32(0x362)](_0x5ea906,_0x2a30a2,_0x11175c,_0x436cf5){const _0x3a217c=_0x303e32;let _0x2d61ce=this['_getMindMapChildren'](_0x5ea906,_0x11175c[_0x3a217c(0x34b)],_0x2a30a2);if(_0x11175c[_0x3a217c(0x259)]===null){if(_0x436cf5==='ArrowLeft'){var _0x324939;return((_0x324939=_0x2d61ce['find'](_0x2a16bb=>{const _0x2ce89f=_0x3a217c;var _0x32e288;return((_0x32e288=_0x5b8eed(_0x2a16bb[_0x2ce89f(0x357)]))==null?void 0x0:_0x32e288[_0x2ce89f(0x3cf)])===_0x2ce89f(0x162);}))==null?void 0x0:_0x324939[_0x3a217c(0x3f5)])??null;}if(_0x436cf5==='ArrowRight'){var _0x21d8a8;return((_0x21d8a8=_0x2d61ce[_0x3a217c(0x1b2)](_0x780836=>{const _0x59e96f=_0x3a217c;var _0x358c7f;return(((_0x358c7f=_0x5b8eed(_0x780836['element']))==null?void 0x0:_0x358c7f[_0x59e96f(0x3cf)])??_0x59e96f(0x293))===_0x59e96f(0x293);}))==null?void 0x0:_0x21d8a8[_0x3a217c(0x3f5)])??null;}return null;}let _0x46d5a0=_0x11175c[_0x3a217c(0x3cf)]??_0x3a217c(0x293),_0x59defc=_0x46d5a0===_0x3a217c(0x293)?_0x3a217c(0x439):_0x3a217c(0x1b8),_0x278470=_0x46d5a0===_0x3a217c(0x293)?_0x3a217c(0x1b8):_0x3a217c(0x439);if(_0x436cf5===_0x59defc)return _0x11175c[_0x3a217c(0x259)];if(_0x436cf5===_0x278470){var _0x4d6021;return((_0x4d6021=_0x2d61ce[0x0])==null?void 0x0:_0x4d6021[_0x3a217c(0x3f5)])??null;}if(_0x436cf5==='ArrowUp'||_0x436cf5===_0x3a217c(0x1c5)){let _0x495491=this[_0x3a217c(0x2e5)](_0x5ea906,_0x11175c[_0x3a217c(0x34b)],_0x11175c[_0x3a217c(0x259)]),_0x51f140=_0x495491[_0x3a217c(0x26c)](_0x499379=>_0x499379[_0x3a217c(0x3f5)]===_0x2a30a2),_0x4303ed=_0x436cf5===_0x3a217c(0x36d)?_0x495491[_0x51f140-0x1]:_0x495491[_0x51f140+0x1];return(_0x4303ed==null?void 0x0:_0x4303ed[_0x3a217c(0x3f5)])??null;}return null;}[_0x303e32(0x2e5)](_0x470400,_0x227c67,_0x31f9e4){const _0x180466=_0x303e32;return Object['values'](_0x470400)['filter'](_0xe46c32=>{const _0x5c9dc9=_0x2923;let _0x3e18ff=_0x5b8eed(_0xe46c32['element']);return(_0x3e18ff==null?void 0x0:_0x3e18ff[_0x5c9dc9(0x34b)])===_0x227c67&&_0x3e18ff[_0x5c9dc9(0x259)]===_0x31f9e4&&_0xe46c32[_0x5c9dc9(0x357)][_0x5c9dc9(0x176)]!==!0x1;})[_0x180466(0x1f9)]((_0x34a5ff,_0xa0a3c6)=>{const _0x42885b=_0x180466;let _0x2b84a2=_0x5b8eed(_0x34a5ff[_0x42885b(0x357)]),_0x33ddb8=_0x5b8eed(_0xa0a3c6[_0x42885b(0x357)]);return _0x41fedd(_0x2b84a2==null?void 0x0:_0x2b84a2[_0x42885b(0x184)],_0x33ddb8==null?void 0x0:_0x33ddb8[_0x42885b(0x184)])||_0x34a5ff['elementId'][_0x42885b(0x40c)](_0xa0a3c6[_0x42885b(0x3f5)]);});}['_getSelectedMindMapContext'](_0x33d103){const _0x552c89=_0x303e32;var _0x5a5ac7;let _0x467cfe=_0x33d103[_0x552c89(0x333)][_0x552c89(0x1aa)](),_0x36835a=_0x467cfe[_0x552c89(0x32c)]??_0x467cfe[_0x552c89(0x2b7)][0x0];if(!_0x36835a||_0x467cfe[_0x552c89(0x2b7)][_0x552c89(0x346)]!==0x1||_0x467cfe['activeEditingId']||_0x467cfe['isTransforming'])return null;let _0x3558a1=_0x467cfe[_0x552c89(0x32f)]??{'unitId':_0x33d103['renderContext'][_0x552c89(0x305)],'subUnitId':_0x33d103['renderContext'][_0x552c89(0x118)]['getActivePageId']()},_0x224357=_0x33d103[_0x552c89(0x3e5)][_0x552c89(0x3c7)](_0x3558a1[_0x552c89(0x305)],_0x3558a1['subUnitId'])[_0x36835a],_0x4e07fc=_0x5b8eed(_0x224357==null?void 0x0:_0x224357[_0x552c89(0x357)]);return!_0x224357||!_0x4e07fc?null:{'unitId':_0x3558a1[_0x552c89(0x305)],'subUnitId':_0x3558a1[_0x552c89(0x437)],'nodeId':_0x36835a,'scopeId':_0x4e07fc[_0x552c89(0x34b)],'isRoot':_0x4e07fc[_0x552c89(0x259)]===null,'description':((_0x5a5ac7=_0x4e07fc[_0x552c89(0x1bc)])==null?void 0x0:_0x5a5ac7[_0x552c89(0x15a)])??''};}[_0x303e32(0x128)](_0x124e84){const _0x1081b5=_0x303e32;var _0x55e687,_0x3fcdc6;let _0x40b72e=_0x124e84['elementStateService'][_0x1081b5(0x1aa)]();return _0x40b72e[_0x1081b5(0x178)]||_0x40b72e[_0x1081b5(0x427)]||_0x40b72e[_0x1081b5(0x2b7)]['length']>0x0||_0x40b72e['focusedId']?null:{'unitId':((_0x55e687=_0x40b72e[_0x1081b5(0x32f)])==null?void 0x0:_0x55e687['unitId'])??_0x124e84[_0x1081b5(0x149)][_0x1081b5(0x305)],'subUnitId':((_0x3fcdc6=_0x40b72e[_0x1081b5(0x32f)])==null?void 0x0:_0x3fcdc6[_0x1081b5(0x437)])??_0x124e84[_0x1081b5(0x149)][_0x1081b5(0x118)][_0x1081b5(0x2df)]()};}['_executeAndLayout'](_0x173435,_0x5ccb4a,_0x102641,_0x583789){const _0x1c8634=_0x303e32;let _0x297b90=_0x173435['commandService'],_0x5bff02=this[_0x1c8634(0x425)][_0x1c8634(0x2b0)](_0x102641[_0x1c8634(0x305)]),_0x2ed885=_0x5bff02(()=>_0x297b90[_0x1c8634(0x2de)](_0x5ccb4a,_0x102641));Promise[_0x1c8634(0x3c3)](_0x2ed885)[_0x1c8634(0x248)](_0x2b1903=>{const _0x2a751a=_0x1c8634;_0x2b1903&&_0x5bff02(()=>_0x297b90[_0x2a751a(0x2de)](_0x47042e['id'],{'unitId':_0x102641[_0x2a751a(0x305)],'subUnitId':_0x102641['subUnitId'],'scopeId':_0x583789}));});}['_executeCreateAndEdit'](_0x3cb4cc,_0x51328d,_0x481e83,_0x101c4c,_0x34634c){const _0x7a071f=_0x303e32;let _0xccea2a={'unitId':_0x481e83[_0x7a071f(0x305)],'subUnitId':_0x481e83[_0x7a071f(0x437)]},_0x2b8899=_0x3cb4cc[_0x7a071f(0x208)],_0x52dcfa=this[_0x7a071f(0x425)][_0x7a071f(0x2b0)](_0x481e83[_0x7a071f(0x305)]),_0xc6aa6e=_0x52dcfa(()=>_0x2b8899['executeCommand'](_0x51328d,_0x481e83));Promise['resolve'](_0xc6aa6e)['then'](_0x271944=>{const _0x1413bf=_0x7a071f;if(!_0x271944)return;_0x52dcfa(()=>_0x2b8899[_0x1413bf(0x2de)](_0x47042e['id'],{..._0xccea2a,'scopeId':_0x101c4c})),_0x3cb4cc[_0x1413bf(0x333)][_0x1413bf(0x1f6)](_0xccea2a,[_0x34634c],_0x34634c);let _0x1f9a88=_0x3cb4cc[_0x1413bf(0x1c6)];_0x1f9a88[_0x1413bf(0x1b4)](),_0x1f9a88[_0x1413bf(0x25b)]({..._0xccea2a,'shapeId':_0x34634c,'shapeKey':_0x317ee1(_0xccea2a[_0x1413bf(0x305)],_0x34634c),'visible':!0x0});});}};Ln=J([q(0x0,_0x505035),q(0x1,_0x18b2f8),q(0x2,_0x20fa6c),q(0x3,_0x4b1a3e(_0x222deb))],Ln);function Rn(_0x114b49,_0x3787dd){const _0x4692eb=_0x303e32;var _0x515820,_0x279e23;let _0x36c540=typeof(_0x3787dd==null?void 0x0:_0x3787dd[_0x4692eb(0x305)])==_0x4692eb(0x121)?_0x3787dd[_0x4692eb(0x305)]:(_0x515820=_0x114b49[_0x4692eb(0x409)](_0xd8ff2e)[_0x4692eb(0x3ce)](_0x3c080c[_0x4692eb(0x336)]))==null?void 0x0:_0x515820[_0x4692eb(0x194)]();return _0x36c540?((_0x279e23=_0x114b49[_0x4692eb(0x409)](_0x16c87c)['getRenderUnitById'](_0x36c540))==null?void 0x0:_0x279e23[_0x4692eb(0x14e)](Dn))??null:null;}function zn(_0x29ee17){const _0x46ae3d=_0x303e32;return _0x29ee17===_0x46ae3d(0x1e8)||_0x29ee17==='arrow-right'||_0x29ee17==='arrow-up'||_0x29ee17==='arrow-down';}const Bn={'min':0x1,'max':0x5,'defaultValue':0x3},Vn={'min':0x0,'max':0x64,'defaultValue':0x64},Hn=[{'kind':'dropdown','titleKey':'boards-mind-ui.toolbar.primary.line','panel':_0x303e32(0x380)},{'kind':'fontColor','titleKey':_0x303e32(0x200)},{'kind':'typography','titleKey':'boards-mind-ui.toolbar.primary.typography'},{'kind':_0x303e32(0x285),'titleKey':_0x303e32(0x1d5),'panel':_0x303e32(0x16e),'dividerBefore':!0x0}],Un={'addSibling':'add-sibling-or-child','addChild':'add-child','copy':_0x303e32(0x2a7),'paste':_0x303e32(0x212),'delete':'delete'},Wn=[{'key':_0x303e32(0x33c),'title':_0x303e32(0x249),'items':[{'value':_0x303e32(0x2d4),'icon':_0x303e32(0x2d4),'labelKey':_0x303e32(0x1d8)},{'value':_0x303e32(0x1a4),'icon':'mindmap-vertical','labelKey':_0x303e32(0x2be)}]},{'key':_0x303e32(0x42a),'title':'Tree\x20diagram','items':[{'value':_0x303e32(0x29a),'icon':_0x303e32(0x29a),'labelKey':_0x303e32(0x1fe)},{'value':_0x303e32(0x405),'icon':_0x303e32(0x405),'labelKey':_0x303e32(0x38b)},{'value':_0x303e32(0x38e),'icon':_0x303e32(0x38e),'labelKey':'boards-mind-ui.panel.structureKind.treeAlternate'}]},{'key':_0x303e32(0x1d6),'title':_0x303e32(0x254),'items':[{'value':'timeline-horizontal','icon':_0x303e32(0x250),'labelKey':'boards-mind-ui.panel.structureKind.timelineHorizontal'},{'value':_0x303e32(0x1a0),'icon':_0x303e32(0x1a0),'labelKey':_0x303e32(0x19d)}]}],Gn={'key':_0x303e32(0x1c9),'title':'Branch','items':[{'value':_0x303e32(0x3cb),'icon':_0x303e32(0x18c),'labelKey':_0x303e32(0x408)},{'value':'rounded-orthogonal','icon':'branch-rounded-orthogonal','labelKey':_0x303e32(0x24b)},{'value':'orthogonal','icon':'branch-orthogonal','labelKey':_0x303e32(0x2f5)}]},Kn=_0x303e32(0x1f7);function qn(_0x3f8b94,_0x366c03){const _0x4f9d16=_0x303e32;_0x3f8b94[_0x4f9d16(0x2de)](jn,{'action':_0x366c03});}const Jn={'line':_0x452bae,'more':_0x1003f2};function Yn(_0xb4b53e){const _0x124311=_0x303e32;_0xb4b53e[_0x124311(0x41d)](),_0xb4b53e['preventDefault']();}function Xn(_0x18ba2f,_0x30b48c=_0x303e32(0x20b),_0x5db8f9){return _0x5de246(_0x3ac543,{'children':_0x5de246(_0x18ba2f,{'className':_0x30b48c,'extend':_0x5db8f9})});}function Zn(_0x5cd90f){const _0x5ac838=_0x303e32;var _0x3f6e60,_0x3b7b30;let _0x5022dd=(_0x5cd90f==null?void 0x0:_0x5cd90f['shapeText'])??{},_0x35590b=_0x5022dd[_0x5ac838(0x382)]&&typeof _0x5022dd[_0x5ac838(0x382)]==_0x5ac838(0x319)?_0x5022dd[_0x5ac838(0x382)]:{},_0xef6f95=(_0x3f6e60=_0x35590b[_0x5ac838(0x436)])==null||(_0x3f6e60=_0x3f6e60[_0x5ac838(0x151)])==null?void 0x0:_0x3f6e60[_0x5ac838(0x22b)];return{'color':typeof _0x5022dd[_0x5ac838(0x1ec)]==_0x5ac838(0x121)?_0x5022dd[_0x5ac838(0x1ec)]:(_0xef6f95==null||(_0x3b7b30=_0xef6f95['cl'])==null?void 0x0:_0x3b7b30['rgb'])??_0x7a94d8,'fontFamily':typeof _0x5022dd[_0x5ac838(0x406)]=='string'?_0x5022dd[_0x5ac838(0x406)]:(_0xef6f95==null?void 0x0:_0xef6f95['ff'])??_0x1f3242['ff'],'fontSize':typeof _0x5022dd[_0x5ac838(0x2ac)]=='number'?_0x5022dd[_0x5ac838(0x2ac)]:typeof(_0xef6f95==null?void 0x0:_0xef6f95['fs'])=='number'?_0xef6f95['fs']:_0x1f3242['fs'],'horizontalAlign':_0x5022dd[_0x5ac838(0x2c4)]??_0x35590b['ha']??_0x546b27[_0x5ac838(0x191)],'textFill':_0x5022dd[_0x5ac838(0x338)]&&typeof _0x5022dd[_0x5ac838(0x338)]==_0x5ac838(0x319)?_0x5022dd[_0x5ac838(0x338)]:_0xef6f95==null?void 0x0:_0xef6f95[_0x5ac838(0x338)],'verticalAlign':_0x5022dd[_0x5ac838(0x2c8)]??_0x35590b['va']??_0x4b77cb[_0x5ac838(0x1cb)]};}function Qn(_0x4d4d70,_0x46d60a){const _0x1a87e1=_0x303e32;if(!_0x46d60a)return;let _0x5075e7=In(_0x46d60a);if(!_0x5075e7[_0x1a87e1(0x346)])return;let _0x35c67f=_0x5075e7[_0x1a87e1(0x2c5)](_0x3f81fb=>_0x4d4d70['getShortcutDisplay']({'id':_0x1a87e1(0x168),'binding':_0x3f81fb,'staticParameters':{'action':_0x46d60a}})??void 0x0)['filter'](_0xd403b3=>!!_0xd403b3);return _0x35c67f['length']?[...new Set(_0x35c67f)][_0x1a87e1(0x321)]('/'):void 0x0;}async function $n(_0x4b4dec,_0x47aaa1,_0x287eea){const _0x505926=_0x303e32;return await Promise['resolve'](_0x47aaa1(()=>_0x4b4dec[_0x505926(0x2de)](_0x50dd3d['id'],_0x287eea)))?(await Promise['resolve'](_0x47aaa1(()=>_0x4b4dec['executeCommand'](_0x47042e['id'],{'unitId':_0x287eea[_0x505926(0x305)],'subUnitId':_0x287eea[_0x505926(0x437)],'scopeId':_0x287eea[_0x505926(0x236)]}))),!0x0):!0x1;}async function er(_0x51c2b9,_0x46d176,_0x25dba5){const _0x115f75=_0x303e32;return await Promise['resolve'](_0x46d176(()=>_0x51c2b9[_0x115f75(0x2de)](_0x41e3f9['id'],_0x25dba5)))?(await Promise[_0x115f75(0x3c3)](_0x46d176(()=>_0x51c2b9[_0x115f75(0x2de)](_0x47042e['id'],{'unitId':_0x25dba5[_0x115f75(0x305)],'subUnitId':_0x25dba5['subUnitId'],'scopeId':_0x25dba5['scopeId']}))),!0x0):!0x1;}function tr({className:_0xee6d88=_0x303e32(0x20b)}){const _0x1d5b6a=_0x303e32;return _0x5de246(_0x3ac543,{'children':_0x2bf1e8('svg',{'className':_0xee6d88,'viewBox':_0x1d5b6a(0x234),'fill':_0x1d5b6a(0x358),'aria-hidden':'true','children':[_0x5de246('path',{'d':_0x1d5b6a(0x255),'stroke':_0x1d5b6a(0x318),'strokeWidth':_0x1d5b6a(0x227),'strokeLinecap':_0x1d5b6a(0x21c)}),_0x5de246(_0x1d5b6a(0x407),{'d':'M19.5\x207.5h-4.2c-1.9\x200-3.3\x201.5-3.3\x203.3','stroke':'currentColor','strokeWidth':_0x1d5b6a(0x227),'strokeLinecap':_0x1d5b6a(0x21c)}),_0x5de246(_0x1d5b6a(0x407),{'d':'M4.5\x2016.5h4.2c1.9\x200\x203.3-1.5\x203.3-3.3','stroke':'currentColor','strokeWidth':_0x1d5b6a(0x227),'strokeLinecap':'round'})]})});}function nr({icon:_0x22dd1b}){const _0xb3cc7c=_0x303e32;let _0x2ee9a4=_0xb3cc7c(0x3f9),_0x11b18d={'stroke':'currentColor','strokeWidth':2.6,'strokeLinecap':_0xb3cc7c(0x21c),'strokeLinejoin':_0xb3cc7c(0x21c)},_0x325e07={'stroke':_0x2ee9a4,'strokeWidth':3.2,'strokeLinecap':_0xb3cc7c(0x21c)};return _0x2bf1e8(_0xb3cc7c(0x3bc),{'className':_0xb3cc7c(0x2d9),'viewBox':_0xb3cc7c(0x3fb),'fill':_0xb3cc7c(0x358),'aria-hidden':_0xb3cc7c(0x150),'children':[_0x22dd1b===_0xb3cc7c(0x2d4)&&_0x2bf1e8(_0xa348f8,{'children':[_0x5de246('path',{'d':_0xb3cc7c(0x28f),..._0x11b18d}),_0x5de246(_0xb3cc7c(0x407),{'d':'M12\x2015h9M12\x2028h9M12\x2041h9M59\x2015h9M59\x2028h9M59\x2041h9',..._0x325e07})]}),_0x22dd1b===_0xb3cc7c(0x1a4)&&_0x2bf1e8(_0xa348f8,{'children':[_0x5de246(_0xb3cc7c(0x407),{'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',..._0x11b18d}),_0x5de246(_0xb3cc7c(0x407),{'d':'M22\x208h36M22\x2048h36M14\x2018v20M66\x2018v20','stroke':_0x2ee9a4,'strokeWidth':2.6,'strokeLinecap':_0xb3cc7c(0x21c),'strokeDasharray':_0xb3cc7c(0x23a)})]}),_0x22dd1b==='tree-right'&&_0x2bf1e8(_0xa348f8,{'children':[_0x5de246(_0xb3cc7c(0x407),{'d':_0xb3cc7c(0x2ea),..._0x11b18d}),_0x5de246(_0xb3cc7c(0x407),{'d':'M47\x2025h13M47\x2035h13M47\x2045h13',..._0x325e07}),_0x5de246('circle',{'cx':'24','cy':'12','r':'3','fill':_0xb3cc7c(0x318)})]}),_0x22dd1b===_0xb3cc7c(0x405)&&_0x2bf1e8(_0xa348f8,{'children':[_0x5de246(_0xb3cc7c(0x407),{'d':_0xb3cc7c(0x40b),..._0x11b18d}),_0x5de246(_0xb3cc7c(0x407),{'d':_0xb3cc7c(0x2e9),..._0x325e07}),_0x5de246(_0xb3cc7c(0x35d),{'cx':'56','cy':'12','r':'3','fill':_0xb3cc7c(0x318)})]}),_0x22dd1b===_0xb3cc7c(0x38e)&&_0x2bf1e8(_0xa348f8,{'children':[_0x5de246(_0xb3cc7c(0x407),{'d':_0xb3cc7c(0x2e7),..._0x11b18d}),_0x5de246(_0xb3cc7c(0x407),{'d':_0xb3cc7c(0x3d9),..._0x325e07}),_0x5de246(_0xb3cc7c(0x35d),{'cx':'42','cy':'12','r':'3','fill':_0xb3cc7c(0x318)})]}),_0x22dd1b===_0xb3cc7c(0x250)&&_0x2bf1e8(_0xa348f8,{'children':[_0x5de246(_0xb3cc7c(0x407),{'d':_0xb3cc7c(0x23f),..._0x11b18d}),_0x5de246(_0xb3cc7c(0x407),{'d':_0xb3cc7c(0x2f3),..._0x325e07}),_0x5de246(_0xb3cc7c(0x35d),{'cx':'17','cy':'31','r':'3','fill':_0xb3cc7c(0x318)})]}),_0x22dd1b===_0xb3cc7c(0x1a0)&&_0x2bf1e8(_0xa348f8,{'children':[_0x5de246(_0xb3cc7c(0x407),{'d':_0xb3cc7c(0x1db),..._0x11b18d}),_0x5de246(_0xb3cc7c(0x407),{'d':'M56\x2039h11M13\x2050h11',..._0x325e07}),_0x5de246(_0xb3cc7c(0x35d),{'cx':'40','cy':'9','r':'3','fill':_0xb3cc7c(0x318)})]}),_0x22dd1b===_0xb3cc7c(0x18c)&&_0x5de246(_0xa348f8,{'children':_0x5de246('path',{'d':'M16\x2028c16\x200\x2025-13\x2043-13M16\x2028c16\x200\x2025\x2013\x2043\x2013',..._0x11b18d})}),_0x22dd1b===_0xb3cc7c(0x243)&&_0x5de246(_0xa348f8,{'children':_0x5de246(_0xb3cc7c(0x407),{'d':'M16\x2029h18c7\x200\x2010-5\x2010-12v-3M34\x2029h10c7\x200\x2010\x205\x2010\x2012v3',..._0x11b18d})}),_0x22dd1b==='branch-orthogonal'&&_0x5de246(_0xa348f8,{'children':_0x5de246('path',{'d':_0xb3cc7c(0x2ad),..._0x11b18d})})]});}function rr(_0x86f436,_0x2ac7f4){const _0x237b6b=_0x303e32;let _0x299dd0=_0x86f436[_0x237b6b(0x22b)],_0x4b4611=_0x44ae3b(_0x299dd0),_0x563adb={..._0x4b4611[_0x237b6b(0x1ec)]===void 0x0?null:{'color':_0x4b4611[_0x237b6b(0x1ec)]},..._0x4b4611[_0x237b6b(0x406)]===void 0x0?null:{'fontFamily':_0x4b4611[_0x237b6b(0x406)]},..._0x4b4611[_0x237b6b(0x2ac)]===void 0x0?null:{'fontSize':_0x4b4611[_0x237b6b(0x2ac)]},..._0x4b4611[_0x237b6b(0x353)]===void 0x0?null:{'bold':_0x4b4611['bold']},..._0x4b4611[_0x237b6b(0x19a)]===void 0x0?null:{'italic':_0x4b4611[_0x237b6b(0x19a)]},..._0x4b4611[_0x237b6b(0x2d1)]===void 0x0?null:{'underline':_0x4b4611[_0x237b6b(0x2d1)]},..._0x4b4611[_0x237b6b(0x372)]===void 0x0?null:{'strikethrough':_0x4b4611[_0x237b6b(0x372)]},..._0x4b4611['textFill']===void 0x0?null:{'textFill':_0x4b4611[_0x237b6b(0x338)]}};_0x86f436[_0x237b6b(0x2c4)]!==void 0x0&&(_0x563adb[_0x237b6b(0x2c4)]=_0x86f436[_0x237b6b(0x2c4)]),_0x86f436['verticalAlign']!==void 0x0&&(_0x563adb[_0x237b6b(0x2c8)]=_0x86f436[_0x237b6b(0x2c8)]),Object['keys'](_0x563adb)['length']>0x0&&_0x2ac7f4({'textStyle':_0x563adb});}function ir(_0x2a4480,_0xc16c5a,_0x31e25f){const _0x18ed79=_0x303e32;let _0x3d380d=_0x2a4480??{},_0x2de8d9=_0x1a2ff7(_0x3d380d,_0xc16c5a),_0x4739d0=_0x2de8d9[_0x18ed79(0x26f)]??_0x3d380d[_0x18ed79(0x26f)]??{};return{..._0x3d380d,..._0x2de8d9,'shapeText':{..._0x4739d0,..._0x31e25f['color']===void 0x0?null:{'color':_0x31e25f['color']},..._0x31e25f['fontSize']===void 0x0?null:{'fontSize':_0x31e25f[_0x18ed79(0x2ac)]},..._0x31e25f[_0x18ed79(0x353)]===void 0x0?null:{'bold':_0x31e25f['bold']},..._0x31e25f[_0x18ed79(0x19a)]===void 0x0?null:{'italic':_0x31e25f[_0x18ed79(0x19a)]},..._0x31e25f[_0x18ed79(0x2d1)]===void 0x0?null:{'underline':_0x31e25f[_0x18ed79(0x2d1)]},..._0x31e25f[_0x18ed79(0x372)]===void 0x0?null:{'strikethrough':_0x31e25f[_0x18ed79(0x372)]},..._0x31e25f[_0x18ed79(0x2c4)]===void 0x0?null:{'horizontalAlign':_0x31e25f['horizontalAlign']},..._0x31e25f[_0x18ed79(0x2c8)]===void 0x0?null:{'verticalAlign':_0x31e25f[_0x18ed79(0x2c8)]},..._0x31e25f[_0x18ed79(0x338)]===void 0x0?null:{'textFill':_0x31e25f[_0x18ed79(0x338)]}}};}function ar(_0x3d0733,_0x537cc7){const _0xc47551=_0x303e32;let _0xed1227=_0x3d0733==null?void 0x0:_0x3d0733[_0xc47551(0x235)];_0xed1227&&_0x537cc7({'lineType':_0xed1227['dashType']===_0x546449[_0xc47551(0x417)]||_0xed1227['dashType']===_0x546449[_0xc47551(0x39d)]?'dot':_0xed1227[_0xc47551(0x265)]===_0x546449[_0xc47551(0x300)]?'dash':_0xc47551(0x229),...typeof _0xed1227['width']=='number'?{'strokeWidth':_0xed1227[_0xc47551(0x39c)]}:null,...typeof _0xed1227['color']==_0xc47551(0x121)?{'stroke':_0xed1227[_0xc47551(0x1ec)]}:null,...typeof _0xed1227[_0xc47551(0x1a7)]==_0xc47551(0x27b)?{'opacity':_0xed1227[_0xc47551(0x1a7)]}:null});}function or(_0x1d2cfe){const _0x1c0403=_0x303e32;return _0x1d2cfe!=null&&_0x1d2cfe['length']?_0x1d2cfe[0x0]<=0x2?_0x546449[_0x1c0403(0x417)]:_0x546449[_0x1c0403(0x300)]:_0x546449[_0x1c0403(0x2ef)];}function sr(_0x430e8f){const _0x4b1aa8=_0x303e32;return{'stroke':{'lineStrokeType':_0x12b30e[_0x4b1aa8(0x262)],'dashType':or(_0x430e8f==null?void 0x0:_0x430e8f['dash']),'color':(_0x430e8f==null?void 0x0:_0x430e8f[_0x4b1aa8(0x235)])??_0x8d8629,'width':(_0x430e8f==null?void 0x0:_0x430e8f[_0x4b1aa8(0x26d)])??Bn[_0x4b1aa8(0x347)],'opacity':(_0x430e8f==null?void 0x0:_0x430e8f['opacity'])??Vn[_0x4b1aa8(0x347)]/0x64}};}function cr(_0x10cbb5){const _0x5854ba=_0x303e32;var _0x319000,_0x3ca05d,_0xeca933;let _0x317155=_0x3ebafe(_0x18b2f8),_0x34ed8a=_0x3ebafe(_0x20fa6c),_0x2697aa=_0x3ebafe(_0x51902b),_0x3e6ebc=_0x3ebafe(_0x222deb),[_0x755830,_0x1c4fff]=_0x3322bd(null),[_0x4158cc,_0x155107]=_0x3322bd((_0x319000=_0x10cbb5[_0x5854ba(0x2f0)][_0x5854ba(0x429)])==null?void 0x0:_0x319000[_0x5854ba(0x16c)]),_0x594dc3=_0x10cbb5['popup']['extraProps'];if(!_0x594dc3)return null;let _0x340582={'unitId':_0x594dc3[_0x5854ba(0x305)],'subUnitId':_0x594dc3[_0x5854ba(0x437)]},_0x3aefc8=_0x4cc185=>{const _0x5e8840=_0x5854ba;_0x317155[_0x5e8840(0x2de)](_0x274fe8['id'],{..._0x340582,'nodeId':_0x594dc3['elementId'],..._0x4cc185});},_0xbbd858=(_0x1a89b4,_0x2e75d2)=>{const _0x25447f=_0x5854ba;let _0x312327=_0x2e75d2??{};_0x155107(_0x451fd2=>({..._0x451fd2??{},..._0x312327})),_0x3aefc8({..._0x312327[_0x25447f(0x2c2)]===void 0x0?null:{'fill':_0x312327['fill']},..._0x312327[_0x25447f(0x235)]===void 0x0?null:{'stroke':_0x312327['stroke']}});},_0x159fde=_0x4720b0=>{const _0x1d9e8=_0x5854ba;_0x317155[_0x1d9e8(0x2de)](_0x2c7a73['id'],{..._0x340582,'nodeId':_0x594dc3[_0x1d9e8(0x3f5)],'style':_0x4720b0});},_0x1ada99=sr(_0x594dc3[_0x5854ba(0x3d0)]),_0x4eaa5b=_0x2704e5=>Qn(_0x34ed8a,_0x2704e5),_0x3a32fe=_0x497796=>{qn(_0x317155,_0x497796);},_0x325299=(_0x4158cc==null?void 0x0:_0x4158cc[_0x5854ba(0x26f)])??{},_0x56c935=Zn(_0x4158cc),_0x1d032a=_0x2c96c9=>{rr(_0x2c96c9,_0x137ff1=>{const _0x147921=_0x2923;_0x155107(_0x33e6e3=>ir(_0x33e6e3,_0x2c96c9,_0x137ff1[_0x147921(0x22b)])),_0x3aefc8(_0x137ff1);});},_0x2f5ee8=[{'label':_0x2697aa['t'](_0x5854ba(0x291)),'value':_0x546b27['LEFT'],'icon':_0x5de246(_0x9512c5,{})},{'label':_0x2697aa['t'](_0x5854ba(0x140)),'value':_0x546b27['CENTER'],'icon':_0x5de246(_0x557496,{})},{'label':_0x2697aa['t'](_0x5854ba(0x34e)),'value':_0x546b27['RIGHT'],'icon':_0x5de246(_0x6598db,{})},{'label':_0x2697aa['t'](_0x5854ba(0x35a)),'value':_0x546b27[_0x5854ba(0x183)],'icon':_0x5de246(_0x12cdd4,{})}],_0x52913f=[{'label':_0x2697aa['t'](_0x5854ba(0x161)),'value':_0x4b77cb[_0x5854ba(0x206)],'icon':_0x5de246(_0x35efdb,{})},{'label':_0x2697aa['t'](_0x5854ba(0x2d0)),'value':_0x4b77cb[_0x5854ba(0x1cb)],'icon':_0x5de246(_0x250a7b,{})},{'label':_0x2697aa['t'](_0x5854ba(0x15b)),'value':_0x4b77cb[_0x5854ba(0x3ed)],'icon':_0x5de246(_0x52711e,{})}],_0xae4551=()=>{const _0x26f7a7=_0x5854ba;_0x3a32fe(_0x26f7a7(0x211));},_0x46d622=()=>{const _0x5670e4=_0x5854ba;_0x3a32fe(_0x5670e4(0x330));},_0x29230b=()=>{_0x3a32fe('copy');},_0x57df0b=()=>{_0x3a32fe('paste');},_0x166c03=()=>{const _0x124d83=_0x5854ba;_0x3a32fe(_0x124d83(0x1ed));},_0x30aeaa=((_0x3ca05d=_0x594dc3[_0x5854ba(0x22a)])==null?void 0x0:_0x3ca05d[_0x5854ba(0x377)])??_0x314ab2['structureKind'],_0x242c6f=_0x3b0722(_0x30aeaa,((_0xeca933=_0x594dc3[_0x5854ba(0x22a)])==null?void 0x0:_0xeca933['branchLineType'])??_0x314ab2[_0x5854ba(0x1bd)]),_0xf268f2=_0x356f41=>{const _0x486845=_0x5854ba;let _0x2c53d4=_0x3b0722(_0x356f41,_0x242c6f);$n(_0x317155,_0x3e6ebc[_0x486845(0x2b0)](_0x594dc3[_0x486845(0x305)]),{..._0x340582,'scopeId':_0x594dc3[_0x486845(0x236)],'structureKind':_0x356f41,..._0x2c53d4===_0x242c6f?null:{'branchLineType':_0x2c53d4}}),_0x1c4fff(null);},_0x204bd2=_0x173751=>{const _0x3e8ac9=_0x5854ba;er(_0x317155,_0x3e6ebc[_0x3e8ac9(0x2b0)](_0x594dc3[_0x3e8ac9(0x305)]),{..._0x340582,'scopeId':_0x594dc3[_0x3e8ac9(0x236)],'branchLineType':_0x173751}),_0x1c4fff(null);},_0x5ee406=(_0x3b6a35,_0x5377a6,_0x4f24a9,_0x5bca45=!0x1)=>_0x5de246('button',{'type':'button','aria-label':_0x2697aa['t'](_0x3b6a35[_0x5854ba(0x355)]),'disabled':_0x5bca45,'className':_0x2509f8(_0x5854ba(0x228),_0x5377a6&&_0x5854ba(0x12a),_0x5bca45&&_0x5854ba(0x11a)),'onMouseDown':Yn,'onPointerDown':Yn,'onClick':_0x363ba1=>{const _0x32ecc8=_0x5854ba;_0x363ba1[_0x32ecc8(0x41d)](),!_0x5bca45&&_0x4f24a9();},'children':_0x5de246(nr,{'icon':_0x3b6a35[_0x5854ba(0x225)]})},_0x3b6a35[_0x5854ba(0x3f2)]),_0x58f039=()=>_0x2bf1e8('div',{'className':_0x5854ba(0x304),'onMouseDown':_0x53e8b1=>_0x53e8b1[_0x5854ba(0x41d)](),'onPointerDown':_0x36ac8b=>_0x36ac8b[_0x5854ba(0x41d)](),'children':[Wn[_0x5854ba(0x2c5)](_0x451879=>_0x2bf1e8(_0x5854ba(0x27f),{'className':_0x5854ba(0x35e),'children':[_0x5de246('div',{'className':_0x5854ba(0x403),'children':_0x451879[_0x5854ba(0x2ff)]}),_0x5de246(_0x5854ba(0x27f),{'className':'univer-grid\x20univer-h-14\x20univer-overflow-hidden\x20univer-rounded-xl\x20univer-bg-gray-100\x20univer-p-1','style':{'gridTemplateColumns':_0x5854ba(0x39a)+_0x451879[_0x5854ba(0x3e6)][_0x5854ba(0x346)]+_0x5854ba(0x3ee)},'children':_0x451879[_0x5854ba(0x3e6)][_0x5854ba(0x2c5)](_0x14477c=>_0x5ee406(_0x14477c,_0x14477c[_0x5854ba(0x3f2)]===_0x30aeaa,()=>_0xf268f2(_0x14477c['value'])))})]},_0x451879[_0x5854ba(0x245)])),_0x5de246(_0x2dcbd3,{}),_0x2bf1e8(_0x5854ba(0x27f),{'className':_0x5854ba(0x143),'children':[_0x5de246('div',{'className':_0x5854ba(0x403),'children':Gn[_0x5854ba(0x2ff)]}),_0x5de246(_0x5854ba(0x27f),{'className':_0x5854ba(0x3f3),'style':{'gridTemplateColumns':_0x5854ba(0x39a)+Gn['items']['length']+_0x5854ba(0x3ee)},'children':Gn[_0x5854ba(0x3e6)][_0x5854ba(0x2c5)](_0x1a75bb=>_0x5ee406(_0x1a75bb,_0x1a75bb['value']===_0x242c6f,()=>_0x204bd2(_0x1a75bb[_0x5854ba(0x3f2)]),_0x1a75bb['value']==='curve'&&!_0x1c3d5d(_0x30aeaa)))})]})]}),_0x487e5e=_0x16ef8e=>{const _0x92c2db=_0x5854ba;switch(_0x16ef8e){case _0x92c2db(0x380):return _0x5de246(_0x6a1080,{'title':_0x2697aa['t'](_0x92c2db(0x148)),'shapeData':_0x1ada99,'modeOptions':[_0x92c2db(0x229),_0x92c2db(0x1c3),_0x92c2db(0x16b)],'showDashDropdown':!0x1,'widthRange':{'min':Bn['min'],'max':Bn[_0x92c2db(0x384)],'step':0x1},'onUpdateShapeData':(_0x1bebdd,_0x59c288)=>{ar(_0x59c288,_0x159fde);}});case'more':return _0x5de246(_0x41baf4,{'title':_0x2697aa['t'](_0x92c2db(0x36c)),'minWidthClassName':_0x92c2db(0x30a),'children':_0x2bf1e8(_0x92c2db(0x27f),{'className':_0x92c2db(0x210),'children':[_0x5de246(_0x4ecb87,{'label':_0x2697aa['t'](_0x92c2db(0x2b5)),'shortcut':_0x4eaa5b(Un[_0x92c2db(0x28b)]),'onClick':_0xae4551}),_0x5de246(_0x4ecb87,{'label':_0x2697aa['t'](_0x92c2db(0x2e4)),'shortcut':_0x4eaa5b(Un['addChild']),'onClick':_0x46d622}),_0x5de246(_0x2dcbd3,{}),_0x5de246(_0x4ecb87,{'label':_0x2697aa['t'](_0x92c2db(0x400)),'shortcut':_0x4eaa5b(Un[_0x92c2db(0x2a7)]),'onClick':_0x29230b}),_0x5de246(_0x4ecb87,{'label':_0x2697aa['t'](_0x92c2db(0x21d)),'shortcut':_0x4eaa5b(Un[_0x92c2db(0x212)]),'onClick':_0x57df0b}),_0x5de246(_0x4ecb87,{'label':_0x2697aa['t'](_0x92c2db(0x32b)),'shortcut':_0x4eaa5b(Un[_0x92c2db(0x1ed)]),'onClick':_0x166c03})]})});default:return null;}},_0xb5a80f=Hn['flatMap'](_0xc34d2=>{const _0x1b3167=_0x5854ba;let _0x17c166=[];if(_0xc34d2[_0x1b3167(0x24d)]&&_0x17c166[_0x1b3167(0x203)](_0x5de246(_0x2dcbd3,{'orientation':_0x1b3167(0x215)},'divider-'+_0xc34d2['kind'])),_0xc34d2['kind']==='typography')return _0x17c166['push'](_0x5de246(_0x443c63,{'title':_0x2697aa['t'](_0x1b3167(0x386)),'fontFamily':_0x56c935['fontFamily'],'textStyle':{'isBold':_0x325299[_0x1b3167(0x353)]===!0x0,'isItalic':_0x325299['italic']===!0x0,'isUnderline':_0x325299[_0x1b3167(0x2d1)]===!0x0,'isStrike':_0x325299[_0x1b3167(0x372)]===!0x0},'horizontalAlign':_0x56c935['horizontalAlign'],'verticalAlign':_0x56c935[_0x1b3167(0x2c8)],'horizontalAlignOptions':_0x2f5ee8,'verticalAlignOptions':_0x52913f,'onUpdateText':_0x1d032a},_0xc34d2[_0x1b3167(0x214)])),_0x17c166;if(_0xc34d2[_0x1b3167(0x214)]===_0x1b3167(0x416)){let _0x15c441={'fs':_0x56c935[_0x1b3167(0x2ac)],'cl':{'rgb':_0x56c935['color']},..._0x56c935[_0x1b3167(0x338)]===void 0x0?null:{'textFill':_0x56c935['textFill']}};return _0x17c166[_0x1b3167(0x203)](_0x5de246(_0x33b5ad,{'title':_0x2697aa['t'](_0x1b3167(0x258)),'textStyle':_0x15c441,'fallbackColor':_0x56c935[_0x1b3167(0x1ec)],'onChange':_0x3b61b6=>_0x1d032a({'textStyle':_0x3b61b6})},_0xc34d2[_0x1b3167(0x214)])),_0x17c166['push'](_0x5de246(_0x3ac94b,{'value':String(_0x56c935[_0x1b3167(0x2ac)]),'onChange':_0x47a319=>{_0x1d032a({'textStyle':{'fs':_0x47a319}});}},_0x1b3167(0x12d))),_0x17c166;}return _0x17c166[_0x1b3167(0x203)](_0x5de246(_0xba36e7,{'open':_0x755830===_0xc34d2[_0x1b3167(0x1b1)],'overlay':_0x487e5e(_0xc34d2[_0x1b3167(0x1b1)]),'onOpenChange':_0x18cbca=>_0x1c4fff(_0x18cbca?_0xc34d2[_0x1b3167(0x1b1)]:null),'children':_0x5de246('span',{'children':_0x5de246(_0x523581,{'title':_0x2697aa['t'](_0xc34d2['titleKey']),'active':_0x755830===_0xc34d2[_0x1b3167(0x1b1)],'icon':Xn(Jn[_0xc34d2[_0x1b3167(0x1b1)]]),'sizeClassName':_0x1b3167(0x3dc),'onMouseDown':Yn,'onPointerDown':Yn})})},_0xc34d2[_0x1b3167(0x1b1)])),_0x17c166;}),_0x4e0f51=[..._0x594dc3['isRootNode']?[_0x5de246(_0xba36e7,{'open':_0x755830===_0x5854ba(0x22a),'overlay':_0x58f039(),'onOpenChange':_0x17075d=>_0x1c4fff(_0x17075d?'layout':null),'children':_0x5de246('span',{'children':_0x5de246(_0x523581,{'title':_0x2697aa['t'](_0x5854ba(0x1de)),'active':_0x755830===_0x5854ba(0x22a),'icon':_0x5de246(tr,{}),'sizeClassName':_0x5854ba(0x3dc),'onMouseDown':Yn,'onPointerDown':Yn})})},'mind-map-layout-dropdown'),_0x5de246(_0x2dcbd3,{'orientation':_0x5854ba(0x215)},_0x5854ba(0x189))]:[],_0x5de246(_0x27393e,{'title':_0x2697aa['t']('boards-mind-ui.toolbar.action.fill'),'shapeData':_0x4158cc??{},'onUpdateShapeData':_0xbbd858},_0x5854ba(0x296)),_0x5de246(_0x534af4,{'title':_0x2697aa['t']('boards-mind-ui.toolbar.action.stroke'),'shapeData':_0x4158cc??{},'onUpdateShapeData':_0xbbd858},_0x5854ba(0x3d1)),_0x5de246(_0x2dcbd3,{'orientation':_0x5854ba(0x215)},_0x5854ba(0x12c))];return _0x2bf1e8(_0x29f3a8,{'maxWidthClassName':_0x5854ba(0x169),'onMouseDown':_0xdfce8c=>_0xdfce8c[_0x5854ba(0x41d)](),'children':[_0x4e0f51,_0xb5a80f]});}function lr(_0x39b5dd){let {left:_0x21a0d9,top:_0x304f9e,width:_0x3992c6,height:_0x335e6e}=_0x39b5dd;return{'left':_0x21a0d9,'right':_0x21a0d9+_0x3992c6,'top':_0x304f9e-0x38,'bottom':_0x304f9e+_0x335e6e};}let ur=class extends _0xd5b999{constructor(_0x560869,_0x6ec278,_0x1c9dcb,_0x452df0,_0x4ca7d1,_0x340eee){const _0x8179a=_0x303e32;super(),this[_0x8179a(0x34f)]=_0x560869,this[_0x8179a(0x1e7)]=_0x6ec278,this['_boardElementService']=_0x1c9dcb,this['_elementStateService']=_0x452df0,this[_0x8179a(0x1c7)]=_0x4ca7d1,this[_0x8179a(0x345)]=_0x340eee,K(this,_0x8179a(0x41f),null),K(this,_0x8179a(0x27c),null),this[_0x8179a(0x1ee)]();}[_0x303e32(0x192)](){this['_clearPopup'](),super['dispose']();}[_0x303e32(0x1ee)](){const _0x5c0497=_0x303e32;let _0x1aa189=this[_0x5c0497(0x34f)][_0x5c0497(0x18f)][_0x5c0497(0x14d)]();this[_0x5c0497(0x18e)](_0x502ac1(_0x1aa189[_0x5c0497(0x195)][_0x5c0497(0x3c0)](_0x24fd2b(this['dispose$']))['subscribe'](()=>this['_showPopupForSelection']()))),this['disposeWithMe'](_0x502ac1(_0x1aa189['clearControl$'][_0x5c0497(0x3c0)](_0x24fd2b(this[_0x5c0497(0x401)]))[_0x5c0497(0x3b6)](()=>this[_0x5c0497(0x3bb)]()))),this[_0x5c0497(0x18e)](_0x502ac1(_0x1aa189[_0x5c0497(0x2b6)][_0x5c0497(0x3c0)](_0x24fd2b(this[_0x5c0497(0x401)]))[_0x5c0497(0x3b6)](()=>this[_0x5c0497(0x131)]()))),this[_0x5c0497(0x18e)](_0x502ac1(_0x1aa189[_0x5c0497(0x3f7)][_0x5c0497(0x3c0)](_0x24fd2b(this[_0x5c0497(0x401)]))['subscribe'](()=>setTimeout(()=>this['_showPopupForSelection'](),0x0)))),this['disposeWithMe'](_0x502ac1(this[_0x5c0497(0x368)][_0x5c0497(0x1ea)][_0x5c0497(0x3c0)](_0x24fd2b(this[_0x5c0497(0x401)]))[_0x5c0497(0x3b6)](()=>setTimeout(()=>this[_0x5c0497(0x337)](),0x0)))),this[_0x5c0497(0x18e)](_0x502ac1(this[_0x5c0497(0x345)][_0x5c0497(0x378)][_0x5c0497(0x3c0)](_0x24fd2b(this['dispose$']))['subscribe'](_0x28310c=>{const _0x339fc7=_0x5c0497;if(_0x28310c){this['_clearPopup']();return;}setTimeout(()=>this[_0x339fc7(0x337)](),0x0);}))),this['disposeWithMe'](_0x502ac1(this[_0x5c0497(0x1c7)][_0x5c0497(0x288)][_0x5c0497(0x3c0)](_0x24fd2b(this[_0x5c0497(0x401)]))['subscribe'](_0x543b58=>{const _0x53ce1c=_0x5c0497;if((_0x543b58==null?void 0x0:_0x543b58['unitId'])===this[_0x53ce1c(0x34f)]['unitId']){if(_0x543b58[_0x53ce1c(0x176)]){this[_0x53ce1c(0x131)]();return;}setTimeout(()=>this[_0x53ce1c(0x337)](),0x0);}})));}['_clearPopup'](){const _0x335c44=_0x303e32;var _0x7d257a;(_0x7d257a=this['_popupDisposable'])==null||_0x7d257a[_0x335c44(0x192)](),this[_0x335c44(0x41f)]=null,this[_0x335c44(0x27c)]=null;}[_0x303e32(0x3bb)](){setTimeout(()=>{const _0x1e0d26=_0x2923;this[_0x1e0d26(0x144)]()||this[_0x1e0d26(0x131)]();},0x0);}[_0x303e32(0x144)](){const _0xd8f2e8=_0x303e32;let _0x2bc103=this[_0xd8f2e8(0x368)]['getSnapshot']();return!!_0x2bc103[_0xd8f2e8(0x32f)]&&_0x2bc103[_0xd8f2e8(0x2b7)]['length']>0x0&&this[_0xd8f2e8(0x27c)]===this['_buildPopupSelectionKey'](_0x2bc103[_0xd8f2e8(0x32f)][_0xd8f2e8(0x305)],_0x2bc103[_0xd8f2e8(0x32f)][_0xd8f2e8(0x437)],_0x2bc103[_0xd8f2e8(0x2b7)]);}[_0x303e32(0x354)](_0x5da0a9,_0x36d2fd,_0x1f95af){const _0x5ae82a=_0x303e32;return _0x5da0a9+':'+_0x36d2fd+':'+_0x1f95af[_0x5ae82a(0x321)](',');}['_resolveIncomingConnectorStyle'](_0x3312a6,_0x5014d4,_0x252919,_0xaece4f){const _0x34e748=_0x303e32;let _0x5a1b0f=this[_0x34e748(0x12e)][_0x34e748(0x3c7)](_0x3312a6,_0x5014d4),_0x35ab6b=Object['values'](_0x5a1b0f)[_0x34e748(0x1b2)](_0x21eb0f=>{const _0x2ce8c6=_0x34e748;let _0x36432b=_0x5ed47f(_0x21eb0f['element']);return(_0x36432b==null?void 0x0:_0x36432b[_0x2ce8c6(0x34b)])===_0x252919&&_0x36432b[_0x2ce8c6(0x190)]===_0xaece4f;});if(_0x35ab6b&&_0x34e748(0x3ac)in _0x35ab6b[_0x34e748(0x357)])return _0x35ab6b[_0x34e748(0x357)][_0x34e748(0x3ac)][_0x34e748(0x13e)];}[_0x303e32(0x337)](){const _0x363e65=_0x303e32;var _0x4607fd,_0x30e1ee,_0x2fed81;if(this[_0x363e65(0x345)]['isInteractionSurfaceActive']){this[_0x363e65(0x131)]();return;}let _0x22c75d=this[_0x363e65(0x1c7)][_0x363e65(0x35f)]();if((_0x22c75d==null?void 0x0:_0x22c75d[_0x363e65(0x176)])===!0x0&&_0x22c75d['unitId']===this[_0x363e65(0x34f)][_0x363e65(0x305)]){this[_0x363e65(0x131)]();return;}let _0x452ccb=this[_0x363e65(0x368)][_0x363e65(0x1aa)]();if(_0x452ccb['isTransforming']){this[_0x363e65(0x131)]();return;}if(_0x7c41ac({'context':_0x452ccb[_0x363e65(0x32f)],'selectedIds':_0x452ccb['selectedIds'],'getElementById':(_0xf21c37,_0xb0e837,_0x365823)=>this[_0x363e65(0x12e)][_0x363e65(0x3e2)](_0xf21c37,_0xb0e837,_0x365823)})['owner']!=='mind-map'){this[_0x363e65(0x131)]();return;}let _0x39c33e=this[_0x363e65(0x34f)]['scene']['getTransformerByCreate']()[_0x363e65(0x323)](),_0xa915c2=Array['from'](_0x39c33e['values']())['map'](_0x49ec51=>this['_resolveSelectedEntry'](_0x49ec51))[_0x363e65(0x18a)](_0xe1ed27=>!!_0xe1ed27)[_0x363e65(0x18a)](_0x294996=>!!_0x5b8eed(_0x294996[_0x363e65(0x42b)][_0x363e65(0x357)])),_0x52b8c6=_0xa915c2[_0x363e65(0x1b2)](_0x4066f4=>_0x4066f4[_0x363e65(0x42b)][_0x363e65(0x3f5)]===_0x452ccb[_0x363e65(0x32c)])??_0xa915c2[0x0]??this[_0x363e65(0x3bf)]();if(!_0x52b8c6){this[_0x363e65(0x131)]();return;}let _0x3b8f07=_0x5b8eed(_0x52b8c6[_0x363e65(0x42b)][_0x363e65(0x357)]);if(!_0x3b8f07){this[_0x363e65(0x131)]();return;}let _0xf26b32=(_0x4607fd=this[_0x363e65(0x12e)][_0x363e65(0x3c7)](_0x52b8c6[_0x363e65(0x42b)][_0x363e65(0x305)],_0x52b8c6[_0x363e65(0x42b)]['subUnitId'])[_0x3b8f07[_0x363e65(0x34b)]])==null?void 0x0:_0x4607fd[_0x363e65(0x357)],_0x4aa0b8=_0xb789bf(_0xf26b32),_0x49223d=_0xf26b32==null||(_0x30e1ee=_0xf26b32[_0x363e65(0x2ba)])==null||(_0x30e1ee=_0x30e1ee[_0x363e65(0x1b6)])==null||(_0x30e1ee=_0x30e1ee['layout'])==null?void 0x0:_0x30e1ee[_0x363e65(0x377)],_0x503e50=((_0x4aa0b8==null?void 0x0:_0x4aa0b8[_0x363e65(0x22a)][_0x363e65(0x377)])??_0x49223d)===_0x363e65(0x1a4)&&(_0x3b8f07['parentNodeId']===null||_0x3b8f07[_0x363e65(0x3cf)]===_0x363e65(0x2a2)),_0x3e5265=_0x3b8f07['parentNodeId']!==null&&_0x3b8f07[_0x363e65(0x3cf)]!==_0x363e65(0x2a2)&&_0x3b8f07['side']!==_0x363e65(0x11e),_0x2c550a=_0x503e50||_0x3e5265,_0x22f1b2=((_0x2fed81=_0x452ccb[_0x363e65(0x32f)])==null?void 0x0:_0x2fed81[_0x363e65(0x305)])===_0x52b8c6[_0x363e65(0x42b)][_0x363e65(0x305)]&&_0x452ccb[_0x363e65(0x32f)][_0x363e65(0x437)]===_0x52b8c6[_0x363e65(0x42b)]['subUnitId']&&_0x452ccb[_0x363e65(0x2b7)][_0x363e65(0x346)]?_0x452ccb[_0x363e65(0x2b7)]:[_0x52b8c6[_0x363e65(0x42b)]['elementId']],_0x239627=this['_buildPopupSelectionKey'](_0x52b8c6[_0x363e65(0x42b)][_0x363e65(0x305)],_0x52b8c6[_0x363e65(0x42b)]['subUnitId'],_0x22f1b2);this['_popupDisposable']&&this[_0x363e65(0x27c)]===_0x239627||(this[_0x363e65(0x131)](),this[_0x363e65(0x41f)]=this[_0x363e65(0x18e)](this[_0x363e65(0x1e7)][_0x363e65(0x1e4)](_0x52b8c6['elementData']['unitId'],_0x52b8c6['elementData'][_0x363e65(0x437)],_0x52b8c6[_0x363e65(0x319)],{'componentKey':Kn,'direction':_0x363e65(0x34c),'offset':[0x0,0x8],..._0x2c550a?{'anchorBoundResolver':lr}:null,'extraProps':{'unitId':_0x52b8c6['elementData'][_0x363e65(0x305)],'subUnitId':_0x52b8c6[_0x363e65(0x42b)][_0x363e65(0x437)],'elementId':_0x52b8c6[_0x363e65(0x42b)][_0x363e65(0x3f5)],'scopeId':_0x3b8f07[_0x363e65(0x34b)],'isRootNode':_0x3b8f07[_0x363e65(0x259)]===null,'left':_0x52b8c6[_0x363e65(0x42b)]['element'][_0x363e65(0x3ad)]['left']??0x0,'top':_0x52b8c6['elementData']['element'][_0x363e65(0x3ad)][_0x363e65(0x2a2)]??0x0,'shapeData':_0x52b8c6[_0x363e65(0x42b)][_0x363e65(0x357)]['type']===_0x7fb8a8[_0x363e65(0x1d2)]?_0x52b8c6[_0x363e65(0x42b)][_0x363e65(0x357)][_0x363e65(0x16c)]:void 0x0,'layout':_0x4aa0b8==null?void 0x0:_0x4aa0b8[_0x363e65(0x22a)],'incomingConnectorStyle':this[_0x363e65(0x181)](_0x52b8c6['elementData'][_0x363e65(0x305)],_0x52b8c6[_0x363e65(0x42b)][_0x363e65(0x437)],_0x3b8f07[_0x363e65(0x34b)],_0x52b8c6['elementData'][_0x363e65(0x3f5)])}})),this[_0x363e65(0x27c)]=_0x239627);}[_0x303e32(0x3bf)](){const _0x35cecb=_0x303e32;var _0x9d663a;let _0x5482a5=this[_0x35cecb(0x368)][_0x35cecb(0x1aa)](),_0x196a64=_0x5482a5[_0x35cecb(0x32f)],_0xe909ba=_0x5482a5[_0x35cecb(0x32c)]??_0x5482a5['selectedIds'][0x0];if(!_0x196a64||!_0xe909ba)return null;let _0x569a65=this['_boardElementService']['getElementById'](_0x196a64[_0x35cecb(0x305)],_0x196a64[_0x35cecb(0x437)],_0xe909ba);if(!_0x569a65||!_0x5b8eed(_0x569a65[_0x35cecb(0x357)]))return null;let _0x1b23e5=_0x317ee1(_0x196a64[_0x35cecb(0x305)],_0xe909ba),_0x149554=this['_renderContext'][_0x35cecb(0x18f)],_0x4bad56=((_0x9d663a=_0x149554['getObjectIncludeInGroup'])==null?void 0x0:_0x9d663a[_0x35cecb(0x2ca)](_0x149554,_0x1b23e5))??this[_0x35cecb(0x34f)][_0x35cecb(0x18f)][_0x35cecb(0x316)](_0x1b23e5);return _0x4bad56?{'object':_0x4bad56,'elementData':_0x569a65}:null;}[_0x303e32(0x126)](_0x2bff78){const _0x5d0fff=_0x303e32;var _0x4511f7;if(!_0x2bff78)return null;let _0x240696=_0x30d995(_0x2bff78[_0x5d0fff(0x438)]);if(!_0x240696)return null;let _0x521c3b=this[_0x5d0fff(0x368)][_0x5d0fff(0x1aa)](),_0x5a415d=((_0x4511f7=_0x521c3b['context'])==null?void 0x0:_0x4511f7[_0x5d0fff(0x305)])===_0x240696[_0x5d0fff(0x305)]?_0x521c3b[_0x5d0fff(0x32f)][_0x5d0fff(0x437)]:void 0x0;if(!_0x5a415d)return null;let _0x5ed971=this[_0x5d0fff(0x12e)]['getElementById'](_0x240696[_0x5d0fff(0x305)],_0x5a415d,_0x240696[_0x5d0fff(0x3f5)]);return _0x5ed971?{'object':_0x2bff78,'elementData':_0x5ed971}:null;}};ur=J([q(0x1,_0x4b1a3e(_0x5414be)),q(0x2,_0x4b1a3e(_0x5648dc)),q(0x3,_0x4b1a3e(_0x2f7d9b)),q(0x4,_0x4b1a3e(_0x5ae2fd)),q(0x5,_0x4b1a3e(_0x27681d))],ur);const dr='board-mind-map-pending-insert-object',fr=_0x4a2e26[_0x303e32(0x2e8)];function pr(_0x4e48b0,_0x2f69c2){const _0x34c509=_0x303e32;return(_0x4e48b0??[])[_0x34c509(0x139)]((_0x59cf6c,_0x32ee72)=>(_0x59cf6c[_0x32ee72['side']??_0x2f69c2][_0x34c509(0x203)](_0x32ee72),_0x59cf6c),{'left':[],'right':[],'top':[],'bottom':[]});}function mr(_0x5a8481){const _0x39ea60=_0x303e32;return _0x5a8481===_0x39ea60(0x405)||_0x5a8481===_0x39ea60(0x29a)||_0x5a8481===_0x39ea60(0x38e);}function hr(_0x3f5a37){const _0x4a3e61=_0x303e32;return _0x3f5a37===_0x4a3e61(0x250)||_0x3f5a37===_0x4a3e61(0x1a0);}function gr(_0x54b80b,_0x44f09c,_0x514222){const _0x1791a6=_0x303e32;return _0x514222===_0x1791a6(0x405)?'left':_0x514222===_0x1791a6(0x29a)?_0x1791a6(0x293):_0x54b80b[_0x1791a6(0x3cf)]==='left'||_0x54b80b[_0x1791a6(0x3cf)]==='right'?_0x54b80b[_0x1791a6(0x3cf)]:_0x44f09c%0x2==0x0?_0x1791a6(0x162):'right';}function _r(_0x2180c3,_0x110529){const _0xe4d6ac=_0x303e32;return(_0x110529==null?void 0x0:_0x110529['root'][_0xe4d6ac(0x25d)])??_0x2180c3??[];}var vr=class extends _0x534fd4{constructor(_0x38354b=dr,_0x40656a){const _0x7f05c3=_0x303e32;super(_0x38354b),K(this,_0x7f05c3(0x18d),{'point':null,'children':[]}),this[_0x7f05c3(0x31d)]=!0x1,this[_0x7f05c3(0x239)]=_0x1a2df1[_0x7f05c3(0x426)],this[_0x7f05c3(0x1ca)](_0x40656a);}[_0x303e32(0x1ca)](_0x20713c){const _0x1d2c2a=_0x303e32;this[_0x1d2c2a(0x18d)]={...this['_state'],..._0x20713c},this['_state'][_0x1d2c2a(0x19e)]?this['show']():this[_0x1d2c2a(0x276)](),this['makeDirty'](!0x0);}[_0x303e32(0x2bc)](_0x57febd){return!0x1;}['render'](_0x12b009,_0x4a95cb){const _0x33447b=_0x303e32;let _0x3501b5=this[_0x33447b(0x18d)][_0x33447b(0x19e)];if(!_0x3501b5||!this[_0x33447b(0x176)])return this[_0x33447b(0x242)](!0x1),this;let _0x541538=Number['isFinite'](this[_0x33447b(0x18d)][_0x33447b(0x1fb)])&&(this['_state'][_0x33447b(0x1fb)]??0x0)>0x0?this[_0x33447b(0x18d)][_0x33447b(0x1fb)]:0x1,_0x50cd28=_0x5d3af4[_0x33447b(0x298)],_0x1c6493=_0x5d3af4[_0x33447b(0x2b4)],_0x12645d=_0x5d3af4[_0x33447b(0x3cc)],_0x3043fa=_0x5d3af4[_0x33447b(0x20f)],_0x42448e=_0x314ab2[_0x33447b(0x1b0)],_0x2ccc2e=_0x314ab2[_0x33447b(0x270)],_0x34a210=this[_0x33447b(0x18d)][_0x33447b(0x377)]===_0x33447b(0x1a4),_0x260934=pr(this[_0x33447b(0x18d)][_0x33447b(0x25d)],_0x34a210?_0x33447b(0x11e):_0x33447b(0x293)),_0x11de9f=_0x3501b5['x']-_0x50cd28/0x2,_0x1ea8f7=_0x3501b5['y']-_0x1c6493/0x2;if(_0x12b009[_0x33447b(0x2a4)](),_0x12b009[_0x33447b(0x286)]=X[_0x33447b(0x14b)],_0x12b009[_0x33447b(0x1b7)]=X[_0x33447b(0x3b0)]/_0x541538,_0x12b009[_0x33447b(0x282)]=X[_0x33447b(0x267)],hr(this[_0x33447b(0x18d)]['structureKind'])){let _0x498b61=_r(this[_0x33447b(0x18d)]['children'],this[_0x33447b(0x18d)][_0x33447b(0x3e8)]),_0x53febb=this[_0x33447b(0x18d)]['structureKind']==='timeline-horizontal';if(_0x498b61['length']>0x0){if(_0x12b009[_0x33447b(0x2a9)](),_0x53febb){let _0x56b525=_0x12645d,_0x3322ea=_0x3043fa,_0x50e814=_0x314ab2[_0x33447b(0x421)],_0x46d6a5=_0x3501b5['y'],_0x10a040=_0x11de9f+_0x50cd28,_0x447cbc=_0x3501b5['y']-_0x3322ea/0x2,_0x21eda3=_0x11de9f+_0x50cd28+_0x50e814;_0x12b009[_0x33447b(0x14c)](_0x10a040,_0x46d6a5),_0x12b009[_0x33447b(0x132)](_0x21eda3,_0x46d6a5),_0x498b61[_0x33447b(0x332)]((_0x4c96d6,_0x1d05b9)=>{const _0x2991b5=_0x33447b;let _0x26962d=_0x21eda3+_0x1d05b9*(_0x56b525+_0x50e814);if(_0x1d05b9>0x0){let _0x4ea262=_0x21eda3+(_0x1d05b9-0x1)*(_0x56b525+_0x50e814)+_0x56b525;_0x12b009[_0x2991b5(0x14c)](_0x4ea262,_0x46d6a5),_0x12b009['lineTo'](_0x26962d,_0x46d6a5);}_0x12b009[_0x2991b5(0x14c)](_0x26962d,_0x46d6a5),_0x12b009[_0x2991b5(0x132)](_0x26962d+_0x56b525,_0x46d6a5);}),_0x12b009[_0x33447b(0x235)](),_0x498b61[_0x33447b(0x332)]((_0x4f7874,_0x5901bf)=>{const _0x23d730=_0x33447b;Z(_0x12b009,_0x21eda3+_0x5901bf*(_0x56b525+_0x50e814),_0x447cbc,_0x56b525,_0x3322ea,X[_0x23d730(0x182)]),_0x12b009['fillStyle']=X[_0x23d730(0x1d7)],_0x12b009[_0x23d730(0x2c2)](),_0x12b009[_0x23d730(0x235)]();}),_0x498b61[_0x33447b(0x332)]((_0x5d1f4e,_0x3f3019)=>{const _0x305810=_0x33447b;if(!('children'in _0x5d1f4e)||_0x5d1f4e['children'][_0x305810(0x346)]===0x0)return;let _0x13be30=_0x21eda3+_0x3f3019*(_0x56b525+_0x50e814),_0x85859c=_0x13be30+_0x56b525/0x2,_0xe5e914=_0x5d1f4e[_0x305810(0x3cf)]===_0x305810(0x11e)?_0x305810(0x11e):_0x305810(0x2a2),_0x3fc6af=_0x5d1f4e['children'][_0x305810(0x36f)](0x0,0x2),_0x47cd37=_0x3fc6af[_0x305810(0x346)]*_0x3322ea+Math[_0x305810(0x384)](0x0,_0x3fc6af[_0x305810(0x346)]-0x1)*_0x2ccc2e,_0x4deaeb=_0x13be30+_0x56b525+_0x314ab2['branchGap'],_0x4c021d=_0xe5e914===_0x305810(0x2a2)?_0x447cbc-_0x42448e-_0x47cd37:_0x447cbc+_0x3322ea+_0x42448e,_0x4f95f4=_0x4c021d+_0x47cd37/0x2;_0x12b009[_0x305810(0x2a9)](),_0x12b009['moveTo'](_0x85859c,_0xe5e914===_0x305810(0x2a2)?_0x447cbc:_0x447cbc+_0x3322ea),_0x12b009[_0x305810(0x132)](_0x85859c,_0x4f95f4),_0x12b009[_0x305810(0x132)](_0x4deaeb,_0x4f95f4),_0x3fc6af[_0x305810(0x332)]((_0x50a3df,_0x48739e)=>{const _0x5e2d7d=_0x305810;let _0x3a363f=_0x4c021d+_0x48739e*(_0x3322ea+_0x2ccc2e)+_0x3322ea/0x2;_0x12b009['moveTo'](_0x4deaeb,_0x3a363f),_0x12b009[_0x5e2d7d(0x132)](_0x4deaeb+_0x56b525,_0x3a363f);}),_0x12b009[_0x305810(0x235)](),_0x3fc6af['forEach']((_0xf3e0f9,_0x42bb02)=>{const _0xb321e3=_0x305810;let _0x11d98f=_0x4c021d+_0x42bb02*(_0x3322ea+_0x2ccc2e);Z(_0x12b009,_0x4deaeb,_0x11d98f,_0x56b525,_0x3322ea,X[_0xb321e3(0x182)]),_0x12b009['fillStyle']=X[_0xb321e3(0x1d7)],_0x12b009['fill'](),_0x12b009[_0xb321e3(0x235)]();});});}else{let _0x408a3b=_0x3501b5['x'],_0x22e38c=_0x1ea8f7+_0x1c6493,_0x440939=_0x314ab2[_0x33447b(0x421)],_0x2ba7fc=_0x1ea8f7+_0x1c6493+_0x440939,_0x11e0f5=_0x2ba7fc+(_0x498b61['length']-0x1)*(_0x3043fa+_0x440939)+_0x3043fa/0x2;_0x12b009['moveTo'](_0x408a3b,_0x22e38c),_0x12b009[_0x33447b(0x132)](_0x408a3b,_0x11e0f5),_0x498b61[_0x33447b(0x332)]((_0x4895e7,_0x1f266d)=>{const _0x5bb3aa=_0x33447b;let _0xfa86ca=_0x2ba7fc+_0x1f266d*(_0x3043fa+_0x440939)+_0x3043fa/0x2,_0x37a38b=_0x4895e7['side']===_0x5bb3aa(0x293)?_0x5bb3aa(0x293):_0x5bb3aa(0x162),_0x550ceb=_0x37a38b==='right'?_0x408a3b+_0x314ab2[_0x5bb3aa(0x315)]:_0x408a3b-_0x314ab2['branchGap']-_0x12645d,_0x5a8d17=_0x37a38b==='right'?_0x550ceb:_0x550ceb+_0x12645d;_0x12b009['moveTo'](_0x408a3b,_0xfa86ca),_0x12b009[_0x5bb3aa(0x132)](_0x5a8d17,_0xfa86ca);}),_0x12b009[_0x33447b(0x235)](),_0x498b61[_0x33447b(0x332)]((_0x268509,_0xacc0a2)=>{const _0x36bbe0=_0x33447b;let _0x17439f=_0x2ba7fc+_0xacc0a2*(_0x3043fa+_0x440939);Z(_0x12b009,(_0x268509[_0x36bbe0(0x3cf)]==='right'?_0x36bbe0(0x293):_0x36bbe0(0x162))=='right'?_0x408a3b+_0x314ab2[_0x36bbe0(0x315)]:_0x408a3b-_0x314ab2[_0x36bbe0(0x315)]-_0x12645d,_0x17439f,_0x12645d,_0x3043fa,X[_0x36bbe0(0x182)]),_0x12b009[_0x36bbe0(0x1f3)]=X['ghostFillColor'],_0x12b009['fill'](),_0x12b009[_0x36bbe0(0x235)]();}),_0x498b61[_0x33447b(0x332)]((_0x594d26,_0x5dc435)=>{const _0x15dd31=_0x33447b;if(!('children'in _0x594d26)||_0x594d26[_0x15dd31(0x25d)][_0x15dd31(0x346)]===0x0)return;let _0x158e40=_0x2ba7fc+_0x5dc435*(_0x3043fa+_0x440939)+_0x3043fa/0x2,_0x115f23=_0x594d26[_0x15dd31(0x3cf)]===_0x15dd31(0x293)?_0x15dd31(0x293):_0x15dd31(0x162),_0x4ddf4d=_0x594d26['children'][_0x15dd31(0x36f)](0x0,0x2),_0xa69ee1=_0x4ddf4d['length']*_0x3043fa+Math[_0x15dd31(0x384)](0x0,_0x4ddf4d[_0x15dd31(0x346)]-0x1)*_0x2ccc2e,_0x5a09e8=_0x115f23===_0x15dd31(0x293)?_0x408a3b+_0x314ab2['branchGap']:_0x408a3b-_0x314ab2[_0x15dd31(0x315)]-_0x12645d,_0x3c4248=_0x115f23==='right'?_0x5a09e8+_0x12645d+_0x42448e:_0x5a09e8-_0x42448e-_0x12645d,_0x13deec=_0x158e40-_0xa69ee1/0x2,_0x579899=_0x115f23===_0x15dd31(0x293)?_0x5a09e8+_0x12645d:_0x5a09e8,_0x2a3e9d=_0x115f23===_0x15dd31(0x293)?_0x3c4248:_0x3c4248+_0x12645d;_0x12b009['beginPath'](),_0x12b009[_0x15dd31(0x14c)](_0x579899,_0x158e40),_0x12b009[_0x15dd31(0x132)](_0x2a3e9d,_0x158e40),_0x4ddf4d[_0x15dd31(0x332)]((_0x4eda3b,_0x3f8708)=>{const _0x160004=_0x15dd31;let _0x58c953=_0x13deec+_0x3f8708*(_0x3043fa+_0x2ccc2e)+_0x3043fa/0x2;_0x12b009['moveTo'](_0x2a3e9d,_0x58c953),_0x12b009[_0x160004(0x132)](_0x115f23===_0x160004(0x293)?_0x3c4248+_0x12645d:_0x3c4248,_0x58c953);}),_0x12b009[_0x15dd31(0x235)](),_0x4ddf4d['forEach']((_0x565a54,_0x36df18)=>{const _0x57a2dd=_0x15dd31;let _0x2647d=_0x13deec+_0x36df18*(_0x3043fa+_0x2ccc2e);Z(_0x12b009,_0x3c4248,_0x2647d,_0x12645d,_0x3043fa,X[_0x57a2dd(0x182)]),_0x12b009[_0x57a2dd(0x1f3)]=X[_0x57a2dd(0x1d7)],_0x12b009[_0x57a2dd(0x2c2)](),_0x12b009['stroke']();});});}}}else{if(mr(this[_0x33447b(0x18d)][_0x33447b(0x377)])){let _0x2fdca3=this[_0x33447b(0x18d)][_0x33447b(0x25d)]??[],_0x4b1658=_0x1ea8f7+_0x1c6493,_0x16d2b9=_0x4b1658+_0x42448e,_0x2ded42=_0x3501b5['x'];if(_0x2fdca3[_0x33447b(0x346)]>0x0){let _0x5b5eba=_0x16d2b9+(_0x2fdca3[_0x33447b(0x346)]-0x1)*(_0x3043fa+_0x2ccc2e)+_0x3043fa/0x2;_0x12b009['beginPath'](),_0x12b009['moveTo'](_0x2ded42,_0x4b1658),_0x12b009[_0x33447b(0x132)](_0x2ded42,_0x5b5eba),_0x2fdca3[_0x33447b(0x332)]((_0x263782,_0x288cc6)=>{const _0x3434ff=_0x33447b;let _0x4401d9=gr(_0x263782,_0x288cc6,this['_state'][_0x3434ff(0x377)]),_0xb5fa48=_0x16d2b9+_0x288cc6*(_0x3043fa+_0x2ccc2e),_0x44eaf4=_0x4401d9===_0x3434ff(0x293)?_0x2ded42+_0x42448e:_0x2ded42-_0x42448e-_0x12645d,_0x1f65f2=_0xb5fa48+_0x3043fa/0x2;_0x12b009[_0x3434ff(0x14c)](_0x2ded42,_0x1f65f2),_0x12b009['lineTo'](_0x4401d9===_0x3434ff(0x293)?_0x44eaf4:_0x44eaf4+_0x12645d,_0x1f65f2);}),_0x12b009['stroke'](),_0x2fdca3[_0x33447b(0x332)]((_0x1c93fc,_0x53604d)=>{const _0x43ede8=_0x33447b;let _0x135b49=gr(_0x1c93fc,_0x53604d,this[_0x43ede8(0x18d)][_0x43ede8(0x377)]),_0x2df817=_0x16d2b9+_0x53604d*(_0x3043fa+_0x2ccc2e);Z(_0x12b009,_0x135b49==='right'?_0x2ded42+_0x42448e:_0x2ded42-_0x42448e-_0x12645d,_0x2df817,_0x12645d,_0x3043fa,X['ghostRadius']),_0x12b009['fillStyle']=X[_0x43ede8(0x1d7)],_0x12b009[_0x43ede8(0x2c2)](),_0x12b009[_0x43ede8(0x235)]();});}}else _0x34a210&&[_0x33447b(0x2a2),_0x33447b(0x11e)][_0x33447b(0x332)](_0x3f2180=>{const _0x158812=_0x33447b;let _0x3f924d=_0x260934[_0x3f2180];if(_0x3f924d['length']===0x0)return;let _0x191689=_0x3f924d[_0x158812(0x346)]*_0x12645d+Math[_0x158812(0x384)](0x0,_0x3f924d['length']-0x1)*_0x2ccc2e,_0xae64c3=_0x3501b5['x']-_0x191689/0x2,_0x539684=_0x3f2180==='bottom'?_0x1ea8f7+_0x1c6493:_0x1ea8f7,_0xfaf744=_0x3f2180==='bottom'?_0x539684+_0x314ab2[_0x158812(0x315)]:_0x539684-_0x314ab2[_0x158812(0x315)],_0x5b93ca=_0x3f2180===_0x158812(0x11e)?_0x1ea8f7+_0x1c6493+_0x42448e:_0x1ea8f7-_0x42448e-_0x3043fa;_0x12b009['beginPath'](),_0x12b009[_0x158812(0x14c)](_0x3501b5['x'],_0x539684),_0x12b009[_0x158812(0x132)](_0x3501b5['x'],_0xfaf744),_0x3f924d[_0x158812(0x346)]>0x1&&(_0x12b009[_0x158812(0x14c)](_0xae64c3+_0x12645d/0x2,_0xfaf744),_0x12b009['lineTo'](_0xae64c3+_0x191689-_0x12645d/0x2,_0xfaf744)),_0x3f924d[_0x158812(0x332)]((_0x48e393,_0x48f6f0)=>{const _0xac7745=_0x158812;let _0x168419=_0xae64c3+_0x48f6f0*(_0x12645d+_0x2ccc2e)+_0x12645d/0x2;_0x12b009[_0xac7745(0x14c)](_0x168419,_0xfaf744),_0x12b009['lineTo'](_0x168419,_0x3f2180==='bottom'?_0x5b93ca:_0x5b93ca+_0x3043fa);}),_0x12b009[_0x158812(0x235)](),_0x3f924d[_0x158812(0x332)]((_0x167f21,_0x224567)=>{const _0x7a14de=_0x158812;Z(_0x12b009,_0xae64c3+_0x224567*(_0x12645d+_0x2ccc2e),_0x5b93ca,_0x12645d,_0x3043fa,X['ghostRadius']),_0x12b009['fillStyle']=X['ghostFillColor'],_0x12b009[_0x7a14de(0x2c2)](),_0x12b009['stroke']();});});}(_0x34a210||mr(this['_state']['structureKind'])||hr(this[_0x33447b(0x18d)]['structureKind'])?[]:[_0x33447b(0x162),'right'])[_0x33447b(0x332)](_0x3f2d0f=>{const _0x45ac77=_0x33447b;let _0x2e78d4=_0x260934[_0x3f2d0f];if(_0x2e78d4[_0x45ac77(0x346)]===0x0)return;let _0x584d27=_0x2e78d4[_0x45ac77(0x346)]*_0x3043fa+Math[_0x45ac77(0x384)](0x0,_0x2e78d4['length']-0x1)*_0x2ccc2e,_0x3cdd07=_0x3501b5['y']-_0x584d27/0x2,_0x5db46b=_0x3f2d0f===_0x45ac77(0x293)?_0x11de9f+_0x50cd28:_0x11de9f,_0x4b124d=_0x3f2d0f===_0x45ac77(0x293)?_0x5db46b+_0x314ab2[_0x45ac77(0x315)]:_0x5db46b-_0x314ab2[_0x45ac77(0x315)],_0x5848a4=_0x3f2d0f===_0x45ac77(0x293)?_0x11de9f+_0x50cd28+_0x42448e:_0x11de9f-_0x42448e-_0x12645d;_0x12b009[_0x45ac77(0x2a9)](),_0x12b009[_0x45ac77(0x14c)](_0x5db46b,_0x3501b5['y']),_0x12b009[_0x45ac77(0x132)](_0x4b124d,_0x3501b5['y']),_0x2e78d4[_0x45ac77(0x346)]>0x1&&(_0x12b009['moveTo'](_0x4b124d,_0x3cdd07+_0x3043fa/0x2),_0x12b009[_0x45ac77(0x132)](_0x4b124d,_0x3cdd07+_0x584d27-_0x3043fa/0x2)),_0x2e78d4[_0x45ac77(0x332)]((_0x1a29bb,_0x5f271c)=>{const _0x1bbf25=_0x45ac77;let _0x212510=_0x3cdd07+_0x5f271c*(_0x3043fa+_0x2ccc2e)+_0x3043fa/0x2;_0x12b009[_0x1bbf25(0x14c)](_0x4b124d,_0x212510),_0x12b009[_0x1bbf25(0x132)](_0x3f2d0f===_0x1bbf25(0x293)?_0x5848a4:_0x5848a4+_0x12645d,_0x212510);}),_0x12b009['stroke'](),_0x2e78d4[_0x45ac77(0x332)]((_0x330801,_0x2b19c0)=>{const _0x5504a1=_0x45ac77;let _0x5b0e63=_0x3cdd07+_0x2b19c0*(_0x3043fa+_0x2ccc2e);Z(_0x12b009,_0x5848a4,_0x5b0e63,_0x12645d,_0x3043fa,X[_0x5504a1(0x182)]),_0x12b009[_0x5504a1(0x1f3)]=X[_0x5504a1(0x1d7)],_0x12b009[_0x5504a1(0x2c2)](),_0x12b009['stroke']();});}),Z(_0x12b009,_0x11de9f,_0x1ea8f7,_0x50cd28,_0x1c6493,X[_0x33447b(0x33e)]),_0x12b009[_0x33447b(0x1f3)]=X[_0x33447b(0x267)],_0x12b009['fill'](),_0x12b009['stroke'](),_0x12b009[_0x33447b(0x1f3)]=X[_0x33447b(0x146)],_0x12b009['font']=sn(X['rootFontWeight'],X['rootFontSize'],_0x541538),_0x12b009[_0x33447b(0x1c1)]=_0x33447b(0x3d8),_0x12b009[_0x33447b(0x1f0)]=_0x33447b(0x3c1);let _0x23034b=X[_0x33447b(0x3a2)]/_0x541538;return _0x12b009[_0x33447b(0x17c)](_0x6d2fad,_0x3501b5['x'],_0x3501b5['y'],Math['max'](0x1,_0x50cd28-_0x23034b*0x2)),_0x12b009[_0x33447b(0x365)](),this['makeDirty'](!0x1),this;}};const yr={'children':[{'text':_0x6d2fad,'orderKey':_0x45e6f0(0x0),'side':'right'},{'text':_0x6d2fad,'orderKey':_0x45e6f0(0x1),'side':_0x303e32(0x293)},{'text':_0x6d2fad,'orderKey':_0x45e6f0(0x2),'side':'right'}]};var br=class extends _0x5a3354{constructor(..._0x24dc79){super(..._0x24dc79),K(this,'_template',yr);}[_0x303e32(0x21a)](_0x5ce6e5){const _0x459304=_0x303e32;var _0x2572ea;let _0x4f789f=(_0x5ce6e5==null?void 0x0:_0x5ce6e5[_0x459304(0x25d)])??(_0x5ce6e5==null||(_0x2572ea=_0x5ce6e5[_0x459304(0x3e8)])==null?void 0x0:_0x2572ea[_0x459304(0x3a4)][_0x459304(0x25d)]);this['_template']={'rootText':_0x5ce6e5==null?void 0x0:_0x5ce6e5[_0x459304(0x392)],'structureKind':_0x5ce6e5==null?void 0x0:_0x5ce6e5[_0x459304(0x377)],'branchLineType':_0x5ce6e5==null?void 0x0:_0x5ce6e5[_0x459304(0x1bd)],'children':this[_0x459304(0x1af)](_0x4f789f,_0x5ce6e5==null?void 0x0:_0x5ce6e5['structureKind']),'blueprint':_0x5ce6e5!=null&&_0x5ce6e5[_0x459304(0x3e8)]?this['_cloneBlueprint'](_0x5ce6e5['blueprint']):void 0x0};}[_0x303e32(0x3ba)](){const _0x1c70be=_0x303e32;var _0x4bdb6d;return{'rootText':this[_0x1c70be(0x25f)]['rootText'],'structureKind':this['_template']['structureKind'],'branchLineType':this['_template'][_0x1c70be(0x1bd)],'children':(_0x4bdb6d=this[_0x1c70be(0x25f)][_0x1c70be(0x25d)])==null?void 0x0:_0x4bdb6d[_0x1c70be(0x2c5)](_0x81c8b7=>({..._0x81c8b7})),'blueprint':this[_0x1c70be(0x25f)]['blueprint']?this[_0x1c70be(0x23e)](this['_template'][_0x1c70be(0x3e8)]):void 0x0};}['_cloneBlueprint'](_0x227a23){return{'title':_0x227a23['title'],'root':this['_cloneBlueprintNode'](_0x227a23['root'])};}['_cloneBlueprintNode'](_0x509710){const _0x37b41a=_0x303e32;return{..._0x509710,'foreignAttributes':_0x509710[_0x37b41a(0x1bc)]?{..._0x509710['foreignAttributes']}:void 0x0,'children':_0x509710[_0x37b41a(0x25d)]['map'](_0x94d1be=>this[_0x37b41a(0x369)](_0x94d1be))};}['_normalizeChildren'](_0xe84d38,_0x42341e){const _0x220d30=_0x303e32;let _0x3891eb=!_0xe84d38,_0x360278=_0xe84d38??yr[_0x220d30(0x25d)];return _0x360278==null?void 0x0:_0x360278[_0x220d30(0x2c5)]((_0x119f69,_0x57127c)=>({..._0x119f69,'text':_0x119f69[_0x220d30(0x1ae)]??_0x6d2fad,'side':this['_resolveChildSide'](_0x119f69[_0x220d30(0x3cf)],_0x57127c,_0x42341e,_0x3891eb)}));}['_resolveChildSide'](_0x3a42a2,_0x1946de,_0x1cb74c,_0x278421){const _0x3aada0=_0x303e32;return _0x1cb74c===_0x3aada0(0x1a4)?_0x278421?'bottom':_0x3a42a2??_0x3aada0(0x11e):_0x1cb74c===_0x3aada0(0x405)?_0x278421?_0x3aada0(0x162):_0x3a42a2??_0x3aada0(0x162):_0x1cb74c===_0x3aada0(0x29a)?_0x278421?_0x3aada0(0x293):_0x3a42a2??_0x3aada0(0x293):_0x1cb74c===_0x3aada0(0x38e)?_0x278421?_0x1946de%0x2==0x0?_0x3aada0(0x162):_0x3aada0(0x293):_0x3a42a2??(_0x1946de%0x2==0x0?'left':_0x3aada0(0x293)):_0x1cb74c===_0x3aada0(0x250)?_0x278421?_0x1946de%0x2==0x0?_0x3aada0(0x2a2):_0x3aada0(0x11e):_0x3a42a2??(_0x1946de%0x2==0x0?'top':_0x3aada0(0x11e)):_0x1cb74c===_0x3aada0(0x1a0)?_0x278421?_0x1946de%0x2==0x0?'left':'right':_0x3a42a2??(_0x1946de%0x2==0x0?_0x3aada0(0x162):_0x3aada0(0x293)):_0x3a42a2;}};function xr(_0x5500d3,_0x15a70e){const _0x53d9e1=_0x303e32;let _0x2feb6c=Number['isFinite'](_0x15a70e['zoomRatio'])&&_0x15a70e['zoomRatio']>0x0?_0x15a70e['zoomRatio']:0x1;return{'x':Math[_0x53d9e1(0x21c)]((_0x5500d3['offsetX']-_0x15a70e[_0x53d9e1(0x2a1)]['x'])/_0x2feb6c),'y':Math[_0x53d9e1(0x21c)]((_0x5500d3['offsetY']-_0x15a70e['panOffset']['y'])/_0x2feb6c)};}function Sr(_0x42a4b6){const _0x47b109=_0x303e32;var _0x492632;if(_0x42a4b6!=null&&_0x42a4b6['dispose']){_0x42a4b6[_0x47b109(0x192)]();return;}_0x42a4b6==null||(_0x492632=_0x42a4b6[_0x47b109(0x158)])==null||_0x492632[_0x47b109(0x2ca)](_0x42a4b6);}function Cr(_0x262001){const _0x453d8=_0x303e32;var _0x50c622;return _0x262001[_0x453d8(0x3a9)]===_0x382aeb['MindMap']&&((_0x50c622=_0x262001['pendingInsert'])==null?void 0x0:_0x50c622[_0x453d8(0x398)])===_0x382aeb[_0x453d8(0x2a8)];}let wr=class extends _0xd5b999{constructor(_0x55f6f8,_0x5dc1ec,_0x454868,_0x71e1a9,_0x592e93,_0x292dd8,_0xd647a7){const _0x196513=_0x303e32;super(),this[_0x196513(0x34f)]=_0x55f6f8,this[_0x196513(0x3ea)]=_0x5dc1ec,this[_0x196513(0x160)]=_0x454868,this[_0x196513(0x3a7)]=_0x71e1a9,this[_0x196513(0x301)]=_0x592e93,this['_elementStateService']=_0x292dd8,this[_0x196513(0x1c7)]=_0xd647a7,K(this,'_previewObject',null),K(this,_0x196513(0x1ad),null),this[_0x196513(0x1ee)]();}[_0x303e32(0x1ee)](){const _0x46b9ee=_0x303e32;var _0x533110;let {scene:_0x3d2f98,unitId:_0x4dee45}=this[_0x46b9ee(0x34f)],_0x1872f9=this['_instanceSrv'][_0x46b9ee(0x302)](_0x4dee45,_0x3c080c[_0x46b9ee(0x336)]);if(!_0x1872f9)return;let _0x5a7e15=(_0x533110=_0x3d2f98[_0x46b9ee(0x16a)])==null?void 0x0:_0x533110[_0x46b9ee(0x201)]({'priority':0x4,'next':([_0x1d0b64,_0x1e6229])=>this[_0x46b9ee(0x36b)](_0x1d0b64,_0x1e6229)}),_0x307e37=_0x3d2f98['onPointerDown$'][_0x46b9ee(0x201)]({'priority':0x4,'next':([_0x83d5a0,_0x4b5f7a])=>this['_handlePointerDown'](_0x1872f9,_0x83d5a0,_0x4b5f7a)});this[_0x46b9ee(0x18e)](_0x502ac1(()=>Sr(_0x5a7e15))),this['disposeWithMe'](_0x502ac1(()=>Sr(_0x307e37)));let _0x4766c7=this[_0x46b9ee(0x160)][_0x46b9ee(0x1ea)]['subscribe'](()=>this['_syncPreviewObject']());this[_0x46b9ee(0x18e)](_0x502ac1(()=>Sr(_0x4766c7))),this[_0x46b9ee(0x18e)](_0x502ac1(()=>{const _0x5de9be=_0x46b9ee;this[_0x5de9be(0x3f8)]();})),this['_syncPreviewObject']();}['_syncPreviewObject'](){const _0x6551d3=_0x303e32;var _0x5e0ee8,_0x2e8897;let _0x4dd636=this[_0x6551d3(0x160)][_0x6551d3(0x280)]();if(!Cr(_0x4dd636)){this[_0x6551d3(0x3f8)]();return;}let _0x38d9bf=this[_0x6551d3(0x29b)](),_0x23ae29=this['_insertStateService'][_0x6551d3(0x3ba)]();_0x38d9bf[_0x6551d3(0x1ca)]({'point':this['_lastPoint'],'structureKind':_0x23ae29[_0x6551d3(0x377)],'children':_0x23ae29[_0x6551d3(0x25d)],'blueprint':_0x23ae29[_0x6551d3(0x3e8)],'zoomRatio':_0x4dd636[_0x6551d3(0x1fb)]}),(_0x5e0ee8=(_0x2e8897=this['_renderContext'][_0x6551d3(0x18f)])[_0x6551d3(0x242)])==null||_0x5e0ee8[_0x6551d3(0x2ca)](_0x2e8897,!0x0);}[_0x303e32(0x29b)](){const _0xcd10e2=_0x303e32;var _0x57631b,_0x314a88;if(this[_0xcd10e2(0x40a)])return this['_previewObject'];let _0x1686b2=this[_0xcd10e2(0x301)]['getTemplate'](),_0xdf393e=new vr(dr,{'point':this[_0xcd10e2(0x1ad)],'structureKind':_0x1686b2[_0xcd10e2(0x377)],'children':_0x1686b2['children'],'blueprint':_0x1686b2[_0xcd10e2(0x3e8)],'zoomRatio':this['_stateService'][_0xcd10e2(0x280)]()[_0xcd10e2(0x1fb)]});return this['_previewObject']=_0xdf393e,(_0x57631b=(_0x314a88=this[_0xcd10e2(0x34f)][_0xcd10e2(0x18f)])[_0xcd10e2(0x435)])==null||_0x57631b[_0xcd10e2(0x2ca)](_0x314a88,_0xdf393e,fr),_0xdf393e;}['_removePreviewObject'](){const _0x32ae72=_0x303e32;var _0x2bb407,_0xc83115,_0x36b42,_0x112bc9;if(!this[_0x32ae72(0x40a)]){this[_0x32ae72(0x1ad)]=null;return;}(_0x2bb407=(_0xc83115=this[_0x32ae72(0x34f)][_0x32ae72(0x18f)])[_0x32ae72(0x1e2)])==null||_0x2bb407[_0x32ae72(0x2ca)](_0xc83115,[this['_previewObject']]),this['_previewObject']=null,this[_0x32ae72(0x1ad)]=null,(_0x36b42=(_0x112bc9=this[_0x32ae72(0x34f)][_0x32ae72(0x18f)])[_0x32ae72(0x242)])==null||_0x36b42[_0x32ae72(0x2ca)](_0x112bc9,!0x0);}[_0x303e32(0x1a5)](_0x38a010){const _0x30ef41=_0x303e32;let _0x3d62aa=this[_0x30ef41(0x160)][_0x30ef41(0x280)]();return xr(_0x38a010,{'panOffset':_0x3d62aa['viewportPanOffset'],'zoomRatio':_0x3d62aa[_0x30ef41(0x1fb)]});}['_resolveRootTopLeft'](_0x48090f){const _0x2482fa=_0x303e32;return{'left':Math['round'](_0x48090f['x']-_0x5d3af4[_0x2482fa(0x298)]/0x2),'top':Math['round'](_0x48090f['y']-_0x5d3af4[_0x2482fa(0x2b4)]/0x2)};}['_handlePointerMove'](_0x1f0bd2,_0x31060a){const _0x528a54=_0x303e32;Cr(this[_0x528a54(0x160)][_0x528a54(0x280)]())&&(this[_0x528a54(0x1ad)]=this[_0x528a54(0x1a5)](_0x1f0bd2),this[_0x528a54(0x30c)](),_0x31060a['stopPropagation']());}async[_0x303e32(0x2e6)](_0x57e023,_0x37fe6f,_0x1e4a39){const _0x525473=_0x303e32;let _0x5b691d=await this[_0x525473(0x348)](_0x57e023,_0x37fe6f,_0x1e4a39);if(!_0x5b691d)return;let _0x2b083e={'unitId':this[_0x525473(0x34f)][_0x525473(0x305)],'subUnitId':_0x5b691d[_0x525473(0x437)]};this[_0x525473(0x1c7)][_0x525473(0x1b4)](),this[_0x525473(0x1c7)][_0x525473(0x25b)]({..._0x2b083e,'shapeId':_0x5b691d[_0x525473(0x339)],'shapeKey':_0x317ee1(_0x2b083e['unitId'],_0x5b691d[_0x525473(0x339)]),'visible':!0x0});}async[_0x303e32(0x348)](_0x77e628,_0x4de5d2,_0xcdc5db){const _0x379a36=_0x303e32;var _0x87ff69;let _0x413935=this[_0x379a36(0x160)][_0x379a36(0x280)](),_0x2f963c=_0x4de5d2[_0x379a36(0x324)]??0x0;if(!Cr(_0x413935)||_0x2f963c!==0x0)return null;let _0x3ea0ea=this[_0x379a36(0x1a5)](_0x4de5d2),_0x2fecf2=this[_0x379a36(0x13b)](_0x3ea0ea),_0x2f3c70=this[_0x379a36(0x301)]['getTemplate'](),_0x39268e=_0x1f2708(0x6),_0x22e908=_0x77e628[_0x379a36(0x2df)](),_0x4805af=this['_commandService'][_0x379a36(0x2de)](_0xf8f47e['id'],{'unitId':this[_0x379a36(0x34f)][_0x379a36(0x305)],'subUnitId':_0x22e908,'left':_0x2fecf2[_0x379a36(0x162)],'top':_0x2fecf2[_0x379a36(0x2a2)],'rootNodeId':_0x39268e,'rootText':_0x2f3c70['rootText'],'structureKind':_0x2f3c70[_0x379a36(0x377)],'branchLineType':_0x2f3c70['branchLineType'],'children':_0x2f3c70[_0x379a36(0x25d)],'blueprint':_0x2f3c70[_0x379a36(0x3e8)]});if(this[_0x379a36(0x160)][_0x379a36(0x1f1)](_0x382aeb[_0x379a36(0x344)]),_0xcdc5db[_0x379a36(0x41d)](),(_0x87ff69=_0x4de5d2[_0x379a36(0x373)])==null||_0x87ff69[_0x379a36(0x2ca)](_0x4de5d2),!await _0x4805af||this[_0x379a36(0x2c1)])return null;let _0x18f178={'unitId':this[_0x379a36(0x34f)]['unitId'],'subUnitId':_0x22e908};return this['_elementStateService']['selectElements'](_0x18f178,[_0x39268e],_0x39268e),{'rootNodeId':_0x39268e,'subUnitId':_0x22e908};}};wr=J([q(0x1,_0xd8ff2e),q(0x2,_0x57e681),q(0x3,_0x18b2f8),q(0x4,_0x4b1a3e(br)),q(0x5,_0x2f7d9b),q(0x6,_0x4b1a3e(_0x5ae2fd))],wr);var Tr=class extends _0x5a3354{constructor(..._0x52d011){const _0x17d562=_0x303e32;super(..._0x52d011),K(this,_0x17d562(0x432),new _0xa98ca6()),K(this,_0x17d562(0x29e),this[_0x17d562(0x432)][_0x17d562(0x29d)]());}[_0x303e32(0x2eb)](_0x5422e0){const _0x2c3451=_0x303e32;this[_0x2c3451(0x432)]['next'](_0x5422e0);}[_0x303e32(0x192)](){const _0x5db1fa=_0x303e32;this[_0x5db1fa(0x432)][_0x5db1fa(0x41b)](),super['dispose']();}};function Er(_0x2c09cb){const _0x35a948=_0x303e32;return typeof _0x2c09cb=='number'&&Number[_0x35a948(0x1df)](_0x2c09cb)&&_0x2c09cb>0x0;}function Dr(_0x321627,_0x2135e1,_0x26261e){const _0x2ccfd3=_0x303e32;let _0x31e752=_0x321627[_0x2135e1],_0x4b774c=_0x5b8eed(_0x31e752==null?void 0x0:_0x31e752[_0x2ccfd3(0x357)]);if(!_0x31e752||!_0x4b774c)return null;let _0x19a81a=_0x21f3f2(_0x31e752,_0x26261e);if(!_0x19a81a)return null;let _0x404d1f=_0x31e752[_0x2ccfd3(0x3ad)]??_0x31e752[_0x2ccfd3(0x357)]['transform'],_0x3bc4bb={..._0x321627,[_0x2135e1]:{..._0x31e752,'transform':{..._0x404d1f,'width':_0x19a81a[_0x2ccfd3(0x39c)],'height':_0x19a81a[_0x2ccfd3(0x2fb)]},'element':{..._0x31e752[_0x2ccfd3(0x357)],'transform':{..._0x31e752[_0x2ccfd3(0x357)][_0x2ccfd3(0x3ad)],'width':_0x19a81a[_0x2ccfd3(0x39c)],'height':_0x19a81a[_0x2ccfd3(0x2fb)]}}}};return _0x5e5d2c(_0x3bc4bb,_0x4b774c['structureScopeId']);}let Or=class extends _0xd5b999{constructor(_0x2a56a7,_0x3f0bac,_0x4e8f2f,_0x46f67f,_0xefc504,_0x2f20ab){const _0x2abfdf=_0x303e32;super(),this[_0x2abfdf(0x34f)]=_0x2a56a7,this[_0x2abfdf(0x13c)]=_0x3f0bac,this[_0x2abfdf(0x12e)]=_0x4e8f2f,this[_0x2abfdf(0x1a6)]=_0x46f67f,this[_0x2abfdf(0x3ab)]=_0xefc504,this[_0x2abfdf(0x3a7)]=_0x2f20ab,K(this,'_activePreview',null),K(this,_0x2abfdf(0x279),{'match':_0x5a712c=>_0x5a712c[_0x2abfdf(0x305)]===this[_0x2abfdf(0x34f)][_0x2abfdf(0x305)]&&!!_0x5b8eed(_0x5a712c[_0x2abfdf(0x357)]),'resolveHostSize':_0x1aed08=>this[_0x2abfdf(0x1bf)](_0x1aed08),'previewHostSize':_0x51b79a=>this[_0x2abfdf(0x30d)](_0x51b79a),'updateHostSize':_0x15a202=>this[_0x2abfdf(0x3b9)](_0x15a202),'updateShapeText':_0x2e701a=>this['_updateShapeText'](_0x2e701a)}),this[_0x2abfdf(0x18e)](this[_0x2abfdf(0x13c)][_0x2abfdf(0x424)](this[_0x2abfdf(0x279)])),this['_initEditingRestore'](),this[_0x2abfdf(0x18e)](_0x502ac1(()=>this['_restoreActivePreview']()));}[_0x303e32(0x3b9)](_0xc94103){const _0x54c10f=_0x303e32;return this[_0x54c10f(0x30d)](_0xc94103);}['_updateShapeText'](_0x1879f3){const _0xf5add0=_0x303e32;let _0x3903e1=_0x1879f3[_0xf5add0(0x18b)]['hostSize']?this['_resolveHostSize']({'elementData':_0x1879f3[_0xf5add0(0x42b)],'params':_0x1879f3[_0xf5add0(0x18b)][_0xf5add0(0x157)]}):null,_0x3aa7c7=_0x1879f3['elementData'][_0xf5add0(0x3ad)]??_0x1879f3[_0xf5add0(0x42b)][_0xf5add0(0x357)][_0xf5add0(0x3ad)];return(!_0x3903e1||_0x3903e1['width']===_0x3aa7c7['width']&&_0x3903e1[_0xf5add0(0x2fb)]===_0x3aa7c7[_0xf5add0(0x2fb)])&&_0x10f60(_0x1879f3[_0xf5add0(0x18b)]['shapeText'],_0x1879f3[_0xf5add0(0x18b)][_0xf5add0(0x2da)])?!0x0:this[_0xf5add0(0x3a7)][_0xf5add0(0x3ff)](_0x274fe8['id'],{'unitId':_0x1879f3[_0xf5add0(0x18b)]['unitId'],'subUnitId':_0x1879f3[_0xf5add0(0x18b)][_0xf5add0(0x437)],'nodeId':_0x1879f3[_0xf5add0(0x18b)][_0xf5add0(0x273)],'shapeText':_0x1879f3['params'][_0xf5add0(0x26f)],..._0x3903e1?{'hostSize':{'width':_0x3903e1[_0xf5add0(0x39c)],'height':_0x3903e1[_0xf5add0(0x2fb)]}}:null});}[_0x303e32(0x30d)](_0x510d4e){const _0x377689=_0x303e32;let _0x29cc9d=this['_resolveHostSize'](_0x510d4e);if(!_0x29cc9d)return!0x1;let _0x2b5266=_0x510d4e['elementData'][_0x377689(0x3ad)]??_0x510d4e[_0x377689(0x42b)][_0x377689(0x357)][_0x377689(0x3ad)];return!this['_activePreview']&&_0x2b5266['width']===_0x29cc9d['width']&&_0x2b5266[_0x377689(0x2fb)]===_0x29cc9d[_0x377689(0x2fb)]||this[_0x377689(0x3db)](_0x510d4e,_0x29cc9d),!0x0;}[_0x303e32(0x1bf)](_0xd79318){const _0xc714c4=_0x303e32;return!Er(_0xd79318['params'][_0xc714c4(0x39c)])||!Er(_0xd79318['params']['height'])?null:_0x21f3f2(_0xd79318[_0xc714c4(0x42b)],{'width':_0xd79318[_0xc714c4(0x18b)]['width'],'height':_0xd79318['params'][_0xc714c4(0x2fb)]});}[_0x303e32(0x2c9)](){const _0x44556b=_0x303e32;this[_0x44556b(0x18e)](_0x502ac1(this[_0x44556b(0x1a6)][_0x44556b(0x288)][_0x44556b(0x3c0)](_0x24fd2b(this[_0x44556b(0x401)]))[_0x44556b(0x3b6)](_0x139705=>{const _0x296ea9=_0x44556b;_0x139705||this[_0x296ea9(0x3dd)]();})));}[_0x303e32(0x3db)](_0xd68efd,_0x49095f){const _0x40fc49=_0x303e32;var _0x57c2a2;let _0x57c140=this[_0x40fc49(0x12e)][_0x40fc49(0x3c7)](_0xd68efd[_0x40fc49(0x18b)]['unitId'],_0xd68efd[_0x40fc49(0x18b)][_0x40fc49(0x437)]),_0x2be302=Dr(_0x57c140,_0xd68efd[_0x40fc49(0x18b)]['shapeId'],_0x49095f),_0x20a773=_0x5b8eed((_0x57c2a2=_0x57c140[_0xd68efd[_0x40fc49(0x18b)][_0x40fc49(0x273)]])==null?void 0x0:_0x57c2a2[_0x40fc49(0x357)]);_0x2be302&&_0x20a773&&(this[_0x40fc49(0x218)]={'unitId':_0xd68efd['params']['unitId'],'subUnitId':_0xd68efd[_0x40fc49(0x18b)][_0x40fc49(0x437)],'scopeId':_0x20a773[_0x40fc49(0x34b)]},this['_syncElementDataToScene'](_0x2be302,_0x20a773[_0x40fc49(0x34b)])&&this[_0x40fc49(0x3ab)][_0x40fc49(0x2eb)]({'unitId':_0xd68efd[_0x40fc49(0x18b)]['unitId'],'subUnitId':_0xd68efd[_0x40fc49(0x18b)][_0x40fc49(0x437)],'nodeId':_0xd68efd[_0x40fc49(0x18b)][_0x40fc49(0x273)],'scopeId':_0x20a773[_0x40fc49(0x34b)]}));}[_0x303e32(0x3dd)](){const _0x3de4d8=_0x303e32;let _0x3dcbb4=this[_0x3de4d8(0x218)];if(!_0x3dcbb4)return;this[_0x3de4d8(0x218)]=null;let _0x5cef04=this[_0x3de4d8(0x12e)]['getElementData'](_0x3dcbb4[_0x3de4d8(0x305)],_0x3dcbb4[_0x3de4d8(0x437)]);this['_syncElementDataToScene'](_0x5cef04,_0x3dcbb4[_0x3de4d8(0x236)])&&this['_previewRefreshService'][_0x3de4d8(0x2eb)]({'unitId':_0x3dcbb4[_0x3de4d8(0x305)],'subUnitId':_0x3dcbb4[_0x3de4d8(0x437)],'nodeId':_0x3dcbb4['scopeId'],'scopeId':_0x3dcbb4['scopeId']});}[_0x303e32(0x163)](_0x2a3dbb,_0x2d791e){const _0x224694=_0x303e32;let _0x33581c=!0x1;if(Object[_0x224694(0x12b)](_0x2a3dbb)[_0x224694(0x332)](_0x5e743b=>{const _0x314fe6=_0x224694;var _0x3da43a;let _0x372d71=_0x5b8eed(_0x5e743b[_0x314fe6(0x357)]),_0x4915f5=(_0x3da43a=_0x5e743b[_0x314fe6(0x357)][_0x314fe6(0x2ba)])==null?void 0x0:_0x3da43a[_0x314fe6(0x2ed)];if(_0x5e743b[_0x314fe6(0x3f5)]!==_0x2d791e&&(_0x372d71==null?void 0x0:_0x372d71[_0x314fe6(0x34b)])!==_0x2d791e&&(_0x4915f5==null?void 0x0:_0x4915f5['structureScopeId'])!==_0x2d791e)return;let _0x30a902=this[_0x314fe6(0x2ee)](_0x5e743b['elementId']);_0x30a902&&(_0x33581c=_0x12b00f(_0x30a902,_0x5e743b,{'elementData':_0x2a3dbb,'unitId':this[_0x314fe6(0x34f)][_0x314fe6(0x305)]})||_0x33581c);}),_0x33581c){var _0x367a42,_0x2fe9fd;this[_0x224694(0x34f)]['scene'][_0x224694(0x242)](!0x0),(_0x367a42=(_0x2fe9fd=this['_renderContext'][_0x224694(0x18f)])[_0x224694(0x306)])==null||_0x367a42[_0x224694(0x2ca)](_0x2fe9fd);}return _0x33581c;}[_0x303e32(0x2ee)](_0x505085){const _0x1ce167=_0x303e32;var _0x4322b2;let _0x1173b8=_0x317ee1(this[_0x1ce167(0x34f)][_0x1ce167(0x305)],_0x505085),_0x552446=this['_renderContext'][_0x1ce167(0x18f)];return((_0x4322b2=_0x552446['getObjectIncludeInGroup'])==null?void 0x0:_0x4322b2[_0x1ce167(0x2ca)](_0x552446,_0x1173b8))??this['_renderContext'][_0x1ce167(0x18f)][_0x1ce167(0x316)](_0x1173b8)??null;}};Or=J([q(0x1,_0x4b1a3e(_0x29edb2)),q(0x2,_0x4b1a3e(_0x5648dc)),q(0x3,_0x4b1a3e(_0x5ae2fd)),q(0x4,_0x4b1a3e(Tr)),q(0x5,_0x18b2f8)],Or);const $={'touchHitRadius':0x16,'radius':0x12,'addChildRadius':0xe,'siblingHoverRadius':0xa,'siblingDotRadius':0x5,'siblingDotGap':0x3,'gap':0xa,'collapsePlusMinDistance':0x2c,'primaryColor':Y['primaryColor'],'surfaceColor':Y[_0x303e32(0x1e0)],'borderWidth':0x2,'glyphSize':0x8,'addChildGlyphSize':0x6,'siblingGlyphSize':5.5,'glyphWidth':2.4,'glyphHoverWidth':0x3,'badgeFontWeight':0x258,'badgeFontSize':0x12,'fontFamily':Y[_0x303e32(0x406)]};function kr(_0x18e464){const _0x39354a=_0x303e32;let _0x49e928=$['radius'],_0x18474b=$[_0x39354a(0x24f)],_0x8779ca=$[_0x39354a(0x3c8)],_0x416f9c=$[_0x39354a(0x164)],_0x334aea=$[_0x39354a(0x221)],_0x4cf847=_0x334aea+$[_0x39354a(0x402)],_0x32ceae=$[_0x39354a(0x326)],_0x380208=_0x18e464['bounds'][_0x39354a(0x2a2)]+_0x18e464[_0x39354a(0x129)][_0x39354a(0x2fb)]/0x2,_0x395139=_0x18e464[_0x39354a(0x129)][_0x39354a(0x162)]+_0x18e464[_0x39354a(0x129)][_0x39354a(0x39c)]/0x2,_0x3790c2=_0x18e464[_0x39354a(0x129)]['left']-_0x49e928-_0x416f9c,_0x5229a9=_0x18e464[_0x39354a(0x129)][_0x39354a(0x162)]+_0x18e464[_0x39354a(0x129)][_0x39354a(0x39c)]+_0x49e928+_0x416f9c,_0x5c4604=_0x18e464[_0x39354a(0x129)][_0x39354a(0x2a2)]-_0x49e928-_0x416f9c,_0xb5bb4e=_0x18e464[_0x39354a(0x129)]['top']+_0x18e464[_0x39354a(0x129)][_0x39354a(0x2fb)]+_0x49e928+_0x416f9c,_0x399bf4=_0x18e464[_0x39354a(0x129)][_0x39354a(0x162)]-_0x18474b-_0x416f9c,_0x16d7e6=_0x18e464[_0x39354a(0x129)][_0x39354a(0x162)]+_0x18e464['bounds'][_0x39354a(0x39c)]+_0x18474b+_0x416f9c,_0x415696=_0x18e464['bounds'][_0x39354a(0x2a2)]-_0x18474b-_0x416f9c,_0x3e73ab=_0x18e464['bounds']['top']+_0x18e464['bounds'][_0x39354a(0x2fb)]+_0x18474b+_0x416f9c,_0x4827f7=[],_0x2f280f=_0x18e464[_0x39354a(0x3cf)]==='top'||_0x18e464[_0x39354a(0x3cf)]===_0x39354a(0x11e),_0x3069d6=_0x2f280f?_0x395139:_0x18e464[_0x39354a(0x3cf)]==='left'?_0x3790c2:_0x5229a9,_0x47ef19=_0x2f280f?_0x18e464['side']===_0x39354a(0x2a2)?_0x5c4604:_0xb5bb4e:_0x380208;if(_0x18e464[_0x39354a(0x256)]&&_0x18e464['collapsedDescendantCount']>0x0)return _0x4827f7[_0x39354a(0x203)]({'kind':_0x39354a(0x196),'x':_0x3069d6,'y':_0x47ef19,'radius':_0x49e928,'badgeCount':_0x18e464[_0x39354a(0x222)]}),_0x4827f7;if(_0x18e464[_0x39354a(0x289)]?(_0x18e464[_0x39354a(0x1be)]??(_0x2f280f?[_0x39354a(0x2a2),_0x39354a(0x11e)]:['left','right']))[_0x39354a(0x332)](_0x56f98a=>{const _0x208234=_0x39354a;_0x56f98a===_0x208234(0x2a2)?_0x4827f7['push']({'kind':'add-child-top','x':_0x395139,'y':_0x415696,'radius':_0x18474b}):_0x56f98a===_0x208234(0x11e)?_0x4827f7[_0x208234(0x203)]({'kind':_0x208234(0x3b4),'x':_0x395139,'y':_0x3e73ab,'radius':_0x18474b}):_0x56f98a==='left'?_0x4827f7[_0x208234(0x203)]({'kind':_0x208234(0x261),'x':_0x399bf4,'y':_0x380208,'radius':_0x18474b}):_0x4827f7[_0x208234(0x203)]({'kind':_0x208234(0x11c),'x':_0x16d7e6,'y':_0x380208,'radius':_0x18474b});}):(_0x4827f7['push']({'kind':_0x18e464[_0x39354a(0x3cf)]==='left'?_0x39354a(0x261):_0x18e464[_0x39354a(0x3cf)]==='top'?_0x39354a(0x171):_0x18e464[_0x39354a(0x3cf)]===_0x39354a(0x11e)?_0x39354a(0x3b4):'add-child-right','x':_0x2f280f?_0x395139:_0x18e464['side']==='left'?_0x399bf4:_0x16d7e6,'y':_0x2f280f?_0x18e464[_0x39354a(0x3cf)]==='top'?_0x415696:_0x3e73ab:_0x380208,'radius':_0x18474b}),_0x2f280f?(_0x4827f7['push']({'kind':'add-sibling-before','placement':_0x39354a(0x351),'x':_0x18e464[_0x39354a(0x129)][_0x39354a(0x162)]-_0x4cf847,'y':_0x380208,'radius':_0x8779ca,'visualRadius':_0x334aea}),_0x4827f7[_0x39354a(0x203)]({'kind':_0x39354a(0x23b),'placement':_0x39354a(0x145),'x':_0x18e464[_0x39354a(0x129)]['left']+_0x18e464[_0x39354a(0x129)]['width']+_0x4cf847,'y':_0x380208,'radius':_0x8779ca,'visualRadius':_0x334aea})):(_0x4827f7[_0x39354a(0x203)]({'kind':_0x39354a(0x309),'placement':'before','x':_0x395139,'y':_0x18e464['bounds'][_0x39354a(0x2a2)]-_0x4cf847,'radius':_0x8779ca,'visualRadius':_0x334aea}),_0x4827f7['push']({'kind':_0x39354a(0x23b),'placement':_0x39354a(0x145),'x':_0x395139,'y':_0x18e464['bounds'][_0x39354a(0x2a2)]+_0x18e464['bounds']['height']+_0x4cf847,'radius':_0x8779ca,'visualRadius':_0x334aea}))),_0x18e464[_0x39354a(0x256)]){let _0x816543={'kind':_0x39354a(0x196),'x':_0x3069d6,'y':_0x47ef19,'radius':_0x49e928};_0x4827f7[_0x39354a(0x203)](_0x816543);let _0x100600=_0x4827f7['find'](_0x26e896=>_0x26e896[_0x39354a(0x214)]===(_0x18e464[_0x39354a(0x3cf)]==='left'?_0x39354a(0x261):_0x18e464[_0x39354a(0x3cf)]===_0x39354a(0x2a2)?_0x39354a(0x171):_0x18e464['side']==='bottom'?_0x39354a(0x3b4):_0x39354a(0x11c)));_0x100600&&Math[_0x39354a(0x15d)](_0x100600['x']-_0x816543['x'],_0x100600['y']-_0x816543['y'])<_0x32ceae&&(_0x18e464[_0x39354a(0x3cf)]===_0x39354a(0x2a2)||_0x18e464[_0x39354a(0x3cf)]===_0x39354a(0x11e)?_0x100600['y']=_0x816543['y']+(_0x18e464[_0x39354a(0x3cf)]==='top'?-_0x32ceae:_0x32ceae):_0x100600['x']=_0x816543['x']+(_0x18e464[_0x39354a(0x3cf)]===_0x39354a(0x162)?-_0x32ceae:_0x32ceae));}return _0x4827f7;}const Ar=_0x303e32(0x1e9),jr=_0x4a2e26[_0x303e32(0x1e3)];function Mr(_0x5091dd,_0x402f6b){const _0x1d7505=_0x303e32;return!!_0x5091dd&&_0x5091dd[_0x1d7505(0x214)]===_0x402f6b[_0x1d7505(0x214)]&&_0x5091dd['x']===_0x402f6b['x']&&_0x5091dd['y']===_0x402f6b['y'];}var Nr=class extends _0x556d17{constructor(_0x2c76af=Ar,_0x21a3fa){const _0x12deb5=_0x303e32;super(_0x2c76af),K(this,_0x12deb5(0x18d),{'controls':[]}),this[_0x12deb5(0x31d)]=!0x0,this[_0x12deb5(0x239)]=_0x1a2df1['transientControl'],this[_0x12deb5(0x1ca)](_0x21a3fa);}[_0x303e32(0x1ca)](_0xc40af4){const _0x55d119=_0x303e32;this[_0x55d119(0x18d)]={...this[_0x55d119(0x18d)],..._0xc40af4},this[_0x55d119(0x18d)][_0x55d119(0x3f0)][_0x55d119(0x346)]>0x0?this['show']():this[_0x55d119(0x276)](),this['makeDirty'](!0x0);}[_0x303e32(0x281)](_0x6dbf4c){const _0x399169=_0x303e32;!_0x6dbf4c&&!this[_0x399169(0x18d)][_0x399169(0x2fc)]||_0x6dbf4c&&Mr(this[_0x399169(0x18d)][_0x399169(0x2fc)],_0x6dbf4c)||(this['_state']={...this[_0x399169(0x18d)],'hoveredControl':_0x6dbf4c},this[_0x399169(0x242)](!0x0));}[_0x303e32(0x33a)](_0x22f91e,_0x41584b){const _0x42b4bd=_0x303e32;var _0x55def6;let _0x3b3256=(_0x55def6=this[_0x42b4bd(0x35c)]())==null?void 0x0:_0x55def6[_0x42b4bd(0x352)](),_0x47d708=null,_0x1cde29=0x1/0x0;for(let _0x4574dd=this[_0x42b4bd(0x18d)]['controls']['length']-0x1;_0x4574dd>=0x0;--_0x4574dd){let _0x5ad34a=this[_0x42b4bd(0x18d)][_0x42b4bd(0x3f0)][_0x4574dd],_0x105dab=Math[_0x42b4bd(0x15d)](_0x22f91e['x']-_0x5ad34a['x'],_0x22f91e['y']-_0x5ad34a['y']);if(_0x41584b!==_0x16178e[_0x42b4bd(0x3f1)]){if(_0x105dab<=_0x5ad34a[_0x42b4bd(0x37d)])return _0x5ad34a;continue;}let _0x19229d=Math[_0x42b4bd(0x15d)]((_0x22f91e['x']-_0x5ad34a['x'])*((_0x3b3256==null?void 0x0:_0x3b3256[_0x42b4bd(0x2f1)])??0x1),(_0x22f91e['y']-_0x5ad34a['y'])*((_0x3b3256==null?void 0x0:_0x3b3256['scaleY'])??0x1));(_0x105dab<=_0x5ad34a[_0x42b4bd(0x37d)]||_0x19229d<=$[_0x42b4bd(0x123)])&&_0x19229d<_0x1cde29&&(_0x47d708=_0x5ad34a,_0x1cde29=_0x19229d);}return _0x47d708;}['getTouchHitDistance'](_0x3126ad){const _0x5a95b3=_0x303e32;var _0x4811cb;let _0x152702=this[_0x5a95b3(0x33a)](_0x3126ad,_0x16178e[_0x5a95b3(0x3f1)]),_0x413d41=(_0x4811cb=this[_0x5a95b3(0x35c)]())==null?void 0x0:_0x4811cb[_0x5a95b3(0x352)]();return _0x152702?Math[_0x5a95b3(0x15d)]((_0x3126ad['x']-_0x152702['x'])*((_0x413d41==null?void 0x0:_0x413d41[_0x5a95b3(0x2f1)])??0x1),(_0x3126ad['y']-_0x152702['y'])*((_0x413d41==null?void 0x0:_0x413d41[_0x5a95b3(0x188)])??0x1)):0x1/0x0;}[_0x303e32(0x2bc)](_0x33fc60){const _0x3a3a88=_0x303e32;return!!this[_0x3a3a88(0x33a)]({'x':_0x33fc60['x'],'y':_0x33fc60['y']});}['render'](_0x28e689,_0x4ec5a8){const _0x3631a8=_0x303e32;return!this[_0x3631a8(0x176)]||this[_0x3631a8(0x18d)]['controls'][_0x3631a8(0x346)]===0x0?(this[_0x3631a8(0x242)](!0x1),this):(_0x28e689['save'](),this[_0x3631a8(0x18d)][_0x3631a8(0x3f0)][_0x3631a8(0x332)](_0x33ee58=>{const _0x1dfcf2=_0x3631a8;let _0x1f29de=Mr(this[_0x1dfcf2(0x18d)][_0x1dfcf2(0x2fc)],_0x33ee58),_0x4631c3=_0x33ee58[_0x1dfcf2(0x40e)]!==void 0x0,_0xb9b3b1=_0x33ee58[_0x1dfcf2(0x214)]==='add-child-left'||_0x33ee58[_0x1dfcf2(0x214)]==='add-child-right'||_0x33ee58[_0x1dfcf2(0x214)]==='add-child-top'||_0x33ee58[_0x1dfcf2(0x214)]===_0x1dfcf2(0x3b4),_0x598a1c=_0x33ee58[_0x1dfcf2(0x214)]==='add-sibling-before'||_0x33ee58[_0x1dfcf2(0x214)]===_0x1dfcf2(0x23b),_0x34e664=_0x598a1c&&!_0x1f29de?_0x33ee58[_0x1dfcf2(0x342)]??_0x33ee58['radius']:_0x33ee58['radius'];if(_0x28e689[_0x1dfcf2(0x2a9)](),_0x28e689[_0x1dfcf2(0x1f3)]=_0x33ee58[_0x1dfcf2(0x214)]===_0x1dfcf2(0x196)?$[_0x1dfcf2(0x1e0)]:$[_0x1dfcf2(0x267)],_0x28e689[_0x1dfcf2(0x282)]=$['primaryColor'],_0x28e689[_0x1dfcf2(0x1b7)]=$[_0x1dfcf2(0x328)],_0x28e689['arc'](_0x33ee58['x'],_0x33ee58['y'],_0x34e664,0x0,Math['PI']*0x2),_0x28e689[_0x1dfcf2(0x2c2)](),(!_0x598a1c||_0x1f29de)&&_0x28e689[_0x1dfcf2(0x235)](),!_0x4631c3&&(!_0x598a1c||_0x1f29de)){if(_0x28e689['beginPath'](),_0x28e689[_0x1dfcf2(0x282)]=_0x33ee58[_0x1dfcf2(0x214)]==='toggle-collapse'?$[_0x1dfcf2(0x267)]:$[_0x1dfcf2(0x1e0)],_0x28e689['lineWidth']=_0x598a1c?$[_0x1dfcf2(0x361)]:_0x1f29de?$['glyphHoverWidth']:$[_0x1dfcf2(0x361)],_0x28e689[_0x1dfcf2(0x311)]=_0x1dfcf2(0x21c),_0x33ee58['kind']===_0x1dfcf2(0x196)){let _0x3b78f7=$[_0x1dfcf2(0x411)];_0x28e689[_0x1dfcf2(0x14c)](_0x33ee58['x']+_0x3b78f7/0x2,_0x33ee58['y']-_0x3b78f7),_0x28e689[_0x1dfcf2(0x132)](_0x33ee58['x']-_0x3b78f7/0x2,_0x33ee58['y']),_0x28e689[_0x1dfcf2(0x132)](_0x33ee58['x']+_0x3b78f7/0x2,_0x33ee58['y']+_0x3b78f7);}else{let _0x32c8ca=_0x598a1c?$[_0x1dfcf2(0x37c)]:_0xb9b3b1?$[_0x1dfcf2(0x1ce)]:$[_0x1dfcf2(0x411)];_0x28e689[_0x1dfcf2(0x14c)](_0x33ee58['x']-_0x32c8ca,_0x33ee58['y']),_0x28e689[_0x1dfcf2(0x132)](_0x33ee58['x']+_0x32c8ca,_0x33ee58['y']),_0x28e689[_0x1dfcf2(0x14c)](_0x33ee58['x'],_0x33ee58['y']-_0x32c8ca),_0x28e689[_0x1dfcf2(0x132)](_0x33ee58['x'],_0x33ee58['y']+_0x32c8ca);}_0x28e689[_0x1dfcf2(0x235)]();}_0x4631c3&&(_0x28e689[_0x1dfcf2(0x1f3)]=$['primaryColor'],_0x28e689[_0x1dfcf2(0x3d5)]=$[_0x1dfcf2(0x29f)]+'\x20'+$[_0x1dfcf2(0x230)]+'px\x20'+$[_0x1dfcf2(0x406)],_0x28e689[_0x1dfcf2(0x1c1)]=_0x1dfcf2(0x3d8),_0x28e689['textBaseline']=_0x1dfcf2(0x3c1),_0x28e689['fillText'](String(_0x33ee58[_0x1dfcf2(0x40e)]),_0x33ee58['x'],_0x33ee58['y']));}),_0x28e689[_0x3631a8(0x365)](),this['makeDirty'](!0x1),this);}};function Pr(_0x242e13){const _0x48c071=_0x303e32;return _0x242e13===_0x48c071(0x405)||_0x242e13===_0x48c071(0x29a)||_0x242e13===_0x48c071(0x38e);}function Fr(_0x180439){const _0x193c1c=_0x303e32;return _0x180439==='timeline-horizontal'||_0x180439===_0x193c1c(0x1a0);}function Ir(_0x5b13ff,_0x4a2a7d){const _0x351aa0=_0x303e32;let _0x305f4b=Number[_0x351aa0(0x1df)](_0x4a2a7d['zoomRatio'])&&_0x4a2a7d[_0x351aa0(0x1fb)]>0x0?_0x4a2a7d[_0x351aa0(0x1fb)]:0x1;return{'x':Math['round']((_0x5b13ff[_0x351aa0(0x2d8)]-_0x4a2a7d['panOffset']['x'])/_0x305f4b),'y':Math[_0x351aa0(0x21c)]((_0x5b13ff[_0x351aa0(0x3bd)]-_0x4a2a7d['panOffset']['y'])/_0x305f4b)};}let Lr=class extends _0xd5b999{constructor(_0x2ddf55,_0x9da673,_0x15c1ba,_0x133aa5,_0x3b4068,_0x5b5a6b,_0x5965ff,_0x321747,_0x28ae89){const _0x50a029=_0x303e32;super(),this[_0x50a029(0x34f)]=_0x2ddf55,this[_0x50a029(0x12e)]=_0x9da673,this[_0x50a029(0x368)]=_0x15c1ba,this[_0x50a029(0x160)]=_0x133aa5,this[_0x50a029(0x3a7)]=_0x3b4068,this[_0x50a029(0x1c7)]=_0x5b5a6b,this[_0x50a029(0x376)]=_0x5965ff,this[_0x50a029(0x3ab)]=_0x321747,this[_0x50a029(0x425)]=_0x28ae89,K(this,_0x50a029(0x371),null),K(this,_0x50a029(0x233),null),K(this,_0x50a029(0x39f),null),K(this,_0x50a029(0x1fd),null),this['_init']();}[_0x303e32(0x1ee)](){const _0x41e013=_0x303e32;var _0x333bb1,_0x356b85,_0x1d9877;let {scene:_0x28a42a}=this['_renderContext'],_0x4785b8=(_0x333bb1=_0x28a42a[_0x41e013(0x14d)])==null?void 0x0:_0x333bb1['call'](_0x28a42a);_0x4785b8&&(this[_0x41e013(0x18e)](_0x502ac1(_0x4785b8[_0x41e013(0x238)][_0x41e013(0x3c0)](_0x24fd2b(this[_0x41e013(0x401)]))[_0x41e013(0x3b6)](({objects:_0x2f7823})=>{const _0x2c8530=_0x41e013;this[_0x2c8530(0x1fc)](_0x2f7823,{'hideRootControls':!0x0});}))),this[_0x41e013(0x18e)](_0x502ac1(_0x4785b8[_0x41e013(0x3f7)]['pipe'](_0x24fd2b(this[_0x41e013(0x401)]))[_0x41e013(0x3b6)](_0x16862a=>{const _0x500920=_0x41e013;let _0x490c02=_0x16862a==null?void 0x0:_0x16862a[_0x500920(0x413)];this['_syncControls'](_0x490c02),setTimeout(()=>this[_0x500920(0x1fc)](_0x490c02),0x0);})))),this['disposeWithMe'](_0x502ac1(this[_0x41e013(0x368)][_0x41e013(0x1ea)][_0x41e013(0x3c0)](_0x24fd2b(this[_0x41e013(0x401)]))['subscribe'](()=>this[_0x41e013(0x1fc)]()))),this[_0x41e013(0x18e)](_0x502ac1(this[_0x41e013(0x160)]['state$']['pipe'](_0x24fd2b(this['dispose$']))['subscribe'](()=>this[_0x41e013(0x1fc)]()))),this[_0x41e013(0x18e)](_0x502ac1(this[_0x41e013(0x12e)][_0x41e013(0x295)][_0x41e013(0x3c0)](_0x24fd2b(this['dispose$']))[_0x41e013(0x3b6)](_0x1ab30b=>{const _0x3df600=_0x41e013;let _0x5ce625=this['_elementStateService'][_0x3df600(0x1aa)]()['context'];_0x5ce625&&_0x1ab30b['some'](_0x449486=>_0x449486['unitId']===_0x5ce625[_0x3df600(0x305)]&&_0x449486['subUnitId']===_0x5ce625[_0x3df600(0x437)]&&(_0x449486[_0x3df600(0x3f5)]===this[_0x3df600(0x39f)]||_0x449486['elementId']===this[_0x3df600(0x1fd)]))&&this[_0x3df600(0x1fc)]();}))),this[_0x41e013(0x18e)](_0x502ac1(this[_0x41e013(0x3ab)][_0x41e013(0x29e)][_0x41e013(0x3c0)](_0x24fd2b(this[_0x41e013(0x401)]))[_0x41e013(0x3b6)](_0x558f17=>{const _0x898761=_0x41e013;let _0x254d86=this[_0x898761(0x368)][_0x898761(0x1aa)]()['context'];_0x254d86&&_0x254d86[_0x898761(0x305)]===_0x558f17[_0x898761(0x305)]&&_0x254d86['subUnitId']===_0x558f17[_0x898761(0x437)]&&(this['_activeScopeId']&&this[_0x898761(0x1fd)]!==_0x558f17[_0x898761(0x236)]||this[_0x898761(0x1fc)]());}))),this[_0x41e013(0x18e)](_0x502ac1(_0x28a42a['onPointerMove$'][_0x41e013(0x201)](_0x555e4a=>this[_0x41e013(0x36b)](_0x555e4a)))),this[_0x41e013(0x18e)](_0x502ac1(_0x28a42a[_0x41e013(0x42d)][_0x41e013(0x201)]({'priority':0x4,'next':([_0x3cbbb2,_0xa99ba9])=>{const _0x157e49=_0x41e013;this[_0x157e49(0x2e6)](_0x3cbbb2)&&this[_0x157e49(0x2cd)](_0x3cbbb2,_0xa99ba9);}}))),this['disposeWithMe'](_0x502ac1(((_0x356b85=_0x28a42a['onPointerUp$'])==null?void 0x0:_0x356b85['subscribeEvent']({'priority':0x4,'next':([_0x55818d,_0x506ea9])=>{const _0x3332aa=_0x41e013;this['_isControlEvent'](_0x55818d)&&this[_0x3332aa(0x2cd)](_0x55818d,_0x506ea9);}}))??{'dispose':()=>{}})),this[_0x41e013(0x18e)](_0x502ac1(((_0x1d9877=_0x28a42a['onDblclick$'])==null?void 0x0:_0x1d9877[_0x41e013(0x201)]({'priority':0x4,'next':([_0x5b19e2,_0x196a85])=>{const _0x2293f9=_0x41e013;this[_0x2293f9(0x40d)](_0x5b19e2)&&this['_consumeControlEvent'](_0x5b19e2,_0x196a85);}}))??{'dispose':()=>{}})),this[_0x41e013(0x18e)](_0x502ac1(()=>this['_removeObject']())),this[_0x41e013(0x1fc)]();}[_0x303e32(0x277)](){const _0x912c15=_0x303e32;return this[_0x912c15(0x371)]?this['_object']:(this[_0x912c15(0x371)]=new Nr(Ar),this['_attachObjectEvents'](this['_object']),this[_0x912c15(0x34f)][_0x912c15(0x18f)][_0x912c15(0x435)](this[_0x912c15(0x371)],jr),this[_0x912c15(0x371)]);}['_attachObjectEvents'](_0x462034){const _0x538efd=_0x303e32;var _0x4811f0;(_0x4811f0=this[_0x538efd(0x233)])==null||_0x4811f0[_0x538efd(0x192)]();let _0x51b7f0=new _0x1825a2();_0x51b7f0[_0x538efd(0x260)](_0x462034[_0x538efd(0x42d)][_0x538efd(0x201)]({'priority':0x4,'next':([_0x20df2c,_0x34786b])=>{const _0x26a583=_0x538efd;this[_0x26a583(0x2e6)](_0x20df2c)&&this[_0x26a583(0x2cd)](_0x20df2c,_0x34786b);}})),_0x51b7f0[_0x538efd(0x260)](_0x462034[_0x538efd(0x173)][_0x538efd(0x201)]({'priority':0x4,'next':([_0x5df3ed,_0x267aee])=>{const _0x3a92ce=_0x538efd;this[_0x3a92ce(0x40d)](_0x5df3ed)&&this['_consumeControlEvent'](_0x5df3ed,_0x267aee);}})),_0x51b7f0[_0x538efd(0x260)](_0x462034[_0x538efd(0x325)][_0x538efd(0x201)]({'priority':0x4,'next':([_0x1c9baf,_0x5a0aa2])=>{const _0x12e167=_0x538efd;this[_0x12e167(0x40d)](_0x1c9baf)&&this[_0x12e167(0x2cd)](_0x1c9baf,_0x5a0aa2);}})),this[_0x538efd(0x233)]=_0x51b7f0;}['_removeObject'](){const _0x1cdee9=_0x303e32;var _0x2e6cd3;this['_object']&&(this[_0x1cdee9(0x34f)][_0x1cdee9(0x18f)][_0x1cdee9(0x1e2)]([this[_0x1cdee9(0x371)]]),(_0x2e6cd3=this['_objectEventDisposables'])==null||_0x2e6cd3[_0x1cdee9(0x192)](),this[_0x1cdee9(0x233)]=null,this[_0x1cdee9(0x371)]=null,this['_activeNodeId']=null,this[_0x1cdee9(0x1fd)]=null,this[_0x1cdee9(0x34f)][_0x1cdee9(0x18f)][_0x1cdee9(0x242)](!0x0));}[_0x303e32(0x1fc)](_0x5c15c2,_0x5b7b94){const _0x2811b1=_0x303e32;var _0x8a22ae,_0x5f4e15;if(this['_stateService'][_0x2811b1(0x280)]()[_0x2811b1(0x2db)]===_0x2811b1(0x1f4)){this[_0x2811b1(0x313)]();return;}let _0x5b5132=this[_0x2811b1(0x368)]['getSnapshot'](),_0x30d22d=_0x5b5132[_0x2811b1(0x32f)],_0x5997d8=_0x5b5132['focusedId']??_0x5b5132[_0x2811b1(0x2b7)][0x0];if(!_0x30d22d||!_0x5997d8||_0x5b5132[_0x2811b1(0x2b7)][_0x2811b1(0x346)]!==0x1){this[_0x2811b1(0x313)]();return;}let _0x2451fa=this['_boardElementService'][_0x2811b1(0x3c7)](_0x30d22d[_0x2811b1(0x305)],_0x30d22d[_0x2811b1(0x437)]),_0x2b92c3=_0x2451fa[_0x5997d8],_0x3753c0=_0x5b8eed(_0x2b92c3==null?void 0x0:_0x2b92c3['element']);if(!_0x2b92c3||!_0x3753c0){this[_0x2811b1(0x313)]();return;}let _0x4ab6c3=_0x317ee1(_0x30d22d['unitId'],_0x5997d8);if(_0x5b7b94!=null&&_0x5b7b94[_0x2811b1(0x31a)]&&_0x3753c0[_0x2811b1(0x259)]==null&&_0x5c15c2!=null&&_0x5c15c2[_0x2811b1(0x33d)](_0x4ab6c3)){this[_0x2811b1(0x313)]();return;}let _0x20fa7a=this[_0x2811b1(0x253)](_0x2451fa,_0x30d22d['unitId'],_0x5997d8,_0x5c15c2);if(!_0x20fa7a){this[_0x2811b1(0x313)]();return;}let _0x241121=Object[_0x2811b1(0x12b)](_0x2451fa)[_0x2811b1(0x18a)](_0x5e6906=>{const _0x6ad80c=_0x2811b1;var _0x3a73ff;return((_0x3a73ff=_0x5b8eed(_0x5e6906['element']))==null?void 0x0:_0x3a73ff[_0x6ad80c(0x259)])===_0x5997d8;}),_0x43295=_0x3753c0['collapsed']?this['_countDescendants'](_0x2451fa,_0x5997d8):0x0;this[_0x2811b1(0x39f)]=_0x5997d8,this[_0x2811b1(0x1fd)]=_0x3753c0[_0x2811b1(0x34b)];let _0x48ed07=(_0x8a22ae=_0x2451fa[_0x3753c0['structureScopeId']])==null?void 0x0:_0x8a22ae['element'],_0x403475=_0xb789bf(_0x48ed07),_0x5e7f4d=_0x48ed07==null||(_0x5f4e15=_0x48ed07[_0x2811b1(0x2ba)])==null||(_0x5f4e15=_0x5f4e15['mindmap'])==null||(_0x5f4e15=_0x5f4e15[_0x2811b1(0x22a)])==null?void 0x0:_0x5f4e15[_0x2811b1(0x377)],_0xe92149=(_0x403475==null?void 0x0:_0x403475[_0x2811b1(0x22a)][_0x2811b1(0x377)])??_0x5e7f4d,_0x31eaff=_0x3753c0[_0x2811b1(0x259)]==null,_0x48b90d=this[_0x2811b1(0x39b)](_0x3753c0[_0x2811b1(0x3cf)],_0x31eaff,_0xe92149);this[_0x2811b1(0x277)]()[_0x2811b1(0x1ca)]({'controls':kr({'bounds':_0x20fa7a,'isRoot':_0x31eaff,'side':_0x48b90d,'rootChildSides':this[_0x2811b1(0x3fc)](_0x31eaff,_0xe92149),'hasChildren':_0x241121[_0x2811b1(0x346)]>0x0,'collapsedDescendantCount':_0x43295})}),this[_0x2811b1(0x34f)][_0x2811b1(0x18f)][_0x2811b1(0x242)](!0x0);}['_resolveControlSide'](_0x4d62d2,_0x17debb,_0x147f11){const _0x112a61=_0x303e32;return _0x147f11===_0x112a61(0x1a0)?!_0x17debb&&(_0x4d62d2===_0x112a61(0x162)||_0x4d62d2===_0x112a61(0x293))?_0x4d62d2:'bottom':_0x147f11===_0x112a61(0x1a4)?!_0x17debb&&(_0x4d62d2==='top'||_0x4d62d2===_0x112a61(0x11e))?_0x4d62d2:_0x112a61(0x11e):_0x4d62d2==='left'?_0x112a61(0x162):_0x112a61(0x293);}[_0x303e32(0x3fc)](_0x55cf58,_0x57e210){const _0x348714=_0x303e32;if(_0x55cf58){if(Pr(_0x57e210))return['bottom'];if(_0x57e210==='timeline-horizontal')return[_0x348714(0x293)];if(_0x57e210===_0x348714(0x1a0))return['bottom'];}}[_0x303e32(0x3ef)](_0xe6d3f4){const _0x236b73=_0x303e32;var _0xa3e9fd,_0x1d6716;let _0x28c15c=this[_0x236b73(0x368)][_0x236b73(0x1aa)]()[_0x236b73(0x32f)];if(!_0x28c15c||!this[_0x236b73(0x39f)])return;let _0x3892ad=this[_0x236b73(0x12e)][_0x236b73(0x3c7)](_0x28c15c[_0x236b73(0x305)],_0x28c15c[_0x236b73(0x437)]),_0x2bd9ee=_0x5b8eed((_0xa3e9fd=_0x3892ad[this['_activeNodeId']])==null?void 0x0:_0xa3e9fd['element']),_0x2b1685=_0x2bd9ee?_0xb789bf((_0x1d6716=_0x3892ad[_0x2bd9ee[_0x236b73(0x34b)]])==null?void 0x0:_0x1d6716[_0x236b73(0x357)]):null;if((_0x2bd9ee==null?void 0x0:_0x2bd9ee[_0x236b73(0x259)])!=null||!Pr(_0x2b1685==null?void 0x0:_0x2b1685['layout'][_0x236b73(0x377)])&&!Fr(_0x2b1685==null?void 0x0:_0x2b1685[_0x236b73(0x22a)]['structureKind']))return _0xe6d3f4===_0x236b73(0x261)?_0x236b73(0x162):_0xe6d3f4===_0x236b73(0x171)?_0x236b73(0x2a2):_0xe6d3f4===_0x236b73(0x3b4)?_0x236b73(0x11e):_0x236b73(0x293);}[_0x303e32(0x253)](_0x349a0c,_0xcee9cb,_0x357571,_0x392174){const _0x5f36db=_0x303e32;var _0xfba9ee,_0x4e7669;let _0x1354c6=_0x317ee1(_0xcee9cb,_0x357571),_0xf5131f=_0x392174==null?void 0x0:_0x392174[_0x5f36db(0x409)](_0x1354c6),_0x541636=this['_toFiniteBounds'](_0xf5131f);if(_0x541636)return _0x541636;let _0x2b6893=this[_0x5f36db(0x34f)]['scene'],_0x24b450=((_0xfba9ee=_0x2b6893[_0x5f36db(0x334)])==null?void 0x0:_0xfba9ee[_0x5f36db(0x2ca)](_0x2b6893,_0x1354c6))??((_0x4e7669=_0x2b6893[_0x5f36db(0x316)])==null?void 0x0:_0x4e7669[_0x5f36db(0x2ca)](_0x2b6893,_0x1354c6));return this['_toFiniteBounds'](_0x24b450)||_0x1edce2(_0x349a0c,_0x357571);}[_0x303e32(0x226)](_0x422d0d){const _0x590678=_0x303e32;return _0x422d0d&&Number['isFinite'](_0x422d0d[_0x590678(0x162)])&&Number[_0x590678(0x1df)](_0x422d0d['top'])&&Number[_0x590678(0x1df)](_0x422d0d[_0x590678(0x39c)])&&Number[_0x590678(0x1df)](_0x422d0d[_0x590678(0x2fb)])?{'left':_0x422d0d[_0x590678(0x162)],'top':_0x422d0d[_0x590678(0x2a2)],'width':_0x422d0d['width'],'height':_0x422d0d['height']}:null;}['_countDescendants'](_0x3331f1,_0x3b7503){const _0x31199b=_0x303e32;return Object['values'](_0x3331f1)[_0x31199b(0x18a)](_0x4d0e4b=>{const _0x2f3712=_0x31199b;var _0x5ad3f3;return((_0x5ad3f3=_0x5b8eed(_0x4d0e4b[_0x2f3712(0x357)]))==null?void 0x0:_0x5ad3f3[_0x2f3712(0x259)])===_0x3b7503;})[_0x31199b(0x139)]((_0x43994d,_0x1e2df3)=>_0x43994d+0x1+this[_0x31199b(0x3de)](_0x3331f1,_0x1e2df3['elementId']),0x0);}[_0x303e32(0x36b)](_0x501454){const _0x2d0144=_0x303e32;if(!this['_object'])return;let _0x424790=this[_0x2d0144(0x160)][_0x2d0144(0x280)](),_0x5448c6=Ir(_0x501454,{'panOffset':_0x424790[_0x2d0144(0x431)],'zoomRatio':_0x424790['zoomRatio']});this[_0x2d0144(0x371)][_0x2d0144(0x281)](this[_0x2d0144(0x371)][_0x2d0144(0x33a)](_0x5448c6,_0x501454[_0x2d0144(0x147)]));}[_0x303e32(0x2e6)](_0x131277){const _0xbdf41f=_0x303e32;if(!this['_object']||!this['_activeNodeId']||(_0x131277['button']??0x0)!==0x0)return!0x1;let _0x1dcd00=this['_elementStateService'][_0xbdf41f(0x1aa)]()[_0xbdf41f(0x32f)];if(!_0x1dcd00)return!0x1;let _0x3236ec=this[_0xbdf41f(0x160)]['getState'](),_0x3e89a4=Ir(_0x131277,{'panOffset':_0x3236ec['viewportPanOffset'],'zoomRatio':_0x3236ec[_0xbdf41f(0x1fb)]}),_0x3c31c0=this[_0xbdf41f(0x371)][_0xbdf41f(0x33a)](_0x3e89a4,_0x131277['deviceType']);if(!_0x3c31c0)return!0x1;if(_0x3c31c0[_0xbdf41f(0x214)]===_0xbdf41f(0x196))return this[_0xbdf41f(0x1ba)](_0x33c3d6['id'],{'unitId':_0x1dcd00[_0xbdf41f(0x305)],'subUnitId':_0x1dcd00[_0xbdf41f(0x437)],'nodeId':this[_0xbdf41f(0x39f)]}),!0x0;if(_0x3c31c0[_0xbdf41f(0x214)]===_0xbdf41f(0x261)||_0x3c31c0[_0xbdf41f(0x214)]==='add-child-right'||_0x3c31c0[_0xbdf41f(0x214)]==='add-child-top'||_0x3c31c0[_0xbdf41f(0x214)]===_0xbdf41f(0x3b4)){let _0x3d81d9=_0x1f2708(0x6);return this[_0xbdf41f(0x359)](_0x1c718c['id'],{'unitId':_0x1dcd00['unitId'],'subUnitId':_0x1dcd00['subUnitId'],'parentNodeId':this['_activeNodeId'],'side':this[_0xbdf41f(0x3ef)](_0x3c31c0[_0xbdf41f(0x214)]),'nodeId':_0x3d81d9,'connectorId':_0x1f2708(0x6),'text':this[_0xbdf41f(0x376)]['t'](_0xbdf41f(0x30f))},_0x3d81d9),!0x0;}if(_0x3c31c0[_0xbdf41f(0x214)]===_0xbdf41f(0x309)||_0x3c31c0[_0xbdf41f(0x214)]===_0xbdf41f(0x23b)){let _0x467d84=_0x1f2708(0x6);return this[_0xbdf41f(0x359)](_0x460694['id'],{'unitId':_0x1dcd00[_0xbdf41f(0x305)],'subUnitId':_0x1dcd00[_0xbdf41f(0x437)],'nodeId':this[_0xbdf41f(0x39f)],'placement':_0x3c31c0[_0xbdf41f(0x152)]??(_0x3c31c0[_0xbdf41f(0x214)]===_0xbdf41f(0x309)?_0xbdf41f(0x351):_0xbdf41f(0x145)),'siblingNodeId':_0x467d84,'connectorId':_0x1f2708(0x6),'text':this[_0xbdf41f(0x376)]['t'](_0xbdf41f(0x30f))},_0x467d84),!0x0;}return!0x0;}[_0x303e32(0x40d)](_0x5c0fd2){const _0x1dfb5e=_0x303e32;if(!this[_0x1dfb5e(0x371)]||(_0x5c0fd2[_0x1dfb5e(0x324)]??0x0)!==0x0)return!0x1;let _0x2fcad0=this[_0x1dfb5e(0x160)][_0x1dfb5e(0x280)](),_0x3706ca=Ir(_0x5c0fd2,{'panOffset':_0x2fcad0[_0x1dfb5e(0x431)],'zoomRatio':_0x2fcad0[_0x1dfb5e(0x1fb)]});return!!this[_0x1dfb5e(0x371)][_0x1dfb5e(0x33a)](_0x3706ca,_0x5c0fd2[_0x1dfb5e(0x147)]);}[_0x303e32(0x2cd)](_0x2f58f5,_0x131ce5){const _0x22e67e=_0x303e32;var _0x308a47,_0x354ccb;_0x131ce5['stopPropagation'](),(_0x308a47=_0x2f58f5[_0x22e67e(0x373)])==null||_0x308a47[_0x22e67e(0x2ca)](_0x2f58f5),(_0x354ccb=_0x2f58f5[_0x22e67e(0x41d)])==null||_0x354ccb[_0x22e67e(0x2ca)](_0x2f58f5);}[_0x303e32(0x1ba)](_0x4b7ed4,_0xc9a993){const _0x3b7d64=_0x303e32;let _0x3cfc43=this[_0x3b7d64(0x1fd)];this['_undoRedoGroupService'][_0x3b7d64(0x156)](_0xc9a993['unitId'],()=>{const _0x504947=_0x3b7d64;this['_commandService']['syncExecuteCommand'](_0x4b7ed4,_0xc9a993)&&_0x3cfc43&&(this[_0x504947(0x3a7)]['syncExecuteCommand'](_0x47042e['id'],{'unitId':_0xc9a993[_0x504947(0x305)],'subUnitId':_0xc9a993[_0x504947(0x437)],'scopeId':_0x3cfc43}),this['_syncControls']());});}[_0x303e32(0x359)](_0x42508a,_0x5bf052,_0x505dac){const _0xc97e89=_0x303e32;let _0xea61ba={'unitId':_0x5bf052[_0xc97e89(0x305)],'subUnitId':_0x5bf052[_0xc97e89(0x437)]},_0x34fdaa=this[_0xc97e89(0x3a7)][_0xc97e89(0x2de)](_0x42508a,_0x5bf052);Promise['resolve'](_0x34fdaa)[_0xc97e89(0x248)](_0x58f830=>{const _0x43e6ad=_0xc97e89;_0x58f830&&(this[_0x43e6ad(0x1fc)](),this[_0x43e6ad(0x368)][_0x43e6ad(0x1f6)](_0xea61ba,[_0x505dac],_0x505dac),this[_0x43e6ad(0x1c7)][_0x43e6ad(0x1b4)](),this['_boardTextEditingService'][_0x43e6ad(0x25b)]({..._0xea61ba,'shapeId':_0x505dac,'shapeKey':_0x317ee1(_0xea61ba[_0x43e6ad(0x305)],_0x505dac),'visible':!0x0}));});}};Lr=J([q(0x1,_0x4b1a3e(_0x5648dc)),q(0x2,_0x4b1a3e(_0x2f7d9b)),q(0x3,_0x4b1a3e(_0x57e681)),q(0x4,_0x18b2f8),q(0x5,_0x4b1a3e(_0x5ae2fd)),q(0x6,_0x4b1a3e(_0x51902b)),q(0x7,_0x4b1a3e(Tr)),q(0x8,_0x4b1a3e(_0x222deb))],Lr);const Rr=_0x303e32(0x170);let zr=class extends _0xd5b999{constructor(_0x277fd6,_0x2db6c1){const _0xc49aaf=_0x303e32;super(),this[_0xc49aaf(0x3a7)]=_0x277fd6,this[_0xc49aaf(0x370)]=_0x2db6c1,this['_init']();}[_0x303e32(0x1ee)](){const _0x57dfd1=_0x303e32;this[_0x57dfd1(0x18e)](this['_shortcutService']['registerShortcut'](this['_createQuoteShortcut']()));}[_0x303e32(0x153)](){const _0x5aca1f=_0x303e32;return{'id':_0x492dc1,'binding':_0x2dcee3[_0x5aca1f(0x13a)]|_0x516482[_0x5aca1f(0x21b)],'priority':0x3e8,'preconditions':_0xb05fa9=>_0xb05fa9[_0x5aca1f(0x266)](_0x5aca1f(0x170))&&this[_0x5aca1f(0x3a7)]['hasCommand'](_0x492dc1)};}};zr=J([q(0x0,_0x18b2f8),q(0x1,_0x20fa6c)],zr);const Br=[Mn,Nn,Rr];function _0x1917(){const _0x2bd99c=['width','SquareDot','_createShortcutItems','_activeNodeId','univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-p-4','pointermove','textPaddingScreen','rgba(','root','univer-text-base','univer-border-b\x20univer-border-gray-200\x20univer-p-4','_commandService','_seedExistingNodeSizes','activeTool','detach','_previewRefreshService','connectorData','transform','getFonts','univer-grid-cols-4','lineWidthScreen','onReady','3088666wndbuq','_instanceService','add-child-bottom','elementRemove$','subscribe','clipboardService','_handleElementUpdate','_updateHostSize','getTemplate','_clearPopupIfSelectionChanged','svg','offsetY','boards-mind-ui.panel.layout.both','_resolveSelectedMindMapEntryFromState','pipe','middle','_resolveNodeSize','resolve','clearSelection','boards-mind-ui.panel.tab.layout','both','getElementData','siblingHoverRadius','univer-items-center','fromEntries','curve','nodeWidth','sourceDashScreen','getCurrentUnitOfType','side','incomingConnectorStyle','mind-map-stroke','dropEffect','univer-min-h-12\x20univer-w-full','_attachActivePointerDragListeners','font','rootStartBounds','rgb','center','M12\x2026h11M58\x2036h11M12\x2045h11','@univerjs-pro/boards-mind-ui','_syncLayoutPreview','univer-h-7\x20univer-min-w-9\x20univer-w-auto\x20univer-gap-1\x20univer-px-1.5','_restoreActivePreview','_countDescendants','boards-mind-ui.panel.nodeStyle.fontFamily','function','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-xs\x20univer-text-gray-600','getElementById','board.operation.mind-map.open-panel','univer-min-h-12\x20univer-text-xl','elementService','items','_componentManager','blueprint','univer-mb-3\x20univer-w-full','_instanceSrv','boards-mind-ui.saveDescription','size','BOTTOM',',\x20minmax(0,\x201fr))','_resolveCreateChildSide','controls','Touch','value','univer-grid\x20univer-h-14\x20univer-overflow-hidden\x20univer-rounded-xl\x20univer-bg-gray-100\x20univer-p-1','_removeDragPreviewObject','elementId','ARROW_LEFT','changeEnd$','_removePreviewObject','#d8dce3','open','0\x200\x2080\x2056','_resolveRootChildControlSides','_getBoardsUIConfig','_applyRootTranslation','syncExecuteCommand','boards-mind-ui.toolbar.action.copy','dispose$','siblingDotGap','univer-mb-2\x20univer-text-lg\x20univer-text-gray-900','pointerStartY','tree-left','fontFamily','path','boards-mind-ui.panel.branchLineType.curve','get','_previewObject','M56\x2012v32M56\x2019c0\x204-3\x206-7\x206h-7M56\x2029c0\x204-3\x206-7\x206h-7M56\x2039c0\x204-3\x206-7\x206h-7','localeCompare','_isControlEvent','badgeCount','lineJoin','univer-grid\x20univer-w-full\x20univer-gap-2','glyphSize','child','objects','fallbackNodeWidth','setContextValue','fontColor','RoundDot','_applyDragTopologyAction','Enter','univer-border-b\x20univer-border-gray-200\x20univer-p-3','complete','_syncChildDragPreviewObject','stopPropagation','_rememberNodeSize','_popupDisposable','editCurrentNode','timelineAxisGap','some','univer-grid\x20univer-grid-cols-4\x20univer-gap-2','registerProvider','_undoRedoGroupService','transientPreview','isTransforming','focus','extraProps','tree-diagram','elementData','_resolveChildDragTopologyAction','onPointerDown$','clearPendingInsert','reparent','_contextService','viewportPanOffset','_refresh$','univer-min-w-0\x20univer-flex-1\x20univer-justify-start\x20univer-truncate\x20univer-text-left','text/plain','addObject','doc','subUnitId','oKey','ArrowLeft','unit','Escape','univer-cursor-not-allowed\x20univer-text-gray-300\x20hover:univer-bg-transparent','version','add-child-right','UNIVER_BOARDS_MIND_UI_PLUGIN','bottom','min','boards-mind-ui.panel.structureKind.treeAlternate','string','_applyPointerChildDrag','touchHitRadius','show','_config','_resolveSelectedEntry','skipNextObservers','_getBlankBoardContext','bounds','univer-bg-[#e8eefc]\x20univer-text-[#2f6fed]\x20hover:univer-bg-[#e8eefc]','values','style-divider','mind-map-font-size','_boardElementService','exec','data','_clearPopup','lineTo','3ngDEnk','registerAdapter','clientX','clear','_createKeyboardShortcutOperation','localeService','reduce','ENTER','_resolveRootTopLeft','_intrinsicSizeService','parseInt','style','connector','boards-mind-ui.alignCenter','_hideSelectionForChildDrag','_getZoomRatio','univer-mb-0','_isPopupSelectionStillActive','after','rootTextColor','deviceType','boards-mind-ui.toolbar.panel.line','renderContext','_executeChildDragAction','objectAlpha','moveTo','getTransformerByCreate','with','84492PCNPrN','true','documentStyle','placement','_createQuoteShortcut','_getSelectedMindMapContext','_pasteUnderSelectedNode','run','hostSize','unsubscribe','_resetContext','_note','boards-mind-ui.alignBottom','_addChild','hypot','1664824chUPTy','_drawConnectorPreview','_stateService','boards-mind-ui.alignTop','left','_syncElementDataToScene','gap','_findChildNodeAtPoint','_copySelectedNode','_childDragActivated','board.operation.mind-map.keyboard-shortcut','univer-max-w-[min(760px,calc(100vw-32px))]','onPointerMove$','dot','shapeData','FOCUSING_MIND_MAP_NODE','more','symbol','FOCUSING_MIND_MAP_TEXT_EDITOR','add-child-top','[&_input]:univer-h-12\x20[&_input]:univer-text-base','onPointerUp$','depth','sourceBounds','visible','small','activeEditingId','ARROW_DOWN','getPayload','action','fillText','constructor','direction','boundsByElementId','entries','_resolveIncomingConnectorStyle','ghostRadius','JUSTIFIED','orderKey','focusUnit','toolbar','_applyScopeTranslation','scaleY','layout-panel-divider','filter','params','branch-curve','_state','disposeWithMe','scene','childNodeId','LEFT','dispose','univer-h-auto\x20univer-min-h-12\x20univer-whitespace-normal\x20univer-px-2\x20univer-py-2','getUnitId','createControl$','toggle-collapse','addChildNode','10498960VqbAfZ','_isChildDragPastActivationThreshold','italic','transformByState','foldChildNodes','boards-mind-ui.panel.structureKind.timelineVertical','point','removeEventListener','timeline-vertical','primary','boards-mind-ui.panel.spacing.branchGap','boards-mind-ui.panel.searchNodes','mindmap-vertical','_getPointFromEvent','_textEditingService','opacity','univer-size-full\x20univer-bg-gray-0\x20univer-text-sm\x20univer-text-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-200','targetNodeId','getSnapshot','1618972ixEuTQ','boards-mind-ui.panel.title','_lastPoint','text','_normalizeChildren','horizontalGap','panel','find','span','ignoreExternalFocusChanges','univer-h-12\x20univer-w-32\x20univer-text-base','mindmap','lineWidth','ArrowRight','referenceNodeId','_executeAndLayout','_openSelectedTextEditing','foreignAttributes','branchLineType','rootChildSides','_resolveHostSize','register','textAlign','_objectPointerDisposables','dash','boards-mind-ui.panel.tab.importExport','ArrowDown','textEditingService','_boardTextEditingService','edit-text','branch','updateState','MIDDLE','_capturePointerChildDragStart','univer-h-32\x20univer-resize-none\x20univer-text-sm','addChildGlyphSize','_resolveCurrentBoardContext','boards-mind-ui.panel.rename','_pasteAsNewMindMap','Shape','boards-mind-ui.panel.nodeStyle.','_sidebarService','boards-mind-ui.toolbar.primary.more','timeline','ghostFillColor','boards-mind-ui.panel.structureKind.mindmapHorizontal','ghostBounds','_dragStart','M40\x209v40M40\x2020c8\x200\x2011\x204\x2011\x2011v8M40\x2035c-8\x200-11\x204-11\x2011v4','boards-mind-ui.config','makeDirtyNoDebounce','boards-mind-ui.toolbar.action.layout','isFinite','surfaceColor','univer-flex\x20univer-min-w-0\x20univer-flex-1\x20univer-gap-2','removeObjects','connectorAffordance','attachPopupToObject','beginMindMapMode','textColor','_boardCanvasPopManagerService','arrow-left','board-mind-map-node-controls-object','state$','boards-mind-ui.panel.pasteOPML','color','delete','_init','connectorAlpha','textBaseline','setActiveTool','OPERATION','fillStyle','viewing','setLineDash','selectElements','board.mind-map.floating-toolbar','_disposeActivePointerDragListeners','sort','BACKSPACE','zoomRatio','_syncControls','_activeScopeId','boards-mind-ui.panel.structureKind.treeRight','_syncContext','boards-mind-ui.toolbar.primary.fontColor','subscribeEvent','univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','push','px\x20','univer-flex-wrap','TOP','boards-mind-ui.panel.tab.structure','commandService','collapsed','_consumePointerEvent','univer-size-5','all','_createTopologyBoundsByElementId','_injector','nodeHeight','univer-flex\x20univer-flex-col\x20univer-gap-1','add-sibling-or-child','paste','registerRuntimeScopedDependencies','kind','vertical','univer-min-h-12\x20univer-px-3','_navigateByTopology','_activePreview','from','setTemplate','SHIFT','round','boards-mind-ui.toolbar.action.paste','_isActive','fallbackNodeHeight','_renderManagerService','siblingDotRadius','collapsedDescendantCount','univer-space-y-1','_configService','icon','_toFiniteBounds','1.8','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','solid','layout','textStyle','205VputJw','univer-flex-1\x20univer-text-sm','newParentNodeId','univer-text-xs','badgeFontSize','detachWhenNoSnap','structure','_objectEventDisposables','0\x200\x2024\x2024','stroke','scopeId','sourceHighlightFillColor','changing$','zIndex','6\x207','add-sibling-after','registerCommand','univer-min-h-12\x20univer-text-base','_cloneBlueprint','M15\x2031h50M35\x2031V18c0-4\x203-7\x208-7h9M35\x2031v13c0\x204\x203\x207\x208\x207h9','_dragPreviewObject','_getBoardPointFromEvent','makeDirty','branch-rounded-orthogonal','renderGhostNode','key','univer-h-28\x20univer-resize-none','defineProperty','then','Mind\x20map','nodeId','boards-mind-ui.panel.branchLineType.roundedOrthogonal','_restoreObjectToDragStart','dividerBefore','univer-text-xs\x20univer-text-gray-400\x20dark:!univer-text-gray-500','addChildRadius','timeline-horizontal','_attachObjectPointerScheduled','boards-mind-ui.panel.cancel','_resolveControlBounds','Timeline','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','hasChildren','_scheduleAttachObjectPointerListeners','boards-mind-ui.toolbar.action.fontColor','parentNodeId','boards-mind-ui.panel.exportOPML','setEditing','_isPointInBounds','children','dataTransfer','_template','add','add-child-left','SolidLine','_captureDragStart','arrow-up','dashType','getContextValue','primaryColor','prototype','_getPointerLiveBounds','collapseAllNodes','_getElementKey','findIndex','strokeWidth','_syncPointerChildDragPreview','shapeText','siblingGap','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','allowRootReparent','shapeId','setConfig','boards-mind-ui.panel.tab.','hide','_ensureObject','_openDescriptionDialog','_provider','navigator','number','_popupSelectionKey','parentBounds','meta','div','getState','setHoveredControl','strokeStyle','_syncRootScopePreview','_queuedLayouts','dropdown','globalAlpha','render','editingParams$','isRoot','_addSiblingOrChild','addSibling','section','iterator','quadraticCurveTo','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','univer-mb-3\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-gray-100','boards-mind-ui.alignLeft','univer-space-y-2','right','enabled','elementUpdate$','mind-map-fill','_nodeSizeByKey','rootWidth','boards-mind-ui.panel.emptyNodes','tree-right','_ensurePreviewObject','_cancelPointerChildDrag','asObservable','refresh$','badgeFontWeight','445106bfbqjQ','panOffset','top','univer-grid-cols-3','save','_queueLayout','dialogService','copy','MindMap','beginPath','registerShortcut','buttons','fontSize','M17\x2033h21M38\x2017v30M38\x2017h24','collapse-all','boards-mind-ui.cancel','createRunner','getOwnPropertyDescriptor','addDescription','TRUE','rootHeight','boards-mind-ui.toolbar.action.addSibling','changeStart$','selectedIds','default','unshift','custom','registerRenderModule','isHit','_childDragSelectionHidden','boards-mind-ui.panel.structureKind.mindmapVertical','_lastChildDragAction','boards-mind-ui.description','_disposed','fill','univer-flex\x20univer-items-center\x20univer-gap-1\x20univer-truncate\x20univer-rounded\x20univer-py-1\x20univer-text-left\x20univer-text-gray-800','horizontalAlign','map','_sidebarDisposable','decorate','verticalAlign','_initEditingRestore','call','boards-mind-ui.panel.importOPML','setShapeSidebarOpen','_consumeControlEvent','tools','univer-min-h-12\x20univer-flex-1','boards-mind-ui.alignMiddle','underline','_syncDragPreview','_resolveDirtyBounds','mindmap-horizontal','_ensureDragPreviewObject','open-description','univer-w-full\x20univer-text-base','offsetX','univer-h-9\x20univer-w-12','oldShapeText','interactionMode','univer-w-24','success','executeCommand','getActivePageId','move','keys','univer-space-y-3','_resolveCompleteSelectedScope','boards-mind-ui.toolbar.action.addChild','_getMindMapChildren','_handlePointerDown','M42\x2012v32M42\x2020c0\x204-3\x206-7\x206h-7M42\x2030c0\x204\x203\x206\x207\x206h7M42\x2039c0\x204-3\x206-7\x206h-7','preview','M20\x2025h13M20\x2035h13M20\x2045h13','M24\x2012v32M24\x2019c0\x204\x203\x206\x207\x206h7M24\x2029c0\x204\x203\x206\x207\x206h7M24\x2039c0\x204\x203\x206\x207\x206h7','notify','_enableMindMapToolbarTool','structured','_getSceneObject','Solid','popup','scaleX','pluginName','M56\x2011h11M56\x2051h11','_attachObjectPointerListeners','boards-mind-ui.panel.branchLineType.orthogonal','getBoundingClientRect','board-mind-map-drag-preview-object','_executeRootAnchoredLayout','onPointerCancel$','close','height','hoveredControl','elementAdd$','_resolvePreviewTextStyle','title','Dash','_insertStateService','getUnit','univer-flex\x20univer-gap-2','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','unitId','requestRender','onCommandExecuted','includes','add-sibling-before','univer-min-w-[240px]','1LzgrDB','_syncPreviewObject','_previewHostSize','_registerComponents','boards-mind-ui.panel.addText','_drawSourceHighlight','lineCap','_syncRootReparentPreview','_removeObject','_syncChildDragPreview','branchGap','getObject','_getDependencies','currentColor','object','hideRootControls','pointercancel','_executeNodeOperation','evented','univer-min-h-12\x20univer-w-full\x20univer-justify-between','_layoutFlushScheduled','_getLiveObjectBounds','join','clientY','getSelectedObjectMap','button','onDblclick$','collapsePlusMinDistance','setPendingInsert','borderWidth','pointerup','_activePointerDragDisposables','boards-mind-ui.toolbar.action.delete','focusedId','_getPointerScreenPoint','rounded-orthogonal','context','add-child','4742100VrAZfZ','forEach','elementStateService','getObjectIncludeInGroup','board-mind-map-description-dialog','UNIVER_BOARD','_showPopupForSelection','textFill','rootNodeId','getHitControl','_pointerDragStart','mind-map','has','rootRadius','_getRenderModules','getElementDataForUnit','ghostTextColor','visualRadius','set','Select','_interactionSurfaceService','length','defaultValue','_insertMindMap','univer-w-20\x20univer-shrink-0','liveRootBounds','structureScopeId','top-center','importExport','boards-mind-ui.alignRight','_renderContext','boards-mind-ui.toolbar.action.','before','getAncestorScale','bold','_buildPopupSelectionKey','labelKey','updateElement','element','none','_executeCreateAndEdit','boards-mind-ui.alignJustify','dragObjectAlpha','getScene','circle','univer-mb-4','getEditing','univer-flex\x20univer-flex-col\x20univer-gap-2','glyphWidth','_resolveArrowNavigationTarget','_uiStateService','univer-w-full\x20univer-text-xs','restore','univer-size-6\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200','fonts$','_elementStateService','_cloneBlueprintNode','arrow-right','_handlePointerMove','boards-mind-ui.toolbar.panel.more','ArrowUp','boards-mind-ui.panel.spacing.parentGap','slice','_shortcutService','_object','strikethrough','preventDefault','FOCUSING_MIND_MAP_BLANK_BOARD','effectAllowed','_localeService','structureKind','interactionSurfaceActive$','snapDistance','arrow-down','board.mind-map.panel','siblingGlyphSize','radius','uiStateService','ARROW_UP','line','boards-mind-ui.panel.spacing.siblingGap','dataModel','_subscribeElementDataChanges','max','_deleteSelectedNode','boards-mind-ui.toolbar.panel.typography','canvas','item','getConfig','trim','boards-mind-ui.panel.structureKind.treeLeft','boards-mind-ui.panel.nodeStyle.fontSize','paste-as-new','tree-alternate','addEventListener','transientPreviewForeground','scope','rootText','DELETE','univer-w-32','abs','ghost','label','type','handleShortcut','repeat(','_resolveControlSide'];_0x1917=function(){return _0x2bd99c;};return _0x1917();}let Vr=class extends _0xd5b999{constructor(_0x272f29,_0x5d0b0a,_0x23d2a0,_0x178063,_0x213103){const _0x55d6d9=_0x303e32;super(),this[_0x55d6d9(0x34f)]=_0x272f29,this[_0x55d6d9(0x12e)]=_0x5d0b0a,this[_0x55d6d9(0x368)]=_0x23d2a0,this[_0x55d6d9(0x1a6)]=_0x178063,this[_0x55d6d9(0x430)]=_0x213103,K(this,'_isActive',!0x1),this['disposeWithMe'](_0x502ac1(this[_0x55d6d9(0x34f)]['activated$'][_0x55d6d9(0x3c0)](_0x24fd2b(this[_0x55d6d9(0x401)]))[_0x55d6d9(0x3b6)](_0xe5a3e4=>{const _0x400437=_0x55d6d9;this[_0x400437(0x21e)]=_0xe5a3e4,this['_syncContext']();}))),this[_0x55d6d9(0x18e)](_0x502ac1(this[_0x55d6d9(0x368)][_0x55d6d9(0x1ea)][_0x55d6d9(0x3c0)](_0x24fd2b(this['dispose$']))[_0x55d6d9(0x3b6)](()=>{const _0x4b4b2d=_0x55d6d9;this[_0x4b4b2d(0x1ff)]();}))),this['disposeWithMe'](_0x502ac1(this[_0x55d6d9(0x1a6)]['editingParams$'][_0x55d6d9(0x3c0)](_0x24fd2b(this['dispose$']))[_0x55d6d9(0x3b6)](()=>{const _0x464d9c=_0x55d6d9;this[_0x464d9c(0x1ff)]();}))),this[_0x55d6d9(0x1ff)]();}[_0x303e32(0x1ff)](){const _0x471b6d=_0x303e32;var _0x62937a,_0x43c681;let _0x4fde22=this[_0x471b6d(0x368)][_0x471b6d(0x1aa)](),_0x29dd85=this['_textEditingService'][_0x471b6d(0x35f)](),_0x2f82e7=_0x29dd85!=null&&_0x29dd85[_0x471b6d(0x176)]?_0x29dd85['shapeId']:_0x4fde22[_0x471b6d(0x178)],_0x43a989=_0x4fde22[_0x471b6d(0x32c)]??_0x4fde22[_0x471b6d(0x2b7)][0x0],_0x20cc63=_0x4fde22['context']??{'unitId':this[_0x471b6d(0x34f)][_0x471b6d(0x305)],'subUnitId':this[_0x471b6d(0x34f)][_0x471b6d(0x118)][_0x471b6d(0x2df)]()},_0x24f78f=this[_0x471b6d(0x21e)]&&!!_0x43a989&&_0x4fde22['selectedIds'][_0x471b6d(0x346)]===0x1&&!_0x2f82e7&&!_0x4fde22['isTransforming'],_0x4767e9=this[_0x471b6d(0x21e)]?this[_0x471b6d(0x12e)][_0x471b6d(0x3c7)](_0x20cc63[_0x471b6d(0x305)],_0x20cc63[_0x471b6d(0x437)]):{};this[_0x471b6d(0x430)][_0x471b6d(0x415)](Mn,_0x24f78f&&!!_0x5b8eed((_0x62937a=_0x4767e9[_0x43a989])==null?void 0x0:_0x62937a[_0x471b6d(0x357)])),this[_0x471b6d(0x430)]['setContextValue'](Nn,this[_0x471b6d(0x21e)]&&_0x4fde22['selectedIds'][_0x471b6d(0x346)]===0x0&&!_0x4fde22[_0x471b6d(0x32c)]&&!_0x2f82e7&&!_0x4fde22[_0x471b6d(0x427)]),this[_0x471b6d(0x430)][_0x471b6d(0x415)](Rr,!!_0x2f82e7&&!!_0x5b8eed((_0x43c681=_0x4767e9[_0x2f82e7])==null?void 0x0:_0x43c681[_0x471b6d(0x357)]));}[_0x303e32(0x192)](){const _0x1c2da9=_0x303e32;this[_0x1c2da9(0x159)](),super[_0x1c2da9(0x192)]();}[_0x303e32(0x159)](){const _0x1d82a3=_0x303e32;Br[_0x1d82a3(0x332)](_0x4a566c=>this[_0x1d82a3(0x430)][_0x1d82a3(0x415)](_0x4a566c,!0x1));}};Vr=J([q(0x1,_0x4b1a3e(_0x5648dc)),q(0x2,_0x4b1a3e(_0x2f7d9b)),q(0x3,_0x4b1a3e(_0x5ae2fd)),q(0x4,_0x2bb0be)],Vr);var Hr=class extends wr{async[_0x303e32(0x2e6)](_0x30b1ab,_0x33447c,_0x3af5fe){const _0x35e36c=_0x303e32;await this[_0x35e36c(0x348)](_0x30b1ab,_0x33447c,_0x3af5fe);}};const Ur={'id':_0x303e32(0x3e3),'type':_0x19a3b2[_0x303e32(0x1f2)],'handler':(_0x567d0d,_0x45f26d)=>!!(_0x45f26d!=null&&_0x45f26d['unitId'])&&!!_0x45f26d[_0x303e32(0x437)]&&!!_0x45f26d[_0x303e32(0x236)]},Wr=_0x303e32(0x37b),Gr=['structure',_0x303e32(0x22a),'importExport'];_0x314ab2[_0x303e32(0x1b0)],_0x314ab2[_0x303e32(0x270)],_0x314ab2['branchGap'];const Kr=[{'labelKey':_0x303e32(0x36e),'key':_0x303e32(0x1b0),..._0x116f01['horizontalGap']},{'labelKey':_0x303e32(0x381),'key':_0x303e32(0x270),..._0x116f01[_0x303e32(0x270)]},{'labelKey':_0x303e32(0x1a2),'key':'branchGap',..._0x116f01[_0x303e32(0x315)]}],qr=[{'labelKey':'boards-mind-ui.panel.layout.right','value':_0x303e32(0x293)},{'labelKey':'boards-mind-ui.panel.layout.left','value':'left'},{'labelKey':_0x303e32(0x3be),'value':_0x303e32(0x3c6)}],Jr=[{'labelKey':_0x303e32(0x1d8),'value':_0x303e32(0x2d4)},{'labelKey':_0x303e32(0x2be),'value':_0x303e32(0x1a4)},{'labelKey':_0x303e32(0x1fe),'value':_0x303e32(0x29a)},{'labelKey':'boards-mind-ui.panel.structureKind.treeLeft','value':_0x303e32(0x405)},{'labelKey':_0x303e32(0x120),'value':_0x303e32(0x38e)},{'labelKey':'boards-mind-ui.panel.structureKind.timelineHorizontal','value':_0x303e32(0x250)},{'labelKey':_0x303e32(0x19d),'value':_0x303e32(0x1a0)}],Yr=[{'labelKey':_0x303e32(0x408),'value':'curve'},{'labelKey':'boards-mind-ui.panel.branchLineType.roundedOrthogonal','value':_0x303e32(0x32e)},{'labelKey':_0x303e32(0x2f5),'value':'orthogonal'}];function Xr(_0x360044){const _0x4833f4=_0x303e32;let _0xb3480b=(_0x360044==null?void 0x0:_0x360044[_0x4833f4(0x377)])??_0x314ab2['structureKind'];return{'spacing':{'horizontalGap':(_0x360044==null?void 0x0:_0x360044['horizontalGap'])??_0x314ab2[_0x4833f4(0x1b0)],'siblingGap':(_0x360044==null?void 0x0:_0x360044[_0x4833f4(0x270)])??_0x314ab2['siblingGap'],'branchGap':(_0x360044==null?void 0x0:_0x360044[_0x4833f4(0x315)])??_0x314ab2[_0x4833f4(0x315)]},'direction':(_0x360044==null?void 0x0:_0x360044[_0x4833f4(0x17e)])??_0x314ab2[_0x4833f4(0x17e)],'structureKind':_0xb3480b,'branchLineType':_0x3b0722(_0xb3480b,_0x360044==null?void 0x0:_0x360044[_0x4833f4(0x1bd)])};}async function Zr(_0x3f814a,_0x49248a){const _0x126b81=_0x303e32;return await Promise[_0x126b81(0x3c3)](_0x3f814a[_0x126b81(0x2de)](_0x50dd3d['id'],_0x49248a))?(await Promise[_0x126b81(0x3c3)](_0x3f814a[_0x126b81(0x2de)](_0x47042e['id'],{'unitId':_0x49248a['unitId'],'subUnitId':_0x49248a[_0x126b81(0x437)],'scopeId':_0x49248a[_0x126b81(0x236)]})),!0x0):!0x1;}async function Qr(_0x150940,_0x3435cb){const _0xc0b3cb=_0x303e32;return await Promise[_0xc0b3cb(0x3c3)](_0x150940[_0xc0b3cb(0x2de)](_0x41e3f9['id'],_0x3435cb))?(await Promise[_0xc0b3cb(0x3c3)](_0x150940[_0xc0b3cb(0x2de)](_0x47042e['id'],{'unitId':_0x3435cb[_0xc0b3cb(0x305)],'subUnitId':_0x3435cb[_0xc0b3cb(0x437)],'scopeId':_0x3435cb[_0xc0b3cb(0x236)]})),!0x0):!0x1;}async function $r(_0x469afe,_0x13e461){const _0x31d17c=_0x303e32;return await Promise[_0x31d17c(0x3c3)](_0x469afe['executeCommand'](_0x50dd3d['id'],{'unitId':_0x13e461['unitId'],'subUnitId':_0x13e461[_0x31d17c(0x437)],'scopeId':_0x13e461[_0x31d17c(0x236)],..._0x13e461[_0x31d17c(0x1b0)]===void 0x0?{}:{'horizontalGap':_0x13e461[_0x31d17c(0x1b0)]},..._0x13e461['siblingGap']===void 0x0?{}:{'siblingGap':_0x13e461[_0x31d17c(0x270)]},..._0x13e461[_0x31d17c(0x315)]===void 0x0?{}:{'branchGap':_0x13e461[_0x31d17c(0x315)]}}))?(await Promise[_0x31d17c(0x3c3)](_0x469afe[_0x31d17c(0x2de)](_0x47042e['id'],{'unitId':_0x13e461[_0x31d17c(0x305)],'subUnitId':_0x13e461[_0x31d17c(0x437)],'scopeId':_0x13e461[_0x31d17c(0x236)]})),!0x0):!0x1;}async function ei(_0x4b5502,_0x426fd1){const _0x464db1=_0x303e32;return _0x426fd1[_0x464db1(0x24a)]===_0x426fd1[_0x464db1(0x1a9)]||!await Promise[_0x464db1(0x3c3)](_0x4b5502[_0x464db1(0x2de)](_0x58c28a['id'],{'unitId':_0x426fd1['unitId'],'subUnitId':_0x426fd1[_0x464db1(0x437)],'nodeId':_0x426fd1[_0x464db1(0x24a)],'targetNodeId':_0x426fd1[_0x464db1(0x1a9)],'referenceNodeId':_0x426fd1['targetNodeId'],'placement':_0x426fd1[_0x464db1(0x152)]}))?!0x1:(await Promise['resolve'](_0x4b5502[_0x464db1(0x2de)](_0x47042e['id'],{'unitId':_0x426fd1[_0x464db1(0x305)],'subUnitId':_0x426fd1[_0x464db1(0x437)],'scopeId':_0x426fd1[_0x464db1(0x236)]})),!0x0);}async function ti(_0x88b3a8,_0x4f3044){const _0x148425=_0x303e32;let _0x23731f=_0x4f3044['text']['trim']();return!_0x23731f||!await Promise[_0x148425(0x3c3)](_0x88b3a8[_0x148425(0x2de)](_0x274fe8['id'],{'unitId':_0x4f3044[_0x148425(0x305)],'subUnitId':_0x4f3044[_0x148425(0x437)],'nodeId':_0x4f3044[_0x148425(0x24a)],'text':_0x23731f}))?!0x1:(await Promise['resolve'](_0x88b3a8['executeCommand'](_0x47042e['id'],{'unitId':_0x4f3044[_0x148425(0x305)],'subUnitId':_0x4f3044['subUnitId'],'scopeId':_0x4f3044[_0x148425(0x236)]})),!0x0);}async function ni(_0x5a31fe){const _0x30948a=_0x303e32;var _0x4cfde9;let _0x3239c4=(_0x4cfde9=globalThis[_0x30948a(0x27a)])==null?void 0x0:_0x4cfde9['clipboard'];return _0x3239c4!=null&&_0x3239c4['writeText']?(await _0x3239c4['writeText'](_0x5a31fe),!0x0):!0x1;}async function ri(_0x1db4b8,_0xfcc629,_0x69c90d=ni){const _0x5b49e3=_0x303e32;let _0x4d93ff=await Promise[_0x5b49e3(0x3c3)](_0x1db4b8['executeCommand'](_0x45c484['id'],_0xfcc629));if(typeof _0x4d93ff!=_0x5b49e3(0x121)||!_0x4d93ff)return!0x1;try{return await _0x69c90d(_0x4d93ff)!==!0x1;}catch{return!0x1;}}async function ii(_0x2d589b,_0x3b8a2d){const _0x17b469=_0x303e32;return _0x3b8a2d['opml'][_0x17b469(0x38a)]()?(await _0x2d589b[_0x17b469(0x2de)](_0x12520c['id'],_0x3b8a2d))[_0x17b469(0x2dd)]:!0x1;}function ai(_0x51637d,_0x46aed4){const _0x27cadb=_0x303e32;let _0x5f3ecb=_0x27cadb(0x16c)in _0x51637d[_0x27cadb(0x357)]?_0x51637d[_0x27cadb(0x357)]['shapeData'][_0x27cadb(0x26f)]:void 0x0;return(_0x5f3ecb==null?void 0x0:_0x5f3ecb['text'])||_0x46aed4;}function oi(_0x2c43b3,_0xd87793,_0x4ff1e9=_0x6d2fad){const _0x128e2b=_0x303e32;let _0x44ad28=Object[_0x128e2b(0x12b)](_0x2c43b3)[_0x128e2b(0x2c5)](_0x3b4759=>{const _0x3c80eb=_0x128e2b;let _0x3d0e8f=_0x5b8eed(_0x3b4759[_0x3c80eb(0x357)]);return(_0x3d0e8f==null?void 0x0:_0x3d0e8f[_0x3c80eb(0x34b)])===_0xd87793?{'data':_0x3b4759,'meta':_0x3d0e8f}:null;})[_0x128e2b(0x18a)](_0x2f35a5=>!!_0x2f35a5),_0x15ed8a=new Map();_0x44ad28[_0x128e2b(0x332)](_0x439ab8=>{const _0x423b57=_0x128e2b;let _0x3a90f2=_0x439ab8[_0x423b57(0x27e)][_0x423b57(0x259)];_0x15ed8a[_0x423b57(0x343)](_0x3a90f2,[..._0x15ed8a[_0x423b57(0x409)](_0x3a90f2)??[],_0x439ab8]);}),_0x15ed8a[_0x128e2b(0x332)](_0x54bdd3=>{const _0x45205d=_0x128e2b;_0x54bdd3[_0x45205d(0x1f9)]((_0x23225e,_0x3c9afe)=>_0x41fedd(_0x23225e[_0x45205d(0x27e)][_0x45205d(0x184)],_0x3c9afe[_0x45205d(0x27e)][_0x45205d(0x184)])||_0x23225e['data'][_0x45205d(0x3f5)][_0x45205d(0x40c)](_0x3c9afe[_0x45205d(0x130)][_0x45205d(0x3f5)]));});let _0x176041=[],_0x424125=(_0x2fc714,_0xdc8125)=>{const _0x4ddbdc=_0x128e2b;(_0x15ed8a[_0x4ddbdc(0x409)](_0x2fc714)??[])[_0x4ddbdc(0x332)](_0xbebf41=>{const _0x3048bc=_0x4ddbdc;_0x176041[_0x3048bc(0x203)]({'nodeId':_0xbebf41[_0x3048bc(0x130)][_0x3048bc(0x3f5)],'depth':_0xdc8125,'text':ai(_0xbebf41['data'],_0x4ff1e9)}),_0x424125(_0xbebf41[_0x3048bc(0x130)]['elementId'],_0xdc8125+0x1);});};return _0x424125(null,0x0),_0x176041;}function si(_0x4bdef6,_0xe10f1a){const _0x2c7fd2=_0x303e32;let _0x539620=_0xe10f1a[_0x2c7fd2(0x38a)]()['toLowerCase']();return _0x539620?_0x4bdef6[_0x2c7fd2(0x18a)](_0x38d5af=>_0x38d5af[_0x2c7fd2(0x1ae)]['toLowerCase']()[_0x2c7fd2(0x308)](_0x539620)):_0x4bdef6;}function ci(_0x49634b){const _0x44faab=_0x303e32;return{'paddingInlineStart':0x8+(Number[_0x44faab(0x1df)](_0x49634b)&&_0x49634b>0x0?_0x49634b:0x0)*0x10};}function li(_0x83af5c){const _0x1155cf=_0x303e32;return _0x5de246(_0xc43e53,{'className':_0x1155cf(0x364),..._0x83af5c});}function ui(_0xef1bc9){const _0x318db3=_0x303e32;return _0x2bf1e8(_0x318db3(0x28c),{'className':_0x2509f8(_0x318db3(0x3a6),_0x39be21),'data-board-mind-map-panel-section':_0x318db3(0x150),'children':[_0x5de246('h3',{'className':_0x318db3(0x290),'children':_0xef1bc9['title']}),_0xef1bc9[_0x318db3(0x25d)]]});}function di(_0x34b1c2,_0x3f5412=_0x303e32(0x232)){const _0x300cb8=_0x303e32;var _0x37d71d,_0xa1d30a,_0x28da4f;let _0x90151d=_0x3ebafe(_0x18b2f8),_0x334643=_0x3ebafe(_0x2f7d9b),_0x8e85b0=_0x3ebafe(_0x5648dc),_0x3e3540=_0x3ebafe(_0x51902b),[,_0x2849de]=_0x5b65d2(_0x121e9b=>_0x121e9b+0x1,0x0);_0x8d1f4a(()=>{const _0x48f147=_0x2923;let _0x2d7b5b=_0x285c97(_0x8e85b0[_0x48f147(0x2fd)],_0x8e85b0[_0x48f147(0x295)],_0x8e85b0['elementRemove$'])[_0x48f147(0x3b6)](_0x394b4f=>{const _0x1024b1=_0x48f147;_0x394b4f['some'](_0x2baa32=>_0x2baa32[_0x1024b1(0x305)]===_0x34b1c2[_0x1024b1(0x305)]&&_0x2baa32['subUnitId']===_0x34b1c2[_0x1024b1(0x437)])&&_0x2849de();});return()=>_0x2d7b5b['unsubscribe']();},[_0x8e85b0,_0x34b1c2[_0x300cb8(0x305)],_0x34b1c2[_0x300cb8(0x437)]]);let _0x621c10=_0x8e85b0[_0x300cb8(0x3c7)](_0x34b1c2[_0x300cb8(0x305)],_0x34b1c2['subUnitId']),_0x4ec844=oi(_0x621c10,_0x34b1c2['scopeId'],_0x3e3540['t'](_0x300cb8(0x30f))),_0x54b284=(_0x37d71d=_0xb789bf((_0xa1d30a=_0x621c10[_0x34b1c2[_0x300cb8(0x236)]])==null?void 0x0:_0xa1d30a[_0x300cb8(0x357)]))==null?void 0x0:_0x37d71d['layout'],[_0x2be96f,_0x259a12]=_0x3322bd(''),[_0x332c0b,_0x3deb92]=_0x3322bd(null),[_0x2ffa8d,_0x125ce5]=_0x3322bd(''),{spacing:_0x10bd64,direction:_0x1dc264,structureKind:_0x965361,branchLineType:_0x1e7f4c}=Xr(_0x54b284),[_0x2e8184,_0x58f434]=_0x3322bd(null),[_0x28a096,_0x4447bc]=_0x3322bd(_0x3f5412),_0x1644c5=si(_0x4ec844,_0x2be96f),_0x4748f9={'unitId':_0x34b1c2[_0x300cb8(0x305)],'subUnitId':_0x34b1c2[_0x300cb8(0x437)],'scopeId':_0x34b1c2['scopeId']};return{'commandService':_0x90151d,'elementStateService':_0x334643,'localeService':_0x3e3540,'query':_0x2be96f,'setQuery':_0x259a12,'editingOutlineNode':_0x332c0b,'setEditingOutlineNode':_0x3deb92,'opmlText':_0x2ffa8d,'setOpmlText':_0x125ce5,'spacing':_0x10bd64,'layoutDirection':_0x1dc264,'structureKind':_0x965361,'branchLineType':_0x1e7f4c,'setDraggedOutlineNodeId':_0x58f434,'activeTab':_0x28a096,'setActiveTab':_0x4447bc,'visibleOutlineItems':_0x1644c5,'baseParams':_0x4748f9,'tabItems':Gr[_0x300cb8(0x2c5)](_0x217a92=>({'label':_0x3e3540['t'](_0x300cb8(0x275)+_0x217a92),'value':_0x217a92})),'selectedNode':_0x34b1c2['nodeId']?(_0x28da4f=_0x621c10[_0x34b1c2[_0x300cb8(0x24a)]])==null?void 0x0:_0x28da4f[_0x300cb8(0x357)]:void 0x0,'branchLineItems':Yr[_0x300cb8(0x18a)](_0x94c010=>_0x94c010[_0x300cb8(0x3f2)]!==_0x300cb8(0x3cb)||_0x1c3d5d(_0x965361)),'changeLayout':_0x1fc4bf=>Zr(_0x90151d,{..._0x4748f9,'direction':_0x1fc4bf}),'changeStructureKind':_0x25a3a5=>{let _0x1b448e=_0x3b0722(_0x25a3a5,_0x1e7f4c);return Zr(_0x90151d,{..._0x4748f9,'structureKind':_0x25a3a5,..._0x1b448e===_0x1e7f4c?null:{'branchLineType':_0x1b448e}});},'changeBranchLineType':_0x4087f5=>{let _0x2051fd=_0x3b0722(_0x965361,_0x4087f5);return Qr(_0x90151d,{..._0x4748f9,'branchLineType':_0x2051fd});},'changeSpacing':(_0x2bf7bc,_0x1d7628)=>{let _0x1632b9={..._0x10bd64,[_0x2bf7bc]:_0x1d7628};return $r(_0x90151d,{..._0x4748f9,..._0x1632b9});},'importOpml':()=>{const _0x523cbb=_0x300cb8;ii(_0x90151d,{'unitId':_0x34b1c2[_0x523cbb(0x305)],'subUnitId':_0x34b1c2[_0x523cbb(0x437)],'left':0x78,'top':0x78,'opml':_0x2ffa8d})[_0x523cbb(0x248)](_0x39f990=>{_0x39f990&&_0x125ce5('');});},'exportOpml':()=>ri(_0x90151d,_0x4748f9),'startRenameNode':(_0x525590,_0x202db9)=>{_0x3deb92({'nodeId':_0x525590,'text':_0x202db9});},'commitRenameNode':()=>{const _0x8cc305=_0x300cb8;_0x332c0b&&ti(_0x90151d,{..._0x4748f9,'nodeId':_0x332c0b[_0x8cc305(0x24a)],'text':_0x332c0b['text']})[_0x8cc305(0x248)](_0x29c18a=>{_0x29c18a&&_0x3deb92(null);});},'reorderNode':(_0x4f7e36,_0x584df5)=>{const _0x51e7e2=_0x300cb8;if(_0x4f7e36[_0x51e7e2(0x373)](),!_0x2e8184||_0x2e8184===_0x584df5)return;let _0x52f563=_0x4f7e36['currentTarget'][_0x51e7e2(0x2f6)](),_0x2b6cb2=_0x4f7e36['clientY']<_0x52f563[_0x51e7e2(0x2a2)]+_0x52f563[_0x51e7e2(0x2fb)]/0x2?_0x51e7e2(0x351):'after';_0x58f434(null),ei(_0x90151d,{..._0x4748f9,'nodeId':_0x2e8184,'targetNodeId':_0x584df5,'placement':_0x2b6cb2});}};}function fi(_0x2c67dd){const _0x16eee8=_0x303e32;let {elementStateService:_0x2cdc94,localeService:_0x36b078,query:_0x17bfca,setQuery:_0x2a2fb2,editingOutlineNode:_0x56fc5b,setEditingOutlineNode:_0x522ac0,opmlText:_0x4dbe16,setOpmlText:_0x5ae0e0,spacing:_0x5a413a,layoutDirection:_0x567889,structureKind:_0x3fc410,branchLineType:_0x1c9da6,setDraggedOutlineNodeId:_0x3fe634,activeTab:_0x24b007,setActiveTab:_0x2254b9,visibleOutlineItems:_0x5958fb,tabItems:_0x12d5bf,branchLineItems:_0x98b876,changeLayout:_0x57f9f8,changeStructureKind:_0x2b598a,changeBranchLineType:_0x8a6e2c,changeSpacing:_0x2e8ed2,importOpml:_0xf48d90,exportOpml:_0x113396,startRenameNode:_0x587580,commitRenameNode:_0x6a5341,reorderNode:_0x422c19}=di(_0x2c67dd);return _0x2bf1e8(_0x16eee8(0x27f),{'className':_0x16eee8(0x1a8),'data-board-mind-map-panel':_0x16eee8(0x150),'children':[_0x5de246(_0x16eee8(0x27f),{'className':_0x2509f8('univer-border-b\x20univer-border-gray-200\x20univer-p-3',_0x39be21),'data-board-mind-map-panel-tabs':_0x16eee8(0x150),'children':_0x5de246(li,{'items':_0x12d5bf,'value':_0x24b007,'onChange':_0x204f9e=>_0x2254b9(_0x204f9e)})}),_0x24b007===_0x16eee8(0x232)&&_0x5de246(ui,{'title':_0x36b078['t'](_0x16eee8(0x207)),'children':_0x2bf1e8(_0x16eee8(0x27f),{'children':[_0x5de246(_0xfa467d,{'slot':_0x5de246(_0x4d5263,{}),'value':_0x17bfca,'placeholder':_0x36b078['t'](_0x16eee8(0x1a3)),'className':_0x2509f8(_0x16eee8(0x3e9),!0x1),'onChange':_0x2a2fb2}),_0x5958fb[_0x16eee8(0x346)]?_0x5de246('ol',{'className':_0x16eee8(0x223),'children':_0x5958fb[_0x16eee8(0x2c5)](_0x12eca2=>_0x5de246('li',{'draggable':!0x0,'className':_0x16eee8(0x2c3),'style':ci(_0x12eca2[_0x16eee8(0x174)]),'onDragStart':_0x340aa3=>{const _0x4fbcd=_0x16eee8;var _0x55c2a1;_0x3fe634(_0x12eca2[_0x4fbcd(0x24a)]),(_0x55c2a1=_0x340aa3[_0x4fbcd(0x25e)])==null||_0x55c2a1['setData'](_0x4fbcd(0x434),_0x12eca2[_0x4fbcd(0x24a)]),_0x340aa3['dataTransfer']&&(_0x340aa3['dataTransfer'][_0x4fbcd(0x375)]='move');},'onDragOver':_0x7b52a7=>{const _0x4d6fd7=_0x16eee8;_0x7b52a7[_0x4d6fd7(0x373)](),_0x7b52a7[_0x4d6fd7(0x25e)]&&(_0x7b52a7[_0x4d6fd7(0x25e)][_0x4d6fd7(0x3d2)]=_0x4d6fd7(0x2e0));},'onDrop':_0x437290=>_0x422c19(_0x437290,_0x12eca2[_0x16eee8(0x24a)]),'onDragEnd':()=>_0x3fe634(null),'children':(_0x56fc5b==null?void 0x0:_0x56fc5b[_0x16eee8(0x24a)])===_0x12eca2['nodeId']?_0x2bf1e8(_0x16eee8(0x27f),{'className':_0x2509f8(_0x16eee8(0x1e1),_0x16eee8(0x3c9)),'children':[_0x5de246(_0xfa467d,{'autoFocus':!0x0,'size':_0x16eee8(0x177),'className':void 0x0,'value':_0x56fc5b['text'],'onChange':_0x3a7c99=>_0x522ac0({'nodeId':_0x12eca2[_0x16eee8(0x24a)],'text':_0x3a7c99}),'onKeyDown':_0x4e98da=>{const _0x388ebe=_0x16eee8;_0x4e98da[_0x388ebe(0x245)]===_0x388ebe(0x419)&&_0x6a5341(),_0x4e98da[_0x388ebe(0x245)]==='Escape'&&_0x522ac0(null);}}),_0x5de246(_0x245e38,{'className':void 0x0,'size':'small','variant':_0x16eee8(0x1a1),'disabled':!_0x56fc5b[_0x16eee8(0x1ae)][_0x16eee8(0x38a)](),'onClick':_0x6a5341,'children':_0x36b078['t'](_0x16eee8(0x1d0))}),_0x5de246(_0x245e38,{'className':void 0x0,'size':_0x16eee8(0x177),'variant':_0x16eee8(0x2b8),'onClick':()=>_0x522ac0(null),'children':_0x36b078['t'](_0x16eee8(0x252))})]}):_0x2bf1e8(_0xa348f8,{'children':[_0x5de246(_0x245e38,{'size':_0x16eee8(0x177),'variant':_0x16eee8(0x396),'className':_0x2509f8(_0x16eee8(0x433),!0x1),'onClick':()=>_0x2cdc94['selectElements']({'unitId':_0x2c67dd[_0x16eee8(0x305)],'subUnitId':_0x2c67dd[_0x16eee8(0x437)]},[_0x12eca2[_0x16eee8(0x24a)]],_0x12eca2[_0x16eee8(0x24a)]),'children':_0x12eca2[_0x16eee8(0x1ae)]}),_0x5de246(_0x245e38,{'className':_0x2509f8('univer-text-gray-500','univer-text-xs'),'size':_0x16eee8(0x177),'variant':_0x16eee8(0x2b8),'onClick':()=>_0x587580(_0x12eca2[_0x16eee8(0x24a)],_0x12eca2['text']),'children':_0x36b078['t'](_0x16eee8(0x1d0))})]})},_0x12eca2[_0x16eee8(0x24a)]))}):_0x5de246('div',{'className':_0x16eee8(0x24e),'data-board-mind-map-panel-empty-state':_0x16eee8(0x150),'children':_0x36b078['t'](_0x16eee8(0x299))})]})}),_0x24b007==='layout'&&_0x5de246(ui,{'title':_0x36b078['t'](_0x16eee8(0x3c5)),'children':_0x2bf1e8(_0x16eee8(0x27f),{'className':_0x16eee8(0x2e2),'children':[_0x5de246('div',{'className':_0x16eee8(0x303),'children':_0x5de246(li,{'items':Jr[_0x16eee8(0x2c5)](_0x4f490f=>({'label':_0x36b078['t'](_0x4f490f[_0x16eee8(0x355)]),'value':_0x4f490f[_0x16eee8(0x3f2)]})),'value':_0x3fc410,'onChange':_0x564ce7=>_0x2b598a(_0x564ce7)})}),_0x5de246('div',{'className':_0x16eee8(0x303),'children':_0x5de246(li,{'items':qr['map'](_0x1a5b42=>({'label':_0x36b078['t'](_0x1a5b42[_0x16eee8(0x355)]),'value':_0x1a5b42['value']})),'value':_0x567889,'onChange':_0xf83723=>_0x57f9f8(_0xf83723)})}),_0x5de246(_0x16eee8(0x27f),{'className':_0x16eee8(0x303),'children':_0x5de246(li,{'items':_0x98b876[_0x16eee8(0x2c5)](_0x48543e=>({'label':_0x36b078['t'](_0x48543e['labelKey']),'value':_0x48543e[_0x16eee8(0x3f2)]})),'value':_0x1c9da6,'onChange':_0x2e1397=>_0x8a6e2c(_0x2e1397)})}),_0x5de246('div',{'className':_0x16eee8(0x292),'children':Kr[_0x16eee8(0x2c5)](({labelKey:_0x31c72c,key:_0x41f40e,min:_0x2f75d5,max:_0x14626f})=>_0x2bf1e8(_0x16eee8(0x397),{'className':_0x16eee8(0x3e1),'children':[_0x5de246(_0x16eee8(0x1b3),{'className':_0x16eee8(0x349),'children':_0x36b078['t'](_0x31c72c)}),_0x5de246(_0x37d52a,{'controls':!0x0,'inputClassName':void 0x0,'min':_0x2f75d5,'max':_0x14626f,'step':0x4,'value':_0x5a413a[_0x41f40e],'precision':0x0,'className':_0x16eee8(0x2dc),'onChange':_0x3d1e10=>_0x2e8ed2(_0x41f40e,Number(_0x3d1e10??_0x2f75d5))})]},_0x41f40e))})]})}),_0x24b007===_0x16eee8(0x34d)&&_0x5de246(ui,{'title':_0x36b078['t'](_0x16eee8(0x1c4)),'children':_0x2bf1e8(_0x16eee8(0x27f),{'className':_0x16eee8(0x360),'children':[_0x5de246(_0x4d17a6,{'className':_0x2509f8('univer-h-28\x20univer-resize-none',_0x16eee8(0x22f)),'placeholder':_0x36b078['t'](_0x16eee8(0x1eb)),'value':_0x4dbe16,'onValueChange':_0x5ae0e0}),_0x2bf1e8(_0x16eee8(0x27f),{'className':_0x16eee8(0x303),'children':[_0x5de246(_0x245e38,{'className':void 0x0,'size':'small','variant':_0x16eee8(0x1a1),'disabled':!_0x4dbe16[_0x16eee8(0x38a)](),'onClick':_0xf48d90,'children':_0x36b078['t'](_0x16eee8(0x2cb))}),_0x5de246(_0x245e38,{'className':void 0x0,'size':_0x16eee8(0x177),'variant':_0x16eee8(0x2b8),'onClick':_0x113396,'children':_0x36b078['t']('boards-mind-ui.panel.exportOPML')})]})]})})]});}let pi=class extends _0x5a3354{constructor(_0x55f770,_0x36b7f5,_0x9527d0){const _0x22cede=_0x303e32;super(),this[_0x22cede(0x3a7)]=_0x55f770,this[_0x22cede(0x376)]=_0x36b7f5,this[_0x22cede(0x1d4)]=_0x9527d0,K(this,_0x22cede(0x2c6),null),this[_0x22cede(0x18e)](this[_0x22cede(0x3a7)][_0x22cede(0x23c)](Ur)),this['disposeWithMe'](this[_0x22cede(0x3a7)][_0x22cede(0x307)](_0x276237=>{const _0x806bf7=_0x22cede;if(_0x276237['id']!==Ur['id'])return;let _0x29057b=_0x276237[_0x806bf7(0x18b)];_0x29057b&&_0x806bf7(0x305)in _0x29057b&&typeof _0x29057b[_0x806bf7(0x305)]=='string'&&_0x806bf7(0x437)in _0x29057b&&typeof _0x29057b[_0x806bf7(0x437)]==_0x806bf7(0x121)&&_0x806bf7(0x236)in _0x29057b&&typeof _0x29057b[_0x806bf7(0x236)]==_0x806bf7(0x121)&&this[_0x806bf7(0x3fa)]({'unitId':_0x29057b[_0x806bf7(0x305)],'subUnitId':_0x29057b[_0x806bf7(0x437)],'scopeId':_0x29057b[_0x806bf7(0x236)],'nodeId':_0x806bf7(0x24a)in _0x29057b&&typeof _0x29057b[_0x806bf7(0x24a)]==_0x806bf7(0x121)?_0x29057b[_0x806bf7(0x24a)]:void 0x0});}));}['dispose'](){const _0x4196da=_0x303e32;var _0x3ece8c;(_0x3ece8c=this[_0x4196da(0x2c6)])==null||_0x3ece8c['dispose'](),this[_0x4196da(0x2c6)]=null,super[_0x4196da(0x192)]();}[_0x303e32(0x3fa)](_0x474023){const _0x214aaf=_0x303e32;var _0x4641f8;let _0x56f284={'label':Wr,..._0x474023},_0x3c1995={'id':Wr,'layout':_0x214aaf(0x387),'header':{'title':this[_0x214aaf(0x376)]['t']('boards-mind-ui.panel.title')},'width':0x184,'children':_0x56f284,'onClose':()=>{const _0x47fcbf=_0x214aaf;this[_0x47fcbf(0x2c6)]=null;}};(_0x4641f8=this[_0x214aaf(0x2c6)])==null||_0x4641f8[_0x214aaf(0x192)](),this['_sidebarDisposable']=this[_0x214aaf(0x1d4)][_0x214aaf(0x3fa)](_0x3c1995);}};pi=J([q(0x0,_0x18b2f8),q(0x1,_0x4b1a3e(_0x51902b)),q(0x2,_0x4b1a3e(_0x397b3a))],pi);function mi(_0x2b8ffc){const _0x391a7b=_0x303e32;let _0x35c8b5=_0x3ebafe(_0x18b2f8),_0x4de6d5=_0x2b8ffc[_0x391a7b(0x2f0)][_0x391a7b(0x429)];return _0x4de6d5?_0x5de246(_0x16a392,{'shapeRef':{'hostType':_0x3c080c[_0x391a7b(0x336)],'unitId':_0x4de6d5[_0x391a7b(0x305)],'subUnitId':_0x4de6d5[_0x391a7b(0x437)],'shapeId':_0x4de6d5[_0x391a7b(0x3f5)]},'onText':()=>qn(_0x35c8b5,_0x391a7b(0x1c8)),'onStyle':()=>_0x35c8b5[_0x391a7b(0x2de)](Ur['id'],{'unitId':_0x4de6d5[_0x391a7b(0x305)],'subUnitId':_0x4de6d5[_0x391a7b(0x437)],'scopeId':_0x4de6d5['scopeId'],'nodeId':_0x4de6d5['elementId']}),'onDelete':()=>qn(_0x35c8b5,'delete')}):null;}function hi(_0x360529){const _0x34f8d7=_0x303e32;var _0x45360b,_0x5cc52b,_0x3bef63,_0x2d1b5c,_0x40071f;let _0x535eee=_0x3ebafe(_0x18b2f8),_0xb8e077=_0x3ebafe(_0x51902b),_0x34d7da=_0x3ebafe(_0x2001b3),_0x5d4a8f=_0x5d3f5c(_0x34d7da[_0x34f8d7(0x367)],_0x34d7da[_0x34f8d7(0x3ae)]()),[_0x281414,_0x3ad5fa]=_0x3322bd(null),_0x17a2bc=_0x573fac(_0x360529[_0x34f8d7(0x16c)]),_0x46c449=_0x17a2bc['ff']??_0x47319e[_0x34f8d7(0x26f)][_0x34f8d7(0x406)],_0x269751=_0x17a2bc['fs']??_0x47319e[_0x34f8d7(0x26f)]['fontSize'];function _0x18df80(_0xbda84d){const _0x4f3a11=_0x34f8d7;return _0x535eee[_0x4f3a11(0x2de)](_0x274fe8['id'],{'unitId':_0x360529[_0x4f3a11(0x305)],'subUnitId':_0x360529['subUnitId'],'nodeId':_0x360529[_0x4f3a11(0x24a)],..._0xbda84d});}let _0xc3ae1a=[{'key':_0x34f8d7(0x2c2),'value':((_0x45360b=_0x360529[_0x34f8d7(0x16c)]['fill'])==null?void 0x0:_0x45360b['color'])??_0x47319e[_0x34f8d7(0x2c2)]},{'key':_0x34f8d7(0x235),'value':((_0x5cc52b=_0x360529[_0x34f8d7(0x16c)][_0x34f8d7(0x235)])==null?void 0x0:_0x5cc52b['color'])??_0x47319e['stroke']},{'key':_0x34f8d7(0x416),'value':((_0x3bef63=_0x17a2bc['cl'])==null?void 0x0:_0x3bef63[_0x34f8d7(0x3d7)])??_0x47319e[_0x34f8d7(0x26f)]['color']}];if(_0x281414){var _0x33ee60;return _0x2bf1e8(_0x34f8d7(0x27f),{'className':_0x34f8d7(0x3a0),'children':[_0x5de246(_0x245e38,{'className':_0x34f8d7(0x3d3),'onClick':()=>_0x3ad5fa(null),'children':_0xb8e077['t']('boards-mind-ui.panel.cancel')}),_0x281414===_0x34f8d7(0x406)?_0x5d4a8f==null?void 0x0:_0x5d4a8f['map'](_0x10e3e4=>_0x5de246(_0x245e38,{'className':'univer-min-h-12\x20univer-w-full','aria-pressed':_0x46c449===_0x10e3e4[_0x34f8d7(0x3f2)],'variant':_0x46c449===_0x10e3e4[_0x34f8d7(0x3f2)]?_0x34f8d7(0x1a1):'default','onClick':async()=>{const _0x1f9c81=_0x34f8d7;await _0x18df80({'textStyle':{'fontFamily':_0x10e3e4[_0x1f9c81(0x3f2)]}}),_0x3ad5fa(null);},'children':_0x10e3e4[_0x34f8d7(0x397)]},_0x10e3e4[_0x34f8d7(0x3f2)])):_0x5de246(_0xa1dc0,{'value':(_0x33ee60=_0xc3ae1a[_0x34f8d7(0x1b2)](({key:_0x400759})=>_0x400759===_0x281414))==null?void 0x0:_0x33ee60[_0x34f8d7(0x3f2)],'onSelect':async _0x534ac4=>{const _0x3a98a0=_0x34f8d7;_0x281414==='fill'?await _0x18df80({'fillColor':_0x534ac4}):_0x281414===_0x3a98a0(0x235)?await _0x18df80({'strokeColor':_0x534ac4}):await _0x18df80({'textStyle':{'color':_0x534ac4}}),_0x3ad5fa(null);}})]});}let _0x4fd09b=[{'key':_0x34f8d7(0x353),'active':_0x17a2bc['bl']===_0xe917cc[_0x34f8d7(0x2b3)],'icon':_0x5de246(_0x19a073,{})},{'key':_0x34f8d7(0x19a),'active':_0x17a2bc['it']===_0xe917cc[_0x34f8d7(0x2b3)],'icon':_0x5de246(_0x29a7ff,{})},{'key':_0x34f8d7(0x2d1),'active':((_0x2d1b5c=_0x17a2bc['ul'])==null?void 0x0:_0x2d1b5c['s'])===_0xe917cc[_0x34f8d7(0x2b3)],'icon':_0x5de246(_0x2903d6,{})},{'key':_0x34f8d7(0x372),'active':((_0x40071f=_0x17a2bc['st'])==null?void 0x0:_0x40071f['s'])===_0xe917cc[_0x34f8d7(0x2b3)],'icon':_0x5de246(_0x2e0f12,{})}];return _0x2bf1e8(_0x34f8d7(0x27f),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-p-4','children':[_0x5de246(_0x34f8d7(0x27f),{'className':_0x34f8d7(0x423),'children':_0x4fd09b[_0x34f8d7(0x2c5)](({key:_0x4b8e3c,active:_0x491631,icon:_0x4f2901})=>_0x5de246(_0x245e38,{'className':_0x34f8d7(0x3e4),'aria-label':_0xb8e077['t'](_0x34f8d7(0x1d3)+_0x4b8e3c),'aria-pressed':_0x491631,'variant':_0x491631?_0x34f8d7(0x1a1):_0x34f8d7(0x2b8),'onClick':()=>_0x18df80({'textStyle':{[_0x4b8e3c]:!_0x491631}}),'children':_0x4f2901},_0x4b8e3c))}),_0x2bf1e8(_0x245e38,{'className':_0x34f8d7(0x31e),'onClick':()=>_0x3ad5fa('fontFamily'),'children':[_0x5de246(_0x34f8d7(0x1b3),{'children':_0xb8e077['t'](_0x34f8d7(0x3df))}),_0x5de246(_0x34f8d7(0x1b3),{'children':_0x46c449})]}),_0x2bf1e8('label',{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-4','children':[_0x5de246(_0x34f8d7(0x1b3),{'children':_0xb8e077['t'](_0x34f8d7(0x38c))}),_0x5de246(_0x37d52a,{'className':_0x34f8d7(0x394),'inputClassName':_0x34f8d7(0x172),'controls':!0x1,'min':0x1,'value':_0x269751,'onChange':_0x93ee51=>{if(_0x93ee51!=null)return _0x18df80({'textStyle':{'fontSize':_0x93ee51}});}})]}),_0xc3ae1a['map'](({key:_0x5af712,value:_0x5bbcd0})=>_0x2bf1e8(_0x245e38,{'className':_0x34f8d7(0x31e),'onClick':()=>_0x3ad5fa(_0x5af712),'children':[_0x5de246(_0x34f8d7(0x1b3),{'children':_0xb8e077['t'](_0x34f8d7(0x350)+_0x5af712)}),_0x5de246(_0x34f8d7(0x1b3),{'className':_0x34f8d7(0x366),'style':{'backgroundColor':_0x5bbcd0}})]},_0x5af712))]});}function gi(_0x360c2b){const _0x28fc1a=_0x303e32;return _0x5de246(_0x28fc1a(0x27f),{'className':_0x2509f8(_0x28fc1a(0x410),_0x360c2b[_0x28fc1a(0x3e6)][_0x28fc1a(0x346)]===0x4?_0x28fc1a(0x3af):_0x28fc1a(0x2a3)),'children':_0x360c2b[_0x28fc1a(0x3e6)][_0x28fc1a(0x2c5)](_0x5adc6f=>_0x5de246(_0x245e38,{'className':_0x28fc1a(0x193),'variant':_0x360c2b['value']===_0x5adc6f[_0x28fc1a(0x3f2)]?_0x28fc1a(0x1a1):_0x28fc1a(0x2b8),'aria-pressed':_0x360c2b[_0x28fc1a(0x3f2)]===_0x5adc6f[_0x28fc1a(0x3f2)],'onClick':()=>_0x360c2b['onChange'](_0x5adc6f['value']),'children':_0x5adc6f['label']},_0x5adc6f[_0x28fc1a(0x3f2)]))});}function _i(_0x699ca1){const _0x46cdc0=_0x303e32;let {commandService:_0x2ede0e,elementStateService:_0x119398,localeService:_0x20babf,query:_0x23b9db,setQuery:_0x377a02,editingOutlineNode:_0x793907,setEditingOutlineNode:_0x2bd5ab,opmlText:_0xe8c75d,setOpmlText:_0x3bd2a4,spacing:_0x4663a7,layoutDirection:_0x2cb327,structureKind:_0x324d70,branchLineType:_0x3bcd81,activeTab:_0x573e86,setActiveTab:_0x337837,visibleOutlineItems:_0x16844f,baseParams:_0x373a9c,tabItems:_0x42a681,selectedNode:_0x2d663f,branchLineItems:_0x5d08f1,changeLayout:_0x4aea19,changeStructureKind:_0x5b5e4a,changeBranchLineType:_0x486e49,changeSpacing:_0x264c51,importOpml:_0x3331fc,startRenameNode:_0x3eee48,commitRenameNode:_0x175baa}=di(_0x699ca1,_0x699ca1[_0x46cdc0(0x24a)]?'style':_0x46cdc0(0x232));return(_0x2d663f==null?void 0x0:_0x2d663f[_0x46cdc0(0x398)])===_0x7fb8a8[_0x46cdc0(0x1d2)]&&_0x42a681[_0x46cdc0(0x2b9)]({'label':_0x20babf['t']('boards-mind-ui.panel.nodeStyle.style'),'value':_0x46cdc0(0x13e)}),_0x2bf1e8(_0x46cdc0(0x27f),{'className':_0x46cdc0(0x1a8),'data-board-mind-map-panel':_0x46cdc0(0x150),'children':[_0x5de246(_0x46cdc0(0x27f),{'className':_0x2509f8(_0x46cdc0(0x41a),_0x39be21),'data-board-mind-map-panel-tabs':_0x46cdc0(0x150),'children':_0x5de246(gi,{'items':_0x42a681,'value':_0x573e86,'onChange':_0x4fa114=>_0x337837(_0x4fa114)})}),_0x573e86===_0x46cdc0(0x13e)&&(_0x2d663f==null?void 0x0:_0x2d663f[_0x46cdc0(0x398)])===_0x7fb8a8['Shape']&&_0x5de246(hi,{'unitId':_0x699ca1[_0x46cdc0(0x305)],'subUnitId':_0x699ca1[_0x46cdc0(0x437)],'nodeId':_0x2d663f['id'],'shapeData':_0x2d663f[_0x46cdc0(0x16c)]}),_0x573e86==='structure'&&_0x5de246(ui,{'title':_0x20babf['t'](_0x46cdc0(0x207)),'children':_0x2bf1e8(_0x46cdc0(0x27f),{'children':[_0x5de246(_0xfa467d,{'slot':_0x5de246(_0x4d5263,{}),'value':_0x23b9db,'placeholder':_0x20babf['t'](_0x46cdc0(0x1a3)),'className':_0x2509f8(_0x46cdc0(0x3e9),'univer-h-12\x20univer-text-base'),'onChange':_0x377a02}),_0x16844f[_0x46cdc0(0x346)]?_0x5de246('ol',{'className':'univer-space-y-1','children':_0x16844f[_0x46cdc0(0x2c5)](_0x44a27c=>_0x5de246('li',{'className':_0x46cdc0(0x2c3),'style':ci(_0x44a27c[_0x46cdc0(0x174)]),'children':(_0x793907==null?void 0x0:_0x793907[_0x46cdc0(0x24a)])===_0x44a27c[_0x46cdc0(0x24a)]?_0x2bf1e8(_0x46cdc0(0x27f),{'className':_0x2509f8(_0x46cdc0(0x1e1),_0x46cdc0(0x205)),'children':[_0x5de246(_0xfa467d,{'autoFocus':!0x1,'size':'large','className':_0x46cdc0(0x2d7),'value':_0x793907[_0x46cdc0(0x1ae)],'onChange':_0x143bff=>_0x2bd5ab({'nodeId':_0x44a27c[_0x46cdc0(0x24a)],'text':_0x143bff}),'onKeyDown':_0x538200=>{const _0x26081a=_0x46cdc0;_0x538200['key']===_0x26081a(0x419)&&_0x175baa(),_0x538200[_0x26081a(0x245)]===_0x26081a(0x119)&&_0x2bd5ab(null);}}),_0x5de246(_0x245e38,{'className':'univer-min-h-12\x20univer-flex-1','size':_0x46cdc0(0x177),'variant':_0x46cdc0(0x1a1),'disabled':!_0x793907[_0x46cdc0(0x1ae)][_0x46cdc0(0x38a)](),'onClick':_0x175baa,'children':_0x20babf['t'](_0x46cdc0(0x1d0))}),_0x5de246(_0x245e38,{'className':_0x46cdc0(0x2cf),'size':_0x46cdc0(0x177),'variant':'default','onClick':()=>_0x2bd5ab(null),'children':_0x20babf['t'](_0x46cdc0(0x252))})]}):_0x2bf1e8(_0xa348f8,{'children':[_0x5de246(_0x245e38,{'size':'small','variant':'ghost','className':_0x2509f8(_0x46cdc0(0x433),_0x46cdc0(0x23d)),'onClick':()=>_0x119398['selectElements']({'unitId':_0x699ca1[_0x46cdc0(0x305)],'subUnitId':_0x699ca1[_0x46cdc0(0x437)]},[_0x44a27c[_0x46cdc0(0x24a)]],_0x44a27c[_0x46cdc0(0x24a)]),'children':_0x44a27c['text']}),_0x5de246(_0x245e38,{'className':_0x2509f8('univer-text-gray-500',_0x46cdc0(0x216)),'size':_0x46cdc0(0x177),'variant':_0x46cdc0(0x2b8),'onClick':()=>_0x3eee48(_0x44a27c[_0x46cdc0(0x24a)],_0x44a27c[_0x46cdc0(0x1ae)]),'children':_0x20babf['t'](_0x46cdc0(0x1d0))})]})},_0x44a27c[_0x46cdc0(0x24a)]))}):_0x5de246(_0x46cdc0(0x27f),{'className':_0x46cdc0(0x24e),'data-board-mind-map-panel-empty-state':_0x46cdc0(0x150),'children':_0x20babf['t'](_0x46cdc0(0x299))})]})}),_0x573e86===_0x46cdc0(0x22a)&&_0x5de246(ui,{'title':_0x20babf['t'](_0x46cdc0(0x3c5)),'children':_0x2bf1e8('div',{'className':_0x46cdc0(0x2e2),'children':[_0x5de246('div',{'className':'univer-flex\x20univer-gap-2','children':_0x5de246(gi,{'items':Jr[_0x46cdc0(0x2c5)](_0xc03bf1=>({'label':_0x20babf['t'](_0xc03bf1[_0x46cdc0(0x355)]),'value':_0xc03bf1[_0x46cdc0(0x3f2)]})),'value':_0x324d70,'onChange':_0x567dfc=>_0x5b5e4a(_0x567dfc)})}),_0x5de246(_0x46cdc0(0x27f),{'className':'univer-flex\x20univer-gap-2','children':_0x5de246(gi,{'items':qr[_0x46cdc0(0x2c5)](_0xec6a9b=>({'label':_0x20babf['t'](_0xec6a9b[_0x46cdc0(0x355)]),'value':_0xec6a9b[_0x46cdc0(0x3f2)]})),'value':_0x2cb327,'onChange':_0x2b3748=>_0x4aea19(_0x2b3748)})}),_0x5de246(_0x46cdc0(0x27f),{'className':_0x46cdc0(0x303),'children':_0x5de246(gi,{'items':_0x5d08f1[_0x46cdc0(0x2c5)](_0x492ace=>({'label':_0x20babf['t'](_0x492ace[_0x46cdc0(0x355)]),'value':_0x492ace[_0x46cdc0(0x3f2)]})),'value':_0x3bcd81,'onChange':_0x497b69=>_0x486e49(_0x497b69)})}),_0x5de246('div',{'className':_0x46cdc0(0x292),'children':Kr['map'](({labelKey:_0x106e99,key:_0x3be03d,min:_0xde4124,max:_0x382eba})=>_0x2bf1e8(_0x46cdc0(0x397),{'className':_0x46cdc0(0x3e1),'children':[_0x5de246(_0x46cdc0(0x1b3),{'className':_0x46cdc0(0x22d),'children':_0x20babf['t'](_0x106e99)}),_0x5de246(_0x37d52a,{'controls':!0x1,'inputClassName':_0x46cdc0(0x172),'min':_0xde4124,'max':_0x382eba,'step':0x4,'value':_0x4663a7[_0x3be03d],'precision':0x0,'className':_0x46cdc0(0x1b5),'onChange':_0x3d0202=>_0x264c51(_0x3be03d,Number(_0x3d0202??_0xde4124))})]},_0x3be03d))})]})}),_0x573e86===_0x46cdc0(0x34d)&&_0x5de246(ui,{'title':_0x20babf['t'](_0x46cdc0(0x1c4)),'children':_0x2bf1e8(_0x46cdc0(0x27f),{'className':_0x46cdc0(0x360),'children':[_0x5de246(_0x4d17a6,{'className':_0x2509f8(_0x46cdc0(0x246),_0x46cdc0(0x3a5)),'placeholder':_0x20babf['t'](_0x46cdc0(0x1eb)),'value':_0xe8c75d,'onValueChange':_0x3bd2a4}),_0x2bf1e8(_0x46cdc0(0x27f),{'className':_0x46cdc0(0x303),'children':[_0x5de246(_0x245e38,{'className':_0x46cdc0(0x2cf),'size':'small','variant':_0x46cdc0(0x1a1),'disabled':!_0xe8c75d['trim'](),'onClick':_0x3331fc,'children':_0x20babf['t']('boards-mind-ui.panel.importOPML')}),_0x5de246(_0x245e38,{'className':_0x46cdc0(0x2cf),'size':_0x46cdc0(0x177),'variant':'default','onClick':async()=>{const _0x2d5d4e=_0x46cdc0;let _0x1a8e4a=await _0x2ede0e[_0x2d5d4e(0x2de)](_0x45c484['id'],_0x373a9c);_0x1a8e4a!==!0x1&&_0x3bd2a4(_0x1a8e4a);},'children':_0x20babf['t'](_0x46cdc0(0x25a))})]})]})})]});}let vi=class extends _0x5a3354{constructor(_0x2862c3){const _0x434378=_0x303e32;super(),this[_0x434378(0x3e7)]=_0x2862c3,this[_0x434378(0x30e)]();}['_registerComponents'](){const _0x2c0944=_0x303e32;this[_0x2c0944(0x18e)](this[_0x2c0944(0x3e7)][_0x2c0944(0x1c0)](On,An)),this[_0x2c0944(0x18e)](this['_componentManager'][_0x2c0944(0x1c0)](Kn,mi)),this['disposeWithMe'](this['_componentManager'][_0x2c0944(0x1c0)](Wr,_i));}};vi=J([q(0x0,_0x4b1a3e(_0x211b96))],vi);let yi=class extends _0x5a3354{constructor(_0x2798db,_0x5bb3bd,_0x1ac53c){const _0x37ece0=_0x303e32;super(),this[_0x37ece0(0x3a7)]=_0x2798db,this['_localeService']=_0x5bb3bd,this[_0x37ece0(0x1d4)]=_0x1ac53c,K(this,_0x37ece0(0x2c6),null),this[_0x37ece0(0x18e)](this['_commandService']['registerCommand'](Ur)),this[_0x37ece0(0x18e)](this[_0x37ece0(0x3a7)][_0x37ece0(0x307)](_0x5ee253=>{const _0x14206f=_0x37ece0;if(_0x5ee253['id']!==Ur['id'])return;let _0x430e34=_0x5ee253[_0x14206f(0x18b)];_0x430e34&&_0x14206f(0x305)in _0x430e34&&typeof _0x430e34['unitId']==_0x14206f(0x121)&&_0x14206f(0x437)in _0x430e34&&typeof _0x430e34[_0x14206f(0x437)]=='string'&&_0x14206f(0x236)in _0x430e34&&typeof _0x430e34['scopeId']=='string'&&this[_0x14206f(0x3fa)]({'unitId':_0x430e34['unitId'],'subUnitId':_0x430e34['subUnitId'],'scopeId':_0x430e34[_0x14206f(0x236)],'nodeId':'nodeId'in _0x430e34&&typeof _0x430e34['nodeId']==_0x14206f(0x121)?_0x430e34[_0x14206f(0x24a)]:void 0x0});}));}['dispose'](){const _0x2f2df8=_0x303e32;var _0x3520bb;(_0x3520bb=this[_0x2f2df8(0x2c6)])==null||_0x3520bb[_0x2f2df8(0x192)](),this[_0x2f2df8(0x2c6)]=null,super['dispose']();}[_0x303e32(0x3fa)](_0x29bb08){const _0x3c0be2=_0x303e32;var _0xf53802;let _0x5c6b8d={'label':Wr,..._0x29bb08};(_0xf53802=this['_sidebarDisposable'])==null||_0xf53802[_0x3c0be2(0x192)](),this[_0x3c0be2(0x2c6)]=this['_sidebarService'][_0x3c0be2(0x3fa)]({'id':Wr,'header':{'title':this['_localeService']['t'](_0x3c0be2(0x1ac))},'width':0x184,'children':_0x5c6b8d,'onClose':()=>{const _0x17d499=_0x3c0be2;this[_0x17d499(0x2c6)]=null;}});}};yi=J([q(0x0,_0x18b2f8),q(0x1,_0x4b1a3e(_0x51902b)),q(0x2,_0x4b1a3e(_0x397b3a))],yi);let bi=class extends _0x5a3354{constructor(_0x578645){const _0x3faccb=_0x303e32;super(),this[_0x3faccb(0x3e7)]=_0x578645,this[_0x3faccb(0x30e)]();}[_0x303e32(0x30e)](){const _0x1d20b1=_0x303e32;this[_0x1d20b1(0x18e)](this[_0x1d20b1(0x3e7)][_0x1d20b1(0x1c0)](On,An)),this[_0x1d20b1(0x18e)](this[_0x1d20b1(0x3e7)][_0x1d20b1(0x1c0)](Kn,cr)),this[_0x1d20b1(0x18e)](this['_componentManager']['register'](Wr,fi));}};bi=J([q(0x0,_0x4b1a3e(_0x211b96))],bi);let xi=class{constructor(_0x3fc391,_0x5c5569,_0x2f0d08){const _0x15262d=_0x303e32;this[_0x15262d(0x160)]=_0x3fc391,this['_insertStateService']=_0x5c5569,this['_renderManagerService']=_0x2f0d08;}[_0x303e32(0x1e5)](_0x3fa566){const _0x3f187d=_0x303e32;var _0xfb5f7f,_0x519cd5;let _0x343919=(_0xfb5f7f=this[_0x3f187d(0x220)]['getRenderUnitById'](_0x3fa566[_0x3f187d(0x305)]))==null||(_0x519cd5=_0xfb5f7f['getInjector'])==null?void 0x0:_0x519cd5[_0x3f187d(0x2ca)](_0xfb5f7f),_0x38f30b=(_0x343919==null?void 0x0:_0x343919['get'](_0x57e681))??this[_0x3f187d(0x160)];return((_0x343919==null?void 0x0:_0x343919[_0x3f187d(0x409)](br))??this[_0x3f187d(0x301)])[_0x3f187d(0x21a)]({'rootText':_0x3fa566[_0x3f187d(0x392)],'structureKind':_0x3fa566[_0x3f187d(0x377)],'branchLineType':_0x3fa566[_0x3f187d(0x1bd)],'children':_0x3fa566[_0x3f187d(0x25d)],'blueprint':_0x3fa566[_0x3f187d(0x3e8)]}),_0x38f30b[_0x3f187d(0x2cc)](!0x1),_0x38f30b[_0x3f187d(0x42e)](),_0x38f30b[_0x3f187d(0x1f1)](_0x382aeb[_0x3f187d(0x2a8)]),_0x38f30b[_0x3f187d(0x327)]({'type':_0x382aeb[_0x3f187d(0x2a8)]}),!0x0;}};xi=J([q(0x0,_0x57e681),q(0x1,_0x4b1a3e(br)),q(0x2,_0x16c87c)],xi);const Si=_0x303e32(0x11d),Ci=[Dn],wi=[Vr];let Ti=class extends _0x2713d6{constructor(_0x48002e=en,_0x5c1594,_0x79c7c3,_0x470e3d){const _0xa8670e=_0x303e32;super(),this[_0xa8670e(0x125)]=_0x48002e,this[_0xa8670e(0x20e)]=_0x5c1594,this['_configService']=_0x79c7c3,this['_renderManagerService']=_0x470e3d;let {..._0x169b6c}=_0x59d214({},en,this[_0xa8670e(0x125)]);this['_configService'][_0xa8670e(0x274)]($t,_0x169b6c);}['onStarting'](){const _0x36e837=_0x303e32;_0x2a8e51[_0x36e837(0x213)](this[_0x36e837(0x20e)],[[br],[Tr]]),this[_0x36e837(0x317)]()['forEach'](_0x924b04=>this[_0x36e837(0x20e)]['add'](_0x924b04));let _0x46b5e0=this[_0x36e837(0x20e)][_0x36e837(0x409)](xi),_0x3675b9=this['_injector'][_0x36e837(0x409)](_0x107036);this[_0x36e837(0x18e)](_0x3675b9[_0x36e837(0x134)](_0x46b5e0)),this[_0x36e837(0x18e)](this[_0x36e837(0x20e)][_0x36e837(0x409)](Ln)),this[_0x36e837(0x18e)](this[_0x36e837(0x20e)][_0x36e837(0x409)](zr)),this[_0x36e837(0x18e)](this[_0x36e837(0x20e)][_0x36e837(0x409)](yi)),this['disposeWithMe'](this[_0x36e837(0x20e)][_0x36e837(0x409)](bi)),this[_0x36e837(0x2ec)]();}['_getDependencies'](){return[[br],[Tr],[xi],[Ln],[zr],[yi],[bi]];}[_0x303e32(0x33f)](){return[Ci,wi,[wr],[Lr],[ur],[En],[an],[Or]];}[_0x303e32(0x3b1)](){const _0x2dc112=_0x303e32;this['_getRenderModules']()[_0x2dc112(0x332)](_0x701cf0=>{const _0x5e4da4=_0x2dc112;this[_0x5e4da4(0x18e)](this[_0x5e4da4(0x220)][_0x5e4da4(0x2bb)](_0x3c080c[_0x5e4da4(0x336)],_0x701cf0));});}[_0x303e32(0x2ec)](){const _0x5b68ec=_0x303e32;var _0x5c8ded,_0x1bbce1;let _0x33c97c=this[_0x5b68ec(0x3fd)]();this[_0x5b68ec(0x224)][_0x5b68ec(0x274)](_0x3d0de4,{..._0x33c97c,'toolbar':{..._0x33c97c['toolbar'],'tools':{...(_0x5c8ded=_0x33c97c[_0x5b68ec(0x186)])==null?void 0x0:_0x5c8ded['tools'],[_0x382aeb[_0x5b68ec(0x2a8)]]:Ei((_0x1bbce1=_0x33c97c[_0x5b68ec(0x186)])==null||(_0x1bbce1=_0x1bbce1[_0x5b68ec(0x2ce)])==null?void 0x0:_0x1bbce1[_0x382aeb[_0x5b68ec(0x2a8)]])}}});}[_0x303e32(0x3fd)](){const _0x503cc7=_0x303e32;return this[_0x503cc7(0x224)][_0x503cc7(0x389)](_0x3d0de4)??{};}};K(Ti,_0x303e32(0x2f2),Si),K(Ti,'packageName',Zt),K(Ti,_0x303e32(0x11b),Qt),K(Ti,'type',_0x3c080c[_0x303e32(0x336)]),Ti=J([_0x1fca7f(_0x143357,_0x504b1f,_0x16d831,_0x3e5573,_0x2a8e51),q(0x1,_0x4b1a3e(_0x539aca)),q(0x2,_0x1b3482),q(0x3,_0x16c87c)],Ti);function Ei(_0x3117d1){const _0x23eb04=_0x303e32;return _0x3117d1===!0x1?!0x1:typeof _0x3117d1!='object'||{..._0x3117d1,'enabled':_0x3117d1[_0x23eb04(0x294)]??!0x0};}let Di=class extends _0x2713d6{constructor(_0x64eb11=en,_0x4c09b1,_0x355a94,_0x440688){const _0x6861b9=_0x303e32;super(),this[_0x6861b9(0x125)]=_0x64eb11,this[_0x6861b9(0x20e)]=_0x4c09b1,this[_0x6861b9(0x224)]=_0x355a94,this[_0x6861b9(0x220)]=_0x440688;let {..._0x480b4c}=_0x59d214({},en,this[_0x6861b9(0x125)]);this[_0x6861b9(0x224)][_0x6861b9(0x274)]($t,_0x480b4c);}['onStarting'](){const _0x3f7871=_0x303e32;let _0x28d31d=[[br],[Tr]];_0x1b9102['registerRuntimeScopedDependencies'](this[_0x3f7871(0x20e)],_0x28d31d),[..._0x28d31d,[xi],[Ln],[zr],[pi],[vi]]['forEach'](_0x21f64a=>this[_0x3f7871(0x20e)][_0x3f7871(0x260)](_0x21f64a)),this[_0x3f7871(0x18e)](this[_0x3f7871(0x20e)]['get'](_0x107036)['registerAdapter'](this['_injector'][_0x3f7871(0x409)](xi))),this[_0x3f7871(0x18e)](this[_0x3f7871(0x20e)][_0x3f7871(0x409)](Ln)),this['disposeWithMe'](this[_0x3f7871(0x20e)][_0x3f7871(0x409)](zr)),this[_0x3f7871(0x18e)](this[_0x3f7871(0x20e)][_0x3f7871(0x409)](pi)),this[_0x3f7871(0x18e)](this[_0x3f7871(0x20e)]['get'](vi)),this[_0x3f7871(0x2ec)]();}[_0x303e32(0x3b1)](){const _0x13d1cb=_0x303e32;[[Dn],[Vr],[wr,{'useClass':Hr}],[Lr],[ur],[En],[an],[Or]][_0x13d1cb(0x332)](_0x1dea3f=>{const _0x3f6150=_0x13d1cb;this['disposeWithMe'](this['_renderManagerService'][_0x3f6150(0x2bb)](_0x3c080c[_0x3f6150(0x336)],_0x1dea3f));});}[_0x303e32(0x2ec)](){const _0x39d845=_0x303e32;var _0x35ecdb,_0x28ffcf;let _0x355425=this[_0x39d845(0x3fd)]();this[_0x39d845(0x224)]['setConfig'](_0x3d0de4,{..._0x355425,'toolbar':{..._0x355425[_0x39d845(0x186)],'tools':{...(_0x35ecdb=_0x355425[_0x39d845(0x186)])==null?void 0x0:_0x35ecdb[_0x39d845(0x2ce)],[_0x382aeb[_0x39d845(0x2a8)]]:Oi((_0x28ffcf=_0x355425[_0x39d845(0x186)])==null||(_0x28ffcf=_0x28ffcf[_0x39d845(0x2ce)])==null?void 0x0:_0x28ffcf[_0x382aeb[_0x39d845(0x2a8)]])}}});}[_0x303e32(0x3fd)](){const _0xaacfce=_0x303e32;return this[_0xaacfce(0x224)]['getConfig'](_0x3d0de4)??{};}};K(Di,'pluginName',Si),K(Di,'packageName',Zt),K(Di,_0x303e32(0x11b),Qt),K(Di,'type',_0x3c080c[_0x303e32(0x336)]),Di=J([_0x1fca7f(_0x143357,_0x504b1f,_0x16d831,_0x3e5573,_0x1b9102),q(0x1,_0x4b1a3e(_0x539aca)),q(0x2,_0x1b3482),q(0x3,_0x16c87c)],Di);function Oi(_0x2d5e6f){const _0x2d7422=_0x303e32;return _0x2d5e6f===!0x1?!0x1:typeof _0x2d5e6f!=_0x2d7422(0x319)||{..._0x2d5e6f,'enabled':_0x2d5e6f[_0x2d7422(0x294)]??!0x0};}export{Di as UniverBoardsMindMobileUIPlugin,Ti as UniverBoardsMindUIPlugin};
|
|
1
|
+
const _0x4f3d14=_0x5652;(function(_0x5ef2f6,_0x47b4c8){const _0x39fb8d=_0x5652,_0x367b12=_0x5ef2f6();while(!![]){try{const _0xd6d06b=-parseInt(_0x39fb8d(0x3fa))/0x1*(parseInt(_0x39fb8d(0x398))/0x2)+-parseInt(_0x39fb8d(0x39a))/0x3+parseInt(_0x39fb8d(0x1bf))/0x4+-parseInt(_0x39fb8d(0x1a4))/0x5*(-parseInt(_0x39fb8d(0x3f7))/0x6)+-parseInt(_0x39fb8d(0x21e))/0x7*(-parseInt(_0x39fb8d(0x406))/0x8)+parseInt(_0x39fb8d(0x273))/0x9*(parseInt(_0x39fb8d(0x2e3))/0xa)+parseInt(_0x39fb8d(0x463))/0xb*(parseInt(_0x39fb8d(0x45f))/0xc);if(_0xd6d06b===_0x47b4c8)break;else _0x367b12['push'](_0x367b12['shift']());}catch(_0x1ab488){_0x367b12['push'](_0x367b12['shift']());}}}(_0x4677,0x1b5dd));import{BoardElementType as _0x282c4b,BoardToolType as _0x2f25e2,IBoardElementService as _0x5c495f,IBoardMindMapAdapterService as _0x13266e,UniverBoardsPlugin as _0x3afdbd,documentTextStyleToBoardShapeTextStyle as _0x5eb915,offsetBoardConnectorGeometry as _0x4d906e,resolveBoardElementWorldBounds as _0x25dbfe}from'@univerjs-pro/boards';import{AddMindMapChildOperation as _0x21cdef,AddMindMapSiblingOperation as _0x20f384,ChangeMindMapBranchLineTypeOperation as _0x523acc,ChangeMindMapLayoutOperation as _0x32999d,CopyMindMapNodeOperation as _0x47452c,DeleteMindMapNodeOperation as _0x20689a,DetachMindMapNodeOperation as _0x10841e,ExportMindMapOpmlOperation as _0x1d834a,IMindMapClipboardService as _0x2d52c2,ImportMindMapOpmlOperation as _0x3b34fe,InsertBoardMindMapOperation as _0x243dd0,LayoutMindMapOperation as _0x4b5dc4,MIND_MAP_DEFAULT_LAYOUT as _0x1fa9e8,MIND_MAP_DEFAULT_NODE_SIZE as _0x5ad525,MIND_MAP_DEFAULT_NODE_TEXT as _0x251b5d,MIND_MAP_LAYOUT_SPACING_LIMITS as _0x3fb7b7,PasteMindMapAsNewMindMapOperation as _0x568b7,PasteMindMapNodeOperation as _0x5acb7b,PromoteMindMapNodeOperation as _0x245415,ReparentMindMapNodeOperation as _0x2f561c,ToggleMindMapNodeCollapseOperation as _0xdc3604,TranslateMindMapOperation as _0x2c3a69,UniverBoardsMindPlugin as _0x204fd7,UpdateMindMapIncomingConnectorOperation as _0x411ecf,UpdateMindMapNodeOperation as _0x3d67d8,compareMindMapOrderKey as _0x401170,getMindMapConnectorMeta as _0x5dd284,getMindMapContainerMeta as _0x487e3a,getMindMapDefaultChildOrderKey as _0x339fd4,getMindMapNodeMeta as _0x5585ba,isMindMapPlainStructureKind as _0x35ce36,resolveMindMapBranchLineTypeForStructure as _0x22ba0f,resolveMindMapLayoutPreview as _0x4c0113,resolveMindMapNodeHostSize as _0x26ff7e}from'@univerjs-pro/boards-mind';import{BOARDS_UI_PLUGIN_CONFIG_KEY as _0x3e4252,BOARD_RENDER_LAYER_INDEX as _0x2019f6,BOARD_RENDER_OBJECT_Z_INDEX as _0x65c3c8,BOARD_SHORTCUT_BINDINGS as _0x416fa4,BoardCanvasPopManagerService as _0x5a2be5,BoardInteractionSurfaceService as _0x28dc04,BoardShapeIntrinsicSizeService as _0x3514cd,BoardTextEditingService as _0x2d7b12,IBoardElementStateService as _0x16fdab,IBoardUIStateService as _0x31b38d,UniverBoardsMobileUIPlugin as _0x28e0e2,UniverBoardsUIPlugin as _0x111050,areBoardShapeTextValuesEquivalent as _0x1fcca7,getBoardElementRenderObjectKey as _0x55b3e2,isBoardShortcutAvailable as _0xa918fb,parseBoardElementRenderObjectKey as _0x1bae0a,resolveBoardFloatingToolbarSelection as _0x4b1317,syncBoardElementRenderObject as _0x17e74f}from'@univerjs-pro/boards-ui';import{UniverLicensePlugin as _0x327bfc}from'@univerjs-pro/license';import{BooleanNumber as _0x3c1a02,CommandType as _0x470c85,DEFAULT_STYLES as _0x5afc33,DependentOn as _0x305799,Disposable as _0x4c4d8b,DisposableCollection as _0x3fd367,HorizontalAlign as _0x572b51,ICommandService as _0x27d0fe,IConfigService as _0x156f99,IContextService as _0x22ca73,IUniverInstanceService as _0x253a65,Inject as _0x132a38,Injector as _0x13315b,LocaleService as _0x4eab55,Plugin as _0x273e01,RxDisposable as _0x41f8e5,UniverInstanceType as _0x8b4a1a,VerticalAlign as _0x144c34,generateRandomId as _0x21938d,merge as _0x44c8ca,toDisposable as _0x122c68}from'@univerjs/core';import{BaseObject as _0x1f694c,Control as _0x4ff2d9,DeviceType as _0x5ef2af,IRenderManagerService as _0x19658f,UniverRenderEnginePlugin as _0x38f2bf}from'@univerjs/engine-render';import{Subject as _0x10bbaf,merge as _0x3a40cc,takeUntil as _0x41cd5b}from'rxjs';import{ComponentManager as _0x4b5c19,IDialogService as _0x23671a,IFontService as _0x27dbe6,IShortcutService as _0x2c1c63,ISidebarService as _0x313b59,KeyCode as _0x80c18b,MetaKeys as _0x21a288,UndoRedoGroupService as _0x57f4a7,useDependency as _0x1bf837,useObservable as _0x5180ec}from'@univerjs/ui';import{MobileShapeMenu as _0x4e732a,SHAPE_FLOATING_TOOLBAR_DEFAULT_STROKE_COLOR as _0x121c72,SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_BACKGROUND_COLOR as _0x8d3d50,SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_COLOR as _0x4edc0e,SHAPE_TEXT_EDITOR_QUOTE_COMMAND_ID as _0x15a211,ShapeFillButton as _0xb1360f,ShapeFloatingToolbarContent as _0x31c2c5,ShapeFloatingToolbarDropdownTrigger as _0x3945a0,ShapeFloatingToolbarFontSizeSelect as _0x1d6b66,ShapeFloatingToolbarIcon as _0x3a11ae,ShapeFloatingToolbarMenuItem as _0x5a5f70,ShapeFloatingToolbarMenuPanel as _0x2cf51f,ShapeStrokePanelButton as _0x559b96,ShapeStrokePanelContent as _0x26de67,TextFillButton as _0x19e9cd,TypographyPanelButton as _0x293f98,buildShapeTextDataUpdate as _0x543a5f,getTextStyle as _0x3c14be}from'@univerjs-pro/shape-editor-ui';import{ShapeDefaultConfig as _0x588e8c,ShapeLineDashEnum as _0x16fb53,ShapeLineTypeEnum as _0x48e250}from'@univerjs-pro/engine-shape';import{Button as _0x8c8b61,Dropdown as _0x53b00d,Input as _0x163e88,InputNumber as _0x5a974,MobileColorPresets as _0x4c11aa,Segmented as _0x373ab1,Separator as _0x1d1b23,Textarea as _0x14dc82,borderClassName as _0x2d215c,clsx as _0x461cd5}from'@univerjs/design';import{AlignBottomIcon as _0x4cbc58,AlignTextBothIcon as _0x233f6c,AlignTopIcon as _0x1c51ff,BoldIcon as _0x12ba90,HorizontallyIcon as _0xd2c873,ItalicIcon as _0x5c4515,LeftJustifyingIcon as _0x10ad46,MoreHorizontalIcon as _0x382a06,RightJustifyingIcon as _0x97b6f7,SearchIcon as _0x228aaa,ShapeLineIcon as _0x5edb01,StrikethroughIcon as _0x523a6d,UnderlineIcon as _0x2fc605,VerticalCenterIcon as _0x56f7d4}from'@univerjs/icons';import{useEffect as _0x4d0c04,useReducer as _0x21ba50,useState as _0x34d7b2}from'react';import{Fragment as _0x219099,jsx as _0x9b9447,jsxs as _0x27b706}from'react/jsx-runtime';var Zt=_0x4f3d14(0x2dc),Qt=_0x4f3d14(0x2fb);const $t=_0x4f3d14(0x1e6),en={};function tn(_0x21225e){'@babel/helpers - typeof';const _0x13f65f=_0x4f3d14;return tn=typeof Symbol==_0x13f65f(0x2b8)&&typeof Symbol['iterator']==_0x13f65f(0x32a)?function(_0x5805f5){return typeof _0x5805f5;}:function(_0x333521){const _0x206472=_0x13f65f;return _0x333521&&typeof Symbol=='function'&&_0x333521[_0x206472(0x3eb)]===Symbol&&_0x333521!==Symbol[_0x206472(0x24c)]?_0x206472(0x32a):typeof _0x333521;},tn(_0x21225e);}function nn(_0x30e0d6,_0x550d8e){const _0x4a8f58=_0x4f3d14;if(tn(_0x30e0d6)!=_0x4a8f58(0x458)||!_0x30e0d6)return _0x30e0d6;var _0x36fdf0=_0x30e0d6[Symbol[_0x4a8f58(0x3c0)]];if(_0x36fdf0!==void 0x0){var _0x5c28c8=_0x36fdf0[_0x4a8f58(0x2a4)](_0x30e0d6,_0x550d8e||_0x4a8f58(0x3f6));if(tn(_0x5c28c8)!=_0x4a8f58(0x458))return _0x5c28c8;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x550d8e==='string'?String:Number)(_0x30e0d6);}function rn(_0x3c603f){const _0x3102fd=_0x4f3d14;var _0x2cf146=nn(_0x3c603f,'string');return tn(_0x2cf146)==_0x3102fd(0x32a)?_0x2cf146:_0x2cf146+'';}function K(_0x4d2d85,_0x347b69,_0x32e08c){const _0x2bb2f1=_0x4f3d14;return(_0x347b69=rn(_0x347b69))in _0x4d2d85?Object[_0x2bb2f1(0x3e1)](_0x4d2d85,_0x347b69,{'value':_0x32e08c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4d2d85[_0x347b69]=_0x32e08c,_0x4d2d85;}function q(_0x2f79af,_0x4e4d4f){return function(_0x1f6a6a,_0x10483e){_0x4e4d4f(_0x1f6a6a,_0x10483e,_0x2f79af);};}function J(_0x21c0c2,_0x52c0d3,_0x54d967,_0x5d0e13){const _0x1f4757=_0x4f3d14;var _0x424ddf=arguments[_0x1f4757(0x452)],_0x394f46=_0x424ddf<0x3?_0x52c0d3:_0x5d0e13===null?_0x5d0e13=Object[_0x1f4757(0x309)](_0x52c0d3,_0x54d967):_0x5d0e13,_0x586f00;if(typeof Reflect==_0x1f4757(0x458)&&typeof Reflect[_0x1f4757(0x1f7)]=='function')_0x394f46=Reflect[_0x1f4757(0x1f7)](_0x21c0c2,_0x52c0d3,_0x54d967,_0x5d0e13);else{for(var _0x293378=_0x21c0c2[_0x1f4757(0x452)]-0x1;_0x293378>=0x0;_0x293378--)(_0x586f00=_0x21c0c2[_0x293378])&&(_0x394f46=(_0x424ddf<0x3?_0x586f00(_0x394f46):_0x424ddf>0x3?_0x586f00(_0x52c0d3,_0x54d967,_0x394f46):_0x586f00(_0x52c0d3,_0x54d967))||_0x394f46);}return _0x424ddf>0x3&&_0x394f46&&Object[_0x1f4757(0x3e1)](_0x52c0d3,_0x54d967,_0x394f46),_0x394f46;}let an=class extends _0x41f8e5{constructor(_0x23fedc,_0x45d0d2,_0x116543){const _0x371b97=_0x4f3d14;super(),this[_0x371b97(0x414)]=_0x23fedc,this[_0x371b97(0x3dd)]=_0x45d0d2,this['_commandService']=_0x116543,K(this,_0x371b97(0x44b),new Map()),K(this,_0x371b97(0x4aa),new Map()),K(this,_0x371b97(0x2db),!0x1),this[_0x371b97(0x45b)]();}['_init'](){const _0x302e4c=_0x4f3d14;this['_seedExistingNodeSizes'](),this[_0x302e4c(0x44d)](_0x122c68(this[_0x302e4c(0x3dd)][_0x302e4c(0x3d9)][_0x302e4c(0x46c)](_0x41cd5b(this['dispose$']))[_0x302e4c(0x345)](_0x33a67a=>{const _0x46bb9a=_0x302e4c;_0x33a67a[_0x46bb9a(0x2d1)](_0x597e45=>{const _0x4146ab=_0x46bb9a;let _0x54b475=this[_0x4146ab(0x3dd)][_0x4146ab(0x40e)](_0x597e45['unitId'],_0x597e45[_0x4146ab(0x20a)],_0x597e45['elementId']);this[_0x4146ab(0x471)](_0x597e45,_0x54b475);});}))),this['disposeWithMe'](_0x122c68(this['_boardElementService']['elementUpdate$'][_0x302e4c(0x46c)](_0x41cd5b(this['dispose$']))['subscribe'](_0x3a0b48=>{const _0x9cfb61=_0x302e4c;_0x3a0b48[_0x9cfb61(0x2d1)](_0x432143=>this['_handleElementUpdate'](_0x432143));})));}[_0x4f3d14(0x1df)](){let _0x2f64ea=this['_renderContext']['unitId'],_0x195c23=this['_boardElementService']['getElementDataForUnit'](_0x2f64ea);Object['entries'](_0x195c23)['forEach'](([_0x55aa35,_0x162958])=>{const _0x3b1ff1=_0x5652;Object[_0x3b1ff1(0x2df)](_0x162958['data'])[_0x3b1ff1(0x2d1)](_0x28ed9a=>{const _0x7ee06=_0x3b1ff1;this['_rememberNodeSize']({'unitId':_0x2f64ea,'subUnitId':_0x55aa35,'elementId':_0x28ed9a[_0x7ee06(0x3e9)]},_0x28ed9a);});});}['_handleElementUpdate'](_0x3bde5a){const _0x4e50b9=_0x4f3d14;if(_0x3bde5a[_0x4e50b9(0x291)]!==this[_0x4e50b9(0x414)]['unitId'])return;let _0x123c54=this[_0x4e50b9(0x3dd)][_0x4e50b9(0x40e)](_0x3bde5a[_0x4e50b9(0x291)],_0x3bde5a[_0x4e50b9(0x20a)],_0x3bde5a[_0x4e50b9(0x3e9)]),_0x13c02e=_0x5585ba(_0x123c54==null?void 0x0:_0x123c54['element']),_0x2f1eb2=this[_0x4e50b9(0x4b2)](_0x123c54);if(!_0x13c02e||!_0x2f1eb2){this['_nodeSizeByKey'][_0x4e50b9(0x333)](this[_0x4e50b9(0x38a)](_0x3bde5a));return;}let _0x2dd253=this[_0x4e50b9(0x38a)](_0x3bde5a),_0x2117d8=this[_0x4e50b9(0x44b)][_0x4e50b9(0x47f)](_0x2dd253);this[_0x4e50b9(0x44b)][_0x4e50b9(0x1f8)](_0x2dd253,_0x2f1eb2),!(_0x2117d8&&_0x2117d8[_0x4e50b9(0x48c)]===_0x2f1eb2[_0x4e50b9(0x48c)]&&_0x2117d8[_0x4e50b9(0x36d)]===_0x2f1eb2[_0x4e50b9(0x36d)])&&this[_0x4e50b9(0x212)]({'unitId':_0x3bde5a['unitId'],'subUnitId':_0x3bde5a[_0x4e50b9(0x20a)],'scopeId':_0x13c02e[_0x4e50b9(0x2ea)]});}[_0x4f3d14(0x471)](_0x42bd81,_0x2752d4){const _0x357180=_0x4f3d14;if(_0x42bd81[_0x357180(0x291)]!==this['_renderContext'][_0x357180(0x291)])return;let _0x20b20f=_0x5585ba(_0x2752d4==null?void 0x0:_0x2752d4[_0x357180(0x1ca)]),_0x203ac3=this[_0x357180(0x4b2)](_0x2752d4);_0x20b20f&&_0x203ac3&&this[_0x357180(0x44b)][_0x357180(0x1f8)](this[_0x357180(0x38a)](_0x42bd81),_0x203ac3);}[_0x4f3d14(0x4b2)](_0x5a297a){const _0x4c0808=_0x4f3d14;let _0x480294=(_0x5a297a==null?void 0x0:_0x5a297a[_0x4c0808(0x330)])??(_0x5a297a==null?void 0x0:_0x5a297a[_0x4c0808(0x1ca)]['transform']),_0x528613=_0x480294==null?void 0x0:_0x480294[_0x4c0808(0x48c)],_0x239283=_0x480294==null?void 0x0:_0x480294[_0x4c0808(0x36d)];return!Number['isFinite'](_0x528613)||!Number[_0x4c0808(0x490)](_0x239283)?null:{'width':_0x528613,'height':_0x239283};}[_0x4f3d14(0x212)](_0x29ad57){const _0x44b7db=_0x4f3d14;this[_0x44b7db(0x4aa)][_0x44b7db(0x1f8)](_0x29ad57[_0x44b7db(0x291)]+':'+_0x29ad57['subUnitId']+':'+_0x29ad57['scopeId'],_0x29ad57),!this[_0x44b7db(0x2db)]&&(this[_0x44b7db(0x2db)]=!0x0,Promise[_0x44b7db(0x1ec)]()[_0x44b7db(0x193)](()=>{const _0x19b27d=_0x44b7db;this[_0x19b27d(0x2db)]=!0x1;let _0x559451=Array['from'](this[_0x19b27d(0x4aa)][_0x19b27d(0x2df)]());this[_0x19b27d(0x4aa)][_0x19b27d(0x343)](),_0x559451['forEach'](_0x27f3f4=>{const _0x3d296a=_0x19b27d;this[_0x3d296a(0x22a)](_0x27f3f4);});}));}['_executeRootAnchoredLayout'](_0x148ac8){const _0x2db063=_0x4f3d14;var _0x33b044;let _0x35a598=this['_boardElementService'][_0x2db063(0x40e)](_0x148ac8['unitId'],_0x148ac8['subUnitId'],_0x148ac8['scopeId']),_0x1001b4=(_0x33b044=_0x487e3a(_0x35a598==null?void 0x0:_0x35a598[_0x2db063(0x1ca)]))==null?void 0x0:_0x33b044[_0x2db063(0x380)];this['_commandService'][_0x2db063(0x32d)](_0x4b5dc4['id'],{..._0x148ac8,'skipUndo':!0x0,..._0x1001b4?{'anchorNodeId':_0x1001b4}:null});}[_0x4f3d14(0x38a)](_0x41a964){const _0x4a6588=_0x4f3d14;return _0x41a964['unitId']+':'+_0x41a964[_0x4a6588(0x20a)]+':'+_0x41a964['elementId'];}};an=J([q(0x1,_0x132a38(_0x5c495f)),q(0x2,_0x27d0fe)],an);const Y={'primaryColor':_0x121c72,'surfaceColor':_0x8d3d50,'textColor':_0x4edc0e,'fontFamily':_0x5afc33['ff']};function on(_0x17970d,_0x1e7c8c){const _0x2b0dac=_0x4f3d14;let _0x277af2=Math[_0x2b0dac(0x246)](0x1,Math[_0x2b0dac(0x31c)](0x0,Number[_0x2b0dac(0x490)](_0x1e7c8c)?_0x1e7c8c:0x1)),_0x4edbd4=_0x17970d[_0x2b0dac(0x387)](),_0x3a1d19=/^#([0-9a-fA-F]{6})$/['exec'](_0x4edbd4);if(!_0x3a1d19)return _0x17970d;let _0x32f147=_0x3a1d19[0x1];return _0x2b0dac(0x321)+Number[_0x2b0dac(0x4af)](_0x32f147[_0x2b0dac(0x2eb)](0x0,0x2),0x10)+',\x20'+Number['parseInt'](_0x32f147[_0x2b0dac(0x2eb)](0x2,0x4),0x10)+',\x20'+Number[_0x2b0dac(0x4af)](_0x32f147[_0x2b0dac(0x2eb)](0x4,0x6),0x10)+',\x20'+_0x277af2+')';}const X={'primaryColor':Y[_0x4f3d14(0x422)],'ghostFillColor':on(Y[_0x4f3d14(0x27a)],0.72),'ghostTextColor':on(Y[_0x4f3d14(0x426)],0.62),'rootTextColor':on(Y[_0x4f3d14(0x27a)],0.86),'sourceHighlightFillColor':on(Y[_0x4f3d14(0x422)],0.12),'sourceHighlightStrokeColor':on(Y[_0x4f3d14(0x422)],0.9),'objectAlpha':0.72,'dragObjectAlpha':0.78,'connectorAlpha':0.64,'lineWidthScreen':0x2,'fallbackNodeWidth':_0x5ad525[_0x4f3d14(0x3b8)],'fallbackNodeHeight':_0x5ad525[_0x4f3d14(0x1fa)],'branchGap':_0x1fa9e8[_0x4f3d14(0x2e6)],'sourceHaloScreen':0x4,'ghostRadius':0x8,'rootRadius':0xa,'fontFamily':Y[_0x4f3d14(0x2d0)],'ghostFontWeight':0x1f4,'rootFontWeight':0x258,'rootFontSize':0x12,'textPaddingScreen':0xc,'dirtyPaddingScreen':0x18,'sourceDashScreen':[0x6,0x4]};function Z(_0x83193d,_0xb02693,_0x3ae648,_0x3d6f0a,_0x1ed241,_0x12954b){const _0x40af9a=_0x4f3d14;let _0x230b32=Math[_0x40af9a(0x246)](_0x12954b,_0x3d6f0a/0x2,_0x1ed241/0x2);_0x83193d['beginPath'](),_0x83193d[_0x40af9a(0x2a2)](_0xb02693+_0x230b32,_0x3ae648),_0x83193d[_0x40af9a(0x28d)](_0xb02693+_0x3d6f0a-_0x230b32,_0x3ae648),_0x83193d[_0x40af9a(0x3e0)](_0xb02693+_0x3d6f0a,_0x3ae648,_0xb02693+_0x3d6f0a,_0x3ae648+_0x230b32),_0x83193d[_0x40af9a(0x28d)](_0xb02693+_0x3d6f0a,_0x3ae648+_0x1ed241-_0x230b32),_0x83193d[_0x40af9a(0x3e0)](_0xb02693+_0x3d6f0a,_0x3ae648+_0x1ed241,_0xb02693+_0x3d6f0a-_0x230b32,_0x3ae648+_0x1ed241),_0x83193d[_0x40af9a(0x28d)](_0xb02693+_0x230b32,_0x3ae648+_0x1ed241),_0x83193d[_0x40af9a(0x3e0)](_0xb02693,_0x3ae648+_0x1ed241,_0xb02693,_0x3ae648+_0x1ed241-_0x230b32),_0x83193d[_0x40af9a(0x28d)](_0xb02693,_0x3ae648+_0x230b32),_0x83193d[_0x40af9a(0x3e0)](_0xb02693,_0x3ae648,_0xb02693+_0x230b32,_0x3ae648),_0x83193d[_0x40af9a(0x2af)]();}function sn(_0x2f7657,_0x4f6587,_0x102b1b){const _0x3b8f5f=_0x4f3d14;return _0x2f7657+'\x20'+_0x4f6587/_0x102b1b+_0x3b8f5f(0x44a)+X[_0x3b8f5f(0x2d0)];}const cn=_0x4f3d14(0x344),ln=_0x2019f6[_0x4f3d14(0x354)];function Q(_0x3c1833,_0x27d145){const _0x2b909b=_0x4f3d14;return Number[_0x2b909b(0x490)](_0x3c1833)?_0x3c1833:_0x27d145;}function un(){const _0x29d24a=_0x4f3d14;return X[_0x29d24a(0x266)];}function dn(){const _0xe2dbf1=_0x4f3d14;return X[_0xe2dbf1(0x48a)];}function fn(_0x33eecc){const _0x320b34=_0x4f3d14;return _0x33eecc===0x1?_0x320b34(0x445):_0x33eecc===0x3?'right':'center';}function pn(_0x18d7cd,_0x54c50a,_0x18a95b,_0x38c9f5){return _0x18a95b===0x1?_0x18d7cd+_0x38c9f5:_0x18a95b===0x3?_0x18d7cd+_0x54c50a-_0x38c9f5:_0x18d7cd+_0x54c50a/0x2;}var mn=class extends _0x1f694c{constructor(_0x1bcedc=cn,_0x575374){const _0x5dfbf0=_0x4f3d14;super(_0x1bcedc),K(this,_0x5dfbf0(0x2e0),{'ghostBounds':null,'parentBounds':null,'side':_0x5dfbf0(0x289),'zoomRatio':0x1}),this[_0x5dfbf0(0x2f9)]=!0x1,this[_0x5dfbf0(0x23c)]=_0x65c3c8['transientPreviewForeground'],this[_0x5dfbf0(0x2e5)](_0x575374);}['updateState'](_0x278901){const _0x523d32=_0x4f3d14;if(this[_0x523d32(0x2e0)]={...this[_0x523d32(0x2e0)],..._0x278901},this[_0x523d32(0x2e0)][_0x523d32(0x472)]){let _0x427509=this[_0x523d32(0x3a0)]();this[_0x523d32(0x3be)](_0x427509),this[_0x523d32(0x2bf)]();}else this[_0x523d32(0x4a4)]();let _0x6d0452=this;typeof _0x6d0452[_0x523d32(0x2c8)]=='function'?_0x6d0452[_0x523d32(0x2c8)](!0x0):this[_0x523d32(0x32c)](!0x0);}[_0x4f3d14(0x397)](_0x43adfa){return!0x1;}[_0x4f3d14(0x360)](_0x4494b9,_0x2f535b){const _0x41dd5b=_0x4f3d14;let _0x21d86b=this[_0x41dd5b(0x2e0)]['ghostBounds'];if(!_0x21d86b||!this[_0x41dd5b(0x418)])return this[_0x41dd5b(0x32c)](!0x1),this;let _0x12f6b8=Number[_0x41dd5b(0x490)](this['_state'][_0x41dd5b(0x1e9)])&&(this[_0x41dd5b(0x2e0)][_0x41dd5b(0x1e9)]??0x0)>0x0?this['_state'][_0x41dd5b(0x1e9)]:0x1,_0x31b5ff=Q(_0x21d86b[_0x41dd5b(0x445)],0x0),_0x3a9441=Q(_0x21d86b[_0x41dd5b(0x2e1)],0x0),_0x2423bb=Math[_0x41dd5b(0x31c)](0x1,Q(_0x21d86b[_0x41dd5b(0x48c)],un())),_0x2a35a7=Math[_0x41dd5b(0x31c)](0x1,Q(_0x21d86b[_0x41dd5b(0x36d)],dn()));if(_0x4494b9['save'](),_0x4494b9[_0x41dd5b(0x26c)]=X[_0x41dd5b(0x35f)],_0x4494b9[_0x41dd5b(0x37c)]=X['lineWidthScreen']/_0x12f6b8,_0x4494b9[_0x41dd5b(0x355)]=X['primaryColor'],_0x4494b9['fillStyle']=X[_0x41dd5b(0x2bd)],this['_drawConnectorPreview'](_0x4494b9,{'left':_0x31b5ff,'top':_0x3a9441,'width':_0x2423bb,'height':_0x2a35a7},_0x12f6b8),this[_0x41dd5b(0x2cd)](_0x4494b9,_0x12f6b8),this[_0x41dd5b(0x2e0)][_0x41dd5b(0x33a)]===!0x1)return _0x4494b9[_0x41dd5b(0x1a0)](),this['makeDirty'](!0x1),this;Z(_0x4494b9,_0x31b5ff,_0x3a9441,_0x2423bb,_0x2a35a7,X[_0x41dd5b(0x307)]),_0x4494b9[_0x41dd5b(0x222)](),_0x4494b9[_0x41dd5b(0x267)]();let _0x4b6681=this[_0x41dd5b(0x2e0)]['textStyle'],_0x4bfe0d=Number[_0x41dd5b(0x490)](_0x4b6681==null?void 0x0:_0x4b6681['fontSize'])&&((_0x4b6681==null?void 0x0:_0x4b6681['fontSize'])??0x0)>0x0?_0x4b6681[_0x41dd5b(0x434)]:0x10,_0x3cdac2=X[_0x41dd5b(0x3dc)]/_0x12f6b8;return _0x4494b9[_0x41dd5b(0x3ef)]=(_0x4b6681==null?void 0x0:_0x4b6681[_0x41dd5b(0x25e)])??X[_0x41dd5b(0x427)],_0x4494b9[_0x41dd5b(0x4ae)]=sn(X[_0x41dd5b(0x203)],_0x4bfe0d,_0x12f6b8),_0x4494b9[_0x41dd5b(0x284)]=fn(_0x4b6681==null?void 0x0:_0x4b6681[_0x41dd5b(0x3d3)]),_0x4494b9['textBaseline']=_0x41dd5b(0x356),_0x4494b9['fillText']((_0x4b6681==null?void 0x0:_0x4b6681[_0x41dd5b(0x488)])||_0x251b5d,pn(_0x31b5ff,_0x2423bb,_0x4b6681==null?void 0x0:_0x4b6681['horizontalAlign'],_0x3cdac2),_0x3a9441+_0x2a35a7/0x2,Math['max'](0x1,_0x2423bb-_0x3cdac2*0x2)),_0x4494b9[_0x41dd5b(0x1a0)](),this[_0x41dd5b(0x32c)](!0x1),this;}[_0x4f3d14(0x3a0)](){const _0x5610a2=_0x4f3d14;let _0x267727=this[_0x5610a2(0x2e0)][_0x5610a2(0x472)],_0x14c92e=Number['isFinite'](this[_0x5610a2(0x2e0)]['zoomRatio'])&&(this[_0x5610a2(0x2e0)][_0x5610a2(0x1e9)]??0x0)>0x0?this[_0x5610a2(0x2e0)][_0x5610a2(0x1e9)]:0x1,_0x19d14f=X[_0x5610a2(0x39c)]/_0x14c92e;if(!_0x267727)return{'left':0x0,'top':0x0,'width':0x1,'height':0x1};let _0x3bf627=Q(_0x267727[_0x5610a2(0x445)],0x0),_0x4237b6=Q(_0x267727['top'],0x0),_0x539b78=Math['max'](0x1,Q(_0x267727[_0x5610a2(0x48c)],un())),_0x3cd2b5=Math[_0x5610a2(0x31c)](0x1,Q(_0x267727[_0x5610a2(0x36d)],dn())),_0xea9255=this[_0x5610a2(0x2e0)][_0x5610a2(0x3d1)],_0x41db8d=this[_0x5610a2(0x2e0)][_0x5610a2(0x2ab)],_0x5b558c=Q(_0xea9255==null?void 0x0:_0xea9255[_0x5610a2(0x445)],_0x3bf627),_0x1a0109=Q(_0xea9255==null?void 0x0:_0xea9255['top'],_0x4237b6),_0x34f5a7=Math['max'](0x1,Q(_0xea9255==null?void 0x0:_0xea9255[_0x5610a2(0x48c)],_0x539b78)),_0x1a4c73=Math[_0x5610a2(0x31c)](0x1,Q(_0xea9255==null?void 0x0:_0xea9255['height'],_0x3cd2b5));if(!_0x41db8d){let _0x1fb1e4=Math[_0x5610a2(0x246)](_0x3bf627,_0x5b558c)-_0x19d14f,_0x3f2094=Math['min'](_0x4237b6,_0x1a0109)-_0x19d14f,_0x326a12=Math['max'](_0x3bf627+_0x539b78,_0x5b558c+_0x34f5a7)+_0x19d14f,_0x2eb862=Math[_0x5610a2(0x31c)](_0x4237b6+_0x3cd2b5,_0x1a0109+_0x1a4c73)+_0x19d14f;return{'left':_0x1fb1e4,'top':_0x3f2094,'width':_0x326a12-_0x1fb1e4,'height':_0x2eb862-_0x3f2094};}let _0x26f659=Q(_0x41db8d[_0x5610a2(0x445)],_0x3bf627),_0x527d1a=Q(_0x41db8d[_0x5610a2(0x2e1)],_0x4237b6),_0x7c973c=Math['max'](0x1,Q(_0x41db8d[_0x5610a2(0x48c)],un())),_0x41da28=Math[_0x5610a2(0x31c)](0x1,Q(_0x41db8d[_0x5610a2(0x36d)],dn())),_0x2c0233=Math['min'](_0x3bf627,_0x26f659,_0x5b558c)-_0x19d14f,_0x2190e9=Math['min'](_0x4237b6,_0x527d1a,_0x1a0109)-_0x19d14f,_0x23fd88=Math['max'](_0x3bf627+_0x539b78,_0x26f659+_0x7c973c,_0x5b558c+_0x34f5a7)+_0x19d14f,_0xd6bed9=Math[_0x5610a2(0x31c)](_0x4237b6+_0x3cd2b5,_0x527d1a+_0x41da28,_0x1a0109+_0x1a4c73)+_0x19d14f;return{'left':_0x2c0233,'top':_0x2190e9,'width':_0x23fd88-_0x2c0233,'height':_0xd6bed9-_0x2190e9};}[_0x4f3d14(0x2cd)](_0x30e700,_0x8bf9d0){const _0x348b82=_0x4f3d14;var _0x38735f;let _0x266027=this['_state']['sourceBounds'];if(!_0x266027)return;let _0x2700fc=X[_0x348b82(0x39b)]/_0x8bf9d0,_0x1fdcb5=Q(_0x266027[_0x348b82(0x445)],0x0)-_0x2700fc,_0x2b6c70=Q(_0x266027[_0x348b82(0x2e1)],0x0)-_0x2700fc,_0x5e95e9=Math[_0x348b82(0x31c)](0x1,Q(_0x266027[_0x348b82(0x48c)],un()))+_0x2700fc*0x2,_0x145543=Math[_0x348b82(0x31c)](0x1,Q(_0x266027['height'],dn()))+_0x2700fc*0x2;_0x30e700['save'](),_0x30e700[_0x348b82(0x26c)]=0x1,_0x30e700[_0x348b82(0x37c)]=X[_0x348b82(0x26b)]/_0x8bf9d0,_0x30e700[_0x348b82(0x355)]=X[_0x348b82(0x44f)],_0x30e700[_0x348b82(0x3ef)]=X[_0x348b82(0x216)],(_0x38735f=_0x30e700['setLineDash'])==null||_0x38735f[_0x348b82(0x2a4)](_0x30e700,X[_0x348b82(0x37f)][_0x348b82(0x2c1)](_0x1fec45=>_0x1fec45/_0x8bf9d0)),Z(_0x30e700,_0x1fdcb5,_0x2b6c70,_0x5e95e9,_0x145543,X[_0x348b82(0x1ce)]),_0x30e700[_0x348b82(0x222)](),_0x30e700[_0x348b82(0x267)](),_0x30e700[_0x348b82(0x1a0)]();}['_drawConnectorPreview'](_0x354b59,_0x4b55fc,_0x35c9b2){const _0x4826af=_0x4f3d14;let _0x404186=this[_0x4826af(0x2e0)][_0x4826af(0x2ab)];if(!_0x404186)return;let _0x4e29f8=Q(_0x404186[_0x4826af(0x445)],0x0),_0x19aabb=Q(_0x404186[_0x4826af(0x2e1)],0x0),_0x2235b0=Math[_0x4826af(0x31c)](0x1,Q(_0x404186[_0x4826af(0x48c)],un())),_0x58a557=Math[_0x4826af(0x31c)](0x1,Q(_0x404186[_0x4826af(0x36d)],dn())),_0x152546=X[_0x4826af(0x2e6)],_0x1318d8=this[_0x4826af(0x2e0)][_0x4826af(0x350)]??_0x4826af(0x289);if(_0x354b59[_0x4826af(0x3de)](),_0x354b59[_0x4826af(0x26c)]=X[_0x4826af(0x42c)],_0x354b59[_0x4826af(0x355)]=X[_0x4826af(0x422)],_0x354b59[_0x4826af(0x37c)]=X[_0x4826af(0x26b)]/_0x35c9b2,_0x354b59['lineCap']=_0x4826af(0x28e),_0x354b59[_0x4826af(0x47a)]='round',_0x354b59[_0x4826af(0x2de)](),_0x1318d8===_0x4826af(0x2e1)||_0x1318d8===_0x4826af(0x449)){let _0x44158c=_0x4e29f8+_0x2235b0/0x2,_0x4c37e3=_0x4b55fc[_0x4826af(0x445)]+_0x4b55fc[_0x4826af(0x48c)]/0x2,_0xa7e077=_0x1318d8===_0x4826af(0x449)?_0x19aabb+_0x58a557:_0x19aabb,_0xa57878=_0x1318d8===_0x4826af(0x449)?_0x4b55fc[_0x4826af(0x2e1)]:_0x4b55fc['top']+_0x4b55fc[_0x4826af(0x36d)],_0x113e9c=_0x1318d8===_0x4826af(0x449)?Math[_0x4826af(0x246)](_0xa7e077+_0x152546,(_0xa7e077+_0xa57878)/0x2):Math[_0x4826af(0x31c)](_0xa7e077-_0x152546,(_0xa7e077+_0xa57878)/0x2);_0x354b59[_0x4826af(0x2a2)](_0x44158c,_0xa7e077),_0x354b59['lineTo'](_0x44158c,_0x113e9c),_0x354b59[_0x4826af(0x28d)](_0x4c37e3,_0x113e9c),_0x354b59['lineTo'](_0x4c37e3,_0xa57878);}else{let _0x47ab2f=_0x19aabb+_0x58a557/0x2,_0xa02693=_0x4b55fc[_0x4826af(0x2e1)]+_0x4b55fc[_0x4826af(0x36d)]/0x2,_0x273456=_0x1318d8===_0x4826af(0x289)?_0x4e29f8+_0x2235b0:_0x4e29f8,_0x33ec9f=_0x1318d8===_0x4826af(0x289)?_0x4b55fc[_0x4826af(0x445)]:_0x4b55fc[_0x4826af(0x445)]+_0x4b55fc[_0x4826af(0x48c)],_0x210c00=_0x1318d8===_0x4826af(0x289)?Math[_0x4826af(0x246)](_0x273456+_0x152546,(_0x273456+_0x33ec9f)/0x2):Math[_0x4826af(0x31c)](_0x273456-_0x152546,(_0x273456+_0x33ec9f)/0x2);_0x354b59[_0x4826af(0x2a2)](_0x273456,_0x47ab2f),_0x354b59[_0x4826af(0x28d)](_0x210c00,_0x47ab2f),_0x354b59[_0x4826af(0x28d)](_0x210c00,_0xa02693),_0x354b59[_0x4826af(0x28d)](_0x33ec9f,_0xa02693);}_0x354b59[_0x4826af(0x267)](),_0x354b59[_0x4826af(0x1a0)]();}};function hn(_0x52d8c4,_0x19c558){const _0x15dc11=_0x4f3d14;return(_0x19c558==null?void 0x0:_0x19c558[_0x52d8c4[_0x15dc11(0x3e9)]])??_0x52d8c4[_0x15dc11(0x1ca)]['transform'];}function gn(_0x508402,_0x9115a9){const _0x31b384=_0x4f3d14;let _0x50c97e=hn(_0x508402,_0x9115a9);return{'x':(_0x50c97e[_0x31b384(0x445)]??0x0)+(_0x50c97e[_0x31b384(0x48c)]??0x0)/0x2,'y':(_0x50c97e[_0x31b384(0x2e1)]??0x0)+(_0x50c97e[_0x31b384(0x36d)]??0x0)/0x2};}function _n(_0x3797dc,_0x3ad3ad){const _0x311932=_0x4f3d14;return Math[_0x311932(0x277)](_0x3797dc['x']-_0x3ad3ad['x'],_0x3797dc['y']-_0x3ad3ad['y']);}function vn(_0x57714c,_0x5b71c6){const _0x4f7b7e=_0x4f3d14;let _0x1d2aae=_0x57714c[_0x4f7b7e(0x445)]??0x0,_0xd38757=_0x57714c[_0x4f7b7e(0x2e1)]??0x0,_0x2f89fd=_0x1d2aae+(_0x57714c['width']??0x0),_0x37703f=_0xd38757+(_0x57714c[_0x4f7b7e(0x36d)]??0x0),_0x20feab=_0x5b71c6[_0x4f7b7e(0x445)]??0x0,_0x60c255=_0x5b71c6[_0x4f7b7e(0x2e1)]??0x0,_0x553c28=_0x20feab+(_0x5b71c6[_0x4f7b7e(0x48c)]??0x0),_0x42a308=_0x60c255+(_0x5b71c6[_0x4f7b7e(0x36d)]??0x0),_0xa406da=Math[_0x4f7b7e(0x31c)](_0x20feab-_0x2f89fd,_0x1d2aae-_0x553c28,0x0),_0x1aee14=Math[_0x4f7b7e(0x31c)](_0x60c255-_0x37703f,_0xd38757-_0x42a308,0x0);return Math[_0x4f7b7e(0x277)](_0xa406da,_0x1aee14);}function yn(_0x22f853,_0xd82b7d,_0x445a83){const _0x262281=_0x4f3d14;var _0x58aaf4;let _0xea3e19=_0x5585ba((_0x58aaf4=_0x22f853[_0xd82b7d])==null?void 0x0:_0x58aaf4[_0x262281(0x1ca)]);for(;_0xea3e19!=null&&_0xea3e19[_0x262281(0x29f)];){var _0x331e0f;if(_0xea3e19[_0x262281(0x29f)]===_0x445a83)return!0x0;_0xea3e19=_0x5585ba((_0x331e0f=_0x22f853[_0xea3e19[_0x262281(0x29f)]])==null?void 0x0:_0x331e0f[_0x262281(0x1ca)]);}return!0x1;}function bn(_0x1082b0,_0x460e7c,_0x413cbc){const _0x149b9b=_0x4f3d14;let _0x36cfff=hn(_0x1082b0,_0x413cbc),_0xdf1df8=_0x36cfff[_0x149b9b(0x2e1)]??0x0,_0x11332d=_0x36cfff[_0x149b9b(0x36d)]??0x0;return _0x11332d<=0x0?null:_0x460e7c['y']<=_0xdf1df8+_0x11332d/0x3?_0x149b9b(0x2ee):_0x460e7c['y']>=_0xdf1df8+_0x11332d*0x2/0x3?_0x149b9b(0x3e3):null;}function xn(_0x4bb481,_0x5518d0){const _0x3a5020=_0x4f3d14;let _0x37d66f=_0x5518d0==null?void 0x0:_0x5518d0[_0x4bb481];return Number[_0x3a5020(0x490)](_0x37d66f==null?void 0x0:_0x37d66f[_0x3a5020(0x445)])&&Number[_0x3a5020(0x490)](_0x37d66f==null?void 0x0:_0x37d66f[_0x3a5020(0x2e1)])?{'kind':_0x3a5020(0x197),'left':_0x37d66f[_0x3a5020(0x445)],'top':_0x37d66f['top']}:{'kind':_0x3a5020(0x197)};}function Sn(_0x444b0e,_0x3300a4,_0x395f47){const _0x5a8f38=_0x4f3d14;let _0x3c20d0=_0x444b0e[_0x3300a4],_0x14d546=_0x5585ba(_0x3c20d0==null?void 0x0:_0x3c20d0[_0x5a8f38(0x1ca)]);if(!_0x3c20d0||!_0x14d546||!_0x14d546[_0x5a8f38(0x29f)]&&!(_0x395f47!=null&&_0x395f47[_0x5a8f38(0x34e)]))return{'kind':'none'};let _0xf30ce7=_0x395f47==null?void 0x0:_0x395f47[_0x5a8f38(0x211)],_0x59959b=hn(_0x3c20d0,_0xf30ce7),_0x2d64e8=gn(_0x3c20d0,_0xf30ce7),_0x566a44=Object[_0x5a8f38(0x2df)](_0x444b0e)[_0x5a8f38(0x2c1)](_0x47276b=>{const _0x15b668=_0x5a8f38;let _0x857495=_0x5585ba(_0x47276b['element']);return!_0x857495||_0x47276b[_0x15b668(0x3e9)]===_0x3300a4||_0x47276b['elementId']===_0x14d546[_0x15b668(0x29f)]||_0x395f47!=null&&_0x395f47[_0x15b668(0x34e)]&&!_0x14d546[_0x15b668(0x29f)]&&_0x857495[_0x15b668(0x2ea)]===_0x14d546[_0x15b668(0x2ea)]||yn(_0x444b0e,_0x47276b[_0x15b668(0x3e9)],_0x3300a4)?null:{'item':_0x47276b,'snapDistance':vn(_0x59959b,hn(_0x47276b,_0xf30ce7)),'center':gn(_0x47276b,_0xf30ce7)};})[_0x5a8f38(0x43b)](_0x2349ae=>!!_0x2349ae)[_0x5a8f38(0x1aa)]((_0x5ac92f,_0x44d32e)=>_0x5ac92f[_0x5a8f38(0x1c6)]-_0x44d32e[_0x5a8f38(0x1c6)]||_n(_0x2d64e8,_0x5ac92f[_0x5a8f38(0x237)])-_n(_0x2d64e8,_0x44d32e[_0x5a8f38(0x237)]))[0x0];if(_0x566a44&&_0x566a44[_0x5a8f38(0x1c6)]<=0x64){let _0x312c93=_0x5585ba(_0x566a44[_0x5a8f38(0x252)][_0x5a8f38(0x1ca)]),_0x4641c8=_0x312c93!=null&&_0x312c93[_0x5a8f38(0x29f)]?bn(_0x566a44[_0x5a8f38(0x252)],_0x2d64e8,_0xf30ce7):null;return _0x312c93!=null&&_0x312c93[_0x5a8f38(0x29f)]&&_0x4641c8?{'kind':_0x5a8f38(0x3b0),'newParentNodeId':_0x312c93[_0x5a8f38(0x29f)],'side':_0x312c93[_0x5a8f38(0x350)]??'right','referenceNodeId':_0x566a44[_0x5a8f38(0x252)][_0x5a8f38(0x3e9)],'placement':_0x4641c8}:{'kind':_0x5a8f38(0x3b0),'newParentNodeId':_0x566a44[_0x5a8f38(0x252)][_0x5a8f38(0x3e9)],'side':_0x2d64e8['x']<_0x566a44['center']['x']?_0x5a8f38(0x445):_0x5a8f38(0x289)};}if(_0x395f47!=null&&_0x395f47[_0x5a8f38(0x23a)])return xn(_0x3300a4,_0xf30ce7);if(!_0x14d546[_0x5a8f38(0x29f)])return{'kind':_0x5a8f38(0x2a1)};let _0x18e422=_0x444b0e[_0x14d546[_0x5a8f38(0x29f)]];return _0x18e422&&_n(_0x2d64e8,gn(_0x18e422,_0xf30ce7))>0x230?xn(_0x3300a4,_0xf30ce7):{'kind':_0x5a8f38(0x2a1)};}function Cn(_0x3e4316,_0x2a4cfb){const _0xa301f5=_0x4f3d14;var _0x35a8df,_0x4e3e57;return _0x3e4316['elementId']===_0x2a4cfb||((_0x35a8df=_0x5585ba(_0x3e4316['element']))==null?void 0x0:_0x35a8df[_0xa301f5(0x2ea)])===_0x2a4cfb||((_0x4e3e57=_0x5dd284(_0x3e4316[_0xa301f5(0x1ca)]))==null?void 0x0:_0x4e3e57[_0xa301f5(0x2ea)])===_0x2a4cfb;}function wn(_0x1a0ee4,_0x3ff425,_0x386835,_0x5dec8c){const _0x5957b4=_0x4f3d14;let _0x3ca282=_0x1a0ee4[_0x3ff425];if(!_0x3ca282)return _0x1a0ee4;let _0x292f3e=_0x3ca282[_0x5957b4(0x330)]??_0x3ca282[_0x5957b4(0x1ca)][_0x5957b4(0x330)]??{};return{..._0x1a0ee4,[_0x3ff425]:{..._0x3ca282,'transform':{..._0x292f3e,'left':(_0x292f3e[_0x5957b4(0x445)]??0x0)+_0x386835,'top':(_0x292f3e[_0x5957b4(0x2e1)]??0x0)+_0x5dec8c},'element':{..._0x3ca282[_0x5957b4(0x1ca)],'transform':{..._0x3ca282[_0x5957b4(0x1ca)][_0x5957b4(0x330)],'left':(_0x3ca282[_0x5957b4(0x1ca)]['transform'][_0x5957b4(0x445)]??0x0)+_0x386835,'top':(_0x3ca282[_0x5957b4(0x1ca)][_0x5957b4(0x330)][_0x5957b4(0x2e1)]??0x0)+_0x5dec8c}}}};}function Tn(_0x125dfb){const _0xfe211f=_0x4f3d14;if(!Number[_0xfe211f(0x490)](_0x125dfb[_0xfe211f(0x1a1)]['left'])||!Number[_0xfe211f(0x490)](_0x125dfb[_0xfe211f(0x1a1)]['top'])||!Number['isFinite'](_0x125dfb[_0xfe211f(0x1d9)][_0xfe211f(0x445)])||!Number['isFinite'](_0x125dfb[_0xfe211f(0x1d9)][_0xfe211f(0x2e1)]))return null;let _0x63af4c=_0x125dfb['liveRootBounds'][_0xfe211f(0x445)]-_0x125dfb[_0xfe211f(0x1d9)][_0xfe211f(0x445)],_0x179fa7=_0x125dfb[_0xfe211f(0x1a1)][_0xfe211f(0x2e1)]-_0x125dfb[_0xfe211f(0x1d9)][_0xfe211f(0x2e1)],_0x5957a1=wn(_0x125dfb['elementData'],_0x125dfb['scopeId'],_0x63af4c,_0x179fa7),_0x85364d=[];return Object[_0xfe211f(0x2df)](_0x5957a1)['forEach'](_0x91cbb7=>{const _0x4adf04=_0xfe211f;if(_0x91cbb7[_0x4adf04(0x3e9)]===_0x125dfb[_0x4adf04(0x380)]||_0x91cbb7[_0x4adf04(0x3e9)]===_0x125dfb[_0x4adf04(0x3a9)]||!Cn(_0x91cbb7,_0x125dfb[_0x4adf04(0x3a9)]))return;if(_0x4adf04(0x37d)in _0x91cbb7['element']){var _0x25ead6;let _0x208132=(_0x25ead6=_0x125dfb[_0x4adf04(0x241)][_0x91cbb7[_0x4adf04(0x3e9)]])==null?void 0x0:_0x25ead6[_0x4adf04(0x1ca)];_0x208132&&_0x4adf04(0x37d)in _0x208132&&_0x85364d[_0x4adf04(0x3ee)]({'kind':_0x4adf04(0x382),'elementId':_0x91cbb7[_0x4adf04(0x3e9)],'element':_0x4d906e(_0x208132,{'x':_0x63af4c,'y':_0x179fa7})});return;}let _0x5f001b=_0x25dbfe(_0x5957a1,_0x91cbb7['elementId']);_0x5f001b&&_0x85364d[_0x4adf04(0x3ee)]({'kind':_0x4adf04(0x19a),'elementId':_0x91cbb7[_0x4adf04(0x3e9)],'bounds':_0x5f001b});}),{'deltaX':_0x63af4c,'deltaY':_0x179fa7,'elementData':_0x5957a1,'items':_0x85364d};}let En=class extends _0x41f8e5{constructor(_0x3e6834,_0x2aaf7a,_0x14841e,_0x44fd32,_0x4f262a,_0xb3f954,_0x23504d){const _0xfb9b29=_0x4f3d14;super(),this['_renderContext']=_0x3e6834,this[_0xfb9b29(0x3dd)]=_0x2aaf7a,this[_0xfb9b29(0x1a3)]=_0x14841e,this[_0xfb9b29(0x32f)]=_0x44fd32,this[_0xfb9b29(0x322)]=_0x4f262a,this['_instanceService']=_0xb3f954,this['_undoRedoGroupService']=_0x23504d,K(this,'_dragStart',null),K(this,_0xfb9b29(0x40a),null),K(this,_0xfb9b29(0x34b),null),K(this,_0xfb9b29(0x1c5),!0x1),K(this,_0xfb9b29(0x357),null),K(this,_0xfb9b29(0x40c),null),K(this,'_attachObjectPointerScheduled',!0x1),K(this,_0xfb9b29(0x24e),null),K(this,_0xfb9b29(0x30b),!0x1),this[_0xfb9b29(0x45b)]();}[_0x4f3d14(0x45b)](){const _0x1941ad=_0x4f3d14;var _0x42b654,_0x554275,_0x345db3,_0x1ab1bd,_0x22c3ff;let _0x59cde7=this[_0x1941ad(0x414)]['scene'][_0x1941ad(0x1dc)]();this[_0x1941ad(0x44d)](_0x122c68(_0x59cde7['changeStart$'][_0x1941ad(0x46c)](_0x41cd5b(this[_0x1941ad(0x494)]))[_0x1941ad(0x345)](()=>{const _0x3ecd97=_0x1941ad;this[_0x3ecd97(0x440)]();}))),this[_0x1941ad(0x44d)](_0x122c68(((_0x42b654=_0x59cde7[_0x1941ad(0x299)])==null?void 0x0:_0x42b654['pipe'](_0x41cd5b(this['dispose$']))[_0x1941ad(0x345)](_0xb7a050=>{const _0x58f094=_0x1941ad;this['_syncDragPreview'](_0xb7a050==null?void 0x0:_0xb7a050[_0x58f094(0x365)]);}))??{'dispose':()=>{}})),this['disposeWithMe'](_0x122c68(_0x59cde7[_0x1941ad(0x34d)][_0x1941ad(0x46c)](_0x41cd5b(this['dispose$']))['subscribe'](_0x31102c=>{const _0x300eac=_0x1941ad;setTimeout(()=>this[_0x300eac(0x424)](_0x31102c==null?void 0x0:_0x31102c[_0x300eac(0x365)]),0x0);}))),this[_0x1941ad(0x44d)](_0x122c68(((_0x554275=this[_0x1941ad(0x414)]['scene'][_0x1941ad(0x210)])==null?void 0x0:_0x554275[_0x1941ad(0x474)]({'priority':0x3,'next':([_0x43d5b3])=>this['_capturePointerChildDragStart'](_0x43d5b3)}))??{'dispose':()=>{}})),this[_0x1941ad(0x44d)](_0x122c68(((_0x345db3=this[_0x1941ad(0x414)][_0x1941ad(0x48b)][_0x1941ad(0x450)])==null?void 0x0:_0x345db3[_0x1941ad(0x474)]({'priority':0x3,'next':([_0x2b81a2,_0x3685b4])=>this[_0x1941ad(0x2d5)](_0x2b81a2,_0x3685b4)}))??{'dispose':()=>{}})),this[_0x1941ad(0x44d)](_0x122c68(((_0x1ab1bd=this['_renderContext']['scene'][_0x1941ad(0x376)])==null?void 0x0:_0x1ab1bd[_0x1941ad(0x474)]({'priority':0x3,'next':([_0x281d8d,_0x78f7cc])=>this['_applyPointerChildDrag'](_0x281d8d,_0x78f7cc)}))??{'dispose':()=>{}})),this['disposeWithMe'](_0x122c68(((_0x22c3ff=this[_0x1941ad(0x414)][_0x1941ad(0x48b)][_0x1941ad(0x3cc)])==null?void 0x0:_0x22c3ff[_0x1941ad(0x474)]({'priority':0x3,'next':([,_0x3f495c])=>this[_0x1941ad(0x392)](_0x3f495c)}))??{'dispose':()=>{}})),this[_0x1941ad(0x44d)](_0x122c68(()=>{const _0x982256=_0x1941ad;var _0x4eec26;return(_0x4eec26=this[_0x982256(0x40c)])==null?void 0x0:_0x4eec26['dispose']();})),this['disposeWithMe'](_0x122c68(()=>this[_0x1941ad(0x49e)]())),this['_subscribeElementDataChanges'](),this[_0x1941ad(0x32b)](),this[_0x1941ad(0x44d)](_0x122c68(()=>this[_0x1941ad(0x2f1)]()));}['_subscribeElementDataChanges'](){const _0x3db070=_0x4f3d14;[this[_0x3db070(0x3dd)][_0x3db070(0x3d9)],this[_0x3db070(0x3dd)][_0x3db070(0x283)],this[_0x3db070(0x3dd)][_0x3db070(0x228)]]['forEach'](_0xb79504=>{const _0x11f14c=_0x3db070;this[_0x11f14c(0x44d)](_0x122c68(_0xb79504[_0x11f14c(0x46c)](_0x41cd5b(this[_0x11f14c(0x494)]))['subscribe'](()=>{const _0x22d004=_0x11f14c;this[_0x22d004(0x32b)]();})));}),this[_0x3db070(0x1a3)][_0x3db070(0x475)]&&this[_0x3db070(0x44d)](_0x122c68(this[_0x3db070(0x1a3)][_0x3db070(0x475)][_0x3db070(0x46c)](_0x41cd5b(this['dispose$']))[_0x3db070(0x345)](()=>{this['_scheduleAttachObjectPointerListeners']();})));}[_0x4f3d14(0x32b)](){const _0x32039c=_0x4f3d14;this[_0x32039c(0x1f3)]||(this[_0x32039c(0x1f3)]=!0x0,Promise[_0x32039c(0x1ec)]()[_0x32039c(0x193)](()=>this[_0x32039c(0x3c4)]()));}['_attachObjectPointerListeners'](){const _0x5339a8=_0x4f3d14;var _0x4438dc;this[_0x5339a8(0x1f3)]=!0x1;let _0x23c48a=this[_0x5339a8(0x2da)](),_0x1ede85=this[_0x5339a8(0x414)]['scene'];if(!_0x23c48a||typeof _0x1ede85[_0x5339a8(0x3b7)]!=_0x5339a8(0x2b8))return;let _0x6fe492=this['_boardElementService'][_0x5339a8(0x198)](_0x23c48a['unitId'],_0x23c48a['subUnitId']),_0x8ca680=new _0x3fd367();(_0x4438dc=this[_0x5339a8(0x40c)])==null||_0x4438dc['dispose'](),this[_0x5339a8(0x40c)]=_0x8ca680,Object[_0x5339a8(0x2df)](_0x6fe492)[_0x5339a8(0x2d1)](_0x4597f4=>{const _0xd82527=_0x5339a8;var _0x31ec87,_0x403544;let _0x1f8f8c=_0x5585ba(_0x4597f4[_0xd82527(0x1ca)]);if(!(_0x1f8f8c!=null&&_0x1f8f8c['parentNodeId']))return;let _0x2f4cdb=_0x55b3e2(_0x23c48a[_0xd82527(0x291)],_0x4597f4[_0xd82527(0x3e9)]),_0x42b42a=((_0x31ec87=_0x1ede85[_0xd82527(0x484)])==null?void 0x0:_0x31ec87[_0xd82527(0x2a4)](_0x1ede85,_0x2f4cdb))??((_0x403544=_0x1ede85[_0xd82527(0x3b7)])==null?void 0x0:_0x403544[_0xd82527(0x2a4)](_0x1ede85,_0x2f4cdb));_0x42b42a!=null&&_0x42b42a[_0xd82527(0x210)]&&_0x8ca680['add'](_0x42b42a[_0xd82527(0x210)][_0xd82527(0x474)]({'priority':-0xa,'next':([_0x417069,_0x12efdc])=>this[_0xd82527(0x24f)](_0x417069,{'unitId':_0x23c48a[_0xd82527(0x291)],'subUnitId':_0x23c48a[_0xd82527(0x20a)],'nodeId':_0x4597f4['elementId']},_0x12efdc)}));});}['_resolveCurrentBoardContext'](){const _0x5eb5d1=_0x4f3d14;let _0x16530b=this['_elementStateService']['getSnapshot']()[_0x5eb5d1(0x3ac)];if(_0x16530b)return _0x16530b;let _0x451e5f=this[_0x5eb5d1(0x414)][_0x5eb5d1(0x291)],_0x2c96de=_0x451e5f?this[_0x5eb5d1(0x39d)][_0x5eb5d1(0x236)](_0x451e5f,_0x8b4a1a[_0x5eb5d1(0x35b)]):null,_0xe260e0=_0x2c96de==null?void 0x0:_0x2c96de['getActivePageId']();return!_0x2c96de||!_0xe260e0?null:{'unitId':_0x2c96de[_0x5eb5d1(0x352)](),'subUnitId':_0xe260e0};}['_captureDragStart'](){const _0x4f640f=_0x4f3d14;let _0xa1bcf3=this[_0x4f640f(0x1a3)][_0x4f640f(0x310)]();this[_0x4f640f(0x1c5)]=!0x1,this['_childDragSelectionHidden']=!0x1,this['_lastChildDragAction']=null;let _0x4bb258=_0xa1bcf3[_0x4f640f(0x3ac)],_0xfa0057=_0xa1bcf3[_0x4f640f(0x206)]??_0xa1bcf3[_0x4f640f(0x375)][0x0];if(!_0x4bb258||!_0xfa0057){this[_0x4f640f(0x469)]=null,this[_0x4f640f(0x2f1)]();return;}let _0x1a519d=this[_0x4f640f(0x3dd)]['getElementData'](_0x4bb258[_0x4f640f(0x291)],_0x4bb258['subUnitId']);if(_0xa1bcf3[_0x4f640f(0x375)][_0x4f640f(0x452)]>0x1){let _0x155d49=this[_0x4f640f(0x2f2)](_0x1a519d,_0xa1bcf3[_0x4f640f(0x375)]);if(!_0x155d49){this[_0x4f640f(0x469)]=null,this[_0x4f640f(0x2f1)]();return;}let _0x3094cd=_0x1a519d[_0x155d49[_0x4f640f(0x380)]],_0x5e99f7=_0x25dbfe(_0x1a519d,_0x155d49[_0x4f640f(0x380)]),_0x563a17=_0x3094cd['element'][_0x4f640f(0x330)];this[_0x4f640f(0x469)]={'kind':'scope','unitId':_0x4bb258[_0x4f640f(0x291)],'subUnitId':_0x4bb258[_0x4f640f(0x20a)],'nodeId':_0x155d49[_0x4f640f(0x380)],'scopeId':_0x155d49['scopeId'],'left':(_0x5e99f7==null?void 0x0:_0x5e99f7[_0x4f640f(0x445)])??_0x563a17[_0x4f640f(0x445)]??0x0,'top':(_0x5e99f7==null?void 0x0:_0x5e99f7[_0x4f640f(0x2e1)])??_0x563a17[_0x4f640f(0x2e1)]??0x0,'width':(_0x5e99f7==null?void 0x0:_0x5e99f7[_0x4f640f(0x48c)])??_0x563a17[_0x4f640f(0x48c)]??0x0,'height':(_0x5e99f7==null?void 0x0:_0x5e99f7['height'])??_0x563a17[_0x4f640f(0x36d)]??0x0,'elementData':_0x1a519d};return;}let _0x1547ff=_0x1a519d[_0xfa0057],_0x2c566b=_0x5585ba(_0x1547ff==null?void 0x0:_0x1547ff[_0x4f640f(0x1ca)]);if(!_0x1547ff||!_0x2c566b){this[_0x4f640f(0x469)]=null,this[_0x4f640f(0x2f1)]();return;}let _0x5ee728=_0x25dbfe(_0x1a519d,_0xfa0057),_0x340336=_0x1547ff[_0x4f640f(0x1ca)][_0x4f640f(0x330)];this[_0x4f640f(0x469)]={'kind':_0x2c566b[_0x4f640f(0x29f)]===null?'root':'child','unitId':_0x4bb258['unitId'],'subUnitId':_0x4bb258[_0x4f640f(0x20a)],'nodeId':_0xfa0057,'scopeId':_0x2c566b[_0x4f640f(0x2ea)],'left':(_0x5ee728==null?void 0x0:_0x5ee728[_0x4f640f(0x445)])??_0x340336[_0x4f640f(0x445)]??0x0,'top':(_0x5ee728==null?void 0x0:_0x5ee728['top'])??_0x340336[_0x4f640f(0x2e1)]??0x0,'width':(_0x5ee728==null?void 0x0:_0x5ee728[_0x4f640f(0x48c)])??_0x340336[_0x4f640f(0x48c)]??0x0,'height':(_0x5ee728==null?void 0x0:_0x5ee728[_0x4f640f(0x36d)])??_0x340336[_0x4f640f(0x36d)]??0x0,'elementData':_0x1a519d};}['_resolveCompleteSelectedScope'](_0x3009c5,_0x20d966){const _0x4f7734=_0x4f3d14;let _0x2c5724=new Set(_0x20d966),_0x2bd150=_0x20d966[_0x4f7734(0x2c1)](_0x28554c=>{const _0x7285e1=_0x4f7734;var _0xc27231,_0x50dde7,_0x4c4668,_0x2d0f5f;let _0x2a998c=(_0xc27231=_0x3009c5[_0x28554c])==null?void 0x0:_0xc27231[_0x7285e1(0x1ca)];return((_0x50dde7=_0x5585ba(_0x2a998c))==null?void 0x0:_0x50dde7['structureScopeId'])??((_0x4c4668=_0x5dd284(_0x2a998c))==null?void 0x0:_0x4c4668[_0x7285e1(0x2ea)])??((_0x2d0f5f=_0x487e3a(_0x2a998c))==null?void 0x0:_0x2d0f5f[_0x7285e1(0x2ea)])??null;});if(_0x2bd150[_0x4f7734(0x4a2)](_0x41d60c=>_0x41d60c===null)||new Set(_0x2bd150)['size']!==0x1)return null;let _0x157c22=_0x2bd150[0x0];if(!_0x157c22)return null;let _0x72db05=Object['values'](_0x3009c5)['filter'](_0x16d370=>{const _0x5eb831=_0x4f7734;var _0x336e1e;return _0x16d370['element'][_0x5eb831(0x418)]!==!0x1&&((_0x336e1e=_0x5585ba(_0x16d370[_0x5eb831(0x1ca)]))==null?void 0x0:_0x336e1e[_0x5eb831(0x2ea)])===_0x157c22;});if(_0x72db05[_0x4f7734(0x452)]===0x0||_0x72db05['some'](_0x3f090f=>!_0x2c5724[_0x4f7734(0x290)](_0x3f090f[_0x4f7734(0x3e9)])))return null;let _0x55aeb7=_0x72db05[_0x4f7734(0x43b)](_0x514e61=>{const _0x2dd914=_0x4f7734;var _0x5b17ea;return((_0x5b17ea=_0x5585ba(_0x514e61[_0x2dd914(0x1ca)]))==null?void 0x0:_0x5b17ea[_0x2dd914(0x29f)])===null;});return _0x55aeb7[_0x4f7734(0x452)]===0x1?{'rootNodeId':_0x55aeb7[0x0][_0x4f7734(0x3e9)],'scopeId':_0x157c22}:null;}[_0x4f3d14(0x24f)](_0x5888dc,_0x153c0b,_0x559f65){const _0x4722cd=_0x4f3d14;var _0x4b0056,_0x44b323,_0x3a0c9f,_0x49f605,_0x442916;if(this[_0x4722cd(0x322)][_0x4722cd(0x25b)]()[_0x4722cd(0x447)]==='viewing'||(_0x5888dc[_0x4722cd(0x26f)]??0x0)!==0x0)return;let _0x283168=this['_elementStateService'][_0x4722cd(0x310)]();if(_0x283168[_0x4722cd(0x483)]){this[_0x4722cd(0x40a)]=null;return;}let _0x33a504=_0x153c0b?{'unitId':_0x153c0b['unitId'],'subUnitId':_0x153c0b[_0x4722cd(0x20a)]}:_0x283168[_0x4722cd(0x3ac)]??this['_resolveCurrentBoardContext'](),_0x4fff91=(_0x153c0b==null?void 0x0:_0x153c0b[_0x4722cd(0x3f9)])??(_0x283168[_0x4722cd(0x375)][_0x4722cd(0x452)]===0x1?_0x283168[_0x4722cd(0x206)]??_0x283168[_0x4722cd(0x375)][0x0]:void 0x0);if(!_0x33a504){this[_0x4722cd(0x40a)]=null;return;}let _0x13299f=this[_0x4722cd(0x3dd)][_0x4722cd(0x198)](_0x33a504[_0x4722cd(0x291)],_0x33a504[_0x4722cd(0x20a)]),_0x2eefe=this[_0x4722cd(0x446)](_0x5888dc);if(!_0x153c0b){let _0x2d36dc=_0x4fff91?_0x13299f[_0x4fff91]:null,_0x59d303=_0x5585ba(_0x2d36dc==null?void 0x0:_0x2d36dc[_0x4722cd(0x1ca)]),_0x442560=_0x4fff91?_0x25dbfe(_0x13299f,_0x4fff91)??(_0x2d36dc==null?void 0x0:_0x2d36dc[_0x4722cd(0x1ca)][_0x4722cd(0x330)]):null;(!(_0x59d303!=null&&_0x59d303[_0x4722cd(0x29f)])||!_0x442560||!this[_0x4722cd(0x33e)](_0x2eefe,{'left':_0x442560[_0x4722cd(0x445)]??0x0,'top':_0x442560['top']??0x0,'width':_0x442560[_0x4722cd(0x48c)]??0x0,'height':_0x442560['height']??0x0}))&&(_0x4fff91=this[_0x4722cd(0x3d6)](_0x13299f,_0x2eefe));}if(!_0x4fff91){this[_0x4722cd(0x40a)]=null;return;}let _0x4c5f14=_0x13299f[_0x4fff91],_0x529501=_0x5585ba(_0x4c5f14==null?void 0x0:_0x4c5f14[_0x4722cd(0x1ca)]);if(!_0x4c5f14||!(_0x529501!=null&&_0x529501[_0x4722cd(0x29f)])){this['_pointerDragStart']=null;return;}this[_0x4722cd(0x39d)]['focusUnit'](_0x33a504[_0x4722cd(0x291)]),(_0x4b0056=this[_0x4722cd(0x414)][_0x4722cd(0x3f4)])==null||(_0x44b323=_0x4b0056['getCanvasElement'])==null||(_0x44b323=_0x44b323[_0x4722cd(0x2a4)](_0x4b0056))==null||(_0x3a0c9f=_0x44b323[_0x4722cd(0x3b6)])==null||_0x3a0c9f[_0x4722cd(0x2a4)](_0x44b323,{'preventScroll':!0x0}),(_0x49f605=(_0x442916=this[_0x4722cd(0x1a3)])['selectElements'])==null||_0x49f605[_0x4722cd(0x2a4)](_0x442916,_0x33a504,[_0x4fff91],_0x4fff91),_0x559f65==null||_0x559f65[_0x4722cd(0x1de)]();let _0x4c4b69=_0x25dbfe(_0x13299f,_0x4fff91),_0x59769e=_0x4c5f14[_0x4722cd(0x1ca)]['transform'],_0xf9eda4={'left':(_0x4c4b69==null?void 0x0:_0x4c4b69[_0x4722cd(0x445)])??_0x59769e['left']??0x0,'top':(_0x4c4b69==null?void 0x0:_0x4c4b69[_0x4722cd(0x2e1)])??_0x59769e[_0x4722cd(0x2e1)]??0x0,'width':(_0x4c4b69==null?void 0x0:_0x4c4b69[_0x4722cd(0x48c)])??_0x59769e[_0x4722cd(0x48c)]??0x0,'height':(_0x4c4b69==null?void 0x0:_0x4c4b69['height'])??_0x59769e[_0x4722cd(0x36d)]??0x0};if(!_0x153c0b&&!this['_isPointInBounds'](_0x2eefe,_0xf9eda4)){this[_0x4722cd(0x40a)]=null;return;}let _0xb815cd=this[_0x4722cd(0x1e1)](_0x5888dc);this['_childDragActivated']=!0x1,this[_0x4722cd(0x30b)]=!0x1,this['_lastChildDragAction']=null,this[_0x4722cd(0x40a)]={'kind':_0x4722cd(0x306),'unitId':_0x33a504['unitId'],'subUnitId':_0x33a504['subUnitId'],'nodeId':_0x4fff91,'scopeId':_0x529501[_0x4722cd(0x2ea)],..._0xf9eda4,'pointerStartX':_0xb815cd['x'],'pointerStartY':_0xb815cd['y'],'elementData':_0x13299f},this[_0x4722cd(0x438)](),this[_0x4722cd(0x38e)](_0x5888dc,_0x559f65);}[_0x4f3d14(0x2d5)](_0x1a3cbd,_0x131c7f){const _0x49a26d=_0x4f3d14;var _0x37e782,_0x2643d8;let _0xd935=this[_0x49a26d(0x40a)];if(!_0xd935||_0x1a3cbd[_0x49a26d(0x242)]!==void 0x0&&_0x1a3cbd['buttons']!==0x1)return;let _0x5d1d25=this[_0x49a26d(0x461)](_0x1a3cbd,_0xd935);if(!this[_0x49a26d(0x465)](_0xd935,_0x5d1d25))return;this[_0x49a26d(0x1c5)]||this[_0x49a26d(0x332)](),this[_0x49a26d(0x1c5)]=!0x0;let _0x5aaa2e=this[_0x49a26d(0x460)](_0xd935[_0x49a26d(0x241)],_0xd935[_0x49a26d(0x3f9)],_0x5d1d25),_0x1a6e9a=Sn(_0xd935[_0x49a26d(0x241)],_0xd935['nodeId'],{'boundsByElementId':_0x5aaa2e,'detachWhenNoSnap':!0x0});this[_0x49a26d(0x357)]=_0x1a6e9a,this['_syncChildDragPreviewObject'](_0x5d1d25,_0x1a6e9a,_0x5aaa2e),this[_0x49a26d(0x38e)](_0x1a3cbd,_0x131c7f),this[_0x49a26d(0x414)][_0x49a26d(0x48b)][_0x49a26d(0x32c)](!0x0),(_0x37e782=(_0x2643d8=this[_0x49a26d(0x414)][_0x49a26d(0x48b)])[_0x49a26d(0x1cf)])==null||_0x37e782['call'](_0x2643d8);}[_0x4f3d14(0x453)](_0x3aabbe,_0x5c0164){const _0x333da1=_0x4f3d14;let _0x1540ba=this['_pointerDragStart'];if(!_0x1540ba)return;if(this[_0x333da1(0x40a)]=null,this[_0x333da1(0x49e)](),this[_0x333da1(0x2f1)](),!this['_childDragActivated']){this['_lastChildDragAction']=null;return;}let _0x3c59e6=this[_0x333da1(0x3dd)][_0x333da1(0x198)](_0x1540ba[_0x333da1(0x291)],_0x1540ba[_0x333da1(0x20a)]),_0x47092c=this[_0x333da1(0x461)](_0x3aabbe,_0x1540ba),_0x50c714=this[_0x333da1(0x460)](_0x3c59e6,_0x1540ba[_0x333da1(0x3f9)],_0x47092c),_0xb9f5fe=Sn(_0x3c59e6,_0x1540ba[_0x333da1(0x3f9)],{'boundsByElementId':_0x50c714,'detachWhenNoSnap':!0x0});this['_lastChildDragAction']=null,this[_0x333da1(0x1b7)](_0x1540ba[_0x333da1(0x291)],_0x1540ba[_0x333da1(0x20a)],_0x1540ba[_0x333da1(0x3f9)],_0x3c59e6,_0xb9f5fe),this[_0x333da1(0x30b)]=!0x1,this['_consumePointerEvent'](_0x3aabbe,_0x5c0164);}[_0x4f3d14(0x392)](_0x12ebb4){const _0x5720d4=_0x4f3d14;let _0x258b7a=this[_0x5720d4(0x40a)];if(_0x258b7a){if(this[_0x5720d4(0x40a)]=null,this[_0x5720d4(0x49e)](),this[_0x5720d4(0x1c5)]=!0x1,this[_0x5720d4(0x357)]=null,this[_0x5720d4(0x2f1)](),this['_childDragSelectionHidden']){var _0x27ed2e,_0x3da45e;(_0x27ed2e=(_0x3da45e=this['_elementStateService'])[_0x5720d4(0x42b)])==null||_0x27ed2e[_0x5720d4(0x2a4)](_0x3da45e,{'unitId':_0x258b7a['unitId'],'subUnitId':_0x258b7a['subUnitId']},[_0x258b7a[_0x5720d4(0x3f9)]],_0x258b7a['nodeId']),this['_childDragSelectionHidden']=!0x1;}_0x12ebb4==null||_0x12ebb4['stopPropagation']();}}[_0x4f3d14(0x438)](){const _0x910d42=_0x4f3d14;this['_disposeActivePointerDragListeners']();let _0x293363=typeof window>'u'?null:window;if(!(_0x293363!=null&&_0x293363[_0x910d42(0x248)]))return;let _0x2582b2=new _0x3fd367(),_0x40b053=_0x3ee041=>this[_0x910d42(0x2d5)](_0x3ee041),_0x39f9c0=_0x93f06a=>this['_applyPointerChildDrag'](_0x93f06a),_0x502842=()=>this[_0x910d42(0x392)]();_0x293363['addEventListener'](_0x910d42(0x225),_0x40b053,{'capture':!0x0}),_0x293363['addEventListener'](_0x910d42(0x302),_0x39f9c0,{'capture':!0x0}),_0x293363[_0x910d42(0x248)]('pointercancel',_0x502842,{'capture':!0x0}),_0x2582b2[_0x910d42(0x45d)](_0x122c68(()=>{const _0x30da24=_0x910d42;_0x293363[_0x30da24(0x48d)](_0x30da24(0x225),_0x40b053,{'capture':!0x0}),_0x293363[_0x30da24(0x48d)](_0x30da24(0x302),_0x39f9c0,{'capture':!0x0}),_0x293363[_0x30da24(0x48d)](_0x30da24(0x2b7),_0x502842,{'capture':!0x0});})),this['_activePointerDragDisposables']=_0x2582b2;}[_0x4f3d14(0x3d6)](_0x1e5e69,_0x44c593){const _0x54add4=_0x4f3d14;let _0xb321d3=Object['values'](_0x1e5e69);for(let _0x31e7b6=_0xb321d3[_0x54add4(0x452)]-0x1;_0x31e7b6>=0x0;--_0x31e7b6){let _0xbb616f=_0xb321d3[_0x31e7b6],_0x47db50=_0x5585ba(_0xbb616f[_0x54add4(0x1ca)]);if(!(_0x47db50!=null&&_0x47db50[_0x54add4(0x29f)]))continue;let _0x1b5de8=_0x25dbfe(_0x1e5e69,_0xbb616f[_0x54add4(0x3e9)])??_0xbb616f['element'][_0x54add4(0x330)];if(this['_isPointInBounds'](_0x44c593,{'left':_0x1b5de8[_0x54add4(0x445)]??0x0,'top':_0x1b5de8[_0x54add4(0x2e1)]??0x0,'width':_0x1b5de8['width']??0x0,'height':_0x1b5de8[_0x54add4(0x36d)]??0x0}))return _0xbb616f[_0x54add4(0x3e9)];}}[_0x4f3d14(0x49e)](){const _0x9e7c2=_0x4f3d14;var _0x5e0ab5;(_0x5e0ab5=this[_0x9e7c2(0x24e)])==null||_0x5e0ab5[_0x9e7c2(0x45e)](),this[_0x9e7c2(0x24e)]=null;}[_0x4f3d14(0x42f)](_0x40c494){const _0x52e5e2=_0x4f3d14;let _0x319212=this[_0x52e5e2(0x469)];_0x319212&&((_0x319212['kind']===_0x52e5e2(0x1d6)||_0x319212[_0x52e5e2(0x315)]==='scope')&&this['_syncRootScopePreview'](_0x40c494),_0x319212[_0x52e5e2(0x315)]===_0x52e5e2(0x1d6)?this['_syncRootReparentPreview'](_0x40c494):this[_0x52e5e2(0x23e)](_0x40c494));}[_0x4f3d14(0x404)](_0x5c2763){const _0x454ef5=_0x4f3d14;let _0x154faa=this[_0x454ef5(0x469)];if(!_0x154faa||_0x154faa['kind']!==_0x454ef5(0x1d6)&&_0x154faa[_0x454ef5(0x315)]!==_0x454ef5(0x30a))return;let _0x3f69ee=_0x5c2763==null?void 0x0:_0x5c2763[_0x454ef5(0x47f)](_0x55b3e2(_0x154faa[_0x454ef5(0x291)],_0x154faa[_0x454ef5(0x3f9)]));if(!_0x3f69ee||!Number[_0x454ef5(0x490)](_0x3f69ee[_0x454ef5(0x445)])||!Number[_0x454ef5(0x490)](_0x3f69ee['top']))return;let _0x511013=Tn({'elementData':_0x154faa[_0x454ef5(0x241)],'rootNodeId':_0x154faa[_0x454ef5(0x3f9)],'scopeId':_0x154faa[_0x454ef5(0x3a9)],'rootStartBounds':{'left':_0x154faa[_0x454ef5(0x445)],'top':_0x154faa[_0x454ef5(0x2e1)]},'liveRootBounds':{'left':_0x3f69ee[_0x454ef5(0x445)],'top':_0x3f69ee[_0x454ef5(0x2e1)]}});if(!_0x511013)return;let _0x37e164=this[_0x454ef5(0x414)][_0x454ef5(0x48b)],_0x4996ae=_0x37e164,_0x45f68e=!0x1;_0x511013[_0x454ef5(0x2ef)][_0x454ef5(0x2d1)](_0x5ae759=>{const _0x1d7b80=_0x454ef5;var _0x1fbb5e;let _0x22e391=_0x55b3e2(_0x154faa[_0x1d7b80(0x291)],_0x5ae759[_0x1d7b80(0x3e9)]),_0x2932be=((_0x1fbb5e=_0x4996ae[_0x1d7b80(0x484)])==null?void 0x0:_0x1fbb5e[_0x1d7b80(0x2a4)](_0x4996ae,_0x22e391))??_0x37e164[_0x1d7b80(0x3b7)](_0x22e391);_0x2932be&&(_0x5ae759[_0x1d7b80(0x315)]==='connector'&&typeof _0x2932be[_0x1d7b80(0x33b)]=='function'?(_0x2932be[_0x1d7b80(0x33b)](_0x5ae759[_0x1d7b80(0x1ca)],_0x511013['elementData']),_0x45f68e=!0x0):_0x5ae759[_0x1d7b80(0x315)]===_0x1d7b80(0x19a)&&(_0x2932be[_0x1d7b80(0x3be)](_0x5ae759[_0x1d7b80(0x19a)]),typeof _0x2932be[_0x1d7b80(0x2c8)]==_0x1d7b80(0x2b8)?_0x2932be[_0x1d7b80(0x2c8)](!0x0):_0x2932be[_0x1d7b80(0x32c)](!0x0),_0x45f68e=!0x0));}),_0x45f68e&&_0x37e164[_0x454ef5(0x32c)](!0x0);}[_0x4f3d14(0x3c8)](_0x3523aa){const _0x8fca15=_0x4f3d14;var _0x445392,_0x5d547f;let _0x55359e=this['_dragStart'];if(!_0x55359e||_0x55359e[_0x8fca15(0x315)]!=='root')return;let _0xde8f29=_0x3523aa==null?void 0x0:_0x3523aa[_0x8fca15(0x47f)](_0x55b3e2(_0x55359e[_0x8fca15(0x291)],_0x55359e[_0x8fca15(0x3f9)]));if(!_0xde8f29||!Number[_0x8fca15(0x490)](_0xde8f29[_0x8fca15(0x445)])||!Number[_0x8fca15(0x490)](_0xde8f29[_0x8fca15(0x2e1)])){this['_removeDragPreviewObject']();return;}let _0xcb2ecf=this[_0x8fca15(0x20b)](_0xde8f29,_0x55359e),_0x764d4c=this[_0x8fca15(0x460)](_0x55359e['elementData'],_0x55359e[_0x8fca15(0x3f9)],_0xcb2ecf),_0x52d542=Sn(_0x55359e['elementData'],_0x55359e[_0x8fca15(0x3f9)],{'boundsByElementId':_0x764d4c,'allowRootReparent':!0x0});if(_0x52d542[_0x8fca15(0x315)]!==_0x8fca15(0x3b0)){this['_removeDragPreviewObject']();return;}let _0x222bf1=this['_ensureDragPreviewObject']();_0x222bf1&&(_0x222bf1[_0x8fca15(0x2e5)]({'ghostBounds':_0xcb2ecf,'sourceBounds':null,'parentBounds':_0x764d4c[_0x52d542[_0x8fca15(0x1d8)]],'side':_0x52d542[_0x8fca15(0x350)],'textStyle':void 0x0,'renderGhostNode':!0x1}),this['_renderContext'][_0x8fca15(0x48b)][_0x8fca15(0x32c)](!0x0),(_0x445392=(_0x5d547f=this['_renderContext'][_0x8fca15(0x48b)])[_0x8fca15(0x1cf)])==null||_0x445392[_0x8fca15(0x2a4)](_0x5d547f));}[_0x4f3d14(0x23e)](_0x41d7a6){const _0x239668=_0x4f3d14;var _0x5f5ae9,_0x59ba61;let _0x3aa44b=this[_0x239668(0x469)];if(!_0x3aa44b||_0x3aa44b['kind']!=='child')return;let _0x3e9185=_0x41d7a6==null?void 0x0:_0x41d7a6[_0x239668(0x47f)](_0x55b3e2(_0x3aa44b[_0x239668(0x291)],_0x3aa44b['nodeId']));if(!_0x3e9185){this[_0x239668(0x2f1)]();return;}let _0x67acd3=this[_0x239668(0x20b)](_0x3e9185,_0x3aa44b);if(!this[_0x239668(0x465)](_0x3aa44b,_0x67acd3)){this[_0x239668(0x357)]=null,this[_0x239668(0x2f1)](),this[_0x239668(0x384)](_0x3e9185,_0x3aa44b),this[_0x239668(0x414)][_0x239668(0x48b)][_0x239668(0x32c)](!0x0);return;}this[_0x239668(0x1c5)]||this[_0x239668(0x332)](),this[_0x239668(0x1c5)]=!0x0;let _0x3bfd1e=this[_0x239668(0x460)](_0x3aa44b[_0x239668(0x241)],_0x3aa44b[_0x239668(0x3f9)],_0x67acd3),_0x865122=Sn(_0x3aa44b[_0x239668(0x241)],_0x3aa44b[_0x239668(0x3f9)],{'boundsByElementId':_0x3bfd1e,'detachWhenNoSnap':!0x0});this[_0x239668(0x357)]=_0x865122,this['_syncChildDragPreviewObject'](_0x67acd3,_0x865122,_0x3bfd1e),this[_0x239668(0x384)](_0x3e9185,_0x3aa44b),this[_0x239668(0x414)]['scene'][_0x239668(0x32c)](!0x0),(_0x5f5ae9=(_0x59ba61=this[_0x239668(0x414)]['scene'])[_0x239668(0x1cf)])==null||_0x5f5ae9[_0x239668(0x2a4)](_0x59ba61);}[_0x4f3d14(0x424)](_0x3068f3){const _0x1feda1=_0x4f3d14;var _0x27020f;let _0x1fcb95=this['_elementStateService'][_0x1feda1(0x310)](),_0x161a29=_0x1fcb95[_0x1feda1(0x3ac)],_0x3454ba=_0x1fcb95[_0x1feda1(0x206)]??_0x1fcb95[_0x1feda1(0x375)][0x0];if(_0x161a29&&((_0x27020f=this[_0x1feda1(0x469)])==null?void 0x0:_0x27020f[_0x1feda1(0x315)])===_0x1feda1(0x30a)){this[_0x1feda1(0x2f1)](),this[_0x1feda1(0x276)](_0x161a29['unitId'],_0x161a29[_0x1feda1(0x20a)],_0x3068f3);return;}if(!_0x161a29||!_0x3454ba||_0x1fcb95[_0x1feda1(0x375)]['length']!==0x1){this[_0x1feda1(0x2f1)](),this[_0x1feda1(0x469)]=null;return;}this[_0x1feda1(0x2f1)]();let _0x2f9a69=this[_0x1feda1(0x3dd)]['getElementData'](_0x161a29['unitId'],_0x161a29['subUnitId']);if(this[_0x1feda1(0x41c)](_0x161a29[_0x1feda1(0x291)],_0x161a29[_0x1feda1(0x20a)],_0x3454ba,_0x2f9a69,_0x3068f3))return;let _0x1fb3d5=this['_resolveChildDragTopologyAction'](_0x161a29[_0x1feda1(0x291)],_0x161a29[_0x1feda1(0x20a)],_0x3454ba,_0x2f9a69,_0x3068f3);this[_0x1feda1(0x1b7)](_0x161a29[_0x1feda1(0x291)],_0x161a29[_0x1feda1(0x20a)],_0x3454ba,_0x2f9a69,_0x1fb3d5);}[_0x4f3d14(0x276)](_0x34c972,_0x445b8,_0x4e0501){const _0x55c5f4=_0x4f3d14;let _0x35c02e=this[_0x55c5f4(0x469)];if(this[_0x55c5f4(0x469)]=null,!_0x35c02e||_0x35c02e[_0x55c5f4(0x315)]!==_0x55c5f4(0x30a)||_0x35c02e[_0x55c5f4(0x291)]!==_0x34c972||_0x35c02e['subUnitId']!==_0x445b8)return;let _0x2af708=_0x4e0501==null?void 0x0:_0x4e0501[_0x55c5f4(0x47f)](_0x55b3e2(_0x34c972,_0x35c02e[_0x55c5f4(0x3f9)])),_0x4be51f=_0x2af708&&Number['isFinite'](_0x2af708[_0x55c5f4(0x445)])?_0x2af708[_0x55c5f4(0x445)]??_0x35c02e[_0x55c5f4(0x445)]:_0x35c02e[_0x55c5f4(0x445)],_0x4ea7f6=_0x2af708&&Number[_0x55c5f4(0x490)](_0x2af708[_0x55c5f4(0x2e1)])?_0x2af708[_0x55c5f4(0x2e1)]??_0x35c02e[_0x55c5f4(0x2e1)]:_0x35c02e['top'],_0x40c323=_0x4be51f-_0x35c02e[_0x55c5f4(0x445)],_0x1321f3=_0x4ea7f6-_0x35c02e['top'];(_0x40c323!==0x0||_0x1321f3!==0x0)&&this[_0x55c5f4(0x32f)][_0x55c5f4(0x32d)](_0x2c3a69['id'],{'unitId':_0x34c972,'subUnitId':_0x445b8,'scopeId':_0x35c02e['scopeId'],'deltaX':_0x40c323,'deltaY':_0x1321f3});}['_executeChildDragAction'](_0x4dbd33,_0x245d87,_0x550ce2,_0x110c30,_0x1ea3ab){const _0x34ba60=_0x4f3d14;if(_0x1ea3ab[_0x34ba60(0x315)]==='reparent'){var _0x521739,_0x3d0349;let _0x493bdc=_0x5585ba((_0x521739=_0x110c30[_0x550ce2])==null?void 0x0:_0x521739[_0x34ba60(0x1ca)]),_0x5d7289=_0x5585ba((_0x3d0349=_0x110c30[_0x1ea3ab[_0x34ba60(0x1d8)]])==null?void 0x0:_0x3d0349['element']);this[_0x34ba60(0x479)](_0x2f561c['id'],{'unitId':_0x4dbd33,'subUnitId':_0x245d87,'nodeId':_0x550ce2,'newParentNodeId':_0x1ea3ab[_0x34ba60(0x1d8)],'side':_0x1ea3ab['side'],..._0x1ea3ab[_0x34ba60(0x47e)]?{'referenceNodeId':_0x1ea3ab[_0x34ba60(0x47e)]}:null,..._0x1ea3ab[_0x34ba60(0x3c9)]?{'placement':_0x1ea3ab[_0x34ba60(0x3c9)]}:null},[_0x493bdc==null?void 0x0:_0x493bdc[_0x34ba60(0x2ea)],_0x5d7289==null?void 0x0:_0x5d7289[_0x34ba60(0x2ea)]],_0x550ce2);}else{if(_0x1ea3ab[_0x34ba60(0x315)]===_0x34ba60(0x197)){var _0x348125;let _0x604420=_0x5585ba((_0x348125=_0x110c30[_0x550ce2])==null?void 0x0:_0x348125[_0x34ba60(0x1ca)]);this['_executeAndLayout'](_0x10841e['id'],{'unitId':_0x4dbd33,'subUnitId':_0x245d87,'nodeId':_0x550ce2,...Number['isFinite'](_0x1ea3ab[_0x34ba60(0x445)])?{'left':_0x1ea3ab['left']}:null,...Number['isFinite'](_0x1ea3ab[_0x34ba60(0x2e1)])?{'top':_0x1ea3ab[_0x34ba60(0x2e1)]}:null},[_0x604420==null?void 0x0:_0x604420['structureScopeId']],_0x550ce2);}}}[_0x4f3d14(0x41c)](_0x184e2d,_0x4555f1,_0x196486,_0x2b2be7,_0x2dbb91){const _0x373bad=_0x4f3d14;let _0x1b30e0=this[_0x373bad(0x469)];if((_0x1b30e0==null?void 0x0:_0x1b30e0[_0x373bad(0x315)])==='root'&&(this[_0x373bad(0x469)]=null),!_0x1b30e0||_0x1b30e0['unitId']!==_0x184e2d||_0x1b30e0['subUnitId']!==_0x4555f1||_0x1b30e0[_0x373bad(0x3f9)]!==_0x196486)return!0x1;let _0x26b5ff=_0x2b2be7[_0x196486],_0x557255=_0x5585ba(_0x26b5ff==null?void 0x0:_0x26b5ff[_0x373bad(0x1ca)]);if(!_0x26b5ff||!_0x557255||_0x557255[_0x373bad(0x29f)]!==null)return!0x1;let _0x34c1b3=_0x2dbb91==null?void 0x0:_0x2dbb91[_0x373bad(0x47f)](_0x55b3e2(_0x184e2d,_0x196486)),_0x4f75b0=_0x25dbfe(_0x2b2be7,_0x196486),_0xe650c4=Number[_0x373bad(0x490)](_0x34c1b3==null?void 0x0:_0x34c1b3[_0x373bad(0x445)])?_0x34c1b3[_0x373bad(0x445)]:(_0x4f75b0==null?void 0x0:_0x4f75b0[_0x373bad(0x445)])??_0x26b5ff[_0x373bad(0x1ca)][_0x373bad(0x330)][_0x373bad(0x445)]??0x0,_0x2a1c87=Number[_0x373bad(0x490)](_0x34c1b3==null?void 0x0:_0x34c1b3['top'])?_0x34c1b3[_0x373bad(0x2e1)]:(_0x4f75b0==null?void 0x0:_0x4f75b0[_0x373bad(0x2e1)])??_0x26b5ff[_0x373bad(0x1ca)][_0x373bad(0x330)]['top']??0x0,_0x1ad58e=_0xe650c4-_0x1b30e0['left'],_0x4f8d17=_0x2a1c87-_0x1b30e0[_0x373bad(0x2e1)];if(_0x1ad58e===0x0&&_0x4f8d17===0x0)return!0x0;let _0x5c4640={'left':_0xe650c4,'top':_0x2a1c87,'width':Number[_0x373bad(0x490)](_0x34c1b3==null?void 0x0:_0x34c1b3[_0x373bad(0x48c)])?_0x34c1b3[_0x373bad(0x48c)]:_0x1b30e0[_0x373bad(0x48c)],'height':Number[_0x373bad(0x490)](_0x34c1b3==null?void 0x0:_0x34c1b3['height'])?_0x34c1b3['height']:_0x1b30e0['height']},_0x1c2b47=Sn(_0x2b2be7,_0x196486,{'boundsByElementId':this[_0x373bad(0x460)](_0x2b2be7,_0x196486,_0x5c4640),'allowRootReparent':!0x0});if(_0x1c2b47[_0x373bad(0x315)]===_0x373bad(0x3b0))return this['_executeChildDragAction'](_0x184e2d,_0x4555f1,_0x196486,_0x2b2be7,_0x1c2b47),!0x0;let _0x18e4c8=!!_0x4f75b0&&Math[_0x373bad(0x36a)](_0x4f75b0[_0x373bad(0x445)]-_0xe650c4)<0.001&&Math[_0x373bad(0x36a)](_0x4f75b0[_0x373bad(0x2e1)]-_0x2a1c87)<0.001;return this[_0x373bad(0x32f)][_0x373bad(0x32d)](_0x2c3a69['id'],{'unitId':_0x184e2d,'subUnitId':_0x4555f1,'scopeId':_0x1b30e0['scopeId'],'deltaX':_0x1ad58e,'deltaY':_0x4f8d17,..._0x18e4c8?{'excludeElementIds':[_0x196486],'preserveExcludedWorldTransforms':!0x0}:null}),!0x0;}[_0x4f3d14(0x217)](_0x2e3efe,_0x124e3d,_0x17f410,_0xa45230,_0x39af3f){const _0x2c419b=_0x4f3d14;let _0x40f03e=this[_0x2c419b(0x469)];if(!_0x40f03e||_0x40f03e[_0x2c419b(0x315)]!=='child'||_0x40f03e['unitId']!==_0x2e3efe||_0x40f03e[_0x2c419b(0x20a)]!==_0x124e3d||_0x40f03e[_0x2c419b(0x3f9)]!==_0x17f410)return{'kind':_0x2c419b(0x2a1)};this[_0x2c419b(0x469)]=null;let _0x5738ba=_0x39af3f==null?void 0x0:_0x39af3f[_0x2c419b(0x47f)](_0x55b3e2(_0x2e3efe,_0x17f410));if(!this[_0x2c419b(0x1c5)])return _0x5738ba&&this[_0x2c419b(0x384)](_0x5738ba,_0x40f03e),this[_0x2c419b(0x357)]=null,{'kind':_0x2c419b(0x2a1)};if(!_0x5738ba){let _0x2cc549=this[_0x2c419b(0x357)]??{'kind':_0x2c419b(0x2a1)};return this[_0x2c419b(0x357)]=null,_0x2cc549;}let _0xd5f34=this['_getLiveObjectBounds'](_0x5738ba,_0x40f03e);if(this['_restoreObjectToDragStart'](_0x5738ba,_0x40f03e),!this[_0x2c419b(0x465)](_0x40f03e,_0xd5f34))return this[_0x2c419b(0x357)]=null,{'kind':_0x2c419b(0x2a1)};let _0x47c331=Sn(_0xa45230,_0x17f410,{'boundsByElementId':this[_0x2c419b(0x460)](_0xa45230,_0x17f410,_0xd5f34),'detachWhenNoSnap':!0x0});return this['_lastChildDragAction']=null,_0x47c331;}['_isChildDragPastActivationThreshold'](_0x27e6a4,_0x2ad581){const _0x3765be=_0x4f3d14;let _0x38149b=(_0x2ad581[_0x3765be(0x445)]??_0x27e6a4['left'])-_0x27e6a4[_0x3765be(0x445)],_0x22aacc=(_0x2ad581[_0x3765be(0x2e1)]??_0x27e6a4[_0x3765be(0x2e1)])-_0x27e6a4[_0x3765be(0x2e1)];return Math[_0x3765be(0x277)](_0x38149b,_0x22aacc)>=0x12;}['_getPointerLiveBounds'](_0x27cf74,_0x4c4656){const _0x5bf3d9=_0x4f3d14;let _0x317b5a=this[_0x5bf3d9(0x1e1)](_0x27cf74),_0x31fb9d=this[_0x5bf3d9(0x2e7)]();return{'left':_0x4c4656[_0x5bf3d9(0x445)]+(_0x317b5a['x']-_0x4c4656[_0x5bf3d9(0x1ad)])/_0x31fb9d,'top':_0x4c4656['top']+(_0x317b5a['y']-_0x4c4656[_0x5bf3d9(0x1b2)])/_0x31fb9d,'width':_0x4c4656['width'],'height':_0x4c4656[_0x5bf3d9(0x36d)]};}[_0x4f3d14(0x446)](_0x2ff7ab){const _0x1d9812=_0x4f3d14;let _0x46a962=this[_0x1d9812(0x322)][_0x1d9812(0x25b)](),_0x2c2bc4=(_0x46a962==null?void 0x0:_0x46a962[_0x1d9812(0x36e)])??{'x':0x0,'y':0x0},_0x4ba453=this[_0x1d9812(0x2e7)]();return{'x':Math[_0x1d9812(0x28e)](((_0x2ff7ab[_0x1d9812(0x385)]??0x0)-_0x2c2bc4['x'])/_0x4ba453),'y':Math[_0x1d9812(0x28e)](((_0x2ff7ab[_0x1d9812(0x2a5)]??0x0)-_0x2c2bc4['y'])/_0x4ba453)};}[_0x4f3d14(0x1e1)](_0x46b0d1){const _0x4d2f12=_0x4f3d14;return{'x':Number['isFinite'](_0x46b0d1[_0x4d2f12(0x327)])?_0x46b0d1[_0x4d2f12(0x327)]:_0x46b0d1[_0x4d2f12(0x385)]??0x0,'y':Number[_0x4d2f12(0x490)](_0x46b0d1[_0x4d2f12(0x38f)])?_0x46b0d1['clientY']:_0x46b0d1[_0x4d2f12(0x2a5)]??0x0};}[_0x4f3d14(0x2e7)](){const _0x7a8d7c=_0x4f3d14;let _0x5c0a45=this['_uiStateService'][_0x7a8d7c(0x25b)]()[_0x7a8d7c(0x1e9)];return Number[_0x7a8d7c(0x490)](_0x5c0a45)&&(_0x5c0a45??0x0)>0x0?_0x5c0a45:0x1;}[_0x4f3d14(0x33e)](_0x1b8a7e,_0x369234){const _0x32b6d5=_0x4f3d14;return _0x1b8a7e['x']>=_0x369234['left']&&_0x1b8a7e['x']<=_0x369234['left']+_0x369234[_0x32b6d5(0x48c)]&&_0x1b8a7e['y']>=_0x369234['top']&&_0x1b8a7e['y']<=_0x369234[_0x32b6d5(0x2e1)]+_0x369234['height'];}[_0x4f3d14(0x38e)](_0x4bc337,_0x455f6d){const _0x3c3bbd=_0x4f3d14;var _0xb5d5ec,_0x166f2f;_0x455f6d==null||_0x455f6d[_0x3c3bbd(0x1de)](),_0x455f6d&&(_0x455f6d[_0x3c3bbd(0x336)]=!0x0),(_0xb5d5ec=_0x4bc337['preventDefault'])==null||_0xb5d5ec[_0x3c3bbd(0x2a4)](_0x4bc337),(_0x166f2f=_0x4bc337[_0x3c3bbd(0x1de)])==null||_0x166f2f['call'](_0x4bc337);}[_0x4f3d14(0x332)](){const _0x60f3c=_0x4f3d14;var _0x3ca72e,_0x281e05;this[_0x60f3c(0x30b)]||=((_0x3ca72e=(_0x281e05=this['_elementStateService'])['clearSelection'])==null||_0x3ca72e[_0x60f3c(0x2a4)](_0x281e05),!0x0);}[_0x4f3d14(0x20b)](_0x3ab321,_0x458a55){const _0x4f2b81=_0x4f3d14;return{'left':Number[_0x4f2b81(0x490)](_0x3ab321['left'])?_0x3ab321[_0x4f2b81(0x445)]:_0x458a55[_0x4f2b81(0x445)],'top':Number[_0x4f2b81(0x490)](_0x3ab321[_0x4f2b81(0x2e1)])?_0x3ab321[_0x4f2b81(0x2e1)]:_0x458a55[_0x4f2b81(0x2e1)],'width':Number[_0x4f2b81(0x490)](_0x3ab321['width'])?_0x3ab321[_0x4f2b81(0x48c)]:_0x458a55[_0x4f2b81(0x48c)],'height':Number[_0x4f2b81(0x490)](_0x3ab321[_0x4f2b81(0x36d)])?_0x3ab321[_0x4f2b81(0x36d)]:_0x458a55[_0x4f2b81(0x36d)]};}[_0x4f3d14(0x384)](_0x2d4379,_0x4989e6){const _0x32ea7c=_0x4f3d14;typeof _0x2d4379['transformByState']=='function'&&_0x2d4379[_0x32ea7c(0x3be)]({'left':_0x4989e6['left'],'top':_0x4989e6['top'],'width':_0x4989e6[_0x32ea7c(0x48c)],'height':_0x4989e6[_0x32ea7c(0x36d)]}),typeof _0x2d4379[_0x32ea7c(0x2c8)]==_0x32ea7c(0x2b8)?_0x2d4379[_0x32ea7c(0x2c8)](!0x0):typeof _0x2d4379[_0x32ea7c(0x32c)]==_0x32ea7c(0x2b8)&&_0x2d4379[_0x32ea7c(0x32c)](!0x0);}[_0x4f3d14(0x460)](_0x38de29,_0x3a3b9a,_0x1ddd16){const _0x372a3a=_0x4f3d14;return Object[_0x372a3a(0x1c3)](Object[_0x372a3a(0x362)](_0x38de29)['map'](_0x3fe0c4=>_0x3fe0c4===_0x3a3b9a?[_0x3fe0c4,_0x1ddd16]:[_0x3fe0c4,_0x25dbfe(_0x38de29,_0x3fe0c4)??_0x38de29[_0x3fe0c4][_0x372a3a(0x1ca)]['transform']]));}[_0x4f3d14(0x3e5)](){const _0x51121c=_0x4f3d14;if(this[_0x51121c(0x34b)])return this[_0x51121c(0x34b)];let _0x33ad47=this[_0x51121c(0x414)][_0x51121c(0x48b)];return typeof _0x33ad47[_0x51121c(0x2c3)]==_0x51121c(0x2b8)?(this['_dragPreviewObject']=new mn(cn),_0x33ad47[_0x51121c(0x2c3)](this[_0x51121c(0x34b)],ln),this[_0x51121c(0x34b)]):null;}['_syncChildDragPreviewObject'](_0x45d8ea,_0x5342ca,_0x19c51c){const _0x3e52ff=_0x4f3d14;let _0x1ff8ff=this[_0x3e52ff(0x3e5)]();_0x1ff8ff&&_0x1ff8ff[_0x3e52ff(0x2e5)]({'ghostBounds':_0x45d8ea,'sourceBounds':this[_0x3e52ff(0x3b9)](),'parentBounds':_0x5342ca[_0x3e52ff(0x315)]===_0x3e52ff(0x3b0)?_0x19c51c[_0x5342ca['newParentNodeId']]:null,'side':_0x5342ca[_0x3e52ff(0x315)]===_0x3e52ff(0x3b0)?_0x5342ca[_0x3e52ff(0x350)]:_0x3e52ff(0x289),'textStyle':this[_0x3e52ff(0x3c1)](),'renderGhostNode':!0x0});}[_0x4f3d14(0x3b9)](){const _0x3ec097=_0x4f3d14;let _0x5f47ce=this[_0x3ec097(0x40a)]??this['_dragStart'];return _0x5f47ce?{'left':_0x5f47ce['left'],'top':_0x5f47ce[_0x3ec097(0x2e1)],'width':_0x5f47ce['width'],'height':_0x5f47ce[_0x3ec097(0x36d)]}:null;}[_0x4f3d14(0x3c1)](){const _0x13ec0d=_0x4f3d14;var _0x3235b7,_0x5a657f;let _0x30cf43=this['_pointerDragStart']??this[_0x13ec0d(0x469)],_0x23f2cf=_0x30cf43==null||(_0x3235b7=_0x30cf43[_0x13ec0d(0x241)][_0x30cf43[_0x13ec0d(0x3f9)]])==null?void 0x0:_0x3235b7[_0x13ec0d(0x1ca)],_0x2287d5=_0x23f2cf==null||(_0x5a657f=_0x23f2cf['shapeData'])==null?void 0x0:_0x5a657f[_0x13ec0d(0x1eb)];if(_0x2287d5)return{'text':typeof _0x2287d5[_0x13ec0d(0x488)]=='string'?_0x2287d5['text']:void 0x0,'fontSize':Number[_0x13ec0d(0x490)](_0x2287d5[_0x13ec0d(0x434)])?_0x2287d5['fontSize']:void 0x0,'color':typeof _0x2287d5[_0x13ec0d(0x25e)]==_0x13ec0d(0x351)?_0x2287d5[_0x13ec0d(0x25e)]:void 0x0,'horizontalAlign':Number['isFinite'](_0x2287d5[_0x13ec0d(0x3d3)])?_0x2287d5['horizontalAlign']:void 0x0};}[_0x4f3d14(0x2f1)](){const _0x298275=_0x4f3d14;var _0x875de6,_0x3a8f12,_0x5892ce;if(!this[_0x298275(0x34b)])return;let _0x4576de=this['_renderContext'][_0x298275(0x48b)];(_0x875de6=_0x4576de[_0x298275(0x341)])==null||_0x875de6[_0x298275(0x2a4)](_0x4576de,[this[_0x298275(0x34b)]]),this[_0x298275(0x34b)]=null,(_0x3a8f12=(_0x5892ce=this['_renderContext'][_0x298275(0x48b)])[_0x298275(0x32c)])==null||_0x3a8f12['call'](_0x5892ce,!0x0);}[_0x4f3d14(0x479)](_0x4b6e6e,_0xd2bca4,_0x2f659c,_0x5b0cc5){const _0x47c905=_0x4f3d14;let _0x2e04c4=[...new Set(_0x2f659c[_0x47c905(0x43b)](_0x369581=>!!_0x369581))],_0x403015=typeof _0xd2bca4['unitId']=='string'?_0xd2bca4[_0x47c905(0x291)]:this['_renderContext'][_0x47c905(0x291)],_0x162a3d=this['_undoRedoGroupService']['createRunner'](_0x403015),_0x42a95b=_0x162a3d(()=>this[_0x47c905(0x32f)][_0x47c905(0x32d)](_0x4b6e6e,_0xd2bca4));Promise[_0x47c905(0x1ec)](_0x42a95b)[_0x47c905(0x193)](_0x5e9263=>{const _0x6cec60=_0x47c905;var _0xf28c41,_0x3d2ed6,_0x4f3949,_0x49b7cc;if(_0x5e9263){if(_0x2e04c4[_0x6cec60(0x2d1)](_0x1fc68c=>{const _0x4e58ca=_0x6cec60;_0x162a3d(()=>this[_0x4e58ca(0x32f)][_0x4e58ca(0x32d)](_0x4b5dc4['id'],{'unitId':_0xd2bca4[_0x4e58ca(0x291)],'subUnitId':_0xd2bca4['subUnitId'],'scopeId':_0x1fc68c}));}),_0x5b0cc5&&typeof _0xd2bca4[_0x6cec60(0x291)]==_0x6cec60(0x351)&&typeof _0xd2bca4[_0x6cec60(0x20a)]=='string'){var _0x3c975d,_0xe868d7;(_0x3c975d=(_0xe868d7=this['_elementStateService'])[_0x6cec60(0x42b)])==null||_0x3c975d[_0x6cec60(0x2a4)](_0xe868d7,{'unitId':_0xd2bca4['unitId'],'subUnitId':_0xd2bca4[_0x6cec60(0x20a)]},[_0x5b0cc5],_0x5b0cc5);}(_0xf28c41=(_0x3d2ed6=this[_0x6cec60(0x414)][_0x6cec60(0x48b)])['makeDirty'])==null||_0xf28c41[_0x6cec60(0x2a4)](_0x3d2ed6,!0x0),(_0x4f3949=(_0x49b7cc=this[_0x6cec60(0x414)][_0x6cec60(0x48b)])[_0x6cec60(0x1cf)])==null||_0x4f3949[_0x6cec60(0x2a4)](_0x49b7cc);}});}};En=J([q(0x1,_0x132a38(_0x5c495f)),q(0x2,_0x132a38(_0x16fdab)),q(0x3,_0x27d0fe),q(0x4,_0x31b38d),q(0x5,_0x253a65),q(0x6,_0x132a38(_0x57f4a7))],En);let Dn=class extends _0x4c4d8b{constructor(_0x14d691,_0x24eb4d,_0x51bb97,_0x1965e2,_0x14b885,_0x3a1dc1,_0x4bff35,_0x53a278,_0x539a06){const _0x45e94c=_0x4f3d14;super(),this[_0x45e94c(0x313)]=_0x14d691,this['commandService']=_0x24eb4d,this[_0x45e94c(0x3d2)]=_0x51bb97,this[_0x45e94c(0x3df)]=_0x1965e2,this[_0x45e94c(0x190)]=_0x14b885,this[_0x45e94c(0x439)]=_0x3a1dc1,this[_0x45e94c(0x326)]=_0x4bff35,this[_0x45e94c(0x4a7)]=_0x53a278,this[_0x45e94c(0x218)]=_0x539a06;}};Dn=J([q(0x1,_0x27d0fe),q(0x2,_0x5c495f),q(0x3,_0x16fdab),q(0x4,_0x31b38d),q(0x5,_0x2d52c2),q(0x6,_0x23671a),q(0x7,_0x132a38(_0x4eab55)),q(0x8,_0x132a38(_0x2d7b12))],Dn);const On='board.mind-map.description-dialog',kn='board-mind-map-description-dialog';function An(_0x423077){const _0x285526=_0x4f3d14;let {unitId:_0x1a63da,subUnitId:_0x3f51b3,nodeId:_0x4773d0,initialDescription:_0x5e14e1=''}=_0x423077,_0x3ad547=_0x1bf837(_0x27d0fe),_0x38b6dd=_0x1bf837(_0x23671a),_0x26ea7f=_0x1bf837(_0x4eab55),[_0x3e01be,_0x4eb560]=_0x34d7b2(_0x5e14e1),_0x2a76fc=()=>_0x38b6dd[_0x285526(0x1bc)](kn);return _0x27b706('div',{'className':'univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','data-board-mind-map-description-dialog':_0x285526(0x480),'children':[_0x27b706('label',{'className':'univer-flex\x20univer-flex-col\x20univer-gap-2','children':[_0x9b9447(_0x285526(0x255),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-0','children':_0x26ea7f['t']('boards-mind-ui.description')}),_0x9b9447(_0x14dc82,{'autoFocus':!0x0,'className':_0x285526(0x2ac),'placeholder':_0x26ea7f['t'](_0x285526(0x487)),'value':_0x3e01be,'onValueChange':_0x4eb560})]}),_0x27b706(_0x285526(0x417),{'className':_0x285526(0x262),'children':[_0x9b9447(_0x8c8b61,{'size':_0x285526(0x358),'variant':_0x285526(0x3f6),'onClick':_0x2a76fc,'children':_0x26ea7f['t'](_0x285526(0x29b))}),_0x9b9447(_0x8c8b61,{'size':_0x285526(0x358),'variant':_0x285526(0x1b5),'onClick':()=>{const _0x23d5d5=_0x285526;_0x3ad547[_0x23d5d5(0x32d)](_0x3d67d8['id'],{'unitId':_0x1a63da,'subUnitId':_0x3f51b3,'nodeId':_0x4773d0,'foreignAttributes':{'_note':_0x3e01be[_0x23d5d5(0x387)]()?_0x3e01be:null}}),_0x2a76fc();},'children':_0x26ea7f['t'](_0x285526(0x3ff))})]})]});}const jn='board.operation.mind-map.keyboard-shortcut',Mn=_0x4f3d14(0x205),Nn=_0x4f3d14(0x3c6),Pn={'copy':_0x416fa4['copy'],'paste':_0x416fa4[_0x4f3d14(0x381)],'paste-as-new':_0x416fa4[_0x4f3d14(0x381)],'add-child':_0x416fa4[_0x4f3d14(0x435)],'add-sibling-or-child':_0x416fa4[_0x4f3d14(0x3c7)],'promote':_0x416fa4['addParentNode'],'toggle-collapse':_0x416fa4[_0x4f3d14(0x35d)],'collapse-all':_0x416fa4[_0x4f3d14(0x2a6)],'edit-text':_0x416fa4[_0x4f3d14(0x4b0)],'open-description':_0x416fa4[_0x4f3d14(0x47c)],'delete':_0x80c18b['DELETE'],'arrow-left':_0x80c18b[_0x4f3d14(0x1d1)],'arrow-right':_0x80c18b[_0x4f3d14(0x1a7)],'arrow-up':_0x80c18b[_0x4f3d14(0x44c)],'arrow-down':_0x80c18b['ARROW_DOWN']},Fn={'delete':[_0x80c18b[_0x4f3d14(0x3ea)]]};function In(_0x232bf7){return[Pn[_0x232bf7],...Fn[_0x232bf7]??[]];}let Ln=class extends _0x41f8e5{constructor(_0x395a4b,_0x5d2984,_0x3022d3,_0x502085){const _0x3c03e3=_0x4f3d14;super(),this[_0x3c03e3(0x1bd)]=_0x395a4b,this[_0x3c03e3(0x32f)]=_0x5d2984,this[_0x3c03e3(0x49a)]=_0x3022d3,this['_undoRedoGroupService']=_0x502085,this[_0x3c03e3(0x45b)]();}[_0x4f3d14(0x45b)](){const _0x5947d7=_0x4f3d14;this[_0x5947d7(0x44d)](this[_0x5947d7(0x32f)][_0x5947d7(0x191)](this['_createKeyboardShortcutOperation']())),this[_0x5947d7(0x46a)]()['forEach'](_0x3d213c=>{const _0x2110ba=_0x5947d7;this[_0x2110ba(0x44d)](this['_shortcutService'][_0x2110ba(0x457)](_0x3d213c));});}[_0x4f3d14(0x22b)](){const _0x17150b=_0x4f3d14;return{'id':jn,'type':_0x470c85[_0x17150b(0x1ed)],'handler':(_0x181a1f,_0x248dde,_0x5ef875)=>{const _0x45417f=_0x17150b;let _0x2deb80=Rn(_0x181a1f,_0x5ef875);return _0x2deb80?this[_0x45417f(0x405)](_0x2deb80,_0x248dde==null?void 0x0:_0x248dde[_0x45417f(0x2d7)]):!0x1;}};}[_0x4f3d14(0x46a)](){const _0x7a4bf3=_0x4f3d14;let _0x302456=(_0x1148b1,_0x5b3ee1)=>({'id':jn,'binding':_0x1148b1,'priority':0xa0,'preconditions':_0x4ad6a8=>_0xa918fb(_0x4ad6a8)&&!!_0x4ad6a8[_0x7a4bf3(0x1b3)](_0x7a4bf3(0x205)),'staticParameters':{'action':_0x5b3ee1}}),_0x243643=_0x2d1228=>In(_0x2d1228)[_0x7a4bf3(0x2c1)](_0x38d2e9=>_0x302456(_0x38d2e9,_0x2d1228));return[..._0x243643(_0x7a4bf3(0x1a5)),{'id':jn,'binding':Pn['paste'],'priority':0xa0,'preconditions':_0x5116cd=>_0xa918fb(_0x5116cd)&&!!this[_0x7a4bf3(0x1bd)]['getPayload']()&&!!_0x5116cd['getContextValue'](_0x7a4bf3(0x205)),'staticParameters':{'action':'paste'}},{'id':jn,'binding':Pn[_0x7a4bf3(0x1f0)],'priority':0x96,'preconditions':_0x12fec4=>_0xa918fb(_0x12fec4)&&!!this[_0x7a4bf3(0x1bd)][_0x7a4bf3(0x370)]()&&!!_0x12fec4[_0x7a4bf3(0x1b3)](_0x7a4bf3(0x3c6)),'staticParameters':{'action':_0x7a4bf3(0x1f0)}},..._0x243643(_0x7a4bf3(0x2a9)),..._0x243643('add-sibling-or-child'),..._0x243643(_0x7a4bf3(0x433)),..._0x243643(_0x7a4bf3(0x408)),..._0x243643(_0x7a4bf3(0x451)),..._0x243643(_0x7a4bf3(0x1f2)),..._0x243643(_0x7a4bf3(0x2cf)),..._0x243643(_0x7a4bf3(0x333)),..._0x243643('arrow-left'),..._0x243643(_0x7a4bf3(0x2f4)),..._0x243643(_0x7a4bf3(0x419)),..._0x243643(_0x7a4bf3(0x4b1))];}['handleShortcut'](_0x3b5460,_0x13b130){const _0x3c70e6=_0x4f3d14;return _0x3b5460[_0x3c70e6(0x190)][_0x3c70e6(0x25b)]()[_0x3c70e6(0x447)]==='viewing'&&_0x13b130!==_0x3c70e6(0x1a5)?!0x1:_0x13b130===_0x3c70e6(0x1a5)?this['_copySelectedNode'](_0x3b5460):_0x13b130===_0x3c70e6(0x381)?this['_pasteUnderSelectedNode'](_0x3b5460):_0x13b130===_0x3c70e6(0x1f0)?this[_0x3c70e6(0x1d3)](_0x3b5460):_0x13b130===_0x3c70e6(0x2a9)?this[_0x3c70e6(0x2f3)](_0x3b5460):_0x13b130==='add-sibling-or-child'?this['_addSiblingOrChild'](_0x3b5460):_0x13b130===_0x3c70e6(0x433)?this[_0x3c70e6(0x49f)](_0x3b5460,_0x245415['id']):_0x13b130===_0x3c70e6(0x408)?this[_0x3c70e6(0x49f)](_0x3b5460,_0xdc3604['id']):_0x13b130===_0x3c70e6(0x451)?this[_0x3c70e6(0x347)](_0x3b5460):_0x13b130===_0x3c70e6(0x1f2)?this[_0x3c70e6(0x311)](_0x3b5460):_0x13b130==='open-description'?this[_0x3c70e6(0x2b4)](_0x3b5460):_0x13b130===_0x3c70e6(0x333)?this[_0x3c70e6(0x233)](_0x3b5460):_0x13b130&&zn(_0x13b130)?this['_navigateByTopology'](_0x3b5460,_0x13b130):!0x1;}[_0x4f3d14(0x496)](_0x48a55b){const _0x584e54=_0x4f3d14;let _0x54b72d=this[_0x584e54(0x317)](_0x48a55b);return _0x54b72d?(_0x48a55b[_0x584e54(0x497)]['executeCommand'](_0x47452c['id'],{'unitId':_0x54b72d[_0x584e54(0x291)],'subUnitId':_0x54b72d[_0x584e54(0x20a)],'nodeId':_0x54b72d['nodeId']}),!0x0):!0x1;}[_0x4f3d14(0x386)](_0x2bda25){const _0x4e1375=_0x4f3d14;let _0x550a1b=this[_0x4e1375(0x317)](_0x2bda25);return!_0x550a1b||!_0x2bda25[_0x4e1375(0x439)]['getPayload']()?!0x1:(this[_0x4e1375(0x479)](_0x2bda25,_0x5acb7b['id'],{'unitId':_0x550a1b[_0x4e1375(0x291)],'subUnitId':_0x550a1b[_0x4e1375(0x20a)],'targetNodeId':_0x550a1b[_0x4e1375(0x3f9)]},_0x550a1b[_0x4e1375(0x3a9)]),!0x0);}[_0x4f3d14(0x1d3)](_0x2cda03){const _0x244673=_0x4f3d14;let _0x2ea484=this[_0x244673(0x2c2)](_0x2cda03);if(!_0x2ea484||!_0x2cda03[_0x244673(0x439)]['getPayload']())return!0x1;let _0x77db20=_0x2cda03[_0x244673(0x190)][_0x244673(0x25b)](),_0x5b76e5=Number[_0x244673(0x490)](_0x77db20[_0x244673(0x1e9)])&&_0x77db20[_0x244673(0x1e9)]>0x0?_0x77db20[_0x244673(0x1e9)]:0x1,_0x369aed=Math[_0x244673(0x28e)]((0x40-_0x77db20['viewportPanOffset']['x'])/_0x5b76e5),_0x46dbd3=Math[_0x244673(0x28e)]((0x40-_0x77db20['viewportPanOffset']['y'])/_0x5b76e5);return _0x2cda03['commandService'][_0x244673(0x32d)](_0x568b7['id'],{'unitId':_0x2ea484[_0x244673(0x291)],'subUnitId':_0x2ea484['subUnitId'],'left':_0x369aed,'top':_0x46dbd3}),!0x0;}['_addChild'](_0x388efc){const _0x281a98=_0x4f3d14;let _0x555d34=this['_getSelectedMindMapContext'](_0x388efc);if(!_0x555d34)return!0x1;let _0x4b0b3e=_0x21938d(0x6);return this[_0x281a98(0x423)](_0x388efc,_0x21cdef['id'],{'unitId':_0x555d34[_0x281a98(0x291)],'subUnitId':_0x555d34[_0x281a98(0x20a)],'parentNodeId':_0x555d34['nodeId'],'nodeId':_0x4b0b3e,'connectorId':_0x21938d(0x6),'text':_0x388efc[_0x281a98(0x4a7)]['t'](_0x281a98(0x391))},_0x555d34[_0x281a98(0x3a9)],_0x4b0b3e),!0x0;}['_addSiblingOrChild'](_0x18e5dc){const _0x31ab55=_0x4f3d14;let _0x372300=this[_0x31ab55(0x317)](_0x18e5dc);if(!_0x372300)return!0x1;let _0x62161e=_0x21938d(0x6);return this[_0x31ab55(0x423)](_0x18e5dc,_0x372300[_0x31ab55(0x34c)]?_0x21cdef['id']:_0x20f384['id'],{'unitId':_0x372300['unitId'],'subUnitId':_0x372300[_0x31ab55(0x20a)],..._0x372300['isRoot']?{'parentNodeId':_0x372300[_0x31ab55(0x3f9)],'nodeId':_0x62161e}:{'nodeId':_0x372300['nodeId'],'siblingNodeId':_0x62161e},'connectorId':_0x21938d(0x6),'text':_0x18e5dc[_0x31ab55(0x4a7)]['t'](_0x31ab55(0x391))},_0x372300[_0x31ab55(0x3a9)],_0x62161e),!0x0;}['_executeNodeOperation'](_0x5db8b9,_0x500eeb){const _0x301f1c=_0x4f3d14;let _0x433df4=this[_0x301f1c(0x317)](_0x5db8b9);return _0x433df4?(this[_0x301f1c(0x479)](_0x5db8b9,_0x500eeb,{'unitId':_0x433df4[_0x301f1c(0x291)],'subUnitId':_0x433df4[_0x301f1c(0x20a)],'nodeId':_0x433df4[_0x301f1c(0x3f9)]},_0x433df4[_0x301f1c(0x3a9)]),!0x0):!0x1;}[_0x4f3d14(0x233)](_0x560c81){const _0x860e28=_0x4f3d14;let _0x5fa888=this[_0x860e28(0x317)](_0x560c81);if(!_0x5fa888)return!0x1;let _0x102a6c=_0x560c81['commandService'][_0x860e28(0x4a8)](_0x20689a['id'],{'unitId':_0x5fa888['unitId'],'subUnitId':_0x5fa888[_0x860e28(0x20a)],'nodeId':_0x5fa888[_0x860e28(0x3f9)]});return _0x102a6c&&_0x560c81['elementStateService'][_0x860e28(0x4ac)](),_0x102a6c;}[_0x4f3d14(0x347)](_0x176e01){const _0x8bca79=_0x4f3d14;let _0x2a52bb=this['_getSelectedMindMapContext'](_0x176e01);if(!_0x2a52bb)return!0x1;let _0xe3959=_0x176e01[_0x8bca79(0x3d2)][_0x8bca79(0x198)](_0x2a52bb['unitId'],_0x2a52bb[_0x8bca79(0x20a)]),_0x29bfdc=Object['values'](_0xe3959)[_0x8bca79(0x2c1)](_0x418ee1=>{const _0x42820b=_0x8bca79;let _0x3198db=_0x5585ba(_0x418ee1['element']);return(_0x3198db==null?void 0x0:_0x3198db['structureScopeId'])===_0x2a52bb['scopeId']&&this['_getMindMapChildren'](_0xe3959,_0x2a52bb[_0x42820b(0x3a9)],_0x418ee1['elementId'])[_0x42820b(0x452)]>0x0?{'nodeId':_0x418ee1[_0x42820b(0x3e9)],'collapsed':_0x3198db[_0x42820b(0x4a9)]}:null;})[_0x8bca79(0x43b)](_0x3cd5e9=>!!_0x3cd5e9);if(_0x29bfdc[_0x8bca79(0x452)]===0x0)return!0x1;let _0x403349=_0x29bfdc['some'](_0x5e835e=>!_0x5e835e[_0x8bca79(0x4a9)]),_0x1a489b=_0x176e01['commandService'],_0x39fbe6=this[_0x8bca79(0x30c)][_0x8bca79(0x2ae)](_0x2a52bb[_0x8bca79(0x291)]),_0x561af0=_0x29bfdc[_0x8bca79(0x2c1)](_0x2a2234=>_0x39fbe6(()=>_0x1a489b[_0x8bca79(0x32d)](_0xdc3604['id'],{'unitId':_0x2a52bb[_0x8bca79(0x291)],'subUnitId':_0x2a52bb[_0x8bca79(0x20a)],'nodeId':_0x2a2234['nodeId'],'collapsed':_0x403349})));return Promise[_0x8bca79(0x43a)](_0x561af0['map'](_0x240baf=>Promise[_0x8bca79(0x1ec)](_0x240baf)))[_0x8bca79(0x193)](_0x547cbf=>{const _0x4ff97e=_0x8bca79;_0x547cbf[_0x4ff97e(0x4a2)](Boolean)&&_0x39fbe6(()=>_0x1a489b[_0x4ff97e(0x32d)](_0x4b5dc4['id'],{'unitId':_0x2a52bb[_0x4ff97e(0x291)],'subUnitId':_0x2a52bb[_0x4ff97e(0x20a)],'scopeId':_0x2a52bb[_0x4ff97e(0x3a9)]}));}),!0x0;}[_0x4f3d14(0x311)](_0x324ee1){const _0x9ad23a=_0x4f3d14;let _0xc6616f=this['_getSelectedMindMapContext'](_0x324ee1);if(!_0xc6616f)return!0x1;_0x324ee1[_0x9ad23a(0x3df)][_0x9ad23a(0x42b)]({'unitId':_0xc6616f[_0x9ad23a(0x291)],'subUnitId':_0xc6616f[_0x9ad23a(0x20a)]},[_0xc6616f[_0x9ad23a(0x3f9)]],_0xc6616f[_0x9ad23a(0x3f9)]);let _0x2f1b3a=_0x324ee1[_0x9ad23a(0x218)];return _0x2f1b3a[_0x9ad23a(0x26a)](),_0x2f1b3a[_0x9ad23a(0x24b)]({'unitId':_0xc6616f[_0x9ad23a(0x291)],'subUnitId':_0xc6616f[_0x9ad23a(0x20a)],'shapeId':_0xc6616f[_0x9ad23a(0x3f9)],'shapeKey':_0x55b3e2(_0xc6616f['unitId'],_0xc6616f['nodeId']),'visible':!0x0}),!0x0;}[_0x4f3d14(0x2b4)](_0x7861b6){const _0x23ebc1=_0x4f3d14;let _0x3ff166=this[_0x23ebc1(0x317)](_0x7861b6);return _0x3ff166?(_0x7861b6[_0x23ebc1(0x326)][_0x23ebc1(0x485)]({'id':kn,'title':{'title':_0x23ebc1(0x318)},'width':0x1a4,'draggable':!0x0,'mask':!0x1,'maskClosable':!0x0,'children':{'label':On,'unitId':_0x3ff166[_0x23ebc1(0x291)],'subUnitId':_0x3ff166[_0x23ebc1(0x20a)],'nodeId':_0x3ff166['nodeId'],'initialDescription':_0x3ff166['description']}}),!0x0):!0x1;}[_0x4f3d14(0x37a)](_0x4eea44,_0x5533fd){const _0x11ec9a=_0x4f3d14;let _0x3c02e2=this[_0x11ec9a(0x317)](_0x4eea44);if(!_0x3c02e2)return!0x1;let _0x2829d1=_0x4eea44[_0x11ec9a(0x3d2)]['getElementData'](_0x3c02e2[_0x11ec9a(0x291)],_0x3c02e2[_0x11ec9a(0x20a)]),_0x5be5e6=_0x2829d1[_0x3c02e2[_0x11ec9a(0x3f9)]],_0x2903ca=_0x5585ba(_0x5be5e6==null?void 0x0:_0x5be5e6[_0x11ec9a(0x1ca)]);if(!_0x5be5e6||!_0x2903ca)return!0x1;let _0xf337f0={'arrow-left':'ArrowLeft','arrow-right':'ArrowRight','arrow-up':'ArrowUp','arrow-down':'ArrowDown'}[_0x5533fd];if(!_0xf337f0)return!0x1;let _0x2093c0=this[_0x11ec9a(0x1cb)](_0x2829d1,_0x3c02e2[_0x11ec9a(0x3f9)],_0x2903ca,_0xf337f0);return _0x2093c0?(_0x4eea44[_0x11ec9a(0x3df)]['selectElements']({'unitId':_0x3c02e2[_0x11ec9a(0x291)],'subUnitId':_0x3c02e2[_0x11ec9a(0x20a)]},[_0x2093c0],_0x2093c0),!0x0):!0x1;}[_0x4f3d14(0x1cb)](_0x15d523,_0x145c56,_0x409ba2,_0x41b2f7){const _0x6a198f=_0x4f3d14;let _0x11e31f=this[_0x6a198f(0x2e2)](_0x15d523,_0x409ba2[_0x6a198f(0x2ea)],_0x145c56);if(_0x409ba2[_0x6a198f(0x29f)]===null){if(_0x41b2f7===_0x6a198f(0x20d)){var _0x44ce8d;return((_0x44ce8d=_0x11e31f[_0x6a198f(0x431)](_0x25674e=>{const _0x38c20b=_0x6a198f;var _0x4877fd;return((_0x4877fd=_0x5585ba(_0x25674e[_0x38c20b(0x1ca)]))==null?void 0x0:_0x4877fd[_0x38c20b(0x350)])===_0x38c20b(0x445);}))==null?void 0x0:_0x44ce8d[_0x6a198f(0x3e9)])??null;}if(_0x41b2f7==='ArrowRight'){var _0x171db5;return((_0x171db5=_0x11e31f[_0x6a198f(0x431)](_0x490710=>{const _0x56dadc=_0x6a198f;var _0x3f2def;return(((_0x3f2def=_0x5585ba(_0x490710[_0x56dadc(0x1ca)]))==null?void 0x0:_0x3f2def[_0x56dadc(0x350)])??_0x56dadc(0x289))===_0x56dadc(0x289);}))==null?void 0x0:_0x171db5[_0x6a198f(0x3e9)])??null;}return null;}let _0x4d7616=_0x409ba2[_0x6a198f(0x350)]??_0x6a198f(0x289),_0x303eea=_0x4d7616===_0x6a198f(0x289)?_0x6a198f(0x20d):_0x6a198f(0x393),_0x2e405d=_0x4d7616===_0x6a198f(0x289)?_0x6a198f(0x393):'ArrowLeft';if(_0x41b2f7===_0x303eea)return _0x409ba2['parentNodeId'];if(_0x41b2f7===_0x2e405d){var _0x4611cb;return((_0x4611cb=_0x11e31f[0x0])==null?void 0x0:_0x4611cb[_0x6a198f(0x3e9)])??null;}if(_0x41b2f7===_0x6a198f(0x25c)||_0x41b2f7===_0x6a198f(0x320)){let _0x4e0acd=this[_0x6a198f(0x2e2)](_0x15d523,_0x409ba2[_0x6a198f(0x2ea)],_0x409ba2[_0x6a198f(0x29f)]),_0x490d2d=_0x4e0acd[_0x6a198f(0x383)](_0x41fa30=>_0x41fa30['elementId']===_0x145c56),_0x1710b7=_0x41b2f7===_0x6a198f(0x25c)?_0x4e0acd[_0x490d2d-0x1]:_0x4e0acd[_0x490d2d+0x1];return(_0x1710b7==null?void 0x0:_0x1710b7[_0x6a198f(0x3e9)])??null;}return null;}[_0x4f3d14(0x2e2)](_0x53ae3b,_0x4ceea5,_0x2f7267){const _0x42288e=_0x4f3d14;return Object[_0x42288e(0x2df)](_0x53ae3b)['filter'](_0x4d1c73=>{const _0x3e2a1d=_0x42288e;let _0x9cc942=_0x5585ba(_0x4d1c73[_0x3e2a1d(0x1ca)]);return(_0x9cc942==null?void 0x0:_0x9cc942['structureScopeId'])===_0x4ceea5&&_0x9cc942[_0x3e2a1d(0x29f)]===_0x2f7267&&_0x4d1c73[_0x3e2a1d(0x1ca)][_0x3e2a1d(0x418)]!==!0x1;})[_0x42288e(0x1aa)]((_0x284897,_0x1a6377)=>{const _0x363761=_0x42288e;let _0x339080=_0x5585ba(_0x284897[_0x363761(0x1ca)]),_0x21173f=_0x5585ba(_0x1a6377[_0x363761(0x1ca)]);return _0x401170(_0x339080==null?void 0x0:_0x339080['orderKey'],_0x21173f==null?void 0x0:_0x21173f[_0x363761(0x2c9)])||_0x284897['elementId']['localeCompare'](_0x1a6377[_0x363761(0x3e9)]);});}[_0x4f3d14(0x317)](_0x10e046){const _0x3fe93c=_0x4f3d14;var _0x521f1e;let _0x586b61=_0x10e046['elementStateService'][_0x3fe93c(0x310)](),_0x5a2003=_0x586b61[_0x3fe93c(0x206)]??_0x586b61[_0x3fe93c(0x375)][0x0];if(!_0x5a2003||_0x586b61[_0x3fe93c(0x375)][_0x3fe93c(0x452)]!==0x1||_0x586b61[_0x3fe93c(0x483)]||_0x586b61[_0x3fe93c(0x395)])return null;let _0x15415d=_0x586b61[_0x3fe93c(0x3ac)]??{'unitId':_0x10e046[_0x3fe93c(0x313)][_0x3fe93c(0x291)],'subUnitId':_0x10e046[_0x3fe93c(0x313)][_0x3fe93c(0x2e4)][_0x3fe93c(0x2c7)]()},_0x1e3c89=_0x10e046[_0x3fe93c(0x3d2)]['getElementData'](_0x15415d[_0x3fe93c(0x291)],_0x15415d[_0x3fe93c(0x20a)])[_0x5a2003],_0x5f268e=_0x5585ba(_0x1e3c89==null?void 0x0:_0x1e3c89[_0x3fe93c(0x1ca)]);return!_0x1e3c89||!_0x5f268e?null:{'unitId':_0x15415d[_0x3fe93c(0x291)],'subUnitId':_0x15415d['subUnitId'],'nodeId':_0x5a2003,'scopeId':_0x5f268e['structureScopeId'],'isRoot':_0x5f268e[_0x3fe93c(0x29f)]===null,'description':((_0x521f1e=_0x5f268e[_0x3fe93c(0x2e9)])==null?void 0x0:_0x521f1e['_note'])??''};}['_getBlankBoardContext'](_0x27ddd6){const _0x343bf6=_0x4f3d14;var _0xa65dad,_0x276657;let _0x31cef7=_0x27ddd6[_0x343bf6(0x3df)]['getSnapshot']();return _0x31cef7['activeEditingId']||_0x31cef7[_0x343bf6(0x395)]||_0x31cef7[_0x343bf6(0x375)][_0x343bf6(0x452)]>0x0||_0x31cef7[_0x343bf6(0x206)]?null:{'unitId':((_0xa65dad=_0x31cef7[_0x343bf6(0x3ac)])==null?void 0x0:_0xa65dad[_0x343bf6(0x291)])??_0x27ddd6[_0x343bf6(0x313)][_0x343bf6(0x291)],'subUnitId':((_0x276657=_0x31cef7[_0x343bf6(0x3ac)])==null?void 0x0:_0x276657[_0x343bf6(0x20a)])??_0x27ddd6[_0x343bf6(0x313)][_0x343bf6(0x2e4)][_0x343bf6(0x2c7)]()};}[_0x4f3d14(0x479)](_0x533cb0,_0x101871,_0x3dbeb4,_0x3b0b83){const _0x2eed2d=_0x4f3d14;let _0x31c895=_0x533cb0[_0x2eed2d(0x497)],_0x5956da=this[_0x2eed2d(0x30c)][_0x2eed2d(0x2ae)](_0x3dbeb4[_0x2eed2d(0x291)]),_0xb7fe12=_0x5956da(()=>_0x31c895[_0x2eed2d(0x32d)](_0x101871,_0x3dbeb4));Promise[_0x2eed2d(0x1ec)](_0xb7fe12)[_0x2eed2d(0x193)](_0x340daf=>{const _0xa47968=_0x2eed2d;_0x340daf&&_0x5956da(()=>_0x31c895[_0xa47968(0x32d)](_0x4b5dc4['id'],{'unitId':_0x3dbeb4[_0xa47968(0x291)],'subUnitId':_0x3dbeb4[_0xa47968(0x20a)],'scopeId':_0x3b0b83}));});}[_0x4f3d14(0x423)](_0x42f43d,_0x3fea9c,_0x28226e,_0x50a951,_0x4ce99d){const _0x4f9bc3=_0x4f3d14;let _0x3191dc={'unitId':_0x28226e[_0x4f9bc3(0x291)],'subUnitId':_0x28226e['subUnitId']},_0x2c3ca9=_0x42f43d[_0x4f9bc3(0x497)],_0x51685e=this[_0x4f9bc3(0x30c)][_0x4f9bc3(0x2ae)](_0x28226e[_0x4f9bc3(0x291)]),_0x216d88=_0x51685e(()=>_0x2c3ca9['executeCommand'](_0x3fea9c,_0x28226e));Promise['resolve'](_0x216d88)['then'](_0x3a8555=>{const _0x1add65=_0x4f9bc3;if(!_0x3a8555)return;_0x51685e(()=>_0x2c3ca9[_0x1add65(0x32d)](_0x4b5dc4['id'],{..._0x3191dc,'scopeId':_0x50a951})),_0x42f43d[_0x1add65(0x3df)][_0x1add65(0x42b)](_0x3191dc,[_0x4ce99d],_0x4ce99d);let _0x4e19b9=_0x42f43d[_0x1add65(0x218)];_0x4e19b9[_0x1add65(0x26a)](),_0x4e19b9['setEditing']({..._0x3191dc,'shapeId':_0x4ce99d,'shapeKey':_0x55b3e2(_0x3191dc[_0x1add65(0x291)],_0x4ce99d),'visible':!0x0});});}};Ln=J([q(0x0,_0x2d52c2),q(0x1,_0x27d0fe),q(0x2,_0x2c1c63),q(0x3,_0x132a38(_0x57f4a7))],Ln);function Rn(_0x49575e,_0x53b156){const _0x11e36c=_0x4f3d14;var _0x41627e,_0x400bd0;let _0x2c0834=typeof(_0x53b156==null?void 0x0:_0x53b156[_0x11e36c(0x291)])=='string'?_0x53b156[_0x11e36c(0x291)]:(_0x41627e=_0x49575e[_0x11e36c(0x47f)](_0x253a65)[_0x11e36c(0x245)](_0x8b4a1a['UNIVER_BOARD']))==null?void 0x0:_0x41627e[_0x11e36c(0x352)]();return _0x2c0834?((_0x400bd0=_0x49575e[_0x11e36c(0x47f)](_0x19658f)[_0x11e36c(0x21f)](_0x2c0834))==null?void 0x0:_0x400bd0['with'](Dn))??null:null;}function zn(_0x4844c9){const _0x48c704=_0x4f3d14;return _0x4844c9===_0x48c704(0x36f)||_0x4844c9===_0x48c704(0x2f4)||_0x4844c9===_0x48c704(0x419)||_0x4844c9==='arrow-down';}const Bn={'min':0x1,'max':0x5,'defaultValue':0x3},Vn={'min':0x0,'max':0x64,'defaultValue':0x64},Hn=[{'kind':_0x4f3d14(0x207),'titleKey':_0x4f3d14(0x247),'panel':'line'},{'kind':'fontColor','titleKey':_0x4f3d14(0x443)},{'kind':_0x4f3d14(0x3ad),'titleKey':_0x4f3d14(0x476)},{'kind':_0x4f3d14(0x207),'titleKey':'boards-mind-ui.toolbar.primary.more','panel':_0x4f3d14(0x3ab),'dividerBefore':!0x0}],Un={'addSibling':'add-sibling-or-child','addChild':'add-child','copy':_0x4f3d14(0x1a5),'paste':_0x4f3d14(0x381),'delete':_0x4f3d14(0x333)},Wn=[{'key':'mind-map','title':'Mind\x20map','items':[{'value':_0x4f3d14(0x334),'icon':'mindmap-horizontal','labelKey':'boards-mind-ui.panel.structureKind.mindmapHorizontal'},{'value':_0x4f3d14(0x1f9),'icon':_0x4f3d14(0x1f9),'labelKey':_0x4f3d14(0x1c8)}]},{'key':_0x4f3d14(0x2ce),'title':_0x4f3d14(0x1cc),'items':[{'value':_0x4f3d14(0x378),'icon':'tree-right','labelKey':_0x4f3d14(0x415)},{'value':_0x4f3d14(0x195),'icon':_0x4f3d14(0x195),'labelKey':_0x4f3d14(0x388)},{'value':'tree-alternate','icon':_0x4f3d14(0x2f6),'labelKey':_0x4f3d14(0x282)}]},{'key':_0x4f3d14(0x202),'title':'Timeline','items':[{'value':_0x4f3d14(0x243),'icon':'timeline-horizontal','labelKey':_0x4f3d14(0x491)},{'value':_0x4f3d14(0x481),'icon':_0x4f3d14(0x481),'labelKey':'boards-mind-ui.panel.structureKind.timelineVertical'}]}],Gn={'key':_0x4f3d14(0x209),'title':_0x4f3d14(0x437),'items':[{'value':_0x4f3d14(0x337),'icon':_0x4f3d14(0x1c1),'labelKey':_0x4f3d14(0x1ef)},{'value':_0x4f3d14(0x493),'icon':_0x4f3d14(0x2d6),'labelKey':_0x4f3d14(0x208)},{'value':_0x4f3d14(0x2f5),'icon':_0x4f3d14(0x477),'labelKey':_0x4f3d14(0x254)}]},Kn=_0x4f3d14(0x436);function qn(_0x330b3e,_0x54f0cf){const _0x54f03b=_0x4f3d14;_0x330b3e[_0x54f03b(0x32d)](jn,{'action':_0x54f0cf});}const Jn={'line':_0x5edb01,'more':_0x382a06};function Yn(_0xaa8e54){const _0xd1221f=_0x4f3d14;_0xaa8e54[_0xd1221f(0x1de)](),_0xaa8e54['preventDefault']();}function Xn(_0x3e93ef,_0x2662e4=_0x4f3d14(0x30d),_0x57b9ab){return _0x9b9447(_0x3a11ae,{'children':_0x9b9447(_0x3e93ef,{'className':_0x2662e4,'extend':_0x57b9ab})});}function Zn(_0x48d9ac){const _0x1cb664=_0x4f3d14;var _0x34db1e,_0x25987a;let _0x1c366e=(_0x48d9ac==null?void 0x0:_0x48d9ac[_0x1cb664(0x1eb)])??{},_0x14dc60=_0x1c366e[_0x1cb664(0x389)]&&typeof _0x1c366e[_0x1cb664(0x389)]==_0x1cb664(0x458)?_0x1c366e[_0x1cb664(0x389)]:{},_0x4e7565=(_0x34db1e=_0x14dc60[_0x1cb664(0x231)])==null||(_0x34db1e=_0x34db1e[_0x1cb664(0x3bf)])==null?void 0x0:_0x34db1e[_0x1cb664(0x1d5)];return{'color':typeof _0x1c366e['color']==_0x1cb664(0x351)?_0x1c366e[_0x1cb664(0x25e)]:(_0x4e7565==null||(_0x25987a=_0x4e7565['cl'])==null?void 0x0:_0x25987a['rgb'])??_0x4edc0e,'fontFamily':typeof _0x1c366e[_0x1cb664(0x2d0)]==_0x1cb664(0x351)?_0x1c366e[_0x1cb664(0x2d0)]:(_0x4e7565==null?void 0x0:_0x4e7565['ff'])??_0x5afc33['ff'],'fontSize':typeof _0x1c366e[_0x1cb664(0x434)]==_0x1cb664(0x3ba)?_0x1c366e[_0x1cb664(0x434)]:typeof(_0x4e7565==null?void 0x0:_0x4e7565['fs'])=='number'?_0x4e7565['fs']:_0x5afc33['fs'],'horizontalAlign':_0x1c366e[_0x1cb664(0x3d3)]??_0x14dc60['ha']??_0x572b51[_0x1cb664(0x1ab)],'textFill':_0x1c366e['textFill']&&typeof _0x1c366e[_0x1cb664(0x2d3)]==_0x1cb664(0x458)?_0x1c366e[_0x1cb664(0x2d3)]:_0x4e7565==null?void 0x0:_0x4e7565['textFill'],'verticalAlign':_0x1c366e['verticalAlign']??_0x14dc60['va']??_0x144c34[_0x1cb664(0x312)]};}function Qn(_0x2eaa31,_0x108bf6){const _0x5215d3=_0x4f3d14;if(!_0x108bf6)return;let _0xb0aea1=In(_0x108bf6);if(!_0xb0aea1['length'])return;let _0x33fc7d=_0xb0aea1['map'](_0x5e82d4=>_0x2eaa31[_0x5215d3(0x43c)]({'id':_0x5215d3(0x349),'binding':_0x5e82d4,'staticParameters':{'action':_0x108bf6}})??void 0x0)['filter'](_0x40dedd=>!!_0x40dedd);return _0x33fc7d[_0x5215d3(0x452)]?[...new Set(_0x33fc7d)][_0x5215d3(0x478)]('/'):void 0x0;}async function $n(_0x3f8580,_0x1755fc,_0x128021){const _0x400b88=_0x4f3d14;return await Promise[_0x400b88(0x1ec)](_0x1755fc(()=>_0x3f8580[_0x400b88(0x32d)](_0x32999d['id'],_0x128021)))?(await Promise[_0x400b88(0x1ec)](_0x1755fc(()=>_0x3f8580[_0x400b88(0x32d)](_0x4b5dc4['id'],{'unitId':_0x128021[_0x400b88(0x291)],'subUnitId':_0x128021[_0x400b88(0x20a)],'scopeId':_0x128021[_0x400b88(0x3a9)]}))),!0x0):!0x1;}async function er(_0x3f1d28,_0x38acc1,_0x4dfd20){const _0x3ce1a5=_0x4f3d14;return await Promise[_0x3ce1a5(0x1ec)](_0x38acc1(()=>_0x3f1d28[_0x3ce1a5(0x32d)](_0x523acc['id'],_0x4dfd20)))?(await Promise[_0x3ce1a5(0x1ec)](_0x38acc1(()=>_0x3f1d28[_0x3ce1a5(0x32d)](_0x4b5dc4['id'],{'unitId':_0x4dfd20[_0x3ce1a5(0x291)],'subUnitId':_0x4dfd20[_0x3ce1a5(0x20a)],'scopeId':_0x4dfd20[_0x3ce1a5(0x3a9)]}))),!0x0):!0x1;}function tr({className:_0x483df9=_0x4f3d14(0x30d)}){const _0x2072fb=_0x4f3d14;return _0x9b9447(_0x3a11ae,{'children':_0x27b706(_0x2072fb(0x278),{'className':_0x483df9,'viewBox':_0x2072fb(0x3ce),'fill':_0x2072fb(0x2a1),'aria-hidden':_0x2072fb(0x480),'children':[_0x9b9447(_0x2072fb(0x19f),{'d':_0x2072fb(0x1be),'stroke':'currentColor','strokeWidth':_0x2072fb(0x42a),'strokeLinecap':_0x2072fb(0x28e)}),_0x9b9447(_0x2072fb(0x19f),{'d':_0x2072fb(0x21a),'stroke':_0x2072fb(0x1fe),'strokeWidth':_0x2072fb(0x42a),'strokeLinecap':_0x2072fb(0x28e)}),_0x9b9447(_0x2072fb(0x19f),{'d':_0x2072fb(0x3d5),'stroke':_0x2072fb(0x1fe),'strokeWidth':'1.8','strokeLinecap':_0x2072fb(0x28e)})]})});}function nr({icon:_0x5db6b5}){const _0x2f995e=_0x4f3d14;let _0x20ff4c=_0x2f995e(0x1c0),_0x2bcc8f={'stroke':_0x2f995e(0x1fe),'strokeWidth':2.6,'strokeLinecap':_0x2f995e(0x28e),'strokeLinejoin':_0x2f995e(0x28e)},_0x4c42ea={'stroke':_0x20ff4c,'strokeWidth':3.2,'strokeLinecap':'round'};return _0x27b706(_0x2f995e(0x278),{'className':'univer-h-9\x20univer-w-12','viewBox':_0x2f995e(0x3a2),'fill':_0x2f995e(0x2a1),'aria-hidden':_0x2f995e(0x480),'children':[_0x5db6b5==='mindmap-horizontal'&&_0x27b706(_0x219099,{'children':[_0x9b9447(_0x2f995e(0x19f),{'d':_0x2f995e(0x201),..._0x2bcc8f}),_0x9b9447(_0x2f995e(0x19f),{'d':'M12\x2015h9M12\x2028h9M12\x2041h9M59\x2015h9M59\x2028h9M59\x2041h9',..._0x4c42ea})]}),_0x5db6b5===_0x2f995e(0x1f9)&&_0x27b706(_0x219099,{'children':[_0x9b9447('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',..._0x2bcc8f}),_0x9b9447(_0x2f995e(0x19f),{'d':_0x2f995e(0x196),'stroke':_0x20ff4c,'strokeWidth':2.6,'strokeLinecap':_0x2f995e(0x28e),'strokeDasharray':_0x2f995e(0x200)})]}),_0x5db6b5==='tree-right'&&_0x27b706(_0x219099,{'children':[_0x9b9447(_0x2f995e(0x19f),{'d':'M24\x2012v32M24\x2019c0\x204\x203\x206\x207\x206h7M24\x2029c0\x204\x203\x206\x207\x206h7M24\x2039c0\x204\x203\x206\x207\x206h7',..._0x2bcc8f}),_0x9b9447('path',{'d':_0x2f995e(0x1b8),..._0x4c42ea}),_0x9b9447(_0x2f995e(0x1f6),{'cx':'24','cy':'12','r':'3','fill':'currentColor'})]}),_0x5db6b5===_0x2f995e(0x195)&&_0x27b706(_0x219099,{'children':[_0x9b9447(_0x2f995e(0x19f),{'d':_0x2f995e(0x316),..._0x2bcc8f}),_0x9b9447(_0x2f995e(0x19f),{'d':'M20\x2025h13M20\x2035h13M20\x2045h13',..._0x4c42ea}),_0x9b9447(_0x2f995e(0x1f6),{'cx':'56','cy':'12','r':'3','fill':'currentColor'})]}),_0x5db6b5===_0x2f995e(0x2f6)&&_0x27b706(_0x219099,{'children':[_0x9b9447(_0x2f995e(0x19f),{'d':_0x2f995e(0x373),..._0x2bcc8f}),_0x9b9447(_0x2f995e(0x19f),{'d':_0x2f995e(0x45a),..._0x4c42ea}),_0x9b9447(_0x2f995e(0x1f6),{'cx':'42','cy':'12','r':'3','fill':_0x2f995e(0x1fe)})]}),_0x5db6b5===_0x2f995e(0x243)&&_0x27b706(_0x219099,{'children':[_0x9b9447(_0x2f995e(0x19f),{'d':_0x2f995e(0x3f2),..._0x2bcc8f}),_0x9b9447(_0x2f995e(0x19f),{'d':_0x2f995e(0x36b),..._0x4c42ea}),_0x9b9447(_0x2f995e(0x1f6),{'cx':'17','cy':'31','r':'3','fill':_0x2f995e(0x1fe)})]}),_0x5db6b5===_0x2f995e(0x481)&&_0x27b706(_0x219099,{'children':[_0x9b9447('path',{'d':_0x2f995e(0x2f7),..._0x2bcc8f}),_0x9b9447('path',{'d':'M56\x2039h11M13\x2050h11',..._0x4c42ea}),_0x9b9447(_0x2f995e(0x1f6),{'cx':'40','cy':'9','r':'3','fill':'currentColor'})]}),_0x5db6b5===_0x2f995e(0x1c1)&&_0x9b9447(_0x219099,{'children':_0x9b9447(_0x2f995e(0x19f),{'d':'M16\x2028c16\x200\x2025-13\x2043-13M16\x2028c16\x200\x2025\x2013\x2043\x2013',..._0x2bcc8f})}),_0x5db6b5===_0x2f995e(0x2d6)&&_0x9b9447(_0x219099,{'children':_0x9b9447(_0x2f995e(0x19f),{'d':_0x2f995e(0x410),..._0x2bcc8f})}),_0x5db6b5==='branch-orthogonal'&&_0x9b9447(_0x219099,{'children':_0x9b9447('path',{'d':_0x2f995e(0x413),..._0x2bcc8f})})]});}function rr(_0x3c5f2a,_0x484996){const _0x1e9c28=_0x4f3d14;let _0x26b8d8=_0x3c5f2a['textStyle'],_0x4213c9=_0x5eb915(_0x26b8d8),_0xfc1dfd={..._0x4213c9[_0x1e9c28(0x25e)]===void 0x0?null:{'color':_0x4213c9[_0x1e9c28(0x25e)]},..._0x4213c9[_0x1e9c28(0x2d0)]===void 0x0?null:{'fontFamily':_0x4213c9[_0x1e9c28(0x2d0)]},..._0x4213c9[_0x1e9c28(0x434)]===void 0x0?null:{'fontSize':_0x4213c9[_0x1e9c28(0x434)]},..._0x4213c9[_0x1e9c28(0x2fc)]===void 0x0?null:{'bold':_0x4213c9[_0x1e9c28(0x2fc)]},..._0x4213c9[_0x1e9c28(0x1b4)]===void 0x0?null:{'italic':_0x4213c9[_0x1e9c28(0x1b4)]},..._0x4213c9[_0x1e9c28(0x3db)]===void 0x0?null:{'underline':_0x4213c9[_0x1e9c28(0x3db)]},..._0x4213c9[_0x1e9c28(0x28a)]===void 0x0?null:{'strikethrough':_0x4213c9['strikethrough']},..._0x4213c9[_0x1e9c28(0x2d3)]===void 0x0?null:{'textFill':_0x4213c9['textFill']}};_0x3c5f2a[_0x1e9c28(0x3d3)]!==void 0x0&&(_0xfc1dfd['horizontalAlign']=_0x3c5f2a['horizontalAlign']),_0x3c5f2a[_0x1e9c28(0x31f)]!==void 0x0&&(_0xfc1dfd[_0x1e9c28(0x31f)]=_0x3c5f2a[_0x1e9c28(0x31f)]),Object['keys'](_0xfc1dfd)['length']>0x0&&_0x484996({'textStyle':_0xfc1dfd});}function ir(_0x57437c,_0x1f240d,_0x339a6f){const _0x25ce49=_0x4f3d14;let _0x54934a=_0x57437c??{},_0x5e0f6f=_0x543a5f(_0x54934a,_0x1f240d),_0x2ea1b2=_0x5e0f6f[_0x25ce49(0x1eb)]??_0x54934a[_0x25ce49(0x1eb)]??{};return{..._0x54934a,..._0x5e0f6f,'shapeText':{..._0x2ea1b2,..._0x339a6f[_0x25ce49(0x25e)]===void 0x0?null:{'color':_0x339a6f['color']},..._0x339a6f['fontSize']===void 0x0?null:{'fontSize':_0x339a6f[_0x25ce49(0x434)]},..._0x339a6f['bold']===void 0x0?null:{'bold':_0x339a6f[_0x25ce49(0x2fc)]},..._0x339a6f[_0x25ce49(0x1b4)]===void 0x0?null:{'italic':_0x339a6f[_0x25ce49(0x1b4)]},..._0x339a6f[_0x25ce49(0x3db)]===void 0x0?null:{'underline':_0x339a6f[_0x25ce49(0x3db)]},..._0x339a6f[_0x25ce49(0x28a)]===void 0x0?null:{'strikethrough':_0x339a6f[_0x25ce49(0x28a)]},..._0x339a6f[_0x25ce49(0x3d3)]===void 0x0?null:{'horizontalAlign':_0x339a6f['horizontalAlign']},..._0x339a6f[_0x25ce49(0x31f)]===void 0x0?null:{'verticalAlign':_0x339a6f[_0x25ce49(0x31f)]},..._0x339a6f[_0x25ce49(0x2d3)]===void 0x0?null:{'textFill':_0x339a6f[_0x25ce49(0x2d3)]}}};}function ar(_0x5d7644,_0x4d2695){const _0x49a2a3=_0x4f3d14;let _0x2f6e90=_0x5d7644==null?void 0x0:_0x5d7644[_0x49a2a3(0x267)];_0x2f6e90&&_0x4d2695({'lineType':_0x2f6e90[_0x49a2a3(0x340)]===_0x16fb53[_0x49a2a3(0x498)]||_0x2f6e90[_0x49a2a3(0x340)]===_0x16fb53['SquareDot']?_0x49a2a3(0x271):_0x2f6e90['dashType']===_0x16fb53[_0x49a2a3(0x4ad)]?_0x49a2a3(0x223):'solid',...typeof _0x2f6e90[_0x49a2a3(0x48c)]==_0x49a2a3(0x3ba)?{'strokeWidth':_0x2f6e90[_0x49a2a3(0x48c)]}:null,...typeof _0x2f6e90[_0x49a2a3(0x25e)]=='string'?{'stroke':_0x2f6e90[_0x49a2a3(0x25e)]}:null,...typeof _0x2f6e90[_0x49a2a3(0x263)]==_0x49a2a3(0x3ba)?{'opacity':_0x2f6e90['opacity']}:null});}function or(_0x57fbeb){const _0xc4ce3f=_0x4f3d14;return _0x57fbeb!=null&&_0x57fbeb[_0xc4ce3f(0x452)]?_0x57fbeb[0x0]<=0x2?_0x16fb53[_0xc4ce3f(0x498)]:_0x16fb53[_0xc4ce3f(0x4ad)]:_0x16fb53['Solid'];}function sr(_0x54382b){const _0x45b7e7=_0x4f3d14;return{'stroke':{'lineStrokeType':_0x48e250['SolidLine'],'dashType':or(_0x54382b==null?void 0x0:_0x54382b[_0x45b7e7(0x223)]),'color':(_0x54382b==null?void 0x0:_0x54382b['stroke'])??_0x121c72,'width':(_0x54382b==null?void 0x0:_0x54382b[_0x45b7e7(0x2b3)])??Bn[_0x45b7e7(0x49b)],'opacity':(_0x54382b==null?void 0x0:_0x54382b[_0x45b7e7(0x263)])??Vn['defaultValue']/0x64}};}function cr(_0xe5e558){const _0x221c20=_0x4f3d14;var _0x595006,_0x1fdabf,_0x3f2d49;let _0x2ce088=_0x1bf837(_0x27d0fe),_0x2cea48=_0x1bf837(_0x2c1c63),_0x2fdf66=_0x1bf837(_0x4eab55),_0x9e0cb5=_0x1bf837(_0x57f4a7),[_0x44699f,_0x33d42d]=_0x34d7b2(null),[_0x4bd150,_0x13abec]=_0x34d7b2((_0x595006=_0xe5e558[_0x221c20(0x353)][_0x221c20(0x261)])==null?void 0x0:_0x595006[_0x221c20(0x38b)]),_0x3cbffb=_0xe5e558[_0x221c20(0x353)]['extraProps'];if(!_0x3cbffb)return null;let _0x40e7ff={'unitId':_0x3cbffb[_0x221c20(0x291)],'subUnitId':_0x3cbffb[_0x221c20(0x20a)]},_0x48595d=_0x34f6b0=>{const _0x488fea=_0x221c20;_0x2ce088[_0x488fea(0x32d)](_0x3d67d8['id'],{..._0x40e7ff,'nodeId':_0x3cbffb[_0x488fea(0x3e9)],..._0x34f6b0});},_0x38143b=(_0x2213a0,_0x4146d3)=>{const _0x3b1cca=_0x221c20;let _0x4850eb=_0x4146d3??{};_0x13abec(_0xa397fa=>({..._0xa397fa??{},..._0x4850eb})),_0x48595d({..._0x4850eb['fill']===void 0x0?null:{'fill':_0x4850eb[_0x3b1cca(0x222)]},..._0x4850eb[_0x3b1cca(0x267)]===void 0x0?null:{'stroke':_0x4850eb['stroke']}});},_0x56db15=_0x2863eb=>{const _0x771f5f=_0x221c20;_0x2ce088[_0x771f5f(0x32d)](_0x411ecf['id'],{..._0x40e7ff,'nodeId':_0x3cbffb[_0x771f5f(0x3e9)],'style':_0x2863eb});},_0x52dc03=sr(_0x3cbffb[_0x221c20(0x288)]),_0x3c892d=_0x38dffb=>Qn(_0x2cea48,_0x38dffb),_0x1de404=_0x18fd4c=>{qn(_0x2ce088,_0x18fd4c);},_0x17b3e9=(_0x4bd150==null?void 0x0:_0x4bd150[_0x221c20(0x1eb)])??{},_0x5b9a5a=Zn(_0x4bd150),_0x43e164=_0x38909e=>{rr(_0x38909e,_0x4fc099=>{const _0x4884d3=_0x5652;_0x13abec(_0x198fcd=>ir(_0x198fcd,_0x38909e,_0x4fc099[_0x4884d3(0x1d5)])),_0x48595d(_0x4fc099);});},_0x250b95=[{'label':_0x2fdf66['t']('boards-mind-ui.alignLeft'),'value':_0x572b51[_0x221c20(0x1ab)],'icon':_0x9b9447(_0x10ad46,{})},{'label':_0x2fdf66['t'](_0x221c20(0x2be)),'value':_0x572b51[_0x221c20(0x2b9)],'icon':_0x9b9447(_0xd2c873,{})},{'label':_0x2fdf66['t']('boards-mind-ui.alignRight'),'value':_0x572b51[_0x221c20(0x1c9)],'icon':_0x9b9447(_0x97b6f7,{})},{'label':_0x2fdf66['t'](_0x221c20(0x4a5)),'value':_0x572b51[_0x221c20(0x3d7)],'icon':_0x9b9447(_0x233f6c,{})}],_0x3eab06=[{'label':_0x2fdf66['t']('boards-mind-ui.alignTop'),'value':_0x144c34[_0x221c20(0x3ed)],'icon':_0x9b9447(_0x1c51ff,{})},{'label':_0x2fdf66['t'](_0x221c20(0x40b)),'value':_0x144c34[_0x221c20(0x312)],'icon':_0x9b9447(_0x56f7d4,{})},{'label':_0x2fdf66['t'](_0x221c20(0x44e)),'value':_0x144c34[_0x221c20(0x3d4)],'icon':_0x9b9447(_0x4cbc58,{})}],_0x6520f4=()=>{const _0x8e3112=_0x221c20;_0x1de404(_0x8e3112(0x1e2));},_0x1c1f32=()=>{const _0x30bb50=_0x221c20;_0x1de404(_0x30bb50(0x2a9));},_0x5106f3=()=>{const _0x3a84ff=_0x221c20;_0x1de404(_0x3a84ff(0x1a5));},_0x1010ac=()=>{_0x1de404('paste');},_0x4518c9=()=>{const _0xd4654c=_0x221c20;_0x1de404(_0xd4654c(0x333));},_0x429323=((_0x1fdabf=_0x3cbffb[_0x221c20(0x2bc)])==null?void 0x0:_0x1fdabf[_0x221c20(0x35e)])??_0x1fa9e8[_0x221c20(0x35e)],_0xaca9d5=_0x22ba0f(_0x429323,((_0x3f2d49=_0x3cbffb[_0x221c20(0x2bc)])==null?void 0x0:_0x3f2d49[_0x221c20(0x402)])??_0x1fa9e8[_0x221c20(0x402)]),_0x20bf09=_0x53d09f=>{const _0x431bbd=_0x221c20;let _0x1631f8=_0x22ba0f(_0x53d09f,_0xaca9d5);$n(_0x2ce088,_0x9e0cb5['createRunner'](_0x3cbffb[_0x431bbd(0x291)]),{..._0x40e7ff,'scopeId':_0x3cbffb[_0x431bbd(0x3a9)],'structureKind':_0x53d09f,..._0x1631f8===_0xaca9d5?null:{'branchLineType':_0x1631f8}}),_0x33d42d(null);},_0x1a7f5e=_0x2af0c0=>{const _0x5c48f9=_0x221c20;er(_0x2ce088,_0x9e0cb5[_0x5c48f9(0x2ae)](_0x3cbffb[_0x5c48f9(0x291)]),{..._0x40e7ff,'scopeId':_0x3cbffb[_0x5c48f9(0x3a9)],'branchLineType':_0x2af0c0}),_0x33d42d(null);},_0x9a8b92=(_0x12f608,_0x167da1,_0x2513fc,_0x7a52e=!0x1)=>_0x9b9447('button',{'type':_0x221c20(0x26f),'aria-label':_0x2fdf66['t'](_0x12f608['labelKey']),'disabled':_0x7a52e,'className':_0x461cd5(_0x221c20(0x495),_0x167da1&&_0x221c20(0x25d),_0x7a52e&&'univer-cursor-not-allowed\x20univer-text-gray-300\x20hover:univer-bg-transparent'),'onMouseDown':Yn,'onPointerDown':Yn,'onClick':_0xddec92=>{const _0x3833a2=_0x221c20;_0xddec92[_0x3833a2(0x1de)](),!_0x7a52e&&_0x2513fc();},'children':_0x9b9447(nr,{'icon':_0x12f608[_0x221c20(0x270)]})},_0x12f608['value']),_0x2fb8bd=()=>_0x27b706(_0x221c20(0x417),{'className':_0x221c20(0x3aa),'onMouseDown':_0x56d614=>_0x56d614[_0x221c20(0x1de)](),'onPointerDown':_0x4db428=>_0x4db428['stopPropagation'](),'children':[Wn['map'](_0x5574d0=>_0x27b706(_0x221c20(0x417),{'className':_0x221c20(0x2fa),'children':[_0x9b9447('div',{'className':_0x221c20(0x468),'children':_0x5574d0[_0x221c20(0x3c2)]}),_0x9b9447('div',{'className':_0x221c20(0x1b0),'style':{'gridTemplateColumns':_0x221c20(0x492)+_0x5574d0['items'][_0x221c20(0x452)]+_0x221c20(0x1b1)},'children':_0x5574d0[_0x221c20(0x2ef)]['map'](_0x233af6=>_0x9a8b92(_0x233af6,_0x233af6['value']===_0x429323,()=>_0x20bf09(_0x233af6['value'])))})]},_0x5574d0[_0x221c20(0x3f0)])),_0x9b9447(_0x1d1b23,{}),_0x27b706(_0x221c20(0x417),{'className':_0x221c20(0x47d),'children':[_0x9b9447(_0x221c20(0x417),{'className':_0x221c20(0x468),'children':Gn['title']}),_0x9b9447('div',{'className':_0x221c20(0x1b0),'style':{'gridTemplateColumns':_0x221c20(0x492)+Gn['items'][_0x221c20(0x452)]+',\x20minmax(0,\x201fr))'},'children':Gn[_0x221c20(0x2ef)][_0x221c20(0x2c1)](_0x1e081d=>_0x9a8b92(_0x1e081d,_0x1e081d[_0x221c20(0x1bb)]===_0xaca9d5,()=>_0x1a7f5e(_0x1e081d[_0x221c20(0x1bb)]),_0x1e081d['value']===_0x221c20(0x337)&&!_0x35ce36(_0x429323)))})]})]}),_0x2b1fe0=_0x14dce5=>{const _0x3fb91e=_0x221c20;switch(_0x14dce5){case _0x3fb91e(0x314):return _0x9b9447(_0x26de67,{'title':_0x2fdf66['t'](_0x3fb91e(0x3ec)),'shapeData':_0x52dc03,'modeOptions':['solid','dash',_0x3fb91e(0x271)],'showDashDropdown':!0x1,'widthRange':{'min':Bn[_0x3fb91e(0x246)],'max':Bn[_0x3fb91e(0x31c)],'step':0x1},'onUpdateShapeData':(_0x384482,_0xfc32bd)=>{ar(_0xfc32bd,_0x56db15);}});case'more':return _0x9b9447(_0x2cf51f,{'title':_0x2fdf66['t'](_0x3fb91e(0x3af)),'minWidthClassName':'univer-min-w-[240px]','children':_0x27b706('div',{'className':_0x3fb91e(0x3fe),'children':[_0x9b9447(_0x5a5f70,{'label':_0x2fdf66['t']('boards-mind-ui.toolbar.action.addSibling'),'shortcut':_0x3c892d(Un[_0x3fb91e(0x42e)]),'onClick':_0x6520f4}),_0x9b9447(_0x5a5f70,{'label':_0x2fdf66['t'](_0x3fb91e(0x221)),'shortcut':_0x3c892d(Un[_0x3fb91e(0x244)]),'onClick':_0x1c1f32}),_0x9b9447(_0x1d1b23,{}),_0x9b9447(_0x5a5f70,{'label':_0x2fdf66['t'](_0x3fb91e(0x396)),'shortcut':_0x3c892d(Un['copy']),'onClick':_0x5106f3}),_0x9b9447(_0x5a5f70,{'label':_0x2fdf66['t'](_0x3fb91e(0x46b)),'shortcut':_0x3c892d(Un[_0x3fb91e(0x381)]),'onClick':_0x1010ac}),_0x9b9447(_0x5a5f70,{'label':_0x2fdf66['t'](_0x3fb91e(0x194)),'shortcut':_0x3c892d(Un[_0x3fb91e(0x333)]),'onClick':_0x4518c9})]})});default:return null;}},_0x12842e=Hn[_0x221c20(0x265)](_0x50b745=>{const _0x35d364=_0x221c20;let _0x532d6f=[];if(_0x50b745[_0x35d364(0x27d)]&&_0x532d6f[_0x35d364(0x3ee)](_0x9b9447(_0x1d1b23,{'orientation':'vertical'},_0x35d364(0x3a8)+_0x50b745[_0x35d364(0x315)])),_0x50b745[_0x35d364(0x315)]===_0x35d364(0x3ad))return _0x532d6f['push'](_0x9b9447(_0x293f98,{'title':_0x2fdf66['t'](_0x35d364(0x29c)),'fontFamily':_0x5b9a5a['fontFamily'],'textStyle':{'isBold':_0x17b3e9[_0x35d364(0x2fc)]===!0x0,'isItalic':_0x17b3e9[_0x35d364(0x1b4)]===!0x0,'isUnderline':_0x17b3e9[_0x35d364(0x3db)]===!0x0,'isStrike':_0x17b3e9[_0x35d364(0x28a)]===!0x0},'horizontalAlign':_0x5b9a5a[_0x35d364(0x3d3)],'verticalAlign':_0x5b9a5a[_0x35d364(0x31f)],'horizontalAlignOptions':_0x250b95,'verticalAlignOptions':_0x3eab06,'onUpdateText':_0x43e164},_0x50b745['kind'])),_0x532d6f;if(_0x50b745[_0x35d364(0x315)]===_0x35d364(0x425)){let _0x5851fc={'fs':_0x5b9a5a['fontSize'],'cl':{'rgb':_0x5b9a5a[_0x35d364(0x25e)]},..._0x5b9a5a[_0x35d364(0x2d3)]===void 0x0?null:{'textFill':_0x5b9a5a[_0x35d364(0x2d3)]}};return _0x532d6f[_0x35d364(0x3ee)](_0x9b9447(_0x19e9cd,{'title':_0x2fdf66['t']('boards-mind-ui.toolbar.action.fontColor'),'textStyle':_0x5851fc,'fallbackColor':_0x5b9a5a[_0x35d364(0x25e)],'onChange':_0x709ca0=>_0x43e164({'textStyle':_0x709ca0})},_0x50b745[_0x35d364(0x315)])),_0x532d6f[_0x35d364(0x3ee)](_0x9b9447(_0x1d6b66,{'value':String(_0x5b9a5a[_0x35d364(0x434)]),'onChange':_0x2454bc=>{_0x43e164({'textStyle':{'fs':_0x2454bc}});}},_0x35d364(0x401))),_0x532d6f;}return _0x532d6f[_0x35d364(0x3ee)](_0x9b9447(_0x53b00d,{'open':_0x44699f===_0x50b745[_0x35d364(0x41b)],'overlay':_0x2b1fe0(_0x50b745['panel']),'onOpenChange':_0x3cbd6a=>_0x33d42d(_0x3cbd6a?_0x50b745['panel']:null),'children':_0x9b9447(_0x35d364(0x255),{'children':_0x9b9447(_0x3945a0,{'title':_0x2fdf66['t'](_0x50b745[_0x35d364(0x2ed)]),'active':_0x44699f===_0x50b745[_0x35d364(0x41b)],'icon':Xn(Jn[_0x50b745[_0x35d364(0x41b)]]),'sizeClassName':_0x35d364(0x1cd),'onMouseDown':Yn,'onPointerDown':Yn})})},_0x50b745[_0x35d364(0x41b)])),_0x532d6f;}),_0x441c1d=[..._0x3cbffb[_0x221c20(0x23f)]?[_0x9b9447(_0x53b00d,{'open':_0x44699f===_0x221c20(0x2bc),'overlay':_0x2fb8bd(),'onOpenChange':_0x2a8f8c=>_0x33d42d(_0x2a8f8c?'layout':null),'children':_0x9b9447(_0x221c20(0x255),{'children':_0x9b9447(_0x3945a0,{'title':_0x2fdf66['t']('boards-mind-ui.toolbar.action.layout'),'active':_0x44699f==='layout','icon':_0x9b9447(tr,{}),'sizeClassName':'univer-h-7\x20univer-min-w-9\x20univer-w-auto\x20univer-gap-1\x20univer-px-1.5','onMouseDown':Yn,'onPointerDown':Yn})})},'mind-map-layout-dropdown'),_0x9b9447(_0x1d1b23,{'orientation':_0x221c20(0x2a0)},_0x221c20(0x473))]:[],_0x9b9447(_0xb1360f,{'title':_0x2fdf66['t']('boards-mind-ui.toolbar.action.fill'),'shapeData':_0x4bd150??{},'onUpdateShapeData':_0x38143b},_0x221c20(0x1fd)),_0x9b9447(_0x559b96,{'title':_0x2fdf66['t'](_0x221c20(0x442)),'shapeData':_0x4bd150??{},'onUpdateShapeData':_0x38143b},_0x221c20(0x420)),_0x9b9447(_0x1d1b23,{'orientation':_0x221c20(0x2a0)},'style-divider')];return _0x27b706(_0x31c2c5,{'maxWidthClassName':_0x221c20(0x2ba),'onMouseDown':_0x50d8bf=>_0x50d8bf[_0x221c20(0x1de)](),'children':[_0x441c1d,_0x12842e]});}function lr(_0xbf8815){let {left:_0x3271db,top:_0x42d514,width:_0x581b55,height:_0x4b3634}=_0xbf8815;return{'left':_0x3271db,'right':_0x3271db+_0x581b55,'top':_0x42d514-0x38,'bottom':_0x42d514+_0x4b3634};}let ur=class extends _0x41f8e5{constructor(_0xb664ff,_0x3e58a2,_0x566b53,_0x8d1162,_0x40e157,_0x548bba){const _0x3e6b8a=_0x4f3d14;super(),this[_0x3e6b8a(0x414)]=_0xb664ff,this[_0x3e6b8a(0x22e)]=_0x3e58a2,this[_0x3e6b8a(0x3dd)]=_0x566b53,this[_0x3e6b8a(0x1a3)]=_0x8d1162,this[_0x3e6b8a(0x28b)]=_0x40e157,this[_0x3e6b8a(0x3b4)]=_0x548bba,K(this,'_popupDisposable',null),K(this,'_popupSelectionKey',null),this[_0x3e6b8a(0x45b)]();}[_0x4f3d14(0x45e)](){const _0x3cc688=_0x4f3d14;this[_0x3cc688(0x2d2)](),super['dispose']();}['_init'](){const _0x21dad3=_0x4f3d14;let _0x48f4bb=this[_0x21dad3(0x414)][_0x21dad3(0x48b)][_0x21dad3(0x1dc)]();this[_0x21dad3(0x44d)](_0x122c68(_0x48f4bb[_0x21dad3(0x3bd)][_0x21dad3(0x46c)](_0x41cd5b(this[_0x21dad3(0x494)]))[_0x21dad3(0x345)](()=>this[_0x21dad3(0x2b5)]()))),this['disposeWithMe'](_0x122c68(_0x48f4bb[_0x21dad3(0x256)][_0x21dad3(0x46c)](_0x41cd5b(this[_0x21dad3(0x494)]))['subscribe'](()=>this[_0x21dad3(0x394)]()))),this[_0x21dad3(0x44d)](_0x122c68(_0x48f4bb['changeStart$'][_0x21dad3(0x46c)](_0x41cd5b(this[_0x21dad3(0x494)]))[_0x21dad3(0x345)](()=>this[_0x21dad3(0x2d2)]()))),this[_0x21dad3(0x44d)](_0x122c68(_0x48f4bb[_0x21dad3(0x34d)][_0x21dad3(0x46c)](_0x41cd5b(this[_0x21dad3(0x494)]))[_0x21dad3(0x345)](()=>setTimeout(()=>this[_0x21dad3(0x2b5)](),0x0)))),this[_0x21dad3(0x44d)](_0x122c68(this[_0x21dad3(0x1a3)]['state$'][_0x21dad3(0x46c)](_0x41cd5b(this[_0x21dad3(0x494)]))[_0x21dad3(0x345)](()=>setTimeout(()=>this[_0x21dad3(0x2b5)](),0x0)))),this['disposeWithMe'](_0x122c68(this[_0x21dad3(0x3b4)]['interactionSurfaceActive$'][_0x21dad3(0x46c)](_0x41cd5b(this['dispose$']))[_0x21dad3(0x345)](_0x534208=>{const _0x3376d4=_0x21dad3;_0x534208?this[_0x3376d4(0x2d2)]():setTimeout(()=>this['_showPopupForSelection'](),0x0);}))),this[_0x21dad3(0x44d)](_0x122c68(this['_boardTextEditingService'][_0x21dad3(0x482)][_0x21dad3(0x46c)](_0x41cd5b(this[_0x21dad3(0x494)]))[_0x21dad3(0x345)](_0x40d760=>{const _0x510c72=_0x21dad3;(_0x40d760==null?void 0x0:_0x40d760[_0x510c72(0x291)])===this[_0x510c72(0x414)]['unitId']&&(_0x40d760[_0x510c72(0x418)]?this[_0x510c72(0x2d2)]():setTimeout(()=>this[_0x510c72(0x2b5)](),0x0));})));}[_0x4f3d14(0x2d2)](){const _0x34024f=_0x4f3d14;var _0x2c0836;(_0x2c0836=this[_0x34024f(0x421)])==null||_0x2c0836[_0x34024f(0x45e)](),this[_0x34024f(0x421)]=null,this[_0x34024f(0x22f)]=null;}[_0x4f3d14(0x394)](){setTimeout(()=>{const _0x1e7c63=_0x5652;this[_0x1e7c63(0x25f)]()||this[_0x1e7c63(0x2d2)]();},0x0);}['_isPopupSelectionStillActive'](){const _0x47d975=_0x4f3d14;let _0x5c79f7=this[_0x47d975(0x1a3)][_0x47d975(0x310)]();return!!_0x5c79f7[_0x47d975(0x3ac)]&&_0x5c79f7[_0x47d975(0x375)][_0x47d975(0x452)]>0x0&&this[_0x47d975(0x22f)]===this[_0x47d975(0x3a1)](_0x5c79f7['context'][_0x47d975(0x291)],_0x5c79f7[_0x47d975(0x3ac)][_0x47d975(0x20a)],_0x5c79f7[_0x47d975(0x375)]);}[_0x4f3d14(0x3a1)](_0x393878,_0x5b3da1,_0x2dc6e3){const _0x5cc4fe=_0x4f3d14;return _0x393878+':'+_0x5b3da1+':'+_0x2dc6e3[_0x5cc4fe(0x478)](',');}[_0x4f3d14(0x27f)](_0x271466,_0x11938a,_0x1f3af4,_0x5b8e25){const _0x213e59=_0x4f3d14;let _0x263a1e=this[_0x213e59(0x3dd)][_0x213e59(0x198)](_0x271466,_0x11938a),_0x1d4871=Object['values'](_0x263a1e)[_0x213e59(0x431)](_0xee064b=>{const _0x43d380=_0x213e59;let _0x3b9f86=_0x5dd284(_0xee064b['element']);return(_0x3b9f86==null?void 0x0:_0x3b9f86['structureScopeId'])===_0x1f3af4&&_0x3b9f86[_0x43d380(0x1c7)]===_0x5b8e25;});if(_0x1d4871&&'connectorData'in _0x1d4871[_0x213e59(0x1ca)])return _0x1d4871[_0x213e59(0x1ca)]['connectorData'][_0x213e59(0x281)];}[_0x4f3d14(0x2b5)](){const _0x3e002e=_0x4f3d14;var _0x5353f6,_0x36d59e,_0x3da1a3;if(this[_0x3e002e(0x3b4)][_0x3e002e(0x4a0)]){this[_0x3e002e(0x2d2)]();return;}let _0x2e755d=this['_boardTextEditingService']['getEditing']();if((_0x2e755d==null?void 0x0:_0x2e755d[_0x3e002e(0x418)])===!0x0&&_0x2e755d['unitId']===this[_0x3e002e(0x414)][_0x3e002e(0x291)]){this[_0x3e002e(0x2d2)]();return;}let _0x48844b=this[_0x3e002e(0x1a3)][_0x3e002e(0x310)]();if(_0x48844b['isTransforming']||_0x4b1317({'context':_0x48844b[_0x3e002e(0x3ac)],'selectedIds':_0x48844b[_0x3e002e(0x375)],'getElementById':(_0x4f46fb,_0x43ac23,_0x58b61a)=>this[_0x3e002e(0x3dd)][_0x3e002e(0x40e)](_0x4f46fb,_0x43ac23,_0x58b61a)})['owner']!=='mind-map'){this[_0x3e002e(0x2d2)]();return;}let _0x1fc929=this['_renderContext'][_0x3e002e(0x48b)][_0x3e002e(0x1dc)]()[_0x3e002e(0x2c0)](),_0x2010f0=Array[_0x3e002e(0x374)](_0x1fc929[_0x3e002e(0x2df)]())[_0x3e002e(0x2c1)](_0x2421a6=>this[_0x3e002e(0x204)](_0x2421a6))[_0x3e002e(0x43b)](_0x592776=>!!_0x592776)[_0x3e002e(0x43b)](_0x2c99a5=>!!_0x5585ba(_0x2c99a5[_0x3e002e(0x241)][_0x3e002e(0x1ca)])),_0x41023c=_0x2010f0[_0x3e002e(0x431)](_0x1777cb=>_0x1777cb['elementData'][_0x3e002e(0x3e9)]===_0x48844b[_0x3e002e(0x206)])??_0x2010f0[0x0]??this['_resolveSelectedMindMapEntryFromState']();if(!_0x41023c){this[_0x3e002e(0x2d2)]();return;}let _0x2e235e=_0x5585ba(_0x41023c[_0x3e002e(0x241)][_0x3e002e(0x1ca)]);if(!_0x2e235e){this[_0x3e002e(0x2d2)]();return;}let _0x24c4de=(_0x5353f6=this[_0x3e002e(0x3dd)][_0x3e002e(0x198)](_0x41023c['elementData'][_0x3e002e(0x291)],_0x41023c['elementData'][_0x3e002e(0x20a)])[_0x2e235e['structureScopeId']])==null?void 0x0:_0x5353f6['element'],_0x3b0dd7=_0x487e3a(_0x24c4de),_0x40d90a=_0x24c4de==null||(_0x36d59e=_0x24c4de[_0x3e002e(0x192)])==null||(_0x36d59e=_0x36d59e[_0x3e002e(0x292)])==null||(_0x36d59e=_0x36d59e['layout'])==null?void 0x0:_0x36d59e[_0x3e002e(0x35e)],_0x143e58=((_0x3b0dd7==null?void 0x0:_0x3b0dd7[_0x3e002e(0x2bc)]['structureKind'])??_0x40d90a)===_0x3e002e(0x1f9)&&(_0x2e235e[_0x3e002e(0x29f)]===null||_0x2e235e[_0x3e002e(0x350)]===_0x3e002e(0x2e1)),_0x4ab342=_0x2e235e[_0x3e002e(0x29f)]!==null&&_0x2e235e[_0x3e002e(0x350)]!==_0x3e002e(0x2e1)&&_0x2e235e['side']!==_0x3e002e(0x449),_0x45ac76=_0x143e58||_0x4ab342,_0xc351ab=((_0x3da1a3=_0x48844b[_0x3e002e(0x3ac)])==null?void 0x0:_0x3da1a3[_0x3e002e(0x291)])===_0x41023c[_0x3e002e(0x241)][_0x3e002e(0x291)]&&_0x48844b[_0x3e002e(0x3ac)]['subUnitId']===_0x41023c[_0x3e002e(0x241)][_0x3e002e(0x20a)]&&_0x48844b[_0x3e002e(0x375)][_0x3e002e(0x452)]?_0x48844b[_0x3e002e(0x375)]:[_0x41023c[_0x3e002e(0x241)][_0x3e002e(0x3e9)]],_0x529989=this[_0x3e002e(0x3a1)](_0x41023c[_0x3e002e(0x241)][_0x3e002e(0x291)],_0x41023c[_0x3e002e(0x241)][_0x3e002e(0x20a)],_0xc351ab);this[_0x3e002e(0x421)]&&this[_0x3e002e(0x22f)]===_0x529989||(this['_clearPopup'](),this['_popupDisposable']=this[_0x3e002e(0x44d)](this['_boardCanvasPopManagerService'][_0x3e002e(0x1ff)](_0x41023c[_0x3e002e(0x241)][_0x3e002e(0x291)],_0x41023c['elementData'][_0x3e002e(0x20a)],_0x41023c[_0x3e002e(0x458)],{'componentKey':Kn,'direction':_0x3e002e(0x1f1),'offset':[0x0,0x8],..._0x45ac76?{'anchorBoundResolver':lr}:null,'extraProps':{'unitId':_0x41023c[_0x3e002e(0x241)][_0x3e002e(0x291)],'subUnitId':_0x41023c[_0x3e002e(0x241)][_0x3e002e(0x20a)],'elementId':_0x41023c['elementData'][_0x3e002e(0x3e9)],'scopeId':_0x2e235e['structureScopeId'],'isRootNode':_0x2e235e['parentNodeId']===null,'left':_0x41023c[_0x3e002e(0x241)][_0x3e002e(0x1ca)]['transform'][_0x3e002e(0x445)]??0x0,'top':_0x41023c[_0x3e002e(0x241)][_0x3e002e(0x1ca)]['transform'][_0x3e002e(0x2e1)]??0x0,'shapeData':_0x41023c[_0x3e002e(0x241)][_0x3e002e(0x1ca)]['type']===_0x282c4b['Shape']?_0x41023c[_0x3e002e(0x241)]['element']['shapeData']:void 0x0,'layout':_0x3b0dd7==null?void 0x0:_0x3b0dd7[_0x3e002e(0x2bc)],'incomingConnectorStyle':this[_0x3e002e(0x27f)](_0x41023c[_0x3e002e(0x241)]['unitId'],_0x41023c[_0x3e002e(0x241)][_0x3e002e(0x20a)],_0x2e235e['structureScopeId'],_0x41023c[_0x3e002e(0x241)][_0x3e002e(0x3e9)])}})),this['_popupSelectionKey']=_0x529989);}[_0x4f3d14(0x18f)](){const _0x159cba=_0x4f3d14;var _0x7fa6b0;let _0x122ed1=this[_0x159cba(0x1a3)][_0x159cba(0x310)](),_0x55927e=_0x122ed1[_0x159cba(0x3ac)],_0x3b4556=_0x122ed1[_0x159cba(0x206)]??_0x122ed1[_0x159cba(0x375)][0x0];if(!_0x55927e||!_0x3b4556)return null;let _0x5203b3=this['_boardElementService'][_0x159cba(0x40e)](_0x55927e['unitId'],_0x55927e[_0x159cba(0x20a)],_0x3b4556);if(!_0x5203b3||!_0x5585ba(_0x5203b3['element']))return null;let _0x4b03e6=_0x55b3e2(_0x55927e['unitId'],_0x3b4556),_0x21b6ad=this['_renderContext'][_0x159cba(0x48b)],_0x1a0592=((_0x7fa6b0=_0x21b6ad['getObjectIncludeInGroup'])==null?void 0x0:_0x7fa6b0[_0x159cba(0x2a4)](_0x21b6ad,_0x4b03e6))??this[_0x159cba(0x414)]['scene'][_0x159cba(0x3b7)](_0x4b03e6);return _0x1a0592?{'object':_0x1a0592,'elementData':_0x5203b3}:null;}[_0x4f3d14(0x204)](_0x345e2c){const _0x1d43fc=_0x4f3d14;var _0x467c83;if(!_0x345e2c)return null;let _0x14d1e6=_0x1bae0a(_0x345e2c['oKey']);if(!_0x14d1e6)return null;let _0x1fca2d=this[_0x1d43fc(0x1a3)][_0x1d43fc(0x310)](),_0x5555e2=((_0x467c83=_0x1fca2d[_0x1d43fc(0x3ac)])==null?void 0x0:_0x467c83[_0x1d43fc(0x291)])===_0x14d1e6['unitId']?_0x1fca2d[_0x1d43fc(0x3ac)]['subUnitId']:void 0x0;if(!_0x5555e2)return null;let _0x18d1d0=this[_0x1d43fc(0x3dd)][_0x1d43fc(0x40e)](_0x14d1e6[_0x1d43fc(0x291)],_0x5555e2,_0x14d1e6[_0x1d43fc(0x3e9)]);return _0x18d1d0?{'object':_0x345e2c,'elementData':_0x18d1d0}:null;}};ur=J([q(0x1,_0x132a38(_0x5a2be5)),q(0x2,_0x132a38(_0x5c495f)),q(0x3,_0x132a38(_0x16fdab)),q(0x4,_0x132a38(_0x2d7b12)),q(0x5,_0x132a38(_0x28dc04))],ur);const dr=_0x4f3d14(0x22c),fr=_0x2019f6[_0x4f3d14(0x354)];function pr(_0x2813f6,_0x322b4a){const _0x49ec1f=_0x4f3d14;return(_0x2813f6??[])[_0x49ec1f(0x23d)]((_0x3dcf70,_0x4ece0f)=>(_0x3dcf70[_0x4ece0f['side']??_0x322b4a]['push'](_0x4ece0f),_0x3dcf70),{'left':[],'right':[],'top':[],'bottom':[]});}function mr(_0x3d8bb7){const _0x4c8810=_0x4f3d14;return _0x3d8bb7==='tree-left'||_0x3d8bb7===_0x4c8810(0x378)||_0x3d8bb7==='tree-alternate';}function hr(_0x50fb41){const _0x4d1d95=_0x4f3d14;return _0x50fb41===_0x4d1d95(0x243)||_0x50fb41===_0x4d1d95(0x481);}function gr(_0x18598c,_0x87774f,_0x2227ee){const _0x1153cd=_0x4f3d14;return _0x2227ee===_0x1153cd(0x195)?_0x1153cd(0x445):_0x2227ee===_0x1153cd(0x378)?_0x1153cd(0x289):_0x18598c[_0x1153cd(0x350)]===_0x1153cd(0x445)||_0x18598c[_0x1153cd(0x350)]===_0x1153cd(0x289)?_0x18598c['side']:_0x87774f%0x2==0x0?_0x1153cd(0x445):_0x1153cd(0x289);}function _r(_0x35eb1d,_0x5c6522){const _0x3728c5=_0x4f3d14;return(_0x5c6522==null?void 0x0:_0x5c6522['root'][_0x3728c5(0x28f)])??_0x35eb1d??[];}var vr=class extends _0x1f694c{constructor(_0x40fef1=dr,_0x4759ea){const _0xf9d355=_0x4f3d14;super(_0x40fef1),K(this,_0xf9d355(0x2e0),{'point':null,'children':[]}),this['evented']=!0x1,this[_0xf9d355(0x23c)]=_0x65c3c8['transientPreview'],this[_0xf9d355(0x2e5)](_0x4759ea);}[_0x4f3d14(0x2e5)](_0x54a043){const _0x1f436b=_0x4f3d14;this['_state']={...this[_0x1f436b(0x2e0)],..._0x54a043},this[_0x1f436b(0x2e0)][_0x1f436b(0x31b)]?this[_0x1f436b(0x2bf)]():this[_0x1f436b(0x4a4)](),this[_0x1f436b(0x32c)](!0x0);}[_0x4f3d14(0x397)](_0x16b5d8){return!0x1;}['render'](_0x118f0f,_0x21c267){const _0x1c2569=_0x4f3d14;let _0x39a274=this[_0x1c2569(0x2e0)][_0x1c2569(0x31b)];if(!_0x39a274||!this['visible'])return this[_0x1c2569(0x32c)](!0x1),this;let _0x1db0c8=Number[_0x1c2569(0x490)](this[_0x1c2569(0x2e0)][_0x1c2569(0x1e9)])&&(this[_0x1c2569(0x2e0)][_0x1c2569(0x1e9)]??0x0)>0x0?this[_0x1c2569(0x2e0)][_0x1c2569(0x1e9)]:0x1,_0x5d6689=_0x5ad525[_0x1c2569(0x1d4)],_0x5b72a0=_0x5ad525[_0x1c2569(0x499)],_0xe54512=_0x5ad525[_0x1c2569(0x3b8)],_0x34431e=_0x5ad525[_0x1c2569(0x1fa)],_0x48c683=_0x1fa9e8['horizontalGap'],_0x3b2a71=_0x1fa9e8[_0x1c2569(0x2b6)],_0x46c778=this[_0x1c2569(0x2e0)][_0x1c2569(0x35e)]===_0x1c2569(0x1f9),_0x126b92=pr(this[_0x1c2569(0x2e0)][_0x1c2569(0x28f)],_0x46c778?_0x1c2569(0x449):_0x1c2569(0x289)),_0x54efd7=_0x39a274['x']-_0x5d6689/0x2,_0x26aabc=_0x39a274['y']-_0x5b72a0/0x2;if(_0x118f0f[_0x1c2569(0x3de)](),_0x118f0f[_0x1c2569(0x26c)]=X[_0x1c2569(0x43d)],_0x118f0f[_0x1c2569(0x37c)]=X['lineWidthScreen']/_0x1db0c8,_0x118f0f['strokeStyle']=X['primaryColor'],hr(this[_0x1c2569(0x2e0)][_0x1c2569(0x35e)])){let _0x4f1f93=_r(this[_0x1c2569(0x2e0)]['children'],this['_state'][_0x1c2569(0x36c)]),_0x2b3a4c=this['_state']['structureKind']===_0x1c2569(0x243);if(_0x4f1f93[_0x1c2569(0x452)]>0x0){if(_0x118f0f[_0x1c2569(0x2de)](),_0x2b3a4c){let _0x5e8d00=_0xe54512,_0x444c96=_0x34431e,_0x3a9e22=_0x1fa9e8[_0x1c2569(0x359)],_0x242223=_0x39a274['y'],_0x304d79=_0x54efd7+_0x5d6689,_0x1f0723=_0x39a274['y']-_0x444c96/0x2,_0x450303=_0x54efd7+_0x5d6689+_0x3a9e22;_0x118f0f['moveTo'](_0x304d79,_0x242223),_0x118f0f[_0x1c2569(0x28d)](_0x450303,_0x242223),_0x4f1f93[_0x1c2569(0x2d1)]((_0x55eb7e,_0x1a46d2)=>{const _0x165367=_0x1c2569;let _0x10b9b7=_0x450303+_0x1a46d2*(_0x5e8d00+_0x3a9e22);if(_0x1a46d2>0x0){let _0x1366a0=_0x450303+(_0x1a46d2-0x1)*(_0x5e8d00+_0x3a9e22)+_0x5e8d00;_0x118f0f['moveTo'](_0x1366a0,_0x242223),_0x118f0f[_0x165367(0x28d)](_0x10b9b7,_0x242223);}_0x118f0f['moveTo'](_0x10b9b7,_0x242223),_0x118f0f['lineTo'](_0x10b9b7+_0x5e8d00,_0x242223);}),_0x118f0f[_0x1c2569(0x267)](),_0x4f1f93[_0x1c2569(0x2d1)]((_0x255333,_0x579dbd)=>{const _0x3ec74d=_0x1c2569;Z(_0x118f0f,_0x450303+_0x579dbd*(_0x5e8d00+_0x3a9e22),_0x1f0723,_0x5e8d00,_0x444c96,X['ghostRadius']),_0x118f0f[_0x3ec74d(0x3ef)]=X[_0x3ec74d(0x2bd)],_0x118f0f[_0x3ec74d(0x222)](),_0x118f0f[_0x3ec74d(0x267)]();}),_0x4f1f93[_0x1c2569(0x2d1)]((_0x36f33e,_0x35785c)=>{const _0x1fab85=_0x1c2569;if(!(_0x1fab85(0x28f)in _0x36f33e)||_0x36f33e[_0x1fab85(0x28f)][_0x1fab85(0x452)]===0x0)return;let _0x5ed5ad=_0x450303+_0x35785c*(_0x5e8d00+_0x3a9e22),_0x2a82ac=_0x5ed5ad+_0x5e8d00/0x2,_0x3fac0f=_0x36f33e['side']===_0x1fab85(0x449)?_0x1fab85(0x449):_0x1fab85(0x2e1),_0x1c4880=_0x36f33e[_0x1fab85(0x28f)]['slice'](0x0,0x2),_0x91dc3c=_0x1c4880[_0x1fab85(0x452)]*_0x444c96+Math[_0x1fab85(0x31c)](0x0,_0x1c4880[_0x1fab85(0x452)]-0x1)*_0x3b2a71,_0x72fed1=_0x5ed5ad+_0x5e8d00+_0x1fa9e8[_0x1fab85(0x2e6)],_0x31ef83=_0x3fac0f===_0x1fab85(0x2e1)?_0x1f0723-_0x48c683-_0x91dc3c:_0x1f0723+_0x444c96+_0x48c683,_0x1aad10=_0x31ef83+_0x91dc3c/0x2;_0x118f0f['beginPath'](),_0x118f0f[_0x1fab85(0x2a2)](_0x2a82ac,_0x3fac0f===_0x1fab85(0x2e1)?_0x1f0723:_0x1f0723+_0x444c96),_0x118f0f[_0x1fab85(0x28d)](_0x2a82ac,_0x1aad10),_0x118f0f[_0x1fab85(0x28d)](_0x72fed1,_0x1aad10),_0x1c4880[_0x1fab85(0x2d1)]((_0x12372a,_0x2286a6)=>{const _0xa61ff5=_0x1fab85;let _0xc5f3e7=_0x31ef83+_0x2286a6*(_0x444c96+_0x3b2a71)+_0x444c96/0x2;_0x118f0f[_0xa61ff5(0x2a2)](_0x72fed1,_0xc5f3e7),_0x118f0f['lineTo'](_0x72fed1+_0x5e8d00,_0xc5f3e7);}),_0x118f0f[_0x1fab85(0x267)](),_0x1c4880[_0x1fab85(0x2d1)]((_0x1eafa1,_0x3bbe80)=>{const _0x213610=_0x1fab85;let _0x41432e=_0x31ef83+_0x3bbe80*(_0x444c96+_0x3b2a71);Z(_0x118f0f,_0x72fed1,_0x41432e,_0x5e8d00,_0x444c96,X[_0x213610(0x307)]),_0x118f0f[_0x213610(0x3ef)]=X[_0x213610(0x2bd)],_0x118f0f[_0x213610(0x222)](),_0x118f0f[_0x213610(0x267)]();});});}else{let _0x5346f0=_0x39a274['x'],_0x5a2121=_0x26aabc+_0x5b72a0,_0x3d5e0e=_0x1fa9e8[_0x1c2569(0x359)],_0x5535d7=_0x26aabc+_0x5b72a0+_0x3d5e0e,_0x5bce05=_0x5535d7+(_0x4f1f93[_0x1c2569(0x452)]-0x1)*(_0x34431e+_0x3d5e0e)+_0x34431e/0x2;_0x118f0f['moveTo'](_0x5346f0,_0x5a2121),_0x118f0f[_0x1c2569(0x28d)](_0x5346f0,_0x5bce05),_0x4f1f93[_0x1c2569(0x2d1)]((_0x4b885e,_0x5a217d)=>{const _0x350246=_0x1c2569;let _0xd03162=_0x5535d7+_0x5a217d*(_0x34431e+_0x3d5e0e)+_0x34431e/0x2,_0x4ca3e8=_0x4b885e[_0x350246(0x350)]===_0x350246(0x289)?_0x350246(0x289):_0x350246(0x445),_0x3a8513=_0x4ca3e8===_0x350246(0x289)?_0x5346f0+_0x1fa9e8[_0x350246(0x2e6)]:_0x5346f0-_0x1fa9e8['branchGap']-_0xe54512,_0x350770=_0x4ca3e8===_0x350246(0x289)?_0x3a8513:_0x3a8513+_0xe54512;_0x118f0f[_0x350246(0x2a2)](_0x5346f0,_0xd03162),_0x118f0f['lineTo'](_0x350770,_0xd03162);}),_0x118f0f[_0x1c2569(0x267)](),_0x4f1f93[_0x1c2569(0x2d1)]((_0x217208,_0x2ee050)=>{const _0x238b87=_0x1c2569;let _0x539286=_0x5535d7+_0x2ee050*(_0x34431e+_0x3d5e0e);Z(_0x118f0f,(_0x217208[_0x238b87(0x350)]==='right'?_0x238b87(0x289):_0x238b87(0x445))==_0x238b87(0x289)?_0x5346f0+_0x1fa9e8[_0x238b87(0x2e6)]:_0x5346f0-_0x1fa9e8[_0x238b87(0x2e6)]-_0xe54512,_0x539286,_0xe54512,_0x34431e,X[_0x238b87(0x307)]),_0x118f0f[_0x238b87(0x3ef)]=X[_0x238b87(0x2bd)],_0x118f0f[_0x238b87(0x222)](),_0x118f0f[_0x238b87(0x267)]();}),_0x4f1f93[_0x1c2569(0x2d1)]((_0x248402,_0xd58d89)=>{const _0x523f2=_0x1c2569;if(!(_0x523f2(0x28f)in _0x248402)||_0x248402['children'][_0x523f2(0x452)]===0x0)return;let _0x4704c1=_0x5535d7+_0xd58d89*(_0x34431e+_0x3d5e0e)+_0x34431e/0x2,_0x4a4345=_0x248402[_0x523f2(0x350)]===_0x523f2(0x289)?_0x523f2(0x289):'left',_0x96ed65=_0x248402[_0x523f2(0x28f)][_0x523f2(0x2eb)](0x0,0x2),_0x4339ee=_0x96ed65[_0x523f2(0x452)]*_0x34431e+Math[_0x523f2(0x31c)](0x0,_0x96ed65[_0x523f2(0x452)]-0x1)*_0x3b2a71,_0x358fec=_0x4a4345===_0x523f2(0x289)?_0x5346f0+_0x1fa9e8[_0x523f2(0x2e6)]:_0x5346f0-_0x1fa9e8[_0x523f2(0x2e6)]-_0xe54512,_0x33e82d=_0x4a4345===_0x523f2(0x289)?_0x358fec+_0xe54512+_0x48c683:_0x358fec-_0x48c683-_0xe54512,_0x17386d=_0x4704c1-_0x4339ee/0x2,_0xacfeaf=_0x4a4345===_0x523f2(0x289)?_0x358fec+_0xe54512:_0x358fec,_0x2f8d89=_0x4a4345===_0x523f2(0x289)?_0x33e82d:_0x33e82d+_0xe54512;_0x118f0f[_0x523f2(0x2de)](),_0x118f0f[_0x523f2(0x2a2)](_0xacfeaf,_0x4704c1),_0x118f0f[_0x523f2(0x28d)](_0x2f8d89,_0x4704c1),_0x96ed65[_0x523f2(0x2d1)]((_0x4bd995,_0x13d642)=>{const _0x316ec0=_0x523f2;let _0x9566cd=_0x17386d+_0x13d642*(_0x34431e+_0x3b2a71)+_0x34431e/0x2;_0x118f0f[_0x316ec0(0x2a2)](_0x2f8d89,_0x9566cd),_0x118f0f[_0x316ec0(0x28d)](_0x4a4345===_0x316ec0(0x289)?_0x33e82d+_0xe54512:_0x33e82d,_0x9566cd);}),_0x118f0f[_0x523f2(0x267)](),_0x96ed65['forEach']((_0x31f653,_0x26ad45)=>{const _0x1f7655=_0x523f2;let _0x3a0970=_0x17386d+_0x26ad45*(_0x34431e+_0x3b2a71);Z(_0x118f0f,_0x33e82d,_0x3a0970,_0xe54512,_0x34431e,X[_0x1f7655(0x307)]),_0x118f0f[_0x1f7655(0x3ef)]=X[_0x1f7655(0x2bd)],_0x118f0f[_0x1f7655(0x222)](),_0x118f0f[_0x1f7655(0x267)]();});});}}}else{if(mr(this['_state'][_0x1c2569(0x35e)])){let _0x53e090=this[_0x1c2569(0x2e0)][_0x1c2569(0x28f)]??[],_0x505ab8=_0x26aabc+_0x5b72a0,_0x31bd22=_0x505ab8+_0x48c683,_0x574863=_0x39a274['x'];if(_0x53e090[_0x1c2569(0x452)]>0x0){let _0x1cb715=_0x31bd22+(_0x53e090[_0x1c2569(0x452)]-0x1)*(_0x34431e+_0x3b2a71)+_0x34431e/0x2;_0x118f0f[_0x1c2569(0x2de)](),_0x118f0f[_0x1c2569(0x2a2)](_0x574863,_0x505ab8),_0x118f0f[_0x1c2569(0x28d)](_0x574863,_0x1cb715),_0x53e090[_0x1c2569(0x2d1)]((_0x57633c,_0x1d89f4)=>{const _0x3dc150=_0x1c2569;let _0x3c58a6=gr(_0x57633c,_0x1d89f4,this[_0x3dc150(0x2e0)]['structureKind']),_0x1bb80f=_0x31bd22+_0x1d89f4*(_0x34431e+_0x3b2a71),_0x314104=_0x3c58a6==='right'?_0x574863+_0x48c683:_0x574863-_0x48c683-_0xe54512,_0x2fda5f=_0x1bb80f+_0x34431e/0x2;_0x118f0f['moveTo'](_0x574863,_0x2fda5f),_0x118f0f[_0x3dc150(0x28d)](_0x3c58a6===_0x3dc150(0x289)?_0x314104:_0x314104+_0xe54512,_0x2fda5f);}),_0x118f0f[_0x1c2569(0x267)](),_0x53e090['forEach']((_0x255429,_0x5cf4db)=>{const _0xc9d0d1=_0x1c2569;let _0x30f8e4=gr(_0x255429,_0x5cf4db,this['_state'][_0xc9d0d1(0x35e)]),_0x1d8045=_0x31bd22+_0x5cf4db*(_0x34431e+_0x3b2a71);Z(_0x118f0f,_0x30f8e4===_0xc9d0d1(0x289)?_0x574863+_0x48c683:_0x574863-_0x48c683-_0xe54512,_0x1d8045,_0xe54512,_0x34431e,X[_0xc9d0d1(0x307)]),_0x118f0f[_0xc9d0d1(0x3ef)]=X[_0xc9d0d1(0x2bd)],_0x118f0f[_0xc9d0d1(0x222)](),_0x118f0f[_0xc9d0d1(0x267)]();});}}else _0x46c778&&[_0x1c2569(0x2e1),'bottom']['forEach'](_0xb84bde=>{const _0x2c8c63=_0x1c2569;let _0x263fc1=_0x126b92[_0xb84bde];if(_0x263fc1[_0x2c8c63(0x452)]===0x0)return;let _0x3c5594=_0x263fc1[_0x2c8c63(0x452)]*_0xe54512+Math[_0x2c8c63(0x31c)](0x0,_0x263fc1['length']-0x1)*_0x3b2a71,_0x44a41f=_0x39a274['x']-_0x3c5594/0x2,_0x5d5ca7=_0xb84bde==='bottom'?_0x26aabc+_0x5b72a0:_0x26aabc,_0x24b22b=_0xb84bde===_0x2c8c63(0x449)?_0x5d5ca7+_0x1fa9e8[_0x2c8c63(0x2e6)]:_0x5d5ca7-_0x1fa9e8[_0x2c8c63(0x2e6)],_0xdff226=_0xb84bde===_0x2c8c63(0x449)?_0x26aabc+_0x5b72a0+_0x48c683:_0x26aabc-_0x48c683-_0x34431e;_0x118f0f['beginPath'](),_0x118f0f[_0x2c8c63(0x2a2)](_0x39a274['x'],_0x5d5ca7),_0x118f0f['lineTo'](_0x39a274['x'],_0x24b22b),_0x263fc1[_0x2c8c63(0x452)]>0x1&&(_0x118f0f['moveTo'](_0x44a41f+_0xe54512/0x2,_0x24b22b),_0x118f0f['lineTo'](_0x44a41f+_0x3c5594-_0xe54512/0x2,_0x24b22b)),_0x263fc1['forEach']((_0x237ab6,_0x3300cf)=>{const _0x4709ba=_0x2c8c63;let _0x48f570=_0x44a41f+_0x3300cf*(_0xe54512+_0x3b2a71)+_0xe54512/0x2;_0x118f0f[_0x4709ba(0x2a2)](_0x48f570,_0x24b22b),_0x118f0f[_0x4709ba(0x28d)](_0x48f570,_0xb84bde===_0x4709ba(0x449)?_0xdff226:_0xdff226+_0x34431e);}),_0x118f0f[_0x2c8c63(0x267)](),_0x263fc1[_0x2c8c63(0x2d1)]((_0x51a64d,_0x457d49)=>{const _0x3f1151=_0x2c8c63;Z(_0x118f0f,_0x44a41f+_0x457d49*(_0xe54512+_0x3b2a71),_0xdff226,_0xe54512,_0x34431e,X[_0x3f1151(0x307)]),_0x118f0f['fillStyle']=X[_0x3f1151(0x2bd)],_0x118f0f[_0x3f1151(0x222)](),_0x118f0f[_0x3f1151(0x267)]();});});}(_0x46c778||mr(this[_0x1c2569(0x2e0)][_0x1c2569(0x35e)])||hr(this[_0x1c2569(0x2e0)][_0x1c2569(0x35e)])?[]:[_0x1c2569(0x445),_0x1c2569(0x289)])[_0x1c2569(0x2d1)](_0x320495=>{const _0x92c0b1=_0x1c2569;let _0x30336f=_0x126b92[_0x320495];if(_0x30336f[_0x92c0b1(0x452)]===0x0)return;let _0x1ecd76=_0x30336f[_0x92c0b1(0x452)]*_0x34431e+Math[_0x92c0b1(0x31c)](0x0,_0x30336f[_0x92c0b1(0x452)]-0x1)*_0x3b2a71,_0x4c1464=_0x39a274['y']-_0x1ecd76/0x2,_0x402551=_0x320495===_0x92c0b1(0x289)?_0x54efd7+_0x5d6689:_0x54efd7,_0x1692f4=_0x320495==='right'?_0x402551+_0x1fa9e8[_0x92c0b1(0x2e6)]:_0x402551-_0x1fa9e8[_0x92c0b1(0x2e6)],_0x3fdeda=_0x320495===_0x92c0b1(0x289)?_0x54efd7+_0x5d6689+_0x48c683:_0x54efd7-_0x48c683-_0xe54512;_0x118f0f['beginPath'](),_0x118f0f['moveTo'](_0x402551,_0x39a274['y']),_0x118f0f[_0x92c0b1(0x28d)](_0x1692f4,_0x39a274['y']),_0x30336f['length']>0x1&&(_0x118f0f[_0x92c0b1(0x2a2)](_0x1692f4,_0x4c1464+_0x34431e/0x2),_0x118f0f[_0x92c0b1(0x28d)](_0x1692f4,_0x4c1464+_0x1ecd76-_0x34431e/0x2)),_0x30336f[_0x92c0b1(0x2d1)]((_0x2faa2c,_0x27fad8)=>{const _0x3e7e55=_0x92c0b1;let _0x1eff84=_0x4c1464+_0x27fad8*(_0x34431e+_0x3b2a71)+_0x34431e/0x2;_0x118f0f['moveTo'](_0x1692f4,_0x1eff84),_0x118f0f[_0x3e7e55(0x28d)](_0x320495==='right'?_0x3fdeda:_0x3fdeda+_0xe54512,_0x1eff84);}),_0x118f0f['stroke'](),_0x30336f[_0x92c0b1(0x2d1)]((_0x22ff80,_0x4540e2)=>{const _0x295259=_0x92c0b1;let _0x2d7db9=_0x4c1464+_0x4540e2*(_0x34431e+_0x3b2a71);Z(_0x118f0f,_0x3fdeda,_0x2d7db9,_0xe54512,_0x34431e,X[_0x295259(0x307)]),_0x118f0f['fillStyle']=X['ghostFillColor'],_0x118f0f[_0x295259(0x222)](),_0x118f0f['stroke']();});}),Z(_0x118f0f,_0x54efd7,_0x26aabc,_0x5d6689,_0x5b72a0,X[_0x1c2569(0x1ce)]),_0x118f0f[_0x1c2569(0x3ef)]=X[_0x1c2569(0x422)],_0x118f0f[_0x1c2569(0x222)](),_0x118f0f[_0x1c2569(0x267)](),_0x118f0f[_0x1c2569(0x3ef)]=X[_0x1c2569(0x3fc)],_0x118f0f[_0x1c2569(0x4ae)]=sn(X[_0x1c2569(0x304)],X[_0x1c2569(0x3cb)],_0x1db0c8),_0x118f0f[_0x1c2569(0x284)]=_0x1c2569(0x237),_0x118f0f[_0x1c2569(0x412)]=_0x1c2569(0x356);let _0x465b1f=X[_0x1c2569(0x3dc)]/_0x1db0c8;return _0x118f0f['fillText'](_0x251b5d,_0x39a274['x'],_0x39a274['y'],Math[_0x1c2569(0x31c)](0x1,_0x5d6689-_0x465b1f*0x2)),_0x118f0f[_0x1c2569(0x1a0)](),this[_0x1c2569(0x32c)](!0x1),this;}};const yr={'children':[{'text':_0x251b5d,'orderKey':_0x339fd4(0x0),'side':_0x4f3d14(0x289)},{'text':_0x251b5d,'orderKey':_0x339fd4(0x1),'side':_0x4f3d14(0x289)},{'text':_0x251b5d,'orderKey':_0x339fd4(0x2),'side':_0x4f3d14(0x289)}]};var br=class extends _0x4c4d8b{constructor(..._0x1752cf){const _0xbf3cfb=_0x4f3d14;super(..._0x1752cf),K(this,_0xbf3cfb(0x269),yr);}[_0x4f3d14(0x27b)](_0x34a2ec){const _0x221825=_0x4f3d14;var _0x26a42d;let _0x1d78cb=(_0x34a2ec==null?void 0x0:_0x34a2ec[_0x221825(0x28f)])??(_0x34a2ec==null||(_0x26a42d=_0x34a2ec[_0x221825(0x36c)])==null?void 0x0:_0x26a42d[_0x221825(0x1d6)][_0x221825(0x28f)]);this[_0x221825(0x269)]={'rootText':_0x34a2ec==null?void 0x0:_0x34a2ec['rootText'],'structureKind':_0x34a2ec==null?void 0x0:_0x34a2ec[_0x221825(0x35e)],'branchLineType':_0x34a2ec==null?void 0x0:_0x34a2ec[_0x221825(0x402)],'children':this[_0x221825(0x2e8)](_0x1d78cb,_0x34a2ec==null?void 0x0:_0x34a2ec[_0x221825(0x35e)]),'blueprint':_0x34a2ec!=null&&_0x34a2ec[_0x221825(0x36c)]?this[_0x221825(0x2ec)](_0x34a2ec[_0x221825(0x36c)]):void 0x0};}['getTemplate'](){const _0x2d1545=_0x4f3d14;var _0x230796;return{'rootText':this[_0x2d1545(0x269)][_0x2d1545(0x2cc)],'structureKind':this[_0x2d1545(0x269)]['structureKind'],'branchLineType':this['_template'][_0x2d1545(0x402)],'children':(_0x230796=this[_0x2d1545(0x269)][_0x2d1545(0x28f)])==null?void 0x0:_0x230796['map'](_0x5e8e55=>({..._0x5e8e55})),'blueprint':this[_0x2d1545(0x269)]['blueprint']?this['_cloneBlueprint'](this[_0x2d1545(0x269)]['blueprint']):void 0x0};}[_0x4f3d14(0x2ec)](_0x409890){const _0x25ec84=_0x4f3d14;return{'title':_0x409890['title'],'root':this[_0x25ec84(0x20e)](_0x409890[_0x25ec84(0x1d6)])};}['_cloneBlueprintNode'](_0x2fb389){const _0x26eaa8=_0x4f3d14;return{..._0x2fb389,'foreignAttributes':_0x2fb389[_0x26eaa8(0x2e9)]?{..._0x2fb389[_0x26eaa8(0x2e9)]}:void 0x0,'children':_0x2fb389['children'][_0x26eaa8(0x2c1)](_0x5f53d9=>this['_cloneBlueprintNode'](_0x5f53d9))};}[_0x4f3d14(0x2e8)](_0x40afe1,_0x5cef28){const _0x40d9f4=_0x4f3d14;let _0x4ecab8=!_0x40afe1,_0x16ee55=_0x40afe1??yr['children'];return _0x16ee55==null?void 0x0:_0x16ee55[_0x40d9f4(0x2c1)]((_0x250348,_0x3ae197)=>({..._0x250348,'text':_0x250348[_0x40d9f4(0x488)]??_0x251b5d,'side':this['_resolveChildSide'](_0x250348[_0x40d9f4(0x350)],_0x3ae197,_0x5cef28,_0x4ecab8)}));}[_0x4f3d14(0x1e4)](_0x27fc9d,_0x24f722,_0x10d8bd,_0x27a6d1){const _0x25a495=_0x4f3d14;return _0x10d8bd==='mindmap-vertical'?_0x27a6d1?_0x25a495(0x449):_0x27fc9d??'bottom':_0x10d8bd===_0x25a495(0x195)?_0x27a6d1?_0x25a495(0x445):_0x27fc9d??'left':_0x10d8bd===_0x25a495(0x378)?_0x27a6d1?_0x25a495(0x289):_0x27fc9d??_0x25a495(0x289):_0x10d8bd===_0x25a495(0x2f6)?_0x27a6d1?_0x24f722%0x2==0x0?_0x25a495(0x445):_0x25a495(0x289):_0x27fc9d??(_0x24f722%0x2==0x0?'left':_0x25a495(0x289)):_0x10d8bd===_0x25a495(0x243)?_0x27a6d1?_0x24f722%0x2==0x0?_0x25a495(0x2e1):_0x25a495(0x449):_0x27fc9d??(_0x24f722%0x2==0x0?_0x25a495(0x2e1):_0x25a495(0x449)):_0x10d8bd==='timeline-vertical'?_0x27a6d1?_0x24f722%0x2==0x0?_0x25a495(0x445):_0x25a495(0x289):_0x27fc9d??(_0x24f722%0x2==0x0?'left':_0x25a495(0x289)):_0x27fc9d;}};function xr(_0x14cd6b,_0x6981bd){const _0x3d33c7=_0x4f3d14;let _0x30779e=Number[_0x3d33c7(0x490)](_0x6981bd['zoomRatio'])&&_0x6981bd[_0x3d33c7(0x1e9)]>0x0?_0x6981bd[_0x3d33c7(0x1e9)]:0x1;return{'x':Math['round']((_0x14cd6b['offsetX']-_0x6981bd[_0x3d33c7(0x33c)]['x'])/_0x30779e),'y':Math[_0x3d33c7(0x28e)]((_0x14cd6b[_0x3d33c7(0x2a5)]-_0x6981bd[_0x3d33c7(0x33c)]['y'])/_0x30779e)};}function Sr(_0x206d65){const _0x4f241a=_0x4f3d14;var _0x204f52;_0x206d65!=null&&_0x206d65[_0x4f241a(0x45e)]?_0x206d65['dispose']():_0x206d65==null||(_0x204f52=_0x206d65[_0x4f241a(0x31a)])==null||_0x204f52[_0x4f241a(0x2a4)](_0x206d65);}function Cr(_0x3c89b4){const _0x43f83e=_0x4f3d14;var _0x1b35e9;return _0x3c89b4[_0x43f83e(0x25a)]===_0x2f25e2[_0x43f83e(0x3fb)]&&((_0x1b35e9=_0x3c89b4[_0x43f83e(0x3e4)])==null?void 0x0:_0x1b35e9[_0x43f83e(0x3b5)])===_0x2f25e2[_0x43f83e(0x3fb)];}let wr=class extends _0x41f8e5{constructor(_0xe5766d,_0x1ed093,_0x26c693,_0x44e323,_0x1805ad,_0x5a06c2,_0x5cd113){const _0x2fce75=_0x4f3d14;super(),this[_0x2fce75(0x414)]=_0xe5766d,this[_0x2fce75(0x2fd)]=_0x1ed093,this[_0x2fce75(0x407)]=_0x26c693,this[_0x2fce75(0x32f)]=_0x44e323,this[_0x2fce75(0x230)]=_0x1805ad,this[_0x2fce75(0x1a3)]=_0x5a06c2,this[_0x2fce75(0x28b)]=_0x5cd113,K(this,_0x2fce75(0x2f0),null),K(this,_0x2fce75(0x19b),null),this['_init']();}[_0x4f3d14(0x45b)](){const _0x27ec1d=_0x4f3d14;var _0x1c4d35;let {scene:_0x3a8471,unitId:_0x2cd0a3}=this['_renderContext'],_0x43f947=this[_0x27ec1d(0x2fd)][_0x27ec1d(0x236)](_0x2cd0a3,_0x8b4a1a['UNIVER_BOARD']);if(!_0x43f947)return;let _0x401074=(_0x1c4d35=_0x3a8471['onPointerMove$'])==null?void 0x0:_0x1c4d35[_0x27ec1d(0x474)]({'priority':0x4,'next':([_0x3bfc23,_0x2562f3])=>this[_0x27ec1d(0x33d)](_0x3bfc23,_0x2562f3)}),_0x567ed2=_0x3a8471[_0x27ec1d(0x210)]['subscribeEvent']({'priority':0x4,'next':([_0x58292c,_0x4e48b1])=>this[_0x27ec1d(0x3b2)](_0x43f947,_0x58292c,_0x4e48b1)});this[_0x27ec1d(0x44d)](_0x122c68(()=>Sr(_0x401074))),this['disposeWithMe'](_0x122c68(()=>Sr(_0x567ed2)));let _0x5d1a3d=this['_stateService'][_0x27ec1d(0x475)]['subscribe'](()=>this['_syncPreviewObject']());this[_0x27ec1d(0x44d)](_0x122c68(()=>Sr(_0x5d1a3d))),this[_0x27ec1d(0x44d)](_0x122c68(()=>{const _0x276956=_0x27ec1d;this[_0x276956(0x2bb)]();})),this[_0x27ec1d(0x29a)]();}[_0x4f3d14(0x29a)](){const _0x45c8cd=_0x4f3d14;var _0x56ec6b,_0x484e79;let _0x10449f=this[_0x45c8cd(0x407)][_0x45c8cd(0x25b)]();if(!Cr(_0x10449f)){this[_0x45c8cd(0x2bb)]();return;}let _0x287a24=this[_0x45c8cd(0x2aa)](),_0x8e3160=this[_0x45c8cd(0x230)][_0x45c8cd(0x40f)]();_0x287a24[_0x45c8cd(0x2e5)]({'point':this[_0x45c8cd(0x19b)],'structureKind':_0x8e3160[_0x45c8cd(0x35e)],'children':_0x8e3160[_0x45c8cd(0x28f)],'blueprint':_0x8e3160['blueprint'],'zoomRatio':_0x10449f[_0x45c8cd(0x1e9)]}),(_0x56ec6b=(_0x484e79=this['_renderContext'][_0x45c8cd(0x48b)])[_0x45c8cd(0x32c)])==null||_0x56ec6b[_0x45c8cd(0x2a4)](_0x484e79,!0x0);}[_0x4f3d14(0x2aa)](){const _0x34dcb3=_0x4f3d14;var _0x283c22,_0x57364a;if(this[_0x34dcb3(0x2f0)])return this['_previewObject'];let _0x36de05=this['_insertStateService'][_0x34dcb3(0x40f)](),_0x3a7244=new vr(dr,{'point':this[_0x34dcb3(0x19b)],'structureKind':_0x36de05[_0x34dcb3(0x35e)],'children':_0x36de05[_0x34dcb3(0x28f)],'blueprint':_0x36de05[_0x34dcb3(0x36c)],'zoomRatio':this['_stateService'][_0x34dcb3(0x25b)]()['zoomRatio']});return this[_0x34dcb3(0x2f0)]=_0x3a7244,(_0x283c22=(_0x57364a=this[_0x34dcb3(0x414)][_0x34dcb3(0x48b)])[_0x34dcb3(0x2c3)])==null||_0x283c22[_0x34dcb3(0x2a4)](_0x57364a,_0x3a7244,fr),_0x3a7244;}[_0x4f3d14(0x2bb)](){const _0x3dd4e6=_0x4f3d14;var _0x400948,_0x517830,_0x71ac26,_0x5bd62a;this[_0x3dd4e6(0x2f0)]?((_0x400948=(_0x517830=this[_0x3dd4e6(0x414)][_0x3dd4e6(0x48b)])[_0x3dd4e6(0x341)])==null||_0x400948[_0x3dd4e6(0x2a4)](_0x517830,[this['_previewObject']]),this[_0x3dd4e6(0x2f0)]=null,this[_0x3dd4e6(0x19b)]=null,(_0x71ac26=(_0x5bd62a=this[_0x3dd4e6(0x414)][_0x3dd4e6(0x48b)])[_0x3dd4e6(0x32c)])==null||_0x71ac26['call'](_0x5bd62a,!0x0)):this[_0x3dd4e6(0x19b)]=null;}['_getPointFromEvent'](_0x42b16f){const _0xf5327f=_0x4f3d14;let _0xdd95ed=this[_0xf5327f(0x407)]['getState']();return xr(_0x42b16f,{'panOffset':_0xdd95ed[_0xf5327f(0x36e)],'zoomRatio':_0xdd95ed[_0xf5327f(0x1e9)]});}[_0x4f3d14(0x1ae)](_0x3c8d89){const _0x1200e1=_0x4f3d14;return{'left':Math[_0x1200e1(0x28e)](_0x3c8d89['x']-_0x5ad525['rootWidth']/0x2),'top':Math[_0x1200e1(0x28e)](_0x3c8d89['y']-_0x5ad525[_0x1200e1(0x499)]/0x2)};}['_handlePointerMove'](_0x2345dc,_0x5b7e5e){const _0x3f203a=_0x4f3d14;Cr(this[_0x3f203a(0x407)][_0x3f203a(0x25b)]())&&(this[_0x3f203a(0x19b)]=this['_getPointFromEvent'](_0x2345dc),this[_0x3f203a(0x29a)](),_0x5b7e5e[_0x3f203a(0x1de)]());}async[_0x4f3d14(0x3b2)](_0x3b8443,_0x2fb9da,_0x29f89c){const _0x4bd40b=_0x4f3d14;let _0x5aaeda=await this[_0x4bd40b(0x1fc)](_0x3b8443,_0x2fb9da,_0x29f89c);if(!_0x5aaeda)return;let _0x5631f4={'unitId':this[_0x4bd40b(0x414)][_0x4bd40b(0x291)],'subUnitId':_0x5aaeda[_0x4bd40b(0x20a)]};this[_0x4bd40b(0x28b)][_0x4bd40b(0x26a)](),this[_0x4bd40b(0x28b)]['setEditing']({..._0x5631f4,'shapeId':_0x5aaeda[_0x4bd40b(0x380)],'shapeKey':_0x55b3e2(_0x5631f4[_0x4bd40b(0x291)],_0x5aaeda[_0x4bd40b(0x380)]),'visible':!0x0});}async[_0x4f3d14(0x1fc)](_0x51bba6,_0x134d18,_0x490de9){const _0x5a8331=_0x4f3d14;var _0x1b682d;let _0xde1ca6=this[_0x5a8331(0x407)]['getState'](),_0x4cf7d5=_0x134d18[_0x5a8331(0x26f)]??0x0;if(!Cr(_0xde1ca6)||_0x4cf7d5!==0x0)return null;let _0x1bd8ee=this[_0x5a8331(0x2c4)](_0x134d18),_0x5d5e65=this[_0x5a8331(0x1ae)](_0x1bd8ee),_0x2e9866=this[_0x5a8331(0x230)][_0x5a8331(0x40f)](),_0x226af7=_0x21938d(0x6),_0x398d5d=_0x51bba6['getActivePageId'](),_0x27aa8c=this[_0x5a8331(0x32f)]['executeCommand'](_0x243dd0['id'],{'unitId':this[_0x5a8331(0x414)][_0x5a8331(0x291)],'subUnitId':_0x398d5d,'left':_0x5d5e65['left'],'top':_0x5d5e65[_0x5a8331(0x2e1)],'rootNodeId':_0x226af7,'rootText':_0x2e9866['rootText'],'structureKind':_0x2e9866['structureKind'],'branchLineType':_0x2e9866['branchLineType'],'children':_0x2e9866['children'],'blueprint':_0x2e9866[_0x5a8331(0x36c)]});if(this[_0x5a8331(0x407)][_0x5a8331(0x3cf)](_0x2f25e2['Select']),_0x490de9[_0x5a8331(0x1de)](),(_0x1b682d=_0x134d18[_0x5a8331(0x213)])==null||_0x1b682d['call'](_0x134d18),!await _0x27aa8c||this[_0x5a8331(0x46f)])return null;let _0x79897c={'unitId':this[_0x5a8331(0x414)][_0x5a8331(0x291)],'subUnitId':_0x398d5d};return this[_0x5a8331(0x1a3)]['selectElements'](_0x79897c,[_0x226af7],_0x226af7),{'rootNodeId':_0x226af7,'subUnitId':_0x398d5d};}};wr=J([q(0x1,_0x253a65),q(0x2,_0x31b38d),q(0x3,_0x27d0fe),q(0x4,_0x132a38(br)),q(0x5,_0x16fdab),q(0x6,_0x132a38(_0x2d7b12))],wr);var Tr=class extends _0x4c4d8b{constructor(..._0x14f692){const _0x152156=_0x4f3d14;super(..._0x14f692),K(this,_0x152156(0x280),new _0x10bbaf()),K(this,_0x152156(0x403),this[_0x152156(0x280)][_0x152156(0x226)]());}[_0x4f3d14(0x3da)](_0x458898){const _0x304ee2=_0x4f3d14;this['_refresh$'][_0x304ee2(0x456)](_0x458898);}[_0x4f3d14(0x45e)](){const _0xd20201=_0x4f3d14;this[_0xd20201(0x280)][_0xd20201(0x319)](),super[_0xd20201(0x45e)]();}};function Er(_0x5bf018){const _0x1db762=_0x4f3d14;return typeof _0x5bf018==_0x1db762(0x3ba)&&Number['isFinite'](_0x5bf018)&&_0x5bf018>0x0;}function Dr(_0x2eae98,_0x33b76d,_0x493020){const _0x470b11=_0x4f3d14;let _0x51444b=_0x2eae98[_0x33b76d],_0x35ffe1=_0x5585ba(_0x51444b==null?void 0x0:_0x51444b[_0x470b11(0x1ca)]);if(!_0x51444b||!_0x35ffe1)return null;let _0x412316=_0x26ff7e(_0x51444b,_0x493020);if(!_0x412316)return null;let _0x2b12c2=_0x51444b['transform']??_0x51444b['element'][_0x470b11(0x330)],_0x1dc175={..._0x2eae98,[_0x33b76d]:{..._0x51444b,'transform':{..._0x2b12c2,'width':_0x412316[_0x470b11(0x48c)],'height':_0x412316[_0x470b11(0x36d)]},'element':{..._0x51444b[_0x470b11(0x1ca)],'transform':{..._0x51444b[_0x470b11(0x1ca)][_0x470b11(0x330)],'width':_0x412316[_0x470b11(0x48c)],'height':_0x412316[_0x470b11(0x36d)]}}}};return _0x4c0113(_0x1dc175,_0x35ffe1[_0x470b11(0x2ea)]);}let Or=class extends _0x41f8e5{constructor(_0xa4cd41,_0x228e62,_0xa3b9a6,_0x197f05,_0x63613e,_0x22b258){const _0xc8a26c=_0x4f3d14;super(),this['_renderContext']=_0xa4cd41,this[_0xc8a26c(0x338)]=_0x228e62,this[_0xc8a26c(0x3dd)]=_0xa3b9a6,this[_0xc8a26c(0x2d9)]=_0x197f05,this['_previewRefreshService']=_0x63613e,this['_commandService']=_0x22b258,K(this,_0xc8a26c(0x40d),null),K(this,_0xc8a26c(0x1c4),{'match':_0x4ba950=>_0x4ba950[_0xc8a26c(0x291)]===this[_0xc8a26c(0x414)]['unitId']&&!!_0x5585ba(_0x4ba950[_0xc8a26c(0x1ca)]),'resolveHostSize':_0x12158e=>this[_0xc8a26c(0x39e)](_0x12158e),'previewHostSize':_0x588684=>this['_previewHostSize'](_0x588684),'updateHostSize':_0x3821c2=>this[_0xc8a26c(0x328)](_0x3821c2),'updateShapeText':_0x5ddc9b=>this[_0xc8a26c(0x259)](_0x5ddc9b)}),this['disposeWithMe'](this['_intrinsicSizeService'][_0xc8a26c(0x295)](this['_provider'])),this[_0xc8a26c(0x339)](),this['disposeWithMe'](_0x122c68(()=>this[_0xc8a26c(0x448)]()));}['_updateHostSize'](_0x25871a){const _0x35f6d8=_0x4f3d14;return this[_0x35f6d8(0x372)](_0x25871a);}[_0x4f3d14(0x259)](_0xea617b){const _0x3c7762=_0x4f3d14;let _0x562541=_0xea617b[_0x3c7762(0x2cb)][_0x3c7762(0x1da)]?this['_resolveHostSize']({'elementData':_0xea617b[_0x3c7762(0x241)],'params':_0xea617b[_0x3c7762(0x2cb)]['hostSize']}):null,_0x1edf80=_0xea617b[_0x3c7762(0x241)]['transform']??_0xea617b[_0x3c7762(0x241)][_0x3c7762(0x1ca)][_0x3c7762(0x330)];return(!_0x562541||_0x562541[_0x3c7762(0x48c)]===_0x1edf80[_0x3c7762(0x48c)]&&_0x562541[_0x3c7762(0x36d)]===_0x1edf80[_0x3c7762(0x36d)])&&_0x1fcca7(_0xea617b['params'][_0x3c7762(0x1eb)],_0xea617b[_0x3c7762(0x2cb)][_0x3c7762(0x224)])?!0x0:this[_0x3c7762(0x32f)][_0x3c7762(0x4a8)](_0x3d67d8['id'],{'unitId':_0xea617b[_0x3c7762(0x2cb)]['unitId'],'subUnitId':_0xea617b['params'][_0x3c7762(0x20a)],'nodeId':_0xea617b['params'][_0x3c7762(0x3c3)],'shapeText':_0xea617b[_0x3c7762(0x2cb)][_0x3c7762(0x1eb)],..._0x562541?{'hostSize':{'width':_0x562541[_0x3c7762(0x48c)],'height':_0x562541['height']}}:null});}['_previewHostSize'](_0x53c69a){const _0x4d5068=_0x4f3d14;let _0x35ba4a=this[_0x4d5068(0x39e)](_0x53c69a);if(!_0x35ba4a)return!0x1;let _0x440e24=_0x53c69a[_0x4d5068(0x241)][_0x4d5068(0x330)]??_0x53c69a[_0x4d5068(0x241)]['element']['transform'];return!this[_0x4d5068(0x40d)]&&_0x440e24[_0x4d5068(0x48c)]===_0x35ba4a[_0x4d5068(0x48c)]&&_0x440e24[_0x4d5068(0x36d)]===_0x35ba4a[_0x4d5068(0x36d)]||this[_0x4d5068(0x329)](_0x53c69a,_0x35ba4a),!0x0;}['_resolveHostSize'](_0xb3fedf){const _0x5d3dc6=_0x4f3d14;return!Er(_0xb3fedf[_0x5d3dc6(0x2cb)]['width'])||!Er(_0xb3fedf[_0x5d3dc6(0x2cb)][_0x5d3dc6(0x36d)])?null:_0x26ff7e(_0xb3fedf[_0x5d3dc6(0x241)],{'width':_0xb3fedf['params'][_0x5d3dc6(0x48c)],'height':_0xb3fedf[_0x5d3dc6(0x2cb)][_0x5d3dc6(0x36d)]});}['_initEditingRestore'](){const _0xd1fb9c=_0x4f3d14;this[_0xd1fb9c(0x44d)](_0x122c68(this['_textEditingService']['editingParams$'][_0xd1fb9c(0x46c)](_0x41cd5b(this[_0xd1fb9c(0x494)]))['subscribe'](_0x471698=>{const _0x440aa5=_0xd1fb9c;_0x471698||this[_0x440aa5(0x448)]();})));}[_0x4f3d14(0x329)](_0x4c7171,_0x45f7de){const _0x4c84c5=_0x4f3d14;var _0xfb35f5;let _0x143078=this[_0x4c84c5(0x3dd)][_0x4c84c5(0x198)](_0x4c7171[_0x4c84c5(0x2cb)][_0x4c84c5(0x291)],_0x4c7171[_0x4c84c5(0x2cb)]['subUnitId']),_0x2026ed=Dr(_0x143078,_0x4c7171['params'][_0x4c84c5(0x3c3)],_0x45f7de),_0x194caa=_0x5585ba((_0xfb35f5=_0x143078[_0x4c7171[_0x4c84c5(0x2cb)][_0x4c84c5(0x3c3)]])==null?void 0x0:_0xfb35f5['element']);_0x2026ed&&_0x194caa&&(this[_0x4c84c5(0x40d)]={'unitId':_0x4c7171[_0x4c84c5(0x2cb)][_0x4c84c5(0x291)],'subUnitId':_0x4c7171[_0x4c84c5(0x2cb)]['subUnitId'],'scopeId':_0x194caa[_0x4c84c5(0x2ea)]},this[_0x4c84c5(0x377)](_0x2026ed,_0x194caa[_0x4c84c5(0x2ea)])&&this[_0x4c84c5(0x400)]['notify']({'unitId':_0x4c7171[_0x4c84c5(0x2cb)][_0x4c84c5(0x291)],'subUnitId':_0x4c7171[_0x4c84c5(0x2cb)][_0x4c84c5(0x20a)],'nodeId':_0x4c7171[_0x4c84c5(0x2cb)][_0x4c84c5(0x3c3)],'scopeId':_0x194caa[_0x4c84c5(0x2ea)]}));}[_0x4f3d14(0x448)](){const _0x2efd41=_0x4f3d14;let _0x34ebd1=this[_0x2efd41(0x40d)];if(!_0x34ebd1)return;this[_0x2efd41(0x40d)]=null;let _0xd7b9c6=this[_0x2efd41(0x3dd)]['getElementData'](_0x34ebd1[_0x2efd41(0x291)],_0x34ebd1['subUnitId']);this['_syncElementDataToScene'](_0xd7b9c6,_0x34ebd1[_0x2efd41(0x3a9)])&&this[_0x2efd41(0x400)][_0x2efd41(0x3da)]({'unitId':_0x34ebd1[_0x2efd41(0x291)],'subUnitId':_0x34ebd1[_0x2efd41(0x20a)],'nodeId':_0x34ebd1[_0x2efd41(0x3a9)],'scopeId':_0x34ebd1[_0x2efd41(0x3a9)]});}[_0x4f3d14(0x377)](_0x3aedec,_0x21c597){const _0x109c6c=_0x4f3d14;let _0x4d1370=!0x1;if(Object[_0x109c6c(0x2df)](_0x3aedec)['forEach'](_0x4bf80d=>{const _0xe44e26=_0x109c6c;var _0x1d62c8;let _0x44e10e=_0x5585ba(_0x4bf80d['element']),_0x41fd0a=(_0x1d62c8=_0x4bf80d[_0xe44e26(0x1ca)][_0xe44e26(0x192)])==null?void 0x0:_0x1d62c8['structured'];if(_0x4bf80d[_0xe44e26(0x3e9)]!==_0x21c597&&(_0x44e10e==null?void 0x0:_0x44e10e['structureScopeId'])!==_0x21c597&&(_0x41fd0a==null?void 0x0:_0x41fd0a[_0xe44e26(0x2ea)])!==_0x21c597)return;let _0x3b0be1=this['_getSceneObject'](_0x4bf80d[_0xe44e26(0x3e9)]);_0x3b0be1&&(_0x4d1370=_0x17e74f(_0x3b0be1,_0x4bf80d,{'elementData':_0x3aedec,'unitId':this[_0xe44e26(0x414)][_0xe44e26(0x291)]})||_0x4d1370);}),_0x4d1370){var _0x8b6b7c,_0x18353f;this['_renderContext']['scene'][_0x109c6c(0x32c)](!0x0),(_0x8b6b7c=(_0x18353f=this['_renderContext'][_0x109c6c(0x48b)])[_0x109c6c(0x1cf)])==null||_0x8b6b7c[_0x109c6c(0x2a4)](_0x18353f);}return _0x4d1370;}[_0x4f3d14(0x324)](_0x4346ea){const _0x5a568e=_0x4f3d14;var _0x408f36;let _0x1c3fde=_0x55b3e2(this[_0x5a568e(0x414)][_0x5a568e(0x291)],_0x4346ea),_0xdfa752=this[_0x5a568e(0x414)][_0x5a568e(0x48b)];return((_0x408f36=_0xdfa752[_0x5a568e(0x484)])==null?void 0x0:_0x408f36[_0x5a568e(0x2a4)](_0xdfa752,_0x1c3fde))??this[_0x5a568e(0x414)][_0x5a568e(0x48b)]['getObject'](_0x1c3fde)??null;}};Or=J([q(0x1,_0x132a38(_0x3514cd)),q(0x2,_0x132a38(_0x5c495f)),q(0x3,_0x132a38(_0x2d7b12)),q(0x4,_0x132a38(Tr)),q(0x5,_0x27d0fe)],Or);const $={'touchHitRadius':0x16,'radius':0x12,'addChildRadius':0xe,'siblingHoverRadius':0xa,'siblingDotRadius':0x5,'siblingDotGap':0x3,'gap':0xa,'collapsePlusMinDistance':0x2c,'primaryColor':Y[_0x4f3d14(0x422)],'surfaceColor':Y[_0x4f3d14(0x27a)],'borderWidth':0x2,'glyphSize':0x8,'addChildGlyphSize':0x6,'siblingGlyphSize':5.5,'glyphWidth':2.4,'glyphHoverWidth':0x3,'badgeFontWeight':0x258,'badgeFontSize':0x12,'fontFamily':Y[_0x4f3d14(0x2d0)]};function kr(_0x429101){const _0x5b734c=_0x4f3d14;let _0x19b8d1=$[_0x5b734c(0x1fb)],_0x269376=$[_0x5b734c(0x21c)],_0x2610da=$[_0x5b734c(0x2ff)],_0x1a674a=$['gap'],_0x3046da=$[_0x5b734c(0x214)],_0x44d531=_0x3046da+$[_0x5b734c(0x305)],_0xdfa877=$[_0x5b734c(0x232)],_0x1b0164=_0x429101[_0x5b734c(0x19a)][_0x5b734c(0x2e1)]+_0x429101[_0x5b734c(0x19a)][_0x5b734c(0x36d)]/0x2,_0x81314f=_0x429101['bounds'][_0x5b734c(0x445)]+_0x429101[_0x5b734c(0x19a)][_0x5b734c(0x48c)]/0x2,_0xa5e72a=_0x429101[_0x5b734c(0x19a)][_0x5b734c(0x445)]-_0x19b8d1-_0x1a674a,_0x566280=_0x429101[_0x5b734c(0x19a)]['left']+_0x429101[_0x5b734c(0x19a)][_0x5b734c(0x48c)]+_0x19b8d1+_0x1a674a,_0x2021cd=_0x429101['bounds'][_0x5b734c(0x2e1)]-_0x19b8d1-_0x1a674a,_0x30bb84=_0x429101[_0x5b734c(0x19a)]['top']+_0x429101['bounds']['height']+_0x19b8d1+_0x1a674a,_0x36c537=_0x429101[_0x5b734c(0x19a)][_0x5b734c(0x445)]-_0x269376-_0x1a674a,_0x2f3665=_0x429101['bounds'][_0x5b734c(0x445)]+_0x429101['bounds']['width']+_0x269376+_0x1a674a,_0x1c96d=_0x429101[_0x5b734c(0x19a)][_0x5b734c(0x2e1)]-_0x269376-_0x1a674a,_0x397fd0=_0x429101[_0x5b734c(0x19a)][_0x5b734c(0x2e1)]+_0x429101[_0x5b734c(0x19a)][_0x5b734c(0x36d)]+_0x269376+_0x1a674a,_0x43c160=[],_0x5519c2=_0x429101[_0x5b734c(0x350)]===_0x5b734c(0x2e1)||_0x429101[_0x5b734c(0x350)]===_0x5b734c(0x449),_0x49118f=_0x5519c2?_0x81314f:_0x429101[_0x5b734c(0x350)]===_0x5b734c(0x445)?_0xa5e72a:_0x566280,_0x3ff2b5=_0x5519c2?_0x429101[_0x5b734c(0x350)]==='top'?_0x2021cd:_0x30bb84:_0x1b0164;if(_0x429101[_0x5b734c(0x1c2)]&&_0x429101[_0x5b734c(0x342)]>0x0)return _0x43c160['push']({'kind':_0x5b734c(0x408),'x':_0x49118f,'y':_0x3ff2b5,'radius':_0x19b8d1,'badgeCount':_0x429101[_0x5b734c(0x342)]}),_0x43c160;if(_0x429101[_0x5b734c(0x34c)]?(_0x429101[_0x5b734c(0x4ab)]??(_0x5519c2?[_0x5b734c(0x2e1),_0x5b734c(0x449)]:[_0x5b734c(0x445),'right']))[_0x5b734c(0x2d1)](_0x5aa158=>{const _0x1956a9=_0x5b734c;_0x5aa158===_0x1956a9(0x2e1)?_0x43c160[_0x1956a9(0x3ee)]({'kind':_0x1956a9(0x3f5),'x':_0x81314f,'y':_0x1c96d,'radius':_0x269376}):_0x5aa158==='bottom'?_0x43c160[_0x1956a9(0x3ee)]({'kind':_0x1956a9(0x2ca),'x':_0x81314f,'y':_0x397fd0,'radius':_0x269376}):_0x5aa158===_0x1956a9(0x445)?_0x43c160[_0x1956a9(0x3ee)]({'kind':_0x1956a9(0x227),'x':_0x36c537,'y':_0x1b0164,'radius':_0x269376}):_0x43c160['push']({'kind':'add-child-right','x':_0x2f3665,'y':_0x1b0164,'radius':_0x269376});}):(_0x43c160['push']({'kind':_0x429101[_0x5b734c(0x350)]===_0x5b734c(0x445)?_0x5b734c(0x227):_0x429101['side']===_0x5b734c(0x2e1)?_0x5b734c(0x3f5):_0x429101[_0x5b734c(0x350)]===_0x5b734c(0x449)?'add-child-bottom':_0x5b734c(0x235),'x':_0x5519c2?_0x81314f:_0x429101[_0x5b734c(0x350)]===_0x5b734c(0x445)?_0x36c537:_0x2f3665,'y':_0x5519c2?_0x429101['side']===_0x5b734c(0x2e1)?_0x1c96d:_0x397fd0:_0x1b0164,'radius':_0x269376}),_0x5519c2?(_0x43c160[_0x5b734c(0x3ee)]({'kind':_0x5b734c(0x3f8),'placement':_0x5b734c(0x2ee),'x':_0x429101['bounds'][_0x5b734c(0x445)]-_0x44d531,'y':_0x1b0164,'radius':_0x2610da,'visualRadius':_0x3046da}),_0x43c160[_0x5b734c(0x3ee)]({'kind':_0x5b734c(0x3cd),'placement':'after','x':_0x429101['bounds'][_0x5b734c(0x445)]+_0x429101['bounds']['width']+_0x44d531,'y':_0x1b0164,'radius':_0x2610da,'visualRadius':_0x3046da})):(_0x43c160[_0x5b734c(0x3ee)]({'kind':_0x5b734c(0x3f8),'placement':_0x5b734c(0x2ee),'x':_0x81314f,'y':_0x429101[_0x5b734c(0x19a)][_0x5b734c(0x2e1)]-_0x44d531,'radius':_0x2610da,'visualRadius':_0x3046da}),_0x43c160['push']({'kind':_0x5b734c(0x3cd),'placement':_0x5b734c(0x3e3),'x':_0x81314f,'y':_0x429101[_0x5b734c(0x19a)][_0x5b734c(0x2e1)]+_0x429101['bounds'][_0x5b734c(0x36d)]+_0x44d531,'radius':_0x2610da,'visualRadius':_0x3046da}))),_0x429101[_0x5b734c(0x1c2)]){let _0xadb281={'kind':_0x5b734c(0x408),'x':_0x49118f,'y':_0x3ff2b5,'radius':_0x19b8d1};_0x43c160[_0x5b734c(0x3ee)](_0xadb281);let _0x5a340a=_0x43c160['find'](_0x2b5a04=>_0x2b5a04[_0x5b734c(0x315)]===(_0x429101['side']===_0x5b734c(0x445)?_0x5b734c(0x227):_0x429101[_0x5b734c(0x350)]===_0x5b734c(0x2e1)?_0x5b734c(0x3f5):_0x429101[_0x5b734c(0x350)]===_0x5b734c(0x449)?_0x5b734c(0x2ca):'add-child-right'));_0x5a340a&&Math[_0x5b734c(0x277)](_0x5a340a['x']-_0xadb281['x'],_0x5a340a['y']-_0xadb281['y'])<_0xdfa877&&(_0x429101['side']==='top'||_0x429101[_0x5b734c(0x350)]===_0x5b734c(0x449)?_0x5a340a['y']=_0xadb281['y']+(_0x429101[_0x5b734c(0x350)]==='top'?-_0xdfa877:_0xdfa877):_0x5a340a['x']=_0xadb281['x']+(_0x429101['side']===_0x5b734c(0x445)?-_0xdfa877:_0xdfa877));}return _0x43c160;}const Ar=_0x4f3d14(0x229),jr=_0x2019f6[_0x4f3d14(0x361)];function Mr(_0x519f2d,_0x2e9235){const _0x1df150=_0x4f3d14;return!!_0x519f2d&&_0x519f2d['kind']===_0x2e9235[_0x1df150(0x315)]&&_0x519f2d['x']===_0x2e9235['x']&&_0x519f2d['y']===_0x2e9235['y'];}var Nr=class extends _0x4ff2d9{constructor(_0xa01836=Ar,_0x4f95dc){const _0x2108cd=_0x4f3d14;super(_0xa01836),K(this,'_state',{'controls':[]}),this[_0x2108cd(0x2f9)]=!0x0,this['zIndex']=_0x65c3c8[_0x2108cd(0x287)],this[_0x2108cd(0x2e5)](_0x4f95dc);}[_0x4f3d14(0x2e5)](_0x272180){const _0x2d36a6=_0x4f3d14;this[_0x2d36a6(0x2e0)]={...this[_0x2d36a6(0x2e0)],..._0x272180},this[_0x2d36a6(0x2e0)][_0x2d36a6(0x49d)][_0x2d36a6(0x452)]>0x0?this['show']():this['hide'](),this[_0x2d36a6(0x32c)](!0x0);}['setHoveredControl'](_0x1b9aa7){const _0x38abe9=_0x4f3d14;!_0x1b9aa7&&!this['_state']['hoveredControl']||_0x1b9aa7&&Mr(this['_state'][_0x38abe9(0x3e2)],_0x1b9aa7)||(this[_0x38abe9(0x2e0)]={...this['_state'],'hoveredControl':_0x1b9aa7},this[_0x38abe9(0x32c)](!0x0));}['getHitControl'](_0x444f30,_0x335a5a){const _0x4fcb6c=_0x4f3d14;var _0x4cbde2;let _0x4a82a4=(_0x4cbde2=this[_0x4fcb6c(0x250)]())==null?void 0x0:_0x4cbde2[_0x4fcb6c(0x1b6)](),_0x129378=null,_0x5a52bd=0x1/0x0;for(let _0x2144b6=this[_0x4fcb6c(0x2e0)][_0x4fcb6c(0x49d)][_0x4fcb6c(0x452)]-0x1;_0x2144b6>=0x0;--_0x2144b6){let _0x20fdc3=this[_0x4fcb6c(0x2e0)][_0x4fcb6c(0x49d)][_0x2144b6],_0x1d612b=Math[_0x4fcb6c(0x277)](_0x444f30['x']-_0x20fdc3['x'],_0x444f30['y']-_0x20fdc3['y']);if(_0x335a5a!==_0x5ef2af[_0x4fcb6c(0x30f)]){if(_0x1d612b<=_0x20fdc3['radius'])return _0x20fdc3;continue;}let _0xc7e690=Math[_0x4fcb6c(0x277)]((_0x444f30['x']-_0x20fdc3['x'])*((_0x4a82a4==null?void 0x0:_0x4a82a4[_0x4fcb6c(0x301)])??0x1),(_0x444f30['y']-_0x20fdc3['y'])*((_0x4a82a4==null?void 0x0:_0x4a82a4[_0x4fcb6c(0x3ae)])??0x1));(_0x1d612b<=_0x20fdc3[_0x4fcb6c(0x1fb)]||_0xc7e690<=$[_0x4fcb6c(0x369)])&&_0xc7e690<_0x5a52bd&&(_0x129378=_0x20fdc3,_0x5a52bd=_0xc7e690);}return _0x129378;}[_0x4f3d14(0x253)](_0x48313f){const _0x16ee61=_0x4f3d14;var _0xe6d57e;let _0x157628=this['getHitControl'](_0x48313f,_0x5ef2af[_0x16ee61(0x30f)]),_0x545691=(_0xe6d57e=this['getScene']())==null?void 0x0:_0xe6d57e['getAncestorScale']();return _0x157628?Math[_0x16ee61(0x277)]((_0x48313f['x']-_0x157628['x'])*((_0x545691==null?void 0x0:_0x545691[_0x16ee61(0x301)])??0x1),(_0x48313f['y']-_0x157628['y'])*((_0x545691==null?void 0x0:_0x545691[_0x16ee61(0x3ae)])??0x1)):0x1/0x0;}[_0x4f3d14(0x397)](_0x52cc2e){const _0x15a34c=_0x4f3d14;return!!this[_0x15a34c(0x279)]({'x':_0x52cc2e['x'],'y':_0x52cc2e['y']});}[_0x4f3d14(0x360)](_0x1b09b7,_0x402fa4){const _0x54eb31=_0x4f3d14;return!this[_0x54eb31(0x418)]||this[_0x54eb31(0x2e0)]['controls'][_0x54eb31(0x452)]===0x0?(this['makeDirty'](!0x1),this):(_0x1b09b7[_0x54eb31(0x3de)](),this[_0x54eb31(0x2e0)][_0x54eb31(0x49d)]['forEach'](_0x7f1b53=>{const _0x1150c0=_0x54eb31;let _0x340493=Mr(this['_state']['hoveredControl'],_0x7f1b53),_0x246e15=_0x7f1b53[_0x1150c0(0x296)]!==void 0x0,_0x3fe6e2=_0x7f1b53[_0x1150c0(0x315)]===_0x1150c0(0x227)||_0x7f1b53[_0x1150c0(0x315)]===_0x1150c0(0x235)||_0x7f1b53[_0x1150c0(0x315)]===_0x1150c0(0x3f5)||_0x7f1b53[_0x1150c0(0x315)]===_0x1150c0(0x2ca),_0xc3635f=_0x7f1b53[_0x1150c0(0x315)]===_0x1150c0(0x3f8)||_0x7f1b53['kind']===_0x1150c0(0x3cd),_0x865822=_0xc3635f&&!_0x340493?_0x7f1b53[_0x1150c0(0x1d2)]??_0x7f1b53[_0x1150c0(0x1fb)]:_0x7f1b53['radius'];if(_0x1b09b7[_0x1150c0(0x2de)](),_0x1b09b7[_0x1150c0(0x3ef)]=_0x7f1b53[_0x1150c0(0x315)]==='toggle-collapse'?$[_0x1150c0(0x27a)]:$[_0x1150c0(0x422)],_0x1b09b7[_0x1150c0(0x355)]=$['primaryColor'],_0x1b09b7[_0x1150c0(0x37c)]=$[_0x1150c0(0x455)],_0x1b09b7[_0x1150c0(0x249)](_0x7f1b53['x'],_0x7f1b53['y'],_0x865822,0x0,Math['PI']*0x2),_0x1b09b7[_0x1150c0(0x222)](),(!_0xc3635f||_0x340493)&&_0x1b09b7[_0x1150c0(0x267)](),!_0x246e15&&(!_0xc3635f||_0x340493)){if(_0x1b09b7[_0x1150c0(0x2de)](),_0x1b09b7[_0x1150c0(0x355)]=_0x7f1b53['kind']===_0x1150c0(0x408)?$['primaryColor']:$[_0x1150c0(0x27a)],_0x1b09b7[_0x1150c0(0x37c)]=_0xc3635f?$[_0x1150c0(0x1f5)]:_0x340493?$[_0x1150c0(0x2d8)]:$[_0x1150c0(0x1f5)],_0x1b09b7[_0x1150c0(0x215)]='round',_0x7f1b53[_0x1150c0(0x315)]==='toggle-collapse'){let _0x181f92=$[_0x1150c0(0x308)];_0x1b09b7[_0x1150c0(0x2a2)](_0x7f1b53['x']+_0x181f92/0x2,_0x7f1b53['y']-_0x181f92),_0x1b09b7[_0x1150c0(0x28d)](_0x7f1b53['x']-_0x181f92/0x2,_0x7f1b53['y']),_0x1b09b7[_0x1150c0(0x28d)](_0x7f1b53['x']+_0x181f92/0x2,_0x7f1b53['y']+_0x181f92);}else{let _0x9d542f=_0xc3635f?$[_0x1150c0(0x37b)]:_0x3fe6e2?$['addChildGlyphSize']:$[_0x1150c0(0x308)];_0x1b09b7['moveTo'](_0x7f1b53['x']-_0x9d542f,_0x7f1b53['y']),_0x1b09b7[_0x1150c0(0x28d)](_0x7f1b53['x']+_0x9d542f,_0x7f1b53['y']),_0x1b09b7[_0x1150c0(0x2a2)](_0x7f1b53['x'],_0x7f1b53['y']-_0x9d542f),_0x1b09b7['lineTo'](_0x7f1b53['x'],_0x7f1b53['y']+_0x9d542f);}_0x1b09b7[_0x1150c0(0x267)]();}_0x246e15&&(_0x1b09b7[_0x1150c0(0x3ef)]=$[_0x1150c0(0x422)],_0x1b09b7[_0x1150c0(0x4ae)]=$['badgeFontWeight']+'\x20'+$[_0x1150c0(0x293)]+_0x1150c0(0x44a)+$['fontFamily'],_0x1b09b7[_0x1150c0(0x284)]=_0x1150c0(0x237),_0x1b09b7[_0x1150c0(0x412)]=_0x1150c0(0x356),_0x1b09b7[_0x1150c0(0x240)](String(_0x7f1b53['badgeCount']),_0x7f1b53['x'],_0x7f1b53['y']));}),_0x1b09b7[_0x54eb31(0x1a0)](),this[_0x54eb31(0x32c)](!0x1),this);}};function Pr(_0x4871d0){const _0x101a9f=_0x4f3d14;return _0x4871d0===_0x101a9f(0x195)||_0x4871d0===_0x101a9f(0x378)||_0x4871d0===_0x101a9f(0x2f6);}function Fr(_0x1ddf50){const _0x4df356=_0x4f3d14;return _0x1ddf50===_0x4df356(0x243)||_0x1ddf50===_0x4df356(0x481);}function Ir(_0x41d6b5,_0x38cca1){const _0x544b23=_0x4f3d14;let _0x411822=Number[_0x544b23(0x490)](_0x38cca1[_0x544b23(0x1e9)])&&_0x38cca1[_0x544b23(0x1e9)]>0x0?_0x38cca1[_0x544b23(0x1e9)]:0x1;return{'x':Math[_0x544b23(0x28e)]((_0x41d6b5[_0x544b23(0x385)]-_0x38cca1['panOffset']['x'])/_0x411822),'y':Math['round']((_0x41d6b5[_0x544b23(0x2a5)]-_0x38cca1[_0x544b23(0x33c)]['y'])/_0x411822)};}let Lr=class extends _0x41f8e5{constructor(_0x31d6b9,_0x1ad255,_0x4809c5,_0x450469,_0x536f85,_0x98bb52,_0x3438fe,_0x556aba,_0x4295df){const _0x5ebf0c=_0x4f3d14;super(),this['_renderContext']=_0x31d6b9,this['_boardElementService']=_0x1ad255,this[_0x5ebf0c(0x1a3)]=_0x4809c5,this['_stateService']=_0x450469,this[_0x5ebf0c(0x32f)]=_0x536f85,this[_0x5ebf0c(0x28b)]=_0x98bb52,this[_0x5ebf0c(0x335)]=_0x3438fe,this[_0x5ebf0c(0x400)]=_0x556aba,this[_0x5ebf0c(0x30c)]=_0x4295df,K(this,_0x5ebf0c(0x19d),null),K(this,'_objectEventDisposables',null),K(this,_0x5ebf0c(0x430),null),K(this,_0x5ebf0c(0x298),null),this[_0x5ebf0c(0x45b)]();}['_init'](){const _0x125f35=_0x4f3d14;var _0xf2bf8f,_0x4a6256,_0x47dc03;let {scene:_0x5c2643}=this['_renderContext'],_0xeba987=(_0xf2bf8f=_0x5c2643[_0x125f35(0x1dc)])==null?void 0x0:_0xf2bf8f[_0x125f35(0x2a4)](_0x5c2643);_0xeba987&&(this[_0x125f35(0x44d)](_0x122c68(_0xeba987['changing$'][_0x125f35(0x46c)](_0x41cd5b(this['dispose$']))[_0x125f35(0x345)](({objects:_0x412765})=>{const _0xce9085=_0x125f35;this[_0xce9085(0x38c)](_0x412765,{'hideRootControls':!0x0});}))),this['disposeWithMe'](_0x122c68(_0xeba987[_0x125f35(0x34d)]['pipe'](_0x41cd5b(this['dispose$']))[_0x125f35(0x345)](_0x33ce1f=>{const _0x1edaa3=_0x125f35;let _0x341e12=_0x33ce1f==null?void 0x0:_0x33ce1f[_0x1edaa3(0x365)];this[_0x1edaa3(0x38c)](_0x341e12),setTimeout(()=>this[_0x1edaa3(0x38c)](_0x341e12),0x0);})))),this['disposeWithMe'](_0x122c68(this[_0x125f35(0x1a3)]['state$'][_0x125f35(0x46c)](_0x41cd5b(this[_0x125f35(0x494)]))['subscribe'](()=>this[_0x125f35(0x38c)]()))),this['disposeWithMe'](_0x122c68(this[_0x125f35(0x407)][_0x125f35(0x475)][_0x125f35(0x46c)](_0x41cd5b(this[_0x125f35(0x494)]))[_0x125f35(0x345)](()=>this[_0x125f35(0x38c)]()))),this['disposeWithMe'](_0x122c68(this[_0x125f35(0x3dd)]['elementUpdate$'][_0x125f35(0x46c)](_0x41cd5b(this[_0x125f35(0x494)]))[_0x125f35(0x345)](_0x1302df=>{const _0x4856bf=_0x125f35;let _0x22cfee=this[_0x4856bf(0x1a3)][_0x4856bf(0x310)]()[_0x4856bf(0x3ac)];_0x22cfee&&_0x1302df[_0x4856bf(0x4a2)](_0x1fc06f=>_0x1fc06f['unitId']===_0x22cfee['unitId']&&_0x1fc06f[_0x4856bf(0x20a)]===_0x22cfee[_0x4856bf(0x20a)]&&(_0x1fc06f[_0x4856bf(0x3e9)]===this[_0x4856bf(0x430)]||_0x1fc06f[_0x4856bf(0x3e9)]===this[_0x4856bf(0x298)]))&&this['_syncControls']();}))),this[_0x125f35(0x44d)](_0x122c68(this[_0x125f35(0x400)][_0x125f35(0x403)][_0x125f35(0x46c)](_0x41cd5b(this[_0x125f35(0x494)]))[_0x125f35(0x345)](_0x2970cd=>{const _0x159a90=_0x125f35;let _0x1a0b2a=this['_elementStateService'][_0x159a90(0x310)]()[_0x159a90(0x3ac)];_0x1a0b2a&&_0x1a0b2a[_0x159a90(0x291)]===_0x2970cd[_0x159a90(0x291)]&&_0x1a0b2a[_0x159a90(0x20a)]===_0x2970cd['subUnitId']&&(this[_0x159a90(0x298)]&&this[_0x159a90(0x298)]!==_0x2970cd['scopeId']||this[_0x159a90(0x38c)]());}))),this[_0x125f35(0x44d)](_0x122c68(_0x5c2643[_0x125f35(0x450)][_0x125f35(0x474)](_0x5c96f7=>this[_0x125f35(0x33d)](_0x5c96f7)))),this[_0x125f35(0x44d)](_0x122c68(_0x5c2643[_0x125f35(0x210)]['subscribeEvent']({'priority':0x4,'next':([_0xadd8e6,_0x4aeb9a])=>{const _0xadbc2e=_0x125f35;this[_0xadbc2e(0x3b2)](_0xadd8e6)&&this[_0xadbc2e(0x260)](_0xadd8e6,_0x4aeb9a);}}))),this['disposeWithMe'](_0x122c68(((_0x4a6256=_0x5c2643[_0x125f35(0x376)])==null?void 0x0:_0x4a6256[_0x125f35(0x474)]({'priority':0x4,'next':([_0x3bd284,_0xe4b219])=>{const _0x2fdf8e=_0x125f35;this[_0x2fdf8e(0x1a2)](_0x3bd284)&&this[_0x2fdf8e(0x260)](_0x3bd284,_0xe4b219);}}))??{'dispose':()=>{}})),this[_0x125f35(0x44d)](_0x122c68(((_0x47dc03=_0x5c2643['onDblclick$'])==null?void 0x0:_0x47dc03['subscribeEvent']({'priority':0x4,'next':([_0x156576,_0x27acca])=>{const _0x3f5a29=_0x125f35;this['_isControlEvent'](_0x156576)&&this[_0x3f5a29(0x260)](_0x156576,_0x27acca);}}))??{'dispose':()=>{}})),this[_0x125f35(0x44d)](_0x122c68(()=>this[_0x125f35(0x470)]())),this[_0x125f35(0x38c)]();}['_ensureObject'](){const _0xdbc721=_0x4f3d14;return this['_object']||(this[_0xdbc721(0x19d)]=new Nr(Ar),this[_0xdbc721(0x46d)](this['_object']),this[_0xdbc721(0x414)][_0xdbc721(0x48b)][_0xdbc721(0x2c3)](this[_0xdbc721(0x19d)],jr)),this[_0xdbc721(0x19d)];}['_attachObjectEvents'](_0x51c475){const _0x490fa8=_0x4f3d14;var _0xb0fafa;(_0xb0fafa=this['_objectEventDisposables'])==null||_0xb0fafa[_0x490fa8(0x45e)]();let _0xf191d6=new _0x3fd367();_0xf191d6[_0x490fa8(0x45d)](_0x51c475[_0x490fa8(0x210)]['subscribeEvent']({'priority':0x4,'next':([_0x35b9d9,_0x41eabc])=>{const _0x59497b=_0x490fa8;this[_0x59497b(0x3b2)](_0x35b9d9)&&this['_consumeControlEvent'](_0x35b9d9,_0x41eabc);}})),_0xf191d6[_0x490fa8(0x45d)](_0x51c475[_0x490fa8(0x376)][_0x490fa8(0x474)]({'priority':0x4,'next':([_0x1c41d3,_0x38eced])=>{const _0x56323b=_0x490fa8;this[_0x56323b(0x1a2)](_0x1c41d3)&&this[_0x56323b(0x260)](_0x1c41d3,_0x38eced);}})),_0xf191d6['add'](_0x51c475[_0x490fa8(0x239)][_0x490fa8(0x474)]({'priority':0x4,'next':([_0xad950a,_0x39936a])=>{this['_isControlEvent'](_0xad950a)&&this['_consumeControlEvent'](_0xad950a,_0x39936a);}})),this[_0x490fa8(0x20c)]=_0xf191d6;}['_removeObject'](){const _0x43ea04=_0x4f3d14;var _0x57635b;this[_0x43ea04(0x19d)]&&(this[_0x43ea04(0x414)][_0x43ea04(0x48b)]['removeObjects']([this[_0x43ea04(0x19d)]]),(_0x57635b=this[_0x43ea04(0x20c)])==null||_0x57635b[_0x43ea04(0x45e)](),this['_objectEventDisposables']=null,this['_object']=null,this[_0x43ea04(0x430)]=null,this[_0x43ea04(0x298)]=null,this[_0x43ea04(0x414)]['scene'][_0x43ea04(0x32c)](!0x0));}[_0x4f3d14(0x38c)](_0x5b449e,_0x2ccad1){const _0x22354d=_0x4f3d14;var _0x731947,_0x52d862;if(this[_0x22354d(0x407)]['getState']()['interactionMode']===_0x22354d(0x1af)){this[_0x22354d(0x470)]();return;}let _0x329ab3=this[_0x22354d(0x1a3)][_0x22354d(0x310)](),_0x152315=_0x329ab3[_0x22354d(0x3ac)],_0x3008fd=_0x329ab3[_0x22354d(0x206)]??_0x329ab3[_0x22354d(0x375)][0x0];if(!_0x152315||!_0x3008fd||_0x329ab3[_0x22354d(0x375)][_0x22354d(0x452)]!==0x1){this[_0x22354d(0x470)]();return;}let _0x495134=this['_boardElementService'][_0x22354d(0x198)](_0x152315[_0x22354d(0x291)],_0x152315[_0x22354d(0x20a)]),_0x36c9df=_0x495134[_0x3008fd],_0x3cce9a=_0x5585ba(_0x36c9df==null?void 0x0:_0x36c9df['element']);if(!_0x36c9df||!_0x3cce9a){this['_removeObject']();return;}let _0x312322=_0x55b3e2(_0x152315[_0x22354d(0x291)],_0x3008fd);if(_0x2ccad1!=null&&_0x2ccad1[_0x22354d(0x275)]&&_0x3cce9a[_0x22354d(0x29f)]==null&&_0x5b449e!=null&&_0x5b449e[_0x22354d(0x290)](_0x312322)){this['_removeObject']();return;}let _0x113c0f=this[_0x22354d(0x41a)](_0x495134,_0x152315[_0x22354d(0x291)],_0x3008fd,_0x5b449e);if(!_0x113c0f){this[_0x22354d(0x470)]();return;}let _0x2d4e4f=Object['values'](_0x495134)[_0x22354d(0x43b)](_0x459a07=>{const _0x2c9e59=_0x22354d;var _0x5a4fbd;return((_0x5a4fbd=_0x5585ba(_0x459a07[_0x2c9e59(0x1ca)]))==null?void 0x0:_0x5a4fbd[_0x2c9e59(0x29f)])===_0x3008fd;}),_0x5b84ff=_0x3cce9a[_0x22354d(0x4a9)]?this[_0x22354d(0x411)](_0x495134,_0x3008fd):0x0;this[_0x22354d(0x430)]=_0x3008fd,this['_activeScopeId']=_0x3cce9a[_0x22354d(0x2ea)];let _0x3f0219=(_0x731947=_0x495134[_0x3cce9a[_0x22354d(0x2ea)]])==null?void 0x0:_0x731947['element'],_0x23d2e1=_0x487e3a(_0x3f0219),_0x47c3d3=_0x3f0219==null||(_0x52d862=_0x3f0219['custom'])==null||(_0x52d862=_0x52d862['mindmap'])==null||(_0x52d862=_0x52d862[_0x22354d(0x2bc)])==null?void 0x0:_0x52d862[_0x22354d(0x35e)],_0x5cccd3=(_0x23d2e1==null?void 0x0:_0x23d2e1[_0x22354d(0x2bc)]['structureKind'])??_0x47c3d3,_0x56e6aa=_0x3cce9a['parentNodeId']==null,_0x465fb5=this['_resolveControlSide'](_0x3cce9a[_0x22354d(0x350)],_0x56e6aa,_0x5cccd3);this[_0x22354d(0x2b1)]()[_0x22354d(0x2e5)]({'controls':kr({'bounds':_0x113c0f,'isRoot':_0x56e6aa,'side':_0x465fb5,'rootChildSides':this[_0x22354d(0x34f)](_0x56e6aa,_0x5cccd3),'hasChildren':_0x2d4e4f[_0x22354d(0x452)]>0x0,'collapsedDescendantCount':_0x5b84ff})}),this[_0x22354d(0x414)][_0x22354d(0x48b)][_0x22354d(0x32c)](!0x0);}[_0x4f3d14(0x3a7)](_0x538300,_0x966ac0,_0x5049ae){const _0x55efc8=_0x4f3d14;return _0x5049ae==='timeline-vertical'?!_0x966ac0&&(_0x538300===_0x55efc8(0x445)||_0x538300===_0x55efc8(0x289))?_0x538300:'bottom':_0x5049ae==='mindmap-vertical'?!_0x966ac0&&(_0x538300==='top'||_0x538300===_0x55efc8(0x449))?_0x538300:_0x55efc8(0x449):_0x538300===_0x55efc8(0x445)?_0x55efc8(0x445):_0x55efc8(0x289);}[_0x4f3d14(0x34f)](_0x2ab6b6,_0x30625e){const _0x12a82d=_0x4f3d14;if(_0x2ab6b6){if(Pr(_0x30625e))return[_0x12a82d(0x449)];if(_0x30625e===_0x12a82d(0x243))return[_0x12a82d(0x289)];if(_0x30625e===_0x12a82d(0x481))return[_0x12a82d(0x449)];}}[_0x4f3d14(0x3fd)](_0x2328d4){const _0x9b9e13=_0x4f3d14;var _0x3164e3,_0x4a57bd;let _0x37eea1=this[_0x9b9e13(0x1a3)][_0x9b9e13(0x310)]()[_0x9b9e13(0x3ac)];if(!_0x37eea1||!this[_0x9b9e13(0x430)])return;let _0xb72cdf=this[_0x9b9e13(0x3dd)][_0x9b9e13(0x198)](_0x37eea1['unitId'],_0x37eea1[_0x9b9e13(0x20a)]),_0x8f5812=_0x5585ba((_0x3164e3=_0xb72cdf[this[_0x9b9e13(0x430)]])==null?void 0x0:_0x3164e3['element']),_0x1f3f5a=_0x8f5812?_0x487e3a((_0x4a57bd=_0xb72cdf[_0x8f5812[_0x9b9e13(0x2ea)]])==null?void 0x0:_0x4a57bd[_0x9b9e13(0x1ca)]):null;if((_0x8f5812==null?void 0x0:_0x8f5812[_0x9b9e13(0x29f)])!=null||!Pr(_0x1f3f5a==null?void 0x0:_0x1f3f5a['layout'][_0x9b9e13(0x35e)])&&!Fr(_0x1f3f5a==null?void 0x0:_0x1f3f5a['layout'][_0x9b9e13(0x35e)]))return _0x2328d4===_0x9b9e13(0x227)?_0x9b9e13(0x445):_0x2328d4==='add-child-top'?_0x9b9e13(0x2e1):_0x2328d4===_0x9b9e13(0x2ca)?_0x9b9e13(0x449):_0x9b9e13(0x289);}[_0x4f3d14(0x41a)](_0x28ca45,_0x51b3db,_0x4652ba,_0x309757){const _0x335314=_0x4f3d14;var _0x37fa02,_0x478757;let _0x3c5ddd=_0x55b3e2(_0x51b3db,_0x4652ba),_0x2869c1=_0x309757==null?void 0x0:_0x309757[_0x335314(0x47f)](_0x3c5ddd),_0x585af4=this['_toFiniteBounds'](_0x2869c1);if(_0x585af4)return _0x585af4;let _0x4e1b2d=this['_renderContext'][_0x335314(0x48b)],_0x34885f=((_0x37fa02=_0x4e1b2d[_0x335314(0x484)])==null?void 0x0:_0x37fa02[_0x335314(0x2a4)](_0x4e1b2d,_0x3c5ddd))??((_0x478757=_0x4e1b2d[_0x335314(0x3b7)])==null?void 0x0:_0x478757[_0x335314(0x2a4)](_0x4e1b2d,_0x3c5ddd));return this['_toFiniteBounds'](_0x34885f)||_0x25dbfe(_0x28ca45,_0x4652ba);}['_toFiniteBounds'](_0x5085f9){const _0x29b1ee=_0x4f3d14;return _0x5085f9&&Number[_0x29b1ee(0x490)](_0x5085f9['left'])&&Number[_0x29b1ee(0x490)](_0x5085f9['top'])&&Number[_0x29b1ee(0x490)](_0x5085f9[_0x29b1ee(0x48c)])&&Number[_0x29b1ee(0x490)](_0x5085f9[_0x29b1ee(0x36d)])?{'left':_0x5085f9[_0x29b1ee(0x445)],'top':_0x5085f9[_0x29b1ee(0x2e1)],'width':_0x5085f9[_0x29b1ee(0x48c)],'height':_0x5085f9['height']}:null;}[_0x4f3d14(0x411)](_0x289d4a,_0x2b0d77){const _0x122c77=_0x4f3d14;return Object[_0x122c77(0x2df)](_0x289d4a)['filter'](_0x48395b=>{const _0x38e0c9=_0x122c77;var _0x55efd9;return((_0x55efd9=_0x5585ba(_0x48395b['element']))==null?void 0x0:_0x55efd9[_0x38e0c9(0x29f)])===_0x2b0d77;})[_0x122c77(0x23d)]((_0x19b84f,_0x1804b5)=>_0x19b84f+0x1+this[_0x122c77(0x411)](_0x289d4a,_0x1804b5['elementId']),0x0);}['_handlePointerMove'](_0x3fd99c){const _0x2ec2b9=_0x4f3d14;if(!this[_0x2ec2b9(0x19d)])return;let _0x3852c7=this[_0x2ec2b9(0x407)]['getState'](),_0x5a6473=Ir(_0x3fd99c,{'panOffset':_0x3852c7[_0x2ec2b9(0x36e)],'zoomRatio':_0x3852c7[_0x2ec2b9(0x1e9)]});this['_object']['setHoveredControl'](this['_object'][_0x2ec2b9(0x279)](_0x5a6473,_0x3fd99c[_0x2ec2b9(0x2fe)]));}[_0x4f3d14(0x3b2)](_0x18f7f7){const _0x32ef47=_0x4f3d14;if(!this[_0x32ef47(0x19d)]||!this[_0x32ef47(0x430)]||(_0x18f7f7[_0x32ef47(0x26f)]??0x0)!==0x0)return!0x1;let _0x4a348f=this['_elementStateService'][_0x32ef47(0x310)]()[_0x32ef47(0x3ac)];if(!_0x4a348f)return!0x1;let _0x2c3380=this[_0x32ef47(0x407)][_0x32ef47(0x25b)](),_0x2f8e44=Ir(_0x18f7f7,{'panOffset':_0x2c3380['viewportPanOffset'],'zoomRatio':_0x2c3380['zoomRatio']}),_0x359001=this[_0x32ef47(0x19d)][_0x32ef47(0x279)](_0x2f8e44,_0x18f7f7[_0x32ef47(0x2fe)]);if(!_0x359001)return!0x1;if(_0x359001['kind']===_0x32ef47(0x408))return this[_0x32ef47(0x479)](_0xdc3604['id'],{'unitId':_0x4a348f[_0x32ef47(0x291)],'subUnitId':_0x4a348f[_0x32ef47(0x20a)],'nodeId':this[_0x32ef47(0x430)]}),!0x0;if(_0x359001[_0x32ef47(0x315)]===_0x32ef47(0x227)||_0x359001[_0x32ef47(0x315)]===_0x32ef47(0x235)||_0x359001['kind']===_0x32ef47(0x3f5)||_0x359001[_0x32ef47(0x315)]===_0x32ef47(0x2ca)){let _0x44e1b8=_0x21938d(0x6);return this[_0x32ef47(0x423)](_0x21cdef['id'],{'unitId':_0x4a348f['unitId'],'subUnitId':_0x4a348f[_0x32ef47(0x20a)],'parentNodeId':this[_0x32ef47(0x430)],'side':this[_0x32ef47(0x3fd)](_0x359001[_0x32ef47(0x315)]),'nodeId':_0x44e1b8,'connectorId':_0x21938d(0x6),'text':this[_0x32ef47(0x335)]['t']('boards-mind-ui.panel.addText')},_0x44e1b8),!0x0;}if(_0x359001[_0x32ef47(0x315)]===_0x32ef47(0x3f8)||_0x359001[_0x32ef47(0x315)]==='add-sibling-after'){let _0x15240a=_0x21938d(0x6);return this[_0x32ef47(0x423)](_0x20f384['id'],{'unitId':_0x4a348f[_0x32ef47(0x291)],'subUnitId':_0x4a348f[_0x32ef47(0x20a)],'nodeId':this[_0x32ef47(0x430)],'placement':_0x359001[_0x32ef47(0x3c9)]??(_0x359001[_0x32ef47(0x315)]===_0x32ef47(0x3f8)?_0x32ef47(0x2ee):'after'),'siblingNodeId':_0x15240a,'connectorId':_0x21938d(0x6),'text':this['_localeService']['t'](_0x32ef47(0x391))},_0x15240a),!0x0;}return!0x0;}[_0x4f3d14(0x1a2)](_0x67d28c){const _0x474eb5=_0x4f3d14;if(!this[_0x474eb5(0x19d)]||(_0x67d28c['button']??0x0)!==0x0)return!0x1;let _0x24ca47=this[_0x474eb5(0x407)]['getState'](),_0x3ad64a=Ir(_0x67d28c,{'panOffset':_0x24ca47['viewportPanOffset'],'zoomRatio':_0x24ca47[_0x474eb5(0x1e9)]});return!!this['_object'][_0x474eb5(0x279)](_0x3ad64a,_0x67d28c['deviceType']);}['_consumeControlEvent'](_0x319585,_0x1ed2b1){const _0x2eb474=_0x4f3d14;var _0xf4be67,_0x40fbf8;_0x1ed2b1[_0x2eb474(0x1de)](),(_0xf4be67=_0x319585['preventDefault'])==null||_0xf4be67[_0x2eb474(0x2a4)](_0x319585),(_0x40fbf8=_0x319585[_0x2eb474(0x1de)])==null||_0x40fbf8[_0x2eb474(0x2a4)](_0x319585);}['_executeAndLayout'](_0x41d244,_0x488e46){const _0x376dd5=_0x4f3d14;let _0x509aa4=this[_0x376dd5(0x298)];this[_0x376dd5(0x30c)][_0x376dd5(0x3a5)](_0x488e46[_0x376dd5(0x291)],()=>{const _0x53217f=_0x376dd5;this[_0x53217f(0x32f)][_0x53217f(0x4a8)](_0x41d244,_0x488e46)&&_0x509aa4&&(this[_0x53217f(0x32f)][_0x53217f(0x4a8)](_0x4b5dc4['id'],{'unitId':_0x488e46[_0x53217f(0x291)],'subUnitId':_0x488e46[_0x53217f(0x20a)],'scopeId':_0x509aa4}),this['_syncControls']());});}['_executeCreateAndEdit'](_0x502f51,_0x399de7,_0x10db31){const _0x46c476=_0x4f3d14;let _0x2836aa={'unitId':_0x399de7[_0x46c476(0x291)],'subUnitId':_0x399de7['subUnitId']},_0x2e3b3b=this[_0x46c476(0x32f)][_0x46c476(0x32d)](_0x502f51,_0x399de7);Promise[_0x46c476(0x1ec)](_0x2e3b3b)[_0x46c476(0x193)](_0x3565e8=>{const _0x371735=_0x46c476;_0x3565e8&&(this[_0x371735(0x38c)](),this[_0x371735(0x1a3)]['selectElements'](_0x2836aa,[_0x10db31],_0x10db31),this['_boardTextEditingService'][_0x371735(0x26a)](),this['_boardTextEditingService'][_0x371735(0x24b)]({..._0x2836aa,'shapeId':_0x10db31,'shapeKey':_0x55b3e2(_0x2836aa['unitId'],_0x10db31),'visible':!0x0}));});}};Lr=J([q(0x1,_0x132a38(_0x5c495f)),q(0x2,_0x132a38(_0x16fdab)),q(0x3,_0x132a38(_0x31b38d)),q(0x4,_0x27d0fe),q(0x5,_0x132a38(_0x2d7b12)),q(0x6,_0x132a38(_0x4eab55)),q(0x7,_0x132a38(Tr)),q(0x8,_0x132a38(_0x57f4a7))],Lr);const Rr=_0x4f3d14(0x1a6);let zr=class extends _0x41f8e5{constructor(_0x49de4c,_0x3953b7){const _0x33d540=_0x4f3d14;super(),this[_0x33d540(0x32f)]=_0x49de4c,this[_0x33d540(0x49a)]=_0x3953b7,this['_init']();}['_init'](){const _0x53d9ce=_0x4f3d14;this[_0x53d9ce(0x44d)](this[_0x53d9ce(0x49a)]['registerShortcut'](this['_createQuoteShortcut']()));}[_0x4f3d14(0x346)](){const _0x464006=_0x4f3d14;return{'id':_0x15a211,'binding':_0x80c18b[_0x464006(0x444)]|_0x21a288[_0x464006(0x220)],'priority':0x3e8,'preconditions':_0x5a621b=>_0x5a621b[_0x464006(0x1b3)]('FOCUSING_MIND_MAP_TEXT_EDITOR')&&this[_0x464006(0x32f)][_0x464006(0x31e)](_0x15a211)};}};function _0x4677(){const _0x220eea=['horizontalAlign','BOTTOM','M4.5\x2016.5h4.2c1.9\x200\x203.3-1.5\x203.3-3.3','_findChildNodeAtPoint','JUSTIFIED','getConfig','elementAdd$','notify','underline','textPaddingScreen','_boardElementService','save','elementStateService','quadraticCurveTo','defineProperty','hoveredControl','after','pendingInsert','_ensureDragPreviewObject','activated$','opml','_injector','elementId','BACKSPACE','constructor','boards-mind-ui.toolbar.panel.line','TOP','push','fillStyle','key','register','M15\x2031h50M35\x2031V18c0-4\x203-7\x208-7h9M35\x2031v13c0\x204\x203\x207\x208\x207h9','univer-h-auto\x20univer-min-h-12\x20univer-whitespace-normal\x20univer-px-2\x20univer-py-2','engine','add-child-top','default','102uGUBAA','add-sibling-before','nodeId','793nSDJuP','MindMap','rootTextColor','_resolveCreateChildSide','univer-flex\x20univer-flex-col\x20univer-gap-1','boards-mind-ui.saveDescription','_previewRefreshService','mind-map-font-size','branchLineType','refresh$','_syncRootScopePreview','handleShortcut','16KhlpcH','_stateService','toggle-collapse','data','_pointerDragStart','boards-mind-ui.alignMiddle','_objectPointerDisposables','_activePreview','getElementById','getTemplate','M16\x2029h18c7\x200\x2010-5\x2010-12v-3M34\x2029h10c7\x200\x2010\x205\x2010\x2012v3','_countDescendants','textBaseline','M17\x2033h21M38\x2017v30M38\x2017h24','_renderContext','boards-mind-ui.panel.structureKind.treeRight','getFonts','div','visible','arrow-up','_resolveControlBounds','panel','_applyRootTranslation','onStarting','version','univer-space-y-3','mind-map-stroke','_popupDisposable','primaryColor','_executeCreateAndEdit','_applyDragTopologyAction','fontColor','textColor','ghostTextColor','boards-mind-ui.panel.searchNodes','registerRuntimeScopedDependencies','1.8','selectElements','connectorAlpha','_registerComponents','addSibling','_syncDragPreview','_activeNodeId','find','success','promote','fontSize','addChildNode','board.mind-map.floating-toolbar','Branch','_attachActivePointerDragListeners','clipboardService','all','filter','getShortcutDisplay','objectAlpha','univer-grid-cols-3','_getRenderModules','_captureDragStart','horizontalGap','boards-mind-ui.toolbar.action.stroke','boards-mind-ui.toolbar.primary.fontColor','ENTER','left','_getBoardPointFromEvent','interactionMode','_restoreActivePreview','bottom','px\x20','_nodeSizeByKey','ARROW_UP','disposeWithMe','boards-mind-ui.alignBottom','sourceHighlightStrokeColor','onPointerMove$','collapse-all','length','_applyPointerChildDrag','boards-mind-ui.panel.layout.both','borderWidth','next','registerShortcut','object','univer-size-full\x20univer-bg-gray-0\x20univer-text-sm\x20univer-text-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-200','M12\x2026h11M58\x2036h11M12\x2045h11','_init','rgb','add','dispose','221496yvQkxn','_createTopologyBoundsByElementId','_getPointerLiveBounds','univer-min-w-0\x20univer-flex-1\x20univer-justify-start\x20univer-truncate\x20univer-text-left','11jfvJbA','univer-h-12\x20univer-text-base','_isChildDragPastActivationThreshold','_sidebarService','label','univer-mb-2\x20univer-text-lg\x20univer-text-gray-900','_dragStart','_createShortcutItems','boards-mind-ui.toolbar.action.paste','pipe','_attachObjectEvents','univer-items-center','_disposed','_removeObject','_rememberNodeSize','ghostBounds','layout-panel-divider','subscribeEvent','state$','boards-mind-ui.toolbar.primary.typography','branch-orthogonal','join','_executeAndLayout','lineJoin','board.operation.mind-map.open-panel','addDescription','univer-mb-0','referenceNodeId','get','true','timeline-vertical','editingParams$','activeEditingId','getObjectIncludeInGroup','open','univer-text-xs\x20univer-text-gray-400\x20dark:!univer-text-gray-500','boards-mind-ui.descriptionPlaceholder','text','_componentManager','fallbackNodeHeight','scene','width','removeEventListener','unshift','boards-mind-ui.panel.structureKind.timelineVertical','isFinite','boards-mind-ui.panel.structureKind.timelineHorizontal','repeat(','rounded-orthogonal','dispose$','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','_copySelectedNode','commandService','RoundDot','rootHeight','_shortcutService','defaultValue','_sidebarDisposable','controls','_disposeActivePointerDragListeners','_executeNodeOperation','isInteractionSurfaceActive','boards-mind-ui.panel.tab.structure','some','_configService','hide','boards-mind-ui.alignJustify','_resetContext','localeService','syncExecuteCommand','collapsed','_queuedLayouts','rootChildSides','clearSelection','Dash','font','parseInt','editCurrentNode','arrow-down','_resolveNodeSize','_resolveSelectedMindMapEntryFromState','uiStateService','registerCommand','custom','then','boards-mind-ui.toolbar.action.delete','tree-left','M22\x208h36M22\x2048h36M14\x2018v20M66\x2018v20','detach','getElementData','targetNodeId','bounds','_lastPoint','boards-mind-ui.panel.rename','_object','boards-mind-ui.panel.title','path','restore','liveRootBounds','_isControlEvent','_elementStateService','5gpCBAh','copy','FOCUSING_MIND_MAP_TEXT_EDITOR','ARROW_RIGHT','boards-mind-ui.panel.cancel','_enableMindMapToolbarTool','sort','LEFT','univer-w-20\x20univer-shrink-0','pointerStartX','_resolveRootTopLeft','viewing','univer-grid\x20univer-h-14\x20univer-overflow-hidden\x20univer-rounded-xl\x20univer-bg-gray-100\x20univer-p-1',',\x20minmax(0,\x201fr))','pointerStartY','getContextValue','italic','primary','getAncestorScale','_executeChildDragAction','M47\x2025h13M47\x2035h13M47\x2045h13','text/plain','Enter','value','close','_mindMapClipboardService','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','567828JGJUJj','#d8dce3','branch-curve','hasChildren','fromEntries','_provider','_childDragActivated','snapDistance','childNodeId','boards-mind-ui.panel.structureKind.mindmapVertical','RIGHT','element','_resolveArrowNavigationTarget','Tree\x20diagram','univer-h-7\x20univer-min-w-9\x20univer-w-auto\x20univer-gap-1\x20univer-px-1.5','rootRadius','requestRender','univer-h-28\x20univer-resize-none','ARROW_LEFT','visualRadius','_pasteAsNewMindMap','rootWidth','textStyle','root','boards-mind-ui.panel.spacing.siblingGap','newParentNodeId','rootStartBounds','hostSize','_config','getTransformerByCreate','univer-border-b\x20univer-border-gray-200\x20univer-p-3','stopPropagation','_seedExistingNodeSizes','univer-min-h-12\x20univer-text-xl','_getPointerScreenPoint','add-sibling-or-child','boards-mind-ui.panel.pasteOPML','_resolveChildSide','registerAdapter','boards-mind-ui.config','boards-mind-ui.panel.nodeStyle.style','univer-border-b\x20univer-border-gray-200\x20univer-p-4','zoomRatio','_syncContext','shapeText','resolve','OPERATION','labelKey','boards-mind-ui.panel.branchLineType.curve','paste-as-new','top-center','edit-text','_attachObjectPointerScheduled','univer-w-32','glyphWidth','circle','decorate','set','mindmap-vertical','nodeHeight','radius','_insertMindMap','mind-map-fill','currentColor','attachPopupToObject','6\x207','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','timeline','ghostFontWeight','_resolveSelectedEntry','FOCUSING_MIND_MAP_NODE','focusedId','dropdown','boards-mind-ui.panel.branchLineType.roundedOrthogonal','branch','subUnitId','_getLiveObjectBounds','_objectEventDisposables','ArrowLeft','_cloneBlueprintNode','univer-min-h-12\x20univer-w-full','onPointerDown$','boundsByElementId','_queueLayout','preventDefault','siblingDotRadius','lineCap','sourceHighlightFillColor','_resolveChildDragTopologyAction','textEditingService','boards-mind-ui.panel.nodeStyle.fontSize','M19.5\x207.5h-4.2c-1.9\x200-3.3\x201.5-3.3\x203.3','univer-mb-3\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-gray-100','addChildRadius','_renderManagerService','572131OlHTII','getRenderUnitById','SHIFT','boards-mind-ui.toolbar.action.addChild','fill','dash','oldShapeText','pointermove','asObservable','add-child-left','elementRemove$','board-mind-map-node-controls-object','_executeRootAnchoredLayout','_createKeyboardShortcutOperation','board-mind-map-pending-insert-object','univer-w-full\x20univer-text-xs','_boardCanvasPopManagerService','_popupSelectionKey','_insertStateService','doc','collapsePlusMinDistance','_deleteSelectedNode','onCommandExecuted','add-child-right','getUnit','center','toLowerCase','onDblclick$','detachWhenNoSnap','boards-mind-ui.panel.exportOPML','zIndex','reduce','_syncChildDragPreview','isRootNode','fillText','elementData','buttons','timeline-horizontal','addChild','getCurrentUnitOfType','min','boards-mind-ui.toolbar.primary.line','addEventListener','arc','navigator','setEditing','prototype','setContextValue','_activePointerDragDisposables','_capturePointerChildDragStart','getScene','univer-text-xs','item','getTouchHitDistance','boards-mind-ui.panel.branchLineType.orthogonal','span','clearControl$','both','boards-mind-ui.panel.importOPML','_updateShapeText','activeTool','getState','ArrowUp','univer-bg-[#e8eefc]\x20univer-text-[#2f6fed]\x20hover:univer-bg-[#e8eefc]','color','_isPopupSelectionStillActive','_consumeControlEvent','extraProps','univer-flex\x20univer-justify-end\x20univer-gap-2','opacity','structure','flatMap','fallbackNodeWidth','stroke','boards-mind-ui.panel.layout.left','_template','ignoreExternalFocusChanges','lineWidthScreen','globalAlpha','getBoundingClientRect','univer-text-base','button','icon','dot','univer-space-y-2','618318XMPBrW','move','hideRootControls','_applyScopeTranslation','hypot','svg','getHitControl','surfaceColor','setTemplate','[&_input]:univer-h-12\x20[&_input]:univer-text-base','dividerBefore','univer-flex\x20univer-flex-col\x20univer-gap-2','_resolveIncomingConnectorStyle','_refresh$','style','boards-mind-ui.panel.structureKind.treeAlternate','elementUpdate$','textAlign','boards-mind-ui.panel.spacing.parentGap','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-xs\x20univer-text-gray-600','transientControl','incomingConnectorStyle','right','strikethrough','_boardTextEditingService','univer-flex-1\x20univer-text-sm','lineTo','round','children','has','unitId','mindmap','badgeFontSize','Escape','registerProvider','badgeCount','registerRenderModule','_activeScopeId','changing$','_syncPreviewObject','boards-mind-ui.cancel','boards-mind-ui.toolbar.panel.typography','univer-size-6\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200','enabled','parentNodeId','vertical','none','moveTo','univer-min-h-12\x20univer-flex-1','call','offsetY','collapseAllNodes','univer-min-h-12\x20univer-px-3','boards-mind-ui.panel.spacing.branchGap','add-child','_ensurePreviewObject','parentBounds','univer-h-32\x20univer-resize-none\x20univer-text-sm','univer-text-gray-500','createRunner','closePath','section','_ensureObject','univer-grid\x20univer-grid-cols-4\x20univer-gap-2','strokeWidth','_openDescriptionDialog','_showPopupForSelection','siblingGap','pointercancel','function','CENTER','univer-max-w-[min(760px,calc(100vw-32px))]','_removePreviewObject','layout','ghostFillColor','boards-mind-ui.alignCenter','show','getSelectedObjectMap','map','_getBlankBoardContext','addObject','_getPointFromEvent','pluginName','univer-space-y-1','getActivePageId','makeDirtyNoDebounce','orderKey','add-child-bottom','params','rootText','_drawSourceHighlight','tree-diagram','open-description','fontFamily','forEach','_clearPopup','textFill','beginMindMapMode','_syncPointerChildDragPreview','branch-rounded-orthogonal','action','glyphHoverWidth','_textEditingService','_resolveCurrentBoardContext','_layoutFlushScheduled','@univerjs-pro/boards-mind-ui','boards-mind-ui.panel.tab.layout','beginPath','values','_state','top','_getMindMapChildren','20JTorTm','unit','updateState','branchGap','_getZoomRatio','_normalizeChildren','foreignAttributes','structureScopeId','slice','_cloneBlueprint','titleKey','before','items','_previewObject','_removeDragPreviewObject','_resolveCompleteSelectedScope','_addChild','arrow-right','orthogonal','tree-alternate','M40\x209v40M40\x2020c8\x200\x2011\x204\x2011\x2011v8M40\x2035c-8\x200-11\x204-11\x2011v4','boards-mind-ui.panel.emptyNodes','evented','univer-mb-4','1.1.0','bold','_instanceSrv','deviceType','siblingHoverRadius','univer-flex-wrap','scaleX','pointerup','getInjector','rootFontWeight','siblingDotGap','child','ghostRadius','glyphSize','getOwnPropertyDescriptor','scope','_childDragSelectionHidden','_undoRedoGroupService','univer-size-5','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-4','Touch','getSnapshot','_openSelectedTextEditing','MIDDLE','renderContext','line','kind','M56\x2012v32M56\x2019c0\x204-3\x206-7\x206h-7M56\x2029c0\x204-3\x206-7\x206h-7M56\x2039c0\x204-3\x206-7\x206h-7','_getSelectedMindMapContext','boards-mind-ui.description','complete','unsubscribe','point','max','dataTransfer','hasCommand','verticalAlign','ArrowDown','rgba(','_uiStateService','effectAllowed','_getSceneObject','_getDependencies','dialogService','clientX','_updateHostSize','_syncLayoutPreview','symbol','_scheduleAttachObjectPointerListeners','makeDirty','executeCommand','tools','_commandService','transform','univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-p-4','_hideSelectionForChildDrag','delete','mindmap-horizontal','_localeService','skipNextObservers','curve','_intrinsicSizeService','_initEditingRestore','renderGhostNode','updateElement','panOffset','_handlePointerMove','_isPointInBounds','TRUE','dashType','removeObjects','collapsedDescendantCount','clear','board-mind-map-drag-preview-object','subscribe','_createQuoteShortcut','_collapseAll','importExport','board.operation.mind-map.keyboard-shortcut','_getBoardsUIConfig','_dragPreviewObject','isRoot','changeEnd$','allowRootReparent','_resolveRootChildControlSides','side','string','getUnitId','popup','preview','strokeStyle','middle','_lastChildDragAction','small','timelineAxisGap','univer-flex\x20univer-min-w-0\x20univer-flex-1\x20univer-gap-2','UNIVER_BOARD','fonts$','foldChildNodes','structureKind','dragObjectAlpha','render','connectorAffordance','keys','setConfig','_contextService','objects','writeText','ghost','includes','touchHitRadius','abs','M56\x2011h11M56\x2051h11','blueprint','height','viewportPanOffset','arrow-left','getPayload','depth','_previewHostSize','M42\x2012v32M42\x2020c0\x204-3\x206-7\x206h-7M42\x2030c0\x204\x203\x206\x207\x206h7M42\x2039c0\x204-3\x206-7\x206h-7','from','selectedIds','onPointerUp$','_syncElementDataToScene','tree-right','univer-w-24','_navigateByTopology','siblingGlyphSize','lineWidth','connectorData','boards-mind-ui.panel.layout.right','sourceDashScreen','rootNodeId','paste','connector','findIndex','_restoreObjectToDragStart','offsetX','_pasteUnderSelectedNode','trim','boards-mind-ui.panel.structureKind.treeLeft','dataModel','_getElementKey','shapeData','_syncControls','onReady','_consumePointerEvent','clientY','direction','boards-mind-ui.panel.addText','_cancelPointerChildDrag','ArrowRight','_clearPopupIfSelectionChanged','isTransforming','boards-mind-ui.toolbar.action.copy','isHit','534XdPoze','univer-flex\x20univer-gap-2','412434HJRsJd','sourceHaloScreen','dirtyPaddingScreen','_instanceService','_resolveHostSize','univer-flex\x20univer-items-center\x20univer-gap-1\x20univer-truncate\x20univer-rounded\x20univer-py-1\x20univer-text-left\x20univer-text-gray-800','_resolveDirtyBounds','_buildPopupSelectionKey','0\x200\x2080\x2056','univer-min-h-12\x20univer-w-full\x20univer-justify-between','setData','run','Shape','_resolveControlSide','divider-','scopeId','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','more','context','typography','scaleY','boards-mind-ui.toolbar.panel.more','reparent','univer-h-12\x20univer-w-32\x20univer-text-base','_handlePointerDown','_isActive','_interactionSurfaceService','type','focus','getObject','nodeWidth','_resolvePreviewSourceBounds','number','toolbar','boards-mind-ui.panel.tab.importExport','createControl$','transformByState','documentStyle','toPrimitive','_resolvePreviewTextStyle','title','shapeId','_attachObjectPointerListeners','setPendingInsert','FOCUSING_MIND_MAP_BLANK_BOARD','addSiblingNode','_syncRootReparentPreview','placement','clipboard','rootFontSize','onPointerCancel$','add-sibling-after','0\x200\x2024\x2024','setActiveTool','univer-mb-3\x20univer-w-full','sourceBounds','elementService'];_0x4677=function(){return _0x220eea;};return _0x4677();}zr=J([q(0x0,_0x27d0fe),q(0x1,_0x2c1c63)],zr);const Br=[Mn,Nn,Rr];let Vr=class extends _0x41f8e5{constructor(_0x38f41c,_0x3b185f,_0x360461,_0x2ce1b4,_0x28242c){const _0x5491d3=_0x4f3d14;super(),this[_0x5491d3(0x414)]=_0x38f41c,this[_0x5491d3(0x3dd)]=_0x3b185f,this[_0x5491d3(0x1a3)]=_0x360461,this['_textEditingService']=_0x2ce1b4,this[_0x5491d3(0x364)]=_0x28242c,K(this,'_isActive',!0x1),this['disposeWithMe'](_0x122c68(this[_0x5491d3(0x414)][_0x5491d3(0x3e6)]['pipe'](_0x41cd5b(this['dispose$']))['subscribe'](_0x1af0b9=>{const _0x2016a7=_0x5491d3;this[_0x2016a7(0x3b3)]=_0x1af0b9,this[_0x2016a7(0x1ea)]();}))),this[_0x5491d3(0x44d)](_0x122c68(this['_elementStateService']['state$'][_0x5491d3(0x46c)](_0x41cd5b(this[_0x5491d3(0x494)]))[_0x5491d3(0x345)](()=>{const _0x2ba0d3=_0x5491d3;this[_0x2ba0d3(0x1ea)]();}))),this['disposeWithMe'](_0x122c68(this['_textEditingService'][_0x5491d3(0x482)]['pipe'](_0x41cd5b(this[_0x5491d3(0x494)]))[_0x5491d3(0x345)](()=>{this['_syncContext']();}))),this[_0x5491d3(0x1ea)]();}['_syncContext'](){const _0x4498a8=_0x4f3d14;var _0x133319,_0x1378dc;let _0x1f88f8=this[_0x4498a8(0x1a3)][_0x4498a8(0x310)](),_0x47fe90=this['_textEditingService']['getEditing'](),_0x53abbf=_0x47fe90!=null&&_0x47fe90[_0x4498a8(0x418)]?_0x47fe90[_0x4498a8(0x3c3)]:_0x1f88f8[_0x4498a8(0x483)],_0x40247d=_0x1f88f8['focusedId']??_0x1f88f8[_0x4498a8(0x375)][0x0],_0x63aa93=_0x1f88f8[_0x4498a8(0x3ac)]??{'unitId':this[_0x4498a8(0x414)][_0x4498a8(0x291)],'subUnitId':this[_0x4498a8(0x414)][_0x4498a8(0x2e4)][_0x4498a8(0x2c7)]()},_0x5c1a06=this[_0x4498a8(0x3b3)]&&!!_0x40247d&&_0x1f88f8[_0x4498a8(0x375)][_0x4498a8(0x452)]===0x1&&!_0x53abbf&&!_0x1f88f8[_0x4498a8(0x395)],_0x525f70=this[_0x4498a8(0x3b3)]?this[_0x4498a8(0x3dd)][_0x4498a8(0x198)](_0x63aa93['unitId'],_0x63aa93[_0x4498a8(0x20a)]):{};this['_contextService'][_0x4498a8(0x24d)](Mn,_0x5c1a06&&!!_0x5585ba((_0x133319=_0x525f70[_0x40247d])==null?void 0x0:_0x133319['element'])),this[_0x4498a8(0x364)][_0x4498a8(0x24d)](Nn,this[_0x4498a8(0x3b3)]&&_0x1f88f8['selectedIds']['length']===0x0&&!_0x1f88f8[_0x4498a8(0x206)]&&!_0x53abbf&&!_0x1f88f8[_0x4498a8(0x395)]),this[_0x4498a8(0x364)][_0x4498a8(0x24d)](Rr,!!_0x53abbf&&!!_0x5585ba((_0x1378dc=_0x525f70[_0x53abbf])==null?void 0x0:_0x1378dc[_0x4498a8(0x1ca)]));}['dispose'](){const _0x37cfc3=_0x4f3d14;this[_0x37cfc3(0x4a6)](),super[_0x37cfc3(0x45e)]();}[_0x4f3d14(0x4a6)](){const _0x3066f3=_0x4f3d14;Br['forEach'](_0x51a9d5=>this[_0x3066f3(0x364)]['setContextValue'](_0x51a9d5,!0x1));}};Vr=J([q(0x1,_0x132a38(_0x5c495f)),q(0x2,_0x132a38(_0x16fdab)),q(0x3,_0x132a38(_0x2d7b12)),q(0x4,_0x22ca73)],Vr);var Hr=class extends wr{async['_handlePointerDown'](_0x5f44a0,_0xbc699c,_0x5dc551){const _0x192ca8=_0x4f3d14;await this[_0x192ca8(0x1fc)](_0x5f44a0,_0xbc699c,_0x5dc551);}};const Ur={'id':_0x4f3d14(0x47b),'type':_0x470c85[_0x4f3d14(0x1ed)],'handler':(_0x27966d,_0x4741e3)=>!!(_0x4741e3!=null&&_0x4741e3[_0x4f3d14(0x291)])&&!!_0x4741e3[_0x4f3d14(0x20a)]&&!!_0x4741e3[_0x4f3d14(0x3a9)]},Wr='board.mind-map.panel',Gr=[_0x4f3d14(0x264),_0x4f3d14(0x2bc),_0x4f3d14(0x348)];_0x1fa9e8[_0x4f3d14(0x441)],_0x1fa9e8['siblingGap'],_0x1fa9e8[_0x4f3d14(0x2e6)];const Kr=[{'labelKey':_0x4f3d14(0x285),'key':_0x4f3d14(0x441),..._0x3fb7b7[_0x4f3d14(0x441)]},{'labelKey':_0x4f3d14(0x1d7),'key':_0x4f3d14(0x2b6),..._0x3fb7b7[_0x4f3d14(0x2b6)]},{'labelKey':_0x4f3d14(0x2a8),'key':'branchGap',..._0x3fb7b7[_0x4f3d14(0x2e6)]}],qr=[{'labelKey':_0x4f3d14(0x37e),'value':'right'},{'labelKey':_0x4f3d14(0x268),'value':_0x4f3d14(0x445)},{'labelKey':_0x4f3d14(0x454),'value':_0x4f3d14(0x257)}],Jr=[{'labelKey':'boards-mind-ui.panel.structureKind.mindmapHorizontal','value':_0x4f3d14(0x334)},{'labelKey':_0x4f3d14(0x1c8),'value':_0x4f3d14(0x1f9)},{'labelKey':'boards-mind-ui.panel.structureKind.treeRight','value':_0x4f3d14(0x378)},{'labelKey':_0x4f3d14(0x388),'value':_0x4f3d14(0x195)},{'labelKey':_0x4f3d14(0x282),'value':_0x4f3d14(0x2f6)},{'labelKey':_0x4f3d14(0x491),'value':_0x4f3d14(0x243)},{'labelKey':_0x4f3d14(0x48f),'value':'timeline-vertical'}],Yr=[{'labelKey':_0x4f3d14(0x1ef),'value':_0x4f3d14(0x337)},{'labelKey':_0x4f3d14(0x208),'value':'rounded-orthogonal'},{'labelKey':_0x4f3d14(0x254),'value':'orthogonal'}];function Xr(_0x5261c6){const _0x185db7=_0x4f3d14;let _0x53b981=(_0x5261c6==null?void 0x0:_0x5261c6[_0x185db7(0x35e)])??_0x1fa9e8[_0x185db7(0x35e)];return{'spacing':{'horizontalGap':(_0x5261c6==null?void 0x0:_0x5261c6[_0x185db7(0x441)])??_0x1fa9e8[_0x185db7(0x441)],'siblingGap':(_0x5261c6==null?void 0x0:_0x5261c6[_0x185db7(0x2b6)])??_0x1fa9e8[_0x185db7(0x2b6)],'branchGap':(_0x5261c6==null?void 0x0:_0x5261c6[_0x185db7(0x2e6)])??_0x1fa9e8[_0x185db7(0x2e6)]},'direction':(_0x5261c6==null?void 0x0:_0x5261c6[_0x185db7(0x390)])??_0x1fa9e8['direction'],'structureKind':_0x53b981,'branchLineType':_0x22ba0f(_0x53b981,_0x5261c6==null?void 0x0:_0x5261c6['branchLineType'])};}async function Zr(_0x257eef,_0x36981a){const _0x305134=_0x4f3d14;return await Promise[_0x305134(0x1ec)](_0x257eef[_0x305134(0x32d)](_0x32999d['id'],_0x36981a))?(await Promise[_0x305134(0x1ec)](_0x257eef[_0x305134(0x32d)](_0x4b5dc4['id'],{'unitId':_0x36981a[_0x305134(0x291)],'subUnitId':_0x36981a[_0x305134(0x20a)],'scopeId':_0x36981a['scopeId']})),!0x0):!0x1;}async function Qr(_0x1af0ab,_0x564235){const _0x55a12d=_0x4f3d14;return await Promise[_0x55a12d(0x1ec)](_0x1af0ab[_0x55a12d(0x32d)](_0x523acc['id'],_0x564235))?(await Promise[_0x55a12d(0x1ec)](_0x1af0ab['executeCommand'](_0x4b5dc4['id'],{'unitId':_0x564235[_0x55a12d(0x291)],'subUnitId':_0x564235[_0x55a12d(0x20a)],'scopeId':_0x564235[_0x55a12d(0x3a9)]})),!0x0):!0x1;}async function $r(_0x54b294,_0x413375){const _0x36160b=_0x4f3d14;return await Promise[_0x36160b(0x1ec)](_0x54b294[_0x36160b(0x32d)](_0x32999d['id'],{'unitId':_0x413375[_0x36160b(0x291)],'subUnitId':_0x413375[_0x36160b(0x20a)],'scopeId':_0x413375[_0x36160b(0x3a9)],..._0x413375[_0x36160b(0x441)]===void 0x0?{}:{'horizontalGap':_0x413375[_0x36160b(0x441)]},..._0x413375['siblingGap']===void 0x0?{}:{'siblingGap':_0x413375[_0x36160b(0x2b6)]},..._0x413375[_0x36160b(0x2e6)]===void 0x0?{}:{'branchGap':_0x413375[_0x36160b(0x2e6)]}}))?(await Promise[_0x36160b(0x1ec)](_0x54b294['executeCommand'](_0x4b5dc4['id'],{'unitId':_0x413375['unitId'],'subUnitId':_0x413375['subUnitId'],'scopeId':_0x413375[_0x36160b(0x3a9)]})),!0x0):!0x1;}async function ei(_0x69ca3d,_0x2005f4){const _0x5d1f62=_0x4f3d14;return _0x2005f4[_0x5d1f62(0x3f9)]===_0x2005f4[_0x5d1f62(0x199)]||!await Promise[_0x5d1f62(0x1ec)](_0x69ca3d[_0x5d1f62(0x32d)](_0x2f561c['id'],{'unitId':_0x2005f4[_0x5d1f62(0x291)],'subUnitId':_0x2005f4[_0x5d1f62(0x20a)],'nodeId':_0x2005f4[_0x5d1f62(0x3f9)],'targetNodeId':_0x2005f4['targetNodeId'],'referenceNodeId':_0x2005f4[_0x5d1f62(0x199)],'placement':_0x2005f4['placement']}))?!0x1:(await Promise[_0x5d1f62(0x1ec)](_0x69ca3d['executeCommand'](_0x4b5dc4['id'],{'unitId':_0x2005f4[_0x5d1f62(0x291)],'subUnitId':_0x2005f4[_0x5d1f62(0x20a)],'scopeId':_0x2005f4[_0x5d1f62(0x3a9)]})),!0x0);}async function ti(_0x58bdc3,_0x43de8a){const _0x1057ed=_0x4f3d14;let _0xc8fab7=_0x43de8a[_0x1057ed(0x488)]['trim']();return!_0xc8fab7||!await Promise[_0x1057ed(0x1ec)](_0x58bdc3[_0x1057ed(0x32d)](_0x3d67d8['id'],{'unitId':_0x43de8a[_0x1057ed(0x291)],'subUnitId':_0x43de8a[_0x1057ed(0x20a)],'nodeId':_0x43de8a[_0x1057ed(0x3f9)],'text':_0xc8fab7}))?!0x1:(await Promise[_0x1057ed(0x1ec)](_0x58bdc3[_0x1057ed(0x32d)](_0x4b5dc4['id'],{'unitId':_0x43de8a[_0x1057ed(0x291)],'subUnitId':_0x43de8a[_0x1057ed(0x20a)],'scopeId':_0x43de8a[_0x1057ed(0x3a9)]})),!0x0);}async function ni(_0x12868e){const _0x125940=_0x4f3d14;var _0x93f76c;let _0xd30797=(_0x93f76c=globalThis[_0x125940(0x24a)])==null?void 0x0:_0x93f76c[_0x125940(0x3ca)];return _0xd30797!=null&&_0xd30797[_0x125940(0x366)]?(await _0xd30797[_0x125940(0x366)](_0x12868e),!0x0):!0x1;}async function ri(_0x1dd79e,_0xc7c986,_0x2a7f1e=ni){const _0x387336=_0x4f3d14;let _0x31ffcd=await Promise[_0x387336(0x1ec)](_0x1dd79e[_0x387336(0x32d)](_0x1d834a['id'],_0xc7c986));if(typeof _0x31ffcd!=_0x387336(0x351)||!_0x31ffcd)return!0x1;try{return await _0x2a7f1e(_0x31ffcd)!==!0x1;}catch{return!0x1;}}async function ii(_0x24dbae,_0x334291){const _0x2dd7ee=_0x4f3d14;return _0x334291[_0x2dd7ee(0x3e7)]['trim']()?(await _0x24dbae[_0x2dd7ee(0x32d)](_0x3b34fe['id'],_0x334291))[_0x2dd7ee(0x432)]:!0x1;}function ai(_0x2f1039,_0x19a298){const _0x296c96=_0x4f3d14;let _0xe0a2ed='shapeData'in _0x2f1039['element']?_0x2f1039[_0x296c96(0x1ca)]['shapeData'][_0x296c96(0x1eb)]:void 0x0;return(_0xe0a2ed==null?void 0x0:_0xe0a2ed[_0x296c96(0x488)])||_0x19a298;}function oi(_0x369fd7,_0x5afd33,_0x44fd74=_0x251b5d){const _0x1e6fe1=_0x4f3d14;let _0x2f79bb=Object['values'](_0x369fd7)[_0x1e6fe1(0x2c1)](_0x4b7636=>{const _0x5a236c=_0x1e6fe1;let _0x35781f=_0x5585ba(_0x4b7636[_0x5a236c(0x1ca)]);return(_0x35781f==null?void 0x0:_0x35781f[_0x5a236c(0x2ea)])===_0x5afd33?{'data':_0x4b7636,'meta':_0x35781f}:null;})[_0x1e6fe1(0x43b)](_0x1f3be7=>!!_0x1f3be7),_0x3c9ff3=new Map();_0x2f79bb[_0x1e6fe1(0x2d1)](_0x4d37fb=>{const _0x3817ac=_0x1e6fe1;let _0x1df638=_0x4d37fb['meta'][_0x3817ac(0x29f)];_0x3c9ff3[_0x3817ac(0x1f8)](_0x1df638,[..._0x3c9ff3[_0x3817ac(0x47f)](_0x1df638)??[],_0x4d37fb]);}),_0x3c9ff3[_0x1e6fe1(0x2d1)](_0x322578=>{const _0x3dee27=_0x1e6fe1;_0x322578[_0x3dee27(0x1aa)]((_0x1f72bf,_0xe22dc2)=>_0x401170(_0x1f72bf['meta'][_0x3dee27(0x2c9)],_0xe22dc2['meta'][_0x3dee27(0x2c9)])||_0x1f72bf['data']['elementId']['localeCompare'](_0xe22dc2[_0x3dee27(0x409)][_0x3dee27(0x3e9)]));});let _0x154035=[],_0x557868=(_0x1fe07b,_0x21d4dd)=>{(_0x3c9ff3['get'](_0x1fe07b)??[])['forEach'](_0x2d924e=>{const _0x817fd7=_0x5652;_0x154035[_0x817fd7(0x3ee)]({'nodeId':_0x2d924e[_0x817fd7(0x409)][_0x817fd7(0x3e9)],'depth':_0x21d4dd,'text':ai(_0x2d924e['data'],_0x44fd74)}),_0x557868(_0x2d924e['data'][_0x817fd7(0x3e9)],_0x21d4dd+0x1);});};return _0x557868(null,0x0),_0x154035;}function _0x5652(_0x32d8e8,_0x1984a1){_0x32d8e8=_0x32d8e8-0x18f;const _0x46778b=_0x4677();let _0x5652b9=_0x46778b[_0x32d8e8];return _0x5652b9;}function si(_0x11ac1b,_0x23c1f9){const _0x4edf86=_0x4f3d14;let _0x139566=_0x23c1f9[_0x4edf86(0x387)]()[_0x4edf86(0x238)]();return _0x139566?_0x11ac1b['filter'](_0x3da873=>_0x3da873[_0x4edf86(0x488)][_0x4edf86(0x238)]()[_0x4edf86(0x368)](_0x139566)):_0x11ac1b;}function ci(_0x58a654){const _0x624c62=_0x4f3d14;return{'paddingInlineStart':0x8+(Number[_0x624c62(0x490)](_0x58a654)&&_0x58a654>0x0?_0x58a654:0x0)*0x10};}function li(_0x2991b5){const _0x162210=_0x4f3d14;return _0x9b9447(_0x373ab1,{'className':_0x162210(0x22d),..._0x2991b5});}function ui(_0x1ed62e){const _0x43af3e=_0x4f3d14;return _0x27b706(_0x43af3e(0x2b0),{'className':_0x461cd5(_0x43af3e(0x1e8),_0x2d215c),'data-board-mind-map-panel-section':_0x43af3e(0x480),'children':[_0x9b9447('h3',{'className':_0x43af3e(0x21b),'children':_0x1ed62e[_0x43af3e(0x3c2)]}),_0x1ed62e['children']]});}function di(_0x5d9589,_0x37a958=_0x4f3d14(0x264)){const _0x1bcd02=_0x4f3d14;var _0x2554ad,_0x36d7b0,_0xbd4a1;let _0x1222e4=_0x1bf837(_0x27d0fe),_0x53ca3b=_0x1bf837(_0x16fdab),_0x563c7d=_0x1bf837(_0x5c495f),_0x1137ae=_0x1bf837(_0x4eab55),[,_0x152ff7]=_0x21ba50(_0x4ee3e5=>_0x4ee3e5+0x1,0x0);_0x4d0c04(()=>{const _0x64b3bc=_0x5652;let _0x3e3b91=_0x3a40cc(_0x563c7d[_0x64b3bc(0x3d9)],_0x563c7d[_0x64b3bc(0x283)],_0x563c7d[_0x64b3bc(0x228)])['subscribe'](_0x1ace92=>{const _0x4db00b=_0x64b3bc;_0x1ace92['some'](_0x4ee604=>_0x4ee604[_0x4db00b(0x291)]===_0x5d9589[_0x4db00b(0x291)]&&_0x4ee604[_0x4db00b(0x20a)]===_0x5d9589[_0x4db00b(0x20a)])&&_0x152ff7();});return()=>_0x3e3b91[_0x64b3bc(0x31a)]();},[_0x563c7d,_0x5d9589['unitId'],_0x5d9589[_0x1bcd02(0x20a)]]);let _0x474a0b=_0x563c7d['getElementData'](_0x5d9589[_0x1bcd02(0x291)],_0x5d9589['subUnitId']),_0x3e1fe2=oi(_0x474a0b,_0x5d9589[_0x1bcd02(0x3a9)],_0x1137ae['t'](_0x1bcd02(0x391))),_0x525cc1=(_0x2554ad=_0x487e3a((_0x36d7b0=_0x474a0b[_0x5d9589['scopeId']])==null?void 0x0:_0x36d7b0[_0x1bcd02(0x1ca)]))==null?void 0x0:_0x2554ad[_0x1bcd02(0x2bc)],[_0x1e9d1c,_0x2f5ff0]=_0x34d7b2(''),[_0x5d9e38,_0x11cde5]=_0x34d7b2(null),[_0x17e0b5,_0x20b32f]=_0x34d7b2(''),{spacing:_0x390be7,direction:_0x1cab0d,structureKind:_0xd2d564,branchLineType:_0x165584}=Xr(_0x525cc1),[_0x5e0119,_0x2e0d41]=_0x34d7b2(null),[_0x4ec8b2,_0x25008d]=_0x34d7b2(_0x37a958),_0x8b2c55=si(_0x3e1fe2,_0x1e9d1c),_0x4fc74f={'unitId':_0x5d9589[_0x1bcd02(0x291)],'subUnitId':_0x5d9589[_0x1bcd02(0x20a)],'scopeId':_0x5d9589['scopeId']};return{'commandService':_0x1222e4,'elementStateService':_0x53ca3b,'localeService':_0x1137ae,'query':_0x1e9d1c,'setQuery':_0x2f5ff0,'editingOutlineNode':_0x5d9e38,'setEditingOutlineNode':_0x11cde5,'opmlText':_0x17e0b5,'setOpmlText':_0x20b32f,'spacing':_0x390be7,'layoutDirection':_0x1cab0d,'structureKind':_0xd2d564,'branchLineType':_0x165584,'setDraggedOutlineNodeId':_0x2e0d41,'activeTab':_0x4ec8b2,'setActiveTab':_0x25008d,'visibleOutlineItems':_0x8b2c55,'baseParams':_0x4fc74f,'tabItems':Gr['map'](_0x178b26=>({'label':_0x1137ae['t']('boards-mind-ui.panel.tab.'+_0x178b26),'value':_0x178b26})),'selectedNode':_0x5d9589[_0x1bcd02(0x3f9)]?(_0xbd4a1=_0x474a0b[_0x5d9589[_0x1bcd02(0x3f9)]])==null?void 0x0:_0xbd4a1['element']:void 0x0,'branchLineItems':Yr['filter'](_0x40c4d8=>_0x40c4d8[_0x1bcd02(0x1bb)]!==_0x1bcd02(0x337)||_0x35ce36(_0xd2d564)),'changeLayout':_0x2d063d=>Zr(_0x1222e4,{..._0x4fc74f,'direction':_0x2d063d}),'changeStructureKind':_0x1e2ed2=>{let _0xca265=_0x22ba0f(_0x1e2ed2,_0x165584);return Zr(_0x1222e4,{..._0x4fc74f,'structureKind':_0x1e2ed2,..._0xca265===_0x165584?null:{'branchLineType':_0xca265}});},'changeBranchLineType':_0x59a2fd=>{let _0x2e3319=_0x22ba0f(_0xd2d564,_0x59a2fd);return Qr(_0x1222e4,{..._0x4fc74f,'branchLineType':_0x2e3319});},'changeSpacing':(_0x4a0f7c,_0x5acd0b)=>{let _0x44712b={..._0x390be7,[_0x4a0f7c]:_0x5acd0b};return $r(_0x1222e4,{..._0x4fc74f,..._0x44712b});},'importOpml':()=>{const _0x2a9692=_0x1bcd02;ii(_0x1222e4,{'unitId':_0x5d9589[_0x2a9692(0x291)],'subUnitId':_0x5d9589[_0x2a9692(0x20a)],'left':0x78,'top':0x78,'opml':_0x17e0b5})[_0x2a9692(0x193)](_0x1088bb=>{_0x1088bb&&_0x20b32f('');});},'exportOpml':()=>ri(_0x1222e4,_0x4fc74f),'startRenameNode':(_0x804f26,_0xd516f8)=>{_0x11cde5({'nodeId':_0x804f26,'text':_0xd516f8});},'commitRenameNode':()=>{const _0x5bbb8c=_0x1bcd02;_0x5d9e38&&ti(_0x1222e4,{..._0x4fc74f,'nodeId':_0x5d9e38[_0x5bbb8c(0x3f9)],'text':_0x5d9e38['text']})[_0x5bbb8c(0x193)](_0x33f70c=>{_0x33f70c&&_0x11cde5(null);});},'reorderNode':(_0x4d97b6,_0x44d8bf)=>{const _0x43aeb4=_0x1bcd02;if(_0x4d97b6['preventDefault'](),!_0x5e0119||_0x5e0119===_0x44d8bf)return;let _0x10282b=_0x4d97b6['currentTarget'][_0x43aeb4(0x26d)](),_0x34c187=_0x4d97b6['clientY']<_0x10282b[_0x43aeb4(0x2e1)]+_0x10282b[_0x43aeb4(0x36d)]/0x2?_0x43aeb4(0x2ee):_0x43aeb4(0x3e3);_0x2e0d41(null),ei(_0x1222e4,{..._0x4fc74f,'nodeId':_0x5e0119,'targetNodeId':_0x44d8bf,'placement':_0x34c187});}};}function fi(_0x4f26d0){const _0x58396d=_0x4f3d14;let {elementStateService:_0x15c167,localeService:_0x214835,query:_0x589913,setQuery:_0x87c93,editingOutlineNode:_0x1f1c4d,setEditingOutlineNode:_0x5672e1,opmlText:_0xf2c94e,setOpmlText:_0x3d69b6,spacing:_0x1bd4d7,layoutDirection:_0x4ccaa8,structureKind:_0x2a27b6,branchLineType:_0x5a5517,setDraggedOutlineNodeId:_0xb4eff9,activeTab:_0x23dac8,setActiveTab:_0x1875ba,visibleOutlineItems:_0x9f31f1,tabItems:_0x247e60,branchLineItems:_0x1e0c1d,changeLayout:_0x2f7c16,changeStructureKind:_0x5392da,changeBranchLineType:_0x1ab59f,changeSpacing:_0x3b4b38,importOpml:_0x5c2423,exportOpml:_0x14cfac,startRenameNode:_0x91f420,commitRenameNode:_0x4ac2c9,reorderNode:_0x63d7b1}=di(_0x4f26d0);return _0x27b706(_0x58396d(0x417),{'className':_0x58396d(0x459),'data-board-mind-map-panel':_0x58396d(0x480),'children':[_0x9b9447('div',{'className':_0x461cd5(_0x58396d(0x1dd),_0x2d215c),'data-board-mind-map-panel-tabs':_0x58396d(0x480),'children':_0x9b9447(li,{'items':_0x247e60,'value':_0x23dac8,'onChange':_0x2245ad=>_0x1875ba(_0x2245ad)})}),_0x23dac8===_0x58396d(0x264)&&_0x9b9447(ui,{'title':_0x214835['t'](_0x58396d(0x4a1)),'children':_0x27b706(_0x58396d(0x417),{'children':[_0x9b9447(_0x163e88,{'slot':_0x9b9447(_0x228aaa,{}),'value':_0x589913,'placeholder':_0x214835['t']('boards-mind-ui.panel.searchNodes'),'className':_0x461cd5(_0x58396d(0x3d0),!0x1),'onChange':_0x87c93}),_0x9f31f1['length']?_0x9b9447('ol',{'className':_0x58396d(0x2c6),'children':_0x9f31f1[_0x58396d(0x2c1)](_0x152567=>_0x9b9447('li',{'draggable':!0x0,'className':_0x58396d(0x39f),'style':ci(_0x152567['depth']),'onDragStart':_0xf90786=>{const _0x1f9a21=_0x58396d;var _0x55e4b6;_0xb4eff9(_0x152567[_0x1f9a21(0x3f9)]),(_0x55e4b6=_0xf90786[_0x1f9a21(0x31d)])==null||_0x55e4b6[_0x1f9a21(0x3a4)](_0x1f9a21(0x1b9),_0x152567[_0x1f9a21(0x3f9)]),_0xf90786[_0x1f9a21(0x31d)]&&(_0xf90786[_0x1f9a21(0x31d)][_0x1f9a21(0x323)]=_0x1f9a21(0x274));},'onDragOver':_0x5c8b41=>{const _0x101a28=_0x58396d;_0x5c8b41['preventDefault'](),_0x5c8b41[_0x101a28(0x31d)]&&(_0x5c8b41[_0x101a28(0x31d)]['dropEffect']=_0x101a28(0x274));},'onDrop':_0x573719=>_0x63d7b1(_0x573719,_0x152567[_0x58396d(0x3f9)]),'onDragEnd':()=>_0xb4eff9(null),'children':(_0x1f1c4d==null?void 0x0:_0x1f1c4d[_0x58396d(0x3f9)])===_0x152567[_0x58396d(0x3f9)]?_0x27b706('div',{'className':_0x461cd5(_0x58396d(0x35a),_0x58396d(0x46e)),'children':[_0x9b9447(_0x163e88,{'autoFocus':!0x0,'size':'small','className':void 0x0,'value':_0x1f1c4d[_0x58396d(0x488)],'onChange':_0x36a683=>_0x5672e1({'nodeId':_0x152567[_0x58396d(0x3f9)],'text':_0x36a683}),'onKeyDown':_0x1522b5=>{const _0x30b8fb=_0x58396d;_0x1522b5['key']===_0x30b8fb(0x1ba)&&_0x4ac2c9(),_0x1522b5[_0x30b8fb(0x3f0)]===_0x30b8fb(0x294)&&_0x5672e1(null);}}),_0x9b9447(_0x8c8b61,{'className':void 0x0,'size':_0x58396d(0x358),'variant':_0x58396d(0x1b5),'disabled':!_0x1f1c4d[_0x58396d(0x488)]['trim'](),'onClick':_0x4ac2c9,'children':_0x214835['t'](_0x58396d(0x19c))}),_0x9b9447(_0x8c8b61,{'className':void 0x0,'size':_0x58396d(0x358),'variant':_0x58396d(0x3f6),'onClick':()=>_0x5672e1(null),'children':_0x214835['t'](_0x58396d(0x1a8))})]}):_0x27b706(_0x219099,{'children':[_0x9b9447(_0x8c8b61,{'size':_0x58396d(0x358),'variant':_0x58396d(0x367),'className':_0x461cd5('univer-min-w-0\x20univer-flex-1\x20univer-justify-start\x20univer-truncate\x20univer-text-left',!0x1),'onClick':()=>_0x15c167[_0x58396d(0x42b)]({'unitId':_0x4f26d0[_0x58396d(0x291)],'subUnitId':_0x4f26d0[_0x58396d(0x20a)]},[_0x152567[_0x58396d(0x3f9)]],_0x152567[_0x58396d(0x3f9)]),'children':_0x152567[_0x58396d(0x488)]}),_0x9b9447(_0x8c8b61,{'className':_0x461cd5('univer-text-gray-500',_0x58396d(0x251)),'size':'small','variant':_0x58396d(0x3f6),'onClick':()=>_0x91f420(_0x152567[_0x58396d(0x3f9)],_0x152567['text']),'children':_0x214835['t'](_0x58396d(0x19c))})]})},_0x152567[_0x58396d(0x3f9)]))}):_0x9b9447(_0x58396d(0x417),{'className':_0x58396d(0x486),'data-board-mind-map-panel-empty-state':_0x58396d(0x480),'children':_0x214835['t'](_0x58396d(0x2f8))})]})}),_0x23dac8===_0x58396d(0x2bc)&&_0x9b9447(ui,{'title':_0x214835['t'](_0x58396d(0x2dd)),'children':_0x27b706('div',{'className':_0x58396d(0x41f),'children':[_0x9b9447(_0x58396d(0x417),{'className':'univer-flex\x20univer-gap-2','children':_0x9b9447(li,{'items':Jr[_0x58396d(0x2c1)](_0x336565=>({'label':_0x214835['t'](_0x336565[_0x58396d(0x1ee)]),'value':_0x336565[_0x58396d(0x1bb)]})),'value':_0x2a27b6,'onChange':_0x4b140e=>_0x5392da(_0x4b140e)})}),_0x9b9447(_0x58396d(0x417),{'className':_0x58396d(0x399),'children':_0x9b9447(li,{'items':qr['map'](_0x47ebf0=>({'label':_0x214835['t'](_0x47ebf0[_0x58396d(0x1ee)]),'value':_0x47ebf0[_0x58396d(0x1bb)]})),'value':_0x4ccaa8,'onChange':_0x2e13e0=>_0x2f7c16(_0x2e13e0)})}),_0x9b9447(_0x58396d(0x417),{'className':_0x58396d(0x399),'children':_0x9b9447(li,{'items':_0x1e0c1d[_0x58396d(0x2c1)](_0x16a455=>({'label':_0x214835['t'](_0x16a455[_0x58396d(0x1ee)]),'value':_0x16a455[_0x58396d(0x1bb)]})),'value':_0x5a5517,'onChange':_0x172b84=>_0x1ab59f(_0x172b84)})}),_0x9b9447('div',{'className':_0x58396d(0x272),'children':Kr[_0x58396d(0x2c1)](({labelKey:_0x5102ae,key:_0x42e2b5,min:_0x5d24f2,max:_0x4d5dbe})=>_0x27b706(_0x58396d(0x467),{'className':_0x58396d(0x286),'children':[_0x9b9447(_0x58396d(0x255),{'className':_0x58396d(0x1ac),'children':_0x214835['t'](_0x5102ae)}),_0x9b9447(_0x5a974,{'controls':!0x0,'inputClassName':void 0x0,'min':_0x5d24f2,'max':_0x4d5dbe,'step':0x4,'value':_0x1bd4d7[_0x42e2b5],'precision':0x0,'className':_0x58396d(0x379),'onChange':_0x7932e4=>_0x3b4b38(_0x42e2b5,Number(_0x7932e4??_0x5d24f2))})]},_0x42e2b5))})]})}),_0x23dac8===_0x58396d(0x348)&&_0x9b9447(ui,{'title':_0x214835['t'](_0x58396d(0x3bc)),'children':_0x27b706(_0x58396d(0x417),{'className':_0x58396d(0x27e),'children':[_0x9b9447(_0x14dc82,{'className':_0x461cd5(_0x58396d(0x1d0),'univer-text-xs'),'placeholder':_0x214835['t'](_0x58396d(0x1e3)),'value':_0xf2c94e,'onValueChange':_0x3d69b6}),_0x27b706(_0x58396d(0x417),{'className':'univer-flex\x20univer-gap-2','children':[_0x9b9447(_0x8c8b61,{'className':void 0x0,'size':_0x58396d(0x358),'variant':'primary','disabled':!_0xf2c94e['trim'](),'onClick':_0x5c2423,'children':_0x214835['t'](_0x58396d(0x258))}),_0x9b9447(_0x8c8b61,{'className':void 0x0,'size':_0x58396d(0x358),'variant':'default','onClick':_0x14cfac,'children':_0x214835['t'](_0x58396d(0x23b))})]})]})})]});}let pi=class extends _0x4c4d8b{constructor(_0x3cc0ff,_0x5d8a2a,_0x3625e2){const _0x2a7387=_0x4f3d14;super(),this[_0x2a7387(0x32f)]=_0x3cc0ff,this[_0x2a7387(0x335)]=_0x5d8a2a,this[_0x2a7387(0x466)]=_0x3625e2,K(this,_0x2a7387(0x49c),null),this[_0x2a7387(0x44d)](this[_0x2a7387(0x32f)][_0x2a7387(0x191)](Ur)),this[_0x2a7387(0x44d)](this[_0x2a7387(0x32f)][_0x2a7387(0x234)](_0x33650d=>{const _0x14e603=_0x2a7387;if(_0x33650d['id']!==Ur['id'])return;let _0x380410=_0x33650d['params'];_0x380410&&_0x14e603(0x291)in _0x380410&&typeof _0x380410[_0x14e603(0x291)]==_0x14e603(0x351)&&_0x14e603(0x20a)in _0x380410&&typeof _0x380410['subUnitId']==_0x14e603(0x351)&&_0x14e603(0x3a9)in _0x380410&&typeof _0x380410[_0x14e603(0x3a9)]==_0x14e603(0x351)&&this[_0x14e603(0x485)]({'unitId':_0x380410[_0x14e603(0x291)],'subUnitId':_0x380410[_0x14e603(0x20a)],'scopeId':_0x380410[_0x14e603(0x3a9)],'nodeId':_0x14e603(0x3f9)in _0x380410&&typeof _0x380410['nodeId']==_0x14e603(0x351)?_0x380410[_0x14e603(0x3f9)]:void 0x0});}));}[_0x4f3d14(0x45e)](){const _0x16e2f7=_0x4f3d14;var _0x250e7d;(_0x250e7d=this[_0x16e2f7(0x49c)])==null||_0x250e7d[_0x16e2f7(0x45e)](),this[_0x16e2f7(0x49c)]=null,super[_0x16e2f7(0x45e)]();}['open'](_0x43df13){const _0x409323=_0x4f3d14;var _0x3da761;let _0x1a9a3e={'label':Wr,..._0x43df13},_0x285b37={'id':Wr,'layout':'canvas','header':{'title':this[_0x409323(0x335)]['t'](_0x409323(0x19e))},'width':0x184,'children':_0x1a9a3e,'onClose':()=>{const _0x281f28=_0x409323;this[_0x281f28(0x49c)]=null;}};(_0x3da761=this[_0x409323(0x49c)])==null||_0x3da761['dispose'](),this['_sidebarDisposable']=this['_sidebarService'][_0x409323(0x485)](_0x285b37);}};pi=J([q(0x0,_0x27d0fe),q(0x1,_0x132a38(_0x4eab55)),q(0x2,_0x132a38(_0x313b59))],pi);function mi(_0x951f20){const _0x2a25a2=_0x4f3d14;let _0x4e9f54=_0x1bf837(_0x27d0fe),_0x2b8218=_0x951f20['popup'][_0x2a25a2(0x261)];return _0x2b8218?_0x9b9447(_0x4e732a,{'shapeRef':{'hostType':_0x8b4a1a['UNIVER_BOARD'],'unitId':_0x2b8218['unitId'],'subUnitId':_0x2b8218[_0x2a25a2(0x20a)],'shapeId':_0x2b8218[_0x2a25a2(0x3e9)]},'onText':()=>qn(_0x4e9f54,'edit-text'),'onStyle':()=>_0x4e9f54[_0x2a25a2(0x32d)](Ur['id'],{'unitId':_0x2b8218['unitId'],'subUnitId':_0x2b8218[_0x2a25a2(0x20a)],'scopeId':_0x2b8218[_0x2a25a2(0x3a9)],'nodeId':_0x2b8218[_0x2a25a2(0x3e9)]}),'onDelete':()=>qn(_0x4e9f54,_0x2a25a2(0x333))}):null;}function hi(_0x41a9e3){const _0x302a4c=_0x4f3d14;var _0x4f2d4f,_0x5dca64,_0x29bcc9,_0x495461,_0x5dd0d9;let _0x2e1389=_0x1bf837(_0x27d0fe),_0x5be820=_0x1bf837(_0x4eab55),_0x3189d6=_0x1bf837(_0x27dbe6),_0x4db2fd=_0x5180ec(_0x3189d6[_0x302a4c(0x35c)],_0x3189d6[_0x302a4c(0x416)]()),[_0x5988cd,_0x562847]=_0x34d7b2(null),_0x1f2589=_0x3c14be(_0x41a9e3[_0x302a4c(0x38b)]),_0x3ce805=_0x1f2589['ff']??_0x588e8c['shapeText'][_0x302a4c(0x2d0)],_0xd1ce9=_0x1f2589['fs']??_0x588e8c[_0x302a4c(0x1eb)]['fontSize'];function _0x24334c(_0x4d5206){const _0x3905f7=_0x302a4c;return _0x2e1389[_0x3905f7(0x32d)](_0x3d67d8['id'],{'unitId':_0x41a9e3[_0x3905f7(0x291)],'subUnitId':_0x41a9e3[_0x3905f7(0x20a)],'nodeId':_0x41a9e3[_0x3905f7(0x3f9)],..._0x4d5206});}let _0x5a7f3d=[{'key':'fill','value':((_0x4f2d4f=_0x41a9e3[_0x302a4c(0x38b)]['fill'])==null?void 0x0:_0x4f2d4f[_0x302a4c(0x25e)])??_0x588e8c[_0x302a4c(0x222)]},{'key':'stroke','value':((_0x5dca64=_0x41a9e3[_0x302a4c(0x38b)][_0x302a4c(0x267)])==null?void 0x0:_0x5dca64[_0x302a4c(0x25e)])??_0x588e8c[_0x302a4c(0x267)]},{'key':_0x302a4c(0x425),'value':((_0x29bcc9=_0x1f2589['cl'])==null?void 0x0:_0x29bcc9[_0x302a4c(0x45c)])??_0x588e8c['shapeText']['color']}];if(_0x5988cd){var _0x1abb27;return _0x27b706('div',{'className':_0x302a4c(0x331),'children':[_0x9b9447(_0x8c8b61,{'className':'univer-min-h-12\x20univer-w-full','onClick':()=>_0x562847(null),'children':_0x5be820['t'](_0x302a4c(0x1a8))}),_0x5988cd==='fontFamily'?_0x4db2fd==null?void 0x0:_0x4db2fd['map'](_0x55bcd1=>_0x9b9447(_0x8c8b61,{'className':_0x302a4c(0x20f),'aria-pressed':_0x3ce805===_0x55bcd1['value'],'variant':_0x3ce805===_0x55bcd1[_0x302a4c(0x1bb)]?'primary':_0x302a4c(0x3f6),'onClick':async()=>{const _0x61aa52=_0x302a4c;await _0x24334c({'textStyle':{'fontFamily':_0x55bcd1[_0x61aa52(0x1bb)]}}),_0x562847(null);},'children':_0x55bcd1[_0x302a4c(0x467)]},_0x55bcd1['value'])):_0x9b9447(_0x4c11aa,{'value':(_0x1abb27=_0x5a7f3d[_0x302a4c(0x431)](({key:_0x509438})=>_0x509438===_0x5988cd))==null?void 0x0:_0x1abb27['value'],'onSelect':async _0x3b8e51=>{const _0x1bbdb1=_0x302a4c;_0x5988cd===_0x1bbdb1(0x222)?await _0x24334c({'fillColor':_0x3b8e51}):_0x5988cd===_0x1bbdb1(0x267)?await _0x24334c({'strokeColor':_0x3b8e51}):await _0x24334c({'textStyle':{'color':_0x3b8e51}}),_0x562847(null);}})]});}let _0x3b0496=[{'key':_0x302a4c(0x2fc),'active':_0x1f2589['bl']===_0x3c1a02[_0x302a4c(0x33f)],'icon':_0x9b9447(_0x12ba90,{})},{'key':_0x302a4c(0x1b4),'active':_0x1f2589['it']===_0x3c1a02[_0x302a4c(0x33f)],'icon':_0x9b9447(_0x5c4515,{})},{'key':_0x302a4c(0x3db),'active':((_0x495461=_0x1f2589['ul'])==null?void 0x0:_0x495461['s'])===_0x3c1a02[_0x302a4c(0x33f)],'icon':_0x9b9447(_0x2fc605,{})},{'key':'strikethrough','active':((_0x5dd0d9=_0x1f2589['st'])==null?void 0x0:_0x5dd0d9['s'])===_0x3c1a02[_0x302a4c(0x33f)],'icon':_0x9b9447(_0x523a6d,{})}];return _0x27b706('div',{'className':_0x302a4c(0x331),'children':[_0x9b9447(_0x302a4c(0x417),{'className':_0x302a4c(0x2b2),'children':_0x3b0496[_0x302a4c(0x2c1)](({key:_0x34df11,active:_0x5d3a5a,icon:_0x5df163})=>_0x9b9447(_0x8c8b61,{'className':_0x302a4c(0x1e0),'aria-label':_0x5be820['t']('boards-mind-ui.panel.nodeStyle.'+_0x34df11),'aria-pressed':_0x5d3a5a,'variant':_0x5d3a5a?_0x302a4c(0x1b5):_0x302a4c(0x3f6),'onClick':()=>_0x24334c({'textStyle':{[_0x34df11]:!_0x5d3a5a}}),'children':_0x5df163},_0x34df11))}),_0x27b706(_0x8c8b61,{'className':_0x302a4c(0x3a3),'onClick':()=>_0x562847(_0x302a4c(0x2d0)),'children':[_0x9b9447(_0x302a4c(0x255),{'children':_0x5be820['t']('boards-mind-ui.panel.nodeStyle.fontFamily')}),_0x9b9447(_0x302a4c(0x255),{'children':_0x3ce805})]}),_0x27b706(_0x302a4c(0x467),{'className':_0x302a4c(0x30e),'children':[_0x9b9447('span',{'children':_0x5be820['t'](_0x302a4c(0x219))}),_0x9b9447(_0x5a974,{'className':_0x302a4c(0x1f4),'inputClassName':_0x302a4c(0x27c),'controls':!0x1,'min':0x1,'value':_0xd1ce9,'onChange':_0x12e7f1=>{if(_0x12e7f1!=null)return _0x24334c({'textStyle':{'fontSize':_0x12e7f1}});}})]}),_0x5a7f3d[_0x302a4c(0x2c1)](({key:_0x22e547,value:_0x50c155})=>_0x27b706(_0x8c8b61,{'className':_0x302a4c(0x3a3),'onClick':()=>_0x562847(_0x22e547),'children':[_0x9b9447(_0x302a4c(0x255),{'children':_0x5be820['t']('boards-mind-ui.toolbar.action.'+_0x22e547)}),_0x9b9447(_0x302a4c(0x255),{'className':_0x302a4c(0x29d),'style':{'backgroundColor':_0x50c155}})]},_0x22e547))]});}function gi(_0x3fc33f){const _0x48fdaf=_0x4f3d14;return _0x9b9447('div',{'className':_0x461cd5('univer-grid\x20univer-w-full\x20univer-gap-2',_0x3fc33f[_0x48fdaf(0x2ef)][_0x48fdaf(0x452)]===0x4?'univer-grid-cols-4':_0x48fdaf(0x43e)),'children':_0x3fc33f[_0x48fdaf(0x2ef)][_0x48fdaf(0x2c1)](_0x2bef1e=>_0x9b9447(_0x8c8b61,{'className':_0x48fdaf(0x3f3),'variant':_0x3fc33f['value']===_0x2bef1e['value']?'primary':'default','aria-pressed':_0x3fc33f[_0x48fdaf(0x1bb)]===_0x2bef1e['value'],'onClick':()=>_0x3fc33f['onChange'](_0x2bef1e['value']),'children':_0x2bef1e[_0x48fdaf(0x467)]},_0x2bef1e['value']))});}function _i(_0x1d97ad){const _0x1a28bc=_0x4f3d14;let {commandService:_0x2686e2,elementStateService:_0x3ce48f,localeService:_0x544987,query:_0x14b778,setQuery:_0xd15a95,editingOutlineNode:_0x508190,setEditingOutlineNode:_0x28c83b,opmlText:_0x105322,setOpmlText:_0x5d23c1,spacing:_0x40fc0f,layoutDirection:_0x46a000,structureKind:_0x556782,branchLineType:_0x42efb4,activeTab:_0x30c7c3,setActiveTab:_0x19230a,visibleOutlineItems:_0x53b6db,baseParams:_0x2be6c2,tabItems:_0x273c4f,selectedNode:_0x469e52,branchLineItems:_0x58f65c,changeLayout:_0x502774,changeStructureKind:_0x90d481,changeBranchLineType:_0x32e209,changeSpacing:_0x1517b9,importOpml:_0x6589b1,startRenameNode:_0x3ba737,commitRenameNode:_0x2b8ee8}=di(_0x1d97ad,_0x1d97ad[_0x1a28bc(0x3f9)]?_0x1a28bc(0x281):_0x1a28bc(0x264));return(_0x469e52==null?void 0x0:_0x469e52[_0x1a28bc(0x3b5)])===_0x282c4b[_0x1a28bc(0x3a6)]&&_0x273c4f[_0x1a28bc(0x48e)]({'label':_0x544987['t'](_0x1a28bc(0x1e7)),'value':_0x1a28bc(0x281)}),_0x27b706(_0x1a28bc(0x417),{'className':_0x1a28bc(0x459),'data-board-mind-map-panel':'true','children':[_0x9b9447(_0x1a28bc(0x417),{'className':_0x461cd5(_0x1a28bc(0x1dd),_0x2d215c),'data-board-mind-map-panel-tabs':_0x1a28bc(0x480),'children':_0x9b9447(gi,{'items':_0x273c4f,'value':_0x30c7c3,'onChange':_0x5c29e6=>_0x19230a(_0x5c29e6)})}),_0x30c7c3===_0x1a28bc(0x281)&&(_0x469e52==null?void 0x0:_0x469e52[_0x1a28bc(0x3b5)])===_0x282c4b[_0x1a28bc(0x3a6)]&&_0x9b9447(hi,{'unitId':_0x1d97ad[_0x1a28bc(0x291)],'subUnitId':_0x1d97ad[_0x1a28bc(0x20a)],'nodeId':_0x469e52['id'],'shapeData':_0x469e52[_0x1a28bc(0x38b)]}),_0x30c7c3===_0x1a28bc(0x264)&&_0x9b9447(ui,{'title':_0x544987['t'](_0x1a28bc(0x4a1)),'children':_0x27b706(_0x1a28bc(0x417),{'children':[_0x9b9447(_0x163e88,{'slot':_0x9b9447(_0x228aaa,{}),'value':_0x14b778,'placeholder':_0x544987['t'](_0x1a28bc(0x428)),'className':_0x461cd5(_0x1a28bc(0x3d0),_0x1a28bc(0x464)),'onChange':_0xd15a95}),_0x53b6db[_0x1a28bc(0x452)]?_0x9b9447('ol',{'className':_0x1a28bc(0x2c6),'children':_0x53b6db[_0x1a28bc(0x2c1)](_0x27ef20=>_0x9b9447('li',{'className':_0x1a28bc(0x39f),'style':ci(_0x27ef20[_0x1a28bc(0x371)]),'children':(_0x508190==null?void 0x0:_0x508190[_0x1a28bc(0x3f9)])===_0x27ef20['nodeId']?_0x27b706(_0x1a28bc(0x417),{'className':_0x461cd5('univer-flex\x20univer-min-w-0\x20univer-flex-1\x20univer-gap-2',_0x1a28bc(0x300)),'children':[_0x9b9447(_0x163e88,{'autoFocus':!0x1,'size':_0x1a28bc(0x356),'className':'univer-w-full\x20univer-text-base','value':_0x508190['text'],'onChange':_0x89708a=>_0x28c83b({'nodeId':_0x27ef20[_0x1a28bc(0x3f9)],'text':_0x89708a}),'onKeyDown':_0x514d2=>{const _0x38a73f=_0x1a28bc;_0x514d2[_0x38a73f(0x3f0)]===_0x38a73f(0x1ba)&&_0x2b8ee8(),_0x514d2[_0x38a73f(0x3f0)]===_0x38a73f(0x294)&&_0x28c83b(null);}}),_0x9b9447(_0x8c8b61,{'className':_0x1a28bc(0x2a3),'size':'small','variant':_0x1a28bc(0x1b5),'disabled':!_0x508190[_0x1a28bc(0x488)][_0x1a28bc(0x387)](),'onClick':_0x2b8ee8,'children':_0x544987['t'](_0x1a28bc(0x19c))}),_0x9b9447(_0x8c8b61,{'className':_0x1a28bc(0x2a3),'size':_0x1a28bc(0x358),'variant':_0x1a28bc(0x3f6),'onClick':()=>_0x28c83b(null),'children':_0x544987['t'](_0x1a28bc(0x1a8))})]}):_0x27b706(_0x219099,{'children':[_0x9b9447(_0x8c8b61,{'size':'small','variant':_0x1a28bc(0x367),'className':_0x461cd5(_0x1a28bc(0x462),'univer-min-h-12\x20univer-text-base'),'onClick':()=>_0x3ce48f['selectElements']({'unitId':_0x1d97ad[_0x1a28bc(0x291)],'subUnitId':_0x1d97ad[_0x1a28bc(0x20a)]},[_0x27ef20['nodeId']],_0x27ef20[_0x1a28bc(0x3f9)]),'children':_0x27ef20[_0x1a28bc(0x488)]}),_0x9b9447(_0x8c8b61,{'className':_0x461cd5(_0x1a28bc(0x2ad),_0x1a28bc(0x2a7)),'size':_0x1a28bc(0x358),'variant':_0x1a28bc(0x3f6),'onClick':()=>_0x3ba737(_0x27ef20['nodeId'],_0x27ef20[_0x1a28bc(0x488)]),'children':_0x544987['t'](_0x1a28bc(0x19c))})]})},_0x27ef20[_0x1a28bc(0x3f9)]))}):_0x9b9447(_0x1a28bc(0x417),{'className':'univer-text-xs\x20univer-text-gray-400\x20dark:!univer-text-gray-500','data-board-mind-map-panel-empty-state':_0x1a28bc(0x480),'children':_0x544987['t']('boards-mind-ui.panel.emptyNodes')})]})}),_0x30c7c3==='layout'&&_0x9b9447(ui,{'title':_0x544987['t'](_0x1a28bc(0x2dd)),'children':_0x27b706('div',{'className':'univer-space-y-3','children':[_0x9b9447(_0x1a28bc(0x417),{'className':'univer-flex\x20univer-gap-2','children':_0x9b9447(gi,{'items':Jr[_0x1a28bc(0x2c1)](_0x1e78b5=>({'label':_0x544987['t'](_0x1e78b5['labelKey']),'value':_0x1e78b5[_0x1a28bc(0x1bb)]})),'value':_0x556782,'onChange':_0x267a7d=>_0x90d481(_0x267a7d)})}),_0x9b9447(_0x1a28bc(0x417),{'className':_0x1a28bc(0x399),'children':_0x9b9447(gi,{'items':qr[_0x1a28bc(0x2c1)](_0x2746b6=>({'label':_0x544987['t'](_0x2746b6['labelKey']),'value':_0x2746b6[_0x1a28bc(0x1bb)]})),'value':_0x46a000,'onChange':_0xdc6bc8=>_0x502774(_0xdc6bc8)})}),_0x9b9447(_0x1a28bc(0x417),{'className':_0x1a28bc(0x399),'children':_0x9b9447(gi,{'items':_0x58f65c[_0x1a28bc(0x2c1)](_0x1d4839=>({'label':_0x544987['t'](_0x1d4839[_0x1a28bc(0x1ee)]),'value':_0x1d4839[_0x1a28bc(0x1bb)]})),'value':_0x42efb4,'onChange':_0x4e14f1=>_0x32e209(_0x4e14f1)})}),_0x9b9447(_0x1a28bc(0x417),{'className':_0x1a28bc(0x272),'children':Kr[_0x1a28bc(0x2c1)](({labelKey:_0x2e5c2f,key:_0x188034,min:_0x1408b7,max:_0x569ced})=>_0x27b706('label',{'className':_0x1a28bc(0x286),'children':[_0x9b9447(_0x1a28bc(0x255),{'className':_0x1a28bc(0x28c),'children':_0x544987['t'](_0x2e5c2f)}),_0x9b9447(_0x5a974,{'controls':!0x1,'inputClassName':_0x1a28bc(0x27c),'min':_0x1408b7,'max':_0x569ced,'step':0x4,'value':_0x40fc0f[_0x188034],'precision':0x0,'className':_0x1a28bc(0x3b1),'onChange':_0x3ba517=>_0x1517b9(_0x188034,Number(_0x3ba517??_0x1408b7))})]},_0x188034))})]})}),_0x30c7c3===_0x1a28bc(0x348)&&_0x9b9447(ui,{'title':_0x544987['t']('boards-mind-ui.panel.tab.importExport'),'children':_0x27b706(_0x1a28bc(0x417),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-2','children':[_0x9b9447(_0x14dc82,{'className':_0x461cd5('univer-h-28\x20univer-resize-none',_0x1a28bc(0x26e)),'placeholder':_0x544987['t'](_0x1a28bc(0x1e3)),'value':_0x105322,'onValueChange':_0x5d23c1}),_0x27b706(_0x1a28bc(0x417),{'className':_0x1a28bc(0x399),'children':[_0x9b9447(_0x8c8b61,{'className':_0x1a28bc(0x2a3),'size':'small','variant':_0x1a28bc(0x1b5),'disabled':!_0x105322[_0x1a28bc(0x387)](),'onClick':_0x6589b1,'children':_0x544987['t'](_0x1a28bc(0x258))}),_0x9b9447(_0x8c8b61,{'className':_0x1a28bc(0x2a3),'size':_0x1a28bc(0x358),'variant':_0x1a28bc(0x3f6),'onClick':async()=>{const _0x4befb4=_0x1a28bc;let _0x3dd463=await _0x2686e2[_0x4befb4(0x32d)](_0x1d834a['id'],_0x2be6c2);_0x3dd463!==!0x1&&_0x5d23c1(_0x3dd463);},'children':_0x544987['t']('boards-mind-ui.panel.exportOPML')})]})]})})]});}let vi=class extends _0x4c4d8b{constructor(_0x512265){const _0x569277=_0x4f3d14;super(),this[_0x569277(0x489)]=_0x512265,this[_0x569277(0x42d)]();}['_registerComponents'](){const _0x5a6e49=_0x4f3d14;this[_0x5a6e49(0x44d)](this['_componentManager'][_0x5a6e49(0x3f1)](On,An)),this[_0x5a6e49(0x44d)](this[_0x5a6e49(0x489)][_0x5a6e49(0x3f1)](Kn,mi)),this['disposeWithMe'](this[_0x5a6e49(0x489)][_0x5a6e49(0x3f1)](Wr,_i));}};vi=J([q(0x0,_0x132a38(_0x4b5c19))],vi);let yi=class extends _0x4c4d8b{constructor(_0x5bbdb1,_0x41b70c,_0x148c56){const _0x24632f=_0x4f3d14;super(),this[_0x24632f(0x32f)]=_0x5bbdb1,this[_0x24632f(0x335)]=_0x41b70c,this['_sidebarService']=_0x148c56,K(this,_0x24632f(0x49c),null),this[_0x24632f(0x44d)](this[_0x24632f(0x32f)][_0x24632f(0x191)](Ur)),this['disposeWithMe'](this[_0x24632f(0x32f)][_0x24632f(0x234)](_0x13b1a3=>{const _0x11cddf=_0x24632f;if(_0x13b1a3['id']!==Ur['id'])return;let _0x14e5d2=_0x13b1a3[_0x11cddf(0x2cb)];_0x14e5d2&&_0x11cddf(0x291)in _0x14e5d2&&typeof _0x14e5d2['unitId']==_0x11cddf(0x351)&&'subUnitId'in _0x14e5d2&&typeof _0x14e5d2['subUnitId']==_0x11cddf(0x351)&&_0x11cddf(0x3a9)in _0x14e5d2&&typeof _0x14e5d2[_0x11cddf(0x3a9)]==_0x11cddf(0x351)&&this[_0x11cddf(0x485)]({'unitId':_0x14e5d2[_0x11cddf(0x291)],'subUnitId':_0x14e5d2['subUnitId'],'scopeId':_0x14e5d2[_0x11cddf(0x3a9)],'nodeId':_0x11cddf(0x3f9)in _0x14e5d2&&typeof _0x14e5d2['nodeId']=='string'?_0x14e5d2[_0x11cddf(0x3f9)]:void 0x0});}));}[_0x4f3d14(0x45e)](){const _0x109c95=_0x4f3d14;var _0x481dd5;(_0x481dd5=this[_0x109c95(0x49c)])==null||_0x481dd5[_0x109c95(0x45e)](),this[_0x109c95(0x49c)]=null,super['dispose']();}[_0x4f3d14(0x485)](_0x498913){const _0x2cec99=_0x4f3d14;var _0x4cad71;let _0x4f6151={'label':Wr,..._0x498913};(_0x4cad71=this[_0x2cec99(0x49c)])==null||_0x4cad71[_0x2cec99(0x45e)](),this[_0x2cec99(0x49c)]=this[_0x2cec99(0x466)][_0x2cec99(0x485)]({'id':Wr,'header':{'title':this['_localeService']['t'](_0x2cec99(0x19e))},'width':0x184,'children':_0x4f6151,'onClose':()=>{const _0x278e92=_0x2cec99;this[_0x278e92(0x49c)]=null;}});}};yi=J([q(0x0,_0x27d0fe),q(0x1,_0x132a38(_0x4eab55)),q(0x2,_0x132a38(_0x313b59))],yi);let bi=class extends _0x4c4d8b{constructor(_0x85c6b0){const _0xc26b11=_0x4f3d14;super(),this[_0xc26b11(0x489)]=_0x85c6b0,this['_registerComponents']();}[_0x4f3d14(0x42d)](){const _0x2bfe65=_0x4f3d14;this[_0x2bfe65(0x44d)](this['_componentManager']['register'](On,An)),this[_0x2bfe65(0x44d)](this[_0x2bfe65(0x489)]['register'](Kn,cr)),this[_0x2bfe65(0x44d)](this[_0x2bfe65(0x489)][_0x2bfe65(0x3f1)](Wr,fi));}};bi=J([q(0x0,_0x132a38(_0x4b5c19))],bi);let xi=class{constructor(_0x5e3496,_0x16b013,_0x1c0828){const _0x11edc0=_0x4f3d14;this[_0x11edc0(0x407)]=_0x5e3496,this[_0x11edc0(0x230)]=_0x16b013,this[_0x11edc0(0x21d)]=_0x1c0828;}[_0x4f3d14(0x2d4)](_0x5c34ef){const _0x41e814=_0x4f3d14;var _0x522446,_0x266292;let _0x27ccad=(_0x522446=this[_0x41e814(0x21d)][_0x41e814(0x21f)](_0x5c34ef['unitId']))==null||(_0x266292=_0x522446[_0x41e814(0x303)])==null?void 0x0:_0x266292[_0x41e814(0x2a4)](_0x522446),_0x3a7feb=(_0x27ccad==null?void 0x0:_0x27ccad['get'](_0x31b38d))??this[_0x41e814(0x407)];return((_0x27ccad==null?void 0x0:_0x27ccad[_0x41e814(0x47f)](br))??this['_insertStateService'])[_0x41e814(0x27b)]({'rootText':_0x5c34ef['rootText'],'structureKind':_0x5c34ef[_0x41e814(0x35e)],'branchLineType':_0x5c34ef[_0x41e814(0x402)],'children':_0x5c34ef[_0x41e814(0x28f)],'blueprint':_0x5c34ef[_0x41e814(0x36c)]}),_0x3a7feb['setShapeSidebarOpen'](!0x1),_0x3a7feb['clearPendingInsert'](),_0x3a7feb[_0x41e814(0x3cf)](_0x2f25e2[_0x41e814(0x3fb)]),_0x3a7feb[_0x41e814(0x3c5)]({'type':_0x2f25e2[_0x41e814(0x3fb)]}),!0x0;}};xi=J([q(0x0,_0x31b38d),q(0x1,_0x132a38(br)),q(0x2,_0x19658f)],xi);const Si='UNIVER_BOARDS_MIND_UI_PLUGIN',Ci=[Dn],wi=[Vr];let Ti=class extends _0x273e01{constructor(_0x106731=en,_0x5d7c05,_0x5bf9f2,_0x449bbc){const _0x992a66=_0x4f3d14;super(),this[_0x992a66(0x1db)]=_0x106731,this[_0x992a66(0x3e8)]=_0x5d7c05,this[_0x992a66(0x4a3)]=_0x5bf9f2,this[_0x992a66(0x21d)]=_0x449bbc;let {..._0x60700d}=_0x44c8ca({},en,this[_0x992a66(0x1db)]);this[_0x992a66(0x4a3)][_0x992a66(0x363)]($t,_0x60700d);}[_0x4f3d14(0x41d)](){const _0xb04df0=_0x4f3d14;_0x111050[_0xb04df0(0x429)](this['_injector'],[[br],[Tr]]),this['_getDependencies']()[_0xb04df0(0x2d1)](_0x47298a=>this[_0xb04df0(0x3e8)][_0xb04df0(0x45d)](_0x47298a));let _0x301aeb=this[_0xb04df0(0x3e8)]['get'](xi),_0x3c4107=this['_injector'][_0xb04df0(0x47f)](_0x13266e);this[_0xb04df0(0x44d)](_0x3c4107[_0xb04df0(0x1e5)](_0x301aeb)),this[_0xb04df0(0x44d)](this[_0xb04df0(0x3e8)][_0xb04df0(0x47f)](Ln)),this['disposeWithMe'](this[_0xb04df0(0x3e8)][_0xb04df0(0x47f)](zr)),this['disposeWithMe'](this[_0xb04df0(0x3e8)][_0xb04df0(0x47f)](yi)),this[_0xb04df0(0x44d)](this[_0xb04df0(0x3e8)][_0xb04df0(0x47f)](bi)),this['_enableMindMapToolbarTool']();}[_0x4f3d14(0x325)](){return[[br],[Tr],[xi],[Ln],[zr],[yi],[bi]];}[_0x4f3d14(0x43f)](){return[Ci,wi,[wr],[Lr],[ur],[En],[an],[Or]];}[_0x4f3d14(0x38d)](){this['_getRenderModules']()['forEach'](_0x84764=>{const _0x5e6097=_0x5652;this[_0x5e6097(0x44d)](this[_0x5e6097(0x21d)][_0x5e6097(0x297)](_0x8b4a1a[_0x5e6097(0x35b)],_0x84764));});}[_0x4f3d14(0x1a9)](){const _0x3146fa=_0x4f3d14;var _0x53376a,_0x473c73;let _0x50b0e3=this['_getBoardsUIConfig']();this['_configService'][_0x3146fa(0x363)](_0x3e4252,{..._0x50b0e3,'toolbar':{..._0x50b0e3['toolbar'],'tools':{...(_0x53376a=_0x50b0e3[_0x3146fa(0x3bb)])==null?void 0x0:_0x53376a[_0x3146fa(0x32e)],[_0x2f25e2['MindMap']]:Ei((_0x473c73=_0x50b0e3['toolbar'])==null||(_0x473c73=_0x473c73[_0x3146fa(0x32e)])==null?void 0x0:_0x473c73[_0x2f25e2[_0x3146fa(0x3fb)]])}}});}[_0x4f3d14(0x34a)](){const _0x46605d=_0x4f3d14;return this['_configService'][_0x46605d(0x3d8)](_0x3e4252)??{};}};K(Ti,'pluginName',Si),K(Ti,'packageName',Zt),K(Ti,_0x4f3d14(0x41e),Qt),K(Ti,_0x4f3d14(0x3b5),_0x8b4a1a[_0x4f3d14(0x35b)]),Ti=J([_0x305799(_0x327bfc,_0x38f2bf,_0x3afdbd,_0x204fd7,_0x111050),q(0x1,_0x132a38(_0x13315b)),q(0x2,_0x156f99),q(0x3,_0x19658f)],Ti);function Ei(_0xe52c51){const _0xb4145c=_0x4f3d14;return _0xe52c51===!0x1?!0x1:typeof _0xe52c51!='object'||{..._0xe52c51,'enabled':_0xe52c51[_0xb4145c(0x29e)]??!0x0};}let Di=class extends _0x273e01{constructor(_0x12af19=en,_0x4b2856,_0x53fd11,_0x3e59a2){const _0x14b5cb=_0x4f3d14;super(),this[_0x14b5cb(0x1db)]=_0x12af19,this[_0x14b5cb(0x3e8)]=_0x4b2856,this[_0x14b5cb(0x4a3)]=_0x53fd11,this[_0x14b5cb(0x21d)]=_0x3e59a2;let {..._0x4c1b9e}=_0x44c8ca({},en,this['_config']);this[_0x14b5cb(0x4a3)]['setConfig']($t,_0x4c1b9e);}['onStarting'](){const _0x472083=_0x4f3d14;let _0x3ec2d4=[[br],[Tr]];_0x28e0e2[_0x472083(0x429)](this['_injector'],_0x3ec2d4),[..._0x3ec2d4,[xi],[Ln],[zr],[pi],[vi]][_0x472083(0x2d1)](_0x3b49a8=>this[_0x472083(0x3e8)][_0x472083(0x45d)](_0x3b49a8)),this[_0x472083(0x44d)](this['_injector']['get'](_0x13266e)[_0x472083(0x1e5)](this[_0x472083(0x3e8)][_0x472083(0x47f)](xi))),this[_0x472083(0x44d)](this[_0x472083(0x3e8)][_0x472083(0x47f)](Ln)),this[_0x472083(0x44d)](this[_0x472083(0x3e8)][_0x472083(0x47f)](zr)),this[_0x472083(0x44d)](this[_0x472083(0x3e8)][_0x472083(0x47f)](pi)),this['disposeWithMe'](this['_injector'][_0x472083(0x47f)](vi)),this[_0x472083(0x1a9)]();}[_0x4f3d14(0x38d)](){const _0x44c105=_0x4f3d14;[[Dn],[Vr],[wr,{'useClass':Hr}],[Lr],[ur],[En],[an],[Or]][_0x44c105(0x2d1)](_0x5e4efb=>{const _0x3a0b93=_0x44c105;this[_0x3a0b93(0x44d)](this['_renderManagerService'][_0x3a0b93(0x297)](_0x8b4a1a[_0x3a0b93(0x35b)],_0x5e4efb));});}[_0x4f3d14(0x1a9)](){const _0x4e66c7=_0x4f3d14;var _0x43d334,_0x318e4c;let _0x3e0962=this[_0x4e66c7(0x34a)]();this[_0x4e66c7(0x4a3)][_0x4e66c7(0x363)](_0x3e4252,{..._0x3e0962,'toolbar':{..._0x3e0962[_0x4e66c7(0x3bb)],'tools':{...(_0x43d334=_0x3e0962[_0x4e66c7(0x3bb)])==null?void 0x0:_0x43d334[_0x4e66c7(0x32e)],[_0x2f25e2[_0x4e66c7(0x3fb)]]:Oi((_0x318e4c=_0x3e0962[_0x4e66c7(0x3bb)])==null||(_0x318e4c=_0x318e4c[_0x4e66c7(0x32e)])==null?void 0x0:_0x318e4c[_0x2f25e2['MindMap']])}}});}[_0x4f3d14(0x34a)](){const _0x465548=_0x4f3d14;return this[_0x465548(0x4a3)]['getConfig'](_0x3e4252)??{};}};K(Di,_0x4f3d14(0x2c5),Si),K(Di,'packageName',Zt),K(Di,'version',Qt),K(Di,_0x4f3d14(0x3b5),_0x8b4a1a[_0x4f3d14(0x35b)]),Di=J([_0x305799(_0x327bfc,_0x38f2bf,_0x3afdbd,_0x204fd7,_0x28e0e2),q(0x1,_0x132a38(_0x13315b)),q(0x2,_0x156f99),q(0x3,_0x19658f)],Di);function Oi(_0x5b6812){const _0xeee910=_0x4f3d14;return _0x5b6812===!0x1?!0x1:typeof _0x5b6812!='object'||{..._0x5b6812,'enabled':_0x5b6812[_0xeee910(0x29e)]??!0x0};}export{Di as UniverBoardsMindMobileUIPlugin,Ti as UniverBoardsMindUIPlugin};
|