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

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 _0x1405(){const _0x57f9f3=['_configService','getRelativeToViewportCoord','BehaviorSubject','2118VWzrag','Disposable','_setupBeforeClosingHandler','DOC_RANGE_TYPE','MoveRangeCommandId','_localStorageService','displayName','unitID','_messageService','CollaborationSocketService','_handleHover','split','36qoCGXq','status$','TEXT_RANGE_LAYER_INDEX','getColor','isTransformMutationsWithChangesetSuccess','COLORS','APPLY_DUPLICATED','_removeClearOtherTimer','HTTPService','SNAPSHOT_INVALID_SNAPSHOT','clipPath','hasOwnProperty','includes','toRgbString','_ensureSubject','useRef','executeCommand','addEventListener','propertyIsEnumerable','0\x200\x2017\x2016','gold400','transformIMECache','_online','UniverInstanceType','Tools','@univerjs/core','clearInterval','getOwnPropertySymbols','_registerRenderDependencies','path','_hideTimer','setActiveRange','RevisionService','RECT','_range','ILogService','NO_OTHER_CLIENTS_EDITING','unit','handleIRemoveCol','SetTextSelectionsOperation','YUUMI_ASYNCIO_CANCELLED','_init','_disabled','_clearOtherTimers','startsWith','INVITE_CODE_REQUIRED','hide','SetWorksheetActivateCommand','loadOfflineData','override','setItem','createInstance','getUnhiddenWorksheets','DependentOn','Module','_scheduleSaving','Failed','_refreshCollabCursors','sheetID','UniverCollaborationClientUIPlugin','idSuffix','complete','_updateSubUnitFromURLParams','_dataLoaderService','saveOfflineData','send','lineTo','_removeCollabCursors','CHANGESET_REVISION_CONFILICT','Tooltip','className','fillText','_handleLeaveEvent','APPLY_REVISION_CONFILICT','disposeUnit','tag','syncEditingCollabCursor','NodePositionConvertToRectRange','history','isArray','endColumn','hovered','unshift','OFFLINE','addHandlerCallback','icon','handleInsertRangeMoveRight','location','m1Prime','ITransformService','_startSheetCollabCursor','top','Optional','_updateURLWithCurrentState','_status$','getSheetId','CollaborationController','RemoveColCommandId','SNAPSHOT_HAS_BEEN_REMOVED','UniverNetwork','setAlpha','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SheetSkeletonManagerService','onStarting','undoState','save','_collabSessionService','YUUMI_RATE_OVER_LIMIT','CollaborationDataLoaderController','Subject','collabStatus.fetchMiss','RxDisposable','OffLineSingle','offline','RefRangeService','_notificationService','1em','_initDependencies','startColumn','none','onlineStatusTitle','374320TPuonk','name','_send','subunit','uni.network.url-service','@univerjs-pro/collaboration-client','rxjs/operators','pipe','_docStateChangeManagerService','DEFAULT_WS_SESSION_TICKET_URL','_scheduleHeartbeat','serializeRangeWithSheet','blue400','LICENSE_DISTRO_REJECTED','useDependency','onlineStatus','entries','requireSession','getItem','univer-online-status-title','_cursorShapes','getCurrent','SetDocZoomRatioOperation','getConfig','editingUnit','exhaustSavingTask','findNodePositionByCharIndex','currentSkeleton$','@univerjs/sheets-ui','YUUMI_SUBSCRIPTION_NOT_FOUND','_injector','SOCKET_FAILED','_registerDependencies','UPDATE_CURSOR','_univerInstanceService','collaboration.single-unit.warning','getCurrentSelections','INVITE_CODE_HAS_BEEN_UES','_initCommandExecutedListener','MUTATION','_getAnchorBounding','getVpScrollXYInfoByPosToVp','_imageIoService','whenReady','_entities','_initEntityListener','setConfig','NOT_COLLAB','combineLatest','mask','distinctUntilChanged','ISocketService','_docTransformIMECacheService','DocSkeletonManagerService','off-line-single','searchParams','SUBMIT_CHANGESET_TIMEOUT','LICENSE_MAX_UNITS_EXCEEDED','from','extend','imageSourceType','fillRule','search','YUUMI_URL_COL_OUT_OF_RANGE','LOCAL_CACHE_INTERVAL_KEY','defIds','addObjects','INotificationService','YUUMI_NO_CUBOID_FOR_QUESTION','Injector','UniverDocs','result','_docSkeletonManagerService','loadUnit','memberID','_updateLocalCursor','addObject','getTypeOfUnitDisposed$','map','getOffsetConfig','getUndoRedoMutationParamsCache','_roomMembers$','univer-flex\x20univer-items-center','MessageType','font','url(#off-line-single_clip0_910_343)','purple300','PERMISSION_DENIED','has','IDocClipboardService','@univerjs/engine-formula','then','next','_httpService','SheetCollabCursorShape','CollaborationSessionService','BuiltInUIPart','_cursorInfo$','react','@univerjs/design','_context','transformSelections','Vector2','getSkeleton','symbol','_toggleOffline','_cursors','ranges','forEach','collab-rect-range-','parse','INVALID_ARGUMENT','substring','WebBrowserSingleActiveUnitService','_hover','docStateChange$','univer-online-status-icon','toDisposable','8joIDpN','rgba(255,\x20255,\x20255,\x200.01)','_urlService','add','464168bpvXgz','IUniverInstanceService','on-line-single_clip0_910_349','APPLY_NON_SEQUENTIAL_REVISION','_drawAnchor','_initStatusComponent','_docClipboardService','setStateCache','current','Warning','transformMutation','data','cursorInfo','popstate','_getMergeRange','_renderManagerService','IURLService','clearTimeout','takeUntil','ICommandService','WebURLService','UniverCore','string','10iTndTu','getOwnPropertyDescriptor','textRanges','handleInsertRangeMoveDown','permission.content','Unknown\x20user','IConfigService','handleDeleteRangeMoveUp','cursorInfo$','getCellPositionByOffset','createSocket','runRefRangeMutations','getMemberID','executionId','transformRemoteChangeset','_docSyncEditingCollabCursorService','disableLocalCache','1359421jePaOU','_colorAssignService','_docTransformSelectionsService','merge','onPointerLeave$','stringify','attrs','UniverDocsUi','registerDependencies','UNDEFINED','InsertRangeMoveDownCommandId','isActive','getUnitId','getViewport','url(#on-line-single_clip0_910_349)','APPLY_REJECT','collaboration-client-ui.config','touchDependencies','SHEET_VIEWPORT_KEY','updateOfflineData','_lastPointer','EMAIL_HAS_BEEN_BOUND','_sheetSkeletonManagerService','ISnapshotServerService','collab-text-range-','DocSelectionManagerService','debounceTime','OTHER_CLIENTS_EDITING','EffectRefRangId','@univerjs/docs-ui','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','setTimeout','colorChannel1','SheetsSelectionsService','key','get','setParam','Rectangle','_memberService','/run/','handleInsertRow','_colorIndex','_getScale','ALREADY_EXISTS','assign','post','IRenderManagerService','RegularPolygon','DesktopCollaborationStatusDisplayController','@univerjs/rpc','NOT_FOUND','_saveTaskMap','_anchor','_doCreateSocket','#FFF','row','_themeService','_syncEditingCollabCursorService','_assignedColors','USERS_LEAVE','svg','86136CKsWyS','newValue','_config','on-line-single','exports','column','CONFLICT','rxjs','throttleTime','UNAUTHENTICATED','apply','push','children','selections','OnLineSingle','params','currentTheme$','getAncestorScale','unitId','set','indexOf','CollaborationStatus','_document','PY_RUNTIME_SCRIPT_ERROR','height','saveImage','UniverIcon','debounce','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','application/json','_transformUndoRedoStack','_draw','collabStatus.offline','eventID','sheetId','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_session','_transformService','_hovered','getSheetObject','saveTaskMap','UniverSheets','init','Shape','onLocalMutation','WECHAT_HAS_BEEN_BOUND','collab-client.tooltip.reconnect','TEXT','@univerjs-pro/collaboration','session.connection-failed','with','getTypeOfUnitAdded$','_startDocCollabCursor','_textBubble','DisposableCollection','forwardRef','LOCAL_CACHE_INTERVAL','dispose$','DeleteRangeMoveLeftCommandId','m2Prime','black','removeParam','toString','INTERNAL_ERROR','getRenderById','UNRECOGNIZED','registerRenderModule','source','handleDeleteRangeMoveLeft','_getSessionTicket','dispose','isTransformMutationFailure','collabCursorState$','LocaleService','getRangePointData','_cachedData','onRendered','LICENSE_IMPORT_SIZE_EXCEEDED','IImageIoService','makeDirty','getCollabCursors$','createIdentifier','show','fillStyle','onMouseMove','range','COMPLETION_FINISHED','@univerjs/docs','_handleHeartbeatEvent','restore','UniverEngineFormula','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_heartbeatTimer','max','getDocRanges','UNIVER_SHEET','Plugin','deepClone','bottom','urlChange$','RemoveRowCommandId','@univerjs/drawing','switchMap','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','isEditing','_initEvent','BrowserCollaborationSocketService','_drawTextRange','IRemoteInstanceService','enableLocalCache','transformMutationsWithChangeset','all','collabStatus.conflict','getValue','subscribeEvent','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','SetSelectionsOperation','getUnitStatus$','function','filter','origin','Error','_localCacheService','CollaborationEvent','code','href','UniverProCollaborationClientUi','error','getMember','237334OzHEoo','FETCH_MISS','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','VIEW_MAIN','closePath','div','drawWith','onCommandExecuted','YUUMI_UNABLE_LOAD_URL','sessionStatus$','assignAColorForMemberID','text','off-line-single_clip0_910_343','measureText','DocCollaborationEntity','Rect','doc.mutation.rich-text-editing','_commandService','_updateCollabCursors','runOnServer','CollaborationUIEventId','length','setShapeProps','@univerjs/engine-render','_logService','IMessageService','unsubscribe','UniverUi','_docTransformStateCacheService','UNIVER_DOC','getActiveRange','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','5239795UDCjfp','_unitOnClients','UniverRpc','generateRandomId','storage','prototype','UniverDrawing','delete','selection','_revisionService','APPLY_PERMISSION_DENIED','_transformHistoryAndStateStack','_transformPreviousActiveRange','call','_collabCursorState$','triggerDblclick','_unitStatus','redoState','handleIRemoveRow','round','_selfUnitIDs','replace','moveTo','React','UnitStatus','flatMap','evenodd','univer-online','asObservable','ticket','InsertColCommandId','size','_onCursorUpdate','defs','_eventUnsubscribe','_initStatusListener','createElement','useCallback','getActiveSheet','_handleEvent','_collabCursorController','subscribe','UniverEngineRender','registerRefRange','collabStatus.synced','_id','UniverDesign','clsx','currentColor','Inject','getParam','TOO_MANY_REQUESTS','getSheetBySheetId','mutations','_saveCache','arc','body','_setupSubUnitSync','replaceState','_scheduleClearOtherTimer','values','fromEvent','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','#fff','operators','concat','pluginName','@univerjs/sheets','red300','unload','jiqing500','react/jsx-runtime','ENSURE_SNAPSHOT_EXECUTION','wsSessionTicketUrl','ColorKit','UniverSheetsUi','_initResize','PENDING','runId','INVALID_INVITE_CODE','_getSheetObject','type','SessionStatus','session.will-retry','event$','_createSocketURL','_collaborationUIEventService','roomMembers','M0\x200H16V16H0z','mapTo','getLocalCacheKey','_anchorDot','_render','collabStatus.notCollab','RemoteUniscriptService','MemberService','getStateCache','USER_NOT_INVITED_CODE','[CollaborationDataLoaderController]','_toggleOnline','_shapes','amd','_scene','...','univerjs-icon\x20univerjs-icon-','IBeforeCloseService','_getSaveTimeout','FromArray','verdancy600','fill','LICENSE_EXPORT_SIZE_EXCEEDED','handleMoveRange','getFocusedUnit','toStringTag','_color','_beforeCloseService','registerComponent','INVITE_CODE_ALREADY_BOUND','CONNECTOR_DATA_TOO_LARGE','_localeService','ThemeService','replaceDocRanges','disposeWithMe','_backgroundColor','MOBILE_HAS_BEEN_BOUND','_labelPosition','onPointerEnter$','_refRangeService','_instanceService','sessionTicket','color','_entityInit$','univer-online-status','_name','_collaborationController','width','entityInit$','jsx','connectInjector','4kgepwH','@univerjs/network','xlink:href','LOGIN_FAILED','ILocalCacheService','beginPath','_onCursorDelete','DocIMEInputManagerService','WebSocketService'];_0x1405=function(){return _0x57f9f3;};return _0x1405();}function _0xa793(_0x17f711,_0x1f2231){const _0x14054a=_0x1405();return _0xa793=function(_0xa793b7,_0x4535b8){_0xa793b7=_0xa793b7-0x197;let _0x483669=_0x14054a[_0xa793b7];return _0x483669;},_0xa793(_0x17f711,_0x1f2231);}(function(_0x41cfff,_0x134007){const _0x52cb45=_0xa793,_0x1e363b=_0x41cfff();while(!![]){try{const _0x195fac=parseInt(_0x52cb45(0x1a4))/0x1+parseInt(_0x52cb45(0x24f))/0x2*(-parseInt(_0x52cb45(0x25b))/0x3)+parseInt(_0x52cb45(0x35a))/0x4*(-parseInt(_0x52cb45(0x371))/0x5)+-parseInt(_0x52cb45(0x3bf))/0x6+parseInt(_0x52cb45(0x382))/0x7*(-parseInt(_0x52cb45(0x356))/0x8)+-parseInt(_0x52cb45(0x267))/0x9*(parseInt(_0x52cb45(0x2e0))/0xa)+parseInt(_0x52cb45(0x1c4))/0xb;if(_0x195fac===_0x134007)break;else _0x1e363b['push'](_0x1e363b['shift']());}catch(_0x34da4b){_0x1e363b['push'](_0x1e363b['shift']());}}}(_0x1405,0x1dc28),function(_0x362063,_0x3f6107){const _0x3a2267=_0xa793;typeof exports=='object'&&typeof module<'u'?_0x3f6107(exports,require(_0x3a2267(0x2e5)),require(_0x3a2267(0x280)),require(_0x3a2267(0x1bb)),require(_0x3a2267(0x250)),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require(_0x3a2267(0x3c6)),require(_0x3a2267(0x416)),require('@univerjs-pro/collaboration'),require('@univerjs/engine-formula'),require(_0x3a2267(0x207)),require(_0x3a2267(0x2e6)),require(_0x3a2267(0x2fc)),require(_0x3a2267(0x20b)),require('@univerjs/ui'),require(_0x3a2267(0x343)),require(_0x3a2267(0x342)),require(_0x3a2267(0x3b3))):typeof define==_0x3a2267(0x199)&&define[_0x3a2267(0x229)]?define([_0x3a2267(0x3c3),_0x3a2267(0x2e5),_0x3a2267(0x280),_0x3a2267(0x1bb),_0x3a2267(0x250),_0x3a2267(0x39f),_0x3a2267(0x424),'rxjs','@univerjs/docs',_0x3a2267(0x3ef),_0x3a2267(0x33a),_0x3a2267(0x207),_0x3a2267(0x2e6),_0x3a2267(0x2fc),_0x3a2267(0x20b),'@univerjs/ui',_0x3a2267(0x343),_0x3a2267(0x342),_0x3a2267(0x3b3)],_0x3f6107):(_0x362063=typeof globalThis<'u'?globalThis:_0x362063||self,_0x3f6107(_0x362063[_0x3a2267(0x1a1)]={},_0x362063['UniverProCollaborationClient'],_0x362063[_0x3a2267(0x36f)],_0x362063[_0x3a2267(0x1ee)],_0x362063[_0x3a2267(0x2ca)],_0x362063[_0x3a2267(0x389)],_0x362063[_0x3a2267(0x1ca)],_0x362063[_0x3a2267(0x3c6)],_0x362063[_0x3a2267(0x326)],_0x362063['UniverProCollaboration'],_0x362063[_0x3a2267(0x419)],_0x362063[_0x3a2267(0x3e8)],_0x362063[_0x3a2267(0x3c6)][_0x3a2267(0x204)],_0x362063[_0x3a2267(0x20f)],_0x362063[_0x3a2267(0x1db)],_0x362063[_0x3a2267(0x1bf)],_0x362063[_0x3a2267(0x1f2)],_0x362063[_0x3a2267(0x1db)],_0x362063[_0x3a2267(0x1c6)]));}(this,function(_0x3edcdd,_0x5cf9d0,_0x1db576,_0x9322cd,_0x50d70f,_0x56cec3,_0x544e9a,_0x2bfd9f,_0x3a0d44,_0x5ca6a1,_0x303398,_0x271a7a,_0x405c34,_0x152867,_0x3d90e3,_0x104d19,_0x33d6a5,_0x472caa,_0x4eaab1){'use strict';const _0x3f7a85=_0xa793;var _0x5a3ade=Object['defineProperty'],_0x29f2ca=(_0x30c9d6,_0x5f4993,_0x5498f4)=>_0x5f4993 in _0x30c9d6?_0x5a3ade(_0x30c9d6,_0x5f4993,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5498f4}):_0x30c9d6[_0x5f4993]=_0x5498f4,_0x76a544=(_0x50a672,_0x207da7,_0x5742f7)=>_0x29f2ca(_0x50a672,typeof _0x207da7!=_0x3f7a85(0x348)?_0x207da7+'':_0x207da7,_0x5742f7),_0x47e83f=Object[_0x3f7a85(0x372)],_0x2f48ff=(_0x50f2f6,_0x2fac55,_0x438f4b,_0x7743f0)=>{const _0x58e013=_0x3f7a85;for(var _0x4d9e1c=_0x7743f0>0x1?void 0x0:_0x7743f0?_0x47e83f(_0x2fac55,_0x438f4b):_0x2fac55,_0x3c4317=_0x50f2f6[_0x58e013(0x1b9)]-0x1,_0x5cb3e1;_0x3c4317>=0x0;_0x3c4317--)(_0x5cb3e1=_0x50f2f6[_0x3c4317])&&(_0x4d9e1c=_0x5cb3e1(_0x4d9e1c)||_0x4d9e1c);return _0x4d9e1c;},_0x3ffe98=(_0x472219,_0x48a297)=>(_0x34c6b4,_0x29cd6a)=>_0x48a297(_0x34c6b4,_0x29cd6a,_0x472219);let _0x42f064=class extends _0x1db576['RxDisposable']{constructor(_0x122e38,_0x449f30){const _0x1fa261=_0x3f7a85;super(),this[_0x1fa261(0x360)]=_0x122e38,this[_0x1fa261(0x30a)]=_0x449f30,this['_init']();}['_init'](){const _0x3dd52e=this;this['disposeWithMe'](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x4867fe=>{const _0x357728=_0xa793,_0x18e79d=await _0x3dd52e[_0x357728(0x30a)][_0x357728(0x3d8)](_0x4867fe);return _0x18e79d?{'source':_0x18e79d[_0x357728(0x402)],'imageSourceType':_0x18e79d[_0x357728(0x31c)]}:null;}}));}};_0x42f064=_0x2f48ff([_0x3ffe98(0x0,_0x56cec3[_0x3f7a85(0x339)]),_0x3ffe98(0x1,_0x544e9a[_0x3f7a85(0x40d)])],_0x42f064);const _0x18908d=[_0x3f7a85(0x336),_0x3f7a85(0x20a),_0x3f7a85(0x230),_0x3f7a85(0x208),_0x3f7a85(0x2ec),_0x3f7a85(0x27b)];class _0x46c5bf extends _0x1db576['Disposable']{constructor(){const _0x5b9552=_0x3f7a85;super(...arguments),_0x76a544(this,_0x5b9552(0x3bc),new Map()),_0x76a544(this,_0x5b9552(0x3ab),0x0);}[_0x3f7a85(0x1ae)](_0x5b8b51){const _0x14146c=_0x3f7a85;if(this[_0x14146c(0x3bc)][_0x14146c(0x338)](_0x5b8b51))return this[_0x14146c(0x3bc)][_0x14146c(0x3a5)](_0x5b8b51);const _0x194a8f=_0x18908d[this[_0x14146c(0x3ab)]];return this[_0x14146c(0x3ab)]=(this[_0x14146c(0x3ab)]+0x1)%_0x18908d['length'],this[_0x14146c(0x3bc)][_0x14146c(0x3d2)](_0x5b8b51,_0x194a8f),_0x194a8f;}}function _0x28349c(_0xbef684){const _0x32dedd=_0x3f7a85;let _0x3c357a='';for(const _0x50b187 of _0xbef684){const {startOffset:_0x13d68e,endOffset:_0xb3b73d,isActive:_0x3a147b,rangeType:_0x29e8ea,segmentId:_0x13a9d7,segmentPage:_0x357dfc}=_0x50b187;_0x3c357a[_0x32dedd(0x1b9)]&&(_0x3c357a+=','),_0x3c357a+=_0x13d68e+':'+_0xb3b73d+':'+(_0x3a147b?'1':'0')+':'+_0x29e8ea+':'+_0x13a9d7+':'+_0x357dfc;}return _0x3c357a;}function _0x3cf2e4(_0xf49629){const _0x5e3c1c=_0x3f7a85,_0x4e889e=_0xf49629[_0x5e3c1c(0x266)](','),_0x529e5b=[];for(const _0x5313e5 of _0x4e889e){const [_0x5e988a,_0x2775cd,_0x28986e,_0x4572e1,_0x318016,_0x2ab952]=_0x5313e5[_0x5e3c1c(0x266)](':');_0x529e5b['push']({'startOffset':Number(_0x5e988a),'endOffset':Number(_0x2775cd),'collapsed':_0x5e988a===_0x2775cd,'isActive':_0x28986e==='1','rangeType':_0x4572e1===_0x1db576[_0x5e3c1c(0x25e)][_0x5e3c1c(0x3ee)]?_0x1db576['DOC_RANGE_TYPE'][_0x5e3c1c(0x3ee)]:_0x1db576['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x318016==_0x5e3c1c(0x370)?String(_0x318016):'','segmentPage':Number(_0x2ab952!=null?_0x2ab952:-0x1)});}return _0x529e5b['some'](_0x33ed04=>_0x33ed04[_0x5e3c1c(0x38d)])||(_0x529e5b[0x0][_0x5e3c1c(0x38d)]=!0x0),_0x529e5b;}class _0x158c10 extends _0x1db576['RxDisposable']{constructor(){const _0x662250=_0x3f7a85;super(...arguments),_0x76a544(this,_0x662250(0x1d2),new _0x2bfd9f[(_0x662250(0x25a))](null)),_0x76a544(this,_0x662250(0x407),this[_0x662250(0x1d2)]['asObservable']());}[_0x3f7a85(0x2b3)](_0x1c325b){const _0x11f76e=_0x3f7a85,{unitID:_0x32bb44,memberID:_0x1778f0,textRanges:_0x3ecc54}=_0x1c325b,_0x4c68b4=_0x28349c(_0x3ecc54);if(_0x4c68b4==='')return;const _0x16e82e={'unitID':_0x32bb44,'memberID':_0x1778f0,'selection':_0x4c68b4};this[_0x11f76e(0x1d2)][_0x11f76e(0x33c)](_0x16e82e);}}var _0x1dff28=Object[_0x3f7a85(0x372)],_0x2dc7b0=(_0xb25de,_0x7ca8b8,_0x24f855,_0x3eab0d)=>{const _0x539414=_0x3f7a85;for(var _0x30fe51=_0x3eab0d>0x1?void 0x0:_0x3eab0d?_0x1dff28(_0x7ca8b8,_0x24f855):_0x7ca8b8,_0x109b2b=_0xb25de[_0x539414(0x1b9)]-0x1,_0x14db92;_0x109b2b>=0x0;_0x109b2b--)(_0x14db92=_0xb25de[_0x109b2b])&&(_0x30fe51=_0x14db92(_0x30fe51)||_0x30fe51);return _0x30fe51;},_0x3a7125=(_0xcd3ac1,_0x15711f)=>(_0x1f36c2,_0x2050b4)=>_0x15711f(_0x1f36c2,_0x2050b4,_0xcd3ac1);const _0x46ef4b=0x12c,_0x968b2f=0x64;let _0x375a6d=class extends _0x1db576[_0x3f7a85(0x2d6)]{constructor(_0x48acc5,_0x2d4f8a,_0x3908a6,_0xac9b2a,_0x3fdd69,_0x372f34,_0xa4826a,_0x4f39c3,_0x2823c4){const _0x9bc805=_0x3f7a85;super(),_0x76a544(this,_0x9bc805(0x27d),!0x1),_0x76a544(this,_0x9bc805(0x290),!0x1),_0x76a544(this,_0x9bc805(0x341),new _0x2bfd9f[(_0x9bc805(0x25a))](new Map())),_0x76a544(this,_0x9bc805(0x379),this[_0x9bc805(0x341)][_0x9bc805(0x1e0)]()),_0x76a544(this,_0x9bc805(0x331),new _0x2bfd9f[(_0x9bc805(0x25a))]([])),_0x76a544(this,'roomMembers$',this[_0x9bc805(0x331)]['pipe'](_0x2bfd9f[_0x9bc805(0x39c)](_0x46ef4b))),_0x76a544(this,'_updateLocalCursor',_0x1db576[_0x9bc805(0x3da)](_0x2cf130=>{const _0x426af5=_0x9bc805,_0x8f752={'eventID':_0x5ca6a1[_0x426af5(0x19e)][_0x426af5(0x301)],'data':{'unitID':this['unitID'],'memberID':this[_0x426af5(0x3e3)][_0x426af5(0x37d)](),'selection':_0x28349c(_0x2cf130)}};this[_0x426af5(0x3e3)]['send'](_0x8f752,this[_0x426af5(0x262)]);},_0x968b2f)),(this[_0x9bc805(0x262)]=_0x48acc5,this[_0x9bc805(0x3e3)]=_0x2d4f8a,this[_0x9bc805(0x2fe)]=_0x3908a6,this[_0x9bc805(0x383)]=_0xac9b2a,this[_0x9bc805(0x3a8)]=_0x3fdd69,this['_syncEditingCollabCursorService']=_0x372f34,this[_0x9bc805(0x3e4)]=_0xa4826a,this[_0x9bc805(0x302)]=_0x4f39c3,this['_commandService']=_0x2823c4);}get['cursorInfo'](){const _0x2920b4=_0x3f7a85;return this[_0x2920b4(0x341)][_0x2920b4(0x430)]();}get[_0x3f7a85(0x21b)](){const _0x24a41b=_0x3f7a85;return this[_0x24a41b(0x331)]['getValue']();}['dispose'](){const _0x5d4455=_0x3f7a85;super[_0x5d4455(0x405)](),this[_0x5d4455(0x341)]['next'](new Map()),this[_0x5d4455(0x341)]['complete'](),this['_roomMembers$']['next']([]),this[_0x5d4455(0x331)][_0x5d4455(0x2a4)]();}[_0x3f7a85(0x3e9)](){const _0x3d943f=_0x3f7a85;this[_0x3d943f(0x290)]||(this[_0x3d943f(0x290)]=!0x0,this[_0x3d943f(0x3e3)][_0x3d943f(0x1ad)][_0x3d943f(0x2e7)](_0x2bfd9f[_0x3d943f(0x36c)](this[_0x3d943f(0x3f8)]))[_0x3d943f(0x1ed)](_0x1c9ccf=>{const _0x1f9d25=_0x3d943f;_0x1c9ccf===_0x5cf9d0[_0x1f9d25(0x216)]['ONLINE']?this[_0x1f9d25(0x227)]():this[_0x1f9d25(0x349)]();}),this[_0x3d943f(0x3e3)][_0x3d943f(0x218)][_0x3d943f(0x2e7)](_0x2bfd9f[_0x3d943f(0x36c)](this[_0x3d943f(0x3f8)]))[_0x3d943f(0x1ed)](_0x417142=>{const _0x3707bd=_0x3d943f,_0x1d67d1=_0x417142[_0x3707bd(0x3e0)];_0x1d67d1===_0x5ca6a1['CollaborationEvent'][_0x3707bd(0x301)]&&this[_0x3707bd(0x1e4)](_0x417142),_0x1d67d1===_0x5ca6a1['CollaborationEvent']['USERS_LEAVE']&&this[_0x3707bd(0x255)](_0x417142);}),this['disposeWithMe'](this[_0x3d943f(0x1b5)][_0x3d943f(0x1ab)](_0x52768a=>{const _0x363505=_0x3d943f,_0x5718bc=_0x52768a[_0x363505(0x3ce)];_0x5718bc!=null&&this[_0x363505(0x27d)]&&_0x52768a['id']===_0x3a0d44[_0x363505(0x28e)]['id']&&_0x5718bc[_0x363505(0x3d1)]===this[_0x363505(0x262)]&&_0x5718bc[_0x363505(0x427)]===!0x1&&_0x5718bc[_0x363505(0x34b)][_0x363505(0x1b9)]>0x0&&this[_0x363505(0x32b)](_0x5718bc['ranges']);})),this[_0x3d943f(0x3bb)][_0x3d943f(0x407)][_0x3d943f(0x2e7)](_0x2bfd9f[_0x3d943f(0x36c)](this[_0x3d943f(0x3f8)]))['subscribe'](_0x8b1ae=>{const _0x4c1005=_0x3d943f;if((_0x8b1ae==null?void 0x0:_0x8b1ae[_0x4c1005(0x262)])!==this[_0x4c1005(0x262)])return;const _0x44a4af={'eventID':_0x5ca6a1[_0x4c1005(0x19e)][_0x4c1005(0x301)],'data':_0x8b1ae};this[_0x4c1005(0x1e4)](_0x44a4af);}),this[_0x3d943f(0x23e)](this[_0x3d943f(0x1b5)]['onCommandExecuted'](_0x5bb5be=>{const _0x258840=_0x3d943f;if(_0x5bb5be[_0x258840(0x3ce)]==null)return;const _0x552ad3=_0x5bb5be[_0x258840(0x3ce)];if(_0x5bb5be['id']!==_0x3a0d44['RichTextEditingMutation']['id']||_0x552ad3['unitId']!==this[_0x258840(0x262)])return;const _0x234323={'id':'doc.mutation.rich-text-editing','params':_0x552ad3},_0x47c0fc=this[_0x258840(0x366)];for(const [_0x569666,_0xac65f0]of _0x47c0fc){const _0x5634df={'id':_0x258840(0x1b4),'params':{'unitId':this[_0x258840(0x262)],'actions':null,'textRanges':_0xac65f0[_0x258840(0x34b)]}},_0x363884=this[_0x258840(0x3e4)][_0x258840(0x364)](_0x234323,_0x5634df,!0x1);if(_0x5ca6a1[_0x258840(0x406)](_0x363884))throw _0x363884['error'];_0x47c0fc[_0x258840(0x3d2)](_0x569666,{..._0xac65f0,'ranges':_0x363884['m2Prime']['params'][_0x258840(0x373)]});}queueMicrotask(()=>{const _0x247161=_0x258840;this['_cursorInfo$'][_0x247161(0x33c)](_0x47c0fc);});})));}['_onCursorUpdate'](_0x26b086){const _0x27fbd0=_0x3f7a85;var _0x2b06bc,_0x9bc7e1;const {memberID:_0x2963c9,selection:_0x25c2cc}=_0x26b086['data'],_0x497bae=_0x3cf2e4(_0x25c2cc),_0x1782e3=(_0x9bc7e1=(_0x2b06bc=this['_memberService']['getMember'](this[_0x27fbd0(0x262)],_0x2963c9))==null?void 0x0:_0x2b06bc['name'])!=null?_0x9bc7e1:_0x27fbd0(0x376),_0x9d21d8={'color':this[_0x27fbd0(0x383)][_0x27fbd0(0x1ae)](_0x2963c9),'name':_0x1782e3,'ranges':_0x497bae},_0x51a86d=this[_0x27fbd0(0x366)];_0x51a86d[_0x27fbd0(0x3d2)](_0x2963c9,_0x9d21d8),this[_0x27fbd0(0x341)][_0x27fbd0(0x33c)](_0x51a86d);}['_onCursorDelete'](_0xcc16e7){const _0x2361d7=_0x3f7a85,{memberID:_0x1dfcd7}=_0xcc16e7['data'],_0x75b967=this[_0x2361d7(0x366)];_0x75b967['delete'](_0x1dfcd7),this[_0x2361d7(0x341)][_0x2361d7(0x33c)](_0x75b967);}['_toggleOnline'](){const _0x3837b6=_0x3f7a85;var _0x240f41;if(this[_0x3837b6(0x27d)]=!0x0,((_0x240f41=this[_0x3837b6(0x302)][_0x3837b6(0x234)]())==null?void 0x0:_0x240f41[_0x3837b6(0x38e)]())!==this[_0x3837b6(0x262)])return;const _0x59d925=this[_0x3837b6(0x2fe)][_0x3837b6(0x3a5)](_0x3a0d44[_0x3837b6(0x39b)])[_0x3837b6(0x41d)]();Array[_0x3837b6(0x2b6)](_0x59d925)&&_0x59d925[_0x3837b6(0x1b9)]>0x0&&this[_0x3837b6(0x32b)](_0x59d925);}[_0x3f7a85(0x349)](){const _0x5ad6d5=_0x3f7a85;this[_0x5ad6d5(0x27d)]=!0x1;}};_0x375a6d=_0x2dc7b0([_0x3a7125(0x2,_0x1db576[_0x3f7a85(0x1f5)](_0x1db576['Injector'])),_0x3a7125(0x3,_0x1db576[_0x3f7a85(0x1f5)](_0x46c5bf)),_0x3a7125(0x4,_0x1db576[_0x3f7a85(0x1f5)](_0x5cf9d0['MemberService'])),_0x3a7125(0x5,_0x1db576['Inject'](_0x158c10)),_0x3a7125(0x6,_0x5ca6a1['ITransformService']),_0x3a7125(0x7,_0x1db576[_0x3f7a85(0x35b)]),_0x3a7125(0x8,_0x1db576[_0x3f7a85(0x36d)])],_0x375a6d);var _0x26884a=Object[_0x3f7a85(0x372)],_0x419bb9=(_0x4e65da,_0x26909c,_0x5d1c2d,_0x35099f)=>{const _0x38283c=_0x3f7a85;for(var _0x3b3955=_0x35099f>0x1?void 0x0:_0x35099f?_0x26884a(_0x26909c,_0x5d1c2d):_0x26909c,_0x431227=_0x4e65da[_0x38283c(0x1b9)]-0x1,_0x3858b2;_0x431227>=0x0;_0x431227--)(_0x3858b2=_0x4e65da[_0x431227])&&(_0x3b3955=_0x3858b2(_0x3b3955)||_0x3b3955);return _0x3b3955;},_0xda5b32=(_0x136495,_0x58f119)=>(_0xee8fe8,_0x39c426)=>_0x58f119(_0xee8fe8,_0x39c426,_0x136495);const _0x3d5959=0x12c,_0x241075=0x64,_0x3aa5b8=()=>{let _0x1f5040=[],_0x596d19=!0x1;return _0x49983a=>{const _0x4ecc60=_0xa793;_0x1f5040[_0x4ecc60(0x3ca)](_0x49983a),_0x596d19||(_0x596d19=!0x0,setTimeout(()=>{const _0x2b1c4b=_0x4ecc60;_0x1f5040[_0x2b1c4b(0x34c)](_0x3b001e=>_0x3b001e()),_0x1f5040=[],_0x596d19=!0x1;}));};};let _0x5be8d7=class extends _0x1db576[_0x3f7a85(0x2d6)]{constructor(_0x15654e,_0x4d02fe,_0x21f359,_0x1c561d,_0x4a625c,_0x338356,_0x508fcd,_0x7e2cd2){const _0x37dc08=_0x3f7a85;super(),_0x76a544(this,_0x37dc08(0x27d),!0x1),_0x76a544(this,_0x37dc08(0x290),!0x1),_0x76a544(this,_0x37dc08(0x341),new _0x2bfd9f[(_0x37dc08(0x25a))](new Map())),_0x76a544(this,_0x37dc08(0x379),this['_cursorInfo$']['asObservable']()),_0x76a544(this,'_roomMembers$',new _0x2bfd9f[(_0x37dc08(0x25a))]([])),_0x76a544(this,'roomMembers$',this[_0x37dc08(0x331)][_0x37dc08(0x2e7)](_0x2bfd9f['debounceTime'](_0x3d5959))),_0x76a544(this,_0x37dc08(0x32b),_0x1db576['debounce']((_0x546297,_0x11b797)=>{const _0x5f50ca=_0x37dc08,_0xb30e8f={'eventID':_0x5ca6a1[_0x5f50ca(0x19e)][_0x5f50ca(0x301)],'data':{'unitID':this[_0x5f50ca(0x262)],'memberID':this['_session'][_0x5f50ca(0x37d)](),'selection':_0x303398[_0x5f50ca(0x2eb)](_0x546297,_0x11b797[_0x5f50ca(0x414)])}};this[_0x5f50ca(0x3e3)][_0x5f50ca(0x2a8)](_0xb30e8f,this[_0x5f50ca(0x262)]);},_0x241075)),(this[_0x37dc08(0x262)]=_0x15654e,this['_session']=_0x4d02fe,this[_0x37dc08(0x2fe)]=_0x21f359,this[_0x37dc08(0x383)]=_0x1c561d,this[_0x37dc08(0x3a8)]=_0x4a625c,this[_0x37dc08(0x302)]=_0x338356,this[_0x37dc08(0x1b5)]=_0x508fcd,this['_refRangeService']=_0x7e2cd2);}get[_0x3f7a85(0x366)](){return this['_cursorInfo$']['getValue']();}get[_0x3f7a85(0x21b)](){const _0x5090bb=_0x3f7a85;return this[_0x5090bb(0x331)][_0x5090bb(0x430)]();}[_0x3f7a85(0x405)](){const _0xd69d33=_0x3f7a85;super['dispose'](),this[_0xd69d33(0x341)]['next'](new Map()),this['_cursorInfo$'][_0xd69d33(0x2a4)](),this[_0xd69d33(0x331)][_0xd69d33(0x33c)]([]),this[_0xd69d33(0x331)][_0xd69d33(0x2a4)]();}[_0x3f7a85(0x3e9)](){const _0x17d993=_0x3f7a85;this['_init']||(this['_init']=!0x0,this[_0x17d993(0x3e3)][_0x17d993(0x1ad)][_0x17d993(0x2e7)](_0x2bfd9f['takeUntil'](this[_0x17d993(0x3f8)]))[_0x17d993(0x1ed)](_0x429a9d=>{const _0xe8abf9=_0x17d993;_0x429a9d===_0x5cf9d0[_0xe8abf9(0x216)]['ONLINE']?this[_0xe8abf9(0x227)]():this['_toggleOffline']();}),this['_session']['event$']['pipe'](_0x2bfd9f['takeUntil'](this[_0x17d993(0x3f8)]))['subscribe'](_0x52e709=>{const _0x284cef=_0x17d993,_0x294364=_0x52e709['eventID'];_0x294364===_0x5ca6a1[_0x284cef(0x19e)]['UPDATE_CURSOR']&&this[_0x284cef(0x1e4)](_0x52e709),_0x294364===_0x5ca6a1['CollaborationEvent'][_0x284cef(0x3bd)]&&this[_0x284cef(0x255)](_0x52e709);}),this['_onRefRangeChange'](),this[_0x17d993(0x23e)](this[_0x17d993(0x1b5)][_0x17d993(0x1ab)](_0x33b72c=>{const _0x5c4b46=_0x17d993;if(this[_0x5c4b46(0x27d)]&&_0x33b72c['id']===_0x271a7a[_0x5c4b46(0x197)]['id']&&_0x33b72c[_0x5c4b46(0x3ce)][_0x5c4b46(0x3d1)]===this['unitID']){const _0x154d80=_0x33b72c[_0x5c4b46(0x3ce)];this[_0x5c4b46(0x32b)](_0x154d80['subUnitId'],_0x154d80[_0x5c4b46(0x3cc)][0x0]);}})));}[_0x3f7a85(0x1e4)](_0x1ba2bb){const _0x48cdc6=_0x3f7a85;var _0x330365,_0x38a94c;const {memberID:_0x3b9bdd,selection:_0x5aa476}=_0x1ba2bb[_0x48cdc6(0x365)],{sheetName:_0x63cf6d,range:_0x120897}=_0x303398['deserializeRangeWithSheet'](_0x5aa476),_0x519f22={'name':(_0x38a94c=(_0x330365=this['_memberService'][_0x48cdc6(0x1a3)](this[_0x48cdc6(0x262)],_0x3b9bdd))==null?void 0x0:_0x330365[_0x48cdc6(0x2e1)])!=null?_0x38a94c:_0x48cdc6(0x376),'range':this[_0x48cdc6(0x368)](_0x63cf6d,_0x120897),'sheetID':_0x63cf6d,'color':this[_0x48cdc6(0x383)]['assignAColorForMemberID'](_0x3b9bdd),'selection':_0x5aa476},_0xe5138d=this[_0x48cdc6(0x366)];_0xe5138d[_0x48cdc6(0x3d2)](_0x3b9bdd,_0x519f22),this[_0x48cdc6(0x341)]['next'](_0xe5138d);}[_0x3f7a85(0x255)](_0x3cedcb){const _0x4e8f48=_0x3f7a85,{memberID:_0xa88fd7}=_0x3cedcb['data'],_0x46354e=this[_0x4e8f48(0x366)];_0x46354e[_0x4e8f48(0x1cb)](_0xa88fd7),this[_0x4e8f48(0x341)]['next'](_0x46354e);}['_getMergeRange'](_0x26f831,_0x31ae2d){const _0x267f22=_0x3f7a85;var _0x1f2a93,_0x2c1f0a;const _0x504a7f=(_0x2c1f0a=(_0x1f2a93=this[_0x267f22(0x302)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x1f2a93['getSheetBySheetId'](_0x26f831))==null?void 0x0:_0x2c1f0a['getMergeData']();return(_0x504a7f==null?void 0x0:_0x504a7f['find'](_0x431857=>_0x1db576[_0x267f22(0x3a7)]['contains'](_0x431857,_0x31ae2d)))||_0x31ae2d;}['_onRefRangeChange'](){const _0x1790b2=_0x3f7a85,_0x5d821f=new _0x1db576[(_0x1790b2(0x3f5))](),_0x4c4510=_0x3aa5b8(),_0x214704=()=>{const _0x10e06e=_0x1790b2;_0x5d821f[_0x10e06e(0x405)]();const _0x44bd26=(_0x281521,_0x531760,_0x27635d,_0x528232)=>{const _0x143c84=_0x10e06e;let _0x593e61=[];switch(_0x281521['id']){case _0x271a7a[_0x143c84(0x39e)][_0x143c84(0x3f9)]:{_0x593e61=_0x271a7a[_0x143c84(0x403)](_0x281521,_0x528232);break;}case _0x271a7a[_0x143c84(0x39e)]['DeleteRangeMoveUpCommandId']:{_0x593e61=_0x271a7a[_0x143c84(0x378)](_0x281521,_0x528232);break;}case _0x271a7a[_0x143c84(0x39e)][_0x143c84(0x1e2)]:{_0x593e61=_0x271a7a['handleInsertCol'](_0x281521,_0x528232);break;}case _0x271a7a[_0x143c84(0x39e)][_0x143c84(0x38c)]:{_0x593e61=_0x271a7a[_0x143c84(0x374)](_0x281521,_0x528232);break;}case _0x271a7a[_0x143c84(0x39e)]['InsertRangeMoveRightCommandId']:{_0x593e61=_0x271a7a[_0x143c84(0x2bd)](_0x281521,_0x528232);break;}case _0x271a7a[_0x143c84(0x39e)]['InsertRowCommandId']:{_0x593e61=_0x271a7a[_0x143c84(0x3aa)](_0x281521,_0x528232);break;}case _0x271a7a['EffectRefRangId'][_0x143c84(0x25f)]:{_0x593e61=_0x271a7a[_0x143c84(0x233)](_0x281521,_0x528232);break;}case _0x271a7a[_0x143c84(0x39e)][_0x143c84(0x2c8)]:{_0x593e61=_0x271a7a[_0x143c84(0x28d)](_0x281521,_0x528232);break;}case _0x271a7a['EffectRefRangId'][_0x143c84(0x423)]:{_0x593e61=_0x271a7a[_0x143c84(0x1d6)](_0x281521,_0x528232);break;}}const _0xacc46a=_0x271a7a[_0x143c84(0x37c)](_0x593e61,_0x528232),_0x4a7d2d=this['cursorInfo'][_0x143c84(0x3a5)](_0x531760);if(_0x4a7d2d&&_0xacc46a){const _0x4e3327={..._0x4a7d2d,'range':_0xacc46a};this['cursorInfo'][_0x143c84(0x3d2)](_0x531760,_0x4e3327),_0x4c4510(()=>{const _0x305a25=_0x143c84,_0x554ed4=this[_0x305a25(0x243)][_0x305a25(0x1ef)](_0xacc46a,_0x50405c=>(_0x554ed4[_0x305a25(0x405)](),_0x44bd26(_0x50405c,_0x531760,_0x27635d,_0xacc46a)));_0x5d821f[_0x305a25(0x359)](_0x554ed4);});}return{'redos':[],'undos':[]};};this[_0x10e06e(0x366)][_0x10e06e(0x34c)]((_0x26e2d5,_0x51a63c)=>{const _0x21f886=_0x10e06e,{range:_0xefd7bf,sheetID:_0x3c81aa}=_0x26e2d5,_0x5319a9=this[_0x21f886(0x243)][_0x21f886(0x1ef)](_0xefd7bf,_0x551000=>(_0x5319a9[_0x21f886(0x405)](),_0x44bd26(_0x551000,_0x51a63c,_0x3c81aa,_0xefd7bf)));_0x5d821f[_0x21f886(0x359)](_0x5319a9);});};this[_0x1790b2(0x23e)](_0x1db576[_0x1790b2(0x355)](this[_0x1790b2(0x341)][_0x1790b2(0x1ed)](()=>{_0x214704();})));}[_0x3f7a85(0x227)](){const _0x559590=_0x3f7a85;var _0xe3717f,_0x54c4eb;if(this[_0x559590(0x27d)]=!0x0,((_0xe3717f=this['_univerInstanceService'][_0x559590(0x234)]())==null?void 0x0:_0xe3717f[_0x559590(0x38e)]())!==this[_0x559590(0x262)])return;const _0x8a2858=(_0x54c4eb=this[_0x559590(0x2fe)][_0x559590(0x3a5)](_0x271a7a[_0x559590(0x3a3)])[_0x559590(0x304)]())==null?void 0x0:_0x54c4eb[0x0],_0xf5c33=this[_0x559590(0x302)]['getCurrentUnitForType'](_0x1db576[_0x559590(0x27e)][_0x559590(0x41e)])[_0x559590(0x1ea)]();_0x8a2858&&_0xf5c33&&this[_0x559590(0x32b)](_0xf5c33[_0x559590(0x2c6)](),_0x8a2858);}[_0x3f7a85(0x349)](){const _0x2d6fdd=_0x3f7a85;this[_0x2d6fdd(0x27d)]=!0x1;}};_0x5be8d7=_0x419bb9([_0xda5b32(0x2,_0x1db576[_0x3f7a85(0x1f5)](_0x1db576[_0x3f7a85(0x325)])),_0xda5b32(0x3,_0x1db576[_0x3f7a85(0x1f5)](_0x46c5bf)),_0xda5b32(0x4,_0x1db576[_0x3f7a85(0x1f5)](_0x5cf9d0[_0x3f7a85(0x223)])),_0xda5b32(0x5,_0x1db576[_0x3f7a85(0x35b)]),_0xda5b32(0x6,_0x1db576['ICommandService']),_0xda5b32(0x7,_0x1db576[_0x3f7a85(0x1f5)](_0x271a7a[_0x3f7a85(0x2d9)]))],_0x5be8d7);var _0x323b84=Object[_0x3f7a85(0x372)],_0x5e53b9=(_0x3c7cd5,_0x4fbfba,_0x381195,_0x266ea3)=>{const _0x5928a8=_0x3f7a85;for(var _0x1e6dfe=_0x266ea3>0x1?void 0x0:_0x266ea3?_0x323b84(_0x4fbfba,_0x381195):_0x4fbfba,_0x2dacc9=_0x3c7cd5[_0x5928a8(0x1b9)]-0x1,_0x433092;_0x2dacc9>=0x0;_0x2dacc9--)(_0x433092=_0x3c7cd5[_0x2dacc9])&&(_0x1e6dfe=_0x433092(_0x1e6dfe)||_0x1e6dfe);return _0x1e6dfe;},_0x217c36=(_0x44a339,_0x4b5e6a)=>(_0x29f7a6,_0x26de0a)=>_0x4b5e6a(_0x29f7a6,_0x26de0a,_0x44a339);let _0x3c2926=class extends _0x1db576['RxDisposable']{constructor(_0x28450c,_0x1e1b04,_0x283007){const _0x687a7=_0x3f7a85;super(),_0x76a544(this,'_entities',new Map()),_0x76a544(this,'_entityInit$',new _0x2bfd9f[(_0x687a7(0x2d4))]()),(this[_0x687a7(0x302)]=_0x28450c,this[_0x687a7(0x2fe)]=_0x1e1b04,this[_0x687a7(0x2d1)]=_0x283007,this[_0x687a7(0x290)]());}[_0x3f7a85(0x405)](){const _0x4e343d=_0x3f7a85;super[_0x4e343d(0x405)](),this[_0x4e343d(0x247)][_0x4e343d(0x2a4)](),this[_0x4e343d(0x30c)]['forEach'](_0x580123=>_0x580123['dispose']());}[_0x3f7a85(0x40f)](_0x13af4e){const _0x1dd567=_0x3f7a85;return this[_0x1dd567(0x30c)]['has'](_0x13af4e)?this[_0x1dd567(0x30c)][_0x1dd567(0x3a5)](_0x13af4e)['cursorInfo$']:this['_entityInit$'][_0x1dd567(0x2e7)](_0x2bfd9f[_0x1dd567(0x19a)](_0x500aa5=>_0x500aa5[_0x1dd567(0x262)]===_0x13af4e),_0x2bfd9f[_0x1dd567(0x425)](_0x1dbe5d=>_0x1dbe5d['cursorInfo$']));}[_0x3f7a85(0x290)](){const _0x7cfa9b=_0x3f7a85;this[_0x7cfa9b(0x302)]['getTypeOfUnitAdded$'](_0x1db576[_0x7cfa9b(0x27e)]['UNIVER_SHEET'])[_0x7cfa9b(0x2e7)](_0x2bfd9f[_0x7cfa9b(0x36c)](this[_0x7cfa9b(0x3f8)]))[_0x7cfa9b(0x1ed)](async _0x4022a1=>{const _0x34fc53=_0x7cfa9b,_0x14dcd3=_0x4022a1[_0x34fc53(0x38e)](),_0x3fd168=await this[_0x34fc53(0x2c1)](_0x14dcd3);this[_0x34fc53(0x247)][_0x34fc53(0x33c)](_0x3fd168),this[_0x34fc53(0x30c)][_0x34fc53(0x3d2)](_0x14dcd3,_0x3fd168);}),this[_0x7cfa9b(0x302)][_0x7cfa9b(0x3f2)](_0x1db576[_0x7cfa9b(0x27e)][_0x7cfa9b(0x1c1)])[_0x7cfa9b(0x2e7)](_0x2bfd9f[_0x7cfa9b(0x36c)](this[_0x7cfa9b(0x3f8)]))[_0x7cfa9b(0x2e7)](_0x2bfd9f[_0x7cfa9b(0x19a)](_0x2b606e=>!_0x2b606e[_0x7cfa9b(0x38e)]()[_0x7cfa9b(0x293)]('__')))['subscribe'](async _0x2942f6=>{const _0x4fb789=_0x7cfa9b,_0x3e7e38=_0x2942f6[_0x4fb789(0x38e)](),_0x208917=await this[_0x4fb789(0x3f3)](_0x3e7e38);this[_0x4fb789(0x247)][_0x4fb789(0x33c)](_0x208917),this[_0x4fb789(0x30c)][_0x4fb789(0x3d2)](_0x3e7e38,_0x208917);}),_0x2bfd9f['merge'](this[_0x7cfa9b(0x302)]['getTypeOfUnitDisposed$'](_0x1db576[_0x7cfa9b(0x27e)]['UNIVER_DOC']),this[_0x7cfa9b(0x302)][_0x7cfa9b(0x32d)](_0x1db576[_0x7cfa9b(0x27e)][_0x7cfa9b(0x41e)]))['pipe'](_0x2bfd9f[_0x7cfa9b(0x36c)](this['dispose$']))['subscribe'](_0x2c0235=>{const _0x399a03=_0x7cfa9b,_0x42e9dd=_0x2c0235[_0x399a03(0x38e)](),_0x17e55b=this[_0x399a03(0x30c)]['get'](_0x42e9dd);_0x17e55b&&(_0x17e55b[_0x399a03(0x405)](),this[_0x399a03(0x30c)][_0x399a03(0x1cb)](_0x42e9dd));});}async[_0x3f7a85(0x2c1)](_0x43ec87){const _0x4ae21d=_0x3f7a85,_0x5348e1=await this[_0x4ae21d(0x2d1)][_0x4ae21d(0x2f1)](_0x43ec87),_0x4957a1=this[_0x4ae21d(0x2fe)][_0x4ae21d(0x29a)](_0x5be8d7,_0x43ec87,_0x5348e1);return _0x4957a1[_0x4ae21d(0x3e9)](),_0x4957a1;}async[_0x3f7a85(0x3f3)](_0x4a3a11){const _0x4a3804=_0x3f7a85,_0x3baf39=await this['_collabSessionService'][_0x4a3804(0x2f1)](_0x4a3a11),_0x143180=this[_0x4a3804(0x2fe)]['createInstance'](_0x375a6d,_0x4a3a11,_0x3baf39);return _0x143180[_0x4a3804(0x3e9)](),_0x143180;}};_0x3c2926=_0x5e53b9([_0x217c36(0x0,_0x1db576[_0x3f7a85(0x35b)]),_0x217c36(0x1,_0x1db576['Inject'](_0x1db576[_0x3f7a85(0x325)])),_0x217c36(0x2,_0x1db576[_0x3f7a85(0x1f5)](_0x5cf9d0['CollaborationSessionService']))],_0x3c2926);const _0x1719cd=0x14,_0x33f586=0xc8,_0x5ab930=0x4,_0x3adffa=0x5;function _0x3bafda(_0x219990,_0x4b3d1e){const _0x4aa5e5=_0x3f7a85;let {radius:_0x187203,width:_0x2759ca,height:_0x10bf4b}=_0x4b3d1e;_0x187203=_0x187203!=null?_0x187203:0x0,_0x2759ca=_0x2759ca!=null?_0x2759ca:0x1e,_0x10bf4b=_0x10bf4b!=null?_0x10bf4b:0x1e;let _0x25495b=0x0,_0x43c7e5=0x0,_0x2f443e=0x0;_0x25495b=_0x43c7e5=_0x2f443e=Math['min'](_0x187203,_0x2759ca/0x2,_0x10bf4b/0x2),_0x219990[_0x4aa5e5(0x254)](),_0x219990[_0x4aa5e5(0x1da)](_0x25495b,0x0),_0x219990[_0x4aa5e5(0x2a9)](_0x2759ca-_0x43c7e5,0x0),_0x219990[_0x4aa5e5(0x1fb)](_0x2759ca-_0x43c7e5,_0x43c7e5,_0x43c7e5,Math['PI']*0x3/0x2,0x0,!0x1),_0x219990[_0x4aa5e5(0x2a9)](_0x2759ca,_0x10bf4b-_0x2f443e),_0x219990[_0x4aa5e5(0x1fb)](_0x2759ca-_0x2f443e,_0x10bf4b-_0x2f443e,_0x2f443e,0x0,Math['PI']/0x2,!0x1),_0x219990[_0x4aa5e5(0x2a9)](0x0,_0x10bf4b),_0x219990[_0x4aa5e5(0x2a9)](0x0,_0x25495b),_0x219990[_0x4aa5e5(0x1fb)](_0x25495b,_0x25495b,_0x25495b,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x219990[_0x4aa5e5(0x1a8)](),_0x4b3d1e[_0x4aa5e5(0x231)]&&(_0x219990[_0x4aa5e5(0x2d0)](),_0x219990[_0x4aa5e5(0x412)]=_0x4b3d1e['fill'],_0x4b3d1e[_0x4aa5e5(0x31d)]===_0x4aa5e5(0x1de)?_0x219990[_0x4aa5e5(0x231)](_0x4aa5e5(0x1de)):_0x219990[_0x4aa5e5(0x231)](),_0x219990['restore']());}class _0x3c7e72 extends _0x9322cd[_0x3f7a85(0x3ea)]{constructor(_0x1daaf7,_0x20f197){const _0x3adfeb=_0x3f7a85;super(_0x1daaf7,_0x20f197),_0x76a544(this,'color'),_0x76a544(this,_0x3adfeb(0x1af)),(this['color']=_0x20f197==null?void 0x0:_0x20f197[_0x3adfeb(0x246)],this[_0x3adfeb(0x1af)]=_0x20f197==null?void 0x0:_0x20f197[_0x3adfeb(0x1af)]);}static[_0x3f7a85(0x1aa)](_0x891db,_0xec2f67){const _0x369f2e=_0x3f7a85,{text:_0x59d7d0,color:_0x588944}=_0xec2f67;_0x891db['save'](),_0x891db[_0x369f2e(0x334)]=_0x369f2e(0x3e2);const _0x1bea66=_0x891db[_0x369f2e(0x1b1)](_0x59d7d0)[_0x369f2e(0x24b)],_0x21361b=Math['min'](_0x1bea66+0x2*_0x5ab930,_0x33f586);_0x3bafda(_0x891db,{'height':_0x1719cd,'radius':0x4,'width':_0x21361b,'fill':_0x588944}),_0x891db['fillStyle']=_0x369f2e(0x3b8);const _0x3bcaf5=_0x5ab930,_0x24d621=_0x1719cd-_0x3adffa,_0xfff22e=_0x33f586-0x2*_0x5ab930;if(_0x1bea66>_0xfff22e){let _0x3da9ed='',_0x438ad7=0x0;for(const _0x179adc of _0x59d7d0){const _0x2ed7a0=_0x891db[_0x369f2e(0x1b1)](_0x179adc)[_0x369f2e(0x24b)];if(_0x438ad7+_0x2ed7a0<=_0xfff22e-_0x891db[_0x369f2e(0x1b1)](_0x369f2e(0x22b))[_0x369f2e(0x24b)])_0x3da9ed+=_0x179adc,_0x438ad7+=_0x2ed7a0;else{_0x3da9ed+='...';break;}}_0x891db['fillText'](_0x3da9ed,_0x3bcaf5,_0x24d621);}else _0x891db[_0x369f2e(0x2ae)](_0x59d7d0,_0x3bcaf5,_0x24d621);_0x891db[_0x369f2e(0x418)]();}[_0x3f7a85(0x3de)](_0x44924e){const _0x1a0fc7=_0x3f7a85;_0x3c7e72[_0x1a0fc7(0x1aa)](_0x44924e,this);}}const _0x2b9667='collab-text-anchor-',_0xd02e06=_0x3f7a85(0x39a),_0x10dcd1=_0x3f7a85(0x34d),_0x32090c=0x6,_0x9aba8c=1.5,_0x7ef56d=0x4,_0x1cbe17=1.5,_0x5d6515=_0x3f7a85(0x357);class _0x34ba4a{constructor(_0x25cbc8,_0x5c698f,_0x2c3ab9,_0x55eaff){const _0x2ba478=_0x3f7a85;_0x76a544(this,_0x2ba478(0x228),[]),_0x76a544(this,_0x2ba478(0x3b6),null),_0x76a544(this,_0x2ba478(0x3f4),null),_0x76a544(this,_0x2ba478(0x21f),null),_0x76a544(this,_0x2ba478(0x285),null),_0x76a544(this,_0x2ba478(0x1e6),null),(this['_cursor']=_0x25cbc8,this[_0x2ba478(0x22a)]=_0x5c698f,this['_docSkeleton']=_0x2c3ab9,this[_0x2ba478(0x3d5)]=_0x55eaff,this[_0x2ba478(0x220)]());}set[_0x3f7a85(0x352)](_0x29d8d9){const _0x27cd00=_0x3f7a85;_0x29d8d9?(this[_0x27cd00(0x21f)]&&this[_0x27cd00(0x21f)][_0x27cd00(0x295)](),this[_0x27cd00(0x3f4)]&&this[_0x27cd00(0x3f4)][_0x27cd00(0x411)]()):(this[_0x27cd00(0x21f)]&&this[_0x27cd00(0x21f)][_0x27cd00(0x411)](),this['_textBubble']&&this['_textBubble'][_0x27cd00(0x295)]());}[_0x3f7a85(0x405)](){const _0xb2d555=_0x3f7a85;for(const _0x56b7c1 of this[_0xb2d555(0x228)])_0x56b7c1[_0xb2d555(0x405)]();this[_0xb2d555(0x3f4)]&&this[_0xb2d555(0x3f4)][_0xb2d555(0x405)](),this[_0xb2d555(0x21f)]&&this[_0xb2d555(0x21f)]['dispose'](),this[_0xb2d555(0x3b6)]&&this[_0xb2d555(0x3b6)][_0xb2d555(0x405)](),this['_eventUnsubscribe']&&this[_0xb2d555(0x1e6)]();}[_0x3f7a85(0x220)](){const _0x252466=_0x3f7a85;var _0x2b52cd;const {_docSkeleton:_0x2b8ea2,_document:_0x35c362}=this,{color:_0x11a701,name:_0x3d902f,ranges:_0xa440ed}=this['_cursor'],_0x2275b7=_0x35c362[_0x252466(0x32f)](),{docsLeft:_0x4bdfa9,docsTop:_0x237955}=_0x2275b7,_0xac2094=new _0x56cec3['NodePositionConvertToCursor'](_0x2275b7,_0x2b8ea2);for(const {startOffset:_0x2cf85d,endOffset:_0x246288,rangeType:_0x1d1779,segmentId:_0x267c67,segmentPage:_0x54f50b,collapsed:_0x2e9f31,isActive:_0x43cdc6}of _0xa440ed){const _0x120741=_0x2b8ea2[_0x252466(0x2fa)](_0x2cf85d,!0x0,_0x267c67,_0x54f50b);let _0x436ebb=_0x2b8ea2[_0x252466(0x2fa)](_0x246288,!0x0,_0x267c67,_0x54f50b);if(_0x436ebb==null&&(_0x436ebb=_0x2b8ea2[_0x252466(0x2fa)](_0x246288-0x1,!0x1,_0x267c67,_0x54f50b)),_0x43cdc6){const {contentBoxPointGroup:_0x2d9e2c}=_0xac2094['getRangePointData'](_0x436ebb,_0x436ebb);if(_0x2d9e2c[_0x252466(0x1b9)]===0x0)continue;this[_0x252466(0x35e)](_0x11a701,_0x2d9e2c,_0x4bdfa9,_0x237955,_0x3d902f),this[_0x252466(0x1e6)]=this['_handleHover']();}if(_0x120741&&_0x436ebb){if(_0x1d1779===_0x1db576[_0x252466(0x25e)][_0x252466(0x288)]){const _0x5a09c4=new _0x56cec3[(_0x252466(0x2b4))](_0x2275b7,_0x2b8ea2),{pointGroup:_0x2ff2de}=(_0x2b52cd=_0x5a09c4[_0x252466(0x409)](_0x120741,_0x436ebb))!=null?_0x2b52cd:{};if(_0x2ff2de==null||_0x2ff2de[_0x252466(0x1b9)]===0x0)continue;this['_drawRectRange'](_0x11a701,_0x2ff2de,_0x4bdfa9,_0x237955);}else{if(!_0x2e9f31){const {borderBoxPointGroup:_0x119ba7}=_0xac2094[_0x252466(0x409)](_0x120741,_0x436ebb);if(_0x119ba7[_0x252466(0x1b9)]===0x0)continue;this['_drawTextRange'](_0x11a701,_0x119ba7,_0x4bdfa9,_0x237955);}}}}}[_0x3f7a85(0x35e)](_0x3037fc,_0x33086b,_0x53f7ca,_0x17866a,_0x16e600){const _0x47eec6=_0x3f7a85,_0x4d84bc=this[_0x47eec6(0x308)](_0x33086b),{left:_0x2e2098,top:_0x17bafe,height:_0x424110}=_0x4d84bc,_0x566aee=this[_0x47eec6(0x3ac)](),_0x463295=_0x1cbe17/_0x566aee,_0x24ab45=new _0x9322cd['Rect'](_0x2b9667+_0x1db576[_0x47eec6(0x27f)][_0x47eec6(0x1c7)](_0x32090c),{'left':_0x2e2098+_0x53f7ca-_0x463295,'top':_0x17bafe+_0x17866a,'height':_0x424110,'width':_0x9aba8c,'fill':_0x3037fc||_0x9322cd['getColor'](_0x1db576[_0x47eec6(0x26c)]['black'],0x0),'strokeWidth':_0x463295,'stroke':_0x5d6515,'evented':!0x0});this[_0x47eec6(0x3b6)]=_0x24ab45,this[_0x47eec6(0x22a)]['addObject'](_0x24ab45,_0x56cec3[_0x47eec6(0x269)]);const _0x2c8a89=new _0x9322cd[(_0x47eec6(0x1b3))](_0x2b9667+_0x1db576[_0x47eec6(0x27f)]['generateRandomId'](_0x32090c),{'left':_0x2e2098+_0x53f7ca-_0x463295,'top':_0x17bafe+_0x17866a-_0x7ef56d/0x2,'height':_0x7ef56d,'width':_0x7ef56d,'fill':_0x3037fc||_0x9322cd[_0x47eec6(0x26a)](_0x1db576[_0x47eec6(0x26c)][_0x47eec6(0x3fb)],0x0),'strokeWidth':0x0,'stroke':_0x3037fc||_0x9322cd[_0x47eec6(0x26a)](_0x1db576[_0x47eec6(0x26c)][_0x47eec6(0x3fb)],0x0),'evented':!0x1});this['_anchorDot']=_0x2c8a89,this[_0x47eec6(0x22a)][_0x47eec6(0x32c)](_0x2c8a89,_0x56cec3[_0x47eec6(0x269)]);const _0x3d372c=new _0x3c7e72(_0x2b9667+_0x1db576[_0x47eec6(0x27f)][_0x47eec6(0x1c7)](_0x32090c),{'left':_0x2e2098+_0x53f7ca-_0x463295,'top':_0x17bafe+_0x17866a-_0x1719cd,'text':_0x16e600,'color':_0x3037fc});this['_textBubble']=_0x3d372c,this[_0x47eec6(0x22a)]['addObject'](_0x3d372c,_0x56cec3[_0x47eec6(0x269)]),this[_0x47eec6(0x352)]=!0x1;}[_0x3f7a85(0x265)](){const _0x24bb5f=_0x3f7a85,_0x3eff7c=this['_anchor'][_0x24bb5f(0x242)][_0x24bb5f(0x431)](()=>{const _0x8f1cad=_0x24bb5f;this[_0x8f1cad(0x352)]=!0x0;}),_0x392c7e=this['_anchor']['onPointerLeave$'][_0x24bb5f(0x431)](()=>{const _0x9ea081=_0x24bb5f;this[_0x9ea081(0x285)]&&clearTimeout(this[_0x9ea081(0x285)]),this[_0x9ea081(0x285)]=setTimeout(()=>{const _0x3be703=_0x9ea081;this[_0x3be703(0x352)]=!0x1;},0x7d0);});return()=>{const _0x6c2ef2=_0x24bb5f;_0x3eff7c[_0x6c2ef2(0x1be)](),_0x392c7e['unsubscribe']();};}[_0x3f7a85(0x42a)](_0x54c17a,_0x3edf66,_0x1f6ce4,_0x29eb68){const _0x3b1ab4=_0x3f7a85,_0x2d9e32=new _0x1db576[(_0x3b1ab4(0x20e))](_0x54c17a)[_0x3b1ab4(0x2cb)](0.2)[_0x3b1ab4(0x274)](),_0x15f0e8=new _0x9322cd['RegularPolygon'](_0xd02e06+_0x1db576[_0x3b1ab4(0x27f)]['generateRandomId'](_0x32090c),{'pointsGroup':_0x3edf66,'fill':_0x2d9e32||_0x9322cd[_0x3b1ab4(0x26a)](_0x1db576['COLORS'][_0x3b1ab4(0x3fb)],0.2),'left':_0x1f6ce4,'top':_0x29eb68,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3b1ab4(0x228)]['push'](_0x15f0e8),this[_0x3b1ab4(0x22a)][_0x3b1ab4(0x32c)](_0x15f0e8,_0x56cec3[_0x3b1ab4(0x269)]);}['_drawRectRange'](_0x589c8f,_0x38f858,_0x5d7d8f,_0x3ce0cf){const _0x24d295=_0x3f7a85,_0x530411=new _0x1db576[(_0x24d295(0x20e))](_0x589c8f)[_0x24d295(0x2cb)](0.2)[_0x24d295(0x274)](),_0x2ed3a6=new _0x9322cd[(_0x24d295(0x3b1))](_0x10dcd1+_0x1db576[_0x24d295(0x27f)][_0x24d295(0x1c7)](_0x32090c),{'pointsGroup':_0x38f858,'fill':_0x530411||_0x9322cd[_0x24d295(0x26a)](_0x1db576[_0x24d295(0x26c)][_0x24d295(0x3fb)],0.2),'left':_0x5d7d8f,'top':_0x3ce0cf,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x24d295(0x228)][_0x24d295(0x3ca)](_0x2ed3a6),this[_0x24d295(0x22a)][_0x24d295(0x32c)](_0x2ed3a6,_0x56cec3[_0x24d295(0x269)]);}[_0x3f7a85(0x308)](_0x387ed6){const _0x23d794=_0x387ed6[0x0],_0x4e0058=_0x23d794[0x0],_0x14506c=_0x23d794[0x2],{x:_0x5c5406,y:_0x1a2718}=_0x4e0058,{x:_0xa98dda,y:_0x5e0bee}=_0x14506c;return{'left':_0x5c5406,'top':_0x1a2718,'width':_0xa98dda-_0x5c5406,'height':_0x5e0bee-_0x1a2718};}[_0x3f7a85(0x3ac)](){const _0x71ece8=_0x3f7a85,{scaleX:_0x25ed26,scaleY:_0x359fd5}=this[_0x71ece8(0x22a)][_0x71ece8(0x3d0)]();return Math[_0x71ece8(0x41c)](_0x25ed26,_0x359fd5);}}var _0x56cac0=Object['getOwnPropertyDescriptor'],_0x39a1af=(_0x588b57,_0x55bd9b,_0x3320f7,_0x2b4319)=>{const _0xf99463=_0x3f7a85;for(var _0x491936=_0x2b4319>0x1?void 0x0:_0x2b4319?_0x56cac0(_0x55bd9b,_0x3320f7):_0x55bd9b,_0x4e46af=_0x588b57[_0xf99463(0x1b9)]-0x1,_0x2de712;_0x4e46af>=0x0;_0x4e46af--)(_0x2de712=_0x588b57[_0x4e46af])&&(_0x491936=_0x2de712(_0x491936)||_0x491936);return _0x491936;},_0x12d929=(_0x1ab004,_0x4c92af)=>(_0x1a9896,_0x3a41be)=>_0x4c92af(_0x1a9896,_0x3a41be,_0x1ab004);let _0x3a4ceb=class extends _0x1db576[_0x3f7a85(0x2d6)]{constructor(_0x8f5200,_0x49e584,_0x545ec6,_0x1cbaf9,_0x4abc44){const _0x30f2c3=_0x3f7a85;super(),_0x76a544(this,_0x30f2c3(0x2f4),[]),_0x76a544(this,_0x30f2c3(0x34a),[]),(this['_context']=_0x8f5200,this['_docSkeletonManagerService']=_0x49e584,this[_0x30f2c3(0x1ec)]=_0x545ec6,this[_0x30f2c3(0x1b5)]=_0x1cbaf9,this[_0x30f2c3(0x3ba)]=_0x4abc44,this[_0x30f2c3(0x290)]());}[_0x3f7a85(0x290)](){const _0x21a5b9=_0x3f7a85,_0x2c3b27=this[_0x21a5b9(0x344)][_0x21a5b9(0x3d1)],_0x2c2ddf=this[_0x21a5b9(0x328)];this[_0x21a5b9(0x23e)](_0x2bfd9f[_0x21a5b9(0x310)]([this[_0x21a5b9(0x1ec)][_0x21a5b9(0x40f)](_0x2c3b27),this['_themeService'][_0x21a5b9(0x3cf)]])[_0x21a5b9(0x2e7)](_0x405c34[_0x21a5b9(0x32e)](([_0x2c7454,_0x44cbd3])=>({'skeleton':_0x2c2ddf[_0x21a5b9(0x347)](),'cursors':[..._0x2c7454[_0x21a5b9(0x200)]()][_0x21a5b9(0x1dd)](_0x155dfa=>({..._0x155dfa,'color':_0x44cbd3[_0x155dfa[_0x21a5b9(0x246)]]}))})))[_0x21a5b9(0x1ed)](_0x221fb5=>{const _0x2fb5c8=_0x21a5b9;if(this[_0x2fb5c8(0x2aa)](),_0x221fb5){const {skeleton:_0x122195,cursors:_0x2ea5b0}=_0x221fb5;this[_0x2fb5c8(0x1b6)](_0x122195,_0x2ea5b0);}})),this['_initResize'](),this[_0x21a5b9(0x306)]();}['_updateCollabCursors'](_0x428705,_0x7370a){const _0x1719f7=_0x3f7a85,{scene:_0x67f2cc,mainComponent:_0x5a01e9}=this[_0x1719f7(0x344)],_0x422f4f=_0x7370a[_0x1719f7(0x32e)](_0xe3964c=>new _0x34ba4a(_0xe3964c,_0x67f2cc,_0x428705,_0x5a01e9));this['_cursorShapes']=_0x422f4f,this['_cursors']=_0x7370a;}[_0x3f7a85(0x2a0)](){const _0x43812c=_0x3f7a85;this[_0x43812c(0x2aa)]();const {scene:_0x53f794,mainComponent:_0x10701f}=this[_0x43812c(0x344)],_0x3adb4e=this['_docSkeletonManagerService']['getSkeleton'](),_0x3e5f11=this[_0x43812c(0x34a)][_0x43812c(0x32e)](_0xcca952=>new _0x34ba4a(_0xcca952,_0x53f794,_0x3adb4e,_0x10701f));this[_0x43812c(0x2f4)]=_0x3e5f11;}[_0x3f7a85(0x2aa)](){const _0x11a73f=_0x3f7a85;this[_0x11a73f(0x2f4)][_0x11a73f(0x34c)](_0x99689f=>_0x99689f[_0x11a73f(0x405)]()),this[_0x11a73f(0x2f4)]=[];}[_0x3f7a85(0x306)](){const _0x4254b1=_0x3f7a85,_0x175ff5=[_0x56cec3[_0x4254b1(0x2f6)]['id']];this['disposeWithMe'](this['_commandService'][_0x4254b1(0x1ab)](_0x1e483a=>{const _0x805334=_0x4254b1;_0x175ff5[_0x805334(0x273)](_0x1e483a['id'])&&_0x1e483a[_0x805334(0x3ce)][_0x805334(0x3d1)]===this[_0x805334(0x344)]['unitId']&&this[_0x805334(0x2a0)]();}));}[_0x3f7a85(0x210)](){const _0x411e84=_0x3f7a85;this[_0x411e84(0x23e)](_0x1db576['fromEventSubject'](this[_0x411e84(0x344)]['engine']['onTransformChange$'])[_0x411e84(0x2e7)](_0x405c34['filter'](_0x25f541=>_0x25f541['type']===_0x9322cd['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x405c34[_0x411e84(0x3c7)](0x10))[_0x411e84(0x1ed)](()=>{this['_refreshCollabCursors']();}));}};_0x3a4ceb=_0x39a1af([_0x12d929(0x1,_0x1db576[_0x3f7a85(0x1f5)](_0x3a0d44[_0x3f7a85(0x315)])),_0x12d929(0x2,_0x1db576[_0x3f7a85(0x1f5)](_0x3c2926)),_0x12d929(0x3,_0x1db576[_0x3f7a85(0x36d)]),_0x12d929(0x4,_0x1db576[_0x3f7a85(0x1f5)](_0x1db576['ThemeService']))],_0x3a4ceb);const _0xe4883e=0x1,_0x4fa377=1.5;class _0x3f7254 extends _0x9322cd[_0x3f7a85(0x3ea)]{constructor(_0x1e4f00,_0x130afb){const _0x10a5c9=_0x3f7a85;super(_0x1e4f00,_0x130afb),_0x76a544(this,_0x10a5c9(0x236)),_0x76a544(this,_0x10a5c9(0x3e5),!0x1),_0x76a544(this,_0x10a5c9(0x289)),_0x76a544(this,_0x10a5c9(0x249),''),_0x76a544(this,_0x10a5c9(0x241),_0x10a5c9(0x2c2)),_0x76a544(this,_0x10a5c9(0x23f)),(_0x130afb&&this['setShapeProps'](_0x130afb),this[_0x10a5c9(0x242)][_0x10a5c9(0x431)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x10a5c9(0x386)][_0x10a5c9(0x431)](()=>this[_0x10a5c9(0x1ba)]({'hovered':!0x1})));}[_0x3f7a85(0x1ba)](_0x7fca53){const _0x5c0ecf=_0x3f7a85;var _0x26c0fc,_0x55158c,_0x7e62d7,_0x51f9ad,_0x588ea6,_0x4eb259;this[_0x5c0ecf(0x236)]=(_0x26c0fc=_0x7fca53['color'])!=null?_0x26c0fc:this[_0x5c0ecf(0x236)],this[_0x5c0ecf(0x3e5)]=(_0x55158c=_0x7fca53[_0x5c0ecf(0x2b8)])!=null?_0x55158c:this['_hovered'],this[_0x5c0ecf(0x289)]=(_0x7e62d7=_0x7fca53[_0x5c0ecf(0x414)])!=null?_0x7e62d7:this['_range'],this[_0x5c0ecf(0x249)]=(_0x51f9ad=_0x7fca53['name'])!=null?_0x51f9ad:this[_0x5c0ecf(0x249)],this[_0x5c0ecf(0x241)]=(_0x588ea6=_0x7fca53['labelPosition'])!=null?_0x588ea6:this[_0x5c0ecf(0x241)],this[_0x5c0ecf(0x23f)]=(_0x4eb259=_0x7fca53['backgroundColor'])!=null?_0x4eb259:this[_0x5c0ecf(0x23f)],this['transformByState']({'width':_0x7fca53[_0x5c0ecf(0x24b)],'height':_0x7fca53[_0x5c0ecf(0x3d7)]});}['onMouseMove'](_0x35606b){const _0x5480d6=_0x3f7a85,{row:_0x128514,column:_0x4a79b5}=_0x35606b;if(_0x128514>=this[_0x5480d6(0x289)]['startRow']&&_0x128514<=this[_0x5480d6(0x289)]['endRow']&&_0x4a79b5>=this['_range'][_0x5480d6(0x2dd)]&&_0x4a79b5<=this[_0x5480d6(0x289)][_0x5480d6(0x2b7)]){this[_0x5480d6(0x1ba)]({'hovered':!0x0});return;}this[_0x5480d6(0x1ba)]({'hovered':!0x1});}[_0x3f7a85(0x1d3)](_0x43e08b){return!0x1;}[_0x3f7a85(0x3de)](_0x57f537){const _0x4edf14=_0x3f7a85;_0x9322cd[_0x4edf14(0x1b3)][_0x4edf14(0x1aa)](_0x57f537,{'width':this['width'],'height':this[_0x4edf14(0x3d7)],'strokeWidth':_0x4fa377,'stroke':this[_0x4edf14(0x236)],'evented':!0x1,'fill':this[_0x4edf14(0x23f)]}),this[_0x4edf14(0x3e5)]&&(_0x57f537['save'](),_0x57f537['transform'](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']==='bottom'?0x0:-0x14),_0x3c7e72[_0x4edf14(0x1aa)](_0x57f537,{'text':this[_0x4edf14(0x249)],'color':this[_0x4edf14(0x236)]}),_0x57f537[_0x4edf14(0x418)]());}}var _0x596420=Object[_0x3f7a85(0x372)],_0xde2fc8=(_0x5b293a,_0x54f591,_0x15f488,_0x175ee3)=>{const _0x4c2843=_0x3f7a85;for(var _0xf300be=_0x175ee3>0x1?void 0x0:_0x175ee3?_0x596420(_0x54f591,_0x15f488):_0x54f591,_0x29a0e4=_0x5b293a[_0x4c2843(0x1b9)]-0x1,_0x53ea18;_0x29a0e4>=0x0;_0x29a0e4--)(_0x53ea18=_0x5b293a[_0x29a0e4])&&(_0xf300be=_0x53ea18(_0xf300be)||_0xf300be);return _0xf300be;},_0x121de2=(_0x1410a8,_0x23f97e)=>(_0x5ead1d,_0xa94731)=>_0x23f97e(_0x5ead1d,_0xa94731,_0x1410a8);const _0xc7dc5c=0x1389;let _0x3bc1e9=class extends _0x1db576['RxDisposable']{constructor(_0x52c079,_0x3cff20,_0x1d032e,_0xd18d3e){const _0x38ffb5=_0x3f7a85;super(),_0x76a544(this,'_cursors',new Set()),_0x76a544(this,_0x38ffb5(0x396),null),(this[_0x38ffb5(0x344)]=_0x52c079,this[_0x38ffb5(0x398)]=_0x3cff20,this['_collabCursorController']=_0x1d032e,this[_0x38ffb5(0x3ba)]=_0xd18d3e,this[_0x38ffb5(0x290)]());}[_0x3f7a85(0x290)](){const _0x50fd56=_0x3f7a85;this[_0x50fd56(0x398)][_0x50fd56(0x2fb)][_0x50fd56(0x2e7)](_0x405c34['takeUntil'](this[_0x50fd56(0x3f8)]),_0x405c34[_0x50fd56(0x425)](_0x1e2176=>{const _0x4a95d6=_0x50fd56;if(_0x1e2176){const _0x3640cf=_0x1e2176[_0x4a95d6(0x3e1)];return _0x2bfd9f['combineLatest'](this[_0x4a95d6(0x1ec)][_0x4a95d6(0x40f)](this[_0x4a95d6(0x344)][_0x4a95d6(0x3d1)]),this['_themeService'][_0x4a95d6(0x3cf)])[_0x4a95d6(0x2e7)](_0x405c34['map'](([_0x32c506,_0xff35e4])=>{const _0x4cddbf=_0x4a95d6,_0x520768=new Map();return _0x32c506[_0x4cddbf(0x34c)]((_0x130698,_0x50f593)=>{const _0x5de3e3=_0x4cddbf;if(_0x130698[_0x5de3e3(0x2a1)]===_0x3640cf){const _0xa35aff={..._0x130698};_0xa35aff[_0x5de3e3(0x246)]=_0xff35e4[_0x130698[_0x5de3e3(0x246)]],_0x520768[_0x5de3e3(0x3d2)](_0x50f593,_0xa35aff);}}),{'skeleton':_0x1e2176,'cursors':_0x520768};}));}return _0x2bfd9f['of']({'skeleton':null,'cursors':new Map()});}))[_0x50fd56(0x1ed)](({skeleton:_0x32a0c1,cursors:_0x4812e7})=>{const _0x2db02f=_0x50fd56;this[_0x2db02f(0x2aa)](),_0x32a0c1&&this[_0x2db02f(0x1b6)](_0x32a0c1,_0x4812e7);}),this[_0x50fd56(0x398)][_0x50fd56(0x2fb)][_0x50fd56(0x1ed)](_0x1e8cea=>{const _0x564b5c=_0x50fd56;if(_0x1e8cea==null)return;const {skeleton:_0x10beb5}=_0x1e8cea,{scene:_0x80ea4b}=this['_context'];_0x80ea4b['onPointerMove$'][_0x564b5c(0x431)](_0x1db576[_0x564b5c(0x3da)](_0x14269f=>{const _0x184600=_0x564b5c;var _0x586055,_0x1bbeb2;const {offsetX:_0x179a2b,offsetY:_0x250d2f}=_0x14269f,{x:_0x3e14a8,y:_0x123433}=_0x80ea4b[_0x184600(0x259)](_0x9322cd[_0x184600(0x346)][_0x184600(0x22f)]([_0x179a2b,_0x250d2f])),{scaleX:_0x185801,scaleY:_0x55f2a5}=_0x80ea4b['getAncestorScale'](),_0x388465=_0x80ea4b[_0x184600(0x38f)](_0x9322cd[_0x184600(0x394)][_0x184600(0x1a7)]),_0xb11205=_0x80ea4b[_0x184600(0x309)](_0x9322cd[_0x184600(0x346)]['FromArray']([_0x3e14a8,_0x123433]),_0x388465),_0x3a18ad=_0x10beb5[_0x184600(0x37a)](_0x179a2b,_0x250d2f,_0x185801,_0x55f2a5,_0xb11205);((_0x586055=this[_0x184600(0x396)])==null?void 0x0:_0x586055[_0x184600(0x3c4)])===_0x3a18ad[_0x184600(0x3c4)]&&((_0x1bbeb2=this[_0x184600(0x396)])==null?void 0x0:_0x1bbeb2[_0x184600(0x3b9)])===_0x3a18ad['row']||this[_0x184600(0x34a)][_0x184600(0x34c)](_0x10ad77=>{const _0x268eee=_0x184600;_0x10ad77[_0x268eee(0x413)](_0x3a18ad);});},0x64));});}[_0x3f7a85(0x1b6)](_0x18ad13,_0x31cc24){const _0x2304c7=_0x3f7a85;var _0x2a54b7;const _0x449580=(_0x2a54b7=this['_sheetSkeletonManagerService'][_0x2304c7(0x2f5)]())==null?void 0x0:_0x2a54b7['skeleton'];if(!_0x449580)return;const _0x4c65ed=this[_0x2304c7(0x214)]();if(!_0x4c65ed)return;this['_cursors']['forEach'](_0x2e9b22=>{const _0x1e6113=_0x2304c7;_0x2e9b22[_0x1e6113(0x40e)]();});const {scene:_0x3f8a61}=_0x4c65ed,_0x37be57=_0x36e10b(Array[_0x2304c7(0x31a)](_0x31cc24[_0x2304c7(0x200)]()))['map'](_0x3ea68d=>{const _0x54d009=_0x2304c7,{color:_0x374281,range:_0x193863,name:_0x4cba8f,selection:_0xec1c23,sheetID:_0x16a4c7}=_0x3ea68d,{startColumn:_0x34784f,startRow:_0x5192bf,endColumn:_0x4ee055,endRow:_0x993ae3}=_0x193863,_0x59988b=_0x152867['getCoordByCell'](_0x5192bf,_0x34784f,_0x3f8a61,_0x449580),_0xc00868=_0x152867['getCoordByCell'](_0x993ae3,_0x4ee055,_0x3f8a61,_0x449580),{columnHeaderHeightAndMarginTop:_0xe3a08a}=_0x449580,{startX:_0x4710ab,startY:_0x1b0ed4}=_0x59988b,{endX:_0x47b44a,endY:_0xc39ff9}=_0xc00868,_0x28d4e7=_0x47b44a-_0x4710ab,_0x1f2188=_0xc39ff9-_0x1b0ed4,_0x15156b={'labelPosition':_0x1b0ed4-_0xe3a08a>=_0x1719cd?_0x54d009(0x2c2):_0x54d009(0x421),'sheetID':_0x16a4c7,'range':_0x193863,'color':_0x374281,'name':_0x4cba8f,'selection':_0xec1c23,'left':_0x4710ab,'top':_0x1b0ed4,'width':_0x28d4e7,'height':_0x1f2188,'evented':!0x1,'zIndex':_0xc7dc5c};return new _0x3f7254(_0x4cba8f,_0x15156b);});_0x3f8a61[_0x2304c7(0x322)](_0x37be57,_0xe4883e),this[_0x2304c7(0x34a)]=new Set(_0x37be57);}[_0x3f7a85(0x2aa)](){const _0x206bac=_0x3f7a85;var _0x1c1eb9;(_0x1c1eb9=this[_0x206bac(0x34a)])==null||_0x1c1eb9[_0x206bac(0x34c)](_0x1c0571=>_0x1c0571[_0x206bac(0x405)]());}[_0x3f7a85(0x214)](){const _0x2a964=_0x3f7a85;return _0x152867[_0x2a964(0x3e6)](this[_0x2a964(0x344)]['unit'],this[_0x2a964(0x344)]);}};_0x3bc1e9=_0xde2fc8([_0x121de2(0x1,_0x1db576['Inject'](_0x152867[_0x3f7a85(0x2cd)])),_0x121de2(0x2,_0x1db576[_0x3f7a85(0x1f5)](_0x3c2926)),_0x121de2(0x3,_0x1db576[_0x3f7a85(0x1f5)](_0x1db576[_0x3f7a85(0x23c)]))],_0x3bc1e9);function _0x36e10b(_0x387eaa){const _0x2de369=_0x3f7a85,_0x200aad=new Map();return _0x387eaa[_0x2de369(0x34c)](_0x16e6ba=>{const _0x12f5c7=_0x2de369;if(_0x200aad['has'](_0x16e6ba[_0x12f5c7(0x1cc)])){const _0x4fe153=_0x200aad['get'](_0x16e6ba[_0x12f5c7(0x1cc)]);_0x4fe153[_0x12f5c7(0x2e1)]+=',\x20'+_0x16e6ba[_0x12f5c7(0x2e1)];}else _0x200aad[_0x12f5c7(0x3d2)](_0x16e6ba[_0x12f5c7(0x1cc)],_0x16e6ba);}),Array['from'](_0x200aad[_0x2de369(0x200)]());}var _0x5676c1=function(){const _0x4be432=_0x3f7a85;return _0x5676c1=Object[_0x4be432(0x3ae)]||function(_0x2b9ec3){const _0x2a9ce7=_0x4be432;for(var _0x361a5f,_0x20e730=0x1,_0x47f4c2=arguments[_0x2a9ce7(0x1b9)];_0x20e730<_0x47f4c2;_0x20e730++){_0x361a5f=arguments[_0x20e730];for(var _0x1a1707 in _0x361a5f)Object[_0x2a9ce7(0x1c9)][_0x2a9ce7(0x272)][_0x2a9ce7(0x1d1)](_0x361a5f,_0x1a1707)&&(_0x2b9ec3[_0x1a1707]=_0x361a5f[_0x1a1707]);}return _0x2b9ec3;},_0x5676c1[_0x4be432(0x3c9)](this,arguments);},_0x585f2c=function(_0x42d5eb,_0x4d2bcc){const _0x4c340b=_0x3f7a85;var _0x150cbb={};for(var _0x486c66 in _0x42d5eb)Object['prototype'][_0x4c340b(0x272)]['call'](_0x42d5eb,_0x486c66)&&_0x4d2bcc['indexOf'](_0x486c66)<0x0&&(_0x150cbb[_0x486c66]=_0x42d5eb[_0x486c66]);if(_0x42d5eb!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x46d647=0x0,_0x486c66=Object[_0x4c340b(0x282)](_0x42d5eb);_0x46d647<_0x486c66[_0x4c340b(0x1b9)];_0x46d647++)_0x4d2bcc[_0x4c340b(0x3d3)](_0x486c66[_0x46d647])<0x0&&Object['prototype'][_0x4c340b(0x279)][_0x4c340b(0x1d1)](_0x42d5eb,_0x486c66[_0x46d647])&&(_0x150cbb[_0x486c66[_0x46d647]]=_0x42d5eb[_0x486c66[_0x46d647]]);}return _0x150cbb;},_0x5cba4b=_0x472caa['forwardRef'](function(_0x4eb1b3,_0x52e3b7){const _0x516bb4=_0x3f7a85;var _0x3fc02b=_0x4eb1b3[_0x516bb4(0x2bc)],_0x15b03f=_0x4eb1b3['id'],_0x5ab36b=_0x4eb1b3[_0x516bb4(0x2ad)],_0x572e79=_0x4eb1b3[_0x516bb4(0x31b)],_0x4c9d45=_0x585f2c(_0x4eb1b3,[_0x516bb4(0x2bc),'id',_0x516bb4(0x2ad),_0x516bb4(0x31b)]),_0x167b90=_0x516bb4(0x22c)[_0x516bb4(0x205)](_0x15b03f,'\x20')['concat'](_0x5ab36b||'')['trim'](),_0x33e001=_0x472caa[_0x516bb4(0x276)]('_'[_0x516bb4(0x205)](_0x448766()));return _0x1a705f(_0x3fc02b,''[_0x516bb4(0x205)](_0x15b03f),{'defIds':_0x3fc02b[_0x516bb4(0x321)],'idSuffix':_0x33e001[_0x516bb4(0x362)]},_0x5676c1({'ref':_0x52e3b7,'className':_0x167b90},_0x4c9d45),_0x572e79);});function _0x1a705f(_0x15ad81,_0x36b467,_0x409bde,_0x3d1c84,_0x325926){const _0x10ecac=_0x3f7a85;return _0x472caa[_0x10ecac(0x1e8)](_0x15ad81['tag'],_0x5676c1(_0x5676c1({'key':_0x36b467},_0x475fd(_0x15ad81,_0x409bde,_0x325926)),_0x3d1c84),(_0x20175e(_0x15ad81,_0x409bde)[_0x10ecac(0x3cb)]||[])[_0x10ecac(0x32e)](function(_0x323640,_0x465906){const _0x5d46a0=_0x10ecac;return _0x1a705f(_0x323640,''[_0x5d46a0(0x205)](_0x36b467,'-')['concat'](_0x15ad81['tag'],'-')['concat'](_0x465906),_0x409bde,void 0x0,_0x325926);}));}function _0x475fd(_0x3a44da,_0xbe5892,_0x46e549){const _0x2318b3=_0x3f7a85;var _0xb469ac=_0x5676c1({},_0x3a44da['attrs']);_0x46e549!=null&&_0x46e549[_0x2318b3(0x3a2)]&&_0xb469ac[_0x2318b3(0x231)]===_0x2318b3(0x3a2)&&(_0xb469ac['fill']=_0x46e549[_0x2318b3(0x3a2)]),_0x3a44da['tag']===_0x2318b3(0x311)&&_0xb469ac['id']&&(_0xb469ac['id']=_0xb469ac['id']+_0xbe5892[_0x2318b3(0x2a3)]),Object[_0x2318b3(0x2f0)](_0xb469ac)[_0x2318b3(0x34c)](function(_0x10fce4){const _0xf89070=_0x2318b3;var _0x4ab00e=_0x10fce4[0x0],_0x346456=_0x10fce4[0x1];_0x4ab00e===_0xf89070(0x311)&&typeof _0x346456=='string'&&(_0xb469ac[_0x4ab00e]=_0x346456['replace'](/url\(#(.*)\)/,'url(#$1'[_0xf89070(0x205)](_0xbe5892[_0xf89070(0x2a3)],')')));});var _0x416fa0=_0xbe5892[_0x2318b3(0x321)];return!_0x416fa0||_0x416fa0[_0x2318b3(0x1b9)]===0x0||(_0x3a44da[_0x2318b3(0x2b2)]==='use'&&_0xb469ac[_0x2318b3(0x251)]&&(_0xb469ac[_0x2318b3(0x251)]=_0xb469ac[_0x2318b3(0x251)]+_0xbe5892[_0x2318b3(0x2a3)]),Object[_0x2318b3(0x2f0)](_0xb469ac)['forEach'](function(_0x327e69){const _0x252677=_0x2318b3;var _0x2b2412=_0x327e69[0x0],_0x135ef8=_0x327e69[0x1];typeof _0x135ef8==_0x252677(0x370)&&(_0xb469ac[_0x2b2412]=_0x135ef8[_0x252677(0x1d9)](/url\(#(.*)\)/,'url(#$1'[_0x252677(0x205)](_0xbe5892[_0x252677(0x2a3)],')')));})),_0xb469ac;}function _0x20175e(_0x393a38,_0x208a03){const _0x11f7dc=_0x3f7a85;var _0x2eb0e9,_0x40eb5e=_0x208a03[_0x11f7dc(0x321)];return!_0x40eb5e||_0x40eb5e[_0x11f7dc(0x1b9)]===0x0?_0x393a38:_0x393a38[_0x11f7dc(0x2b2)]===_0x11f7dc(0x1e5)&&(!((_0x2eb0e9=_0x393a38[_0x11f7dc(0x3cb)])===null||_0x2eb0e9===void 0x0)&&_0x2eb0e9['length'])?_0x5676c1(_0x5676c1({},_0x393a38),{'children':_0x393a38[_0x11f7dc(0x3cb)][_0x11f7dc(0x32e)](function(_0x22a3ca){const _0x5c084d=_0x11f7dc;return typeof _0x22a3ca['attrs']['id']=='string'&&_0x40eb5e&&_0x40eb5e[_0x5c084d(0x3d3)](_0x22a3ca[_0x5c084d(0x388)]['id'])>-0x1?_0x5676c1(_0x5676c1({},_0x22a3ca),{'attrs':_0x5676c1(_0x5676c1({},_0x22a3ca[_0x5c084d(0x388)]),{'id':_0x22a3ca[_0x5c084d(0x388)]['id']+_0x208a03[_0x5c084d(0x2a3)]})}):_0x22a3ca;})}):_0x393a38;}function _0x448766(){const _0x12f70c=_0x3f7a85;return Math['random']()[_0x12f70c(0x3fd)](0x24)[_0x12f70c(0x350)](0x2,0x8);}_0x5cba4b['displayName']=_0x3f7a85(0x3d9);var _0x141c5f={'tag':_0x3f7a85(0x3be),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x3f7a85(0x2db),'height':_0x3f7a85(0x2db)},'children':[{'tag':'g','attrs':{'clipPath':_0x3f7a85(0x335)},'children':[{'tag':_0x3f7a85(0x284),'attrs':{'stroke':_0x3f7a85(0x1f4),'d':_0x3f7a85(0x426),'strokeLinecap':_0x3f7a85(0x1d7),'strokeLinejoin':_0x3f7a85(0x1d7),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3f7a85(0x1b0)},'children':[{'tag':_0x3f7a85(0x284),'attrs':{'fill':_0x3f7a85(0x203),'d':_0x3f7a85(0x21c)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x27e620=_0x472caa[_0x3f7a85(0x3f6)](function(_0x2b0a85,_0x1bc448){const _0x4bf735=_0x3f7a85;return _0x472caa[_0x4bf735(0x1e8)](_0x5cba4b,Object[_0x4bf735(0x3ae)]({},_0x2b0a85,{'id':_0x4bf735(0x316),'ref':_0x1bc448,'icon':_0x141c5f}));});_0x27e620[_0x3f7a85(0x261)]=_0x3f7a85(0x2d7);var _0x10e9fd={'tag':_0x3f7a85(0x3be),'attrs':{'fill':_0x3f7a85(0x2de),'viewBox':_0x3f7a85(0x27a),'width':_0x3f7a85(0x2db),'height':_0x3f7a85(0x2db)},'children':[{'tag':'g','attrs':{'clipPath':_0x3f7a85(0x390)},'children':[{'tag':_0x3f7a85(0x284),'attrs':{'stroke':_0x3f7a85(0x1f4),'d':_0x3f7a85(0x1c3),'strokeLinecap':'round','strokeLinejoin':_0x3f7a85(0x1d7),'strokeWidth':1.2}}]},{'tag':_0x3f7a85(0x1e5),'attrs':{},'children':[{'tag':_0x3f7a85(0x271),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x3f7a85(0x284),'attrs':{'fill':_0x3f7a85(0x203),'d':_0x3f7a85(0x21c),'transform':'translate(.97)'}}]}]}],'defIds':[_0x3f7a85(0x35c)]},_0x13e675=_0x472caa[_0x3f7a85(0x3f6)](function(_0x5cd879,_0x18b6c0){const _0x15c018=_0x3f7a85;return _0x472caa['createElement'](_0x5cba4b,Object[_0x15c018(0x3ae)]({},_0x5cd879,{'id':_0x15c018(0x3c2),'ref':_0x18b6c0,'icon':_0x10e9fd}));});_0x13e675[_0x3f7a85(0x261)]=_0x3f7a85(0x3cd);const _0x598f1d={'onlineStatusIcon':_0x3f7a85(0x354),'onlineStatusTitle':_0x3f7a85(0x2f3),'onlineStatus':_0x3f7a85(0x248),'online':_0x3f7a85(0x1df),'offline':'univer-offline'};function _0xd9502a(_0x48361a){const _0x57fc7c=_0x3f7a85;switch(_0x48361a){case _0x5cf9d0[_0x57fc7c(0x3d4)][_0x57fc7c(0x2ba)]:return _0x57fc7c(0x3df);case _0x5cf9d0[_0x57fc7c(0x3d4)][_0x57fc7c(0x3c5)]:return _0x57fc7c(0x42f);case _0x5cf9d0[_0x57fc7c(0x3d4)][_0x57fc7c(0x1a5)]:return _0x57fc7c(0x2d5);case _0x5cf9d0[_0x57fc7c(0x3d4)][_0x57fc7c(0x30f)]:return _0x57fc7c(0x221);case _0x5cf9d0['CollaborationStatus']['AWAITING']:case _0x5cf9d0['CollaborationStatus']['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x5cf9d0[_0x57fc7c(0x3d4)]['SYNCED']:case _0x5cf9d0[_0x57fc7c(0x3d4)][_0x57fc7c(0x211)]:return _0x57fc7c(0x1f0);}}function _0x38f2f8(_0xdb4404){const _0x3c4735=_0x3f7a85,{status$:_0x4f3d5a}=_0xdb4404,_0x2ddc07=_0x104d19['useObservable'](_0x4f3d5a,_0x5cf9d0[_0x3c4735(0x3d4)][_0x3c4735(0x30f)]),_0x71b4ed=_0x104d19[_0x3c4735(0x2ee)](_0x1db576[_0x3c4735(0x408)]),_0x440a0a=_0x104d19[_0x3c4735(0x2ee)](_0x5cf9d0[_0x3c4735(0x33f)]),_0x4a1aff=_0x2ddc07!==_0x5cf9d0['CollaborationStatus'][_0x3c4735(0x2ba)],_0x414783=_0x71b4ed['t'](_0xd9502a(_0x2ddc07)),_0x222cef=_0x33d6a5['clsx'](_0x598f1d[_0x3c4735(0x2ef)],{[_0x598f1d['online']]:_0x4a1aff,[_0x598f1d[_0x3c4735(0x2d8)]]:!_0x4a1aff}),_0x2780c9=_0x4a1aff?_0x3d90e3[_0x3c4735(0x24d)](_0x13e675,{}):_0x3d90e3[_0x3c4735(0x24d)](_0x27e620,{}),_0x3aac2e=_0x472caa[_0x3c4735(0x1e9)](()=>{_0x4a1aff||_0x440a0a['reconnect']();},[_0x4a1aff,_0x440a0a]);function _0x29241a(){const _0x4dedd7=_0x3c4735;return _0x3d90e3['jsxs'](_0x4dedd7(0x1a9),{'className':_0x33d6a5[_0x4dedd7(0x1f3)](_0x222cef,_0x4dedd7(0x332)),'onClick':_0x3aac2e,'children':[_0x3d90e3['jsx']('div',{'className':_0x598f1d['onlineStatusIcon'],'children':_0x2780c9}),_0x3d90e3[_0x4dedd7(0x24d)]('div',{'className':_0x598f1d[_0x4dedd7(0x2df)],'children':_0x414783})]});}return _0x4a1aff?_0x29241a():_0x3d90e3['jsx'](_0x33d6a5[_0x3c4735(0x2ac)],{'title':_0x71b4ed['t'](_0x3c4735(0x3ed)),'children':_0x29241a()});}var _0x1c6d40=Object[_0x3f7a85(0x372)],_0x1c915d=(_0x3b9fc2,_0x1d5738,_0x31c8db,_0x203836)=>{const _0x47e5e0=_0x3f7a85;for(var _0x1dad7a=_0x203836>0x1?void 0x0:_0x203836?_0x1c6d40(_0x1d5738,_0x31c8db):_0x1d5738,_0x19acb7=_0x3b9fc2[_0x47e5e0(0x1b9)]-0x1,_0x1bfd6c;_0x19acb7>=0x0;_0x19acb7--)(_0x1bfd6c=_0x3b9fc2[_0x19acb7])&&(_0x1dad7a=_0x1bfd6c(_0x1dad7a)||_0x1dad7a);return _0x1dad7a;},_0x5220da=(_0x552deb,_0x459b2f)=>(_0xc9c6b6,_0x7390b)=>_0x459b2f(_0xc9c6b6,_0x7390b,_0x552deb);_0x3edcdd[_0x3f7a85(0x3b2)]=class extends _0x1db576['Disposable']{constructor(_0x2bb1b2,_0x23da31,_0x27ff7c,_0x41f849){const _0x41af06=_0x3f7a85;super(),_0x76a544(this,_0x41af06(0x2c5),new _0x2bfd9f['BehaviorSubject'](_0x5cf9d0['CollaborationStatus'][_0x41af06(0x30f)])),(this[_0x41af06(0x302)]=_0x2bb1b2,this[_0x41af06(0x2fe)]=_0x23da31,this[_0x41af06(0x24a)]=_0x27ff7c,this['_uiPartsService']=_0x41f849,this[_0x41af06(0x35f)](),this[_0x41af06(0x1e7)]());}[_0x3f7a85(0x1e7)](){const _0x40a012=_0x3f7a85;this[_0x40a012(0x23e)](this[_0x40a012(0x302)]['focused$'][_0x40a012(0x2e7)](_0x2bfd9f[_0x40a012(0x425)](()=>{const _0x12e8b9=_0x40a012,_0x35306e=this[_0x12e8b9(0x302)][_0x12e8b9(0x234)]();return _0x35306e?this[_0x12e8b9(0x24a)]['getCollabEntity$'](_0x35306e['getUnitId']()):_0x2bfd9f['of'](null);}),_0x2bfd9f[_0x40a012(0x425)](_0x4eedb6=>_0x4eedb6?_0x4eedb6[_0x40a012(0x268)]:_0x2bfd9f['of'](_0x5cf9d0[_0x40a012(0x3d4)][_0x40a012(0x30f)])))[_0x40a012(0x1ed)](_0x28f592=>{const _0x319951=_0x40a012;this[_0x319951(0x2c5)][_0x319951(0x33c)](_0x28f592);}));}['_initStatusComponent'](){const _0x59c60f=_0x3f7a85;this[_0x59c60f(0x23e)](this['_uiPartsService'][_0x59c60f(0x238)](_0x104d19[_0x59c60f(0x340)]['HEADER_MENU'],()=>_0x104d19[_0x59c60f(0x24e)](_0x4e779d({'status$':this[_0x59c60f(0x2c5)]['asObservable']()}),this[_0x59c60f(0x2fe)])));}},_0x3edcdd[_0x3f7a85(0x3b2)]=_0x1c915d([_0x5220da(0x0,_0x1db576[_0x3f7a85(0x35b)]),_0x5220da(0x1,_0x1db576[_0x3f7a85(0x1f5)](_0x1db576[_0x3f7a85(0x325)])),_0x5220da(0x2,_0x1db576[_0x3f7a85(0x1f5)](_0x5cf9d0[_0x3f7a85(0x2c7)])),_0x5220da(0x3,_0x104d19['IUIPartsService'])],_0x3edcdd[_0x3f7a85(0x3b2)]);function _0x4e779d(_0x3795e3){const {status$:_0x55fe36}=_0x3795e3;return function(){const _0x15e200=_0xa793;return _0x3d90e3[_0x15e200(0x24d)](_0x38f2f8,{'status$':_0x55fe36});};}var _0x4d5cc4=Object[_0x3f7a85(0x372)],_0x4d9481=(_0x3741fd,_0x20217a,_0x5a1683,_0x48acee)=>{const _0x12ae63=_0x3f7a85;for(var _0x11e596=_0x48acee>0x1?void 0x0:_0x48acee?_0x4d5cc4(_0x20217a,_0x5a1683):_0x20217a,_0x40f168=_0x3741fd[_0x12ae63(0x1b9)]-0x1,_0x165bf1;_0x40f168>=0x0;_0x40f168--)(_0x165bf1=_0x3741fd[_0x40f168])&&(_0x11e596=_0x165bf1(_0x11e596)||_0x11e596);return _0x11e596;},_0x281f57=(_0x2eb07c,_0x4ca971)=>(_0x203b20,_0x2b1e2f)=>_0x4ca971(_0x203b20,_0x2b1e2f,_0x2eb07c);let _0x21e24e=class extends _0x1db576[_0x3f7a85(0x25c)]{constructor(_0x4ea086,_0x58c065,_0x3eff66,_0x42e859,_0x3b6fe9,_0x274cde){const _0x4cea6b=_0x3f7a85;super(),this[_0x4cea6b(0x237)]=_0x4ea086,this[_0x4cea6b(0x19d)]=_0x58c065,this[_0x4cea6b(0x21a)]=_0x3eff66,this[_0x4cea6b(0x263)]=_0x42e859,this[_0x4cea6b(0x2da)]=_0x3b6fe9,this[_0x4cea6b(0x23b)]=_0x274cde,this['_setupBeforeClosingHandler'](),this[_0x4cea6b(0x428)]();}[_0x3f7a85(0x25d)](){const _0x5df7e0=_0x3f7a85;this[_0x5df7e0(0x23e)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x1ae001=_0x5df7e0;if(this[_0x1ae001(0x19d)][_0x1ae001(0x3e7)][_0x1ae001(0x1e3)])return this[_0x1ae001(0x23b)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x3f7a85(0x428)](){const _0x1116e4=_0x3f7a85;this[_0x1116e4(0x23e)](this['_collaborationUIEventService'][_0x1116e4(0x218)][_0x1116e4(0x1ed)](_0x3973b5=>{const _0x589be3=_0x1116e4;_0x3973b5['id']===_0x5cf9d0[_0x589be3(0x1b8)]['OTHER_CLIENT_EDITING']&&this[_0x589be3(0x263)][_0x589be3(0x411)]({'type':_0x33d6a5[_0x589be3(0x333)][_0x589be3(0x363)],'content':this[_0x589be3(0x23b)]['t'](_0x589be3(0x303))}),_0x3973b5['id']===_0x5cf9d0['CollaborationUIEventId']['CLOSE_ROOM']&&this[_0x589be3(0x263)]['show']({'type':_0x33d6a5[_0x589be3(0x333)][_0x589be3(0x363)],'content':this[_0x589be3(0x23b)]['t']('collaboration.closeRoom')}),_0x3973b5['id']===_0x5cf9d0[_0x589be3(0x1b8)][_0x589be3(0x337)]&&this[_0x589be3(0x2da)][_0x589be3(0x411)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x589be3(0x23b)]['t'](_0x589be3(0x375)),'type':_0x589be3(0x1a2),'duration':0x0}),_0x3973b5['id']===_0x5cf9d0['CollaborationUIEventId'][_0x589be3(0x3c5)]&&this[_0x589be3(0x263)][_0x589be3(0x411)]({'type':_0x33d6a5[_0x589be3(0x333)][_0x589be3(0x19c)],'content':this[_0x589be3(0x23b)]['t']('collaboration.closeRoom')+'('+_0x3973b5['data']+')'}),_0x3973b5['id']===_0x5cf9d0['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x589be3(0x263)]['show']({'type':_0x33d6a5[_0x589be3(0x333)][_0x589be3(0x363)],'content':this['_localeService']['t'](_0x3973b5[_0x589be3(0x365)]||'')}),_0x3973b5['id']===_0x5cf9d0['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this[_0x589be3(0x263)]['show']({'type':_0x33d6a5[_0x589be3(0x333)][_0x589be3(0x363)],'content':this[_0x589be3(0x23b)]['t'](_0x589be3(0x217))}),_0x3973b5['id']===_0x5cf9d0[_0x589be3(0x1b8)][_0x589be3(0x2ff)]&&this[_0x589be3(0x263)][_0x589be3(0x411)]({'type':_0x33d6a5[_0x589be3(0x333)][_0x589be3(0x19c)],'content':this[_0x589be3(0x23b)]['t'](_0x589be3(0x3f0))}),_0x3973b5['id']===_0x5cf9d0[_0x589be3(0x1b8)][_0x589be3(0x318)]&&this[_0x589be3(0x263)][_0x589be3(0x411)]({'type':_0x33d6a5[_0x589be3(0x333)][_0x589be3(0x19c)],'content':this[_0x589be3(0x23b)]['t']('session.collaboration-timeout')});}));}};_0x21e24e=_0x4d9481([_0x281f57(0x0,_0x104d19[_0x3f7a85(0x22d)]),_0x281f57(0x1,_0x5cf9d0[_0x3f7a85(0x253)]),_0x281f57(0x2,_0x1db576[_0x3f7a85(0x1f5)](_0x5cf9d0['CollaborationUIEventService'])),_0x281f57(0x3,_0x104d19[_0x3f7a85(0x1bd)]),_0x281f57(0x4,_0x104d19[_0x3f7a85(0x323)]),_0x281f57(0x5,_0x1db576[_0x3f7a85(0x1f5)](_0x1db576['LocaleService']))],_0x21e24e);const _0x1d60a0=_0x3f7a85(0x392),_0x177c97={},_0x5b8d9c=_0x1db576[_0x3f7a85(0x410)](_0x3f7a85(0x2e4));var _0x2ae72f=Object[_0x3f7a85(0x372)],_0x1a3de4=(_0x435626,_0x53a9fd,_0x5d09b1,_0x2f593c)=>{for(var _0x667cf3=_0x2f593c>0x1?void 0x0:_0x2f593c?_0x2ae72f(_0x53a9fd,_0x5d09b1):_0x53a9fd,_0x1548fd=_0x435626['length']-0x1,_0x311ef0;_0x1548fd>=0x0;_0x1548fd--)(_0x311ef0=_0x435626[_0x1548fd])&&(_0x667cf3=_0x311ef0(_0x667cf3)||_0x667cf3);return _0x667cf3;},_0x35feef=(_0x531b67,_0x2ad2df)=>(_0x44b932,_0x3cf591)=>_0x2ad2df(_0x44b932,_0x3cf591,_0x531b67);_0x3edcdd[_0x3f7a85(0x2d3)]=class extends _0x1db576['RxDisposable']{constructor(_0x30e30d,_0x285b4a,_0x23fff0,_0xac8c57,_0x20ef05){const _0x5ac78c=_0x3f7a85;super(),this[_0x5ac78c(0x358)]=_0x30e30d,this[_0x5ac78c(0x1bc)]=_0x285b4a,this['_commandService']=_0x23fff0,this[_0x5ac78c(0x2a6)]=_0xac8c57,_0x20ef05?_0x20ef05==null||_0x20ef05[_0x5ac78c(0x30b)]()[_0x5ac78c(0x33b)](()=>this[_0x5ac78c(0x290)]()):(this[_0x5ac78c(0x1bc)]['debug'](_0x5ac78c(0x226),_0x5ac78c(0x3a0)),this[_0x5ac78c(0x290)]());}async[_0x3f7a85(0x290)](){const _0x1b33c8=_0x3f7a85,_0x59d983=this[_0x1b33c8(0x358)]['getParam'](_0x1b33c8(0x28c)),_0x175485=this[_0x1b33c8(0x358)][_0x1b33c8(0x1f6)]('type'),_0xa06ec0=this[_0x1b33c8(0x358)][_0x1b33c8(0x1f6)](_0x1b33c8(0x2e3));if(!_0x59d983||!_0x175485){this[_0x1b33c8(0x1bc)]['debug'](_0x1b33c8(0x226),_0x1b33c8(0x432));return;}const _0x14947d=await this['_dataLoaderService'][_0x1b33c8(0x329)](_0x59d983,Number(_0x175485),_0xa06ec0);_0x14947d&&_0x14947d instanceof _0x1db576['Workbook']&&this['_setupSubUnitSync'](_0x14947d);}async[_0x3f7a85(0x1fd)](_0x3c82ab){const _0x83525b=_0x3f7a85;await this[_0x83525b(0x2a5)](_0x3c82ab),_0x3c82ab['activeSheet$'][_0x83525b(0x2e7)](_0x2bfd9f[_0x83525b(0x36c)](this[_0x83525b(0x3f8)]))[_0x83525b(0x1ed)](_0xd04e81=>{_0xd04e81&&this['_updateURLWithCurrentState'](_0xd04e81);}),this['_urlService']['urlChange$']['pipe'](_0x2bfd9f['takeUntil'](this['dispose$']))[_0x83525b(0x1ed)](()=>this[_0x83525b(0x2a5)](_0x3c82ab));}[_0x3f7a85(0x2c4)](_0x2c23ae,_0x51b51e=!0x1){const _0x72a16d=_0x3f7a85,_0x1140cc=this['_urlService']['getParam'](_0x72a16d(0x2e3));_0x2c23ae[_0x72a16d(0x2c6)]()!==_0x1140cc&&this[_0x72a16d(0x358)][_0x72a16d(0x3a6)](_0x72a16d(0x2e3),_0x2c23ae['getSheetId'](),_0x51b51e);}async[_0x3f7a85(0x2a5)](_0x51a3b8){const _0x2bd97f=_0x3f7a85;var _0x3fff86;const _0x184bcb=this['_urlService'][_0x2bd97f(0x1f6)](_0x2bd97f(0x2e3));if(!_0x184bcb||!_0x51a3b8[_0x2bd97f(0x1f8)](_0x184bcb)){const _0x239dd2=_0x51a3b8[_0x2bd97f(0x29b)]()[0x0],_0x3bf61c=_0x51a3b8['getSheetBySheetId'](_0x239dd2);if(!_0x3bf61c)return;this[_0x2bd97f(0x2c4)](_0x3bf61c,!0x0),await this['_commandService'][_0x2bd97f(0x277)](_0x271a7a['SetWorksheetActivateCommand']['id'],{'unitId':_0x51a3b8[_0x2bd97f(0x38e)](),'subUnitId':_0x239dd2});return;}((_0x3fff86=_0x51a3b8[_0x2bd97f(0x1ea)]())==null?void 0x0:_0x3fff86['getSheetId']())!==_0x184bcb&&await this['_commandService'][_0x2bd97f(0x277)](_0x271a7a[_0x2bd97f(0x296)]['id'],{'unitId':_0x51a3b8[_0x2bd97f(0x38e)](),'subUnitId':_0x184bcb});}},_0x3edcdd[_0x3f7a85(0x2d3)]=_0x1a3de4([_0x35feef(0x0,_0x5b8d9c),_0x35feef(0x1,_0x1db576[_0x3f7a85(0x28a)]),_0x35feef(0x2,_0x1db576[_0x3f7a85(0x36d)]),_0x35feef(0x3,_0x1db576['Inject'](_0x5cf9d0['DataLoaderService'])),_0x35feef(0x4,_0x1db576[_0x3f7a85(0x2c3)](_0x4eaab1[_0x3f7a85(0x42b)]))],_0x3edcdd[_0x3f7a85(0x2d3)]);var _0x5241be=Object[_0x3f7a85(0x372)],_0x370969=(_0x4eabf2,_0x298cb0,_0x283c28,_0x4c7a52)=>{const _0x52e051=_0x3f7a85;for(var _0x32b99b=_0x4c7a52>0x1?void 0x0:_0x4c7a52?_0x5241be(_0x298cb0,_0x283c28):_0x298cb0,_0x4bdb8e=_0x4eabf2[_0x52e051(0x1b9)]-0x1,_0x7274fc;_0x4bdb8e>=0x0;_0x4bdb8e--)(_0x7274fc=_0x4eabf2[_0x4bdb8e])&&(_0x32b99b=_0x7274fc(_0x32b99b)||_0x32b99b);return _0x32b99b;},_0xaa321e=(_0x421035,_0x5dc5df)=>(_0x526c00,_0x3dbe71)=>_0x5dc5df(_0x526c00,_0x3dbe71,_0x421035);let _0x48aec7=class{constructor(_0x47ad35,_0x2107bb,_0x47d888){const _0x2b7aff=_0x3f7a85;this[_0x2b7aff(0x2fe)]=_0x47ad35,this['_transformService']=_0x2107bb,this[_0x2b7aff(0x369)]=_0x47d888;}[_0x3f7a85(0x27c)](_0x3923d6){const _0x16cd2d=_0x3f7a85;this[_0x16cd2d(0x3dd)](_0x3923d6),this[_0x16cd2d(0x1d0)](_0x3923d6);}['transformRemoteChangeset'](_0x149b0b){const _0x24c617=_0x3f7a85,{unitID:_0x1e88fc}=_0x149b0b,_0x2c5369=this['_renderManagerService'][_0x24c617(0x3ff)](_0x1e88fc)[_0x24c617(0x3f1)](_0x56cec3[_0x24c617(0x256)]),{redoCache:_0x26679e}=_0x2c5369[_0x24c617(0x330)]();if(_0x26679e[_0x24c617(0x1b9)]===0x0)return _0x149b0b;let _0x810c69=_0x1db576[_0x24c617(0x27f)][_0x24c617(0x420)](_0x149b0b[_0x24c617(0x1f9)][0x0]);for(let _0x1b07e4=0x0;_0x1b07e4<_0x26679e['length'];_0x1b07e4++){const _0x170357={'id':'doc.mutation.rich-text-editing','params':{..._0x26679e[_0x1b07e4]}},_0x37d890=this[_0x24c617(0x3e4)][_0x24c617(0x364)](_0x810c69,_0x170357,!0x1);if(_0x5ca6a1[_0x24c617(0x406)](_0x37d890))throw _0x37d890[_0x24c617(0x1a2)];_0x810c69=_0x37d890[_0x24c617(0x2bf)];}return{..._0x1db576['Tools']['deepClone'](_0x149b0b),'mutations':[_0x810c69]};}[_0x3f7a85(0x3dd)](_0x336ffa){const _0x5c9a93=_0x3f7a85,{unitID:_0x35f97c}=_0x336ffa,_0x41483e=this[_0x5c9a93(0x369)]['getRenderById'](_0x35f97c)['with'](_0x56cec3['DocIMEInputManagerService']),{undoCache:_0x1280f5,redoCache:_0x4cb084}=_0x41483e[_0x5c9a93(0x330)]();if(_0x1280f5[_0x5c9a93(0x1b9)]===0x0||_0x4cb084[_0x5c9a93(0x1b9)]===0x0)return;const _0x2d22e6=[],_0x9f88a=[];let _0x2eaf75=_0x1db576[_0x5c9a93(0x27f)][_0x5c9a93(0x420)](_0x336ffa[_0x5c9a93(0x1f9)][0x0]),_0x1dc17c=_0x1db576[_0x5c9a93(0x27f)][_0x5c9a93(0x420)](_0x336ffa[_0x5c9a93(0x1f9)][0x0]);for(let _0x4e951a=_0x1280f5[_0x5c9a93(0x1b9)]-0x1;_0x4e951a>=0x0;_0x4e951a--){const _0x24e808={'id':'doc.mutation.rich-text-editing','params':{..._0x1280f5[_0x4e951a]}},_0x5f3a6d={'id':'doc.mutation.rich-text-editing','params':{..._0x4cb084[_0x4e951a]}},_0x3f7004=this[_0x5c9a93(0x3e4)][_0x5c9a93(0x364)](_0x2eaf75,_0x24e808,!0x1),_0x1fb71d=this[_0x5c9a93(0x3e4)][_0x5c9a93(0x364)](_0x1dc17c,_0x5f3a6d,!0x1);if(_0x5ca6a1[_0x5c9a93(0x406)](_0x3f7004))throw _0x3f7004[_0x5c9a93(0x1a2)];if(_0x5ca6a1[_0x5c9a93(0x406)](_0x1fb71d))throw _0x1fb71d[_0x5c9a93(0x1a2)];_0x2d22e6['unshift'](_0x3f7004[_0x5c9a93(0x3fa)][_0x5c9a93(0x3ce)]),_0x9f88a[_0x5c9a93(0x2b9)](_0x1fb71d[_0x5c9a93(0x3fa)][_0x5c9a93(0x3ce)]),_0x2eaf75=_0x3f7004['m1Prime'],_0x1dc17c=_0x1fb71d[_0x5c9a93(0x2bf)];}_0x41483e['setUndoRedoMutationParamsCache']({'undoCache':_0x2d22e6,'redoCache':_0x9f88a});}[_0x3f7a85(0x1d0)](_0x3ed2d3){const _0x37ae0f=_0x3f7a85,{unitID:_0x247855}=_0x3ed2d3,_0x4e1858=this[_0x37ae0f(0x369)][_0x37ae0f(0x3ff)](_0x247855)['with'](_0x56cec3[_0x37ae0f(0x256)]),_0x10f9d7=_0x4e1858[_0x37ae0f(0x1c2)]();if(_0x10f9d7==null)return;const _0x4ce9f7=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3ed2d3[_0x37ae0f(0x262)],'actions':null,'textRanges':[_0x10f9d7]}}],_0x3624d7=this[_0x37ae0f(0x3e4)][_0x37ae0f(0x42d)](_0x3ed2d3,_0x4ce9f7);if(!_0x5ca6a1[_0x37ae0f(0x26b)](_0x3624d7))throw _0x3624d7[_0x37ae0f(0x1a2)];const _0x186868=_0x3624d7[_0x37ae0f(0x3fa)][0x0][_0x37ae0f(0x3ce)]['textRanges'];Array[_0x37ae0f(0x2b6)](_0x186868)&&_0x186868[_0x37ae0f(0x1b9)]&&_0x4e1858[_0x37ae0f(0x286)](_0x186868[0x0]);}};_0x48aec7=_0x370969([_0xaa321e(0x0,_0x1db576[_0x3f7a85(0x1f5)](_0x1db576[_0x3f7a85(0x325)])),_0xaa321e(0x1,_0x5ca6a1[_0x3f7a85(0x2c0)]),_0xaa321e(0x2,_0x9322cd[_0x3f7a85(0x3b0)])],_0x48aec7);var _0x549c8d=Object[_0x3f7a85(0x372)],_0x7656fb=(_0x7d4986,_0x57dcee,_0x5e1015,_0x309be9)=>{const _0x9342b4=_0x3f7a85;for(var _0x13b715=_0x309be9>0x1?void 0x0:_0x309be9?_0x549c8d(_0x57dcee,_0x5e1015):_0x57dcee,_0x3a2b11=_0x7d4986[_0x9342b4(0x1b9)]-0x1,_0x6288d2;_0x3a2b11>=0x0;_0x3a2b11--)(_0x6288d2=_0x7d4986[_0x3a2b11])&&(_0x13b715=_0x6288d2(_0x13b715)||_0x13b715);return _0x13b715;},_0x3e6845=(_0x34ae79,_0x22b670)=>(_0x1d15a3,_0x2110f2)=>_0x22b670(_0x1d15a3,_0x2110f2,_0x34ae79);let _0xc6e562=class{constructor(_0x222a59,_0x3ae1c8,_0x26fd8b){const _0x45824c=_0x3f7a85;this[_0x45824c(0x2fe)]=_0x222a59,this[_0x45824c(0x3e4)]=_0x3ae1c8,this['_docStateChangeManagerService']=_0x26fd8b;}['transformStateCache'](_0x35a751){const _0x3a80b6=_0x3f7a85;this[_0x3a80b6(0x1cf)](_0x35a751);}[_0x3f7a85(0x37f)](_0x55f34f){const _0x50ab37=_0x3f7a85,{unitID:_0x15a7e0}=_0x55f34f,{collaboration:_0xd4d61}=this[_0x50ab37(0x2e8)][_0x50ab37(0x224)](_0x15a7e0);if(_0xd4d61[_0x50ab37(0x1b9)]===0x0)return _0x55f34f;let _0x298ac0=_0x1db576[_0x50ab37(0x27f)][_0x50ab37(0x420)](_0x55f34f['mutations'][0x0]);for(let _0x49fbf2=0x0;_0x49fbf2<_0xd4d61[_0x50ab37(0x1b9)];_0x49fbf2++){const _0x7a683={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xd4d61[_0x49fbf2]['unitId'],..._0xd4d61[_0x49fbf2][_0x50ab37(0x1d5)]}},_0x53aded=this[_0x50ab37(0x3e4)][_0x50ab37(0x364)](_0x298ac0,_0x7a683,!0x1);if(_0x5ca6a1[_0x50ab37(0x406)](_0x53aded))throw _0x53aded[_0x50ab37(0x1a2)];_0x298ac0=_0x53aded['m1Prime'];}return{..._0x1db576[_0x50ab37(0x27f)][_0x50ab37(0x420)](_0x55f34f),'mutations':[_0x298ac0]};}[_0x3f7a85(0x1cf)](_0x54abe3){const _0x4f9817=_0x3f7a85,{unitID:_0x51a71e}=_0x54abe3,{history:_0x288da8,collaboration:_0x4401d3}=this[_0x4f9817(0x2e8)][_0x4f9817(0x224)](_0x51a71e);if(_0x288da8[_0x4f9817(0x1b9)]===0x0&&_0x4401d3[_0x4f9817(0x1b9)]===0x0)return;const _0x35e0c1=[],_0x484422=[];let _0x3b49e9=_0x1db576[_0x4f9817(0x27f)][_0x4f9817(0x420)](_0x54abe3[_0x4f9817(0x1f9)][0x0]),_0x20a079=_0x1db576[_0x4f9817(0x27f)][_0x4f9817(0x420)](_0x54abe3['mutations'][0x0]);for(let _0x2d7ead=_0x288da8['length']-0x1;_0x2d7ead>=0x0;_0x2d7ead--){const _0x16e331={'id':_0x4f9817(0x1b4),'params':{'unitId':_0x288da8[_0x2d7ead][_0x4f9817(0x3d1)],..._0x288da8[_0x2d7ead]['undoState']}},_0x186b4b={'id':_0x4f9817(0x1b4),'params':{'unitId':_0x288da8[_0x2d7ead][_0x4f9817(0x3d1)],..._0x288da8[_0x2d7ead]['redoState']}},_0x5a2c82=this['_transformService']['transformMutation'](_0x3b49e9,_0x16e331,!0x1),_0x1ffc89=this[_0x4f9817(0x3e4)][_0x4f9817(0x364)](_0x20a079,_0x186b4b,!0x1);if(_0x5ca6a1[_0x4f9817(0x406)](_0x5a2c82))throw _0x5a2c82['error'];if(_0x5ca6a1[_0x4f9817(0x406)](_0x1ffc89))throw _0x1ffc89[_0x4f9817(0x1a2)];_0x35e0c1['unshift']({..._0x288da8[_0x2d7ead],'undoState':_0x5a2c82[_0x4f9817(0x3fa)][_0x4f9817(0x3ce)],'redoState':_0x1ffc89[_0x4f9817(0x3fa)][_0x4f9817(0x3ce)]}),_0x3b49e9=_0x5a2c82[_0x4f9817(0x2bf)],_0x20a079=_0x1ffc89[_0x4f9817(0x2bf)];}_0x3b49e9=_0x1db576[_0x4f9817(0x27f)][_0x4f9817(0x420)](_0x54abe3[_0x4f9817(0x1f9)][0x0]),_0x20a079=_0x1db576[_0x4f9817(0x27f)]['deepClone'](_0x54abe3['mutations'][0x0]);for(let _0x3394ae=_0x4401d3[_0x4f9817(0x1b9)]-0x1;_0x3394ae>=0x0;_0x3394ae--){const _0x56ae28={'id':_0x4f9817(0x1b4),'params':{'unitId':_0x4401d3[_0x3394ae][_0x4f9817(0x3d1)],..._0x4401d3[_0x3394ae][_0x4f9817(0x2cf)]}},_0x1d3398={'id':_0x4f9817(0x1b4),'params':{'unitId':_0x4401d3[_0x3394ae][_0x4f9817(0x3d1)],..._0x4401d3[_0x3394ae][_0x4f9817(0x1d5)]}},_0x2f90ef=this['_transformService'][_0x4f9817(0x364)](_0x3b49e9,_0x56ae28,!0x1),_0x4cce1f=this[_0x4f9817(0x3e4)][_0x4f9817(0x364)](_0x20a079,_0x1d3398,!0x1);if(_0x5ca6a1[_0x4f9817(0x406)](_0x2f90ef))throw _0x2f90ef[_0x4f9817(0x1a2)];if(_0x5ca6a1[_0x4f9817(0x406)](_0x4cce1f))throw _0x4cce1f[_0x4f9817(0x1a2)];_0x484422[_0x4f9817(0x2b9)]({..._0x4401d3[_0x3394ae],'undoState':_0x2f90ef[_0x4f9817(0x3fa)][_0x4f9817(0x3ce)],'redoState':_0x4cce1f['m2Prime'][_0x4f9817(0x3ce)]}),_0x3b49e9=_0x2f90ef[_0x4f9817(0x2bf)],_0x20a079=_0x4cce1f[_0x4f9817(0x2bf)];}this['_docStateChangeManagerService'][_0x4f9817(0x361)](_0x51a71e,{'history':_0x35e0c1,'collaboration':_0x484422});}};_0xc6e562=_0x7656fb([_0x3e6845(0x0,_0x1db576['Inject'](_0x1db576[_0x3f7a85(0x325)])),_0x3e6845(0x1,_0x5ca6a1['ITransformService']),_0x3e6845(0x2,_0x1db576['Inject'](_0x56cec3['DocStateChangeManagerService']))],_0xc6e562);var _0x94c4ca=Object['getOwnPropertyDescriptor'],_0x1f8b49=(_0x21a18e,_0x53efd3,_0x490213,_0x3da2f1)=>{for(var _0x2f5a68=_0x3da2f1>0x1?void 0x0:_0x3da2f1?_0x94c4ca(_0x53efd3,_0x490213):_0x53efd3,_0x173dc9=_0x21a18e['length']-0x1,_0x2bdea7;_0x173dc9>=0x0;_0x173dc9--)(_0x2bdea7=_0x21a18e[_0x173dc9])&&(_0x2f5a68=_0x2bdea7(_0x2f5a68)||_0x2f5a68);return _0x2f5a68;},_0x2c0f41=(_0xdd29ec,_0x330070)=>(_0x2ec8fa,_0x417d7b)=>_0x330070(_0x2ec8fa,_0x417d7b,_0xdd29ec);let _0x41c0e2=class{constructor(_0x13bbab,_0x2b876f){const _0x1b2750=_0x3f7a85;this[_0x1b2750(0x2fe)]=_0x13bbab,this[_0x1b2750(0x3e4)]=_0x2b876f;}[_0x3f7a85(0x345)](_0x69bac4){const _0xc776a4=_0x3f7a85;var _0x2d1ab5;const _0x2e5d3f=this[_0xc776a4(0x2fe)][_0xc776a4(0x3a5)](_0x3a0d44[_0xc776a4(0x39b)]),_0x19f66c=(_0x2d1ab5=_0x2e5d3f['getDocRanges']())!=null?_0x2d1ab5:[];if(_0x19f66c[_0xc776a4(0x1b9)]===0x0)return;const _0x1c7126=_0x69bac4[_0xc776a4(0x262)],_0x19def2=[{'id':_0xc776a4(0x1b4),'params':{'unitId':_0x1c7126,'actions':null,'textRanges':_0x19f66c}}],_0x454743=this[_0xc776a4(0x3e4)][_0xc776a4(0x42d)](_0x69bac4,_0x19def2);if(!_0x5ca6a1[_0xc776a4(0x26b)](_0x454743))throw _0x454743[_0xc776a4(0x1a2)];const _0x1ccb57=_0x454743[_0xc776a4(0x3fa)][0x0]['params']['textRanges'];Array[_0xc776a4(0x2b6)](_0x1ccb57)&&_0x1ccb57[_0xc776a4(0x1b9)]&&_0x2e5d3f[_0xc776a4(0x23d)](_0x1ccb57,{'unitId':_0x1c7126,'subUnitId':_0x1c7126},!0x1);}};_0x41c0e2=_0x1f8b49([_0x2c0f41(0x0,_0x1db576[_0x3f7a85(0x1f5)](_0x1db576[_0x3f7a85(0x325)])),_0x2c0f41(0x1,_0x5ca6a1[_0x3f7a85(0x2c0)])],_0x41c0e2);var _0x1fea64=Object[_0x3f7a85(0x372)],_0x3173f6=(_0x3932c8,_0x397255,_0x1efb7a,_0x5d930b)=>{const _0x24eb32=_0x3f7a85;for(var _0x3b79c1=_0x5d930b>0x1?void 0x0:_0x5d930b?_0x1fea64(_0x397255,_0x1efb7a):_0x397255,_0x121509=_0x3932c8[_0x24eb32(0x1b9)]-0x1,_0x53b86d;_0x121509>=0x0;_0x121509--)(_0x53b86d=_0x3932c8[_0x121509])&&(_0x3b79c1=_0x53b86d(_0x3b79c1)||_0x3b79c1);return _0x3b79c1;},_0x2fe02e=(_0xce37fb,_0x5a81e2)=>(_0x15f0c9,_0x59a7a)=>_0x5a81e2(_0x15f0c9,_0x59a7a,_0xce37fb);let _0xde4c18=class extends _0x1db576[_0x3f7a85(0x25c)]{constructor(_0xfdc638,_0x4cb57f,_0x5d3772,_0x3126fe,_0xeeff1b,_0x7fc965,_0x44416a,_0x1a7577){const _0x562504=_0x3f7a85;super(),_0x76a544(this,_0x562504(0x2c5),new _0x2bfd9f[(_0x562504(0x25a))](_0x5cf9d0[_0x562504(0x3d4)][_0x562504(0x30f)])),(this[_0x562504(0x2e8)]=_0xfdc638,this[_0x562504(0x24a)]=_0x4cb57f,this['_docTransformIMECacheService']=_0x5d3772,this[_0x562504(0x1c0)]=_0x3126fe,this['_docTransformSelectionsService']=_0xeeff1b,this['_docSyncEditingCollabCursorService']=_0x7fc965,this[_0x562504(0x263)]=_0x44416a,this[_0x562504(0x23b)]=_0x1a7577,this['_initEntityListener']());}[_0x3f7a85(0x30d)](){const _0xb0761f=_0x3f7a85;this[_0xb0761f(0x23e)](this[_0xb0761f(0x24a)][_0xb0761f(0x24c)][_0xb0761f(0x1ed)](_0x459b62=>{const _0x588541=_0xb0761f,_0xfd9f9b=this[_0x588541(0x2e8)][_0x588541(0x353)][_0x588541(0x1ed)](_0x559033=>{const _0x14d39e=_0x588541;if(_0x559033==null)return;const {unitId:_0x26b247,redoState:_0x2777e8,commandId:_0x5058b6}=_0x559033;if(_0x26b247!==_0x459b62[_0x14d39e(0x262)])return;const _0x528276={'id':_0x5058b6,'type':_0x1db576['CommandType'][_0x14d39e(0x307)],'params':{'unitId':_0x26b247,'actions':_0x2777e8['actions'],'textRanges':null}};_0x459b62[_0x14d39e(0x3eb)](_0x528276);});if(_0x459b62[_0x588541(0x23e)](_0xfd9f9b),_0x459b62 instanceof _0x5cf9d0[_0x588541(0x1b2)]){const _0x3622ac={'onTransformIME':_0x19c64d=>this[_0x588541(0x314)][_0x588541(0x27c)](_0x19c64d),'onTransformState':_0x385634=>this['_docTransformStateCacheService']['transformStateCache'](_0x385634),'onTransformSelections':_0x2f0c76=>this[_0x588541(0x384)][_0x588541(0x345)](_0x2f0c76),'onSyncEditingCollabCursor':_0x52860e=>this[_0x588541(0x380)][_0x588541(0x2b3)](_0x52860e),'onTransformRemoteChangesetByIMECache':_0x47a5b4=>this[_0x588541(0x314)][_0x588541(0x37f)](_0x47a5b4),'onTransformRemoteChangesetByStateCache':_0x395930=>this['_docTransformStateCacheService'][_0x588541(0x37f)](_0x395930)};_0x459b62[_0x588541(0x2bb)](_0x3622ac);}}));}};_0xde4c18=_0x3173f6([_0x2fe02e(0x0,_0x1db576['Inject'](_0x56cec3['DocStateChangeManagerService'])),_0x2fe02e(0x1,_0x1db576[_0x3f7a85(0x1f5)](_0x5cf9d0[_0x3f7a85(0x2c7)])),_0x2fe02e(0x2,_0x1db576[_0x3f7a85(0x1f5)](_0x48aec7)),_0x2fe02e(0x3,_0x1db576[_0x3f7a85(0x1f5)](_0xc6e562)),_0x2fe02e(0x4,_0x1db576[_0x3f7a85(0x1f5)](_0x41c0e2)),_0x2fe02e(0x5,_0x1db576['Inject'](_0x158c10)),_0x2fe02e(0x6,_0x104d19[_0x3f7a85(0x1bd)]),_0x2fe02e(0x7,_0x1db576[_0x3f7a85(0x1f5)](_0x1db576['LocaleService']))],_0xde4c18);var _0x16f2e0=Object['getOwnPropertyDescriptor'],_0x5e25f1=(_0x37addb,_0x2f976f,_0x36bb3a,_0xe5be44)=>{const _0x3aa8bc=_0x3f7a85;for(var _0x811f06=_0xe5be44>0x1?void 0x0:_0xe5be44?_0x16f2e0(_0x2f976f,_0x36bb3a):_0x2f976f,_0x42f080=_0x37addb[_0x3aa8bc(0x1b9)]-0x1,_0x3b2971;_0x42f080>=0x0;_0x42f080--)(_0x3b2971=_0x37addb[_0x42f080])&&(_0x811f06=_0x3b2971(_0x811f06)||_0x811f06);return _0x811f06;},_0x41debd=(_0x5151d0,_0x468a2b)=>(_0x2d748e,_0x1ed45e)=>_0x468a2b(_0x2d748e,_0x1ed45e,_0x5151d0);let _0x184655=class extends _0x1db576[_0x3f7a85(0x25c)]{constructor(_0x598ea9,_0x133941,_0x4cc8c9){const _0x523fd8=_0x3f7a85;super(),_0x76a544(this,_0x523fd8(0x40a),new Map()),_0x76a544(this,_0x523fd8(0x3b5),new Map()),_0x76a544(this,_0x523fd8(0x291),!0x1),(this[_0x523fd8(0x258)]=_0x598ea9,this['_localStorageService']=_0x133941,this[_0x523fd8(0x1cd)]=_0x4cc8c9);}[_0x3f7a85(0x381)](){this['_disabled']=!0x0;}[_0x3f7a85(0x42c)](){const _0x5ae81d=_0x3f7a85;this[_0x5ae81d(0x291)]=!0x1;}get['saveTaskMap'](){const _0x8aab67=_0x3f7a85;return this[_0x8aab67(0x3b5)];}[_0x3f7a85(0x405)](){const _0x4d7327=_0x3f7a85;this['exhaustSavingTask']()[_0x4d7327(0x33b)](()=>super[_0x4d7327(0x405)]());}async[_0x3f7a85(0x297)](_0x2aa326){const _0xe4cb08=_0x3f7a85;return this[_0xe4cb08(0x291)]?null:this[_0xe4cb08(0x260)][_0xe4cb08(0x2f2)](_0x5cf9d0['getLocalCacheKey'](_0x2aa326));}async[_0x3f7a85(0x2a7)](_0x4fb368,_0x24d3eb){const _0x49f314=_0x3f7a85;return!!this[_0x49f314(0x260)][_0x49f314(0x299)](_0x4fb368,_0x24d3eb);}[_0x3f7a85(0x395)](_0x124bf9,_0x5c17b5,_0x3dd527,_0x30b2ed){const _0x1526b2=_0x3f7a85,_0x14b0bd=this['_revisionService']['getCurrentRevOfUnit'](_0x124bf9);this[_0x1526b2(0x40a)][_0x1526b2(0x3d2)](_0x124bf9,{'unitID':_0x124bf9,'type':_0x5c17b5,'awaitingChangeset':_0x3dd527,'mutations':_0x30b2ed,'rev':_0x14b0bd}),this['_saveTaskMap'][_0x1526b2(0x338)](_0x124bf9)||this[_0x1526b2(0x29e)](_0x124bf9);}[_0x3f7a85(0x29e)](_0x219310){const _0x204fb2=_0x3f7a85,_0x4113e6=this[_0x204fb2(0x22e)]();_0x4113e6===0x0?this[_0x204fb2(0x1fa)](_0x219310):this[_0x204fb2(0x3b5)]['set'](_0x219310,setTimeout(()=>this['_saveCache'](_0x219310),_0x4113e6));}[_0x3f7a85(0x22e)](){const _0x596b5f=_0x3f7a85;var _0x58e51b;return(_0x58e51b=this[_0x596b5f(0x258)][_0x596b5f(0x2f7)](_0x5cf9d0[_0x596b5f(0x320)]))!=null?_0x58e51b:_0x5cf9d0[_0x596b5f(0x3f7)];}[_0x3f7a85(0x1fa)](_0x360b26){const _0x1c8237=_0x3f7a85,_0x5872b8=this[_0x1c8237(0x3b5)]['get'](_0x360b26);return _0x5872b8!==void 0x0&&window[_0x1c8237(0x36b)](_0x5872b8),this[_0x1c8237(0x260)][_0x1c8237(0x299)](_0x5cf9d0[_0x1c8237(0x21e)](_0x360b26),this[_0x1c8237(0x40a)]['get'](_0x360b26))[_0x1c8237(0x33b)](()=>this[_0x1c8237(0x3b5)][_0x1c8237(0x1cb)](_0x360b26));}async[_0x3f7a85(0x2f9)](){const _0x224a99=_0x3f7a85,_0x36e4c8=[];this['_saveTaskMap'][_0x224a99(0x34c)]((_0x45854a,_0x38c09d)=>{const _0x5da59b=_0x224a99;window[_0x5da59b(0x36b)](_0x45854a),_0x36e4c8[_0x5da59b(0x3ca)](this[_0x5da59b(0x1fa)](_0x38c09d)['then'](()=>{const _0x3730df=_0x5da59b;this[_0x3730df(0x3b5)][_0x3730df(0x1cb)](_0x38c09d);}));}),await Promise[_0x224a99(0x42e)](_0x36e4c8);}};_0x184655=_0x5e25f1([_0x41debd(0x0,_0x1db576[_0x3f7a85(0x377)]),_0x41debd(0x1,_0x1db576['ILocalStorageService']),_0x41debd(0x2,_0x1db576[_0x3f7a85(0x1f5)](_0x5ca6a1[_0x3f7a85(0x287)]))],_0x184655);class _0x5e826c extends _0x1db576[_0x3f7a85(0x2d6)]{constructor(){const _0x46bf12=_0x3f7a85;super(),_0x76a544(this,_0x46bf12(0x422)),this['urlChange$']=_0x2bfd9f[_0x46bf12(0x201)](window,_0x46bf12(0x367))[_0x46bf12(0x2e7)](_0x2bfd9f[_0x46bf12(0x36c)](this[_0x46bf12(0x3f8)]),_0x2bfd9f['shareReplay'](0x1),_0x2bfd9f[_0x46bf12(0x21d)](void 0x0));}[_0x3f7a85(0x3a6)](_0xdf5ee4,_0xfaeb1,_0x31cc71=!0x1){const _0x3b3e3f=_0x3f7a85,_0x2414d5=new URL(window[_0x3b3e3f(0x2be)][_0x3b3e3f(0x1a0)]);_0x2414d5[_0x3b3e3f(0x317)]['set'](_0xdf5ee4,_0xfaeb1),_0x31cc71?window[_0x3b3e3f(0x2b5)][_0x3b3e3f(0x1fe)]('','',_0x2414d5[_0x3b3e3f(0x3fd)]()):window[_0x3b3e3f(0x2b5)]['pushState']('','',_0x2414d5['toString']());}[_0x3f7a85(0x3fc)](_0x10994a,_0x258070=!0x1){const _0x1c9f3a=_0x3f7a85,_0x22faa8=new URL(window[_0x1c9f3a(0x2be)][_0x1c9f3a(0x1a0)]);_0x22faa8[_0x1c9f3a(0x317)][_0x1c9f3a(0x1cb)](_0x10994a),_0x258070?window[_0x1c9f3a(0x2b5)][_0x1c9f3a(0x1fe)]('','',_0x22faa8[_0x1c9f3a(0x3fd)]()):window[_0x1c9f3a(0x2b5)]['pushState']('','',_0x22faa8[_0x1c9f3a(0x3fd)]());}[_0x3f7a85(0x1f6)](_0x3a9f76){const _0x4229f7=_0x3f7a85;var _0x2eab64;return(_0x2eab64=new URL(window[_0x4229f7(0x2be)][_0x4229f7(0x1a0)])[_0x4229f7(0x317)][_0x4229f7(0x3a5)](_0x3a9f76))!=null?_0x2eab64:void 0x0;}}var _0x47bc79=Object['defineProperty'],_0x1c50dd=Object[_0x3f7a85(0x372)],_0x46cede=(_0x1d8330,_0x17e228,_0x4230cc)=>_0x17e228 in _0x1d8330?_0x47bc79(_0x1d8330,_0x17e228,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4230cc}):_0x1d8330[_0x17e228]=_0x4230cc,_0x3d60ec=(_0x58423c,_0xdcf99d,_0x1c2837,_0x21d7d9)=>{const _0x4d88ec=_0x3f7a85;for(var _0x44b7b6=_0x21d7d9>0x1?void 0x0:_0x21d7d9?_0x1c50dd(_0xdcf99d,_0x1c2837):_0xdcf99d,_0x56dad3=_0x58423c[_0x4d88ec(0x1b9)]-0x1,_0x2d1db5;_0x56dad3>=0x0;_0x56dad3--)(_0x2d1db5=_0x58423c[_0x56dad3])&&(_0x44b7b6=_0x2d1db5(_0x44b7b6)||_0x44b7b6);return _0x44b7b6;},_0xf26a69=(_0x10159c,_0x715db2)=>(_0x18ce00,_0x1a0788)=>_0x715db2(_0x18ce00,_0x1a0788,_0x10159c),_0x5e3fa4=(_0x187737,_0x577823,_0x446b66)=>_0x46cede(_0x187737,_0x577823+'',_0x446b66);const _0x23f4be=_0x3f7a85(0x3db);_0x3edcdd[_0x3f7a85(0x2a2)]=class extends _0x1db576[_0x3f7a85(0x41f)]{constructor(_0x3c5e15=_0x177c97,_0x990d79,_0x593612,_0x2dd14d){const _0x500650=_0x3f7a85;super(),this['_config']=_0x3c5e15,this['_renderManagerService']=_0x990d79,this['_injector']=_0x593612,this[_0x500650(0x258)]=_0x2dd14d;const {..._0x2e8b7b}=_0x1db576[_0x500650(0x385)]({},_0x177c97,this[_0x500650(0x3c1)]);this[_0x500650(0x258)][_0x500650(0x30e)](_0x1d60a0,_0x2e8b7b);}[_0x3f7a85(0x2ce)](){const _0xc95e2c=_0x3f7a85;this['_registerDependencies'](),this[_0xc95e2c(0x2dc)]();}[_0x3f7a85(0x40b)](){const _0x321d3e=_0x3f7a85;this[_0x321d3e(0x283)]();}[_0x3f7a85(0x300)](){const _0x233537=_0x3f7a85;var _0x58ad0b;const _0x133d05=[[_0x46c5bf],[_0x41c0e2],[_0x48aec7],[_0xc6e562],[_0x158c10],[_0x5b8d9c,{'useClass':_0x5e826c}],[_0x50d70f[_0x233537(0x313)],{'useClass':_0x50d70f[_0x233537(0x257)]}],[_0x5cf9d0[_0x233537(0x253)],{'useClass':_0x184655}],[_0x3edcdd[_0x233537(0x3b2)]],[_0xde4c18],[_0x21e24e],[_0x3c2926],[_0x42f064],[_0x3edcdd[_0x233537(0x2d3)]]];_0x1db576[_0x233537(0x38a)](this['_injector'],_0x1db576['mergeOverrideWithDependencies'](_0x133d05,(_0x58ad0b=this['_config'])==null?void 0x0:_0x58ad0b[_0x233537(0x298)]));}['_registerRenderDependencies'](){const _0x35d012=_0x3f7a85;this['disposeWithMe'](this[_0x35d012(0x369)][_0x35d012(0x401)](_0x1db576[_0x35d012(0x27e)]['UNIVER_DOC'],[_0x3a4ceb])),this[_0x35d012(0x23e)](this['_renderManagerService'][_0x35d012(0x401)](_0x1db576['UniverInstanceType'][_0x35d012(0x41e)],[_0x3bc1e9]));}[_0x3f7a85(0x2dc)](){const _0x407e59=_0x3f7a85;_0x1db576[_0x407e59(0x393)](this[_0x407e59(0x2fe)],[[_0x3c2926],[_0x3edcdd['DesktopCollaborationStatusDisplayController']],[_0xde4c18],[_0x21e24e],[_0x3edcdd['CollaborationDataLoaderController']]]);}},_0x5e3fa4(_0x3edcdd[_0x3f7a85(0x2a2)],_0x3f7a85(0x206),_0x23f4be),_0x3edcdd[_0x3f7a85(0x2a2)]=_0x3d60ec([_0x1db576[_0x3f7a85(0x29c)](_0x5cf9d0['UniverCollaborationClientPlugin']),_0xf26a69(0x1,_0x9322cd[_0x3f7a85(0x3b0)]),_0xf26a69(0x2,_0x1db576[_0x3f7a85(0x1f5)](_0x1db576[_0x3f7a85(0x325)])),_0xf26a69(0x3,_0x1db576[_0x3f7a85(0x377)])],_0x3edcdd[_0x3f7a85(0x2a2)]);var _0xe5a143=Object[_0x3f7a85(0x372)],_0xf5a417=(_0x3bda38,_0x3e6ad7,_0x2194dc,_0x1b22a5)=>{const _0x5a2a18=_0x3f7a85;for(var _0x2adb46=_0x1b22a5>0x1?void 0x0:_0x1b22a5?_0xe5a143(_0x3e6ad7,_0x2194dc):_0x3e6ad7,_0x4d0960=_0x3bda38[_0x5a2a18(0x1b9)]-0x1,_0x5872f1;_0x4d0960>=0x0;_0x4d0960--)(_0x5872f1=_0x3bda38[_0x4d0960])&&(_0x2adb46=_0x5872f1(_0x2adb46)||_0x2adb46);return _0x2adb46;},_0x305414=(_0xc6df78,_0x1d2621)=>(_0x5a0755,_0x1cc4d7)=>_0x1d2621(_0x5a0755,_0x1cc4d7,_0xc6df78);_0x3edcdd[_0x3f7a85(0x429)]=class extends _0x5cf9d0[_0x3f7a85(0x264)]{constructor(_0x10e7dd,_0xff59e6,_0x556fbc,_0x5c4c27,_0x2e25d7){super(_0x10e7dd,_0xff59e6,_0x556fbc,_0x5c4c27,_0x2e25d7);}async[_0x3f7a85(0x37b)](_0xbfecb0){const _0x12e05c=_0x3f7a85,_0x3d8501=await this[_0x12e05c(0x404)](),_0x4a296b=this[_0x12e05c(0x219)](_0xbfecb0,_0x3d8501);return this[_0x12e05c(0x3b7)](_0x4a296b);}[_0x3f7a85(0x219)](_0x4c31ae,_0x35fdc8){const _0x75c823=_0x3f7a85,_0x2bc43f=typeof window>'u'?new URL(_0x4c31ae):new URL(_0x4c31ae,window[_0x75c823(0x2be)][_0x75c823(0x19b)]);_0x2bc43f['searchParams'][_0x75c823(0x3d2)](_0x75c823(0x245),_0x35fdc8);const _0x592feb=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x75c823(0x2be)][_0x75c823(0x31e)]);return _0x592feb[_0x75c823(0x3a5)](_0x75c823(0x212))&&_0x2bc43f['searchParams']['set'](_0x75c823(0x212),_0x592feb[_0x75c823(0x3a5)]('runId')),_0x2bc43f[_0x75c823(0x3fd)]();}async[_0x3f7a85(0x404)](){const _0x3660f2=_0x3f7a85;var _0x3d7a3e,_0x1c43d7,_0xabe5fa;const _0x5b836d=this['_configService'][_0x3660f2(0x2f7)](_0x5cf9d0['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x30bf39=(_0x3d7a3e=_0x5b836d==null?void 0x0:_0x5b836d[_0x3660f2(0x20d)])!=null?_0x3d7a3e:_0x5cf9d0[_0x3660f2(0x2e9)];return(_0xabe5fa=(_0x1c43d7=(await this['_httpService'][_0x3660f2(0x3a5)](_0x30bf39,{'headers':{'Content-Type':_0x3660f2(0x3dc)}}))[_0x3660f2(0x1fc)])==null?void 0x0:_0x1c43d7[_0x3660f2(0x1e1)])!=null?_0xabe5fa:'';}},_0x3edcdd['BrowserCollaborationSocketService']=_0xf5a417([_0x305414(0x0,_0x1db576[_0x3f7a85(0x1f5)](_0x1db576[_0x3f7a85(0x325)])),_0x305414(0x1,_0x1db576[_0x3f7a85(0x1f5)](_0x50d70f[_0x3f7a85(0x26f)])),_0x305414(0x2,_0x1db576[_0x3f7a85(0x377)]),_0x305414(0x3,_0x1db576['ILogService']),_0x305414(0x4,_0x5ca6a1[_0x3f7a85(0x399)])],_0x3edcdd[_0x3f7a85(0x429)]);const _0x209a86=0x7530,_0x882d9e='ACTIVE_UNIT_EVENT_CHANNEL';class _0x498aed extends _0x1db576[_0x3f7a85(0x25c)]{constructor(){const _0x193332=_0x3f7a85;super(),_0x76a544(this,_0x193332(0x1f1),_0x1db576[_0x193332(0x1c7)]()),_0x76a544(this,_0x193332(0x1d8),new Set()),_0x76a544(this,_0x193332(0x1c5),new Map()),_0x76a544(this,_0x193332(0x41b),null),_0x76a544(this,_0x193332(0x292),new Map()),_0x76a544(this,'_unitStatus',new Map()),this[_0x193332(0x290)]();}[_0x3f7a85(0x405)](){const _0x5d62ab=_0x3f7a85;super[_0x5d62ab(0x405)](),this[_0x5d62ab(0x292)][_0x5d62ab(0x34c)]((_0x2c471d,_0x496861)=>this[_0x5d62ab(0x26e)](_0x496861)),this[_0x5d62ab(0x41b)]&&window[_0x5d62ab(0x281)](this['_heartbeatTimer']);}[_0x3f7a85(0x198)](_0x2e556b){const _0x3f052f=_0x3f7a85;return this[_0x3f052f(0x275)](_0x2e556b)['pipe'](_0x2bfd9f[_0x3f052f(0x312)]());}[_0x3f7a85(0x2f8)](_0x500b29){const _0x2a4fc3=_0x3f7a85;this[_0x2a4fc3(0x1d8)][_0x2a4fc3(0x1e3)]===0x0&&this[_0x2a4fc3(0x2ea)](),this['_selfUnitIDs'][_0x2a4fc3(0x359)](_0x500b29),this['_send']({'type':0x0,'memberID':this[_0x2a4fc3(0x1f1)],'unitIDs':[_0x500b29],'isForwarded':!0x1});}[_0x3f7a85(0x2b1)](_0x4bb207){const _0x1e4e2b=_0x3f7a85;this['_selfUnitIDs'][_0x1e4e2b(0x1cb)](_0x4bb207),this[_0x1e4e2b(0x1d8)][_0x1e4e2b(0x1e3)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x1e4e2b(0x41b)]);}[_0x3f7a85(0x290)](){const _0x17f0f6=_0x3f7a85;this[_0x17f0f6(0x23e)](_0x1db576[_0x17f0f6(0x355)](_0x2bfd9f[_0x17f0f6(0x201)](window,_0x17f0f6(0x1c8))[_0x17f0f6(0x1ed)](_0x1c59c4=>{const _0x2ebd06=_0x17f0f6;if(_0x1c59c4[_0x2ebd06(0x3a4)]!==_0x882d9e||!_0x1c59c4[_0x2ebd06(0x3c0)])return;const _0x38eb8b=JSON[_0x2ebd06(0x34e)](_0x1c59c4[_0x2ebd06(0x3c0)]);this['_handleEvent'](_0x38eb8b);}))),window[_0x17f0f6(0x278)](_0x17f0f6(0x209),()=>this[_0x17f0f6(0x2e2)]({'type':0x1,'memberID':this[_0x17f0f6(0x1f1)],'unitIDs':Array[_0x17f0f6(0x31a)](this[_0x17f0f6(0x1d8)])}));}[_0x3f7a85(0x1eb)](_0x257a40){const _0x5818d5=_0x3f7a85;switch(_0x257a40[_0x5818d5(0x215)]){case 0x0:this['_handleJoinEvent'](_0x257a40);break;case 0x1:this[_0x5818d5(0x2af)](_0x257a40);break;case 0x2:this[_0x5818d5(0x417)](_0x257a40);break;}}['_handleJoinEvent'](_0x588890){const _0x46ebcd=_0x3f7a85,{unitIDs:_0x457d90,memberID:_0x46f152,isForwarded:_0x4f9a3d}=_0x588890;_0x457d90[_0x46ebcd(0x34c)](_0x238725=>{const _0x209067=_0x46ebcd;if(!_0x4f9a3d&&this[_0x209067(0x1c5)]['has'](_0x238725)&&this[_0x209067(0x275)](_0x238725)[_0x209067(0x33c)](_0x5cf9d0[_0x209067(0x1dc)][_0x209067(0x39d)]),!this[_0x209067(0x1c5)][_0x209067(0x338)](_0x238725)||!this[_0x209067(0x1c5)]['get'](_0x238725)['has'](_0x46f152)){const _0x41eb0f=this[_0x209067(0x1c5)][_0x209067(0x3a5)](_0x238725)||new Set();_0x41eb0f[_0x209067(0x359)](_0x46f152),this[_0x209067(0x1c5)][_0x209067(0x3d2)](_0x238725,_0x41eb0f),this[_0x209067(0x1ff)](_0x46f152);}}),_0x4f9a3d||this[_0x46ebcd(0x2e2)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x46ebcd(0x1d8)]],'isForwarded':!0x0});}[_0x3f7a85(0x1ff)](_0x34ac1f){const _0x3351cb=_0x3f7a85;this[_0x3351cb(0x26e)](_0x34ac1f);const _0x4faedf=window[_0x3351cb(0x3a1)](()=>{const _0x409b5e=_0x3351cb;this[_0x409b5e(0x1c5)][_0x409b5e(0x34c)](_0x3c405d=>{_0x3c405d['delete'](_0x34ac1f);});},_0x209a86*0x2);this[_0x3351cb(0x292)][_0x3351cb(0x3d2)](_0x34ac1f,_0x4faedf);}[_0x3f7a85(0x26e)](_0x321383){const _0x15c86e=_0x3f7a85;if(this['_clearOtherTimers']['has'](_0x321383)){const _0x1da314=this['_clearOtherTimers'][_0x15c86e(0x3a5)](_0x321383);_0x1da314&&window['clearTimeout'](_0x1da314),this['_clearOtherTimers']['set'](_0x321383,null);}}[_0x3f7a85(0x2af)](_0x55fe35){const _0x2f4bd6=_0x3f7a85,{memberID:_0x140bcd,unitIDs:_0xad73f1}=_0x55fe35;_0xad73f1[_0x2f4bd6(0x34c)](_0x4581ad=>{const _0xa221c4=_0x2f4bd6;var _0x234a0d;const _0x30eeb6=this['_unitOnClients'][_0xa221c4(0x3a5)](_0x4581ad);_0x30eeb6&&(_0x30eeb6['delete'](_0x140bcd),(_0x234a0d=this[_0xa221c4(0x275)](_0x4581ad))==null||_0x234a0d[_0xa221c4(0x33c)](_0x30eeb6[_0xa221c4(0x1e3)]===0x0?_0x5cf9d0[_0xa221c4(0x1dc)]['NO_OTHER_CLIENTS_EDITING']:_0x5cf9d0['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0x2f4bd6(0x26e)](_0x140bcd);}[_0x3f7a85(0x417)](_0x396128){const _0x24768b=_0x3f7a85;this[_0x24768b(0x1ff)](_0x396128[_0x24768b(0x32a)]);}[_0x3f7a85(0x2e2)](_0x556325){const _0x41441a=_0x3f7a85;localStorage[_0x41441a(0x299)](_0x882d9e,JSON[_0x41441a(0x387)](_0x556325));}['_scheduleHeartbeat'](){const _0x58e708=_0x3f7a85;this[_0x58e708(0x41b)]=window['setInterval'](()=>{const _0x3d3d99=_0x58e708;this[_0x3d3d99(0x2e2)]({'type':0x2,'memberID':this[_0x3d3d99(0x1f1)]});},_0x209a86);}['_ensureSubject'](_0x835da3){const _0x808f2c=_0x3f7a85;return this['_unitStatus']['has'](_0x835da3)||this[_0x808f2c(0x1d4)][_0x808f2c(0x3d2)](_0x835da3,new _0x2bfd9f[(_0x808f2c(0x25a))](_0x5cf9d0[_0x808f2c(0x1dc)][_0x808f2c(0x28b)])),this[_0x808f2c(0x1d4)][_0x808f2c(0x3a5)](_0x835da3);}}var _0x45863b=(_0x593ac7=>(_0x593ac7[_0x593ac7[_0x3f7a85(0x38b)]=0x0]=_0x3f7a85(0x38b),_0x593ac7[_0x593ac7['OK']=0x1]='OK',_0x593ac7[_0x593ac7['INTERNAL_ERROR']=0x2]=_0x3f7a85(0x3fe),_0x593ac7[_0x593ac7[_0x3f7a85(0x337)]=0x3]=_0x3f7a85(0x337),_0x593ac7[_0x593ac7['NOT_FOUND']=0x4]=_0x3f7a85(0x3b4),_0x593ac7[_0x593ac7[_0x3f7a85(0x3c8)]=0x5]='UNAUTHENTICATED',_0x593ac7[_0x593ac7[_0x3f7a85(0x3ad)]=0x6]=_0x3f7a85(0x3ad),_0x593ac7[_0x593ac7[_0x3f7a85(0x34f)]=0x7]=_0x3f7a85(0x34f),_0x593ac7[_0x593ac7[_0x3f7a85(0x1f7)]=0x8]='TOO_MANY_REQUESTS',_0x593ac7[_0x593ac7['COMPLETION_FINISHED']=0x9]=_0x3f7a85(0x415),_0x593ac7[_0x593ac7['LOGIN_FAILED']=0xa]=_0x3f7a85(0x252),_0x593ac7[_0x593ac7[_0x3f7a85(0x2ab)]=0x1389]=_0x3f7a85(0x2ab),_0x593ac7[_0x593ac7[_0x3f7a85(0x270)]=0x1771]=_0x3f7a85(0x270),_0x593ac7[_0x593ac7['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x3f7a85(0x2c9),_0x593ac7[_0x593ac7[_0x3f7a85(0x20c)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x593ac7[_0x593ac7['APPLY_REJECT']=0x1b59]=_0x3f7a85(0x391),_0x593ac7[_0x593ac7[_0x3f7a85(0x35d)]=0x1b5a]=_0x3f7a85(0x35d),_0x593ac7[_0x593ac7['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x3f7a85(0x2b0),_0x593ac7[_0x593ac7[_0x3f7a85(0x1ce)]=0x1b5c]=_0x3f7a85(0x1ce),_0x593ac7[_0x593ac7[_0x3f7a85(0x26d)]=0x1b5d]=_0x3f7a85(0x26d),_0x593ac7[_0x593ac7['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3f7a85(0x23a),_0x593ac7[_0x593ac7[_0x3f7a85(0x319)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x593ac7[_0x593ac7[_0x3f7a85(0x2cc)]=0x232a]=_0x3f7a85(0x2cc),_0x593ac7[_0x593ac7[_0x3f7a85(0x40c)]=0x232b]=_0x3f7a85(0x40c),_0x593ac7[_0x593ac7[_0x3f7a85(0x232)]=0x232c]=_0x3f7a85(0x232),_0x593ac7[_0x593ac7['LICENSE_DISTRO_REJECTED']=0x232d]=_0x3f7a85(0x2ed),_0x593ac7[_0x593ac7[_0x3f7a85(0x1ac)]=0x2711]=_0x3f7a85(0x1ac),_0x593ac7[_0x593ac7[_0x3f7a85(0x31f)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x593ac7[_0x593ac7[_0x3f7a85(0x2d2)]=0x2713]=_0x3f7a85(0x2d2),_0x593ac7[_0x593ac7[_0x3f7a85(0x2fd)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x593ac7[_0x593ac7[_0x3f7a85(0x324)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x593ac7[_0x593ac7[_0x3f7a85(0x28f)]=0x271b]=_0x3f7a85(0x28f),_0x593ac7[_0x593ac7[_0x3f7a85(0x3d6)]=0x2af9]=_0x3f7a85(0x3d6),_0x593ac7[_0x593ac7[_0x3f7a85(0x305)]=0x2ee1]=_0x3f7a85(0x305),_0x593ac7[_0x593ac7[_0x3f7a85(0x213)]=0x2ee2]=_0x3f7a85(0x213),_0x593ac7[_0x593ac7[_0x3f7a85(0x294)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x593ac7[_0x593ac7[_0x3f7a85(0x225)]=0x2ee4]=_0x3f7a85(0x225),_0x593ac7[_0x593ac7[_0x3f7a85(0x239)]=0x2ee5]=_0x3f7a85(0x239),_0x593ac7[_0x593ac7[_0x3f7a85(0x3ec)]=0x32c9]=_0x3f7a85(0x3ec),_0x593ac7[_0x593ac7[_0x3f7a85(0x240)]=0x32ca]=_0x3f7a85(0x240),_0x593ac7[_0x593ac7[_0x3f7a85(0x397)]=0x32cb]=_0x3f7a85(0x397),_0x593ac7[_0x593ac7[_0x3f7a85(0x400)]=-0x1]=_0x3f7a85(0x400),_0x593ac7))(_0x45863b||{}),_0x2078ba=Object[_0x3f7a85(0x372)],_0x302579=(_0x24fb94,_0x3fc8ca,_0x1cc21d,_0x1ef75a)=>{const _0x1b1b9b=_0x3f7a85;for(var _0x21aa07=_0x1ef75a>0x1?void 0x0:_0x1ef75a?_0x2078ba(_0x3fc8ca,_0x1cc21d):_0x3fc8ca,_0x50e184=_0x24fb94[_0x1b1b9b(0x1b9)]-0x1,_0x1a38e6;_0x50e184>=0x0;_0x50e184--)(_0x1a38e6=_0x24fb94[_0x50e184])&&(_0x21aa07=_0x1a38e6(_0x21aa07)||_0x21aa07);return _0x21aa07;},_0x11a3a3=(_0x4d7abf,_0x3d6656)=>(_0x1cfd7c,_0x477398)=>_0x3d6656(_0x1cfd7c,_0x477398,_0x4d7abf);_0x3edcdd[_0x3f7a85(0x222)]=class extends _0x1db576[_0x3f7a85(0x25c)]{constructor(_0x77a81b,_0x484b3a,_0x5c6d7f){const _0x6da03b=_0x3f7a85;super(),this[_0x6da03b(0x244)]=_0x77a81b,this[_0x6da03b(0x33d)]=_0x484b3a,this[_0x6da03b(0x258)]=_0x5c6d7f;}async[_0x3f7a85(0x1b7)](_0x4661ce,_0x4b020b,_0x6ef558,..._0x50315b){const _0x1d3581=_0x3f7a85;var _0x60f682,_0x3b3820,_0x496898,_0x20f415;const _0x50c69c=this['_instanceService'][_0x1d3581(0x234)]();if(!_0x50c69c)throw new Error(_0x1d3581(0x41a));const _0x454944=((_0x60f682=this['_configService'][_0x1d3581(0x2f7)](_0x5cf9d0[_0x1d3581(0x1a6)]))!=null?_0x60f682:_0x5cf9d0[_0x1d3581(0x202)])+'/'+_0x4661ce+_0x1d3581(0x3a9)+_0x4b020b,_0x1f8a06=new URL(window[_0x1d3581(0x2be)][_0x1d3581(0x1a0)]),_0x6572ad={'scriptId':_0x4661ce,'runId':(_0x3b3820=_0x1f8a06[_0x1d3581(0x317)][_0x1d3581(0x3a5)](_0x1d3581(0x212)))!=null?_0x3b3820:'','function':_0x4b020b,'unitId':_0x50c69c[_0x1d3581(0x38e)](),'argsOfFunction':JSON[_0x1d3581(0x387)](_0x50315b),'invokeId':(_0x496898=_0x6ef558['invokeId'])!=null?_0x496898:'','executionId':(_0x20f415=_0x6ef558[_0x1d3581(0x37e)])!=null?_0x20f415:''};try{const _0x2cc5c8=await this[_0x1d3581(0x33d)][_0x1d3581(0x3af)](_0x454944,{'body':_0x6572ad});return _0x2cc5c8['body'][_0x1d3581(0x1a2)]&&_0x2cc5c8[_0x1d3581(0x1fc)]['error'][_0x1d3581(0x19f)]!==_0x45863b['OK']?_0x1d3581(0x29f):_0x2cc5c8[_0x1d3581(0x1fc)][_0x1d3581(0x327)];}catch{return _0x1d3581(0x29f);}}},_0x3edcdd[_0x3f7a85(0x222)]=_0x302579([_0x11a3a3(0x0,_0x1db576[_0x3f7a85(0x35b)]),_0x11a3a3(0x1,_0x1db576['Inject'](_0x50d70f[_0x3f7a85(0x26f)])),_0x11a3a3(0x2,_0x1db576[_0x3f7a85(0x377)])],_0x3edcdd[_0x3f7a85(0x222)]),_0x3edcdd['CollaborationStatusDisplay']=_0x38f2f8,_0x3edcdd[_0x3f7a85(0x36a)]=_0x5b8d9c,_0x3edcdd[_0x3f7a85(0x33e)]=_0x3f7254,_0x3edcdd[_0x3f7a85(0x351)]=_0x498aed,_0x3edcdd[_0x3f7a85(0x36e)]=_0x5e826c,Object['defineProperty'](_0x3edcdd,Symbol[_0x3f7a85(0x235)],{'value':_0x3f7a85(0x29d)});}));