@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504201606 → 0.6.10-nightly.202504221607

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x366c(_0x4fde69,_0x1b6c02){const _0x5079fd=_0x5079();return _0x366c=function(_0x366c0d,_0x1d302f){_0x366c0d=_0x366c0d-0xbc;let _0x4d578d=_0x5079fd[_0x366c0d];return _0x4d578d;},_0x366c(_0x4fde69,_0x1b6c02);}(function(_0x17268a,_0x568b9b){const _0x4a3b3b=_0x366c,_0x3877f5=_0x17268a();while(!![]){try{const _0x5979b6=parseInt(_0x4a3b3b(0x213))/0x1+parseInt(_0x4a3b3b(0x163))/0x2+-parseInt(_0x4a3b3b(0x2e5))/0x3+parseInt(_0x4a3b3b(0x1dc))/0x4+parseInt(_0x4a3b3b(0x16e))/0x5+-parseInt(_0x4a3b3b(0x179))/0x6*(parseInt(_0x4a3b3b(0x227))/0x7)+-parseInt(_0x4a3b3b(0xc4))/0x8;if(_0x5979b6===_0x568b9b)break;else _0x3877f5['push'](_0x3877f5['shift']());}catch(_0x55ed14){_0x3877f5['push'](_0x3877f5['shift']());}}}(_0x5079,0x541a8),function(_0x162c8a,_0x782cba){const _0x23885b=_0x366c;typeof exports==_0x23885b(0x128)&&typeof module<'u'?_0x782cba(exports,require(_0x23885b(0x21a)),require(_0x23885b(0x28d)),require(_0x23885b(0x196)),require(_0x23885b(0xbe)),require(_0x23885b(0x174)),require(_0x23885b(0x314)),require(_0x23885b(0x1f7)),require('@univerjs/docs'),require('@univerjs-pro/collaboration'),require(_0x23885b(0x349)),require(_0x23885b(0x1e1)),require(_0x23885b(0x288)),require(_0x23885b(0xf2)),require(_0x23885b(0x2c7)),require(_0x23885b(0x27e)),require(_0x23885b(0x12f)),require('react'),require(_0x23885b(0x192))):typeof define==_0x23885b(0x29f)&&define[_0x23885b(0x1a3)]?define([_0x23885b(0x295),'@univerjs-pro/collaboration-client',_0x23885b(0x28d),_0x23885b(0x196),_0x23885b(0xbe),'@univerjs/docs-ui',_0x23885b(0x314),'rxjs',_0x23885b(0x30c),_0x23885b(0x189),_0x23885b(0x349),_0x23885b(0x1e1),_0x23885b(0x288),'@univerjs/sheets-ui',_0x23885b(0x2c7),_0x23885b(0x27e),'@univerjs/design','react',_0x23885b(0x192)],_0x782cba):(_0x162c8a=typeof globalThis<'u'?globalThis:_0x162c8a||self,_0x782cba(_0x162c8a[_0x23885b(0x13e)]={},_0x162c8a['UniverProCollaborationClient'],_0x162c8a[_0x23885b(0x10d)],_0x162c8a[_0x23885b(0xd6)],_0x162c8a[_0x23885b(0x302)],_0x162c8a[_0x23885b(0x26b)],_0x162c8a[_0x23885b(0x162)],_0x162c8a[_0x23885b(0x1f7)],_0x162c8a[_0x23885b(0x249)],_0x162c8a[_0x23885b(0x143)],_0x162c8a[_0x23885b(0x274)],_0x162c8a[_0x23885b(0x1eb)],_0x162c8a['rxjs'][_0x23885b(0x31a)],_0x162c8a[_0x23885b(0x17a)],_0x162c8a[_0x23885b(0x183)],_0x162c8a[_0x23885b(0x1d2)],_0x162c8a['UniverDesign'],_0x162c8a[_0x23885b(0x183)],_0x162c8a[_0x23885b(0x252)]));}(this,function(_0x24e36d,_0x52f34c,_0x4b6906,_0xa2dea1,_0x4aa660,_0x4142bf,_0x3d1d74,_0x596bb7,_0x3c6c88,_0x5873f4,_0x3cd16e,_0x5de2fa,_0x46ce86,_0x145de3,_0x2d1486,_0x30ed06,_0x913b08,_0x2fa141,_0x221cf2){'use strict';const _0x3249e4=_0x366c;var _0x5d6252=Object[_0x3249e4(0x2dc)],_0x1bf00d=(_0x1f70b0,_0x238f5c,_0x40cc5f)=>_0x238f5c in _0x1f70b0?_0x5d6252(_0x1f70b0,_0x238f5c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x40cc5f}):_0x1f70b0[_0x238f5c]=_0x40cc5f,_0x202b34=(_0x516666,_0x4373d6,_0x19db78)=>_0x1bf00d(_0x516666,typeof _0x4373d6!='symbol'?_0x4373d6+'':_0x4373d6,_0x19db78),_0x4aad17=Object[_0x3249e4(0x16f)],_0x3cfd59=(_0x5a1d19,_0x243334,_0x22253c,_0x1a7ddb)=>{const _0x383fbd=_0x3249e4;for(var _0x4f2333=_0x1a7ddb>0x1?void 0x0:_0x1a7ddb?_0x4aad17(_0x243334,_0x22253c):_0x243334,_0x386a5e=_0x5a1d19[_0x383fbd(0x10a)]-0x1,_0x5da83b;_0x386a5e>=0x0;_0x386a5e--)(_0x5da83b=_0x5a1d19[_0x386a5e])&&(_0x4f2333=_0x5da83b(_0x4f2333)||_0x4f2333);return _0x4f2333;},_0x1701a8=(_0x221e84,_0x2bf34c)=>(_0x57ab19,_0xbd091c)=>_0x2bf34c(_0x57ab19,_0xbd091c,_0x221e84);let _0x3897f7=class extends _0x4b6906[_0x3249e4(0x304)]{constructor(_0x5a0ef3,_0x5273bf){const _0x3c8806=_0x3249e4;super(),this[_0x3c8806(0x262)]=_0x5a0ef3,this['_imageIoService']=_0x5273bf,this[_0x3c8806(0x1c4)]();}[_0x3249e4(0x1c4)](){const _0xe26b8c=_0x3249e4,_0x382ca3=this;this[_0xe26b8c(0x2a0)](this[_0xe26b8c(0x262)][_0xe26b8c(0x34c)]({'onBeforePasteImage':async _0x429f1b=>{const _0x55c157=_0xe26b8c,_0x370ff=await _0x382ca3['_imageIoService'][_0x55c157(0x347)](_0x429f1b);return _0x370ff?{'source':_0x370ff[_0x55c157(0x34a)],'imageSourceType':_0x370ff['imageSourceType']}:null;}}));}};_0x3897f7=_0x3cfd59([_0x1701a8(0x0,_0x4142bf[_0x3249e4(0x1d7)]),_0x1701a8(0x1,_0x3d1d74['IImageIoService'])],_0x3897f7);const _0x4424f6=[_0x3249e4(0x108),_0x3249e4(0x105),_0x3249e4(0x1b7),_0x3249e4(0x229),_0x3249e4(0x142),_0x3249e4(0x320)];class _0x1111e6 extends _0x4b6906[_0x3249e4(0x2e6)]{constructor(){const _0x5f516b=_0x3249e4;super(...arguments),_0x202b34(this,_0x5f516b(0x118),new Map()),_0x202b34(this,_0x5f516b(0x1ee),0x0);}[_0x3249e4(0x269)](_0x26e37a){const _0x9ed706=_0x3249e4;if(this[_0x9ed706(0x118)]['has'](_0x26e37a))return this[_0x9ed706(0x118)][_0x9ed706(0x14a)](_0x26e37a);const _0x33933e=_0x4424f6[this['_colorIndex']];return this[_0x9ed706(0x1ee)]=(this[_0x9ed706(0x1ee)]+0x1)%_0x4424f6[_0x9ed706(0x10a)],this[_0x9ed706(0x118)]['set'](_0x26e37a,_0x33933e),_0x33933e;}}function _0x5a38b5(_0x2a954b){const _0x3790c9=_0x3249e4;let _0x5d7d20='';for(const _0x10f858 of _0x2a954b){const {startOffset:_0x366725,endOffset:_0x5da5f2,isActive:_0x19e8f7,rangeType:_0x354900,segmentId:_0xaeff10,segmentPage:_0x1fcbd2}=_0x10f858;_0x5d7d20[_0x3790c9(0x10a)]&&(_0x5d7d20+=','),_0x5d7d20+=_0x366725+':'+_0x5da5f2+':'+(_0x19e8f7?'1':'0')+':'+_0x354900+':'+_0xaeff10+':'+_0x1fcbd2;}return _0x5d7d20;}function _0x26bfe6(_0x380b4e){const _0x5a0ba7=_0x3249e4,_0x2aa5b0=_0x380b4e[_0x5a0ba7(0x28b)](','),_0x1e4990=[];for(const _0x5f15df of _0x2aa5b0){const [_0x3c5e8e,_0x1d6baa,_0x53a6ca,_0x48a2d8,_0x4515d3,_0x517728]=_0x5f15df[_0x5a0ba7(0x28b)](':');_0x1e4990[_0x5a0ba7(0xfa)]({'startOffset':Number(_0x3c5e8e),'endOffset':Number(_0x1d6baa),'collapsed':_0x3c5e8e===_0x1d6baa,'isActive':_0x53a6ca==='1','rangeType':_0x48a2d8===_0x4b6906[_0x5a0ba7(0x26f)]['TEXT']?_0x4b6906[_0x5a0ba7(0x26f)][_0x5a0ba7(0x2c0)]:_0x4b6906[_0x5a0ba7(0x26f)]['RECT'],'segmentId':typeof _0x4515d3==_0x5a0ba7(0x110)?String(_0x4515d3):'','segmentPage':Number(_0x517728!=null?_0x517728:-0x1)});}return _0x1e4990['some'](_0x583b5a=>_0x583b5a[_0x5a0ba7(0x13a)])||(_0x1e4990[0x0][_0x5a0ba7(0x13a)]=!0x0),_0x1e4990;}class _0x3ac6b6 extends _0x4b6906[_0x3249e4(0x304)]{constructor(){const _0x15a3b4=_0x3249e4;super(...arguments),_0x202b34(this,_0x15a3b4(0x35d),new _0x596bb7[(_0x15a3b4(0x2db))](null)),_0x202b34(this,_0x15a3b4(0x1d0),this['_collabCursorState$']['asObservable']());}[_0x3249e4(0x2cc)](_0x3b74dd){const _0xc5d7bb=_0x3249e4,{unitID:_0x14f839,memberID:_0x5540d2,textRanges:_0x34f460}=_0x3b74dd,_0x29d84a=_0x5a38b5(_0x34f460);if(_0x29d84a==='')return;const _0x4fb08c={'unitID':_0x14f839,'memberID':_0x5540d2,'selection':_0x29d84a};this[_0xc5d7bb(0x35d)][_0xc5d7bb(0x2ad)](_0x4fb08c);}}var _0x370827=Object[_0x3249e4(0x16f)],_0xf00e81=(_0x3689f5,_0x2b860a,_0x4740c4,_0x177ea6)=>{for(var _0x10c454=_0x177ea6>0x1?void 0x0:_0x177ea6?_0x370827(_0x2b860a,_0x4740c4):_0x2b860a,_0x3db63b=_0x3689f5['length']-0x1,_0x414d54;_0x3db63b>=0x0;_0x3db63b--)(_0x414d54=_0x3689f5[_0x3db63b])&&(_0x10c454=_0x414d54(_0x10c454)||_0x10c454);return _0x10c454;},_0x31ff33=(_0x429aa7,_0x478720)=>(_0x216e52,_0x4a4f36)=>_0x478720(_0x216e52,_0x4a4f36,_0x429aa7);const _0x373b3d=0x12c,_0x2ff0c7=0x64;let _0x4bb0c4=class extends _0x4b6906[_0x3249e4(0x304)]{constructor(_0x1f3279,_0x1cbc1e,_0x34d14d,_0x4f00c1,_0x31f38b,_0x3b142d,_0x1ff470,_0x57a141,_0x583dfc){const _0x32805f=_0x3249e4;super(),_0x202b34(this,_0x32805f(0xc1),!0x1),_0x202b34(this,'_init',!0x1),_0x202b34(this,_0x32805f(0x1f1),new _0x596bb7[(_0x32805f(0x2db))](new Map())),_0x202b34(this,'cursorInfo$',this[_0x32805f(0x1f1)][_0x32805f(0x1b6)]()),_0x202b34(this,'_roomMembers$',new _0x596bb7[(_0x32805f(0x2db))]([])),_0x202b34(this,'roomMembers$',this[_0x32805f(0x254)]['pipe'](_0x596bb7['debounceTime'](_0x373b3d))),_0x202b34(this,_0x32805f(0x22c),_0x4b6906[_0x32805f(0x17d)](_0x4f622c=>{const _0xf2b4af=_0x32805f,_0x1e8077={'eventID':_0x5873f4['CollaborationEvent'][_0xf2b4af(0xf3)],'data':{'unitID':this[_0xf2b4af(0x2d1)],'memberID':this['_session'][_0xf2b4af(0x112)](),'selection':_0x5a38b5(_0x4f622c)}};this[_0xf2b4af(0x2b6)][_0xf2b4af(0x1d9)](_0x1e8077,this[_0xf2b4af(0x2d1)]);},_0x2ff0c7)),(this['unitID']=_0x1f3279,this['_session']=_0x1cbc1e,this[_0x32805f(0x10e)]=_0x34d14d,this[_0x32805f(0x31e)]=_0x4f00c1,this[_0x32805f(0x294)]=_0x31f38b,this[_0x32805f(0x1c7)]=_0x3b142d,this[_0x32805f(0x1ff)]=_0x1ff470,this[_0x32805f(0x11d)]=_0x57a141,this[_0x32805f(0x13b)]=_0x583dfc);}get[_0x3249e4(0xd0)](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x3249e4(0x241)](){const _0x5ea7f9=_0x3249e4;super[_0x5ea7f9(0x241)](),this[_0x5ea7f9(0x1f1)]['next'](new Map()),this[_0x5ea7f9(0x1f1)][_0x5ea7f9(0x2d3)](),this['_roomMembers$'][_0x5ea7f9(0x2ad)]([]),this[_0x5ea7f9(0x254)][_0x5ea7f9(0x2d3)]();}[_0x3249e4(0x19d)](){const _0x23e863=_0x3249e4;this[_0x23e863(0x1c4)]||(this[_0x23e863(0x1c4)]=!0x0,this[_0x23e863(0x2b6)][_0x23e863(0x33a)][_0x23e863(0x24b)](_0x596bb7[_0x23e863(0x33f)](this['dispose$']))[_0x23e863(0x2ea)](_0x32a563=>{const _0xf25dca=_0x23e863;_0x32a563===_0x52f34c['SessionStatus'][_0xf25dca(0x29d)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session']['event$'][_0x23e863(0x24b)](_0x596bb7[_0x23e863(0x33f)](this[_0x23e863(0xeb)]))[_0x23e863(0x2ea)](_0x85e808=>{const _0x79181=_0x23e863,_0x3bf266=_0x85e808[_0x79181(0x2ce)];_0x3bf266===_0x5873f4[_0x79181(0x345)][_0x79181(0xf3)]&&this[_0x79181(0x1d5)](_0x85e808),_0x3bf266===_0x5873f4[_0x79181(0x345)]['USERS_LEAVE']&&this[_0x79181(0x2ae)](_0x85e808);}),this[_0x23e863(0x2a0)](this[_0x23e863(0x13b)][_0x23e863(0x232)](_0x54f71b=>{const _0x337e17=_0x23e863,_0x3f343d=_0x54f71b[_0x337e17(0xc8)];_0x3f343d!=null&&this[_0x337e17(0xc1)]&&_0x54f71b['id']===_0x3c6c88[_0x337e17(0x137)]['id']&&_0x3f343d[_0x337e17(0x24d)]===this[_0x337e17(0x2d1)]&&_0x3f343d['isEditing']===!0x1&&_0x3f343d['ranges'][_0x337e17(0x10a)]>0x0&&this['_updateLocalCursor'](_0x3f343d[_0x337e17(0x338)]);})),this['_syncEditingCollabCursorService'][_0x23e863(0x1d0)][_0x23e863(0x24b)](_0x596bb7[_0x23e863(0x33f)](this['dispose$']))[_0x23e863(0x2ea)](_0x2b2574=>{const _0x23a39b=_0x23e863;if((_0x2b2574==null?void 0x0:_0x2b2574['unitID'])!==this['unitID'])return;const _0x3b5c17={'eventID':_0x5873f4['CollaborationEvent'][_0x23a39b(0xf3)],'data':_0x2b2574};this[_0x23a39b(0x1d5)](_0x3b5c17);}),this[_0x23e863(0x2a0)](this[_0x23e863(0x13b)][_0x23e863(0x232)](_0x3883ba=>{const _0x35db34=_0x23e863;if(_0x3883ba[_0x35db34(0xc8)]==null)return;const _0x37efb9=_0x3883ba[_0x35db34(0xc8)];if(_0x3883ba['id']!==_0x3c6c88[_0x35db34(0x11f)]['id']||_0x37efb9[_0x35db34(0x24d)]!==this['unitID'])return;const _0x3af64c={'id':'doc.mutation.rich-text-editing','params':_0x37efb9},_0x5b0b60=this[_0x35db34(0xd0)];for(const [_0x13edff,_0x1857dc]of _0x5b0b60){const _0x35bed4={'id':_0x35db34(0x18a),'params':{'unitId':this[_0x35db34(0x2d1)],'actions':null,'textRanges':_0x1857dc['ranges']}},_0x1255d7=this[_0x35db34(0x1ff)][_0x35db34(0x18c)](_0x3af64c,_0x35bed4,!0x1);if(_0x5873f4[_0x35db34(0x2b0)](_0x1255d7))throw _0x1255d7[_0x35db34(0x267)];_0x5b0b60[_0x35db34(0x32a)](_0x13edff,{..._0x1857dc,'ranges':_0x1255d7['m2Prime']['params'][_0x35db34(0x1ea)]});}queueMicrotask(()=>{const _0x5c7b71=_0x35db34;this[_0x5c7b71(0x1f1)][_0x5c7b71(0x2ad)](_0x5b0b60);});})));}['_onCursorUpdate'](_0x571307){const _0x8a6a52=_0x3249e4;var _0xfc64ad,_0x15b819;const {memberID:_0x1a56ba,selection:_0x4012a8}=_0x571307[_0x8a6a52(0x140)],_0x57be31=_0x26bfe6(_0x4012a8),_0x5be9aa=(_0x15b819=(_0xfc64ad=this[_0x8a6a52(0x294)][_0x8a6a52(0x219)](this[_0x8a6a52(0x2d1)],_0x1a56ba))==null?void 0x0:_0xfc64ad['name'])!=null?_0x15b819:_0x8a6a52(0x18f),_0x2d62f6={'color':this[_0x8a6a52(0x31e)][_0x8a6a52(0x269)](_0x1a56ba),'name':_0x5be9aa,'ranges':_0x57be31},_0x2d8f63=this[_0x8a6a52(0xd0)];_0x2d8f63[_0x8a6a52(0x32a)](_0x1a56ba,_0x2d62f6),this[_0x8a6a52(0x1f1)][_0x8a6a52(0x2ad)](_0x2d8f63);}['_onCursorDelete'](_0x7ebf06){const _0x2b016b=_0x3249e4,{memberID:_0x463b73}=_0x7ebf06[_0x2b016b(0x140)],_0x323f7c=this[_0x2b016b(0xd0)];_0x323f7c[_0x2b016b(0x16d)](_0x463b73),this[_0x2b016b(0x1f1)][_0x2b016b(0x2ad)](_0x323f7c);}['_toggleOnline'](){const _0x1f927d=_0x3249e4;var _0x5f5097;if(this[_0x1f927d(0xc1)]=!0x0,((_0x5f5097=this['_univerInstanceService'][_0x1f927d(0x2be)]())==null?void 0x0:_0x5f5097[_0x1f927d(0x293)]())!==this[_0x1f927d(0x2d1)])return;const _0x9e5eba=this[_0x1f927d(0x10e)][_0x1f927d(0x14a)](_0x3c6c88['DocSelectionManagerService'])[_0x1f927d(0x26c)]();Array[_0x1f927d(0x145)](_0x9e5eba)&&_0x9e5eba[_0x1f927d(0x10a)]>0x0&&this[_0x1f927d(0x22c)](_0x9e5eba);}[_0x3249e4(0x1bb)](){const _0x452184=_0x3249e4;this[_0x452184(0xc1)]=!0x1;}};_0x4bb0c4=_0xf00e81([_0x31ff33(0x2,_0x4b6906[_0x3249e4(0x10b)](_0x4b6906[_0x3249e4(0x2d8)])),_0x31ff33(0x3,_0x4b6906['Inject'](_0x1111e6)),_0x31ff33(0x4,_0x4b6906[_0x3249e4(0x10b)](_0x52f34c['MemberService'])),_0x31ff33(0x5,_0x4b6906[_0x3249e4(0x10b)](_0x3ac6b6)),_0x31ff33(0x6,_0x5873f4[_0x3249e4(0x1e5)]),_0x31ff33(0x7,_0x4b6906['IUniverInstanceService']),_0x31ff33(0x8,_0x4b6906[_0x3249e4(0x1e9)])],_0x4bb0c4);var _0x52bbf4=Object[_0x3249e4(0x16f)],_0x1d30b2=(_0x1f7508,_0x591da1,_0x1d2ef1,_0x454964)=>{const _0x454a1f=_0x3249e4;for(var _0x459186=_0x454964>0x1?void 0x0:_0x454964?_0x52bbf4(_0x591da1,_0x1d2ef1):_0x591da1,_0x2230a4=_0x1f7508[_0x454a1f(0x10a)]-0x1,_0x377298;_0x2230a4>=0x0;_0x2230a4--)(_0x377298=_0x1f7508[_0x2230a4])&&(_0x459186=_0x377298(_0x459186)||_0x459186);return _0x459186;},_0x1067b3=(_0x4b0356,_0x446c33)=>(_0x3d7932,_0xc424a5)=>_0x446c33(_0x3d7932,_0xc424a5,_0x4b0356);const _0x48aba5=0x12c,_0x4ed2c3=0x64,_0x2fa79a=()=>{let _0x3a576f=[],_0x1f2ce9=!0x1;return _0x1671fa=>{const _0x2d2863=_0x366c;_0x3a576f[_0x2d2863(0xfa)](_0x1671fa),_0x1f2ce9||(_0x1f2ce9=!0x0,setTimeout(()=>{_0x3a576f['forEach'](_0x3a7a32=>_0x3a7a32()),_0x3a576f=[],_0x1f2ce9=!0x1;}));};};let _0xf92256=class extends _0x4b6906[_0x3249e4(0x304)]{constructor(_0x305263,_0xacabd2,_0x48aa97,_0x3c1671,_0x57b907,_0x409e00,_0x241a91,_0x4ee8de){const _0x5a353e=_0x3249e4;super(),_0x202b34(this,_0x5a353e(0xc1),!0x1),_0x202b34(this,'_init',!0x1),_0x202b34(this,_0x5a353e(0x1f1),new _0x596bb7[(_0x5a353e(0x2db))](new Map())),_0x202b34(this,_0x5a353e(0x26e),this[_0x5a353e(0x1f1)][_0x5a353e(0x1b6)]()),_0x202b34(this,_0x5a353e(0x254),new _0x596bb7[(_0x5a353e(0x2db))]([])),_0x202b34(this,_0x5a353e(0x127),this[_0x5a353e(0x254)]['pipe'](_0x596bb7[_0x5a353e(0x275)](_0x48aba5))),_0x202b34(this,_0x5a353e(0x22c),_0x4b6906[_0x5a353e(0x17d)]((_0xf1f46,_0x2431ca)=>{const _0x3dca7b=_0x5a353e,_0x39e9e8={'eventID':_0x5873f4[_0x3dca7b(0x345)][_0x3dca7b(0xf3)],'data':{'unitID':this[_0x3dca7b(0x2d1)],'memberID':this['_session'][_0x3dca7b(0x112)](),'selection':_0x3cd16e[_0x3dca7b(0xce)](_0xf1f46,_0x2431ca[_0x3dca7b(0x2d7)])}};this[_0x3dca7b(0x2b6)][_0x3dca7b(0x1d9)](_0x39e9e8,this[_0x3dca7b(0x2d1)]);},_0x4ed2c3)),(this['unitID']=_0x305263,this[_0x5a353e(0x2b6)]=_0xacabd2,this[_0x5a353e(0x10e)]=_0x48aa97,this[_0x5a353e(0x31e)]=_0x3c1671,this[_0x5a353e(0x294)]=_0x57b907,this[_0x5a353e(0x11d)]=_0x409e00,this[_0x5a353e(0x13b)]=_0x241a91,this[_0x5a353e(0x321)]=_0x4ee8de);}get[_0x3249e4(0xd0)](){const _0x1e245d=_0x3249e4;return this[_0x1e245d(0x1f1)][_0x1e245d(0x29c)]();}get[_0x3249e4(0x1c9)](){const _0x5bdce4=_0x3249e4;return this[_0x5bdce4(0x254)][_0x5bdce4(0x29c)]();}[_0x3249e4(0x241)](){const _0x3a710e=_0x3249e4;super[_0x3a710e(0x241)](),this[_0x3a710e(0x1f1)][_0x3a710e(0x2ad)](new Map()),this[_0x3a710e(0x1f1)][_0x3a710e(0x2d3)](),this[_0x3a710e(0x254)][_0x3a710e(0x2ad)]([]),this[_0x3a710e(0x254)][_0x3a710e(0x2d3)]();}[_0x3249e4(0x19d)](){const _0x474974=_0x3249e4;this['_init']||(this[_0x474974(0x1c4)]=!0x0,this['_session'][_0x474974(0x33a)][_0x474974(0x24b)](_0x596bb7[_0x474974(0x33f)](this[_0x474974(0xeb)]))[_0x474974(0x2ea)](_0x2d1869=>{const _0x3c87a2=_0x474974;_0x2d1869===_0x52f34c[_0x3c87a2(0x245)]['ONLINE']?this[_0x3c87a2(0x191)]():this[_0x3c87a2(0x1bb)]();}),this[_0x474974(0x2b6)][_0x474974(0x14e)][_0x474974(0x24b)](_0x596bb7[_0x474974(0x33f)](this[_0x474974(0xeb)]))[_0x474974(0x2ea)](_0x20c05b=>{const _0x5b0518=_0x474974,_0x5e3c72=_0x20c05b['eventID'];_0x5e3c72===_0x5873f4[_0x5b0518(0x345)][_0x5b0518(0xf3)]&&this[_0x5b0518(0x1d5)](_0x20c05b),_0x5e3c72===_0x5873f4[_0x5b0518(0x345)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x20c05b);}),this['_onRefRangeChange'](),this[_0x474974(0x2a0)](this['_commandService'][_0x474974(0x232)](_0x119755=>{const _0x16fd87=_0x474974;if(this[_0x16fd87(0xc1)]&&_0x119755['id']===_0x5de2fa['SetSelectionsOperation']['id']&&_0x119755[_0x16fd87(0xc8)][_0x16fd87(0x24d)]===this[_0x16fd87(0x2d1)]){const _0x5155a7=_0x119755[_0x16fd87(0xc8)];this[_0x16fd87(0x22c)](_0x5155a7[_0x16fd87(0x1d8)],_0x5155a7[_0x16fd87(0x2a8)][0x0]);}})));}[_0x3249e4(0x1d5)](_0x355396){const _0x31df21=_0x3249e4;var _0x3b7c86,_0x37785a;const {memberID:_0x22fe16,selection:_0x43773b}=_0x355396[_0x31df21(0x140)],{sheetName:_0x1f249f,range:_0x2d476e}=_0x3cd16e[_0x31df21(0x1de)](_0x43773b),_0x218eca={'name':(_0x37785a=(_0x3b7c86=this[_0x31df21(0x294)]['getMember'](this[_0x31df21(0x2d1)],_0x22fe16))==null?void 0x0:_0x3b7c86[_0x31df21(0x33e)])!=null?_0x37785a:'Unknown\x20user','range':this[_0x31df21(0x2ac)](_0x1f249f,_0x2d476e),'sheetID':_0x1f249f,'color':this[_0x31df21(0x31e)][_0x31df21(0x269)](_0x22fe16),'selection':_0x43773b},_0x41bc26=this[_0x31df21(0xd0)];_0x41bc26[_0x31df21(0x32a)](_0x22fe16,_0x218eca),this['_cursorInfo$']['next'](_0x41bc26);}[_0x3249e4(0x2ae)](_0x225e6e){const _0x42ae35=_0x3249e4,{memberID:_0x461572}=_0x225e6e[_0x42ae35(0x140)],_0x20f39f=this[_0x42ae35(0xd0)];_0x20f39f[_0x42ae35(0x16d)](_0x461572),this[_0x42ae35(0x1f1)][_0x42ae35(0x2ad)](_0x20f39f);}[_0x3249e4(0x2ac)](_0x2209ce,_0x2162cf){const _0xd519a=_0x3249e4;var _0x3aa1cc,_0x2965bc;const _0x583d01=(_0x2965bc=(_0x3aa1cc=this[_0xd519a(0x11d)][_0xd519a(0x2cd)](this[_0xd519a(0x2d1)]))==null?void 0x0:_0x3aa1cc[_0xd519a(0x2e1)](_0x2209ce))==null?void 0x0:_0x2965bc[_0xd519a(0x1b0)]();return(_0x583d01==null?void 0x0:_0x583d01[_0xd519a(0x212)](_0x5a6e49=>_0x4b6906[_0xd519a(0x2a3)]['contains'](_0x5a6e49,_0x2162cf)))||_0x2162cf;}[_0x3249e4(0x332)](){const _0x16623b=_0x3249e4,_0x219e53=new _0x4b6906[(_0x16623b(0x20e))](),_0x498612=_0x2fa79a(),_0x369617=()=>{const _0x4ce7ba=_0x16623b;_0x219e53['dispose']();const _0x51f884=(_0x3261f9,_0x27ed09,_0x2eacd9,_0x418e99)=>{const _0x1bba46=_0x366c;let _0x398772=[];switch(_0x3261f9['id']){case _0x5de2fa['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x398772=_0x5de2fa[_0x1bba46(0x2ed)](_0x3261f9,_0x418e99);break;}case _0x5de2fa[_0x1bba46(0xe5)][_0x1bba46(0x330)]:{_0x398772=_0x5de2fa[_0x1bba46(0x2af)](_0x3261f9,_0x418e99);break;}case _0x5de2fa[_0x1bba46(0xe5)][_0x1bba46(0x2ca)]:{_0x398772=_0x5de2fa[_0x1bba46(0x160)](_0x3261f9,_0x418e99);break;}case _0x5de2fa['EffectRefRangId'][_0x1bba46(0x166)]:{_0x398772=_0x5de2fa[_0x1bba46(0x20d)](_0x3261f9,_0x418e99);break;}case _0x5de2fa[_0x1bba46(0xe5)][_0x1bba46(0x1e4)]:{_0x398772=_0x5de2fa['handleInsertRangeMoveRight'](_0x3261f9,_0x418e99);break;}case _0x5de2fa[_0x1bba46(0xe5)][_0x1bba46(0x12d)]:{_0x398772=_0x5de2fa['handleInsertRow'](_0x3261f9,_0x418e99);break;}case _0x5de2fa['EffectRefRangId'][_0x1bba46(0x343)]:{_0x398772=_0x5de2fa[_0x1bba46(0x139)](_0x3261f9,_0x418e99);break;}case _0x5de2fa[_0x1bba46(0xe5)][_0x1bba46(0x34d)]:{_0x398772=_0x5de2fa['handleIRemoveCol'](_0x3261f9,_0x418e99);break;}case _0x5de2fa[_0x1bba46(0xe5)][_0x1bba46(0x2c8)]:{_0x398772=_0x5de2fa['handleIRemoveRow'](_0x3261f9,_0x418e99);break;}}const _0x52fb63=_0x5de2fa[_0x1bba46(0x352)](_0x398772,_0x418e99),_0x4062ca=this['cursorInfo'][_0x1bba46(0x14a)](_0x27ed09);if(_0x4062ca&&_0x52fb63){const _0x1a3cdd={..._0x4062ca,'range':_0x52fb63};this[_0x1bba46(0xd0)][_0x1bba46(0x32a)](_0x27ed09,_0x1a3cdd),_0x498612(()=>{const _0x2dc334=_0x1bba46,_0x557f8a=this[_0x2dc334(0x321)]['registerRefRange'](_0x52fb63,_0xf4eb0b=>(_0x557f8a[_0x2dc334(0x241)](),_0x51f884(_0xf4eb0b,_0x27ed09,_0x2eacd9,_0x52fb63)));_0x219e53[_0x2dc334(0x117)](_0x557f8a);});}return{'redos':[],'undos':[]};};this[_0x4ce7ba(0xd0)][_0x4ce7ba(0x2eb)]((_0x2c50ef,_0x276086)=>{const _0x14f632=_0x4ce7ba,{range:_0x3d3d44,sheetID:_0x4aa1f8}=_0x2c50ef,_0x626c7a=this[_0x14f632(0x321)][_0x14f632(0x30e)](_0x3d3d44,_0x198dfd=>(_0x626c7a[_0x14f632(0x241)](),_0x51f884(_0x198dfd,_0x276086,_0x4aa1f8,_0x3d3d44)));_0x219e53['add'](_0x626c7a);});};this[_0x16623b(0x2a0)](_0x4b6906['toDisposable'](this['_cursorInfo$']['subscribe'](()=>{_0x369617();})));}[_0x3249e4(0x191)](){const _0x6f867b=_0x3249e4;var _0x3e103b,_0x5f546a;if(this['_online']=!0x0,((_0x3e103b=this[_0x6f867b(0x11d)][_0x6f867b(0x2be)]())==null?void 0x0:_0x3e103b[_0x6f867b(0x293)]())!==this['unitID'])return;const _0xbfef7c=(_0x5f546a=this[_0x6f867b(0x10e)][_0x6f867b(0x14a)](_0x5de2fa[_0x6f867b(0x193)])[_0x6f867b(0x11b)]())==null?void 0x0:_0x5f546a[0x0],_0x14c722=this[_0x6f867b(0x11d)][_0x6f867b(0x2a6)](_0x4b6906[_0x6f867b(0x1b3)]['UNIVER_SHEET'])[_0x6f867b(0x2a9)]();_0xbfef7c&&_0x14c722&&this[_0x6f867b(0x22c)](_0x14c722[_0x6f867b(0xda)](),_0xbfef7c);}[_0x3249e4(0x1bb)](){const _0x6bf62b=_0x3249e4;this[_0x6bf62b(0xc1)]=!0x1;}};_0xf92256=_0x1d30b2([_0x1067b3(0x2,_0x4b6906[_0x3249e4(0x10b)](_0x4b6906[_0x3249e4(0x2d8)])),_0x1067b3(0x3,_0x4b6906[_0x3249e4(0x10b)](_0x1111e6)),_0x1067b3(0x4,_0x4b6906['Inject'](_0x52f34c[_0x3249e4(0xcd)])),_0x1067b3(0x5,_0x4b6906[_0x3249e4(0x356)]),_0x1067b3(0x6,_0x4b6906[_0x3249e4(0x1e9)]),_0x1067b3(0x7,_0x4b6906[_0x3249e4(0x10b)](_0x5de2fa[_0x3249e4(0xf8)]))],_0xf92256);var _0x196fc2=Object[_0x3249e4(0x16f)],_0x2ba7ed=(_0x3b73ca,_0x33d97d,_0x1b501b,_0x354054)=>{for(var _0x4de5ec=_0x354054>0x1?void 0x0:_0x354054?_0x196fc2(_0x33d97d,_0x1b501b):_0x33d97d,_0x3990b6=_0x3b73ca['length']-0x1,_0x1ea7f1;_0x3990b6>=0x0;_0x3990b6--)(_0x1ea7f1=_0x3b73ca[_0x3990b6])&&(_0x4de5ec=_0x1ea7f1(_0x4de5ec)||_0x4de5ec);return _0x4de5ec;},_0x14de49=(_0x3351fc,_0x563eb5)=>(_0x2ca524,_0x5495a0)=>_0x563eb5(_0x2ca524,_0x5495a0,_0x3351fc);let _0x24ffd2=class extends _0x4b6906[_0x3249e4(0x304)]{constructor(_0x5b5d7a,_0x18e42c,_0x91cdb){const _0x2be385=_0x3249e4;super(),_0x202b34(this,_0x2be385(0xff),new Map()),_0x202b34(this,'_entityInit$',new _0x596bb7[(_0x2be385(0x296))]()),(this[_0x2be385(0x11d)]=_0x5b5d7a,this[_0x2be385(0x10e)]=_0x18e42c,this['_collabSessionService']=_0x91cdb,this['_init']());}[_0x3249e4(0x241)](){const _0x12d22a=_0x3249e4;super['dispose'](),this['_entityInit$']['complete'](),this['_entities'][_0x12d22a(0x2eb)](_0x184370=>_0x184370[_0x12d22a(0x241)]());}[_0x3249e4(0x2d4)](_0x3a6e1f){const _0x521da4=_0x3249e4;return this['_entities'][_0x521da4(0x1dd)](_0x3a6e1f)?this[_0x521da4(0xff)][_0x521da4(0x14a)](_0x3a6e1f)[_0x521da4(0x26e)]:this[_0x521da4(0x190)][_0x521da4(0x24b)](_0x596bb7[_0x521da4(0x214)](_0x96ba04=>_0x96ba04[_0x521da4(0x2d1)]===_0x3a6e1f),_0x596bb7['switchMap'](_0x412ca8=>_0x412ca8[_0x521da4(0x26e)]));}[_0x3249e4(0x1c4)](){const _0x46b3e6=_0x3249e4;this[_0x46b3e6(0x11d)][_0x46b3e6(0x281)](_0x4b6906[_0x46b3e6(0x1b3)][_0x46b3e6(0x218)])[_0x46b3e6(0x24b)](_0x596bb7[_0x46b3e6(0x33f)](this[_0x46b3e6(0xeb)]))['subscribe'](async _0x4e892a=>{const _0x356041=_0x46b3e6,_0xb7143=_0x4e892a[_0x356041(0x293)](),_0xcc1189=await this['_startSheetCollabCursor'](_0xb7143);this[_0x356041(0x190)]['next'](_0xcc1189),this[_0x356041(0xff)]['set'](_0xb7143,_0xcc1189);}),this[_0x46b3e6(0x11d)][_0x46b3e6(0x281)](_0x4b6906[_0x46b3e6(0x1b3)][_0x46b3e6(0x208)])[_0x46b3e6(0x24b)](_0x596bb7[_0x46b3e6(0x33f)](this[_0x46b3e6(0xeb)]))[_0x46b3e6(0x24b)](_0x596bb7[_0x46b3e6(0x214)](_0x25fdb7=>!_0x25fdb7[_0x46b3e6(0x293)]()['startsWith']('__')))[_0x46b3e6(0x2ea)](async _0x32343a=>{const _0x214783=_0x46b3e6,_0x52d0aa=_0x32343a['getUnitId'](),_0x3fbdd3=await this[_0x214783(0x120)](_0x52d0aa);this[_0x214783(0x190)][_0x214783(0x2ad)](_0x3fbdd3),this[_0x214783(0xff)][_0x214783(0x32a)](_0x52d0aa,_0x3fbdd3);}),_0x596bb7[_0x46b3e6(0xbf)](this['_univerInstanceService'][_0x46b3e6(0x195)](_0x4b6906['UniverInstanceType']['UNIVER_DOC']),this[_0x46b3e6(0x11d)][_0x46b3e6(0x195)](_0x4b6906[_0x46b3e6(0x1b3)][_0x46b3e6(0x218)]))[_0x46b3e6(0x24b)](_0x596bb7[_0x46b3e6(0x33f)](this[_0x46b3e6(0xeb)]))[_0x46b3e6(0x2ea)](_0x2bf972=>{const _0x352123=_0x46b3e6,_0x3e5c53=_0x2bf972[_0x352123(0x293)](),_0x4c67fb=this[_0x352123(0xff)]['get'](_0x3e5c53);_0x4c67fb&&(_0x4c67fb[_0x352123(0x241)](),this[_0x352123(0xff)][_0x352123(0x16d)](_0x3e5c53));});}async[_0x3249e4(0x331)](_0x190ccd){const _0x33d30d=_0x3249e4,_0x531b7f=await this[_0x33d30d(0x289)][_0x33d30d(0x1c0)](_0x190ccd),_0x5d2ceb=this[_0x33d30d(0x10e)][_0x33d30d(0x1ad)](_0xf92256,_0x190ccd,_0x531b7f);return _0x5d2ceb[_0x33d30d(0x19d)](),_0x5d2ceb;}async[_0x3249e4(0x120)](_0x2d2c78){const _0x299a18=_0x3249e4,_0x583457=await this[_0x299a18(0x289)][_0x299a18(0x1c0)](_0x2d2c78),_0x4fa6da=this[_0x299a18(0x10e)][_0x299a18(0x1ad)](_0x4bb0c4,_0x2d2c78,_0x583457);return _0x4fa6da[_0x299a18(0x19d)](),_0x4fa6da;}};_0x24ffd2=_0x2ba7ed([_0x14de49(0x0,_0x4b6906['IUniverInstanceService']),_0x14de49(0x1,_0x4b6906[_0x3249e4(0x10b)](_0x4b6906[_0x3249e4(0x2d8)])),_0x14de49(0x2,_0x4b6906[_0x3249e4(0x10b)](_0x52f34c[_0x3249e4(0xc3)]))],_0x24ffd2);const _0x4cb6aa=0x14,_0x9ff5e0=0xc8,_0x519ece=0x4,_0x7a50eb=0x5;function _0x4ffbf1(_0x4bec74,_0x47a685){const _0xb2a1cf=_0x3249e4;let {radius:_0x23b9e1,width:_0x3df4f6,height:_0x5d0980}=_0x47a685;_0x23b9e1=_0x23b9e1!=null?_0x23b9e1:0x0,_0x3df4f6=_0x3df4f6!=null?_0x3df4f6:0x1e,_0x5d0980=_0x5d0980!=null?_0x5d0980:0x1e;let _0x4bb609=0x0,_0x3d8385=0x0,_0x5f8e3e=0x0;_0x4bb609=_0x3d8385=_0x5f8e3e=Math[_0xb2a1cf(0x129)](_0x23b9e1,_0x3df4f6/0x2,_0x5d0980/0x2),_0x4bec74[_0xb2a1cf(0x305)](),_0x4bec74[_0xb2a1cf(0x23b)](_0x4bb609,0x0),_0x4bec74[_0xb2a1cf(0x298)](_0x3df4f6-_0x3d8385,0x0),_0x4bec74[_0xb2a1cf(0x1f9)](_0x3df4f6-_0x3d8385,_0x3d8385,_0x3d8385,Math['PI']*0x3/0x2,0x0,!0x1),_0x4bec74[_0xb2a1cf(0x298)](_0x3df4f6,_0x5d0980-_0x5f8e3e),_0x4bec74[_0xb2a1cf(0x1f9)](_0x3df4f6-_0x5f8e3e,_0x5d0980-_0x5f8e3e,_0x5f8e3e,0x0,Math['PI']/0x2,!0x1),_0x4bec74[_0xb2a1cf(0x298)](0x0,_0x5d0980),_0x4bec74[_0xb2a1cf(0x298)](0x0,_0x4bb609),_0x4bec74[_0xb2a1cf(0x1f9)](_0x4bb609,_0x4bb609,_0x4bb609,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4bec74[_0xb2a1cf(0x2b9)](),_0x47a685['fill']&&(_0x4bec74['save'](),_0x4bec74[_0xb2a1cf(0x280)]=_0x47a685[_0xb2a1cf(0x285)],_0x47a685[_0xb2a1cf(0x263)]===_0xb2a1cf(0x307)?_0x4bec74[_0xb2a1cf(0x285)](_0xb2a1cf(0x307)):_0x4bec74[_0xb2a1cf(0x285)](),_0x4bec74[_0xb2a1cf(0x268)]());}class _0x546edd extends _0xa2dea1[_0x3249e4(0x236)]{constructor(_0x350fe6,_0x421dff){const _0x1b57d4=_0x3249e4;super(_0x350fe6,_0x421dff),_0x202b34(this,'color'),_0x202b34(this,_0x1b57d4(0x1fa)),(this[_0x1b57d4(0x176)]=_0x421dff==null?void 0x0:_0x421dff['color'],this['text']=_0x421dff==null?void 0x0:_0x421dff[_0x1b57d4(0x1fa)]);}static[_0x3249e4(0xf9)](_0x183829,_0xfff765){const _0x5fcc78=_0x3249e4,{text:_0x1189b4,color:_0x2caf26}=_0xfff765;_0x183829[_0x5fcc78(0x1d1)](),_0x183829[_0x5fcc78(0xee)]=_0x5fcc78(0x334);const _0x5a606c=_0x183829[_0x5fcc78(0x22e)](_0x1189b4)['width'],_0x5ca197=Math[_0x5fcc78(0x129)](_0x5a606c+0x2*_0x519ece,_0x9ff5e0);_0x4ffbf1(_0x183829,{'height':_0x4cb6aa,'radius':0x4,'width':_0x5ca197,'fill':_0x2caf26}),_0x183829['fillStyle']=_0x5fcc78(0x1b5);const _0xf9f088=_0x519ece,_0x3a6be4=_0x4cb6aa-_0x7a50eb,_0x36f2c4=_0x9ff5e0-0x2*_0x519ece;if(_0x5a606c>_0x36f2c4){let _0x35b8ba='',_0x331543=0x0;for(const _0x1537aa of _0x1189b4){const _0x5906ca=_0x183829['measureText'](_0x1537aa)[_0x5fcc78(0x2ff)];if(_0x331543+_0x5906ca<=_0x36f2c4-_0x183829[_0x5fcc78(0x22e)](_0x5fcc78(0x2f7))[_0x5fcc78(0x2ff)])_0x35b8ba+=_0x1537aa,_0x331543+=_0x5906ca;else{_0x35b8ba+=_0x5fcc78(0x2f7);break;}}_0x183829['fillText'](_0x35b8ba,_0xf9f088,_0x3a6be4);}else _0x183829[_0x5fcc78(0xfb)](_0x1189b4,_0xf9f088,_0x3a6be4);_0x183829[_0x5fcc78(0x268)]();}[_0x3249e4(0x2c6)](_0x3263b){const _0x2902fd=_0x3249e4;_0x546edd[_0x2902fd(0xf9)](_0x3263b,this);}}const _0x1346b8=_0x3249e4(0x306),_0xa112d7=_0x3249e4(0x15a),_0x3a6bc4=_0x3249e4(0x276),_0x4046a2=0x6,_0x3d28dd=1.5,_0x1e7763=0x4,_0x511e4c=1.5,_0x5ea6d6=_0x3249e4(0x291);class _0x13079a{constructor(_0x338573,_0x225877,_0x1d9299,_0x4d082b){const _0x48390c=_0x3249e4;_0x202b34(this,'_shapes',[]),_0x202b34(this,'_anchor',null),_0x202b34(this,_0x48390c(0x20f),null),_0x202b34(this,_0x48390c(0x225),null),_0x202b34(this,_0x48390c(0x235),null),_0x202b34(this,_0x48390c(0x102),null),(this[_0x48390c(0xd3)]=_0x338573,this[_0x48390c(0x2f1)]=_0x225877,this[_0x48390c(0x31f)]=_0x1d9299,this[_0x48390c(0x22f)]=_0x4d082b,this[_0x48390c(0xe3)]());}set[_0x3249e4(0x15f)](_0x260149){const _0x19708=_0x3249e4;_0x260149?(this['_anchorDot']&&this['_anchorDot']['hide'](),this[_0x19708(0x20f)]&&this[_0x19708(0x20f)][_0x19708(0x1e8)]()):(this[_0x19708(0x225)]&&this['_anchorDot'][_0x19708(0x1e8)](),this[_0x19708(0x20f)]&&this['_textBubble'][_0x19708(0x2bc)]());}[_0x3249e4(0x241)](){const _0x2444cf=_0x3249e4;for(const _0x22bdb3 of this[_0x2444cf(0x25e)])_0x22bdb3[_0x2444cf(0x241)]();this[_0x2444cf(0x20f)]&&this[_0x2444cf(0x20f)][_0x2444cf(0x241)](),this['_anchorDot']&&this[_0x2444cf(0x225)][_0x2444cf(0x241)](),this[_0x2444cf(0xc7)]&&this[_0x2444cf(0xc7)][_0x2444cf(0x241)](),this[_0x2444cf(0x102)]&&this[_0x2444cf(0x102)]();}[_0x3249e4(0xe3)](){const _0x5e2b98=_0x3249e4;var _0x3d74b3;const {_docSkeleton:_0x2550d2,_document:_0x3f3e88}=this,{color:_0x568f67,name:_0x34fec2,ranges:_0x4ef30c}=this[_0x5e2b98(0xd3)],_0x5ac947=_0x3f3e88[_0x5e2b98(0x34f)](),{docsLeft:_0x52b13f,docsTop:_0x167d61}=_0x5ac947,_0x10c87c=new _0x4142bf[(_0x5e2b98(0x283))](_0x5ac947,_0x2550d2);for(const {startOffset:_0x372049,endOffset:_0x493742,rangeType:_0x5aa7ca,segmentId:_0x580bd7,segmentPage:_0x2ec7d5,collapsed:_0x22af29,isActive:_0x55cd3e}of _0x4ef30c){const _0x276d64=_0x2550d2[_0x5e2b98(0x14b)](_0x372049,!0x0,_0x580bd7,_0x2ec7d5);let _0x7f4a5a=_0x2550d2['findNodePositionByCharIndex'](_0x493742,!0x0,_0x580bd7,_0x2ec7d5);if(_0x7f4a5a==null&&(_0x7f4a5a=_0x2550d2[_0x5e2b98(0x14b)](_0x493742-0x1,!0x1,_0x580bd7,_0x2ec7d5)),_0x55cd3e){const {contentBoxPointGroup:_0x156964}=_0x10c87c['getRangePointData'](_0x7f4a5a,_0x7f4a5a);if(_0x156964['length']===0x0)continue;this['_drawAnchor'](_0x568f67,_0x156964,_0x52b13f,_0x167d61,_0x34fec2),this[_0x5e2b98(0x102)]=this['_handleHover']();}if(_0x276d64&&_0x7f4a5a){if(_0x5aa7ca===_0x4b6906[_0x5e2b98(0x26f)][_0x5e2b98(0x1c3)]){const _0x318072=new _0x4142bf['NodePositionConvertToRectRange'](_0x5ac947,_0x2550d2),{pointGroup:_0x235c67}=(_0x3d74b3=_0x318072[_0x5e2b98(0x188)](_0x276d64,_0x7f4a5a))!=null?_0x3d74b3:{};if(_0x235c67==null||_0x235c67['length']===0x0)continue;this[_0x5e2b98(0x319)](_0x568f67,_0x235c67,_0x52b13f,_0x167d61);}else{if(!_0x22af29){const {borderBoxPointGroup:_0x326b60}=_0x10c87c['getRangePointData'](_0x276d64,_0x7f4a5a);if(_0x326b60[_0x5e2b98(0x10a)]===0x0)continue;this[_0x5e2b98(0x10f)](_0x568f67,_0x326b60,_0x52b13f,_0x167d61);}}}}}[_0x3249e4(0x2b2)](_0x53d5e6,_0xfef3fc,_0x569ec0,_0x3af7ff,_0x2ab659){const _0x4a2c1c=_0x3249e4,_0x4ee901=this['_getAnchorBounding'](_0xfef3fc),{left:_0x53379b,top:_0x5ca5ae,height:_0x2d11c7}=_0x4ee901,_0x2fad72=this[_0x4a2c1c(0x29e)](),_0x4f0442=_0x511e4c/_0x2fad72,_0x396fa2=new _0xa2dea1['Rect'](_0x1346b8+_0x4b6906[_0x4a2c1c(0x201)][_0x4a2c1c(0x272)](_0x4046a2),{'left':_0x53379b+_0x569ec0-_0x4f0442,'top':_0x5ca5ae+_0x3af7ff,'height':_0x2d11c7,'width':_0x3d28dd,'fill':_0x53d5e6||_0xa2dea1[_0x4a2c1c(0x322)](_0x4b6906[_0x4a2c1c(0x19f)]['black'],0x0),'strokeWidth':_0x4f0442,'stroke':_0x5ea6d6,'evented':!0x0});this['_anchor']=_0x396fa2,this[_0x4a2c1c(0x2f1)][_0x4a2c1c(0x309)](_0x396fa2,_0x4142bf[_0x4a2c1c(0x19b)]);const _0x16876c=new _0xa2dea1[(_0x4a2c1c(0x216))](_0x1346b8+_0x4b6906['Tools'][_0x4a2c1c(0x272)](_0x4046a2),{'left':_0x53379b+_0x569ec0-_0x4f0442,'top':_0x5ca5ae+_0x3af7ff-_0x1e7763/0x2,'height':_0x1e7763,'width':_0x1e7763,'fill':_0x53d5e6||_0xa2dea1[_0x4a2c1c(0x322)](_0x4b6906[_0x4a2c1c(0x19f)][_0x4a2c1c(0x1f3)],0x0),'strokeWidth':0x0,'stroke':_0x53d5e6||_0xa2dea1['getColor'](_0x4b6906['COLORS'][_0x4a2c1c(0x1f3)],0x0),'evented':!0x1});this['_anchorDot']=_0x16876c,this[_0x4a2c1c(0x2f1)][_0x4a2c1c(0x309)](_0x16876c,_0x4142bf[_0x4a2c1c(0x19b)]);const _0x55c113=new _0x546edd(_0x1346b8+_0x4b6906['Tools'][_0x4a2c1c(0x272)](_0x4046a2),{'left':_0x53379b+_0x569ec0-_0x4f0442,'top':_0x5ca5ae+_0x3af7ff-_0x4cb6aa,'text':_0x2ab659,'color':_0x53d5e6});this[_0x4a2c1c(0x20f)]=_0x55c113,this['_scene'][_0x4a2c1c(0x309)](_0x55c113,_0x4142bf[_0x4a2c1c(0x19b)]),this['_hover']=!0x1;}[_0x3249e4(0x335)](){const _0x5d166b=_0x3249e4,_0x4c59c5=this[_0x5d166b(0xc7)][_0x5d166b(0x31c)]['subscribeEvent'](()=>{const _0x2004bb=_0x5d166b;this[_0x2004bb(0x15f)]=!0x0;}),_0x5435b0=this[_0x5d166b(0xc7)]['onPointerLeave$'][_0x5d166b(0x243)](()=>{const _0x36b99f=_0x5d166b;this[_0x36b99f(0x235)]&&clearTimeout(this['_hideTimer']),this[_0x36b99f(0x235)]=setTimeout(()=>{const _0x29a35c=_0x36b99f;this[_0x29a35c(0x15f)]=!0x1;},0x7d0);});return()=>{_0x4c59c5['unsubscribe'](),_0x5435b0['unsubscribe']();};}[_0x3249e4(0x10f)](_0xf67d7c,_0x4e6cd1,_0x4534ac,_0x452b27){const _0x51bc25=_0x3249e4,_0x520e5c=new _0x4b6906['ColorKit'](_0xf67d7c)[_0x51bc25(0x23e)](0.2)[_0x51bc25(0x2e4)](),_0x32d3a9=new _0xa2dea1['RegularPolygon'](_0xa112d7+_0x4b6906[_0x51bc25(0x201)]['generateRandomId'](_0x4046a2),{'pointsGroup':_0x4e6cd1,'fill':_0x520e5c||_0xa2dea1[_0x51bc25(0x322)](_0x4b6906[_0x51bc25(0x19f)][_0x51bc25(0x1f3)],0.2),'left':_0x4534ac,'top':_0x452b27,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x51bc25(0xfa)](_0x32d3a9),this[_0x51bc25(0x2f1)]['addObject'](_0x32d3a9,_0x4142bf['TEXT_RANGE_LAYER_INDEX']);}[_0x3249e4(0x319)](_0x44d6ba,_0x2b8bbf,_0x5b1fae,_0x13a70){const _0x2fa552=_0x3249e4,_0x205e0a=new _0x4b6906[(_0x2fa552(0x11a))](_0x44d6ba)[_0x2fa552(0x23e)](0.2)[_0x2fa552(0x2e4)](),_0x5213dd=new _0xa2dea1[(_0x2fa552(0x121))](_0x3a6bc4+_0x4b6906[_0x2fa552(0x201)][_0x2fa552(0x272)](_0x4046a2),{'pointsGroup':_0x2b8bbf,'fill':_0x205e0a||_0xa2dea1[_0x2fa552(0x322)](_0x4b6906[_0x2fa552(0x19f)][_0x2fa552(0x1f3)],0.2),'left':_0x5b1fae,'top':_0x13a70,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2fa552(0x25e)][_0x2fa552(0xfa)](_0x5213dd),this[_0x2fa552(0x2f1)]['addObject'](_0x5213dd,_0x4142bf[_0x2fa552(0x19b)]);}[_0x3249e4(0xd2)](_0x5d0419){const _0xb1131f=_0x5d0419[0x0],_0x352e3a=_0xb1131f[0x0],_0x561611=_0xb1131f[0x2],{x:_0x424b27,y:_0x278da0}=_0x352e3a,{x:_0x380bff,y:_0xe6dbec}=_0x561611;return{'left':_0x424b27,'top':_0x278da0,'width':_0x380bff-_0x424b27,'height':_0xe6dbec-_0x278da0};}[_0x3249e4(0x29e)](){const _0x56e5f5=_0x3249e4,{scaleX:_0x396dc9,scaleY:_0x4b65c5}=this[_0x56e5f5(0x2f1)][_0x56e5f5(0x103)]();return Math['max'](_0x396dc9,_0x4b65c5);}}var _0x2d69c6=Object[_0x3249e4(0x16f)],_0x5e6e54=(_0x32acc8,_0x4b70a7,_0x422301,_0x2ad370)=>{const _0x454322=_0x3249e4;for(var _0x84c588=_0x2ad370>0x1?void 0x0:_0x2ad370?_0x2d69c6(_0x4b70a7,_0x422301):_0x4b70a7,_0x2f8a0f=_0x32acc8[_0x454322(0x10a)]-0x1,_0x98d9ec;_0x2f8a0f>=0x0;_0x2f8a0f--)(_0x98d9ec=_0x32acc8[_0x2f8a0f])&&(_0x84c588=_0x98d9ec(_0x84c588)||_0x84c588);return _0x84c588;},_0x4974b6=(_0x91a774,_0x48a141)=>(_0x1796c0,_0x1cdb9f)=>_0x48a141(_0x1796c0,_0x1cdb9f,_0x91a774);let _0x118ce5=class extends _0x4b6906['RxDisposable']{constructor(_0x68d2e9,_0x166d30,_0x25aeb3,_0x3dca0d,_0x1cf22f){const _0x4fd50f=_0x3249e4;super(),_0x202b34(this,_0x4fd50f(0x10c),[]),_0x202b34(this,_0x4fd50f(0x2fa),[]),(this[_0x4fd50f(0x1da)]=_0x68d2e9,this[_0x4fd50f(0x207)]=_0x166d30,this[_0x4fd50f(0x19e)]=_0x25aeb3,this[_0x4fd50f(0x13b)]=_0x3dca0d,this[_0x4fd50f(0xdd)]=_0x1cf22f,this[_0x4fd50f(0x1c4)]());}[_0x3249e4(0x1c4)](){const _0x289486=_0x3249e4,_0x21c213=this[_0x289486(0x1da)]['unitId'],_0xf6f083=this[_0x289486(0x207)];this[_0x289486(0x2a0)](_0x596bb7[_0x289486(0xe6)]([this[_0x289486(0x19e)][_0x289486(0x2d4)](_0x21c213),this[_0x289486(0xdd)]['currentTheme$']])[_0x289486(0x24b)](_0x46ce86[_0x289486(0x21e)](([_0x567cd8,_0x2c9fd8])=>({'skeleton':_0xf6f083[_0x289486(0x224)](),'cursors':[..._0x567cd8['values']()]['flatMap'](_0x1cf930=>({..._0x1cf930,'color':_0x2c9fd8[_0x1cf930[_0x289486(0x176)]]}))})))['subscribe'](_0x4a3346=>{const _0x22b071=_0x289486;if(this['_removeCollabCursors'](),_0x4a3346){const {skeleton:_0x5f2c30,cursors:_0xbb97cd}=_0x4a3346;this[_0x22b071(0x351)](_0x5f2c30,_0xbb97cd);}})),this['_initResize'](),this[_0x289486(0x355)]();}['_updateCollabCursors'](_0x58db18,_0x533b6b){const _0xfdbbfc=_0x3249e4,{scene:_0x21a04c,mainComponent:_0x17157a}=this[_0xfdbbfc(0x1da)],_0x1a7f92=_0x533b6b[_0xfdbbfc(0x21e)](_0x3f4174=>new _0x13079a(_0x3f4174,_0x21a04c,_0x58db18,_0x17157a));this[_0xfdbbfc(0x10c)]=_0x1a7f92,this[_0xfdbbfc(0x2fa)]=_0x533b6b;}[_0x3249e4(0x12b)](){const _0x3b199e=_0x3249e4;this[_0x3b199e(0x301)]();const {scene:_0x4e3b19,mainComponent:_0x3e3b3f}=this['_context'],_0x4c4bfc=this[_0x3b199e(0x207)]['getSkeleton'](),_0x1d8f1d=this['_cursors'][_0x3b199e(0x21e)](_0x524c3c=>new _0x13079a(_0x524c3c,_0x4e3b19,_0x4c4bfc,_0x3e3b3f));this[_0x3b199e(0x10c)]=_0x1d8f1d;}[_0x3249e4(0x301)](){const _0x2473a2=_0x3249e4;this[_0x2473a2(0x10c)]['forEach'](_0x3d7b9a=>_0x3d7b9a['dispose']()),this[_0x2473a2(0x10c)]=[];}[_0x3249e4(0x355)](){const _0x4ee849=_0x3249e4,_0xc19642=[_0x4142bf[_0x4ee849(0x1cc)]['id']];this['disposeWithMe'](this['_commandService'][_0x4ee849(0x232)](_0x8c408e=>{const _0x3b4e37=_0x4ee849;_0xc19642['includes'](_0x8c408e['id'])&&_0x8c408e[_0x3b4e37(0xc8)]['unitId']===this[_0x3b4e37(0x1da)]['unitId']&&this[_0x3b4e37(0x12b)]();}));}[_0x3249e4(0x15d)](){const _0x4423fd=_0x3249e4;this[_0x4423fd(0x2a0)](_0x4b6906[_0x4423fd(0x315)](this[_0x4423fd(0x1da)][_0x4423fd(0x19c)][_0x4423fd(0x273)])[_0x4423fd(0x24b)](_0x46ce86[_0x4423fd(0x214)](_0x432e26=>_0x432e26['type']===_0xa2dea1[_0x4423fd(0x1b8)][_0x4423fd(0xd5)]),_0x46ce86[_0x4423fd(0x2e3)](0x10))[_0x4423fd(0x2ea)](()=>{this['_refreshCollabCursors']();}));}};_0x118ce5=_0x5e6e54([_0x4974b6(0x1,_0x4b6906[_0x3249e4(0x10b)](_0x3c6c88[_0x3249e4(0x297)])),_0x4974b6(0x2,_0x4b6906[_0x3249e4(0x10b)](_0x24ffd2)),_0x4974b6(0x3,_0x4b6906[_0x3249e4(0x1e9)]),_0x4974b6(0x4,_0x4b6906[_0x3249e4(0x10b)](_0x4b6906[_0x3249e4(0x313)]))],_0x118ce5);const _0x11957c=0x1,_0x5b2cfc=1.5;class _0x3c8dd6 extends _0xa2dea1['Shape']{constructor(_0x425f32,_0x7dcee4){const _0x52c93a=_0x3249e4;super(_0x425f32,_0x7dcee4),_0x202b34(this,_0x52c93a(0x151)),_0x202b34(this,_0x52c93a(0xc0),!0x1),_0x202b34(this,_0x52c93a(0x246)),_0x202b34(this,_0x52c93a(0x261),''),_0x202b34(this,_0x52c93a(0x16b),_0x52c93a(0x19a)),_0x202b34(this,_0x52c93a(0x115)),(_0x7dcee4&&this['setShapeProps'](_0x7dcee4),this['onPointerEnter$'][_0x52c93a(0x243)](()=>this[_0x52c93a(0x33d)]({'hovered':!0x0})),this[_0x52c93a(0x337)][_0x52c93a(0x243)](()=>this[_0x52c93a(0x33d)]({'hovered':!0x1})));}[_0x3249e4(0x33d)](_0x3420bb){const _0x379990=_0x3249e4;var _0x1326e8,_0x4da502,_0x3b9577,_0x49b01a,_0x226cce,_0x22890e;this['_color']=(_0x1326e8=_0x3420bb[_0x379990(0x176)])!=null?_0x1326e8:this['_color'],this[_0x379990(0xc0)]=(_0x4da502=_0x3420bb[_0x379990(0x341)])!=null?_0x4da502:this['_hovered'],this[_0x379990(0x246)]=(_0x3b9577=_0x3420bb[_0x379990(0x2d7)])!=null?_0x3b9577:this[_0x379990(0x246)],this[_0x379990(0x261)]=(_0x49b01a=_0x3420bb[_0x379990(0x33e)])!=null?_0x49b01a:this[_0x379990(0x261)],this[_0x379990(0x16b)]=(_0x226cce=_0x3420bb[_0x379990(0x150)])!=null?_0x226cce:this[_0x379990(0x16b)],this[_0x379990(0x115)]=(_0x22890e=_0x3420bb[_0x379990(0xc9)])!=null?_0x22890e:this['_backgroundColor'],this[_0x379990(0x353)]({'width':_0x3420bb[_0x379990(0x2ff)],'height':_0x3420bb['height']});}[_0x3249e4(0x23f)](_0x13af9b){const _0x50c0c4=_0x3249e4,{row:_0x263dd6,column:_0x5394ba}=_0x13af9b;if(_0x263dd6>=this[_0x50c0c4(0x246)]['startRow']&&_0x263dd6<=this['_range'][_0x50c0c4(0x279)]&&_0x5394ba>=this[_0x50c0c4(0x246)][_0x50c0c4(0x2b5)]&&_0x5394ba<=this['_range'][_0x50c0c4(0x2d5)]){this[_0x50c0c4(0x33d)]({'hovered':!0x0});return;}this[_0x50c0c4(0x33d)]({'hovered':!0x1});}['triggerDblclick'](_0x1d495a){return!0x1;}[_0x3249e4(0x2c6)](_0x372ac8){const _0x468efe=_0x3249e4;_0xa2dea1['Rect'][_0x468efe(0xf9)](_0x372ac8,{'width':this[_0x468efe(0x2ff)],'height':this[_0x468efe(0x32b)],'strokeWidth':_0x5b2cfc,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x372ac8[_0x468efe(0x1d1)](),_0x372ac8[_0x468efe(0x2c2)](0x1,0x0,0x0,0x1,this[_0x468efe(0x2ff)],this[_0x468efe(0x16b)]===_0x468efe(0x359)?0x0:-0x14),_0x546edd[_0x468efe(0xf9)](_0x372ac8,{'text':this[_0x468efe(0x261)],'color':this[_0x468efe(0x151)]}),_0x372ac8['restore']());}}var _0x119d61=Object[_0x3249e4(0x16f)],_0xa81253=(_0x2271d6,_0x15c569,_0x5f00a2,_0x30ff12)=>{const _0x3b93dd=_0x3249e4;for(var _0x468041=_0x30ff12>0x1?void 0x0:_0x30ff12?_0x119d61(_0x15c569,_0x5f00a2):_0x15c569,_0x485e61=_0x2271d6[_0x3b93dd(0x10a)]-0x1,_0x28b7aa;_0x485e61>=0x0;_0x485e61--)(_0x28b7aa=_0x2271d6[_0x485e61])&&(_0x468041=_0x28b7aa(_0x468041)||_0x468041);return _0x468041;},_0x21a067=(_0x20b1ba,_0xc8ddf0)=>(_0x20996b,_0xc7688e)=>_0xc8ddf0(_0x20996b,_0xc7688e,_0x20b1ba);const _0x6d1176=0x1389;let _0x1a7d71=class extends _0x4b6906['RxDisposable']{constructor(_0x445740,_0x2bbd90,_0x250d78,_0x3b793b){const _0x5da163=_0x3249e4;super(),_0x202b34(this,_0x5da163(0x2fa),new Set()),_0x202b34(this,_0x5da163(0x25d),null),(this[_0x5da163(0x1da)]=_0x445740,this[_0x5da163(0x12e)]=_0x2bbd90,this[_0x5da163(0x19e)]=_0x250d78,this[_0x5da163(0xdd)]=_0x3b793b,this[_0x5da163(0x1c4)]());}['_init'](){const _0x17b077=_0x3249e4;this[_0x17b077(0x12e)][_0x17b077(0x1a9)][_0x17b077(0x24b)](_0x46ce86['takeUntil'](this[_0x17b077(0xeb)]),_0x46ce86['switchMap'](_0x17ad93=>{const _0x3f8002=_0x17b077;if(_0x17ad93){const _0x5c25af=_0x17ad93[_0x3f8002(0x2c4)];return _0x596bb7['combineLatest'](this['_collabCursorController']['getCollabCursors$'](this[_0x3f8002(0x1da)][_0x3f8002(0x24d)]),this[_0x3f8002(0xdd)][_0x3f8002(0x158)])[_0x3f8002(0x24b)](_0x46ce86['map'](([_0x210767,_0x598c6a])=>{const _0x3884c9=_0x3f8002,_0x8ea830=new Map();return _0x210767[_0x3884c9(0x2eb)]((_0x1df0c6,_0x4a6fca)=>{const _0x559255=_0x3884c9;if(_0x1df0c6[_0x559255(0x168)]===_0x5c25af){const _0x4fa800={..._0x1df0c6};_0x4fa800['color']=_0x598c6a[_0x1df0c6['color']],_0x8ea830[_0x559255(0x32a)](_0x4a6fca,_0x4fa800);}}),{'skeleton':_0x17ad93,'cursors':_0x8ea830};}));}return _0x596bb7['of']({'skeleton':null,'cursors':new Map()});}))[_0x17b077(0x2ea)](({skeleton:_0x4f95b2,cursors:_0x4c8915})=>{const _0x3800d6=_0x17b077;this[_0x3800d6(0x301)](),_0x4f95b2&&this['_updateCollabCursors'](_0x4f95b2,_0x4c8915);}),this[_0x17b077(0x12e)][_0x17b077(0x1a9)][_0x17b077(0x2ea)](_0xfd2229=>{const _0x625b30=_0x17b077;if(_0xfd2229==null)return;const {skeleton:_0x3eb3cc}=_0xfd2229,{scene:_0x519f2d}=this['_context'];_0x519f2d[_0x625b30(0x24c)]['subscribeEvent'](_0x4b6906[_0x625b30(0x17d)](_0x7b230d=>{const _0x59e549=_0x625b30;var _0x108e96,_0x337953;const {offsetX:_0x27ef73,offsetY:_0x434d46}=_0x7b230d,{x:_0x1cbc65,y:_0x2f0d52}=_0x519f2d[_0x59e549(0x22a)](_0xa2dea1['Vector2']['FromArray']([_0x27ef73,_0x434d46])),{scaleX:_0x3ba4a1,scaleY:_0xfdd5e5}=_0x519f2d[_0x59e549(0x103)](),_0x3c2683=_0x519f2d[_0x59e549(0x34e)](_0xa2dea1[_0x59e549(0x230)][_0x59e549(0x204)]),_0x3a9c37=_0x519f2d[_0x59e549(0x167)](_0xa2dea1[_0x59e549(0xd9)][_0x59e549(0x287)]([_0x1cbc65,_0x2f0d52]),_0x3c2683),_0x44aff5=_0x3eb3cc[_0x59e549(0x1a7)](_0x27ef73,_0x434d46,_0x3ba4a1,_0xfdd5e5,_0x3a9c37);((_0x108e96=this[_0x59e549(0x25d)])==null?void 0x0:_0x108e96[_0x59e549(0x24f)])===_0x44aff5[_0x59e549(0x24f)]&&((_0x337953=this[_0x59e549(0x25d)])==null?void 0x0:_0x337953[_0x59e549(0x2ab)])===_0x44aff5[_0x59e549(0x2ab)]||this[_0x59e549(0x2fa)]['forEach'](_0x536420=>{const _0x3bd3e3=_0x59e549;_0x536420[_0x3bd3e3(0x23f)](_0x44aff5);});},0x64));});}[_0x3249e4(0x351)](_0x1ac502,_0x3ba72b){const _0x3cd984=_0x3249e4;var _0x3829b9;const _0x1334b7=(_0x3829b9=this[_0x3cd984(0x12e)]['getCurrent']())==null?void 0x0:_0x3829b9['skeleton'];if(!_0x1334b7)return;const _0x4cd360=this[_0x3cd984(0x25c)]();if(!_0x4cd360)return;this[_0x3cd984(0x2fa)][_0x3cd984(0x2eb)](_0x265480=>{const _0x39935b=_0x3cd984;_0x265480[_0x39935b(0xef)]();});const {scene:_0x4fa74b}=_0x4cd360,_0x361f1b=_0x444e3(Array['from'](_0x3ba72b[_0x3cd984(0x1bc)]()))[_0x3cd984(0x21e)](_0x365fd2=>{const _0x110520=_0x3cd984,{color:_0x10e8e2,range:_0x4bd238,name:_0x1daab5,selection:_0x3066b1,sheetID:_0x689ab4}=_0x365fd2,{startColumn:_0x1d1abe,startRow:_0x5a3d6f,endColumn:_0xd43c6,endRow:_0x5e74dd}=_0x4bd238,_0x3faadf=_0x145de3[_0x110520(0x159)](_0x5a3d6f,_0x1d1abe,_0x4fa74b,_0x1334b7),_0x55a1b8=_0x145de3[_0x110520(0x159)](_0x5e74dd,_0xd43c6,_0x4fa74b,_0x1334b7),{columnHeaderHeightAndMarginTop:_0x393290}=_0x1334b7,{startX:_0x185dc0,startY:_0x546ab9}=_0x3faadf,{endX:_0x59b4e6,endY:_0x965569}=_0x55a1b8,_0x266873=_0x59b4e6-_0x185dc0,_0x25d20c=_0x965569-_0x546ab9,_0x588232={'labelPosition':_0x546ab9-_0x393290>=_0x4cb6aa?'top':_0x110520(0x359),'sheetID':_0x689ab4,'range':_0x4bd238,'color':_0x10e8e2,'name':_0x1daab5,'selection':_0x3066b1,'left':_0x185dc0,'top':_0x546ab9,'width':_0x266873,'height':_0x25d20c,'evented':!0x1,'zIndex':_0x6d1176};return new _0x3c8dd6(_0x1daab5,_0x588232);});_0x4fa74b['addObjects'](_0x361f1b,_0x11957c),this[_0x3cd984(0x2fa)]=new Set(_0x361f1b);}[_0x3249e4(0x301)](){var _0x127183;(_0x127183=this['_cursors'])==null||_0x127183['forEach'](_0x114b49=>_0x114b49['dispose']());}['_getSheetObject'](){const _0x466c14=_0x3249e4;return _0x145de3[_0x466c14(0x1b9)](this['_context'][_0x466c14(0x1af)],this[_0x466c14(0x1da)]);}};_0x1a7d71=_0xa81253([_0x21a067(0x1,_0x4b6906[_0x3249e4(0x10b)](_0x145de3['SheetSkeletonManagerService'])),_0x21a067(0x2,_0x4b6906['Inject'](_0x24ffd2)),_0x21a067(0x3,_0x4b6906['Inject'](_0x4b6906['ThemeService']))],_0x1a7d71);function _0x444e3(_0x177a08){const _0x14b2f0=_0x3249e4,_0x2e2196=new Map();return _0x177a08[_0x14b2f0(0x2eb)](_0x87811d=>{const _0x3fde98=_0x14b2f0;if(_0x2e2196[_0x3fde98(0x1dd)](_0x87811d[_0x3fde98(0x308)])){const _0x19dc5d=_0x2e2196['get'](_0x87811d[_0x3fde98(0x308)]);_0x19dc5d['name']+=',\x20'+_0x87811d[_0x3fde98(0x33e)];}else _0x2e2196[_0x3fde98(0x32a)](_0x87811d[_0x3fde98(0x308)],_0x87811d);}),Array['from'](_0x2e2196[_0x14b2f0(0x1bc)]());}var _0x1f8576=function(){const _0x26ac15=_0x3249e4;return _0x1f8576=Object[_0x26ac15(0x324)]||function(_0x102762){const _0x20d693=_0x26ac15;for(var _0x15ac6a,_0x412521=0x1,_0x18d24d=arguments[_0x20d693(0x10a)];_0x412521<_0x18d24d;_0x412521++){_0x15ac6a=arguments[_0x412521];for(var _0x2cd5d5 in _0x15ac6a)Object[_0x20d693(0x2fb)]['hasOwnProperty']['call'](_0x15ac6a,_0x2cd5d5)&&(_0x102762[_0x2cd5d5]=_0x15ac6a[_0x2cd5d5]);}return _0x102762;},_0x1f8576[_0x26ac15(0x2f0)](this,arguments);},_0x3eb8f9=function(_0x1c22e1,_0x4e3caa){const _0x18624d=_0x3249e4;var _0x1e27bf={};for(var _0x39f80a in _0x1c22e1)Object[_0x18624d(0x2fb)]['hasOwnProperty'][_0x18624d(0xdc)](_0x1c22e1,_0x39f80a)&&_0x4e3caa[_0x18624d(0x14d)](_0x39f80a)<0x0&&(_0x1e27bf[_0x39f80a]=_0x1c22e1[_0x39f80a]);if(_0x1c22e1!=null&&typeof Object['getOwnPropertySymbols']==_0x18624d(0x29f)){for(var _0x1ce74f=0x0,_0x39f80a=Object[_0x18624d(0x310)](_0x1c22e1);_0x1ce74f<_0x39f80a['length'];_0x1ce74f++)_0x4e3caa[_0x18624d(0x14d)](_0x39f80a[_0x1ce74f])<0x0&&Object[_0x18624d(0x2fb)][_0x18624d(0xf1)][_0x18624d(0xdc)](_0x1c22e1,_0x39f80a[_0x1ce74f])&&(_0x1e27bf[_0x39f80a[_0x1ce74f]]=_0x1c22e1[_0x39f80a[_0x1ce74f]]);}return _0x1e27bf;},_0x3fbefb=_0x2fa141[_0x3249e4(0xcc)](function(_0xbae009,_0x55af75){const _0x3b1955=_0x3249e4;var _0x5cad61=_0xbae009['icon'],_0x20f9ed=_0xbae009['id'],_0x174245=_0xbae009[_0x3b1955(0x157)],_0x447ce0=_0xbae009[_0x3b1955(0x27d)],_0x13148d=_0x3eb8f9(_0xbae009,[_0x3b1955(0x2b8),'id',_0x3b1955(0x157),_0x3b1955(0x27d)]),_0x14e29d=_0x3b1955(0x21b)[_0x3b1955(0xdb)](_0x20f9ed,'\x20')[_0x3b1955(0xdb)](_0x174245||'')['trim'](),_0x507cd6=_0x2fa141[_0x3b1955(0x18b)]('_'[_0x3b1955(0xdb)](_0x2ce62b()));return _0x253ffb(_0x5cad61,''[_0x3b1955(0xdb)](_0x20f9ed),{'defIds':_0x5cad61[_0x3b1955(0x2ee)],'idSuffix':_0x507cd6[_0x3b1955(0x1a2)]},_0x1f8576({'ref':_0x55af75,'className':_0x14e29d},_0x13148d),_0x447ce0);});function _0x253ffb(_0x19136b,_0x98f9d6,_0x4144a2,_0x3b3296,_0x3bfec3){return _0x2fa141['createElement'](_0x19136b['tag'],_0x1f8576(_0x1f8576({'key':_0x98f9d6},_0x522ea8(_0x19136b,_0x4144a2,_0x3bfec3)),_0x3b3296),(_0x1778f2(_0x19136b,_0x4144a2)['children']||[])['map'](function(_0x5c6115,_0x507a63){const _0x31580d=_0x366c;return _0x253ffb(_0x5c6115,''[_0x31580d(0xdb)](_0x98f9d6,'-')[_0x31580d(0xdb)](_0x19136b[_0x31580d(0x271)],'-')[_0x31580d(0xdb)](_0x507a63),_0x4144a2,void 0x0,_0x3bfec3);}));}function _0x522ea8(_0x451943,_0x2a8050,_0x55ca61){const _0x906bd5=_0x3249e4;var _0x106432=_0x1f8576({},_0x451943[_0x906bd5(0x104)]);_0x55ca61!=null&&_0x55ca61[_0x906bd5(0x173)]&&_0x106432['fill']===_0x906bd5(0x173)&&(_0x106432[_0x906bd5(0x285)]=_0x55ca61[_0x906bd5(0x173)]),_0x451943[_0x906bd5(0x271)]==='mask'&&_0x106432['id']&&(_0x106432['id']=_0x106432['id']+_0x2a8050[_0x906bd5(0x290)]),Object[_0x906bd5(0x2aa)](_0x106432)[_0x906bd5(0x2eb)](function(_0x39aa69){const _0x4d9939=_0x906bd5;var _0x3a8edb=_0x39aa69[0x0],_0x72055e=_0x39aa69[0x1];_0x3a8edb===_0x4d9939(0x251)&&typeof _0x72055e=='string'&&(_0x106432[_0x3a8edb]=_0x72055e[_0x4d9939(0x134)](/url\(#(.*)\)/,_0x4d9939(0x2c3)[_0x4d9939(0xdb)](_0x2a8050[_0x4d9939(0x290)],')')));});var _0x10738b=_0x2a8050[_0x906bd5(0x2ee)];return!_0x10738b||_0x10738b[_0x906bd5(0x10a)]===0x0||(_0x451943['tag']==='use'&&_0x106432['xlink:href']&&(_0x106432[_0x906bd5(0x2a2)]=_0x106432[_0x906bd5(0x2a2)]+_0x2a8050[_0x906bd5(0x290)]),Object['entries'](_0x106432)[_0x906bd5(0x2eb)](function(_0x1d93b9){const _0x1250b3=_0x906bd5;var _0x71800a=_0x1d93b9[0x0],_0x49d1fd=_0x1d93b9[0x1];typeof _0x49d1fd=='string'&&(_0x106432[_0x71800a]=_0x49d1fd[_0x1250b3(0x134)](/url\(#(.*)\)/,_0x1250b3(0x2c3)[_0x1250b3(0xdb)](_0x2a8050[_0x1250b3(0x290)],')')));})),_0x106432;}function _0x1778f2(_0x3fe519,_0x9bba0d){const _0xb4446a=_0x3249e4;var _0x4449c1,_0x3dbb9c=_0x9bba0d['defIds'];return!_0x3dbb9c||_0x3dbb9c['length']===0x0?_0x3fe519:_0x3fe519['tag']===_0xb4446a(0x1c8)&&(!((_0x4449c1=_0x3fe519[_0xb4446a(0xc2)])===null||_0x4449c1===void 0x0)&&_0x4449c1[_0xb4446a(0x10a)])?_0x1f8576(_0x1f8576({},_0x3fe519),{'children':_0x3fe519[_0xb4446a(0xc2)][_0xb4446a(0x21e)](function(_0x33e914){const _0x27da9=_0xb4446a;return typeof _0x33e914[_0x27da9(0x104)]['id']==_0x27da9(0x110)&&_0x3dbb9c&&_0x3dbb9c[_0x27da9(0x14d)](_0x33e914['attrs']['id'])>-0x1?_0x1f8576(_0x1f8576({},_0x33e914),{'attrs':_0x1f8576(_0x1f8576({},_0x33e914[_0x27da9(0x104)]),{'id':_0x33e914[_0x27da9(0x104)]['id']+_0x9bba0d['idSuffix']})}):_0x33e914;})}):_0x3fe519;}function _0x2ce62b(){const _0x51081d=_0x3249e4;return Math['random']()[_0x51081d(0x2f3)](0x24)[_0x51081d(0x26d)](0x2,0x8);}_0x3fbefb[_0x3249e4(0x2bb)]=_0x3249e4(0x22b);var _0x59bed7={'tag':_0x3249e4(0x124),'attrs':{'fill':_0x3249e4(0x135),'viewBox':_0x3249e4(0x329),'width':_0x3249e4(0x26a),'height':_0x3249e4(0x26a)},'children':[{'tag':'g','attrs':{'clipPath':_0x3249e4(0x31d)},'children':[{'tag':'path','attrs':{'stroke':_0x3249e4(0x35a),'d':_0x3249e4(0x211),'strokeLinecap':_0x3249e4(0x27a),'strokeLinejoin':_0x3249e4(0x27a),'strokeWidth':1.2}}]},{'tag':_0x3249e4(0x1c8),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3249e4(0xde)},'children':[{'tag':_0x3249e4(0x100),'attrs':{'fill':_0x3249e4(0x222),'d':_0x3249e4(0x141)}}]}]}],'defIds':[_0x3249e4(0xde)]},_0x508e5a=_0x2fa141[_0x3249e4(0xcc)](function(_0x4f4877,_0x42842b){const _0x2ab4c8=_0x3249e4;return _0x2fa141[_0x2ab4c8(0x148)](_0x3fbefb,Object[_0x2ab4c8(0x324)]({},_0x4f4877,{'id':_0x2ab4c8(0x228),'ref':_0x42842b,'icon':_0x59bed7}));});_0x508e5a['displayName']=_0x3249e4(0x325);var _0x552d17={'tag':'svg','attrs':{'fill':_0x3249e4(0x135),'viewBox':_0x3249e4(0x33b),'width':'1em','height':_0x3249e4(0x26a)},'children':[{'tag':'g','attrs':{'clipPath':_0x3249e4(0xd7)},'children':[{'tag':_0x3249e4(0x100),'attrs':{'stroke':_0x3249e4(0x35a),'d':_0x3249e4(0x1db),'strokeLinecap':_0x3249e4(0x27a),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x3249e4(0x1c8),'attrs':{},'children':[{'tag':_0x3249e4(0x119),'attrs':{'id':_0x3249e4(0x29a)},'children':[{'tag':_0x3249e4(0x100),'attrs':{'fill':_0x3249e4(0x222),'d':_0x3249e4(0x141),'transform':_0x3249e4(0x311)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0xac1f66=_0x2fa141[_0x3249e4(0xcc)](function(_0xf35004,_0xe2a946){const _0x5f56ee=_0x3249e4;return _0x2fa141[_0x5f56ee(0x148)](_0x3fbefb,Object[_0x5f56ee(0x324)]({},_0xf35004,{'id':_0x5f56ee(0x1e6),'ref':_0xe2a946,'icon':_0x552d17}));});_0xac1f66[_0x3249e4(0x2bb)]='OnLineSingle';const _0x4e3626={'onlineStatusIcon':_0x3249e4(0x30b),'onlineStatusTitle':_0x3249e4(0x344),'onlineStatus':_0x3249e4(0x20b),'online':_0x3249e4(0x247),'offline':_0x3249e4(0x1a1)};function _0x187157(_0x306846){const _0xd1053c=_0x3249e4;switch(_0x306846){case _0x52f34c['CollaborationStatus'][_0xd1053c(0x1cf)]:return _0xd1053c(0xc5);case _0x52f34c[_0xd1053c(0xd4)]['CONFLICT']:return'collabStatus.conflict';case _0x52f34c[_0xd1053c(0xd4)][_0xd1053c(0x205)]:return _0xd1053c(0x131);case _0x52f34c[_0xd1053c(0xd4)][_0xd1053c(0x21c)]:return'collabStatus.notCollab';case _0x52f34c[_0xd1053c(0xd4)][_0xd1053c(0x177)]:case _0x52f34c[_0xd1053c(0xd4)][_0xd1053c(0x318)]:return _0xd1053c(0x175);case _0x52f34c[_0xd1053c(0xd4)][_0xd1053c(0x220)]:case _0x52f34c[_0xd1053c(0xd4)][_0xd1053c(0xf6)]:return'collabStatus.synced';}}function _0x1f21e5(_0x1f801e){const _0x5dce64=_0x3249e4,{status$:_0x371e07}=_0x1f801e,_0x32d03c=_0x30ed06[_0x5dce64(0x210)](_0x371e07,_0x52f34c[_0x5dce64(0xd4)][_0x5dce64(0x21c)]),_0x49662c=_0x30ed06[_0x5dce64(0x312)](_0x4b6906[_0x5dce64(0xe1)]),_0x1e2cc2=_0x30ed06[_0x5dce64(0x312)](_0x52f34c[_0x5dce64(0xc3)]),_0x3c7982=_0x32d03c!==_0x52f34c[_0x5dce64(0xd4)][_0x5dce64(0x1cf)],_0x1aa90e=_0x49662c['t'](_0x187157(_0x32d03c)),_0x34983c=_0x913b08['clsx'](_0x4e3626[_0x5dce64(0xca)],{[_0x4e3626[_0x5dce64(0x2fe)]]:_0x3c7982,[_0x4e3626[_0x5dce64(0x17b)]]:!_0x3c7982}),_0x108230=_0x3c7982?_0x2d1486[_0x5dce64(0x109)](_0xac1f66,{}):_0x2d1486['jsx'](_0x508e5a,{}),_0x3b3cdd=_0x2fa141[_0x5dce64(0x1e7)](()=>{const _0x212004=_0x5dce64;_0x3c7982||_0x1e2cc2[_0x212004(0x24e)]();},[_0x3c7982,_0x1e2cc2]);function _0x10e586(){const _0x1fd7d8=_0x5dce64;return _0x2d1486[_0x1fd7d8(0xe2)](_0x1fd7d8(0x2a1),{'className':_0x913b08['clsx'](_0x34983c,_0x1fd7d8(0x1ce)),'onClick':_0x3b3cdd,'children':[_0x2d1486[_0x1fd7d8(0x109)](_0x1fd7d8(0x2a1),{'className':_0x4e3626[_0x1fd7d8(0x152)],'children':_0x108230}),_0x2d1486[_0x1fd7d8(0x109)](_0x1fd7d8(0x2a1),{'className':_0x4e3626['onlineStatusTitle'],'children':_0x1aa90e})]});}return _0x3c7982?_0x10e586():_0x2d1486[_0x5dce64(0x109)](_0x913b08[_0x5dce64(0x199)],{'title':_0x49662c['t'](_0x5dce64(0x2fc)),'children':_0x10e586()});}var _0x7991bd=Object[_0x3249e4(0x16f)],_0x409490=(_0x5c6abf,_0x437701,_0x456396,_0x46648f)=>{for(var _0x502c78=_0x46648f>0x1?void 0x0:_0x46648f?_0x7991bd(_0x437701,_0x456396):_0x437701,_0x49c02e=_0x5c6abf['length']-0x1,_0x3434ff;_0x49c02e>=0x0;_0x49c02e--)(_0x3434ff=_0x5c6abf[_0x49c02e])&&(_0x502c78=_0x3434ff(_0x502c78)||_0x502c78);return _0x502c78;},_0x52427e=(_0x2c68d5,_0x25a7af)=>(_0x4e6936,_0x181807)=>_0x25a7af(_0x4e6936,_0x181807,_0x2c68d5);_0x24e36d[_0x3249e4(0x342)]=class extends _0x4b6906['Disposable']{constructor(_0x1ef9c3,_0x13bfac,_0x3dae20,_0x318a65){const _0x3125fb=_0x3249e4;super(),_0x202b34(this,_0x3125fb(0x239),new _0x596bb7[(_0x3125fb(0x2db))](_0x52f34c[_0x3125fb(0xd4)][_0x3125fb(0x21c)])),(this['_univerInstanceService']=_0x1ef9c3,this['_injector']=_0x13bfac,this[_0x3125fb(0x23d)]=_0x3dae20,this[_0x3125fb(0x182)]=_0x318a65,this[_0x3125fb(0x242)](),this[_0x3125fb(0x31b)]());}['_initStatusListener'](){const _0x223792=_0x3249e4;this['disposeWithMe'](this[_0x223792(0x11d)][_0x223792(0x2b3)]['pipe'](_0x596bb7[_0x223792(0x2e0)](()=>{const _0x18fe4f=_0x223792,_0x2747ea=this['_univerInstanceService'][_0x18fe4f(0x2be)]();return _0x2747ea?this[_0x18fe4f(0x23d)][_0x18fe4f(0x277)](_0x2747ea['getUnitId']()):_0x596bb7['of'](null);}),_0x596bb7[_0x223792(0x2e0)](_0x936a57=>_0x936a57?_0x936a57['status$']:_0x596bb7['of'](_0x52f34c[_0x223792(0xd4)][_0x223792(0x21c)])))[_0x223792(0x2ea)](_0x3db9de=>{const _0x1f2082=_0x223792;this[_0x1f2082(0x239)][_0x1f2082(0x2ad)](_0x3db9de);}));}['_initStatusComponent'](){const _0x123fd1=_0x3249e4;this[_0x123fd1(0x2a0)](this[_0x123fd1(0x182)][_0x123fd1(0x256)](_0x30ed06[_0x123fd1(0x2d9)][_0x123fd1(0x184)],()=>_0x30ed06[_0x123fd1(0x1d4)](_0xd728af({'status$':this[_0x123fd1(0x239)]['asObservable']()}),this[_0x123fd1(0x10e)])));}},_0x24e36d[_0x3249e4(0x342)]=_0x409490([_0x52427e(0x0,_0x4b6906[_0x3249e4(0x356)]),_0x52427e(0x1,_0x4b6906['Inject'](_0x4b6906[_0x3249e4(0x2d8)])),_0x52427e(0x2,_0x4b6906['Inject'](_0x52f34c[_0x3249e4(0x1cb)])),_0x52427e(0x3,_0x30ed06[_0x3249e4(0xf4)])],_0x24e36d['DesktopCollaborationStatusDisplayController']);function _0xd728af(_0x580658){const {status$:_0x49e973}=_0x580658;return function(){const _0x9a8df5=_0x366c;return _0x2d1486[_0x9a8df5(0x109)](_0x1f21e5,{'status$':_0x49e973});};}var _0x3acea1=Object[_0x3249e4(0x16f)],_0x930978=(_0x5213a7,_0x10d9bd,_0x1733aa,_0x20cf48)=>{const _0x8e3b12=_0x3249e4;for(var _0x2bad37=_0x20cf48>0x1?void 0x0:_0x20cf48?_0x3acea1(_0x10d9bd,_0x1733aa):_0x10d9bd,_0x11451f=_0x5213a7[_0x8e3b12(0x10a)]-0x1,_0x3b2d76;_0x11451f>=0x0;_0x11451f--)(_0x3b2d76=_0x5213a7[_0x11451f])&&(_0x2bad37=_0x3b2d76(_0x2bad37)||_0x2bad37);return _0x2bad37;},_0x38ddb9=(_0x412f1a,_0x34e258)=>(_0x370db7,_0x3d11af)=>_0x34e258(_0x370db7,_0x3d11af,_0x412f1a);let _0x3e296d=class extends _0x4b6906[_0x3249e4(0x2e6)]{constructor(_0x4a4b22,_0x2fb0da,_0x4436f6,_0x2cd559,_0x1798a1,_0x582d41){const _0x251497=_0x3249e4;super(),this[_0x251497(0x257)]=_0x4a4b22,this[_0x251497(0xe8)]=_0x2fb0da,this[_0x251497(0x23c)]=_0x4436f6,this[_0x251497(0x317)]=_0x2cd559,this[_0x251497(0xe0)]=_0x1798a1,this[_0x251497(0x346)]=_0x582d41,this['_setupBeforeClosingHandler'](),this[_0x251497(0x1a6)]();}[_0x3249e4(0x1ab)](){const _0x4030ae=_0x3249e4;this['disposeWithMe'](this[_0x4030ae(0x257)][_0x4030ae(0x2f6)](()=>{const _0xbeb239=_0x4030ae;if(this[_0xbeb239(0xe8)][_0xbeb239(0x2ef)][_0xbeb239(0x32d)])return this['_localeService']['t'](_0xbeb239(0x2ec));}));}[_0x3249e4(0x1a6)](){const _0x2fc309=_0x3249e4;this['disposeWithMe'](this[_0x2fc309(0x23c)][_0x2fc309(0x14e)][_0x2fc309(0x2ea)](_0x103ad9=>{const _0x33c597=_0x2fc309;_0x103ad9['id']===_0x52f34c[_0x33c597(0x197)][_0x33c597(0x2bf)]&&this['_messageService'][_0x33c597(0x1e8)]({'type':_0x913b08[_0x33c597(0x265)]['Warning'],'content':this[_0x33c597(0x346)]['t'](_0x33c597(0xbc))}),_0x103ad9['id']===_0x52f34c[_0x33c597(0x197)]['CLOSE_ROOM']&&this[_0x33c597(0x317)][_0x33c597(0x1e8)]({'type':_0x913b08[_0x33c597(0x265)]['Warning'],'content':this[_0x33c597(0x346)]['t']('collaboration.closeRoom')}),_0x103ad9['id']===_0x52f34c[_0x33c597(0x197)][_0x33c597(0x327)]&&this['_notificationService'][_0x33c597(0x1e8)]({'title':this[_0x33c597(0x346)]['t'](_0x33c597(0x336)),'content':this['_localeService']['t'](_0x33c597(0x2b4)),'type':_0x33c597(0x267),'duration':0x0}),_0x103ad9['id']===_0x52f34c[_0x33c597(0x197)]['CONFLICT']&&this[_0x33c597(0x317)][_0x33c597(0x1e8)]({'type':_0x913b08[_0x33c597(0x265)][_0x33c597(0x2d2)],'content':this[_0x33c597(0x346)]['t'](_0x33c597(0x21f))+'('+_0x103ad9[_0x33c597(0x140)]+')'}),_0x103ad9['id']===_0x52f34c[_0x33c597(0x197)]['JOIN_ROOM_FAILED']&&this[_0x33c597(0x317)]['show']({'type':_0x913b08[_0x33c597(0x265)][_0x33c597(0xe4)],'content':this[_0x33c597(0x346)]['t'](_0x103ad9[_0x33c597(0x140)]||'')}),_0x103ad9['id']===_0x52f34c['CollaborationUIEventId'][_0x33c597(0x286)]&&this[_0x33c597(0x317)][_0x33c597(0x1e8)]({'type':_0x913b08[_0x33c597(0x265)][_0x33c597(0xe4)],'content':this[_0x33c597(0x346)]['t']('session.will-retry')}),_0x103ad9['id']===_0x52f34c['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x33c597(0x317)]['show']({'type':_0x913b08[_0x33c597(0x265)][_0x33c597(0x2d2)],'content':this[_0x33c597(0x346)]['t']('session.connection-failed')}),_0x103ad9['id']===_0x52f34c[_0x33c597(0x197)][_0x33c597(0x2ba)]&&this[_0x33c597(0x317)]['show']({'type':_0x913b08['MessageType'][_0x33c597(0x2d2)],'content':this[_0x33c597(0x346)]['t'](_0x33c597(0x1ae))});}));}};_0x3e296d=_0x930978([_0x38ddb9(0x0,_0x30ed06['IBeforeCloseService']),_0x38ddb9(0x1,_0x52f34c[_0x3249e4(0x2c9)]),_0x38ddb9(0x2,_0x4b6906[_0x3249e4(0x10b)](_0x52f34c['CollaborationUIEventService'])),_0x38ddb9(0x3,_0x30ed06[_0x3249e4(0x284)]),_0x38ddb9(0x4,_0x30ed06[_0x3249e4(0x237)]),_0x38ddb9(0x5,_0x4b6906[_0x3249e4(0x10b)](_0x4b6906[_0x3249e4(0xe1)]))],_0x3e296d);const _0x3fda7e=_0x3249e4(0x357),_0x3233ce={},_0x1b19e7=_0x4b6906[_0x3249e4(0x153)](_0x3249e4(0x316));var _0x51ddc2=Object['getOwnPropertyDescriptor'],_0xe2d098=(_0x4feaf1,_0x30d93b,_0x285f7a,_0x1a05f2)=>{const _0x10a863=_0x3249e4;for(var _0x55e843=_0x1a05f2>0x1?void 0x0:_0x1a05f2?_0x51ddc2(_0x30d93b,_0x285f7a):_0x30d93b,_0x442b60=_0x4feaf1[_0x10a863(0x10a)]-0x1,_0x30028e;_0x442b60>=0x0;_0x442b60--)(_0x30028e=_0x4feaf1[_0x442b60])&&(_0x55e843=_0x30028e(_0x55e843)||_0x55e843);return _0x55e843;},_0x1a1b10=(_0x15ade1,_0x1bc2f0)=>(_0x356ba8,_0x4f11b4)=>_0x1bc2f0(_0x356ba8,_0x4f11b4,_0x15ade1);_0x24e36d[_0x3249e4(0x12a)]=class extends _0x4b6906[_0x3249e4(0x304)]{constructor(_0x18663a,_0x43ff60,_0x27e3ed,_0x941a0f,_0x4be021){const _0x644d51=_0x3249e4;super(),this[_0x644d51(0x34b)]=_0x18663a,this[_0x644d51(0x2cb)]=_0x43ff60,this['_commandService']=_0x27e3ed,this[_0x644d51(0x27b)]=_0x941a0f,_0x4be021?_0x4be021==null||_0x4be021[_0x644d51(0x1ed)]()[_0x644d51(0x185)](()=>this[_0x644d51(0x1c4)]()):(this[_0x644d51(0x2cb)][_0x644d51(0x2de)](_0x644d51(0x35c),_0x644d51(0x1bf)),this['_init']());}async[_0x3249e4(0x1c4)](){const _0x434819=_0x3249e4,_0x44aa5c=this['_urlService'][_0x434819(0xed)](_0x434819(0x1af)),_0x793394=this[_0x434819(0x34b)][_0x434819(0xed)]('type'),_0x3c5907=this[_0x434819(0x34b)][_0x434819(0xed)](_0x434819(0x333));if(!_0x44aa5c||!_0x793394){this['_logService'][_0x434819(0x2de)](_0x434819(0x35c),_0x434819(0x33c));return;}const _0x262d76=await this[_0x434819(0x27b)][_0x434819(0x1df)](_0x44aa5c,Number(_0x793394),_0x3c5907);_0x262d76&&_0x262d76 instanceof _0x4b6906[_0x434819(0x29b)]&&this[_0x434819(0x15b)](_0x262d76);}async[_0x3249e4(0x15b)](_0x3dd1ef){const _0x59185f=_0x3249e4;await this['_updateSubUnitFromURLParams'](_0x3dd1ef),_0x3dd1ef[_0x59185f(0xea)]['pipe'](_0x596bb7[_0x59185f(0x33f)](this['dispose$']))[_0x59185f(0x2ea)](_0x39ac14=>{const _0x531d91=_0x59185f;_0x39ac14&&this[_0x531d91(0x1f4)](_0x39ac14);}),this[_0x59185f(0x34b)][_0x59185f(0x1f6)][_0x59185f(0x24b)](_0x596bb7[_0x59185f(0x33f)](this['dispose$']))[_0x59185f(0x2ea)](()=>this['_updateSubUnitFromURLParams'](_0x3dd1ef));}['_updateURLWithCurrentState'](_0x49f9f4,_0x2c8d85=!0x1){const _0x2c796c=_0x3249e4,_0x2f628f=this[_0x2c796c(0x34b)][_0x2c796c(0xed)](_0x2c796c(0x333));_0x49f9f4[_0x2c796c(0xda)]()!==_0x2f628f&&this['_urlService'][_0x2c796c(0x202)](_0x2c796c(0x333),_0x49f9f4[_0x2c796c(0xda)](),_0x2c8d85);}async[_0x3249e4(0x30a)](_0x47429f){const _0x3cfe60=_0x3249e4;var _0x240dc5;const _0x52581e=this[_0x3cfe60(0x34b)][_0x3cfe60(0xed)]('subunit');if(!_0x52581e||!_0x47429f[_0x3cfe60(0x2e1)](_0x52581e)){const _0x437cc6=_0x47429f[_0x3cfe60(0x1fb)]()[0x0],_0x1e55fc=_0x47429f[_0x3cfe60(0x2e1)](_0x437cc6);if(!_0x1e55fc)return;this[_0x3cfe60(0x1f4)](_0x1e55fc,!0x0),await this['_commandService'][_0x3cfe60(0x1d6)](_0x5de2fa[_0x3cfe60(0x231)]['id'],{'unitId':_0x47429f[_0x3cfe60(0x293)](),'subUnitId':_0x437cc6});return;}((_0x240dc5=_0x47429f[_0x3cfe60(0x2a9)]())==null?void 0x0:_0x240dc5[_0x3cfe60(0xda)]())!==_0x52581e&&await this[_0x3cfe60(0x13b)][_0x3cfe60(0x1d6)](_0x5de2fa['SetWorksheetActivateCommand']['id'],{'unitId':_0x47429f['getUnitId'](),'subUnitId':_0x52581e});}},_0x24e36d['CollaborationDataLoaderController']=_0xe2d098([_0x1a1b10(0x0,_0x1b19e7),_0x1a1b10(0x1,_0x4b6906['ILogService']),_0x1a1b10(0x2,_0x4b6906[_0x3249e4(0x1e9)]),_0x1a1b10(0x3,_0x4b6906[_0x3249e4(0x10b)](_0x52f34c['DataLoaderService'])),_0x1a1b10(0x4,_0x4b6906[_0x3249e4(0x181)](_0x221cf2[_0x3249e4(0x1c1)]))],_0x24e36d[_0x3249e4(0x12a)]);var _0x5a7dd3=Object[_0x3249e4(0x16f)],_0x42cda1=(_0x2b63bf,_0x3cae6e,_0x56b863,_0x5deb26)=>{for(var _0x1bea18=_0x5deb26>0x1?void 0x0:_0x5deb26?_0x5a7dd3(_0x3cae6e,_0x56b863):_0x3cae6e,_0x5d19ca=_0x2b63bf['length']-0x1,_0x55262b;_0x5d19ca>=0x0;_0x5d19ca--)(_0x55262b=_0x2b63bf[_0x5d19ca])&&(_0x1bea18=_0x55262b(_0x1bea18)||_0x1bea18);return _0x1bea18;},_0x4d0e04=(_0x28258f,_0x408cf6)=>(_0x5974c6,_0x235119)=>_0x408cf6(_0x5974c6,_0x235119,_0x28258f);let _0x34da4a=class{constructor(_0xd1348e,_0x40e1bb,_0x2c70e1){const _0x4acdcd=_0x3249e4;this['_injector']=_0xd1348e,this[_0x4acdcd(0x1ff)]=_0x40e1bb,this[_0x4acdcd(0x136)]=_0x2c70e1;}[_0x3249e4(0x2e9)](_0x3d47bf){const _0x5bbfd5=_0x3249e4;this[_0x5bbfd5(0x2f8)](_0x3d47bf),this[_0x5bbfd5(0x303)](_0x3d47bf);}[_0x3249e4(0x138)](_0x45da17){const _0x2aca13=_0x3249e4,{unitID:_0x5e483f}=_0x45da17,_0x489367=this[_0x2aca13(0x136)]['getRenderById'](_0x5e483f)[_0x2aca13(0x2f5)](_0x4142bf[_0x2aca13(0x215)]),{redoCache:_0x518a09}=_0x489367[_0x2aca13(0x132)]();if(_0x518a09[_0x2aca13(0x10a)]===0x0)return _0x45da17;let _0x1b4c04=_0x4b6906['Tools']['deepClone'](_0x45da17[_0x2aca13(0x30f)][0x0]);for(let _0x5dfc67=0x0;_0x5dfc67<_0x518a09[_0x2aca13(0x10a)];_0x5dfc67++){const _0x38abad={'id':_0x2aca13(0x18a),'params':{..._0x518a09[_0x5dfc67]}},_0x408db6=this[_0x2aca13(0x1ff)][_0x2aca13(0x18c)](_0x1b4c04,_0x38abad,!0x1);if(_0x5873f4[_0x2aca13(0x2b0)](_0x408db6))throw _0x408db6['error'];_0x1b4c04=_0x408db6['m1Prime'];}return{..._0x4b6906['Tools']['deepClone'](_0x45da17),'mutations':[_0x1b4c04]};}[_0x3249e4(0x2f8)](_0x711650){const _0x195a77=_0x3249e4,{unitID:_0x49563a}=_0x711650,_0x326041=this['_renderManagerService'][_0x195a77(0xdf)](_0x49563a)[_0x195a77(0x2f5)](_0x4142bf[_0x195a77(0x215)]),{undoCache:_0x386389,redoCache:_0xfed929}=_0x326041[_0x195a77(0x132)]();if(_0x386389[_0x195a77(0x10a)]===0x0||_0xfed929[_0x195a77(0x10a)]===0x0)return;const _0x388bcd=[],_0x528d57=[];let _0x5d1e04=_0x4b6906['Tools'][_0x195a77(0x358)](_0x711650[_0x195a77(0x30f)][0x0]),_0x6b4f6c=_0x4b6906[_0x195a77(0x201)]['deepClone'](_0x711650[_0x195a77(0x30f)][0x0]);for(let _0x13daf0=_0x386389[_0x195a77(0x10a)]-0x1;_0x13daf0>=0x0;_0x13daf0--){const _0x69902a={'id':'doc.mutation.rich-text-editing','params':{..._0x386389[_0x13daf0]}},_0x32a932={'id':'doc.mutation.rich-text-editing','params':{..._0xfed929[_0x13daf0]}},_0xa32f66=this[_0x195a77(0x1ff)]['transformMutation'](_0x5d1e04,_0x69902a,!0x1),_0x5ca2ae=this[_0x195a77(0x1ff)]['transformMutation'](_0x6b4f6c,_0x32a932,!0x1);if(_0x5873f4[_0x195a77(0x2b0)](_0xa32f66))throw _0xa32f66[_0x195a77(0x267)];if(_0x5873f4[_0x195a77(0x2b0)](_0x5ca2ae))throw _0x5ca2ae['error'];_0x388bcd['unshift'](_0xa32f66[_0x195a77(0x14c)][_0x195a77(0xc8)]),_0x528d57['unshift'](_0x5ca2ae[_0x195a77(0x14c)][_0x195a77(0xc8)]),_0x5d1e04=_0xa32f66[_0x195a77(0x154)],_0x6b4f6c=_0x5ca2ae[_0x195a77(0x154)];}_0x326041[_0x195a77(0xf5)]({'undoCache':_0x388bcd,'redoCache':_0x528d57});}['_transformPreviousActiveRange'](_0x4485d8){const _0x170c2b=_0x3249e4,{unitID:_0x296c11}=_0x4485d8,_0x5007a7=this[_0x170c2b(0x136)][_0x170c2b(0xdf)](_0x296c11)[_0x170c2b(0x2f5)](_0x4142bf[_0x170c2b(0x215)]),_0x51e96c=_0x5007a7[_0x170c2b(0x1aa)]();if(_0x51e96c==null)return;const _0xc2ebc6=[{'id':_0x170c2b(0x18a),'params':{'unitId':_0x4485d8[_0x170c2b(0x2d1)],'actions':null,'textRanges':[_0x51e96c]}}],_0x6ee756=this['_transformService'][_0x170c2b(0x217)](_0x4485d8,_0xc2ebc6);if(!_0x5873f4[_0x170c2b(0x1e2)](_0x6ee756))throw _0x6ee756[_0x170c2b(0x267)];const _0x508474=_0x6ee756[_0x170c2b(0x14c)][0x0][_0x170c2b(0xc8)][_0x170c2b(0x1ea)];Array['isArray'](_0x508474)&&_0x508474[_0x170c2b(0x10a)]&&_0x5007a7[_0x170c2b(0x25f)](_0x508474[0x0]);}};_0x34da4a=_0x42cda1([_0x4d0e04(0x0,_0x4b6906[_0x3249e4(0x10b)](_0x4b6906['Injector'])),_0x4d0e04(0x1,_0x5873f4[_0x3249e4(0x1e5)]),_0x4d0e04(0x2,_0xa2dea1['IRenderManagerService'])],_0x34da4a);var _0x2d5a44=Object[_0x3249e4(0x16f)],_0x4acaa0=(_0x3a03dc,_0x308fee,_0x14530e,_0x576d16)=>{const _0x32f230=_0x3249e4;for(var _0x400d70=_0x576d16>0x1?void 0x0:_0x576d16?_0x2d5a44(_0x308fee,_0x14530e):_0x308fee,_0x4a0438=_0x3a03dc[_0x32f230(0x10a)]-0x1,_0x352081;_0x4a0438>=0x0;_0x4a0438--)(_0x352081=_0x3a03dc[_0x4a0438])&&(_0x400d70=_0x352081(_0x400d70)||_0x400d70);return _0x400d70;},_0x418141=(_0x5948d1,_0x237f8f)=>(_0x2f1cc0,_0x51440a)=>_0x237f8f(_0x2f1cc0,_0x51440a,_0x5948d1);let _0x482565=class{constructor(_0xcb283,_0x91e741,_0x52c9f1){const _0x5425e5=_0x3249e4;this[_0x5425e5(0x10e)]=_0xcb283,this[_0x5425e5(0x1ff)]=_0x91e741,this[_0x5425e5(0xc6)]=_0x52c9f1;}[_0x3249e4(0x2df)](_0x483564){this['_transformHistoryAndStateStack'](_0x483564);}[_0x3249e4(0x138)](_0x20c6cf){const _0x1b32fc=_0x3249e4,{unitID:_0x35fe57}=_0x20c6cf,{collaboration:_0x551d1b}=this[_0x1b32fc(0xc6)][_0x1b32fc(0x258)](_0x35fe57);if(_0x551d1b[_0x1b32fc(0x10a)]===0x0)return _0x20c6cf;let _0x977fd=_0x4b6906[_0x1b32fc(0x201)]['deepClone'](_0x20c6cf[_0x1b32fc(0x30f)][0x0]);for(let _0x4dd57e=0x0;_0x4dd57e<_0x551d1b['length'];_0x4dd57e++){const _0x57c418={'id':_0x1b32fc(0x18a),'params':{'unitId':_0x551d1b[_0x4dd57e][_0x1b32fc(0x24d)],..._0x551d1b[_0x4dd57e][_0x1b32fc(0x348)]}},_0x2d6b41=this[_0x1b32fc(0x1ff)][_0x1b32fc(0x18c)](_0x977fd,_0x57c418,!0x1);if(_0x5873f4[_0x1b32fc(0x2b0)](_0x2d6b41))throw _0x2d6b41[_0x1b32fc(0x267)];_0x977fd=_0x2d6b41[_0x1b32fc(0x154)];}return{..._0x4b6906[_0x1b32fc(0x201)][_0x1b32fc(0x358)](_0x20c6cf),'mutations':[_0x977fd]};}[_0x3249e4(0x116)](_0x42b37e){const _0x4dd321=_0x3249e4,{unitID:_0x614b86}=_0x42b37e,{history:_0xa5b32a,collaboration:_0x263e61}=this[_0x4dd321(0xc6)][_0x4dd321(0x258)](_0x614b86);if(_0xa5b32a[_0x4dd321(0x10a)]===0x0&&_0x263e61[_0x4dd321(0x10a)]===0x0)return;const _0x269eea=[],_0x17100d=[];let _0x1b9f7a=_0x4b6906['Tools'][_0x4dd321(0x358)](_0x42b37e[_0x4dd321(0x30f)][0x0]),_0x429915=_0x4b6906[_0x4dd321(0x201)]['deepClone'](_0x42b37e[_0x4dd321(0x30f)][0x0]);for(let _0x45cc6c=_0xa5b32a[_0x4dd321(0x10a)]-0x1;_0x45cc6c>=0x0;_0x45cc6c--){const _0x5806d0={'id':_0x4dd321(0x18a),'params':{'unitId':_0xa5b32a[_0x45cc6c][_0x4dd321(0x24d)],..._0xa5b32a[_0x45cc6c][_0x4dd321(0x165)]}},_0x3f2e30={'id':_0x4dd321(0x18a),'params':{'unitId':_0xa5b32a[_0x45cc6c][_0x4dd321(0x24d)],..._0xa5b32a[_0x45cc6c]['redoState']}},_0x2b1379=this['_transformService'][_0x4dd321(0x18c)](_0x1b9f7a,_0x5806d0,!0x1),_0x4d6550=this[_0x4dd321(0x1ff)][_0x4dd321(0x18c)](_0x429915,_0x3f2e30,!0x1);if(_0x5873f4[_0x4dd321(0x2b0)](_0x2b1379))throw _0x2b1379[_0x4dd321(0x267)];if(_0x5873f4['isTransformMutationFailure'](_0x4d6550))throw _0x4d6550[_0x4dd321(0x267)];_0x269eea[_0x4dd321(0x27f)]({..._0xa5b32a[_0x45cc6c],'undoState':_0x2b1379[_0x4dd321(0x14c)][_0x4dd321(0xc8)],'redoState':_0x4d6550[_0x4dd321(0x14c)]['params']}),_0x1b9f7a=_0x2b1379[_0x4dd321(0x154)],_0x429915=_0x4d6550[_0x4dd321(0x154)];}_0x1b9f7a=_0x4b6906['Tools'][_0x4dd321(0x358)](_0x42b37e[_0x4dd321(0x30f)][0x0]),_0x429915=_0x4b6906[_0x4dd321(0x201)][_0x4dd321(0x358)](_0x42b37e[_0x4dd321(0x30f)][0x0]);for(let _0x46112b=_0x263e61['length']-0x1;_0x46112b>=0x0;_0x46112b--){const _0x2e6277={'id':_0x4dd321(0x18a),'params':{'unitId':_0x263e61[_0x46112b][_0x4dd321(0x24d)],..._0x263e61[_0x46112b][_0x4dd321(0x165)]}},_0x471a62={'id':_0x4dd321(0x18a),'params':{'unitId':_0x263e61[_0x46112b][_0x4dd321(0x24d)],..._0x263e61[_0x46112b][_0x4dd321(0x348)]}},_0x21299c=this[_0x4dd321(0x1ff)]['transformMutation'](_0x1b9f7a,_0x2e6277,!0x1),_0x4da36c=this[_0x4dd321(0x1ff)]['transformMutation'](_0x429915,_0x471a62,!0x1);if(_0x5873f4['isTransformMutationFailure'](_0x21299c))throw _0x21299c[_0x4dd321(0x267)];if(_0x5873f4[_0x4dd321(0x2b0)](_0x4da36c))throw _0x4da36c['error'];_0x17100d[_0x4dd321(0x27f)]({..._0x263e61[_0x46112b],'undoState':_0x21299c[_0x4dd321(0x14c)][_0x4dd321(0xc8)],'redoState':_0x4da36c[_0x4dd321(0x14c)][_0x4dd321(0xc8)]}),_0x1b9f7a=_0x21299c[_0x4dd321(0x154)],_0x429915=_0x4da36c[_0x4dd321(0x154)];}this['_docStateChangeManagerService']['setStateCache'](_0x614b86,{'history':_0x269eea,'collaboration':_0x17100d});}};_0x482565=_0x4acaa0([_0x418141(0x0,_0x4b6906['Inject'](_0x4b6906[_0x3249e4(0x2d8)])),_0x418141(0x1,_0x5873f4[_0x3249e4(0x1e5)]),_0x418141(0x2,_0x4b6906[_0x3249e4(0x10b)](_0x4142bf[_0x3249e4(0x238)]))],_0x482565);var _0x6a2ceb=Object[_0x3249e4(0x16f)],_0x5b42ae=(_0x489097,_0x468315,_0x47b13e,_0x10075b)=>{for(var _0x419986=_0x10075b>0x1?void 0x0:_0x10075b?_0x6a2ceb(_0x468315,_0x47b13e):_0x468315,_0x49b307=_0x489097['length']-0x1,_0x61bfde;_0x49b307>=0x0;_0x49b307--)(_0x61bfde=_0x489097[_0x49b307])&&(_0x419986=_0x61bfde(_0x419986)||_0x419986);return _0x419986;},_0x48e481=(_0xe5e06b,_0x2d1165)=>(_0x2f408f,_0x10e45f)=>_0x2d1165(_0x2f408f,_0x10e45f,_0xe5e06b);let _0x39d0ce=class{constructor(_0x57d639,_0x480683){const _0x4d78ac=_0x3249e4;this['_injector']=_0x57d639,this[_0x4d78ac(0x1ff)]=_0x480683;}[_0x3249e4(0x186)](_0x9ab6b8){const _0x50e3cf=_0x3249e4;var _0x7ad4f5;const _0x4c4b15=this[_0x50e3cf(0x10e)][_0x50e3cf(0x14a)](_0x3c6c88[_0x50e3cf(0x2a7)]),_0x21fd17=(_0x7ad4f5=_0x4c4b15[_0x50e3cf(0x26c)]())!=null?_0x7ad4f5:[];if(_0x21fd17[_0x50e3cf(0x10a)]===0x0)return;const _0x5497e2=_0x9ab6b8['unitID'],_0x466810=[{'id':_0x50e3cf(0x18a),'params':{'unitId':_0x5497e2,'actions':null,'textRanges':_0x21fd17}}],_0x12a5bd=this[_0x50e3cf(0x1ff)][_0x50e3cf(0x217)](_0x9ab6b8,_0x466810);if(!_0x5873f4[_0x50e3cf(0x1e2)](_0x12a5bd))throw _0x12a5bd[_0x50e3cf(0x267)];const _0x33c8e1=_0x12a5bd['m2Prime'][0x0][_0x50e3cf(0xc8)]['textRanges'];Array[_0x50e3cf(0x145)](_0x33c8e1)&&_0x33c8e1[_0x50e3cf(0x10a)]&&_0x4c4b15[_0x50e3cf(0x1a5)](_0x33c8e1,{'unitId':_0x5497e2,'subUnitId':_0x5497e2},!0x1);}};_0x39d0ce=_0x5b42ae([_0x48e481(0x0,_0x4b6906[_0x3249e4(0x10b)](_0x4b6906['Injector'])),_0x48e481(0x1,_0x5873f4[_0x3249e4(0x1e5)])],_0x39d0ce);var _0x4d77a0=Object[_0x3249e4(0x16f)],_0x20167a=(_0x2f22c0,_0x328242,_0x4744c2,_0x5e1c70)=>{const _0x30485b=_0x3249e4;for(var _0x1afdcf=_0x5e1c70>0x1?void 0x0:_0x5e1c70?_0x4d77a0(_0x328242,_0x4744c2):_0x328242,_0x209ca1=_0x2f22c0[_0x30485b(0x10a)]-0x1,_0x4e5eb8;_0x209ca1>=0x0;_0x209ca1--)(_0x4e5eb8=_0x2f22c0[_0x209ca1])&&(_0x1afdcf=_0x4e5eb8(_0x1afdcf)||_0x1afdcf);return _0x1afdcf;},_0x38649c=(_0x4805e7,_0x16e0c1)=>(_0x5527ab,_0x2cfb37)=>_0x16e0c1(_0x5527ab,_0x2cfb37,_0x4805e7);let _0x19f0a6=class extends _0x4b6906[_0x3249e4(0x2e6)]{constructor(_0x2e9035,_0x4b16bd,_0x13c04e,_0x2502c6,_0x4c5a97,_0x2ae24c,_0x2b22b0,_0x2482ef){const _0xd73956=_0x3249e4;super(),_0x202b34(this,_0xd73956(0x239),new _0x596bb7[(_0xd73956(0x2db))](_0x52f34c[_0xd73956(0xd4)]['NOT_COLLAB'])),(this[_0xd73956(0xc6)]=_0x2e9035,this['_collaborationController']=_0x4b16bd,this[_0xd73956(0x1ac)]=_0x13c04e,this[_0xd73956(0x255)]=_0x2502c6,this['_docTransformSelectionsService']=_0x4c5a97,this['_docSyncEditingCollabCursorService']=_0x2ae24c,this[_0xd73956(0x317)]=_0x2b22b0,this[_0xd73956(0x346)]=_0x2482ef,this[_0xd73956(0x14f)]());}[_0x3249e4(0x14f)](){const _0x4cb8f9=_0x3249e4;this[_0x4cb8f9(0x2a0)](this['_collaborationController'][_0x4cb8f9(0x200)]['subscribe'](_0x22ce8e=>{const _0x47ea0d=_0x4cb8f9,_0x335f36=this[_0x47ea0d(0xc6)]['docStateChange$'][_0x47ea0d(0x2ea)](_0xa10ec6=>{const _0x183415=_0x47ea0d;if(_0xa10ec6==null)return;const {unitId:_0x264390,redoState:_0x1549d2,commandId:_0x1915a5}=_0xa10ec6;if(_0x264390!==_0x22ce8e[_0x183415(0x2d1)])return;const _0x4ce6c4={'id':_0x1915a5,'type':_0x4b6906[_0x183415(0x113)][_0x183415(0x11e)],'params':{'unitId':_0x264390,'actions':_0x1549d2[_0x183415(0x147)],'textRanges':null}};_0x22ce8e[_0x183415(0x114)](_0x4ce6c4);});if(_0x22ce8e[_0x47ea0d(0x2a0)](_0x335f36),_0x22ce8e instanceof _0x52f34c[_0x47ea0d(0x156)]){const _0x186147={'onTransformIME':_0x142321=>this[_0x47ea0d(0x1ac)][_0x47ea0d(0x2e9)](_0x142321),'onTransformState':_0x4caaab=>this['_docTransformStateCacheService'][_0x47ea0d(0x2df)](_0x4caaab),'onTransformSelections':_0x1dcf2e=>this['_docTransformSelectionsService']['transformSelections'](_0x1dcf2e),'onSyncEditingCollabCursor':_0x5df7a5=>this[_0x47ea0d(0x1b4)][_0x47ea0d(0x2cc)](_0x5df7a5),'onTransformRemoteChangesetByIMECache':_0x270e0c=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x270e0c),'onTransformRemoteChangesetByStateCache':_0x38047f=>this[_0x47ea0d(0x255)][_0x47ea0d(0x138)](_0x38047f)};_0x22ce8e[_0x47ea0d(0x12c)](_0x186147);}}));}};_0x19f0a6=_0x20167a([_0x38649c(0x0,_0x4b6906[_0x3249e4(0x10b)](_0x4142bf[_0x3249e4(0x238)])),_0x38649c(0x1,_0x4b6906[_0x3249e4(0x10b)](_0x52f34c[_0x3249e4(0x1cb)])),_0x38649c(0x2,_0x4b6906[_0x3249e4(0x10b)](_0x34da4a)),_0x38649c(0x3,_0x4b6906[_0x3249e4(0x10b)](_0x482565)),_0x38649c(0x4,_0x4b6906['Inject'](_0x39d0ce)),_0x38649c(0x5,_0x4b6906[_0x3249e4(0x10b)](_0x3ac6b6)),_0x38649c(0x6,_0x30ed06[_0x3249e4(0x284)]),_0x38649c(0x7,_0x4b6906[_0x3249e4(0x10b)](_0x4b6906[_0x3249e4(0xe1)]))],_0x19f0a6);var _0x1b5dc7=Object[_0x3249e4(0x16f)],_0x487fa8=(_0x35ddd,_0x29bfef,_0x18ab17,_0x101a4e)=>{for(var _0x2c64f4=_0x101a4e>0x1?void 0x0:_0x101a4e?_0x1b5dc7(_0x29bfef,_0x18ab17):_0x29bfef,_0x21c469=_0x35ddd['length']-0x1,_0x3b4789;_0x21c469>=0x0;_0x21c469--)(_0x3b4789=_0x35ddd[_0x21c469])&&(_0x2c64f4=_0x3b4789(_0x2c64f4)||_0x2c64f4);return _0x2c64f4;},_0x313b65=(_0x2cb1b9,_0x5837fc)=>(_0x20df25,_0x4f4e56)=>_0x5837fc(_0x20df25,_0x4f4e56,_0x2cb1b9);let _0x17578b=class extends _0x4b6906[_0x3249e4(0x2e6)]{constructor(_0x9fc868,_0xbde6ae,_0xd58137){const _0x44bf6c=_0x3249e4;super(),_0x202b34(this,_0x44bf6c(0x20a),new Map()),_0x202b34(this,_0x44bf6c(0x203),new Map()),_0x202b34(this,'_disabled',!0x1),(this['_configService']=_0x9fc868,this[_0x44bf6c(0x1ca)]=_0xbde6ae,this['_revisionService']=_0xd58137);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x3249e4(0x20c)](){const _0x2d8545=_0x3249e4;this[_0x2d8545(0x234)]=!0x1;}get[_0x3249e4(0x2ef)](){const _0x3c460c=_0x3249e4;return this[_0x3c460c(0x203)];}['dispose'](){const _0x2bced0=_0x3249e4;this['exhaustSavingTask']()[_0x2bced0(0x185)](()=>super['dispose']());}async['loadOfflineData'](_0x7c5ec4){const _0x35e78c=_0x3249e4;return this['_disabled']?null:this[_0x35e78c(0x1ca)]['getItem'](_0x52f34c[_0x35e78c(0xcb)](_0x7c5ec4));}async[_0x3249e4(0xfe)](_0x37aec8,_0x11c7fb){return!!this['_localStorageService']['setItem'](_0x37aec8,_0x11c7fb);}['updateOfflineData'](_0xa189cd,_0x2c2a6e,_0x429f47,_0x4f510d){const _0x2240c5=_0x3249e4,_0x5f11d1=this[_0x2240c5(0x32e)][_0x2240c5(0x2da)](_0xa189cd);this['_cachedData'][_0x2240c5(0x32a)](_0xa189cd,{'unitID':_0xa189cd,'type':_0x2c2a6e,'awaitingChangeset':_0x429f47,'mutations':_0x4f510d,'rev':_0x5f11d1}),this[_0x2240c5(0x203)][_0x2240c5(0x1dd)](_0xa189cd)||this[_0x2240c5(0x323)](_0xa189cd);}[_0x3249e4(0x323)](_0x33000d){const _0x12917f=_0x3249e4,_0x983d19=this[_0x12917f(0x278)]();_0x983d19===0x0?this[_0x12917f(0x2b7)](_0x33000d):this[_0x12917f(0x203)][_0x12917f(0x32a)](_0x33000d,setTimeout(()=>this[_0x12917f(0x2b7)](_0x33000d),_0x983d19));}[_0x3249e4(0x278)](){const _0x170a3b=_0x3249e4;var _0x4d97ee;return(_0x4d97ee=this['_configService']['getConfig'](_0x52f34c[_0x170a3b(0x2e7)]))!=null?_0x4d97ee:_0x52f34c[_0x170a3b(0x2d6)];}[_0x3249e4(0x2b7)](_0x40e65f){const _0x4d53f4=_0x3249e4,_0x159071=this['_saveTaskMap']['get'](_0x40e65f);return _0x159071!==void 0x0&&window[_0x4d53f4(0x187)](_0x159071),this[_0x4d53f4(0x1ca)][_0x4d53f4(0x15e)](_0x52f34c[_0x4d53f4(0xcb)](_0x40e65f),this['_cachedData'][_0x4d53f4(0x14a)](_0x40e65f))[_0x4d53f4(0x185)](()=>this[_0x4d53f4(0x203)][_0x4d53f4(0x16d)](_0x40e65f));}async[_0x3249e4(0x198)](){const _0x59a78e=_0x3249e4,_0x394e83=[];this[_0x59a78e(0x203)][_0x59a78e(0x2eb)]((_0x12695f,_0x3949a2)=>{const _0x11f51e=_0x59a78e;window['clearTimeout'](_0x12695f),_0x394e83[_0x11f51e(0xfa)](this[_0x11f51e(0x2b7)](_0x3949a2)[_0x11f51e(0x185)](()=>{const _0x9cbf83=_0x11f51e;this[_0x9cbf83(0x203)][_0x9cbf83(0x16d)](_0x3949a2);}));}),await Promise['all'](_0x394e83);}};_0x17578b=_0x487fa8([_0x313b65(0x0,_0x4b6906[_0x3249e4(0x244)]),_0x313b65(0x1,_0x4b6906[_0x3249e4(0x270)]),_0x313b65(0x2,_0x4b6906[_0x3249e4(0x10b)](_0x5873f4[_0x3249e4(0xbd)]))],_0x17578b);class _0x513437 extends _0x4b6906['RxDisposable']{constructor(){const _0x56461e=_0x3249e4;super(),_0x202b34(this,_0x56461e(0x1f6)),this[_0x56461e(0x1f6)]=_0x596bb7[_0x56461e(0x171)](window,_0x56461e(0x259))[_0x56461e(0x24b)](_0x596bb7[_0x56461e(0x33f)](this[_0x56461e(0xeb)]),_0x596bb7[_0x56461e(0x209)](0x1),_0x596bb7[_0x56461e(0x1f2)](void 0x0));}['setParam'](_0x5075e1,_0x71e289,_0x6e8984=!0x1){const _0x491647=_0x3249e4,_0x32e375=new URL(window[_0x491647(0x144)]['href']);_0x32e375['searchParams'][_0x491647(0x32a)](_0x5075e1,_0x71e289),_0x6e8984?window[_0x491647(0x126)][_0x491647(0x223)]('','',_0x32e375[_0x491647(0x2f3)]()):window[_0x491647(0x126)][_0x491647(0xf7)]('','',_0x32e375[_0x491647(0x2f3)]());}[_0x3249e4(0x1b2)](_0x4e41dc,_0x24faa6=!0x1){const _0x46a8b3=_0x3249e4,_0x3b5b07=new URL(window[_0x46a8b3(0x144)]['href']);_0x3b5b07['searchParams'][_0x46a8b3(0x16d)](_0x4e41dc),_0x24faa6?window[_0x46a8b3(0x126)][_0x46a8b3(0x223)]('','',_0x3b5b07[_0x46a8b3(0x2f3)]()):window[_0x46a8b3(0x126)][_0x46a8b3(0xf7)]('','',_0x3b5b07[_0x46a8b3(0x2f3)]());}[_0x3249e4(0xed)](_0x42baa3){const _0x17b239=_0x3249e4;var _0x2acbc3;return(_0x2acbc3=new URL(window[_0x17b239(0x144)][_0x17b239(0x27c)])[_0x17b239(0x169)]['get'](_0x42baa3))!=null?_0x2acbc3:void 0x0;}}var _0x32b654=Object[_0x3249e4(0x2dc)],_0x38946d=Object[_0x3249e4(0x16f)],_0x36e81e=(_0x5d8a26,_0x4eb602,_0xd8812)=>_0x4eb602 in _0x5d8a26?_0x32b654(_0x5d8a26,_0x4eb602,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd8812}):_0x5d8a26[_0x4eb602]=_0xd8812,_0x29c2bf=(_0x470daa,_0x10c497,_0x3c9c6a,_0x40ca5f)=>{const _0x43e428=_0x3249e4;for(var _0x2ec4d6=_0x40ca5f>0x1?void 0x0:_0x40ca5f?_0x38946d(_0x10c497,_0x3c9c6a):_0x10c497,_0x2225c5=_0x470daa[_0x43e428(0x10a)]-0x1,_0x41d69c;_0x2225c5>=0x0;_0x2225c5--)(_0x41d69c=_0x470daa[_0x2225c5])&&(_0x2ec4d6=_0x41d69c(_0x2ec4d6)||_0x2ec4d6);return _0x2ec4d6;},_0x15499a=(_0x3ff8da,_0x244e0f)=>(_0x2ef48d,_0x13cc99)=>_0x244e0f(_0x2ef48d,_0x13cc99,_0x3ff8da),_0x452645=(_0x52a2d5,_0x4eeafd,_0x5eb175)=>_0x36e81e(_0x52a2d5,_0x4eeafd+'',_0x5eb175);const _0x14c9c8='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x24e36d[_0x3249e4(0x1a8)]=class extends _0x4b6906[_0x3249e4(0x328)]{constructor(_0x15795b=_0x3233ce,_0x33b561,_0x29a1cb,_0x2ac67a){const _0x4ff560=_0x3249e4;super(),this[_0x4ff560(0x300)]=_0x15795b,this['_renderManagerService']=_0x33b561,this['_injector']=_0x29a1cb,this[_0x4ff560(0x221)]=_0x2ac67a;const {..._0x1c1c09}=_0x4b6906['merge']({},_0x3233ce,this['_config']);this[_0x4ff560(0x221)]['setConfig'](_0x3fda7e,_0x1c1c09);}['onStarting'](){const _0x3d70f0=_0x3249e4;this[_0x3d70f0(0x146)](),this[_0x3d70f0(0x282)]();}['onRendered'](){this['_registerRenderDependencies']();}[_0x3249e4(0x146)](){const _0x30eb79=_0x3249e4;var _0x27b1cf;const _0x16d144=[[_0x1111e6],[_0x39d0ce],[_0x34da4a],[_0x482565],[_0x3ac6b6],[_0x1b19e7,{'useClass':_0x513437}],[_0x4aa660[_0x30eb79(0x2fd)],{'useClass':_0x4aa660[_0x30eb79(0xf0)]}],[_0x52f34c[_0x30eb79(0x2c9)],{'useClass':_0x17578b}],[_0x24e36d[_0x30eb79(0x342)]],[_0x19f0a6],[_0x3e296d],[_0x24ffd2],[_0x3897f7],[_0x24e36d[_0x30eb79(0x12a)]]];_0x4b6906[_0x30eb79(0x2e8)](this[_0x30eb79(0x10e)],_0x4b6906[_0x30eb79(0x22d)](_0x16d144,(_0x27b1cf=this['_config'])==null?void 0x0:_0x27b1cf[_0x30eb79(0x30d)]));}['_registerRenderDependencies'](){const _0x23eb19=_0x3249e4;this['disposeWithMe'](this[_0x23eb19(0x136)][_0x23eb19(0x240)](_0x4b6906[_0x23eb19(0x1b3)][_0x23eb19(0x208)],[_0x118ce5])),this[_0x23eb19(0x2a0)](this[_0x23eb19(0x136)][_0x23eb19(0x240)](_0x4b6906[_0x23eb19(0x1b3)][_0x23eb19(0x218)],[_0x1a7d71]));}[_0x3249e4(0x282)](){const _0x11756f=_0x3249e4;_0x4b6906[_0x11756f(0xcf)](this['_injector'],[[_0x24ffd2],[_0x24e36d['DesktopCollaborationStatusDisplayController']],[_0x19f0a6],[_0x3e296d],[_0x24e36d[_0x11756f(0x12a)]]]);}},_0x452645(_0x24e36d[_0x3249e4(0x1a8)],'pluginName',_0x14c9c8),_0x24e36d['UniverCollaborationClientUIPlugin']=_0x29c2bf([_0x4b6906['DependentOn'](_0x52f34c['UniverCollaborationClientPlugin']),_0x15499a(0x1,_0xa2dea1['IRenderManagerService']),_0x15499a(0x2,_0x4b6906[_0x3249e4(0x10b)](_0x4b6906[_0x3249e4(0x2d8)])),_0x15499a(0x3,_0x4b6906[_0x3249e4(0x244)])],_0x24e36d[_0x3249e4(0x1a8)]);var _0x93936=Object['getOwnPropertyDescriptor'],_0x1eefa6=(_0x48df02,_0x3129e,_0x2f4625,_0x2059e8)=>{const _0x2e3e17=_0x3249e4;for(var _0x4532ea=_0x2059e8>0x1?void 0x0:_0x2059e8?_0x93936(_0x3129e,_0x2f4625):_0x3129e,_0x32aedb=_0x48df02[_0x2e3e17(0x10a)]-0x1,_0x77ba81;_0x32aedb>=0x0;_0x32aedb--)(_0x77ba81=_0x48df02[_0x32aedb])&&(_0x4532ea=_0x77ba81(_0x4532ea)||_0x4532ea);return _0x4532ea;},_0x228264=(_0x15f285,_0x470584)=>(_0x4e363c,_0x49cfa3)=>_0x470584(_0x4e363c,_0x49cfa3,_0x15f285);_0x24e36d['BrowserCollaborationSocketService']=class extends _0x52f34c[_0x3249e4(0x11c)]{constructor(_0x5be3a3,_0x4524a8,_0x5a9487,_0x14b74b,_0x412994){super(_0x5be3a3,_0x4524a8,_0x5a9487,_0x14b74b,_0x412994);}async[_0x3249e4(0x2e2)](_0x530a87){const _0x5957e1=_0x3249e4,_0x4740ab=await this[_0x5957e1(0x1e0)](),_0x56f28a=this[_0x5957e1(0x21d)](_0x530a87,_0x4740ab);return this[_0x5957e1(0x170)](_0x56f28a);}[_0x3249e4(0x21d)](_0x2911ff,_0x1171c2){const _0x24ceae=_0x3249e4,_0x8e6998=typeof window>'u'?new URL(_0x2911ff):new URL(_0x2911ff,window[_0x24ceae(0x144)][_0x24ceae(0x1ba)]);_0x8e6998[_0x24ceae(0x169)]['set'](_0x24ceae(0x2cf),_0x1171c2);const _0x1d4bc7=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x24ceae(0x144)]['search']);return _0x1d4bc7[_0x24ceae(0x14a)](_0x24ceae(0xfc))&&_0x8e6998[_0x24ceae(0x169)]['set']('runId',_0x1d4bc7[_0x24ceae(0x14a)](_0x24ceae(0xfc))),_0x8e6998[_0x24ceae(0x2f3)]();}async[_0x3249e4(0x1e0)](){const _0x1702ec=_0x3249e4;var _0x54f95f,_0x4dc7fe,_0xac218c;const _0x122809=this[_0x1702ec(0x221)][_0x1702ec(0x292)](_0x52f34c[_0x1702ec(0x2c5)]),_0x5cb6f5=(_0x54f95f=_0x122809==null?void 0x0:_0x122809['wsSessionTicketUrl'])!=null?_0x54f95f:_0x52f34c[_0x1702ec(0x16c)];return(_0xac218c=(_0x4dc7fe=(await this[_0x1702ec(0x23a)][_0x1702ec(0x14a)](_0x5cb6f5,{'headers':{'Content-Type':_0x1702ec(0x106)}}))['body'])==null?void 0x0:_0x4dc7fe[_0x1702ec(0x2d0)])!=null?_0xac218c:'';}},_0x24e36d['BrowserCollaborationSocketService']=_0x1eefa6([_0x228264(0x0,_0x4b6906[_0x3249e4(0x10b)](_0x4b6906[_0x3249e4(0x2d8)])),_0x228264(0x1,_0x4b6906['Inject'](_0x4aa660[_0x3249e4(0x125)])),_0x228264(0x2,_0x4b6906['IConfigService']),_0x228264(0x3,_0x4b6906[_0x3249e4(0x28e)]),_0x228264(0x4,_0x5873f4['ISnapshotServerService'])],_0x24e36d['BrowserCollaborationSocketService']);const _0x43bfea=0x7530,_0x1e80ff=_0x3249e4(0x13f);class _0x223c81 extends _0x4b6906[_0x3249e4(0x2e6)]{constructor(){const _0x4a9b53=_0x3249e4;super(),_0x202b34(this,'_id',_0x4b6906[_0x4a9b53(0x272)]()),_0x202b34(this,_0x4a9b53(0x2a5),new Set()),_0x202b34(this,_0x4a9b53(0x180),new Map()),_0x202b34(this,_0x4a9b53(0x13d),null),_0x202b34(this,'_clearOtherTimers',new Map()),_0x202b34(this,_0x4a9b53(0x264),new Map()),this[_0x4a9b53(0x1c4)]();}['dispose'](){const _0x7aa0b2=_0x3249e4;super['dispose'](),this['_clearOtherTimers'][_0x7aa0b2(0x2eb)]((_0x2f890c,_0x42c35f)=>this[_0x7aa0b2(0x253)](_0x42c35f)),this[_0x7aa0b2(0x13d)]&&window[_0x7aa0b2(0x1b1)](this[_0x7aa0b2(0x13d)]);}['getUnitStatus$'](_0x31d6ff){const _0x3e9bce=_0x3249e4;return this[_0x3e9bce(0xe7)](_0x31d6ff)[_0x3e9bce(0x24b)](_0x596bb7['distinctUntilChanged']());}[_0x3249e4(0x1f0)](_0x16d722){const _0x55d441=_0x3249e4;this[_0x55d441(0x2a5)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x55d441(0x2a5)][_0x55d441(0x117)](_0x16d722),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x16d722],'isForwarded':!0x1});}[_0x3249e4(0x2dd)](_0x3efb69){const _0xa0fef1=_0x3249e4;this[_0xa0fef1(0x2a5)][_0xa0fef1(0x16d)](_0x3efb69),this['_selfUnitIDs'][_0xa0fef1(0x32d)]===0x0&&this[_0xa0fef1(0x13d)]&&window[_0xa0fef1(0x1b1)](this['_heartbeatTimer']);}[_0x3249e4(0x1c4)](){const _0x146757=_0x3249e4;this['disposeWithMe'](_0x4b6906[_0x146757(0x35e)](_0x596bb7[_0x146757(0x171)](window,_0x146757(0x2c1))[_0x146757(0x2ea)](_0x1ac869=>{const _0x556c14=_0x146757;if(_0x1ac869[_0x556c14(0x194)]!==_0x1e80ff||!_0x1ac869[_0x556c14(0x226)])return;const _0x3d0487=JSON[_0x556c14(0xec)](_0x1ac869[_0x556c14(0x226)]);this[_0x556c14(0x1e3)](_0x3d0487);}))),window[_0x146757(0x130)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x146757(0x1a4)],'unitIDs':Array[_0x146757(0x1c2)](this[_0x146757(0x2a5)])}));}[_0x3249e4(0x1e3)](_0x43d39e){const _0x1c9f17=_0x3249e4;switch(_0x43d39e[_0x1c9f17(0x32c)]){case 0x0:this[_0x1c9f17(0xd8)](_0x43d39e);break;case 0x1:this[_0x1c9f17(0x1fe)](_0x43d39e);break;case 0x2:this[_0x1c9f17(0x161)](_0x43d39e);break;}}['_handleJoinEvent'](_0x4daf7b){const _0x4f369c=_0x3249e4,{unitIDs:_0x7664e8,memberID:_0x450df8,isForwarded:_0x709eb7}=_0x4daf7b;_0x7664e8[_0x4f369c(0x2eb)](_0x4d1b2f=>{const _0x4a5f6c=_0x4f369c;if(!_0x709eb7&&this['_unitOnClients'][_0x4a5f6c(0x1dd)](_0x4d1b2f)&&this['_ensureSubject'](_0x4d1b2f)[_0x4a5f6c(0x2ad)](_0x52f34c[_0x4a5f6c(0x17c)][_0x4a5f6c(0x1f5)]),!this['_unitOnClients'][_0x4a5f6c(0x1dd)](_0x4d1b2f)||!this[_0x4a5f6c(0x180)]['get'](_0x4d1b2f)[_0x4a5f6c(0x1dd)](_0x450df8)){const _0x15f9dc=this[_0x4a5f6c(0x180)][_0x4a5f6c(0x14a)](_0x4d1b2f)||new Set();_0x15f9dc[_0x4a5f6c(0x117)](_0x450df8),this['_unitOnClients'][_0x4a5f6c(0x32a)](_0x4d1b2f,_0x15f9dc),this[_0x4a5f6c(0x1d3)](_0x450df8);}}),_0x709eb7||this[_0x4f369c(0x299)]({'type':0x0,'memberID':this[_0x4f369c(0x1a4)],'unitIDs':[...this[_0x4f369c(0x2a5)]],'isForwarded':!0x0});}[_0x3249e4(0x1d3)](_0xaa3d48){const _0x3916a6=_0x3249e4;this[_0x3916a6(0x253)](_0xaa3d48);const _0x2ab043=window[_0x3916a6(0x1a0)](()=>{const _0x4c0104=_0x3916a6;this[_0x4c0104(0x180)][_0x4c0104(0x2eb)](_0x5bd615=>{const _0x17964b=_0x4c0104;_0x5bd615[_0x17964b(0x16d)](_0xaa3d48);});},_0x43bfea*0x2);this[_0x3916a6(0x1cd)][_0x3916a6(0x32a)](_0xaa3d48,_0x2ab043);}[_0x3249e4(0x253)](_0x4a00fc){const _0x39d390=_0x3249e4;if(this[_0x39d390(0x1cd)]['has'](_0x4a00fc)){const _0x21b722=this[_0x39d390(0x1cd)][_0x39d390(0x14a)](_0x4a00fc);_0x21b722&&window['clearTimeout'](_0x21b722),this[_0x39d390(0x1cd)][_0x39d390(0x32a)](_0x4a00fc,null);}}['_handleLeaveEvent'](_0x2785f6){const _0x4ad8ff=_0x3249e4,{memberID:_0x208a39,unitIDs:_0x4c02ab}=_0x2785f6;_0x4c02ab[_0x4ad8ff(0x2eb)](_0x3ce08d=>{const _0x206734=_0x4ad8ff;var _0x3de9bb;const _0x59d450=this[_0x206734(0x180)]['get'](_0x3ce08d);_0x59d450&&(_0x59d450[_0x206734(0x16d)](_0x208a39),(_0x3de9bb=this[_0x206734(0xe7)](_0x3ce08d))==null||_0x3de9bb['next'](_0x59d450[_0x206734(0x32d)]===0x0?_0x52f34c[_0x206734(0x17c)]['NO_OTHER_CLIENTS_EDITING']:_0x52f34c[_0x206734(0x17c)]['OTHER_CLIENTS_EDITING']));}),this[_0x4ad8ff(0x253)](_0x208a39);}[_0x3249e4(0x161)](_0x288e66){const _0x2a4ee2=_0x3249e4;this[_0x2a4ee2(0x1d3)](_0x288e66[_0x2a4ee2(0x1ec)]);}[_0x3249e4(0x299)](_0x226a20){const _0xcd09ab=_0x3249e4;localStorage[_0xcd09ab(0x15e)](_0x1e80ff,JSON[_0xcd09ab(0x25a)](_0x226a20));}[_0x3249e4(0x2f4)](){const _0xf0ec7f=_0x3249e4;this[_0xf0ec7f(0x13d)]=window['setInterval'](()=>{const _0x4d143c=_0xf0ec7f;this[_0x4d143c(0x299)]({'type':0x2,'memberID':this[_0x4d143c(0x1a4)]});},_0x43bfea);}[_0x3249e4(0xe7)](_0x4823c5){const _0x950530=_0x3249e4;return this[_0x950530(0x264)][_0x950530(0x1dd)](_0x4823c5)||this[_0x950530(0x264)][_0x950530(0x32a)](_0x4823c5,new _0x596bb7[(_0x950530(0x2db))](_0x52f34c[_0x950530(0x17c)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x950530(0x264)]['get'](_0x4823c5);}}var _0xcd436=(_0x8c33ad=>(_0x8c33ad[_0x8c33ad[_0x3249e4(0x17e)]=0x0]=_0x3249e4(0x17e),_0x8c33ad[_0x8c33ad['OK']=0x1]='OK',_0x8c33ad[_0x8c33ad[_0x3249e4(0x1bd)]=0x2]='INTERNAL_ERROR',_0x8c33ad[_0x8c33ad[_0x3249e4(0x327)]=0x3]=_0x3249e4(0x327),_0x8c33ad[_0x8c33ad[_0x3249e4(0x25b)]=0x4]=_0x3249e4(0x25b),_0x8c33ad[_0x8c33ad[_0x3249e4(0xd1)]=0x5]='UNAUTHENTICATED',_0x8c33ad[_0x8c33ad[_0x3249e4(0x16a)]=0x6]=_0x3249e4(0x16a),_0x8c33ad[_0x8c33ad['INVALID_ARGUMENT']=0x7]=_0x3249e4(0x1fc),_0x8c33ad[_0x8c33ad[_0x3249e4(0x111)]=0x8]=_0x3249e4(0x111),_0x8c33ad[_0x8c33ad['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x8c33ad[_0x8c33ad[_0x3249e4(0x149)]=0xa]=_0x3249e4(0x149),_0x8c33ad[_0x8c33ad[_0x3249e4(0x1c6)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x8c33ad[_0x8c33ad['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x3249e4(0x339),_0x8c33ad[_0x8c33ad[_0x3249e4(0x2a4)]=0x1772]=_0x3249e4(0x2a4),_0x8c33ad[_0x8c33ad[_0x3249e4(0x24a)]=0x1773]=_0x3249e4(0x24a),_0x8c33ad[_0x8c33ad['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x8c33ad[_0x8c33ad[_0x3249e4(0x233)]=0x1b5a]=_0x3249e4(0x233),_0x8c33ad[_0x8c33ad['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x3249e4(0x178),_0x8c33ad[_0x8c33ad['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3249e4(0x1ef),_0x8c33ad[_0x8c33ad[_0x3249e4(0x13c)]=0x1b5d]=_0x3249e4(0x13c),_0x8c33ad[_0x8c33ad[_0x3249e4(0x28f)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x8c33ad[_0x8c33ad[_0x3249e4(0x155)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x8c33ad[_0x8c33ad[_0x3249e4(0x1be)]=0x232a]=_0x3249e4(0x1be),_0x8c33ad[_0x8c33ad['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x8c33ad[_0x8c33ad[_0x3249e4(0x172)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x8c33ad[_0x8c33ad[_0x3249e4(0x2f9)]=0x232d]=_0x3249e4(0x2f9),_0x8c33ad[_0x8c33ad[_0x3249e4(0x206)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x8c33ad[_0x8c33ad[_0x3249e4(0x266)]=0x2712]=_0x3249e4(0x266),_0x8c33ad[_0x8c33ad['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x3249e4(0x133),_0x8c33ad[_0x8c33ad[_0x3249e4(0x28a)]=0x2714]=_0x3249e4(0x28a),_0x8c33ad[_0x8c33ad['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x8c33ad[_0x8c33ad['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x3249e4(0x123),_0x8c33ad[_0x8c33ad[_0x3249e4(0x18d)]=0x2af9]=_0x3249e4(0x18d),_0x8c33ad[_0x8c33ad['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x3249e4(0x326),_0x8c33ad[_0x8c33ad[_0x3249e4(0x101)]=0x2ee2]=_0x3249e4(0x101),_0x8c33ad[_0x8c33ad[_0x3249e4(0x2b1)]=0x2ee3]=_0x3249e4(0x2b1),_0x8c33ad[_0x8c33ad['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x8c33ad[_0x8c33ad[_0x3249e4(0x164)]=0x2ee5]=_0x3249e4(0x164),_0x8c33ad[_0x8c33ad[_0x3249e4(0x28c)]=0x32c9]=_0x3249e4(0x28c),_0x8c33ad[_0x8c33ad['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x3249e4(0x350),_0x8c33ad[_0x8c33ad['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x8c33ad[_0x8c33ad[_0x3249e4(0xfd)]=-0x1]=_0x3249e4(0xfd),_0x8c33ad))(_0xcd436||{}),_0x57f593=Object['getOwnPropertyDescriptor'],_0x3b0637=(_0x599c2a,_0x1d6207,_0x13c242,_0x20f999)=>{const _0x1616bc=_0x3249e4;for(var _0x345752=_0x20f999>0x1?void 0x0:_0x20f999?_0x57f593(_0x1d6207,_0x13c242):_0x1d6207,_0x32ca96=_0x599c2a[_0x1616bc(0x10a)]-0x1,_0x16b38d;_0x32ca96>=0x0;_0x32ca96--)(_0x16b38d=_0x599c2a[_0x32ca96])&&(_0x345752=_0x16b38d(_0x345752)||_0x345752);return _0x345752;},_0x38f1f1=(_0x333ce7,_0x1d75f7)=>(_0x19c460,_0x309c14)=>_0x1d75f7(_0x19c460,_0x309c14,_0x333ce7);_0x24e36d[_0x3249e4(0x250)]=class extends _0x4b6906[_0x3249e4(0x2e6)]{constructor(_0x2d5a68,_0x86b347,_0x436e2e){const _0x45fdf0=_0x3249e4;super(),this[_0x45fdf0(0x2bd)]=_0x2d5a68,this[_0x45fdf0(0x23a)]=_0x86b347,this[_0x45fdf0(0x221)]=_0x436e2e;}async[_0x3249e4(0x35b)](_0x38b19f,_0x3cb3ba,_0x160acc,..._0x9dfa22){const _0x15e143=_0x3249e4;var _0x44cacd,_0x4eb327,_0x23ef70,_0x1932f1;const _0x252af0=this[_0x15e143(0x2bd)][_0x15e143(0x2be)]();if(!_0x252af0)throw new Error(_0x15e143(0x32f));const _0x188f9b=((_0x44cacd=this[_0x15e143(0x221)][_0x15e143(0x292)](_0x52f34c['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x44cacd:_0x52f34c[_0x15e143(0x18e)])+'/'+_0x38b19f+_0x15e143(0xe9)+_0x3cb3ba,_0x2f46ce=new URL(window[_0x15e143(0x144)][_0x15e143(0x27c)]),_0x5b31e2={'scriptId':_0x38b19f,'runId':(_0x4eb327=_0x2f46ce[_0x15e143(0x169)]['get']('runId'))!=null?_0x4eb327:'','function':_0x3cb3ba,'unitId':_0x252af0[_0x15e143(0x293)](),'argsOfFunction':JSON[_0x15e143(0x25a)](_0x9dfa22),'invokeId':(_0x23ef70=_0x160acc[_0x15e143(0x248)])!=null?_0x23ef70:'','executionId':(_0x1932f1=_0x160acc['executionId'])!=null?_0x1932f1:''};try{const _0x1a7d86=await this['_httpService'][_0x15e143(0x1f8)](_0x188f9b,{'body':_0x5b31e2});return _0x1a7d86[_0x15e143(0x1c5)]['error']&&_0x1a7d86[_0x15e143(0x1c5)][_0x15e143(0x267)][_0x15e143(0x1fd)]!==_0xcd436['OK']?'Failed':_0x1a7d86['body'][_0x15e143(0x15c)];}catch{return _0x15e143(0x17f);}}},_0x24e36d['RemoteUniscriptService']=_0x3b0637([_0x38f1f1(0x0,_0x4b6906[_0x3249e4(0x356)]),_0x38f1f1(0x1,_0x4b6906['Inject'](_0x4aa660['HTTPService'])),_0x38f1f1(0x2,_0x4b6906[_0x3249e4(0x244)])],_0x24e36d[_0x3249e4(0x250)]),_0x24e36d[_0x3249e4(0x107)]=_0x1f21e5,_0x24e36d[_0x3249e4(0x2f2)]=_0x1b19e7,_0x24e36d[_0x3249e4(0x354)]=_0x3c8dd6,_0x24e36d['WebBrowserSingleActiveUnitService']=_0x223c81,_0x24e36d[_0x3249e4(0x122)]=_0x513437,Object[_0x3249e4(0x2dc)](_0x24e36d,Symbol[_0x3249e4(0x340)],{'value':_0x3249e4(0x260)});}));function _0x5079(){const _0x89c58e=['next','_onCursorDelete','handleDeleteRangeMoveUp','isTransformMutationFailure','INVITE_CODE_REQUIRED','_drawAnchor','focused$','permission.content','startColumn','_session','_saveCache','icon','closePath','SUBMIT_CHANGESET_TIMEOUT','displayName','hide','_instanceService','getFocusedUnit','OTHER_CLIENT_EDITING','TEXT','storage','transform','url(#$1','sheetId','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_draw','react/jsx-runtime','RemoveRowCommandId','ILocalCacheService','InsertColCommandId','_logService','syncEditingCollabCursor','getUniverSheetInstance','eventID','sessionTicket','ticket','unitID','Error','complete','getCollabCursors$','endColumn','LOCAL_CACHE_INTERVAL','range','Injector','BuiltInUIPart','getCurrentRevOfUnit','BehaviorSubject','defineProperty','disposeUnit','debug','transformStateCache','switchMap','getSheetBySheetId','createSocket','throttleTime','toRgbString','1385784cqeVVf','Disposable','LOCAL_CACHE_INTERVAL_KEY','registerDependencies','transformIMECache','subscribe','forEach','collaboration-client.offline-data-not-saved','handleDeleteRangeMoveLeft','defIds','saveTaskMap','apply','_scene','IURLService','toString','_scheduleHeartbeat','with','registerBeforeClose','...','_transformUndoRedoStack','LICENSE_DISTRO_REJECTED','_cursors','prototype','collab-client.tooltip.reconnect','ISocketService','online','width','_config','_removeCollabCursors','UniverNetwork','_transformPreviousActiveRange','RxDisposable','beginPath','collab-text-anchor-','evenodd','selection','addObject','_updateSubUnitFromURLParams','univer-online-status-icon','@univerjs/docs','override','registerRefRange','mutations','getOwnPropertySymbols','translate(.97)','useDependency','ThemeService','@univerjs/drawing','fromEventSubject','uni.network.url-service','_messageService','AWAITING_WITH_PENDING','_drawRectRange','operators','_initStatusListener','onPointerEnter$','url(#off-line-single_clip0_910_343)','_colorAssignService','_docSkeleton','gold400','_refRangeService','getColor','_scheduleSaving','assign','OffLineSingle','INVITE_CODE_HAS_BEEN_UES','PERMISSION_DENIED','Plugin','0\x200\x2016\x2016','set','height','type','size','_revisionService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','DeleteRangeMoveUpCommandId','_startSheetCollabCursor','_onRefRangeChange','subunit','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_handleHover','permission.title','onPointerLeave$','ranges','SNAPSHOT_INVALID_SNAPSHOT','sessionStatus$','0\x200\x2017\x2016','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','setShapeProps','name','takeUntil','toStringTag','hovered','DesktopCollaborationStatusDisplayController','MoveRangeCommandId','univer-online-status-title','CollaborationEvent','_localeService','saveImage','redoState','@univerjs/engine-formula','source','_urlService','addClipboardHook','RemoveColCommandId','getViewport','getOffsetConfig','MOBILE_HAS_BEEN_BOUND','_updateCollabCursors','runRefRangeMutations','transformByState','SheetCollabCursorShape','_initCommandExecutedListener','IUniverInstanceService','collaboration-client-ui.config','deepClone','bottom','currentColor','runOnServer','[CollaborationDataLoaderController]','_collabCursorState$','toDisposable','collaboration.single-unit.warning','RevisionService','@univerjs/network','merge','_hovered','_online','children','CollaborationSessionService','4796368kcKiYU','collabStatus.offline','_docStateChangeManagerService','_anchor','params','backgroundColor','onlineStatus','getLocalCacheKey','forwardRef','MemberService','serializeRangeWithSheet','touchDependencies','cursorInfo','UNAUTHENTICATED','_getAnchorBounding','_cursor','CollaborationStatus','resize','UniverEngineRender','url(#on-line-single_clip0_910_349)','_handleJoinEvent','Vector2','getSheetId','concat','call','_themeService','off-line-single_clip0_910_343','getRenderById','_notificationService','LocaleService','jsxs','_render','Warning','EffectRefRangId','combineLatest','_ensureSubject','_localCacheService','/run/','activeSheet$','dispose$','parse','getParam','font','makeDirty','WebSocketService','propertyIsEnumerable','@univerjs/sheets-ui','UPDATE_CURSOR','IUIPartsService','setUndoRedoMutationParamsCache','PENDING','pushState','RefRangeService','drawWith','push','fillText','runId','UNRECOGNIZED','saveOfflineData','_entities','path','INVALID_INVITE_CODE','_eventUnsubscribe','getAncestorScale','attrs','jiqing500','application/json','CollaborationStatusDisplay','purple300','jsx','length','Inject','_cursorShapes','UniverCore','_injector','_drawTextRange','string','TOO_MANY_REQUESTS','getMemberID','CommandType','onLocalMutation','_backgroundColor','_transformHistoryAndStateStack','add','_assignedColors','clipPath','ColorKit','getCurrentSelections','CollaborationSocketService','_univerInstanceService','MUTATION','RichTextEditingMutation','_startDocCollabCursor','RegularPolygon','WebURLService','YUUMI_ASYNCIO_CANCELLED','svg','HTTPService','history','roomMembers$','object','min','CollaborationDataLoaderController','_refreshCollabCursors','addHandlerCallback','InsertRowCommandId','_sheetSkeletonManagerService','@univerjs/design','addEventListener','collabStatus.fetchMiss','getUndoRedoMutationParamsCache','YUUMI_RATE_OVER_LIMIT','replace','none','_renderManagerService','SetTextSelectionsOperation','transformRemoteChangeset','handleMoveRange','isActive','_commandService','APPLY_DUPLICATED','_heartbeatTimer','UniverProCollaborationClientUi','ACTIVE_UNIT_EVENT_CHANNEL','data','M0\x200H16V16H0z','blue400','UniverProCollaboration','location','isArray','_registerDependencies','actions','createElement','LOGIN_FAILED','get','findNodePositionByCharIndex','m2Prime','indexOf','event$','_initEntityListener','labelPosition','_color','onlineStatusIcon','createIdentifier','m1Prime','LICENSE_MAX_UNITS_EXCEEDED','DocCollaborationEntity','className','currentTheme$','getCoordByCell','collab-text-range-','_setupSubUnitSync','result','_initResize','setItem','_hover','handleInsertCol','_handleHeartbeatEvent','UniverDrawing','206628NTKhbP','INVITE_CODE_ALREADY_BOUND','undoState','InsertRangeMoveDownCommandId','getVpScrollXYInfoByPosToVp','sheetID','searchParams','ALREADY_EXISTS','_labelPosition','DEFAULT_WS_SESSION_TICKET_URL','delete','2261650lSEqZc','getOwnPropertyDescriptor','_doCreateSocket','fromEvent','LICENSE_EXPORT_SIZE_EXCEEDED','colorChannel1','@univerjs/docs-ui','collabStatus.syncing','color','AWAITING','APPLY_REVISION_CONFILICT','6yqamDo','UniverSheetsUi','offline','UnitStatus','debounce','UNDEFINED','Failed','_unitOnClients','Optional','_uiPartsService','React','HEADER_MENU','then','transformSelections','clearTimeout','getRangePointData','@univerjs-pro/collaboration','doc.mutation.rich-text-editing','useRef','transformMutation','PY_RUNTIME_SCRIPT_ERROR','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','Unknown\x20user','_entityInit$','_toggleOnline','@univerjs/rpc','SheetsSelectionsService','key','getTypeOfUnitDisposed$','@univerjs/engine-render','CollaborationUIEventId','exhaustSavingTask','Tooltip','top','TEXT_RANGE_LAYER_INDEX','engine','init','_collabCursorController','COLORS','setTimeout','univer-offline','current','amd','_id','replaceDocRanges','_initEvent','getCellPositionByOffset','UniverCollaborationClientUIPlugin','currentSkeleton$','getActiveRange','_setupBeforeClosingHandler','_docTransformIMECacheService','createInstance','session.collaboration-timeout','unit','getMergeData','clearInterval','removeParam','UniverInstanceType','_docSyncEditingCollabCursorService','#FFF','asObservable','verdancy600','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getSheetObject','origin','_toggleOffline','values','INTERNAL_ERROR','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','requireSession','IRemoteInstanceService','from','RECT','_init','body','CHANGESET_REVISION_CONFILICT','_syncEditingCollabCursorService','defs','roomMembers','_localStorageService','CollaborationController','SetDocZoomRatioOperation','_clearOtherTimers','univer-flex\x20univer-items-center','OFFLINE','collabCursorState$','save','UniverUi','_scheduleClearOtherTimer','connectInjector','_onCursorUpdate','executeCommand','IDocClipboardService','subUnitId','send','_context','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','2146100tWkfcn','has','deserializeRangeWithSheet','loadUnit','_getSessionTicket','@univerjs/sheets','isTransformMutationsWithChangesetSuccess','_handleEvent','InsertRangeMoveRightCommandId','ITransformService','on-line-single','useCallback','show','ICommandService','textRanges','UniverSheets','memberID','whenReady','_colorIndex','APPLY_PERMISSION_DENIED','editingUnit','_cursorInfo$','mapTo','black','_updateURLWithCurrentState','OTHER_CLIENTS_EDITING','urlChange$','rxjs','post','arc','text','getUnhiddenWorksheets','INVALID_ARGUMENT','code','_handleLeaveEvent','_transformService','entityInit$','Tools','setParam','_saveTaskMap','VIEW_MAIN','FETCH_MISS','YUUMI_UNABLE_LOAD_URL','_docSkeletonManagerService','UNIVER_DOC','shareReplay','_cachedData','univer-online-status','enableLocalCache','handleInsertRangeMoveDown','DisposableCollection','_textBubble','useObservable','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','find','677862zIoleK','filter','DocIMEInputManagerService','Rect','transformMutationsWithChangeset','UNIVER_SHEET','getMember','@univerjs-pro/collaboration-client','univerjs-icon\x20univerjs-icon-','NOT_COLLAB','_createSocketURL','map','collaboration.closeRoom','SYNCED','_configService','#fff','replaceState','getSkeleton','_anchorDot','newValue','2548483hbSjTt','off-line-single','red300','getRelativeToViewportCoord','UniverIcon','_updateLocalCursor','mergeOverrideWithDependencies','measureText','_document','SHEET_VIEWPORT_KEY','SetWorksheetActivateCommand','onCommandExecuted','APPLY_NON_SEQUENTIAL_REVISION','_disabled','_hideTimer','Shape','INotificationService','DocStateChangeManagerService','_status$','_httpService','moveTo','_collaborationUIEventService','_collaborationController','setAlpha','onMouseMove','registerRenderModule','dispose','_initStatusComponent','subscribeEvent','IConfigService','SessionStatus','_range','univer-online','invokeId','UniverDocs','ENSURE_SNAPSHOT_EXECUTION','pipe','onPointerMove$','unitId','reconnect','column','RemoteUniscriptService','mask','UniverRpc','_removeClearOtherTimer','_roomMembers$','_docTransformStateCacheService','registerComponent','_beforeCloseService','getStateCache','popstate','stringify','NOT_FOUND','_getSheetObject','_lastPointer','_shapes','setActiveRange','Module','_name','_docClipboardService','fillRule','_unitStatus','MessageType','YUUMI_URL_COL_OUT_OF_RANGE','error','restore','assignAColorForMemberID','1em','UniverDocsUi','getDocRanges','substring','cursorInfo$','DOC_RANGE_TYPE','ILocalStorageService','tag','generateRandomId','onTransformChange$','UniverEngineFormula','debounceTime','collab-rect-range-','getCollabEntity$','_getSaveTimeout','endRow','round','_dataLoaderService','href','extend','@univerjs/ui','unshift','fillStyle','getTypeOfUnitAdded$','_initDependencies','NodePositionConvertToCursor','IMessageService','fill','SOCKET_FAILED_RETRY','FromArray','rxjs/operators','_collabSessionService','YUUMI_SUBSCRIPTION_NOT_FOUND','split','WECHAT_HAS_BEEN_BOUND','@univerjs/core','ILogService','CONNECTOR_DATA_TOO_LARGE','idSuffix','rgba(255,\x20255,\x20255,\x200.01)','getConfig','getUnitId','_memberService','exports','Subject','DocSkeletonManagerService','lineTo','_send','on-line-single_clip0_910_349','Workbook','getValue','ONLINE','_getScale','function','disposeWithMe','div','xlink:href','Rectangle','SNAPSHOT_HAS_BEEN_REMOVED','_selfUnitIDs','getCurrentUnitForType','DocSelectionManagerService','selections','getActiveSheet','entries','row','_getMergeRange'];_0x5079=function(){return _0x89c58e;};return _0x5079();}
1
+ function _0x580e(_0x3bd3c8,_0x1984cb){const _0x29c73f=_0x29c7();return _0x580e=function(_0x580e59,_0x43631c){_0x580e59=_0x580e59-0x118;let _0x5629a0=_0x29c73f[_0x580e59];return _0x5629a0;},_0x580e(_0x3bd3c8,_0x1984cb);}(function(_0x3462e8,_0xd4228b){const _0x776960=_0x580e,_0x343b99=_0x3462e8();while(!![]){try{const _0x1b409f=parseInt(_0x776960(0x3a0))/0x1+parseInt(_0x776960(0x28b))/0x2*(-parseInt(_0x776960(0x207))/0x3)+parseInt(_0x776960(0x19f))/0x4+-parseInt(_0x776960(0x38b))/0x5+parseInt(_0x776960(0x299))/0x6*(parseInt(_0x776960(0x1cb))/0x7)+-parseInt(_0x776960(0x309))/0x8*(-parseInt(_0x776960(0x2f6))/0x9)+-parseInt(_0x776960(0x2e9))/0xa;if(_0x1b409f===_0xd4228b)break;else _0x343b99['push'](_0x343b99['shift']());}catch(_0x587f55){_0x343b99['push'](_0x343b99['shift']());}}}(_0x29c7,0xd9188),function(_0x522f2e,_0x4cd8f1){const _0x5837a1=_0x580e;typeof exports==_0x5837a1(0x367)&&typeof module<'u'?_0x4cd8f1(exports,require(_0x5837a1(0x169)),require(_0x5837a1(0x1ad)),require(_0x5837a1(0x3a8)),require(_0x5837a1(0x236)),require('@univerjs/docs-ui'),require(_0x5837a1(0x1f5)),require(_0x5837a1(0x25e)),require(_0x5837a1(0x32e)),require(_0x5837a1(0x1a9)),require('@univerjs/engine-formula'),require(_0x5837a1(0x18c)),require(_0x5837a1(0x31e)),require(_0x5837a1(0x1ac)),require('react/jsx-runtime'),require(_0x5837a1(0x199)),require(_0x5837a1(0x194)),require('react'),require(_0x5837a1(0x174))):typeof define==_0x5837a1(0x160)&&define['amd']?define([_0x5837a1(0x320),_0x5837a1(0x169),_0x5837a1(0x1ad),_0x5837a1(0x3a8),'@univerjs/network',_0x5837a1(0x2ab),'@univerjs/drawing',_0x5837a1(0x25e),_0x5837a1(0x32e),_0x5837a1(0x1a9),_0x5837a1(0x247),'@univerjs/sheets',_0x5837a1(0x31e),'@univerjs/sheets-ui','react/jsx-runtime',_0x5837a1(0x199),_0x5837a1(0x194),'react',_0x5837a1(0x174)],_0x4cd8f1):(_0x522f2e=typeof globalThis<'u'?globalThis:_0x522f2e||self,_0x4cd8f1(_0x522f2e[_0x5837a1(0x248)]={},_0x522f2e[_0x5837a1(0x1ab)],_0x522f2e['UniverCore'],_0x522f2e['UniverEngineRender'],_0x522f2e['UniverNetwork'],_0x522f2e[_0x5837a1(0x1cc)],_0x522f2e['UniverDrawing'],_0x522f2e[_0x5837a1(0x25e)],_0x522f2e[_0x5837a1(0x2bb)],_0x522f2e[_0x5837a1(0x1e6)],_0x522f2e[_0x5837a1(0x263)],_0x522f2e[_0x5837a1(0x2ef)],_0x522f2e[_0x5837a1(0x25e)]['operators'],_0x522f2e[_0x5837a1(0x2aa)],_0x522f2e[_0x5837a1(0x2a9)],_0x522f2e['UniverUi'],_0x522f2e['UniverDesign'],_0x522f2e[_0x5837a1(0x2a9)],_0x522f2e[_0x5837a1(0x27c)]));}(this,function(_0x32b57d,_0xbdea02,_0x11f213,_0x8c537b,_0xb0168,_0x599319,_0x48250e,_0x1eb5fd,_0x228de8,_0x292b34,_0x3a9593,_0x4eb7aa,_0xddff01,_0x5cb6cd,_0x20b87c,_0x2d0743,_0x5628b5,_0x27d1ba,_0x1f20fb){'use strict';const _0x15f07d=_0x580e;var _0x4ed87d=Object[_0x15f07d(0x301)],_0x4f0713=(_0x44430e,_0x45371d,_0x737e91)=>_0x45371d in _0x44430e?_0x4ed87d(_0x44430e,_0x45371d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x737e91}):_0x44430e[_0x45371d]=_0x737e91,_0x29a23d=(_0x5da938,_0x238279,_0x3b47fe)=>_0x4f0713(_0x5da938,typeof _0x238279!=_0x15f07d(0x22b)?_0x238279+'':_0x238279,_0x3b47fe),_0x55233e=Object[_0x15f07d(0x144)],_0x1b737d=(_0x2dc0cd,_0x22aa34,_0x386874,_0x22b284)=>{for(var _0x1c8612=_0x22b284>0x1?void 0x0:_0x22b284?_0x55233e(_0x22aa34,_0x386874):_0x22aa34,_0x489439=_0x2dc0cd['length']-0x1,_0x3514bf;_0x489439>=0x0;_0x489439--)(_0x3514bf=_0x2dc0cd[_0x489439])&&(_0x1c8612=_0x3514bf(_0x1c8612)||_0x1c8612);return _0x1c8612;},_0x292d64=(_0x321ef6,_0x2dde5e)=>(_0x9cee63,_0x49e2dc)=>_0x2dde5e(_0x9cee63,_0x49e2dc,_0x321ef6);let _0x219e54=class extends _0x11f213[_0x15f07d(0x1b2)]{constructor(_0x35d4fd,_0x4d833d){const _0x48ea19=_0x15f07d;super(),this[_0x48ea19(0x242)]=_0x35d4fd,this[_0x48ea19(0x26c)]=_0x4d833d,this[_0x48ea19(0x198)]();}[_0x15f07d(0x198)](){const _0x143274=_0x15f07d,_0x450160=this;this[_0x143274(0x290)](this[_0x143274(0x242)]['addClipboardHook']({'onBeforePasteImage':async _0x5a1b55=>{const _0x5332b7=_0x143274,_0x2bdeaf=await _0x450160['_imageIoService']['saveImage'](_0x5a1b55);return _0x2bdeaf?{'source':_0x2bdeaf['source'],'imageSourceType':_0x2bdeaf[_0x5332b7(0x24b)]}:null;}}));}};_0x219e54=_0x1b737d([_0x292d64(0x0,_0x599319[_0x15f07d(0x124)]),_0x292d64(0x1,_0x48250e[_0x15f07d(0x38c)])],_0x219e54);const _0x42ea45=[_0x15f07d(0x2ae),_0x15f07d(0x27b),_0x15f07d(0x2bc),_0x15f07d(0x1a8),'blue400',_0x15f07d(0x215)];class _0x43e7a7 extends _0x11f213[_0x15f07d(0x35f)]{constructor(){const _0x3fa348=_0x15f07d;super(...arguments),_0x29a23d(this,_0x3fa348(0x11a),new Map()),_0x29a23d(this,_0x3fa348(0x17b),0x0);}['assignAColorForMemberID'](_0x2a8dad){const _0x2656a0=_0x15f07d;if(this['_assignedColors']['has'](_0x2a8dad))return this['_assignedColors'][_0x2656a0(0x300)](_0x2a8dad);const _0x2a0fb7=_0x42ea45[this[_0x2656a0(0x17b)]];return this[_0x2656a0(0x17b)]=(this[_0x2656a0(0x17b)]+0x1)%_0x42ea45[_0x2656a0(0x138)],this['_assignedColors']['set'](_0x2a8dad,_0x2a0fb7),_0x2a0fb7;}}function _0x3f5f28(_0xef5920){const _0x358c1a=_0x15f07d;let _0x54353e='';for(const _0x182aa4 of _0xef5920){const {startOffset:_0x51fe83,endOffset:_0x2a95cc,isActive:_0x3fcf15,rangeType:_0x7153da,segmentId:_0x36fb35,segmentPage:_0x4e32c6}=_0x182aa4;_0x54353e[_0x358c1a(0x138)]&&(_0x54353e+=','),_0x54353e+=_0x51fe83+':'+_0x2a95cc+':'+(_0x3fcf15?'1':'0')+':'+_0x7153da+':'+_0x36fb35+':'+_0x4e32c6;}return _0x54353e;}function _0x3284f5(_0x40d3ad){const _0x30da23=_0x15f07d,_0x216d72=_0x40d3ad['split'](','),_0x514ad5=[];for(const _0x4a3bf1 of _0x216d72){const [_0x254712,_0x2ec633,_0x443bcf,_0x4dc91a,_0x6a68b7,_0x10e516]=_0x4a3bf1['split'](':');_0x514ad5[_0x30da23(0x330)]({'startOffset':Number(_0x254712),'endOffset':Number(_0x2ec633),'collapsed':_0x254712===_0x2ec633,'isActive':_0x443bcf==='1','rangeType':_0x4dc91a===_0x11f213['DOC_RANGE_TYPE'][_0x30da23(0x21d)]?_0x11f213[_0x30da23(0x16a)][_0x30da23(0x21d)]:_0x11f213[_0x30da23(0x16a)][_0x30da23(0x22e)],'segmentId':typeof _0x6a68b7=='string'?String(_0x6a68b7):'','segmentPage':Number(_0x10e516!=null?_0x10e516:-0x1)});}return _0x514ad5[_0x30da23(0x25c)](_0x12b678=>_0x12b678[_0x30da23(0x31d)])||(_0x514ad5[0x0][_0x30da23(0x31d)]=!0x0),_0x514ad5;}class _0xfa3323 extends _0x11f213[_0x15f07d(0x1b2)]{constructor(){const _0x36529f=_0x15f07d;super(...arguments),_0x29a23d(this,_0x36529f(0x38a),new _0x1eb5fd[(_0x36529f(0x266))](null)),_0x29a23d(this,_0x36529f(0x25d),this[_0x36529f(0x38a)]['asObservable']());}['syncEditingCollabCursor'](_0x4708b7){const _0x34764e=_0x15f07d,{unitID:_0x5bf245,memberID:_0x444c41,textRanges:_0x3848fe}=_0x4708b7,_0x3d57a4=_0x3f5f28(_0x3848fe);if(_0x3d57a4==='')return;const _0x833f2={'unitID':_0x5bf245,'memberID':_0x444c41,'selection':_0x3d57a4};this[_0x34764e(0x38a)][_0x34764e(0x379)](_0x833f2);}}var _0x391ac3=Object['getOwnPropertyDescriptor'],_0x51ec86=(_0x38521b,_0x62e312,_0x1c86b2,_0x310750)=>{const _0x330e15=_0x15f07d;for(var _0x2099c8=_0x310750>0x1?void 0x0:_0x310750?_0x391ac3(_0x62e312,_0x1c86b2):_0x62e312,_0x569898=_0x38521b[_0x330e15(0x138)]-0x1,_0x58a06d;_0x569898>=0x0;_0x569898--)(_0x58a06d=_0x38521b[_0x569898])&&(_0x2099c8=_0x58a06d(_0x2099c8)||_0x2099c8);return _0x2099c8;},_0x367f5b=(_0x19cf78,_0x257085)=>(_0x537ea5,_0x40e63f)=>_0x257085(_0x537ea5,_0x40e63f,_0x19cf78);const _0xed3179=0x12c,_0x5a9cf2=0x64;let _0x69e5bf=class extends _0x11f213[_0x15f07d(0x1b2)]{constructor(_0x302a37,_0x3cc39f,_0x32248f,_0x4a3811,_0x2b81e3,_0x5b9552,_0x5adf79,_0x20929e,_0x1b67a8){const _0x1188e2=_0x15f07d;super(),_0x29a23d(this,_0x1188e2(0x399),!0x1),_0x29a23d(this,_0x1188e2(0x198),!0x1),_0x29a23d(this,_0x1188e2(0x163),new _0x1eb5fd['BehaviorSubject'](new Map())),_0x29a23d(this,_0x1188e2(0x234),this[_0x1188e2(0x163)][_0x1188e2(0x179)]()),_0x29a23d(this,'_roomMembers$',new _0x1eb5fd[(_0x1188e2(0x266))]([])),_0x29a23d(this,_0x1188e2(0x311),this[_0x1188e2(0x270)][_0x1188e2(0x181)](_0x1eb5fd[_0x1188e2(0x377)](_0xed3179))),_0x29a23d(this,'_updateLocalCursor',_0x11f213[_0x1188e2(0x38d)](_0xba32cc=>{const _0x1bbe7=_0x1188e2,_0x1f7c07={'eventID':_0x292b34[_0x1bbe7(0x2e2)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x1bbe7(0x23b)],'memberID':this[_0x1bbe7(0x2bd)][_0x1bbe7(0x2fc)](),'selection':_0x3f5f28(_0xba32cc)}};this[_0x1bbe7(0x2bd)]['send'](_0x1f7c07,this[_0x1bbe7(0x23b)]);},_0x5a9cf2)),(this[_0x1188e2(0x23b)]=_0x302a37,this[_0x1188e2(0x2bd)]=_0x3cc39f,this['_injector']=_0x32248f,this[_0x1188e2(0x13d)]=_0x4a3811,this[_0x1188e2(0x186)]=_0x2b81e3,this['_syncEditingCollabCursorService']=_0x5b9552,this['_transformService']=_0x5adf79,this[_0x1188e2(0x2b2)]=_0x20929e,this[_0x1188e2(0x34a)]=_0x1b67a8);}get['cursorInfo'](){const _0x5589d9=_0x15f07d;return this[_0x5589d9(0x163)][_0x5589d9(0x2e1)]();}get[_0x15f07d(0x1e3)](){const _0x471daa=_0x15f07d;return this[_0x471daa(0x270)][_0x471daa(0x2e1)]();}[_0x15f07d(0x1c7)](){const _0x26a5ae=_0x15f07d;super[_0x26a5ae(0x1c7)](),this[_0x26a5ae(0x163)]['next'](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$'][_0x26a5ae(0x379)]([]),this['_roomMembers$']['complete']();}[_0x15f07d(0x319)](){const _0x12e4fe=_0x15f07d;this['_init']||(this[_0x12e4fe(0x198)]=!0x0,this[_0x12e4fe(0x2bd)][_0x12e4fe(0x193)][_0x12e4fe(0x181)](_0x1eb5fd[_0x12e4fe(0x16b)](this['dispose$']))[_0x12e4fe(0x1db)](_0x4cc8dd=>{const _0x3c5031=_0x12e4fe;_0x4cc8dd===_0xbdea02['SessionStatus']['ONLINE']?this[_0x3c5031(0x3a3)]():this[_0x3c5031(0x13a)]();}),this['_session'][_0x12e4fe(0x289)]['pipe'](_0x1eb5fd[_0x12e4fe(0x16b)](this[_0x12e4fe(0x187)]))[_0x12e4fe(0x1db)](_0x4f88bd=>{const _0x3bbce9=_0x12e4fe,_0x4cff12=_0x4f88bd[_0x3bbce9(0x18e)];_0x4cff12===_0x292b34[_0x3bbce9(0x2e2)]['UPDATE_CURSOR']&&this[_0x3bbce9(0x1af)](_0x4f88bd),_0x4cff12===_0x292b34[_0x3bbce9(0x2e2)][_0x3bbce9(0x2d2)]&&this[_0x3bbce9(0x375)](_0x4f88bd);}),this[_0x12e4fe(0x290)](this[_0x12e4fe(0x34a)]['onCommandExecuted'](_0x44061e=>{const _0x25495f=_0x12e4fe,_0x34cfde=_0x44061e[_0x25495f(0x1e4)];_0x34cfde!=null&&this[_0x25495f(0x399)]&&_0x44061e['id']===_0x228de8[_0x25495f(0x201)]['id']&&_0x34cfde[_0x25495f(0x350)]===this['unitID']&&_0x34cfde[_0x25495f(0x280)]===!0x1&&_0x34cfde['ranges'][_0x25495f(0x138)]>0x0&&this[_0x25495f(0x225)](_0x34cfde['ranges']);})),this[_0x12e4fe(0x1c5)][_0x12e4fe(0x25d)][_0x12e4fe(0x181)](_0x1eb5fd[_0x12e4fe(0x16b)](this[_0x12e4fe(0x187)]))['subscribe'](_0x1109b5=>{const _0x18c88a=_0x12e4fe;if((_0x1109b5==null?void 0x0:_0x1109b5[_0x18c88a(0x23b)])!==this[_0x18c88a(0x23b)])return;const _0x493a05={'eventID':_0x292b34['CollaborationEvent'][_0x18c88a(0x120)],'data':_0x1109b5};this[_0x18c88a(0x1af)](_0x493a05);}),this['disposeWithMe'](this[_0x12e4fe(0x34a)][_0x12e4fe(0x337)](_0x4e1e09=>{const _0x5aea3f=_0x12e4fe;if(_0x4e1e09[_0x5aea3f(0x1e4)]==null)return;const _0x5bd03a=_0x4e1e09[_0x5aea3f(0x1e4)];if(_0x4e1e09['id']!==_0x228de8[_0x5aea3f(0x362)]['id']||_0x5bd03a[_0x5aea3f(0x350)]!==this[_0x5aea3f(0x23b)])return;const _0x11bb78={'id':_0x5aea3f(0x166),'params':_0x5bd03a},_0x1bc085=this[_0x5aea3f(0x1fe)];for(const [_0x591580,_0x10f7cf]of _0x1bc085){const _0x590f2b={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x5aea3f(0x23b)],'actions':null,'textRanges':_0x10f7cf[_0x5aea3f(0x253)]}},_0x2b15b6=this[_0x5aea3f(0x27f)]['transformMutation'](_0x11bb78,_0x590f2b,!0x1);if(_0x292b34[_0x5aea3f(0x206)](_0x2b15b6))throw _0x2b15b6[_0x5aea3f(0x331)];_0x1bc085[_0x5aea3f(0x23c)](_0x591580,{..._0x10f7cf,'ranges':_0x2b15b6[_0x5aea3f(0x387)][_0x5aea3f(0x1e4)][_0x5aea3f(0x14a)]});}queueMicrotask(()=>{const _0xb9be16=_0x5aea3f;this[_0xb9be16(0x163)][_0xb9be16(0x379)](_0x1bc085);});})));}[_0x15f07d(0x1af)](_0x670688){const _0x255850=_0x15f07d;var _0x42696b,_0x307348;const {memberID:_0x162e59,selection:_0x2ccc1d}=_0x670688['data'],_0x4696fc=_0x3284f5(_0x2ccc1d),_0x369373=(_0x307348=(_0x42696b=this[_0x255850(0x186)]['getMember'](this['unitID'],_0x162e59))==null?void 0x0:_0x42696b['name'])!=null?_0x307348:_0x255850(0x3a5),_0x91ea4d={'color':this[_0x255850(0x13d)][_0x255850(0x2c5)](_0x162e59),'name':_0x369373,'ranges':_0x4696fc},_0x25af6f=this[_0x255850(0x1fe)];_0x25af6f[_0x255850(0x23c)](_0x162e59,_0x91ea4d),this['_cursorInfo$'][_0x255850(0x379)](_0x25af6f);}[_0x15f07d(0x375)](_0x253cb1){const _0x382a5b=_0x15f07d,{memberID:_0x4158b4}=_0x253cb1[_0x382a5b(0x271)],_0xec5fce=this[_0x382a5b(0x1fe)];_0xec5fce['delete'](_0x4158b4),this['_cursorInfo$'][_0x382a5b(0x379)](_0xec5fce);}[_0x15f07d(0x3a3)](){const _0x2cb142=_0x15f07d;var _0x53d6cc;if(this[_0x2cb142(0x399)]=!0x0,((_0x53d6cc=this['_univerInstanceService'][_0x2cb142(0x373)]())==null?void 0x0:_0x53d6cc['getUnitId']())!==this[_0x2cb142(0x23b)])return;const _0xe99a2c=this[_0x2cb142(0x1be)][_0x2cb142(0x300)](_0x228de8[_0x2cb142(0x1c6)])[_0x2cb142(0x332)]();Array[_0x2cb142(0x2b8)](_0xe99a2c)&&_0xe99a2c[_0x2cb142(0x138)]>0x0&&this['_updateLocalCursor'](_0xe99a2c);}[_0x15f07d(0x13a)](){const _0x5b3f35=_0x15f07d;this[_0x5b3f35(0x399)]=!0x1;}};_0x69e5bf=_0x51ec86([_0x367f5b(0x2,_0x11f213['Inject'](_0x11f213[_0x15f07d(0x122)])),_0x367f5b(0x3,_0x11f213['Inject'](_0x43e7a7)),_0x367f5b(0x4,_0x11f213['Inject'](_0xbdea02[_0x15f07d(0x15c)])),_0x367f5b(0x5,_0x11f213['Inject'](_0xfa3323)),_0x367f5b(0x6,_0x292b34[_0x15f07d(0x361)]),_0x367f5b(0x7,_0x11f213[_0x15f07d(0x1e1)]),_0x367f5b(0x8,_0x11f213[_0x15f07d(0x335)])],_0x69e5bf);var _0x44fe1a=Object['getOwnPropertyDescriptor'],_0x1b9c39=(_0x740ce1,_0x1ad181,_0x53bbf1,_0x3d8123)=>{for(var _0x20d199=_0x3d8123>0x1?void 0x0:_0x3d8123?_0x44fe1a(_0x1ad181,_0x53bbf1):_0x1ad181,_0x502c2e=_0x740ce1['length']-0x1,_0x3b39ba;_0x502c2e>=0x0;_0x502c2e--)(_0x3b39ba=_0x740ce1[_0x502c2e])&&(_0x20d199=_0x3b39ba(_0x20d199)||_0x20d199);return _0x20d199;},_0x11b960=(_0x1b9607,_0x71a80e)=>(_0x7d719,_0x1a1b39)=>_0x71a80e(_0x7d719,_0x1a1b39,_0x1b9607);const _0x48f77d=0x12c,_0x2da3fe=0x64,_0x83d4de=()=>{let _0x298d0c=[],_0x4d7b41=!0x1;return _0x282650=>{const _0x1d9844=_0x580e;_0x298d0c[_0x1d9844(0x330)](_0x282650),_0x4d7b41||(_0x4d7b41=!0x0,setTimeout(()=>{const _0x340717=_0x1d9844;_0x298d0c[_0x340717(0x2c4)](_0x31d80b=>_0x31d80b()),_0x298d0c=[],_0x4d7b41=!0x1;}));};};let _0xc3af1c=class extends _0x11f213[_0x15f07d(0x1b2)]{constructor(_0x1b9c14,_0x27dc20,_0xfa84c1,_0x29afdb,_0x3ad936,_0x517e89,_0x6f3d1e,_0x23699e){const _0x4d7276=_0x15f07d;super(),_0x29a23d(this,_0x4d7276(0x399),!0x1),_0x29a23d(this,_0x4d7276(0x198),!0x1),_0x29a23d(this,_0x4d7276(0x163),new _0x1eb5fd[(_0x4d7276(0x266))](new Map())),_0x29a23d(this,_0x4d7276(0x234),this[_0x4d7276(0x163)][_0x4d7276(0x179)]()),_0x29a23d(this,'_roomMembers$',new _0x1eb5fd['BehaviorSubject']([])),_0x29a23d(this,_0x4d7276(0x311),this[_0x4d7276(0x270)]['pipe'](_0x1eb5fd[_0x4d7276(0x377)](_0x48f77d))),_0x29a23d(this,_0x4d7276(0x225),_0x11f213['debounce']((_0x25c90b,_0x1234c)=>{const _0x3716f4=_0x4d7276,_0x12a9b0={'eventID':_0x292b34[_0x3716f4(0x2e2)][_0x3716f4(0x120)],'data':{'unitID':this[_0x3716f4(0x23b)],'memberID':this[_0x3716f4(0x2bd)][_0x3716f4(0x2fc)](),'selection':_0x3a9593[_0x3716f4(0x3ab)](_0x25c90b,_0x1234c[_0x3716f4(0x2b0)])}};this[_0x3716f4(0x2bd)][_0x3716f4(0x2a8)](_0x12a9b0,this[_0x3716f4(0x23b)]);},_0x2da3fe)),(this[_0x4d7276(0x23b)]=_0x1b9c14,this[_0x4d7276(0x2bd)]=_0x27dc20,this[_0x4d7276(0x1be)]=_0xfa84c1,this[_0x4d7276(0x13d)]=_0x29afdb,this[_0x4d7276(0x186)]=_0x3ad936,this[_0x4d7276(0x2b2)]=_0x517e89,this[_0x4d7276(0x34a)]=_0x6f3d1e,this[_0x4d7276(0x2f8)]=_0x23699e);}get[_0x15f07d(0x1fe)](){const _0x3596c4=_0x15f07d;return this[_0x3596c4(0x163)]['getValue']();}get[_0x15f07d(0x1e3)](){const _0x56b3ba=_0x15f07d;return this[_0x56b3ba(0x270)][_0x56b3ba(0x2e1)]();}[_0x15f07d(0x1c7)](){const _0xd6e629=_0x15f07d;super[_0xd6e629(0x1c7)](),this[_0xd6e629(0x163)][_0xd6e629(0x379)](new Map()),this[_0xd6e629(0x163)][_0xd6e629(0x314)](),this[_0xd6e629(0x270)]['next']([]),this[_0xd6e629(0x270)]['complete']();}[_0x15f07d(0x319)](){const _0x3ea144=_0x15f07d;this[_0x3ea144(0x198)]||(this[_0x3ea144(0x198)]=!0x0,this[_0x3ea144(0x2bd)]['sessionStatus$'][_0x3ea144(0x181)](_0x1eb5fd['takeUntil'](this['dispose$']))['subscribe'](_0xb30eac=>{const _0x70f1f2=_0x3ea144;_0xb30eac===_0xbdea02[_0x70f1f2(0x214)][_0x70f1f2(0x192)]?this[_0x70f1f2(0x3a3)]():this[_0x70f1f2(0x13a)]();}),this[_0x3ea144(0x2bd)][_0x3ea144(0x289)][_0x3ea144(0x181)](_0x1eb5fd[_0x3ea144(0x16b)](this[_0x3ea144(0x187)]))['subscribe'](_0xf74cbd=>{const _0x510261=_0x3ea144,_0x4c1e3e=_0xf74cbd['eventID'];_0x4c1e3e===_0x292b34['CollaborationEvent'][_0x510261(0x120)]&&this[_0x510261(0x1af)](_0xf74cbd),_0x4c1e3e===_0x292b34['CollaborationEvent'][_0x510261(0x2d2)]&&this[_0x510261(0x375)](_0xf74cbd);}),this[_0x3ea144(0x3b0)](),this[_0x3ea144(0x290)](this[_0x3ea144(0x34a)][_0x3ea144(0x337)](_0x27a92d=>{const _0x4392a3=_0x3ea144;if(this[_0x4392a3(0x399)]&&_0x27a92d['id']===_0x4eb7aa[_0x4392a3(0x123)]['id']&&_0x27a92d['params'][_0x4392a3(0x350)]===this[_0x4392a3(0x23b)]){const _0x596cd0=_0x27a92d[_0x4392a3(0x1e4)];this[_0x4392a3(0x225)](_0x596cd0[_0x4392a3(0x395)],_0x596cd0[_0x4392a3(0x230)][0x0]);}})));}['_onCursorUpdate'](_0x2eace4){const _0x419606=_0x15f07d;var _0x54b6ef,_0x46c94d;const {memberID:_0x664c6a,selection:_0x2efcb6}=_0x2eace4[_0x419606(0x271)],{sheetName:_0x114233,range:_0x109171}=_0x3a9593[_0x419606(0x20c)](_0x2efcb6),_0x12acda={'name':(_0x46c94d=(_0x54b6ef=this[_0x419606(0x186)][_0x419606(0x347)](this[_0x419606(0x23b)],_0x664c6a))==null?void 0x0:_0x54b6ef[_0x419606(0x2a6)])!=null?_0x46c94d:_0x419606(0x3a5),'range':this[_0x419606(0x15a)](_0x114233,_0x109171),'sheetID':_0x114233,'color':this[_0x419606(0x13d)][_0x419606(0x2c5)](_0x664c6a),'selection':_0x2efcb6},_0x5a9690=this[_0x419606(0x1fe)];_0x5a9690[_0x419606(0x23c)](_0x664c6a,_0x12acda),this['_cursorInfo$'][_0x419606(0x379)](_0x5a9690);}[_0x15f07d(0x375)](_0x531586){const _0x17bed7=_0x15f07d,{memberID:_0x5495d2}=_0x531586[_0x17bed7(0x271)],_0x16ecae=this[_0x17bed7(0x1fe)];_0x16ecae[_0x17bed7(0x1bc)](_0x5495d2),this[_0x17bed7(0x163)]['next'](_0x16ecae);}['_getMergeRange'](_0x4691cd,_0x29dbd4){const _0x117184=_0x15f07d;var _0x400866,_0x18a65c;const _0x4d4f04=(_0x18a65c=(_0x400866=this[_0x117184(0x2b2)][_0x117184(0x2e5)](this[_0x117184(0x23b)]))==null?void 0x0:_0x400866[_0x117184(0x370)](_0x4691cd))==null?void 0x0:_0x18a65c[_0x117184(0x356)]();return(_0x4d4f04==null?void 0x0:_0x4d4f04[_0x117184(0x3ad)](_0x4a5513=>_0x11f213[_0x117184(0x365)]['contains'](_0x4a5513,_0x29dbd4)))||_0x29dbd4;}[_0x15f07d(0x3b0)](){const _0x4fcf28=_0x15f07d,_0x3dd4f4=new _0x11f213['DisposableCollection'](),_0x3c8555=_0x83d4de(),_0x52275b=()=>{const _0x339b15=_0x580e;_0x3dd4f4['dispose']();const _0x3f3911=(_0x45ebb0,_0x41d233,_0x59900e,_0x17db38)=>{const _0x52d90a=_0x580e;let _0x8170e2=[];switch(_0x45ebb0['id']){case _0x4eb7aa['EffectRefRangId'][_0x52d90a(0x27e)]:{_0x8170e2=_0x4eb7aa['handleDeleteRangeMoveLeft'](_0x45ebb0,_0x17db38);break;}case _0x4eb7aa[_0x52d90a(0x2b1)]['DeleteRangeMoveUpCommandId']:{_0x8170e2=_0x4eb7aa[_0x52d90a(0x30d)](_0x45ebb0,_0x17db38);break;}case _0x4eb7aa[_0x52d90a(0x2b1)][_0x52d90a(0x2eb)]:{_0x8170e2=_0x4eb7aa[_0x52d90a(0x2e3)](_0x45ebb0,_0x17db38);break;}case _0x4eb7aa['EffectRefRangId'][_0x52d90a(0x2e6)]:{_0x8170e2=_0x4eb7aa[_0x52d90a(0x184)](_0x45ebb0,_0x17db38);break;}case _0x4eb7aa[_0x52d90a(0x2b1)][_0x52d90a(0x26b)]:{_0x8170e2=_0x4eb7aa[_0x52d90a(0x329)](_0x45ebb0,_0x17db38);break;}case _0x4eb7aa[_0x52d90a(0x2b1)][_0x52d90a(0x1fd)]:{_0x8170e2=_0x4eb7aa['handleInsertRow'](_0x45ebb0,_0x17db38);break;}case _0x4eb7aa['EffectRefRangId']['MoveRangeCommandId']:{_0x8170e2=_0x4eb7aa['handleMoveRange'](_0x45ebb0,_0x17db38);break;}case _0x4eb7aa[_0x52d90a(0x2b1)][_0x52d90a(0x2c3)]:{_0x8170e2=_0x4eb7aa['handleIRemoveCol'](_0x45ebb0,_0x17db38);break;}case _0x4eb7aa[_0x52d90a(0x2b1)][_0x52d90a(0x170)]:{_0x8170e2=_0x4eb7aa[_0x52d90a(0x235)](_0x45ebb0,_0x17db38);break;}}const _0x2fd0cb=_0x4eb7aa['runRefRangeMutations'](_0x8170e2,_0x17db38),_0x28214f=this['cursorInfo']['get'](_0x41d233);if(_0x28214f&&_0x2fd0cb){const _0x8ba1e8={..._0x28214f,'range':_0x2fd0cb};this['cursorInfo'][_0x52d90a(0x23c)](_0x41d233,_0x8ba1e8),_0x3c8555(()=>{const _0x1e3596=_0x52d90a,_0x1371f9=this[_0x1e3596(0x2f8)][_0x1e3596(0x284)](_0x2fd0cb,_0x5aa724=>(_0x1371f9[_0x1e3596(0x1c7)](),_0x3f3911(_0x5aa724,_0x41d233,_0x59900e,_0x2fd0cb)));_0x3dd4f4[_0x1e3596(0x21f)](_0x1371f9);});}return{'redos':[],'undos':[]};};this[_0x339b15(0x1fe)]['forEach']((_0x33fee2,_0x140260)=>{const _0x505268=_0x339b15,{range:_0x23285d,sheetID:_0x393bea}=_0x33fee2,_0x1be272=this[_0x505268(0x2f8)][_0x505268(0x284)](_0x23285d,_0x462346=>(_0x1be272[_0x505268(0x1c7)](),_0x3f3911(_0x462346,_0x140260,_0x393bea,_0x23285d)));_0x3dd4f4[_0x505268(0x21f)](_0x1be272);});};this['disposeWithMe'](_0x11f213[_0x4fcf28(0x2ba)](this[_0x4fcf28(0x163)][_0x4fcf28(0x1db)](()=>{_0x52275b();})));}[_0x15f07d(0x3a3)](){const _0x2e1b06=_0x15f07d;var _0xe7c9fd,_0xfcdd59;if(this[_0x2e1b06(0x399)]=!0x0,((_0xe7c9fd=this[_0x2e1b06(0x2b2)][_0x2e1b06(0x373)]())==null?void 0x0:_0xe7c9fd[_0x2e1b06(0x1e5)]())!==this[_0x2e1b06(0x23b)])return;const _0x1b326f=(_0xfcdd59=this[_0x2e1b06(0x1be)][_0x2e1b06(0x300)](_0x4eb7aa[_0x2e1b06(0x28c)])[_0x2e1b06(0x24c)]())==null?void 0x0:_0xfcdd59[0x0],_0x54e000=this['_univerInstanceService'][_0x2e1b06(0x132)](_0x11f213['UniverInstanceType']['UNIVER_SHEET'])[_0x2e1b06(0x378)]();_0x1b326f&&_0x54e000&&this[_0x2e1b06(0x225)](_0x54e000[_0x2e1b06(0x341)](),_0x1b326f);}[_0x15f07d(0x13a)](){this['_online']=!0x1;}};_0xc3af1c=_0x1b9c39([_0x11b960(0x2,_0x11f213[_0x15f07d(0x223)](_0x11f213[_0x15f07d(0x122)])),_0x11b960(0x3,_0x11f213[_0x15f07d(0x223)](_0x43e7a7)),_0x11b960(0x4,_0x11f213['Inject'](_0xbdea02[_0x15f07d(0x15c)])),_0x11b960(0x5,_0x11f213[_0x15f07d(0x1e1)]),_0x11b960(0x6,_0x11f213[_0x15f07d(0x335)]),_0x11b960(0x7,_0x11f213[_0x15f07d(0x223)](_0x4eb7aa['RefRangeService']))],_0xc3af1c);var _0x5bc26f=Object[_0x15f07d(0x144)],_0x285d49=(_0x3cca82,_0x206e81,_0x3edc32,_0x3b3437)=>{const _0x27186f=_0x15f07d;for(var _0x536fdc=_0x3b3437>0x1?void 0x0:_0x3b3437?_0x5bc26f(_0x206e81,_0x3edc32):_0x206e81,_0x491af1=_0x3cca82[_0x27186f(0x138)]-0x1,_0x551a22;_0x491af1>=0x0;_0x491af1--)(_0x551a22=_0x3cca82[_0x491af1])&&(_0x536fdc=_0x551a22(_0x536fdc)||_0x536fdc);return _0x536fdc;},_0x546f1d=(_0x77f5b8,_0x34f8e1)=>(_0x18d7be,_0x56110c)=>_0x34f8e1(_0x18d7be,_0x56110c,_0x77f5b8);let _0x5a3689=class extends _0x11f213[_0x15f07d(0x1b2)]{constructor(_0x3c5a6f,_0x1dd60e,_0x140e12){const _0xaf35d2=_0x15f07d;super(),_0x29a23d(this,'_entities',new Map()),_0x29a23d(this,_0xaf35d2(0x244),new _0x1eb5fd['Subject']()),(this[_0xaf35d2(0x2b2)]=_0x3c5a6f,this['_injector']=_0x1dd60e,this[_0xaf35d2(0x12d)]=_0x140e12,this['_init']());}[_0x15f07d(0x1c7)](){const _0x38d1ef=_0x15f07d;super[_0x38d1ef(0x1c7)](),this[_0x38d1ef(0x244)][_0x38d1ef(0x314)](),this[_0x38d1ef(0x177)][_0x38d1ef(0x2c4)](_0x52ce57=>_0x52ce57[_0x38d1ef(0x1c7)]());}[_0x15f07d(0x36d)](_0x11e6c3){const _0x3772d0=_0x15f07d;return this[_0x3772d0(0x177)][_0x3772d0(0x221)](_0x11e6c3)?this[_0x3772d0(0x177)][_0x3772d0(0x300)](_0x11e6c3)['cursorInfo$']:this[_0x3772d0(0x244)][_0x3772d0(0x181)](_0x1eb5fd[_0x3772d0(0x382)](_0x34a411=>_0x34a411[_0x3772d0(0x23b)]===_0x11e6c3),_0x1eb5fd['switchMap'](_0x2ef741=>_0x2ef741[_0x3772d0(0x234)]));}[_0x15f07d(0x198)](){const _0x39c272=_0x15f07d;this[_0x39c272(0x2b2)][_0x39c272(0x29c)](_0x11f213[_0x39c272(0x39f)][_0x39c272(0x384)])[_0x39c272(0x181)](_0x1eb5fd[_0x39c272(0x16b)](this[_0x39c272(0x187)]))[_0x39c272(0x1db)](async _0x149c92=>{const _0xe7dc08=_0x39c272,_0x4d625b=_0x149c92[_0xe7dc08(0x1e5)](),_0x3ab4d3=await this[_0xe7dc08(0x37d)](_0x4d625b);this[_0xe7dc08(0x244)][_0xe7dc08(0x379)](_0x3ab4d3),this['_entities'][_0xe7dc08(0x23c)](_0x4d625b,_0x3ab4d3);}),this[_0x39c272(0x2b2)][_0x39c272(0x29c)](_0x11f213['UniverInstanceType'][_0x39c272(0x153)])[_0x39c272(0x181)](_0x1eb5fd[_0x39c272(0x16b)](this[_0x39c272(0x187)]))[_0x39c272(0x181)](_0x1eb5fd[_0x39c272(0x382)](_0x28e1a6=>!_0x28e1a6[_0x39c272(0x1e5)]()[_0x39c272(0x380)]('__')))[_0x39c272(0x1db)](async _0x30f040=>{const _0x5ef68b=_0x39c272,_0x237dea=_0x30f040[_0x5ef68b(0x1e5)](),_0x4e4a48=await this[_0x5ef68b(0x145)](_0x237dea);this[_0x5ef68b(0x244)][_0x5ef68b(0x379)](_0x4e4a48),this[_0x5ef68b(0x177)]['set'](_0x237dea,_0x4e4a48);}),_0x1eb5fd[_0x39c272(0x1d5)](this['_univerInstanceService'][_0x39c272(0x2fb)](_0x11f213[_0x39c272(0x39f)]['UNIVER_DOC']),this[_0x39c272(0x2b2)][_0x39c272(0x2fb)](_0x11f213['UniverInstanceType']['UNIVER_SHEET']))[_0x39c272(0x181)](_0x1eb5fd['takeUntil'](this[_0x39c272(0x187)]))[_0x39c272(0x1db)](_0x44f42b=>{const _0x1b15da=_0x39c272,_0x1cda3e=_0x44f42b[_0x1b15da(0x1e5)](),_0x355a54=this[_0x1b15da(0x177)]['get'](_0x1cda3e);_0x355a54&&(_0x355a54[_0x1b15da(0x1c7)](),this[_0x1b15da(0x177)][_0x1b15da(0x1bc)](_0x1cda3e));});}async[_0x15f07d(0x37d)](_0x50c612){const _0x20b462=_0x15f07d,_0x3f26a2=await this[_0x20b462(0x12d)][_0x20b462(0x305)](_0x50c612),_0xa24a78=this[_0x20b462(0x1be)]['createInstance'](_0xc3af1c,_0x50c612,_0x3f26a2);return _0xa24a78[_0x20b462(0x319)](),_0xa24a78;}async[_0x15f07d(0x145)](_0x1eebc5){const _0x3f61ce=_0x15f07d,_0x5ec5db=await this['_collabSessionService'][_0x3f61ce(0x305)](_0x1eebc5),_0x4bc1c6=this[_0x3f61ce(0x1be)]['createInstance'](_0x69e5bf,_0x1eebc5,_0x5ec5db);return _0x4bc1c6['init'](),_0x4bc1c6;}};_0x5a3689=_0x285d49([_0x546f1d(0x0,_0x11f213[_0x15f07d(0x1e1)]),_0x546f1d(0x1,_0x11f213[_0x15f07d(0x223)](_0x11f213[_0x15f07d(0x122)])),_0x546f1d(0x2,_0x11f213[_0x15f07d(0x223)](_0xbdea02[_0x15f07d(0x278)]))],_0x5a3689);const _0x314929=0x14,_0x56723b=0xc8,_0x189839=0x4,_0x3244ef=0x5;function _0x3df3c7(_0x57e7c6,_0x238b70){const _0x5db766=_0x15f07d;let {radius:_0x27308a,width:_0x3d48dc,height:_0x2aae79}=_0x238b70;_0x27308a=_0x27308a!=null?_0x27308a:0x0,_0x3d48dc=_0x3d48dc!=null?_0x3d48dc:0x1e,_0x2aae79=_0x2aae79!=null?_0x2aae79:0x1e;let _0x129688=0x0,_0x2f0493=0x0,_0x2b0f23=0x0;_0x129688=_0x2f0493=_0x2b0f23=Math[_0x5db766(0x2f3)](_0x27308a,_0x3d48dc/0x2,_0x2aae79/0x2),_0x57e7c6['beginPath'](),_0x57e7c6['moveTo'](_0x129688,0x0),_0x57e7c6[_0x5db766(0x20e)](_0x3d48dc-_0x2f0493,0x0),_0x57e7c6[_0x5db766(0x133)](_0x3d48dc-_0x2f0493,_0x2f0493,_0x2f0493,Math['PI']*0x3/0x2,0x0,!0x1),_0x57e7c6['lineTo'](_0x3d48dc,_0x2aae79-_0x2b0f23),_0x57e7c6[_0x5db766(0x133)](_0x3d48dc-_0x2b0f23,_0x2aae79-_0x2b0f23,_0x2b0f23,0x0,Math['PI']/0x2,!0x1),_0x57e7c6[_0x5db766(0x20e)](0x0,_0x2aae79),_0x57e7c6[_0x5db766(0x20e)](0x0,_0x129688),_0x57e7c6[_0x5db766(0x133)](_0x129688,_0x129688,_0x129688,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x57e7c6[_0x5db766(0x14e)](),_0x238b70[_0x5db766(0x1c3)]&&(_0x57e7c6['save'](),_0x57e7c6['fillStyle']=_0x238b70[_0x5db766(0x1c3)],_0x238b70[_0x5db766(0x148)]===_0x5db766(0x17a)?_0x57e7c6[_0x5db766(0x1c3)](_0x5db766(0x17a)):_0x57e7c6[_0x5db766(0x1c3)](),_0x57e7c6['restore']());}class _0xcb9538 extends _0x8c537b[_0x15f07d(0x383)]{constructor(_0x5450bc,_0x54e014){const _0x46b94d=_0x15f07d;super(_0x5450bc,_0x54e014),_0x29a23d(this,'color'),_0x29a23d(this,_0x46b94d(0x2ec)),(this[_0x46b94d(0x14f)]=_0x54e014==null?void 0x0:_0x54e014[_0x46b94d(0x14f)],this[_0x46b94d(0x2ec)]=_0x54e014==null?void 0x0:_0x54e014[_0x46b94d(0x2ec)]);}static[_0x15f07d(0x1de)](_0x5a05b4,_0x2c0776){const _0xcff51e=_0x15f07d,{text:_0x1220c1,color:_0x30eb3e}=_0x2c0776;_0x5a05b4['save'](),_0x5a05b4[_0xcff51e(0x328)]=_0xcff51e(0x119);const _0x35961c=_0x5a05b4[_0xcff51e(0x1f9)](_0x1220c1)[_0xcff51e(0x26d)],_0xb2422e=Math[_0xcff51e(0x2f3)](_0x35961c+0x2*_0x189839,_0x56723b);_0x3df3c7(_0x5a05b4,{'height':_0x314929,'radius':0x4,'width':_0xb2422e,'fill':_0x30eb3e}),_0x5a05b4[_0xcff51e(0x162)]=_0xcff51e(0x313);const _0x2a7969=_0x189839,_0x321e22=_0x314929-_0x3244ef,_0x57ac37=_0x56723b-0x2*_0x189839;if(_0x35961c>_0x57ac37){let _0x4dbcfa='',_0x8ef7b7=0x0;for(const _0x36030d of _0x1220c1){const _0x4cc795=_0x5a05b4[_0xcff51e(0x1f9)](_0x36030d)[_0xcff51e(0x26d)];if(_0x8ef7b7+_0x4cc795<=_0x57ac37-_0x5a05b4[_0xcff51e(0x1f9)](_0xcff51e(0x26e))[_0xcff51e(0x26d)])_0x4dbcfa+=_0x36030d,_0x8ef7b7+=_0x4cc795;else{_0x4dbcfa+=_0xcff51e(0x26e);break;}}_0x5a05b4[_0xcff51e(0x13e)](_0x4dbcfa,_0x2a7969,_0x321e22);}else _0x5a05b4[_0xcff51e(0x13e)](_0x1220c1,_0x2a7969,_0x321e22);_0x5a05b4[_0xcff51e(0x2ac)]();}['_draw'](_0x580efd){const _0x1034b9=_0x15f07d;_0xcb9538[_0x1034b9(0x1de)](_0x580efd,this);}}const _0x4d5829=_0x15f07d(0x217),_0x3750be=_0x15f07d(0x364),_0x21286f='collab-rect-range-',_0x540885=0x6,_0x388183=1.5,_0x551db8=0x4,_0x510e72=1.5,_0x24b74c=_0x15f07d(0x208);class _0x2e315e{constructor(_0x329684,_0x5b1c59,_0x450e83,_0x4c0307){const _0x30fa1a=_0x15f07d;_0x29a23d(this,'_shapes',[]),_0x29a23d(this,_0x30fa1a(0x3a9),null),_0x29a23d(this,_0x30fa1a(0x139),null),_0x29a23d(this,_0x30fa1a(0x376),null),_0x29a23d(this,'_hideTimer',null),_0x29a23d(this,_0x30fa1a(0x1ff),null),(this[_0x30fa1a(0x185)]=_0x329684,this['_scene']=_0x5b1c59,this[_0x30fa1a(0x1cd)]=_0x450e83,this[_0x30fa1a(0x22a)]=_0x4c0307,this[_0x30fa1a(0x294)]());}set[_0x15f07d(0x39b)](_0x56fcef){const _0x19dc41=_0x15f07d;_0x56fcef?(this[_0x19dc41(0x376)]&&this[_0x19dc41(0x376)][_0x19dc41(0x27d)](),this[_0x19dc41(0x139)]&&this[_0x19dc41(0x139)]['show']()):(this['_anchorDot']&&this[_0x19dc41(0x376)][_0x19dc41(0x348)](),this[_0x19dc41(0x139)]&&this['_textBubble']['hide']());}[_0x15f07d(0x1c7)](){const _0xc85295=_0x15f07d;for(const _0x541c3e of this[_0xc85295(0x326)])_0x541c3e['dispose']();this['_textBubble']&&this['_textBubble'][_0xc85295(0x1c7)](),this[_0xc85295(0x376)]&&this['_anchorDot'][_0xc85295(0x1c7)](),this['_anchor']&&this[_0xc85295(0x3a9)][_0xc85295(0x1c7)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}['_render'](){const _0x32ea15=_0x15f07d;var _0x1043c7;const {_docSkeleton:_0x205b6b,_document:_0x50bdb1}=this,{color:_0x6359fd,name:_0x3bd6ee,ranges:_0x37469b}=this['_cursor'],_0x463996=_0x50bdb1[_0x32ea15(0x269)](),{docsLeft:_0x3f3a99,docsTop:_0x5eec1e}=_0x463996,_0x26cf71=new _0x599319[(_0x32ea15(0x210))](_0x463996,_0x205b6b);for(const {startOffset:_0x1adfbc,endOffset:_0x1371f3,rangeType:_0x829232,segmentId:_0x386667,segmentPage:_0x850c70,collapsed:_0x52feb0,isActive:_0xc19b37}of _0x37469b){const _0x5749f0=_0x205b6b[_0x32ea15(0x1a6)](_0x1adfbc,!0x0,_0x386667,_0x850c70);let _0x167f19=_0x205b6b[_0x32ea15(0x1a6)](_0x1371f3,!0x0,_0x386667,_0x850c70);if(_0x167f19==null&&(_0x167f19=_0x205b6b[_0x32ea15(0x1a6)](_0x1371f3-0x1,!0x1,_0x386667,_0x850c70)),_0xc19b37){const {contentBoxPointGroup:_0x42f718}=_0x26cf71['getRangePointData'](_0x167f19,_0x167f19);if(_0x42f718[_0x32ea15(0x138)]===0x0)continue;this['_drawAnchor'](_0x6359fd,_0x42f718,_0x3f3a99,_0x5eec1e,_0x3bd6ee),this[_0x32ea15(0x1ff)]=this[_0x32ea15(0x1c1)]();}if(_0x5749f0&&_0x167f19){if(_0x829232===_0x11f213[_0x32ea15(0x16a)][_0x32ea15(0x22e)]){const _0x3150ee=new _0x599319['NodePositionConvertToRectRange'](_0x463996,_0x205b6b),{pointGroup:_0x4e2497}=(_0x1043c7=_0x3150ee['getRangePointData'](_0x5749f0,_0x167f19))!=null?_0x1043c7:{};if(_0x4e2497==null||_0x4e2497['length']===0x0)continue;this[_0x32ea15(0x127)](_0x6359fd,_0x4e2497,_0x3f3a99,_0x5eec1e);}else{if(!_0x52feb0){const {borderBoxPointGroup:_0xb9d3a}=_0x26cf71[_0x32ea15(0x152)](_0x5749f0,_0x167f19);if(_0xb9d3a[_0x32ea15(0x138)]===0x0)continue;this['_drawTextRange'](_0x6359fd,_0xb9d3a,_0x3f3a99,_0x5eec1e);}}}}}[_0x15f07d(0x38f)](_0x2d6d94,_0x49d0ed,_0x2b0027,_0x39f82b,_0x390c8b){const _0xdd4229=_0x15f07d,_0x5dbe77=this[_0xdd4229(0x18b)](_0x49d0ed),{left:_0x190eb3,top:_0x275378,height:_0x392167}=_0x5dbe77,_0x1d755e=this[_0xdd4229(0x249)](),_0x269ca7=_0x510e72/_0x1d755e,_0x2be089=new _0x8c537b[(_0xdd4229(0x243))](_0x4d5829+_0x11f213[_0xdd4229(0x1f4)][_0xdd4229(0x35a)](_0x540885),{'left':_0x190eb3+_0x2b0027-_0x269ca7,'top':_0x275378+_0x39f82b,'height':_0x392167,'width':_0x388183,'fill':_0x2d6d94||_0x8c537b['getColor'](_0x11f213['COLORS']['black'],0x0),'strokeWidth':_0x269ca7,'stroke':_0x24b74c,'evented':!0x0});this[_0xdd4229(0x3a9)]=_0x2be089,this[_0xdd4229(0x1ca)]['addObject'](_0x2be089,_0x599319[_0xdd4229(0x1ee)]);const _0x4e432d=new _0x8c537b[(_0xdd4229(0x243))](_0x4d5829+_0x11f213[_0xdd4229(0x1f4)][_0xdd4229(0x35a)](_0x540885),{'left':_0x190eb3+_0x2b0027-_0x269ca7,'top':_0x275378+_0x39f82b-_0x551db8/0x2,'height':_0x551db8,'width':_0x551db8,'fill':_0x2d6d94||_0x8c537b[_0xdd4229(0x11f)](_0x11f213[_0xdd4229(0x3a2)][_0xdd4229(0x258)],0x0),'strokeWidth':0x0,'stroke':_0x2d6d94||_0x8c537b[_0xdd4229(0x11f)](_0x11f213['COLORS'][_0xdd4229(0x258)],0x0),'evented':!0x1});this[_0xdd4229(0x376)]=_0x4e432d,this[_0xdd4229(0x1ca)][_0xdd4229(0x2d9)](_0x4e432d,_0x599319['TEXT_RANGE_LAYER_INDEX']);const _0x34b48f=new _0xcb9538(_0x4d5829+_0x11f213[_0xdd4229(0x1f4)]['generateRandomId'](_0x540885),{'left':_0x190eb3+_0x2b0027-_0x269ca7,'top':_0x275378+_0x39f82b-_0x314929,'text':_0x390c8b,'color':_0x2d6d94});this[_0xdd4229(0x139)]=_0x34b48f,this[_0xdd4229(0x1ca)][_0xdd4229(0x2d9)](_0x34b48f,_0x599319[_0xdd4229(0x1ee)]),this[_0xdd4229(0x39b)]=!0x1;}[_0x15f07d(0x1c1)](){const _0x468ede=_0x15f07d,_0x599c15=this[_0x468ede(0x3a9)]['onPointerEnter$'][_0x468ede(0x1cf)](()=>{const _0x301a30=_0x468ede;this[_0x301a30(0x39b)]=!0x0;}),_0x36acd0=this[_0x468ede(0x3a9)][_0x468ede(0x390)][_0x468ede(0x1cf)](()=>{const _0x30a827=_0x468ede;this[_0x30a827(0x308)]&&clearTimeout(this[_0x30a827(0x308)]),this[_0x30a827(0x308)]=setTimeout(()=>{const _0xd5a077=_0x30a827;this[_0xd5a077(0x39b)]=!0x1;},0x7d0);});return()=>{const _0x3e8a2e=_0x468ede;_0x599c15[_0x3e8a2e(0x33a)](),_0x36acd0[_0x3e8a2e(0x33a)]();};}[_0x15f07d(0x396)](_0x2d9889,_0x216ff8,_0x580c75,_0x3b6d5c){const _0x1f3ad5=_0x15f07d,_0x3e032f=new _0x11f213[(_0x1f3ad5(0x325))](_0x2d9889)[_0x1f3ad5(0x27a)](0.2)[_0x1f3ad5(0x1e0)](),_0x472881=new _0x8c537b[(_0x1f3ad5(0x2db))](_0x3750be+_0x11f213[_0x1f3ad5(0x1f4)][_0x1f3ad5(0x35a)](_0x540885),{'pointsGroup':_0x216ff8,'fill':_0x3e032f||_0x8c537b['getColor'](_0x11f213[_0x1f3ad5(0x3a2)][_0x1f3ad5(0x258)],0.2),'left':_0x580c75,'top':_0x3b6d5c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1f3ad5(0x326)][_0x1f3ad5(0x330)](_0x472881),this[_0x1f3ad5(0x1ca)]['addObject'](_0x472881,_0x599319[_0x1f3ad5(0x1ee)]);}['_drawRectRange'](_0x206192,_0x211448,_0x5ecbbb,_0xff9471){const _0x28f2b3=_0x15f07d,_0x2ed1b7=new _0x11f213[(_0x28f2b3(0x325))](_0x206192)[_0x28f2b3(0x27a)](0.2)['toRgbString'](),_0x57fb74=new _0x8c537b['RegularPolygon'](_0x21286f+_0x11f213['Tools'][_0x28f2b3(0x35a)](_0x540885),{'pointsGroup':_0x211448,'fill':_0x2ed1b7||_0x8c537b[_0x28f2b3(0x11f)](_0x11f213['COLORS'][_0x28f2b3(0x258)],0.2),'left':_0x5ecbbb,'top':_0xff9471,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x28f2b3(0x326)][_0x28f2b3(0x330)](_0x57fb74),this[_0x28f2b3(0x1ca)][_0x28f2b3(0x2d9)](_0x57fb74,_0x599319[_0x28f2b3(0x1ee)]);}[_0x15f07d(0x18b)](_0x763dee){const _0x5717e6=_0x763dee[0x0],_0x44f2bf=_0x5717e6[0x0],_0xe1e828=_0x5717e6[0x2],{x:_0x4444c7,y:_0x25beed}=_0x44f2bf,{x:_0x470073,y:_0x2949d1}=_0xe1e828;return{'left':_0x4444c7,'top':_0x25beed,'width':_0x470073-_0x4444c7,'height':_0x2949d1-_0x25beed};}[_0x15f07d(0x249)](){const _0x19a003=_0x15f07d,{scaleX:_0x5dc1f1,scaleY:_0x19a1e4}=this['_scene']['getAncestorScale']();return Math[_0x19a003(0x2d4)](_0x5dc1f1,_0x19a1e4);}}var _0x2ea5d7=Object[_0x15f07d(0x144)],_0x381747=(_0x2e9e94,_0x162745,_0x3c2f1b,_0x2e085b)=>{const _0x22927e=_0x15f07d;for(var _0x439ab0=_0x2e085b>0x1?void 0x0:_0x2e085b?_0x2ea5d7(_0x162745,_0x3c2f1b):_0x162745,_0x4ca3f6=_0x2e9e94[_0x22927e(0x138)]-0x1,_0x75e196;_0x4ca3f6>=0x0;_0x4ca3f6--)(_0x75e196=_0x2e9e94[_0x4ca3f6])&&(_0x439ab0=_0x75e196(_0x439ab0)||_0x439ab0);return _0x439ab0;},_0x47fe24=(_0x314717,_0x113c38)=>(_0x5ca716,_0x427708)=>_0x113c38(_0x5ca716,_0x427708,_0x314717);let _0x513bec=class extends _0x11f213[_0x15f07d(0x1b2)]{constructor(_0x34186c,_0x2459de,_0x5b42d7,_0x111e22,_0x10cb00){const _0x4f0c3e=_0x15f07d;super(),_0x29a23d(this,_0x4f0c3e(0x36f),[]),_0x29a23d(this,_0x4f0c3e(0x21e),[]),(this['_context']=_0x34186c,this[_0x4f0c3e(0x154)]=_0x2459de,this[_0x4f0c3e(0x1d8)]=_0x5b42d7,this['_commandService']=_0x111e22,this['_themeService']=_0x10cb00,this['_init']());}[_0x15f07d(0x198)](){const _0x38d22c=_0x15f07d,_0x59fbce=this[_0x38d22c(0x2a0)]['unitId'],_0x3b80bb=this[_0x38d22c(0x154)];this[_0x38d22c(0x290)](_0x1eb5fd['combineLatest']([this[_0x38d22c(0x1d8)]['getCollabCursors$'](_0x59fbce),this[_0x38d22c(0x137)]['currentTheme$']])['pipe'](_0xddff01[_0x38d22c(0x296)](([_0x30cd3c,_0x23dd2d])=>({'skeleton':_0x3b80bb[_0x38d22c(0x2cb)](),'cursors':[..._0x30cd3c['values']()][_0x38d22c(0x1b0)](_0x2a4a5d=>({..._0x2a4a5d,'color':_0x23dd2d[_0x2a4a5d[_0x38d22c(0x14f)]]}))})))[_0x38d22c(0x1db)](_0x3cff73=>{const _0x15341a=_0x38d22c;if(this['_removeCollabCursors'](),_0x3cff73){const {skeleton:_0x2a5c1b,cursors:_0x17cb50}=_0x3cff73;this[_0x15341a(0x1a1)](_0x2a5c1b,_0x17cb50);}})),this['_initResize'](),this[_0x38d22c(0x142)]();}['_updateCollabCursors'](_0x100e0e,_0x2f48bd){const _0x524c54=_0x15f07d,{scene:_0x78dea5,mainComponent:_0xa4928a}=this[_0x524c54(0x2a0)],_0x594d61=_0x2f48bd[_0x524c54(0x296)](_0x3dcc0c=>new _0x2e315e(_0x3dcc0c,_0x78dea5,_0x100e0e,_0xa4928a));this[_0x524c54(0x36f)]=_0x594d61,this[_0x524c54(0x21e)]=_0x2f48bd;}[_0x15f07d(0x17e)](){const _0x373d21=_0x15f07d;this[_0x373d21(0x196)]();const {scene:_0xbeb201,mainComponent:_0xc2daeb}=this['_context'],_0x47586c=this[_0x373d21(0x154)][_0x373d21(0x2cb)](),_0x3ec68a=this[_0x373d21(0x21e)][_0x373d21(0x296)](_0x35879d=>new _0x2e315e(_0x35879d,_0xbeb201,_0x47586c,_0xc2daeb));this[_0x373d21(0x36f)]=_0x3ec68a;}[_0x15f07d(0x196)](){const _0x406090=_0x15f07d;this['_cursorShapes'][_0x406090(0x2c4)](_0x54cea7=>_0x54cea7[_0x406090(0x1c7)]()),this[_0x406090(0x36f)]=[];}['_initCommandExecutedListener'](){const _0x5e722e=_0x15f07d,_0x1ffffe=[_0x599319['SetDocZoomRatioOperation']['id']];this[_0x5e722e(0x290)](this['_commandService'][_0x5e722e(0x337)](_0x2a0783=>{const _0x1e2d46=_0x5e722e;_0x1ffffe[_0x1e2d46(0x292)](_0x2a0783['id'])&&_0x2a0783[_0x1e2d46(0x1e4)][_0x1e2d46(0x350)]===this[_0x1e2d46(0x2a0)][_0x1e2d46(0x350)]&&this[_0x1e2d46(0x17e)]();}));}[_0x15f07d(0x264)](){const _0x11867e=_0x15f07d;this['disposeWithMe'](_0x11f213['fromEventSubject'](this[_0x11867e(0x2a0)][_0x11867e(0x245)]['onTransformChange$'])[_0x11867e(0x181)](_0xddff01[_0x11867e(0x382)](_0x17b04f=>_0x17b04f[_0x11867e(0x136)]===_0x8c537b[_0x11867e(0x220)][_0x11867e(0x36b)]),_0xddff01['throttleTime'](0x10))[_0x11867e(0x1db)](()=>{const _0x1a11b1=_0x11867e;this[_0x1a11b1(0x17e)]();}));}};_0x513bec=_0x381747([_0x47fe24(0x1,_0x11f213['Inject'](_0x228de8[_0x15f07d(0x2fe)])),_0x47fe24(0x2,_0x11f213[_0x15f07d(0x223)](_0x5a3689)),_0x47fe24(0x3,_0x11f213[_0x15f07d(0x335)]),_0x47fe24(0x4,_0x11f213[_0x15f07d(0x223)](_0x11f213['ThemeService']))],_0x513bec);const _0x38bf8b=0x1,_0x131cb0=1.5;class _0x4cc5c6 extends _0x8c537b['Shape']{constructor(_0x5ed7b6,_0x2758c7){const _0x191591=_0x15f07d;super(_0x5ed7b6,_0x2758c7),_0x29a23d(this,_0x191591(0x24e)),_0x29a23d(this,'_hovered',!0x1),_0x29a23d(this,'_range'),_0x29a23d(this,_0x191591(0x232),''),_0x29a23d(this,'_labelPosition',_0x191591(0x26a)),_0x29a23d(this,'_backgroundColor'),(_0x2758c7&&this[_0x191591(0x1ae)](_0x2758c7),this[_0x191591(0x1b9)][_0x191591(0x1cf)](()=>this[_0x191591(0x1ae)]({'hovered':!0x0})),this[_0x191591(0x390)][_0x191591(0x1cf)](()=>this[_0x191591(0x1ae)]({'hovered':!0x1})));}['setShapeProps'](_0x3492fb){const _0x46246b=_0x15f07d;var _0x3e9280,_0x4a04df,_0x1d2618,_0x2758f1,_0x35e267,_0x5e2911;this['_color']=(_0x3e9280=_0x3492fb[_0x46246b(0x14f)])!=null?_0x3e9280:this[_0x46246b(0x24e)],this[_0x46246b(0x283)]=(_0x4a04df=_0x3492fb[_0x46246b(0x338)])!=null?_0x4a04df:this[_0x46246b(0x283)],this[_0x46246b(0x1a7)]=(_0x1d2618=_0x3492fb['range'])!=null?_0x1d2618:this[_0x46246b(0x1a7)],this[_0x46246b(0x232)]=(_0x2758f1=_0x3492fb[_0x46246b(0x2a6)])!=null?_0x2758f1:this['_name'],this['_labelPosition']=(_0x35e267=_0x3492fb['labelPosition'])!=null?_0x35e267:this[_0x46246b(0x37b)],this[_0x46246b(0x1f6)]=(_0x5e2911=_0x3492fb['backgroundColor'])!=null?_0x5e2911:this[_0x46246b(0x1f6)],this[_0x46246b(0x240)]({'width':_0x3492fb[_0x46246b(0x26d)],'height':_0x3492fb[_0x46246b(0x372)]});}['onMouseMove'](_0x157539){const _0x145f3d=_0x15f07d,{row:_0xe98aeb,column:_0x5283bb}=_0x157539;if(_0xe98aeb>=this[_0x145f3d(0x1a7)][_0x145f3d(0x307)]&&_0xe98aeb<=this[_0x145f3d(0x1a7)]['endRow']&&_0x5283bb>=this[_0x145f3d(0x1a7)][_0x145f3d(0x15e)]&&_0x5283bb<=this[_0x145f3d(0x1a7)][_0x145f3d(0x35e)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x15f07d(0x131)](_0x16c143){return!0x1;}[_0x15f07d(0x35d)](_0x5423cf){const _0x169f97=_0x15f07d;_0x8c537b[_0x169f97(0x243)][_0x169f97(0x1de)](_0x5423cf,{'width':this[_0x169f97(0x26d)],'height':this[_0x169f97(0x372)],'strokeWidth':_0x131cb0,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x169f97(0x1f6)]}),this['_hovered']&&(_0x5423cf[_0x169f97(0x126)](),_0x5423cf[_0x169f97(0x22c)](0x1,0x0,0x0,0x1,this[_0x169f97(0x26d)],this[_0x169f97(0x37b)]===_0x169f97(0x1d3)?0x0:-0x14),_0xcb9538[_0x169f97(0x1de)](_0x5423cf,{'text':this[_0x169f97(0x232)],'color':this[_0x169f97(0x24e)]}),_0x5423cf[_0x169f97(0x2ac)]());}}var _0x54d82c=Object[_0x15f07d(0x144)],_0x61c608=(_0x221f68,_0x22e25f,_0xbb0485,_0x516024)=>{for(var _0x3a7a52=_0x516024>0x1?void 0x0:_0x516024?_0x54d82c(_0x22e25f,_0xbb0485):_0x22e25f,_0xc4da27=_0x221f68['length']-0x1,_0x3659f3;_0xc4da27>=0x0;_0xc4da27--)(_0x3659f3=_0x221f68[_0xc4da27])&&(_0x3a7a52=_0x3659f3(_0x3a7a52)||_0x3a7a52);return _0x3a7a52;},_0x10e9ac=(_0x19413d,_0x19ee05)=>(_0x501fd9,_0x181efd)=>_0x19ee05(_0x501fd9,_0x181efd,_0x19413d);const _0x3f7be8=0x1389;let _0x4796ef=class extends _0x11f213[_0x15f07d(0x1b2)]{constructor(_0x387e14,_0x2e0332,_0x13aa52,_0xdfddf9){const _0x18392e=_0x15f07d;super(),_0x29a23d(this,_0x18392e(0x21e),new Set()),_0x29a23d(this,_0x18392e(0x32a),null),(this[_0x18392e(0x2a0)]=_0x387e14,this['_sheetSkeletonManagerService']=_0x2e0332,this[_0x18392e(0x1d8)]=_0x13aa52,this[_0x18392e(0x137)]=_0xdfddf9,this[_0x18392e(0x198)]());}['_init'](){const _0x536d16=_0x15f07d;this[_0x536d16(0x25a)][_0x536d16(0x2f5)][_0x536d16(0x181)](_0xddff01[_0x536d16(0x16b)](this[_0x536d16(0x187)]),_0xddff01['switchMap'](_0x388ca5=>{const _0xe56fac=_0x536d16;if(_0x388ca5){const _0x7eb121=_0x388ca5[_0xe56fac(0x159)];return _0x1eb5fd[_0xe56fac(0x125)](this['_collabCursorController'][_0xe56fac(0x36d)](this['_context'][_0xe56fac(0x350)]),this[_0xe56fac(0x137)]['currentTheme$'])['pipe'](_0xddff01['map'](([_0x37d50f,_0x22f60a])=>{const _0x55ebd8=new Map();return _0x37d50f['forEach']((_0x54875c,_0x1fb9bc)=>{const _0x35a835=_0x580e;if(_0x54875c[_0x35a835(0x317)]===_0x7eb121){const _0x466397={..._0x54875c};_0x466397[_0x35a835(0x14f)]=_0x22f60a[_0x54875c[_0x35a835(0x14f)]],_0x55ebd8[_0x35a835(0x23c)](_0x1fb9bc,_0x466397);}}),{'skeleton':_0x388ca5,'cursors':_0x55ebd8};}));}return _0x1eb5fd['of']({'skeleton':null,'cursors':new Map()});}))[_0x536d16(0x1db)](({skeleton:_0x35f79b,cursors:_0x2f72e7})=>{const _0xe4099e=_0x536d16;this['_removeCollabCursors'](),_0x35f79b&&this[_0xe4099e(0x1a1)](_0x35f79b,_0x2f72e7);}),this['_sheetSkeletonManagerService'][_0x536d16(0x2f5)]['subscribe'](_0x531ff6=>{const _0x1602fb=_0x536d16;if(_0x531ff6==null)return;const {skeleton:_0x56003f}=_0x531ff6,{scene:_0x1a6167}=this[_0x1602fb(0x2a0)];_0x1a6167[_0x1602fb(0x1f3)][_0x1602fb(0x1cf)](_0x11f213[_0x1602fb(0x38d)](_0x879bda=>{const _0x146de0=_0x1602fb;var _0x358420,_0x261414;const {offsetX:_0x319f3c,offsetY:_0x2ed5af}=_0x879bda,{x:_0x585c4c,y:_0x52b1ca}=_0x1a6167[_0x146de0(0x1ec)](_0x8c537b[_0x146de0(0x156)][_0x146de0(0x2c6)]([_0x319f3c,_0x2ed5af])),{scaleX:_0x1bd219,scaleY:_0x8fdbb6}=_0x1a6167['getAncestorScale'](),_0x34dd15=_0x1a6167[_0x146de0(0x34c)](_0x8c537b[_0x146de0(0x3af)]['VIEW_MAIN']),_0x239de5=_0x1a6167[_0x146de0(0x1e9)](_0x8c537b[_0x146de0(0x156)][_0x146de0(0x2c6)]([_0x585c4c,_0x52b1ca]),_0x34dd15),_0xfba604=_0x56003f[_0x146de0(0x1a3)](_0x319f3c,_0x2ed5af,_0x1bd219,_0x8fdbb6,_0x239de5);((_0x358420=this['_lastPointer'])==null?void 0x0:_0x358420[_0x146de0(0x2dd)])===_0xfba604['column']&&((_0x261414=this[_0x146de0(0x32a)])==null?void 0x0:_0x261414[_0x146de0(0x1c0)])===_0xfba604[_0x146de0(0x1c0)]||this[_0x146de0(0x21e)][_0x146de0(0x2c4)](_0x4ade8e=>{const _0x561b38=_0x146de0;_0x4ade8e[_0x561b38(0x397)](_0xfba604);});},0x64));});}[_0x15f07d(0x1a1)](_0x453013,_0x42af15){const _0xdf842c=_0x15f07d;var _0x141712;const _0x604194=(_0x141712=this[_0xdf842c(0x25a)][_0xdf842c(0x2f0)]())==null?void 0x0:_0x141712[_0xdf842c(0x11c)];if(!_0x604194)return;const _0x5a353b=this[_0xdf842c(0x195)]();if(!_0x5a353b)return;this[_0xdf842c(0x21e)][_0xdf842c(0x2c4)](_0x3feae0=>{const _0x4272ac=_0xdf842c;_0x3feae0[_0x4272ac(0x374)]();});const {scene:_0x236fa2}=_0x5a353b,_0x1fe9eb=_0x2df238(Array[_0xdf842c(0x28a)](_0x42af15[_0xdf842c(0x352)]()))[_0xdf842c(0x296)](_0x188677=>{const _0x3412e9=_0xdf842c,{color:_0x13d322,range:_0x489ed,name:_0x32b99f,selection:_0x5450ad,sheetID:_0x29840e}=_0x188677,{startColumn:_0x39c0c1,startRow:_0x200694,endColumn:_0x266575,endRow:_0x542a7a}=_0x489ed,_0x127d41=_0x5cb6cd[_0x3412e9(0x1b4)](_0x200694,_0x39c0c1,_0x236fa2,_0x604194),_0x429370=_0x5cb6cd[_0x3412e9(0x1b4)](_0x542a7a,_0x266575,_0x236fa2,_0x604194),{columnHeaderHeightAndMarginTop:_0x1a7972}=_0x604194,{startX:_0x54c358,startY:_0x35ac37}=_0x127d41,{endX:_0x39f25d,endY:_0x1df9ce}=_0x429370,_0x5e85b2=_0x39f25d-_0x54c358,_0x2c9a0a=_0x1df9ce-_0x35ac37,_0x2b8e00={'labelPosition':_0x35ac37-_0x1a7972>=_0x314929?'top':_0x3412e9(0x1d3),'sheetID':_0x29840e,'range':_0x489ed,'color':_0x13d322,'name':_0x32b99f,'selection':_0x5450ad,'left':_0x54c358,'top':_0x35ac37,'width':_0x5e85b2,'height':_0x2c9a0a,'evented':!0x1,'zIndex':_0x3f7be8};return new _0x4cc5c6(_0x32b99f,_0x2b8e00);});_0x236fa2[_0xdf842c(0x164)](_0x1fe9eb,_0x38bf8b),this[_0xdf842c(0x21e)]=new Set(_0x1fe9eb);}[_0x15f07d(0x196)](){const _0x1d3607=_0x15f07d;var _0x3a2800;(_0x3a2800=this[_0x1d3607(0x21e)])==null||_0x3a2800[_0x1d3607(0x2c4)](_0x369522=>_0x369522[_0x1d3607(0x1c7)]());}['_getSheetObject'](){const _0x2f37f3=_0x15f07d;return _0x5cb6cd['getSheetObject'](this[_0x2f37f3(0x2a0)][_0x2f37f3(0x1dc)],this['_context']);}};_0x4796ef=_0x61c608([_0x10e9ac(0x1,_0x11f213[_0x15f07d(0x223)](_0x5cb6cd[_0x15f07d(0x2ee)])),_0x10e9ac(0x2,_0x11f213[_0x15f07d(0x223)](_0x5a3689)),_0x10e9ac(0x3,_0x11f213['Inject'](_0x11f213['ThemeService']))],_0x4796ef);function _0x2df238(_0x4e05a2){const _0x4a3a39=_0x15f07d,_0x78a6f1=new Map();return _0x4e05a2[_0x4a3a39(0x2c4)](_0x485ffb=>{const _0x25ac11=_0x4a3a39;if(_0x78a6f1[_0x25ac11(0x221)](_0x485ffb[_0x25ac11(0x273)])){const _0xb0a45e=_0x78a6f1[_0x25ac11(0x300)](_0x485ffb[_0x25ac11(0x273)]);_0xb0a45e[_0x25ac11(0x2a6)]+=',\x20'+_0x485ffb['name'];}else _0x78a6f1[_0x25ac11(0x23c)](_0x485ffb[_0x25ac11(0x273)],_0x485ffb);}),Array['from'](_0x78a6f1[_0x4a3a39(0x352)]());}var _0x2a027e=function(){const _0x1ed364=_0x15f07d;return _0x2a027e=Object['assign']||function(_0x438aa3){const _0x4930f0=_0x580e;for(var _0x283326,_0x4546a9=0x1,_0xe496e7=arguments['length'];_0x4546a9<_0xe496e7;_0x4546a9++){_0x283326=arguments[_0x4546a9];for(var _0x12aeba in _0x283326)Object[_0x4930f0(0x251)][_0x4930f0(0x2e8)][_0x4930f0(0x18f)](_0x283326,_0x12aeba)&&(_0x438aa3[_0x12aeba]=_0x283326[_0x12aeba]);}return _0x438aa3;},_0x2a027e[_0x1ed364(0x2a3)](this,arguments);},_0x56eeb2=function(_0x3e5907,_0x4f6c07){const _0x5397cc=_0x15f07d;var _0x2d219f={};for(var _0x1ff4f5 in _0x3e5907)Object[_0x5397cc(0x251)][_0x5397cc(0x2e8)][_0x5397cc(0x18f)](_0x3e5907,_0x1ff4f5)&&_0x4f6c07[_0x5397cc(0x261)](_0x1ff4f5)<0x0&&(_0x2d219f[_0x1ff4f5]=_0x3e5907[_0x1ff4f5]);if(_0x3e5907!=null&&typeof Object[_0x5397cc(0x171)]==_0x5397cc(0x160)){for(var _0x1bb1f5=0x0,_0x1ff4f5=Object[_0x5397cc(0x171)](_0x3e5907);_0x1bb1f5<_0x1ff4f5[_0x5397cc(0x138)];_0x1bb1f5++)_0x4f6c07['indexOf'](_0x1ff4f5[_0x1bb1f5])<0x0&&Object['prototype'][_0x5397cc(0x134)][_0x5397cc(0x18f)](_0x3e5907,_0x1ff4f5[_0x1bb1f5])&&(_0x2d219f[_0x1ff4f5[_0x1bb1f5]]=_0x3e5907[_0x1ff4f5[_0x1bb1f5]]);}return _0x2d219f;},_0x9e3b71=_0x27d1ba[_0x15f07d(0x287)](function(_0x18d820,_0x1ff0cc){const _0x412cea=_0x15f07d;var _0x3ef69d=_0x18d820['icon'],_0x257eed=_0x18d820['id'],_0x328265=_0x18d820['className'],_0xa91c33=_0x18d820[_0x412cea(0x351)],_0x319e9a=_0x56eeb2(_0x18d820,[_0x412cea(0x1e7),'id','className','extend']),_0x1a3843='univerjs-icon\x20univerjs-icon-'[_0x412cea(0x310)](_0x257eed,'\x20')[_0x412cea(0x310)](_0x328265||'')[_0x412cea(0x209)](),_0x422d79=_0x27d1ba[_0x412cea(0x128)]('_'['concat'](_0x4166a3()));return _0xf9e7f6(_0x3ef69d,''[_0x412cea(0x310)](_0x257eed),{'defIds':_0x3ef69d[_0x412cea(0x21a)],'idSuffix':_0x422d79[_0x412cea(0x231)]},_0x2a027e({'ref':_0x1ff0cc,'className':_0x1a3843},_0x319e9a),_0xa91c33);});function _0xf9e7f6(_0x188822,_0x1a2d11,_0x48b16b,_0x1d0067,_0x118440){const _0xc14282=_0x15f07d;return _0x27d1ba[_0xc14282(0x1dd)](_0x188822[_0xc14282(0x268)],_0x2a027e(_0x2a027e({'key':_0x1a2d11},_0x29a009(_0x188822,_0x48b16b,_0x118440)),_0x1d0067),(_0x532cab(_0x188822,_0x48b16b)[_0xc14282(0x3a7)]||[])[_0xc14282(0x296)](function(_0x1d17af,_0x25e9d0){const _0x31f5e0=_0xc14282;return _0xf9e7f6(_0x1d17af,''[_0x31f5e0(0x310)](_0x1a2d11,'-')['concat'](_0x188822[_0x31f5e0(0x268)],'-')[_0x31f5e0(0x310)](_0x25e9d0),_0x48b16b,void 0x0,_0x118440);}));}function _0x29a009(_0x354252,_0x1837bd,_0x265d08){const _0x40d561=_0x15f07d;var _0x3c25cc=_0x2a027e({},_0x354252[_0x40d561(0x1b5)]);_0x265d08!=null&&_0x265d08[_0x40d561(0x333)]&&_0x3c25cc[_0x40d561(0x1c3)]==='colorChannel1'&&(_0x3c25cc[_0x40d561(0x1c3)]=_0x265d08[_0x40d561(0x333)]),_0x354252['tag']===_0x40d561(0x343)&&_0x3c25cc['id']&&(_0x3c25cc['id']=_0x3c25cc['id']+_0x1837bd['idSuffix']),Object[_0x40d561(0x29a)](_0x3c25cc)[_0x40d561(0x2c4)](function(_0x5100f6){const _0x396feb=_0x40d561;var _0x190eaa=_0x5100f6[0x0],_0x53f999=_0x5100f6[0x1];_0x190eaa==='mask'&&typeof _0x53f999=='string'&&(_0x3c25cc[_0x190eaa]=_0x53f999['replace'](/url\(#(.*)\)/,_0x396feb(0x2ad)['concat'](_0x1837bd[_0x396feb(0x14c)],')')));});var _0xdfca2=_0x1837bd[_0x40d561(0x21a)];return!_0xdfca2||_0xdfca2[_0x40d561(0x138)]===0x0||(_0x354252['tag']===_0x40d561(0x285)&&_0x3c25cc[_0x40d561(0x272)]&&(_0x3c25cc[_0x40d561(0x272)]=_0x3c25cc[_0x40d561(0x272)]+_0x1837bd[_0x40d561(0x14c)]),Object[_0x40d561(0x29a)](_0x3c25cc)['forEach'](function(_0x21644d){const _0x31bd7b=_0x40d561;var _0x5b57ee=_0x21644d[0x0],_0x2709db=_0x21644d[0x1];typeof _0x2709db==_0x31bd7b(0x129)&&(_0x3c25cc[_0x5b57ee]=_0x2709db[_0x31bd7b(0x36e)](/url\(#(.*)\)/,'url(#$1'[_0x31bd7b(0x310)](_0x1837bd['idSuffix'],')')));})),_0x3c25cc;}function _0x532cab(_0x5112bc,_0x5314af){const _0x32eedb=_0x15f07d;var _0x2f23b4,_0x536b82=_0x5314af[_0x32eedb(0x21a)];return!_0x536b82||_0x536b82['length']===0x0?_0x5112bc:_0x5112bc[_0x32eedb(0x268)]===_0x32eedb(0x1ef)&&(!((_0x2f23b4=_0x5112bc[_0x32eedb(0x3a7)])===null||_0x2f23b4===void 0x0)&&_0x2f23b4[_0x32eedb(0x138)])?_0x2a027e(_0x2a027e({},_0x5112bc),{'children':_0x5112bc[_0x32eedb(0x3a7)][_0x32eedb(0x296)](function(_0x37322a){const _0x1a8670=_0x32eedb;return typeof _0x37322a[_0x1a8670(0x1b5)]['id']==_0x1a8670(0x129)&&_0x536b82&&_0x536b82[_0x1a8670(0x261)](_0x37322a[_0x1a8670(0x1b5)]['id'])>-0x1?_0x2a027e(_0x2a027e({},_0x37322a),{'attrs':_0x2a027e(_0x2a027e({},_0x37322a[_0x1a8670(0x1b5)]),{'id':_0x37322a[_0x1a8670(0x1b5)]['id']+_0x5314af[_0x1a8670(0x14c)]})}):_0x37322a;})}):_0x5112bc;}function _0x4166a3(){const _0x4c9d9e=_0x15f07d;return Math[_0x4c9d9e(0x157)]()[_0x4c9d9e(0x34b)](0x24)[_0x4c9d9e(0x29e)](0x2,0x8);}_0x9e3b71['displayName']='UniverIcon';var _0x4e6b2f={'tag':_0x15f07d(0x1b7),'attrs':{'fill':_0x15f07d(0x200),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x15f07d(0x228)},'children':[{'tag':'g','attrs':{'clipPath':_0x15f07d(0x197)},'children':[{'tag':_0x15f07d(0x2cc),'attrs':{'stroke':_0x15f07d(0x386),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0x15f07d(0x25b),'strokeWidth':1.2}}]},{'tag':_0x15f07d(0x1ef),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x15f07d(0x262)},'children':[{'tag':'path','attrs':{'fill':_0x15f07d(0x26f),'d':_0x15f07d(0x2d7)}}]}]}],'defIds':[_0x15f07d(0x262)]},_0x1c1613=_0x27d1ba['forwardRef'](function(_0x29f3f1,_0x2669e1){const _0x4c06d3=_0x15f07d;return _0x27d1ba[_0x4c06d3(0x1dd)](_0x9e3b71,Object[_0x4c06d3(0x140)]({},_0x29f3f1,{'id':_0x4c06d3(0x12b),'ref':_0x2669e1,'icon':_0x4e6b2f}));});_0x1c1613[_0x15f07d(0x13f)]=_0x15f07d(0x252);var _0x3c2d56={'tag':_0x15f07d(0x1b7),'attrs':{'fill':'none','viewBox':_0x15f07d(0x2d8),'width':_0x15f07d(0x228),'height':_0x15f07d(0x228)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x15f07d(0x2cc),'attrs':{'stroke':_0x15f07d(0x386),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':_0x15f07d(0x25b),'strokeWidth':1.2}}]},{'tag':_0x15f07d(0x1ef),'attrs':{},'children':[{'tag':_0x15f07d(0x30a),'attrs':{'id':_0x15f07d(0x360)},'children':[{'tag':_0x15f07d(0x2cc),'attrs':{'fill':_0x15f07d(0x26f),'d':_0x15f07d(0x2d7),'transform':_0x15f07d(0x304)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x4858bc=_0x27d1ba[_0x15f07d(0x287)](function(_0x86925e,_0x510b59){const _0x242ead=_0x15f07d;return _0x27d1ba[_0x242ead(0x1dd)](_0x9e3b71,Object[_0x242ead(0x140)]({},_0x86925e,{'id':_0x242ead(0x1ea),'ref':_0x510b59,'icon':_0x3c2d56}));});_0x4858bc['displayName']=_0x15f07d(0x226);const _0x15ba98={'onlineStatusIcon':_0x15f07d(0x3a6),'onlineStatusTitle':_0x15f07d(0x31a),'onlineStatus':'univer-online-status','online':'univer-online','offline':_0x15f07d(0x2b7)};function _0x30a27e(_0x495ce3){const _0x31bf78=_0x15f07d;switch(_0x495ce3){case _0xbdea02[_0x31bf78(0x35c)]['OFFLINE']:return _0x31bf78(0x2c1);case _0xbdea02[_0x31bf78(0x35c)][_0x31bf78(0x205)]:return _0x31bf78(0x275);case _0xbdea02[_0x31bf78(0x35c)][_0x31bf78(0x391)]:return _0x31bf78(0x16c);case _0xbdea02[_0x31bf78(0x35c)][_0x31bf78(0x2b9)]:return _0x31bf78(0x19c);case _0xbdea02[_0x31bf78(0x35c)][_0x31bf78(0x36a)]:case _0xbdea02[_0x31bf78(0x35c)][_0x31bf78(0x12f)]:return _0x31bf78(0x321);case _0xbdea02[_0x31bf78(0x35c)][_0x31bf78(0x1b6)]:case _0xbdea02[_0x31bf78(0x35c)][_0x31bf78(0x11e)]:return _0x31bf78(0x3a4);}}function _0x5ea2d8(_0x52959b){const _0x5ca5ce=_0x15f07d,{status$:_0x382f3e}=_0x52959b,_0x24d87c=_0x2d0743['useObservable'](_0x382f3e,_0xbdea02[_0x5ca5ce(0x35c)][_0x5ca5ce(0x2b9)]),_0x3d06a9=_0x2d0743[_0x5ca5ce(0x334)](_0x11f213['LocaleService']),_0x31f16e=_0x2d0743['useDependency'](_0xbdea02[_0x5ca5ce(0x278)]),_0x779711=_0x24d87c!==_0xbdea02['CollaborationStatus']['OFFLINE'],_0x2c5b53=_0x3d06a9['t'](_0x30a27e(_0x24d87c)),_0x543a90=_0x5628b5[_0x5ca5ce(0x2f7)](_0x15ba98[_0x5ca5ce(0x1a2)],{[_0x15ba98['online']]:_0x779711,[_0x15ba98[_0x5ca5ce(0x2e4)]]:!_0x779711}),_0x2420cd=_0x779711?_0x20b87c[_0x5ca5ce(0x18d)](_0x4858bc,{}):_0x20b87c['jsx'](_0x1c1613,{}),_0x582c6d=_0x27d1ba[_0x5ca5ce(0x173)](()=>{_0x779711||_0x31f16e['reconnect']();},[_0x779711,_0x31f16e]);function _0x356b7b(){const _0x446376=_0x5ca5ce;return _0x20b87c[_0x446376(0x31c)]('div',{'className':_0x5628b5['clsx'](_0x543a90,'univer-flex\x20univer-items-center'),'onClick':_0x582c6d,'children':[_0x20b87c['jsx'](_0x446376(0x327),{'className':_0x15ba98[_0x446376(0x172)],'children':_0x2420cd}),_0x20b87c[_0x446376(0x18d)]('div',{'className':_0x15ba98['onlineStatusTitle'],'children':_0x2c5b53})]});}return _0x779711?_0x356b7b():_0x20b87c['jsx'](_0x5628b5[_0x5ca5ce(0x37a)],{'title':_0x3d06a9['t'](_0x5ca5ce(0x2a4)),'children':_0x356b7b()});}var _0x21f570=Object[_0x15f07d(0x144)],_0x217496=(_0x4b474d,_0x35885f,_0x1f99f1,_0x5565b1)=>{for(var _0x3bf2b4=_0x5565b1>0x1?void 0x0:_0x5565b1?_0x21f570(_0x35885f,_0x1f99f1):_0x35885f,_0x574958=_0x4b474d['length']-0x1,_0x31ab79;_0x574958>=0x0;_0x574958--)(_0x31ab79=_0x4b474d[_0x574958])&&(_0x3bf2b4=_0x31ab79(_0x3bf2b4)||_0x3bf2b4);return _0x3bf2b4;},_0x26450d=(_0x56bf41,_0xf72323)=>(_0x244d7a,_0x16af2b)=>_0xf72323(_0x244d7a,_0x16af2b,_0x56bf41);_0x32b57d[_0x15f07d(0x224)]=class extends _0x11f213['Disposable']{constructor(_0x26d56b,_0x475702,_0x4d1c34,_0x4bab28){const _0x515bd7=_0x15f07d;super(),_0x29a23d(this,_0x515bd7(0x293),new _0x1eb5fd[(_0x515bd7(0x266))](_0xbdea02['CollaborationStatus'][_0x515bd7(0x2b9)])),(this[_0x515bd7(0x2b2)]=_0x26d56b,this[_0x515bd7(0x1be)]=_0x475702,this[_0x515bd7(0x260)]=_0x4d1c34,this[_0x515bd7(0x1b3)]=_0x4bab28,this[_0x515bd7(0x363)](),this[_0x515bd7(0x33b)]());}[_0x15f07d(0x33b)](){const _0x54b5ba=_0x15f07d;this[_0x54b5ba(0x290)](this[_0x54b5ba(0x2b2)]['focused$'][_0x54b5ba(0x181)](_0x1eb5fd['switchMap'](()=>{const _0x27ba70=_0x54b5ba,_0x1b4d4f=this['_univerInstanceService'][_0x27ba70(0x373)]();return _0x1b4d4f?this['_collaborationController']['getCollabEntity$'](_0x1b4d4f['getUnitId']()):_0x1eb5fd['of'](null);}),_0x1eb5fd[_0x54b5ba(0x369)](_0x13bbe7=>_0x13bbe7?_0x13bbe7[_0x54b5ba(0x21c)]:_0x1eb5fd['of'](_0xbdea02['CollaborationStatus'][_0x54b5ba(0x2b9)])))[_0x54b5ba(0x1db)](_0x4a33db=>{const _0x422858=_0x54b5ba;this[_0x422858(0x293)][_0x422858(0x379)](_0x4a33db);}));}[_0x15f07d(0x363)](){const _0x1bfae6=_0x15f07d;this[_0x1bfae6(0x290)](this[_0x1bfae6(0x1b3)]['registerComponent'](_0x2d0743[_0x1bfae6(0x238)][_0x1bfae6(0x33e)],()=>_0x2d0743['connectInjector'](_0x30077b({'status$':this[_0x1bfae6(0x293)]['asObservable']()}),this[_0x1bfae6(0x1be)])));}},_0x32b57d['DesktopCollaborationStatusDisplayController']=_0x217496([_0x26450d(0x0,_0x11f213[_0x15f07d(0x1e1)]),_0x26450d(0x1,_0x11f213[_0x15f07d(0x223)](_0x11f213['Injector'])),_0x26450d(0x2,_0x11f213[_0x15f07d(0x223)](_0xbdea02['CollaborationController'])),_0x26450d(0x3,_0x2d0743['IUIPartsService'])],_0x32b57d[_0x15f07d(0x224)]);function _0x30077b(_0x56c62b){const {status$:_0x139cf0}=_0x56c62b;return function(){const _0xd36e82=_0x580e;return _0x20b87c[_0xd36e82(0x18d)](_0x5ea2d8,{'status$':_0x139cf0});};}var _0x2f2a4a=Object['getOwnPropertyDescriptor'],_0x3cbefa=(_0x72d491,_0x42a471,_0x5d6919,_0x53a1e6)=>{const _0x256def=_0x15f07d;for(var _0xc33d27=_0x53a1e6>0x1?void 0x0:_0x53a1e6?_0x2f2a4a(_0x42a471,_0x5d6919):_0x42a471,_0x5155c3=_0x72d491[_0x256def(0x138)]-0x1,_0x302474;_0x5155c3>=0x0;_0x5155c3--)(_0x302474=_0x72d491[_0x5155c3])&&(_0xc33d27=_0x302474(_0xc33d27)||_0xc33d27);return _0xc33d27;},_0x160fea=(_0x44927d,_0x416e0e)=>(_0x5b4e31,_0x2bfdc7)=>_0x416e0e(_0x5b4e31,_0x2bfdc7,_0x44927d);let _0x54e6e3=class extends _0x11f213[_0x15f07d(0x35f)]{constructor(_0x214baf,_0x1b6569,_0x4f68a7,_0x2baeff,_0x347b52,_0x59e536){const _0x2d1544=_0x15f07d;super(),this['_beforeCloseService']=_0x214baf,this['_localCacheService']=_0x1b6569,this[_0x2d1544(0x146)]=_0x4f68a7,this['_messageService']=_0x2baeff,this[_0x2d1544(0x255)]=_0x347b52,this[_0x2d1544(0x1a4)]=_0x59e536,this['_setupBeforeClosingHandler'](),this[_0x2d1544(0x2f9)]();}[_0x15f07d(0x2b3)](){const _0x5c0062=_0x15f07d;this[_0x5c0062(0x290)](this['_beforeCloseService'][_0x5c0062(0x19d)](()=>{const _0x829e7b=_0x5c0062;if(this[_0x829e7b(0x24f)][_0x829e7b(0x182)][_0x829e7b(0x176)])return this[_0x829e7b(0x1a4)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x15f07d(0x2f9)](){const _0x594a19=_0x15f07d;this[_0x594a19(0x290)](this['_collaborationUIEventService']['event$']['subscribe'](_0x3bd62e=>{const _0x4f8aa2=_0x594a19;_0x3bd62e['id']===_0xbdea02[_0x4f8aa2(0x398)][_0x4f8aa2(0x312)]&&this[_0x4f8aa2(0x295)]['show']({'type':_0x5628b5[_0x4f8aa2(0x28d)]['Warning'],'content':this[_0x4f8aa2(0x1a4)]['t'](_0x4f8aa2(0x291))}),_0x3bd62e['id']===_0xbdea02['CollaborationUIEventId'][_0x4f8aa2(0x1e2)]&&this['_messageService']['show']({'type':_0x5628b5[_0x4f8aa2(0x28d)][_0x4f8aa2(0x14d)],'content':this[_0x4f8aa2(0x1a4)]['t'](_0x4f8aa2(0x1c2))}),_0x3bd62e['id']===_0xbdea02['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x4f8aa2(0x255)][_0x4f8aa2(0x348)]({'title':this['_localeService']['t'](_0x4f8aa2(0x33f)),'content':this['_localeService']['t'](_0x4f8aa2(0x23f)),'type':_0x4f8aa2(0x331),'duration':0x0}),_0x3bd62e['id']===_0xbdea02[_0x4f8aa2(0x398)]['CONFLICT']&&this[_0x4f8aa2(0x295)][_0x4f8aa2(0x348)]({'type':_0x5628b5[_0x4f8aa2(0x28d)]['Error'],'content':this[_0x4f8aa2(0x1a4)]['t']('collaboration.closeRoom')+'('+_0x3bd62e[_0x4f8aa2(0x271)]+')'}),_0x3bd62e['id']===_0xbdea02['CollaborationUIEventId'][_0x4f8aa2(0x118)]&&this[_0x4f8aa2(0x295)][_0x4f8aa2(0x348)]({'type':_0x5628b5[_0x4f8aa2(0x28d)][_0x4f8aa2(0x14d)],'content':this[_0x4f8aa2(0x1a4)]['t'](_0x3bd62e[_0x4f8aa2(0x271)]||'')}),_0x3bd62e['id']===_0xbdea02[_0x4f8aa2(0x398)][_0x4f8aa2(0x18a)]&&this[_0x4f8aa2(0x295)][_0x4f8aa2(0x348)]({'type':_0x5628b5[_0x4f8aa2(0x28d)][_0x4f8aa2(0x14d)],'content':this['_localeService']['t'](_0x4f8aa2(0x1f1))}),_0x3bd62e['id']===_0xbdea02[_0x4f8aa2(0x398)][_0x4f8aa2(0x389)]&&this['_messageService'][_0x4f8aa2(0x348)]({'type':_0x5628b5[_0x4f8aa2(0x28d)]['Error'],'content':this[_0x4f8aa2(0x1a4)]['t']('session.connection-failed')}),_0x3bd62e['id']===_0xbdea02['CollaborationUIEventId'][_0x4f8aa2(0x316)]&&this[_0x4f8aa2(0x295)][_0x4f8aa2(0x348)]({'type':_0x5628b5[_0x4f8aa2(0x28d)][_0x4f8aa2(0x2d6)],'content':this[_0x4f8aa2(0x1a4)]['t'](_0x4f8aa2(0x23a))});}));}};_0x54e6e3=_0x3cbefa([_0x160fea(0x0,_0x2d0743[_0x15f07d(0x2e7)]),_0x160fea(0x1,_0xbdea02['ILocalCacheService']),_0x160fea(0x2,_0x11f213['Inject'](_0xbdea02['CollaborationUIEventService'])),_0x160fea(0x3,_0x2d0743[_0x15f07d(0x29f)]),_0x160fea(0x4,_0x2d0743[_0x15f07d(0x39e)]),_0x160fea(0x5,_0x11f213[_0x15f07d(0x223)](_0x11f213[_0x15f07d(0x183)]))],_0x54e6e3);const _0x5ca35c='collaboration-client-ui.config',_0x353a9f={},_0x14d524=_0x11f213['createIdentifier']('uni.network.url-service');var _0x1a981f=Object['getOwnPropertyDescriptor'],_0x3e78ce=(_0xe6334f,_0x1f66d3,_0x262a51,_0xca4be6)=>{const _0x5522c4=_0x15f07d;for(var _0x1e4bff=_0xca4be6>0x1?void 0x0:_0xca4be6?_0x1a981f(_0x1f66d3,_0x262a51):_0x1f66d3,_0x3ffe10=_0xe6334f[_0x5522c4(0x138)]-0x1,_0x375bc8;_0x3ffe10>=0x0;_0x3ffe10--)(_0x375bc8=_0xe6334f[_0x3ffe10])&&(_0x1e4bff=_0x375bc8(_0x1e4bff)||_0x1e4bff);return _0x1e4bff;},_0x118612=(_0xa183a2,_0x3ca222)=>(_0x1055f6,_0x1e5e34)=>_0x3ca222(_0x1055f6,_0x1e5e34,_0xa183a2);_0x32b57d[_0x15f07d(0x259)]=class extends _0x11f213[_0x15f07d(0x1b2)]{constructor(_0x4b76a9,_0x4d9d98,_0x3239af,_0x2aa4bb,_0x41ed2d){const _0x520683=_0x15f07d;super(),this[_0x520683(0x2bf)]=_0x4b76a9,this[_0x520683(0x17c)]=_0x4d9d98,this[_0x520683(0x34a)]=_0x3239af,this[_0x520683(0x204)]=_0x2aa4bb,_0x41ed2d?_0x41ed2d==null||_0x41ed2d[_0x520683(0x1f7)]()[_0x520683(0x2a2)](()=>this['_init']()):(this[_0x520683(0x17c)]['debug'](_0x520683(0x16d),_0x520683(0x11d)),this[_0x520683(0x198)]());}async[_0x15f07d(0x198)](){const _0x3c439f=_0x15f07d,_0x335b17=this['_urlService'][_0x3c439f(0x2ff)](_0x3c439f(0x1dc)),_0x5e9df8=this[_0x3c439f(0x2bf)][_0x3c439f(0x2ff)](_0x3c439f(0x136)),_0x187924=this[_0x3c439f(0x2bf)][_0x3c439f(0x2ff)](_0x3c439f(0x3a1));if(!_0x335b17||!_0x5e9df8){this['_logService'][_0x3c439f(0x239)]('[CollaborationDataLoaderController]',_0x3c439f(0x38e));return;}const _0x5e6d17=await this['_dataLoaderService'][_0x3c439f(0x394)](_0x335b17,Number(_0x5e9df8),_0x187924);_0x5e6d17&&_0x5e6d17 instanceof _0x11f213[_0x3c439f(0x322)]&&this['_setupSubUnitSync'](_0x5e6d17);}async[_0x15f07d(0x282)](_0x69e7a5){const _0x35b634=_0x15f07d;await this[_0x35b634(0x2cd)](_0x69e7a5),_0x69e7a5[_0x35b634(0x222)][_0x35b634(0x181)](_0x1eb5fd[_0x35b634(0x16b)](this[_0x35b634(0x187)]))[_0x35b634(0x1db)](_0x435e20=>{const _0x2f1d58=_0x35b634;_0x435e20&&this[_0x2f1d58(0x2df)](_0x435e20);}),this['_urlService']['urlChange$'][_0x35b634(0x181)](_0x1eb5fd[_0x35b634(0x16b)](this[_0x35b634(0x187)]))[_0x35b634(0x1db)](()=>this['_updateSubUnitFromURLParams'](_0x69e7a5));}[_0x15f07d(0x2df)](_0x412b62,_0x596ff0=!0x1){const _0x3e001a=_0x15f07d,_0x249f19=this[_0x3e001a(0x2bf)][_0x3e001a(0x2ff)](_0x3e001a(0x3a1));_0x412b62[_0x3e001a(0x341)]()!==_0x249f19&&this[_0x3e001a(0x2bf)][_0x3e001a(0x265)](_0x3e001a(0x3a1),_0x412b62[_0x3e001a(0x341)](),_0x596ff0);}async['_updateSubUnitFromURLParams'](_0x5891ee){const _0xffd9cb=_0x15f07d;var _0x3513a4;const _0x2754df=this[_0xffd9cb(0x2bf)][_0xffd9cb(0x2ff)]('subunit');if(!_0x2754df||!_0x5891ee[_0xffd9cb(0x370)](_0x2754df)){const _0x5b5f94=_0x5891ee[_0xffd9cb(0x39c)]()[0x0],_0x82c9e8=_0x5891ee[_0xffd9cb(0x370)](_0x5b5f94);if(!_0x82c9e8)return;this['_updateURLWithCurrentState'](_0x82c9e8,!0x0),await this['_commandService'][_0xffd9cb(0x2d5)](_0x4eb7aa[_0xffd9cb(0x35b)]['id'],{'unitId':_0x5891ee['getUnitId'](),'subUnitId':_0x5b5f94});return;}((_0x3513a4=_0x5891ee[_0xffd9cb(0x378)]())==null?void 0x0:_0x3513a4['getSheetId']())!==_0x2754df&&await this['_commandService'][_0xffd9cb(0x2d5)](_0x4eb7aa[_0xffd9cb(0x35b)]['id'],{'unitId':_0x5891ee['getUnitId'](),'subUnitId':_0x2754df});}},_0x32b57d[_0x15f07d(0x259)]=_0x3e78ce([_0x118612(0x0,_0x14d524),_0x118612(0x1,_0x11f213[_0x15f07d(0x2d0)]),_0x118612(0x2,_0x11f213[_0x15f07d(0x335)]),_0x118612(0x3,_0x11f213[_0x15f07d(0x223)](_0xbdea02[_0x15f07d(0x30b)])),_0x118612(0x4,_0x11f213[_0x15f07d(0x1d9)](_0x1f20fb[_0x15f07d(0x1c4)]))],_0x32b57d[_0x15f07d(0x259)]);var _0x29aa75=Object[_0x15f07d(0x144)],_0x4c5499=(_0x295283,_0x367d55,_0x599fb6,_0x66266f)=>{for(var _0x448501=_0x66266f>0x1?void 0x0:_0x66266f?_0x29aa75(_0x367d55,_0x599fb6):_0x367d55,_0x1ac0cc=_0x295283['length']-0x1,_0x364d61;_0x1ac0cc>=0x0;_0x1ac0cc--)(_0x364d61=_0x295283[_0x1ac0cc])&&(_0x448501=_0x364d61(_0x448501)||_0x448501);return _0x448501;},_0x5f2918=(_0x37a30f,_0x4ac4f1)=>(_0x24d957,_0x29c682)=>_0x4ac4f1(_0x24d957,_0x29c682,_0x37a30f);let _0x50cb75=class{constructor(_0xcbe3eb,_0x3d6732,_0x41e340){const _0x1e8aa6=_0x15f07d;this[_0x1e8aa6(0x1be)]=_0xcbe3eb,this[_0x1e8aa6(0x27f)]=_0x3d6732,this['_renderManagerService']=_0x41e340;}[_0x15f07d(0x39d)](_0x3b6559){const _0x6fe80e=_0x15f07d;this[_0x6fe80e(0x353)](_0x3b6559),this[_0x6fe80e(0x190)](_0x3b6559);}[_0x15f07d(0x37c)](_0x29b951){const _0x34b7f0=_0x15f07d,{unitID:_0x62a56a}=_0x29b951,_0x26ea0a=this[_0x34b7f0(0x180)][_0x34b7f0(0x302)](_0x62a56a)[_0x34b7f0(0x175)](_0x599319[_0x34b7f0(0x31f)]),{redoCache:_0x363b6e}=_0x26ea0a[_0x34b7f0(0x141)]();if(_0x363b6e[_0x34b7f0(0x138)]===0x0)return _0x29b951;let _0x40fd12=_0x11f213[_0x34b7f0(0x1f4)]['deepClone'](_0x29b951[_0x34b7f0(0x16f)][0x0]);for(let _0x2f7fe9=0x0;_0x2f7fe9<_0x363b6e['length'];_0x2f7fe9++){const _0x18c1bf={'id':_0x34b7f0(0x166),'params':{..._0x363b6e[_0x2f7fe9]}},_0x11964b=this[_0x34b7f0(0x27f)][_0x34b7f0(0x24a)](_0x40fd12,_0x18c1bf,!0x1);if(_0x292b34[_0x34b7f0(0x206)](_0x11964b))throw _0x11964b[_0x34b7f0(0x331)];_0x40fd12=_0x11964b['m1Prime'];}return{..._0x11f213[_0x34b7f0(0x1f4)][_0x34b7f0(0x21b)](_0x29b951),'mutations':[_0x40fd12]};}[_0x15f07d(0x353)](_0x1fbe73){const _0x47d17e=_0x15f07d,{unitID:_0x1063da}=_0x1fbe73,_0x8cf464=this[_0x47d17e(0x180)][_0x47d17e(0x302)](_0x1063da)[_0x47d17e(0x175)](_0x599319['DocIMEInputManagerService']),{undoCache:_0x5691a9,redoCache:_0x562f2c}=_0x8cf464[_0x47d17e(0x141)]();if(_0x5691a9['length']===0x0||_0x562f2c[_0x47d17e(0x138)]===0x0)return;const _0x4b1ddb=[],_0xbec277=[];let _0x3b419b=_0x11f213[_0x47d17e(0x1f4)][_0x47d17e(0x21b)](_0x1fbe73[_0x47d17e(0x16f)][0x0]),_0x1a1534=_0x11f213[_0x47d17e(0x1f4)][_0x47d17e(0x21b)](_0x1fbe73['mutations'][0x0]);for(let _0x33d592=_0x5691a9['length']-0x1;_0x33d592>=0x0;_0x33d592--){const _0x201883={'id':_0x47d17e(0x166),'params':{..._0x5691a9[_0x33d592]}},_0x20c2ee={'id':'doc.mutation.rich-text-editing','params':{..._0x562f2c[_0x33d592]}},_0x1562e2=this['_transformService'][_0x47d17e(0x24a)](_0x3b419b,_0x201883,!0x1),_0x5915b3=this[_0x47d17e(0x27f)]['transformMutation'](_0x1a1534,_0x20c2ee,!0x1);if(_0x292b34[_0x47d17e(0x206)](_0x1562e2))throw _0x1562e2[_0x47d17e(0x331)];if(_0x292b34['isTransformMutationFailure'](_0x5915b3))throw _0x5915b3[_0x47d17e(0x331)];_0x4b1ddb['unshift'](_0x1562e2['m2Prime']['params']),_0xbec277[_0x47d17e(0x1bd)](_0x5915b3[_0x47d17e(0x387)][_0x47d17e(0x1e4)]),_0x3b419b=_0x1562e2[_0x47d17e(0x203)],_0x1a1534=_0x5915b3['m1Prime'];}_0x8cf464[_0x47d17e(0x1d1)]({'undoCache':_0x4b1ddb,'redoCache':_0xbec277});}[_0x15f07d(0x190)](_0x40111b){const _0x3debbe=_0x15f07d,{unitID:_0x16ed60}=_0x40111b,_0x573b4e=this[_0x3debbe(0x180)][_0x3debbe(0x302)](_0x16ed60)['with'](_0x599319[_0x3debbe(0x31f)]),_0x86f56e=_0x573b4e[_0x3debbe(0x2ca)]();if(_0x86f56e==null)return;const _0x41cabd=[{'id':_0x3debbe(0x166),'params':{'unitId':_0x40111b['unitID'],'actions':null,'textRanges':[_0x86f56e]}}],_0x3baa1c=this[_0x3debbe(0x27f)][_0x3debbe(0x13c)](_0x40111b,_0x41cabd);if(!_0x292b34[_0x3debbe(0x24d)](_0x3baa1c))throw _0x3baa1c[_0x3debbe(0x331)];const _0x4bca39=_0x3baa1c[_0x3debbe(0x387)][0x0]['params'][_0x3debbe(0x14a)];Array[_0x3debbe(0x2b8)](_0x4bca39)&&_0x4bca39[_0x3debbe(0x138)]&&_0x573b4e[_0x3debbe(0x121)](_0x4bca39[0x0]);}};_0x50cb75=_0x4c5499([_0x5f2918(0x0,_0x11f213['Inject'](_0x11f213[_0x15f07d(0x122)])),_0x5f2918(0x1,_0x292b34[_0x15f07d(0x361)]),_0x5f2918(0x2,_0x8c537b['IRenderManagerService'])],_0x50cb75);var _0x1b862f=Object[_0x15f07d(0x144)],_0x11672a=(_0x15f119,_0x56c339,_0x102381,_0x23c4b7)=>{const _0x35cb35=_0x15f07d;for(var _0x45ef27=_0x23c4b7>0x1?void 0x0:_0x23c4b7?_0x1b862f(_0x56c339,_0x102381):_0x56c339,_0x31ccce=_0x15f119[_0x35cb35(0x138)]-0x1,_0x4b25bd;_0x31ccce>=0x0;_0x31ccce--)(_0x4b25bd=_0x15f119[_0x31ccce])&&(_0x45ef27=_0x4b25bd(_0x45ef27)||_0x45ef27);return _0x45ef27;},_0x1278a9=(_0x737017,_0x49f527)=>(_0x3b9536,_0x32b090)=>_0x49f527(_0x3b9536,_0x32b090,_0x737017);let _0xc60547=class{constructor(_0x3e2f02,_0x198ff8,_0x568af2){const _0x29cf77=_0x15f07d;this[_0x29cf77(0x1be)]=_0x3e2f02,this[_0x29cf77(0x27f)]=_0x198ff8,this[_0x29cf77(0x143)]=_0x568af2;}[_0x15f07d(0x28f)](_0x44223c){const _0x3d3162=_0x15f07d;this[_0x3d3162(0x150)](_0x44223c);}[_0x15f07d(0x37c)](_0x1dfb04){const _0x37f519=_0x15f07d,{unitID:_0x3c245b}=_0x1dfb04,{collaboration:_0x1f3e2e}=this['_docStateChangeManagerService']['getStateCache'](_0x3c245b);if(_0x1f3e2e[_0x37f519(0x138)]===0x0)return _0x1dfb04;let _0x3519c8=_0x11f213[_0x37f519(0x1f4)][_0x37f519(0x21b)](_0x1dfb04[_0x37f519(0x16f)][0x0]);for(let _0x10f63b=0x0;_0x10f63b<_0x1f3e2e[_0x37f519(0x138)];_0x10f63b++){const _0x46937f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1f3e2e[_0x10f63b][_0x37f519(0x350)],..._0x1f3e2e[_0x10f63b][_0x37f519(0x15b)]}},_0x1d48d7=this[_0x37f519(0x27f)][_0x37f519(0x24a)](_0x3519c8,_0x46937f,!0x1);if(_0x292b34[_0x37f519(0x206)](_0x1d48d7))throw _0x1d48d7[_0x37f519(0x331)];_0x3519c8=_0x1d48d7[_0x37f519(0x203)];}return{..._0x11f213[_0x37f519(0x1f4)]['deepClone'](_0x1dfb04),'mutations':[_0x3519c8]};}[_0x15f07d(0x150)](_0x55614a){const _0x1ed304=_0x15f07d,{unitID:_0xf4db3f}=_0x55614a,{history:_0x14699e,collaboration:_0x197c64}=this['_docStateChangeManagerService'][_0x1ed304(0x2b5)](_0xf4db3f);if(_0x14699e[_0x1ed304(0x138)]===0x0&&_0x197c64[_0x1ed304(0x138)]===0x0)return;const _0x415782=[],_0x3e95b7=[];let _0x2b4f74=_0x11f213['Tools']['deepClone'](_0x55614a[_0x1ed304(0x16f)][0x0]),_0x15702f=_0x11f213[_0x1ed304(0x1f4)][_0x1ed304(0x21b)](_0x55614a[_0x1ed304(0x16f)][0x0]);for(let _0x164a39=_0x14699e[_0x1ed304(0x138)]-0x1;_0x164a39>=0x0;_0x164a39--){const _0xa995fa={'id':_0x1ed304(0x166),'params':{'unitId':_0x14699e[_0x164a39][_0x1ed304(0x350)],..._0x14699e[_0x164a39][_0x1ed304(0x318)]}},_0xce32ba={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x14699e[_0x164a39][_0x1ed304(0x350)],..._0x14699e[_0x164a39][_0x1ed304(0x15b)]}},_0x26b79d=this[_0x1ed304(0x27f)][_0x1ed304(0x24a)](_0x2b4f74,_0xa995fa,!0x1),_0xa75518=this[_0x1ed304(0x27f)][_0x1ed304(0x24a)](_0x15702f,_0xce32ba,!0x1);if(_0x292b34['isTransformMutationFailure'](_0x26b79d))throw _0x26b79d[_0x1ed304(0x331)];if(_0x292b34[_0x1ed304(0x206)](_0xa75518))throw _0xa75518[_0x1ed304(0x331)];_0x415782[_0x1ed304(0x1bd)]({..._0x14699e[_0x164a39],'undoState':_0x26b79d[_0x1ed304(0x387)][_0x1ed304(0x1e4)],'redoState':_0xa75518[_0x1ed304(0x387)][_0x1ed304(0x1e4)]}),_0x2b4f74=_0x26b79d[_0x1ed304(0x203)],_0x15702f=_0xa75518[_0x1ed304(0x203)];}_0x2b4f74=_0x11f213['Tools']['deepClone'](_0x55614a['mutations'][0x0]),_0x15702f=_0x11f213[_0x1ed304(0x1f4)][_0x1ed304(0x21b)](_0x55614a[_0x1ed304(0x16f)][0x0]);for(let _0x1d007c=_0x197c64['length']-0x1;_0x1d007c>=0x0;_0x1d007c--){const _0x3876a={'id':_0x1ed304(0x166),'params':{'unitId':_0x197c64[_0x1d007c][_0x1ed304(0x350)],..._0x197c64[_0x1d007c][_0x1ed304(0x318)]}},_0x4b9286={'id':_0x1ed304(0x166),'params':{'unitId':_0x197c64[_0x1d007c][_0x1ed304(0x350)],..._0x197c64[_0x1d007c]['redoState']}},_0x23c578=this[_0x1ed304(0x27f)][_0x1ed304(0x24a)](_0x2b4f74,_0x3876a,!0x1),_0x16ab55=this[_0x1ed304(0x27f)][_0x1ed304(0x24a)](_0x15702f,_0x4b9286,!0x1);if(_0x292b34['isTransformMutationFailure'](_0x23c578))throw _0x23c578[_0x1ed304(0x331)];if(_0x292b34[_0x1ed304(0x206)](_0x16ab55))throw _0x16ab55[_0x1ed304(0x331)];_0x3e95b7['unshift']({..._0x197c64[_0x1d007c],'undoState':_0x23c578[_0x1ed304(0x387)]['params'],'redoState':_0x16ab55[_0x1ed304(0x387)]['params']}),_0x2b4f74=_0x23c578[_0x1ed304(0x203)],_0x15702f=_0x16ab55[_0x1ed304(0x203)];}this[_0x1ed304(0x143)][_0x1ed304(0x23d)](_0xf4db3f,{'history':_0x415782,'collaboration':_0x3e95b7});}};_0xc60547=_0x11672a([_0x1278a9(0x0,_0x11f213[_0x15f07d(0x223)](_0x11f213[_0x15f07d(0x122)])),_0x1278a9(0x1,_0x292b34[_0x15f07d(0x361)]),_0x1278a9(0x2,_0x11f213[_0x15f07d(0x223)](_0x599319[_0x15f07d(0x202)]))],_0xc60547);var _0x3a1188=Object[_0x15f07d(0x144)],_0x16f024=(_0x754ac1,_0x3dbc3d,_0x48070f,_0x1b8fd2)=>{const _0x2169c5=_0x15f07d;for(var _0x3de689=_0x1b8fd2>0x1?void 0x0:_0x1b8fd2?_0x3a1188(_0x3dbc3d,_0x48070f):_0x3dbc3d,_0x408241=_0x754ac1[_0x2169c5(0x138)]-0x1,_0x16bf2a;_0x408241>=0x0;_0x408241--)(_0x16bf2a=_0x754ac1[_0x408241])&&(_0x3de689=_0x16bf2a(_0x3de689)||_0x3de689);return _0x3de689;},_0x210620=(_0x33c2b9,_0x122717)=>(_0x579a86,_0x2e0ec9)=>_0x122717(_0x579a86,_0x2e0ec9,_0x33c2b9);let _0x544e5e=class{constructor(_0x4b7e43,_0x2e4460){const _0xb4456=_0x15f07d;this[_0xb4456(0x1be)]=_0x4b7e43,this[_0xb4456(0x27f)]=_0x2e4460;}[_0x15f07d(0x130)](_0x2da282){const _0x569187=_0x15f07d;var _0x54926c;const _0x5a896b=this[_0x569187(0x1be)]['get'](_0x228de8[_0x569187(0x1c6)]),_0x2bb25c=(_0x54926c=_0x5a896b[_0x569187(0x332)]())!=null?_0x54926c:[];if(_0x2bb25c[_0x569187(0x138)]===0x0)return;const _0x3063d4=_0x2da282[_0x569187(0x23b)],_0xd87582=[{'id':_0x569187(0x166),'params':{'unitId':_0x3063d4,'actions':null,'textRanges':_0x2bb25c}}],_0x47ea6d=this[_0x569187(0x27f)]['transformMutationsWithChangeset'](_0x2da282,_0xd87582);if(!_0x292b34[_0x569187(0x24d)](_0x47ea6d))throw _0x47ea6d[_0x569187(0x331)];const _0x183f78=_0x47ea6d[_0x569187(0x387)][0x0][_0x569187(0x1e4)][_0x569187(0x14a)];Array['isArray'](_0x183f78)&&_0x183f78['length']&&_0x5a896b[_0x569187(0x33d)](_0x183f78,{'unitId':_0x3063d4,'subUnitId':_0x3063d4},!0x1);}};_0x544e5e=_0x16f024([_0x210620(0x0,_0x11f213[_0x15f07d(0x223)](_0x11f213[_0x15f07d(0x122)])),_0x210620(0x1,_0x292b34[_0x15f07d(0x361)])],_0x544e5e);var _0x34aa2f=Object[_0x15f07d(0x144)],_0x1d2114=(_0x39731c,_0x5ba7a0,_0x20c8fb,_0x15cd3a)=>{const _0x379346=_0x15f07d;for(var _0x2a429c=_0x15cd3a>0x1?void 0x0:_0x15cd3a?_0x34aa2f(_0x5ba7a0,_0x20c8fb):_0x5ba7a0,_0x1c40c7=_0x39731c[_0x379346(0x138)]-0x1,_0x170218;_0x1c40c7>=0x0;_0x1c40c7--)(_0x170218=_0x39731c[_0x1c40c7])&&(_0x2a429c=_0x170218(_0x2a429c)||_0x2a429c);return _0x2a429c;},_0x3091b1=(_0x2424fa,_0x56b193)=>(_0x4153a5,_0x40afa7)=>_0x56b193(_0x4153a5,_0x40afa7,_0x2424fa);let _0x16930d=class extends _0x11f213[_0x15f07d(0x35f)]{constructor(_0x298930,_0x1c72a3,_0x511285,_0xca7f96,_0x5a7f33,_0x506d1e,_0x1ed3cb,_0x34f5a3){const _0x1f7e8e=_0x15f07d;super(),_0x29a23d(this,_0x1f7e8e(0x293),new _0x1eb5fd[(_0x1f7e8e(0x266))](_0xbdea02[_0x1f7e8e(0x35c)][_0x1f7e8e(0x2b9)])),(this[_0x1f7e8e(0x143)]=_0x298930,this[_0x1f7e8e(0x260)]=_0x1c72a3,this['_docTransformIMECacheService']=_0x511285,this['_docTransformStateCacheService']=_0xca7f96,this['_docTransformSelectionsService']=_0x5a7f33,this[_0x1f7e8e(0x12e)]=_0x506d1e,this[_0x1f7e8e(0x295)]=_0x1ed3cb,this['_localeService']=_0x34f5a3,this[_0x1f7e8e(0x32c)]());}['_initEntityListener'](){const _0x3a74d5=_0x15f07d;this[_0x3a74d5(0x290)](this[_0x3a74d5(0x260)]['entityInit$']['subscribe'](_0x35fbe0=>{const _0x3d3b3d=_0x3a74d5,_0x1f5f95=this['_docStateChangeManagerService'][_0x3d3b3d(0x229)][_0x3d3b3d(0x1db)](_0x49f79a=>{const _0x4224da=_0x3d3b3d;if(_0x49f79a==null)return;const {unitId:_0x47af0d,redoState:_0x32ca3c,commandId:_0x962a09}=_0x49f79a;if(_0x47af0d!==_0x35fbe0['unitID'])return;const _0x2c73cf={'id':_0x962a09,'type':_0x11f213[_0x4224da(0x191)][_0x4224da(0x345)],'params':{'unitId':_0x47af0d,'actions':_0x32ca3c[_0x4224da(0x2a1)],'textRanges':null}};_0x35fbe0[_0x4224da(0x178)](_0x2c73cf);});if(_0x35fbe0['disposeWithMe'](_0x1f5f95),_0x35fbe0 instanceof _0xbdea02[_0x3d3b3d(0x1a0)]){const _0x11b8f1={'onTransformIME':_0x302a85=>this[_0x3d3b3d(0x1f8)][_0x3d3b3d(0x39d)](_0x302a85),'onTransformState':_0x260385=>this[_0x3d3b3d(0x1ce)]['transformStateCache'](_0x260385),'onTransformSelections':_0xf80f02=>this[_0x3d3b3d(0x233)]['transformSelections'](_0xf80f02),'onSyncEditingCollabCursor':_0x47bf46=>this[_0x3d3b3d(0x12e)][_0x3d3b3d(0x358)](_0x47bf46),'onTransformRemoteChangesetByIMECache':_0x3d5ed1=>this[_0x3d3b3d(0x1f8)][_0x3d3b3d(0x37c)](_0x3d5ed1),'onTransformRemoteChangesetByStateCache':_0x590d36=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x590d36)};_0x35fbe0[_0x3d3b3d(0x279)](_0x11b8f1);}}));}};_0x16930d=_0x1d2114([_0x3091b1(0x0,_0x11f213[_0x15f07d(0x223)](_0x599319['DocStateChangeManagerService'])),_0x3091b1(0x1,_0x11f213[_0x15f07d(0x223)](_0xbdea02['CollaborationController'])),_0x3091b1(0x2,_0x11f213['Inject'](_0x50cb75)),_0x3091b1(0x3,_0x11f213[_0x15f07d(0x223)](_0xc60547)),_0x3091b1(0x4,_0x11f213[_0x15f07d(0x223)](_0x544e5e)),_0x3091b1(0x5,_0x11f213[_0x15f07d(0x223)](_0xfa3323)),_0x3091b1(0x6,_0x2d0743['IMessageService']),_0x3091b1(0x7,_0x11f213[_0x15f07d(0x223)](_0x11f213[_0x15f07d(0x183)]))],_0x16930d);var _0x5709bb=Object[_0x15f07d(0x144)],_0x114bcd=(_0x4d1973,_0x596a35,_0x2125bb,_0x6954d1)=>{for(var _0x4b6ff1=_0x6954d1>0x1?void 0x0:_0x6954d1?_0x5709bb(_0x596a35,_0x2125bb):_0x596a35,_0x53331a=_0x4d1973['length']-0x1,_0x375864;_0x53331a>=0x0;_0x53331a--)(_0x375864=_0x4d1973[_0x53331a])&&(_0x4b6ff1=_0x375864(_0x4b6ff1)||_0x4b6ff1);return _0x4b6ff1;},_0xd43ec6=(_0x3261ae,_0x155f38)=>(_0xbaa10b,_0x35ac0e)=>_0x155f38(_0xbaa10b,_0x35ac0e,_0x3261ae);let _0x36ce3a=class extends _0x11f213[_0x15f07d(0x35f)]{constructor(_0x22bb48,_0x3c79d6,_0x3f815e){const _0x5b7838=_0x15f07d;super(),_0x29a23d(this,_0x5b7838(0x34f),new Map()),_0x29a23d(this,_0x5b7838(0x20b),new Map()),_0x29a23d(this,_0x5b7838(0x1ba),!0x1),(this[_0x5b7838(0x25f)]=_0x22bb48,this[_0x5b7838(0x1aa)]=_0x3c79d6,this[_0x5b7838(0x385)]=_0x3f815e);}[_0x15f07d(0x1d4)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x36b1fb=_0x15f07d;this[_0x36b1fb(0x1ba)]=!0x1;}get['saveTaskMap'](){const _0x27480a=_0x15f07d;return this[_0x27480a(0x20b)];}['dispose'](){const _0x92de0d=_0x15f07d;this[_0x92de0d(0x17f)]()['then'](()=>super['dispose']());}async['loadOfflineData'](_0x362698){const _0x3e9e67=_0x15f07d;return this['_disabled']?null:this['_localStorageService']['getItem'](_0xbdea02[_0x3e9e67(0x28e)](_0x362698));}async['saveOfflineData'](_0x4804cd,_0x3e3ed0){const _0x5c0a17=_0x15f07d;return!!this[_0x5c0a17(0x1aa)][_0x5c0a17(0x2a7)](_0x4804cd,_0x3e3ed0);}[_0x15f07d(0x158)](_0x171139,_0x392e5b,_0x1d5544,_0x23a22f){const _0x9e93b1=_0x15f07d,_0x1d6b5a=this[_0x9e93b1(0x385)][_0x9e93b1(0x355)](_0x171139);this[_0x9e93b1(0x34f)][_0x9e93b1(0x23c)](_0x171139,{'unitID':_0x171139,'type':_0x392e5b,'awaitingChangeset':_0x1d5544,'mutations':_0x23a22f,'rev':_0x1d6b5a}),this[_0x9e93b1(0x20b)][_0x9e93b1(0x221)](_0x171139)||this[_0x9e93b1(0x2c7)](_0x171139);}['_scheduleSaving'](_0x1f0d5d){const _0x563d28=_0x15f07d,_0x3ebdfd=this[_0x563d28(0x30e)]();_0x3ebdfd===0x0?this[_0x563d28(0x19e)](_0x1f0d5d):this[_0x563d28(0x20b)][_0x563d28(0x23c)](_0x1f0d5d,setTimeout(()=>this['_saveCache'](_0x1f0d5d),_0x3ebdfd));}[_0x15f07d(0x30e)](){const _0x198684=_0x15f07d;var _0x1fad69;return(_0x1fad69=this[_0x198684(0x25f)][_0x198684(0x20a)](_0xbdea02['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x1fad69:_0xbdea02[_0x198684(0x211)];}[_0x15f07d(0x19e)](_0x1b0680){const _0x5d9b26=_0x15f07d,_0x191153=this[_0x5d9b26(0x20b)][_0x5d9b26(0x300)](_0x1b0680);return _0x191153!==void 0x0&&window[_0x5d9b26(0x30f)](_0x191153),this[_0x5d9b26(0x1aa)][_0x5d9b26(0x2a7)](_0xbdea02[_0x5d9b26(0x28e)](_0x1b0680),this[_0x5d9b26(0x34f)][_0x5d9b26(0x300)](_0x1b0680))['then'](()=>this[_0x5d9b26(0x20b)][_0x5d9b26(0x1bc)](_0x1b0680));}async[_0x15f07d(0x17f)](){const _0x3bbf84=_0x15f07d,_0x4bb83d=[];this[_0x3bbf84(0x20b)]['forEach']((_0x5a5307,_0x53a3ab)=>{const _0x5182d5=_0x3bbf84;window[_0x5182d5(0x30f)](_0x5a5307),_0x4bb83d[_0x5182d5(0x330)](this[_0x5182d5(0x19e)](_0x53a3ab)[_0x5182d5(0x2a2)](()=>{const _0x2adae2=_0x5182d5;this['_saveTaskMap'][_0x2adae2(0x1bc)](_0x53a3ab);}));}),await Promise[_0x3bbf84(0x1bf)](_0x4bb83d);}};_0x36ce3a=_0x114bcd([_0xd43ec6(0x0,_0x11f213[_0x15f07d(0x16e)]),_0xd43ec6(0x1,_0x11f213[_0x15f07d(0x23e)]),_0xd43ec6(0x2,_0x11f213['Inject'](_0x292b34[_0x15f07d(0x3ac)]))],_0x36ce3a);class _0x455bac extends _0x11f213[_0x15f07d(0x1b2)]{constructor(){const _0x366b5e=_0x15f07d;super(),_0x29a23d(this,_0x366b5e(0x2b4)),this[_0x366b5e(0x2b4)]=_0x1eb5fd[_0x366b5e(0x1d2)](window,'popstate')[_0x366b5e(0x181)](_0x1eb5fd[_0x366b5e(0x16b)](this[_0x366b5e(0x187)]),_0x1eb5fd[_0x366b5e(0x1f0)](0x1),_0x1eb5fd['mapTo'](void 0x0));}[_0x15f07d(0x265)](_0x5a2423,_0x5bd86b,_0x3d52e0=!0x1){const _0x2b2170=_0x15f07d,_0xa67ad8=new URL(window[_0x2b2170(0x34d)][_0x2b2170(0x36c)]);_0xa67ad8[_0x2b2170(0x368)]['set'](_0x5a2423,_0x5bd86b),_0x3d52e0?window[_0x2b2170(0x246)]['replaceState']('','',_0xa67ad8['toString']()):window[_0x2b2170(0x246)][_0x2b2170(0x161)]('','',_0xa67ad8[_0x2b2170(0x34b)]());}[_0x15f07d(0x167)](_0x48023d,_0x377cd6=!0x1){const _0x2c2862=_0x15f07d,_0x29fecc=new URL(window[_0x2c2862(0x34d)][_0x2c2862(0x36c)]);_0x29fecc[_0x2c2862(0x368)][_0x2c2862(0x1bc)](_0x48023d),_0x377cd6?window[_0x2c2862(0x246)]['replaceState']('','',_0x29fecc['toString']()):window['history'][_0x2c2862(0x161)]('','',_0x29fecc[_0x2c2862(0x34b)]());}[_0x15f07d(0x2ff)](_0x6e45e2){const _0x5d065d=_0x15f07d;var _0xc58d8f;return(_0xc58d8f=new URL(window[_0x5d065d(0x34d)][_0x5d065d(0x36c)])[_0x5d065d(0x368)][_0x5d065d(0x300)](_0x6e45e2))!=null?_0xc58d8f:void 0x0;}}var _0x656675=Object[_0x15f07d(0x301)],_0x2d0bcf=Object['getOwnPropertyDescriptor'],_0x41d9b4=(_0x2521f2,_0x33e847,_0x15b9f3)=>_0x33e847 in _0x2521f2?_0x656675(_0x2521f2,_0x33e847,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15b9f3}):_0x2521f2[_0x33e847]=_0x15b9f3,_0x427b79=(_0x5f09cb,_0x4867ca,_0x302b90,_0xa18e61)=>{for(var _0x38191f=_0xa18e61>0x1?void 0x0:_0xa18e61?_0x2d0bcf(_0x4867ca,_0x302b90):_0x4867ca,_0x2e87d2=_0x5f09cb['length']-0x1,_0x537daa;_0x2e87d2>=0x0;_0x2e87d2--)(_0x537daa=_0x5f09cb[_0x2e87d2])&&(_0x38191f=_0x537daa(_0x38191f)||_0x38191f);return _0x38191f;},_0x16e21f=(_0x5edf15,_0x5b2246)=>(_0x34f490,_0x1576d2)=>_0x5b2246(_0x34f490,_0x1576d2,_0x5edf15),_0x436589=(_0x176d7c,_0x3a9239,_0x1d6b85)=>_0x41d9b4(_0x176d7c,_0x3a9239+'',_0x1d6b85);const _0x86efd=_0x15f07d(0x189);_0x32b57d[_0x15f07d(0x256)]=class extends _0x11f213[_0x15f07d(0x2d1)]{constructor(_0x160a73=_0x353a9f,_0x356f69,_0x3d2a23,_0x43f544){const _0x589246=_0x15f07d;super(),this[_0x589246(0x2f2)]=_0x160a73,this[_0x589246(0x180)]=_0x356f69,this[_0x589246(0x1be)]=_0x3d2a23,this[_0x589246(0x25f)]=_0x43f544;const {..._0x142c75}=_0x11f213['merge']({},_0x353a9f,this[_0x589246(0x2f2)]);this[_0x589246(0x25f)][_0x589246(0x151)](_0x5ca35c,_0x142c75);}['onStarting'](){const _0x257877=_0x15f07d;this[_0x257877(0x1d0)](),this[_0x257877(0x2fa)]();}[_0x15f07d(0x155)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x1bb1a6=_0x15f07d;var _0xe3a4a9;const _0x1bdc1d=[[_0x43e7a7],[_0x544e5e],[_0x50cb75],[_0xc60547],[_0xfa3323],[_0x14d524,{'useClass':_0x455bac}],[_0xb0168[_0x1bb1a6(0x17d)],{'useClass':_0xb0168[_0x1bb1a6(0x1da)]}],[_0xbdea02[_0x1bb1a6(0x188)],{'useClass':_0x36ce3a}],[_0x32b57d[_0x1bb1a6(0x224)]],[_0x16930d],[_0x54e6e3],[_0x5a3689],[_0x219e54],[_0x32b57d['CollaborationDataLoaderController']]];_0x11f213[_0x1bb1a6(0x2f1)](this['_injector'],_0x11f213[_0x1bb1a6(0x22d)](_0x1bdc1d,(_0xe3a4a9=this['_config'])==null?void 0x0:_0xe3a4a9[_0x1bb1a6(0x2c9)]));}[_0x15f07d(0x2ce)](){const _0x44192c=_0x15f07d;this[_0x44192c(0x290)](this[_0x44192c(0x180)][_0x44192c(0x1fc)](_0x11f213[_0x44192c(0x39f)]['UNIVER_DOC'],[_0x513bec])),this[_0x44192c(0x290)](this[_0x44192c(0x180)]['registerRenderModule'](_0x11f213[_0x44192c(0x39f)][_0x44192c(0x384)],[_0x4796ef]));}[_0x15f07d(0x2fa)](){const _0x1bd2b5=_0x15f07d;_0x11f213[_0x1bd2b5(0x1b1)](this[_0x1bd2b5(0x1be)],[[_0x5a3689],[_0x32b57d[_0x1bd2b5(0x224)]],[_0x16930d],[_0x54e6e3],[_0x32b57d[_0x1bd2b5(0x259)]]]);}},_0x436589(_0x32b57d[_0x15f07d(0x256)],_0x15f07d(0x1d6),_0x86efd),_0x32b57d[_0x15f07d(0x256)]=_0x427b79([_0x11f213[_0x15f07d(0x19b)](_0xbdea02['UniverCollaborationClientPlugin']),_0x16e21f(0x1,_0x8c537b[_0x15f07d(0x14b)]),_0x16e21f(0x2,_0x11f213['Inject'](_0x11f213[_0x15f07d(0x122)])),_0x16e21f(0x3,_0x11f213[_0x15f07d(0x16e)])],_0x32b57d[_0x15f07d(0x256)]);var _0x57529c=Object[_0x15f07d(0x144)],_0x27b6fe=(_0x340af5,_0x67a54f,_0x1e55d8,_0x5e32c3)=>{const _0xad68d5=_0x15f07d;for(var _0x123147=_0x5e32c3>0x1?void 0x0:_0x5e32c3?_0x57529c(_0x67a54f,_0x1e55d8):_0x67a54f,_0x44cc31=_0x340af5[_0xad68d5(0x138)]-0x1,_0x5b2446;_0x44cc31>=0x0;_0x44cc31--)(_0x5b2446=_0x340af5[_0x44cc31])&&(_0x123147=_0x5b2446(_0x123147)||_0x123147);return _0x123147;},_0x36a3ab=(_0x27dd30,_0x14b887)=>(_0x3ca2fa,_0x5842ef)=>_0x14b887(_0x3ca2fa,_0x5842ef,_0x27dd30);_0x32b57d['BrowserCollaborationSocketService']=class extends _0xbdea02[_0x15f07d(0x276)]{constructor(_0x19e99f,_0x475a13,_0x549759,_0x5f47d9,_0x2bb3ad){super(_0x19e99f,_0x475a13,_0x549759,_0x5f47d9,_0x2bb3ad);}async[_0x15f07d(0x349)](_0x35eb7b){const _0x29e5d9=_0x15f07d,_0x481cfa=await this['_getSessionTicket'](),_0x980ad=this[_0x29e5d9(0x1fa)](_0x35eb7b,_0x481cfa);return this['_doCreateSocket'](_0x980ad);}[_0x15f07d(0x1fa)](_0x563a68,_0xe6bd2d){const _0x3873e4=_0x15f07d,_0x445690=typeof window>'u'?new URL(_0x563a68):new URL(_0x563a68,window['location'][_0x3873e4(0x254)]);_0x445690[_0x3873e4(0x368)][_0x3873e4(0x23c)](_0x3873e4(0x342),_0xe6bd2d);const _0x101eff=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3873e4(0x34d)][_0x3873e4(0x32b)]);return _0x101eff[_0x3873e4(0x300)]('runId')&&_0x445690['searchParams'][_0x3873e4(0x23c)](_0x3873e4(0x303),_0x101eff[_0x3873e4(0x300)](_0x3873e4(0x303))),_0x445690['toString']();}async[_0x15f07d(0x3ae)](){const _0x3c3d83=_0x15f07d;var _0x2068e1,_0x398157,_0x4f0cbc;const _0x7011bf=this['_configService']['getConfig'](_0xbdea02['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x1b5bd6=(_0x2068e1=_0x7011bf==null?void 0x0:_0x7011bf[_0x3c3d83(0x39a)])!=null?_0x2068e1:_0xbdea02[_0x3c3d83(0x227)];return(_0x4f0cbc=(_0x398157=(await this[_0x3c3d83(0x135)][_0x3c3d83(0x300)](_0x1b5bd6,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x398157[_0x3c3d83(0x168)])!=null?_0x4f0cbc:'';}},_0x32b57d[_0x15f07d(0x20d)]=_0x27b6fe([_0x36a3ab(0x0,_0x11f213[_0x15f07d(0x223)](_0x11f213[_0x15f07d(0x122)])),_0x36a3ab(0x1,_0x11f213[_0x15f07d(0x223)](_0xb0168['HTTPService'])),_0x36a3ab(0x2,_0x11f213['IConfigService']),_0x36a3ab(0x3,_0x11f213[_0x15f07d(0x2d0)]),_0x36a3ab(0x4,_0x292b34['ISnapshotServerService'])],_0x32b57d[_0x15f07d(0x20d)]);const _0x3ac328=0x7530,_0x9b821c='ACTIVE_UNIT_EVENT_CHANNEL';class _0x566023 extends _0x11f213[_0x15f07d(0x35f)]{constructor(){const _0x3c6e0e=_0x15f07d;super(),_0x29a23d(this,_0x3c6e0e(0x366),_0x11f213[_0x3c6e0e(0x35a)]()),_0x29a23d(this,'_selfUnitIDs',new Set()),_0x29a23d(this,_0x3c6e0e(0x12a),new Map()),_0x29a23d(this,_0x3c6e0e(0x2d3),null),_0x29a23d(this,_0x3c6e0e(0x29b),new Map()),_0x29a23d(this,_0x3c6e0e(0x359),new Map()),this[_0x3c6e0e(0x198)]();}[_0x15f07d(0x1c7)](){const _0x1b26d6=_0x15f07d;super[_0x1b26d6(0x1c7)](),this[_0x1b26d6(0x29b)][_0x1b26d6(0x2c4)]((_0x2b0db0,_0x2d4186)=>this[_0x1b26d6(0x212)](_0x2d4186)),this[_0x1b26d6(0x2d3)]&&window[_0x1b26d6(0x12c)](this[_0x1b26d6(0x2d3)]);}['getUnitStatus$'](_0x347561){const _0x2f0b92=_0x15f07d;return this[_0x2f0b92(0x15d)](_0x347561)[_0x2f0b92(0x181)](_0x1eb5fd[_0x2f0b92(0x29d)]());}[_0x15f07d(0x2da)](_0xf0de8c){const _0x297a4f=_0x15f07d;this['_selfUnitIDs'][_0x297a4f(0x176)]===0x0&&this[_0x297a4f(0x213)](),this['_selfUnitIDs'][_0x297a4f(0x21f)](_0xf0de8c),this[_0x297a4f(0x371)]({'type':0x0,'memberID':this[_0x297a4f(0x366)],'unitIDs':[_0xf0de8c],'isForwarded':!0x1});}[_0x15f07d(0x34e)](_0x14619a){const _0x50eaae=_0x15f07d;this[_0x50eaae(0x149)][_0x50eaae(0x1bc)](_0x14619a),this[_0x50eaae(0x149)][_0x50eaae(0x176)]===0x0&&this[_0x50eaae(0x2d3)]&&window[_0x50eaae(0x12c)](this[_0x50eaae(0x2d3)]);}[_0x15f07d(0x198)](){const _0x46abbd=_0x15f07d;this['disposeWithMe'](_0x11f213[_0x46abbd(0x2ba)](_0x1eb5fd[_0x46abbd(0x1d2)](window,_0x46abbd(0x357))[_0x46abbd(0x1db)](_0x31ea6e=>{const _0x3dfc7d=_0x46abbd;if(_0x31ea6e[_0x3dfc7d(0x339)]!==_0x9b821c||!_0x31ea6e['newValue'])return;const _0x208383=JSON[_0x3dfc7d(0x1d7)](_0x31ea6e[_0x3dfc7d(0x2b6)]);this[_0x3dfc7d(0x22f)](_0x208383);}))),window[_0x46abbd(0x354)](_0x46abbd(0x31b),()=>this[_0x46abbd(0x371)]({'type':0x1,'memberID':this[_0x46abbd(0x366)],'unitIDs':Array[_0x46abbd(0x28a)](this[_0x46abbd(0x149)])}));}['_handleEvent'](_0xd17c17){const _0x4f88dd=_0x15f07d;switch(_0xd17c17[_0x4f88dd(0x136)]){case 0x0:this[_0x4f88dd(0x33c)](_0xd17c17);break;case 0x1:this[_0x4f88dd(0x250)](_0xd17c17);break;case 0x2:this[_0x4f88dd(0x1eb)](_0xd17c17);break;}}[_0x15f07d(0x33c)](_0x57e385){const _0x1d7ae2=_0x15f07d,{unitIDs:_0x3c5786,memberID:_0x491aa4,isForwarded:_0x4d61c0}=_0x57e385;_0x3c5786[_0x1d7ae2(0x2c4)](_0xdd3723=>{const _0x11d34a=_0x1d7ae2;if(!_0x4d61c0&&this[_0x11d34a(0x12a)][_0x11d34a(0x221)](_0xdd3723)&&this[_0x11d34a(0x15d)](_0xdd3723)[_0x11d34a(0x379)](_0xbdea02[_0x11d34a(0x1c9)][_0x11d34a(0x2c2)]),!this[_0x11d34a(0x12a)]['has'](_0xdd3723)||!this['_unitOnClients'][_0x11d34a(0x300)](_0xdd3723)[_0x11d34a(0x221)](_0x491aa4)){const _0x15ce51=this[_0x11d34a(0x12a)][_0x11d34a(0x300)](_0xdd3723)||new Set();_0x15ce51[_0x11d34a(0x21f)](_0x491aa4),this[_0x11d34a(0x12a)][_0x11d34a(0x23c)](_0xdd3723,_0x15ce51),this[_0x11d34a(0x32f)](_0x491aa4);}}),_0x4d61c0||this[_0x1d7ae2(0x371)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x1d7ae2(0x149)]],'isForwarded':!0x0});}[_0x15f07d(0x32f)](_0x37f97f){const _0x28204c=_0x15f07d;this['_removeClearOtherTimer'](_0x37f97f);const _0x4e9968=window[_0x28204c(0x392)](()=>{const _0x354f6a=_0x28204c;this[_0x354f6a(0x12a)][_0x354f6a(0x2c4)](_0x5c5d00=>{const _0x5c1e31=_0x354f6a;_0x5c5d00[_0x5c1e31(0x1bc)](_0x37f97f);});},_0x3ac328*0x2);this['_clearOtherTimers'][_0x28204c(0x23c)](_0x37f97f,_0x4e9968);}['_removeClearOtherTimer'](_0xa6e213){const _0x247ff7=_0x15f07d;if(this[_0x247ff7(0x29b)][_0x247ff7(0x221)](_0xa6e213)){const _0x495fdc=this[_0x247ff7(0x29b)][_0x247ff7(0x300)](_0xa6e213);_0x495fdc&&window[_0x247ff7(0x30f)](_0x495fdc),this[_0x247ff7(0x29b)][_0x247ff7(0x23c)](_0xa6e213,null);}}[_0x15f07d(0x250)](_0x327f80){const _0xa49750=_0x15f07d,{memberID:_0xb30136,unitIDs:_0x131ad2}=_0x327f80;_0x131ad2[_0xa49750(0x2c4)](_0x5de059=>{const _0x9f3521=_0xa49750;var _0x4bb70d;const _0x3205b0=this['_unitOnClients'][_0x9f3521(0x300)](_0x5de059);_0x3205b0&&(_0x3205b0[_0x9f3521(0x1bc)](_0xb30136),(_0x4bb70d=this[_0x9f3521(0x15d)](_0x5de059))==null||_0x4bb70d[_0x9f3521(0x379)](_0x3205b0[_0x9f3521(0x176)]===0x0?_0xbdea02[_0x9f3521(0x1c9)][_0x9f3521(0x1a5)]:_0xbdea02[_0x9f3521(0x1c9)][_0x9f3521(0x2c2)]));}),this[_0xa49750(0x212)](_0xb30136);}[_0x15f07d(0x1eb)](_0x2d1db4){const _0x296564=_0x15f07d;this[_0x296564(0x32f)](_0x2d1db4[_0x296564(0x344)]);}[_0x15f07d(0x371)](_0x43c2cd){const _0x4c19f6=_0x15f07d;localStorage['setItem'](_0x9b821c,JSON[_0x4c19f6(0x2fd)](_0x43c2cd));}[_0x15f07d(0x213)](){const _0x2118d4=_0x15f07d;this['_heartbeatTimer']=window[_0x2118d4(0x32d)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x3ac328);}[_0x15f07d(0x15d)](_0x40e1a2){const _0x361dba=_0x15f07d;return this[_0x361dba(0x359)]['has'](_0x40e1a2)||this[_0x361dba(0x359)][_0x361dba(0x23c)](_0x40e1a2,new _0x1eb5fd[(_0x361dba(0x266))](_0xbdea02[_0x361dba(0x1c9)][_0x361dba(0x1a5)])),this[_0x361dba(0x359)][_0x361dba(0x300)](_0x40e1a2);}}var _0x2c540b=(_0x255abd=>(_0x255abd[_0x255abd[_0x15f07d(0x147)]=0x0]=_0x15f07d(0x147),_0x255abd[_0x255abd['OK']=0x1]='OK',_0x255abd[_0x255abd[_0x15f07d(0x13b)]=0x2]=_0x15f07d(0x13b),_0x255abd[_0x255abd[_0x15f07d(0x1fb)]=0x3]='PERMISSION_DENIED',_0x255abd[_0x255abd['NOT_FOUND']=0x4]=_0x15f07d(0x219),_0x255abd[_0x255abd[_0x15f07d(0x2ed)]=0x5]=_0x15f07d(0x2ed),_0x255abd[_0x255abd[_0x15f07d(0x1bb)]=0x6]='ALREADY_EXISTS',_0x255abd[_0x255abd[_0x15f07d(0x298)]=0x7]='INVALID_ARGUMENT',_0x255abd[_0x255abd['TOO_MANY_REQUESTS']=0x8]=_0x15f07d(0x37f),_0x255abd[_0x255abd['COMPLETION_FINISHED']=0x9]=_0x15f07d(0x2cf),_0x255abd[_0x255abd[_0x15f07d(0x297)]=0xa]=_0x15f07d(0x297),_0x255abd[_0x255abd[_0x15f07d(0x15f)]=0x1389]=_0x15f07d(0x15f),_0x255abd[_0x255abd[_0x15f07d(0x1c8)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x255abd[_0x255abd['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x15f07d(0x1b8),_0x255abd[_0x255abd[_0x15f07d(0x1e8)]=0x1773]=_0x15f07d(0x1e8),_0x255abd[_0x255abd['APPLY_REJECT']=0x1b59]=_0x15f07d(0x315),_0x255abd[_0x255abd[_0x15f07d(0x281)]=0x1b5a]=_0x15f07d(0x281),_0x255abd[_0x255abd['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x255abd[_0x255abd[_0x15f07d(0x19a)]=0x1b5c]=_0x15f07d(0x19a),_0x255abd[_0x255abd[_0x15f07d(0x2c8)]=0x1b5d]=_0x15f07d(0x2c8),_0x255abd[_0x255abd['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x15f07d(0x165),_0x255abd[_0x255abd[_0x15f07d(0x1df)]=0x2329]=_0x15f07d(0x1df),_0x255abd[_0x255abd[_0x15f07d(0x1f2)]=0x232a]=_0x15f07d(0x1f2),_0x255abd[_0x255abd['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x15f07d(0x388),_0x255abd[_0x255abd['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x255abd[_0x255abd[_0x15f07d(0x323)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x255abd[_0x255abd[_0x15f07d(0x2af)]=0x2711]=_0x15f07d(0x2af),_0x255abd[_0x255abd[_0x15f07d(0x2be)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x255abd[_0x255abd['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x15f07d(0x336),_0x255abd[_0x255abd[_0x15f07d(0x237)]=0x2714]=_0x15f07d(0x237),_0x255abd[_0x255abd[_0x15f07d(0x346)]=0x271a]=_0x15f07d(0x346),_0x255abd[_0x255abd['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x15f07d(0x277),_0x255abd[_0x255abd[_0x15f07d(0x381)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x255abd[_0x255abd[_0x15f07d(0x2de)]=0x2ee1]=_0x15f07d(0x2de),_0x255abd[_0x255abd['INVALID_INVITE_CODE']=0x2ee2]=_0x15f07d(0x2f4),_0x255abd[_0x255abd[_0x15f07d(0x2dc)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x255abd[_0x255abd[_0x15f07d(0x218)]=0x2ee4]=_0x15f07d(0x218),_0x255abd[_0x255abd[_0x15f07d(0x2a5)]=0x2ee5]=_0x15f07d(0x2a5),_0x255abd[_0x255abd[_0x15f07d(0x393)]=0x32c9]=_0x15f07d(0x393),_0x255abd[_0x255abd[_0x15f07d(0x1ed)]=0x32ca]=_0x15f07d(0x1ed),_0x255abd[_0x255abd[_0x15f07d(0x288)]=0x32cb]=_0x15f07d(0x288),_0x255abd[_0x255abd[_0x15f07d(0x2ea)]=-0x1]='UNRECOGNIZED',_0x255abd))(_0x2c540b||{}),_0x399f48=Object[_0x15f07d(0x144)],_0x37538f=(_0x581366,_0x1880d5,_0x3297b9,_0x2b4ca6)=>{const _0x234f54=_0x15f07d;for(var _0x3dca33=_0x2b4ca6>0x1?void 0x0:_0x2b4ca6?_0x399f48(_0x1880d5,_0x3297b9):_0x1880d5,_0x48503d=_0x581366[_0x234f54(0x138)]-0x1,_0x5ef3ca;_0x48503d>=0x0;_0x48503d--)(_0x5ef3ca=_0x581366[_0x48503d])&&(_0x3dca33=_0x5ef3ca(_0x3dca33)||_0x3dca33);return _0x3dca33;},_0x3cf82a=(_0x2dff11,_0x3db096)=>(_0x5eaf3d,_0x50c236)=>_0x3db096(_0x5eaf3d,_0x50c236,_0x2dff11);_0x32b57d[_0x15f07d(0x324)]=class extends _0x11f213[_0x15f07d(0x35f)]{constructor(_0x1271aa,_0x1703d2,_0x537d88){const _0x3326f8=_0x15f07d;super(),this[_0x3326f8(0x340)]=_0x1271aa,this[_0x3326f8(0x135)]=_0x1703d2,this['_configService']=_0x537d88;}async[_0x15f07d(0x2e0)](_0x570d2f,_0x5a1b39,_0x389688,..._0x1a2e46){const _0x2adf88=_0x15f07d;var _0x197b9b,_0xd3d542,_0xa4772a,_0x224774;const _0x2deb22=this[_0x2adf88(0x340)]['getFocusedUnit']();if(!_0x2deb22)throw new Error(_0x2adf88(0x241));const _0x773c85=((_0x197b9b=this['_configService']['getConfig'](_0xbdea02['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x197b9b:_0xbdea02[_0x2adf88(0x20f)])+'/'+_0x570d2f+_0x2adf88(0x37e)+_0x5a1b39,_0x534142=new URL(window[_0x2adf88(0x34d)][_0x2adf88(0x36c)]),_0x1f0484={'scriptId':_0x570d2f,'runId':(_0xd3d542=_0x534142['searchParams'][_0x2adf88(0x300)]('runId'))!=null?_0xd3d542:'','function':_0x5a1b39,'unitId':_0x2deb22[_0x2adf88(0x1e5)](),'argsOfFunction':JSON[_0x2adf88(0x2fd)](_0x1a2e46),'invokeId':(_0xa4772a=_0x389688['invokeId'])!=null?_0xa4772a:'','executionId':(_0x224774=_0x389688[_0x2adf88(0x2c0)])!=null?_0x224774:''};try{const _0x5267ef=await this['_httpService'][_0x2adf88(0x11b)](_0x773c85,{'body':_0x1f0484});return _0x5267ef[_0x2adf88(0x30c)][_0x2adf88(0x331)]&&_0x5267ef[_0x2adf88(0x30c)][_0x2adf88(0x331)]['code']!==_0x2c540b['OK']?_0x2adf88(0x306):_0x5267ef['body'][_0x2adf88(0x216)];}catch{return _0x2adf88(0x306);}}},_0x32b57d[_0x15f07d(0x324)]=_0x37538f([_0x3cf82a(0x0,_0x11f213[_0x15f07d(0x1e1)]),_0x3cf82a(0x1,_0x11f213[_0x15f07d(0x223)](_0xb0168[_0x15f07d(0x274)])),_0x3cf82a(0x2,_0x11f213['IConfigService'])],_0x32b57d[_0x15f07d(0x324)]),_0x32b57d[_0x15f07d(0x267)]=_0x5ea2d8,_0x32b57d[_0x15f07d(0x286)]=_0x14d524,_0x32b57d[_0x15f07d(0x3aa)]=_0x4cc5c6,_0x32b57d[_0x15f07d(0x257)]=_0x566023,_0x32b57d['WebURLService']=_0x455bac,Object[_0x15f07d(0x301)](_0x32b57d,Symbol['toStringTag'],{'value':'Module'});}));function _0x29c7(){const _0xe61df8=['BuiltInUIPart','debug','session.collaboration-timeout','unitID','set','setStateCache','ILocalStorageService','permission.content','transformByState','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_docClipboardService','Rect','_entityInit$','engine','history','@univerjs/engine-formula','UniverProCollaborationClientUi','_getScale','transformMutation','imageSourceType','getCurrentSelections','isTransformMutationsWithChangesetSuccess','_color','_localCacheService','_handleLeaveEvent','prototype','OffLineSingle','ranges','origin','_notificationService','UniverCollaborationClientUIPlugin','WebBrowserSingleActiveUnitService','black','CollaborationDataLoaderController','_sheetSkeletonManagerService','round','some','collabCursorState$','rxjs','_configService','_collaborationController','indexOf','off-line-single_clip0_910_343','UniverEngineFormula','_initResize','setParam','BehaviorSubject','CollaborationStatusDisplay','tag','getOffsetConfig','top','InsertRangeMoveRightCommandId','_imageIoService','width','...','#fff','_roomMembers$','data','xlink:href','selection','HTTPService','collabStatus.conflict','CollaborationSocketService','YUUMI_ASYNCIO_CANCELLED','CollaborationSessionService','addHandlerCallback','setAlpha','jiqing500','UniverRpc','hide','DeleteRangeMoveLeftCommandId','_transformService','isEditing','APPLY_NON_SEQUENTIAL_REVISION','_setupSubUnitSync','_hovered','registerRefRange','use','IURLService','forwardRef','EMAIL_HAS_BEEN_BOUND','event$','from','2663590XJghtm','SheetsSelectionsService','MessageType','getLocalCacheKey','transformStateCache','disposeWithMe','collaboration.single-unit.warning','includes','_status$','_render','_messageService','map','LOGIN_FAILED','INVALID_ARGUMENT','30678VJHWAF','entries','_clearOtherTimers','getTypeOfUnitAdded$','distinctUntilChanged','substring','IMessageService','_context','actions','then','apply','collab-client.tooltip.reconnect','INVITE_CODE_ALREADY_BOUND','name','setItem','send','React','UniverSheetsUi','@univerjs/docs-ui','restore','url(#$1','purple300','YUUMI_UNABLE_LOAD_URL','range','EffectRefRangId','_univerInstanceService','_setupBeforeClosingHandler','urlChange$','getStateCache','newValue','univer-offline','isArray','NOT_COLLAB','toDisposable','UniverDocs','verdancy600','_session','YUUMI_URL_COL_OUT_OF_RANGE','_urlService','executionId','collabStatus.offline','OTHER_CLIENTS_EDITING','RemoveColCommandId','forEach','assignAColorForMemberID','FromArray','_scheduleSaving','APPLY_DUPLICATED','override','getActiveRange','getSkeleton','path','_updateSubUnitFromURLParams','_registerRenderDependencies','COMPLETION_FINISHED','ILogService','Plugin','USERS_LEAVE','_heartbeatTimer','max','executeCommand','Error','M0\x200H16V16H0z','0\x200\x2017\x2016','addObject','editingUnit','RegularPolygon','INVITE_CODE_REQUIRED','column','INVITE_CODE_HAS_BEEN_UES','_updateURLWithCurrentState','runOnServer','getValue','CollaborationEvent','handleInsertCol','offline','getUniverSheetInstance','InsertRangeMoveDownCommandId','IBeforeCloseService','hasOwnProperty','4274540eHRsZk','UNRECOGNIZED','InsertColCommandId','text','UNAUTHENTICATED','SheetSkeletonManagerService','UniverSheets','getCurrent','registerDependencies','_config','min','INVALID_INVITE_CODE','currentSkeleton$','3033QyjgGQ','clsx','_refRangeService','_initEvent','_initDependencies','getTypeOfUnitDisposed$','getMemberID','stringify','DocSkeletonManagerService','getParam','get','defineProperty','getRenderById','runId','translate(.97)','requireSession','Failed','startRow','_hideTimer','37784sETFXl','clipPath','DataLoaderService','body','handleDeleteRangeMoveUp','_getSaveTimeout','clearTimeout','concat','roomMembers$','OTHER_CLIENT_EDITING','#FFF','complete','APPLY_REJECT','SUBMIT_CHANGESET_TIMEOUT','sheetID','undoState','init','univer-online-status-title','unload','jsxs','isActive','rxjs/operators','DocIMEInputManagerService','exports','collabStatus.syncing','Workbook','LICENSE_DISTRO_REJECTED','RemoteUniscriptService','ColorKit','_shapes','div','font','handleInsertRangeMoveRight','_lastPointer','search','_initEntityListener','setInterval','@univerjs/docs','_scheduleClearOtherTimer','push','error','getDocRanges','colorChannel1','useDependency','ICommandService','YUUMI_RATE_OVER_LIMIT','onCommandExecuted','hovered','key','unsubscribe','_initStatusListener','_handleJoinEvent','replaceDocRanges','HEADER_MENU','permission.title','_instanceService','getSheetId','sessionTicket','mask','memberID','MUTATION','YUUMI_NO_CUBOID_FOR_QUESTION','getMember','show','createSocket','_commandService','toString','getViewport','location','disposeUnit','_cachedData','unitId','extend','values','_transformUndoRedoStack','addEventListener','getCurrentRevOfUnit','getMergeData','storage','syncEditingCollabCursor','_unitStatus','generateRandomId','SetWorksheetActivateCommand','CollaborationStatus','_draw','endColumn','Disposable','on-line-single_clip0_910_349','ITransformService','RichTextEditingMutation','_initStatusComponent','collab-text-range-','Rectangle','_id','object','searchParams','switchMap','AWAITING','resize','href','getCollabCursors$','replace','_cursorShapes','getSheetBySheetId','_send','height','getFocusedUnit','makeDirty','_onCursorDelete','_anchorDot','debounceTime','getActiveSheet','next','Tooltip','_labelPosition','transformRemoteChangeset','_startSheetCollabCursor','/run/','TOO_MANY_REQUESTS','startsWith','PY_RUNTIME_SCRIPT_ERROR','filter','Shape','UNIVER_SHEET','_revisionService','currentColor','m2Prime','LICENSE_IMPORT_SIZE_EXCEEDED','SOCKET_FAILED','_collabCursorState$','4600735SIooLp','IImageIoService','debounce','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_drawAnchor','onPointerLeave$','FETCH_MISS','setTimeout','WECHAT_HAS_BEEN_BOUND','loadUnit','subUnitId','_drawTextRange','onMouseMove','CollaborationUIEventId','_online','wsSessionTicketUrl','_hover','getUnhiddenWorksheets','transformIMECache','INotificationService','UniverInstanceType','32001RVveob','subunit','COLORS','_toggleOnline','collabStatus.synced','Unknown\x20user','univer-online-status-icon','children','@univerjs/engine-render','_anchor','SheetCollabCursorShape','serializeRangeWithSheet','RevisionService','find','_getSessionTicket','SHEET_VIEWPORT_KEY','_onRefRangeChange','JOIN_ROOM_FAILED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_assignedColors','post','skeleton','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','PENDING','getColor','UPDATE_CURSOR','setActiveRange','Injector','SetSelectionsOperation','IDocClipboardService','combineLatest','save','_drawRectRange','useRef','string','_unitOnClients','off-line-single','clearInterval','_collabSessionService','_docSyncEditingCollabCursorService','AWAITING_WITH_PENDING','transformSelections','triggerDblclick','getCurrentUnitForType','arc','propertyIsEnumerable','_httpService','type','_themeService','length','_textBubble','_toggleOffline','INTERNAL_ERROR','transformMutationsWithChangeset','_colorAssignService','fillText','displayName','assign','getUndoRedoMutationParamsCache','_initCommandExecutedListener','_docStateChangeManagerService','getOwnPropertyDescriptor','_startDocCollabCursor','_collaborationUIEventService','UNDEFINED','fillRule','_selfUnitIDs','textRanges','IRenderManagerService','idSuffix','Warning','closePath','color','_transformHistoryAndStateStack','setConfig','getRangePointData','UNIVER_DOC','_docSkeletonManagerService','onRendered','Vector2','random','updateOfflineData','sheetId','_getMergeRange','redoState','MemberService','_ensureSubject','startColumn','CHANGESET_REVISION_CONFILICT','function','pushState','fillStyle','_cursorInfo$','addObjects','CONNECTOR_DATA_TOO_LARGE','doc.mutation.rich-text-editing','removeParam','ticket','@univerjs-pro/collaboration-client','DOC_RANGE_TYPE','takeUntil','collabStatus.fetchMiss','[CollaborationDataLoaderController]','IConfigService','mutations','RemoveRowCommandId','getOwnPropertySymbols','onlineStatusIcon','useCallback','@univerjs/rpc','with','size','_entities','onLocalMutation','asObservable','evenodd','_colorIndex','_logService','ISocketService','_refreshCollabCursors','exhaustSavingTask','_renderManagerService','pipe','saveTaskMap','LocaleService','handleInsertRangeMoveDown','_cursor','_memberService','dispose$','ILocalCacheService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','SOCKET_FAILED_RETRY','_getAnchorBounding','@univerjs/sheets','jsx','eventID','call','_transformPreviousActiveRange','CommandType','ONLINE','sessionStatus$','@univerjs/design','_getSheetObject','_removeCollabCursors','url(#off-line-single_clip0_910_343)','_init','@univerjs/ui','APPLY_PERMISSION_DENIED','DependentOn','collabStatus.notCollab','registerBeforeClose','_saveCache','2748680ZQsBSc','DocCollaborationEntity','_updateCollabCursors','onlineStatus','getCellPositionByOffset','_localeService','NO_OTHER_CLIENTS_EDITING','findNodePositionByCharIndex','_range','red300','@univerjs-pro/collaboration','_localStorageService','UniverProCollaborationClient','@univerjs/sheets-ui','@univerjs/core','setShapeProps','_onCursorUpdate','flatMap','touchDependencies','RxDisposable','_uiPartsService','getCoordByCell','attrs','SYNCED','svg','SNAPSHOT_HAS_BEEN_REMOVED','onPointerEnter$','_disabled','ALREADY_EXISTS','delete','unshift','_injector','all','row','_handleHover','collaboration.closeRoom','fill','IRemoteInstanceService','_syncEditingCollabCursorService','DocSelectionManagerService','dispose','SNAPSHOT_INVALID_SNAPSHOT','UnitStatus','_scene','1722SdLDfP','UniverDocsUi','_docSkeleton','_docTransformStateCacheService','subscribeEvent','_registerDependencies','setUndoRedoMutationParamsCache','fromEvent','bottom','disableLocalCache','merge','pluginName','parse','_collabCursorController','Optional','WebSocketService','subscribe','unit','createElement','drawWith','LICENSE_MAX_UNITS_EXCEEDED','toRgbString','IUniverInstanceService','CLOSE_ROOM','roomMembers','params','getUnitId','UniverProCollaboration','icon','ENSURE_SNAPSHOT_EXECUTION','getVpScrollXYInfoByPosToVp','on-line-single','_handleHeartbeatEvent','getRelativeToViewportCoord','MOBILE_HAS_BEEN_BOUND','TEXT_RANGE_LAYER_INDEX','defs','shareReplay','session.will-retry','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','onPointerMove$','Tools','@univerjs/drawing','_backgroundColor','whenReady','_docTransformIMECacheService','measureText','_createSocketURL','PERMISSION_DENIED','registerRenderModule','InsertRowCommandId','cursorInfo','_eventUnsubscribe','none','SetTextSelectionsOperation','DocStateChangeManagerService','m1Prime','_dataLoaderService','CONFLICT','isTransformMutationFailure','3zrToIp','rgba(255,\x20255,\x20255,\x200.01)','trim','getConfig','_saveTaskMap','deserializeRangeWithSheet','BrowserCollaborationSocketService','lineTo','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','NodePositionConvertToCursor','LOCAL_CACHE_INTERVAL','_removeClearOtherTimer','_scheduleHeartbeat','SessionStatus','gold400','result','collab-text-anchor-','USER_NOT_INVITED_CODE','NOT_FOUND','defIds','deepClone','status$','TEXT','_cursors','add','TRANSFORM_CHANGE_OBSERVABLE_TYPE','has','activeSheet$','Inject','DesktopCollaborationStatusDisplayController','_updateLocalCursor','OnLineSingle','DEFAULT_WS_SESSION_TICKET_URL','1em','docStateChange$','_document','symbol','transform','mergeOverrideWithDependencies','RECT','_handleEvent','selections','current','_name','_docTransformSelectionsService','cursorInfo$','handleIRemoveRow','@univerjs/network','YUUMI_SUBSCRIPTION_NOT_FOUND'];_0x29c7=function(){return _0xe61df8;};return _0x29c7();}