@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504131606 → 0.6.10-nightly.202504141607

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 _0x4a60(_0x5d7da2,_0x16be45){const _0x313f96=_0x313f();return _0x4a60=function(_0x4a6005,_0x1e1ee9){_0x4a6005=_0x4a6005-0x13c;let _0x336302=_0x313f96[_0x4a6005];return _0x336302;},_0x4a60(_0x5d7da2,_0x16be45);}(function(_0x2c44ba,_0x5854a3){const _0x3b8bcb=_0x4a60,_0x3e615e=_0x2c44ba();while(!![]){try{const _0x42e9b5=parseInt(_0x3b8bcb(0x314))/0x1+-parseInt(_0x3b8bcb(0x156))/0x2*(-parseInt(_0x3b8bcb(0x3c2))/0x3)+parseInt(_0x3b8bcb(0x2bc))/0x4+parseInt(_0x3b8bcb(0x28a))/0x5+parseInt(_0x3b8bcb(0x33b))/0x6*(parseInt(_0x3b8bcb(0x317))/0x7)+-parseInt(_0x3b8bcb(0x3bc))/0x8+-parseInt(_0x3b8bcb(0x14c))/0x9*(parseInt(_0x3b8bcb(0x197))/0xa);if(_0x42e9b5===_0x5854a3)break;else _0x3e615e['push'](_0x3e615e['shift']());}catch(_0x74f830){_0x3e615e['push'](_0x3e615e['shift']());}}}(_0x313f,0x9e718),function(_0x3a0b01,_0x6f44f9){const _0x374d76=_0x4a60;typeof exports==_0x374d76(0x19f)&&typeof module<'u'?_0x6f44f9(exports,require(_0x374d76(0x3de)),require(_0x374d76(0x16d)),require(_0x374d76(0x2f9)),require(_0x374d76(0x335)),require(_0x374d76(0x33d)),require(_0x374d76(0x23a)),require(_0x374d76(0x24e)),require(_0x374d76(0x2fb)),require('@univerjs-pro/collaboration'),require(_0x374d76(0x329)),require(_0x374d76(0x187)),require(_0x374d76(0x206)),require(_0x374d76(0x256)),require('react/jsx-runtime'),require(_0x374d76(0x2cd)),require(_0x374d76(0x1b9)),require(_0x374d76(0x2aa)),require(_0x374d76(0x372))):typeof define==_0x374d76(0x3b9)&&define[_0x374d76(0x217)]?define([_0x374d76(0x39e),_0x374d76(0x3de),'@univerjs/core',_0x374d76(0x2f9),_0x374d76(0x335),_0x374d76(0x33d),'@univerjs/drawing','rxjs','@univerjs/docs',_0x374d76(0x19b),_0x374d76(0x329),'@univerjs/sheets',_0x374d76(0x206),'@univerjs/sheets-ui',_0x374d76(0x19c),_0x374d76(0x2cd),_0x374d76(0x1b9),_0x374d76(0x2aa),_0x374d76(0x372)],_0x6f44f9):(_0x3a0b01=typeof globalThis<'u'?globalThis:_0x3a0b01||self,_0x6f44f9(_0x3a0b01[_0x374d76(0x1a3)]={},_0x3a0b01['UniverProCollaborationClient'],_0x3a0b01[_0x374d76(0x24d)],_0x3a0b01[_0x374d76(0x378)],_0x3a0b01['UniverNetwork'],_0x3a0b01[_0x374d76(0x303)],_0x3a0b01[_0x374d76(0x347)],_0x3a0b01[_0x374d76(0x24e)],_0x3a0b01['UniverDocs'],_0x3a0b01[_0x374d76(0x35e)],_0x3a0b01[_0x374d76(0x354)],_0x3a0b01[_0x374d76(0x1ff)],_0x3a0b01[_0x374d76(0x24e)]['operators'],_0x3a0b01['UniverSheetsUi'],_0x3a0b01[_0x374d76(0x2ff)],_0x3a0b01[_0x374d76(0x158)],_0x3a0b01[_0x374d76(0x373)],_0x3a0b01[_0x374d76(0x2ff)],_0x3a0b01[_0x374d76(0x205)]));}(this,function(_0x7e2117,_0x126ab5,_0x453419,_0x32283b,_0x54c300,_0x57d79a,_0x3a36df,_0xa78be3,_0x106a95,_0x567d4a,_0x46bdbf,_0x395bb3,_0x358e23,_0x4e23ac,_0x20e4b4,_0x2d6b6f,_0x38209c,_0x1ee08f,_0xd2a7de){'use strict';const _0x1c5799=_0x4a60;var _0x13ba27=Object[_0x1c5799(0x189)],_0x2fe920=(_0x5c99c4,_0x103d02,_0x1687d7)=>_0x103d02 in _0x5c99c4?_0x13ba27(_0x5c99c4,_0x103d02,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1687d7}):_0x5c99c4[_0x103d02]=_0x1687d7,_0x1be09e=(_0x465cb7,_0x44899a,_0x58c9b1)=>_0x2fe920(_0x465cb7,typeof _0x44899a!=_0x1c5799(0x2b1)?_0x44899a+'':_0x44899a,_0x58c9b1),_0x1ad0a5=Object[_0x1c5799(0x231)],_0x238114=(_0x35f043,_0xbd3ee8,_0xa8adf,_0xb15467)=>{const _0x5ca2f0=_0x1c5799;for(var _0x52af37=_0xb15467>0x1?void 0x0:_0xb15467?_0x1ad0a5(_0xbd3ee8,_0xa8adf):_0xbd3ee8,_0x33a5e2=_0x35f043[_0x5ca2f0(0x1f0)]-0x1,_0x190431;_0x33a5e2>=0x0;_0x33a5e2--)(_0x190431=_0x35f043[_0x33a5e2])&&(_0x52af37=_0x190431(_0x52af37)||_0x52af37);return _0x52af37;},_0x1cca42=(_0x2276ea,_0x5e6ed8)=>(_0x210dcd,_0x6b303c)=>_0x5e6ed8(_0x210dcd,_0x6b303c,_0x2276ea);let _0x58ae56=class extends _0x453419['RxDisposable']{constructor(_0x13ed89,_0x4d8e26){const _0x709483=_0x1c5799;super(),this[_0x709483(0x194)]=_0x13ed89,this['_imageIoService']=_0x4d8e26,this['_init']();}[_0x1c5799(0x1fc)](){const _0xab4df9=_0x1c5799,_0x23b0e8=this;this[_0xab4df9(0x38e)](this[_0xab4df9(0x194)][_0xab4df9(0x29c)]({'onBeforePasteImage':async _0x5a354d=>{const _0x59d5ba=_0xab4df9,_0x213baa=await _0x23b0e8[_0x59d5ba(0x3d4)][_0x59d5ba(0x1d5)](_0x5a354d);return _0x213baa?{'source':_0x213baa[_0x59d5ba(0x181)],'imageSourceType':_0x213baa['imageSourceType']}:null;}}));}};_0x58ae56=_0x238114([_0x1cca42(0x0,_0x57d79a[_0x1c5799(0x1de)]),_0x1cca42(0x1,_0x3a36df[_0x1c5799(0x2dc)])],_0x58ae56);const _0x5acaa4=[_0x1c5799(0x2ee),_0x1c5799(0x1c3),_0x1c5799(0x2b9),'red300','blue400',_0x1c5799(0x22f)];class _0xc8e7b extends _0x453419[_0x1c5799(0x362)]{constructor(){const _0x225342=_0x1c5799;super(...arguments),_0x1be09e(this,_0x225342(0x278),new Map()),_0x1be09e(this,_0x225342(0x1ee),0x0);}['assignAColorForMemberID'](_0x109143){const _0x2932bf=_0x1c5799;if(this[_0x2932bf(0x278)]['has'](_0x109143))return this['_assignedColors'][_0x2932bf(0x3a2)](_0x109143);const _0x31323d=_0x5acaa4[this[_0x2932bf(0x1ee)]];return this[_0x2932bf(0x1ee)]=(this['_colorIndex']+0x1)%_0x5acaa4[_0x2932bf(0x1f0)],this['_assignedColors'][_0x2932bf(0x19a)](_0x109143,_0x31323d),_0x31323d;}}function _0x3ad10f(_0x576bd9){let _0x145b8f='';for(const _0x232bef of _0x576bd9){const {startOffset:_0x309ce7,endOffset:_0x576222,isActive:_0x3f0052,rangeType:_0x20aa49,segmentId:_0x42d8ef,segmentPage:_0x191ef5}=_0x232bef;_0x145b8f['length']&&(_0x145b8f+=','),_0x145b8f+=_0x309ce7+':'+_0x576222+':'+(_0x3f0052?'1':'0')+':'+_0x20aa49+':'+_0x42d8ef+':'+_0x191ef5;}return _0x145b8f;}function _0x532e4a(_0x1abc63){const _0x1b2d30=_0x1c5799,_0x5e7a5d=_0x1abc63[_0x1b2d30(0x39c)](','),_0x3f40af=[];for(const _0x3e20c7 of _0x5e7a5d){const [_0x2c555f,_0x569e77,_0x489552,_0x414662,_0xdc3cf8,_0x2a387b]=_0x3e20c7[_0x1b2d30(0x39c)](':');_0x3f40af[_0x1b2d30(0x1af)]({'startOffset':Number(_0x2c555f),'endOffset':Number(_0x569e77),'collapsed':_0x2c555f===_0x569e77,'isActive':_0x489552==='1','rangeType':_0x414662===_0x453419[_0x1b2d30(0x264)]['TEXT']?_0x453419['DOC_RANGE_TYPE'][_0x1b2d30(0x252)]:_0x453419[_0x1b2d30(0x264)][_0x1b2d30(0x22e)],'segmentId':typeof _0xdc3cf8==_0x1b2d30(0x1cf)?String(_0xdc3cf8):'','segmentPage':Number(_0x2a387b!=null?_0x2a387b:-0x1)});}return _0x3f40af[_0x1b2d30(0x1aa)](_0x34d1c1=>_0x34d1c1[_0x1b2d30(0x346)])||(_0x3f40af[0x0][_0x1b2d30(0x346)]=!0x0),_0x3f40af;}class _0x13f674 extends _0x453419[_0x1c5799(0x23f)]{constructor(){const _0x5f0752=_0x1c5799;super(...arguments),_0x1be09e(this,'_collabCursorState$',new _0xa78be3[(_0x5f0752(0x1a6))](null)),_0x1be09e(this,_0x5f0752(0x17f),this[_0x5f0752(0x38c)]['asObservable']());}[_0x1c5799(0x2a8)](_0x2ad1b4){const _0x2e74a2=_0x1c5799,{unitID:_0x41e621,memberID:_0x565d54,textRanges:_0x4d301}=_0x2ad1b4,_0x20e853=_0x3ad10f(_0x4d301);if(_0x20e853==='')return;const _0x360bfa={'unitID':_0x41e621,'memberID':_0x565d54,'selection':_0x20e853};this[_0x2e74a2(0x38c)][_0x2e74a2(0x1fd)](_0x360bfa);}}var _0x2976e6=Object[_0x1c5799(0x231)],_0x184fd2=(_0x52f685,_0xe01536,_0x467600,_0x2f689a)=>{for(var _0x1b7d25=_0x2f689a>0x1?void 0x0:_0x2f689a?_0x2976e6(_0xe01536,_0x467600):_0xe01536,_0x4f8366=_0x52f685['length']-0x1,_0x32c9af;_0x4f8366>=0x0;_0x4f8366--)(_0x32c9af=_0x52f685[_0x4f8366])&&(_0x1b7d25=_0x32c9af(_0x1b7d25)||_0x1b7d25);return _0x1b7d25;},_0x37ce68=(_0x1aa44b,_0x36e702)=>(_0x36f03d,_0x4b9795)=>_0x36e702(_0x36f03d,_0x4b9795,_0x1aa44b);const _0x31e101=0x12c,_0x4480b4=0x64;let _0x2df45c=class extends _0x453419[_0x1c5799(0x23f)]{constructor(_0x444537,_0x3eae8b,_0x25ce3a,_0x464fe2,_0x4334be,_0x5da33a,_0xc7302a,_0x2c0e13,_0x35d0b8){const _0x586963=_0x1c5799;super(),_0x1be09e(this,'_online',!0x1),_0x1be09e(this,_0x586963(0x1fc),!0x1),_0x1be09e(this,_0x586963(0x2c7),new _0xa78be3['BehaviorSubject'](new Map())),_0x1be09e(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_0x1be09e(this,_0x586963(0x1ab),new _0xa78be3[(_0x586963(0x1a6))]([])),_0x1be09e(this,_0x586963(0x358),this[_0x586963(0x1ab)][_0x586963(0x14d)](_0xa78be3[_0x586963(0x2ac)](_0x31e101))),_0x1be09e(this,'_updateLocalCursor',_0x453419['debounce'](_0xadf9a=>{const _0xcd3744=_0x586963,_0x1f09df={'eventID':_0x567d4a['CollaborationEvent'][_0xcd3744(0x2ef)],'data':{'unitID':this['unitID'],'memberID':this[_0xcd3744(0x1ae)][_0xcd3744(0x33f)](),'selection':_0x3ad10f(_0xadf9a)}};this['_session'][_0xcd3744(0x36e)](_0x1f09df,this['unitID']);},_0x4480b4)),(this[_0x586963(0x257)]=_0x444537,this[_0x586963(0x1ae)]=_0x3eae8b,this[_0x586963(0x336)]=_0x25ce3a,this[_0x586963(0x225)]=_0x464fe2,this['_memberService']=_0x4334be,this['_syncEditingCollabCursorService']=_0x5da33a,this['_transformService']=_0xc7302a,this['_univerInstanceService']=_0x2c0e13,this['_commandService']=_0x35d0b8);}get[_0x1c5799(0x235)](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){const _0x580804=_0x1c5799;return this[_0x580804(0x1ab)][_0x580804(0x1b1)]();}[_0x1c5799(0x2f8)](){const _0x5d22fa=_0x1c5799;super[_0x5d22fa(0x2f8)](),this['_cursorInfo$'][_0x5d22fa(0x1fd)](new Map()),this[_0x5d22fa(0x2c7)][_0x5d22fa(0x244)](),this[_0x5d22fa(0x1ab)][_0x5d22fa(0x1fd)]([]),this[_0x5d22fa(0x1ab)][_0x5d22fa(0x244)]();}[_0x1c5799(0x15d)](){const _0x1d58ff=_0x1c5799;this['_init']||(this[_0x1d58ff(0x1fc)]=!0x0,this['_session'][_0x1d58ff(0x363)][_0x1d58ff(0x14d)](_0xa78be3[_0x1d58ff(0x1e1)](this[_0x1d58ff(0x155)]))['subscribe'](_0xef7b5e=>{const _0x16dfae=_0x1d58ff;_0xef7b5e===_0x126ab5[_0x16dfae(0x283)][_0x16dfae(0x2c2)]?this[_0x16dfae(0x368)]():this['_toggleOffline']();}),this[_0x1d58ff(0x1ae)][_0x1d58ff(0x2eb)]['pipe'](_0xa78be3[_0x1d58ff(0x1e1)](this['dispose$']))[_0x1d58ff(0x159)](_0x12e84e=>{const _0x1078a4=_0x1d58ff,_0x46c527=_0x12e84e[_0x1078a4(0x340)];_0x46c527===_0x567d4a[_0x1078a4(0x203)][_0x1078a4(0x2ef)]&&this[_0x1078a4(0x31e)](_0x12e84e),_0x46c527===_0x567d4a[_0x1078a4(0x203)][_0x1078a4(0x3d3)]&&this[_0x1078a4(0x32e)](_0x12e84e);}),this[_0x1d58ff(0x38e)](this[_0x1d58ff(0x170)]['onCommandExecuted'](_0x5c0f51=>{const _0x5c762c=_0x1d58ff,_0x398a1c=_0x5c0f51[_0x5c762c(0x3ae)];_0x398a1c!=null&&this[_0x5c762c(0x20d)]&&_0x5c0f51['id']===_0x106a95[_0x5c762c(0x3e0)]['id']&&_0x398a1c['unitId']===this[_0x5c762c(0x257)]&&_0x398a1c[_0x5c762c(0x29b)]===!0x1&&_0x398a1c[_0x5c762c(0x2e4)]['length']>0x0&&this[_0x5c762c(0x3d0)](_0x398a1c[_0x5c762c(0x2e4)]);})),this[_0x1d58ff(0x39a)][_0x1d58ff(0x17f)]['pipe'](_0xa78be3['takeUntil'](this['dispose$']))[_0x1d58ff(0x159)](_0x2e403b=>{const _0x3b17c4=_0x1d58ff;if((_0x2e403b==null?void 0x0:_0x2e403b[_0x3b17c4(0x257)])!==this[_0x3b17c4(0x257)])return;const _0x3d2a15={'eventID':_0x567d4a[_0x3b17c4(0x203)][_0x3b17c4(0x2ef)],'data':_0x2e403b};this['_onCursorUpdate'](_0x3d2a15);}),this[_0x1d58ff(0x38e)](this[_0x1d58ff(0x170)][_0x1d58ff(0x3da)](_0x5621e3=>{const _0x573d6a=_0x1d58ff;if(_0x5621e3[_0x573d6a(0x3ae)]==null)return;const _0x3bfcc7=_0x5621e3[_0x573d6a(0x3ae)];if(_0x5621e3['id']!==_0x106a95['RichTextEditingMutation']['id']||_0x3bfcc7['unitId']!==this[_0x573d6a(0x257)])return;const _0x59ae97={'id':_0x573d6a(0x1b5),'params':_0x3bfcc7},_0x1bc5a9=this[_0x573d6a(0x235)];for(const [_0x513db1,_0xdc31f4]of _0x1bc5a9){const _0x258798={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x573d6a(0x257)],'actions':null,'textRanges':_0xdc31f4[_0x573d6a(0x2e4)]}},_0x30ab53=this[_0x573d6a(0x24c)][_0x573d6a(0x3c9)](_0x59ae97,_0x258798,!0x1);if(_0x567d4a[_0x573d6a(0x1e3)](_0x30ab53))throw _0x30ab53[_0x573d6a(0x29e)];_0x1bc5a9[_0x573d6a(0x19a)](_0x513db1,{..._0xdc31f4,'ranges':_0x30ab53[_0x573d6a(0x3bd)][_0x573d6a(0x3ae)]['textRanges']});}queueMicrotask(()=>{const _0x4eb577=_0x573d6a;this['_cursorInfo$'][_0x4eb577(0x1fd)](_0x1bc5a9);});})));}[_0x1c5799(0x31e)](_0x56082b){const _0x20269e=_0x1c5799;var _0x29c66d,_0x24e4bf;const {memberID:_0x470f60,selection:_0x213974}=_0x56082b[_0x20269e(0x287)],_0x438478=_0x532e4a(_0x213974),_0x6bb936=(_0x24e4bf=(_0x29c66d=this['_memberService']['getMember'](this['unitID'],_0x470f60))==null?void 0x0:_0x29c66d['name'])!=null?_0x24e4bf:_0x20269e(0x393),_0x4fb317={'color':this[_0x20269e(0x225)]['assignAColorForMemberID'](_0x470f60),'name':_0x6bb936,'ranges':_0x438478},_0x346a91=this[_0x20269e(0x235)];_0x346a91['set'](_0x470f60,_0x4fb317),this[_0x20269e(0x2c7)][_0x20269e(0x1fd)](_0x346a91);}[_0x1c5799(0x32e)](_0x201834){const _0xc275e0=_0x1c5799,{memberID:_0x5398b3}=_0x201834[_0xc275e0(0x287)],_0x103087=this['cursorInfo'];_0x103087[_0xc275e0(0x1a0)](_0x5398b3),this['_cursorInfo$'][_0xc275e0(0x1fd)](_0x103087);}[_0x1c5799(0x368)](){const _0x243fbe=_0x1c5799;var _0x1d450b;if(this['_online']=!0x0,((_0x1d450b=this[_0x243fbe(0x3cb)]['getFocusedUnit']())==null?void 0x0:_0x1d450b[_0x243fbe(0x2e8)]())!==this['unitID'])return;const _0x17b7b6=this['_injector'][_0x243fbe(0x3a2)](_0x106a95[_0x243fbe(0x1c1)])['getDocRanges']();Array[_0x243fbe(0x29a)](_0x17b7b6)&&_0x17b7b6[_0x243fbe(0x1f0)]>0x0&&this['_updateLocalCursor'](_0x17b7b6);}[_0x1c5799(0x2de)](){const _0x4aba89=_0x1c5799;this[_0x4aba89(0x20d)]=!0x1;}};_0x2df45c=_0x184fd2([_0x37ce68(0x2,_0x453419[_0x1c5799(0x229)](_0x453419[_0x1c5799(0x38d)])),_0x37ce68(0x3,_0x453419[_0x1c5799(0x229)](_0xc8e7b)),_0x37ce68(0x4,_0x453419[_0x1c5799(0x229)](_0x126ab5[_0x1c5799(0x34b)])),_0x37ce68(0x5,_0x453419[_0x1c5799(0x229)](_0x13f674)),_0x37ce68(0x6,_0x567d4a[_0x1c5799(0x29f)]),_0x37ce68(0x7,_0x453419[_0x1c5799(0x1c8)]),_0x37ce68(0x8,_0x453419['ICommandService'])],_0x2df45c);var _0x4800a3=Object[_0x1c5799(0x231)],_0xb2236a=(_0x402572,_0x1f6560,_0x7d6537,_0x4394e0)=>{const _0x585892=_0x1c5799;for(var _0x5c791a=_0x4394e0>0x1?void 0x0:_0x4394e0?_0x4800a3(_0x1f6560,_0x7d6537):_0x1f6560,_0x3cdb19=_0x402572[_0x585892(0x1f0)]-0x1,_0x5ebc57;_0x3cdb19>=0x0;_0x3cdb19--)(_0x5ebc57=_0x402572[_0x3cdb19])&&(_0x5c791a=_0x5ebc57(_0x5c791a)||_0x5c791a);return _0x5c791a;},_0x1b9551=(_0x3509b8,_0x23617a)=>(_0x1a056d,_0x35a651)=>_0x23617a(_0x1a056d,_0x35a651,_0x3509b8);const _0x29c908=0x12c,_0x15a10b=0x64,_0x3883b0=()=>{let _0x1ae2ba=[],_0x13fb28=!0x1;return _0x565a33=>{const _0xc8957f=_0x4a60;_0x1ae2ba[_0xc8957f(0x1af)](_0x565a33),_0x13fb28||(_0x13fb28=!0x0,setTimeout(()=>{const _0x4d5c58=_0xc8957f;_0x1ae2ba[_0x4d5c58(0x177)](_0x57ec5d=>_0x57ec5d()),_0x1ae2ba=[],_0x13fb28=!0x1;}));};};let _0x57b0de=class extends _0x453419[_0x1c5799(0x23f)]{constructor(_0x2c7594,_0x15f2b6,_0x3222f2,_0x31e17e,_0x39d6f9,_0x30fca5,_0x2a1db5,_0x1114bb){const _0x5d300d=_0x1c5799;super(),_0x1be09e(this,'_online',!0x1),_0x1be09e(this,_0x5d300d(0x1fc),!0x1),_0x1be09e(this,_0x5d300d(0x2c7),new _0xa78be3[(_0x5d300d(0x1a6))](new Map())),_0x1be09e(this,_0x5d300d(0x3dd),this[_0x5d300d(0x2c7)][_0x5d300d(0x208)]()),_0x1be09e(this,_0x5d300d(0x1ab),new _0xa78be3[(_0x5d300d(0x1a6))]([])),_0x1be09e(this,_0x5d300d(0x358),this[_0x5d300d(0x1ab)][_0x5d300d(0x14d)](_0xa78be3[_0x5d300d(0x2ac)](_0x29c908))),_0x1be09e(this,'_updateLocalCursor',_0x453419[_0x5d300d(0x22c)]((_0x61263e,_0x500a9e)=>{const _0x3d9c58=_0x5d300d,_0x187d78={'eventID':_0x567d4a[_0x3d9c58(0x203)][_0x3d9c58(0x2ef)],'data':{'unitID':this[_0x3d9c58(0x257)],'memberID':this[_0x3d9c58(0x1ae)]['getMemberID'](),'selection':_0x46bdbf[_0x3d9c58(0x1e8)](_0x61263e,_0x500a9e[_0x3d9c58(0x168)])}};this[_0x3d9c58(0x1ae)][_0x3d9c58(0x36e)](_0x187d78,this[_0x3d9c58(0x257)]);},_0x15a10b)),(this[_0x5d300d(0x257)]=_0x2c7594,this['_session']=_0x15f2b6,this['_injector']=_0x3222f2,this['_colorAssignService']=_0x31e17e,this[_0x5d300d(0x236)]=_0x39d6f9,this[_0x5d300d(0x3cb)]=_0x30fca5,this[_0x5d300d(0x170)]=_0x2a1db5,this[_0x5d300d(0x2e9)]=_0x1114bb);}get[_0x1c5799(0x235)](){const _0x13d63b=_0x1c5799;return this[_0x13d63b(0x2c7)][_0x13d63b(0x1b1)]();}get[_0x1c5799(0x291)](){const _0x2b071d=_0x1c5799;return this[_0x2b071d(0x1ab)]['getValue']();}[_0x1c5799(0x2f8)](){const _0xf8c676=_0x1c5799;super[_0xf8c676(0x2f8)](),this[_0xf8c676(0x2c7)]['next'](new Map()),this[_0xf8c676(0x2c7)]['complete'](),this['_roomMembers$'][_0xf8c676(0x1fd)]([]),this[_0xf8c676(0x1ab)][_0xf8c676(0x244)]();}[_0x1c5799(0x15d)](){const _0x3fc0df=_0x1c5799;this[_0x3fc0df(0x1fc)]||(this['_init']=!0x0,this[_0x3fc0df(0x1ae)][_0x3fc0df(0x363)][_0x3fc0df(0x14d)](_0xa78be3[_0x3fc0df(0x1e1)](this['dispose$']))[_0x3fc0df(0x159)](_0x184d63=>{const _0x4a9fdd=_0x3fc0df;_0x184d63===_0x126ab5[_0x4a9fdd(0x283)][_0x4a9fdd(0x2c2)]?this['_toggleOnline']():this[_0x4a9fdd(0x2de)]();}),this['_session']['event$']['pipe'](_0xa78be3['takeUntil'](this[_0x3fc0df(0x155)]))['subscribe'](_0x322072=>{const _0x4cd145=_0x3fc0df,_0x38f741=_0x322072[_0x4cd145(0x340)];_0x38f741===_0x567d4a['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x4cd145(0x31e)](_0x322072),_0x38f741===_0x567d4a[_0x4cd145(0x203)][_0x4cd145(0x3d3)]&&this[_0x4cd145(0x32e)](_0x322072);}),this[_0x3fc0df(0x174)](),this['disposeWithMe'](this[_0x3fc0df(0x170)][_0x3fc0df(0x3da)](_0x594416=>{const _0x1ef81d=_0x3fc0df;if(this['_online']&&_0x594416['id']===_0x395bb3['SetSelectionsOperation']['id']&&_0x594416['params'][_0x1ef81d(0x2e7)]===this[_0x1ef81d(0x257)]){const _0x48480d=_0x594416[_0x1ef81d(0x3ae)];this[_0x1ef81d(0x3d0)](_0x48480d[_0x1ef81d(0x1a7)],_0x48480d[_0x1ef81d(0x1d6)][0x0]);}})));}[_0x1c5799(0x31e)](_0x2ef999){const _0x1d8a76=_0x1c5799;var _0x113745,_0x23d1c2;const {memberID:_0x46703d,selection:_0x25a5a2}=_0x2ef999['data'],{sheetName:_0x551f98,range:_0x396b28}=_0x46bdbf[_0x1d8a76(0x152)](_0x25a5a2),_0xb957d={'name':(_0x23d1c2=(_0x113745=this[_0x1d8a76(0x236)][_0x1d8a76(0x250)](this[_0x1d8a76(0x257)],_0x46703d))==null?void 0x0:_0x113745[_0x1d8a76(0x299)])!=null?_0x23d1c2:_0x1d8a76(0x393),'range':this['_getMergeRange'](_0x551f98,_0x396b28),'sheetID':_0x551f98,'color':this[_0x1d8a76(0x225)][_0x1d8a76(0x243)](_0x46703d),'selection':_0x25a5a2},_0x80b488=this[_0x1d8a76(0x235)];_0x80b488[_0x1d8a76(0x19a)](_0x46703d,_0xb957d),this['_cursorInfo$']['next'](_0x80b488);}['_onCursorDelete'](_0x13a76e){const _0x3a00df=_0x1c5799,{memberID:_0x259f56}=_0x13a76e[_0x3a00df(0x287)],_0x291d0e=this[_0x3a00df(0x235)];_0x291d0e['delete'](_0x259f56),this[_0x3a00df(0x2c7)][_0x3a00df(0x1fd)](_0x291d0e);}['_getMergeRange'](_0x5e4a07,_0x4267d0){const _0x1de9f1=_0x1c5799;var _0x222176,_0x5c694a;const _0x2b5af7=(_0x5c694a=(_0x222176=this[_0x1de9f1(0x3cb)][_0x1de9f1(0x2ed)](this['unitID']))==null?void 0x0:_0x222176[_0x1de9f1(0x3db)](_0x5e4a07))==null?void 0x0:_0x5c694a[_0x1de9f1(0x2f6)]();return(_0x2b5af7==null?void 0x0:_0x2b5af7[_0x1de9f1(0x1a2)](_0x303536=>_0x453419[_0x1de9f1(0x360)][_0x1de9f1(0x36b)](_0x303536,_0x4267d0)))||_0x4267d0;}[_0x1c5799(0x174)](){const _0x4d218a=_0x1c5799,_0x2a8166=new _0x453419[(_0x4d218a(0x33c))](),_0x5966f6=_0x3883b0(),_0x1e244d=()=>{const _0x1d4060=_0x4d218a;_0x2a8166[_0x1d4060(0x2f8)]();const _0x554f5d=(_0x5a9ff7,_0x2e3800,_0x149804,_0x128e1c)=>{const _0x3b92df=_0x1d4060;let _0x57a826=[];switch(_0x5a9ff7['id']){case _0x395bb3[_0x3b92df(0x30d)][_0x3b92df(0x249)]:{_0x57a826=_0x395bb3['handleDeleteRangeMoveLeft'](_0x5a9ff7,_0x128e1c);break;}case _0x395bb3['EffectRefRangId'][_0x3b92df(0x1d4)]:{_0x57a826=_0x395bb3['handleDeleteRangeMoveUp'](_0x5a9ff7,_0x128e1c);break;}case _0x395bb3['EffectRefRangId'][_0x3b92df(0x1ec)]:{_0x57a826=_0x395bb3[_0x3b92df(0x27f)](_0x5a9ff7,_0x128e1c);break;}case _0x395bb3[_0x3b92df(0x30d)][_0x3b92df(0x36f)]:{_0x57a826=_0x395bb3['handleInsertRangeMoveDown'](_0x5a9ff7,_0x128e1c);break;}case _0x395bb3[_0x3b92df(0x30d)][_0x3b92df(0x3ad)]:{_0x57a826=_0x395bb3[_0x3b92df(0x2e1)](_0x5a9ff7,_0x128e1c);break;}case _0x395bb3[_0x3b92df(0x30d)][_0x3b92df(0x23e)]:{_0x57a826=_0x395bb3[_0x3b92df(0x301)](_0x5a9ff7,_0x128e1c);break;}case _0x395bb3[_0x3b92df(0x30d)][_0x3b92df(0x3df)]:{_0x57a826=_0x395bb3[_0x3b92df(0x13c)](_0x5a9ff7,_0x128e1c);break;}case _0x395bb3[_0x3b92df(0x30d)][_0x3b92df(0x282)]:{_0x57a826=_0x395bb3[_0x3b92df(0x38a)](_0x5a9ff7,_0x128e1c);break;}case _0x395bb3[_0x3b92df(0x30d)]['RemoveRowCommandId']:{_0x57a826=_0x395bb3['handleIRemoveRow'](_0x5a9ff7,_0x128e1c);break;}}const _0x5ef578=_0x395bb3[_0x3b92df(0x308)](_0x57a826,_0x128e1c),_0x3dc445=this[_0x3b92df(0x235)][_0x3b92df(0x3a2)](_0x2e3800);if(_0x3dc445&&_0x5ef578){const _0x423939={..._0x3dc445,'range':_0x5ef578};this[_0x3b92df(0x235)]['set'](_0x2e3800,_0x423939),_0x5966f6(()=>{const _0x399fc6=_0x3b92df,_0x153257=this[_0x399fc6(0x2e9)][_0x399fc6(0x300)](_0x5ef578,_0x11ec64=>(_0x153257[_0x399fc6(0x2f8)](),_0x554f5d(_0x11ec64,_0x2e3800,_0x149804,_0x5ef578)));_0x2a8166[_0x399fc6(0x16a)](_0x153257);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1d4060(0x177)]((_0x44d672,_0x5bc8d4)=>{const _0x557d00=_0x1d4060,{range:_0x54ffad,sheetID:_0x4c3518}=_0x44d672,_0x1b8045=this['_refRangeService']['registerRefRange'](_0x54ffad,_0x138d9e=>(_0x1b8045[_0x557d00(0x2f8)](),_0x554f5d(_0x138d9e,_0x5bc8d4,_0x4c3518,_0x54ffad)));_0x2a8166['add'](_0x1b8045);});};this['disposeWithMe'](_0x453419[_0x4d218a(0x1c9)](this['_cursorInfo$'][_0x4d218a(0x159)](()=>{_0x1e244d();})));}[_0x1c5799(0x368)](){const _0xd1bee8=_0x1c5799;var _0x4a5b53,_0x2bc235;if(this[_0xd1bee8(0x20d)]=!0x0,((_0x4a5b53=this[_0xd1bee8(0x3cb)][_0xd1bee8(0x2fd)]())==null?void 0x0:_0x4a5b53[_0xd1bee8(0x2e8)]())!==this[_0xd1bee8(0x257)])return;const _0x41900b=(_0x2bc235=this['_injector'][_0xd1bee8(0x3a2)](_0x395bb3[_0xd1bee8(0x232)])[_0xd1bee8(0x1fa)]())==null?void 0x0:_0x2bc235[0x0],_0x317cd4=this['_univerInstanceService']['getCurrentUnitForType'](_0x453419[_0xd1bee8(0x247)][_0xd1bee8(0x2fc)])[_0xd1bee8(0x284)]();_0x41900b&&_0x317cd4&&this[_0xd1bee8(0x3d0)](_0x317cd4['getSheetId'](),_0x41900b);}['_toggleOffline'](){const _0x3a26e0=_0x1c5799;this[_0x3a26e0(0x20d)]=!0x1;}};_0x57b0de=_0xb2236a([_0x1b9551(0x2,_0x453419[_0x1c5799(0x229)](_0x453419[_0x1c5799(0x38d)])),_0x1b9551(0x3,_0x453419[_0x1c5799(0x229)](_0xc8e7b)),_0x1b9551(0x4,_0x453419[_0x1c5799(0x229)](_0x126ab5[_0x1c5799(0x34b)])),_0x1b9551(0x5,_0x453419[_0x1c5799(0x1c8)]),_0x1b9551(0x6,_0x453419[_0x1c5799(0x2a6)]),_0x1b9551(0x7,_0x453419[_0x1c5799(0x229)](_0x395bb3[_0x1c5799(0x21d)]))],_0x57b0de);var _0x5226cd=Object['getOwnPropertyDescriptor'],_0x4e9112=(_0x18cb7b,_0x489195,_0x20f05d,_0x4e144a)=>{for(var _0x301008=_0x4e144a>0x1?void 0x0:_0x4e144a?_0x5226cd(_0x489195,_0x20f05d):_0x489195,_0x3c4b7b=_0x18cb7b['length']-0x1,_0xf7ab6f;_0x3c4b7b>=0x0;_0x3c4b7b--)(_0xf7ab6f=_0x18cb7b[_0x3c4b7b])&&(_0x301008=_0xf7ab6f(_0x301008)||_0x301008);return _0x301008;},_0x1490b3=(_0x24c147,_0x43c9eb)=>(_0x282d1d,_0x3ccacc)=>_0x43c9eb(_0x282d1d,_0x3ccacc,_0x24c147);let _0x23e436=class extends _0x453419[_0x1c5799(0x23f)]{constructor(_0x477ac7,_0x50bb8e,_0x20a6d3){const _0x585c86=_0x1c5799;super(),_0x1be09e(this,'_entities',new Map()),_0x1be09e(this,'_entityInit$',new _0xa78be3[(_0x585c86(0x395))]()),(this['_univerInstanceService']=_0x477ac7,this[_0x585c86(0x336)]=_0x50bb8e,this['_collabSessionService']=_0x20a6d3,this['_init']());}[_0x1c5799(0x2f8)](){const _0x629c9a=_0x1c5799;super[_0x629c9a(0x2f8)](),this[_0x629c9a(0x355)][_0x629c9a(0x244)](),this['_entities'][_0x629c9a(0x177)](_0x8b34c=>_0x8b34c['dispose']());}[_0x1c5799(0x248)](_0x39f658){const _0x469d4e=_0x1c5799;return this[_0x469d4e(0x2ad)]['has'](_0x39f658)?this[_0x469d4e(0x2ad)][_0x469d4e(0x3a2)](_0x39f658)[_0x469d4e(0x3dd)]:this[_0x469d4e(0x355)][_0x469d4e(0x14d)](_0xa78be3[_0x469d4e(0x2e0)](_0x191a83=>_0x191a83['unitID']===_0x39f658),_0xa78be3[_0x469d4e(0x15b)](_0x374f50=>_0x374f50[_0x469d4e(0x3dd)]));}['_init'](){const _0x1ccfa3=_0x1c5799;this['_univerInstanceService'][_0x1ccfa3(0x3ba)](_0x453419[_0x1ccfa3(0x247)][_0x1ccfa3(0x2fc)])[_0x1ccfa3(0x14d)](_0xa78be3['takeUntil'](this[_0x1ccfa3(0x155)]))[_0x1ccfa3(0x159)](async _0x1ddbc9=>{const _0xd0f75f=_0x1ccfa3,_0x586224=_0x1ddbc9[_0xd0f75f(0x2e8)](),_0x40e182=await this[_0xd0f75f(0x311)](_0x586224);this[_0xd0f75f(0x355)][_0xd0f75f(0x1fd)](_0x40e182),this[_0xd0f75f(0x2ad)][_0xd0f75f(0x19a)](_0x586224,_0x40e182);}),this[_0x1ccfa3(0x3cb)][_0x1ccfa3(0x3ba)](_0x453419[_0x1ccfa3(0x247)][_0x1ccfa3(0x3ac)])['pipe'](_0xa78be3['takeUntil'](this[_0x1ccfa3(0x155)]))[_0x1ccfa3(0x14d)](_0xa78be3['filter'](_0x316598=>!_0x316598[_0x1ccfa3(0x2e8)]()[_0x1ccfa3(0x349)]('__')))[_0x1ccfa3(0x159)](async _0x3014db=>{const _0x186503=_0x1ccfa3,_0x422885=_0x3014db[_0x186503(0x2e8)](),_0x27399e=await this['_startDocCollabCursor'](_0x422885);this[_0x186503(0x355)][_0x186503(0x1fd)](_0x27399e),this[_0x186503(0x2ad)][_0x186503(0x19a)](_0x422885,_0x27399e);}),_0xa78be3[_0x1ccfa3(0x1da)](this[_0x1ccfa3(0x3cb)][_0x1ccfa3(0x3d5)](_0x453419[_0x1ccfa3(0x247)][_0x1ccfa3(0x3ac)]),this[_0x1ccfa3(0x3cb)]['getTypeOfUnitDisposed$'](_0x453419['UniverInstanceType'][_0x1ccfa3(0x2fc)]))['pipe'](_0xa78be3['takeUntil'](this['dispose$']))['subscribe'](_0x2283df=>{const _0x3fd8d6=_0x1ccfa3,_0x534bd8=_0x2283df[_0x3fd8d6(0x2e8)](),_0xc4a319=this['_entities'][_0x3fd8d6(0x3a2)](_0x534bd8);_0xc4a319&&(_0xc4a319[_0x3fd8d6(0x2f8)](),this[_0x3fd8d6(0x2ad)][_0x3fd8d6(0x1a0)](_0x534bd8));});}async['_startSheetCollabCursor'](_0x2534d1){const _0x1c5da8=_0x1c5799,_0x3d8ec0=await this[_0x1c5da8(0x35f)][_0x1c5da8(0x2e6)](_0x2534d1),_0x57e996=this[_0x1c5da8(0x336)][_0x1c5da8(0x32f)](_0x57b0de,_0x2534d1,_0x3d8ec0);return _0x57e996[_0x1c5da8(0x15d)](),_0x57e996;}async[_0x1c5799(0x146)](_0x52f846){const _0x224335=_0x1c5799,_0x1772b3=await this[_0x224335(0x35f)][_0x224335(0x2e6)](_0x52f846),_0x5986d0=this[_0x224335(0x336)][_0x224335(0x32f)](_0x2df45c,_0x52f846,_0x1772b3);return _0x5986d0[_0x224335(0x15d)](),_0x5986d0;}};_0x23e436=_0x4e9112([_0x1490b3(0x0,_0x453419['IUniverInstanceService']),_0x1490b3(0x1,_0x453419['Inject'](_0x453419['Injector'])),_0x1490b3(0x2,_0x453419['Inject'](_0x126ab5['CollaborationSessionService']))],_0x23e436);const _0x32cd44=0x14,_0x549f1f=0xc8,_0x4e80cb=0x4,_0x18dcaf=0x5;function _0x2c134d(_0x8e635d,_0x853739){const _0x5e7b73=_0x1c5799;let {radius:_0x303055,width:_0x24ee34,height:_0x4059a3}=_0x853739;_0x303055=_0x303055!=null?_0x303055:0x0,_0x24ee34=_0x24ee34!=null?_0x24ee34:0x1e,_0x4059a3=_0x4059a3!=null?_0x4059a3:0x1e;let _0x121bf2=0x0,_0x592c25=0x0,_0x3beaec=0x0;_0x121bf2=_0x592c25=_0x3beaec=Math[_0x5e7b73(0x20f)](_0x303055,_0x24ee34/0x2,_0x4059a3/0x2),_0x8e635d[_0x5e7b73(0x141)](),_0x8e635d['moveTo'](_0x121bf2,0x0),_0x8e635d['lineTo'](_0x24ee34-_0x592c25,0x0),_0x8e635d[_0x5e7b73(0x26c)](_0x24ee34-_0x592c25,_0x592c25,_0x592c25,Math['PI']*0x3/0x2,0x0,!0x1),_0x8e635d[_0x5e7b73(0x14f)](_0x24ee34,_0x4059a3-_0x3beaec),_0x8e635d['arc'](_0x24ee34-_0x3beaec,_0x4059a3-_0x3beaec,_0x3beaec,0x0,Math['PI']/0x2,!0x1),_0x8e635d['lineTo'](0x0,_0x4059a3),_0x8e635d[_0x5e7b73(0x14f)](0x0,_0x121bf2),_0x8e635d['arc'](_0x121bf2,_0x121bf2,_0x121bf2,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x8e635d[_0x5e7b73(0x30f)](),_0x853739[_0x5e7b73(0x304)]&&(_0x8e635d[_0x5e7b73(0x3c5)](),_0x8e635d[_0x5e7b73(0x298)]=_0x853739[_0x5e7b73(0x304)],_0x853739['fillRule']===_0x5e7b73(0x2b7)?_0x8e635d[_0x5e7b73(0x304)]('evenodd'):_0x8e635d['fill'](),_0x8e635d['restore']());}class _0x403e07 extends _0x32283b[_0x1c5799(0x39f)]{constructor(_0x406678,_0x45ec23){const _0x206376=_0x1c5799;super(_0x406678,_0x45ec23),_0x1be09e(this,_0x206376(0x277)),_0x1be09e(this,_0x206376(0x13d)),(this[_0x206376(0x277)]=_0x45ec23==null?void 0x0:_0x45ec23[_0x206376(0x277)],this['text']=_0x45ec23==null?void 0x0:_0x45ec23[_0x206376(0x13d)]);}static[_0x1c5799(0x1e9)](_0x405f8f,_0x2151a5){const _0xa89d7b=_0x1c5799,{text:_0x3904a6,color:_0x174dd9}=_0x2151a5;_0x405f8f['save'](),_0x405f8f[_0xa89d7b(0x1bc)]=_0xa89d7b(0x396);const _0x33c249=_0x405f8f[_0xa89d7b(0x2a7)](_0x3904a6)['width'],_0x2a2bf1=Math['min'](_0x33c249+0x2*_0x4e80cb,_0x549f1f);_0x2c134d(_0x405f8f,{'height':_0x32cd44,'radius':0x4,'width':_0x2a2bf1,'fill':_0x174dd9}),_0x405f8f[_0xa89d7b(0x298)]='#FFF';const _0x560f81=_0x4e80cb,_0x17ba44=_0x32cd44-_0x18dcaf,_0x58ae2e=_0x549f1f-0x2*_0x4e80cb;if(_0x33c249>_0x58ae2e){let _0x331acc='',_0xdafc6=0x0;for(const _0x1a40fe of _0x3904a6){const _0x2eabcf=_0x405f8f[_0xa89d7b(0x2a7)](_0x1a40fe)[_0xa89d7b(0x183)];if(_0xdafc6+_0x2eabcf<=_0x58ae2e-_0x405f8f['measureText'](_0xa89d7b(0x1ba))[_0xa89d7b(0x183)])_0x331acc+=_0x1a40fe,_0xdafc6+=_0x2eabcf;else{_0x331acc+=_0xa89d7b(0x1ba);break;}}_0x405f8f[_0xa89d7b(0x399)](_0x331acc,_0x560f81,_0x17ba44);}else _0x405f8f[_0xa89d7b(0x399)](_0x3904a6,_0x560f81,_0x17ba44);_0x405f8f['restore']();}[_0x1c5799(0x263)](_0x2852fd){const _0x473463=_0x1c5799;_0x403e07[_0x473463(0x1e9)](_0x2852fd,this);}}const _0x5b49a2=_0x1c5799(0x21f),_0x52bccf=_0x1c5799(0x30b),_0x502a96=_0x1c5799(0x3b8),_0x16a415=0x6,_0x5c9a92=1.5,_0xf49071=0x4,_0x3b845a=1.5,_0x251a64=_0x1c5799(0x3ab);class _0x283a6b{constructor(_0x384049,_0x57b8e9,_0x38648e,_0x1250d6){const _0x924bdf=_0x1c5799;_0x1be09e(this,_0x924bdf(0x2ab),[]),_0x1be09e(this,_0x924bdf(0x2da),null),_0x1be09e(this,'_textBubble',null),_0x1be09e(this,'_anchorDot',null),_0x1be09e(this,_0x924bdf(0x154),null),_0x1be09e(this,_0x924bdf(0x2a2),null),(this['_cursor']=_0x384049,this['_scene']=_0x57b8e9,this[_0x924bdf(0x1c0)]=_0x38648e,this['_document']=_0x1250d6,this[_0x924bdf(0x22d)]());}set['_hover'](_0x1bcf3d){const _0x5e84d2=_0x1c5799;_0x1bcf3d?(this[_0x5e84d2(0x202)]&&this[_0x5e84d2(0x202)][_0x5e84d2(0x367)](),this[_0x5e84d2(0x1f2)]&&this['_textBubble'][_0x5e84d2(0x27c)]()):(this['_anchorDot']&&this['_anchorDot'][_0x5e84d2(0x27c)](),this[_0x5e84d2(0x1f2)]&&this[_0x5e84d2(0x1f2)][_0x5e84d2(0x367)]());}[_0x1c5799(0x2f8)](){const _0x1d08b5=_0x1c5799;for(const _0x323f0a of this[_0x1d08b5(0x2ab)])_0x323f0a[_0x1d08b5(0x2f8)]();this[_0x1d08b5(0x1f2)]&&this['_textBubble'][_0x1d08b5(0x2f8)](),this[_0x1d08b5(0x202)]&&this[_0x1d08b5(0x202)][_0x1d08b5(0x2f8)](),this[_0x1d08b5(0x2da)]&&this[_0x1d08b5(0x2da)][_0x1d08b5(0x2f8)](),this[_0x1d08b5(0x2a2)]&&this['_eventUnsubscribe']();}[_0x1c5799(0x22d)](){const _0x4cdcb3=_0x1c5799;var _0x4f4f68;const {_docSkeleton:_0x24adff,_document:_0x4eb66d}=this,{color:_0x27b25f,name:_0x23afd7,ranges:_0x15eaa8}=this[_0x4cdcb3(0x221)],_0x23f6d2=_0x4eb66d[_0x4cdcb3(0x3c1)](),{docsLeft:_0x2e89ee,docsTop:_0x531db7}=_0x23f6d2,_0x237b44=new _0x57d79a['NodePositionConvertToCursor'](_0x23f6d2,_0x24adff);for(const {startOffset:_0x439206,endOffset:_0x54be18,rangeType:_0x4bcfa4,segmentId:_0x4f05c9,segmentPage:_0x42dc04,collapsed:_0xa1767d,isActive:_0x1cb3fd}of _0x15eaa8){const _0x370265=_0x24adff['findNodePositionByCharIndex'](_0x439206,!0x0,_0x4f05c9,_0x42dc04);let _0x5a0fac=_0x24adff[_0x4cdcb3(0x31b)](_0x54be18,!0x0,_0x4f05c9,_0x42dc04);if(_0x5a0fac==null&&(_0x5a0fac=_0x24adff[_0x4cdcb3(0x31b)](_0x54be18-0x1,!0x1,_0x4f05c9,_0x42dc04)),_0x1cb3fd){const {contentBoxPointGroup:_0x37750c}=_0x237b44[_0x4cdcb3(0x1fe)](_0x5a0fac,_0x5a0fac);if(_0x37750c[_0x4cdcb3(0x1f0)]===0x0)continue;this[_0x4cdcb3(0x2ce)](_0x27b25f,_0x37750c,_0x2e89ee,_0x531db7,_0x23afd7),this[_0x4cdcb3(0x2a2)]=this[_0x4cdcb3(0x1c7)]();}if(_0x370265&&_0x5a0fac){if(_0x4bcfa4===_0x453419[_0x4cdcb3(0x264)][_0x4cdcb3(0x22e)]){const _0x57d6b5=new _0x57d79a['NodePositionConvertToRectRange'](_0x23f6d2,_0x24adff),{pointGroup:_0x3efe0f}=(_0x4f4f68=_0x57d6b5[_0x4cdcb3(0x1fe)](_0x370265,_0x5a0fac))!=null?_0x4f4f68:{};if(_0x3efe0f==null||_0x3efe0f[_0x4cdcb3(0x1f0)]===0x0)continue;this[_0x4cdcb3(0x151)](_0x27b25f,_0x3efe0f,_0x2e89ee,_0x531db7);}else{if(!_0xa1767d){const {borderBoxPointGroup:_0x437d67}=_0x237b44[_0x4cdcb3(0x1fe)](_0x370265,_0x5a0fac);if(_0x437d67[_0x4cdcb3(0x1f0)]===0x0)continue;this[_0x4cdcb3(0x333)](_0x27b25f,_0x437d67,_0x2e89ee,_0x531db7);}}}}}[_0x1c5799(0x2ce)](_0x60bb48,_0x5e443b,_0x35b26c,_0x3a858c,_0x58ad24){const _0x28afc8=_0x1c5799,_0x9bf018=this[_0x28afc8(0x30a)](_0x5e443b),{left:_0x36b73a,top:_0xe38e7b,height:_0x1d5c85}=_0x9bf018,_0x59cecf=this[_0x28afc8(0x1cd)](),_0x3c677e=_0x3b845a/_0x59cecf,_0xa39258=new _0x32283b[(_0x28afc8(0x382))](_0x5b49a2+_0x453419[_0x28afc8(0x20e)][_0x28afc8(0x38b)](_0x16a415),{'left':_0x36b73a+_0x35b26c-_0x3c677e,'top':_0xe38e7b+_0x3a858c,'height':_0x1d5c85,'width':_0x5c9a92,'fill':_0x60bb48||_0x32283b[_0x28afc8(0x274)](_0x453419[_0x28afc8(0x3a1)][_0x28afc8(0x28d)],0x0),'strokeWidth':_0x3c677e,'stroke':_0x251a64,'evented':!0x0});this['_anchor']=_0xa39258,this[_0x28afc8(0x258)][_0x28afc8(0x17a)](_0xa39258,_0x57d79a['TEXT_RANGE_LAYER_INDEX']);const _0x3cbb33=new _0x32283b['Rect'](_0x5b49a2+_0x453419[_0x28afc8(0x20e)][_0x28afc8(0x38b)](_0x16a415),{'left':_0x36b73a+_0x35b26c-_0x3c677e,'top':_0xe38e7b+_0x3a858c-_0xf49071/0x2,'height':_0xf49071,'width':_0xf49071,'fill':_0x60bb48||_0x32283b[_0x28afc8(0x274)](_0x453419[_0x28afc8(0x3a1)][_0x28afc8(0x28d)],0x0),'strokeWidth':0x0,'stroke':_0x60bb48||_0x32283b['getColor'](_0x453419[_0x28afc8(0x3a1)][_0x28afc8(0x28d)],0x0),'evented':!0x1});this[_0x28afc8(0x202)]=_0x3cbb33,this[_0x28afc8(0x258)][_0x28afc8(0x17a)](_0x3cbb33,_0x57d79a['TEXT_RANGE_LAYER_INDEX']);const _0x2bbea8=new _0x403e07(_0x5b49a2+_0x453419['Tools']['generateRandomId'](_0x16a415),{'left':_0x36b73a+_0x35b26c-_0x3c677e,'top':_0xe38e7b+_0x3a858c-_0x32cd44,'text':_0x58ad24,'color':_0x60bb48});this[_0x28afc8(0x1f2)]=_0x2bbea8,this['_scene']['addObject'](_0x2bbea8,_0x57d79a[_0x28afc8(0x19d)]),this['_hover']=!0x1;}[_0x1c5799(0x1c7)](){const _0x3ab858=_0x1c5799,_0x16fd46=this[_0x3ab858(0x2da)][_0x3ab858(0x176)]['subscribeEvent'](()=>{const _0x1f3ce6=_0x3ab858;this[_0x1f3ce6(0x207)]=!0x0;}),_0x328a24=this[_0x3ab858(0x2da)][_0x3ab858(0x30e)][_0x3ab858(0x1e6)](()=>{const _0x2de472=_0x3ab858;this[_0x2de472(0x154)]&&clearTimeout(this[_0x2de472(0x154)]),this[_0x2de472(0x154)]=setTimeout(()=>{const _0xaac99=_0x2de472;this[_0xaac99(0x207)]=!0x1;},0x7d0);});return()=>{const _0x42d5f1=_0x3ab858;_0x16fd46[_0x42d5f1(0x1d9)](),_0x328a24[_0x42d5f1(0x1d9)]();};}[_0x1c5799(0x333)](_0x271053,_0x49474f,_0x1c8442,_0x4fbc2f){const _0x149321=_0x1c5799,_0x47f8cb=new _0x453419[(_0x149321(0x343))](_0x271053)[_0x149321(0x324)](0.2)[_0x149321(0x27e)](),_0x3ef389=new _0x32283b[(_0x149321(0x35a))](_0x52bccf+_0x453419['Tools'][_0x149321(0x38b)](_0x16a415),{'pointsGroup':_0x49474f,'fill':_0x47f8cb||_0x32283b[_0x149321(0x274)](_0x453419[_0x149321(0x3a1)][_0x149321(0x28d)],0.2),'left':_0x1c8442,'top':_0x4fbc2f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x149321(0x2ab)][_0x149321(0x1af)](_0x3ef389),this['_scene'][_0x149321(0x17a)](_0x3ef389,_0x57d79a[_0x149321(0x19d)]);}[_0x1c5799(0x151)](_0x40c6e5,_0x28285e,_0x5772e0,_0x245eaf){const _0x5bc66d=_0x1c5799,_0x50a689=new _0x453419[(_0x5bc66d(0x343))](_0x40c6e5)[_0x5bc66d(0x324)](0.2)[_0x5bc66d(0x27e)](),_0x2ef2c7=new _0x32283b[(_0x5bc66d(0x35a))](_0x502a96+_0x453419[_0x5bc66d(0x20e)][_0x5bc66d(0x38b)](_0x16a415),{'pointsGroup':_0x28285e,'fill':_0x50a689||_0x32283b[_0x5bc66d(0x274)](_0x453419['COLORS'][_0x5bc66d(0x28d)],0.2),'left':_0x5772e0,'top':_0x245eaf,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5bc66d(0x1af)](_0x2ef2c7),this[_0x5bc66d(0x258)][_0x5bc66d(0x17a)](_0x2ef2c7,_0x57d79a[_0x5bc66d(0x19d)]);}[_0x1c5799(0x30a)](_0x4ff45e){const _0x23dbfd=_0x4ff45e[0x0],_0x436d1e=_0x23dbfd[0x0],_0x50ad35=_0x23dbfd[0x2],{x:_0x55423c,y:_0x2d0140}=_0x436d1e,{x:_0x4fd1de,y:_0x22156b}=_0x50ad35;return{'left':_0x55423c,'top':_0x2d0140,'width':_0x4fd1de-_0x55423c,'height':_0x22156b-_0x2d0140};}['_getScale'](){const _0x440a79=_0x1c5799,{scaleX:_0x426eb6,scaleY:_0x14329c}=this['_scene'][_0x440a79(0x32b)]();return Math['max'](_0x426eb6,_0x14329c);}}var _0x175ab4=Object[_0x1c5799(0x231)],_0x51acea=(_0x43d817,_0xd6c209,_0x780cb5,_0x5a3042)=>{const _0x491753=_0x1c5799;for(var _0x40cbba=_0x5a3042>0x1?void 0x0:_0x5a3042?_0x175ab4(_0xd6c209,_0x780cb5):_0xd6c209,_0x566e33=_0x43d817[_0x491753(0x1f0)]-0x1,_0xbe217a;_0x566e33>=0x0;_0x566e33--)(_0xbe217a=_0x43d817[_0x566e33])&&(_0x40cbba=_0xbe217a(_0x40cbba)||_0x40cbba);return _0x40cbba;},_0x226852=(_0x3fed29,_0x13162d)=>(_0x412011,_0x22a2d8)=>_0x13162d(_0x412011,_0x22a2d8,_0x3fed29);let _0x177251=class extends _0x453419[_0x1c5799(0x23f)]{constructor(_0x52e8a9,_0x2a8279,_0xf2485,_0x562718,_0x49cda0){const _0x549bd8=_0x1c5799;super(),_0x1be09e(this,_0x549bd8(0x245),[]),_0x1be09e(this,_0x549bd8(0x2ec),[]),(this['_context']=_0x52e8a9,this[_0x549bd8(0x180)]=_0x2a8279,this[_0x549bd8(0x1f7)]=_0xf2485,this[_0x549bd8(0x170)]=_0x562718,this[_0x549bd8(0x320)]=_0x49cda0,this[_0x549bd8(0x1fc)]());}[_0x1c5799(0x1fc)](){const _0x29d972=_0x1c5799,_0x4f6601=this[_0x29d972(0x242)][_0x29d972(0x2e7)],_0x29c233=this[_0x29d972(0x180)];this[_0x29d972(0x38e)](_0xa78be3[_0x29d972(0x2b4)]([this[_0x29d972(0x1f7)][_0x29d972(0x248)](_0x4f6601),this[_0x29d972(0x320)]['currentTheme$']])[_0x29d972(0x14d)](_0x358e23[_0x29d972(0x37c)](([_0x2ae088,_0x434a39])=>({'skeleton':_0x29c233[_0x29d972(0x32c)](),'cursors':[..._0x2ae088[_0x29d972(0x322)]()]['flatMap'](_0x5ac904=>({..._0x5ac904,'color':_0x434a39[_0x5ac904[_0x29d972(0x277)]]}))})))[_0x29d972(0x159)](_0x345699=>{const _0x2f6879=_0x29d972;if(this['_removeCollabCursors'](),_0x345699){const {skeleton:_0x1169c0,cursors:_0x37ebe3}=_0x345699;this[_0x2f6879(0x21c)](_0x1169c0,_0x37ebe3);}})),this['_initResize'](),this[_0x29d972(0x353)]();}['_updateCollabCursors'](_0xe2fc23,_0x5329ab){const _0x4c832c=_0x1c5799,{scene:_0x4cf73c,mainComponent:_0x215f52}=this[_0x4c832c(0x242)],_0x45dce4=_0x5329ab[_0x4c832c(0x37c)](_0x14787a=>new _0x283a6b(_0x14787a,_0x4cf73c,_0xe2fc23,_0x215f52));this[_0x4c832c(0x245)]=_0x45dce4,this[_0x4c832c(0x2ec)]=_0x5329ab;}['_refreshCollabCursors'](){const _0x515b69=_0x1c5799;this['_removeCollabCursors']();const {scene:_0x2409d6,mainComponent:_0x36044e}=this[_0x515b69(0x242)],_0xdb883b=this[_0x515b69(0x180)]['getSkeleton'](),_0x13587b=this[_0x515b69(0x2ec)][_0x515b69(0x37c)](_0x5bd5f5=>new _0x283a6b(_0x5bd5f5,_0x2409d6,_0xdb883b,_0x36044e));this['_cursorShapes']=_0x13587b;}['_removeCollabCursors'](){const _0x4fe48c=_0x1c5799;this[_0x4fe48c(0x245)]['forEach'](_0x13c825=>_0x13c825[_0x4fe48c(0x2f8)]()),this[_0x4fe48c(0x245)]=[];}[_0x1c5799(0x353)](){const _0x5725a1=_0x1c5799,_0x45f111=[_0x57d79a['SetDocZoomRatioOperation']['id']];this[_0x5725a1(0x38e)](this[_0x5725a1(0x170)]['onCommandExecuted'](_0x185a82=>{const _0x312d3c=_0x5725a1;_0x45f111[_0x312d3c(0x293)](_0x185a82['id'])&&_0x185a82[_0x312d3c(0x3ae)][_0x312d3c(0x2e7)]===this[_0x312d3c(0x242)]['unitId']&&this[_0x312d3c(0x3b4)]();}));}['_initResize'](){const _0x13b159=_0x1c5799;this[_0x13b159(0x38e)](_0x453419[_0x13b159(0x1f5)](this[_0x13b159(0x242)][_0x13b159(0x216)][_0x13b159(0x213)])[_0x13b159(0x14d)](_0x358e23[_0x13b159(0x2e0)](_0x1c8ecb=>_0x1c8ecb[_0x13b159(0x186)]===_0x32283b[_0x13b159(0x1c4)]['resize']),_0x358e23[_0x13b159(0x31d)](0x10))[_0x13b159(0x159)](()=>{const _0x113150=_0x13b159;this[_0x113150(0x3b4)]();}));}};_0x177251=_0x51acea([_0x226852(0x1,_0x453419[_0x1c5799(0x229)](_0x106a95[_0x1c5799(0x371)])),_0x226852(0x2,_0x453419[_0x1c5799(0x229)](_0x23e436)),_0x226852(0x3,_0x453419[_0x1c5799(0x2a6)]),_0x226852(0x4,_0x453419[_0x1c5799(0x229)](_0x453419[_0x1c5799(0x2d8)]))],_0x177251);const _0x2a8249=0x1,_0x2af56b=1.5;class _0x2a871a extends _0x32283b[_0x1c5799(0x39f)]{constructor(_0x584eef,_0x33ce22){const _0x3a2916=_0x1c5799;super(_0x584eef,_0x33ce22),_0x1be09e(this,_0x3a2916(0x2c0)),_0x1be09e(this,_0x3a2916(0x334),!0x1),_0x1be09e(this,_0x3a2916(0x2f3)),_0x1be09e(this,_0x3a2916(0x1e7),''),_0x1be09e(this,_0x3a2916(0x39b),'top'),_0x1be09e(this,'_backgroundColor'),(_0x33ce22&&this['setShapeProps'](_0x33ce22),this[_0x3a2916(0x176)][_0x3a2916(0x1e6)](()=>this[_0x3a2916(0x27d)]({'hovered':!0x0})),this[_0x3a2916(0x30e)][_0x3a2916(0x1e6)](()=>this[_0x3a2916(0x27d)]({'hovered':!0x1})));}[_0x1c5799(0x27d)](_0x14e5ff){const _0x8b7e48=_0x1c5799;var _0x16cf9e,_0x30e886,_0x53041a,_0x738e98,_0x28c5b9,_0x1a6333;this['_color']=(_0x16cf9e=_0x14e5ff[_0x8b7e48(0x277)])!=null?_0x16cf9e:this[_0x8b7e48(0x2c0)],this[_0x8b7e48(0x334)]=(_0x30e886=_0x14e5ff[_0x8b7e48(0x339)])!=null?_0x30e886:this[_0x8b7e48(0x334)],this[_0x8b7e48(0x2f3)]=(_0x53041a=_0x14e5ff[_0x8b7e48(0x168)])!=null?_0x53041a:this['_range'],this[_0x8b7e48(0x1e7)]=(_0x738e98=_0x14e5ff[_0x8b7e48(0x299)])!=null?_0x738e98:this['_name'],this[_0x8b7e48(0x39b)]=(_0x28c5b9=_0x14e5ff[_0x8b7e48(0x388)])!=null?_0x28c5b9:this[_0x8b7e48(0x39b)],this[_0x8b7e48(0x173)]=(_0x1a6333=_0x14e5ff[_0x8b7e48(0x2cc)])!=null?_0x1a6333:this[_0x8b7e48(0x173)],this[_0x8b7e48(0x392)]({'width':_0x14e5ff[_0x8b7e48(0x183)],'height':_0x14e5ff['height']});}[_0x1c5799(0x33e)](_0x48bed9){const _0x5658c2=_0x1c5799,{row:_0x19a97d,column:_0x11daa3}=_0x48bed9;if(_0x19a97d>=this[_0x5658c2(0x2f3)][_0x5658c2(0x164)]&&_0x19a97d<=this[_0x5658c2(0x2f3)][_0x5658c2(0x37b)]&&_0x11daa3>=this['_range']['startColumn']&&_0x11daa3<=this[_0x5658c2(0x2f3)][_0x5658c2(0x1db)]){this[_0x5658c2(0x27d)]({'hovered':!0x0});return;}this[_0x5658c2(0x27d)]({'hovered':!0x1});}[_0x1c5799(0x1ed)](_0x2cda8f){return!0x1;}['_draw'](_0x1b4ce7){const _0x1e9336=_0x1c5799;_0x32283b[_0x1e9336(0x382)][_0x1e9336(0x1e9)](_0x1b4ce7,{'width':this[_0x1e9336(0x183)],'height':this['height'],'strokeWidth':_0x2af56b,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x1e9336(0x173)]}),this['_hovered']&&(_0x1b4ce7[_0x1e9336(0x3c5)](),_0x1b4ce7[_0x1e9336(0x198)](0x1,0x0,0x0,0x1,this[_0x1e9336(0x183)],this[_0x1e9336(0x39b)]===_0x1e9336(0x260)?0x0:-0x14),_0x403e07[_0x1e9336(0x1e9)](_0x1b4ce7,{'text':this[_0x1e9336(0x1e7)],'color':this[_0x1e9336(0x2c0)]}),_0x1b4ce7[_0x1e9336(0x1dc)]());}}var _0xf5cbf=Object[_0x1c5799(0x231)],_0x5eff5d=(_0x3162a3,_0xc6f484,_0x4e29a2,_0x199cc0)=>{const _0x2adc12=_0x1c5799;for(var _0x219ed=_0x199cc0>0x1?void 0x0:_0x199cc0?_0xf5cbf(_0xc6f484,_0x4e29a2):_0xc6f484,_0xe60f55=_0x3162a3[_0x2adc12(0x1f0)]-0x1,_0x1ff226;_0xe60f55>=0x0;_0xe60f55--)(_0x1ff226=_0x3162a3[_0xe60f55])&&(_0x219ed=_0x1ff226(_0x219ed)||_0x219ed);return _0x219ed;},_0x5e7949=(_0x4d071f,_0x6a4845)=>(_0x279ccd,_0x5ea690)=>_0x6a4845(_0x279ccd,_0x5ea690,_0x4d071f);const _0x17746e=0x1389;let _0x53ff49=class extends _0x453419[_0x1c5799(0x23f)]{constructor(_0x3f6b7f,_0x36d2f1,_0x18ec59,_0x1b8fc1){const _0x20cdf2=_0x1c5799;super(),_0x1be09e(this,_0x20cdf2(0x2ec),new Set()),_0x1be09e(this,_0x20cdf2(0x3c6),null),(this['_context']=_0x3f6b7f,this[_0x20cdf2(0x348)]=_0x36d2f1,this[_0x20cdf2(0x1f7)]=_0x18ec59,this[_0x20cdf2(0x320)]=_0x1b8fc1,this[_0x20cdf2(0x1fc)]());}['_init'](){const _0x6fe85e=_0x1c5799;this[_0x6fe85e(0x348)][_0x6fe85e(0x2be)][_0x6fe85e(0x14d)](_0x358e23['takeUntil'](this['dispose$']),_0x358e23[_0x6fe85e(0x15b)](_0x3b43a3=>{const _0x3ff9cd=_0x6fe85e;if(_0x3b43a3){const _0x454946=_0x3b43a3[_0x3ff9cd(0x240)];return _0xa78be3[_0x3ff9cd(0x2b4)](this['_collabCursorController'][_0x3ff9cd(0x248)](this[_0x3ff9cd(0x242)][_0x3ff9cd(0x2e7)]),this[_0x3ff9cd(0x320)][_0x3ff9cd(0x3ca)])['pipe'](_0x358e23['map'](([_0x2f6bbe,_0x5eba7c])=>{const _0x169669=_0x3ff9cd,_0x3dfb84=new Map();return _0x2f6bbe[_0x169669(0x177)]((_0x4c6713,_0x2258ac)=>{const _0x2cfb8b=_0x169669;if(_0x4c6713['sheetID']===_0x454946){const _0x29ae0e={..._0x4c6713};_0x29ae0e['color']=_0x5eba7c[_0x4c6713[_0x2cfb8b(0x277)]],_0x3dfb84[_0x2cfb8b(0x19a)](_0x2258ac,_0x29ae0e);}}),{'skeleton':_0x3b43a3,'cursors':_0x3dfb84};}));}return _0xa78be3['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x3829a0,cursors:_0x3be2f5})=>{const _0x48c2bd=_0x6fe85e;this['_removeCollabCursors'](),_0x3829a0&&this[_0x48c2bd(0x21c)](_0x3829a0,_0x3be2f5);}),this['_sheetSkeletonManagerService'][_0x6fe85e(0x2be)][_0x6fe85e(0x159)](_0x340226=>{const _0x9c9744=_0x6fe85e;if(_0x340226==null)return;const {skeleton:_0x3dbfd4}=_0x340226,{scene:_0x221eef}=this[_0x9c9744(0x242)];_0x221eef[_0x9c9744(0x37a)][_0x9c9744(0x1e6)](_0x453419[_0x9c9744(0x22c)](_0x42e119=>{const _0x5e80dd=_0x9c9744;var _0x5cb892,_0x20c045;const {offsetX:_0x398e61,offsetY:_0x22752e}=_0x42e119,{x:_0x159e3e,y:_0x4eeece}=_0x221eef[_0x5e80dd(0x268)](_0x32283b['Vector2'][_0x5e80dd(0x20c)]([_0x398e61,_0x22752e])),{scaleX:_0x5c0178,scaleY:_0x16cf01}=_0x221eef['getAncestorScale'](),_0x128036=_0x221eef[_0x5e80dd(0x325)](_0x32283b[_0x5e80dd(0x163)][_0x5e80dd(0x3a3)]),_0xbe2c64=_0x221eef[_0x5e80dd(0x28c)](_0x32283b[_0x5e80dd(0x387)][_0x5e80dd(0x20c)]([_0x159e3e,_0x4eeece]),_0x128036),_0x55903a=_0x3dbfd4['getCellPositionByOffset'](_0x398e61,_0x22752e,_0x5c0178,_0x16cf01,_0xbe2c64);((_0x5cb892=this[_0x5e80dd(0x3c6)])==null?void 0x0:_0x5cb892[_0x5e80dd(0x1e4)])===_0x55903a['column']&&((_0x20c045=this[_0x5e80dd(0x3c6)])==null?void 0x0:_0x20c045[_0x5e80dd(0x37e)])===_0x55903a['row']||this[_0x5e80dd(0x2ec)][_0x5e80dd(0x177)](_0xc271dd=>{const _0x32b3b1=_0x5e80dd;_0xc271dd[_0x32b3b1(0x33e)](_0x55903a);});},0x64));});}[_0x1c5799(0x21c)](_0x7a8055,_0x284c59){const _0x257bc3=_0x1c5799;var _0x7482c2;const _0x2f66bc=(_0x7482c2=this['_sheetSkeletonManagerService'][_0x257bc3(0x2c8)]())==null?void 0x0:_0x7482c2[_0x257bc3(0x2f2)];if(!_0x2f66bc)return;const _0x12d8cc=this[_0x257bc3(0x2a5)]();if(!_0x12d8cc)return;this[_0x257bc3(0x2ec)][_0x257bc3(0x177)](_0x4457cb=>{const _0x23b553=_0x257bc3;_0x4457cb[_0x23b553(0x185)]();});const {scene:_0x44fc44}=_0x12d8cc,_0x56f6fa=_0x5d8602(Array[_0x257bc3(0x172)](_0x284c59[_0x257bc3(0x322)]()))['map'](_0x3ff0e=>{const _0x3c3dd4=_0x257bc3,{color:_0x4e3534,range:_0x3b9171,name:_0x72fb71,selection:_0x53ca01,sheetID:_0x3471ab}=_0x3ff0e,{startColumn:_0x2c136b,startRow:_0x470bf5,endColumn:_0xf502ea,endRow:_0x40de81}=_0x3b9171,_0x316330=_0x4e23ac[_0x3c3dd4(0x23d)](_0x470bf5,_0x2c136b,_0x44fc44,_0x2f66bc),_0x99c46=_0x4e23ac[_0x3c3dd4(0x23d)](_0x40de81,_0xf502ea,_0x44fc44,_0x2f66bc),{columnHeaderHeightAndMarginTop:_0x32ee4d}=_0x2f66bc,{startX:_0x2f4f0c,startY:_0x57eb36}=_0x316330,{endX:_0x644ec6,endY:_0xb63340}=_0x99c46,_0x1c2f3e=_0x644ec6-_0x2f4f0c,_0x2f27d5=_0xb63340-_0x57eb36,_0x2bc8b4={'labelPosition':_0x57eb36-_0x32ee4d>=_0x32cd44?_0x3c3dd4(0x222):'bottom','sheetID':_0x3471ab,'range':_0x3b9171,'color':_0x4e3534,'name':_0x72fb71,'selection':_0x53ca01,'left':_0x2f4f0c,'top':_0x57eb36,'width':_0x1c2f3e,'height':_0x2f27d5,'evented':!0x1,'zIndex':_0x17746e};return new _0x2a871a(_0x72fb71,_0x2bc8b4);});_0x44fc44[_0x257bc3(0x35d)](_0x56f6fa,_0x2a8249),this[_0x257bc3(0x2ec)]=new Set(_0x56f6fa);}[_0x1c5799(0x3b6)](){const _0x2fdc7e=_0x1c5799;var _0x1e4d0d;(_0x1e4d0d=this[_0x2fdc7e(0x2ec)])==null||_0x1e4d0d['forEach'](_0x29a5bd=>_0x29a5bd['dispose']());}[_0x1c5799(0x2a5)](){const _0x42d637=_0x1c5799;return _0x4e23ac[_0x42d637(0x3d1)](this[_0x42d637(0x242)]['unit'],this[_0x42d637(0x242)]);}};_0x53ff49=_0x5eff5d([_0x5e7949(0x1,_0x453419[_0x1c5799(0x229)](_0x4e23ac[_0x1c5799(0x224)])),_0x5e7949(0x2,_0x453419[_0x1c5799(0x229)](_0x23e436)),_0x5e7949(0x3,_0x453419[_0x1c5799(0x229)](_0x453419['ThemeService']))],_0x53ff49);function _0x5d8602(_0x4c71d4){const _0x427e50=_0x1c5799,_0x2977f8=new Map();return _0x4c71d4[_0x427e50(0x177)](_0x3ba090=>{const _0x453ab6=_0x427e50;if(_0x2977f8[_0x453ab6(0x212)](_0x3ba090[_0x453ab6(0x3dc)])){const _0x1d2d40=_0x2977f8[_0x453ab6(0x3a2)](_0x3ba090[_0x453ab6(0x3dc)]);_0x1d2d40['name']+=',\x20'+_0x3ba090[_0x453ab6(0x299)];}else _0x2977f8[_0x453ab6(0x19a)](_0x3ba090[_0x453ab6(0x3dc)],_0x3ba090);}),Array[_0x427e50(0x172)](_0x2977f8[_0x427e50(0x322)]());}var _0x28a9cd=function(){const _0x1290b7=_0x1c5799;return _0x28a9cd=Object[_0x1290b7(0x1a5)]||function(_0x478f0e){const _0x172f3f=_0x1290b7;for(var _0x7772b1,_0xd2d0c9=0x1,_0x14ac84=arguments['length'];_0xd2d0c9<_0x14ac84;_0xd2d0c9++){_0x7772b1=arguments[_0xd2d0c9];for(var _0xd2342 in _0x7772b1)Object[_0x172f3f(0x239)][_0x172f3f(0x2f0)]['call'](_0x7772b1,_0xd2342)&&(_0x478f0e[_0xd2342]=_0x7772b1[_0xd2342]);}return _0x478f0e;},_0x28a9cd[_0x1290b7(0x182)](this,arguments);},_0x5496f3=function(_0x3e5f80,_0x54f189){const _0x3619d0=_0x1c5799;var _0x3923d6={};for(var _0x5a2b34 in _0x3e5f80)Object[_0x3619d0(0x239)][_0x3619d0(0x2f0)][_0x3619d0(0x31f)](_0x3e5f80,_0x5a2b34)&&_0x54f189[_0x3619d0(0x266)](_0x5a2b34)<0x0&&(_0x3923d6[_0x5a2b34]=_0x3e5f80[_0x5a2b34]);if(_0x3e5f80!=null&&typeof Object[_0x3619d0(0x2a3)]=='function'){for(var _0x279334=0x0,_0x5a2b34=Object['getOwnPropertySymbols'](_0x3e5f80);_0x279334<_0x5a2b34[_0x3619d0(0x1f0)];_0x279334++)_0x54f189[_0x3619d0(0x266)](_0x5a2b34[_0x279334])<0x0&&Object[_0x3619d0(0x239)]['propertyIsEnumerable'][_0x3619d0(0x31f)](_0x3e5f80,_0x5a2b34[_0x279334])&&(_0x3923d6[_0x5a2b34[_0x279334]]=_0x3e5f80[_0x5a2b34[_0x279334]]);}return _0x3923d6;},_0x496112=_0x1ee08f[_0x1c5799(0x17d)](function(_0x508025,_0x5d0d56){const _0x599cc2=_0x1c5799;var _0x1ad3e0=_0x508025[_0x599cc2(0x3bf)],_0x1ce7cb=_0x508025['id'],_0x3729d0=_0x508025[_0x599cc2(0x270)],_0x5cd62c=_0x508025[_0x599cc2(0x34f)],_0xf12159=_0x5496f3(_0x508025,[_0x599cc2(0x3bf),'id','className','extend']),_0x4e211f='univerjs-icon\x20univerjs-icon-'[_0x599cc2(0x2cf)](_0x1ce7cb,'\x20')[_0x599cc2(0x2cf)](_0x3729d0||'')[_0x599cc2(0x34a)](),_0x1e99f3=_0x1ee08f[_0x599cc2(0x1ea)]('_'[_0x599cc2(0x2cf)](_0x508077()));return _0x207727(_0x1ad3e0,''['concat'](_0x1ce7cb),{'defIds':_0x1ad3e0[_0x599cc2(0x157)],'idSuffix':_0x1e99f3[_0x599cc2(0x209)]},_0x28a9cd({'ref':_0x5d0d56,'className':_0x4e211f},_0xf12159),_0x5cd62c);});function _0x207727(_0x15748f,_0x4baeae,_0x532f7d,_0x3ebb35,_0x151fab){const _0x165f11=_0x1c5799;return _0x1ee08f['createElement'](_0x15748f[_0x165f11(0x230)],_0x28a9cd(_0x28a9cd({'key':_0x4baeae},_0x38d45c(_0x15748f,_0x532f7d,_0x151fab)),_0x3ebb35),(_0x4c1a38(_0x15748f,_0x532f7d)[_0x165f11(0x1f9)]||[])[_0x165f11(0x37c)](function(_0x1e6b04,_0x3cb8de){const _0x7a34c=_0x165f11;return _0x207727(_0x1e6b04,''[_0x7a34c(0x2cf)](_0x4baeae,'-')[_0x7a34c(0x2cf)](_0x15748f[_0x7a34c(0x230)],'-')[_0x7a34c(0x2cf)](_0x3cb8de),_0x532f7d,void 0x0,_0x151fab);}));}function _0x38d45c(_0x58587f,_0x3b9f4f,_0x42fcd3){const _0x434b3d=_0x1c5799;var _0x43b6b6=_0x28a9cd({},_0x58587f['attrs']);_0x42fcd3!=null&&_0x42fcd3[_0x434b3d(0x15f)]&&_0x43b6b6[_0x434b3d(0x304)]==='colorChannel1'&&(_0x43b6b6['fill']=_0x42fcd3[_0x434b3d(0x15f)]),_0x58587f[_0x434b3d(0x230)]==='mask'&&_0x43b6b6['id']&&(_0x43b6b6['id']=_0x43b6b6['id']+_0x3b9f4f[_0x434b3d(0x357)]),Object[_0x434b3d(0x3b0)](_0x43b6b6)[_0x434b3d(0x177)](function(_0x5ab38f){const _0x50bb04=_0x434b3d;var _0x4708a5=_0x5ab38f[0x0],_0x2e0f8c=_0x5ab38f[0x1];_0x4708a5===_0x50bb04(0x22a)&&typeof _0x2e0f8c==_0x50bb04(0x1cf)&&(_0x43b6b6[_0x4708a5]=_0x2e0f8c[_0x50bb04(0x1d1)](/url\(#(.*)\)/,_0x50bb04(0x380)['concat'](_0x3b9f4f['idSuffix'],')')));});var _0x1f26f3=_0x3b9f4f[_0x434b3d(0x157)];return!_0x1f26f3||_0x1f26f3[_0x434b3d(0x1f0)]===0x0||(_0x58587f[_0x434b3d(0x230)]===_0x434b3d(0x167)&&_0x43b6b6['xlink:href']&&(_0x43b6b6[_0x434b3d(0x226)]=_0x43b6b6[_0x434b3d(0x226)]+_0x3b9f4f['idSuffix']),Object[_0x434b3d(0x3b0)](_0x43b6b6)['forEach'](function(_0x1f7f38){const _0x37268c=_0x434b3d;var _0x16a2e9=_0x1f7f38[0x0],_0x2efcc8=_0x1f7f38[0x1];typeof _0x2efcc8==_0x37268c(0x1cf)&&(_0x43b6b6[_0x16a2e9]=_0x2efcc8[_0x37268c(0x1d1)](/url\(#(.*)\)/,_0x37268c(0x380)[_0x37268c(0x2cf)](_0x3b9f4f['idSuffix'],')')));})),_0x43b6b6;}function _0x4c1a38(_0x79ce8d,_0x5607d9){const _0x33b683=_0x1c5799;var _0x204486,_0x4d4881=_0x5607d9['defIds'];return!_0x4d4881||_0x4d4881['length']===0x0?_0x79ce8d:_0x79ce8d[_0x33b683(0x230)]==='defs'&&(!((_0x204486=_0x79ce8d[_0x33b683(0x1f9)])===null||_0x204486===void 0x0)&&_0x204486[_0x33b683(0x1f0)])?_0x28a9cd(_0x28a9cd({},_0x79ce8d),{'children':_0x79ce8d['children'][_0x33b683(0x37c)](function(_0x4a64cf){const _0x18b8c3=_0x33b683;return typeof _0x4a64cf['attrs']['id']=='string'&&_0x4d4881&&_0x4d4881[_0x18b8c3(0x266)](_0x4a64cf[_0x18b8c3(0x2d4)]['id'])>-0x1?_0x28a9cd(_0x28a9cd({},_0x4a64cf),{'attrs':_0x28a9cd(_0x28a9cd({},_0x4a64cf[_0x18b8c3(0x2d4)]),{'id':_0x4a64cf[_0x18b8c3(0x2d4)]['id']+_0x5607d9['idSuffix']})}):_0x4a64cf;})}):_0x79ce8d;}function _0x508077(){const _0x1790d0=_0x1c5799;return Math[_0x1790d0(0x2f7)]()[_0x1790d0(0x3aa)](0x24)[_0x1790d0(0x3a9)](0x2,0x8);}_0x496112['displayName']=_0x1c5799(0x2fa);var _0x12345b={'tag':'svg','attrs':{'fill':_0x1c5799(0x273),'viewBox':'0\x200\x2016\x2016','width':_0x1c5799(0x318),'height':_0x1c5799(0x318)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x1c5799(0x381),'d':_0x1c5799(0x3b5),'strokeLinecap':_0x1c5799(0x356),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1c5799(0x2a1),'attrs':{'id':_0x1c5799(0x184)},'children':[{'tag':_0x1c5799(0x366),'attrs':{'fill':_0x1c5799(0x32a),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x1c5799(0x184)]},_0x172dec=_0x1ee08f[_0x1c5799(0x17d)](function(_0x318373,_0x23743c){const _0x103abc=_0x1c5799;return _0x1ee08f[_0x103abc(0x2b3)](_0x496112,Object['assign']({},_0x318373,{'id':_0x103abc(0x17c),'ref':_0x23743c,'icon':_0x12345b}));});_0x172dec[_0x1c5799(0x195)]=_0x1c5799(0x178);var _0x21788a={'tag':_0x1c5799(0x227),'attrs':{'fill':_0x1c5799(0x273),'viewBox':'0\x200\x2017\x2016','width':_0x1c5799(0x318),'height':_0x1c5799(0x318)},'children':[{'tag':'g','attrs':{'clipPath':_0x1c5799(0x200)},'children':[{'tag':'path','attrs':{'stroke':_0x1c5799(0x381),'d':_0x1c5799(0x350),'strokeLinecap':_0x1c5799(0x356),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1c5799(0x3b2),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x1c5799(0x366),'attrs':{'fill':_0x1c5799(0x32a),'d':_0x1c5799(0x215),'transform':_0x1c5799(0x220)}}]}]}],'defIds':[_0x1c5799(0x379)]},_0x413315=_0x1ee08f[_0x1c5799(0x17d)](function(_0x5efb88,_0x28b5cc){const _0x3bb5d6=_0x1c5799;return _0x1ee08f[_0x3bb5d6(0x2b3)](_0x496112,Object[_0x3bb5d6(0x1a5)]({},_0x5efb88,{'id':_0x3bb5d6(0x171),'ref':_0x28b5cc,'icon':_0x21788a}));});_0x413315[_0x1c5799(0x195)]=_0x1c5799(0x147);const _0x1d1798={'onlineStatusIcon':_0x1c5799(0x2d5),'onlineStatusTitle':_0x1c5799(0x1b6),'onlineStatus':'univer-online-status','online':_0x1c5799(0x2df),'offline':_0x1c5799(0x313)};function _0x1ed3b7(_0x432fe3){const _0x446517=_0x1c5799;switch(_0x432fe3){case _0x126ab5[_0x446517(0x1d0)][_0x446517(0x15a)]:return _0x446517(0x188);case _0x126ab5[_0x446517(0x1d0)][_0x446517(0x2ba)]:return _0x446517(0x3cf);case _0x126ab5[_0x446517(0x1d0)][_0x446517(0x24b)]:return _0x446517(0x3d6);case _0x126ab5[_0x446517(0x1d0)][_0x446517(0x338)]:return _0x446517(0x179);case _0x126ab5[_0x446517(0x1d0)][_0x446517(0x259)]:case _0x126ab5[_0x446517(0x1d0)]['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x126ab5[_0x446517(0x1d0)]['SYNCED']:case _0x126ab5[_0x446517(0x1d0)][_0x446517(0x1b8)]:return _0x446517(0x29d);}}function _0x186b3c(_0x131784){const _0x5e3353=_0x1c5799,{status$:_0x9856da}=_0x131784,_0x1cbccf=_0x2d6b6f[_0x5e3353(0x1be)](_0x9856da,_0x126ab5[_0x5e3353(0x1d0)]['NOT_COLLAB']),_0x4dbd44=_0x2d6b6f['useDependency'](_0x453419[_0x5e3353(0x3a4)]),_0x82c5a4=_0x2d6b6f[_0x5e3353(0x25a)](_0x126ab5['CollaborationSessionService']),_0x51f5a0=_0x1cbccf!==_0x126ab5[_0x5e3353(0x1d0)][_0x5e3353(0x15a)],_0x2e871d=_0x4dbd44['t'](_0x1ed3b7(_0x1cbccf)),_0x11d3d2=_0x38209c[_0x5e3353(0x214)](_0x1d1798[_0x5e3353(0x285)],{[_0x1d1798[_0x5e3353(0x3a0)]]:_0x51f5a0,[_0x1d1798[_0x5e3353(0x369)]]:!_0x51f5a0}),_0x28d1e1=_0x51f5a0?_0x20e4b4[_0x5e3353(0x3b1)](_0x413315,{}):_0x20e4b4['jsx'](_0x172dec,{}),_0x33d7d2=_0x1ee08f[_0x5e3353(0x238)](()=>{_0x51f5a0||_0x82c5a4['reconnect']();},[_0x51f5a0,_0x82c5a4]);function _0x575a3d(){const _0x25460d=_0x5e3353;return _0x20e4b4[_0x25460d(0x142)](_0x25460d(0x211),{'className':_0x38209c[_0x25460d(0x214)](_0x11d3d2,_0x25460d(0x2c1)),'onClick':_0x33d7d2,'children':[_0x20e4b4[_0x25460d(0x3b1)](_0x25460d(0x211),{'className':_0x1d1798[_0x25460d(0x289)],'children':_0x28d1e1}),_0x20e4b4[_0x25460d(0x3b1)]('div',{'className':_0x1d1798[_0x25460d(0x24a)],'children':_0x2e871d})]});}return _0x51f5a0?_0x575a3d():_0x20e4b4[_0x5e3353(0x3b1)](_0x38209c[_0x5e3353(0x23b)],{'title':_0x4dbd44['t'](_0x5e3353(0x365)),'children':_0x575a3d()});}var _0x496b55=Object[_0x1c5799(0x231)],_0x52fc47=(_0x23552a,_0x190b47,_0x5dfc02,_0x114d06)=>{const _0x3f6832=_0x1c5799;for(var _0x4a9707=_0x114d06>0x1?void 0x0:_0x114d06?_0x496b55(_0x190b47,_0x5dfc02):_0x190b47,_0x938ba2=_0x23552a[_0x3f6832(0x1f0)]-0x1,_0x7d5aa0;_0x938ba2>=0x0;_0x938ba2--)(_0x7d5aa0=_0x23552a[_0x938ba2])&&(_0x4a9707=_0x7d5aa0(_0x4a9707)||_0x4a9707);return _0x4a9707;},_0x1e6005=(_0x6b635b,_0x55abfe)=>(_0x57922a,_0x216016)=>_0x55abfe(_0x57922a,_0x216016,_0x6b635b);_0x7e2117[_0x1c5799(0x17e)]=class extends _0x453419['Disposable']{constructor(_0x31ce26,_0x350929,_0x20aa71,_0xb7e5d7){const _0x3b6bcd=_0x1c5799;super(),_0x1be09e(this,_0x3b6bcd(0x2f4),new _0xa78be3[(_0x3b6bcd(0x1a6))](_0x126ab5['CollaborationStatus'][_0x3b6bcd(0x338)])),(this[_0x3b6bcd(0x3cb)]=_0x31ce26,this[_0x3b6bcd(0x336)]=_0x350929,this['_collaborationController']=_0x20aa71,this[_0x3b6bcd(0x2ea)]=_0xb7e5d7,this[_0x3b6bcd(0x2f5)](),this[_0x3b6bcd(0x25d)]());}['_initStatusListener'](){const _0x5ded14=_0x1c5799;this[_0x5ded14(0x38e)](this[_0x5ded14(0x3cb)][_0x5ded14(0x2b5)]['pipe'](_0xa78be3[_0x5ded14(0x15b)](()=>{const _0x453d42=_0x5ded14,_0xba220b=this[_0x453d42(0x3cb)][_0x453d42(0x2fd)]();return _0xba220b?this[_0x453d42(0x150)][_0x453d42(0x1f3)](_0xba220b['getUnitId']()):_0xa78be3['of'](null);}),_0xa78be3[_0x5ded14(0x15b)](_0x1e2cf9=>_0x1e2cf9?_0x1e2cf9[_0x5ded14(0x28b)]:_0xa78be3['of'](_0x126ab5[_0x5ded14(0x1d0)][_0x5ded14(0x338)])))[_0x5ded14(0x159)](_0x382cc3=>{const _0x2edd9=_0x5ded14;this[_0x2edd9(0x2f4)][_0x2edd9(0x1fd)](_0x382cc3);}));}[_0x1c5799(0x2f5)](){const _0x287f68=_0x1c5799;this[_0x287f68(0x38e)](this[_0x287f68(0x2ea)][_0x287f68(0x36c)](_0x2d6b6f[_0x287f68(0x3a6)][_0x287f68(0x24f)],()=>_0x2d6b6f[_0x287f68(0x3a8)](_0x2caef7({'status$':this[_0x287f68(0x2f4)][_0x287f68(0x208)]()}),this['_injector'])));}},_0x7e2117[_0x1c5799(0x17e)]=_0x52fc47([_0x1e6005(0x0,_0x453419[_0x1c5799(0x1c8)]),_0x1e6005(0x1,_0x453419[_0x1c5799(0x229)](_0x453419[_0x1c5799(0x38d)])),_0x1e6005(0x2,_0x453419[_0x1c5799(0x229)](_0x126ab5[_0x1c5799(0x1a9)])),_0x1e6005(0x3,_0x2d6b6f[_0x1c5799(0x204)])],_0x7e2117['DesktopCollaborationStatusDisplayController']);function _0x2caef7(_0x551f42){const {status$:_0x460175}=_0x551f42;return function(){const _0x2f1ee9=_0x4a60;return _0x20e4b4[_0x2f1ee9(0x3b1)](_0x186b3c,{'status$':_0x460175});};}var _0x4b47f0=Object[_0x1c5799(0x231)],_0x1867c3=(_0x248c94,_0x434f80,_0x4e1246,_0x52d527)=>{const _0x10caee=_0x1c5799;for(var _0xb544d1=_0x52d527>0x1?void 0x0:_0x52d527?_0x4b47f0(_0x434f80,_0x4e1246):_0x434f80,_0x40fac4=_0x248c94[_0x10caee(0x1f0)]-0x1,_0x5b5aeb;_0x40fac4>=0x0;_0x40fac4--)(_0x5b5aeb=_0x248c94[_0x40fac4])&&(_0xb544d1=_0x5b5aeb(_0xb544d1)||_0xb544d1);return _0xb544d1;},_0xd4d207=(_0x138e1b,_0x577ba2)=>(_0x2176a3,_0x91076b)=>_0x577ba2(_0x2176a3,_0x91076b,_0x138e1b);let _0x3cc05a=class extends _0x453419[_0x1c5799(0x362)]{constructor(_0x176936,_0x5aab8b,_0x4ab757,_0x4e41a0,_0x3d0822,_0x2d43f0){const _0x46f3b9=_0x1c5799;super(),this[_0x46f3b9(0x3bb)]=_0x176936,this[_0x46f3b9(0x390)]=_0x5aab8b,this[_0x46f3b9(0x35c)]=_0x4ab757,this[_0x46f3b9(0x3b7)]=_0x4e41a0,this[_0x46f3b9(0x26b)]=_0x3d0822,this[_0x46f3b9(0x3a7)]=_0x2d43f0,this[_0x46f3b9(0x26e)](),this[_0x46f3b9(0x295)]();}[_0x1c5799(0x26e)](){const _0x39e96c=_0x1c5799;this[_0x39e96c(0x38e)](this['_beforeCloseService'][_0x39e96c(0x160)](()=>{const _0x122122=_0x39e96c;if(this[_0x122122(0x390)][_0x122122(0x391)][_0x122122(0x262)])return this[_0x122122(0x3a7)]['t'](_0x122122(0x1ef));}));}[_0x1c5799(0x295)](){const _0x8425c8=_0x1c5799;this['disposeWithMe'](this[_0x8425c8(0x35c)][_0x8425c8(0x2eb)][_0x8425c8(0x159)](_0x2b01c0=>{const _0x4fb238=_0x8425c8;_0x2b01c0['id']===_0x126ab5[_0x4fb238(0x143)]['OTHER_CLIENT_EDITING']&&this[_0x4fb238(0x3b7)][_0x4fb238(0x27c)]({'type':_0x38209c['MessageType'][_0x4fb238(0x1d7)],'content':this['_localeService']['t'](_0x4fb238(0x149))}),_0x2b01c0['id']===_0x126ab5[_0x4fb238(0x143)][_0x4fb238(0x302)]&&this[_0x4fb238(0x3b7)][_0x4fb238(0x27c)]({'type':_0x38209c['MessageType'][_0x4fb238(0x1d7)],'content':this['_localeService']['t'](_0x4fb238(0x321))}),_0x2b01c0['id']===_0x126ab5[_0x4fb238(0x143)][_0x4fb238(0x375)]&&this[_0x4fb238(0x26b)][_0x4fb238(0x27c)]({'title':this[_0x4fb238(0x3a7)]['t']('permission.title'),'content':this[_0x4fb238(0x3a7)]['t'](_0x4fb238(0x332)),'type':_0x4fb238(0x29e),'duration':0x0}),_0x2b01c0['id']===_0x126ab5[_0x4fb238(0x143)]['CONFLICT']&&this['_messageService'][_0x4fb238(0x27c)]({'type':_0x38209c[_0x4fb238(0x1c2)][_0x4fb238(0x1bd)],'content':this[_0x4fb238(0x3a7)]['t']('collaboration.closeRoom')+'('+_0x2b01c0[_0x4fb238(0x287)]+')'}),_0x2b01c0['id']===_0x126ab5[_0x4fb238(0x143)][_0x4fb238(0x3be)]&&this[_0x4fb238(0x3b7)][_0x4fb238(0x27c)]({'type':_0x38209c['MessageType'][_0x4fb238(0x1d7)],'content':this['_localeService']['t'](_0x2b01c0[_0x4fb238(0x287)]||'')}),_0x2b01c0['id']===_0x126ab5[_0x4fb238(0x143)]['SOCKET_FAILED_RETRY']&&this[_0x4fb238(0x3b7)][_0x4fb238(0x27c)]({'type':_0x38209c[_0x4fb238(0x1c2)]['Warning'],'content':this[_0x4fb238(0x3a7)]['t'](_0x4fb238(0x3d2))}),_0x2b01c0['id']===_0x126ab5[_0x4fb238(0x143)]['SOCKET_FAILED']&&this[_0x4fb238(0x3b7)]['show']({'type':_0x38209c[_0x4fb238(0x1c2)][_0x4fb238(0x1bd)],'content':this[_0x4fb238(0x3a7)]['t'](_0x4fb238(0x2d9))}),_0x2b01c0['id']===_0x126ab5[_0x4fb238(0x143)][_0x4fb238(0x1fb)]&&this[_0x4fb238(0x3b7)][_0x4fb238(0x27c)]({'type':_0x38209c['MessageType']['Error'],'content':this[_0x4fb238(0x3a7)]['t'](_0x4fb238(0x1b3))});}));}};_0x3cc05a=_0x1867c3([_0xd4d207(0x0,_0x2d6b6f[_0x1c5799(0x37d)]),_0xd4d207(0x1,_0x126ab5[_0x1c5799(0x352)]),_0xd4d207(0x2,_0x453419[_0x1c5799(0x229)](_0x126ab5[_0x1c5799(0x20b)])),_0xd4d207(0x3,_0x2d6b6f['IMessageService']),_0xd4d207(0x4,_0x2d6b6f[_0x1c5799(0x34c)]),_0xd4d207(0x5,_0x453419[_0x1c5799(0x229)](_0x453419['LocaleService']))],_0x3cc05a);const _0x54fac5=_0x1c5799(0x2db),_0x585330={},_0x2c04a8=_0x453419[_0x1c5799(0x161)](_0x1c5799(0x15e));var _0x1c76a2=Object[_0x1c5799(0x231)],_0x430341=(_0x4761b2,_0x27e1a,_0x5e9359,_0x2737e5)=>{const _0x5302e9=_0x1c5799;for(var _0x209acc=_0x2737e5>0x1?void 0x0:_0x2737e5?_0x1c76a2(_0x27e1a,_0x5e9359):_0x27e1a,_0x325888=_0x4761b2[_0x5302e9(0x1f0)]-0x1,_0x4a8eef;_0x325888>=0x0;_0x325888--)(_0x4a8eef=_0x4761b2[_0x325888])&&(_0x209acc=_0x4a8eef(_0x209acc)||_0x209acc);return _0x209acc;},_0x4b5f34=(_0x47fde9,_0x3b1287)=>(_0x16b39d,_0x137540)=>_0x3b1287(_0x16b39d,_0x137540,_0x47fde9);_0x7e2117['CollaborationDataLoaderController']=class extends _0x453419[_0x1c5799(0x23f)]{constructor(_0x3e261c,_0x4f5cee,_0x4abddd,_0x19a74a,_0x58580c){const _0x4e285a=_0x1c5799;super(),this['_urlService']=_0x3e261c,this[_0x4e285a(0x288)]=_0x4f5cee,this[_0x4e285a(0x170)]=_0x4abddd,this['_dataLoaderService']=_0x19a74a,_0x58580c?_0x58580c==null||_0x58580c[_0x4e285a(0x193)]()[_0x4e285a(0x364)](()=>this[_0x4e285a(0x1fc)]()):(this[_0x4e285a(0x288)][_0x4e285a(0x251)](_0x4e285a(0x3ce),_0x4e285a(0x3cd)),this[_0x4e285a(0x1fc)]());}async['_init'](){const _0x3c7c68=_0x1c5799,_0x3745ce=this[_0x3c7c68(0x25c)][_0x3c7c68(0x153)]('unit'),_0x2c2bcb=this[_0x3c7c68(0x25c)][_0x3c7c68(0x153)](_0x3c7c68(0x186)),_0xb5d9c1=this[_0x3c7c68(0x25c)]['getParam'](_0x3c7c68(0x279));if(!_0x3745ce||!_0x2c2bcb){this[_0x3c7c68(0x288)][_0x3c7c68(0x251)](_0x3c7c68(0x3ce),_0x3c7c68(0x234));return;}const _0x2a4227=await this[_0x3c7c68(0x199)]['loadUnit'](_0x3745ce,Number(_0x2c2bcb),_0xb5d9c1);_0x2a4227&&_0x2a4227 instanceof _0x453419['Workbook']&&this['_setupSubUnitSync'](_0x2a4227);}async[_0x1c5799(0x246)](_0x1548ad){const _0x2ebff8=_0x1c5799;await this[_0x2ebff8(0x2c6)](_0x1548ad),_0x1548ad[_0x2ebff8(0x1c6)][_0x2ebff8(0x14d)](_0xa78be3[_0x2ebff8(0x1e1)](this[_0x2ebff8(0x155)]))[_0x2ebff8(0x159)](_0x164f8e=>{_0x164f8e&&this['_updateURLWithCurrentState'](_0x164f8e);}),this['_urlService'][_0x2ebff8(0x1a1)]['pipe'](_0xa78be3[_0x2ebff8(0x1e1)](this[_0x2ebff8(0x155)]))[_0x2ebff8(0x159)](()=>this[_0x2ebff8(0x2c6)](_0x1548ad));}[_0x1c5799(0x1a4)](_0x203c91,_0x583efa=!0x1){const _0x49d36b=_0x1c5799,_0x106f13=this[_0x49d36b(0x25c)]['getParam'](_0x49d36b(0x279));_0x203c91[_0x49d36b(0x210)]()!==_0x106f13&&this[_0x49d36b(0x25c)][_0x49d36b(0x3cc)](_0x49d36b(0x279),_0x203c91['getSheetId'](),_0x583efa);}async[_0x1c5799(0x2c6)](_0x2a78a1){const _0x57ebc9=_0x1c5799;var _0x1e413b;const _0x3ecb2b=this[_0x57ebc9(0x25c)][_0x57ebc9(0x153)]('subunit');if(!_0x3ecb2b||!_0x2a78a1[_0x57ebc9(0x3db)](_0x3ecb2b)){const _0x34bb04=_0x2a78a1['getUnhiddenWorksheets']()[0x0],_0x2df2aa=_0x2a78a1[_0x57ebc9(0x3db)](_0x34bb04);if(!_0x2df2aa)return;this[_0x57ebc9(0x1a4)](_0x2df2aa,!0x0),await this[_0x57ebc9(0x170)][_0x57ebc9(0x315)](_0x395bb3[_0x57ebc9(0x18f)]['id'],{'unitId':_0x2a78a1['getUnitId'](),'subUnitId':_0x34bb04});return;}((_0x1e413b=_0x2a78a1['getActiveSheet']())==null?void 0x0:_0x1e413b[_0x57ebc9(0x210)]())!==_0x3ecb2b&&await this['_commandService'][_0x57ebc9(0x315)](_0x395bb3[_0x57ebc9(0x18f)]['id'],{'unitId':_0x2a78a1[_0x57ebc9(0x2e8)](),'subUnitId':_0x3ecb2b});}},_0x7e2117[_0x1c5799(0x297)]=_0x430341([_0x4b5f34(0x0,_0x2c04a8),_0x4b5f34(0x1,_0x453419[_0x1c5799(0x2e5)]),_0x4b5f34(0x2,_0x453419[_0x1c5799(0x2a6)]),_0x4b5f34(0x3,_0x453419[_0x1c5799(0x229)](_0x126ab5['DataLoaderService'])),_0x4b5f34(0x4,_0x453419[_0x1c5799(0x191)](_0xd2a7de[_0x1c5799(0x2c3)]))],_0x7e2117[_0x1c5799(0x297)]);var _0x36e90f=Object[_0x1c5799(0x231)],_0x10c98e=(_0x4ae8b7,_0x112192,_0x113db5,_0xc5dcfa)=>{const _0x448cd0=_0x1c5799;for(var _0x2e7661=_0xc5dcfa>0x1?void 0x0:_0xc5dcfa?_0x36e90f(_0x112192,_0x113db5):_0x112192,_0x13c4f6=_0x4ae8b7[_0x448cd0(0x1f0)]-0x1,_0x1273a2;_0x13c4f6>=0x0;_0x13c4f6--)(_0x1273a2=_0x4ae8b7[_0x13c4f6])&&(_0x2e7661=_0x1273a2(_0x2e7661)||_0x2e7661);return _0x2e7661;},_0x547831=(_0x1d891c,_0x4a59ac)=>(_0x412a2c,_0xb432f1)=>_0x4a59ac(_0x412a2c,_0xb432f1,_0x1d891c);let _0x506b0f=class{constructor(_0x375e13,_0x3cb100,_0x558e64){const _0x2daad3=_0x1c5799;this['_injector']=_0x375e13,this[_0x2daad3(0x24c)]=_0x3cb100,this[_0x2daad3(0x276)]=_0x558e64;}[_0x1c5799(0x2cb)](_0x139d04){const _0x3918bd=_0x1c5799;this[_0x3918bd(0x1df)](_0x139d04),this[_0x3918bd(0x223)](_0x139d04);}['transformRemoteChangeset'](_0x3b756d){const _0x44ca61=_0x1c5799,{unitID:_0x9d6cf2}=_0x3b756d,_0x186117=this['_renderManagerService'][_0x44ca61(0x162)](_0x9d6cf2)['with'](_0x57d79a[_0x44ca61(0x2d1)]),{redoCache:_0x351b17}=_0x186117['getUndoRedoMutationParamsCache']();if(_0x351b17[_0x44ca61(0x1f0)]===0x0)return _0x3b756d;let _0x2ed21b=_0x453419['Tools'][_0x44ca61(0x1ac)](_0x3b756d[_0x44ca61(0x305)][0x0]);for(let _0x24eb74=0x0;_0x24eb74<_0x351b17[_0x44ca61(0x1f0)];_0x24eb74++){const _0x579ab1={'id':_0x44ca61(0x1b5),'params':{..._0x351b17[_0x24eb74]}},_0x26cc98=this[_0x44ca61(0x24c)][_0x44ca61(0x3c9)](_0x2ed21b,_0x579ab1,!0x1);if(_0x567d4a[_0x44ca61(0x1e3)](_0x26cc98))throw _0x26cc98[_0x44ca61(0x29e)];_0x2ed21b=_0x26cc98['m1Prime'];}return{..._0x453419['Tools'][_0x44ca61(0x1ac)](_0x3b756d),'mutations':[_0x2ed21b]};}[_0x1c5799(0x1df)](_0x3b3b87){const _0x48d043=_0x1c5799,{unitID:_0xce0631}=_0x3b3b87,_0x2d923c=this[_0x48d043(0x276)][_0x48d043(0x162)](_0xce0631)[_0x48d043(0x2d0)](_0x57d79a[_0x48d043(0x2d1)]),{undoCache:_0x1a4f50,redoCache:_0x1c3fd7}=_0x2d923c[_0x48d043(0x1bb)]();if(_0x1a4f50[_0x48d043(0x1f0)]===0x0||_0x1c3fd7['length']===0x0)return;const _0x578776=[],_0x287967=[];let _0x438955=_0x453419[_0x48d043(0x20e)][_0x48d043(0x1ac)](_0x3b3b87['mutations'][0x0]),_0x155817=_0x453419[_0x48d043(0x20e)][_0x48d043(0x1ac)](_0x3b3b87['mutations'][0x0]);for(let _0x556526=_0x1a4f50['length']-0x1;_0x556526>=0x0;_0x556526--){const _0x15aecd={'id':_0x48d043(0x1b5),'params':{..._0x1a4f50[_0x556526]}},_0x4f1d9c={'id':_0x48d043(0x1b5),'params':{..._0x1c3fd7[_0x556526]}},_0x40352e=this[_0x48d043(0x24c)][_0x48d043(0x3c9)](_0x438955,_0x15aecd,!0x1),_0x19515e=this[_0x48d043(0x24c)]['transformMutation'](_0x155817,_0x4f1d9c,!0x1);if(_0x567d4a['isTransformMutationFailure'](_0x40352e))throw _0x40352e[_0x48d043(0x29e)];if(_0x567d4a[_0x48d043(0x1e3)](_0x19515e))throw _0x19515e[_0x48d043(0x29e)];_0x578776['unshift'](_0x40352e[_0x48d043(0x3bd)][_0x48d043(0x3ae)]),_0x287967[_0x48d043(0x26f)](_0x19515e['m2Prime'][_0x48d043(0x3ae)]),_0x438955=_0x40352e[_0x48d043(0x327)],_0x155817=_0x19515e[_0x48d043(0x327)];}_0x2d923c[_0x48d043(0x341)]({'undoCache':_0x578776,'redoCache':_0x287967});}[_0x1c5799(0x223)](_0x22a87a){const _0x24a2d0=_0x1c5799,{unitID:_0x3e7200}=_0x22a87a,_0x38860b=this[_0x24a2d0(0x276)]['getRenderById'](_0x3e7200)['with'](_0x57d79a[_0x24a2d0(0x2d1)]),_0x229664=_0x38860b['getActiveRange']();if(_0x229664==null)return;const _0x34e16d=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x22a87a[_0x24a2d0(0x257)],'actions':null,'textRanges':[_0x229664]}}],_0x1a58dd=this[_0x24a2d0(0x24c)][_0x24a2d0(0x2b8)](_0x22a87a,_0x34e16d);if(!_0x567d4a['isTransformMutationsWithChangesetSuccess'](_0x1a58dd))throw _0x1a58dd[_0x24a2d0(0x29e)];const _0x4c459e=_0x1a58dd['m2Prime'][0x0]['params']['textRanges'];Array[_0x24a2d0(0x29a)](_0x4c459e)&&_0x4c459e[_0x24a2d0(0x1f0)]&&_0x38860b[_0x24a2d0(0x27a)](_0x4c459e[0x0]);}};_0x506b0f=_0x10c98e([_0x547831(0x0,_0x453419['Inject'](_0x453419[_0x1c5799(0x38d)])),_0x547831(0x1,_0x567d4a['ITransformService']),_0x547831(0x2,_0x32283b['IRenderManagerService'])],_0x506b0f);var _0x1c43fb=Object['getOwnPropertyDescriptor'],_0x4100db=(_0x315370,_0x50de17,_0x38fc6b,_0xf3e8fa)=>{const _0xe53391=_0x1c5799;for(var _0x5d6ed7=_0xf3e8fa>0x1?void 0x0:_0xf3e8fa?_0x1c43fb(_0x50de17,_0x38fc6b):_0x50de17,_0x3b2239=_0x315370[_0xe53391(0x1f0)]-0x1,_0x3eb297;_0x3b2239>=0x0;_0x3b2239--)(_0x3eb297=_0x315370[_0x3b2239])&&(_0x5d6ed7=_0x3eb297(_0x5d6ed7)||_0x5d6ed7);return _0x5d6ed7;},_0x3f7fac=(_0x2ea491,_0x34ade9)=>(_0x141127,_0x1a7129)=>_0x34ade9(_0x141127,_0x1a7129,_0x2ea491);let _0x142a90=class{constructor(_0x4b4f43,_0x5a4b0e,_0x40fe4c){const _0x55693f=_0x1c5799;this['_injector']=_0x4b4f43,this['_transformService']=_0x5a4b0e,this[_0x55693f(0x344)]=_0x40fe4c;}['transformStateCache'](_0x2aef9a){const _0x2b3b10=_0x1c5799;this[_0x2b3b10(0x389)](_0x2aef9a);}[_0x1c5799(0x31c)](_0x5aab5b){const _0x3c4eec=_0x1c5799,{unitID:_0x517b18}=_0x5aab5b,{collaboration:_0x2bf303}=this[_0x3c4eec(0x344)][_0x3c4eec(0x2b0)](_0x517b18);if(_0x2bf303[_0x3c4eec(0x1f0)]===0x0)return _0x5aab5b;let _0x889b3f=_0x453419[_0x3c4eec(0x20e)][_0x3c4eec(0x1ac)](_0x5aab5b[_0x3c4eec(0x305)][0x0]);for(let _0x7b51db=0x0;_0x7b51db<_0x2bf303['length'];_0x7b51db++){const _0x39cc0d={'id':_0x3c4eec(0x1b5),'params':{'unitId':_0x2bf303[_0x7b51db][_0x3c4eec(0x2e7)],..._0x2bf303[_0x7b51db][_0x3c4eec(0x2a0)]}},_0x98b8c4=this['_transformService'][_0x3c4eec(0x3c9)](_0x889b3f,_0x39cc0d,!0x1);if(_0x567d4a['isTransformMutationFailure'](_0x98b8c4))throw _0x98b8c4[_0x3c4eec(0x29e)];_0x889b3f=_0x98b8c4[_0x3c4eec(0x327)];}return{..._0x453419[_0x3c4eec(0x20e)][_0x3c4eec(0x1ac)](_0x5aab5b),'mutations':[_0x889b3f]};}[_0x1c5799(0x389)](_0x3d1d5e){const _0x4e576a=_0x1c5799,{unitID:_0x5cb9d9}=_0x3d1d5e,{history:_0x4c128c,collaboration:_0x5c0a70}=this[_0x4e576a(0x344)][_0x4e576a(0x2b0)](_0x5cb9d9);if(_0x4c128c[_0x4e576a(0x1f0)]===0x0&&_0x5c0a70[_0x4e576a(0x1f0)]===0x0)return;const _0x38b90e=[],_0xa555f8=[];let _0x448e6f=_0x453419[_0x4e576a(0x20e)][_0x4e576a(0x1ac)](_0x3d1d5e[_0x4e576a(0x305)][0x0]),_0x245f1c=_0x453419[_0x4e576a(0x20e)][_0x4e576a(0x1ac)](_0x3d1d5e[_0x4e576a(0x305)][0x0]);for(let _0x5b7f60=_0x4c128c[_0x4e576a(0x1f0)]-0x1;_0x5b7f60>=0x0;_0x5b7f60--){const _0x683a6f={'id':_0x4e576a(0x1b5),'params':{'unitId':_0x4c128c[_0x5b7f60][_0x4e576a(0x2e7)],..._0x4c128c[_0x5b7f60]['undoState']}},_0x468aa9={'id':_0x4e576a(0x1b5),'params':{'unitId':_0x4c128c[_0x5b7f60]['unitId'],..._0x4c128c[_0x5b7f60][_0x4e576a(0x2a0)]}},_0x267fd4=this['_transformService'][_0x4e576a(0x3c9)](_0x448e6f,_0x683a6f,!0x1),_0x25c3f0=this[_0x4e576a(0x24c)][_0x4e576a(0x3c9)](_0x245f1c,_0x468aa9,!0x1);if(_0x567d4a[_0x4e576a(0x1e3)](_0x267fd4))throw _0x267fd4[_0x4e576a(0x29e)];if(_0x567d4a['isTransformMutationFailure'](_0x25c3f0))throw _0x25c3f0[_0x4e576a(0x29e)];_0x38b90e['unshift']({..._0x4c128c[_0x5b7f60],'undoState':_0x267fd4[_0x4e576a(0x3bd)][_0x4e576a(0x3ae)],'redoState':_0x25c3f0['m2Prime']['params']}),_0x448e6f=_0x267fd4[_0x4e576a(0x327)],_0x245f1c=_0x25c3f0['m1Prime'];}_0x448e6f=_0x453419[_0x4e576a(0x20e)][_0x4e576a(0x1ac)](_0x3d1d5e['mutations'][0x0]),_0x245f1c=_0x453419[_0x4e576a(0x20e)][_0x4e576a(0x1ac)](_0x3d1d5e[_0x4e576a(0x305)][0x0]);for(let _0xcf8735=_0x5c0a70[_0x4e576a(0x1f0)]-0x1;_0xcf8735>=0x0;_0xcf8735--){const _0x19d7b2={'id':_0x4e576a(0x1b5),'params':{'unitId':_0x5c0a70[_0xcf8735][_0x4e576a(0x2e7)],..._0x5c0a70[_0xcf8735][_0x4e576a(0x18d)]}},_0x6f71fe={'id':_0x4e576a(0x1b5),'params':{'unitId':_0x5c0a70[_0xcf8735][_0x4e576a(0x2e7)],..._0x5c0a70[_0xcf8735][_0x4e576a(0x2a0)]}},_0x330dcc=this[_0x4e576a(0x24c)][_0x4e576a(0x3c9)](_0x448e6f,_0x19d7b2,!0x1),_0x114650=this[_0x4e576a(0x24c)]['transformMutation'](_0x245f1c,_0x6f71fe,!0x1);if(_0x567d4a[_0x4e576a(0x1e3)](_0x330dcc))throw _0x330dcc[_0x4e576a(0x29e)];if(_0x567d4a[_0x4e576a(0x1e3)](_0x114650))throw _0x114650['error'];_0xa555f8[_0x4e576a(0x26f)]({..._0x5c0a70[_0xcf8735],'undoState':_0x330dcc[_0x4e576a(0x3bd)][_0x4e576a(0x3ae)],'redoState':_0x114650[_0x4e576a(0x3bd)][_0x4e576a(0x3ae)]}),_0x448e6f=_0x330dcc['m1Prime'],_0x245f1c=_0x114650[_0x4e576a(0x327)];}this[_0x4e576a(0x344)]['setStateCache'](_0x5cb9d9,{'history':_0x38b90e,'collaboration':_0xa555f8});}};_0x142a90=_0x4100db([_0x3f7fac(0x0,_0x453419[_0x1c5799(0x229)](_0x453419['Injector'])),_0x3f7fac(0x1,_0x567d4a['ITransformService']),_0x3f7fac(0x2,_0x453419[_0x1c5799(0x229)](_0x57d79a[_0x1c5799(0x32d)]))],_0x142a90);var _0x37b983=Object[_0x1c5799(0x231)],_0x1cbdcf=(_0x5ec886,_0x40564d,_0x2a7ebc,_0x497e4e)=>{const _0x336310=_0x1c5799;for(var _0x2f563b=_0x497e4e>0x1?void 0x0:_0x497e4e?_0x37b983(_0x40564d,_0x2a7ebc):_0x40564d,_0x5e1ddc=_0x5ec886[_0x336310(0x1f0)]-0x1,_0x38275b;_0x5e1ddc>=0x0;_0x5e1ddc--)(_0x38275b=_0x5ec886[_0x5e1ddc])&&(_0x2f563b=_0x38275b(_0x2f563b)||_0x2f563b);return _0x2f563b;},_0x349b2c=(_0x17dd32,_0x39433b)=>(_0x2040fe,_0x227518)=>_0x39433b(_0x2040fe,_0x227518,_0x17dd32);let _0x3c4732=class{constructor(_0x148879,_0x346ee0){const _0x15393d=_0x1c5799;this[_0x15393d(0x336)]=_0x148879,this[_0x15393d(0x24c)]=_0x346ee0;}[_0x1c5799(0x1b7)](_0x22640d){const _0x598ad0=_0x1c5799;var _0xb31f0;const _0x2cd7f3=this[_0x598ad0(0x336)][_0x598ad0(0x3a2)](_0x106a95['DocSelectionManagerService']),_0x295ab1=(_0xb31f0=_0x2cd7f3['getDocRanges']())!=null?_0xb31f0:[];if(_0x295ab1[_0x598ad0(0x1f0)]===0x0)return;const _0x20e8c0=_0x22640d[_0x598ad0(0x257)],_0x17b80f=[{'id':_0x598ad0(0x1b5),'params':{'unitId':_0x20e8c0,'actions':null,'textRanges':_0x295ab1}}],_0x286bb5=this[_0x598ad0(0x24c)][_0x598ad0(0x2b8)](_0x22640d,_0x17b80f);if(!_0x567d4a['isTransformMutationsWithChangesetSuccess'](_0x286bb5))throw _0x286bb5[_0x598ad0(0x29e)];const _0x4c835d=_0x286bb5['m2Prime'][0x0][_0x598ad0(0x3ae)]['textRanges'];Array[_0x598ad0(0x29a)](_0x4c835d)&&_0x4c835d[_0x598ad0(0x1f0)]&&_0x2cd7f3['replaceDocRanges'](_0x4c835d,{'unitId':_0x20e8c0,'subUnitId':_0x20e8c0},!0x1);}};_0x3c4732=_0x1cbdcf([_0x349b2c(0x0,_0x453419[_0x1c5799(0x229)](_0x453419['Injector'])),_0x349b2c(0x1,_0x567d4a[_0x1c5799(0x29f)])],_0x3c4732);var _0x5bf2a8=Object[_0x1c5799(0x231)],_0x159b0d=(_0x53eec4,_0x28e5c0,_0x2951f3,_0x20190)=>{const _0x2ad64d=_0x1c5799;for(var _0x56169a=_0x20190>0x1?void 0x0:_0x20190?_0x5bf2a8(_0x28e5c0,_0x2951f3):_0x28e5c0,_0x3c3235=_0x53eec4[_0x2ad64d(0x1f0)]-0x1,_0x101bba;_0x3c3235>=0x0;_0x3c3235--)(_0x101bba=_0x53eec4[_0x3c3235])&&(_0x56169a=_0x101bba(_0x56169a)||_0x56169a);return _0x56169a;},_0x7bd0d8=(_0x5f01c5,_0x3600ef)=>(_0xb90f4c,_0x331081)=>_0x3600ef(_0xb90f4c,_0x331081,_0x5f01c5);let _0x38b82a=class extends _0x453419[_0x1c5799(0x362)]{constructor(_0x4e91f3,_0x5ec6a6,_0x4c7ab8,_0x5cf42e,_0x3e005f,_0x2b7a7d,_0x23a708,_0x3b7851){const _0x252049=_0x1c5799;super(),_0x1be09e(this,_0x252049(0x2f4),new _0xa78be3[(_0x252049(0x1a6))](_0x126ab5[_0x252049(0x1d0)][_0x252049(0x338)])),(this[_0x252049(0x344)]=_0x4e91f3,this['_collaborationController']=_0x5ec6a6,this[_0x252049(0x13f)]=_0x4c7ab8,this['_docTransformStateCacheService']=_0x5cf42e,this[_0x252049(0x26a)]=_0x3e005f,this[_0x252049(0x2bf)]=_0x2b7a7d,this['_messageService']=_0x23a708,this[_0x252049(0x3a7)]=_0x3b7851,this[_0x252049(0x286)]());}[_0x1c5799(0x286)](){const _0x4d4c3b=_0x1c5799;this[_0x4d4c3b(0x38e)](this['_collaborationController'][_0x4d4c3b(0x169)][_0x4d4c3b(0x159)](_0x519f74=>{const _0x2d0a86=_0x4d4c3b,_0x5264e5=this[_0x2d0a86(0x344)][_0x2d0a86(0x2a9)]['subscribe'](_0x22a70b=>{const _0x5864bd=_0x2d0a86;if(_0x22a70b==null)return;const {unitId:_0x3e9c14,redoState:_0x499b76,commandId:_0x338ebc}=_0x22a70b;if(_0x3e9c14!==_0x519f74[_0x5864bd(0x257)])return;const _0x9fa653={'id':_0x338ebc,'type':_0x453419[_0x5864bd(0x201)][_0x5864bd(0x376)],'params':{'unitId':_0x3e9c14,'actions':_0x499b76[_0x5864bd(0x233)],'textRanges':null}};_0x519f74[_0x5864bd(0x272)](_0x9fa653);});if(_0x519f74[_0x2d0a86(0x38e)](_0x5264e5),_0x519f74 instanceof _0x126ab5[_0x2d0a86(0x326)]){const _0x20263d={'onTransformIME':_0x1bb5ab=>this[_0x2d0a86(0x13f)][_0x2d0a86(0x2cb)](_0x1bb5ab),'onTransformState':_0x51bab5=>this[_0x2d0a86(0x2d2)][_0x2d0a86(0x3a5)](_0x51bab5),'onTransformSelections':_0xcdeb3b=>this[_0x2d0a86(0x26a)][_0x2d0a86(0x1b7)](_0xcdeb3b),'onSyncEditingCollabCursor':_0x1146d9=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x1146d9),'onTransformRemoteChangesetByIMECache':_0x207831=>this[_0x2d0a86(0x13f)][_0x2d0a86(0x31c)](_0x207831),'onTransformRemoteChangesetByStateCache':_0x24d793=>this['_docTransformStateCacheService'][_0x2d0a86(0x31c)](_0x24d793)};_0x519f74['addHandlerCallback'](_0x20263d);}}));}};_0x38b82a=_0x159b0d([_0x7bd0d8(0x0,_0x453419[_0x1c5799(0x229)](_0x57d79a['DocStateChangeManagerService'])),_0x7bd0d8(0x1,_0x453419[_0x1c5799(0x229)](_0x126ab5[_0x1c5799(0x1a9)])),_0x7bd0d8(0x2,_0x453419['Inject'](_0x506b0f)),_0x7bd0d8(0x3,_0x453419[_0x1c5799(0x229)](_0x142a90)),_0x7bd0d8(0x4,_0x453419[_0x1c5799(0x229)](_0x3c4732)),_0x7bd0d8(0x5,_0x453419[_0x1c5799(0x229)](_0x13f674)),_0x7bd0d8(0x6,_0x2d6b6f[_0x1c5799(0x1ce)]),_0x7bd0d8(0x7,_0x453419['Inject'](_0x453419['LocaleService']))],_0x38b82a);var _0x23f2e0=Object[_0x1c5799(0x231)],_0x50a1d0=(_0x3069a4,_0x5741f0,_0x201a06,_0x2956a4)=>{for(var _0x2d95f6=_0x2956a4>0x1?void 0x0:_0x2956a4?_0x23f2e0(_0x5741f0,_0x201a06):_0x5741f0,_0x12c902=_0x3069a4['length']-0x1,_0x301bf8;_0x12c902>=0x0;_0x12c902--)(_0x301bf8=_0x3069a4[_0x12c902])&&(_0x2d95f6=_0x301bf8(_0x2d95f6)||_0x2d95f6);return _0x2d95f6;},_0x12f880=(_0x57ccd,_0x2e558b)=>(_0x3da0d9,_0x8c2b19)=>_0x2e558b(_0x3da0d9,_0x8c2b19,_0x57ccd);let _0x413026=class extends _0x453419['Disposable']{constructor(_0x1f73f4,_0x31baa9,_0x46ae91){const _0x594020=_0x1c5799;super(),_0x1be09e(this,'_cachedData',new Map()),_0x1be09e(this,_0x594020(0x323),new Map()),_0x1be09e(this,_0x594020(0x36a),!0x1),(this[_0x594020(0x17b)]=_0x1f73f4,this[_0x594020(0x1b4)]=_0x31baa9,this[_0x594020(0x265)]=_0x46ae91);}[_0x1c5799(0x337)](){const _0x48e40f=_0x1c5799;this[_0x48e40f(0x36a)]=!0x0;}[_0x1c5799(0x35b)](){const _0x488abe=_0x1c5799;this[_0x488abe(0x36a)]=!0x1;}get[_0x1c5799(0x391)](){const _0x402091=_0x1c5799;return this[_0x402091(0x323)];}[_0x1c5799(0x2f8)](){const _0x5281d4=_0x1c5799;this['exhaustSavingTask']()[_0x5281d4(0x364)](()=>super[_0x5281d4(0x2f8)]());}async[_0x1c5799(0x190)](_0x3723e9){const _0x1c5371=_0x1c5799;return this[_0x1c5371(0x36a)]?null:this[_0x1c5371(0x1b4)][_0x1c5371(0x19e)](_0x126ab5['getLocalCacheKey'](_0x3723e9));}async[_0x1c5799(0x2b2)](_0x1cf61b,_0x47e4c9){const _0x19a736=_0x1c5799;return!!this[_0x19a736(0x1b4)]['setItem'](_0x1cf61b,_0x47e4c9);}['updateOfflineData'](_0x540dce,_0x5da712,_0xc81f42,_0x2c7590){const _0x2057f0=_0x1c5799,_0x3e32d5=this[_0x2057f0(0x265)][_0x2057f0(0x218)](_0x540dce);this[_0x2057f0(0x16f)][_0x2057f0(0x19a)](_0x540dce,{'unitID':_0x540dce,'type':_0x5da712,'awaitingChangeset':_0xc81f42,'mutations':_0x2c7590,'rev':_0x3e32d5}),this[_0x2057f0(0x323)][_0x2057f0(0x212)](_0x540dce)||this['_scheduleSaving'](_0x540dce);}[_0x1c5799(0x1b2)](_0x40d25d){const _0x375932=_0x1c5799,_0x347e65=this[_0x375932(0x21b)]();_0x347e65===0x0?this[_0x375932(0x3b3)](_0x40d25d):this[_0x375932(0x323)][_0x375932(0x19a)](_0x40d25d,setTimeout(()=>this['_saveCache'](_0x40d25d),_0x347e65));}[_0x1c5799(0x21b)](){const _0x431769=_0x1c5799;var _0x1b0d0c;return(_0x1b0d0c=this[_0x431769(0x17b)]['getConfig'](_0x126ab5[_0x431769(0x312)]))!=null?_0x1b0d0c:_0x126ab5[_0x431769(0x398)];}[_0x1c5799(0x3b3)](_0x423ae7){const _0x2329e6=_0x1c5799,_0x3ff427=this[_0x2329e6(0x323)][_0x2329e6(0x3a2)](_0x423ae7);return _0x3ff427!==void 0x0&&window[_0x2329e6(0x1cc)](_0x3ff427),this[_0x2329e6(0x1b4)][_0x2329e6(0x296)](_0x126ab5['getLocalCacheKey'](_0x423ae7),this[_0x2329e6(0x16f)][_0x2329e6(0x3a2)](_0x423ae7))[_0x2329e6(0x364)](()=>this['_saveTaskMap'][_0x2329e6(0x1a0)](_0x423ae7));}async[_0x1c5799(0x16e)](){const _0x14995e=_0x1c5799,_0x26ef95=[];this[_0x14995e(0x323)][_0x14995e(0x177)]((_0x34a440,_0x25b71f)=>{const _0x4c849e=_0x14995e;window[_0x4c849e(0x1cc)](_0x34a440),_0x26ef95[_0x4c849e(0x1af)](this[_0x4c849e(0x3b3)](_0x25b71f)[_0x4c849e(0x364)](()=>{const _0xd2eaad=_0x4c849e;this[_0xd2eaad(0x323)][_0xd2eaad(0x1a0)](_0x25b71f);}));}),await Promise[_0x14995e(0x14a)](_0x26ef95);}};_0x413026=_0x50a1d0([_0x12f880(0x0,_0x453419[_0x1c5799(0x144)]),_0x12f880(0x1,_0x453419[_0x1c5799(0x1e0)]),_0x12f880(0x2,_0x453419[_0x1c5799(0x229)](_0x567d4a['RevisionService']))],_0x413026);class _0x1ef983 extends _0x453419[_0x1c5799(0x23f)]{constructor(){const _0x15602c=_0x1c5799;super(),_0x1be09e(this,'urlChange$'),this[_0x15602c(0x1a1)]=_0xa78be3[_0x15602c(0x3c3)](window,_0x15602c(0x3c4))['pipe'](_0xa78be3[_0x15602c(0x1e1)](this[_0x15602c(0x155)]),_0xa78be3[_0x15602c(0x2fe)](0x1),_0xa78be3[_0x15602c(0x27b)](void 0x0));}[_0x1c5799(0x3cc)](_0x30bd7e,_0x13b4c4,_0x43fe23=!0x1){const _0x3f2985=_0x1c5799,_0x34493e=new URL(window[_0x3f2985(0x1ca)][_0x3f2985(0x342)]);_0x34493e[_0x3f2985(0x196)][_0x3f2985(0x19a)](_0x30bd7e,_0x13b4c4),_0x43fe23?window[_0x3f2985(0x3c0)][_0x3f2985(0x25b)]('','',_0x34493e[_0x3f2985(0x3aa)]()):window[_0x3f2985(0x3c0)][_0x3f2985(0x330)]('','',_0x34493e['toString']());}[_0x1c5799(0x370)](_0x1a6e0e,_0x411e58=!0x1){const _0x1acb37=_0x1c5799,_0x3d2fe3=new URL(window['location']['href']);_0x3d2fe3[_0x1acb37(0x196)][_0x1acb37(0x1a0)](_0x1a6e0e),_0x411e58?window[_0x1acb37(0x3c0)]['replaceState']('','',_0x3d2fe3[_0x1acb37(0x3aa)]()):window[_0x1acb37(0x3c0)][_0x1acb37(0x330)]('','',_0x3d2fe3[_0x1acb37(0x3aa)]());}[_0x1c5799(0x153)](_0x47fb4f){const _0x9e9327=_0x1c5799;var _0xf0cdf;return(_0xf0cdf=new URL(window['location'][_0x9e9327(0x342)])['searchParams'][_0x9e9327(0x3a2)](_0x47fb4f))!=null?_0xf0cdf:void 0x0;}}var _0x466d46=Object[_0x1c5799(0x189)],_0x565f09=Object[_0x1c5799(0x231)],_0x2a1ca3=(_0x354c4a,_0x2d0436,_0x4a5dad)=>_0x2d0436 in _0x354c4a?_0x466d46(_0x354c4a,_0x2d0436,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a5dad}):_0x354c4a[_0x2d0436]=_0x4a5dad,_0xc8fed2=(_0x22b947,_0x52df73,_0x220fcb,_0x388989)=>{const _0x4077f6=_0x1c5799;for(var _0x59dca6=_0x388989>0x1?void 0x0:_0x388989?_0x565f09(_0x52df73,_0x220fcb):_0x52df73,_0x342c30=_0x22b947[_0x4077f6(0x1f0)]-0x1,_0x165d38;_0x342c30>=0x0;_0x342c30--)(_0x165d38=_0x22b947[_0x342c30])&&(_0x59dca6=_0x165d38(_0x59dca6)||_0x59dca6);return _0x59dca6;},_0x2036f5=(_0x257522,_0x16f0a9)=>(_0x944f0a,_0x111ae7)=>_0x16f0a9(_0x944f0a,_0x111ae7,_0x257522),_0x1b4341=(_0x40407e,_0x5e3484,_0x4aa143)=>_0x2a1ca3(_0x40407e,_0x5e3484+'',_0x4aa143);const _0x78d069=_0x1c5799(0x1b0);_0x7e2117[_0x1c5799(0x34e)]=class extends _0x453419[_0x1c5799(0x228)]{constructor(_0x374435=_0x585330,_0x1ec993,_0x3f498b,_0x4766b9){const _0x1b02b9=_0x1c5799;super(),this[_0x1b02b9(0x310)]=_0x374435,this[_0x1b02b9(0x276)]=_0x1ec993,this[_0x1b02b9(0x336)]=_0x3f498b,this[_0x1b02b9(0x17b)]=_0x4766b9;const {..._0x4a81e4}=_0x453419['merge']({},_0x585330,this[_0x1b02b9(0x310)]);this[_0x1b02b9(0x17b)][_0x1b02b9(0x374)](_0x54fac5,_0x4a81e4);}['onStarting'](){const _0x3abd3a=_0x1c5799;this[_0x3abd3a(0x386)](),this[_0x3abd3a(0x39d)]();}[_0x1c5799(0x2ae)](){const _0x72fbf6=_0x1c5799;this[_0x72fbf6(0x3c7)]();}[_0x1c5799(0x386)](){const _0x4cf30f=_0x1c5799;var _0x1d0b38;const _0x12c7df=[[_0xc8e7b],[_0x3c4732],[_0x506b0f],[_0x142a90],[_0x13f674],[_0x2c04a8,{'useClass':_0x1ef983}],[_0x54c300[_0x4cf30f(0x2d3)],{'useClass':_0x54c300[_0x4cf30f(0x165)]}],[_0x126ab5['ILocalCacheService'],{'useClass':_0x413026}],[_0x7e2117[_0x4cf30f(0x17e)]],[_0x38b82a],[_0x3cc05a],[_0x23e436],[_0x58ae56],[_0x7e2117[_0x4cf30f(0x297)]]];_0x453419['registerDependencies'](this['_injector'],_0x453419['mergeOverrideWithDependencies'](_0x12c7df,(_0x1d0b38=this['_config'])==null?void 0x0:_0x1d0b38[_0x4cf30f(0x28f)]));}[_0x1c5799(0x3c7)](){const _0x25541a=_0x1c5799;this[_0x25541a(0x38e)](this['_renderManagerService'][_0x25541a(0x22b)](_0x453419['UniverInstanceType'][_0x25541a(0x3ac)],[_0x177251])),this[_0x25541a(0x38e)](this['_renderManagerService'][_0x25541a(0x22b)](_0x453419[_0x25541a(0x247)][_0x25541a(0x2fc)],[_0x53ff49]));}[_0x1c5799(0x39d)](){const _0x8207bf=_0x1c5799;_0x453419['touchDependencies'](this['_injector'],[[_0x23e436],[_0x7e2117[_0x8207bf(0x17e)]],[_0x38b82a],[_0x3cc05a],[_0x7e2117['CollaborationDataLoaderController']]]);}},_0x1b4341(_0x7e2117[_0x1c5799(0x34e)],_0x1c5799(0x361),_0x78d069),_0x7e2117[_0x1c5799(0x34e)]=_0xc8fed2([_0x453419[_0x1c5799(0x383)](_0x126ab5[_0x1c5799(0x2d7)]),_0x2036f5(0x1,_0x32283b[_0x1c5799(0x255)]),_0x2036f5(0x2,_0x453419[_0x1c5799(0x229)](_0x453419[_0x1c5799(0x38d)])),_0x2036f5(0x3,_0x453419[_0x1c5799(0x144)])],_0x7e2117[_0x1c5799(0x34e)]);var _0x1a8190=Object[_0x1c5799(0x231)],_0x33acd5=(_0x21efa1,_0x5b4285,_0x2acedc,_0x3fa89b)=>{const _0x4b5499=_0x1c5799;for(var _0x396d60=_0x3fa89b>0x1?void 0x0:_0x3fa89b?_0x1a8190(_0x5b4285,_0x2acedc):_0x5b4285,_0x5a5410=_0x21efa1[_0x4b5499(0x1f0)]-0x1,_0xb3a7fc;_0x5a5410>=0x0;_0x5a5410--)(_0xb3a7fc=_0x21efa1[_0x5a5410])&&(_0x396d60=_0xb3a7fc(_0x396d60)||_0x396d60);return _0x396d60;},_0x2cf855=(_0x3115a0,_0x1a47a1)=>(_0x352f6f,_0xde84fe)=>_0x1a47a1(_0x352f6f,_0xde84fe,_0x3115a0);_0x7e2117[_0x1c5799(0x2c5)]=class extends _0x126ab5[_0x1c5799(0x14e)]{constructor(_0x3d797b,_0x3ecb2e,_0xbcbecd,_0x33024,_0x21fb15){super(_0x3d797b,_0x3ecb2e,_0xbcbecd,_0x33024,_0x21fb15);}async[_0x1c5799(0x290)](_0x20e357){const _0x313883=_0x1c5799,_0x107dfc=await this['_getSessionTicket'](),_0x5d2a94=this[_0x313883(0x219)](_0x20e357,_0x107dfc);return this[_0x313883(0x26d)](_0x5d2a94);}[_0x1c5799(0x219)](_0x5cc4fd,_0x434f2b){const _0x34b589=_0x1c5799,_0x5f09dc=typeof window>'u'?new URL(_0x5cc4fd):new URL(_0x5cc4fd,window['location'][_0x34b589(0x292)]);_0x5f09dc[_0x34b589(0x196)][_0x34b589(0x19a)](_0x34b589(0x2ca),_0x434f2b);const _0x2ca658=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x34b589(0x1ca)][_0x34b589(0x31a)]);return _0x2ca658[_0x34b589(0x3a2)](_0x34b589(0x175))&&_0x5f09dc[_0x34b589(0x196)][_0x34b589(0x19a)](_0x34b589(0x175),_0x2ca658[_0x34b589(0x3a2)]('runId')),_0x5f09dc[_0x34b589(0x3aa)]();}async[_0x1c5799(0x377)](){const _0x221bb2=_0x1c5799;var _0x488941,_0x308cdb,_0x451c20;const _0x28cba0=this[_0x221bb2(0x17b)][_0x221bb2(0x20a)](_0x126ab5['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x71d0e7=(_0x488941=_0x28cba0==null?void 0x0:_0x28cba0['wsSessionTicketUrl'])!=null?_0x488941:_0x126ab5[_0x221bb2(0x241)];return(_0x451c20=(_0x308cdb=(await this[_0x221bb2(0x145)][_0x221bb2(0x3a2)](_0x71d0e7,{'headers':{'Content-Type':_0x221bb2(0x18c)}}))[_0x221bb2(0x1e2)])==null?void 0x0:_0x308cdb[_0x221bb2(0x3d7)])!=null?_0x451c20:'';}},_0x7e2117['BrowserCollaborationSocketService']=_0x33acd5([_0x2cf855(0x0,_0x453419[_0x1c5799(0x229)](_0x453419[_0x1c5799(0x38d)])),_0x2cf855(0x1,_0x453419[_0x1c5799(0x229)](_0x54c300[_0x1c5799(0x38f)])),_0x2cf855(0x2,_0x453419['IConfigService']),_0x2cf855(0x3,_0x453419['ILogService']),_0x2cf855(0x4,_0x567d4a[_0x1c5799(0x3d9)])],_0x7e2117[_0x1c5799(0x2c5)]);const _0x24fb08=0x7530,_0x273ced='ACTIVE_UNIT_EVENT_CHANNEL';class _0x526cfd extends _0x453419['Disposable']{constructor(){const _0x30eb13=_0x1c5799;super(),_0x1be09e(this,'_id',_0x453419['generateRandomId']()),_0x1be09e(this,'_selfUnitIDs',new Set()),_0x1be09e(this,_0x30eb13(0x385),new Map()),_0x1be09e(this,_0x30eb13(0x16b),null),_0x1be09e(this,_0x30eb13(0x3d8),new Map()),_0x1be09e(this,'_unitStatus',new Map()),this['_init']();}[_0x1c5799(0x2f8)](){const _0x3909f1=_0x1c5799;super[_0x3909f1(0x2f8)](),this['_clearOtherTimers']['forEach']((_0x2a0db2,_0x2ed085)=>this[_0x3909f1(0x1f1)](_0x2ed085)),this[_0x3909f1(0x16b)]&&window[_0x3909f1(0x13e)](this['_heartbeatTimer']);}[_0x1c5799(0x275)](_0x11fc1e){const _0x581e22=_0x1c5799;return this[_0x581e22(0x316)](_0x11fc1e)[_0x581e22(0x14d)](_0xa78be3[_0x581e22(0x1f4)]());}[_0x1c5799(0x33a)](_0x381c65){const _0xbe4312=_0x1c5799;this[_0xbe4312(0x351)]['size']===0x0&&this[_0xbe4312(0x294)](),this[_0xbe4312(0x351)]['add'](_0x381c65),this[_0xbe4312(0x36d)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x381c65],'isForwarded':!0x1});}[_0x1c5799(0x1a8)](_0x24d810){const _0x5319e4=_0x1c5799;this[_0x5319e4(0x351)][_0x5319e4(0x1a0)](_0x24d810),this[_0x5319e4(0x351)]['size']===0x0&&this[_0x5319e4(0x16b)]&&window[_0x5319e4(0x13e)](this[_0x5319e4(0x16b)]);}[_0x1c5799(0x1fc)](){const _0xea2a32=_0x1c5799;this[_0xea2a32(0x38e)](_0x453419['toDisposable'](_0xa78be3[_0xea2a32(0x3c3)](window,_0xea2a32(0x15c))[_0xea2a32(0x159)](_0x5e717a=>{const _0x44f26d=_0xea2a32;if(_0x5e717a[_0x44f26d(0x397)]!==_0x273ced||!_0x5e717a[_0x44f26d(0x261)])return;const _0x35e1a5=JSON[_0x44f26d(0x34d)](_0x5e717a[_0x44f26d(0x261)]);this[_0x44f26d(0x18e)](_0x35e1a5);}))),window[_0xea2a32(0x1cb)](_0xea2a32(0x2c9),()=>this[_0xea2a32(0x36d)]({'type':0x1,'memberID':this[_0xea2a32(0x2c4)],'unitIDs':Array[_0xea2a32(0x172)](this[_0xea2a32(0x351)])}));}[_0x1c5799(0x18e)](_0x434e5d){const _0x1e7016=_0x1c5799;switch(_0x434e5d[_0x1e7016(0x186)]){case 0x0:this[_0x1e7016(0x1bf)](_0x434e5d);break;case 0x1:this[_0x1e7016(0x1d2)](_0x434e5d);break;case 0x2:this['_handleHeartbeatEvent'](_0x434e5d);break;}}[_0x1c5799(0x1bf)](_0x751951){const _0x4b3df0=_0x1c5799,{unitIDs:_0x404950,memberID:_0xb4f2a6,isForwarded:_0x2f132a}=_0x751951;_0x404950['forEach'](_0xf661fe=>{const _0x33ae8b=_0x4a60;if(!_0x2f132a&&this[_0x33ae8b(0x385)][_0x33ae8b(0x212)](_0xf661fe)&&this['_ensureSubject'](_0xf661fe)[_0x33ae8b(0x1fd)](_0x126ab5['UnitStatus']['OTHER_CLIENTS_EDITING']),!this[_0x33ae8b(0x385)]['has'](_0xf661fe)||!this[_0x33ae8b(0x385)][_0x33ae8b(0x3a2)](_0xf661fe)[_0x33ae8b(0x212)](_0xb4f2a6)){const _0x2acf23=this[_0x33ae8b(0x385)]['get'](_0xf661fe)||new Set();_0x2acf23[_0x33ae8b(0x16a)](_0xb4f2a6),this[_0x33ae8b(0x385)][_0x33ae8b(0x19a)](_0xf661fe,_0x2acf23),this[_0x33ae8b(0x166)](_0xb4f2a6);}}),_0x2f132a||this[_0x4b3df0(0x36d)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x4b3df0(0x351)]],'isForwarded':!0x0});}[_0x1c5799(0x166)](_0x181132){const _0x20dd6b=_0x1c5799;this[_0x20dd6b(0x1f1)](_0x181132);const _0x20995f=window[_0x20dd6b(0x280)](()=>{const _0x376c52=_0x20dd6b;this[_0x376c52(0x385)][_0x376c52(0x177)](_0x3c2153=>{const _0x35aeba=_0x376c52;_0x3c2153[_0x35aeba(0x1a0)](_0x181132);});},_0x24fb08*0x2);this[_0x20dd6b(0x3d8)][_0x20dd6b(0x19a)](_0x181132,_0x20995f);}['_removeClearOtherTimer'](_0x135161){const _0x3b96a9=_0x1c5799;if(this['_clearOtherTimers'][_0x3b96a9(0x212)](_0x135161)){const _0x4896ed=this[_0x3b96a9(0x3d8)][_0x3b96a9(0x3a2)](_0x135161);_0x4896ed&&window[_0x3b96a9(0x1cc)](_0x4896ed),this[_0x3b96a9(0x3d8)][_0x3b96a9(0x19a)](_0x135161,null);}}[_0x1c5799(0x1d2)](_0x4b95d3){const _0x424c8f=_0x1c5799,{memberID:_0x39e970,unitIDs:_0x471a7b}=_0x4b95d3;_0x471a7b[_0x424c8f(0x177)](_0xdbf627=>{const _0x8915bc=_0x424c8f;var _0xdc7eec;const _0x57550b=this['_unitOnClients'][_0x8915bc(0x3a2)](_0xdbf627);_0x57550b&&(_0x57550b['delete'](_0x39e970),(_0xdc7eec=this['_ensureSubject'](_0xdbf627))==null||_0xdc7eec[_0x8915bc(0x1fd)](_0x57550b[_0x8915bc(0x262)]===0x0?_0x126ab5[_0x8915bc(0x319)][_0x8915bc(0x267)]:_0x126ab5[_0x8915bc(0x319)][_0x8915bc(0x3c8)]));}),this['_removeClearOtherTimer'](_0x39e970);}[_0x1c5799(0x1d3)](_0x4d0217){const _0x5b579e=_0x1c5799;this['_scheduleClearOtherTimer'](_0x4d0217[_0x5b579e(0x384)]);}[_0x1c5799(0x36d)](_0x167533){const _0x511498=_0x1c5799;localStorage[_0x511498(0x296)](_0x273ced,JSON['stringify'](_0x167533));}[_0x1c5799(0x294)](){const _0x35337b=_0x1c5799;this[_0x35337b(0x16b)]=window[_0x35337b(0x2b6)](()=>{const _0x4a86a7=_0x35337b;this['_send']({'type':0x2,'memberID':this[_0x4a86a7(0x2c4)]});},_0x24fb08);}[_0x1c5799(0x316)](_0x186fbd){const _0x55cb4b=_0x1c5799;return this['_unitStatus'][_0x55cb4b(0x212)](_0x186fbd)||this[_0x55cb4b(0x1c5)][_0x55cb4b(0x19a)](_0x186fbd,new _0xa78be3['BehaviorSubject'](_0x126ab5['UnitStatus'][_0x55cb4b(0x267)])),this[_0x55cb4b(0x1c5)]['get'](_0x186fbd);}}var _0x38bcdf=(_0x1274b9=>(_0x1274b9[_0x1274b9[_0x1c5799(0x30c)]=0x0]=_0x1c5799(0x30c),_0x1274b9[_0x1274b9['OK']=0x1]='OK',_0x1274b9[_0x1274b9['INTERNAL_ERROR']=0x2]=_0x1c5799(0x1d8),_0x1274b9[_0x1274b9[_0x1c5799(0x375)]=0x3]=_0x1c5799(0x375),_0x1274b9[_0x1274b9[_0x1c5799(0x345)]=0x4]=_0x1c5799(0x345),_0x1274b9[_0x1274b9[_0x1c5799(0x359)]=0x5]=_0x1c5799(0x359),_0x1274b9[_0x1274b9['ALREADY_EXISTS']=0x6]=_0x1c5799(0x28e),_0x1274b9[_0x1274b9[_0x1c5799(0x237)]=0x7]=_0x1c5799(0x237),_0x1274b9[_0x1274b9[_0x1c5799(0x309)]=0x8]=_0x1c5799(0x309),_0x1274b9[_0x1274b9[_0x1c5799(0x281)]=0x9]='COMPLETION_FINISHED',_0x1274b9[_0x1274b9[_0x1c5799(0x271)]=0xa]=_0x1c5799(0x271),_0x1274b9[_0x1274b9[_0x1c5799(0x25e)]=0x1389]=_0x1c5799(0x25e),_0x1274b9[_0x1274b9[_0x1c5799(0x2e3)]=0x1771]=_0x1c5799(0x2e3),_0x1274b9[_0x1274b9[_0x1c5799(0x25f)]=0x1772]=_0x1c5799(0x25f),_0x1274b9[_0x1274b9['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x1c5799(0x1f6),_0x1274b9[_0x1274b9['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x1274b9[_0x1274b9[_0x1c5799(0x307)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x1274b9[_0x1274b9['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1c5799(0x37f),_0x1274b9[_0x1274b9['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1274b9[_0x1274b9[_0x1c5799(0x2dd)]=0x1b5d]=_0x1c5799(0x2dd),_0x1274b9[_0x1274b9['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x1c5799(0x394),_0x1274b9[_0x1274b9[_0x1c5799(0x306)]=0x2329]=_0x1c5799(0x306),_0x1274b9[_0x1274b9[_0x1c5799(0x254)]=0x232a]=_0x1c5799(0x254),_0x1274b9[_0x1274b9['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1c5799(0x2bb),_0x1274b9[_0x1274b9['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x1274b9[_0x1274b9[_0x1c5799(0x1eb)]=0x232d]=_0x1c5799(0x1eb),_0x1274b9[_0x1274b9['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1274b9[_0x1274b9[_0x1c5799(0x3af)]=0x2712]=_0x1c5799(0x3af),_0x1274b9[_0x1274b9[_0x1c5799(0x2bd)]=0x2713]=_0x1c5799(0x2bd),_0x1274b9[_0x1274b9[_0x1c5799(0x269)]=0x2714]=_0x1c5799(0x269),_0x1274b9[_0x1274b9[_0x1c5799(0x2a4)]=0x2af9]=_0x1c5799(0x2a4),_0x1274b9[_0x1274b9['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x1c5799(0x23c),_0x1274b9[_0x1274b9[_0x1c5799(0x331)]=0x2ee2]=_0x1c5799(0x331),_0x1274b9[_0x1274b9[_0x1c5799(0x192)]=0x2ee3]=_0x1c5799(0x192),_0x1274b9[_0x1274b9[_0x1c5799(0x148)]=0x2ee4]=_0x1c5799(0x148),_0x1274b9[_0x1274b9[_0x1c5799(0x18b)]=0x2ee5]=_0x1c5799(0x18b),_0x1274b9[_0x1274b9[_0x1c5799(0x2af)]=0x32c9]=_0x1c5799(0x2af),_0x1274b9[_0x1274b9[_0x1c5799(0x21e)]=0x32ca]=_0x1c5799(0x21e),_0x1274b9[_0x1274b9['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x1c5799(0x16c),_0x1274b9[_0x1274b9['UNRECOGNIZED']=-0x1]=_0x1c5799(0x2f1),_0x1274b9))(_0x38bcdf||{}),_0x443584=Object[_0x1c5799(0x231)],_0x17b2f2=(_0x2dd211,_0x4fdf65,_0x6e5a0b,_0x2b35b3)=>{for(var _0xb0ed57=_0x2b35b3>0x1?void 0x0:_0x2b35b3?_0x443584(_0x4fdf65,_0x6e5a0b):_0x4fdf65,_0x259ba1=_0x2dd211['length']-0x1,_0x85eb96;_0x259ba1>=0x0;_0x259ba1--)(_0x85eb96=_0x2dd211[_0x259ba1])&&(_0xb0ed57=_0x85eb96(_0xb0ed57)||_0xb0ed57);return _0xb0ed57;},_0x1a454b=(_0x7c26bd,_0x3f858c)=>(_0x238751,_0x2e255d)=>_0x3f858c(_0x238751,_0x2e255d,_0x7c26bd);_0x7e2117[_0x1c5799(0x2d6)]=class extends _0x453419['Disposable']{constructor(_0x5089d8,_0x1d4d5a,_0x25630c){const _0x4d3431=_0x1c5799;super(),this['_instanceService']=_0x5089d8,this['_httpService']=_0x1d4d5a,this[_0x4d3431(0x17b)]=_0x25630c;}async[_0x1c5799(0x14b)](_0x8e34bd,_0x3ed367,_0x46a6d2,..._0x2b7186){const _0x119742=_0x1c5799;var _0x3f2b05,_0x4a5f45,_0x5ead2f,_0x454967;const _0x4bbae2=this[_0x119742(0x1dd)][_0x119742(0x2fd)]();if(!_0x4bbae2)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x54092e=((_0x3f2b05=this[_0x119742(0x17b)][_0x119742(0x20a)](_0x126ab5[_0x119742(0x18a)]))!=null?_0x3f2b05:_0x126ab5[_0x119742(0x140)])+'/'+_0x8e34bd+'/run/'+_0x3ed367,_0x23641c=new URL(window[_0x119742(0x1ca)][_0x119742(0x342)]),_0x4221a3={'scriptId':_0x8e34bd,'runId':(_0x4a5f45=_0x23641c['searchParams'][_0x119742(0x3a2)](_0x119742(0x175)))!=null?_0x4a5f45:'','function':_0x3ed367,'unitId':_0x4bbae2['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x2b7186),'invokeId':(_0x5ead2f=_0x46a6d2[_0x119742(0x1e5)])!=null?_0x5ead2f:'','executionId':(_0x454967=_0x46a6d2['executionId'])!=null?_0x454967:''};try{const _0x5843dd=await this[_0x119742(0x145)][_0x119742(0x2e2)](_0x54092e,{'body':_0x4221a3});return _0x5843dd[_0x119742(0x1e2)][_0x119742(0x29e)]&&_0x5843dd['body'][_0x119742(0x29e)]['code']!==_0x38bcdf['OK']?'Failed':_0x5843dd[_0x119742(0x1e2)]['result'];}catch{return'Failed';}}},_0x7e2117[_0x1c5799(0x2d6)]=_0x17b2f2([_0x1a454b(0x0,_0x453419[_0x1c5799(0x1c8)]),_0x1a454b(0x1,_0x453419[_0x1c5799(0x229)](_0x54c300['HTTPService'])),_0x1a454b(0x2,_0x453419[_0x1c5799(0x144)])],_0x7e2117['RemoteUniscriptService']),_0x7e2117[_0x1c5799(0x1ad)]=_0x186b3c,_0x7e2117[_0x1c5799(0x253)]=_0x2c04a8,_0x7e2117[_0x1c5799(0x1f8)]=_0x2a871a,_0x7e2117[_0x1c5799(0x21a)]=_0x526cfd,_0x7e2117['WebURLService']=_0x1ef983,Object['defineProperty'](_0x7e2117,Symbol['toStringTag'],{'value':_0x1c5799(0x328)});}));function _0x313f(){const _0x431223=['unitId','getUnitId','_refRangeService','_uiPartsService','event$','_cursors','getUniverSheetInstance','purple300','UPDATE_CURSOR','hasOwnProperty','UNRECOGNIZED','skeleton','_range','_status$','_initStatusComponent','getMergeData','random','dispose','@univerjs/engine-render','UniverIcon','@univerjs/docs','UNIVER_SHEET','getFocusedUnit','shareReplay','React','registerRefRange','handleInsertRow','CLOSE_ROOM','UniverDocsUi','fill','mutations','LICENSE_MAX_UNITS_EXCEEDED','APPLY_NON_SEQUENTIAL_REVISION','runRefRangeMutations','TOO_MANY_REQUESTS','_getAnchorBounding','collab-text-range-','UNDEFINED','EffectRefRangId','onPointerLeave$','closePath','_config','_startSheetCollabCursor','LOCAL_CACHE_INTERVAL_KEY','univer-offline','741466jruBfG','executeCommand','_ensureSubject','35Ldjvys','1em','UnitStatus','search','findNodePositionByCharIndex','transformRemoteChangeset','throttleTime','_onCursorUpdate','call','_themeService','collaboration.closeRoom','values','_saveTaskMap','setAlpha','getViewport','DocCollaborationEntity','m1Prime','Module','@univerjs/engine-formula','#fff','getAncestorScale','getSkeleton','DocStateChangeManagerService','_onCursorDelete','createInstance','pushState','INVALID_INVITE_CODE','permission.content','_drawTextRange','_hovered','@univerjs/network','_injector','disableLocalCache','NOT_COLLAB','hovered','editingUnit','308436oXWPDL','DisposableCollection','@univerjs/docs-ui','onMouseMove','getMemberID','eventID','setUndoRedoMutationParamsCache','href','ColorKit','_docStateChangeManagerService','NOT_FOUND','isActive','UniverDrawing','_sheetSkeletonManagerService','startsWith','trim','MemberService','INotificationService','parse','UniverCollaborationClientUIPlugin','extend','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','_selfUnitIDs','ILocalCacheService','_initCommandExecutedListener','UniverEngineFormula','_entityInit$','round','idSuffix','roomMembers$','UNAUTHENTICATED','RegularPolygon','enableLocalCache','_collaborationUIEventService','addObjects','UniverProCollaboration','_collabSessionService','Rectangle','pluginName','Disposable','sessionStatus$','then','collab-client.tooltip.reconnect','path','hide','_toggleOnline','offline','_disabled','contains','registerComponent','_send','send','InsertRangeMoveDownCommandId','removeParam','DocSkeletonManagerService','@univerjs/rpc','UniverDesign','setConfig','PERMISSION_DENIED','MUTATION','_getSessionTicket','UniverEngineRender','on-line-single_clip0_910_349','onPointerMove$','endRow','map','IBeforeCloseService','row','APPLY_REVISION_CONFILICT','url(#$1','currentColor','Rect','DependentOn','memberID','_unitOnClients','_registerDependencies','Vector2','labelPosition','_transformHistoryAndStateStack','handleIRemoveCol','generateRandomId','_collabCursorState$','Injector','disposeWithMe','HTTPService','_localCacheService','saveTaskMap','transformByState','Unknown\x20user','CONNECTOR_DATA_TOO_LARGE','Subject','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','key','LOCAL_CACHE_INTERVAL','fillText','_syncEditingCollabCursorService','_labelPosition','split','_initDependencies','exports','Shape','online','COLORS','get','VIEW_MAIN','LocaleService','transformStateCache','BuiltInUIPart','_localeService','connectInjector','substring','toString','rgba(255,\x20255,\x20255,\x200.01)','UNIVER_DOC','InsertRangeMoveRightCommandId','params','YUUMI_URL_COL_OUT_OF_RANGE','entries','jsx','defs','_saveCache','_refreshCollabCursors','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','_removeCollabCursors','_messageService','collab-rect-range-','function','getTypeOfUnitAdded$','_beforeCloseService','7485768pJrlSW','m2Prime','JOIN_ROOM_FAILED','icon','history','getOffsetConfig','3QSqaOY','fromEvent','popstate','save','_lastPointer','_registerRenderDependencies','OTHER_CLIENTS_EDITING','transformMutation','currentTheme$','_univerInstanceService','setParam','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','[CollaborationDataLoaderController]','collabStatus.conflict','_updateLocalCursor','getSheetObject','session.will-retry','USERS_LEAVE','_imageIoService','getTypeOfUnitDisposed$','collabStatus.fetchMiss','ticket','_clearOtherTimers','ISnapshotServerService','onCommandExecuted','getSheetBySheetId','selection','cursorInfo$','@univerjs-pro/collaboration-client','MoveRangeCommandId','SetTextSelectionsOperation','handleMoveRange','text','clearInterval','_docTransformIMECacheService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','beginPath','jsxs','CollaborationUIEventId','IConfigService','_httpService','_startDocCollabCursor','OnLineSingle','USER_NOT_INVITED_CODE','collaboration.single-unit.warning','all','runOnServer','9eobfdg','pipe','CollaborationSocketService','lineTo','_collaborationController','_drawRectRange','deserializeRangeWithSheet','getParam','_hideTimer','dispose$','1882358gbZmcZ','defIds','UniverUi','subscribe','OFFLINE','switchMap','storage','init','uni.network.url-service','colorChannel1','registerBeforeClose','createIdentifier','getRenderById','SHEET_VIEWPORT_KEY','startRow','WebSocketService','_scheduleClearOtherTimer','use','range','entityInit$','add','_heartbeatTimer','EMAIL_HAS_BEEN_BOUND','@univerjs/core','exhaustSavingTask','_cachedData','_commandService','on-line-single','from','_backgroundColor','_onRefRangeChange','runId','onPointerEnter$','forEach','OffLineSingle','collabStatus.notCollab','addObject','_configService','off-line-single','forwardRef','DesktopCollaborationStatusDisplayController','collabCursorState$','_docSkeletonManagerService','source','apply','width','off-line-single_clip0_910_343','makeDirty','type','@univerjs/sheets','collabStatus.offline','defineProperty','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','INVITE_CODE_ALREADY_BOUND','application/json','undoState','_handleEvent','SetWorksheetActivateCommand','loadOfflineData','Optional','INVITE_CODE_REQUIRED','whenReady','_docClipboardService','displayName','searchParams','16361270HaZzmG','transform','_dataLoaderService','set','@univerjs-pro/collaboration','react/jsx-runtime','TEXT_RANGE_LAYER_INDEX','getItem','object','delete','urlChange$','find','UniverProCollaborationClientUi','_updateURLWithCurrentState','assign','BehaviorSubject','subUnitId','disposeUnit','CollaborationController','some','_roomMembers$','deepClone','CollaborationStatusDisplay','_session','push','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getValue','_scheduleSaving','session.collaboration-timeout','_localStorageService','doc.mutation.rich-text-editing','univer-online-status-title','transformSelections','PENDING','@univerjs/design','...','getUndoRedoMutationParamsCache','font','Error','useObservable','_handleJoinEvent','_docSkeleton','DocSelectionManagerService','MessageType','jiqing500','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_unitStatus','activeSheet$','_handleHover','IUniverInstanceService','toDisposable','location','addEventListener','clearTimeout','_getScale','IMessageService','string','CollaborationStatus','replace','_handleLeaveEvent','_handleHeartbeatEvent','DeleteRangeMoveUpCommandId','saveImage','selections','Warning','INTERNAL_ERROR','unsubscribe','merge','endColumn','restore','_instanceService','IDocClipboardService','_transformUndoRedoStack','ILocalStorageService','takeUntil','body','isTransformMutationFailure','column','invokeId','subscribeEvent','_name','serializeRangeWithSheet','drawWith','useRef','LICENSE_DISTRO_REJECTED','InsertColCommandId','triggerDblclick','_colorIndex','collaboration-client.offline-data-not-saved','length','_removeClearOtherTimer','_textBubble','getCollabEntity$','distinctUntilChanged','fromEventSubject','ENSURE_SNAPSHOT_EXECUTION','_collabCursorController','SheetCollabCursorShape','children','getCurrentSelections','SUBMIT_CHANGESET_TIMEOUT','_init','next','getRangePointData','UniverSheets','url(#on-line-single_clip0_910_349)','CommandType','_anchorDot','CollaborationEvent','IUIPartsService','UniverRpc','rxjs/operators','_hover','asObservable','current','getConfig','CollaborationUIEventService','FromArray','_online','Tools','min','getSheetId','div','has','onTransformChange$','clsx','M0\x200H16V16H0z','engine','amd','getCurrentRevOfUnit','_createSocketURL','WebBrowserSingleActiveUnitService','_getSaveTimeout','_updateCollabCursors','RefRangeService','MOBILE_HAS_BEEN_BOUND','collab-text-anchor-','translate(.97)','_cursor','top','_transformPreviousActiveRange','SheetSkeletonManagerService','_colorAssignService','xlink:href','svg','Plugin','Inject','mask','registerRenderModule','debounce','_render','RECT','gold400','tag','getOwnPropertyDescriptor','SheetsSelectionsService','actions','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','cursorInfo','_memberService','INVALID_ARGUMENT','useCallback','prototype','@univerjs/drawing','Tooltip','INVITE_CODE_HAS_BEEN_UES','getCoordByCell','InsertRowCommandId','RxDisposable','sheetId','DEFAULT_WS_SESSION_TICKET_URL','_context','assignAColorForMemberID','complete','_cursorShapes','_setupSubUnitSync','UniverInstanceType','getCollabCursors$','DeleteRangeMoveLeftCommandId','onlineStatusTitle','FETCH_MISS','_transformService','UniverCore','rxjs','HEADER_MENU','getMember','debug','TEXT','IURLService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','IRenderManagerService','@univerjs/sheets-ui','unitID','_scene','AWAITING','useDependency','replaceState','_urlService','_initStatusListener','CHANGESET_REVISION_CONFILICT','SNAPSHOT_HAS_BEEN_REMOVED','bottom','newValue','size','_draw','DOC_RANGE_TYPE','_revisionService','indexOf','NO_OTHER_CLIENTS_EDITING','getRelativeToViewportCoord','YUUMI_SUBSCRIPTION_NOT_FOUND','_docTransformSelectionsService','_notificationService','arc','_doCreateSocket','_setupBeforeClosingHandler','unshift','className','LOGIN_FAILED','onLocalMutation','none','getColor','getUnitStatus$','_renderManagerService','color','_assignedColors','subunit','setActiveRange','mapTo','show','setShapeProps','toRgbString','handleInsertCol','setTimeout','COMPLETION_FINISHED','RemoveColCommandId','SessionStatus','getActiveSheet','onlineStatus','_initEntityListener','data','_logService','onlineStatusIcon','2223890GcwjtP','status$','getVpScrollXYInfoByPosToVp','black','ALREADY_EXISTS','override','createSocket','roomMembers','origin','includes','_scheduleHeartbeat','_initEvent','setItem','CollaborationDataLoaderController','fillStyle','name','isArray','isEditing','addClipboardHook','collabStatus.synced','error','ITransformService','redoState','clipPath','_eventUnsubscribe','getOwnPropertySymbols','PY_RUNTIME_SCRIPT_ERROR','_getSheetObject','ICommandService','measureText','syncEditingCollabCursor','docStateChange$','react','_shapes','debounceTime','_entities','onRendered','WECHAT_HAS_BEEN_BOUND','getStateCache','symbol','saveOfflineData','createElement','combineLatest','focused$','setInterval','evenodd','transformMutationsWithChangeset','verdancy600','CONFLICT','LICENSE_IMPORT_SIZE_EXCEEDED','3345516MFdIMO','YUUMI_RATE_OVER_LIMIT','currentSkeleton$','_docSyncEditingCollabCursorService','_color','univer-flex\x20univer-items-center','ONLINE','IRemoteInstanceService','_id','BrowserCollaborationSocketService','_updateSubUnitFromURLParams','_cursorInfo$','getCurrent','unload','sessionTicket','transformIMECache','backgroundColor','@univerjs/ui','_drawAnchor','concat','with','DocIMEInputManagerService','_docTransformStateCacheService','ISocketService','attrs','univer-online-status-icon','RemoteUniscriptService','UniverCollaborationClientPlugin','ThemeService','session.connection-failed','_anchor','collaboration-client-ui.config','IImageIoService','APPLY_DUPLICATED','_toggleOffline','univer-online','filter','handleInsertRangeMoveRight','post','SNAPSHOT_INVALID_SNAPSHOT','ranges','ILogService','requireSession'];_0x313f=function(){return _0x431223;};return _0x313f();}
1
+ function _0x13fe(){const _0x3f4a3d=['OFFLINE','_handleHeartbeatEvent','_collaborationUIEventService','MoveRangeCommandId','history','_getScale','InsertRangeMoveDownCommandId','off-line-single_clip0_910_343','fromEvent','getMember','USER_NOT_INVITED_CODE','eventID','debounceTime','assignAColorForMemberID','collaboration.single-unit.warning','234032HcDLHy','_logService','univer-online','startsWith','storage','replace','length','5586834fIvxZA','disposeWithMe','_collabCursorController','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','onMouseMove','Rect','@univerjs/docs','jiqing500','_registerRenderDependencies','symbol','save','name','UniverSheetsUi','DOC_RANGE_TYPE','_online','DeleteRangeMoveLeftCommandId','_scheduleHeartbeat','red300','Optional','handleMoveRange','flatMap','forwardRef','402527cXvPBo','getCurrent','isTransformMutationsWithChangesetSuccess','WebSocketService','HTTPService','getColor','_docSkeletonManagerService','transformByState','show','operators','getCurrentUnitForType','currentTheme$','getCollabEntity$','_urlService','font','send','removeParam','getCollabCursors$','CollaborationDataLoaderController','setStateCache','M0\x200H16V16H0z','setInterval','attrs','SYNCED','distinctUntilChanged','session.collaboration-timeout','mask','getViewport','_drawTextRange','generateRandomId','@univerjs/network','svg','mapTo','div','search','_cachedData','_document','RegularPolygon','_dataLoaderService','isEditing','@univerjs-pro/collaboration-client','_updateSubUnitFromURLParams','UniverRpc','DeleteRangeMoveUpCommandId','BrowserCollaborationSocketService','children','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','idSuffix','backgroundColor','getDocRanges','univer-flex\x20univer-items-center','_entityInit$','registerDependencies','get','_shapes','propertyIsEnumerable','_updateLocalCursor','pluginName','_univerInstanceService','_localeService','loadOfflineData','_handleHover','executeCommand','_cursors','DocSelectionManagerService','top','docStateChange$','APPLY_DUPLICATED','code','rxjs/operators','PENDING','params','findNodePositionByCharIndex','_initStatusListener','useRef','_saveTaskMap','createIdentifier','NodePositionConvertToRectRange','getTypeOfUnitAdded$','column','handleDeleteRangeMoveUp','debounce','push','indexOf','has','SNAPSHOT_INVALID_SNAPSHOT','filter','NodePositionConvertToCursor','_onCursorUpdate','key','UNIVER_DOC','DataLoaderService','loadUnit','m2Prime','MOBILE_HAS_BEEN_BOUND','debug','CollaborationController','@univerjs/sheets','getUnhiddenWorksheets','_assignedColors','bottom','react/jsx-runtime','UniverProCollaborationClient','_notificationService','_registerDependencies','InsertColCommandId','10hgNbSa','selections','_range','skeleton','find','_session','getConfig','UniverInstanceType','toStringTag','permission.title','registerBeforeClose','IImageIoService','MemberService','toDisposable','0\x200\x2016\x2016','blue400','rgba(255,\x20255,\x20255,\x200.01)','_getSaveTimeout','_transformPreviousActiveRange','startColumn','roomMembers$','@univerjs/engine-render','SheetsSelectionsService','#fff','Unknown\x20user','YUUMI_RATE_OVER_LIMIT','focused$','prototype','set','_transformUndoRedoStack','_heartbeatTimer','_httpService','NOT_COLLAB','_anchor','Tooltip','transformMutationsWithChangeset','EffectRefRangId','_updateCollabCursors','_hideTimer','HEADER_MENU','registerRenderModule','_clearOtherTimers','createElement','deepClone','_docStateChangeManagerService','createInstance','then','_handleLeaveEvent','UniverSheets','handleInsertRow','_init','onTransformChange$','closePath','entries','_refRangeService','collaboration.closeRoom','Inject','_hovered','getSkeleton','UniverCollaborationClientUIPlugin','_startSheetCollabCursor','runRefRangeMutations','labelPosition','addEventListener','mutations','on-line-single_clip0_910_349','addClipboardHook','_context','current','DocSkeletonManagerService','subscribe','location','defs','session.connection-failed','_startDocCollabCursor','RxDisposable','_memberService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getSheetObject','redoState','RemoveRowCommandId','UniverCollaborationClientPlugin','trim','jsx','LICENSE_MAX_UNITS_EXCEEDED','transformStateCache','selection','Tools','doc.mutation.rich-text-editing','runId','body','source','_scheduleClearOtherTimer','IURLService','connectInjector','OTHER_CLIENTS_EDITING','subscribeEvent','replaceDocRanges','4SBQtoE','black','fill','entityInit$','enableLocalCache','substring','exports','evenodd','_lastPointer','getFocusedUnit','setParam','add','endRow','_color','_drawAnchor','collabStatus.syncing','INVALID_INVITE_CODE','_anchorDot','univer-online-status-icon','switchMap','_textBubble','onlineStatusTitle','setTimeout','online','setItem','_removeCollabCursors','event$','url(#on-line-single_clip0_910_349)','unsubscribe','UniverIcon','CollaborationEvent','getOwnPropertySymbols','@univerjs/design','transformIMECache','toRgbString','LICENSE_IMPORT_SIZE_EXCEEDED','FromArray','function','addHandlerCallback','on-line-single','override','_docSkeleton','Injector','_collabCursorState$','UniverDesign','0\x200\x2017\x2016','IMessageService','IBeforeCloseService','CHANGESET_REVISION_CONFILICT','PY_RUNTIME_SCRIPT_ERROR','SHEET_VIEWPORT_KEY','INVALID_ARGUMENT','_toggleOffline','mergeOverrideWithDependencies','React','collabCursorState$','collabStatus.notCollab','href','_getMergeRange','@univerjs/ui','init','transformMutation','unit','collaboration-client.offline-data-not-saved','3277515uieouM','_colorIndex','getActiveSheet','YUUMI_URL_COL_OUT_OF_RANGE','PERMISSION_DENIED','getMemberID','roomMembers','makeDirty','setUndoRedoMutationParamsCache','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','univer-online-status','drawWith','CollaborationUIEventService','handleInsertRangeMoveRight','rxjs','UniverProCollaboration','8534178SQXshi','getRangePointData','url(#off-line-single_clip0_910_343)','actions','collabStatus.offline','purple300','_selfUnitIDs','getOwnPropertyDescriptor','#FFF','random','handleInsertRangeMoveDown','runOnServer','translate(.97)','_eventUnsubscribe','activeSheet$','_collaborationController','_initCommandExecutedListener','_initEvent','map','toString','UniverCore','RevisionService','imageSourceType','onStarting','TEXT_RANGE_LAYER_INDEX','disposeUnit','4cqfLMa','INVITE_CODE_ALREADY_BOUND','_commandService','ThemeService','Warning','161yNOkmr','text','syncEditingCollabCursor','_docTransformSelectionsService','unitID','data','_sheetSkeletonManagerService','@univerjs/core','m1Prime','_status$','OnLineSingle','_initStatusComponent','string','arc','18944101jITqAd','_handleEvent','getSheetId','memberID','InsertRangeMoveRightCommandId','_id','invokeId','_hover','currentSkeleton$','_renderManagerService','executionId','fillRule','collaboration-client-ui.config','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getTypeOfUnitDisposed$','with','pipe','EMAIL_HAS_BEEN_BOUND','dispose','CollaborationStatus','getUnitStatus$','@univerjs/rpc','saveOfflineData','IUIPartsService','getValue','TOO_MANY_REQUESTS','_themeService','NOT_FOUND','ENSURE_SNAPSHOT_EXECUTION','forEach','ILocalCacheService','UniverUi','IConfigService','_scene','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_removeClearOtherTimer','IRenderManagerService','UnitStatus','_onCursorDelete','INTERNAL_ERROR','_toggleOnline','DocStateChangeManagerService','path','NO_OTHER_CLIENTS_EDITING','clsx','2836311iSzTOi','SetWorksheetActivateCommand','DocIMEInputManagerService','_ensureSubject','Disposable','type','RefRangeService','_docTransformIMECacheService','1em','ILogService','cursorInfo$','handleInsertCol','status$','triggerDblclick','[CollaborationDataLoaderController]','getCurrentSelections','@univerjs/docs-ui','INVITE_CODE_REQUIRED','RemoteUniscriptService','CollaborationUIEventId','collab-rect-range-','_updateURLWithCurrentState','row','height','color','_getSheetObject','UNDEFINED','SOCKET_FAILED','_configService','_entities','clipPath','getSheetBySheetId','concat','dispose$','ALREADY_EXISTS','icon','LOGIN_FAILED','ONLINE','APPLY_PERMISSION_DENIED','CONNECTOR_DATA_TOO_LARGE','ICommandService','touchDependencies','clearInterval','width','UniverDocs','getVpScrollXYInfoByPosToVp','Rectangle','_saveCache','react','sessionStatus$','size','saveImage','_localStorageService','getCoordByCell','getCellPositionByOffset','textRanges','_docTransformStateCacheService','ranges','getAncestorScale','/run/','unload','gold400','popstate','min','max','Shape','addObjects','IUniverInstanceService','_setupBeforeClosingHandler','transformRemoteChangeset','_initEntityListener','measureText','assign','apply','pushState','INVITE_CODE_HAS_BEEN_UES','UNRECOGNIZED','SOCKET_FAILED_RETRY','BehaviorSubject','isArray','Error','fillText','sheetID','YUUMI_UNABLE_LOAD_URL','LICENSE_DISTRO_REJECTED','_uiPartsService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','takeUntil','LOCAL_CACHE_INTERVAL_KEY','_collabSessionService','unshift','_send','UNAUTHENTICATED','cursorInfo','sheetId','_messageService','SNAPSHOT_HAS_BEEN_REMOVED','ITransformService','_cursorInfo$','_cursor','setActiveRange','_name','clearTimeout','unitId','getLocalCacheKey','wsSessionTicketUrl','onLocalMutation','error','_transformService','searchParams','SetTextSelectionsOperation','CollaborationStatusDisplay','JOIN_ROOM_FAILED','ILocalStorageService','WECHAT_HAS_BEEN_BOUND','_localCacheService','_createSocketURL','_backgroundColor','collab-text-anchor-','hide','editingUnit','stringify','OffLineSingle','fillStyle','DependentOn','onRendered','object','handleDeleteRangeMoveLeft','setConfig','resize','registerRefRange','onPointerLeave$','getUndoRedoMutationParamsCache','none','MessageType','onCommandExecuted','UNIVER_SHEET','exhaustSavingTask','DEFAULT_WS_SESSION_TICKET_URL','getActiveRange','_initResize','isTransformMutationFailure','shareReplay','_getSessionTicket','range','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','WebURLService','IDocClipboardService','AWAITING_WITH_PENDING','CONFLICT','LocaleService','_transformHistoryAndStateStack','TEXT','displayName','APPLY_NON_SEQUENTIAL_REVISION','_scheduleSaving','INotificationService','_handleJoinEvent','@univerjs/drawing','hovered','saveTaskMap','YUUMI_SUBSCRIPTION_NOT_FOUND','application/json','SheetSkeletonManagerService','...','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','CLOSE_ROOM','registerComponent','defineProperty','SessionStatus','from','_colorAssignService','tag','urlChange$','_labelPosition','getParam','asObservable','ISnapshotServerService','_setupSubUnitSync','getUnitId','_config','_unitOnClients','Vector2','_unitStatus','next','onlineStatus','uni.network.url-service','Subject','_beforeCloseService','getStateCache','SUBMIT_CHANGESET_TIMEOUT','extend','_cursorShapes','_syncEditingCollabCursorService','@univerjs-pro/collaboration','Failed','onPointerEnter$','@univerjs/engine-formula','USERS_LEAVE','xlink:href','createSocket','post','session.will-retry','subunit','lineTo','_render','offline','_onRefRangeChange','collab-client.tooltip.reconnect','COLORS','getRenderById','currentColor','DesktopCollaborationStatusDisplayController','getUniverSheetInstance','all','RemoveColCommandId','url(#$1','LICENSE_EXPORT_SIZE_EXCEEDED','_roomMembers$','ACTIVE_UNIT_EVENT_CHANNEL','newValue','_imageIoService','_refreshCollabCursors','transformSelections','UniverEngineFormula','colorChannel1','setShapeProps','_instanceService','call','AWAITING','verdancy600','round','requireSession','merge','SetSelectionsOperation','_getAnchorBounding','getRelativeToViewportCoord','UPDATE_CURSOR','subUnitId','_disabled','addObject','_injector','className','delete','undoState','@univerjs/sheets-ui','values','combineLatest','RECT','DisposableCollection','defIds','complete'];_0x13fe=function(){return _0x3f4a3d;};return _0x13fe();}function _0x57fc(_0x1f84d5,_0xe8ee39){const _0x13fe8b=_0x13fe();return _0x57fc=function(_0x57fc41,_0x52dddb){_0x57fc41=_0x57fc41-0x87;let _0x470764=_0x13fe8b[_0x57fc41];return _0x470764;},_0x57fc(_0x1f84d5,_0xe8ee39);}(function(_0x1ae2d3,_0x16963f){const _0x2c7705=_0x57fc,_0x3df4a2=_0x1ae2d3();while(!![]){try{const _0x5121ee=-parseInt(_0x2c7705(0x295))/0x1*(parseInt(_0x2c7705(0x12d))/0x2)+parseInt(_0x2c7705(0x16d))/0x3+parseInt(_0x2c7705(0xc3))/0x4*(-parseInt(_0x2c7705(0x103))/0x5)+-parseInt(_0x2c7705(0x27f))/0x6+-parseInt(_0x2c7705(0x132))/0x7*(parseInt(_0x2c7705(0x278))/0x8)+-parseInt(_0x2c7705(0x113))/0x9*(-parseInt(_0x2c7705(0x2ff))/0xa)+parseInt(_0x2c7705(0x140))/0xb;if(_0x5121ee===_0x16963f)break;else _0x3df4a2['push'](_0x3df4a2['shift']());}catch(_0xdc217d){_0x3df4a2['push'](_0x3df4a2['shift']());}}}(_0x13fe,0x869a4),function(_0x12b07a,_0x4d1e05){const _0x2e1443=_0x57fc;typeof exports==_0x2e1443(0x1eb)&&typeof module<'u'?_0x4d1e05(exports,require(_0x2e1443(0x2bd)),require('@univerjs/core'),require(_0x2e1443(0x314)),require(_0x2e1443(0x2b3)),require('@univerjs/docs-ui'),require(_0x2e1443(0x20b)),require(_0x2e1443(0x111)),require(_0x2e1443(0x285)),require(_0x2e1443(0x22f)),require(_0x2e1443(0x232)),require(_0x2e1443(0x2f6)),require(_0x2e1443(0x2da)),require(_0x2e1443(0x262)),require('react/jsx-runtime'),require(_0x2e1443(0xfe)),require('@univerjs/design'),require(_0x2e1443(0x19d)),require(_0x2e1443(0x155))):typeof define==_0x2e1443(0xe8)&&define['amd']?define([_0x2e1443(0xc9),_0x2e1443(0x2bd),_0x2e1443(0x139),_0x2e1443(0x314),_0x2e1443(0x2b3),_0x2e1443(0x17d),_0x2e1443(0x20b),'rxjs',_0x2e1443(0x285),_0x2e1443(0x22f),_0x2e1443(0x232),_0x2e1443(0x2f6),_0x2e1443(0x2da),_0x2e1443(0x262),_0x2e1443(0x2fa),'@univerjs/ui',_0x2e1443(0xe3),_0x2e1443(0x19d),_0x2e1443(0x155)],_0x4d1e05):(_0x12b07a=typeof globalThis<'u'?globalThis:_0x12b07a||self,_0x4d1e05(_0x12b07a['UniverProCollaborationClientUi']={},_0x12b07a[_0x2e1443(0x2fb)],_0x12b07a[_0x2e1443(0x127)],_0x12b07a['UniverEngineRender'],_0x12b07a['UniverNetwork'],_0x12b07a['UniverDocsUi'],_0x12b07a['UniverDrawing'],_0x12b07a[_0x2e1443(0x111)],_0x12b07a[_0x2e1443(0x199)],_0x12b07a[_0x2e1443(0x112)],_0x12b07a[_0x2e1443(0x24d)],_0x12b07a[_0x2e1443(0x91)],_0x12b07a[_0x2e1443(0x111)][_0x2e1443(0x29e)],_0x12b07a[_0x2e1443(0x28b)],_0x12b07a[_0x2e1443(0xf9)],_0x12b07a[_0x2e1443(0x15f)],_0x12b07a[_0x2e1443(0xef)],_0x12b07a[_0x2e1443(0xf9)],_0x12b07a[_0x2e1443(0x2bf)]));}(this,function(_0x31bd5e,_0x3fe587,_0x15b207,_0x241ab7,_0x5ba1cc,_0x57acc0,_0x5623a4,_0x548118,_0x374d97,_0x38de55,_0x32b66c,_0x159c7f,_0x58aad9,_0x20a1dc,_0x4d3f92,_0x4b9e13,_0x5a4da0,_0x504940,_0x3a7d89){'use strict';const _0x28bb4a=_0x57fc;var _0x5b15cd=Object['defineProperty'],_0x57a4c1=(_0x41e16b,_0x178aa2,_0x3e1c18)=>_0x178aa2 in _0x41e16b?_0x5b15cd(_0x41e16b,_0x178aa2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3e1c18}):_0x41e16b[_0x178aa2]=_0x3e1c18,_0x52ecbf=(_0x80aef3,_0x1eb4fd,_0x1ab641)=>_0x57a4c1(_0x80aef3,typeof _0x1eb4fd!=_0x28bb4a(0x288)?_0x1eb4fd+'':_0x1eb4fd,_0x1ab641),_0x41bd14=Object[_0x28bb4a(0x11a)],_0x1902be=(_0x177ae2,_0x5813b3,_0x3c73a7,_0x41c07a)=>{const _0x4bf8c8=_0x28bb4a;for(var _0x5adb05=_0x41c07a>0x1?void 0x0:_0x41c07a?_0x41bd14(_0x5813b3,_0x3c73a7):_0x5813b3,_0x4e54d1=_0x177ae2[_0x4bf8c8(0x27e)]-0x1,_0xc6f70b;_0x4e54d1>=0x0;_0x4e54d1--)(_0xc6f70b=_0x177ae2[_0x4e54d1])&&(_0x5adb05=_0xc6f70b(_0x5adb05)||_0x5adb05);return _0x5adb05;},_0x16c6da=(_0x5cc3f3,_0x1c7951)=>(_0x318368,_0xa0247d)=>_0x1c7951(_0x318368,_0xa0247d,_0x5cc3f3);let _0x221090=class extends _0x15b207[_0x28bb4a(0xac)]{constructor(_0x42479d,_0x4d7cde){const _0x39967b=_0x28bb4a;super(),this['_docClipboardService']=_0x42479d,this[_0x39967b(0x24a)]=_0x4d7cde,this[_0x39967b(0x93)]();}[_0x28bb4a(0x93)](){const _0x560750=_0x28bb4a,_0x3452b0=this;this[_0x560750(0x280)](this['_docClipboardService'][_0x560750(0xa3)]({'onBeforePasteImage':async _0x5450dc=>{const _0x2f3dd5=_0x560750,_0x52a7c2=await _0x3452b0[_0x2f3dd5(0x24a)][_0x2f3dd5(0x1a0)](_0x5450dc);return _0x52a7c2?{'source':_0x52a7c2[_0x2f3dd5(0xbc)],'imageSourceType':_0x52a7c2[_0x2f3dd5(0x129)]}:null;}}));}};_0x221090=_0x1902be([_0x16c6da(0x0,_0x57acc0[_0x28bb4a(0x200)]),_0x16c6da(0x1,_0x5623a4[_0x28bb4a(0x30a)])],_0x221090);const _0x1561ff=[_0x28bb4a(0x118),_0x28bb4a(0x286),_0x28bb4a(0x253),_0x28bb4a(0x290),_0x28bb4a(0x30e),_0x28bb4a(0x1aa)];class _0x406998 extends _0x15b207[_0x28bb4a(0x171)]{constructor(){const _0x58f0e8=_0x28bb4a;super(...arguments),_0x52ecbf(this,_0x58f0e8(0x2f8),new Map()),_0x52ecbf(this,_0x58f0e8(0x104),0x0);}['assignAColorForMemberID'](_0x4389e6){const _0x2ef3d9=_0x28bb4a;if(this['_assignedColors'][_0x2ef3d9(0x2e9)](_0x4389e6))return this[_0x2ef3d9(0x2f8)][_0x2ef3d9(0x2ca)](_0x4389e6);const _0x389ed1=_0x1561ff[this[_0x2ef3d9(0x104)]];return this[_0x2ef3d9(0x104)]=(this[_0x2ef3d9(0x104)]+0x1)%_0x1561ff['length'],this['_assignedColors'][_0x2ef3d9(0x31b)](_0x4389e6,_0x389ed1),_0x389ed1;}}function _0x4a55c0(_0x209a77){const _0x288529=_0x28bb4a;let _0x1a1b4c='';for(const _0xf7cb3e of _0x209a77){const {startOffset:_0x57f2ab,endOffset:_0x17f5d7,isActive:_0x51c4cc,rangeType:_0x1c1657,segmentId:_0x31f39b,segmentPage:_0x2eb574}=_0xf7cb3e;_0x1a1b4c[_0x288529(0x27e)]&&(_0x1a1b4c+=','),_0x1a1b4c+=_0x57f2ab+':'+_0x17f5d7+':'+(_0x51c4cc?'1':'0')+':'+_0x1c1657+':'+_0x31f39b+':'+_0x2eb574;}return _0x1a1b4c;}function _0xf8cd1a(_0x2c5012){const _0xc69c01=_0x28bb4a,_0x12795c=_0x2c5012['split'](','),_0x478ea3=[];for(const _0x54a56b of _0x12795c){const [_0x16e60f,_0x45a0bf,_0xb528be,_0x7a3928,_0xccd945,_0x1fc538]=_0x54a56b['split'](':');_0x478ea3['push']({'startOffset':Number(_0x16e60f),'endOffset':Number(_0x45a0bf),'collapsed':_0x16e60f===_0x45a0bf,'isActive':_0xb528be==='1','rangeType':_0x7a3928===_0x15b207[_0xc69c01(0x28c)]['TEXT']?_0x15b207[_0xc69c01(0x28c)][_0xc69c01(0x205)]:_0x15b207['DOC_RANGE_TYPE'][_0xc69c01(0x265)],'segmentId':typeof _0xccd945==_0xc69c01(0x13e)?String(_0xccd945):'','segmentPage':Number(_0x1fc538!=null?_0x1fc538:-0x1)});}return _0x478ea3['some'](_0x12fc18=>_0x12fc18['isActive'])||(_0x478ea3[0x0]['isActive']=!0x0),_0x478ea3;}class _0x50948d extends _0x15b207[_0x28bb4a(0xac)]{constructor(){const _0x3402ea=_0x28bb4a;super(...arguments),_0x52ecbf(this,_0x3402ea(0xee),new _0x548118['BehaviorSubject'](null)),_0x52ecbf(this,_0x3402ea(0xfa),this['_collabCursorState$'][_0x3402ea(0x21d)]());}[_0x28bb4a(0x134)](_0xd82697){const {unitID:_0x2f1222,memberID:_0x3b221f,textRanges:_0x4dfd8b}=_0xd82697,_0x3226cd=_0x4a55c0(_0x4dfd8b);if(_0x3226cd==='')return;const _0x2907a9={'unitID':_0x2f1222,'memberID':_0x3b221f,'selection':_0x3226cd};this['_collabCursorState$']['next'](_0x2907a9);}}var _0x43a5b9=Object[_0x28bb4a(0x11a)],_0x3b42b0=(_0x3fc685,_0x4f508b,_0x5907be,_0x15935a)=>{for(var _0x300f3c=_0x15935a>0x1?void 0x0:_0x15935a?_0x43a5b9(_0x4f508b,_0x5907be):_0x4f508b,_0x2f9f17=_0x3fc685['length']-0x1,_0x18dfa8;_0x2f9f17>=0x0;_0x2f9f17--)(_0x18dfa8=_0x3fc685[_0x2f9f17])&&(_0x300f3c=_0x18dfa8(_0x300f3c)||_0x300f3c);return _0x300f3c;},_0x10aaf3=(_0x5b2329,_0x2ffe60)=>(_0x7d5d0f,_0x28df9d)=>_0x2ffe60(_0x7d5d0f,_0x28df9d,_0x5b2329);const _0x323811=0x12c,_0x4f67ed=0x64;let _0x5d4a58=class extends _0x15b207[_0x28bb4a(0xac)]{constructor(_0x19dfa5,_0x391159,_0x48e753,_0x5ed0a8,_0x4159d4,_0x538830,_0x2e0c5a,_0x33b9dc,_0x131932){const _0x3b06c5=_0x28bb4a;super(),_0x52ecbf(this,_0x3b06c5(0x28d),!0x1),_0x52ecbf(this,'_init',!0x1),_0x52ecbf(this,'_cursorInfo$',new _0x548118['BehaviorSubject'](new Map())),_0x52ecbf(this,_0x3b06c5(0x177),this[_0x3b06c5(0x1cf)][_0x3b06c5(0x21d)]()),_0x52ecbf(this,'_roomMembers$',new _0x548118[(_0x3b06c5(0x1bb))]([])),_0x52ecbf(this,'roomMembers$',this[_0x3b06c5(0x247)][_0x3b06c5(0x150)](_0x548118[_0x3b06c5(0x275)](_0x323811))),_0x52ecbf(this,_0x3b06c5(0x2cd),_0x15b207[_0x3b06c5(0x2e6)](_0x466a09=>{const _0x3edb91=_0x3b06c5,_0x5cb245={'eventID':_0x38de55[_0x3edb91(0xe1)][_0x3edb91(0x25a)],'data':{'unitID':this[_0x3edb91(0x136)],'memberID':this[_0x3edb91(0x304)]['getMemberID'](),'selection':_0x4a55c0(_0x466a09)}};this['_session'][_0x3edb91(0x2a4)](_0x5cb245,this[_0x3edb91(0x136)]);},_0x4f67ed)),(this[_0x3b06c5(0x136)]=_0x19dfa5,this['_session']=_0x391159,this[_0x3b06c5(0x25e)]=_0x48e753,this[_0x3b06c5(0x218)]=_0x5ed0a8,this[_0x3b06c5(0xad)]=_0x4159d4,this[_0x3b06c5(0x22e)]=_0x538830,this['_transformService']=_0x2e0c5a,this[_0x3b06c5(0x2cf)]=_0x33b9dc,this[_0x3b06c5(0x12f)]=_0x131932);}get['cursorInfo'](){const _0x438429=_0x28bb4a;return this[_0x438429(0x1cf)][_0x438429(0x158)]();}get[_0x28bb4a(0x109)](){const _0x566e16=_0x28bb4a;return this[_0x566e16(0x247)][_0x566e16(0x158)]();}['dispose'](){const _0x46612c=_0x28bb4a;super[_0x46612c(0x152)](),this['_cursorInfo$'][_0x46612c(0x225)](new Map()),this['_cursorInfo$'][_0x46612c(0x268)](),this[_0x46612c(0x247)]['next']([]),this[_0x46612c(0x247)][_0x46612c(0x268)]();}[_0x28bb4a(0xff)](){const _0x5b6025=_0x28bb4a;this[_0x5b6025(0x93)]||(this[_0x5b6025(0x93)]=!0x0,this['_session'][_0x5b6025(0x19e)][_0x5b6025(0x150)](_0x548118[_0x5b6025(0x1c4)](this['dispose$']))['subscribe'](_0x5e5b9d=>{const _0x588092=_0x5b6025;_0x5e5b9d===_0x3fe587[_0x588092(0x216)]['ONLINE']?this['_toggleOnline']():this[_0x588092(0xf7)]();}),this[_0x5b6025(0x304)][_0x5b6025(0xdd)][_0x5b6025(0x150)](_0x548118['takeUntil'](this['dispose$']))[_0x5b6025(0xa7)](_0x24af24=>{const _0x42cfa0=_0x5b6025,_0x4f9dc1=_0x24af24[_0x42cfa0(0x274)];_0x4f9dc1===_0x38de55[_0x42cfa0(0xe1)][_0x42cfa0(0x25a)]&&this[_0x42cfa0(0x2ed)](_0x24af24),_0x4f9dc1===_0x38de55[_0x42cfa0(0xe1)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x24af24);}),this[_0x5b6025(0x280)](this[_0x5b6025(0x12f)][_0x5b6025(0x1f4)](_0xbac4f4=>{const _0x3f7f64=_0x5b6025,_0x256fe5=_0xbac4f4[_0x3f7f64(0x2dc)];_0x256fe5!=null&&this['_online']&&_0xbac4f4['id']===_0x374d97[_0x3f7f64(0x1db)]['id']&&_0x256fe5[_0x3f7f64(0x1d4)]===this[_0x3f7f64(0x136)]&&_0x256fe5[_0x3f7f64(0x2bc)]===!0x1&&_0x256fe5[_0x3f7f64(0x1a6)][_0x3f7f64(0x27e)]>0x0&&this[_0x3f7f64(0x2cd)](_0x256fe5[_0x3f7f64(0x1a6)]);})),this['_syncEditingCollabCursorService'][_0x5b6025(0xfa)][_0x5b6025(0x150)](_0x548118['takeUntil'](this['dispose$']))[_0x5b6025(0xa7)](_0x2d611c=>{const _0x16a65b=_0x5b6025;if((_0x2d611c==null?void 0x0:_0x2d611c[_0x16a65b(0x136)])!==this['unitID'])return;const _0x4dfc47={'eventID':_0x38de55['CollaborationEvent'][_0x16a65b(0x25a)],'data':_0x2d611c};this['_onCursorUpdate'](_0x4dfc47);}),this[_0x5b6025(0x280)](this[_0x5b6025(0x12f)][_0x5b6025(0x1f4)](_0x4ed3d5=>{const _0x3d9dc6=_0x5b6025;if(_0x4ed3d5['params']==null)return;const _0x2c1db5=_0x4ed3d5[_0x3d9dc6(0x2dc)];if(_0x4ed3d5['id']!==_0x374d97['RichTextEditingMutation']['id']||_0x2c1db5[_0x3d9dc6(0x1d4)]!==this[_0x3d9dc6(0x136)])return;const _0x3ab060={'id':_0x3d9dc6(0xb9),'params':_0x2c1db5},_0x4feb15=this[_0x3d9dc6(0x1ca)];for(const [_0x2d96e2,_0x430a3e]of _0x4feb15){const _0x98c30e={'id':_0x3d9dc6(0xb9),'params':{'unitId':this[_0x3d9dc6(0x136)],'actions':null,'textRanges':_0x430a3e[_0x3d9dc6(0x1a6)]}},_0x3424a4=this[_0x3d9dc6(0x1d9)][_0x3d9dc6(0x100)](_0x3ab060,_0x98c30e,!0x1);if(_0x38de55[_0x3d9dc6(0x1fa)](_0x3424a4))throw _0x3424a4['error'];_0x4feb15[_0x3d9dc6(0x31b)](_0x2d96e2,{..._0x430a3e,'ranges':_0x3424a4[_0x3d9dc6(0x2f2)]['params']['textRanges']});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x4feb15);});})));}[_0x28bb4a(0x2ed)](_0x3c5da2){const _0x586ec4=_0x28bb4a;var _0x269f04,_0x29420e;const {memberID:_0xa5208,selection:_0x221192}=_0x3c5da2[_0x586ec4(0x137)],_0x1fa05c=_0xf8cd1a(_0x221192),_0x5c2494=(_0x29420e=(_0x269f04=this[_0x586ec4(0xad)]['getMember'](this[_0x586ec4(0x136)],_0xa5208))==null?void 0x0:_0x269f04[_0x586ec4(0x28a)])!=null?_0x29420e:_0x586ec4(0x317),_0x31c9d9={'color':this[_0x586ec4(0x218)][_0x586ec4(0x276)](_0xa5208),'name':_0x5c2494,'ranges':_0x1fa05c},_0x559405=this[_0x586ec4(0x1ca)];_0x559405['set'](_0xa5208,_0x31c9d9),this[_0x586ec4(0x1cf)][_0x586ec4(0x225)](_0x559405);}[_0x28bb4a(0x166)](_0x807cd7){const _0x9a5bde=_0x28bb4a,{memberID:_0x365461}=_0x807cd7[_0x9a5bde(0x137)],_0x114f65=this[_0x9a5bde(0x1ca)];_0x114f65['delete'](_0x365461),this['_cursorInfo$'][_0x9a5bde(0x225)](_0x114f65);}[_0x28bb4a(0x168)](){const _0x2f054=_0x28bb4a;var _0x4ae4cf;if(this['_online']=!0x0,((_0x4ae4cf=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x4ae4cf[_0x2f054(0x220)]())!==this['unitID'])return;const _0x356f1c=this[_0x2f054(0x25e)][_0x2f054(0x2ca)](_0x374d97[_0x2f054(0x2d5)])['getDocRanges']();Array[_0x2f054(0x1bc)](_0x356f1c)&&_0x356f1c[_0x2f054(0x27e)]>0x0&&this[_0x2f054(0x2cd)](_0x356f1c);}['_toggleOffline'](){const _0x26c577=_0x28bb4a;this[_0x26c577(0x28d)]=!0x1;}};_0x5d4a58=_0x3b42b0([_0x10aaf3(0x2,_0x15b207['Inject'](_0x15b207[_0x28bb4a(0xed)])),_0x10aaf3(0x3,_0x15b207['Inject'](_0x406998)),_0x10aaf3(0x4,_0x15b207[_0x28bb4a(0x99)](_0x3fe587[_0x28bb4a(0x30b)])),_0x10aaf3(0x5,_0x15b207[_0x28bb4a(0x99)](_0x50948d)),_0x10aaf3(0x6,_0x38de55[_0x28bb4a(0x1ce)]),_0x10aaf3(0x7,_0x15b207[_0x28bb4a(0x1b0)]),_0x10aaf3(0x8,_0x15b207[_0x28bb4a(0x195)])],_0x5d4a58);var _0x28029c=Object[_0x28bb4a(0x11a)],_0x12fbc2=(_0x56892d,_0x5ec727,_0xe457ca,_0x3a28f3)=>{const _0x3da090=_0x28bb4a;for(var _0x5af0d3=_0x3a28f3>0x1?void 0x0:_0x3a28f3?_0x28029c(_0x5ec727,_0xe457ca):_0x5ec727,_0x3ad6e8=_0x56892d[_0x3da090(0x27e)]-0x1,_0x17118f;_0x3ad6e8>=0x0;_0x3ad6e8--)(_0x17118f=_0x56892d[_0x3ad6e8])&&(_0x5af0d3=_0x17118f(_0x5af0d3)||_0x5af0d3);return _0x5af0d3;},_0x5d2d35=(_0x2bac89,_0x3654ff)=>(_0x4ce77b,_0x4608e3)=>_0x3654ff(_0x4ce77b,_0x4608e3,_0x2bac89);const _0x5ccb72=0x12c,_0x453199=0x64,_0x4fd739=()=>{let _0x2f74ca=[],_0x54ae2d=!0x1;return _0x222823=>{_0x2f74ca['push'](_0x222823),_0x54ae2d||(_0x54ae2d=!0x0,setTimeout(()=>{const _0x520fe1=_0x57fc;_0x2f74ca[_0x520fe1(0x15d)](_0x519e89=>_0x519e89()),_0x2f74ca=[],_0x54ae2d=!0x1;}));};};let _0x2587d0=class extends _0x15b207[_0x28bb4a(0xac)]{constructor(_0x140fcf,_0x4cbda0,_0x2a849c,_0x582642,_0xc7211f,_0x238902,_0x145921,_0x494ad3){const _0x44870d=_0x28bb4a;super(),_0x52ecbf(this,_0x44870d(0x28d),!0x1),_0x52ecbf(this,_0x44870d(0x93),!0x1),_0x52ecbf(this,_0x44870d(0x1cf),new _0x548118[(_0x44870d(0x1bb))](new Map())),_0x52ecbf(this,_0x44870d(0x177),this[_0x44870d(0x1cf)][_0x44870d(0x21d)]()),_0x52ecbf(this,'_roomMembers$',new _0x548118['BehaviorSubject']([])),_0x52ecbf(this,_0x44870d(0x313),this[_0x44870d(0x247)][_0x44870d(0x150)](_0x548118[_0x44870d(0x275)](_0x5ccb72))),_0x52ecbf(this,_0x44870d(0x2cd),_0x15b207[_0x44870d(0x2e6)]((_0x1b0f19,_0x2eed22)=>{const _0x482639=_0x44870d,_0x14f2c5={'eventID':_0x38de55[_0x482639(0xe1)][_0x482639(0x25a)],'data':{'unitID':this['unitID'],'memberID':this[_0x482639(0x304)][_0x482639(0x108)](),'selection':_0x32b66c['serializeRangeWithSheet'](_0x1b0f19,_0x2eed22['range'])}};this[_0x482639(0x304)][_0x482639(0x2a4)](_0x14f2c5,this[_0x482639(0x136)]);},_0x453199)),(this['unitID']=_0x140fcf,this[_0x44870d(0x304)]=_0x4cbda0,this[_0x44870d(0x25e)]=_0x2a849c,this[_0x44870d(0x218)]=_0x582642,this['_memberService']=_0xc7211f,this['_univerInstanceService']=_0x238902,this['_commandService']=_0x145921,this[_0x44870d(0x97)]=_0x494ad3);}get[_0x28bb4a(0x1ca)](){const _0x5a100d=_0x28bb4a;return this[_0x5a100d(0x1cf)]['getValue']();}get[_0x28bb4a(0x109)](){const _0x440ed4=_0x28bb4a;return this[_0x440ed4(0x247)][_0x440ed4(0x158)]();}[_0x28bb4a(0x152)](){const _0x1c6fb1=_0x28bb4a;super[_0x1c6fb1(0x152)](),this['_cursorInfo$'][_0x1c6fb1(0x225)](new Map()),this[_0x1c6fb1(0x1cf)][_0x1c6fb1(0x268)](),this['_roomMembers$']['next']([]),this[_0x1c6fb1(0x247)]['complete']();}[_0x28bb4a(0xff)](){const _0x141117=_0x28bb4a;this[_0x141117(0x93)]||(this['_init']=!0x0,this[_0x141117(0x304)][_0x141117(0x19e)][_0x141117(0x150)](_0x548118[_0x141117(0x1c4)](this[_0x141117(0x18e)]))['subscribe'](_0x5c3362=>{const _0x17e522=_0x141117;_0x5c3362===_0x3fe587['SessionStatus'][_0x17e522(0x192)]?this[_0x17e522(0x168)]():this['_toggleOffline']();}),this['_session'][_0x141117(0xdd)]['pipe'](_0x548118['takeUntil'](this[_0x141117(0x18e)]))['subscribe'](_0x1dcbae=>{const _0x52ec41=_0x141117,_0x25e84d=_0x1dcbae[_0x52ec41(0x274)];_0x25e84d===_0x38de55['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x52ec41(0x2ed)](_0x1dcbae),_0x25e84d===_0x38de55[_0x52ec41(0xe1)][_0x52ec41(0x233)]&&this[_0x52ec41(0x166)](_0x1dcbae);}),this[_0x141117(0x23c)](),this[_0x141117(0x280)](this[_0x141117(0x12f)]['onCommandExecuted'](_0x5863d9=>{const _0x340f45=_0x141117;if(this[_0x340f45(0x28d)]&&_0x5863d9['id']===_0x159c7f[_0x340f45(0x257)]['id']&&_0x5863d9[_0x340f45(0x2dc)][_0x340f45(0x1d4)]===this[_0x340f45(0x136)]){const _0x23b858=_0x5863d9['params'];this['_updateLocalCursor'](_0x23b858[_0x340f45(0x25b)],_0x23b858[_0x340f45(0x300)][0x0]);}})));}[_0x28bb4a(0x2ed)](_0x3fe322){const _0x7cc212=_0x28bb4a;var _0x22d240,_0x3d226f;const {memberID:_0x24b155,selection:_0x40a7f1}=_0x3fe322[_0x7cc212(0x137)],{sheetName:_0x23c34e,range:_0x4dad06}=_0x32b66c['deserializeRangeWithSheet'](_0x40a7f1),_0x27465b={'name':(_0x3d226f=(_0x22d240=this[_0x7cc212(0xad)][_0x7cc212(0x272)](this[_0x7cc212(0x136)],_0x24b155))==null?void 0x0:_0x22d240['name'])!=null?_0x3d226f:_0x7cc212(0x317),'range':this['_getMergeRange'](_0x23c34e,_0x4dad06),'sheetID':_0x23c34e,'color':this[_0x7cc212(0x218)]['assignAColorForMemberID'](_0x24b155),'selection':_0x40a7f1},_0x3de97d=this[_0x7cc212(0x1ca)];_0x3de97d[_0x7cc212(0x31b)](_0x24b155,_0x27465b),this[_0x7cc212(0x1cf)][_0x7cc212(0x225)](_0x3de97d);}[_0x28bb4a(0x166)](_0xb0e34c){const _0x2afc04=_0x28bb4a,{memberID:_0x9b53dd}=_0xb0e34c[_0x2afc04(0x137)],_0x12a112=this[_0x2afc04(0x1ca)];_0x12a112['delete'](_0x9b53dd),this[_0x2afc04(0x1cf)]['next'](_0x12a112);}[_0x28bb4a(0xfd)](_0x2bcf6c,_0x90f5e9){const _0x1070e6=_0x28bb4a;var _0x4a84ae,_0x4ae43f;const _0x4542e3=(_0x4ae43f=(_0x4a84ae=this['_univerInstanceService'][_0x1070e6(0x242)](this[_0x1070e6(0x136)]))==null?void 0x0:_0x4a84ae['getSheetBySheetId'](_0x2bcf6c))==null?void 0x0:_0x4ae43f['getMergeData']();return(_0x4542e3==null?void 0x0:_0x4542e3[_0x1070e6(0x303)](_0x22e9d2=>_0x15b207[_0x1070e6(0x19b)]['contains'](_0x22e9d2,_0x90f5e9)))||_0x90f5e9;}[_0x28bb4a(0x23c)](){const _0x49a45f=_0x28bb4a,_0x2c36dd=new _0x15b207[(_0x49a45f(0x266))](),_0x28b6cb=_0x4fd739(),_0xc767d8=()=>{const _0x4712a8=_0x49a45f;_0x2c36dd['dispose']();const _0x54e23b=(_0x438a9f,_0x46b20c,_0x409ef6,_0x5d2957)=>{const _0x2a81ce=_0x57fc;let _0xf44044=[];switch(_0x438a9f['id']){case _0x159c7f[_0x2a81ce(0x323)][_0x2a81ce(0x28e)]:{_0xf44044=_0x159c7f[_0x2a81ce(0x1ec)](_0x438a9f,_0x5d2957);break;}case _0x159c7f['EffectRefRangId'][_0x2a81ce(0x2c0)]:{_0xf44044=_0x159c7f[_0x2a81ce(0x2e5)](_0x438a9f,_0x5d2957);break;}case _0x159c7f[_0x2a81ce(0x323)][_0x2a81ce(0x2fe)]:{_0xf44044=_0x159c7f[_0x2a81ce(0x178)](_0x438a9f,_0x5d2957);break;}case _0x159c7f['EffectRefRangId'][_0x2a81ce(0x26f)]:{_0xf44044=_0x159c7f[_0x2a81ce(0x11d)](_0x438a9f,_0x5d2957);break;}case _0x159c7f['EffectRefRangId'][_0x2a81ce(0x144)]:{_0xf44044=_0x159c7f[_0x2a81ce(0x110)](_0x438a9f,_0x5d2957);break;}case _0x159c7f[_0x2a81ce(0x323)]['InsertRowCommandId']:{_0xf44044=_0x159c7f[_0x2a81ce(0x92)](_0x438a9f,_0x5d2957);break;}case _0x159c7f[_0x2a81ce(0x323)][_0x2a81ce(0x26c)]:{_0xf44044=_0x159c7f[_0x2a81ce(0x292)](_0x438a9f,_0x5d2957);break;}case _0x159c7f[_0x2a81ce(0x323)][_0x2a81ce(0x244)]:{_0xf44044=_0x159c7f['handleIRemoveCol'](_0x438a9f,_0x5d2957);break;}case _0x159c7f[_0x2a81ce(0x323)][_0x2a81ce(0xb1)]:{_0xf44044=_0x159c7f['handleIRemoveRow'](_0x438a9f,_0x5d2957);break;}}const _0x525362=_0x159c7f[_0x2a81ce(0x9e)](_0xf44044,_0x5d2957),_0x3bd811=this[_0x2a81ce(0x1ca)][_0x2a81ce(0x2ca)](_0x46b20c);if(_0x3bd811&&_0x525362){const _0x4e6c04={..._0x3bd811,'range':_0x525362};this[_0x2a81ce(0x1ca)]['set'](_0x46b20c,_0x4e6c04),_0x28b6cb(()=>{const _0xd78711=_0x2a81ce,_0x155106=this[_0xd78711(0x97)][_0xd78711(0x1ef)](_0x525362,_0x1a4b1a=>(_0x155106['dispose'](),_0x54e23b(_0x1a4b1a,_0x46b20c,_0x409ef6,_0x525362)));_0x2c36dd['add'](_0x155106);});}return{'redos':[],'undos':[]};};this[_0x4712a8(0x1ca)][_0x4712a8(0x15d)]((_0xf0e5b9,_0x2bf686)=>{const _0x3c92e4=_0x4712a8,{range:_0xc5f0ab,sheetID:_0x1d6a58}=_0xf0e5b9,_0x2dc3e2=this[_0x3c92e4(0x97)][_0x3c92e4(0x1ef)](_0xc5f0ab,_0x2fca07=>(_0x2dc3e2['dispose'](),_0x54e23b(_0x2fca07,_0x2bf686,_0x1d6a58,_0xc5f0ab)));_0x2c36dd[_0x3c92e4(0xce)](_0x2dc3e2);});};this[_0x49a45f(0x280)](_0x15b207[_0x49a45f(0x30c)](this['_cursorInfo$']['subscribe'](()=>{_0xc767d8();})));}[_0x28bb4a(0x168)](){const _0x114c99=_0x28bb4a;var _0x2b1a04,_0x195cfb;if(this['_online']=!0x0,((_0x2b1a04=this[_0x114c99(0x2cf)][_0x114c99(0xcc)]())==null?void 0x0:_0x2b1a04[_0x114c99(0x220)]())!==this[_0x114c99(0x136)])return;const _0x1072ca=(_0x195cfb=this['_injector'][_0x114c99(0x2ca)](_0x159c7f[_0x114c99(0x315)])[_0x114c99(0x17c)]())==null?void 0x0:_0x195cfb[0x0],_0x58eda3=this[_0x114c99(0x2cf)][_0x114c99(0x29f)](_0x15b207[_0x114c99(0x306)][_0x114c99(0x1f5)])['getActiveSheet']();_0x1072ca&&_0x58eda3&&this[_0x114c99(0x2cd)](_0x58eda3[_0x114c99(0x142)](),_0x1072ca);}['_toggleOffline'](){const _0x23f6fa=_0x28bb4a;this[_0x23f6fa(0x28d)]=!0x1;}};_0x2587d0=_0x12fbc2([_0x5d2d35(0x2,_0x15b207['Inject'](_0x15b207['Injector'])),_0x5d2d35(0x3,_0x15b207[_0x28bb4a(0x99)](_0x406998)),_0x5d2d35(0x4,_0x15b207['Inject'](_0x3fe587[_0x28bb4a(0x30b)])),_0x5d2d35(0x5,_0x15b207[_0x28bb4a(0x1b0)]),_0x5d2d35(0x6,_0x15b207[_0x28bb4a(0x195)]),_0x5d2d35(0x7,_0x15b207['Inject'](_0x159c7f[_0x28bb4a(0x173)]))],_0x2587d0);var _0x3649f0=Object[_0x28bb4a(0x11a)],_0x58bc55=(_0x38274b,_0x396774,_0x5e6f94,_0x419c14)=>{const _0x5bb5f5=_0x28bb4a;for(var _0x45085e=_0x419c14>0x1?void 0x0:_0x419c14?_0x3649f0(_0x396774,_0x5e6f94):_0x396774,_0x13d41a=_0x38274b[_0x5bb5f5(0x27e)]-0x1,_0x11eaad;_0x13d41a>=0x0;_0x13d41a--)(_0x11eaad=_0x38274b[_0x13d41a])&&(_0x45085e=_0x11eaad(_0x45085e)||_0x45085e);return _0x45085e;},_0x332f3b=(_0x33c694,_0x553bed)=>(_0x5d91c2,_0x1320a3)=>_0x553bed(_0x5d91c2,_0x1320a3,_0x33c694);let _0x338aa0=class extends _0x15b207[_0x28bb4a(0xac)]{constructor(_0x32ec5,_0xf0eb9e,_0x2e7a52){const _0x3094f5=_0x28bb4a;super(),_0x52ecbf(this,_0x3094f5(0x18a),new Map()),_0x52ecbf(this,_0x3094f5(0x2c8),new _0x548118[(_0x3094f5(0x228))]()),(this[_0x3094f5(0x2cf)]=_0x32ec5,this[_0x3094f5(0x25e)]=_0xf0eb9e,this['_collabSessionService']=_0x2e7a52,this['_init']());}[_0x28bb4a(0x152)](){const _0x2636bc=_0x28bb4a;super[_0x2636bc(0x152)](),this[_0x2636bc(0x2c8)][_0x2636bc(0x268)](),this['_entities'][_0x2636bc(0x15d)](_0x48e791=>_0x48e791[_0x2636bc(0x152)]());}[_0x28bb4a(0x2a6)](_0x2d6bf1){const _0x4ae5fb=_0x28bb4a;return this['_entities'][_0x4ae5fb(0x2e9)](_0x2d6bf1)?this[_0x4ae5fb(0x18a)][_0x4ae5fb(0x2ca)](_0x2d6bf1)['cursorInfo$']:this[_0x4ae5fb(0x2c8)][_0x4ae5fb(0x150)](_0x548118[_0x4ae5fb(0x2eb)](_0x32b838=>_0x32b838[_0x4ae5fb(0x136)]===_0x2d6bf1),_0x548118[_0x4ae5fb(0xd6)](_0x411911=>_0x411911[_0x4ae5fb(0x177)]));}[_0x28bb4a(0x93)](){const _0x20b5dd=_0x28bb4a;this[_0x20b5dd(0x2cf)]['getTypeOfUnitAdded$'](_0x15b207['UniverInstanceType'][_0x20b5dd(0x1f5)])[_0x20b5dd(0x150)](_0x548118['takeUntil'](this[_0x20b5dd(0x18e)]))[_0x20b5dd(0xa7)](async _0x49f70a=>{const _0x23cfdc=_0x20b5dd,_0x148300=_0x49f70a[_0x23cfdc(0x220)](),_0x486a25=await this[_0x23cfdc(0x9d)](_0x148300);this[_0x23cfdc(0x2c8)][_0x23cfdc(0x225)](_0x486a25),this['_entities'][_0x23cfdc(0x31b)](_0x148300,_0x486a25);}),this[_0x20b5dd(0x2cf)][_0x20b5dd(0x2e3)](_0x15b207[_0x20b5dd(0x306)][_0x20b5dd(0x2ef)])['pipe'](_0x548118[_0x20b5dd(0x1c4)](this[_0x20b5dd(0x18e)]))[_0x20b5dd(0x150)](_0x548118['filter'](_0xeaf1c3=>!_0xeaf1c3[_0x20b5dd(0x220)]()[_0x20b5dd(0x27b)]('__')))[_0x20b5dd(0xa7)](async _0x207b61=>{const _0x51d393=_0x20b5dd,_0x4fc381=_0x207b61['getUnitId'](),_0x3fdd35=await this[_0x51d393(0xab)](_0x4fc381);this[_0x51d393(0x2c8)][_0x51d393(0x225)](_0x3fdd35),this[_0x51d393(0x18a)]['set'](_0x4fc381,_0x3fdd35);}),_0x548118['merge'](this[_0x20b5dd(0x2cf)][_0x20b5dd(0x14e)](_0x15b207[_0x20b5dd(0x306)][_0x20b5dd(0x2ef)]),this[_0x20b5dd(0x2cf)][_0x20b5dd(0x14e)](_0x15b207['UniverInstanceType']['UNIVER_SHEET']))['pipe'](_0x548118[_0x20b5dd(0x1c4)](this[_0x20b5dd(0x18e)]))[_0x20b5dd(0xa7)](_0x5ad8f1=>{const _0x31bcdb=_0x20b5dd,_0x47edaa=_0x5ad8f1[_0x31bcdb(0x220)](),_0x1273b2=this[_0x31bcdb(0x18a)][_0x31bcdb(0x2ca)](_0x47edaa);_0x1273b2&&(_0x1273b2['dispose'](),this[_0x31bcdb(0x18a)][_0x31bcdb(0x260)](_0x47edaa));});}async[_0x28bb4a(0x9d)](_0x2200bd){const _0x257c7b=_0x28bb4a,_0x1e7894=await this[_0x257c7b(0x1c6)][_0x257c7b(0x255)](_0x2200bd),_0x3d0418=this[_0x257c7b(0x25e)][_0x257c7b(0x8e)](_0x2587d0,_0x2200bd,_0x1e7894);return _0x3d0418[_0x257c7b(0xff)](),_0x3d0418;}async[_0x28bb4a(0xab)](_0x2cae1d){const _0x3621b1=_0x28bb4a,_0x49d739=await this[_0x3621b1(0x1c6)][_0x3621b1(0x255)](_0x2cae1d),_0x3c2b0=this['_injector'][_0x3621b1(0x8e)](_0x5d4a58,_0x2cae1d,_0x49d739);return _0x3c2b0[_0x3621b1(0xff)](),_0x3c2b0;}};_0x338aa0=_0x58bc55([_0x332f3b(0x0,_0x15b207[_0x28bb4a(0x1b0)]),_0x332f3b(0x1,_0x15b207['Inject'](_0x15b207[_0x28bb4a(0xed)])),_0x332f3b(0x2,_0x15b207[_0x28bb4a(0x99)](_0x3fe587['CollaborationSessionService']))],_0x338aa0);const _0x528f51=0x14,_0x36c47a=0xc8,_0x559814=0x4,_0x4320a4=0x5;function _0x1accd5(_0x358e29,_0x2dacdc){const _0x58d473=_0x28bb4a;let {radius:_0x50bc73,width:_0x2d9b47,height:_0x3fb99a}=_0x2dacdc;_0x50bc73=_0x50bc73!=null?_0x50bc73:0x0,_0x2d9b47=_0x2d9b47!=null?_0x2d9b47:0x1e,_0x3fb99a=_0x3fb99a!=null?_0x3fb99a:0x1e;let _0x5b5e57=0x0,_0x297410=0x0,_0x565c72=0x0;_0x5b5e57=_0x297410=_0x565c72=Math[_0x58d473(0x1ac)](_0x50bc73,_0x2d9b47/0x2,_0x3fb99a/0x2),_0x358e29['beginPath'](),_0x358e29['moveTo'](_0x5b5e57,0x0),_0x358e29[_0x58d473(0x239)](_0x2d9b47-_0x297410,0x0),_0x358e29[_0x58d473(0x13f)](_0x2d9b47-_0x297410,_0x297410,_0x297410,Math['PI']*0x3/0x2,0x0,!0x1),_0x358e29[_0x58d473(0x239)](_0x2d9b47,_0x3fb99a-_0x565c72),_0x358e29[_0x58d473(0x13f)](_0x2d9b47-_0x565c72,_0x3fb99a-_0x565c72,_0x565c72,0x0,Math['PI']/0x2,!0x1),_0x358e29[_0x58d473(0x239)](0x0,_0x3fb99a),_0x358e29[_0x58d473(0x239)](0x0,_0x5b5e57),_0x358e29['arc'](_0x5b5e57,_0x5b5e57,_0x5b5e57,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x358e29[_0x58d473(0x95)](),_0x2dacdc['fill']&&(_0x358e29[_0x58d473(0x289)](),_0x358e29[_0x58d473(0x1e8)]=_0x2dacdc[_0x58d473(0xc5)],_0x2dacdc[_0x58d473(0x14b)]===_0x58d473(0xca)?_0x358e29[_0x58d473(0xc5)](_0x58d473(0xca)):_0x358e29[_0x58d473(0xc5)](),_0x358e29['restore']());}class _0x1f3680 extends _0x241ab7[_0x28bb4a(0x1ae)]{constructor(_0x4e0cad,_0x180c11){const _0x4567c6=_0x28bb4a;super(_0x4e0cad,_0x180c11),_0x52ecbf(this,_0x4567c6(0x185)),_0x52ecbf(this,'text'),(this[_0x4567c6(0x185)]=_0x180c11==null?void 0x0:_0x180c11['color'],this[_0x4567c6(0x133)]=_0x180c11==null?void 0x0:_0x180c11[_0x4567c6(0x133)]);}static[_0x28bb4a(0x10e)](_0x5425c3,_0x4ba1b9){const _0x4acd6b=_0x28bb4a,{text:_0x42e617,color:_0x49ad09}=_0x4ba1b9;_0x5425c3[_0x4acd6b(0x289)](),_0x5425c3[_0x4acd6b(0x2a3)]=_0x4acd6b(0x162);const _0x4fc220=_0x5425c3[_0x4acd6b(0x1b4)](_0x42e617)[_0x4acd6b(0x198)],_0x40898c=Math[_0x4acd6b(0x1ac)](_0x4fc220+0x2*_0x559814,_0x36c47a);_0x1accd5(_0x5425c3,{'height':_0x528f51,'radius':0x4,'width':_0x40898c,'fill':_0x49ad09}),_0x5425c3[_0x4acd6b(0x1e8)]=_0x4acd6b(0x11b);const _0x356d75=_0x559814,_0x137de2=_0x528f51-_0x4320a4,_0xfd125d=_0x36c47a-0x2*_0x559814;if(_0x4fc220>_0xfd125d){let _0x36057f='',_0x205680=0x0;for(const _0x3076e0 of _0x42e617){const _0x4697c2=_0x5425c3[_0x4acd6b(0x1b4)](_0x3076e0)[_0x4acd6b(0x198)];if(_0x205680+_0x4697c2<=_0xfd125d-_0x5425c3['measureText']('...')['width'])_0x36057f+=_0x3076e0,_0x205680+=_0x4697c2;else{_0x36057f+=_0x4acd6b(0x211);break;}}_0x5425c3[_0x4acd6b(0x1be)](_0x36057f,_0x356d75,_0x137de2);}else _0x5425c3[_0x4acd6b(0x1be)](_0x42e617,_0x356d75,_0x137de2);_0x5425c3['restore']();}['_draw'](_0x52ffa6){_0x1f3680['drawWith'](_0x52ffa6,this);}}const _0x3db901=_0x28bb4a(0x1e3),_0x5c19b='collab-text-range-',_0x1f87a7=_0x28bb4a(0x181),_0x30a18e=0x6,_0x2e5076=1.5,_0x3e6cde=0x4,_0x1520c5=1.5,_0x34f5d3=_0x28bb4a(0x30f);class _0x1ae8a9{constructor(_0x57f881,_0xcfdc43,_0x298ee0,_0x539984){const _0xdcc288=_0x28bb4a;_0x52ecbf(this,'_shapes',[]),_0x52ecbf(this,_0xdcc288(0x320),null),_0x52ecbf(this,_0xdcc288(0xd7),null),_0x52ecbf(this,_0xdcc288(0xd4),null),_0x52ecbf(this,'_hideTimer',null),_0x52ecbf(this,'_eventUnsubscribe',null),(this[_0xdcc288(0x1d0)]=_0x57f881,this['_scene']=_0xcfdc43,this[_0xdcc288(0xec)]=_0x298ee0,this[_0xdcc288(0x2b9)]=_0x539984,this[_0xdcc288(0x23a)]());}set[_0x28bb4a(0x147)](_0x4a0170){const _0x31b9e0=_0x28bb4a;_0x4a0170?(this[_0x31b9e0(0xd4)]&&this[_0x31b9e0(0xd4)][_0x31b9e0(0x1e4)](),this[_0x31b9e0(0xd7)]&&this[_0x31b9e0(0xd7)][_0x31b9e0(0x29d)]()):(this['_anchorDot']&&this[_0x31b9e0(0xd4)][_0x31b9e0(0x29d)](),this[_0x31b9e0(0xd7)]&&this[_0x31b9e0(0xd7)]['hide']());}[_0x28bb4a(0x152)](){const _0x5f226a=_0x28bb4a;for(const _0x577fb9 of this['_shapes'])_0x577fb9[_0x5f226a(0x152)]();this[_0x5f226a(0xd7)]&&this[_0x5f226a(0xd7)][_0x5f226a(0x152)](),this[_0x5f226a(0xd4)]&&this[_0x5f226a(0xd4)]['dispose'](),this['_anchor']&&this[_0x5f226a(0x320)]['dispose'](),this[_0x5f226a(0x120)]&&this[_0x5f226a(0x120)]();}[_0x28bb4a(0x23a)](){const _0x3fb33c=_0x28bb4a;var _0x361e1f;const {_docSkeleton:_0x2ba12b,_document:_0x525663}=this,{color:_0x1fb141,name:_0x30ba5d,ranges:_0x3b6e3e}=this['_cursor'],_0x1a0d3a=_0x525663['getOffsetConfig'](),{docsLeft:_0x254959,docsTop:_0x5ad743}=_0x1a0d3a,_0x3fa5c0=new _0x57acc0[(_0x3fb33c(0x2ec))](_0x1a0d3a,_0x2ba12b);for(const {startOffset:_0x1dd132,endOffset:_0x4fbbae,rangeType:_0x2b1e83,segmentId:_0x1cd086,segmentPage:_0x508744,collapsed:_0x4d294,isActive:_0x4f135d}of _0x3b6e3e){const _0xb198c6=_0x2ba12b[_0x3fb33c(0x2dd)](_0x1dd132,!0x0,_0x1cd086,_0x508744);let _0x24e26a=_0x2ba12b[_0x3fb33c(0x2dd)](_0x4fbbae,!0x0,_0x1cd086,_0x508744);if(_0x24e26a==null&&(_0x24e26a=_0x2ba12b[_0x3fb33c(0x2dd)](_0x4fbbae-0x1,!0x1,_0x1cd086,_0x508744)),_0x4f135d){const {contentBoxPointGroup:_0xb419e3}=_0x3fa5c0[_0x3fb33c(0x114)](_0x24e26a,_0x24e26a);if(_0xb419e3['length']===0x0)continue;this[_0x3fb33c(0xd1)](_0x1fb141,_0xb419e3,_0x254959,_0x5ad743,_0x30ba5d),this['_eventUnsubscribe']=this[_0x3fb33c(0x2d2)]();}if(_0xb198c6&&_0x24e26a){if(_0x2b1e83===_0x15b207[_0x3fb33c(0x28c)][_0x3fb33c(0x265)]){const _0x18caa4=new _0x57acc0[(_0x3fb33c(0x2e2))](_0x1a0d3a,_0x2ba12b),{pointGroup:_0x37600f}=(_0x361e1f=_0x18caa4['getRangePointData'](_0xb198c6,_0x24e26a))!=null?_0x361e1f:{};if(_0x37600f==null||_0x37600f['length']===0x0)continue;this['_drawRectRange'](_0x1fb141,_0x37600f,_0x254959,_0x5ad743);}else{if(!_0x4d294){const {borderBoxPointGroup:_0x45fc74}=_0x3fa5c0[_0x3fb33c(0x114)](_0xb198c6,_0x24e26a);if(_0x45fc74[_0x3fb33c(0x27e)]===0x0)continue;this[_0x3fb33c(0x2b1)](_0x1fb141,_0x45fc74,_0x254959,_0x5ad743);}}}}}['_drawAnchor'](_0x2e8a75,_0xac87c9,_0x1e7d91,_0xa84ac3,_0x44c0c9){const _0x117f52=_0x28bb4a,_0x3fabae=this[_0x117f52(0x258)](_0xac87c9),{left:_0x1e1cde,top:_0x2ff52b,height:_0x8b3ae5}=_0x3fabae,_0x1c9774=this[_0x117f52(0x26e)](),_0x50a206=_0x1520c5/_0x1c9774,_0x16c766=new _0x241ab7[(_0x117f52(0x284))](_0x3db901+_0x15b207[_0x117f52(0xb8)][_0x117f52(0x2b2)](_0x30a18e),{'left':_0x1e1cde+_0x1e7d91-_0x50a206,'top':_0x2ff52b+_0xa84ac3,'height':_0x8b3ae5,'width':_0x2e5076,'fill':_0x2e8a75||_0x241ab7[_0x117f52(0x29a)](_0x15b207['COLORS']['black'],0x0),'strokeWidth':_0x50a206,'stroke':_0x34f5d3,'evented':!0x0});this[_0x117f52(0x320)]=_0x16c766,this[_0x117f52(0x161)]['addObject'](_0x16c766,_0x57acc0['TEXT_RANGE_LAYER_INDEX']);const _0x5bb223=new _0x241ab7['Rect'](_0x3db901+_0x15b207[_0x117f52(0xb8)][_0x117f52(0x2b2)](_0x30a18e),{'left':_0x1e1cde+_0x1e7d91-_0x50a206,'top':_0x2ff52b+_0xa84ac3-_0x3e6cde/0x2,'height':_0x3e6cde,'width':_0x3e6cde,'fill':_0x2e8a75||_0x241ab7['getColor'](_0x15b207['COLORS'][_0x117f52(0xc4)],0x0),'strokeWidth':0x0,'stroke':_0x2e8a75||_0x241ab7[_0x117f52(0x29a)](_0x15b207[_0x117f52(0x23e)]['black'],0x0),'evented':!0x1});this[_0x117f52(0xd4)]=_0x5bb223,this[_0x117f52(0x161)][_0x117f52(0x25d)](_0x5bb223,_0x57acc0[_0x117f52(0x12b)]);const _0x5158db=new _0x1f3680(_0x3db901+_0x15b207['Tools'][_0x117f52(0x2b2)](_0x30a18e),{'left':_0x1e1cde+_0x1e7d91-_0x50a206,'top':_0x2ff52b+_0xa84ac3-_0x528f51,'text':_0x44c0c9,'color':_0x2e8a75});this[_0x117f52(0xd7)]=_0x5158db,this[_0x117f52(0x161)][_0x117f52(0x25d)](_0x5158db,_0x57acc0['TEXT_RANGE_LAYER_INDEX']),this[_0x117f52(0x147)]=!0x1;}[_0x28bb4a(0x2d2)](){const _0x4ae9a7=_0x28bb4a,_0x5853b0=this[_0x4ae9a7(0x320)]['onPointerEnter$'][_0x4ae9a7(0xc1)](()=>{this['_hover']=!0x0;}),_0x32c0b3=this[_0x4ae9a7(0x320)][_0x4ae9a7(0x1f0)][_0x4ae9a7(0xc1)](()=>{const _0x3ba841=_0x4ae9a7;this[_0x3ba841(0x87)]&&clearTimeout(this[_0x3ba841(0x87)]),this['_hideTimer']=setTimeout(()=>{const _0xe7dd9c=_0x3ba841;this[_0xe7dd9c(0x147)]=!0x1;},0x7d0);});return()=>{const _0x4a694e=_0x4ae9a7;_0x5853b0['unsubscribe'](),_0x32c0b3[_0x4a694e(0xdf)]();};}['_drawTextRange'](_0x1f1677,_0x351a8c,_0x53581b,_0x459947){const _0x3e067b=_0x28bb4a,_0x43aaf2=new _0x15b207['ColorKit'](_0x1f1677)['setAlpha'](0.2)[_0x3e067b(0xe5)](),_0x2287c0=new _0x241ab7[(_0x3e067b(0x2ba))](_0x5c19b+_0x15b207[_0x3e067b(0xb8)]['generateRandomId'](_0x30a18e),{'pointsGroup':_0x351a8c,'fill':_0x43aaf2||_0x241ab7['getColor'](_0x15b207['COLORS'][_0x3e067b(0xc4)],0.2),'left':_0x53581b,'top':_0x459947,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3e067b(0x2cb)][_0x3e067b(0x2e7)](_0x2287c0),this['_scene']['addObject'](_0x2287c0,_0x57acc0[_0x3e067b(0x12b)]);}['_drawRectRange'](_0x2d9b84,_0x5ce210,_0x31e507,_0x447e37){const _0x1df221=_0x28bb4a,_0x41f0d7=new _0x15b207['ColorKit'](_0x2d9b84)['setAlpha'](0.2)[_0x1df221(0xe5)](),_0x122207=new _0x241ab7[(_0x1df221(0x2ba))](_0x1f87a7+_0x15b207['Tools'][_0x1df221(0x2b2)](_0x30a18e),{'pointsGroup':_0x5ce210,'fill':_0x41f0d7||_0x241ab7['getColor'](_0x15b207['COLORS'][_0x1df221(0xc4)],0.2),'left':_0x31e507,'top':_0x447e37,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x1df221(0x2e7)](_0x122207),this['_scene']['addObject'](_0x122207,_0x57acc0['TEXT_RANGE_LAYER_INDEX']);}[_0x28bb4a(0x258)](_0x2bc49b){const _0x18f0e2=_0x2bc49b[0x0],_0x219b56=_0x18f0e2[0x0],_0x23f83b=_0x18f0e2[0x2],{x:_0x3918b6,y:_0x56b21d}=_0x219b56,{x:_0x59de4a,y:_0x3b6ee9}=_0x23f83b;return{'left':_0x3918b6,'top':_0x56b21d,'width':_0x59de4a-_0x3918b6,'height':_0x3b6ee9-_0x56b21d};}[_0x28bb4a(0x26e)](){const _0x16cfb9=_0x28bb4a,{scaleX:_0x5a3728,scaleY:_0x190408}=this[_0x16cfb9(0x161)]['getAncestorScale']();return Math[_0x16cfb9(0x1ad)](_0x5a3728,_0x190408);}}var _0x26444f=Object[_0x28bb4a(0x11a)],_0x5aefaf=(_0x448a65,_0x9333ef,_0x806a80,_0x5eb4ef)=>{const _0x4c07f6=_0x28bb4a;for(var _0x533488=_0x5eb4ef>0x1?void 0x0:_0x5eb4ef?_0x26444f(_0x9333ef,_0x806a80):_0x9333ef,_0x2e326c=_0x448a65[_0x4c07f6(0x27e)]-0x1,_0xba0111;_0x2e326c>=0x0;_0x2e326c--)(_0xba0111=_0x448a65[_0x2e326c])&&(_0x533488=_0xba0111(_0x533488)||_0x533488);return _0x533488;},_0x4b4b8c=(_0x3dd273,_0x1d436c)=>(_0x56a135,_0x1afa48)=>_0x1d436c(_0x56a135,_0x1afa48,_0x3dd273);let _0x1927b2=class extends _0x15b207['RxDisposable']{constructor(_0x3ba389,_0x59380e,_0x163225,_0x1c155f,_0x1822f4){const _0x40734c=_0x28bb4a;super(),_0x52ecbf(this,_0x40734c(0x22d),[]),_0x52ecbf(this,'_cursors',[]),(this['_context']=_0x3ba389,this[_0x40734c(0x29b)]=_0x59380e,this[_0x40734c(0x281)]=_0x163225,this[_0x40734c(0x12f)]=_0x1c155f,this[_0x40734c(0x15a)]=_0x1822f4,this[_0x40734c(0x93)]());}[_0x28bb4a(0x93)](){const _0x377ee5=_0x28bb4a,_0x3c3057=this['_context'][_0x377ee5(0x1d4)],_0x3fe61c=this[_0x377ee5(0x29b)];this[_0x377ee5(0x280)](_0x548118[_0x377ee5(0x264)]([this[_0x377ee5(0x281)][_0x377ee5(0x2a6)](_0x3c3057),this[_0x377ee5(0x15a)][_0x377ee5(0x2a0)]])[_0x377ee5(0x150)](_0x58aad9['map'](([_0x7d9e4f,_0x177539])=>({'skeleton':_0x3fe61c[_0x377ee5(0x9b)](),'cursors':[..._0x7d9e4f[_0x377ee5(0x263)]()][_0x377ee5(0x293)](_0x1340dd=>({..._0x1340dd,'color':_0x177539[_0x1340dd[_0x377ee5(0x185)]]}))})))[_0x377ee5(0xa7)](_0x5f2544=>{const _0x8e5b93=_0x377ee5;if(this[_0x8e5b93(0xdc)](),_0x5f2544){const {skeleton:_0x3e8b16,cursors:_0x1dfff1}=_0x5f2544;this[_0x8e5b93(0x324)](_0x3e8b16,_0x1dfff1);}})),this[_0x377ee5(0x1f9)](),this[_0x377ee5(0x123)]();}['_updateCollabCursors'](_0xc13d2f,_0x1e32f7){const _0x5debd5=_0x28bb4a,{scene:_0x4169b7,mainComponent:_0x50a110}=this['_context'],_0x42162c=_0x1e32f7['map'](_0x23a041=>new _0x1ae8a9(_0x23a041,_0x4169b7,_0xc13d2f,_0x50a110));this[_0x5debd5(0x22d)]=_0x42162c,this[_0x5debd5(0x2d4)]=_0x1e32f7;}['_refreshCollabCursors'](){const _0x43781c=_0x28bb4a;this[_0x43781c(0xdc)]();const {scene:_0x5e30b3,mainComponent:_0x56c633}=this[_0x43781c(0xa4)],_0x4a495f=this[_0x43781c(0x29b)][_0x43781c(0x9b)](),_0x54106d=this['_cursors'][_0x43781c(0x125)](_0x20ef64=>new _0x1ae8a9(_0x20ef64,_0x5e30b3,_0x4a495f,_0x56c633));this[_0x43781c(0x22d)]=_0x54106d;}[_0x28bb4a(0xdc)](){const _0x42f20c=_0x28bb4a;this[_0x42f20c(0x22d)]['forEach'](_0x5df6ab=>_0x5df6ab['dispose']()),this[_0x42f20c(0x22d)]=[];}[_0x28bb4a(0x123)](){const _0x4d8c21=_0x28bb4a,_0x5f5f0d=[_0x57acc0['SetDocZoomRatioOperation']['id']];this[_0x4d8c21(0x280)](this['_commandService']['onCommandExecuted'](_0x496f78=>{const _0x48a784=_0x4d8c21;_0x5f5f0d['includes'](_0x496f78['id'])&&_0x496f78[_0x48a784(0x2dc)]['unitId']===this[_0x48a784(0xa4)][_0x48a784(0x1d4)]&&this[_0x48a784(0x24b)]();}));}['_initResize'](){const _0x24b6fe=_0x28bb4a;this[_0x24b6fe(0x280)](_0x15b207['fromEventSubject'](this[_0x24b6fe(0xa4)]['engine'][_0x24b6fe(0x94)])[_0x24b6fe(0x150)](_0x58aad9['filter'](_0x149eaf=>_0x149eaf[_0x24b6fe(0x172)]===_0x241ab7['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x24b6fe(0x1ee)]),_0x58aad9['throttleTime'](0x10))[_0x24b6fe(0xa7)](()=>{const _0x33f74c=_0x24b6fe;this[_0x33f74c(0x24b)]();}));}};_0x1927b2=_0x5aefaf([_0x4b4b8c(0x1,_0x15b207[_0x28bb4a(0x99)](_0x374d97[_0x28bb4a(0xa6)])),_0x4b4b8c(0x2,_0x15b207[_0x28bb4a(0x99)](_0x338aa0)),_0x4b4b8c(0x3,_0x15b207[_0x28bb4a(0x195)]),_0x4b4b8c(0x4,_0x15b207[_0x28bb4a(0x99)](_0x15b207[_0x28bb4a(0x130)]))],_0x1927b2);const _0x45f627=0x1,_0x36d077=1.5;class _0x2dea2d extends _0x241ab7[_0x28bb4a(0x1ae)]{constructor(_0x533a80,_0xb6324b){const _0x2b9b31=_0x28bb4a;super(_0x533a80,_0xb6324b),_0x52ecbf(this,'_color'),_0x52ecbf(this,_0x2b9b31(0x9a),!0x1),_0x52ecbf(this,_0x2b9b31(0x301)),_0x52ecbf(this,_0x2b9b31(0x1d2),''),_0x52ecbf(this,_0x2b9b31(0x21b),_0x2b9b31(0x2d6)),_0x52ecbf(this,'_backgroundColor'),(_0xb6324b&&this[_0x2b9b31(0x24f)](_0xb6324b),this[_0x2b9b31(0x231)]['subscribeEvent'](()=>this[_0x2b9b31(0x24f)]({'hovered':!0x0})),this[_0x2b9b31(0x1f0)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x4cea70){const _0x447e61=_0x28bb4a;var _0x2ec83a,_0x3f347e,_0x307333,_0x139c2d,_0x47dcf8,_0x40b6e9;this[_0x447e61(0xd0)]=(_0x2ec83a=_0x4cea70[_0x447e61(0x185)])!=null?_0x2ec83a:this[_0x447e61(0xd0)],this[_0x447e61(0x9a)]=(_0x3f347e=_0x4cea70[_0x447e61(0x20c)])!=null?_0x3f347e:this['_hovered'],this[_0x447e61(0x301)]=(_0x307333=_0x4cea70[_0x447e61(0x1fd)])!=null?_0x307333:this['_range'],this['_name']=(_0x139c2d=_0x4cea70['name'])!=null?_0x139c2d:this[_0x447e61(0x1d2)],this[_0x447e61(0x21b)]=(_0x47dcf8=_0x4cea70[_0x447e61(0x9f)])!=null?_0x47dcf8:this['_labelPosition'],this[_0x447e61(0x1e2)]=(_0x40b6e9=_0x4cea70[_0x447e61(0x2c5)])!=null?_0x40b6e9:this[_0x447e61(0x1e2)],this[_0x447e61(0x29c)]({'width':_0x4cea70[_0x447e61(0x198)],'height':_0x4cea70[_0x447e61(0x184)]});}[_0x28bb4a(0x283)](_0x2a47d8){const _0x352281=_0x28bb4a,{row:_0x577d3b,column:_0x5f009f}=_0x2a47d8;if(_0x577d3b>=this[_0x352281(0x301)]['startRow']&&_0x577d3b<=this['_range'][_0x352281(0xcf)]&&_0x5f009f>=this[_0x352281(0x301)][_0x352281(0x312)]&&_0x5f009f<=this[_0x352281(0x301)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x352281(0x24f)]({'hovered':!0x1});}[_0x28bb4a(0x17a)](_0x53fb1b){return!0x1;}['_draw'](_0x286c37){const _0x4ef7e4=_0x28bb4a;_0x241ab7[_0x4ef7e4(0x284)][_0x4ef7e4(0x10e)](_0x286c37,{'width':this['width'],'height':this[_0x4ef7e4(0x184)],'strokeWidth':_0x36d077,'stroke':this[_0x4ef7e4(0xd0)],'evented':!0x1,'fill':this[_0x4ef7e4(0x1e2)]}),this[_0x4ef7e4(0x9a)]&&(_0x286c37[_0x4ef7e4(0x289)](),_0x286c37['transform'](0x1,0x0,0x0,0x1,this[_0x4ef7e4(0x198)],this[_0x4ef7e4(0x21b)]==='bottom'?0x0:-0x14),_0x1f3680[_0x4ef7e4(0x10e)](_0x286c37,{'text':this['_name'],'color':this[_0x4ef7e4(0xd0)]}),_0x286c37['restore']());}}var _0x533c75=Object['getOwnPropertyDescriptor'],_0x266a82=(_0x540216,_0x331383,_0x5312de,_0xba5b51)=>{for(var _0x7ffc71=_0xba5b51>0x1?void 0x0:_0xba5b51?_0x533c75(_0x331383,_0x5312de):_0x331383,_0xc14870=_0x540216['length']-0x1,_0x7bfb8f;_0xc14870>=0x0;_0xc14870--)(_0x7bfb8f=_0x540216[_0xc14870])&&(_0x7ffc71=_0x7bfb8f(_0x7ffc71)||_0x7ffc71);return _0x7ffc71;},_0x5bb922=(_0x1379bb,_0x345a31)=>(_0x4f6011,_0x46f43d)=>_0x345a31(_0x4f6011,_0x46f43d,_0x1379bb);const _0x4b24f7=0x1389;let _0x4d81cc=class extends _0x15b207[_0x28bb4a(0xac)]{constructor(_0x46ea44,_0x41ca7f,_0x23d8fc,_0x368d46){const _0x204c68=_0x28bb4a;super(),_0x52ecbf(this,'_cursors',new Set()),_0x52ecbf(this,'_lastPointer',null),(this['_context']=_0x46ea44,this[_0x204c68(0x138)]=_0x41ca7f,this['_collabCursorController']=_0x23d8fc,this[_0x204c68(0x15a)]=_0x368d46,this['_init']());}['_init'](){const _0x1878d5=_0x28bb4a;this[_0x1878d5(0x138)][_0x1878d5(0x148)][_0x1878d5(0x150)](_0x58aad9[_0x1878d5(0x1c4)](this[_0x1878d5(0x18e)]),_0x58aad9[_0x1878d5(0xd6)](_0x4f431c=>{const _0x3202df=_0x1878d5;if(_0x4f431c){const _0x1a5b08=_0x4f431c[_0x3202df(0x1cb)];return _0x548118[_0x3202df(0x264)](this[_0x3202df(0x281)][_0x3202df(0x2a6)](this[_0x3202df(0xa4)][_0x3202df(0x1d4)]),this['_themeService']['currentTheme$'])[_0x3202df(0x150)](_0x58aad9[_0x3202df(0x125)](([_0x2d98dd,_0x4cc96d])=>{const _0x127d55=new Map();return _0x2d98dd['forEach']((_0x403cb7,_0x1372ce)=>{const _0x2dbb4b=_0x57fc;if(_0x403cb7[_0x2dbb4b(0x1bf)]===_0x1a5b08){const _0x18206c={..._0x403cb7};_0x18206c['color']=_0x4cc96d[_0x403cb7[_0x2dbb4b(0x185)]],_0x127d55[_0x2dbb4b(0x31b)](_0x1372ce,_0x18206c);}}),{'skeleton':_0x4f431c,'cursors':_0x127d55};}));}return _0x548118['of']({'skeleton':null,'cursors':new Map()});}))[_0x1878d5(0xa7)](({skeleton:_0x2ab0a9,cursors:_0x4f19ca})=>{const _0x2d5f0b=_0x1878d5;this[_0x2d5f0b(0xdc)](),_0x2ab0a9&&this[_0x2d5f0b(0x324)](_0x2ab0a9,_0x4f19ca);}),this['_sheetSkeletonManagerService'][_0x1878d5(0x148)][_0x1878d5(0xa7)](_0x3f42f4=>{const _0x7068e8=_0x1878d5;if(_0x3f42f4==null)return;const {skeleton:_0xc418bc}=_0x3f42f4,{scene:_0x500447}=this[_0x7068e8(0xa4)];_0x500447['onPointerMove$']['subscribeEvent'](_0x15b207[_0x7068e8(0x2e6)](_0x3f68cb=>{const _0x184469=_0x7068e8;var _0x40f56d,_0x53c0cf;const {offsetX:_0x424e2a,offsetY:_0x162823}=_0x3f68cb,{x:_0x4d58e9,y:_0x3f07e0}=_0x500447[_0x184469(0x259)](_0x241ab7[_0x184469(0x223)][_0x184469(0xe7)]([_0x424e2a,_0x162823])),{scaleX:_0x5d9591,scaleY:_0x46dd82}=_0x500447[_0x184469(0x1a7)](),_0x4f1ad1=_0x500447[_0x184469(0x2b0)](_0x241ab7[_0x184469(0xf5)]['VIEW_MAIN']),_0x17464b=_0x500447[_0x184469(0x19a)](_0x241ab7[_0x184469(0x223)][_0x184469(0xe7)]([_0x4d58e9,_0x3f07e0]),_0x4f1ad1),_0x4024d9=_0xc418bc[_0x184469(0x1a3)](_0x424e2a,_0x162823,_0x5d9591,_0x46dd82,_0x17464b);((_0x40f56d=this[_0x184469(0xcb)])==null?void 0x0:_0x40f56d['column'])===_0x4024d9[_0x184469(0x2e4)]&&((_0x53c0cf=this[_0x184469(0xcb)])==null?void 0x0:_0x53c0cf[_0x184469(0x183)])===_0x4024d9[_0x184469(0x183)]||this[_0x184469(0x2d4)]['forEach'](_0x3e2af0=>{const _0x4e4a27=_0x184469;_0x3e2af0[_0x4e4a27(0x283)](_0x4024d9);});},0x64));});}[_0x28bb4a(0x324)](_0x244a76,_0xba7e47){const _0x16e0ef=_0x28bb4a;var _0x1054bf;const _0x3e6068=(_0x1054bf=this[_0x16e0ef(0x138)][_0x16e0ef(0x296)]())==null?void 0x0:_0x1054bf[_0x16e0ef(0x302)];if(!_0x3e6068)return;const _0x5d58a5=this[_0x16e0ef(0x186)]();if(!_0x5d58a5)return;this[_0x16e0ef(0x2d4)][_0x16e0ef(0x15d)](_0x350f59=>{const _0x4e086f=_0x16e0ef;_0x350f59[_0x4e086f(0x10a)]();});const {scene:_0x2477f9}=_0x5d58a5,_0x339fad=_0x2a8f29(Array[_0x16e0ef(0x217)](_0xba7e47['values']()))[_0x16e0ef(0x125)](_0x2389ad=>{const _0x489fec=_0x16e0ef,{color:_0x9a81ee,range:_0x236577,name:_0x40ae6b,selection:_0x1dfe15,sheetID:_0x54b464}=_0x2389ad,{startColumn:_0x144063,startRow:_0x231058,endColumn:_0x53bb80,endRow:_0x473035}=_0x236577,_0x3725e8=_0x20a1dc[_0x489fec(0x1a2)](_0x231058,_0x144063,_0x2477f9,_0x3e6068),_0x3c48a0=_0x20a1dc['getCoordByCell'](_0x473035,_0x53bb80,_0x2477f9,_0x3e6068),{columnHeaderHeightAndMarginTop:_0x17d75e}=_0x3e6068,{startX:_0x2acaaf,startY:_0x19270a}=_0x3725e8,{endX:_0x4d6854,endY:_0x3694fa}=_0x3c48a0,_0x2efae7=_0x4d6854-_0x2acaaf,_0xe6f19c=_0x3694fa-_0x19270a,_0x29d647={'labelPosition':_0x19270a-_0x17d75e>=_0x528f51?_0x489fec(0x2d6):_0x489fec(0x2f9),'sheetID':_0x54b464,'range':_0x236577,'color':_0x9a81ee,'name':_0x40ae6b,'selection':_0x1dfe15,'left':_0x2acaaf,'top':_0x19270a,'width':_0x2efae7,'height':_0xe6f19c,'evented':!0x1,'zIndex':_0x4b24f7};return new _0x2dea2d(_0x40ae6b,_0x29d647);});_0x2477f9[_0x16e0ef(0x1af)](_0x339fad,_0x45f627),this[_0x16e0ef(0x2d4)]=new Set(_0x339fad);}[_0x28bb4a(0xdc)](){const _0x702f27=_0x28bb4a;var _0x14f812;(_0x14f812=this['_cursors'])==null||_0x14f812[_0x702f27(0x15d)](_0x559b74=>_0x559b74['dispose']());}[_0x28bb4a(0x186)](){const _0x352cc3=_0x28bb4a;return _0x20a1dc[_0x352cc3(0xaf)](this[_0x352cc3(0xa4)][_0x352cc3(0x101)],this[_0x352cc3(0xa4)]);}};_0x4d81cc=_0x266a82([_0x5bb922(0x1,_0x15b207[_0x28bb4a(0x99)](_0x20a1dc[_0x28bb4a(0x210)])),_0x5bb922(0x2,_0x15b207[_0x28bb4a(0x99)](_0x338aa0)),_0x5bb922(0x3,_0x15b207['Inject'](_0x15b207[_0x28bb4a(0x130)]))],_0x4d81cc);function _0x2a8f29(_0x3c30a2){const _0x40ccfd=_0x28bb4a,_0xd13ed1=new Map();return _0x3c30a2['forEach'](_0x46dc3a=>{const _0x3db948=_0x57fc;if(_0xd13ed1[_0x3db948(0x2e9)](_0x46dc3a['selection'])){const _0x1afb85=_0xd13ed1[_0x3db948(0x2ca)](_0x46dc3a[_0x3db948(0xb7)]);_0x1afb85['name']+=',\x20'+_0x46dc3a['name'];}else _0xd13ed1[_0x3db948(0x31b)](_0x46dc3a[_0x3db948(0xb7)],_0x46dc3a);}),Array[_0x40ccfd(0x217)](_0xd13ed1[_0x40ccfd(0x263)]());}var _0x1c9457=function(){const _0xce528d=_0x28bb4a;return _0x1c9457=Object[_0xce528d(0x1b5)]||function(_0x4a5074){const _0x527dbd=_0xce528d;for(var _0x546d8a,_0x5cad88=0x1,_0x1f00ca=arguments[_0x527dbd(0x27e)];_0x5cad88<_0x1f00ca;_0x5cad88++){_0x546d8a=arguments[_0x5cad88];for(var _0x4619ff in _0x546d8a)Object[_0x527dbd(0x31a)]['hasOwnProperty'][_0x527dbd(0x251)](_0x546d8a,_0x4619ff)&&(_0x4a5074[_0x4619ff]=_0x546d8a[_0x4619ff]);}return _0x4a5074;},_0x1c9457[_0xce528d(0x1b6)](this,arguments);},_0x3ccfab=function(_0x5ba65f,_0x2b93c7){const _0xf47a96=_0x28bb4a;var _0x61b5c3={};for(var _0xe1e0fe in _0x5ba65f)Object['prototype']['hasOwnProperty'][_0xf47a96(0x251)](_0x5ba65f,_0xe1e0fe)&&_0x2b93c7[_0xf47a96(0x2e8)](_0xe1e0fe)<0x0&&(_0x61b5c3[_0xe1e0fe]=_0x5ba65f[_0xe1e0fe]);if(_0x5ba65f!=null&&typeof Object[_0xf47a96(0xe2)]==_0xf47a96(0xe8)){for(var _0x3933db=0x0,_0xe1e0fe=Object[_0xf47a96(0xe2)](_0x5ba65f);_0x3933db<_0xe1e0fe[_0xf47a96(0x27e)];_0x3933db++)_0x2b93c7[_0xf47a96(0x2e8)](_0xe1e0fe[_0x3933db])<0x0&&Object[_0xf47a96(0x31a)][_0xf47a96(0x2cc)][_0xf47a96(0x251)](_0x5ba65f,_0xe1e0fe[_0x3933db])&&(_0x61b5c3[_0xe1e0fe[_0x3933db]]=_0x5ba65f[_0xe1e0fe[_0x3933db]]);}return _0x61b5c3;},_0x34b6a9=_0x504940[_0x28bb4a(0x294)](function(_0x2746d7,_0x326122){const _0x40847e=_0x28bb4a;var _0x83b6e3=_0x2746d7[_0x40847e(0x190)],_0x5a62ed=_0x2746d7['id'],_0x54f407=_0x2746d7[_0x40847e(0x25f)],_0x337866=_0x2746d7[_0x40847e(0x22c)],_0x1ef19e=_0x3ccfab(_0x2746d7,[_0x40847e(0x190),'id',_0x40847e(0x25f),_0x40847e(0x22c)]),_0x5ec8ce='univerjs-icon\x20univerjs-icon-'[_0x40847e(0x18d)](_0x5a62ed,'\x20')[_0x40847e(0x18d)](_0x54f407||'')[_0x40847e(0xb3)](),_0x686a36=_0x504940[_0x40847e(0x2df)]('_'['concat'](_0x481818()));return _0x10aa57(_0x83b6e3,''[_0x40847e(0x18d)](_0x5a62ed),{'defIds':_0x83b6e3[_0x40847e(0x267)],'idSuffix':_0x686a36[_0x40847e(0xa5)]},_0x1c9457({'ref':_0x326122,'className':_0x5ec8ce},_0x1ef19e),_0x337866);});function _0x10aa57(_0x57c192,_0x2c16ce,_0xc0b7d4,_0x1b5c9f,_0x1200d3){const _0x11960a=_0x28bb4a;return _0x504940[_0x11960a(0x8b)](_0x57c192['tag'],_0x1c9457(_0x1c9457({'key':_0x2c16ce},_0x20c8dc(_0x57c192,_0xc0b7d4,_0x1200d3)),_0x1b5c9f),(_0x4c0b5d(_0x57c192,_0xc0b7d4)[_0x11960a(0x2c2)]||[])['map'](function(_0x265f1d,_0x2fe38c){const _0x222ecf=_0x11960a;return _0x10aa57(_0x265f1d,''['concat'](_0x2c16ce,'-')[_0x222ecf(0x18d)](_0x57c192[_0x222ecf(0x219)],'-')['concat'](_0x2fe38c),_0xc0b7d4,void 0x0,_0x1200d3);}));}function _0x20c8dc(_0x52a0f0,_0x1bb475,_0x43abc4){const _0x5777aa=_0x28bb4a;var _0x1e075e=_0x1c9457({},_0x52a0f0[_0x5777aa(0x2ab)]);_0x43abc4!=null&&_0x43abc4[_0x5777aa(0x24e)]&&_0x1e075e[_0x5777aa(0xc5)]==='colorChannel1'&&(_0x1e075e[_0x5777aa(0xc5)]=_0x43abc4[_0x5777aa(0x24e)]),_0x52a0f0[_0x5777aa(0x219)]==='mask'&&_0x1e075e['id']&&(_0x1e075e['id']=_0x1e075e['id']+_0x1bb475[_0x5777aa(0x2c4)]),Object[_0x5777aa(0x96)](_0x1e075e)['forEach'](function(_0x39bf94){const _0x3a9f6b=_0x5777aa;var _0xc045be=_0x39bf94[0x0],_0xa2fb5=_0x39bf94[0x1];_0xc045be===_0x3a9f6b(0x2af)&&typeof _0xa2fb5=='string'&&(_0x1e075e[_0xc045be]=_0xa2fb5['replace'](/url\(#(.*)\)/,_0x3a9f6b(0x245)[_0x3a9f6b(0x18d)](_0x1bb475[_0x3a9f6b(0x2c4)],')')));});var _0x4f9771=_0x1bb475[_0x5777aa(0x267)];return!_0x4f9771||_0x4f9771[_0x5777aa(0x27e)]===0x0||(_0x52a0f0[_0x5777aa(0x219)]==='use'&&_0x1e075e[_0x5777aa(0x234)]&&(_0x1e075e[_0x5777aa(0x234)]=_0x1e075e[_0x5777aa(0x234)]+_0x1bb475[_0x5777aa(0x2c4)]),Object[_0x5777aa(0x96)](_0x1e075e)[_0x5777aa(0x15d)](function(_0x18f74f){const _0x58a3bd=_0x5777aa;var _0x304409=_0x18f74f[0x0],_0xac1734=_0x18f74f[0x1];typeof _0xac1734==_0x58a3bd(0x13e)&&(_0x1e075e[_0x304409]=_0xac1734[_0x58a3bd(0x27d)](/url\(#(.*)\)/,_0x58a3bd(0x245)[_0x58a3bd(0x18d)](_0x1bb475[_0x58a3bd(0x2c4)],')')));})),_0x1e075e;}function _0x4c0b5d(_0x42024f,_0x3529da){const _0x47b23a=_0x28bb4a;var _0x5381ca,_0x4cfc9d=_0x3529da[_0x47b23a(0x267)];return!_0x4cfc9d||_0x4cfc9d[_0x47b23a(0x27e)]===0x0?_0x42024f:_0x42024f[_0x47b23a(0x219)]===_0x47b23a(0xa9)&&(!((_0x5381ca=_0x42024f[_0x47b23a(0x2c2)])===null||_0x5381ca===void 0x0)&&_0x5381ca[_0x47b23a(0x27e)])?_0x1c9457(_0x1c9457({},_0x42024f),{'children':_0x42024f[_0x47b23a(0x2c2)]['map'](function(_0x1cf8c6){const _0x3c4b92=_0x47b23a;return typeof _0x1cf8c6['attrs']['id']=='string'&&_0x4cfc9d&&_0x4cfc9d[_0x3c4b92(0x2e8)](_0x1cf8c6[_0x3c4b92(0x2ab)]['id'])>-0x1?_0x1c9457(_0x1c9457({},_0x1cf8c6),{'attrs':_0x1c9457(_0x1c9457({},_0x1cf8c6[_0x3c4b92(0x2ab)]),{'id':_0x1cf8c6[_0x3c4b92(0x2ab)]['id']+_0x3529da[_0x3c4b92(0x2c4)]})}):_0x1cf8c6;})}):_0x42024f;}function _0x481818(){const _0x4a1108=_0x28bb4a;return Math[_0x4a1108(0x11c)]()[_0x4a1108(0x126)](0x24)[_0x4a1108(0xc8)](0x2,0x8);}_0x34b6a9['displayName']=_0x28bb4a(0xe0);var _0x525714={'tag':_0x28bb4a(0x2b4),'attrs':{'fill':_0x28bb4a(0x1f2),'viewBox':_0x28bb4a(0x30d),'width':_0x28bb4a(0x175),'height':_0x28bb4a(0x175)},'children':[{'tag':'g','attrs':{'clipPath':_0x28bb4a(0x115)},'children':[{'tag':_0x28bb4a(0x16a),'attrs':{'stroke':_0x28bb4a(0x240),'d':_0x28bb4a(0x1fe),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x28bb4a(0xa9),'attrs':{},'children':[{'tag':_0x28bb4a(0x18b),'attrs':{'id':_0x28bb4a(0x270)},'children':[{'tag':_0x28bb4a(0x16a),'attrs':{'fill':_0x28bb4a(0x316),'d':_0x28bb4a(0x2a9)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x19f35a=_0x504940[_0x28bb4a(0x294)](function(_0x239b1b,_0xc8e5c4){const _0x577791=_0x28bb4a;return _0x504940[_0x577791(0x8b)](_0x34b6a9,Object[_0x577791(0x1b5)]({},_0x239b1b,{'id':'off-line-single','ref':_0xc8e5c4,'icon':_0x525714}));});_0x19f35a[_0x28bb4a(0x206)]=_0x28bb4a(0x1e7);var _0x23edbc={'tag':_0x28bb4a(0x2b4),'attrs':{'fill':_0x28bb4a(0x1f2),'viewBox':_0x28bb4a(0xf0),'width':_0x28bb4a(0x175),'height':_0x28bb4a(0x175)},'children':[{'tag':'g','attrs':{'clipPath':_0x28bb4a(0xde)},'children':[{'tag':_0x28bb4a(0x16a),'attrs':{'stroke':'currentColor','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':_0x28bb4a(0x254),'strokeLinejoin':_0x28bb4a(0x254),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x28bb4a(0x18b),'attrs':{'id':_0x28bb4a(0xa2)},'children':[{'tag':_0x28bb4a(0x16a),'attrs':{'fill':_0x28bb4a(0x316),'d':_0x28bb4a(0x2a9),'transform':_0x28bb4a(0x11f)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x78d074=_0x504940['forwardRef'](function(_0x2f318f,_0x30f8c0){const _0x2ed18d=_0x28bb4a;return _0x504940[_0x2ed18d(0x8b)](_0x34b6a9,Object[_0x2ed18d(0x1b5)]({},_0x2f318f,{'id':_0x2ed18d(0xea),'ref':_0x30f8c0,'icon':_0x23edbc}));});_0x78d074[_0x28bb4a(0x206)]=_0x28bb4a(0x13c);const _0x5e0f49={'onlineStatusIcon':_0x28bb4a(0xd5),'onlineStatusTitle':'univer-online-status-title','onlineStatus':_0x28bb4a(0x10d),'online':_0x28bb4a(0x27a),'offline':'univer-offline'};function _0x152b1c(_0x8d5b7d){const _0x3167c8=_0x28bb4a;switch(_0x8d5b7d){case _0x3fe587[_0x3167c8(0x153)][_0x3167c8(0x269)]:return _0x3167c8(0x117);case _0x3fe587[_0x3167c8(0x153)]['CONFLICT']:return'collabStatus.conflict';case _0x3fe587[_0x3167c8(0x153)]['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x3fe587[_0x3167c8(0x153)][_0x3167c8(0x31f)]:return _0x3167c8(0xfb);case _0x3fe587['CollaborationStatus'][_0x3167c8(0x252)]:case _0x3fe587['CollaborationStatus'][_0x3167c8(0x201)]:return _0x3167c8(0xd2);case _0x3fe587[_0x3167c8(0x153)][_0x3167c8(0x2ac)]:case _0x3fe587[_0x3167c8(0x153)][_0x3167c8(0x2db)]:return'collabStatus.synced';}}function _0x184ea2(_0x4f2725){const _0x3c4583=_0x28bb4a,{status$:_0x9267e8}=_0x4f2725,_0x571162=_0x4b9e13['useObservable'](_0x9267e8,_0x3fe587[_0x3c4583(0x153)][_0x3c4583(0x31f)]),_0x5432d2=_0x4b9e13['useDependency'](_0x15b207[_0x3c4583(0x203)]),_0x3c3883=_0x4b9e13['useDependency'](_0x3fe587['CollaborationSessionService']),_0x54ba76=_0x571162!==_0x3fe587[_0x3c4583(0x153)][_0x3c4583(0x269)],_0x5a0d9a=_0x5432d2['t'](_0x152b1c(_0x571162)),_0xa57b49=_0x5a4da0['clsx'](_0x5e0f49[_0x3c4583(0x226)],{[_0x5e0f49[_0x3c4583(0xda)]]:_0x54ba76,[_0x5e0f49[_0x3c4583(0x23b)]]:!_0x54ba76}),_0x353358=_0x54ba76?_0x4d3f92['jsx'](_0x78d074,{}):_0x4d3f92['jsx'](_0x19f35a,{}),_0x5b93fc=_0x504940['useCallback'](()=>{_0x54ba76||_0x3c3883['reconnect']();},[_0x54ba76,_0x3c3883]);function _0x3fde85(){const _0x485dbe=_0x3c4583;return _0x4d3f92['jsxs'](_0x485dbe(0x2b6),{'className':_0x5a4da0[_0x485dbe(0x16c)](_0xa57b49,_0x485dbe(0x2c7)),'onClick':_0x5b93fc,'children':[_0x4d3f92[_0x485dbe(0xb4)]('div',{'className':_0x5e0f49['onlineStatusIcon'],'children':_0x353358}),_0x4d3f92['jsx']('div',{'className':_0x5e0f49[_0x485dbe(0xd8)],'children':_0x5a0d9a})]});}return _0x54ba76?_0x3fde85():_0x4d3f92[_0x3c4583(0xb4)](_0x5a4da0[_0x3c4583(0x321)],{'title':_0x5432d2['t'](_0x3c4583(0x23d)),'children':_0x3fde85()});}var _0xba99c8=Object[_0x28bb4a(0x11a)],_0x208148=(_0x34d5e0,_0x21e9f4,_0x355031,_0x4f3ab1)=>{for(var _0x30fcff=_0x4f3ab1>0x1?void 0x0:_0x4f3ab1?_0xba99c8(_0x21e9f4,_0x355031):_0x21e9f4,_0x1503be=_0x34d5e0['length']-0x1,_0x2443b3;_0x1503be>=0x0;_0x1503be--)(_0x2443b3=_0x34d5e0[_0x1503be])&&(_0x30fcff=_0x2443b3(_0x30fcff)||_0x30fcff);return _0x30fcff;},_0x1dbd09=(_0x1d9855,_0x2b1edc)=>(_0x15b258,_0x2518c8)=>_0x2b1edc(_0x15b258,_0x2518c8,_0x1d9855);_0x31bd5e[_0x28bb4a(0x241)]=class extends _0x15b207[_0x28bb4a(0x171)]{constructor(_0x4d8533,_0x508c64,_0x195afc,_0xcda070){const _0x2b49df=_0x28bb4a;super(),_0x52ecbf(this,'_status$',new _0x548118[(_0x2b49df(0x1bb))](_0x3fe587[_0x2b49df(0x153)][_0x2b49df(0x31f)])),(this[_0x2b49df(0x2cf)]=_0x4d8533,this[_0x2b49df(0x25e)]=_0x508c64,this[_0x2b49df(0x122)]=_0x195afc,this[_0x2b49df(0x1c2)]=_0xcda070,this[_0x2b49df(0x13d)](),this[_0x2b49df(0x2de)]());}['_initStatusListener'](){const _0x55066f=_0x28bb4a;this[_0x55066f(0x280)](this['_univerInstanceService'][_0x55066f(0x319)]['pipe'](_0x548118[_0x55066f(0xd6)](()=>{const _0x1563d1=_0x55066f,_0x5ca226=this[_0x1563d1(0x2cf)][_0x1563d1(0xcc)]();return _0x5ca226?this[_0x1563d1(0x122)][_0x1563d1(0x2a1)](_0x5ca226[_0x1563d1(0x220)]()):_0x548118['of'](null);}),_0x548118['switchMap'](_0x22fcf4=>_0x22fcf4?_0x22fcf4[_0x55066f(0x179)]:_0x548118['of'](_0x3fe587['CollaborationStatus'][_0x55066f(0x31f)])))['subscribe'](_0x4f9c9a=>{const _0x32a694=_0x55066f;this[_0x32a694(0x13b)]['next'](_0x4f9c9a);}));}['_initStatusComponent'](){const _0x290eae=_0x28bb4a;this[_0x290eae(0x280)](this[_0x290eae(0x1c2)][_0x290eae(0x214)](_0x4b9e13['BuiltInUIPart'][_0x290eae(0x88)],()=>_0x4b9e13[_0x290eae(0xbf)](_0x45df84({'status$':this[_0x290eae(0x13b)]['asObservable']()}),this['_injector'])));}},_0x31bd5e[_0x28bb4a(0x241)]=_0x208148([_0x1dbd09(0x0,_0x15b207[_0x28bb4a(0x1b0)]),_0x1dbd09(0x1,_0x15b207[_0x28bb4a(0x99)](_0x15b207[_0x28bb4a(0xed)])),_0x1dbd09(0x2,_0x15b207[_0x28bb4a(0x99)](_0x3fe587['CollaborationController'])),_0x1dbd09(0x3,_0x4b9e13[_0x28bb4a(0x157)])],_0x31bd5e['DesktopCollaborationStatusDisplayController']);function _0x45df84(_0x41c0c3){const {status$:_0x491a11}=_0x41c0c3;return function(){return _0x4d3f92['jsx'](_0x184ea2,{'status$':_0x491a11});};}var _0xcebf95=Object['getOwnPropertyDescriptor'],_0x37b525=(_0x4add48,_0xf2e21e,_0x2afc93,_0x2d7ec6)=>{const _0x28f80b=_0x28bb4a;for(var _0x626131=_0x2d7ec6>0x1?void 0x0:_0x2d7ec6?_0xcebf95(_0xf2e21e,_0x2afc93):_0xf2e21e,_0x4cad07=_0x4add48[_0x28f80b(0x27e)]-0x1,_0x34a679;_0x4cad07>=0x0;_0x4cad07--)(_0x34a679=_0x4add48[_0x4cad07])&&(_0x626131=_0x34a679(_0x626131)||_0x626131);return _0x626131;},_0x27ff40=(_0x20ba53,_0x1aa120)=>(_0x531dba,_0x287f3b)=>_0x1aa120(_0x531dba,_0x287f3b,_0x20ba53);let _0x45571b=class extends _0x15b207[_0x28bb4a(0x171)]{constructor(_0x8b5d8d,_0x3bc248,_0x399d48,_0x595ecf,_0x52631c,_0x575016){const _0x531dd7=_0x28bb4a;super(),this[_0x531dd7(0x229)]=_0x8b5d8d,this[_0x531dd7(0x1e0)]=_0x3bc248,this['_collaborationUIEventService']=_0x399d48,this[_0x531dd7(0x1cc)]=_0x595ecf,this[_0x531dd7(0x2fc)]=_0x52631c,this[_0x531dd7(0x2d0)]=_0x575016,this[_0x531dd7(0x1b1)](),this[_0x531dd7(0x124)]();}[_0x28bb4a(0x1b1)](){const _0x133410=_0x28bb4a;this[_0x133410(0x280)](this[_0x133410(0x229)][_0x133410(0x309)](()=>{const _0x502203=_0x133410;if(this[_0x502203(0x1e0)][_0x502203(0x20d)]['size'])return this[_0x502203(0x2d0)]['t'](_0x502203(0x102));}));}['_initEvent'](){const _0x4042c5=_0x28bb4a;this['disposeWithMe'](this[_0x4042c5(0x26b)][_0x4042c5(0xdd)]['subscribe'](_0x6fc5ad=>{const _0x445b8f=_0x4042c5;_0x6fc5ad['id']===_0x3fe587['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x445b8f(0x29d)]({'type':_0x5a4da0['MessageType'][_0x445b8f(0x131)],'content':this[_0x445b8f(0x2d0)]['t'](_0x445b8f(0x277))}),_0x6fc5ad['id']===_0x3fe587[_0x445b8f(0x180)][_0x445b8f(0x213)]&&this[_0x445b8f(0x1cc)][_0x445b8f(0x29d)]({'type':_0x5a4da0[_0x445b8f(0x1f3)]['Warning'],'content':this[_0x445b8f(0x2d0)]['t'](_0x445b8f(0x98))}),_0x6fc5ad['id']===_0x3fe587[_0x445b8f(0x180)]['PERMISSION_DENIED']&&this[_0x445b8f(0x2fc)][_0x445b8f(0x29d)]({'title':this[_0x445b8f(0x2d0)]['t'](_0x445b8f(0x308)),'content':this[_0x445b8f(0x2d0)]['t']('permission.content'),'type':_0x445b8f(0x1d8),'duration':0x0}),_0x6fc5ad['id']===_0x3fe587[_0x445b8f(0x180)][_0x445b8f(0x202)]&&this[_0x445b8f(0x1cc)][_0x445b8f(0x29d)]({'type':_0x5a4da0[_0x445b8f(0x1f3)][_0x445b8f(0x1bd)],'content':this[_0x445b8f(0x2d0)]['t'](_0x445b8f(0x98))+'('+_0x6fc5ad[_0x445b8f(0x137)]+')'}),_0x6fc5ad['id']===_0x3fe587['CollaborationUIEventId'][_0x445b8f(0x1dd)]&&this[_0x445b8f(0x1cc)][_0x445b8f(0x29d)]({'type':_0x5a4da0[_0x445b8f(0x1f3)][_0x445b8f(0x131)],'content':this[_0x445b8f(0x2d0)]['t'](_0x6fc5ad[_0x445b8f(0x137)]||'')}),_0x6fc5ad['id']===_0x3fe587[_0x445b8f(0x180)][_0x445b8f(0x1ba)]&&this['_messageService']['show']({'type':_0x5a4da0[_0x445b8f(0x1f3)][_0x445b8f(0x131)],'content':this[_0x445b8f(0x2d0)]['t'](_0x445b8f(0x237))}),_0x6fc5ad['id']===_0x3fe587['CollaborationUIEventId'][_0x445b8f(0x188)]&&this[_0x445b8f(0x1cc)]['show']({'type':_0x5a4da0[_0x445b8f(0x1f3)]['Error'],'content':this['_localeService']['t'](_0x445b8f(0xaa))}),_0x6fc5ad['id']===_0x3fe587['CollaborationUIEventId'][_0x445b8f(0x22b)]&&this['_messageService'][_0x445b8f(0x29d)]({'type':_0x5a4da0['MessageType'][_0x445b8f(0x1bd)],'content':this['_localeService']['t'](_0x445b8f(0x2ae))});}));}};_0x45571b=_0x37b525([_0x27ff40(0x0,_0x4b9e13[_0x28bb4a(0xf2)]),_0x27ff40(0x1,_0x3fe587[_0x28bb4a(0x15e)]),_0x27ff40(0x2,_0x15b207[_0x28bb4a(0x99)](_0x3fe587[_0x28bb4a(0x10f)])),_0x27ff40(0x3,_0x4b9e13[_0x28bb4a(0xf1)]),_0x27ff40(0x4,_0x4b9e13[_0x28bb4a(0x209)]),_0x27ff40(0x5,_0x15b207[_0x28bb4a(0x99)](_0x15b207[_0x28bb4a(0x203)]))],_0x45571b);const _0x275f4a=_0x28bb4a(0x14c),_0x311072={},_0x5e67ee=_0x15b207[_0x28bb4a(0x2e1)](_0x28bb4a(0x227));var _0x38553a=Object[_0x28bb4a(0x11a)],_0x279b43=(_0x3bf234,_0x4f2adb,_0x2058a9,_0x553c0e)=>{const _0x97a3cd=_0x28bb4a;for(var _0x194dd9=_0x553c0e>0x1?void 0x0:_0x553c0e?_0x38553a(_0x4f2adb,_0x2058a9):_0x4f2adb,_0x265830=_0x3bf234[_0x97a3cd(0x27e)]-0x1,_0x35352e;_0x265830>=0x0;_0x265830--)(_0x35352e=_0x3bf234[_0x265830])&&(_0x194dd9=_0x35352e(_0x194dd9)||_0x194dd9);return _0x194dd9;},_0x80ec2e=(_0x432308,_0x43ff8c)=>(_0x2e7792,_0x228b17)=>_0x43ff8c(_0x2e7792,_0x228b17,_0x432308);_0x31bd5e[_0x28bb4a(0x2a7)]=class extends _0x15b207[_0x28bb4a(0xac)]{constructor(_0x37012a,_0x4cf28d,_0x310f16,_0x2533c3,_0x4ac626){const _0xd7d94b=_0x28bb4a;super(),this['_urlService']=_0x37012a,this[_0xd7d94b(0x279)]=_0x4cf28d,this[_0xd7d94b(0x12f)]=_0x310f16,this['_dataLoaderService']=_0x2533c3,_0x4ac626?_0x4ac626==null||_0x4ac626['whenReady']()[_0xd7d94b(0x8f)](()=>this[_0xd7d94b(0x93)]()):(this[_0xd7d94b(0x279)]['debug'](_0xd7d94b(0x17b),_0xd7d94b(0xae)),this[_0xd7d94b(0x93)]());}async['_init'](){const _0xbe14fb=_0x28bb4a,_0x4e3041=this[_0xbe14fb(0x2a2)]['getParam']('unit'),_0x155181=this[_0xbe14fb(0x2a2)][_0xbe14fb(0x21c)]('type'),_0xae3e8b=this[_0xbe14fb(0x2a2)][_0xbe14fb(0x21c)](_0xbe14fb(0x238));if(!_0x4e3041||!_0x155181){this[_0xbe14fb(0x279)][_0xbe14fb(0x2f4)](_0xbe14fb(0x17b),_0xbe14fb(0x10c));return;}const _0x30152b=await this[_0xbe14fb(0x2bb)][_0xbe14fb(0x2f1)](_0x4e3041,Number(_0x155181),_0xae3e8b);_0x30152b&&_0x30152b instanceof _0x15b207['Workbook']&&this['_setupSubUnitSync'](_0x30152b);}async[_0x28bb4a(0x21f)](_0x4c3b72){const _0x40a6d6=_0x28bb4a;await this[_0x40a6d6(0x2be)](_0x4c3b72),_0x4c3b72[_0x40a6d6(0x121)]['pipe'](_0x548118[_0x40a6d6(0x1c4)](this[_0x40a6d6(0x18e)]))[_0x40a6d6(0xa7)](_0x259760=>{const _0x2a4647=_0x40a6d6;_0x259760&&this[_0x2a4647(0x182)](_0x259760);}),this['_urlService']['urlChange$'][_0x40a6d6(0x150)](_0x548118[_0x40a6d6(0x1c4)](this['dispose$']))['subscribe'](()=>this[_0x40a6d6(0x2be)](_0x4c3b72));}[_0x28bb4a(0x182)](_0xdcf323,_0x1ce4ce=!0x1){const _0x280340=_0x28bb4a,_0x5bd3a1=this[_0x280340(0x2a2)]['getParam'](_0x280340(0x238));_0xdcf323['getSheetId']()!==_0x5bd3a1&&this[_0x280340(0x2a2)][_0x280340(0xcd)](_0x280340(0x238),_0xdcf323[_0x280340(0x142)](),_0x1ce4ce);}async['_updateSubUnitFromURLParams'](_0x2aeadd){const _0xb3699e=_0x28bb4a;var _0x4e63b4;const _0x581e9a=this[_0xb3699e(0x2a2)][_0xb3699e(0x21c)](_0xb3699e(0x238));if(!_0x581e9a||!_0x2aeadd[_0xb3699e(0x18c)](_0x581e9a)){const _0x400a40=_0x2aeadd[_0xb3699e(0x2f7)]()[0x0],_0x4d47c0=_0x2aeadd[_0xb3699e(0x18c)](_0x400a40);if(!_0x4d47c0)return;this[_0xb3699e(0x182)](_0x4d47c0,!0x0),await this['_commandService'][_0xb3699e(0x2d3)](_0x159c7f['SetWorksheetActivateCommand']['id'],{'unitId':_0x2aeadd['getUnitId'](),'subUnitId':_0x400a40});return;}((_0x4e63b4=_0x2aeadd[_0xb3699e(0x105)]())==null?void 0x0:_0x4e63b4[_0xb3699e(0x142)]())!==_0x581e9a&&await this[_0xb3699e(0x12f)][_0xb3699e(0x2d3)](_0x159c7f[_0xb3699e(0x16e)]['id'],{'unitId':_0x2aeadd[_0xb3699e(0x220)](),'subUnitId':_0x581e9a});}},_0x31bd5e['CollaborationDataLoaderController']=_0x279b43([_0x80ec2e(0x0,_0x5e67ee),_0x80ec2e(0x1,_0x15b207[_0x28bb4a(0x176)]),_0x80ec2e(0x2,_0x15b207[_0x28bb4a(0x195)]),_0x80ec2e(0x3,_0x15b207['Inject'](_0x3fe587[_0x28bb4a(0x2f0)])),_0x80ec2e(0x4,_0x15b207[_0x28bb4a(0x291)](_0x3a7d89['IRemoteInstanceService']))],_0x31bd5e[_0x28bb4a(0x2a7)]);var _0xc0ef89=Object['getOwnPropertyDescriptor'],_0xd0ea5b=(_0x22eaeb,_0x15d2b6,_0x242541,_0x13f00b)=>{const _0x4a7e8a=_0x28bb4a;for(var _0x5b50a4=_0x13f00b>0x1?void 0x0:_0x13f00b?_0xc0ef89(_0x15d2b6,_0x242541):_0x15d2b6,_0x553920=_0x22eaeb[_0x4a7e8a(0x27e)]-0x1,_0x2bc9e3;_0x553920>=0x0;_0x553920--)(_0x2bc9e3=_0x22eaeb[_0x553920])&&(_0x5b50a4=_0x2bc9e3(_0x5b50a4)||_0x5b50a4);return _0x5b50a4;},_0x4af57b=(_0x1c3779,_0x494e93)=>(_0x797563,_0x3b195e)=>_0x494e93(_0x797563,_0x3b195e,_0x1c3779);let _0x572cde=class{constructor(_0x289396,_0x3f3c6f,_0x5eb7ec){const _0x1ece1b=_0x28bb4a;this[_0x1ece1b(0x25e)]=_0x289396,this[_0x1ece1b(0x1d9)]=_0x3f3c6f,this['_renderManagerService']=_0x5eb7ec;}['transformIMECache'](_0x496f2a){const _0xd8a15a=_0x28bb4a;this[_0xd8a15a(0x31c)](_0x496f2a),this[_0xd8a15a(0x311)](_0x496f2a);}[_0x28bb4a(0x1b2)](_0x16e960){const _0x5debf3=_0x28bb4a,{unitID:_0xa3c3ae}=_0x16e960,_0x2b5c7a=this['_renderManagerService'][_0x5debf3(0x23f)](_0xa3c3ae)[_0x5debf3(0x14f)](_0x57acc0[_0x5debf3(0x16f)]),{redoCache:_0x3ba66c}=_0x2b5c7a[_0x5debf3(0x1f1)]();if(_0x3ba66c[_0x5debf3(0x27e)]===0x0)return _0x16e960;let _0x48854a=_0x15b207[_0x5debf3(0xb8)][_0x5debf3(0x8c)](_0x16e960[_0x5debf3(0xa1)][0x0]);for(let _0x45ff91=0x0;_0x45ff91<_0x3ba66c['length'];_0x45ff91++){const _0x176d2f={'id':_0x5debf3(0xb9),'params':{..._0x3ba66c[_0x45ff91]}},_0x56a271=this[_0x5debf3(0x1d9)]['transformMutation'](_0x48854a,_0x176d2f,!0x1);if(_0x38de55['isTransformMutationFailure'](_0x56a271))throw _0x56a271[_0x5debf3(0x1d8)];_0x48854a=_0x56a271[_0x5debf3(0x13a)];}return{..._0x15b207[_0x5debf3(0xb8)][_0x5debf3(0x8c)](_0x16e960),'mutations':[_0x48854a]};}[_0x28bb4a(0x31c)](_0x4ba71f){const _0x57e867=_0x28bb4a,{unitID:_0x347170}=_0x4ba71f,_0x53c4fa=this[_0x57e867(0x149)][_0x57e867(0x23f)](_0x347170)[_0x57e867(0x14f)](_0x57acc0[_0x57e867(0x16f)]),{undoCache:_0x53cf90,redoCache:_0x57e425}=_0x53c4fa[_0x57e867(0x1f1)]();if(_0x53cf90['length']===0x0||_0x57e425[_0x57e867(0x27e)]===0x0)return;const _0x599446=[],_0x34d474=[];let _0x4df0b7=_0x15b207['Tools']['deepClone'](_0x4ba71f['mutations'][0x0]),_0x3bed18=_0x15b207[_0x57e867(0xb8)][_0x57e867(0x8c)](_0x4ba71f[_0x57e867(0xa1)][0x0]);for(let _0x4f4eb0=_0x53cf90['length']-0x1;_0x4f4eb0>=0x0;_0x4f4eb0--){const _0x19d552={'id':'doc.mutation.rich-text-editing','params':{..._0x53cf90[_0x4f4eb0]}},_0x42641d={'id':_0x57e867(0xb9),'params':{..._0x57e425[_0x4f4eb0]}},_0x47e508=this[_0x57e867(0x1d9)]['transformMutation'](_0x4df0b7,_0x19d552,!0x1),_0x5af986=this[_0x57e867(0x1d9)][_0x57e867(0x100)](_0x3bed18,_0x42641d,!0x1);if(_0x38de55['isTransformMutationFailure'](_0x47e508))throw _0x47e508[_0x57e867(0x1d8)];if(_0x38de55[_0x57e867(0x1fa)](_0x5af986))throw _0x5af986[_0x57e867(0x1d8)];_0x599446['unshift'](_0x47e508[_0x57e867(0x2f2)][_0x57e867(0x2dc)]),_0x34d474['unshift'](_0x5af986['m2Prime'][_0x57e867(0x2dc)]),_0x4df0b7=_0x47e508[_0x57e867(0x13a)],_0x3bed18=_0x5af986[_0x57e867(0x13a)];}_0x53c4fa[_0x57e867(0x10b)]({'undoCache':_0x599446,'redoCache':_0x34d474});}[_0x28bb4a(0x311)](_0x4a9555){const _0x20310c=_0x28bb4a,{unitID:_0x295ed2}=_0x4a9555,_0x46da36=this[_0x20310c(0x149)][_0x20310c(0x23f)](_0x295ed2)[_0x20310c(0x14f)](_0x57acc0[_0x20310c(0x16f)]),_0x11a3ca=_0x46da36[_0x20310c(0x1f8)]();if(_0x11a3ca==null)return;const _0x43b2e3=[{'id':_0x20310c(0xb9),'params':{'unitId':_0x4a9555[_0x20310c(0x136)],'actions':null,'textRanges':[_0x11a3ca]}}],_0x2acd9c=this['_transformService'][_0x20310c(0x322)](_0x4a9555,_0x43b2e3);if(!_0x38de55['isTransformMutationsWithChangesetSuccess'](_0x2acd9c))throw _0x2acd9c[_0x20310c(0x1d8)];const _0x226eba=_0x2acd9c[_0x20310c(0x2f2)][0x0][_0x20310c(0x2dc)][_0x20310c(0x1a4)];Array[_0x20310c(0x1bc)](_0x226eba)&&_0x226eba[_0x20310c(0x27e)]&&_0x46da36[_0x20310c(0x1d1)](_0x226eba[0x0]);}};_0x572cde=_0xd0ea5b([_0x4af57b(0x0,_0x15b207[_0x28bb4a(0x99)](_0x15b207['Injector'])),_0x4af57b(0x1,_0x38de55[_0x28bb4a(0x1ce)]),_0x4af57b(0x2,_0x241ab7[_0x28bb4a(0x164)])],_0x572cde);var _0x50e341=Object['getOwnPropertyDescriptor'],_0x205446=(_0x5b8da1,_0x35fc98,_0x20ae66,_0x274754)=>{const _0x2ad27d=_0x28bb4a;for(var _0x5bbb2a=_0x274754>0x1?void 0x0:_0x274754?_0x50e341(_0x35fc98,_0x20ae66):_0x35fc98,_0x562ce2=_0x5b8da1[_0x2ad27d(0x27e)]-0x1,_0x58325;_0x562ce2>=0x0;_0x562ce2--)(_0x58325=_0x5b8da1[_0x562ce2])&&(_0x5bbb2a=_0x58325(_0x5bbb2a)||_0x5bbb2a);return _0x5bbb2a;},_0xe1ed0d=(_0x349f97,_0x399056)=>(_0x526b3a,_0x4f216a)=>_0x399056(_0x526b3a,_0x4f216a,_0x349f97);let _0x536821=class{constructor(_0x44838f,_0x2d3f27,_0x528733){const _0x349772=_0x28bb4a;this[_0x349772(0x25e)]=_0x44838f,this[_0x349772(0x1d9)]=_0x2d3f27,this['_docStateChangeManagerService']=_0x528733;}[_0x28bb4a(0xb6)](_0x2dd543){const _0x39bdd5=_0x28bb4a;this[_0x39bdd5(0x204)](_0x2dd543);}[_0x28bb4a(0x1b2)](_0x30dd1e){const _0x2003b5=_0x28bb4a,{unitID:_0x25bbc9}=_0x30dd1e,{collaboration:_0x50efb9}=this[_0x2003b5(0x8d)][_0x2003b5(0x22a)](_0x25bbc9);if(_0x50efb9['length']===0x0)return _0x30dd1e;let _0x5479d5=_0x15b207[_0x2003b5(0xb8)][_0x2003b5(0x8c)](_0x30dd1e['mutations'][0x0]);for(let _0x43c22f=0x0;_0x43c22f<_0x50efb9[_0x2003b5(0x27e)];_0x43c22f++){const _0x3f6be4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x50efb9[_0x43c22f]['unitId'],..._0x50efb9[_0x43c22f]['redoState']}},_0x23411c=this[_0x2003b5(0x1d9)][_0x2003b5(0x100)](_0x5479d5,_0x3f6be4,!0x1);if(_0x38de55[_0x2003b5(0x1fa)](_0x23411c))throw _0x23411c[_0x2003b5(0x1d8)];_0x5479d5=_0x23411c[_0x2003b5(0x13a)];}return{..._0x15b207[_0x2003b5(0xb8)][_0x2003b5(0x8c)](_0x30dd1e),'mutations':[_0x5479d5]};}[_0x28bb4a(0x204)](_0x2c1c77){const _0x2746fb=_0x28bb4a,{unitID:_0x1c7456}=_0x2c1c77,{history:_0x264c18,collaboration:_0x463a36}=this[_0x2746fb(0x8d)][_0x2746fb(0x22a)](_0x1c7456);if(_0x264c18['length']===0x0&&_0x463a36['length']===0x0)return;const _0xe84190=[],_0x3bd16d=[];let _0x1d787d=_0x15b207[_0x2746fb(0xb8)][_0x2746fb(0x8c)](_0x2c1c77[_0x2746fb(0xa1)][0x0]),_0x557378=_0x15b207[_0x2746fb(0xb8)][_0x2746fb(0x8c)](_0x2c1c77[_0x2746fb(0xa1)][0x0]);for(let _0x132172=_0x264c18['length']-0x1;_0x132172>=0x0;_0x132172--){const _0x140561={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x264c18[_0x132172][_0x2746fb(0x1d4)],..._0x264c18[_0x132172][_0x2746fb(0x261)]}},_0x471c02={'id':_0x2746fb(0xb9),'params':{'unitId':_0x264c18[_0x132172]['unitId'],..._0x264c18[_0x132172][_0x2746fb(0xb0)]}},_0x4dfa46=this['_transformService'][_0x2746fb(0x100)](_0x1d787d,_0x140561,!0x1),_0x1851ad=this[_0x2746fb(0x1d9)][_0x2746fb(0x100)](_0x557378,_0x471c02,!0x1);if(_0x38de55[_0x2746fb(0x1fa)](_0x4dfa46))throw _0x4dfa46[_0x2746fb(0x1d8)];if(_0x38de55[_0x2746fb(0x1fa)](_0x1851ad))throw _0x1851ad[_0x2746fb(0x1d8)];_0xe84190[_0x2746fb(0x1c7)]({..._0x264c18[_0x132172],'undoState':_0x4dfa46[_0x2746fb(0x2f2)][_0x2746fb(0x2dc)],'redoState':_0x1851ad[_0x2746fb(0x2f2)][_0x2746fb(0x2dc)]}),_0x1d787d=_0x4dfa46[_0x2746fb(0x13a)],_0x557378=_0x1851ad[_0x2746fb(0x13a)];}_0x1d787d=_0x15b207['Tools'][_0x2746fb(0x8c)](_0x2c1c77['mutations'][0x0]),_0x557378=_0x15b207[_0x2746fb(0xb8)][_0x2746fb(0x8c)](_0x2c1c77['mutations'][0x0]);for(let _0x311938=_0x463a36['length']-0x1;_0x311938>=0x0;_0x311938--){const _0x41e75e={'id':_0x2746fb(0xb9),'params':{'unitId':_0x463a36[_0x311938][_0x2746fb(0x1d4)],..._0x463a36[_0x311938][_0x2746fb(0x261)]}},_0x1073d3={'id':_0x2746fb(0xb9),'params':{'unitId':_0x463a36[_0x311938][_0x2746fb(0x1d4)],..._0x463a36[_0x311938]['redoState']}},_0x5c530a=this['_transformService'][_0x2746fb(0x100)](_0x1d787d,_0x41e75e,!0x1),_0x39b8bd=this[_0x2746fb(0x1d9)][_0x2746fb(0x100)](_0x557378,_0x1073d3,!0x1);if(_0x38de55[_0x2746fb(0x1fa)](_0x5c530a))throw _0x5c530a[_0x2746fb(0x1d8)];if(_0x38de55[_0x2746fb(0x1fa)](_0x39b8bd))throw _0x39b8bd[_0x2746fb(0x1d8)];_0x3bd16d[_0x2746fb(0x1c7)]({..._0x463a36[_0x311938],'undoState':_0x5c530a[_0x2746fb(0x2f2)]['params'],'redoState':_0x39b8bd[_0x2746fb(0x2f2)][_0x2746fb(0x2dc)]}),_0x1d787d=_0x5c530a[_0x2746fb(0x13a)],_0x557378=_0x39b8bd[_0x2746fb(0x13a)];}this['_docStateChangeManagerService'][_0x2746fb(0x2a8)](_0x1c7456,{'history':_0xe84190,'collaboration':_0x3bd16d});}};_0x536821=_0x205446([_0xe1ed0d(0x0,_0x15b207['Inject'](_0x15b207[_0x28bb4a(0xed)])),_0xe1ed0d(0x1,_0x38de55[_0x28bb4a(0x1ce)]),_0xe1ed0d(0x2,_0x15b207[_0x28bb4a(0x99)](_0x57acc0[_0x28bb4a(0x169)]))],_0x536821);var _0x190018=Object['getOwnPropertyDescriptor'],_0x2923d2=(_0x5b2bb1,_0x19b8c1,_0x224864,_0x3a1a1f)=>{const _0x326c1e=_0x28bb4a;for(var _0xaffa71=_0x3a1a1f>0x1?void 0x0:_0x3a1a1f?_0x190018(_0x19b8c1,_0x224864):_0x19b8c1,_0x5779e8=_0x5b2bb1[_0x326c1e(0x27e)]-0x1,_0x331cd5;_0x5779e8>=0x0;_0x5779e8--)(_0x331cd5=_0x5b2bb1[_0x5779e8])&&(_0xaffa71=_0x331cd5(_0xaffa71)||_0xaffa71);return _0xaffa71;},_0x2eaeb1=(_0x3da514,_0x294f16)=>(_0x1117e2,_0x837731)=>_0x294f16(_0x1117e2,_0x837731,_0x3da514);let _0x3ab750=class{constructor(_0x37241f,_0x5e3772){const _0x13b191=_0x28bb4a;this[_0x13b191(0x25e)]=_0x37241f,this[_0x13b191(0x1d9)]=_0x5e3772;}[_0x28bb4a(0x24c)](_0x2dc4e0){const _0x1fe69a=_0x28bb4a;var _0x327ceb;const _0x2e9797=this['_injector'][_0x1fe69a(0x2ca)](_0x374d97[_0x1fe69a(0x2d5)]),_0x5d0e15=(_0x327ceb=_0x2e9797[_0x1fe69a(0x2c6)]())!=null?_0x327ceb:[];if(_0x5d0e15[_0x1fe69a(0x27e)]===0x0)return;const _0x1347bd=_0x2dc4e0[_0x1fe69a(0x136)],_0x4a18f8=[{'id':_0x1fe69a(0xb9),'params':{'unitId':_0x1347bd,'actions':null,'textRanges':_0x5d0e15}}],_0x13e38a=this['_transformService'][_0x1fe69a(0x322)](_0x2dc4e0,_0x4a18f8);if(!_0x38de55[_0x1fe69a(0x297)](_0x13e38a))throw _0x13e38a[_0x1fe69a(0x1d8)];const _0x19c7d6=_0x13e38a[_0x1fe69a(0x2f2)][0x0]['params']['textRanges'];Array[_0x1fe69a(0x1bc)](_0x19c7d6)&&_0x19c7d6['length']&&_0x2e9797[_0x1fe69a(0xc2)](_0x19c7d6,{'unitId':_0x1347bd,'subUnitId':_0x1347bd},!0x1);}};_0x3ab750=_0x2923d2([_0x2eaeb1(0x0,_0x15b207[_0x28bb4a(0x99)](_0x15b207[_0x28bb4a(0xed)])),_0x2eaeb1(0x1,_0x38de55[_0x28bb4a(0x1ce)])],_0x3ab750);var _0x3be02c=Object[_0x28bb4a(0x11a)],_0x3fb206=(_0x1e6243,_0x33371c,_0x51be70,_0x5ae041)=>{const _0x567ce2=_0x28bb4a;for(var _0x15b2a8=_0x5ae041>0x1?void 0x0:_0x5ae041?_0x3be02c(_0x33371c,_0x51be70):_0x33371c,_0x1ad8bf=_0x1e6243[_0x567ce2(0x27e)]-0x1,_0x3aba24;_0x1ad8bf>=0x0;_0x1ad8bf--)(_0x3aba24=_0x1e6243[_0x1ad8bf])&&(_0x15b2a8=_0x3aba24(_0x15b2a8)||_0x15b2a8);return _0x15b2a8;},_0x8469e7=(_0x5bcbee,_0x20a5bc)=>(_0x40d2db,_0x301f32)=>_0x20a5bc(_0x40d2db,_0x301f32,_0x5bcbee);let _0x167d24=class extends _0x15b207['Disposable']{constructor(_0x49ded6,_0x2cb3ca,_0x58c535,_0x2a0c58,_0x236329,_0xbd5aa9,_0x255c0b,_0x4ca460){const _0x51cc71=_0x28bb4a;super(),_0x52ecbf(this,_0x51cc71(0x13b),new _0x548118[(_0x51cc71(0x1bb))](_0x3fe587[_0x51cc71(0x153)][_0x51cc71(0x31f)])),(this['_docStateChangeManagerService']=_0x49ded6,this['_collaborationController']=_0x2cb3ca,this[_0x51cc71(0x174)]=_0x58c535,this[_0x51cc71(0x1a5)]=_0x2a0c58,this[_0x51cc71(0x135)]=_0x236329,this['_docSyncEditingCollabCursorService']=_0xbd5aa9,this[_0x51cc71(0x1cc)]=_0x255c0b,this[_0x51cc71(0x2d0)]=_0x4ca460,this[_0x51cc71(0x1b3)]());}['_initEntityListener'](){const _0x1ccac6=_0x28bb4a;this[_0x1ccac6(0x280)](this[_0x1ccac6(0x122)][_0x1ccac6(0xc6)]['subscribe'](_0x11f322=>{const _0x224c27=_0x1ccac6,_0x582e2c=this[_0x224c27(0x8d)][_0x224c27(0x2d7)][_0x224c27(0xa7)](_0x3f0a76=>{const _0x86d5fe=_0x224c27;if(_0x3f0a76==null)return;const {unitId:_0x5e027d,redoState:_0x3a856e,commandId:_0x13c744}=_0x3f0a76;if(_0x5e027d!==_0x11f322[_0x86d5fe(0x136)])return;const _0x512511={'id':_0x13c744,'type':_0x15b207['CommandType']['MUTATION'],'params':{'unitId':_0x5e027d,'actions':_0x3a856e[_0x86d5fe(0x116)],'textRanges':null}};_0x11f322[_0x86d5fe(0x1d7)](_0x512511);});if(_0x11f322[_0x224c27(0x280)](_0x582e2c),_0x11f322 instanceof _0x3fe587['DocCollaborationEntity']){const _0x5355a6={'onTransformIME':_0xcd0ef7=>this[_0x224c27(0x174)][_0x224c27(0xe4)](_0xcd0ef7),'onTransformState':_0x163c1b=>this[_0x224c27(0x1a5)][_0x224c27(0xb6)](_0x163c1b),'onTransformSelections':_0x5eabca=>this[_0x224c27(0x135)]['transformSelections'](_0x5eabca),'onSyncEditingCollabCursor':_0x4f7026=>this['_docSyncEditingCollabCursorService'][_0x224c27(0x134)](_0x4f7026),'onTransformRemoteChangesetByIMECache':_0x34084d=>this[_0x224c27(0x174)][_0x224c27(0x1b2)](_0x34084d),'onTransformRemoteChangesetByStateCache':_0x50ba64=>this[_0x224c27(0x1a5)][_0x224c27(0x1b2)](_0x50ba64)};_0x11f322[_0x224c27(0xe9)](_0x5355a6);}}));}};_0x167d24=_0x3fb206([_0x8469e7(0x0,_0x15b207[_0x28bb4a(0x99)](_0x57acc0[_0x28bb4a(0x169)])),_0x8469e7(0x1,_0x15b207[_0x28bb4a(0x99)](_0x3fe587[_0x28bb4a(0x2f5)])),_0x8469e7(0x2,_0x15b207[_0x28bb4a(0x99)](_0x572cde)),_0x8469e7(0x3,_0x15b207[_0x28bb4a(0x99)](_0x536821)),_0x8469e7(0x4,_0x15b207[_0x28bb4a(0x99)](_0x3ab750)),_0x8469e7(0x5,_0x15b207[_0x28bb4a(0x99)](_0x50948d)),_0x8469e7(0x6,_0x4b9e13[_0x28bb4a(0xf1)]),_0x8469e7(0x7,_0x15b207['Inject'](_0x15b207[_0x28bb4a(0x203)]))],_0x167d24);var _0x69f3f1=Object['getOwnPropertyDescriptor'],_0x3a742e=(_0x5dc536,_0x5233df,_0x4f78f1,_0x508dfe)=>{const _0x5a2e25=_0x28bb4a;for(var _0x1c3935=_0x508dfe>0x1?void 0x0:_0x508dfe?_0x69f3f1(_0x5233df,_0x4f78f1):_0x5233df,_0x54fe8d=_0x5dc536[_0x5a2e25(0x27e)]-0x1,_0x1ff699;_0x54fe8d>=0x0;_0x54fe8d--)(_0x1ff699=_0x5dc536[_0x54fe8d])&&(_0x1c3935=_0x1ff699(_0x1c3935)||_0x1c3935);return _0x1c3935;},_0x28ff1b=(_0x1c2a49,_0x85ee52)=>(_0x55041d,_0x37b486)=>_0x85ee52(_0x55041d,_0x37b486,_0x1c2a49);let _0x22b2d1=class extends _0x15b207[_0x28bb4a(0x171)]{constructor(_0x82121f,_0x2aaeba,_0x5b4e4b){const _0x33b6f7=_0x28bb4a;super(),_0x52ecbf(this,_0x33b6f7(0x2b8),new Map()),_0x52ecbf(this,_0x33b6f7(0x2e0),new Map()),_0x52ecbf(this,_0x33b6f7(0x25c),!0x1),(this[_0x33b6f7(0x189)]=_0x82121f,this['_localStorageService']=_0x2aaeba,this['_revisionService']=_0x5b4e4b);}['disableLocalCache'](){const _0x1eb116=_0x28bb4a;this[_0x1eb116(0x25c)]=!0x0;}[_0x28bb4a(0xc7)](){const _0x4a810d=_0x28bb4a;this[_0x4a810d(0x25c)]=!0x1;}get['saveTaskMap'](){const _0x3fc78a=_0x28bb4a;return this[_0x3fc78a(0x2e0)];}[_0x28bb4a(0x152)](){const _0x1f220b=_0x28bb4a;this[_0x1f220b(0x1f6)]()['then'](()=>super[_0x1f220b(0x152)]());}async[_0x28bb4a(0x2d1)](_0x32a079){const _0x3c27cc=_0x28bb4a;return this[_0x3c27cc(0x25c)]?null:this[_0x3c27cc(0x1a1)]['getItem'](_0x3fe587[_0x3c27cc(0x1d5)](_0x32a079));}async[_0x28bb4a(0x156)](_0x4cf8a9,_0x43cbd3){const _0x5d9ec0=_0x28bb4a;return!!this[_0x5d9ec0(0x1a1)][_0x5d9ec0(0xdb)](_0x4cf8a9,_0x43cbd3);}['updateOfflineData'](_0x3151b1,_0x16d89c,_0xa59427,_0x25fe66){const _0x59807c=_0x28bb4a,_0x6fa0a6=this['_revisionService']['getCurrentRevOfUnit'](_0x3151b1);this['_cachedData'][_0x59807c(0x31b)](_0x3151b1,{'unitID':_0x3151b1,'type':_0x16d89c,'awaitingChangeset':_0xa59427,'mutations':_0x25fe66,'rev':_0x6fa0a6}),this[_0x59807c(0x2e0)][_0x59807c(0x2e9)](_0x3151b1)||this['_scheduleSaving'](_0x3151b1);}[_0x28bb4a(0x208)](_0x3bced2){const _0x422c94=_0x28bb4a,_0x32e27b=this[_0x422c94(0x310)]();_0x32e27b===0x0?this[_0x422c94(0x19c)](_0x3bced2):this[_0x422c94(0x2e0)]['set'](_0x3bced2,setTimeout(()=>this[_0x422c94(0x19c)](_0x3bced2),_0x32e27b));}['_getSaveTimeout'](){const _0x365f7d=_0x28bb4a;var _0x3c21bc;return(_0x3c21bc=this[_0x365f7d(0x189)][_0x365f7d(0x305)](_0x3fe587[_0x365f7d(0x1c5)]))!=null?_0x3c21bc:_0x3fe587['LOCAL_CACHE_INTERVAL'];}[_0x28bb4a(0x19c)](_0x57dfc3){const _0x3015cf=_0x28bb4a,_0x5d6b03=this[_0x3015cf(0x2e0)][_0x3015cf(0x2ca)](_0x57dfc3);return _0x5d6b03!==void 0x0&&window[_0x3015cf(0x1d3)](_0x5d6b03),this[_0x3015cf(0x1a1)][_0x3015cf(0xdb)](_0x3fe587[_0x3015cf(0x1d5)](_0x57dfc3),this[_0x3015cf(0x2b8)][_0x3015cf(0x2ca)](_0x57dfc3))[_0x3015cf(0x8f)](()=>this[_0x3015cf(0x2e0)][_0x3015cf(0x260)](_0x57dfc3));}async[_0x28bb4a(0x1f6)](){const _0x4c8787=_0x28bb4a,_0x31cdb5=[];this['_saveTaskMap']['forEach']((_0x236b01,_0x148f07)=>{const _0x4a4f2b=_0x57fc;window[_0x4a4f2b(0x1d3)](_0x236b01),_0x31cdb5[_0x4a4f2b(0x2e7)](this['_saveCache'](_0x148f07)[_0x4a4f2b(0x8f)](()=>{this['_saveTaskMap']['delete'](_0x148f07);}));}),await Promise[_0x4c8787(0x243)](_0x31cdb5);}};_0x22b2d1=_0x3a742e([_0x28ff1b(0x0,_0x15b207[_0x28bb4a(0x160)]),_0x28ff1b(0x1,_0x15b207[_0x28bb4a(0x1de)]),_0x28ff1b(0x2,_0x15b207['Inject'](_0x38de55[_0x28bb4a(0x128)]))],_0x22b2d1);class _0x29d59a extends _0x15b207[_0x28bb4a(0xac)]{constructor(){const _0x15cce7=_0x28bb4a;super(),_0x52ecbf(this,_0x15cce7(0x21a)),this[_0x15cce7(0x21a)]=_0x548118[_0x15cce7(0x271)](window,_0x15cce7(0x1ab))[_0x15cce7(0x150)](_0x548118[_0x15cce7(0x1c4)](this[_0x15cce7(0x18e)]),_0x548118[_0x15cce7(0x1fb)](0x1),_0x548118[_0x15cce7(0x2b5)](void 0x0));}[_0x28bb4a(0xcd)](_0x1a176b,_0x4fc482,_0xc63346=!0x1){const _0x5736eb=_0x28bb4a,_0x30bb54=new URL(window['location']['href']);_0x30bb54[_0x5736eb(0x1da)][_0x5736eb(0x31b)](_0x1a176b,_0x4fc482),_0xc63346?window[_0x5736eb(0x26d)]['replaceState']('','',_0x30bb54['toString']()):window[_0x5736eb(0x26d)][_0x5736eb(0x1b7)]('','',_0x30bb54['toString']());}[_0x28bb4a(0x2a5)](_0x53059f,_0x571846=!0x1){const _0x26f833=_0x28bb4a,_0x4ca1f2=new URL(window[_0x26f833(0xa8)]['href']);_0x4ca1f2[_0x26f833(0x1da)][_0x26f833(0x260)](_0x53059f),_0x571846?window[_0x26f833(0x26d)]['replaceState']('','',_0x4ca1f2[_0x26f833(0x126)]()):window[_0x26f833(0x26d)][_0x26f833(0x1b7)]('','',_0x4ca1f2[_0x26f833(0x126)]());}['getParam'](_0x4c84f4){const _0x24d873=_0x28bb4a;var _0x5a743e;return(_0x5a743e=new URL(window[_0x24d873(0xa8)][_0x24d873(0xfc)])[_0x24d873(0x1da)][_0x24d873(0x2ca)](_0x4c84f4))!=null?_0x5a743e:void 0x0;}}var _0x16e47d=Object[_0x28bb4a(0x215)],_0x42e26b=Object[_0x28bb4a(0x11a)],_0x311965=(_0x5a983a,_0x2d7cc8,_0xe8334)=>_0x2d7cc8 in _0x5a983a?_0x16e47d(_0x5a983a,_0x2d7cc8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe8334}):_0x5a983a[_0x2d7cc8]=_0xe8334,_0x5ae9bd=(_0x539d26,_0x1691af,_0x408f15,_0x43c6ea)=>{for(var _0x80fd1c=_0x43c6ea>0x1?void 0x0:_0x43c6ea?_0x42e26b(_0x1691af,_0x408f15):_0x1691af,_0x284ab9=_0x539d26['length']-0x1,_0x5cfb22;_0x284ab9>=0x0;_0x284ab9--)(_0x5cfb22=_0x539d26[_0x284ab9])&&(_0x80fd1c=_0x5cfb22(_0x80fd1c)||_0x80fd1c);return _0x80fd1c;},_0x480ed4=(_0x26b5b2,_0x46fd11)=>(_0x43e7bf,_0x1dcd05)=>_0x46fd11(_0x43e7bf,_0x1dcd05,_0x26b5b2),_0x4118b8=(_0x5c78f2,_0x2963f4,_0x55e5e7)=>_0x311965(_0x5c78f2,_0x2963f4+'',_0x55e5e7);const _0x2a3291=_0x28bb4a(0x212);_0x31bd5e[_0x28bb4a(0x9c)]=class extends _0x15b207['Plugin']{constructor(_0x1ac157=_0x311072,_0x54c42a,_0x11dad6,_0x1a1fb7){const _0x10047e=_0x28bb4a;super(),this[_0x10047e(0x221)]=_0x1ac157,this['_renderManagerService']=_0x54c42a,this['_injector']=_0x11dad6,this['_configService']=_0x1a1fb7;const {..._0x4dca7e}=_0x15b207[_0x10047e(0x256)]({},_0x311072,this[_0x10047e(0x221)]);this[_0x10047e(0x189)][_0x10047e(0x1ed)](_0x275f4a,_0x4dca7e);}[_0x28bb4a(0x12a)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x28bb4a(0x1ea)](){const _0x318094=_0x28bb4a;this[_0x318094(0x287)]();}[_0x28bb4a(0x2fd)](){const _0x1306ab=_0x28bb4a;var _0x3c1e7d;const _0x282400=[[_0x406998],[_0x3ab750],[_0x572cde],[_0x536821],[_0x50948d],[_0x5e67ee,{'useClass':_0x29d59a}],[_0x5ba1cc['ISocketService'],{'useClass':_0x5ba1cc[_0x1306ab(0x298)]}],[_0x3fe587[_0x1306ab(0x15e)],{'useClass':_0x22b2d1}],[_0x31bd5e[_0x1306ab(0x241)]],[_0x167d24],[_0x45571b],[_0x338aa0],[_0x221090],[_0x31bd5e[_0x1306ab(0x2a7)]]];_0x15b207[_0x1306ab(0x2c9)](this[_0x1306ab(0x25e)],_0x15b207[_0x1306ab(0xf8)](_0x282400,(_0x3c1e7d=this['_config'])==null?void 0x0:_0x3c1e7d[_0x1306ab(0xeb)]));}[_0x28bb4a(0x287)](){const _0x3138f3=_0x28bb4a;this[_0x3138f3(0x280)](this[_0x3138f3(0x149)][_0x3138f3(0x89)](_0x15b207[_0x3138f3(0x306)]['UNIVER_DOC'],[_0x1927b2])),this[_0x3138f3(0x280)](this[_0x3138f3(0x149)][_0x3138f3(0x89)](_0x15b207['UniverInstanceType'][_0x3138f3(0x1f5)],[_0x4d81cc]));}['_initDependencies'](){const _0x5aec14=_0x28bb4a;_0x15b207[_0x5aec14(0x196)](this['_injector'],[[_0x338aa0],[_0x31bd5e[_0x5aec14(0x241)]],[_0x167d24],[_0x45571b],[_0x31bd5e[_0x5aec14(0x2a7)]]]);}},_0x4118b8(_0x31bd5e[_0x28bb4a(0x9c)],_0x28bb4a(0x2ce),_0x2a3291),_0x31bd5e[_0x28bb4a(0x9c)]=_0x5ae9bd([_0x15b207[_0x28bb4a(0x1e9)](_0x3fe587[_0x28bb4a(0xb2)]),_0x480ed4(0x1,_0x241ab7['IRenderManagerService']),_0x480ed4(0x2,_0x15b207[_0x28bb4a(0x99)](_0x15b207[_0x28bb4a(0xed)])),_0x480ed4(0x3,_0x15b207[_0x28bb4a(0x160)])],_0x31bd5e[_0x28bb4a(0x9c)]);var _0x40893f=Object[_0x28bb4a(0x11a)],_0x4cea2c=(_0x1cdc6a,_0x4db142,_0x4bbdf0,_0x513649)=>{const _0x17d10b=_0x28bb4a;for(var _0x1c14c0=_0x513649>0x1?void 0x0:_0x513649?_0x40893f(_0x4db142,_0x4bbdf0):_0x4db142,_0xfd3d18=_0x1cdc6a[_0x17d10b(0x27e)]-0x1,_0x33200e;_0xfd3d18>=0x0;_0xfd3d18--)(_0x33200e=_0x1cdc6a[_0xfd3d18])&&(_0x1c14c0=_0x33200e(_0x1c14c0)||_0x1c14c0);return _0x1c14c0;},_0x113da8=(_0x5a0ebb,_0x3bf4b1)=>(_0x171bc0,_0x2b6964)=>_0x3bf4b1(_0x171bc0,_0x2b6964,_0x5a0ebb);_0x31bd5e[_0x28bb4a(0x2c1)]=class extends _0x3fe587['CollaborationSocketService']{constructor(_0x55ddef,_0x162c53,_0x335ebb,_0x475901,_0x573dfe){super(_0x55ddef,_0x162c53,_0x335ebb,_0x475901,_0x573dfe);}async[_0x28bb4a(0x235)](_0x4b8b14){const _0x2318c3=_0x28bb4a,_0x51586=await this[_0x2318c3(0x1fc)](),_0x518d45=this[_0x2318c3(0x1e1)](_0x4b8b14,_0x51586);return this['_doCreateSocket'](_0x518d45);}[_0x28bb4a(0x1e1)](_0x548476,_0x38d5dd){const _0x398c8c=_0x28bb4a,_0x2da7df=typeof window>'u'?new URL(_0x548476):new URL(_0x548476,window[_0x398c8c(0xa8)]['origin']);_0x2da7df[_0x398c8c(0x1da)][_0x398c8c(0x31b)]('sessionTicket',_0x38d5dd);const _0x43d387=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x398c8c(0xa8)][_0x398c8c(0x2b7)]);return _0x43d387[_0x398c8c(0x2ca)](_0x398c8c(0xba))&&_0x2da7df['searchParams'][_0x398c8c(0x31b)]('runId',_0x43d387['get'](_0x398c8c(0xba))),_0x2da7df['toString']();}async[_0x28bb4a(0x1fc)](){const _0x4c1c2a=_0x28bb4a;var _0x571c36,_0x5e7857,_0x4e2359;const _0xcc0a2f=this[_0x4c1c2a(0x189)][_0x4c1c2a(0x305)](_0x3fe587[_0x4c1c2a(0x1c3)]),_0x2b32aa=(_0x571c36=_0xcc0a2f==null?void 0x0:_0xcc0a2f[_0x4c1c2a(0x1d6)])!=null?_0x571c36:_0x3fe587[_0x4c1c2a(0x1f7)];return(_0x4e2359=(_0x5e7857=(await this[_0x4c1c2a(0x31e)][_0x4c1c2a(0x2ca)](_0x2b32aa,{'headers':{'Content-Type':_0x4c1c2a(0x20f)}}))['body'])==null?void 0x0:_0x5e7857['ticket'])!=null?_0x4e2359:'';}},_0x31bd5e[_0x28bb4a(0x2c1)]=_0x4cea2c([_0x113da8(0x0,_0x15b207[_0x28bb4a(0x99)](_0x15b207[_0x28bb4a(0xed)])),_0x113da8(0x1,_0x15b207[_0x28bb4a(0x99)](_0x5ba1cc[_0x28bb4a(0x299)])),_0x113da8(0x2,_0x15b207[_0x28bb4a(0x160)]),_0x113da8(0x3,_0x15b207['ILogService']),_0x113da8(0x4,_0x38de55[_0x28bb4a(0x21e)])],_0x31bd5e[_0x28bb4a(0x2c1)]);const _0x7b3628=0x7530,_0x5e0654=_0x28bb4a(0x248);class _0x35f5b9 extends _0x15b207[_0x28bb4a(0x171)]{constructor(){const _0x22dc32=_0x28bb4a;super(),_0x52ecbf(this,_0x22dc32(0x145),_0x15b207['generateRandomId']()),_0x52ecbf(this,_0x22dc32(0x119),new Set()),_0x52ecbf(this,_0x22dc32(0x222),new Map()),_0x52ecbf(this,_0x22dc32(0x31d),null),_0x52ecbf(this,_0x22dc32(0x8a),new Map()),_0x52ecbf(this,'_unitStatus',new Map()),this[_0x22dc32(0x93)]();}['dispose'](){const _0x1bfd8e=_0x28bb4a;super[_0x1bfd8e(0x152)](),this['_clearOtherTimers'][_0x1bfd8e(0x15d)]((_0x11a1fb,_0x11f120)=>this['_removeClearOtherTimer'](_0x11f120)),this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x28bb4a(0x154)](_0x4b5786){const _0x4db2a3=_0x28bb4a;return this[_0x4db2a3(0x170)](_0x4b5786)[_0x4db2a3(0x150)](_0x548118[_0x4db2a3(0x2ad)]());}[_0x28bb4a(0x1e5)](_0x41a046){const _0x6f0c79=_0x28bb4a;this[_0x6f0c79(0x119)][_0x6f0c79(0x19f)]===0x0&&this[_0x6f0c79(0x28f)](),this['_selfUnitIDs']['add'](_0x41a046),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x41a046],'isForwarded':!0x1});}[_0x28bb4a(0x12c)](_0x23220c){const _0x27ffc6=_0x28bb4a;this[_0x27ffc6(0x119)][_0x27ffc6(0x260)](_0x23220c),this[_0x27ffc6(0x119)]['size']===0x0&&this[_0x27ffc6(0x31d)]&&window[_0x27ffc6(0x197)](this[_0x27ffc6(0x31d)]);}[_0x28bb4a(0x93)](){const _0x1bc340=_0x28bb4a;this[_0x1bc340(0x280)](_0x15b207['toDisposable'](_0x548118[_0x1bc340(0x271)](window,_0x1bc340(0x27c))[_0x1bc340(0xa7)](_0x192545=>{const _0x3726b3=_0x1bc340;if(_0x192545[_0x3726b3(0x2ee)]!==_0x5e0654||!_0x192545[_0x3726b3(0x249)])return;const _0x244bf5=JSON['parse'](_0x192545['newValue']);this[_0x3726b3(0x141)](_0x244bf5);}))),window[_0x1bc340(0xa0)](_0x1bc340(0x1a9),()=>this[_0x1bc340(0x1c8)]({'type':0x1,'memberID':this[_0x1bc340(0x145)],'unitIDs':Array[_0x1bc340(0x217)](this[_0x1bc340(0x119)])}));}[_0x28bb4a(0x141)](_0x406803){const _0x1b9a4e=_0x28bb4a;switch(_0x406803[_0x1b9a4e(0x172)]){case 0x0:this['_handleJoinEvent'](_0x406803);break;case 0x1:this[_0x1b9a4e(0x90)](_0x406803);break;case 0x2:this['_handleHeartbeatEvent'](_0x406803);break;}}[_0x28bb4a(0x20a)](_0x2a9f0a){const _0x1bccf7=_0x28bb4a,{unitIDs:_0x1960de,memberID:_0x431e40,isForwarded:_0x1ee7d2}=_0x2a9f0a;_0x1960de[_0x1bccf7(0x15d)](_0xab53b3=>{const _0x288845=_0x1bccf7;if(!_0x1ee7d2&&this[_0x288845(0x222)][_0x288845(0x2e9)](_0xab53b3)&&this['_ensureSubject'](_0xab53b3)[_0x288845(0x225)](_0x3fe587[_0x288845(0x165)][_0x288845(0xc0)]),!this[_0x288845(0x222)][_0x288845(0x2e9)](_0xab53b3)||!this[_0x288845(0x222)][_0x288845(0x2ca)](_0xab53b3)[_0x288845(0x2e9)](_0x431e40)){const _0xac8537=this[_0x288845(0x222)][_0x288845(0x2ca)](_0xab53b3)||new Set();_0xac8537[_0x288845(0xce)](_0x431e40),this[_0x288845(0x222)][_0x288845(0x31b)](_0xab53b3,_0xac8537),this[_0x288845(0xbd)](_0x431e40);}}),_0x1ee7d2||this[_0x1bccf7(0x1c8)]({'type':0x0,'memberID':this[_0x1bccf7(0x145)],'unitIDs':[...this[_0x1bccf7(0x119)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x159477){const _0x4602d7=_0x28bb4a;this[_0x4602d7(0x163)](_0x159477);const _0x5c0fbf=window[_0x4602d7(0xd9)](()=>{this['_unitOnClients']['forEach'](_0x25f123=>{const _0x1f8074=_0x57fc;_0x25f123[_0x1f8074(0x260)](_0x159477);});},_0x7b3628*0x2);this['_clearOtherTimers'][_0x4602d7(0x31b)](_0x159477,_0x5c0fbf);}[_0x28bb4a(0x163)](_0x4b22b1){const _0x5c7e3c=_0x28bb4a;if(this[_0x5c7e3c(0x8a)][_0x5c7e3c(0x2e9)](_0x4b22b1)){const _0x3a6007=this[_0x5c7e3c(0x8a)]['get'](_0x4b22b1);_0x3a6007&&window[_0x5c7e3c(0x1d3)](_0x3a6007),this[_0x5c7e3c(0x8a)][_0x5c7e3c(0x31b)](_0x4b22b1,null);}}['_handleLeaveEvent'](_0x1291c5){const _0x274d89=_0x28bb4a,{memberID:_0x573838,unitIDs:_0x5b1f14}=_0x1291c5;_0x5b1f14[_0x274d89(0x15d)](_0x77aebb=>{const _0x56422b=_0x274d89;var _0x538dfd;const _0x3cc7db=this[_0x56422b(0x222)][_0x56422b(0x2ca)](_0x77aebb);_0x3cc7db&&(_0x3cc7db[_0x56422b(0x260)](_0x573838),(_0x538dfd=this[_0x56422b(0x170)](_0x77aebb))==null||_0x538dfd[_0x56422b(0x225)](_0x3cc7db[_0x56422b(0x19f)]===0x0?_0x3fe587[_0x56422b(0x165)][_0x56422b(0x16b)]:_0x3fe587[_0x56422b(0x165)][_0x56422b(0xc0)]));}),this[_0x274d89(0x163)](_0x573838);}[_0x28bb4a(0x26a)](_0x4be8be){const _0x2e2182=_0x28bb4a;this['_scheduleClearOtherTimer'](_0x4be8be[_0x2e2182(0x143)]);}[_0x28bb4a(0x1c8)](_0x279431){const _0x31b813=_0x28bb4a;localStorage[_0x31b813(0xdb)](_0x5e0654,JSON[_0x31b813(0x1e6)](_0x279431));}[_0x28bb4a(0x28f)](){const _0x582356=_0x28bb4a;this[_0x582356(0x31d)]=window[_0x582356(0x2aa)](()=>{const _0x5a6c74=_0x582356;this[_0x5a6c74(0x1c8)]({'type':0x2,'memberID':this[_0x5a6c74(0x145)]});},_0x7b3628);}['_ensureSubject'](_0x416aed){const _0x5ea70b=_0x28bb4a;return this[_0x5ea70b(0x224)][_0x5ea70b(0x2e9)](_0x416aed)||this[_0x5ea70b(0x224)][_0x5ea70b(0x31b)](_0x416aed,new _0x548118[(_0x5ea70b(0x1bb))](_0x3fe587['UnitStatus'][_0x5ea70b(0x16b)])),this[_0x5ea70b(0x224)][_0x5ea70b(0x2ca)](_0x416aed);}}var _0x405505=(_0x162bbd=>(_0x162bbd[_0x162bbd[_0x28bb4a(0x187)]=0x0]=_0x28bb4a(0x187),_0x162bbd[_0x162bbd['OK']=0x1]='OK',_0x162bbd[_0x162bbd[_0x28bb4a(0x167)]=0x2]=_0x28bb4a(0x167),_0x162bbd[_0x162bbd['PERMISSION_DENIED']=0x3]=_0x28bb4a(0x107),_0x162bbd[_0x162bbd[_0x28bb4a(0x15b)]=0x4]=_0x28bb4a(0x15b),_0x162bbd[_0x162bbd['UNAUTHENTICATED']=0x5]=_0x28bb4a(0x1c9),_0x162bbd[_0x162bbd[_0x28bb4a(0x18f)]=0x6]=_0x28bb4a(0x18f),_0x162bbd[_0x162bbd[_0x28bb4a(0xf6)]=0x7]=_0x28bb4a(0xf6),_0x162bbd[_0x162bbd[_0x28bb4a(0x159)]=0x8]='TOO_MANY_REQUESTS',_0x162bbd[_0x162bbd['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x162bbd[_0x162bbd['LOGIN_FAILED']=0xa]=_0x28bb4a(0x191),_0x162bbd[_0x162bbd['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x28bb4a(0xf3),_0x162bbd[_0x162bbd[_0x28bb4a(0x2ea)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x162bbd[_0x162bbd[_0x28bb4a(0x1cd)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x162bbd[_0x162bbd[_0x28bb4a(0x15c)]=0x1773]=_0x28bb4a(0x15c),_0x162bbd[_0x162bbd['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x162bbd[_0x162bbd[_0x28bb4a(0x207)]=0x1b5a]=_0x28bb4a(0x207),_0x162bbd[_0x162bbd['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x162bbd[_0x162bbd[_0x28bb4a(0x193)]=0x1b5c]=_0x28bb4a(0x193),_0x162bbd[_0x162bbd[_0x28bb4a(0x2d8)]=0x1b5d]='APPLY_DUPLICATED',_0x162bbd[_0x162bbd[_0x28bb4a(0x194)]=0x1f41]=_0x28bb4a(0x194),_0x162bbd[_0x162bbd[_0x28bb4a(0xb5)]=0x2329]=_0x28bb4a(0xb5),_0x162bbd[_0x162bbd[_0x28bb4a(0x14d)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x162bbd[_0x162bbd[_0x28bb4a(0xe6)]=0x232b]=_0x28bb4a(0xe6),_0x162bbd[_0x162bbd[_0x28bb4a(0x246)]=0x232c]=_0x28bb4a(0x246),_0x162bbd[_0x162bbd[_0x28bb4a(0x1c1)]=0x232d]=_0x28bb4a(0x1c1),_0x162bbd[_0x162bbd[_0x28bb4a(0x1c0)]=0x2711]=_0x28bb4a(0x1c0),_0x162bbd[_0x162bbd['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x28bb4a(0x106),_0x162bbd[_0x162bbd['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x28bb4a(0x318),_0x162bbd[_0x162bbd[_0x28bb4a(0x20e)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x162bbd[_0x162bbd[_0x28bb4a(0xf4)]=0x2af9]=_0x28bb4a(0xf4),_0x162bbd[_0x162bbd[_0x28bb4a(0x1b8)]=0x2ee1]=_0x28bb4a(0x1b8),_0x162bbd[_0x162bbd[_0x28bb4a(0xd3)]=0x2ee2]='INVALID_INVITE_CODE',_0x162bbd[_0x162bbd[_0x28bb4a(0x17e)]=0x2ee3]=_0x28bb4a(0x17e),_0x162bbd[_0x162bbd[_0x28bb4a(0x273)]=0x2ee4]=_0x28bb4a(0x273),_0x162bbd[_0x162bbd[_0x28bb4a(0x12e)]=0x2ee5]=_0x28bb4a(0x12e),_0x162bbd[_0x162bbd[_0x28bb4a(0x1df)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x162bbd[_0x162bbd[_0x28bb4a(0x2f3)]=0x32ca]=_0x28bb4a(0x2f3),_0x162bbd[_0x162bbd[_0x28bb4a(0x151)]=0x32cb]=_0x28bb4a(0x151),_0x162bbd[_0x162bbd[_0x28bb4a(0x1b9)]=-0x1]=_0x28bb4a(0x1b9),_0x162bbd))(_0x405505||{}),_0x592544=Object[_0x28bb4a(0x11a)],_0x1e0590=(_0x17e5ad,_0x490990,_0x49341b,_0x1cee98)=>{const _0x18a44f=_0x28bb4a;for(var _0x46cd72=_0x1cee98>0x1?void 0x0:_0x1cee98?_0x592544(_0x490990,_0x49341b):_0x490990,_0x32c7fa=_0x17e5ad[_0x18a44f(0x27e)]-0x1,_0x15cf05;_0x32c7fa>=0x0;_0x32c7fa--)(_0x15cf05=_0x17e5ad[_0x32c7fa])&&(_0x46cd72=_0x15cf05(_0x46cd72)||_0x46cd72);return _0x46cd72;},_0x4d7795=(_0x33258a,_0x1cfdd1)=>(_0x166b81,_0x17e922)=>_0x1cfdd1(_0x166b81,_0x17e922,_0x33258a);_0x31bd5e[_0x28bb4a(0x17f)]=class extends _0x15b207['Disposable']{constructor(_0x5f0f0c,_0x119e0a,_0x1ee832){const _0x2773f4=_0x28bb4a;super(),this[_0x2773f4(0x250)]=_0x5f0f0c,this[_0x2773f4(0x31e)]=_0x119e0a,this['_configService']=_0x1ee832;}async[_0x28bb4a(0x11e)](_0x517831,_0x231f2d,_0x425358,..._0x3472aa){const _0x4d4fe9=_0x28bb4a;var _0x1aef80,_0x11fb8b,_0x1fb9ba,_0x129488;const _0x1925d8=this[_0x4d4fe9(0x250)][_0x4d4fe9(0xcc)]();if(!_0x1925d8)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x22c37a=((_0x1aef80=this[_0x4d4fe9(0x189)][_0x4d4fe9(0x305)](_0x3fe587[_0x4d4fe9(0x282)]))!=null?_0x1aef80:_0x3fe587[_0x4d4fe9(0x2c3)])+'/'+_0x517831+_0x4d4fe9(0x1a8)+_0x231f2d,_0x53cdb3=new URL(window[_0x4d4fe9(0xa8)][_0x4d4fe9(0xfc)]),_0x217706={'scriptId':_0x517831,'runId':(_0x11fb8b=_0x53cdb3['searchParams'][_0x4d4fe9(0x2ca)]('runId'))!=null?_0x11fb8b:'','function':_0x231f2d,'unitId':_0x1925d8[_0x4d4fe9(0x220)](),'argsOfFunction':JSON[_0x4d4fe9(0x1e6)](_0x3472aa),'invokeId':(_0x1fb9ba=_0x425358[_0x4d4fe9(0x146)])!=null?_0x1fb9ba:'','executionId':(_0x129488=_0x425358[_0x4d4fe9(0x14a)])!=null?_0x129488:''};try{const _0x48d43c=await this[_0x4d4fe9(0x31e)][_0x4d4fe9(0x236)](_0x22c37a,{'body':_0x217706});return _0x48d43c[_0x4d4fe9(0xbb)]['error']&&_0x48d43c['body']['error'][_0x4d4fe9(0x2d9)]!==_0x405505['OK']?_0x4d4fe9(0x230):_0x48d43c['body']['result'];}catch{return'Failed';}}},_0x31bd5e['RemoteUniscriptService']=_0x1e0590([_0x4d7795(0x0,_0x15b207[_0x28bb4a(0x1b0)]),_0x4d7795(0x1,_0x15b207[_0x28bb4a(0x99)](_0x5ba1cc[_0x28bb4a(0x299)])),_0x4d7795(0x2,_0x15b207[_0x28bb4a(0x160)])],_0x31bd5e[_0x28bb4a(0x17f)]),_0x31bd5e[_0x28bb4a(0x1dc)]=_0x184ea2,_0x31bd5e[_0x28bb4a(0xbe)]=_0x5e67ee,_0x31bd5e['SheetCollabCursorShape']=_0x2dea2d,_0x31bd5e['WebBrowserSingleActiveUnitService']=_0x35f5b9,_0x31bd5e[_0x28bb4a(0x1ff)]=_0x29d59a,Object['defineProperty'](_0x31bd5e,Symbol[_0x28bb4a(0x307)],{'value':'Module'});}));