@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202504291607 → 0.7.0-nightly.202504301607

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 _0x44a6(_0x4478dd,_0x3fed41){const _0x3abd59=_0x3abd();return _0x44a6=function(_0x44a67b,_0x4aee14){_0x44a67b=_0x44a67b-0xea;let _0x3ef1fa=_0x3abd59[_0x44a67b];return _0x3ef1fa;},_0x44a6(_0x4478dd,_0x3fed41);}(function(_0xace6bb,_0x36bb4c){const _0x594f8b=_0x44a6,_0x1b05b5=_0xace6bb();while(!![]){try{const _0x5da8c9=parseInt(_0x594f8b(0x162))/0x1*(-parseInt(_0x594f8b(0x1d3))/0x2)+parseInt(_0x594f8b(0x1ec))/0x3*(-parseInt(_0x594f8b(0x10b))/0x4)+parseInt(_0x594f8b(0x19e))/0x5+parseInt(_0x594f8b(0x190))/0x6+-parseInt(_0x594f8b(0x338))/0x7+-parseInt(_0x594f8b(0x1e5))/0x8*(parseInt(_0x594f8b(0x1d5))/0x9)+parseInt(_0x594f8b(0x29e))/0xa;if(_0x5da8c9===_0x36bb4c)break;else _0x1b05b5['push'](_0x1b05b5['shift']());}catch(_0x3eee91){_0x1b05b5['push'](_0x1b05b5['shift']());}}}(_0x3abd,0xa19c6),function(_0x44a210,_0x5205b3){const _0x18e2cd=_0x44a6;typeof exports=='object'&&typeof module<'u'?_0x5205b3(exports,require(_0x18e2cd(0x266)),require(_0x18e2cd(0x36e)),require('@univerjs/engine-render'),require(_0x18e2cd(0x17d)),require(_0x18e2cd(0x18b)),require(_0x18e2cd(0x2e4)),require(_0x18e2cd(0xef)),require(_0x18e2cd(0x315)),require(_0x18e2cd(0x2d0)),require(_0x18e2cd(0x1d9)),require('@univerjs/sheets'),require(_0x18e2cd(0x15a)),require(_0x18e2cd(0x385)),require('react/jsx-runtime'),require(_0x18e2cd(0x179)),require(_0x18e2cd(0x347)),require(_0x18e2cd(0x104)),require('@univerjs/rpc')):typeof define==_0x18e2cd(0x1f0)&&define[_0x18e2cd(0x1d2)]?define([_0x18e2cd(0x109),_0x18e2cd(0x266),'@univerjs/core',_0x18e2cd(0x302),_0x18e2cd(0x17d),_0x18e2cd(0x18b),'@univerjs/drawing',_0x18e2cd(0xef),_0x18e2cd(0x315),_0x18e2cd(0x2d0),_0x18e2cd(0x1d9),_0x18e2cd(0x1a1),_0x18e2cd(0x15a),'@univerjs/sheets-ui',_0x18e2cd(0x17c),'@univerjs/ui','@univerjs/design',_0x18e2cd(0x104),_0x18e2cd(0x365)],_0x5205b3):(_0x44a210=typeof globalThis<'u'?globalThis:_0x44a210||self,_0x5205b3(_0x44a210['UniverProCollaborationClientUi']={},_0x44a210[_0x18e2cd(0x22e)],_0x44a210[_0x18e2cd(0x1c5)],_0x44a210['UniverEngineRender'],_0x44a210[_0x18e2cd(0x135)],_0x44a210[_0x18e2cd(0x17e)],_0x44a210['UniverDrawing'],_0x44a210[_0x18e2cd(0xef)],_0x44a210[_0x18e2cd(0x13b)],_0x44a210['UniverProCollaboration'],_0x44a210[_0x18e2cd(0x24f)],_0x44a210['UniverSheets'],_0x44a210['rxjs'][_0x18e2cd(0x195)],_0x44a210[_0x18e2cd(0x309)],_0x44a210['React'],_0x44a210[_0x18e2cd(0x233)],_0x44a210[_0x18e2cd(0xf5)],_0x44a210[_0x18e2cd(0x1fc)],_0x44a210[_0x18e2cd(0x30e)]));}(this,function(_0x23fa2d,_0x423a8c,_0x435b21,_0x4af3d8,_0x4e6983,_0x4b4959,_0x3001d4,_0x2cd233,_0xf499cd,_0x1e007a,_0x54ae3a,_0x4e65b0,_0x4ce2ac,_0x487df1,_0x242235,_0x58ede6,_0x3971cd,_0x37c89d,_0x47f244){'use strict';const _0x2c927c=_0x44a6;var _0x77b400=Object[_0x2c927c(0x386)],_0x5ef43f=(_0x4e481e,_0x2478d8,_0x417c80)=>_0x2478d8 in _0x4e481e?_0x77b400(_0x4e481e,_0x2478d8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x417c80}):_0x4e481e[_0x2478d8]=_0x417c80,_0x38f83b=(_0x1f0ee0,_0x161b08,_0x399874)=>_0x5ef43f(_0x1f0ee0,typeof _0x161b08!=_0x2c927c(0x1ac)?_0x161b08+'':_0x161b08,_0x399874),_0x51e326=Object['getOwnPropertyDescriptor'],_0xa50cb6=(_0x29b947,_0x1ca5e6,_0x35dbce,_0xfa32a1)=>{const _0x3d4fa1=_0x2c927c;for(var _0x134a26=_0xfa32a1>0x1?void 0x0:_0xfa32a1?_0x51e326(_0x1ca5e6,_0x35dbce):_0x1ca5e6,_0x208b58=_0x29b947[_0x3d4fa1(0x1cb)]-0x1,_0x59fa0;_0x208b58>=0x0;_0x208b58--)(_0x59fa0=_0x29b947[_0x208b58])&&(_0x134a26=_0x59fa0(_0x134a26)||_0x134a26);return _0x134a26;},_0x2d972f=(_0x5e09cb,_0x38dc46)=>(_0x3072db,_0x4ebb6b)=>_0x38dc46(_0x3072db,_0x4ebb6b,_0x5e09cb);let _0x49f868=class extends _0x435b21[_0x2c927c(0x30a)]{constructor(_0x94d13c,_0x361929){const _0x515856=_0x2c927c;super(),this[_0x515856(0x364)]=_0x94d13c,this['_imageIoService']=_0x361929,this[_0x515856(0x170)]();}[_0x2c927c(0x170)](){const _0x33073a=_0x2c927c,_0x301856=this;this[_0x33073a(0x2db)](this[_0x33073a(0x364)][_0x33073a(0x2f2)]({'onBeforePasteImage':async _0x222af6=>{const _0x41e648=_0x33073a,_0x5e64d5=await _0x301856[_0x41e648(0x289)]['saveImage'](_0x222af6);return _0x5e64d5?{'source':_0x5e64d5[_0x41e648(0x226)],'imageSourceType':_0x5e64d5['imageSourceType']}:null;}}));}};_0x49f868=_0xa50cb6([_0x2d972f(0x0,_0x4b4959['IDocClipboardService']),_0x2d972f(0x1,_0x3001d4[_0x2c927c(0x366)])],_0x49f868);const _0x5b4aad=['purple300','jiqing500',_0x2c927c(0x1ae),_0x2c927c(0x21f),_0x2c927c(0x224),_0x2c927c(0x34d)];class _0x90e5a9 extends _0x435b21[_0x2c927c(0x241)]{constructor(){const _0x556c1a=_0x2c927c;super(...arguments),_0x38f83b(this,_0x556c1a(0x2ba),new Map()),_0x38f83b(this,_0x556c1a(0x36f),0x0);}[_0x2c927c(0x15e)](_0x23adca){const _0x36ca9c=_0x2c927c;if(this[_0x36ca9c(0x2ba)][_0x36ca9c(0x133)](_0x23adca))return this[_0x36ca9c(0x2ba)]['get'](_0x23adca);const _0x493d8e=_0x5b4aad[this['_colorIndex']];return this[_0x36ca9c(0x36f)]=(this[_0x36ca9c(0x36f)]+0x1)%_0x5b4aad[_0x36ca9c(0x1cb)],this[_0x36ca9c(0x2ba)][_0x36ca9c(0x1e0)](_0x23adca,_0x493d8e),_0x493d8e;}}function _0x7b06ce(_0x5cfd37){const _0x89278d=_0x2c927c;let _0x3ca989='';for(const _0x5e0ead of _0x5cfd37){const {startOffset:_0x5312d7,endOffset:_0x403b41,isActive:_0x5dfdd3,rangeType:_0x5f0c3b,segmentId:_0x1beed9,segmentPage:_0x50ccee}=_0x5e0ead;_0x3ca989[_0x89278d(0x1cb)]&&(_0x3ca989+=','),_0x3ca989+=_0x5312d7+':'+_0x403b41+':'+(_0x5dfdd3?'1':'0')+':'+_0x5f0c3b+':'+_0x1beed9+':'+_0x50ccee;}return _0x3ca989;}function _0x2d7ed1(_0x5a988a){const _0x5861a8=_0x2c927c,_0x2dcdb9=_0x5a988a[_0x5861a8(0x152)](','),_0xf96efa=[];for(const _0x30262c of _0x2dcdb9){const [_0x369be6,_0x4c9df3,_0x28449b,_0x2e5c4c,_0x2ff804,_0x353851]=_0x30262c['split'](':');_0xf96efa[_0x5861a8(0x2fb)]({'startOffset':Number(_0x369be6),'endOffset':Number(_0x4c9df3),'collapsed':_0x369be6===_0x4c9df3,'isActive':_0x28449b==='1','rangeType':_0x2e5c4c===_0x435b21[_0x5861a8(0x23d)][_0x5861a8(0x277)]?_0x435b21[_0x5861a8(0x23d)][_0x5861a8(0x277)]:_0x435b21[_0x5861a8(0x23d)][_0x5861a8(0x188)],'segmentId':typeof _0x2ff804==_0x5861a8(0x250)?String(_0x2ff804):'','segmentPage':Number(_0x353851!=null?_0x353851:-0x1)});}return _0xf96efa[_0x5861a8(0x2a7)](_0x70c67=>_0x70c67['isActive'])||(_0xf96efa[0x0][_0x5861a8(0x2d6)]=!0x0),_0xf96efa;}class _0x4a01ed extends _0x435b21['RxDisposable']{constructor(){const _0x1d1189=_0x2c927c;super(...arguments),_0x38f83b(this,'_collabCursorState$',new _0x2cd233[(_0x1d1189(0x11a))](null)),_0x38f83b(this,_0x1d1189(0x1f2),this[_0x1d1189(0x147)][_0x1d1189(0x27a)]());}[_0x2c927c(0x1fb)](_0x3f290a){const _0x126dd9=_0x2c927c,{unitID:_0x47fb24,memberID:_0x11f55f,textRanges:_0x5ca09b}=_0x3f290a,_0x3991a4=_0x7b06ce(_0x5ca09b);if(_0x3991a4==='')return;const _0x22068c={'unitID':_0x47fb24,'memberID':_0x11f55f,'selection':_0x3991a4};this['_collabCursorState$'][_0x126dd9(0x1ab)](_0x22068c);}}var _0x2c1eca=Object[_0x2c927c(0x23e)],_0x3cf3d6=(_0x5cd87a,_0x4944df,_0x8aa157,_0x13199e)=>{for(var _0x192f5c=_0x13199e>0x1?void 0x0:_0x13199e?_0x2c1eca(_0x4944df,_0x8aa157):_0x4944df,_0x1808c9=_0x5cd87a['length']-0x1,_0x1fa1bd;_0x1808c9>=0x0;_0x1808c9--)(_0x1fa1bd=_0x5cd87a[_0x1808c9])&&(_0x192f5c=_0x1fa1bd(_0x192f5c)||_0x192f5c);return _0x192f5c;},_0x4f9a15=(_0x22e071,_0x409b4f)=>(_0x28e803,_0x1e2d3a)=>_0x409b4f(_0x28e803,_0x1e2d3a,_0x22e071);const _0x575a13=0x12c,_0x3ba972=0x64;let _0x232c48=class extends _0x435b21['RxDisposable']{constructor(_0x405454,_0x2188a0,_0x5c8ac0,_0xcf80b3,_0x2aaf31,_0x2e8ad4,_0x53fb47,_0x2e9b68,_0x589ed2){const _0x150869=_0x2c927c;super(),_0x38f83b(this,_0x150869(0x258),!0x1),_0x38f83b(this,_0x150869(0x170),!0x1),_0x38f83b(this,_0x150869(0x12f),new _0x2cd233[(_0x150869(0x11a))](new Map())),_0x38f83b(this,_0x150869(0x16a),this[_0x150869(0x12f)]['asObservable']()),_0x38f83b(this,_0x150869(0x149),new _0x2cd233['BehaviorSubject']([])),_0x38f83b(this,_0x150869(0x2bf),this[_0x150869(0x149)]['pipe'](_0x2cd233[_0x150869(0x32d)](_0x575a13))),_0x38f83b(this,_0x150869(0x20d),_0x435b21[_0x150869(0x156)](_0x4f5434=>{const _0xa6b291=_0x150869,_0x253bd9={'eventID':_0x1e007a[_0xa6b291(0x337)][_0xa6b291(0x1f9)],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x7b06ce(_0x4f5434)}};this[_0xa6b291(0x138)][_0xa6b291(0x150)](_0x253bd9,this[_0xa6b291(0x24c)]);},_0x3ba972)),(this['unitID']=_0x405454,this['_session']=_0x2188a0,this[_0x150869(0x234)]=_0x5c8ac0,this['_colorAssignService']=_0xcf80b3,this[_0x150869(0x31a)]=_0x2aaf31,this[_0x150869(0x2ab)]=_0x2e8ad4,this[_0x150869(0x185)]=_0x53fb47,this[_0x150869(0x2cc)]=_0x2e9b68,this[_0x150869(0x36c)]=_0x589ed2);}get[_0x2c927c(0x22b)](){const _0x566f7b=_0x2c927c;return this[_0x566f7b(0x12f)][_0x566f7b(0x2c8)]();}get['roomMembers'](){const _0x4a56d4=_0x2c927c;return this['_roomMembers$'][_0x4a56d4(0x2c8)]();}[_0x2c927c(0x355)](){const _0x53e859=_0x2c927c;super[_0x53e859(0x355)](),this[_0x53e859(0x12f)][_0x53e859(0x1ab)](new Map()),this[_0x53e859(0x12f)]['complete'](),this['_roomMembers$'][_0x53e859(0x1ab)]([]),this[_0x53e859(0x149)][_0x53e859(0x24e)]();}['init'](){const _0xee1457=_0x2c927c;this[_0xee1457(0x170)]||(this['_init']=!0x0,this[_0xee1457(0x138)]['sessionStatus$'][_0xee1457(0x27e)](_0x2cd233[_0xee1457(0x308)](this[_0xee1457(0x1db)]))[_0xee1457(0x33d)](_0x29c1ce=>{const _0x3c8684=_0xee1457;_0x29c1ce===_0x423a8c[_0x3c8684(0x1b9)][_0x3c8684(0x120)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session'][_0xee1457(0x303)][_0xee1457(0x27e)](_0x2cd233['takeUntil'](this[_0xee1457(0x1db)]))[_0xee1457(0x33d)](_0x34fcfa=>{const _0x48fb7e=_0xee1457,_0x17fe4d=_0x34fcfa[_0x48fb7e(0x2ca)];_0x17fe4d===_0x1e007a[_0x48fb7e(0x337)][_0x48fb7e(0x1f9)]&&this['_onCursorUpdate'](_0x34fcfa),_0x17fe4d===_0x1e007a[_0x48fb7e(0x337)][_0x48fb7e(0x332)]&&this[_0x48fb7e(0x352)](_0x34fcfa);}),this[_0xee1457(0x2db)](this[_0xee1457(0x36c)][_0xee1457(0x37f)](_0x39597f=>{const _0x17aa91=_0xee1457,_0x3592df=_0x39597f[_0x17aa91(0x318)];_0x3592df!=null&&this['_online']&&_0x39597f['id']===_0xf499cd[_0x17aa91(0x183)]['id']&&_0x3592df[_0x17aa91(0x31c)]===this['unitID']&&_0x3592df['isEditing']===!0x1&&_0x3592df[_0x17aa91(0x2c4)]['length']>0x0&&this[_0x17aa91(0x20d)](_0x3592df[_0x17aa91(0x2c4)]);})),this[_0xee1457(0x2ab)][_0xee1457(0x1f2)][_0xee1457(0x27e)](_0x2cd233[_0xee1457(0x308)](this['dispose$']))[_0xee1457(0x33d)](_0x1ce77e=>{const _0x3acec5=_0xee1457;if((_0x1ce77e==null?void 0x0:_0x1ce77e[_0x3acec5(0x24c)])!==this[_0x3acec5(0x24c)])return;const _0x4a52bd={'eventID':_0x1e007a[_0x3acec5(0x337)][_0x3acec5(0x1f9)],'data':_0x1ce77e};this[_0x3acec5(0x320)](_0x4a52bd);}),this['disposeWithMe'](this[_0xee1457(0x36c)][_0xee1457(0x37f)](_0x2b63fc=>{const _0x5b152a=_0xee1457;if(_0x2b63fc[_0x5b152a(0x318)]==null)return;const _0x50ab5b=_0x2b63fc[_0x5b152a(0x318)];if(_0x2b63fc['id']!==_0xf499cd['RichTextEditingMutation']['id']||_0x50ab5b[_0x5b152a(0x31c)]!==this[_0x5b152a(0x24c)])return;const _0x1cd0c2={'id':_0x5b152a(0x142),'params':_0x50ab5b},_0x5cff2a=this['cursorInfo'];for(const [_0x235c6b,_0x5984a1]of _0x5cff2a){const _0x2458bc={'id':_0x5b152a(0x142),'params':{'unitId':this[_0x5b152a(0x24c)],'actions':null,'textRanges':_0x5984a1[_0x5b152a(0x2c4)]}},_0x24434d=this[_0x5b152a(0x185)]['transformMutation'](_0x1cd0c2,_0x2458bc,!0x1);if(_0x1e007a[_0x5b152a(0x160)](_0x24434d))throw _0x24434d[_0x5b152a(0x12d)];_0x5cff2a[_0x5b152a(0x1e0)](_0x235c6b,{..._0x5984a1,'ranges':_0x24434d[_0x5b152a(0x1d7)][_0x5b152a(0x318)][_0x5b152a(0xf2)]});}queueMicrotask(()=>{const _0x3c0198=_0x5b152a;this[_0x3c0198(0x12f)][_0x3c0198(0x1ab)](_0x5cff2a);});})));}[_0x2c927c(0x320)](_0x585457){const _0x29df22=_0x2c927c;var _0x3837a2,_0x363054;const {memberID:_0x4c7304,selection:_0x254f28}=_0x585457[_0x29df22(0x1dc)],_0x251e46=_0x2d7ed1(_0x254f28),_0x2959ec=(_0x363054=(_0x3837a2=this[_0x29df22(0x31a)][_0x29df22(0x264)](this['unitID'],_0x4c7304))==null?void 0x0:_0x3837a2['name'])!=null?_0x363054:_0x29df22(0x300),_0x11b527={'color':this[_0x29df22(0x2a2)][_0x29df22(0x15e)](_0x4c7304),'name':_0x2959ec,'ranges':_0x251e46},_0x12f581=this[_0x29df22(0x22b)];_0x12f581[_0x29df22(0x1e0)](_0x4c7304,_0x11b527),this[_0x29df22(0x12f)][_0x29df22(0x1ab)](_0x12f581);}[_0x2c927c(0x352)](_0x599ea4){const _0x194e46=_0x2c927c,{memberID:_0xe88a2}=_0x599ea4[_0x194e46(0x1dc)],_0x392498=this[_0x194e46(0x22b)];_0x392498[_0x194e46(0x191)](_0xe88a2),this[_0x194e46(0x12f)]['next'](_0x392498);}[_0x2c927c(0x232)](){const _0x587631=_0x2c927c;var _0x151122;if(this[_0x587631(0x258)]=!0x0,((_0x151122=this[_0x587631(0x2cc)]['getFocusedUnit']())==null?void 0x0:_0x151122[_0x587631(0x349)]())!==this[_0x587631(0x24c)])return;const _0x5d112a=this['_injector'][_0x587631(0x373)](_0xf499cd[_0x587631(0x143)])['getDocRanges']();Array[_0x587631(0x2b2)](_0x5d112a)&&_0x5d112a[_0x587631(0x1cb)]>0x0&&this['_updateLocalCursor'](_0x5d112a);}[_0x2c927c(0x1d1)](){const _0xcd32b9=_0x2c927c;this[_0xcd32b9(0x258)]=!0x1;}};_0x232c48=_0x3cf3d6([_0x4f9a15(0x2,_0x435b21['Inject'](_0x435b21[_0x2c927c(0x11c)])),_0x4f9a15(0x3,_0x435b21['Inject'](_0x90e5a9)),_0x4f9a15(0x4,_0x435b21[_0x2c927c(0x10f)](_0x423a8c['MemberService'])),_0x4f9a15(0x5,_0x435b21[_0x2c927c(0x10f)](_0x4a01ed)),_0x4f9a15(0x6,_0x1e007a[_0x2c927c(0x1be)]),_0x4f9a15(0x7,_0x435b21['IUniverInstanceService']),_0x4f9a15(0x8,_0x435b21[_0x2c927c(0x310)])],_0x232c48);var _0x1eb027=Object['getOwnPropertyDescriptor'],_0x478352=(_0x1d0f0b,_0xda490c,_0x2a1979,_0x4a7d43)=>{const _0x20a0c6=_0x2c927c;for(var _0x48e3ba=_0x4a7d43>0x1?void 0x0:_0x4a7d43?_0x1eb027(_0xda490c,_0x2a1979):_0xda490c,_0x2b42ab=_0x1d0f0b[_0x20a0c6(0x1cb)]-0x1,_0x3b948e;_0x2b42ab>=0x0;_0x2b42ab--)(_0x3b948e=_0x1d0f0b[_0x2b42ab])&&(_0x48e3ba=_0x3b948e(_0x48e3ba)||_0x48e3ba);return _0x48e3ba;},_0x4bfaeb=(_0x521cab,_0x5bee56)=>(_0x4ab914,_0x4f6b77)=>_0x5bee56(_0x4ab914,_0x4f6b77,_0x521cab);const _0x58dd89=0x12c,_0x463f57=0x64,_0x13680a=()=>{let _0x1f47a3=[],_0x4469e3=!0x1;return _0x2769f2=>{const _0x54c323=_0x44a6;_0x1f47a3[_0x54c323(0x2fb)](_0x2769f2),_0x4469e3||(_0x4469e3=!0x0,setTimeout(()=>{_0x1f47a3['forEach'](_0x1e9d7d=>_0x1e9d7d()),_0x1f47a3=[],_0x4469e3=!0x1;}));};};let _0x30ea1a=class extends _0x435b21['RxDisposable']{constructor(_0x4fe11f,_0x48d262,_0x598364,_0x365ff6,_0x16bc64,_0x27b903,_0x32c100,_0x37c634){const _0x5a5d64=_0x2c927c;super(),_0x38f83b(this,_0x5a5d64(0x258),!0x1),_0x38f83b(this,_0x5a5d64(0x170),!0x1),_0x38f83b(this,_0x5a5d64(0x12f),new _0x2cd233['BehaviorSubject'](new Map())),_0x38f83b(this,_0x5a5d64(0x16a),this['_cursorInfo$'][_0x5a5d64(0x27a)]()),_0x38f83b(this,_0x5a5d64(0x149),new _0x2cd233[(_0x5a5d64(0x11a))]([])),_0x38f83b(this,_0x5a5d64(0x2bf),this[_0x5a5d64(0x149)][_0x5a5d64(0x27e)](_0x2cd233[_0x5a5d64(0x32d)](_0x58dd89))),_0x38f83b(this,_0x5a5d64(0x20d),_0x435b21[_0x5a5d64(0x156)]((_0x96d3f2,_0xa9d505)=>{const _0xb9ba14=_0x5a5d64,_0x368d8d={'eventID':_0x1e007a[_0xb9ba14(0x337)][_0xb9ba14(0x1f9)],'data':{'unitID':this['unitID'],'memberID':this[_0xb9ba14(0x138)]['getMemberID'](),'selection':_0x54ae3a[_0xb9ba14(0x360)](_0x96d3f2,_0xa9d505[_0xb9ba14(0x1af)])}};this['_session'][_0xb9ba14(0x150)](_0x368d8d,this[_0xb9ba14(0x24c)]);},_0x463f57)),(this[_0x5a5d64(0x24c)]=_0x4fe11f,this[_0x5a5d64(0x138)]=_0x48d262,this['_injector']=_0x598364,this[_0x5a5d64(0x2a2)]=_0x365ff6,this[_0x5a5d64(0x31a)]=_0x16bc64,this[_0x5a5d64(0x2cc)]=_0x27b903,this[_0x5a5d64(0x36c)]=_0x32c100,this[_0x5a5d64(0x33b)]=_0x37c634);}get['cursorInfo'](){const _0x28d895=_0x2c927c;return this[_0x28d895(0x12f)][_0x28d895(0x2c8)]();}get[_0x2c927c(0x25f)](){const _0x3a748d=_0x2c927c;return this[_0x3a748d(0x149)][_0x3a748d(0x2c8)]();}[_0x2c927c(0x355)](){const _0x2b85e5=_0x2c927c;super['dispose'](),this['_cursorInfo$'][_0x2b85e5(0x1ab)](new Map()),this[_0x2b85e5(0x12f)][_0x2b85e5(0x24e)](),this[_0x2b85e5(0x149)][_0x2b85e5(0x1ab)]([]),this[_0x2b85e5(0x149)][_0x2b85e5(0x24e)]();}[_0x2c927c(0x124)](){const _0x454403=_0x2c927c;this[_0x454403(0x170)]||(this[_0x454403(0x170)]=!0x0,this[_0x454403(0x138)][_0x454403(0x2c2)][_0x454403(0x27e)](_0x2cd233[_0x454403(0x308)](this['dispose$']))[_0x454403(0x33d)](_0x37cec1=>{const _0x309c62=_0x454403;_0x37cec1===_0x423a8c[_0x309c62(0x1b9)][_0x309c62(0x120)]?this[_0x309c62(0x232)]():this[_0x309c62(0x1d1)]();}),this[_0x454403(0x138)]['event$']['pipe'](_0x2cd233[_0x454403(0x308)](this[_0x454403(0x1db)]))[_0x454403(0x33d)](_0xa54e38=>{const _0x39e27e=_0x454403,_0x1944d0=_0xa54e38[_0x39e27e(0x2ca)];_0x1944d0===_0x1e007a[_0x39e27e(0x337)]['UPDATE_CURSOR']&&this[_0x39e27e(0x320)](_0xa54e38),_0x1944d0===_0x1e007a[_0x39e27e(0x337)][_0x39e27e(0x332)]&&this[_0x39e27e(0x352)](_0xa54e38);}),this[_0x454403(0x328)](),this[_0x454403(0x2db)](this[_0x454403(0x36c)][_0x454403(0x37f)](_0x1dccbb=>{const _0x2a8aef=_0x454403;if(this['_online']&&_0x1dccbb['id']===_0x4e65b0['SetSelectionsOperation']['id']&&_0x1dccbb['params']['unitId']===this['unitID']){const _0x3a9cec=_0x1dccbb[_0x2a8aef(0x318)];this[_0x2a8aef(0x20d)](_0x3a9cec[_0x2a8aef(0x21e)],_0x3a9cec['selections'][0x0]);}})));}[_0x2c927c(0x320)](_0x566d5a){const _0x5eb266=_0x2c927c;var _0x4e8797,_0x4b0c8a;const {memberID:_0x1949da,selection:_0x1e1d81}=_0x566d5a[_0x5eb266(0x1dc)],{sheetName:_0x4c068f,range:_0x1d5de1}=_0x54ae3a[_0x5eb266(0x123)](_0x1e1d81),_0x3a53a8={'name':(_0x4b0c8a=(_0x4e8797=this['_memberService'][_0x5eb266(0x264)](this['unitID'],_0x1949da))==null?void 0x0:_0x4e8797[_0x5eb266(0x2f0)])!=null?_0x4b0c8a:_0x5eb266(0x300),'range':this[_0x5eb266(0x274)](_0x4c068f,_0x1d5de1),'sheetID':_0x4c068f,'color':this[_0x5eb266(0x2a2)][_0x5eb266(0x15e)](_0x1949da),'selection':_0x1e1d81},_0x284ab4=this[_0x5eb266(0x22b)];_0x284ab4[_0x5eb266(0x1e0)](_0x1949da,_0x3a53a8),this[_0x5eb266(0x12f)][_0x5eb266(0x1ab)](_0x284ab4);}[_0x2c927c(0x352)](_0x257578){const _0x149035=_0x2c927c,{memberID:_0x526d2c}=_0x257578[_0x149035(0x1dc)],_0x507b5a=this[_0x149035(0x22b)];_0x507b5a[_0x149035(0x191)](_0x526d2c),this[_0x149035(0x12f)]['next'](_0x507b5a);}['_getMergeRange'](_0x25b31c,_0x5511ba){const _0x3a8e0a=_0x2c927c;var _0x1a77d6,_0x1a5a8a;const _0x2ba1cb=(_0x1a5a8a=(_0x1a77d6=this[_0x3a8e0a(0x2cc)][_0x3a8e0a(0x27b)](this[_0x3a8e0a(0x24c)]))==null?void 0x0:_0x1a77d6['getSheetBySheetId'](_0x25b31c))==null?void 0x0:_0x1a5a8a['getMergeData']();return(_0x2ba1cb==null?void 0x0:_0x2ba1cb[_0x3a8e0a(0x19d)](_0x5a6bb1=>_0x435b21[_0x3a8e0a(0x242)][_0x3a8e0a(0x2f1)](_0x5a6bb1,_0x5511ba)))||_0x5511ba;}[_0x2c927c(0x328)](){const _0x3986fc=_0x2c927c,_0x19d525=new _0x435b21[(_0x3986fc(0x240))](),_0x2733c0=_0x13680a(),_0x4e5c77=()=>{const _0x328a60=_0x3986fc;_0x19d525[_0x328a60(0x355)]();const _0xbd0f9d=(_0x55b7e5,_0x3453e2,_0x496121,_0x10e5e3)=>{const _0x495e6b=_0x328a60;let _0x2243d1=[];switch(_0x55b7e5['id']){case _0x4e65b0[_0x495e6b(0x2ff)]['DeleteRangeMoveLeftCommandId']:{_0x2243d1=_0x4e65b0[_0x495e6b(0x110)](_0x55b7e5,_0x10e5e3);break;}case _0x4e65b0[_0x495e6b(0x2ff)][_0x495e6b(0x144)]:{_0x2243d1=_0x4e65b0[_0x495e6b(0x227)](_0x55b7e5,_0x10e5e3);break;}case _0x4e65b0[_0x495e6b(0x2ff)]['InsertColCommandId']:{_0x2243d1=_0x4e65b0['handleInsertCol'](_0x55b7e5,_0x10e5e3);break;}case _0x4e65b0[_0x495e6b(0x2ff)][_0x495e6b(0x361)]:{_0x2243d1=_0x4e65b0[_0x495e6b(0x1fd)](_0x55b7e5,_0x10e5e3);break;}case _0x4e65b0['EffectRefRangId'][_0x495e6b(0x2a6)]:{_0x2243d1=_0x4e65b0[_0x495e6b(0x321)](_0x55b7e5,_0x10e5e3);break;}case _0x4e65b0['EffectRefRangId'][_0x495e6b(0x141)]:{_0x2243d1=_0x4e65b0[_0x495e6b(0x37c)](_0x55b7e5,_0x10e5e3);break;}case _0x4e65b0[_0x495e6b(0x2ff)][_0x495e6b(0x10e)]:{_0x2243d1=_0x4e65b0[_0x495e6b(0x346)](_0x55b7e5,_0x10e5e3);break;}case _0x4e65b0[_0x495e6b(0x2ff)][_0x495e6b(0x368)]:{_0x2243d1=_0x4e65b0[_0x495e6b(0x119)](_0x55b7e5,_0x10e5e3);break;}case _0x4e65b0['EffectRefRangId'][_0x495e6b(0x363)]:{_0x2243d1=_0x4e65b0[_0x495e6b(0xf9)](_0x55b7e5,_0x10e5e3);break;}}const _0x550bfd=_0x4e65b0['runRefRangeMutations'](_0x2243d1,_0x10e5e3),_0x3a6e32=this[_0x495e6b(0x22b)][_0x495e6b(0x373)](_0x3453e2);if(_0x3a6e32&&_0x550bfd){const _0x3867be={..._0x3a6e32,'range':_0x550bfd};this[_0x495e6b(0x22b)]['set'](_0x3453e2,_0x3867be),_0x2733c0(()=>{const _0x275c83=_0x495e6b,_0x36b301=this[_0x275c83(0x33b)]['registerRefRange'](_0x550bfd,_0x11d690=>(_0x36b301[_0x275c83(0x355)](),_0xbd0f9d(_0x11d690,_0x3453e2,_0x496121,_0x550bfd)));_0x19d525[_0x275c83(0x35f)](_0x36b301);});}return{'redos':[],'undos':[]};};this[_0x328a60(0x22b)][_0x328a60(0x186)]((_0x8e3984,_0x34969c)=>{const _0x4a9163=_0x328a60,{range:_0x252826,sheetID:_0x362150}=_0x8e3984,_0x2c4cab=this[_0x4a9163(0x33b)][_0x4a9163(0x176)](_0x252826,_0x1ab2b9=>(_0x2c4cab[_0x4a9163(0x355)](),_0xbd0f9d(_0x1ab2b9,_0x34969c,_0x362150,_0x252826)));_0x19d525[_0x4a9163(0x35f)](_0x2c4cab);});};this[_0x3986fc(0x2db)](_0x435b21['toDisposable'](this['_cursorInfo$']['subscribe'](()=>{_0x4e5c77();})));}[_0x2c927c(0x232)](){const _0x10c9ca=_0x2c927c;var _0xf8de89,_0x54781d;if(this[_0x10c9ca(0x258)]=!0x0,((_0xf8de89=this[_0x10c9ca(0x2cc)]['getFocusedUnit']())==null?void 0x0:_0xf8de89[_0x10c9ca(0x349)]())!==this[_0x10c9ca(0x24c)])return;const _0x4a4319=(_0x54781d=this[_0x10c9ca(0x234)]['get'](_0x4e65b0[_0x10c9ca(0x27f)])[_0x10c9ca(0x137)]())==null?void 0x0:_0x54781d[0x0],_0x1f6808=this['_univerInstanceService'][_0x10c9ca(0x154)](_0x435b21[_0x10c9ca(0x2c3)]['UNIVER_SHEET'])[_0x10c9ca(0x248)]();_0x4a4319&&_0x1f6808&&this['_updateLocalCursor'](_0x1f6808['getSheetId'](),_0x4a4319);}[_0x2c927c(0x1d1)](){this['_online']=!0x1;}};_0x30ea1a=_0x478352([_0x4bfaeb(0x2,_0x435b21[_0x2c927c(0x10f)](_0x435b21[_0x2c927c(0x11c)])),_0x4bfaeb(0x3,_0x435b21['Inject'](_0x90e5a9)),_0x4bfaeb(0x4,_0x435b21['Inject'](_0x423a8c[_0x2c927c(0x2b4)])),_0x4bfaeb(0x5,_0x435b21[_0x2c927c(0x374)]),_0x4bfaeb(0x6,_0x435b21['ICommandService']),_0x4bfaeb(0x7,_0x435b21[_0x2c927c(0x10f)](_0x4e65b0[_0x2c927c(0x281)]))],_0x30ea1a);var _0x1ce026=Object[_0x2c927c(0x23e)],_0x2e20e6=(_0x466d90,_0x265f00,_0x1c6f9a,_0x453b28)=>{const _0x2ef351=_0x2c927c;for(var _0x27e7e0=_0x453b28>0x1?void 0x0:_0x453b28?_0x1ce026(_0x265f00,_0x1c6f9a):_0x265f00,_0x1f97ec=_0x466d90[_0x2ef351(0x1cb)]-0x1,_0x164248;_0x1f97ec>=0x0;_0x1f97ec--)(_0x164248=_0x466d90[_0x1f97ec])&&(_0x27e7e0=_0x164248(_0x27e7e0)||_0x27e7e0);return _0x27e7e0;},_0x54b4bc=(_0x446774,_0x49dff5)=>(_0x5ed49d,_0x247292)=>_0x49dff5(_0x5ed49d,_0x247292,_0x446774);let _0x5433ad=class extends _0x435b21[_0x2c927c(0x30a)]{constructor(_0x409977,_0x361cdc,_0x33e785){const _0xe4a47a=_0x2c927c;super(),_0x38f83b(this,'_entities',new Map()),_0x38f83b(this,_0xe4a47a(0x383),new _0x2cd233[(_0xe4a47a(0x112))]()),(this[_0xe4a47a(0x2cc)]=_0x409977,this['_injector']=_0x361cdc,this[_0xe4a47a(0x210)]=_0x33e785,this[_0xe4a47a(0x170)]());}[_0x2c927c(0x355)](){const _0xe4fd24=_0x2c927c;super[_0xe4fd24(0x355)](),this['_entityInit$']['complete'](),this[_0xe4fd24(0x172)][_0xe4fd24(0x186)](_0x59eaea=>_0x59eaea['dispose']());}[_0x2c927c(0x26e)](_0x43ce8b){const _0x45f3c2=_0x2c927c;return this[_0x45f3c2(0x172)][_0x45f3c2(0x133)](_0x43ce8b)?this[_0x45f3c2(0x172)][_0x45f3c2(0x373)](_0x43ce8b)[_0x45f3c2(0x16a)]:this[_0x45f3c2(0x383)]['pipe'](_0x2cd233[_0x45f3c2(0x25b)](_0x1da02a=>_0x1da02a['unitID']===_0x43ce8b),_0x2cd233['switchMap'](_0x3dd833=>_0x3dd833[_0x45f3c2(0x16a)]));}['_init'](){const _0x4fb043=_0x2c927c;this['_univerInstanceService'][_0x4fb043(0x2e5)](_0x435b21[_0x4fb043(0x2c3)][_0x4fb043(0x29d)])['pipe'](_0x2cd233[_0x4fb043(0x308)](this['dispose$']))[_0x4fb043(0x33d)](async _0x2341a6=>{const _0x4ac36e=_0x4fb043,_0x43e0bf=_0x2341a6['getUnitId'](),_0x3ae7fd=await this[_0x4ac36e(0x153)](_0x43e0bf);this[_0x4ac36e(0x383)][_0x4ac36e(0x1ab)](_0x3ae7fd),this['_entities'][_0x4ac36e(0x1e0)](_0x43e0bf,_0x3ae7fd);}),this[_0x4fb043(0x2cc)]['getTypeOfUnitAdded$'](_0x435b21['UniverInstanceType'][_0x4fb043(0x1c6)])[_0x4fb043(0x27e)](_0x2cd233[_0x4fb043(0x308)](this[_0x4fb043(0x1db)]))[_0x4fb043(0x27e)](_0x2cd233['filter'](_0x51d13c=>!_0x51d13c[_0x4fb043(0x349)]()[_0x4fb043(0x21a)]('__')))[_0x4fb043(0x33d)](async _0x177719=>{const _0x1c539d=_0x4fb043,_0x1f14bc=_0x177719['getUnitId'](),_0x5056a9=await this[_0x1c539d(0x335)](_0x1f14bc);this[_0x1c539d(0x383)][_0x1c539d(0x1ab)](_0x5056a9),this[_0x1c539d(0x172)][_0x1c539d(0x1e0)](_0x1f14bc,_0x5056a9);}),_0x2cd233[_0x4fb043(0x16c)](this[_0x4fb043(0x2cc)][_0x4fb043(0x202)](_0x435b21[_0x4fb043(0x2c3)][_0x4fb043(0x1c6)]),this[_0x4fb043(0x2cc)]['getTypeOfUnitDisposed$'](_0x435b21[_0x4fb043(0x2c3)][_0x4fb043(0x29d)]))[_0x4fb043(0x27e)](_0x2cd233['takeUntil'](this[_0x4fb043(0x1db)]))[_0x4fb043(0x33d)](_0x5e7655=>{const _0x260eeb=_0x4fb043,_0x478868=_0x5e7655[_0x260eeb(0x349)](),_0x218312=this[_0x260eeb(0x172)][_0x260eeb(0x373)](_0x478868);_0x218312&&(_0x218312[_0x260eeb(0x355)](),this[_0x260eeb(0x172)][_0x260eeb(0x191)](_0x478868));});}async[_0x2c927c(0x153)](_0x552877){const _0x131e87=_0x2c927c,_0x4bdcdc=await this['_collabSessionService']['requireSession'](_0x552877),_0xe712d9=this[_0x131e87(0x234)]['createInstance'](_0x30ea1a,_0x552877,_0x4bdcdc);return _0xe712d9[_0x131e87(0x124)](),_0xe712d9;}async['_startDocCollabCursor'](_0x541156){const _0x327d96=_0x2c927c,_0x4a00b7=await this[_0x327d96(0x210)][_0x327d96(0x1c8)](_0x541156),_0x149414=this[_0x327d96(0x234)][_0x327d96(0x2d8)](_0x232c48,_0x541156,_0x4a00b7);return _0x149414[_0x327d96(0x124)](),_0x149414;}};_0x5433ad=_0x2e20e6([_0x54b4bc(0x0,_0x435b21[_0x2c927c(0x374)]),_0x54b4bc(0x1,_0x435b21[_0x2c927c(0x10f)](_0x435b21[_0x2c927c(0x11c)])),_0x54b4bc(0x2,_0x435b21[_0x2c927c(0x10f)](_0x423a8c[_0x2c927c(0x2b9)]))],_0x5433ad);const _0x3d1e90=0x14,_0x3047c1=0xc8,_0x4680e7=0x4,_0x1c95f2=0x5;function _0x379399(_0x259a2d,_0x5512e8){const _0x57bcc5=_0x2c927c;let {radius:_0x55954a,width:_0x3da89a,height:_0x54c38f}=_0x5512e8;_0x55954a=_0x55954a!=null?_0x55954a:0x0,_0x3da89a=_0x3da89a!=null?_0x3da89a:0x1e,_0x54c38f=_0x54c38f!=null?_0x54c38f:0x1e;let _0x5835f4=0x0,_0x5873bc=0x0,_0x4a46d6=0x0;_0x5835f4=_0x5873bc=_0x4a46d6=Math[_0x57bcc5(0x253)](_0x55954a,_0x3da89a/0x2,_0x54c38f/0x2),_0x259a2d[_0x57bcc5(0x34c)](),_0x259a2d[_0x57bcc5(0x2a9)](_0x5835f4,0x0),_0x259a2d[_0x57bcc5(0x168)](_0x3da89a-_0x5873bc,0x0),_0x259a2d[_0x57bcc5(0x194)](_0x3da89a-_0x5873bc,_0x5873bc,_0x5873bc,Math['PI']*0x3/0x2,0x0,!0x1),_0x259a2d['lineTo'](_0x3da89a,_0x54c38f-_0x4a46d6),_0x259a2d[_0x57bcc5(0x194)](_0x3da89a-_0x4a46d6,_0x54c38f-_0x4a46d6,_0x4a46d6,0x0,Math['PI']/0x2,!0x1),_0x259a2d[_0x57bcc5(0x168)](0x0,_0x54c38f),_0x259a2d[_0x57bcc5(0x168)](0x0,_0x5835f4),_0x259a2d[_0x57bcc5(0x194)](_0x5835f4,_0x5835f4,_0x5835f4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x259a2d[_0x57bcc5(0x262)](),_0x5512e8['fill']&&(_0x259a2d[_0x57bcc5(0x31f)](),_0x259a2d[_0x57bcc5(0x146)]=_0x5512e8[_0x57bcc5(0x2e9)],_0x5512e8[_0x57bcc5(0x370)]==='evenodd'?_0x259a2d[_0x57bcc5(0x2e9)](_0x57bcc5(0x252)):_0x259a2d[_0x57bcc5(0x2e9)](),_0x259a2d['restore']());}class _0x11a841 extends _0x4af3d8[_0x2c927c(0x348)]{constructor(_0x40ca8b,_0x1f2359){const _0x551174=_0x2c927c;super(_0x40ca8b,_0x1f2359),_0x38f83b(this,_0x551174(0x18a)),_0x38f83b(this,'text'),(this[_0x551174(0x18a)]=_0x1f2359==null?void 0x0:_0x1f2359[_0x551174(0x18a)],this[_0x551174(0x1f8)]=_0x1f2359==null?void 0x0:_0x1f2359['text']);}static[_0x2c927c(0x1a8)](_0xda381,_0x25459b){const _0x13c076=_0x2c927c,{text:_0x93e585,color:_0x42bd11}=_0x25459b;_0xda381[_0x13c076(0x31f)](),_0xda381[_0x13c076(0x36a)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1bdced=_0xda381[_0x13c076(0x249)](_0x93e585)[_0x13c076(0x2e3)],_0x125946=Math['min'](_0x1bdced+0x2*_0x4680e7,_0x3047c1);_0x379399(_0xda381,{'height':_0x3d1e90,'radius':0x4,'width':_0x125946,'fill':_0x42bd11}),_0xda381[_0x13c076(0x146)]=_0x13c076(0x275);const _0x253fdf=_0x4680e7,_0x43f492=_0x3d1e90-_0x1c95f2,_0x1cfdde=_0x3047c1-0x2*_0x4680e7;if(_0x1bdced>_0x1cfdde){let _0xc0975='',_0x3f7008=0x0;for(const _0x233d07 of _0x93e585){const _0x3b3652=_0xda381['measureText'](_0x233d07)[_0x13c076(0x2e3)];if(_0x3f7008+_0x3b3652<=_0x1cfdde-_0xda381[_0x13c076(0x249)](_0x13c076(0x334))['width'])_0xc0975+=_0x233d07,_0x3f7008+=_0x3b3652;else{_0xc0975+=_0x13c076(0x334);break;}}_0xda381[_0x13c076(0x345)](_0xc0975,_0x253fdf,_0x43f492);}else _0xda381[_0x13c076(0x345)](_0x93e585,_0x253fdf,_0x43f492);_0xda381[_0x13c076(0x272)]();}[_0x2c927c(0x344)](_0x1ae0d9){_0x11a841['drawWith'](_0x1ae0d9,this);}}const _0x31ccb0=_0x2c927c(0x29c),_0x22232e='collab-text-range-',_0x4ca4d9=_0x2c927c(0x2c0),_0x1d44a7=0x6,_0x17bd38=1.5,_0x151bf3=0x4,_0x3bf253=1.5,_0x42b86b='rgba(255,\x20255,\x20255,\x200.01)';class _0x1f1040{constructor(_0x541729,_0x3a3d6,_0x4d9d77,_0x3f065e){const _0x354f7d=_0x2c927c;_0x38f83b(this,'_shapes',[]),_0x38f83b(this,_0x354f7d(0x235),null),_0x38f83b(this,_0x354f7d(0x2fa),null),_0x38f83b(this,'_anchorDot',null),_0x38f83b(this,_0x354f7d(0x294),null),_0x38f83b(this,'_eventUnsubscribe',null),(this[_0x354f7d(0x12c)]=_0x541729,this[_0x354f7d(0x157)]=_0x3a3d6,this['_docSkeleton']=_0x4d9d77,this['_document']=_0x3f065e,this[_0x354f7d(0x239)]());}set[_0x2c927c(0x1cc)](_0x2eaa25){const _0x477c1e=_0x2c927c;_0x2eaa25?(this['_anchorDot']&&this[_0x477c1e(0x11b)][_0x477c1e(0x2dc)](),this['_textBubble']&&this[_0x477c1e(0x2fa)][_0x477c1e(0x1a7)]()):(this['_anchorDot']&&this[_0x477c1e(0x11b)]['show'](),this[_0x477c1e(0x2fa)]&&this[_0x477c1e(0x2fa)]['hide']());}['dispose'](){const _0x21ea04=_0x2c927c;for(const _0xea0f35 of this[_0x21ea04(0x1cd)])_0xea0f35[_0x21ea04(0x355)]();this['_textBubble']&&this[_0x21ea04(0x2fa)]['dispose'](),this[_0x21ea04(0x11b)]&&this[_0x21ea04(0x11b)][_0x21ea04(0x355)](),this['_anchor']&&this[_0x21ea04(0x235)][_0x21ea04(0x355)](),this[_0x21ea04(0x380)]&&this[_0x21ea04(0x380)]();}[_0x2c927c(0x239)](){const _0x18e503=_0x2c927c;var _0x2be97f;const {_docSkeleton:_0x3dbc57,_document:_0x2ef2a3}=this,{color:_0x35a38d,name:_0x239dc5,ranges:_0x25d72d}=this[_0x18e503(0x12c)],_0x16ce1b=_0x2ef2a3[_0x18e503(0x107)](),{docsLeft:_0x18638f,docsTop:_0x34e5b2}=_0x16ce1b,_0x1c6fa4=new _0x4b4959['NodePositionConvertToCursor'](_0x16ce1b,_0x3dbc57);for(const {startOffset:_0x1a8e0c,endOffset:_0x145a34,rangeType:_0x31518a,segmentId:_0x3dba6c,segmentPage:_0x3d0c5a,collapsed:_0x1b046f,isActive:_0x189884}of _0x25d72d){const _0x456896=_0x3dbc57['findNodePositionByCharIndex'](_0x1a8e0c,!0x0,_0x3dba6c,_0x3d0c5a);let _0x4ab612=_0x3dbc57[_0x18e503(0x2e6)](_0x145a34,!0x0,_0x3dba6c,_0x3d0c5a);if(_0x4ab612==null&&(_0x4ab612=_0x3dbc57[_0x18e503(0x2e6)](_0x145a34-0x1,!0x1,_0x3dba6c,_0x3d0c5a)),_0x189884){const {contentBoxPointGroup:_0x51cea9}=_0x1c6fa4[_0x18e503(0x343)](_0x4ab612,_0x4ab612);if(_0x51cea9[_0x18e503(0x1cb)]===0x0)continue;this[_0x18e503(0x1dd)](_0x35a38d,_0x51cea9,_0x18638f,_0x34e5b2,_0x239dc5),this[_0x18e503(0x380)]=this['_handleHover']();}if(_0x456896&&_0x4ab612){if(_0x31518a===_0x435b21[_0x18e503(0x23d)][_0x18e503(0x188)]){const _0x129a6e=new _0x4b4959[(_0x18e503(0x15b))](_0x16ce1b,_0x3dbc57),{pointGroup:_0xd3bc40}=(_0x2be97f=_0x129a6e[_0x18e503(0x343)](_0x456896,_0x4ab612))!=null?_0x2be97f:{};if(_0xd3bc40==null||_0xd3bc40[_0x18e503(0x1cb)]===0x0)continue;this[_0x18e503(0x1b2)](_0x35a38d,_0xd3bc40,_0x18638f,_0x34e5b2);}else{if(!_0x1b046f){const {borderBoxPointGroup:_0x4f1978}=_0x1c6fa4[_0x18e503(0x343)](_0x456896,_0x4ab612);if(_0x4f1978['length']===0x0)continue;this[_0x18e503(0x1a3)](_0x35a38d,_0x4f1978,_0x18638f,_0x34e5b2);}}}}}['_drawAnchor'](_0x38f2ec,_0x41dd76,_0x5b2f7c,_0x57a94e,_0x52d7fd){const _0x2317ce=_0x2c927c,_0x4b69a6=this['_getAnchorBounding'](_0x41dd76),{left:_0x66ce52,top:_0x13367c,height:_0x1ad4cc}=_0x4b69a6,_0x53b7db=this[_0x2317ce(0x247)](),_0x4bfa5c=_0x3bf253/_0x53b7db,_0x585a4a=new _0x4af3d8[(_0x2317ce(0xf6))](_0x31ccb0+_0x435b21[_0x2317ce(0x331)][_0x2317ce(0x30d)](_0x1d44a7),{'left':_0x66ce52+_0x5b2f7c-_0x4bfa5c,'top':_0x13367c+_0x57a94e,'height':_0x1ad4cc,'width':_0x17bd38,'fill':_0x38f2ec||_0x4af3d8['getColor'](_0x435b21[_0x2317ce(0x145)]['black'],0x0),'strokeWidth':_0x4bfa5c,'stroke':_0x42b86b,'evented':!0x0});this[_0x2317ce(0x235)]=_0x585a4a,this[_0x2317ce(0x157)][_0x2317ce(0x2ea)](_0x585a4a,_0x4b4959[_0x2317ce(0x29a)]);const _0x98cf55=new _0x4af3d8['Rect'](_0x31ccb0+_0x435b21[_0x2317ce(0x331)][_0x2317ce(0x30d)](_0x1d44a7),{'left':_0x66ce52+_0x5b2f7c-_0x4bfa5c,'top':_0x13367c+_0x57a94e-_0x151bf3/0x2,'height':_0x151bf3,'width':_0x151bf3,'fill':_0x38f2ec||_0x4af3d8['getColor'](_0x435b21[_0x2317ce(0x145)][_0x2317ce(0x306)],0x0),'strokeWidth':0x0,'stroke':_0x38f2ec||_0x4af3d8[_0x2317ce(0x256)](_0x435b21['COLORS'][_0x2317ce(0x306)],0x0),'evented':!0x1});this['_anchorDot']=_0x98cf55,this[_0x2317ce(0x157)][_0x2317ce(0x2ea)](_0x98cf55,_0x4b4959[_0x2317ce(0x29a)]);const _0x601888=new _0x11a841(_0x31ccb0+_0x435b21[_0x2317ce(0x331)][_0x2317ce(0x30d)](_0x1d44a7),{'left':_0x66ce52+_0x5b2f7c-_0x4bfa5c,'top':_0x13367c+_0x57a94e-_0x3d1e90,'text':_0x52d7fd,'color':_0x38f2ec});this[_0x2317ce(0x2fa)]=_0x601888,this[_0x2317ce(0x157)][_0x2317ce(0x2ea)](_0x601888,_0x4b4959[_0x2317ce(0x29a)]),this[_0x2317ce(0x1cc)]=!0x1;}[_0x2c927c(0x13a)](){const _0x43ed28=_0x2c927c,_0x59b20a=this[_0x43ed28(0x235)][_0x43ed28(0x225)][_0x43ed28(0x231)](()=>{const _0x4aa7ab=_0x43ed28;this[_0x4aa7ab(0x1cc)]=!0x0;}),_0x56ecc6=this[_0x43ed28(0x235)][_0x43ed28(0x106)][_0x43ed28(0x231)](()=>{const _0x14f797=_0x43ed28;this['_hideTimer']&&clearTimeout(this[_0x14f797(0x294)]),this[_0x14f797(0x294)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x22b942=_0x43ed28;_0x59b20a[_0x22b942(0x342)](),_0x56ecc6['unsubscribe']();};}[_0x2c927c(0x1a3)](_0x23dc08,_0x33b0e2,_0x4467fa,_0x149e4b){const _0x26ef09=_0x2c927c,_0x3ee453=new _0x435b21[(_0x26ef09(0x182))](_0x23dc08)[_0x26ef09(0x2c1)](0.2)[_0x26ef09(0x127)](),_0x4c6ee5=new _0x4af3d8[(_0x26ef09(0x13f))](_0x22232e+_0x435b21['Tools'][_0x26ef09(0x30d)](_0x1d44a7),{'pointsGroup':_0x33b0e2,'fill':_0x3ee453||_0x4af3d8[_0x26ef09(0x256)](_0x435b21[_0x26ef09(0x145)]['black'],0.2),'left':_0x4467fa,'top':_0x149e4b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x26ef09(0x1cd)][_0x26ef09(0x2fb)](_0x4c6ee5),this[_0x26ef09(0x157)]['addObject'](_0x4c6ee5,_0x4b4959[_0x26ef09(0x29a)]);}[_0x2c927c(0x1b2)](_0x2dbca1,_0x55a521,_0x5cacac,_0x46a567){const _0x198650=_0x2c927c,_0x383ba8=new _0x435b21['ColorKit'](_0x2dbca1)['setAlpha'](0.2)['toRgbString'](),_0x2e36bf=new _0x4af3d8[(_0x198650(0x13f))](_0x4ca4d9+_0x435b21[_0x198650(0x331)][_0x198650(0x30d)](_0x1d44a7),{'pointsGroup':_0x55a521,'fill':_0x383ba8||_0x4af3d8[_0x198650(0x256)](_0x435b21['COLORS'][_0x198650(0x306)],0.2),'left':_0x5cacac,'top':_0x46a567,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x198650(0x1cd)][_0x198650(0x2fb)](_0x2e36bf),this[_0x198650(0x157)][_0x198650(0x2ea)](_0x2e36bf,_0x4b4959[_0x198650(0x29a)]);}[_0x2c927c(0x2b5)](_0x36c1c0){const _0x3143ab=_0x36c1c0[0x0],_0x395adc=_0x3143ab[0x0],_0x18633a=_0x3143ab[0x2],{x:_0x2e82aa,y:_0x189023}=_0x395adc,{x:_0x756e08,y:_0x469d84}=_0x18633a;return{'left':_0x2e82aa,'top':_0x189023,'width':_0x756e08-_0x2e82aa,'height':_0x469d84-_0x189023};}[_0x2c927c(0x247)](){const _0xc2ef74=_0x2c927c,{scaleX:_0xbf6335,scaleY:_0x244673}=this[_0xc2ef74(0x157)][_0xc2ef74(0x1ce)]();return Math[_0xc2ef74(0x2a1)](_0xbf6335,_0x244673);}}var _0x13079e=Object['getOwnPropertyDescriptor'],_0x3cdc12=(_0x13fc31,_0x219356,_0x5eca85,_0x50ed3d)=>{const _0xad2802=_0x2c927c;for(var _0x4d73d6=_0x50ed3d>0x1?void 0x0:_0x50ed3d?_0x13079e(_0x219356,_0x5eca85):_0x219356,_0x2e4d3c=_0x13fc31[_0xad2802(0x1cb)]-0x1,_0x4ea2a5;_0x2e4d3c>=0x0;_0x2e4d3c--)(_0x4ea2a5=_0x13fc31[_0x2e4d3c])&&(_0x4d73d6=_0x4ea2a5(_0x4d73d6)||_0x4d73d6);return _0x4d73d6;},_0x9acea1=(_0x1786d8,_0x1d2f88)=>(_0x43a39c,_0x3fc17f)=>_0x1d2f88(_0x43a39c,_0x3fc17f,_0x1786d8);let _0x3317c9=class extends _0x435b21[_0x2c927c(0x30a)]{constructor(_0x13da8c,_0x587460,_0x1422aa,_0x354a19,_0x336e48){const _0x5c9be2=_0x2c927c;super(),_0x38f83b(this,_0x5c9be2(0x228),[]),_0x38f83b(this,_0x5c9be2(0x2f8),[]),(this['_context']=_0x13da8c,this[_0x5c9be2(0x2d4)]=_0x587460,this[_0x5c9be2(0x261)]=_0x1422aa,this['_commandService']=_0x354a19,this[_0x5c9be2(0x278)]=_0x336e48,this[_0x5c9be2(0x170)]());}['_init'](){const _0x3e104f=_0x2c927c,_0x54c8e0=this['_context'][_0x3e104f(0x31c)],_0x57373d=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x2cd233[_0x3e104f(0x29b)]([this[_0x3e104f(0x261)]['getCollabCursors$'](_0x54c8e0),this['_themeService'][_0x3e104f(0x18e)]])['pipe'](_0x4ce2ac[_0x3e104f(0x1fe)](([_0x175b6c,_0x465522])=>({'skeleton':_0x57373d[_0x3e104f(0x371)](),'cursors':[..._0x175b6c[_0x3e104f(0x290)]()][_0x3e104f(0x167)](_0x4a2be9=>({..._0x4a2be9,'color':_0x465522[_0x4a2be9[_0x3e104f(0x18a)]]}))})))[_0x3e104f(0x33d)](_0x553bd4=>{const _0x268f5f=_0x3e104f;if(this['_removeCollabCursors'](),_0x553bd4){const {skeleton:_0xaf3e28,cursors:_0x5e6982}=_0x553bd4;this[_0x268f5f(0xf1)](_0xaf3e28,_0x5e6982);}})),this[_0x3e104f(0x35e)](),this[_0x3e104f(0x10a)]();}[_0x2c927c(0xf1)](_0x4ecae2,_0x2a20c1){const _0x448446=_0x2c927c,{scene:_0x5bb015,mainComponent:_0x36aa87}=this[_0x448446(0xee)],_0x175916=_0x2a20c1[_0x448446(0x1fe)](_0x3bd88d=>new _0x1f1040(_0x3bd88d,_0x5bb015,_0x4ecae2,_0x36aa87));this[_0x448446(0x228)]=_0x175916,this[_0x448446(0x2f8)]=_0x2a20c1;}[_0x2c927c(0x260)](){const _0x3a248c=_0x2c927c;this[_0x3a248c(0x189)]();const {scene:_0x708ffd,mainComponent:_0x5eb619}=this['_context'],_0x1d15ef=this[_0x3a248c(0x2d4)]['getSkeleton'](),_0x4e88eb=this[_0x3a248c(0x2f8)][_0x3a248c(0x1fe)](_0x973ca8=>new _0x1f1040(_0x973ca8,_0x708ffd,_0x1d15ef,_0x5eb619));this[_0x3a248c(0x228)]=_0x4e88eb;}['_removeCollabCursors'](){const _0x2242ec=_0x2c927c;this[_0x2242ec(0x228)][_0x2242ec(0x186)](_0x312363=>_0x312363[_0x2242ec(0x355)]()),this['_cursorShapes']=[];}[_0x2c927c(0x10a)](){const _0x16ffa7=_0x2c927c,_0x38565f=[_0x4b4959[_0x16ffa7(0x32a)]['id']];this[_0x16ffa7(0x2db)](this[_0x16ffa7(0x36c)][_0x16ffa7(0x37f)](_0x3cb780=>{const _0x9f4e7f=_0x16ffa7;_0x38565f[_0x9f4e7f(0x10c)](_0x3cb780['id'])&&_0x3cb780[_0x9f4e7f(0x318)]['unitId']===this[_0x9f4e7f(0xee)][_0x9f4e7f(0x31c)]&&this[_0x9f4e7f(0x260)]();}));}['_initResize'](){const _0x3e1558=_0x2c927c;this[_0x3e1558(0x2db)](_0x435b21['fromEventSubject'](this[_0x3e1558(0xee)][_0x3e1558(0x330)][_0x3e1558(0x1d4)])[_0x3e1558(0x27e)](_0x4ce2ac[_0x3e1558(0x25b)](_0xa59644=>_0xa59644[_0x3e1558(0x17b)]===_0x4af3d8[_0x3e1558(0x22f)][_0x3e1558(0x1c7)]),_0x4ce2ac[_0x3e1558(0x31d)](0x10))[_0x3e1558(0x33d)](()=>{const _0x49d006=_0x3e1558;this[_0x49d006(0x260)]();}));}};_0x3317c9=_0x3cdc12([_0x9acea1(0x1,_0x435b21[_0x2c927c(0x10f)](_0xf499cd[_0x2c927c(0xec)])),_0x9acea1(0x2,_0x435b21[_0x2c927c(0x10f)](_0x5433ad)),_0x9acea1(0x3,_0x435b21[_0x2c927c(0x310)]),_0x9acea1(0x4,_0x435b21['Inject'](_0x435b21[_0x2c927c(0x27d)]))],_0x3317c9);const _0xb6e3b4=0x1,_0x415d59=1.5;class _0x3997f5 extends _0x4af3d8[_0x2c927c(0x348)]{constructor(_0x2901fe,_0xf4666d){const _0x6fc4c2=_0x2c927c;super(_0x2901fe,_0xf4666d),_0x38f83b(this,_0x6fc4c2(0xf3)),_0x38f83b(this,_0x6fc4c2(0x2d5),!0x1),_0x38f83b(this,_0x6fc4c2(0x2fe)),_0x38f83b(this,'_name',''),_0x38f83b(this,_0x6fc4c2(0x25a),'top'),_0x38f83b(this,'_backgroundColor'),(_0xf4666d&&this[_0x6fc4c2(0x379)](_0xf4666d),this[_0x6fc4c2(0x225)][_0x6fc4c2(0x231)](()=>this[_0x6fc4c2(0x379)]({'hovered':!0x0})),this[_0x6fc4c2(0x106)]['subscribeEvent'](()=>this[_0x6fc4c2(0x379)]({'hovered':!0x1})));}[_0x2c927c(0x379)](_0x5a0b29){const _0x7d67dc=_0x2c927c;var _0x3cc700,_0x1266a9,_0x3933d0,_0x5a59b1,_0x4c67f3,_0x16574a;this[_0x7d67dc(0xf3)]=(_0x3cc700=_0x5a0b29['color'])!=null?_0x3cc700:this[_0x7d67dc(0xf3)],this['_hovered']=(_0x1266a9=_0x5a0b29[_0x7d67dc(0x351)])!=null?_0x1266a9:this[_0x7d67dc(0x2d5)],this[_0x7d67dc(0x2fe)]=(_0x3933d0=_0x5a0b29[_0x7d67dc(0x1af)])!=null?_0x3933d0:this[_0x7d67dc(0x2fe)],this[_0x7d67dc(0x270)]=(_0x5a59b1=_0x5a0b29[_0x7d67dc(0x2f0)])!=null?_0x5a59b1:this[_0x7d67dc(0x270)],this['_labelPosition']=(_0x4c67f3=_0x5a0b29[_0x7d67dc(0x37a)])!=null?_0x4c67f3:this[_0x7d67dc(0x25a)],this[_0x7d67dc(0x28a)]=(_0x16574a=_0x5a0b29[_0x7d67dc(0x305)])!=null?_0x16574a:this[_0x7d67dc(0x28a)],this[_0x7d67dc(0x324)]({'width':_0x5a0b29['width'],'height':_0x5a0b29[_0x7d67dc(0x296)]});}['onMouseMove'](_0x2cfa13){const _0x569f74=_0x2c927c,{row:_0x45d9e6,column:_0x8764dc}=_0x2cfa13;if(_0x45d9e6>=this[_0x569f74(0x2fe)]['startRow']&&_0x45d9e6<=this[_0x569f74(0x2fe)][_0x569f74(0x216)]&&_0x8764dc>=this[_0x569f74(0x2fe)][_0x569f74(0x199)]&&_0x8764dc<=this['_range'][_0x569f74(0x201)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x569f74(0x379)]({'hovered':!0x1});}[_0x2c927c(0x2aa)](_0x3209d5){return!0x1;}[_0x2c927c(0x344)](_0x24415c){const _0x16f267=_0x2c927c;_0x4af3d8['Rect'][_0x16f267(0x1a8)](_0x24415c,{'width':this[_0x16f267(0x2e3)],'height':this[_0x16f267(0x296)],'strokeWidth':_0x415d59,'stroke':this[_0x16f267(0xf3)],'evented':!0x1,'fill':this[_0x16f267(0x28a)]}),this[_0x16f267(0x2d5)]&&(_0x24415c[_0x16f267(0x31f)](),_0x24415c[_0x16f267(0x382)](0x1,0x0,0x0,0x1,this['width'],this[_0x16f267(0x25a)]===_0x16f267(0x1f5)?0x0:-0x14),_0x11a841['drawWith'](_0x24415c,{'text':this[_0x16f267(0x270)],'color':this[_0x16f267(0xf3)]}),_0x24415c[_0x16f267(0x272)]());}}var _0x539f43=Object[_0x2c927c(0x23e)],_0x2232f2=(_0x14c490,_0x15ec54,_0x224b66,_0x4ae812)=>{const _0x54e99b=_0x2c927c;for(var _0x3fc33d=_0x4ae812>0x1?void 0x0:_0x4ae812?_0x539f43(_0x15ec54,_0x224b66):_0x15ec54,_0x98cf53=_0x14c490[_0x54e99b(0x1cb)]-0x1,_0x31de69;_0x98cf53>=0x0;_0x98cf53--)(_0x31de69=_0x14c490[_0x98cf53])&&(_0x3fc33d=_0x31de69(_0x3fc33d)||_0x3fc33d);return _0x3fc33d;},_0x450bac=(_0x3c2e67,_0xaa407b)=>(_0x5b1e55,_0x3dddb9)=>_0xaa407b(_0x5b1e55,_0x3dddb9,_0x3c2e67);const _0x19461b=0x1389;let _0x3bd592=class extends _0x435b21['RxDisposable']{constructor(_0x23bc17,_0x3f4ff3,_0x4e057e,_0x420fc4){const _0x512d62=_0x2c927c;super(),_0x38f83b(this,_0x512d62(0x2f8),new Set()),_0x38f83b(this,_0x512d62(0x1b4),null),(this[_0x512d62(0xee)]=_0x23bc17,this[_0x512d62(0x140)]=_0x3f4ff3,this['_collabCursorController']=_0x4e057e,this[_0x512d62(0x278)]=_0x420fc4,this[_0x512d62(0x170)]());}['_init'](){const _0x641e3d=_0x2c927c;this[_0x641e3d(0x140)][_0x641e3d(0x1ea)][_0x641e3d(0x27e)](_0x4ce2ac[_0x641e3d(0x308)](this['dispose$']),_0x4ce2ac[_0x641e3d(0x1e8)](_0x399d10=>{const _0x593567=_0x641e3d;if(_0x399d10){const _0x5e0b84=_0x399d10[_0x593567(0x288)];return _0x2cd233[_0x593567(0x29b)](this[_0x593567(0x261)][_0x593567(0x26e)](this[_0x593567(0xee)][_0x593567(0x31c)]),this['_themeService']['currentTheme$'])[_0x593567(0x27e)](_0x4ce2ac['map'](([_0x49252b,_0x3b1699])=>{const _0x5f0979=_0x593567,_0x5041de=new Map();return _0x49252b[_0x5f0979(0x186)]((_0x397a61,_0x43482b)=>{const _0x38c4f3=_0x5f0979;if(_0x397a61[_0x38c4f3(0x304)]===_0x5e0b84){const _0x4870f6={..._0x397a61};_0x4870f6[_0x38c4f3(0x18a)]=_0x3b1699[_0x397a61[_0x38c4f3(0x18a)]],_0x5041de[_0x38c4f3(0x1e0)](_0x43482b,_0x4870f6);}}),{'skeleton':_0x399d10,'cursors':_0x5041de};}));}return _0x2cd233['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0xcecf23,cursors:_0x23f02d})=>{const _0x125e90=_0x641e3d;this[_0x125e90(0x189)](),_0xcecf23&&this['_updateCollabCursors'](_0xcecf23,_0x23f02d);}),this[_0x641e3d(0x140)][_0x641e3d(0x1ea)][_0x641e3d(0x33d)](_0x18bf6c=>{const _0x346f68=_0x641e3d;if(_0x18bf6c==null)return;const {skeleton:_0x457056}=_0x18bf6c,{scene:_0x4e5cb0}=this[_0x346f68(0xee)];_0x4e5cb0[_0x346f68(0x340)][_0x346f68(0x231)](_0x435b21[_0x346f68(0x156)](_0x126b68=>{const _0x4f5671=_0x346f68;var _0x35e121,_0x1507b2;const {offsetX:_0x549ebd,offsetY:_0xba421a}=_0x126b68,{x:_0x2ef1c9,y:_0x4aee6b}=_0x4e5cb0[_0x4f5671(0x378)](_0x4af3d8[_0x4f5671(0x118)][_0x4f5671(0x1f3)]([_0x549ebd,_0xba421a])),{scaleX:_0x4fa6e3,scaleY:_0x15d1e8}=_0x4e5cb0[_0x4f5671(0x1ce)](),_0x3eba95=_0x4e5cb0[_0x4f5671(0x1cf)](_0x4af3d8[_0x4f5671(0x257)]['VIEW_MAIN']),_0x14d508=_0x4e5cb0[_0x4f5671(0x301)](_0x4af3d8[_0x4f5671(0x118)][_0x4f5671(0x1f3)]([_0x2ef1c9,_0x4aee6b]),_0x3eba95),_0x110fd8=_0x457056[_0x4f5671(0x1f7)](_0x549ebd,_0xba421a,_0x4fa6e3,_0x15d1e8,_0x14d508);((_0x35e121=this[_0x4f5671(0x1b4)])==null?void 0x0:_0x35e121[_0x4f5671(0x265)])===_0x110fd8[_0x4f5671(0x265)]&&((_0x1507b2=this[_0x4f5671(0x1b4)])==null?void 0x0:_0x1507b2[_0x4f5671(0x163)])===_0x110fd8[_0x4f5671(0x163)]||this[_0x4f5671(0x2f8)][_0x4f5671(0x186)](_0x268994=>{_0x268994['onMouseMove'](_0x110fd8);});},0x64));});}[_0x2c927c(0xf1)](_0x4ee4bf,_0x302516){const _0x55c4a9=_0x2c927c;var _0x429266;const _0x1a8bab=(_0x429266=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x429266[_0x55c4a9(0x177)];if(!_0x1a8bab)return;const _0x2dc196=this[_0x55c4a9(0x28b)]();if(!_0x2dc196)return;this[_0x55c4a9(0x2f8)]['forEach'](_0x4e7118=>{const _0x5c41a6=_0x55c4a9;_0x4e7118[_0x5c41a6(0x276)]();});const {scene:_0x3d820e}=_0x2dc196,_0x3f6270=_0x572de0(Array[_0x55c4a9(0x30f)](_0x302516['values']()))[_0x55c4a9(0x1fe)](_0x29fb4f=>{const _0x24c058=_0x55c4a9,{color:_0x40b477,range:_0x27abfa,name:_0x194a9b,selection:_0x32b124,sheetID:_0x2446cd}=_0x29fb4f,{startColumn:_0x56803b,startRow:_0x3fed3e,endColumn:_0x2ff1b4,endRow:_0x531a8c}=_0x27abfa,_0x1377cf=_0x487df1['getCoordByCell'](_0x3fed3e,_0x56803b,_0x3d820e,_0x1a8bab),_0x5ab59=_0x487df1[_0x24c058(0x243)](_0x531a8c,_0x2ff1b4,_0x3d820e,_0x1a8bab),{columnHeaderHeightAndMarginTop:_0x59574b}=_0x1a8bab,{startX:_0x40e5a1,startY:_0x12f225}=_0x1377cf,{endX:_0x45e436,endY:_0x35202a}=_0x5ab59,_0x37374f=_0x45e436-_0x40e5a1,_0x3efab4=_0x35202a-_0x12f225,_0xdc3b76={'labelPosition':_0x12f225-_0x59574b>=_0x3d1e90?_0x24c058(0x111):_0x24c058(0x1f5),'sheetID':_0x2446cd,'range':_0x27abfa,'color':_0x40b477,'name':_0x194a9b,'selection':_0x32b124,'left':_0x40e5a1,'top':_0x12f225,'width':_0x37374f,'height':_0x3efab4,'evented':!0x1,'zIndex':_0x19461b};return new _0x3997f5(_0x194a9b,_0xdc3b76);});_0x3d820e[_0x55c4a9(0x271)](_0x3f6270,_0xb6e3b4),this['_cursors']=new Set(_0x3f6270);}['_removeCollabCursors'](){const _0x1f2e26=_0x2c927c;var _0x35cc45;(_0x35cc45=this[_0x1f2e26(0x2f8)])==null||_0x35cc45[_0x1f2e26(0x186)](_0x57743a=>_0x57743a[_0x1f2e26(0x355)]());}['_getSheetObject'](){const _0x2aaf93=_0x2c927c;return _0x487df1[_0x2aaf93(0x108)](this[_0x2aaf93(0xee)][_0x2aaf93(0x311)],this['_context']);}};_0x3bd592=_0x2232f2([_0x450bac(0x1,_0x435b21[_0x2c927c(0x10f)](_0x487df1[_0x2c927c(0x2cd)])),_0x450bac(0x2,_0x435b21[_0x2c927c(0x10f)](_0x5433ad)),_0x450bac(0x3,_0x435b21['Inject'](_0x435b21[_0x2c927c(0x27d)]))],_0x3bd592);function _0x572de0(_0x1e6edc){const _0xf32245=_0x2c927c,_0x56f826=new Map();return _0x1e6edc['forEach'](_0x124d20=>{const _0x1b91cb=_0x44a6;if(_0x56f826[_0x1b91cb(0x133)](_0x124d20[_0x1b91cb(0x35d)])){const _0x5b9cb9=_0x56f826[_0x1b91cb(0x373)](_0x124d20[_0x1b91cb(0x35d)]);_0x5b9cb9[_0x1b91cb(0x2f0)]+=',\x20'+_0x124d20[_0x1b91cb(0x2f0)];}else _0x56f826[_0x1b91cb(0x1e0)](_0x124d20['selection'],_0x124d20);}),Array[_0xf32245(0x30f)](_0x56f826[_0xf32245(0x290)]());}var _0x1e9d52=function(){const _0x313591=_0x2c927c;return _0x1e9d52=Object[_0x313591(0x282)]||function(_0x2aef1a){const _0x81f0b2=_0x313591;for(var _0x103298,_0x30a314=0x1,_0x4215b1=arguments[_0x81f0b2(0x1cb)];_0x30a314<_0x4215b1;_0x30a314++){_0x103298=arguments[_0x30a314];for(var _0x213e5c in _0x103298)Object['prototype'][_0x81f0b2(0x2a5)][_0x81f0b2(0x359)](_0x103298,_0x213e5c)&&(_0x2aef1a[_0x213e5c]=_0x103298[_0x213e5c]);}return _0x2aef1a;},_0x1e9d52['apply'](this,arguments);},_0x4f8897=function(_0x403a5a,_0x55936b){const _0x50436d=_0x2c927c;var _0x3ab9e6={};for(var _0x3e1b58 in _0x403a5a)Object[_0x50436d(0x174)]['hasOwnProperty'][_0x50436d(0x359)](_0x403a5a,_0x3e1b58)&&_0x55936b[_0x50436d(0x26f)](_0x3e1b58)<0x0&&(_0x3ab9e6[_0x3e1b58]=_0x403a5a[_0x3e1b58]);if(_0x403a5a!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x35801e=0x0,_0x3e1b58=Object['getOwnPropertySymbols'](_0x403a5a);_0x35801e<_0x3e1b58[_0x50436d(0x1cb)];_0x35801e++)_0x55936b[_0x50436d(0x26f)](_0x3e1b58[_0x35801e])<0x0&&Object[_0x50436d(0x174)]['propertyIsEnumerable'][_0x50436d(0x359)](_0x403a5a,_0x3e1b58[_0x35801e])&&(_0x3ab9e6[_0x3e1b58[_0x35801e]]=_0x403a5a[_0x3e1b58[_0x35801e]]);}return _0x3ab9e6;},_0x4a39de=_0x37c89d['forwardRef'](function(_0x36e386,_0xf7a9c6){const _0x5f24c4=_0x2c927c;var _0x4a2744=_0x36e386[_0x5f24c4(0x297)],_0x54eb56=_0x36e386['id'],_0xa6295c=_0x36e386[_0x5f24c4(0x12b)],_0x23bb6c=_0x36e386[_0x5f24c4(0x1de)],_0x456e1f=_0x4f8897(_0x36e386,[_0x5f24c4(0x297),'id',_0x5f24c4(0x12b),_0x5f24c4(0x1de)]),_0x3505f9=_0x5f24c4(0x220)[_0x5f24c4(0x178)](_0x54eb56,'\x20')[_0x5f24c4(0x178)](_0xa6295c||'')[_0x5f24c4(0x325)](),_0x3e43fc=_0x37c89d['useRef']('_'['concat'](_0x2a3aa3()));return _0x29bb0a(_0x4a2744,''[_0x5f24c4(0x178)](_0x54eb56),{'defIds':_0x4a2744[_0x5f24c4(0x2f5)],'idSuffix':_0x3e43fc[_0x5f24c4(0x221)]},_0x1e9d52({'ref':_0xf7a9c6,'className':_0x3505f9},_0x456e1f),_0x23bb6c);});function _0x29bb0a(_0x91943,_0x4a9038,_0x269f2d,_0x2eb765,_0x54774e){const _0x1058e7=_0x2c927c;return _0x37c89d[_0x1058e7(0x357)](_0x91943['tag'],_0x1e9d52(_0x1e9d52({'key':_0x4a9038},_0x1f28c1(_0x91943,_0x269f2d,_0x54774e)),_0x2eb765),(_0x59d417(_0x91943,_0x269f2d)[_0x1058e7(0x173)]||[])[_0x1058e7(0x1fe)](function(_0x22cd5e,_0x225f5a){const _0x5ce1d5=_0x1058e7;return _0x29bb0a(_0x22cd5e,''[_0x5ce1d5(0x178)](_0x4a9038,'-')[_0x5ce1d5(0x178)](_0x91943['tag'],'-')[_0x5ce1d5(0x178)](_0x225f5a),_0x269f2d,void 0x0,_0x54774e);}));}function _0x1f28c1(_0xbe5117,_0x20dfb7,_0xafd092){const _0x4979c3=_0x2c927c;var _0x33153c=_0x1e9d52({},_0xbe5117[_0x4979c3(0x223)]);_0xafd092!=null&&_0xafd092['colorChannel1']&&_0x33153c[_0x4979c3(0x2e9)]==='colorChannel1'&&(_0x33153c[_0x4979c3(0x2e9)]=_0xafd092['colorChannel1']),_0xbe5117['tag']===_0x4979c3(0x31e)&&_0x33153c['id']&&(_0x33153c['id']=_0x33153c['id']+_0x20dfb7[_0x4979c3(0x11d)]),Object[_0x4979c3(0x24a)](_0x33153c)[_0x4979c3(0x186)](function(_0x142f3e){const _0x5327a1=_0x4979c3;var _0x535aa1=_0x142f3e[0x0],_0x3ede27=_0x142f3e[0x1];_0x535aa1===_0x5327a1(0x31e)&&typeof _0x3ede27==_0x5327a1(0x250)&&(_0x33153c[_0x535aa1]=_0x3ede27[_0x5327a1(0x2d9)](/url\(#(.*)\)/,_0x5327a1(0x358)[_0x5327a1(0x178)](_0x20dfb7[_0x5327a1(0x11d)],')')));});var _0x2d5c67=_0x20dfb7['defIds'];return!_0x2d5c67||_0x2d5c67[_0x4979c3(0x1cb)]===0x0||(_0xbe5117[_0x4979c3(0x148)]===_0x4979c3(0x37b)&&_0x33153c[_0x4979c3(0x285)]&&(_0x33153c[_0x4979c3(0x285)]=_0x33153c[_0x4979c3(0x285)]+_0x20dfb7[_0x4979c3(0x11d)]),Object['entries'](_0x33153c)[_0x4979c3(0x186)](function(_0x4461f1){const _0x4f3d8c=_0x4979c3;var _0x4454ab=_0x4461f1[0x0],_0x5e8c3c=_0x4461f1[0x1];typeof _0x5e8c3c=='string'&&(_0x33153c[_0x4454ab]=_0x5e8c3c['replace'](/url\(#(.*)\)/,_0x4f3d8c(0x358)[_0x4f3d8c(0x178)](_0x20dfb7['idSuffix'],')')));})),_0x33153c;}function _0x59d417(_0xde3011,_0x30cb14){const _0xf255c4=_0x2c927c;var _0x2d373a,_0x53526a=_0x30cb14['defIds'];return!_0x53526a||_0x53526a[_0xf255c4(0x1cb)]===0x0?_0xde3011:_0xde3011[_0xf255c4(0x148)]===_0xf255c4(0x236)&&(!((_0x2d373a=_0xde3011[_0xf255c4(0x173)])===null||_0x2d373a===void 0x0)&&_0x2d373a[_0xf255c4(0x1cb)])?_0x1e9d52(_0x1e9d52({},_0xde3011),{'children':_0xde3011[_0xf255c4(0x173)][_0xf255c4(0x1fe)](function(_0x57859d){const _0xe0141b=_0xf255c4;return typeof _0x57859d[_0xe0141b(0x223)]['id']==_0xe0141b(0x250)&&_0x53526a&&_0x53526a[_0xe0141b(0x26f)](_0x57859d[_0xe0141b(0x223)]['id'])>-0x1?_0x1e9d52(_0x1e9d52({},_0x57859d),{'attrs':_0x1e9d52(_0x1e9d52({},_0x57859d[_0xe0141b(0x223)]),{'id':_0x57859d[_0xe0141b(0x223)]['id']+_0x30cb14[_0xe0141b(0x11d)]})}):_0x57859d;})}):_0xde3011;}function _0x2a3aa3(){const _0x243190=_0x2c927c;return Math[_0x243190(0x298)]()[_0x243190(0x28e)](0x24)[_0x243190(0x28f)](0x2,0x8);}_0x4a39de[_0x2c927c(0x15c)]=_0x2c927c(0x14b);var _0x42ca44={'tag':'svg','attrs':{'fill':'none','viewBox':_0x2c927c(0x34f),'width':_0x2c927c(0x25d),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2c927c(0x2a8)},'children':[{'tag':_0x2c927c(0x377),'attrs':{'stroke':_0x2c927c(0x2bb),'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':_0x2c927c(0x354),'strokeLinejoin':_0x2c927c(0x354),'strokeWidth':1.2}}]},{'tag':_0x2c927c(0x236),'attrs':{},'children':[{'tag':_0x2c927c(0x134),'attrs':{'id':_0x2c927c(0x1a6)},'children':[{'tag':'path','attrs':{'fill':_0x2c927c(0x161),'d':_0x2c927c(0x1e7)}}]}]}],'defIds':[_0x2c927c(0x1a6)]},_0x56e7ed=_0x37c89d[_0x2c927c(0x193)](function(_0x1c66ba,_0x13e946){const _0x308fe0=_0x2c927c;return _0x37c89d[_0x308fe0(0x357)](_0x4a39de,Object['assign']({},_0x1c66ba,{'id':_0x308fe0(0x20e),'ref':_0x13e946,'icon':_0x42ca44}));});_0x56e7ed[_0x2c927c(0x15c)]=_0x2c927c(0xfe);var _0x3f0b1a={'tag':_0x2c927c(0x22c),'attrs':{'fill':_0x2c927c(0x2b1),'viewBox':_0x2c927c(0x254),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x2c927c(0x377),'attrs':{'stroke':_0x2c927c(0x2bb),'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':'round','strokeWidth':1.2}}]},{'tag':_0x2c927c(0x236),'attrs':{},'children':[{'tag':_0x2c927c(0x134),'attrs':{'id':_0x2c927c(0x1bb)},'children':[{'tag':_0x2c927c(0x377),'attrs':{'fill':_0x2c927c(0x161),'d':_0x2c927c(0x1e7),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x1e3bf6=_0x37c89d[_0x2c927c(0x193)](function(_0xb24327,_0x988fd){const _0xaafeca=_0x2c927c;return _0x37c89d[_0xaafeca(0x357)](_0x4a39de,Object[_0xaafeca(0x282)]({},_0xb24327,{'id':_0xaafeca(0x1ff),'ref':_0x988fd,'icon':_0x3f0b1a}));});_0x1e3bf6[_0x2c927c(0x15c)]='OnLineSingle';function _0x3afb1b(_0x138211){const _0x41ec28=_0x2c927c;switch(_0x138211){case _0x423a8c[_0x41ec28(0xf7)]['OFFLINE']:return'collabStatus.offline';case _0x423a8c['CollaborationStatus'][_0x41ec28(0x299)]:return _0x41ec28(0x2cf);case _0x423a8c[_0x41ec28(0xf7)][_0x41ec28(0x2ee)]:return _0x41ec28(0x2b7);case _0x423a8c[_0x41ec28(0xf7)]['NOT_COLLAB']:return _0x41ec28(0x2fc);case _0x423a8c[_0x41ec28(0xf7)][_0x41ec28(0x1ca)]:case _0x423a8c[_0x41ec28(0xf7)][_0x41ec28(0xfd)]:return _0x41ec28(0x151);case _0x423a8c[_0x41ec28(0xf7)][_0x41ec28(0x329)]:case _0x423a8c['CollaborationStatus'][_0x41ec28(0x2e0)]:return'collabStatus.synced';}}function _0x402c00(_0x26071f){const _0x47914f=_0x2c927c,{status$:_0x16f24f}=_0x26071f,_0x3359ac=_0x58ede6['useObservable'](_0x16f24f,_0x423a8c[_0x47914f(0xf7)]['NOT_COLLAB']),_0x4b0524=_0x58ede6[_0x47914f(0x2ed)](_0x435b21[_0x47914f(0x2f3)]),_0x4c8bc5=_0x58ede6[_0x47914f(0x2ed)](_0x423a8c[_0x47914f(0x2b9)]),_0x1df079=_0x3359ac!==_0x423a8c['CollaborationStatus'][_0x47914f(0x1c3)],_0x5edcee=_0x4b0524['t'](_0x3afb1b(_0x3359ac)),_0x398070=_0x1df079?_0x242235[_0x47914f(0x184)](_0x1e3bf6,{}):_0x242235[_0x47914f(0x184)](_0x56e7ed,{}),_0x37742c=_0x37c89d[_0x47914f(0x2ef)](()=>{const _0x1023d9=_0x47914f;_0x1df079||_0x4c8bc5[_0x1023d9(0x229)]();},[_0x1df079,_0x4c8bc5]);function _0x4b58f3(){const _0x20fcf0=_0x47914f;return _0x242235['jsxs'](_0x20fcf0(0x1ed),{'className':'univer-flex\x20univer-items-center','onClick':_0x37742c,'children':[_0x242235[_0x20fcf0(0x184)](_0x20fcf0(0x1ed),{'className':_0x3971cd[_0x20fcf0(0x218)]('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x1df079?_0x20fcf0(0x2e2):_0x20fcf0(0x24b)),'children':_0x398070}),_0x242235['jsx']('div',{'className':'univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','children':_0x5edcee})]});}return _0x1df079?_0x4b58f3():_0x242235['jsx'](_0x3971cd[_0x47914f(0x1c9)],{'title':_0x4b0524['t']('collab-client.tooltip.reconnect'),'children':_0x4b58f3()});}var _0x474163=Object[_0x2c927c(0x23e)],_0x3d3d7b=(_0x454436,_0xeda91c,_0x28c611,_0x4db243)=>{for(var _0x279d6c=_0x4db243>0x1?void 0x0:_0x4db243?_0x474163(_0xeda91c,_0x28c611):_0xeda91c,_0x45b850=_0x454436['length']-0x1,_0x4266d0;_0x45b850>=0x0;_0x45b850--)(_0x4266d0=_0x454436[_0x45b850])&&(_0x279d6c=_0x4266d0(_0x279d6c)||_0x279d6c);return _0x279d6c;},_0x537464=(_0x22c3a0,_0x31d2f0)=>(_0xf71acf,_0x279449)=>_0x31d2f0(_0xf71acf,_0x279449,_0x22c3a0);_0x23fa2d[_0x2c927c(0x214)]=class extends _0x435b21[_0x2c927c(0x241)]{constructor(_0x414b75,_0x3f6da5,_0x50faa1,_0x52f793){const _0x2bb663=_0x2c927c;super(),_0x38f83b(this,'_status$',new _0x2cd233[(_0x2bb663(0x11a))](_0x423a8c[_0x2bb663(0xf7)][_0x2bb663(0x244)])),(this[_0x2bb663(0x2cc)]=_0x414b75,this[_0x2bb663(0x234)]=_0x3f6da5,this[_0x2bb663(0x12e)]=_0x50faa1,this[_0x2bb663(0x187)]=_0x52f793,this[_0x2bb663(0x1fa)](),this['_initStatusListener']());}[_0x2c927c(0x1c4)](){const _0x10573b=_0x2c927c;this['disposeWithMe'](this[_0x10573b(0x2cc)][_0x10573b(0x336)]['pipe'](_0x2cd233['switchMap'](()=>{const _0x3f0982=_0x10573b,_0x58a6d0=this[_0x3f0982(0x2cc)]['getFocusedUnit']();return _0x58a6d0?this[_0x3f0982(0x12e)]['getCollabEntity$'](_0x58a6d0[_0x3f0982(0x349)]()):_0x2cd233['of'](null);}),_0x2cd233[_0x10573b(0x1e8)](_0x1616d0=>_0x1616d0?_0x1616d0[_0x10573b(0x2d7)]:_0x2cd233['of'](_0x423a8c[_0x10573b(0xf7)][_0x10573b(0x244)])))['subscribe'](_0x31e596=>{const _0x243d37=_0x10573b;this[_0x243d37(0xed)][_0x243d37(0x1ab)](_0x31e596);}));}[_0x2c927c(0x1fa)](){const _0x47c802=_0x2c927c;this['disposeWithMe'](this['_uiPartsService']['registerComponent'](_0x58ede6['BuiltInUIPart'][_0x47c802(0x204)],()=>_0x58ede6[_0x47c802(0x1e2)](_0x4e0b7a({'status$':this['_status$'][_0x47c802(0x27a)]()}),this[_0x47c802(0x234)])));}},_0x23fa2d[_0x2c927c(0x214)]=_0x3d3d7b([_0x537464(0x0,_0x435b21[_0x2c927c(0x374)]),_0x537464(0x1,_0x435b21[_0x2c927c(0x10f)](_0x435b21[_0x2c927c(0x11c)])),_0x537464(0x2,_0x435b21['Inject'](_0x423a8c[_0x2c927c(0xf0)])),_0x537464(0x3,_0x58ede6['IUIPartsService'])],_0x23fa2d[_0x2c927c(0x214)]);function _0x4e0b7a(_0x24de51){const {status$:_0x3d90cc}=_0x24de51;return function(){return _0x242235['jsx'](_0x402c00,{'status$':_0x3d90cc});};}var _0x4c3144=Object[_0x2c927c(0x23e)],_0x48467c=(_0x393936,_0x490569,_0x27bae8,_0x3d9dc0)=>{const _0xfb1e38=_0x2c927c;for(var _0x406be8=_0x3d9dc0>0x1?void 0x0:_0x3d9dc0?_0x4c3144(_0x490569,_0x27bae8):_0x490569,_0x31d3d5=_0x393936[_0xfb1e38(0x1cb)]-0x1,_0x5725f6;_0x31d3d5>=0x0;_0x31d3d5--)(_0x5725f6=_0x393936[_0x31d3d5])&&(_0x406be8=_0x5725f6(_0x406be8)||_0x406be8);return _0x406be8;},_0x129794=(_0x54664e,_0xc69d00)=>(_0x401315,_0x3ba10a)=>_0xc69d00(_0x401315,_0x3ba10a,_0x54664e);let _0x35bcbb=class extends _0x435b21[_0x2c927c(0x241)]{constructor(_0x58b118,_0x377b95,_0x16314e,_0x13ff99,_0x23346e,_0x307ef4){const _0x3d56dd=_0x2c927c;super(),this[_0x3d56dd(0x341)]=_0x58b118,this['_localCacheService']=_0x377b95,this[_0x3d56dd(0x165)]=_0x16314e,this[_0x3d56dd(0x1b1)]=_0x13ff99,this['_notificationService']=_0x23346e,this[_0x3d56dd(0x1aa)]=_0x307ef4,this['_setupBeforeClosingHandler'](),this[_0x3d56dd(0x384)]();}['_setupBeforeClosingHandler'](){const _0x4bc6ff=_0x2c927c;this[_0x4bc6ff(0x2db)](this[_0x4bc6ff(0x341)][_0x4bc6ff(0x19b)](()=>{const _0x2a3062=_0x4bc6ff;if(this['_localCacheService'][_0x2a3062(0x13c)]['size'])return this['_localeService']['t'](_0x2a3062(0x1ad));}));}[_0x2c927c(0x384)](){const _0x34817b=_0x2c927c;this['disposeWithMe'](this[_0x34817b(0x165)][_0x34817b(0x303)][_0x34817b(0x33d)](_0x3ff8ee=>{const _0x30ae17=_0x34817b;_0x3ff8ee['id']===_0x423a8c['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0x30ae17(0x1b1)]['show']({'type':_0x3971cd['MessageType'][_0x30ae17(0x230)],'content':this[_0x30ae17(0x1aa)]['t'](_0x30ae17(0x14e))}),_0x3ff8ee['id']===_0x423a8c[_0x30ae17(0x26a)][_0x30ae17(0x2b8)]&&this[_0x30ae17(0x1b1)][_0x30ae17(0x1a7)]({'type':_0x3971cd['MessageType'][_0x30ae17(0x230)],'content':this[_0x30ae17(0x1aa)]['t'](_0x30ae17(0xea))}),_0x3ff8ee['id']===_0x423a8c['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x30ae17(0x175)][_0x30ae17(0x1a7)]({'title':this[_0x30ae17(0x1aa)]['t'](_0x30ae17(0x12a)),'content':this[_0x30ae17(0x1aa)]['t']('permission.content'),'type':_0x30ae17(0x12d),'duration':0x0}),_0x3ff8ee['id']===_0x423a8c[_0x30ae17(0x26a)]['CONFLICT']&&this[_0x30ae17(0x1b1)][_0x30ae17(0x1a7)]({'type':_0x3971cd[_0x30ae17(0x169)][_0x30ae17(0x2c7)],'content':this['_localeService']['t'](_0x30ae17(0xea))+'('+_0x3ff8ee[_0x30ae17(0x1dc)]+')'}),_0x3ff8ee['id']===_0x423a8c[_0x30ae17(0x26a)][_0x30ae17(0x122)]&&this['_messageService'][_0x30ae17(0x1a7)]({'type':_0x3971cd[_0x30ae17(0x169)][_0x30ae17(0x230)],'content':this['_localeService']['t'](_0x3ff8ee['data']||'')}),_0x3ff8ee['id']===_0x423a8c[_0x30ae17(0x26a)][_0x30ae17(0x375)]&&this[_0x30ae17(0x1b1)]['show']({'type':_0x3971cd[_0x30ae17(0x169)]['Warning'],'content':this[_0x30ae17(0x1aa)]['t'](_0x30ae17(0x197))}),_0x3ff8ee['id']===_0x423a8c[_0x30ae17(0x26a)][_0x30ae17(0x2ae)]&&this[_0x30ae17(0x1b1)][_0x30ae17(0x1a7)]({'type':_0x3971cd[_0x30ae17(0x169)][_0x30ae17(0x2c7)],'content':this[_0x30ae17(0x1aa)]['t'](_0x30ae17(0x105))}),_0x3ff8ee['id']===_0x423a8c[_0x30ae17(0x26a)][_0x30ae17(0x1a0)]&&this[_0x30ae17(0x1b1)][_0x30ae17(0x1a7)]({'type':_0x3971cd[_0x30ae17(0x169)][_0x30ae17(0x2c7)],'content':this[_0x30ae17(0x1aa)]['t'](_0x30ae17(0x1ef))});}));}};_0x35bcbb=_0x48467c([_0x129794(0x0,_0x58ede6[_0x2c927c(0x23b)]),_0x129794(0x1,_0x423a8c['ILocalCacheService']),_0x129794(0x2,_0x435b21[_0x2c927c(0x10f)](_0x423a8c[_0x2c927c(0x2af)])),_0x129794(0x3,_0x58ede6[_0x2c927c(0x33c)]),_0x129794(0x4,_0x58ede6[_0x2c927c(0x126)]),_0x129794(0x5,_0x435b21[_0x2c927c(0x10f)](_0x435b21[_0x2c927c(0x2f3)]))],_0x35bcbb);const _0x382e8b=_0x2c927c(0x2c9),_0x4aa346={},_0x4a2486=_0x435b21[_0x2c927c(0x333)](_0x2c927c(0x102));var _0x2a35eb=Object['getOwnPropertyDescriptor'],_0x34070b=(_0x1ad12e,_0x4f333f,_0x42dc0f,_0xda0e13)=>{const _0x244acc=_0x2c927c;for(var _0x1e0458=_0xda0e13>0x1?void 0x0:_0xda0e13?_0x2a35eb(_0x4f333f,_0x42dc0f):_0x4f333f,_0x340a34=_0x1ad12e[_0x244acc(0x1cb)]-0x1,_0x54e6b9;_0x340a34>=0x0;_0x340a34--)(_0x54e6b9=_0x1ad12e[_0x340a34])&&(_0x1e0458=_0x54e6b9(_0x1e0458)||_0x1e0458);return _0x1e0458;},_0x44a35d=(_0x22c99b,_0x454876)=>(_0x5efa6,_0x258351)=>_0x454876(_0x5efa6,_0x258351,_0x22c99b);_0x23fa2d[_0x2c927c(0x20f)]=class extends _0x435b21[_0x2c927c(0x30a)]{constructor(_0x49a651,_0x43f024,_0x14858c,_0x36de66,_0x505632){const _0xf87680=_0x2c927c;super(),this[_0xf87680(0x362)]=_0x49a651,this[_0xf87680(0x19a)]=_0x43f024,this['_commandService']=_0x14858c,this[_0xf87680(0x1c2)]=_0x36de66,_0x505632?_0x505632==null||_0x505632[_0xf87680(0x2b3)]()[_0xf87680(0x2bd)](()=>this[_0xf87680(0x170)]()):(this[_0xf87680(0x19a)][_0xf87680(0x1da)](_0xf87680(0x2b0),_0xf87680(0x33e)),this[_0xf87680(0x170)]());}async['_init'](){const _0xd8a4fb=_0x2c927c,_0x1f17de=this['_urlService']['getParam']('unit'),_0x31e8d1=this[_0xd8a4fb(0x362)][_0xd8a4fb(0x16b)](_0xd8a4fb(0x17b)),_0x377abd=this[_0xd8a4fb(0x362)]['getParam'](_0xd8a4fb(0x1e3));if(!_0x1f17de||!_0x31e8d1){this['_logService'][_0xd8a4fb(0x1da)]('[CollaborationDataLoaderController]',_0xd8a4fb(0x30c));return;}const _0x195499=await this[_0xd8a4fb(0x1c2)]['loadUnit'](_0x1f17de,Number(_0x31e8d1),_0x377abd);_0x195499&&_0x195499 instanceof _0x435b21['Workbook']&&this['_setupSubUnitSync'](_0x195499);}async['_setupSubUnitSync'](_0x2ed50e){const _0xbd3823=_0x2c927c;await this['_updateSubUnitFromURLParams'](_0x2ed50e),_0x2ed50e[_0xbd3823(0x2dd)][_0xbd3823(0x27e)](_0x2cd233[_0xbd3823(0x308)](this['dispose$']))[_0xbd3823(0x33d)](_0x6f314e=>{const _0x6d95e8=_0xbd3823;_0x6f314e&&this[_0x6d95e8(0x207)](_0x6f314e);}),this[_0xbd3823(0x362)][_0xbd3823(0xf4)][_0xbd3823(0x27e)](_0x2cd233['takeUntil'](this['dispose$']))[_0xbd3823(0x33d)](()=>this[_0xbd3823(0x25e)](_0x2ed50e));}[_0x2c927c(0x207)](_0x1bc5ef,_0x22518f=!0x1){const _0x16e40d=_0x2c927c,_0x3b527d=this[_0x16e40d(0x362)][_0x16e40d(0x16b)]('subunit');_0x1bc5ef[_0x16e40d(0x11e)]()!==_0x3b527d&&this[_0x16e40d(0x362)][_0x16e40d(0x2be)](_0x16e40d(0x1e3),_0x1bc5ef[_0x16e40d(0x11e)](),_0x22518f);}async[_0x2c927c(0x25e)](_0x3761d5){const _0x5d3b15=_0x2c927c;var _0x53f815;const _0x24114b=this[_0x5d3b15(0x362)][_0x5d3b15(0x16b)](_0x5d3b15(0x1e3));if(!_0x24114b||!_0x3761d5['getSheetBySheetId'](_0x24114b)){const _0x93debe=_0x3761d5[_0x5d3b15(0x15d)]()[0x0],_0x47b3eb=_0x3761d5[_0x5d3b15(0x263)](_0x93debe);if(!_0x47b3eb)return;this[_0x5d3b15(0x207)](_0x47b3eb,!0x0),await this[_0x5d3b15(0x36c)][_0x5d3b15(0x2d3)](_0x4e65b0['SetWorksheetActivateCommand']['id'],{'unitId':_0x3761d5[_0x5d3b15(0x349)](),'subUnitId':_0x93debe});return;}((_0x53f815=_0x3761d5[_0x5d3b15(0x248)]())==null?void 0x0:_0x53f815[_0x5d3b15(0x11e)]())!==_0x24114b&&await this['_commandService'][_0x5d3b15(0x2d3)](_0x4e65b0[_0x5d3b15(0x18d)]['id'],{'unitId':_0x3761d5[_0x5d3b15(0x349)](),'subUnitId':_0x24114b});}},_0x23fa2d[_0x2c927c(0x20f)]=_0x34070b([_0x44a35d(0x0,_0x4a2486),_0x44a35d(0x1,_0x435b21[_0x2c927c(0x2ac)]),_0x44a35d(0x2,_0x435b21[_0x2c927c(0x310)]),_0x44a35d(0x3,_0x435b21[_0x2c927c(0x10f)](_0x423a8c[_0x2c927c(0x100)])),_0x44a35d(0x4,_0x435b21[_0x2c927c(0x139)](_0x47f244[_0x2c927c(0x33f)]))],_0x23fa2d[_0x2c927c(0x20f)]);var _0xd7ce1d=Object['getOwnPropertyDescriptor'],_0x48b05e=(_0x42a6d6,_0x24e678,_0x291b70,_0x3e2be1)=>{const _0x4a5e17=_0x2c927c;for(var _0x4a1c2b=_0x3e2be1>0x1?void 0x0:_0x3e2be1?_0xd7ce1d(_0x24e678,_0x291b70):_0x24e678,_0x4204f3=_0x42a6d6[_0x4a5e17(0x1cb)]-0x1,_0x25596a;_0x4204f3>=0x0;_0x4204f3--)(_0x25596a=_0x42a6d6[_0x4204f3])&&(_0x4a1c2b=_0x25596a(_0x4a1c2b)||_0x4a1c2b);return _0x4a1c2b;},_0x2fe2f9=(_0x1679da,_0x4cff27)=>(_0x2b6bb6,_0x4b5294)=>_0x4cff27(_0x2b6bb6,_0x4b5294,_0x1679da);let _0x326ff9=class{constructor(_0xbd2fd2,_0x386c50,_0x35329a){const _0x137930=_0x2c927c;this[_0x137930(0x234)]=_0xbd2fd2,this['_transformService']=_0x386c50,this['_renderManagerService']=_0x35329a;}[_0x2c927c(0x2e8)](_0x3abe42){const _0x429e53=_0x2c927c;this[_0x429e53(0x323)](_0x3abe42),this[_0x429e53(0x1d6)](_0x3abe42);}[_0x2c927c(0x1e4)](_0x5d67ec){const _0x367974=_0x2c927c,{unitID:_0x5ae819}=_0x5d67ec,_0x23a182=this['_renderManagerService'][_0x367974(0x21c)](_0x5ae819)[_0x367974(0x1ee)](_0x4b4959[_0x367974(0x2ad)]),{redoCache:_0x7294a8}=_0x23a182[_0x367974(0x20a)]();if(_0x7294a8[_0x367974(0x1cb)]===0x0)return _0x5d67ec;let _0x36c65=_0x435b21[_0x367974(0x331)]['deepClone'](_0x5d67ec[_0x367974(0x35c)][0x0]);for(let _0x470fc7=0x0;_0x470fc7<_0x7294a8[_0x367974(0x1cb)];_0x470fc7++){const _0x36f13a={'id':'doc.mutation.rich-text-editing','params':{..._0x7294a8[_0x470fc7]}},_0x292043=this['_transformService'][_0x367974(0x26b)](_0x36c65,_0x36f13a,!0x1);if(_0x1e007a[_0x367974(0x160)](_0x292043))throw _0x292043['error'];_0x36c65=_0x292043['m1Prime'];}return{..._0x435b21[_0x367974(0x331)][_0x367974(0x2c6)](_0x5d67ec),'mutations':[_0x36c65]};}[_0x2c927c(0x323)](_0x39fc52){const _0xa47112=_0x2c927c,{unitID:_0x4b0473}=_0x39fc52,_0x5a4057=this[_0xa47112(0x1e9)][_0xa47112(0x21c)](_0x4b0473)['with'](_0x4b4959[_0xa47112(0x2ad)]),{undoCache:_0x3351b3,redoCache:_0x2db180}=_0x5a4057[_0xa47112(0x20a)]();if(_0x3351b3['length']===0x0||_0x2db180[_0xa47112(0x1cb)]===0x0)return;const _0x1a10b9=[],_0x4d3a57=[];let _0x3e2ba1=_0x435b21[_0xa47112(0x331)][_0xa47112(0x2c6)](_0x39fc52[_0xa47112(0x35c)][0x0]),_0x3bcef8=_0x435b21[_0xa47112(0x331)]['deepClone'](_0x39fc52['mutations'][0x0]);for(let _0x5ec299=_0x3351b3[_0xa47112(0x1cb)]-0x1;_0x5ec299>=0x0;_0x5ec299--){const _0x5e6041={'id':_0xa47112(0x142),'params':{..._0x3351b3[_0x5ec299]}},_0x3cff01={'id':_0xa47112(0x142),'params':{..._0x2db180[_0x5ec299]}},_0x58f014=this['_transformService'][_0xa47112(0x26b)](_0x3e2ba1,_0x5e6041,!0x1),_0x5efecc=this[_0xa47112(0x185)]['transformMutation'](_0x3bcef8,_0x3cff01,!0x1);if(_0x1e007a[_0xa47112(0x160)](_0x58f014))throw _0x58f014['error'];if(_0x1e007a[_0xa47112(0x160)](_0x5efecc))throw _0x5efecc[_0xa47112(0x12d)];_0x1a10b9['unshift'](_0x58f014[_0xa47112(0x1d7)][_0xa47112(0x318)]),_0x4d3a57[_0xa47112(0x1c1)](_0x5efecc['m2Prime'][_0xa47112(0x318)]),_0x3e2ba1=_0x58f014[_0xa47112(0x372)],_0x3bcef8=_0x5efecc['m1Prime'];}_0x5a4057[_0xa47112(0x116)]({'undoCache':_0x1a10b9,'redoCache':_0x4d3a57});}[_0x2c927c(0x1d6)](_0x320399){const _0x2533c8=_0x2c927c,{unitID:_0x246e0d}=_0x320399,_0x37be87=this['_renderManagerService'][_0x2533c8(0x21c)](_0x246e0d)['with'](_0x4b4959[_0x2533c8(0x2ad)]),_0x4ee2d4=_0x37be87[_0x2533c8(0x350)]();if(_0x4ee2d4==null)return;const _0x2cdead=[{'id':_0x2533c8(0x142),'params':{'unitId':_0x320399[_0x2533c8(0x24c)],'actions':null,'textRanges':[_0x4ee2d4]}}],_0x21dcb0=this[_0x2533c8(0x185)]['transformMutationsWithChangeset'](_0x320399,_0x2cdead);if(!_0x1e007a[_0x2533c8(0x26c)](_0x21dcb0))throw _0x21dcb0[_0x2533c8(0x12d)];const _0x2a52c7=_0x21dcb0[_0x2533c8(0x1d7)][0x0]['params'][_0x2533c8(0xf2)];Array['isArray'](_0x2a52c7)&&_0x2a52c7[_0x2533c8(0x1cb)]&&_0x37be87[_0x2533c8(0x238)](_0x2a52c7[0x0]);}};_0x326ff9=_0x48b05e([_0x2fe2f9(0x0,_0x435b21[_0x2c927c(0x10f)](_0x435b21[_0x2c927c(0x11c)])),_0x2fe2f9(0x1,_0x1e007a[_0x2c927c(0x1be)]),_0x2fe2f9(0x2,_0x4af3d8[_0x2c927c(0x2ce)])],_0x326ff9);var _0x188008=Object[_0x2c927c(0x23e)],_0x5482e6=(_0x556871,_0x258a22,_0x2c468d,_0x522efd)=>{const _0x46d2e8=_0x2c927c;for(var _0xdad588=_0x522efd>0x1?void 0x0:_0x522efd?_0x188008(_0x258a22,_0x2c468d):_0x258a22,_0x21256e=_0x556871[_0x46d2e8(0x1cb)]-0x1,_0x1c2754;_0x21256e>=0x0;_0x21256e--)(_0x1c2754=_0x556871[_0x21256e])&&(_0xdad588=_0x1c2754(_0xdad588)||_0xdad588);return _0xdad588;},_0x27ce56=(_0x303ebe,_0x4e3925)=>(_0x358010,_0x10dc7e)=>_0x4e3925(_0x358010,_0x10dc7e,_0x303ebe);let _0x28e786=class{constructor(_0x1c7e58,_0x153b87,_0x404ad2){const _0x4f67aa=_0x2c927c;this[_0x4f67aa(0x234)]=_0x1c7e58,this[_0x4f67aa(0x185)]=_0x153b87,this[_0x4f67aa(0x367)]=_0x404ad2;}[_0x2c927c(0x16d)](_0x38cef1){this['_transformHistoryAndStateStack'](_0x38cef1);}[_0x2c927c(0x1e4)](_0x1f820f){const _0x4ee88d=_0x2c927c,{unitID:_0x53994e}=_0x1f820f,{collaboration:_0xe02502}=this[_0x4ee88d(0x367)][_0x4ee88d(0x2bc)](_0x53994e);if(_0xe02502[_0x4ee88d(0x1cb)]===0x0)return _0x1f820f;let _0x5e1fce=_0x435b21[_0x4ee88d(0x331)][_0x4ee88d(0x2c6)](_0x1f820f[_0x4ee88d(0x35c)][0x0]);for(let _0x56c453=0x0;_0x56c453<_0xe02502[_0x4ee88d(0x1cb)];_0x56c453++){const _0x5e68f2={'id':_0x4ee88d(0x142),'params':{'unitId':_0xe02502[_0x56c453][_0x4ee88d(0x31c)],..._0xe02502[_0x56c453][_0x4ee88d(0x327)]}},_0x448a87=this[_0x4ee88d(0x185)][_0x4ee88d(0x26b)](_0x5e1fce,_0x5e68f2,!0x1);if(_0x1e007a['isTransformMutationFailure'](_0x448a87))throw _0x448a87['error'];_0x5e1fce=_0x448a87['m1Prime'];}return{..._0x435b21[_0x4ee88d(0x331)][_0x4ee88d(0x2c6)](_0x1f820f),'mutations':[_0x5e1fce]};}[_0x2c927c(0x284)](_0xee6ce4){const _0x556d36=_0x2c927c,{unitID:_0x4000ed}=_0xee6ce4,{history:_0x5c1c9f,collaboration:_0x113287}=this[_0x556d36(0x367)][_0x556d36(0x2bc)](_0x4000ed);if(_0x5c1c9f[_0x556d36(0x1cb)]===0x0&&_0x113287['length']===0x0)return;const _0xb3667f=[],_0x39d1dd=[];let _0x54acbd=_0x435b21[_0x556d36(0x331)][_0x556d36(0x2c6)](_0xee6ce4['mutations'][0x0]),_0xfcec45=_0x435b21[_0x556d36(0x331)]['deepClone'](_0xee6ce4[_0x556d36(0x35c)][0x0]);for(let _0x283593=_0x5c1c9f[_0x556d36(0x1cb)]-0x1;_0x283593>=0x0;_0x283593--){const _0x2b2b87={'id':_0x556d36(0x142),'params':{'unitId':_0x5c1c9f[_0x283593]['unitId'],..._0x5c1c9f[_0x283593][_0x556d36(0x209)]}},_0x12f538={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5c1c9f[_0x283593][_0x556d36(0x31c)],..._0x5c1c9f[_0x283593][_0x556d36(0x327)]}},_0xa1b6a4=this[_0x556d36(0x185)][_0x556d36(0x26b)](_0x54acbd,_0x2b2b87,!0x1),_0x4a581a=this[_0x556d36(0x185)][_0x556d36(0x26b)](_0xfcec45,_0x12f538,!0x1);if(_0x1e007a['isTransformMutationFailure'](_0xa1b6a4))throw _0xa1b6a4[_0x556d36(0x12d)];if(_0x1e007a[_0x556d36(0x160)](_0x4a581a))throw _0x4a581a[_0x556d36(0x12d)];_0xb3667f[_0x556d36(0x1c1)]({..._0x5c1c9f[_0x283593],'undoState':_0xa1b6a4[_0x556d36(0x1d7)][_0x556d36(0x318)],'redoState':_0x4a581a['m2Prime'][_0x556d36(0x318)]}),_0x54acbd=_0xa1b6a4[_0x556d36(0x372)],_0xfcec45=_0x4a581a['m1Prime'];}_0x54acbd=_0x435b21[_0x556d36(0x331)][_0x556d36(0x2c6)](_0xee6ce4[_0x556d36(0x35c)][0x0]),_0xfcec45=_0x435b21['Tools'][_0x556d36(0x2c6)](_0xee6ce4[_0x556d36(0x35c)][0x0]);for(let _0x3aaae4=_0x113287['length']-0x1;_0x3aaae4>=0x0;_0x3aaae4--){const _0x5d84f1={'id':_0x556d36(0x142),'params':{'unitId':_0x113287[_0x3aaae4]['unitId'],..._0x113287[_0x3aaae4][_0x556d36(0x209)]}},_0x2940ac={'id':_0x556d36(0x142),'params':{'unitId':_0x113287[_0x3aaae4][_0x556d36(0x31c)],..._0x113287[_0x3aaae4][_0x556d36(0x327)]}},_0x3cf22b=this['_transformService'][_0x556d36(0x26b)](_0x54acbd,_0x5d84f1,!0x1),_0x2334fc=this[_0x556d36(0x185)][_0x556d36(0x26b)](_0xfcec45,_0x2940ac,!0x1);if(_0x1e007a[_0x556d36(0x160)](_0x3cf22b))throw _0x3cf22b['error'];if(_0x1e007a[_0x556d36(0x160)](_0x2334fc))throw _0x2334fc[_0x556d36(0x12d)];_0x39d1dd['unshift']({..._0x113287[_0x3aaae4],'undoState':_0x3cf22b[_0x556d36(0x1d7)][_0x556d36(0x318)],'redoState':_0x2334fc[_0x556d36(0x1d7)][_0x556d36(0x318)]}),_0x54acbd=_0x3cf22b[_0x556d36(0x372)],_0xfcec45=_0x2334fc[_0x556d36(0x372)];}this['_docStateChangeManagerService'][_0x556d36(0xfb)](_0x4000ed,{'history':_0xb3667f,'collaboration':_0x39d1dd});}};_0x28e786=_0x5482e6([_0x27ce56(0x0,_0x435b21[_0x2c927c(0x10f)](_0x435b21[_0x2c927c(0x11c)])),_0x27ce56(0x1,_0x1e007a['ITransformService']),_0x27ce56(0x2,_0x435b21[_0x2c927c(0x10f)](_0x4b4959[_0x2c927c(0x2c5)]))],_0x28e786);var _0x5dda59=Object[_0x2c927c(0x23e)],_0x428088=(_0x2bfe11,_0x54c190,_0x425d74,_0xbf7896)=>{const _0x1a759d=_0x2c927c;for(var _0x4ada2c=_0xbf7896>0x1?void 0x0:_0xbf7896?_0x5dda59(_0x54c190,_0x425d74):_0x54c190,_0x32b4a8=_0x2bfe11[_0x1a759d(0x1cb)]-0x1,_0x24748f;_0x32b4a8>=0x0;_0x32b4a8--)(_0x24748f=_0x2bfe11[_0x32b4a8])&&(_0x4ada2c=_0x24748f(_0x4ada2c)||_0x4ada2c);return _0x4ada2c;},_0x1d0287=(_0x1eae47,_0x55cac4)=>(_0x3eb722,_0x412b2a)=>_0x55cac4(_0x3eb722,_0x412b2a,_0x1eae47);let _0x279da1=class{constructor(_0x569b80,_0x5678e3){const _0x49993b=_0x2c927c;this[_0x49993b(0x234)]=_0x569b80,this[_0x49993b(0x185)]=_0x5678e3;}[_0x2c927c(0x1bc)](_0x441665){const _0x5376a0=_0x2c927c;var _0x27dca5;const _0x5e3d7f=this[_0x5376a0(0x234)][_0x5376a0(0x373)](_0xf499cd[_0x5376a0(0x143)]),_0x283383=(_0x27dca5=_0x5e3d7f[_0x5376a0(0x14a)]())!=null?_0x27dca5:[];if(_0x283383[_0x5376a0(0x1cb)]===0x0)return;const _0x14b98f=_0x441665['unitID'],_0x639107=[{'id':_0x5376a0(0x142),'params':{'unitId':_0x14b98f,'actions':null,'textRanges':_0x283383}}],_0x1c4711=this[_0x5376a0(0x185)][_0x5376a0(0x280)](_0x441665,_0x639107);if(!_0x1e007a[_0x5376a0(0x26c)](_0x1c4711))throw _0x1c4711[_0x5376a0(0x12d)];const _0x522af3=_0x1c4711[_0x5376a0(0x1d7)][0x0]['params']['textRanges'];Array[_0x5376a0(0x2b2)](_0x522af3)&&_0x522af3[_0x5376a0(0x1cb)]&&_0x5e3d7f[_0x5376a0(0x200)](_0x522af3,{'unitId':_0x14b98f,'subUnitId':_0x14b98f},!0x1);}};_0x279da1=_0x428088([_0x1d0287(0x0,_0x435b21[_0x2c927c(0x10f)](_0x435b21[_0x2c927c(0x11c)])),_0x1d0287(0x1,_0x1e007a[_0x2c927c(0x1be)])],_0x279da1);var _0xc16dba=Object['getOwnPropertyDescriptor'],_0x3bf040=(_0x4be736,_0x3fc766,_0xb120eb,_0x97ff2c)=>{const _0x57e80d=_0x2c927c;for(var _0x54bac9=_0x97ff2c>0x1?void 0x0:_0x97ff2c?_0xc16dba(_0x3fc766,_0xb120eb):_0x3fc766,_0x13cb33=_0x4be736[_0x57e80d(0x1cb)]-0x1,_0x211c14;_0x13cb33>=0x0;_0x13cb33--)(_0x211c14=_0x4be736[_0x13cb33])&&(_0x54bac9=_0x211c14(_0x54bac9)||_0x54bac9);return _0x54bac9;},_0x296cf4=(_0x3858a9,_0x376e58)=>(_0x2818a8,_0x4b235e)=>_0x376e58(_0x2818a8,_0x4b235e,_0x3858a9);let _0x5465fc=class extends _0x435b21[_0x2c927c(0x241)]{constructor(_0x35c829,_0x198445,_0x15790e,_0x3934d1,_0x516276,_0x3a2cc4,_0x11a588,_0x25ee72){const _0x120079=_0x2c927c;super(),_0x38f83b(this,_0x120079(0xed),new _0x2cd233[(_0x120079(0x11a))](_0x423a8c['CollaborationStatus'][_0x120079(0x244)])),(this[_0x120079(0x367)]=_0x35c829,this['_collaborationController']=_0x198445,this[_0x120079(0x101)]=_0x15790e,this[_0x120079(0x295)]=_0x3934d1,this[_0x120079(0x128)]=_0x516276,this[_0x120079(0x2eb)]=_0x3a2cc4,this[_0x120079(0x1b1)]=_0x11a588,this[_0x120079(0x1aa)]=_0x25ee72,this[_0x120079(0x37e)]());}[_0x2c927c(0x37e)](){const _0x1002ee=_0x2c927c;this[_0x1002ee(0x2db)](this[_0x1002ee(0x12e)]['entityInit$']['subscribe'](_0x3b2e70=>{const _0x3e8960=_0x1002ee,_0x586575=this[_0x3e8960(0x367)]['docStateChange$'][_0x3e8960(0x33d)](_0x553146=>{const _0x5456ac=_0x3e8960;if(_0x553146==null)return;const {unitId:_0x2b91eb,redoState:_0x210d81,commandId:_0x5c556f}=_0x553146;if(_0x2b91eb!==_0x3b2e70[_0x5456ac(0x24c)])return;const _0x376a88={'id':_0x5c556f,'type':_0x435b21['CommandType'][_0x5456ac(0x251)],'params':{'unitId':_0x2b91eb,'actions':_0x210d81['actions'],'textRanges':null}};_0x3b2e70['onLocalMutation'](_0x376a88);});if(_0x3b2e70['disposeWithMe'](_0x586575),_0x3b2e70 instanceof _0x423a8c[_0x3e8960(0x387)]){const _0x48c127={'onTransformIME':_0x3df51a=>this['_docTransformIMECacheService'][_0x3e8960(0x2e8)](_0x3df51a),'onTransformState':_0x38c7b2=>this[_0x3e8960(0x295)][_0x3e8960(0x16d)](_0x38c7b2),'onTransformSelections':_0x5c8129=>this[_0x3e8960(0x128)][_0x3e8960(0x1bc)](_0x5c8129),'onSyncEditingCollabCursor':_0xe0b1a2=>this[_0x3e8960(0x2eb)][_0x3e8960(0x1fb)](_0xe0b1a2),'onTransformRemoteChangesetByIMECache':_0x329b8b=>this['_docTransformIMECacheService'][_0x3e8960(0x1e4)](_0x329b8b),'onTransformRemoteChangesetByStateCache':_0x621cac=>this[_0x3e8960(0x295)][_0x3e8960(0x1e4)](_0x621cac)};_0x3b2e70[_0x3e8960(0x215)](_0x48c127);}}));}};_0x5465fc=_0x3bf040([_0x296cf4(0x0,_0x435b21[_0x2c927c(0x10f)](_0x4b4959[_0x2c927c(0x2c5)])),_0x296cf4(0x1,_0x435b21[_0x2c927c(0x10f)](_0x423a8c[_0x2c927c(0xf0)])),_0x296cf4(0x2,_0x435b21[_0x2c927c(0x10f)](_0x326ff9)),_0x296cf4(0x3,_0x435b21['Inject'](_0x28e786)),_0x296cf4(0x4,_0x435b21['Inject'](_0x279da1)),_0x296cf4(0x5,_0x435b21['Inject'](_0x4a01ed)),_0x296cf4(0x6,_0x58ede6[_0x2c927c(0x33c)]),_0x296cf4(0x7,_0x435b21[_0x2c927c(0x10f)](_0x435b21[_0x2c927c(0x2f3)]))],_0x5465fc);var _0x5b0a99=Object[_0x2c927c(0x23e)],_0x2e26de=(_0x5252a7,_0x43497a,_0x3f66f9,_0x253ac5)=>{const _0x28cc2f=_0x2c927c;for(var _0x4ed662=_0x253ac5>0x1?void 0x0:_0x253ac5?_0x5b0a99(_0x43497a,_0x3f66f9):_0x43497a,_0x160743=_0x5252a7[_0x28cc2f(0x1cb)]-0x1,_0xa2901c;_0x160743>=0x0;_0x160743--)(_0xa2901c=_0x5252a7[_0x160743])&&(_0x4ed662=_0xa2901c(_0x4ed662)||_0x4ed662);return _0x4ed662;},_0x1b1842=(_0x41cd93,_0x272539)=>(_0x2a95ff,_0x4eab5e)=>_0x272539(_0x2a95ff,_0x4eab5e,_0x41cd93);let _0x19bc91=class extends _0x435b21[_0x2c927c(0x241)]{constructor(_0x369cc1,_0x3409c1,_0x5dc17d){const _0x34c1da=_0x2c927c;super(),_0x38f83b(this,_0x34c1da(0x1b0),new Map()),_0x38f83b(this,_0x34c1da(0x2ec),new Map()),_0x38f83b(this,_0x34c1da(0x35b),!0x1),(this[_0x34c1da(0x2f6)]=_0x369cc1,this[_0x34c1da(0x206)]=_0x3409c1,this[_0x34c1da(0xff)]=_0x5dc17d);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x2c927c(0xeb)](){const _0x4bc5aa=_0x2c927c;this[_0x4bc5aa(0x35b)]=!0x1;}get[_0x2c927c(0x13c)](){return this['_saveTaskMap'];}[_0x2c927c(0x355)](){const _0x57e783=_0x2c927c;this[_0x57e783(0x1b8)]()[_0x57e783(0x2bd)](()=>super['dispose']());}async[_0x2c927c(0x2df)](_0x54558b){const _0x5710d9=_0x2c927c;return this[_0x5710d9(0x35b)]?null:this[_0x5710d9(0x206)][_0x5710d9(0xfc)](_0x423a8c['getLocalCacheKey'](_0x54558b));}async[_0x2c927c(0x19f)](_0x389435,_0x22b2d5){const _0x5d43b3=_0x2c927c;return!!this[_0x5d43b3(0x206)]['setItem'](_0x389435,_0x22b2d5);}['updateOfflineData'](_0x52d48d,_0x32f7b7,_0x1ca534,_0x2dc8aa){const _0x1cd4eb=_0x2c927c,_0x29b3d5=this[_0x1cd4eb(0xff)][_0x1cd4eb(0x155)](_0x52d48d);this[_0x1cd4eb(0x1b0)]['set'](_0x52d48d,{'unitID':_0x52d48d,'type':_0x32f7b7,'awaitingChangeset':_0x1ca534,'mutations':_0x2dc8aa,'rev':_0x29b3d5}),this[_0x1cd4eb(0x2ec)][_0x1cd4eb(0x133)](_0x52d48d)||this['_scheduleSaving'](_0x52d48d);}[_0x2c927c(0x158)](_0x38cf0e){const _0x56cd3b=_0x2c927c,_0x202876=this[_0x56cd3b(0xf8)]();_0x202876===0x0?this[_0x56cd3b(0x27c)](_0x38cf0e):this[_0x56cd3b(0x2ec)]['set'](_0x38cf0e,setTimeout(()=>this[_0x56cd3b(0x27c)](_0x38cf0e),_0x202876));}[_0x2c927c(0xf8)](){const _0x4adb3e=_0x2c927c;var _0x2b8cc0;return(_0x2b8cc0=this[_0x4adb3e(0x2f6)][_0x4adb3e(0x1bf)](_0x423a8c[_0x4adb3e(0x196)]))!=null?_0x2b8cc0:_0x423a8c[_0x4adb3e(0x34e)];}[_0x2c927c(0x27c)](_0xbdb619){const _0x32ad56=_0x2c927c,_0xd0d3b1=this[_0x32ad56(0x2ec)][_0x32ad56(0x373)](_0xbdb619);return _0xd0d3b1!==void 0x0&&window[_0x32ad56(0x2a0)](_0xd0d3b1),this[_0x32ad56(0x206)][_0x32ad56(0x32f)](_0x423a8c[_0x32ad56(0x322)](_0xbdb619),this['_cachedData'][_0x32ad56(0x373)](_0xbdb619))[_0x32ad56(0x2bd)](()=>this[_0x32ad56(0x2ec)][_0x32ad56(0x191)](_0xbdb619));}async['exhaustSavingTask'](){const _0x52ad64=_0x2c927c,_0x31ea0d=[];this[_0x52ad64(0x2ec)][_0x52ad64(0x186)]((_0x5bbad3,_0x4ce6a8)=>{const _0x188cf9=_0x52ad64;window[_0x188cf9(0x2a0)](_0x5bbad3),_0x31ea0d['push'](this[_0x188cf9(0x27c)](_0x4ce6a8)[_0x188cf9(0x2bd)](()=>{const _0x5e01fb=_0x188cf9;this[_0x5e01fb(0x2ec)][_0x5e01fb(0x191)](_0x4ce6a8);}));}),await Promise[_0x52ad64(0x17a)](_0x31ea0d);}};_0x19bc91=_0x2e26de([_0x1b1842(0x0,_0x435b21['IConfigService']),_0x1b1842(0x1,_0x435b21[_0x2c927c(0x2e1)]),_0x1b1842(0x2,_0x435b21[_0x2c927c(0x10f)](_0x1e007a[_0x2c927c(0x32b)]))],_0x19bc91);class _0x1b1813 extends _0x435b21[_0x2c927c(0x30a)]{constructor(){const _0x5adce2=_0x2c927c;super(),_0x38f83b(this,_0x5adce2(0xf4)),this['urlChange$']=_0x2cd233[_0x5adce2(0x376)](window,_0x5adce2(0x267))['pipe'](_0x2cd233['takeUntil'](this['dispose$']),_0x2cd233['shareReplay'](0x1),_0x2cd233[_0x5adce2(0x164)](void 0x0));}[_0x2c927c(0x2be)](_0xd8ab56,_0x345779,_0x4f28f3=!0x1){const _0x5f54d2=_0x2c927c,_0x40e64e=new URL(window[_0x5f54d2(0x1e6)]['href']);_0x40e64e[_0x5f54d2(0x180)][_0x5f54d2(0x1e0)](_0xd8ab56,_0x345779),_0x4f28f3?window[_0x5f54d2(0x29f)][_0x5f54d2(0x369)]('','',_0x40e64e[_0x5f54d2(0x28e)]()):window[_0x5f54d2(0x29f)]['pushState']('','',_0x40e64e[_0x5f54d2(0x28e)]());}[_0x2c927c(0x1df)](_0x4414e4,_0x40af2f=!0x1){const _0x43ce70=_0x2c927c,_0x53c6ba=new URL(window[_0x43ce70(0x1e6)]['href']);_0x53c6ba[_0x43ce70(0x180)][_0x43ce70(0x191)](_0x4414e4),_0x40af2f?window[_0x43ce70(0x29f)][_0x43ce70(0x369)]('','',_0x53c6ba[_0x43ce70(0x28e)]()):window[_0x43ce70(0x29f)][_0x43ce70(0x132)]('','',_0x53c6ba[_0x43ce70(0x28e)]());}['getParam'](_0x256e16){const _0x1ee5b5=_0x2c927c;var _0xe24949;return(_0xe24949=new URL(window['location'][_0x1ee5b5(0x136)])['searchParams'][_0x1ee5b5(0x373)](_0x256e16))!=null?_0xe24949:void 0x0;}}var _0x24d0f8=Object[_0x2c927c(0x386)],_0x3194c6=Object[_0x2c927c(0x23e)],_0x62dcd1=(_0x5dfee5,_0x4aa9c1,_0x19ee5f)=>_0x4aa9c1 in _0x5dfee5?_0x24d0f8(_0x5dfee5,_0x4aa9c1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x19ee5f}):_0x5dfee5[_0x4aa9c1]=_0x19ee5f,_0x339f24=(_0x1d5ebf,_0x2fe0c2,_0x2002ce,_0x160cad)=>{const _0x121754=_0x2c927c;for(var _0x2e4a60=_0x160cad>0x1?void 0x0:_0x160cad?_0x3194c6(_0x2fe0c2,_0x2002ce):_0x2fe0c2,_0x2150be=_0x1d5ebf[_0x121754(0x1cb)]-0x1,_0x377473;_0x2150be>=0x0;_0x2150be--)(_0x377473=_0x1d5ebf[_0x2150be])&&(_0x2e4a60=_0x377473(_0x2e4a60)||_0x2e4a60);return _0x2e4a60;},_0x5a588f=(_0x4f0c1f,_0xa33e18)=>(_0x4cb694,_0x3cd11d)=>_0xa33e18(_0x4cb694,_0x3cd11d,_0x4f0c1f),_0xa00b8b=(_0x2d87c5,_0xa24b17,_0x87d022)=>_0x62dcd1(_0x2d87c5,_0xa24b17+'',_0x87d022);const _0x2e533c=_0x2c927c(0x21b);_0x23fa2d[_0x2c927c(0x198)]=class extends _0x435b21[_0x2c927c(0x28c)]{constructor(_0x1f56b5=_0x4aa346,_0x5f0d45,_0x119a91,_0x4d49c0){const _0x4697bc=_0x2c927c;super(),this[_0x4697bc(0x103)]=_0x1f56b5,this[_0x4697bc(0x1e9)]=_0x5f0d45,this[_0x4697bc(0x234)]=_0x119a91,this[_0x4697bc(0x2f6)]=_0x4d49c0;const {..._0x8ea465}=_0x435b21[_0x4697bc(0x16c)]({},_0x4aa346,this['_config']);this['_configService'][_0x4697bc(0x34a)](_0x382e8b,_0x8ea465);}[_0x2c927c(0x1d0)](){const _0x3c5074=_0x2c927c;this[_0x3c5074(0x11f)](),this[_0x3c5074(0x18f)]();}[_0x2c927c(0x2f4)](){const _0x515834=_0x2c927c;this[_0x515834(0x273)]();}[_0x2c927c(0x11f)](){const _0x5ac44a=_0x2c927c;var _0x5983e6;const _0x455a82=[[_0x90e5a9],[_0x279da1],[_0x326ff9],[_0x28e786],[_0x4a01ed],[_0x4a2486,{'useClass':_0x1b1813}],[_0x4e6983[_0x5ac44a(0x2da)],{'useClass':_0x4e6983[_0x5ac44a(0x14d)]}],[_0x423a8c[_0x5ac44a(0x339)],{'useClass':_0x19bc91}],[_0x23fa2d[_0x5ac44a(0x214)]],[_0x5465fc],[_0x35bcbb],[_0x5433ad],[_0x49f868],[_0x23fa2d['CollaborationDataLoaderController']]];_0x435b21['registerDependencies'](this['_injector'],_0x435b21[_0x5ac44a(0x1b6)](_0x455a82,(_0x5983e6=this[_0x5ac44a(0x103)])==null?void 0x0:_0x5983e6['override']));}[_0x2c927c(0x273)](){const _0x4cae3b=_0x2c927c;this[_0x4cae3b(0x2db)](this['_renderManagerService'][_0x4cae3b(0x211)](_0x435b21[_0x4cae3b(0x2c3)][_0x4cae3b(0x1c6)],[_0x3317c9])),this[_0x4cae3b(0x2db)](this[_0x4cae3b(0x1e9)]['registerRenderModule'](_0x435b21[_0x4cae3b(0x2c3)][_0x4cae3b(0x29d)],[_0x3bd592]));}[_0x2c927c(0x18f)](){const _0x39fccc=_0x2c927c;_0x435b21[_0x39fccc(0x23f)](this['_injector'],[[_0x5433ad],[_0x23fa2d[_0x39fccc(0x214)]],[_0x5465fc],[_0x35bcbb],[_0x23fa2d[_0x39fccc(0x20f)]]]);}},_0xa00b8b(_0x23fa2d[_0x2c927c(0x198)],_0x2c927c(0x307),_0x2e533c),_0x23fa2d[_0x2c927c(0x198)]=_0x339f24([_0x435b21[_0x2c927c(0x25c)](_0x423a8c[_0x2c927c(0x14f)]),_0x5a588f(0x1,_0x4af3d8[_0x2c927c(0x2ce)]),_0x5a588f(0x2,_0x435b21[_0x2c927c(0x10f)](_0x435b21[_0x2c927c(0x11c)])),_0x5a588f(0x3,_0x435b21['IConfigService'])],_0x23fa2d[_0x2c927c(0x198)]);var _0x471f6a=Object[_0x2c927c(0x23e)],_0x5684d4=(_0x34db63,_0x487fa7,_0x4fe490,_0x2e2a58)=>{const _0x50e963=_0x2c927c;for(var _0x264bfd=_0x2e2a58>0x1?void 0x0:_0x2e2a58?_0x471f6a(_0x487fa7,_0x4fe490):_0x487fa7,_0x128fdf=_0x34db63[_0x50e963(0x1cb)]-0x1,_0x183641;_0x128fdf>=0x0;_0x128fdf--)(_0x183641=_0x34db63[_0x128fdf])&&(_0x264bfd=_0x183641(_0x264bfd)||_0x264bfd);return _0x264bfd;},_0x13cf62=(_0x5e2415,_0x1e28fa)=>(_0x41934d,_0x59e750)=>_0x1e28fa(_0x41934d,_0x59e750,_0x5e2415);_0x23fa2d['BrowserCollaborationSocketService']=class extends _0x423a8c[_0x2c927c(0x269)]{constructor(_0x12445f,_0x118534,_0x28c15c,_0x4dc10e,_0x4d953c){super(_0x12445f,_0x118534,_0x28c15c,_0x4dc10e,_0x4d953c);}async[_0x2c927c(0x353)](_0x57f1ef){const _0x464ed5=_0x2c927c,_0x1f287c=await this['_getSessionTicket'](),_0x2cbc06=this[_0x464ed5(0x2d2)](_0x57f1ef,_0x1f287c);return this['_doCreateSocket'](_0x2cbc06);}[_0x2c927c(0x2d2)](_0xacfddb,_0x4b5575){const _0xdd59f1=_0x2c927c,_0x3131d2=typeof window>'u'?new URL(_0xacfddb):new URL(_0xacfddb,window[_0xdd59f1(0x1e6)][_0xdd59f1(0x381)]);_0x3131d2[_0xdd59f1(0x180)][_0xdd59f1(0x1e0)]('sessionTicket',_0x4b5575);const _0x3de3cc=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xdd59f1(0x1e6)][_0xdd59f1(0x34b)]);return _0x3de3cc['get'](_0xdd59f1(0x192))&&_0x3131d2[_0xdd59f1(0x180)]['set'](_0xdd59f1(0x192),_0x3de3cc['get']('runId')),_0x3131d2[_0xdd59f1(0x28e)]();}async['_getSessionTicket'](){const _0x17b2e0=_0x2c927c;var _0x2a54d6,_0xd8742d,_0x30eda4;const _0x9e96f4=this[_0x17b2e0(0x2f6)][_0x17b2e0(0x1bf)](_0x423a8c[_0x17b2e0(0x31b)]),_0xec1739=(_0x2a54d6=_0x9e96f4==null?void 0x0:_0x9e96f4[_0x17b2e0(0x166)])!=null?_0x2a54d6:_0x423a8c['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x30eda4=(_0xd8742d=(await this['_httpService'][_0x17b2e0(0x373)](_0xec1739,{'headers':{'Content-Type':_0x17b2e0(0x115)}}))[_0x17b2e0(0x16e)])==null?void 0x0:_0xd8742d[_0x17b2e0(0x293)])!=null?_0x30eda4:'';}},_0x23fa2d[_0x2c927c(0x1a5)]=_0x5684d4([_0x13cf62(0x0,_0x435b21[_0x2c927c(0x10f)](_0x435b21['Injector'])),_0x13cf62(0x1,_0x435b21['Inject'](_0x4e6983[_0x2c927c(0x21d)])),_0x13cf62(0x2,_0x435b21['IConfigService']),_0x13cf62(0x3,_0x435b21[_0x2c927c(0x2ac)]),_0x13cf62(0x4,_0x1e007a['ISnapshotServerService'])],_0x23fa2d[_0x2c927c(0x1a5)]);const _0x23191a=0x7530,_0x34881a='ACTIVE_UNIT_EVENT_CHANNEL';class _0xf8cc21 extends _0x435b21['Disposable']{constructor(){const _0x4c4801=_0x2c927c;super(),_0x38f83b(this,'_id',_0x435b21[_0x4c4801(0x30d)]()),_0x38f83b(this,'_selfUnitIDs',new Set()),_0x38f83b(this,_0x4c4801(0x13e),new Map()),_0x38f83b(this,_0x4c4801(0x22a),null),_0x38f83b(this,_0x4c4801(0x24d),new Map()),_0x38f83b(this,_0x4c4801(0x10d),new Map()),this[_0x4c4801(0x170)]();}['dispose'](){const _0x24d706=_0x2c927c;super[_0x24d706(0x355)](),this[_0x24d706(0x24d)][_0x24d706(0x186)]((_0x29091d,_0x1277d3)=>this[_0x24d706(0x26d)](_0x1277d3)),this[_0x24d706(0x22a)]&&window[_0x24d706(0x222)](this[_0x24d706(0x22a)]);}[_0x2c927c(0x2cb)](_0x5c09fa){const _0x18c122=_0x2c927c;return this[_0x18c122(0x287)](_0x5c09fa)['pipe'](_0x2cd233[_0x18c122(0x2e7)]());}[_0x2c927c(0x17f)](_0x165a07){const _0xcad183=_0x2c927c;this[_0xcad183(0x356)][_0xcad183(0x1b7)]===0x0&&this[_0xcad183(0x1b3)](),this['_selfUnitIDs']['add'](_0x165a07),this['_send']({'type':0x0,'memberID':this[_0xcad183(0x37d)],'unitIDs':[_0x165a07],'isForwarded':!0x1});}['disposeUnit'](_0x3e5607){const _0x431f1d=_0x2c927c;this[_0x431f1d(0x356)][_0x431f1d(0x191)](_0x3e5607),this[_0x431f1d(0x356)][_0x431f1d(0x1b7)]===0x0&&this[_0x431f1d(0x22a)]&&window[_0x431f1d(0x222)](this[_0x431f1d(0x22a)]);}[_0x2c927c(0x170)](){const _0x195f83=_0x2c927c;this[_0x195f83(0x2db)](_0x435b21[_0x195f83(0x1bd)](_0x2cd233['fromEvent'](window,_0x195f83(0x268))[_0x195f83(0x33d)](_0x399eaa=>{const _0x308b68=_0x195f83;if(_0x399eaa[_0x308b68(0x130)]!==_0x34881a||!_0x399eaa[_0x308b68(0x317)])return;const _0x153ed0=JSON['parse'](_0x399eaa[_0x308b68(0x317)]);this[_0x308b68(0x1f4)](_0x153ed0);}))),window[_0x195f83(0x1b5)](_0x195f83(0x18c),()=>this[_0x195f83(0x312)]({'type':0x1,'memberID':this[_0x195f83(0x37d)],'unitIDs':Array[_0x195f83(0x30f)](this[_0x195f83(0x356)])}));}['_handleEvent'](_0x2af9b0){const _0x597da4=_0x2c927c;switch(_0x2af9b0[_0x597da4(0x17b)]){case 0x0:this[_0x597da4(0x2a4)](_0x2af9b0);break;case 0x1:this[_0x597da4(0x129)](_0x2af9b0);break;case 0x2:this[_0x597da4(0x1ba)](_0x2af9b0);break;}}['_handleJoinEvent'](_0x519806){const _0x6a5930=_0x2c927c,{unitIDs:_0x1e357c,memberID:_0x197c4d,isForwarded:_0xd46e88}=_0x519806;_0x1e357c[_0x6a5930(0x186)](_0x47bb5a=>{const _0x2a7454=_0x6a5930;if(!_0xd46e88&&this[_0x2a7454(0x13e)][_0x2a7454(0x133)](_0x47bb5a)&&this['_ensureSubject'](_0x47bb5a)['next'](_0x423a8c[_0x2a7454(0x203)]['OTHER_CLIENTS_EDITING']),!this[_0x2a7454(0x13e)][_0x2a7454(0x133)](_0x47bb5a)||!this[_0x2a7454(0x13e)][_0x2a7454(0x373)](_0x47bb5a)['has'](_0x197c4d)){const _0x1793e4=this[_0x2a7454(0x13e)][_0x2a7454(0x373)](_0x47bb5a)||new Set();_0x1793e4[_0x2a7454(0x35f)](_0x197c4d),this[_0x2a7454(0x13e)]['set'](_0x47bb5a,_0x1793e4),this['_scheduleClearOtherTimer'](_0x197c4d);}}),_0xd46e88||this[_0x6a5930(0x312)]({'type':0x0,'memberID':this[_0x6a5930(0x37d)],'unitIDs':[...this[_0x6a5930(0x356)]],'isForwarded':!0x0});}[_0x2c927c(0x291)](_0x2a78ed){const _0x1a541c=_0x2c927c;this[_0x1a541c(0x26d)](_0x2a78ed);const _0x26a9e4=window[_0x1a541c(0x1d8)](()=>{const _0x407115=_0x1a541c;this[_0x407115(0x13e)][_0x407115(0x186)](_0x189ef9=>{const _0x4b5d0d=_0x407115;_0x189ef9[_0x4b5d0d(0x191)](_0x2a78ed);});},_0x23191a*0x2);this[_0x1a541c(0x24d)][_0x1a541c(0x1e0)](_0x2a78ed,_0x26a9e4);}[_0x2c927c(0x26d)](_0x5c481b){const _0x50bd94=_0x2c927c;if(this[_0x50bd94(0x24d)][_0x50bd94(0x133)](_0x5c481b)){const _0x580047=this['_clearOtherTimers'][_0x50bd94(0x373)](_0x5c481b);_0x580047&&window[_0x50bd94(0x2a0)](_0x580047),this[_0x50bd94(0x24d)][_0x50bd94(0x1e0)](_0x5c481b,null);}}[_0x2c927c(0x129)](_0x365c1d){const _0x3e4cb4=_0x2c927c,{memberID:_0x414d53,unitIDs:_0x538a69}=_0x365c1d;_0x538a69[_0x3e4cb4(0x186)](_0x15243d=>{const _0x397bf2=_0x3e4cb4;var _0x1c85cb;const _0x3b897f=this[_0x397bf2(0x13e)][_0x397bf2(0x373)](_0x15243d);_0x3b897f&&(_0x3b897f[_0x397bf2(0x191)](_0x414d53),(_0x1c85cb=this[_0x397bf2(0x287)](_0x15243d))==null||_0x1c85cb[_0x397bf2(0x1ab)](_0x3b897f['size']===0x0?_0x423a8c[_0x397bf2(0x203)][_0x397bf2(0xfa)]:_0x423a8c[_0x397bf2(0x203)][_0x397bf2(0x292)]));}),this['_removeClearOtherTimer'](_0x414d53);}[_0x2c927c(0x1ba)](_0x40e97b){this['_scheduleClearOtherTimer'](_0x40e97b['memberID']);}[_0x2c927c(0x312)](_0x2bcb33){const _0x181bae=_0x2c927c;localStorage[_0x181bae(0x32f)](_0x34881a,JSON[_0x181bae(0x255)](_0x2bcb33));}['_scheduleHeartbeat'](){const _0x3cdf7e=_0x2c927c;this[_0x3cdf7e(0x22a)]=window[_0x3cdf7e(0x30b)](()=>{const _0x52f1c1=_0x3cdf7e;this[_0x52f1c1(0x312)]({'type':0x2,'memberID':this['_id']});},_0x23191a);}[_0x2c927c(0x287)](_0xe342b3){const _0x3e5ba5=_0x2c927c;return this[_0x3e5ba5(0x10d)][_0x3e5ba5(0x133)](_0xe342b3)||this['_unitStatus'][_0x3e5ba5(0x1e0)](_0xe342b3,new _0x2cd233[(_0x3e5ba5(0x11a))](_0x423a8c[_0x3e5ba5(0x203)][_0x3e5ba5(0xfa)])),this[_0x3e5ba5(0x10d)][_0x3e5ba5(0x373)](_0xe342b3);}}var _0x2268df=(_0x40d8fa=>(_0x40d8fa[_0x40d8fa['UNDEFINED']=0x0]=_0x2c927c(0x1a9),_0x40d8fa[_0x40d8fa['OK']=0x1]='OK',_0x40d8fa[_0x40d8fa[_0x2c927c(0x2d1)]=0x2]=_0x2c927c(0x2d1),_0x40d8fa[_0x40d8fa[_0x2c927c(0x23c)]=0x3]='PERMISSION_DENIED',_0x40d8fa[_0x40d8fa['NOT_FOUND']=0x4]='NOT_FOUND',_0x40d8fa[_0x40d8fa[_0x2c927c(0x208)]=0x5]=_0x2c927c(0x208),_0x40d8fa[_0x40d8fa['ALREADY_EXISTS']=0x6]=_0x2c927c(0x259),_0x40d8fa[_0x40d8fa[_0x2c927c(0x20b)]=0x7]=_0x2c927c(0x20b),_0x40d8fa[_0x40d8fa[_0x2c927c(0x28d)]=0x8]='TOO_MANY_REQUESTS',_0x40d8fa[_0x40d8fa[_0x2c927c(0x245)]=0x9]=_0x2c927c(0x245),_0x40d8fa[_0x40d8fa[_0x2c927c(0x2fd)]=0xa]='LOGIN_FAILED',_0x40d8fa[_0x40d8fa[_0x2c927c(0x326)]=0x1389]=_0x2c927c(0x326),_0x40d8fa[_0x40d8fa[_0x2c927c(0x15f)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x40d8fa[_0x40d8fa[_0x2c927c(0x36d)]=0x1772]=_0x2c927c(0x36d),_0x40d8fa[_0x40d8fa[_0x2c927c(0x2de)]=0x1773]=_0x2c927c(0x2de),_0x40d8fa[_0x40d8fa['APPLY_REJECT']=0x1b59]=_0x2c927c(0x113),_0x40d8fa[_0x40d8fa['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x2c927c(0x313),_0x40d8fa[_0x40d8fa[_0x2c927c(0x246)]=0x1b5b]=_0x2c927c(0x246),_0x40d8fa[_0x40d8fa[_0x2c927c(0x279)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x40d8fa[_0x40d8fa[_0x2c927c(0x2b6)]=0x1b5d]=_0x2c927c(0x2b6),_0x40d8fa[_0x40d8fa[_0x2c927c(0x1e1)]=0x1f41]=_0x2c927c(0x1e1),_0x40d8fa[_0x40d8fa[_0x2c927c(0x32c)]=0x2329]=_0x2c927c(0x32c),_0x40d8fa[_0x40d8fa[_0x2c927c(0x33a)]=0x232a]=_0x2c927c(0x33a),_0x40d8fa[_0x40d8fa[_0x2c927c(0x121)]=0x232b]=_0x2c927c(0x121),_0x40d8fa[_0x40d8fa[_0x2c927c(0x32e)]=0x232c]=_0x2c927c(0x32e),_0x40d8fa[_0x40d8fa[_0x2c927c(0x14c)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x40d8fa[_0x40d8fa[_0x2c927c(0x1f1)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x40d8fa[_0x40d8fa[_0x2c927c(0x2f9)]=0x2712]=_0x2c927c(0x2f9),_0x40d8fa[_0x40d8fa['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x2c927c(0x219),_0x40d8fa[_0x40d8fa[_0x2c927c(0x205)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x40d8fa[_0x40d8fa[_0x2c927c(0x1a4)]=0x271a]=_0x2c927c(0x1a4),_0x40d8fa[_0x40d8fa[_0x2c927c(0x22d)]=0x271b]=_0x2c927c(0x22d),_0x40d8fa[_0x40d8fa[_0x2c927c(0x125)]=0x2af9]=_0x2c927c(0x125),_0x40d8fa[_0x40d8fa[_0x2c927c(0x181)]=0x2ee1]=_0x2c927c(0x181),_0x40d8fa[_0x40d8fa[_0x2c927c(0x1eb)]=0x2ee2]='INVALID_INVITE_CODE',_0x40d8fa[_0x40d8fa[_0x2c927c(0x286)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x40d8fa[_0x40d8fa[_0x2c927c(0x237)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x40d8fa[_0x40d8fa[_0x2c927c(0x212)]=0x2ee5]=_0x2c927c(0x212),_0x40d8fa[_0x40d8fa[_0x2c927c(0x35a)]=0x32c9]=_0x2c927c(0x35a),_0x40d8fa[_0x40d8fa['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x2c927c(0x16f),_0x40d8fa[_0x40d8fa[_0x2c927c(0x314)]=0x32cb]=_0x2c927c(0x314),_0x40d8fa[_0x40d8fa[_0x2c927c(0x316)]=-0x1]=_0x2c927c(0x316),_0x40d8fa))(_0x2268df||{}),_0x3b4c30=Object[_0x2c927c(0x23e)],_0x34da06=(_0x5f5d2f,_0x3474d9,_0x217b1a,_0x273f74)=>{for(var _0x5270b8=_0x273f74>0x1?void 0x0:_0x273f74?_0x3b4c30(_0x3474d9,_0x217b1a):_0x3474d9,_0x3aa3ae=_0x5f5d2f['length']-0x1,_0x4d8a11;_0x3aa3ae>=0x0;_0x3aa3ae--)(_0x4d8a11=_0x5f5d2f[_0x3aa3ae])&&(_0x5270b8=_0x4d8a11(_0x5270b8)||_0x5270b8);return _0x5270b8;},_0x18882a=(_0x66e05e,_0x5ed2fd)=>(_0x13f857,_0x148960)=>_0x5ed2fd(_0x13f857,_0x148960,_0x66e05e);_0x23fa2d[_0x2c927c(0x23a)]=class extends _0x435b21[_0x2c927c(0x241)]{constructor(_0x5e4c93,_0x54f720,_0x2edb78){const _0x1d1be7=_0x2c927c;super(),this[_0x1d1be7(0x319)]=_0x5e4c93,this[_0x1d1be7(0x1c0)]=_0x54f720,this[_0x1d1be7(0x2f6)]=_0x2edb78;}async[_0x2c927c(0x283)](_0x307225,_0x587c8e,_0x35eae8,..._0xfca96f){const _0x138320=_0x2c927c;var _0x5d46da,_0x36107a,_0x32c6bf,_0x594bc5;const _0x1a84e7=this[_0x138320(0x319)][_0x138320(0x1a2)]();if(!_0x1a84e7)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x1f961c=((_0x5d46da=this[_0x138320(0x2f6)][_0x138320(0x1bf)](_0x423a8c['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x5d46da:_0x423a8c[_0x138320(0x1f6)])+'/'+_0x307225+_0x138320(0x131)+_0x587c8e,_0xa31397=new URL(window[_0x138320(0x1e6)][_0x138320(0x136)]),_0x84cb={'scriptId':_0x307225,'runId':(_0x36107a=_0xa31397[_0x138320(0x180)][_0x138320(0x373)](_0x138320(0x192)))!=null?_0x36107a:'','function':_0x587c8e,'unitId':_0x1a84e7[_0x138320(0x349)](),'argsOfFunction':JSON[_0x138320(0x255)](_0xfca96f),'invokeId':(_0x32c6bf=_0x35eae8[_0x138320(0x114)])!=null?_0x32c6bf:'','executionId':(_0x594bc5=_0x35eae8['executionId'])!=null?_0x594bc5:''};try{const _0x17efc0=await this[_0x138320(0x1c0)]['post'](_0x1f961c,{'body':_0x84cb});return _0x17efc0['body'][_0x138320(0x12d)]&&_0x17efc0['body'][_0x138320(0x12d)][_0x138320(0x19c)]!==_0x2268df['OK']?_0x138320(0x36b):_0x17efc0[_0x138320(0x16e)][_0x138320(0x13d)];}catch{return _0x138320(0x36b);}}},_0x23fa2d[_0x2c927c(0x23a)]=_0x34da06([_0x18882a(0x0,_0x435b21[_0x2c927c(0x374)]),_0x18882a(0x1,_0x435b21[_0x2c927c(0x10f)](_0x4e6983[_0x2c927c(0x21d)])),_0x18882a(0x2,_0x435b21[_0x2c927c(0x217)])],_0x23fa2d[_0x2c927c(0x23a)]),_0x23fa2d[_0x2c927c(0x171)]=_0x402c00,_0x23fa2d[_0x2c927c(0x20c)]=_0x4a2486,_0x23fa2d[_0x2c927c(0x2f7)]=_0x3997f5,_0x23fa2d[_0x2c927c(0x213)]=_0xf8cc21,_0x23fa2d[_0x2c927c(0x117)]=_0x1b1813,Object[_0x2c927c(0x386)](_0x23fa2d,Symbol[_0x2c927c(0x159)],{'value':_0x2c927c(0x2a3)});}));function _0x3abd(){const _0x5b85cb=['UnitStatus','HEADER_MENU','YUUMI_SUBSCRIPTION_NOT_FOUND','_localStorageService','_updateURLWithCurrentState','UNAUTHENTICATED','undoState','getUndoRedoMutationParamsCache','INVALID_ARGUMENT','IURLService','_updateLocalCursor','off-line-single','CollaborationDataLoaderController','_collabSessionService','registerRenderModule','INVITE_CODE_ALREADY_BOUND','WebBrowserSingleActiveUnitService','DesktopCollaborationStatusDisplayController','addHandlerCallback','endRow','IConfigService','clsx','YUUMI_RATE_OVER_LIMIT','startsWith','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getRenderById','HTTPService','subUnitId','red300','univerjs-icon\x20univerjs-icon-','current','clearInterval','attrs','blue400','onPointerEnter$','source','handleDeleteRangeMoveUp','_cursorShapes','reconnect','_heartbeatTimer','cursorInfo','svg','YUUMI_ASYNCIO_CANCELLED','UniverProCollaborationClient','TRANSFORM_CHANGE_OBSERVABLE_TYPE','Warning','subscribeEvent','_toggleOnline','UniverUi','_injector','_anchor','defs','USER_NOT_INVITED_CODE','setActiveRange','_render','RemoteUniscriptService','IBeforeCloseService','PERMISSION_DENIED','DOC_RANGE_TYPE','getOwnPropertyDescriptor','touchDependencies','DisposableCollection','Disposable','Rectangle','getCoordByCell','NOT_COLLAB','COMPLETION_FINISHED','APPLY_REVISION_CONFILICT','_getScale','getActiveSheet','measureText','entries','univer-text-red-500','unitID','_clearOtherTimers','complete','UniverEngineFormula','string','MUTATION','evenodd','min','0\x200\x2017\x2016','stringify','getColor','SHEET_VIEWPORT_KEY','_online','ALREADY_EXISTS','_labelPosition','filter','DependentOn','1em','_updateSubUnitFromURLParams','roomMembers','_refreshCollabCursors','_collabCursorController','closePath','getSheetBySheetId','getMember','column','@univerjs-pro/collaboration-client','popstate','storage','CollaborationSocketService','CollaborationUIEventId','transformMutation','isTransformMutationsWithChangesetSuccess','_removeClearOtherTimer','getCollabCursors$','indexOf','_name','addObjects','restore','_registerRenderDependencies','_getMergeRange','#FFF','makeDirty','TEXT','_themeService','APPLY_PERMISSION_DENIED','asObservable','getUniverSheetInstance','_saveCache','ThemeService','pipe','SheetsSelectionsService','transformMutationsWithChangeset','RefRangeService','assign','runOnServer','_transformHistoryAndStateStack','xlink:href','INVITE_CODE_REQUIRED','_ensureSubject','sheetId','_imageIoService','_backgroundColor','_getSheetObject','Plugin','TOO_MANY_REQUESTS','toString','substring','values','_scheduleClearOtherTimer','OTHER_CLIENTS_EDITING','ticket','_hideTimer','_docTransformStateCacheService','height','icon','random','CONFLICT','TEXT_RANGE_LAYER_INDEX','combineLatest','collab-text-anchor-','UNIVER_SHEET','27169760cDZdUN','history','clearTimeout','max','_colorAssignService','Module','_handleJoinEvent','hasOwnProperty','InsertRangeMoveRightCommandId','some','url(#off-line-single_clip0_910_343)','moveTo','triggerDblclick','_syncEditingCollabCursorService','ILogService','DocIMEInputManagerService','SOCKET_FAILED','CollaborationUIEventService','[CollaborationDataLoaderController]','none','isArray','whenReady','MemberService','_getAnchorBounding','APPLY_DUPLICATED','collabStatus.fetchMiss','CLOSE_ROOM','CollaborationSessionService','_assignedColors','currentColor','getStateCache','then','setParam','roomMembers$','collab-rect-range-','setAlpha','sessionStatus$','UniverInstanceType','ranges','DocStateChangeManagerService','deepClone','Error','getValue','collaboration-client-ui.config','eventID','getUnitStatus$','_univerInstanceService','SheetSkeletonManagerService','IRenderManagerService','collabStatus.conflict','@univerjs-pro/collaboration','INTERNAL_ERROR','_createSocketURL','executeCommand','_docSkeletonManagerService','_hovered','isActive','status$','createInstance','replace','ISocketService','disposeWithMe','hide','activeSheet$','ENSURE_SNAPSHOT_EXECUTION','loadOfflineData','PENDING','ILocalStorageService','univer-text-green-500','width','@univerjs/drawing','getTypeOfUnitAdded$','findNodePositionByCharIndex','distinctUntilChanged','transformIMECache','fill','addObject','_docSyncEditingCollabCursorService','_saveTaskMap','useDependency','FETCH_MISS','useCallback','name','contains','addClipboardHook','LocaleService','onRendered','defIds','_configService','SheetCollabCursorShape','_cursors','YUUMI_URL_COL_OUT_OF_RANGE','_textBubble','push','collabStatus.notCollab','LOGIN_FAILED','_range','EffectRefRangId','Unknown\x20user','getVpScrollXYInfoByPosToVp','@univerjs/engine-render','event$','sheetID','backgroundColor','black','pluginName','takeUntil','UniverSheetsUi','RxDisposable','setInterval','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','generateRandomId','UniverRpc','from','ICommandService','unit','_send','APPLY_NON_SEQUENTIAL_REVISION','EMAIL_HAS_BEEN_BOUND','@univerjs/docs','UNRECOGNIZED','newValue','params','_instanceService','_memberService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','unitId','throttleTime','mask','save','_onCursorUpdate','handleInsertRangeMoveRight','getLocalCacheKey','_transformUndoRedoStack','transformByState','trim','CHANGESET_REVISION_CONFILICT','redoState','_onRefRangeChange','SYNCED','SetDocZoomRatioOperation','RevisionService','LICENSE_MAX_UNITS_EXCEEDED','debounceTime','LICENSE_EXPORT_SIZE_EXCEEDED','setItem','engine','Tools','USERS_LEAVE','createIdentifier','...','_startDocCollabCursor','focused$','CollaborationEvent','5426904mhIEhQ','ILocalCacheService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_refRangeService','IMessageService','subscribe','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','IRemoteInstanceService','onPointerMove$','_beforeCloseService','unsubscribe','getRangePointData','_draw','fillText','handleMoveRange','@univerjs/design','Shape','getUnitId','setConfig','search','beginPath','gold400','LOCAL_CACHE_INTERVAL','0\x200\x2016\x2016','getActiveRange','hovered','_onCursorDelete','createSocket','round','dispose','_selfUnitIDs','createElement','url(#$1','call','WECHAT_HAS_BEEN_BOUND','_disabled','mutations','selection','_initResize','add','serializeRangeWithSheet','InsertRangeMoveDownCommandId','_urlService','RemoveRowCommandId','_docClipboardService','@univerjs/rpc','IImageIoService','_docStateChangeManagerService','RemoveColCommandId','replaceState','font','Failed','_commandService','SNAPSHOT_HAS_BEEN_REMOVED','@univerjs/core','_colorIndex','fillRule','getSkeleton','m1Prime','get','IUniverInstanceService','SOCKET_FAILED_RETRY','fromEvent','path','getRelativeToViewportCoord','setShapeProps','labelPosition','use','handleInsertRow','_id','_initEntityListener','onCommandExecuted','_eventUnsubscribe','origin','transform','_entityInit$','_initEvent','@univerjs/sheets-ui','defineProperty','DocCollaborationEntity','collaboration.closeRoom','enableLocalCache','DocSkeletonManagerService','_status$','_context','rxjs','CollaborationController','_updateCollabCursors','textRanges','_color','urlChange$','UniverDesign','Rect','CollaborationStatus','_getSaveTimeout','handleIRemoveRow','NO_OTHER_CLIENTS_EDITING','setStateCache','getItem','AWAITING_WITH_PENDING','OffLineSingle','_revisionService','DataLoaderService','_docTransformIMECacheService','uni.network.url-service','_config','react','session.connection-failed','onPointerLeave$','getOffsetConfig','getSheetObject','exports','_initCommandExecutedListener','104928JZJpTO','includes','_unitStatus','MoveRangeCommandId','Inject','handleDeleteRangeMoveLeft','top','Subject','APPLY_REJECT','invokeId','application/json','setUndoRedoMutationParamsCache','WebURLService','Vector2','handleIRemoveCol','BehaviorSubject','_anchorDot','Injector','idSuffix','getSheetId','_registerDependencies','ONLINE','LICENSE_IMPORT_SIZE_EXCEEDED','JOIN_ROOM_FAILED','deserializeRangeWithSheet','init','PY_RUNTIME_SCRIPT_ERROR','INotificationService','toRgbString','_docTransformSelectionsService','_handleLeaveEvent','permission.title','className','_cursor','error','_collaborationController','_cursorInfo$','key','/run/','pushState','has','clipPath','UniverNetwork','href','getCurrentSelections','_session','Optional','_handleHover','UniverDocs','saveTaskMap','result','_unitOnClients','RegularPolygon','_sheetSkeletonManagerService','InsertRowCommandId','doc.mutation.rich-text-editing','DocSelectionManagerService','DeleteRangeMoveUpCommandId','COLORS','fillStyle','_collabCursorState$','tag','_roomMembers$','getDocRanges','UniverIcon','LICENSE_DISTRO_REJECTED','WebSocketService','collaboration.single-unit.warning','UniverCollaborationClientPlugin','send','collabStatus.syncing','split','_startSheetCollabCursor','getCurrentUnitForType','getCurrentRevOfUnit','debounce','_scene','_scheduleSaving','toStringTag','rxjs/operators','NodePositionConvertToRectRange','displayName','getUnhiddenWorksheets','assignAColorForMemberID','SNAPSHOT_INVALID_SNAPSHOT','isTransformMutationFailure','#fff','857IJyFjT','row','mapTo','_collaborationUIEventService','wsSessionTicketUrl','flatMap','lineTo','MessageType','cursorInfo$','getParam','merge','transformStateCache','body','MOBILE_HAS_BEEN_BOUND','_init','CollaborationStatusDisplay','_entities','children','prototype','_notificationService','registerRefRange','skeleton','concat','@univerjs/ui','all','type','react/jsx-runtime','@univerjs/network','UniverDocsUi','editingUnit','searchParams','INVITE_CODE_HAS_BEEN_UES','ColorKit','SetTextSelectionsOperation','jsx','_transformService','forEach','_uiPartsService','RECT','_removeCollabCursors','color','@univerjs/docs-ui','unload','SetWorksheetActivateCommand','currentTheme$','_initDependencies','5209236unBPOv','delete','runId','forwardRef','arc','operators','LOCAL_CACHE_INTERVAL_KEY','session.will-retry','UniverCollaborationClientUIPlugin','startColumn','_logService','registerBeforeClose','code','find','1517065IcssDC','saveOfflineData','SUBMIT_CHANGESET_TIMEOUT','@univerjs/sheets','getFocusedUnit','_drawTextRange','YUUMI_NO_CUBOID_FOR_QUESTION','BrowserCollaborationSocketService','off-line-single_clip0_910_343','show','drawWith','UNDEFINED','_localeService','next','symbol','collaboration-client.offline-data-not-saved','verdancy600','range','_cachedData','_messageService','_drawRectRange','_scheduleHeartbeat','_lastPointer','addEventListener','mergeOverrideWithDependencies','size','exhaustSavingTask','SessionStatus','_handleHeartbeatEvent','on-line-single_clip0_910_349','transformSelections','toDisposable','ITransformService','getConfig','_httpService','unshift','_dataLoaderService','OFFLINE','_initStatusListener','UniverCore','UNIVER_DOC','resize','requireSession','Tooltip','AWAITING','length','_hover','_shapes','getAncestorScale','getViewport','onStarting','_toggleOffline','amd','1006KbADCa','onTransformChange$','15786dDRiri','_transformPreviousActiveRange','m2Prime','setTimeout','@univerjs/engine-formula','debug','dispose$','data','_drawAnchor','extend','removeParam','set','CONNECTOR_DATA_TOO_LARGE','connectInjector','subunit','transformRemoteChangeset','3352VQFucl','location','M0\x200H16V16H0z','switchMap','_renderManagerService','currentSkeleton$','INVALID_INVITE_CODE','147rfNPNK','div','with','session.collaboration-timeout','function','YUUMI_UNABLE_LOAD_URL','collabCursorState$','FromArray','_handleEvent','bottom','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getCellPositionByOffset','text','UPDATE_CURSOR','_initStatusComponent','syncEditingCollabCursor','React','handleInsertRangeMoveDown','map','on-line-single','replaceDocRanges','endColumn','getTypeOfUnitDisposed$'];_0x3abd=function(){return _0x5b85cb;};return _0x3abd();}
1
+ function _0x38bc(){const _0x54c8d8=['actions','values','_saveCache','ThemeService','Injector','sessionTicket','toStringTag','OnLineSingle','measureText','name','USER_NOT_INVITED_CODE','_online','has','CollaborationDataLoaderController','@univerjs-pro/collaboration','Disposable','@univerjs/engine-render','event$','_updateLocalCursor','AWAITING','useCallback','subUnitId','subscribe','_startDocCollabCursor','transformIMECache','_initStatusListener','on-line-single_clip0_910_349','_toggleOnline','error','RECT','IUniverInstanceService','string','triggerDblclick','Vector2','ILocalStorageService','fillText','cursorInfo$','_collaborationController','clearTimeout','IMessageService','COMPLETION_FINISHED','getRelativeToViewportCoord','_handleHeartbeatEvent','Subject','_refRangeService','forEach','onRendered','clearInterval','_uiPartsService','saveOfflineData','uni.network.url-service','IURLService','getActiveRange','UniverRpc','FETCH_MISS','DocSelectionManagerService','roomMembers','univer-text-green-500','@univerjs/network','transformStateCache','combineLatest','push','MOBILE_HAS_BEEN_BOUND','font','jsxs','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','_commandService','_cursorShapes','_localStorageService','BrowserCollaborationSocketService','enableLocalCache','MemberService','sessionStatus$','_saveTaskMap','permission.title','2552zPxldv','UniverProCollaborationClientUi','currentTheme$','memberID','_getAnchorBounding','selections','getUniverSheetInstance','exports','RemoveColCommandId','rgba(255,\x20255,\x20255,\x200.01)','_docStateChangeManagerService','_status$','650vtiymG','IDocClipboardService','defIds','storage','UniverCollaborationClientUIPlugin','_httpService','Inject','DeleteRangeMoveLeftCommandId','getSkeleton','LICENSE_EXPORT_SIZE_EXCEEDED','params','popstate','APPLY_REJECT','_hovered','unshift','setItem','UniverEngineRender','FromArray','RegularPolygon','min','takeUntil','disableLocalCache','getSheetObject','call','m2Prime','NodePositionConvertToRectRange','0\x200\x2016\x2016','send','pluginName','_removeCollabCursors','with','registerDependencies','LOGIN_FAILED','getUnhiddenWorksheets','generateRandomId','get','Workbook','startColumn','fromEvent','BehaviorSubject','activeSheet$','MoveRangeCommandId','collabStatus.fetchMiss','object','SOCKET_FAILED_RETRY','Rect','collabStatus.conflict','mask','arc','data','ILocalCacheService','none','handleInsertCol','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getSheetId','collab-text-range-','LOCAL_CACHE_INTERVAL','verdancy600','isEditing','DEFAULT_WS_SESSION_TICKET_URL','_scene','entries','CONFLICT','createInstance','getMemberID','unsubscribe','1em','_scheduleClearOtherTimer','lineTo','location','getUndoRedoMutationParamsCache','entityInit$','DocIMEInputManagerService','USERS_LEAVE','getOwnPropertySymbols','forwardRef','debounce','ISocketService','_handleEvent','doc.mutation.rich-text-editing','text','currentColor','_getSessionTicket','Shape','JOIN_ROOM_FAILED','SetDocZoomRatioOperation','ISnapshotServerService','_onCursorDelete','onLocalMutation','trim','dispose$','_name','_cursorInfo$','OffLineSingle','jsx','rxjs','_eventUnsubscribe','backgroundColor','children','_collabCursorState$','asObservable','debug','TEXT_RANGE_LAYER_INDEX','setConfig','requireSession','@univerjs/design','CollaborationStatusDisplay','_onRefRangeChange','addObject','red300','pushState','clipPath','_drawAnchor','_session','getRangePointData','UNRECOGNIZED','ALREADY_EXISTS','onPointerEnter$','textRanges','UniverInstanceType','width','_backgroundColor','_renderManagerService','_drawRectRange','CollaborationController','body','subunit','RxDisposable','onMouseMove','CONNECTOR_DATA_TOO_LARGE','setShapeProps','CollaborationSessionService','executionId','_docSkeletonManagerService','_hover','...','_color','WebURLService','onPointerLeave$','collabStatus.synced','_imageIoService','collaboration.single-unit.warning','complete','_range','loadUnit','purple300','_colorIndex','debounceTime','handleInsertRangeMoveRight','unload','isTransformMutationsWithChangesetSuccess','createIdentifier','override','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','_textBubble','transform','_disabled','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','AWAITING_WITH_PENDING','distinctUntilChanged','getUnitId','assignAColorForMemberID','DependentOn','_roomMembers$','replaceDocRanges','316tIVvzQ','createElement','ENSURE_SNAPSHOT_EXECUTION','merge','getOwnPropertyDescriptor','parse','@univerjs/core','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SUBMIT_CHANGESET_TIMEOUT','NodePositionConvertToCursor','_clearOtherTimers','then','LICENSE_DISTRO_REJECTED','collab-rect-range-','round','_docClipboardService','getUnitStatus$','_anchor','_removeClearOtherTimer','drawWith','_transformHistoryAndStateStack','imageSourceType','@univerjs/engine-formula','icon','transformMutationsWithChangeset','getValue','handleInsertRangeMoveDown','jiqing500','onCommandExecuted','CommandType','stringify','_unitOnClients','DesktopCollaborationStatusDisplayController','_updateSubUnitFromURLParams','EffectRefRangId','_localeService','WECHAT_HAS_BEEN_BOUND','APPLY_REVISION_CONFILICT','UniverEngineFormula','EMAIL_HAS_BEEN_BOUND','_labelPosition','findNodePositionByCharIndex','TEXT','svg','OTHER_CLIENTS_EDITING','saveTaskMap','unitID','LICENSE_MAX_UNITS_EXCEEDED','setUndoRedoMutationParamsCache','_handleLeaveEvent','collabStatus.notCollab','getActiveSheet','_univerInstanceService','@univerjs-pro/collaboration-client','code','SessionStatus','_shapes','3346932MrriGV','ColorKit','_revisionService','_getSheetObject','searchParams','UPDATE_CURSOR','_createSocketURL','_docTransformIMECacheService','NOT_FOUND','all','9147523oApFLM','replace','@univerjs/docs-ui','YUUMI_URL_COL_OUT_OF_RANGE','toString','InsertColCommandId','6tYcMva','CollaborationSocketService','_cachedData','setAlpha','url(#$1','OTHER_CLIENT_EDITING','_scheduleSaving','split','getColor','wsSessionTicketUrl','Unknown\x20user','UNIVER_SHEET','startsWith','idSuffix','shareReplay','unit','reconnect','selection','evenodd','key','_context','getConfig','redoState','m1Prime','registerRefRange','from','defineProperty','_initStatusComponent','SNAPSHOT_INVALID_SNAPSHOT','skeleton','InsertRangeMoveRightCommandId','UnitStatus','_collabSessionService','random','onStarting','fillRule','operators','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','transformRemoteChangeset','registerBeforeClose','set','UniverCollaborationClientPlugin','_anchorDot','tag','Plugin','type','exhaustSavingTask','on-line-single','DocStateChangeManagerService','LICENSE_IMPORT_SIZE_EXCEEDED','INVITE_CODE_ALREADY_BOUND','UniverProCollaboration','_setupBeforeClosingHandler','_doCreateSocket','WebSocketService','getAncestorScale','_hideTimer','href','length','beginPath','_selfUnitIDs','_getSaveTimeout','dispose','240234mkOqMy','/run/','fillStyle','session.will-retry','UniverDocsUi','UNDEFINED','_registerRenderDependencies','_refreshCollabCursors','show','ticket','_lastPointer','_send','current','black','find','_entityInit$','univer-flex\x20univer-items-center','gold400','YUUMI_NO_CUBOID_FOR_QUESTION','removeParam','_draw','UniverDocs','UniverProCollaborationClient','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_transformService','getItem','_toggleOffline','addClipboardHook','registerComponent','Tools','some','toRgbString','getMergeData','collabCursorState$','endColumn','TOO_MANY_REQUESTS','syncEditingCollabCursor','NOT_COLLAB','assign','12vFhZHQ','NO_OTHER_CLIENTS_EDITING','fill','useDependency','_setupSubUnitSync','DOC_RANGE_TYPE','#FFF','UNAUTHENTICATED','colorChannel1','filter','31345SCXSBW','_instanceService','CollaborationUIEventId','path','moveTo','_config','replaceState','SheetSkeletonManagerService','APPLY_PERMISSION_DENIED','_memberService','Optional','addObjects','delete','424533CLpNqG','UNIVER_DOC','_docSyncEditingCollabCursorService','IConfigService','getLocalCacheKey','IImageIoService','function','_syncEditingCollabCursorService','_cursors','onTransformChange$','_initCommandExecutedListener','CHANGESET_REVISION_CONFILICT','_id','@univerjs/drawing','getDocRanges','map','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','RevisionService','UniverDesign','rxjs/operators','@univerjs/sheets','runId','indexOf','@univerjs/sheets-ui','_notificationService','displayName','saveImage','SHEET_VIEWPORT_KEY','DocSkeletonManagerService','COLORS','[CollaborationDataLoaderController]','resize','getMember','subscribeEvent','mapTo','isTransformMutationFailure','_messageService','translate(.97)','off-line-single_clip0_910_343','_sheetSkeletonManagerService','status$','defs','search','contains','_drawTextRange','createSocket','WebBrowserSingleActiveUnitService','handleDeleteRangeMoveUp','mergeOverrideWithDependencies','_configService','pipe','range','propertyIsEnumerable','roomMembers$','_heartbeatTimer','cursorInfo','UniverCore','hide','APPLY_NON_SEQUENTIAL_REVISION','color','_render','session.connection-failed','substring','attrs','CollaborationStatus','BuiltInUIPart','_colorAssignService','result','_initEntityListener','concat','row','getParam','prototype','getCollabEntity$','useObservable','DeleteRangeMoveUpCommandId','_handleHover','collabStatus.syncing','_dataLoaderService','_unitStatus','_urlService','_initEvent','touchDependencies','@univerjs/docs','RichTextEditingMutation','max','bottom','collaboration-client.offline-data-not-saved','hasOwnProperty','0\x200\x2017\x2016','_startSheetCollabCursor','getFocusedUnit','INVALID_INVITE_CODE','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','YUUMI_UNABLE_LOAD_URL','react/jsx-runtime','getCurrent','_entities','collaboration.closeRoom','_collaborationUIEventService','_updateCollabCursors','react','unitId','closePath','_injector','UniverDrawing','extend','ranges','toDisposable','getRenderById','DataLoaderService','ICommandService','size','Module','_assignedColors','setParam','_ensureSubject','startRow','post','addEventListener','_onCursorUpdate','_cursor','YUUMI_RATE_OVER_LIMIT','SetSelectionsOperation','@univerjs/ui','_document','MessageType','INVITE_CODE_REQUIRED','ITransformService','LOCAL_CACHE_INTERVAL_KEY','connectInjector','init','apply','_themeService','top','getSheetBySheetId','YUUMI_SUBSCRIPTION_NOT_FOUND','transformMutation','_transformPreviousActiveRange','INVITE_CODE_HAS_BEEN_UES','SYNCED','registerRenderModule','executeCommand','history','SetTextSelectionsOperation','column','transformSelections','mutations','DocCollaborationEntity','IRenderManagerService','switchMap','SNAPSHOT_HAS_BEEN_REMOVED','RemoteUniscriptService','isArray','M0\x200H16V16H0z','123210dueLKP','_handleJoinEvent','transformByState','_collabCursorController','fromEventSubject','PY_RUNTIME_SCRIPT_ERROR','getCoordByCell','SOCKET_FAILED','_getScale','INotificationService','eventID','isActive','add','className','Warning','_localCacheService','collabStatus.offline','_docTransformSelectionsService','getOffsetConfig','save','getTypeOfUnitDisposed$','disposeWithMe','deepClone','endRow','setInterval','updateOfflineData','next','CLOSE_ROOM','YUUMI_ASYNCIO_CANCELLED','_docTransformStateCacheService','HTTPService','_updateURLWithCurrentState','UniverNetwork','9919bHNPfr','PENDING','_init','setTimeout','_logService','_registerDependencies','CollaborationEvent','handleIRemoveCol','div','LocaleService','getCollabCursors$','urlChange$','SetWorksheetActivateCommand','height','INTERNAL_ERROR','getTypeOfUnitAdded$','undoState','newValue','ONLINE','handleMoveRange','origin','_initDependencies','Failed','Error','amd','#fff','DisposableCollection','PERMISSION_DENIED','ILogService'];_0x38bc=function(){return _0x54c8d8;};return _0x38bc();}function _0x201c(_0x34c66a,_0x4c540f){const _0x38bc05=_0x38bc();return _0x201c=function(_0x201ce9,_0x331559){_0x201ce9=_0x201ce9-0x79;let _0x2fdd8d=_0x38bc05[_0x201ce9];return _0x2fdd8d;},_0x201c(_0x34c66a,_0x4c540f);}(function(_0x83e1ea,_0x291b4e){const _0x453799=_0x201c,_0x249f5e=_0x83e1ea();while(!![]){try{const _0x44fbb3=-parseInt(_0x453799(0x2f3))/0x1+parseInt(_0x453799(0x2b4))/0x2*(-parseInt(_0x453799(0x96))/0x3)+parseInt(_0x453799(0x26b))/0x4*(parseInt(_0x453799(0x89))/0x5)+-parseInt(_0x453799(0x2a4))/0x6+-parseInt(_0x453799(0x152))/0x7*(parseInt(_0x453799(0x1ba))/0x8)+-parseInt(_0x453799(0x131))/0x9*(-parseInt(_0x453799(0x1c6))/0xa)+-parseInt(_0x453799(0x2ae))/0xb*(-parseInt(_0x453799(0x7f))/0xc);if(_0x44fbb3===_0x291b4e)break;else _0x249f5e['push'](_0x249f5e['shift']());}catch(_0x951f6a){_0x249f5e['push'](_0x249f5e['shift']());}}}(_0x38bc,0x84582),function(_0x218fe6,_0x320991){const _0x2b77fc=_0x201c;typeof exports==_0x2b77fc(0x1f1)&&typeof module<'u'?_0x320991(exports,require(_0x2b77fc(0x2a0)),require(_0x2b77fc(0x271)),require(_0x2b77fc(0x17f)),require('@univerjs/network'),require(_0x2b77fc(0x2b0)),require(_0x2b77fc(0xa3)),require(_0x2b77fc(0x225)),require(_0x2b77fc(0xe9)),require(_0x2b77fc(0x17d)),require(_0x2b77fc(0x281)),require(_0x2b77fc(0xaa)),require(_0x2b77fc(0xa9)),require(_0x2b77fc(0xad)),require('react/jsx-runtime'),require('@univerjs/ui'),require(_0x2b77fc(0x22f)),require(_0x2b77fc(0xfb)),require('@univerjs/rpc')):typeof define=='function'&&define[_0x2b77fc(0x16a)]?define([_0x2b77fc(0x1c1),_0x2b77fc(0x2a0),_0x2b77fc(0x271),_0x2b77fc(0x17f),_0x2b77fc(0x1a9),'@univerjs/docs-ui',_0x2b77fc(0xa3),_0x2b77fc(0x225),_0x2b77fc(0xe9),_0x2b77fc(0x17d),'@univerjs/engine-formula',_0x2b77fc(0xaa),_0x2b77fc(0xa9),'@univerjs/sheets-ui',_0x2b77fc(0xf5),_0x2b77fc(0x112),_0x2b77fc(0x22f),_0x2b77fc(0xfb),'@univerjs/rpc'],_0x320991):(_0x218fe6=typeof globalThis<'u'?globalThis:_0x218fe6||self,_0x320991(_0x218fe6[_0x2b77fc(0x1bb)]={},_0x218fe6[_0x2b77fc(0x309)],_0x218fe6[_0x2b77fc(0xce)],_0x218fe6[_0x2b77fc(0x1d6)],_0x218fe6[_0x2b77fc(0x151)],_0x218fe6[_0x2b77fc(0x2f7)],_0x218fe6[_0x2b77fc(0xff)],_0x218fe6[_0x2b77fc(0x225)],_0x218fe6[_0x2b77fc(0x308)],_0x218fe6[_0x2b77fc(0x2e7)],_0x218fe6[_0x2b77fc(0x291)],_0x218fe6['UniverSheets'],_0x218fe6[_0x2b77fc(0x225)][_0x2b77fc(0x2d8)],_0x218fe6['UniverSheetsUi'],_0x218fe6['React'],_0x218fe6['UniverUi'],_0x218fe6[_0x2b77fc(0xa8)],_0x218fe6['React'],_0x218fe6[_0x2b77fc(0x1a4)]));}(this,function(_0x3bccaa,_0x1102c8,_0x3207a9,_0x2e888c,_0x283bfb,_0xcfa6df,_0x23a064,_0xd000e2,_0xca2427,_0x3e7a87,_0x9b4b,_0x4a8ed5,_0x3314d0,_0x5f0a59,_0x23e649,_0x38cf24,_0x28722d,_0x470d28,_0x5c4095){'use strict';const _0x258f24=_0x201c;var _0x763ecc=Object[_0x258f24(0x2ce)],_0x4f3fb8=(_0x5f33de,_0x2a050f,_0x297d59)=>_0x2a050f in _0x5f33de?_0x763ecc(_0x5f33de,_0x2a050f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x297d59}):_0x5f33de[_0x2a050f]=_0x297d59,_0x1a27fd=(_0x327e6b,_0x11344c,_0x4ec528)=>_0x4f3fb8(_0x327e6b,typeof _0x11344c!='symbol'?_0x11344c+'':_0x11344c,_0x4ec528),_0x22d69c=Object[_0x258f24(0x26f)],_0x38088b=(_0xf8d3bd,_0x210256,_0x5c92bc,_0x484ffc)=>{for(var _0x2f17a3=_0x484ffc>0x1?void 0x0:_0x484ffc?_0x22d69c(_0x210256,_0x5c92bc):_0x210256,_0x28f5b5=_0xf8d3bd['length']-0x1,_0x11fbd4;_0x28f5b5>=0x0;_0x28f5b5--)(_0x11fbd4=_0xf8d3bd[_0x28f5b5])&&(_0x2f17a3=_0x11fbd4(_0x2f17a3)||_0x2f17a3);return _0x2f17a3;},_0x5899fa=(_0x2481c8,_0x1946f2)=>(_0x2d484,_0x400b5c)=>_0x1946f2(_0x2d484,_0x400b5c,_0x2481c8);let _0xa670a2=class extends _0x3207a9[_0x258f24(0x245)]{constructor(_0x73d625,_0x33d1ad){const _0x395a30=_0x258f24;super(),this[_0x395a30(0x27a)]=_0x73d625,this[_0x395a30(0x252)]=_0x33d1ad,this[_0x395a30(0x154)]();}[_0x258f24(0x154)](){const _0x453f94=_0x258f24,_0x5afc8d=this;this['disposeWithMe'](this[_0x453f94(0x27a)][_0x453f94(0x30e)]({'onBeforePasteImage':async _0x12d975=>{const _0x10a219=_0x453f94,_0x5eb3c7=await _0x5afc8d[_0x10a219(0x252)][_0x10a219(0xb0)](_0x12d975);return _0x5eb3c7?{'source':_0x5eb3c7['source'],'imageSourceType':_0x5eb3c7[_0x10a219(0x280)]}:null;}}));}};_0xa670a2=_0x38088b([_0x5899fa(0x0,_0xcfa6df[_0x258f24(0x1c7)]),_0x5899fa(0x1,_0x23a064[_0x258f24(0x9b)])],_0xa670a2);const _0x3b6e78=[_0x258f24(0x257),_0x258f24(0x286),_0x258f24(0x1ff),_0x258f24(0x233),'blue400',_0x258f24(0x304)];class _0x3ec850 extends _0x3207a9[_0x258f24(0x17e)]{constructor(){const _0x7805a8=_0x258f24;super(...arguments),_0x1a27fd(this,_0x7805a8(0x108),new Map()),_0x1a27fd(this,'_colorIndex',0x0);}[_0x258f24(0x267)](_0x14059a){const _0x3fe2b4=_0x258f24;if(this[_0x3fe2b4(0x108)][_0x3fe2b4(0x17b)](_0x14059a))return this['_assignedColors'][_0x3fe2b4(0x1e9)](_0x14059a);const _0x390785=_0x3b6e78[this['_colorIndex']];return this[_0x3fe2b4(0x258)]=(this['_colorIndex']+0x1)%_0x3b6e78[_0x3fe2b4(0x2ee)],this['_assignedColors']['set'](_0x14059a,_0x390785),_0x390785;}}function _0xe11a78(_0x3b6466){const _0x21fe8b=_0x258f24;let _0x249836='';for(const _0x480e78 of _0x3b6466){const {startOffset:_0x2d186a,endOffset:_0x260447,isActive:_0x3053e9,rangeType:_0x46020a,segmentId:_0x1950b3,segmentPage:_0x52fd34}=_0x480e78;_0x249836[_0x21fe8b(0x2ee)]&&(_0x249836+=','),_0x249836+=_0x2d186a+':'+_0x260447+':'+(_0x3053e9?'1':'0')+':'+_0x46020a+':'+_0x1950b3+':'+_0x52fd34;}return _0x249836;}function _0x4e7a22(_0x4ebb5b){const _0x1d8f1f=_0x258f24,_0x31379f=_0x4ebb5b['split'](','),_0xa7d50e=[];for(const _0x125454 of _0x31379f){const [_0x26af9c,_0x1329b0,_0x2609c1,_0x104155,_0x428979,_0x18693b]=_0x125454[_0x1d8f1f(0x2bb)](':');_0xa7d50e[_0x1d8f1f(0x1ac)]({'startOffset':Number(_0x26af9c),'endOffset':Number(_0x1329b0),'collapsed':_0x26af9c===_0x1329b0,'isActive':_0x2609c1==='1','rangeType':_0x104155===_0x3207a9[_0x1d8f1f(0x84)]['TEXT']?_0x3207a9[_0x1d8f1f(0x84)][_0x1d8f1f(0x295)]:_0x3207a9[_0x1d8f1f(0x84)]['RECT'],'segmentId':typeof _0x428979==_0x1d8f1f(0x18e)?String(_0x428979):'','segmentPage':Number(_0x18693b!=null?_0x18693b:-0x1)});}return _0xa7d50e[_0x1d8f1f(0x311)](_0x128cfb=>_0x128cfb['isActive'])||(_0xa7d50e[0x0][_0x1d8f1f(0x13c)]=!0x0),_0xa7d50e;}class _0x2062f0 extends _0x3207a9[_0x258f24(0x245)]{constructor(){const _0x35ef7b=_0x258f24;super(...arguments),_0x1a27fd(this,_0x35ef7b(0x229),new _0xd000e2[(_0x35ef7b(0x1ed))](null)),_0x1a27fd(this,_0x35ef7b(0x79),this[_0x35ef7b(0x229)][_0x35ef7b(0x22a)]());}[_0x258f24(0x7c)](_0x4386e9){const _0x5952bf=_0x258f24,{unitID:_0x11b2f8,memberID:_0x517b9a,textRanges:_0x3d9501}=_0x4386e9,_0x2a4a4c=_0xe11a78(_0x3d9501);if(_0x2a4a4c==='')return;const _0x5b98d4={'unitID':_0x11b2f8,'memberID':_0x517b9a,'selection':_0x2a4a4c};this[_0x5952bf(0x229)][_0x5952bf(0x14b)](_0x5b98d4);}}var _0x59e7b1=Object['getOwnPropertyDescriptor'],_0x312adb=(_0x2bf310,_0x2cef19,_0xf9e406,_0x5c4285)=>{for(var _0x3577c6=_0x5c4285>0x1?void 0x0:_0x5c4285?_0x59e7b1(_0x2cef19,_0xf9e406):_0x2cef19,_0x7df7d8=_0x2bf310['length']-0x1,_0x11356b;_0x7df7d8>=0x0;_0x7df7d8--)(_0x11356b=_0x2bf310[_0x7df7d8])&&(_0x3577c6=_0x11356b(_0x3577c6)||_0x3577c6);return _0x3577c6;},_0xf0ae3e=(_0x3ac3d5,_0x1587dc)=>(_0x1545ab,_0x16375c)=>_0x1587dc(_0x1545ab,_0x16375c,_0x3ac3d5);const _0x4ebfd1=0x12c,_0x4d94a9=0x64;let _0x5cb765=class extends _0x3207a9['RxDisposable']{constructor(_0x711277,_0x317d12,_0xf4f684,_0x3feec3,_0x35d2cc,_0xbef5d3,_0x426093,_0x164c70,_0x33b46c){const _0x330509=_0x258f24;super(),_0x1a27fd(this,_0x330509(0x17a),!0x1),_0x1a27fd(this,_0x330509(0x154),!0x1),_0x1a27fd(this,_0x330509(0x222),new _0xd000e2[(_0x330509(0x1ed))](new Map())),_0x1a27fd(this,_0x330509(0x193),this[_0x330509(0x222)]['asObservable']()),_0x1a27fd(this,_0x330509(0x269),new _0xd000e2[(_0x330509(0x1ed))]([])),_0x1a27fd(this,_0x330509(0xcb),this[_0x330509(0x269)]['pipe'](_0xd000e2[_0x330509(0x259)](_0x4ebfd1))),_0x1a27fd(this,_0x330509(0x181),_0x3207a9['debounce'](_0x433749=>{const _0x57407f=_0x330509,_0x52465e={'eventID':_0x3e7a87[_0x57407f(0x158)][_0x57407f(0x2a9)],'data':{'unitID':this[_0x57407f(0x299)],'memberID':this[_0x57407f(0x237)][_0x57407f(0x206)](),'selection':_0xe11a78(_0x433749)}};this[_0x57407f(0x237)][_0x57407f(0x1e1)](_0x52465e,this['unitID']);},_0x4d94a9)),(this[_0x330509(0x299)]=_0x711277,this[_0x330509(0x237)]=_0x317d12,this['_injector']=_0xf4f684,this[_0x330509(0xd8)]=_0x3feec3,this[_0x330509(0x92)]=_0x35d2cc,this[_0x330509(0x9d)]=_0xbef5d3,this[_0x330509(0x30b)]=_0x426093,this[_0x330509(0x29f)]=_0x164c70,this[_0x330509(0x1b1)]=_0x33b46c);}get[_0x258f24(0xcd)](){const _0xd228de=_0x258f24;return this[_0xd228de(0x222)][_0xd228de(0x284)]();}get[_0x258f24(0x1a7)](){const _0x34f1b1=_0x258f24;return this[_0x34f1b1(0x269)][_0x34f1b1(0x284)]();}[_0x258f24(0x2f2)](){const _0x3168a3=_0x258f24;super[_0x3168a3(0x2f2)](),this[_0x3168a3(0x222)][_0x3168a3(0x14b)](new Map()),this['_cursorInfo$']['complete'](),this[_0x3168a3(0x269)][_0x3168a3(0x14b)]([]),this[_0x3168a3(0x269)]['complete']();}[_0x258f24(0x119)](){const _0x13c80e=_0x258f24;this['_init']||(this['_init']=!0x0,this[_0x13c80e(0x237)][_0x13c80e(0x1b7)]['pipe'](_0xd000e2[_0x13c80e(0x1da)](this['dispose$']))['subscribe'](_0x2143f9=>{const _0x3e6573=_0x13c80e;_0x2143f9===_0x1102c8[_0x3e6573(0x2a2)][_0x3e6573(0x164)]?this[_0x3e6573(0x18a)]():this[_0x3e6573(0x30d)]();}),this['_session']['event$']['pipe'](_0xd000e2[_0x13c80e(0x1da)](this[_0x13c80e(0x220)]))[_0x13c80e(0x185)](_0x372999=>{const _0x179e78=_0x13c80e,_0x250ddd=_0x372999[_0x179e78(0x13b)];_0x250ddd===_0x3e7a87[_0x179e78(0x158)][_0x179e78(0x2a9)]&&this[_0x179e78(0x10e)](_0x372999),_0x250ddd===_0x3e7a87[_0x179e78(0x158)]['USERS_LEAVE']&&this[_0x179e78(0x21d)](_0x372999);}),this[_0x13c80e(0x146)](this[_0x13c80e(0x1b1)][_0x13c80e(0x287)](_0x1c82c6=>{const _0x1294f7=_0x13c80e,_0x12c0eb=_0x1c82c6['params'];_0x12c0eb!=null&&this['_online']&&_0x1c82c6['id']===_0xca2427[_0x1294f7(0x126)]['id']&&_0x12c0eb[_0x1294f7(0xfc)]===this[_0x1294f7(0x299)]&&_0x12c0eb[_0x1294f7(0x200)]===!0x1&&_0x12c0eb[_0x1294f7(0x101)]['length']>0x0&&this['_updateLocalCursor'](_0x12c0eb['ranges']);})),this[_0x13c80e(0x9d)][_0x13c80e(0x79)][_0x13c80e(0xc8)](_0xd000e2['takeUntil'](this['dispose$']))[_0x13c80e(0x185)](_0x137920=>{const _0x11a247=_0x13c80e;if((_0x137920==null?void 0x0:_0x137920[_0x11a247(0x299)])!==this[_0x11a247(0x299)])return;const _0x57a46a={'eventID':_0x3e7a87[_0x11a247(0x158)][_0x11a247(0x2a9)],'data':_0x137920};this['_onCursorUpdate'](_0x57a46a);}),this[_0x13c80e(0x146)](this[_0x13c80e(0x1b1)]['onCommandExecuted'](_0x4015c7=>{const _0x1840f3=_0x13c80e;if(_0x4015c7[_0x1840f3(0x1d0)]==null)return;const _0x388c00=_0x4015c7[_0x1840f3(0x1d0)];if(_0x4015c7['id']!==_0xca2427[_0x1840f3(0xea)]['id']||_0x388c00[_0x1840f3(0xfc)]!==this[_0x1840f3(0x299)])return;const _0x4587a6={'id':_0x1840f3(0x215),'params':_0x388c00},_0x3f8693=this[_0x1840f3(0xcd)];for(const [_0x3d85bb,_0x518538]of _0x3f8693){const _0x4735d1={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x1840f3(0x299)],'actions':null,'textRanges':_0x518538['ranges']}},_0xed4246=this[_0x1840f3(0x30b)][_0x1840f3(0x11f)](_0x4587a6,_0x4735d1,!0x1);if(_0x3e7a87['isTransformMutationFailure'](_0xed4246))throw _0xed4246['error'];_0x3f8693[_0x1840f3(0x2dc)](_0x3d85bb,{..._0x518538,'ranges':_0xed4246['m2Prime']['params']['textRanges']});}queueMicrotask(()=>{const _0xf68a1f=_0x1840f3;this[_0xf68a1f(0x222)][_0xf68a1f(0x14b)](_0x3f8693);});})));}['_onCursorUpdate'](_0x3677f0){const _0x49f187=_0x258f24;var _0x3e7e4f,_0x166937;const {memberID:_0x30fa1b,selection:_0x42c657}=_0x3677f0['data'],_0x4ca996=_0x4e7a22(_0x42c657),_0x3d52bd=(_0x166937=(_0x3e7e4f=this['_memberService'][_0x49f187(0xb6)](this[_0x49f187(0x299)],_0x30fa1b))==null?void 0x0:_0x3e7e4f['name'])!=null?_0x166937:_0x49f187(0x2be),_0x2c7d3d={'color':this['_colorAssignService'][_0x49f187(0x267)](_0x30fa1b),'name':_0x3d52bd,'ranges':_0x4ca996},_0x3e6e03=this[_0x49f187(0xcd)];_0x3e6e03[_0x49f187(0x2dc)](_0x30fa1b,_0x2c7d3d),this[_0x49f187(0x222)]['next'](_0x3e6e03);}[_0x258f24(0x21d)](_0x44ed0f){const _0x435203=_0x258f24,{memberID:_0x178941}=_0x44ed0f['data'],_0x1c4e00=this[_0x435203(0xcd)];_0x1c4e00[_0x435203(0x95)](_0x178941),this[_0x435203(0x222)][_0x435203(0x14b)](_0x1c4e00);}[_0x258f24(0x18a)](){const _0x57612c=_0x258f24;var _0x26dc61;if(this[_0x57612c(0x17a)]=!0x0,((_0x26dc61=this[_0x57612c(0x29f)]['getFocusedUnit']())==null?void 0x0:_0x26dc61[_0x57612c(0x266)]())!==this[_0x57612c(0x299)])return;const _0x6866c7=this[_0x57612c(0xfe)][_0x57612c(0x1e9)](_0xca2427[_0x57612c(0x1a6)])[_0x57612c(0xa4)]();Array[_0x57612c(0x12f)](_0x6866c7)&&_0x6866c7[_0x57612c(0x2ee)]>0x0&&this[_0x57612c(0x181)](_0x6866c7);}[_0x258f24(0x30d)](){const _0x5846bc=_0x258f24;this[_0x5846bc(0x17a)]=!0x1;}};_0x5cb765=_0x312adb([_0xf0ae3e(0x2,_0x3207a9[_0x258f24(0x1cc)](_0x3207a9[_0x258f24(0x173)])),_0xf0ae3e(0x3,_0x3207a9[_0x258f24(0x1cc)](_0x3ec850)),_0xf0ae3e(0x4,_0x3207a9['Inject'](_0x1102c8['MemberService'])),_0xf0ae3e(0x5,_0x3207a9[_0x258f24(0x1cc)](_0x2062f0)),_0xf0ae3e(0x6,_0x3e7a87[_0x258f24(0x116)]),_0xf0ae3e(0x7,_0x3207a9[_0x258f24(0x18d)]),_0xf0ae3e(0x8,_0x3207a9[_0x258f24(0x105)])],_0x5cb765);var _0x2989c3=Object['getOwnPropertyDescriptor'],_0x6a5ed4=(_0x9e6480,_0x4d4d5f,_0x38a73e,_0x293721)=>{const _0x111a86=_0x258f24;for(var _0x4370f5=_0x293721>0x1?void 0x0:_0x293721?_0x2989c3(_0x4d4d5f,_0x38a73e):_0x4d4d5f,_0xe288dc=_0x9e6480[_0x111a86(0x2ee)]-0x1,_0x5c07f7;_0xe288dc>=0x0;_0xe288dc--)(_0x5c07f7=_0x9e6480[_0xe288dc])&&(_0x4370f5=_0x5c07f7(_0x4370f5)||_0x4370f5);return _0x4370f5;},_0x6c7efd=(_0x53817c,_0x4b4958)=>(_0x2bd926,_0x1526c2)=>_0x4b4958(_0x2bd926,_0x1526c2,_0x53817c);const _0x3feed0=0x12c,_0x1a97ae=0x64,_0x30df03=()=>{let _0x1d961d=[],_0x4ec67c=!0x1;return _0x1b6dd6=>{_0x1d961d['push'](_0x1b6dd6),_0x4ec67c||(_0x4ec67c=!0x0,setTimeout(()=>{const _0x295ccf=_0x201c;_0x1d961d[_0x295ccf(0x19c)](_0x2973b6=>_0x2973b6()),_0x1d961d=[],_0x4ec67c=!0x1;}));};};let _0x4bfd5a=class extends _0x3207a9[_0x258f24(0x245)]{constructor(_0x296a28,_0x573b14,_0x45d3d5,_0x51501e,_0x2e0df8,_0x2ab1b2,_0x3a4a3e,_0x2df3a3){const _0x3f3833=_0x258f24;super(),_0x1a27fd(this,'_online',!0x1),_0x1a27fd(this,_0x3f3833(0x154),!0x1),_0x1a27fd(this,_0x3f3833(0x222),new _0xd000e2['BehaviorSubject'](new Map())),_0x1a27fd(this,_0x3f3833(0x193),this['_cursorInfo$'][_0x3f3833(0x22a)]()),_0x1a27fd(this,_0x3f3833(0x269),new _0xd000e2[(_0x3f3833(0x1ed))]([])),_0x1a27fd(this,_0x3f3833(0xcb),this[_0x3f3833(0x269)][_0x3f3833(0xc8)](_0xd000e2['debounceTime'](_0x3feed0))),_0x1a27fd(this,_0x3f3833(0x181),_0x3207a9[_0x3f3833(0x212)]((_0x13bc86,_0x2f3026)=>{const _0x2135ff=_0x3f3833,_0x26abdf={'eventID':_0x3e7a87[_0x2135ff(0x158)][_0x2135ff(0x2a9)],'data':{'unitID':this['unitID'],'memberID':this[_0x2135ff(0x237)][_0x2135ff(0x206)](),'selection':_0x9b4b['serializeRangeWithSheet'](_0x13bc86,_0x2f3026[_0x2135ff(0xc9)])}};this[_0x2135ff(0x237)]['send'](_0x26abdf,this[_0x2135ff(0x299)]);},_0x1a97ae)),(this[_0x3f3833(0x299)]=_0x296a28,this['_session']=_0x573b14,this['_injector']=_0x45d3d5,this[_0x3f3833(0xd8)]=_0x51501e,this['_memberService']=_0x2e0df8,this[_0x3f3833(0x29f)]=_0x2ab1b2,this['_commandService']=_0x3a4a3e,this[_0x3f3833(0x19b)]=_0x2df3a3);}get['cursorInfo'](){const _0x5ea1a3=_0x258f24;return this[_0x5ea1a3(0x222)][_0x5ea1a3(0x284)]();}get[_0x258f24(0x1a7)](){const _0x3ad712=_0x258f24;return this[_0x3ad712(0x269)][_0x3ad712(0x284)]();}['dispose'](){const _0x28d31d=_0x258f24;super[_0x28d31d(0x2f2)](),this[_0x28d31d(0x222)][_0x28d31d(0x14b)](new Map()),this[_0x28d31d(0x222)][_0x28d31d(0x254)](),this['_roomMembers$'][_0x28d31d(0x14b)]([]),this[_0x28d31d(0x269)]['complete']();}[_0x258f24(0x119)](){const _0x337dd8=_0x258f24;this['_init']||(this['_init']=!0x0,this[_0x337dd8(0x237)][_0x337dd8(0x1b7)]['pipe'](_0xd000e2['takeUntil'](this['dispose$']))[_0x337dd8(0x185)](_0x124fe9=>{const _0x53d0c5=_0x337dd8;_0x124fe9===_0x1102c8['SessionStatus'][_0x53d0c5(0x164)]?this[_0x53d0c5(0x18a)]():this[_0x53d0c5(0x30d)]();}),this[_0x337dd8(0x237)][_0x337dd8(0x180)]['pipe'](_0xd000e2['takeUntil'](this[_0x337dd8(0x220)]))[_0x337dd8(0x185)](_0x3dd0ee=>{const _0x584df2=_0x337dd8,_0x2d3f3e=_0x3dd0ee[_0x584df2(0x13b)];_0x2d3f3e===_0x3e7a87[_0x584df2(0x158)][_0x584df2(0x2a9)]&&this[_0x584df2(0x10e)](_0x3dd0ee),_0x2d3f3e===_0x3e7a87[_0x584df2(0x158)][_0x584df2(0x20f)]&&this[_0x584df2(0x21d)](_0x3dd0ee);}),this[_0x337dd8(0x231)](),this[_0x337dd8(0x146)](this['_commandService'][_0x337dd8(0x287)](_0x2f1f64=>{const _0x3aed56=_0x337dd8;if(this[_0x3aed56(0x17a)]&&_0x2f1f64['id']===_0x4a8ed5[_0x3aed56(0x111)]['id']&&_0x2f1f64[_0x3aed56(0x1d0)][_0x3aed56(0xfc)]===this[_0x3aed56(0x299)]){const _0x3a77f9=_0x2f1f64['params'];this[_0x3aed56(0x181)](_0x3a77f9[_0x3aed56(0x184)],_0x3a77f9[_0x3aed56(0x1bf)][0x0]);}})));}[_0x258f24(0x10e)](_0x38bd4e){const _0x57b7e4=_0x258f24;var _0x3921f7,_0x521616;const {memberID:_0x828fec,selection:_0x42f64a}=_0x38bd4e[_0x57b7e4(0x1f7)],{sheetName:_0x227b73,range:_0xf55069}=_0x9b4b['deserializeRangeWithSheet'](_0x42f64a),_0x480bfc={'name':(_0x521616=(_0x3921f7=this[_0x57b7e4(0x92)][_0x57b7e4(0xb6)](this[_0x57b7e4(0x299)],_0x828fec))==null?void 0x0:_0x3921f7[_0x57b7e4(0x178)])!=null?_0x521616:_0x57b7e4(0x2be),'range':this['_getMergeRange'](_0x227b73,_0xf55069),'sheetID':_0x227b73,'color':this['_colorAssignService'][_0x57b7e4(0x267)](_0x828fec),'selection':_0x42f64a},_0x19c27b=this[_0x57b7e4(0xcd)];_0x19c27b['set'](_0x828fec,_0x480bfc),this[_0x57b7e4(0x222)][_0x57b7e4(0x14b)](_0x19c27b);}['_onCursorDelete'](_0x66dd4b){const _0x43c164=_0x258f24,{memberID:_0x458e7f}=_0x66dd4b[_0x43c164(0x1f7)],_0x443c31=this[_0x43c164(0xcd)];_0x443c31[_0x43c164(0x95)](_0x458e7f),this['_cursorInfo$'][_0x43c164(0x14b)](_0x443c31);}['_getMergeRange'](_0x7d4835,_0xa7cab7){const _0x5a476b=_0x258f24;var _0x5457ef,_0x544834;const _0x37a488=(_0x544834=(_0x5457ef=this[_0x5a476b(0x29f)][_0x5a476b(0x1c0)](this['unitID']))==null?void 0x0:_0x5457ef[_0x5a476b(0x11d)](_0x7d4835))==null?void 0x0:_0x544834[_0x5a476b(0x313)]();return(_0x37a488==null?void 0x0:_0x37a488[_0x5a476b(0x301)](_0x560452=>_0x3207a9['Rectangle'][_0x5a476b(0xc1)](_0x560452,_0xa7cab7)))||_0xa7cab7;}['_onRefRangeChange'](){const _0x2a875c=_0x258f24,_0xdcdc55=new _0x3207a9[(_0x2a875c(0x16c))](),_0x381fde=_0x30df03(),_0x6de332=()=>{const _0x34b2f2=_0x2a875c;_0xdcdc55[_0x34b2f2(0x2f2)]();const _0x192a95=(_0x1fd4d9,_0x563152,_0x2d1bb0,_0x732b25)=>{const _0xeda894=_0x34b2f2;let _0x30ea7d=[];switch(_0x1fd4d9['id']){case _0x4a8ed5['EffectRefRangId'][_0xeda894(0x1cd)]:{_0x30ea7d=_0x4a8ed5['handleDeleteRangeMoveLeft'](_0x1fd4d9,_0x732b25);break;}case _0x4a8ed5[_0xeda894(0x28d)][_0xeda894(0xe1)]:{_0x30ea7d=_0x4a8ed5[_0xeda894(0xc5)](_0x1fd4d9,_0x732b25);break;}case _0x4a8ed5[_0xeda894(0x28d)][_0xeda894(0x2b3)]:{_0x30ea7d=_0x4a8ed5[_0xeda894(0x1fa)](_0x1fd4d9,_0x732b25);break;}case _0x4a8ed5[_0xeda894(0x28d)]['InsertRangeMoveDownCommandId']:{_0x30ea7d=_0x4a8ed5[_0xeda894(0x285)](_0x1fd4d9,_0x732b25);break;}case _0x4a8ed5[_0xeda894(0x28d)][_0xeda894(0x2d2)]:{_0x30ea7d=_0x4a8ed5[_0xeda894(0x25a)](_0x1fd4d9,_0x732b25);break;}case _0x4a8ed5['EffectRefRangId']['InsertRowCommandId']:{_0x30ea7d=_0x4a8ed5['handleInsertRow'](_0x1fd4d9,_0x732b25);break;}case _0x4a8ed5[_0xeda894(0x28d)][_0xeda894(0x1ef)]:{_0x30ea7d=_0x4a8ed5[_0xeda894(0x165)](_0x1fd4d9,_0x732b25);break;}case _0x4a8ed5[_0xeda894(0x28d)][_0xeda894(0x1c2)]:{_0x30ea7d=_0x4a8ed5[_0xeda894(0x159)](_0x1fd4d9,_0x732b25);break;}case _0x4a8ed5[_0xeda894(0x28d)]['RemoveRowCommandId']:{_0x30ea7d=_0x4a8ed5['handleIRemoveRow'](_0x1fd4d9,_0x732b25);break;}}const _0x50cb43=_0x4a8ed5['runRefRangeMutations'](_0x30ea7d,_0x732b25),_0x14f19a=this[_0xeda894(0xcd)][_0xeda894(0x1e9)](_0x563152);if(_0x14f19a&&_0x50cb43){const _0x304438={..._0x14f19a,'range':_0x50cb43};this[_0xeda894(0xcd)][_0xeda894(0x2dc)](_0x563152,_0x304438),_0x381fde(()=>{const _0x2f86a2=_0xeda894,_0x5d5a19=this[_0x2f86a2(0x19b)]['registerRefRange'](_0x50cb43,_0x5c4678=>(_0x5d5a19[_0x2f86a2(0x2f2)](),_0x192a95(_0x5c4678,_0x563152,_0x2d1bb0,_0x50cb43)));_0xdcdc55[_0x2f86a2(0x13d)](_0x5d5a19);});}return{'redos':[],'undos':[]};};this[_0x34b2f2(0xcd)]['forEach']((_0x1ac2a4,_0x3594fe)=>{const _0x121707=_0x34b2f2,{range:_0x1f6e34,sheetID:_0x4c715c}=_0x1ac2a4,_0x371ed9=this[_0x121707(0x19b)][_0x121707(0x2cc)](_0x1f6e34,_0x59e75f=>(_0x371ed9['dispose'](),_0x192a95(_0x59e75f,_0x3594fe,_0x4c715c,_0x1f6e34)));_0xdcdc55[_0x121707(0x13d)](_0x371ed9);});};this[_0x2a875c(0x146)](_0x3207a9[_0x2a875c(0x102)](this[_0x2a875c(0x222)][_0x2a875c(0x185)](()=>{_0x6de332();})));}[_0x258f24(0x18a)](){const _0x2d14f5=_0x258f24;var _0x4b407c,_0xed2537;if(this[_0x2d14f5(0x17a)]=!0x0,((_0x4b407c=this[_0x2d14f5(0x29f)][_0x2d14f5(0xf1)]())==null?void 0x0:_0x4b407c[_0x2d14f5(0x266)]())!==this['unitID'])return;const _0x62f0a=(_0xed2537=this[_0x2d14f5(0xfe)][_0x2d14f5(0x1e9)](_0x4a8ed5['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0xed2537[0x0],_0x1e756d=this['_univerInstanceService']['getCurrentUnitForType'](_0x3207a9[_0x2d14f5(0x23d)][_0x2d14f5(0x2bf)])[_0x2d14f5(0x29e)]();_0x62f0a&&_0x1e756d&&this[_0x2d14f5(0x181)](_0x1e756d['getSheetId'](),_0x62f0a);}['_toggleOffline'](){const _0x1b4467=_0x258f24;this[_0x1b4467(0x17a)]=!0x1;}};_0x4bfd5a=_0x6a5ed4([_0x6c7efd(0x2,_0x3207a9[_0x258f24(0x1cc)](_0x3207a9[_0x258f24(0x173)])),_0x6c7efd(0x3,_0x3207a9['Inject'](_0x3ec850)),_0x6c7efd(0x4,_0x3207a9[_0x258f24(0x1cc)](_0x1102c8[_0x258f24(0x1b6)])),_0x6c7efd(0x5,_0x3207a9['IUniverInstanceService']),_0x6c7efd(0x6,_0x3207a9[_0x258f24(0x105)]),_0x6c7efd(0x7,_0x3207a9[_0x258f24(0x1cc)](_0x4a8ed5['RefRangeService']))],_0x4bfd5a);var _0x4c7629=Object[_0x258f24(0x26f)],_0x4e75cb=(_0x4228c4,_0x3062a1,_0x51bd5a,_0x20f2eb)=>{const _0x15d5aa=_0x258f24;for(var _0x17713f=_0x20f2eb>0x1?void 0x0:_0x20f2eb?_0x4c7629(_0x3062a1,_0x51bd5a):_0x3062a1,_0x4c62a9=_0x4228c4[_0x15d5aa(0x2ee)]-0x1,_0x36f1c1;_0x4c62a9>=0x0;_0x4c62a9--)(_0x36f1c1=_0x4228c4[_0x4c62a9])&&(_0x17713f=_0x36f1c1(_0x17713f)||_0x17713f);return _0x17713f;},_0x13dbbf=(_0x3fdd65,_0x2e2368)=>(_0x316d1f,_0x5d6d35)=>_0x2e2368(_0x316d1f,_0x5d6d35,_0x3fdd65);let _0x35f21e=class extends _0x3207a9[_0x258f24(0x245)]{constructor(_0x555c32,_0x5cd9e5,_0xb80efd){const _0x379b85=_0x258f24;super(),_0x1a27fd(this,_0x379b85(0xf7),new Map()),_0x1a27fd(this,'_entityInit$',new _0xd000e2[(_0x379b85(0x19a))]()),(this['_univerInstanceService']=_0x555c32,this['_injector']=_0x5cd9e5,this[_0x379b85(0x2d4)]=_0xb80efd,this['_init']());}[_0x258f24(0x2f2)](){const _0xe161ee=_0x258f24;super[_0xe161ee(0x2f2)](),this['_entityInit$']['complete'](),this[_0xe161ee(0xf7)][_0xe161ee(0x19c)](_0x436934=>_0x436934[_0xe161ee(0x2f2)]());}['getCollabCursors$'](_0xb80d69){const _0x2cdf8b=_0x258f24;return this[_0x2cdf8b(0xf7)][_0x2cdf8b(0x17b)](_0xb80d69)?this[_0x2cdf8b(0xf7)][_0x2cdf8b(0x1e9)](_0xb80d69)[_0x2cdf8b(0x193)]:this[_0x2cdf8b(0x302)]['pipe'](_0xd000e2[_0x2cdf8b(0x88)](_0x46be3c=>_0x46be3c[_0x2cdf8b(0x299)]===_0xb80d69),_0xd000e2[_0x2cdf8b(0x12c)](_0x1f30a3=>_0x1f30a3[_0x2cdf8b(0x193)]));}[_0x258f24(0x154)](){const _0xe806ab=_0x258f24;this[_0xe806ab(0x29f)]['getTypeOfUnitAdded$'](_0x3207a9[_0xe806ab(0x23d)][_0xe806ab(0x2bf)])[_0xe806ab(0xc8)](_0xd000e2[_0xe806ab(0x1da)](this['dispose$']))['subscribe'](async _0x54162a=>{const _0x5a4947=_0xe806ab,_0x358c91=_0x54162a[_0x5a4947(0x266)](),_0x329865=await this[_0x5a4947(0xf0)](_0x358c91);this[_0x5a4947(0x302)][_0x5a4947(0x14b)](_0x329865),this[_0x5a4947(0xf7)][_0x5a4947(0x2dc)](_0x358c91,_0x329865);}),this[_0xe806ab(0x29f)][_0xe806ab(0x161)](_0x3207a9[_0xe806ab(0x23d)][_0xe806ab(0x97)])[_0xe806ab(0xc8)](_0xd000e2[_0xe806ab(0x1da)](this['dispose$']))['pipe'](_0xd000e2[_0xe806ab(0x88)](_0xfd68e=>!_0xfd68e[_0xe806ab(0x266)]()[_0xe806ab(0x2c0)]('__')))[_0xe806ab(0x185)](async _0x5b642b=>{const _0x44ff07=_0xe806ab,_0xeddd0=_0x5b642b[_0x44ff07(0x266)](),_0x2fcba4=await this['_startDocCollabCursor'](_0xeddd0);this['_entityInit$']['next'](_0x2fcba4),this['_entities'][_0x44ff07(0x2dc)](_0xeddd0,_0x2fcba4);}),_0xd000e2[_0xe806ab(0x26e)](this['_univerInstanceService'][_0xe806ab(0x145)](_0x3207a9[_0xe806ab(0x23d)][_0xe806ab(0x97)]),this[_0xe806ab(0x29f)][_0xe806ab(0x145)](_0x3207a9[_0xe806ab(0x23d)][_0xe806ab(0x2bf)]))[_0xe806ab(0xc8)](_0xd000e2[_0xe806ab(0x1da)](this[_0xe806ab(0x220)]))[_0xe806ab(0x185)](_0x390c27=>{const _0x19b3a9=_0xe806ab,_0x322297=_0x390c27[_0x19b3a9(0x266)](),_0x485246=this['_entities'][_0x19b3a9(0x1e9)](_0x322297);_0x485246&&(_0x485246['dispose'](),this['_entities'][_0x19b3a9(0x95)](_0x322297));});}async['_startSheetCollabCursor'](_0x5c97dd){const _0x4a8a2b=_0x258f24,_0x6e07bf=await this['_collabSessionService'][_0x4a8a2b(0x22e)](_0x5c97dd),_0x5769a6=this[_0x4a8a2b(0xfe)][_0x4a8a2b(0x205)](_0x4bfd5a,_0x5c97dd,_0x6e07bf);return _0x5769a6['init'](),_0x5769a6;}async[_0x258f24(0x186)](_0x250691){const _0x19a435=_0x258f24,_0x55ef77=await this[_0x19a435(0x2d4)][_0x19a435(0x22e)](_0x250691),_0xad136c=this['_injector'][_0x19a435(0x205)](_0x5cb765,_0x250691,_0x55ef77);return _0xad136c[_0x19a435(0x119)](),_0xad136c;}};_0x35f21e=_0x4e75cb([_0x13dbbf(0x0,_0x3207a9[_0x258f24(0x18d)]),_0x13dbbf(0x1,_0x3207a9[_0x258f24(0x1cc)](_0x3207a9[_0x258f24(0x173)])),_0x13dbbf(0x2,_0x3207a9[_0x258f24(0x1cc)](_0x1102c8[_0x258f24(0x249)]))],_0x35f21e);const _0x172baf=0x14,_0x211678=0xc8,_0x3ddd43=0x4,_0x5f55bf=0x5;function _0x3b98b3(_0x47023f,_0x35ede7){const _0x5e94e1=_0x258f24;let {radius:_0x442bfa,width:_0x115647,height:_0x110446}=_0x35ede7;_0x442bfa=_0x442bfa!=null?_0x442bfa:0x0,_0x115647=_0x115647!=null?_0x115647:0x1e,_0x110446=_0x110446!=null?_0x110446:0x1e;let _0x4d1b5e=0x0,_0xb89d83=0x0,_0x29755c=0x0;_0x4d1b5e=_0xb89d83=_0x29755c=Math[_0x5e94e1(0x1d9)](_0x442bfa,_0x115647/0x2,_0x110446/0x2),_0x47023f[_0x5e94e1(0x2ef)](),_0x47023f[_0x5e94e1(0x8d)](_0x4d1b5e,0x0),_0x47023f[_0x5e94e1(0x20a)](_0x115647-_0xb89d83,0x0),_0x47023f[_0x5e94e1(0x1f6)](_0x115647-_0xb89d83,_0xb89d83,_0xb89d83,Math['PI']*0x3/0x2,0x0,!0x1),_0x47023f[_0x5e94e1(0x20a)](_0x115647,_0x110446-_0x29755c),_0x47023f['arc'](_0x115647-_0x29755c,_0x110446-_0x29755c,_0x29755c,0x0,Math['PI']/0x2,!0x1),_0x47023f[_0x5e94e1(0x20a)](0x0,_0x110446),_0x47023f['lineTo'](0x0,_0x4d1b5e),_0x47023f[_0x5e94e1(0x1f6)](_0x4d1b5e,_0x4d1b5e,_0x4d1b5e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x47023f[_0x5e94e1(0xfd)](),_0x35ede7['fill']&&(_0x47023f['save'](),_0x47023f['fillStyle']=_0x35ede7[_0x5e94e1(0x81)],_0x35ede7[_0x5e94e1(0x2d7)]===_0x5e94e1(0x2c6)?_0x47023f[_0x5e94e1(0x81)](_0x5e94e1(0x2c6)):_0x47023f[_0x5e94e1(0x81)](),_0x47023f['restore']());}class _0x45a747 extends _0x2e888c[_0x258f24(0x219)]{constructor(_0x3de4da,_0x463e19){const _0x11ac79=_0x258f24;super(_0x3de4da,_0x463e19),_0x1a27fd(this,_0x11ac79(0xd1)),_0x1a27fd(this,_0x11ac79(0x216)),(this[_0x11ac79(0xd1)]=_0x463e19==null?void 0x0:_0x463e19['color'],this['text']=_0x463e19==null?void 0x0:_0x463e19[_0x11ac79(0x216)]);}static[_0x258f24(0x27e)](_0x8504a0,_0x3db03f){const _0x1f1717=_0x258f24,{text:_0x3e6e46,color:_0x4761eb}=_0x3db03f;_0x8504a0[_0x1f1717(0x144)](),_0x8504a0[_0x1f1717(0x1ae)]=_0x1f1717(0x2d9);const _0x47c608=_0x8504a0[_0x1f1717(0x177)](_0x3e6e46)['width'],_0x2a4374=Math[_0x1f1717(0x1d9)](_0x47c608+0x2*_0x3ddd43,_0x211678);_0x3b98b3(_0x8504a0,{'height':_0x172baf,'radius':0x4,'width':_0x2a4374,'fill':_0x4761eb}),_0x8504a0[_0x1f1717(0x2f5)]=_0x1f1717(0x85);const _0x558feb=_0x3ddd43,_0x42cff0=_0x172baf-_0x5f55bf,_0x895a81=_0x211678-0x2*_0x3ddd43;if(_0x47c608>_0x895a81){let _0x3af34c='',_0xfd07f=0x0;for(const _0x5cc5f1 of _0x3e6e46){const _0x56e3fc=_0x8504a0['measureText'](_0x5cc5f1)[_0x1f1717(0x23e)];if(_0xfd07f+_0x56e3fc<=_0x895a81-_0x8504a0['measureText']('...')[_0x1f1717(0x23e)])_0x3af34c+=_0x5cc5f1,_0xfd07f+=_0x56e3fc;else{_0x3af34c+=_0x1f1717(0x24d);break;}}_0x8504a0[_0x1f1717(0x192)](_0x3af34c,_0x558feb,_0x42cff0);}else _0x8504a0[_0x1f1717(0x192)](_0x3e6e46,_0x558feb,_0x42cff0);_0x8504a0['restore']();}[_0x258f24(0x307)](_0x2866bb){const _0x20fd41=_0x258f24;_0x45a747[_0x20fd41(0x27e)](_0x2866bb,this);}}const _0x37e56b='collab-text-anchor-',_0x582634=_0x258f24(0x1fd),_0x5c36e3=_0x258f24(0x278),_0xdef561=0x6,_0x5168c4=1.5,_0x3f2cb9=0x4,_0x1549b5=1.5,_0x1cee30=_0x258f24(0x1c3);class _0x113192{constructor(_0x4525e7,_0x135fba,_0x2edb9f,_0x34226a){const _0x14fc5d=_0x258f24;_0x1a27fd(this,_0x14fc5d(0x2a3),[]),_0x1a27fd(this,_0x14fc5d(0x27c),null),_0x1a27fd(this,_0x14fc5d(0x260),null),_0x1a27fd(this,_0x14fc5d(0x2de),null),_0x1a27fd(this,_0x14fc5d(0x2ec),null),_0x1a27fd(this,_0x14fc5d(0x226),null),(this[_0x14fc5d(0x10f)]=_0x4525e7,this[_0x14fc5d(0x202)]=_0x135fba,this['_docSkeleton']=_0x2edb9f,this[_0x14fc5d(0x113)]=_0x34226a,this[_0x14fc5d(0xd2)]());}set[_0x258f24(0x24c)](_0x2145a5){const _0x307ddd=_0x258f24;_0x2145a5?(this[_0x307ddd(0x2de)]&&this[_0x307ddd(0x2de)][_0x307ddd(0xcf)](),this['_textBubble']&&this[_0x307ddd(0x260)]['show']()):(this['_anchorDot']&&this[_0x307ddd(0x2de)][_0x307ddd(0x2fb)](),this[_0x307ddd(0x260)]&&this[_0x307ddd(0x260)][_0x307ddd(0xcf)]());}[_0x258f24(0x2f2)](){const _0x3111f2=_0x258f24;for(const _0x4b0c84 of this[_0x3111f2(0x2a3)])_0x4b0c84[_0x3111f2(0x2f2)]();this['_textBubble']&&this[_0x3111f2(0x260)]['dispose'](),this['_anchorDot']&&this['_anchorDot']['dispose'](),this[_0x3111f2(0x27c)]&&this[_0x3111f2(0x27c)][_0x3111f2(0x2f2)](),this[_0x3111f2(0x226)]&&this[_0x3111f2(0x226)]();}[_0x258f24(0xd2)](){const _0x524d73=_0x258f24;var _0x322e00;const {_docSkeleton:_0x114fd5,_document:_0x5ba5db}=this,{color:_0x3d1100,name:_0xff0e3,ranges:_0x3b9b99}=this[_0x524d73(0x10f)],_0x8f51b=_0x5ba5db[_0x524d73(0x143)](),{docsLeft:_0xb59485,docsTop:_0x446435}=_0x8f51b,_0x69a5c7=new _0xcfa6df[(_0x524d73(0x274))](_0x8f51b,_0x114fd5);for(const {startOffset:_0x3edf5f,endOffset:_0x1c0062,rangeType:_0x1aff9c,segmentId:_0x47b992,segmentPage:_0x34d016,collapsed:_0xfa3ebd,isActive:_0x30dd43}of _0x3b9b99){const _0x2a9b7c=_0x114fd5[_0x524d73(0x294)](_0x3edf5f,!0x0,_0x47b992,_0x34d016);let _0x3f673a=_0x114fd5[_0x524d73(0x294)](_0x1c0062,!0x0,_0x47b992,_0x34d016);if(_0x3f673a==null&&(_0x3f673a=_0x114fd5[_0x524d73(0x294)](_0x1c0062-0x1,!0x1,_0x47b992,_0x34d016)),_0x30dd43){const {contentBoxPointGroup:_0x2d8d03}=_0x69a5c7[_0x524d73(0x238)](_0x3f673a,_0x3f673a);if(_0x2d8d03['length']===0x0)continue;this['_drawAnchor'](_0x3d1100,_0x2d8d03,_0xb59485,_0x446435,_0xff0e3),this['_eventUnsubscribe']=this[_0x524d73(0xe2)]();}if(_0x2a9b7c&&_0x3f673a){if(_0x1aff9c===_0x3207a9[_0x524d73(0x84)][_0x524d73(0x18c)]){const _0x4ab443=new _0xcfa6df[(_0x524d73(0x1df))](_0x8f51b,_0x114fd5),{pointGroup:_0x2b4548}=(_0x322e00=_0x4ab443[_0x524d73(0x238)](_0x2a9b7c,_0x3f673a))!=null?_0x322e00:{};if(_0x2b4548==null||_0x2b4548[_0x524d73(0x2ee)]===0x0)continue;this[_0x524d73(0x241)](_0x3d1100,_0x2b4548,_0xb59485,_0x446435);}else{if(!_0xfa3ebd){const {borderBoxPointGroup:_0x3f54a5}=_0x69a5c7[_0x524d73(0x238)](_0x2a9b7c,_0x3f673a);if(_0x3f54a5[_0x524d73(0x2ee)]===0x0)continue;this[_0x524d73(0xc2)](_0x3d1100,_0x3f54a5,_0xb59485,_0x446435);}}}}}[_0x258f24(0x236)](_0x5dd348,_0x588c3c,_0x182fc4,_0x47fecb,_0x26a432){const _0x51483d=_0x258f24,_0x10191e=this[_0x51483d(0x1be)](_0x588c3c),{left:_0x1b9899,top:_0x40e2f2,height:_0x241895}=_0x10191e,_0x59c064=this['_getScale'](),_0x37cc80=_0x1549b5/_0x59c064,_0x37972d=new _0x2e888c[(_0x51483d(0x1f3))](_0x37e56b+_0x3207a9[_0x51483d(0x310)][_0x51483d(0x1e8)](_0xdef561),{'left':_0x1b9899+_0x182fc4-_0x37cc80,'top':_0x40e2f2+_0x47fecb,'height':_0x241895,'width':_0x5168c4,'fill':_0x5dd348||_0x2e888c[_0x51483d(0x2bc)](_0x3207a9['COLORS'][_0x51483d(0x300)],0x0),'strokeWidth':_0x37cc80,'stroke':_0x1cee30,'evented':!0x0});this[_0x51483d(0x27c)]=_0x37972d,this[_0x51483d(0x202)]['addObject'](_0x37972d,_0xcfa6df[_0x51483d(0x22c)]);const _0x4329f7=new _0x2e888c[(_0x51483d(0x1f3))](_0x37e56b+_0x3207a9[_0x51483d(0x310)][_0x51483d(0x1e8)](_0xdef561),{'left':_0x1b9899+_0x182fc4-_0x37cc80,'top':_0x40e2f2+_0x47fecb-_0x3f2cb9/0x2,'height':_0x3f2cb9,'width':_0x3f2cb9,'fill':_0x5dd348||_0x2e888c[_0x51483d(0x2bc)](_0x3207a9[_0x51483d(0xb3)][_0x51483d(0x300)],0x0),'strokeWidth':0x0,'stroke':_0x5dd348||_0x2e888c['getColor'](_0x3207a9[_0x51483d(0xb3)][_0x51483d(0x300)],0x0),'evented':!0x1});this[_0x51483d(0x2de)]=_0x4329f7,this[_0x51483d(0x202)][_0x51483d(0x232)](_0x4329f7,_0xcfa6df[_0x51483d(0x22c)]);const _0x16dc50=new _0x45a747(_0x37e56b+_0x3207a9[_0x51483d(0x310)][_0x51483d(0x1e8)](_0xdef561),{'left':_0x1b9899+_0x182fc4-_0x37cc80,'top':_0x40e2f2+_0x47fecb-_0x172baf,'text':_0x26a432,'color':_0x5dd348});this['_textBubble']=_0x16dc50,this['_scene'][_0x51483d(0x232)](_0x16dc50,_0xcfa6df[_0x51483d(0x22c)]),this['_hover']=!0x1;}['_handleHover'](){const _0x5820bc=_0x258f24,_0x5a6b45=this[_0x5820bc(0x27c)][_0x5820bc(0x23b)]['subscribeEvent'](()=>{const _0x21d3f6=_0x5820bc;this[_0x21d3f6(0x24c)]=!0x0;}),_0x3ded21=this['_anchor'][_0x5820bc(0x250)][_0x5820bc(0xb7)](()=>{const _0x47f558=_0x5820bc;this[_0x47f558(0x2ec)]&&clearTimeout(this[_0x47f558(0x2ec)]),this[_0x47f558(0x2ec)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x57a4d9=_0x5820bc;_0x5a6b45[_0x57a4d9(0x207)](),_0x3ded21['unsubscribe']();};}[_0x258f24(0xc2)](_0x341c63,_0x27c550,_0x3594b7,_0x537bb5){const _0x133390=_0x258f24,_0x1d2564=new _0x3207a9['ColorKit'](_0x341c63)[_0x133390(0x2b7)](0.2)['toRgbString'](),_0x3bb9a2=new _0x2e888c[(_0x133390(0x1d8))](_0x582634+_0x3207a9[_0x133390(0x310)]['generateRandomId'](_0xdef561),{'pointsGroup':_0x27c550,'fill':_0x1d2564||_0x2e888c[_0x133390(0x2bc)](_0x3207a9['COLORS'][_0x133390(0x300)],0.2),'left':_0x3594b7,'top':_0x537bb5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x133390(0x2a3)][_0x133390(0x1ac)](_0x3bb9a2),this[_0x133390(0x202)]['addObject'](_0x3bb9a2,_0xcfa6df[_0x133390(0x22c)]);}[_0x258f24(0x241)](_0x349ce8,_0x1c1296,_0x150002,_0x30d1f1){const _0x59698f=_0x258f24,_0x5091a9=new _0x3207a9[(_0x59698f(0x2a5))](_0x349ce8)[_0x59698f(0x2b7)](0.2)[_0x59698f(0x312)](),_0x5f5884=new _0x2e888c['RegularPolygon'](_0x5c36e3+_0x3207a9[_0x59698f(0x310)]['generateRandomId'](_0xdef561),{'pointsGroup':_0x1c1296,'fill':_0x5091a9||_0x2e888c[_0x59698f(0x2bc)](_0x3207a9['COLORS'][_0x59698f(0x300)],0.2),'left':_0x150002,'top':_0x30d1f1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x59698f(0x2a3)][_0x59698f(0x1ac)](_0x5f5884),this[_0x59698f(0x202)]['addObject'](_0x5f5884,_0xcfa6df['TEXT_RANGE_LAYER_INDEX']);}[_0x258f24(0x1be)](_0x5e2bbe){const _0x3bbd09=_0x5e2bbe[0x0],_0x5c2235=_0x3bbd09[0x0],_0x4899d8=_0x3bbd09[0x2],{x:_0x4b3a65,y:_0x508bb6}=_0x5c2235,{x:_0x1bfcf6,y:_0x1d2c79}=_0x4899d8;return{'left':_0x4b3a65,'top':_0x508bb6,'width':_0x1bfcf6-_0x4b3a65,'height':_0x1d2c79-_0x508bb6};}[_0x258f24(0x139)](){const _0x2bcb6b=_0x258f24,{scaleX:_0x45eb5c,scaleY:_0x2a8098}=this[_0x2bcb6b(0x202)][_0x2bcb6b(0x2eb)]();return Math[_0x2bcb6b(0xeb)](_0x45eb5c,_0x2a8098);}}var _0x288b35=Object[_0x258f24(0x26f)],_0x415408=(_0x240b0f,_0x3f749f,_0x50d159,_0x3527be)=>{for(var _0x177512=_0x3527be>0x1?void 0x0:_0x3527be?_0x288b35(_0x3f749f,_0x50d159):_0x3f749f,_0x34aab3=_0x240b0f['length']-0x1,_0x5d917f;_0x34aab3>=0x0;_0x34aab3--)(_0x5d917f=_0x240b0f[_0x34aab3])&&(_0x177512=_0x5d917f(_0x177512)||_0x177512);return _0x177512;},_0x670455=(_0x54a8a3,_0x369d5c)=>(_0x7e928,_0x2a49f5)=>_0x369d5c(_0x7e928,_0x2a49f5,_0x54a8a3);let _0x137949=class extends _0x3207a9[_0x258f24(0x245)]{constructor(_0x3c67e6,_0x317901,_0x5a928f,_0x2d35cf,_0x4cc0e1){const _0x3770b1=_0x258f24;super(),_0x1a27fd(this,'_cursorShapes',[]),_0x1a27fd(this,'_cursors',[]),(this[_0x3770b1(0x2c8)]=_0x3c67e6,this[_0x3770b1(0x24b)]=_0x317901,this[_0x3770b1(0x134)]=_0x5a928f,this['_commandService']=_0x2d35cf,this[_0x3770b1(0x11b)]=_0x4cc0e1,this[_0x3770b1(0x154)]());}['_init'](){const _0x1eaa8e=_0x258f24,_0x4048fe=this[_0x1eaa8e(0x2c8)][_0x1eaa8e(0xfc)],_0x3d7a82=this[_0x1eaa8e(0x24b)];this[_0x1eaa8e(0x146)](_0xd000e2[_0x1eaa8e(0x1ab)]([this[_0x1eaa8e(0x134)][_0x1eaa8e(0x15c)](_0x4048fe),this['_themeService'][_0x1eaa8e(0x1bc)]])['pipe'](_0x3314d0[_0x1eaa8e(0xa5)](([_0x2e8e65,_0x8d3e0])=>({'skeleton':_0x3d7a82['getSkeleton'](),'cursors':[..._0x2e8e65['values']()]['flatMap'](_0x3601bf=>({..._0x3601bf,'color':_0x8d3e0[_0x3601bf[_0x1eaa8e(0xd1)]]}))})))['subscribe'](_0x58790e=>{const _0x5e5f50=_0x1eaa8e;if(this[_0x5e5f50(0x1e3)](),_0x58790e){const {skeleton:_0xf781d0,cursors:_0xd57b11}=_0x58790e;this['_updateCollabCursors'](_0xf781d0,_0xd57b11);}})),this['_initResize'](),this[_0x1eaa8e(0xa0)]();}[_0x258f24(0xfa)](_0x211aa8,_0x5cd4d3){const _0x389e8e=_0x258f24,{scene:_0x19eee0,mainComponent:_0x26eaaf}=this[_0x389e8e(0x2c8)],_0x37eaa5=_0x5cd4d3[_0x389e8e(0xa5)](_0x191c3c=>new _0x113192(_0x191c3c,_0x19eee0,_0x211aa8,_0x26eaaf));this[_0x389e8e(0x1b2)]=_0x37eaa5,this['_cursors']=_0x5cd4d3;}[_0x258f24(0x2fa)](){const _0x55dc01=_0x258f24;this[_0x55dc01(0x1e3)]();const {scene:_0x1a4138,mainComponent:_0x4f42d3}=this[_0x55dc01(0x2c8)],_0x2c98ad=this[_0x55dc01(0x24b)][_0x55dc01(0x1ce)](),_0x23d61e=this[_0x55dc01(0x9e)][_0x55dc01(0xa5)](_0x43fe08=>new _0x113192(_0x43fe08,_0x1a4138,_0x2c98ad,_0x4f42d3));this[_0x55dc01(0x1b2)]=_0x23d61e;}[_0x258f24(0x1e3)](){const _0x48eada=_0x258f24;this[_0x48eada(0x1b2)][_0x48eada(0x19c)](_0x44255b=>_0x44255b[_0x48eada(0x2f2)]()),this['_cursorShapes']=[];}[_0x258f24(0xa0)](){const _0x58f2aa=_0x258f24,_0x2685b1=[_0xcfa6df[_0x58f2aa(0x21b)]['id']];this[_0x58f2aa(0x146)](this['_commandService'][_0x58f2aa(0x287)](_0x476fb5=>{const _0x56af37=_0x58f2aa;_0x2685b1['includes'](_0x476fb5['id'])&&_0x476fb5[_0x56af37(0x1d0)][_0x56af37(0xfc)]===this[_0x56af37(0x2c8)][_0x56af37(0xfc)]&&this[_0x56af37(0x2fa)]();}));}['_initResize'](){const _0x265038=_0x258f24;this[_0x265038(0x146)](_0x3207a9[_0x265038(0x135)](this[_0x265038(0x2c8)]['engine'][_0x265038(0x9f)])[_0x265038(0xc8)](_0x3314d0[_0x265038(0x88)](_0x41fb07=>_0x41fb07[_0x265038(0x2e1)]===_0x2e888c[_0x265038(0x30a)][_0x265038(0xb5)]),_0x3314d0['throttleTime'](0x10))[_0x265038(0x185)](()=>{const _0x46f642=_0x265038;this[_0x46f642(0x2fa)]();}));}};_0x137949=_0x415408([_0x670455(0x1,_0x3207a9[_0x258f24(0x1cc)](_0xca2427[_0x258f24(0xb2)])),_0x670455(0x2,_0x3207a9[_0x258f24(0x1cc)](_0x35f21e)),_0x670455(0x3,_0x3207a9[_0x258f24(0x105)]),_0x670455(0x4,_0x3207a9[_0x258f24(0x1cc)](_0x3207a9[_0x258f24(0x172)]))],_0x137949);const _0x1d56bd=0x1,_0x40d5ed=1.5;class _0x395e33 extends _0x2e888c[_0x258f24(0x219)]{constructor(_0x14322c,_0x5c065e){const _0x29e07d=_0x258f24;super(_0x14322c,_0x5c065e),_0x1a27fd(this,_0x29e07d(0x24e)),_0x1a27fd(this,_0x29e07d(0x1d3),!0x1),_0x1a27fd(this,_0x29e07d(0x255)),_0x1a27fd(this,_0x29e07d(0x221),''),_0x1a27fd(this,_0x29e07d(0x293),_0x29e07d(0x11c)),_0x1a27fd(this,_0x29e07d(0x23f)),(_0x5c065e&&this[_0x29e07d(0x248)](_0x5c065e),this['onPointerEnter$'][_0x29e07d(0xb7)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x29e07d(0x250)][_0x29e07d(0xb7)](()=>this[_0x29e07d(0x248)]({'hovered':!0x1})));}[_0x258f24(0x248)](_0x4a7ed2){const _0x2feda2=_0x258f24;var _0x495ed4,_0x4218e9,_0x3917bc,_0xeed890,_0x1f2e41,_0x29cf6d;this[_0x2feda2(0x24e)]=(_0x495ed4=_0x4a7ed2[_0x2feda2(0xd1)])!=null?_0x495ed4:this['_color'],this[_0x2feda2(0x1d3)]=(_0x4218e9=_0x4a7ed2['hovered'])!=null?_0x4218e9:this[_0x2feda2(0x1d3)],this[_0x2feda2(0x255)]=(_0x3917bc=_0x4a7ed2[_0x2feda2(0xc9)])!=null?_0x3917bc:this[_0x2feda2(0x255)],this[_0x2feda2(0x221)]=(_0xeed890=_0x4a7ed2[_0x2feda2(0x178)])!=null?_0xeed890:this[_0x2feda2(0x221)],this[_0x2feda2(0x293)]=(_0x1f2e41=_0x4a7ed2['labelPosition'])!=null?_0x1f2e41:this[_0x2feda2(0x293)],this[_0x2feda2(0x23f)]=(_0x29cf6d=_0x4a7ed2[_0x2feda2(0x227)])!=null?_0x29cf6d:this[_0x2feda2(0x23f)],this[_0x2feda2(0x133)]({'width':_0x4a7ed2[_0x2feda2(0x23e)],'height':_0x4a7ed2[_0x2feda2(0x15f)]});}[_0x258f24(0x246)](_0x1b22b5){const _0x461d93=_0x258f24,{row:_0x402c59,column:_0x6a87dd}=_0x1b22b5;if(_0x402c59>=this[_0x461d93(0x255)][_0x461d93(0x10b)]&&_0x402c59<=this[_0x461d93(0x255)][_0x461d93(0x148)]&&_0x6a87dd>=this[_0x461d93(0x255)][_0x461d93(0x1eb)]&&_0x6a87dd<=this[_0x461d93(0x255)][_0x461d93(0x7a)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x461d93(0x248)]({'hovered':!0x1});}[_0x258f24(0x18f)](_0x503743){return!0x1;}[_0x258f24(0x307)](_0x4d26ea){const _0x2010a6=_0x258f24;_0x2e888c[_0x2010a6(0x1f3)][_0x2010a6(0x27e)](_0x4d26ea,{'width':this[_0x2010a6(0x23e)],'height':this[_0x2010a6(0x15f)],'strokeWidth':_0x40d5ed,'stroke':this[_0x2010a6(0x24e)],'evented':!0x1,'fill':this[_0x2010a6(0x23f)]}),this['_hovered']&&(_0x4d26ea[_0x2010a6(0x144)](),_0x4d26ea[_0x2010a6(0x261)](0x1,0x0,0x0,0x1,this[_0x2010a6(0x23e)],this[_0x2010a6(0x293)]===_0x2010a6(0xec)?0x0:-0x14),_0x45a747['drawWith'](_0x4d26ea,{'text':this[_0x2010a6(0x221)],'color':this[_0x2010a6(0x24e)]}),_0x4d26ea['restore']());}}var _0x57a2bf=Object['getOwnPropertyDescriptor'],_0x2c145b=(_0x303d74,_0x18105a,_0x2d740c,_0x1ee099)=>{const _0x38c432=_0x258f24;for(var _0x4a9ab8=_0x1ee099>0x1?void 0x0:_0x1ee099?_0x57a2bf(_0x18105a,_0x2d740c):_0x18105a,_0x148e42=_0x303d74[_0x38c432(0x2ee)]-0x1,_0x228760;_0x148e42>=0x0;_0x148e42--)(_0x228760=_0x303d74[_0x148e42])&&(_0x4a9ab8=_0x228760(_0x4a9ab8)||_0x4a9ab8);return _0x4a9ab8;},_0x1132da=(_0x492dbb,_0x25688a)=>(_0x20f624,_0x31e0ea)=>_0x25688a(_0x20f624,_0x31e0ea,_0x492dbb);const _0x2c6e6f=0x1389;let _0x445646=class extends _0x3207a9[_0x258f24(0x245)]{constructor(_0x5d3be3,_0x3cfe0b,_0xf85e08,_0x597b99){const _0xe277d=_0x258f24;super(),_0x1a27fd(this,'_cursors',new Set()),_0x1a27fd(this,_0xe277d(0x2fd),null),(this[_0xe277d(0x2c8)]=_0x5d3be3,this[_0xe277d(0xbd)]=_0x3cfe0b,this['_collabCursorController']=_0xf85e08,this['_themeService']=_0x597b99,this[_0xe277d(0x154)]());}[_0x258f24(0x154)](){const _0x51e4ed=_0x258f24;this[_0x51e4ed(0xbd)]['currentSkeleton$'][_0x51e4ed(0xc8)](_0x3314d0[_0x51e4ed(0x1da)](this['dispose$']),_0x3314d0[_0x51e4ed(0x12c)](_0x3237bd=>{const _0x77d9d8=_0x51e4ed;if(_0x3237bd){const _0x14d0ee=_0x3237bd['sheetId'];return _0xd000e2[_0x77d9d8(0x1ab)](this['_collabCursorController'][_0x77d9d8(0x15c)](this[_0x77d9d8(0x2c8)][_0x77d9d8(0xfc)]),this[_0x77d9d8(0x11b)][_0x77d9d8(0x1bc)])[_0x77d9d8(0xc8)](_0x3314d0[_0x77d9d8(0xa5)](([_0x268997,_0x6fa1c3])=>{const _0x33db1b=new Map();return _0x268997['forEach']((_0x128710,_0x150a2d)=>{const _0x449437=_0x201c;if(_0x128710['sheetID']===_0x14d0ee){const _0x39d6f4={..._0x128710};_0x39d6f4[_0x449437(0xd1)]=_0x6fa1c3[_0x128710[_0x449437(0xd1)]],_0x33db1b['set'](_0x150a2d,_0x39d6f4);}}),{'skeleton':_0x3237bd,'cursors':_0x33db1b};}));}return _0xd000e2['of']({'skeleton':null,'cursors':new Map()});}))[_0x51e4ed(0x185)](({skeleton:_0x41a6ac,cursors:_0x33b1d7})=>{const _0x1f3ce0=_0x51e4ed;this[_0x1f3ce0(0x1e3)](),_0x41a6ac&&this[_0x1f3ce0(0xfa)](_0x41a6ac,_0x33b1d7);}),this[_0x51e4ed(0xbd)]['currentSkeleton$'][_0x51e4ed(0x185)](_0x441979=>{const _0xbc19c5=_0x51e4ed;if(_0x441979==null)return;const {skeleton:_0xd93ac}=_0x441979,{scene:_0x2e0c7c}=this[_0xbc19c5(0x2c8)];_0x2e0c7c['onPointerMove$'][_0xbc19c5(0xb7)](_0x3207a9[_0xbc19c5(0x212)](_0x3dec9b=>{const _0x2329f1=_0xbc19c5;var _0x51c5d5,_0xf403a4;const {offsetX:_0x1641d2,offsetY:_0x4b8fad}=_0x3dec9b,{x:_0x203939,y:_0x536f54}=_0x2e0c7c[_0x2329f1(0x198)](_0x2e888c[_0x2329f1(0x190)][_0x2329f1(0x1d7)]([_0x1641d2,_0x4b8fad])),{scaleX:_0x42b7a2,scaleY:_0x2b88b1}=_0x2e0c7c[_0x2329f1(0x2eb)](),_0x5c12fd=_0x2e0c7c['getViewport'](_0x2e888c[_0x2329f1(0xb1)]['VIEW_MAIN']),_0x29b69a=_0x2e0c7c['getVpScrollXYInfoByPosToVp'](_0x2e888c[_0x2329f1(0x190)][_0x2329f1(0x1d7)]([_0x203939,_0x536f54]),_0x5c12fd),_0x2dd371=_0xd93ac['getCellPositionByOffset'](_0x1641d2,_0x4b8fad,_0x42b7a2,_0x2b88b1,_0x29b69a);((_0x51c5d5=this[_0x2329f1(0x2fd)])==null?void 0x0:_0x51c5d5[_0x2329f1(0x127)])===_0x2dd371['column']&&((_0xf403a4=this[_0x2329f1(0x2fd)])==null?void 0x0:_0xf403a4[_0x2329f1(0xdc)])===_0x2dd371[_0x2329f1(0xdc)]||this[_0x2329f1(0x9e)][_0x2329f1(0x19c)](_0x57ff88=>{const _0x38dda5=_0x2329f1;_0x57ff88[_0x38dda5(0x246)](_0x2dd371);});},0x64));});}[_0x258f24(0xfa)](_0x2fb26c,_0xc7093f){const _0x3a5334=_0x258f24;var _0x3eddb9;const _0x3e3e9d=(_0x3eddb9=this[_0x3a5334(0xbd)][_0x3a5334(0xf6)]())==null?void 0x0:_0x3eddb9[_0x3a5334(0x2d1)];if(!_0x3e3e9d)return;const _0x4b0f82=this[_0x3a5334(0x2a7)]();if(!_0x4b0f82)return;this[_0x3a5334(0x9e)]['forEach'](_0x63b653=>{_0x63b653['makeDirty']();});const {scene:_0x3a5c69}=_0x4b0f82,_0x294df4=_0x37e7e0(Array[_0x3a5334(0x2cd)](_0xc7093f['values']()))['map'](_0x4dd545=>{const _0x220178=_0x3a5334,{color:_0x21ec15,range:_0x52caf7,name:_0x1b9584,selection:_0x40d835,sheetID:_0x3e250f}=_0x4dd545,{startColumn:_0x4e0035,startRow:_0x3e515b,endColumn:_0x29209c,endRow:_0x4a5c3c}=_0x52caf7,_0x9a81d7=_0x5f0a59[_0x220178(0x137)](_0x3e515b,_0x4e0035,_0x3a5c69,_0x3e3e9d),_0x5701e7=_0x5f0a59[_0x220178(0x137)](_0x4a5c3c,_0x29209c,_0x3a5c69,_0x3e3e9d),{columnHeaderHeightAndMarginTop:_0x20c916}=_0x3e3e9d,{startX:_0x4bfafb,startY:_0x2c78b6}=_0x9a81d7,{endX:_0x957e4d,endY:_0x5198a1}=_0x5701e7,_0x57924b=_0x957e4d-_0x4bfafb,_0x41f4f5=_0x5198a1-_0x2c78b6,_0x3b0b9c={'labelPosition':_0x2c78b6-_0x20c916>=_0x172baf?_0x220178(0x11c):'bottom','sheetID':_0x3e250f,'range':_0x52caf7,'color':_0x21ec15,'name':_0x1b9584,'selection':_0x40d835,'left':_0x4bfafb,'top':_0x2c78b6,'width':_0x57924b,'height':_0x41f4f5,'evented':!0x1,'zIndex':_0x2c6e6f};return new _0x395e33(_0x1b9584,_0x3b0b9c);});_0x3a5c69[_0x3a5334(0x94)](_0x294df4,_0x1d56bd),this['_cursors']=new Set(_0x294df4);}[_0x258f24(0x1e3)](){const _0x10bdc9=_0x258f24;var _0x1ea043;(_0x1ea043=this[_0x10bdc9(0x9e)])==null||_0x1ea043[_0x10bdc9(0x19c)](_0x329a95=>_0x329a95[_0x10bdc9(0x2f2)]());}[_0x258f24(0x2a7)](){const _0x393faa=_0x258f24;return _0x5f0a59[_0x393faa(0x1dc)](this['_context'][_0x393faa(0x2c3)],this[_0x393faa(0x2c8)]);}};_0x445646=_0x2c145b([_0x1132da(0x1,_0x3207a9['Inject'](_0x5f0a59[_0x258f24(0x90)])),_0x1132da(0x2,_0x3207a9[_0x258f24(0x1cc)](_0x35f21e)),_0x1132da(0x3,_0x3207a9[_0x258f24(0x1cc)](_0x3207a9['ThemeService']))],_0x445646);function _0x37e7e0(_0x2c9df0){const _0x9ff6e1=_0x258f24,_0x53ceaf=new Map();return _0x2c9df0['forEach'](_0x990ccc=>{const _0x151895=_0x201c;if(_0x53ceaf[_0x151895(0x17b)](_0x990ccc['selection'])){const _0x158f18=_0x53ceaf[_0x151895(0x1e9)](_0x990ccc[_0x151895(0x2c5)]);_0x158f18[_0x151895(0x178)]+=',\x20'+_0x990ccc[_0x151895(0x178)];}else _0x53ceaf['set'](_0x990ccc[_0x151895(0x2c5)],_0x990ccc);}),Array[_0x9ff6e1(0x2cd)](_0x53ceaf[_0x9ff6e1(0x170)]());}var _0x1eba68=function(){const _0x113a2a=_0x258f24;return _0x1eba68=Object[_0x113a2a(0x7e)]||function(_0x5d8523){const _0x1e708c=_0x113a2a;for(var _0x4e97b5,_0xba49b1=0x1,_0x2915a9=arguments[_0x1e708c(0x2ee)];_0xba49b1<_0x2915a9;_0xba49b1++){_0x4e97b5=arguments[_0xba49b1];for(var _0x362d8d in _0x4e97b5)Object[_0x1e708c(0xde)][_0x1e708c(0xee)]['call'](_0x4e97b5,_0x362d8d)&&(_0x5d8523[_0x362d8d]=_0x4e97b5[_0x362d8d]);}return _0x5d8523;},_0x1eba68[_0x113a2a(0x11a)](this,arguments);},_0x17233f=function(_0x281f67,_0x41f137){const _0x12260e=_0x258f24;var _0x29bd12={};for(var _0x31f803 in _0x281f67)Object[_0x12260e(0xde)][_0x12260e(0xee)][_0x12260e(0x1dd)](_0x281f67,_0x31f803)&&_0x41f137[_0x12260e(0xac)](_0x31f803)<0x0&&(_0x29bd12[_0x31f803]=_0x281f67[_0x31f803]);if(_0x281f67!=null&&typeof Object[_0x12260e(0x210)]==_0x12260e(0x9c)){for(var _0x2e2c93=0x0,_0x31f803=Object[_0x12260e(0x210)](_0x281f67);_0x2e2c93<_0x31f803['length'];_0x2e2c93++)_0x41f137[_0x12260e(0xac)](_0x31f803[_0x2e2c93])<0x0&&Object['prototype'][_0x12260e(0xca)][_0x12260e(0x1dd)](_0x281f67,_0x31f803[_0x2e2c93])&&(_0x29bd12[_0x31f803[_0x2e2c93]]=_0x281f67[_0x31f803[_0x2e2c93]]);}return _0x29bd12;},_0x4f9a87=_0x470d28[_0x258f24(0x211)](function(_0x389803,_0x23a66c){const _0x133d88=_0x258f24;var _0x4fe8ef=_0x389803['icon'],_0x41a358=_0x389803['id'],_0x4b35ba=_0x389803[_0x133d88(0x13e)],_0x3cc4c3=_0x389803[_0x133d88(0x100)],_0x3ac4c9=_0x17233f(_0x389803,[_0x133d88(0x282),'id',_0x133d88(0x13e),_0x133d88(0x100)]),_0x597b65='univerjs-icon\x20univerjs-icon-'['concat'](_0x41a358,'\x20')['concat'](_0x4b35ba||'')[_0x133d88(0x21f)](),_0x3b46d7=_0x470d28['useRef']('_'[_0x133d88(0xdb)](_0x4863c3()));return _0x403c11(_0x4fe8ef,''[_0x133d88(0xdb)](_0x41a358),{'defIds':_0x4fe8ef[_0x133d88(0x1c8)],'idSuffix':_0x3b46d7[_0x133d88(0x2ff)]},_0x1eba68({'ref':_0x23a66c,'className':_0x597b65},_0x3ac4c9),_0x3cc4c3);});function _0x403c11(_0x33108e,_0x5685a8,_0x596ee3,_0xcee1b7,_0x502e41){const _0x7e99b0=_0x258f24;return _0x470d28[_0x7e99b0(0x26c)](_0x33108e['tag'],_0x1eba68(_0x1eba68({'key':_0x5685a8},_0x15d5b4(_0x33108e,_0x596ee3,_0x502e41)),_0xcee1b7),(_0xf73f9c(_0x33108e,_0x596ee3)[_0x7e99b0(0x228)]||[])[_0x7e99b0(0xa5)](function(_0x3ba632,_0x1db7ae){const _0x40e06f=_0x7e99b0;return _0x403c11(_0x3ba632,''['concat'](_0x5685a8,'-')[_0x40e06f(0xdb)](_0x33108e[_0x40e06f(0x2df)],'-')[_0x40e06f(0xdb)](_0x1db7ae),_0x596ee3,void 0x0,_0x502e41);}));}function _0x15d5b4(_0x2f1ec0,_0x29c3f1,_0x196145){const _0x3d8dc5=_0x258f24;var _0xc074b5=_0x1eba68({},_0x2f1ec0['attrs']);_0x196145!=null&&_0x196145[_0x3d8dc5(0x87)]&&_0xc074b5[_0x3d8dc5(0x81)]===_0x3d8dc5(0x87)&&(_0xc074b5[_0x3d8dc5(0x81)]=_0x196145['colorChannel1']),_0x2f1ec0[_0x3d8dc5(0x2df)]==='mask'&&_0xc074b5['id']&&(_0xc074b5['id']=_0xc074b5['id']+_0x29c3f1[_0x3d8dc5(0x2c1)]),Object[_0x3d8dc5(0x203)](_0xc074b5)[_0x3d8dc5(0x19c)](function(_0x297661){const _0x1228bd=_0x3d8dc5;var _0x30a899=_0x297661[0x0],_0xa6a8e3=_0x297661[0x1];_0x30a899===_0x1228bd(0x1f5)&&typeof _0xa6a8e3==_0x1228bd(0x18e)&&(_0xc074b5[_0x30a899]=_0xa6a8e3['replace'](/url\(#(.*)\)/,_0x1228bd(0x2b8)['concat'](_0x29c3f1['idSuffix'],')')));});var _0x26ac70=_0x29c3f1[_0x3d8dc5(0x1c8)];return!_0x26ac70||_0x26ac70[_0x3d8dc5(0x2ee)]===0x0||(_0x2f1ec0[_0x3d8dc5(0x2df)]==='use'&&_0xc074b5['xlink:href']&&(_0xc074b5['xlink:href']=_0xc074b5['xlink:href']+_0x29c3f1['idSuffix']),Object['entries'](_0xc074b5)[_0x3d8dc5(0x19c)](function(_0x4d277e){const _0x2378db=_0x3d8dc5;var _0xd189e5=_0x4d277e[0x0],_0x352549=_0x4d277e[0x1];typeof _0x352549==_0x2378db(0x18e)&&(_0xc074b5[_0xd189e5]=_0x352549[_0x2378db(0x2af)](/url\(#(.*)\)/,'url(#$1'[_0x2378db(0xdb)](_0x29c3f1[_0x2378db(0x2c1)],')')));})),_0xc074b5;}function _0xf73f9c(_0x1a42ee,_0x11fc7c){const _0x2d2c92=_0x258f24;var _0x23e3c5,_0x56fc10=_0x11fc7c[_0x2d2c92(0x1c8)];return!_0x56fc10||_0x56fc10[_0x2d2c92(0x2ee)]===0x0?_0x1a42ee:_0x1a42ee[_0x2d2c92(0x2df)]==='defs'&&(!((_0x23e3c5=_0x1a42ee[_0x2d2c92(0x228)])===null||_0x23e3c5===void 0x0)&&_0x23e3c5[_0x2d2c92(0x2ee)])?_0x1eba68(_0x1eba68({},_0x1a42ee),{'children':_0x1a42ee['children']['map'](function(_0x2414a2){const _0xf02bd0=_0x2d2c92;return typeof _0x2414a2[_0xf02bd0(0xd5)]['id']==_0xf02bd0(0x18e)&&_0x56fc10&&_0x56fc10['indexOf'](_0x2414a2[_0xf02bd0(0xd5)]['id'])>-0x1?_0x1eba68(_0x1eba68({},_0x2414a2),{'attrs':_0x1eba68(_0x1eba68({},_0x2414a2[_0xf02bd0(0xd5)]),{'id':_0x2414a2[_0xf02bd0(0xd5)]['id']+_0x11fc7c['idSuffix']})}):_0x2414a2;})}):_0x1a42ee;}function _0x4863c3(){const _0x1971e8=_0x258f24;return Math[_0x1971e8(0x2d5)]()[_0x1971e8(0x2b2)](0x24)[_0x1971e8(0xd4)](0x2,0x8);}_0x4f9a87[_0x258f24(0xaf)]='UniverIcon';var _0x1f84b8={'tag':_0x258f24(0x296),'attrs':{'fill':_0x258f24(0x1f9),'viewBox':_0x258f24(0x1e0),'width':_0x258f24(0x208),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x258f24(0x8c),'attrs':{'stroke':'currentColor','d':_0x258f24(0x25f),'strokeLinecap':_0x258f24(0x279),'strokeLinejoin':_0x258f24(0x279),'strokeWidth':1.2}}]},{'tag':_0x258f24(0xbf),'attrs':{},'children':[{'tag':_0x258f24(0x235),'attrs':{'id':_0x258f24(0xbc)},'children':[{'tag':_0x258f24(0x8c),'attrs':{'fill':_0x258f24(0x16b),'d':_0x258f24(0x130)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x5e9b56=_0x470d28[_0x258f24(0x211)](function(_0x2c4dc3,_0x31b835){const _0x56a2b8=_0x258f24;return _0x470d28[_0x56a2b8(0x26c)](_0x4f9a87,Object[_0x56a2b8(0x7e)]({},_0x2c4dc3,{'id':'off-line-single','ref':_0x31b835,'icon':_0x1f84b8}));});_0x5e9b56[_0x258f24(0xaf)]=_0x258f24(0x223);var _0x894c88={'tag':_0x258f24(0x296),'attrs':{'fill':_0x258f24(0x1f9),'viewBox':_0x258f24(0xef),'width':_0x258f24(0x208),'height':_0x258f24(0x208)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x258f24(0x8c),'attrs':{'stroke':_0x258f24(0x217),'d':_0x258f24(0x1b0),'strokeLinecap':_0x258f24(0x279),'strokeLinejoin':_0x258f24(0x279),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x258f24(0x235),'attrs':{'id':_0x258f24(0x189)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x258f24(0xbb)}}]}]}],'defIds':[_0x258f24(0x189)]},_0x29b3d7=_0x470d28['forwardRef'](function(_0x3a9414,_0x56c484){const _0x491691=_0x258f24;return _0x470d28[_0x491691(0x26c)](_0x4f9a87,Object[_0x491691(0x7e)]({},_0x3a9414,{'id':_0x491691(0x2e3),'ref':_0x56c484,'icon':_0x894c88}));});_0x29b3d7[_0x258f24(0xaf)]=_0x258f24(0x176);function _0x3f6f79(_0x554618){const _0x578892=_0x258f24;switch(_0x554618){case _0x1102c8[_0x578892(0xd6)]['OFFLINE']:return _0x578892(0x141);case _0x1102c8['CollaborationStatus'][_0x578892(0x204)]:return _0x578892(0x1f4);case _0x1102c8[_0x578892(0xd6)][_0x578892(0x1a5)]:return _0x578892(0x1f0);case _0x1102c8['CollaborationStatus']['NOT_COLLAB']:return _0x578892(0x29d);case _0x1102c8['CollaborationStatus'][_0x578892(0x182)]:case _0x1102c8[_0x578892(0xd6)][_0x578892(0x264)]:return _0x578892(0xe3);case _0x1102c8[_0x578892(0xd6)][_0x578892(0x122)]:case _0x1102c8['CollaborationStatus'][_0x578892(0x153)]:return _0x578892(0x251);}}function _0x113c68(_0x537bc3){const _0x1bd37b=_0x258f24,{status$:_0x2cee91}=_0x537bc3,_0x1ea84c=_0x38cf24[_0x1bd37b(0xe0)](_0x2cee91,_0x1102c8['CollaborationStatus'][_0x1bd37b(0x7d)]),_0x43066d=_0x38cf24[_0x1bd37b(0x82)](_0x3207a9[_0x1bd37b(0x15b)]),_0x5aa69a=_0x38cf24['useDependency'](_0x1102c8['CollaborationSessionService']),_0x53f849=_0x1ea84c!==_0x1102c8[_0x1bd37b(0xd6)]['OFFLINE'],_0x5cac3c=_0x43066d['t'](_0x3f6f79(_0x1ea84c)),_0x325850=_0x53f849?_0x23e649[_0x1bd37b(0x224)](_0x29b3d7,{}):_0x23e649[_0x1bd37b(0x224)](_0x5e9b56,{}),_0x28f664=_0x470d28[_0x1bd37b(0x183)](()=>{const _0x10e3c7=_0x1bd37b;_0x53f849||_0x5aa69a[_0x10e3c7(0x2c4)]();},[_0x53f849,_0x5aa69a]);function _0x7e4829(){const _0xc1874=_0x1bd37b;return _0x23e649[_0xc1874(0x1af)](_0xc1874(0x15a),{'className':_0xc1874(0x303),'onClick':_0x28f664,'children':[_0x23e649['jsx'](_0xc1874(0x15a),{'className':_0x28722d['clsx']('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x53f849?_0xc1874(0x1a8):'univer-text-red-500'),'children':_0x325850}),_0x23e649[_0xc1874(0x224)](_0xc1874(0x15a),{'className':'univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','children':_0x5cac3c})]});}return _0x53f849?_0x7e4829():_0x23e649[_0x1bd37b(0x224)](_0x28722d['Tooltip'],{'title':_0x43066d['t']('collab-client.tooltip.reconnect'),'children':_0x7e4829()});}var _0x5acc5f=Object[_0x258f24(0x26f)],_0x23acfb=(_0x1d9c1d,_0x36cb08,_0xf110a0,_0x2c3d80)=>{const _0x3b6ba2=_0x258f24;for(var _0x573b74=_0x2c3d80>0x1?void 0x0:_0x2c3d80?_0x5acc5f(_0x36cb08,_0xf110a0):_0x36cb08,_0x3c69f3=_0x1d9c1d[_0x3b6ba2(0x2ee)]-0x1,_0x3751af;_0x3c69f3>=0x0;_0x3c69f3--)(_0x3751af=_0x1d9c1d[_0x3c69f3])&&(_0x573b74=_0x3751af(_0x573b74)||_0x573b74);return _0x573b74;},_0xc4acb1=(_0xaf14c7,_0x4b24ea)=>(_0x355e58,_0x3a4c6f)=>_0x4b24ea(_0x355e58,_0x3a4c6f,_0xaf14c7);_0x3bccaa[_0x258f24(0x28b)]=class extends _0x3207a9[_0x258f24(0x17e)]{constructor(_0x5f176b,_0x3021b5,_0x1cb3ce,_0xcdb13b){const _0x2c15f3=_0x258f24;super(),_0x1a27fd(this,_0x2c15f3(0x1c5),new _0xd000e2[(_0x2c15f3(0x1ed))](_0x1102c8['CollaborationStatus'][_0x2c15f3(0x7d)])),(this['_univerInstanceService']=_0x5f176b,this[_0x2c15f3(0xfe)]=_0x3021b5,this[_0x2c15f3(0x194)]=_0x1cb3ce,this[_0x2c15f3(0x19f)]=_0xcdb13b,this[_0x2c15f3(0x2cf)](),this['_initStatusListener']());}[_0x258f24(0x188)](){const _0x269d64=_0x258f24;this[_0x269d64(0x146)](this[_0x269d64(0x29f)]['focused$'][_0x269d64(0xc8)](_0xd000e2[_0x269d64(0x12c)](()=>{const _0x13d2d6=_0x269d64,_0xec94a6=this['_univerInstanceService'][_0x13d2d6(0xf1)]();return _0xec94a6?this[_0x13d2d6(0x194)][_0x13d2d6(0xdf)](_0xec94a6[_0x13d2d6(0x266)]()):_0xd000e2['of'](null);}),_0xd000e2[_0x269d64(0x12c)](_0x3b2c2b=>_0x3b2c2b?_0x3b2c2b[_0x269d64(0xbe)]:_0xd000e2['of'](_0x1102c8[_0x269d64(0xd6)][_0x269d64(0x7d)])))[_0x269d64(0x185)](_0xa6bdcf=>{const _0x3af3f1=_0x269d64;this[_0x3af3f1(0x1c5)][_0x3af3f1(0x14b)](_0xa6bdcf);}));}[_0x258f24(0x2cf)](){const _0x169732=_0x258f24;this[_0x169732(0x146)](this['_uiPartsService'][_0x169732(0x30f)](_0x38cf24[_0x169732(0xd7)]['HEADER_MENU'],()=>_0x38cf24[_0x169732(0x118)](_0x439de4({'status$':this[_0x169732(0x1c5)]['asObservable']()}),this[_0x169732(0xfe)])));}},_0x3bccaa[_0x258f24(0x28b)]=_0x23acfb([_0xc4acb1(0x0,_0x3207a9[_0x258f24(0x18d)]),_0xc4acb1(0x1,_0x3207a9[_0x258f24(0x1cc)](_0x3207a9['Injector'])),_0xc4acb1(0x2,_0x3207a9[_0x258f24(0x1cc)](_0x1102c8[_0x258f24(0x242)])),_0xc4acb1(0x3,_0x38cf24['IUIPartsService'])],_0x3bccaa[_0x258f24(0x28b)]);function _0x439de4(_0x2131ee){const {status$:_0x401156}=_0x2131ee;return function(){const _0x42efe3=_0x201c;return _0x23e649[_0x42efe3(0x224)](_0x113c68,{'status$':_0x401156});};}var _0x22290f=Object[_0x258f24(0x26f)],_0x472811=(_0x202292,_0x24d6ba,_0x166da4,_0x582540)=>{const _0x1db8f3=_0x258f24;for(var _0xe25dee=_0x582540>0x1?void 0x0:_0x582540?_0x22290f(_0x24d6ba,_0x166da4):_0x24d6ba,_0x4d4139=_0x202292[_0x1db8f3(0x2ee)]-0x1,_0x30fb6c;_0x4d4139>=0x0;_0x4d4139--)(_0x30fb6c=_0x202292[_0x4d4139])&&(_0xe25dee=_0x30fb6c(_0xe25dee)||_0xe25dee);return _0xe25dee;},_0x16d826=(_0x1a6480,_0x37c96c)=>(_0x4f2949,_0x51d569)=>_0x37c96c(_0x4f2949,_0x51d569,_0x1a6480);let _0x22d051=class extends _0x3207a9[_0x258f24(0x17e)]{constructor(_0x457a99,_0x453dd9,_0x3964a2,_0x2b4233,_0x54e119,_0x357fed){const _0x196217=_0x258f24;super(),this['_beforeCloseService']=_0x457a99,this[_0x196217(0x140)]=_0x453dd9,this['_collaborationUIEventService']=_0x3964a2,this['_messageService']=_0x2b4233,this['_notificationService']=_0x54e119,this[_0x196217(0x28e)]=_0x357fed,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x258f24(0x2e8)](){const _0xce8506=_0x258f24;this[_0xce8506(0x146)](this['_beforeCloseService'][_0xce8506(0x2db)](()=>{const _0xa2a3af=_0xce8506;if(this[_0xa2a3af(0x140)][_0xa2a3af(0x298)][_0xa2a3af(0x106)])return this[_0xa2a3af(0x28e)]['t'](_0xa2a3af(0xed));}));}[_0x258f24(0xe7)](){const _0x3a6776=_0x258f24;this[_0x3a6776(0x146)](this[_0x3a6776(0xf9)][_0x3a6776(0x180)][_0x3a6776(0x185)](_0x2db256=>{const _0x59bbbc=_0x3a6776;_0x2db256['id']===_0x1102c8[_0x59bbbc(0x8b)][_0x59bbbc(0x2b9)]&&this[_0x59bbbc(0xba)][_0x59bbbc(0x2fb)]({'type':_0x28722d['MessageType'][_0x59bbbc(0x13f)],'content':this[_0x59bbbc(0x28e)]['t'](_0x59bbbc(0x253))}),_0x2db256['id']===_0x1102c8[_0x59bbbc(0x8b)][_0x59bbbc(0x14c)]&&this['_messageService'][_0x59bbbc(0x2fb)]({'type':_0x28722d[_0x59bbbc(0x114)][_0x59bbbc(0x13f)],'content':this[_0x59bbbc(0x28e)]['t'](_0x59bbbc(0xf8))}),_0x2db256['id']===_0x1102c8[_0x59bbbc(0x8b)][_0x59bbbc(0x16d)]&&this[_0x59bbbc(0xae)][_0x59bbbc(0x2fb)]({'title':this[_0x59bbbc(0x28e)]['t'](_0x59bbbc(0x1b9)),'content':this[_0x59bbbc(0x28e)]['t']('permission.content'),'type':_0x59bbbc(0x18b),'duration':0x0}),_0x2db256['id']===_0x1102c8[_0x59bbbc(0x8b)][_0x59bbbc(0x204)]&&this[_0x59bbbc(0xba)][_0x59bbbc(0x2fb)]({'type':_0x28722d[_0x59bbbc(0x114)]['Error'],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x2db256[_0x59bbbc(0x1f7)]+')'}),_0x2db256['id']===_0x1102c8['CollaborationUIEventId'][_0x59bbbc(0x21a)]&&this[_0x59bbbc(0xba)][_0x59bbbc(0x2fb)]({'type':_0x28722d[_0x59bbbc(0x114)]['Warning'],'content':this[_0x59bbbc(0x28e)]['t'](_0x2db256[_0x59bbbc(0x1f7)]||'')}),_0x2db256['id']===_0x1102c8[_0x59bbbc(0x8b)][_0x59bbbc(0x1f2)]&&this[_0x59bbbc(0xba)][_0x59bbbc(0x2fb)]({'type':_0x28722d[_0x59bbbc(0x114)]['Warning'],'content':this[_0x59bbbc(0x28e)]['t'](_0x59bbbc(0x2f6))}),_0x2db256['id']===_0x1102c8[_0x59bbbc(0x8b)][_0x59bbbc(0x138)]&&this[_0x59bbbc(0xba)][_0x59bbbc(0x2fb)]({'type':_0x28722d[_0x59bbbc(0x114)][_0x59bbbc(0x169)],'content':this['_localeService']['t'](_0x59bbbc(0xd3))}),_0x2db256['id']===_0x1102c8['CollaborationUIEventId'][_0x59bbbc(0x273)]&&this['_messageService'][_0x59bbbc(0x2fb)]({'type':_0x28722d['MessageType'][_0x59bbbc(0x169)],'content':this[_0x59bbbc(0x28e)]['t']('session.collaboration-timeout')});}));}};_0x22d051=_0x472811([_0x16d826(0x0,_0x38cf24['IBeforeCloseService']),_0x16d826(0x1,_0x1102c8[_0x258f24(0x1f8)]),_0x16d826(0x2,_0x3207a9[_0x258f24(0x1cc)](_0x1102c8['CollaborationUIEventService'])),_0x16d826(0x3,_0x38cf24[_0x258f24(0x196)]),_0x16d826(0x4,_0x38cf24[_0x258f24(0x13a)]),_0x16d826(0x5,_0x3207a9[_0x258f24(0x1cc)](_0x3207a9[_0x258f24(0x15b)]))],_0x22d051);const _0x130095='collaboration-client-ui.config',_0x2a9b11={},_0x3a5050=_0x3207a9[_0x258f24(0x25d)](_0x258f24(0x1a1));var _0xda1f4c=Object[_0x258f24(0x26f)],_0x2d4a63=(_0x3e41c9,_0x43e399,_0x5b7f72,_0x54d795)=>{const _0x264e7c=_0x258f24;for(var _0x3f649e=_0x54d795>0x1?void 0x0:_0x54d795?_0xda1f4c(_0x43e399,_0x5b7f72):_0x43e399,_0x4904a2=_0x3e41c9[_0x264e7c(0x2ee)]-0x1,_0x178720;_0x4904a2>=0x0;_0x4904a2--)(_0x178720=_0x3e41c9[_0x4904a2])&&(_0x3f649e=_0x178720(_0x3f649e)||_0x3f649e);return _0x3f649e;},_0xc974de=(_0x57637d,_0x5baa8a)=>(_0x45c283,_0x46b4e9)=>_0x5baa8a(_0x45c283,_0x46b4e9,_0x57637d);_0x3bccaa[_0x258f24(0x17c)]=class extends _0x3207a9[_0x258f24(0x245)]{constructor(_0x269048,_0x9c500d,_0x2e3b05,_0xc91f0e,_0xda6289){const _0x1e7fad=_0x258f24;super(),this['_urlService']=_0x269048,this[_0x1e7fad(0x156)]=_0x9c500d,this[_0x1e7fad(0x1b1)]=_0x2e3b05,this[_0x1e7fad(0xe4)]=_0xc91f0e,_0xda6289?_0xda6289==null||_0xda6289['whenReady']()[_0x1e7fad(0x276)](()=>this[_0x1e7fad(0x154)]()):(this[_0x1e7fad(0x156)][_0x1e7fad(0x22b)](_0x1e7fad(0xb4),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x258f24(0x154)](){const _0x4a88f8=_0x258f24,_0x1794a5=this[_0x4a88f8(0xe6)][_0x4a88f8(0xdd)](_0x4a88f8(0x2c3)),_0x273a73=this[_0x4a88f8(0xe6)][_0x4a88f8(0xdd)](_0x4a88f8(0x2e1)),_0x4ba190=this[_0x4a88f8(0xe6)]['getParam']('subunit');if(!_0x1794a5||!_0x273a73){this['_logService'][_0x4a88f8(0x22b)](_0x4a88f8(0xb4),_0x4a88f8(0xf3));return;}const _0x137a3d=await this[_0x4a88f8(0xe4)][_0x4a88f8(0x256)](_0x1794a5,Number(_0x273a73),_0x4ba190);_0x137a3d&&_0x137a3d instanceof _0x3207a9[_0x4a88f8(0x1ea)]&&this['_setupSubUnitSync'](_0x137a3d);}async[_0x258f24(0x83)](_0x407a7a){const _0x3376a6=_0x258f24;await this[_0x3376a6(0x28c)](_0x407a7a),_0x407a7a[_0x3376a6(0x1ee)][_0x3376a6(0xc8)](_0xd000e2[_0x3376a6(0x1da)](this[_0x3376a6(0x220)]))[_0x3376a6(0x185)](_0x37586a=>{const _0x1c17eb=_0x3376a6;_0x37586a&&this[_0x1c17eb(0x150)](_0x37586a);}),this[_0x3376a6(0xe6)][_0x3376a6(0x15d)][_0x3376a6(0xc8)](_0xd000e2[_0x3376a6(0x1da)](this[_0x3376a6(0x220)]))[_0x3376a6(0x185)](()=>this[_0x3376a6(0x28c)](_0x407a7a));}[_0x258f24(0x150)](_0x492987,_0x1e3891=!0x1){const _0x1e6426=_0x258f24,_0x645346=this[_0x1e6426(0xe6)][_0x1e6426(0xdd)](_0x1e6426(0x244));_0x492987[_0x1e6426(0x1fc)]()!==_0x645346&&this[_0x1e6426(0xe6)][_0x1e6426(0x109)](_0x1e6426(0x244),_0x492987[_0x1e6426(0x1fc)](),_0x1e3891);}async['_updateSubUnitFromURLParams'](_0x4b36c6){const _0x5325aa=_0x258f24;var _0x5086de;const _0x3fe76d=this['_urlService'][_0x5325aa(0xdd)](_0x5325aa(0x244));if(!_0x3fe76d||!_0x4b36c6[_0x5325aa(0x11d)](_0x3fe76d)){const _0x12ce52=_0x4b36c6[_0x5325aa(0x1e7)]()[0x0],_0x6e68a0=_0x4b36c6[_0x5325aa(0x11d)](_0x12ce52);if(!_0x6e68a0)return;this[_0x5325aa(0x150)](_0x6e68a0,!0x0),await this[_0x5325aa(0x1b1)][_0x5325aa(0x124)](_0x4a8ed5[_0x5325aa(0x15e)]['id'],{'unitId':_0x4b36c6['getUnitId'](),'subUnitId':_0x12ce52});return;}((_0x5086de=_0x4b36c6['getActiveSheet']())==null?void 0x0:_0x5086de[_0x5325aa(0x1fc)]())!==_0x3fe76d&&await this[_0x5325aa(0x1b1)][_0x5325aa(0x124)](_0x4a8ed5[_0x5325aa(0x15e)]['id'],{'unitId':_0x4b36c6[_0x5325aa(0x266)](),'subUnitId':_0x3fe76d});}},_0x3bccaa[_0x258f24(0x17c)]=_0x2d4a63([_0xc974de(0x0,_0x3a5050),_0xc974de(0x1,_0x3207a9[_0x258f24(0x16e)]),_0xc974de(0x2,_0x3207a9[_0x258f24(0x105)]),_0xc974de(0x3,_0x3207a9[_0x258f24(0x1cc)](_0x1102c8[_0x258f24(0x104)])),_0xc974de(0x4,_0x3207a9[_0x258f24(0x93)](_0x5c4095['IRemoteInstanceService']))],_0x3bccaa[_0x258f24(0x17c)]);var _0x5bf778=Object[_0x258f24(0x26f)],_0x2c52cb=(_0x41ebae,_0x57a98f,_0xcf95ad,_0x278142)=>{for(var _0x502696=_0x278142>0x1?void 0x0:_0x278142?_0x5bf778(_0x57a98f,_0xcf95ad):_0x57a98f,_0x2e23d8=_0x41ebae['length']-0x1,_0x3016c1;_0x2e23d8>=0x0;_0x2e23d8--)(_0x3016c1=_0x41ebae[_0x2e23d8])&&(_0x502696=_0x3016c1(_0x502696)||_0x502696);return _0x502696;},_0x143230=(_0x33808e,_0x240b42)=>(_0x5daffa,_0x46361b)=>_0x240b42(_0x5daffa,_0x46361b,_0x33808e);let _0x264a79=class{constructor(_0x301c8b,_0x16a2ed,_0xc8370a){const _0x234409=_0x258f24;this['_injector']=_0x301c8b,this[_0x234409(0x30b)]=_0x16a2ed,this[_0x234409(0x240)]=_0xc8370a;}[_0x258f24(0x187)](_0x1154fe){const _0x4aeaef=_0x258f24;this['_transformUndoRedoStack'](_0x1154fe),this[_0x4aeaef(0x120)](_0x1154fe);}[_0x258f24(0x2da)](_0x57f839){const _0x4c9ac6=_0x258f24,{unitID:_0x1ba62e}=_0x57f839,_0x3f2489=this['_renderManagerService'][_0x4c9ac6(0x103)](_0x1ba62e)[_0x4c9ac6(0x1e4)](_0xcfa6df['DocIMEInputManagerService']),{redoCache:_0x47741e}=_0x3f2489[_0x4c9ac6(0x20c)]();if(_0x47741e['length']===0x0)return _0x57f839;let _0xeed11a=_0x3207a9[_0x4c9ac6(0x310)][_0x4c9ac6(0x147)](_0x57f839[_0x4c9ac6(0x129)][0x0]);for(let _0x178696=0x0;_0x178696<_0x47741e[_0x4c9ac6(0x2ee)];_0x178696++){const _0x3de1ba={'id':_0x4c9ac6(0x215),'params':{..._0x47741e[_0x178696]}},_0x2fb369=this['_transformService'][_0x4c9ac6(0x11f)](_0xeed11a,_0x3de1ba,!0x1);if(_0x3e7a87[_0x4c9ac6(0xb9)](_0x2fb369))throw _0x2fb369['error'];_0xeed11a=_0x2fb369[_0x4c9ac6(0x2cb)];}return{..._0x3207a9[_0x4c9ac6(0x310)][_0x4c9ac6(0x147)](_0x57f839),'mutations':[_0xeed11a]};}['_transformUndoRedoStack'](_0x2d5819){const _0x15d443=_0x258f24,{unitID:_0x8973d2}=_0x2d5819,_0x48c7b6=this[_0x15d443(0x240)][_0x15d443(0x103)](_0x8973d2)[_0x15d443(0x1e4)](_0xcfa6df[_0x15d443(0x20e)]),{undoCache:_0x1f64ed,redoCache:_0x25f588}=_0x48c7b6['getUndoRedoMutationParamsCache']();if(_0x1f64ed[_0x15d443(0x2ee)]===0x0||_0x25f588[_0x15d443(0x2ee)]===0x0)return;const _0x1aaa34=[],_0x3628f9=[];let _0x353932=_0x3207a9[_0x15d443(0x310)][_0x15d443(0x147)](_0x2d5819['mutations'][0x0]),_0x19bab1=_0x3207a9['Tools'][_0x15d443(0x147)](_0x2d5819['mutations'][0x0]);for(let _0x246c2f=_0x1f64ed['length']-0x1;_0x246c2f>=0x0;_0x246c2f--){const _0xb85ac9={'id':_0x15d443(0x215),'params':{..._0x1f64ed[_0x246c2f]}},_0x48d270={'id':_0x15d443(0x215),'params':{..._0x25f588[_0x246c2f]}},_0x3338ba=this[_0x15d443(0x30b)][_0x15d443(0x11f)](_0x353932,_0xb85ac9,!0x1),_0xe7f354=this[_0x15d443(0x30b)]['transformMutation'](_0x19bab1,_0x48d270,!0x1);if(_0x3e7a87['isTransformMutationFailure'](_0x3338ba))throw _0x3338ba[_0x15d443(0x18b)];if(_0x3e7a87[_0x15d443(0xb9)](_0xe7f354))throw _0xe7f354['error'];_0x1aaa34[_0x15d443(0x1d4)](_0x3338ba[_0x15d443(0x1de)]['params']),_0x3628f9[_0x15d443(0x1d4)](_0xe7f354[_0x15d443(0x1de)][_0x15d443(0x1d0)]),_0x353932=_0x3338ba[_0x15d443(0x2cb)],_0x19bab1=_0xe7f354[_0x15d443(0x2cb)];}_0x48c7b6[_0x15d443(0x29b)]({'undoCache':_0x1aaa34,'redoCache':_0x3628f9});}[_0x258f24(0x120)](_0x5761b9){const _0x4b2c48=_0x258f24,{unitID:_0x582f76}=_0x5761b9,_0x272839=this[_0x4b2c48(0x240)]['getRenderById'](_0x582f76)[_0x4b2c48(0x1e4)](_0xcfa6df[_0x4b2c48(0x20e)]),_0x1f4121=_0x272839[_0x4b2c48(0x1a3)]();if(_0x1f4121==null)return;const _0x5e0317=[{'id':_0x4b2c48(0x215),'params':{'unitId':_0x5761b9[_0x4b2c48(0x299)],'actions':null,'textRanges':[_0x1f4121]}}],_0x3317f9=this['_transformService'][_0x4b2c48(0x283)](_0x5761b9,_0x5e0317);if(!_0x3e7a87[_0x4b2c48(0x25c)](_0x3317f9))throw _0x3317f9[_0x4b2c48(0x18b)];const _0x28595e=_0x3317f9[_0x4b2c48(0x1de)][0x0]['params'][_0x4b2c48(0x23c)];Array['isArray'](_0x28595e)&&_0x28595e[_0x4b2c48(0x2ee)]&&_0x272839['setActiveRange'](_0x28595e[0x0]);}};_0x264a79=_0x2c52cb([_0x143230(0x0,_0x3207a9[_0x258f24(0x1cc)](_0x3207a9['Injector'])),_0x143230(0x1,_0x3e7a87[_0x258f24(0x116)]),_0x143230(0x2,_0x2e888c[_0x258f24(0x12b)])],_0x264a79);var _0x469603=Object[_0x258f24(0x26f)],_0x12042a=(_0x3280ae,_0x328887,_0x3baf99,_0x96a4bf)=>{const _0x2150a2=_0x258f24;for(var _0x590150=_0x96a4bf>0x1?void 0x0:_0x96a4bf?_0x469603(_0x328887,_0x3baf99):_0x328887,_0x32e246=_0x3280ae[_0x2150a2(0x2ee)]-0x1,_0x55539f;_0x32e246>=0x0;_0x32e246--)(_0x55539f=_0x3280ae[_0x32e246])&&(_0x590150=_0x55539f(_0x590150)||_0x590150);return _0x590150;},_0x5ca7eb=(_0x16e4f6,_0x2348b2)=>(_0x327155,_0x11e3be)=>_0x2348b2(_0x327155,_0x11e3be,_0x16e4f6);let _0x52344d=class{constructor(_0x363c58,_0x37861c,_0x5eaa89){const _0x18ed50=_0x258f24;this[_0x18ed50(0xfe)]=_0x363c58,this[_0x18ed50(0x30b)]=_0x37861c,this[_0x18ed50(0x1c4)]=_0x5eaa89;}[_0x258f24(0x1aa)](_0x272c72){const _0x27d20c=_0x258f24;this[_0x27d20c(0x27f)](_0x272c72);}[_0x258f24(0x2da)](_0x418e38){const _0x121316=_0x258f24,{unitID:_0x3b4f93}=_0x418e38,{collaboration:_0x3b2c63}=this[_0x121316(0x1c4)]['getStateCache'](_0x3b4f93);if(_0x3b2c63[_0x121316(0x2ee)]===0x0)return _0x418e38;let _0x3bcfd2=_0x3207a9['Tools'][_0x121316(0x147)](_0x418e38[_0x121316(0x129)][0x0]);for(let _0x172276=0x0;_0x172276<_0x3b2c63[_0x121316(0x2ee)];_0x172276++){const _0x3d9e0b={'id':_0x121316(0x215),'params':{'unitId':_0x3b2c63[_0x172276][_0x121316(0xfc)],..._0x3b2c63[_0x172276]['redoState']}},_0x379225=this[_0x121316(0x30b)][_0x121316(0x11f)](_0x3bcfd2,_0x3d9e0b,!0x1);if(_0x3e7a87[_0x121316(0xb9)](_0x379225))throw _0x379225['error'];_0x3bcfd2=_0x379225[_0x121316(0x2cb)];}return{..._0x3207a9[_0x121316(0x310)]['deepClone'](_0x418e38),'mutations':[_0x3bcfd2]};}['_transformHistoryAndStateStack'](_0x23ba97){const _0x1d91cc=_0x258f24,{unitID:_0x20caef}=_0x23ba97,{history:_0xab3b70,collaboration:_0x41986c}=this['_docStateChangeManagerService']['getStateCache'](_0x20caef);if(_0xab3b70['length']===0x0&&_0x41986c[_0x1d91cc(0x2ee)]===0x0)return;const _0x4d5eac=[],_0x33c45b=[];let _0x4b7dd4=_0x3207a9[_0x1d91cc(0x310)][_0x1d91cc(0x147)](_0x23ba97[_0x1d91cc(0x129)][0x0]),_0x24dfea=_0x3207a9[_0x1d91cc(0x310)]['deepClone'](_0x23ba97[_0x1d91cc(0x129)][0x0]);for(let _0x33b0bd=_0xab3b70[_0x1d91cc(0x2ee)]-0x1;_0x33b0bd>=0x0;_0x33b0bd--){const _0x19c229={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xab3b70[_0x33b0bd]['unitId'],..._0xab3b70[_0x33b0bd][_0x1d91cc(0x162)]}},_0x258473={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xab3b70[_0x33b0bd]['unitId'],..._0xab3b70[_0x33b0bd][_0x1d91cc(0x2ca)]}},_0x6f0aeb=this['_transformService'][_0x1d91cc(0x11f)](_0x4b7dd4,_0x19c229,!0x1),_0x4d9536=this['_transformService']['transformMutation'](_0x24dfea,_0x258473,!0x1);if(_0x3e7a87[_0x1d91cc(0xb9)](_0x6f0aeb))throw _0x6f0aeb[_0x1d91cc(0x18b)];if(_0x3e7a87[_0x1d91cc(0xb9)](_0x4d9536))throw _0x4d9536[_0x1d91cc(0x18b)];_0x4d5eac[_0x1d91cc(0x1d4)]({..._0xab3b70[_0x33b0bd],'undoState':_0x6f0aeb['m2Prime'][_0x1d91cc(0x1d0)],'redoState':_0x4d9536[_0x1d91cc(0x1de)][_0x1d91cc(0x1d0)]}),_0x4b7dd4=_0x6f0aeb[_0x1d91cc(0x2cb)],_0x24dfea=_0x4d9536[_0x1d91cc(0x2cb)];}_0x4b7dd4=_0x3207a9[_0x1d91cc(0x310)][_0x1d91cc(0x147)](_0x23ba97[_0x1d91cc(0x129)][0x0]),_0x24dfea=_0x3207a9['Tools'][_0x1d91cc(0x147)](_0x23ba97[_0x1d91cc(0x129)][0x0]);for(let _0x42a87e=_0x41986c[_0x1d91cc(0x2ee)]-0x1;_0x42a87e>=0x0;_0x42a87e--){const _0x398d6d={'id':_0x1d91cc(0x215),'params':{'unitId':_0x41986c[_0x42a87e]['unitId'],..._0x41986c[_0x42a87e][_0x1d91cc(0x162)]}},_0x433d72={'id':_0x1d91cc(0x215),'params':{'unitId':_0x41986c[_0x42a87e][_0x1d91cc(0xfc)],..._0x41986c[_0x42a87e][_0x1d91cc(0x2ca)]}},_0x5e705b=this['_transformService']['transformMutation'](_0x4b7dd4,_0x398d6d,!0x1),_0x494f51=this[_0x1d91cc(0x30b)][_0x1d91cc(0x11f)](_0x24dfea,_0x433d72,!0x1);if(_0x3e7a87[_0x1d91cc(0xb9)](_0x5e705b))throw _0x5e705b[_0x1d91cc(0x18b)];if(_0x3e7a87[_0x1d91cc(0xb9)](_0x494f51))throw _0x494f51[_0x1d91cc(0x18b)];_0x33c45b[_0x1d91cc(0x1d4)]({..._0x41986c[_0x42a87e],'undoState':_0x5e705b['m2Prime'][_0x1d91cc(0x1d0)],'redoState':_0x494f51[_0x1d91cc(0x1de)][_0x1d91cc(0x1d0)]}),_0x4b7dd4=_0x5e705b[_0x1d91cc(0x2cb)],_0x24dfea=_0x494f51['m1Prime'];}this[_0x1d91cc(0x1c4)]['setStateCache'](_0x20caef,{'history':_0x4d5eac,'collaboration':_0x33c45b});}};_0x52344d=_0x12042a([_0x5ca7eb(0x0,_0x3207a9[_0x258f24(0x1cc)](_0x3207a9[_0x258f24(0x173)])),_0x5ca7eb(0x1,_0x3e7a87['ITransformService']),_0x5ca7eb(0x2,_0x3207a9['Inject'](_0xcfa6df[_0x258f24(0x2e4)]))],_0x52344d);var _0x288a70=Object[_0x258f24(0x26f)],_0x4d9958=(_0x65fd1d,_0x446e67,_0x4e4a61,_0x493a85)=>{for(var _0x10c42e=_0x493a85>0x1?void 0x0:_0x493a85?_0x288a70(_0x446e67,_0x4e4a61):_0x446e67,_0x1a982d=_0x65fd1d['length']-0x1,_0x3c605c;_0x1a982d>=0x0;_0x1a982d--)(_0x3c605c=_0x65fd1d[_0x1a982d])&&(_0x10c42e=_0x3c605c(_0x10c42e)||_0x10c42e);return _0x10c42e;},_0x5bd03e=(_0x937470,_0x29fae0)=>(_0x36d421,_0x4961cc)=>_0x29fae0(_0x36d421,_0x4961cc,_0x937470);let _0x2f2133=class{constructor(_0x31194d,_0x4b14d6){const _0x3d3ab5=_0x258f24;this[_0x3d3ab5(0xfe)]=_0x31194d,this[_0x3d3ab5(0x30b)]=_0x4b14d6;}[_0x258f24(0x128)](_0x50fe32){const _0x3058e4=_0x258f24;var _0x4bea57;const _0x268fde=this[_0x3058e4(0xfe)]['get'](_0xca2427[_0x3058e4(0x1a6)]),_0x377394=(_0x4bea57=_0x268fde[_0x3058e4(0xa4)]())!=null?_0x4bea57:[];if(_0x377394['length']===0x0)return;const _0x56e7b3=_0x50fe32[_0x3058e4(0x299)],_0x3793bb=[{'id':_0x3058e4(0x215),'params':{'unitId':_0x56e7b3,'actions':null,'textRanges':_0x377394}}],_0x38e40a=this[_0x3058e4(0x30b)][_0x3058e4(0x283)](_0x50fe32,_0x3793bb);if(!_0x3e7a87[_0x3058e4(0x25c)](_0x38e40a))throw _0x38e40a[_0x3058e4(0x18b)];const _0x556e1a=_0x38e40a['m2Prime'][0x0][_0x3058e4(0x1d0)]['textRanges'];Array[_0x3058e4(0x12f)](_0x556e1a)&&_0x556e1a[_0x3058e4(0x2ee)]&&_0x268fde[_0x3058e4(0x26a)](_0x556e1a,{'unitId':_0x56e7b3,'subUnitId':_0x56e7b3},!0x1);}};_0x2f2133=_0x4d9958([_0x5bd03e(0x0,_0x3207a9[_0x258f24(0x1cc)](_0x3207a9[_0x258f24(0x173)])),_0x5bd03e(0x1,_0x3e7a87['ITransformService'])],_0x2f2133);var _0x5dc4cf=Object[_0x258f24(0x26f)],_0x4136ee=(_0x591e67,_0x484269,_0x332b37,_0xbe7ae8)=>{const _0x57b824=_0x258f24;for(var _0xb1a3fa=_0xbe7ae8>0x1?void 0x0:_0xbe7ae8?_0x5dc4cf(_0x484269,_0x332b37):_0x484269,_0xd8c438=_0x591e67[_0x57b824(0x2ee)]-0x1,_0xc95ec6;_0xd8c438>=0x0;_0xd8c438--)(_0xc95ec6=_0x591e67[_0xd8c438])&&(_0xb1a3fa=_0xc95ec6(_0xb1a3fa)||_0xb1a3fa);return _0xb1a3fa;},_0x23c2ea=(_0x19d888,_0xc58678)=>(_0x187ea6,_0x5532fb)=>_0xc58678(_0x187ea6,_0x5532fb,_0x19d888);let _0x5193dd=class extends _0x3207a9[_0x258f24(0x17e)]{constructor(_0x4aae51,_0x1034ff,_0x4afb43,_0x37ee32,_0x423aaf,_0x5df48c,_0x401f52,_0x5e6efc){const _0x1b43d2=_0x258f24;super(),_0x1a27fd(this,_0x1b43d2(0x1c5),new _0xd000e2[(_0x1b43d2(0x1ed))](_0x1102c8['CollaborationStatus']['NOT_COLLAB'])),(this[_0x1b43d2(0x1c4)]=_0x4aae51,this[_0x1b43d2(0x194)]=_0x1034ff,this['_docTransformIMECacheService']=_0x4afb43,this[_0x1b43d2(0x14e)]=_0x37ee32,this[_0x1b43d2(0x142)]=_0x423aaf,this[_0x1b43d2(0x98)]=_0x5df48c,this[_0x1b43d2(0xba)]=_0x401f52,this['_localeService']=_0x5e6efc,this[_0x1b43d2(0xda)]());}[_0x258f24(0xda)](){const _0x54834f=_0x258f24;this['disposeWithMe'](this[_0x54834f(0x194)][_0x54834f(0x20d)]['subscribe'](_0x715a44=>{const _0x16c892=_0x54834f,_0x2b8014=this[_0x16c892(0x1c4)]['docStateChange$'][_0x16c892(0x185)](_0x354870=>{const _0x2a7c38=_0x16c892;if(_0x354870==null)return;const {unitId:_0x2a9b6a,redoState:_0x1ab200,commandId:_0x5c6935}=_0x354870;if(_0x2a9b6a!==_0x715a44['unitID'])return;const _0x8c6881={'id':_0x5c6935,'type':_0x3207a9[_0x2a7c38(0x288)]['MUTATION'],'params':{'unitId':_0x2a9b6a,'actions':_0x1ab200[_0x2a7c38(0x16f)],'textRanges':null}};_0x715a44[_0x2a7c38(0x21e)](_0x8c6881);});if(_0x715a44[_0x16c892(0x146)](_0x2b8014),_0x715a44 instanceof _0x1102c8[_0x16c892(0x12a)]){const _0x35e113={'onTransformIME':_0x5b44c0=>this[_0x16c892(0x2ab)][_0x16c892(0x187)](_0x5b44c0),'onTransformState':_0xe32db0=>this[_0x16c892(0x14e)]['transformStateCache'](_0xe32db0),'onTransformSelections':_0x835beb=>this[_0x16c892(0x142)][_0x16c892(0x128)](_0x835beb),'onSyncEditingCollabCursor':_0x6172b4=>this[_0x16c892(0x98)][_0x16c892(0x7c)](_0x6172b4),'onTransformRemoteChangesetByIMECache':_0xcdcb50=>this[_0x16c892(0x2ab)]['transformRemoteChangeset'](_0xcdcb50),'onTransformRemoteChangesetByStateCache':_0x3c4658=>this['_docTransformStateCacheService'][_0x16c892(0x2da)](_0x3c4658)};_0x715a44['addHandlerCallback'](_0x35e113);}}));}};_0x5193dd=_0x4136ee([_0x23c2ea(0x0,_0x3207a9[_0x258f24(0x1cc)](_0xcfa6df[_0x258f24(0x2e4)])),_0x23c2ea(0x1,_0x3207a9[_0x258f24(0x1cc)](_0x1102c8['CollaborationController'])),_0x23c2ea(0x2,_0x3207a9[_0x258f24(0x1cc)](_0x264a79)),_0x23c2ea(0x3,_0x3207a9[_0x258f24(0x1cc)](_0x52344d)),_0x23c2ea(0x4,_0x3207a9[_0x258f24(0x1cc)](_0x2f2133)),_0x23c2ea(0x5,_0x3207a9[_0x258f24(0x1cc)](_0x2062f0)),_0x23c2ea(0x6,_0x38cf24[_0x258f24(0x196)]),_0x23c2ea(0x7,_0x3207a9['Inject'](_0x3207a9[_0x258f24(0x15b)]))],_0x5193dd);var _0x5318cc=Object['getOwnPropertyDescriptor'],_0x327216=(_0x50d335,_0x29a9a4,_0x1f9dfd,_0x13b024)=>{for(var _0x5ca995=_0x13b024>0x1?void 0x0:_0x13b024?_0x5318cc(_0x29a9a4,_0x1f9dfd):_0x29a9a4,_0x332ba2=_0x50d335['length']-0x1,_0x2a0c5f;_0x332ba2>=0x0;_0x332ba2--)(_0x2a0c5f=_0x50d335[_0x332ba2])&&(_0x5ca995=_0x2a0c5f(_0x5ca995)||_0x5ca995);return _0x5ca995;},_0x20f252=(_0x5c641a,_0x2ddcfd)=>(_0x4807f4,_0x1c0fe9)=>_0x2ddcfd(_0x4807f4,_0x1c0fe9,_0x5c641a);let _0x1f8ab8=class extends _0x3207a9[_0x258f24(0x17e)]{constructor(_0x276877,_0x36ba8f,_0x150e58){const _0x464021=_0x258f24;super(),_0x1a27fd(this,_0x464021(0x2b6),new Map()),_0x1a27fd(this,'_saveTaskMap',new Map()),_0x1a27fd(this,_0x464021(0x262),!0x1),(this[_0x464021(0xc7)]=_0x276877,this[_0x464021(0x1b3)]=_0x36ba8f,this[_0x464021(0x2a6)]=_0x150e58);}[_0x258f24(0x1db)](){this['_disabled']=!0x0;}[_0x258f24(0x1b5)](){const _0x5d82ec=_0x258f24;this[_0x5d82ec(0x262)]=!0x1;}get[_0x258f24(0x298)](){const _0x400727=_0x258f24;return this[_0x400727(0x1b8)];}[_0x258f24(0x2f2)](){const _0x352bdd=_0x258f24;this['exhaustSavingTask']()[_0x352bdd(0x276)](()=>super[_0x352bdd(0x2f2)]());}async['loadOfflineData'](_0x313cbc){const _0x2d29fc=_0x258f24;return this[_0x2d29fc(0x262)]?null:this[_0x2d29fc(0x1b3)][_0x2d29fc(0x30c)](_0x1102c8[_0x2d29fc(0x9a)](_0x313cbc));}async[_0x258f24(0x1a0)](_0x397e8a,_0x3afea5){const _0x161d22=_0x258f24;return!!this[_0x161d22(0x1b3)][_0x161d22(0x1d5)](_0x397e8a,_0x3afea5);}[_0x258f24(0x14a)](_0x3f760d,_0xd626eb,_0xc366da,_0x4c02b0){const _0x8bc7f4=_0x258f24,_0x5376b6=this[_0x8bc7f4(0x2a6)]['getCurrentRevOfUnit'](_0x3f760d);this[_0x8bc7f4(0x2b6)]['set'](_0x3f760d,{'unitID':_0x3f760d,'type':_0xd626eb,'awaitingChangeset':_0xc366da,'mutations':_0x4c02b0,'rev':_0x5376b6}),this[_0x8bc7f4(0x1b8)][_0x8bc7f4(0x17b)](_0x3f760d)||this[_0x8bc7f4(0x2ba)](_0x3f760d);}[_0x258f24(0x2ba)](_0x2d3e43){const _0x173290=_0x258f24,_0x3c8988=this[_0x173290(0x2f1)]();_0x3c8988===0x0?this[_0x173290(0x171)](_0x2d3e43):this['_saveTaskMap'][_0x173290(0x2dc)](_0x2d3e43,setTimeout(()=>this[_0x173290(0x171)](_0x2d3e43),_0x3c8988));}[_0x258f24(0x2f1)](){const _0xe47f9c=_0x258f24;var _0x4fa808;return(_0x4fa808=this[_0xe47f9c(0xc7)][_0xe47f9c(0x2c9)](_0x1102c8[_0xe47f9c(0x117)]))!=null?_0x4fa808:_0x1102c8[_0xe47f9c(0x1fe)];}[_0x258f24(0x171)](_0x50f0da){const _0x3e85de=_0x258f24,_0x1bb11f=this[_0x3e85de(0x1b8)][_0x3e85de(0x1e9)](_0x50f0da);return _0x1bb11f!==void 0x0&&window[_0x3e85de(0x195)](_0x1bb11f),this[_0x3e85de(0x1b3)][_0x3e85de(0x1d5)](_0x1102c8[_0x3e85de(0x9a)](_0x50f0da),this[_0x3e85de(0x2b6)][_0x3e85de(0x1e9)](_0x50f0da))['then'](()=>this[_0x3e85de(0x1b8)][_0x3e85de(0x95)](_0x50f0da));}async[_0x258f24(0x2e2)](){const _0x6292c=_0x258f24,_0x49fb7f=[];this[_0x6292c(0x1b8)][_0x6292c(0x19c)]((_0x2c8ff7,_0x3cdfde)=>{const _0x31a630=_0x6292c;window[_0x31a630(0x195)](_0x2c8ff7),_0x49fb7f[_0x31a630(0x1ac)](this[_0x31a630(0x171)](_0x3cdfde)[_0x31a630(0x276)](()=>{const _0x3d01ce=_0x31a630;this[_0x3d01ce(0x1b8)][_0x3d01ce(0x95)](_0x3cdfde);}));}),await Promise[_0x6292c(0x2ad)](_0x49fb7f);}};_0x1f8ab8=_0x327216([_0x20f252(0x0,_0x3207a9[_0x258f24(0x99)]),_0x20f252(0x1,_0x3207a9[_0x258f24(0x191)]),_0x20f252(0x2,_0x3207a9[_0x258f24(0x1cc)](_0x3e7a87[_0x258f24(0xa7)]))],_0x1f8ab8);class _0x4c1e75 extends _0x3207a9['RxDisposable']{constructor(){const _0xd015d6=_0x258f24;super(),_0x1a27fd(this,'urlChange$'),this['urlChange$']=_0xd000e2[_0xd015d6(0x1ec)](window,_0xd015d6(0x1d1))[_0xd015d6(0xc8)](_0xd000e2[_0xd015d6(0x1da)](this['dispose$']),_0xd000e2[_0xd015d6(0x2c2)](0x1),_0xd000e2[_0xd015d6(0xb8)](void 0x0));}[_0x258f24(0x109)](_0x5e4667,_0x30121a,_0x8cf141=!0x1){const _0x15edae=_0x258f24,_0x548883=new URL(window[_0x15edae(0x20b)][_0x15edae(0x2ed)]);_0x548883[_0x15edae(0x2a8)]['set'](_0x5e4667,_0x30121a),_0x8cf141?window[_0x15edae(0x125)][_0x15edae(0x8f)]('','',_0x548883['toString']()):window[_0x15edae(0x125)][_0x15edae(0x234)]('','',_0x548883[_0x15edae(0x2b2)]());}[_0x258f24(0x306)](_0x336896,_0x255264=!0x1){const _0x3a8aab=_0x258f24,_0x438298=new URL(window[_0x3a8aab(0x20b)][_0x3a8aab(0x2ed)]);_0x438298[_0x3a8aab(0x2a8)][_0x3a8aab(0x95)](_0x336896),_0x255264?window[_0x3a8aab(0x125)][_0x3a8aab(0x8f)]('','',_0x438298[_0x3a8aab(0x2b2)]()):window[_0x3a8aab(0x125)][_0x3a8aab(0x234)]('','',_0x438298['toString']());}[_0x258f24(0xdd)](_0x3ac3a8){const _0x5265ea=_0x258f24;var _0x3cc719;return(_0x3cc719=new URL(window['location'][_0x5265ea(0x2ed)])[_0x5265ea(0x2a8)][_0x5265ea(0x1e9)](_0x3ac3a8))!=null?_0x3cc719:void 0x0;}}var _0x1d230d=Object[_0x258f24(0x2ce)],_0x9dd83b=Object[_0x258f24(0x26f)],_0x423b78=(_0x5cc75f,_0xa68dbf,_0x26621d)=>_0xa68dbf in _0x5cc75f?_0x1d230d(_0x5cc75f,_0xa68dbf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x26621d}):_0x5cc75f[_0xa68dbf]=_0x26621d,_0x2bafe6=(_0x196a67,_0x4d4679,_0x95e3b7,_0x57373e)=>{const _0x11e8aa=_0x258f24;for(var _0x5cbd97=_0x57373e>0x1?void 0x0:_0x57373e?_0x9dd83b(_0x4d4679,_0x95e3b7):_0x4d4679,_0x2ca97f=_0x196a67[_0x11e8aa(0x2ee)]-0x1,_0xc5bbdc;_0x2ca97f>=0x0;_0x2ca97f--)(_0xc5bbdc=_0x196a67[_0x2ca97f])&&(_0x5cbd97=_0xc5bbdc(_0x5cbd97)||_0x5cbd97);return _0x5cbd97;},_0x2c03ab=(_0x32f55e,_0x412be7)=>(_0x40695e,_0x332bd9)=>_0x412be7(_0x40695e,_0x332bd9,_0x32f55e),_0xbcbeed=(_0x375416,_0x43010f,_0x340885)=>_0x423b78(_0x375416,_0x43010f+'',_0x340885);const _0x5c5ff8='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x3bccaa[_0x258f24(0x1ca)]=class extends _0x3207a9[_0x258f24(0x2e0)]{constructor(_0x52cdc1=_0x2a9b11,_0x8cfb6e,_0x5b3974,_0x55794d){const _0x258d85=_0x258f24;super(),this['_config']=_0x52cdc1,this[_0x258d85(0x240)]=_0x8cfb6e,this['_injector']=_0x5b3974,this['_configService']=_0x55794d;const {..._0x3b9f86}=_0x3207a9[_0x258d85(0x26e)]({},_0x2a9b11,this[_0x258d85(0x8e)]);this[_0x258d85(0xc7)][_0x258d85(0x22d)](_0x130095,_0x3b9f86);}[_0x258f24(0x2d6)](){const _0xf49ad9=_0x258f24;this[_0xf49ad9(0x157)](),this['_initDependencies']();}[_0x258f24(0x19d)](){const _0x31d3a9=_0x258f24;this[_0x31d3a9(0x2f9)]();}['_registerDependencies'](){const _0x1f129c=_0x258f24;var _0x2b3c21;const _0x4af2dd=[[_0x3ec850],[_0x2f2133],[_0x264a79],[_0x52344d],[_0x2062f0],[_0x3a5050,{'useClass':_0x4c1e75}],[_0x283bfb[_0x1f129c(0x213)],{'useClass':_0x283bfb[_0x1f129c(0x2ea)]}],[_0x1102c8[_0x1f129c(0x1f8)],{'useClass':_0x1f8ab8}],[_0x3bccaa[_0x1f129c(0x28b)]],[_0x5193dd],[_0x22d051],[_0x35f21e],[_0xa670a2],[_0x3bccaa[_0x1f129c(0x17c)]]];_0x3207a9[_0x1f129c(0x1e5)](this['_injector'],_0x3207a9[_0x1f129c(0xc6)](_0x4af2dd,(_0x2b3c21=this['_config'])==null?void 0x0:_0x2b3c21[_0x1f129c(0x25e)]));}[_0x258f24(0x2f9)](){const _0x2133ae=_0x258f24;this[_0x2133ae(0x146)](this[_0x2133ae(0x240)][_0x2133ae(0x123)](_0x3207a9['UniverInstanceType'][_0x2133ae(0x97)],[_0x137949])),this[_0x2133ae(0x146)](this[_0x2133ae(0x240)]['registerRenderModule'](_0x3207a9[_0x2133ae(0x23d)]['UNIVER_SHEET'],[_0x445646]));}[_0x258f24(0x167)](){const _0x15eace=_0x258f24;_0x3207a9[_0x15eace(0xe8)](this['_injector'],[[_0x35f21e],[_0x3bccaa[_0x15eace(0x28b)]],[_0x5193dd],[_0x22d051],[_0x3bccaa[_0x15eace(0x17c)]]]);}},_0xbcbeed(_0x3bccaa[_0x258f24(0x1ca)],_0x258f24(0x1e2),_0x5c5ff8),_0x3bccaa['UniverCollaborationClientUIPlugin']=_0x2bafe6([_0x3207a9[_0x258f24(0x268)](_0x1102c8[_0x258f24(0x2dd)]),_0x2c03ab(0x1,_0x2e888c['IRenderManagerService']),_0x2c03ab(0x2,_0x3207a9[_0x258f24(0x1cc)](_0x3207a9['Injector'])),_0x2c03ab(0x3,_0x3207a9[_0x258f24(0x99)])],_0x3bccaa['UniverCollaborationClientUIPlugin']);var _0x3d5bfd=Object[_0x258f24(0x26f)],_0x5b7c99=(_0x148474,_0x476549,_0x5e9b94,_0x2eca11)=>{const _0x27a46f=_0x258f24;for(var _0x11d176=_0x2eca11>0x1?void 0x0:_0x2eca11?_0x3d5bfd(_0x476549,_0x5e9b94):_0x476549,_0x40ac19=_0x148474[_0x27a46f(0x2ee)]-0x1,_0x203f8f;_0x40ac19>=0x0;_0x40ac19--)(_0x203f8f=_0x148474[_0x40ac19])&&(_0x11d176=_0x203f8f(_0x11d176)||_0x11d176);return _0x11d176;},_0x2f8e8d=(_0x47567e,_0x4eac69)=>(_0x8d19a5,_0x197e3f)=>_0x4eac69(_0x8d19a5,_0x197e3f,_0x47567e);_0x3bccaa[_0x258f24(0x1b4)]=class extends _0x1102c8[_0x258f24(0x2b5)]{constructor(_0x597418,_0x4a0abf,_0x370b12,_0x17e9c7,_0x303f52){super(_0x597418,_0x4a0abf,_0x370b12,_0x17e9c7,_0x303f52);}async[_0x258f24(0xc3)](_0x551c74){const _0x4fbd6e=_0x258f24,_0x33c201=await this[_0x4fbd6e(0x218)](),_0x563009=this[_0x4fbd6e(0x2aa)](_0x551c74,_0x33c201);return this[_0x4fbd6e(0x2e9)](_0x563009);}[_0x258f24(0x2aa)](_0x1ec9c8,_0x1926ae){const _0x199853=_0x258f24,_0x20fd8d=typeof window>'u'?new URL(_0x1ec9c8):new URL(_0x1ec9c8,window[_0x199853(0x20b)][_0x199853(0x166)]);_0x20fd8d[_0x199853(0x2a8)][_0x199853(0x2dc)](_0x199853(0x174),_0x1926ae);const _0x17bbc5=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x199853(0xc0)]);return _0x17bbc5[_0x199853(0x1e9)](_0x199853(0xab))&&_0x20fd8d[_0x199853(0x2a8)]['set']('runId',_0x17bbc5[_0x199853(0x1e9)](_0x199853(0xab))),_0x20fd8d['toString']();}async[_0x258f24(0x218)](){const _0x42e6db=_0x258f24;var _0x50dcfe,_0x15abdc,_0x3aa864;const _0x517581=this[_0x42e6db(0xc7)][_0x42e6db(0x2c9)](_0x1102c8[_0x42e6db(0xa6)]),_0x2b10bf=(_0x50dcfe=_0x517581==null?void 0x0:_0x517581[_0x42e6db(0x2bd)])!=null?_0x50dcfe:_0x1102c8[_0x42e6db(0x201)];return(_0x3aa864=(_0x15abdc=(await this[_0x42e6db(0x1cb)][_0x42e6db(0x1e9)](_0x2b10bf,{'headers':{'Content-Type':'application/json'}}))[_0x42e6db(0x243)])==null?void 0x0:_0x15abdc[_0x42e6db(0x2fc)])!=null?_0x3aa864:'';}},_0x3bccaa[_0x258f24(0x1b4)]=_0x5b7c99([_0x2f8e8d(0x0,_0x3207a9[_0x258f24(0x1cc)](_0x3207a9[_0x258f24(0x173)])),_0x2f8e8d(0x1,_0x3207a9[_0x258f24(0x1cc)](_0x283bfb[_0x258f24(0x14f)])),_0x2f8e8d(0x2,_0x3207a9[_0x258f24(0x99)]),_0x2f8e8d(0x3,_0x3207a9['ILogService']),_0x2f8e8d(0x4,_0x3e7a87[_0x258f24(0x21c)])],_0x3bccaa[_0x258f24(0x1b4)]);const _0x158be3=0x7530,_0x453907='ACTIVE_UNIT_EVENT_CHANNEL';class _0x33d2e9 extends _0x3207a9[_0x258f24(0x17e)]{constructor(){const _0x3eea07=_0x258f24;super(),_0x1a27fd(this,_0x3eea07(0xa2),_0x3207a9[_0x3eea07(0x1e8)]()),_0x1a27fd(this,_0x3eea07(0x2f0),new Set()),_0x1a27fd(this,_0x3eea07(0x28a),new Map()),_0x1a27fd(this,_0x3eea07(0xcc),null),_0x1a27fd(this,'_clearOtherTimers',new Map()),_0x1a27fd(this,'_unitStatus',new Map()),this[_0x3eea07(0x154)]();}[_0x258f24(0x2f2)](){const _0x1f09e9=_0x258f24;super[_0x1f09e9(0x2f2)](),this[_0x1f09e9(0x275)]['forEach']((_0x42e45f,_0x54cffa)=>this[_0x1f09e9(0x27d)](_0x54cffa)),this[_0x1f09e9(0xcc)]&&window[_0x1f09e9(0x19e)](this[_0x1f09e9(0xcc)]);}[_0x258f24(0x27b)](_0x386316){const _0xda66f9=_0x258f24;return this[_0xda66f9(0x10a)](_0x386316)[_0xda66f9(0xc8)](_0xd000e2[_0xda66f9(0x265)]());}['editingUnit'](_0x2144e9){const _0x3ebdf1=_0x258f24;this[_0x3ebdf1(0x2f0)][_0x3ebdf1(0x106)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x3ebdf1(0x13d)](_0x2144e9),this[_0x3ebdf1(0x2fe)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x2144e9],'isForwarded':!0x1});}['disposeUnit'](_0x2153a9){const _0x220236=_0x258f24;this['_selfUnitIDs'][_0x220236(0x95)](_0x2153a9),this[_0x220236(0x2f0)]['size']===0x0&&this[_0x220236(0xcc)]&&window[_0x220236(0x19e)](this[_0x220236(0xcc)]);}[_0x258f24(0x154)](){const _0x7635c=_0x258f24;this[_0x7635c(0x146)](_0x3207a9['toDisposable'](_0xd000e2['fromEvent'](window,_0x7635c(0x1c9))[_0x7635c(0x185)](_0x25f555=>{const _0x38ffb6=_0x7635c;if(_0x25f555[_0x38ffb6(0x2c7)]!==_0x453907||!_0x25f555[_0x38ffb6(0x163)])return;const _0x5c2113=JSON[_0x38ffb6(0x270)](_0x25f555[_0x38ffb6(0x163)]);this[_0x38ffb6(0x214)](_0x5c2113);}))),window[_0x7635c(0x10d)](_0x7635c(0x25b),()=>this[_0x7635c(0x2fe)]({'type':0x1,'memberID':this[_0x7635c(0xa2)],'unitIDs':Array[_0x7635c(0x2cd)](this[_0x7635c(0x2f0)])}));}[_0x258f24(0x214)](_0x2387b6){const _0x460b06=_0x258f24;switch(_0x2387b6[_0x460b06(0x2e1)]){case 0x0:this[_0x460b06(0x132)](_0x2387b6);break;case 0x1:this[_0x460b06(0x29c)](_0x2387b6);break;case 0x2:this['_handleHeartbeatEvent'](_0x2387b6);break;}}[_0x258f24(0x132)](_0x2ec25e){const _0x5127e8=_0x258f24,{unitIDs:_0x2ff53e,memberID:_0x2fd49f,isForwarded:_0x500c9a}=_0x2ec25e;_0x2ff53e[_0x5127e8(0x19c)](_0x44ddd9=>{const _0x9edcbb=_0x5127e8;if(!_0x500c9a&&this[_0x9edcbb(0x28a)]['has'](_0x44ddd9)&&this[_0x9edcbb(0x10a)](_0x44ddd9)[_0x9edcbb(0x14b)](_0x1102c8['UnitStatus']['OTHER_CLIENTS_EDITING']),!this[_0x9edcbb(0x28a)][_0x9edcbb(0x17b)](_0x44ddd9)||!this[_0x9edcbb(0x28a)][_0x9edcbb(0x1e9)](_0x44ddd9)[_0x9edcbb(0x17b)](_0x2fd49f)){const _0x3d8656=this[_0x9edcbb(0x28a)][_0x9edcbb(0x1e9)](_0x44ddd9)||new Set();_0x3d8656['add'](_0x2fd49f),this[_0x9edcbb(0x28a)]['set'](_0x44ddd9,_0x3d8656),this[_0x9edcbb(0x209)](_0x2fd49f);}}),_0x500c9a||this[_0x5127e8(0x2fe)]({'type':0x0,'memberID':this[_0x5127e8(0xa2)],'unitIDs':[...this[_0x5127e8(0x2f0)]],'isForwarded':!0x0});}[_0x258f24(0x209)](_0x2d908a){const _0x1792c6=_0x258f24;this[_0x1792c6(0x27d)](_0x2d908a);const _0x39e8c4=window[_0x1792c6(0x155)](()=>{const _0x408c17=_0x1792c6;this[_0x408c17(0x28a)][_0x408c17(0x19c)](_0x22df0c=>{const _0x2c5bad=_0x408c17;_0x22df0c[_0x2c5bad(0x95)](_0x2d908a);});},_0x158be3*0x2);this['_clearOtherTimers'][_0x1792c6(0x2dc)](_0x2d908a,_0x39e8c4);}[_0x258f24(0x27d)](_0x9f2fa6){const _0x5a0843=_0x258f24;if(this[_0x5a0843(0x275)][_0x5a0843(0x17b)](_0x9f2fa6)){const _0x9d7b2d=this[_0x5a0843(0x275)]['get'](_0x9f2fa6);_0x9d7b2d&&window[_0x5a0843(0x195)](_0x9d7b2d),this[_0x5a0843(0x275)][_0x5a0843(0x2dc)](_0x9f2fa6,null);}}[_0x258f24(0x29c)](_0x41d4d6){const _0x5150ea=_0x258f24,{memberID:_0x3568e6,unitIDs:_0x100773}=_0x41d4d6;_0x100773[_0x5150ea(0x19c)](_0x1f592a=>{const _0x35583c=_0x5150ea;var _0x25eb83;const _0x16b6e8=this[_0x35583c(0x28a)][_0x35583c(0x1e9)](_0x1f592a);_0x16b6e8&&(_0x16b6e8[_0x35583c(0x95)](_0x3568e6),(_0x25eb83=this[_0x35583c(0x10a)](_0x1f592a))==null||_0x25eb83['next'](_0x16b6e8[_0x35583c(0x106)]===0x0?_0x1102c8[_0x35583c(0x2d3)][_0x35583c(0x80)]:_0x1102c8[_0x35583c(0x2d3)][_0x35583c(0x297)]));}),this[_0x5150ea(0x27d)](_0x3568e6);}[_0x258f24(0x199)](_0x485f1e){const _0x52050e=_0x258f24;this[_0x52050e(0x209)](_0x485f1e[_0x52050e(0x1bd)]);}[_0x258f24(0x2fe)](_0x4c940e){const _0x8a659b=_0x258f24;localStorage[_0x8a659b(0x1d5)](_0x453907,JSON[_0x8a659b(0x289)](_0x4c940e));}['_scheduleHeartbeat'](){const _0x18a72f=_0x258f24;this[_0x18a72f(0xcc)]=window[_0x18a72f(0x149)](()=>{const _0x3c1dd1=_0x18a72f;this[_0x3c1dd1(0x2fe)]({'type':0x2,'memberID':this['_id']});},_0x158be3);}['_ensureSubject'](_0x2a2555){const _0x28e25b=_0x258f24;return this[_0x28e25b(0xe5)][_0x28e25b(0x17b)](_0x2a2555)||this[_0x28e25b(0xe5)][_0x28e25b(0x2dc)](_0x2a2555,new _0xd000e2[(_0x28e25b(0x1ed))](_0x1102c8[_0x28e25b(0x2d3)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x28e25b(0xe5)][_0x28e25b(0x1e9)](_0x2a2555);}}var _0x31b563=(_0x28b4cd=>(_0x28b4cd[_0x28b4cd[_0x258f24(0x2f8)]=0x0]=_0x258f24(0x2f8),_0x28b4cd[_0x28b4cd['OK']=0x1]='OK',_0x28b4cd[_0x28b4cd[_0x258f24(0x160)]=0x2]='INTERNAL_ERROR',_0x28b4cd[_0x28b4cd[_0x258f24(0x16d)]=0x3]=_0x258f24(0x16d),_0x28b4cd[_0x28b4cd[_0x258f24(0x2ac)]=0x4]=_0x258f24(0x2ac),_0x28b4cd[_0x28b4cd[_0x258f24(0x86)]=0x5]=_0x258f24(0x86),_0x28b4cd[_0x28b4cd[_0x258f24(0x23a)]=0x6]=_0x258f24(0x23a),_0x28b4cd[_0x28b4cd['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x28b4cd[_0x28b4cd[_0x258f24(0x7b)]=0x8]=_0x258f24(0x7b),_0x28b4cd[_0x28b4cd['COMPLETION_FINISHED']=0x9]=_0x258f24(0x197),_0x28b4cd[_0x28b4cd[_0x258f24(0x1e6)]=0xa]=_0x258f24(0x1e6),_0x28b4cd[_0x28b4cd[_0x258f24(0xa1)]=0x1389]=_0x258f24(0xa1),_0x28b4cd[_0x28b4cd[_0x258f24(0x2d0)]=0x1771]=_0x258f24(0x2d0),_0x28b4cd[_0x28b4cd['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x258f24(0x12d),_0x28b4cd[_0x28b4cd[_0x258f24(0x26d)]=0x1773]=_0x258f24(0x26d),_0x28b4cd[_0x28b4cd['APPLY_REJECT']=0x1b59]=_0x258f24(0x1d2),_0x28b4cd[_0x28b4cd[_0x258f24(0xd0)]=0x1b5a]=_0x258f24(0xd0),_0x28b4cd[_0x28b4cd[_0x258f24(0x290)]=0x1b5b]=_0x258f24(0x290),_0x28b4cd[_0x28b4cd[_0x258f24(0x91)]=0x1b5c]=_0x258f24(0x91),_0x28b4cd[_0x28b4cd['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x28b4cd[_0x28b4cd[_0x258f24(0x247)]=0x1f41]=_0x258f24(0x247),_0x28b4cd[_0x28b4cd[_0x258f24(0x29a)]=0x2329]=_0x258f24(0x29a),_0x28b4cd[_0x28b4cd[_0x258f24(0x272)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x28b4cd[_0x28b4cd[_0x258f24(0x2e5)]=0x232b]=_0x258f24(0x2e5),_0x28b4cd[_0x28b4cd[_0x258f24(0x1cf)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x28b4cd[_0x28b4cd[_0x258f24(0x277)]=0x232d]=_0x258f24(0x277),_0x28b4cd[_0x28b4cd[_0x258f24(0xf4)]=0x2711]=_0x258f24(0xf4),_0x28b4cd[_0x28b4cd[_0x258f24(0x2b1)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x28b4cd[_0x28b4cd['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x258f24(0x110),_0x28b4cd[_0x28b4cd[_0x258f24(0x11e)]=0x2714]=_0x258f24(0x11e),_0x28b4cd[_0x28b4cd[_0x258f24(0x305)]=0x271a]=_0x258f24(0x305),_0x28b4cd[_0x28b4cd['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x258f24(0x14d),_0x28b4cd[_0x28b4cd[_0x258f24(0x136)]=0x2af9]=_0x258f24(0x136),_0x28b4cd[_0x28b4cd['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x258f24(0x121),_0x28b4cd[_0x28b4cd['INVALID_INVITE_CODE']=0x2ee2]=_0x258f24(0xf2),_0x28b4cd[_0x28b4cd[_0x258f24(0x115)]=0x2ee3]=_0x258f24(0x115),_0x28b4cd[_0x28b4cd[_0x258f24(0x179)]=0x2ee4]=_0x258f24(0x179),_0x28b4cd[_0x28b4cd[_0x258f24(0x2e6)]=0x2ee5]=_0x258f24(0x2e6),_0x28b4cd[_0x28b4cd['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x258f24(0x28f),_0x28b4cd[_0x28b4cd[_0x258f24(0x1ad)]=0x32ca]=_0x258f24(0x1ad),_0x28b4cd[_0x28b4cd[_0x258f24(0x292)]=0x32cb]=_0x258f24(0x292),_0x28b4cd[_0x28b4cd['UNRECOGNIZED']=-0x1]=_0x258f24(0x239),_0x28b4cd))(_0x31b563||{}),_0x417cd8=Object[_0x258f24(0x26f)],_0x384027=(_0x15af9c,_0x4eabd4,_0x5dc956,_0x46dc18)=>{const _0x49cc83=_0x258f24;for(var _0x13e90f=_0x46dc18>0x1?void 0x0:_0x46dc18?_0x417cd8(_0x4eabd4,_0x5dc956):_0x4eabd4,_0x1ce585=_0x15af9c[_0x49cc83(0x2ee)]-0x1,_0x18e5ec;_0x1ce585>=0x0;_0x1ce585--)(_0x18e5ec=_0x15af9c[_0x1ce585])&&(_0x13e90f=_0x18e5ec(_0x13e90f)||_0x13e90f);return _0x13e90f;},_0x4f4403=(_0x54cb56,_0x170d2d)=>(_0x42cd1b,_0x9ae93b)=>_0x170d2d(_0x42cd1b,_0x9ae93b,_0x54cb56);_0x3bccaa[_0x258f24(0x12e)]=class extends _0x3207a9[_0x258f24(0x17e)]{constructor(_0x543adb,_0x438dad,_0x512054){const _0xb402fd=_0x258f24;super(),this['_instanceService']=_0x543adb,this[_0xb402fd(0x1cb)]=_0x438dad,this['_configService']=_0x512054;}async['runOnServer'](_0x56a834,_0x458ecf,_0x120704,..._0x639af3){const _0x27d423=_0x258f24;var _0x45a8a0,_0x239142,_0x2928e3,_0x2dd67d;const _0x5d7770=this[_0x27d423(0x8a)]['getFocusedUnit']();if(!_0x5d7770)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x48d171=((_0x45a8a0=this[_0x27d423(0xc7)][_0x27d423(0x2c9)](_0x1102c8[_0x27d423(0x1fb)]))!=null?_0x45a8a0:_0x1102c8[_0x27d423(0x263)])+'/'+_0x56a834+_0x27d423(0x2f4)+_0x458ecf,_0x265a8f=new URL(window[_0x27d423(0x20b)]['href']),_0x1ab8ee={'scriptId':_0x56a834,'runId':(_0x239142=_0x265a8f[_0x27d423(0x2a8)][_0x27d423(0x1e9)](_0x27d423(0xab)))!=null?_0x239142:'','function':_0x458ecf,'unitId':_0x5d7770[_0x27d423(0x266)](),'argsOfFunction':JSON[_0x27d423(0x289)](_0x639af3),'invokeId':(_0x2928e3=_0x120704['invokeId'])!=null?_0x2928e3:'','executionId':(_0x2dd67d=_0x120704[_0x27d423(0x24a)])!=null?_0x2dd67d:''};try{const _0x4286af=await this[_0x27d423(0x1cb)][_0x27d423(0x10c)](_0x48d171,{'body':_0x1ab8ee});return _0x4286af[_0x27d423(0x243)][_0x27d423(0x18b)]&&_0x4286af[_0x27d423(0x243)][_0x27d423(0x18b)][_0x27d423(0x2a1)]!==_0x31b563['OK']?_0x27d423(0x168):_0x4286af[_0x27d423(0x243)][_0x27d423(0xd9)];}catch{return _0x27d423(0x168);}}},_0x3bccaa[_0x258f24(0x12e)]=_0x384027([_0x4f4403(0x0,_0x3207a9[_0x258f24(0x18d)]),_0x4f4403(0x1,_0x3207a9[_0x258f24(0x1cc)](_0x283bfb[_0x258f24(0x14f)])),_0x4f4403(0x2,_0x3207a9[_0x258f24(0x99)])],_0x3bccaa['RemoteUniscriptService']),_0x3bccaa[_0x258f24(0x230)]=_0x113c68,_0x3bccaa[_0x258f24(0x1a2)]=_0x3a5050,_0x3bccaa['SheetCollabCursorShape']=_0x395e33,_0x3bccaa[_0x258f24(0xc4)]=_0x33d2e9,_0x3bccaa[_0x258f24(0x24f)]=_0x4c1e75,Object[_0x258f24(0x2ce)](_0x3bccaa,Symbol[_0x258f24(0x175)],{'value':_0x258f24(0x107)});}));