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

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(_0xf49c37,_0x4be8e1){const _0x5b0583=_0x25fd,_0x1bcd8a=_0xf49c37();while(!![]){try{const _0x14f75c=parseInt(_0x5b0583(0x3bc))/0x1*(-parseInt(_0x5b0583(0x265))/0x2)+-parseInt(_0x5b0583(0x389))/0x3+parseInt(_0x5b0583(0x294))/0x4+parseInt(_0x5b0583(0x2d0))/0x5+parseInt(_0x5b0583(0x253))/0x6*(-parseInt(_0x5b0583(0x3c9))/0x7)+-parseInt(_0x5b0583(0x388))/0x8+parseInt(_0x5b0583(0x42c))/0x9*(parseInt(_0x5b0583(0x22c))/0xa);if(_0x14f75c===_0x4be8e1)break;else _0x1bcd8a['push'](_0x1bcd8a['shift']());}catch(_0xc08884){_0x1bcd8a['push'](_0x1bcd8a['shift']());}}}(_0x50ca,0xe78b9),function(_0x55201a,_0x5e095d){const _0x2ed610=_0x25fd;typeof exports==_0x2ed610(0x299)&&typeof module<'u'?_0x5e095d(exports,require(_0x2ed610(0x3f7)),require(_0x2ed610(0x394)),require(_0x2ed610(0x3a4)),require(_0x2ed610(0x3cf)),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require(_0x2ed610(0x3bf)),require(_0x2ed610(0x2f0)),require(_0x2ed610(0x22a)),require(_0x2ed610(0x24e)),require(_0x2ed610(0x2a7)),require('rxjs/operators'),require(_0x2ed610(0x212)),require(_0x2ed610(0x2f6)),require(_0x2ed610(0x24a)),require(_0x2ed610(0x33e)),require(_0x2ed610(0x3d2)),require(_0x2ed610(0x447))):typeof define==_0x2ed610(0x327)&&define[_0x2ed610(0x2fc)]?define([_0x2ed610(0x370),'@univerjs-pro/collaboration-client',_0x2ed610(0x394),_0x2ed610(0x3a4),'@univerjs/network','@univerjs/docs-ui','@univerjs/drawing',_0x2ed610(0x3bf),_0x2ed610(0x2f0),_0x2ed610(0x22a),_0x2ed610(0x24e),_0x2ed610(0x2a7),_0x2ed610(0x45c),_0x2ed610(0x212),_0x2ed610(0x2f6),_0x2ed610(0x24a),_0x2ed610(0x33e),_0x2ed610(0x3d2),'@univerjs/rpc'],_0x5e095d):(_0x55201a=typeof globalThis<'u'?globalThis:_0x55201a||self,_0x5e095d(_0x55201a[_0x2ed610(0x237)]={},_0x55201a[_0x2ed610(0x274)],_0x55201a[_0x2ed610(0x3cc)],_0x55201a['UniverEngineRender'],_0x55201a[_0x2ed610(0x204)],_0x55201a[_0x2ed610(0x231)],_0x55201a[_0x2ed610(0x339)],_0x55201a['rxjs'],_0x55201a[_0x2ed610(0x316)],_0x55201a[_0x2ed610(0x476)],_0x55201a['UniverEngineFormula'],_0x55201a[_0x2ed610(0x239)],_0x55201a[_0x2ed610(0x3bf)][_0x2ed610(0x26d)],_0x55201a[_0x2ed610(0x3fa)],_0x55201a[_0x2ed610(0x2b2)],_0x55201a[_0x2ed610(0x458)],_0x55201a[_0x2ed610(0x44b)],_0x55201a[_0x2ed610(0x2b2)],_0x55201a['UniverRpc']));}(this,function(_0x4cceb3,_0xcd8db,_0x7d7395,_0x1335eb,_0x45113e,_0x5eb1d8,_0x16e36f,_0x24af31,_0x1525c3,_0x2fc10,_0x3bff30,_0x578427,_0x22fa0e,_0x82f1f,_0x5ac202,_0x273ccb,_0x4c907b,_0xcaba45,_0x1b65ca){'use strict';const _0x4f4524=_0x25fd;var _0x44bde5=Object[_0x4f4524(0x390)],_0x2687c8=(_0x25102d,_0x1c5a75,_0x1ab45a)=>_0x1c5a75 in _0x25102d?_0x44bde5(_0x25102d,_0x1c5a75,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ab45a}):_0x25102d[_0x1c5a75]=_0x1ab45a,_0x4535fa=(_0x4c3fa4,_0x5c37ed,_0x102013)=>_0x2687c8(_0x4c3fa4,typeof _0x5c37ed!=_0x4f4524(0x3ca)?_0x5c37ed+'':_0x5c37ed,_0x102013),_0x51e095=Object[_0x4f4524(0x44d)],_0x238ac4=(_0x2d5a65,_0x158e13,_0x5bcbcf,_0x1c6f08)=>{const _0x2a0f9b=_0x4f4524;for(var _0x5f25c1=_0x1c6f08>0x1?void 0x0:_0x1c6f08?_0x51e095(_0x158e13,_0x5bcbcf):_0x158e13,_0x31cb7f=_0x2d5a65[_0x2a0f9b(0x332)]-0x1,_0x4ae4b5;_0x31cb7f>=0x0;_0x31cb7f--)(_0x4ae4b5=_0x2d5a65[_0x31cb7f])&&(_0x5f25c1=_0x4ae4b5(_0x5f25c1)||_0x5f25c1);return _0x5f25c1;},_0x3c4924=(_0x58b46a,_0x4564ac)=>(_0x42b2d4,_0x58f0a0)=>_0x4564ac(_0x42b2d4,_0x58f0a0,_0x58b46a);let _0x270b59=class extends _0x7d7395[_0x4f4524(0x36e)]{constructor(_0x530fc1,_0x3ed17d){const _0x43b19a=_0x4f4524;super(),this[_0x43b19a(0x409)]=_0x530fc1,this[_0x43b19a(0x28f)]=_0x3ed17d,this[_0x43b19a(0x1e4)]();}[_0x4f4524(0x1e4)](){const _0x188e85=_0x4f4524,_0x1f848b=this;this[_0x188e85(0x38e)](this[_0x188e85(0x409)][_0x188e85(0x337)]({'onBeforePasteImage':async _0x4b296b=>{const _0x2c3e53=_0x188e85,_0x229f71=await _0x1f848b['_imageIoService'][_0x2c3e53(0x30b)](_0x4b296b);return _0x229f71?{'source':_0x229f71[_0x2c3e53(0x24b)],'imageSourceType':_0x229f71['imageSourceType']}:null;}}));}};_0x270b59=_0x238ac4([_0x3c4924(0x0,_0x5eb1d8[_0x4f4524(0x39b)]),_0x3c4924(0x1,_0x16e36f['IImageIoService'])],_0x270b59);const _0x129673=[_0x4f4524(0x407),'jiqing500','verdancy600',_0x4f4524(0x324),_0x4f4524(0x445),_0x4f4524(0x1e1)];class _0x1cb796 extends _0x7d7395[_0x4f4524(0x36c)]{constructor(){const _0x285723=_0x4f4524;super(...arguments),_0x4535fa(this,_0x285723(0x311),new Map()),_0x4535fa(this,_0x285723(0x411),0x0);}[_0x4f4524(0x1ee)](_0x411509){const _0x490294=_0x4f4524;if(this[_0x490294(0x311)][_0x490294(0x3d4)](_0x411509))return this[_0x490294(0x311)][_0x490294(0x455)](_0x411509);const _0x38422c=_0x129673[this[_0x490294(0x411)]];return this[_0x490294(0x411)]=(this['_colorIndex']+0x1)%_0x129673[_0x490294(0x332)],this[_0x490294(0x311)]['set'](_0x411509,_0x38422c),_0x38422c;}}function _0x4089f0(_0xe69054){const _0x4e3334=_0x4f4524;let _0x2e99b8='';for(const _0x2627b2 of _0xe69054){const {startOffset:_0x4afd8c,endOffset:_0x135a3a,isActive:_0x47bee0,rangeType:_0x48b960,segmentId:_0x4522c3,segmentPage:_0x49ad26}=_0x2627b2;_0x2e99b8[_0x4e3334(0x332)]&&(_0x2e99b8+=','),_0x2e99b8+=_0x4afd8c+':'+_0x135a3a+':'+(_0x47bee0?'1':'0')+':'+_0x48b960+':'+_0x4522c3+':'+_0x49ad26;}return _0x2e99b8;}function _0x5a29c8(_0x3b3fc1){const _0x4ea3d0=_0x4f4524,_0x19fafa=_0x3b3fc1[_0x4ea3d0(0x398)](','),_0x436d8d=[];for(const _0x13c353 of _0x19fafa){const [_0x1b0f51,_0x435b96,_0x5c327c,_0x4d0d03,_0x1c4d8f,_0x4ef76e]=_0x13c353['split'](':');_0x436d8d[_0x4ea3d0(0x250)]({'startOffset':Number(_0x1b0f51),'endOffset':Number(_0x435b96),'collapsed':_0x1b0f51===_0x435b96,'isActive':_0x5c327c==='1','rangeType':_0x4d0d03===_0x7d7395[_0x4ea3d0(0x449)][_0x4ea3d0(0x375)]?_0x7d7395[_0x4ea3d0(0x449)][_0x4ea3d0(0x375)]:_0x7d7395[_0x4ea3d0(0x449)][_0x4ea3d0(0x3ad)],'segmentId':typeof _0x1c4d8f==_0x4ea3d0(0x205)?String(_0x1c4d8f):'','segmentPage':Number(_0x4ef76e!=null?_0x4ef76e:-0x1)});}return _0x436d8d[_0x4ea3d0(0x221)](_0x30b6ed=>_0x30b6ed['isActive'])||(_0x436d8d[0x0]['isActive']=!0x0),_0x436d8d;}class _0x4e81cb extends _0x7d7395['RxDisposable']{constructor(){const _0x1d878f=_0x4f4524;super(...arguments),_0x4535fa(this,'_collabCursorState$',new _0x24af31[(_0x1d878f(0x42f))](null)),_0x4535fa(this,'collabCursorState$',this[_0x1d878f(0x3b6)][_0x1d878f(0x301)]());}[_0x4f4524(0x40a)](_0x40eac5){const _0x2edf1f=_0x4f4524,{unitID:_0x2c8ade,memberID:_0x45f6a8,textRanges:_0x596c50}=_0x40eac5,_0x12cbfc=_0x4089f0(_0x596c50);if(_0x12cbfc==='')return;const _0x291a0={'unitID':_0x2c8ade,'memberID':_0x45f6a8,'selection':_0x12cbfc};this[_0x2edf1f(0x3b6)]['next'](_0x291a0);}}var _0x1984d5=Object[_0x4f4524(0x44d)],_0x473f51=(_0x3cfb21,_0xbbae05,_0x1f0b7e,_0x3c9b6b)=>{for(var _0x4727e1=_0x3c9b6b>0x1?void 0x0:_0x3c9b6b?_0x1984d5(_0xbbae05,_0x1f0b7e):_0xbbae05,_0x1cd11a=_0x3cfb21['length']-0x1,_0x55c33d;_0x1cd11a>=0x0;_0x1cd11a--)(_0x55c33d=_0x3cfb21[_0x1cd11a])&&(_0x4727e1=_0x55c33d(_0x4727e1)||_0x4727e1);return _0x4727e1;},_0x306eed=(_0x2d5451,_0x10e219)=>(_0xfe1860,_0xf1a87b)=>_0x10e219(_0xfe1860,_0xf1a87b,_0x2d5451);const _0x41889d=0x12c,_0x1399ab=0x64;let _0x53c664=class extends _0x7d7395[_0x4f4524(0x36e)]{constructor(_0x39668a,_0x33e139,_0x32184f,_0x1fa6df,_0x27f8b8,_0x392535,_0x3f305c,_0x183c43,_0x368566){const _0x6ea98b=_0x4f4524;super(),_0x4535fa(this,_0x6ea98b(0x278),!0x1),_0x4535fa(this,'_init',!0x1),_0x4535fa(this,_0x6ea98b(0x264),new _0x24af31[(_0x6ea98b(0x42f))](new Map())),_0x4535fa(this,_0x6ea98b(0x330),this[_0x6ea98b(0x264)][_0x6ea98b(0x301)]()),_0x4535fa(this,_0x6ea98b(0x329),new _0x24af31[(_0x6ea98b(0x42f))]([])),_0x4535fa(this,_0x6ea98b(0x312),this[_0x6ea98b(0x329)][_0x6ea98b(0x475)](_0x24af31[_0x6ea98b(0x2e0)](_0x41889d))),_0x4535fa(this,_0x6ea98b(0x2a1),_0x7d7395[_0x6ea98b(0x40e)](_0x662080=>{const _0x4d66c4=_0x6ea98b,_0x57645b={'eventID':_0x2fc10[_0x4d66c4(0x2eb)][_0x4d66c4(0x45e)],'data':{'unitID':this['unitID'],'memberID':this[_0x4d66c4(0x39a)]['getMemberID'](),'selection':_0x4089f0(_0x662080)}};this[_0x4d66c4(0x39a)][_0x4d66c4(0x30d)](_0x57645b,this['unitID']);},_0x1399ab)),(this[_0x6ea98b(0x3ef)]=_0x39668a,this[_0x6ea98b(0x39a)]=_0x33e139,this[_0x6ea98b(0x40b)]=_0x32184f,this[_0x6ea98b(0x306)]=_0x1fa6df,this[_0x6ea98b(0x43b)]=_0x27f8b8,this[_0x6ea98b(0x334)]=_0x392535,this['_transformService']=_0x3f305c,this[_0x6ea98b(0x236)]=_0x183c43,this['_commandService']=_0x368566);}get[_0x4f4524(0x3cd)](){const _0x282efa=_0x4f4524;return this[_0x282efa(0x264)][_0x282efa(0x3ec)]();}get[_0x4f4524(0x279)](){const _0x30efcf=_0x4f4524;return this[_0x30efcf(0x329)][_0x30efcf(0x3ec)]();}[_0x4f4524(0x347)](){const _0x125746=_0x4f4524;super[_0x125746(0x347)](),this[_0x125746(0x264)][_0x125746(0x1e8)](new Map()),this[_0x125746(0x264)][_0x125746(0x27d)](),this[_0x125746(0x329)][_0x125746(0x1e8)]([]),this[_0x125746(0x329)][_0x125746(0x27d)]();}['init'](){const _0x129d71=_0x4f4524;this[_0x129d71(0x1e4)]||(this[_0x129d71(0x1e4)]=!0x0,this[_0x129d71(0x39a)]['sessionStatus$'][_0x129d71(0x475)](_0x24af31[_0x129d71(0x41d)](this[_0x129d71(0x3b9)]))['subscribe'](_0x3fe03e=>{const _0x883043=_0x129d71;_0x3fe03e===_0xcd8db[_0x883043(0x429)]['ONLINE']?this[_0x883043(0x200)]():this[_0x883043(0x210)]();}),this[_0x129d71(0x39a)][_0x129d71(0x2e9)][_0x129d71(0x475)](_0x24af31[_0x129d71(0x41d)](this[_0x129d71(0x3b9)]))['subscribe'](_0x12c2e1=>{const _0x267df9=_0x129d71,_0x209103=_0x12c2e1[_0x267df9(0x38c)];_0x209103===_0x2fc10['CollaborationEvent'][_0x267df9(0x45e)]&&this[_0x267df9(0x232)](_0x12c2e1),_0x209103===_0x2fc10[_0x267df9(0x2eb)][_0x267df9(0x290)]&&this['_onCursorDelete'](_0x12c2e1);}),this['disposeWithMe'](this[_0x129d71(0x2e6)][_0x129d71(0x3df)](_0x33f34b=>{const _0x5ce5f9=_0x129d71,_0x2d8870=_0x33f34b[_0x5ce5f9(0x222)];_0x2d8870!=null&&this[_0x5ce5f9(0x278)]&&_0x33f34b['id']===_0x1525c3['SetTextSelectionsOperation']['id']&&_0x2d8870[_0x5ce5f9(0x410)]===this[_0x5ce5f9(0x3ef)]&&_0x2d8870['isEditing']===!0x1&&_0x2d8870[_0x5ce5f9(0x470)][_0x5ce5f9(0x332)]>0x0&&this[_0x5ce5f9(0x2a1)](_0x2d8870[_0x5ce5f9(0x470)]);})),this['_syncEditingCollabCursorService']['collabCursorState$']['pipe'](_0x24af31[_0x129d71(0x41d)](this['dispose$']))[_0x129d71(0x2ef)](_0xb88733=>{const _0x317eac=_0x129d71;if((_0xb88733==null?void 0x0:_0xb88733[_0x317eac(0x3ef)])!==this[_0x317eac(0x3ef)])return;const _0x536c70={'eventID':_0x2fc10['CollaborationEvent'][_0x317eac(0x45e)],'data':_0xb88733};this[_0x317eac(0x232)](_0x536c70);}),this[_0x129d71(0x38e)](this[_0x129d71(0x2e6)][_0x129d71(0x3df)](_0x5cb548=>{const _0x20d2c2=_0x129d71;if(_0x5cb548[_0x20d2c2(0x222)]==null)return;const _0x5ad8eb=_0x5cb548[_0x20d2c2(0x222)];if(_0x5cb548['id']!==_0x1525c3[_0x20d2c2(0x22e)]['id']||_0x5ad8eb['unitId']!==this['unitID'])return;const _0x522a1f={'id':_0x20d2c2(0x307),'params':_0x5ad8eb},_0x16dcf1=this[_0x20d2c2(0x3cd)];for(const [_0x499bce,_0x36b2ab]of _0x16dcf1){const _0x548209={'id':_0x20d2c2(0x307),'params':{'unitId':this[_0x20d2c2(0x3ef)],'actions':null,'textRanges':_0x36b2ab[_0x20d2c2(0x470)]}},_0x21c625=this[_0x20d2c2(0x33a)][_0x20d2c2(0x24c)](_0x522a1f,_0x548209,!0x1);if(_0x2fc10[_0x20d2c2(0x426)](_0x21c625))throw _0x21c625['error'];_0x16dcf1[_0x20d2c2(0x32e)](_0x499bce,{..._0x36b2ab,'ranges':_0x21c625['m2Prime'][_0x20d2c2(0x222)]['textRanges']});}queueMicrotask(()=>{const _0x5d8b7e=_0x20d2c2;this[_0x5d8b7e(0x264)][_0x5d8b7e(0x1e8)](_0x16dcf1);});})));}['_onCursorUpdate'](_0x49df64){const _0x36cce1=_0x4f4524;var _0x2e45e8,_0x19ab41;const {memberID:_0x5e6b15,selection:_0x4e7718}=_0x49df64[_0x36cce1(0x1fc)],_0x1e1045=_0x5a29c8(_0x4e7718),_0x5d7971=(_0x19ab41=(_0x2e45e8=this[_0x36cce1(0x43b)][_0x36cce1(0x3c4)](this[_0x36cce1(0x3ef)],_0x5e6b15))==null?void 0x0:_0x2e45e8[_0x36cce1(0x43d)])!=null?_0x19ab41:'Unknown\x20user',_0x10f8cb={'color':this[_0x36cce1(0x306)][_0x36cce1(0x1ee)](_0x5e6b15),'name':_0x5d7971,'ranges':_0x1e1045},_0x5ebade=this[_0x36cce1(0x3cd)];_0x5ebade['set'](_0x5e6b15,_0x10f8cb),this[_0x36cce1(0x264)][_0x36cce1(0x1e8)](_0x5ebade);}['_onCursorDelete'](_0x5b61fb){const _0x5c6d18=_0x4f4524,{memberID:_0x3bfe9e}=_0x5b61fb[_0x5c6d18(0x1fc)],_0x2b653f=this[_0x5c6d18(0x3cd)];_0x2b653f['delete'](_0x3bfe9e),this['_cursorInfo$'][_0x5c6d18(0x1e8)](_0x2b653f);}[_0x4f4524(0x200)](){const _0x27aca5=_0x4f4524;var _0x262e0f;if(this[_0x27aca5(0x278)]=!0x0,((_0x262e0f=this[_0x27aca5(0x236)][_0x27aca5(0x2bc)]())==null?void 0x0:_0x262e0f[_0x27aca5(0x36d)]())!==this[_0x27aca5(0x3ef)])return;const _0xf807bd=this['_injector']['get'](_0x1525c3[_0x27aca5(0x31c)])[_0x27aca5(0x348)]();Array['isArray'](_0xf807bd)&&_0xf807bd[_0x27aca5(0x332)]>0x0&&this[_0x27aca5(0x2a1)](_0xf807bd);}[_0x4f4524(0x210)](){this['_online']=!0x1;}};_0x53c664=_0x473f51([_0x306eed(0x2,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395['Injector'])),_0x306eed(0x3,_0x7d7395[_0x4f4524(0x40d)](_0x1cb796)),_0x306eed(0x4,_0x7d7395[_0x4f4524(0x40d)](_0xcd8db['MemberService'])),_0x306eed(0x5,_0x7d7395[_0x4f4524(0x40d)](_0x4e81cb)),_0x306eed(0x6,_0x2fc10['ITransformService']),_0x306eed(0x7,_0x7d7395['IUniverInstanceService']),_0x306eed(0x8,_0x7d7395[_0x4f4524(0x226)])],_0x53c664);var _0x16470e=Object[_0x4f4524(0x44d)],_0x36f9cb=(_0xe77451,_0x220c74,_0x7d22da,_0xb7e5ea)=>{const _0x21116c=_0x4f4524;for(var _0xd50f68=_0xb7e5ea>0x1?void 0x0:_0xb7e5ea?_0x16470e(_0x220c74,_0x7d22da):_0x220c74,_0x5af747=_0xe77451[_0x21116c(0x332)]-0x1,_0x55d066;_0x5af747>=0x0;_0x5af747--)(_0x55d066=_0xe77451[_0x5af747])&&(_0xd50f68=_0x55d066(_0xd50f68)||_0xd50f68);return _0xd50f68;},_0x43b4db=(_0x323595,_0x538595)=>(_0xe50cec,_0x1c6990)=>_0x538595(_0xe50cec,_0x1c6990,_0x323595);const _0x5909df=0x12c,_0x5a15fc=0x64,_0x1c8276=()=>{let _0xe22a04=[],_0x2d3668=!0x1;return _0xf1c468=>{const _0x317928=_0x25fd;_0xe22a04[_0x317928(0x250)](_0xf1c468),_0x2d3668||(_0x2d3668=!0x0,setTimeout(()=>{const _0x156571=_0x317928;_0xe22a04[_0x156571(0x23f)](_0x10b0c4=>_0x10b0c4()),_0xe22a04=[],_0x2d3668=!0x1;}));};};let _0xae350f=class extends _0x7d7395[_0x4f4524(0x36e)]{constructor(_0x2f18ff,_0x15fc6a,_0x486915,_0x4d8bff,_0x5dabd2,_0x1b7102,_0xb00fa7,_0x1ef36f){const _0x1af546=_0x4f4524;super(),_0x4535fa(this,_0x1af546(0x278),!0x1),_0x4535fa(this,_0x1af546(0x1e4),!0x1),_0x4535fa(this,_0x1af546(0x264),new _0x24af31['BehaviorSubject'](new Map())),_0x4535fa(this,_0x1af546(0x330),this['_cursorInfo$'][_0x1af546(0x301)]()),_0x4535fa(this,_0x1af546(0x329),new _0x24af31[(_0x1af546(0x42f))]([])),_0x4535fa(this,_0x1af546(0x312),this[_0x1af546(0x329)][_0x1af546(0x475)](_0x24af31[_0x1af546(0x2e0)](_0x5909df))),_0x4535fa(this,_0x1af546(0x2a1),_0x7d7395[_0x1af546(0x40e)]((_0x1b8efd,_0x4d3a8f)=>{const _0x363342=_0x1af546,_0x406b14={'eventID':_0x2fc10[_0x363342(0x2eb)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x363342(0x3ef)],'memberID':this[_0x363342(0x39a)][_0x363342(0x2d1)](),'selection':_0x3bff30[_0x363342(0x2e3)](_0x1b8efd,_0x4d3a8f[_0x363342(0x243)])}};this[_0x363342(0x39a)][_0x363342(0x30d)](_0x406b14,this['unitID']);},_0x5a15fc)),(this[_0x1af546(0x3ef)]=_0x2f18ff,this['_session']=_0x15fc6a,this[_0x1af546(0x40b)]=_0x486915,this[_0x1af546(0x306)]=_0x4d8bff,this[_0x1af546(0x43b)]=_0x5dabd2,this[_0x1af546(0x236)]=_0x1b7102,this[_0x1af546(0x2e6)]=_0xb00fa7,this[_0x1af546(0x436)]=_0x1ef36f);}get[_0x4f4524(0x3cd)](){const _0x48e075=_0x4f4524;return this[_0x48e075(0x264)][_0x48e075(0x3ec)]();}get[_0x4f4524(0x279)](){const _0x409375=_0x4f4524;return this[_0x409375(0x329)][_0x409375(0x3ec)]();}[_0x4f4524(0x347)](){const _0x14f478=_0x4f4524;super[_0x14f478(0x347)](),this[_0x14f478(0x264)][_0x14f478(0x1e8)](new Map()),this[_0x14f478(0x264)]['complete'](),this[_0x14f478(0x329)][_0x14f478(0x1e8)]([]),this[_0x14f478(0x329)][_0x14f478(0x27d)]();}[_0x4f4524(0x34c)](){const _0x13be52=_0x4f4524;this[_0x13be52(0x1e4)]||(this['_init']=!0x0,this['_session'][_0x13be52(0x34d)][_0x13be52(0x475)](_0x24af31[_0x13be52(0x41d)](this[_0x13be52(0x3b9)]))[_0x13be52(0x2ef)](_0x5dd96c=>{const _0x5acd76=_0x13be52;_0x5dd96c===_0xcd8db[_0x5acd76(0x429)]['ONLINE']?this['_toggleOnline']():this[_0x5acd76(0x210)]();}),this[_0x13be52(0x39a)][_0x13be52(0x2e9)]['pipe'](_0x24af31[_0x13be52(0x41d)](this[_0x13be52(0x3b9)]))[_0x13be52(0x2ef)](_0x2be4bc=>{const _0x24b851=_0x13be52,_0x36ad06=_0x2be4bc['eventID'];_0x36ad06===_0x2fc10['CollaborationEvent'][_0x24b851(0x45e)]&&this['_onCursorUpdate'](_0x2be4bc),_0x36ad06===_0x2fc10['CollaborationEvent'][_0x24b851(0x290)]&&this['_onCursorDelete'](_0x2be4bc);}),this[_0x13be52(0x323)](),this[_0x13be52(0x38e)](this['_commandService']['onCommandExecuted'](_0x22f2ed=>{const _0x47122d=_0x13be52;if(this[_0x47122d(0x278)]&&_0x22f2ed['id']===_0x578427[_0x47122d(0x393)]['id']&&_0x22f2ed[_0x47122d(0x222)][_0x47122d(0x410)]===this[_0x47122d(0x3ef)]){const _0xcc1f3e=_0x22f2ed[_0x47122d(0x222)];this[_0x47122d(0x2a1)](_0xcc1f3e[_0x47122d(0x25c)],_0xcc1f3e[_0x47122d(0x2c3)][0x0]);}})));}[_0x4f4524(0x232)](_0x55576e){const _0x283e02=_0x4f4524;var _0x29db7e,_0x28a045;const {memberID:_0x1381f4,selection:_0x56d96d}=_0x55576e[_0x283e02(0x1fc)],{sheetName:_0x44ad13,range:_0xfd97a2}=_0x3bff30[_0x283e02(0x30f)](_0x56d96d),_0x4f445a={'name':(_0x28a045=(_0x29db7e=this[_0x283e02(0x43b)][_0x283e02(0x3c4)](this[_0x283e02(0x3ef)],_0x1381f4))==null?void 0x0:_0x29db7e['name'])!=null?_0x28a045:_0x283e02(0x289),'range':this[_0x283e02(0x28d)](_0x44ad13,_0xfd97a2),'sheetID':_0x44ad13,'color':this[_0x283e02(0x306)]['assignAColorForMemberID'](_0x1381f4),'selection':_0x56d96d},_0x3b1f90=this['cursorInfo'];_0x3b1f90['set'](_0x1381f4,_0x4f445a),this[_0x283e02(0x264)][_0x283e02(0x1e8)](_0x3b1f90);}[_0x4f4524(0x2e7)](_0x294d48){const _0x42a02a=_0x4f4524,{memberID:_0x332edb}=_0x294d48[_0x42a02a(0x1fc)],_0x34c451=this['cursorInfo'];_0x34c451[_0x42a02a(0x421)](_0x332edb),this['_cursorInfo$']['next'](_0x34c451);}[_0x4f4524(0x28d)](_0xbe7383,_0x1f831e){const _0x46d34d=_0x4f4524;var _0x3f0e41,_0x535315;const _0x282c02=(_0x535315=(_0x3f0e41=this['_univerInstanceService']['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x3f0e41[_0x46d34d(0x2fd)](_0xbe7383))==null?void 0x0:_0x535315[_0x46d34d(0x43f)]();return(_0x282c02==null?void 0x0:_0x282c02[_0x46d34d(0x33b)](_0x1120a3=>_0x7d7395[_0x46d34d(0x305)][_0x46d34d(0x27e)](_0x1120a3,_0x1f831e)))||_0x1f831e;}[_0x4f4524(0x323)](){const _0x671217=_0x4f4524,_0x885e6c=new _0x7d7395[(_0x671217(0x384))](),_0x5eaadc=_0x1c8276(),_0x228a9f=()=>{const _0x16d7ca=_0x671217;_0x885e6c['dispose']();const _0x1c5372=(_0x5e8637,_0x108344,_0x4c5c5c,_0xb1cf3e)=>{const _0x17c698=_0x25fd;let _0x3c9a8c=[];switch(_0x5e8637['id']){case _0x578427[_0x17c698(0x22f)][_0x17c698(0x466)]:{_0x3c9a8c=_0x578427[_0x17c698(0x3ce)](_0x5e8637,_0xb1cf3e);break;}case _0x578427[_0x17c698(0x22f)]['DeleteRangeMoveUpCommandId']:{_0x3c9a8c=_0x578427[_0x17c698(0x1e2)](_0x5e8637,_0xb1cf3e);break;}case _0x578427[_0x17c698(0x22f)][_0x17c698(0x33f)]:{_0x3c9a8c=_0x578427[_0x17c698(0x349)](_0x5e8637,_0xb1cf3e);break;}case _0x578427['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x3c9a8c=_0x578427[_0x17c698(0x2f2)](_0x5e8637,_0xb1cf3e);break;}case _0x578427['EffectRefRangId'][_0x17c698(0x3a7)]:{_0x3c9a8c=_0x578427[_0x17c698(0x340)](_0x5e8637,_0xb1cf3e);break;}case _0x578427[_0x17c698(0x22f)][_0x17c698(0x3f8)]:{_0x3c9a8c=_0x578427[_0x17c698(0x27c)](_0x5e8637,_0xb1cf3e);break;}case _0x578427[_0x17c698(0x22f)]['MoveRangeCommandId']:{_0x3c9a8c=_0x578427[_0x17c698(0x366)](_0x5e8637,_0xb1cf3e);break;}case _0x578427[_0x17c698(0x22f)][_0x17c698(0x3c8)]:{_0x3c9a8c=_0x578427[_0x17c698(0x468)](_0x5e8637,_0xb1cf3e);break;}case _0x578427['EffectRefRangId'][_0x17c698(0x3d0)]:{_0x3c9a8c=_0x578427[_0x17c698(0x3e0)](_0x5e8637,_0xb1cf3e);break;}}const _0x21360c=_0x578427[_0x17c698(0x252)](_0x3c9a8c,_0xb1cf3e),_0x1b9ed3=this[_0x17c698(0x3cd)][_0x17c698(0x455)](_0x108344);if(_0x1b9ed3&&_0x21360c){const _0x10b20b={..._0x1b9ed3,'range':_0x21360c};this[_0x17c698(0x3cd)][_0x17c698(0x32e)](_0x108344,_0x10b20b),_0x5eaadc(()=>{const _0x28e68d=_0x17c698,_0x294695=this['_refRangeService'][_0x28e68d(0x288)](_0x21360c,_0x345068=>(_0x294695[_0x28e68d(0x347)](),_0x1c5372(_0x345068,_0x108344,_0x4c5c5c,_0x21360c)));_0x885e6c['add'](_0x294695);});}return{'redos':[],'undos':[]};};this[_0x16d7ca(0x3cd)]['forEach']((_0x3a04de,_0x4d8ca4)=>{const _0x612c15=_0x16d7ca,{range:_0x351466,sheetID:_0x1752fd}=_0x3a04de,_0x1c577d=this['_refRangeService'][_0x612c15(0x288)](_0x351466,_0x3d9edd=>(_0x1c577d[_0x612c15(0x347)](),_0x1c5372(_0x3d9edd,_0x4d8ca4,_0x1752fd,_0x351466)));_0x885e6c[_0x612c15(0x203)](_0x1c577d);});};this[_0x671217(0x38e)](_0x7d7395['toDisposable'](this[_0x671217(0x264)][_0x671217(0x2ef)](()=>{_0x228a9f();})));}[_0x4f4524(0x200)](){const _0x383141=_0x4f4524;var _0x6307f5,_0x1a580f;if(this['_online']=!0x0,((_0x6307f5=this['_univerInstanceService'][_0x383141(0x2bc)]())==null?void 0x0:_0x6307f5[_0x383141(0x36d)]())!==this['unitID'])return;const _0x5c2766=(_0x1a580f=this[_0x383141(0x40b)][_0x383141(0x455)](_0x578427[_0x383141(0x3a3)])[_0x383141(0x246)]())==null?void 0x0:_0x1a580f[0x0],_0x4fc171=this['_univerInstanceService'][_0x383141(0x267)](_0x7d7395[_0x383141(0x342)][_0x383141(0x295)])[_0x383141(0x338)]();_0x5c2766&&_0x4fc171&&this[_0x383141(0x2a1)](_0x4fc171[_0x383141(0x39d)](),_0x5c2766);}[_0x4f4524(0x210)](){const _0x3d8ca4=_0x4f4524;this[_0x3d8ca4(0x278)]=!0x1;}};_0xae350f=_0x36f9cb([_0x43b4db(0x2,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395[_0x4f4524(0x406)])),_0x43b4db(0x3,_0x7d7395['Inject'](_0x1cb796)),_0x43b4db(0x4,_0x7d7395[_0x4f4524(0x40d)](_0xcd8db[_0x4f4524(0x434)])),_0x43b4db(0x5,_0x7d7395[_0x4f4524(0x2ea)]),_0x43b4db(0x6,_0x7d7395[_0x4f4524(0x226)]),_0x43b4db(0x7,_0x7d7395[_0x4f4524(0x40d)](_0x578427[_0x4f4524(0x3e2)]))],_0xae350f);var _0x19fd08=Object[_0x4f4524(0x44d)],_0xef3e13=(_0x2031a3,_0xd41242,_0x10b7e4,_0x213ec1)=>{const _0x208c69=_0x4f4524;for(var _0x1382ee=_0x213ec1>0x1?void 0x0:_0x213ec1?_0x19fd08(_0xd41242,_0x10b7e4):_0xd41242,_0x3621bd=_0x2031a3[_0x208c69(0x332)]-0x1,_0x37f6cf;_0x3621bd>=0x0;_0x3621bd--)(_0x37f6cf=_0x2031a3[_0x3621bd])&&(_0x1382ee=_0x37f6cf(_0x1382ee)||_0x1382ee);return _0x1382ee;},_0x1e1752=(_0x4dd05e,_0xb30d4f)=>(_0x5c41de,_0x4c3dbf)=>_0xb30d4f(_0x5c41de,_0x4c3dbf,_0x4dd05e);let _0x42f641=class extends _0x7d7395[_0x4f4524(0x36e)]{constructor(_0x556858,_0xfb0e60,_0x24cc98){const _0x83e354=_0x4f4524;super(),_0x4535fa(this,'_entities',new Map()),_0x4535fa(this,_0x83e354(0x23c),new _0x24af31[(_0x83e354(0x37a))]()),(this[_0x83e354(0x236)]=_0x556858,this[_0x83e354(0x40b)]=_0xfb0e60,this[_0x83e354(0x284)]=_0x24cc98,this[_0x83e354(0x1e4)]());}[_0x4f4524(0x347)](){const _0x5c99a5=_0x4f4524;super[_0x5c99a5(0x347)](),this[_0x5c99a5(0x23c)][_0x5c99a5(0x27d)](),this[_0x5c99a5(0x3d7)][_0x5c99a5(0x23f)](_0x38e1a5=>_0x38e1a5['dispose']());}['getCollabCursors$'](_0x580205){const _0x18f29b=_0x4f4524;return this[_0x18f29b(0x3d7)]['has'](_0x580205)?this[_0x18f29b(0x3d7)][_0x18f29b(0x455)](_0x580205)[_0x18f29b(0x330)]:this[_0x18f29b(0x23c)][_0x18f29b(0x475)](_0x24af31[_0x18f29b(0x2b3)](_0x23d82f=>_0x23d82f['unitID']===_0x580205),_0x24af31[_0x18f29b(0x2ab)](_0xd12715=>_0xd12715[_0x18f29b(0x330)]));}[_0x4f4524(0x1e4)](){const _0x419c13=_0x4f4524;this[_0x419c13(0x236)][_0x419c13(0x365)](_0x7d7395[_0x419c13(0x342)][_0x419c13(0x295)])[_0x419c13(0x475)](_0x24af31[_0x419c13(0x41d)](this['dispose$']))[_0x419c13(0x2ef)](async _0x2895a8=>{const _0x8c472=_0x419c13,_0x3ba22d=_0x2895a8[_0x8c472(0x36d)](),_0x303976=await this[_0x8c472(0x2ff)](_0x3ba22d);this[_0x8c472(0x23c)][_0x8c472(0x1e8)](_0x303976),this['_entities'][_0x8c472(0x32e)](_0x3ba22d,_0x303976);}),this[_0x419c13(0x236)][_0x419c13(0x365)](_0x7d7395[_0x419c13(0x342)]['UNIVER_DOC'])['pipe'](_0x24af31[_0x419c13(0x41d)](this[_0x419c13(0x3b9)]))['pipe'](_0x24af31[_0x419c13(0x2b3)](_0x27d71b=>!_0x27d71b[_0x419c13(0x36d)]()[_0x419c13(0x42b)]('__')))['subscribe'](async _0x98700c=>{const _0x3f3fc6=_0x419c13,_0x315be4=_0x98700c['getUnitId'](),_0x3b85e3=await this[_0x3f3fc6(0x3e6)](_0x315be4);this[_0x3f3fc6(0x23c)][_0x3f3fc6(0x1e8)](_0x3b85e3),this[_0x3f3fc6(0x3d7)]['set'](_0x315be4,_0x3b85e3);}),_0x24af31['merge'](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x7d7395['UniverInstanceType'][_0x419c13(0x38b)]),this['_univerInstanceService'][_0x419c13(0x3a9)](_0x7d7395[_0x419c13(0x342)][_0x419c13(0x295)]))[_0x419c13(0x475)](_0x24af31[_0x419c13(0x41d)](this[_0x419c13(0x3b9)]))[_0x419c13(0x2ef)](_0x527114=>{const _0x4badf7=_0x419c13,_0x2fdaad=_0x527114[_0x4badf7(0x36d)](),_0x2849f7=this[_0x4badf7(0x3d7)]['get'](_0x2fdaad);_0x2849f7&&(_0x2849f7[_0x4badf7(0x347)](),this['_entities']['delete'](_0x2fdaad));});}async['_startSheetCollabCursor'](_0x1d05fe){const _0xebc66=_0x4f4524,_0xb8f855=await this[_0xebc66(0x284)]['requireSession'](_0x1d05fe),_0x34c605=this[_0xebc66(0x40b)][_0xebc66(0x2fe)](_0xae350f,_0x1d05fe,_0xb8f855);return _0x34c605[_0xebc66(0x34c)](),_0x34c605;}async[_0x4f4524(0x3e6)](_0x1dc68d){const _0x398911=_0x4f4524,_0x1f5d9c=await this[_0x398911(0x284)][_0x398911(0x343)](_0x1dc68d),_0x19d4a1=this['_injector'][_0x398911(0x2fe)](_0x53c664,_0x1dc68d,_0x1f5d9c);return _0x19d4a1[_0x398911(0x34c)](),_0x19d4a1;}};_0x42f641=_0xef3e13([_0x1e1752(0x0,_0x7d7395[_0x4f4524(0x2ea)]),_0x1e1752(0x1,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395[_0x4f4524(0x406)])),_0x1e1752(0x2,_0x7d7395[_0x4f4524(0x40d)](_0xcd8db[_0x4f4524(0x473)]))],_0x42f641);const _0x7d455f=0x14,_0x27549c=0xc8,_0x2d479f=0x4,_0x27f15d=0x5;function _0x4eaec5(_0x28dfd7,_0x17c71b){const _0x4de0b4=_0x4f4524;let {radius:_0x4498ae,width:_0x5ddcdc,height:_0x10a03b}=_0x17c71b;_0x4498ae=_0x4498ae!=null?_0x4498ae:0x0,_0x5ddcdc=_0x5ddcdc!=null?_0x5ddcdc:0x1e,_0x10a03b=_0x10a03b!=null?_0x10a03b:0x1e;let _0x51e8e9=0x0,_0x447a70=0x0,_0x52408d=0x0;_0x51e8e9=_0x447a70=_0x52408d=Math['min'](_0x4498ae,_0x5ddcdc/0x2,_0x10a03b/0x2),_0x28dfd7[_0x4de0b4(0x249)](),_0x28dfd7[_0x4de0b4(0x420)](_0x51e8e9,0x0),_0x28dfd7[_0x4de0b4(0x396)](_0x5ddcdc-_0x447a70,0x0),_0x28dfd7[_0x4de0b4(0x44e)](_0x5ddcdc-_0x447a70,_0x447a70,_0x447a70,Math['PI']*0x3/0x2,0x0,!0x1),_0x28dfd7[_0x4de0b4(0x396)](_0x5ddcdc,_0x10a03b-_0x52408d),_0x28dfd7[_0x4de0b4(0x44e)](_0x5ddcdc-_0x52408d,_0x10a03b-_0x52408d,_0x52408d,0x0,Math['PI']/0x2,!0x1),_0x28dfd7[_0x4de0b4(0x396)](0x0,_0x10a03b),_0x28dfd7[_0x4de0b4(0x396)](0x0,_0x51e8e9),_0x28dfd7[_0x4de0b4(0x44e)](_0x51e8e9,_0x51e8e9,_0x51e8e9,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x28dfd7[_0x4de0b4(0x28a)](),_0x17c71b[_0x4de0b4(0x1f0)]&&(_0x28dfd7['save'](),_0x28dfd7['fillStyle']=_0x17c71b['fill'],_0x17c71b['fillRule']==='evenodd'?_0x28dfd7[_0x4de0b4(0x1f0)]('evenodd'):_0x28dfd7[_0x4de0b4(0x1f0)](),_0x28dfd7[_0x4de0b4(0x25e)]());}class _0x2e02ff extends _0x1335eb[_0x4f4524(0x27f)]{constructor(_0x231ae3,_0x252a00){const _0x504dd3=_0x4f4524;super(_0x231ae3,_0x252a00),_0x4535fa(this,_0x504dd3(0x25d)),_0x4535fa(this,'text'),(this[_0x504dd3(0x25d)]=_0x252a00==null?void 0x0:_0x252a00[_0x504dd3(0x25d)],this[_0x504dd3(0x29e)]=_0x252a00==null?void 0x0:_0x252a00['text']);}static['drawWith'](_0x2d1d6e,_0x13e943){const _0x23dc23=_0x4f4524,{text:_0x1725a6,color:_0x13a720}=_0x13e943;_0x2d1d6e[_0x23dc23(0x2d9)](),_0x2d1d6e[_0x23dc23(0x3fe)]=_0x23dc23(0x32a);const _0x1778f0=_0x2d1d6e[_0x23dc23(0x3a8)](_0x1725a6)['width'],_0x48dc36=Math[_0x23dc23(0x386)](_0x1778f0+0x2*_0x2d479f,_0x27549c);_0x4eaec5(_0x2d1d6e,{'height':_0x7d455f,'radius':0x4,'width':_0x48dc36,'fill':_0x13a720}),_0x2d1d6e[_0x23dc23(0x269)]=_0x23dc23(0x2d3);const _0x4a7c7d=_0x2d479f,_0x615bd3=_0x7d455f-_0x27f15d,_0x418b68=_0x27549c-0x2*_0x2d479f;if(_0x1778f0>_0x418b68){let _0x38f2f6='',_0x454f70=0x0;for(const _0x20f66f of _0x1725a6){const _0x338486=_0x2d1d6e[_0x23dc23(0x3a8)](_0x20f66f)[_0x23dc23(0x308)];if(_0x454f70+_0x338486<=_0x418b68-_0x2d1d6e[_0x23dc23(0x3a8)](_0x23dc23(0x2b6))[_0x23dc23(0x308)])_0x38f2f6+=_0x20f66f,_0x454f70+=_0x338486;else{_0x38f2f6+=_0x23dc23(0x2b6);break;}}_0x2d1d6e['fillText'](_0x38f2f6,_0x4a7c7d,_0x615bd3);}else _0x2d1d6e[_0x23dc23(0x25b)](_0x1725a6,_0x4a7c7d,_0x615bd3);_0x2d1d6e[_0x23dc23(0x25e)]();}[_0x4f4524(0x405)](_0xee85ff){const _0xacc68d=_0x4f4524;_0x2e02ff[_0xacc68d(0x336)](_0xee85ff,this);}}const _0x246a8=_0x4f4524(0x21e),_0x4a1fd3='collab-text-range-',_0x290c41=_0x4f4524(0x3c5),_0x23177a=0x6,_0x536e01=1.5,_0x37f5a9=0x4,_0x2342b4=1.5,_0x4aa7c5=_0x4f4524(0x435);class _0x565c2c{constructor(_0x3c1e4b,_0xf3206c,_0x15a0f5,_0x18b7b4){const _0x51636c=_0x4f4524;_0x4535fa(this,_0x51636c(0x2a0),[]),_0x4535fa(this,_0x51636c(0x352),null),_0x4535fa(this,_0x51636c(0x2af),null),_0x4535fa(this,_0x51636c(0x272),null),_0x4535fa(this,'_hideTimer',null),_0x4535fa(this,_0x51636c(0x251),null),(this[_0x51636c(0x21f)]=_0x3c1e4b,this[_0x51636c(0x2c4)]=_0xf3206c,this[_0x51636c(0x302)]=_0x15a0f5,this[_0x51636c(0x437)]=_0x18b7b4,this[_0x51636c(0x372)]());}set['_hover'](_0x3a7ee9){const _0x16d517=_0x4f4524;_0x3a7ee9?(this[_0x16d517(0x272)]&&this[_0x16d517(0x272)]['hide'](),this[_0x16d517(0x2af)]&&this[_0x16d517(0x2af)][_0x16d517(0x3fd)]()):(this[_0x16d517(0x272)]&&this[_0x16d517(0x272)][_0x16d517(0x3fd)](),this[_0x16d517(0x2af)]&&this['_textBubble'][_0x16d517(0x454)]());}['dispose'](){const _0x3ab693=_0x4f4524;for(const _0x50d025 of this['_shapes'])_0x50d025[_0x3ab693(0x347)]();this['_textBubble']&&this['_textBubble'][_0x3ab693(0x347)](),this[_0x3ab693(0x272)]&&this['_anchorDot'][_0x3ab693(0x347)](),this[_0x3ab693(0x352)]&&this[_0x3ab693(0x352)][_0x3ab693(0x347)](),this[_0x3ab693(0x251)]&&this[_0x3ab693(0x251)]();}[_0x4f4524(0x372)](){const _0x284c92=_0x4f4524;var _0x5d36c2;const {_docSkeleton:_0x3a6202,_document:_0x1048c7}=this,{color:_0x515300,name:_0x271458,ranges:_0x28c92a}=this['_cursor'],_0x8450cf=_0x1048c7['getOffsetConfig'](),{docsLeft:_0x506f95,docsTop:_0x44cfa2}=_0x8450cf,_0x5bbc71=new _0x5eb1d8['NodePositionConvertToCursor'](_0x8450cf,_0x3a6202);for(const {startOffset:_0x240d88,endOffset:_0x5a57f5,rangeType:_0x1a4df5,segmentId:_0x51429b,segmentPage:_0x515271,collapsed:_0x4faa56,isActive:_0x2bac24}of _0x28c92a){const _0x34217f=_0x3a6202[_0x284c92(0x230)](_0x240d88,!0x0,_0x51429b,_0x515271);let _0xc4cab5=_0x3a6202[_0x284c92(0x230)](_0x5a57f5,!0x0,_0x51429b,_0x515271);if(_0xc4cab5==null&&(_0xc4cab5=_0x3a6202[_0x284c92(0x230)](_0x5a57f5-0x1,!0x1,_0x51429b,_0x515271)),_0x2bac24){const {contentBoxPointGroup:_0x507d39}=_0x5bbc71[_0x284c92(0x315)](_0xc4cab5,_0xc4cab5);if(_0x507d39[_0x284c92(0x332)]===0x0)continue;this[_0x284c92(0x2ca)](_0x515300,_0x507d39,_0x506f95,_0x44cfa2,_0x271458),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x34217f&&_0xc4cab5){if(_0x1a4df5===_0x7d7395[_0x284c92(0x449)]['RECT']){const _0x38d520=new _0x5eb1d8[(_0x284c92(0x3af))](_0x8450cf,_0x3a6202),{pointGroup:_0x341e16}=(_0x5d36c2=_0x38d520[_0x284c92(0x315)](_0x34217f,_0xc4cab5))!=null?_0x5d36c2:{};if(_0x341e16==null||_0x341e16[_0x284c92(0x332)]===0x0)continue;this[_0x284c92(0x46e)](_0x515300,_0x341e16,_0x506f95,_0x44cfa2);}else{if(!_0x4faa56){const {borderBoxPointGroup:_0x499727}=_0x5bbc71[_0x284c92(0x315)](_0x34217f,_0xc4cab5);if(_0x499727[_0x284c92(0x332)]===0x0)continue;this[_0x284c92(0x209)](_0x515300,_0x499727,_0x506f95,_0x44cfa2);}}}}}[_0x4f4524(0x2ca)](_0x56787c,_0x151c4c,_0x12dc5a,_0x4498d7,_0x53a0fb){const _0x5ce671=_0x4f4524,_0x17afb3=this[_0x5ce671(0x20e)](_0x151c4c),{left:_0x2df158,top:_0x4153b0,height:_0x30f502}=_0x17afb3,_0x14eed5=this[_0x5ce671(0x3d5)](),_0x529330=_0x2342b4/_0x14eed5,_0x29f568=new _0x1335eb[(_0x5ce671(0x3ba))](_0x246a8+_0x7d7395['Tools'][_0x5ce671(0x462)](_0x23177a),{'left':_0x2df158+_0x12dc5a-_0x529330,'top':_0x4153b0+_0x4498d7,'height':_0x30f502,'width':_0x536e01,'fill':_0x56787c||_0x1335eb[_0x5ce671(0x3f0)](_0x7d7395['COLORS'][_0x5ce671(0x254)],0x0),'strokeWidth':_0x529330,'stroke':_0x4aa7c5,'evented':!0x0});this['_anchor']=_0x29f568,this['_scene']['addObject'](_0x29f568,_0x5eb1d8[_0x5ce671(0x34b)]);const _0x57cf21=new _0x1335eb[(_0x5ce671(0x3ba))](_0x246a8+_0x7d7395[_0x5ce671(0x202)][_0x5ce671(0x462)](_0x23177a),{'left':_0x2df158+_0x12dc5a-_0x529330,'top':_0x4153b0+_0x4498d7-_0x37f5a9/0x2,'height':_0x37f5a9,'width':_0x37f5a9,'fill':_0x56787c||_0x1335eb[_0x5ce671(0x3f0)](_0x7d7395[_0x5ce671(0x3de)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x56787c||_0x1335eb[_0x5ce671(0x3f0)](_0x7d7395['COLORS'][_0x5ce671(0x254)],0x0),'evented':!0x1});this[_0x5ce671(0x272)]=_0x57cf21,this['_scene'][_0x5ce671(0x238)](_0x57cf21,_0x5eb1d8[_0x5ce671(0x34b)]);const _0x579b64=new _0x2e02ff(_0x246a8+_0x7d7395['Tools']['generateRandomId'](_0x23177a),{'left':_0x2df158+_0x12dc5a-_0x529330,'top':_0x4153b0+_0x4498d7-_0x7d455f,'text':_0x53a0fb,'color':_0x56787c});this[_0x5ce671(0x2af)]=_0x579b64,this[_0x5ce671(0x2c4)][_0x5ce671(0x238)](_0x579b64,_0x5eb1d8['TEXT_RANGE_LAYER_INDEX']),this[_0x5ce671(0x2c9)]=!0x1;}['_handleHover'](){const _0x50cb95=_0x4f4524,_0x313e68=this[_0x50cb95(0x352)][_0x50cb95(0x2a4)][_0x50cb95(0x3dd)](()=>{const _0x3bd3cd=_0x50cb95;this[_0x3bd3cd(0x2c9)]=!0x0;}),_0xad2020=this[_0x50cb95(0x352)]['onPointerLeave$'][_0x50cb95(0x3dd)](()=>{const _0x5e3b6c=_0x50cb95;this[_0x5e3b6c(0x2d7)]&&clearTimeout(this[_0x5e3b6c(0x2d7)]),this[_0x5e3b6c(0x2d7)]=setTimeout(()=>{const _0x5ece97=_0x5e3b6c;this[_0x5ece97(0x2c9)]=!0x1;},0x7d0);});return()=>{const _0x6f23b=_0x50cb95;_0x313e68[_0x6f23b(0x2b7)](),_0xad2020[_0x6f23b(0x2b7)]();};}[_0x4f4524(0x209)](_0x3e3ccc,_0x523f5f,_0x5469cc,_0xcb6976){const _0x3a214a=_0x4f4524,_0x2b3423=new _0x7d7395['ColorKit'](_0x3e3ccc)[_0x3a214a(0x20d)](0.2)[_0x3a214a(0x2ae)](),_0xe47e93=new _0x1335eb[(_0x3a214a(0x385))](_0x4a1fd3+_0x7d7395[_0x3a214a(0x202)][_0x3a214a(0x462)](_0x23177a),{'pointsGroup':_0x523f5f,'fill':_0x2b3423||_0x1335eb[_0x3a214a(0x3f0)](_0x7d7395[_0x3a214a(0x3de)][_0x3a214a(0x254)],0.2),'left':_0x5469cc,'top':_0xcb6976,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x3a214a(0x250)](_0xe47e93),this[_0x3a214a(0x2c4)][_0x3a214a(0x238)](_0xe47e93,_0x5eb1d8[_0x3a214a(0x34b)]);}[_0x4f4524(0x46e)](_0x3e4cf8,_0x2d25d5,_0x1d4818,_0x4d9bf7){const _0x553c4c=_0x4f4524,_0x185a2f=new _0x7d7395[(_0x553c4c(0x37e))](_0x3e4cf8)[_0x553c4c(0x20d)](0.2)[_0x553c4c(0x2ae)](),_0x288c20=new _0x1335eb[(_0x553c4c(0x385))](_0x290c41+_0x7d7395['Tools'][_0x553c4c(0x462)](_0x23177a),{'pointsGroup':_0x2d25d5,'fill':_0x185a2f||_0x1335eb[_0x553c4c(0x3f0)](_0x7d7395[_0x553c4c(0x3de)][_0x553c4c(0x254)],0.2),'left':_0x1d4818,'top':_0x4d9bf7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x553c4c(0x2a0)][_0x553c4c(0x250)](_0x288c20),this['_scene']['addObject'](_0x288c20,_0x5eb1d8[_0x553c4c(0x34b)]);}[_0x4f4524(0x20e)](_0x435b79){const _0x1fea0b=_0x435b79[0x0],_0x46aad3=_0x1fea0b[0x0],_0x56e9ee=_0x1fea0b[0x2],{x:_0x30bc8a,y:_0x5ace12}=_0x46aad3,{x:_0x5c4088,y:_0x32a0a3}=_0x56e9ee;return{'left':_0x30bc8a,'top':_0x5ace12,'width':_0x5c4088-_0x30bc8a,'height':_0x32a0a3-_0x5ace12};}[_0x4f4524(0x3d5)](){const _0x73f1ff=_0x4f4524,{scaleX:_0x521a2c,scaleY:_0x4509f8}=this['_scene']['getAncestorScale']();return Math[_0x73f1ff(0x46f)](_0x521a2c,_0x4509f8);}}var _0x3f50d8=Object['getOwnPropertyDescriptor'],_0x447dfc=(_0x2613e0,_0x4f5901,_0x5cd415,_0x59a60c)=>{const _0x4c4fce=_0x4f4524;for(var _0x31213d=_0x59a60c>0x1?void 0x0:_0x59a60c?_0x3f50d8(_0x4f5901,_0x5cd415):_0x4f5901,_0x284003=_0x2613e0[_0x4c4fce(0x332)]-0x1,_0x39cc00;_0x284003>=0x0;_0x284003--)(_0x39cc00=_0x2613e0[_0x284003])&&(_0x31213d=_0x39cc00(_0x31213d)||_0x31213d);return _0x31213d;},_0x256999=(_0x513d4a,_0x1cc39d)=>(_0x589fff,_0x1605ad)=>_0x1cc39d(_0x589fff,_0x1605ad,_0x513d4a);let _0xcd79ae=class extends _0x7d7395[_0x4f4524(0x36e)]{constructor(_0x12d35e,_0x496818,_0x328f9a,_0x292d54,_0x4eb634){const _0x2dfeda=_0x4f4524;super(),_0x4535fa(this,_0x2dfeda(0x425),[]),_0x4535fa(this,_0x2dfeda(0x292),[]),(this[_0x2dfeda(0x364)]=_0x12d35e,this[_0x2dfeda(0x1f6)]=_0x496818,this[_0x2dfeda(0x2d6)]=_0x328f9a,this['_commandService']=_0x292d54,this[_0x2dfeda(0x326)]=_0x4eb634,this[_0x2dfeda(0x1e4)]());}[_0x4f4524(0x1e4)](){const _0x20d043=_0x4f4524,_0x54e520=this['_context']['unitId'],_0x3b4860=this[_0x20d043(0x1f6)];this[_0x20d043(0x38e)](_0x24af31[_0x20d043(0x465)]([this[_0x20d043(0x2d6)]['getCollabCursors$'](_0x54e520),this[_0x20d043(0x326)]['currentTheme$']])[_0x20d043(0x475)](_0x22fa0e[_0x20d043(0x3c7)](([_0x33bbeb,_0x24fa11])=>({'skeleton':_0x3b4860[_0x20d043(0x286)](),'cursors':[..._0x33bbeb['values']()][_0x20d043(0x37b)](_0x32f0fb=>({..._0x32f0fb,'color':_0x24fa11[_0x32f0fb[_0x20d043(0x25d)]]}))})))[_0x20d043(0x2ef)](_0x2a8d46=>{const _0x4d5840=_0x20d043;if(this[_0x4d5840(0x20a)](),_0x2a8d46){const {skeleton:_0x20d09a,cursors:_0x39ebfa}=_0x2a8d46;this[_0x4d5840(0x35b)](_0x20d09a,_0x39ebfa);}})),this[_0x20d043(0x424)](),this[_0x20d043(0x42e)]();}[_0x4f4524(0x35b)](_0x36ee29,_0x594c31){const _0x4d2cbc=_0x4f4524,{scene:_0x3b72fc,mainComponent:_0x395107}=this['_context'],_0x5a1f7e=_0x594c31['map'](_0x2bb9ef=>new _0x565c2c(_0x2bb9ef,_0x3b72fc,_0x36ee29,_0x395107));this[_0x4d2cbc(0x425)]=_0x5a1f7e,this[_0x4d2cbc(0x292)]=_0x594c31;}[_0x4f4524(0x38d)](){const _0x2f8aa0=_0x4f4524;this['_removeCollabCursors']();const {scene:_0x4a2768,mainComponent:_0xe41d9b}=this[_0x2f8aa0(0x364)],_0x473cb4=this[_0x2f8aa0(0x1f6)][_0x2f8aa0(0x286)](),_0x48e13d=this[_0x2f8aa0(0x292)]['map'](_0x400ff4=>new _0x565c2c(_0x400ff4,_0x4a2768,_0x473cb4,_0xe41d9b));this[_0x2f8aa0(0x425)]=_0x48e13d;}[_0x4f4524(0x20a)](){const _0x225907=_0x4f4524;this[_0x225907(0x425)][_0x225907(0x23f)](_0x5143bf=>_0x5143bf[_0x225907(0x347)]()),this[_0x225907(0x425)]=[];}[_0x4f4524(0x42e)](){const _0x328056=_0x4f4524,_0xd19c1f=[_0x5eb1d8[_0x328056(0x260)]['id']];this[_0x328056(0x38e)](this[_0x328056(0x2e6)][_0x328056(0x3df)](_0xe87d4a=>{const _0x4c6ab6=_0x328056;_0xd19c1f['includes'](_0xe87d4a['id'])&&_0xe87d4a[_0x4c6ab6(0x222)]['unitId']===this[_0x4c6ab6(0x364)][_0x4c6ab6(0x410)]&&this[_0x4c6ab6(0x38d)]();}));}['_initResize'](){const _0x24a8f4=_0x4f4524;this[_0x24a8f4(0x38e)](_0x7d7395[_0x24a8f4(0x2db)](this[_0x24a8f4(0x364)]['engine'][_0x24a8f4(0x287)])[_0x24a8f4(0x475)](_0x22fa0e['filter'](_0x14c461=>_0x14c461['type']===_0x1335eb['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x24a8f4(0x36b)]),_0x22fa0e['throttleTime'](0x10))[_0x24a8f4(0x2ef)](()=>{const _0x429373=_0x24a8f4;this[_0x429373(0x38d)]();}));}};_0xcd79ae=_0x447dfc([_0x256999(0x1,_0x7d7395['Inject'](_0x1525c3['DocSkeletonManagerService'])),_0x256999(0x2,_0x7d7395[_0x4f4524(0x40d)](_0x42f641)),_0x256999(0x3,_0x7d7395[_0x4f4524(0x226)]),_0x256999(0x4,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395[_0x4f4524(0x2bf)]))],_0xcd79ae);const _0x3ea5c6=0x1,_0x4ecd80=1.5;class _0x5cd145 extends _0x1335eb[_0x4f4524(0x27f)]{constructor(_0x40e1d0,_0x32b193){const _0xb44b29=_0x4f4524;super(_0x40e1d0,_0x32b193),_0x4535fa(this,_0xb44b29(0x26f)),_0x4535fa(this,'_hovered',!0x1),_0x4535fa(this,_0xb44b29(0x23e)),_0x4535fa(this,_0xb44b29(0x2f9),''),_0x4535fa(this,'_labelPosition',_0xb44b29(0x346)),_0x4535fa(this,_0xb44b29(0x2f7)),(_0x32b193&&this[_0xb44b29(0x2b5)](_0x32b193),this[_0xb44b29(0x2a4)][_0xb44b29(0x3dd)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0xb44b29(0x363)][_0xb44b29(0x3dd)](()=>this[_0xb44b29(0x2b5)]({'hovered':!0x1})));}[_0x4f4524(0x2b5)](_0x4b0dd4){const _0xb3bc84=_0x4f4524;var _0x27dc30,_0xdedaeb,_0x40f4bf,_0x5239a7,_0x5a19b8,_0x53a6a8;this['_color']=(_0x27dc30=_0x4b0dd4[_0xb3bc84(0x25d)])!=null?_0x27dc30:this[_0xb3bc84(0x26f)],this[_0xb3bc84(0x266)]=(_0xdedaeb=_0x4b0dd4[_0xb3bc84(0x261)])!=null?_0xdedaeb:this['_hovered'],this[_0xb3bc84(0x23e)]=(_0x40f4bf=_0x4b0dd4['range'])!=null?_0x40f4bf:this['_range'],this[_0xb3bc84(0x2f9)]=(_0x5239a7=_0x4b0dd4['name'])!=null?_0x5239a7:this[_0xb3bc84(0x2f9)],this[_0xb3bc84(0x34e)]=(_0x5a19b8=_0x4b0dd4[_0xb3bc84(0x298)])!=null?_0x5a19b8:this[_0xb3bc84(0x34e)],this[_0xb3bc84(0x2f7)]=(_0x53a6a8=_0x4b0dd4[_0xb3bc84(0x3d1)])!=null?_0x53a6a8:this['_backgroundColor'],this['transformByState']({'width':_0x4b0dd4[_0xb3bc84(0x308)],'height':_0x4b0dd4[_0xb3bc84(0x28b)]});}[_0x4f4524(0x2f8)](_0x3d8ae6){const _0x38fa31=_0x4f4524,{row:_0x484894,column:_0x113748}=_0x3d8ae6;if(_0x484894>=this[_0x38fa31(0x23e)][_0x38fa31(0x241)]&&_0x484894<=this['_range'][_0x38fa31(0x220)]&&_0x113748>=this['_range']['startColumn']&&_0x113748<=this[_0x38fa31(0x23e)][_0x38fa31(0x3e1)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x38fa31(0x2b5)]({'hovered':!0x1});}['triggerDblclick'](_0xfde98a){return!0x1;}[_0x4f4524(0x405)](_0x5e25c9){const _0x506949=_0x4f4524;_0x1335eb[_0x506949(0x3ba)]['drawWith'](_0x5e25c9,{'width':this['width'],'height':this['height'],'strokeWidth':_0x4ecd80,'stroke':this[_0x506949(0x26f)],'evented':!0x1,'fill':this[_0x506949(0x2f7)]}),this[_0x506949(0x266)]&&(_0x5e25c9['save'](),_0x5e25c9['transform'](0x1,0x0,0x0,0x1,this[_0x506949(0x308)],this[_0x506949(0x34e)]===_0x506949(0x215)?0x0:-0x14),_0x2e02ff[_0x506949(0x336)](_0x5e25c9,{'text':this[_0x506949(0x2f9)],'color':this[_0x506949(0x26f)]}),_0x5e25c9[_0x506949(0x25e)]());}}var _0x330d05=Object[_0x4f4524(0x44d)],_0x4eb626=(_0x555d32,_0xa8aca5,_0x2bf500,_0x5275c2)=>{const _0x2c6cf7=_0x4f4524;for(var _0x491e5b=_0x5275c2>0x1?void 0x0:_0x5275c2?_0x330d05(_0xa8aca5,_0x2bf500):_0xa8aca5,_0x1f645d=_0x555d32[_0x2c6cf7(0x332)]-0x1,_0x5d5df1;_0x1f645d>=0x0;_0x1f645d--)(_0x5d5df1=_0x555d32[_0x1f645d])&&(_0x491e5b=_0x5d5df1(_0x491e5b)||_0x491e5b);return _0x491e5b;},_0x2b19f0=(_0xd3f6c,_0x4541de)=>(_0x32c7a0,_0x12728e)=>_0x4541de(_0x32c7a0,_0x12728e,_0xd3f6c);const _0x21db89=0x1389;let _0x46a2ee=class extends _0x7d7395[_0x4f4524(0x36e)]{constructor(_0x5de95b,_0x569184,_0x4745f5,_0x48300d){const _0x249e98=_0x4f4524;super(),_0x4535fa(this,_0x249e98(0x292),new Set()),_0x4535fa(this,_0x249e98(0x304),null),(this[_0x249e98(0x364)]=_0x5de95b,this[_0x249e98(0x255)]=_0x569184,this[_0x249e98(0x2d6)]=_0x4745f5,this[_0x249e98(0x326)]=_0x48300d,this[_0x249e98(0x1e4)]());}[_0x4f4524(0x1e4)](){const _0x521790=_0x4f4524;this[_0x521790(0x255)]['currentSkeleton$'][_0x521790(0x475)](_0x22fa0e['takeUntil'](this[_0x521790(0x3b9)]),_0x22fa0e[_0x521790(0x2ab)](_0x1187bf=>{const _0xb788cb=_0x521790;if(_0x1187bf){const _0x5d0356=_0x1187bf['sheetId'];return _0x24af31[_0xb788cb(0x465)](this[_0xb788cb(0x2d6)]['getCollabCursors$'](this[_0xb788cb(0x364)][_0xb788cb(0x410)]),this[_0xb788cb(0x326)][_0xb788cb(0x318)])[_0xb788cb(0x475)](_0x22fa0e[_0xb788cb(0x3c7)](([_0x2ae089,_0x12ad53])=>{const _0x62a803=_0xb788cb,_0x49c0e1=new Map();return _0x2ae089[_0x62a803(0x23f)]((_0x42ab14,_0x3ce94b)=>{const _0x330c4c=_0x62a803;if(_0x42ab14[_0x330c4c(0x355)]===_0x5d0356){const _0x5bd62f={..._0x42ab14};_0x5bd62f[_0x330c4c(0x25d)]=_0x12ad53[_0x42ab14['color']],_0x49c0e1['set'](_0x3ce94b,_0x5bd62f);}}),{'skeleton':_0x1187bf,'cursors':_0x49c0e1};}));}return _0x24af31['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x45b44e,cursors:_0xef7c07})=>{const _0x3c3fb8=_0x521790;this[_0x3c3fb8(0x20a)](),_0x45b44e&&this[_0x3c3fb8(0x35b)](_0x45b44e,_0xef7c07);}),this[_0x521790(0x255)]['currentSkeleton$']['subscribe'](_0x4b751e=>{const _0x5c4226=_0x521790;if(_0x4b751e==null)return;const {skeleton:_0x22e894}=_0x4b751e,{scene:_0x2a5853}=this[_0x5c4226(0x364)];_0x2a5853[_0x5c4226(0x206)][_0x5c4226(0x3dd)](_0x7d7395[_0x5c4226(0x40e)](_0x3f4581=>{const _0x4118d1=_0x5c4226;var _0x454029,_0x3c1a28;const {offsetX:_0x1b41d5,offsetY:_0x3b466a}=_0x3f4581,{x:_0x48deae,y:_0x12a75c}=_0x2a5853[_0x4118d1(0x3e7)](_0x1335eb['Vector2']['FromArray']([_0x1b41d5,_0x3b466a])),{scaleX:_0x13402b,scaleY:_0x44ac0e}=_0x2a5853['getAncestorScale'](),_0x5d5b50=_0x2a5853[_0x4118d1(0x214)](_0x1335eb[_0x4118d1(0x41a)][_0x4118d1(0x2c7)]),_0x2cae06=_0x2a5853[_0x4118d1(0x453)](_0x1335eb[_0x4118d1(0x3f2)][_0x4118d1(0x441)]([_0x48deae,_0x12a75c]),_0x5d5b50),_0x525c1e=_0x22e894['getCellPositionByOffset'](_0x1b41d5,_0x3b466a,_0x13402b,_0x44ac0e,_0x2cae06);((_0x454029=this[_0x4118d1(0x304)])==null?void 0x0:_0x454029[_0x4118d1(0x46d)])===_0x525c1e[_0x4118d1(0x46d)]&&((_0x3c1a28=this[_0x4118d1(0x304)])==null?void 0x0:_0x3c1a28['row'])===_0x525c1e[_0x4118d1(0x1f7)]||this[_0x4118d1(0x292)][_0x4118d1(0x23f)](_0x447fca=>{const _0x3a1d85=_0x4118d1;_0x447fca[_0x3a1d85(0x2f8)](_0x525c1e);});},0x64));});}[_0x4f4524(0x35b)](_0x2d6ab9,_0x2e3c03){const _0x243fa0=_0x4f4524;var _0x503a53;const _0x368c8b=(_0x503a53=this[_0x243fa0(0x255)][_0x243fa0(0x1ed)]())==null?void 0x0:_0x503a53['skeleton'];if(!_0x368c8b)return;const _0x25254e=this[_0x243fa0(0x452)]();if(!_0x25254e)return;this[_0x243fa0(0x292)][_0x243fa0(0x23f)](_0x25a725=>{_0x25a725['makeDirty']();});const {scene:_0x5ad609}=_0x25254e,_0x3d9676=_0xb7530a(Array['from'](_0x2e3c03['values']()))[_0x243fa0(0x3c7)](_0x3a7ec8=>{const _0x1560fb=_0x243fa0,{color:_0x1e22cc,range:_0x5636cc,name:_0xd8f248,selection:_0x223409,sheetID:_0x3248d8}=_0x3a7ec8,{startColumn:_0x72b27e,startRow:_0x5bf624,endColumn:_0x17c363,endRow:_0x23901d}=_0x5636cc,_0x571d24=_0x82f1f[_0x1560fb(0x1fb)](_0x5bf624,_0x72b27e,_0x5ad609,_0x368c8b),_0x4ef496=_0x82f1f[_0x1560fb(0x1fb)](_0x23901d,_0x17c363,_0x5ad609,_0x368c8b),{columnHeaderHeightAndMarginTop:_0xac444c}=_0x368c8b,{startX:_0x328bcb,startY:_0x75b880}=_0x571d24,{endX:_0x950c4a,endY:_0x304493}=_0x4ef496,_0xa34058=_0x950c4a-_0x328bcb,_0x9ffe84=_0x304493-_0x75b880,_0x27bb3d={'labelPosition':_0x75b880-_0xac444c>=_0x7d455f?'top':'bottom','sheetID':_0x3248d8,'range':_0x5636cc,'color':_0x1e22cc,'name':_0xd8f248,'selection':_0x223409,'left':_0x328bcb,'top':_0x75b880,'width':_0xa34058,'height':_0x9ffe84,'evented':!0x1,'zIndex':_0x21db89};return new _0x5cd145(_0xd8f248,_0x27bb3d);});_0x5ad609[_0x243fa0(0x400)](_0x3d9676,_0x3ea5c6),this[_0x243fa0(0x292)]=new Set(_0x3d9676);}[_0x4f4524(0x20a)](){const _0x2bab42=_0x4f4524;var _0x40c5a1;(_0x40c5a1=this['_cursors'])==null||_0x40c5a1[_0x2bab42(0x23f)](_0x16e4d5=>_0x16e4d5[_0x2bab42(0x347)]());}[_0x4f4524(0x452)](){const _0x31b458=_0x4f4524;return _0x82f1f[_0x31b458(0x208)](this['_context']['unit'],this[_0x31b458(0x364)]);}};_0x46a2ee=_0x4eb626([_0x2b19f0(0x1,_0x7d7395[_0x4f4524(0x40d)](_0x82f1f[_0x4f4524(0x440)])),_0x2b19f0(0x2,_0x7d7395[_0x4f4524(0x40d)](_0x42f641)),_0x2b19f0(0x3,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395[_0x4f4524(0x2bf)]))],_0x46a2ee);function _0xb7530a(_0x4f76f9){const _0x16a768=_0x4f4524,_0x1ecde7=new Map();return _0x4f76f9['forEach'](_0x5a3132=>{const _0x1328ce=_0x25fd;if(_0x1ecde7[_0x1328ce(0x3d4)](_0x5a3132[_0x1328ce(0x2ec)])){const _0x22377a=_0x1ecde7['get'](_0x5a3132[_0x1328ce(0x2ec)]);_0x22377a['name']+=',\x20'+_0x5a3132['name'];}else _0x1ecde7[_0x1328ce(0x32e)](_0x5a3132['selection'],_0x5a3132);}),Array[_0x16a768(0x3f3)](_0x1ecde7[_0x16a768(0x457)]());}var _0x5137d7=function(){const _0x2a56ae=_0x4f4524;return _0x5137d7=Object[_0x2a56ae(0x27a)]||function(_0x337d1d){const _0x2e6b76=_0x2a56ae;for(var _0x52b476,_0x31a230=0x1,_0x214ed8=arguments[_0x2e6b76(0x332)];_0x31a230<_0x214ed8;_0x31a230++){_0x52b476=arguments[_0x31a230];for(var _0x4f215e in _0x52b476)Object[_0x2e6b76(0x32c)][_0x2e6b76(0x430)][_0x2e6b76(0x240)](_0x52b476,_0x4f215e)&&(_0x337d1d[_0x4f215e]=_0x52b476[_0x4f215e]);}return _0x337d1d;},_0x5137d7['apply'](this,arguments);},_0x28991b=function(_0x1c63ef,_0x1ce757){const _0x5762a1=_0x4f4524;var _0x40d4ae={};for(var _0x3d6742 in _0x1c63ef)Object['prototype'][_0x5762a1(0x430)][_0x5762a1(0x240)](_0x1c63ef,_0x3d6742)&&_0x1ce757['indexOf'](_0x3d6742)<0x0&&(_0x40d4ae[_0x3d6742]=_0x1c63ef[_0x3d6742]);if(_0x1c63ef!=null&&typeof Object[_0x5762a1(0x20f)]==_0x5762a1(0x327)){for(var _0x190c5c=0x0,_0x3d6742=Object[_0x5762a1(0x20f)](_0x1c63ef);_0x190c5c<_0x3d6742[_0x5762a1(0x332)];_0x190c5c++)_0x1ce757[_0x5762a1(0x1e6)](_0x3d6742[_0x190c5c])<0x0&&Object['prototype'][_0x5762a1(0x3ff)][_0x5762a1(0x240)](_0x1c63ef,_0x3d6742[_0x190c5c])&&(_0x40d4ae[_0x3d6742[_0x190c5c]]=_0x1c63ef[_0x3d6742[_0x190c5c]]);}return _0x40d4ae;},_0x20b43a=_0xcaba45['forwardRef'](function(_0x1c4668,_0x3bf744){const _0x5b902d=_0x4f4524;var _0x25c50a=_0x1c4668[_0x5b902d(0x383)],_0x267fcb=_0x1c4668['id'],_0x383b03=_0x1c4668[_0x5b902d(0x26a)],_0x4d1abb=_0x1c4668[_0x5b902d(0x31e)],_0x265f45=_0x28991b(_0x1c4668,[_0x5b902d(0x383),'id',_0x5b902d(0x26a),'extend']),_0x4c7de2='univerjs-icon\x20univerjs-icon-'['concat'](_0x267fcb,'\x20')['concat'](_0x383b03||'')['trim'](),_0x2b9a13=_0xcaba45[_0x5b902d(0x391)]('_'[_0x5b902d(0x450)](_0x26a3e0()));return _0x50a808(_0x25c50a,''[_0x5b902d(0x450)](_0x267fcb),{'defIds':_0x25c50a[_0x5b902d(0x219)],'idSuffix':_0x2b9a13[_0x5b902d(0x39f)]},_0x5137d7({'ref':_0x3bf744,'className':_0x4c7de2},_0x265f45),_0x4d1abb);});function _0x50a808(_0x574e91,_0x2bd38e,_0x48ae75,_0x1299fd,_0x22532c){const _0x44500c=_0x4f4524;return _0xcaba45[_0x44500c(0x1fd)](_0x574e91[_0x44500c(0x29b)],_0x5137d7(_0x5137d7({'key':_0x2bd38e},_0x25fe81(_0x574e91,_0x48ae75,_0x22532c)),_0x1299fd),(_0x1cbc91(_0x574e91,_0x48ae75)['children']||[])[_0x44500c(0x3c7)](function(_0x5c7632,_0xe9f62c){const _0x386acd=_0x44500c;return _0x50a808(_0x5c7632,''[_0x386acd(0x450)](_0x2bd38e,'-')[_0x386acd(0x450)](_0x574e91[_0x386acd(0x29b)],'-')[_0x386acd(0x450)](_0xe9f62c),_0x48ae75,void 0x0,_0x22532c);}));}function _0x25fe81(_0x18ba88,_0x59af2a,_0x54ce48){const _0x1b7e78=_0x4f4524;var _0x5df6ee=_0x5137d7({},_0x18ba88[_0x1b7e78(0x361)]);_0x54ce48!=null&&_0x54ce48[_0x1b7e78(0x244)]&&_0x5df6ee[_0x1b7e78(0x1f0)]===_0x1b7e78(0x244)&&(_0x5df6ee['fill']=_0x54ce48[_0x1b7e78(0x244)]),_0x18ba88[_0x1b7e78(0x29b)]===_0x1b7e78(0x3be)&&_0x5df6ee['id']&&(_0x5df6ee['id']=_0x5df6ee['id']+_0x59af2a[_0x1b7e78(0x3c1)]),Object['entries'](_0x5df6ee)[_0x1b7e78(0x23f)](function(_0x43c17d){const _0xc4f2a7=_0x1b7e78;var _0x3146f5=_0x43c17d[0x0],_0x12b36e=_0x43c17d[0x1];_0x3146f5===_0xc4f2a7(0x3be)&&typeof _0x12b36e==_0xc4f2a7(0x205)&&(_0x5df6ee[_0x3146f5]=_0x12b36e[_0xc4f2a7(0x3e9)](/url\(#(.*)\)/,_0xc4f2a7(0x1f9)['concat'](_0x59af2a[_0xc4f2a7(0x3c1)],')')));});var _0x4773ac=_0x59af2a['defIds'];return!_0x4773ac||_0x4773ac[_0x1b7e78(0x332)]===0x0||(_0x18ba88[_0x1b7e78(0x29b)]===_0x1b7e78(0x293)&&_0x5df6ee['xlink:href']&&(_0x5df6ee['xlink:href']=_0x5df6ee[_0x1b7e78(0x451)]+_0x59af2a[_0x1b7e78(0x3c1)]),Object[_0x1b7e78(0x2a3)](_0x5df6ee)[_0x1b7e78(0x23f)](function(_0xba106f){const _0x1ef773=_0x1b7e78;var _0x351bb0=_0xba106f[0x0],_0x33d50e=_0xba106f[0x1];typeof _0x33d50e=='string'&&(_0x5df6ee[_0x351bb0]=_0x33d50e['replace'](/url\(#(.*)\)/,_0x1ef773(0x1f9)[_0x1ef773(0x450)](_0x59af2a[_0x1ef773(0x3c1)],')')));})),_0x5df6ee;}function _0x1cbc91(_0x461600,_0x4aeef5){const _0x44175f=_0x4f4524;var _0x8252c7,_0x5a1d28=_0x4aeef5[_0x44175f(0x219)];return!_0x5a1d28||_0x5a1d28['length']===0x0?_0x461600:_0x461600[_0x44175f(0x29b)]===_0x44175f(0x282)&&(!((_0x8252c7=_0x461600['children'])===null||_0x8252c7===void 0x0)&&_0x8252c7['length'])?_0x5137d7(_0x5137d7({},_0x461600),{'children':_0x461600[_0x44175f(0x21d)][_0x44175f(0x3c7)](function(_0x1cbb7d){const _0x4830ca=_0x44175f;return typeof _0x1cbb7d['attrs']['id']==_0x4830ca(0x205)&&_0x5a1d28&&_0x5a1d28['indexOf'](_0x1cbb7d[_0x4830ca(0x361)]['id'])>-0x1?_0x5137d7(_0x5137d7({},_0x1cbb7d),{'attrs':_0x5137d7(_0x5137d7({},_0x1cbb7d[_0x4830ca(0x361)]),{'id':_0x1cbb7d[_0x4830ca(0x361)]['id']+_0x4aeef5[_0x4830ca(0x3c1)]})}):_0x1cbb7d;})}):_0x461600;}function _0x26a3e0(){const _0x364225=_0x4f4524;return Math[_0x364225(0x224)]()[_0x364225(0x3dc)](0x24)[_0x364225(0x34a)](0x2,0x8);}_0x20b43a[_0x4f4524(0x3f6)]=_0x4f4524(0x320);var _0x96ec74={'tag':_0x4f4524(0x2e8),'attrs':{'fill':_0x4f4524(0x419),'viewBox':_0x4f4524(0x2d2),'width':_0x4f4524(0x235),'height':_0x4f4524(0x235)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x4f4524(0x377),'attrs':{'stroke':_0x4f4524(0x28e),'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':_0x4f4524(0x3b5),'strokeLinejoin':_0x4f4524(0x3b5),'strokeWidth':1.2}}]},{'tag':_0x4f4524(0x282),'attrs':{},'children':[{'tag':_0x4f4524(0x381),'attrs':{'id':_0x4f4524(0x412)},'children':[{'tag':_0x4f4524(0x377),'attrs':{'fill':_0x4f4524(0x2e1),'d':_0x4f4524(0x1f3)}}]}]}],'defIds':[_0x4f4524(0x412)]},_0x39fd71=_0xcaba45['forwardRef'](function(_0x372e90,_0x8a437b){const _0x493241=_0x4f4524;return _0xcaba45[_0x493241(0x1fd)](_0x20b43a,Object[_0x493241(0x27a)]({},_0x372e90,{'id':_0x493241(0x3a5),'ref':_0x8a437b,'icon':_0x96ec74}));});_0x39fd71[_0x4f4524(0x3f6)]='OffLineSingle';var _0x25bb27={'tag':_0x4f4524(0x2e8),'attrs':{'fill':_0x4f4524(0x419),'viewBox':_0x4f4524(0x3b8),'width':_0x4f4524(0x235),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4f4524(0x22d)},'children':[{'tag':'path','attrs':{'stroke':_0x4f4524(0x28e),'d':_0x4f4524(0x1eb),'strokeLinecap':'round','strokeLinejoin':_0x4f4524(0x3b5),'strokeWidth':1.2}}]},{'tag':_0x4f4524(0x282),'attrs':{},'children':[{'tag':_0x4f4524(0x381),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x4f4524(0x377),'attrs':{'fill':_0x4f4524(0x2e1),'d':_0x4f4524(0x1f3),'transform':_0x4f4524(0x20b)}}]}]}],'defIds':[_0x4f4524(0x21a)]},_0x508354=_0xcaba45[_0x4f4524(0x234)](function(_0x1aef40,_0x2e4106){const _0x2b3857=_0x4f4524;return _0xcaba45[_0x2b3857(0x1fd)](_0x20b43a,Object[_0x2b3857(0x27a)]({},_0x1aef40,{'id':'on-line-single','ref':_0x2e4106,'icon':_0x25bb27}));});_0x508354[_0x4f4524(0x3f6)]='OnLineSingle';const _0x15e542={'onlineStatusIcon':_0x4f4524(0x3da),'onlineStatusTitle':_0x4f4524(0x427),'onlineStatus':'univer-online-status','online':_0x4f4524(0x3a1),'offline':_0x4f4524(0x242)};function _0x348103(_0x32bc7c){const _0x13a090=_0x4f4524;switch(_0x32bc7c){case _0xcd8db[_0x13a090(0x369)][_0x13a090(0x258)]:return _0x13a090(0x1f4);case _0xcd8db[_0x13a090(0x369)][_0x13a090(0x2bd)]:return _0x13a090(0x379);case _0xcd8db['CollaborationStatus'][_0x13a090(0x3ae)]:return _0x13a090(0x362);case _0xcd8db[_0x13a090(0x369)][_0x13a090(0x3c3)]:return _0x13a090(0x1e9);case _0xcd8db[_0x13a090(0x369)][_0x13a090(0x325)]:case _0xcd8db[_0x13a090(0x369)][_0x13a090(0x2df)]:return _0x13a090(0x3ee);case _0xcd8db['CollaborationStatus'][_0x13a090(0x2ba)]:case _0xcd8db['CollaborationStatus'][_0x13a090(0x36a)]:return'collabStatus.synced';}}function _0x13fcf2(_0x1ed334){const _0x396c09=_0x4f4524,{status$:_0x3a450e}=_0x1ed334,_0x312106=_0x273ccb[_0x396c09(0x408)](_0x3a450e,_0xcd8db[_0x396c09(0x369)][_0x396c09(0x3c3)]),_0x1e3612=_0x273ccb['useDependency'](_0x7d7395['LocaleService']),_0x41e020=_0x273ccb[_0x396c09(0x303)](_0xcd8db[_0x396c09(0x473)]),_0x24e969=_0x312106!==_0xcd8db[_0x396c09(0x369)][_0x396c09(0x258)],_0x489a31=_0x1e3612['t'](_0x348103(_0x312106)),_0xe61dd1=_0x4c907b[_0x396c09(0x29c)](_0x15e542['onlineStatus'],{[_0x15e542[_0x396c09(0x37d)]]:_0x24e969,[_0x15e542['offline']]:!_0x24e969}),_0x2fd521=_0x24e969?_0x5ac202[_0x396c09(0x256)](_0x508354,{}):_0x5ac202[_0x396c09(0x256)](_0x39fd71,{}),_0x5db8e7=_0xcaba45[_0x396c09(0x3e4)](()=>{const _0x21bf6c=_0x396c09;_0x24e969||_0x41e020[_0x21bf6c(0x2be)]();},[_0x24e969,_0x41e020]);function _0x12a868(){const _0x3fc51d=_0x396c09;return _0x5ac202[_0x3fc51d(0x438)](_0x3fc51d(0x1fa),{'className':_0x4c907b[_0x3fc51d(0x29c)](_0xe61dd1,_0x3fc51d(0x3fb)),'onClick':_0x5db8e7,'children':[_0x5ac202[_0x3fc51d(0x256)](_0x3fc51d(0x1fa),{'className':_0x15e542[_0x3fc51d(0x23d)],'children':_0x2fd521}),_0x5ac202[_0x3fc51d(0x256)]('div',{'className':_0x15e542['onlineStatusTitle'],'children':_0x489a31})]});}return _0x24e969?_0x12a868():_0x5ac202[_0x396c09(0x256)](_0x4c907b['Tooltip'],{'title':_0x1e3612['t'](_0x396c09(0x218)),'children':_0x12a868()});}var _0xf89f14=Object[_0x4f4524(0x44d)],_0x40afad=(_0x118e18,_0x463587,_0x8a4764,_0x5997b3)=>{for(var _0x279bb8=_0x5997b3>0x1?void 0x0:_0x5997b3?_0xf89f14(_0x463587,_0x8a4764):_0x463587,_0xeb4d12=_0x118e18['length']-0x1,_0xf0046d;_0xeb4d12>=0x0;_0xeb4d12--)(_0xf0046d=_0x118e18[_0xeb4d12])&&(_0x279bb8=_0xf0046d(_0x279bb8)||_0x279bb8);return _0x279bb8;},_0x4420dc=(_0x187f6d,_0x567cc5)=>(_0x19f3f8,_0x1bb38f)=>_0x567cc5(_0x19f3f8,_0x1bb38f,_0x187f6d);_0x4cceb3['DesktopCollaborationStatusDisplayController']=class extends _0x7d7395[_0x4f4524(0x36c)]{constructor(_0x4bff94,_0x34667c,_0x1efc4b,_0xb62626){const _0x485e2f=_0x4f4524;super(),_0x4535fa(this,_0x485e2f(0x24f),new _0x24af31[(_0x485e2f(0x42f))](_0xcd8db['CollaborationStatus'][_0x485e2f(0x3c3)])),(this['_univerInstanceService']=_0x4bff94,this['_injector']=_0x34667c,this[_0x485e2f(0x21c)]=_0x1efc4b,this[_0x485e2f(0x3db)]=_0xb62626,this[_0x485e2f(0x2e2)](),this[_0x485e2f(0x3f5)]());}[_0x4f4524(0x3f5)](){const _0x1d75e3=_0x4f4524;this[_0x1d75e3(0x38e)](this[_0x1d75e3(0x236)]['focused$'][_0x1d75e3(0x475)](_0x24af31[_0x1d75e3(0x2ab)](()=>{const _0x2a655f=_0x1d75e3,_0x302601=this[_0x2a655f(0x236)][_0x2a655f(0x2bc)]();return _0x302601?this[_0x2a655f(0x21c)][_0x2a655f(0x331)](_0x302601[_0x2a655f(0x36d)]()):_0x24af31['of'](null);}),_0x24af31[_0x1d75e3(0x2ab)](_0x4b5c46=>_0x4b5c46?_0x4b5c46[_0x1d75e3(0x1fe)]:_0x24af31['of'](_0xcd8db['CollaborationStatus'][_0x1d75e3(0x3c3)])))[_0x1d75e3(0x2ef)](_0x21a746=>{const _0xeef5cc=_0x1d75e3;this[_0xeef5cc(0x24f)][_0xeef5cc(0x1e8)](_0x21a746);}));}['_initStatusComponent'](){const _0x4cee1c=_0x4f4524;this['disposeWithMe'](this[_0x4cee1c(0x3db)][_0x4cee1c(0x29d)](_0x273ccb[_0x4cee1c(0x39c)]['HEADER_MENU'],()=>_0x273ccb[_0x4cee1c(0x34f)](_0x1034f1({'status$':this[_0x4cee1c(0x24f)][_0x4cee1c(0x301)]()}),this[_0x4cee1c(0x40b)])));}},_0x4cceb3[_0x4f4524(0x2e4)]=_0x40afad([_0x4420dc(0x0,_0x7d7395[_0x4f4524(0x2ea)]),_0x4420dc(0x1,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395['Injector'])),_0x4420dc(0x2,_0x7d7395[_0x4f4524(0x40d)](_0xcd8db['CollaborationController'])),_0x4420dc(0x3,_0x273ccb['IUIPartsService'])],_0x4cceb3['DesktopCollaborationStatusDisplayController']);function _0x1034f1(_0x279402){const {status$:_0x131c82}=_0x279402;return function(){const _0x4e6858=_0x25fd;return _0x5ac202[_0x4e6858(0x256)](_0x13fcf2,{'status$':_0x131c82});};}var _0x30214e=Object[_0x4f4524(0x44d)],_0x586f5c=(_0xebf72a,_0x1ba7d9,_0x34ed45,_0xf17669)=>{for(var _0x210e84=_0xf17669>0x1?void 0x0:_0xf17669?_0x30214e(_0x1ba7d9,_0x34ed45):_0x1ba7d9,_0x2c21f0=_0xebf72a['length']-0x1,_0x3783d0;_0x2c21f0>=0x0;_0x2c21f0--)(_0x3783d0=_0xebf72a[_0x2c21f0])&&(_0x210e84=_0x3783d0(_0x210e84)||_0x210e84);return _0x210e84;},_0x2c3953=(_0x5d87c3,_0x8cdeb0)=>(_0x365077,_0x2bc34b)=>_0x8cdeb0(_0x365077,_0x2bc34b,_0x5d87c3);let _0x3f6263=class extends _0x7d7395['Disposable']{constructor(_0x49fb76,_0x334e93,_0x128841,_0x496230,_0x40cf76,_0x209205){const _0x2a305a=_0x4f4524;super(),this['_beforeCloseService']=_0x49fb76,this[_0x2a305a(0x46a)]=_0x334e93,this['_collaborationUIEventService']=_0x128841,this[_0x2a305a(0x268)]=_0x496230,this[_0x2a305a(0x37c)]=_0x40cf76,this[_0x2a305a(0x456)]=_0x209205,this[_0x2a305a(0x2c8)](),this[_0x2a305a(0x2bb)]();}[_0x4f4524(0x2c8)](){const _0x1be39f=_0x4f4524;this['disposeWithMe'](this[_0x1be39f(0x270)][_0x1be39f(0x207)](()=>{const _0x42d47a=_0x1be39f;if(this[_0x42d47a(0x46a)][_0x42d47a(0x314)]['size'])return this[_0x42d47a(0x456)]['t'](_0x42d47a(0x1e3));}));}['_initEvent'](){const _0x131559=_0x4f4524;this[_0x131559(0x38e)](this[_0x131559(0x371)][_0x131559(0x2e9)]['subscribe'](_0x58dbc5=>{const _0x27ef60=_0x131559;_0x58dbc5['id']===_0xcd8db[_0x27ef60(0x2f5)][_0x27ef60(0x43c)]&&this[_0x27ef60(0x268)][_0x27ef60(0x3fd)]({'type':_0x4c907b[_0x27ef60(0x356)][_0x27ef60(0x280)],'content':this[_0x27ef60(0x456)]['t'](_0x27ef60(0x418))}),_0x58dbc5['id']===_0xcd8db[_0x27ef60(0x2f5)][_0x27ef60(0x3e5)]&&this[_0x27ef60(0x268)][_0x27ef60(0x3fd)]({'type':_0x4c907b['MessageType'][_0x27ef60(0x280)],'content':this[_0x27ef60(0x456)]['t'](_0x27ef60(0x1ec))}),_0x58dbc5['id']===_0xcd8db[_0x27ef60(0x2f5)]['PERMISSION_DENIED']&&this[_0x27ef60(0x37c)]['show']({'title':this[_0x27ef60(0x456)]['t']('permission.title'),'content':this['_localeService']['t'](_0x27ef60(0x3a6)),'type':_0x27ef60(0x46c),'duration':0x0}),_0x58dbc5['id']===_0xcd8db[_0x27ef60(0x2f5)]['CONFLICT']&&this[_0x27ef60(0x268)]['show']({'type':_0x4c907b['MessageType'][_0x27ef60(0x467)],'content':this[_0x27ef60(0x456)]['t'](_0x27ef60(0x1ec))+'('+_0x58dbc5['data']+')'}),_0x58dbc5['id']===_0xcd8db['CollaborationUIEventId'][_0x27ef60(0x2c2)]&&this[_0x27ef60(0x268)]['show']({'type':_0x4c907b[_0x27ef60(0x356)]['Warning'],'content':this[_0x27ef60(0x456)]['t'](_0x58dbc5[_0x27ef60(0x1fc)]||'')}),_0x58dbc5['id']===_0xcd8db[_0x27ef60(0x2f5)][_0x27ef60(0x36f)]&&this[_0x27ef60(0x268)][_0x27ef60(0x3fd)]({'type':_0x4c907b[_0x27ef60(0x356)]['Warning'],'content':this['_localeService']['t'](_0x27ef60(0x296))}),_0x58dbc5['id']===_0xcd8db[_0x27ef60(0x2f5)]['SOCKET_FAILED']&&this[_0x27ef60(0x268)][_0x27ef60(0x3fd)]({'type':_0x4c907b[_0x27ef60(0x356)]['Error'],'content':this[_0x27ef60(0x456)]['t'](_0x27ef60(0x297))}),_0x58dbc5['id']===_0xcd8db[_0x27ef60(0x2f5)][_0x27ef60(0x317)]&&this['_messageService'][_0x27ef60(0x3fd)]({'type':_0x4c907b['MessageType'][_0x27ef60(0x467)],'content':this[_0x27ef60(0x456)]['t'](_0x27ef60(0x414))});}));}};_0x3f6263=_0x586f5c([_0x2c3953(0x0,_0x273ccb[_0x4f4524(0x3ac)]),_0x2c3953(0x1,_0xcd8db[_0x4f4524(0x443)]),_0x2c3953(0x2,_0x7d7395[_0x4f4524(0x40d)](_0xcd8db[_0x4f4524(0x3c0)])),_0x2c3953(0x3,_0x273ccb[_0x4f4524(0x41c)]),_0x2c3953(0x4,_0x273ccb['INotificationService']),_0x2c3953(0x5,_0x7d7395['Inject'](_0x7d7395[_0x4f4524(0x2a2)]))],_0x3f6263);const _0x542c2f=_0x4f4524(0x38a),_0x40ad9b={},_0x557455=_0x7d7395[_0x4f4524(0x40f)](_0x4f4524(0x33d));var _0x56fada=Object[_0x4f4524(0x44d)],_0x387123=(_0x273041,_0x4ae2cc,_0x457876,_0x3bfe10)=>{for(var _0x292910=_0x3bfe10>0x1?void 0x0:_0x3bfe10?_0x56fada(_0x4ae2cc,_0x457876):_0x4ae2cc,_0x14f1f7=_0x273041['length']-0x1,_0x136699;_0x14f1f7>=0x0;_0x14f1f7--)(_0x136699=_0x273041[_0x14f1f7])&&(_0x292910=_0x136699(_0x292910)||_0x292910);return _0x292910;},_0x5e4f0b=(_0x144f95,_0x4d0ed4)=>(_0x235ab8,_0x132b22)=>_0x4d0ed4(_0x235ab8,_0x132b22,_0x144f95);_0x4cceb3['CollaborationDataLoaderController']=class extends _0x7d7395[_0x4f4524(0x36e)]{constructor(_0x1053fa,_0x320130,_0x2be1a9,_0x341632,_0x802a81){const _0x242300=_0x4f4524;super(),this[_0x242300(0x3b4)]=_0x1053fa,this[_0x242300(0x27b)]=_0x320130,this[_0x242300(0x2e6)]=_0x2be1a9,this[_0x242300(0x2c0)]=_0x341632,_0x802a81?_0x802a81==null||_0x802a81[_0x242300(0x367)]()['then'](()=>this['_init']()):(this[_0x242300(0x27b)]['debug'](_0x242300(0x1ef),_0x242300(0x3c2)),this[_0x242300(0x1e4)]());}async[_0x4f4524(0x1e4)](){const _0x29cbfb=_0x4f4524,_0x5214ea=this[_0x29cbfb(0x3b4)][_0x29cbfb(0x442)]('unit'),_0x56aefd=this[_0x29cbfb(0x3b4)][_0x29cbfb(0x442)](_0x29cbfb(0x213)),_0x6ba6fc=this['_urlService'][_0x29cbfb(0x442)](_0x29cbfb(0x35c));if(!_0x5214ea||!_0x56aefd){this['_logService']['debug'](_0x29cbfb(0x1ef),_0x29cbfb(0x43a));return;}const _0x5ec31f=await this[_0x29cbfb(0x2c0)]['loadUnit'](_0x5214ea,Number(_0x56aefd),_0x6ba6fc);_0x5ec31f&&_0x5ec31f instanceof _0x7d7395[_0x29cbfb(0x31d)]&&this[_0x29cbfb(0x20c)](_0x5ec31f);}async[_0x4f4524(0x20c)](_0x3c3568){const _0x1722d7=_0x4f4524;await this[_0x1722d7(0x1e5)](_0x3c3568),_0x3c3568[_0x1722d7(0x387)][_0x1722d7(0x475)](_0x24af31[_0x1722d7(0x41d)](this[_0x1722d7(0x3b9)]))['subscribe'](_0x222632=>{_0x222632&&this['_updateURLWithCurrentState'](_0x222632);}),this['_urlService'][_0x1722d7(0x31b)]['pipe'](_0x24af31[_0x1722d7(0x41d)](this[_0x1722d7(0x3b9)]))[_0x1722d7(0x2ef)](()=>this[_0x1722d7(0x1e5)](_0x3c3568));}[_0x4f4524(0x273)](_0x4ed0f6,_0x40d7bb=!0x1){const _0x15a224=_0x4f4524,_0x21ddfa=this[_0x15a224(0x3b4)]['getParam'](_0x15a224(0x35c));_0x4ed0f6[_0x15a224(0x39d)]()!==_0x21ddfa&&this[_0x15a224(0x3b4)][_0x15a224(0x313)](_0x15a224(0x35c),_0x4ed0f6[_0x15a224(0x39d)](),_0x40d7bb);}async[_0x4f4524(0x1e5)](_0x4cfe4b){const _0x1edfaa=_0x4f4524;var _0x529665;const _0x2f7fc5=this['_urlService'][_0x1edfaa(0x442)](_0x1edfaa(0x35c));if(!_0x2f7fc5||!_0x4cfe4b[_0x1edfaa(0x2fd)](_0x2f7fc5)){const _0x8b93f6=_0x4cfe4b[_0x1edfaa(0x223)]()[0x0],_0x11fca7=_0x4cfe4b['getSheetBySheetId'](_0x8b93f6);if(!_0x11fca7)return;this[_0x1edfaa(0x273)](_0x11fca7,!0x0),await this[_0x1edfaa(0x2e6)][_0x1edfaa(0x328)](_0x578427[_0x1edfaa(0x227)]['id'],{'unitId':_0x4cfe4b[_0x1edfaa(0x36d)](),'subUnitId':_0x8b93f6});return;}((_0x529665=_0x4cfe4b[_0x1edfaa(0x338)]())==null?void 0x0:_0x529665[_0x1edfaa(0x39d)]())!==_0x2f7fc5&&await this[_0x1edfaa(0x2e6)][_0x1edfaa(0x328)](_0x578427[_0x1edfaa(0x227)]['id'],{'unitId':_0x4cfe4b['getUnitId'](),'subUnitId':_0x2f7fc5});}},_0x4cceb3[_0x4f4524(0x322)]=_0x387123([_0x5e4f0b(0x0,_0x557455),_0x5e4f0b(0x1,_0x7d7395[_0x4f4524(0x333)]),_0x5e4f0b(0x2,_0x7d7395[_0x4f4524(0x226)]),_0x5e4f0b(0x3,_0x7d7395[_0x4f4524(0x40d)](_0xcd8db[_0x4f4524(0x262)])),_0x5e4f0b(0x4,_0x7d7395['Optional'](_0x1b65ca['IRemoteInstanceService']))],_0x4cceb3[_0x4f4524(0x322)]);var _0x21105f=Object[_0x4f4524(0x44d)],_0x1b15ed=(_0x420783,_0x57c205,_0x25071e,_0x4d4739)=>{for(var _0x1f33fa=_0x4d4739>0x1?void 0x0:_0x4d4739?_0x21105f(_0x57c205,_0x25071e):_0x57c205,_0x2b69a9=_0x420783['length']-0x1,_0x4f8c04;_0x2b69a9>=0x0;_0x2b69a9--)(_0x4f8c04=_0x420783[_0x2b69a9])&&(_0x1f33fa=_0x4f8c04(_0x1f33fa)||_0x1f33fa);return _0x1f33fa;},_0x3a2cb0=(_0x1def26,_0x28be39)=>(_0x35ea34,_0x41f89c)=>_0x28be39(_0x35ea34,_0x41f89c,_0x1def26);let _0x3bd767=class{constructor(_0x34a237,_0x30a5f7,_0xa52d63){const _0x497ea1=_0x4f4524;this['_injector']=_0x34a237,this['_transformService']=_0x30a5f7,this[_0x497ea1(0x360)]=_0xa52d63;}['transformIMECache'](_0x142f33){const _0x385344=_0x4f4524;this['_transformUndoRedoStack'](_0x142f33),this[_0x385344(0x217)](_0x142f33);}[_0x4f4524(0x402)](_0x4f9cb2){const _0x429e47=_0x4f4524,{unitID:_0x273104}=_0x4f9cb2,_0x3e7b9b=this[_0x429e47(0x360)][_0x429e47(0x401)](_0x273104)[_0x429e47(0x2b0)](_0x5eb1d8[_0x429e47(0x461)]),{redoCache:_0x105a61}=_0x3e7b9b['getUndoRedoMutationParamsCache']();if(_0x105a61[_0x429e47(0x332)]===0x0)return _0x4f9cb2;let _0x53ae53=_0x7d7395[_0x429e47(0x202)][_0x429e47(0x2a5)](_0x4f9cb2[_0x429e47(0x3ab)][0x0]);for(let _0x1854a8=0x0;_0x1854a8<_0x105a61['length'];_0x1854a8++){const _0x4991={'id':_0x429e47(0x307),'params':{..._0x105a61[_0x1854a8]}},_0x40a233=this[_0x429e47(0x33a)][_0x429e47(0x24c)](_0x53ae53,_0x4991,!0x1);if(_0x2fc10[_0x429e47(0x426)](_0x40a233))throw _0x40a233[_0x429e47(0x46c)];_0x53ae53=_0x40a233['m1Prime'];}return{..._0x7d7395[_0x429e47(0x202)][_0x429e47(0x2a5)](_0x4f9cb2),'mutations':[_0x53ae53]};}[_0x4f4524(0x2aa)](_0x544383){const _0x1ef13d=_0x4f4524,{unitID:_0x5cc2e1}=_0x544383,_0x15f4a3=this['_renderManagerService']['getRenderById'](_0x5cc2e1)[_0x1ef13d(0x2b0)](_0x5eb1d8[_0x1ef13d(0x461)]),{undoCache:_0x2881ef,redoCache:_0x401780}=_0x15f4a3['getUndoRedoMutationParamsCache']();if(_0x2881ef[_0x1ef13d(0x332)]===0x0||_0x401780[_0x1ef13d(0x332)]===0x0)return;const _0x42c153=[],_0x45476d=[];let _0x1ec519=_0x7d7395['Tools'][_0x1ef13d(0x2a5)](_0x544383[_0x1ef13d(0x3ab)][0x0]),_0x303190=_0x7d7395['Tools'][_0x1ef13d(0x2a5)](_0x544383[_0x1ef13d(0x3ab)][0x0]);for(let _0xd136d=_0x2881ef[_0x1ef13d(0x332)]-0x1;_0xd136d>=0x0;_0xd136d--){const _0xbbf899={'id':_0x1ef13d(0x307),'params':{..._0x2881ef[_0xd136d]}},_0x63e2fa={'id':_0x1ef13d(0x307),'params':{..._0x401780[_0xd136d]}},_0x7a4ce6=this[_0x1ef13d(0x33a)][_0x1ef13d(0x24c)](_0x1ec519,_0xbbf899,!0x1),_0x2cc016=this[_0x1ef13d(0x33a)][_0x1ef13d(0x24c)](_0x303190,_0x63e2fa,!0x1);if(_0x2fc10[_0x1ef13d(0x426)](_0x7a4ce6))throw _0x7a4ce6[_0x1ef13d(0x46c)];if(_0x2fc10[_0x1ef13d(0x426)](_0x2cc016))throw _0x2cc016[_0x1ef13d(0x46c)];_0x42c153[_0x1ef13d(0x45a)](_0x7a4ce6[_0x1ef13d(0x228)][_0x1ef13d(0x222)]),_0x45476d[_0x1ef13d(0x45a)](_0x2cc016[_0x1ef13d(0x228)][_0x1ef13d(0x222)]),_0x1ec519=_0x7a4ce6[_0x1ef13d(0x1f2)],_0x303190=_0x2cc016[_0x1ef13d(0x1f2)];}_0x15f4a3['setUndoRedoMutationParamsCache']({'undoCache':_0x42c153,'redoCache':_0x45476d});}['_transformPreviousActiveRange'](_0x60c806){const _0x28b984=_0x4f4524,{unitID:_0x11cbf2}=_0x60c806,_0x202c59=this[_0x28b984(0x360)][_0x28b984(0x401)](_0x11cbf2)['with'](_0x5eb1d8[_0x28b984(0x461)]),_0x1389ff=_0x202c59[_0x28b984(0x416)]();if(_0x1389ff==null)return;const _0x9d81a5=[{'id':_0x28b984(0x307),'params':{'unitId':_0x60c806[_0x28b984(0x3ef)],'actions':null,'textRanges':[_0x1389ff]}}],_0x23682=this[_0x28b984(0x33a)][_0x28b984(0x463)](_0x60c806,_0x9d81a5);if(!_0x2fc10['isTransformMutationsWithChangesetSuccess'](_0x23682))throw _0x23682['error'];const _0x2f4b00=_0x23682['m2Prime'][0x0][_0x28b984(0x222)][_0x28b984(0x2ed)];Array['isArray'](_0x2f4b00)&&_0x2f4b00['length']&&_0x202c59[_0x28b984(0x309)](_0x2f4b00[0x0]);}};_0x3bd767=_0x1b15ed([_0x3a2cb0(0x0,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395[_0x4f4524(0x406)])),_0x3a2cb0(0x1,_0x2fc10['ITransformService']),_0x3a2cb0(0x2,_0x1335eb[_0x4f4524(0x40c)])],_0x3bd767);var _0x4b83bd=Object['getOwnPropertyDescriptor'],_0x392b70=(_0xdc9c03,_0xc8e6c6,_0x44e7ed,_0x3f6f9c)=>{const _0x399193=_0x4f4524;for(var _0x5dfd2f=_0x3f6f9c>0x1?void 0x0:_0x3f6f9c?_0x4b83bd(_0xc8e6c6,_0x44e7ed):_0xc8e6c6,_0x5208b5=_0xdc9c03[_0x399193(0x332)]-0x1,_0x4888aa;_0x5208b5>=0x0;_0x5208b5--)(_0x4888aa=_0xdc9c03[_0x5208b5])&&(_0x5dfd2f=_0x4888aa(_0x5dfd2f)||_0x5dfd2f);return _0x5dfd2f;},_0x261303=(_0x18ebb8,_0x47cc43)=>(_0x59b988,_0xe5c738)=>_0x47cc43(_0x59b988,_0xe5c738,_0x18ebb8);let _0x8f5da2=class{constructor(_0x3b0bcd,_0xaedfa4,_0x1431c3){const _0x3fbab9=_0x4f4524;this[_0x3fbab9(0x40b)]=_0x3b0bcd,this[_0x3fbab9(0x33a)]=_0xaedfa4,this[_0x3fbab9(0x2cd)]=_0x1431c3;}['transformStateCache'](_0xd7baad){this['_transformHistoryAndStateStack'](_0xd7baad);}[_0x4f4524(0x402)](_0xa93c26){const _0x14332f=_0x4f4524,{unitID:_0x4874d3}=_0xa93c26,{collaboration:_0x2b3eb9}=this[_0x14332f(0x2cd)][_0x14332f(0x2b1)](_0x4874d3);if(_0x2b3eb9['length']===0x0)return _0xa93c26;let _0x448b38=_0x7d7395[_0x14332f(0x202)]['deepClone'](_0xa93c26[_0x14332f(0x3ab)][0x0]);for(let _0x15a4b2=0x0;_0x15a4b2<_0x2b3eb9['length'];_0x15a4b2++){const _0x150ee1={'id':_0x14332f(0x307),'params':{'unitId':_0x2b3eb9[_0x15a4b2][_0x14332f(0x410)],..._0x2b3eb9[_0x15a4b2][_0x14332f(0x277)]}},_0x2f61ce=this[_0x14332f(0x33a)][_0x14332f(0x24c)](_0x448b38,_0x150ee1,!0x1);if(_0x2fc10['isTransformMutationFailure'](_0x2f61ce))throw _0x2f61ce[_0x14332f(0x46c)];_0x448b38=_0x2f61ce[_0x14332f(0x1f2)];}return{..._0x7d7395[_0x14332f(0x202)][_0x14332f(0x2a5)](_0xa93c26),'mutations':[_0x448b38]};}[_0x4f4524(0x24d)](_0x545806){const _0x137f0c=_0x4f4524,{unitID:_0x3de8db}=_0x545806,{history:_0x15a57a,collaboration:_0x1e2a09}=this['_docStateChangeManagerService'][_0x137f0c(0x2b1)](_0x3de8db);if(_0x15a57a[_0x137f0c(0x332)]===0x0&&_0x1e2a09['length']===0x0)return;const _0x5e505b=[],_0x2a9ff9=[];let _0x5c7e1b=_0x7d7395['Tools'][_0x137f0c(0x2a5)](_0x545806['mutations'][0x0]),_0x7bc52e=_0x7d7395[_0x137f0c(0x202)][_0x137f0c(0x2a5)](_0x545806['mutations'][0x0]);for(let _0x5cc424=_0x15a57a[_0x137f0c(0x332)]-0x1;_0x5cc424>=0x0;_0x5cc424--){const _0x291d5f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x15a57a[_0x5cc424]['unitId'],..._0x15a57a[_0x5cc424][_0x137f0c(0x225)]}},_0x45c2ba={'id':_0x137f0c(0x307),'params':{'unitId':_0x15a57a[_0x5cc424][_0x137f0c(0x410)],..._0x15a57a[_0x5cc424][_0x137f0c(0x277)]}},_0x264f2b=this[_0x137f0c(0x33a)][_0x137f0c(0x24c)](_0x5c7e1b,_0x291d5f,!0x1),_0x4146c3=this['_transformService'][_0x137f0c(0x24c)](_0x7bc52e,_0x45c2ba,!0x1);if(_0x2fc10[_0x137f0c(0x426)](_0x264f2b))throw _0x264f2b[_0x137f0c(0x46c)];if(_0x2fc10[_0x137f0c(0x426)](_0x4146c3))throw _0x4146c3[_0x137f0c(0x46c)];_0x5e505b[_0x137f0c(0x45a)]({..._0x15a57a[_0x5cc424],'undoState':_0x264f2b[_0x137f0c(0x228)][_0x137f0c(0x222)],'redoState':_0x4146c3[_0x137f0c(0x228)][_0x137f0c(0x222)]}),_0x5c7e1b=_0x264f2b[_0x137f0c(0x1f2)],_0x7bc52e=_0x4146c3['m1Prime'];}_0x5c7e1b=_0x7d7395['Tools'][_0x137f0c(0x2a5)](_0x545806[_0x137f0c(0x3ab)][0x0]),_0x7bc52e=_0x7d7395[_0x137f0c(0x202)][_0x137f0c(0x2a5)](_0x545806[_0x137f0c(0x3ab)][0x0]);for(let _0x2e97e3=_0x1e2a09['length']-0x1;_0x2e97e3>=0x0;_0x2e97e3--){const _0x74c163={'id':_0x137f0c(0x307),'params':{'unitId':_0x1e2a09[_0x2e97e3][_0x137f0c(0x410)],..._0x1e2a09[_0x2e97e3][_0x137f0c(0x225)]}},_0xa8e916={'id':_0x137f0c(0x307),'params':{'unitId':_0x1e2a09[_0x2e97e3][_0x137f0c(0x410)],..._0x1e2a09[_0x2e97e3]['redoState']}},_0x5e0347=this[_0x137f0c(0x33a)]['transformMutation'](_0x5c7e1b,_0x74c163,!0x1),_0x3a24f2=this['_transformService']['transformMutation'](_0x7bc52e,_0xa8e916,!0x1);if(_0x2fc10[_0x137f0c(0x426)](_0x5e0347))throw _0x5e0347['error'];if(_0x2fc10['isTransformMutationFailure'](_0x3a24f2))throw _0x3a24f2[_0x137f0c(0x46c)];_0x2a9ff9[_0x137f0c(0x45a)]({..._0x1e2a09[_0x2e97e3],'undoState':_0x5e0347['m2Prime'][_0x137f0c(0x222)],'redoState':_0x3a24f2[_0x137f0c(0x228)]['params']}),_0x5c7e1b=_0x5e0347[_0x137f0c(0x1f2)],_0x7bc52e=_0x3a24f2[_0x137f0c(0x1f2)];}this['_docStateChangeManagerService']['setStateCache'](_0x3de8db,{'history':_0x5e505b,'collaboration':_0x2a9ff9});}};_0x8f5da2=_0x392b70([_0x261303(0x0,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395['Injector'])),_0x261303(0x1,_0x2fc10[_0x4f4524(0x44f)]),_0x261303(0x2,_0x7d7395[_0x4f4524(0x40d)](_0x5eb1d8['DocStateChangeManagerService']))],_0x8f5da2);var _0x3a902a=Object[_0x4f4524(0x44d)],_0x571edb=(_0xb253cc,_0x17e817,_0x515ac4,_0x43b217)=>{const _0x4e051a=_0x4f4524;for(var _0x5047ff=_0x43b217>0x1?void 0x0:_0x43b217?_0x3a902a(_0x17e817,_0x515ac4):_0x17e817,_0x1a4695=_0xb253cc[_0x4e051a(0x332)]-0x1,_0x3296ae;_0x1a4695>=0x0;_0x1a4695--)(_0x3296ae=_0xb253cc[_0x1a4695])&&(_0x5047ff=_0x3296ae(_0x5047ff)||_0x5047ff);return _0x5047ff;},_0x3e6aff=(_0x4c0851,_0x197d2e)=>(_0x357127,_0xc38aec)=>_0x197d2e(_0x357127,_0xc38aec,_0x4c0851);let _0x2c1383=class{constructor(_0x28a717,_0xd90296){const _0x56617d=_0x4f4524;this[_0x56617d(0x40b)]=_0x28a717,this[_0x56617d(0x33a)]=_0xd90296;}[_0x4f4524(0x382)](_0x10467c){const _0x5764cb=_0x4f4524;var _0x421583;const _0x45d5d7=this[_0x5764cb(0x40b)]['get'](_0x1525c3[_0x5764cb(0x31c)]),_0x2855a8=(_0x421583=_0x45d5d7[_0x5764cb(0x348)]())!=null?_0x421583:[];if(_0x2855a8['length']===0x0)return;const _0x14add4=_0x10467c[_0x5764cb(0x3ef)],_0x4ebbc2=[{'id':_0x5764cb(0x307),'params':{'unitId':_0x14add4,'actions':null,'textRanges':_0x2855a8}}],_0x4a8c70=this['_transformService'][_0x5764cb(0x463)](_0x10467c,_0x4ebbc2);if(!_0x2fc10[_0x5764cb(0x3e8)](_0x4a8c70))throw _0x4a8c70[_0x5764cb(0x46c)];const _0x56de68=_0x4a8c70[_0x5764cb(0x228)][0x0][_0x5764cb(0x222)][_0x5764cb(0x2ed)];Array[_0x5764cb(0x3eb)](_0x56de68)&&_0x56de68[_0x5764cb(0x332)]&&_0x45d5d7[_0x5764cb(0x41e)](_0x56de68,{'unitId':_0x14add4,'subUnitId':_0x14add4},!0x1);}};_0x2c1383=_0x571edb([_0x3e6aff(0x0,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395[_0x4f4524(0x406)])),_0x3e6aff(0x1,_0x2fc10[_0x4f4524(0x44f)])],_0x2c1383);var _0x3972e2=Object['getOwnPropertyDescriptor'],_0x441a36=(_0x5c32d3,_0x4a05bd,_0x5856cc,_0x2432f5)=>{const _0x2c6dcf=_0x4f4524;for(var _0xff6bfc=_0x2432f5>0x1?void 0x0:_0x2432f5?_0x3972e2(_0x4a05bd,_0x5856cc):_0x4a05bd,_0x41f8c0=_0x5c32d3[_0x2c6dcf(0x332)]-0x1,_0x1463ee;_0x41f8c0>=0x0;_0x41f8c0--)(_0x1463ee=_0x5c32d3[_0x41f8c0])&&(_0xff6bfc=_0x1463ee(_0xff6bfc)||_0xff6bfc);return _0xff6bfc;},_0x54071b=(_0x5dce70,_0x17e300)=>(_0x29d1b7,_0x3358f2)=>_0x17e300(_0x29d1b7,_0x3358f2,_0x5dce70);let _0xa24eca=class extends _0x7d7395[_0x4f4524(0x36c)]{constructor(_0x246613,_0x3ccbae,_0x24a5e1,_0x4ccf04,_0x254411,_0x492f64,_0x4dcac6,_0x16a2b3){const _0x3040b8=_0x4f4524;super(),_0x4535fa(this,_0x3040b8(0x24f),new _0x24af31[(_0x3040b8(0x42f))](_0xcd8db['CollaborationStatus'][_0x3040b8(0x3c3)])),(this['_docStateChangeManagerService']=_0x246613,this[_0x3040b8(0x21c)]=_0x3ccbae,this['_docTransformIMECacheService']=_0x24a5e1,this[_0x3040b8(0x2dd)]=_0x4ccf04,this[_0x3040b8(0x460)]=_0x254411,this[_0x3040b8(0x23a)]=_0x492f64,this[_0x3040b8(0x268)]=_0x4dcac6,this[_0x3040b8(0x456)]=_0x16a2b3,this[_0x3040b8(0x358)]());}[_0x4f4524(0x358)](){const _0x4371e2=_0x4f4524;this[_0x4371e2(0x38e)](this[_0x4371e2(0x21c)][_0x4371e2(0x1ff)][_0x4371e2(0x2ef)](_0x1c8303=>{const _0x337c7f=_0x4371e2,_0x3eb369=this[_0x337c7f(0x2cd)][_0x337c7f(0x417)]['subscribe'](_0x1bc108=>{const _0x397a4f=_0x337c7f;if(_0x1bc108==null)return;const {unitId:_0xea65eb,redoState:_0x280693,commandId:_0x438050}=_0x1bc108;if(_0xea65eb!==_0x1c8303[_0x397a4f(0x3ef)])return;const _0x447e67={'id':_0x438050,'type':_0x7d7395[_0x397a4f(0x432)][_0x397a4f(0x341)],'params':{'unitId':_0xea65eb,'actions':_0x280693[_0x397a4f(0x2de)],'textRanges':null}};_0x1c8303['onLocalMutation'](_0x447e67);});if(_0x1c8303['disposeWithMe'](_0x3eb369),_0x1c8303 instanceof _0xcd8db[_0x337c7f(0x2ce)]){const _0x4b03e0={'onTransformIME':_0xeeccac=>this['_docTransformIMECacheService'][_0x337c7f(0x2f3)](_0xeeccac),'onTransformState':_0x239c6d=>this[_0x337c7f(0x2dd)]['transformStateCache'](_0x239c6d),'onTransformSelections':_0xc91651=>this[_0x337c7f(0x460)][_0x337c7f(0x382)](_0xc91651),'onSyncEditingCollabCursor':_0x3fe72b=>this[_0x337c7f(0x23a)][_0x337c7f(0x40a)](_0x3fe72b),'onTransformRemoteChangesetByIMECache':_0x34e0bc=>this['_docTransformIMECacheService'][_0x337c7f(0x402)](_0x34e0bc),'onTransformRemoteChangesetByStateCache':_0x174dfa=>this[_0x337c7f(0x2dd)][_0x337c7f(0x402)](_0x174dfa)};_0x1c8303['addHandlerCallback'](_0x4b03e0);}}));}};_0xa24eca=_0x441a36([_0x54071b(0x0,_0x7d7395[_0x4f4524(0x40d)](_0x5eb1d8[_0x4f4524(0x2cc)])),_0x54071b(0x1,_0x7d7395[_0x4f4524(0x40d)](_0xcd8db[_0x4f4524(0x32f)])),_0x54071b(0x2,_0x7d7395[_0x4f4524(0x40d)](_0x3bd767)),_0x54071b(0x3,_0x7d7395[_0x4f4524(0x40d)](_0x8f5da2)),_0x54071b(0x4,_0x7d7395[_0x4f4524(0x40d)](_0x2c1383)),_0x54071b(0x5,_0x7d7395[_0x4f4524(0x40d)](_0x4e81cb)),_0x54071b(0x6,_0x273ccb[_0x4f4524(0x41c)]),_0x54071b(0x7,_0x7d7395['Inject'](_0x7d7395[_0x4f4524(0x2a2)]))],_0xa24eca);var _0x5ea21f=Object[_0x4f4524(0x44d)],_0x5f2269=(_0x20bd5a,_0x31f388,_0x4dfd2f,_0x3ac0f3)=>{const _0x297c5a=_0x4f4524;for(var _0x3bdeba=_0x3ac0f3>0x1?void 0x0:_0x3ac0f3?_0x5ea21f(_0x31f388,_0x4dfd2f):_0x31f388,_0x412e6d=_0x20bd5a[_0x297c5a(0x332)]-0x1,_0x4fcfb6;_0x412e6d>=0x0;_0x412e6d--)(_0x4fcfb6=_0x20bd5a[_0x412e6d])&&(_0x3bdeba=_0x4fcfb6(_0x3bdeba)||_0x3bdeba);return _0x3bdeba;},_0x5d439a=(_0x4bca08,_0x586a74)=>(_0x5e001d,_0x14476f)=>_0x586a74(_0x5e001d,_0x14476f,_0x4bca08);let _0x2cc7cc=class extends _0x7d7395[_0x4f4524(0x36c)]{constructor(_0x57316e,_0x3b4f2d,_0x4ff49d){const _0xa5cdc3=_0x4f4524;super(),_0x4535fa(this,_0xa5cdc3(0x404),new Map()),_0x4535fa(this,_0xa5cdc3(0x257),new Map()),_0x4535fa(this,_0xa5cdc3(0x376),!0x1),(this['_configService']=_0x57316e,this[_0xa5cdc3(0x433)]=_0x3b4f2d,this[_0xa5cdc3(0x35e)]=_0x4ff49d);}[_0x4f4524(0x35d)](){this['_disabled']=!0x0;}[_0x4f4524(0x38f)](){const _0x2fb744=_0x4f4524;this[_0x2fb744(0x376)]=!0x1;}get[_0x4f4524(0x314)](){const _0x261aed=_0x4f4524;return this[_0x261aed(0x257)];}['dispose'](){const _0xa27dae=_0x4f4524;this[_0xa27dae(0x30a)]()['then'](()=>super[_0xa27dae(0x347)]());}async['loadOfflineData'](_0x2e7bf2){const _0x3e8af3=_0x4f4524;return this[_0x3e8af3(0x376)]?null:this[_0x3e8af3(0x433)][_0x3e8af3(0x464)](_0xcd8db[_0x3e8af3(0x469)](_0x2e7bf2));}async[_0x4f4524(0x459)](_0x5b99b1,_0x4a49ef){const _0x4cf847=_0x4f4524;return!!this['_localStorageService'][_0x4cf847(0x216)](_0x5b99b1,_0x4a49ef);}['updateOfflineData'](_0x14fc02,_0x27b824,_0x13cf29,_0x3de4ea){const _0x84ff92=_0x4f4524,_0x43b4cc=this[_0x84ff92(0x35e)][_0x84ff92(0x2cf)](_0x14fc02);this[_0x84ff92(0x404)][_0x84ff92(0x32e)](_0x14fc02,{'unitID':_0x14fc02,'type':_0x27b824,'awaitingChangeset':_0x13cf29,'mutations':_0x3de4ea,'rev':_0x43b4cc}),this['_saveTaskMap'][_0x84ff92(0x3d4)](_0x14fc02)||this['_scheduleSaving'](_0x14fc02);}[_0x4f4524(0x25f)](_0x4140d5){const _0x3e8d1c=_0x4f4524,_0x1fc1de=this['_getSaveTimeout']();_0x1fc1de===0x0?this[_0x3e8d1c(0x3b1)](_0x4140d5):this[_0x3e8d1c(0x257)][_0x3e8d1c(0x32e)](_0x4140d5,setTimeout(()=>this['_saveCache'](_0x4140d5),_0x1fc1de));}['_getSaveTimeout'](){const _0x56761f=_0x4f4524;var _0x17f01a;return(_0x17f01a=this[_0x56761f(0x42d)]['getConfig'](_0xcd8db['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x17f01a:_0xcd8db['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0x566d6d){const _0x2e485=_0x4f4524,_0x47358f=this[_0x2e485(0x257)][_0x2e485(0x455)](_0x566d6d);return _0x47358f!==void 0x0&&window['clearTimeout'](_0x47358f),this['_localStorageService']['setItem'](_0xcd8db['getLocalCacheKey'](_0x566d6d),this['_cachedData']['get'](_0x566d6d))['then'](()=>this[_0x2e485(0x257)]['delete'](_0x566d6d));}async['exhaustSavingTask'](){const _0x807609=_0x4f4524,_0x33a32f=[];this[_0x807609(0x257)]['forEach']((_0x153cb2,_0x438d20)=>{const _0xedf3a3=_0x807609;window[_0xedf3a3(0x285)](_0x153cb2),_0x33a32f[_0xedf3a3(0x250)](this[_0xedf3a3(0x3b1)](_0x438d20)['then'](()=>{const _0x59bdca=_0xedf3a3;this[_0x59bdca(0x257)]['delete'](_0x438d20);}));}),await Promise[_0x807609(0x26e)](_0x33a32f);}};_0x2cc7cc=_0x5f2269([_0x5d439a(0x0,_0x7d7395[_0x4f4524(0x345)]),_0x5d439a(0x1,_0x7d7395[_0x4f4524(0x233)]),_0x5d439a(0x2,_0x7d7395[_0x4f4524(0x40d)](_0x2fc10[_0x4f4524(0x42a)]))],_0x2cc7cc);class _0x17a93b extends _0x7d7395[_0x4f4524(0x36e)]{constructor(){const _0x4fdba7=_0x4f4524;super(),_0x4535fa(this,_0x4fdba7(0x31b)),this['urlChange$']=_0x24af31[_0x4fdba7(0x3bd)](window,_0x4fdba7(0x2d5))[_0x4fdba7(0x475)](_0x24af31[_0x4fdba7(0x41d)](this[_0x4fdba7(0x3b9)]),_0x24af31[_0x4fdba7(0x32d)](0x1),_0x24af31[_0x4fdba7(0x446)](void 0x0));}[_0x4f4524(0x313)](_0x1d914e,_0x327acf,_0x3072a0=!0x1){const _0x5961ef=_0x4f4524,_0x244f2f=new URL(window['location'][_0x5961ef(0x276)]);_0x244f2f[_0x5961ef(0x423)][_0x5961ef(0x32e)](_0x1d914e,_0x327acf),_0x3072a0?window[_0x5961ef(0x2a9)][_0x5961ef(0x259)]('','',_0x244f2f[_0x5961ef(0x3dc)]()):window[_0x5961ef(0x2a9)][_0x5961ef(0x3f1)]('','',_0x244f2f['toString']());}[_0x4f4524(0x35a)](_0x23f469,_0x220901=!0x1){const _0x86dc7a=_0x4f4524,_0x17fc26=new URL(window[_0x86dc7a(0x2a6)][_0x86dc7a(0x276)]);_0x17fc26['searchParams']['delete'](_0x23f469),_0x220901?window[_0x86dc7a(0x2a9)]['replaceState']('','',_0x17fc26[_0x86dc7a(0x3dc)]()):window['history'][_0x86dc7a(0x3f1)]('','',_0x17fc26[_0x86dc7a(0x3dc)]());}[_0x4f4524(0x442)](_0x5bcf2a){const _0x49f231=_0x4f4524;var _0x1e716b;return(_0x1e716b=new URL(window[_0x49f231(0x2a6)][_0x49f231(0x276)])[_0x49f231(0x423)][_0x49f231(0x455)](_0x5bcf2a))!=null?_0x1e716b:void 0x0;}}var _0x221a07=Object['defineProperty'],_0x5829f5=Object[_0x4f4524(0x44d)],_0x26e757=(_0x25962e,_0x219e79,_0x4eddf7)=>_0x219e79 in _0x25962e?_0x221a07(_0x25962e,_0x219e79,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4eddf7}):_0x25962e[_0x219e79]=_0x4eddf7,_0x51b230=(_0x22f347,_0x30ca28,_0x49892d,_0x22c897)=>{for(var _0x55391d=_0x22c897>0x1?void 0x0:_0x22c897?_0x5829f5(_0x30ca28,_0x49892d):_0x30ca28,_0x259bf0=_0x22f347['length']-0x1,_0x8b9840;_0x259bf0>=0x0;_0x259bf0--)(_0x8b9840=_0x22f347[_0x259bf0])&&(_0x55391d=_0x8b9840(_0x55391d)||_0x55391d);return _0x55391d;},_0x2a6c60=(_0x276cf7,_0x1de66a)=>(_0x13ddde,_0xabf45c)=>_0x1de66a(_0x13ddde,_0xabf45c,_0x276cf7),_0x3c984a=(_0x582444,_0x525443,_0x2c3704)=>_0x26e757(_0x582444,_0x525443+'',_0x2c3704);const _0x46d493=_0x4f4524(0x291);_0x4cceb3[_0x4f4524(0x2f4)]=class extends _0x7d7395[_0x4f4524(0x1f1)]{constructor(_0x34410a=_0x40ad9b,_0x1e8443,_0x5571f9,_0x543032){const _0x407058=_0x4f4524;super(),this[_0x407058(0x431)]=_0x34410a,this[_0x407058(0x360)]=_0x1e8443,this[_0x407058(0x40b)]=_0x5571f9,this['_configService']=_0x543032;const {..._0x3bb1c5}=_0x7d7395[_0x407058(0x3e3)]({},_0x40ad9b,this[_0x407058(0x431)]);this[_0x407058(0x42d)][_0x407058(0x2c1)](_0x542c2f,_0x3bb1c5);}[_0x4f4524(0x45f)](){const _0x15ebf0=_0x4f4524;this[_0x15ebf0(0x2d4)](),this[_0x15ebf0(0x344)]();}['onRendered'](){const _0x232d6b=_0x4f4524;this[_0x232d6b(0x3ed)]();}[_0x4f4524(0x2d4)](){const _0x521118=_0x4f4524;var _0x18865b;const _0x1b9c37=[[_0x1cb796],[_0x2c1383],[_0x3bd767],[_0x8f5da2],[_0x4e81cb],[_0x557455,{'useClass':_0x17a93b}],[_0x45113e[_0x521118(0x378)],{'useClass':_0x45113e[_0x521118(0x211)]}],[_0xcd8db[_0x521118(0x443)],{'useClass':_0x2cc7cc}],[_0x4cceb3['DesktopCollaborationStatusDisplayController']],[_0xa24eca],[_0x3f6263],[_0x42f641],[_0x270b59],[_0x4cceb3[_0x521118(0x322)]]];_0x7d7395[_0x521118(0x30c)](this['_injector'],_0x7d7395[_0x521118(0x2c5)](_0x1b9c37,(_0x18865b=this['_config'])==null?void 0x0:_0x18865b[_0x521118(0x3d6)]));}[_0x4f4524(0x3ed)](){const _0x3aa9dd=_0x4f4524;this[_0x3aa9dd(0x38e)](this[_0x3aa9dd(0x360)][_0x3aa9dd(0x1e7)](_0x7d7395['UniverInstanceType'][_0x3aa9dd(0x38b)],[_0xcd79ae])),this[_0x3aa9dd(0x38e)](this['_renderManagerService'][_0x3aa9dd(0x1e7)](_0x7d7395[_0x3aa9dd(0x342)]['UNIVER_SHEET'],[_0x46a2ee]));}[_0x4f4524(0x344)](){const _0x2093d4=_0x4f4524;_0x7d7395[_0x2093d4(0x26b)](this['_injector'],[[_0x42f641],[_0x4cceb3['DesktopCollaborationStatusDisplayController']],[_0xa24eca],[_0x3f6263],[_0x4cceb3['CollaborationDataLoaderController']]]);}},_0x3c984a(_0x4cceb3[_0x4f4524(0x2f4)],'pluginName',_0x46d493),_0x4cceb3[_0x4f4524(0x2f4)]=_0x51b230([_0x7d7395[_0x4f4524(0x3d8)](_0xcd8db[_0x4f4524(0x37f)]),_0x2a6c60(0x1,_0x1335eb[_0x4f4524(0x40c)]),_0x2a6c60(0x2,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395[_0x4f4524(0x406)])),_0x2a6c60(0x3,_0x7d7395[_0x4f4524(0x345)])],_0x4cceb3[_0x4f4524(0x2f4)]);var _0x10f49c=Object[_0x4f4524(0x44d)],_0x4ac7e4=(_0x16dcb7,_0x10502f,_0x34c2df,_0x4ea905)=>{const _0x30ffa3=_0x4f4524;for(var _0x4194e8=_0x4ea905>0x1?void 0x0:_0x4ea905?_0x10f49c(_0x10502f,_0x34c2df):_0x10502f,_0x525db3=_0x16dcb7[_0x30ffa3(0x332)]-0x1,_0x4b4e9b;_0x525db3>=0x0;_0x525db3--)(_0x4b4e9b=_0x16dcb7[_0x525db3])&&(_0x4194e8=_0x4b4e9b(_0x4194e8)||_0x4194e8);return _0x4194e8;},_0x4bbe04=(_0x3de84e,_0x55ac59)=>(_0x510a99,_0x435e57)=>_0x55ac59(_0x510a99,_0x435e57,_0x3de84e);_0x4cceb3['BrowserCollaborationSocketService']=class extends _0xcd8db['CollaborationSocketService']{constructor(_0x4514e7,_0x1240b1,_0x75e652,_0x2f70ac,_0x37c9e0){super(_0x4514e7,_0x1240b1,_0x75e652,_0x2f70ac,_0x37c9e0);}async['createSocket'](_0x2f4ce5){const _0x1b2471=_0x4f4524,_0x4982e1=await this[_0x1b2471(0x248)](),_0x4c3585=this[_0x1b2471(0x300)](_0x2f4ce5,_0x4982e1);return this[_0x1b2471(0x3b2)](_0x4c3585);}[_0x4f4524(0x300)](_0x14b108,_0x230d36){const _0x4e7473=_0x4f4524,_0x2cd1a2=typeof window>'u'?new URL(_0x14b108):new URL(_0x14b108,window[_0x4e7473(0x2a6)][_0x4e7473(0x374)]);_0x2cd1a2[_0x4e7473(0x423)]['set']('sessionTicket',_0x230d36);const _0x199198=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x4e7473(0x357)]);return _0x199198['get']('runId')&&_0x2cd1a2[_0x4e7473(0x423)][_0x4e7473(0x32e)](_0x4e7473(0x247),_0x199198['get'](_0x4e7473(0x247))),_0x2cd1a2[_0x4e7473(0x3dc)]();}async[_0x4f4524(0x248)](){const _0x329579=_0x4f4524;var _0x3a6484,_0x47ccb8,_0x2f5326;const _0x44c076=this[_0x329579(0x42d)][_0x329579(0x245)](_0xcd8db[_0x329579(0x45d)]),_0x1e6852=(_0x3a6484=_0x44c076==null?void 0x0:_0x44c076['wsSessionTicketUrl'])!=null?_0x3a6484:_0xcd8db[_0x329579(0x353)];return(_0x2f5326=(_0x47ccb8=(await this[_0x329579(0x25a)][_0x329579(0x455)](_0x1e6852,{'headers':{'Content-Type':_0x329579(0x2fa)}}))[_0x329579(0x46b)])==null?void 0x0:_0x47ccb8['ticket'])!=null?_0x2f5326:'';}},_0x4cceb3[_0x4f4524(0x350)]=_0x4ac7e4([_0x4bbe04(0x0,_0x7d7395[_0x4f4524(0x40d)](_0x7d7395['Injector'])),_0x4bbe04(0x1,_0x7d7395[_0x4f4524(0x40d)](_0x45113e['HTTPService'])),_0x4bbe04(0x2,_0x7d7395[_0x4f4524(0x345)]),_0x4bbe04(0x3,_0x7d7395[_0x4f4524(0x333)]),_0x4bbe04(0x4,_0x2fc10[_0x4f4524(0x439)])],_0x4cceb3['BrowserCollaborationSocketService']);const _0x4d1820=0x7530,_0x4205e1=_0x4f4524(0x3b0);class _0x3fefdb extends _0x7d7395[_0x4f4524(0x36c)]{constructor(){const _0x4c25c3=_0x4f4524;super(),_0x4535fa(this,_0x4c25c3(0x271),_0x7d7395['generateRandomId']()),_0x4535fa(this,'_selfUnitIDs',new Set()),_0x4535fa(this,_0x4c25c3(0x373),new Map()),_0x4535fa(this,_0x4c25c3(0x29a),null),_0x4535fa(this,_0x4c25c3(0x201),new Map()),_0x4535fa(this,_0x4c25c3(0x2da),new Map()),this[_0x4c25c3(0x1e4)]();}[_0x4f4524(0x347)](){const _0x271bfb=_0x4f4524;super[_0x271bfb(0x347)](),this[_0x271bfb(0x201)][_0x271bfb(0x23f)]((_0x4fb076,_0x3d396f)=>this[_0x271bfb(0x3c6)](_0x3d396f)),this[_0x271bfb(0x29a)]&&window['clearInterval'](this[_0x271bfb(0x29a)]);}[_0x4f4524(0x2e5)](_0x2e9532){const _0x584150=_0x4f4524;return this[_0x584150(0x2ac)](_0x2e9532)['pipe'](_0x24af31[_0x584150(0x319)]());}[_0x4f4524(0x413)](_0x118c90){const _0x517ff3=_0x4f4524;this[_0x517ff3(0x3d3)][_0x517ff3(0x41b)]===0x0&&this[_0x517ff3(0x2f1)](),this[_0x517ff3(0x3d3)][_0x517ff3(0x203)](_0x118c90),this[_0x517ff3(0x43e)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x118c90],'isForwarded':!0x1});}[_0x4f4524(0x26c)](_0x5aff06){const _0x23675b=_0x4f4524;this[_0x23675b(0x3d3)][_0x23675b(0x421)](_0x5aff06),this['_selfUnitIDs']['size']===0x0&&this[_0x23675b(0x29a)]&&window[_0x23675b(0x395)](this['_heartbeatTimer']);}['_init'](){const _0x455b71=_0x4f4524;this[_0x455b71(0x38e)](_0x7d7395['toDisposable'](_0x24af31[_0x455b71(0x3bd)](window,_0x455b71(0x3b7))[_0x455b71(0x2ef)](_0x1ee220=>{const _0x510d37=_0x455b71;if(_0x1ee220['key']!==_0x4205e1||!_0x1ee220[_0x510d37(0x45b)])return;const _0x2a4e5d=JSON[_0x510d37(0x380)](_0x1ee220[_0x510d37(0x45b)]);this[_0x510d37(0x444)](_0x2a4e5d);}))),window['addEventListener']('unload',()=>this[_0x455b71(0x43e)]({'type':0x1,'memberID':this[_0x455b71(0x271)],'unitIDs':Array[_0x455b71(0x3f3)](this[_0x455b71(0x3d3)])}));}['_handleEvent'](_0x17ff6b){const _0x1f6520=_0x4f4524;switch(_0x17ff6b[_0x1f6520(0x213)]){case 0x0:this[_0x1f6520(0x2ee)](_0x17ff6b);break;case 0x1:this[_0x1f6520(0x39e)](_0x17ff6b);break;case 0x2:this[_0x1f6520(0x1f5)](_0x17ff6b);break;}}['_handleJoinEvent'](_0xf2edbb){const _0x45fc78=_0x4f4524,{unitIDs:_0x185661,memberID:_0x985d2c,isForwarded:_0x41b573}=_0xf2edbb;_0x185661[_0x45fc78(0x23f)](_0x379a1b=>{const _0x30adcb=_0x45fc78;if(!_0x41b573&&this[_0x30adcb(0x373)][_0x30adcb(0x3d4)](_0x379a1b)&&this[_0x30adcb(0x2ac)](_0x379a1b)[_0x30adcb(0x1e8)](_0xcd8db[_0x30adcb(0x2dc)][_0x30adcb(0x275)]),!this[_0x30adcb(0x373)][_0x30adcb(0x3d4)](_0x379a1b)||!this['_unitOnClients']['get'](_0x379a1b)[_0x30adcb(0x3d4)](_0x985d2c)){const _0x472827=this[_0x30adcb(0x373)][_0x30adcb(0x455)](_0x379a1b)||new Set();_0x472827[_0x30adcb(0x203)](_0x985d2c),this['_unitOnClients'][_0x30adcb(0x32e)](_0x379a1b,_0x472827),this[_0x30adcb(0x44c)](_0x985d2c);}}),_0x41b573||this[_0x45fc78(0x43e)]({'type':0x0,'memberID':this[_0x45fc78(0x271)],'unitIDs':[...this[_0x45fc78(0x3d3)]],'isForwarded':!0x0});}[_0x4f4524(0x44c)](_0xcc2b7){const _0x1d8039=_0x4f4524;this[_0x1d8039(0x3c6)](_0xcc2b7);const _0x5400b6=window['setTimeout'](()=>{const _0x4719d0=_0x1d8039;this[_0x4719d0(0x373)]['forEach'](_0x1c1a7e=>{const _0x4f368f=_0x4719d0;_0x1c1a7e[_0x4f368f(0x421)](_0xcc2b7);});},_0x4d1820*0x2);this['_clearOtherTimers'][_0x1d8039(0x32e)](_0xcc2b7,_0x5400b6);}[_0x4f4524(0x3c6)](_0x526e13){const _0x1ad046=_0x4f4524;if(this[_0x1ad046(0x201)][_0x1ad046(0x3d4)](_0x526e13)){const _0x4bba3b=this[_0x1ad046(0x201)]['get'](_0x526e13);_0x4bba3b&&window[_0x1ad046(0x285)](_0x4bba3b),this[_0x1ad046(0x201)][_0x1ad046(0x32e)](_0x526e13,null);}}[_0x4f4524(0x39e)](_0x38dac7){const _0x5abcaa=_0x4f4524,{memberID:_0x16d994,unitIDs:_0x4cf391}=_0x38dac7;_0x4cf391[_0x5abcaa(0x23f)](_0x382368=>{const _0xfc48b=_0x5abcaa;var _0x506b09;const _0x10e612=this[_0xfc48b(0x373)]['get'](_0x382368);_0x10e612&&(_0x10e612[_0xfc48b(0x421)](_0x16d994),(_0x506b09=this[_0xfc48b(0x2ac)](_0x382368))==null||_0x506b09[_0xfc48b(0x1e8)](_0x10e612[_0xfc48b(0x41b)]===0x0?_0xcd8db['UnitStatus'][_0xfc48b(0x422)]:_0xcd8db[_0xfc48b(0x2dc)][_0xfc48b(0x275)]));}),this[_0x5abcaa(0x3c6)](_0x16d994);}['_handleHeartbeatEvent'](_0x2b8d7e){const _0x4f3356=_0x4f4524;this[_0x4f3356(0x44c)](_0x2b8d7e[_0x4f3356(0x2cb)]);}[_0x4f4524(0x43e)](_0x2ef71b){const _0x492371=_0x4f4524;localStorage[_0x492371(0x216)](_0x4205e1,JSON[_0x492371(0x3a2)](_0x2ef71b));}[_0x4f4524(0x2f1)](){const _0x5981af=_0x4f4524;this['_heartbeatTimer']=window[_0x5981af(0x1f8)](()=>{const _0x2dac78=_0x5981af;this[_0x2dac78(0x43e)]({'type':0x2,'memberID':this['_id']});},_0x4d1820);}['_ensureSubject'](_0x365b3d){const _0x2f3f60=_0x4f4524;return this[_0x2f3f60(0x2da)][_0x2f3f60(0x3d4)](_0x365b3d)||this[_0x2f3f60(0x2da)][_0x2f3f60(0x32e)](_0x365b3d,new _0x24af31[(_0x2f3f60(0x42f))](_0xcd8db[_0x2f3f60(0x2dc)][_0x2f3f60(0x422)])),this['_unitStatus'][_0x2f3f60(0x455)](_0x365b3d);}}var _0x237c88=(_0x431918=>(_0x431918[_0x431918[_0x4f4524(0x2a8)]=0x0]=_0x4f4524(0x2a8),_0x431918[_0x431918['OK']=0x1]='OK',_0x431918[_0x431918[_0x4f4524(0x354)]=0x2]=_0x4f4524(0x354),_0x431918[_0x431918[_0x4f4524(0x2b4)]=0x3]=_0x4f4524(0x2b4),_0x431918[_0x431918[_0x4f4524(0x3bb)]=0x4]='NOT_FOUND',_0x431918[_0x431918[_0x4f4524(0x263)]=0x5]=_0x4f4524(0x263),_0x431918[_0x431918[_0x4f4524(0x310)]=0x6]=_0x4f4524(0x310),_0x431918[_0x431918[_0x4f4524(0x29f)]=0x7]='INVALID_ARGUMENT',_0x431918[_0x431918[_0x4f4524(0x41f)]=0x8]=_0x4f4524(0x41f),_0x431918[_0x431918[_0x4f4524(0x2b8)]=0x9]=_0x4f4524(0x2b8),_0x431918[_0x431918[_0x4f4524(0x35f)]=0xa]=_0x4f4524(0x35f),_0x431918[_0x431918[_0x4f4524(0x33c)]=0x1389]=_0x4f4524(0x33c),_0x431918[_0x431918['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x431918[_0x431918[_0x4f4524(0x3fc)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x431918[_0x431918[_0x4f4524(0x22b)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x431918[_0x431918['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x431918[_0x431918['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4f4524(0x1ea),_0x431918[_0x431918[_0x4f4524(0x44a)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x431918[_0x431918['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4f4524(0x3b3),_0x431918[_0x431918[_0x4f4524(0x2b9)]=0x1b5d]=_0x4f4524(0x2b9),_0x431918[_0x431918[_0x4f4524(0x472)]=0x1f41]=_0x4f4524(0x472),_0x431918[_0x431918[_0x4f4524(0x428)]=0x2329]=_0x4f4524(0x428),_0x431918[_0x431918['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x431918[_0x431918['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x431918[_0x431918[_0x4f4524(0x31a)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x431918[_0x431918['LICENSE_DISTRO_REJECTED']=0x232d]=_0x4f4524(0x3cb),_0x431918[_0x431918[_0x4f4524(0x28c)]=0x2711]=_0x4f4524(0x28c),_0x431918[_0x431918[_0x4f4524(0x3aa)]=0x2712]=_0x4f4524(0x3aa),_0x431918[_0x431918[_0x4f4524(0x30e)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x431918[_0x431918[_0x4f4524(0x397)]=0x2714]=_0x4f4524(0x397),_0x431918[_0x431918[_0x4f4524(0x21b)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x431918[_0x431918['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4f4524(0x368),_0x431918[_0x431918[_0x4f4524(0x283)]=0x2ee2]=_0x4f4524(0x283),_0x431918[_0x431918[_0x4f4524(0x3a0)]=0x2ee3]=_0x4f4524(0x3a0),_0x431918[_0x431918['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x431918[_0x431918[_0x4f4524(0x31f)]=0x2ee5]=_0x4f4524(0x31f),_0x431918[_0x431918['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x4f4524(0x335),_0x431918[_0x431918[_0x4f4524(0x2fb)]=0x32ca]=_0x4f4524(0x2fb),_0x431918[_0x431918[_0x4f4524(0x399)]=0x32cb]=_0x4f4524(0x399),_0x431918[_0x431918[_0x4f4524(0x23b)]=-0x1]=_0x4f4524(0x23b),_0x431918))(_0x237c88||{}),_0x2c1845=Object['getOwnPropertyDescriptor'],_0x1046fb=(_0xedd4bc,_0x30faf7,_0x3fa659,_0x328ec8)=>{const _0x85f96e=_0x4f4524;for(var _0xf17cd4=_0x328ec8>0x1?void 0x0:_0x328ec8?_0x2c1845(_0x30faf7,_0x3fa659):_0x30faf7,_0x1d361e=_0xedd4bc[_0x85f96e(0x332)]-0x1,_0x423e93;_0x1d361e>=0x0;_0x1d361e--)(_0x423e93=_0xedd4bc[_0x1d361e])&&(_0xf17cd4=_0x423e93(_0xf17cd4)||_0xf17cd4);return _0xf17cd4;},_0x4c0ad6=(_0x3fe15d,_0x5279b2)=>(_0x43aec7,_0x7c5d31)=>_0x5279b2(_0x43aec7,_0x7c5d31,_0x3fe15d);_0x4cceb3['RemoteUniscriptService']=class extends _0x7d7395[_0x4f4524(0x36c)]{constructor(_0x2d5dbb,_0x218b46,_0x4484d4){const _0x545ae7=_0x4f4524;super(),this[_0x545ae7(0x32b)]=_0x2d5dbb,this[_0x545ae7(0x25a)]=_0x218b46,this[_0x545ae7(0x42d)]=_0x4484d4;}async[_0x4f4524(0x281)](_0x4ea4ec,_0x38783f,_0x27f64f,..._0x232ac9){const _0x3d5d5d=_0x4f4524;var _0x5d0f55,_0x4ef0c1,_0x4ab502,_0x5383b1;const _0x5a02c=this[_0x3d5d5d(0x32b)][_0x3d5d5d(0x2bc)]();if(!_0x5a02c)throw new Error(_0x3d5d5d(0x3f9));const _0x5aa95c=((_0x5d0f55=this[_0x3d5d5d(0x42d)][_0x3d5d5d(0x245)](_0xcd8db[_0x3d5d5d(0x3d9)]))!=null?_0x5d0f55:_0xcd8db[_0x3d5d5d(0x229)])+'/'+_0x4ea4ec+'/run/'+_0x38783f,_0x2ce0dd=new URL(window[_0x3d5d5d(0x2a6)]['href']),_0xe95da8={'scriptId':_0x4ea4ec,'runId':(_0x4ef0c1=_0x2ce0dd[_0x3d5d5d(0x423)]['get'](_0x3d5d5d(0x247)))!=null?_0x4ef0c1:'','function':_0x38783f,'unitId':_0x5a02c[_0x3d5d5d(0x36d)](),'argsOfFunction':JSON[_0x3d5d5d(0x3a2)](_0x232ac9),'invokeId':(_0x4ab502=_0x27f64f[_0x3d5d5d(0x321)])!=null?_0x4ab502:'','executionId':(_0x5383b1=_0x27f64f[_0x3d5d5d(0x2ad)])!=null?_0x5383b1:''};try{const _0x506bc9=await this[_0x3d5d5d(0x25a)][_0x3d5d5d(0x403)](_0x5aa95c,{'body':_0xe95da8});return _0x506bc9['body'][_0x3d5d5d(0x46c)]&&_0x506bc9[_0x3d5d5d(0x46b)]['error'][_0x3d5d5d(0x2c6)]!==_0x237c88['OK']?_0x3d5d5d(0x3ea):_0x506bc9['body']['result'];}catch{return _0x3d5d5d(0x3ea);}}},_0x4cceb3[_0x4f4524(0x351)]=_0x1046fb([_0x4c0ad6(0x0,_0x7d7395[_0x4f4524(0x2ea)]),_0x4c0ad6(0x1,_0x7d7395['Inject'](_0x45113e[_0x4f4524(0x392)])),_0x4c0ad6(0x2,_0x7d7395[_0x4f4524(0x345)])],_0x4cceb3[_0x4f4524(0x351)]),_0x4cceb3[_0x4f4524(0x474)]=_0x13fcf2,_0x4cceb3[_0x4f4524(0x415)]=_0x557455,_0x4cceb3[_0x4f4524(0x471)]=_0x5cd145,_0x4cceb3[_0x4f4524(0x3f4)]=_0x3fefdb,_0x4cceb3[_0x4f4524(0x2d8)]=_0x17a93b,Object[_0x4f4524(0x390)](_0x4cceb3,Symbol[_0x4f4524(0x359)],{'value':_0x4f4524(0x448)});}));function _0x25fd(_0x542a67,_0x2cb157){const _0x50cafb=_0x50ca();return _0x25fd=function(_0x25fda3,_0x4cc820){_0x25fda3=_0x25fda3-0x1e1;let _0x16805e=_0x50cafb[_0x25fda3];return _0x16805e;},_0x25fd(_0x542a67,_0x2cb157);}function _0x50ca(){const _0x297aad=['SUBMIT_CHANGESET_TIMEOUT','currentTheme$','distinctUntilChanged','LICENSE_EXPORT_SIZE_EXCEEDED','urlChange$','DocSelectionManagerService','Workbook','extend','INVITE_CODE_ALREADY_BOUND','UniverIcon','invokeId','CollaborationDataLoaderController','_onRefRangeChange','red300','AWAITING','_themeService','function','executeCommand','_roomMembers$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_instanceService','prototype','shareReplay','set','CollaborationController','cursorInfo$','getCollabEntity$','length','ILogService','_syncEditingCollabCursorService','WECHAT_HAS_BEEN_BOUND','drawWith','addClipboardHook','getActiveSheet','UniverDrawing','_transformService','find','CHANGESET_REVISION_CONFILICT','uni.network.url-service','@univerjs/design','InsertColCommandId','handleInsertRangeMoveRight','MUTATION','UniverInstanceType','requireSession','_initDependencies','IConfigService','top','dispose','getDocRanges','handleInsertCol','substring','TEXT_RANGE_LAYER_INDEX','init','sessionStatus$','_labelPosition','connectInjector','BrowserCollaborationSocketService','RemoteUniscriptService','_anchor','DEFAULT_WS_SESSION_TICKET_URL','INTERNAL_ERROR','sheetID','MessageType','search','_initEntityListener','toStringTag','removeParam','_updateCollabCursors','subunit','disableLocalCache','_revisionService','LOGIN_FAILED','_renderManagerService','attrs','collabStatus.fetchMiss','onPointerLeave$','_context','getTypeOfUnitAdded$','handleMoveRange','whenReady','INVITE_CODE_HAS_BEEN_UES','CollaborationStatus','PENDING','resize','Disposable','getUnitId','RxDisposable','SOCKET_FAILED_RETRY','exports','_collaborationUIEventService','_render','_unitOnClients','origin','TEXT','_disabled','path','ISocketService','collabStatus.conflict','Subject','flatMap','_notificationService','online','ColorKit','UniverCollaborationClientPlugin','parse','clipPath','transformSelections','icon','DisposableCollection','RegularPolygon','min','activeSheet$','11461920oLICth','5172681shxMOg','collaboration-client-ui.config','UNIVER_DOC','eventID','_refreshCollabCursors','disposeWithMe','enableLocalCache','defineProperty','useRef','HTTPService','SetSelectionsOperation','@univerjs/core','clearInterval','lineTo','YUUMI_SUBSCRIPTION_NOT_FOUND','split','EMAIL_HAS_BEEN_BOUND','_session','IDocClipboardService','BuiltInUIPart','getSheetId','_handleLeaveEvent','current','INVITE_CODE_REQUIRED','univer-online','stringify','SheetsSelectionsService','@univerjs/engine-render','off-line-single','permission.content','InsertRangeMoveRightCommandId','measureText','getTypeOfUnitDisposed$','YUUMI_URL_COL_OUT_OF_RANGE','mutations','IBeforeCloseService','RECT','FETCH_MISS','NodePositionConvertToRectRange','ACTIVE_UNIT_EVENT_CHANNEL','_saveCache','_doCreateSocket','APPLY_PERMISSION_DENIED','_urlService','round','_collabCursorState$','storage','0\x200\x2017\x2016','dispose$','Rect','NOT_FOUND','582433LEkaYu','fromEvent','mask','rxjs','CollaborationUIEventService','idSuffix','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','NOT_COLLAB','getMember','collab-rect-range-','_removeClearOtherTimer','map','RemoveColCommandId','13155541eRDCPg','symbol','LICENSE_DISTRO_REJECTED','UniverCore','cursorInfo','handleDeleteRangeMoveLeft','@univerjs/network','RemoveRowCommandId','backgroundColor','react','_selfUnitIDs','has','_getScale','override','_entities','DependentOn','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','univer-online-status-icon','_uiPartsService','toString','subscribeEvent','COLORS','onCommandExecuted','handleIRemoveRow','endColumn','RefRangeService','merge','useCallback','CLOSE_ROOM','_startDocCollabCursor','getRelativeToViewportCoord','isTransformMutationsWithChangesetSuccess','replace','Failed','isArray','getValue','_registerRenderDependencies','collabStatus.syncing','unitID','getColor','pushState','Vector2','from','WebBrowserSingleActiveUnitService','_initStatusListener','displayName','@univerjs-pro/collaboration-client','InsertRowCommandId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','UniverSheetsUi','univer-flex\x20univer-items-center','SNAPSHOT_HAS_BEEN_REMOVED','show','font','propertyIsEnumerable','addObjects','getRenderById','transformRemoteChangeset','post','_cachedData','_draw','Injector','purple300','useObservable','_docClipboardService','syncEditingCollabCursor','_injector','IRenderManagerService','Inject','debounce','createIdentifier','unitId','_colorIndex','off-line-single_clip0_910_343','editingUnit','session.collaboration-timeout','IURLService','getActiveRange','docStateChange$','collaboration.single-unit.warning','none','SHEET_VIEWPORT_KEY','size','IMessageService','takeUntil','replaceDocRanges','TOO_MANY_REQUESTS','moveTo','delete','NO_OTHER_CLIENTS_EDITING','searchParams','_initResize','_cursorShapes','isTransformMutationFailure','univer-online-status-title','LICENSE_MAX_UNITS_EXCEEDED','SessionStatus','RevisionService','startsWith','58242609jrtlFS','_configService','_initCommandExecutedListener','BehaviorSubject','hasOwnProperty','_config','CommandType','_localStorageService','MemberService','rgba(255,\x20255,\x20255,\x200.01)','_refRangeService','_document','jsxs','ISnapshotServerService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_memberService','OTHER_CLIENT_EDITING','name','_send','getMergeData','SheetSkeletonManagerService','FromArray','getParam','ILocalCacheService','_handleEvent','blue400','mapTo','@univerjs/rpc','Module','DOC_RANGE_TYPE','APPLY_REVISION_CONFILICT','UniverDesign','_scheduleClearOtherTimer','getOwnPropertyDescriptor','arc','ITransformService','concat','xlink:href','_getSheetObject','getVpScrollXYInfoByPosToVp','hide','get','_localeService','values','UniverUi','saveOfflineData','unshift','newValue','rxjs/operators','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UPDATE_CURSOR','onStarting','_docTransformSelectionsService','DocIMEInputManagerService','generateRandomId','transformMutationsWithChangeset','getItem','combineLatest','DeleteRangeMoveLeftCommandId','Error','handleIRemoveCol','getLocalCacheKey','_localCacheService','body','error','column','_drawRectRange','max','ranges','SheetCollabCursorShape','CONNECTOR_DATA_TOO_LARGE','CollaborationSessionService','CollaborationStatusDisplay','pipe','UniverProCollaboration','gold400','handleDeleteRangeMoveUp','collaboration-client.offline-data-not-saved','_init','_updateSubUnitFromURLParams','indexOf','registerRenderModule','next','collabStatus.notCollab','APPLY_NON_SEQUENTIAL_REVISION','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','collaboration.closeRoom','getCurrent','assignAColorForMemberID','[CollaborationDataLoaderController]','fill','Plugin','m1Prime','M0\x200H16V16H0z','collabStatus.offline','_handleHeartbeatEvent','_docSkeletonManagerService','row','setInterval','url(#$1','div','getCoordByCell','data','createElement','status$','entityInit$','_toggleOnline','_clearOtherTimers','Tools','add','UniverNetwork','string','onPointerMove$','registerBeforeClose','getSheetObject','_drawTextRange','_removeCollabCursors','translate(.97)','_setupSubUnitSync','setAlpha','_getAnchorBounding','getOwnPropertySymbols','_toggleOffline','WebSocketService','@univerjs/sheets-ui','type','getViewport','bottom','setItem','_transformPreviousActiveRange','collab-client.tooltip.reconnect','defIds','on-line-single_clip0_910_349','PY_RUNTIME_SCRIPT_ERROR','_collaborationController','children','collab-text-anchor-','_cursor','endRow','some','params','getUnhiddenWorksheets','random','undoState','ICommandService','SetWorksheetActivateCommand','m2Prime','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','@univerjs-pro/collaboration','ENSURE_SNAPSHOT_EXECUTION','10WtNBjv','url(#on-line-single_clip0_910_349)','RichTextEditingMutation','EffectRefRangId','findNodePositionByCharIndex','UniverDocsUi','_onCursorUpdate','ILocalStorageService','forwardRef','1em','_univerInstanceService','UniverProCollaborationClientUi','addObject','UniverSheets','_docSyncEditingCollabCursorService','UNRECOGNIZED','_entityInit$','onlineStatusIcon','_range','forEach','call','startRow','univer-offline','range','colorChannel1','getConfig','getCurrentSelections','runId','_getSessionTicket','beginPath','@univerjs/ui','source','transformMutation','_transformHistoryAndStateStack','@univerjs/engine-formula','_status$','push','_eventUnsubscribe','runRefRangeMutations','6vQfNAA','black','_sheetSkeletonManagerService','jsx','_saveTaskMap','OFFLINE','replaceState','_httpService','fillText','subUnitId','color','restore','_scheduleSaving','SetDocZoomRatioOperation','hovered','DataLoaderService','UNAUTHENTICATED','_cursorInfo$','4UjkzcM','_hovered','getCurrentUnitForType','_messageService','fillStyle','className','touchDependencies','disposeUnit','operators','all','_color','_beforeCloseService','_id','_anchorDot','_updateURLWithCurrentState','UniverProCollaborationClient','OTHER_CLIENTS_EDITING','href','redoState','_online','roomMembers','assign','_logService','handleInsertRow','complete','contains','Shape','Warning','runOnServer','defs','INVALID_INVITE_CODE','_collabSessionService','clearTimeout','getSkeleton','onTransformChange$','registerRefRange','Unknown\x20user','closePath','height','YUUMI_UNABLE_LOAD_URL','_getMergeRange','currentColor','_imageIoService','USERS_LEAVE','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_cursors','use','1001912OwIgGz','UNIVER_SHEET','session.will-retry','session.connection-failed','labelPosition','object','_heartbeatTimer','tag','clsx','registerComponent','text','INVALID_ARGUMENT','_shapes','_updateLocalCursor','LocaleService','entries','onPointerEnter$','deepClone','location','@univerjs/sheets','UNDEFINED','history','_transformUndoRedoStack','switchMap','_ensureSubject','executionId','toRgbString','_textBubble','with','getStateCache','React','filter','PERMISSION_DENIED','setShapeProps','...','unsubscribe','COMPLETION_FINISHED','APPLY_DUPLICATED','SYNCED','_initEvent','getFocusedUnit','CONFLICT','reconnect','ThemeService','_dataLoaderService','setConfig','JOIN_ROOM_FAILED','selections','_scene','mergeOverrideWithDependencies','code','VIEW_MAIN','_setupBeforeClosingHandler','_hover','_drawAnchor','memberID','DocStateChangeManagerService','_docStateChangeManagerService','DocCollaborationEntity','getCurrentRevOfUnit','2138630IohQru','getMemberID','0\x200\x2016\x2016','#FFF','_registerDependencies','popstate','_collabCursorController','_hideTimer','WebURLService','save','_unitStatus','fromEventSubject','UnitStatus','_docTransformStateCacheService','actions','AWAITING_WITH_PENDING','debounceTime','#fff','_initStatusComponent','serializeRangeWithSheet','DesktopCollaborationStatusDisplayController','getUnitStatus$','_commandService','_onCursorDelete','svg','event$','IUniverInstanceService','CollaborationEvent','selection','textRanges','_handleJoinEvent','subscribe','@univerjs/docs','_scheduleHeartbeat','handleInsertRangeMoveDown','transformIMECache','UniverCollaborationClientUIPlugin','CollaborationUIEventId','react/jsx-runtime','_backgroundColor','onMouseMove','_name','application/json','MOBILE_HAS_BEEN_BOUND','amd','getSheetBySheetId','createInstance','_startSheetCollabCursor','_createSocketURL','asObservable','_docSkeleton','useDependency','_lastPointer','Rectangle','_colorAssignService','doc.mutation.rich-text-editing','width','setActiveRange','exhaustSavingTask','saveImage','registerDependencies','send','YUUMI_RATE_OVER_LIMIT','deserializeRangeWithSheet','ALREADY_EXISTS','_assignedColors','roomMembers$','setParam','saveTaskMap','getRangePointData','UniverDocs'];_0x50ca=function(){return _0x297aad;};return _0x50ca();}
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();}