@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504161609 → 0.6.10-nightly.202504181606

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(_0xfa02cd,_0x29c1cb){const _0x359787=_0x56b1,_0x360665=_0xfa02cd();while(!![]){try{const _0x720408=parseInt(_0x359787(0x182))/0x1*(-parseInt(_0x359787(0x24c))/0x2)+parseInt(_0x359787(0x285))/0x3+parseInt(_0x359787(0x1af))/0x4+parseInt(_0x359787(0x15b))/0x5*(parseInt(_0x359787(0x3df))/0x6)+parseInt(_0x359787(0x192))/0x7+-parseInt(_0x359787(0x340))/0x8+-parseInt(_0x359787(0x3e2))/0x9*(parseInt(_0x359787(0x283))/0xa);if(_0x720408===_0x29c1cb)break;else _0x360665['push'](_0x360665['shift']());}catch(_0x306064){_0x360665['push'](_0x360665['shift']());}}}(_0x2700,0x2a6ce),function(_0x4f6dc7,_0xcc22e7){const _0x2e6c04=_0x56b1;typeof exports==_0x2e6c04(0x165)&&typeof module<'u'?_0xcc22e7(exports,require('@univerjs-pro/collaboration-client'),require(_0x2e6c04(0x315)),require('@univerjs/engine-render'),require('@univerjs/network'),require(_0x2e6c04(0x2aa)),require(_0x2e6c04(0x392)),require(_0x2e6c04(0x160)),require(_0x2e6c04(0x1b1)),require('@univerjs-pro/collaboration'),require(_0x2e6c04(0x214)),require('@univerjs/sheets'),require(_0x2e6c04(0x2ce)),require(_0x2e6c04(0x195)),require('react/jsx-runtime'),require(_0x2e6c04(0x2b0)),require(_0x2e6c04(0x1c7)),require('react'),require(_0x2e6c04(0x323))):typeof define==_0x2e6c04(0x280)&&define[_0x2e6c04(0x35f)]?define([_0x2e6c04(0x162),_0x2e6c04(0x248),_0x2e6c04(0x315),_0x2e6c04(0x3da),_0x2e6c04(0x240),_0x2e6c04(0x2aa),'@univerjs/drawing',_0x2e6c04(0x160),'@univerjs/docs',_0x2e6c04(0x2d0),_0x2e6c04(0x214),'@univerjs/sheets','rxjs/operators',_0x2e6c04(0x195),'react/jsx-runtime','@univerjs/ui',_0x2e6c04(0x1c7),_0x2e6c04(0x21b),_0x2e6c04(0x323)],_0xcc22e7):(_0x4f6dc7=typeof globalThis<'u'?globalThis:_0x4f6dc7||self,_0xcc22e7(_0x4f6dc7['UniverProCollaborationClientUi']={},_0x4f6dc7[_0x2e6c04(0x39a)],_0x4f6dc7[_0x2e6c04(0x204)],_0x4f6dc7['UniverEngineRender'],_0x4f6dc7[_0x2e6c04(0x34e)],_0x4f6dc7[_0x2e6c04(0x385)],_0x4f6dc7[_0x2e6c04(0x394)],_0x4f6dc7[_0x2e6c04(0x160)],_0x4f6dc7[_0x2e6c04(0x378)],_0x4f6dc7[_0x2e6c04(0x166)],_0x4f6dc7[_0x2e6c04(0x336)],_0x4f6dc7[_0x2e6c04(0x249)],_0x4f6dc7[_0x2e6c04(0x160)][_0x2e6c04(0x2b4)],_0x4f6dc7[_0x2e6c04(0x31c)],_0x4f6dc7['React'],_0x4f6dc7[_0x2e6c04(0x3d1)],_0x4f6dc7[_0x2e6c04(0x3af)],_0x4f6dc7['React'],_0x4f6dc7[_0x2e6c04(0x349)]));}(this,function(_0x21b587,_0xb22a40,_0x299637,_0x500b16,_0x2d16a8,_0x2468cc,_0x17b446,_0x1bfea8,_0x4c9a7c,_0x18c8b5,_0x1a2906,_0x56d166,_0x564875,_0x5e4848,_0x3d962d,_0x403dec,_0xc76b,_0x2a0a1c,_0x3521ef){'use strict';const _0x380425=_0x56b1;var _0x6c35e0=Object[_0x380425(0x304)],_0x4ec70d=(_0xe02a91,_0x3b41e5,_0x49af6f)=>_0x3b41e5 in _0xe02a91?_0x6c35e0(_0xe02a91,_0x3b41e5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x49af6f}):_0xe02a91[_0x3b41e5]=_0x49af6f,_0x2921a2=(_0x9093a3,_0x316471,_0x54d928)=>_0x4ec70d(_0x9093a3,typeof _0x316471!='symbol'?_0x316471+'':_0x316471,_0x54d928),_0x21be40=Object[_0x380425(0x32b)],_0x478809=(_0x30a361,_0x5baded,_0x37859c,_0x4dc7b4)=>{const _0xe8f9d0=_0x380425;for(var _0xbc8b49=_0x4dc7b4>0x1?void 0x0:_0x4dc7b4?_0x21be40(_0x5baded,_0x37859c):_0x5baded,_0x2163c3=_0x30a361[_0xe8f9d0(0x375)]-0x1,_0xceff53;_0x2163c3>=0x0;_0x2163c3--)(_0xceff53=_0x30a361[_0x2163c3])&&(_0xbc8b49=_0xceff53(_0xbc8b49)||_0xbc8b49);return _0xbc8b49;},_0x391dfe=(_0x4739af,_0x2b4af2)=>(_0x17a9f9,_0x21b87b)=>_0x2b4af2(_0x17a9f9,_0x21b87b,_0x4739af);let _0x3489e3=class extends _0x299637[_0x380425(0x294)]{constructor(_0x41c175,_0x588706){const _0x87b7b1=_0x380425;super(),this['_docClipboardService']=_0x41c175,this[_0x87b7b1(0x28a)]=_0x588706,this['_init']();}[_0x380425(0x278)](){const _0x1561e8=_0x380425,_0x240f31=this;this[_0x1561e8(0x379)](this['_docClipboardService'][_0x1561e8(0x1ff)]({'onBeforePasteImage':async _0x5de12c=>{const _0x156a80=_0x1561e8,_0x436321=await _0x240f31[_0x156a80(0x28a)]['saveImage'](_0x5de12c);return _0x436321?{'source':_0x436321[_0x156a80(0x154)],'imageSourceType':_0x436321['imageSourceType']}:null;}}));}};_0x3489e3=_0x478809([_0x391dfe(0x0,_0x2468cc[_0x380425(0x2f7)]),_0x391dfe(0x1,_0x17b446['IImageIoService'])],_0x3489e3);const _0x34e110=[_0x380425(0x17e),_0x380425(0x3b1),_0x380425(0x2f1),_0x380425(0x261),_0x380425(0x18f),_0x380425(0x1d5)];class _0xb6e22c extends _0x299637['Disposable']{constructor(){const _0x2f7765=_0x380425;super(...arguments),_0x2921a2(this,_0x2f7765(0x374),new Map()),_0x2921a2(this,_0x2f7765(0x32c),0x0);}[_0x380425(0x334)](_0x14c216){const _0x5b63c4=_0x380425;if(this['_assignedColors']['has'](_0x14c216))return this[_0x5b63c4(0x374)][_0x5b63c4(0x291)](_0x14c216);const _0x26d6ce=_0x34e110[this['_colorIndex']];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x34e110['length'],this[_0x5b63c4(0x374)]['set'](_0x14c216,_0x26d6ce),_0x26d6ce;}}function _0x2d3681(_0x4a4e0a){const _0xc8d22c=_0x380425;let _0x2880ca='';for(const _0x5e73dd of _0x4a4e0a){const {startOffset:_0x2ecbf3,endOffset:_0x48c739,isActive:_0x63d3f0,rangeType:_0x214196,segmentId:_0x80406d,segmentPage:_0x2cd3ae}=_0x5e73dd;_0x2880ca[_0xc8d22c(0x375)]&&(_0x2880ca+=','),_0x2880ca+=_0x2ecbf3+':'+_0x48c739+':'+(_0x63d3f0?'1':'0')+':'+_0x214196+':'+_0x80406d+':'+_0x2cd3ae;}return _0x2880ca;}function _0x5a4568(_0x54d8d9){const _0x2de29a=_0x380425,_0xd03ddd=_0x54d8d9[_0x2de29a(0x175)](','),_0x44b6f1=[];for(const _0x51a11a of _0xd03ddd){const [_0x3c93b4,_0x61bcb7,_0x5dde53,_0x42d13e,_0x5200b6,_0x35b9d8]=_0x51a11a[_0x2de29a(0x175)](':');_0x44b6f1[_0x2de29a(0x360)]({'startOffset':Number(_0x3c93b4),'endOffset':Number(_0x61bcb7),'collapsed':_0x3c93b4===_0x61bcb7,'isActive':_0x5dde53==='1','rangeType':_0x42d13e===_0x299637[_0x2de29a(0x354)][_0x2de29a(0x28d)]?_0x299637[_0x2de29a(0x354)]['TEXT']:_0x299637[_0x2de29a(0x354)][_0x2de29a(0x1e0)],'segmentId':typeof _0x5200b6==_0x2de29a(0x2d4)?String(_0x5200b6):'','segmentPage':Number(_0x35b9d8!=null?_0x35b9d8:-0x1)});}return _0x44b6f1[_0x2de29a(0x2eb)](_0x5f4f43=>_0x5f4f43['isActive'])||(_0x44b6f1[0x0]['isActive']=!0x0),_0x44b6f1;}class _0x2ee1be extends _0x299637['RxDisposable']{constructor(){const _0x218b34=_0x380425;super(...arguments),_0x2921a2(this,_0x218b34(0x356),new _0x1bfea8['BehaviorSubject'](null)),_0x2921a2(this,_0x218b34(0x1de),this[_0x218b34(0x356)][_0x218b34(0x1ac)]());}[_0x380425(0x32a)](_0x1412a9){const _0x44c7c4=_0x380425,{unitID:_0x2f9695,memberID:_0x281298,textRanges:_0x5a6dd7}=_0x1412a9,_0x48cbfc=_0x2d3681(_0x5a6dd7);if(_0x48cbfc==='')return;const _0x530154={'unitID':_0x2f9695,'memberID':_0x281298,'selection':_0x48cbfc};this[_0x44c7c4(0x356)][_0x44c7c4(0x2ee)](_0x530154);}}var _0x281100=Object[_0x380425(0x32b)],_0x1fb19c=(_0x3657ad,_0x3325f9,_0x453f29,_0x3e04f6)=>{const _0x5e1668=_0x380425;for(var _0x47cba0=_0x3e04f6>0x1?void 0x0:_0x3e04f6?_0x281100(_0x3325f9,_0x453f29):_0x3325f9,_0x27026f=_0x3657ad[_0x5e1668(0x375)]-0x1,_0xbc889a;_0x27026f>=0x0;_0x27026f--)(_0xbc889a=_0x3657ad[_0x27026f])&&(_0x47cba0=_0xbc889a(_0x47cba0)||_0x47cba0);return _0x47cba0;},_0x176666=(_0x594652,_0x12da39)=>(_0x5c5e2d,_0x19c233)=>_0x12da39(_0x5c5e2d,_0x19c233,_0x594652);const _0x22afe4=0x12c,_0x1634af=0x64;let _0x2ed01a=class extends _0x299637[_0x380425(0x294)]{constructor(_0x572c7d,_0x47c10c,_0x1a647b,_0x5caa04,_0x55bbb7,_0x7c32db,_0x2a6014,_0x20a1bb,_0x4bef5a){const _0x5e3970=_0x380425;super(),_0x2921a2(this,'_online',!0x1),_0x2921a2(this,_0x5e3970(0x278),!0x1),_0x2921a2(this,_0x5e3970(0x36c),new _0x1bfea8[(_0x5e3970(0x1aa))](new Map())),_0x2921a2(this,_0x5e3970(0x3d7),this[_0x5e3970(0x36c)][_0x5e3970(0x1ac)]()),_0x2921a2(this,'_roomMembers$',new _0x1bfea8[(_0x5e3970(0x1aa))]([])),_0x2921a2(this,'roomMembers$',this[_0x5e3970(0x338)][_0x5e3970(0x227)](_0x1bfea8[_0x5e3970(0x30e)](_0x22afe4))),_0x2921a2(this,_0x5e3970(0x3a0),_0x299637['debounce'](_0x3f09b3=>{const _0x240510=_0x5e3970,_0x1ba7b0={'eventID':_0x18c8b5['CollaborationEvent'][_0x240510(0x253)],'data':{'unitID':this[_0x240510(0x179)],'memberID':this['_session']['getMemberID'](),'selection':_0x2d3681(_0x3f09b3)}};this[_0x240510(0x2fb)][_0x240510(0x2fe)](_0x1ba7b0,this[_0x240510(0x179)]);},_0x1634af)),(this[_0x5e3970(0x179)]=_0x572c7d,this[_0x5e3970(0x2fb)]=_0x47c10c,this[_0x5e3970(0x3bf)]=_0x1a647b,this['_colorAssignService']=_0x5caa04,this[_0x5e3970(0x3a7)]=_0x55bbb7,this[_0x5e3970(0x1df)]=_0x7c32db,this[_0x5e3970(0x3c5)]=_0x2a6014,this[_0x5e3970(0x1c3)]=_0x20a1bb,this[_0x5e3970(0x383)]=_0x4bef5a);}get[_0x380425(0x390)](){const _0x6eb2d1=_0x380425;return this[_0x6eb2d1(0x36c)][_0x6eb2d1(0x213)]();}get['roomMembers'](){const _0x1f5894=_0x380425;return this[_0x1f5894(0x338)]['getValue']();}[_0x380425(0x1ae)](){const _0x2bb7bb=_0x380425;super[_0x2bb7bb(0x1ae)](),this[_0x2bb7bb(0x36c)][_0x2bb7bb(0x2ee)](new Map()),this[_0x2bb7bb(0x36c)][_0x2bb7bb(0x3ed)](),this[_0x2bb7bb(0x338)][_0x2bb7bb(0x2ee)]([]),this[_0x2bb7bb(0x338)][_0x2bb7bb(0x3ed)]();}[_0x380425(0x39f)](){const _0x195d40=_0x380425;this[_0x195d40(0x278)]||(this['_init']=!0x0,this[_0x195d40(0x2fb)][_0x195d40(0x279)][_0x195d40(0x227)](_0x1bfea8['takeUntil'](this[_0x195d40(0x369)]))[_0x195d40(0x2f4)](_0x36f17c=>{const _0x256e72=_0x195d40;_0x36f17c===_0xb22a40[_0x256e72(0x1f3)][_0x256e72(0x3c8)]?this[_0x256e72(0x212)]():this[_0x256e72(0x301)]();}),this['_session'][_0x195d40(0x172)][_0x195d40(0x227)](_0x1bfea8[_0x195d40(0x3ae)](this[_0x195d40(0x369)]))[_0x195d40(0x2f4)](_0x471cc6=>{const _0x218a9b=_0x195d40,_0x2b5897=_0x471cc6[_0x218a9b(0x30d)];_0x2b5897===_0x18c8b5[_0x218a9b(0x3ef)]['UPDATE_CURSOR']&&this[_0x218a9b(0x2bc)](_0x471cc6),_0x2b5897===_0x18c8b5['CollaborationEvent']['USERS_LEAVE']&&this[_0x218a9b(0x1e4)](_0x471cc6);}),this[_0x195d40(0x379)](this[_0x195d40(0x383)][_0x195d40(0x33c)](_0x397987=>{const _0x7ed961=_0x195d40,_0x5bb946=_0x397987[_0x7ed961(0x1dc)];_0x5bb946!=null&&this['_online']&&_0x397987['id']===_0x4c9a7c[_0x7ed961(0x20f)]['id']&&_0x5bb946[_0x7ed961(0x208)]===this['unitID']&&_0x5bb946[_0x7ed961(0x3bd)]===!0x1&&_0x5bb946[_0x7ed961(0x19a)][_0x7ed961(0x375)]>0x0&&this[_0x7ed961(0x3a0)](_0x5bb946['ranges']);})),this[_0x195d40(0x1df)][_0x195d40(0x1de)][_0x195d40(0x227)](_0x1bfea8['takeUntil'](this['dispose$']))[_0x195d40(0x2f4)](_0x4e497e=>{const _0x15a286=_0x195d40;if((_0x4e497e==null?void 0x0:_0x4e497e[_0x15a286(0x179)])!==this[_0x15a286(0x179)])return;const _0x318b90={'eventID':_0x18c8b5['CollaborationEvent'][_0x15a286(0x253)],'data':_0x4e497e};this[_0x15a286(0x2bc)](_0x318b90);}),this[_0x195d40(0x379)](this[_0x195d40(0x383)][_0x195d40(0x33c)](_0xed0bb3=>{const _0x43e0cd=_0x195d40;if(_0xed0bb3[_0x43e0cd(0x1dc)]==null)return;const _0x437664=_0xed0bb3[_0x43e0cd(0x1dc)];if(_0xed0bb3['id']!==_0x4c9a7c[_0x43e0cd(0x207)]['id']||_0x437664[_0x43e0cd(0x208)]!==this['unitID'])return;const _0x5404db={'id':_0x43e0cd(0x29b),'params':_0x437664},_0x592e78=this[_0x43e0cd(0x390)];for(const [_0x23cec7,_0x1ff3cd]of _0x592e78){const _0x1fcf00={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x43e0cd(0x179)],'actions':null,'textRanges':_0x1ff3cd[_0x43e0cd(0x19a)]}},_0x27dce7=this[_0x43e0cd(0x3c5)]['transformMutation'](_0x5404db,_0x1fcf00,!0x1);if(_0x18c8b5['isTransformMutationFailure'](_0x27dce7))throw _0x27dce7[_0x43e0cd(0x3d9)];_0x592e78[_0x43e0cd(0x22d)](_0x23cec7,{..._0x1ff3cd,'ranges':_0x27dce7[_0x43e0cd(0x2a0)][_0x43e0cd(0x1dc)]['textRanges']});}queueMicrotask(()=>{const _0x5adbc2=_0x43e0cd;this[_0x5adbc2(0x36c)]['next'](_0x592e78);});})));}[_0x380425(0x2bc)](_0x366e81){const _0x44f0bf=_0x380425;var _0x1191cc,_0x1e30a7;const {memberID:_0x27a4a4,selection:_0x1dc41c}=_0x366e81[_0x44f0bf(0x2c3)],_0xa59834=_0x5a4568(_0x1dc41c),_0xa18f89=(_0x1e30a7=(_0x1191cc=this['_memberService'][_0x44f0bf(0x1cf)](this[_0x44f0bf(0x179)],_0x27a4a4))==null?void 0x0:_0x1191cc[_0x44f0bf(0x231)])!=null?_0x1e30a7:'Unknown\x20user',_0x20fdae={'color':this[_0x44f0bf(0x15d)][_0x44f0bf(0x334)](_0x27a4a4),'name':_0xa18f89,'ranges':_0xa59834},_0x1749a5=this[_0x44f0bf(0x390)];_0x1749a5[_0x44f0bf(0x22d)](_0x27a4a4,_0x20fdae),this[_0x44f0bf(0x36c)][_0x44f0bf(0x2ee)](_0x1749a5);}[_0x380425(0x1e4)](_0x54ff3){const _0x1bad26=_0x380425,{memberID:_0x105863}=_0x54ff3[_0x1bad26(0x2c3)],_0x42c0d2=this[_0x1bad26(0x390)];_0x42c0d2[_0x1bad26(0x251)](_0x105863),this[_0x1bad26(0x36c)][_0x1bad26(0x2ee)](_0x42c0d2);}[_0x380425(0x212)](){const _0x21d71c=_0x380425;var _0x138553;if(this[_0x21d71c(0x1b6)]=!0x0,((_0x138553=this[_0x21d71c(0x1c3)][_0x21d71c(0x2bd)]())==null?void 0x0:_0x138553['getUnitId']())!==this['unitID'])return;const _0x29f30d=this[_0x21d71c(0x3bf)][_0x21d71c(0x291)](_0x4c9a7c[_0x21d71c(0x243)])[_0x21d71c(0x25b)]();Array[_0x21d71c(0x1cd)](_0x29f30d)&&_0x29f30d[_0x21d71c(0x375)]>0x0&&this[_0x21d71c(0x3a0)](_0x29f30d);}[_0x380425(0x301)](){const _0x42e6a3=_0x380425;this[_0x42e6a3(0x1b6)]=!0x1;}};_0x2ed01a=_0x1fb19c([_0x176666(0x2,_0x299637[_0x380425(0x3b9)](_0x299637[_0x380425(0x20c)])),_0x176666(0x3,_0x299637[_0x380425(0x3b9)](_0xb6e22c)),_0x176666(0x4,_0x299637[_0x380425(0x3b9)](_0xb22a40[_0x380425(0x150)])),_0x176666(0x5,_0x299637[_0x380425(0x3b9)](_0x2ee1be)),_0x176666(0x6,_0x18c8b5[_0x380425(0x2b1)]),_0x176666(0x7,_0x299637[_0x380425(0x2fc)]),_0x176666(0x8,_0x299637[_0x380425(0x219)])],_0x2ed01a);var _0x3397f5=Object[_0x380425(0x32b)],_0x3ff0b5=(_0x483d59,_0x414973,_0x542a51,_0x312234)=>{for(var _0x37872c=_0x312234>0x1?void 0x0:_0x312234?_0x3397f5(_0x414973,_0x542a51):_0x414973,_0x153283=_0x483d59['length']-0x1,_0x799724;_0x153283>=0x0;_0x153283--)(_0x799724=_0x483d59[_0x153283])&&(_0x37872c=_0x799724(_0x37872c)||_0x37872c);return _0x37872c;},_0x46ab9c=(_0x1dc278,_0x3865e2)=>(_0x49d733,_0x3bd48a)=>_0x3865e2(_0x49d733,_0x3bd48a,_0x1dc278);const _0x27587f=0x12c,_0x5ef98f=0x64,_0x485896=()=>{let _0x8ef31f=[],_0x4beca3=!0x1;return _0x2c3b8b=>{const _0x5752d9=_0x56b1;_0x8ef31f[_0x5752d9(0x360)](_0x2c3b8b),_0x4beca3||(_0x4beca3=!0x0,setTimeout(()=>{const _0x2e4608=_0x5752d9;_0x8ef31f[_0x2e4608(0x27c)](_0x5e050e=>_0x5e050e()),_0x8ef31f=[],_0x4beca3=!0x1;}));};};let _0x406232=class extends _0x299637[_0x380425(0x294)]{constructor(_0x5e61c3,_0x41727e,_0xe2b3e,_0x5d1178,_0x297c20,_0x3a7d25,_0xc52839,_0x3da279){const _0x467c44=_0x380425;super(),_0x2921a2(this,_0x467c44(0x1b6),!0x1),_0x2921a2(this,_0x467c44(0x278),!0x1),_0x2921a2(this,_0x467c44(0x36c),new _0x1bfea8['BehaviorSubject'](new Map())),_0x2921a2(this,_0x467c44(0x3d7),this[_0x467c44(0x36c)][_0x467c44(0x1ac)]()),_0x2921a2(this,_0x467c44(0x338),new _0x1bfea8[(_0x467c44(0x1aa))]([])),_0x2921a2(this,_0x467c44(0x3d8),this[_0x467c44(0x338)]['pipe'](_0x1bfea8[_0x467c44(0x30e)](_0x27587f))),_0x2921a2(this,_0x467c44(0x3a0),_0x299637[_0x467c44(0x169)]((_0x894550,_0x7ebfa8)=>{const _0x361bb0=_0x467c44,_0xfebca1={'eventID':_0x18c8b5[_0x361bb0(0x3ef)][_0x361bb0(0x253)],'data':{'unitID':this[_0x361bb0(0x179)],'memberID':this[_0x361bb0(0x2fb)][_0x361bb0(0x1f2)](),'selection':_0x1a2906[_0x361bb0(0x35c)](_0x894550,_0x7ebfa8['range'])}};this['_session'][_0x361bb0(0x2fe)](_0xfebca1,this[_0x361bb0(0x179)]);},_0x5ef98f)),(this[_0x467c44(0x179)]=_0x5e61c3,this[_0x467c44(0x2fb)]=_0x41727e,this[_0x467c44(0x3bf)]=_0xe2b3e,this[_0x467c44(0x15d)]=_0x5d1178,this[_0x467c44(0x3a7)]=_0x297c20,this[_0x467c44(0x1c3)]=_0x3a7d25,this[_0x467c44(0x383)]=_0xc52839,this[_0x467c44(0x33e)]=_0x3da279);}get[_0x380425(0x390)](){const _0x548fa2=_0x380425;return this['_cursorInfo$'][_0x548fa2(0x213)]();}get[_0x380425(0x155)](){const _0x13922e=_0x380425;return this[_0x13922e(0x338)][_0x13922e(0x213)]();}[_0x380425(0x1ae)](){const _0x564cfe=_0x380425;super[_0x564cfe(0x1ae)](),this[_0x564cfe(0x36c)][_0x564cfe(0x2ee)](new Map()),this[_0x564cfe(0x36c)][_0x564cfe(0x3ed)](),this[_0x564cfe(0x338)][_0x564cfe(0x2ee)]([]),this['_roomMembers$'][_0x564cfe(0x3ed)]();}[_0x380425(0x39f)](){const _0x132d5a=_0x380425;this[_0x132d5a(0x278)]||(this[_0x132d5a(0x278)]=!0x0,this[_0x132d5a(0x2fb)]['sessionStatus$'][_0x132d5a(0x227)](_0x1bfea8[_0x132d5a(0x3ae)](this['dispose$']))[_0x132d5a(0x2f4)](_0x3369b7=>{const _0x2ee6cd=_0x132d5a;_0x3369b7===_0xb22a40[_0x2ee6cd(0x1f3)][_0x2ee6cd(0x3c8)]?this[_0x2ee6cd(0x212)]():this['_toggleOffline']();}),this[_0x132d5a(0x2fb)]['event$']['pipe'](_0x1bfea8['takeUntil'](this['dispose$']))[_0x132d5a(0x2f4)](_0x448178=>{const _0x47df53=_0x132d5a,_0x3cc666=_0x448178[_0x47df53(0x30d)];_0x3cc666===_0x18c8b5['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x47df53(0x2bc)](_0x448178),_0x3cc666===_0x18c8b5[_0x47df53(0x3ef)][_0x47df53(0x3d3)]&&this['_onCursorDelete'](_0x448178);}),this['_onRefRangeChange'](),this[_0x132d5a(0x379)](this[_0x132d5a(0x383)][_0x132d5a(0x33c)](_0x224877=>{const _0x56a660=_0x132d5a;if(this['_online']&&_0x224877['id']===_0x56d166[_0x56a660(0x292)]['id']&&_0x224877[_0x56a660(0x1dc)]['unitId']===this[_0x56a660(0x179)]){const _0x3e8407=_0x224877[_0x56a660(0x1dc)];this[_0x56a660(0x3a0)](_0x3e8407[_0x56a660(0x245)],_0x3e8407[_0x56a660(0x34a)][0x0]);}})));}[_0x380425(0x2bc)](_0xd1f897){const _0x3bfa94=_0x380425;var _0x20dffb,_0x5c5dc4;const {memberID:_0x52c5e0,selection:_0x4d0f38}=_0xd1f897[_0x3bfa94(0x2c3)],{sheetName:_0x57be7d,range:_0x100485}=_0x1a2906[_0x3bfa94(0x266)](_0x4d0f38),_0x260b9d={'name':(_0x5c5dc4=(_0x20dffb=this['_memberService'][_0x3bfa94(0x1cf)](this[_0x3bfa94(0x179)],_0x52c5e0))==null?void 0x0:_0x20dffb['name'])!=null?_0x5c5dc4:'Unknown\x20user','range':this[_0x3bfa94(0x387)](_0x57be7d,_0x100485),'sheetID':_0x57be7d,'color':this[_0x3bfa94(0x15d)]['assignAColorForMemberID'](_0x52c5e0),'selection':_0x4d0f38},_0xe327ec=this[_0x3bfa94(0x390)];_0xe327ec[_0x3bfa94(0x22d)](_0x52c5e0,_0x260b9d),this[_0x3bfa94(0x36c)]['next'](_0xe327ec);}['_onCursorDelete'](_0x550bff){const _0xe0d5d1=_0x380425,{memberID:_0x2c3d69}=_0x550bff[_0xe0d5d1(0x2c3)],_0x5cd0a7=this[_0xe0d5d1(0x390)];_0x5cd0a7['delete'](_0x2c3d69),this[_0xe0d5d1(0x36c)]['next'](_0x5cd0a7);}[_0x380425(0x387)](_0x4a768e,_0x405187){const _0x575f29=_0x380425;var _0x4870b2,_0x270be1;const _0x54e255=(_0x270be1=(_0x4870b2=this[_0x575f29(0x1c3)]['getUniverSheetInstance'](this[_0x575f29(0x179)]))==null?void 0x0:_0x4870b2[_0x575f29(0x167)](_0x4a768e))==null?void 0x0:_0x270be1['getMergeData']();return(_0x54e255==null?void 0x0:_0x54e255[_0x575f29(0x1bf)](_0x2288b4=>_0x299637[_0x575f29(0x28c)][_0x575f29(0x24f)](_0x2288b4,_0x405187)))||_0x405187;}[_0x380425(0x281)](){const _0x205e2c=_0x380425,_0x6ae453=new _0x299637['DisposableCollection'](),_0x2235c4=_0x485896(),_0x1d9f54=()=>{const _0xe26d92=_0x56b1;_0x6ae453[_0xe26d92(0x1ae)]();const _0x1f8383=(_0x4e682f,_0x1a6239,_0x5b18f7,_0x204470)=>{const _0x499c8d=_0xe26d92;let _0x549e02=[];switch(_0x4e682f['id']){case _0x56d166['EffectRefRangId'][_0x499c8d(0x3c4)]:{_0x549e02=_0x56d166[_0x499c8d(0x3e4)](_0x4e682f,_0x204470);break;}case _0x56d166['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x549e02=_0x56d166[_0x499c8d(0x217)](_0x4e682f,_0x204470);break;}case _0x56d166[_0x499c8d(0x196)][_0x499c8d(0x1e8)]:{_0x549e02=_0x56d166['handleInsertCol'](_0x4e682f,_0x204470);break;}case _0x56d166['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x549e02=_0x56d166[_0x499c8d(0x363)](_0x4e682f,_0x204470);break;}case _0x56d166[_0x499c8d(0x196)][_0x499c8d(0x337)]:{_0x549e02=_0x56d166[_0x499c8d(0x274)](_0x4e682f,_0x204470);break;}case _0x56d166['EffectRefRangId']['InsertRowCommandId']:{_0x549e02=_0x56d166['handleInsertRow'](_0x4e682f,_0x204470);break;}case _0x56d166[_0x499c8d(0x196)][_0x499c8d(0x1fd)]:{_0x549e02=_0x56d166[_0x499c8d(0x200)](_0x4e682f,_0x204470);break;}case _0x56d166[_0x499c8d(0x196)][_0x499c8d(0x26c)]:{_0x549e02=_0x56d166[_0x499c8d(0x2ad)](_0x4e682f,_0x204470);break;}case _0x56d166[_0x499c8d(0x196)][_0x499c8d(0x168)]:{_0x549e02=_0x56d166[_0x499c8d(0x153)](_0x4e682f,_0x204470);break;}}const _0x30a499=_0x56d166[_0x499c8d(0x1fa)](_0x549e02,_0x204470),_0x21176e=this[_0x499c8d(0x390)][_0x499c8d(0x291)](_0x1a6239);if(_0x21176e&&_0x30a499){const _0xdd99ec={..._0x21176e,'range':_0x30a499};this[_0x499c8d(0x390)][_0x499c8d(0x22d)](_0x1a6239,_0xdd99ec),_0x2235c4(()=>{const _0x2ea389=_0x499c8d,_0x23080f=this[_0x2ea389(0x33e)][_0x2ea389(0x1a2)](_0x30a499,_0x488981=>(_0x23080f[_0x2ea389(0x1ae)](),_0x1f8383(_0x488981,_0x1a6239,_0x5b18f7,_0x30a499)));_0x6ae453[_0x2ea389(0x3b8)](_0x23080f);});}return{'redos':[],'undos':[]};};this[_0xe26d92(0x390)][_0xe26d92(0x27c)]((_0x40d500,_0x3c18ba)=>{const {range:_0x42f876,sheetID:_0x33fe27}=_0x40d500,_0x1d0573=this['_refRangeService']['registerRefRange'](_0x42f876,_0x2dcff0=>(_0x1d0573['dispose'](),_0x1f8383(_0x2dcff0,_0x3c18ba,_0x33fe27,_0x42f876)));_0x6ae453['add'](_0x1d0573);});};this[_0x205e2c(0x379)](_0x299637[_0x205e2c(0x3e3)](this[_0x205e2c(0x36c)][_0x205e2c(0x2f4)](()=>{_0x1d9f54();})));}[_0x380425(0x212)](){const _0x35f90d=_0x380425;var _0x3200ff,_0x8895ca;if(this[_0x35f90d(0x1b6)]=!0x0,((_0x3200ff=this[_0x35f90d(0x1c3)][_0x35f90d(0x2bd)]())==null?void 0x0:_0x3200ff['getUnitId']())!==this['unitID'])return;const _0x1225ec=(_0x8895ca=this['_injector']['get'](_0x56d166['SheetsSelectionsService'])[_0x35f90d(0x16c)]())==null?void 0x0:_0x8895ca[0x0],_0x40a8ac=this[_0x35f90d(0x1c3)][_0x35f90d(0x367)](_0x299637[_0x35f90d(0x2a2)][_0x35f90d(0x16f)])[_0x35f90d(0x22e)]();_0x1225ec&&_0x40a8ac&&this[_0x35f90d(0x3a0)](_0x40a8ac[_0x35f90d(0x267)](),_0x1225ec);}[_0x380425(0x301)](){const _0xcf40db=_0x380425;this[_0xcf40db(0x1b6)]=!0x1;}};_0x406232=_0x3ff0b5([_0x46ab9c(0x2,_0x299637[_0x380425(0x3b9)](_0x299637[_0x380425(0x20c)])),_0x46ab9c(0x3,_0x299637[_0x380425(0x3b9)](_0xb6e22c)),_0x46ab9c(0x4,_0x299637['Inject'](_0xb22a40[_0x380425(0x150)])),_0x46ab9c(0x5,_0x299637[_0x380425(0x2fc)]),_0x46ab9c(0x6,_0x299637['ICommandService']),_0x46ab9c(0x7,_0x299637[_0x380425(0x3b9)](_0x56d166[_0x380425(0x3e1)]))],_0x406232);var _0x429f7f=Object[_0x380425(0x32b)],_0x536fa7=(_0x2ad385,_0x3d1cea,_0x765c8c,_0x17e47b)=>{const _0x3dc221=_0x380425;for(var _0x16316e=_0x17e47b>0x1?void 0x0:_0x17e47b?_0x429f7f(_0x3d1cea,_0x765c8c):_0x3d1cea,_0x340c4f=_0x2ad385[_0x3dc221(0x375)]-0x1,_0x439c27;_0x340c4f>=0x0;_0x340c4f--)(_0x439c27=_0x2ad385[_0x340c4f])&&(_0x16316e=_0x439c27(_0x16316e)||_0x16316e);return _0x16316e;},_0x44022d=(_0x2d0ad5,_0x49df53)=>(_0x4aa91a,_0x28abe3)=>_0x49df53(_0x4aa91a,_0x28abe3,_0x2d0ad5);let _0x1ba27b=class extends _0x299637[_0x380425(0x294)]{constructor(_0xa629b1,_0x42dde2,_0x270804){const _0x41f553=_0x380425;super(),_0x2921a2(this,'_entities',new Map()),_0x2921a2(this,_0x41f553(0x352),new _0x1bfea8['Subject']()),(this[_0x41f553(0x1c3)]=_0xa629b1,this[_0x41f553(0x3bf)]=_0x42dde2,this[_0x41f553(0x1c6)]=_0x270804,this[_0x41f553(0x278)]());}[_0x380425(0x1ae)](){const _0x3e469e=_0x380425;super[_0x3e469e(0x1ae)](),this[_0x3e469e(0x352)][_0x3e469e(0x3ed)](),this['_entities'][_0x3e469e(0x27c)](_0x44f54e=>_0x44f54e[_0x3e469e(0x1ae)]());}[_0x380425(0x2b3)](_0x272b1a){const _0x1429eb=_0x380425;return this[_0x1429eb(0x3ba)]['has'](_0x272b1a)?this[_0x1429eb(0x3ba)][_0x1429eb(0x291)](_0x272b1a)[_0x1429eb(0x3d7)]:this['_entityInit$'][_0x1429eb(0x227)](_0x1bfea8['filter'](_0x184d88=>_0x184d88[_0x1429eb(0x179)]===_0x272b1a),_0x1bfea8[_0x1429eb(0x2a1)](_0x3484af=>_0x3484af['cursorInfo$']));}[_0x380425(0x278)](){const _0x16a315=_0x380425;this['_univerInstanceService'][_0x16a315(0x306)](_0x299637[_0x16a315(0x2a2)][_0x16a315(0x16f)])[_0x16a315(0x227)](_0x1bfea8[_0x16a315(0x3ae)](this[_0x16a315(0x369)]))[_0x16a315(0x2f4)](async _0x21b5e6=>{const _0x3f7a53=_0x16a315,_0x3cd7e2=_0x21b5e6[_0x3f7a53(0x20b)](),_0x4e2730=await this[_0x3f7a53(0x1b9)](_0x3cd7e2);this[_0x3f7a53(0x352)][_0x3f7a53(0x2ee)](_0x4e2730),this[_0x3f7a53(0x3ba)][_0x3f7a53(0x22d)](_0x3cd7e2,_0x4e2730);}),this[_0x16a315(0x1c3)]['getTypeOfUnitAdded$'](_0x299637[_0x16a315(0x2a2)]['UNIVER_DOC'])['pipe'](_0x1bfea8[_0x16a315(0x3ae)](this['dispose$']))[_0x16a315(0x227)](_0x1bfea8['filter'](_0x5e934c=>!_0x5e934c['getUnitId']()['startsWith']('__')))[_0x16a315(0x2f4)](async _0x25ce74=>{const _0x1db920=_0x16a315,_0x4ba524=_0x25ce74[_0x1db920(0x20b)](),_0x1f3d76=await this[_0x1db920(0x2c9)](_0x4ba524);this[_0x1db920(0x352)][_0x1db920(0x2ee)](_0x1f3d76),this[_0x1db920(0x3ba)][_0x1db920(0x22d)](_0x4ba524,_0x1f3d76);}),_0x1bfea8[_0x16a315(0x161)](this['_univerInstanceService'][_0x16a315(0x2b9)](_0x299637[_0x16a315(0x2a2)][_0x16a315(0x3cf)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x299637[_0x16a315(0x2a2)][_0x16a315(0x16f)]))[_0x16a315(0x227)](_0x1bfea8[_0x16a315(0x3ae)](this[_0x16a315(0x369)]))[_0x16a315(0x2f4)](_0x16eaba=>{const _0x13e797=_0x16a315,_0x59ef5a=_0x16eaba[_0x13e797(0x20b)](),_0x4ccd23=this['_entities'][_0x13e797(0x291)](_0x59ef5a);_0x4ccd23&&(_0x4ccd23['dispose'](),this['_entities'][_0x13e797(0x251)](_0x59ef5a));});}async[_0x380425(0x1b9)](_0x2f126f){const _0x51294a=_0x380425,_0x471a5f=await this[_0x51294a(0x1c6)][_0x51294a(0x1f4)](_0x2f126f),_0xe04701=this[_0x51294a(0x3bf)]['createInstance'](_0x406232,_0x2f126f,_0x471a5f);return _0xe04701['init'](),_0xe04701;}async[_0x380425(0x2c9)](_0xf58e60){const _0x47cd24=_0x380425,_0x1d528a=await this[_0x47cd24(0x1c6)][_0x47cd24(0x1f4)](_0xf58e60),_0x4973dd=this[_0x47cd24(0x3bf)]['createInstance'](_0x2ed01a,_0xf58e60,_0x1d528a);return _0x4973dd[_0x47cd24(0x39f)](),_0x4973dd;}};_0x1ba27b=_0x536fa7([_0x44022d(0x0,_0x299637['IUniverInstanceService']),_0x44022d(0x1,_0x299637[_0x380425(0x3b9)](_0x299637['Injector'])),_0x44022d(0x2,_0x299637['Inject'](_0xb22a40['CollaborationSessionService']))],_0x1ba27b);const _0x26b406=0x14,_0x33a939=0xc8,_0x3b1868=0x4,_0x367eb3=0x5;function _0x4762e6(_0xd1adb4,_0x1848bc){const _0x47d803=_0x380425;let {radius:_0x405997,width:_0x4024a7,height:_0x4b2666}=_0x1848bc;_0x405997=_0x405997!=null?_0x405997:0x0,_0x4024a7=_0x4024a7!=null?_0x4024a7:0x1e,_0x4b2666=_0x4b2666!=null?_0x4b2666:0x1e;let _0x33c824=0x0,_0x3f1cc4=0x0,_0x58f91a=0x0;_0x33c824=_0x3f1cc4=_0x58f91a=Math[_0x47d803(0x232)](_0x405997,_0x4024a7/0x2,_0x4b2666/0x2),_0xd1adb4[_0x47d803(0x31b)](),_0xd1adb4['moveTo'](_0x33c824,0x0),_0xd1adb4['lineTo'](_0x4024a7-_0x3f1cc4,0x0),_0xd1adb4[_0x47d803(0x3e9)](_0x4024a7-_0x3f1cc4,_0x3f1cc4,_0x3f1cc4,Math['PI']*0x3/0x2,0x0,!0x1),_0xd1adb4[_0x47d803(0x1ed)](_0x4024a7,_0x4b2666-_0x58f91a),_0xd1adb4['arc'](_0x4024a7-_0x58f91a,_0x4b2666-_0x58f91a,_0x58f91a,0x0,Math['PI']/0x2,!0x1),_0xd1adb4[_0x47d803(0x1ed)](0x0,_0x4b2666),_0xd1adb4[_0x47d803(0x1ed)](0x0,_0x33c824),_0xd1adb4[_0x47d803(0x3e9)](_0x33c824,_0x33c824,_0x33c824,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xd1adb4[_0x47d803(0x3b2)](),_0x1848bc['fill']&&(_0xd1adb4['save'](),_0xd1adb4[_0x47d803(0x326)]=_0x1848bc[_0x47d803(0x209)],_0x1848bc['fillRule']===_0x47d803(0x1d4)?_0xd1adb4[_0x47d803(0x209)](_0x47d803(0x1d4)):_0xd1adb4['fill'](),_0xd1adb4[_0x47d803(0x1a6)]());}class _0x246afe extends _0x500b16[_0x380425(0x250)]{constructor(_0x9fb3b1,_0x52a774){const _0x390f5a=_0x380425;super(_0x9fb3b1,_0x52a774),_0x2921a2(this,_0x390f5a(0x20a)),_0x2921a2(this,'text'),(this[_0x390f5a(0x20a)]=_0x52a774==null?void 0x0:_0x52a774[_0x390f5a(0x20a)],this['text']=_0x52a774==null?void 0x0:_0x52a774[_0x390f5a(0x18b)]);}static[_0x380425(0x343)](_0x34c57c,_0x37bb7b){const _0x491349=_0x380425,{text:_0x3c664f,color:_0x56ed95}=_0x37bb7b;_0x34c57c[_0x491349(0x272)](),_0x34c57c[_0x491349(0x23a)]=_0x491349(0x3a9);const _0x76c7bc=_0x34c57c['measureText'](_0x3c664f)['width'],_0x3cc557=Math[_0x491349(0x232)](_0x76c7bc+0x2*_0x3b1868,_0x33a939);_0x4762e6(_0x34c57c,{'height':_0x26b406,'radius':0x4,'width':_0x3cc557,'fill':_0x56ed95}),_0x34c57c[_0x491349(0x326)]=_0x491349(0x3c3);const _0x486fa7=_0x3b1868,_0x5a6761=_0x26b406-_0x367eb3,_0x3d90bb=_0x33a939-0x2*_0x3b1868;if(_0x76c7bc>_0x3d90bb){let _0x920fa1='',_0x2244cb=0x0;for(const _0x47585d of _0x3c664f){const _0x46ee23=_0x34c57c[_0x491349(0x233)](_0x47585d)[_0x491349(0x1cb)];if(_0x2244cb+_0x46ee23<=_0x3d90bb-_0x34c57c[_0x491349(0x233)](_0x491349(0x322))[_0x491349(0x1cb)])_0x920fa1+=_0x47585d,_0x2244cb+=_0x46ee23;else{_0x920fa1+='...';break;}}_0x34c57c[_0x491349(0x3a3)](_0x920fa1,_0x486fa7,_0x5a6761);}else _0x34c57c['fillText'](_0x3c664f,_0x486fa7,_0x5a6761);_0x34c57c[_0x491349(0x1a6)]();}[_0x380425(0x16a)](_0x40697e){const _0x4267d0=_0x380425;_0x246afe[_0x4267d0(0x343)](_0x40697e,this);}}const _0x1b5973=_0x380425(0x22b),_0x5147b6='collab-text-range-',_0x3dc176=_0x380425(0x2d5),_0x4f033c=0x6,_0x54de2a=1.5,_0x53a5b7=0x4,_0x5278e4=1.5,_0x289553='rgba(255,\x20255,\x20255,\x200.01)';class _0x335cf0{constructor(_0x52d388,_0x1636d3,_0x2f8629,_0xef2d5e){const _0x383a07=_0x380425;_0x2921a2(this,_0x383a07(0x1bc),[]),_0x2921a2(this,'_anchor',null),_0x2921a2(this,_0x383a07(0x3d2),null),_0x2921a2(this,_0x383a07(0x29d),null),_0x2921a2(this,_0x383a07(0x21e),null),_0x2921a2(this,'_eventUnsubscribe',null),(this[_0x383a07(0x189)]=_0x52d388,this['_scene']=_0x1636d3,this[_0x383a07(0x25d)]=_0x2f8629,this[_0x383a07(0x3a2)]=_0xef2d5e,this[_0x383a07(0x252)]());}set[_0x380425(0x2cb)](_0x4e3b54){const _0x2155c2=_0x380425;_0x4e3b54?(this[_0x2155c2(0x29d)]&&this[_0x2155c2(0x29d)][_0x2155c2(0x321)](),this[_0x2155c2(0x3d2)]&&this[_0x2155c2(0x3d2)]['show']()):(this[_0x2155c2(0x29d)]&&this['_anchorDot'][_0x2155c2(0x1ef)](),this[_0x2155c2(0x3d2)]&&this[_0x2155c2(0x3d2)]['hide']());}[_0x380425(0x1ae)](){const _0x402ed0=_0x380425;for(const _0x4e5977 of this['_shapes'])_0x4e5977[_0x402ed0(0x1ae)]();this[_0x402ed0(0x3d2)]&&this[_0x402ed0(0x3d2)][_0x402ed0(0x1ae)](),this[_0x402ed0(0x29d)]&&this['_anchorDot'][_0x402ed0(0x1ae)](),this[_0x402ed0(0x2c5)]&&this[_0x402ed0(0x2c5)]['dispose'](),this[_0x402ed0(0x341)]&&this[_0x402ed0(0x341)]();}[_0x380425(0x252)](){const _0x5856e8=_0x380425;var _0x3f5581;const {_docSkeleton:_0x15d96d,_document:_0x871b8d}=this,{color:_0x15daee,name:_0x40b424,ranges:_0x276d63}=this[_0x5856e8(0x189)],_0x4b03a9=_0x871b8d[_0x5856e8(0x2e3)](),{docsLeft:_0xd20369,docsTop:_0x2ff8b6}=_0x4b03a9,_0x2623e1=new _0x2468cc[(_0x5856e8(0x1c9))](_0x4b03a9,_0x15d96d);for(const {startOffset:_0xb0969c,endOffset:_0x11d49a,rangeType:_0x170fae,segmentId:_0x5afa90,segmentPage:_0x543a80,collapsed:_0x311cc7,isActive:_0x4a448f}of _0x276d63){const _0x2285b3=_0x15d96d[_0x5856e8(0x3c2)](_0xb0969c,!0x0,_0x5afa90,_0x543a80);let _0x2472ca=_0x15d96d[_0x5856e8(0x3c2)](_0x11d49a,!0x0,_0x5afa90,_0x543a80);if(_0x2472ca==null&&(_0x2472ca=_0x15d96d[_0x5856e8(0x3c2)](_0x11d49a-0x1,!0x1,_0x5afa90,_0x543a80)),_0x4a448f){const {contentBoxPointGroup:_0x19eac1}=_0x2623e1[_0x5856e8(0x384)](_0x2472ca,_0x2472ca);if(_0x19eac1[_0x5856e8(0x375)]===0x0)continue;this[_0x5856e8(0x256)](_0x15daee,_0x19eac1,_0xd20369,_0x2ff8b6,_0x40b424),this[_0x5856e8(0x341)]=this['_handleHover']();}if(_0x2285b3&&_0x2472ca){if(_0x170fae===_0x299637[_0x5856e8(0x354)]['RECT']){const _0x298acc=new _0x2468cc['NodePositionConvertToRectRange'](_0x4b03a9,_0x15d96d),{pointGroup:_0x3fae6a}=(_0x3f5581=_0x298acc['getRangePointData'](_0x2285b3,_0x2472ca))!=null?_0x3f5581:{};if(_0x3fae6a==null||_0x3fae6a['length']===0x0)continue;this[_0x5856e8(0x335)](_0x15daee,_0x3fae6a,_0xd20369,_0x2ff8b6);}else{if(!_0x311cc7){const {borderBoxPointGroup:_0x6060f9}=_0x2623e1[_0x5856e8(0x384)](_0x2285b3,_0x2472ca);if(_0x6060f9['length']===0x0)continue;this[_0x5856e8(0x2b6)](_0x15daee,_0x6060f9,_0xd20369,_0x2ff8b6);}}}}}[_0x380425(0x256)](_0xaf81b3,_0x1cc9a5,_0x37c8fd,_0x508a96,_0x30d161){const _0x34f9f4=_0x380425,_0x1f8bbd=this[_0x34f9f4(0x16b)](_0x1cc9a5),{left:_0x508670,top:_0x41e2c4,height:_0x20d254}=_0x1f8bbd,_0x313cc0=this[_0x34f9f4(0x2c6)](),_0x2cf1c3=_0x5278e4/_0x313cc0,_0x56bee8=new _0x500b16[(_0x34f9f4(0x1e9))](_0x1b5973+_0x299637[_0x34f9f4(0x365)]['generateRandomId'](_0x4f033c),{'left':_0x508670+_0x37c8fd-_0x2cf1c3,'top':_0x41e2c4+_0x508a96,'height':_0x20d254,'width':_0x54de2a,'fill':_0xaf81b3||_0x500b16[_0x34f9f4(0x230)](_0x299637[_0x34f9f4(0x24a)]['black'],0x0),'strokeWidth':_0x2cf1c3,'stroke':_0x289553,'evented':!0x0});this[_0x34f9f4(0x2c5)]=_0x56bee8,this[_0x34f9f4(0x3b3)][_0x34f9f4(0x3a6)](_0x56bee8,_0x2468cc[_0x34f9f4(0x2ea)]);const _0x44e42e=new _0x500b16[(_0x34f9f4(0x1e9))](_0x1b5973+_0x299637['Tools'][_0x34f9f4(0x324)](_0x4f033c),{'left':_0x508670+_0x37c8fd-_0x2cf1c3,'top':_0x41e2c4+_0x508a96-_0x53a5b7/0x2,'height':_0x53a5b7,'width':_0x53a5b7,'fill':_0xaf81b3||_0x500b16['getColor'](_0x299637[_0x34f9f4(0x24a)][_0x34f9f4(0x25e)],0x0),'strokeWidth':0x0,'stroke':_0xaf81b3||_0x500b16[_0x34f9f4(0x230)](_0x299637[_0x34f9f4(0x24a)][_0x34f9f4(0x25e)],0x0),'evented':!0x1});this[_0x34f9f4(0x29d)]=_0x44e42e,this[_0x34f9f4(0x3b3)][_0x34f9f4(0x3a6)](_0x44e42e,_0x2468cc[_0x34f9f4(0x2ea)]);const _0x16ddb6=new _0x246afe(_0x1b5973+_0x299637[_0x34f9f4(0x365)][_0x34f9f4(0x324)](_0x4f033c),{'left':_0x508670+_0x37c8fd-_0x2cf1c3,'top':_0x41e2c4+_0x508a96-_0x26b406,'text':_0x30d161,'color':_0xaf81b3});this[_0x34f9f4(0x3d2)]=_0x16ddb6,this[_0x34f9f4(0x3b3)][_0x34f9f4(0x3a6)](_0x16ddb6,_0x2468cc[_0x34f9f4(0x2ea)]),this['_hover']=!0x1;}[_0x380425(0x1ee)](){const _0x1b4923=_0x380425,_0x111fa9=this[_0x1b4923(0x2c5)][_0x1b4923(0x1be)][_0x1b4923(0x357)](()=>{const _0xbf0edf=_0x1b4923;this[_0xbf0edf(0x2cb)]=!0x0;}),_0x3bbe4f=this[_0x1b4923(0x2c5)][_0x1b4923(0x259)][_0x1b4923(0x357)](()=>{const _0x1d5076=_0x1b4923;this[_0x1d5076(0x21e)]&&clearTimeout(this['_hideTimer']),this[_0x1d5076(0x21e)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x5f1a14=_0x1b4923;_0x111fa9[_0x5f1a14(0x31e)](),_0x3bbe4f[_0x5f1a14(0x31e)]();};}[_0x380425(0x2b6)](_0x394a7e,_0x3bea49,_0x2e8e3e,_0x3bf5ab){const _0x49dedf=_0x380425,_0x4e8c48=new _0x299637[(_0x49dedf(0x29f))](_0x394a7e)[_0x49dedf(0x37a)](0.2)[_0x49dedf(0x30b)](),_0xf0854e=new _0x500b16[(_0x49dedf(0x1ba))](_0x5147b6+_0x299637['Tools'][_0x49dedf(0x324)](_0x4f033c),{'pointsGroup':_0x3bea49,'fill':_0x4e8c48||_0x500b16[_0x49dedf(0x230)](_0x299637['COLORS'][_0x49dedf(0x25e)],0.2),'left':_0x2e8e3e,'top':_0x3bf5ab,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x49dedf(0x360)](_0xf0854e),this[_0x49dedf(0x3b3)][_0x49dedf(0x3a6)](_0xf0854e,_0x2468cc[_0x49dedf(0x2ea)]);}[_0x380425(0x335)](_0xf93dcb,_0x10aa6e,_0x1915fd,_0x2ccf6e){const _0x59edc4=_0x380425,_0x305049=new _0x299637['ColorKit'](_0xf93dcb)[_0x59edc4(0x37a)](0.2)[_0x59edc4(0x30b)](),_0x477fca=new _0x500b16[(_0x59edc4(0x1ba))](_0x3dc176+_0x299637[_0x59edc4(0x365)]['generateRandomId'](_0x4f033c),{'pointsGroup':_0x10aa6e,'fill':_0x305049||_0x500b16['getColor'](_0x299637['COLORS']['black'],0.2),'left':_0x1915fd,'top':_0x2ccf6e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x59edc4(0x1bc)][_0x59edc4(0x360)](_0x477fca),this[_0x59edc4(0x3b3)][_0x59edc4(0x3a6)](_0x477fca,_0x2468cc[_0x59edc4(0x2ea)]);}[_0x380425(0x16b)](_0x1867c2){const _0x5b3560=_0x1867c2[0x0],_0xef9644=_0x5b3560[0x0],_0x290866=_0x5b3560[0x2],{x:_0x9c2196,y:_0x1b830f}=_0xef9644,{x:_0x5f867e,y:_0x36335a}=_0x290866;return{'left':_0x9c2196,'top':_0x1b830f,'width':_0x5f867e-_0x9c2196,'height':_0x36335a-_0x1b830f};}[_0x380425(0x2c6)](){const _0x20458b=_0x380425,{scaleX:_0x3e07a3,scaleY:_0x2a7f3c}=this[_0x20458b(0x3b3)]['getAncestorScale']();return Math[_0x20458b(0x24b)](_0x3e07a3,_0x2a7f3c);}}var _0x40e9ee=Object[_0x380425(0x32b)],_0x20f438=(_0xb30d59,_0x6179b3,_0x213b54,_0x468157)=>{for(var _0x12d6d0=_0x468157>0x1?void 0x0:_0x468157?_0x40e9ee(_0x6179b3,_0x213b54):_0x6179b3,_0x1b3164=_0xb30d59['length']-0x1,_0x29535c;_0x1b3164>=0x0;_0x1b3164--)(_0x29535c=_0xb30d59[_0x1b3164])&&(_0x12d6d0=_0x29535c(_0x12d6d0)||_0x12d6d0);return _0x12d6d0;},_0x18adb7=(_0x20915b,_0x1004bd)=>(_0x83cf98,_0x39d9e2)=>_0x1004bd(_0x83cf98,_0x39d9e2,_0x20915b);let _0x5a9146=class extends _0x299637['RxDisposable']{constructor(_0x45755b,_0x5ea32c,_0x1665da,_0x3ed49d,_0x54bae7){const _0x3e83ea=_0x380425;super(),_0x2921a2(this,_0x3e83ea(0x362),[]),_0x2921a2(this,_0x3e83ea(0x1b2),[]),(this[_0x3e83ea(0x1f9)]=_0x45755b,this[_0x3e83ea(0x398)]=_0x5ea32c,this[_0x3e83ea(0x236)]=_0x1665da,this[_0x3e83ea(0x383)]=_0x3ed49d,this[_0x3e83ea(0x2d7)]=_0x54bae7,this[_0x3e83ea(0x278)]());}['_init'](){const _0x5a872f=_0x380425,_0xd81a9c=this['_context'][_0x5a872f(0x208)],_0x18596c=this[_0x5a872f(0x398)];this['disposeWithMe'](_0x1bfea8[_0x5a872f(0x2d2)]([this[_0x5a872f(0x236)]['getCollabCursors$'](_0xd81a9c),this[_0x5a872f(0x2d7)]['currentTheme$']])[_0x5a872f(0x227)](_0x564875[_0x5a872f(0x364)](([_0x4c3f09,_0x4bb310])=>({'skeleton':_0x18596c[_0x5a872f(0x2dc)](),'cursors':[..._0x4c3f09['values']()][_0x5a872f(0x399)](_0x420491=>({..._0x420491,'color':_0x4bb310[_0x420491[_0x5a872f(0x20a)]]}))})))[_0x5a872f(0x2f4)](_0x33dbfd=>{const _0xbd6a24=_0x5a872f;if(this[_0xbd6a24(0x27e)](),_0x33dbfd){const {skeleton:_0x1ef146,cursors:_0x5f1b22}=_0x33dbfd;this[_0xbd6a24(0x1b4)](_0x1ef146,_0x5f1b22);}})),this[_0x5a872f(0x1db)](),this['_initCommandExecutedListener']();}[_0x380425(0x1b4)](_0x130809,_0x2e598b){const _0x284da1=_0x380425,{scene:_0x17ae6b,mainComponent:_0x7f5d12}=this[_0x284da1(0x1f9)],_0xf4f42f=_0x2e598b[_0x284da1(0x364)](_0x3f79c4=>new _0x335cf0(_0x3f79c4,_0x17ae6b,_0x130809,_0x7f5d12));this[_0x284da1(0x362)]=_0xf4f42f,this['_cursors']=_0x2e598b;}['_refreshCollabCursors'](){const _0x20c253=_0x380425;this[_0x20c253(0x27e)]();const {scene:_0xa212f2,mainComponent:_0x217ba6}=this[_0x20c253(0x1f9)],_0x8cf965=this['_docSkeletonManagerService'][_0x20c253(0x2dc)](),_0x143e88=this['_cursors'][_0x20c253(0x364)](_0x8541b9=>new _0x335cf0(_0x8541b9,_0xa212f2,_0x8cf965,_0x217ba6));this[_0x20c253(0x362)]=_0x143e88;}[_0x380425(0x27e)](){const _0x3309f4=_0x380425;this[_0x3309f4(0x362)]['forEach'](_0x5d4b36=>_0x5d4b36[_0x3309f4(0x1ae)]()),this[_0x3309f4(0x362)]=[];}[_0x380425(0x2f8)](){const _0x344f47=_0x380425,_0x330266=[_0x2468cc[_0x344f47(0x1f5)]['id']];this[_0x344f47(0x379)](this[_0x344f47(0x383)][_0x344f47(0x33c)](_0x46d132=>{const _0x5264a6=_0x344f47;_0x330266[_0x5264a6(0x247)](_0x46d132['id'])&&_0x46d132[_0x5264a6(0x1dc)]['unitId']===this[_0x5264a6(0x1f9)][_0x5264a6(0x208)]&&this['_refreshCollabCursors']();}));}[_0x380425(0x1db)](){const _0x279b6e=_0x380425;this[_0x279b6e(0x379)](_0x299637[_0x279b6e(0x18c)](this[_0x279b6e(0x1f9)][_0x279b6e(0x174)]['onTransformChange$'])[_0x279b6e(0x227)](_0x564875['filter'](_0x3a17ea=>_0x3a17ea[_0x279b6e(0x382)]===_0x500b16[_0x279b6e(0x3a8)][_0x279b6e(0x198)]),_0x564875[_0x279b6e(0x3cd)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x5a9146=_0x20f438([_0x18adb7(0x1,_0x299637[_0x380425(0x3b9)](_0x4c9a7c['DocSkeletonManagerService'])),_0x18adb7(0x2,_0x299637[_0x380425(0x3b9)](_0x1ba27b)),_0x18adb7(0x3,_0x299637[_0x380425(0x219)]),_0x18adb7(0x4,_0x299637[_0x380425(0x3b9)](_0x299637[_0x380425(0x36a)]))],_0x5a9146);const _0x878727=0x1,_0x87413f=1.5;class _0x22955c extends _0x500b16['Shape']{constructor(_0x48da45,_0x4f30b0){const _0x43bf2d=_0x380425;super(_0x48da45,_0x4f30b0),_0x2921a2(this,_0x43bf2d(0x199)),_0x2921a2(this,_0x43bf2d(0x244),!0x1),_0x2921a2(this,'_range'),_0x2921a2(this,_0x43bf2d(0x1f6),''),_0x2921a2(this,_0x43bf2d(0x282),_0x43bf2d(0x26f)),_0x2921a2(this,_0x43bf2d(0x28f)),(_0x4f30b0&&this[_0x43bf2d(0x228)](_0x4f30b0),this[_0x43bf2d(0x1be)][_0x43bf2d(0x357)](()=>this[_0x43bf2d(0x228)]({'hovered':!0x0})),this[_0x43bf2d(0x259)][_0x43bf2d(0x357)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x380425(0x228)](_0x127a89){const _0x5ef86b=_0x380425;var _0x3d5d86,_0x58ebf1,_0x5c194d,_0x29ddd3,_0x317f4d,_0x200754;this[_0x5ef86b(0x199)]=(_0x3d5d86=_0x127a89[_0x5ef86b(0x20a)])!=null?_0x3d5d86:this['_color'],this[_0x5ef86b(0x244)]=(_0x58ebf1=_0x127a89[_0x5ef86b(0x372)])!=null?_0x58ebf1:this[_0x5ef86b(0x244)],this[_0x5ef86b(0x25a)]=(_0x5c194d=_0x127a89['range'])!=null?_0x5c194d:this[_0x5ef86b(0x25a)],this[_0x5ef86b(0x1f6)]=(_0x29ddd3=_0x127a89[_0x5ef86b(0x231)])!=null?_0x29ddd3:this['_name'],this[_0x5ef86b(0x282)]=(_0x317f4d=_0x127a89[_0x5ef86b(0x239)])!=null?_0x317f4d:this[_0x5ef86b(0x282)],this[_0x5ef86b(0x28f)]=(_0x200754=_0x127a89['backgroundColor'])!=null?_0x200754:this[_0x5ef86b(0x28f)],this[_0x5ef86b(0x1d9)]({'width':_0x127a89[_0x5ef86b(0x1cb)],'height':_0x127a89[_0x5ef86b(0x1a3)]});}[_0x380425(0x3ec)](_0x167698){const _0x21fd06=_0x380425,{row:_0x213eb8,column:_0x19f7f9}=_0x167698;if(_0x213eb8>=this[_0x21fd06(0x25a)]['startRow']&&_0x213eb8<=this[_0x21fd06(0x25a)][_0x21fd06(0x288)]&&_0x19f7f9>=this[_0x21fd06(0x25a)][_0x21fd06(0x3ab)]&&_0x19f7f9<=this[_0x21fd06(0x25a)][_0x21fd06(0x2fa)]){this[_0x21fd06(0x228)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x380425(0x26a)](_0x226a2a){return!0x1;}[_0x380425(0x16a)](_0x1d3def){const _0x14d958=_0x380425;_0x500b16[_0x14d958(0x1e9)][_0x14d958(0x343)](_0x1d3def,{'width':this[_0x14d958(0x1cb)],'height':this[_0x14d958(0x1a3)],'strokeWidth':_0x87413f,'stroke':this[_0x14d958(0x199)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x1d3def[_0x14d958(0x272)](),_0x1d3def[_0x14d958(0x262)](0x1,0x0,0x0,0x1,this[_0x14d958(0x1cb)],this['_labelPosition']===_0x14d958(0x173)?0x0:-0x14),_0x246afe[_0x14d958(0x343)](_0x1d3def,{'text':this['_name'],'color':this[_0x14d958(0x199)]}),_0x1d3def['restore']());}}var _0x59e888=Object['getOwnPropertyDescriptor'],_0x3ba2a7=(_0x1da983,_0x58937d,_0xea2f9a,_0x539ebb)=>{for(var _0x55a9ca=_0x539ebb>0x1?void 0x0:_0x539ebb?_0x59e888(_0x58937d,_0xea2f9a):_0x58937d,_0x5bbedb=_0x1da983['length']-0x1,_0x511ebc;_0x5bbedb>=0x0;_0x5bbedb--)(_0x511ebc=_0x1da983[_0x5bbedb])&&(_0x55a9ca=_0x511ebc(_0x55a9ca)||_0x55a9ca);return _0x55a9ca;},_0x2f859c=(_0xccf118,_0x58de83)=>(_0x18a7d8,_0x2b2686)=>_0x58de83(_0x18a7d8,_0x2b2686,_0xccf118);const _0x3dad75=0x1389;let _0x2c41b2=class extends _0x299637[_0x380425(0x294)]{constructor(_0x2ce35f,_0x407210,_0x52e4f9,_0x2f5ac8){const _0x4696cf=_0x380425;super(),_0x2921a2(this,_0x4696cf(0x1b2),new Set()),_0x2921a2(this,'_lastPointer',null),(this['_context']=_0x2ce35f,this[_0x4696cf(0x2ac)]=_0x407210,this['_collabCursorController']=_0x52e4f9,this['_themeService']=_0x2f5ac8,this[_0x4696cf(0x278)]());}[_0x380425(0x278)](){const _0x582877=_0x380425;this[_0x582877(0x2ac)]['currentSkeleton$'][_0x582877(0x227)](_0x564875[_0x582877(0x3ae)](this['dispose$']),_0x564875[_0x582877(0x2a1)](_0x46a22e=>{const _0x43c089=_0x582877;if(_0x46a22e){const _0x89395c=_0x46a22e[_0x43c089(0x316)];return _0x1bfea8[_0x43c089(0x2d2)](this[_0x43c089(0x236)][_0x43c089(0x2b3)](this['_context']['unitId']),this[_0x43c089(0x2d7)][_0x43c089(0x3eb)])['pipe'](_0x564875[_0x43c089(0x364)](([_0x5c458f,_0x39cff8])=>{const _0x5bf0ac=_0x43c089,_0xd47996=new Map();return _0x5c458f[_0x5bf0ac(0x27c)]((_0x556fec,_0x13a0e6)=>{const _0x332964=_0x5bf0ac;if(_0x556fec['sheetID']===_0x89395c){const _0x193f22={..._0x556fec};_0x193f22['color']=_0x39cff8[_0x556fec[_0x332964(0x20a)]],_0xd47996[_0x332964(0x22d)](_0x13a0e6,_0x193f22);}}),{'skeleton':_0x46a22e,'cursors':_0xd47996};}));}return _0x1bfea8['of']({'skeleton':null,'cursors':new Map()});}))[_0x582877(0x2f4)](({skeleton:_0x5ee420,cursors:_0x1fbe7f})=>{const _0x5a01cd=_0x582877;this[_0x5a01cd(0x27e)](),_0x5ee420&&this[_0x5a01cd(0x1b4)](_0x5ee420,_0x1fbe7f);}),this[_0x582877(0x2ac)][_0x582877(0x3e8)]['subscribe'](_0x2e4ed2=>{const _0x5f00b0=_0x582877;if(_0x2e4ed2==null)return;const {skeleton:_0x4c7795}=_0x2e4ed2,{scene:_0x9397f4}=this['_context'];_0x9397f4[_0x5f00b0(0x299)][_0x5f00b0(0x357)](_0x299637[_0x5f00b0(0x169)](_0xd32748=>{const _0x474348=_0x5f00b0;var _0x459e40,_0x1637bd;const {offsetX:_0x3080ac,offsetY:_0x5f02f0}=_0xd32748,{x:_0x33db59,y:_0x11536b}=_0x9397f4['getRelativeToViewportCoord'](_0x500b16[_0x474348(0x275)][_0x474348(0x21d)]([_0x3080ac,_0x5f02f0])),{scaleX:_0x34f4f8,scaleY:_0x116db5}=_0x9397f4[_0x474348(0x1c8)](),_0x5b1043=_0x9397f4[_0x474348(0x25f)](_0x500b16['SHEET_VIEWPORT_KEY'][_0x474348(0x33f)]),_0x4b2613=_0x9397f4[_0x474348(0x187)](_0x500b16[_0x474348(0x275)][_0x474348(0x21d)]([_0x33db59,_0x11536b]),_0x5b1043),_0x219518=_0x4c7795[_0x474348(0x226)](_0x3080ac,_0x5f02f0,_0x34f4f8,_0x116db5,_0x4b2613);((_0x459e40=this[_0x474348(0x395)])==null?void 0x0:_0x459e40[_0x474348(0x26b)])===_0x219518[_0x474348(0x26b)]&&((_0x1637bd=this[_0x474348(0x395)])==null?void 0x0:_0x1637bd['row'])===_0x219518[_0x474348(0x15e)]||this[_0x474348(0x1b2)][_0x474348(0x27c)](_0x54b09f=>{_0x54b09f['onMouseMove'](_0x219518);});},0x64));});}['_updateCollabCursors'](_0x36c9ac,_0x47ebe9){const _0x3ad061=_0x380425;var _0x1220ed;const _0x2c4f16=(_0x1220ed=this[_0x3ad061(0x2ac)][_0x3ad061(0x295)]())==null?void 0x0:_0x1220ed[_0x3ad061(0x36e)];if(!_0x2c4f16)return;const _0x24cfea=this[_0x3ad061(0x18a)]();if(!_0x24cfea)return;this[_0x3ad061(0x1b2)]['forEach'](_0x1731c8=>{_0x1731c8['makeDirty']();});const {scene:_0x49da87}=_0x24cfea,_0x42feed=_0x59d80b(Array[_0x3ad061(0x176)](_0x47ebe9[_0x3ad061(0x287)]()))[_0x3ad061(0x364)](_0xa95d66=>{const _0x14ccaf=_0x3ad061,{color:_0x1fd818,range:_0x4a06bd,name:_0x2b8248,selection:_0x382260,sheetID:_0x13e736}=_0xa95d66,{startColumn:_0x212b09,startRow:_0xd5a603,endColumn:_0x3ef27d,endRow:_0x104086}=_0x4a06bd,_0x591478=_0x5e4848[_0x14ccaf(0x3b0)](_0xd5a603,_0x212b09,_0x49da87,_0x2c4f16),_0x2cf167=_0x5e4848[_0x14ccaf(0x3b0)](_0x104086,_0x3ef27d,_0x49da87,_0x2c4f16),{columnHeaderHeightAndMarginTop:_0x3d254e}=_0x2c4f16,{startX:_0x465e59,startY:_0xc0c480}=_0x591478,{endX:_0x271644,endY:_0x4a97ae}=_0x2cf167,_0x884684=_0x271644-_0x465e59,_0x269eb8=_0x4a97ae-_0xc0c480,_0x4ba28d={'labelPosition':_0xc0c480-_0x3d254e>=_0x26b406?_0x14ccaf(0x26f):_0x14ccaf(0x173),'sheetID':_0x13e736,'range':_0x4a06bd,'color':_0x1fd818,'name':_0x2b8248,'selection':_0x382260,'left':_0x465e59,'top':_0xc0c480,'width':_0x884684,'height':_0x269eb8,'evented':!0x1,'zIndex':_0x3dad75};return new _0x22955c(_0x2b8248,_0x4ba28d);});_0x49da87[_0x3ad061(0x3c0)](_0x42feed,_0x878727),this['_cursors']=new Set(_0x42feed);}[_0x380425(0x27e)](){const _0x3ec910=_0x380425;var _0xb35c99;(_0xb35c99=this['_cursors'])==null||_0xb35c99['forEach'](_0x1908a1=>_0x1908a1[_0x3ec910(0x1ae)]());}[_0x380425(0x18a)](){const _0x326f70=_0x380425;return _0x5e4848['getSheetObject'](this[_0x326f70(0x1f9)][_0x326f70(0x1a1)],this[_0x326f70(0x1f9)]);}};_0x2c41b2=_0x3ba2a7([_0x2f859c(0x1,_0x299637[_0x380425(0x3b9)](_0x5e4848[_0x380425(0x21c)])),_0x2f859c(0x2,_0x299637[_0x380425(0x3b9)](_0x1ba27b)),_0x2f859c(0x3,_0x299637[_0x380425(0x3b9)](_0x299637[_0x380425(0x36a)]))],_0x2c41b2);function _0x59d80b(_0x13dd93){const _0x3648e2=_0x380425,_0xe9433f=new Map();return _0x13dd93[_0x3648e2(0x27c)](_0x4f349f=>{const _0x2ed1d6=_0x3648e2;if(_0xe9433f[_0x2ed1d6(0x20d)](_0x4f349f[_0x2ed1d6(0x329)])){const _0x10150f=_0xe9433f[_0x2ed1d6(0x291)](_0x4f349f[_0x2ed1d6(0x329)]);_0x10150f[_0x2ed1d6(0x231)]+=',\x20'+_0x4f349f['name'];}else _0xe9433f[_0x2ed1d6(0x22d)](_0x4f349f[_0x2ed1d6(0x329)],_0x4f349f);}),Array[_0x3648e2(0x176)](_0xe9433f[_0x3648e2(0x287)]());}var _0x5cfbf7=function(){const _0x10cf5b=_0x380425;return _0x5cfbf7=Object['assign']||function(_0x3f9d07){const _0x16bb97=_0x56b1;for(var _0x3fc166,_0x88a4de=0x1,_0x299735=arguments[_0x16bb97(0x375)];_0x88a4de<_0x299735;_0x88a4de++){_0x3fc166=arguments[_0x88a4de];for(var _0x107c0a in _0x3fc166)Object[_0x16bb97(0x1a4)][_0x16bb97(0x1ab)][_0x16bb97(0x19f)](_0x3fc166,_0x107c0a)&&(_0x3f9d07[_0x107c0a]=_0x3fc166[_0x107c0a]);}return _0x3f9d07;},_0x5cfbf7[_0x10cf5b(0x1ec)](this,arguments);},_0x12f979=function(_0x3599ca,_0x3a1bf2){const _0x46f187=_0x380425;var _0x26c21a={};for(var _0x69cea9 in _0x3599ca)Object[_0x46f187(0x1a4)]['hasOwnProperty'][_0x46f187(0x19f)](_0x3599ca,_0x69cea9)&&_0x3a1bf2[_0x46f187(0x314)](_0x69cea9)<0x0&&(_0x26c21a[_0x69cea9]=_0x3599ca[_0x69cea9]);if(_0x3599ca!=null&&typeof Object[_0x46f187(0x263)]==_0x46f187(0x280)){for(var _0x234d7d=0x0,_0x69cea9=Object[_0x46f187(0x263)](_0x3599ca);_0x234d7d<_0x69cea9[_0x46f187(0x375)];_0x234d7d++)_0x3a1bf2[_0x46f187(0x314)](_0x69cea9[_0x234d7d])<0x0&&Object[_0x46f187(0x1a4)][_0x46f187(0x268)][_0x46f187(0x19f)](_0x3599ca,_0x69cea9[_0x234d7d])&&(_0x26c21a[_0x69cea9[_0x234d7d]]=_0x3599ca[_0x69cea9[_0x234d7d]]);}return _0x26c21a;},_0x2805a8=_0x2a0a1c['forwardRef'](function(_0x5d2638,_0x3d529b){const _0x222fe1=_0x380425;var _0x42233f=_0x5d2638[_0x222fe1(0x22a)],_0x22cdd7=_0x5d2638['id'],_0x2febd3=_0x5d2638[_0x222fe1(0x151)],_0x2d23c4=_0x5d2638[_0x222fe1(0x302)],_0x14e6ec=_0x12f979(_0x5d2638,[_0x222fe1(0x22a),'id',_0x222fe1(0x151),'extend']),_0x204dd7='univerjs-icon\x20univerjs-icon-'[_0x222fe1(0x2e5)](_0x22cdd7,'\x20')['concat'](_0x2febd3||'')[_0x222fe1(0x1d3)](),_0x15eba0=_0x2a0a1c[_0x222fe1(0x2c1)]('_'[_0x222fe1(0x2e5)](_0x4676d5()));return _0x12dea7(_0x42233f,''[_0x222fe1(0x2e5)](_0x22cdd7),{'defIds':_0x42233f[_0x222fe1(0x38c)],'idSuffix':_0x15eba0[_0x222fe1(0x203)]},_0x5cfbf7({'ref':_0x3d529b,'className':_0x204dd7},_0x14e6ec),_0x2d23c4);});function _0x12dea7(_0x4564a0,_0x1687f1,_0xd9fdce,_0x4c320e,_0x2c35a1){const _0x4d681d=_0x380425;return _0x2a0a1c[_0x4d681d(0x186)](_0x4564a0['tag'],_0x5cfbf7(_0x5cfbf7({'key':_0x1687f1},_0x251e1d(_0x4564a0,_0xd9fdce,_0x2c35a1)),_0x4c320e),(_0x4f6dea(_0x4564a0,_0xd9fdce)[_0x4d681d(0x17a)]||[])['map'](function(_0x5cb541,_0x104b45){const _0x1d3dfd=_0x4d681d;return _0x12dea7(_0x5cb541,''[_0x1d3dfd(0x2e5)](_0x1687f1,'-')[_0x1d3dfd(0x2e5)](_0x4564a0[_0x1d3dfd(0x254)],'-')['concat'](_0x104b45),_0xd9fdce,void 0x0,_0x2c35a1);}));}function _0x251e1d(_0x26a872,_0x5d0295,_0x248e22){const _0x2f2120=_0x380425;var _0x3719cf=_0x5cfbf7({},_0x26a872[_0x2f2120(0x3d0)]);_0x248e22!=null&&_0x248e22[_0x2f2120(0x32e)]&&_0x3719cf[_0x2f2120(0x209)]==='colorChannel1'&&(_0x3719cf[_0x2f2120(0x209)]=_0x248e22[_0x2f2120(0x32e)]),_0x26a872[_0x2f2120(0x254)]===_0x2f2120(0x388)&&_0x3719cf['id']&&(_0x3719cf['id']=_0x3719cf['id']+_0x5d0295[_0x2f2120(0x1e2)]),Object[_0x2f2120(0x36d)](_0x3719cf)[_0x2f2120(0x27c)](function(_0x1d74e5){const _0x5891d4=_0x2f2120;var _0x33e05c=_0x1d74e5[0x0],_0x457731=_0x1d74e5[0x1];_0x33e05c===_0x5891d4(0x388)&&typeof _0x457731=='string'&&(_0x3719cf[_0x33e05c]=_0x457731[_0x5891d4(0x1dd)](/url\(#(.*)\)/,_0x5891d4(0x325)['concat'](_0x5d0295[_0x5891d4(0x1e2)],')')));});var _0x429045=_0x5d0295[_0x2f2120(0x38c)];return!_0x429045||_0x429045['length']===0x0||(_0x26a872['tag']===_0x2f2120(0x2ba)&&_0x3719cf[_0x2f2120(0x269)]&&(_0x3719cf[_0x2f2120(0x269)]=_0x3719cf['xlink:href']+_0x5d0295['idSuffix']),Object[_0x2f2120(0x36d)](_0x3719cf)[_0x2f2120(0x27c)](function(_0x30f3cc){const _0x1a38d2=_0x2f2120;var _0x9b7e84=_0x30f3cc[0x0],_0x2f2b79=_0x30f3cc[0x1];typeof _0x2f2b79=='string'&&(_0x3719cf[_0x9b7e84]=_0x2f2b79['replace'](/url\(#(.*)\)/,_0x1a38d2(0x325)['concat'](_0x5d0295[_0x1a38d2(0x1e2)],')')));})),_0x3719cf;}function _0x4f6dea(_0x596f0c,_0x57604f){const _0x5a07c6=_0x380425;var _0x1bc013,_0x13d6f8=_0x57604f[_0x5a07c6(0x38c)];return!_0x13d6f8||_0x13d6f8[_0x5a07c6(0x375)]===0x0?_0x596f0c:_0x596f0c[_0x5a07c6(0x254)]==='defs'&&(!((_0x1bc013=_0x596f0c[_0x5a07c6(0x17a)])===null||_0x1bc013===void 0x0)&&_0x1bc013[_0x5a07c6(0x375)])?_0x5cfbf7(_0x5cfbf7({},_0x596f0c),{'children':_0x596f0c[_0x5a07c6(0x17a)]['map'](function(_0x97d48f){const _0x339487=_0x5a07c6;return typeof _0x97d48f[_0x339487(0x3d0)]['id']==_0x339487(0x2d4)&&_0x13d6f8&&_0x13d6f8[_0x339487(0x314)](_0x97d48f[_0x339487(0x3d0)]['id'])>-0x1?_0x5cfbf7(_0x5cfbf7({},_0x97d48f),{'attrs':_0x5cfbf7(_0x5cfbf7({},_0x97d48f[_0x339487(0x3d0)]),{'id':_0x97d48f['attrs']['id']+_0x57604f[_0x339487(0x1e2)]})}):_0x97d48f;})}):_0x596f0c;}function _0x4676d5(){const _0x2cdd94=_0x380425;return Math[_0x2cdd94(0x313)]()[_0x2cdd94(0x35d)](0x24)[_0x2cdd94(0x37b)](0x2,0x8);}_0x2805a8[_0x380425(0x2be)]=_0x380425(0x2b5);var _0x28f48b={'tag':'svg','attrs':{'fill':_0x380425(0x3d4),'viewBox':'0\x200\x2016\x2016','width':_0x380425(0x347),'height':_0x380425(0x347)},'children':[{'tag':'g','attrs':{'clipPath':_0x380425(0x16e)},'children':[{'tag':_0x380425(0x3c1),'attrs':{'stroke':'currentColor','d':_0x380425(0x1c0),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x380425(0x3ac),'attrs':{},'children':[{'tag':_0x380425(0x2e1),'attrs':{'id':_0x380425(0x1d6)},'children':[{'tag':_0x380425(0x3c1),'attrs':{'fill':_0x380425(0x1f0),'d':_0x380425(0x222)}}]}]}],'defIds':[_0x380425(0x1d6)]},_0x577b18=_0x2a0a1c[_0x380425(0x37f)](function(_0x2eaec7,_0x2dde58){const _0x588e28=_0x380425;return _0x2a0a1c[_0x588e28(0x186)](_0x2805a8,Object['assign']({},_0x2eaec7,{'id':_0x588e28(0x164),'ref':_0x2dde58,'icon':_0x28f48b}));});_0x577b18[_0x380425(0x2be)]=_0x380425(0x2c2);var _0x2eb153={'tag':_0x380425(0x3dd),'attrs':{'fill':_0x380425(0x3d4),'viewBox':_0x380425(0x1e6),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x380425(0x3c1),'attrs':{'stroke':_0x380425(0x393),'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':_0x380425(0x358),'strokeLinejoin':_0x380425(0x358),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x380425(0x2e1),'attrs':{'id':_0x380425(0x2d3)},'children':[{'tag':_0x380425(0x3c1),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x380425(0x298)}}]}]}],'defIds':[_0x380425(0x2d3)]},_0x78ff12=_0x2a0a1c['forwardRef'](function(_0x31923a,_0x3d9b1f){const _0x46dd43=_0x380425;return _0x2a0a1c[_0x46dd43(0x186)](_0x2805a8,Object[_0x46dd43(0x1a0)]({},_0x31923a,{'id':'on-line-single','ref':_0x3d9b1f,'icon':_0x2eb153}));});_0x78ff12[_0x380425(0x2be)]=_0x380425(0x3e0);const _0xcfbd64={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x380425(0x276),'onlineStatus':_0x380425(0x21a),'online':_0x380425(0x277),'offline':'univer-offline'};function _0x21eabd(_0x1604c2){const _0x276444=_0x380425;switch(_0x1604c2){case _0xb22a40[_0x276444(0x373)]['OFFLINE']:return _0x276444(0x2a5);case _0xb22a40[_0x276444(0x373)][_0x276444(0x163)]:return _0x276444(0x396);case _0xb22a40[_0x276444(0x373)]['FETCH_MISS']:return _0x276444(0x317);case _0xb22a40[_0x276444(0x373)][_0x276444(0x27d)]:return _0x276444(0x3a4);case _0xb22a40[_0x276444(0x373)][_0x276444(0x16d)]:case _0xb22a40[_0x276444(0x373)][_0x276444(0x3bb)]:return _0x276444(0x170);case _0xb22a40['CollaborationStatus'][_0x276444(0x348)]:case _0xb22a40[_0x276444(0x373)][_0x276444(0x1a7)]:return'collabStatus.synced';}}function _0x10915f(_0x134bc0){const _0x3f1f42=_0x380425,{status$:_0x5a8bb8}=_0x134bc0,_0x4159d3=_0x403dec[_0x3f1f42(0x3c7)](_0x5a8bb8,_0xb22a40[_0x3f1f42(0x373)][_0x3f1f42(0x27d)]),_0x302381=_0x403dec['useDependency'](_0x299637[_0x3f1f42(0x328)]),_0x3e80ca=_0x403dec[_0x3f1f42(0x2c4)](_0xb22a40[_0x3f1f42(0x2ae)]),_0xf568af=_0x4159d3!==_0xb22a40['CollaborationStatus'][_0x3f1f42(0x2f2)],_0x14cedf=_0x302381['t'](_0x21eabd(_0x4159d3)),_0x589d88=_0xc76b[_0x3f1f42(0x3ad)](_0xcfbd64[_0x3f1f42(0x32f)],{[_0xcfbd64[_0x3f1f42(0x2ec)]]:_0xf568af,[_0xcfbd64['offline']]:!_0xf568af}),_0x59ef64=_0xf568af?_0x3d962d['jsx'](_0x78ff12,{}):_0x3d962d[_0x3f1f42(0x2af)](_0x577b18,{}),_0x357729=_0x2a0a1c[_0x3f1f42(0x29e)](()=>{const _0x52f320=_0x3f1f42;_0xf568af||_0x3e80ca[_0x52f320(0x1ce)]();},[_0xf568af,_0x3e80ca]);function _0x199d45(){const _0x5bf286=_0x3f1f42;return _0x3d962d[_0x5bf286(0x21f)](_0x5bf286(0x330),{'className':_0xc76b['clsx'](_0x589d88,'univer-flex\x20univer-items-center'),'onClick':_0x357729,'children':[_0x3d962d[_0x5bf286(0x2af)](_0x5bf286(0x330),{'className':_0xcfbd64[_0x5bf286(0x3e5)],'children':_0x59ef64}),_0x3d962d[_0x5bf286(0x2af)](_0x5bf286(0x330),{'className':_0xcfbd64[_0x5bf286(0x38d)],'children':_0x14cedf})]});}return _0xf568af?_0x199d45():_0x3d962d['jsx'](_0xc76b[_0x3f1f42(0x2e2)],{'title':_0x302381['t'](_0x3f1f42(0x14d)),'children':_0x199d45()});}var _0x218848=Object[_0x380425(0x32b)],_0x1cd1cc=(_0x272b26,_0x455575,_0x179b58,_0x257337)=>{const _0x3f6e6c=_0x380425;for(var _0x432fe5=_0x257337>0x1?void 0x0:_0x257337?_0x218848(_0x455575,_0x179b58):_0x455575,_0x4168a3=_0x272b26[_0x3f6e6c(0x375)]-0x1,_0x4168d7;_0x4168a3>=0x0;_0x4168a3--)(_0x4168d7=_0x272b26[_0x4168a3])&&(_0x432fe5=_0x4168d7(_0x432fe5)||_0x432fe5);return _0x432fe5;},_0x2cd93e=(_0x52d1a3,_0x19e0b0)=>(_0x33e3b5,_0x4bbf8e)=>_0x19e0b0(_0x33e3b5,_0x4bbf8e,_0x52d1a3);_0x21b587[_0x380425(0x218)]=class extends _0x299637[_0x380425(0x3c9)]{constructor(_0x152072,_0xe6bc44,_0x2cfa8a,_0x4c80fa){const _0x35b845=_0x380425;super(),_0x2921a2(this,_0x35b845(0x1b0),new _0x1bfea8['BehaviorSubject'](_0xb22a40[_0x35b845(0x373)][_0x35b845(0x27d)])),(this['_univerInstanceService']=_0x152072,this['_injector']=_0xe6bc44,this['_collaborationController']=_0x2cfa8a,this[_0x35b845(0x2a6)]=_0x4c80fa,this['_initStatusComponent'](),this[_0x35b845(0x157)]());}[_0x380425(0x157)](){const _0x50b2f5=_0x380425;this[_0x50b2f5(0x379)](this['_univerInstanceService'][_0x50b2f5(0x300)][_0x50b2f5(0x227)](_0x1bfea8[_0x50b2f5(0x2a1)](()=>{const _0x511772=_0x50b2f5,_0x10ceba=this['_univerInstanceService'][_0x511772(0x2bd)]();return _0x10ceba?this[_0x511772(0x255)][_0x511772(0x318)](_0x10ceba[_0x511772(0x20b)]()):_0x1bfea8['of'](null);}),_0x1bfea8[_0x50b2f5(0x2a1)](_0x150b93=>_0x150b93?_0x150b93[_0x50b2f5(0x311)]:_0x1bfea8['of'](_0xb22a40[_0x50b2f5(0x373)][_0x50b2f5(0x27d)])))[_0x50b2f5(0x2f4)](_0x5967c2=>{const _0x3011b1=_0x50b2f5;this[_0x3011b1(0x1b0)][_0x3011b1(0x2ee)](_0x5967c2);}));}[_0x380425(0x37e)](){const _0x5758d2=_0x380425;this[_0x5758d2(0x379)](this['_uiPartsService'][_0x5758d2(0x258)](_0x403dec[_0x5758d2(0x30f)][_0x5758d2(0x353)],()=>_0x403dec[_0x5758d2(0x36f)](_0xa7b686({'status$':this[_0x5758d2(0x1b0)]['asObservable']()}),this[_0x5758d2(0x3bf)])));}},_0x21b587[_0x380425(0x218)]=_0x1cd1cc([_0x2cd93e(0x0,_0x299637['IUniverInstanceService']),_0x2cd93e(0x1,_0x299637['Inject'](_0x299637[_0x380425(0x20c)])),_0x2cd93e(0x2,_0x299637['Inject'](_0xb22a40['CollaborationController'])),_0x2cd93e(0x3,_0x403dec[_0x380425(0x1a5)])],_0x21b587[_0x380425(0x218)]);function _0xa7b686(_0x637943){const {status$:_0x41d498}=_0x637943;return function(){const _0x209a22=_0x56b1;return _0x3d962d[_0x209a22(0x2af)](_0x10915f,{'status$':_0x41d498});};}var _0xcb5874=Object['getOwnPropertyDescriptor'],_0x150a14=(_0x5692f7,_0x238310,_0x546255,_0x5cafb0)=>{const _0x3a12a2=_0x380425;for(var _0x38d683=_0x5cafb0>0x1?void 0x0:_0x5cafb0?_0xcb5874(_0x238310,_0x546255):_0x238310,_0x1b42a2=_0x5692f7[_0x3a12a2(0x375)]-0x1,_0xb70259;_0x1b42a2>=0x0;_0x1b42a2--)(_0xb70259=_0x5692f7[_0x1b42a2])&&(_0x38d683=_0xb70259(_0x38d683)||_0x38d683);return _0x38d683;},_0x204e47=(_0x1f0623,_0x87ebee)=>(_0x28019e,_0x466fcb)=>_0x87ebee(_0x28019e,_0x466fcb,_0x1f0623);let _0x3d106e=class extends _0x299637[_0x380425(0x3c9)]{constructor(_0x453e0c,_0x5c7b87,_0x522e36,_0x562e16,_0x5f14f8,_0x1ca64c){const _0x1a496e=_0x380425;super(),this['_beforeCloseService']=_0x453e0c,this[_0x1a496e(0x2b7)]=_0x5c7b87,this[_0x1a496e(0x3f0)]=_0x522e36,this['_messageService']=_0x562e16,this[_0x1a496e(0x296)]=_0x5f14f8,this[_0x1a496e(0x293)]=_0x1ca64c,this[_0x1a496e(0x1b8)](),this[_0x1a496e(0x2d1)]();}[_0x380425(0x1b8)](){const _0xa249f9=_0x380425;this[_0xa249f9(0x379)](this[_0xa249f9(0x178)][_0xa249f9(0x3be)](()=>{const _0x46fe42=_0xa249f9;if(this[_0x46fe42(0x2b7)][_0x46fe42(0x19c)]['size'])return this['_localeService']['t'](_0x46fe42(0x215));}));}['_initEvent'](){const _0x39d09a=_0x380425;this[_0x39d09a(0x379)](this[_0x39d09a(0x3f0)][_0x39d09a(0x172)][_0x39d09a(0x2f4)](_0xa1a261=>{const _0x42b242=_0x39d09a;_0xa1a261['id']===_0xb22a40[_0x42b242(0x31f)][_0x42b242(0x39b)]&&this[_0x42b242(0x202)][_0x42b242(0x1ef)]({'type':_0xc76b[_0x42b242(0x223)][_0x42b242(0x14e)],'content':this[_0x42b242(0x293)]['t'](_0x42b242(0x3ee))}),_0xa1a261['id']===_0xb22a40[_0x42b242(0x31f)][_0x42b242(0x190)]&&this[_0x42b242(0x202)][_0x42b242(0x1ef)]({'type':_0xc76b[_0x42b242(0x223)][_0x42b242(0x14e)],'content':this['_localeService']['t'](_0x42b242(0x18e))}),_0xa1a261['id']===_0xb22a40[_0x42b242(0x31f)]['PERMISSION_DENIED']&&this[_0x42b242(0x296)][_0x42b242(0x1ef)]({'title':this['_localeService']['t'](_0x42b242(0x389)),'content':this['_localeService']['t'](_0x42b242(0x2cc)),'type':_0x42b242(0x3d9),'duration':0x0}),_0xa1a261['id']===_0xb22a40[_0x42b242(0x31f)][_0x42b242(0x163)]&&this['_messageService'][_0x42b242(0x1ef)]({'type':_0xc76b[_0x42b242(0x223)][_0x42b242(0x3dc)],'content':this[_0x42b242(0x293)]['t'](_0x42b242(0x18e))+'('+_0xa1a261[_0x42b242(0x2c3)]+')'}),_0xa1a261['id']===_0xb22a40[_0x42b242(0x31f)][_0x42b242(0x15a)]&&this[_0x42b242(0x202)]['show']({'type':_0xc76b[_0x42b242(0x223)][_0x42b242(0x14e)],'content':this[_0x42b242(0x293)]['t'](_0xa1a261[_0x42b242(0x2c3)]||'')}),_0xa1a261['id']===_0xb22a40[_0x42b242(0x31f)][_0x42b242(0x3b5)]&&this[_0x42b242(0x202)][_0x42b242(0x1ef)]({'type':_0xc76b[_0x42b242(0x223)][_0x42b242(0x14e)],'content':this['_localeService']['t'](_0x42b242(0x1c5))}),_0xa1a261['id']===_0xb22a40[_0x42b242(0x31f)][_0x42b242(0x1eb)]&&this['_messageService'][_0x42b242(0x1ef)]({'type':_0xc76b[_0x42b242(0x223)]['Error'],'content':this[_0x42b242(0x293)]['t']('session.connection-failed')}),_0xa1a261['id']===_0xb22a40[_0x42b242(0x31f)][_0x42b242(0x1bb)]&&this['_messageService'][_0x42b242(0x1ef)]({'type':_0xc76b[_0x42b242(0x223)][_0x42b242(0x3dc)],'content':this[_0x42b242(0x293)]['t'](_0x42b242(0x1b5))});}));}};_0x3d106e=_0x150a14([_0x204e47(0x0,_0x403dec[_0x380425(0x2ed)]),_0x204e47(0x1,_0xb22a40[_0x380425(0x193)]),_0x204e47(0x2,_0x299637[_0x380425(0x3b9)](_0xb22a40[_0x380425(0x27b)])),_0x204e47(0x3,_0x403dec[_0x380425(0x38f)]),_0x204e47(0x4,_0x403dec[_0x380425(0x1a8)]),_0x204e47(0x5,_0x299637['Inject'](_0x299637[_0x380425(0x328)]))],_0x3d106e);const _0x3ba2ce='collaboration-client-ui.config',_0x5f0465={},_0x164a39=_0x299637[_0x380425(0x1c4)]('uni.network.url-service');var _0x1e9db2=Object[_0x380425(0x32b)],_0x3ad68e=(_0x1ed2a3,_0x10dfa7,_0x4af509,_0x5926b5)=>{const _0x19a3a7=_0x380425;for(var _0x1b1118=_0x5926b5>0x1?void 0x0:_0x5926b5?_0x1e9db2(_0x10dfa7,_0x4af509):_0x10dfa7,_0x476135=_0x1ed2a3[_0x19a3a7(0x375)]-0x1,_0x3c465c;_0x476135>=0x0;_0x476135--)(_0x3c465c=_0x1ed2a3[_0x476135])&&(_0x1b1118=_0x3c465c(_0x1b1118)||_0x1b1118);return _0x1b1118;},_0x25eb39=(_0x135dcd,_0x482d71)=>(_0x2a896b,_0x367365)=>_0x482d71(_0x2a896b,_0x367365,_0x135dcd);_0x21b587[_0x380425(0x24d)]=class extends _0x299637[_0x380425(0x294)]{constructor(_0x148526,_0x1a2d06,_0x24d11e,_0x5a1cf5,_0x1a1d97){const _0x2c833d=_0x380425;super(),this[_0x2c833d(0x309)]=_0x148526,this[_0x2c833d(0x210)]=_0x1a2d06,this[_0x2c833d(0x383)]=_0x24d11e,this['_dataLoaderService']=_0x5a1cf5,_0x1a1d97?_0x1a1d97==null||_0x1a1d97[_0x2c833d(0x265)]()[_0x2c833d(0x264)](()=>this['_init']()):(this[_0x2c833d(0x210)][_0x2c833d(0x32d)](_0x2c833d(0x35a),_0x2c833d(0x216)),this[_0x2c833d(0x278)]());}async[_0x380425(0x278)](){const _0x47ff8e=_0x380425,_0x5d7b9d=this['_urlService'][_0x47ff8e(0x1ca)]('unit'),_0xbf578c=this[_0x47ff8e(0x309)][_0x47ff8e(0x1ca)]('type'),_0x33b3c5=this['_urlService']['getParam'](_0x47ff8e(0x184));if(!_0x5d7b9d||!_0xbf578c){this[_0x47ff8e(0x210)][_0x47ff8e(0x32d)](_0x47ff8e(0x35a),_0x47ff8e(0x27a));return;}const _0x44000a=await this[_0x47ff8e(0x211)][_0x47ff8e(0x241)](_0x5d7b9d,Number(_0xbf578c),_0x33b3c5);_0x44000a&&_0x44000a instanceof _0x299637[_0x47ff8e(0x14f)]&&this[_0x47ff8e(0x29a)](_0x44000a);}async[_0x380425(0x29a)](_0x458531){const _0x211793=_0x380425;await this[_0x211793(0x30a)](_0x458531),_0x458531['activeSheet$']['pipe'](_0x1bfea8[_0x211793(0x3ae)](this[_0x211793(0x369)]))[_0x211793(0x2f4)](_0x4b0f77=>{const _0x434eb2=_0x211793;_0x4b0f77&&this[_0x434eb2(0x39e)](_0x4b0f77);}),this[_0x211793(0x309)][_0x211793(0x33b)][_0x211793(0x227)](_0x1bfea8['takeUntil'](this[_0x211793(0x369)]))['subscribe'](()=>this[_0x211793(0x30a)](_0x458531));}[_0x380425(0x39e)](_0xf07bd6,_0x50b9ce=!0x1){const _0x5dfea2=_0x380425,_0x5a0c92=this[_0x5dfea2(0x309)][_0x5dfea2(0x1ca)](_0x5dfea2(0x184));_0xf07bd6[_0x5dfea2(0x267)]()!==_0x5a0c92&&this['_urlService']['setParam'](_0x5dfea2(0x184),_0xf07bd6[_0x5dfea2(0x267)](),_0x50b9ce);}async['_updateSubUnitFromURLParams'](_0x5591c5){const _0x5ef49a=_0x380425;var _0x2aab78;const _0x542f8e=this[_0x5ef49a(0x309)][_0x5ef49a(0x1ca)](_0x5ef49a(0x184));if(!_0x542f8e||!_0x5591c5[_0x5ef49a(0x167)](_0x542f8e)){const _0x5bf7d2=_0x5591c5[_0x5ef49a(0x3cc)]()[0x0],_0x11ab33=_0x5591c5['getSheetBySheetId'](_0x5bf7d2);if(!_0x11ab33)return;this['_updateURLWithCurrentState'](_0x11ab33,!0x0),await this[_0x5ef49a(0x383)]['executeCommand'](_0x56d166[_0x5ef49a(0x2df)]['id'],{'unitId':_0x5591c5[_0x5ef49a(0x20b)](),'subUnitId':_0x5bf7d2});return;}((_0x2aab78=_0x5591c5[_0x5ef49a(0x22e)]())==null?void 0x0:_0x2aab78['getSheetId']())!==_0x542f8e&&await this[_0x5ef49a(0x383)][_0x5ef49a(0x342)](_0x56d166[_0x5ef49a(0x2df)]['id'],{'unitId':_0x5591c5[_0x5ef49a(0x20b)](),'subUnitId':_0x542f8e});}},_0x21b587['CollaborationDataLoaderController']=_0x3ad68e([_0x25eb39(0x0,_0x164a39),_0x25eb39(0x1,_0x299637[_0x380425(0x1d7)]),_0x25eb39(0x2,_0x299637[_0x380425(0x219)]),_0x25eb39(0x3,_0x299637[_0x380425(0x3b9)](_0xb22a40[_0x380425(0x3cb)])),_0x25eb39(0x4,_0x299637['Optional'](_0x3521ef[_0x380425(0x23c)]))],_0x21b587['CollaborationDataLoaderController']);var _0x37d236=Object[_0x380425(0x32b)],_0x364f7d=(_0x4711cd,_0x4d66da,_0x4ed0a1,_0x487dd1)=>{const _0x27ad9d=_0x380425;for(var _0x2632ef=_0x487dd1>0x1?void 0x0:_0x487dd1?_0x37d236(_0x4d66da,_0x4ed0a1):_0x4d66da,_0x131801=_0x4711cd[_0x27ad9d(0x375)]-0x1,_0x262122;_0x131801>=0x0;_0x131801--)(_0x262122=_0x4711cd[_0x131801])&&(_0x2632ef=_0x262122(_0x2632ef)||_0x2632ef);return _0x2632ef;},_0x4b208d=(_0x2fa0b3,_0x9ce32f)=>(_0x4ebd5b,_0x4f53fa)=>_0x9ce32f(_0x4ebd5b,_0x4f53fa,_0x2fa0b3);let _0x5eebcb=class{constructor(_0x2c6833,_0x34042e,_0x35038b){const _0x472949=_0x380425;this[_0x472949(0x3bf)]=_0x2c6833,this[_0x472949(0x3c5)]=_0x34042e,this[_0x472949(0x3e7)]=_0x35038b;}[_0x380425(0x345)](_0x13503c){const _0x229312=_0x380425;this[_0x229312(0x2cd)](_0x13503c),this['_transformPreviousActiveRange'](_0x13503c);}[_0x380425(0x320)](_0x7e0e1b){const _0xe5da4d=_0x380425,{unitID:_0x47da46}=_0x7e0e1b,_0x3eb3fa=this['_renderManagerService'][_0xe5da4d(0x2c7)](_0x47da46)[_0xe5da4d(0x2f0)](_0x2468cc[_0xe5da4d(0x3c6)]),{redoCache:_0x198109}=_0x3eb3fa['getUndoRedoMutationParamsCache']();if(_0x198109[_0xe5da4d(0x375)]===0x0)return _0x7e0e1b;let _0x2cc7b8=_0x299637[_0xe5da4d(0x365)][_0xe5da4d(0x2f5)](_0x7e0e1b[_0xe5da4d(0x2c0)][0x0]);for(let _0x237ca3=0x0;_0x237ca3<_0x198109[_0xe5da4d(0x375)];_0x237ca3++){const _0x2fb6be={'id':'doc.mutation.rich-text-editing','params':{..._0x198109[_0x237ca3]}},_0x37f6e7=this[_0xe5da4d(0x3c5)][_0xe5da4d(0x35e)](_0x2cc7b8,_0x2fb6be,!0x1);if(_0x18c8b5[_0xe5da4d(0x22c)](_0x37f6e7))throw _0x37f6e7[_0xe5da4d(0x3d9)];_0x2cc7b8=_0x37f6e7[_0xe5da4d(0x34b)];}return{..._0x299637['Tools'][_0xe5da4d(0x2f5)](_0x7e0e1b),'mutations':[_0x2cc7b8]};}[_0x380425(0x2cd)](_0x18c573){const _0x2bd661=_0x380425,{unitID:_0x58723d}=_0x18c573,_0x32e9bf=this['_renderManagerService'][_0x2bd661(0x2c7)](_0x58723d)[_0x2bd661(0x2f0)](_0x2468cc[_0x2bd661(0x3c6)]),{undoCache:_0x7ceb09,redoCache:_0x3afdfa}=_0x32e9bf[_0x2bd661(0x38e)]();if(_0x7ceb09['length']===0x0||_0x3afdfa['length']===0x0)return;const _0x28d1b4=[],_0x1038db=[];let _0x40e03e=_0x299637[_0x2bd661(0x365)][_0x2bd661(0x2f5)](_0x18c573[_0x2bd661(0x2c0)][0x0]),_0x56d5b6=_0x299637[_0x2bd661(0x365)][_0x2bd661(0x2f5)](_0x18c573['mutations'][0x0]);for(let _0x539403=_0x7ceb09[_0x2bd661(0x375)]-0x1;_0x539403>=0x0;_0x539403--){const _0x4cd860={'id':_0x2bd661(0x29b),'params':{..._0x7ceb09[_0x539403]}},_0x172000={'id':_0x2bd661(0x29b),'params':{..._0x3afdfa[_0x539403]}},_0x33c463=this['_transformService'][_0x2bd661(0x35e)](_0x40e03e,_0x4cd860,!0x1),_0x3f7063=this['_transformService'][_0x2bd661(0x35e)](_0x56d5b6,_0x172000,!0x1);if(_0x18c8b5[_0x2bd661(0x22c)](_0x33c463))throw _0x33c463[_0x2bd661(0x3d9)];if(_0x18c8b5[_0x2bd661(0x22c)](_0x3f7063))throw _0x3f7063[_0x2bd661(0x3d9)];_0x28d1b4['unshift'](_0x33c463['m2Prime']['params']),_0x1038db[_0x2bd661(0x260)](_0x3f7063['m2Prime'][_0x2bd661(0x1dc)]),_0x40e03e=_0x33c463[_0x2bd661(0x34b)],_0x56d5b6=_0x3f7063[_0x2bd661(0x34b)];}_0x32e9bf[_0x2bd661(0x229)]({'undoCache':_0x28d1b4,'redoCache':_0x1038db});}['_transformPreviousActiveRange'](_0x3f0660){const _0x2d3089=_0x380425,{unitID:_0x296b7d}=_0x3f0660,_0x4324a0=this['_renderManagerService'][_0x2d3089(0x2c7)](_0x296b7d)[_0x2d3089(0x2f0)](_0x2468cc[_0x2d3089(0x3c6)]),_0x4134ff=_0x4324a0['getActiveRange']();if(_0x4134ff==null)return;const _0x1f2110=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3f0660['unitID'],'actions':null,'textRanges':[_0x4134ff]}}],_0x35f93b=this[_0x2d3089(0x3c5)][_0x2d3089(0x1fb)](_0x3f0660,_0x1f2110);if(!_0x18c8b5[_0x2d3089(0x2a9)](_0x35f93b))throw _0x35f93b[_0x2d3089(0x3d9)];const _0x1e3e4c=_0x35f93b[_0x2d3089(0x2a0)][0x0]['params'][_0x2d3089(0x38b)];Array[_0x2d3089(0x1cd)](_0x1e3e4c)&&_0x1e3e4c[_0x2d3089(0x375)]&&_0x4324a0[_0x2d3089(0x2d9)](_0x1e3e4c[0x0]);}};_0x5eebcb=_0x364f7d([_0x4b208d(0x0,_0x299637[_0x380425(0x3b9)](_0x299637[_0x380425(0x20c)])),_0x4b208d(0x1,_0x18c8b5[_0x380425(0x2b1)]),_0x4b208d(0x2,_0x500b16['IRenderManagerService'])],_0x5eebcb);var _0x21eec6=Object[_0x380425(0x32b)],_0x3a69a3=(_0x462ae4,_0x5583c1,_0x17f219,_0x5a59c2)=>{const _0x23fb38=_0x380425;for(var _0x1bf55c=_0x5a59c2>0x1?void 0x0:_0x5a59c2?_0x21eec6(_0x5583c1,_0x17f219):_0x5583c1,_0x5952e1=_0x462ae4[_0x23fb38(0x375)]-0x1,_0x66eecc;_0x5952e1>=0x0;_0x5952e1--)(_0x66eecc=_0x462ae4[_0x5952e1])&&(_0x1bf55c=_0x66eecc(_0x1bf55c)||_0x1bf55c);return _0x1bf55c;},_0x4095e5=(_0x10d2c5,_0x40b0a8)=>(_0x15b472,_0x35e6f4)=>_0x40b0a8(_0x15b472,_0x35e6f4,_0x10d2c5);let _0x4cc858=class{constructor(_0x5f42ed,_0x828204,_0x43d06c){const _0x490c46=_0x380425;this[_0x490c46(0x3bf)]=_0x5f42ed,this['_transformService']=_0x828204,this[_0x490c46(0x34c)]=_0x43d06c;}[_0x380425(0x28b)](_0x46e58d){this['_transformHistoryAndStateStack'](_0x46e58d);}[_0x380425(0x320)](_0x1a9630){const _0x1ae18b=_0x380425,{unitID:_0x34714d}=_0x1a9630,{collaboration:_0x33a43e}=this[_0x1ae18b(0x34c)][_0x1ae18b(0x26e)](_0x34714d);if(_0x33a43e['length']===0x0)return _0x1a9630;let _0x30dd7d=_0x299637['Tools'][_0x1ae18b(0x2f5)](_0x1a9630[_0x1ae18b(0x2c0)][0x0]);for(let _0x911ddf=0x0;_0x911ddf<_0x33a43e[_0x1ae18b(0x375)];_0x911ddf++){const _0x510bdf={'id':_0x1ae18b(0x29b),'params':{'unitId':_0x33a43e[_0x911ddf][_0x1ae18b(0x208)],..._0x33a43e[_0x911ddf]['redoState']}},_0x45c352=this['_transformService'][_0x1ae18b(0x35e)](_0x30dd7d,_0x510bdf,!0x1);if(_0x18c8b5[_0x1ae18b(0x22c)](_0x45c352))throw _0x45c352['error'];_0x30dd7d=_0x45c352[_0x1ae18b(0x34b)];}return{..._0x299637[_0x1ae18b(0x365)][_0x1ae18b(0x2f5)](_0x1a9630),'mutations':[_0x30dd7d]};}[_0x380425(0x34f)](_0x4f541b){const _0x7d5d76=_0x380425,{unitID:_0x135b76}=_0x4f541b,{history:_0x85832b,collaboration:_0x42b558}=this['_docStateChangeManagerService'][_0x7d5d76(0x26e)](_0x135b76);if(_0x85832b[_0x7d5d76(0x375)]===0x0&&_0x42b558[_0x7d5d76(0x375)]===0x0)return;const _0x5d82af=[],_0x4799a8=[];let _0x2afea1=_0x299637[_0x7d5d76(0x365)][_0x7d5d76(0x2f5)](_0x4f541b[_0x7d5d76(0x2c0)][0x0]),_0xc4f060=_0x299637[_0x7d5d76(0x365)][_0x7d5d76(0x2f5)](_0x4f541b[_0x7d5d76(0x2c0)][0x0]);for(let _0x55434b=_0x85832b[_0x7d5d76(0x375)]-0x1;_0x55434b>=0x0;_0x55434b--){const _0x362cfa={'id':_0x7d5d76(0x29b),'params':{'unitId':_0x85832b[_0x55434b][_0x7d5d76(0x208)],..._0x85832b[_0x55434b][_0x7d5d76(0x201)]}},_0x224daa={'id':_0x7d5d76(0x29b),'params':{'unitId':_0x85832b[_0x55434b][_0x7d5d76(0x208)],..._0x85832b[_0x55434b]['redoState']}},_0x56d07d=this[_0x7d5d76(0x3c5)][_0x7d5d76(0x35e)](_0x2afea1,_0x362cfa,!0x1),_0x538067=this['_transformService']['transformMutation'](_0xc4f060,_0x224daa,!0x1);if(_0x18c8b5['isTransformMutationFailure'](_0x56d07d))throw _0x56d07d[_0x7d5d76(0x3d9)];if(_0x18c8b5[_0x7d5d76(0x22c)](_0x538067))throw _0x538067[_0x7d5d76(0x3d9)];_0x5d82af[_0x7d5d76(0x260)]({..._0x85832b[_0x55434b],'undoState':_0x56d07d['m2Prime']['params'],'redoState':_0x538067[_0x7d5d76(0x2a0)]['params']}),_0x2afea1=_0x56d07d[_0x7d5d76(0x34b)],_0xc4f060=_0x538067[_0x7d5d76(0x34b)];}_0x2afea1=_0x299637['Tools'][_0x7d5d76(0x2f5)](_0x4f541b['mutations'][0x0]),_0xc4f060=_0x299637[_0x7d5d76(0x365)][_0x7d5d76(0x2f5)](_0x4f541b['mutations'][0x0]);for(let _0x42712c=_0x42b558[_0x7d5d76(0x375)]-0x1;_0x42712c>=0x0;_0x42712c--){const _0x1805a1={'id':_0x7d5d76(0x29b),'params':{'unitId':_0x42b558[_0x42712c][_0x7d5d76(0x208)],..._0x42b558[_0x42712c]['undoState']}},_0x1a3656={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x42b558[_0x42712c]['unitId'],..._0x42b558[_0x42712c][_0x7d5d76(0x3e6)]}},_0x599657=this['_transformService'][_0x7d5d76(0x35e)](_0x2afea1,_0x1805a1,!0x1),_0x4252c4=this[_0x7d5d76(0x3c5)][_0x7d5d76(0x35e)](_0xc4f060,_0x1a3656,!0x1);if(_0x18c8b5[_0x7d5d76(0x22c)](_0x599657))throw _0x599657['error'];if(_0x18c8b5[_0x7d5d76(0x22c)](_0x4252c4))throw _0x4252c4[_0x7d5d76(0x3d9)];_0x4799a8['unshift']({..._0x42b558[_0x42712c],'undoState':_0x599657[_0x7d5d76(0x2a0)][_0x7d5d76(0x1dc)],'redoState':_0x4252c4[_0x7d5d76(0x2a0)]['params']}),_0x2afea1=_0x599657[_0x7d5d76(0x34b)],_0xc4f060=_0x4252c4[_0x7d5d76(0x34b)];}this[_0x7d5d76(0x34c)][_0x7d5d76(0x38a)](_0x135b76,{'history':_0x5d82af,'collaboration':_0x4799a8});}};_0x4cc858=_0x3a69a3([_0x4095e5(0x0,_0x299637[_0x380425(0x3b9)](_0x299637['Injector'])),_0x4095e5(0x1,_0x18c8b5[_0x380425(0x2b1)]),_0x4095e5(0x2,_0x299637[_0x380425(0x3b9)](_0x2468cc[_0x380425(0x359)]))],_0x4cc858);var _0x2ad96d=Object[_0x380425(0x32b)],_0x2836b4=(_0x50e10a,_0x5bb0c4,_0x516b68,_0x3cbcc1)=>{const _0x3e451b=_0x380425;for(var _0x270018=_0x3cbcc1>0x1?void 0x0:_0x3cbcc1?_0x2ad96d(_0x5bb0c4,_0x516b68):_0x5bb0c4,_0xce6c08=_0x50e10a[_0x3e451b(0x375)]-0x1,_0x85ccf8;_0xce6c08>=0x0;_0xce6c08--)(_0x85ccf8=_0x50e10a[_0xce6c08])&&(_0x270018=_0x85ccf8(_0x270018)||_0x270018);return _0x270018;},_0xd8d712=(_0x3f2570,_0x1111bd)=>(_0xeebbb0,_0x346be3)=>_0x1111bd(_0xeebbb0,_0x346be3,_0x3f2570);let _0x59a9bf=class{constructor(_0xfd777e,_0x4e65b3){const _0xd46f2d=_0x380425;this[_0xd46f2d(0x3bf)]=_0xfd777e,this['_transformService']=_0x4e65b3;}[_0x380425(0x197)](_0x53421e){const _0x3a26e4=_0x380425;var _0x50d248;const _0xce554e=this[_0x3a26e4(0x3bf)][_0x3a26e4(0x291)](_0x4c9a7c[_0x3a26e4(0x243)]),_0xcaddcb=(_0x50d248=_0xce554e[_0x3a26e4(0x25b)]())!=null?_0x50d248:[];if(_0xcaddcb[_0x3a26e4(0x375)]===0x0)return;const _0x73fc28=_0x53421e[_0x3a26e4(0x179)],_0x51a0ac=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x73fc28,'actions':null,'textRanges':_0xcaddcb}}],_0x5cd714=this[_0x3a26e4(0x3c5)][_0x3a26e4(0x1fb)](_0x53421e,_0x51a0ac);if(!_0x18c8b5[_0x3a26e4(0x2a9)](_0x5cd714))throw _0x5cd714[_0x3a26e4(0x3d9)];const _0x9307a7=_0x5cd714['m2Prime'][0x0]['params'][_0x3a26e4(0x38b)];Array[_0x3a26e4(0x1cd)](_0x9307a7)&&_0x9307a7[_0x3a26e4(0x375)]&&_0xce554e[_0x3a26e4(0x270)](_0x9307a7,{'unitId':_0x73fc28,'subUnitId':_0x73fc28},!0x1);}};_0x59a9bf=_0x2836b4([_0xd8d712(0x0,_0x299637[_0x380425(0x3b9)](_0x299637[_0x380425(0x20c)])),_0xd8d712(0x1,_0x18c8b5['ITransformService'])],_0x59a9bf);var _0xe42c6d=Object[_0x380425(0x32b)],_0x5a8fe8=(_0x5b0cf7,_0x5593b1,_0x39e816,_0x98b11f)=>{const _0x253acb=_0x380425;for(var _0x23c2ae=_0x98b11f>0x1?void 0x0:_0x98b11f?_0xe42c6d(_0x5593b1,_0x39e816):_0x5593b1,_0x2556bd=_0x5b0cf7[_0x253acb(0x375)]-0x1,_0x2dc1cb;_0x2556bd>=0x0;_0x2556bd--)(_0x2dc1cb=_0x5b0cf7[_0x2556bd])&&(_0x23c2ae=_0x2dc1cb(_0x23c2ae)||_0x23c2ae);return _0x23c2ae;},_0x549f02=(_0xe35c62,_0x1c88b1)=>(_0x3372bc,_0x4c40b6)=>_0x1c88b1(_0x3372bc,_0x4c40b6,_0xe35c62);let _0x245a42=class extends _0x299637[_0x380425(0x3c9)]{constructor(_0x379930,_0x4e3cc9,_0x423c24,_0x20cffe,_0x2f8590,_0x5bc6f0,_0x5b0936,_0xea4dc8){const _0x5e983c=_0x380425;super(),_0x2921a2(this,'_status$',new _0x1bfea8[(_0x5e983c(0x1aa))](_0xb22a40[_0x5e983c(0x373)]['NOT_COLLAB'])),(this[_0x5e983c(0x34c)]=_0x379930,this[_0x5e983c(0x255)]=_0x4e3cc9,this[_0x5e983c(0x386)]=_0x423c24,this[_0x5e983c(0x171)]=_0x20cffe,this['_docTransformSelectionsService']=_0x2f8590,this[_0x5e983c(0x31d)]=_0x5bc6f0,this[_0x5e983c(0x202)]=_0x5b0936,this['_localeService']=_0xea4dc8,this[_0x5e983c(0x1fe)]());}[_0x380425(0x1fe)](){const _0x56b9fb=_0x380425;this[_0x56b9fb(0x379)](this[_0x56b9fb(0x255)]['entityInit$'][_0x56b9fb(0x2f4)](_0x844b37=>{const _0x4d25dc=_0x56b9fb,_0x319e75=this[_0x4d25dc(0x34c)]['docStateChange$']['subscribe'](_0xab2d30=>{const _0x2ce670=_0x4d25dc;if(_0xab2d30==null)return;const {unitId:_0x5cb539,redoState:_0xff458c,commandId:_0x59cdaa}=_0xab2d30;if(_0x5cb539!==_0x844b37['unitID'])return;const _0x3a8d9a={'id':_0x59cdaa,'type':_0x299637[_0x2ce670(0x1da)][_0x2ce670(0x2e9)],'params':{'unitId':_0x5cb539,'actions':_0xff458c[_0x2ce670(0x2d6)],'textRanges':null}};_0x844b37[_0x2ce670(0x284)](_0x3a8d9a);});if(_0x844b37[_0x4d25dc(0x379)](_0x319e75),_0x844b37 instanceof _0xb22a40['DocCollaborationEntity']){const _0x8a8762={'onTransformIME':_0x52406f=>this[_0x4d25dc(0x386)]['transformIMECache'](_0x52406f),'onTransformState':_0x13239a=>this['_docTransformStateCacheService'][_0x4d25dc(0x28b)](_0x13239a),'onTransformSelections':_0x48f8de=>this[_0x4d25dc(0x33d)]['transformSelections'](_0x48f8de),'onSyncEditingCollabCursor':_0x30955c=>this[_0x4d25dc(0x31d)][_0x4d25dc(0x32a)](_0x30955c),'onTransformRemoteChangesetByIMECache':_0x24c779=>this['_docTransformIMECacheService'][_0x4d25dc(0x320)](_0x24c779),'onTransformRemoteChangesetByStateCache':_0x4ef1c0=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x4ef1c0)};_0x844b37[_0x4d25dc(0x332)](_0x8a8762);}}));}};_0x245a42=_0x5a8fe8([_0x549f02(0x0,_0x299637[_0x380425(0x3b9)](_0x2468cc[_0x380425(0x359)])),_0x549f02(0x1,_0x299637[_0x380425(0x3b9)](_0xb22a40[_0x380425(0x3bc)])),_0x549f02(0x2,_0x299637[_0x380425(0x3b9)](_0x5eebcb)),_0x549f02(0x3,_0x299637[_0x380425(0x3b9)](_0x4cc858)),_0x549f02(0x4,_0x299637[_0x380425(0x3b9)](_0x59a9bf)),_0x549f02(0x5,_0x299637[_0x380425(0x3b9)](_0x2ee1be)),_0x549f02(0x6,_0x403dec['IMessageService']),_0x549f02(0x7,_0x299637['Inject'](_0x299637[_0x380425(0x328)]))],_0x245a42);var _0x5ccf41=Object[_0x380425(0x32b)],_0x114846=(_0x9e9527,_0x1c0bbf,_0x397a9d,_0x4e6b3e)=>{const _0x5bf095=_0x380425;for(var _0x2438ba=_0x4e6b3e>0x1?void 0x0:_0x4e6b3e?_0x5ccf41(_0x1c0bbf,_0x397a9d):_0x1c0bbf,_0x3d1c4d=_0x9e9527[_0x5bf095(0x375)]-0x1,_0xfe8e06;_0x3d1c4d>=0x0;_0x3d1c4d--)(_0xfe8e06=_0x9e9527[_0x3d1c4d])&&(_0x2438ba=_0xfe8e06(_0x2438ba)||_0x2438ba);return _0x2438ba;},_0x5644b7=(_0x553bf5,_0x4401e0)=>(_0x8a561c,_0x4b25d1)=>_0x4401e0(_0x8a561c,_0x4b25d1,_0x553bf5);let _0x2eaecf=class extends _0x299637[_0x380425(0x3c9)]{constructor(_0x16c395,_0x1dea25,_0x3d5dbc){const _0x229ffc=_0x380425;super(),_0x2921a2(this,'_cachedData',new Map()),_0x2921a2(this,_0x229ffc(0x28e),new Map()),_0x2921a2(this,_0x229ffc(0x34d),!0x1),(this[_0x229ffc(0x185)]=_0x16c395,this['_localStorageService']=_0x1dea25,this[_0x229ffc(0x23f)]=_0x3d5dbc);}[_0x380425(0x39d)](){const _0x41c9ee=_0x380425;this[_0x41c9ee(0x34d)]=!0x0;}[_0x380425(0x37d)](){const _0x39fc99=_0x380425;this[_0x39fc99(0x34d)]=!0x1;}get[_0x380425(0x19c)](){const _0x2ad2db=_0x380425;return this[_0x2ad2db(0x28e)];}[_0x380425(0x1ae)](){const _0x374a97=_0x380425;this[_0x374a97(0x1b3)]()[_0x374a97(0x264)](()=>super[_0x374a97(0x1ae)]());}async[_0x380425(0x368)](_0xbf893e){const _0x55a453=_0x380425;return this[_0x55a453(0x34d)]?null:this['_localStorageService']['getItem'](_0xb22a40[_0x55a453(0x3de)](_0xbf893e));}async[_0x380425(0x27f)](_0x44aef9,_0x222877){const _0x8091b0=_0x380425;return!!this[_0x8091b0(0x1ea)]['setItem'](_0x44aef9,_0x222877);}[_0x380425(0x205)](_0x4f6e3a,_0x35d16,_0x51d98f,_0x36b91c){const _0x464652=_0x380425,_0xc667ad=this['_revisionService'][_0x464652(0x29c)](_0x4f6e3a);this[_0x464652(0x235)][_0x464652(0x22d)](_0x4f6e3a,{'unitID':_0x4f6e3a,'type':_0x35d16,'awaitingChangeset':_0x51d98f,'mutations':_0x36b91c,'rev':_0xc667ad}),this[_0x464652(0x28e)][_0x464652(0x20d)](_0x4f6e3a)||this[_0x464652(0x237)](_0x4f6e3a);}['_scheduleSaving'](_0x1a33a4){const _0x2d81e5=_0x380425,_0x2e8410=this['_getSaveTimeout']();_0x2e8410===0x0?this['_saveCache'](_0x1a33a4):this[_0x2d81e5(0x28e)][_0x2d81e5(0x22d)](_0x1a33a4,setTimeout(()=>this['_saveCache'](_0x1a33a4),_0x2e8410));}[_0x380425(0x2f9)](){const _0x48ba9d=_0x380425;var _0x1be7c3;return(_0x1be7c3=this['_configService'][_0x48ba9d(0x2ef)](_0xb22a40['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x1be7c3:_0xb22a40[_0x48ba9d(0x2a4)];}[_0x380425(0x2d8)](_0x4067d4){const _0x3905ad=_0x380425,_0x25ac20=this[_0x3905ad(0x28e)][_0x3905ad(0x291)](_0x4067d4);return _0x25ac20!==void 0x0&&window[_0x3905ad(0x2ca)](_0x25ac20),this[_0x3905ad(0x1ea)][_0x3905ad(0x206)](_0xb22a40[_0x3905ad(0x3de)](_0x4067d4),this[_0x3905ad(0x235)]['get'](_0x4067d4))['then'](()=>this[_0x3905ad(0x28e)]['delete'](_0x4067d4));}async['exhaustSavingTask'](){const _0x38e48e=_0x380425,_0x27a7ca=[];this['_saveTaskMap'][_0x38e48e(0x27c)]((_0x4e162d,_0xb31fd6)=>{const _0x11a973=_0x38e48e;window[_0x11a973(0x2ca)](_0x4e162d),_0x27a7ca[_0x11a973(0x360)](this['_saveCache'](_0xb31fd6)['then'](()=>{const _0x611976=_0x11a973;this[_0x611976(0x28e)]['delete'](_0xb31fd6);}));}),await Promise['all'](_0x27a7ca);}};_0x2eaecf=_0x114846([_0x5644b7(0x0,_0x299637[_0x380425(0x225)]),_0x5644b7(0x1,_0x299637[_0x380425(0x177)]),_0x5644b7(0x2,_0x299637[_0x380425(0x3b9)](_0x18c8b5[_0x380425(0x331)]))],_0x2eaecf);class _0x23d439 extends _0x299637[_0x380425(0x294)]{constructor(){const _0x15e17f=_0x380425;super(),_0x2921a2(this,_0x15e17f(0x33b)),this[_0x15e17f(0x33b)]=_0x1bfea8[_0x15e17f(0x361)](window,_0x15e17f(0x2e4))[_0x15e17f(0x227)](_0x1bfea8[_0x15e17f(0x3ae)](this[_0x15e17f(0x369)]),_0x1bfea8['shareReplay'](0x1),_0x1bfea8[_0x15e17f(0x286)](void 0x0));}[_0x380425(0x370)](_0x119e1f,_0x3c6331,_0x1991c6=!0x1){const _0xca55a6=_0x380425,_0x154231=new URL(window[_0xca55a6(0x23d)]['href']);_0x154231[_0xca55a6(0x1fc)][_0xca55a6(0x22d)](_0x119e1f,_0x3c6331),_0x1991c6?window[_0xca55a6(0x1b7)][_0xca55a6(0x1d1)]('','',_0x154231[_0xca55a6(0x35d)]()):window[_0xca55a6(0x1b7)][_0xca55a6(0x242)]('','',_0x154231[_0xca55a6(0x35d)]());}[_0x380425(0x37c)](_0x1efb53,_0x17f890=!0x1){const _0x1b3c9b=_0x380425,_0x37da70=new URL(window[_0x1b3c9b(0x23d)][_0x1b3c9b(0x1bd)]);_0x37da70[_0x1b3c9b(0x1fc)]['delete'](_0x1efb53),_0x17f890?window[_0x1b3c9b(0x1b7)][_0x1b3c9b(0x1d1)]('','',_0x37da70[_0x1b3c9b(0x35d)]()):window[_0x1b3c9b(0x1b7)][_0x1b3c9b(0x242)]('','',_0x37da70['toString']());}[_0x380425(0x1ca)](_0x16e0e4){const _0x22ddef=_0x380425;var _0x5b3087;return(_0x5b3087=new URL(window['location'][_0x22ddef(0x1bd)])[_0x22ddef(0x1fc)][_0x22ddef(0x291)](_0x16e0e4))!=null?_0x5b3087:void 0x0;}}var _0x11c926=Object['defineProperty'],_0x18f65b=Object[_0x380425(0x32b)],_0x1a2883=(_0x2711c0,_0x1b155f,_0x4cb198)=>_0x1b155f in _0x2711c0?_0x11c926(_0x2711c0,_0x1b155f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4cb198}):_0x2711c0[_0x1b155f]=_0x4cb198,_0x2b2032=(_0x1dc971,_0x3d30a8,_0x3fb786,_0x1ff62a)=>{for(var _0xbbc86c=_0x1ff62a>0x1?void 0x0:_0x1ff62a?_0x18f65b(_0x3d30a8,_0x3fb786):_0x3d30a8,_0xd08de8=_0x1dc971['length']-0x1,_0x41b197;_0xd08de8>=0x0;_0xd08de8--)(_0x41b197=_0x1dc971[_0xd08de8])&&(_0xbbc86c=_0x41b197(_0xbbc86c)||_0xbbc86c);return _0xbbc86c;},_0x19b99e=(_0x2d6560,_0x484ae9)=>(_0x542d51,_0x5eca65)=>_0x484ae9(_0x542d51,_0x5eca65,_0x2d6560),_0x258dda=(_0x88d6f7,_0x23d1ca,_0x4c0be4)=>_0x1a2883(_0x88d6f7,_0x23d1ca+'',_0x4c0be4);const _0x54653a=_0x380425(0x3ce);_0x21b587['UniverCollaborationClientUIPlugin']=class extends _0x299637[_0x380425(0x19d)]{constructor(_0x1712d1=_0x5f0465,_0x47188b,_0x59600a,_0x323095){const _0x45341d=_0x380425;super(),this[_0x45341d(0x15c)]=_0x1712d1,this[_0x45341d(0x3e7)]=_0x47188b,this[_0x45341d(0x3bf)]=_0x59600a,this[_0x45341d(0x185)]=_0x323095;const {..._0x319ad8}=_0x299637[_0x45341d(0x161)]({},_0x5f0465,this[_0x45341d(0x15c)]);this['_configService'][_0x45341d(0x188)](_0x3ba2ce,_0x319ad8);}[_0x380425(0x23b)](){const _0x2954e6=_0x380425;this[_0x2954e6(0x2f6)](),this[_0x2954e6(0x194)]();}['onRendered'](){this['_registerRenderDependencies']();}[_0x380425(0x2f6)](){const _0x598cd1=_0x380425;var _0x1bb9dc;const _0x36bf15=[[_0xb6e22c],[_0x59a9bf],[_0x5eebcb],[_0x4cc858],[_0x2ee1be],[_0x164a39,{'useClass':_0x23d439}],[_0x2d16a8[_0x598cd1(0x1a9)],{'useClass':_0x2d16a8[_0x598cd1(0x3aa)]}],[_0xb22a40[_0x598cd1(0x193)],{'useClass':_0x2eaecf}],[_0x21b587[_0x598cd1(0x218)]],[_0x245a42],[_0x3d106e],[_0x1ba27b],[_0x3489e3],[_0x21b587[_0x598cd1(0x24d)]]];_0x299637[_0x598cd1(0x33a)](this[_0x598cd1(0x3bf)],_0x299637['mergeOverrideWithDependencies'](_0x36bf15,(_0x1bb9dc=this[_0x598cd1(0x15c)])==null?void 0x0:_0x1bb9dc[_0x598cd1(0x1e7)]));}['_registerRenderDependencies'](){const _0x481d4f=_0x380425;this[_0x481d4f(0x379)](this[_0x481d4f(0x3e7)]['registerRenderModule'](_0x299637[_0x481d4f(0x2a2)][_0x481d4f(0x3cf)],[_0x5a9146])),this[_0x481d4f(0x379)](this[_0x481d4f(0x3e7)][_0x481d4f(0x3b7)](_0x299637[_0x481d4f(0x2a2)]['UNIVER_SHEET'],[_0x2c41b2]));}[_0x380425(0x194)](){const _0x2b17b5=_0x380425;_0x299637[_0x2b17b5(0x303)](this[_0x2b17b5(0x3bf)],[[_0x1ba27b],[_0x21b587[_0x2b17b5(0x218)]],[_0x245a42],[_0x3d106e],[_0x21b587[_0x2b17b5(0x24d)]]]);}},_0x258dda(_0x21b587[_0x380425(0x350)],'pluginName',_0x54653a),_0x21b587[_0x380425(0x350)]=_0x2b2032([_0x299637[_0x380425(0x1c2)](_0xb22a40['UniverCollaborationClientPlugin']),_0x19b99e(0x1,_0x500b16[_0x380425(0x339)]),_0x19b99e(0x2,_0x299637[_0x380425(0x3b9)](_0x299637[_0x380425(0x20c)])),_0x19b99e(0x3,_0x299637[_0x380425(0x225)])],_0x21b587['UniverCollaborationClientUIPlugin']);var _0xbe8933=Object[_0x380425(0x32b)],_0x7d2e54=(_0x5e043d,_0x36ddc4,_0x100105,_0x1e631c)=>{const _0x598808=_0x380425;for(var _0x4dff26=_0x1e631c>0x1?void 0x0:_0x1e631c?_0xbe8933(_0x36ddc4,_0x100105):_0x36ddc4,_0x196471=_0x5e043d[_0x598808(0x375)]-0x1,_0x3b6dab;_0x196471>=0x0;_0x196471--)(_0x3b6dab=_0x5e043d[_0x196471])&&(_0x4dff26=_0x3b6dab(_0x4dff26)||_0x4dff26);return _0x4dff26;},_0x43fcec=(_0x2dc1f0,_0xd9170e)=>(_0x43a062,_0x4f59a0)=>_0xd9170e(_0x43a062,_0x4f59a0,_0x2dc1f0);_0x21b587[_0x380425(0x1f8)]=class extends _0xb22a40[_0x380425(0x159)]{constructor(_0x23fb28,_0x47bc53,_0x466915,_0x1bede6,_0x6b8d29){super(_0x23fb28,_0x47bc53,_0x466915,_0x1bede6,_0x6b8d29);}async[_0x380425(0x273)](_0x209b2c){const _0x8d7075=_0x380425,_0x3cdaa4=await this[_0x8d7075(0x2da)](),_0x4bbcd7=this[_0x8d7075(0x35b)](_0x209b2c,_0x3cdaa4);return this['_doCreateSocket'](_0x4bbcd7);}['_createSocketURL'](_0x2f81fd,_0x39a188){const _0x4ca5bd=_0x380425,_0x205365=typeof window>'u'?new URL(_0x2f81fd):new URL(_0x2f81fd,window[_0x4ca5bd(0x23d)][_0x4ca5bd(0x221)]);_0x205365[_0x4ca5bd(0x1fc)][_0x4ca5bd(0x22d)]('sessionTicket',_0x39a188);const _0x2ac7c1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4ca5bd(0x23d)]['search']);return _0x2ac7c1[_0x4ca5bd(0x291)](_0x4ca5bd(0x183))&&_0x205365[_0x4ca5bd(0x1fc)][_0x4ca5bd(0x22d)](_0x4ca5bd(0x183),_0x2ac7c1['get']('runId')),_0x205365[_0x4ca5bd(0x35d)]();}async[_0x380425(0x2da)](){const _0x4c4306=_0x380425;var _0xeef05c,_0x1b97b2,_0x2d540b;const _0x2d7f9f=this[_0x4c4306(0x185)]['getConfig'](_0xb22a40[_0x4c4306(0x3ca)]),_0x467cb3=(_0xeef05c=_0x2d7f9f==null?void 0x0:_0x2d7f9f[_0x4c4306(0x2e8)])!=null?_0xeef05c:_0xb22a40[_0x4c4306(0x234)];return(_0x2d540b=(_0x1b97b2=(await this['_httpService'][_0x4c4306(0x291)](_0x467cb3,{'headers':{'Content-Type':_0x4c4306(0x18d)}}))[_0x4c4306(0x1c1)])==null?void 0x0:_0x1b97b2[_0x4c4306(0x3b4)])!=null?_0x2d540b:'';}},_0x21b587['BrowserCollaborationSocketService']=_0x7d2e54([_0x43fcec(0x0,_0x299637['Inject'](_0x299637[_0x380425(0x20c)])),_0x43fcec(0x1,_0x299637[_0x380425(0x3b9)](_0x2d16a8[_0x380425(0x310)])),_0x43fcec(0x2,_0x299637[_0x380425(0x225)]),_0x43fcec(0x3,_0x299637[_0x380425(0x1d7)]),_0x43fcec(0x4,_0x18c8b5[_0x380425(0x2e0)])],_0x21b587['BrowserCollaborationSocketService']);const _0x21e861=0x7530,_0x3e1d09=_0x380425(0x19b);class _0x113bf2 extends _0x299637[_0x380425(0x3c9)]{constructor(){const _0x32bfff=_0x380425;super(),_0x2921a2(this,'_id',_0x299637['generateRandomId']()),_0x2921a2(this,_0x32bfff(0x3b6),new Set()),_0x2921a2(this,'_unitOnClients',new Map()),_0x2921a2(this,_0x32bfff(0x2ff),null),_0x2921a2(this,_0x32bfff(0x2fd),new Map()),_0x2921a2(this,_0x32bfff(0x24e),new Map()),this['_init']();}[_0x380425(0x1ae)](){const _0x569023=_0x380425;super[_0x569023(0x1ae)](),this[_0x569023(0x2fd)]['forEach']((_0x2289c8,_0x288f72)=>this[_0x569023(0x391)](_0x288f72)),this['_heartbeatTimer']&&window[_0x569023(0x346)](this[_0x569023(0x2ff)]);}[_0x380425(0x1d2)](_0x77169a){const _0x43b990=_0x380425;return this[_0x43b990(0x152)](_0x77169a)[_0x43b990(0x227)](_0x1bfea8[_0x43b990(0x26d)]());}[_0x380425(0x156)](_0x5d40df){const _0x6e5e58=_0x380425;this['_selfUnitIDs']['size']===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x6e5e58(0x3b8)](_0x5d40df),this[_0x6e5e58(0x2db)]({'type':0x0,'memberID':this[_0x6e5e58(0x327)],'unitIDs':[_0x5d40df],'isForwarded':!0x1});}[_0x380425(0x319)](_0xf90dd6){const _0x5c8f8d=_0x380425;this[_0x5c8f8d(0x3b6)][_0x5c8f8d(0x251)](_0xf90dd6),this['_selfUnitIDs'][_0x5c8f8d(0x376)]===0x0&&this[_0x5c8f8d(0x2ff)]&&window[_0x5c8f8d(0x346)](this[_0x5c8f8d(0x2ff)]);}[_0x380425(0x278)](){const _0x22934a=_0x380425;this[_0x22934a(0x379)](_0x299637[_0x22934a(0x3e3)](_0x1bfea8['fromEvent'](window,_0x22934a(0x20e))[_0x22934a(0x2f4)](_0x902c00=>{const _0x317071=_0x22934a;if(_0x902c00[_0x317071(0x2e7)]!==_0x3e1d09||!_0x902c00[_0x317071(0x1e5)])return;const _0x4231c5=JSON[_0x317071(0x23e)](_0x902c00[_0x317071(0x1e5)]);this['_handleEvent'](_0x4231c5);}))),window[_0x22934a(0x2c8)](_0x22934a(0x3d6),()=>this[_0x22934a(0x2db)]({'type':0x1,'memberID':this[_0x22934a(0x327)],'unitIDs':Array[_0x22934a(0x176)](this[_0x22934a(0x3b6)])}));}[_0x380425(0x220)](_0xd4ac17){const _0x5c4002=_0x380425;switch(_0xd4ac17[_0x5c4002(0x382)]){case 0x0:this[_0x5c4002(0x297)](_0xd4ac17);break;case 0x1:this[_0x5c4002(0x1f1)](_0xd4ac17);break;case 0x2:this[_0x5c4002(0x2bb)](_0xd4ac17);break;}}[_0x380425(0x297)](_0x454982){const _0x5d12ee=_0x380425,{unitIDs:_0x405168,memberID:_0x5959e4,isForwarded:_0x4d2724}=_0x454982;_0x405168[_0x5d12ee(0x27c)](_0x2cf443=>{const _0x550a60=_0x5d12ee;if(!_0x4d2724&&this[_0x550a60(0x1ad)][_0x550a60(0x20d)](_0x2cf443)&&this['_ensureSubject'](_0x2cf443)[_0x550a60(0x2ee)](_0xb22a40[_0x550a60(0x36b)][_0x550a60(0x308)]),!this[_0x550a60(0x1ad)][_0x550a60(0x20d)](_0x2cf443)||!this[_0x550a60(0x1ad)][_0x550a60(0x291)](_0x2cf443)['has'](_0x5959e4)){const _0x29174f=this[_0x550a60(0x1ad)]['get'](_0x2cf443)||new Set();_0x29174f[_0x550a60(0x3b8)](_0x5959e4),this[_0x550a60(0x1ad)][_0x550a60(0x22d)](_0x2cf443,_0x29174f),this[_0x550a60(0x1cc)](_0x5959e4);}}),_0x4d2724||this[_0x5d12ee(0x2db)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x380425(0x1cc)](_0x1ddc80){const _0x2c7ea2=_0x380425;this['_removeClearOtherTimer'](_0x1ddc80);const _0x47c139=window[_0x2c7ea2(0x25c)](()=>{const _0x3b4604=_0x2c7ea2;this['_unitOnClients'][_0x3b4604(0x27c)](_0x25742e=>{const _0x396c86=_0x3b4604;_0x25742e[_0x396c86(0x251)](_0x1ddc80);});},_0x21e861*0x2);this[_0x2c7ea2(0x2fd)][_0x2c7ea2(0x22d)](_0x1ddc80,_0x47c139);}[_0x380425(0x391)](_0x3c3fe4){const _0x418320=_0x380425;if(this[_0x418320(0x2fd)][_0x418320(0x20d)](_0x3c3fe4)){const _0xde2c8=this['_clearOtherTimers']['get'](_0x3c3fe4);_0xde2c8&&window[_0x418320(0x2ca)](_0xde2c8),this[_0x418320(0x2fd)][_0x418320(0x22d)](_0x3c3fe4,null);}}[_0x380425(0x1f1)](_0x560bda){const _0x244767=_0x380425,{memberID:_0x1b43af,unitIDs:_0x34abd2}=_0x560bda;_0x34abd2[_0x244767(0x27c)](_0x121613=>{const _0x34c398=_0x244767;var _0x3270fe;const _0x751db4=this['_unitOnClients'][_0x34c398(0x291)](_0x121613);_0x751db4&&(_0x751db4[_0x34c398(0x251)](_0x1b43af),(_0x3270fe=this[_0x34c398(0x152)](_0x121613))==null||_0x3270fe[_0x34c398(0x2ee)](_0x751db4[_0x34c398(0x376)]===0x0?_0xb22a40[_0x34c398(0x36b)][_0x34c398(0x351)]:_0xb22a40[_0x34c398(0x36b)][_0x34c398(0x308)]));}),this['_removeClearOtherTimer'](_0x1b43af);}[_0x380425(0x2bb)](_0x4bbcba){const _0x57ee54=_0x380425;this[_0x57ee54(0x1cc)](_0x4bbcba[_0x57ee54(0x30c)]);}['_send'](_0x8fa476){const _0x13cfb0=_0x380425;localStorage[_0x13cfb0(0x206)](_0x3e1d09,JSON['stringify'](_0x8fa476));}[_0x380425(0x3db)](){const _0x4ae3ba=_0x380425;this[_0x4ae3ba(0x2ff)]=window['setInterval'](()=>{const _0x4c00c3=_0x4ae3ba;this[_0x4c00c3(0x2db)]({'type':0x2,'memberID':this[_0x4c00c3(0x327)]});},_0x21e861);}[_0x380425(0x152)](_0x227d57){const _0x45c548=_0x380425;return this[_0x45c548(0x24e)][_0x45c548(0x20d)](_0x227d57)||this[_0x45c548(0x24e)][_0x45c548(0x22d)](_0x227d57,new _0x1bfea8[(_0x45c548(0x1aa))](_0xb22a40[_0x45c548(0x36b)][_0x45c548(0x351)])),this[_0x45c548(0x24e)][_0x45c548(0x291)](_0x227d57);}}var _0x5e525b=(_0x2bb7a0=>(_0x2bb7a0[_0x2bb7a0[_0x380425(0x312)]=0x0]=_0x380425(0x312),_0x2bb7a0[_0x2bb7a0['OK']=0x1]='OK',_0x2bb7a0[_0x2bb7a0[_0x380425(0x2a8)]=0x2]=_0x380425(0x2a8),_0x2bb7a0[_0x2bb7a0['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x2bb7a0[_0x2bb7a0[_0x380425(0x397)]=0x4]=_0x380425(0x397),_0x2bb7a0[_0x2bb7a0['UNAUTHENTICATED']=0x5]=_0x380425(0x1f7),_0x2bb7a0[_0x2bb7a0['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x2bb7a0[_0x2bb7a0[_0x380425(0x307)]=0x7]='INVALID_ARGUMENT',_0x2bb7a0[_0x2bb7a0[_0x380425(0x289)]=0x8]=_0x380425(0x289),_0x2bb7a0[_0x2bb7a0[_0x380425(0x371)]=0x9]=_0x380425(0x371),_0x2bb7a0[_0x2bb7a0['LOGIN_FAILED']=0xa]=_0x380425(0x377),_0x2bb7a0[_0x2bb7a0[_0x380425(0x22f)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2bb7a0[_0x2bb7a0[_0x380425(0x3d5)]=0x1771]=_0x380425(0x3d5),_0x2bb7a0[_0x2bb7a0[_0x380425(0x246)]=0x1772]=_0x380425(0x246),_0x2bb7a0[_0x2bb7a0[_0x380425(0x15f)]=0x1773]=_0x380425(0x15f),_0x2bb7a0[_0x2bb7a0[_0x380425(0x3a1)]=0x1b59]=_0x380425(0x3a1),_0x2bb7a0[_0x2bb7a0[_0x380425(0x1e1)]=0x1b5a]=_0x380425(0x1e1),_0x2bb7a0[_0x2bb7a0[_0x380425(0x1d0)]=0x1b5b]=_0x380425(0x1d0),_0x2bb7a0[_0x2bb7a0[_0x380425(0x2b8)]=0x1b5c]=_0x380425(0x2b8),_0x2bb7a0[_0x2bb7a0['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x2bb7a0[_0x2bb7a0[_0x380425(0x344)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x2bb7a0[_0x2bb7a0['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x380425(0x17f),_0x2bb7a0[_0x2bb7a0['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x380425(0x1e3),_0x2bb7a0[_0x2bb7a0['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x380425(0x3ea),_0x2bb7a0[_0x2bb7a0[_0x380425(0x366)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2bb7a0[_0x2bb7a0[_0x380425(0x2bf)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x2bb7a0[_0x2bb7a0[_0x380425(0x3a5)]=0x2711]=_0x380425(0x3a5),_0x2bb7a0[_0x2bb7a0['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2bb7a0[_0x2bb7a0[_0x380425(0x381)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2bb7a0[_0x2bb7a0[_0x380425(0x333)]=0x2714]=_0x380425(0x333),_0x2bb7a0[_0x2bb7a0[_0x380425(0x2e6)]=0x2af9]=_0x380425(0x2e6),_0x2bb7a0[_0x2bb7a0[_0x380425(0x1d8)]=0x2ee1]=_0x380425(0x1d8),_0x2bb7a0[_0x2bb7a0[_0x380425(0x2b2)]=0x2ee2]='INVALID_INVITE_CODE',_0x2bb7a0[_0x2bb7a0[_0x380425(0x2a3)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2bb7a0[_0x2bb7a0[_0x380425(0x2cf)]=0x2ee4]=_0x380425(0x2cf),_0x2bb7a0[_0x2bb7a0[_0x380425(0x39c)]=0x2ee5]=_0x380425(0x39c),_0x2bb7a0[_0x2bb7a0['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x380425(0x17d),_0x2bb7a0[_0x2bb7a0[_0x380425(0x19e)]=0x32ca]=_0x380425(0x19e),_0x2bb7a0[_0x2bb7a0[_0x380425(0x271)]=0x32cb]=_0x380425(0x271),_0x2bb7a0[_0x2bb7a0[_0x380425(0x355)]=-0x1]=_0x380425(0x355),_0x2bb7a0))(_0x5e525b||{}),_0x488445=Object['getOwnPropertyDescriptor'],_0x377c96=(_0x50c1a5,_0x55f93a,_0x326a9a,_0x3c6975)=>{for(var _0x88359c=_0x3c6975>0x1?void 0x0:_0x3c6975?_0x488445(_0x55f93a,_0x326a9a):_0x55f93a,_0x5786f6=_0x50c1a5['length']-0x1,_0x4cffeb;_0x5786f6>=0x0;_0x5786f6--)(_0x4cffeb=_0x50c1a5[_0x5786f6])&&(_0x88359c=_0x4cffeb(_0x88359c)||_0x88359c);return _0x88359c;},_0x2238b6=(_0x7d2ec2,_0x32e3de)=>(_0x4865b8,_0x390534)=>_0x32e3de(_0x4865b8,_0x390534,_0x7d2ec2);_0x21b587[_0x380425(0x2dd)]=class extends _0x299637[_0x380425(0x3c9)]{constructor(_0x522efe,_0x562fe2,_0xd0812){const _0x20295d=_0x380425;super(),this[_0x20295d(0x238)]=_0x522efe,this[_0x20295d(0x17b)]=_0x562fe2,this[_0x20295d(0x185)]=_0xd0812;}async[_0x380425(0x2de)](_0x48397b,_0x398a07,_0x5de1c8,..._0x30cdeb){const _0x277a56=_0x380425;var _0xffd23a,_0x4624d6,_0x36973f,_0x9fee2e;const _0x544a27=this['_instanceService']['getFocusedUnit']();if(!_0x544a27)throw new Error(_0x277a56(0x31a));const _0x2d5440=((_0xffd23a=this['_configService'][_0x277a56(0x2ef)](_0xb22a40[_0x277a56(0x380)]))!=null?_0xffd23a:_0xb22a40[_0x277a56(0x158)])+'/'+_0x48397b+_0x277a56(0x17c)+_0x398a07,_0x12207a=new URL(window[_0x277a56(0x23d)][_0x277a56(0x1bd)]),_0x4114de={'scriptId':_0x48397b,'runId':(_0x4624d6=_0x12207a[_0x277a56(0x1fc)]['get'](_0x277a56(0x183)))!=null?_0x4624d6:'','function':_0x398a07,'unitId':_0x544a27[_0x277a56(0x20b)](),'argsOfFunction':JSON['stringify'](_0x30cdeb),'invokeId':(_0x36973f=_0x5de1c8['invokeId'])!=null?_0x36973f:'','executionId':(_0x9fee2e=_0x5de1c8[_0x277a56(0x180)])!=null?_0x9fee2e:''};try{const _0x2bc7a1=await this['_httpService']['post'](_0x2d5440,{'body':_0x4114de});return _0x2bc7a1['body'][_0x277a56(0x3d9)]&&_0x2bc7a1[_0x277a56(0x1c1)][_0x277a56(0x3d9)][_0x277a56(0x224)]!==_0x5e525b['OK']?_0x277a56(0x257):_0x2bc7a1['body'][_0x277a56(0x2a7)];}catch{return'Failed';}}},_0x21b587[_0x380425(0x2dd)]=_0x377c96([_0x2238b6(0x0,_0x299637['IUniverInstanceService']),_0x2238b6(0x1,_0x299637[_0x380425(0x3b9)](_0x2d16a8['HTTPService'])),_0x2238b6(0x2,_0x299637['IConfigService'])],_0x21b587['RemoteUniscriptService']),_0x21b587[_0x380425(0x191)]=_0x10915f,_0x21b587['IURLService']=_0x164a39,_0x21b587[_0x380425(0x2ab)]=_0x22955c,_0x21b587[_0x380425(0x290)]=_0x113bf2,_0x21b587[_0x380425(0x305)]=_0x23d439,Object[_0x380425(0x304)](_0x21b587,Symbol[_0x380425(0x2f3)],{'value':_0x380425(0x181)});}));function _0x56b1(_0x2d126c,_0x207f1b){const _0x270090=_0x2700();return _0x56b1=function(_0x56b187,_0x232ce9){_0x56b187=_0x56b187-0x14d;let _0x55cc1d=_0x270090[_0x56b187];return _0x55cc1d;},_0x56b1(_0x2d126c,_0x207f1b);}function _0x2700(){const _0x562d5d=['SetSelectionsOperation','_localeService','RxDisposable','getCurrent','_notificationService','_handleJoinEvent','translate(.97)','onPointerMove$','_setupSubUnitSync','doc.mutation.rich-text-editing','getCurrentRevOfUnit','_anchorDot','useCallback','ColorKit','m2Prime','switchMap','UniverInstanceType','INVITE_CODE_REQUIRED','LOCAL_CACHE_INTERVAL','collabStatus.offline','_uiPartsService','result','INTERNAL_ERROR','isTransformMutationsWithChangesetSuccess','@univerjs/docs-ui','SheetCollabCursorShape','_sheetSkeletonManagerService','handleIRemoveCol','CollaborationSessionService','jsx','@univerjs/ui','ITransformService','INVALID_INVITE_CODE','getCollabCursors$','operators','UniverIcon','_drawTextRange','_localCacheService','APPLY_PERMISSION_DENIED','getTypeOfUnitDisposed$','use','_handleHeartbeatEvent','_onCursorUpdate','getFocusedUnit','displayName','LICENSE_DISTRO_REJECTED','mutations','useRef','OffLineSingle','data','useDependency','_anchor','_getScale','getRenderById','addEventListener','_startDocCollabCursor','clearTimeout','_hover','permission.content','_transformUndoRedoStack','rxjs/operators','USER_NOT_INVITED_CODE','@univerjs-pro/collaboration','_initEvent','combineLatest','on-line-single_clip0_910_349','string','collab-rect-range-','actions','_themeService','_saveCache','setActiveRange','_getSessionTicket','_send','getSkeleton','RemoteUniscriptService','runOnServer','SetWorksheetActivateCommand','ISnapshotServerService','clipPath','Tooltip','getOffsetConfig','popstate','concat','PY_RUNTIME_SCRIPT_ERROR','key','wsSessionTicketUrl','MUTATION','TEXT_RANGE_LAYER_INDEX','some','online','IBeforeCloseService','next','getConfig','with','verdancy600','OFFLINE','toStringTag','subscribe','deepClone','_registerDependencies','IDocClipboardService','_initCommandExecutedListener','_getSaveTimeout','endColumn','_session','IUniverInstanceService','_clearOtherTimers','send','_heartbeatTimer','focused$','_toggleOffline','extend','touchDependencies','defineProperty','WebURLService','getTypeOfUnitAdded$','INVALID_ARGUMENT','OTHER_CLIENTS_EDITING','_urlService','_updateSubUnitFromURLParams','toRgbString','memberID','eventID','debounceTime','BuiltInUIPart','HTTPService','status$','UNDEFINED','random','indexOf','@univerjs/core','sheetId','collabStatus.fetchMiss','getCollabEntity$','disposeUnit','[RemoteUniscriptService]:\x20no\x20focused\x20unit','beginPath','UniverSheetsUi','_docSyncEditingCollabCursorService','unsubscribe','CollaborationUIEventId','transformRemoteChangeset','hide','...','@univerjs/rpc','generateRandomId','url(#$1','fillStyle','_id','LocaleService','selection','syncEditingCollabCursor','getOwnPropertyDescriptor','_colorIndex','debug','colorChannel1','onlineStatus','div','RevisionService','addHandlerCallback','YUUMI_SUBSCRIPTION_NOT_FOUND','assignAColorForMemberID','_drawRectRange','UniverEngineFormula','InsertRangeMoveRightCommandId','_roomMembers$','IRenderManagerService','registerDependencies','urlChange$','onCommandExecuted','_docTransformSelectionsService','_refRangeService','VIEW_MAIN','1099184Pelnub','_eventUnsubscribe','executeCommand','drawWith','CONNECTOR_DATA_TOO_LARGE','transformIMECache','clearInterval','1em','SYNCED','UniverRpc','selections','m1Prime','_docStateChangeManagerService','_disabled','UniverNetwork','_transformHistoryAndStateStack','UniverCollaborationClientUIPlugin','NO_OTHER_CLIENTS_EDITING','_entityInit$','HEADER_MENU','DOC_RANGE_TYPE','UNRECOGNIZED','_collabCursorState$','subscribeEvent','round','DocStateChangeManagerService','[CollaborationDataLoaderController]','_createSocketURL','serializeRangeWithSheet','toString','transformMutation','amd','push','fromEvent','_cursorShapes','handleInsertRangeMoveDown','map','Tools','LICENSE_EXPORT_SIZE_EXCEEDED','getCurrentUnitForType','loadOfflineData','dispose$','ThemeService','UnitStatus','_cursorInfo$','entries','skeleton','connectInjector','setParam','COMPLETION_FINISHED','hovered','CollaborationStatus','_assignedColors','length','size','LOGIN_FAILED','UniverDocs','disposeWithMe','setAlpha','substring','removeParam','enableLocalCache','_initStatusComponent','forwardRef','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','YUUMI_RATE_OVER_LIMIT','type','_commandService','getRangePointData','UniverDocsUi','_docTransformIMECacheService','_getMergeRange','mask','permission.title','setStateCache','textRanges','defIds','onlineStatusTitle','getUndoRedoMutationParamsCache','IMessageService','cursorInfo','_removeClearOtherTimer','@univerjs/drawing','currentColor','UniverDrawing','_lastPointer','collabStatus.conflict','NOT_FOUND','_docSkeletonManagerService','flatMap','UniverProCollaborationClient','OTHER_CLIENT_EDITING','INVITE_CODE_ALREADY_BOUND','disableLocalCache','_updateURLWithCurrentState','init','_updateLocalCursor','APPLY_REJECT','_document','fillText','collabStatus.notCollab','YUUMI_UNABLE_LOAD_URL','addObject','_memberService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','WebSocketService','startColumn','defs','clsx','takeUntil','UniverDesign','getCoordByCell','jiqing500','closePath','_scene','ticket','SOCKET_FAILED_RETRY','_selfUnitIDs','registerRenderModule','add','Inject','_entities','AWAITING_WITH_PENDING','CollaborationController','isEditing','registerBeforeClose','_injector','addObjects','path','findNodePositionByCharIndex','#FFF','DeleteRangeMoveLeftCommandId','_transformService','DocIMEInputManagerService','useObservable','ONLINE','Disposable','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','DataLoaderService','getUnhiddenWorksheets','throttleTime','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','UNIVER_DOC','attrs','UniverUi','_textBubble','USERS_LEAVE','none','SNAPSHOT_INVALID_SNAPSHOT','unload','cursorInfo$','roomMembers$','error','@univerjs/engine-render','_scheduleHeartbeat','Error','svg','getLocalCacheKey','84puiqgT','OnLineSingle','RefRangeService','1196901mBRlYl','toDisposable','handleDeleteRangeMoveLeft','onlineStatusIcon','redoState','_renderManagerService','currentSkeleton$','arc','LICENSE_IMPORT_SIZE_EXCEEDED','currentTheme$','onMouseMove','complete','collaboration.single-unit.warning','CollaborationEvent','_collaborationUIEventService','collab-client.tooltip.reconnect','Warning','Workbook','MemberService','className','_ensureSubject','handleIRemoveRow','source','roomMembers','editingUnit','_initStatusListener','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','CollaborationSocketService','JOIN_ROOM_FAILED','96555Jksaqo','_config','_colorAssignService','row','ENSURE_SNAPSHOT_EXECUTION','rxjs','merge','exports','CONFLICT','off-line-single','object','UniverProCollaboration','getSheetBySheetId','RemoveRowCommandId','debounce','_draw','_getAnchorBounding','getCurrentSelections','AWAITING','url(#off-line-single_clip0_910_343)','UNIVER_SHEET','collabStatus.syncing','_docTransformStateCacheService','event$','bottom','engine','split','from','ILocalStorageService','_beforeCloseService','unitID','children','_httpService','/run/','WECHAT_HAS_BEEN_BOUND','purple300','LICENSE_MAX_UNITS_EXCEEDED','executionId','Module','1187APaFfY','runId','subunit','_configService','createElement','getVpScrollXYInfoByPosToVp','setConfig','_cursor','_getSheetObject','text','fromEventSubject','application/json','collaboration.closeRoom','blue400','CLOSE_ROOM','CollaborationStatusDisplay','1070223scqnFT','ILocalCacheService','_initDependencies','@univerjs/sheets-ui','EffectRefRangId','transformSelections','resize','_color','ranges','ACTIVE_UNIT_EVENT_CHANNEL','saveTaskMap','Plugin','MOBILE_HAS_BEEN_BOUND','call','assign','unit','registerRefRange','height','prototype','IUIPartsService','restore','PENDING','INotificationService','ISocketService','BehaviorSubject','hasOwnProperty','asObservable','_unitOnClients','dispose','611868xdYzSQ','_status$','@univerjs/docs','_cursors','exhaustSavingTask','_updateCollabCursors','session.collaboration-timeout','_online','history','_setupBeforeClosingHandler','_startSheetCollabCursor','RegularPolygon','SUBMIT_CHANGESET_TIMEOUT','_shapes','href','onPointerEnter$','find','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','body','DependentOn','_univerInstanceService','createIdentifier','session.will-retry','_collabSessionService','@univerjs/design','getAncestorScale','NodePositionConvertToCursor','getParam','width','_scheduleClearOtherTimer','isArray','reconnect','getMember','APPLY_REVISION_CONFILICT','replaceState','getUnitStatus$','trim','evenodd','gold400','off-line-single_clip0_910_343','ILogService','INVITE_CODE_HAS_BEEN_UES','transformByState','CommandType','_initResize','params','replace','collabCursorState$','_syncEditingCollabCursorService','RECT','APPLY_NON_SEQUENTIAL_REVISION','idSuffix','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_onCursorDelete','newValue','0\x200\x2017\x2016','override','InsertColCommandId','Rect','_localStorageService','SOCKET_FAILED','apply','lineTo','_handleHover','show','#fff','_handleLeaveEvent','getMemberID','SessionStatus','requireSession','SetDocZoomRatioOperation','_name','UNAUTHENTICATED','BrowserCollaborationSocketService','_context','runRefRangeMutations','transformMutationsWithChangeset','searchParams','MoveRangeCommandId','_initEntityListener','addClipboardHook','handleMoveRange','undoState','_messageService','current','UniverCore','updateOfflineData','setItem','RichTextEditingMutation','unitId','fill','color','getUnitId','Injector','has','storage','SetTextSelectionsOperation','_logService','_dataLoaderService','_toggleOnline','getValue','@univerjs/engine-formula','collaboration-client.offline-data-not-saved','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','handleDeleteRangeMoveUp','DesktopCollaborationStatusDisplayController','ICommandService','univer-online-status','react','SheetSkeletonManagerService','FromArray','_hideTimer','jsxs','_handleEvent','origin','M0\x200H16V16H0z','MessageType','code','IConfigService','getCellPositionByOffset','pipe','setShapeProps','setUndoRedoMutationParamsCache','icon','collab-text-anchor-','isTransformMutationFailure','set','getActiveSheet','CHANGESET_REVISION_CONFILICT','getColor','name','min','measureText','DEFAULT_WS_SESSION_TICKET_URL','_cachedData','_collabCursorController','_scheduleSaving','_instanceService','labelPosition','font','onStarting','IRemoteInstanceService','location','parse','_revisionService','@univerjs/network','loadUnit','pushState','DocSelectionManagerService','_hovered','subUnitId','SNAPSHOT_HAS_BEEN_REMOVED','includes','@univerjs-pro/collaboration-client','UniverSheets','COLORS','max','302bkCXWB','CollaborationDataLoaderController','_unitStatus','contains','Shape','delete','_render','UPDATE_CURSOR','tag','_collaborationController','_drawAnchor','Failed','registerComponent','onPointerLeave$','_range','getDocRanges','setTimeout','_docSkeleton','black','getViewport','unshift','red300','transform','getOwnPropertySymbols','then','whenReady','deserializeRangeWithSheet','getSheetId','propertyIsEnumerable','xlink:href','triggerDblclick','column','RemoveColCommandId','distinctUntilChanged','getStateCache','top','replaceDocRanges','EMAIL_HAS_BEEN_BOUND','save','createSocket','handleInsertRangeMoveRight','Vector2','univer-online-status-title','univer-online','_init','sessionStatus$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','CollaborationUIEventService','forEach','NOT_COLLAB','_removeCollabCursors','saveOfflineData','function','_onRefRangeChange','_labelPosition','10UhElwr','onLocalMutation','141564myrwun','mapTo','values','endRow','TOO_MANY_REQUESTS','_imageIoService','transformStateCache','Rectangle','TEXT','_saveTaskMap','_backgroundColor','WebBrowserSingleActiveUnitService','get'];_0x2700=function(){return _0x562d5d;};return _0x2700();}
1
+ (function(_0x3804e7,_0x16bbd4){const _0x51c215=_0x43e1,_0x834b8c=_0x3804e7();while(!![]){try{const _0x141b73=-parseInt(_0x51c215(0x229))/0x1+parseInt(_0x51c215(0x2e2))/0x2*(-parseInt(_0x51c215(0x387))/0x3)+-parseInt(_0x51c215(0x2cf))/0x4*(-parseInt(_0x51c215(0x1eb))/0x5)+-parseInt(_0x51c215(0x22d))/0x6+parseInt(_0x51c215(0x326))/0x7+parseInt(_0x51c215(0x36c))/0x8+parseInt(_0x51c215(0x161))/0x9*(parseInt(_0x51c215(0x221))/0xa);if(_0x141b73===_0x16bbd4)break;else _0x834b8c['push'](_0x834b8c['shift']());}catch(_0x2cf621){_0x834b8c['push'](_0x834b8c['shift']());}}}(_0x5858,0x8bfb4),function(_0x52cbe4,_0x38a14a){const _0x191192=_0x43e1;typeof exports==_0x191192(0x361)&&typeof module<'u'?_0x38a14a(exports,require(_0x191192(0x132)),require(_0x191192(0x321)),require(_0x191192(0x19a)),require(_0x191192(0x2dc)),require(_0x191192(0x39e)),require(_0x191192(0x2c1)),require(_0x191192(0x1aa)),require(_0x191192(0x14e)),require(_0x191192(0x2d0)),require('@univerjs/engine-formula'),require(_0x191192(0x293)),require(_0x191192(0x1ce)),require(_0x191192(0x289)),require(_0x191192(0x2a9)),require(_0x191192(0x364)),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0x191192(0x253)&&define[_0x191192(0x375)]?define([_0x191192(0x232),'@univerjs-pro/collaboration-client','@univerjs/core',_0x191192(0x19a),_0x191192(0x2dc),_0x191192(0x39e),_0x191192(0x2c1),_0x191192(0x1aa),_0x191192(0x14e),_0x191192(0x2d0),_0x191192(0x1f9),'@univerjs/sheets',_0x191192(0x1ce),_0x191192(0x289),'react/jsx-runtime',_0x191192(0x364),_0x191192(0x255),_0x191192(0x2fa),_0x191192(0x2b6)],_0x38a14a):(_0x52cbe4=typeof globalThis<'u'?globalThis:_0x52cbe4||self,_0x38a14a(_0x52cbe4['UniverProCollaborationClientUi']={},_0x52cbe4['UniverProCollaborationClient'],_0x52cbe4[_0x191192(0x11f)],_0x52cbe4['UniverEngineRender'],_0x52cbe4[_0x191192(0x262)],_0x52cbe4[_0x191192(0x265)],_0x52cbe4[_0x191192(0x1b6)],_0x52cbe4['rxjs'],_0x52cbe4[_0x191192(0x291)],_0x52cbe4[_0x191192(0x18b)],_0x52cbe4['UniverEngineFormula'],_0x52cbe4[_0x191192(0x32c)],_0x52cbe4['rxjs'][_0x191192(0x1a8)],_0x52cbe4[_0x191192(0x141)],_0x52cbe4[_0x191192(0x27e)],_0x52cbe4['UniverUi'],_0x52cbe4['UniverDesign'],_0x52cbe4[_0x191192(0x27e)],_0x52cbe4[_0x191192(0x116)]));}(this,function(_0x36c617,_0x4f478b,_0x386f4f,_0x3cf560,_0x141f63,_0x472a15,_0x120d27,_0x4be4f6,_0x295784,_0x1d0381,_0x377136,_0x327184,_0x41609c,_0x390eae,_0x1af772,_0x1a993f,_0x12259d,_0x105c2,_0x159f8e){'use strict';const _0x193cba=_0x43e1;var _0x17571e=Object['defineProperty'],_0x58fa3e=(_0x1d850d,_0x13c3c1,_0x140659)=>_0x13c3c1 in _0x1d850d?_0x17571e(_0x1d850d,_0x13c3c1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x140659}):_0x1d850d[_0x13c3c1]=_0x140659,_0x1faacb=(_0x38504b,_0x10630c,_0xb40ed3)=>_0x58fa3e(_0x38504b,typeof _0x10630c!=_0x193cba(0x214)?_0x10630c+'':_0x10630c,_0xb40ed3),_0x140657=Object[_0x193cba(0x2d5)],_0x3f2de8=(_0xea27f1,_0xf0db4e,_0x17542b,_0x43d44f)=>{for(var _0x2ce21a=_0x43d44f>0x1?void 0x0:_0x43d44f?_0x140657(_0xf0db4e,_0x17542b):_0xf0db4e,_0x561048=_0xea27f1['length']-0x1,_0x452c43;_0x561048>=0x0;_0x561048--)(_0x452c43=_0xea27f1[_0x561048])&&(_0x2ce21a=_0x452c43(_0x2ce21a)||_0x2ce21a);return _0x2ce21a;},_0x36614d=(_0x438e03,_0x327028)=>(_0x5ebe69,_0x4444e9)=>_0x327028(_0x5ebe69,_0x4444e9,_0x438e03);let _0x1896ae=class extends _0x386f4f[_0x193cba(0x320)]{constructor(_0x26f0fe,_0x38514a){const _0x2d31d7=_0x193cba;super(),this[_0x2d31d7(0x2c9)]=_0x26f0fe,this['_imageIoService']=_0x38514a,this[_0x2d31d7(0x24f)]();}[_0x193cba(0x24f)](){const _0x30f9b2=_0x193cba,_0x561b7b=this;this[_0x30f9b2(0x258)](this[_0x30f9b2(0x2c9)][_0x30f9b2(0x348)]({'onBeforePasteImage':async _0x2f5f7d=>{const _0x930478=_0x30f9b2,_0x11f155=await _0x561b7b['_imageIoService'][_0x930478(0x31a)](_0x2f5f7d);return _0x11f155?{'source':_0x11f155[_0x930478(0x2f8)],'imageSourceType':_0x11f155[_0x930478(0x2f3)]}:null;}}));}};_0x1896ae=_0x3f2de8([_0x36614d(0x0,_0x472a15['IDocClipboardService']),_0x36614d(0x1,_0x120d27[_0x193cba(0x331)])],_0x1896ae);const _0x21fe44=[_0x193cba(0x1ca),_0x193cba(0x1e2),'verdancy600',_0x193cba(0x36b),_0x193cba(0x1c8),_0x193cba(0x396)];class _0x4088ae extends _0x386f4f['Disposable']{constructor(){const _0x161734=_0x193cba;super(...arguments),_0x1faacb(this,_0x161734(0x17a),new Map()),_0x1faacb(this,'_colorIndex',0x0);}[_0x193cba(0x308)](_0x4ec66b){const _0x4a74b2=_0x193cba;if(this[_0x4a74b2(0x17a)][_0x4a74b2(0x25c)](_0x4ec66b))return this[_0x4a74b2(0x17a)]['get'](_0x4ec66b);const _0x3531fc=_0x21fe44[this[_0x4a74b2(0x239)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x21fe44['length'],this['_assignedColors'][_0x4a74b2(0x15c)](_0x4ec66b,_0x3531fc),_0x3531fc;}}function _0x31bf8e(_0xccba95){let _0xe45f25='';for(const _0x5ee652 of _0xccba95){const {startOffset:_0x281446,endOffset:_0x2c33dd,isActive:_0x4b576a,rangeType:_0x4c68e8,segmentId:_0x4bb73e,segmentPage:_0x42c0b7}=_0x5ee652;_0xe45f25['length']&&(_0xe45f25+=','),_0xe45f25+=_0x281446+':'+_0x2c33dd+':'+(_0x4b576a?'1':'0')+':'+_0x4c68e8+':'+_0x4bb73e+':'+_0x42c0b7;}return _0xe45f25;}function _0xce10fc(_0x229555){const _0xbf7e73=_0x193cba,_0x4b90c3=_0x229555['split'](','),_0x3e0366=[];for(const _0x5140aa of _0x4b90c3){const [_0x28f0fa,_0x7a4aaa,_0x17f15c,_0x90b949,_0x3c6751,_0x1184ec]=_0x5140aa[_0xbf7e73(0x2ef)](':');_0x3e0366[_0xbf7e73(0x2be)]({'startOffset':Number(_0x28f0fa),'endOffset':Number(_0x7a4aaa),'collapsed':_0x28f0fa===_0x7a4aaa,'isActive':_0x17f15c==='1','rangeType':_0x90b949===_0x386f4f[_0xbf7e73(0x378)]['TEXT']?_0x386f4f[_0xbf7e73(0x378)]['TEXT']:_0x386f4f[_0xbf7e73(0x378)]['RECT'],'segmentId':typeof _0x3c6751==_0xbf7e73(0x235)?String(_0x3c6751):'','segmentPage':Number(_0x1184ec!=null?_0x1184ec:-0x1)});}return _0x3e0366[_0xbf7e73(0x137)](_0x54bbb0=>_0x54bbb0[_0xbf7e73(0x13e)])||(_0x3e0366[0x0]['isActive']=!0x0),_0x3e0366;}class _0x88948a extends _0x386f4f[_0x193cba(0x320)]{constructor(){const _0x4a37ed=_0x193cba;super(...arguments),_0x1faacb(this,_0x4a37ed(0x15d),new _0x4be4f6['BehaviorSubject'](null)),_0x1faacb(this,'collabCursorState$',this[_0x4a37ed(0x15d)][_0x4a37ed(0x322)]());}[_0x193cba(0x159)](_0x5465ad){const {unitID:_0x57c59c,memberID:_0x53e086,textRanges:_0x2e1421}=_0x5465ad,_0x3e7eda=_0x31bf8e(_0x2e1421);if(_0x3e7eda==='')return;const _0x10ab3c={'unitID':_0x57c59c,'memberID':_0x53e086,'selection':_0x3e7eda};this['_collabCursorState$']['next'](_0x10ab3c);}}var _0x4196b5=Object[_0x193cba(0x2d5)],_0x56cd43=(_0x2a460a,_0x2bbe72,_0x1b1de9,_0x4d4ecf)=>{const _0x4af851=_0x193cba;for(var _0x488471=_0x4d4ecf>0x1?void 0x0:_0x4d4ecf?_0x4196b5(_0x2bbe72,_0x1b1de9):_0x2bbe72,_0x17c7bc=_0x2a460a[_0x4af851(0x1da)]-0x1,_0x2960ca;_0x17c7bc>=0x0;_0x17c7bc--)(_0x2960ca=_0x2a460a[_0x17c7bc])&&(_0x488471=_0x2960ca(_0x488471)||_0x488471);return _0x488471;},_0x478d0e=(_0x559b42,_0x56bcff)=>(_0x443798,_0x343b6e)=>_0x56bcff(_0x443798,_0x343b6e,_0x559b42);const _0x3d0147=0x12c,_0x414a07=0x64;let _0x39350e=class extends _0x386f4f['RxDisposable']{constructor(_0x52d446,_0x2638a1,_0x26f3f4,_0x496f4a,_0x70506b,_0x579fdd,_0x2c410b,_0x5a107a,_0x2f1ae1){const _0xded4f7=_0x193cba;super(),_0x1faacb(this,_0xded4f7(0x16d),!0x1),_0x1faacb(this,'_init',!0x1),_0x1faacb(this,_0xded4f7(0x2e7),new _0x4be4f6[(_0xded4f7(0x2b3))](new Map())),_0x1faacb(this,_0xded4f7(0x17b),this[_0xded4f7(0x2e7)]['asObservable']()),_0x1faacb(this,_0xded4f7(0x11e),new _0x4be4f6['BehaviorSubject']([])),_0x1faacb(this,'roomMembers$',this[_0xded4f7(0x11e)][_0xded4f7(0x143)](_0x4be4f6[_0xded4f7(0x166)](_0x3d0147))),_0x1faacb(this,_0xded4f7(0x199),_0x386f4f[_0xded4f7(0x21b)](_0x5a0e1b=>{const _0x57eab5=_0xded4f7,_0x21bf6f={'eventID':_0x1d0381[_0x57eab5(0x2b4)][_0x57eab5(0x371)],'data':{'unitID':this['unitID'],'memberID':this[_0x57eab5(0x263)]['getMemberID'](),'selection':_0x31bf8e(_0x5a0e1b)}};this[_0x57eab5(0x263)][_0x57eab5(0x312)](_0x21bf6f,this[_0x57eab5(0x310)]);},_0x414a07)),(this['unitID']=_0x52d446,this[_0xded4f7(0x263)]=_0x2638a1,this['_injector']=_0x26f3f4,this[_0xded4f7(0x2c0)]=_0x496f4a,this[_0xded4f7(0x1af)]=_0x70506b,this[_0xded4f7(0x313)]=_0x579fdd,this[_0xded4f7(0x182)]=_0x2c410b,this[_0xded4f7(0x1f5)]=_0x5a107a,this['_commandService']=_0x2f1ae1);}get['cursorInfo'](){const _0x34276f=_0x193cba;return this[_0x34276f(0x2e7)][_0x34276f(0x28f)]();}get[_0x193cba(0x145)](){const _0x5a8974=_0x193cba;return this[_0x5a8974(0x11e)][_0x5a8974(0x28f)]();}[_0x193cba(0x32f)](){const _0x1ae2da=_0x193cba;super[_0x1ae2da(0x32f)](),this[_0x1ae2da(0x2e7)][_0x1ae2da(0x37b)](new Map()),this[_0x1ae2da(0x2e7)][_0x1ae2da(0x373)](),this[_0x1ae2da(0x11e)]['next']([]),this[_0x1ae2da(0x11e)][_0x1ae2da(0x373)]();}[_0x193cba(0x192)](){const _0x1c7de4=_0x193cba;this[_0x1c7de4(0x24f)]||(this[_0x1c7de4(0x24f)]=!0x0,this[_0x1c7de4(0x263)][_0x1c7de4(0x20a)][_0x1c7de4(0x143)](_0x4be4f6[_0x1c7de4(0x30f)](this[_0x1c7de4(0x22c)]))[_0x1c7de4(0x274)](_0x4ea7d4=>{const _0x544fd7=_0x1c7de4;_0x4ea7d4===_0x4f478b['SessionStatus'][_0x544fd7(0x2ed)]?this[_0x544fd7(0x266)]():this[_0x544fd7(0x31d)]();}),this['_session']['event$'][_0x1c7de4(0x143)](_0x4be4f6[_0x1c7de4(0x30f)](this[_0x1c7de4(0x22c)]))[_0x1c7de4(0x274)](_0x49b52b=>{const _0x5d9722=_0x1c7de4,_0xff3f87=_0x49b52b['eventID'];_0xff3f87===_0x1d0381[_0x5d9722(0x2b4)][_0x5d9722(0x371)]&&this[_0x5d9722(0x30d)](_0x49b52b),_0xff3f87===_0x1d0381['CollaborationEvent'][_0x5d9722(0x2ee)]&&this[_0x5d9722(0x1b1)](_0x49b52b);}),this[_0x1c7de4(0x258)](this[_0x1c7de4(0x2f4)][_0x1c7de4(0x2ea)](_0x298f5f=>{const _0x36855c=_0x1c7de4,_0x307d53=_0x298f5f[_0x36855c(0x257)];_0x307d53!=null&&this['_online']&&_0x298f5f['id']===_0x295784[_0x36855c(0x123)]['id']&&_0x307d53['unitId']===this[_0x36855c(0x310)]&&_0x307d53['isEditing']===!0x1&&_0x307d53[_0x36855c(0x12e)][_0x36855c(0x1da)]>0x0&&this[_0x36855c(0x199)](_0x307d53[_0x36855c(0x12e)]);})),this['_syncEditingCollabCursorService'][_0x1c7de4(0x128)][_0x1c7de4(0x143)](_0x4be4f6[_0x1c7de4(0x30f)](this[_0x1c7de4(0x22c)]))['subscribe'](_0x45fe5b=>{const _0x4009f9=_0x1c7de4;if((_0x45fe5b==null?void 0x0:_0x45fe5b['unitID'])!==this['unitID'])return;const _0x3f4366={'eventID':_0x1d0381[_0x4009f9(0x2b4)][_0x4009f9(0x371)],'data':_0x45fe5b};this[_0x4009f9(0x30d)](_0x3f4366);}),this[_0x1c7de4(0x258)](this[_0x1c7de4(0x2f4)][_0x1c7de4(0x2ea)](_0x54e5dc=>{const _0x154c08=_0x1c7de4;if(_0x54e5dc[_0x154c08(0x257)]==null)return;const _0x4bda2c=_0x54e5dc[_0x154c08(0x257)];if(_0x54e5dc['id']!==_0x295784[_0x154c08(0x35d)]['id']||_0x4bda2c[_0x154c08(0x162)]!==this[_0x154c08(0x310)])return;const _0x332c7={'id':_0x154c08(0x29d),'params':_0x4bda2c},_0x27c3e0=this[_0x154c08(0x142)];for(const [_0x52ca93,_0x3a57d6]of _0x27c3e0){const _0x3b8013={'id':_0x154c08(0x29d),'params':{'unitId':this[_0x154c08(0x310)],'actions':null,'textRanges':_0x3a57d6[_0x154c08(0x12e)]}},_0x3f10dd=this[_0x154c08(0x182)]['transformMutation'](_0x332c7,_0x3b8013,!0x1);if(_0x1d0381[_0x154c08(0x303)](_0x3f10dd))throw _0x3f10dd[_0x154c08(0x282)];_0x27c3e0['set'](_0x52ca93,{..._0x3a57d6,'ranges':_0x3f10dd[_0x154c08(0x32e)]['params'][_0x154c08(0x2c3)]});}queueMicrotask(()=>{const _0x4b61ba=_0x154c08;this[_0x4b61ba(0x2e7)]['next'](_0x27c3e0);});})));}[_0x193cba(0x30d)](_0x51b84e){const _0x1b054b=_0x193cba;var _0x534c62,_0x1bf720;const {memberID:_0x1ac651,selection:_0x2b8caf}=_0x51b84e['data'],_0x41b2f7=_0xce10fc(_0x2b8caf),_0x2da091=(_0x1bf720=(_0x534c62=this[_0x1b054b(0x1af)][_0x1b054b(0x2e5)](this[_0x1b054b(0x310)],_0x1ac651))==null?void 0x0:_0x534c62['name'])!=null?_0x1bf720:_0x1b054b(0x351),_0x29492a={'color':this[_0x1b054b(0x2c0)]['assignAColorForMemberID'](_0x1ac651),'name':_0x2da091,'ranges':_0x41b2f7},_0x9c8273=this['cursorInfo'];_0x9c8273[_0x1b054b(0x15c)](_0x1ac651,_0x29492a),this[_0x1b054b(0x2e7)]['next'](_0x9c8273);}[_0x193cba(0x1b1)](_0x2c8d66){const _0x46699a=_0x193cba,{memberID:_0x265082}=_0x2c8d66['data'],_0x23e67f=this[_0x46699a(0x142)];_0x23e67f[_0x46699a(0x384)](_0x265082),this[_0x46699a(0x2e7)]['next'](_0x23e67f);}[_0x193cba(0x266)](){const _0x2cfd20=_0x193cba;var _0x1e3da9;if(this[_0x2cfd20(0x16d)]=!0x0,((_0x1e3da9=this[_0x2cfd20(0x1f5)][_0x2cfd20(0x1a3)]())==null?void 0x0:_0x1e3da9['getUnitId']())!==this[_0x2cfd20(0x310)])return;const _0x57d543=this[_0x2cfd20(0x183)][_0x2cfd20(0x2e1)](_0x295784['DocSelectionManagerService'])[_0x2cfd20(0x285)]();Array[_0x2cfd20(0x1be)](_0x57d543)&&_0x57d543[_0x2cfd20(0x1da)]>0x0&&this[_0x2cfd20(0x199)](_0x57d543);}[_0x193cba(0x31d)](){const _0x1700f3=_0x193cba;this[_0x1700f3(0x16d)]=!0x1;}};_0x39350e=_0x56cd43([_0x478d0e(0x2,_0x386f4f[_0x193cba(0x24d)](_0x386f4f[_0x193cba(0x290)])),_0x478d0e(0x3,_0x386f4f['Inject'](_0x4088ae)),_0x478d0e(0x4,_0x386f4f[_0x193cba(0x24d)](_0x4f478b['MemberService'])),_0x478d0e(0x5,_0x386f4f[_0x193cba(0x24d)](_0x88948a)),_0x478d0e(0x6,_0x1d0381['ITransformService']),_0x478d0e(0x7,_0x386f4f[_0x193cba(0x2ce)]),_0x478d0e(0x8,_0x386f4f['ICommandService'])],_0x39350e);var _0x3eafcd=Object[_0x193cba(0x2d5)],_0x535d0e=(_0x5bcf2c,_0xc8d764,_0xc9affe,_0x528905)=>{const _0x3013dc=_0x193cba;for(var _0x34ecbe=_0x528905>0x1?void 0x0:_0x528905?_0x3eafcd(_0xc8d764,_0xc9affe):_0xc8d764,_0x490a9a=_0x5bcf2c[_0x3013dc(0x1da)]-0x1,_0x562f37;_0x490a9a>=0x0;_0x490a9a--)(_0x562f37=_0x5bcf2c[_0x490a9a])&&(_0x34ecbe=_0x562f37(_0x34ecbe)||_0x34ecbe);return _0x34ecbe;},_0x10377d=(_0x251a4e,_0x3fc92e)=>(_0x291412,_0x5b194f)=>_0x3fc92e(_0x291412,_0x5b194f,_0x251a4e);const _0x2b740e=0x12c,_0x4ee0dd=0x64,_0x6d01bf=()=>{let _0x3c6b04=[],_0x1ec66f=!0x1;return _0x2090c8=>{_0x3c6b04['push'](_0x2090c8),_0x1ec66f||(_0x1ec66f=!0x0,setTimeout(()=>{const _0x264b71=_0x43e1;_0x3c6b04[_0x264b71(0x2fc)](_0x357558=>_0x357558()),_0x3c6b04=[],_0x1ec66f=!0x1;}));};};let _0xac371c=class extends _0x386f4f[_0x193cba(0x320)]{constructor(_0x32c54b,_0x5b84cb,_0xd589fd,_0x272fc1,_0x53f395,_0x3c9844,_0xb77f77,_0x112664){const _0x2f6b09=_0x193cba;super(),_0x1faacb(this,_0x2f6b09(0x16d),!0x1),_0x1faacb(this,_0x2f6b09(0x24f),!0x1),_0x1faacb(this,_0x2f6b09(0x2e7),new _0x4be4f6[(_0x2f6b09(0x2b3))](new Map())),_0x1faacb(this,_0x2f6b09(0x17b),this[_0x2f6b09(0x2e7)]['asObservable']()),_0x1faacb(this,'_roomMembers$',new _0x4be4f6[(_0x2f6b09(0x2b3))]([])),_0x1faacb(this,_0x2f6b09(0x169),this['_roomMembers$'][_0x2f6b09(0x143)](_0x4be4f6['debounceTime'](_0x2b740e))),_0x1faacb(this,_0x2f6b09(0x199),_0x386f4f['debounce']((_0x181c2d,_0x39ff73)=>{const _0x49d773=_0x2f6b09,_0x353bb2={'eventID':_0x1d0381['CollaborationEvent'][_0x49d773(0x371)],'data':{'unitID':this[_0x49d773(0x310)],'memberID':this['_session'][_0x49d773(0x26c)](),'selection':_0x377136[_0x49d773(0x1d4)](_0x181c2d,_0x39ff73[_0x49d773(0x279)])}};this[_0x49d773(0x263)][_0x49d773(0x312)](_0x353bb2,this[_0x49d773(0x310)]);},_0x4ee0dd)),(this[_0x2f6b09(0x310)]=_0x32c54b,this['_session']=_0x5b84cb,this[_0x2f6b09(0x183)]=_0xd589fd,this[_0x2f6b09(0x2c0)]=_0x272fc1,this[_0x2f6b09(0x1af)]=_0x53f395,this['_univerInstanceService']=_0x3c9844,this[_0x2f6b09(0x2f4)]=_0xb77f77,this[_0x2f6b09(0x1d2)]=_0x112664);}get['cursorInfo'](){const _0x498c2e=_0x193cba;return this['_cursorInfo$'][_0x498c2e(0x28f)]();}get[_0x193cba(0x145)](){const _0x5cea9f=_0x193cba;return this['_roomMembers$'][_0x5cea9f(0x28f)]();}[_0x193cba(0x32f)](){const _0x1bac1a=_0x193cba;super['dispose'](),this[_0x1bac1a(0x2e7)][_0x1bac1a(0x37b)](new Map()),this[_0x1bac1a(0x2e7)]['complete'](),this[_0x1bac1a(0x11e)][_0x1bac1a(0x37b)]([]),this[_0x1bac1a(0x11e)][_0x1bac1a(0x373)]();}['init'](){const _0x25da10=_0x193cba;this['_init']||(this[_0x25da10(0x24f)]=!0x0,this[_0x25da10(0x263)][_0x25da10(0x20a)][_0x25da10(0x143)](_0x4be4f6[_0x25da10(0x30f)](this[_0x25da10(0x22c)]))[_0x25da10(0x274)](_0x3d134f=>{const _0x540582=_0x25da10;_0x3d134f===_0x4f478b[_0x540582(0x130)]['ONLINE']?this[_0x540582(0x266)]():this['_toggleOffline']();}),this[_0x25da10(0x263)][_0x25da10(0x304)][_0x25da10(0x143)](_0x4be4f6[_0x25da10(0x30f)](this[_0x25da10(0x22c)]))[_0x25da10(0x274)](_0x131883=>{const _0x33fe35=_0x25da10,_0x424b7b=_0x131883['eventID'];_0x424b7b===_0x1d0381['CollaborationEvent'][_0x33fe35(0x371)]&&this[_0x33fe35(0x30d)](_0x131883),_0x424b7b===_0x1d0381[_0x33fe35(0x2b4)][_0x33fe35(0x2ee)]&&this[_0x33fe35(0x1b1)](_0x131883);}),this[_0x25da10(0x1d1)](),this[_0x25da10(0x258)](this['_commandService'][_0x25da10(0x2ea)](_0x2f544b=>{const _0x2faa89=_0x25da10;if(this[_0x2faa89(0x16d)]&&_0x2f544b['id']===_0x327184[_0x2faa89(0x2f0)]['id']&&_0x2f544b['params'][_0x2faa89(0x162)]===this['unitID']){const _0x56d879=_0x2f544b[_0x2faa89(0x257)];this[_0x2faa89(0x199)](_0x56d879[_0x2faa89(0x264)],_0x56d879['selections'][0x0]);}})));}[_0x193cba(0x30d)](_0x2a70ca){const _0x528574=_0x193cba;var _0x392a99,_0x1bb850;const {memberID:_0x2a25fc,selection:_0x1b87df}=_0x2a70ca[_0x528574(0x2cb)],{sheetName:_0x3c2a8c,range:_0x7d5866}=_0x377136['deserializeRangeWithSheet'](_0x1b87df),_0x391780={'name':(_0x1bb850=(_0x392a99=this[_0x528574(0x1af)][_0x528574(0x2e5)](this['unitID'],_0x2a25fc))==null?void 0x0:_0x392a99[_0x528574(0x26b)])!=null?_0x1bb850:_0x528574(0x351),'range':this['_getMergeRange'](_0x3c2a8c,_0x7d5866),'sheetID':_0x3c2a8c,'color':this[_0x528574(0x2c0)]['assignAColorForMemberID'](_0x2a25fc),'selection':_0x1b87df},_0x297296=this[_0x528574(0x142)];_0x297296[_0x528574(0x15c)](_0x2a25fc,_0x391780),this['_cursorInfo$']['next'](_0x297296);}[_0x193cba(0x1b1)](_0x244b57){const _0x51003a=_0x193cba,{memberID:_0x109dc5}=_0x244b57['data'],_0x17f4e5=this[_0x51003a(0x142)];_0x17f4e5['delete'](_0x109dc5),this['_cursorInfo$']['next'](_0x17f4e5);}[_0x193cba(0x198)](_0x51e160,_0x30bb06){const _0x4be9da=_0x193cba;var _0x3c4479,_0x4791a4;const _0x31e6d4=(_0x4791a4=(_0x3c4479=this[_0x4be9da(0x1f5)][_0x4be9da(0x335)](this[_0x4be9da(0x310)]))==null?void 0x0:_0x3c4479[_0x4be9da(0x21e)](_0x51e160))==null?void 0x0:_0x4791a4[_0x4be9da(0x369)]();return(_0x31e6d4==null?void 0x0:_0x31e6d4[_0x4be9da(0x251)](_0x4d0d58=>_0x386f4f[_0x4be9da(0x230)][_0x4be9da(0x154)](_0x4d0d58,_0x30bb06)))||_0x30bb06;}['_onRefRangeChange'](){const _0x31efb8=_0x193cba,_0x4602fd=new _0x386f4f[(_0x31efb8(0x237))](),_0x570951=_0x6d01bf(),_0x283ed9=()=>{const _0x332ac1=_0x31efb8;_0x4602fd[_0x332ac1(0x32f)]();const _0x11e983=(_0x348501,_0x2fe01f,_0x21d8a0,_0x508316)=>{const _0x4f9256=_0x332ac1;let _0x28ffd9=[];switch(_0x348501['id']){case _0x327184[_0x4f9256(0x1de)]['DeleteRangeMoveLeftCommandId']:{_0x28ffd9=_0x327184['handleDeleteRangeMoveLeft'](_0x348501,_0x508316);break;}case _0x327184[_0x4f9256(0x1de)][_0x4f9256(0x244)]:{_0x28ffd9=_0x327184['handleDeleteRangeMoveUp'](_0x348501,_0x508316);break;}case _0x327184['EffectRefRangId'][_0x4f9256(0x278)]:{_0x28ffd9=_0x327184[_0x4f9256(0x13c)](_0x348501,_0x508316);break;}case _0x327184[_0x4f9256(0x1de)][_0x4f9256(0x1e9)]:{_0x28ffd9=_0x327184[_0x4f9256(0x16e)](_0x348501,_0x508316);break;}case _0x327184[_0x4f9256(0x1de)]['InsertRangeMoveRightCommandId']:{_0x28ffd9=_0x327184[_0x4f9256(0x212)](_0x348501,_0x508316);break;}case _0x327184[_0x4f9256(0x1de)][_0x4f9256(0x222)]:{_0x28ffd9=_0x327184[_0x4f9256(0x292)](_0x348501,_0x508316);break;}case _0x327184['EffectRefRangId']['MoveRangeCommandId']:{_0x28ffd9=_0x327184['handleMoveRange'](_0x348501,_0x508316);break;}case _0x327184[_0x4f9256(0x1de)][_0x4f9256(0x224)]:{_0x28ffd9=_0x327184[_0x4f9256(0x1d5)](_0x348501,_0x508316);break;}case _0x327184[_0x4f9256(0x1de)][_0x4f9256(0x204)]:{_0x28ffd9=_0x327184['handleIRemoveRow'](_0x348501,_0x508316);break;}}const _0x3d39df=_0x327184['runRefRangeMutations'](_0x28ffd9,_0x508316),_0x4f4be9=this['cursorInfo'][_0x4f9256(0x2e1)](_0x2fe01f);if(_0x4f4be9&&_0x3d39df){const _0x4cf070={..._0x4f4be9,'range':_0x3d39df};this[_0x4f9256(0x142)][_0x4f9256(0x15c)](_0x2fe01f,_0x4cf070),_0x570951(()=>{const _0x22098a=_0x4f9256,_0xf64935=this['_refRangeService'][_0x22098a(0x1cb)](_0x3d39df,_0x38e5e8=>(_0xf64935[_0x22098a(0x32f)](),_0x11e983(_0x38e5e8,_0x2fe01f,_0x21d8a0,_0x3d39df)));_0x4602fd[_0x22098a(0x23f)](_0xf64935);});}return{'redos':[],'undos':[]};};this[_0x332ac1(0x142)][_0x332ac1(0x2fc)]((_0x362b60,_0x388f67)=>{const _0x1ebc2f=_0x332ac1,{range:_0x33075f,sheetID:_0x120b41}=_0x362b60,_0x185d84=this[_0x1ebc2f(0x1d2)][_0x1ebc2f(0x1cb)](_0x33075f,_0x35cfe4=>(_0x185d84[_0x1ebc2f(0x32f)](),_0x11e983(_0x35cfe4,_0x388f67,_0x120b41,_0x33075f)));_0x4602fd[_0x1ebc2f(0x23f)](_0x185d84);});};this[_0x31efb8(0x258)](_0x386f4f[_0x31efb8(0x21c)](this[_0x31efb8(0x2e7)][_0x31efb8(0x274)](()=>{_0x283ed9();})));}[_0x193cba(0x266)](){const _0x3a1988=_0x193cba;var _0x1eab0f,_0x274cbf;if(this[_0x3a1988(0x16d)]=!0x0,((_0x1eab0f=this[_0x3a1988(0x1f5)]['getFocusedUnit']())==null?void 0x0:_0x1eab0f[_0x3a1988(0x33d)]())!==this[_0x3a1988(0x310)])return;const _0x2589cb=(_0x274cbf=this[_0x3a1988(0x183)][_0x3a1988(0x2e1)](_0x327184[_0x3a1988(0x207)])[_0x3a1988(0x1b0)]())==null?void 0x0:_0x274cbf[0x0],_0x219a08=this['_univerInstanceService'][_0x3a1988(0x205)](_0x386f4f[_0x3a1988(0x210)][_0x3a1988(0x2db)])[_0x3a1988(0x38f)]();_0x2589cb&&_0x219a08&&this[_0x3a1988(0x199)](_0x219a08[_0x3a1988(0x223)](),_0x2589cb);}[_0x193cba(0x31d)](){const _0x41a1c1=_0x193cba;this[_0x41a1c1(0x16d)]=!0x1;}};_0xac371c=_0x535d0e([_0x10377d(0x2,_0x386f4f[_0x193cba(0x24d)](_0x386f4f['Injector'])),_0x10377d(0x3,_0x386f4f[_0x193cba(0x24d)](_0x4088ae)),_0x10377d(0x4,_0x386f4f[_0x193cba(0x24d)](_0x4f478b[_0x193cba(0x15a)])),_0x10377d(0x5,_0x386f4f[_0x193cba(0x2ce)]),_0x10377d(0x6,_0x386f4f[_0x193cba(0x24c)]),_0x10377d(0x7,_0x386f4f[_0x193cba(0x24d)](_0x327184[_0x193cba(0x31c)]))],_0xac371c);var _0x34429a=Object[_0x193cba(0x2d5)],_0x4b4739=(_0x1580bd,_0x3a18d6,_0x4b5575,_0x2bc1b6)=>{for(var _0x2798d8=_0x2bc1b6>0x1?void 0x0:_0x2bc1b6?_0x34429a(_0x3a18d6,_0x4b5575):_0x3a18d6,_0x28413f=_0x1580bd['length']-0x1,_0x473100;_0x28413f>=0x0;_0x28413f--)(_0x473100=_0x1580bd[_0x28413f])&&(_0x2798d8=_0x473100(_0x2798d8)||_0x2798d8);return _0x2798d8;},_0xb78a69=(_0x282ecc,_0x4b997b)=>(_0x1586c3,_0x135c62)=>_0x4b997b(_0x1586c3,_0x135c62,_0x282ecc);let _0x4ab17f=class extends _0x386f4f['RxDisposable']{constructor(_0x43c1da,_0x353ea9,_0x41359a){const _0x19138d=_0x193cba;super(),_0x1faacb(this,'_entities',new Map()),_0x1faacb(this,_0x19138d(0x1fc),new _0x4be4f6[(_0x19138d(0x202))]()),(this[_0x19138d(0x1f5)]=_0x43c1da,this[_0x19138d(0x183)]=_0x353ea9,this['_collabSessionService']=_0x41359a,this['_init']());}[_0x193cba(0x32f)](){const _0x4d41fc=_0x193cba;super[_0x4d41fc(0x32f)](),this[_0x4d41fc(0x1fc)][_0x4d41fc(0x373)](),this[_0x4d41fc(0x1fd)][_0x4d41fc(0x2fc)](_0x241230=>_0x241230[_0x4d41fc(0x32f)]());}[_0x193cba(0x27f)](_0x22c691){const _0x28f5b3=_0x193cba;return this[_0x28f5b3(0x1fd)]['has'](_0x22c691)?this[_0x28f5b3(0x1fd)][_0x28f5b3(0x2e1)](_0x22c691)[_0x28f5b3(0x17b)]:this[_0x28f5b3(0x1fc)][_0x28f5b3(0x143)](_0x4be4f6[_0x28f5b3(0x129)](_0xfd1426=>_0xfd1426[_0x28f5b3(0x310)]===_0x22c691),_0x4be4f6[_0x28f5b3(0x1f2)](_0x4caa57=>_0x4caa57[_0x28f5b3(0x17b)]));}[_0x193cba(0x24f)](){const _0x53eb9e=_0x193cba;this[_0x53eb9e(0x1f5)]['getTypeOfUnitAdded$'](_0x386f4f[_0x53eb9e(0x210)][_0x53eb9e(0x2db)])['pipe'](_0x4be4f6[_0x53eb9e(0x30f)](this['dispose$']))[_0x53eb9e(0x274)](async _0x1bb691=>{const _0x1afc6f=_0x53eb9e,_0x17e309=_0x1bb691[_0x1afc6f(0x33d)](),_0x454224=await this[_0x1afc6f(0x2b8)](_0x17e309);this[_0x1afc6f(0x1fc)][_0x1afc6f(0x37b)](_0x454224),this[_0x1afc6f(0x1fd)]['set'](_0x17e309,_0x454224);}),this[_0x53eb9e(0x1f5)][_0x53eb9e(0x2d9)](_0x386f4f['UniverInstanceType'][_0x53eb9e(0x22e)])[_0x53eb9e(0x143)](_0x4be4f6[_0x53eb9e(0x30f)](this[_0x53eb9e(0x22c)]))[_0x53eb9e(0x143)](_0x4be4f6[_0x53eb9e(0x129)](_0x389d6f=>!_0x389d6f[_0x53eb9e(0x33d)]()[_0x53eb9e(0x135)]('__')))[_0x53eb9e(0x274)](async _0x322440=>{const _0x4c7323=_0x53eb9e,_0x186306=_0x322440['getUnitId'](),_0x45c28e=await this[_0x4c7323(0x173)](_0x186306);this[_0x4c7323(0x1fc)][_0x4c7323(0x37b)](_0x45c28e),this[_0x4c7323(0x1fd)]['set'](_0x186306,_0x45c28e);}),_0x4be4f6[_0x53eb9e(0x32a)](this[_0x53eb9e(0x1f5)]['getTypeOfUnitDisposed$'](_0x386f4f['UniverInstanceType']['UNIVER_DOC']),this[_0x53eb9e(0x1f5)][_0x53eb9e(0x1fe)](_0x386f4f[_0x53eb9e(0x210)][_0x53eb9e(0x2db)]))[_0x53eb9e(0x143)](_0x4be4f6[_0x53eb9e(0x30f)](this[_0x53eb9e(0x22c)]))['subscribe'](_0x2a380a=>{const _0x6c2f56=_0x53eb9e,_0x3f4657=_0x2a380a['getUnitId'](),_0x344a70=this[_0x6c2f56(0x1fd)][_0x6c2f56(0x2e1)](_0x3f4657);_0x344a70&&(_0x344a70['dispose'](),this[_0x6c2f56(0x1fd)][_0x6c2f56(0x384)](_0x3f4657));});}async[_0x193cba(0x2b8)](_0x39b9cb){const _0x4e825a=_0x193cba,_0x287f75=await this[_0x4e825a(0x2d8)]['requireSession'](_0x39b9cb),_0x4a263b=this['_injector']['createInstance'](_0xac371c,_0x39b9cb,_0x287f75);return _0x4a263b['init'](),_0x4a263b;}async[_0x193cba(0x173)](_0x97417a){const _0x19ecc7=_0x193cba,_0x5462b0=await this[_0x19ecc7(0x2d8)][_0x19ecc7(0x36d)](_0x97417a),_0x3bbaf6=this[_0x19ecc7(0x183)]['createInstance'](_0x39350e,_0x97417a,_0x5462b0);return _0x3bbaf6[_0x19ecc7(0x192)](),_0x3bbaf6;}};_0x4ab17f=_0x4b4739([_0xb78a69(0x0,_0x386f4f['IUniverInstanceService']),_0xb78a69(0x1,_0x386f4f[_0x193cba(0x24d)](_0x386f4f[_0x193cba(0x290)])),_0xb78a69(0x2,_0x386f4f[_0x193cba(0x24d)](_0x4f478b[_0x193cba(0x315)]))],_0x4ab17f);const _0x1d96cb=0x14,_0x1d7a4c=0xc8,_0x46fdb3=0x4,_0x513e5e=0x5;function _0x2c2d91(_0x6bcde4,_0x5424cf){const _0x27aec1=_0x193cba;let {radius:_0x181d97,width:_0xdaa05,height:_0x4e0606}=_0x5424cf;_0x181d97=_0x181d97!=null?_0x181d97:0x0,_0xdaa05=_0xdaa05!=null?_0xdaa05:0x1e,_0x4e0606=_0x4e0606!=null?_0x4e0606:0x1e;let _0x168329=0x0,_0x478036=0x0,_0x1f1356=0x0;_0x168329=_0x478036=_0x1f1356=Math[_0x27aec1(0x188)](_0x181d97,_0xdaa05/0x2,_0x4e0606/0x2),_0x6bcde4[_0x27aec1(0x317)](),_0x6bcde4['moveTo'](_0x168329,0x0),_0x6bcde4[_0x27aec1(0x2f2)](_0xdaa05-_0x478036,0x0),_0x6bcde4[_0x27aec1(0x329)](_0xdaa05-_0x478036,_0x478036,_0x478036,Math['PI']*0x3/0x2,0x0,!0x1),_0x6bcde4['lineTo'](_0xdaa05,_0x4e0606-_0x1f1356),_0x6bcde4[_0x27aec1(0x329)](_0xdaa05-_0x1f1356,_0x4e0606-_0x1f1356,_0x1f1356,0x0,Math['PI']/0x2,!0x1),_0x6bcde4['lineTo'](0x0,_0x4e0606),_0x6bcde4[_0x27aec1(0x2f2)](0x0,_0x168329),_0x6bcde4['arc'](_0x168329,_0x168329,_0x168329,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x6bcde4[_0x27aec1(0x2ca)](),_0x5424cf[_0x27aec1(0x18a)]&&(_0x6bcde4['save'](),_0x6bcde4[_0x27aec1(0x25f)]=_0x5424cf[_0x27aec1(0x18a)],_0x5424cf[_0x27aec1(0x347)]===_0x27aec1(0x296)?_0x6bcde4[_0x27aec1(0x18a)](_0x27aec1(0x296)):_0x6bcde4['fill'](),_0x6bcde4[_0x27aec1(0x3a1)]());}class _0x1a4869 extends _0x3cf560[_0x193cba(0x307)]{constructor(_0x5d15f3,_0x58a5ce){const _0x349447=_0x193cba;super(_0x5d15f3,_0x58a5ce),_0x1faacb(this,'color'),_0x1faacb(this,_0x349447(0x374)),(this[_0x349447(0x1a1)]=_0x58a5ce==null?void 0x0:_0x58a5ce['color'],this[_0x349447(0x374)]=_0x58a5ce==null?void 0x0:_0x58a5ce['text']);}static[_0x193cba(0x25e)](_0x595f7a,_0x263409){const _0x41afd1=_0x193cba,{text:_0x5b70d6,color:_0x5838af}=_0x263409;_0x595f7a[_0x41afd1(0x346)](),_0x595f7a['font']=_0x41afd1(0x2c4);const _0x20ece5=_0x595f7a[_0x41afd1(0x2e4)](_0x5b70d6)[_0x41afd1(0x133)],_0x48a058=Math[_0x41afd1(0x188)](_0x20ece5+0x2*_0x46fdb3,_0x1d7a4c);_0x2c2d91(_0x595f7a,{'height':_0x1d96cb,'radius':0x4,'width':_0x48a058,'fill':_0x5838af}),_0x595f7a['fillStyle']='#FFF';const _0xcefdcc=_0x46fdb3,_0x48f7ee=_0x1d96cb-_0x513e5e,_0x26b6e0=_0x1d7a4c-0x2*_0x46fdb3;if(_0x20ece5>_0x26b6e0){let _0x137562='',_0x5518a4=0x0;for(const _0x3fb672 of _0x5b70d6){const _0x4739d2=_0x595f7a[_0x41afd1(0x2e4)](_0x3fb672)[_0x41afd1(0x133)];if(_0x5518a4+_0x4739d2<=_0x26b6e0-_0x595f7a[_0x41afd1(0x2e4)](_0x41afd1(0x370))[_0x41afd1(0x133)])_0x137562+=_0x3fb672,_0x5518a4+=_0x4739d2;else{_0x137562+=_0x41afd1(0x370);break;}}_0x595f7a[_0x41afd1(0x10f)](_0x137562,_0xcefdcc,_0x48f7ee);}else _0x595f7a[_0x41afd1(0x10f)](_0x5b70d6,_0xcefdcc,_0x48f7ee);_0x595f7a[_0x41afd1(0x3a1)]();}['_draw'](_0x4b83f6){_0x1a4869['drawWith'](_0x4b83f6,this);}}const _0x569c5d=_0x193cba(0x174),_0x651664='collab-text-range-',_0x5ca0e1=_0x193cba(0x355),_0x3ed9a8=0x6,_0x53c46c=1.5,_0x373b6c=0x4,_0x455e8e=1.5,_0x43af9d=_0x193cba(0x281);class _0x2d9708{constructor(_0x595ec0,_0x1cff29,_0x7b8ece,_0x43a12c){const _0xc61369=_0x193cba;_0x1faacb(this,_0xc61369(0x15e),[]),_0x1faacb(this,_0xc61369(0x15f),null),_0x1faacb(this,_0xc61369(0x332),null),_0x1faacb(this,_0xc61369(0x213),null),_0x1faacb(this,_0xc61369(0x139),null),_0x1faacb(this,_0xc61369(0x26e),null),(this[_0xc61369(0x2df)]=_0x595ec0,this['_scene']=_0x1cff29,this[_0xc61369(0x316)]=_0x7b8ece,this[_0xc61369(0x211)]=_0x43a12c,this[_0xc61369(0x138)]());}set[_0x193cba(0x380)](_0x2cf669){const _0x149fba=_0x193cba;_0x2cf669?(this[_0x149fba(0x213)]&&this[_0x149fba(0x213)][_0x149fba(0x193)](),this[_0x149fba(0x332)]&&this[_0x149fba(0x332)]['show']()):(this[_0x149fba(0x213)]&&this[_0x149fba(0x213)]['show'](),this[_0x149fba(0x332)]&&this[_0x149fba(0x332)][_0x149fba(0x193)]());}[_0x193cba(0x32f)](){const _0x2478fd=_0x193cba;for(const _0x4c1869 of this[_0x2478fd(0x15e)])_0x4c1869[_0x2478fd(0x32f)]();this[_0x2478fd(0x332)]&&this[_0x2478fd(0x332)][_0x2478fd(0x32f)](),this[_0x2478fd(0x213)]&&this[_0x2478fd(0x213)][_0x2478fd(0x32f)](),this[_0x2478fd(0x15f)]&&this['_anchor']['dispose'](),this[_0x2478fd(0x26e)]&&this[_0x2478fd(0x26e)]();}[_0x193cba(0x138)](){const _0x475450=_0x193cba;var _0x201ede;const {_docSkeleton:_0x394c1e,_document:_0x10cc21}=this,{color:_0x4fd17b,name:_0x2cc0e1,ranges:_0x2403df}=this['_cursor'],_0x5594d1=_0x10cc21[_0x475450(0x30b)](),{docsLeft:_0x163cc0,docsTop:_0x20a3a0}=_0x5594d1,_0x122d7a=new _0x472a15[(_0x475450(0x1ba))](_0x5594d1,_0x394c1e);for(const {startOffset:_0x50d78f,endOffset:_0x19dd73,rangeType:_0x540034,segmentId:_0x4394a0,segmentPage:_0x68ac3,collapsed:_0x20497f,isActive:_0x4f6cc7}of _0x2403df){const _0x5edae6=_0x394c1e[_0x475450(0x302)](_0x50d78f,!0x0,_0x4394a0,_0x68ac3);let _0x3ababb=_0x394c1e[_0x475450(0x302)](_0x19dd73,!0x0,_0x4394a0,_0x68ac3);if(_0x3ababb==null&&(_0x3ababb=_0x394c1e[_0x475450(0x302)](_0x19dd73-0x1,!0x1,_0x4394a0,_0x68ac3)),_0x4f6cc7){const {contentBoxPointGroup:_0x2a994b}=_0x122d7a[_0x475450(0x2a7)](_0x3ababb,_0x3ababb);if(_0x2a994b['length']===0x0)continue;this[_0x475450(0x168)](_0x4fd17b,_0x2a994b,_0x163cc0,_0x20a3a0,_0x2cc0e1),this[_0x475450(0x26e)]=this[_0x475450(0x236)]();}if(_0x5edae6&&_0x3ababb){if(_0x540034===_0x386f4f[_0x475450(0x378)]['RECT']){const _0x323790=new _0x472a15[(_0x475450(0x256))](_0x5594d1,_0x394c1e),{pointGroup:_0x3fe8a0}=(_0x201ede=_0x323790[_0x475450(0x2a7)](_0x5edae6,_0x3ababb))!=null?_0x201ede:{};if(_0x3fe8a0==null||_0x3fe8a0[_0x475450(0x1da)]===0x0)continue;this[_0x475450(0x22b)](_0x4fd17b,_0x3fe8a0,_0x163cc0,_0x20a3a0);}else{if(!_0x20497f){const {borderBoxPointGroup:_0x28df67}=_0x122d7a[_0x475450(0x2a7)](_0x5edae6,_0x3ababb);if(_0x28df67[_0x475450(0x1da)]===0x0)continue;this[_0x475450(0x2b5)](_0x4fd17b,_0x28df67,_0x163cc0,_0x20a3a0);}}}}}[_0x193cba(0x168)](_0x31a465,_0xc29845,_0x243e84,_0x50f16f,_0x79d4fa){const _0x4aeb5f=_0x193cba,_0x2d7125=this['_getAnchorBounding'](_0xc29845),{left:_0x23c241,top:_0xad7cbc,height:_0x287712}=_0x2d7125,_0x1dbf38=this[_0x4aeb5f(0x1c6)](),_0x42002b=_0x455e8e/_0x1dbf38,_0x357efc=new _0x3cf560[(_0x4aeb5f(0x1ae))](_0x569c5d+_0x386f4f[_0x4aeb5f(0x196)][_0x4aeb5f(0x108)](_0x3ed9a8),{'left':_0x23c241+_0x243e84-_0x42002b,'top':_0xad7cbc+_0x50f16f,'height':_0x287712,'width':_0x53c46c,'fill':_0x31a465||_0x3cf560[_0x4aeb5f(0x16f)](_0x386f4f[_0x4aeb5f(0x2d3)][_0x4aeb5f(0x245)],0x0),'strokeWidth':_0x42002b,'stroke':_0x43af9d,'evented':!0x0});this[_0x4aeb5f(0x15f)]=_0x357efc,this[_0x4aeb5f(0x2d1)]['addObject'](_0x357efc,_0x472a15['TEXT_RANGE_LAYER_INDEX']);const _0x2ae1e7=new _0x3cf560[(_0x4aeb5f(0x1ae))](_0x569c5d+_0x386f4f['Tools'][_0x4aeb5f(0x108)](_0x3ed9a8),{'left':_0x23c241+_0x243e84-_0x42002b,'top':_0xad7cbc+_0x50f16f-_0x373b6c/0x2,'height':_0x373b6c,'width':_0x373b6c,'fill':_0x31a465||_0x3cf560[_0x4aeb5f(0x16f)](_0x386f4f['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x31a465||_0x3cf560[_0x4aeb5f(0x16f)](_0x386f4f[_0x4aeb5f(0x2d3)][_0x4aeb5f(0x245)],0x0),'evented':!0x1});this[_0x4aeb5f(0x213)]=_0x2ae1e7,this[_0x4aeb5f(0x2d1)][_0x4aeb5f(0x259)](_0x2ae1e7,_0x472a15[_0x4aeb5f(0x17c)]);const _0x2927fe=new _0x1a4869(_0x569c5d+_0x386f4f[_0x4aeb5f(0x196)][_0x4aeb5f(0x108)](_0x3ed9a8),{'left':_0x23c241+_0x243e84-_0x42002b,'top':_0xad7cbc+_0x50f16f-_0x1d96cb,'text':_0x79d4fa,'color':_0x31a465});this['_textBubble']=_0x2927fe,this[_0x4aeb5f(0x2d1)][_0x4aeb5f(0x259)](_0x2927fe,_0x472a15[_0x4aeb5f(0x17c)]),this[_0x4aeb5f(0x380)]=!0x1;}['_handleHover'](){const _0x3a2ded=_0x193cba,_0x160939=this[_0x3a2ded(0x15f)]['onPointerEnter$']['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x26b867=this[_0x3a2ded(0x15f)][_0x3a2ded(0x272)][_0x3a2ded(0x2bc)](()=>{const _0x279642=_0x3a2ded;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x279642(0x139)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x191d2f=_0x3a2ded;_0x160939['unsubscribe'](),_0x26b867[_0x191d2f(0x2a3)]();};}['_drawTextRange'](_0x193cf2,_0xa89cef,_0x847721,_0x149e37){const _0xcc2179=_0x193cba,_0x1c2e82=new _0x386f4f[(_0xcc2179(0x24e))](_0x193cf2)[_0xcc2179(0x28d)](0.2)[_0xcc2179(0x2cc)](),_0x2194ad=new _0x3cf560[(_0xcc2179(0x1a0))](_0x651664+_0x386f4f[_0xcc2179(0x196)]['generateRandomId'](_0x3ed9a8),{'pointsGroup':_0xa89cef,'fill':_0x1c2e82||_0x3cf560[_0xcc2179(0x16f)](_0x386f4f[_0xcc2179(0x2d3)]['black'],0.2),'left':_0x847721,'top':_0x149e37,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xcc2179(0x15e)][_0xcc2179(0x2be)](_0x2194ad),this[_0xcc2179(0x2d1)]['addObject'](_0x2194ad,_0x472a15[_0xcc2179(0x17c)]);}[_0x193cba(0x22b)](_0x291a97,_0x144913,_0x24636c,_0x3b2f86){const _0x52a2aa=_0x193cba,_0x56ba96=new _0x386f4f['ColorKit'](_0x291a97)[_0x52a2aa(0x28d)](0.2)['toRgbString'](),_0x1ba855=new _0x3cf560[(_0x52a2aa(0x1a0))](_0x5ca0e1+_0x386f4f[_0x52a2aa(0x196)][_0x52a2aa(0x108)](_0x3ed9a8),{'pointsGroup':_0x144913,'fill':_0x56ba96||_0x3cf560[_0x52a2aa(0x16f)](_0x386f4f[_0x52a2aa(0x2d3)][_0x52a2aa(0x245)],0.2),'left':_0x24636c,'top':_0x3b2f86,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x52a2aa(0x15e)]['push'](_0x1ba855),this[_0x52a2aa(0x2d1)][_0x52a2aa(0x259)](_0x1ba855,_0x472a15[_0x52a2aa(0x17c)]);}[_0x193cba(0x17f)](_0x380c9c){const _0x4ce14b=_0x380c9c[0x0],_0x1e529f=_0x4ce14b[0x0],_0x2bb92c=_0x4ce14b[0x2],{x:_0x1ff7cd,y:_0x4a264c}=_0x1e529f,{x:_0x2ef454,y:_0x48a955}=_0x2bb92c;return{'left':_0x1ff7cd,'top':_0x4a264c,'width':_0x2ef454-_0x1ff7cd,'height':_0x48a955-_0x4a264c};}[_0x193cba(0x1c6)](){const _0x407fbc=_0x193cba,{scaleX:_0x81d72e,scaleY:_0x5835d1}=this[_0x407fbc(0x2d1)][_0x407fbc(0x1c5)]();return Math[_0x407fbc(0x306)](_0x81d72e,_0x5835d1);}}var _0x94d93d=Object[_0x193cba(0x2d5)],_0x188a14=(_0x517137,_0x5ea7d3,_0x2965b1,_0x72b230)=>{const _0x10e670=_0x193cba;for(var _0x5e4f0c=_0x72b230>0x1?void 0x0:_0x72b230?_0x94d93d(_0x5ea7d3,_0x2965b1):_0x5ea7d3,_0x18d4be=_0x517137[_0x10e670(0x1da)]-0x1,_0xffb1d3;_0x18d4be>=0x0;_0x18d4be--)(_0xffb1d3=_0x517137[_0x18d4be])&&(_0x5e4f0c=_0xffb1d3(_0x5e4f0c)||_0x5e4f0c);return _0x5e4f0c;},_0x1ce895=(_0x127482,_0x530db1)=>(_0x395c03,_0x492cbd)=>_0x530db1(_0x395c03,_0x492cbd,_0x127482);let _0x5d3925=class extends _0x386f4f['RxDisposable']{constructor(_0x4186c3,_0x3cb124,_0x45fe85,_0x5253fa,_0x27c1b7){const _0x189d0b=_0x193cba;super(),_0x1faacb(this,'_cursorShapes',[]),_0x1faacb(this,'_cursors',[]),(this[_0x189d0b(0x383)]=_0x4186c3,this[_0x189d0b(0x248)]=_0x3cb124,this['_collabCursorController']=_0x45fe85,this[_0x189d0b(0x2f4)]=_0x5253fa,this['_themeService']=_0x27c1b7,this['_init']());}[_0x193cba(0x24f)](){const _0x17577c=_0x193cba,_0x51ca12=this[_0x17577c(0x383)][_0x17577c(0x162)],_0x203ee0=this['_docSkeletonManagerService'];this[_0x17577c(0x258)](_0x4be4f6['combineLatest']([this[_0x17577c(0x2f1)][_0x17577c(0x27f)](_0x51ca12),this[_0x17577c(0x233)][_0x17577c(0x1bd)]])['pipe'](_0x41609c[_0x17577c(0x36f)](([_0x4a605b,_0x1a23e2])=>({'skeleton':_0x203ee0[_0x17577c(0x1cd)](),'cursors':[..._0x4a605b[_0x17577c(0x124)]()][_0x17577c(0x35c)](_0x1e0b5d=>({..._0x1e0b5d,'color':_0x1a23e2[_0x1e0b5d[_0x17577c(0x1a1)]]}))})))['subscribe'](_0x30804c=>{const _0x563f91=_0x17577c;if(this['_removeCollabCursors'](),_0x30804c){const {skeleton:_0x3017a0,cursors:_0x50ec12}=_0x30804c;this[_0x563f91(0x12b)](_0x3017a0,_0x50ec12);}})),this[_0x17577c(0x30a)](),this[_0x17577c(0x1db)]();}[_0x193cba(0x12b)](_0x1bf136,_0x51e411){const _0x34273c=_0x193cba,{scene:_0x262cc5,mainComponent:_0x3d6734}=this['_context'],_0x53baae=_0x51e411[_0x34273c(0x36f)](_0x5b1b17=>new _0x2d9708(_0x5b1b17,_0x262cc5,_0x1bf136,_0x3d6734));this[_0x34273c(0x34d)]=_0x53baae,this[_0x34273c(0x176)]=_0x51e411;}[_0x193cba(0x11c)](){const _0x23dcb8=_0x193cba;this['_removeCollabCursors']();const {scene:_0x26f0ec,mainComponent:_0x305f23}=this[_0x23dcb8(0x383)],_0x203d9c=this[_0x23dcb8(0x248)]['getSkeleton'](),_0x52f178=this[_0x23dcb8(0x176)]['map'](_0x5492e6=>new _0x2d9708(_0x5492e6,_0x26f0ec,_0x203d9c,_0x305f23));this['_cursorShapes']=_0x52f178;}[_0x193cba(0x1b9)](){const _0x23679c=_0x193cba;this[_0x23679c(0x34d)][_0x23679c(0x2fc)](_0x4d5663=>_0x4d5663[_0x23679c(0x32f)]()),this['_cursorShapes']=[];}[_0x193cba(0x1db)](){const _0x259948=_0x193cba,_0x3d6ff1=[_0x472a15[_0x259948(0x21f)]['id']];this['disposeWithMe'](this['_commandService'][_0x259948(0x2ea)](_0x9b0a2a=>{const _0x1ced39=_0x259948;_0x3d6ff1['includes'](_0x9b0a2a['id'])&&_0x9b0a2a['params'][_0x1ced39(0x162)]===this[_0x1ced39(0x383)][_0x1ced39(0x162)]&&this[_0x1ced39(0x11c)]();}));}[_0x193cba(0x30a)](){const _0x27cec5=_0x193cba;this[_0x27cec5(0x258)](_0x386f4f[_0x27cec5(0x389)](this['_context'][_0x27cec5(0x1e6)]['onTransformChange$'])[_0x27cec5(0x143)](_0x41609c[_0x27cec5(0x129)](_0x422d80=>_0x422d80[_0x27cec5(0x1f0)]===_0x3cf560['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x41609c[_0x27cec5(0x39f)](0x10))[_0x27cec5(0x274)](()=>{const _0x559c83=_0x27cec5;this[_0x559c83(0x11c)]();}));}};_0x5d3925=_0x188a14([_0x1ce895(0x1,_0x386f4f[_0x193cba(0x24d)](_0x295784['DocSkeletonManagerService'])),_0x1ce895(0x2,_0x386f4f[_0x193cba(0x24d)](_0x4ab17f)),_0x1ce895(0x3,_0x386f4f[_0x193cba(0x24c)]),_0x1ce895(0x4,_0x386f4f[_0x193cba(0x24d)](_0x386f4f[_0x193cba(0x147)]))],_0x5d3925);const _0xd46de=0x1,_0x3e1971=1.5;class _0x2b71a4 extends _0x3cf560[_0x193cba(0x307)]{constructor(_0x2d768a,_0x4e4d4b){const _0x29ba6f=_0x193cba;super(_0x2d768a,_0x4e4d4b),_0x1faacb(this,_0x29ba6f(0x156)),_0x1faacb(this,_0x29ba6f(0x397),!0x1),_0x1faacb(this,_0x29ba6f(0x37d)),_0x1faacb(this,_0x29ba6f(0x12c),''),_0x1faacb(this,_0x29ba6f(0x1c0),_0x29ba6f(0x34f)),_0x1faacb(this,_0x29ba6f(0x2a0)),(_0x4e4d4b&&this[_0x29ba6f(0x2d6)](_0x4e4d4b),this[_0x29ba6f(0x1b4)][_0x29ba6f(0x2bc)](()=>this[_0x29ba6f(0x2d6)]({'hovered':!0x0})),this[_0x29ba6f(0x272)][_0x29ba6f(0x2bc)](()=>this[_0x29ba6f(0x2d6)]({'hovered':!0x1})));}[_0x193cba(0x2d6)](_0x4aa037){const _0xef1cc2=_0x193cba;var _0x4cd6de,_0x4c20cd,_0x109c7e,_0xdd42c8,_0x44f6f7,_0x26c411;this[_0xef1cc2(0x156)]=(_0x4cd6de=_0x4aa037['color'])!=null?_0x4cd6de:this[_0xef1cc2(0x156)],this[_0xef1cc2(0x397)]=(_0x4c20cd=_0x4aa037[_0xef1cc2(0x356)])!=null?_0x4c20cd:this[_0xef1cc2(0x397)],this[_0xef1cc2(0x37d)]=(_0x109c7e=_0x4aa037[_0xef1cc2(0x279)])!=null?_0x109c7e:this[_0xef1cc2(0x37d)],this[_0xef1cc2(0x12c)]=(_0xdd42c8=_0x4aa037['name'])!=null?_0xdd42c8:this['_name'],this[_0xef1cc2(0x1c0)]=(_0x44f6f7=_0x4aa037[_0xef1cc2(0x34b)])!=null?_0x44f6f7:this[_0xef1cc2(0x1c0)],this['_backgroundColor']=(_0x26c411=_0x4aa037[_0xef1cc2(0x1fb)])!=null?_0x26c411:this[_0xef1cc2(0x2a0)],this[_0xef1cc2(0x39a)]({'width':_0x4aa037['width'],'height':_0x4aa037['height']});}[_0x193cba(0x2bb)](_0x5d1e2b){const _0x2e5dcc=_0x193cba,{row:_0x175ce8,column:_0x377dfa}=_0x5d1e2b;if(_0x175ce8>=this[_0x2e5dcc(0x37d)][_0x2e5dcc(0x24b)]&&_0x175ce8<=this[_0x2e5dcc(0x37d)][_0x2e5dcc(0x203)]&&_0x377dfa>=this[_0x2e5dcc(0x37d)][_0x2e5dcc(0x305)]&&_0x377dfa<=this['_range'][_0x2e5dcc(0x19c)]){this[_0x2e5dcc(0x2d6)]({'hovered':!0x0});return;}this[_0x2e5dcc(0x2d6)]({'hovered':!0x1});}[_0x193cba(0x37c)](_0x1d0efc){return!0x1;}[_0x193cba(0x29b)](_0x11c3b1){const _0x1efda3=_0x193cba;_0x3cf560[_0x1efda3(0x1ae)]['drawWith'](_0x11c3b1,{'width':this[_0x1efda3(0x133)],'height':this[_0x1efda3(0x350)],'strokeWidth':_0x3e1971,'stroke':this[_0x1efda3(0x156)],'evented':!0x1,'fill':this[_0x1efda3(0x2a0)]}),this['_hovered']&&(_0x11c3b1[_0x1efda3(0x346)](),_0x11c3b1[_0x1efda3(0x1a2)](0x1,0x0,0x0,0x1,this[_0x1efda3(0x133)],this['_labelPosition']===_0x1efda3(0x2c8)?0x0:-0x14),_0x1a4869[_0x1efda3(0x25e)](_0x11c3b1,{'text':this[_0x1efda3(0x12c)],'color':this[_0x1efda3(0x156)]}),_0x11c3b1[_0x1efda3(0x3a1)]());}}var _0x425b4d=Object[_0x193cba(0x2d5)],_0x3a06ad=(_0x2ef98d,_0x514b10,_0x4eee9a,_0x28d8f5)=>{const _0x911c69=_0x193cba;for(var _0x207a90=_0x28d8f5>0x1?void 0x0:_0x28d8f5?_0x425b4d(_0x514b10,_0x4eee9a):_0x514b10,_0x5849d2=_0x2ef98d[_0x911c69(0x1da)]-0x1,_0x1655d0;_0x5849d2>=0x0;_0x5849d2--)(_0x1655d0=_0x2ef98d[_0x5849d2])&&(_0x207a90=_0x1655d0(_0x207a90)||_0x207a90);return _0x207a90;},_0x3f3f70=(_0x4d8041,_0x1981bd)=>(_0x5bada1,_0xf42ff7)=>_0x1981bd(_0x5bada1,_0xf42ff7,_0x4d8041);const _0x23c905=0x1389;let _0xaf506c=class extends _0x386f4f[_0x193cba(0x320)]{constructor(_0x4482fb,_0x4a3f74,_0x58e2f7,_0x5409ca){const _0x23c693=_0x193cba;super(),_0x1faacb(this,_0x23c693(0x176),new Set()),_0x1faacb(this,_0x23c693(0x112),null),(this[_0x23c693(0x383)]=_0x4482fb,this[_0x23c693(0x1e4)]=_0x4a3f74,this[_0x23c693(0x2f1)]=_0x58e2f7,this['_themeService']=_0x5409ca,this[_0x23c693(0x24f)]());}[_0x193cba(0x24f)](){const _0x1f0ed0=_0x193cba;this['_sheetSkeletonManagerService'][_0x1f0ed0(0x1f6)][_0x1f0ed0(0x143)](_0x41609c[_0x1f0ed0(0x30f)](this[_0x1f0ed0(0x22c)]),_0x41609c[_0x1f0ed0(0x1f2)](_0x1c0fe4=>{const _0x13ebbb=_0x1f0ed0;if(_0x1c0fe4){const _0x55cc27=_0x1c0fe4['sheetId'];return _0x4be4f6[_0x13ebbb(0x115)](this['_collabCursorController'][_0x13ebbb(0x27f)](this[_0x13ebbb(0x383)][_0x13ebbb(0x162)]),this['_themeService']['currentTheme$'])['pipe'](_0x41609c[_0x13ebbb(0x36f)](([_0x3a01f4,_0x302dc2])=>{const _0x5156e0=new Map();return _0x3a01f4['forEach']((_0x54a67c,_0x742d33)=>{const _0x20e0d4=_0x43e1;if(_0x54a67c['sheetID']===_0x55cc27){const _0x3443a9={..._0x54a67c};_0x3443a9['color']=_0x302dc2[_0x54a67c[_0x20e0d4(0x1a1)]],_0x5156e0[_0x20e0d4(0x15c)](_0x742d33,_0x3443a9);}}),{'skeleton':_0x1c0fe4,'cursors':_0x5156e0};}));}return _0x4be4f6['of']({'skeleton':null,'cursors':new Map()});}))[_0x1f0ed0(0x274)](({skeleton:_0x8e16bf,cursors:_0x141a29})=>{const _0x49cfb9=_0x1f0ed0;this['_removeCollabCursors'](),_0x8e16bf&&this[_0x49cfb9(0x12b)](_0x8e16bf,_0x141a29);}),this[_0x1f0ed0(0x1e4)][_0x1f0ed0(0x1f6)][_0x1f0ed0(0x274)](_0x35945a=>{const _0x3435ae=_0x1f0ed0;if(_0x35945a==null)return;const {skeleton:_0x227cd8}=_0x35945a,{scene:_0x29c67a}=this[_0x3435ae(0x383)];_0x29c67a[_0x3435ae(0x34e)][_0x3435ae(0x2bc)](_0x386f4f['debounce'](_0x1c2905=>{const _0x42fbd8=_0x3435ae;var _0x2aa9ec,_0x541724;const {offsetX:_0x3983dc,offsetY:_0x520e2a}=_0x1c2905,{x:_0x5080ed,y:_0x4fad98}=_0x29c67a[_0x42fbd8(0x14f)](_0x3cf560[_0x42fbd8(0x121)][_0x42fbd8(0x216)]([_0x3983dc,_0x520e2a])),{scaleX:_0x220307,scaleY:_0x168702}=_0x29c67a[_0x42fbd8(0x1c5)](),_0x51b6d7=_0x29c67a[_0x42fbd8(0x2e8)](_0x3cf560[_0x42fbd8(0x2ec)][_0x42fbd8(0x10b)]),_0x3fcad3=_0x29c67a[_0x42fbd8(0x1ed)](_0x3cf560[_0x42fbd8(0x121)][_0x42fbd8(0x216)]([_0x5080ed,_0x4fad98]),_0x51b6d7),_0x4b45e3=_0x227cd8[_0x42fbd8(0x273)](_0x3983dc,_0x520e2a,_0x220307,_0x168702,_0x3fcad3);((_0x2aa9ec=this[_0x42fbd8(0x112)])==null?void 0x0:_0x2aa9ec[_0x42fbd8(0x160)])===_0x4b45e3[_0x42fbd8(0x160)]&&((_0x541724=this[_0x42fbd8(0x112)])==null?void 0x0:_0x541724[_0x42fbd8(0x140)])===_0x4b45e3[_0x42fbd8(0x140)]||this[_0x42fbd8(0x176)][_0x42fbd8(0x2fc)](_0x471fd6=>{const _0x37ca4f=_0x42fbd8;_0x471fd6[_0x37ca4f(0x2bb)](_0x4b45e3);});},0x64));});}['_updateCollabCursors'](_0x1a5273,_0x21d407){const _0x16d30c=_0x193cba;var _0x48f875;const _0x44c3f5=(_0x48f875=this[_0x16d30c(0x1e4)]['getCurrent']())==null?void 0x0:_0x48f875['skeleton'];if(!_0x44c3f5)return;const _0x9f9f32=this['_getSheetObject']();if(!_0x9f9f32)return;this['_cursors'][_0x16d30c(0x2fc)](_0x50bb4a=>{const _0x2238e5=_0x16d30c;_0x50bb4a[_0x2238e5(0x2ad)]();});const {scene:_0x41120f}=_0x9f9f32,_0x128274=_0x1066d0(Array[_0x16d30c(0x372)](_0x21d407[_0x16d30c(0x124)]()))[_0x16d30c(0x36f)](_0x2d1225=>{const _0x38106a=_0x16d30c,{color:_0x1e15be,range:_0x51e584,name:_0x3d3da5,selection:_0x3f8d02,sheetID:_0xd7a6da}=_0x2d1225,{startColumn:_0x5f5a8f,startRow:_0x4224e2,endColumn:_0x40d094,endRow:_0x2338ba}=_0x51e584,_0x4beb75=_0x390eae[_0x38106a(0x219)](_0x4224e2,_0x5f5a8f,_0x41120f,_0x44c3f5),_0x526251=_0x390eae[_0x38106a(0x219)](_0x2338ba,_0x40d094,_0x41120f,_0x44c3f5),{columnHeaderHeightAndMarginTop:_0x300bcb}=_0x44c3f5,{startX:_0x349e95,startY:_0x3458f5}=_0x4beb75,{endX:_0x2a7676,endY:_0x48f960}=_0x526251,_0x520cf0=_0x2a7676-_0x349e95,_0x40d6f1=_0x48f960-_0x3458f5,_0x56f024={'labelPosition':_0x3458f5-_0x300bcb>=_0x1d96cb?'top':_0x38106a(0x2c8),'sheetID':_0xd7a6da,'range':_0x51e584,'color':_0x1e15be,'name':_0x3d3da5,'selection':_0x3f8d02,'left':_0x349e95,'top':_0x3458f5,'width':_0x520cf0,'height':_0x40d6f1,'evented':!0x1,'zIndex':_0x23c905};return new _0x2b71a4(_0x3d3da5,_0x56f024);});_0x41120f[_0x16d30c(0x3a4)](_0x128274,_0xd46de),this[_0x16d30c(0x176)]=new Set(_0x128274);}[_0x193cba(0x1b9)](){const _0x12777b=_0x193cba;var _0xd029ca;(_0xd029ca=this[_0x12777b(0x176)])==null||_0xd029ca[_0x12777b(0x2fc)](_0x2acb81=>_0x2acb81['dispose']());}[_0x193cba(0x359)](){const _0x5bd16f=_0x193cba;return _0x390eae[_0x5bd16f(0x21a)](this['_context'][_0x5bd16f(0x2b7)],this[_0x5bd16f(0x383)]);}};_0xaf506c=_0x3a06ad([_0x3f3f70(0x1,_0x386f4f[_0x193cba(0x24d)](_0x390eae[_0x193cba(0x14a)])),_0x3f3f70(0x2,_0x386f4f[_0x193cba(0x24d)](_0x4ab17f)),_0x3f3f70(0x3,_0x386f4f[_0x193cba(0x24d)](_0x386f4f[_0x193cba(0x147)]))],_0xaf506c);function _0x1066d0(_0x5f4bb6){const _0x243109=_0x193cba,_0xbc8d4a=new Map();return _0x5f4bb6[_0x243109(0x2fc)](_0xabacce=>{const _0x3d369f=_0x243109;if(_0xbc8d4a[_0x3d369f(0x25c)](_0xabacce['selection'])){const _0x338a10=_0xbc8d4a[_0x3d369f(0x2e1)](_0xabacce[_0x3d369f(0x247)]);_0x338a10['name']+=',\x20'+_0xabacce[_0x3d369f(0x26b)];}else _0xbc8d4a[_0x3d369f(0x15c)](_0xabacce[_0x3d369f(0x247)],_0xabacce);}),Array[_0x243109(0x372)](_0xbc8d4a['values']());}var _0x52f119=function(){const _0x41564e=_0x193cba;return _0x52f119=Object['assign']||function(_0x1843ab){const _0x543d57=_0x43e1;for(var _0x48aa42,_0x45770e=0x1,_0x1fd58f=arguments[_0x543d57(0x1da)];_0x45770e<_0x1fd58f;_0x45770e++){_0x48aa42=arguments[_0x45770e];for(var _0x59d671 in _0x48aa42)Object[_0x543d57(0x189)]['hasOwnProperty'][_0x543d57(0x119)](_0x48aa42,_0x59d671)&&(_0x1843ab[_0x59d671]=_0x48aa42[_0x59d671]);}return _0x1843ab;},_0x52f119[_0x41564e(0x17d)](this,arguments);},_0x260920=function(_0x1cea63,_0x4153d4){const _0x3e2182=_0x193cba;var _0x4dfa47={};for(var _0x4ef57f in _0x1cea63)Object[_0x3e2182(0x189)][_0x3e2182(0x18c)][_0x3e2182(0x119)](_0x1cea63,_0x4ef57f)&&_0x4153d4['indexOf'](_0x4ef57f)<0x0&&(_0x4dfa47[_0x4ef57f]=_0x1cea63[_0x4ef57f]);if(_0x1cea63!=null&&typeof Object[_0x3e2182(0x249)]==_0x3e2182(0x253)){for(var _0x5849c8=0x0,_0x4ef57f=Object['getOwnPropertySymbols'](_0x1cea63);_0x5849c8<_0x4ef57f[_0x3e2182(0x1da)];_0x5849c8++)_0x4153d4[_0x3e2182(0x2bf)](_0x4ef57f[_0x5849c8])<0x0&&Object[_0x3e2182(0x189)][_0x3e2182(0x179)][_0x3e2182(0x119)](_0x1cea63,_0x4ef57f[_0x5849c8])&&(_0x4dfa47[_0x4ef57f[_0x5849c8]]=_0x1cea63[_0x4ef57f[_0x5849c8]]);}return _0x4dfa47;},_0x144b10=_0x105c2[_0x193cba(0x38d)](function(_0x2f500e,_0x2a46ff){const _0xb9520a=_0x193cba;var _0x466784=_0x2f500e[_0xb9520a(0x33c)],_0x559919=_0x2f500e['id'],_0x245269=_0x2f500e['className'],_0x2daf96=_0x2f500e[_0xb9520a(0x29f)],_0x5f2b0c=_0x260920(_0x2f500e,[_0xb9520a(0x33c),'id',_0xb9520a(0x376),_0xb9520a(0x29f)]),_0x356a2d='univerjs-icon\x20univerjs-icon-'[_0xb9520a(0x10d)](_0x559919,'\x20')[_0xb9520a(0x10d)](_0x245269||'')[_0xb9520a(0x2e0)](),_0x1fc28a=_0x105c2['useRef']('_'[_0xb9520a(0x10d)](_0x52e8f7()));return _0x288dc0(_0x466784,''[_0xb9520a(0x10d)](_0x559919),{'defIds':_0x466784[_0xb9520a(0x16b)],'idSuffix':_0x1fc28a['current']},_0x52f119({'ref':_0x2a46ff,'className':_0x356a2d},_0x5f2b0c),_0x2daf96);});function _0x288dc0(_0x379bb5,_0x3e731d,_0x1ff109,_0x108143,_0x33a941){const _0x36d86d=_0x193cba;return _0x105c2[_0x36d86d(0x297)](_0x379bb5[_0x36d86d(0x32b)],_0x52f119(_0x52f119({'key':_0x3e731d},_0x4329e1(_0x379bb5,_0x1ff109,_0x33a941)),_0x108143),(_0x516801(_0x379bb5,_0x1ff109)[_0x36d86d(0x1b3)]||[])[_0x36d86d(0x36f)](function(_0x31c6a8,_0x3c59d3){const _0x527b47=_0x36d86d;return _0x288dc0(_0x31c6a8,''[_0x527b47(0x10d)](_0x3e731d,'-')[_0x527b47(0x10d)](_0x379bb5['tag'],'-')[_0x527b47(0x10d)](_0x3c59d3),_0x1ff109,void 0x0,_0x33a941);}));}function _0x4329e1(_0x4d2add,_0x2544c9,_0x490da2){const _0x19fd09=_0x193cba;var _0xb7451e=_0x52f119({},_0x4d2add['attrs']);_0x490da2!=null&&_0x490da2[_0x19fd09(0x150)]&&_0xb7451e['fill']===_0x19fd09(0x150)&&(_0xb7451e[_0x19fd09(0x18a)]=_0x490da2['colorChannel1']),_0x4d2add[_0x19fd09(0x32b)]===_0x19fd09(0x33b)&&_0xb7451e['id']&&(_0xb7451e['id']=_0xb7451e['id']+_0x2544c9[_0x19fd09(0x366)]),Object[_0x19fd09(0x300)](_0xb7451e)[_0x19fd09(0x2fc)](function(_0x1aacdc){const _0x19cd57=_0x19fd09;var _0x289389=_0x1aacdc[0x0],_0x309fbd=_0x1aacdc[0x1];_0x289389===_0x19cd57(0x33b)&&typeof _0x309fbd==_0x19cd57(0x235)&&(_0xb7451e[_0x289389]=_0x309fbd[_0x19cd57(0x10e)](/url\(#(.*)\)/,_0x19cd57(0x2fd)[_0x19cd57(0x10d)](_0x2544c9[_0x19cd57(0x366)],')')));});var _0x160b2e=_0x2544c9[_0x19fd09(0x16b)];return!_0x160b2e||_0x160b2e[_0x19fd09(0x1da)]===0x0||(_0x4d2add[_0x19fd09(0x32b)]==='use'&&_0xb7451e[_0x19fd09(0x2c6)]&&(_0xb7451e['xlink:href']=_0xb7451e['xlink:href']+_0x2544c9[_0x19fd09(0x366)]),Object[_0x19fd09(0x300)](_0xb7451e)[_0x19fd09(0x2fc)](function(_0xecbd2d){const _0x35ce7f=_0x19fd09;var _0x18bd84=_0xecbd2d[0x0],_0x41972d=_0xecbd2d[0x1];typeof _0x41972d==_0x35ce7f(0x235)&&(_0xb7451e[_0x18bd84]=_0x41972d[_0x35ce7f(0x10e)](/url\(#(.*)\)/,'url(#$1'[_0x35ce7f(0x10d)](_0x2544c9['idSuffix'],')')));})),_0xb7451e;}function _0x516801(_0x11ca3b,_0x8320eb){const _0x28e5ec=_0x193cba;var _0x4fd96f,_0x9e8874=_0x8320eb[_0x28e5ec(0x16b)];return!_0x9e8874||_0x9e8874[_0x28e5ec(0x1da)]===0x0?_0x11ca3b:_0x11ca3b[_0x28e5ec(0x32b)]===_0x28e5ec(0x187)&&(!((_0x4fd96f=_0x11ca3b['children'])===null||_0x4fd96f===void 0x0)&&_0x4fd96f[_0x28e5ec(0x1da)])?_0x52f119(_0x52f119({},_0x11ca3b),{'children':_0x11ca3b['children']['map'](function(_0x51e461){const _0x8c58bc=_0x28e5ec;return typeof _0x51e461[_0x8c58bc(0x25d)]['id']==_0x8c58bc(0x235)&&_0x9e8874&&_0x9e8874[_0x8c58bc(0x2bf)](_0x51e461[_0x8c58bc(0x25d)]['id'])>-0x1?_0x52f119(_0x52f119({},_0x51e461),{'attrs':_0x52f119(_0x52f119({},_0x51e461[_0x8c58bc(0x25d)]),{'id':_0x51e461[_0x8c58bc(0x25d)]['id']+_0x8320eb[_0x8c58bc(0x366)]})}):_0x51e461;})}):_0x11ca3b;}function _0x52e8f7(){const _0x51d5af=_0x193cba;return Math['random']()[_0x51d5af(0x32d)](0x24)[_0x51d5af(0x18d)](0x2,0x8);}_0x144b10[_0x193cba(0x1df)]=_0x193cba(0x12f);var _0x316be5={'tag':_0x193cba(0x2aa),'attrs':{'fill':_0x193cba(0x2e3),'viewBox':_0x193cba(0x165),'width':'1em','height':_0x193cba(0x1a4)},'children':[{'tag':'g','attrs':{'clipPath':_0x193cba(0x28b)},'children':[{'tag':'path','attrs':{'stroke':_0x193cba(0x2af),'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':_0x193cba(0x2ae),'strokeLinejoin':_0x193cba(0x2ae),'strokeWidth':1.2}}]},{'tag':_0x193cba(0x187),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x193cba(0x234),'attrs':{'fill':'#fff','d':_0x193cba(0x37f)}}]}]}],'defIds':[_0x193cba(0x388)]},_0x2cab3c=_0x105c2['forwardRef'](function(_0x36b4ad,_0x3c4927){const _0x644448=_0x193cba;return _0x105c2['createElement'](_0x144b10,Object[_0x644448(0x23b)]({},_0x36b4ad,{'id':_0x644448(0x39b),'ref':_0x3c4927,'icon':_0x316be5}));});_0x2cab3c[_0x193cba(0x1df)]=_0x193cba(0x3a6);var _0x1c5274={'tag':_0x193cba(0x2aa),'attrs':{'fill':_0x193cba(0x2e3),'viewBox':_0x193cba(0x2eb),'width':_0x193cba(0x1a4),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x193cba(0x323)},'children':[{'tag':_0x193cba(0x234),'attrs':{'stroke':_0x193cba(0x2af),'d':_0x193cba(0x340),'strokeLinecap':_0x193cba(0x2ae),'strokeLinejoin':_0x193cba(0x2ae),'strokeWidth':1.2}}]},{'tag':_0x193cba(0x187),'attrs':{},'children':[{'tag':_0x193cba(0x33a),'attrs':{'id':_0x193cba(0x330)},'children':[{'tag':_0x193cba(0x234),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x193cba(0x1c3)}}]}]}],'defIds':[_0x193cba(0x330)]},_0xc299d4=_0x105c2[_0x193cba(0x38d)](function(_0xbddd31,_0x170f26){const _0x267365=_0x193cba;return _0x105c2['createElement'](_0x144b10,Object[_0x267365(0x23b)]({},_0xbddd31,{'id':_0x267365(0x227),'ref':_0x170f26,'icon':_0x1c5274}));});_0xc299d4[_0x193cba(0x1df)]='OnLineSingle';const _0x4c1693={'onlineStatusIcon':_0x193cba(0x200),'onlineStatusTitle':_0x193cba(0x2c7),'onlineStatus':_0x193cba(0x20e),'online':_0x193cba(0x107),'offline':_0x193cba(0x1d8)};function _0x285df8(_0x2f5589){const _0x165c6c=_0x193cba;switch(_0x2f5589){case _0x4f478b[_0x165c6c(0x12d)]['OFFLINE']:return _0x165c6c(0x39d);case _0x4f478b[_0x165c6c(0x12d)][_0x165c6c(0x1ea)]:return _0x165c6c(0x23d);case _0x4f478b[_0x165c6c(0x12d)][_0x165c6c(0x328)]:return _0x165c6c(0x217);case _0x4f478b['CollaborationStatus']['NOT_COLLAB']:return _0x165c6c(0x358);case _0x4f478b[_0x165c6c(0x12d)][_0x165c6c(0x35f)]:case _0x4f478b[_0x165c6c(0x12d)][_0x165c6c(0x1c1)]:return _0x165c6c(0x1f1);case _0x4f478b[_0x165c6c(0x12d)][_0x165c6c(0x180)]:case _0x4f478b[_0x165c6c(0x12d)][_0x165c6c(0x1a6)]:return _0x165c6c(0x1c2);}}function _0x2ab981(_0x2b0167){const _0x447f2f=_0x193cba,{status$:_0x40aca2}=_0x2b0167,_0x247cb0=_0x1a993f[_0x447f2f(0x131)](_0x40aca2,_0x4f478b[_0x447f2f(0x12d)][_0x447f2f(0x2ff)]),_0x3b39a2=_0x1a993f[_0x447f2f(0x38a)](_0x386f4f[_0x447f2f(0x14b)]),_0x2494d8=_0x1a993f[_0x447f2f(0x38a)](_0x4f478b[_0x447f2f(0x315)]),_0x5f3fce=_0x247cb0!==_0x4f478b[_0x447f2f(0x12d)][_0x447f2f(0x10c)],_0x5b26dc=_0x3b39a2['t'](_0x285df8(_0x247cb0)),_0x145667=_0x12259d[_0x447f2f(0x178)](_0x4c1693['onlineStatus'],{[_0x4c1693[_0x447f2f(0x3a5)]]:_0x5f3fce,[_0x4c1693[_0x447f2f(0x114)]]:!_0x5f3fce}),_0x4f3529=_0x5f3fce?_0x1af772[_0x447f2f(0x35e)](_0xc299d4,{}):_0x1af772[_0x447f2f(0x35e)](_0x2cab3c,{}),_0x2512e0=_0x105c2[_0x447f2f(0x325)](()=>{const _0x1f37a0=_0x447f2f;_0x5f3fce||_0x2494d8[_0x1f37a0(0x2f5)]();},[_0x5f3fce,_0x2494d8]);function _0x53e2a8(){const _0x2a1bc9=_0x447f2f;return _0x1af772[_0x2a1bc9(0x215)](_0x2a1bc9(0x110),{'className':_0x12259d[_0x2a1bc9(0x178)](_0x145667,'univer-flex\x20univer-items-center'),'onClick':_0x2512e0,'children':[_0x1af772[_0x2a1bc9(0x35e)](_0x2a1bc9(0x110),{'className':_0x4c1693[_0x2a1bc9(0x181)],'children':_0x4f3529}),_0x1af772[_0x2a1bc9(0x35e)](_0x2a1bc9(0x110),{'className':_0x4c1693[_0x2a1bc9(0x1f4)],'children':_0x5b26dc})]});}return _0x5f3fce?_0x53e2a8():_0x1af772[_0x447f2f(0x35e)](_0x12259d[_0x447f2f(0x225)],{'title':_0x3b39a2['t']('collab-client.tooltip.reconnect'),'children':_0x53e2a8()});}var _0x133b20=Object[_0x193cba(0x2d5)],_0x14b401=(_0x260765,_0x1b927a,_0x1b9f5f,_0x58093d)=>{const _0x40d007=_0x193cba;for(var _0x743593=_0x58093d>0x1?void 0x0:_0x58093d?_0x133b20(_0x1b927a,_0x1b9f5f):_0x1b927a,_0x3f74d0=_0x260765[_0x40d007(0x1da)]-0x1,_0x2fdbc1;_0x3f74d0>=0x0;_0x3f74d0--)(_0x2fdbc1=_0x260765[_0x3f74d0])&&(_0x743593=_0x2fdbc1(_0x743593)||_0x743593);return _0x743593;},_0x1b9607=(_0x6437c1,_0x3b91e0)=>(_0x3d5451,_0x9ac4e2)=>_0x3b91e0(_0x3d5451,_0x9ac4e2,_0x6437c1);_0x36c617[_0x193cba(0x2b1)]=class extends _0x386f4f[_0x193cba(0x164)]{constructor(_0x46af53,_0xf9ecef,_0x245c87,_0x3c1b80){const _0x2d4d3e=_0x193cba;super(),_0x1faacb(this,_0x2d4d3e(0x37a),new _0x4be4f6[(_0x2d4d3e(0x2b3))](_0x4f478b[_0x2d4d3e(0x12d)][_0x2d4d3e(0x2ff)])),(this[_0x2d4d3e(0x1f5)]=_0x46af53,this[_0x2d4d3e(0x183)]=_0xf9ecef,this[_0x2d4d3e(0x1ac)]=_0x245c87,this[_0x2d4d3e(0x299)]=_0x3c1b80,this[_0x2d4d3e(0x26d)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x2aa694=_0x193cba;this[_0x2aa694(0x258)](this[_0x2aa694(0x1f5)][_0x2aa694(0x21d)]['pipe'](_0x4be4f6[_0x2aa694(0x1f2)](()=>{const _0x5ec35c=_0x2aa694,_0x283245=this[_0x5ec35c(0x1f5)][_0x5ec35c(0x1a3)]();return _0x283245?this[_0x5ec35c(0x1ac)][_0x5ec35c(0x382)](_0x283245[_0x5ec35c(0x33d)]()):_0x4be4f6['of'](null);}),_0x4be4f6[_0x2aa694(0x1f2)](_0x236614=>_0x236614?_0x236614['status$']:_0x4be4f6['of'](_0x4f478b['CollaborationStatus'][_0x2aa694(0x2ff)])))[_0x2aa694(0x274)](_0x2c86f7=>{const _0x6ab3f2=_0x2aa694;this[_0x6ab3f2(0x37a)][_0x6ab3f2(0x37b)](_0x2c86f7);}));}[_0x193cba(0x26d)](){const _0x246202=_0x193cba;this['disposeWithMe'](this[_0x246202(0x299)]['registerComponent'](_0x1a993f[_0x246202(0x318)][_0x246202(0x1dc)],()=>_0x1a993f[_0x246202(0x377)](_0x58b45e({'status$':this[_0x246202(0x37a)][_0x246202(0x322)]()}),this[_0x246202(0x183)])));}},_0x36c617[_0x193cba(0x2b1)]=_0x14b401([_0x1b9607(0x0,_0x386f4f['IUniverInstanceService']),_0x1b9607(0x1,_0x386f4f[_0x193cba(0x24d)](_0x386f4f[_0x193cba(0x290)])),_0x1b9607(0x2,_0x386f4f[_0x193cba(0x24d)](_0x4f478b[_0x193cba(0x27a)])),_0x1b9607(0x3,_0x1a993f[_0x193cba(0x1e7)])],_0x36c617[_0x193cba(0x2b1)]);function _0x58b45e(_0x1e7bee){const {status$:_0x247add}=_0x1e7bee;return function(){const _0x130ef1=_0x43e1;return _0x1af772[_0x130ef1(0x35e)](_0x2ab981,{'status$':_0x247add});};}var _0x1b3df7=Object[_0x193cba(0x2d5)],_0x11e95e=(_0x7e03cb,_0x526b29,_0x4e5a69,_0x412d97)=>{const _0x5493f4=_0x193cba;for(var _0x4b772b=_0x412d97>0x1?void 0x0:_0x412d97?_0x1b3df7(_0x526b29,_0x4e5a69):_0x526b29,_0x1c2b4a=_0x7e03cb[_0x5493f4(0x1da)]-0x1,_0x3d9ab4;_0x1c2b4a>=0x0;_0x1c2b4a--)(_0x3d9ab4=_0x7e03cb[_0x1c2b4a])&&(_0x4b772b=_0x3d9ab4(_0x4b772b)||_0x4b772b);return _0x4b772b;},_0x1358fc=(_0x3d56bb,_0x3194f9)=>(_0x1144ca,_0x106981)=>_0x3194f9(_0x1144ca,_0x106981,_0x3d56bb);let _0x26b5d2=class extends _0x386f4f['Disposable']{constructor(_0x1dc157,_0x4edb47,_0x47e1a3,_0x284dad,_0x563bd4,_0x3ef3af){const _0x41e5b5=_0x193cba;super(),this[_0x41e5b5(0x38b)]=_0x1dc157,this['_localCacheService']=_0x4edb47,this[_0x41e5b5(0x1e0)]=_0x47e1a3,this[_0x41e5b5(0x1ef)]=_0x284dad,this[_0x41e5b5(0x16c)]=_0x563bd4,this['_localeService']=_0x3ef3af,this['_setupBeforeClosingHandler'](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x583c2c=_0x193cba;this[_0x583c2c(0x258)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x492e21=_0x583c2c;if(this[_0x492e21(0x109)][_0x492e21(0x1ff)]['size'])return this[_0x492e21(0x2ab)]['t'](_0x492e21(0x23a));}));}['_initEvent'](){const _0x3e6795=_0x193cba;this['disposeWithMe'](this[_0x3e6795(0x1e0)]['event$']['subscribe'](_0x12738e=>{const _0x24a57b=_0x3e6795;_0x12738e['id']===_0x4f478b[_0x24a57b(0x345)][_0x24a57b(0x1cc)]&&this[_0x24a57b(0x1ef)][_0x24a57b(0x284)]({'type':_0x12259d[_0x24a57b(0x125)][_0x24a57b(0x294)],'content':this[_0x24a57b(0x2ab)]['t']('collaboration.single-unit.warning')}),_0x12738e['id']===_0x4f478b['CollaborationUIEventId'][_0x24a57b(0x1dd)]&&this[_0x24a57b(0x1ef)][_0x24a57b(0x284)]({'type':_0x12259d[_0x24a57b(0x125)][_0x24a57b(0x294)],'content':this['_localeService']['t'](_0x24a57b(0x30c))}),_0x12738e['id']===_0x4f478b[_0x24a57b(0x345)][_0x24a57b(0x309)]&&this['_notificationService'][_0x24a57b(0x284)]({'title':this['_localeService']['t'](_0x24a57b(0x2ac)),'content':this[_0x24a57b(0x2ab)]['t']('permission.content'),'type':_0x24a57b(0x282),'duration':0x0}),_0x12738e['id']===_0x4f478b[_0x24a57b(0x345)][_0x24a57b(0x1ea)]&&this[_0x24a57b(0x1ef)][_0x24a57b(0x284)]({'type':_0x12259d[_0x24a57b(0x125)][_0x24a57b(0x2c5)],'content':this[_0x24a57b(0x2ab)]['t'](_0x24a57b(0x30c))+'('+_0x12738e[_0x24a57b(0x2cb)]+')'}),_0x12738e['id']===_0x4f478b[_0x24a57b(0x345)][_0x24a57b(0x19b)]&&this[_0x24a57b(0x1ef)][_0x24a57b(0x284)]({'type':_0x12259d[_0x24a57b(0x125)][_0x24a57b(0x294)],'content':this[_0x24a57b(0x2ab)]['t'](_0x12738e['data']||'')}),_0x12738e['id']===_0x4f478b['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this[_0x24a57b(0x1ef)]['show']({'type':_0x12259d[_0x24a57b(0x125)][_0x24a57b(0x294)],'content':this[_0x24a57b(0x2ab)]['t'](_0x24a57b(0x1b8))}),_0x12738e['id']===_0x4f478b[_0x24a57b(0x345)]['SOCKET_FAILED']&&this[_0x24a57b(0x1ef)][_0x24a57b(0x284)]({'type':_0x12259d[_0x24a57b(0x125)][_0x24a57b(0x2c5)],'content':this[_0x24a57b(0x2ab)]['t'](_0x24a57b(0x14c))}),_0x12738e['id']===_0x4f478b[_0x24a57b(0x345)][_0x24a57b(0x27c)]&&this[_0x24a57b(0x1ef)]['show']({'type':_0x12259d[_0x24a57b(0x125)][_0x24a57b(0x2c5)],'content':this[_0x24a57b(0x2ab)]['t'](_0x24a57b(0x33f))});}));}};_0x26b5d2=_0x11e95e([_0x1358fc(0x0,_0x1a993f[_0x193cba(0x327)]),_0x1358fc(0x1,_0x4f478b[_0x193cba(0x13f)]),_0x1358fc(0x2,_0x386f4f[_0x193cba(0x24d)](_0x4f478b[_0x193cba(0x352)])),_0x1358fc(0x3,_0x1a993f[_0x193cba(0x149)]),_0x1358fc(0x4,_0x1a993f[_0x193cba(0x3a2)]),_0x1358fc(0x5,_0x386f4f[_0x193cba(0x24d)](_0x386f4f[_0x193cba(0x14b)]))],_0x26b5d2);const _0x42738e=_0x193cba(0x353),_0x3d9fb4={},_0x37f838=_0x386f4f[_0x193cba(0x336)]('uni.network.url-service');var _0x4a167c=Object['getOwnPropertyDescriptor'],_0x38c926=(_0x8c3adc,_0x4dbcb2,_0x44c6ad,_0x530e34)=>{const _0x1d9a5f=_0x193cba;for(var _0x470f30=_0x530e34>0x1?void 0x0:_0x530e34?_0x4a167c(_0x4dbcb2,_0x44c6ad):_0x4dbcb2,_0xde76e3=_0x8c3adc[_0x1d9a5f(0x1da)]-0x1,_0x3f2c69;_0xde76e3>=0x0;_0xde76e3--)(_0x3f2c69=_0x8c3adc[_0xde76e3])&&(_0x470f30=_0x3f2c69(_0x470f30)||_0x470f30);return _0x470f30;},_0xb79c1d=(_0x3d7ef4,_0x6edb52)=>(_0x1e07c7,_0x48743b)=>_0x6edb52(_0x1e07c7,_0x48743b,_0x3d7ef4);_0x36c617[_0x193cba(0x151)]=class extends _0x386f4f['RxDisposable']{constructor(_0x420541,_0x452241,_0x1f6a88,_0x561193,_0x33db80){const _0x2ae434=_0x193cba;super(),this['_urlService']=_0x420541,this[_0x2ae434(0x1e5)]=_0x452241,this['_commandService']=_0x1f6a88,this['_dataLoaderService']=_0x561193,_0x33db80?_0x33db80==null||_0x33db80[_0x2ae434(0x34a)]()['then'](()=>this[_0x2ae434(0x24f)]()):(this[_0x2ae434(0x1e5)][_0x2ae434(0x2a5)](_0x2ae434(0x20d),_0x2ae434(0x392)),this['_init']());}async[_0x193cba(0x24f)](){const _0xb95a89=_0x193cba,_0x93acc7=this['_urlService'][_0xb95a89(0x28e)]('unit'),_0x352b3f=this[_0xb95a89(0x195)]['getParam']('type'),_0x4033cd=this[_0xb95a89(0x195)][_0xb95a89(0x28e)](_0xb95a89(0x1b2));if(!_0x93acc7||!_0x352b3f){this[_0xb95a89(0x1e5)][_0xb95a89(0x2a5)](_0xb95a89(0x20d),_0xb95a89(0x394));return;}const _0x3b102e=await this[_0xb95a89(0x35b)][_0xb95a89(0x261)](_0x93acc7,Number(_0x352b3f),_0x4033cd);_0x3b102e&&_0x3b102e instanceof _0x386f4f[_0xb95a89(0x35a)]&&this[_0xb95a89(0x31e)](_0x3b102e);}async[_0x193cba(0x31e)](_0x16bdb7){const _0x309418=_0x193cba;await this[_0x309418(0x190)](_0x16bdb7),_0x16bdb7['activeSheet$'][_0x309418(0x143)](_0x4be4f6[_0x309418(0x30f)](this['dispose$']))[_0x309418(0x274)](_0x426b6f=>{const _0x402770=_0x309418;_0x426b6f&&this[_0x402770(0x1ec)](_0x426b6f);}),this[_0x309418(0x195)][_0x309418(0x354)][_0x309418(0x143)](_0x4be4f6[_0x309418(0x30f)](this[_0x309418(0x22c)]))[_0x309418(0x274)](()=>this[_0x309418(0x190)](_0x16bdb7));}[_0x193cba(0x1ec)](_0x5cd0ed,_0xf6aecc=!0x1){const _0x567642=_0x193cba,_0x4090c9=this[_0x567642(0x195)][_0x567642(0x28e)](_0x567642(0x1b2));_0x5cd0ed['getSheetId']()!==_0x4090c9&&this[_0x567642(0x195)][_0x567642(0x1a9)](_0x567642(0x1b2),_0x5cd0ed['getSheetId'](),_0xf6aecc);}async[_0x193cba(0x190)](_0x16ad25){const _0x5abf5b=_0x193cba;var _0x3959e8;const _0x307370=this[_0x5abf5b(0x195)][_0x5abf5b(0x28e)](_0x5abf5b(0x1b2));if(!_0x307370||!_0x16ad25[_0x5abf5b(0x21e)](_0x307370)){const _0x24f6a3=_0x16ad25[_0x5abf5b(0x206)]()[0x0],_0x13a590=_0x16ad25[_0x5abf5b(0x21e)](_0x24f6a3);if(!_0x13a590)return;this[_0x5abf5b(0x1ec)](_0x13a590,!0x0),await this[_0x5abf5b(0x2f4)]['executeCommand'](_0x327184['SetWorksheetActivateCommand']['id'],{'unitId':_0x16ad25['getUnitId'](),'subUnitId':_0x24f6a3});return;}((_0x3959e8=_0x16ad25[_0x5abf5b(0x38f)]())==null?void 0x0:_0x3959e8['getSheetId']())!==_0x307370&&await this[_0x5abf5b(0x2f4)]['executeCommand'](_0x327184[_0x5abf5b(0x391)]['id'],{'unitId':_0x16ad25[_0x5abf5b(0x33d)](),'subUnitId':_0x307370});}},_0x36c617[_0x193cba(0x151)]=_0x38c926([_0xb79c1d(0x0,_0x37f838),_0xb79c1d(0x1,_0x386f4f[_0x193cba(0x20c)]),_0xb79c1d(0x2,_0x386f4f['ICommandService']),_0xb79c1d(0x3,_0x386f4f[_0x193cba(0x24d)](_0x4f478b[_0x193cba(0x271)])),_0xb79c1d(0x4,_0x386f4f[_0x193cba(0x1d9)](_0x159f8e[_0x193cba(0x122)]))],_0x36c617[_0x193cba(0x151)]);var _0x4bc1c3=Object['getOwnPropertyDescriptor'],_0x2f9347=(_0x8be4e2,_0x1e6027,_0x28a768,_0x11945f)=>{for(var _0x48030e=_0x11945f>0x1?void 0x0:_0x11945f?_0x4bc1c3(_0x1e6027,_0x28a768):_0x1e6027,_0x5c9e3a=_0x8be4e2['length']-0x1,_0x1682e6;_0x5c9e3a>=0x0;_0x5c9e3a--)(_0x1682e6=_0x8be4e2[_0x5c9e3a])&&(_0x48030e=_0x1682e6(_0x48030e)||_0x48030e);return _0x48030e;},_0x5ec2d6=(_0x187942,_0x7d752f)=>(_0x4617a7,_0x299525)=>_0x7d752f(_0x4617a7,_0x299525,_0x187942);let _0x3847fd=class{constructor(_0x25c277,_0x56adc4,_0x257870){const _0x1c25b5=_0x193cba;this[_0x1c25b5(0x183)]=_0x25c277,this[_0x1c25b5(0x182)]=_0x56adc4,this[_0x1c25b5(0x26f)]=_0x257870;}['transformIMECache'](_0xb9eec){const _0x3d889c=_0x193cba;this[_0x3d889c(0x243)](_0xb9eec),this[_0x3d889c(0x144)](_0xb9eec);}[_0x193cba(0x344)](_0x4cb404){const _0x232004=_0x193cba,{unitID:_0xc8a66d}=_0x4cb404,_0x255972=this[_0x232004(0x26f)]['getRenderById'](_0xc8a66d)[_0x232004(0x31b)](_0x472a15[_0x232004(0x1bb)]),{redoCache:_0x53e04b}=_0x255972[_0x232004(0x28a)]();if(_0x53e04b[_0x232004(0x1da)]===0x0)return _0x4cb404;let _0x2f94e0=_0x386f4f[_0x232004(0x196)][_0x232004(0x2cd)](_0x4cb404['mutations'][0x0]);for(let _0x1287eb=0x0;_0x1287eb<_0x53e04b[_0x232004(0x1da)];_0x1287eb++){const _0x5acef7={'id':_0x232004(0x29d),'params':{..._0x53e04b[_0x1287eb]}},_0x27a642=this[_0x232004(0x182)][_0x232004(0x11a)](_0x2f94e0,_0x5acef7,!0x1);if(_0x1d0381[_0x232004(0x303)](_0x27a642))throw _0x27a642[_0x232004(0x282)];_0x2f94e0=_0x27a642['m1Prime'];}return{..._0x386f4f['Tools'][_0x232004(0x2cd)](_0x4cb404),'mutations':[_0x2f94e0]};}['_transformUndoRedoStack'](_0xfc29ee){const _0x428e7d=_0x193cba,{unitID:_0x41d960}=_0xfc29ee,_0x2d3812=this['_renderManagerService'][_0x428e7d(0x19f)](_0x41d960)[_0x428e7d(0x31b)](_0x472a15[_0x428e7d(0x1bb)]),{undoCache:_0x931012,redoCache:_0x5aece2}=_0x2d3812[_0x428e7d(0x28a)]();if(_0x931012[_0x428e7d(0x1da)]===0x0||_0x5aece2[_0x428e7d(0x1da)]===0x0)return;const _0x9abadf=[],_0x5d14e7=[];let _0x179f75=_0x386f4f[_0x428e7d(0x196)]['deepClone'](_0xfc29ee[_0x428e7d(0x146)][0x0]),_0x55a8cb=_0x386f4f[_0x428e7d(0x196)][_0x428e7d(0x2cd)](_0xfc29ee[_0x428e7d(0x146)][0x0]);for(let _0x408796=_0x931012[_0x428e7d(0x1da)]-0x1;_0x408796>=0x0;_0x408796--){const _0x3dda26={'id':'doc.mutation.rich-text-editing','params':{..._0x931012[_0x408796]}},_0x35d6ff={'id':_0x428e7d(0x29d),'params':{..._0x5aece2[_0x408796]}},_0x3f425d=this[_0x428e7d(0x182)][_0x428e7d(0x11a)](_0x179f75,_0x3dda26,!0x1),_0x1940e9=this['_transformService'][_0x428e7d(0x11a)](_0x55a8cb,_0x35d6ff,!0x1);if(_0x1d0381[_0x428e7d(0x303)](_0x3f425d))throw _0x3f425d[_0x428e7d(0x282)];if(_0x1d0381['isTransformMutationFailure'](_0x1940e9))throw _0x1940e9[_0x428e7d(0x282)];_0x9abadf[_0x428e7d(0x254)](_0x3f425d[_0x428e7d(0x32e)][_0x428e7d(0x257)]),_0x5d14e7[_0x428e7d(0x254)](_0x1940e9[_0x428e7d(0x32e)]['params']),_0x179f75=_0x3f425d[_0x428e7d(0x209)],_0x55a8cb=_0x1940e9[_0x428e7d(0x209)];}_0x2d3812[_0x428e7d(0x29a)]({'undoCache':_0x9abadf,'redoCache':_0x5d14e7});}[_0x193cba(0x144)](_0x559cd5){const _0x439dad=_0x193cba,{unitID:_0x18f905}=_0x559cd5,_0x47c102=this[_0x439dad(0x26f)][_0x439dad(0x19f)](_0x18f905)['with'](_0x472a15['DocIMEInputManagerService']),_0x37a6bf=_0x47c102[_0x439dad(0x1c7)]();if(_0x37a6bf==null)return;const _0x90ac5f=[{'id':_0x439dad(0x29d),'params':{'unitId':_0x559cd5[_0x439dad(0x310)],'actions':null,'textRanges':[_0x37a6bf]}}],_0x23ed2a=this[_0x439dad(0x182)]['transformMutationsWithChangeset'](_0x559cd5,_0x90ac5f);if(!_0x1d0381[_0x439dad(0x22f)](_0x23ed2a))throw _0x23ed2a[_0x439dad(0x282)];const _0x5da370=_0x23ed2a[_0x439dad(0x32e)][0x0]['params'][_0x439dad(0x2c3)];Array[_0x439dad(0x1be)](_0x5da370)&&_0x5da370[_0x439dad(0x1da)]&&_0x47c102[_0x439dad(0x167)](_0x5da370[0x0]);}};_0x3847fd=_0x2f9347([_0x5ec2d6(0x0,_0x386f4f[_0x193cba(0x24d)](_0x386f4f[_0x193cba(0x290)])),_0x5ec2d6(0x1,_0x1d0381[_0x193cba(0x157)]),_0x5ec2d6(0x2,_0x3cf560[_0x193cba(0x1e1)])],_0x3847fd);var _0x24574e=Object[_0x193cba(0x2d5)],_0x548327=(_0x35d749,_0x4d08b0,_0x236c96,_0x43c336)=>{const _0x1c3187=_0x193cba;for(var _0x1689f1=_0x43c336>0x1?void 0x0:_0x43c336?_0x24574e(_0x4d08b0,_0x236c96):_0x4d08b0,_0x3ee4cb=_0x35d749[_0x1c3187(0x1da)]-0x1,_0x3f8200;_0x3ee4cb>=0x0;_0x3ee4cb--)(_0x3f8200=_0x35d749[_0x3ee4cb])&&(_0x1689f1=_0x3f8200(_0x1689f1)||_0x1689f1);return _0x1689f1;},_0x3f99f5=(_0x5a1e33,_0x3d88b9)=>(_0x5f2f0d,_0x11670f)=>_0x3d88b9(_0x5f2f0d,_0x11670f,_0x5a1e33);let _0x2ddc7c=class{constructor(_0x400e09,_0x1107d6,_0x1e2e8c){const _0x329f7a=_0x193cba;this['_injector']=_0x400e09,this['_transformService']=_0x1107d6,this[_0x329f7a(0x3a0)]=_0x1e2e8c;}[_0x193cba(0x152)](_0x218dd4){const _0x2e9f68=_0x193cba;this[_0x2e9f68(0x11b)](_0x218dd4);}[_0x193cba(0x344)](_0x1e16a6){const _0x105545=_0x193cba,{unitID:_0x22966e}=_0x1e16a6,{collaboration:_0x396187}=this[_0x105545(0x3a0)][_0x105545(0x2ba)](_0x22966e);if(_0x396187[_0x105545(0x1da)]===0x0)return _0x1e16a6;let _0x56e566=_0x386f4f[_0x105545(0x196)][_0x105545(0x2cd)](_0x1e16a6['mutations'][0x0]);for(let _0x30ad3b=0x0;_0x30ad3b<_0x396187[_0x105545(0x1da)];_0x30ad3b++){const _0x52df5c={'id':_0x105545(0x29d),'params':{'unitId':_0x396187[_0x30ad3b][_0x105545(0x162)],..._0x396187[_0x30ad3b][_0x105545(0x1c4)]}},_0x2c6756=this['_transformService']['transformMutation'](_0x56e566,_0x52df5c,!0x1);if(_0x1d0381[_0x105545(0x303)](_0x2c6756))throw _0x2c6756[_0x105545(0x282)];_0x56e566=_0x2c6756[_0x105545(0x209)];}return{..._0x386f4f[_0x105545(0x196)]['deepClone'](_0x1e16a6),'mutations':[_0x56e566]};}['_transformHistoryAndStateStack'](_0x4e690f){const _0x13c9ae=_0x193cba,{unitID:_0x27b375}=_0x4e690f,{history:_0xa30f42,collaboration:_0x2ed42f}=this[_0x13c9ae(0x3a0)][_0x13c9ae(0x2ba)](_0x27b375);if(_0xa30f42[_0x13c9ae(0x1da)]===0x0&&_0x2ed42f['length']===0x0)return;const _0x279789=[],_0x5dad2d=[];let _0x5a24c3=_0x386f4f[_0x13c9ae(0x196)][_0x13c9ae(0x2cd)](_0x4e690f[_0x13c9ae(0x146)][0x0]),_0x561fa0=_0x386f4f[_0x13c9ae(0x196)][_0x13c9ae(0x2cd)](_0x4e690f[_0x13c9ae(0x146)][0x0]);for(let _0x5f1a73=_0xa30f42[_0x13c9ae(0x1da)]-0x1;_0x5f1a73>=0x0;_0x5f1a73--){const _0x4c4bdb={'id':_0x13c9ae(0x29d),'params':{'unitId':_0xa30f42[_0x5f1a73][_0x13c9ae(0x162)],..._0xa30f42[_0x5f1a73][_0x13c9ae(0x301)]}},_0x31b161={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xa30f42[_0x5f1a73][_0x13c9ae(0x162)],..._0xa30f42[_0x5f1a73]['redoState']}},_0x4126b6=this['_transformService'][_0x13c9ae(0x11a)](_0x5a24c3,_0x4c4bdb,!0x1),_0x1272bf=this[_0x13c9ae(0x182)][_0x13c9ae(0x11a)](_0x561fa0,_0x31b161,!0x1);if(_0x1d0381[_0x13c9ae(0x303)](_0x4126b6))throw _0x4126b6['error'];if(_0x1d0381[_0x13c9ae(0x303)](_0x1272bf))throw _0x1272bf[_0x13c9ae(0x282)];_0x279789['unshift']({..._0xa30f42[_0x5f1a73],'undoState':_0x4126b6[_0x13c9ae(0x32e)]['params'],'redoState':_0x1272bf[_0x13c9ae(0x32e)][_0x13c9ae(0x257)]}),_0x5a24c3=_0x4126b6[_0x13c9ae(0x209)],_0x561fa0=_0x1272bf[_0x13c9ae(0x209)];}_0x5a24c3=_0x386f4f[_0x13c9ae(0x196)][_0x13c9ae(0x2cd)](_0x4e690f[_0x13c9ae(0x146)][0x0]),_0x561fa0=_0x386f4f['Tools'][_0x13c9ae(0x2cd)](_0x4e690f[_0x13c9ae(0x146)][0x0]);for(let _0x2a0f84=_0x2ed42f['length']-0x1;_0x2a0f84>=0x0;_0x2a0f84--){const _0x85bb22={'id':_0x13c9ae(0x29d),'params':{'unitId':_0x2ed42f[_0x2a0f84][_0x13c9ae(0x162)],..._0x2ed42f[_0x2a0f84][_0x13c9ae(0x301)]}},_0x15e072={'id':_0x13c9ae(0x29d),'params':{'unitId':_0x2ed42f[_0x2a0f84]['unitId'],..._0x2ed42f[_0x2a0f84][_0x13c9ae(0x1c4)]}},_0xb14918=this['_transformService'][_0x13c9ae(0x11a)](_0x5a24c3,_0x85bb22,!0x1),_0x774dc7=this[_0x13c9ae(0x182)]['transformMutation'](_0x561fa0,_0x15e072,!0x1);if(_0x1d0381[_0x13c9ae(0x303)](_0xb14918))throw _0xb14918['error'];if(_0x1d0381[_0x13c9ae(0x303)](_0x774dc7))throw _0x774dc7[_0x13c9ae(0x282)];_0x5dad2d['unshift']({..._0x2ed42f[_0x2a0f84],'undoState':_0xb14918[_0x13c9ae(0x32e)]['params'],'redoState':_0x774dc7[_0x13c9ae(0x32e)][_0x13c9ae(0x257)]}),_0x5a24c3=_0xb14918[_0x13c9ae(0x209)],_0x561fa0=_0x774dc7[_0x13c9ae(0x209)];}this['_docStateChangeManagerService'][_0x13c9ae(0x127)](_0x27b375,{'history':_0x279789,'collaboration':_0x5dad2d});}};_0x2ddc7c=_0x548327([_0x3f99f5(0x0,_0x386f4f[_0x193cba(0x24d)](_0x386f4f[_0x193cba(0x290)])),_0x3f99f5(0x1,_0x1d0381[_0x193cba(0x157)]),_0x3f99f5(0x2,_0x386f4f[_0x193cba(0x24d)](_0x472a15[_0x193cba(0x381)]))],_0x2ddc7c);var _0xaa2257=Object['getOwnPropertyDescriptor'],_0x7c88ef=(_0x3c7d2f,_0x306ba1,_0x4af2fb,_0x468cf6)=>{for(var _0x5db154=_0x468cf6>0x1?void 0x0:_0x468cf6?_0xaa2257(_0x306ba1,_0x4af2fb):_0x306ba1,_0x54b1af=_0x3c7d2f['length']-0x1,_0x3c96ed;_0x54b1af>=0x0;_0x54b1af--)(_0x3c96ed=_0x3c7d2f[_0x54b1af])&&(_0x5db154=_0x3c96ed(_0x5db154)||_0x5db154);return _0x5db154;},_0x39d09d=(_0x25f140,_0x4ee7fb)=>(_0x17e750,_0x1f1b0c)=>_0x4ee7fb(_0x17e750,_0x1f1b0c,_0x25f140);let _0x22b596=class{constructor(_0x1a8e2c,_0x141880){const _0x3afcc5=_0x193cba;this[_0x3afcc5(0x183)]=_0x1a8e2c,this[_0x3afcc5(0x182)]=_0x141880;}[_0x193cba(0x13a)](_0x5b1e4d){const _0x4419f4=_0x193cba;var _0x402cec;const _0x4e05aa=this[_0x4419f4(0x183)][_0x4419f4(0x2e1)](_0x295784['DocSelectionManagerService']),_0x25baeb=(_0x402cec=_0x4e05aa['getDocRanges']())!=null?_0x402cec:[];if(_0x25baeb[_0x4419f4(0x1da)]===0x0)return;const _0x38893e=_0x5b1e4d[_0x4419f4(0x310)],_0x120a4a=[{'id':_0x4419f4(0x29d),'params':{'unitId':_0x38893e,'actions':null,'textRanges':_0x25baeb}}],_0x1b7f39=this[_0x4419f4(0x182)]['transformMutationsWithChangeset'](_0x5b1e4d,_0x120a4a);if(!_0x1d0381[_0x4419f4(0x22f)](_0x1b7f39))throw _0x1b7f39[_0x4419f4(0x282)];const _0xff8e74=_0x1b7f39[_0x4419f4(0x32e)][0x0][_0x4419f4(0x257)][_0x4419f4(0x2c3)];Array[_0x4419f4(0x1be)](_0xff8e74)&&_0xff8e74[_0x4419f4(0x1da)]&&_0x4e05aa[_0x4419f4(0x1b5)](_0xff8e74,{'unitId':_0x38893e,'subUnitId':_0x38893e},!0x1);}};_0x22b596=_0x7c88ef([_0x39d09d(0x0,_0x386f4f[_0x193cba(0x24d)](_0x386f4f['Injector'])),_0x39d09d(0x1,_0x1d0381[_0x193cba(0x157)])],_0x22b596);var _0x37fb74=Object[_0x193cba(0x2d5)],_0xa9f909=(_0x7f35e2,_0x3e0e4f,_0x2ad019,_0x58a2b4)=>{const _0x4180d0=_0x193cba;for(var _0xc2dfb7=_0x58a2b4>0x1?void 0x0:_0x58a2b4?_0x37fb74(_0x3e0e4f,_0x2ad019):_0x3e0e4f,_0x401d41=_0x7f35e2[_0x4180d0(0x1da)]-0x1,_0x3c4007;_0x401d41>=0x0;_0x401d41--)(_0x3c4007=_0x7f35e2[_0x401d41])&&(_0xc2dfb7=_0x3c4007(_0xc2dfb7)||_0xc2dfb7);return _0xc2dfb7;},_0x344712=(_0x284705,_0x7df5ec)=>(_0xd68439,_0x564fbb)=>_0x7df5ec(_0xd68439,_0x564fbb,_0x284705);let _0x1e0fd1=class extends _0x386f4f[_0x193cba(0x164)]{constructor(_0x57b5f6,_0x14d7ad,_0x114e17,_0x9085b4,_0x200d0f,_0x232ecc,_0x2e13a4,_0x5f36f0){const _0x279148=_0x193cba;super(),_0x1faacb(this,_0x279148(0x37a),new _0x4be4f6[(_0x279148(0x2b3))](_0x4f478b[_0x279148(0x12d)][_0x279148(0x2ff)])),(this[_0x279148(0x3a0)]=_0x57b5f6,this[_0x279148(0x1ac)]=_0x14d7ad,this[_0x279148(0x246)]=_0x114e17,this['_docTransformStateCacheService']=_0x9085b4,this[_0x279148(0x2a2)]=_0x200d0f,this[_0x279148(0x175)]=_0x232ecc,this[_0x279148(0x1ef)]=_0x2e13a4,this[_0x279148(0x2ab)]=_0x5f36f0,this[_0x279148(0x1e8)]());}[_0x193cba(0x1e8)](){const _0x51314d=_0x193cba;this['disposeWithMe'](this[_0x51314d(0x1ac)][_0x51314d(0x393)][_0x51314d(0x274)](_0xd21d87=>{const _0x1cf4a5=_0x51314d,_0x46b3a4=this['_docStateChangeManagerService'][_0x1cf4a5(0x362)]['subscribe'](_0x3e0e1e=>{const _0x445014=_0x1cf4a5;if(_0x3e0e1e==null)return;const {unitId:_0x54c6e4,redoState:_0x15c45a,commandId:_0x2cb4d3}=_0x3e0e1e;if(_0x54c6e4!==_0xd21d87[_0x445014(0x310)])return;const _0x38a2af={'id':_0x2cb4d3,'type':_0x386f4f[_0x445014(0x171)][_0x445014(0x201)],'params':{'unitId':_0x54c6e4,'actions':_0x15c45a['actions'],'textRanges':null}};_0xd21d87['onLocalMutation'](_0x38a2af);});if(_0xd21d87[_0x1cf4a5(0x258)](_0x46b3a4),_0xd21d87 instanceof _0x4f478b[_0x1cf4a5(0x177)]){const _0x329a5f={'onTransformIME':_0x46ccb5=>this[_0x1cf4a5(0x246)][_0x1cf4a5(0x395)](_0x46ccb5),'onTransformState':_0x33e3d7=>this[_0x1cf4a5(0x158)][_0x1cf4a5(0x152)](_0x33e3d7),'onTransformSelections':_0x37b8fc=>this[_0x1cf4a5(0x2a2)][_0x1cf4a5(0x13a)](_0x37b8fc),'onSyncEditingCollabCursor':_0x20775f=>this[_0x1cf4a5(0x175)]['syncEditingCollabCursor'](_0x20775f),'onTransformRemoteChangesetByIMECache':_0xf979e1=>this['_docTransformIMECacheService'][_0x1cf4a5(0x344)](_0xf979e1),'onTransformRemoteChangesetByStateCache':_0x522fe3=>this[_0x1cf4a5(0x158)][_0x1cf4a5(0x344)](_0x522fe3)};_0xd21d87['addHandlerCallback'](_0x329a5f);}}));}};_0x1e0fd1=_0xa9f909([_0x344712(0x0,_0x386f4f['Inject'](_0x472a15[_0x193cba(0x381)])),_0x344712(0x1,_0x386f4f['Inject'](_0x4f478b[_0x193cba(0x27a)])),_0x344712(0x2,_0x386f4f[_0x193cba(0x24d)](_0x3847fd)),_0x344712(0x3,_0x386f4f[_0x193cba(0x24d)](_0x2ddc7c)),_0x344712(0x4,_0x386f4f[_0x193cba(0x24d)](_0x22b596)),_0x344712(0x5,_0x386f4f[_0x193cba(0x24d)](_0x88948a)),_0x344712(0x6,_0x1a993f[_0x193cba(0x149)]),_0x344712(0x7,_0x386f4f[_0x193cba(0x24d)](_0x386f4f[_0x193cba(0x14b)]))],_0x1e0fd1);var _0x9ac482=Object['getOwnPropertyDescriptor'],_0xdc8b37=(_0x2ebbbc,_0x486f8a,_0x2b9864,_0x115f6f)=>{for(var _0x4c5214=_0x115f6f>0x1?void 0x0:_0x115f6f?_0x9ac482(_0x486f8a,_0x2b9864):_0x486f8a,_0x4864e6=_0x2ebbbc['length']-0x1,_0x9d4619;_0x4864e6>=0x0;_0x4864e6--)(_0x9d4619=_0x2ebbbc[_0x4864e6])&&(_0x4c5214=_0x9d4619(_0x4c5214)||_0x4c5214);return _0x4c5214;},_0xff6683=(_0x592475,_0x1860f3)=>(_0x5533c8,_0xb49435)=>_0x1860f3(_0x5533c8,_0xb49435,_0x592475);let _0x20eb9f=class extends _0x386f4f[_0x193cba(0x164)]{constructor(_0x24542c,_0x47736f,_0x45cae9){const _0x1326b2=_0x193cba;super(),_0x1faacb(this,_0x1326b2(0x2a1),new Map()),_0x1faacb(this,_0x1326b2(0x288),new Map()),_0x1faacb(this,_0x1326b2(0x3a7),!0x1),(this[_0x1326b2(0x2a8)]=_0x24542c,this[_0x1326b2(0x3a8)]=_0x47736f,this['_revisionService']=_0x45cae9);}['disableLocalCache'](){const _0x5c4ffb=_0x193cba;this[_0x5c4ffb(0x3a7)]=!0x0;}[_0x193cba(0x185)](){const _0x1155aa=_0x193cba;this[_0x1155aa(0x3a7)]=!0x1;}get[_0x193cba(0x1ff)](){const _0xbe95ed=_0x193cba;return this[_0xbe95ed(0x288)];}[_0x193cba(0x32f)](){const _0x1bfdf4=_0x193cba;this[_0x1bfdf4(0x276)]()[_0x1bfdf4(0x1a5)](()=>super[_0x1bfdf4(0x32f)]());}async[_0x193cba(0x242)](_0x266587){const _0x84f1a8=_0x193cba;return this[_0x84f1a8(0x3a7)]?null:this['_localStorageService'][_0x84f1a8(0x2b2)](_0x4f478b['getLocalCacheKey'](_0x266587));}async[_0x193cba(0x357)](_0x21657c,_0x2eb4a5){const _0x2aeecf=_0x193cba;return!!this[_0x2aeecf(0x3a8)][_0x2aeecf(0x1d6)](_0x21657c,_0x2eb4a5);}[_0x193cba(0x324)](_0x587487,_0x52637a,_0x109455,_0xdd61b1){const _0x4a1011=_0x193cba,_0x525188=this[_0x4a1011(0x24a)][_0x4a1011(0x106)](_0x587487);this[_0x4a1011(0x2a1)]['set'](_0x587487,{'unitID':_0x587487,'type':_0x52637a,'awaitingChangeset':_0x109455,'mutations':_0xdd61b1,'rev':_0x525188}),this[_0x4a1011(0x288)][_0x4a1011(0x25c)](_0x587487)||this[_0x4a1011(0x368)](_0x587487);}[_0x193cba(0x368)](_0x2a31bf){const _0x369e6f=_0x193cba,_0x56c8cb=this['_getSaveTimeout']();_0x56c8cb===0x0?this[_0x369e6f(0x267)](_0x2a31bf):this[_0x369e6f(0x288)][_0x369e6f(0x15c)](_0x2a31bf,setTimeout(()=>this['_saveCache'](_0x2a31bf),_0x56c8cb));}[_0x193cba(0x337)](){const _0xa3819a=_0x193cba;var _0x246347;return(_0x246347=this[_0xa3819a(0x2a8)]['getConfig'](_0x4f478b[_0xa3819a(0x13d)]))!=null?_0x246347:_0x4f478b[_0xa3819a(0x1ab)];}[_0x193cba(0x267)](_0x698a31){const _0x4a68b1=_0x193cba,_0x10d61f=this[_0x4a68b1(0x288)][_0x4a68b1(0x2e1)](_0x698a31);return _0x10d61f!==void 0x0&&window[_0x4a68b1(0x30e)](_0x10d61f),this[_0x4a68b1(0x3a8)]['setItem'](_0x4f478b['getLocalCacheKey'](_0x698a31),this['_cachedData'][_0x4a68b1(0x2e1)](_0x698a31))[_0x4a68b1(0x1a5)](()=>this[_0x4a68b1(0x288)][_0x4a68b1(0x384)](_0x698a31));}async['exhaustSavingTask'](){const _0xd94cd0=_0x193cba,_0x4b70f6=[];this[_0xd94cd0(0x288)]['forEach']((_0x182778,_0xa701f2)=>{const _0x219e38=_0xd94cd0;window[_0x219e38(0x30e)](_0x182778),_0x4b70f6[_0x219e38(0x2be)](this[_0x219e38(0x267)](_0xa701f2)[_0x219e38(0x1a5)](()=>{const _0x540631=_0x219e38;this[_0x540631(0x288)]['delete'](_0xa701f2);}));}),await Promise[_0xd94cd0(0x269)](_0x4b70f6);}};_0x20eb9f=_0xdc8b37([_0xff6683(0x0,_0x386f4f['IConfigService']),_0xff6683(0x1,_0x386f4f['ILocalStorageService']),_0xff6683(0x2,_0x386f4f['Inject'](_0x1d0381[_0x193cba(0x163)]))],_0x20eb9f);class _0x26e8c2 extends _0x386f4f[_0x193cba(0x320)]{constructor(){const _0x639698=_0x193cba;super(),_0x1faacb(this,_0x639698(0x354)),this[_0x639698(0x354)]=_0x4be4f6[_0x639698(0x34c)](window,_0x639698(0x2d2))['pipe'](_0x4be4f6['takeUntil'](this[_0x639698(0x22c)]),_0x4be4f6[_0x639698(0x153)](0x1),_0x4be4f6[_0x639698(0x170)](void 0x0));}[_0x193cba(0x1a9)](_0x2ccb92,_0x1b3e1b,_0x137948=!0x1){const _0x171a6d=_0x193cba,_0x3a2078=new URL(window['location'][_0x171a6d(0x1f7)]);_0x3a2078[_0x171a6d(0x2fb)]['set'](_0x2ccb92,_0x1b3e1b),_0x137948?window[_0x171a6d(0x360)]['replaceState']('','',_0x3a2078[_0x171a6d(0x32d)]()):window[_0x171a6d(0x360)][_0x171a6d(0x390)]('','',_0x3a2078['toString']());}['removeParam'](_0x5a735a,_0x1a0161=!0x1){const _0x3e8906=_0x193cba,_0x2b8ba1=new URL(window[_0x3e8906(0x275)][_0x3e8906(0x1f7)]);_0x2b8ba1[_0x3e8906(0x2fb)][_0x3e8906(0x384)](_0x5a735a),_0x1a0161?window[_0x3e8906(0x360)]['replaceState']('','',_0x2b8ba1[_0x3e8906(0x32d)]()):window['history'][_0x3e8906(0x390)]('','',_0x2b8ba1[_0x3e8906(0x32d)]());}[_0x193cba(0x28e)](_0x46ccfb){const _0x4348e9=_0x193cba;var _0x17abf0;return(_0x17abf0=new URL(window[_0x4348e9(0x275)][_0x4348e9(0x1f7)])['searchParams'][_0x4348e9(0x2e1)](_0x46ccfb))!=null?_0x17abf0:void 0x0;}}var _0x1bef17=Object[_0x193cba(0x1b7)],_0x5a2518=Object[_0x193cba(0x2d5)],_0x3d066f=(_0x1a364c,_0x37906f,_0x33e86d)=>_0x37906f in _0x1a364c?_0x1bef17(_0x1a364c,_0x37906f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33e86d}):_0x1a364c[_0x37906f]=_0x33e86d,_0xe869f6=(_0x527816,_0x2b09a5,_0x4377e8,_0x42ba27)=>{const _0x435e9b=_0x193cba;for(var _0x42dc93=_0x42ba27>0x1?void 0x0:_0x42ba27?_0x5a2518(_0x2b09a5,_0x4377e8):_0x2b09a5,_0x19ac20=_0x527816[_0x435e9b(0x1da)]-0x1,_0xdea1a6;_0x19ac20>=0x0;_0x19ac20--)(_0xdea1a6=_0x527816[_0x19ac20])&&(_0x42dc93=_0xdea1a6(_0x42dc93)||_0x42dc93);return _0x42dc93;},_0x563ce1=(_0x46b06f,_0x1b7761)=>(_0x5d7350,_0x19c830)=>_0x1b7761(_0x5d7350,_0x19c830,_0x46b06f),_0x59e53a=(_0x32c2d1,_0x3eb16d,_0x5bc838)=>_0x3d066f(_0x32c2d1,_0x3eb16d+'',_0x5bc838);const _0x535a3e=_0x193cba(0x379);_0x36c617[_0x193cba(0x228)]=class extends _0x386f4f[_0x193cba(0x363)]{constructor(_0x270c22=_0x3d9fb4,_0x3b0ad3,_0x320f27,_0x487046){const _0x235205=_0x193cba;super(),this[_0x235205(0x111)]=_0x270c22,this[_0x235205(0x26f)]=_0x3b0ad3,this[_0x235205(0x183)]=_0x320f27,this['_configService']=_0x487046;const {..._0x219e9e}=_0x386f4f['merge']({},_0x3d9fb4,this['_config']);this[_0x235205(0x2a8)][_0x235205(0x283)](_0x42738e,_0x219e9e);}[_0x193cba(0x36e)](){const _0x5e1fd2=_0x193cba;this[_0x5e1fd2(0x343)](),this[_0x5e1fd2(0x333)]();}['onRendered'](){const _0x220a4b=_0x193cba;this[_0x220a4b(0x172)]();}[_0x193cba(0x343)](){const _0x55d993=_0x193cba;var _0x52b387;const _0x5c5b2c=[[_0x4088ae],[_0x22b596],[_0x3847fd],[_0x2ddc7c],[_0x88948a],[_0x37f838,{'useClass':_0x26e8c2}],[_0x141f63[_0x55d993(0x184)],{'useClass':_0x141f63[_0x55d993(0x2b9)]}],[_0x4f478b[_0x55d993(0x13f)],{'useClass':_0x20eb9f}],[_0x36c617[_0x55d993(0x2b1)]],[_0x1e0fd1],[_0x26b5d2],[_0x4ab17f],[_0x1896ae],[_0x36c617['CollaborationDataLoaderController']]];_0x386f4f[_0x55d993(0x1f8)](this[_0x55d993(0x183)],_0x386f4f[_0x55d993(0x349)](_0x5c5b2c,(_0x52b387=this[_0x55d993(0x111)])==null?void 0x0:_0x52b387[_0x55d993(0x25b)]));}[_0x193cba(0x172)](){const _0x24270a=_0x193cba;this[_0x24270a(0x258)](this[_0x24270a(0x26f)][_0x24270a(0x334)](_0x386f4f[_0x24270a(0x210)]['UNIVER_DOC'],[_0x5d3925])),this[_0x24270a(0x258)](this[_0x24270a(0x26f)]['registerRenderModule'](_0x386f4f[_0x24270a(0x210)][_0x24270a(0x2db)],[_0xaf506c]));}[_0x193cba(0x333)](){const _0xf59bd0=_0x193cba;_0x386f4f[_0xf59bd0(0x2dd)](this['_injector'],[[_0x4ab17f],[_0x36c617[_0xf59bd0(0x2b1)]],[_0x1e0fd1],[_0x26b5d2],[_0x36c617[_0xf59bd0(0x151)]]]);}},_0x59e53a(_0x36c617[_0x193cba(0x228)],_0x193cba(0x2b0),_0x535a3e),_0x36c617[_0x193cba(0x228)]=_0xe869f6([_0x386f4f[_0x193cba(0x220)](_0x4f478b[_0x193cba(0x105)]),_0x563ce1(0x1,_0x3cf560[_0x193cba(0x1e1)]),_0x563ce1(0x2,_0x386f4f['Inject'](_0x386f4f[_0x193cba(0x290)])),_0x563ce1(0x3,_0x386f4f[_0x193cba(0x197)])],_0x36c617['UniverCollaborationClientUIPlugin']);var _0x1e3e06=Object['getOwnPropertyDescriptor'],_0x20c81e=(_0x378ea2,_0x3134d7,_0x3b8703,_0x44c862)=>{const _0x20e81a=_0x193cba;for(var _0x5194a2=_0x44c862>0x1?void 0x0:_0x44c862?_0x1e3e06(_0x3134d7,_0x3b8703):_0x3134d7,_0x46e326=_0x378ea2[_0x20e81a(0x1da)]-0x1,_0x58d159;_0x46e326>=0x0;_0x46e326--)(_0x58d159=_0x378ea2[_0x46e326])&&(_0x5194a2=_0x58d159(_0x5194a2)||_0x5194a2);return _0x5194a2;},_0x51e597=(_0x2059f0,_0x290658)=>(_0x8c2d94,_0x4d0125)=>_0x290658(_0x8c2d94,_0x4d0125,_0x2059f0);_0x36c617[_0x193cba(0x27d)]=class extends _0x4f478b['CollaborationSocketService']{constructor(_0x13757b,_0x404fb1,_0x2c0d29,_0x51c8c1,_0x1f2114){super(_0x13757b,_0x404fb1,_0x2c0d29,_0x51c8c1,_0x1f2114);}async[_0x193cba(0x148)](_0x3bbfd1){const _0x183740=_0x193cba,_0x4ceaa3=await this['_getSessionTicket'](),_0xb4a96=this[_0x183740(0x194)](_0x3bbfd1,_0x4ceaa3);return this['_doCreateSocket'](_0xb4a96);}[_0x193cba(0x194)](_0x3e8d1d,_0x46ec37){const _0xfe681c=_0x193cba,_0x42f7c7=typeof window>'u'?new URL(_0x3e8d1d):new URL(_0x3e8d1d,window['location'][_0xfe681c(0x1fa)]);_0x42f7c7['searchParams'][_0xfe681c(0x15c)]('sessionTicket',_0x46ec37);const _0x1fb1e0=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xfe681c(0x275)][_0xfe681c(0x19d)]);return _0x1fb1e0[_0xfe681c(0x2e1)]('runId')&&_0x42f7c7[_0xfe681c(0x2fb)][_0xfe681c(0x15c)](_0xfe681c(0x1c9),_0x1fb1e0['get']('runId')),_0x42f7c7['toString']();}async['_getSessionTicket'](){const _0x3d968e=_0x193cba;var _0x1553fc,_0x4d1881,_0x22e680;const _0x425d1c=this['_configService'][_0x3d968e(0x23c)](_0x4f478b[_0x3d968e(0x277)]),_0x45229f=(_0x1553fc=_0x425d1c==null?void 0x0:_0x425d1c[_0x3d968e(0x2fe)])!=null?_0x1553fc:_0x4f478b['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x22e680=(_0x4d1881=(await this[_0x3d968e(0x118)]['get'](_0x45229f,{'headers':{'Content-Type':'application/json'}}))[_0x3d968e(0x13b)])==null?void 0x0:_0x4d1881[_0x3d968e(0x365)])!=null?_0x22e680:'';}},_0x36c617[_0x193cba(0x27d)]=_0x20c81e([_0x51e597(0x0,_0x386f4f['Inject'](_0x386f4f[_0x193cba(0x290)])),_0x51e597(0x1,_0x386f4f[_0x193cba(0x24d)](_0x141f63[_0x193cba(0x20b)])),_0x51e597(0x2,_0x386f4f['IConfigService']),_0x51e597(0x3,_0x386f4f[_0x193cba(0x20c)]),_0x51e597(0x4,_0x1d0381[_0x193cba(0x226)])],_0x36c617[_0x193cba(0x27d)]);const _0xf9f1a=0x7530,_0x10fec4='ACTIVE_UNIT_EVENT_CHANNEL';class _0x382029 extends _0x386f4f['Disposable']{constructor(){const _0x2672aa=_0x193cba;super(),_0x1faacb(this,_0x2672aa(0x367),_0x386f4f[_0x2672aa(0x108)]()),_0x1faacb(this,'_selfUnitIDs',new Set()),_0x1faacb(this,_0x2672aa(0x298),new Map()),_0x1faacb(this,'_heartbeatTimer',null),_0x1faacb(this,_0x2672aa(0x2c2),new Map()),_0x1faacb(this,_0x2672aa(0x287),new Map()),this[_0x2672aa(0x24f)]();}[_0x193cba(0x32f)](){const _0x4b19fb=_0x193cba;super['dispose'](),this[_0x4b19fb(0x2c2)][_0x4b19fb(0x2fc)]((_0x1efd58,_0xc2d36a)=>this[_0x4b19fb(0x23e)](_0xc2d36a)),this[_0x4b19fb(0x342)]&&window[_0x4b19fb(0x2d4)](this[_0x4b19fb(0x342)]);}[_0x193cba(0x250)](_0x563af1){const _0x1bb73b=_0x193cba;return this[_0x1bb73b(0x15b)](_0x563af1)[_0x1bb73b(0x143)](_0x4be4f6[_0x1bb73b(0x20f)]());}[_0x193cba(0x2bd)](_0x543b95){const _0x5f182f=_0x193cba;this[_0x5f182f(0x208)][_0x5f182f(0x36a)]===0x0&&this[_0x5f182f(0x28c)](),this[_0x5f182f(0x208)]['add'](_0x543b95),this[_0x5f182f(0x2e9)]({'type':0x0,'memberID':this[_0x5f182f(0x367)],'unitIDs':[_0x543b95],'isForwarded':!0x1});}['disposeUnit'](_0x2b3711){const _0x34e5d3=_0x193cba;this[_0x34e5d3(0x208)][_0x34e5d3(0x384)](_0x2b3711),this[_0x34e5d3(0x208)][_0x34e5d3(0x36a)]===0x0&&this['_heartbeatTimer']&&window[_0x34e5d3(0x2d4)](this['_heartbeatTimer']);}[_0x193cba(0x24f)](){const _0x10a7fc=_0x193cba;this['disposeWithMe'](_0x386f4f[_0x10a7fc(0x21c)](_0x4be4f6[_0x10a7fc(0x34c)](window,_0x10a7fc(0x231))[_0x10a7fc(0x274)](_0x433b2a=>{const _0x3d005d=_0x10a7fc;if(_0x433b2a[_0x3d005d(0x2e6)]!==_0x10fec4||!_0x433b2a[_0x3d005d(0x134)])return;const _0x2e6972=JSON[_0x3d005d(0x16a)](_0x433b2a[_0x3d005d(0x134)]);this[_0x3d005d(0x14d)](_0x2e6972);}))),window[_0x10a7fc(0x1cf)](_0x10a7fc(0x280),()=>this['_send']({'type':0x1,'memberID':this[_0x10a7fc(0x367)],'unitIDs':Array[_0x10a7fc(0x372)](this['_selfUnitIDs'])}));}[_0x193cba(0x14d)](_0x5995cc){const _0x5d9ea9=_0x193cba;switch(_0x5995cc[_0x5d9ea9(0x1f0)]){case 0x0:this['_handleJoinEvent'](_0x5995cc);break;case 0x1:this[_0x5d9ea9(0x260)](_0x5995cc);break;case 0x2:this['_handleHeartbeatEvent'](_0x5995cc);break;}}[_0x193cba(0x399)](_0x10c805){const _0x5f212e=_0x193cba,{unitIDs:_0x235197,memberID:_0x920dc,isForwarded:_0x9196a}=_0x10c805;_0x235197[_0x5f212e(0x2fc)](_0x5cc76f=>{const _0x10231f=_0x5f212e;if(!_0x9196a&&this[_0x10231f(0x298)]['has'](_0x5cc76f)&&this[_0x10231f(0x15b)](_0x5cc76f)[_0x10231f(0x37b)](_0x4f478b[_0x10231f(0x1a7)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients']['has'](_0x5cc76f)||!this[_0x10231f(0x298)][_0x10231f(0x2e1)](_0x5cc76f)[_0x10231f(0x25c)](_0x920dc)){const _0x53b13e=this[_0x10231f(0x298)][_0x10231f(0x2e1)](_0x5cc76f)||new Set();_0x53b13e[_0x10231f(0x23f)](_0x920dc),this[_0x10231f(0x298)]['set'](_0x5cc76f,_0x53b13e),this['_scheduleClearOtherTimer'](_0x920dc);}}),_0x9196a||this[_0x5f212e(0x2e9)]({'type':0x0,'memberID':this[_0x5f212e(0x367)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x193cba(0x12a)](_0x3823e4){const _0x1419b8=_0x193cba;this[_0x1419b8(0x23e)](_0x3823e4);const _0x3bad1b=window[_0x1419b8(0x38c)](()=>{const _0x296320=_0x1419b8;this[_0x296320(0x298)]['forEach'](_0xd79f93=>{_0xd79f93['delete'](_0x3823e4);});},_0xf9f1a*0x2);this['_clearOtherTimers'][_0x1419b8(0x15c)](_0x3823e4,_0x3bad1b);}[_0x193cba(0x23e)](_0x4e7841){const _0x120e4f=_0x193cba;if(this[_0x120e4f(0x2c2)][_0x120e4f(0x25c)](_0x4e7841)){const _0x44f46f=this[_0x120e4f(0x2c2)][_0x120e4f(0x2e1)](_0x4e7841);_0x44f46f&&window[_0x120e4f(0x30e)](_0x44f46f),this[_0x120e4f(0x2c2)][_0x120e4f(0x15c)](_0x4e7841,null);}}[_0x193cba(0x260)](_0xb7e19b){const _0x570b67=_0x193cba,{memberID:_0x5aca1c,unitIDs:_0x5ae24d}=_0xb7e19b;_0x5ae24d[_0x570b67(0x2fc)](_0x3028d9=>{const _0xcd6fa8=_0x570b67;var _0xdc4313;const _0x3ef52b=this['_unitOnClients'][_0xcd6fa8(0x2e1)](_0x3028d9);_0x3ef52b&&(_0x3ef52b['delete'](_0x5aca1c),(_0xdc4313=this['_ensureSubject'](_0x3028d9))==null||_0xdc4313[_0xcd6fa8(0x37b)](_0x3ef52b[_0xcd6fa8(0x36a)]===0x0?_0x4f478b['UnitStatus'][_0xcd6fa8(0x1e3)]:_0x4f478b[_0xcd6fa8(0x1a7)][_0xcd6fa8(0x2da)]));}),this[_0x570b67(0x23e)](_0x5aca1c);}[_0x193cba(0x270)](_0x7de949){this['_scheduleClearOtherTimer'](_0x7de949['memberID']);}[_0x193cba(0x2e9)](_0x502f05){const _0x5980b7=_0x193cba;localStorage[_0x5980b7(0x1d6)](_0x10fec4,JSON[_0x5980b7(0x2a6)](_0x502f05));}[_0x193cba(0x28c)](){const _0x46c2ac=_0x193cba;this['_heartbeatTimer']=window[_0x46c2ac(0x240)](()=>{const _0x5cecbb=_0x46c2ac;this[_0x5cecbb(0x2e9)]({'type':0x2,'memberID':this['_id']});},_0xf9f1a);}[_0x193cba(0x15b)](_0x545243){const _0x4d399f=_0x193cba;return this[_0x4d399f(0x287)][_0x4d399f(0x25c)](_0x545243)||this['_unitStatus']['set'](_0x545243,new _0x4be4f6['BehaviorSubject'](_0x4f478b['UnitStatus'][_0x4d399f(0x1e3)])),this[_0x4d399f(0x287)]['get'](_0x545243);}}var _0x2cacf3=(_0x2591a8=>(_0x2591a8[_0x2591a8[_0x193cba(0x2f9)]=0x0]='UNDEFINED',_0x2591a8[_0x2591a8['OK']=0x1]='OK',_0x2591a8[_0x2591a8[_0x193cba(0x1ee)]=0x2]=_0x193cba(0x1ee),_0x2591a8[_0x2591a8[_0x193cba(0x309)]=0x3]='PERMISSION_DENIED',_0x2591a8[_0x2591a8[_0x193cba(0x10a)]=0x4]='NOT_FOUND',_0x2591a8[_0x2591a8['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x2591a8[_0x2591a8[_0x193cba(0x17e)]=0x6]=_0x193cba(0x17e),_0x2591a8[_0x2591a8[_0x193cba(0x126)]=0x7]=_0x193cba(0x126),_0x2591a8[_0x2591a8[_0x193cba(0x1bf)]=0x8]=_0x193cba(0x1bf),_0x2591a8[_0x2591a8[_0x193cba(0x2a4)]=0x9]=_0x193cba(0x2a4),_0x2591a8[_0x2591a8[_0x193cba(0x2d7)]=0xa]=_0x193cba(0x2d7),_0x2591a8[_0x2591a8[_0x193cba(0x238)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2591a8[_0x2591a8[_0x193cba(0x2de)]=0x1771]=_0x193cba(0x2de),_0x2591a8[_0x2591a8[_0x193cba(0x33e)]=0x1772]=_0x193cba(0x33e),_0x2591a8[_0x2591a8[_0x193cba(0x286)]=0x1773]=_0x193cba(0x286),_0x2591a8[_0x2591a8[_0x193cba(0x311)]=0x1b59]=_0x193cba(0x311),_0x2591a8[_0x2591a8['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x193cba(0x338),_0x2591a8[_0x2591a8[_0x193cba(0x120)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2591a8[_0x2591a8[_0x193cba(0x11d)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2591a8[_0x2591a8[_0x193cba(0x1d7)]=0x1b5d]=_0x193cba(0x1d7),_0x2591a8[_0x2591a8['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x2591a8[_0x2591a8[_0x193cba(0x25a)]=0x2329]=_0x193cba(0x25a),_0x2591a8[_0x2591a8['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x193cba(0x268),_0x2591a8[_0x2591a8[_0x193cba(0x19e)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2591a8[_0x2591a8[_0x193cba(0x385)]=0x232c]=_0x193cba(0x385),_0x2591a8[_0x2591a8[_0x193cba(0x18e)]=0x232d]=_0x193cba(0x18e),_0x2591a8[_0x2591a8[_0x193cba(0x113)]=0x2711]=_0x193cba(0x113),_0x2591a8[_0x2591a8[_0x193cba(0x241)]=0x2712]=_0x193cba(0x241),_0x2591a8[_0x2591a8[_0x193cba(0x1bc)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2591a8[_0x2591a8[_0x193cba(0x29c)]=0x2714]=_0x193cba(0x29c),_0x2591a8[_0x2591a8['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x193cba(0x186),_0x2591a8[_0x2591a8[_0x193cba(0x2f7)]=0x271b]=_0x193cba(0x2f7),_0x2591a8[_0x2591a8[_0x193cba(0x1d3)]=0x2af9]=_0x193cba(0x1d3),_0x2591a8[_0x2591a8[_0x193cba(0x314)]=0x2ee1]=_0x193cba(0x314),_0x2591a8[_0x2591a8[_0x193cba(0x319)]=0x2ee2]=_0x193cba(0x319),_0x2591a8[_0x2591a8[_0x193cba(0x3a3)]=0x2ee3]=_0x193cba(0x3a3),_0x2591a8[_0x2591a8['USER_NOT_INVITED_CODE']=0x2ee4]=_0x193cba(0x18f),_0x2591a8[_0x2591a8[_0x193cba(0x26a)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x2591a8[_0x2591a8['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x193cba(0x295),_0x2591a8[_0x2591a8[_0x193cba(0x155)]=0x32ca]=_0x193cba(0x155),_0x2591a8[_0x2591a8[_0x193cba(0x1ad)]=0x32cb]=_0x193cba(0x1ad),_0x2591a8[_0x2591a8[_0x193cba(0x27b)]=-0x1]=_0x193cba(0x27b),_0x2591a8))(_0x2cacf3||{}),_0x38f141=Object['getOwnPropertyDescriptor'],_0x4aeb36=(_0x28cae2,_0xd20fd,_0x30fe59,_0x536033)=>{const _0x46e041=_0x193cba;for(var _0x893f86=_0x536033>0x1?void 0x0:_0x536033?_0x38f141(_0xd20fd,_0x30fe59):_0xd20fd,_0x30c35d=_0x28cae2[_0x46e041(0x1da)]-0x1,_0x548504;_0x30c35d>=0x0;_0x30c35d--)(_0x548504=_0x28cae2[_0x30c35d])&&(_0x893f86=_0x548504(_0x893f86)||_0x893f86);return _0x893f86;},_0x33ef30=(_0x1938d0,_0x753e69)=>(_0xdf2ef,_0x227ab6)=>_0x753e69(_0xdf2ef,_0x227ab6,_0x1938d0);_0x36c617[_0x193cba(0x31f)]=class extends _0x386f4f[_0x193cba(0x164)]{constructor(_0x45eea2,_0x4631ae,_0x17d82c){const _0x4dad73=_0x193cba;super(),this['_instanceService']=_0x45eea2,this['_httpService']=_0x4631ae,this[_0x4dad73(0x2a8)]=_0x17d82c;}async[_0x193cba(0x341)](_0x1f8f68,_0x3e4365,_0x438151,..._0x8b0596){const _0x2cdd40=_0x193cba;var _0x4588e6,_0x48735f,_0x4ca680,_0x6cd225;const _0x40a2e7=this[_0x2cdd40(0x339)]['getFocusedUnit']();if(!_0x40a2e7)throw new Error(_0x2cdd40(0x252));const _0x4950e1=((_0x4588e6=this[_0x2cdd40(0x2a8)][_0x2cdd40(0x23c)](_0x4f478b[_0x2cdd40(0x386)]))!=null?_0x4588e6:_0x4f478b[_0x2cdd40(0x1f3)])+'/'+_0x1f8f68+_0x2cdd40(0x398)+_0x3e4365,_0x22eab4=new URL(window[_0x2cdd40(0x275)][_0x2cdd40(0x1f7)]),_0x2f811f={'scriptId':_0x1f8f68,'runId':(_0x48735f=_0x22eab4[_0x2cdd40(0x2fb)][_0x2cdd40(0x2e1)](_0x2cdd40(0x1c9)))!=null?_0x48735f:'','function':_0x3e4365,'unitId':_0x40a2e7[_0x2cdd40(0x33d)](),'argsOfFunction':JSON['stringify'](_0x8b0596),'invokeId':(_0x4ca680=_0x438151[_0x2cdd40(0x1d0)])!=null?_0x4ca680:'','executionId':(_0x6cd225=_0x438151[_0x2cdd40(0x218)])!=null?_0x6cd225:''};try{const _0x477ab9=await this[_0x2cdd40(0x118)][_0x2cdd40(0x22a)](_0x4950e1,{'body':_0x2f811f});return _0x477ab9[_0x2cdd40(0x13b)][_0x2cdd40(0x282)]&&_0x477ab9[_0x2cdd40(0x13b)][_0x2cdd40(0x282)][_0x2cdd40(0x191)]!==_0x2cacf3['OK']?'Failed':_0x477ab9[_0x2cdd40(0x13b)][_0x2cdd40(0x117)];}catch{return _0x2cdd40(0x136);}}},_0x36c617[_0x193cba(0x31f)]=_0x4aeb36([_0x33ef30(0x0,_0x386f4f['IUniverInstanceService']),_0x33ef30(0x1,_0x386f4f['Inject'](_0x141f63[_0x193cba(0x20b)])),_0x33ef30(0x2,_0x386f4f['IConfigService'])],_0x36c617['RemoteUniscriptService']),_0x36c617['CollaborationStatusDisplay']=_0x2ab981,_0x36c617['IURLService']=_0x37f838,_0x36c617[_0x193cba(0x2f6)]=_0x2b71a4,_0x36c617[_0x193cba(0x29e)]=_0x382029,_0x36c617[_0x193cba(0x39c)]=_0x26e8c2,Object[_0x193cba(0x1b7)](_0x36c617,Symbol[_0x193cba(0x38e)],{'value':_0x193cba(0x37e)});}));function _0x43e1(_0xce79b0,_0x23e083){const _0x5858ed=_0x5858();return _0x43e1=function(_0x43e130,_0x32740c){_0x43e130=_0x43e130-0x105;let _0x2af6c8=_0x5858ed[_0x43e130];return _0x2af6c8;},_0x43e1(_0xce79b0,_0x23e083);}function _0x5858(){const _0x316d8f=['toString','m2Prime','dispose','on-line-single_clip0_910_349','IImageIoService','_textBubble','_initDependencies','registerRenderModule','getUniverSheetInstance','createIdentifier','_getSaveTimeout','APPLY_NON_SEQUENTIAL_REVISION','_instanceService','clipPath','mask','icon','getUnitId','SNAPSHOT_HAS_BEEN_REMOVED','session.collaboration-timeout','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','runOnServer','_heartbeatTimer','_registerDependencies','transformRemoteChangeset','CollaborationUIEventId','save','fillRule','addClipboardHook','mergeOverrideWithDependencies','whenReady','labelPosition','fromEvent','_cursorShapes','onPointerMove$','top','height','Unknown\x20user','CollaborationUIEventService','collaboration-client-ui.config','urlChange$','collab-rect-range-','hovered','saveOfflineData','collabStatus.notCollab','_getSheetObject','Workbook','_dataLoaderService','flatMap','RichTextEditingMutation','jsx','AWAITING','history','object','docStateChange$','Plugin','@univerjs/ui','ticket','idSuffix','_id','_scheduleSaving','getMergeData','size','red300','2884160rpGscw','requireSession','onStarting','map','...','UPDATE_CURSOR','from','complete','text','amd','className','connectInjector','DOC_RANGE_TYPE','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_status$','next','triggerDblclick','_range','Module','M0\x200H16V16H0z','_hover','DocStateChangeManagerService','getCollabEntity$','_context','delete','LICENSE_EXPORT_SIZE_EXCEEDED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','1314753Yervin','off-line-single_clip0_910_343','fromEventSubject','useDependency','_beforeCloseService','setTimeout','forwardRef','toStringTag','getActiveSheet','pushState','SetWorksheetActivateCommand','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','entityInit$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','transformIMECache','gold400','_hovered','/run/','_handleJoinEvent','transformByState','off-line-single','WebURLService','collabStatus.offline','@univerjs/docs-ui','throttleTime','_docStateChangeManagerService','restore','INotificationService','INVITE_CODE_REQUIRED','addObjects','online','OffLineSingle','_disabled','_localStorageService','UniverCollaborationClientPlugin','getCurrentRevOfUnit','univer-online','generateRandomId','_localCacheService','NOT_FOUND','VIEW_MAIN','OFFLINE','concat','replace','fillText','div','_config','_lastPointer','YUUMI_UNABLE_LOAD_URL','offline','combineLatest','UniverRpc','result','_httpService','call','transformMutation','_transformHistoryAndStateStack','_refreshCollabCursors','APPLY_PERMISSION_DENIED','_roomMembers$','UniverCore','APPLY_REVISION_CONFILICT','Vector2','IRemoteInstanceService','SetTextSelectionsOperation','values','MessageType','INVALID_ARGUMENT','setStateCache','collabCursorState$','filter','_scheduleClearOtherTimer','_updateCollabCursors','_name','CollaborationStatus','ranges','UniverIcon','SessionStatus','useObservable','@univerjs-pro/collaboration-client','width','newValue','startsWith','Failed','some','_render','_hideTimer','transformSelections','body','handleInsertCol','LOCAL_CACHE_INTERVAL_KEY','isActive','ILocalCacheService','row','UniverSheetsUi','cursorInfo','pipe','_transformPreviousActiveRange','roomMembers','mutations','ThemeService','createSocket','IMessageService','SheetSkeletonManagerService','LocaleService','session.connection-failed','_handleEvent','@univerjs/docs','getRelativeToViewportCoord','colorChannel1','CollaborationDataLoaderController','transformStateCache','shareReplay','contains','MOBILE_HAS_BEEN_BOUND','_color','ITransformService','_docTransformStateCacheService','syncEditingCollabCursor','MemberService','_ensureSubject','set','_collabCursorState$','_shapes','_anchor','column','18LxMLmt','unitId','RevisionService','Disposable','0\x200\x2016\x2016','debounceTime','setActiveRange','_drawAnchor','roomMembers$','parse','defIds','_notificationService','_online','handleInsertRangeMoveDown','getColor','mapTo','CommandType','_registerRenderDependencies','_startDocCollabCursor','collab-text-anchor-','_docSyncEditingCollabCursorService','_cursors','DocCollaborationEntity','clsx','propertyIsEnumerable','_assignedColors','cursorInfo$','TEXT_RANGE_LAYER_INDEX','apply','ALREADY_EXISTS','_getAnchorBounding','SYNCED','onlineStatusIcon','_transformService','_injector','ISocketService','enableLocalCache','YUUMI_NO_CUBOID_FOR_QUESTION','defs','min','prototype','fill','UniverProCollaboration','hasOwnProperty','substring','LICENSE_DISTRO_REJECTED','USER_NOT_INVITED_CODE','_updateSubUnitFromURLParams','code','init','hide','_createSocketURL','_urlService','Tools','IConfigService','_getMergeRange','_updateLocalCursor','@univerjs/engine-render','JOIN_ROOM_FAILED','endColumn','search','LICENSE_IMPORT_SIZE_EXCEEDED','getRenderById','RegularPolygon','color','transform','getFocusedUnit','1em','then','PENDING','UnitStatus','operators','setParam','rxjs','LOCAL_CACHE_INTERVAL','_collaborationController','EMAIL_HAS_BEEN_BOUND','Rect','_memberService','getCurrentSelections','_onCursorDelete','subunit','children','onPointerEnter$','replaceDocRanges','UniverDrawing','defineProperty','session.will-retry','_removeCollabCursors','NodePositionConvertToCursor','DocIMEInputManagerService','YUUMI_RATE_OVER_LIMIT','currentTheme$','isArray','TOO_MANY_REQUESTS','_labelPosition','AWAITING_WITH_PENDING','collabStatus.synced','translate(.97)','redoState','getAncestorScale','_getScale','getActiveRange','blue400','runId','purple300','registerRefRange','OTHER_CLIENT_EDITING','getSkeleton','rxjs/operators','addEventListener','invokeId','_onRefRangeChange','_refRangeService','PY_RUNTIME_SCRIPT_ERROR','serializeRangeWithSheet','handleIRemoveCol','setItem','APPLY_DUPLICATED','univer-offline','Optional','length','_initCommandExecutedListener','HEADER_MENU','CLOSE_ROOM','EffectRefRangId','displayName','_collaborationUIEventService','IRenderManagerService','jiqing500','NO_OTHER_CLIENTS_EDITING','_sheetSkeletonManagerService','_logService','engine','IUIPartsService','_initEntityListener','InsertRangeMoveDownCommandId','CONFLICT','1575985NeQejX','_updateURLWithCurrentState','getVpScrollXYInfoByPosToVp','INTERNAL_ERROR','_messageService','type','collabStatus.syncing','switchMap','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','onlineStatusTitle','_univerInstanceService','currentSkeleton$','href','registerDependencies','@univerjs/engine-formula','origin','backgroundColor','_entityInit$','_entities','getTypeOfUnitDisposed$','saveTaskMap','univer-online-status-icon','MUTATION','Subject','endRow','RemoveRowCommandId','getCurrentUnitForType','getUnhiddenWorksheets','SheetsSelectionsService','_selfUnitIDs','m1Prime','sessionStatus$','HTTPService','ILogService','[CollaborationDataLoaderController]','univer-online-status','distinctUntilChanged','UniverInstanceType','_document','handleInsertRangeMoveRight','_anchorDot','symbol','jsxs','FromArray','collabStatus.fetchMiss','executionId','getCoordByCell','getSheetObject','debounce','toDisposable','focused$','getSheetBySheetId','SetDocZoomRatioOperation','DependentOn','3754430OOGBIk','InsertRowCommandId','getSheetId','RemoveColCommandId','Tooltip','ISnapshotServerService','on-line-single','UniverCollaborationClientUIPlugin','921666BZHVep','post','_drawRectRange','dispose$','1473048JhhfKz','UNIVER_DOC','isTransformMutationsWithChangesetSuccess','Rectangle','storage','exports','_themeService','path','string','_handleHover','DisposableCollection','CHANGESET_REVISION_CONFILICT','_colorIndex','collaboration-client.offline-data-not-saved','assign','getConfig','collabStatus.conflict','_removeClearOtherTimer','add','setInterval','YUUMI_URL_COL_OUT_OF_RANGE','loadOfflineData','_transformUndoRedoStack','DeleteRangeMoveUpCommandId','black','_docTransformIMECacheService','selection','_docSkeletonManagerService','getOwnPropertySymbols','_revisionService','startRow','ICommandService','Inject','ColorKit','_init','getUnitStatus$','find','[RemoteUniscriptService]:\x20no\x20focused\x20unit','function','unshift','@univerjs/design','NodePositionConvertToRectRange','params','disposeWithMe','addObject','LICENSE_MAX_UNITS_EXCEEDED','override','has','attrs','drawWith','fillStyle','_handleLeaveEvent','loadUnit','UniverNetwork','_session','subUnitId','UniverDocsUi','_toggleOnline','_saveCache','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','all','INVITE_CODE_ALREADY_BOUND','name','getMemberID','_initStatusComponent','_eventUnsubscribe','_renderManagerService','_handleHeartbeatEvent','DataLoaderService','onPointerLeave$','getCellPositionByOffset','subscribe','location','exhaustSavingTask','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','InsertColCommandId','range','CollaborationController','UNRECOGNIZED','SUBMIT_CHANGESET_TIMEOUT','BrowserCollaborationSocketService','React','getCollabCursors$','unload','rgba(255,\x20255,\x20255,\x200.01)','error','setConfig','show','getDocRanges','ENSURE_SNAPSHOT_EXECUTION','_unitStatus','_saveTaskMap','@univerjs/sheets-ui','getUndoRedoMutationParamsCache','url(#off-line-single_clip0_910_343)','_scheduleHeartbeat','setAlpha','getParam','getValue','Injector','UniverDocs','handleInsertRow','@univerjs/sheets','Warning','WECHAT_HAS_BEEN_BOUND','evenodd','createElement','_unitOnClients','_uiPartsService','setUndoRedoMutationParamsCache','_draw','YUUMI_SUBSCRIPTION_NOT_FOUND','doc.mutation.rich-text-editing','WebBrowserSingleActiveUnitService','extend','_backgroundColor','_cachedData','_docTransformSelectionsService','unsubscribe','COMPLETION_FINISHED','debug','stringify','getRangePointData','_configService','react/jsx-runtime','svg','_localeService','permission.title','makeDirty','round','currentColor','pluginName','DesktopCollaborationStatusDisplayController','getItem','BehaviorSubject','CollaborationEvent','_drawTextRange','@univerjs/rpc','unit','_startSheetCollabCursor','WebSocketService','getStateCache','onMouseMove','subscribeEvent','editingUnit','push','indexOf','_colorAssignService','@univerjs/drawing','_clearOtherTimers','textRanges','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','Error','xlink:href','univer-online-status-title','bottom','_docClipboardService','closePath','data','toRgbString','deepClone','IUniverInstanceService','12ozqxid','@univerjs-pro/collaboration','_scene','popstate','COLORS','clearInterval','getOwnPropertyDescriptor','setShapeProps','LOGIN_FAILED','_collabSessionService','getTypeOfUnitAdded$','OTHER_CLIENTS_EDITING','UNIVER_SHEET','@univerjs/network','touchDependencies','SNAPSHOT_INVALID_SNAPSHOT','_cursor','trim','get','2OwEWNk','none','measureText','getMember','key','_cursorInfo$','getViewport','_send','onCommandExecuted','0\x200\x2017\x2016','SHEET_VIEWPORT_KEY','ONLINE','USERS_LEAVE','split','SetSelectionsOperation','_collabCursorController','lineTo','imageSourceType','_commandService','reconnect','SheetCollabCursorShape','YUUMI_ASYNCIO_CANCELLED','source','UNDEFINED','react','searchParams','forEach','url(#$1','wsSessionTicketUrl','NOT_COLLAB','entries','undoState','findNodePositionByCharIndex','isTransformMutationFailure','event$','startColumn','max','Shape','assignAColorForMemberID','PERMISSION_DENIED','_initResize','getOffsetConfig','collaboration.closeRoom','_onCursorUpdate','clearTimeout','takeUntil','unitID','APPLY_REJECT','send','_syncEditingCollabCursorService','INVITE_CODE_HAS_BEEN_UES','CollaborationSessionService','_docSkeleton','beginPath','BuiltInUIPart','INVALID_INVITE_CODE','saveImage','with','RefRangeService','_toggleOffline','_setupSubUnitSync','RemoteUniscriptService','RxDisposable','@univerjs/core','asObservable','url(#on-line-single_clip0_910_349)','updateOfflineData','useCallback','852544CNIeFz','IBeforeCloseService','FETCH_MISS','arc','merge','tag','UniverSheets'];_0x5858=function(){return _0x316d8f;};return _0x5858();}