@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505121607 → 0.7.0-nightly.202505141607

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 _0x2584(_0x436197,_0x42ddeb){const _0x19364f=_0x1936();return _0x2584=function(_0x2584ea,_0x56c21b){_0x2584ea=_0x2584ea-0x124;let _0x19aed3=_0x19364f[_0x2584ea];return _0x19aed3;},_0x2584(_0x436197,_0x42ddeb);}(function(_0x9fb1c,_0x4fa484){const _0xe91f63=_0x2584,_0x4f3e5f=_0x9fb1c();while(!![]){try{const _0x317ade=parseInt(_0xe91f63(0x1bb))/0x1*(parseInt(_0xe91f63(0x3b7))/0x2)+parseInt(_0xe91f63(0x3bb))/0x3*(parseInt(_0xe91f63(0x169))/0x4)+-parseInt(_0xe91f63(0x192))/0x5*(parseInt(_0xe91f63(0x2de))/0x6)+parseInt(_0xe91f63(0x26a))/0x7+-parseInt(_0xe91f63(0x16f))/0x8*(-parseInt(_0xe91f63(0x258))/0x9)+parseInt(_0xe91f63(0x29f))/0xa+-parseInt(_0xe91f63(0x3b0))/0xb;if(_0x317ade===_0x4fa484)break;else _0x4f3e5f['push'](_0x4f3e5f['shift']());}catch(_0x597aff){_0x4f3e5f['push'](_0x4f3e5f['shift']());}}}(_0x1936,0x4ee3e),function(_0x480d71,_0x21079e){const _0x54e9de=_0x2584;typeof exports==_0x54e9de(0x38e)&&typeof module<'u'?_0x21079e(exports,require('@univerjs-pro/collaboration-client'),require(_0x54e9de(0x221)),require(_0x54e9de(0x1f0)),require('@univerjs/network'),require(_0x54e9de(0x3ab)),require('@univerjs/drawing'),require(_0x54e9de(0x2c1)),require(_0x54e9de(0x184)),require('@univerjs-pro/collaboration'),require(_0x54e9de(0x1d4)),require(_0x54e9de(0x3b9)),require(_0x54e9de(0x245)),require(_0x54e9de(0x226)),require(_0x54e9de(0x2d1)),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require(_0x54e9de(0x360))):typeof define=='function'&&define[_0x54e9de(0x16e)]?define(['exports',_0x54e9de(0x1eb),_0x54e9de(0x221),_0x54e9de(0x1f0),_0x54e9de(0x2e1),_0x54e9de(0x3ab),_0x54e9de(0x3a9),_0x54e9de(0x2c1),_0x54e9de(0x184),_0x54e9de(0x21a),'@univerjs/engine-formula',_0x54e9de(0x3b9),_0x54e9de(0x245),'@univerjs/sheets-ui',_0x54e9de(0x2d1),_0x54e9de(0x14b),_0x54e9de(0x2fb),_0x54e9de(0x1e4),'@univerjs/rpc'],_0x21079e):(_0x480d71=typeof globalThis<'u'?globalThis:_0x480d71||self,_0x21079e(_0x480d71['UniverProCollaborationClientUi']={},_0x480d71[_0x54e9de(0x2f1)],_0x480d71[_0x54e9de(0x25a)],_0x480d71['UniverEngineRender'],_0x480d71[_0x54e9de(0x308)],_0x480d71[_0x54e9de(0x3b2)],_0x480d71[_0x54e9de(0x170)],_0x480d71[_0x54e9de(0x2c1)],_0x480d71[_0x54e9de(0x2bb)],_0x480d71['UniverProCollaboration'],_0x480d71[_0x54e9de(0x232)],_0x480d71[_0x54e9de(0x373)],_0x480d71[_0x54e9de(0x2c1)][_0x54e9de(0x24c)],_0x480d71[_0x54e9de(0x18a)],_0x480d71[_0x54e9de(0x396)],_0x480d71[_0x54e9de(0x15a)],_0x480d71[_0x54e9de(0x1fe)],_0x480d71['React'],_0x480d71[_0x54e9de(0x34d)]));}(this,function(_0x4cc1af,_0x3d13ea,_0x321c93,_0x3f844e,_0x1401f5,_0x21bba4,_0x5ebfa3,_0x5072b9,_0x266d28,_0x2daa7a,_0x4416e2,_0x16544f,_0x4898c1,_0x4526fb,_0x1c0b83,_0x3d72cc,_0x5db293,_0x8848fe,_0x1912b6){'use strict';const _0x51cbaf=_0x2584;var _0xc361fc=Object[_0x51cbaf(0x3bc)],_0x8e2dea=(_0x4ebbbf,_0x64e3d0,_0x23153e)=>_0x64e3d0 in _0x4ebbbf?_0xc361fc(_0x4ebbbf,_0x64e3d0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23153e}):_0x4ebbbf[_0x64e3d0]=_0x23153e,_0x34d45d=(_0x1cdf55,_0x326cf1,_0x3436d4)=>_0x8e2dea(_0x1cdf55,typeof _0x326cf1!='symbol'?_0x326cf1+'':_0x326cf1,_0x3436d4),_0x37e025=Object[_0x51cbaf(0x202)],_0x20732b=(_0x115f77,_0x29c578,_0x10ecc0,_0x11f2b7)=>{const _0x2dd58b=_0x51cbaf;for(var _0x4397cc=_0x11f2b7>0x1?void 0x0:_0x11f2b7?_0x37e025(_0x29c578,_0x10ecc0):_0x29c578,_0x43cfa9=_0x115f77[_0x2dd58b(0x367)]-0x1,_0x39f9cc;_0x43cfa9>=0x0;_0x43cfa9--)(_0x39f9cc=_0x115f77[_0x43cfa9])&&(_0x4397cc=_0x39f9cc(_0x4397cc)||_0x4397cc);return _0x4397cc;},_0x25c425=(_0x3dc0e6,_0x4f8819)=>(_0x156755,_0x2ab44e)=>_0x4f8819(_0x156755,_0x2ab44e,_0x3dc0e6);let _0x32a18d=class extends _0x321c93[_0x51cbaf(0x37f)]{constructor(_0x32f24a,_0x2b7b52){const _0x22f364=_0x51cbaf;super(),this[_0x22f364(0x325)]=_0x32f24a,this['_imageIoService']=_0x2b7b52,this[_0x22f364(0x3a5)]();}[_0x51cbaf(0x3a5)](){const _0x4778fd=_0x51cbaf,_0xa70ac1=this;this[_0x4778fd(0x28d)](this[_0x4778fd(0x325)][_0x4778fd(0x29a)]({'onBeforePasteImage':async _0x58f6bd=>{const _0x4e1dc7=_0x4778fd,_0x46ce4f=await _0xa70ac1[_0x4e1dc7(0x176)][_0x4e1dc7(0x374)](_0x58f6bd);return _0x46ce4f?{'source':_0x46ce4f[_0x4e1dc7(0x1a0)],'imageSourceType':_0x46ce4f[_0x4e1dc7(0x34c)]}:null;}}));}};_0x32a18d=_0x20732b([_0x25c425(0x0,_0x21bba4['IDocClipboardService']),_0x25c425(0x1,_0x5ebfa3[_0x51cbaf(0x128)])],_0x32a18d);const _0x5361c5=[_0x51cbaf(0x384),'jiqing.500',_0x51cbaf(0x29c),'red.300',_0x51cbaf(0x38c),_0x51cbaf(0x160)];class _0x4e47bc extends _0x321c93[_0x51cbaf(0x18d)]{constructor(){super(...arguments),_0x34d45d(this,'_assignedColors',new Map()),_0x34d45d(this,'_colorIndex',0x0);}[_0x51cbaf(0x205)](_0x513ed7){const _0x2f535c=_0x51cbaf;if(this[_0x2f535c(0x142)][_0x2f535c(0x1f4)](_0x513ed7))return this['_assignedColors'][_0x2f535c(0x228)](_0x513ed7);const _0x1b9a85=_0x5361c5[this[_0x2f535c(0x1f2)]];return this[_0x2f535c(0x1f2)]=(this[_0x2f535c(0x1f2)]+0x1)%_0x5361c5[_0x2f535c(0x367)],this[_0x2f535c(0x142)][_0x2f535c(0x24d)](_0x513ed7,_0x1b9a85),_0x1b9a85;}}function _0x1caf2b(_0x5246e7){let _0xac4de4='';for(const _0x48003a of _0x5246e7){const {startOffset:_0x4f084d,endOffset:_0x5797f3,isActive:_0x3a63f7,rangeType:_0x5e7fa7,segmentId:_0x55c3b6,segmentPage:_0x580fb0}=_0x48003a;_0xac4de4['length']&&(_0xac4de4+=','),_0xac4de4+=_0x4f084d+':'+_0x5797f3+':'+(_0x3a63f7?'1':'0')+':'+_0x5e7fa7+':'+_0x55c3b6+':'+_0x580fb0;}return _0xac4de4;}function _0x30ba65(_0x3086ce){const _0x1f97bd=_0x51cbaf,_0x42aaa7=_0x3086ce[_0x1f97bd(0x365)](','),_0x28b41f=[];for(const _0x5db29c of _0x42aaa7){const [_0x5b7191,_0x39e9dd,_0x3ab33e,_0x46854b,_0x32488f,_0x5dcf6c]=_0x5db29c[_0x1f97bd(0x365)](':');_0x28b41f[_0x1f97bd(0x207)]({'startOffset':Number(_0x5b7191),'endOffset':Number(_0x39e9dd),'collapsed':_0x5b7191===_0x39e9dd,'isActive':_0x3ab33e==='1','rangeType':_0x46854b===_0x321c93[_0x1f97bd(0x150)][_0x1f97bd(0x28c)]?_0x321c93[_0x1f97bd(0x150)][_0x1f97bd(0x28c)]:_0x321c93[_0x1f97bd(0x150)]['RECT'],'segmentId':typeof _0x32488f==_0x1f97bd(0x289)?String(_0x32488f):'','segmentPage':Number(_0x5dcf6c!=null?_0x5dcf6c:-0x1)});}return _0x28b41f['some'](_0x1a49d8=>_0x1a49d8[_0x1f97bd(0x30c)])||(_0x28b41f[0x0][_0x1f97bd(0x30c)]=!0x0),_0x28b41f;}class _0x6d5009 extends _0x321c93[_0x51cbaf(0x37f)]{constructor(){const _0x113811=_0x51cbaf;super(...arguments),_0x34d45d(this,_0x113811(0x201),new _0x5072b9[(_0x113811(0x190))](null)),_0x34d45d(this,_0x113811(0x164),this['_collabCursorState$'][_0x113811(0x337)]());}['syncEditingCollabCursor'](_0x5cb60c){const _0x1909da=_0x51cbaf,{unitID:_0x4a67de,memberID:_0x3d8c46,textRanges:_0xf8fec}=_0x5cb60c,_0x5da5aa=_0x1caf2b(_0xf8fec);if(_0x5da5aa==='')return;const _0x55416b={'unitID':_0x4a67de,'memberID':_0x3d8c46,'selection':_0x5da5aa};this[_0x1909da(0x201)][_0x1909da(0x15b)](_0x55416b);}}var _0x584c79=Object['getOwnPropertyDescriptor'],_0x185205=(_0x2a9f27,_0xf3b62d,_0x2c1aa6,_0x516570)=>{const _0x3cc7c8=_0x51cbaf;for(var _0xd908b7=_0x516570>0x1?void 0x0:_0x516570?_0x584c79(_0xf3b62d,_0x2c1aa6):_0xf3b62d,_0x33d9e3=_0x2a9f27[_0x3cc7c8(0x367)]-0x1,_0x1e76fa;_0x33d9e3>=0x0;_0x33d9e3--)(_0x1e76fa=_0x2a9f27[_0x33d9e3])&&(_0xd908b7=_0x1e76fa(_0xd908b7)||_0xd908b7);return _0xd908b7;},_0x65ba02=(_0x571a55,_0x509dc0)=>(_0x35bfdb,_0xf516bf)=>_0x509dc0(_0x35bfdb,_0xf516bf,_0x571a55);const _0x2888e4=0x12c,_0x33ee95=0x64;let _0x45010c=class extends _0x321c93[_0x51cbaf(0x37f)]{constructor(_0x3c23d6,_0x23d0fb,_0x5f4ab3,_0x27cdb8,_0x3b5885,_0x100b2c,_0x4e79ee,_0x3ed5ce,_0x4e6293){const _0x333b4b=_0x51cbaf;super(),_0x34d45d(this,'_online',!0x1),_0x34d45d(this,_0x333b4b(0x3a5),!0x1),_0x34d45d(this,_0x333b4b(0x304),new _0x5072b9[(_0x333b4b(0x190))](new Map())),_0x34d45d(this,'cursorInfo$',this['_cursorInfo$'][_0x333b4b(0x337)]()),_0x34d45d(this,_0x333b4b(0x274),new _0x5072b9['BehaviorSubject']([])),_0x34d45d(this,'roomMembers$',this[_0x333b4b(0x274)]['pipe'](_0x5072b9[_0x333b4b(0x284)](_0x2888e4))),_0x34d45d(this,_0x333b4b(0x1ce),_0x321c93[_0x333b4b(0x1c5)](_0x2587a9=>{const _0x44e89b=_0x333b4b,_0x5edf67={'eventID':_0x2daa7a[_0x44e89b(0x348)][_0x44e89b(0x1f9)],'data':{'unitID':this[_0x44e89b(0x2f6)],'memberID':this[_0x44e89b(0x24f)][_0x44e89b(0x154)](),'selection':_0x1caf2b(_0x2587a9)}};this['_session']['send'](_0x5edf67,this['unitID']);},_0x33ee95)),(this['unitID']=_0x3c23d6,this[_0x333b4b(0x24f)]=_0x23d0fb,this[_0x333b4b(0x393)]=_0x5f4ab3,this[_0x333b4b(0x168)]=_0x27cdb8,this[_0x333b4b(0x206)]=_0x3b5885,this['_syncEditingCollabCursorService']=_0x100b2c,this[_0x333b4b(0x1de)]=_0x4e79ee,this[_0x333b4b(0x297)]=_0x3ed5ce,this['_commandService']=_0x4e6293);}get[_0x51cbaf(0x26b)](){const _0x1aa0af=_0x51cbaf;return this['_cursorInfo$'][_0x1aa0af(0x260)]();}get[_0x51cbaf(0x1d1)](){const _0xe22033=_0x51cbaf;return this[_0xe22033(0x274)][_0xe22033(0x260)]();}[_0x51cbaf(0x256)](){const _0x838930=_0x51cbaf;super[_0x838930(0x256)](),this[_0x838930(0x304)][_0x838930(0x15b)](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$'][_0x838930(0x15b)]([]),this[_0x838930(0x274)]['complete']();}[_0x51cbaf(0x322)](){const _0x2071fb=_0x51cbaf;this[_0x2071fb(0x3a5)]||(this[_0x2071fb(0x3a5)]=!0x0,this['_session']['sessionStatus$']['pipe'](_0x5072b9[_0x2071fb(0x236)](this[_0x2071fb(0x1df)]))[_0x2071fb(0x12f)](_0x52033e=>{const _0x5d8dd3=_0x2071fb;_0x52033e===_0x3d13ea[_0x5d8dd3(0x242)][_0x5d8dd3(0x2d8)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session']['event$'][_0x2071fb(0x2dd)](_0x5072b9[_0x2071fb(0x236)](this[_0x2071fb(0x1df)]))[_0x2071fb(0x12f)](_0x3b6bb6=>{const _0x4dabf9=_0x2071fb,_0x67fde2=_0x3b6bb6[_0x4dabf9(0x369)];_0x67fde2===_0x2daa7a['CollaborationEvent'][_0x4dabf9(0x1f9)]&&this['_onCursorUpdate'](_0x3b6bb6),_0x67fde2===_0x2daa7a[_0x4dabf9(0x348)]['USERS_LEAVE']&&this[_0x4dabf9(0x283)](_0x3b6bb6);}),this[_0x2071fb(0x28d)](this[_0x2071fb(0x1f8)]['onCommandExecuted'](_0x576d1f=>{const _0x42a006=_0x2071fb,_0x1ca251=_0x576d1f[_0x42a006(0x1ca)];_0x1ca251!=null&&this[_0x42a006(0x334)]&&_0x576d1f['id']===_0x266d28['SetTextSelectionsOperation']['id']&&_0x1ca251[_0x42a006(0x254)]===this[_0x42a006(0x2f6)]&&_0x1ca251['isEditing']===!0x1&&_0x1ca251[_0x42a006(0x27a)]['length']>0x0&&this[_0x42a006(0x1ce)](_0x1ca251[_0x42a006(0x27a)]);})),this[_0x2071fb(0x2cd)][_0x2071fb(0x164)][_0x2071fb(0x2dd)](_0x5072b9[_0x2071fb(0x236)](this[_0x2071fb(0x1df)]))[_0x2071fb(0x12f)](_0x39f104=>{const _0x5e4acb=_0x2071fb;if((_0x39f104==null?void 0x0:_0x39f104[_0x5e4acb(0x2f6)])!==this[_0x5e4acb(0x2f6)])return;const _0x345420={'eventID':_0x2daa7a['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x39f104};this[_0x5e4acb(0x30f)](_0x345420);}),this['disposeWithMe'](this[_0x2071fb(0x1f8)][_0x2071fb(0x3a8)](_0x445d79=>{const _0x122fca=_0x2071fb;if(_0x445d79['params']==null)return;const _0x220071=_0x445d79['params'];if(_0x445d79['id']!==_0x266d28[_0x122fca(0x2d7)]['id']||_0x220071[_0x122fca(0x254)]!==this[_0x122fca(0x2f6)])return;const _0x221478={'id':_0x122fca(0x350),'params':_0x220071},_0x5a9f32=this['cursorInfo'];for(const [_0x4f1734,_0x23e630]of _0x5a9f32){const _0x1294b8={'id':_0x122fca(0x350),'params':{'unitId':this[_0x122fca(0x2f6)],'actions':null,'textRanges':_0x23e630[_0x122fca(0x27a)]}},_0x2f6a35=this['_transformService'][_0x122fca(0x136)](_0x221478,_0x1294b8,!0x1);if(_0x2daa7a[_0x122fca(0x1d3)](_0x2f6a35))throw _0x2f6a35['error'];_0x5a9f32[_0x122fca(0x24d)](_0x4f1734,{..._0x23e630,'ranges':_0x2f6a35[_0x122fca(0x285)][_0x122fca(0x1ca)][_0x122fca(0x157)]});}queueMicrotask(()=>{const _0x255696=_0x122fca;this[_0x255696(0x304)]['next'](_0x5a9f32);});})));}[_0x51cbaf(0x30f)](_0x4a7b7d){const _0x405d33=_0x51cbaf;var _0x4627c0,_0x52d9cd;const {memberID:_0x2c187,selection:_0x305f31}=_0x4a7b7d[_0x405d33(0x2aa)],_0x5c1856=_0x30ba65(_0x305f31),_0x36c8c3=(_0x52d9cd=(_0x4627c0=this[_0x405d33(0x206)][_0x405d33(0x31c)](this['unitID'],_0x2c187))==null?void 0x0:_0x4627c0[_0x405d33(0x2a3)])!=null?_0x52d9cd:'Unknown\x20user',_0x3adf56={'color':this[_0x405d33(0x168)][_0x405d33(0x205)](_0x2c187),'name':_0x36c8c3,'ranges':_0x5c1856},_0xd44490=this[_0x405d33(0x26b)];_0xd44490[_0x405d33(0x24d)](_0x2c187,_0x3adf56),this[_0x405d33(0x304)][_0x405d33(0x15b)](_0xd44490);}['_onCursorDelete'](_0x535d36){const _0x5e4f0d=_0x51cbaf,{memberID:_0x31182d}=_0x535d36[_0x5e4f0d(0x2aa)],_0xd22d89=this[_0x5e4f0d(0x26b)];_0xd22d89[_0x5e4f0d(0x215)](_0x31182d),this[_0x5e4f0d(0x304)][_0x5e4f0d(0x15b)](_0xd22d89);}[_0x51cbaf(0x174)](){const _0x5c3715=_0x51cbaf;var _0x5ae514;if(this['_online']=!0x0,((_0x5ae514=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x5ae514[_0x5c3715(0x198)]())!==this[_0x5c3715(0x2f6)])return;const _0x45db3f=this[_0x5c3715(0x393)][_0x5c3715(0x228)](_0x266d28[_0x5c3715(0x1c2)])['getDocRanges']();Array['isArray'](_0x45db3f)&&_0x45db3f[_0x5c3715(0x367)]>0x0&&this['_updateLocalCursor'](_0x45db3f);}[_0x51cbaf(0x351)](){const _0x27fdb6=_0x51cbaf;this[_0x27fdb6(0x334)]=!0x1;}};_0x45010c=_0x185205([_0x65ba02(0x2,_0x321c93[_0x51cbaf(0x2d6)](_0x321c93[_0x51cbaf(0x391)])),_0x65ba02(0x3,_0x321c93['Inject'](_0x4e47bc)),_0x65ba02(0x4,_0x321c93[_0x51cbaf(0x2d6)](_0x3d13ea[_0x51cbaf(0x26f)])),_0x65ba02(0x5,_0x321c93[_0x51cbaf(0x2d6)](_0x6d5009)),_0x65ba02(0x6,_0x2daa7a[_0x51cbaf(0x33f)]),_0x65ba02(0x7,_0x321c93[_0x51cbaf(0x39d)]),_0x65ba02(0x8,_0x321c93[_0x51cbaf(0x25c)])],_0x45010c);var _0x15a6a0=Object['getOwnPropertyDescriptor'],_0x3dc6f6=(_0x5c4830,_0x38e677,_0x39de3b,_0x310a48)=>{const _0x59bee8=_0x51cbaf;for(var _0x350f6a=_0x310a48>0x1?void 0x0:_0x310a48?_0x15a6a0(_0x38e677,_0x39de3b):_0x38e677,_0x448d68=_0x5c4830[_0x59bee8(0x367)]-0x1,_0x2ed50c;_0x448d68>=0x0;_0x448d68--)(_0x2ed50c=_0x5c4830[_0x448d68])&&(_0x350f6a=_0x2ed50c(_0x350f6a)||_0x350f6a);return _0x350f6a;},_0x186fd4=(_0x40bb0f,_0x38091a)=>(_0x1794c0,_0x4ee253)=>_0x38091a(_0x1794c0,_0x4ee253,_0x40bb0f);const _0x55596c=0x12c,_0x14e637=0x64,_0x3ded86=()=>{let _0x5604c8=[],_0x1e5aa3=!0x1;return _0x4fcd0b=>{_0x5604c8['push'](_0x4fcd0b),_0x1e5aa3||(_0x1e5aa3=!0x0,setTimeout(()=>{const _0x172d0e=_0x2584;_0x5604c8[_0x172d0e(0x124)](_0x50f549=>_0x50f549()),_0x5604c8=[],_0x1e5aa3=!0x1;}));};};let _0x1cdbae=class extends _0x321c93[_0x51cbaf(0x37f)]{constructor(_0x3597d8,_0x479d66,_0x5e1b39,_0x39c847,_0xd02543,_0x3073c5,_0x5272b9,_0x3291f8){const _0x402e0e=_0x51cbaf;super(),_0x34d45d(this,'_online',!0x1),_0x34d45d(this,'_init',!0x1),_0x34d45d(this,_0x402e0e(0x304),new _0x5072b9[(_0x402e0e(0x190))](new Map())),_0x34d45d(this,'cursorInfo$',this[_0x402e0e(0x304)]['asObservable']()),_0x34d45d(this,_0x402e0e(0x274),new _0x5072b9[(_0x402e0e(0x190))]([])),_0x34d45d(this,'roomMembers$',this[_0x402e0e(0x274)]['pipe'](_0x5072b9[_0x402e0e(0x284)](_0x55596c))),_0x34d45d(this,_0x402e0e(0x1ce),_0x321c93[_0x402e0e(0x1c5)]((_0x4351e4,_0x1d0d31)=>{const _0x5ec4ff=_0x402e0e,_0xbfe438={'eventID':_0x2daa7a[_0x5ec4ff(0x348)][_0x5ec4ff(0x1f9)],'data':{'unitID':this[_0x5ec4ff(0x2f6)],'memberID':this['_session']['getMemberID'](),'selection':_0x4416e2[_0x5ec4ff(0x30a)](_0x4351e4,_0x1d0d31[_0x5ec4ff(0x199)])}};this['_session'][_0x5ec4ff(0x31b)](_0xbfe438,this['unitID']);},_0x14e637)),(this[_0x402e0e(0x2f6)]=_0x3597d8,this[_0x402e0e(0x24f)]=_0x479d66,this[_0x402e0e(0x393)]=_0x5e1b39,this['_colorAssignService']=_0x39c847,this[_0x402e0e(0x206)]=_0xd02543,this['_univerInstanceService']=_0x3073c5,this[_0x402e0e(0x1f8)]=_0x5272b9,this['_refRangeService']=_0x3291f8);}get[_0x51cbaf(0x26b)](){const _0x1e7e29=_0x51cbaf;return this[_0x1e7e29(0x304)][_0x1e7e29(0x260)]();}get[_0x51cbaf(0x1d1)](){const _0x5738c0=_0x51cbaf;return this[_0x5738c0(0x274)][_0x5738c0(0x260)]();}[_0x51cbaf(0x256)](){const _0x16b430=_0x51cbaf;super[_0x16b430(0x256)](),this[_0x16b430(0x304)][_0x16b430(0x15b)](new Map()),this['_cursorInfo$'][_0x16b430(0x2bc)](),this[_0x16b430(0x274)][_0x16b430(0x15b)]([]),this['_roomMembers$'][_0x16b430(0x2bc)]();}[_0x51cbaf(0x322)](){const _0x1db711=_0x51cbaf;this[_0x1db711(0x3a5)]||(this['_init']=!0x0,this['_session'][_0x1db711(0x147)][_0x1db711(0x2dd)](_0x5072b9[_0x1db711(0x236)](this[_0x1db711(0x1df)]))[_0x1db711(0x12f)](_0x50bdb1=>{const _0x4fa736=_0x1db711;_0x50bdb1===_0x3d13ea[_0x4fa736(0x242)][_0x4fa736(0x2d8)]?this[_0x4fa736(0x174)]():this['_toggleOffline']();}),this['_session'][_0x1db711(0x1c8)][_0x1db711(0x2dd)](_0x5072b9[_0x1db711(0x236)](this['dispose$']))['subscribe'](_0x1130eb=>{const _0x4e6f5b=_0x1db711,_0x38339d=_0x1130eb[_0x4e6f5b(0x369)];_0x38339d===_0x2daa7a[_0x4e6f5b(0x348)][_0x4e6f5b(0x1f9)]&&this[_0x4e6f5b(0x30f)](_0x1130eb),_0x38339d===_0x2daa7a[_0x4e6f5b(0x348)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x1130eb);}),this['_onRefRangeChange'](),this[_0x1db711(0x28d)](this[_0x1db711(0x1f8)][_0x1db711(0x3a8)](_0x370214=>{const _0x1fcb45=_0x1db711;if(this[_0x1fcb45(0x334)]&&_0x370214['id']===_0x16544f[_0x1fcb45(0x25b)]['id']&&_0x370214[_0x1fcb45(0x1ca)][_0x1fcb45(0x254)]===this[_0x1fcb45(0x2f6)]){const _0xde25ad=_0x370214['params'];this[_0x1fcb45(0x1ce)](_0xde25ad['subUnitId'],_0xde25ad['selections'][0x0]);}})));}[_0x51cbaf(0x30f)](_0x56807c){const _0x355c03=_0x51cbaf;var _0x5dd436,_0x136348;const {memberID:_0x3642fd,selection:_0x46df5e}=_0x56807c['data'],{sheetName:_0x1c8c3e,range:_0x2506e0}=_0x4416e2[_0x355c03(0x385)](_0x46df5e),_0x4a3191={'name':(_0x136348=(_0x5dd436=this['_memberService'][_0x355c03(0x31c)](this[_0x355c03(0x2f6)],_0x3642fd))==null?void 0x0:_0x5dd436[_0x355c03(0x2a3)])!=null?_0x136348:_0x355c03(0x255),'range':this[_0x355c03(0x352)](_0x1c8c3e,_0x2506e0),'sheetID':_0x1c8c3e,'color':this[_0x355c03(0x168)][_0x355c03(0x205)](_0x3642fd),'selection':_0x46df5e},_0x57488c=this[_0x355c03(0x26b)];_0x57488c['set'](_0x3642fd,_0x4a3191),this[_0x355c03(0x304)]['next'](_0x57488c);}[_0x51cbaf(0x283)](_0x58a3ce){const _0x194d38=_0x51cbaf,{memberID:_0x57d77d}=_0x58a3ce[_0x194d38(0x2aa)],_0x3eee64=this['cursorInfo'];_0x3eee64[_0x194d38(0x215)](_0x57d77d),this['_cursorInfo$'][_0x194d38(0x15b)](_0x3eee64);}['_getMergeRange'](_0x41f7f2,_0x2db090){const _0x3d4e8d=_0x51cbaf;var _0x17ab63,_0x1b558e;const _0xe6c79c=(_0x1b558e=(_0x17ab63=this[_0x3d4e8d(0x297)]['getUniverSheetInstance'](this[_0x3d4e8d(0x2f6)]))==null?void 0x0:_0x17ab63['getSheetBySheetId'](_0x41f7f2))==null?void 0x0:_0x1b558e[_0x3d4e8d(0x2c0)]();return(_0xe6c79c==null?void 0x0:_0xe6c79c[_0x3d4e8d(0x29e)](_0x322cdb=>_0x321c93[_0x3d4e8d(0x392)][_0x3d4e8d(0x2c5)](_0x322cdb,_0x2db090)))||_0x2db090;}[_0x51cbaf(0x17a)](){const _0x59678f=_0x51cbaf,_0x15f9df=new _0x321c93['DisposableCollection'](),_0x484a33=_0x3ded86(),_0x24e73c=()=>{const _0x5d9a82=_0x2584;_0x15f9df[_0x5d9a82(0x256)]();const _0x1a2f2f=(_0x486052,_0x927af9,_0x2c932b,_0x51c58f)=>{const _0x4aa8a6=_0x5d9a82;let _0x4fe8f4=[];switch(_0x486052['id']){case _0x16544f['EffectRefRangId'][_0x4aa8a6(0x16a)]:{_0x4fe8f4=_0x16544f[_0x4aa8a6(0x1e2)](_0x486052,_0x51c58f);break;}case _0x16544f['EffectRefRangId'][_0x4aa8a6(0x156)]:{_0x4fe8f4=_0x16544f[_0x4aa8a6(0x37c)](_0x486052,_0x51c58f);break;}case _0x16544f[_0x4aa8a6(0x1cd)][_0x4aa8a6(0x17b)]:{_0x4fe8f4=_0x16544f[_0x4aa8a6(0x1b6)](_0x486052,_0x51c58f);break;}case _0x16544f[_0x4aa8a6(0x1cd)]['InsertRangeMoveDownCommandId']:{_0x4fe8f4=_0x16544f[_0x4aa8a6(0x397)](_0x486052,_0x51c58f);break;}case _0x16544f['EffectRefRangId'][_0x4aa8a6(0x2a8)]:{_0x4fe8f4=_0x16544f['handleInsertRangeMoveRight'](_0x486052,_0x51c58f);break;}case _0x16544f[_0x4aa8a6(0x1cd)]['InsertRowCommandId']:{_0x4fe8f4=_0x16544f['handleInsertRow'](_0x486052,_0x51c58f);break;}case _0x16544f[_0x4aa8a6(0x1cd)][_0x4aa8a6(0x1c7)]:{_0x4fe8f4=_0x16544f[_0x4aa8a6(0x252)](_0x486052,_0x51c58f);break;}case _0x16544f['EffectRefRangId'][_0x4aa8a6(0x338)]:{_0x4fe8f4=_0x16544f[_0x4aa8a6(0x178)](_0x486052,_0x51c58f);break;}case _0x16544f[_0x4aa8a6(0x1cd)][_0x4aa8a6(0x1bc)]:{_0x4fe8f4=_0x16544f[_0x4aa8a6(0x34b)](_0x486052,_0x51c58f);break;}}const _0x1451a3=_0x16544f['runRefRangeMutations'](_0x4fe8f4,_0x51c58f),_0x45b98b=this['cursorInfo'][_0x4aa8a6(0x228)](_0x927af9);if(_0x45b98b&&_0x1451a3){const _0x20e45c={..._0x45b98b,'range':_0x1451a3};this['cursorInfo'][_0x4aa8a6(0x24d)](_0x927af9,_0x20e45c),_0x484a33(()=>{const _0x432245=_0x4aa8a6,_0x515995=this[_0x432245(0x35e)]['registerRefRange'](_0x1451a3,_0x447cca=>(_0x515995[_0x432245(0x256)](),_0x1a2f2f(_0x447cca,_0x927af9,_0x2c932b,_0x1451a3)));_0x15f9df[_0x432245(0x317)](_0x515995);});}return{'redos':[],'undos':[]};};this[_0x5d9a82(0x26b)][_0x5d9a82(0x124)]((_0x2ae62a,_0x47bfc5)=>{const _0x33c940=_0x5d9a82,{range:_0x39ce58,sheetID:_0x47a0e2}=_0x2ae62a,_0x4a08f4=this[_0x33c940(0x35e)][_0x33c940(0x319)](_0x39ce58,_0x5bac9a=>(_0x4a08f4[_0x33c940(0x256)](),_0x1a2f2f(_0x5bac9a,_0x47bfc5,_0x47a0e2,_0x39ce58)));_0x15f9df['add'](_0x4a08f4);});};this[_0x59678f(0x28d)](_0x321c93['toDisposable'](this[_0x59678f(0x304)]['subscribe'](()=>{_0x24e73c();})));}[_0x51cbaf(0x174)](){const _0x3d5976=_0x51cbaf;var _0x58d6e7,_0x5d440e;if(this[_0x3d5976(0x334)]=!0x0,((_0x58d6e7=this[_0x3d5976(0x297)][_0x3d5976(0x20f)]())==null?void 0x0:_0x58d6e7[_0x3d5976(0x198)]())!==this[_0x3d5976(0x2f6)])return;const _0x38b099=(_0x5d440e=this[_0x3d5976(0x393)]['get'](_0x16544f[_0x3d5976(0x171)])['getCurrentSelections']())==null?void 0x0:_0x5d440e[0x0],_0x4f6c86=this['_univerInstanceService']['getCurrentUnitForType'](_0x321c93['UniverInstanceType'][_0x3d5976(0x35a)])['getActiveSheet']();_0x38b099&&_0x4f6c86&&this[_0x3d5976(0x1ce)](_0x4f6c86['getSheetId'](),_0x38b099);}[_0x51cbaf(0x351)](){const _0x446958=_0x51cbaf;this[_0x446958(0x334)]=!0x1;}};_0x1cdbae=_0x3dc6f6([_0x186fd4(0x2,_0x321c93[_0x51cbaf(0x2d6)](_0x321c93['Injector'])),_0x186fd4(0x3,_0x321c93[_0x51cbaf(0x2d6)](_0x4e47bc)),_0x186fd4(0x4,_0x321c93['Inject'](_0x3d13ea[_0x51cbaf(0x26f)])),_0x186fd4(0x5,_0x321c93[_0x51cbaf(0x39d)]),_0x186fd4(0x6,_0x321c93['ICommandService']),_0x186fd4(0x7,_0x321c93[_0x51cbaf(0x2d6)](_0x16544f['RefRangeService']))],_0x1cdbae);var _0x2e7d37=Object[_0x51cbaf(0x202)],_0x4c0fff=(_0x35526f,_0x404f5a,_0x3d2ec6,_0x2a6f41)=>{const _0x27fc23=_0x51cbaf;for(var _0x18620f=_0x2a6f41>0x1?void 0x0:_0x2a6f41?_0x2e7d37(_0x404f5a,_0x3d2ec6):_0x404f5a,_0x133e49=_0x35526f[_0x27fc23(0x367)]-0x1,_0x764196;_0x133e49>=0x0;_0x133e49--)(_0x764196=_0x35526f[_0x133e49])&&(_0x18620f=_0x764196(_0x18620f)||_0x18620f);return _0x18620f;},_0x18394b=(_0x4e0931,_0x23246a)=>(_0x55f25e,_0x29ae0b)=>_0x23246a(_0x55f25e,_0x29ae0b,_0x4e0931);let _0x31bd2a=class extends _0x321c93[_0x51cbaf(0x37f)]{constructor(_0x3c6792,_0x5e4010,_0x3ebbce){const _0xe30b8e=_0x51cbaf;super(),_0x34d45d(this,_0xe30b8e(0x2d9),new Map()),_0x34d45d(this,_0xe30b8e(0x208),new _0x5072b9[(_0xe30b8e(0x137))]()),(this[_0xe30b8e(0x297)]=_0x3c6792,this['_injector']=_0x5e4010,this[_0xe30b8e(0x211)]=_0x3ebbce,this[_0xe30b8e(0x3a5)]());}[_0x51cbaf(0x256)](){const _0x184cdf=_0x51cbaf;super[_0x184cdf(0x256)](),this[_0x184cdf(0x208)][_0x184cdf(0x2bc)](),this[_0x184cdf(0x2d9)][_0x184cdf(0x124)](_0x4b95a2=>_0x4b95a2[_0x184cdf(0x256)]());}[_0x51cbaf(0x2c9)](_0x4fc66a){const _0x2177d5=_0x51cbaf;return this['_entities'][_0x2177d5(0x1f4)](_0x4fc66a)?this[_0x2177d5(0x2d9)][_0x2177d5(0x228)](_0x4fc66a)['cursorInfo$']:this[_0x2177d5(0x208)][_0x2177d5(0x2dd)](_0x5072b9[_0x2177d5(0x18e)](_0x5118e4=>_0x5118e4[_0x2177d5(0x2f6)]===_0x4fc66a),_0x5072b9[_0x2177d5(0x14a)](_0x19de87=>_0x19de87[_0x2177d5(0x191)]));}[_0x51cbaf(0x3a5)](){const _0x930e6c=_0x51cbaf;this[_0x930e6c(0x297)][_0x930e6c(0x26d)](_0x321c93[_0x930e6c(0x2f3)][_0x930e6c(0x35a)])[_0x930e6c(0x2dd)](_0x5072b9['takeUntil'](this[_0x930e6c(0x1df)]))[_0x930e6c(0x12f)](async _0x1b7c97=>{const _0x3c4367=_0x930e6c,_0x5b44e7=_0x1b7c97[_0x3c4367(0x198)](),_0xda61d4=await this[_0x3c4367(0x34a)](_0x5b44e7);this['_entityInit$'][_0x3c4367(0x15b)](_0xda61d4),this[_0x3c4367(0x2d9)][_0x3c4367(0x24d)](_0x5b44e7,_0xda61d4);}),this[_0x930e6c(0x297)][_0x930e6c(0x26d)](_0x321c93[_0x930e6c(0x2f3)][_0x930e6c(0x28e)])['pipe'](_0x5072b9['takeUntil'](this[_0x930e6c(0x1df)]))['pipe'](_0x5072b9[_0x930e6c(0x18e)](_0x1dadf9=>!_0x1dadf9[_0x930e6c(0x198)]()[_0x930e6c(0x345)]('__')))['subscribe'](async _0xbd9136=>{const _0xa15657=_0x930e6c,_0x53334b=_0xbd9136['getUnitId'](),_0x338405=await this[_0xa15657(0x127)](_0x53334b);this['_entityInit$'][_0xa15657(0x15b)](_0x338405),this[_0xa15657(0x2d9)]['set'](_0x53334b,_0x338405);}),_0x5072b9['merge'](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x321c93[_0x930e6c(0x2f3)][_0x930e6c(0x28e)]),this[_0x930e6c(0x297)][_0x930e6c(0x161)](_0x321c93[_0x930e6c(0x2f3)][_0x930e6c(0x35a)]))[_0x930e6c(0x2dd)](_0x5072b9[_0x930e6c(0x236)](this[_0x930e6c(0x1df)]))[_0x930e6c(0x12f)](_0x4826cb=>{const _0x54db17=_0x930e6c,_0x43cf96=_0x4826cb[_0x54db17(0x198)](),_0x11f180=this['_entities'][_0x54db17(0x228)](_0x43cf96);_0x11f180&&(_0x11f180['dispose'](),this[_0x54db17(0x2d9)]['delete'](_0x43cf96));});}async['_startSheetCollabCursor'](_0x24d373){const _0x36ab4b=_0x51cbaf,_0x47990a=await this[_0x36ab4b(0x211)][_0x36ab4b(0x3b1)](_0x24d373),_0x336664=this[_0x36ab4b(0x393)][_0x36ab4b(0x172)](_0x1cdbae,_0x24d373,_0x47990a);return _0x336664[_0x36ab4b(0x322)](),_0x336664;}async[_0x51cbaf(0x127)](_0xe87270){const _0xc992d6=_0x51cbaf,_0x2b8751=await this['_collabSessionService'][_0xc992d6(0x3b1)](_0xe87270),_0x5e29b6=this[_0xc992d6(0x393)]['createInstance'](_0x45010c,_0xe87270,_0x2b8751);return _0x5e29b6[_0xc992d6(0x322)](),_0x5e29b6;}};_0x31bd2a=_0x4c0fff([_0x18394b(0x0,_0x321c93['IUniverInstanceService']),_0x18394b(0x1,_0x321c93[_0x51cbaf(0x2d6)](_0x321c93[_0x51cbaf(0x391)])),_0x18394b(0x2,_0x321c93[_0x51cbaf(0x2d6)](_0x3d13ea[_0x51cbaf(0x3a3)]))],_0x31bd2a);const _0x47bdd1=0x14,_0x45acfd=0xc8,_0x5dcafb=0x4,_0x18c81b=0x5;function _0x545058(_0xfe9d3b,_0x1db9f2){const _0x1202dc=_0x51cbaf;let {radius:_0x5437d5,width:_0x261649,height:_0x2eb673}=_0x1db9f2;_0x5437d5=_0x5437d5!=null?_0x5437d5:0x0,_0x261649=_0x261649!=null?_0x261649:0x1e,_0x2eb673=_0x2eb673!=null?_0x2eb673:0x1e;let _0x490ecd=0x0,_0x316a72=0x0,_0x177346=0x0;_0x490ecd=_0x316a72=_0x177346=Math[_0x1202dc(0x2b7)](_0x5437d5,_0x261649/0x2,_0x2eb673/0x2),_0xfe9d3b['beginPath'](),_0xfe9d3b[_0x1202dc(0x220)](_0x490ecd,0x0),_0xfe9d3b[_0x1202dc(0x389)](_0x261649-_0x316a72,0x0),_0xfe9d3b[_0x1202dc(0x23d)](_0x261649-_0x316a72,_0x316a72,_0x316a72,Math['PI']*0x3/0x2,0x0,!0x1),_0xfe9d3b['lineTo'](_0x261649,_0x2eb673-_0x177346),_0xfe9d3b[_0x1202dc(0x23d)](_0x261649-_0x177346,_0x2eb673-_0x177346,_0x177346,0x0,Math['PI']/0x2,!0x1),_0xfe9d3b[_0x1202dc(0x389)](0x0,_0x2eb673),_0xfe9d3b[_0x1202dc(0x389)](0x0,_0x490ecd),_0xfe9d3b[_0x1202dc(0x23d)](_0x490ecd,_0x490ecd,_0x490ecd,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xfe9d3b['closePath'](),_0x1db9f2[_0x1202dc(0x130)]&&(_0xfe9d3b[_0x1202dc(0x3ad)](),_0xfe9d3b['fillStyle']=_0x1db9f2[_0x1202dc(0x130)],_0x1db9f2[_0x1202dc(0x159)]==='evenodd'?_0xfe9d3b['fill'](_0x1202dc(0x188)):_0xfe9d3b[_0x1202dc(0x130)](),_0xfe9d3b[_0x1202dc(0x32c)]());}class _0x43b7eb extends _0x3f844e[_0x51cbaf(0x13e)]{constructor(_0xb89a30,_0x1057df){const _0x4be6ab=_0x51cbaf;super(_0xb89a30,_0x1057df),_0x34d45d(this,_0x4be6ab(0x2a1)),_0x34d45d(this,_0x4be6ab(0x2d2)),(this[_0x4be6ab(0x2a1)]=_0x1057df==null?void 0x0:_0x1057df[_0x4be6ab(0x2a1)],this[_0x4be6ab(0x2d2)]=_0x1057df==null?void 0x0:_0x1057df[_0x4be6ab(0x2d2)]);}static['drawWith'](_0x18771,_0x222b1b){const _0x2b20b1=_0x51cbaf,{text:_0x1d06bc,color:_0x283d87}=_0x222b1b;_0x18771['save'](),_0x18771[_0x2b20b1(0x32a)]=_0x2b20b1(0x1ef);const _0x5be540=_0x18771[_0x2b20b1(0x1cc)](_0x1d06bc)[_0x2b20b1(0x14d)],_0x5e8ee1=Math['min'](_0x5be540+0x2*_0x5dcafb,_0x45acfd);_0x545058(_0x18771,{'height':_0x47bdd1,'radius':0x4,'width':_0x5e8ee1,'fill':_0x283d87}),_0x18771['fillStyle']='#FFF';const _0x30b910=_0x5dcafb,_0x330a81=_0x47bdd1-_0x18c81b,_0x2d15a8=_0x45acfd-0x2*_0x5dcafb;if(_0x5be540>_0x2d15a8){let _0x22f37c='',_0x1b8d35=0x0;for(const _0x234348 of _0x1d06bc){const _0x47ee92=_0x18771[_0x2b20b1(0x1cc)](_0x234348)[_0x2b20b1(0x14d)];if(_0x1b8d35+_0x47ee92<=_0x2d15a8-_0x18771[_0x2b20b1(0x1cc)](_0x2b20b1(0x163))['width'])_0x22f37c+=_0x234348,_0x1b8d35+=_0x47ee92;else{_0x22f37c+=_0x2b20b1(0x163);break;}}_0x18771[_0x2b20b1(0x12e)](_0x22f37c,_0x30b910,_0x330a81);}else _0x18771[_0x2b20b1(0x12e)](_0x1d06bc,_0x30b910,_0x330a81);_0x18771[_0x2b20b1(0x32c)]();}[_0x51cbaf(0x2b3)](_0x37268d){const _0xe073e7=_0x51cbaf;_0x43b7eb[_0xe073e7(0x39a)](_0x37268d,this);}}const _0x5e348e=_0x51cbaf(0x375),_0x13cb1f='collab-text-range-',_0x563cdf=_0x51cbaf(0x20d),_0x63c89c=0x6,_0x401789=1.5,_0x3fdb8c=0x4,_0x3cde6a=1.5,_0x505b94=_0x51cbaf(0x1ae);class _0x10cce7{constructor(_0x4119ae,_0x556a04,_0xaaf7db,_0x361bd8){const _0x4dcd50=_0x51cbaf;_0x34d45d(this,_0x4dcd50(0x140),[]),_0x34d45d(this,'_anchor',null),_0x34d45d(this,'_textBubble',null),_0x34d45d(this,_0x4dcd50(0x38f),null),_0x34d45d(this,_0x4dcd50(0x27f),null),_0x34d45d(this,_0x4dcd50(0x39c),null),(this[_0x4dcd50(0x2b5)]=_0x4119ae,this[_0x4dcd50(0x1a8)]=_0x556a04,this['_docSkeleton']=_0xaaf7db,this[_0x4dcd50(0x22e)]=_0x361bd8,this[_0x4dcd50(0x230)]());}set[_0x51cbaf(0x1b0)](_0x48f2fa){const _0x329635=_0x51cbaf;_0x48f2fa?(this[_0x329635(0x38f)]&&this['_anchorDot'][_0x329635(0x28b)](),this[_0x329635(0x3ae)]&&this[_0x329635(0x3ae)][_0x329635(0x31f)]()):(this[_0x329635(0x38f)]&&this[_0x329635(0x38f)]['show'](),this[_0x329635(0x3ae)]&&this['_textBubble'][_0x329635(0x28b)]());}['dispose'](){const _0x463ba4=_0x51cbaf;for(const _0x6fc495 of this['_shapes'])_0x6fc495['dispose']();this[_0x463ba4(0x3ae)]&&this[_0x463ba4(0x3ae)][_0x463ba4(0x256)](),this[_0x463ba4(0x38f)]&&this[_0x463ba4(0x38f)]['dispose'](),this[_0x463ba4(0x148)]&&this[_0x463ba4(0x148)][_0x463ba4(0x256)](),this['_eventUnsubscribe']&&this[_0x463ba4(0x39c)]();}[_0x51cbaf(0x230)](){const _0x3c04ad=_0x51cbaf;var _0x27286b;const {_docSkeleton:_0x161c61,_document:_0x4a9140}=this,{color:_0x139eab,name:_0x48eb02,ranges:_0x19a446}=this['_cursor'],_0x12fe13=_0x4a9140[_0x3c04ad(0x257)](),{docsLeft:_0x3eae75,docsTop:_0x37ed6f}=_0x12fe13,_0xc27bb4=new _0x21bba4[(_0x3c04ad(0x2ae))](_0x12fe13,_0x161c61);for(const {startOffset:_0x127801,endOffset:_0x9d04bd,rangeType:_0x2b1e70,segmentId:_0x17eea0,segmentPage:_0x12148e,collapsed:_0x9eb9e5,isActive:_0x155c09}of _0x19a446){const _0x4e29ac=_0x161c61[_0x3c04ad(0x368)](_0x127801,!0x0,_0x17eea0,_0x12148e);let _0x523db4=_0x161c61[_0x3c04ad(0x368)](_0x9d04bd,!0x0,_0x17eea0,_0x12148e);if(_0x523db4==null&&(_0x523db4=_0x161c61[_0x3c04ad(0x368)](_0x9d04bd-0x1,!0x1,_0x17eea0,_0x12148e)),_0x155c09){const {contentBoxPointGroup:_0x43817e}=_0xc27bb4['getRangePointData'](_0x523db4,_0x523db4);if(_0x43817e[_0x3c04ad(0x367)]===0x0)continue;this['_drawAnchor'](_0x139eab,_0x43817e,_0x3eae75,_0x37ed6f,_0x48eb02),this[_0x3c04ad(0x39c)]=this[_0x3c04ad(0x39f)]();}if(_0x4e29ac&&_0x523db4){if(_0x2b1e70===_0x321c93[_0x3c04ad(0x150)]['RECT']){const _0x2742f6=new _0x21bba4[(_0x3c04ad(0x2e3))](_0x12fe13,_0x161c61),{pointGroup:_0xd78495}=(_0x27286b=_0x2742f6[_0x3c04ad(0x167)](_0x4e29ac,_0x523db4))!=null?_0x27286b:{};if(_0xd78495==null||_0xd78495['length']===0x0)continue;this[_0x3c04ad(0x177)](_0x139eab,_0xd78495,_0x3eae75,_0x37ed6f);}else{if(!_0x9eb9e5){const {borderBoxPointGroup:_0x3b4938}=_0xc27bb4[_0x3c04ad(0x167)](_0x4e29ac,_0x523db4);if(_0x3b4938[_0x3c04ad(0x367)]===0x0)continue;this[_0x3c04ad(0x23a)](_0x139eab,_0x3b4938,_0x3eae75,_0x37ed6f);}}}}}[_0x51cbaf(0x2d0)](_0x4e525b,_0x254256,_0x1f7737,_0x5502b1,_0x74fa6d){const _0x4fd310=_0x51cbaf,_0x2738a9=this[_0x4fd310(0x2ce)](_0x254256),{left:_0x58f138,top:_0x1821e2,height:_0x1110f9}=_0x2738a9,_0x2dd490=this[_0x4fd310(0x314)](),_0x451cb6=_0x3cde6a/_0x2dd490,_0x28cd1c=new _0x3f844e[(_0x4fd310(0x323))](_0x5e348e+_0x321c93[_0x4fd310(0x2f5)][_0x4fd310(0x151)](_0x63c89c),{'left':_0x58f138+_0x1f7737-_0x451cb6,'top':_0x1821e2+_0x5502b1,'height':_0x1110f9,'width':_0x401789,'fill':_0x4e525b||_0x3f844e[_0x4fd310(0x15f)](_0x321c93['COLORS'][_0x4fd310(0x29d)],0x0),'strokeWidth':_0x451cb6,'stroke':_0x505b94,'evented':!0x0});this[_0x4fd310(0x148)]=_0x28cd1c,this[_0x4fd310(0x1a8)][_0x4fd310(0x32f)](_0x28cd1c,_0x21bba4[_0x4fd310(0x1c3)]);const _0x27fbe1=new _0x3f844e[(_0x4fd310(0x323))](_0x5e348e+_0x321c93[_0x4fd310(0x2f5)]['generateRandomId'](_0x63c89c),{'left':_0x58f138+_0x1f7737-_0x451cb6,'top':_0x1821e2+_0x5502b1-_0x3fdb8c/0x2,'height':_0x3fdb8c,'width':_0x3fdb8c,'fill':_0x4e525b||_0x3f844e[_0x4fd310(0x15f)](_0x321c93[_0x4fd310(0x363)][_0x4fd310(0x29d)],0x0),'strokeWidth':0x0,'stroke':_0x4e525b||_0x3f844e['getColor'](_0x321c93['COLORS']['black'],0x0),'evented':!0x1});this[_0x4fd310(0x38f)]=_0x27fbe1,this[_0x4fd310(0x1a8)][_0x4fd310(0x32f)](_0x27fbe1,_0x21bba4[_0x4fd310(0x1c3)]);const _0x1312d2=new _0x43b7eb(_0x5e348e+_0x321c93[_0x4fd310(0x2f5)]['generateRandomId'](_0x63c89c),{'left':_0x58f138+_0x1f7737-_0x451cb6,'top':_0x1821e2+_0x5502b1-_0x47bdd1,'text':_0x74fa6d,'color':_0x4e525b});this[_0x4fd310(0x3ae)]=_0x1312d2,this['_scene']['addObject'](_0x1312d2,_0x21bba4['TEXT_RANGE_LAYER_INDEX']),this[_0x4fd310(0x1b0)]=!0x1;}[_0x51cbaf(0x39f)](){const _0x47b523=_0x51cbaf,_0x1c46db=this['_anchor'][_0x47b523(0x28a)][_0x47b523(0x214)](()=>{const _0x48b63d=_0x47b523;this[_0x48b63d(0x1b0)]=!0x0;}),_0x3a7d79=this[_0x47b523(0x148)]['onPointerLeave$'][_0x47b523(0x214)](()=>{const _0x5320b0=_0x47b523;this['_hideTimer']&&clearTimeout(this[_0x5320b0(0x27f)]),this[_0x5320b0(0x27f)]=setTimeout(()=>{const _0x39363e=_0x5320b0;this[_0x39363e(0x1b0)]=!0x1;},0x7d0);});return()=>{const _0x3a552e=_0x47b523;_0x1c46db[_0x3a552e(0x387)](),_0x3a7d79[_0x3a552e(0x387)]();};}['_drawTextRange'](_0x5b8add,_0x1944f6,_0x4bac01,_0x1b8167){const _0x547351=_0x51cbaf,_0x55d5ff=new _0x321c93[(_0x547351(0x380))](_0x5b8add)[_0x547351(0x300)](0.2)[_0x547351(0x311)](),_0x559a89=new _0x3f844e['RegularPolygon'](_0x13cb1f+_0x321c93[_0x547351(0x2f5)][_0x547351(0x151)](_0x63c89c),{'pointsGroup':_0x1944f6,'fill':_0x55d5ff||_0x3f844e['getColor'](_0x321c93[_0x547351(0x363)][_0x547351(0x29d)],0.2),'left':_0x4bac01,'top':_0x1b8167,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x547351(0x140)][_0x547351(0x207)](_0x559a89),this[_0x547351(0x1a8)][_0x547351(0x32f)](_0x559a89,_0x21bba4['TEXT_RANGE_LAYER_INDEX']);}[_0x51cbaf(0x177)](_0x23e764,_0x31bc44,_0x1d0741,_0x5aa774){const _0x23f8ab=_0x51cbaf,_0x4a9ace=new _0x321c93[(_0x23f8ab(0x380))](_0x23e764)['setAlpha'](0.2)[_0x23f8ab(0x311)](),_0x383303=new _0x3f844e[(_0x23f8ab(0x303))](_0x563cdf+_0x321c93[_0x23f8ab(0x2f5)][_0x23f8ab(0x151)](_0x63c89c),{'pointsGroup':_0x31bc44,'fill':_0x4a9ace||_0x3f844e[_0x23f8ab(0x15f)](_0x321c93[_0x23f8ab(0x363)][_0x23f8ab(0x29d)],0.2),'left':_0x1d0741,'top':_0x5aa774,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x383303),this[_0x23f8ab(0x1a8)][_0x23f8ab(0x32f)](_0x383303,_0x21bba4[_0x23f8ab(0x1c3)]);}[_0x51cbaf(0x2ce)](_0x44ff46){const _0x124fe4=_0x44ff46[0x0],_0x33a7ca=_0x124fe4[0x0],_0x221ade=_0x124fe4[0x2],{x:_0x3e6416,y:_0x20e461}=_0x33a7ca,{x:_0x2ef84d,y:_0x28e335}=_0x221ade;return{'left':_0x3e6416,'top':_0x20e461,'width':_0x2ef84d-_0x3e6416,'height':_0x28e335-_0x20e461};}[_0x51cbaf(0x314)](){const _0x5809eb=_0x51cbaf,{scaleX:_0x201e56,scaleY:_0x1c4881}=this[_0x5809eb(0x1a8)][_0x5809eb(0x278)]();return Math[_0x5809eb(0x153)](_0x201e56,_0x1c4881);}}var _0x5f00bf=Object['getOwnPropertyDescriptor'],_0x3018ff=(_0x1ea8db,_0x4a1fbb,_0x28e96d,_0x5a8c13)=>{const _0x555e06=_0x51cbaf;for(var _0x5a1d34=_0x5a8c13>0x1?void 0x0:_0x5a8c13?_0x5f00bf(_0x4a1fbb,_0x28e96d):_0x4a1fbb,_0x197bc8=_0x1ea8db[_0x555e06(0x367)]-0x1,_0x43657a;_0x197bc8>=0x0;_0x197bc8--)(_0x43657a=_0x1ea8db[_0x197bc8])&&(_0x5a1d34=_0x43657a(_0x5a1d34)||_0x5a1d34);return _0x5a1d34;},_0x484863=(_0x3e3c66,_0x1f338a)=>(_0x52bac1,_0x2630c1)=>_0x1f338a(_0x52bac1,_0x2630c1,_0x3e3c66);let _0x48292d=class extends _0x321c93[_0x51cbaf(0x37f)]{constructor(_0x1437d5,_0x2c2ebe,_0x5cf80a,_0x232745,_0x33abe6){const _0x6f916f=_0x51cbaf;super(),_0x34d45d(this,_0x6f916f(0x1c1),[]),_0x34d45d(this,_0x6f916f(0x1e7),[]),(this[_0x6f916f(0x131)]=_0x1437d5,this[_0x6f916f(0x341)]=_0x2c2ebe,this[_0x6f916f(0x200)]=_0x5cf80a,this[_0x6f916f(0x1f8)]=_0x232745,this['_themeService']=_0x33abe6,this[_0x6f916f(0x3a5)]());}[_0x51cbaf(0x3a5)](){const _0x4d974b=_0x51cbaf,_0x31fda1=this['_context'][_0x4d974b(0x254)],_0x222ded=this[_0x4d974b(0x341)];this['disposeWithMe'](_0x5072b9[_0x4d974b(0x379)]([this[_0x4d974b(0x200)][_0x4d974b(0x2c9)](_0x31fda1),this[_0x4d974b(0x13f)]['currentTheme$']])['pipe'](_0x4898c1[_0x4d974b(0x193)](([_0x247ac0,_0x48c19a])=>({'skeleton':_0x222ded[_0x4d974b(0x152)](),'cursors':[..._0x247ac0['values']()][_0x4d974b(0x189)](_0x48118d=>({..._0x48118d,'color':this[_0x4d974b(0x13f)][_0x4d974b(0x1f6)](_0x48118d[_0x4d974b(0x2a1)])}))})))[_0x4d974b(0x12f)](_0x520357=>{const _0x373399=_0x4d974b;if(this[_0x373399(0x32b)](),_0x520357){const {skeleton:_0x292500,cursors:_0x4893f7}=_0x520357;this[_0x373399(0x237)](_0x292500,_0x4893f7);}})),this['_initResize'](),this[_0x4d974b(0x307)]();}['_updateCollabCursors'](_0x3c3846,_0x4375c4){const _0x54c396=_0x51cbaf,{scene:_0x26d811,mainComponent:_0xd258ab}=this['_context'],_0x41c651=_0x4375c4['map'](_0x39606c=>new _0x10cce7(_0x39606c,_0x26d811,_0x3c3846,_0xd258ab));this[_0x54c396(0x1c1)]=_0x41c651,this['_cursors']=_0x4375c4;}['_refreshCollabCursors'](){const _0x7bc579=_0x51cbaf;this[_0x7bc579(0x32b)]();const {scene:_0x3b3bb3,mainComponent:_0x1aadf4}=this[_0x7bc579(0x131)],_0x52c0bf=this[_0x7bc579(0x341)][_0x7bc579(0x152)](),_0x2783a8=this[_0x7bc579(0x1e7)]['map'](_0x4e7494=>new _0x10cce7(_0x4e7494,_0x3b3bb3,_0x52c0bf,_0x1aadf4));this['_cursorShapes']=_0x2783a8;}['_removeCollabCursors'](){const _0x327308=_0x51cbaf;this[_0x327308(0x1c1)]['forEach'](_0x21af23=>_0x21af23['dispose']()),this['_cursorShapes']=[];}[_0x51cbaf(0x307)](){const _0x1bcb58=_0x51cbaf,_0x3fd2bd=[_0x21bba4[_0x1bcb58(0x241)]['id']];this[_0x1bcb58(0x28d)](this[_0x1bcb58(0x1f8)][_0x1bcb58(0x3a8)](_0xfdbca0=>{const _0x574b45=_0x1bcb58;_0x3fd2bd[_0x574b45(0x251)](_0xfdbca0['id'])&&_0xfdbca0[_0x574b45(0x1ca)]['unitId']===this['_context'][_0x574b45(0x254)]&&this[_0x574b45(0x35f)]();}));}[_0x51cbaf(0x1e5)](){const _0x42587a=_0x51cbaf;this['disposeWithMe'](_0x321c93['fromEventSubject'](this[_0x42587a(0x131)][_0x42587a(0x13a)][_0x42587a(0x28f)])['pipe'](_0x4898c1[_0x42587a(0x18e)](_0x5997b3=>_0x5997b3[_0x42587a(0x1ad)]===_0x3f844e[_0x42587a(0x1a3)][_0x42587a(0x2c8)]),_0x4898c1[_0x42587a(0x1fd)](0x10))[_0x42587a(0x12f)](()=>{this['_refreshCollabCursors']();}));}};_0x48292d=_0x3018ff([_0x484863(0x1,_0x321c93[_0x51cbaf(0x2d6)](_0x266d28[_0x51cbaf(0x29b)])),_0x484863(0x2,_0x321c93['Inject'](_0x31bd2a)),_0x484863(0x3,_0x321c93['ICommandService']),_0x484863(0x4,_0x321c93[_0x51cbaf(0x2d6)](_0x321c93['ThemeService']))],_0x48292d);const _0x55eeda=0x1,_0x1c3925=1.5;class _0x2c9bd8 extends _0x3f844e[_0x51cbaf(0x13e)]{constructor(_0x5e1886,_0x44d9e8){const _0x201e64=_0x51cbaf;super(_0x5e1886,_0x44d9e8),_0x34d45d(this,_0x201e64(0x3af)),_0x34d45d(this,_0x201e64(0x33d),!0x1),_0x34d45d(this,'_range'),_0x34d45d(this,_0x201e64(0x3ba),''),_0x34d45d(this,_0x201e64(0x223),_0x201e64(0x2e7)),_0x34d45d(this,_0x201e64(0x355)),(_0x44d9e8&&this['setShapeProps'](_0x44d9e8),this['onPointerEnter$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x201e64(0x364)]['subscribeEvent'](()=>this[_0x201e64(0x2c3)]({'hovered':!0x1})));}[_0x51cbaf(0x2c3)](_0x4970cc){const _0x4c3425=_0x51cbaf;var _0x4f2e44,_0x5cf1bb,_0x515d16,_0x5f0d37,_0x40141f,_0x4adcbe;this['_color']=(_0x4f2e44=_0x4970cc[_0x4c3425(0x2a1)])!=null?_0x4f2e44:this[_0x4c3425(0x3af)],this[_0x4c3425(0x33d)]=(_0x5cf1bb=_0x4970cc['hovered'])!=null?_0x5cf1bb:this['_hovered'],this['_range']=(_0x515d16=_0x4970cc[_0x4c3425(0x199)])!=null?_0x515d16:this[_0x4c3425(0x2c4)],this['_name']=(_0x5f0d37=_0x4970cc[_0x4c3425(0x2a3)])!=null?_0x5f0d37:this[_0x4c3425(0x3ba)],this['_labelPosition']=(_0x40141f=_0x4970cc[_0x4c3425(0x1ab)])!=null?_0x40141f:this[_0x4c3425(0x223)],this[_0x4c3425(0x355)]=(_0x4adcbe=_0x4970cc[_0x4c3425(0x1a6)])!=null?_0x4adcbe:this[_0x4c3425(0x355)],this[_0x4c3425(0x3b5)]({'width':_0x4970cc[_0x4c3425(0x14d)],'height':_0x4970cc[_0x4c3425(0x27b)]});}['onMouseMove'](_0x1c557b){const _0x2f43e1=_0x51cbaf,{row:_0x140ec7,column:_0x5d631a}=_0x1c557b;if(_0x140ec7>=this[_0x2f43e1(0x2c4)][_0x2f43e1(0x344)]&&_0x140ec7<=this[_0x2f43e1(0x2c4)][_0x2f43e1(0x390)]&&_0x5d631a>=this[_0x2f43e1(0x2c4)]['startColumn']&&_0x5d631a<=this[_0x2f43e1(0x2c4)][_0x2f43e1(0x209)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x51cbaf(0x353)](_0x3a064c){return!0x1;}[_0x51cbaf(0x2b3)](_0x4880b4){const _0x3eddba=_0x51cbaf;_0x3f844e[_0x3eddba(0x323)][_0x3eddba(0x39a)](_0x4880b4,{'width':this['width'],'height':this[_0x3eddba(0x27b)],'strokeWidth':_0x1c3925,'stroke':this[_0x3eddba(0x3af)],'evented':!0x1,'fill':this[_0x3eddba(0x355)]}),this[_0x3eddba(0x33d)]&&(_0x4880b4[_0x3eddba(0x3ad)](),_0x4880b4['transform'](0x1,0x0,0x0,0x1,this[_0x3eddba(0x14d)],this[_0x3eddba(0x223)]===_0x3eddba(0x1d9)?0x0:-0x14),_0x43b7eb[_0x3eddba(0x39a)](_0x4880b4,{'text':this[_0x3eddba(0x3ba)],'color':this[_0x3eddba(0x3af)]}),_0x4880b4[_0x3eddba(0x32c)]());}}var _0x5d35fc=Object[_0x51cbaf(0x202)],_0x167882=(_0x20ec49,_0x470822,_0x31d1df,_0x5d8145)=>{const _0x26ffd3=_0x51cbaf;for(var _0x43414f=_0x5d8145>0x1?void 0x0:_0x5d8145?_0x5d35fc(_0x470822,_0x31d1df):_0x470822,_0x49c974=_0x20ec49[_0x26ffd3(0x367)]-0x1,_0x4f9e21;_0x49c974>=0x0;_0x49c974--)(_0x4f9e21=_0x20ec49[_0x49c974])&&(_0x43414f=_0x4f9e21(_0x43414f)||_0x43414f);return _0x43414f;},_0x1f3ecb=(_0x43ba6e,_0x59ff28)=>(_0xf98100,_0x77f594)=>_0x59ff28(_0xf98100,_0x77f594,_0x43ba6e);const _0x413efd=0x1389;let _0x451cff=class extends _0x321c93[_0x51cbaf(0x37f)]{constructor(_0xd1013e,_0x40aaa9,_0x2bd019,_0x28d48c){const _0x144a4b=_0x51cbaf;super(),_0x34d45d(this,'_cursors',new Set()),_0x34d45d(this,_0x144a4b(0x187),null),(this[_0x144a4b(0x131)]=_0xd1013e,this[_0x144a4b(0x2df)]=_0x40aaa9,this[_0x144a4b(0x200)]=_0x2bd019,this[_0x144a4b(0x13f)]=_0x28d48c,this[_0x144a4b(0x3a5)]());}['_init'](){const _0x35d22d=_0x51cbaf;this[_0x35d22d(0x2df)][_0x35d22d(0x17d)][_0x35d22d(0x2dd)](_0x4898c1[_0x35d22d(0x236)](this['dispose$']),_0x4898c1[_0x35d22d(0x14a)](_0x12b044=>{const _0x939d8e=_0x35d22d;if(_0x12b044){const _0x175fbd=_0x12b044['sheetId'];return _0x5072b9[_0x939d8e(0x379)](this[_0x939d8e(0x200)][_0x939d8e(0x2c9)](this[_0x939d8e(0x131)][_0x939d8e(0x254)]),this[_0x939d8e(0x13f)]['currentTheme$'])[_0x939d8e(0x2dd)](_0x4898c1[_0x939d8e(0x193)](([_0x5d948a,_0x557e5c])=>{const _0x423824=_0x939d8e,_0x4cdfef=new Map();return _0x5d948a[_0x423824(0x124)]((_0xe22dbd,_0x3ce231)=>{const _0x4588a8=_0x423824;if(_0xe22dbd[_0x4588a8(0x27d)]===_0x175fbd){const _0x14ea7a={..._0xe22dbd};_0x14ea7a[_0x4588a8(0x2a1)]=this[_0x4588a8(0x13f)][_0x4588a8(0x1f6)](_0xe22dbd['color']),_0x4cdfef[_0x4588a8(0x24d)](_0x3ce231,_0x14ea7a);}}),{'skeleton':_0x12b044,'cursors':_0x4cdfef};}));}return _0x5072b9['of']({'skeleton':null,'cursors':new Map()});}))[_0x35d22d(0x12f)](({skeleton:_0x35905d,cursors:_0xd351a7})=>{const _0x58dd4b=_0x35d22d;this[_0x58dd4b(0x32b)](),_0x35905d&&this[_0x58dd4b(0x237)](_0x35905d,_0xd351a7);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x35d22d(0x12f)](_0x47ae70=>{const _0x199683=_0x35d22d;if(_0x47ae70==null)return;const {skeleton:_0x369f20}=_0x47ae70,{scene:_0x37faed}=this[_0x199683(0x131)];_0x37faed[_0x199683(0x239)][_0x199683(0x214)](_0x321c93[_0x199683(0x1c5)](_0x22ab50=>{const _0x9d998a=_0x199683;var _0x3e0815,_0x531a32;const {offsetX:_0xefc802,offsetY:_0x372b39}=_0x22ab50,{x:_0x51e534,y:_0x706d77}=_0x37faed[_0x9d998a(0x231)](_0x3f844e[_0x9d998a(0x2eb)]['FromArray']([_0xefc802,_0x372b39])),{scaleX:_0x26f630,scaleY:_0x422641}=_0x37faed[_0x9d998a(0x278)](),_0x5eba0e=_0x37faed[_0x9d998a(0x1cb)](_0x3f844e['SHEET_VIEWPORT_KEY'][_0x9d998a(0x36c)]),_0x59d091=_0x37faed['getVpScrollXYInfoByPosToVp'](_0x3f844e[_0x9d998a(0x2eb)]['FromArray']([_0x51e534,_0x706d77]),_0x5eba0e),_0x1d170b=_0x369f20[_0x9d998a(0x324)](_0xefc802,_0x372b39,_0x26f630,_0x422641,_0x59d091);((_0x3e0815=this[_0x9d998a(0x187)])==null?void 0x0:_0x3e0815['column'])===_0x1d170b[_0x9d998a(0x197)]&&((_0x531a32=this[_0x9d998a(0x187)])==null?void 0x0:_0x531a32[_0x9d998a(0x262)])===_0x1d170b[_0x9d998a(0x262)]||this['_cursors']['forEach'](_0x49f8a2=>{const _0x1c4182=_0x9d998a;_0x49f8a2[_0x1c4182(0x1f1)](_0x1d170b);});},0x64));});}[_0x51cbaf(0x237)](_0x15be74,_0x2c0ebb){const _0x274da3=_0x51cbaf;var _0x25288e;const _0xa985b1=(_0x25288e=this[_0x274da3(0x2df)][_0x274da3(0x35c)]())==null?void 0x0:_0x25288e[_0x274da3(0x321)];if(!_0xa985b1)return;const _0x4c5ee2=this['_getSheetObject']();if(!_0x4c5ee2)return;this[_0x274da3(0x1e7)]['forEach'](_0x23c703=>{const _0x8fed88=_0x274da3;_0x23c703[_0x8fed88(0x3b4)]();});const {scene:_0x78ba05}=_0x4c5ee2,_0x4218ba=_0x1dca82(Array[_0x274da3(0x19e)](_0x2c0ebb[_0x274da3(0x2ac)]()))[_0x274da3(0x193)](_0x11c306=>{const _0x2ccf8d=_0x274da3,{color:_0x57ea70,range:_0x15ff5e,name:_0x31cd5c,selection:_0x1c71db,sheetID:_0x1a72de}=_0x11c306,{startColumn:_0xba2032,startRow:_0x136e9c,endColumn:_0x36f21c,endRow:_0x453217}=_0x15ff5e,_0x3311e5=_0x4526fb[_0x2ccf8d(0x1f5)](_0x136e9c,_0xba2032,_0x78ba05,_0xa985b1),_0xcd21a5=_0x4526fb[_0x2ccf8d(0x1f5)](_0x453217,_0x36f21c,_0x78ba05,_0xa985b1),{columnHeaderHeightAndMarginTop:_0x45979a}=_0xa985b1,{startX:_0x1ea05d,startY:_0x21b11e}=_0x3311e5,{endX:_0x423f28,endY:_0x53072f}=_0xcd21a5,_0x4df321=_0x423f28-_0x1ea05d,_0x1308b9=_0x53072f-_0x21b11e,_0x13c344={'labelPosition':_0x21b11e-_0x45979a>=_0x47bdd1?'top':_0x2ccf8d(0x1d9),'sheetID':_0x1a72de,'range':_0x15ff5e,'color':_0x57ea70,'name':_0x31cd5c,'selection':_0x1c71db,'left':_0x1ea05d,'top':_0x21b11e,'width':_0x4df321,'height':_0x1308b9,'evented':!0x1,'zIndex':_0x413efd};return new _0x2c9bd8(_0x31cd5c,_0x13c344);});_0x78ba05[_0x274da3(0x286)](_0x4218ba,_0x55eeda),this['_cursors']=new Set(_0x4218ba);}['_removeCollabCursors'](){const _0x2f42cb=_0x51cbaf;var _0x590e28;(_0x590e28=this['_cursors'])==null||_0x590e28[_0x2f42cb(0x124)](_0x7a0919=>_0x7a0919['dispose']());}[_0x51cbaf(0x21d)](){const _0x57b305=_0x51cbaf;return _0x4526fb[_0x57b305(0x1c4)](this['_context']['unit'],this[_0x57b305(0x131)]);}};_0x451cff=_0x167882([_0x1f3ecb(0x1,_0x321c93[_0x51cbaf(0x2d6)](_0x4526fb[_0x51cbaf(0x293)])),_0x1f3ecb(0x2,_0x321c93['Inject'](_0x31bd2a)),_0x1f3ecb(0x3,_0x321c93['Inject'](_0x321c93[_0x51cbaf(0x17e)]))],_0x451cff);function _0x1dca82(_0x318c49){const _0x1d2702=_0x51cbaf,_0x61fe56=new Map();return _0x318c49[_0x1d2702(0x124)](_0xb97f1=>{const _0x122944=_0x1d2702;if(_0x61fe56['has'](_0xb97f1['selection'])){const _0x1d6bf1=_0x61fe56['get'](_0xb97f1[_0x122944(0x25d)]);_0x1d6bf1['name']+=',\x20'+_0xb97f1[_0x122944(0x2a3)];}else _0x61fe56[_0x122944(0x24d)](_0xb97f1['selection'],_0xb97f1);}),Array[_0x1d2702(0x19e)](_0x61fe56[_0x1d2702(0x2ac)]());}var _0x21577b=function(){const _0x384a78=_0x51cbaf;return _0x21577b=Object[_0x384a78(0x1ac)]||function(_0x376a10){const _0x4fe6f1=_0x384a78;for(var _0xa2928,_0x3b3fa9=0x1,_0x407322=arguments[_0x4fe6f1(0x367)];_0x3b3fa9<_0x407322;_0x3b3fa9++){_0xa2928=arguments[_0x3b3fa9];for(var _0x5727ed in _0xa2928)Object[_0x4fe6f1(0x2b8)][_0x4fe6f1(0x272)][_0x4fe6f1(0x235)](_0xa2928,_0x5727ed)&&(_0x376a10[_0x5727ed]=_0xa2928[_0x5727ed]);}return _0x376a10;},_0x21577b['apply'](this,arguments);},_0x587a90=function(_0x2d8693,_0x563c72){const _0x1b9e17=_0x51cbaf;var _0x22b730={};for(var _0x66e12b in _0x2d8693)Object[_0x1b9e17(0x2b8)][_0x1b9e17(0x272)][_0x1b9e17(0x235)](_0x2d8693,_0x66e12b)&&_0x563c72['indexOf'](_0x66e12b)<0x0&&(_0x22b730[_0x66e12b]=_0x2d8693[_0x66e12b]);if(_0x2d8693!=null&&typeof Object[_0x1b9e17(0x3a2)]==_0x1b9e17(0x1a2)){for(var _0x2684c4=0x0,_0x66e12b=Object[_0x1b9e17(0x3a2)](_0x2d8693);_0x2684c4<_0x66e12b[_0x1b9e17(0x367)];_0x2684c4++)_0x563c72[_0x1b9e17(0x2a6)](_0x66e12b[_0x2684c4])<0x0&&Object[_0x1b9e17(0x2b8)]['propertyIsEnumerable']['call'](_0x2d8693,_0x66e12b[_0x2684c4])&&(_0x22b730[_0x66e12b[_0x2684c4]]=_0x2d8693[_0x66e12b[_0x2684c4]]);}return _0x22b730;},_0x37fd8e=_0x8848fe[_0x51cbaf(0x23e)](function(_0x3d0426,_0x72decc){const _0x3a19d0=_0x51cbaf;var _0x2bd0fe=_0x3d0426['icon'],_0x16f46f=_0x3d0426['id'],_0x52341a=_0x3d0426[_0x3a19d0(0x195)],_0x4062fd=_0x3d0426[_0x3a19d0(0x20c)],_0x48c23b=_0x587a90(_0x3d0426,[_0x3a19d0(0x36f),'id',_0x3a19d0(0x195),_0x3a19d0(0x20c)]),_0x569c54=_0x3a19d0(0x2be)['concat'](_0x16f46f,'\x20')['concat'](_0x52341a||'')[_0x3a19d0(0x21b)](),_0x2802ce=_0x8848fe[_0x3a19d0(0x330)]('_'[_0x3a19d0(0x31d)](_0x5d315b()));return _0xc4e7ce(_0x2bd0fe,''['concat'](_0x16f46f),{'defIds':_0x2bd0fe[_0x3a19d0(0x182)],'idSuffix':_0x2802ce[_0x3a19d0(0x1ff)]},_0x21577b({'ref':_0x72decc,'className':_0x569c54},_0x48c23b),_0x4062fd);});function _0xc4e7ce(_0xa837ed,_0x53aa58,_0x34f8f7,_0x5b6418,_0x46a6fc){const _0x108f2e=_0x51cbaf;return _0x8848fe[_0x108f2e(0x2a0)](_0xa837ed[_0x108f2e(0x216)],_0x21577b(_0x21577b({'key':_0x53aa58},_0x3c9aa4(_0xa837ed,_0x34f8f7,_0x46a6fc)),_0x5b6418),(_0x2ca92d(_0xa837ed,_0x34f8f7)['children']||[])[_0x108f2e(0x193)](function(_0x20dc88,_0x4461d5){const _0x5a2d8b=_0x108f2e;return _0xc4e7ce(_0x20dc88,''[_0x5a2d8b(0x31d)](_0x53aa58,'-')[_0x5a2d8b(0x31d)](_0xa837ed[_0x5a2d8b(0x216)],'-')[_0x5a2d8b(0x31d)](_0x4461d5),_0x34f8f7,void 0x0,_0x46a6fc);}));}function _0x3c9aa4(_0x269196,_0x13e0a2,_0x38b257){const _0x5ed736=_0x51cbaf;var _0x4df244=_0x21577b({},_0x269196['attrs']);_0x38b257!=null&&_0x38b257['colorChannel1']&&_0x4df244[_0x5ed736(0x130)]===_0x5ed736(0x250)&&(_0x4df244['fill']=_0x38b257[_0x5ed736(0x250)]),_0x269196['tag']===_0x5ed736(0x2b2)&&_0x4df244['id']&&(_0x4df244['id']=_0x4df244['id']+_0x13e0a2[_0x5ed736(0x2dc)]),Object['entries'](_0x4df244)[_0x5ed736(0x124)](function(_0x57aca3){const _0x32ca34=_0x5ed736;var _0x2f5ca0=_0x57aca3[0x0],_0x285385=_0x57aca3[0x1];_0x2f5ca0===_0x32ca34(0x2b2)&&typeof _0x285385==_0x32ca34(0x289)&&(_0x4df244[_0x2f5ca0]=_0x285385['replace'](/url\(#(.*)\)/,_0x32ca34(0x243)[_0x32ca34(0x31d)](_0x13e0a2[_0x32ca34(0x2dc)],')')));});var _0x47b6c3=_0x13e0a2[_0x5ed736(0x182)];return!_0x47b6c3||_0x47b6c3['length']===0x0||(_0x269196[_0x5ed736(0x216)]==='use'&&_0x4df244[_0x5ed736(0x3a6)]&&(_0x4df244[_0x5ed736(0x3a6)]=_0x4df244[_0x5ed736(0x3a6)]+_0x13e0a2[_0x5ed736(0x2dc)]),Object[_0x5ed736(0x263)](_0x4df244)[_0x5ed736(0x124)](function(_0x51a46b){const _0x976858=_0x5ed736;var _0xc7b292=_0x51a46b[0x0],_0x5b6830=_0x51a46b[0x1];typeof _0x5b6830==_0x976858(0x289)&&(_0x4df244[_0xc7b292]=_0x5b6830[_0x976858(0x2ee)](/url\(#(.*)\)/,_0x976858(0x243)[_0x976858(0x31d)](_0x13e0a2['idSuffix'],')')));})),_0x4df244;}function _0x2ca92d(_0x3bb482,_0x302b4f){const _0x277bf8=_0x51cbaf;var _0x177a74,_0x34519e=_0x302b4f[_0x277bf8(0x182)];return!_0x34519e||_0x34519e['length']===0x0?_0x3bb482:_0x3bb482[_0x277bf8(0x216)]===_0x277bf8(0x2b1)&&(!((_0x177a74=_0x3bb482['children'])===null||_0x177a74===void 0x0)&&_0x177a74[_0x277bf8(0x367)])?_0x21577b(_0x21577b({},_0x3bb482),{'children':_0x3bb482[_0x277bf8(0x2c2)][_0x277bf8(0x193)](function(_0x47addf){const _0x1d3740=_0x277bf8;return typeof _0x47addf[_0x1d3740(0x1af)]['id']==_0x1d3740(0x289)&&_0x34519e&&_0x34519e[_0x1d3740(0x2a6)](_0x47addf[_0x1d3740(0x1af)]['id'])>-0x1?_0x21577b(_0x21577b({},_0x47addf),{'attrs':_0x21577b(_0x21577b({},_0x47addf[_0x1d3740(0x1af)]),{'id':_0x47addf[_0x1d3740(0x1af)]['id']+_0x302b4f['idSuffix']})}):_0x47addf;})}):_0x3bb482;}function _0x5d315b(){const _0x213337=_0x51cbaf;return Math[_0x213337(0x31e)]()[_0x213337(0x1c0)](0x24)[_0x213337(0x225)](0x2,0x8);}_0x37fd8e[_0x51cbaf(0x22b)]='UniverIcon';var _0x1cd7ca={'tag':'svg','attrs':{'fill':'none','viewBox':_0x51cbaf(0x370),'width':'1em','height':_0x51cbaf(0x143)},'children':[{'tag':'g','attrs':{'clipPath':_0x51cbaf(0x22a)},'children':[{'tag':_0x51cbaf(0x1d0),'attrs':{'stroke':_0x51cbaf(0x126),'d':_0x51cbaf(0x382),'strokeLinecap':_0x51cbaf(0x3a4),'strokeLinejoin':_0x51cbaf(0x3a4),'strokeWidth':1.2}}]},{'tag':_0x51cbaf(0x2b1),'attrs':{},'children':[{'tag':_0x51cbaf(0x266),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x51cbaf(0x1fb),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x51cbaf(0x2d5)]},_0x361015=_0x8848fe['forwardRef'](function(_0x285a48,_0x4915c4){const _0x5c30e4=_0x51cbaf;return _0x8848fe[_0x5c30e4(0x2a0)](_0x37fd8e,Object[_0x5c30e4(0x1ac)]({},_0x285a48,{'id':'off-line-single','ref':_0x4915c4,'icon':_0x1cd7ca}));});_0x361015['displayName']=_0x51cbaf(0x165);var _0x31bc57={'tag':_0x51cbaf(0x1d2),'attrs':{'fill':_0x51cbaf(0x356),'viewBox':_0x51cbaf(0x1ba),'width':_0x51cbaf(0x143),'height':_0x51cbaf(0x143)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x51cbaf(0x1d0),'attrs':{'stroke':_0x51cbaf(0x126),'d':_0x51cbaf(0x18c),'strokeLinecap':_0x51cbaf(0x3a4),'strokeLinejoin':_0x51cbaf(0x3a4),'strokeWidth':1.2}}]},{'tag':_0x51cbaf(0x2b1),'attrs':{},'children':[{'tag':_0x51cbaf(0x266),'attrs':{'id':_0x51cbaf(0x149)},'children':[{'tag':_0x51cbaf(0x1d0),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x51cbaf(0x2af)}}]}]}],'defIds':[_0x51cbaf(0x149)]},_0x33766d=_0x8848fe['forwardRef'](function(_0x33c629,_0x2046e7){const _0x38fab0=_0x51cbaf;return _0x8848fe[_0x38fab0(0x2a0)](_0x37fd8e,Object[_0x38fab0(0x1ac)]({},_0x33c629,{'id':_0x38fab0(0x1b9),'ref':_0x2046e7,'icon':_0x31bc57}));});_0x33766d[_0x51cbaf(0x22b)]=_0x51cbaf(0x331);function _0x1415ca(_0x1b6297){const _0x111e14=_0x51cbaf;switch(_0x1b6297){case _0x3d13ea['CollaborationStatus'][_0x111e14(0x249)]:return'collabStatus.offline';case _0x3d13ea[_0x111e14(0x36a)]['CONFLICT']:return _0x111e14(0x2e5);case _0x3d13ea[_0x111e14(0x36a)][_0x111e14(0x377)]:return _0x111e14(0x312);case _0x3d13ea[_0x111e14(0x36a)][_0x111e14(0x267)]:return'collabStatus.notCollab';case _0x3d13ea[_0x111e14(0x36a)]['AWAITING']:case _0x3d13ea[_0x111e14(0x36a)]['AWAITING_WITH_PENDING']:return _0x111e14(0x12c);case _0x3d13ea[_0x111e14(0x36a)]['SYNCED']:case _0x3d13ea[_0x111e14(0x36a)][_0x111e14(0x2a2)]:return'collabStatus.synced';}}function _0x5a94a0(_0x932898){const _0x270f3c=_0x51cbaf,{status$:_0x5de3e3}=_0x932898,_0x54cd50=_0x3d72cc[_0x270f3c(0x275)](_0x5de3e3,_0x3d13ea[_0x270f3c(0x36a)][_0x270f3c(0x267)]),_0x32cecd=_0x3d72cc[_0x270f3c(0x1b1)](_0x321c93[_0x270f3c(0x13b)]),_0x18e472=_0x3d72cc['useDependency'](_0x3d13ea['CollaborationSessionService']),_0x5bf4ca=_0x54cd50!==_0x3d13ea['CollaborationStatus']['OFFLINE'],_0x4b047f=_0x32cecd['t'](_0x1415ca(_0x54cd50)),_0x13516e=_0x5bf4ca?_0x1c0b83[_0x270f3c(0x333)](_0x33766d,{}):_0x1c0b83['jsx'](_0x361015,{}),_0x3647aa=_0x8848fe[_0x270f3c(0x1db)](()=>{const _0x2d331b=_0x270f3c;_0x5bf4ca||_0x18e472[_0x2d331b(0x335)]();},[_0x5bf4ca,_0x18e472]);function _0x2e5d53(){const _0x421e97=_0x270f3c;return _0x1c0b83[_0x421e97(0x1e9)](_0x421e97(0x20e),{'className':'univer-flex\x20univer-items-center','onClick':_0x3647aa,'children':[_0x1c0b83[_0x421e97(0x333)](_0x421e97(0x20e),{'className':_0x5db293[_0x421e97(0x2d4)](_0x421e97(0x16d),{'univer-text-green-500':_0x5bf4ca,'univer-text-red-500':!_0x5bf4ca}),'children':_0x13516e}),_0x1c0b83['jsx'](_0x421e97(0x20e),{'className':_0x421e97(0x398),'children':_0x4b047f})]});}return _0x5bf4ca?_0x2e5d53():_0x1c0b83[_0x270f3c(0x333)](_0x5db293[_0x270f3c(0x1d8)],{'title':_0x32cecd['t'](_0x270f3c(0x1e0)),'children':_0x2e5d53()});}var _0x42b029=Object[_0x51cbaf(0x202)],_0x170816=(_0xc7ea6b,_0x4c3d0,_0x49c7e1,_0x3c1cef)=>{for(var _0x51f11c=_0x3c1cef>0x1?void 0x0:_0x3c1cef?_0x42b029(_0x4c3d0,_0x49c7e1):_0x4c3d0,_0x135805=_0xc7ea6b['length']-0x1,_0x152d3d;_0x135805>=0x0;_0x135805--)(_0x152d3d=_0xc7ea6b[_0x135805])&&(_0x51f11c=_0x152d3d(_0x51f11c)||_0x51f11c);return _0x51f11c;},_0x3b8db8=(_0x9005c2,_0x2e3e35)=>(_0x10c1b6,_0x18358)=>_0x2e3e35(_0x10c1b6,_0x18358,_0x9005c2);_0x4cc1af['DesktopCollaborationStatusDisplayController']=class extends _0x321c93[_0x51cbaf(0x18d)]{constructor(_0x16fc3d,_0xd5366f,_0x34540a,_0x3d0038){const _0x2534e6=_0x51cbaf;super(),_0x34d45d(this,'_status$',new _0x5072b9['BehaviorSubject'](_0x3d13ea[_0x2534e6(0x36a)][_0x2534e6(0x267)])),(this[_0x2534e6(0x297)]=_0x16fc3d,this[_0x2534e6(0x393)]=_0xd5366f,this['_collaborationController']=_0x34540a,this['_uiPartsService']=_0x3d0038,this[_0x2534e6(0x2ca)](),this[_0x2534e6(0x21f)]());}['_initStatusListener'](){const _0x48b303=_0x51cbaf;this[_0x48b303(0x28d)](this['_univerInstanceService'][_0x48b303(0x1e1)]['pipe'](_0x5072b9[_0x48b303(0x14a)](()=>{const _0x4a7b66=_0x48b303,_0x491a56=this[_0x4a7b66(0x297)][_0x4a7b66(0x20f)]();return _0x491a56?this['_collaborationController'][_0x4a7b66(0x2d3)](_0x491a56[_0x4a7b66(0x198)]()):_0x5072b9['of'](null);}),_0x5072b9[_0x48b303(0x14a)](_0x1f1c65=>_0x1f1c65?_0x1f1c65[_0x48b303(0x306)]:_0x5072b9['of'](_0x3d13ea[_0x48b303(0x36a)][_0x48b303(0x267)])))[_0x48b303(0x12f)](_0x2c3691=>{const _0x6277c5=_0x48b303;this[_0x6277c5(0x12b)][_0x6277c5(0x15b)](_0x2c3691);}));}[_0x51cbaf(0x2ca)](){const _0x350561=_0x51cbaf;this[_0x350561(0x28d)](this[_0x350561(0x282)][_0x350561(0x342)](_0x3d72cc[_0x350561(0x15c)][_0x350561(0x13c)],()=>_0x3d72cc[_0x350561(0x227)](_0x5d81cb({'status$':this[_0x350561(0x12b)][_0x350561(0x337)]()}),this[_0x350561(0x393)])));}},_0x4cc1af[_0x51cbaf(0x305)]=_0x170816([_0x3b8db8(0x0,_0x321c93['IUniverInstanceService']),_0x3b8db8(0x1,_0x321c93[_0x51cbaf(0x2d6)](_0x321c93['Injector'])),_0x3b8db8(0x2,_0x321c93[_0x51cbaf(0x2d6)](_0x3d13ea[_0x51cbaf(0x3aa)])),_0x3b8db8(0x3,_0x3d72cc[_0x51cbaf(0x19a)])],_0x4cc1af[_0x51cbaf(0x305)]);function _0x5d81cb(_0x429cb8){const {status$:_0x509a08}=_0x429cb8;return function(){const _0x26b1a6=_0x2584;return _0x1c0b83[_0x26b1a6(0x333)](_0x5a94a0,{'status$':_0x509a08});};}var _0xb123e4=Object[_0x51cbaf(0x202)],_0x49c9c7=(_0x261791,_0x5ac968,_0x4e2946,_0x162d3a)=>{const _0x48a62b=_0x51cbaf;for(var _0x1ded9f=_0x162d3a>0x1?void 0x0:_0x162d3a?_0xb123e4(_0x5ac968,_0x4e2946):_0x5ac968,_0x3d8fee=_0x261791[_0x48a62b(0x367)]-0x1,_0x5e2233;_0x3d8fee>=0x0;_0x3d8fee--)(_0x5e2233=_0x261791[_0x3d8fee])&&(_0x1ded9f=_0x5e2233(_0x1ded9f)||_0x1ded9f);return _0x1ded9f;},_0x2bb60a=(_0x8ae459,_0x566c33)=>(_0x3a7ad4,_0x50608b)=>_0x566c33(_0x3a7ad4,_0x50608b,_0x8ae459);let _0x37dd51=class extends _0x321c93[_0x51cbaf(0x18d)]{constructor(_0xf8bd48,_0x351547,_0x1f7897,_0x1d2594,_0x87e1a1,_0x30b3ef){const _0x40a581=_0x51cbaf;super(),this[_0x40a581(0x173)]=_0xf8bd48,this[_0x40a581(0x2ab)]=_0x351547,this[_0x40a581(0x1f3)]=_0x1f7897,this[_0x40a581(0x1a4)]=_0x1d2594,this[_0x40a581(0x2ef)]=_0x87e1a1,this[_0x40a581(0x1ee)]=_0x30b3ef,this[_0x40a581(0x1fc)](),this[_0x40a581(0x2ec)]();}[_0x51cbaf(0x1fc)](){const _0x2fae10=_0x51cbaf;this['disposeWithMe'](this[_0x2fae10(0x173)][_0x2fae10(0x2ea)](()=>{const _0x575c72=_0x2fae10;if(this[_0x575c72(0x2ab)][_0x575c72(0x33a)][_0x575c72(0x30e)])return this[_0x575c72(0x1ee)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x51cbaf(0x2ec)](){const _0x45d5fc=_0x51cbaf;this[_0x45d5fc(0x28d)](this[_0x45d5fc(0x1f3)][_0x45d5fc(0x1c8)][_0x45d5fc(0x12f)](_0x403c3d=>{const _0x18e127=_0x45d5fc;_0x403c3d['id']===_0x3d13ea[_0x18e127(0x37b)][_0x18e127(0x291)]&&this[_0x18e127(0x1a4)]['show']({'type':_0x5db293[_0x18e127(0x2f4)][_0x18e127(0x36b)],'content':this[_0x18e127(0x1ee)]['t'](_0x18e127(0x175))}),_0x403c3d['id']===_0x3d13ea[_0x18e127(0x37b)][_0x18e127(0x31a)]&&this['_messageService']['show']({'type':_0x5db293[_0x18e127(0x2f4)]['Warning'],'content':this[_0x18e127(0x1ee)]['t'](_0x18e127(0x19d))}),_0x403c3d['id']===_0x3d13ea['CollaborationUIEventId'][_0x18e127(0x219)]&&this[_0x18e127(0x2ef)][_0x18e127(0x31f)]({'title':this[_0x18e127(0x1ee)]['t'](_0x18e127(0x349)),'content':this[_0x18e127(0x1ee)]['t'](_0x18e127(0x38b)),'type':'error','duration':0x0}),_0x403c3d['id']===_0x3d13ea['CollaborationUIEventId']['CONFLICT']&&this['_messageService'][_0x18e127(0x31f)]({'type':_0x5db293['MessageType'][_0x18e127(0x2c6)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x403c3d[_0x18e127(0x2aa)]+')'}),_0x403c3d['id']===_0x3d13ea['CollaborationUIEventId'][_0x18e127(0x2fd)]&&this[_0x18e127(0x1a4)][_0x18e127(0x31f)]({'type':_0x5db293['MessageType'][_0x18e127(0x36b)],'content':this[_0x18e127(0x1ee)]['t'](_0x403c3d[_0x18e127(0x2aa)]||'')}),_0x403c3d['id']===_0x3d13ea[_0x18e127(0x37b)][_0x18e127(0x277)]&&this[_0x18e127(0x1a4)]['show']({'type':_0x5db293[_0x18e127(0x2f4)][_0x18e127(0x36b)],'content':this[_0x18e127(0x1ee)]['t']('session.will-retry')}),_0x403c3d['id']===_0x3d13ea[_0x18e127(0x37b)][_0x18e127(0x37e)]&&this[_0x18e127(0x1a4)][_0x18e127(0x31f)]({'type':_0x5db293['MessageType'][_0x18e127(0x2c6)],'content':this['_localeService']['t'](_0x18e127(0x37a))}),_0x403c3d['id']===_0x3d13ea[_0x18e127(0x37b)][_0x18e127(0x138)]&&this[_0x18e127(0x1a4)][_0x18e127(0x31f)]({'type':_0x5db293[_0x18e127(0x2f4)][_0x18e127(0x2c6)],'content':this[_0x18e127(0x1ee)]['t'](_0x18e127(0x1a7))});}));}};_0x37dd51=_0x49c9c7([_0x2bb60a(0x0,_0x3d72cc[_0x51cbaf(0x2b9)]),_0x2bb60a(0x1,_0x3d13ea['ILocalCacheService']),_0x2bb60a(0x2,_0x321c93[_0x51cbaf(0x2d6)](_0x3d13ea[_0x51cbaf(0x162)])),_0x2bb60a(0x3,_0x3d72cc[_0x51cbaf(0x269)]),_0x2bb60a(0x4,_0x3d72cc['INotificationService']),_0x2bb60a(0x5,_0x321c93[_0x51cbaf(0x2d6)](_0x321c93[_0x51cbaf(0x13b)]))],_0x37dd51);const _0x9182b5=_0x51cbaf(0x24b),_0x5c5637={},_0x227084=_0x321c93['createIdentifier'](_0x51cbaf(0x240));var _0x297890=Object[_0x51cbaf(0x202)],_0x13a474=(_0x449c66,_0x1bc07b,_0x1bbdf2,_0x5a63d0)=>{const _0x1e7f76=_0x51cbaf;for(var _0x38b2f2=_0x5a63d0>0x1?void 0x0:_0x5a63d0?_0x297890(_0x1bc07b,_0x1bbdf2):_0x1bc07b,_0x502bd6=_0x449c66[_0x1e7f76(0x367)]-0x1,_0x35a9cd;_0x502bd6>=0x0;_0x502bd6--)(_0x35a9cd=_0x449c66[_0x502bd6])&&(_0x38b2f2=_0x35a9cd(_0x38b2f2)||_0x38b2f2);return _0x38b2f2;},_0x4abd8d=(_0x41708c,_0x49522c)=>(_0x1a0dd3,_0x2555fc)=>_0x49522c(_0x1a0dd3,_0x2555fc,_0x41708c);_0x4cc1af[_0x51cbaf(0x2da)]=class extends _0x321c93[_0x51cbaf(0x37f)]{constructor(_0x134c55,_0x13cead,_0x8fe42a,_0x5e3980,_0x43d165){const _0x188258=_0x51cbaf;super(),this[_0x188258(0x203)]=_0x134c55,this['_logService']=_0x13cead,this[_0x188258(0x1f8)]=_0x8fe42a,this['_dataLoaderService']=_0x5e3980,_0x43d165?_0x43d165==null||_0x43d165[_0x188258(0x22f)]()[_0x188258(0x134)](()=>this[_0x188258(0x3a5)]()):(this['_logService'][_0x188258(0x24a)](_0x188258(0x273),_0x188258(0x1b2)),this['_init']());}async[_0x51cbaf(0x3a5)](){const _0x195cea=_0x51cbaf,_0x8126a3=this[_0x195cea(0x203)][_0x195cea(0x2f2)](_0x195cea(0x23f)),_0x3a5185=this[_0x195cea(0x203)][_0x195cea(0x2f2)]('type'),_0x13da1a=this[_0x195cea(0x203)][_0x195cea(0x2f2)]('subunit');if(!_0x8126a3||!_0x3a5185){this[_0x195cea(0x19c)]['debug'](_0x195cea(0x273),_0x195cea(0x2ed));return;}const _0x213312=await this[_0x195cea(0x354)]['loadUnit'](_0x8126a3,Number(_0x3a5185),_0x13da1a);_0x213312&&_0x213312 instanceof _0x321c93[_0x195cea(0x1c9)]&&this[_0x195cea(0x1b7)](_0x213312);}async[_0x51cbaf(0x1b7)](_0x13ca28){const _0x2a8e81=_0x51cbaf;await this[_0x2a8e81(0x21c)](_0x13ca28),_0x13ca28[_0x2a8e81(0x302)][_0x2a8e81(0x2dd)](_0x5072b9['takeUntil'](this['dispose$']))[_0x2a8e81(0x12f)](_0x48dd39=>{_0x48dd39&&this['_updateURLWithCurrentState'](_0x48dd39);}),this[_0x2a8e81(0x203)][_0x2a8e81(0x2e6)][_0x2a8e81(0x2dd)](_0x5072b9['takeUntil'](this[_0x2a8e81(0x1df)]))[_0x2a8e81(0x12f)](()=>this[_0x2a8e81(0x21c)](_0x13ca28));}[_0x51cbaf(0x357)](_0x443bda,_0xe6403b=!0x1){const _0x274b82=_0x51cbaf,_0x5a3944=this[_0x274b82(0x203)][_0x274b82(0x2f2)]('subunit');_0x443bda[_0x274b82(0x1a9)]()!==_0x5a3944&&this[_0x274b82(0x203)]['setParam'](_0x274b82(0x2e9),_0x443bda[_0x274b82(0x1a9)](),_0xe6403b);}async[_0x51cbaf(0x21c)](_0x10fe49){const _0x249e5f=_0x51cbaf;var _0x1eccd7;const _0x38027b=this['_urlService'][_0x249e5f(0x2f2)](_0x249e5f(0x2e9));if(!_0x38027b||!_0x10fe49['getSheetBySheetId'](_0x38027b)){const _0x25480f=_0x10fe49['getUnhiddenWorksheets']()[0x0],_0x16dc3d=_0x10fe49[_0x249e5f(0x2bd)](_0x25480f);if(!_0x16dc3d)return;this[_0x249e5f(0x357)](_0x16dc3d,!0x0),await this['_commandService'][_0x249e5f(0x1bd)](_0x16544f[_0x249e5f(0x332)]['id'],{'unitId':_0x10fe49[_0x249e5f(0x198)](),'subUnitId':_0x25480f});return;}((_0x1eccd7=_0x10fe49['getActiveSheet']())==null?void 0x0:_0x1eccd7[_0x249e5f(0x1a9)]())!==_0x38027b&&await this[_0x249e5f(0x1f8)]['executeCommand'](_0x16544f['SetWorksheetActivateCommand']['id'],{'unitId':_0x10fe49['getUnitId'](),'subUnitId':_0x38027b});}},_0x4cc1af[_0x51cbaf(0x2da)]=_0x13a474([_0x4abd8d(0x0,_0x227084),_0x4abd8d(0x1,_0x321c93[_0x51cbaf(0x313)]),_0x4abd8d(0x2,_0x321c93[_0x51cbaf(0x25c)]),_0x4abd8d(0x3,_0x321c93['Inject'](_0x3d13ea[_0x51cbaf(0x32d)])),_0x4abd8d(0x4,_0x321c93[_0x51cbaf(0x346)](_0x1912b6['IRemoteInstanceService']))],_0x4cc1af[_0x51cbaf(0x2da)]);var _0x4fc03e=Object[_0x51cbaf(0x202)],_0x446360=(_0x294aad,_0x21a278,_0x23405a,_0x4c384f)=>{const _0x22d6cb=_0x51cbaf;for(var _0x3ab338=_0x4c384f>0x1?void 0x0:_0x4c384f?_0x4fc03e(_0x21a278,_0x23405a):_0x21a278,_0x594892=_0x294aad[_0x22d6cb(0x367)]-0x1,_0x1fc795;_0x594892>=0x0;_0x594892--)(_0x1fc795=_0x294aad[_0x594892])&&(_0x3ab338=_0x1fc795(_0x3ab338)||_0x3ab338);return _0x3ab338;},_0xa5960e=(_0x517138,_0x124881)=>(_0x5e04a9,_0x3e19e9)=>_0x124881(_0x5e04a9,_0x3e19e9,_0x517138);let _0x366734=class{constructor(_0x2569cc,_0x4daaf3,_0x5ca6e6){const _0xe0a8ab=_0x51cbaf;this[_0xe0a8ab(0x393)]=_0x2569cc,this[_0xe0a8ab(0x1de)]=_0x4daaf3,this[_0xe0a8ab(0x32e)]=_0x5ca6e6;}[_0x51cbaf(0x185)](_0x2c9887){const _0x1f3c64=_0x51cbaf;this[_0x1f3c64(0x33e)](_0x2c9887),this[_0x1f3c64(0x280)](_0x2c9887);}[_0x51cbaf(0x328)](_0x2263a0){const _0xbcd70e=_0x51cbaf,{unitID:_0x29fa03}=_0x2263a0,_0x5d9606=this[_0xbcd70e(0x32e)]['getRenderById'](_0x29fa03)[_0xbcd70e(0x2b4)](_0x21bba4[_0xbcd70e(0x1e8)]),{redoCache:_0x341966}=_0x5d9606[_0xbcd70e(0x299)]();if(_0x341966[_0xbcd70e(0x367)]===0x0)return _0x2263a0;let _0x478a13=_0x321c93[_0xbcd70e(0x2f5)][_0xbcd70e(0x222)](_0x2263a0[_0xbcd70e(0x213)][0x0]);for(let _0x29d460=0x0;_0x29d460<_0x341966[_0xbcd70e(0x367)];_0x29d460++){const _0x2d14ba={'id':_0xbcd70e(0x350),'params':{..._0x341966[_0x29d460]}},_0x5ea1b3=this[_0xbcd70e(0x1de)][_0xbcd70e(0x136)](_0x478a13,_0x2d14ba,!0x1);if(_0x2daa7a[_0xbcd70e(0x1d3)](_0x5ea1b3))throw _0x5ea1b3[_0xbcd70e(0x327)];_0x478a13=_0x5ea1b3['m1Prime'];}return{..._0x321c93['Tools'][_0xbcd70e(0x222)](_0x2263a0),'mutations':[_0x478a13]};}['_transformUndoRedoStack'](_0x182974){const _0x1a32ab=_0x51cbaf,{unitID:_0x1d7797}=_0x182974,_0x1b987a=this[_0x1a32ab(0x32e)][_0x1a32ab(0x1b8)](_0x1d7797)[_0x1a32ab(0x2b4)](_0x21bba4[_0x1a32ab(0x1e8)]),{undoCache:_0x16f7ff,redoCache:_0x2cb2ff}=_0x1b987a[_0x1a32ab(0x299)]();if(_0x16f7ff[_0x1a32ab(0x367)]===0x0||_0x2cb2ff[_0x1a32ab(0x367)]===0x0)return;const _0xac8b61=[],_0x74fb25=[];let _0x30d869=_0x321c93[_0x1a32ab(0x2f5)]['deepClone'](_0x182974['mutations'][0x0]),_0x17838a=_0x321c93['Tools']['deepClone'](_0x182974[_0x1a32ab(0x213)][0x0]);for(let _0x55bf6d=_0x16f7ff['length']-0x1;_0x55bf6d>=0x0;_0x55bf6d--){const _0x1cc7c5={'id':_0x1a32ab(0x350),'params':{..._0x16f7ff[_0x55bf6d]}},_0x10b4a4={'id':_0x1a32ab(0x350),'params':{..._0x2cb2ff[_0x55bf6d]}},_0x4fa348=this[_0x1a32ab(0x1de)]['transformMutation'](_0x30d869,_0x1cc7c5,!0x1),_0x52ac74=this[_0x1a32ab(0x1de)][_0x1a32ab(0x136)](_0x17838a,_0x10b4a4,!0x1);if(_0x2daa7a['isTransformMutationFailure'](_0x4fa348))throw _0x4fa348[_0x1a32ab(0x327)];if(_0x2daa7a[_0x1a32ab(0x1d3)](_0x52ac74))throw _0x52ac74['error'];_0xac8b61['unshift'](_0x4fa348[_0x1a32ab(0x285)][_0x1a32ab(0x1ca)]),_0x74fb25[_0x1a32ab(0x36e)](_0x52ac74['m2Prime']['params']),_0x30d869=_0x4fa348['m1Prime'],_0x17838a=_0x52ac74[_0x1a32ab(0x194)];}_0x1b987a['setUndoRedoMutationParamsCache']({'undoCache':_0xac8b61,'redoCache':_0x74fb25});}['_transformPreviousActiveRange'](_0x91b377){const _0x35f0db=_0x51cbaf,{unitID:_0x31f307}=_0x91b377,_0x1d9bbb=this[_0x35f0db(0x32e)]['getRenderById'](_0x31f307)['with'](_0x21bba4['DocIMEInputManagerService']),_0x19285d=_0x1d9bbb[_0x35f0db(0x2e4)]();if(_0x19285d==null)return;const _0x2c92d4=[{'id':_0x35f0db(0x350),'params':{'unitId':_0x91b377[_0x35f0db(0x2f6)],'actions':null,'textRanges':[_0x19285d]}}],_0x1748a6=this[_0x35f0db(0x1de)][_0x35f0db(0x2a9)](_0x91b377,_0x2c92d4);if(!_0x2daa7a[_0x35f0db(0x2e0)](_0x1748a6))throw _0x1748a6['error'];const _0x51603f=_0x1748a6[_0x35f0db(0x285)][0x0][_0x35f0db(0x1ca)][_0x35f0db(0x157)];Array[_0x35f0db(0x1b5)](_0x51603f)&&_0x51603f[_0x35f0db(0x367)]&&_0x1d9bbb[_0x35f0db(0x361)](_0x51603f[0x0]);}};_0x366734=_0x446360([_0xa5960e(0x0,_0x321c93[_0x51cbaf(0x2d6)](_0x321c93[_0x51cbaf(0x391)])),_0xa5960e(0x1,_0x2daa7a['ITransformService']),_0xa5960e(0x2,_0x3f844e[_0x51cbaf(0x3bd)])],_0x366734);var _0x23b778=Object[_0x51cbaf(0x202)],_0x321401=(_0x27a916,_0x2a29c3,_0x268cd3,_0x131259)=>{const _0x59f1b0=_0x51cbaf;for(var _0x1d0319=_0x131259>0x1?void 0x0:_0x131259?_0x23b778(_0x2a29c3,_0x268cd3):_0x2a29c3,_0x14798b=_0x27a916[_0x59f1b0(0x367)]-0x1,_0xb1988;_0x14798b>=0x0;_0x14798b--)(_0xb1988=_0x27a916[_0x14798b])&&(_0x1d0319=_0xb1988(_0x1d0319)||_0x1d0319);return _0x1d0319;},_0x5483e2=(_0xc176ac,_0xedcc20)=>(_0x3ab059,_0x46d6fc)=>_0xedcc20(_0x3ab059,_0x46d6fc,_0xc176ac);let _0x5c86ae=class{constructor(_0x9e6aa4,_0x381c70,_0x53a5d3){const _0x14e130=_0x51cbaf;this['_injector']=_0x9e6aa4,this[_0x14e130(0x1de)]=_0x381c70,this[_0x14e130(0x247)]=_0x53a5d3;}[_0x51cbaf(0x371)](_0x49d1fe){const _0x5d04a9=_0x51cbaf;this[_0x5d04a9(0x359)](_0x49d1fe);}['transformRemoteChangeset'](_0x28a0b6){const _0x3c6441=_0x51cbaf,{unitID:_0x181f9a}=_0x28a0b6,{collaboration:_0x3d0b57}=this['_docStateChangeManagerService'][_0x3c6441(0x376)](_0x181f9a);if(_0x3d0b57[_0x3c6441(0x367)]===0x0)return _0x28a0b6;let _0x37d826=_0x321c93[_0x3c6441(0x2f5)][_0x3c6441(0x222)](_0x28a0b6[_0x3c6441(0x213)][0x0]);for(let _0x335fd4=0x0;_0x335fd4<_0x3d0b57[_0x3c6441(0x367)];_0x335fd4++){const _0x1c0b21={'id':_0x3c6441(0x350),'params':{'unitId':_0x3d0b57[_0x335fd4][_0x3c6441(0x254)],..._0x3d0b57[_0x335fd4][_0x3c6441(0x135)]}},_0x167afc=this[_0x3c6441(0x1de)][_0x3c6441(0x136)](_0x37d826,_0x1c0b21,!0x1);if(_0x2daa7a['isTransformMutationFailure'](_0x167afc))throw _0x167afc[_0x3c6441(0x327)];_0x37d826=_0x167afc[_0x3c6441(0x194)];}return{..._0x321c93[_0x3c6441(0x2f5)][_0x3c6441(0x222)](_0x28a0b6),'mutations':[_0x37d826]};}[_0x51cbaf(0x359)](_0x339406){const _0x58e5d4=_0x51cbaf,{unitID:_0x24e093}=_0x339406,{history:_0x3b99b0,collaboration:_0x3c3c4a}=this[_0x58e5d4(0x247)][_0x58e5d4(0x376)](_0x24e093);if(_0x3b99b0[_0x58e5d4(0x367)]===0x0&&_0x3c3c4a[_0x58e5d4(0x367)]===0x0)return;const _0x13004b=[],_0x355392=[];let _0x1a9a22=_0x321c93[_0x58e5d4(0x2f5)][_0x58e5d4(0x222)](_0x339406[_0x58e5d4(0x213)][0x0]),_0x12bb79=_0x321c93['Tools']['deepClone'](_0x339406[_0x58e5d4(0x213)][0x0]);for(let _0x692089=_0x3b99b0[_0x58e5d4(0x367)]-0x1;_0x692089>=0x0;_0x692089--){const _0x1984dd={'id':_0x58e5d4(0x350),'params':{'unitId':_0x3b99b0[_0x692089][_0x58e5d4(0x254)],..._0x3b99b0[_0x692089][_0x58e5d4(0x1b3)]}},_0x453f12={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3b99b0[_0x692089][_0x58e5d4(0x254)],..._0x3b99b0[_0x692089][_0x58e5d4(0x135)]}},_0x13b8b1=this[_0x58e5d4(0x1de)][_0x58e5d4(0x136)](_0x1a9a22,_0x1984dd,!0x1),_0x5e5d8e=this[_0x58e5d4(0x1de)]['transformMutation'](_0x12bb79,_0x453f12,!0x1);if(_0x2daa7a['isTransformMutationFailure'](_0x13b8b1))throw _0x13b8b1['error'];if(_0x2daa7a['isTransformMutationFailure'](_0x5e5d8e))throw _0x5e5d8e['error'];_0x13004b[_0x58e5d4(0x36e)]({..._0x3b99b0[_0x692089],'undoState':_0x13b8b1[_0x58e5d4(0x285)][_0x58e5d4(0x1ca)],'redoState':_0x5e5d8e[_0x58e5d4(0x285)][_0x58e5d4(0x1ca)]}),_0x1a9a22=_0x13b8b1[_0x58e5d4(0x194)],_0x12bb79=_0x5e5d8e[_0x58e5d4(0x194)];}_0x1a9a22=_0x321c93['Tools']['deepClone'](_0x339406[_0x58e5d4(0x213)][0x0]),_0x12bb79=_0x321c93[_0x58e5d4(0x2f5)]['deepClone'](_0x339406['mutations'][0x0]);for(let _0x15be7a=_0x3c3c4a['length']-0x1;_0x15be7a>=0x0;_0x15be7a--){const _0x9dcfad={'id':_0x58e5d4(0x350),'params':{'unitId':_0x3c3c4a[_0x15be7a][_0x58e5d4(0x254)],..._0x3c3c4a[_0x15be7a][_0x58e5d4(0x1b3)]}},_0x34ab9a={'id':_0x58e5d4(0x350),'params':{'unitId':_0x3c3c4a[_0x15be7a][_0x58e5d4(0x254)],..._0x3c3c4a[_0x15be7a][_0x58e5d4(0x135)]}},_0x51bba2=this[_0x58e5d4(0x1de)]['transformMutation'](_0x1a9a22,_0x9dcfad,!0x1),_0xedea65=this[_0x58e5d4(0x1de)][_0x58e5d4(0x136)](_0x12bb79,_0x34ab9a,!0x1);if(_0x2daa7a[_0x58e5d4(0x1d3)](_0x51bba2))throw _0x51bba2[_0x58e5d4(0x327)];if(_0x2daa7a[_0x58e5d4(0x1d3)](_0xedea65))throw _0xedea65['error'];_0x355392['unshift']({..._0x3c3c4a[_0x15be7a],'undoState':_0x51bba2[_0x58e5d4(0x285)][_0x58e5d4(0x1ca)],'redoState':_0xedea65['m2Prime'][_0x58e5d4(0x1ca)]}),_0x1a9a22=_0x51bba2[_0x58e5d4(0x194)],_0x12bb79=_0xedea65[_0x58e5d4(0x194)];}this['_docStateChangeManagerService'][_0x58e5d4(0x292)](_0x24e093,{'history':_0x13004b,'collaboration':_0x355392});}};_0x5c86ae=_0x321401([_0x5483e2(0x0,_0x321c93[_0x51cbaf(0x2d6)](_0x321c93[_0x51cbaf(0x391)])),_0x5483e2(0x1,_0x2daa7a[_0x51cbaf(0x33f)]),_0x5483e2(0x2,_0x321c93[_0x51cbaf(0x2d6)](_0x21bba4[_0x51cbaf(0x378)]))],_0x5c86ae);var _0x452eb7=Object[_0x51cbaf(0x202)],_0x3715f2=(_0x33308b,_0x2674ce,_0x5067b9,_0x6f14ed)=>{const _0x4a47dc=_0x51cbaf;for(var _0x563b96=_0x6f14ed>0x1?void 0x0:_0x6f14ed?_0x452eb7(_0x2674ce,_0x5067b9):_0x2674ce,_0x19c919=_0x33308b[_0x4a47dc(0x367)]-0x1,_0x182512;_0x19c919>=0x0;_0x19c919--)(_0x182512=_0x33308b[_0x19c919])&&(_0x563b96=_0x182512(_0x563b96)||_0x563b96);return _0x563b96;},_0x4e8789=(_0x57e4a3,_0xe25c4b)=>(_0x231c53,_0x1bf232)=>_0xe25c4b(_0x231c53,_0x1bf232,_0x57e4a3);let _0x15054a=class{constructor(_0x3dfef3,_0x5c3d71){const _0x81b5d4=_0x51cbaf;this[_0x81b5d4(0x393)]=_0x3dfef3,this[_0x81b5d4(0x1de)]=_0x5c3d71;}[_0x51cbaf(0x21e)](_0xe3b4b6){const _0x20738d=_0x51cbaf;var _0x224489;const _0x24a788=this[_0x20738d(0x393)][_0x20738d(0x228)](_0x266d28[_0x20738d(0x1c2)]),_0x177a2e=(_0x224489=_0x24a788[_0x20738d(0x38a)]())!=null?_0x224489:[];if(_0x177a2e[_0x20738d(0x367)]===0x0)return;const _0x1203bc=_0xe3b4b6[_0x20738d(0x2f6)],_0x1e4b49=[{'id':_0x20738d(0x350),'params':{'unitId':_0x1203bc,'actions':null,'textRanges':_0x177a2e}}],_0x438828=this[_0x20738d(0x1de)][_0x20738d(0x2a9)](_0xe3b4b6,_0x1e4b49);if(!_0x2daa7a[_0x20738d(0x2e0)](_0x438828))throw _0x438828[_0x20738d(0x327)];const _0xda6386=_0x438828[_0x20738d(0x285)][0x0][_0x20738d(0x1ca)][_0x20738d(0x157)];Array[_0x20738d(0x1b5)](_0xda6386)&&_0xda6386[_0x20738d(0x367)]&&_0x24a788['replaceDocRanges'](_0xda6386,{'unitId':_0x1203bc,'subUnitId':_0x1203bc},!0x1);}};_0x15054a=_0x3715f2([_0x4e8789(0x0,_0x321c93[_0x51cbaf(0x2d6)](_0x321c93[_0x51cbaf(0x391)])),_0x4e8789(0x1,_0x2daa7a[_0x51cbaf(0x33f)])],_0x15054a);var _0x4fcb8b=Object[_0x51cbaf(0x202)],_0x5c882d=(_0x61e456,_0x509c40,_0x52bd97,_0x50d269)=>{const _0x457f38=_0x51cbaf;for(var _0x11b77a=_0x50d269>0x1?void 0x0:_0x50d269?_0x4fcb8b(_0x509c40,_0x52bd97):_0x509c40,_0x500ae4=_0x61e456[_0x457f38(0x367)]-0x1,_0x38888e;_0x500ae4>=0x0;_0x500ae4--)(_0x38888e=_0x61e456[_0x500ae4])&&(_0x11b77a=_0x38888e(_0x11b77a)||_0x11b77a);return _0x11b77a;},_0x19e156=(_0x51b17d,_0x4963a8)=>(_0x2caf69,_0x33208f)=>_0x4963a8(_0x2caf69,_0x33208f,_0x51b17d);let _0x25cc06=class extends _0x321c93[_0x51cbaf(0x18d)]{constructor(_0x41a3f2,_0x575c4f,_0xabfb21,_0x328a02,_0x5d9767,_0x1f2e66,_0x2b44ea,_0x36002e){const _0x1e3309=_0x51cbaf;super(),_0x34d45d(this,_0x1e3309(0x12b),new _0x5072b9['BehaviorSubject'](_0x3d13ea[_0x1e3309(0x36a)][_0x1e3309(0x267)])),(this[_0x1e3309(0x247)]=_0x41a3f2,this[_0x1e3309(0x248)]=_0x575c4f,this[_0x1e3309(0x3ac)]=_0xabfb21,this[_0x1e3309(0x261)]=_0x328a02,this['_docTransformSelectionsService']=_0x5d9767,this[_0x1e3309(0x347)]=_0x1f2e66,this[_0x1e3309(0x1a4)]=_0x2b44ea,this[_0x1e3309(0x1ee)]=_0x36002e,this['_initEntityListener']());}[_0x51cbaf(0x15e)](){const _0x3b4a42=_0x51cbaf;this[_0x3b4a42(0x28d)](this[_0x3b4a42(0x248)][_0x3b4a42(0x1d7)][_0x3b4a42(0x12f)](_0x41b873=>{const _0x52196a=_0x3b4a42,_0x41450f=this['_docStateChangeManagerService'][_0x52196a(0x1c6)][_0x52196a(0x12f)](_0xc04c50=>{const _0x2d3c0c=_0x52196a;if(_0xc04c50==null)return;const {unitId:_0x364f36,redoState:_0x18743a,commandId:_0x5e0601}=_0xc04c50;if(_0x364f36!==_0x41b873['unitID'])return;const _0x3394c7={'id':_0x5e0601,'type':_0x321c93[_0x2d3c0c(0x17f)]['MUTATION'],'params':{'unitId':_0x364f36,'actions':_0x18743a['actions'],'textRanges':null}};_0x41b873[_0x2d3c0c(0x38d)](_0x3394c7);});if(_0x41b873[_0x52196a(0x28d)](_0x41450f),_0x41b873 instanceof _0x3d13ea['DocCollaborationEntity']){const _0x4f8a32={'onTransformIME':_0x5a18f6=>this[_0x52196a(0x3ac)][_0x52196a(0x185)](_0x5a18f6),'onTransformState':_0x3c79af=>this['_docTransformStateCacheService']['transformStateCache'](_0x3c79af),'onTransformSelections':_0x59d11e=>this[_0x52196a(0x1aa)]['transformSelections'](_0x59d11e),'onSyncEditingCollabCursor':_0x44b64e=>this[_0x52196a(0x347)][_0x52196a(0x155)](_0x44b64e),'onTransformRemoteChangesetByIMECache':_0x349e33=>this[_0x52196a(0x3ac)]['transformRemoteChangeset'](_0x349e33),'onTransformRemoteChangesetByStateCache':_0x2631e3=>this[_0x52196a(0x261)][_0x52196a(0x328)](_0x2631e3)};_0x41b873[_0x52196a(0x2bf)](_0x4f8a32);}}));}};_0x25cc06=_0x5c882d([_0x19e156(0x0,_0x321c93['Inject'](_0x21bba4[_0x51cbaf(0x378)])),_0x19e156(0x1,_0x321c93[_0x51cbaf(0x2d6)](_0x3d13ea['CollaborationController'])),_0x19e156(0x2,_0x321c93[_0x51cbaf(0x2d6)](_0x366734)),_0x19e156(0x3,_0x321c93[_0x51cbaf(0x2d6)](_0x5c86ae)),_0x19e156(0x4,_0x321c93[_0x51cbaf(0x2d6)](_0x15054a)),_0x19e156(0x5,_0x321c93[_0x51cbaf(0x2d6)](_0x6d5009)),_0x19e156(0x6,_0x3d72cc[_0x51cbaf(0x269)]),_0x19e156(0x7,_0x321c93[_0x51cbaf(0x2d6)](_0x321c93[_0x51cbaf(0x13b)]))],_0x25cc06);var _0x11450f=Object['getOwnPropertyDescriptor'],_0x52c528=(_0x2dcf55,_0x1b1b94,_0x286494,_0x1bd6d9)=>{const _0x4fa370=_0x51cbaf;for(var _0x22c210=_0x1bd6d9>0x1?void 0x0:_0x1bd6d9?_0x11450f(_0x1b1b94,_0x286494):_0x1b1b94,_0x5a8ae7=_0x2dcf55[_0x4fa370(0x367)]-0x1,_0x27ff8b;_0x5a8ae7>=0x0;_0x5a8ae7--)(_0x27ff8b=_0x2dcf55[_0x5a8ae7])&&(_0x22c210=_0x27ff8b(_0x22c210)||_0x22c210);return _0x22c210;},_0x2e5257=(_0x381070,_0x5bbdc4)=>(_0x1f9a14,_0x33ea79)=>_0x5bbdc4(_0x1f9a14,_0x33ea79,_0x381070);let _0x3f6d52=class extends _0x321c93[_0x51cbaf(0x18d)]{constructor(_0x3f415a,_0x31ba68,_0x2640f3){const _0x11c07f=_0x51cbaf;super(),_0x34d45d(this,'_cachedData',new Map()),_0x34d45d(this,_0x11c07f(0x144),new Map()),_0x34d45d(this,_0x11c07f(0x1e3),!0x1),(this[_0x11c07f(0x383)]=_0x3f415a,this[_0x11c07f(0x271)]=_0x31ba68,this['_revisionService']=_0x2640f3);}['disableLocalCache'](){const _0x150448=_0x51cbaf;this[_0x150448(0x1e3)]=!0x0;}['enableLocalCache'](){const _0x1f28d1=_0x51cbaf;this[_0x1f28d1(0x1e3)]=!0x1;}get[_0x51cbaf(0x33a)](){const _0x2f907b=_0x51cbaf;return this[_0x2f907b(0x144)];}[_0x51cbaf(0x256)](){const _0x4db87c=_0x51cbaf;this[_0x4db87c(0x244)]()[_0x4db87c(0x134)](()=>super['dispose']());}async[_0x51cbaf(0x320)](_0x12c2dc){const _0x3f09f=_0x51cbaf;return this[_0x3f09f(0x1e3)]?null:this['_localStorageService'][_0x3f09f(0x141)](_0x3d13ea[_0x3f09f(0x3a7)](_0x12c2dc));}async[_0x51cbaf(0x310)](_0x4cd171,_0x2c9866){const _0x55e706=_0x51cbaf;return!!this[_0x55e706(0x271)][_0x55e706(0x139)](_0x4cd171,_0x2c9866);}[_0x51cbaf(0x2ff)](_0x49a7eb,_0x3db451,_0x57eda0,_0x2f6d54){const _0x689b37=_0x51cbaf,_0x173acb=this['_revisionService']['getCurrentRevOfUnit'](_0x49a7eb);this[_0x689b37(0x298)][_0x689b37(0x24d)](_0x49a7eb,{'unitID':_0x49a7eb,'type':_0x3db451,'awaitingChangeset':_0x57eda0,'mutations':_0x2f6d54,'rev':_0x173acb}),this[_0x689b37(0x144)][_0x689b37(0x1f4)](_0x49a7eb)||this[_0x689b37(0x1fa)](_0x49a7eb);}['_scheduleSaving'](_0x26d749){const _0x811591=_0x51cbaf,_0x27591b=this['_getSaveTimeout']();_0x27591b===0x0?this[_0x811591(0x145)](_0x26d749):this[_0x811591(0x144)][_0x811591(0x24d)](_0x26d749,setTimeout(()=>this[_0x811591(0x145)](_0x26d749),_0x27591b));}[_0x51cbaf(0x358)](){const _0x1f38ff=_0x51cbaf;var _0x439fc5;return(_0x439fc5=this[_0x1f38ff(0x383)][_0x1f38ff(0x1bf)](_0x3d13ea[_0x1f38ff(0x18b)]))!=null?_0x439fc5:_0x3d13ea['LOCAL_CACHE_INTERVAL'];}[_0x51cbaf(0x145)](_0x594f3e){const _0x50b870=_0x51cbaf,_0x55fa64=this[_0x50b870(0x144)][_0x50b870(0x228)](_0x594f3e);return _0x55fa64!==void 0x0&&window[_0x50b870(0x34f)](_0x55fa64),this[_0x50b870(0x271)][_0x50b870(0x139)](_0x3d13ea[_0x50b870(0x3a7)](_0x594f3e),this[_0x50b870(0x298)][_0x50b870(0x228)](_0x594f3e))[_0x50b870(0x134)](()=>this[_0x50b870(0x144)][_0x50b870(0x215)](_0x594f3e));}async['exhaustSavingTask'](){const _0x46bdb6=_0x51cbaf,_0x5677a2=[];this[_0x46bdb6(0x144)]['forEach']((_0x44f5b7,_0x434601)=>{const _0x40efbb=_0x46bdb6;window[_0x40efbb(0x34f)](_0x44f5b7),_0x5677a2[_0x40efbb(0x207)](this[_0x40efbb(0x145)](_0x434601)[_0x40efbb(0x134)](()=>{const _0x2e01d8=_0x40efbb;this[_0x2e01d8(0x144)][_0x2e01d8(0x215)](_0x434601);}));}),await Promise['all'](_0x5677a2);}};_0x3f6d52=_0x52c528([_0x2e5257(0x0,_0x321c93[_0x51cbaf(0x30d)]),_0x2e5257(0x1,_0x321c93[_0x51cbaf(0x2c7)]),_0x2e5257(0x2,_0x321c93[_0x51cbaf(0x2d6)](_0x2daa7a['RevisionService']))],_0x3f6d52);class _0x30c19c extends _0x321c93[_0x51cbaf(0x37f)]{constructor(){const _0x1d4e57=_0x51cbaf;super(),_0x34d45d(this,'urlChange$'),this[_0x1d4e57(0x2e6)]=_0x5072b9['fromEvent'](window,_0x1d4e57(0x1d6))[_0x1d4e57(0x2dd)](_0x5072b9[_0x1d4e57(0x236)](this[_0x1d4e57(0x1df)]),_0x5072b9[_0x1d4e57(0x1dc)](0x1),_0x5072b9['mapTo'](void 0x0));}[_0x51cbaf(0x326)](_0x3a7919,_0x158d60,_0xa0a8b4=!0x1){const _0x153529=_0x51cbaf,_0x294d84=new URL(window[_0x153529(0x12a)][_0x153529(0x133)]);_0x294d84[_0x153529(0x26c)]['set'](_0x3a7919,_0x158d60),_0xa0a8b4?window[_0x153529(0x27c)]['replaceState']('','',_0x294d84[_0x153529(0x1c0)]()):window[_0x153529(0x27c)][_0x153529(0x336)]('','',_0x294d84[_0x153529(0x1c0)]());}[_0x51cbaf(0x290)](_0x3e0fa5,_0x9da1b7=!0x1){const _0x591fd0=_0x51cbaf,_0x16fcd8=new URL(window[_0x591fd0(0x12a)]['href']);_0x16fcd8['searchParams'][_0x591fd0(0x215)](_0x3e0fa5),_0x9da1b7?window[_0x591fd0(0x27c)][_0x591fd0(0x132)]('','',_0x16fcd8[_0x591fd0(0x1c0)]()):window[_0x591fd0(0x27c)][_0x591fd0(0x336)]('','',_0x16fcd8[_0x591fd0(0x1c0)]());}['getParam'](_0xa3368d){const _0xdb05c3=_0x51cbaf;var _0x2f2421;return(_0x2f2421=new URL(window[_0xdb05c3(0x12a)][_0xdb05c3(0x133)])['searchParams'][_0xdb05c3(0x228)](_0xa3368d))!=null?_0x2f2421:void 0x0;}}var _0x23d844=Object[_0x51cbaf(0x3bc)],_0x1415ce=Object[_0x51cbaf(0x202)],_0x992753=(_0x195325,_0xb135f,_0x170ddf)=>_0xb135f in _0x195325?_0x23d844(_0x195325,_0xb135f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x170ddf}):_0x195325[_0xb135f]=_0x170ddf,_0x571583=(_0x16f357,_0x489796,_0x199f2d,_0x3b428b)=>{const _0x52cdb6=_0x51cbaf;for(var _0x299a4b=_0x3b428b>0x1?void 0x0:_0x3b428b?_0x1415ce(_0x489796,_0x199f2d):_0x489796,_0x259a3a=_0x16f357[_0x52cdb6(0x367)]-0x1,_0x4a23d6;_0x259a3a>=0x0;_0x259a3a--)(_0x4a23d6=_0x16f357[_0x259a3a])&&(_0x299a4b=_0x4a23d6(_0x299a4b)||_0x299a4b);return _0x299a4b;},_0x2985d2=(_0x401080,_0x50681)=>(_0xb68b27,_0x1eea10)=>_0x50681(_0xb68b27,_0x1eea10,_0x401080),_0x12a779=(_0x4f05e0,_0x6e7844,_0xbc9da7)=>_0x992753(_0x4f05e0,_0x6e7844+'',_0xbc9da7);const _0x43b403=_0x51cbaf(0x158);_0x4cc1af[_0x51cbaf(0x25f)]=class extends _0x321c93[_0x51cbaf(0x179)]{constructor(_0x4f4d4a=_0x5c5637,_0x1fce89,_0x576ace,_0x2f2a70){const _0x5b5656=_0x51cbaf;super(),this['_config']=_0x4f4d4a,this[_0x5b5656(0x32e)]=_0x1fce89,this[_0x5b5656(0x393)]=_0x576ace,this[_0x5b5656(0x383)]=_0x2f2a70;const {..._0x48a3a8}=_0x321c93['merge']({},_0x5c5637,this[_0x5b5656(0x181)]);this[_0x5b5656(0x383)][_0x5b5656(0x1ea)](_0x9182b5,_0x48a3a8);}['onStarting'](){const _0x4c4647=_0x51cbaf;this[_0x4c4647(0x372)](),this[_0x4c4647(0x1be)]();}[_0x51cbaf(0x16c)](){const _0x4ab127=_0x51cbaf;this[_0x4ab127(0x2f8)]();}['_registerDependencies'](){const _0x390f2a=_0x51cbaf;var _0x21c38c;const _0x2e42f1=[[_0x4e47bc],[_0x15054a],[_0x366734],[_0x5c86ae],[_0x6d5009],[_0x227084,{'useClass':_0x30c19c}],[_0x1401f5[_0x390f2a(0x381)],{'useClass':_0x1401f5[_0x390f2a(0x2ba)]}],[_0x3d13ea['ILocalCacheService'],{'useClass':_0x3f6d52}],[_0x4cc1af['DesktopCollaborationStatusDisplayController']],[_0x25cc06],[_0x37dd51],[_0x31bd2a],[_0x32a18d],[_0x4cc1af[_0x390f2a(0x2da)]]];_0x321c93['registerDependencies'](this[_0x390f2a(0x393)],_0x321c93[_0x390f2a(0x26e)](_0x2e42f1,(_0x21c38c=this['_config'])==null?void 0x0:_0x21c38c[_0x390f2a(0x210)]));}[_0x51cbaf(0x2f8)](){const _0x3e6695=_0x51cbaf;this[_0x3e6695(0x28d)](this[_0x3e6695(0x32e)][_0x3e6695(0x394)](_0x321c93[_0x3e6695(0x2f3)][_0x3e6695(0x28e)],[_0x48292d])),this[_0x3e6695(0x28d)](this[_0x3e6695(0x32e)][_0x3e6695(0x394)](_0x321c93['UniverInstanceType'][_0x3e6695(0x35a)],[_0x451cff]));}[_0x51cbaf(0x1be)](){const _0x4ff1ee=_0x51cbaf;_0x321c93[_0x4ff1ee(0x287)](this[_0x4ff1ee(0x393)],[[_0x31bd2a],[_0x4cc1af[_0x4ff1ee(0x305)]],[_0x25cc06],[_0x37dd51],[_0x4cc1af[_0x4ff1ee(0x2da)]]]);}},_0x12a779(_0x4cc1af[_0x51cbaf(0x25f)],_0x51cbaf(0x33b),_0x43b403),_0x4cc1af[_0x51cbaf(0x25f)]=_0x571583([_0x321c93[_0x51cbaf(0x268)](_0x3d13ea[_0x51cbaf(0x316)]),_0x2985d2(0x1,_0x3f844e[_0x51cbaf(0x3bd)]),_0x2985d2(0x2,_0x321c93['Inject'](_0x321c93['Injector'])),_0x2985d2(0x3,_0x321c93[_0x51cbaf(0x30d)])],_0x4cc1af['UniverCollaborationClientUIPlugin']);var _0x78a9ff=Object[_0x51cbaf(0x202)],_0x5ec48f=(_0x49d21f,_0x45b7ae,_0x59ea20,_0x106ce8)=>{const _0x4af0dd=_0x51cbaf;for(var _0x561136=_0x106ce8>0x1?void 0x0:_0x106ce8?_0x78a9ff(_0x45b7ae,_0x59ea20):_0x45b7ae,_0xd8df09=_0x49d21f[_0x4af0dd(0x367)]-0x1,_0x56ab3a;_0xd8df09>=0x0;_0xd8df09--)(_0x56ab3a=_0x49d21f[_0xd8df09])&&(_0x561136=_0x56ab3a(_0x561136)||_0x561136);return _0x561136;},_0x2b008c=(_0x45aa41,_0x1ae890)=>(_0x56ab56,_0x5a4e4e)=>_0x1ae890(_0x56ab56,_0x5a4e4e,_0x45aa41);_0x4cc1af[_0x51cbaf(0x186)]=class extends _0x3d13ea[_0x51cbaf(0x315)]{constructor(_0x40eb86,_0x139953,_0x59e85e,_0x5d73ec,_0x1a8f2a){super(_0x40eb86,_0x139953,_0x59e85e,_0x5d73ec,_0x1a8f2a);}async[_0x51cbaf(0x2fe)](_0x201e68){const _0x5c6d5a=_0x51cbaf,_0x57d9b0=await this[_0x5c6d5a(0x129)](),_0x1ab101=this['_createSocketURL'](_0x201e68,_0x57d9b0);return this[_0x5c6d5a(0x39b)](_0x1ab101);}['_createSocketURL'](_0x774f6d,_0x3a14b7){const _0x73c563=_0x51cbaf,_0x166180=typeof window>'u'?new URL(_0x774f6d):new URL(_0x774f6d,window[_0x73c563(0x12a)][_0x73c563(0x35b)]);_0x166180[_0x73c563(0x26c)][_0x73c563(0x24d)](_0x73c563(0x288),_0x3a14b7);const _0x3417b1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x73c563(0x12a)][_0x73c563(0x2fc)]);return _0x3417b1[_0x73c563(0x228)](_0x73c563(0x1a5))&&_0x166180[_0x73c563(0x26c)][_0x73c563(0x24d)](_0x73c563(0x1a5),_0x3417b1[_0x73c563(0x228)]('runId')),_0x166180[_0x73c563(0x1c0)]();}async['_getSessionTicket'](){const _0x1047e1=_0x51cbaf;var _0xa8043e,_0xd39c30,_0x22748c;const _0x3767f3=this[_0x1047e1(0x383)][_0x1047e1(0x1bf)](_0x3d13ea[_0x1047e1(0x1b4)]),_0x4e2533=(_0xa8043e=_0x3767f3==null?void 0x0:_0x3767f3[_0x1047e1(0x1e6)])!=null?_0xa8043e:_0x3d13ea['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x22748c=(_0xd39c30=(await this[_0x1047e1(0x37d)][_0x1047e1(0x228)](_0x4e2533,{'headers':{'Content-Type':_0x1047e1(0x34e)}}))[_0x1047e1(0x343)])==null?void 0x0:_0xd39c30[_0x1047e1(0x259)])!=null?_0x22748c:'';}},_0x4cc1af[_0x51cbaf(0x186)]=_0x5ec48f([_0x2b008c(0x0,_0x321c93[_0x51cbaf(0x2d6)](_0x321c93['Injector'])),_0x2b008c(0x1,_0x321c93[_0x51cbaf(0x2d6)](_0x1401f5[_0x51cbaf(0x366)])),_0x2b008c(0x2,_0x321c93[_0x51cbaf(0x30d)]),_0x2b008c(0x3,_0x321c93['ILogService']),_0x2b008c(0x4,_0x2daa7a[_0x51cbaf(0x2cc)])],_0x4cc1af['BrowserCollaborationSocketService']);const _0x337784=0x7530,_0x42b243=_0x51cbaf(0x33c);class _0x537dc5 extends _0x321c93[_0x51cbaf(0x18d)]{constructor(){const _0x3ff756=_0x51cbaf;super(),_0x34d45d(this,_0x3ff756(0x2db),_0x321c93[_0x3ff756(0x151)]()),_0x34d45d(this,'_selfUnitIDs',new Set()),_0x34d45d(this,'_unitOnClients',new Map()),_0x34d45d(this,_0x3ff756(0x294),null),_0x34d45d(this,_0x3ff756(0x17c),new Map()),_0x34d45d(this,_0x3ff756(0x20a),new Map()),this[_0x3ff756(0x3a5)]();}['dispose'](){const _0x1d203f=_0x51cbaf;super[_0x1d203f(0x256)](),this[_0x1d203f(0x17c)][_0x1d203f(0x124)]((_0xdfe208,_0x2ca3e6)=>this[_0x1d203f(0x196)](_0x2ca3e6)),this[_0x1d203f(0x294)]&&window['clearInterval'](this[_0x1d203f(0x294)]);}['getUnitStatus$'](_0x1d8477){const _0x4739b7=_0x51cbaf;return this['_ensureSubject'](_0x1d8477)[_0x4739b7(0x2dd)](_0x5072b9['distinctUntilChanged']());}[_0x51cbaf(0x25e)](_0x34cc34){const _0x1c2796=_0x51cbaf;this[_0x1c2796(0x1f7)][_0x1c2796(0x30e)]===0x0&&this[_0x1c2796(0x1a1)](),this[_0x1c2796(0x1f7)]['add'](_0x34cc34),this[_0x1c2796(0x212)]({'type':0x0,'memberID':this[_0x1c2796(0x2db)],'unitIDs':[_0x34cc34],'isForwarded':!0x1});}[_0x51cbaf(0x23c)](_0xb3dc){const _0x2618e6=_0x51cbaf;this['_selfUnitIDs'][_0x2618e6(0x215)](_0xb3dc),this['_selfUnitIDs']['size']===0x0&&this[_0x2618e6(0x294)]&&window[_0x2618e6(0x22c)](this['_heartbeatTimer']);}[_0x51cbaf(0x3a5)](){const _0x1b9d43=_0x51cbaf;this['disposeWithMe'](_0x321c93[_0x1b9d43(0x253)](_0x5072b9['fromEvent'](window,_0x1b9d43(0x362))[_0x1b9d43(0x12f)](_0x306697=>{const _0x336942=_0x1b9d43;if(_0x306697[_0x336942(0x3b8)]!==_0x42b243||!_0x306697[_0x336942(0x329)])return;const _0x2c06bb=JSON[_0x336942(0x12d)](_0x306697[_0x336942(0x329)]);this['_handleEvent'](_0x2c06bb);}))),window[_0x1b9d43(0x2e8)](_0x1b9d43(0x14e),()=>this[_0x1b9d43(0x212)]({'type':0x1,'memberID':this[_0x1b9d43(0x2db)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x51cbaf(0x1d5)](_0x33d685){const _0x3a3d23=_0x51cbaf;switch(_0x33d685[_0x3a3d23(0x1ad)]){case 0x0:this[_0x3a3d23(0x2fa)](_0x33d685);break;case 0x1:this[_0x3a3d23(0x270)](_0x33d685);break;case 0x2:this[_0x3a3d23(0x218)](_0x33d685);break;}}[_0x51cbaf(0x2fa)](_0x490a04){const _0x2f6db4=_0x51cbaf,{unitIDs:_0x268d4f,memberID:_0x1ef688,isForwarded:_0x232ef3}=_0x490a04;_0x268d4f[_0x2f6db4(0x124)](_0xc1488e=>{const _0x33743a=_0x2f6db4;if(!_0x232ef3&&this[_0x33743a(0x36d)]['has'](_0xc1488e)&&this[_0x33743a(0x2f0)](_0xc1488e)['next'](_0x3d13ea['UnitStatus']['OTHER_CLIENTS_EDITING']),!this['_unitOnClients']['has'](_0xc1488e)||!this['_unitOnClients'][_0x33743a(0x228)](_0xc1488e)['has'](_0x1ef688)){const _0x5bf5ba=this[_0x33743a(0x36d)][_0x33743a(0x228)](_0xc1488e)||new Set();_0x5bf5ba[_0x33743a(0x317)](_0x1ef688),this[_0x33743a(0x36d)][_0x33743a(0x24d)](_0xc1488e,_0x5bf5ba),this['_scheduleClearOtherTimer'](_0x1ef688);}}),_0x232ef3||this['_send']({'type':0x0,'memberID':this[_0x2f6db4(0x2db)],'unitIDs':[...this[_0x2f6db4(0x1f7)]],'isForwarded':!0x0});}[_0x51cbaf(0x309)](_0x55da6e){const _0x3921d0=_0x51cbaf;this[_0x3921d0(0x196)](_0x55da6e);const _0x44d323=window[_0x3921d0(0x18f)](()=>{const _0x58c362=_0x3921d0;this[_0x58c362(0x36d)]['forEach'](_0x56e646=>{const _0x556893=_0x58c362;_0x56e646[_0x556893(0x215)](_0x55da6e);});},_0x337784*0x2);this[_0x3921d0(0x17c)][_0x3921d0(0x24d)](_0x55da6e,_0x44d323);}[_0x51cbaf(0x196)](_0x40ac6f){const _0xeb3685=_0x51cbaf;if(this[_0xeb3685(0x17c)]['has'](_0x40ac6f)){const _0x2df5ad=this[_0xeb3685(0x17c)][_0xeb3685(0x228)](_0x40ac6f);_0x2df5ad&&window[_0xeb3685(0x34f)](_0x2df5ad),this[_0xeb3685(0x17c)][_0xeb3685(0x24d)](_0x40ac6f,null);}}[_0x51cbaf(0x270)](_0x4b58d5){const _0x1a0957=_0x51cbaf,{memberID:_0x3ec8dd,unitIDs:_0x2a7dfc}=_0x4b58d5;_0x2a7dfc['forEach'](_0x3f66e7=>{const _0x5bb0f9=_0x2584;var _0xf1abd4;const _0x4e5325=this[_0x5bb0f9(0x36d)]['get'](_0x3f66e7);_0x4e5325&&(_0x4e5325['delete'](_0x3ec8dd),(_0xf1abd4=this[_0x5bb0f9(0x2f0)](_0x3f66e7))==null||_0xf1abd4[_0x5bb0f9(0x15b)](_0x4e5325[_0x5bb0f9(0x30e)]===0x0?_0x3d13ea[_0x5bb0f9(0x3a1)][_0x5bb0f9(0x296)]:_0x3d13ea['UnitStatus'][_0x5bb0f9(0x386)]));}),this[_0x1a0957(0x196)](_0x3ec8dd);}[_0x51cbaf(0x218)](_0x2df3b1){const _0x523e9e=_0x51cbaf;this[_0x523e9e(0x309)](_0x2df3b1[_0x523e9e(0x340)]);}[_0x51cbaf(0x212)](_0x40e39e){const _0xe76d9d=_0x51cbaf;localStorage[_0xe76d9d(0x139)](_0x42b243,JSON[_0xe76d9d(0x2a5)](_0x40e39e));}[_0x51cbaf(0x1a1)](){const _0x3648ef=_0x51cbaf;this[_0x3648ef(0x294)]=window[_0x3648ef(0x19b)](()=>{const _0x12ef05=_0x3648ef;this[_0x12ef05(0x212)]({'type':0x2,'memberID':this[_0x12ef05(0x2db)]});},_0x337784);}[_0x51cbaf(0x2f0)](_0x18e894){const _0x49b5bf=_0x51cbaf;return this['_unitStatus'][_0x49b5bf(0x1f4)](_0x18e894)||this[_0x49b5bf(0x20a)][_0x49b5bf(0x24d)](_0x18e894,new _0x5072b9[(_0x49b5bf(0x190))](_0x3d13ea[_0x49b5bf(0x3a1)][_0x49b5bf(0x296)])),this[_0x49b5bf(0x20a)]['get'](_0x18e894);}}var _0x17a9cd=(_0x15f944=>(_0x15f944[_0x15f944[_0x51cbaf(0x14c)]=0x0]=_0x51cbaf(0x14c),_0x15f944[_0x15f944['OK']=0x1]='OK',_0x15f944[_0x15f944[_0x51cbaf(0x166)]=0x2]=_0x51cbaf(0x166),_0x15f944[_0x15f944[_0x51cbaf(0x219)]=0x3]=_0x51cbaf(0x219),_0x15f944[_0x15f944['NOT_FOUND']=0x4]=_0x51cbaf(0x2cb),_0x15f944[_0x15f944[_0x51cbaf(0x276)]=0x5]=_0x51cbaf(0x276),_0x15f944[_0x15f944['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x15f944[_0x15f944[_0x51cbaf(0x15d)]=0x7]=_0x51cbaf(0x15d),_0x15f944[_0x15f944[_0x51cbaf(0x217)]=0x8]=_0x51cbaf(0x217),_0x15f944[_0x15f944[_0x51cbaf(0x24e)]=0x9]=_0x51cbaf(0x24e),_0x15f944[_0x15f944[_0x51cbaf(0x2a4)]=0xa]=_0x51cbaf(0x2a4),_0x15f944[_0x15f944[_0x51cbaf(0x39e)]=0x1389]=_0x51cbaf(0x39e),_0x15f944[_0x15f944['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x51cbaf(0x234),_0x15f944[_0x15f944[_0x51cbaf(0x264)]=0x1772]=_0x51cbaf(0x264),_0x15f944[_0x15f944[_0x51cbaf(0x1da)]=0x1773]=_0x51cbaf(0x1da),_0x15f944[_0x15f944[_0x51cbaf(0x2f7)]=0x1b59]=_0x51cbaf(0x2f7),_0x15f944[_0x15f944['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x51cbaf(0x2e2),_0x15f944[_0x15f944[_0x51cbaf(0x14f)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x15f944[_0x15f944['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x51cbaf(0x183),_0x15f944[_0x15f944['APPLY_DUPLICATED']=0x1b5d]=_0x51cbaf(0x229),_0x15f944[_0x15f944[_0x51cbaf(0x2b0)]=0x1f41]=_0x51cbaf(0x2b0),_0x15f944[_0x15f944[_0x51cbaf(0x2f9)]=0x2329]=_0x51cbaf(0x2f9),_0x15f944[_0x15f944['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x51cbaf(0x339),_0x15f944[_0x15f944[_0x51cbaf(0x279)]=0x232b]=_0x51cbaf(0x279),_0x15f944[_0x15f944[_0x51cbaf(0x2a7)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x15f944[_0x15f944['LICENSE_DISTRO_REJECTED']=0x232d]=_0x51cbaf(0x35d),_0x15f944[_0x15f944[_0x51cbaf(0x3a0)]=0x2711]=_0x51cbaf(0x3a0),_0x15f944[_0x15f944[_0x51cbaf(0x318)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x15f944[_0x15f944[_0x51cbaf(0x204)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x15f944[_0x15f944[_0x51cbaf(0x27e)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x15f944[_0x15f944['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x51cbaf(0x180),_0x15f944[_0x15f944[_0x51cbaf(0x23b)]=0x271b]=_0x51cbaf(0x23b),_0x15f944[_0x15f944[_0x51cbaf(0x224)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x15f944[_0x15f944[_0x51cbaf(0x1ed)]=0x271d]=_0x51cbaf(0x1ed),_0x15f944[_0x15f944[_0x51cbaf(0x1cf)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x15f944[_0x15f944[_0x51cbaf(0x19f)]=0x271f]=_0x51cbaf(0x19f),_0x15f944[_0x15f944[_0x51cbaf(0x295)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x15f944[_0x15f944['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x51cbaf(0x399),_0x15f944[_0x15f944[_0x51cbaf(0x281)]=0x2ee2]='INVALID_INVITE_CODE',_0x15f944[_0x15f944[_0x51cbaf(0x125)]=0x2ee3]=_0x51cbaf(0x125),_0x15f944[_0x15f944['USER_NOT_INVITED_CODE']=0x2ee4]=_0x51cbaf(0x2cf),_0x15f944[_0x15f944[_0x51cbaf(0x395)]=0x2ee5]=_0x51cbaf(0x395),_0x15f944[_0x15f944['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x51cbaf(0x13d),_0x15f944[_0x15f944['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x51cbaf(0x146),_0x15f944[_0x15f944[_0x51cbaf(0x301)]=0x32cb]=_0x51cbaf(0x301),_0x15f944[_0x15f944[_0x51cbaf(0x1ec)]=-0x1]=_0x51cbaf(0x1ec),_0x15f944))(_0x17a9cd||{}),_0xa1aca2=Object[_0x51cbaf(0x202)],_0x17c6bf=(_0x3d8701,_0x3eb032,_0x5f146d,_0x44aaab)=>{for(var _0x38da04=_0x44aaab>0x1?void 0x0:_0x44aaab?_0xa1aca2(_0x3eb032,_0x5f146d):_0x3eb032,_0x1046be=_0x3d8701['length']-0x1,_0x450de7;_0x1046be>=0x0;_0x1046be--)(_0x450de7=_0x3d8701[_0x1046be])&&(_0x38da04=_0x450de7(_0x38da04)||_0x38da04);return _0x38da04;},_0x3659b1=(_0x5a6d12,_0x48527d)=>(_0x592132,_0x3686d0)=>_0x48527d(_0x592132,_0x3686d0,_0x5a6d12);_0x4cc1af[_0x51cbaf(0x2ad)]=class extends _0x321c93['Disposable']{constructor(_0x30184b,_0x23f8e5,_0x3bc636){const _0x59dbce=_0x51cbaf;super(),this['_instanceService']=_0x30184b,this[_0x59dbce(0x37d)]=_0x23f8e5,this[_0x59dbce(0x383)]=_0x3bc636;}async[_0x51cbaf(0x238)](_0x3c2e46,_0x52dbec,_0x8cd101,..._0x152d9b){const _0x405073=_0x51cbaf;var _0x565533,_0xd01b99,_0x2fc94e,_0x5e469f;const _0x343d31=this[_0x405073(0x3b6)][_0x405073(0x20f)]();if(!_0x343d31)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x5d8232=((_0x565533=this[_0x405073(0x383)][_0x405073(0x1bf)](_0x3d13ea[_0x405073(0x20b)]))!=null?_0x565533:_0x3d13ea[_0x405073(0x16b)])+'/'+_0x3c2e46+_0x405073(0x233)+_0x52dbec,_0x310df0=new URL(window['location'][_0x405073(0x133)]),_0x30a9c2={'scriptId':_0x3c2e46,'runId':(_0xd01b99=_0x310df0['searchParams'][_0x405073(0x228)](_0x405073(0x1a5)))!=null?_0xd01b99:'','function':_0x52dbec,'unitId':_0x343d31[_0x405073(0x198)](),'argsOfFunction':JSON[_0x405073(0x2a5)](_0x152d9b),'invokeId':(_0x2fc94e=_0x8cd101['invokeId'])!=null?_0x2fc94e:'','executionId':(_0x5e469f=_0x8cd101['executionId'])!=null?_0x5e469f:''};try{const _0x5d8077=await this[_0x405073(0x37d)]['post'](_0x5d8232,{'body':_0x30a9c2});return _0x5d8077[_0x405073(0x343)][_0x405073(0x327)]&&_0x5d8077[_0x405073(0x343)][_0x405073(0x327)][_0x405073(0x30b)]!==_0x17a9cd['OK']?'Failed':_0x5d8077[_0x405073(0x343)][_0x405073(0x1dd)];}catch{return _0x405073(0x388);}}},_0x4cc1af[_0x51cbaf(0x2ad)]=_0x17c6bf([_0x3659b1(0x0,_0x321c93[_0x51cbaf(0x39d)]),_0x3659b1(0x1,_0x321c93[_0x51cbaf(0x2d6)](_0x1401f5[_0x51cbaf(0x366)])),_0x3659b1(0x2,_0x321c93[_0x51cbaf(0x30d)])],_0x4cc1af['RemoteUniscriptService']),_0x4cc1af[_0x51cbaf(0x246)]=_0x5a94a0,_0x4cc1af[_0x51cbaf(0x3b3)]=_0x227084,_0x4cc1af[_0x51cbaf(0x2b6)]=_0x2c9bd8,_0x4cc1af['WebBrowserSingleActiveUnitService']=_0x537dc5,_0x4cc1af[_0x51cbaf(0x22d)]=_0x30c19c,Object['defineProperty'](_0x4cc1af,Symbol[_0x51cbaf(0x265)],{'value':'Module'});}));function _0x1936(){const _0x5611fe=['_toggleOffline','_getMergeRange','triggerDblclick','_dataLoaderService','_backgroundColor','none','_updateURLWithCurrentState','_getSaveTimeout','_transformHistoryAndStateStack','UNIVER_SHEET','origin','getCurrent','LICENSE_DISTRO_REJECTED','_refRangeService','_refreshCollabCursors','@univerjs/rpc','setActiveRange','storage','COLORS','onPointerLeave$','split','HTTPService','length','findNodePositionByCharIndex','eventID','CollaborationStatus','Warning','VIEW_MAIN','_unitOnClients','unshift','icon','0\x200\x2016\x2016','transformStateCache','_registerDependencies','UniverSheets','saveImage','collab-text-anchor-','getStateCache','FETCH_MISS','DocStateChangeManagerService','combineLatest','session.connection-failed','CollaborationUIEventId','handleDeleteRangeMoveUp','_httpService','SOCKET_FAILED','RxDisposable','ColorKit','ISocketService','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','_configService','purple.300','deserializeRangeWithSheet','OTHER_CLIENTS_EDITING','unsubscribe','Failed','lineTo','getDocRanges','permission.content','blue.400','onLocalMutation','object','_anchorDot','endRow','Injector','Rectangle','_injector','registerRenderModule','INVITE_CODE_ALREADY_BOUND','React','handleInsertRangeMoveDown','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:univer-text-gray-200','INVITE_CODE_HAS_BEEN_UES','drawWith','_doCreateSocket','_eventUnsubscribe','IUniverInstanceService','CHANGESET_REVISION_CONFILICT','_handleHover','YUUMI_UNABLE_LOAD_URL','UnitStatus','getOwnPropertySymbols','CollaborationSessionService','round','_init','xlink:href','getLocalCacheKey','onCommandExecuted','@univerjs/drawing','CollaborationController','@univerjs/docs-ui','_docTransformIMECacheService','save','_textBubble','_color','12229063pHMogp','requireSession','UniverDocsUi','IURLService','makeDirty','transformByState','_instanceService','2ygADMq','key','@univerjs/sheets','_name','3XRtVWF','defineProperty','IRenderManagerService','forEach','INVITE_CODE_REQUIRED','currentColor','_startDocCollabCursor','IImageIoService','_getSessionTicket','location','_status$','collabStatus.syncing','parse','fillText','subscribe','fill','_context','replaceState','href','then','redoState','transformMutation','Subject','SUBMIT_CHANGESET_TIMEOUT','setItem','engine','LocaleService','HEADER_MENU','WECHAT_HAS_BEEN_BOUND','Shape','_themeService','_shapes','getItem','_assignedColors','1em','_saveTaskMap','_saveCache','MOBILE_HAS_BEEN_BOUND','sessionStatus$','_anchor','on-line-single_clip0_910_349','switchMap','@univerjs/ui','UNDEFINED','width','unload','APPLY_REVISION_CONFILICT','DOC_RANGE_TYPE','generateRandomId','getSkeleton','max','getMemberID','syncEditingCollabCursor','DeleteRangeMoveUpCommandId','textRanges','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','fillRule','UniverUi','next','BuiltInUIPart','INVALID_ARGUMENT','_initEntityListener','getColor','yellow.400','getTypeOfUnitDisposed$','CollaborationUIEventService','...','collabCursorState$','OffLineSingle','INTERNAL_ERROR','getRangePointData','_colorAssignService','676532gkkJFe','DeleteRangeMoveLeftCommandId','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','onRendered','univer-flex\x20univer-mr-2\x20univer-text-xl','amd','64inEvcJ','UniverDrawing','SheetsSelectionsService','createInstance','_beforeCloseService','_toggleOnline','collaboration.single-unit.warning','_imageIoService','_drawRectRange','handleIRemoveCol','Plugin','_onRefRangeChange','InsertColCommandId','_clearOtherTimers','currentSkeleton$','ThemeService','CommandType','YUUMI_NO_CUBOID_FOR_QUESTION','_config','defIds','APPLY_PERMISSION_DENIED','@univerjs/docs','transformIMECache','BrowserCollaborationSocketService','_lastPointer','evenodd','flatMap','UniverSheetsUi','LOCAL_CACHE_INTERVAL_KEY','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','Disposable','filter','setTimeout','BehaviorSubject','cursorInfo$','335ldBhJj','map','m1Prime','className','_removeClearOtherTimer','column','getUnitId','range','IUIPartsService','setInterval','_logService','collaboration.closeRoom','from','YUUMI_AI_RUN_FAILED','source','_scheduleHeartbeat','function','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_messageService','runId','backgroundColor','session.collaboration-timeout','_scene','getSheetId','_docTransformSelectionsService','labelPosition','assign','type','rgba(255,\x20255,\x20255,\x200.01)','attrs','_hover','useDependency','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','undoState','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','isArray','handleInsertCol','_setupSubUnitSync','getRenderById','on-line-single','0\x200\x2017\x2016','634873kckaZn','RemoveRowCommandId','executeCommand','_initDependencies','getConfig','toString','_cursorShapes','DocSelectionManagerService','TEXT_RANGE_LAYER_INDEX','getSheetObject','debounce','docStateChange$','MoveRangeCommandId','event$','Workbook','params','getViewport','measureText','EffectRefRangId','_updateLocalCursor','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','path','roomMembers','svg','isTransformMutationFailure','@univerjs/engine-formula','_handleEvent','popstate','entityInit$','Tooltip','bottom','ENSURE_SNAPSHOT_EXECUTION','useCallback','shareReplay','result','_transformService','dispose$','collab-client.tooltip.reconnect','focused$','handleDeleteRangeMoveLeft','_disabled','react','_initResize','wsSessionTicketUrl','_cursors','DocIMEInputManagerService','jsxs','setConfig','@univerjs-pro/collaboration-client','UNRECOGNIZED','YUUMI_ALL_TABLES_IS_INVALID','_localeService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','@univerjs/engine-render','onMouseMove','_colorIndex','_collaborationUIEventService','has','getCoordByCell','getColorFromTheme','_selfUnitIDs','_commandService','UPDATE_CURSOR','_scheduleSaving','#fff','_setupBeforeClosingHandler','throttleTime','UniverDesign','current','_collabCursorController','_collabCursorState$','getOwnPropertyDescriptor','_urlService','YUUMI_RATE_OVER_LIMIT','assignAColorForMemberID','_memberService','push','_entityInit$','endColumn','_unitStatus','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','extend','collab-rect-range-','div','getFocusedUnit','override','_collabSessionService','_send','mutations','subscribeEvent','delete','tag','TOO_MANY_REQUESTS','_handleHeartbeatEvent','PERMISSION_DENIED','@univerjs-pro/collaboration','trim','_updateSubUnitFromURLParams','_getSheetObject','transformSelections','_initStatusListener','moveTo','@univerjs/core','deepClone','_labelPosition','YUUMI_TABLE_NOT_FOUND_IN_UNIT','substring','@univerjs/sheets-ui','connectInjector','get','APPLY_DUPLICATED','url(#off-line-single_clip0_910_343)','displayName','clearInterval','WebURLService','_document','whenReady','_render','getRelativeToViewportCoord','UniverEngineFormula','/run/','SNAPSHOT_INVALID_SNAPSHOT','call','takeUntil','_updateCollabCursors','runOnServer','onPointerMove$','_drawTextRange','YUUMI_ASYNCIO_CANCELLED','disposeUnit','arc','forwardRef','unit','uni.network.url-service','SetDocZoomRatioOperation','SessionStatus','url(#$1','exhaustSavingTask','rxjs/operators','CollaborationStatusDisplay','_docStateChangeManagerService','_collaborationController','OFFLINE','debug','collaboration-client-ui.config','operators','set','COMPLETION_FINISHED','_session','colorChannel1','includes','handleMoveRange','toDisposable','unitId','Unknown\x20user','dispose','getOffsetConfig','344835GsYtuq','ticket','UniverCore','SetSelectionsOperation','ICommandService','selection','editingUnit','UniverCollaborationClientUIPlugin','getValue','_docTransformStateCacheService','row','entries','SNAPSHOT_HAS_BEEN_REMOVED','toStringTag','clipPath','NOT_COLLAB','DependentOn','IMessageService','961660FMbuhU','cursorInfo','searchParams','getTypeOfUnitAdded$','mergeOverrideWithDependencies','MemberService','_handleLeaveEvent','_localStorageService','hasOwnProperty','[CollaborationDataLoaderController]','_roomMembers$','useObservable','UNAUTHENTICATED','SOCKET_FAILED_RETRY','getAncestorScale','LICENSE_IMPORT_SIZE_EXCEEDED','ranges','height','history','sheetID','YUUMI_SUBSCRIPTION_NOT_FOUND','_hideTimer','_transformPreviousActiveRange','INVALID_INVITE_CODE','_uiPartsService','_onCursorDelete','debounceTime','m2Prime','addObjects','touchDependencies','sessionTicket','string','onPointerEnter$','hide','TEXT','disposeWithMe','UNIVER_DOC','onTransformChange$','removeParam','OTHER_CLIENT_EDITING','setStateCache','SheetSkeletonManagerService','_heartbeatTimer','PY_RUNTIME_SCRIPT_ERROR','NO_OTHER_CLIENTS_EDITING','_univerInstanceService','_cachedData','getUndoRedoMutationParamsCache','addClipboardHook','DocSkeletonManagerService','green.600','black','find','5047420WvbMje','createElement','color','PENDING','name','LOGIN_FAILED','stringify','indexOf','LICENSE_EXPORT_SIZE_EXCEEDED','InsertRangeMoveRightCommandId','transformMutationsWithChangeset','data','_localCacheService','values','RemoteUniscriptService','NodePositionConvertToCursor','translate(.97)','CONNECTOR_DATA_TOO_LARGE','defs','mask','_draw','with','_cursor','SheetCollabCursorShape','min','prototype','IBeforeCloseService','WebSocketService','UniverDocs','complete','getSheetBySheetId','univerjs-icon\x20univerjs-icon-','addHandlerCallback','getMergeData','rxjs','children','setShapeProps','_range','contains','Error','ILocalStorageService','resize','getCollabCursors$','_initStatusComponent','NOT_FOUND','ISnapshotServerService','_syncEditingCollabCursorService','_getAnchorBounding','USER_NOT_INVITED_CODE','_drawAnchor','react/jsx-runtime','text','getCollabEntity$','clsx','off-line-single_clip0_910_343','Inject','RichTextEditingMutation','ONLINE','_entities','CollaborationDataLoaderController','_id','idSuffix','pipe','28458ZMBpfn','_sheetSkeletonManagerService','isTransformMutationsWithChangesetSuccess','@univerjs/network','APPLY_NON_SEQUENTIAL_REVISION','NodePositionConvertToRectRange','getActiveRange','collabStatus.conflict','urlChange$','top','addEventListener','subunit','registerBeforeClose','Vector2','_initEvent','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','replace','_notificationService','_ensureSubject','UniverProCollaborationClient','getParam','UniverInstanceType','MessageType','Tools','unitID','APPLY_REJECT','_registerRenderDependencies','LICENSE_MAX_UNITS_EXCEEDED','_handleJoinEvent','@univerjs/design','search','JOIN_ROOM_FAILED','createSocket','updateOfflineData','setAlpha','EMAIL_HAS_BEEN_BOUND','activeSheet$','RegularPolygon','_cursorInfo$','DesktopCollaborationStatusDisplayController','status$','_initCommandExecutedListener','UniverNetwork','_scheduleClearOtherTimer','serializeRangeWithSheet','code','isActive','IConfigService','size','_onCursorUpdate','saveOfflineData','toRgbString','collabStatus.fetchMiss','ILogService','_getScale','CollaborationSocketService','UniverCollaborationClientPlugin','add','YUUMI_URL_COL_OUT_OF_RANGE','registerRefRange','CLOSE_ROOM','send','getMember','concat','random','show','loadOfflineData','skeleton','init','Rect','getCellPositionByOffset','_docClipboardService','setParam','error','transformRemoteChangeset','newValue','font','_removeCollabCursors','restore','DataLoaderService','_renderManagerService','addObject','useRef','OnLineSingle','SetWorksheetActivateCommand','jsx','_online','reconnect','pushState','asObservable','RemoveColCommandId','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','saveTaskMap','pluginName','ACTIVE_UNIT_EVENT_CHANNEL','_hovered','_transformUndoRedoStack','ITransformService','memberID','_docSkeletonManagerService','registerComponent','body','startRow','startsWith','Optional','_docSyncEditingCollabCursorService','CollaborationEvent','permission.title','_startSheetCollabCursor','handleIRemoveRow','imageSourceType','UniverRpc','application/json','clearTimeout','doc.mutation.rich-text-editing'];_0x1936=function(){return _0x5611fe;};return _0x1936();}
1
+ function _0x61b4(_0x210122,_0x37e079){const _0x1978f6=_0x1978();return _0x61b4=function(_0x61b4d0,_0x239c93){_0x61b4d0=_0x61b4d0-0x10c;let _0x5bb1a7=_0x1978f6[_0x61b4d0];return _0x5bb1a7;},_0x61b4(_0x210122,_0x37e079);}function _0x1978(){const _0x593952=['getActiveSheet','values','DataLoaderService','collaboration.closeRoom','UniverEngineRender','entries','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','onPointerMove$','DocSelectionManagerService','Workbook','CollaborationEvent','getVpScrollXYInfoByPosToVp','YUUMI_SUBSCRIPTION_NOT_FOUND','useDependency','univer-flex\x20univer-mr-2\x20univer-text-xl','round','ColorKit','getDocRanges','children','debounce','fillStyle','bottom','subscribeEvent','RevisionService','_handleHover','getUniverSheetInstance','size','includes','registerDependencies','SNAPSHOT_HAS_BEEN_REMOVED','FETCH_MISS','YUUMI_TABLE_NOT_FOUND_IN_UNIT','CollaborationDataLoaderController','YUUMI_AI_RUN_FAILED','_color','redoState','LICENSE_EXPORT_SIZE_EXCEEDED','on-line-single','transformMutation','forwardRef','ILogService','SHEET_VIEWPORT_KEY','CollaborationUIEventService','_unitOnClients','combineLatest','history','LOCAL_CACHE_INTERVAL_KEY','IRemoteInstanceService','_docTransformIMECacheService','top','_scheduleClearOtherTimer','findNodePositionByCharIndex','ALREADY_EXISTS','string','disableLocalCache','measureText','backgroundColor','amd','_toggleOffline','closePath','name','_getScale','drawWith','handleMoveRange','deserializeRangeWithSheet','_lastPointer','post','sheetId','_onCursorUpdate','attrs','getOwnPropertySymbols','UniverUi','invokeId','collabStatus.synced','550484zcmnZd','getSkeleton','@univerjs/design','takeUntil','hasOwnProperty','saveTaskMap','toDisposable','@univerjs/engine-formula','labelPosition','isTransformMutationFailure','_collaborationController','@univerjs/core','_context','_instanceService','getUnhiddenWorksheets','USER_NOT_INVITED_CODE','endRow','replaceDocRanges','flatMap','LOGIN_FAILED','touchDependencies','_themeService','collabStatus.syncing','IUIPartsService','docStateChange$','_onCursorDelete','handleInsertRangeMoveRight','_registerRenderDependencies','red.300','Module','YUUMI_RATE_OVER_LIMIT','undoState','SetDocZoomRatioOperation','getCollabCursors$','collabStatus.offline','DocCollaborationEntity','source','CollaborationStatusDisplay','_selfUnitIDs','DeleteRangeMoveUpCommandId','range','Injector','UniverCore','UniverDocsUi','reconnect','call','eventID','SUBMIT_CHANGESET_TIMEOUT','whenReady','APPLY_REJECT','getColor','getAncestorScale','@univerjs/ui','YUUMI_ASYNCIO_CANCELLED','onPointerEnter$','PY_RUNTIME_SCRIPT_ERROR','replace','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UniverInstanceType','#fff','onLocalMutation','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','0\x200\x2017\x2016','min','disposeWithMe','getParam','_getSheetObject','assignAColorForMemberID','DocIMEInputManagerService','COMPLETION_FINISHED','requireSession','SessionStatus','_setupBeforeClosingHandler','extend','UniverCollaborationClientPlugin','UNIVER_SHEET','/run/','black','getCurrentUnitForType','...','_status$','Rect','_assignedColors','setAlpha','roomMembers','permission.content','merge','_drawRectRange','HEADER_MENU','CollaborationSocketService','_removeCollabCursors','_setupSubUnitSync','Vector2','_hideTimer','@univerjs/rpc','none','collabCursorState$','lineTo','getUndoRedoMutationParamsCache','PERMISSION_DENIED','_scheduleSaving','transformIMECache','_notificationService','WebBrowserSingleActiveUnitService','_collabCursorController','getTypeOfUnitAdded$','getMemberID','JOIN_ROOM_FAILED','SYNCED','OTHER_CLIENTS_EDITING','M0\x200H16V16H0z','_sheetSkeletonManagerService','UNDEFINED','UNAUTHENTICATED','_updateURLWithCurrentState','UNIVER_DOC','_dataLoaderService','resize','1em','event$','Tools','location','replaceState','data','UniverNetwork','focused$','SetWorksheetActivateCommand','switchMap','init','wsSessionTicketUrl','sessionStatus$','getValue','then','@univerjs-pro/collaboration','uni.network.url-service','ILocalStorageService','column','getOwnPropertyDescriptor','_ensureSubject','get','setConfig','subscribe','colorChannel1','triggerDblclick','_range','parse','operators','show','#FFF','ONLINE','_init','DocSkeletonManagerService','_scheduleHeartbeat','Optional','_handleEvent','sheetID','CollaborationController','translate(.97)','_clearOtherTimers','collab-text-anchor-','INTERNAL_ERROR','_online','_revisionService','9121023NqAmNc','_entityInit$','Error','CLOSE_ROOM','handleInsertRow','delete','getCollabEntity$','roomMembers$','_cursorInfo$','createInstance','currentTheme$','ICommandService','MUTATION','React','getMember','color','_collabSessionService','href','addHandlerCallback','ITransformService','CollaborationStatus','_updateLocalCursor','YUUMI_UNABLE_LOAD_URL','Shape','_localCacheService','rxjs','_getMergeRange','OFFLINE','_docSkeletonManagerService','saveOfflineData','TEXT','cursorInfo$','createSocket','onPointerLeave$','transform','onCommandExecuted','icon','div','setInterval','_textBubble','_transformPreviousActiveRange','FromArray','getRenderById','selections','_docClipboardService','throttleTime','_startDocCollabCursor','dispose$','LICENSE_DISTRO_REJECTED','@univerjs/docs','_anchorDot','getSheetObject','jsx','_docSkeleton','skeleton','NodePositionConvertToRectRange','_name','setItem','INVITE_CODE_REQUIRED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','798955xLuZbl','_collabCursorState$','_urlService','IConfigService','registerRenderModule','LICENSE_MAX_UNITS_EXCEEDED','defs','InsertRowCommandId','_initDependencies','_initCommandExecutedListener','_onRefRangeChange','Rectangle','28KvyDcu','_startSheetCollabCursor','className','indexOf','handleIRemoveCol','displayName','CONFLICT','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_doCreateSocket','pipe','key','serializeRangeWithSheet','getSheetBySheetId','_docTransformStateCacheService','collaboration.single-unit.warning','COLORS','setStateCache','SheetCollabCursorShape','UniverDocs','error','ranges','InsertRangeMoveDownCommandId','on-line-single_clip0_910_349','evenodd','getSheetId','UniverProCollaborationClient','INVALID_INVITE_CODE','_handleJoinEvent','setUndoRedoMutationParamsCache','INVALID_ARGUMENT','TRANSFORM_CHANGE_OBSERVABLE_TYPE','useCallback','unitId','_registerDependencies','_httpService','result','getFocusedUnit','701876SoIixD','deepClone','HTTPService','YUUMI_URL_COL_OUT_OF_RANGE','setShapeProps','getCoordByCell','_heartbeatTimer','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','entityInit$','push','complete','univer-flex\x20univer-items-center','DisposableCollection','USERS_LEAVE','apply','idSuffix','_shapes','_createSocketURL','connectInjector','IDocClipboardService','url(#on-line-single_clip0_910_349)','_document','text','getColorFromTheme','InsertRangeMoveRightCommandId','code','MoveRangeCommandId','_eventUnsubscribe','transformMutationsWithChangeset','SNAPSHOT_INVALID_SNAPSHOT','exports','_transformHistoryAndStateStack','save','Inject','getRangePointData','toStringTag','useObservable','IBeforeCloseService','m2Prime','_handleHeartbeatEvent','_configService','ThemeService','getLocalCacheKey','session.will-retry','APPLY_DUPLICATED','RichTextEditingMutation','body','rxjs/operators','0\x200\x2016\x2016','isEditing','hovered','transformSelections','TOO_MANY_REQUESTS','_refRangeService','collaboration-client-ui.config','_updateCollabCursors','OnLineSingle','transformByState','917754RglEZV','_renderManagerService','executeCommand','Plugin','@univerjs/sheets-ui','stringify','_backgroundColor','fill','_removeClearOtherTimer','_cachedData','defIds','@univerjs/sheets','react/jsx-runtime','saveImage','_cursor','green.600','getTypeOfUnitDisposed$','react','current','filter','RECT','_initEntityListener','_uiPartsService','@univerjs/docs-ui','restore','YUUMI_ALL_TABLES_IS_INVALID','width','forEach','RxDisposable','debounceTime','WebURLService','fillRule','SetTextSelectionsOperation','BehaviorSubject','NOT_FOUND','_logService','onRendered','_unitStatus','toString','8460424qvXOPe','getConfig','sessionTicket','subunit','session.collaboration-timeout','off-line-single','_render','blue.400','rgba(255,\x20255,\x20255,\x200.01)','_initResize','startRow','_docSyncEditingCollabCursorService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','collab-client.tooltip.reconnect','AWAITING','_localeService','clearInterval','unsubscribe','transformStateCache','@univerjs-pro/collaboration-client','IMessageService','unload','_saveTaskMap','clipPath','DocStateChangeManagerService','hide','mapTo','CollaborationUIEventId','_session','[CollaborationDataLoaderController]','map','collab-rect-range-','UnitStatus','_handleLeaveEvent','UNRECOGNIZED','setTimeout','Disposable','registerRefRange','_docStateChangeManagerService','height','WECHAT_HAS_BEEN_BOUND','BrowserCollaborationSocketService','clearTimeout','getOffsetConfig','addEventListener','Subject','mutations','ILocalCacheService','from','@univerjs/network','DOC_RANGE_TYPE','application/json','has','_id','collab-text-range-','disposeUnit','with','unshift','handleDeleteRangeMoveUp','generateRandomId','2045133njWkJD','_injector','NO_OTHER_CLIENTS_EDITING','INVITE_CODE_ALREADY_BOUND','CommandType','all','_cursors','_univerInstanceService','concat','YUUMI_NO_CUBOID_FOR_QUESTION','_beforeCloseService','_initStatusComponent','EffectRefRangId','use','_memberService','setParam','session.connection-failed','_drawAnchor','_initStatusListener','_anchor','off-line-single_clip0_910_343','arc','toRgbString','mergeOverrideWithDependencies','textRanges','override','isTransformMutationsWithChangesetSuccess','UPDATE_CURSOR','engine','IRenderManagerService','getUnitStatus$','fromEvent','UniverDesign','set','dispose','isArray','ENSURE_SNAPSHOT_EXECUTION','MessageType','asObservable','univerjs-icon\x20univerjs-icon-','syncEditingCollabCursor','_docTransformSelectionsService','handleIRemoveRow','APPLY_REVISION_CONFILICT','enableLocalCache','send','getItem','_transformService','cursorInfo','createElement','params','urlChange$','_collaborationUIEventService','_transformUndoRedoStack','startsWith','split','function','runOnServer','LocaleService','selection','addObject','newValue','Unknown\x20user','UniverProCollaboration','AWAITING_WITH_PENDING','IUniverInstanceService','APPLY_PERMISSION_DENIED','isActive','_config','DesktopCollaborationStatusDisplayController','DEFAULT_WS_SESSION_TICKET_URL','VIEW_MAIN','activeSheet$','_getAnchorBounding','NodePositionConvertToCursor','OffLineSingle','BuiltInUIPart','NOT_COLLAB','registerBeforeClose','MOBILE_HAS_BEEN_BOUND','_disabled','xlink:href','storage','unitID','exhaustSavingTask','searchParams','_labelPosition','editingUnit','SOCKET_FAILED_RETRY','_hover','getRelativeToViewportCoord','path','_send','ACTIVE_UNIT_EVENT_CHANNEL','_initEvent','endColumn','svg','CHANGESET_REVISION_CONFILICT','_cursorShapes','contains','transformRemoteChangeset','popstate','_syncEditingCollabCursorService','add','_scene','RemoteUniscriptService','purple.300','_saveCache','handleInsertCol','doc.mutation.rich-text-editing','handleInsertRangeMoveDown','currentSkeleton$','symbol','DeleteRangeMoveLeftCommandId','TEXT_RANGE_LAYER_INDEX','tag','url(#$1','RegularPolygon','updateOfflineData','debug','unit','collabStatus.fetchMiss','CollaborationSessionService','getCellPositionByOffset','_messageService','@univerjs/drawing','_refreshCollabCursors','_hovered','onStarting','actions','getUnitId','@univerjs/engine-render','ISocketService','imageSourceType','yellow.400','makeDirty','defineProperty','pushState','length','RefRangeService','_commandService','DependentOn','fillText','OTHER_CLIENT_EDITING','_roomMembers$','propertyIsEnumerable','Failed','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_localStorageService','20bTHHJj','mask','_toggleOnline','max','onMouseMove','_getSessionTicket','runId','MemberService','_entities','collaboration-client.offline-data-not-saved','Warning','[RemoteUniscriptService]:\x20no\x20focused\x20unit','assign','m1Prime','getCurrent','WebSocketService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:univer-text-gray-200','origin','getCurrentRevOfUnit','_colorIndex','url(#off-line-single_clip0_910_343)','row','_colorAssignService','next','_updateSubUnitFromURLParams','_draw','currentColor','UniverCollaborationClientUIPlugin','IImageIoService','prototype'];_0x1978=function(){return _0x593952;};return _0x1978();}(function(_0x157bb0,_0x51bec2){const _0x328283=_0x61b4,_0xe9d7ac=_0x157bb0();while(!![]){try{const _0x398bba=parseInt(_0x328283(0x2d0))/0x1+-parseInt(_0x328283(0x136))/0x2+parseInt(_0x328283(0x1d3))/0x3+parseInt(_0x328283(0x268))/0x4*(-parseInt(_0x328283(0x3af))/0x5)+parseInt(_0x328283(0x170))/0x6*(parseInt(_0x328283(0x111))/0x7)+-parseInt(_0x328283(0x197))/0x8+parseInt(_0x328283(0x373))/0x9;if(_0x398bba===_0x51bec2)break;else _0xe9d7ac['push'](_0xe9d7ac['shift']());}catch(_0x5b4203){_0xe9d7ac['push'](_0xe9d7ac['shift']());}}}(_0x1978,0x9eb30),function(_0x4b5651,_0xdb168d){const _0x2fa8a4=_0x61b4;typeof exports=='object'&&typeof module<'u'?_0xdb168d(exports,require(_0x2fa8a4(0x1aa)),require(_0x2fa8a4(0x2db)),require(_0x2fa8a4(0x256)),require(_0x2fa8a4(0x1c8)),require(_0x2fa8a4(0x187)),require(_0x2fa8a4(0x250)),require(_0x2fa8a4(0x38c)),require(_0x2fa8a4(0x3a4)),require(_0x2fa8a4(0x355)),require(_0x2fa8a4(0x2d7)),require('@univerjs/sheets'),require(_0x2fa8a4(0x165)),require(_0x2fa8a4(0x174)),require(_0x2fa8a4(0x17c)),require(_0x2fa8a4(0x304)),require(_0x2fa8a4(0x2d2)),require(_0x2fa8a4(0x181)),require('@univerjs/rpc')):typeof define==_0x2fa8a4(0x20b)&&define[_0x2fa8a4(0x2bf)]?define([_0x2fa8a4(0x154),'@univerjs-pro/collaboration-client',_0x2fa8a4(0x2db),'@univerjs/engine-render','@univerjs/network',_0x2fa8a4(0x187),_0x2fa8a4(0x250),_0x2fa8a4(0x38c),_0x2fa8a4(0x3a4),_0x2fa8a4(0x355),'@univerjs/engine-formula',_0x2fa8a4(0x17b),_0x2fa8a4(0x165),_0x2fa8a4(0x174),_0x2fa8a4(0x17c),'@univerjs/ui',_0x2fa8a4(0x2d2),_0x2fa8a4(0x181),_0x2fa8a4(0x32e)],_0xdb168d):(_0x4b5651=typeof globalThis<'u'?globalThis:_0x4b5651||self,_0xdb168d(_0x4b5651['UniverProCollaborationClientUi']={},_0x4b5651[_0x2fa8a4(0x12a)],_0x4b5651[_0x2fa8a4(0x2fa)],_0x4b5651[_0x2fa8a4(0x28a)],_0x4b5651[_0x2fa8a4(0x34c)],_0x4b5651[_0x2fa8a4(0x2fb)],_0x4b5651['UniverDrawing'],_0x4b5651['rxjs'],_0x4b5651[_0x2fa8a4(0x123)],_0x4b5651[_0x2fa8a4(0x212)],_0x4b5651['UniverEngineFormula'],_0x4b5651['UniverSheets'],_0x4b5651[_0x2fa8a4(0x38c)][_0x2fa8a4(0x362)],_0x4b5651['UniverSheetsUi'],_0x4b5651[_0x2fa8a4(0x380)],_0x4b5651[_0x2fa8a4(0x2cd)],_0x4b5651[_0x2fa8a4(0x1f3)],_0x4b5651[_0x2fa8a4(0x380)],_0x4b5651['UniverRpc']));}(this,function(_0x4efe22,_0xf278db,_0x1530e5,_0x37f675,_0xde26a9,_0x3bb97e,_0x2c76e0,_0x42b625,_0x15f850,_0x19cd12,_0x2c554f,_0x347355,_0x38f9df,_0xd51ed0,_0x4067fa,_0x20e392,_0x44d5a0,_0x32bdf6,_0x4f3920){'use strict';const _0x3bd79c=_0x61b4;var _0xb6a82e=Object[_0x3bd79c(0x25b)],_0x1bdbce=(_0x1947ff,_0xda5628,_0x5026bb)=>_0xda5628 in _0x1947ff?_0xb6a82e(_0x1947ff,_0xda5628,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5026bb}):_0x1947ff[_0xda5628]=_0x5026bb,_0x3b9fde=(_0x41667f,_0x3c645d,_0x5aab59)=>_0x1bdbce(_0x41667f,typeof _0x3c645d!=_0x3bd79c(0x243)?_0x3c645d+'':_0x3c645d,_0x5aab59),_0x29a439=Object[_0x3bd79c(0x359)],_0x816cc2=(_0x32c423,_0x289110,_0x4f2373,_0x447a58)=>{const _0x393197=_0x3bd79c;for(var _0x34e7ec=_0x447a58>0x1?void 0x0:_0x447a58?_0x29a439(_0x289110,_0x4f2373):_0x289110,_0x1cf3c5=_0x32c423[_0x393197(0x25d)]-0x1,_0x3225cd;_0x1cf3c5>=0x0;_0x1cf3c5--)(_0x3225cd=_0x32c423[_0x1cf3c5])&&(_0x34e7ec=_0x3225cd(_0x34e7ec)||_0x34e7ec);return _0x34e7ec;},_0x48ea9b=(_0x5acb20,_0x1cdb9c)=>(_0x4244d9,_0x479317)=>_0x1cdb9c(_0x4244d9,_0x479317,_0x5acb20);let _0x80e98c=class extends _0x1530e5[_0x3bd79c(0x18c)]{constructor(_0x2997ae,_0x3898fb){const _0x1cdea4=_0x3bd79c;super(),this[_0x1cdea4(0x39f)]=_0x2997ae,this['_imageIoService']=_0x3898fb,this[_0x1cdea4(0x366)]();}['_init'](){const _0x27e277=_0x3bd79c,_0xa81e79=this;this[_0x27e277(0x310)](this[_0x27e277(0x39f)]['addClipboardHook']({'onBeforePasteImage':async _0x4bbe1a=>{const _0xe2d82c=_0x27e277,_0x2f4eb5=await _0xa81e79['_imageIoService'][_0xe2d82c(0x17d)](_0x4bbe1a);return _0x2f4eb5?{'source':_0x2f4eb5[_0xe2d82c(0x2f4)],'imageSourceType':_0x2f4eb5[_0xe2d82c(0x258)]}:null;}}));}};_0x80e98c=_0x816cc2([_0x48ea9b(0x0,_0x3bb97e[_0x3bd79c(0x149)]),_0x48ea9b(0x1,_0x2c76e0[_0x3bd79c(0x284)])],_0x80e98c);const _0x5c44d5=[_0x3bd79c(0x23d),'jiqing.500',_0x3bd79c(0x17f),_0x3bd79c(0x2ec),_0x3bd79c(0x19e),_0x3bd79c(0x259)];class _0x178111 extends _0x1530e5[_0x3bd79c(0x1bb)]{constructor(){const _0x11299b=_0x3bd79c;super(...arguments),_0x3b9fde(this,_0x11299b(0x322),new Map()),_0x3b9fde(this,_0x11299b(0x27b),0x0);}[_0x3bd79c(0x313)](_0x5ccb0f){const _0x1dd9d3=_0x3bd79c;if(this[_0x1dd9d3(0x322)][_0x1dd9d3(0x1cb)](_0x5ccb0f))return this[_0x1dd9d3(0x322)][_0x1dd9d3(0x35b)](_0x5ccb0f);const _0x147e7c=_0x5c44d5[this[_0x1dd9d3(0x27b)]];return this['_colorIndex']=(this[_0x1dd9d3(0x27b)]+0x1)%_0x5c44d5[_0x1dd9d3(0x25d)],this[_0x1dd9d3(0x322)][_0x1dd9d3(0x1f4)](_0x5ccb0f,_0x147e7c),_0x147e7c;}}function _0x17ffc8(_0x1f61e1){let _0x446692='';for(const _0xed7aab of _0x1f61e1){const {startOffset:_0x3d76,endOffset:_0x538536,isActive:_0x507e05,rangeType:_0xd15aab,segmentId:_0x5e9cd3,segmentPage:_0x2b60ac}=_0xed7aab;_0x446692['length']&&(_0x446692+=','),_0x446692+=_0x3d76+':'+_0x538536+':'+(_0x507e05?'1':'0')+':'+_0xd15aab+':'+_0x5e9cd3+':'+_0x2b60ac;}return _0x446692;}function _0x236fad(_0x2ef3b1){const _0x469e3b=_0x3bd79c,_0x139fdd=_0x2ef3b1[_0x469e3b(0x20a)](','),_0x16c5e9=[];for(const _0x3bdaa0 of _0x139fdd){const [_0xcf9914,_0x1acc08,_0x56def8,_0x14ef44,_0x1ccb95,_0x4217f6]=_0x3bdaa0[_0x469e3b(0x20a)](':');_0x16c5e9['push']({'startOffset':Number(_0xcf9914),'endOffset':Number(_0x1acc08),'collapsed':_0xcf9914===_0x1acc08,'isActive':_0x56def8==='1','rangeType':_0x14ef44===_0x1530e5[_0x469e3b(0x1c9)][_0x469e3b(0x391)]?_0x1530e5[_0x469e3b(0x1c9)][_0x469e3b(0x391)]:_0x1530e5[_0x469e3b(0x1c9)][_0x469e3b(0x184)],'segmentId':typeof _0x1ccb95==_0x469e3b(0x2bb)?String(_0x1ccb95):'','segmentPage':Number(_0x4217f6!=null?_0x4217f6:-0x1)});}return _0x16c5e9['some'](_0x193047=>_0x193047[_0x469e3b(0x216)])||(_0x16c5e9[0x0][_0x469e3b(0x216)]=!0x0),_0x16c5e9;}class _0x88fed9 extends _0x1530e5[_0x3bd79c(0x18c)]{constructor(){const _0x179fbb=_0x3bd79c;super(...arguments),_0x3b9fde(this,'_collabCursorState$',new _0x42b625[(_0x179fbb(0x191))](null)),_0x3b9fde(this,_0x179fbb(0x330),this[_0x179fbb(0x3b0)][_0x179fbb(0x1f9)]());}[_0x3bd79c(0x1fb)](_0x19310b){const _0x1d4f56=_0x3bd79c,{unitID:_0x484c25,memberID:_0xe02dd4,textRanges:_0x766a1}=_0x19310b,_0x3bec38=_0x17ffc8(_0x766a1);if(_0x3bec38==='')return;const _0x266ff1={'unitID':_0x484c25,'memberID':_0xe02dd4,'selection':_0x3bec38};this[_0x1d4f56(0x3b0)][_0x1d4f56(0x27f)](_0x266ff1);}}var _0x57a694=Object['getOwnPropertyDescriptor'],_0x3c984e=(_0x47655e,_0x279baa,_0x114735,_0xe008bb)=>{const _0x3455de=_0x3bd79c;for(var _0x58cc90=_0xe008bb>0x1?void 0x0:_0xe008bb?_0x57a694(_0x279baa,_0x114735):_0x279baa,_0x5528a1=_0x47655e[_0x3455de(0x25d)]-0x1,_0x1c4dcd;_0x5528a1>=0x0;_0x5528a1--)(_0x1c4dcd=_0x47655e[_0x5528a1])&&(_0x58cc90=_0x1c4dcd(_0x58cc90)||_0x58cc90);return _0x58cc90;},_0x3a5a3a=(_0x2a5b79,_0x54fffb)=>(_0x528b53,_0x420cb6)=>_0x54fffb(_0x528b53,_0x420cb6,_0x2a5b79);const _0x49b9a4=0x12c,_0x119fd7=0x64;let _0x3ad7d0=class extends _0x1530e5[_0x3bd79c(0x18c)]{constructor(_0x5f10fd,_0xb89c0d,_0x4650c0,_0x102cbd,_0x38fb43,_0x282e60,_0x7b97cd,_0x1ff4a5,_0x2f6e96){const _0x1c3b64=_0x3bd79c;super(),_0x3b9fde(this,_0x1c3b64(0x371),!0x1),_0x3b9fde(this,'_init',!0x1),_0x3b9fde(this,'_cursorInfo$',new _0x42b625[(_0x1c3b64(0x191))](new Map())),_0x3b9fde(this,'cursorInfo$',this[_0x1c3b64(0x37b)][_0x1c3b64(0x1f9)]()),_0x3b9fde(this,_0x1c3b64(0x263),new _0x42b625[(_0x1c3b64(0x191))]([])),_0x3b9fde(this,_0x1c3b64(0x37a),this[_0x1c3b64(0x263)][_0x1c3b64(0x11a)](_0x42b625['debounceTime'](_0x49b9a4))),_0x3b9fde(this,_0x1c3b64(0x388),_0x1530e5[_0x1c3b64(0x299)](_0x29711b=>{const _0x4662db=_0x1c3b64,_0x24d260={'eventID':_0x19cd12[_0x4662db(0x290)][_0x4662db(0x1ee)],'data':{'unitID':this[_0x4662db(0x226)],'memberID':this['_session']['getMemberID'](),'selection':_0x17ffc8(_0x29711b)}};this['_session'][_0x4662db(0x200)](_0x24d260,this['unitID']);},_0x119fd7)),(this[_0x1c3b64(0x226)]=_0x5f10fd,this[_0x1c3b64(0x1b3)]=_0xb89c0d,this['_injector']=_0x4650c0,this['_colorAssignService']=_0x102cbd,this[_0x1c3b64(0x1e1)]=_0x38fb43,this[_0x1c3b64(0x239)]=_0x282e60,this[_0x1c3b64(0x202)]=_0x7b97cd,this[_0x1c3b64(0x1da)]=_0x1ff4a5,this[_0x1c3b64(0x25f)]=_0x2f6e96);}get['cursorInfo'](){const _0x5e8270=_0x3bd79c;return this[_0x5e8270(0x37b)][_0x5e8270(0x353)]();}get[_0x3bd79c(0x324)](){const _0xc2ba5e=_0x3bd79c;return this[_0xc2ba5e(0x263)]['getValue']();}[_0x3bd79c(0x1f5)](){const _0x93d50b=_0x3bd79c;super['dispose'](),this[_0x93d50b(0x37b)][_0x93d50b(0x27f)](new Map()),this['_cursorInfo$'][_0x93d50b(0x140)](),this[_0x93d50b(0x263)][_0x93d50b(0x27f)]([]),this[_0x93d50b(0x263)]['complete']();}['init'](){const _0x15d816=_0x3bd79c;this['_init']||(this[_0x15d816(0x366)]=!0x0,this['_session'][_0x15d816(0x352)]['pipe'](_0x42b625[_0x15d816(0x2d3)](this['dispose$']))[_0x15d816(0x35d)](_0x49bb83=>{const _0x20b374=_0x15d816;_0x49bb83===_0xf278db[_0x20b374(0x317)][_0x20b374(0x365)]?this[_0x20b374(0x26a)]():this['_toggleOffline']();}),this[_0x15d816(0x1b3)]['event$'][_0x15d816(0x11a)](_0x42b625[_0x15d816(0x2d3)](this[_0x15d816(0x3a2)]))[_0x15d816(0x35d)](_0x30cf4a=>{const _0xf2872d=_0x15d816,_0x5897da=_0x30cf4a[_0xf2872d(0x2fe)];_0x5897da===_0x19cd12[_0xf2872d(0x290)][_0xf2872d(0x1ee)]&&this['_onCursorUpdate'](_0x30cf4a),_0x5897da===_0x19cd12[_0xf2872d(0x290)][_0xf2872d(0x143)]&&this[_0xf2872d(0x2e9)](_0x30cf4a);}),this[_0x15d816(0x310)](this[_0x15d816(0x25f)][_0x15d816(0x396)](_0x8c7eaa=>{const _0x5c4c3c=_0x15d816,_0x3fefa3=_0x8c7eaa[_0x5c4c3c(0x205)];_0x3fefa3!=null&&this['_online']&&_0x8c7eaa['id']===_0x15f850[_0x5c4c3c(0x190)]['id']&&_0x3fefa3[_0x5c4c3c(0x131)]===this[_0x5c4c3c(0x226)]&&_0x3fefa3[_0x5c4c3c(0x167)]===!0x1&&_0x3fefa3[_0x5c4c3c(0x125)][_0x5c4c3c(0x25d)]>0x0&&this['_updateLocalCursor'](_0x3fefa3[_0x5c4c3c(0x125)]);})),this[_0x15d816(0x239)]['collabCursorState$'][_0x15d816(0x11a)](_0x42b625[_0x15d816(0x2d3)](this['dispose$']))[_0x15d816(0x35d)](_0x514e93=>{const _0x4b3b6c=_0x15d816;if((_0x514e93==null?void 0x0:_0x514e93[_0x4b3b6c(0x226)])!==this['unitID'])return;const _0x34b471={'eventID':_0x19cd12[_0x4b3b6c(0x290)][_0x4b3b6c(0x1ee)],'data':_0x514e93};this[_0x4b3b6c(0x2ca)](_0x34b471);}),this[_0x15d816(0x310)](this[_0x15d816(0x25f)][_0x15d816(0x396)](_0x41070c=>{const _0x19e353=_0x15d816;if(_0x41070c['params']==null)return;const _0x42b7d4=_0x41070c[_0x19e353(0x205)];if(_0x41070c['id']!==_0x15f850[_0x19e353(0x163)]['id']||_0x42b7d4[_0x19e353(0x131)]!==this[_0x19e353(0x226)])return;const _0x4b2c01={'id':'doc.mutation.rich-text-editing','params':_0x42b7d4},_0x4f65dc=this['cursorInfo'];for(const [_0x4fd22b,_0x512bdf]of _0x4f65dc){const _0x197a66={'id':_0x19e353(0x240),'params':{'unitId':this[_0x19e353(0x226)],'actions':null,'textRanges':_0x512bdf[_0x19e353(0x125)]}},_0x1e50e7=this[_0x19e353(0x202)][_0x19e353(0x2ac)](_0x4b2c01,_0x197a66,!0x1);if(_0x19cd12[_0x19e353(0x2d9)](_0x1e50e7))throw _0x1e50e7[_0x19e353(0x124)];_0x4f65dc['set'](_0x4fd22b,{..._0x512bdf,'ranges':_0x1e50e7[_0x19e353(0x15c)]['params']['textRanges']});}queueMicrotask(()=>{const _0x2b5d26=_0x19e353;this[_0x2b5d26(0x37b)][_0x2b5d26(0x27f)](_0x4f65dc);});})));}[_0x3bd79c(0x2ca)](_0x194dae){const _0x5691ce=_0x3bd79c;var _0x4b542c,_0x3367ea;const {memberID:_0x2e0531,selection:_0xec7648}=_0x194dae[_0x5691ce(0x34b)],_0x2e1c6b=_0x236fad(_0xec7648),_0x5e3940=(_0x3367ea=(_0x4b542c=this[_0x5691ce(0x1e1)][_0x5691ce(0x381)](this[_0x5691ce(0x226)],_0x2e0531))==null?void 0x0:_0x4b542c[_0x5691ce(0x2c2)])!=null?_0x3367ea:_0x5691ce(0x211),_0xbf393b={'color':this[_0x5691ce(0x27e)][_0x5691ce(0x313)](_0x2e0531),'name':_0x5e3940,'ranges':_0x2e1c6b},_0x6290d5=this[_0x5691ce(0x203)];_0x6290d5[_0x5691ce(0x1f4)](_0x2e0531,_0xbf393b),this[_0x5691ce(0x37b)][_0x5691ce(0x27f)](_0x6290d5);}[_0x3bd79c(0x2e9)](_0x152e8a){const _0x59c926=_0x3bd79c,{memberID:_0x402bb1}=_0x152e8a[_0x59c926(0x34b)],_0x4c40a8=this[_0x59c926(0x203)];_0x4c40a8[_0x59c926(0x378)](_0x402bb1),this['_cursorInfo$'][_0x59c926(0x27f)](_0x4c40a8);}[_0x3bd79c(0x26a)](){const _0x336a12=_0x3bd79c;var _0x36bbf3;if(this[_0x336a12(0x371)]=!0x0,((_0x36bbf3=this[_0x336a12(0x1da)][_0x336a12(0x135)]())==null?void 0x0:_0x36bbf3[_0x336a12(0x255)]())!==this[_0x336a12(0x226)])return;const _0x301c63=this['_injector'][_0x336a12(0x35b)](_0x15f850[_0x336a12(0x28e)])[_0x336a12(0x297)]();Array[_0x336a12(0x1f6)](_0x301c63)&&_0x301c63[_0x336a12(0x25d)]>0x0&&this['_updateLocalCursor'](_0x301c63);}[_0x3bd79c(0x2c0)](){this['_online']=!0x1;}};_0x3ad7d0=_0x3c984e([_0x3a5a3a(0x2,_0x1530e5[_0x3bd79c(0x157)](_0x1530e5['Injector'])),_0x3a5a3a(0x3,_0x1530e5[_0x3bd79c(0x157)](_0x178111)),_0x3a5a3a(0x4,_0x1530e5[_0x3bd79c(0x157)](_0xf278db[_0x3bd79c(0x26f)])),_0x3a5a3a(0x5,_0x1530e5[_0x3bd79c(0x157)](_0x88fed9)),_0x3a5a3a(0x6,_0x19cd12[_0x3bd79c(0x386)]),_0x3a5a3a(0x7,_0x1530e5[_0x3bd79c(0x214)]),_0x3a5a3a(0x8,_0x1530e5[_0x3bd79c(0x37e)])],_0x3ad7d0);var _0x1c56df=Object[_0x3bd79c(0x359)],_0x106078=(_0x1beb2e,_0x5009ff,_0x1d77bc,_0x1e67b3)=>{const _0x25525c=_0x3bd79c;for(var _0x13e729=_0x1e67b3>0x1?void 0x0:_0x1e67b3?_0x1c56df(_0x5009ff,_0x1d77bc):_0x5009ff,_0x15f511=_0x1beb2e[_0x25525c(0x25d)]-0x1,_0x5785d8;_0x15f511>=0x0;_0x15f511--)(_0x5785d8=_0x1beb2e[_0x15f511])&&(_0x13e729=_0x5785d8(_0x13e729)||_0x13e729);return _0x13e729;},_0x1285a9=(_0xcd46e2,_0x55f901)=>(_0x299ea6,_0x54a113)=>_0x55f901(_0x299ea6,_0x54a113,_0xcd46e2);const _0x417eee=0x12c,_0x32787f=0x64,_0x4ea0cb=()=>{let _0x5ec3c9=[],_0x4bb39b=!0x1;return _0x132e35=>{const _0x4345e9=_0x61b4;_0x5ec3c9[_0x4345e9(0x13f)](_0x132e35),_0x4bb39b||(_0x4bb39b=!0x0,setTimeout(()=>{const _0x4e8c35=_0x4345e9;_0x5ec3c9[_0x4e8c35(0x18b)](_0x7f2c52=>_0x7f2c52()),_0x5ec3c9=[],_0x4bb39b=!0x1;}));};};let _0x55c5d3=class extends _0x1530e5[_0x3bd79c(0x18c)]{constructor(_0x3eff06,_0x8575d7,_0x3ef864,_0xb9d5bc,_0xedafc1,_0x443bed,_0x11aa16,_0x59d0cd){const _0x3bbdef=_0x3bd79c;super(),_0x3b9fde(this,_0x3bbdef(0x371),!0x1),_0x3b9fde(this,'_init',!0x1),_0x3b9fde(this,'_cursorInfo$',new _0x42b625['BehaviorSubject'](new Map())),_0x3b9fde(this,_0x3bbdef(0x392),this['_cursorInfo$'][_0x3bbdef(0x1f9)]()),_0x3b9fde(this,'_roomMembers$',new _0x42b625['BehaviorSubject']([])),_0x3b9fde(this,_0x3bbdef(0x37a),this[_0x3bbdef(0x263)][_0x3bbdef(0x11a)](_0x42b625[_0x3bbdef(0x18d)](_0x417eee))),_0x3b9fde(this,_0x3bbdef(0x388),_0x1530e5[_0x3bbdef(0x299)]((_0x2b1313,_0x5e6f34)=>{const _0x422f9e=_0x3bbdef,_0x53ebf7={'eventID':_0x19cd12[_0x422f9e(0x290)][_0x422f9e(0x1ee)],'data':{'unitID':this[_0x422f9e(0x226)],'memberID':this[_0x422f9e(0x1b3)][_0x422f9e(0x33a)](),'selection':_0x2c554f[_0x422f9e(0x11c)](_0x2b1313,_0x5e6f34['range'])}};this['_session']['send'](_0x53ebf7,this[_0x422f9e(0x226)]);},_0x32787f)),(this[_0x3bbdef(0x226)]=_0x3eff06,this[_0x3bbdef(0x1b3)]=_0x8575d7,this[_0x3bbdef(0x1d4)]=_0x3ef864,this['_colorAssignService']=_0xb9d5bc,this[_0x3bbdef(0x1e1)]=_0xedafc1,this[_0x3bbdef(0x1da)]=_0x443bed,this['_commandService']=_0x11aa16,this['_refRangeService']=_0x59d0cd);}get[_0x3bd79c(0x203)](){const _0x28b651=_0x3bd79c;return this[_0x28b651(0x37b)][_0x28b651(0x353)]();}get['roomMembers'](){const _0x4d6ce7=_0x3bd79c;return this[_0x4d6ce7(0x263)][_0x4d6ce7(0x353)]();}[_0x3bd79c(0x1f5)](){const _0x341562=_0x3bd79c;super['dispose'](),this[_0x341562(0x37b)][_0x341562(0x27f)](new Map()),this[_0x341562(0x37b)]['complete'](),this[_0x341562(0x263)][_0x341562(0x27f)]([]),this['_roomMembers$']['complete']();}[_0x3bd79c(0x350)](){const _0x64e543=_0x3bd79c;this['_init']||(this[_0x64e543(0x366)]=!0x0,this[_0x64e543(0x1b3)][_0x64e543(0x352)][_0x64e543(0x11a)](_0x42b625[_0x64e543(0x2d3)](this[_0x64e543(0x3a2)]))['subscribe'](_0x46ee5b=>{const _0x19483f=_0x64e543;_0x46ee5b===_0xf278db[_0x19483f(0x317)][_0x19483f(0x365)]?this['_toggleOnline']():this[_0x19483f(0x2c0)]();}),this[_0x64e543(0x1b3)][_0x64e543(0x347)][_0x64e543(0x11a)](_0x42b625[_0x64e543(0x2d3)](this[_0x64e543(0x3a2)]))[_0x64e543(0x35d)](_0x48507c=>{const _0x329e51=_0x64e543,_0x1ab1dc=_0x48507c[_0x329e51(0x2fe)];_0x1ab1dc===_0x19cd12[_0x329e51(0x290)]['UPDATE_CURSOR']&&this[_0x329e51(0x2ca)](_0x48507c),_0x1ab1dc===_0x19cd12[_0x329e51(0x290)][_0x329e51(0x143)]&&this[_0x329e51(0x2e9)](_0x48507c);}),this[_0x64e543(0x10f)](),this['disposeWithMe'](this[_0x64e543(0x25f)][_0x64e543(0x396)](_0x154be8=>{const _0x381d01=_0x64e543;if(this[_0x381d01(0x371)]&&_0x154be8['id']===_0x347355['SetSelectionsOperation']['id']&&_0x154be8[_0x381d01(0x205)][_0x381d01(0x131)]===this[_0x381d01(0x226)]){const _0x5ce2c5=_0x154be8[_0x381d01(0x205)];this[_0x381d01(0x388)](_0x5ce2c5['subUnitId'],_0x5ce2c5[_0x381d01(0x39e)][0x0]);}})));}[_0x3bd79c(0x2ca)](_0x5a5348){const _0x3ea6b7=_0x3bd79c;var _0x391133,_0x253fe4;const {memberID:_0x42e2b1,selection:_0x2a6690}=_0x5a5348[_0x3ea6b7(0x34b)],{sheetName:_0x196b6,range:_0x390ef9}=_0x2c554f[_0x3ea6b7(0x2c6)](_0x2a6690),_0x3a3eea={'name':(_0x253fe4=(_0x391133=this['_memberService'][_0x3ea6b7(0x381)](this['unitID'],_0x42e2b1))==null?void 0x0:_0x391133[_0x3ea6b7(0x2c2)])!=null?_0x253fe4:_0x3ea6b7(0x211),'range':this[_0x3ea6b7(0x38d)](_0x196b6,_0x390ef9),'sheetID':_0x196b6,'color':this['_colorAssignService'][_0x3ea6b7(0x313)](_0x42e2b1),'selection':_0x2a6690},_0x2dd338=this[_0x3ea6b7(0x203)];_0x2dd338[_0x3ea6b7(0x1f4)](_0x42e2b1,_0x3a3eea),this['_cursorInfo$']['next'](_0x2dd338);}[_0x3bd79c(0x2e9)](_0x196f1d){const _0x48124b=_0x3bd79c,{memberID:_0x57e30c}=_0x196f1d['data'],_0x394378=this['cursorInfo'];_0x394378[_0x48124b(0x378)](_0x57e30c),this[_0x48124b(0x37b)][_0x48124b(0x27f)](_0x394378);}[_0x3bd79c(0x38d)](_0x3b4115,_0x25a21c){const _0x401d76=_0x3bd79c;var _0x1ec137,_0x1813b1;const _0x4cd82b=(_0x1813b1=(_0x1ec137=this['_univerInstanceService'][_0x401d76(0x29f)](this['unitID']))==null?void 0x0:_0x1ec137['getSheetBySheetId'](_0x3b4115))==null?void 0x0:_0x1813b1['getMergeData']();return(_0x4cd82b==null?void 0x0:_0x4cd82b['find'](_0x5d7e86=>_0x1530e5[_0x401d76(0x110)][_0x401d76(0x236)](_0x5d7e86,_0x25a21c)))||_0x25a21c;}[_0x3bd79c(0x10f)](){const _0x133e2e=_0x3bd79c,_0x3f774f=new _0x1530e5[(_0x133e2e(0x142))](),_0x52366a=_0x4ea0cb(),_0x58d717=()=>{const _0x4c1edd=_0x133e2e;_0x3f774f['dispose']();const _0xeab552=(_0x4368ab,_0x14c5b7,_0x47f780,_0x59580b)=>{const _0x428d83=_0x61b4;let _0x4fea66=[];switch(_0x4368ab['id']){case _0x347355[_0x428d83(0x1df)][_0x428d83(0x244)]:{_0x4fea66=_0x347355['handleDeleteRangeMoveLeft'](_0x4368ab,_0x59580b);break;}case _0x347355[_0x428d83(0x1df)][_0x428d83(0x2f7)]:{_0x4fea66=_0x347355[_0x428d83(0x1d1)](_0x4368ab,_0x59580b);break;}case _0x347355[_0x428d83(0x1df)]['InsertColCommandId']:{_0x4fea66=_0x347355[_0x428d83(0x23f)](_0x4368ab,_0x59580b);break;}case _0x347355[_0x428d83(0x1df)][_0x428d83(0x126)]:{_0x4fea66=_0x347355[_0x428d83(0x241)](_0x4368ab,_0x59580b);break;}case _0x347355[_0x428d83(0x1df)][_0x428d83(0x14e)]:{_0x4fea66=_0x347355[_0x428d83(0x2ea)](_0x4368ab,_0x59580b);break;}case _0x347355[_0x428d83(0x1df)][_0x428d83(0x10c)]:{_0x4fea66=_0x347355[_0x428d83(0x377)](_0x4368ab,_0x59580b);break;}case _0x347355[_0x428d83(0x1df)][_0x428d83(0x150)]:{_0x4fea66=_0x347355[_0x428d83(0x2c5)](_0x4368ab,_0x59580b);break;}case _0x347355[_0x428d83(0x1df)]['RemoveColCommandId']:{_0x4fea66=_0x347355[_0x428d83(0x115)](_0x4368ab,_0x59580b);break;}case _0x347355[_0x428d83(0x1df)]['RemoveRowCommandId']:{_0x4fea66=_0x347355[_0x428d83(0x1fd)](_0x4368ab,_0x59580b);break;}}const _0x1a5726=_0x347355['runRefRangeMutations'](_0x4fea66,_0x59580b),_0x5e8a80=this[_0x428d83(0x203)][_0x428d83(0x35b)](_0x14c5b7);if(_0x5e8a80&&_0x1a5726){const _0x464332={..._0x5e8a80,'range':_0x1a5726};this[_0x428d83(0x203)][_0x428d83(0x1f4)](_0x14c5b7,_0x464332),_0x52366a(()=>{const _0x45ea5a=_0x428d83,_0x5e5b6b=this['_refRangeService'][_0x45ea5a(0x1bc)](_0x1a5726,_0x52b362=>(_0x5e5b6b[_0x45ea5a(0x1f5)](),_0xeab552(_0x52b362,_0x14c5b7,_0x47f780,_0x1a5726)));_0x3f774f[_0x45ea5a(0x23a)](_0x5e5b6b);});}return{'redos':[],'undos':[]};};this[_0x4c1edd(0x203)][_0x4c1edd(0x18b)]((_0x388107,_0x47cb66)=>{const _0x2ca64c=_0x4c1edd,{range:_0x38f6b7,sheetID:_0x43e0f5}=_0x388107,_0x18b9c2=this[_0x2ca64c(0x16b)][_0x2ca64c(0x1bc)](_0x38f6b7,_0x20fae0=>(_0x18b9c2[_0x2ca64c(0x1f5)](),_0xeab552(_0x20fae0,_0x47cb66,_0x43e0f5,_0x38f6b7)));_0x3f774f[_0x2ca64c(0x23a)](_0x18b9c2);});};this[_0x133e2e(0x310)](_0x1530e5[_0x133e2e(0x2d6)](this[_0x133e2e(0x37b)][_0x133e2e(0x35d)](()=>{_0x58d717();})));}[_0x3bd79c(0x26a)](){const _0x3cde5f=_0x3bd79c;var _0x45b645,_0x5175c1;if(this[_0x3cde5f(0x371)]=!0x0,((_0x45b645=this[_0x3cde5f(0x1da)][_0x3cde5f(0x135)]())==null?void 0x0:_0x45b645[_0x3cde5f(0x255)]())!==this[_0x3cde5f(0x226)])return;const _0x25b3e5=(_0x5175c1=this[_0x3cde5f(0x1d4)]['get'](_0x347355['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x5175c1[0x0],_0x154b33=this['_univerInstanceService'][_0x3cde5f(0x31e)](_0x1530e5[_0x3cde5f(0x30a)]['UNIVER_SHEET'])['getActiveSheet']();_0x25b3e5&&_0x154b33&&this[_0x3cde5f(0x388)](_0x154b33[_0x3cde5f(0x129)](),_0x25b3e5);}['_toggleOffline'](){this['_online']=!0x1;}};_0x55c5d3=_0x106078([_0x1285a9(0x2,_0x1530e5[_0x3bd79c(0x157)](_0x1530e5[_0x3bd79c(0x2f9)])),_0x1285a9(0x3,_0x1530e5[_0x3bd79c(0x157)](_0x178111)),_0x1285a9(0x4,_0x1530e5[_0x3bd79c(0x157)](_0xf278db[_0x3bd79c(0x26f)])),_0x1285a9(0x5,_0x1530e5[_0x3bd79c(0x214)]),_0x1285a9(0x6,_0x1530e5['ICommandService']),_0x1285a9(0x7,_0x1530e5['Inject'](_0x347355[_0x3bd79c(0x25e)]))],_0x55c5d3);var _0x24d28e=Object[_0x3bd79c(0x359)],_0x23ca0f=(_0x5a005b,_0x3055b8,_0x412b32,_0x5f4d8e)=>{for(var _0x1ae755=_0x5f4d8e>0x1?void 0x0:_0x5f4d8e?_0x24d28e(_0x3055b8,_0x412b32):_0x3055b8,_0x211746=_0x5a005b['length']-0x1,_0x55b1c3;_0x211746>=0x0;_0x211746--)(_0x55b1c3=_0x5a005b[_0x211746])&&(_0x1ae755=_0x55b1c3(_0x1ae755)||_0x1ae755);return _0x1ae755;},_0x27f586=(_0x4d67ff,_0x852a53)=>(_0x4b0c61,_0x440311)=>_0x852a53(_0x4b0c61,_0x440311,_0x4d67ff);let _0x2fd1a4=class extends _0x1530e5[_0x3bd79c(0x18c)]{constructor(_0x23887b,_0x566e9d,_0x5f3999){const _0x3c18bd=_0x3bd79c;super(),_0x3b9fde(this,'_entities',new Map()),_0x3b9fde(this,_0x3c18bd(0x374),new _0x42b625[(_0x3c18bd(0x1c4))]()),(this[_0x3c18bd(0x1da)]=_0x23887b,this[_0x3c18bd(0x1d4)]=_0x566e9d,this[_0x3c18bd(0x383)]=_0x5f3999,this[_0x3c18bd(0x366)]());}['dispose'](){const _0x24b510=_0x3bd79c;super[_0x24b510(0x1f5)](),this[_0x24b510(0x374)][_0x24b510(0x140)](),this[_0x24b510(0x270)][_0x24b510(0x18b)](_0x3393b8=>_0x3393b8[_0x24b510(0x1f5)]());}['getCollabCursors$'](_0x476a63){const _0x44644a=_0x3bd79c;return this['_entities'][_0x44644a(0x1cb)](_0x476a63)?this[_0x44644a(0x270)]['get'](_0x476a63)[_0x44644a(0x392)]:this[_0x44644a(0x374)][_0x44644a(0x11a)](_0x42b625[_0x44644a(0x183)](_0x1f12af=>_0x1f12af[_0x44644a(0x226)]===_0x476a63),_0x42b625['switchMap'](_0x9742c7=>_0x9742c7['cursorInfo$']));}[_0x3bd79c(0x366)](){const _0x3596ec=_0x3bd79c;this[_0x3596ec(0x1da)][_0x3596ec(0x339)](_0x1530e5[_0x3596ec(0x30a)][_0x3596ec(0x31b)])['pipe'](_0x42b625[_0x3596ec(0x2d3)](this[_0x3596ec(0x3a2)]))[_0x3596ec(0x35d)](async _0x5e096f=>{const _0xcc136b=_0x3596ec,_0x1e66f7=_0x5e096f['getUnitId'](),_0x4904f8=await this[_0xcc136b(0x112)](_0x1e66f7);this[_0xcc136b(0x374)]['next'](_0x4904f8),this[_0xcc136b(0x270)]['set'](_0x1e66f7,_0x4904f8);}),this[_0x3596ec(0x1da)]['getTypeOfUnitAdded$'](_0x1530e5[_0x3596ec(0x30a)][_0x3596ec(0x343)])[_0x3596ec(0x11a)](_0x42b625[_0x3596ec(0x2d3)](this['dispose$']))[_0x3596ec(0x11a)](_0x42b625[_0x3596ec(0x183)](_0x1e64d9=>!_0x1e64d9[_0x3596ec(0x255)]()[_0x3596ec(0x209)]('__')))[_0x3596ec(0x35d)](async _0x1c3597=>{const _0x134a78=_0x3596ec,_0xcf71e1=_0x1c3597[_0x134a78(0x255)](),_0x43aee2=await this['_startDocCollabCursor'](_0xcf71e1);this['_entityInit$'][_0x134a78(0x27f)](_0x43aee2),this['_entities'][_0x134a78(0x1f4)](_0xcf71e1,_0x43aee2);}),_0x42b625[_0x3596ec(0x326)](this['_univerInstanceService'][_0x3596ec(0x180)](_0x1530e5[_0x3596ec(0x30a)]['UNIVER_DOC']),this[_0x3596ec(0x1da)][_0x3596ec(0x180)](_0x1530e5[_0x3596ec(0x30a)][_0x3596ec(0x31b)]))['pipe'](_0x42b625[_0x3596ec(0x2d3)](this[_0x3596ec(0x3a2)]))['subscribe'](_0x5593cb=>{const _0x4c7932=_0x3596ec,_0x100baf=_0x5593cb['getUnitId'](),_0x314288=this[_0x4c7932(0x270)]['get'](_0x100baf);_0x314288&&(_0x314288[_0x4c7932(0x1f5)](),this[_0x4c7932(0x270)][_0x4c7932(0x378)](_0x100baf));});}async[_0x3bd79c(0x112)](_0x3adbbf){const _0x45b5fd=_0x3bd79c,_0x579e6b=await this[_0x45b5fd(0x383)][_0x45b5fd(0x316)](_0x3adbbf),_0x17d336=this[_0x45b5fd(0x1d4)][_0x45b5fd(0x37c)](_0x55c5d3,_0x3adbbf,_0x579e6b);return _0x17d336['init'](),_0x17d336;}async[_0x3bd79c(0x3a1)](_0x69bab1){const _0x416a94=_0x3bd79c,_0x3c3cf9=await this[_0x416a94(0x383)][_0x416a94(0x316)](_0x69bab1),_0x3702ca=this[_0x416a94(0x1d4)][_0x416a94(0x37c)](_0x3ad7d0,_0x69bab1,_0x3c3cf9);return _0x3702ca[_0x416a94(0x350)](),_0x3702ca;}};_0x2fd1a4=_0x23ca0f([_0x27f586(0x0,_0x1530e5[_0x3bd79c(0x214)]),_0x27f586(0x1,_0x1530e5[_0x3bd79c(0x157)](_0x1530e5[_0x3bd79c(0x2f9)])),_0x27f586(0x2,_0x1530e5['Inject'](_0xf278db[_0x3bd79c(0x24d)]))],_0x2fd1a4);const _0x555bb2=0x14,_0x14e231=0xc8,_0x4ee4d1=0x4,_0x43f12e=0x5;function _0x33baae(_0x564edc,_0x3a187b){const _0x45b24d=_0x3bd79c;let {radius:_0x342db5,width:_0x55fbf2,height:_0x55b995}=_0x3a187b;_0x342db5=_0x342db5!=null?_0x342db5:0x0,_0x55fbf2=_0x55fbf2!=null?_0x55fbf2:0x1e,_0x55b995=_0x55b995!=null?_0x55b995:0x1e;let _0xf53c5f=0x0,_0xceb9a7=0x0,_0x232cc2=0x0;_0xf53c5f=_0xceb9a7=_0x232cc2=Math[_0x45b24d(0x30f)](_0x342db5,_0x55fbf2/0x2,_0x55b995/0x2),_0x564edc['beginPath'](),_0x564edc['moveTo'](_0xf53c5f,0x0),_0x564edc[_0x45b24d(0x331)](_0x55fbf2-_0xceb9a7,0x0),_0x564edc[_0x45b24d(0x1e8)](_0x55fbf2-_0xceb9a7,_0xceb9a7,_0xceb9a7,Math['PI']*0x3/0x2,0x0,!0x1),_0x564edc[_0x45b24d(0x331)](_0x55fbf2,_0x55b995-_0x232cc2),_0x564edc[_0x45b24d(0x1e8)](_0x55fbf2-_0x232cc2,_0x55b995-_0x232cc2,_0x232cc2,0x0,Math['PI']/0x2,!0x1),_0x564edc[_0x45b24d(0x331)](0x0,_0x55b995),_0x564edc[_0x45b24d(0x331)](0x0,_0xf53c5f),_0x564edc['arc'](_0xf53c5f,_0xf53c5f,_0xf53c5f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x564edc[_0x45b24d(0x2c1)](),_0x3a187b[_0x45b24d(0x177)]&&(_0x564edc['save'](),_0x564edc[_0x45b24d(0x29a)]=_0x3a187b[_0x45b24d(0x177)],_0x3a187b[_0x45b24d(0x18f)]==='evenodd'?_0x564edc[_0x45b24d(0x177)](_0x45b24d(0x128)):_0x564edc[_0x45b24d(0x177)](),_0x564edc['restore']());}class _0x6c1d9f extends _0x37f675[_0x3bd79c(0x38a)]{constructor(_0x2139aa,_0x490d08){const _0x518ca7=_0x3bd79c;super(_0x2139aa,_0x490d08),_0x3b9fde(this,_0x518ca7(0x382)),_0x3b9fde(this,_0x518ca7(0x14c)),(this[_0x518ca7(0x382)]=_0x490d08==null?void 0x0:_0x490d08[_0x518ca7(0x382)],this[_0x518ca7(0x14c)]=_0x490d08==null?void 0x0:_0x490d08[_0x518ca7(0x14c)]);}static[_0x3bd79c(0x2c4)](_0x46ec76,_0xab4cf8){const _0x567425=_0x3bd79c,{text:_0x1ad352,color:_0x5c5e49}=_0xab4cf8;_0x46ec76[_0x567425(0x156)](),_0x46ec76['font']=_0x567425(0x30d);const _0x253a7a=_0x46ec76[_0x567425(0x2bd)](_0x1ad352)['width'],_0x15b585=Math[_0x567425(0x30f)](_0x253a7a+0x2*_0x4ee4d1,_0x14e231);_0x33baae(_0x46ec76,{'height':_0x555bb2,'radius':0x4,'width':_0x15b585,'fill':_0x5c5e49}),_0x46ec76[_0x567425(0x29a)]=_0x567425(0x364);const _0x5e7d64=_0x4ee4d1,_0x359c3f=_0x555bb2-_0x43f12e,_0xfeabae=_0x14e231-0x2*_0x4ee4d1;if(_0x253a7a>_0xfeabae){let _0x40d308='',_0xaeca83=0x0;for(const _0x1e1f78 of _0x1ad352){const _0x4ff86d=_0x46ec76['measureText'](_0x1e1f78)[_0x567425(0x18a)];if(_0xaeca83+_0x4ff86d<=_0xfeabae-_0x46ec76[_0x567425(0x2bd)](_0x567425(0x31f))[_0x567425(0x18a)])_0x40d308+=_0x1e1f78,_0xaeca83+=_0x4ff86d;else{_0x40d308+=_0x567425(0x31f);break;}}_0x46ec76[_0x567425(0x261)](_0x40d308,_0x5e7d64,_0x359c3f);}else _0x46ec76[_0x567425(0x261)](_0x1ad352,_0x5e7d64,_0x359c3f);_0x46ec76[_0x567425(0x188)]();}[_0x3bd79c(0x281)](_0x5b2c81){const _0x3e7134=_0x3bd79c;_0x6c1d9f[_0x3e7134(0x2c4)](_0x5b2c81,this);}}const _0x430215=_0x3bd79c(0x36f),_0x1b6aa9=_0x3bd79c(0x1cd),_0x588a97=_0x3bd79c(0x1b6),_0xe0baae=0x6,_0x59a5a5=1.5,_0x11e5be=0x4,_0x11d681=1.5,_0x285916=_0x3bd79c(0x19f);class _0x39c01c{constructor(_0x1d0b56,_0xa0d08,_0x29e40c,_0x3104c6){const _0x4c2a48=_0x3bd79c;_0x3b9fde(this,_0x4c2a48(0x146),[]),_0x3b9fde(this,_0x4c2a48(0x1e6),null),_0x3b9fde(this,_0x4c2a48(0x39a),null),_0x3b9fde(this,_0x4c2a48(0x3a5),null),_0x3b9fde(this,_0x4c2a48(0x32d),null),_0x3b9fde(this,_0x4c2a48(0x151),null),(this[_0x4c2a48(0x17e)]=_0x1d0b56,this[_0x4c2a48(0x23b)]=_0xa0d08,this[_0x4c2a48(0x3a8)]=_0x29e40c,this[_0x4c2a48(0x14b)]=_0x3104c6,this[_0x4c2a48(0x19d)]());}set[_0x3bd79c(0x22c)](_0x46dc39){const _0x42d301=_0x3bd79c;_0x46dc39?(this[_0x42d301(0x3a5)]&&this['_anchorDot'][_0x42d301(0x1b0)](),this[_0x42d301(0x39a)]&&this[_0x42d301(0x39a)][_0x42d301(0x363)]()):(this['_anchorDot']&&this[_0x42d301(0x3a5)][_0x42d301(0x363)](),this[_0x42d301(0x39a)]&&this['_textBubble'][_0x42d301(0x1b0)]());}[_0x3bd79c(0x1f5)](){const _0x4d20e2=_0x3bd79c;for(const _0x3ec8a2 of this[_0x4d20e2(0x146)])_0x3ec8a2['dispose']();this[_0x4d20e2(0x39a)]&&this[_0x4d20e2(0x39a)][_0x4d20e2(0x1f5)](),this['_anchorDot']&&this['_anchorDot'][_0x4d20e2(0x1f5)](),this['_anchor']&&this[_0x4d20e2(0x1e6)][_0x4d20e2(0x1f5)](),this['_eventUnsubscribe']&&this[_0x4d20e2(0x151)]();}['_render'](){const _0x1d9ac2=_0x3bd79c;var _0x5ad9f1;const {_docSkeleton:_0x466ce6,_document:_0x18ee0d}=this,{color:_0x5d1c30,name:_0x5f178e,ranges:_0x32de11}=this['_cursor'],_0x3e8cb7=_0x18ee0d[_0x1d9ac2(0x1c2)](),{docsLeft:_0x7dea3d,docsTop:_0x59ec92}=_0x3e8cb7,_0x5934dd=new _0x3bb97e[(_0x1d9ac2(0x21d))](_0x3e8cb7,_0x466ce6);for(const {startOffset:_0x5182c6,endOffset:_0x21d273,rangeType:_0x50a8f8,segmentId:_0x5cd68e,segmentPage:_0x302797,collapsed:_0xbe6294,isActive:_0x161228}of _0x32de11){const _0x1e9e09=_0x466ce6[_0x1d9ac2(0x2b9)](_0x5182c6,!0x0,_0x5cd68e,_0x302797);let _0x17e310=_0x466ce6[_0x1d9ac2(0x2b9)](_0x21d273,!0x0,_0x5cd68e,_0x302797);if(_0x17e310==null&&(_0x17e310=_0x466ce6[_0x1d9ac2(0x2b9)](_0x21d273-0x1,!0x1,_0x5cd68e,_0x302797)),_0x161228){const {contentBoxPointGroup:_0x389aed}=_0x5934dd['getRangePointData'](_0x17e310,_0x17e310);if(_0x389aed['length']===0x0)continue;this[_0x1d9ac2(0x1e4)](_0x5d1c30,_0x389aed,_0x7dea3d,_0x59ec92,_0x5f178e),this[_0x1d9ac2(0x151)]=this[_0x1d9ac2(0x29e)]();}if(_0x1e9e09&&_0x17e310){if(_0x50a8f8===_0x1530e5['DOC_RANGE_TYPE']['RECT']){const _0x415002=new _0x3bb97e[(_0x1d9ac2(0x3aa))](_0x3e8cb7,_0x466ce6),{pointGroup:_0x446c6f}=(_0x5ad9f1=_0x415002[_0x1d9ac2(0x158)](_0x1e9e09,_0x17e310))!=null?_0x5ad9f1:{};if(_0x446c6f==null||_0x446c6f['length']===0x0)continue;this[_0x1d9ac2(0x327)](_0x5d1c30,_0x446c6f,_0x7dea3d,_0x59ec92);}else{if(!_0xbe6294){const {borderBoxPointGroup:_0x4ff030}=_0x5934dd[_0x1d9ac2(0x158)](_0x1e9e09,_0x17e310);if(_0x4ff030[_0x1d9ac2(0x25d)]===0x0)continue;this['_drawTextRange'](_0x5d1c30,_0x4ff030,_0x7dea3d,_0x59ec92);}}}}}[_0x3bd79c(0x1e4)](_0x50484a,_0x573ec5,_0x4f039d,_0x5520bb,_0x19d7a0){const _0x512eb2=_0x3bd79c,_0x5d5660=this[_0x512eb2(0x21c)](_0x573ec5),{left:_0x51b852,top:_0x8df1ef,height:_0x4ed024}=_0x5d5660,_0x24646d=this[_0x512eb2(0x2c3)](),_0x1d881b=_0x11d681/_0x24646d,_0x123819=new _0x37f675[(_0x512eb2(0x321))](_0x430215+_0x1530e5[_0x512eb2(0x348)][_0x512eb2(0x1d2)](_0xe0baae),{'left':_0x51b852+_0x4f039d-_0x1d881b,'top':_0x8df1ef+_0x5520bb,'height':_0x4ed024,'width':_0x59a5a5,'fill':_0x50484a||_0x37f675['getColor'](_0x1530e5[_0x512eb2(0x120)][_0x512eb2(0x31d)],0x0),'strokeWidth':_0x1d881b,'stroke':_0x285916,'evented':!0x0});this[_0x512eb2(0x1e6)]=_0x123819,this['_scene'][_0x512eb2(0x20f)](_0x123819,_0x3bb97e[_0x512eb2(0x245)]);const _0x31fc47=new _0x37f675['Rect'](_0x430215+_0x1530e5[_0x512eb2(0x348)][_0x512eb2(0x1d2)](_0xe0baae),{'left':_0x51b852+_0x4f039d-_0x1d881b,'top':_0x8df1ef+_0x5520bb-_0x11e5be/0x2,'height':_0x11e5be,'width':_0x11e5be,'fill':_0x50484a||_0x37f675[_0x512eb2(0x302)](_0x1530e5[_0x512eb2(0x120)][_0x512eb2(0x31d)],0x0),'strokeWidth':0x0,'stroke':_0x50484a||_0x37f675['getColor'](_0x1530e5['COLORS'][_0x512eb2(0x31d)],0x0),'evented':!0x1});this[_0x512eb2(0x3a5)]=_0x31fc47,this[_0x512eb2(0x23b)][_0x512eb2(0x20f)](_0x31fc47,_0x3bb97e[_0x512eb2(0x245)]);const _0x175d38=new _0x6c1d9f(_0x430215+_0x1530e5[_0x512eb2(0x348)][_0x512eb2(0x1d2)](_0xe0baae),{'left':_0x51b852+_0x4f039d-_0x1d881b,'top':_0x8df1ef+_0x5520bb-_0x555bb2,'text':_0x19d7a0,'color':_0x50484a});this['_textBubble']=_0x175d38,this[_0x512eb2(0x23b)][_0x512eb2(0x20f)](_0x175d38,_0x3bb97e[_0x512eb2(0x245)]),this['_hover']=!0x1;}[_0x3bd79c(0x29e)](){const _0x22f405=_0x3bd79c,_0x352ba5=this[_0x22f405(0x1e6)][_0x22f405(0x306)][_0x22f405(0x29c)](()=>{this['_hover']=!0x0;}),_0x42adcd=this[_0x22f405(0x1e6)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x12d8b0=_0x22f405;this['_hideTimer']&&clearTimeout(this[_0x12d8b0(0x32d)]),this[_0x12d8b0(0x32d)]=setTimeout(()=>{const _0x55ea7c=_0x12d8b0;this[_0x55ea7c(0x22c)]=!0x1;},0x7d0);});return()=>{const _0x1b3537=_0x22f405;_0x352ba5[_0x1b3537(0x1a8)](),_0x42adcd['unsubscribe']();};}['_drawTextRange'](_0x26c274,_0x292866,_0x37f18a,_0x3a3300){const _0x1c5846=_0x3bd79c,_0x56d44c=new _0x1530e5[(_0x1c5846(0x296))](_0x26c274)[_0x1c5846(0x323)](0.2)[_0x1c5846(0x1e9)](),_0x314988=new _0x37f675['RegularPolygon'](_0x1b6aa9+_0x1530e5[_0x1c5846(0x348)][_0x1c5846(0x1d2)](_0xe0baae),{'pointsGroup':_0x292866,'fill':_0x56d44c||_0x37f675[_0x1c5846(0x302)](_0x1530e5[_0x1c5846(0x120)][_0x1c5846(0x31d)],0.2),'left':_0x37f18a,'top':_0x3a3300,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1c5846(0x146)][_0x1c5846(0x13f)](_0x314988),this[_0x1c5846(0x23b)][_0x1c5846(0x20f)](_0x314988,_0x3bb97e[_0x1c5846(0x245)]);}['_drawRectRange'](_0x3f5491,_0x3e202a,_0x46094d,_0x204506){const _0x1c849e=_0x3bd79c,_0x2df343=new _0x1530e5['ColorKit'](_0x3f5491)['setAlpha'](0.2)[_0x1c849e(0x1e9)](),_0x5bf31c=new _0x37f675[(_0x1c849e(0x248))](_0x588a97+_0x1530e5[_0x1c849e(0x348)][_0x1c849e(0x1d2)](_0xe0baae),{'pointsGroup':_0x3e202a,'fill':_0x2df343||_0x37f675[_0x1c849e(0x302)](_0x1530e5[_0x1c849e(0x120)][_0x1c849e(0x31d)],0.2),'left':_0x46094d,'top':_0x204506,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x1c849e(0x13f)](_0x5bf31c),this[_0x1c849e(0x23b)][_0x1c849e(0x20f)](_0x5bf31c,_0x3bb97e[_0x1c849e(0x245)]);}[_0x3bd79c(0x21c)](_0x59f28d){const _0x4913bf=_0x59f28d[0x0],_0x58d3ac=_0x4913bf[0x0],_0x3346e3=_0x4913bf[0x2],{x:_0x5927f6,y:_0x21be5a}=_0x58d3ac,{x:_0x43ba69,y:_0x1e7838}=_0x3346e3;return{'left':_0x5927f6,'top':_0x21be5a,'width':_0x43ba69-_0x5927f6,'height':_0x1e7838-_0x21be5a};}['_getScale'](){const _0x5b5089=_0x3bd79c,{scaleX:_0x55d30c,scaleY:_0x50aa12}=this[_0x5b5089(0x23b)][_0x5b5089(0x303)]();return Math[_0x5b5089(0x26b)](_0x55d30c,_0x50aa12);}}var _0x2fb105=Object['getOwnPropertyDescriptor'],_0x34b268=(_0x1aa0d9,_0x349154,_0x21121b,_0x398706)=>{for(var _0xc6d22c=_0x398706>0x1?void 0x0:_0x398706?_0x2fb105(_0x349154,_0x21121b):_0x349154,_0x1e2e5e=_0x1aa0d9['length']-0x1,_0x5ce642;_0x1e2e5e>=0x0;_0x1e2e5e--)(_0x5ce642=_0x1aa0d9[_0x1e2e5e])&&(_0xc6d22c=_0x5ce642(_0xc6d22c)||_0xc6d22c);return _0xc6d22c;},_0x473dfa=(_0x63428,_0x48a8c0)=>(_0x46b96a,_0x574222)=>_0x48a8c0(_0x46b96a,_0x574222,_0x63428);let _0x5ad2bc=class extends _0x1530e5[_0x3bd79c(0x18c)]{constructor(_0x3227be,_0x59bdff,_0x4a9eff,_0x5c5714,_0x470b07){const _0x56a294=_0x3bd79c;super(),_0x3b9fde(this,_0x56a294(0x235),[]),_0x3b9fde(this,_0x56a294(0x1d9),[]),(this[_0x56a294(0x2dc)]=_0x3227be,this[_0x56a294(0x38f)]=_0x59bdff,this['_collabCursorController']=_0x4a9eff,this[_0x56a294(0x25f)]=_0x5c5714,this[_0x56a294(0x2e5)]=_0x470b07,this[_0x56a294(0x366)]());}[_0x3bd79c(0x366)](){const _0x52a380=_0x3bd79c,_0x53a717=this[_0x52a380(0x2dc)][_0x52a380(0x131)],_0x418650=this[_0x52a380(0x38f)];this[_0x52a380(0x310)](_0x42b625[_0x52a380(0x2b2)]([this['_collabCursorController'][_0x52a380(0x2f1)](_0x53a717),this[_0x52a380(0x2e5)][_0x52a380(0x37d)]])[_0x52a380(0x11a)](_0x38f9df['map'](([_0x225ae8,_0x1afbcf])=>({'skeleton':_0x418650[_0x52a380(0x2d1)](),'cursors':[..._0x225ae8[_0x52a380(0x287)]()][_0x52a380(0x2e2)](_0x5366d0=>({..._0x5366d0,'color':this[_0x52a380(0x2e5)]['getColorFromTheme'](_0x5366d0[_0x52a380(0x382)])}))})))[_0x52a380(0x35d)](_0x3de2cb=>{const _0x4e09cf=_0x52a380;if(this[_0x4e09cf(0x32a)](),_0x3de2cb){const {skeleton:_0x101823,cursors:_0x57c549}=_0x3de2cb;this[_0x4e09cf(0x16d)](_0x101823,_0x57c549);}})),this[_0x52a380(0x1a0)](),this[_0x52a380(0x10e)]();}[_0x3bd79c(0x16d)](_0x8a5cc3,_0x3d9c4a){const _0x325612=_0x3bd79c,{scene:_0xb98a11,mainComponent:_0x2066b3}=this[_0x325612(0x2dc)],_0x17b991=_0x3d9c4a['map'](_0x46378c=>new _0x39c01c(_0x46378c,_0xb98a11,_0x8a5cc3,_0x2066b3));this[_0x325612(0x235)]=_0x17b991,this['_cursors']=_0x3d9c4a;}['_refreshCollabCursors'](){const _0x875c8f=_0x3bd79c;this[_0x875c8f(0x32a)]();const {scene:_0x303d51,mainComponent:_0x4685f7}=this[_0x875c8f(0x2dc)],_0x3addba=this[_0x875c8f(0x38f)][_0x875c8f(0x2d1)](),_0xa9de5c=this[_0x875c8f(0x1d9)][_0x875c8f(0x1b5)](_0x3cb50b=>new _0x39c01c(_0x3cb50b,_0x303d51,_0x3addba,_0x4685f7));this[_0x875c8f(0x235)]=_0xa9de5c;}[_0x3bd79c(0x32a)](){const _0x4618a3=_0x3bd79c;this[_0x4618a3(0x235)][_0x4618a3(0x18b)](_0x4e5acc=>_0x4e5acc[_0x4618a3(0x1f5)]()),this[_0x4618a3(0x235)]=[];}[_0x3bd79c(0x10e)](){const _0x597d8d=_0x3bd79c,_0x3df720=[_0x3bb97e[_0x597d8d(0x2f0)]['id']];this[_0x597d8d(0x310)](this['_commandService'][_0x597d8d(0x396)](_0x4c07dd=>{const _0x4484bc=_0x597d8d;_0x3df720[_0x4484bc(0x2a1)](_0x4c07dd['id'])&&_0x4c07dd['params'][_0x4484bc(0x131)]===this[_0x4484bc(0x2dc)][_0x4484bc(0x131)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x227777=_0x3bd79c;this[_0x227777(0x310)](_0x1530e5['fromEventSubject'](this[_0x227777(0x2dc)][_0x227777(0x1ef)]['onTransformChange$'])[_0x227777(0x11a)](_0x38f9df['filter'](_0x298d35=>_0x298d35['type']===_0x37f675[_0x227777(0x12f)][_0x227777(0x345)]),_0x38f9df[_0x227777(0x3a0)](0x10))['subscribe'](()=>{const _0x1f0ea6=_0x227777;this[_0x1f0ea6(0x251)]();}));}};_0x5ad2bc=_0x34b268([_0x473dfa(0x1,_0x1530e5[_0x3bd79c(0x157)](_0x15f850[_0x3bd79c(0x367)])),_0x473dfa(0x2,_0x1530e5[_0x3bd79c(0x157)](_0x2fd1a4)),_0x473dfa(0x3,_0x1530e5[_0x3bd79c(0x37e)]),_0x473dfa(0x4,_0x1530e5['Inject'](_0x1530e5['ThemeService']))],_0x5ad2bc);const _0x1a171a=0x1,_0x3c82fb=1.5;class _0x3a9c78 extends _0x37f675['Shape']{constructor(_0x43e6a6,_0x3c7924){const _0x1d6848=_0x3bd79c;super(_0x43e6a6,_0x3c7924),_0x3b9fde(this,_0x1d6848(0x2a8)),_0x3b9fde(this,_0x1d6848(0x252),!0x1),_0x3b9fde(this,'_range'),_0x3b9fde(this,_0x1d6848(0x3ab),''),_0x3b9fde(this,_0x1d6848(0x229),_0x1d6848(0x2b7)),_0x3b9fde(this,'_backgroundColor'),(_0x3c7924&&this[_0x1d6848(0x13a)](_0x3c7924),this[_0x1d6848(0x306)][_0x1d6848(0x29c)](()=>this[_0x1d6848(0x13a)]({'hovered':!0x0})),this[_0x1d6848(0x394)][_0x1d6848(0x29c)](()=>this[_0x1d6848(0x13a)]({'hovered':!0x1})));}[_0x3bd79c(0x13a)](_0x52d7fe){const _0x48a1bb=_0x3bd79c;var _0x585538,_0x3b4a3b,_0x1af140,_0x56ecc9,_0x2e3b2f,_0x3e3aca;this['_color']=(_0x585538=_0x52d7fe[_0x48a1bb(0x382)])!=null?_0x585538:this[_0x48a1bb(0x2a8)],this[_0x48a1bb(0x252)]=(_0x3b4a3b=_0x52d7fe[_0x48a1bb(0x168)])!=null?_0x3b4a3b:this[_0x48a1bb(0x252)],this[_0x48a1bb(0x360)]=(_0x1af140=_0x52d7fe[_0x48a1bb(0x2f8)])!=null?_0x1af140:this[_0x48a1bb(0x360)],this[_0x48a1bb(0x3ab)]=(_0x56ecc9=_0x52d7fe[_0x48a1bb(0x2c2)])!=null?_0x56ecc9:this[_0x48a1bb(0x3ab)],this[_0x48a1bb(0x229)]=(_0x2e3b2f=_0x52d7fe[_0x48a1bb(0x2d8)])!=null?_0x2e3b2f:this['_labelPosition'],this['_backgroundColor']=(_0x3e3aca=_0x52d7fe[_0x48a1bb(0x2be)])!=null?_0x3e3aca:this[_0x48a1bb(0x176)],this[_0x48a1bb(0x16f)]({'width':_0x52d7fe[_0x48a1bb(0x18a)],'height':_0x52d7fe[_0x48a1bb(0x1be)]});}[_0x3bd79c(0x26c)](_0x1ae8b1){const _0x4f7154=_0x3bd79c,{row:_0x4e61dc,column:_0x3af751}=_0x1ae8b1;if(_0x4e61dc>=this['_range'][_0x4f7154(0x1a1)]&&_0x4e61dc<=this[_0x4f7154(0x360)][_0x4f7154(0x2e0)]&&_0x3af751>=this[_0x4f7154(0x360)]['startColumn']&&_0x3af751<=this[_0x4f7154(0x360)][_0x4f7154(0x232)]){this[_0x4f7154(0x13a)]({'hovered':!0x0});return;}this[_0x4f7154(0x13a)]({'hovered':!0x1});}[_0x3bd79c(0x35f)](_0x41e2fc){return!0x1;}[_0x3bd79c(0x281)](_0x2cc561){const _0x469de1=_0x3bd79c;_0x37f675[_0x469de1(0x321)][_0x469de1(0x2c4)](_0x2cc561,{'width':this[_0x469de1(0x18a)],'height':this[_0x469de1(0x1be)],'strokeWidth':_0x3c82fb,'stroke':this[_0x469de1(0x2a8)],'evented':!0x1,'fill':this[_0x469de1(0x176)]}),this['_hovered']&&(_0x2cc561['save'](),_0x2cc561[_0x469de1(0x395)](0x1,0x0,0x0,0x1,this[_0x469de1(0x18a)],this['_labelPosition']===_0x469de1(0x29b)?0x0:-0x14),_0x6c1d9f[_0x469de1(0x2c4)](_0x2cc561,{'text':this[_0x469de1(0x3ab)],'color':this[_0x469de1(0x2a8)]}),_0x2cc561[_0x469de1(0x188)]());}}var _0x443d39=Object[_0x3bd79c(0x359)],_0x253ffe=(_0x54322a,_0x5bdaa3,_0x280c4c,_0x26dea1)=>{const _0x2a413f=_0x3bd79c;for(var _0x1c55d6=_0x26dea1>0x1?void 0x0:_0x26dea1?_0x443d39(_0x5bdaa3,_0x280c4c):_0x5bdaa3,_0x354faf=_0x54322a[_0x2a413f(0x25d)]-0x1,_0x270177;_0x354faf>=0x0;_0x354faf--)(_0x270177=_0x54322a[_0x354faf])&&(_0x1c55d6=_0x270177(_0x1c55d6)||_0x1c55d6);return _0x1c55d6;},_0x2b8f07=(_0x182590,_0x5622f3)=>(_0x3aa769,_0x3c1fd0)=>_0x5622f3(_0x3aa769,_0x3c1fd0,_0x182590);const _0x24d32c=0x1389;let _0x511839=class extends _0x1530e5[_0x3bd79c(0x18c)]{constructor(_0x3b3768,_0x265451,_0x4cf589,_0x727f21){const _0x3207ea=_0x3bd79c;super(),_0x3b9fde(this,_0x3207ea(0x1d9),new Set()),_0x3b9fde(this,_0x3207ea(0x2c7),null),(this[_0x3207ea(0x2dc)]=_0x3b3768,this[_0x3207ea(0x33f)]=_0x265451,this[_0x3207ea(0x338)]=_0x4cf589,this[_0x3207ea(0x2e5)]=_0x727f21,this[_0x3207ea(0x366)]());}[_0x3bd79c(0x366)](){const _0x498220=_0x3bd79c;this['_sheetSkeletonManagerService'][_0x498220(0x242)][_0x498220(0x11a)](_0x38f9df['takeUntil'](this[_0x498220(0x3a2)]),_0x38f9df[_0x498220(0x34f)](_0x22a0a3=>{const _0x5ac289=_0x498220;if(_0x22a0a3){const _0x51bdf0=_0x22a0a3[_0x5ac289(0x2c9)];return _0x42b625[_0x5ac289(0x2b2)](this[_0x5ac289(0x338)][_0x5ac289(0x2f1)](this[_0x5ac289(0x2dc)][_0x5ac289(0x131)]),this['_themeService'][_0x5ac289(0x37d)])[_0x5ac289(0x11a)](_0x38f9df[_0x5ac289(0x1b5)](([_0x44db6c,_0x4a63dd])=>{const _0x22ceb0=_0x5ac289,_0x5ae265=new Map();return _0x44db6c[_0x22ceb0(0x18b)]((_0x130523,_0x360640)=>{const _0x24ea8c=_0x22ceb0;if(_0x130523[_0x24ea8c(0x36b)]===_0x51bdf0){const _0x29f7b1={..._0x130523};_0x29f7b1['color']=this[_0x24ea8c(0x2e5)][_0x24ea8c(0x14d)](_0x130523[_0x24ea8c(0x382)]),_0x5ae265[_0x24ea8c(0x1f4)](_0x360640,_0x29f7b1);}}),{'skeleton':_0x22a0a3,'cursors':_0x5ae265};}));}return _0x42b625['of']({'skeleton':null,'cursors':new Map()});}))[_0x498220(0x35d)](({skeleton:_0xd6c2ea,cursors:_0x137d1e})=>{const _0x57da64=_0x498220;this[_0x57da64(0x32a)](),_0xd6c2ea&&this[_0x57da64(0x16d)](_0xd6c2ea,_0x137d1e);}),this[_0x498220(0x33f)][_0x498220(0x242)]['subscribe'](_0x173e4a=>{const _0x4c1fd2=_0x498220;if(_0x173e4a==null)return;const {skeleton:_0x20e35e}=_0x173e4a,{scene:_0x5e2519}=this[_0x4c1fd2(0x2dc)];_0x5e2519[_0x4c1fd2(0x28d)][_0x4c1fd2(0x29c)](_0x1530e5[_0x4c1fd2(0x299)](_0x2c3615=>{const _0x27042a=_0x4c1fd2;var _0x3b563c,_0x5d779a;const {offsetX:_0x27f628,offsetY:_0x181c14}=_0x2c3615,{x:_0x3aa9ef,y:_0x4da29e}=_0x5e2519[_0x27042a(0x22d)](_0x37f675['Vector2']['FromArray']([_0x27f628,_0x181c14])),{scaleX:_0xdc3a94,scaleY:_0x3fd889}=_0x5e2519[_0x27042a(0x303)](),_0x1d7ed3=_0x5e2519['getViewport'](_0x37f675[_0x27042a(0x2af)][_0x27042a(0x21a)]),_0x534602=_0x5e2519[_0x27042a(0x291)](_0x37f675[_0x27042a(0x32c)][_0x27042a(0x39c)]([_0x3aa9ef,_0x4da29e]),_0x1d7ed3),_0x8de24b=_0x20e35e[_0x27042a(0x24e)](_0x27f628,_0x181c14,_0xdc3a94,_0x3fd889,_0x534602);((_0x3b563c=this[_0x27042a(0x2c7)])==null?void 0x0:_0x3b563c[_0x27042a(0x358)])===_0x8de24b[_0x27042a(0x358)]&&((_0x5d779a=this[_0x27042a(0x2c7)])==null?void 0x0:_0x5d779a[_0x27042a(0x27d)])===_0x8de24b[_0x27042a(0x27d)]||this[_0x27042a(0x1d9)][_0x27042a(0x18b)](_0x3b4cf0=>{const _0x1d0c22=_0x27042a;_0x3b4cf0[_0x1d0c22(0x26c)](_0x8de24b);});},0x64));});}['_updateCollabCursors'](_0x2cae37,_0x641959){const _0x4f183a=_0x3bd79c;var _0x4154ed;const _0x53993e=(_0x4154ed=this['_sheetSkeletonManagerService'][_0x4f183a(0x276)]())==null?void 0x0:_0x4154ed[_0x4f183a(0x3a9)];if(!_0x53993e)return;const _0x24dd53=this[_0x4f183a(0x312)]();if(!_0x24dd53)return;this['_cursors']['forEach'](_0x48241e=>{const _0x424f29=_0x4f183a;_0x48241e[_0x424f29(0x25a)]();});const {scene:_0x5ab8ec}=_0x24dd53,_0x11bbe4=_0x48d236(Array[_0x4f183a(0x1c7)](_0x641959[_0x4f183a(0x287)]()))[_0x4f183a(0x1b5)](_0x34fa3e=>{const _0xebdaab=_0x4f183a,{color:_0x2e8e8c,range:_0x3c8624,name:_0x182eeb,selection:_0x253fc1,sheetID:_0x32c8c8}=_0x34fa3e,{startColumn:_0x28b5ec,startRow:_0x1b012b,endColumn:_0x54b0a4,endRow:_0x453c33}=_0x3c8624,_0x29b048=_0xd51ed0[_0xebdaab(0x13b)](_0x1b012b,_0x28b5ec,_0x5ab8ec,_0x53993e),_0x53b8e6=_0xd51ed0[_0xebdaab(0x13b)](_0x453c33,_0x54b0a4,_0x5ab8ec,_0x53993e),{columnHeaderHeightAndMarginTop:_0x7f222f}=_0x53993e,{startX:_0x86cf9e,startY:_0x16f612}=_0x29b048,{endX:_0x3e561c,endY:_0x436109}=_0x53b8e6,_0x53ae6b=_0x3e561c-_0x86cf9e,_0x4e0efb=_0x436109-_0x16f612,_0x48716c={'labelPosition':_0x16f612-_0x7f222f>=_0x555bb2?_0xebdaab(0x2b7):'bottom','sheetID':_0x32c8c8,'range':_0x3c8624,'color':_0x2e8e8c,'name':_0x182eeb,'selection':_0x253fc1,'left':_0x86cf9e,'top':_0x16f612,'width':_0x53ae6b,'height':_0x4e0efb,'evented':!0x1,'zIndex':_0x24d32c};return new _0x3a9c78(_0x182eeb,_0x48716c);});_0x5ab8ec['addObjects'](_0x11bbe4,_0x1a171a),this[_0x4f183a(0x1d9)]=new Set(_0x11bbe4);}[_0x3bd79c(0x32a)](){const _0x4ad4dd=_0x3bd79c;var _0x357a27;(_0x357a27=this[_0x4ad4dd(0x1d9)])==null||_0x357a27[_0x4ad4dd(0x18b)](_0xc8bb9e=>_0xc8bb9e[_0x4ad4dd(0x1f5)]());}['_getSheetObject'](){const _0x41f0eb=_0x3bd79c;return _0xd51ed0[_0x41f0eb(0x3a6)](this['_context']['unit'],this[_0x41f0eb(0x2dc)]);}};_0x511839=_0x253ffe([_0x2b8f07(0x1,_0x1530e5[_0x3bd79c(0x157)](_0xd51ed0['SheetSkeletonManagerService'])),_0x2b8f07(0x2,_0x1530e5[_0x3bd79c(0x157)](_0x2fd1a4)),_0x2b8f07(0x3,_0x1530e5['Inject'](_0x1530e5[_0x3bd79c(0x15f)]))],_0x511839);function _0x48d236(_0x4ae2a8){const _0xe367ed=_0x3bd79c,_0x259dd6=new Map();return _0x4ae2a8[_0xe367ed(0x18b)](_0x5256de=>{const _0x3c3ef9=_0xe367ed;if(_0x259dd6['has'](_0x5256de[_0x3c3ef9(0x20e)])){const _0x4c3deb=_0x259dd6['get'](_0x5256de[_0x3c3ef9(0x20e)]);_0x4c3deb[_0x3c3ef9(0x2c2)]+=',\x20'+_0x5256de[_0x3c3ef9(0x2c2)];}else _0x259dd6[_0x3c3ef9(0x1f4)](_0x5256de['selection'],_0x5256de);}),Array['from'](_0x259dd6[_0xe367ed(0x287)]());}var _0x5211bc=function(){const _0x4e9527=_0x3bd79c;return _0x5211bc=Object[_0x4e9527(0x274)]||function(_0x173d77){const _0x907f60=_0x4e9527;for(var _0x2f7d98,_0x425e8f=0x1,_0x5ea098=arguments[_0x907f60(0x25d)];_0x425e8f<_0x5ea098;_0x425e8f++){_0x2f7d98=arguments[_0x425e8f];for(var _0x52c06a in _0x2f7d98)Object[_0x907f60(0x285)][_0x907f60(0x2d4)][_0x907f60(0x2fd)](_0x2f7d98,_0x52c06a)&&(_0x173d77[_0x52c06a]=_0x2f7d98[_0x52c06a]);}return _0x173d77;},_0x5211bc[_0x4e9527(0x144)](this,arguments);},_0x4682a6=function(_0x1de811,_0x420210){const _0x5d9ca6=_0x3bd79c;var _0x4848d3={};for(var _0x20de45 in _0x1de811)Object[_0x5d9ca6(0x285)][_0x5d9ca6(0x2d4)][_0x5d9ca6(0x2fd)](_0x1de811,_0x20de45)&&_0x420210[_0x5d9ca6(0x114)](_0x20de45)<0x0&&(_0x4848d3[_0x20de45]=_0x1de811[_0x20de45]);if(_0x1de811!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x21f14a=0x0,_0x20de45=Object[_0x5d9ca6(0x2cc)](_0x1de811);_0x21f14a<_0x20de45[_0x5d9ca6(0x25d)];_0x21f14a++)_0x420210[_0x5d9ca6(0x114)](_0x20de45[_0x21f14a])<0x0&&Object[_0x5d9ca6(0x285)][_0x5d9ca6(0x264)][_0x5d9ca6(0x2fd)](_0x1de811,_0x20de45[_0x21f14a])&&(_0x4848d3[_0x20de45[_0x21f14a]]=_0x1de811[_0x20de45[_0x21f14a]]);}return _0x4848d3;},_0x41f9a9=_0x32bdf6[_0x3bd79c(0x2ad)](function(_0x4a8f79,_0x5402bd){const _0x1ffd73=_0x3bd79c;var _0x1be0f0=_0x4a8f79[_0x1ffd73(0x397)],_0x1a5c79=_0x4a8f79['id'],_0x42f45d=_0x4a8f79[_0x1ffd73(0x113)],_0xa8d477=_0x4a8f79[_0x1ffd73(0x319)],_0x4604e6=_0x4682a6(_0x4a8f79,[_0x1ffd73(0x397),'id','className',_0x1ffd73(0x319)]),_0x462235=_0x1ffd73(0x1fa)[_0x1ffd73(0x1db)](_0x1a5c79,'\x20')[_0x1ffd73(0x1db)](_0x42f45d||'')['trim'](),_0x372731=_0x32bdf6['useRef']('_'[_0x1ffd73(0x1db)](_0x4858d8()));return _0x1cb817(_0x1be0f0,''['concat'](_0x1a5c79),{'defIds':_0x1be0f0[_0x1ffd73(0x17a)],'idSuffix':_0x372731[_0x1ffd73(0x182)]},_0x5211bc({'ref':_0x5402bd,'className':_0x462235},_0x4604e6),_0xa8d477);});function _0x1cb817(_0x30aa42,_0x4dbb9c,_0x1297ad,_0x172ef4,_0x535f6f){const _0x270258=_0x3bd79c;return _0x32bdf6[_0x270258(0x204)](_0x30aa42['tag'],_0x5211bc(_0x5211bc({'key':_0x4dbb9c},_0x470b27(_0x30aa42,_0x1297ad,_0x535f6f)),_0x172ef4),(_0x32937a(_0x30aa42,_0x1297ad)[_0x270258(0x298)]||[])[_0x270258(0x1b5)](function(_0x4e539e,_0xa76eb8){const _0x5b024c=_0x270258;return _0x1cb817(_0x4e539e,''[_0x5b024c(0x1db)](_0x4dbb9c,'-')[_0x5b024c(0x1db)](_0x30aa42[_0x5b024c(0x246)],'-')[_0x5b024c(0x1db)](_0xa76eb8),_0x1297ad,void 0x0,_0x535f6f);}));}function _0x470b27(_0x8f8199,_0x29b2c7,_0x4cde41){const _0x2c89d9=_0x3bd79c;var _0x5183a0=_0x5211bc({},_0x8f8199['attrs']);_0x4cde41!=null&&_0x4cde41[_0x2c89d9(0x35e)]&&_0x5183a0[_0x2c89d9(0x177)]===_0x2c89d9(0x35e)&&(_0x5183a0[_0x2c89d9(0x177)]=_0x4cde41['colorChannel1']),_0x8f8199[_0x2c89d9(0x246)]===_0x2c89d9(0x269)&&_0x5183a0['id']&&(_0x5183a0['id']=_0x5183a0['id']+_0x29b2c7['idSuffix']),Object[_0x2c89d9(0x28b)](_0x5183a0)[_0x2c89d9(0x18b)](function(_0x5b01af){const _0x2e125e=_0x2c89d9;var _0x37c3f1=_0x5b01af[0x0],_0x125e72=_0x5b01af[0x1];_0x37c3f1===_0x2e125e(0x269)&&typeof _0x125e72==_0x2e125e(0x2bb)&&(_0x5183a0[_0x37c3f1]=_0x125e72['replace'](/url\(#(.*)\)/,_0x2e125e(0x247)[_0x2e125e(0x1db)](_0x29b2c7[_0x2e125e(0x145)],')')));});var _0x13752d=_0x29b2c7[_0x2c89d9(0x17a)];return!_0x13752d||_0x13752d[_0x2c89d9(0x25d)]===0x0||(_0x8f8199[_0x2c89d9(0x246)]===_0x2c89d9(0x1e0)&&_0x5183a0[_0x2c89d9(0x224)]&&(_0x5183a0['xlink:href']=_0x5183a0['xlink:href']+_0x29b2c7[_0x2c89d9(0x145)]),Object[_0x2c89d9(0x28b)](_0x5183a0)['forEach'](function(_0xe8cf92){const _0x7dbe8b=_0x2c89d9;var _0x4a50b0=_0xe8cf92[0x0],_0x191caa=_0xe8cf92[0x1];typeof _0x191caa==_0x7dbe8b(0x2bb)&&(_0x5183a0[_0x4a50b0]=_0x191caa[_0x7dbe8b(0x308)](/url\(#(.*)\)/,_0x7dbe8b(0x247)[_0x7dbe8b(0x1db)](_0x29b2c7[_0x7dbe8b(0x145)],')')));})),_0x5183a0;}function _0x32937a(_0x1d740c,_0x1198b0){const _0x42c80f=_0x3bd79c;var _0x34efd6,_0x320bc9=_0x1198b0[_0x42c80f(0x17a)];return!_0x320bc9||_0x320bc9[_0x42c80f(0x25d)]===0x0?_0x1d740c:_0x1d740c[_0x42c80f(0x246)]==='defs'&&(!((_0x34efd6=_0x1d740c['children'])===null||_0x34efd6===void 0x0)&&_0x34efd6[_0x42c80f(0x25d)])?_0x5211bc(_0x5211bc({},_0x1d740c),{'children':_0x1d740c['children']['map'](function(_0x3d9026){const _0x365eb4=_0x42c80f;return typeof _0x3d9026['attrs']['id']=='string'&&_0x320bc9&&_0x320bc9[_0x365eb4(0x114)](_0x3d9026[_0x365eb4(0x2cb)]['id'])>-0x1?_0x5211bc(_0x5211bc({},_0x3d9026),{'attrs':_0x5211bc(_0x5211bc({},_0x3d9026['attrs']),{'id':_0x3d9026['attrs']['id']+_0x1198b0[_0x365eb4(0x145)]})}):_0x3d9026;})}):_0x1d740c;}function _0x4858d8(){const _0x162c44=_0x3bd79c;return Math['random']()[_0x162c44(0x196)](0x24)['substring'](0x2,0x8);}_0x41f9a9[_0x3bd79c(0x116)]='UniverIcon';var _0x4e97f3={'tag':_0x3bd79c(0x233),'attrs':{'fill':_0x3bd79c(0x32f),'viewBox':_0x3bd79c(0x166),'width':_0x3bd79c(0x346),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3bd79c(0x27c)},'children':[{'tag':_0x3bd79c(0x22e),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0x3bd79c(0x295),'strokeWidth':1.2}}]},{'tag':_0x3bd79c(0x3b5),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3bd79c(0x1e7)},'children':[{'tag':_0x3bd79c(0x22e),'attrs':{'fill':'#fff','d':_0x3bd79c(0x33e)}}]}]}],'defIds':[_0x3bd79c(0x1e7)]},_0x5d8949=_0x32bdf6[_0x3bd79c(0x2ad)](function(_0x19fb32,_0x1d873e){const _0x41da48=_0x3bd79c;return _0x32bdf6[_0x41da48(0x204)](_0x41f9a9,Object['assign']({},_0x19fb32,{'id':_0x41da48(0x19c),'ref':_0x1d873e,'icon':_0x4e97f3}));});_0x5d8949[_0x3bd79c(0x116)]=_0x3bd79c(0x21e);var _0x9322a4={'tag':_0x3bd79c(0x233),'attrs':{'fill':_0x3bd79c(0x32f),'viewBox':_0x3bd79c(0x30e),'width':'1em','height':_0x3bd79c(0x346)},'children':[{'tag':'g','attrs':{'clipPath':_0x3bd79c(0x14a)},'children':[{'tag':_0x3bd79c(0x22e),'attrs':{'stroke':_0x3bd79c(0x282),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x3bd79c(0x295),'strokeLinejoin':_0x3bd79c(0x295),'strokeWidth':1.2}}]},{'tag':_0x3bd79c(0x3b5),'attrs':{},'children':[{'tag':_0x3bd79c(0x1ae),'attrs':{'id':_0x3bd79c(0x127)},'children':[{'tag':_0x3bd79c(0x22e),'attrs':{'fill':_0x3bd79c(0x30b),'d':_0x3bd79c(0x33e),'transform':_0x3bd79c(0x36d)}}]}]}],'defIds':[_0x3bd79c(0x127)]},_0x5116b0=_0x32bdf6[_0x3bd79c(0x2ad)](function(_0x835b1b,_0x1d5392){const _0x587201=_0x3bd79c;return _0x32bdf6[_0x587201(0x204)](_0x41f9a9,Object[_0x587201(0x274)]({},_0x835b1b,{'id':_0x587201(0x2ab),'ref':_0x1d5392,'icon':_0x9322a4}));});_0x5116b0['displayName']=_0x3bd79c(0x16e);function _0x442f15(_0x14a5ae){const _0x404b23=_0x3bd79c;switch(_0x14a5ae){case _0xf278db[_0x404b23(0x387)][_0x404b23(0x38e)]:return _0x404b23(0x2f2);case _0xf278db[_0x404b23(0x387)][_0x404b23(0x117)]:return'collabStatus.conflict';case _0xf278db[_0x404b23(0x387)][_0x404b23(0x2a4)]:return _0x404b23(0x24c);case _0xf278db['CollaborationStatus'][_0x404b23(0x220)]:return'collabStatus.notCollab';case _0xf278db[_0x404b23(0x387)][_0x404b23(0x1a5)]:case _0xf278db[_0x404b23(0x387)][_0x404b23(0x213)]:return _0x404b23(0x2e6);case _0xf278db[_0x404b23(0x387)][_0x404b23(0x33c)]:case _0xf278db[_0x404b23(0x387)]['PENDING']:return _0x404b23(0x2cf);}}function _0x3bd43b(_0x5baa2e){const _0x514e09=_0x3bd79c,{status$:_0x4d7ed5}=_0x5baa2e,_0x2e1de5=_0x20e392[_0x514e09(0x15a)](_0x4d7ed5,_0xf278db['CollaborationStatus'][_0x514e09(0x220)]),_0x44771d=_0x20e392[_0x514e09(0x293)](_0x1530e5['LocaleService']),_0x51a63c=_0x20e392['useDependency'](_0xf278db[_0x514e09(0x24d)]),_0x1ef3cb=_0x2e1de5!==_0xf278db[_0x514e09(0x387)][_0x514e09(0x38e)],_0xeb1c90=_0x44771d['t'](_0x442f15(_0x2e1de5)),_0x48bc37=_0x1ef3cb?_0x4067fa[_0x514e09(0x3a7)](_0x5116b0,{}):_0x4067fa['jsx'](_0x5d8949,{}),_0x2a439b=_0x32bdf6[_0x514e09(0x130)](()=>{const _0x22c831=_0x514e09;_0x1ef3cb||_0x51a63c[_0x22c831(0x2fc)]();},[_0x1ef3cb,_0x51a63c]);function _0x211d4c(){const _0x17f2e8=_0x514e09;return _0x4067fa['jsxs'](_0x17f2e8(0x398),{'className':_0x17f2e8(0x141),'onClick':_0x2a439b,'children':[_0x4067fa[_0x17f2e8(0x3a7)](_0x17f2e8(0x398),{'className':_0x44d5a0['clsx'](_0x17f2e8(0x294),{'univer-text-green-500':_0x1ef3cb,'univer-text-red-500':!_0x1ef3cb}),'children':_0x48bc37}),_0x4067fa['jsx'](_0x17f2e8(0x398),{'className':_0x17f2e8(0x278),'children':_0xeb1c90})]});}return _0x1ef3cb?_0x211d4c():_0x4067fa[_0x514e09(0x3a7)](_0x44d5a0['Tooltip'],{'title':_0x44771d['t'](_0x514e09(0x1a4)),'children':_0x211d4c()});}var _0x17e8f8=Object[_0x3bd79c(0x359)],_0x4d5394=(_0x23ca6e,_0x2f85e1,_0x4edc6e,_0x5a4b55)=>{const _0x5f0de3=_0x3bd79c;for(var _0x3f7530=_0x5a4b55>0x1?void 0x0:_0x5a4b55?_0x17e8f8(_0x2f85e1,_0x4edc6e):_0x2f85e1,_0x2a5c92=_0x23ca6e[_0x5f0de3(0x25d)]-0x1,_0x3c28d1;_0x2a5c92>=0x0;_0x2a5c92--)(_0x3c28d1=_0x23ca6e[_0x2a5c92])&&(_0x3f7530=_0x3c28d1(_0x3f7530)||_0x3f7530);return _0x3f7530;},_0x41dca2=(_0x198f60,_0x549614)=>(_0x2389ba,_0x239d3a)=>_0x549614(_0x2389ba,_0x239d3a,_0x198f60);_0x4efe22[_0x3bd79c(0x218)]=class extends _0x1530e5[_0x3bd79c(0x1bb)]{constructor(_0x5f3b6c,_0x2ff0dd,_0x3f6ea3,_0x41ab99){const _0x4bbdab=_0x3bd79c;super(),_0x3b9fde(this,_0x4bbdab(0x320),new _0x42b625[(_0x4bbdab(0x191))](_0xf278db[_0x4bbdab(0x387)][_0x4bbdab(0x220)])),(this[_0x4bbdab(0x1da)]=_0x5f3b6c,this[_0x4bbdab(0x1d4)]=_0x2ff0dd,this['_collaborationController']=_0x3f6ea3,this[_0x4bbdab(0x186)]=_0x41ab99,this[_0x4bbdab(0x1de)](),this[_0x4bbdab(0x1e5)]());}['_initStatusListener'](){const _0x367637=_0x3bd79c;this['disposeWithMe'](this[_0x367637(0x1da)][_0x367637(0x34d)]['pipe'](_0x42b625['switchMap'](()=>{const _0x311daa=_0x367637,_0x19e6ae=this[_0x311daa(0x1da)]['getFocusedUnit']();return _0x19e6ae?this['_collaborationController'][_0x311daa(0x379)](_0x19e6ae['getUnitId']()):_0x42b625['of'](null);}),_0x42b625['switchMap'](_0x2c904c=>_0x2c904c?_0x2c904c['status$']:_0x42b625['of'](_0xf278db['CollaborationStatus'][_0x367637(0x220)])))[_0x367637(0x35d)](_0x5dffb0=>{const _0x1bbef5=_0x367637;this[_0x1bbef5(0x320)][_0x1bbef5(0x27f)](_0x5dffb0);}));}[_0x3bd79c(0x1de)](){const _0x3ba945=_0x3bd79c;this[_0x3ba945(0x310)](this[_0x3ba945(0x186)]['registerComponent'](_0x20e392[_0x3ba945(0x21f)][_0x3ba945(0x328)],()=>_0x20e392[_0x3ba945(0x148)](_0x3ca64d({'status$':this['_status$'][_0x3ba945(0x1f9)]()}),this['_injector'])));}},_0x4efe22['DesktopCollaborationStatusDisplayController']=_0x4d5394([_0x41dca2(0x0,_0x1530e5[_0x3bd79c(0x214)]),_0x41dca2(0x1,_0x1530e5['Inject'](_0x1530e5['Injector'])),_0x41dca2(0x2,_0x1530e5[_0x3bd79c(0x157)](_0xf278db[_0x3bd79c(0x36c)])),_0x41dca2(0x3,_0x20e392[_0x3bd79c(0x2e7)])],_0x4efe22[_0x3bd79c(0x218)]);function _0x3ca64d(_0x3372d0){const {status$:_0x19455a}=_0x3372d0;return function(){return _0x4067fa['jsx'](_0x3bd43b,{'status$':_0x19455a});};}var _0x58d7bb=Object['getOwnPropertyDescriptor'],_0x43fd79=(_0x241acb,_0x4ec691,_0x47d0ab,_0x2aa360)=>{const _0x41959e=_0x3bd79c;for(var _0x158f04=_0x2aa360>0x1?void 0x0:_0x2aa360?_0x58d7bb(_0x4ec691,_0x47d0ab):_0x4ec691,_0x3f673b=_0x241acb[_0x41959e(0x25d)]-0x1,_0x564919;_0x3f673b>=0x0;_0x3f673b--)(_0x564919=_0x241acb[_0x3f673b])&&(_0x158f04=_0x564919(_0x158f04)||_0x158f04);return _0x158f04;},_0x34bbc7=(_0x1ab57f,_0x353060)=>(_0x268d2f,_0x20157c)=>_0x353060(_0x268d2f,_0x20157c,_0x1ab57f);let _0x10640e=class extends _0x1530e5[_0x3bd79c(0x1bb)]{constructor(_0x40f5a5,_0x576b23,_0x3a9197,_0x471c5d,_0x4edfda,_0x165495){const _0x5dd86f=_0x3bd79c;super(),this[_0x5dd86f(0x1dd)]=_0x40f5a5,this[_0x5dd86f(0x38b)]=_0x576b23,this[_0x5dd86f(0x207)]=_0x3a9197,this[_0x5dd86f(0x24f)]=_0x471c5d,this[_0x5dd86f(0x336)]=_0x4edfda,this['_localeService']=_0x165495,this[_0x5dd86f(0x318)](),this['_initEvent']();}[_0x3bd79c(0x318)](){const _0x5e2264=_0x3bd79c;this['disposeWithMe'](this[_0x5e2264(0x1dd)][_0x5e2264(0x221)](()=>{const _0x11042b=_0x5e2264;if(this[_0x11042b(0x38b)][_0x11042b(0x2d5)][_0x11042b(0x2a0)])return this[_0x11042b(0x1a6)]['t'](_0x11042b(0x271));}));}[_0x3bd79c(0x231)](){const _0x51717d=_0x3bd79c;this[_0x51717d(0x310)](this['_collaborationUIEventService'][_0x51717d(0x347)][_0x51717d(0x35d)](_0x513a60=>{const _0x53b14d=_0x51717d;_0x513a60['id']===_0xf278db[_0x53b14d(0x1b2)][_0x53b14d(0x262)]&&this['_messageService'][_0x53b14d(0x363)]({'type':_0x44d5a0[_0x53b14d(0x1f8)][_0x53b14d(0x272)],'content':this[_0x53b14d(0x1a6)]['t'](_0x53b14d(0x11f))}),_0x513a60['id']===_0xf278db[_0x53b14d(0x1b2)][_0x53b14d(0x376)]&&this[_0x53b14d(0x24f)][_0x53b14d(0x363)]({'type':_0x44d5a0[_0x53b14d(0x1f8)][_0x53b14d(0x272)],'content':this[_0x53b14d(0x1a6)]['t'](_0x53b14d(0x289))}),_0x513a60['id']===_0xf278db['CollaborationUIEventId'][_0x53b14d(0x333)]&&this['_notificationService'][_0x53b14d(0x363)]({'title':this[_0x53b14d(0x1a6)]['t']('permission.title'),'content':this['_localeService']['t'](_0x53b14d(0x325)),'type':_0x53b14d(0x124),'duration':0x0}),_0x513a60['id']===_0xf278db[_0x53b14d(0x1b2)]['CONFLICT']&&this['_messageService'][_0x53b14d(0x363)]({'type':_0x44d5a0[_0x53b14d(0x1f8)]['Error'],'content':this[_0x53b14d(0x1a6)]['t'](_0x53b14d(0x289))+'('+_0x513a60['data']+')'}),_0x513a60['id']===_0xf278db[_0x53b14d(0x1b2)][_0x53b14d(0x33b)]&&this['_messageService'][_0x53b14d(0x363)]({'type':_0x44d5a0['MessageType'][_0x53b14d(0x272)],'content':this[_0x53b14d(0x1a6)]['t'](_0x513a60[_0x53b14d(0x34b)]||'')}),_0x513a60['id']===_0xf278db['CollaborationUIEventId'][_0x53b14d(0x22b)]&&this['_messageService'][_0x53b14d(0x363)]({'type':_0x44d5a0[_0x53b14d(0x1f8)]['Warning'],'content':this[_0x53b14d(0x1a6)]['t'](_0x53b14d(0x161))}),_0x513a60['id']===_0xf278db['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x53b14d(0x24f)][_0x53b14d(0x363)]({'type':_0x44d5a0[_0x53b14d(0x1f8)][_0x53b14d(0x375)],'content':this[_0x53b14d(0x1a6)]['t'](_0x53b14d(0x1e3))}),_0x513a60['id']===_0xf278db[_0x53b14d(0x1b2)][_0x53b14d(0x2ff)]&&this[_0x53b14d(0x24f)][_0x53b14d(0x363)]({'type':_0x44d5a0[_0x53b14d(0x1f8)][_0x53b14d(0x375)],'content':this[_0x53b14d(0x1a6)]['t'](_0x53b14d(0x19b))});}));}};_0x10640e=_0x43fd79([_0x34bbc7(0x0,_0x20e392[_0x3bd79c(0x15b)]),_0x34bbc7(0x1,_0xf278db[_0x3bd79c(0x1c6)]),_0x34bbc7(0x2,_0x1530e5[_0x3bd79c(0x157)](_0xf278db[_0x3bd79c(0x2b0)])),_0x34bbc7(0x3,_0x20e392['IMessageService']),_0x34bbc7(0x4,_0x20e392['INotificationService']),_0x34bbc7(0x5,_0x1530e5[_0x3bd79c(0x157)](_0x1530e5[_0x3bd79c(0x20d)]))],_0x10640e);const _0x3f41ab=_0x3bd79c(0x16c),_0x1e9aa7={},_0x268aea=_0x1530e5['createIdentifier'](_0x3bd79c(0x356));var _0xe37bb0=Object[_0x3bd79c(0x359)],_0x509e15=(_0x1a3498,_0x38e3be,_0x1c9570,_0x1cda0b)=>{const _0x380f42=_0x3bd79c;for(var _0x1de52e=_0x1cda0b>0x1?void 0x0:_0x1cda0b?_0xe37bb0(_0x38e3be,_0x1c9570):_0x38e3be,_0x35d2f3=_0x1a3498[_0x380f42(0x25d)]-0x1,_0x3da0f6;_0x35d2f3>=0x0;_0x35d2f3--)(_0x3da0f6=_0x1a3498[_0x35d2f3])&&(_0x1de52e=_0x3da0f6(_0x1de52e)||_0x1de52e);return _0x1de52e;},_0x5c1fb2=(_0x32a758,_0x10e3a3)=>(_0x44b70a,_0x5c36e8)=>_0x10e3a3(_0x44b70a,_0x5c36e8,_0x32a758);_0x4efe22[_0x3bd79c(0x2a6)]=class extends _0x1530e5[_0x3bd79c(0x18c)]{constructor(_0x577672,_0x3b03b8,_0x2e4d1a,_0x259d02,_0x22b208){const _0x242d25=_0x3bd79c;super(),this[_0x242d25(0x3b1)]=_0x577672,this[_0x242d25(0x193)]=_0x3b03b8,this[_0x242d25(0x25f)]=_0x2e4d1a,this[_0x242d25(0x344)]=_0x259d02,_0x22b208?_0x22b208==null||_0x22b208[_0x242d25(0x300)]()[_0x242d25(0x354)](()=>this[_0x242d25(0x366)]()):(this[_0x242d25(0x193)][_0x242d25(0x24a)](_0x242d25(0x1b4),_0x242d25(0x1a3)),this[_0x242d25(0x366)]());}async[_0x3bd79c(0x366)](){const _0x180e60=_0x3bd79c,_0xb068f7=this[_0x180e60(0x3b1)]['getParam'](_0x180e60(0x24b)),_0x5bf2cb=this[_0x180e60(0x3b1)][_0x180e60(0x311)]('type'),_0x226f7e=this[_0x180e60(0x3b1)]['getParam'](_0x180e60(0x19a));if(!_0xb068f7||!_0x5bf2cb){this[_0x180e60(0x193)]['debug']('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x38246b=await this[_0x180e60(0x344)]['loadUnit'](_0xb068f7,Number(_0x5bf2cb),_0x226f7e);_0x38246b&&_0x38246b instanceof _0x1530e5[_0x180e60(0x28f)]&&this[_0x180e60(0x32b)](_0x38246b);}async['_setupSubUnitSync'](_0x55ded3){const _0x258cda=_0x3bd79c;await this[_0x258cda(0x280)](_0x55ded3),_0x55ded3[_0x258cda(0x21b)]['pipe'](_0x42b625[_0x258cda(0x2d3)](this[_0x258cda(0x3a2)]))[_0x258cda(0x35d)](_0x3d3333=>{_0x3d3333&&this['_updateURLWithCurrentState'](_0x3d3333);}),this[_0x258cda(0x3b1)]['urlChange$'][_0x258cda(0x11a)](_0x42b625[_0x258cda(0x2d3)](this[_0x258cda(0x3a2)]))[_0x258cda(0x35d)](()=>this[_0x258cda(0x280)](_0x55ded3));}[_0x3bd79c(0x342)](_0x554a43,_0x45b859=!0x1){const _0x495f05=_0x3bd79c,_0x54c714=this[_0x495f05(0x3b1)][_0x495f05(0x311)](_0x495f05(0x19a));_0x554a43[_0x495f05(0x129)]()!==_0x54c714&&this[_0x495f05(0x3b1)]['setParam'](_0x495f05(0x19a),_0x554a43['getSheetId'](),_0x45b859);}async['_updateSubUnitFromURLParams'](_0x3c52a7){const _0x47d290=_0x3bd79c;var _0x3e6dc5;const _0x1df439=this[_0x47d290(0x3b1)][_0x47d290(0x311)](_0x47d290(0x19a));if(!_0x1df439||!_0x3c52a7['getSheetBySheetId'](_0x1df439)){const _0x4d0fdb=_0x3c52a7[_0x47d290(0x2de)]()[0x0],_0xfeb5fd=_0x3c52a7[_0x47d290(0x11d)](_0x4d0fdb);if(!_0xfeb5fd)return;this[_0x47d290(0x342)](_0xfeb5fd,!0x0),await this[_0x47d290(0x25f)][_0x47d290(0x172)](_0x347355[_0x47d290(0x34e)]['id'],{'unitId':_0x3c52a7[_0x47d290(0x255)](),'subUnitId':_0x4d0fdb});return;}((_0x3e6dc5=_0x3c52a7[_0x47d290(0x286)]())==null?void 0x0:_0x3e6dc5['getSheetId']())!==_0x1df439&&await this[_0x47d290(0x25f)]['executeCommand'](_0x347355[_0x47d290(0x34e)]['id'],{'unitId':_0x3c52a7[_0x47d290(0x255)](),'subUnitId':_0x1df439});}},_0x4efe22['CollaborationDataLoaderController']=_0x509e15([_0x5c1fb2(0x0,_0x268aea),_0x5c1fb2(0x1,_0x1530e5['ILogService']),_0x5c1fb2(0x2,_0x1530e5[_0x3bd79c(0x37e)]),_0x5c1fb2(0x3,_0x1530e5[_0x3bd79c(0x157)](_0xf278db[_0x3bd79c(0x288)])),_0x5c1fb2(0x4,_0x1530e5[_0x3bd79c(0x369)](_0x4f3920[_0x3bd79c(0x2b5)]))],_0x4efe22['CollaborationDataLoaderController']);var _0xc1527e=Object['getOwnPropertyDescriptor'],_0x249f17=(_0x1a9b84,_0x38c531,_0x147eea,_0x52d4fb)=>{const _0x3103a2=_0x3bd79c;for(var _0x5c23d2=_0x52d4fb>0x1?void 0x0:_0x52d4fb?_0xc1527e(_0x38c531,_0x147eea):_0x38c531,_0x7a5077=_0x1a9b84[_0x3103a2(0x25d)]-0x1,_0x168f5e;_0x7a5077>=0x0;_0x7a5077--)(_0x168f5e=_0x1a9b84[_0x7a5077])&&(_0x5c23d2=_0x168f5e(_0x5c23d2)||_0x5c23d2);return _0x5c23d2;},_0x6e2154=(_0x1d3dd7,_0x2fc3c9)=>(_0x1d410c,_0x37cb76)=>_0x2fc3c9(_0x1d410c,_0x37cb76,_0x1d3dd7);let _0x2d4bbb=class{constructor(_0xee5642,_0x52a4d9,_0x50c040){const _0x338364=_0x3bd79c;this[_0x338364(0x1d4)]=_0xee5642,this['_transformService']=_0x52a4d9,this[_0x338364(0x171)]=_0x50c040;}['transformIMECache'](_0x4a4afa){const _0x14a07f=_0x3bd79c;this[_0x14a07f(0x208)](_0x4a4afa),this[_0x14a07f(0x39b)](_0x4a4afa);}[_0x3bd79c(0x237)](_0x4d537d){const _0x3de13e=_0x3bd79c,{unitID:_0xb4765c}=_0x4d537d,_0x48fdbe=this[_0x3de13e(0x171)][_0x3de13e(0x39d)](_0xb4765c)[_0x3de13e(0x1cf)](_0x3bb97e[_0x3de13e(0x314)]),{redoCache:_0x151325}=_0x48fdbe[_0x3de13e(0x332)]();if(_0x151325[_0x3de13e(0x25d)]===0x0)return _0x4d537d;let _0x2ee1d1=_0x1530e5[_0x3de13e(0x348)][_0x3de13e(0x137)](_0x4d537d['mutations'][0x0]);for(let _0x23e06b=0x0;_0x23e06b<_0x151325[_0x3de13e(0x25d)];_0x23e06b++){const _0xfd686e={'id':_0x3de13e(0x240),'params':{..._0x151325[_0x23e06b]}},_0x5cfd28=this[_0x3de13e(0x202)][_0x3de13e(0x2ac)](_0x2ee1d1,_0xfd686e,!0x1);if(_0x19cd12[_0x3de13e(0x2d9)](_0x5cfd28))throw _0x5cfd28[_0x3de13e(0x124)];_0x2ee1d1=_0x5cfd28[_0x3de13e(0x275)];}return{..._0x1530e5['Tools']['deepClone'](_0x4d537d),'mutations':[_0x2ee1d1]};}['_transformUndoRedoStack'](_0x227451){const _0xef099=_0x3bd79c,{unitID:_0x570a6e}=_0x227451,_0x130d0c=this['_renderManagerService'][_0xef099(0x39d)](_0x570a6e)[_0xef099(0x1cf)](_0x3bb97e['DocIMEInputManagerService']),{undoCache:_0x4f6985,redoCache:_0x1009c7}=_0x130d0c[_0xef099(0x332)]();if(_0x4f6985[_0xef099(0x25d)]===0x0||_0x1009c7[_0xef099(0x25d)]===0x0)return;const _0x578945=[],_0xddcd11=[];let _0x224ca4=_0x1530e5['Tools']['deepClone'](_0x227451['mutations'][0x0]),_0x22abe2=_0x1530e5[_0xef099(0x348)][_0xef099(0x137)](_0x227451['mutations'][0x0]);for(let _0x131a1b=_0x4f6985[_0xef099(0x25d)]-0x1;_0x131a1b>=0x0;_0x131a1b--){const _0x4e144a={'id':_0xef099(0x240),'params':{..._0x4f6985[_0x131a1b]}},_0x532f88={'id':_0xef099(0x240),'params':{..._0x1009c7[_0x131a1b]}},_0x298258=this[_0xef099(0x202)]['transformMutation'](_0x224ca4,_0x4e144a,!0x1),_0x31d0d6=this[_0xef099(0x202)][_0xef099(0x2ac)](_0x22abe2,_0x532f88,!0x1);if(_0x19cd12['isTransformMutationFailure'](_0x298258))throw _0x298258['error'];if(_0x19cd12[_0xef099(0x2d9)](_0x31d0d6))throw _0x31d0d6[_0xef099(0x124)];_0x578945['unshift'](_0x298258[_0xef099(0x15c)][_0xef099(0x205)]),_0xddcd11[_0xef099(0x1d0)](_0x31d0d6[_0xef099(0x15c)][_0xef099(0x205)]),_0x224ca4=_0x298258[_0xef099(0x275)],_0x22abe2=_0x31d0d6[_0xef099(0x275)];}_0x130d0c[_0xef099(0x12d)]({'undoCache':_0x578945,'redoCache':_0xddcd11});}[_0x3bd79c(0x39b)](_0x10f5ad){const _0xc3033e=_0x3bd79c,{unitID:_0x5e0d82}=_0x10f5ad,_0x4baf67=this[_0xc3033e(0x171)]['getRenderById'](_0x5e0d82)[_0xc3033e(0x1cf)](_0x3bb97e[_0xc3033e(0x314)]),_0x453e28=_0x4baf67['getActiveRange']();if(_0x453e28==null)return;const _0x64422=[{'id':_0xc3033e(0x240),'params':{'unitId':_0x10f5ad[_0xc3033e(0x226)],'actions':null,'textRanges':[_0x453e28]}}],_0x51899c=this[_0xc3033e(0x202)][_0xc3033e(0x152)](_0x10f5ad,_0x64422);if(!_0x19cd12[_0xc3033e(0x1ed)](_0x51899c))throw _0x51899c[_0xc3033e(0x124)];const _0x549fa4=_0x51899c['m2Prime'][0x0][_0xc3033e(0x205)][_0xc3033e(0x1eb)];Array['isArray'](_0x549fa4)&&_0x549fa4[_0xc3033e(0x25d)]&&_0x4baf67['setActiveRange'](_0x549fa4[0x0]);}};_0x2d4bbb=_0x249f17([_0x6e2154(0x0,_0x1530e5[_0x3bd79c(0x157)](_0x1530e5['Injector'])),_0x6e2154(0x1,_0x19cd12[_0x3bd79c(0x386)]),_0x6e2154(0x2,_0x37f675[_0x3bd79c(0x1f0)])],_0x2d4bbb);var _0x2a1ba2=Object[_0x3bd79c(0x359)],_0x72601a=(_0x1c6822,_0x487834,_0x1f9210,_0x4db904)=>{for(var _0x4350ad=_0x4db904>0x1?void 0x0:_0x4db904?_0x2a1ba2(_0x487834,_0x1f9210):_0x487834,_0x14e175=_0x1c6822['length']-0x1,_0x48bf38;_0x14e175>=0x0;_0x14e175--)(_0x48bf38=_0x1c6822[_0x14e175])&&(_0x4350ad=_0x48bf38(_0x4350ad)||_0x4350ad);return _0x4350ad;},_0x4ff66a=(_0x22ceb9,_0x28d2fc)=>(_0x833b4b,_0x36af2e)=>_0x28d2fc(_0x833b4b,_0x36af2e,_0x22ceb9);let _0x28e86f=class{constructor(_0x4faac0,_0x6dc614,_0x6ad419){this['_injector']=_0x4faac0,this['_transformService']=_0x6dc614,this['_docStateChangeManagerService']=_0x6ad419;}[_0x3bd79c(0x1a9)](_0x2e92db){const _0x5a5736=_0x3bd79c;this[_0x5a5736(0x155)](_0x2e92db);}[_0x3bd79c(0x237)](_0x5dd83f){const _0x48fdf9=_0x3bd79c,{unitID:_0x33098e}=_0x5dd83f,{collaboration:_0x566f36}=this['_docStateChangeManagerService']['getStateCache'](_0x33098e);if(_0x566f36[_0x48fdf9(0x25d)]===0x0)return _0x5dd83f;let _0x4c85ac=_0x1530e5['Tools']['deepClone'](_0x5dd83f[_0x48fdf9(0x1c5)][0x0]);for(let _0x91a8d2=0x0;_0x91a8d2<_0x566f36['length'];_0x91a8d2++){const _0x557b2f={'id':_0x48fdf9(0x240),'params':{'unitId':_0x566f36[_0x91a8d2][_0x48fdf9(0x131)],..._0x566f36[_0x91a8d2][_0x48fdf9(0x2a9)]}},_0x51b29f=this[_0x48fdf9(0x202)][_0x48fdf9(0x2ac)](_0x4c85ac,_0x557b2f,!0x1);if(_0x19cd12[_0x48fdf9(0x2d9)](_0x51b29f))throw _0x51b29f[_0x48fdf9(0x124)];_0x4c85ac=_0x51b29f[_0x48fdf9(0x275)];}return{..._0x1530e5[_0x48fdf9(0x348)]['deepClone'](_0x5dd83f),'mutations':[_0x4c85ac]};}[_0x3bd79c(0x155)](_0x6a2051){const _0x23b528=_0x3bd79c,{unitID:_0x1cf92e}=_0x6a2051,{history:_0x2421c3,collaboration:_0x2b3ea0}=this[_0x23b528(0x1bd)]['getStateCache'](_0x1cf92e);if(_0x2421c3[_0x23b528(0x25d)]===0x0&&_0x2b3ea0[_0x23b528(0x25d)]===0x0)return;const _0x422705=[],_0x32592f=[];let _0x2fee87=_0x1530e5[_0x23b528(0x348)][_0x23b528(0x137)](_0x6a2051[_0x23b528(0x1c5)][0x0]),_0x337ff4=_0x1530e5[_0x23b528(0x348)]['deepClone'](_0x6a2051[_0x23b528(0x1c5)][0x0]);for(let _0xe94f63=_0x2421c3[_0x23b528(0x25d)]-0x1;_0xe94f63>=0x0;_0xe94f63--){const _0x181404={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2421c3[_0xe94f63][_0x23b528(0x131)],..._0x2421c3[_0xe94f63][_0x23b528(0x2ef)]}},_0x163274={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2421c3[_0xe94f63][_0x23b528(0x131)],..._0x2421c3[_0xe94f63]['redoState']}},_0x5e4ed2=this[_0x23b528(0x202)][_0x23b528(0x2ac)](_0x2fee87,_0x181404,!0x1),_0x23a3cb=this[_0x23b528(0x202)][_0x23b528(0x2ac)](_0x337ff4,_0x163274,!0x1);if(_0x19cd12[_0x23b528(0x2d9)](_0x5e4ed2))throw _0x5e4ed2[_0x23b528(0x124)];if(_0x19cd12['isTransformMutationFailure'](_0x23a3cb))throw _0x23a3cb[_0x23b528(0x124)];_0x422705['unshift']({..._0x2421c3[_0xe94f63],'undoState':_0x5e4ed2[_0x23b528(0x15c)]['params'],'redoState':_0x23a3cb[_0x23b528(0x15c)]['params']}),_0x2fee87=_0x5e4ed2[_0x23b528(0x275)],_0x337ff4=_0x23a3cb['m1Prime'];}_0x2fee87=_0x1530e5[_0x23b528(0x348)]['deepClone'](_0x6a2051[_0x23b528(0x1c5)][0x0]),_0x337ff4=_0x1530e5[_0x23b528(0x348)][_0x23b528(0x137)](_0x6a2051[_0x23b528(0x1c5)][0x0]);for(let _0x29e1d3=_0x2b3ea0[_0x23b528(0x25d)]-0x1;_0x29e1d3>=0x0;_0x29e1d3--){const _0x2b93c9={'id':_0x23b528(0x240),'params':{'unitId':_0x2b3ea0[_0x29e1d3][_0x23b528(0x131)],..._0x2b3ea0[_0x29e1d3][_0x23b528(0x2ef)]}},_0x3eaf35={'id':_0x23b528(0x240),'params':{'unitId':_0x2b3ea0[_0x29e1d3]['unitId'],..._0x2b3ea0[_0x29e1d3][_0x23b528(0x2a9)]}},_0x58202e=this[_0x23b528(0x202)][_0x23b528(0x2ac)](_0x2fee87,_0x2b93c9,!0x1),_0x2bc865=this[_0x23b528(0x202)]['transformMutation'](_0x337ff4,_0x3eaf35,!0x1);if(_0x19cd12[_0x23b528(0x2d9)](_0x58202e))throw _0x58202e['error'];if(_0x19cd12[_0x23b528(0x2d9)](_0x2bc865))throw _0x2bc865[_0x23b528(0x124)];_0x32592f[_0x23b528(0x1d0)]({..._0x2b3ea0[_0x29e1d3],'undoState':_0x58202e['m2Prime'][_0x23b528(0x205)],'redoState':_0x2bc865[_0x23b528(0x15c)][_0x23b528(0x205)]}),_0x2fee87=_0x58202e['m1Prime'],_0x337ff4=_0x2bc865[_0x23b528(0x275)];}this[_0x23b528(0x1bd)][_0x23b528(0x121)](_0x1cf92e,{'history':_0x422705,'collaboration':_0x32592f});}};_0x28e86f=_0x72601a([_0x4ff66a(0x0,_0x1530e5['Inject'](_0x1530e5['Injector'])),_0x4ff66a(0x1,_0x19cd12[_0x3bd79c(0x386)]),_0x4ff66a(0x2,_0x1530e5[_0x3bd79c(0x157)](_0x3bb97e['DocStateChangeManagerService']))],_0x28e86f);var _0x2acb73=Object['getOwnPropertyDescriptor'],_0x2a6d83=(_0x20ed1b,_0x57bebb,_0xbe764e,_0xe49d1b)=>{for(var _0x48f3a7=_0xe49d1b>0x1?void 0x0:_0xe49d1b?_0x2acb73(_0x57bebb,_0xbe764e):_0x57bebb,_0x38d0b2=_0x20ed1b['length']-0x1,_0x298a5e;_0x38d0b2>=0x0;_0x38d0b2--)(_0x298a5e=_0x20ed1b[_0x38d0b2])&&(_0x48f3a7=_0x298a5e(_0x48f3a7)||_0x48f3a7);return _0x48f3a7;},_0xc8150e=(_0x4e88e5,_0x3cbdc8)=>(_0x307c49,_0x127fa3)=>_0x3cbdc8(_0x307c49,_0x127fa3,_0x4e88e5);let _0x92c8e3=class{constructor(_0x17a3e1,_0x1e4972){const _0x599764=_0x3bd79c;this[_0x599764(0x1d4)]=_0x17a3e1,this[_0x599764(0x202)]=_0x1e4972;}['transformSelections'](_0x1fa8cf){const _0x1e2dbe=_0x3bd79c;var _0x3ac204;const _0x5ae79a=this[_0x1e2dbe(0x1d4)][_0x1e2dbe(0x35b)](_0x15f850[_0x1e2dbe(0x28e)]),_0x19776e=(_0x3ac204=_0x5ae79a[_0x1e2dbe(0x297)]())!=null?_0x3ac204:[];if(_0x19776e[_0x1e2dbe(0x25d)]===0x0)return;const _0x49e0ac=_0x1fa8cf[_0x1e2dbe(0x226)],_0x3860a7=[{'id':_0x1e2dbe(0x240),'params':{'unitId':_0x49e0ac,'actions':null,'textRanges':_0x19776e}}],_0x160d7d=this[_0x1e2dbe(0x202)]['transformMutationsWithChangeset'](_0x1fa8cf,_0x3860a7);if(!_0x19cd12['isTransformMutationsWithChangesetSuccess'](_0x160d7d))throw _0x160d7d[_0x1e2dbe(0x124)];const _0x71cbc1=_0x160d7d[_0x1e2dbe(0x15c)][0x0][_0x1e2dbe(0x205)][_0x1e2dbe(0x1eb)];Array[_0x1e2dbe(0x1f6)](_0x71cbc1)&&_0x71cbc1[_0x1e2dbe(0x25d)]&&_0x5ae79a[_0x1e2dbe(0x2e1)](_0x71cbc1,{'unitId':_0x49e0ac,'subUnitId':_0x49e0ac},!0x1);}};_0x92c8e3=_0x2a6d83([_0xc8150e(0x0,_0x1530e5['Inject'](_0x1530e5[_0x3bd79c(0x2f9)])),_0xc8150e(0x1,_0x19cd12[_0x3bd79c(0x386)])],_0x92c8e3);var _0x73bea2=Object[_0x3bd79c(0x359)],_0x47c31c=(_0x35c272,_0xcfc250,_0x20180e,_0x515734)=>{for(var _0xdec26d=_0x515734>0x1?void 0x0:_0x515734?_0x73bea2(_0xcfc250,_0x20180e):_0xcfc250,_0x3575fe=_0x35c272['length']-0x1,_0xcad6df;_0x3575fe>=0x0;_0x3575fe--)(_0xcad6df=_0x35c272[_0x3575fe])&&(_0xdec26d=_0xcad6df(_0xdec26d)||_0xdec26d);return _0xdec26d;},_0x3fee8a=(_0x478a64,_0x307eff)=>(_0x5b4030,_0x192191)=>_0x307eff(_0x5b4030,_0x192191,_0x478a64);let _0x515918=class extends _0x1530e5[_0x3bd79c(0x1bb)]{constructor(_0x8e7b36,_0x4e60ef,_0x521c79,_0x2d3eb8,_0x5e9655,_0x3e9366,_0x4224cc,_0x27d493){const _0x1f0e8b=_0x3bd79c;super(),_0x3b9fde(this,_0x1f0e8b(0x320),new _0x42b625[(_0x1f0e8b(0x191))](_0xf278db[_0x1f0e8b(0x387)][_0x1f0e8b(0x220)])),(this['_docStateChangeManagerService']=_0x8e7b36,this[_0x1f0e8b(0x2da)]=_0x4e60ef,this[_0x1f0e8b(0x2b6)]=_0x521c79,this[_0x1f0e8b(0x11e)]=_0x2d3eb8,this['_docTransformSelectionsService']=_0x5e9655,this[_0x1f0e8b(0x1a2)]=_0x3e9366,this[_0x1f0e8b(0x24f)]=_0x4224cc,this[_0x1f0e8b(0x1a6)]=_0x27d493,this[_0x1f0e8b(0x185)]());}[_0x3bd79c(0x185)](){const _0x641828=_0x3bd79c;this[_0x641828(0x310)](this[_0x641828(0x2da)][_0x641828(0x13e)][_0x641828(0x35d)](_0x13bcf7=>{const _0x5225da=_0x641828,_0x39da00=this[_0x5225da(0x1bd)][_0x5225da(0x2e8)][_0x5225da(0x35d)](_0x1428b8=>{const _0x3d50cc=_0x5225da;if(_0x1428b8==null)return;const {unitId:_0x4b5324,redoState:_0x46231c,commandId:_0xf82bf7}=_0x1428b8;if(_0x4b5324!==_0x13bcf7[_0x3d50cc(0x226)])return;const _0x2fa349={'id':_0xf82bf7,'type':_0x1530e5[_0x3d50cc(0x1d7)][_0x3d50cc(0x37f)],'params':{'unitId':_0x4b5324,'actions':_0x46231c[_0x3d50cc(0x254)],'textRanges':null}};_0x13bcf7[_0x3d50cc(0x30c)](_0x2fa349);});if(_0x13bcf7[_0x5225da(0x310)](_0x39da00),_0x13bcf7 instanceof _0xf278db[_0x5225da(0x2f3)]){const _0x1f57fa={'onTransformIME':_0x484ab9=>this[_0x5225da(0x2b6)][_0x5225da(0x335)](_0x484ab9),'onTransformState':_0x59dc17=>this[_0x5225da(0x11e)][_0x5225da(0x1a9)](_0x59dc17),'onTransformSelections':_0xb06a79=>this[_0x5225da(0x1fc)][_0x5225da(0x169)](_0xb06a79),'onSyncEditingCollabCursor':_0x2fe001=>this[_0x5225da(0x1a2)][_0x5225da(0x1fb)](_0x2fe001),'onTransformRemoteChangesetByIMECache':_0x586ca3=>this[_0x5225da(0x2b6)]['transformRemoteChangeset'](_0x586ca3),'onTransformRemoteChangesetByStateCache':_0x5b146b=>this[_0x5225da(0x11e)]['transformRemoteChangeset'](_0x5b146b)};_0x13bcf7[_0x5225da(0x385)](_0x1f57fa);}}));}};_0x515918=_0x47c31c([_0x3fee8a(0x0,_0x1530e5['Inject'](_0x3bb97e[_0x3bd79c(0x1af)])),_0x3fee8a(0x1,_0x1530e5[_0x3bd79c(0x157)](_0xf278db['CollaborationController'])),_0x3fee8a(0x2,_0x1530e5['Inject'](_0x2d4bbb)),_0x3fee8a(0x3,_0x1530e5[_0x3bd79c(0x157)](_0x28e86f)),_0x3fee8a(0x4,_0x1530e5[_0x3bd79c(0x157)](_0x92c8e3)),_0x3fee8a(0x5,_0x1530e5[_0x3bd79c(0x157)](_0x88fed9)),_0x3fee8a(0x6,_0x20e392[_0x3bd79c(0x1ab)]),_0x3fee8a(0x7,_0x1530e5['Inject'](_0x1530e5[_0x3bd79c(0x20d)]))],_0x515918);var _0x1d0082=Object['getOwnPropertyDescriptor'],_0x50afce=(_0x56f636,_0x553279,_0x212c8e,_0x41a9c3)=>{for(var _0x5dbd7c=_0x41a9c3>0x1?void 0x0:_0x41a9c3?_0x1d0082(_0x553279,_0x212c8e):_0x553279,_0x69e293=_0x56f636['length']-0x1,_0x39be6c;_0x69e293>=0x0;_0x69e293--)(_0x39be6c=_0x56f636[_0x69e293])&&(_0x5dbd7c=_0x39be6c(_0x5dbd7c)||_0x5dbd7c);return _0x5dbd7c;},_0x127fb1=(_0x3712c1,_0x58d8ab)=>(_0x1cd1b9,_0x4a0f05)=>_0x58d8ab(_0x1cd1b9,_0x4a0f05,_0x3712c1);let _0x47fee0=class extends _0x1530e5[_0x3bd79c(0x1bb)]{constructor(_0x451c74,_0xb8bc59,_0x111fad){const _0x3258a8=_0x3bd79c;super(),_0x3b9fde(this,'_cachedData',new Map()),_0x3b9fde(this,_0x3258a8(0x1ad),new Map()),_0x3b9fde(this,_0x3258a8(0x223),!0x1),(this[_0x3258a8(0x15e)]=_0x451c74,this[_0x3258a8(0x267)]=_0xb8bc59,this['_revisionService']=_0x111fad);}[_0x3bd79c(0x2bc)](){const _0x410baa=_0x3bd79c;this[_0x410baa(0x223)]=!0x0;}[_0x3bd79c(0x1ff)](){const _0x5207a6=_0x3bd79c;this[_0x5207a6(0x223)]=!0x1;}get[_0x3bd79c(0x2d5)](){const _0xd49575=_0x3bd79c;return this[_0xd49575(0x1ad)];}['dispose'](){const _0x58b3d1=_0x3bd79c;this[_0x58b3d1(0x227)]()[_0x58b3d1(0x354)](()=>super[_0x58b3d1(0x1f5)]());}async['loadOfflineData'](_0x38191d){const _0x3b656d=_0x3bd79c;return this['_disabled']?null:this['_localStorageService'][_0x3b656d(0x201)](_0xf278db[_0x3b656d(0x160)](_0x38191d));}async[_0x3bd79c(0x390)](_0x512737,_0x25d3a9){const _0x52e970=_0x3bd79c;return!!this[_0x52e970(0x267)]['setItem'](_0x512737,_0x25d3a9);}[_0x3bd79c(0x249)](_0x1b13fc,_0xf1c55c,_0x1f9b99,_0x85622a){const _0x86a0c1=_0x3bd79c,_0x326767=this[_0x86a0c1(0x372)][_0x86a0c1(0x27a)](_0x1b13fc);this[_0x86a0c1(0x179)][_0x86a0c1(0x1f4)](_0x1b13fc,{'unitID':_0x1b13fc,'type':_0xf1c55c,'awaitingChangeset':_0x1f9b99,'mutations':_0x85622a,'rev':_0x326767}),this['_saveTaskMap'][_0x86a0c1(0x1cb)](_0x1b13fc)||this[_0x86a0c1(0x334)](_0x1b13fc);}[_0x3bd79c(0x334)](_0x50f78e){const _0x53244d=_0x3bd79c,_0x187f1a=this['_getSaveTimeout']();_0x187f1a===0x0?this[_0x53244d(0x23e)](_0x50f78e):this[_0x53244d(0x1ad)][_0x53244d(0x1f4)](_0x50f78e,setTimeout(()=>this[_0x53244d(0x23e)](_0x50f78e),_0x187f1a));}['_getSaveTimeout'](){const _0x294394=_0x3bd79c;var _0x308e98;return(_0x308e98=this[_0x294394(0x15e)][_0x294394(0x198)](_0xf278db[_0x294394(0x2b4)]))!=null?_0x308e98:_0xf278db['LOCAL_CACHE_INTERVAL'];}[_0x3bd79c(0x23e)](_0x15989f){const _0xdb4102=_0x3bd79c,_0x41db0f=this[_0xdb4102(0x1ad)][_0xdb4102(0x35b)](_0x15989f);return _0x41db0f!==void 0x0&&window[_0xdb4102(0x1c1)](_0x41db0f),this[_0xdb4102(0x267)][_0xdb4102(0x3ac)](_0xf278db[_0xdb4102(0x160)](_0x15989f),this[_0xdb4102(0x179)][_0xdb4102(0x35b)](_0x15989f))[_0xdb4102(0x354)](()=>this[_0xdb4102(0x1ad)][_0xdb4102(0x378)](_0x15989f));}async[_0x3bd79c(0x227)](){const _0x10c550=_0x3bd79c,_0x534b2b=[];this[_0x10c550(0x1ad)][_0x10c550(0x18b)]((_0x4f07dd,_0x4e23e8)=>{const _0xf500c8=_0x10c550;window[_0xf500c8(0x1c1)](_0x4f07dd),_0x534b2b['push'](this[_0xf500c8(0x23e)](_0x4e23e8)['then'](()=>{const _0x2ed6c1=_0xf500c8;this[_0x2ed6c1(0x1ad)][_0x2ed6c1(0x378)](_0x4e23e8);}));}),await Promise[_0x10c550(0x1d8)](_0x534b2b);}};_0x47fee0=_0x50afce([_0x127fb1(0x0,_0x1530e5[_0x3bd79c(0x3b2)]),_0x127fb1(0x1,_0x1530e5[_0x3bd79c(0x357)]),_0x127fb1(0x2,_0x1530e5['Inject'](_0x19cd12[_0x3bd79c(0x29d)]))],_0x47fee0);class _0x2b4ddf extends _0x1530e5[_0x3bd79c(0x18c)]{constructor(){const _0x5bc7f2=_0x3bd79c;super(),_0x3b9fde(this,_0x5bc7f2(0x206)),this[_0x5bc7f2(0x206)]=_0x42b625[_0x5bc7f2(0x1f2)](window,_0x5bc7f2(0x238))[_0x5bc7f2(0x11a)](_0x42b625[_0x5bc7f2(0x2d3)](this[_0x5bc7f2(0x3a2)]),_0x42b625['shareReplay'](0x1),_0x42b625[_0x5bc7f2(0x1b1)](void 0x0));}[_0x3bd79c(0x1e2)](_0x2c3c9d,_0x5d20d7,_0x4d0c61=!0x1){const _0x1d4b7f=_0x3bd79c,_0x3e70aa=new URL(window['location'][_0x1d4b7f(0x384)]);_0x3e70aa[_0x1d4b7f(0x228)][_0x1d4b7f(0x1f4)](_0x2c3c9d,_0x5d20d7),_0x4d0c61?window[_0x1d4b7f(0x2b3)][_0x1d4b7f(0x34a)]('','',_0x3e70aa[_0x1d4b7f(0x196)]()):window[_0x1d4b7f(0x2b3)][_0x1d4b7f(0x25c)]('','',_0x3e70aa[_0x1d4b7f(0x196)]());}['removeParam'](_0x16a651,_0x318cca=!0x1){const _0x401401=_0x3bd79c,_0x4f05cd=new URL(window[_0x401401(0x349)][_0x401401(0x384)]);_0x4f05cd['searchParams'][_0x401401(0x378)](_0x16a651),_0x318cca?window[_0x401401(0x2b3)][_0x401401(0x34a)]('','',_0x4f05cd['toString']()):window[_0x401401(0x2b3)][_0x401401(0x25c)]('','',_0x4f05cd['toString']());}[_0x3bd79c(0x311)](_0x2665d6){const _0xd7048b=_0x3bd79c;var _0x55da4f;return(_0x55da4f=new URL(window['location']['href'])[_0xd7048b(0x228)][_0xd7048b(0x35b)](_0x2665d6))!=null?_0x55da4f:void 0x0;}}var _0x29e9fe=Object[_0x3bd79c(0x25b)],_0x426e9f=Object[_0x3bd79c(0x359)],_0xc48e09=(_0x2c814e,_0xc98a3f,_0x2c87f8)=>_0xc98a3f in _0x2c814e?_0x29e9fe(_0x2c814e,_0xc98a3f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c87f8}):_0x2c814e[_0xc98a3f]=_0x2c87f8,_0x1d796c=(_0xb250fb,_0x285f02,_0x4b08df,_0x2b93ba)=>{const _0x3ca127=_0x3bd79c;for(var _0x4180c8=_0x2b93ba>0x1?void 0x0:_0x2b93ba?_0x426e9f(_0x285f02,_0x4b08df):_0x285f02,_0x2a1251=_0xb250fb[_0x3ca127(0x25d)]-0x1,_0x51b200;_0x2a1251>=0x0;_0x2a1251--)(_0x51b200=_0xb250fb[_0x2a1251])&&(_0x4180c8=_0x51b200(_0x4180c8)||_0x4180c8);return _0x4180c8;},_0x494f3b=(_0x242d19,_0xac0f7f)=>(_0x4bc7e5,_0x4e4b00)=>_0xac0f7f(_0x4bc7e5,_0x4e4b00,_0x242d19),_0x580307=(_0x5eb8ff,_0x4726a6,_0x23ae9d)=>_0xc48e09(_0x5eb8ff,_0x4726a6+'',_0x23ae9d);const _0x535d72=_0x3bd79c(0x28c);_0x4efe22[_0x3bd79c(0x283)]=class extends _0x1530e5[_0x3bd79c(0x173)]{constructor(_0x407f40=_0x1e9aa7,_0x357296,_0x594e8e,_0x3df851){const _0x1c3d66=_0x3bd79c;super(),this[_0x1c3d66(0x217)]=_0x407f40,this[_0x1c3d66(0x171)]=_0x357296,this[_0x1c3d66(0x1d4)]=_0x594e8e,this[_0x1c3d66(0x15e)]=_0x3df851;const {..._0x22d693}=_0x1530e5['merge']({},_0x1e9aa7,this[_0x1c3d66(0x217)]);this[_0x1c3d66(0x15e)][_0x1c3d66(0x35c)](_0x3f41ab,_0x22d693);}[_0x3bd79c(0x253)](){const _0x373efb=_0x3bd79c;this[_0x373efb(0x132)](),this[_0x373efb(0x10d)]();}[_0x3bd79c(0x194)](){const _0x160a35=_0x3bd79c;this[_0x160a35(0x2eb)]();}[_0x3bd79c(0x132)](){const _0x445388=_0x3bd79c;var _0x18673f;const _0x37096d=[[_0x178111],[_0x92c8e3],[_0x2d4bbb],[_0x28e86f],[_0x88fed9],[_0x268aea,{'useClass':_0x2b4ddf}],[_0xde26a9[_0x445388(0x257)],{'useClass':_0xde26a9[_0x445388(0x277)]}],[_0xf278db[_0x445388(0x1c6)],{'useClass':_0x47fee0}],[_0x4efe22[_0x445388(0x218)]],[_0x515918],[_0x10640e],[_0x2fd1a4],[_0x80e98c],[_0x4efe22['CollaborationDataLoaderController']]];_0x1530e5[_0x445388(0x2a2)](this[_0x445388(0x1d4)],_0x1530e5[_0x445388(0x1ea)](_0x37096d,(_0x18673f=this[_0x445388(0x217)])==null?void 0x0:_0x18673f[_0x445388(0x1ec)]));}[_0x3bd79c(0x2eb)](){const _0x2aaba1=_0x3bd79c;this[_0x2aaba1(0x310)](this[_0x2aaba1(0x171)][_0x2aaba1(0x3b3)](_0x1530e5['UniverInstanceType'][_0x2aaba1(0x343)],[_0x5ad2bc])),this[_0x2aaba1(0x310)](this[_0x2aaba1(0x171)]['registerRenderModule'](_0x1530e5[_0x2aaba1(0x30a)][_0x2aaba1(0x31b)],[_0x511839]));}['_initDependencies'](){const _0x2975cd=_0x3bd79c;_0x1530e5[_0x2975cd(0x2e4)](this['_injector'],[[_0x2fd1a4],[_0x4efe22[_0x2975cd(0x218)]],[_0x515918],[_0x10640e],[_0x4efe22[_0x2975cd(0x2a6)]]]);}},_0x580307(_0x4efe22[_0x3bd79c(0x283)],'pluginName',_0x535d72),_0x4efe22['UniverCollaborationClientUIPlugin']=_0x1d796c([_0x1530e5[_0x3bd79c(0x260)](_0xf278db[_0x3bd79c(0x31a)]),_0x494f3b(0x1,_0x37f675[_0x3bd79c(0x1f0)]),_0x494f3b(0x2,_0x1530e5[_0x3bd79c(0x157)](_0x1530e5[_0x3bd79c(0x2f9)])),_0x494f3b(0x3,_0x1530e5[_0x3bd79c(0x3b2)])],_0x4efe22[_0x3bd79c(0x283)]);var _0xa97930=Object[_0x3bd79c(0x359)],_0x5a092e=(_0x26a167,_0x45efc0,_0x5b90f2,_0xba859c)=>{const _0x5206ce=_0x3bd79c;for(var _0x4724e9=_0xba859c>0x1?void 0x0:_0xba859c?_0xa97930(_0x45efc0,_0x5b90f2):_0x45efc0,_0x1e2820=_0x26a167[_0x5206ce(0x25d)]-0x1,_0x382538;_0x1e2820>=0x0;_0x1e2820--)(_0x382538=_0x26a167[_0x1e2820])&&(_0x4724e9=_0x382538(_0x4724e9)||_0x4724e9);return _0x4724e9;},_0x1ba218=(_0xd4dcb2,_0x2fe1ae)=>(_0x816f68,_0x3f9f5e)=>_0x2fe1ae(_0x816f68,_0x3f9f5e,_0xd4dcb2);_0x4efe22['BrowserCollaborationSocketService']=class extends _0xf278db[_0x3bd79c(0x329)]{constructor(_0x44bb91,_0x4eb475,_0x2a3121,_0x19173f,_0x5ecfe1){super(_0x44bb91,_0x4eb475,_0x2a3121,_0x19173f,_0x5ecfe1);}async[_0x3bd79c(0x393)](_0x4455a2){const _0x3daa63=_0x3bd79c,_0x51131d=await this[_0x3daa63(0x26d)](),_0x47e6ad=this[_0x3daa63(0x147)](_0x4455a2,_0x51131d);return this[_0x3daa63(0x119)](_0x47e6ad);}[_0x3bd79c(0x147)](_0x38e939,_0x5b5cc8){const _0x28493c=_0x3bd79c,_0x16ed23=typeof window>'u'?new URL(_0x38e939):new URL(_0x38e939,window[_0x28493c(0x349)][_0x28493c(0x279)]);_0x16ed23[_0x28493c(0x228)][_0x28493c(0x1f4)](_0x28493c(0x199),_0x5b5cc8);const _0x4ce27a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x28493c(0x349)]['search']);return _0x4ce27a[_0x28493c(0x35b)]('runId')&&_0x16ed23['searchParams']['set']('runId',_0x4ce27a[_0x28493c(0x35b)](_0x28493c(0x26e))),_0x16ed23[_0x28493c(0x196)]();}async[_0x3bd79c(0x26d)](){const _0x53f220=_0x3bd79c;var _0x123d5b,_0x27e5a1,_0x2229a9;const _0x220089=this[_0x53f220(0x15e)][_0x53f220(0x198)](_0xf278db[_0x53f220(0x118)]),_0x570435=(_0x123d5b=_0x220089==null?void 0x0:_0x220089[_0x53f220(0x351)])!=null?_0x123d5b:_0xf278db[_0x53f220(0x219)];return(_0x2229a9=(_0x27e5a1=(await this[_0x53f220(0x133)]['get'](_0x570435,{'headers':{'Content-Type':_0x53f220(0x1ca)}}))[_0x53f220(0x164)])==null?void 0x0:_0x27e5a1['ticket'])!=null?_0x2229a9:'';}},_0x4efe22[_0x3bd79c(0x1c0)]=_0x5a092e([_0x1ba218(0x0,_0x1530e5[_0x3bd79c(0x157)](_0x1530e5[_0x3bd79c(0x2f9)])),_0x1ba218(0x1,_0x1530e5[_0x3bd79c(0x157)](_0xde26a9[_0x3bd79c(0x138)])),_0x1ba218(0x2,_0x1530e5[_0x3bd79c(0x3b2)]),_0x1ba218(0x3,_0x1530e5[_0x3bd79c(0x2ae)]),_0x1ba218(0x4,_0x19cd12['ISnapshotServerService'])],_0x4efe22[_0x3bd79c(0x1c0)]);const _0x3c53a9=0x7530,_0x8cc5eb=_0x3bd79c(0x230);class _0x2257a9 extends _0x1530e5[_0x3bd79c(0x1bb)]{constructor(){const _0x4f0243=_0x3bd79c;super(),_0x3b9fde(this,'_id',_0x1530e5[_0x4f0243(0x1d2)]()),_0x3b9fde(this,_0x4f0243(0x2f6),new Set()),_0x3b9fde(this,_0x4f0243(0x2b1),new Map()),_0x3b9fde(this,_0x4f0243(0x13c),null),_0x3b9fde(this,_0x4f0243(0x36e),new Map()),_0x3b9fde(this,_0x4f0243(0x195),new Map()),this[_0x4f0243(0x366)]();}['dispose'](){const _0x3667da=_0x3bd79c;super[_0x3667da(0x1f5)](),this[_0x3667da(0x36e)][_0x3667da(0x18b)]((_0x199d2f,_0x4a1f52)=>this['_removeClearOtherTimer'](_0x4a1f52)),this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x3bd79c(0x1f1)](_0x4d2a50){const _0x8b9e84=_0x3bd79c;return this[_0x8b9e84(0x35a)](_0x4d2a50)[_0x8b9e84(0x11a)](_0x42b625['distinctUntilChanged']());}[_0x3bd79c(0x22a)](_0x3e6984){const _0x1a1bd8=_0x3bd79c;this[_0x1a1bd8(0x2f6)][_0x1a1bd8(0x2a0)]===0x0&&this['_scheduleHeartbeat'](),this[_0x1a1bd8(0x2f6)][_0x1a1bd8(0x23a)](_0x3e6984),this[_0x1a1bd8(0x22f)]({'type':0x0,'memberID':this[_0x1a1bd8(0x1cc)],'unitIDs':[_0x3e6984],'isForwarded':!0x1});}[_0x3bd79c(0x1ce)](_0x3331e5){const _0x4d85f5=_0x3bd79c;this[_0x4d85f5(0x2f6)][_0x4d85f5(0x378)](_0x3331e5),this[_0x4d85f5(0x2f6)][_0x4d85f5(0x2a0)]===0x0&&this[_0x4d85f5(0x13c)]&&window[_0x4d85f5(0x1a7)](this[_0x4d85f5(0x13c)]);}[_0x3bd79c(0x366)](){const _0x462f3f=_0x3bd79c;this[_0x462f3f(0x310)](_0x1530e5[_0x462f3f(0x2d6)](_0x42b625[_0x462f3f(0x1f2)](window,_0x462f3f(0x225))[_0x462f3f(0x35d)](_0x45bc60=>{const _0x6d5a1d=_0x462f3f;if(_0x45bc60[_0x6d5a1d(0x11b)]!==_0x8cc5eb||!_0x45bc60[_0x6d5a1d(0x210)])return;const _0x13af32=JSON[_0x6d5a1d(0x361)](_0x45bc60[_0x6d5a1d(0x210)]);this[_0x6d5a1d(0x36a)](_0x13af32);}))),window[_0x462f3f(0x1c3)](_0x462f3f(0x1ac),()=>this[_0x462f3f(0x22f)]({'type':0x1,'memberID':this[_0x462f3f(0x1cc)],'unitIDs':Array['from'](this[_0x462f3f(0x2f6)])}));}[_0x3bd79c(0x36a)](_0x3cc43f){const _0xbf4c68=_0x3bd79c;switch(_0x3cc43f['type']){case 0x0:this[_0xbf4c68(0x12c)](_0x3cc43f);break;case 0x1:this['_handleLeaveEvent'](_0x3cc43f);break;case 0x2:this['_handleHeartbeatEvent'](_0x3cc43f);break;}}[_0x3bd79c(0x12c)](_0x178ccc){const _0xacfe3a=_0x3bd79c,{unitIDs:_0x5bc097,memberID:_0x221dc7,isForwarded:_0x35e0d3}=_0x178ccc;_0x5bc097['forEach'](_0x24e7e7=>{const _0x4d4ae2=_0x61b4;if(!_0x35e0d3&&this[_0x4d4ae2(0x2b1)][_0x4d4ae2(0x1cb)](_0x24e7e7)&&this[_0x4d4ae2(0x35a)](_0x24e7e7)[_0x4d4ae2(0x27f)](_0xf278db[_0x4d4ae2(0x1b7)][_0x4d4ae2(0x33d)]),!this[_0x4d4ae2(0x2b1)][_0x4d4ae2(0x1cb)](_0x24e7e7)||!this['_unitOnClients'][_0x4d4ae2(0x35b)](_0x24e7e7)['has'](_0x221dc7)){const _0x44f561=this[_0x4d4ae2(0x2b1)][_0x4d4ae2(0x35b)](_0x24e7e7)||new Set();_0x44f561[_0x4d4ae2(0x23a)](_0x221dc7),this[_0x4d4ae2(0x2b1)][_0x4d4ae2(0x1f4)](_0x24e7e7,_0x44f561),this['_scheduleClearOtherTimer'](_0x221dc7);}}),_0x35e0d3||this[_0xacfe3a(0x22f)]({'type':0x0,'memberID':this[_0xacfe3a(0x1cc)],'unitIDs':[...this[_0xacfe3a(0x2f6)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x34a60f){const _0x397767=_0x3bd79c;this[_0x397767(0x178)](_0x34a60f);const _0x2569f3=window[_0x397767(0x1ba)](()=>{const _0x360580=_0x397767;this[_0x360580(0x2b1)][_0x360580(0x18b)](_0x3e9b10=>{const _0x11b1eb=_0x360580;_0x3e9b10[_0x11b1eb(0x378)](_0x34a60f);});},_0x3c53a9*0x2);this[_0x397767(0x36e)][_0x397767(0x1f4)](_0x34a60f,_0x2569f3);}['_removeClearOtherTimer'](_0x191f1e){const _0x3f1b38=_0x3bd79c;if(this[_0x3f1b38(0x36e)][_0x3f1b38(0x1cb)](_0x191f1e)){const _0x45cff4=this[_0x3f1b38(0x36e)]['get'](_0x191f1e);_0x45cff4&&window[_0x3f1b38(0x1c1)](_0x45cff4),this['_clearOtherTimers'][_0x3f1b38(0x1f4)](_0x191f1e,null);}}[_0x3bd79c(0x1b8)](_0x262af3){const _0x5a7cd0=_0x3bd79c,{memberID:_0x3f74d3,unitIDs:_0x1f725d}=_0x262af3;_0x1f725d[_0x5a7cd0(0x18b)](_0x42d080=>{const _0xaa39=_0x5a7cd0;var _0x17fe0e;const _0x511a66=this[_0xaa39(0x2b1)]['get'](_0x42d080);_0x511a66&&(_0x511a66[_0xaa39(0x378)](_0x3f74d3),(_0x17fe0e=this['_ensureSubject'](_0x42d080))==null||_0x17fe0e[_0xaa39(0x27f)](_0x511a66['size']===0x0?_0xf278db['UnitStatus'][_0xaa39(0x1d5)]:_0xf278db[_0xaa39(0x1b7)][_0xaa39(0x33d)]));}),this[_0x5a7cd0(0x178)](_0x3f74d3);}[_0x3bd79c(0x15d)](_0x5a8ea0){const _0x3236a3=_0x3bd79c;this[_0x3236a3(0x2b8)](_0x5a8ea0['memberID']);}[_0x3bd79c(0x22f)](_0x3eccc5){const _0x3605a5=_0x3bd79c;localStorage[_0x3605a5(0x3ac)](_0x8cc5eb,JSON[_0x3605a5(0x175)](_0x3eccc5));}[_0x3bd79c(0x368)](){const _0xf903ed=_0x3bd79c;this[_0xf903ed(0x13c)]=window[_0xf903ed(0x399)](()=>{const _0x441dbd=_0xf903ed;this[_0x441dbd(0x22f)]({'type':0x2,'memberID':this['_id']});},_0x3c53a9);}['_ensureSubject'](_0x3b9325){const _0x37963a=_0x3bd79c;return this[_0x37963a(0x195)][_0x37963a(0x1cb)](_0x3b9325)||this[_0x37963a(0x195)][_0x37963a(0x1f4)](_0x3b9325,new _0x42b625[(_0x37963a(0x191))](_0xf278db[_0x37963a(0x1b7)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x37963a(0x195)][_0x37963a(0x35b)](_0x3b9325);}}var _0x6e89dc=(_0x4d6eb3=>(_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x340)]=0x0]=_0x3bd79c(0x340),_0x4d6eb3[_0x4d6eb3['OK']=0x1]='OK',_0x4d6eb3[_0x4d6eb3['INTERNAL_ERROR']=0x2]=_0x3bd79c(0x370),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x333)]=0x3]='PERMISSION_DENIED',_0x4d6eb3[_0x4d6eb3['NOT_FOUND']=0x4]=_0x3bd79c(0x192),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x341)]=0x5]=_0x3bd79c(0x341),_0x4d6eb3[_0x4d6eb3['ALREADY_EXISTS']=0x6]=_0x3bd79c(0x2ba),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x12e)]=0x7]=_0x3bd79c(0x12e),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x16a)]=0x8]=_0x3bd79c(0x16a),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x315)]=0x9]=_0x3bd79c(0x315),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x2e3)]=0xa]='LOGIN_FAILED',_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x234)]=0x1389]=_0x3bd79c(0x234),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x153)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x2a3)]=0x1772]=_0x3bd79c(0x2a3),_0x4d6eb3[_0x4d6eb3['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x3bd79c(0x1f7),_0x4d6eb3[_0x4d6eb3['APPLY_REJECT']=0x1b59]=_0x3bd79c(0x301),_0x4d6eb3[_0x4d6eb3['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x1fe)]=0x1b5b]=_0x3bd79c(0x1fe),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x215)]=0x1b5c]=_0x3bd79c(0x215),_0x4d6eb3[_0x4d6eb3['APPLY_DUPLICATED']=0x1b5d]=_0x3bd79c(0x162),_0x4d6eb3[_0x4d6eb3['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x3b4)]=0x2329]=_0x3bd79c(0x3b4),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x266)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4d6eb3[_0x4d6eb3['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x2aa)]=0x232c]=_0x3bd79c(0x2aa),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x3a3)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x389)]=0x2711]=_0x3bd79c(0x389),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x139)]=0x2712]=_0x3bd79c(0x139),_0x4d6eb3[_0x4d6eb3['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x3bd79c(0x2ee),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x292)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x1dc)]=0x271a]=_0x3bd79c(0x1dc),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x305)]=0x271b]=_0x3bd79c(0x305),_0x4d6eb3[_0x4d6eb3['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x3bd79c(0x2a5),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x189)]=0x271d]=_0x3bd79c(0x189),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x13d)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x2a7)]=0x271f]=_0x3bd79c(0x2a7),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x307)]=0x2af9]=_0x3bd79c(0x307),_0x4d6eb3[_0x4d6eb3['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x12b)]=0x2ee2]=_0x3bd79c(0x12b),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x3ad)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x2df)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x1d6)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4d6eb3[_0x4d6eb3['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x3bd79c(0x1bf),_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x222)]=0x32ca]=_0x3bd79c(0x222),_0x4d6eb3[_0x4d6eb3['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x4d6eb3[_0x4d6eb3[_0x3bd79c(0x1b9)]=-0x1]=_0x3bd79c(0x1b9),_0x4d6eb3))(_0x6e89dc||{}),_0x119fdd=Object[_0x3bd79c(0x359)],_0x53a527=(_0x38ed3b,_0x5a0116,_0x3fdc6c,_0x272928)=>{const _0x50ebb7=_0x3bd79c;for(var _0x2f49f2=_0x272928>0x1?void 0x0:_0x272928?_0x119fdd(_0x5a0116,_0x3fdc6c):_0x5a0116,_0x1d0df6=_0x38ed3b[_0x50ebb7(0x25d)]-0x1,_0x4bdb50;_0x1d0df6>=0x0;_0x1d0df6--)(_0x4bdb50=_0x38ed3b[_0x1d0df6])&&(_0x2f49f2=_0x4bdb50(_0x2f49f2)||_0x2f49f2);return _0x2f49f2;},_0x21d2ad=(_0x59b6f0,_0x3357f2)=>(_0x16ed2f,_0x39d760)=>_0x3357f2(_0x16ed2f,_0x39d760,_0x59b6f0);_0x4efe22[_0x3bd79c(0x23c)]=class extends _0x1530e5[_0x3bd79c(0x1bb)]{constructor(_0x1f41e0,_0x3bc84c,_0x33eb1d){const _0x111cd8=_0x3bd79c;super(),this[_0x111cd8(0x2dd)]=_0x1f41e0,this[_0x111cd8(0x133)]=_0x3bc84c,this[_0x111cd8(0x15e)]=_0x33eb1d;}async[_0x3bd79c(0x20c)](_0xd4f07f,_0x6ab76c,_0x12acac,..._0x37fb4d){const _0x3deb35=_0x3bd79c;var _0x23bcc5,_0x48641c,_0x5dd0a8,_0x292401;const _0x33f3c=this[_0x3deb35(0x2dd)]['getFocusedUnit']();if(!_0x33f3c)throw new Error(_0x3deb35(0x273));const _0x3c9870=((_0x23bcc5=this[_0x3deb35(0x15e)][_0x3deb35(0x198)](_0xf278db[_0x3deb35(0x3ae)]))!=null?_0x23bcc5:_0xf278db[_0x3deb35(0x309)])+'/'+_0xd4f07f+_0x3deb35(0x31c)+_0x6ab76c,_0x379408=new URL(window['location']['href']),_0x37db65={'scriptId':_0xd4f07f,'runId':(_0x48641c=_0x379408[_0x3deb35(0x228)][_0x3deb35(0x35b)](_0x3deb35(0x26e)))!=null?_0x48641c:'','function':_0x6ab76c,'unitId':_0x33f3c[_0x3deb35(0x255)](),'argsOfFunction':JSON[_0x3deb35(0x175)](_0x37fb4d),'invokeId':(_0x5dd0a8=_0x12acac[_0x3deb35(0x2ce)])!=null?_0x5dd0a8:'','executionId':(_0x292401=_0x12acac['executionId'])!=null?_0x292401:''};try{const _0xbd22f0=await this[_0x3deb35(0x133)][_0x3deb35(0x2c8)](_0x3c9870,{'body':_0x37db65});return _0xbd22f0[_0x3deb35(0x164)][_0x3deb35(0x124)]&&_0xbd22f0[_0x3deb35(0x164)][_0x3deb35(0x124)][_0x3deb35(0x14f)]!==_0x6e89dc['OK']?_0x3deb35(0x265):_0xbd22f0['body'][_0x3deb35(0x134)];}catch{return _0x3deb35(0x265);}}},_0x4efe22[_0x3bd79c(0x23c)]=_0x53a527([_0x21d2ad(0x0,_0x1530e5['IUniverInstanceService']),_0x21d2ad(0x1,_0x1530e5[_0x3bd79c(0x157)](_0xde26a9[_0x3bd79c(0x138)])),_0x21d2ad(0x2,_0x1530e5['IConfigService'])],_0x4efe22[_0x3bd79c(0x23c)]),_0x4efe22[_0x3bd79c(0x2f5)]=_0x3bd43b,_0x4efe22['IURLService']=_0x268aea,_0x4efe22[_0x3bd79c(0x122)]=_0x3a9c78,_0x4efe22[_0x3bd79c(0x337)]=_0x2257a9,_0x4efe22[_0x3bd79c(0x18e)]=_0x2b4ddf,Object[_0x3bd79c(0x25b)](_0x4efe22,Symbol[_0x3bd79c(0x159)],{'value':_0x3bd79c(0x2ed)});}));