@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504181606 → 0.6.10-nightly.202504201606
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/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x3804e7,_0x16bbd4){const _0x51c215=_0x43e1,_0x834b8c=_0x3804e7();while(!![]){try{const _0x141b73=-parseInt(_0x51c215(0x229))/0x1+parseInt(_0x51c215(0x2e2))/0x2*(-parseInt(_0x51c215(0x387))/0x3)+-parseInt(_0x51c215(0x2cf))/0x4*(-parseInt(_0x51c215(0x1eb))/0x5)+-parseInt(_0x51c215(0x22d))/0x6+parseInt(_0x51c215(0x326))/0x7+parseInt(_0x51c215(0x36c))/0x8+parseInt(_0x51c215(0x161))/0x9*(parseInt(_0x51c215(0x221))/0xa);if(_0x141b73===_0x16bbd4)break;else _0x834b8c['push'](_0x834b8c['shift']());}catch(_0x2cf621){_0x834b8c['push'](_0x834b8c['shift']());}}}(_0x5858,0x8bfb4),function(_0x52cbe4,_0x38a14a){const _0x191192=_0x43e1;typeof exports==_0x191192(0x361)&&typeof module<'u'?_0x38a14a(exports,require(_0x191192(0x132)),require(_0x191192(0x321)),require(_0x191192(0x19a)),require(_0x191192(0x2dc)),require(_0x191192(0x39e)),require(_0x191192(0x2c1)),require(_0x191192(0x1aa)),require(_0x191192(0x14e)),require(_0x191192(0x2d0)),require('@univerjs/engine-formula'),require(_0x191192(0x293)),require(_0x191192(0x1ce)),require(_0x191192(0x289)),require(_0x191192(0x2a9)),require(_0x191192(0x364)),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0x191192(0x253)&&define[_0x191192(0x375)]?define([_0x191192(0x232),'@univerjs-pro/collaboration-client','@univerjs/core',_0x191192(0x19a),_0x191192(0x2dc),_0x191192(0x39e),_0x191192(0x2c1),_0x191192(0x1aa),_0x191192(0x14e),_0x191192(0x2d0),_0x191192(0x1f9),'@univerjs/sheets',_0x191192(0x1ce),_0x191192(0x289),'react/jsx-runtime',_0x191192(0x364),_0x191192(0x255),_0x191192(0x2fa),_0x191192(0x2b6)],_0x38a14a):(_0x52cbe4=typeof globalThis<'u'?globalThis:_0x52cbe4||self,_0x38a14a(_0x52cbe4['UniverProCollaborationClientUi']={},_0x52cbe4['UniverProCollaborationClient'],_0x52cbe4[_0x191192(0x11f)],_0x52cbe4['UniverEngineRender'],_0x52cbe4[_0x191192(0x262)],_0x52cbe4[_0x191192(0x265)],_0x52cbe4[_0x191192(0x1b6)],_0x52cbe4['rxjs'],_0x52cbe4[_0x191192(0x291)],_0x52cbe4[_0x191192(0x18b)],_0x52cbe4['UniverEngineFormula'],_0x52cbe4[_0x191192(0x32c)],_0x52cbe4['rxjs'][_0x191192(0x1a8)],_0x52cbe4[_0x191192(0x141)],_0x52cbe4[_0x191192(0x27e)],_0x52cbe4['UniverUi'],_0x52cbe4['UniverDesign'],_0x52cbe4[_0x191192(0x27e)],_0x52cbe4[_0x191192(0x116)]));}(this,function(_0x36c617,_0x4f478b,_0x386f4f,_0x3cf560,_0x141f63,_0x472a15,_0x120d27,_0x4be4f6,_0x295784,_0x1d0381,_0x377136,_0x327184,_0x41609c,_0x390eae,_0x1af772,_0x1a993f,_0x12259d,_0x105c2,_0x159f8e){'use strict';const _0x193cba=_0x43e1;var _0x17571e=Object['defineProperty'],_0x58fa3e=(_0x1d850d,_0x13c3c1,_0x140659)=>_0x13c3c1 in _0x1d850d?_0x17571e(_0x1d850d,_0x13c3c1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x140659}):_0x1d850d[_0x13c3c1]=_0x140659,_0x1faacb=(_0x38504b,_0x10630c,_0xb40ed3)=>_0x58fa3e(_0x38504b,typeof _0x10630c!=_0x193cba(0x214)?_0x10630c+'':_0x10630c,_0xb40ed3),_0x140657=Object[_0x193cba(0x2d5)],_0x3f2de8=(_0xea27f1,_0xf0db4e,_0x17542b,_0x43d44f)=>{for(var _0x2ce21a=_0x43d44f>0x1?void 0x0:_0x43d44f?_0x140657(_0xf0db4e,_0x17542b):_0xf0db4e,_0x561048=_0xea27f1['length']-0x1,_0x452c43;_0x561048>=0x0;_0x561048--)(_0x452c43=_0xea27f1[_0x561048])&&(_0x2ce21a=_0x452c43(_0x2ce21a)||_0x2ce21a);return _0x2ce21a;},_0x36614d=(_0x438e03,_0x327028)=>(_0x5ebe69,_0x4444e9)=>_0x327028(_0x5ebe69,_0x4444e9,_0x438e03);let _0x1896ae=class extends _0x386f4f[_0x193cba(0x320)]{constructor(_0x26f0fe,_0x38514a){const _0x2d31d7=_0x193cba;super(),this[_0x2d31d7(0x2c9)]=_0x26f0fe,this['_imageIoService']=_0x38514a,this[_0x2d31d7(0x24f)]();}[_0x193cba(0x24f)](){const _0x30f9b2=_0x193cba,_0x561b7b=this;this[_0x30f9b2(0x258)](this[_0x30f9b2(0x2c9)][_0x30f9b2(0x348)]({'onBeforePasteImage':async _0x2f5f7d=>{const _0x930478=_0x30f9b2,_0x11f155=await _0x561b7b['_imageIoService'][_0x930478(0x31a)](_0x2f5f7d);return _0x11f155?{'source':_0x11f155[_0x930478(0x2f8)],'imageSourceType':_0x11f155[_0x930478(0x2f3)]}:null;}}));}};_0x1896ae=_0x3f2de8([_0x36614d(0x0,_0x472a15['IDocClipboardService']),_0x36614d(0x1,_0x120d27[_0x193cba(0x331)])],_0x1896ae);const _0x21fe44=[_0x193cba(0x1ca),_0x193cba(0x1e2),'verdancy600',_0x193cba(0x36b),_0x193cba(0x1c8),_0x193cba(0x396)];class _0x4088ae extends _0x386f4f['Disposable']{constructor(){const _0x161734=_0x193cba;super(...arguments),_0x1faacb(this,_0x161734(0x17a),new Map()),_0x1faacb(this,'_colorIndex',0x0);}[_0x193cba(0x308)](_0x4ec66b){const _0x4a74b2=_0x193cba;if(this[_0x4a74b2(0x17a)][_0x4a74b2(0x25c)](_0x4ec66b))return this[_0x4a74b2(0x17a)]['get'](_0x4ec66b);const _0x3531fc=_0x21fe44[this[_0x4a74b2(0x239)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x21fe44['length'],this['_assignedColors'][_0x4a74b2(0x15c)](_0x4ec66b,_0x3531fc),_0x3531fc;}}function _0x31bf8e(_0xccba95){let _0xe45f25='';for(const _0x5ee652 of _0xccba95){const {startOffset:_0x281446,endOffset:_0x2c33dd,isActive:_0x4b576a,rangeType:_0x4c68e8,segmentId:_0x4bb73e,segmentPage:_0x42c0b7}=_0x5ee652;_0xe45f25['length']&&(_0xe45f25+=','),_0xe45f25+=_0x281446+':'+_0x2c33dd+':'+(_0x4b576a?'1':'0')+':'+_0x4c68e8+':'+_0x4bb73e+':'+_0x42c0b7;}return _0xe45f25;}function _0xce10fc(_0x229555){const _0xbf7e73=_0x193cba,_0x4b90c3=_0x229555['split'](','),_0x3e0366=[];for(const _0x5140aa of _0x4b90c3){const [_0x28f0fa,_0x7a4aaa,_0x17f15c,_0x90b949,_0x3c6751,_0x1184ec]=_0x5140aa[_0xbf7e73(0x2ef)](':');_0x3e0366[_0xbf7e73(0x2be)]({'startOffset':Number(_0x28f0fa),'endOffset':Number(_0x7a4aaa),'collapsed':_0x28f0fa===_0x7a4aaa,'isActive':_0x17f15c==='1','rangeType':_0x90b949===_0x386f4f[_0xbf7e73(0x378)]['TEXT']?_0x386f4f[_0xbf7e73(0x378)]['TEXT']:_0x386f4f[_0xbf7e73(0x378)]['RECT'],'segmentId':typeof _0x3c6751==_0xbf7e73(0x235)?String(_0x3c6751):'','segmentPage':Number(_0x1184ec!=null?_0x1184ec:-0x1)});}return _0x3e0366[_0xbf7e73(0x137)](_0x54bbb0=>_0x54bbb0[_0xbf7e73(0x13e)])||(_0x3e0366[0x0]['isActive']=!0x0),_0x3e0366;}class _0x88948a extends _0x386f4f[_0x193cba(0x320)]{constructor(){const _0x4a37ed=_0x193cba;super(...arguments),_0x1faacb(this,_0x4a37ed(0x15d),new _0x4be4f6['BehaviorSubject'](null)),_0x1faacb(this,'collabCursorState$',this[_0x4a37ed(0x15d)][_0x4a37ed(0x322)]());}[_0x193cba(0x159)](_0x5465ad){const {unitID:_0x57c59c,memberID:_0x53e086,textRanges:_0x2e1421}=_0x5465ad,_0x3e7eda=_0x31bf8e(_0x2e1421);if(_0x3e7eda==='')return;const _0x10ab3c={'unitID':_0x57c59c,'memberID':_0x53e086,'selection':_0x3e7eda};this['_collabCursorState$']['next'](_0x10ab3c);}}var _0x4196b5=Object[_0x193cba(0x2d5)],_0x56cd43=(_0x2a460a,_0x2bbe72,_0x1b1de9,_0x4d4ecf)=>{const _0x4af851=_0x193cba;for(var _0x488471=_0x4d4ecf>0x1?void 0x0:_0x4d4ecf?_0x4196b5(_0x2bbe72,_0x1b1de9):_0x2bbe72,_0x17c7bc=_0x2a460a[_0x4af851(0x1da)]-0x1,_0x2960ca;_0x17c7bc>=0x0;_0x17c7bc--)(_0x2960ca=_0x2a460a[_0x17c7bc])&&(_0x488471=_0x2960ca(_0x488471)||_0x488471);return _0x488471;},_0x478d0e=(_0x559b42,_0x56bcff)=>(_0x443798,_0x343b6e)=>_0x56bcff(_0x443798,_0x343b6e,_0x559b42);const _0x3d0147=0x12c,_0x414a07=0x64;let _0x39350e=class extends _0x386f4f['RxDisposable']{constructor(_0x52d446,_0x2638a1,_0x26f3f4,_0x496f4a,_0x70506b,_0x579fdd,_0x2c410b,_0x5a107a,_0x2f1ae1){const _0xded4f7=_0x193cba;super(),_0x1faacb(this,_0xded4f7(0x16d),!0x1),_0x1faacb(this,'_init',!0x1),_0x1faacb(this,_0xded4f7(0x2e7),new _0x4be4f6[(_0xded4f7(0x2b3))](new Map())),_0x1faacb(this,_0xded4f7(0x17b),this[_0xded4f7(0x2e7)]['asObservable']()),_0x1faacb(this,_0xded4f7(0x11e),new _0x4be4f6['BehaviorSubject']([])),_0x1faacb(this,'roomMembers$',this[_0xded4f7(0x11e)][_0xded4f7(0x143)](_0x4be4f6[_0xded4f7(0x166)](_0x3d0147))),_0x1faacb(this,_0xded4f7(0x199),_0x386f4f[_0xded4f7(0x21b)](_0x5a0e1b=>{const _0x57eab5=_0xded4f7,_0x21bf6f={'eventID':_0x1d0381[_0x57eab5(0x2b4)][_0x57eab5(0x371)],'data':{'unitID':this['unitID'],'memberID':this[_0x57eab5(0x263)]['getMemberID'](),'selection':_0x31bf8e(_0x5a0e1b)}};this[_0x57eab5(0x263)][_0x57eab5(0x312)](_0x21bf6f,this[_0x57eab5(0x310)]);},_0x414a07)),(this['unitID']=_0x52d446,this[_0xded4f7(0x263)]=_0x2638a1,this['_injector']=_0x26f3f4,this[_0xded4f7(0x2c0)]=_0x496f4a,this[_0xded4f7(0x1af)]=_0x70506b,this[_0xded4f7(0x313)]=_0x579fdd,this[_0xded4f7(0x182)]=_0x2c410b,this[_0xded4f7(0x1f5)]=_0x5a107a,this['_commandService']=_0x2f1ae1);}get['cursorInfo'](){const _0x34276f=_0x193cba;return this[_0x34276f(0x2e7)][_0x34276f(0x28f)]();}get[_0x193cba(0x145)](){const _0x5a8974=_0x193cba;return this[_0x5a8974(0x11e)][_0x5a8974(0x28f)]();}[_0x193cba(0x32f)](){const _0x1ae2da=_0x193cba;super[_0x1ae2da(0x32f)](),this[_0x1ae2da(0x2e7)][_0x1ae2da(0x37b)](new Map()),this[_0x1ae2da(0x2e7)][_0x1ae2da(0x373)](),this[_0x1ae2da(0x11e)]['next']([]),this[_0x1ae2da(0x11e)][_0x1ae2da(0x373)]();}[_0x193cba(0x192)](){const _0x1c7de4=_0x193cba;this[_0x1c7de4(0x24f)]||(this[_0x1c7de4(0x24f)]=!0x0,this[_0x1c7de4(0x263)][_0x1c7de4(0x20a)][_0x1c7de4(0x143)](_0x4be4f6[_0x1c7de4(0x30f)](this[_0x1c7de4(0x22c)]))[_0x1c7de4(0x274)](_0x4ea7d4=>{const _0x544fd7=_0x1c7de4;_0x4ea7d4===_0x4f478b['SessionStatus'][_0x544fd7(0x2ed)]?this[_0x544fd7(0x266)]():this[_0x544fd7(0x31d)]();}),this['_session']['event$'][_0x1c7de4(0x143)](_0x4be4f6[_0x1c7de4(0x30f)](this[_0x1c7de4(0x22c)]))[_0x1c7de4(0x274)](_0x49b52b=>{const _0x5d9722=_0x1c7de4,_0xff3f87=_0x49b52b['eventID'];_0xff3f87===_0x1d0381[_0x5d9722(0x2b4)][_0x5d9722(0x371)]&&this[_0x5d9722(0x30d)](_0x49b52b),_0xff3f87===_0x1d0381['CollaborationEvent'][_0x5d9722(0x2ee)]&&this[_0x5d9722(0x1b1)](_0x49b52b);}),this[_0x1c7de4(0x258)](this[_0x1c7de4(0x2f4)][_0x1c7de4(0x2ea)](_0x298f5f=>{const _0x36855c=_0x1c7de4,_0x307d53=_0x298f5f[_0x36855c(0x257)];_0x307d53!=null&&this['_online']&&_0x298f5f['id']===_0x295784[_0x36855c(0x123)]['id']&&_0x307d53['unitId']===this[_0x36855c(0x310)]&&_0x307d53['isEditing']===!0x1&&_0x307d53[_0x36855c(0x12e)][_0x36855c(0x1da)]>0x0&&this[_0x36855c(0x199)](_0x307d53[_0x36855c(0x12e)]);})),this['_syncEditingCollabCursorService'][_0x1c7de4(0x128)][_0x1c7de4(0x143)](_0x4be4f6[_0x1c7de4(0x30f)](this[_0x1c7de4(0x22c)]))['subscribe'](_0x45fe5b=>{const _0x4009f9=_0x1c7de4;if((_0x45fe5b==null?void 0x0:_0x45fe5b['unitID'])!==this['unitID'])return;const _0x3f4366={'eventID':_0x1d0381[_0x4009f9(0x2b4)][_0x4009f9(0x371)],'data':_0x45fe5b};this[_0x4009f9(0x30d)](_0x3f4366);}),this[_0x1c7de4(0x258)](this[_0x1c7de4(0x2f4)][_0x1c7de4(0x2ea)](_0x54e5dc=>{const _0x154c08=_0x1c7de4;if(_0x54e5dc[_0x154c08(0x257)]==null)return;const _0x4bda2c=_0x54e5dc[_0x154c08(0x257)];if(_0x54e5dc['id']!==_0x295784[_0x154c08(0x35d)]['id']||_0x4bda2c[_0x154c08(0x162)]!==this[_0x154c08(0x310)])return;const _0x332c7={'id':_0x154c08(0x29d),'params':_0x4bda2c},_0x27c3e0=this[_0x154c08(0x142)];for(const [_0x52ca93,_0x3a57d6]of _0x27c3e0){const _0x3b8013={'id':_0x154c08(0x29d),'params':{'unitId':this[_0x154c08(0x310)],'actions':null,'textRanges':_0x3a57d6[_0x154c08(0x12e)]}},_0x3f10dd=this[_0x154c08(0x182)]['transformMutation'](_0x332c7,_0x3b8013,!0x1);if(_0x1d0381[_0x154c08(0x303)](_0x3f10dd))throw _0x3f10dd[_0x154c08(0x282)];_0x27c3e0['set'](_0x52ca93,{..._0x3a57d6,'ranges':_0x3f10dd[_0x154c08(0x32e)]['params'][_0x154c08(0x2c3)]});}queueMicrotask(()=>{const _0x4b61ba=_0x154c08;this[_0x4b61ba(0x2e7)]['next'](_0x27c3e0);});})));}[_0x193cba(0x30d)](_0x51b84e){const _0x1b054b=_0x193cba;var _0x534c62,_0x1bf720;const {memberID:_0x1ac651,selection:_0x2b8caf}=_0x51b84e['data'],_0x41b2f7=_0xce10fc(_0x2b8caf),_0x2da091=(_0x1bf720=(_0x534c62=this[_0x1b054b(0x1af)][_0x1b054b(0x2e5)](this[_0x1b054b(0x310)],_0x1ac651))==null?void 0x0:_0x534c62['name'])!=null?_0x1bf720:_0x1b054b(0x351),_0x29492a={'color':this[_0x1b054b(0x2c0)]['assignAColorForMemberID'](_0x1ac651),'name':_0x2da091,'ranges':_0x41b2f7},_0x9c8273=this['cursorInfo'];_0x9c8273[_0x1b054b(0x15c)](_0x1ac651,_0x29492a),this[_0x1b054b(0x2e7)]['next'](_0x9c8273);}[_0x193cba(0x1b1)](_0x2c8d66){const _0x46699a=_0x193cba,{memberID:_0x265082}=_0x2c8d66['data'],_0x23e67f=this[_0x46699a(0x142)];_0x23e67f[_0x46699a(0x384)](_0x265082),this[_0x46699a(0x2e7)]['next'](_0x23e67f);}[_0x193cba(0x266)](){const _0x2cfd20=_0x193cba;var _0x1e3da9;if(this[_0x2cfd20(0x16d)]=!0x0,((_0x1e3da9=this[_0x2cfd20(0x1f5)][_0x2cfd20(0x1a3)]())==null?void 0x0:_0x1e3da9['getUnitId']())!==this[_0x2cfd20(0x310)])return;const _0x57d543=this[_0x2cfd20(0x183)][_0x2cfd20(0x2e1)](_0x295784['DocSelectionManagerService'])[_0x2cfd20(0x285)]();Array[_0x2cfd20(0x1be)](_0x57d543)&&_0x57d543[_0x2cfd20(0x1da)]>0x0&&this[_0x2cfd20(0x199)](_0x57d543);}[_0x193cba(0x31d)](){const _0x1700f3=_0x193cba;this[_0x1700f3(0x16d)]=!0x1;}};_0x39350e=_0x56cd43([_0x478d0e(0x2,_0x386f4f[_0x193cba(0x24d)](_0x386f4f[_0x193cba(0x290)])),_0x478d0e(0x3,_0x386f4f['Inject'](_0x4088ae)),_0x478d0e(0x4,_0x386f4f[_0x193cba(0x24d)](_0x4f478b['MemberService'])),_0x478d0e(0x5,_0x386f4f[_0x193cba(0x24d)](_0x88948a)),_0x478d0e(0x6,_0x1d0381['ITransformService']),_0x478d0e(0x7,_0x386f4f[_0x193cba(0x2ce)]),_0x478d0e(0x8,_0x386f4f['ICommandService'])],_0x39350e);var _0x3eafcd=Object[_0x193cba(0x2d5)],_0x535d0e=(_0x5bcf2c,_0xc8d764,_0xc9affe,_0x528905)=>{const _0x3013dc=_0x193cba;for(var _0x34ecbe=_0x528905>0x1?void 0x0:_0x528905?_0x3eafcd(_0xc8d764,_0xc9affe):_0xc8d764,_0x490a9a=_0x5bcf2c[_0x3013dc(0x1da)]-0x1,_0x562f37;_0x490a9a>=0x0;_0x490a9a--)(_0x562f37=_0x5bcf2c[_0x490a9a])&&(_0x34ecbe=_0x562f37(_0x34ecbe)||_0x34ecbe);return _0x34ecbe;},_0x10377d=(_0x251a4e,_0x3fc92e)=>(_0x291412,_0x5b194f)=>_0x3fc92e(_0x291412,_0x5b194f,_0x251a4e);const _0x2b740e=0x12c,_0x4ee0dd=0x64,_0x6d01bf=()=>{let _0x3c6b04=[],_0x1ec66f=!0x1;return _0x2090c8=>{_0x3c6b04['push'](_0x2090c8),_0x1ec66f||(_0x1ec66f=!0x0,setTimeout(()=>{const _0x264b71=_0x43e1;_0x3c6b04[_0x264b71(0x2fc)](_0x357558=>_0x357558()),_0x3c6b04=[],_0x1ec66f=!0x1;}));};};let _0xac371c=class extends _0x386f4f[_0x193cba(0x320)]{constructor(_0x32c54b,_0x5b84cb,_0xd589fd,_0x272fc1,_0x53f395,_0x3c9844,_0xb77f77,_0x112664){const _0x2f6b09=_0x193cba;super(),_0x1faacb(this,_0x2f6b09(0x16d),!0x1),_0x1faacb(this,_0x2f6b09(0x24f),!0x1),_0x1faacb(this,_0x2f6b09(0x2e7),new _0x4be4f6[(_0x2f6b09(0x2b3))](new Map())),_0x1faacb(this,_0x2f6b09(0x17b),this[_0x2f6b09(0x2e7)]['asObservable']()),_0x1faacb(this,'_roomMembers$',new _0x4be4f6[(_0x2f6b09(0x2b3))]([])),_0x1faacb(this,_0x2f6b09(0x169),this['_roomMembers$'][_0x2f6b09(0x143)](_0x4be4f6['debounceTime'](_0x2b740e))),_0x1faacb(this,_0x2f6b09(0x199),_0x386f4f['debounce']((_0x181c2d,_0x39ff73)=>{const _0x49d773=_0x2f6b09,_0x353bb2={'eventID':_0x1d0381['CollaborationEvent'][_0x49d773(0x371)],'data':{'unitID':this[_0x49d773(0x310)],'memberID':this['_session'][_0x49d773(0x26c)](),'selection':_0x377136[_0x49d773(0x1d4)](_0x181c2d,_0x39ff73[_0x49d773(0x279)])}};this[_0x49d773(0x263)][_0x49d773(0x312)](_0x353bb2,this[_0x49d773(0x310)]);},_0x4ee0dd)),(this[_0x2f6b09(0x310)]=_0x32c54b,this['_session']=_0x5b84cb,this[_0x2f6b09(0x183)]=_0xd589fd,this[_0x2f6b09(0x2c0)]=_0x272fc1,this[_0x2f6b09(0x1af)]=_0x53f395,this['_univerInstanceService']=_0x3c9844,this[_0x2f6b09(0x2f4)]=_0xb77f77,this[_0x2f6b09(0x1d2)]=_0x112664);}get['cursorInfo'](){const _0x498c2e=_0x193cba;return this['_cursorInfo$'][_0x498c2e(0x28f)]();}get[_0x193cba(0x145)](){const _0x5cea9f=_0x193cba;return this['_roomMembers$'][_0x5cea9f(0x28f)]();}[_0x193cba(0x32f)](){const _0x1bac1a=_0x193cba;super['dispose'](),this[_0x1bac1a(0x2e7)][_0x1bac1a(0x37b)](new Map()),this[_0x1bac1a(0x2e7)]['complete'](),this[_0x1bac1a(0x11e)][_0x1bac1a(0x37b)]([]),this[_0x1bac1a(0x11e)][_0x1bac1a(0x373)]();}['init'](){const _0x25da10=_0x193cba;this['_init']||(this[_0x25da10(0x24f)]=!0x0,this[_0x25da10(0x263)][_0x25da10(0x20a)][_0x25da10(0x143)](_0x4be4f6[_0x25da10(0x30f)](this[_0x25da10(0x22c)]))[_0x25da10(0x274)](_0x3d134f=>{const _0x540582=_0x25da10;_0x3d134f===_0x4f478b[_0x540582(0x130)]['ONLINE']?this[_0x540582(0x266)]():this['_toggleOffline']();}),this[_0x25da10(0x263)][_0x25da10(0x304)][_0x25da10(0x143)](_0x4be4f6[_0x25da10(0x30f)](this[_0x25da10(0x22c)]))[_0x25da10(0x274)](_0x131883=>{const _0x33fe35=_0x25da10,_0x424b7b=_0x131883['eventID'];_0x424b7b===_0x1d0381['CollaborationEvent'][_0x33fe35(0x371)]&&this[_0x33fe35(0x30d)](_0x131883),_0x424b7b===_0x1d0381[_0x33fe35(0x2b4)][_0x33fe35(0x2ee)]&&this[_0x33fe35(0x1b1)](_0x131883);}),this[_0x25da10(0x1d1)](),this[_0x25da10(0x258)](this['_commandService'][_0x25da10(0x2ea)](_0x2f544b=>{const _0x2faa89=_0x25da10;if(this[_0x2faa89(0x16d)]&&_0x2f544b['id']===_0x327184[_0x2faa89(0x2f0)]['id']&&_0x2f544b['params'][_0x2faa89(0x162)]===this['unitID']){const _0x56d879=_0x2f544b[_0x2faa89(0x257)];this[_0x2faa89(0x199)](_0x56d879[_0x2faa89(0x264)],_0x56d879['selections'][0x0]);}})));}[_0x193cba(0x30d)](_0x2a70ca){const _0x528574=_0x193cba;var _0x392a99,_0x1bb850;const {memberID:_0x2a25fc,selection:_0x1b87df}=_0x2a70ca[_0x528574(0x2cb)],{sheetName:_0x3c2a8c,range:_0x7d5866}=_0x377136['deserializeRangeWithSheet'](_0x1b87df),_0x391780={'name':(_0x1bb850=(_0x392a99=this[_0x528574(0x1af)][_0x528574(0x2e5)](this['unitID'],_0x2a25fc))==null?void 0x0:_0x392a99[_0x528574(0x26b)])!=null?_0x1bb850:_0x528574(0x351),'range':this['_getMergeRange'](_0x3c2a8c,_0x7d5866),'sheetID':_0x3c2a8c,'color':this[_0x528574(0x2c0)]['assignAColorForMemberID'](_0x2a25fc),'selection':_0x1b87df},_0x297296=this[_0x528574(0x142)];_0x297296[_0x528574(0x15c)](_0x2a25fc,_0x391780),this['_cursorInfo$']['next'](_0x297296);}[_0x193cba(0x1b1)](_0x244b57){const _0x51003a=_0x193cba,{memberID:_0x109dc5}=_0x244b57['data'],_0x17f4e5=this[_0x51003a(0x142)];_0x17f4e5['delete'](_0x109dc5),this['_cursorInfo$']['next'](_0x17f4e5);}[_0x193cba(0x198)](_0x51e160,_0x30bb06){const _0x4be9da=_0x193cba;var _0x3c4479,_0x4791a4;const _0x31e6d4=(_0x4791a4=(_0x3c4479=this[_0x4be9da(0x1f5)][_0x4be9da(0x335)](this[_0x4be9da(0x310)]))==null?void 0x0:_0x3c4479[_0x4be9da(0x21e)](_0x51e160))==null?void 0x0:_0x4791a4[_0x4be9da(0x369)]();return(_0x31e6d4==null?void 0x0:_0x31e6d4[_0x4be9da(0x251)](_0x4d0d58=>_0x386f4f[_0x4be9da(0x230)][_0x4be9da(0x154)](_0x4d0d58,_0x30bb06)))||_0x30bb06;}['_onRefRangeChange'](){const _0x31efb8=_0x193cba,_0x4602fd=new _0x386f4f[(_0x31efb8(0x237))](),_0x570951=_0x6d01bf(),_0x283ed9=()=>{const _0x332ac1=_0x31efb8;_0x4602fd[_0x332ac1(0x32f)]();const _0x11e983=(_0x348501,_0x2fe01f,_0x21d8a0,_0x508316)=>{const _0x4f9256=_0x332ac1;let _0x28ffd9=[];switch(_0x348501['id']){case _0x327184[_0x4f9256(0x1de)]['DeleteRangeMoveLeftCommandId']:{_0x28ffd9=_0x327184['handleDeleteRangeMoveLeft'](_0x348501,_0x508316);break;}case _0x327184[_0x4f9256(0x1de)][_0x4f9256(0x244)]:{_0x28ffd9=_0x327184['handleDeleteRangeMoveUp'](_0x348501,_0x508316);break;}case _0x327184['EffectRefRangId'][_0x4f9256(0x278)]:{_0x28ffd9=_0x327184[_0x4f9256(0x13c)](_0x348501,_0x508316);break;}case _0x327184[_0x4f9256(0x1de)][_0x4f9256(0x1e9)]:{_0x28ffd9=_0x327184[_0x4f9256(0x16e)](_0x348501,_0x508316);break;}case _0x327184[_0x4f9256(0x1de)]['InsertRangeMoveRightCommandId']:{_0x28ffd9=_0x327184[_0x4f9256(0x212)](_0x348501,_0x508316);break;}case _0x327184[_0x4f9256(0x1de)][_0x4f9256(0x222)]:{_0x28ffd9=_0x327184[_0x4f9256(0x292)](_0x348501,_0x508316);break;}case _0x327184['EffectRefRangId']['MoveRangeCommandId']:{_0x28ffd9=_0x327184['handleMoveRange'](_0x348501,_0x508316);break;}case _0x327184[_0x4f9256(0x1de)][_0x4f9256(0x224)]:{_0x28ffd9=_0x327184[_0x4f9256(0x1d5)](_0x348501,_0x508316);break;}case _0x327184[_0x4f9256(0x1de)][_0x4f9256(0x204)]:{_0x28ffd9=_0x327184['handleIRemoveRow'](_0x348501,_0x508316);break;}}const _0x3d39df=_0x327184['runRefRangeMutations'](_0x28ffd9,_0x508316),_0x4f4be9=this['cursorInfo'][_0x4f9256(0x2e1)](_0x2fe01f);if(_0x4f4be9&&_0x3d39df){const _0x4cf070={..._0x4f4be9,'range':_0x3d39df};this[_0x4f9256(0x142)][_0x4f9256(0x15c)](_0x2fe01f,_0x4cf070),_0x570951(()=>{const _0x22098a=_0x4f9256,_0xf64935=this['_refRangeService'][_0x22098a(0x1cb)](_0x3d39df,_0x38e5e8=>(_0xf64935[_0x22098a(0x32f)](),_0x11e983(_0x38e5e8,_0x2fe01f,_0x21d8a0,_0x3d39df)));_0x4602fd[_0x22098a(0x23f)](_0xf64935);});}return{'redos':[],'undos':[]};};this[_0x332ac1(0x142)][_0x332ac1(0x2fc)]((_0x362b60,_0x388f67)=>{const _0x1ebc2f=_0x332ac1,{range:_0x33075f,sheetID:_0x120b41}=_0x362b60,_0x185d84=this[_0x1ebc2f(0x1d2)][_0x1ebc2f(0x1cb)](_0x33075f,_0x35cfe4=>(_0x185d84[_0x1ebc2f(0x32f)](),_0x11e983(_0x35cfe4,_0x388f67,_0x120b41,_0x33075f)));_0x4602fd[_0x1ebc2f(0x23f)](_0x185d84);});};this[_0x31efb8(0x258)](_0x386f4f[_0x31efb8(0x21c)](this[_0x31efb8(0x2e7)][_0x31efb8(0x274)](()=>{_0x283ed9();})));}[_0x193cba(0x266)](){const _0x3a1988=_0x193cba;var _0x1eab0f,_0x274cbf;if(this[_0x3a1988(0x16d)]=!0x0,((_0x1eab0f=this[_0x3a1988(0x1f5)]['getFocusedUnit']())==null?void 0x0:_0x1eab0f[_0x3a1988(0x33d)]())!==this[_0x3a1988(0x310)])return;const _0x2589cb=(_0x274cbf=this[_0x3a1988(0x183)][_0x3a1988(0x2e1)](_0x327184[_0x3a1988(0x207)])[_0x3a1988(0x1b0)]())==null?void 0x0:_0x274cbf[0x0],_0x219a08=this['_univerInstanceService'][_0x3a1988(0x205)](_0x386f4f[_0x3a1988(0x210)][_0x3a1988(0x2db)])[_0x3a1988(0x38f)]();_0x2589cb&&_0x219a08&&this[_0x3a1988(0x199)](_0x219a08[_0x3a1988(0x223)](),_0x2589cb);}[_0x193cba(0x31d)](){const _0x41a1c1=_0x193cba;this[_0x41a1c1(0x16d)]=!0x1;}};_0xac371c=_0x535d0e([_0x10377d(0x2,_0x386f4f[_0x193cba(0x24d)](_0x386f4f['Injector'])),_0x10377d(0x3,_0x386f4f[_0x193cba(0x24d)](_0x4088ae)),_0x10377d(0x4,_0x386f4f[_0x193cba(0x24d)](_0x4f478b[_0x193cba(0x15a)])),_0x10377d(0x5,_0x386f4f[_0x193cba(0x2ce)]),_0x10377d(0x6,_0x386f4f[_0x193cba(0x24c)]),_0x10377d(0x7,_0x386f4f[_0x193cba(0x24d)](_0x327184[_0x193cba(0x31c)]))],_0xac371c);var _0x34429a=Object[_0x193cba(0x2d5)],_0x4b4739=(_0x1580bd,_0x3a18d6,_0x4b5575,_0x2bc1b6)=>{for(var _0x2798d8=_0x2bc1b6>0x1?void 0x0:_0x2bc1b6?_0x34429a(_0x3a18d6,_0x4b5575):_0x3a18d6,_0x28413f=_0x1580bd['length']-0x1,_0x473100;_0x28413f>=0x0;_0x28413f--)(_0x473100=_0x1580bd[_0x28413f])&&(_0x2798d8=_0x473100(_0x2798d8)||_0x2798d8);return _0x2798d8;},_0xb78a69=(_0x282ecc,_0x4b997b)=>(_0x1586c3,_0x135c62)=>_0x4b997b(_0x1586c3,_0x135c62,_0x282ecc);let _0x4ab17f=class extends _0x386f4f['RxDisposable']{constructor(_0x43c1da,_0x353ea9,_0x41359a){const _0x19138d=_0x193cba;super(),_0x1faacb(this,'_entities',new Map()),_0x1faacb(this,_0x19138d(0x1fc),new _0x4be4f6[(_0x19138d(0x202))]()),(this[_0x19138d(0x1f5)]=_0x43c1da,this[_0x19138d(0x183)]=_0x353ea9,this['_collabSessionService']=_0x41359a,this['_init']());}[_0x193cba(0x32f)](){const _0x4d41fc=_0x193cba;super[_0x4d41fc(0x32f)](),this[_0x4d41fc(0x1fc)][_0x4d41fc(0x373)](),this[_0x4d41fc(0x1fd)][_0x4d41fc(0x2fc)](_0x241230=>_0x241230[_0x4d41fc(0x32f)]());}[_0x193cba(0x27f)](_0x22c691){const _0x28f5b3=_0x193cba;return this[_0x28f5b3(0x1fd)]['has'](_0x22c691)?this[_0x28f5b3(0x1fd)][_0x28f5b3(0x2e1)](_0x22c691)[_0x28f5b3(0x17b)]:this[_0x28f5b3(0x1fc)][_0x28f5b3(0x143)](_0x4be4f6[_0x28f5b3(0x129)](_0xfd1426=>_0xfd1426[_0x28f5b3(0x310)]===_0x22c691),_0x4be4f6[_0x28f5b3(0x1f2)](_0x4caa57=>_0x4caa57[_0x28f5b3(0x17b)]));}[_0x193cba(0x24f)](){const _0x53eb9e=_0x193cba;this[_0x53eb9e(0x1f5)]['getTypeOfUnitAdded$'](_0x386f4f[_0x53eb9e(0x210)][_0x53eb9e(0x2db)])['pipe'](_0x4be4f6[_0x53eb9e(0x30f)](this['dispose$']))[_0x53eb9e(0x274)](async _0x1bb691=>{const _0x1afc6f=_0x53eb9e,_0x17e309=_0x1bb691[_0x1afc6f(0x33d)](),_0x454224=await this[_0x1afc6f(0x2b8)](_0x17e309);this[_0x1afc6f(0x1fc)][_0x1afc6f(0x37b)](_0x454224),this[_0x1afc6f(0x1fd)]['set'](_0x17e309,_0x454224);}),this[_0x53eb9e(0x1f5)][_0x53eb9e(0x2d9)](_0x386f4f['UniverInstanceType'][_0x53eb9e(0x22e)])[_0x53eb9e(0x143)](_0x4be4f6[_0x53eb9e(0x30f)](this[_0x53eb9e(0x22c)]))[_0x53eb9e(0x143)](_0x4be4f6[_0x53eb9e(0x129)](_0x389d6f=>!_0x389d6f[_0x53eb9e(0x33d)]()[_0x53eb9e(0x135)]('__')))[_0x53eb9e(0x274)](async _0x322440=>{const _0x4c7323=_0x53eb9e,_0x186306=_0x322440['getUnitId'](),_0x45c28e=await this[_0x4c7323(0x173)](_0x186306);this[_0x4c7323(0x1fc)][_0x4c7323(0x37b)](_0x45c28e),this[_0x4c7323(0x1fd)]['set'](_0x186306,_0x45c28e);}),_0x4be4f6[_0x53eb9e(0x32a)](this[_0x53eb9e(0x1f5)]['getTypeOfUnitDisposed$'](_0x386f4f['UniverInstanceType']['UNIVER_DOC']),this[_0x53eb9e(0x1f5)][_0x53eb9e(0x1fe)](_0x386f4f[_0x53eb9e(0x210)][_0x53eb9e(0x2db)]))[_0x53eb9e(0x143)](_0x4be4f6[_0x53eb9e(0x30f)](this[_0x53eb9e(0x22c)]))['subscribe'](_0x2a380a=>{const _0x6c2f56=_0x53eb9e,_0x3f4657=_0x2a380a['getUnitId'](),_0x344a70=this[_0x6c2f56(0x1fd)][_0x6c2f56(0x2e1)](_0x3f4657);_0x344a70&&(_0x344a70['dispose'](),this[_0x6c2f56(0x1fd)][_0x6c2f56(0x384)](_0x3f4657));});}async[_0x193cba(0x2b8)](_0x39b9cb){const _0x4e825a=_0x193cba,_0x287f75=await this[_0x4e825a(0x2d8)]['requireSession'](_0x39b9cb),_0x4a263b=this['_injector']['createInstance'](_0xac371c,_0x39b9cb,_0x287f75);return _0x4a263b['init'](),_0x4a263b;}async[_0x193cba(0x173)](_0x97417a){const _0x19ecc7=_0x193cba,_0x5462b0=await this[_0x19ecc7(0x2d8)][_0x19ecc7(0x36d)](_0x97417a),_0x3bbaf6=this[_0x19ecc7(0x183)]['createInstance'](_0x39350e,_0x97417a,_0x5462b0);return _0x3bbaf6[_0x19ecc7(0x192)](),_0x3bbaf6;}};_0x4ab17f=_0x4b4739([_0xb78a69(0x0,_0x386f4f['IUniverInstanceService']),_0xb78a69(0x1,_0x386f4f[_0x193cba(0x24d)](_0x386f4f[_0x193cba(0x290)])),_0xb78a69(0x2,_0x386f4f[_0x193cba(0x24d)](_0x4f478b[_0x193cba(0x315)]))],_0x4ab17f);const _0x1d96cb=0x14,_0x1d7a4c=0xc8,_0x46fdb3=0x4,_0x513e5e=0x5;function _0x2c2d91(_0x6bcde4,_0x5424cf){const _0x27aec1=_0x193cba;let {radius:_0x181d97,width:_0xdaa05,height:_0x4e0606}=_0x5424cf;_0x181d97=_0x181d97!=null?_0x181d97:0x0,_0xdaa05=_0xdaa05!=null?_0xdaa05:0x1e,_0x4e0606=_0x4e0606!=null?_0x4e0606:0x1e;let _0x168329=0x0,_0x478036=0x0,_0x1f1356=0x0;_0x168329=_0x478036=_0x1f1356=Math[_0x27aec1(0x188)](_0x181d97,_0xdaa05/0x2,_0x4e0606/0x2),_0x6bcde4[_0x27aec1(0x317)](),_0x6bcde4['moveTo'](_0x168329,0x0),_0x6bcde4[_0x27aec1(0x2f2)](_0xdaa05-_0x478036,0x0),_0x6bcde4[_0x27aec1(0x329)](_0xdaa05-_0x478036,_0x478036,_0x478036,Math['PI']*0x3/0x2,0x0,!0x1),_0x6bcde4['lineTo'](_0xdaa05,_0x4e0606-_0x1f1356),_0x6bcde4[_0x27aec1(0x329)](_0xdaa05-_0x1f1356,_0x4e0606-_0x1f1356,_0x1f1356,0x0,Math['PI']/0x2,!0x1),_0x6bcde4['lineTo'](0x0,_0x4e0606),_0x6bcde4[_0x27aec1(0x2f2)](0x0,_0x168329),_0x6bcde4['arc'](_0x168329,_0x168329,_0x168329,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x6bcde4[_0x27aec1(0x2ca)](),_0x5424cf[_0x27aec1(0x18a)]&&(_0x6bcde4['save'](),_0x6bcde4[_0x27aec1(0x25f)]=_0x5424cf[_0x27aec1(0x18a)],_0x5424cf[_0x27aec1(0x347)]===_0x27aec1(0x296)?_0x6bcde4[_0x27aec1(0x18a)](_0x27aec1(0x296)):_0x6bcde4['fill'](),_0x6bcde4[_0x27aec1(0x3a1)]());}class _0x1a4869 extends _0x3cf560[_0x193cba(0x307)]{constructor(_0x5d15f3,_0x58a5ce){const _0x349447=_0x193cba;super(_0x5d15f3,_0x58a5ce),_0x1faacb(this,'color'),_0x1faacb(this,_0x349447(0x374)),(this[_0x349447(0x1a1)]=_0x58a5ce==null?void 0x0:_0x58a5ce['color'],this[_0x349447(0x374)]=_0x58a5ce==null?void 0x0:_0x58a5ce['text']);}static[_0x193cba(0x25e)](_0x595f7a,_0x263409){const _0x41afd1=_0x193cba,{text:_0x5b70d6,color:_0x5838af}=_0x263409;_0x595f7a[_0x41afd1(0x346)](),_0x595f7a['font']=_0x41afd1(0x2c4);const _0x20ece5=_0x595f7a[_0x41afd1(0x2e4)](_0x5b70d6)[_0x41afd1(0x133)],_0x48a058=Math[_0x41afd1(0x188)](_0x20ece5+0x2*_0x46fdb3,_0x1d7a4c);_0x2c2d91(_0x595f7a,{'height':_0x1d96cb,'radius':0x4,'width':_0x48a058,'fill':_0x5838af}),_0x595f7a['fillStyle']='#FFF';const _0xcefdcc=_0x46fdb3,_0x48f7ee=_0x1d96cb-_0x513e5e,_0x26b6e0=_0x1d7a4c-0x2*_0x46fdb3;if(_0x20ece5>_0x26b6e0){let _0x137562='',_0x5518a4=0x0;for(const _0x3fb672 of _0x5b70d6){const _0x4739d2=_0x595f7a[_0x41afd1(0x2e4)](_0x3fb672)[_0x41afd1(0x133)];if(_0x5518a4+_0x4739d2<=_0x26b6e0-_0x595f7a[_0x41afd1(0x2e4)](_0x41afd1(0x370))[_0x41afd1(0x133)])_0x137562+=_0x3fb672,_0x5518a4+=_0x4739d2;else{_0x137562+=_0x41afd1(0x370);break;}}_0x595f7a[_0x41afd1(0x10f)](_0x137562,_0xcefdcc,_0x48f7ee);}else _0x595f7a[_0x41afd1(0x10f)](_0x5b70d6,_0xcefdcc,_0x48f7ee);_0x595f7a[_0x41afd1(0x3a1)]();}['_draw'](_0x4b83f6){_0x1a4869['drawWith'](_0x4b83f6,this);}}const _0x569c5d=_0x193cba(0x174),_0x651664='collab-text-range-',_0x5ca0e1=_0x193cba(0x355),_0x3ed9a8=0x6,_0x53c46c=1.5,_0x373b6c=0x4,_0x455e8e=1.5,_0x43af9d=_0x193cba(0x281);class _0x2d9708{constructor(_0x595ec0,_0x1cff29,_0x7b8ece,_0x43a12c){const _0xc61369=_0x193cba;_0x1faacb(this,_0xc61369(0x15e),[]),_0x1faacb(this,_0xc61369(0x15f),null),_0x1faacb(this,_0xc61369(0x332),null),_0x1faacb(this,_0xc61369(0x213),null),_0x1faacb(this,_0xc61369(0x139),null),_0x1faacb(this,_0xc61369(0x26e),null),(this[_0xc61369(0x2df)]=_0x595ec0,this['_scene']=_0x1cff29,this[_0xc61369(0x316)]=_0x7b8ece,this[_0xc61369(0x211)]=_0x43a12c,this[_0xc61369(0x138)]());}set[_0x193cba(0x380)](_0x2cf669){const _0x149fba=_0x193cba;_0x2cf669?(this[_0x149fba(0x213)]&&this[_0x149fba(0x213)][_0x149fba(0x193)](),this[_0x149fba(0x332)]&&this[_0x149fba(0x332)]['show']()):(this[_0x149fba(0x213)]&&this[_0x149fba(0x213)]['show'](),this[_0x149fba(0x332)]&&this[_0x149fba(0x332)][_0x149fba(0x193)]());}[_0x193cba(0x32f)](){const _0x2478fd=_0x193cba;for(const _0x4c1869 of this[_0x2478fd(0x15e)])_0x4c1869[_0x2478fd(0x32f)]();this[_0x2478fd(0x332)]&&this[_0x2478fd(0x332)][_0x2478fd(0x32f)](),this[_0x2478fd(0x213)]&&this[_0x2478fd(0x213)][_0x2478fd(0x32f)](),this[_0x2478fd(0x15f)]&&this['_anchor']['dispose'](),this[_0x2478fd(0x26e)]&&this[_0x2478fd(0x26e)]();}[_0x193cba(0x138)](){const _0x475450=_0x193cba;var _0x201ede;const {_docSkeleton:_0x394c1e,_document:_0x10cc21}=this,{color:_0x4fd17b,name:_0x2cc0e1,ranges:_0x2403df}=this['_cursor'],_0x5594d1=_0x10cc21[_0x475450(0x30b)](),{docsLeft:_0x163cc0,docsTop:_0x20a3a0}=_0x5594d1,_0x122d7a=new _0x472a15[(_0x475450(0x1ba))](_0x5594d1,_0x394c1e);for(const {startOffset:_0x50d78f,endOffset:_0x19dd73,rangeType:_0x540034,segmentId:_0x4394a0,segmentPage:_0x68ac3,collapsed:_0x20497f,isActive:_0x4f6cc7}of _0x2403df){const _0x5edae6=_0x394c1e[_0x475450(0x302)](_0x50d78f,!0x0,_0x4394a0,_0x68ac3);let _0x3ababb=_0x394c1e[_0x475450(0x302)](_0x19dd73,!0x0,_0x4394a0,_0x68ac3);if(_0x3ababb==null&&(_0x3ababb=_0x394c1e[_0x475450(0x302)](_0x19dd73-0x1,!0x1,_0x4394a0,_0x68ac3)),_0x4f6cc7){const {contentBoxPointGroup:_0x2a994b}=_0x122d7a[_0x475450(0x2a7)](_0x3ababb,_0x3ababb);if(_0x2a994b['length']===0x0)continue;this[_0x475450(0x168)](_0x4fd17b,_0x2a994b,_0x163cc0,_0x20a3a0,_0x2cc0e1),this[_0x475450(0x26e)]=this[_0x475450(0x236)]();}if(_0x5edae6&&_0x3ababb){if(_0x540034===_0x386f4f[_0x475450(0x378)]['RECT']){const _0x323790=new _0x472a15[(_0x475450(0x256))](_0x5594d1,_0x394c1e),{pointGroup:_0x3fe8a0}=(_0x201ede=_0x323790[_0x475450(0x2a7)](_0x5edae6,_0x3ababb))!=null?_0x201ede:{};if(_0x3fe8a0==null||_0x3fe8a0[_0x475450(0x1da)]===0x0)continue;this[_0x475450(0x22b)](_0x4fd17b,_0x3fe8a0,_0x163cc0,_0x20a3a0);}else{if(!_0x20497f){const {borderBoxPointGroup:_0x28df67}=_0x122d7a[_0x475450(0x2a7)](_0x5edae6,_0x3ababb);if(_0x28df67[_0x475450(0x1da)]===0x0)continue;this[_0x475450(0x2b5)](_0x4fd17b,_0x28df67,_0x163cc0,_0x20a3a0);}}}}}[_0x193cba(0x168)](_0x31a465,_0xc29845,_0x243e84,_0x50f16f,_0x79d4fa){const _0x4aeb5f=_0x193cba,_0x2d7125=this['_getAnchorBounding'](_0xc29845),{left:_0x23c241,top:_0xad7cbc,height:_0x287712}=_0x2d7125,_0x1dbf38=this[_0x4aeb5f(0x1c6)](),_0x42002b=_0x455e8e/_0x1dbf38,_0x357efc=new _0x3cf560[(_0x4aeb5f(0x1ae))](_0x569c5d+_0x386f4f[_0x4aeb5f(0x196)][_0x4aeb5f(0x108)](_0x3ed9a8),{'left':_0x23c241+_0x243e84-_0x42002b,'top':_0xad7cbc+_0x50f16f,'height':_0x287712,'width':_0x53c46c,'fill':_0x31a465||_0x3cf560[_0x4aeb5f(0x16f)](_0x386f4f[_0x4aeb5f(0x2d3)][_0x4aeb5f(0x245)],0x0),'strokeWidth':_0x42002b,'stroke':_0x43af9d,'evented':!0x0});this[_0x4aeb5f(0x15f)]=_0x357efc,this[_0x4aeb5f(0x2d1)]['addObject'](_0x357efc,_0x472a15['TEXT_RANGE_LAYER_INDEX']);const _0x2ae1e7=new _0x3cf560[(_0x4aeb5f(0x1ae))](_0x569c5d+_0x386f4f['Tools'][_0x4aeb5f(0x108)](_0x3ed9a8),{'left':_0x23c241+_0x243e84-_0x42002b,'top':_0xad7cbc+_0x50f16f-_0x373b6c/0x2,'height':_0x373b6c,'width':_0x373b6c,'fill':_0x31a465||_0x3cf560[_0x4aeb5f(0x16f)](_0x386f4f['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x31a465||_0x3cf560[_0x4aeb5f(0x16f)](_0x386f4f[_0x4aeb5f(0x2d3)][_0x4aeb5f(0x245)],0x0),'evented':!0x1});this[_0x4aeb5f(0x213)]=_0x2ae1e7,this[_0x4aeb5f(0x2d1)][_0x4aeb5f(0x259)](_0x2ae1e7,_0x472a15[_0x4aeb5f(0x17c)]);const _0x2927fe=new _0x1a4869(_0x569c5d+_0x386f4f[_0x4aeb5f(0x196)][_0x4aeb5f(0x108)](_0x3ed9a8),{'left':_0x23c241+_0x243e84-_0x42002b,'top':_0xad7cbc+_0x50f16f-_0x1d96cb,'text':_0x79d4fa,'color':_0x31a465});this['_textBubble']=_0x2927fe,this[_0x4aeb5f(0x2d1)][_0x4aeb5f(0x259)](_0x2927fe,_0x472a15[_0x4aeb5f(0x17c)]),this[_0x4aeb5f(0x380)]=!0x1;}['_handleHover'](){const _0x3a2ded=_0x193cba,_0x160939=this[_0x3a2ded(0x15f)]['onPointerEnter$']['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x26b867=this[_0x3a2ded(0x15f)][_0x3a2ded(0x272)][_0x3a2ded(0x2bc)](()=>{const _0x279642=_0x3a2ded;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x279642(0x139)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x191d2f=_0x3a2ded;_0x160939['unsubscribe'](),_0x26b867[_0x191d2f(0x2a3)]();};}['_drawTextRange'](_0x193cf2,_0xa89cef,_0x847721,_0x149e37){const _0xcc2179=_0x193cba,_0x1c2e82=new _0x386f4f[(_0xcc2179(0x24e))](_0x193cf2)[_0xcc2179(0x28d)](0.2)[_0xcc2179(0x2cc)](),_0x2194ad=new _0x3cf560[(_0xcc2179(0x1a0))](_0x651664+_0x386f4f[_0xcc2179(0x196)]['generateRandomId'](_0x3ed9a8),{'pointsGroup':_0xa89cef,'fill':_0x1c2e82||_0x3cf560[_0xcc2179(0x16f)](_0x386f4f[_0xcc2179(0x2d3)]['black'],0.2),'left':_0x847721,'top':_0x149e37,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xcc2179(0x15e)][_0xcc2179(0x2be)](_0x2194ad),this[_0xcc2179(0x2d1)]['addObject'](_0x2194ad,_0x472a15[_0xcc2179(0x17c)]);}[_0x193cba(0x22b)](_0x291a97,_0x144913,_0x24636c,_0x3b2f86){const _0x52a2aa=_0x193cba,_0x56ba96=new _0x386f4f['ColorKit'](_0x291a97)[_0x52a2aa(0x28d)](0.2)['toRgbString'](),_0x1ba855=new _0x3cf560[(_0x52a2aa(0x1a0))](_0x5ca0e1+_0x386f4f[_0x52a2aa(0x196)][_0x52a2aa(0x108)](_0x3ed9a8),{'pointsGroup':_0x144913,'fill':_0x56ba96||_0x3cf560[_0x52a2aa(0x16f)](_0x386f4f[_0x52a2aa(0x2d3)][_0x52a2aa(0x245)],0.2),'left':_0x24636c,'top':_0x3b2f86,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x52a2aa(0x15e)]['push'](_0x1ba855),this[_0x52a2aa(0x2d1)][_0x52a2aa(0x259)](_0x1ba855,_0x472a15[_0x52a2aa(0x17c)]);}[_0x193cba(0x17f)](_0x380c9c){const _0x4ce14b=_0x380c9c[0x0],_0x1e529f=_0x4ce14b[0x0],_0x2bb92c=_0x4ce14b[0x2],{x:_0x1ff7cd,y:_0x4a264c}=_0x1e529f,{x:_0x2ef454,y:_0x48a955}=_0x2bb92c;return{'left':_0x1ff7cd,'top':_0x4a264c,'width':_0x2ef454-_0x1ff7cd,'height':_0x48a955-_0x4a264c};}[_0x193cba(0x1c6)](){const _0x407fbc=_0x193cba,{scaleX:_0x81d72e,scaleY:_0x5835d1}=this[_0x407fbc(0x2d1)][_0x407fbc(0x1c5)]();return Math[_0x407fbc(0x306)](_0x81d72e,_0x5835d1);}}var _0x94d93d=Object[_0x193cba(0x2d5)],_0x188a14=(_0x517137,_0x5ea7d3,_0x2965b1,_0x72b230)=>{const _0x10e670=_0x193cba;for(var _0x5e4f0c=_0x72b230>0x1?void 0x0:_0x72b230?_0x94d93d(_0x5ea7d3,_0x2965b1):_0x5ea7d3,_0x18d4be=_0x517137[_0x10e670(0x1da)]-0x1,_0xffb1d3;_0x18d4be>=0x0;_0x18d4be--)(_0xffb1d3=_0x517137[_0x18d4be])&&(_0x5e4f0c=_0xffb1d3(_0x5e4f0c)||_0x5e4f0c);return _0x5e4f0c;},_0x1ce895=(_0x127482,_0x530db1)=>(_0x395c03,_0x492cbd)=>_0x530db1(_0x395c03,_0x492cbd,_0x127482);let _0x5d3925=class extends _0x386f4f['RxDisposable']{constructor(_0x4186c3,_0x3cb124,_0x45fe85,_0x5253fa,_0x27c1b7){const _0x189d0b=_0x193cba;super(),_0x1faacb(this,'_cursorShapes',[]),_0x1faacb(this,'_cursors',[]),(this[_0x189d0b(0x383)]=_0x4186c3,this[_0x189d0b(0x248)]=_0x3cb124,this['_collabCursorController']=_0x45fe85,this[_0x189d0b(0x2f4)]=_0x5253fa,this['_themeService']=_0x27c1b7,this['_init']());}[_0x193cba(0x24f)](){const _0x17577c=_0x193cba,_0x51ca12=this[_0x17577c(0x383)][_0x17577c(0x162)],_0x203ee0=this['_docSkeletonManagerService'];this[_0x17577c(0x258)](_0x4be4f6['combineLatest']([this[_0x17577c(0x2f1)][_0x17577c(0x27f)](_0x51ca12),this[_0x17577c(0x233)][_0x17577c(0x1bd)]])['pipe'](_0x41609c[_0x17577c(0x36f)](([_0x4a605b,_0x1a23e2])=>({'skeleton':_0x203ee0[_0x17577c(0x1cd)](),'cursors':[..._0x4a605b[_0x17577c(0x124)]()][_0x17577c(0x35c)](_0x1e0b5d=>({..._0x1e0b5d,'color':_0x1a23e2[_0x1e0b5d[_0x17577c(0x1a1)]]}))})))['subscribe'](_0x30804c=>{const _0x563f91=_0x17577c;if(this['_removeCollabCursors'](),_0x30804c){const {skeleton:_0x3017a0,cursors:_0x50ec12}=_0x30804c;this[_0x563f91(0x12b)](_0x3017a0,_0x50ec12);}})),this[_0x17577c(0x30a)](),this[_0x17577c(0x1db)]();}[_0x193cba(0x12b)](_0x1bf136,_0x51e411){const _0x34273c=_0x193cba,{scene:_0x262cc5,mainComponent:_0x3d6734}=this['_context'],_0x53baae=_0x51e411[_0x34273c(0x36f)](_0x5b1b17=>new _0x2d9708(_0x5b1b17,_0x262cc5,_0x1bf136,_0x3d6734));this[_0x34273c(0x34d)]=_0x53baae,this[_0x34273c(0x176)]=_0x51e411;}[_0x193cba(0x11c)](){const _0x23dcb8=_0x193cba;this['_removeCollabCursors']();const {scene:_0x26f0ec,mainComponent:_0x305f23}=this[_0x23dcb8(0x383)],_0x203d9c=this[_0x23dcb8(0x248)]['getSkeleton'](),_0x52f178=this[_0x23dcb8(0x176)]['map'](_0x5492e6=>new _0x2d9708(_0x5492e6,_0x26f0ec,_0x203d9c,_0x305f23));this['_cursorShapes']=_0x52f178;}[_0x193cba(0x1b9)](){const _0x23679c=_0x193cba;this[_0x23679c(0x34d)][_0x23679c(0x2fc)](_0x4d5663=>_0x4d5663[_0x23679c(0x32f)]()),this['_cursorShapes']=[];}[_0x193cba(0x1db)](){const _0x259948=_0x193cba,_0x3d6ff1=[_0x472a15[_0x259948(0x21f)]['id']];this['disposeWithMe'](this['_commandService'][_0x259948(0x2ea)](_0x9b0a2a=>{const _0x1ced39=_0x259948;_0x3d6ff1['includes'](_0x9b0a2a['id'])&&_0x9b0a2a['params'][_0x1ced39(0x162)]===this[_0x1ced39(0x383)][_0x1ced39(0x162)]&&this[_0x1ced39(0x11c)]();}));}[_0x193cba(0x30a)](){const _0x27cec5=_0x193cba;this[_0x27cec5(0x258)](_0x386f4f[_0x27cec5(0x389)](this['_context'][_0x27cec5(0x1e6)]['onTransformChange$'])[_0x27cec5(0x143)](_0x41609c[_0x27cec5(0x129)](_0x422d80=>_0x422d80[_0x27cec5(0x1f0)]===_0x3cf560['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x41609c[_0x27cec5(0x39f)](0x10))[_0x27cec5(0x274)](()=>{const _0x559c83=_0x27cec5;this[_0x559c83(0x11c)]();}));}};_0x5d3925=_0x188a14([_0x1ce895(0x1,_0x386f4f[_0x193cba(0x24d)](_0x295784['DocSkeletonManagerService'])),_0x1ce895(0x2,_0x386f4f[_0x193cba(0x24d)](_0x4ab17f)),_0x1ce895(0x3,_0x386f4f[_0x193cba(0x24c)]),_0x1ce895(0x4,_0x386f4f[_0x193cba(0x24d)](_0x386f4f[_0x193cba(0x147)]))],_0x5d3925);const _0xd46de=0x1,_0x3e1971=1.5;class _0x2b71a4 extends _0x3cf560[_0x193cba(0x307)]{constructor(_0x2d768a,_0x4e4d4b){const _0x29ba6f=_0x193cba;super(_0x2d768a,_0x4e4d4b),_0x1faacb(this,_0x29ba6f(0x156)),_0x1faacb(this,_0x29ba6f(0x397),!0x1),_0x1faacb(this,_0x29ba6f(0x37d)),_0x1faacb(this,_0x29ba6f(0x12c),''),_0x1faacb(this,_0x29ba6f(0x1c0),_0x29ba6f(0x34f)),_0x1faacb(this,_0x29ba6f(0x2a0)),(_0x4e4d4b&&this[_0x29ba6f(0x2d6)](_0x4e4d4b),this[_0x29ba6f(0x1b4)][_0x29ba6f(0x2bc)](()=>this[_0x29ba6f(0x2d6)]({'hovered':!0x0})),this[_0x29ba6f(0x272)][_0x29ba6f(0x2bc)](()=>this[_0x29ba6f(0x2d6)]({'hovered':!0x1})));}[_0x193cba(0x2d6)](_0x4aa037){const _0xef1cc2=_0x193cba;var _0x4cd6de,_0x4c20cd,_0x109c7e,_0xdd42c8,_0x44f6f7,_0x26c411;this[_0xef1cc2(0x156)]=(_0x4cd6de=_0x4aa037['color'])!=null?_0x4cd6de:this[_0xef1cc2(0x156)],this[_0xef1cc2(0x397)]=(_0x4c20cd=_0x4aa037[_0xef1cc2(0x356)])!=null?_0x4c20cd:this[_0xef1cc2(0x397)],this[_0xef1cc2(0x37d)]=(_0x109c7e=_0x4aa037[_0xef1cc2(0x279)])!=null?_0x109c7e:this[_0xef1cc2(0x37d)],this[_0xef1cc2(0x12c)]=(_0xdd42c8=_0x4aa037['name'])!=null?_0xdd42c8:this['_name'],this[_0xef1cc2(0x1c0)]=(_0x44f6f7=_0x4aa037[_0xef1cc2(0x34b)])!=null?_0x44f6f7:this[_0xef1cc2(0x1c0)],this['_backgroundColor']=(_0x26c411=_0x4aa037[_0xef1cc2(0x1fb)])!=null?_0x26c411:this[_0xef1cc2(0x2a0)],this[_0xef1cc2(0x39a)]({'width':_0x4aa037['width'],'height':_0x4aa037['height']});}[_0x193cba(0x2bb)](_0x5d1e2b){const _0x2e5dcc=_0x193cba,{row:_0x175ce8,column:_0x377dfa}=_0x5d1e2b;if(_0x175ce8>=this[_0x2e5dcc(0x37d)][_0x2e5dcc(0x24b)]&&_0x175ce8<=this[_0x2e5dcc(0x37d)][_0x2e5dcc(0x203)]&&_0x377dfa>=this[_0x2e5dcc(0x37d)][_0x2e5dcc(0x305)]&&_0x377dfa<=this['_range'][_0x2e5dcc(0x19c)]){this[_0x2e5dcc(0x2d6)]({'hovered':!0x0});return;}this[_0x2e5dcc(0x2d6)]({'hovered':!0x1});}[_0x193cba(0x37c)](_0x1d0efc){return!0x1;}[_0x193cba(0x29b)](_0x11c3b1){const _0x1efda3=_0x193cba;_0x3cf560[_0x1efda3(0x1ae)]['drawWith'](_0x11c3b1,{'width':this[_0x1efda3(0x133)],'height':this[_0x1efda3(0x350)],'strokeWidth':_0x3e1971,'stroke':this[_0x1efda3(0x156)],'evented':!0x1,'fill':this[_0x1efda3(0x2a0)]}),this['_hovered']&&(_0x11c3b1[_0x1efda3(0x346)](),_0x11c3b1[_0x1efda3(0x1a2)](0x1,0x0,0x0,0x1,this[_0x1efda3(0x133)],this['_labelPosition']===_0x1efda3(0x2c8)?0x0:-0x14),_0x1a4869[_0x1efda3(0x25e)](_0x11c3b1,{'text':this[_0x1efda3(0x12c)],'color':this[_0x1efda3(0x156)]}),_0x11c3b1[_0x1efda3(0x3a1)]());}}var _0x425b4d=Object[_0x193cba(0x2d5)],_0x3a06ad=(_0x2ef98d,_0x514b10,_0x4eee9a,_0x28d8f5)=>{const _0x911c69=_0x193cba;for(var _0x207a90=_0x28d8f5>0x1?void 0x0:_0x28d8f5?_0x425b4d(_0x514b10,_0x4eee9a):_0x514b10,_0x5849d2=_0x2ef98d[_0x911c69(0x1da)]-0x1,_0x1655d0;_0x5849d2>=0x0;_0x5849d2--)(_0x1655d0=_0x2ef98d[_0x5849d2])&&(_0x207a90=_0x1655d0(_0x207a90)||_0x207a90);return _0x207a90;},_0x3f3f70=(_0x4d8041,_0x1981bd)=>(_0x5bada1,_0xf42ff7)=>_0x1981bd(_0x5bada1,_0xf42ff7,_0x4d8041);const _0x23c905=0x1389;let _0xaf506c=class extends _0x386f4f[_0x193cba(0x320)]{constructor(_0x4482fb,_0x4a3f74,_0x58e2f7,_0x5409ca){const _0x23c693=_0x193cba;super(),_0x1faacb(this,_0x23c693(0x176),new Set()),_0x1faacb(this,_0x23c693(0x112),null),(this[_0x23c693(0x383)]=_0x4482fb,this[_0x23c693(0x1e4)]=_0x4a3f74,this[_0x23c693(0x2f1)]=_0x58e2f7,this['_themeService']=_0x5409ca,this[_0x23c693(0x24f)]());}[_0x193cba(0x24f)](){const _0x1f0ed0=_0x193cba;this['_sheetSkeletonManagerService'][_0x1f0ed0(0x1f6)][_0x1f0ed0(0x143)](_0x41609c[_0x1f0ed0(0x30f)](this[_0x1f0ed0(0x22c)]),_0x41609c[_0x1f0ed0(0x1f2)](_0x1c0fe4=>{const _0x13ebbb=_0x1f0ed0;if(_0x1c0fe4){const _0x55cc27=_0x1c0fe4['sheetId'];return _0x4be4f6[_0x13ebbb(0x115)](this['_collabCursorController'][_0x13ebbb(0x27f)](this[_0x13ebbb(0x383)][_0x13ebbb(0x162)]),this['_themeService']['currentTheme$'])['pipe'](_0x41609c[_0x13ebbb(0x36f)](([_0x3a01f4,_0x302dc2])=>{const _0x5156e0=new Map();return _0x3a01f4['forEach']((_0x54a67c,_0x742d33)=>{const _0x20e0d4=_0x43e1;if(_0x54a67c['sheetID']===_0x55cc27){const _0x3443a9={..._0x54a67c};_0x3443a9['color']=_0x302dc2[_0x54a67c[_0x20e0d4(0x1a1)]],_0x5156e0[_0x20e0d4(0x15c)](_0x742d33,_0x3443a9);}}),{'skeleton':_0x1c0fe4,'cursors':_0x5156e0};}));}return _0x4be4f6['of']({'skeleton':null,'cursors':new Map()});}))[_0x1f0ed0(0x274)](({skeleton:_0x8e16bf,cursors:_0x141a29})=>{const _0x49cfb9=_0x1f0ed0;this['_removeCollabCursors'](),_0x8e16bf&&this[_0x49cfb9(0x12b)](_0x8e16bf,_0x141a29);}),this[_0x1f0ed0(0x1e4)][_0x1f0ed0(0x1f6)][_0x1f0ed0(0x274)](_0x35945a=>{const _0x3435ae=_0x1f0ed0;if(_0x35945a==null)return;const {skeleton:_0x227cd8}=_0x35945a,{scene:_0x29c67a}=this[_0x3435ae(0x383)];_0x29c67a[_0x3435ae(0x34e)][_0x3435ae(0x2bc)](_0x386f4f['debounce'](_0x1c2905=>{const _0x42fbd8=_0x3435ae;var _0x2aa9ec,_0x541724;const {offsetX:_0x3983dc,offsetY:_0x520e2a}=_0x1c2905,{x:_0x5080ed,y:_0x4fad98}=_0x29c67a[_0x42fbd8(0x14f)](_0x3cf560[_0x42fbd8(0x121)][_0x42fbd8(0x216)]([_0x3983dc,_0x520e2a])),{scaleX:_0x220307,scaleY:_0x168702}=_0x29c67a[_0x42fbd8(0x1c5)](),_0x51b6d7=_0x29c67a[_0x42fbd8(0x2e8)](_0x3cf560[_0x42fbd8(0x2ec)][_0x42fbd8(0x10b)]),_0x3fcad3=_0x29c67a[_0x42fbd8(0x1ed)](_0x3cf560[_0x42fbd8(0x121)][_0x42fbd8(0x216)]([_0x5080ed,_0x4fad98]),_0x51b6d7),_0x4b45e3=_0x227cd8[_0x42fbd8(0x273)](_0x3983dc,_0x520e2a,_0x220307,_0x168702,_0x3fcad3);((_0x2aa9ec=this[_0x42fbd8(0x112)])==null?void 0x0:_0x2aa9ec[_0x42fbd8(0x160)])===_0x4b45e3[_0x42fbd8(0x160)]&&((_0x541724=this[_0x42fbd8(0x112)])==null?void 0x0:_0x541724[_0x42fbd8(0x140)])===_0x4b45e3[_0x42fbd8(0x140)]||this[_0x42fbd8(0x176)][_0x42fbd8(0x2fc)](_0x471fd6=>{const _0x37ca4f=_0x42fbd8;_0x471fd6[_0x37ca4f(0x2bb)](_0x4b45e3);});},0x64));});}['_updateCollabCursors'](_0x1a5273,_0x21d407){const _0x16d30c=_0x193cba;var _0x48f875;const _0x44c3f5=(_0x48f875=this[_0x16d30c(0x1e4)]['getCurrent']())==null?void 0x0:_0x48f875['skeleton'];if(!_0x44c3f5)return;const _0x9f9f32=this['_getSheetObject']();if(!_0x9f9f32)return;this['_cursors'][_0x16d30c(0x2fc)](_0x50bb4a=>{const _0x2238e5=_0x16d30c;_0x50bb4a[_0x2238e5(0x2ad)]();});const {scene:_0x41120f}=_0x9f9f32,_0x128274=_0x1066d0(Array[_0x16d30c(0x372)](_0x21d407[_0x16d30c(0x124)]()))[_0x16d30c(0x36f)](_0x2d1225=>{const _0x38106a=_0x16d30c,{color:_0x1e15be,range:_0x51e584,name:_0x3d3da5,selection:_0x3f8d02,sheetID:_0xd7a6da}=_0x2d1225,{startColumn:_0x5f5a8f,startRow:_0x4224e2,endColumn:_0x40d094,endRow:_0x2338ba}=_0x51e584,_0x4beb75=_0x390eae[_0x38106a(0x219)](_0x4224e2,_0x5f5a8f,_0x41120f,_0x44c3f5),_0x526251=_0x390eae[_0x38106a(0x219)](_0x2338ba,_0x40d094,_0x41120f,_0x44c3f5),{columnHeaderHeightAndMarginTop:_0x300bcb}=_0x44c3f5,{startX:_0x349e95,startY:_0x3458f5}=_0x4beb75,{endX:_0x2a7676,endY:_0x48f960}=_0x526251,_0x520cf0=_0x2a7676-_0x349e95,_0x40d6f1=_0x48f960-_0x3458f5,_0x56f024={'labelPosition':_0x3458f5-_0x300bcb>=_0x1d96cb?'top':_0x38106a(0x2c8),'sheetID':_0xd7a6da,'range':_0x51e584,'color':_0x1e15be,'name':_0x3d3da5,'selection':_0x3f8d02,'left':_0x349e95,'top':_0x3458f5,'width':_0x520cf0,'height':_0x40d6f1,'evented':!0x1,'zIndex':_0x23c905};return new _0x2b71a4(_0x3d3da5,_0x56f024);});_0x41120f[_0x16d30c(0x3a4)](_0x128274,_0xd46de),this[_0x16d30c(0x176)]=new Set(_0x128274);}[_0x193cba(0x1b9)](){const _0x12777b=_0x193cba;var _0xd029ca;(_0xd029ca=this[_0x12777b(0x176)])==null||_0xd029ca[_0x12777b(0x2fc)](_0x2acb81=>_0x2acb81['dispose']());}[_0x193cba(0x359)](){const _0x5bd16f=_0x193cba;return _0x390eae[_0x5bd16f(0x21a)](this['_context'][_0x5bd16f(0x2b7)],this[_0x5bd16f(0x383)]);}};_0xaf506c=_0x3a06ad([_0x3f3f70(0x1,_0x386f4f[_0x193cba(0x24d)](_0x390eae[_0x193cba(0x14a)])),_0x3f3f70(0x2,_0x386f4f[_0x193cba(0x24d)](_0x4ab17f)),_0x3f3f70(0x3,_0x386f4f[_0x193cba(0x24d)](_0x386f4f[_0x193cba(0x147)]))],_0xaf506c);function _0x1066d0(_0x5f4bb6){const _0x243109=_0x193cba,_0xbc8d4a=new Map();return _0x5f4bb6[_0x243109(0x2fc)](_0xabacce=>{const _0x3d369f=_0x243109;if(_0xbc8d4a[_0x3d369f(0x25c)](_0xabacce['selection'])){const _0x338a10=_0xbc8d4a[_0x3d369f(0x2e1)](_0xabacce[_0x3d369f(0x247)]);_0x338a10['name']+=',\x20'+_0xabacce[_0x3d369f(0x26b)];}else _0xbc8d4a[_0x3d369f(0x15c)](_0xabacce[_0x3d369f(0x247)],_0xabacce);}),Array[_0x243109(0x372)](_0xbc8d4a['values']());}var _0x52f119=function(){const _0x41564e=_0x193cba;return _0x52f119=Object['assign']||function(_0x1843ab){const _0x543d57=_0x43e1;for(var _0x48aa42,_0x45770e=0x1,_0x1fd58f=arguments[_0x543d57(0x1da)];_0x45770e<_0x1fd58f;_0x45770e++){_0x48aa42=arguments[_0x45770e];for(var _0x59d671 in _0x48aa42)Object[_0x543d57(0x189)]['hasOwnProperty'][_0x543d57(0x119)](_0x48aa42,_0x59d671)&&(_0x1843ab[_0x59d671]=_0x48aa42[_0x59d671]);}return _0x1843ab;},_0x52f119[_0x41564e(0x17d)](this,arguments);},_0x260920=function(_0x1cea63,_0x4153d4){const _0x3e2182=_0x193cba;var _0x4dfa47={};for(var _0x4ef57f in _0x1cea63)Object[_0x3e2182(0x189)][_0x3e2182(0x18c)][_0x3e2182(0x119)](_0x1cea63,_0x4ef57f)&&_0x4153d4['indexOf'](_0x4ef57f)<0x0&&(_0x4dfa47[_0x4ef57f]=_0x1cea63[_0x4ef57f]);if(_0x1cea63!=null&&typeof Object[_0x3e2182(0x249)]==_0x3e2182(0x253)){for(var _0x5849c8=0x0,_0x4ef57f=Object['getOwnPropertySymbols'](_0x1cea63);_0x5849c8<_0x4ef57f[_0x3e2182(0x1da)];_0x5849c8++)_0x4153d4[_0x3e2182(0x2bf)](_0x4ef57f[_0x5849c8])<0x0&&Object[_0x3e2182(0x189)][_0x3e2182(0x179)][_0x3e2182(0x119)](_0x1cea63,_0x4ef57f[_0x5849c8])&&(_0x4dfa47[_0x4ef57f[_0x5849c8]]=_0x1cea63[_0x4ef57f[_0x5849c8]]);}return _0x4dfa47;},_0x144b10=_0x105c2[_0x193cba(0x38d)](function(_0x2f500e,_0x2a46ff){const _0xb9520a=_0x193cba;var _0x466784=_0x2f500e[_0xb9520a(0x33c)],_0x559919=_0x2f500e['id'],_0x245269=_0x2f500e['className'],_0x2daf96=_0x2f500e[_0xb9520a(0x29f)],_0x5f2b0c=_0x260920(_0x2f500e,[_0xb9520a(0x33c),'id',_0xb9520a(0x376),_0xb9520a(0x29f)]),_0x356a2d='univerjs-icon\x20univerjs-icon-'[_0xb9520a(0x10d)](_0x559919,'\x20')[_0xb9520a(0x10d)](_0x245269||'')[_0xb9520a(0x2e0)](),_0x1fc28a=_0x105c2['useRef']('_'[_0xb9520a(0x10d)](_0x52e8f7()));return _0x288dc0(_0x466784,''[_0xb9520a(0x10d)](_0x559919),{'defIds':_0x466784[_0xb9520a(0x16b)],'idSuffix':_0x1fc28a['current']},_0x52f119({'ref':_0x2a46ff,'className':_0x356a2d},_0x5f2b0c),_0x2daf96);});function _0x288dc0(_0x379bb5,_0x3e731d,_0x1ff109,_0x108143,_0x33a941){const _0x36d86d=_0x193cba;return _0x105c2[_0x36d86d(0x297)](_0x379bb5[_0x36d86d(0x32b)],_0x52f119(_0x52f119({'key':_0x3e731d},_0x4329e1(_0x379bb5,_0x1ff109,_0x33a941)),_0x108143),(_0x516801(_0x379bb5,_0x1ff109)[_0x36d86d(0x1b3)]||[])[_0x36d86d(0x36f)](function(_0x31c6a8,_0x3c59d3){const _0x527b47=_0x36d86d;return _0x288dc0(_0x31c6a8,''[_0x527b47(0x10d)](_0x3e731d,'-')[_0x527b47(0x10d)](_0x379bb5['tag'],'-')[_0x527b47(0x10d)](_0x3c59d3),_0x1ff109,void 0x0,_0x33a941);}));}function _0x4329e1(_0x4d2add,_0x2544c9,_0x490da2){const _0x19fd09=_0x193cba;var _0xb7451e=_0x52f119({},_0x4d2add['attrs']);_0x490da2!=null&&_0x490da2[_0x19fd09(0x150)]&&_0xb7451e['fill']===_0x19fd09(0x150)&&(_0xb7451e[_0x19fd09(0x18a)]=_0x490da2['colorChannel1']),_0x4d2add[_0x19fd09(0x32b)]===_0x19fd09(0x33b)&&_0xb7451e['id']&&(_0xb7451e['id']=_0xb7451e['id']+_0x2544c9[_0x19fd09(0x366)]),Object[_0x19fd09(0x300)](_0xb7451e)[_0x19fd09(0x2fc)](function(_0x1aacdc){const _0x19cd57=_0x19fd09;var _0x289389=_0x1aacdc[0x0],_0x309fbd=_0x1aacdc[0x1];_0x289389===_0x19cd57(0x33b)&&typeof _0x309fbd==_0x19cd57(0x235)&&(_0xb7451e[_0x289389]=_0x309fbd[_0x19cd57(0x10e)](/url\(#(.*)\)/,_0x19cd57(0x2fd)[_0x19cd57(0x10d)](_0x2544c9[_0x19cd57(0x366)],')')));});var _0x160b2e=_0x2544c9[_0x19fd09(0x16b)];return!_0x160b2e||_0x160b2e[_0x19fd09(0x1da)]===0x0||(_0x4d2add[_0x19fd09(0x32b)]==='use'&&_0xb7451e[_0x19fd09(0x2c6)]&&(_0xb7451e['xlink:href']=_0xb7451e['xlink:href']+_0x2544c9[_0x19fd09(0x366)]),Object[_0x19fd09(0x300)](_0xb7451e)[_0x19fd09(0x2fc)](function(_0xecbd2d){const _0x35ce7f=_0x19fd09;var _0x18bd84=_0xecbd2d[0x0],_0x41972d=_0xecbd2d[0x1];typeof _0x41972d==_0x35ce7f(0x235)&&(_0xb7451e[_0x18bd84]=_0x41972d[_0x35ce7f(0x10e)](/url\(#(.*)\)/,'url(#$1'[_0x35ce7f(0x10d)](_0x2544c9['idSuffix'],')')));})),_0xb7451e;}function _0x516801(_0x11ca3b,_0x8320eb){const _0x28e5ec=_0x193cba;var _0x4fd96f,_0x9e8874=_0x8320eb[_0x28e5ec(0x16b)];return!_0x9e8874||_0x9e8874[_0x28e5ec(0x1da)]===0x0?_0x11ca3b:_0x11ca3b[_0x28e5ec(0x32b)]===_0x28e5ec(0x187)&&(!((_0x4fd96f=_0x11ca3b['children'])===null||_0x4fd96f===void 0x0)&&_0x4fd96f[_0x28e5ec(0x1da)])?_0x52f119(_0x52f119({},_0x11ca3b),{'children':_0x11ca3b['children']['map'](function(_0x51e461){const _0x8c58bc=_0x28e5ec;return typeof _0x51e461[_0x8c58bc(0x25d)]['id']==_0x8c58bc(0x235)&&_0x9e8874&&_0x9e8874[_0x8c58bc(0x2bf)](_0x51e461[_0x8c58bc(0x25d)]['id'])>-0x1?_0x52f119(_0x52f119({},_0x51e461),{'attrs':_0x52f119(_0x52f119({},_0x51e461[_0x8c58bc(0x25d)]),{'id':_0x51e461[_0x8c58bc(0x25d)]['id']+_0x8320eb[_0x8c58bc(0x366)]})}):_0x51e461;})}):_0x11ca3b;}function _0x52e8f7(){const _0x51d5af=_0x193cba;return Math['random']()[_0x51d5af(0x32d)](0x24)[_0x51d5af(0x18d)](0x2,0x8);}_0x144b10[_0x193cba(0x1df)]=_0x193cba(0x12f);var _0x316be5={'tag':_0x193cba(0x2aa),'attrs':{'fill':_0x193cba(0x2e3),'viewBox':_0x193cba(0x165),'width':'1em','height':_0x193cba(0x1a4)},'children':[{'tag':'g','attrs':{'clipPath':_0x193cba(0x28b)},'children':[{'tag':'path','attrs':{'stroke':_0x193cba(0x2af),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x193cba(0x2ae),'strokeLinejoin':_0x193cba(0x2ae),'strokeWidth':1.2}}]},{'tag':_0x193cba(0x187),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x193cba(0x234),'attrs':{'fill':'#fff','d':_0x193cba(0x37f)}}]}]}],'defIds':[_0x193cba(0x388)]},_0x2cab3c=_0x105c2['forwardRef'](function(_0x36b4ad,_0x3c4927){const _0x644448=_0x193cba;return _0x105c2['createElement'](_0x144b10,Object[_0x644448(0x23b)]({},_0x36b4ad,{'id':_0x644448(0x39b),'ref':_0x3c4927,'icon':_0x316be5}));});_0x2cab3c[_0x193cba(0x1df)]=_0x193cba(0x3a6);var _0x1c5274={'tag':_0x193cba(0x2aa),'attrs':{'fill':_0x193cba(0x2e3),'viewBox':_0x193cba(0x2eb),'width':_0x193cba(0x1a4),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x193cba(0x323)},'children':[{'tag':_0x193cba(0x234),'attrs':{'stroke':_0x193cba(0x2af),'d':_0x193cba(0x340),'strokeLinecap':_0x193cba(0x2ae),'strokeLinejoin':_0x193cba(0x2ae),'strokeWidth':1.2}}]},{'tag':_0x193cba(0x187),'attrs':{},'children':[{'tag':_0x193cba(0x33a),'attrs':{'id':_0x193cba(0x330)},'children':[{'tag':_0x193cba(0x234),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x193cba(0x1c3)}}]}]}],'defIds':[_0x193cba(0x330)]},_0xc299d4=_0x105c2[_0x193cba(0x38d)](function(_0xbddd31,_0x170f26){const _0x267365=_0x193cba;return _0x105c2['createElement'](_0x144b10,Object[_0x267365(0x23b)]({},_0xbddd31,{'id':_0x267365(0x227),'ref':_0x170f26,'icon':_0x1c5274}));});_0xc299d4[_0x193cba(0x1df)]='OnLineSingle';const _0x4c1693={'onlineStatusIcon':_0x193cba(0x200),'onlineStatusTitle':_0x193cba(0x2c7),'onlineStatus':_0x193cba(0x20e),'online':_0x193cba(0x107),'offline':_0x193cba(0x1d8)};function _0x285df8(_0x2f5589){const _0x165c6c=_0x193cba;switch(_0x2f5589){case _0x4f478b[_0x165c6c(0x12d)]['OFFLINE']:return _0x165c6c(0x39d);case _0x4f478b[_0x165c6c(0x12d)][_0x165c6c(0x1ea)]:return _0x165c6c(0x23d);case _0x4f478b[_0x165c6c(0x12d)][_0x165c6c(0x328)]:return _0x165c6c(0x217);case _0x4f478b['CollaborationStatus']['NOT_COLLAB']:return _0x165c6c(0x358);case _0x4f478b[_0x165c6c(0x12d)][_0x165c6c(0x35f)]:case _0x4f478b[_0x165c6c(0x12d)][_0x165c6c(0x1c1)]:return _0x165c6c(0x1f1);case _0x4f478b[_0x165c6c(0x12d)][_0x165c6c(0x180)]:case _0x4f478b[_0x165c6c(0x12d)][_0x165c6c(0x1a6)]:return _0x165c6c(0x1c2);}}function _0x2ab981(_0x2b0167){const _0x447f2f=_0x193cba,{status$:_0x40aca2}=_0x2b0167,_0x247cb0=_0x1a993f[_0x447f2f(0x131)](_0x40aca2,_0x4f478b[_0x447f2f(0x12d)][_0x447f2f(0x2ff)]),_0x3b39a2=_0x1a993f[_0x447f2f(0x38a)](_0x386f4f[_0x447f2f(0x14b)]),_0x2494d8=_0x1a993f[_0x447f2f(0x38a)](_0x4f478b[_0x447f2f(0x315)]),_0x5f3fce=_0x247cb0!==_0x4f478b[_0x447f2f(0x12d)][_0x447f2f(0x10c)],_0x5b26dc=_0x3b39a2['t'](_0x285df8(_0x247cb0)),_0x145667=_0x12259d[_0x447f2f(0x178)](_0x4c1693['onlineStatus'],{[_0x4c1693[_0x447f2f(0x3a5)]]:_0x5f3fce,[_0x4c1693[_0x447f2f(0x114)]]:!_0x5f3fce}),_0x4f3529=_0x5f3fce?_0x1af772[_0x447f2f(0x35e)](_0xc299d4,{}):_0x1af772[_0x447f2f(0x35e)](_0x2cab3c,{}),_0x2512e0=_0x105c2[_0x447f2f(0x325)](()=>{const _0x1f37a0=_0x447f2f;_0x5f3fce||_0x2494d8[_0x1f37a0(0x2f5)]();},[_0x5f3fce,_0x2494d8]);function _0x53e2a8(){const _0x2a1bc9=_0x447f2f;return _0x1af772[_0x2a1bc9(0x215)](_0x2a1bc9(0x110),{'className':_0x12259d[_0x2a1bc9(0x178)](_0x145667,'univer-flex\x20univer-items-center'),'onClick':_0x2512e0,'children':[_0x1af772[_0x2a1bc9(0x35e)](_0x2a1bc9(0x110),{'className':_0x4c1693[_0x2a1bc9(0x181)],'children':_0x4f3529}),_0x1af772[_0x2a1bc9(0x35e)](_0x2a1bc9(0x110),{'className':_0x4c1693[_0x2a1bc9(0x1f4)],'children':_0x5b26dc})]});}return _0x5f3fce?_0x53e2a8():_0x1af772[_0x447f2f(0x35e)](_0x12259d[_0x447f2f(0x225)],{'title':_0x3b39a2['t']('collab-client.tooltip.reconnect'),'children':_0x53e2a8()});}var _0x133b20=Object[_0x193cba(0x2d5)],_0x14b401=(_0x260765,_0x1b927a,_0x1b9f5f,_0x58093d)=>{const _0x40d007=_0x193cba;for(var _0x743593=_0x58093d>0x1?void 0x0:_0x58093d?_0x133b20(_0x1b927a,_0x1b9f5f):_0x1b927a,_0x3f74d0=_0x260765[_0x40d007(0x1da)]-0x1,_0x2fdbc1;_0x3f74d0>=0x0;_0x3f74d0--)(_0x2fdbc1=_0x260765[_0x3f74d0])&&(_0x743593=_0x2fdbc1(_0x743593)||_0x743593);return _0x743593;},_0x1b9607=(_0x6437c1,_0x3b91e0)=>(_0x3d5451,_0x9ac4e2)=>_0x3b91e0(_0x3d5451,_0x9ac4e2,_0x6437c1);_0x36c617[_0x193cba(0x2b1)]=class extends _0x386f4f[_0x193cba(0x164)]{constructor(_0x46af53,_0xf9ecef,_0x245c87,_0x3c1b80){const _0x2d4d3e=_0x193cba;super(),_0x1faacb(this,_0x2d4d3e(0x37a),new _0x4be4f6[(_0x2d4d3e(0x2b3))](_0x4f478b[_0x2d4d3e(0x12d)][_0x2d4d3e(0x2ff)])),(this[_0x2d4d3e(0x1f5)]=_0x46af53,this[_0x2d4d3e(0x183)]=_0xf9ecef,this[_0x2d4d3e(0x1ac)]=_0x245c87,this[_0x2d4d3e(0x299)]=_0x3c1b80,this[_0x2d4d3e(0x26d)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x2aa694=_0x193cba;this[_0x2aa694(0x258)](this[_0x2aa694(0x1f5)][_0x2aa694(0x21d)]['pipe'](_0x4be4f6[_0x2aa694(0x1f2)](()=>{const _0x5ec35c=_0x2aa694,_0x283245=this[_0x5ec35c(0x1f5)][_0x5ec35c(0x1a3)]();return _0x283245?this[_0x5ec35c(0x1ac)][_0x5ec35c(0x382)](_0x283245[_0x5ec35c(0x33d)]()):_0x4be4f6['of'](null);}),_0x4be4f6[_0x2aa694(0x1f2)](_0x236614=>_0x236614?_0x236614['status$']:_0x4be4f6['of'](_0x4f478b['CollaborationStatus'][_0x2aa694(0x2ff)])))[_0x2aa694(0x274)](_0x2c86f7=>{const _0x6ab3f2=_0x2aa694;this[_0x6ab3f2(0x37a)][_0x6ab3f2(0x37b)](_0x2c86f7);}));}[_0x193cba(0x26d)](){const _0x246202=_0x193cba;this['disposeWithMe'](this[_0x246202(0x299)]['registerComponent'](_0x1a993f[_0x246202(0x318)][_0x246202(0x1dc)],()=>_0x1a993f[_0x246202(0x377)](_0x58b45e({'status$':this[_0x246202(0x37a)][_0x246202(0x322)]()}),this[_0x246202(0x183)])));}},_0x36c617[_0x193cba(0x2b1)]=_0x14b401([_0x1b9607(0x0,_0x386f4f['IUniverInstanceService']),_0x1b9607(0x1,_0x386f4f[_0x193cba(0x24d)](_0x386f4f[_0x193cba(0x290)])),_0x1b9607(0x2,_0x386f4f[_0x193cba(0x24d)](_0x4f478b[_0x193cba(0x27a)])),_0x1b9607(0x3,_0x1a993f[_0x193cba(0x1e7)])],_0x36c617[_0x193cba(0x2b1)]);function _0x58b45e(_0x1e7bee){const {status$:_0x247add}=_0x1e7bee;return function(){const _0x130ef1=_0x43e1;return _0x1af772[_0x130ef1(0x35e)](_0x2ab981,{'status$':_0x247add});};}var _0x1b3df7=Object[_0x193cba(0x2d5)],_0x11e95e=(_0x7e03cb,_0x526b29,_0x4e5a69,_0x412d97)=>{const _0x5493f4=_0x193cba;for(var _0x4b772b=_0x412d97>0x1?void 0x0:_0x412d97?_0x1b3df7(_0x526b29,_0x4e5a69):_0x526b29,_0x1c2b4a=_0x7e03cb[_0x5493f4(0x1da)]-0x1,_0x3d9ab4;_0x1c2b4a>=0x0;_0x1c2b4a--)(_0x3d9ab4=_0x7e03cb[_0x1c2b4a])&&(_0x4b772b=_0x3d9ab4(_0x4b772b)||_0x4b772b);return _0x4b772b;},_0x1358fc=(_0x3d56bb,_0x3194f9)=>(_0x1144ca,_0x106981)=>_0x3194f9(_0x1144ca,_0x106981,_0x3d56bb);let _0x26b5d2=class extends _0x386f4f['Disposable']{constructor(_0x1dc157,_0x4edb47,_0x47e1a3,_0x284dad,_0x563bd4,_0x3ef3af){const _0x41e5b5=_0x193cba;super(),this[_0x41e5b5(0x38b)]=_0x1dc157,this['_localCacheService']=_0x4edb47,this[_0x41e5b5(0x1e0)]=_0x47e1a3,this[_0x41e5b5(0x1ef)]=_0x284dad,this[_0x41e5b5(0x16c)]=_0x563bd4,this['_localeService']=_0x3ef3af,this['_setupBeforeClosingHandler'](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x583c2c=_0x193cba;this[_0x583c2c(0x258)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x492e21=_0x583c2c;if(this[_0x492e21(0x109)][_0x492e21(0x1ff)]['size'])return this[_0x492e21(0x2ab)]['t'](_0x492e21(0x23a));}));}['_initEvent'](){const _0x3e6795=_0x193cba;this['disposeWithMe'](this[_0x3e6795(0x1e0)]['event$']['subscribe'](_0x12738e=>{const _0x24a57b=_0x3e6795;_0x12738e['id']===_0x4f478b[_0x24a57b(0x345)][_0x24a57b(0x1cc)]&&this[_0x24a57b(0x1ef)][_0x24a57b(0x284)]({'type':_0x12259d[_0x24a57b(0x125)][_0x24a57b(0x294)],'content':this[_0x24a57b(0x2ab)]['t']('collaboration.single-unit.warning')}),_0x12738e['id']===_0x4f478b['CollaborationUIEventId'][_0x24a57b(0x1dd)]&&this[_0x24a57b(0x1ef)][_0x24a57b(0x284)]({'type':_0x12259d[_0x24a57b(0x125)][_0x24a57b(0x294)],'content':this['_localeService']['t'](_0x24a57b(0x30c))}),_0x12738e['id']===_0x4f478b[_0x24a57b(0x345)][_0x24a57b(0x309)]&&this['_notificationService'][_0x24a57b(0x284)]({'title':this['_localeService']['t'](_0x24a57b(0x2ac)),'content':this[_0x24a57b(0x2ab)]['t']('permission.content'),'type':_0x24a57b(0x282),'duration':0x0}),_0x12738e['id']===_0x4f478b[_0x24a57b(0x345)][_0x24a57b(0x1ea)]&&this[_0x24a57b(0x1ef)][_0x24a57b(0x284)]({'type':_0x12259d[_0x24a57b(0x125)][_0x24a57b(0x2c5)],'content':this[_0x24a57b(0x2ab)]['t'](_0x24a57b(0x30c))+'('+_0x12738e[_0x24a57b(0x2cb)]+')'}),_0x12738e['id']===_0x4f478b[_0x24a57b(0x345)][_0x24a57b(0x19b)]&&this[_0x24a57b(0x1ef)][_0x24a57b(0x284)]({'type':_0x12259d[_0x24a57b(0x125)][_0x24a57b(0x294)],'content':this[_0x24a57b(0x2ab)]['t'](_0x12738e['data']||'')}),_0x12738e['id']===_0x4f478b['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this[_0x24a57b(0x1ef)]['show']({'type':_0x12259d[_0x24a57b(0x125)][_0x24a57b(0x294)],'content':this[_0x24a57b(0x2ab)]['t'](_0x24a57b(0x1b8))}),_0x12738e['id']===_0x4f478b[_0x24a57b(0x345)]['SOCKET_FAILED']&&this[_0x24a57b(0x1ef)][_0x24a57b(0x284)]({'type':_0x12259d[_0x24a57b(0x125)][_0x24a57b(0x2c5)],'content':this[_0x24a57b(0x2ab)]['t'](_0x24a57b(0x14c))}),_0x12738e['id']===_0x4f478b[_0x24a57b(0x345)][_0x24a57b(0x27c)]&&this[_0x24a57b(0x1ef)]['show']({'type':_0x12259d[_0x24a57b(0x125)][_0x24a57b(0x2c5)],'content':this[_0x24a57b(0x2ab)]['t'](_0x24a57b(0x33f))});}));}};_0x26b5d2=_0x11e95e([_0x1358fc(0x0,_0x1a993f[_0x193cba(0x327)]),_0x1358fc(0x1,_0x4f478b[_0x193cba(0x13f)]),_0x1358fc(0x2,_0x386f4f[_0x193cba(0x24d)](_0x4f478b[_0x193cba(0x352)])),_0x1358fc(0x3,_0x1a993f[_0x193cba(0x149)]),_0x1358fc(0x4,_0x1a993f[_0x193cba(0x3a2)]),_0x1358fc(0x5,_0x386f4f[_0x193cba(0x24d)](_0x386f4f[_0x193cba(0x14b)]))],_0x26b5d2);const _0x42738e=_0x193cba(0x353),_0x3d9fb4={},_0x37f838=_0x386f4f[_0x193cba(0x336)]('uni.network.url-service');var _0x4a167c=Object['getOwnPropertyDescriptor'],_0x38c926=(_0x8c3adc,_0x4dbcb2,_0x44c6ad,_0x530e34)=>{const _0x1d9a5f=_0x193cba;for(var _0x470f30=_0x530e34>0x1?void 0x0:_0x530e34?_0x4a167c(_0x4dbcb2,_0x44c6ad):_0x4dbcb2,_0xde76e3=_0x8c3adc[_0x1d9a5f(0x1da)]-0x1,_0x3f2c69;_0xde76e3>=0x0;_0xde76e3--)(_0x3f2c69=_0x8c3adc[_0xde76e3])&&(_0x470f30=_0x3f2c69(_0x470f30)||_0x470f30);return _0x470f30;},_0xb79c1d=(_0x3d7ef4,_0x6edb52)=>(_0x1e07c7,_0x48743b)=>_0x6edb52(_0x1e07c7,_0x48743b,_0x3d7ef4);_0x36c617[_0x193cba(0x151)]=class extends _0x386f4f['RxDisposable']{constructor(_0x420541,_0x452241,_0x1f6a88,_0x561193,_0x33db80){const _0x2ae434=_0x193cba;super(),this['_urlService']=_0x420541,this[_0x2ae434(0x1e5)]=_0x452241,this['_commandService']=_0x1f6a88,this['_dataLoaderService']=_0x561193,_0x33db80?_0x33db80==null||_0x33db80[_0x2ae434(0x34a)]()['then'](()=>this[_0x2ae434(0x24f)]()):(this[_0x2ae434(0x1e5)][_0x2ae434(0x2a5)](_0x2ae434(0x20d),_0x2ae434(0x392)),this['_init']());}async[_0x193cba(0x24f)](){const _0xb95a89=_0x193cba,_0x93acc7=this['_urlService'][_0xb95a89(0x28e)]('unit'),_0x352b3f=this[_0xb95a89(0x195)]['getParam']('type'),_0x4033cd=this[_0xb95a89(0x195)][_0xb95a89(0x28e)](_0xb95a89(0x1b2));if(!_0x93acc7||!_0x352b3f){this[_0xb95a89(0x1e5)][_0xb95a89(0x2a5)](_0xb95a89(0x20d),_0xb95a89(0x394));return;}const _0x3b102e=await this[_0xb95a89(0x35b)][_0xb95a89(0x261)](_0x93acc7,Number(_0x352b3f),_0x4033cd);_0x3b102e&&_0x3b102e instanceof _0x386f4f[_0xb95a89(0x35a)]&&this[_0xb95a89(0x31e)](_0x3b102e);}async[_0x193cba(0x31e)](_0x16bdb7){const _0x309418=_0x193cba;await this[_0x309418(0x190)](_0x16bdb7),_0x16bdb7['activeSheet$'][_0x309418(0x143)](_0x4be4f6[_0x309418(0x30f)](this['dispose$']))[_0x309418(0x274)](_0x426b6f=>{const _0x402770=_0x309418;_0x426b6f&&this[_0x402770(0x1ec)](_0x426b6f);}),this[_0x309418(0x195)][_0x309418(0x354)][_0x309418(0x143)](_0x4be4f6[_0x309418(0x30f)](this[_0x309418(0x22c)]))[_0x309418(0x274)](()=>this[_0x309418(0x190)](_0x16bdb7));}[_0x193cba(0x1ec)](_0x5cd0ed,_0xf6aecc=!0x1){const _0x567642=_0x193cba,_0x4090c9=this[_0x567642(0x195)][_0x567642(0x28e)](_0x567642(0x1b2));_0x5cd0ed['getSheetId']()!==_0x4090c9&&this[_0x567642(0x195)][_0x567642(0x1a9)](_0x567642(0x1b2),_0x5cd0ed['getSheetId'](),_0xf6aecc);}async[_0x193cba(0x190)](_0x16ad25){const _0x5abf5b=_0x193cba;var _0x3959e8;const _0x307370=this[_0x5abf5b(0x195)][_0x5abf5b(0x28e)](_0x5abf5b(0x1b2));if(!_0x307370||!_0x16ad25[_0x5abf5b(0x21e)](_0x307370)){const _0x24f6a3=_0x16ad25[_0x5abf5b(0x206)]()[0x0],_0x13a590=_0x16ad25[_0x5abf5b(0x21e)](_0x24f6a3);if(!_0x13a590)return;this[_0x5abf5b(0x1ec)](_0x13a590,!0x0),await this[_0x5abf5b(0x2f4)]['executeCommand'](_0x327184['SetWorksheetActivateCommand']['id'],{'unitId':_0x16ad25['getUnitId'](),'subUnitId':_0x24f6a3});return;}((_0x3959e8=_0x16ad25[_0x5abf5b(0x38f)]())==null?void 0x0:_0x3959e8['getSheetId']())!==_0x307370&&await this[_0x5abf5b(0x2f4)]['executeCommand'](_0x327184[_0x5abf5b(0x391)]['id'],{'unitId':_0x16ad25[_0x5abf5b(0x33d)](),'subUnitId':_0x307370});}},_0x36c617[_0x193cba(0x151)]=_0x38c926([_0xb79c1d(0x0,_0x37f838),_0xb79c1d(0x1,_0x386f4f[_0x193cba(0x20c)]),_0xb79c1d(0x2,_0x386f4f['ICommandService']),_0xb79c1d(0x3,_0x386f4f[_0x193cba(0x24d)](_0x4f478b[_0x193cba(0x271)])),_0xb79c1d(0x4,_0x386f4f[_0x193cba(0x1d9)](_0x159f8e[_0x193cba(0x122)]))],_0x36c617[_0x193cba(0x151)]);var _0x4bc1c3=Object['getOwnPropertyDescriptor'],_0x2f9347=(_0x8be4e2,_0x1e6027,_0x28a768,_0x11945f)=>{for(var _0x48030e=_0x11945f>0x1?void 0x0:_0x11945f?_0x4bc1c3(_0x1e6027,_0x28a768):_0x1e6027,_0x5c9e3a=_0x8be4e2['length']-0x1,_0x1682e6;_0x5c9e3a>=0x0;_0x5c9e3a--)(_0x1682e6=_0x8be4e2[_0x5c9e3a])&&(_0x48030e=_0x1682e6(_0x48030e)||_0x48030e);return _0x48030e;},_0x5ec2d6=(_0x187942,_0x7d752f)=>(_0x4617a7,_0x299525)=>_0x7d752f(_0x4617a7,_0x299525,_0x187942);let _0x3847fd=class{constructor(_0x25c277,_0x56adc4,_0x257870){const _0x1c25b5=_0x193cba;this[_0x1c25b5(0x183)]=_0x25c277,this[_0x1c25b5(0x182)]=_0x56adc4,this[_0x1c25b5(0x26f)]=_0x257870;}['transformIMECache'](_0xb9eec){const _0x3d889c=_0x193cba;this[_0x3d889c(0x243)](_0xb9eec),this[_0x3d889c(0x144)](_0xb9eec);}[_0x193cba(0x344)](_0x4cb404){const _0x232004=_0x193cba,{unitID:_0xc8a66d}=_0x4cb404,_0x255972=this[_0x232004(0x26f)]['getRenderById'](_0xc8a66d)[_0x232004(0x31b)](_0x472a15[_0x232004(0x1bb)]),{redoCache:_0x53e04b}=_0x255972[_0x232004(0x28a)]();if(_0x53e04b[_0x232004(0x1da)]===0x0)return _0x4cb404;let _0x2f94e0=_0x386f4f[_0x232004(0x196)][_0x232004(0x2cd)](_0x4cb404['mutations'][0x0]);for(let _0x1287eb=0x0;_0x1287eb<_0x53e04b[_0x232004(0x1da)];_0x1287eb++){const _0x5acef7={'id':_0x232004(0x29d),'params':{..._0x53e04b[_0x1287eb]}},_0x27a642=this[_0x232004(0x182)][_0x232004(0x11a)](_0x2f94e0,_0x5acef7,!0x1);if(_0x1d0381[_0x232004(0x303)](_0x27a642))throw _0x27a642[_0x232004(0x282)];_0x2f94e0=_0x27a642['m1Prime'];}return{..._0x386f4f['Tools'][_0x232004(0x2cd)](_0x4cb404),'mutations':[_0x2f94e0]};}['_transformUndoRedoStack'](_0xfc29ee){const _0x428e7d=_0x193cba,{unitID:_0x41d960}=_0xfc29ee,_0x2d3812=this['_renderManagerService'][_0x428e7d(0x19f)](_0x41d960)[_0x428e7d(0x31b)](_0x472a15[_0x428e7d(0x1bb)]),{undoCache:_0x931012,redoCache:_0x5aece2}=_0x2d3812[_0x428e7d(0x28a)]();if(_0x931012[_0x428e7d(0x1da)]===0x0||_0x5aece2[_0x428e7d(0x1da)]===0x0)return;const _0x9abadf=[],_0x5d14e7=[];let _0x179f75=_0x386f4f[_0x428e7d(0x196)]['deepClone'](_0xfc29ee[_0x428e7d(0x146)][0x0]),_0x55a8cb=_0x386f4f[_0x428e7d(0x196)][_0x428e7d(0x2cd)](_0xfc29ee[_0x428e7d(0x146)][0x0]);for(let _0x408796=_0x931012[_0x428e7d(0x1da)]-0x1;_0x408796>=0x0;_0x408796--){const _0x3dda26={'id':'doc.mutation.rich-text-editing','params':{..._0x931012[_0x408796]}},_0x35d6ff={'id':_0x428e7d(0x29d),'params':{..._0x5aece2[_0x408796]}},_0x3f425d=this[_0x428e7d(0x182)][_0x428e7d(0x11a)](_0x179f75,_0x3dda26,!0x1),_0x1940e9=this['_transformService'][_0x428e7d(0x11a)](_0x55a8cb,_0x35d6ff,!0x1);if(_0x1d0381[_0x428e7d(0x303)](_0x3f425d))throw _0x3f425d[_0x428e7d(0x282)];if(_0x1d0381['isTransformMutationFailure'](_0x1940e9))throw _0x1940e9[_0x428e7d(0x282)];_0x9abadf[_0x428e7d(0x254)](_0x3f425d[_0x428e7d(0x32e)][_0x428e7d(0x257)]),_0x5d14e7[_0x428e7d(0x254)](_0x1940e9[_0x428e7d(0x32e)]['params']),_0x179f75=_0x3f425d[_0x428e7d(0x209)],_0x55a8cb=_0x1940e9[_0x428e7d(0x209)];}_0x2d3812[_0x428e7d(0x29a)]({'undoCache':_0x9abadf,'redoCache':_0x5d14e7});}[_0x193cba(0x144)](_0x559cd5){const _0x439dad=_0x193cba,{unitID:_0x18f905}=_0x559cd5,_0x47c102=this[_0x439dad(0x26f)][_0x439dad(0x19f)](_0x18f905)['with'](_0x472a15['DocIMEInputManagerService']),_0x37a6bf=_0x47c102[_0x439dad(0x1c7)]();if(_0x37a6bf==null)return;const _0x90ac5f=[{'id':_0x439dad(0x29d),'params':{'unitId':_0x559cd5[_0x439dad(0x310)],'actions':null,'textRanges':[_0x37a6bf]}}],_0x23ed2a=this[_0x439dad(0x182)]['transformMutationsWithChangeset'](_0x559cd5,_0x90ac5f);if(!_0x1d0381[_0x439dad(0x22f)](_0x23ed2a))throw _0x23ed2a[_0x439dad(0x282)];const _0x5da370=_0x23ed2a[_0x439dad(0x32e)][0x0]['params'][_0x439dad(0x2c3)];Array[_0x439dad(0x1be)](_0x5da370)&&_0x5da370[_0x439dad(0x1da)]&&_0x47c102[_0x439dad(0x167)](_0x5da370[0x0]);}};_0x3847fd=_0x2f9347([_0x5ec2d6(0x0,_0x386f4f[_0x193cba(0x24d)](_0x386f4f[_0x193cba(0x290)])),_0x5ec2d6(0x1,_0x1d0381[_0x193cba(0x157)]),_0x5ec2d6(0x2,_0x3cf560[_0x193cba(0x1e1)])],_0x3847fd);var _0x24574e=Object[_0x193cba(0x2d5)],_0x548327=(_0x35d749,_0x4d08b0,_0x236c96,_0x43c336)=>{const _0x1c3187=_0x193cba;for(var _0x1689f1=_0x43c336>0x1?void 0x0:_0x43c336?_0x24574e(_0x4d08b0,_0x236c96):_0x4d08b0,_0x3ee4cb=_0x35d749[_0x1c3187(0x1da)]-0x1,_0x3f8200;_0x3ee4cb>=0x0;_0x3ee4cb--)(_0x3f8200=_0x35d749[_0x3ee4cb])&&(_0x1689f1=_0x3f8200(_0x1689f1)||_0x1689f1);return _0x1689f1;},_0x3f99f5=(_0x5a1e33,_0x3d88b9)=>(_0x5f2f0d,_0x11670f)=>_0x3d88b9(_0x5f2f0d,_0x11670f,_0x5a1e33);let _0x2ddc7c=class{constructor(_0x400e09,_0x1107d6,_0x1e2e8c){const _0x329f7a=_0x193cba;this['_injector']=_0x400e09,this['_transformService']=_0x1107d6,this[_0x329f7a(0x3a0)]=_0x1e2e8c;}[_0x193cba(0x152)](_0x218dd4){const _0x2e9f68=_0x193cba;this[_0x2e9f68(0x11b)](_0x218dd4);}[_0x193cba(0x344)](_0x1e16a6){const _0x105545=_0x193cba,{unitID:_0x22966e}=_0x1e16a6,{collaboration:_0x396187}=this[_0x105545(0x3a0)][_0x105545(0x2ba)](_0x22966e);if(_0x396187[_0x105545(0x1da)]===0x0)return _0x1e16a6;let _0x56e566=_0x386f4f[_0x105545(0x196)][_0x105545(0x2cd)](_0x1e16a6['mutations'][0x0]);for(let _0x30ad3b=0x0;_0x30ad3b<_0x396187[_0x105545(0x1da)];_0x30ad3b++){const _0x52df5c={'id':_0x105545(0x29d),'params':{'unitId':_0x396187[_0x30ad3b][_0x105545(0x162)],..._0x396187[_0x30ad3b][_0x105545(0x1c4)]}},_0x2c6756=this['_transformService']['transformMutation'](_0x56e566,_0x52df5c,!0x1);if(_0x1d0381[_0x105545(0x303)](_0x2c6756))throw _0x2c6756[_0x105545(0x282)];_0x56e566=_0x2c6756[_0x105545(0x209)];}return{..._0x386f4f[_0x105545(0x196)]['deepClone'](_0x1e16a6),'mutations':[_0x56e566]};}['_transformHistoryAndStateStack'](_0x4e690f){const _0x13c9ae=_0x193cba,{unitID:_0x27b375}=_0x4e690f,{history:_0xa30f42,collaboration:_0x2ed42f}=this[_0x13c9ae(0x3a0)][_0x13c9ae(0x2ba)](_0x27b375);if(_0xa30f42[_0x13c9ae(0x1da)]===0x0&&_0x2ed42f['length']===0x0)return;const _0x279789=[],_0x5dad2d=[];let _0x5a24c3=_0x386f4f[_0x13c9ae(0x196)][_0x13c9ae(0x2cd)](_0x4e690f[_0x13c9ae(0x146)][0x0]),_0x561fa0=_0x386f4f[_0x13c9ae(0x196)][_0x13c9ae(0x2cd)](_0x4e690f[_0x13c9ae(0x146)][0x0]);for(let _0x5f1a73=_0xa30f42[_0x13c9ae(0x1da)]-0x1;_0x5f1a73>=0x0;_0x5f1a73--){const _0x4c4bdb={'id':_0x13c9ae(0x29d),'params':{'unitId':_0xa30f42[_0x5f1a73][_0x13c9ae(0x162)],..._0xa30f42[_0x5f1a73][_0x13c9ae(0x301)]}},_0x31b161={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xa30f42[_0x5f1a73][_0x13c9ae(0x162)],..._0xa30f42[_0x5f1a73]['redoState']}},_0x4126b6=this['_transformService'][_0x13c9ae(0x11a)](_0x5a24c3,_0x4c4bdb,!0x1),_0x1272bf=this[_0x13c9ae(0x182)][_0x13c9ae(0x11a)](_0x561fa0,_0x31b161,!0x1);if(_0x1d0381[_0x13c9ae(0x303)](_0x4126b6))throw _0x4126b6['error'];if(_0x1d0381[_0x13c9ae(0x303)](_0x1272bf))throw _0x1272bf[_0x13c9ae(0x282)];_0x279789['unshift']({..._0xa30f42[_0x5f1a73],'undoState':_0x4126b6[_0x13c9ae(0x32e)]['params'],'redoState':_0x1272bf[_0x13c9ae(0x32e)][_0x13c9ae(0x257)]}),_0x5a24c3=_0x4126b6[_0x13c9ae(0x209)],_0x561fa0=_0x1272bf[_0x13c9ae(0x209)];}_0x5a24c3=_0x386f4f[_0x13c9ae(0x196)][_0x13c9ae(0x2cd)](_0x4e690f[_0x13c9ae(0x146)][0x0]),_0x561fa0=_0x386f4f['Tools'][_0x13c9ae(0x2cd)](_0x4e690f[_0x13c9ae(0x146)][0x0]);for(let _0x2a0f84=_0x2ed42f['length']-0x1;_0x2a0f84>=0x0;_0x2a0f84--){const _0x85bb22={'id':_0x13c9ae(0x29d),'params':{'unitId':_0x2ed42f[_0x2a0f84][_0x13c9ae(0x162)],..._0x2ed42f[_0x2a0f84][_0x13c9ae(0x301)]}},_0x15e072={'id':_0x13c9ae(0x29d),'params':{'unitId':_0x2ed42f[_0x2a0f84]['unitId'],..._0x2ed42f[_0x2a0f84][_0x13c9ae(0x1c4)]}},_0xb14918=this['_transformService'][_0x13c9ae(0x11a)](_0x5a24c3,_0x85bb22,!0x1),_0x774dc7=this[_0x13c9ae(0x182)]['transformMutation'](_0x561fa0,_0x15e072,!0x1);if(_0x1d0381[_0x13c9ae(0x303)](_0xb14918))throw _0xb14918['error'];if(_0x1d0381[_0x13c9ae(0x303)](_0x774dc7))throw _0x774dc7[_0x13c9ae(0x282)];_0x5dad2d['unshift']({..._0x2ed42f[_0x2a0f84],'undoState':_0xb14918[_0x13c9ae(0x32e)]['params'],'redoState':_0x774dc7[_0x13c9ae(0x32e)][_0x13c9ae(0x257)]}),_0x5a24c3=_0xb14918[_0x13c9ae(0x209)],_0x561fa0=_0x774dc7[_0x13c9ae(0x209)];}this['_docStateChangeManagerService'][_0x13c9ae(0x127)](_0x27b375,{'history':_0x279789,'collaboration':_0x5dad2d});}};_0x2ddc7c=_0x548327([_0x3f99f5(0x0,_0x386f4f[_0x193cba(0x24d)](_0x386f4f[_0x193cba(0x290)])),_0x3f99f5(0x1,_0x1d0381[_0x193cba(0x157)]),_0x3f99f5(0x2,_0x386f4f[_0x193cba(0x24d)](_0x472a15[_0x193cba(0x381)]))],_0x2ddc7c);var _0xaa2257=Object['getOwnPropertyDescriptor'],_0x7c88ef=(_0x3c7d2f,_0x306ba1,_0x4af2fb,_0x468cf6)=>{for(var _0x5db154=_0x468cf6>0x1?void 0x0:_0x468cf6?_0xaa2257(_0x306ba1,_0x4af2fb):_0x306ba1,_0x54b1af=_0x3c7d2f['length']-0x1,_0x3c96ed;_0x54b1af>=0x0;_0x54b1af--)(_0x3c96ed=_0x3c7d2f[_0x54b1af])&&(_0x5db154=_0x3c96ed(_0x5db154)||_0x5db154);return _0x5db154;},_0x39d09d=(_0x25f140,_0x4ee7fb)=>(_0x17e750,_0x1f1b0c)=>_0x4ee7fb(_0x17e750,_0x1f1b0c,_0x25f140);let _0x22b596=class{constructor(_0x1a8e2c,_0x141880){const _0x3afcc5=_0x193cba;this[_0x3afcc5(0x183)]=_0x1a8e2c,this[_0x3afcc5(0x182)]=_0x141880;}[_0x193cba(0x13a)](_0x5b1e4d){const _0x4419f4=_0x193cba;var _0x402cec;const _0x4e05aa=this[_0x4419f4(0x183)][_0x4419f4(0x2e1)](_0x295784['DocSelectionManagerService']),_0x25baeb=(_0x402cec=_0x4e05aa['getDocRanges']())!=null?_0x402cec:[];if(_0x25baeb[_0x4419f4(0x1da)]===0x0)return;const _0x38893e=_0x5b1e4d[_0x4419f4(0x310)],_0x120a4a=[{'id':_0x4419f4(0x29d),'params':{'unitId':_0x38893e,'actions':null,'textRanges':_0x25baeb}}],_0x1b7f39=this[_0x4419f4(0x182)]['transformMutationsWithChangeset'](_0x5b1e4d,_0x120a4a);if(!_0x1d0381[_0x4419f4(0x22f)](_0x1b7f39))throw _0x1b7f39[_0x4419f4(0x282)];const _0xff8e74=_0x1b7f39[_0x4419f4(0x32e)][0x0][_0x4419f4(0x257)][_0x4419f4(0x2c3)];Array[_0x4419f4(0x1be)](_0xff8e74)&&_0xff8e74[_0x4419f4(0x1da)]&&_0x4e05aa[_0x4419f4(0x1b5)](_0xff8e74,{'unitId':_0x38893e,'subUnitId':_0x38893e},!0x1);}};_0x22b596=_0x7c88ef([_0x39d09d(0x0,_0x386f4f[_0x193cba(0x24d)](_0x386f4f['Injector'])),_0x39d09d(0x1,_0x1d0381[_0x193cba(0x157)])],_0x22b596);var _0x37fb74=Object[_0x193cba(0x2d5)],_0xa9f909=(_0x7f35e2,_0x3e0e4f,_0x2ad019,_0x58a2b4)=>{const _0x4180d0=_0x193cba;for(var _0xc2dfb7=_0x58a2b4>0x1?void 0x0:_0x58a2b4?_0x37fb74(_0x3e0e4f,_0x2ad019):_0x3e0e4f,_0x401d41=_0x7f35e2[_0x4180d0(0x1da)]-0x1,_0x3c4007;_0x401d41>=0x0;_0x401d41--)(_0x3c4007=_0x7f35e2[_0x401d41])&&(_0xc2dfb7=_0x3c4007(_0xc2dfb7)||_0xc2dfb7);return _0xc2dfb7;},_0x344712=(_0x284705,_0x7df5ec)=>(_0xd68439,_0x564fbb)=>_0x7df5ec(_0xd68439,_0x564fbb,_0x284705);let _0x1e0fd1=class extends _0x386f4f[_0x193cba(0x164)]{constructor(_0x57b5f6,_0x14d7ad,_0x114e17,_0x9085b4,_0x200d0f,_0x232ecc,_0x2e13a4,_0x5f36f0){const _0x279148=_0x193cba;super(),_0x1faacb(this,_0x279148(0x37a),new _0x4be4f6[(_0x279148(0x2b3))](_0x4f478b[_0x279148(0x12d)][_0x279148(0x2ff)])),(this[_0x279148(0x3a0)]=_0x57b5f6,this[_0x279148(0x1ac)]=_0x14d7ad,this[_0x279148(0x246)]=_0x114e17,this['_docTransformStateCacheService']=_0x9085b4,this[_0x279148(0x2a2)]=_0x200d0f,this[_0x279148(0x175)]=_0x232ecc,this[_0x279148(0x1ef)]=_0x2e13a4,this[_0x279148(0x2ab)]=_0x5f36f0,this[_0x279148(0x1e8)]());}[_0x193cba(0x1e8)](){const _0x51314d=_0x193cba;this['disposeWithMe'](this[_0x51314d(0x1ac)][_0x51314d(0x393)][_0x51314d(0x274)](_0xd21d87=>{const _0x1cf4a5=_0x51314d,_0x46b3a4=this['_docStateChangeManagerService'][_0x1cf4a5(0x362)]['subscribe'](_0x3e0e1e=>{const _0x445014=_0x1cf4a5;if(_0x3e0e1e==null)return;const {unitId:_0x54c6e4,redoState:_0x15c45a,commandId:_0x2cb4d3}=_0x3e0e1e;if(_0x54c6e4!==_0xd21d87[_0x445014(0x310)])return;const _0x38a2af={'id':_0x2cb4d3,'type':_0x386f4f[_0x445014(0x171)][_0x445014(0x201)],'params':{'unitId':_0x54c6e4,'actions':_0x15c45a['actions'],'textRanges':null}};_0xd21d87['onLocalMutation'](_0x38a2af);});if(_0xd21d87[_0x1cf4a5(0x258)](_0x46b3a4),_0xd21d87 instanceof _0x4f478b[_0x1cf4a5(0x177)]){const _0x329a5f={'onTransformIME':_0x46ccb5=>this[_0x1cf4a5(0x246)][_0x1cf4a5(0x395)](_0x46ccb5),'onTransformState':_0x33e3d7=>this[_0x1cf4a5(0x158)][_0x1cf4a5(0x152)](_0x33e3d7),'onTransformSelections':_0x37b8fc=>this[_0x1cf4a5(0x2a2)][_0x1cf4a5(0x13a)](_0x37b8fc),'onSyncEditingCollabCursor':_0x20775f=>this[_0x1cf4a5(0x175)]['syncEditingCollabCursor'](_0x20775f),'onTransformRemoteChangesetByIMECache':_0xf979e1=>this['_docTransformIMECacheService'][_0x1cf4a5(0x344)](_0xf979e1),'onTransformRemoteChangesetByStateCache':_0x522fe3=>this[_0x1cf4a5(0x158)][_0x1cf4a5(0x344)](_0x522fe3)};_0xd21d87['addHandlerCallback'](_0x329a5f);}}));}};_0x1e0fd1=_0xa9f909([_0x344712(0x0,_0x386f4f['Inject'](_0x472a15[_0x193cba(0x381)])),_0x344712(0x1,_0x386f4f['Inject'](_0x4f478b[_0x193cba(0x27a)])),_0x344712(0x2,_0x386f4f[_0x193cba(0x24d)](_0x3847fd)),_0x344712(0x3,_0x386f4f[_0x193cba(0x24d)](_0x2ddc7c)),_0x344712(0x4,_0x386f4f[_0x193cba(0x24d)](_0x22b596)),_0x344712(0x5,_0x386f4f[_0x193cba(0x24d)](_0x88948a)),_0x344712(0x6,_0x1a993f[_0x193cba(0x149)]),_0x344712(0x7,_0x386f4f[_0x193cba(0x24d)](_0x386f4f[_0x193cba(0x14b)]))],_0x1e0fd1);var _0x9ac482=Object['getOwnPropertyDescriptor'],_0xdc8b37=(_0x2ebbbc,_0x486f8a,_0x2b9864,_0x115f6f)=>{for(var _0x4c5214=_0x115f6f>0x1?void 0x0:_0x115f6f?_0x9ac482(_0x486f8a,_0x2b9864):_0x486f8a,_0x4864e6=_0x2ebbbc['length']-0x1,_0x9d4619;_0x4864e6>=0x0;_0x4864e6--)(_0x9d4619=_0x2ebbbc[_0x4864e6])&&(_0x4c5214=_0x9d4619(_0x4c5214)||_0x4c5214);return _0x4c5214;},_0xff6683=(_0x592475,_0x1860f3)=>(_0x5533c8,_0xb49435)=>_0x1860f3(_0x5533c8,_0xb49435,_0x592475);let _0x20eb9f=class extends _0x386f4f[_0x193cba(0x164)]{constructor(_0x24542c,_0x47736f,_0x45cae9){const _0x1326b2=_0x193cba;super(),_0x1faacb(this,_0x1326b2(0x2a1),new Map()),_0x1faacb(this,_0x1326b2(0x288),new Map()),_0x1faacb(this,_0x1326b2(0x3a7),!0x1),(this[_0x1326b2(0x2a8)]=_0x24542c,this[_0x1326b2(0x3a8)]=_0x47736f,this['_revisionService']=_0x45cae9);}['disableLocalCache'](){const _0x5c4ffb=_0x193cba;this[_0x5c4ffb(0x3a7)]=!0x0;}[_0x193cba(0x185)](){const _0x1155aa=_0x193cba;this[_0x1155aa(0x3a7)]=!0x1;}get[_0x193cba(0x1ff)](){const _0xbe95ed=_0x193cba;return this[_0xbe95ed(0x288)];}[_0x193cba(0x32f)](){const _0x1bfdf4=_0x193cba;this[_0x1bfdf4(0x276)]()[_0x1bfdf4(0x1a5)](()=>super[_0x1bfdf4(0x32f)]());}async[_0x193cba(0x242)](_0x266587){const _0x84f1a8=_0x193cba;return this[_0x84f1a8(0x3a7)]?null:this['_localStorageService'][_0x84f1a8(0x2b2)](_0x4f478b['getLocalCacheKey'](_0x266587));}async[_0x193cba(0x357)](_0x21657c,_0x2eb4a5){const _0x2aeecf=_0x193cba;return!!this[_0x2aeecf(0x3a8)][_0x2aeecf(0x1d6)](_0x21657c,_0x2eb4a5);}[_0x193cba(0x324)](_0x587487,_0x52637a,_0x109455,_0xdd61b1){const _0x4a1011=_0x193cba,_0x525188=this[_0x4a1011(0x24a)][_0x4a1011(0x106)](_0x587487);this[_0x4a1011(0x2a1)]['set'](_0x587487,{'unitID':_0x587487,'type':_0x52637a,'awaitingChangeset':_0x109455,'mutations':_0xdd61b1,'rev':_0x525188}),this[_0x4a1011(0x288)][_0x4a1011(0x25c)](_0x587487)||this[_0x4a1011(0x368)](_0x587487);}[_0x193cba(0x368)](_0x2a31bf){const _0x369e6f=_0x193cba,_0x56c8cb=this['_getSaveTimeout']();_0x56c8cb===0x0?this[_0x369e6f(0x267)](_0x2a31bf):this[_0x369e6f(0x288)][_0x369e6f(0x15c)](_0x2a31bf,setTimeout(()=>this['_saveCache'](_0x2a31bf),_0x56c8cb));}[_0x193cba(0x337)](){const _0xa3819a=_0x193cba;var _0x246347;return(_0x246347=this[_0xa3819a(0x2a8)]['getConfig'](_0x4f478b[_0xa3819a(0x13d)]))!=null?_0x246347:_0x4f478b[_0xa3819a(0x1ab)];}[_0x193cba(0x267)](_0x698a31){const _0x4a68b1=_0x193cba,_0x10d61f=this[_0x4a68b1(0x288)][_0x4a68b1(0x2e1)](_0x698a31);return _0x10d61f!==void 0x0&&window[_0x4a68b1(0x30e)](_0x10d61f),this[_0x4a68b1(0x3a8)]['setItem'](_0x4f478b['getLocalCacheKey'](_0x698a31),this['_cachedData'][_0x4a68b1(0x2e1)](_0x698a31))[_0x4a68b1(0x1a5)](()=>this[_0x4a68b1(0x288)][_0x4a68b1(0x384)](_0x698a31));}async['exhaustSavingTask'](){const _0xd94cd0=_0x193cba,_0x4b70f6=[];this[_0xd94cd0(0x288)]['forEach']((_0x182778,_0xa701f2)=>{const _0x219e38=_0xd94cd0;window[_0x219e38(0x30e)](_0x182778),_0x4b70f6[_0x219e38(0x2be)](this[_0x219e38(0x267)](_0xa701f2)[_0x219e38(0x1a5)](()=>{const _0x540631=_0x219e38;this[_0x540631(0x288)]['delete'](_0xa701f2);}));}),await Promise[_0xd94cd0(0x269)](_0x4b70f6);}};_0x20eb9f=_0xdc8b37([_0xff6683(0x0,_0x386f4f['IConfigService']),_0xff6683(0x1,_0x386f4f['ILocalStorageService']),_0xff6683(0x2,_0x386f4f['Inject'](_0x1d0381[_0x193cba(0x163)]))],_0x20eb9f);class _0x26e8c2 extends _0x386f4f[_0x193cba(0x320)]{constructor(){const _0x639698=_0x193cba;super(),_0x1faacb(this,_0x639698(0x354)),this[_0x639698(0x354)]=_0x4be4f6[_0x639698(0x34c)](window,_0x639698(0x2d2))['pipe'](_0x4be4f6['takeUntil'](this[_0x639698(0x22c)]),_0x4be4f6[_0x639698(0x153)](0x1),_0x4be4f6[_0x639698(0x170)](void 0x0));}[_0x193cba(0x1a9)](_0x2ccb92,_0x1b3e1b,_0x137948=!0x1){const _0x171a6d=_0x193cba,_0x3a2078=new URL(window['location'][_0x171a6d(0x1f7)]);_0x3a2078[_0x171a6d(0x2fb)]['set'](_0x2ccb92,_0x1b3e1b),_0x137948?window[_0x171a6d(0x360)]['replaceState']('','',_0x3a2078[_0x171a6d(0x32d)]()):window[_0x171a6d(0x360)][_0x171a6d(0x390)]('','',_0x3a2078['toString']());}['removeParam'](_0x5a735a,_0x1a0161=!0x1){const _0x3e8906=_0x193cba,_0x2b8ba1=new URL(window[_0x3e8906(0x275)][_0x3e8906(0x1f7)]);_0x2b8ba1[_0x3e8906(0x2fb)][_0x3e8906(0x384)](_0x5a735a),_0x1a0161?window[_0x3e8906(0x360)]['replaceState']('','',_0x2b8ba1[_0x3e8906(0x32d)]()):window['history'][_0x3e8906(0x390)]('','',_0x2b8ba1[_0x3e8906(0x32d)]());}[_0x193cba(0x28e)](_0x46ccfb){const _0x4348e9=_0x193cba;var _0x17abf0;return(_0x17abf0=new URL(window[_0x4348e9(0x275)][_0x4348e9(0x1f7)])['searchParams'][_0x4348e9(0x2e1)](_0x46ccfb))!=null?_0x17abf0:void 0x0;}}var _0x1bef17=Object[_0x193cba(0x1b7)],_0x5a2518=Object[_0x193cba(0x2d5)],_0x3d066f=(_0x1a364c,_0x37906f,_0x33e86d)=>_0x37906f in _0x1a364c?_0x1bef17(_0x1a364c,_0x37906f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33e86d}):_0x1a364c[_0x37906f]=_0x33e86d,_0xe869f6=(_0x527816,_0x2b09a5,_0x4377e8,_0x42ba27)=>{const _0x435e9b=_0x193cba;for(var _0x42dc93=_0x42ba27>0x1?void 0x0:_0x42ba27?_0x5a2518(_0x2b09a5,_0x4377e8):_0x2b09a5,_0x19ac20=_0x527816[_0x435e9b(0x1da)]-0x1,_0xdea1a6;_0x19ac20>=0x0;_0x19ac20--)(_0xdea1a6=_0x527816[_0x19ac20])&&(_0x42dc93=_0xdea1a6(_0x42dc93)||_0x42dc93);return _0x42dc93;},_0x563ce1=(_0x46b06f,_0x1b7761)=>(_0x5d7350,_0x19c830)=>_0x1b7761(_0x5d7350,_0x19c830,_0x46b06f),_0x59e53a=(_0x32c2d1,_0x3eb16d,_0x5bc838)=>_0x3d066f(_0x32c2d1,_0x3eb16d+'',_0x5bc838);const _0x535a3e=_0x193cba(0x379);_0x36c617[_0x193cba(0x228)]=class extends _0x386f4f[_0x193cba(0x363)]{constructor(_0x270c22=_0x3d9fb4,_0x3b0ad3,_0x320f27,_0x487046){const _0x235205=_0x193cba;super(),this[_0x235205(0x111)]=_0x270c22,this[_0x235205(0x26f)]=_0x3b0ad3,this[_0x235205(0x183)]=_0x320f27,this['_configService']=_0x487046;const {..._0x219e9e}=_0x386f4f['merge']({},_0x3d9fb4,this['_config']);this[_0x235205(0x2a8)][_0x235205(0x283)](_0x42738e,_0x219e9e);}[_0x193cba(0x36e)](){const _0x5e1fd2=_0x193cba;this[_0x5e1fd2(0x343)](),this[_0x5e1fd2(0x333)]();}['onRendered'](){const _0x220a4b=_0x193cba;this[_0x220a4b(0x172)]();}[_0x193cba(0x343)](){const _0x55d993=_0x193cba;var _0x52b387;const _0x5c5b2c=[[_0x4088ae],[_0x22b596],[_0x3847fd],[_0x2ddc7c],[_0x88948a],[_0x37f838,{'useClass':_0x26e8c2}],[_0x141f63[_0x55d993(0x184)],{'useClass':_0x141f63[_0x55d993(0x2b9)]}],[_0x4f478b[_0x55d993(0x13f)],{'useClass':_0x20eb9f}],[_0x36c617[_0x55d993(0x2b1)]],[_0x1e0fd1],[_0x26b5d2],[_0x4ab17f],[_0x1896ae],[_0x36c617['CollaborationDataLoaderController']]];_0x386f4f[_0x55d993(0x1f8)](this[_0x55d993(0x183)],_0x386f4f[_0x55d993(0x349)](_0x5c5b2c,(_0x52b387=this[_0x55d993(0x111)])==null?void 0x0:_0x52b387[_0x55d993(0x25b)]));}[_0x193cba(0x172)](){const _0x24270a=_0x193cba;this[_0x24270a(0x258)](this[_0x24270a(0x26f)][_0x24270a(0x334)](_0x386f4f[_0x24270a(0x210)]['UNIVER_DOC'],[_0x5d3925])),this[_0x24270a(0x258)](this[_0x24270a(0x26f)]['registerRenderModule'](_0x386f4f[_0x24270a(0x210)][_0x24270a(0x2db)],[_0xaf506c]));}[_0x193cba(0x333)](){const _0xf59bd0=_0x193cba;_0x386f4f[_0xf59bd0(0x2dd)](this['_injector'],[[_0x4ab17f],[_0x36c617[_0xf59bd0(0x2b1)]],[_0x1e0fd1],[_0x26b5d2],[_0x36c617[_0xf59bd0(0x151)]]]);}},_0x59e53a(_0x36c617[_0x193cba(0x228)],_0x193cba(0x2b0),_0x535a3e),_0x36c617[_0x193cba(0x228)]=_0xe869f6([_0x386f4f[_0x193cba(0x220)](_0x4f478b[_0x193cba(0x105)]),_0x563ce1(0x1,_0x3cf560[_0x193cba(0x1e1)]),_0x563ce1(0x2,_0x386f4f['Inject'](_0x386f4f[_0x193cba(0x290)])),_0x563ce1(0x3,_0x386f4f[_0x193cba(0x197)])],_0x36c617['UniverCollaborationClientUIPlugin']);var _0x1e3e06=Object['getOwnPropertyDescriptor'],_0x20c81e=(_0x378ea2,_0x3134d7,_0x3b8703,_0x44c862)=>{const _0x20e81a=_0x193cba;for(var _0x5194a2=_0x44c862>0x1?void 0x0:_0x44c862?_0x1e3e06(_0x3134d7,_0x3b8703):_0x3134d7,_0x46e326=_0x378ea2[_0x20e81a(0x1da)]-0x1,_0x58d159;_0x46e326>=0x0;_0x46e326--)(_0x58d159=_0x378ea2[_0x46e326])&&(_0x5194a2=_0x58d159(_0x5194a2)||_0x5194a2);return _0x5194a2;},_0x51e597=(_0x2059f0,_0x290658)=>(_0x8c2d94,_0x4d0125)=>_0x290658(_0x8c2d94,_0x4d0125,_0x2059f0);_0x36c617[_0x193cba(0x27d)]=class extends _0x4f478b['CollaborationSocketService']{constructor(_0x13757b,_0x404fb1,_0x2c0d29,_0x51c8c1,_0x1f2114){super(_0x13757b,_0x404fb1,_0x2c0d29,_0x51c8c1,_0x1f2114);}async[_0x193cba(0x148)](_0x3bbfd1){const _0x183740=_0x193cba,_0x4ceaa3=await this['_getSessionTicket'](),_0xb4a96=this[_0x183740(0x194)](_0x3bbfd1,_0x4ceaa3);return this['_doCreateSocket'](_0xb4a96);}[_0x193cba(0x194)](_0x3e8d1d,_0x46ec37){const _0xfe681c=_0x193cba,_0x42f7c7=typeof window>'u'?new URL(_0x3e8d1d):new URL(_0x3e8d1d,window['location'][_0xfe681c(0x1fa)]);_0x42f7c7['searchParams'][_0xfe681c(0x15c)]('sessionTicket',_0x46ec37);const _0x1fb1e0=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xfe681c(0x275)][_0xfe681c(0x19d)]);return _0x1fb1e0[_0xfe681c(0x2e1)]('runId')&&_0x42f7c7[_0xfe681c(0x2fb)][_0xfe681c(0x15c)](_0xfe681c(0x1c9),_0x1fb1e0['get']('runId')),_0x42f7c7['toString']();}async['_getSessionTicket'](){const _0x3d968e=_0x193cba;var _0x1553fc,_0x4d1881,_0x22e680;const _0x425d1c=this['_configService'][_0x3d968e(0x23c)](_0x4f478b[_0x3d968e(0x277)]),_0x45229f=(_0x1553fc=_0x425d1c==null?void 0x0:_0x425d1c[_0x3d968e(0x2fe)])!=null?_0x1553fc:_0x4f478b['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x22e680=(_0x4d1881=(await this[_0x3d968e(0x118)]['get'](_0x45229f,{'headers':{'Content-Type':'application/json'}}))[_0x3d968e(0x13b)])==null?void 0x0:_0x4d1881[_0x3d968e(0x365)])!=null?_0x22e680:'';}},_0x36c617[_0x193cba(0x27d)]=_0x20c81e([_0x51e597(0x0,_0x386f4f['Inject'](_0x386f4f[_0x193cba(0x290)])),_0x51e597(0x1,_0x386f4f[_0x193cba(0x24d)](_0x141f63[_0x193cba(0x20b)])),_0x51e597(0x2,_0x386f4f['IConfigService']),_0x51e597(0x3,_0x386f4f[_0x193cba(0x20c)]),_0x51e597(0x4,_0x1d0381[_0x193cba(0x226)])],_0x36c617[_0x193cba(0x27d)]);const _0xf9f1a=0x7530,_0x10fec4='ACTIVE_UNIT_EVENT_CHANNEL';class _0x382029 extends _0x386f4f['Disposable']{constructor(){const _0x2672aa=_0x193cba;super(),_0x1faacb(this,_0x2672aa(0x367),_0x386f4f[_0x2672aa(0x108)]()),_0x1faacb(this,'_selfUnitIDs',new Set()),_0x1faacb(this,_0x2672aa(0x298),new Map()),_0x1faacb(this,'_heartbeatTimer',null),_0x1faacb(this,_0x2672aa(0x2c2),new Map()),_0x1faacb(this,_0x2672aa(0x287),new Map()),this[_0x2672aa(0x24f)]();}[_0x193cba(0x32f)](){const _0x4b19fb=_0x193cba;super['dispose'](),this[_0x4b19fb(0x2c2)][_0x4b19fb(0x2fc)]((_0x1efd58,_0xc2d36a)=>this[_0x4b19fb(0x23e)](_0xc2d36a)),this[_0x4b19fb(0x342)]&&window[_0x4b19fb(0x2d4)](this[_0x4b19fb(0x342)]);}[_0x193cba(0x250)](_0x563af1){const _0x1bb73b=_0x193cba;return this[_0x1bb73b(0x15b)](_0x563af1)[_0x1bb73b(0x143)](_0x4be4f6[_0x1bb73b(0x20f)]());}[_0x193cba(0x2bd)](_0x543b95){const _0x5f182f=_0x193cba;this[_0x5f182f(0x208)][_0x5f182f(0x36a)]===0x0&&this[_0x5f182f(0x28c)](),this[_0x5f182f(0x208)]['add'](_0x543b95),this[_0x5f182f(0x2e9)]({'type':0x0,'memberID':this[_0x5f182f(0x367)],'unitIDs':[_0x543b95],'isForwarded':!0x1});}['disposeUnit'](_0x2b3711){const _0x34e5d3=_0x193cba;this[_0x34e5d3(0x208)][_0x34e5d3(0x384)](_0x2b3711),this[_0x34e5d3(0x208)][_0x34e5d3(0x36a)]===0x0&&this['_heartbeatTimer']&&window[_0x34e5d3(0x2d4)](this['_heartbeatTimer']);}[_0x193cba(0x24f)](){const _0x10a7fc=_0x193cba;this['disposeWithMe'](_0x386f4f[_0x10a7fc(0x21c)](_0x4be4f6[_0x10a7fc(0x34c)](window,_0x10a7fc(0x231))[_0x10a7fc(0x274)](_0x433b2a=>{const _0x3d005d=_0x10a7fc;if(_0x433b2a[_0x3d005d(0x2e6)]!==_0x10fec4||!_0x433b2a[_0x3d005d(0x134)])return;const _0x2e6972=JSON[_0x3d005d(0x16a)](_0x433b2a[_0x3d005d(0x134)]);this[_0x3d005d(0x14d)](_0x2e6972);}))),window[_0x10a7fc(0x1cf)](_0x10a7fc(0x280),()=>this['_send']({'type':0x1,'memberID':this[_0x10a7fc(0x367)],'unitIDs':Array[_0x10a7fc(0x372)](this['_selfUnitIDs'])}));}[_0x193cba(0x14d)](_0x5995cc){const _0x5d9ea9=_0x193cba;switch(_0x5995cc[_0x5d9ea9(0x1f0)]){case 0x0:this['_handleJoinEvent'](_0x5995cc);break;case 0x1:this[_0x5d9ea9(0x260)](_0x5995cc);break;case 0x2:this['_handleHeartbeatEvent'](_0x5995cc);break;}}[_0x193cba(0x399)](_0x10c805){const _0x5f212e=_0x193cba,{unitIDs:_0x235197,memberID:_0x920dc,isForwarded:_0x9196a}=_0x10c805;_0x235197[_0x5f212e(0x2fc)](_0x5cc76f=>{const _0x10231f=_0x5f212e;if(!_0x9196a&&this[_0x10231f(0x298)]['has'](_0x5cc76f)&&this[_0x10231f(0x15b)](_0x5cc76f)[_0x10231f(0x37b)](_0x4f478b[_0x10231f(0x1a7)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients']['has'](_0x5cc76f)||!this[_0x10231f(0x298)][_0x10231f(0x2e1)](_0x5cc76f)[_0x10231f(0x25c)](_0x920dc)){const _0x53b13e=this[_0x10231f(0x298)][_0x10231f(0x2e1)](_0x5cc76f)||new Set();_0x53b13e[_0x10231f(0x23f)](_0x920dc),this[_0x10231f(0x298)]['set'](_0x5cc76f,_0x53b13e),this['_scheduleClearOtherTimer'](_0x920dc);}}),_0x9196a||this[_0x5f212e(0x2e9)]({'type':0x0,'memberID':this[_0x5f212e(0x367)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x193cba(0x12a)](_0x3823e4){const _0x1419b8=_0x193cba;this[_0x1419b8(0x23e)](_0x3823e4);const _0x3bad1b=window[_0x1419b8(0x38c)](()=>{const _0x296320=_0x1419b8;this[_0x296320(0x298)]['forEach'](_0xd79f93=>{_0xd79f93['delete'](_0x3823e4);});},_0xf9f1a*0x2);this['_clearOtherTimers'][_0x1419b8(0x15c)](_0x3823e4,_0x3bad1b);}[_0x193cba(0x23e)](_0x4e7841){const _0x120e4f=_0x193cba;if(this[_0x120e4f(0x2c2)][_0x120e4f(0x25c)](_0x4e7841)){const _0x44f46f=this[_0x120e4f(0x2c2)][_0x120e4f(0x2e1)](_0x4e7841);_0x44f46f&&window[_0x120e4f(0x30e)](_0x44f46f),this[_0x120e4f(0x2c2)][_0x120e4f(0x15c)](_0x4e7841,null);}}[_0x193cba(0x260)](_0xb7e19b){const _0x570b67=_0x193cba,{memberID:_0x5aca1c,unitIDs:_0x5ae24d}=_0xb7e19b;_0x5ae24d[_0x570b67(0x2fc)](_0x3028d9=>{const _0xcd6fa8=_0x570b67;var _0xdc4313;const _0x3ef52b=this['_unitOnClients'][_0xcd6fa8(0x2e1)](_0x3028d9);_0x3ef52b&&(_0x3ef52b['delete'](_0x5aca1c),(_0xdc4313=this['_ensureSubject'](_0x3028d9))==null||_0xdc4313[_0xcd6fa8(0x37b)](_0x3ef52b[_0xcd6fa8(0x36a)]===0x0?_0x4f478b['UnitStatus'][_0xcd6fa8(0x1e3)]:_0x4f478b[_0xcd6fa8(0x1a7)][_0xcd6fa8(0x2da)]));}),this[_0x570b67(0x23e)](_0x5aca1c);}[_0x193cba(0x270)](_0x7de949){this['_scheduleClearOtherTimer'](_0x7de949['memberID']);}[_0x193cba(0x2e9)](_0x502f05){const _0x5980b7=_0x193cba;localStorage[_0x5980b7(0x1d6)](_0x10fec4,JSON[_0x5980b7(0x2a6)](_0x502f05));}[_0x193cba(0x28c)](){const _0x46c2ac=_0x193cba;this['_heartbeatTimer']=window[_0x46c2ac(0x240)](()=>{const _0x5cecbb=_0x46c2ac;this[_0x5cecbb(0x2e9)]({'type':0x2,'memberID':this['_id']});},_0xf9f1a);}[_0x193cba(0x15b)](_0x545243){const _0x4d399f=_0x193cba;return this[_0x4d399f(0x287)][_0x4d399f(0x25c)](_0x545243)||this['_unitStatus']['set'](_0x545243,new _0x4be4f6['BehaviorSubject'](_0x4f478b['UnitStatus'][_0x4d399f(0x1e3)])),this[_0x4d399f(0x287)]['get'](_0x545243);}}var _0x2cacf3=(_0x2591a8=>(_0x2591a8[_0x2591a8[_0x193cba(0x2f9)]=0x0]='UNDEFINED',_0x2591a8[_0x2591a8['OK']=0x1]='OK',_0x2591a8[_0x2591a8[_0x193cba(0x1ee)]=0x2]=_0x193cba(0x1ee),_0x2591a8[_0x2591a8[_0x193cba(0x309)]=0x3]='PERMISSION_DENIED',_0x2591a8[_0x2591a8[_0x193cba(0x10a)]=0x4]='NOT_FOUND',_0x2591a8[_0x2591a8['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x2591a8[_0x2591a8[_0x193cba(0x17e)]=0x6]=_0x193cba(0x17e),_0x2591a8[_0x2591a8[_0x193cba(0x126)]=0x7]=_0x193cba(0x126),_0x2591a8[_0x2591a8[_0x193cba(0x1bf)]=0x8]=_0x193cba(0x1bf),_0x2591a8[_0x2591a8[_0x193cba(0x2a4)]=0x9]=_0x193cba(0x2a4),_0x2591a8[_0x2591a8[_0x193cba(0x2d7)]=0xa]=_0x193cba(0x2d7),_0x2591a8[_0x2591a8[_0x193cba(0x238)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2591a8[_0x2591a8[_0x193cba(0x2de)]=0x1771]=_0x193cba(0x2de),_0x2591a8[_0x2591a8[_0x193cba(0x33e)]=0x1772]=_0x193cba(0x33e),_0x2591a8[_0x2591a8[_0x193cba(0x286)]=0x1773]=_0x193cba(0x286),_0x2591a8[_0x2591a8[_0x193cba(0x311)]=0x1b59]=_0x193cba(0x311),_0x2591a8[_0x2591a8['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x193cba(0x338),_0x2591a8[_0x2591a8[_0x193cba(0x120)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2591a8[_0x2591a8[_0x193cba(0x11d)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2591a8[_0x2591a8[_0x193cba(0x1d7)]=0x1b5d]=_0x193cba(0x1d7),_0x2591a8[_0x2591a8['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x2591a8[_0x2591a8[_0x193cba(0x25a)]=0x2329]=_0x193cba(0x25a),_0x2591a8[_0x2591a8['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x193cba(0x268),_0x2591a8[_0x2591a8[_0x193cba(0x19e)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2591a8[_0x2591a8[_0x193cba(0x385)]=0x232c]=_0x193cba(0x385),_0x2591a8[_0x2591a8[_0x193cba(0x18e)]=0x232d]=_0x193cba(0x18e),_0x2591a8[_0x2591a8[_0x193cba(0x113)]=0x2711]=_0x193cba(0x113),_0x2591a8[_0x2591a8[_0x193cba(0x241)]=0x2712]=_0x193cba(0x241),_0x2591a8[_0x2591a8[_0x193cba(0x1bc)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2591a8[_0x2591a8[_0x193cba(0x29c)]=0x2714]=_0x193cba(0x29c),_0x2591a8[_0x2591a8['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x193cba(0x186),_0x2591a8[_0x2591a8[_0x193cba(0x2f7)]=0x271b]=_0x193cba(0x2f7),_0x2591a8[_0x2591a8[_0x193cba(0x1d3)]=0x2af9]=_0x193cba(0x1d3),_0x2591a8[_0x2591a8[_0x193cba(0x314)]=0x2ee1]=_0x193cba(0x314),_0x2591a8[_0x2591a8[_0x193cba(0x319)]=0x2ee2]=_0x193cba(0x319),_0x2591a8[_0x2591a8[_0x193cba(0x3a3)]=0x2ee3]=_0x193cba(0x3a3),_0x2591a8[_0x2591a8['USER_NOT_INVITED_CODE']=0x2ee4]=_0x193cba(0x18f),_0x2591a8[_0x2591a8[_0x193cba(0x26a)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x2591a8[_0x2591a8['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x193cba(0x295),_0x2591a8[_0x2591a8[_0x193cba(0x155)]=0x32ca]=_0x193cba(0x155),_0x2591a8[_0x2591a8[_0x193cba(0x1ad)]=0x32cb]=_0x193cba(0x1ad),_0x2591a8[_0x2591a8[_0x193cba(0x27b)]=-0x1]=_0x193cba(0x27b),_0x2591a8))(_0x2cacf3||{}),_0x38f141=Object['getOwnPropertyDescriptor'],_0x4aeb36=(_0x28cae2,_0xd20fd,_0x30fe59,_0x536033)=>{const _0x46e041=_0x193cba;for(var _0x893f86=_0x536033>0x1?void 0x0:_0x536033?_0x38f141(_0xd20fd,_0x30fe59):_0xd20fd,_0x30c35d=_0x28cae2[_0x46e041(0x1da)]-0x1,_0x548504;_0x30c35d>=0x0;_0x30c35d--)(_0x548504=_0x28cae2[_0x30c35d])&&(_0x893f86=_0x548504(_0x893f86)||_0x893f86);return _0x893f86;},_0x33ef30=(_0x1938d0,_0x753e69)=>(_0xdf2ef,_0x227ab6)=>_0x753e69(_0xdf2ef,_0x227ab6,_0x1938d0);_0x36c617[_0x193cba(0x31f)]=class extends _0x386f4f[_0x193cba(0x164)]{constructor(_0x45eea2,_0x4631ae,_0x17d82c){const _0x4dad73=_0x193cba;super(),this['_instanceService']=_0x45eea2,this['_httpService']=_0x4631ae,this[_0x4dad73(0x2a8)]=_0x17d82c;}async[_0x193cba(0x341)](_0x1f8f68,_0x3e4365,_0x438151,..._0x8b0596){const _0x2cdd40=_0x193cba;var _0x4588e6,_0x48735f,_0x4ca680,_0x6cd225;const _0x40a2e7=this[_0x2cdd40(0x339)]['getFocusedUnit']();if(!_0x40a2e7)throw new Error(_0x2cdd40(0x252));const _0x4950e1=((_0x4588e6=this[_0x2cdd40(0x2a8)][_0x2cdd40(0x23c)](_0x4f478b[_0x2cdd40(0x386)]))!=null?_0x4588e6:_0x4f478b[_0x2cdd40(0x1f3)])+'/'+_0x1f8f68+_0x2cdd40(0x398)+_0x3e4365,_0x22eab4=new URL(window[_0x2cdd40(0x275)][_0x2cdd40(0x1f7)]),_0x2f811f={'scriptId':_0x1f8f68,'runId':(_0x48735f=_0x22eab4[_0x2cdd40(0x2fb)][_0x2cdd40(0x2e1)](_0x2cdd40(0x1c9)))!=null?_0x48735f:'','function':_0x3e4365,'unitId':_0x40a2e7[_0x2cdd40(0x33d)](),'argsOfFunction':JSON['stringify'](_0x8b0596),'invokeId':(_0x4ca680=_0x438151[_0x2cdd40(0x1d0)])!=null?_0x4ca680:'','executionId':(_0x6cd225=_0x438151[_0x2cdd40(0x218)])!=null?_0x6cd225:''};try{const _0x477ab9=await this[_0x2cdd40(0x118)][_0x2cdd40(0x22a)](_0x4950e1,{'body':_0x2f811f});return _0x477ab9[_0x2cdd40(0x13b)][_0x2cdd40(0x282)]&&_0x477ab9[_0x2cdd40(0x13b)][_0x2cdd40(0x282)][_0x2cdd40(0x191)]!==_0x2cacf3['OK']?'Failed':_0x477ab9[_0x2cdd40(0x13b)][_0x2cdd40(0x117)];}catch{return _0x2cdd40(0x136);}}},_0x36c617[_0x193cba(0x31f)]=_0x4aeb36([_0x33ef30(0x0,_0x386f4f['IUniverInstanceService']),_0x33ef30(0x1,_0x386f4f['Inject'](_0x141f63[_0x193cba(0x20b)])),_0x33ef30(0x2,_0x386f4f['IConfigService'])],_0x36c617['RemoteUniscriptService']),_0x36c617['CollaborationStatusDisplay']=_0x2ab981,_0x36c617['IURLService']=_0x37f838,_0x36c617[_0x193cba(0x2f6)]=_0x2b71a4,_0x36c617[_0x193cba(0x29e)]=_0x382029,_0x36c617[_0x193cba(0x39c)]=_0x26e8c2,Object[_0x193cba(0x1b7)](_0x36c617,Symbol[_0x193cba(0x38e)],{'value':_0x193cba(0x37e)});}));function _0x43e1(_0xce79b0,_0x23e083){const _0x5858ed=_0x5858();return _0x43e1=function(_0x43e130,_0x32740c){_0x43e130=_0x43e130-0x105;let _0x2af6c8=_0x5858ed[_0x43e130];return _0x2af6c8;},_0x43e1(_0xce79b0,_0x23e083);}function _0x5858(){const _0x316d8f=['toString','m2Prime','dispose','on-line-single_clip0_910_349','IImageIoService','_textBubble','_initDependencies','registerRenderModule','getUniverSheetInstance','createIdentifier','_getSaveTimeout','APPLY_NON_SEQUENTIAL_REVISION','_instanceService','clipPath','mask','icon','getUnitId','SNAPSHOT_HAS_BEEN_REMOVED','session.collaboration-timeout','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','runOnServer','_heartbeatTimer','_registerDependencies','transformRemoteChangeset','CollaborationUIEventId','save','fillRule','addClipboardHook','mergeOverrideWithDependencies','whenReady','labelPosition','fromEvent','_cursorShapes','onPointerMove$','top','height','Unknown\x20user','CollaborationUIEventService','collaboration-client-ui.config','urlChange$','collab-rect-range-','hovered','saveOfflineData','collabStatus.notCollab','_getSheetObject','Workbook','_dataLoaderService','flatMap','RichTextEditingMutation','jsx','AWAITING','history','object','docStateChange$','Plugin','@univerjs/ui','ticket','idSuffix','_id','_scheduleSaving','getMergeData','size','red300','2884160rpGscw','requireSession','onStarting','map','...','UPDATE_CURSOR','from','complete','text','amd','className','connectInjector','DOC_RANGE_TYPE','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_status$','next','triggerDblclick','_range','Module','M0\x200H16V16H0z','_hover','DocStateChangeManagerService','getCollabEntity$','_context','delete','LICENSE_EXPORT_SIZE_EXCEEDED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','1314753Yervin','off-line-single_clip0_910_343','fromEventSubject','useDependency','_beforeCloseService','setTimeout','forwardRef','toStringTag','getActiveSheet','pushState','SetWorksheetActivateCommand','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','entityInit$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','transformIMECache','gold400','_hovered','/run/','_handleJoinEvent','transformByState','off-line-single','WebURLService','collabStatus.offline','@univerjs/docs-ui','throttleTime','_docStateChangeManagerService','restore','INotificationService','INVITE_CODE_REQUIRED','addObjects','online','OffLineSingle','_disabled','_localStorageService','UniverCollaborationClientPlugin','getCurrentRevOfUnit','univer-online','generateRandomId','_localCacheService','NOT_FOUND','VIEW_MAIN','OFFLINE','concat','replace','fillText','div','_config','_lastPointer','YUUMI_UNABLE_LOAD_URL','offline','combineLatest','UniverRpc','result','_httpService','call','transformMutation','_transformHistoryAndStateStack','_refreshCollabCursors','APPLY_PERMISSION_DENIED','_roomMembers$','UniverCore','APPLY_REVISION_CONFILICT','Vector2','IRemoteInstanceService','SetTextSelectionsOperation','values','MessageType','INVALID_ARGUMENT','setStateCache','collabCursorState$','filter','_scheduleClearOtherTimer','_updateCollabCursors','_name','CollaborationStatus','ranges','UniverIcon','SessionStatus','useObservable','@univerjs-pro/collaboration-client','width','newValue','startsWith','Failed','some','_render','_hideTimer','transformSelections','body','handleInsertCol','LOCAL_CACHE_INTERVAL_KEY','isActive','ILocalCacheService','row','UniverSheetsUi','cursorInfo','pipe','_transformPreviousActiveRange','roomMembers','mutations','ThemeService','createSocket','IMessageService','SheetSkeletonManagerService','LocaleService','session.connection-failed','_handleEvent','@univerjs/docs','getRelativeToViewportCoord','colorChannel1','CollaborationDataLoaderController','transformStateCache','shareReplay','contains','MOBILE_HAS_BEEN_BOUND','_color','ITransformService','_docTransformStateCacheService','syncEditingCollabCursor','MemberService','_ensureSubject','set','_collabCursorState$','_shapes','_anchor','column','18LxMLmt','unitId','RevisionService','Disposable','0\x200\x2016\x2016','debounceTime','setActiveRange','_drawAnchor','roomMembers$','parse','defIds','_notificationService','_online','handleInsertRangeMoveDown','getColor','mapTo','CommandType','_registerRenderDependencies','_startDocCollabCursor','collab-text-anchor-','_docSyncEditingCollabCursorService','_cursors','DocCollaborationEntity','clsx','propertyIsEnumerable','_assignedColors','cursorInfo$','TEXT_RANGE_LAYER_INDEX','apply','ALREADY_EXISTS','_getAnchorBounding','SYNCED','onlineStatusIcon','_transformService','_injector','ISocketService','enableLocalCache','YUUMI_NO_CUBOID_FOR_QUESTION','defs','min','prototype','fill','UniverProCollaboration','hasOwnProperty','substring','LICENSE_DISTRO_REJECTED','USER_NOT_INVITED_CODE','_updateSubUnitFromURLParams','code','init','hide','_createSocketURL','_urlService','Tools','IConfigService','_getMergeRange','_updateLocalCursor','@univerjs/engine-render','JOIN_ROOM_FAILED','endColumn','search','LICENSE_IMPORT_SIZE_EXCEEDED','getRenderById','RegularPolygon','color','transform','getFocusedUnit','1em','then','PENDING','UnitStatus','operators','setParam','rxjs','LOCAL_CACHE_INTERVAL','_collaborationController','EMAIL_HAS_BEEN_BOUND','Rect','_memberService','getCurrentSelections','_onCursorDelete','subunit','children','onPointerEnter$','replaceDocRanges','UniverDrawing','defineProperty','session.will-retry','_removeCollabCursors','NodePositionConvertToCursor','DocIMEInputManagerService','YUUMI_RATE_OVER_LIMIT','currentTheme$','isArray','TOO_MANY_REQUESTS','_labelPosition','AWAITING_WITH_PENDING','collabStatus.synced','translate(.97)','redoState','getAncestorScale','_getScale','getActiveRange','blue400','runId','purple300','registerRefRange','OTHER_CLIENT_EDITING','getSkeleton','rxjs/operators','addEventListener','invokeId','_onRefRangeChange','_refRangeService','PY_RUNTIME_SCRIPT_ERROR','serializeRangeWithSheet','handleIRemoveCol','setItem','APPLY_DUPLICATED','univer-offline','Optional','length','_initCommandExecutedListener','HEADER_MENU','CLOSE_ROOM','EffectRefRangId','displayName','_collaborationUIEventService','IRenderManagerService','jiqing500','NO_OTHER_CLIENTS_EDITING','_sheetSkeletonManagerService','_logService','engine','IUIPartsService','_initEntityListener','InsertRangeMoveDownCommandId','CONFLICT','1575985NeQejX','_updateURLWithCurrentState','getVpScrollXYInfoByPosToVp','INTERNAL_ERROR','_messageService','type','collabStatus.syncing','switchMap','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','onlineStatusTitle','_univerInstanceService','currentSkeleton$','href','registerDependencies','@univerjs/engine-formula','origin','backgroundColor','_entityInit$','_entities','getTypeOfUnitDisposed$','saveTaskMap','univer-online-status-icon','MUTATION','Subject','endRow','RemoveRowCommandId','getCurrentUnitForType','getUnhiddenWorksheets','SheetsSelectionsService','_selfUnitIDs','m1Prime','sessionStatus$','HTTPService','ILogService','[CollaborationDataLoaderController]','univer-online-status','distinctUntilChanged','UniverInstanceType','_document','handleInsertRangeMoveRight','_anchorDot','symbol','jsxs','FromArray','collabStatus.fetchMiss','executionId','getCoordByCell','getSheetObject','debounce','toDisposable','focused$','getSheetBySheetId','SetDocZoomRatioOperation','DependentOn','3754430OOGBIk','InsertRowCommandId','getSheetId','RemoveColCommandId','Tooltip','ISnapshotServerService','on-line-single','UniverCollaborationClientUIPlugin','921666BZHVep','post','_drawRectRange','dispose$','1473048JhhfKz','UNIVER_DOC','isTransformMutationsWithChangesetSuccess','Rectangle','storage','exports','_themeService','path','string','_handleHover','DisposableCollection','CHANGESET_REVISION_CONFILICT','_colorIndex','collaboration-client.offline-data-not-saved','assign','getConfig','collabStatus.conflict','_removeClearOtherTimer','add','setInterval','YUUMI_URL_COL_OUT_OF_RANGE','loadOfflineData','_transformUndoRedoStack','DeleteRangeMoveUpCommandId','black','_docTransformIMECacheService','selection','_docSkeletonManagerService','getOwnPropertySymbols','_revisionService','startRow','ICommandService','Inject','ColorKit','_init','getUnitStatus$','find','[RemoteUniscriptService]:\x20no\x20focused\x20unit','function','unshift','@univerjs/design','NodePositionConvertToRectRange','params','disposeWithMe','addObject','LICENSE_MAX_UNITS_EXCEEDED','override','has','attrs','drawWith','fillStyle','_handleLeaveEvent','loadUnit','UniverNetwork','_session','subUnitId','UniverDocsUi','_toggleOnline','_saveCache','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','all','INVITE_CODE_ALREADY_BOUND','name','getMemberID','_initStatusComponent','_eventUnsubscribe','_renderManagerService','_handleHeartbeatEvent','DataLoaderService','onPointerLeave$','getCellPositionByOffset','subscribe','location','exhaustSavingTask','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','InsertColCommandId','range','CollaborationController','UNRECOGNIZED','SUBMIT_CHANGESET_TIMEOUT','BrowserCollaborationSocketService','React','getCollabCursors$','unload','rgba(255,\x20255,\x20255,\x200.01)','error','setConfig','show','getDocRanges','ENSURE_SNAPSHOT_EXECUTION','_unitStatus','_saveTaskMap','@univerjs/sheets-ui','getUndoRedoMutationParamsCache','url(#off-line-single_clip0_910_343)','_scheduleHeartbeat','setAlpha','getParam','getValue','Injector','UniverDocs','handleInsertRow','@univerjs/sheets','Warning','WECHAT_HAS_BEEN_BOUND','evenodd','createElement','_unitOnClients','_uiPartsService','setUndoRedoMutationParamsCache','_draw','YUUMI_SUBSCRIPTION_NOT_FOUND','doc.mutation.rich-text-editing','WebBrowserSingleActiveUnitService','extend','_backgroundColor','_cachedData','_docTransformSelectionsService','unsubscribe','COMPLETION_FINISHED','debug','stringify','getRangePointData','_configService','react/jsx-runtime','svg','_localeService','permission.title','makeDirty','round','currentColor','pluginName','DesktopCollaborationStatusDisplayController','getItem','BehaviorSubject','CollaborationEvent','_drawTextRange','@univerjs/rpc','unit','_startSheetCollabCursor','WebSocketService','getStateCache','onMouseMove','subscribeEvent','editingUnit','push','indexOf','_colorAssignService','@univerjs/drawing','_clearOtherTimers','textRanges','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','Error','xlink:href','univer-online-status-title','bottom','_docClipboardService','closePath','data','toRgbString','deepClone','IUniverInstanceService','12ozqxid','@univerjs-pro/collaboration','_scene','popstate','COLORS','clearInterval','getOwnPropertyDescriptor','setShapeProps','LOGIN_FAILED','_collabSessionService','getTypeOfUnitAdded$','OTHER_CLIENTS_EDITING','UNIVER_SHEET','@univerjs/network','touchDependencies','SNAPSHOT_INVALID_SNAPSHOT','_cursor','trim','get','2OwEWNk','none','measureText','getMember','key','_cursorInfo$','getViewport','_send','onCommandExecuted','0\x200\x2017\x2016','SHEET_VIEWPORT_KEY','ONLINE','USERS_LEAVE','split','SetSelectionsOperation','_collabCursorController','lineTo','imageSourceType','_commandService','reconnect','SheetCollabCursorShape','YUUMI_ASYNCIO_CANCELLED','source','UNDEFINED','react','searchParams','forEach','url(#$1','wsSessionTicketUrl','NOT_COLLAB','entries','undoState','findNodePositionByCharIndex','isTransformMutationFailure','event$','startColumn','max','Shape','assignAColorForMemberID','PERMISSION_DENIED','_initResize','getOffsetConfig','collaboration.closeRoom','_onCursorUpdate','clearTimeout','takeUntil','unitID','APPLY_REJECT','send','_syncEditingCollabCursorService','INVITE_CODE_HAS_BEEN_UES','CollaborationSessionService','_docSkeleton','beginPath','BuiltInUIPart','INVALID_INVITE_CODE','saveImage','with','RefRangeService','_toggleOffline','_setupSubUnitSync','RemoteUniscriptService','RxDisposable','@univerjs/core','asObservable','url(#on-line-single_clip0_910_349)','updateOfflineData','useCallback','852544CNIeFz','IBeforeCloseService','FETCH_MISS','arc','merge','tag','UniverSheets'];_0x5858=function(){return _0x316d8f;};return _0x5858();}
|
|
1
|
+
function _0x366c(_0x4fde69,_0x1b6c02){const _0x5079fd=_0x5079();return _0x366c=function(_0x366c0d,_0x1d302f){_0x366c0d=_0x366c0d-0xbc;let _0x4d578d=_0x5079fd[_0x366c0d];return _0x4d578d;},_0x366c(_0x4fde69,_0x1b6c02);}(function(_0x17268a,_0x568b9b){const _0x4a3b3b=_0x366c,_0x3877f5=_0x17268a();while(!![]){try{const _0x5979b6=parseInt(_0x4a3b3b(0x213))/0x1+parseInt(_0x4a3b3b(0x163))/0x2+-parseInt(_0x4a3b3b(0x2e5))/0x3+parseInt(_0x4a3b3b(0x1dc))/0x4+parseInt(_0x4a3b3b(0x16e))/0x5+-parseInt(_0x4a3b3b(0x179))/0x6*(parseInt(_0x4a3b3b(0x227))/0x7)+-parseInt(_0x4a3b3b(0xc4))/0x8;if(_0x5979b6===_0x568b9b)break;else _0x3877f5['push'](_0x3877f5['shift']());}catch(_0x55ed14){_0x3877f5['push'](_0x3877f5['shift']());}}}(_0x5079,0x541a8),function(_0x162c8a,_0x782cba){const _0x23885b=_0x366c;typeof exports==_0x23885b(0x128)&&typeof module<'u'?_0x782cba(exports,require(_0x23885b(0x21a)),require(_0x23885b(0x28d)),require(_0x23885b(0x196)),require(_0x23885b(0xbe)),require(_0x23885b(0x174)),require(_0x23885b(0x314)),require(_0x23885b(0x1f7)),require('@univerjs/docs'),require('@univerjs-pro/collaboration'),require(_0x23885b(0x349)),require(_0x23885b(0x1e1)),require(_0x23885b(0x288)),require(_0x23885b(0xf2)),require(_0x23885b(0x2c7)),require(_0x23885b(0x27e)),require(_0x23885b(0x12f)),require('react'),require(_0x23885b(0x192))):typeof define==_0x23885b(0x29f)&&define[_0x23885b(0x1a3)]?define([_0x23885b(0x295),'@univerjs-pro/collaboration-client',_0x23885b(0x28d),_0x23885b(0x196),_0x23885b(0xbe),'@univerjs/docs-ui',_0x23885b(0x314),'rxjs',_0x23885b(0x30c),_0x23885b(0x189),_0x23885b(0x349),_0x23885b(0x1e1),_0x23885b(0x288),'@univerjs/sheets-ui',_0x23885b(0x2c7),_0x23885b(0x27e),'@univerjs/design','react',_0x23885b(0x192)],_0x782cba):(_0x162c8a=typeof globalThis<'u'?globalThis:_0x162c8a||self,_0x782cba(_0x162c8a[_0x23885b(0x13e)]={},_0x162c8a['UniverProCollaborationClient'],_0x162c8a[_0x23885b(0x10d)],_0x162c8a[_0x23885b(0xd6)],_0x162c8a[_0x23885b(0x302)],_0x162c8a[_0x23885b(0x26b)],_0x162c8a[_0x23885b(0x162)],_0x162c8a[_0x23885b(0x1f7)],_0x162c8a[_0x23885b(0x249)],_0x162c8a[_0x23885b(0x143)],_0x162c8a[_0x23885b(0x274)],_0x162c8a[_0x23885b(0x1eb)],_0x162c8a['rxjs'][_0x23885b(0x31a)],_0x162c8a[_0x23885b(0x17a)],_0x162c8a[_0x23885b(0x183)],_0x162c8a[_0x23885b(0x1d2)],_0x162c8a['UniverDesign'],_0x162c8a[_0x23885b(0x183)],_0x162c8a[_0x23885b(0x252)]));}(this,function(_0x24e36d,_0x52f34c,_0x4b6906,_0xa2dea1,_0x4aa660,_0x4142bf,_0x3d1d74,_0x596bb7,_0x3c6c88,_0x5873f4,_0x3cd16e,_0x5de2fa,_0x46ce86,_0x145de3,_0x2d1486,_0x30ed06,_0x913b08,_0x2fa141,_0x221cf2){'use strict';const _0x3249e4=_0x366c;var _0x5d6252=Object[_0x3249e4(0x2dc)],_0x1bf00d=(_0x1f70b0,_0x238f5c,_0x40cc5f)=>_0x238f5c in _0x1f70b0?_0x5d6252(_0x1f70b0,_0x238f5c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x40cc5f}):_0x1f70b0[_0x238f5c]=_0x40cc5f,_0x202b34=(_0x516666,_0x4373d6,_0x19db78)=>_0x1bf00d(_0x516666,typeof _0x4373d6!='symbol'?_0x4373d6+'':_0x4373d6,_0x19db78),_0x4aad17=Object[_0x3249e4(0x16f)],_0x3cfd59=(_0x5a1d19,_0x243334,_0x22253c,_0x1a7ddb)=>{const _0x383fbd=_0x3249e4;for(var _0x4f2333=_0x1a7ddb>0x1?void 0x0:_0x1a7ddb?_0x4aad17(_0x243334,_0x22253c):_0x243334,_0x386a5e=_0x5a1d19[_0x383fbd(0x10a)]-0x1,_0x5da83b;_0x386a5e>=0x0;_0x386a5e--)(_0x5da83b=_0x5a1d19[_0x386a5e])&&(_0x4f2333=_0x5da83b(_0x4f2333)||_0x4f2333);return _0x4f2333;},_0x1701a8=(_0x221e84,_0x2bf34c)=>(_0x57ab19,_0xbd091c)=>_0x2bf34c(_0x57ab19,_0xbd091c,_0x221e84);let _0x3897f7=class extends _0x4b6906[_0x3249e4(0x304)]{constructor(_0x5a0ef3,_0x5273bf){const _0x3c8806=_0x3249e4;super(),this[_0x3c8806(0x262)]=_0x5a0ef3,this['_imageIoService']=_0x5273bf,this[_0x3c8806(0x1c4)]();}[_0x3249e4(0x1c4)](){const _0xe26b8c=_0x3249e4,_0x382ca3=this;this[_0xe26b8c(0x2a0)](this[_0xe26b8c(0x262)][_0xe26b8c(0x34c)]({'onBeforePasteImage':async _0x429f1b=>{const _0x55c157=_0xe26b8c,_0x370ff=await _0x382ca3['_imageIoService'][_0x55c157(0x347)](_0x429f1b);return _0x370ff?{'source':_0x370ff[_0x55c157(0x34a)],'imageSourceType':_0x370ff['imageSourceType']}:null;}}));}};_0x3897f7=_0x3cfd59([_0x1701a8(0x0,_0x4142bf[_0x3249e4(0x1d7)]),_0x1701a8(0x1,_0x3d1d74['IImageIoService'])],_0x3897f7);const _0x4424f6=[_0x3249e4(0x108),_0x3249e4(0x105),_0x3249e4(0x1b7),_0x3249e4(0x229),_0x3249e4(0x142),_0x3249e4(0x320)];class _0x1111e6 extends _0x4b6906[_0x3249e4(0x2e6)]{constructor(){const _0x5f516b=_0x3249e4;super(...arguments),_0x202b34(this,_0x5f516b(0x118),new Map()),_0x202b34(this,_0x5f516b(0x1ee),0x0);}[_0x3249e4(0x269)](_0x26e37a){const _0x9ed706=_0x3249e4;if(this[_0x9ed706(0x118)]['has'](_0x26e37a))return this[_0x9ed706(0x118)][_0x9ed706(0x14a)](_0x26e37a);const _0x33933e=_0x4424f6[this['_colorIndex']];return this[_0x9ed706(0x1ee)]=(this[_0x9ed706(0x1ee)]+0x1)%_0x4424f6[_0x9ed706(0x10a)],this[_0x9ed706(0x118)]['set'](_0x26e37a,_0x33933e),_0x33933e;}}function _0x5a38b5(_0x2a954b){const _0x3790c9=_0x3249e4;let _0x5d7d20='';for(const _0x10f858 of _0x2a954b){const {startOffset:_0x366725,endOffset:_0x5da5f2,isActive:_0x19e8f7,rangeType:_0x354900,segmentId:_0xaeff10,segmentPage:_0x1fcbd2}=_0x10f858;_0x5d7d20[_0x3790c9(0x10a)]&&(_0x5d7d20+=','),_0x5d7d20+=_0x366725+':'+_0x5da5f2+':'+(_0x19e8f7?'1':'0')+':'+_0x354900+':'+_0xaeff10+':'+_0x1fcbd2;}return _0x5d7d20;}function _0x26bfe6(_0x380b4e){const _0x5a0ba7=_0x3249e4,_0x2aa5b0=_0x380b4e[_0x5a0ba7(0x28b)](','),_0x1e4990=[];for(const _0x5f15df of _0x2aa5b0){const [_0x3c5e8e,_0x1d6baa,_0x53a6ca,_0x48a2d8,_0x4515d3,_0x517728]=_0x5f15df[_0x5a0ba7(0x28b)](':');_0x1e4990[_0x5a0ba7(0xfa)]({'startOffset':Number(_0x3c5e8e),'endOffset':Number(_0x1d6baa),'collapsed':_0x3c5e8e===_0x1d6baa,'isActive':_0x53a6ca==='1','rangeType':_0x48a2d8===_0x4b6906[_0x5a0ba7(0x26f)]['TEXT']?_0x4b6906[_0x5a0ba7(0x26f)][_0x5a0ba7(0x2c0)]:_0x4b6906[_0x5a0ba7(0x26f)]['RECT'],'segmentId':typeof _0x4515d3==_0x5a0ba7(0x110)?String(_0x4515d3):'','segmentPage':Number(_0x517728!=null?_0x517728:-0x1)});}return _0x1e4990['some'](_0x583b5a=>_0x583b5a[_0x5a0ba7(0x13a)])||(_0x1e4990[0x0][_0x5a0ba7(0x13a)]=!0x0),_0x1e4990;}class _0x3ac6b6 extends _0x4b6906[_0x3249e4(0x304)]{constructor(){const _0x15a3b4=_0x3249e4;super(...arguments),_0x202b34(this,_0x15a3b4(0x35d),new _0x596bb7[(_0x15a3b4(0x2db))](null)),_0x202b34(this,_0x15a3b4(0x1d0),this['_collabCursorState$']['asObservable']());}[_0x3249e4(0x2cc)](_0x3b74dd){const _0xc5d7bb=_0x3249e4,{unitID:_0x14f839,memberID:_0x5540d2,textRanges:_0x34f460}=_0x3b74dd,_0x29d84a=_0x5a38b5(_0x34f460);if(_0x29d84a==='')return;const _0x4fb08c={'unitID':_0x14f839,'memberID':_0x5540d2,'selection':_0x29d84a};this[_0xc5d7bb(0x35d)][_0xc5d7bb(0x2ad)](_0x4fb08c);}}var _0x370827=Object[_0x3249e4(0x16f)],_0xf00e81=(_0x3689f5,_0x2b860a,_0x4740c4,_0x177ea6)=>{for(var _0x10c454=_0x177ea6>0x1?void 0x0:_0x177ea6?_0x370827(_0x2b860a,_0x4740c4):_0x2b860a,_0x3db63b=_0x3689f5['length']-0x1,_0x414d54;_0x3db63b>=0x0;_0x3db63b--)(_0x414d54=_0x3689f5[_0x3db63b])&&(_0x10c454=_0x414d54(_0x10c454)||_0x10c454);return _0x10c454;},_0x31ff33=(_0x429aa7,_0x478720)=>(_0x216e52,_0x4a4f36)=>_0x478720(_0x216e52,_0x4a4f36,_0x429aa7);const _0x373b3d=0x12c,_0x2ff0c7=0x64;let _0x4bb0c4=class extends _0x4b6906[_0x3249e4(0x304)]{constructor(_0x1f3279,_0x1cbc1e,_0x34d14d,_0x4f00c1,_0x31f38b,_0x3b142d,_0x1ff470,_0x57a141,_0x583dfc){const _0x32805f=_0x3249e4;super(),_0x202b34(this,_0x32805f(0xc1),!0x1),_0x202b34(this,'_init',!0x1),_0x202b34(this,_0x32805f(0x1f1),new _0x596bb7[(_0x32805f(0x2db))](new Map())),_0x202b34(this,'cursorInfo$',this[_0x32805f(0x1f1)][_0x32805f(0x1b6)]()),_0x202b34(this,'_roomMembers$',new _0x596bb7[(_0x32805f(0x2db))]([])),_0x202b34(this,'roomMembers$',this[_0x32805f(0x254)]['pipe'](_0x596bb7['debounceTime'](_0x373b3d))),_0x202b34(this,_0x32805f(0x22c),_0x4b6906[_0x32805f(0x17d)](_0x4f622c=>{const _0xf2b4af=_0x32805f,_0x1e8077={'eventID':_0x5873f4['CollaborationEvent'][_0xf2b4af(0xf3)],'data':{'unitID':this[_0xf2b4af(0x2d1)],'memberID':this['_session'][_0xf2b4af(0x112)](),'selection':_0x5a38b5(_0x4f622c)}};this[_0xf2b4af(0x2b6)][_0xf2b4af(0x1d9)](_0x1e8077,this[_0xf2b4af(0x2d1)]);},_0x2ff0c7)),(this['unitID']=_0x1f3279,this['_session']=_0x1cbc1e,this[_0x32805f(0x10e)]=_0x34d14d,this[_0x32805f(0x31e)]=_0x4f00c1,this[_0x32805f(0x294)]=_0x31f38b,this[_0x32805f(0x1c7)]=_0x3b142d,this[_0x32805f(0x1ff)]=_0x1ff470,this[_0x32805f(0x11d)]=_0x57a141,this[_0x32805f(0x13b)]=_0x583dfc);}get[_0x3249e4(0xd0)](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x3249e4(0x241)](){const _0x5ea7f9=_0x3249e4;super[_0x5ea7f9(0x241)](),this[_0x5ea7f9(0x1f1)]['next'](new Map()),this[_0x5ea7f9(0x1f1)][_0x5ea7f9(0x2d3)](),this['_roomMembers$'][_0x5ea7f9(0x2ad)]([]),this[_0x5ea7f9(0x254)][_0x5ea7f9(0x2d3)]();}[_0x3249e4(0x19d)](){const _0x23e863=_0x3249e4;this[_0x23e863(0x1c4)]||(this[_0x23e863(0x1c4)]=!0x0,this[_0x23e863(0x2b6)][_0x23e863(0x33a)][_0x23e863(0x24b)](_0x596bb7[_0x23e863(0x33f)](this['dispose$']))[_0x23e863(0x2ea)](_0x32a563=>{const _0xf25dca=_0x23e863;_0x32a563===_0x52f34c['SessionStatus'][_0xf25dca(0x29d)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session']['event$'][_0x23e863(0x24b)](_0x596bb7[_0x23e863(0x33f)](this[_0x23e863(0xeb)]))[_0x23e863(0x2ea)](_0x85e808=>{const _0x79181=_0x23e863,_0x3bf266=_0x85e808[_0x79181(0x2ce)];_0x3bf266===_0x5873f4[_0x79181(0x345)][_0x79181(0xf3)]&&this[_0x79181(0x1d5)](_0x85e808),_0x3bf266===_0x5873f4[_0x79181(0x345)]['USERS_LEAVE']&&this[_0x79181(0x2ae)](_0x85e808);}),this[_0x23e863(0x2a0)](this[_0x23e863(0x13b)][_0x23e863(0x232)](_0x54f71b=>{const _0x337e17=_0x23e863,_0x3f343d=_0x54f71b[_0x337e17(0xc8)];_0x3f343d!=null&&this[_0x337e17(0xc1)]&&_0x54f71b['id']===_0x3c6c88[_0x337e17(0x137)]['id']&&_0x3f343d[_0x337e17(0x24d)]===this[_0x337e17(0x2d1)]&&_0x3f343d['isEditing']===!0x1&&_0x3f343d['ranges'][_0x337e17(0x10a)]>0x0&&this['_updateLocalCursor'](_0x3f343d[_0x337e17(0x338)]);})),this['_syncEditingCollabCursorService'][_0x23e863(0x1d0)][_0x23e863(0x24b)](_0x596bb7[_0x23e863(0x33f)](this['dispose$']))[_0x23e863(0x2ea)](_0x2b2574=>{const _0x23a39b=_0x23e863;if((_0x2b2574==null?void 0x0:_0x2b2574['unitID'])!==this['unitID'])return;const _0x3b5c17={'eventID':_0x5873f4['CollaborationEvent'][_0x23a39b(0xf3)],'data':_0x2b2574};this[_0x23a39b(0x1d5)](_0x3b5c17);}),this[_0x23e863(0x2a0)](this[_0x23e863(0x13b)][_0x23e863(0x232)](_0x3883ba=>{const _0x35db34=_0x23e863;if(_0x3883ba[_0x35db34(0xc8)]==null)return;const _0x37efb9=_0x3883ba[_0x35db34(0xc8)];if(_0x3883ba['id']!==_0x3c6c88[_0x35db34(0x11f)]['id']||_0x37efb9[_0x35db34(0x24d)]!==this['unitID'])return;const _0x3af64c={'id':'doc.mutation.rich-text-editing','params':_0x37efb9},_0x5b0b60=this[_0x35db34(0xd0)];for(const [_0x13edff,_0x1857dc]of _0x5b0b60){const _0x35bed4={'id':_0x35db34(0x18a),'params':{'unitId':this[_0x35db34(0x2d1)],'actions':null,'textRanges':_0x1857dc['ranges']}},_0x1255d7=this[_0x35db34(0x1ff)][_0x35db34(0x18c)](_0x3af64c,_0x35bed4,!0x1);if(_0x5873f4[_0x35db34(0x2b0)](_0x1255d7))throw _0x1255d7[_0x35db34(0x267)];_0x5b0b60[_0x35db34(0x32a)](_0x13edff,{..._0x1857dc,'ranges':_0x1255d7['m2Prime']['params'][_0x35db34(0x1ea)]});}queueMicrotask(()=>{const _0x5c7b71=_0x35db34;this[_0x5c7b71(0x1f1)][_0x5c7b71(0x2ad)](_0x5b0b60);});})));}['_onCursorUpdate'](_0x571307){const _0x8a6a52=_0x3249e4;var _0xfc64ad,_0x15b819;const {memberID:_0x1a56ba,selection:_0x4012a8}=_0x571307[_0x8a6a52(0x140)],_0x57be31=_0x26bfe6(_0x4012a8),_0x5be9aa=(_0x15b819=(_0xfc64ad=this[_0x8a6a52(0x294)][_0x8a6a52(0x219)](this[_0x8a6a52(0x2d1)],_0x1a56ba))==null?void 0x0:_0xfc64ad['name'])!=null?_0x15b819:_0x8a6a52(0x18f),_0x2d62f6={'color':this[_0x8a6a52(0x31e)][_0x8a6a52(0x269)](_0x1a56ba),'name':_0x5be9aa,'ranges':_0x57be31},_0x2d8f63=this[_0x8a6a52(0xd0)];_0x2d8f63[_0x8a6a52(0x32a)](_0x1a56ba,_0x2d62f6),this[_0x8a6a52(0x1f1)][_0x8a6a52(0x2ad)](_0x2d8f63);}['_onCursorDelete'](_0x7ebf06){const _0x2b016b=_0x3249e4,{memberID:_0x463b73}=_0x7ebf06[_0x2b016b(0x140)],_0x323f7c=this[_0x2b016b(0xd0)];_0x323f7c[_0x2b016b(0x16d)](_0x463b73),this[_0x2b016b(0x1f1)][_0x2b016b(0x2ad)](_0x323f7c);}['_toggleOnline'](){const _0x1f927d=_0x3249e4;var _0x5f5097;if(this[_0x1f927d(0xc1)]=!0x0,((_0x5f5097=this['_univerInstanceService'][_0x1f927d(0x2be)]())==null?void 0x0:_0x5f5097[_0x1f927d(0x293)]())!==this[_0x1f927d(0x2d1)])return;const _0x9e5eba=this[_0x1f927d(0x10e)][_0x1f927d(0x14a)](_0x3c6c88['DocSelectionManagerService'])[_0x1f927d(0x26c)]();Array[_0x1f927d(0x145)](_0x9e5eba)&&_0x9e5eba[_0x1f927d(0x10a)]>0x0&&this[_0x1f927d(0x22c)](_0x9e5eba);}[_0x3249e4(0x1bb)](){const _0x452184=_0x3249e4;this[_0x452184(0xc1)]=!0x1;}};_0x4bb0c4=_0xf00e81([_0x31ff33(0x2,_0x4b6906[_0x3249e4(0x10b)](_0x4b6906[_0x3249e4(0x2d8)])),_0x31ff33(0x3,_0x4b6906['Inject'](_0x1111e6)),_0x31ff33(0x4,_0x4b6906[_0x3249e4(0x10b)](_0x52f34c['MemberService'])),_0x31ff33(0x5,_0x4b6906[_0x3249e4(0x10b)](_0x3ac6b6)),_0x31ff33(0x6,_0x5873f4[_0x3249e4(0x1e5)]),_0x31ff33(0x7,_0x4b6906['IUniverInstanceService']),_0x31ff33(0x8,_0x4b6906[_0x3249e4(0x1e9)])],_0x4bb0c4);var _0x52bbf4=Object[_0x3249e4(0x16f)],_0x1d30b2=(_0x1f7508,_0x591da1,_0x1d2ef1,_0x454964)=>{const _0x454a1f=_0x3249e4;for(var _0x459186=_0x454964>0x1?void 0x0:_0x454964?_0x52bbf4(_0x591da1,_0x1d2ef1):_0x591da1,_0x2230a4=_0x1f7508[_0x454a1f(0x10a)]-0x1,_0x377298;_0x2230a4>=0x0;_0x2230a4--)(_0x377298=_0x1f7508[_0x2230a4])&&(_0x459186=_0x377298(_0x459186)||_0x459186);return _0x459186;},_0x1067b3=(_0x4b0356,_0x446c33)=>(_0x3d7932,_0xc424a5)=>_0x446c33(_0x3d7932,_0xc424a5,_0x4b0356);const _0x48aba5=0x12c,_0x4ed2c3=0x64,_0x2fa79a=()=>{let _0x3a576f=[],_0x1f2ce9=!0x1;return _0x1671fa=>{const _0x2d2863=_0x366c;_0x3a576f[_0x2d2863(0xfa)](_0x1671fa),_0x1f2ce9||(_0x1f2ce9=!0x0,setTimeout(()=>{_0x3a576f['forEach'](_0x3a7a32=>_0x3a7a32()),_0x3a576f=[],_0x1f2ce9=!0x1;}));};};let _0xf92256=class extends _0x4b6906[_0x3249e4(0x304)]{constructor(_0x305263,_0xacabd2,_0x48aa97,_0x3c1671,_0x57b907,_0x409e00,_0x241a91,_0x4ee8de){const _0x5a353e=_0x3249e4;super(),_0x202b34(this,_0x5a353e(0xc1),!0x1),_0x202b34(this,'_init',!0x1),_0x202b34(this,_0x5a353e(0x1f1),new _0x596bb7[(_0x5a353e(0x2db))](new Map())),_0x202b34(this,_0x5a353e(0x26e),this[_0x5a353e(0x1f1)][_0x5a353e(0x1b6)]()),_0x202b34(this,_0x5a353e(0x254),new _0x596bb7[(_0x5a353e(0x2db))]([])),_0x202b34(this,_0x5a353e(0x127),this[_0x5a353e(0x254)]['pipe'](_0x596bb7[_0x5a353e(0x275)](_0x48aba5))),_0x202b34(this,_0x5a353e(0x22c),_0x4b6906[_0x5a353e(0x17d)]((_0xf1f46,_0x2431ca)=>{const _0x3dca7b=_0x5a353e,_0x39e9e8={'eventID':_0x5873f4[_0x3dca7b(0x345)][_0x3dca7b(0xf3)],'data':{'unitID':this[_0x3dca7b(0x2d1)],'memberID':this['_session'][_0x3dca7b(0x112)](),'selection':_0x3cd16e[_0x3dca7b(0xce)](_0xf1f46,_0x2431ca[_0x3dca7b(0x2d7)])}};this[_0x3dca7b(0x2b6)][_0x3dca7b(0x1d9)](_0x39e9e8,this[_0x3dca7b(0x2d1)]);},_0x4ed2c3)),(this['unitID']=_0x305263,this[_0x5a353e(0x2b6)]=_0xacabd2,this[_0x5a353e(0x10e)]=_0x48aa97,this[_0x5a353e(0x31e)]=_0x3c1671,this[_0x5a353e(0x294)]=_0x57b907,this[_0x5a353e(0x11d)]=_0x409e00,this[_0x5a353e(0x13b)]=_0x241a91,this[_0x5a353e(0x321)]=_0x4ee8de);}get[_0x3249e4(0xd0)](){const _0x1e245d=_0x3249e4;return this[_0x1e245d(0x1f1)][_0x1e245d(0x29c)]();}get[_0x3249e4(0x1c9)](){const _0x5bdce4=_0x3249e4;return this[_0x5bdce4(0x254)][_0x5bdce4(0x29c)]();}[_0x3249e4(0x241)](){const _0x3a710e=_0x3249e4;super[_0x3a710e(0x241)](),this[_0x3a710e(0x1f1)][_0x3a710e(0x2ad)](new Map()),this[_0x3a710e(0x1f1)][_0x3a710e(0x2d3)](),this[_0x3a710e(0x254)][_0x3a710e(0x2ad)]([]),this[_0x3a710e(0x254)][_0x3a710e(0x2d3)]();}[_0x3249e4(0x19d)](){const _0x474974=_0x3249e4;this['_init']||(this[_0x474974(0x1c4)]=!0x0,this['_session'][_0x474974(0x33a)][_0x474974(0x24b)](_0x596bb7[_0x474974(0x33f)](this[_0x474974(0xeb)]))[_0x474974(0x2ea)](_0x2d1869=>{const _0x3c87a2=_0x474974;_0x2d1869===_0x52f34c[_0x3c87a2(0x245)]['ONLINE']?this[_0x3c87a2(0x191)]():this[_0x3c87a2(0x1bb)]();}),this[_0x474974(0x2b6)][_0x474974(0x14e)][_0x474974(0x24b)](_0x596bb7[_0x474974(0x33f)](this[_0x474974(0xeb)]))[_0x474974(0x2ea)](_0x20c05b=>{const _0x5b0518=_0x474974,_0x5e3c72=_0x20c05b['eventID'];_0x5e3c72===_0x5873f4[_0x5b0518(0x345)][_0x5b0518(0xf3)]&&this[_0x5b0518(0x1d5)](_0x20c05b),_0x5e3c72===_0x5873f4[_0x5b0518(0x345)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x20c05b);}),this['_onRefRangeChange'](),this[_0x474974(0x2a0)](this['_commandService'][_0x474974(0x232)](_0x119755=>{const _0x16fd87=_0x474974;if(this[_0x16fd87(0xc1)]&&_0x119755['id']===_0x5de2fa['SetSelectionsOperation']['id']&&_0x119755[_0x16fd87(0xc8)][_0x16fd87(0x24d)]===this[_0x16fd87(0x2d1)]){const _0x5155a7=_0x119755[_0x16fd87(0xc8)];this[_0x16fd87(0x22c)](_0x5155a7[_0x16fd87(0x1d8)],_0x5155a7[_0x16fd87(0x2a8)][0x0]);}})));}[_0x3249e4(0x1d5)](_0x355396){const _0x31df21=_0x3249e4;var _0x3b7c86,_0x37785a;const {memberID:_0x22fe16,selection:_0x43773b}=_0x355396[_0x31df21(0x140)],{sheetName:_0x1f249f,range:_0x2d476e}=_0x3cd16e[_0x31df21(0x1de)](_0x43773b),_0x218eca={'name':(_0x37785a=(_0x3b7c86=this[_0x31df21(0x294)]['getMember'](this[_0x31df21(0x2d1)],_0x22fe16))==null?void 0x0:_0x3b7c86[_0x31df21(0x33e)])!=null?_0x37785a:'Unknown\x20user','range':this[_0x31df21(0x2ac)](_0x1f249f,_0x2d476e),'sheetID':_0x1f249f,'color':this[_0x31df21(0x31e)][_0x31df21(0x269)](_0x22fe16),'selection':_0x43773b},_0x41bc26=this[_0x31df21(0xd0)];_0x41bc26[_0x31df21(0x32a)](_0x22fe16,_0x218eca),this['_cursorInfo$']['next'](_0x41bc26);}[_0x3249e4(0x2ae)](_0x225e6e){const _0x42ae35=_0x3249e4,{memberID:_0x461572}=_0x225e6e[_0x42ae35(0x140)],_0x20f39f=this[_0x42ae35(0xd0)];_0x20f39f[_0x42ae35(0x16d)](_0x461572),this[_0x42ae35(0x1f1)][_0x42ae35(0x2ad)](_0x20f39f);}[_0x3249e4(0x2ac)](_0x2209ce,_0x2162cf){const _0xd519a=_0x3249e4;var _0x3aa1cc,_0x2965bc;const _0x583d01=(_0x2965bc=(_0x3aa1cc=this[_0xd519a(0x11d)][_0xd519a(0x2cd)](this[_0xd519a(0x2d1)]))==null?void 0x0:_0x3aa1cc[_0xd519a(0x2e1)](_0x2209ce))==null?void 0x0:_0x2965bc[_0xd519a(0x1b0)]();return(_0x583d01==null?void 0x0:_0x583d01[_0xd519a(0x212)](_0x5a6e49=>_0x4b6906[_0xd519a(0x2a3)]['contains'](_0x5a6e49,_0x2162cf)))||_0x2162cf;}[_0x3249e4(0x332)](){const _0x16623b=_0x3249e4,_0x219e53=new _0x4b6906[(_0x16623b(0x20e))](),_0x498612=_0x2fa79a(),_0x369617=()=>{const _0x4ce7ba=_0x16623b;_0x219e53['dispose']();const _0x51f884=(_0x3261f9,_0x27ed09,_0x2eacd9,_0x418e99)=>{const _0x1bba46=_0x366c;let _0x398772=[];switch(_0x3261f9['id']){case _0x5de2fa['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x398772=_0x5de2fa[_0x1bba46(0x2ed)](_0x3261f9,_0x418e99);break;}case _0x5de2fa[_0x1bba46(0xe5)][_0x1bba46(0x330)]:{_0x398772=_0x5de2fa[_0x1bba46(0x2af)](_0x3261f9,_0x418e99);break;}case _0x5de2fa[_0x1bba46(0xe5)][_0x1bba46(0x2ca)]:{_0x398772=_0x5de2fa[_0x1bba46(0x160)](_0x3261f9,_0x418e99);break;}case _0x5de2fa['EffectRefRangId'][_0x1bba46(0x166)]:{_0x398772=_0x5de2fa[_0x1bba46(0x20d)](_0x3261f9,_0x418e99);break;}case _0x5de2fa[_0x1bba46(0xe5)][_0x1bba46(0x1e4)]:{_0x398772=_0x5de2fa['handleInsertRangeMoveRight'](_0x3261f9,_0x418e99);break;}case _0x5de2fa[_0x1bba46(0xe5)][_0x1bba46(0x12d)]:{_0x398772=_0x5de2fa['handleInsertRow'](_0x3261f9,_0x418e99);break;}case _0x5de2fa['EffectRefRangId'][_0x1bba46(0x343)]:{_0x398772=_0x5de2fa[_0x1bba46(0x139)](_0x3261f9,_0x418e99);break;}case _0x5de2fa[_0x1bba46(0xe5)][_0x1bba46(0x34d)]:{_0x398772=_0x5de2fa['handleIRemoveCol'](_0x3261f9,_0x418e99);break;}case _0x5de2fa[_0x1bba46(0xe5)][_0x1bba46(0x2c8)]:{_0x398772=_0x5de2fa['handleIRemoveRow'](_0x3261f9,_0x418e99);break;}}const _0x52fb63=_0x5de2fa[_0x1bba46(0x352)](_0x398772,_0x418e99),_0x4062ca=this['cursorInfo'][_0x1bba46(0x14a)](_0x27ed09);if(_0x4062ca&&_0x52fb63){const _0x1a3cdd={..._0x4062ca,'range':_0x52fb63};this[_0x1bba46(0xd0)][_0x1bba46(0x32a)](_0x27ed09,_0x1a3cdd),_0x498612(()=>{const _0x2dc334=_0x1bba46,_0x557f8a=this[_0x2dc334(0x321)]['registerRefRange'](_0x52fb63,_0xf4eb0b=>(_0x557f8a[_0x2dc334(0x241)](),_0x51f884(_0xf4eb0b,_0x27ed09,_0x2eacd9,_0x52fb63)));_0x219e53[_0x2dc334(0x117)](_0x557f8a);});}return{'redos':[],'undos':[]};};this[_0x4ce7ba(0xd0)][_0x4ce7ba(0x2eb)]((_0x2c50ef,_0x276086)=>{const _0x14f632=_0x4ce7ba,{range:_0x3d3d44,sheetID:_0x4aa1f8}=_0x2c50ef,_0x626c7a=this[_0x14f632(0x321)][_0x14f632(0x30e)](_0x3d3d44,_0x198dfd=>(_0x626c7a[_0x14f632(0x241)](),_0x51f884(_0x198dfd,_0x276086,_0x4aa1f8,_0x3d3d44)));_0x219e53['add'](_0x626c7a);});};this[_0x16623b(0x2a0)](_0x4b6906['toDisposable'](this['_cursorInfo$']['subscribe'](()=>{_0x369617();})));}[_0x3249e4(0x191)](){const _0x6f867b=_0x3249e4;var _0x3e103b,_0x5f546a;if(this['_online']=!0x0,((_0x3e103b=this[_0x6f867b(0x11d)][_0x6f867b(0x2be)]())==null?void 0x0:_0x3e103b[_0x6f867b(0x293)]())!==this['unitID'])return;const _0xbfef7c=(_0x5f546a=this[_0x6f867b(0x10e)][_0x6f867b(0x14a)](_0x5de2fa[_0x6f867b(0x193)])[_0x6f867b(0x11b)]())==null?void 0x0:_0x5f546a[0x0],_0x14c722=this[_0x6f867b(0x11d)][_0x6f867b(0x2a6)](_0x4b6906[_0x6f867b(0x1b3)]['UNIVER_SHEET'])[_0x6f867b(0x2a9)]();_0xbfef7c&&_0x14c722&&this[_0x6f867b(0x22c)](_0x14c722[_0x6f867b(0xda)](),_0xbfef7c);}[_0x3249e4(0x1bb)](){const _0x6bf62b=_0x3249e4;this[_0x6bf62b(0xc1)]=!0x1;}};_0xf92256=_0x1d30b2([_0x1067b3(0x2,_0x4b6906[_0x3249e4(0x10b)](_0x4b6906[_0x3249e4(0x2d8)])),_0x1067b3(0x3,_0x4b6906[_0x3249e4(0x10b)](_0x1111e6)),_0x1067b3(0x4,_0x4b6906['Inject'](_0x52f34c[_0x3249e4(0xcd)])),_0x1067b3(0x5,_0x4b6906[_0x3249e4(0x356)]),_0x1067b3(0x6,_0x4b6906[_0x3249e4(0x1e9)]),_0x1067b3(0x7,_0x4b6906[_0x3249e4(0x10b)](_0x5de2fa[_0x3249e4(0xf8)]))],_0xf92256);var _0x196fc2=Object[_0x3249e4(0x16f)],_0x2ba7ed=(_0x3b73ca,_0x33d97d,_0x1b501b,_0x354054)=>{for(var _0x4de5ec=_0x354054>0x1?void 0x0:_0x354054?_0x196fc2(_0x33d97d,_0x1b501b):_0x33d97d,_0x3990b6=_0x3b73ca['length']-0x1,_0x1ea7f1;_0x3990b6>=0x0;_0x3990b6--)(_0x1ea7f1=_0x3b73ca[_0x3990b6])&&(_0x4de5ec=_0x1ea7f1(_0x4de5ec)||_0x4de5ec);return _0x4de5ec;},_0x14de49=(_0x3351fc,_0x563eb5)=>(_0x2ca524,_0x5495a0)=>_0x563eb5(_0x2ca524,_0x5495a0,_0x3351fc);let _0x24ffd2=class extends _0x4b6906[_0x3249e4(0x304)]{constructor(_0x5b5d7a,_0x18e42c,_0x91cdb){const _0x2be385=_0x3249e4;super(),_0x202b34(this,_0x2be385(0xff),new Map()),_0x202b34(this,'_entityInit$',new _0x596bb7[(_0x2be385(0x296))]()),(this[_0x2be385(0x11d)]=_0x5b5d7a,this[_0x2be385(0x10e)]=_0x18e42c,this['_collabSessionService']=_0x91cdb,this['_init']());}[_0x3249e4(0x241)](){const _0x12d22a=_0x3249e4;super['dispose'](),this['_entityInit$']['complete'](),this['_entities'][_0x12d22a(0x2eb)](_0x184370=>_0x184370[_0x12d22a(0x241)]());}[_0x3249e4(0x2d4)](_0x3a6e1f){const _0x521da4=_0x3249e4;return this['_entities'][_0x521da4(0x1dd)](_0x3a6e1f)?this[_0x521da4(0xff)][_0x521da4(0x14a)](_0x3a6e1f)[_0x521da4(0x26e)]:this[_0x521da4(0x190)][_0x521da4(0x24b)](_0x596bb7[_0x521da4(0x214)](_0x96ba04=>_0x96ba04[_0x521da4(0x2d1)]===_0x3a6e1f),_0x596bb7['switchMap'](_0x412ca8=>_0x412ca8[_0x521da4(0x26e)]));}[_0x3249e4(0x1c4)](){const _0x46b3e6=_0x3249e4;this[_0x46b3e6(0x11d)][_0x46b3e6(0x281)](_0x4b6906[_0x46b3e6(0x1b3)][_0x46b3e6(0x218)])[_0x46b3e6(0x24b)](_0x596bb7[_0x46b3e6(0x33f)](this[_0x46b3e6(0xeb)]))['subscribe'](async _0x4e892a=>{const _0x356041=_0x46b3e6,_0xb7143=_0x4e892a[_0x356041(0x293)](),_0xcc1189=await this['_startSheetCollabCursor'](_0xb7143);this[_0x356041(0x190)]['next'](_0xcc1189),this[_0x356041(0xff)]['set'](_0xb7143,_0xcc1189);}),this[_0x46b3e6(0x11d)][_0x46b3e6(0x281)](_0x4b6906[_0x46b3e6(0x1b3)][_0x46b3e6(0x208)])[_0x46b3e6(0x24b)](_0x596bb7[_0x46b3e6(0x33f)](this[_0x46b3e6(0xeb)]))[_0x46b3e6(0x24b)](_0x596bb7[_0x46b3e6(0x214)](_0x25fdb7=>!_0x25fdb7[_0x46b3e6(0x293)]()['startsWith']('__')))[_0x46b3e6(0x2ea)](async _0x32343a=>{const _0x214783=_0x46b3e6,_0x52d0aa=_0x32343a['getUnitId'](),_0x3fbdd3=await this[_0x214783(0x120)](_0x52d0aa);this[_0x214783(0x190)][_0x214783(0x2ad)](_0x3fbdd3),this[_0x214783(0xff)][_0x214783(0x32a)](_0x52d0aa,_0x3fbdd3);}),_0x596bb7[_0x46b3e6(0xbf)](this['_univerInstanceService'][_0x46b3e6(0x195)](_0x4b6906['UniverInstanceType']['UNIVER_DOC']),this[_0x46b3e6(0x11d)][_0x46b3e6(0x195)](_0x4b6906[_0x46b3e6(0x1b3)][_0x46b3e6(0x218)]))[_0x46b3e6(0x24b)](_0x596bb7[_0x46b3e6(0x33f)](this[_0x46b3e6(0xeb)]))[_0x46b3e6(0x2ea)](_0x2bf972=>{const _0x352123=_0x46b3e6,_0x3e5c53=_0x2bf972[_0x352123(0x293)](),_0x4c67fb=this[_0x352123(0xff)]['get'](_0x3e5c53);_0x4c67fb&&(_0x4c67fb[_0x352123(0x241)](),this[_0x352123(0xff)][_0x352123(0x16d)](_0x3e5c53));});}async[_0x3249e4(0x331)](_0x190ccd){const _0x33d30d=_0x3249e4,_0x531b7f=await this[_0x33d30d(0x289)][_0x33d30d(0x1c0)](_0x190ccd),_0x5d2ceb=this[_0x33d30d(0x10e)][_0x33d30d(0x1ad)](_0xf92256,_0x190ccd,_0x531b7f);return _0x5d2ceb[_0x33d30d(0x19d)](),_0x5d2ceb;}async[_0x3249e4(0x120)](_0x2d2c78){const _0x299a18=_0x3249e4,_0x583457=await this[_0x299a18(0x289)][_0x299a18(0x1c0)](_0x2d2c78),_0x4fa6da=this[_0x299a18(0x10e)][_0x299a18(0x1ad)](_0x4bb0c4,_0x2d2c78,_0x583457);return _0x4fa6da[_0x299a18(0x19d)](),_0x4fa6da;}};_0x24ffd2=_0x2ba7ed([_0x14de49(0x0,_0x4b6906['IUniverInstanceService']),_0x14de49(0x1,_0x4b6906[_0x3249e4(0x10b)](_0x4b6906[_0x3249e4(0x2d8)])),_0x14de49(0x2,_0x4b6906[_0x3249e4(0x10b)](_0x52f34c[_0x3249e4(0xc3)]))],_0x24ffd2);const _0x4cb6aa=0x14,_0x9ff5e0=0xc8,_0x519ece=0x4,_0x7a50eb=0x5;function _0x4ffbf1(_0x4bec74,_0x47a685){const _0xb2a1cf=_0x3249e4;let {radius:_0x23b9e1,width:_0x3df4f6,height:_0x5d0980}=_0x47a685;_0x23b9e1=_0x23b9e1!=null?_0x23b9e1:0x0,_0x3df4f6=_0x3df4f6!=null?_0x3df4f6:0x1e,_0x5d0980=_0x5d0980!=null?_0x5d0980:0x1e;let _0x4bb609=0x0,_0x3d8385=0x0,_0x5f8e3e=0x0;_0x4bb609=_0x3d8385=_0x5f8e3e=Math[_0xb2a1cf(0x129)](_0x23b9e1,_0x3df4f6/0x2,_0x5d0980/0x2),_0x4bec74[_0xb2a1cf(0x305)](),_0x4bec74[_0xb2a1cf(0x23b)](_0x4bb609,0x0),_0x4bec74[_0xb2a1cf(0x298)](_0x3df4f6-_0x3d8385,0x0),_0x4bec74[_0xb2a1cf(0x1f9)](_0x3df4f6-_0x3d8385,_0x3d8385,_0x3d8385,Math['PI']*0x3/0x2,0x0,!0x1),_0x4bec74[_0xb2a1cf(0x298)](_0x3df4f6,_0x5d0980-_0x5f8e3e),_0x4bec74[_0xb2a1cf(0x1f9)](_0x3df4f6-_0x5f8e3e,_0x5d0980-_0x5f8e3e,_0x5f8e3e,0x0,Math['PI']/0x2,!0x1),_0x4bec74[_0xb2a1cf(0x298)](0x0,_0x5d0980),_0x4bec74[_0xb2a1cf(0x298)](0x0,_0x4bb609),_0x4bec74[_0xb2a1cf(0x1f9)](_0x4bb609,_0x4bb609,_0x4bb609,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4bec74[_0xb2a1cf(0x2b9)](),_0x47a685['fill']&&(_0x4bec74['save'](),_0x4bec74[_0xb2a1cf(0x280)]=_0x47a685[_0xb2a1cf(0x285)],_0x47a685[_0xb2a1cf(0x263)]===_0xb2a1cf(0x307)?_0x4bec74[_0xb2a1cf(0x285)](_0xb2a1cf(0x307)):_0x4bec74[_0xb2a1cf(0x285)](),_0x4bec74[_0xb2a1cf(0x268)]());}class _0x546edd extends _0xa2dea1[_0x3249e4(0x236)]{constructor(_0x350fe6,_0x421dff){const _0x1b57d4=_0x3249e4;super(_0x350fe6,_0x421dff),_0x202b34(this,'color'),_0x202b34(this,_0x1b57d4(0x1fa)),(this[_0x1b57d4(0x176)]=_0x421dff==null?void 0x0:_0x421dff['color'],this['text']=_0x421dff==null?void 0x0:_0x421dff[_0x1b57d4(0x1fa)]);}static[_0x3249e4(0xf9)](_0x183829,_0xfff765){const _0x5fcc78=_0x3249e4,{text:_0x1189b4,color:_0x2caf26}=_0xfff765;_0x183829[_0x5fcc78(0x1d1)](),_0x183829[_0x5fcc78(0xee)]=_0x5fcc78(0x334);const _0x5a606c=_0x183829[_0x5fcc78(0x22e)](_0x1189b4)['width'],_0x5ca197=Math[_0x5fcc78(0x129)](_0x5a606c+0x2*_0x519ece,_0x9ff5e0);_0x4ffbf1(_0x183829,{'height':_0x4cb6aa,'radius':0x4,'width':_0x5ca197,'fill':_0x2caf26}),_0x183829['fillStyle']=_0x5fcc78(0x1b5);const _0xf9f088=_0x519ece,_0x3a6be4=_0x4cb6aa-_0x7a50eb,_0x36f2c4=_0x9ff5e0-0x2*_0x519ece;if(_0x5a606c>_0x36f2c4){let _0x35b8ba='',_0x331543=0x0;for(const _0x1537aa of _0x1189b4){const _0x5906ca=_0x183829['measureText'](_0x1537aa)[_0x5fcc78(0x2ff)];if(_0x331543+_0x5906ca<=_0x36f2c4-_0x183829[_0x5fcc78(0x22e)](_0x5fcc78(0x2f7))[_0x5fcc78(0x2ff)])_0x35b8ba+=_0x1537aa,_0x331543+=_0x5906ca;else{_0x35b8ba+=_0x5fcc78(0x2f7);break;}}_0x183829['fillText'](_0x35b8ba,_0xf9f088,_0x3a6be4);}else _0x183829[_0x5fcc78(0xfb)](_0x1189b4,_0xf9f088,_0x3a6be4);_0x183829[_0x5fcc78(0x268)]();}[_0x3249e4(0x2c6)](_0x3263b){const _0x2902fd=_0x3249e4;_0x546edd[_0x2902fd(0xf9)](_0x3263b,this);}}const _0x1346b8=_0x3249e4(0x306),_0xa112d7=_0x3249e4(0x15a),_0x3a6bc4=_0x3249e4(0x276),_0x4046a2=0x6,_0x3d28dd=1.5,_0x1e7763=0x4,_0x511e4c=1.5,_0x5ea6d6=_0x3249e4(0x291);class _0x13079a{constructor(_0x338573,_0x225877,_0x1d9299,_0x4d082b){const _0x48390c=_0x3249e4;_0x202b34(this,'_shapes',[]),_0x202b34(this,'_anchor',null),_0x202b34(this,_0x48390c(0x20f),null),_0x202b34(this,_0x48390c(0x225),null),_0x202b34(this,_0x48390c(0x235),null),_0x202b34(this,_0x48390c(0x102),null),(this[_0x48390c(0xd3)]=_0x338573,this[_0x48390c(0x2f1)]=_0x225877,this[_0x48390c(0x31f)]=_0x1d9299,this[_0x48390c(0x22f)]=_0x4d082b,this[_0x48390c(0xe3)]());}set[_0x3249e4(0x15f)](_0x260149){const _0x19708=_0x3249e4;_0x260149?(this['_anchorDot']&&this['_anchorDot']['hide'](),this[_0x19708(0x20f)]&&this[_0x19708(0x20f)][_0x19708(0x1e8)]()):(this[_0x19708(0x225)]&&this['_anchorDot'][_0x19708(0x1e8)](),this[_0x19708(0x20f)]&&this['_textBubble'][_0x19708(0x2bc)]());}[_0x3249e4(0x241)](){const _0x2444cf=_0x3249e4;for(const _0x22bdb3 of this[_0x2444cf(0x25e)])_0x22bdb3[_0x2444cf(0x241)]();this[_0x2444cf(0x20f)]&&this[_0x2444cf(0x20f)][_0x2444cf(0x241)](),this['_anchorDot']&&this[_0x2444cf(0x225)][_0x2444cf(0x241)](),this[_0x2444cf(0xc7)]&&this[_0x2444cf(0xc7)][_0x2444cf(0x241)](),this[_0x2444cf(0x102)]&&this[_0x2444cf(0x102)]();}[_0x3249e4(0xe3)](){const _0x5e2b98=_0x3249e4;var _0x3d74b3;const {_docSkeleton:_0x2550d2,_document:_0x3f3e88}=this,{color:_0x568f67,name:_0x34fec2,ranges:_0x4ef30c}=this[_0x5e2b98(0xd3)],_0x5ac947=_0x3f3e88[_0x5e2b98(0x34f)](),{docsLeft:_0x52b13f,docsTop:_0x167d61}=_0x5ac947,_0x10c87c=new _0x4142bf[(_0x5e2b98(0x283))](_0x5ac947,_0x2550d2);for(const {startOffset:_0x372049,endOffset:_0x493742,rangeType:_0x5aa7ca,segmentId:_0x580bd7,segmentPage:_0x2ec7d5,collapsed:_0x22af29,isActive:_0x55cd3e}of _0x4ef30c){const _0x276d64=_0x2550d2[_0x5e2b98(0x14b)](_0x372049,!0x0,_0x580bd7,_0x2ec7d5);let _0x7f4a5a=_0x2550d2['findNodePositionByCharIndex'](_0x493742,!0x0,_0x580bd7,_0x2ec7d5);if(_0x7f4a5a==null&&(_0x7f4a5a=_0x2550d2[_0x5e2b98(0x14b)](_0x493742-0x1,!0x1,_0x580bd7,_0x2ec7d5)),_0x55cd3e){const {contentBoxPointGroup:_0x156964}=_0x10c87c['getRangePointData'](_0x7f4a5a,_0x7f4a5a);if(_0x156964['length']===0x0)continue;this['_drawAnchor'](_0x568f67,_0x156964,_0x52b13f,_0x167d61,_0x34fec2),this[_0x5e2b98(0x102)]=this['_handleHover']();}if(_0x276d64&&_0x7f4a5a){if(_0x5aa7ca===_0x4b6906[_0x5e2b98(0x26f)][_0x5e2b98(0x1c3)]){const _0x318072=new _0x4142bf['NodePositionConvertToRectRange'](_0x5ac947,_0x2550d2),{pointGroup:_0x235c67}=(_0x3d74b3=_0x318072[_0x5e2b98(0x188)](_0x276d64,_0x7f4a5a))!=null?_0x3d74b3:{};if(_0x235c67==null||_0x235c67['length']===0x0)continue;this[_0x5e2b98(0x319)](_0x568f67,_0x235c67,_0x52b13f,_0x167d61);}else{if(!_0x22af29){const {borderBoxPointGroup:_0x326b60}=_0x10c87c['getRangePointData'](_0x276d64,_0x7f4a5a);if(_0x326b60[_0x5e2b98(0x10a)]===0x0)continue;this[_0x5e2b98(0x10f)](_0x568f67,_0x326b60,_0x52b13f,_0x167d61);}}}}}[_0x3249e4(0x2b2)](_0x53d5e6,_0xfef3fc,_0x569ec0,_0x3af7ff,_0x2ab659){const _0x4a2c1c=_0x3249e4,_0x4ee901=this['_getAnchorBounding'](_0xfef3fc),{left:_0x53379b,top:_0x5ca5ae,height:_0x2d11c7}=_0x4ee901,_0x2fad72=this[_0x4a2c1c(0x29e)](),_0x4f0442=_0x511e4c/_0x2fad72,_0x396fa2=new _0xa2dea1['Rect'](_0x1346b8+_0x4b6906[_0x4a2c1c(0x201)][_0x4a2c1c(0x272)](_0x4046a2),{'left':_0x53379b+_0x569ec0-_0x4f0442,'top':_0x5ca5ae+_0x3af7ff,'height':_0x2d11c7,'width':_0x3d28dd,'fill':_0x53d5e6||_0xa2dea1[_0x4a2c1c(0x322)](_0x4b6906[_0x4a2c1c(0x19f)]['black'],0x0),'strokeWidth':_0x4f0442,'stroke':_0x5ea6d6,'evented':!0x0});this['_anchor']=_0x396fa2,this[_0x4a2c1c(0x2f1)][_0x4a2c1c(0x309)](_0x396fa2,_0x4142bf[_0x4a2c1c(0x19b)]);const _0x16876c=new _0xa2dea1[(_0x4a2c1c(0x216))](_0x1346b8+_0x4b6906['Tools'][_0x4a2c1c(0x272)](_0x4046a2),{'left':_0x53379b+_0x569ec0-_0x4f0442,'top':_0x5ca5ae+_0x3af7ff-_0x1e7763/0x2,'height':_0x1e7763,'width':_0x1e7763,'fill':_0x53d5e6||_0xa2dea1[_0x4a2c1c(0x322)](_0x4b6906[_0x4a2c1c(0x19f)][_0x4a2c1c(0x1f3)],0x0),'strokeWidth':0x0,'stroke':_0x53d5e6||_0xa2dea1['getColor'](_0x4b6906['COLORS'][_0x4a2c1c(0x1f3)],0x0),'evented':!0x1});this['_anchorDot']=_0x16876c,this[_0x4a2c1c(0x2f1)][_0x4a2c1c(0x309)](_0x16876c,_0x4142bf[_0x4a2c1c(0x19b)]);const _0x55c113=new _0x546edd(_0x1346b8+_0x4b6906['Tools'][_0x4a2c1c(0x272)](_0x4046a2),{'left':_0x53379b+_0x569ec0-_0x4f0442,'top':_0x5ca5ae+_0x3af7ff-_0x4cb6aa,'text':_0x2ab659,'color':_0x53d5e6});this[_0x4a2c1c(0x20f)]=_0x55c113,this['_scene'][_0x4a2c1c(0x309)](_0x55c113,_0x4142bf[_0x4a2c1c(0x19b)]),this['_hover']=!0x1;}[_0x3249e4(0x335)](){const _0x5d166b=_0x3249e4,_0x4c59c5=this[_0x5d166b(0xc7)][_0x5d166b(0x31c)]['subscribeEvent'](()=>{const _0x2004bb=_0x5d166b;this[_0x2004bb(0x15f)]=!0x0;}),_0x5435b0=this[_0x5d166b(0xc7)]['onPointerLeave$'][_0x5d166b(0x243)](()=>{const _0x36b99f=_0x5d166b;this[_0x36b99f(0x235)]&&clearTimeout(this['_hideTimer']),this[_0x36b99f(0x235)]=setTimeout(()=>{const _0x29a35c=_0x36b99f;this[_0x29a35c(0x15f)]=!0x1;},0x7d0);});return()=>{_0x4c59c5['unsubscribe'](),_0x5435b0['unsubscribe']();};}[_0x3249e4(0x10f)](_0xf67d7c,_0x4e6cd1,_0x4534ac,_0x452b27){const _0x51bc25=_0x3249e4,_0x520e5c=new _0x4b6906['ColorKit'](_0xf67d7c)[_0x51bc25(0x23e)](0.2)[_0x51bc25(0x2e4)](),_0x32d3a9=new _0xa2dea1['RegularPolygon'](_0xa112d7+_0x4b6906[_0x51bc25(0x201)]['generateRandomId'](_0x4046a2),{'pointsGroup':_0x4e6cd1,'fill':_0x520e5c||_0xa2dea1[_0x51bc25(0x322)](_0x4b6906[_0x51bc25(0x19f)][_0x51bc25(0x1f3)],0.2),'left':_0x4534ac,'top':_0x452b27,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x51bc25(0xfa)](_0x32d3a9),this[_0x51bc25(0x2f1)]['addObject'](_0x32d3a9,_0x4142bf['TEXT_RANGE_LAYER_INDEX']);}[_0x3249e4(0x319)](_0x44d6ba,_0x2b8bbf,_0x5b1fae,_0x13a70){const _0x2fa552=_0x3249e4,_0x205e0a=new _0x4b6906[(_0x2fa552(0x11a))](_0x44d6ba)[_0x2fa552(0x23e)](0.2)[_0x2fa552(0x2e4)](),_0x5213dd=new _0xa2dea1[(_0x2fa552(0x121))](_0x3a6bc4+_0x4b6906[_0x2fa552(0x201)][_0x2fa552(0x272)](_0x4046a2),{'pointsGroup':_0x2b8bbf,'fill':_0x205e0a||_0xa2dea1[_0x2fa552(0x322)](_0x4b6906[_0x2fa552(0x19f)][_0x2fa552(0x1f3)],0.2),'left':_0x5b1fae,'top':_0x13a70,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2fa552(0x25e)][_0x2fa552(0xfa)](_0x5213dd),this[_0x2fa552(0x2f1)]['addObject'](_0x5213dd,_0x4142bf[_0x2fa552(0x19b)]);}[_0x3249e4(0xd2)](_0x5d0419){const _0xb1131f=_0x5d0419[0x0],_0x352e3a=_0xb1131f[0x0],_0x561611=_0xb1131f[0x2],{x:_0x424b27,y:_0x278da0}=_0x352e3a,{x:_0x380bff,y:_0xe6dbec}=_0x561611;return{'left':_0x424b27,'top':_0x278da0,'width':_0x380bff-_0x424b27,'height':_0xe6dbec-_0x278da0};}[_0x3249e4(0x29e)](){const _0x56e5f5=_0x3249e4,{scaleX:_0x396dc9,scaleY:_0x4b65c5}=this[_0x56e5f5(0x2f1)][_0x56e5f5(0x103)]();return Math['max'](_0x396dc9,_0x4b65c5);}}var _0x2d69c6=Object[_0x3249e4(0x16f)],_0x5e6e54=(_0x32acc8,_0x4b70a7,_0x422301,_0x2ad370)=>{const _0x454322=_0x3249e4;for(var _0x84c588=_0x2ad370>0x1?void 0x0:_0x2ad370?_0x2d69c6(_0x4b70a7,_0x422301):_0x4b70a7,_0x2f8a0f=_0x32acc8[_0x454322(0x10a)]-0x1,_0x98d9ec;_0x2f8a0f>=0x0;_0x2f8a0f--)(_0x98d9ec=_0x32acc8[_0x2f8a0f])&&(_0x84c588=_0x98d9ec(_0x84c588)||_0x84c588);return _0x84c588;},_0x4974b6=(_0x91a774,_0x48a141)=>(_0x1796c0,_0x1cdb9f)=>_0x48a141(_0x1796c0,_0x1cdb9f,_0x91a774);let _0x118ce5=class extends _0x4b6906['RxDisposable']{constructor(_0x68d2e9,_0x166d30,_0x25aeb3,_0x3dca0d,_0x1cf22f){const _0x4fd50f=_0x3249e4;super(),_0x202b34(this,_0x4fd50f(0x10c),[]),_0x202b34(this,_0x4fd50f(0x2fa),[]),(this[_0x4fd50f(0x1da)]=_0x68d2e9,this[_0x4fd50f(0x207)]=_0x166d30,this[_0x4fd50f(0x19e)]=_0x25aeb3,this[_0x4fd50f(0x13b)]=_0x3dca0d,this[_0x4fd50f(0xdd)]=_0x1cf22f,this[_0x4fd50f(0x1c4)]());}[_0x3249e4(0x1c4)](){const _0x289486=_0x3249e4,_0x21c213=this[_0x289486(0x1da)]['unitId'],_0xf6f083=this[_0x289486(0x207)];this[_0x289486(0x2a0)](_0x596bb7[_0x289486(0xe6)]([this[_0x289486(0x19e)][_0x289486(0x2d4)](_0x21c213),this[_0x289486(0xdd)]['currentTheme$']])[_0x289486(0x24b)](_0x46ce86[_0x289486(0x21e)](([_0x567cd8,_0x2c9fd8])=>({'skeleton':_0xf6f083[_0x289486(0x224)](),'cursors':[..._0x567cd8['values']()]['flatMap'](_0x1cf930=>({..._0x1cf930,'color':_0x2c9fd8[_0x1cf930[_0x289486(0x176)]]}))})))['subscribe'](_0x4a3346=>{const _0x22b071=_0x289486;if(this['_removeCollabCursors'](),_0x4a3346){const {skeleton:_0x5f2c30,cursors:_0xbb97cd}=_0x4a3346;this[_0x22b071(0x351)](_0x5f2c30,_0xbb97cd);}})),this['_initResize'](),this[_0x289486(0x355)]();}['_updateCollabCursors'](_0x58db18,_0x533b6b){const _0xfdbbfc=_0x3249e4,{scene:_0x21a04c,mainComponent:_0x17157a}=this[_0xfdbbfc(0x1da)],_0x1a7f92=_0x533b6b[_0xfdbbfc(0x21e)](_0x3f4174=>new _0x13079a(_0x3f4174,_0x21a04c,_0x58db18,_0x17157a));this[_0xfdbbfc(0x10c)]=_0x1a7f92,this[_0xfdbbfc(0x2fa)]=_0x533b6b;}[_0x3249e4(0x12b)](){const _0x3b199e=_0x3249e4;this[_0x3b199e(0x301)]();const {scene:_0x4e3b19,mainComponent:_0x3e3b3f}=this['_context'],_0x4c4bfc=this[_0x3b199e(0x207)]['getSkeleton'](),_0x1d8f1d=this['_cursors'][_0x3b199e(0x21e)](_0x524c3c=>new _0x13079a(_0x524c3c,_0x4e3b19,_0x4c4bfc,_0x3e3b3f));this[_0x3b199e(0x10c)]=_0x1d8f1d;}[_0x3249e4(0x301)](){const _0x2473a2=_0x3249e4;this[_0x2473a2(0x10c)]['forEach'](_0x3d7b9a=>_0x3d7b9a['dispose']()),this[_0x2473a2(0x10c)]=[];}[_0x3249e4(0x355)](){const _0x4ee849=_0x3249e4,_0xc19642=[_0x4142bf[_0x4ee849(0x1cc)]['id']];this['disposeWithMe'](this['_commandService'][_0x4ee849(0x232)](_0x8c408e=>{const _0x3b4e37=_0x4ee849;_0xc19642['includes'](_0x8c408e['id'])&&_0x8c408e[_0x3b4e37(0xc8)]['unitId']===this[_0x3b4e37(0x1da)]['unitId']&&this[_0x3b4e37(0x12b)]();}));}[_0x3249e4(0x15d)](){const _0x4423fd=_0x3249e4;this[_0x4423fd(0x2a0)](_0x4b6906[_0x4423fd(0x315)](this[_0x4423fd(0x1da)][_0x4423fd(0x19c)][_0x4423fd(0x273)])[_0x4423fd(0x24b)](_0x46ce86[_0x4423fd(0x214)](_0x432e26=>_0x432e26['type']===_0xa2dea1[_0x4423fd(0x1b8)][_0x4423fd(0xd5)]),_0x46ce86[_0x4423fd(0x2e3)](0x10))[_0x4423fd(0x2ea)](()=>{this['_refreshCollabCursors']();}));}};_0x118ce5=_0x5e6e54([_0x4974b6(0x1,_0x4b6906[_0x3249e4(0x10b)](_0x3c6c88[_0x3249e4(0x297)])),_0x4974b6(0x2,_0x4b6906[_0x3249e4(0x10b)](_0x24ffd2)),_0x4974b6(0x3,_0x4b6906[_0x3249e4(0x1e9)]),_0x4974b6(0x4,_0x4b6906[_0x3249e4(0x10b)](_0x4b6906[_0x3249e4(0x313)]))],_0x118ce5);const _0x11957c=0x1,_0x5b2cfc=1.5;class _0x3c8dd6 extends _0xa2dea1['Shape']{constructor(_0x425f32,_0x7dcee4){const _0x52c93a=_0x3249e4;super(_0x425f32,_0x7dcee4),_0x202b34(this,_0x52c93a(0x151)),_0x202b34(this,_0x52c93a(0xc0),!0x1),_0x202b34(this,_0x52c93a(0x246)),_0x202b34(this,_0x52c93a(0x261),''),_0x202b34(this,_0x52c93a(0x16b),_0x52c93a(0x19a)),_0x202b34(this,_0x52c93a(0x115)),(_0x7dcee4&&this['setShapeProps'](_0x7dcee4),this['onPointerEnter$'][_0x52c93a(0x243)](()=>this[_0x52c93a(0x33d)]({'hovered':!0x0})),this[_0x52c93a(0x337)][_0x52c93a(0x243)](()=>this[_0x52c93a(0x33d)]({'hovered':!0x1})));}[_0x3249e4(0x33d)](_0x3420bb){const _0x379990=_0x3249e4;var _0x1326e8,_0x4da502,_0x3b9577,_0x49b01a,_0x226cce,_0x22890e;this['_color']=(_0x1326e8=_0x3420bb[_0x379990(0x176)])!=null?_0x1326e8:this['_color'],this[_0x379990(0xc0)]=(_0x4da502=_0x3420bb[_0x379990(0x341)])!=null?_0x4da502:this['_hovered'],this[_0x379990(0x246)]=(_0x3b9577=_0x3420bb[_0x379990(0x2d7)])!=null?_0x3b9577:this[_0x379990(0x246)],this[_0x379990(0x261)]=(_0x49b01a=_0x3420bb[_0x379990(0x33e)])!=null?_0x49b01a:this[_0x379990(0x261)],this[_0x379990(0x16b)]=(_0x226cce=_0x3420bb[_0x379990(0x150)])!=null?_0x226cce:this[_0x379990(0x16b)],this[_0x379990(0x115)]=(_0x22890e=_0x3420bb[_0x379990(0xc9)])!=null?_0x22890e:this['_backgroundColor'],this[_0x379990(0x353)]({'width':_0x3420bb[_0x379990(0x2ff)],'height':_0x3420bb['height']});}[_0x3249e4(0x23f)](_0x13af9b){const _0x50c0c4=_0x3249e4,{row:_0x263dd6,column:_0x5394ba}=_0x13af9b;if(_0x263dd6>=this[_0x50c0c4(0x246)]['startRow']&&_0x263dd6<=this['_range'][_0x50c0c4(0x279)]&&_0x5394ba>=this[_0x50c0c4(0x246)][_0x50c0c4(0x2b5)]&&_0x5394ba<=this['_range'][_0x50c0c4(0x2d5)]){this[_0x50c0c4(0x33d)]({'hovered':!0x0});return;}this[_0x50c0c4(0x33d)]({'hovered':!0x1});}['triggerDblclick'](_0x1d495a){return!0x1;}[_0x3249e4(0x2c6)](_0x372ac8){const _0x468efe=_0x3249e4;_0xa2dea1['Rect'][_0x468efe(0xf9)](_0x372ac8,{'width':this[_0x468efe(0x2ff)],'height':this[_0x468efe(0x32b)],'strokeWidth':_0x5b2cfc,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x372ac8[_0x468efe(0x1d1)](),_0x372ac8[_0x468efe(0x2c2)](0x1,0x0,0x0,0x1,this[_0x468efe(0x2ff)],this[_0x468efe(0x16b)]===_0x468efe(0x359)?0x0:-0x14),_0x546edd[_0x468efe(0xf9)](_0x372ac8,{'text':this[_0x468efe(0x261)],'color':this[_0x468efe(0x151)]}),_0x372ac8['restore']());}}var _0x119d61=Object[_0x3249e4(0x16f)],_0xa81253=(_0x2271d6,_0x15c569,_0x5f00a2,_0x30ff12)=>{const _0x3b93dd=_0x3249e4;for(var _0x468041=_0x30ff12>0x1?void 0x0:_0x30ff12?_0x119d61(_0x15c569,_0x5f00a2):_0x15c569,_0x485e61=_0x2271d6[_0x3b93dd(0x10a)]-0x1,_0x28b7aa;_0x485e61>=0x0;_0x485e61--)(_0x28b7aa=_0x2271d6[_0x485e61])&&(_0x468041=_0x28b7aa(_0x468041)||_0x468041);return _0x468041;},_0x21a067=(_0x20b1ba,_0xc8ddf0)=>(_0x20996b,_0xc7688e)=>_0xc8ddf0(_0x20996b,_0xc7688e,_0x20b1ba);const _0x6d1176=0x1389;let _0x1a7d71=class extends _0x4b6906['RxDisposable']{constructor(_0x445740,_0x2bbd90,_0x250d78,_0x3b793b){const _0x5da163=_0x3249e4;super(),_0x202b34(this,_0x5da163(0x2fa),new Set()),_0x202b34(this,_0x5da163(0x25d),null),(this[_0x5da163(0x1da)]=_0x445740,this[_0x5da163(0x12e)]=_0x2bbd90,this[_0x5da163(0x19e)]=_0x250d78,this[_0x5da163(0xdd)]=_0x3b793b,this[_0x5da163(0x1c4)]());}['_init'](){const _0x17b077=_0x3249e4;this[_0x17b077(0x12e)][_0x17b077(0x1a9)][_0x17b077(0x24b)](_0x46ce86['takeUntil'](this[_0x17b077(0xeb)]),_0x46ce86['switchMap'](_0x17ad93=>{const _0x3f8002=_0x17b077;if(_0x17ad93){const _0x5c25af=_0x17ad93[_0x3f8002(0x2c4)];return _0x596bb7['combineLatest'](this['_collabCursorController']['getCollabCursors$'](this[_0x3f8002(0x1da)][_0x3f8002(0x24d)]),this[_0x3f8002(0xdd)][_0x3f8002(0x158)])[_0x3f8002(0x24b)](_0x46ce86['map'](([_0x210767,_0x598c6a])=>{const _0x3884c9=_0x3f8002,_0x8ea830=new Map();return _0x210767[_0x3884c9(0x2eb)]((_0x1df0c6,_0x4a6fca)=>{const _0x559255=_0x3884c9;if(_0x1df0c6[_0x559255(0x168)]===_0x5c25af){const _0x4fa800={..._0x1df0c6};_0x4fa800['color']=_0x598c6a[_0x1df0c6['color']],_0x8ea830[_0x559255(0x32a)](_0x4a6fca,_0x4fa800);}}),{'skeleton':_0x17ad93,'cursors':_0x8ea830};}));}return _0x596bb7['of']({'skeleton':null,'cursors':new Map()});}))[_0x17b077(0x2ea)](({skeleton:_0x4f95b2,cursors:_0x4c8915})=>{const _0x3800d6=_0x17b077;this[_0x3800d6(0x301)](),_0x4f95b2&&this['_updateCollabCursors'](_0x4f95b2,_0x4c8915);}),this[_0x17b077(0x12e)][_0x17b077(0x1a9)][_0x17b077(0x2ea)](_0xfd2229=>{const _0x625b30=_0x17b077;if(_0xfd2229==null)return;const {skeleton:_0x3eb3cc}=_0xfd2229,{scene:_0x519f2d}=this['_context'];_0x519f2d[_0x625b30(0x24c)]['subscribeEvent'](_0x4b6906[_0x625b30(0x17d)](_0x7b230d=>{const _0x59e549=_0x625b30;var _0x108e96,_0x337953;const {offsetX:_0x27ef73,offsetY:_0x434d46}=_0x7b230d,{x:_0x1cbc65,y:_0x2f0d52}=_0x519f2d[_0x59e549(0x22a)](_0xa2dea1['Vector2']['FromArray']([_0x27ef73,_0x434d46])),{scaleX:_0x3ba4a1,scaleY:_0xfdd5e5}=_0x519f2d[_0x59e549(0x103)](),_0x3c2683=_0x519f2d[_0x59e549(0x34e)](_0xa2dea1[_0x59e549(0x230)][_0x59e549(0x204)]),_0x3a9c37=_0x519f2d[_0x59e549(0x167)](_0xa2dea1[_0x59e549(0xd9)][_0x59e549(0x287)]([_0x1cbc65,_0x2f0d52]),_0x3c2683),_0x44aff5=_0x3eb3cc[_0x59e549(0x1a7)](_0x27ef73,_0x434d46,_0x3ba4a1,_0xfdd5e5,_0x3a9c37);((_0x108e96=this[_0x59e549(0x25d)])==null?void 0x0:_0x108e96[_0x59e549(0x24f)])===_0x44aff5[_0x59e549(0x24f)]&&((_0x337953=this[_0x59e549(0x25d)])==null?void 0x0:_0x337953[_0x59e549(0x2ab)])===_0x44aff5[_0x59e549(0x2ab)]||this[_0x59e549(0x2fa)]['forEach'](_0x536420=>{const _0x3bd3e3=_0x59e549;_0x536420[_0x3bd3e3(0x23f)](_0x44aff5);});},0x64));});}[_0x3249e4(0x351)](_0x1ac502,_0x3ba72b){const _0x3cd984=_0x3249e4;var _0x3829b9;const _0x1334b7=(_0x3829b9=this[_0x3cd984(0x12e)]['getCurrent']())==null?void 0x0:_0x3829b9['skeleton'];if(!_0x1334b7)return;const _0x4cd360=this[_0x3cd984(0x25c)]();if(!_0x4cd360)return;this[_0x3cd984(0x2fa)][_0x3cd984(0x2eb)](_0x265480=>{const _0x39935b=_0x3cd984;_0x265480[_0x39935b(0xef)]();});const {scene:_0x4fa74b}=_0x4cd360,_0x361f1b=_0x444e3(Array['from'](_0x3ba72b[_0x3cd984(0x1bc)]()))[_0x3cd984(0x21e)](_0x365fd2=>{const _0x110520=_0x3cd984,{color:_0x10e8e2,range:_0x4bd238,name:_0x1daab5,selection:_0x3066b1,sheetID:_0x689ab4}=_0x365fd2,{startColumn:_0x1d1abe,startRow:_0x5a3d6f,endColumn:_0xd43c6,endRow:_0x5e74dd}=_0x4bd238,_0x3faadf=_0x145de3[_0x110520(0x159)](_0x5a3d6f,_0x1d1abe,_0x4fa74b,_0x1334b7),_0x55a1b8=_0x145de3[_0x110520(0x159)](_0x5e74dd,_0xd43c6,_0x4fa74b,_0x1334b7),{columnHeaderHeightAndMarginTop:_0x393290}=_0x1334b7,{startX:_0x185dc0,startY:_0x546ab9}=_0x3faadf,{endX:_0x59b4e6,endY:_0x965569}=_0x55a1b8,_0x266873=_0x59b4e6-_0x185dc0,_0x25d20c=_0x965569-_0x546ab9,_0x588232={'labelPosition':_0x546ab9-_0x393290>=_0x4cb6aa?'top':_0x110520(0x359),'sheetID':_0x689ab4,'range':_0x4bd238,'color':_0x10e8e2,'name':_0x1daab5,'selection':_0x3066b1,'left':_0x185dc0,'top':_0x546ab9,'width':_0x266873,'height':_0x25d20c,'evented':!0x1,'zIndex':_0x6d1176};return new _0x3c8dd6(_0x1daab5,_0x588232);});_0x4fa74b['addObjects'](_0x361f1b,_0x11957c),this[_0x3cd984(0x2fa)]=new Set(_0x361f1b);}[_0x3249e4(0x301)](){var _0x127183;(_0x127183=this['_cursors'])==null||_0x127183['forEach'](_0x114b49=>_0x114b49['dispose']());}['_getSheetObject'](){const _0x466c14=_0x3249e4;return _0x145de3[_0x466c14(0x1b9)](this['_context'][_0x466c14(0x1af)],this[_0x466c14(0x1da)]);}};_0x1a7d71=_0xa81253([_0x21a067(0x1,_0x4b6906[_0x3249e4(0x10b)](_0x145de3['SheetSkeletonManagerService'])),_0x21a067(0x2,_0x4b6906['Inject'](_0x24ffd2)),_0x21a067(0x3,_0x4b6906['Inject'](_0x4b6906['ThemeService']))],_0x1a7d71);function _0x444e3(_0x177a08){const _0x14b2f0=_0x3249e4,_0x2e2196=new Map();return _0x177a08[_0x14b2f0(0x2eb)](_0x87811d=>{const _0x3fde98=_0x14b2f0;if(_0x2e2196[_0x3fde98(0x1dd)](_0x87811d[_0x3fde98(0x308)])){const _0x19dc5d=_0x2e2196['get'](_0x87811d[_0x3fde98(0x308)]);_0x19dc5d['name']+=',\x20'+_0x87811d[_0x3fde98(0x33e)];}else _0x2e2196[_0x3fde98(0x32a)](_0x87811d[_0x3fde98(0x308)],_0x87811d);}),Array['from'](_0x2e2196[_0x14b2f0(0x1bc)]());}var _0x1f8576=function(){const _0x26ac15=_0x3249e4;return _0x1f8576=Object[_0x26ac15(0x324)]||function(_0x102762){const _0x20d693=_0x26ac15;for(var _0x15ac6a,_0x412521=0x1,_0x18d24d=arguments[_0x20d693(0x10a)];_0x412521<_0x18d24d;_0x412521++){_0x15ac6a=arguments[_0x412521];for(var _0x2cd5d5 in _0x15ac6a)Object[_0x20d693(0x2fb)]['hasOwnProperty']['call'](_0x15ac6a,_0x2cd5d5)&&(_0x102762[_0x2cd5d5]=_0x15ac6a[_0x2cd5d5]);}return _0x102762;},_0x1f8576[_0x26ac15(0x2f0)](this,arguments);},_0x3eb8f9=function(_0x1c22e1,_0x4e3caa){const _0x18624d=_0x3249e4;var _0x1e27bf={};for(var _0x39f80a in _0x1c22e1)Object[_0x18624d(0x2fb)]['hasOwnProperty'][_0x18624d(0xdc)](_0x1c22e1,_0x39f80a)&&_0x4e3caa[_0x18624d(0x14d)](_0x39f80a)<0x0&&(_0x1e27bf[_0x39f80a]=_0x1c22e1[_0x39f80a]);if(_0x1c22e1!=null&&typeof Object['getOwnPropertySymbols']==_0x18624d(0x29f)){for(var _0x1ce74f=0x0,_0x39f80a=Object[_0x18624d(0x310)](_0x1c22e1);_0x1ce74f<_0x39f80a['length'];_0x1ce74f++)_0x4e3caa[_0x18624d(0x14d)](_0x39f80a[_0x1ce74f])<0x0&&Object[_0x18624d(0x2fb)][_0x18624d(0xf1)][_0x18624d(0xdc)](_0x1c22e1,_0x39f80a[_0x1ce74f])&&(_0x1e27bf[_0x39f80a[_0x1ce74f]]=_0x1c22e1[_0x39f80a[_0x1ce74f]]);}return _0x1e27bf;},_0x3fbefb=_0x2fa141[_0x3249e4(0xcc)](function(_0xbae009,_0x55af75){const _0x3b1955=_0x3249e4;var _0x5cad61=_0xbae009['icon'],_0x20f9ed=_0xbae009['id'],_0x174245=_0xbae009[_0x3b1955(0x157)],_0x447ce0=_0xbae009[_0x3b1955(0x27d)],_0x13148d=_0x3eb8f9(_0xbae009,[_0x3b1955(0x2b8),'id',_0x3b1955(0x157),_0x3b1955(0x27d)]),_0x14e29d=_0x3b1955(0x21b)[_0x3b1955(0xdb)](_0x20f9ed,'\x20')[_0x3b1955(0xdb)](_0x174245||'')['trim'](),_0x507cd6=_0x2fa141[_0x3b1955(0x18b)]('_'[_0x3b1955(0xdb)](_0x2ce62b()));return _0x253ffb(_0x5cad61,''[_0x3b1955(0xdb)](_0x20f9ed),{'defIds':_0x5cad61[_0x3b1955(0x2ee)],'idSuffix':_0x507cd6[_0x3b1955(0x1a2)]},_0x1f8576({'ref':_0x55af75,'className':_0x14e29d},_0x13148d),_0x447ce0);});function _0x253ffb(_0x19136b,_0x98f9d6,_0x4144a2,_0x3b3296,_0x3bfec3){return _0x2fa141['createElement'](_0x19136b['tag'],_0x1f8576(_0x1f8576({'key':_0x98f9d6},_0x522ea8(_0x19136b,_0x4144a2,_0x3bfec3)),_0x3b3296),(_0x1778f2(_0x19136b,_0x4144a2)['children']||[])['map'](function(_0x5c6115,_0x507a63){const _0x31580d=_0x366c;return _0x253ffb(_0x5c6115,''[_0x31580d(0xdb)](_0x98f9d6,'-')[_0x31580d(0xdb)](_0x19136b[_0x31580d(0x271)],'-')[_0x31580d(0xdb)](_0x507a63),_0x4144a2,void 0x0,_0x3bfec3);}));}function _0x522ea8(_0x451943,_0x2a8050,_0x55ca61){const _0x906bd5=_0x3249e4;var _0x106432=_0x1f8576({},_0x451943[_0x906bd5(0x104)]);_0x55ca61!=null&&_0x55ca61[_0x906bd5(0x173)]&&_0x106432['fill']===_0x906bd5(0x173)&&(_0x106432[_0x906bd5(0x285)]=_0x55ca61[_0x906bd5(0x173)]),_0x451943[_0x906bd5(0x271)]==='mask'&&_0x106432['id']&&(_0x106432['id']=_0x106432['id']+_0x2a8050[_0x906bd5(0x290)]),Object[_0x906bd5(0x2aa)](_0x106432)[_0x906bd5(0x2eb)](function(_0x39aa69){const _0x4d9939=_0x906bd5;var _0x3a8edb=_0x39aa69[0x0],_0x72055e=_0x39aa69[0x1];_0x3a8edb===_0x4d9939(0x251)&&typeof _0x72055e=='string'&&(_0x106432[_0x3a8edb]=_0x72055e[_0x4d9939(0x134)](/url\(#(.*)\)/,_0x4d9939(0x2c3)[_0x4d9939(0xdb)](_0x2a8050[_0x4d9939(0x290)],')')));});var _0x10738b=_0x2a8050[_0x906bd5(0x2ee)];return!_0x10738b||_0x10738b[_0x906bd5(0x10a)]===0x0||(_0x451943['tag']==='use'&&_0x106432['xlink:href']&&(_0x106432[_0x906bd5(0x2a2)]=_0x106432[_0x906bd5(0x2a2)]+_0x2a8050[_0x906bd5(0x290)]),Object['entries'](_0x106432)[_0x906bd5(0x2eb)](function(_0x1d93b9){const _0x1250b3=_0x906bd5;var _0x71800a=_0x1d93b9[0x0],_0x49d1fd=_0x1d93b9[0x1];typeof _0x49d1fd=='string'&&(_0x106432[_0x71800a]=_0x49d1fd[_0x1250b3(0x134)](/url\(#(.*)\)/,_0x1250b3(0x2c3)[_0x1250b3(0xdb)](_0x2a8050[_0x1250b3(0x290)],')')));})),_0x106432;}function _0x1778f2(_0x3fe519,_0x9bba0d){const _0xb4446a=_0x3249e4;var _0x4449c1,_0x3dbb9c=_0x9bba0d['defIds'];return!_0x3dbb9c||_0x3dbb9c['length']===0x0?_0x3fe519:_0x3fe519['tag']===_0xb4446a(0x1c8)&&(!((_0x4449c1=_0x3fe519[_0xb4446a(0xc2)])===null||_0x4449c1===void 0x0)&&_0x4449c1[_0xb4446a(0x10a)])?_0x1f8576(_0x1f8576({},_0x3fe519),{'children':_0x3fe519[_0xb4446a(0xc2)][_0xb4446a(0x21e)](function(_0x33e914){const _0x27da9=_0xb4446a;return typeof _0x33e914[_0x27da9(0x104)]['id']==_0x27da9(0x110)&&_0x3dbb9c&&_0x3dbb9c[_0x27da9(0x14d)](_0x33e914['attrs']['id'])>-0x1?_0x1f8576(_0x1f8576({},_0x33e914),{'attrs':_0x1f8576(_0x1f8576({},_0x33e914[_0x27da9(0x104)]),{'id':_0x33e914[_0x27da9(0x104)]['id']+_0x9bba0d['idSuffix']})}):_0x33e914;})}):_0x3fe519;}function _0x2ce62b(){const _0x51081d=_0x3249e4;return Math['random']()[_0x51081d(0x2f3)](0x24)[_0x51081d(0x26d)](0x2,0x8);}_0x3fbefb[_0x3249e4(0x2bb)]=_0x3249e4(0x22b);var _0x59bed7={'tag':_0x3249e4(0x124),'attrs':{'fill':_0x3249e4(0x135),'viewBox':_0x3249e4(0x329),'width':_0x3249e4(0x26a),'height':_0x3249e4(0x26a)},'children':[{'tag':'g','attrs':{'clipPath':_0x3249e4(0x31d)},'children':[{'tag':'path','attrs':{'stroke':_0x3249e4(0x35a),'d':_0x3249e4(0x211),'strokeLinecap':_0x3249e4(0x27a),'strokeLinejoin':_0x3249e4(0x27a),'strokeWidth':1.2}}]},{'tag':_0x3249e4(0x1c8),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3249e4(0xde)},'children':[{'tag':_0x3249e4(0x100),'attrs':{'fill':_0x3249e4(0x222),'d':_0x3249e4(0x141)}}]}]}],'defIds':[_0x3249e4(0xde)]},_0x508e5a=_0x2fa141[_0x3249e4(0xcc)](function(_0x4f4877,_0x42842b){const _0x2ab4c8=_0x3249e4;return _0x2fa141[_0x2ab4c8(0x148)](_0x3fbefb,Object[_0x2ab4c8(0x324)]({},_0x4f4877,{'id':_0x2ab4c8(0x228),'ref':_0x42842b,'icon':_0x59bed7}));});_0x508e5a['displayName']=_0x3249e4(0x325);var _0x552d17={'tag':'svg','attrs':{'fill':_0x3249e4(0x135),'viewBox':_0x3249e4(0x33b),'width':'1em','height':_0x3249e4(0x26a)},'children':[{'tag':'g','attrs':{'clipPath':_0x3249e4(0xd7)},'children':[{'tag':_0x3249e4(0x100),'attrs':{'stroke':_0x3249e4(0x35a),'d':_0x3249e4(0x1db),'strokeLinecap':_0x3249e4(0x27a),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x3249e4(0x1c8),'attrs':{},'children':[{'tag':_0x3249e4(0x119),'attrs':{'id':_0x3249e4(0x29a)},'children':[{'tag':_0x3249e4(0x100),'attrs':{'fill':_0x3249e4(0x222),'d':_0x3249e4(0x141),'transform':_0x3249e4(0x311)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0xac1f66=_0x2fa141[_0x3249e4(0xcc)](function(_0xf35004,_0xe2a946){const _0x5f56ee=_0x3249e4;return _0x2fa141[_0x5f56ee(0x148)](_0x3fbefb,Object[_0x5f56ee(0x324)]({},_0xf35004,{'id':_0x5f56ee(0x1e6),'ref':_0xe2a946,'icon':_0x552d17}));});_0xac1f66[_0x3249e4(0x2bb)]='OnLineSingle';const _0x4e3626={'onlineStatusIcon':_0x3249e4(0x30b),'onlineStatusTitle':_0x3249e4(0x344),'onlineStatus':_0x3249e4(0x20b),'online':_0x3249e4(0x247),'offline':_0x3249e4(0x1a1)};function _0x187157(_0x306846){const _0xd1053c=_0x3249e4;switch(_0x306846){case _0x52f34c['CollaborationStatus'][_0xd1053c(0x1cf)]:return _0xd1053c(0xc5);case _0x52f34c[_0xd1053c(0xd4)]['CONFLICT']:return'collabStatus.conflict';case _0x52f34c[_0xd1053c(0xd4)][_0xd1053c(0x205)]:return _0xd1053c(0x131);case _0x52f34c[_0xd1053c(0xd4)][_0xd1053c(0x21c)]:return'collabStatus.notCollab';case _0x52f34c[_0xd1053c(0xd4)][_0xd1053c(0x177)]:case _0x52f34c[_0xd1053c(0xd4)][_0xd1053c(0x318)]:return _0xd1053c(0x175);case _0x52f34c[_0xd1053c(0xd4)][_0xd1053c(0x220)]:case _0x52f34c[_0xd1053c(0xd4)][_0xd1053c(0xf6)]:return'collabStatus.synced';}}function _0x1f21e5(_0x1f801e){const _0x5dce64=_0x3249e4,{status$:_0x371e07}=_0x1f801e,_0x32d03c=_0x30ed06[_0x5dce64(0x210)](_0x371e07,_0x52f34c[_0x5dce64(0xd4)][_0x5dce64(0x21c)]),_0x49662c=_0x30ed06[_0x5dce64(0x312)](_0x4b6906[_0x5dce64(0xe1)]),_0x1e2cc2=_0x30ed06[_0x5dce64(0x312)](_0x52f34c[_0x5dce64(0xc3)]),_0x3c7982=_0x32d03c!==_0x52f34c[_0x5dce64(0xd4)][_0x5dce64(0x1cf)],_0x1aa90e=_0x49662c['t'](_0x187157(_0x32d03c)),_0x34983c=_0x913b08['clsx'](_0x4e3626[_0x5dce64(0xca)],{[_0x4e3626[_0x5dce64(0x2fe)]]:_0x3c7982,[_0x4e3626[_0x5dce64(0x17b)]]:!_0x3c7982}),_0x108230=_0x3c7982?_0x2d1486[_0x5dce64(0x109)](_0xac1f66,{}):_0x2d1486['jsx'](_0x508e5a,{}),_0x3b3cdd=_0x2fa141[_0x5dce64(0x1e7)](()=>{const _0x212004=_0x5dce64;_0x3c7982||_0x1e2cc2[_0x212004(0x24e)]();},[_0x3c7982,_0x1e2cc2]);function _0x10e586(){const _0x1fd7d8=_0x5dce64;return _0x2d1486[_0x1fd7d8(0xe2)](_0x1fd7d8(0x2a1),{'className':_0x913b08['clsx'](_0x34983c,_0x1fd7d8(0x1ce)),'onClick':_0x3b3cdd,'children':[_0x2d1486[_0x1fd7d8(0x109)](_0x1fd7d8(0x2a1),{'className':_0x4e3626[_0x1fd7d8(0x152)],'children':_0x108230}),_0x2d1486[_0x1fd7d8(0x109)](_0x1fd7d8(0x2a1),{'className':_0x4e3626['onlineStatusTitle'],'children':_0x1aa90e})]});}return _0x3c7982?_0x10e586():_0x2d1486[_0x5dce64(0x109)](_0x913b08[_0x5dce64(0x199)],{'title':_0x49662c['t'](_0x5dce64(0x2fc)),'children':_0x10e586()});}var _0x7991bd=Object[_0x3249e4(0x16f)],_0x409490=(_0x5c6abf,_0x437701,_0x456396,_0x46648f)=>{for(var _0x502c78=_0x46648f>0x1?void 0x0:_0x46648f?_0x7991bd(_0x437701,_0x456396):_0x437701,_0x49c02e=_0x5c6abf['length']-0x1,_0x3434ff;_0x49c02e>=0x0;_0x49c02e--)(_0x3434ff=_0x5c6abf[_0x49c02e])&&(_0x502c78=_0x3434ff(_0x502c78)||_0x502c78);return _0x502c78;},_0x52427e=(_0x2c68d5,_0x25a7af)=>(_0x4e6936,_0x181807)=>_0x25a7af(_0x4e6936,_0x181807,_0x2c68d5);_0x24e36d[_0x3249e4(0x342)]=class extends _0x4b6906['Disposable']{constructor(_0x1ef9c3,_0x13bfac,_0x3dae20,_0x318a65){const _0x3125fb=_0x3249e4;super(),_0x202b34(this,_0x3125fb(0x239),new _0x596bb7[(_0x3125fb(0x2db))](_0x52f34c[_0x3125fb(0xd4)][_0x3125fb(0x21c)])),(this['_univerInstanceService']=_0x1ef9c3,this['_injector']=_0x13bfac,this[_0x3125fb(0x23d)]=_0x3dae20,this[_0x3125fb(0x182)]=_0x318a65,this[_0x3125fb(0x242)](),this[_0x3125fb(0x31b)]());}['_initStatusListener'](){const _0x223792=_0x3249e4;this['disposeWithMe'](this[_0x223792(0x11d)][_0x223792(0x2b3)]['pipe'](_0x596bb7[_0x223792(0x2e0)](()=>{const _0x18fe4f=_0x223792,_0x2747ea=this['_univerInstanceService'][_0x18fe4f(0x2be)]();return _0x2747ea?this[_0x18fe4f(0x23d)][_0x18fe4f(0x277)](_0x2747ea['getUnitId']()):_0x596bb7['of'](null);}),_0x596bb7[_0x223792(0x2e0)](_0x936a57=>_0x936a57?_0x936a57['status$']:_0x596bb7['of'](_0x52f34c[_0x223792(0xd4)][_0x223792(0x21c)])))[_0x223792(0x2ea)](_0x3db9de=>{const _0x1f2082=_0x223792;this[_0x1f2082(0x239)][_0x1f2082(0x2ad)](_0x3db9de);}));}['_initStatusComponent'](){const _0x123fd1=_0x3249e4;this[_0x123fd1(0x2a0)](this[_0x123fd1(0x182)][_0x123fd1(0x256)](_0x30ed06[_0x123fd1(0x2d9)][_0x123fd1(0x184)],()=>_0x30ed06[_0x123fd1(0x1d4)](_0xd728af({'status$':this[_0x123fd1(0x239)]['asObservable']()}),this[_0x123fd1(0x10e)])));}},_0x24e36d[_0x3249e4(0x342)]=_0x409490([_0x52427e(0x0,_0x4b6906[_0x3249e4(0x356)]),_0x52427e(0x1,_0x4b6906['Inject'](_0x4b6906[_0x3249e4(0x2d8)])),_0x52427e(0x2,_0x4b6906['Inject'](_0x52f34c[_0x3249e4(0x1cb)])),_0x52427e(0x3,_0x30ed06[_0x3249e4(0xf4)])],_0x24e36d['DesktopCollaborationStatusDisplayController']);function _0xd728af(_0x580658){const {status$:_0x49e973}=_0x580658;return function(){const _0x9a8df5=_0x366c;return _0x2d1486[_0x9a8df5(0x109)](_0x1f21e5,{'status$':_0x49e973});};}var _0x3acea1=Object[_0x3249e4(0x16f)],_0x930978=(_0x5213a7,_0x10d9bd,_0x1733aa,_0x20cf48)=>{const _0x8e3b12=_0x3249e4;for(var _0x2bad37=_0x20cf48>0x1?void 0x0:_0x20cf48?_0x3acea1(_0x10d9bd,_0x1733aa):_0x10d9bd,_0x11451f=_0x5213a7[_0x8e3b12(0x10a)]-0x1,_0x3b2d76;_0x11451f>=0x0;_0x11451f--)(_0x3b2d76=_0x5213a7[_0x11451f])&&(_0x2bad37=_0x3b2d76(_0x2bad37)||_0x2bad37);return _0x2bad37;},_0x38ddb9=(_0x412f1a,_0x34e258)=>(_0x370db7,_0x3d11af)=>_0x34e258(_0x370db7,_0x3d11af,_0x412f1a);let _0x3e296d=class extends _0x4b6906[_0x3249e4(0x2e6)]{constructor(_0x4a4b22,_0x2fb0da,_0x4436f6,_0x2cd559,_0x1798a1,_0x582d41){const _0x251497=_0x3249e4;super(),this[_0x251497(0x257)]=_0x4a4b22,this[_0x251497(0xe8)]=_0x2fb0da,this[_0x251497(0x23c)]=_0x4436f6,this[_0x251497(0x317)]=_0x2cd559,this[_0x251497(0xe0)]=_0x1798a1,this[_0x251497(0x346)]=_0x582d41,this['_setupBeforeClosingHandler'](),this[_0x251497(0x1a6)]();}[_0x3249e4(0x1ab)](){const _0x4030ae=_0x3249e4;this['disposeWithMe'](this[_0x4030ae(0x257)][_0x4030ae(0x2f6)](()=>{const _0xbeb239=_0x4030ae;if(this[_0xbeb239(0xe8)][_0xbeb239(0x2ef)][_0xbeb239(0x32d)])return this['_localeService']['t'](_0xbeb239(0x2ec));}));}[_0x3249e4(0x1a6)](){const _0x2fc309=_0x3249e4;this['disposeWithMe'](this[_0x2fc309(0x23c)][_0x2fc309(0x14e)][_0x2fc309(0x2ea)](_0x103ad9=>{const _0x33c597=_0x2fc309;_0x103ad9['id']===_0x52f34c[_0x33c597(0x197)][_0x33c597(0x2bf)]&&this['_messageService'][_0x33c597(0x1e8)]({'type':_0x913b08[_0x33c597(0x265)]['Warning'],'content':this[_0x33c597(0x346)]['t'](_0x33c597(0xbc))}),_0x103ad9['id']===_0x52f34c[_0x33c597(0x197)]['CLOSE_ROOM']&&this[_0x33c597(0x317)][_0x33c597(0x1e8)]({'type':_0x913b08[_0x33c597(0x265)]['Warning'],'content':this[_0x33c597(0x346)]['t']('collaboration.closeRoom')}),_0x103ad9['id']===_0x52f34c[_0x33c597(0x197)][_0x33c597(0x327)]&&this['_notificationService'][_0x33c597(0x1e8)]({'title':this[_0x33c597(0x346)]['t'](_0x33c597(0x336)),'content':this['_localeService']['t'](_0x33c597(0x2b4)),'type':_0x33c597(0x267),'duration':0x0}),_0x103ad9['id']===_0x52f34c[_0x33c597(0x197)]['CONFLICT']&&this[_0x33c597(0x317)][_0x33c597(0x1e8)]({'type':_0x913b08[_0x33c597(0x265)][_0x33c597(0x2d2)],'content':this[_0x33c597(0x346)]['t'](_0x33c597(0x21f))+'('+_0x103ad9[_0x33c597(0x140)]+')'}),_0x103ad9['id']===_0x52f34c[_0x33c597(0x197)]['JOIN_ROOM_FAILED']&&this[_0x33c597(0x317)]['show']({'type':_0x913b08[_0x33c597(0x265)][_0x33c597(0xe4)],'content':this[_0x33c597(0x346)]['t'](_0x103ad9[_0x33c597(0x140)]||'')}),_0x103ad9['id']===_0x52f34c['CollaborationUIEventId'][_0x33c597(0x286)]&&this[_0x33c597(0x317)][_0x33c597(0x1e8)]({'type':_0x913b08[_0x33c597(0x265)][_0x33c597(0xe4)],'content':this[_0x33c597(0x346)]['t']('session.will-retry')}),_0x103ad9['id']===_0x52f34c['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x33c597(0x317)]['show']({'type':_0x913b08[_0x33c597(0x265)][_0x33c597(0x2d2)],'content':this[_0x33c597(0x346)]['t']('session.connection-failed')}),_0x103ad9['id']===_0x52f34c[_0x33c597(0x197)][_0x33c597(0x2ba)]&&this[_0x33c597(0x317)]['show']({'type':_0x913b08['MessageType'][_0x33c597(0x2d2)],'content':this[_0x33c597(0x346)]['t'](_0x33c597(0x1ae))});}));}};_0x3e296d=_0x930978([_0x38ddb9(0x0,_0x30ed06['IBeforeCloseService']),_0x38ddb9(0x1,_0x52f34c[_0x3249e4(0x2c9)]),_0x38ddb9(0x2,_0x4b6906[_0x3249e4(0x10b)](_0x52f34c['CollaborationUIEventService'])),_0x38ddb9(0x3,_0x30ed06[_0x3249e4(0x284)]),_0x38ddb9(0x4,_0x30ed06[_0x3249e4(0x237)]),_0x38ddb9(0x5,_0x4b6906[_0x3249e4(0x10b)](_0x4b6906[_0x3249e4(0xe1)]))],_0x3e296d);const _0x3fda7e=_0x3249e4(0x357),_0x3233ce={},_0x1b19e7=_0x4b6906[_0x3249e4(0x153)](_0x3249e4(0x316));var _0x51ddc2=Object['getOwnPropertyDescriptor'],_0xe2d098=(_0x4feaf1,_0x30d93b,_0x285f7a,_0x1a05f2)=>{const _0x10a863=_0x3249e4;for(var _0x55e843=_0x1a05f2>0x1?void 0x0:_0x1a05f2?_0x51ddc2(_0x30d93b,_0x285f7a):_0x30d93b,_0x442b60=_0x4feaf1[_0x10a863(0x10a)]-0x1,_0x30028e;_0x442b60>=0x0;_0x442b60--)(_0x30028e=_0x4feaf1[_0x442b60])&&(_0x55e843=_0x30028e(_0x55e843)||_0x55e843);return _0x55e843;},_0x1a1b10=(_0x15ade1,_0x1bc2f0)=>(_0x356ba8,_0x4f11b4)=>_0x1bc2f0(_0x356ba8,_0x4f11b4,_0x15ade1);_0x24e36d[_0x3249e4(0x12a)]=class extends _0x4b6906[_0x3249e4(0x304)]{constructor(_0x18663a,_0x43ff60,_0x27e3ed,_0x941a0f,_0x4be021){const _0x644d51=_0x3249e4;super(),this[_0x644d51(0x34b)]=_0x18663a,this[_0x644d51(0x2cb)]=_0x43ff60,this['_commandService']=_0x27e3ed,this[_0x644d51(0x27b)]=_0x941a0f,_0x4be021?_0x4be021==null||_0x4be021[_0x644d51(0x1ed)]()[_0x644d51(0x185)](()=>this[_0x644d51(0x1c4)]()):(this[_0x644d51(0x2cb)][_0x644d51(0x2de)](_0x644d51(0x35c),_0x644d51(0x1bf)),this['_init']());}async[_0x3249e4(0x1c4)](){const _0x434819=_0x3249e4,_0x44aa5c=this['_urlService'][_0x434819(0xed)](_0x434819(0x1af)),_0x793394=this[_0x434819(0x34b)][_0x434819(0xed)]('type'),_0x3c5907=this[_0x434819(0x34b)][_0x434819(0xed)](_0x434819(0x333));if(!_0x44aa5c||!_0x793394){this['_logService'][_0x434819(0x2de)](_0x434819(0x35c),_0x434819(0x33c));return;}const _0x262d76=await this[_0x434819(0x27b)][_0x434819(0x1df)](_0x44aa5c,Number(_0x793394),_0x3c5907);_0x262d76&&_0x262d76 instanceof _0x4b6906[_0x434819(0x29b)]&&this[_0x434819(0x15b)](_0x262d76);}async[_0x3249e4(0x15b)](_0x3dd1ef){const _0x59185f=_0x3249e4;await this['_updateSubUnitFromURLParams'](_0x3dd1ef),_0x3dd1ef[_0x59185f(0xea)]['pipe'](_0x596bb7[_0x59185f(0x33f)](this['dispose$']))[_0x59185f(0x2ea)](_0x39ac14=>{const _0x531d91=_0x59185f;_0x39ac14&&this[_0x531d91(0x1f4)](_0x39ac14);}),this[_0x59185f(0x34b)][_0x59185f(0x1f6)][_0x59185f(0x24b)](_0x596bb7[_0x59185f(0x33f)](this['dispose$']))[_0x59185f(0x2ea)](()=>this['_updateSubUnitFromURLParams'](_0x3dd1ef));}['_updateURLWithCurrentState'](_0x49f9f4,_0x2c8d85=!0x1){const _0x2c796c=_0x3249e4,_0x2f628f=this[_0x2c796c(0x34b)][_0x2c796c(0xed)](_0x2c796c(0x333));_0x49f9f4[_0x2c796c(0xda)]()!==_0x2f628f&&this['_urlService'][_0x2c796c(0x202)](_0x2c796c(0x333),_0x49f9f4[_0x2c796c(0xda)](),_0x2c8d85);}async[_0x3249e4(0x30a)](_0x47429f){const _0x3cfe60=_0x3249e4;var _0x240dc5;const _0x52581e=this[_0x3cfe60(0x34b)][_0x3cfe60(0xed)]('subunit');if(!_0x52581e||!_0x47429f[_0x3cfe60(0x2e1)](_0x52581e)){const _0x437cc6=_0x47429f[_0x3cfe60(0x1fb)]()[0x0],_0x1e55fc=_0x47429f[_0x3cfe60(0x2e1)](_0x437cc6);if(!_0x1e55fc)return;this[_0x3cfe60(0x1f4)](_0x1e55fc,!0x0),await this['_commandService'][_0x3cfe60(0x1d6)](_0x5de2fa[_0x3cfe60(0x231)]['id'],{'unitId':_0x47429f[_0x3cfe60(0x293)](),'subUnitId':_0x437cc6});return;}((_0x240dc5=_0x47429f[_0x3cfe60(0x2a9)]())==null?void 0x0:_0x240dc5[_0x3cfe60(0xda)]())!==_0x52581e&&await this[_0x3cfe60(0x13b)][_0x3cfe60(0x1d6)](_0x5de2fa['SetWorksheetActivateCommand']['id'],{'unitId':_0x47429f['getUnitId'](),'subUnitId':_0x52581e});}},_0x24e36d['CollaborationDataLoaderController']=_0xe2d098([_0x1a1b10(0x0,_0x1b19e7),_0x1a1b10(0x1,_0x4b6906['ILogService']),_0x1a1b10(0x2,_0x4b6906[_0x3249e4(0x1e9)]),_0x1a1b10(0x3,_0x4b6906[_0x3249e4(0x10b)](_0x52f34c['DataLoaderService'])),_0x1a1b10(0x4,_0x4b6906[_0x3249e4(0x181)](_0x221cf2[_0x3249e4(0x1c1)]))],_0x24e36d[_0x3249e4(0x12a)]);var _0x5a7dd3=Object[_0x3249e4(0x16f)],_0x42cda1=(_0x2b63bf,_0x3cae6e,_0x56b863,_0x5deb26)=>{for(var _0x1bea18=_0x5deb26>0x1?void 0x0:_0x5deb26?_0x5a7dd3(_0x3cae6e,_0x56b863):_0x3cae6e,_0x5d19ca=_0x2b63bf['length']-0x1,_0x55262b;_0x5d19ca>=0x0;_0x5d19ca--)(_0x55262b=_0x2b63bf[_0x5d19ca])&&(_0x1bea18=_0x55262b(_0x1bea18)||_0x1bea18);return _0x1bea18;},_0x4d0e04=(_0x28258f,_0x408cf6)=>(_0x5974c6,_0x235119)=>_0x408cf6(_0x5974c6,_0x235119,_0x28258f);let _0x34da4a=class{constructor(_0xd1348e,_0x40e1bb,_0x2c70e1){const _0x4acdcd=_0x3249e4;this['_injector']=_0xd1348e,this[_0x4acdcd(0x1ff)]=_0x40e1bb,this[_0x4acdcd(0x136)]=_0x2c70e1;}[_0x3249e4(0x2e9)](_0x3d47bf){const _0x5bbfd5=_0x3249e4;this[_0x5bbfd5(0x2f8)](_0x3d47bf),this[_0x5bbfd5(0x303)](_0x3d47bf);}[_0x3249e4(0x138)](_0x45da17){const _0x2aca13=_0x3249e4,{unitID:_0x5e483f}=_0x45da17,_0x489367=this[_0x2aca13(0x136)]['getRenderById'](_0x5e483f)[_0x2aca13(0x2f5)](_0x4142bf[_0x2aca13(0x215)]),{redoCache:_0x518a09}=_0x489367[_0x2aca13(0x132)]();if(_0x518a09[_0x2aca13(0x10a)]===0x0)return _0x45da17;let _0x1b4c04=_0x4b6906['Tools']['deepClone'](_0x45da17[_0x2aca13(0x30f)][0x0]);for(let _0x5dfc67=0x0;_0x5dfc67<_0x518a09[_0x2aca13(0x10a)];_0x5dfc67++){const _0x38abad={'id':_0x2aca13(0x18a),'params':{..._0x518a09[_0x5dfc67]}},_0x408db6=this[_0x2aca13(0x1ff)][_0x2aca13(0x18c)](_0x1b4c04,_0x38abad,!0x1);if(_0x5873f4[_0x2aca13(0x2b0)](_0x408db6))throw _0x408db6['error'];_0x1b4c04=_0x408db6['m1Prime'];}return{..._0x4b6906['Tools']['deepClone'](_0x45da17),'mutations':[_0x1b4c04]};}[_0x3249e4(0x2f8)](_0x711650){const _0x195a77=_0x3249e4,{unitID:_0x49563a}=_0x711650,_0x326041=this['_renderManagerService'][_0x195a77(0xdf)](_0x49563a)[_0x195a77(0x2f5)](_0x4142bf[_0x195a77(0x215)]),{undoCache:_0x386389,redoCache:_0xfed929}=_0x326041[_0x195a77(0x132)]();if(_0x386389[_0x195a77(0x10a)]===0x0||_0xfed929[_0x195a77(0x10a)]===0x0)return;const _0x388bcd=[],_0x528d57=[];let _0x5d1e04=_0x4b6906['Tools'][_0x195a77(0x358)](_0x711650[_0x195a77(0x30f)][0x0]),_0x6b4f6c=_0x4b6906[_0x195a77(0x201)]['deepClone'](_0x711650[_0x195a77(0x30f)][0x0]);for(let _0x13daf0=_0x386389[_0x195a77(0x10a)]-0x1;_0x13daf0>=0x0;_0x13daf0--){const _0x69902a={'id':'doc.mutation.rich-text-editing','params':{..._0x386389[_0x13daf0]}},_0x32a932={'id':'doc.mutation.rich-text-editing','params':{..._0xfed929[_0x13daf0]}},_0xa32f66=this[_0x195a77(0x1ff)]['transformMutation'](_0x5d1e04,_0x69902a,!0x1),_0x5ca2ae=this[_0x195a77(0x1ff)]['transformMutation'](_0x6b4f6c,_0x32a932,!0x1);if(_0x5873f4[_0x195a77(0x2b0)](_0xa32f66))throw _0xa32f66[_0x195a77(0x267)];if(_0x5873f4[_0x195a77(0x2b0)](_0x5ca2ae))throw _0x5ca2ae['error'];_0x388bcd['unshift'](_0xa32f66[_0x195a77(0x14c)][_0x195a77(0xc8)]),_0x528d57['unshift'](_0x5ca2ae[_0x195a77(0x14c)][_0x195a77(0xc8)]),_0x5d1e04=_0xa32f66[_0x195a77(0x154)],_0x6b4f6c=_0x5ca2ae[_0x195a77(0x154)];}_0x326041[_0x195a77(0xf5)]({'undoCache':_0x388bcd,'redoCache':_0x528d57});}['_transformPreviousActiveRange'](_0x4485d8){const _0x170c2b=_0x3249e4,{unitID:_0x296c11}=_0x4485d8,_0x5007a7=this[_0x170c2b(0x136)][_0x170c2b(0xdf)](_0x296c11)[_0x170c2b(0x2f5)](_0x4142bf[_0x170c2b(0x215)]),_0x51e96c=_0x5007a7[_0x170c2b(0x1aa)]();if(_0x51e96c==null)return;const _0xc2ebc6=[{'id':_0x170c2b(0x18a),'params':{'unitId':_0x4485d8[_0x170c2b(0x2d1)],'actions':null,'textRanges':[_0x51e96c]}}],_0x6ee756=this['_transformService'][_0x170c2b(0x217)](_0x4485d8,_0xc2ebc6);if(!_0x5873f4[_0x170c2b(0x1e2)](_0x6ee756))throw _0x6ee756[_0x170c2b(0x267)];const _0x508474=_0x6ee756[_0x170c2b(0x14c)][0x0][_0x170c2b(0xc8)][_0x170c2b(0x1ea)];Array['isArray'](_0x508474)&&_0x508474[_0x170c2b(0x10a)]&&_0x5007a7[_0x170c2b(0x25f)](_0x508474[0x0]);}};_0x34da4a=_0x42cda1([_0x4d0e04(0x0,_0x4b6906[_0x3249e4(0x10b)](_0x4b6906['Injector'])),_0x4d0e04(0x1,_0x5873f4[_0x3249e4(0x1e5)]),_0x4d0e04(0x2,_0xa2dea1['IRenderManagerService'])],_0x34da4a);var _0x2d5a44=Object[_0x3249e4(0x16f)],_0x4acaa0=(_0x3a03dc,_0x308fee,_0x14530e,_0x576d16)=>{const _0x32f230=_0x3249e4;for(var _0x400d70=_0x576d16>0x1?void 0x0:_0x576d16?_0x2d5a44(_0x308fee,_0x14530e):_0x308fee,_0x4a0438=_0x3a03dc[_0x32f230(0x10a)]-0x1,_0x352081;_0x4a0438>=0x0;_0x4a0438--)(_0x352081=_0x3a03dc[_0x4a0438])&&(_0x400d70=_0x352081(_0x400d70)||_0x400d70);return _0x400d70;},_0x418141=(_0x5948d1,_0x237f8f)=>(_0x2f1cc0,_0x51440a)=>_0x237f8f(_0x2f1cc0,_0x51440a,_0x5948d1);let _0x482565=class{constructor(_0xcb283,_0x91e741,_0x52c9f1){const _0x5425e5=_0x3249e4;this[_0x5425e5(0x10e)]=_0xcb283,this[_0x5425e5(0x1ff)]=_0x91e741,this[_0x5425e5(0xc6)]=_0x52c9f1;}[_0x3249e4(0x2df)](_0x483564){this['_transformHistoryAndStateStack'](_0x483564);}[_0x3249e4(0x138)](_0x20c6cf){const _0x1b32fc=_0x3249e4,{unitID:_0x35fe57}=_0x20c6cf,{collaboration:_0x551d1b}=this[_0x1b32fc(0xc6)][_0x1b32fc(0x258)](_0x35fe57);if(_0x551d1b[_0x1b32fc(0x10a)]===0x0)return _0x20c6cf;let _0x977fd=_0x4b6906[_0x1b32fc(0x201)]['deepClone'](_0x20c6cf[_0x1b32fc(0x30f)][0x0]);for(let _0x4dd57e=0x0;_0x4dd57e<_0x551d1b['length'];_0x4dd57e++){const _0x57c418={'id':_0x1b32fc(0x18a),'params':{'unitId':_0x551d1b[_0x4dd57e][_0x1b32fc(0x24d)],..._0x551d1b[_0x4dd57e][_0x1b32fc(0x348)]}},_0x2d6b41=this[_0x1b32fc(0x1ff)][_0x1b32fc(0x18c)](_0x977fd,_0x57c418,!0x1);if(_0x5873f4[_0x1b32fc(0x2b0)](_0x2d6b41))throw _0x2d6b41[_0x1b32fc(0x267)];_0x977fd=_0x2d6b41[_0x1b32fc(0x154)];}return{..._0x4b6906[_0x1b32fc(0x201)][_0x1b32fc(0x358)](_0x20c6cf),'mutations':[_0x977fd]};}[_0x3249e4(0x116)](_0x42b37e){const _0x4dd321=_0x3249e4,{unitID:_0x614b86}=_0x42b37e,{history:_0xa5b32a,collaboration:_0x263e61}=this[_0x4dd321(0xc6)][_0x4dd321(0x258)](_0x614b86);if(_0xa5b32a[_0x4dd321(0x10a)]===0x0&&_0x263e61[_0x4dd321(0x10a)]===0x0)return;const _0x269eea=[],_0x17100d=[];let _0x1b9f7a=_0x4b6906['Tools'][_0x4dd321(0x358)](_0x42b37e[_0x4dd321(0x30f)][0x0]),_0x429915=_0x4b6906[_0x4dd321(0x201)]['deepClone'](_0x42b37e[_0x4dd321(0x30f)][0x0]);for(let _0x45cc6c=_0xa5b32a[_0x4dd321(0x10a)]-0x1;_0x45cc6c>=0x0;_0x45cc6c--){const _0x5806d0={'id':_0x4dd321(0x18a),'params':{'unitId':_0xa5b32a[_0x45cc6c][_0x4dd321(0x24d)],..._0xa5b32a[_0x45cc6c][_0x4dd321(0x165)]}},_0x3f2e30={'id':_0x4dd321(0x18a),'params':{'unitId':_0xa5b32a[_0x45cc6c][_0x4dd321(0x24d)],..._0xa5b32a[_0x45cc6c]['redoState']}},_0x2b1379=this['_transformService'][_0x4dd321(0x18c)](_0x1b9f7a,_0x5806d0,!0x1),_0x4d6550=this[_0x4dd321(0x1ff)][_0x4dd321(0x18c)](_0x429915,_0x3f2e30,!0x1);if(_0x5873f4[_0x4dd321(0x2b0)](_0x2b1379))throw _0x2b1379[_0x4dd321(0x267)];if(_0x5873f4['isTransformMutationFailure'](_0x4d6550))throw _0x4d6550[_0x4dd321(0x267)];_0x269eea[_0x4dd321(0x27f)]({..._0xa5b32a[_0x45cc6c],'undoState':_0x2b1379[_0x4dd321(0x14c)][_0x4dd321(0xc8)],'redoState':_0x4d6550[_0x4dd321(0x14c)]['params']}),_0x1b9f7a=_0x2b1379[_0x4dd321(0x154)],_0x429915=_0x4d6550[_0x4dd321(0x154)];}_0x1b9f7a=_0x4b6906['Tools'][_0x4dd321(0x358)](_0x42b37e[_0x4dd321(0x30f)][0x0]),_0x429915=_0x4b6906[_0x4dd321(0x201)][_0x4dd321(0x358)](_0x42b37e[_0x4dd321(0x30f)][0x0]);for(let _0x46112b=_0x263e61['length']-0x1;_0x46112b>=0x0;_0x46112b--){const _0x2e6277={'id':_0x4dd321(0x18a),'params':{'unitId':_0x263e61[_0x46112b][_0x4dd321(0x24d)],..._0x263e61[_0x46112b][_0x4dd321(0x165)]}},_0x471a62={'id':_0x4dd321(0x18a),'params':{'unitId':_0x263e61[_0x46112b][_0x4dd321(0x24d)],..._0x263e61[_0x46112b][_0x4dd321(0x348)]}},_0x21299c=this[_0x4dd321(0x1ff)]['transformMutation'](_0x1b9f7a,_0x2e6277,!0x1),_0x4da36c=this[_0x4dd321(0x1ff)]['transformMutation'](_0x429915,_0x471a62,!0x1);if(_0x5873f4['isTransformMutationFailure'](_0x21299c))throw _0x21299c[_0x4dd321(0x267)];if(_0x5873f4[_0x4dd321(0x2b0)](_0x4da36c))throw _0x4da36c['error'];_0x17100d[_0x4dd321(0x27f)]({..._0x263e61[_0x46112b],'undoState':_0x21299c[_0x4dd321(0x14c)][_0x4dd321(0xc8)],'redoState':_0x4da36c[_0x4dd321(0x14c)][_0x4dd321(0xc8)]}),_0x1b9f7a=_0x21299c[_0x4dd321(0x154)],_0x429915=_0x4da36c[_0x4dd321(0x154)];}this['_docStateChangeManagerService']['setStateCache'](_0x614b86,{'history':_0x269eea,'collaboration':_0x17100d});}};_0x482565=_0x4acaa0([_0x418141(0x0,_0x4b6906['Inject'](_0x4b6906[_0x3249e4(0x2d8)])),_0x418141(0x1,_0x5873f4[_0x3249e4(0x1e5)]),_0x418141(0x2,_0x4b6906[_0x3249e4(0x10b)](_0x4142bf[_0x3249e4(0x238)]))],_0x482565);var _0x6a2ceb=Object[_0x3249e4(0x16f)],_0x5b42ae=(_0x489097,_0x468315,_0x47b13e,_0x10075b)=>{for(var _0x419986=_0x10075b>0x1?void 0x0:_0x10075b?_0x6a2ceb(_0x468315,_0x47b13e):_0x468315,_0x49b307=_0x489097['length']-0x1,_0x61bfde;_0x49b307>=0x0;_0x49b307--)(_0x61bfde=_0x489097[_0x49b307])&&(_0x419986=_0x61bfde(_0x419986)||_0x419986);return _0x419986;},_0x48e481=(_0xe5e06b,_0x2d1165)=>(_0x2f408f,_0x10e45f)=>_0x2d1165(_0x2f408f,_0x10e45f,_0xe5e06b);let _0x39d0ce=class{constructor(_0x57d639,_0x480683){const _0x4d78ac=_0x3249e4;this['_injector']=_0x57d639,this[_0x4d78ac(0x1ff)]=_0x480683;}[_0x3249e4(0x186)](_0x9ab6b8){const _0x50e3cf=_0x3249e4;var _0x7ad4f5;const _0x4c4b15=this[_0x50e3cf(0x10e)][_0x50e3cf(0x14a)](_0x3c6c88[_0x50e3cf(0x2a7)]),_0x21fd17=(_0x7ad4f5=_0x4c4b15[_0x50e3cf(0x26c)]())!=null?_0x7ad4f5:[];if(_0x21fd17[_0x50e3cf(0x10a)]===0x0)return;const _0x5497e2=_0x9ab6b8['unitID'],_0x466810=[{'id':_0x50e3cf(0x18a),'params':{'unitId':_0x5497e2,'actions':null,'textRanges':_0x21fd17}}],_0x12a5bd=this[_0x50e3cf(0x1ff)][_0x50e3cf(0x217)](_0x9ab6b8,_0x466810);if(!_0x5873f4[_0x50e3cf(0x1e2)](_0x12a5bd))throw _0x12a5bd[_0x50e3cf(0x267)];const _0x33c8e1=_0x12a5bd['m2Prime'][0x0][_0x50e3cf(0xc8)]['textRanges'];Array[_0x50e3cf(0x145)](_0x33c8e1)&&_0x33c8e1[_0x50e3cf(0x10a)]&&_0x4c4b15[_0x50e3cf(0x1a5)](_0x33c8e1,{'unitId':_0x5497e2,'subUnitId':_0x5497e2},!0x1);}};_0x39d0ce=_0x5b42ae([_0x48e481(0x0,_0x4b6906[_0x3249e4(0x10b)](_0x4b6906['Injector'])),_0x48e481(0x1,_0x5873f4[_0x3249e4(0x1e5)])],_0x39d0ce);var _0x4d77a0=Object[_0x3249e4(0x16f)],_0x20167a=(_0x2f22c0,_0x328242,_0x4744c2,_0x5e1c70)=>{const _0x30485b=_0x3249e4;for(var _0x1afdcf=_0x5e1c70>0x1?void 0x0:_0x5e1c70?_0x4d77a0(_0x328242,_0x4744c2):_0x328242,_0x209ca1=_0x2f22c0[_0x30485b(0x10a)]-0x1,_0x4e5eb8;_0x209ca1>=0x0;_0x209ca1--)(_0x4e5eb8=_0x2f22c0[_0x209ca1])&&(_0x1afdcf=_0x4e5eb8(_0x1afdcf)||_0x1afdcf);return _0x1afdcf;},_0x38649c=(_0x4805e7,_0x16e0c1)=>(_0x5527ab,_0x2cfb37)=>_0x16e0c1(_0x5527ab,_0x2cfb37,_0x4805e7);let _0x19f0a6=class extends _0x4b6906[_0x3249e4(0x2e6)]{constructor(_0x2e9035,_0x4b16bd,_0x13c04e,_0x2502c6,_0x4c5a97,_0x2ae24c,_0x2b22b0,_0x2482ef){const _0xd73956=_0x3249e4;super(),_0x202b34(this,_0xd73956(0x239),new _0x596bb7[(_0xd73956(0x2db))](_0x52f34c[_0xd73956(0xd4)]['NOT_COLLAB'])),(this[_0xd73956(0xc6)]=_0x2e9035,this['_collaborationController']=_0x4b16bd,this[_0xd73956(0x1ac)]=_0x13c04e,this[_0xd73956(0x255)]=_0x2502c6,this['_docTransformSelectionsService']=_0x4c5a97,this['_docSyncEditingCollabCursorService']=_0x2ae24c,this[_0xd73956(0x317)]=_0x2b22b0,this[_0xd73956(0x346)]=_0x2482ef,this[_0xd73956(0x14f)]());}[_0x3249e4(0x14f)](){const _0x4cb8f9=_0x3249e4;this[_0x4cb8f9(0x2a0)](this['_collaborationController'][_0x4cb8f9(0x200)]['subscribe'](_0x22ce8e=>{const _0x47ea0d=_0x4cb8f9,_0x335f36=this[_0x47ea0d(0xc6)]['docStateChange$'][_0x47ea0d(0x2ea)](_0xa10ec6=>{const _0x183415=_0x47ea0d;if(_0xa10ec6==null)return;const {unitId:_0x264390,redoState:_0x1549d2,commandId:_0x1915a5}=_0xa10ec6;if(_0x264390!==_0x22ce8e[_0x183415(0x2d1)])return;const _0x4ce6c4={'id':_0x1915a5,'type':_0x4b6906[_0x183415(0x113)][_0x183415(0x11e)],'params':{'unitId':_0x264390,'actions':_0x1549d2[_0x183415(0x147)],'textRanges':null}};_0x22ce8e[_0x183415(0x114)](_0x4ce6c4);});if(_0x22ce8e[_0x47ea0d(0x2a0)](_0x335f36),_0x22ce8e instanceof _0x52f34c[_0x47ea0d(0x156)]){const _0x186147={'onTransformIME':_0x142321=>this[_0x47ea0d(0x1ac)][_0x47ea0d(0x2e9)](_0x142321),'onTransformState':_0x4caaab=>this['_docTransformStateCacheService'][_0x47ea0d(0x2df)](_0x4caaab),'onTransformSelections':_0x1dcf2e=>this['_docTransformSelectionsService']['transformSelections'](_0x1dcf2e),'onSyncEditingCollabCursor':_0x5df7a5=>this[_0x47ea0d(0x1b4)][_0x47ea0d(0x2cc)](_0x5df7a5),'onTransformRemoteChangesetByIMECache':_0x270e0c=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x270e0c),'onTransformRemoteChangesetByStateCache':_0x38047f=>this[_0x47ea0d(0x255)][_0x47ea0d(0x138)](_0x38047f)};_0x22ce8e[_0x47ea0d(0x12c)](_0x186147);}}));}};_0x19f0a6=_0x20167a([_0x38649c(0x0,_0x4b6906[_0x3249e4(0x10b)](_0x4142bf[_0x3249e4(0x238)])),_0x38649c(0x1,_0x4b6906[_0x3249e4(0x10b)](_0x52f34c[_0x3249e4(0x1cb)])),_0x38649c(0x2,_0x4b6906[_0x3249e4(0x10b)](_0x34da4a)),_0x38649c(0x3,_0x4b6906[_0x3249e4(0x10b)](_0x482565)),_0x38649c(0x4,_0x4b6906['Inject'](_0x39d0ce)),_0x38649c(0x5,_0x4b6906[_0x3249e4(0x10b)](_0x3ac6b6)),_0x38649c(0x6,_0x30ed06[_0x3249e4(0x284)]),_0x38649c(0x7,_0x4b6906[_0x3249e4(0x10b)](_0x4b6906[_0x3249e4(0xe1)]))],_0x19f0a6);var _0x1b5dc7=Object[_0x3249e4(0x16f)],_0x487fa8=(_0x35ddd,_0x29bfef,_0x18ab17,_0x101a4e)=>{for(var _0x2c64f4=_0x101a4e>0x1?void 0x0:_0x101a4e?_0x1b5dc7(_0x29bfef,_0x18ab17):_0x29bfef,_0x21c469=_0x35ddd['length']-0x1,_0x3b4789;_0x21c469>=0x0;_0x21c469--)(_0x3b4789=_0x35ddd[_0x21c469])&&(_0x2c64f4=_0x3b4789(_0x2c64f4)||_0x2c64f4);return _0x2c64f4;},_0x313b65=(_0x2cb1b9,_0x5837fc)=>(_0x20df25,_0x4f4e56)=>_0x5837fc(_0x20df25,_0x4f4e56,_0x2cb1b9);let _0x17578b=class extends _0x4b6906[_0x3249e4(0x2e6)]{constructor(_0x9fc868,_0xbde6ae,_0xd58137){const _0x44bf6c=_0x3249e4;super(),_0x202b34(this,_0x44bf6c(0x20a),new Map()),_0x202b34(this,_0x44bf6c(0x203),new Map()),_0x202b34(this,'_disabled',!0x1),(this['_configService']=_0x9fc868,this[_0x44bf6c(0x1ca)]=_0xbde6ae,this['_revisionService']=_0xd58137);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x3249e4(0x20c)](){const _0x2d8545=_0x3249e4;this[_0x2d8545(0x234)]=!0x1;}get[_0x3249e4(0x2ef)](){const _0x3c460c=_0x3249e4;return this[_0x3c460c(0x203)];}['dispose'](){const _0x2bced0=_0x3249e4;this['exhaustSavingTask']()[_0x2bced0(0x185)](()=>super['dispose']());}async['loadOfflineData'](_0x7c5ec4){const _0x35e78c=_0x3249e4;return this['_disabled']?null:this[_0x35e78c(0x1ca)]['getItem'](_0x52f34c[_0x35e78c(0xcb)](_0x7c5ec4));}async[_0x3249e4(0xfe)](_0x37aec8,_0x11c7fb){return!!this['_localStorageService']['setItem'](_0x37aec8,_0x11c7fb);}['updateOfflineData'](_0xa189cd,_0x2c2a6e,_0x429f47,_0x4f510d){const _0x2240c5=_0x3249e4,_0x5f11d1=this[_0x2240c5(0x32e)][_0x2240c5(0x2da)](_0xa189cd);this['_cachedData'][_0x2240c5(0x32a)](_0xa189cd,{'unitID':_0xa189cd,'type':_0x2c2a6e,'awaitingChangeset':_0x429f47,'mutations':_0x4f510d,'rev':_0x5f11d1}),this[_0x2240c5(0x203)][_0x2240c5(0x1dd)](_0xa189cd)||this[_0x2240c5(0x323)](_0xa189cd);}[_0x3249e4(0x323)](_0x33000d){const _0x12917f=_0x3249e4,_0x983d19=this[_0x12917f(0x278)]();_0x983d19===0x0?this[_0x12917f(0x2b7)](_0x33000d):this[_0x12917f(0x203)][_0x12917f(0x32a)](_0x33000d,setTimeout(()=>this[_0x12917f(0x2b7)](_0x33000d),_0x983d19));}[_0x3249e4(0x278)](){const _0x170a3b=_0x3249e4;var _0x4d97ee;return(_0x4d97ee=this['_configService']['getConfig'](_0x52f34c[_0x170a3b(0x2e7)]))!=null?_0x4d97ee:_0x52f34c[_0x170a3b(0x2d6)];}[_0x3249e4(0x2b7)](_0x40e65f){const _0x4d53f4=_0x3249e4,_0x159071=this['_saveTaskMap']['get'](_0x40e65f);return _0x159071!==void 0x0&&window[_0x4d53f4(0x187)](_0x159071),this[_0x4d53f4(0x1ca)][_0x4d53f4(0x15e)](_0x52f34c[_0x4d53f4(0xcb)](_0x40e65f),this['_cachedData'][_0x4d53f4(0x14a)](_0x40e65f))[_0x4d53f4(0x185)](()=>this[_0x4d53f4(0x203)][_0x4d53f4(0x16d)](_0x40e65f));}async[_0x3249e4(0x198)](){const _0x59a78e=_0x3249e4,_0x394e83=[];this[_0x59a78e(0x203)][_0x59a78e(0x2eb)]((_0x12695f,_0x3949a2)=>{const _0x11f51e=_0x59a78e;window['clearTimeout'](_0x12695f),_0x394e83[_0x11f51e(0xfa)](this[_0x11f51e(0x2b7)](_0x3949a2)[_0x11f51e(0x185)](()=>{const _0x9cbf83=_0x11f51e;this[_0x9cbf83(0x203)][_0x9cbf83(0x16d)](_0x3949a2);}));}),await Promise['all'](_0x394e83);}};_0x17578b=_0x487fa8([_0x313b65(0x0,_0x4b6906[_0x3249e4(0x244)]),_0x313b65(0x1,_0x4b6906[_0x3249e4(0x270)]),_0x313b65(0x2,_0x4b6906[_0x3249e4(0x10b)](_0x5873f4[_0x3249e4(0xbd)]))],_0x17578b);class _0x513437 extends _0x4b6906['RxDisposable']{constructor(){const _0x56461e=_0x3249e4;super(),_0x202b34(this,_0x56461e(0x1f6)),this[_0x56461e(0x1f6)]=_0x596bb7[_0x56461e(0x171)](window,_0x56461e(0x259))[_0x56461e(0x24b)](_0x596bb7[_0x56461e(0x33f)](this[_0x56461e(0xeb)]),_0x596bb7[_0x56461e(0x209)](0x1),_0x596bb7[_0x56461e(0x1f2)](void 0x0));}['setParam'](_0x5075e1,_0x71e289,_0x6e8984=!0x1){const _0x491647=_0x3249e4,_0x32e375=new URL(window[_0x491647(0x144)]['href']);_0x32e375['searchParams'][_0x491647(0x32a)](_0x5075e1,_0x71e289),_0x6e8984?window[_0x491647(0x126)][_0x491647(0x223)]('','',_0x32e375[_0x491647(0x2f3)]()):window[_0x491647(0x126)][_0x491647(0xf7)]('','',_0x32e375[_0x491647(0x2f3)]());}[_0x3249e4(0x1b2)](_0x4e41dc,_0x24faa6=!0x1){const _0x46a8b3=_0x3249e4,_0x3b5b07=new URL(window[_0x46a8b3(0x144)]['href']);_0x3b5b07['searchParams'][_0x46a8b3(0x16d)](_0x4e41dc),_0x24faa6?window[_0x46a8b3(0x126)][_0x46a8b3(0x223)]('','',_0x3b5b07[_0x46a8b3(0x2f3)]()):window[_0x46a8b3(0x126)][_0x46a8b3(0xf7)]('','',_0x3b5b07[_0x46a8b3(0x2f3)]());}[_0x3249e4(0xed)](_0x42baa3){const _0x17b239=_0x3249e4;var _0x2acbc3;return(_0x2acbc3=new URL(window[_0x17b239(0x144)][_0x17b239(0x27c)])[_0x17b239(0x169)]['get'](_0x42baa3))!=null?_0x2acbc3:void 0x0;}}var _0x32b654=Object[_0x3249e4(0x2dc)],_0x38946d=Object[_0x3249e4(0x16f)],_0x36e81e=(_0x5d8a26,_0x4eb602,_0xd8812)=>_0x4eb602 in _0x5d8a26?_0x32b654(_0x5d8a26,_0x4eb602,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd8812}):_0x5d8a26[_0x4eb602]=_0xd8812,_0x29c2bf=(_0x470daa,_0x10c497,_0x3c9c6a,_0x40ca5f)=>{const _0x43e428=_0x3249e4;for(var _0x2ec4d6=_0x40ca5f>0x1?void 0x0:_0x40ca5f?_0x38946d(_0x10c497,_0x3c9c6a):_0x10c497,_0x2225c5=_0x470daa[_0x43e428(0x10a)]-0x1,_0x41d69c;_0x2225c5>=0x0;_0x2225c5--)(_0x41d69c=_0x470daa[_0x2225c5])&&(_0x2ec4d6=_0x41d69c(_0x2ec4d6)||_0x2ec4d6);return _0x2ec4d6;},_0x15499a=(_0x3ff8da,_0x244e0f)=>(_0x2ef48d,_0x13cc99)=>_0x244e0f(_0x2ef48d,_0x13cc99,_0x3ff8da),_0x452645=(_0x52a2d5,_0x4eeafd,_0x5eb175)=>_0x36e81e(_0x52a2d5,_0x4eeafd+'',_0x5eb175);const _0x14c9c8='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x24e36d[_0x3249e4(0x1a8)]=class extends _0x4b6906[_0x3249e4(0x328)]{constructor(_0x15795b=_0x3233ce,_0x33b561,_0x29a1cb,_0x2ac67a){const _0x4ff560=_0x3249e4;super(),this[_0x4ff560(0x300)]=_0x15795b,this['_renderManagerService']=_0x33b561,this['_injector']=_0x29a1cb,this[_0x4ff560(0x221)]=_0x2ac67a;const {..._0x1c1c09}=_0x4b6906['merge']({},_0x3233ce,this['_config']);this[_0x4ff560(0x221)]['setConfig'](_0x3fda7e,_0x1c1c09);}['onStarting'](){const _0x3d70f0=_0x3249e4;this[_0x3d70f0(0x146)](),this[_0x3d70f0(0x282)]();}['onRendered'](){this['_registerRenderDependencies']();}[_0x3249e4(0x146)](){const _0x30eb79=_0x3249e4;var _0x27b1cf;const _0x16d144=[[_0x1111e6],[_0x39d0ce],[_0x34da4a],[_0x482565],[_0x3ac6b6],[_0x1b19e7,{'useClass':_0x513437}],[_0x4aa660[_0x30eb79(0x2fd)],{'useClass':_0x4aa660[_0x30eb79(0xf0)]}],[_0x52f34c[_0x30eb79(0x2c9)],{'useClass':_0x17578b}],[_0x24e36d[_0x30eb79(0x342)]],[_0x19f0a6],[_0x3e296d],[_0x24ffd2],[_0x3897f7],[_0x24e36d[_0x30eb79(0x12a)]]];_0x4b6906[_0x30eb79(0x2e8)](this[_0x30eb79(0x10e)],_0x4b6906[_0x30eb79(0x22d)](_0x16d144,(_0x27b1cf=this['_config'])==null?void 0x0:_0x27b1cf[_0x30eb79(0x30d)]));}['_registerRenderDependencies'](){const _0x23eb19=_0x3249e4;this['disposeWithMe'](this[_0x23eb19(0x136)][_0x23eb19(0x240)](_0x4b6906[_0x23eb19(0x1b3)][_0x23eb19(0x208)],[_0x118ce5])),this[_0x23eb19(0x2a0)](this[_0x23eb19(0x136)][_0x23eb19(0x240)](_0x4b6906[_0x23eb19(0x1b3)][_0x23eb19(0x218)],[_0x1a7d71]));}[_0x3249e4(0x282)](){const _0x11756f=_0x3249e4;_0x4b6906[_0x11756f(0xcf)](this['_injector'],[[_0x24ffd2],[_0x24e36d['DesktopCollaborationStatusDisplayController']],[_0x19f0a6],[_0x3e296d],[_0x24e36d[_0x11756f(0x12a)]]]);}},_0x452645(_0x24e36d[_0x3249e4(0x1a8)],'pluginName',_0x14c9c8),_0x24e36d['UniverCollaborationClientUIPlugin']=_0x29c2bf([_0x4b6906['DependentOn'](_0x52f34c['UniverCollaborationClientPlugin']),_0x15499a(0x1,_0xa2dea1['IRenderManagerService']),_0x15499a(0x2,_0x4b6906[_0x3249e4(0x10b)](_0x4b6906[_0x3249e4(0x2d8)])),_0x15499a(0x3,_0x4b6906[_0x3249e4(0x244)])],_0x24e36d[_0x3249e4(0x1a8)]);var _0x93936=Object['getOwnPropertyDescriptor'],_0x1eefa6=(_0x48df02,_0x3129e,_0x2f4625,_0x2059e8)=>{const _0x2e3e17=_0x3249e4;for(var _0x4532ea=_0x2059e8>0x1?void 0x0:_0x2059e8?_0x93936(_0x3129e,_0x2f4625):_0x3129e,_0x32aedb=_0x48df02[_0x2e3e17(0x10a)]-0x1,_0x77ba81;_0x32aedb>=0x0;_0x32aedb--)(_0x77ba81=_0x48df02[_0x32aedb])&&(_0x4532ea=_0x77ba81(_0x4532ea)||_0x4532ea);return _0x4532ea;},_0x228264=(_0x15f285,_0x470584)=>(_0x4e363c,_0x49cfa3)=>_0x470584(_0x4e363c,_0x49cfa3,_0x15f285);_0x24e36d['BrowserCollaborationSocketService']=class extends _0x52f34c[_0x3249e4(0x11c)]{constructor(_0x5be3a3,_0x4524a8,_0x5a9487,_0x14b74b,_0x412994){super(_0x5be3a3,_0x4524a8,_0x5a9487,_0x14b74b,_0x412994);}async[_0x3249e4(0x2e2)](_0x530a87){const _0x5957e1=_0x3249e4,_0x4740ab=await this[_0x5957e1(0x1e0)](),_0x56f28a=this[_0x5957e1(0x21d)](_0x530a87,_0x4740ab);return this[_0x5957e1(0x170)](_0x56f28a);}[_0x3249e4(0x21d)](_0x2911ff,_0x1171c2){const _0x24ceae=_0x3249e4,_0x8e6998=typeof window>'u'?new URL(_0x2911ff):new URL(_0x2911ff,window[_0x24ceae(0x144)][_0x24ceae(0x1ba)]);_0x8e6998[_0x24ceae(0x169)]['set'](_0x24ceae(0x2cf),_0x1171c2);const _0x1d4bc7=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x24ceae(0x144)]['search']);return _0x1d4bc7[_0x24ceae(0x14a)](_0x24ceae(0xfc))&&_0x8e6998[_0x24ceae(0x169)]['set']('runId',_0x1d4bc7[_0x24ceae(0x14a)](_0x24ceae(0xfc))),_0x8e6998[_0x24ceae(0x2f3)]();}async[_0x3249e4(0x1e0)](){const _0x1702ec=_0x3249e4;var _0x54f95f,_0x4dc7fe,_0xac218c;const _0x122809=this[_0x1702ec(0x221)][_0x1702ec(0x292)](_0x52f34c[_0x1702ec(0x2c5)]),_0x5cb6f5=(_0x54f95f=_0x122809==null?void 0x0:_0x122809['wsSessionTicketUrl'])!=null?_0x54f95f:_0x52f34c[_0x1702ec(0x16c)];return(_0xac218c=(_0x4dc7fe=(await this[_0x1702ec(0x23a)][_0x1702ec(0x14a)](_0x5cb6f5,{'headers':{'Content-Type':_0x1702ec(0x106)}}))['body'])==null?void 0x0:_0x4dc7fe[_0x1702ec(0x2d0)])!=null?_0xac218c:'';}},_0x24e36d['BrowserCollaborationSocketService']=_0x1eefa6([_0x228264(0x0,_0x4b6906[_0x3249e4(0x10b)](_0x4b6906[_0x3249e4(0x2d8)])),_0x228264(0x1,_0x4b6906['Inject'](_0x4aa660[_0x3249e4(0x125)])),_0x228264(0x2,_0x4b6906['IConfigService']),_0x228264(0x3,_0x4b6906[_0x3249e4(0x28e)]),_0x228264(0x4,_0x5873f4['ISnapshotServerService'])],_0x24e36d['BrowserCollaborationSocketService']);const _0x43bfea=0x7530,_0x1e80ff=_0x3249e4(0x13f);class _0x223c81 extends _0x4b6906[_0x3249e4(0x2e6)]{constructor(){const _0x4a9b53=_0x3249e4;super(),_0x202b34(this,'_id',_0x4b6906[_0x4a9b53(0x272)]()),_0x202b34(this,_0x4a9b53(0x2a5),new Set()),_0x202b34(this,_0x4a9b53(0x180),new Map()),_0x202b34(this,_0x4a9b53(0x13d),null),_0x202b34(this,'_clearOtherTimers',new Map()),_0x202b34(this,_0x4a9b53(0x264),new Map()),this[_0x4a9b53(0x1c4)]();}['dispose'](){const _0x7aa0b2=_0x3249e4;super['dispose'](),this['_clearOtherTimers'][_0x7aa0b2(0x2eb)]((_0x2f890c,_0x42c35f)=>this[_0x7aa0b2(0x253)](_0x42c35f)),this[_0x7aa0b2(0x13d)]&&window[_0x7aa0b2(0x1b1)](this[_0x7aa0b2(0x13d)]);}['getUnitStatus$'](_0x31d6ff){const _0x3e9bce=_0x3249e4;return this[_0x3e9bce(0xe7)](_0x31d6ff)[_0x3e9bce(0x24b)](_0x596bb7['distinctUntilChanged']());}[_0x3249e4(0x1f0)](_0x16d722){const _0x55d441=_0x3249e4;this[_0x55d441(0x2a5)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x55d441(0x2a5)][_0x55d441(0x117)](_0x16d722),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x16d722],'isForwarded':!0x1});}[_0x3249e4(0x2dd)](_0x3efb69){const _0xa0fef1=_0x3249e4;this[_0xa0fef1(0x2a5)][_0xa0fef1(0x16d)](_0x3efb69),this['_selfUnitIDs'][_0xa0fef1(0x32d)]===0x0&&this[_0xa0fef1(0x13d)]&&window[_0xa0fef1(0x1b1)](this['_heartbeatTimer']);}[_0x3249e4(0x1c4)](){const _0x146757=_0x3249e4;this['disposeWithMe'](_0x4b6906[_0x146757(0x35e)](_0x596bb7[_0x146757(0x171)](window,_0x146757(0x2c1))[_0x146757(0x2ea)](_0x1ac869=>{const _0x556c14=_0x146757;if(_0x1ac869[_0x556c14(0x194)]!==_0x1e80ff||!_0x1ac869[_0x556c14(0x226)])return;const _0x3d0487=JSON[_0x556c14(0xec)](_0x1ac869[_0x556c14(0x226)]);this[_0x556c14(0x1e3)](_0x3d0487);}))),window[_0x146757(0x130)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x146757(0x1a4)],'unitIDs':Array[_0x146757(0x1c2)](this[_0x146757(0x2a5)])}));}[_0x3249e4(0x1e3)](_0x43d39e){const _0x1c9f17=_0x3249e4;switch(_0x43d39e[_0x1c9f17(0x32c)]){case 0x0:this[_0x1c9f17(0xd8)](_0x43d39e);break;case 0x1:this[_0x1c9f17(0x1fe)](_0x43d39e);break;case 0x2:this[_0x1c9f17(0x161)](_0x43d39e);break;}}['_handleJoinEvent'](_0x4daf7b){const _0x4f369c=_0x3249e4,{unitIDs:_0x7664e8,memberID:_0x450df8,isForwarded:_0x709eb7}=_0x4daf7b;_0x7664e8[_0x4f369c(0x2eb)](_0x4d1b2f=>{const _0x4a5f6c=_0x4f369c;if(!_0x709eb7&&this['_unitOnClients'][_0x4a5f6c(0x1dd)](_0x4d1b2f)&&this['_ensureSubject'](_0x4d1b2f)[_0x4a5f6c(0x2ad)](_0x52f34c[_0x4a5f6c(0x17c)][_0x4a5f6c(0x1f5)]),!this['_unitOnClients'][_0x4a5f6c(0x1dd)](_0x4d1b2f)||!this[_0x4a5f6c(0x180)]['get'](_0x4d1b2f)[_0x4a5f6c(0x1dd)](_0x450df8)){const _0x15f9dc=this[_0x4a5f6c(0x180)][_0x4a5f6c(0x14a)](_0x4d1b2f)||new Set();_0x15f9dc[_0x4a5f6c(0x117)](_0x450df8),this['_unitOnClients'][_0x4a5f6c(0x32a)](_0x4d1b2f,_0x15f9dc),this[_0x4a5f6c(0x1d3)](_0x450df8);}}),_0x709eb7||this[_0x4f369c(0x299)]({'type':0x0,'memberID':this[_0x4f369c(0x1a4)],'unitIDs':[...this[_0x4f369c(0x2a5)]],'isForwarded':!0x0});}[_0x3249e4(0x1d3)](_0xaa3d48){const _0x3916a6=_0x3249e4;this[_0x3916a6(0x253)](_0xaa3d48);const _0x2ab043=window[_0x3916a6(0x1a0)](()=>{const _0x4c0104=_0x3916a6;this[_0x4c0104(0x180)][_0x4c0104(0x2eb)](_0x5bd615=>{const _0x17964b=_0x4c0104;_0x5bd615[_0x17964b(0x16d)](_0xaa3d48);});},_0x43bfea*0x2);this[_0x3916a6(0x1cd)][_0x3916a6(0x32a)](_0xaa3d48,_0x2ab043);}[_0x3249e4(0x253)](_0x4a00fc){const _0x39d390=_0x3249e4;if(this[_0x39d390(0x1cd)]['has'](_0x4a00fc)){const _0x21b722=this[_0x39d390(0x1cd)][_0x39d390(0x14a)](_0x4a00fc);_0x21b722&&window['clearTimeout'](_0x21b722),this[_0x39d390(0x1cd)][_0x39d390(0x32a)](_0x4a00fc,null);}}['_handleLeaveEvent'](_0x2785f6){const _0x4ad8ff=_0x3249e4,{memberID:_0x208a39,unitIDs:_0x4c02ab}=_0x2785f6;_0x4c02ab[_0x4ad8ff(0x2eb)](_0x3ce08d=>{const _0x206734=_0x4ad8ff;var _0x3de9bb;const _0x59d450=this[_0x206734(0x180)]['get'](_0x3ce08d);_0x59d450&&(_0x59d450[_0x206734(0x16d)](_0x208a39),(_0x3de9bb=this[_0x206734(0xe7)](_0x3ce08d))==null||_0x3de9bb['next'](_0x59d450[_0x206734(0x32d)]===0x0?_0x52f34c[_0x206734(0x17c)]['NO_OTHER_CLIENTS_EDITING']:_0x52f34c[_0x206734(0x17c)]['OTHER_CLIENTS_EDITING']));}),this[_0x4ad8ff(0x253)](_0x208a39);}[_0x3249e4(0x161)](_0x288e66){const _0x2a4ee2=_0x3249e4;this[_0x2a4ee2(0x1d3)](_0x288e66[_0x2a4ee2(0x1ec)]);}[_0x3249e4(0x299)](_0x226a20){const _0xcd09ab=_0x3249e4;localStorage[_0xcd09ab(0x15e)](_0x1e80ff,JSON[_0xcd09ab(0x25a)](_0x226a20));}[_0x3249e4(0x2f4)](){const _0xf0ec7f=_0x3249e4;this[_0xf0ec7f(0x13d)]=window['setInterval'](()=>{const _0x4d143c=_0xf0ec7f;this[_0x4d143c(0x299)]({'type':0x2,'memberID':this[_0x4d143c(0x1a4)]});},_0x43bfea);}[_0x3249e4(0xe7)](_0x4823c5){const _0x950530=_0x3249e4;return this[_0x950530(0x264)][_0x950530(0x1dd)](_0x4823c5)||this[_0x950530(0x264)][_0x950530(0x32a)](_0x4823c5,new _0x596bb7[(_0x950530(0x2db))](_0x52f34c[_0x950530(0x17c)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x950530(0x264)]['get'](_0x4823c5);}}var _0xcd436=(_0x8c33ad=>(_0x8c33ad[_0x8c33ad[_0x3249e4(0x17e)]=0x0]=_0x3249e4(0x17e),_0x8c33ad[_0x8c33ad['OK']=0x1]='OK',_0x8c33ad[_0x8c33ad[_0x3249e4(0x1bd)]=0x2]='INTERNAL_ERROR',_0x8c33ad[_0x8c33ad[_0x3249e4(0x327)]=0x3]=_0x3249e4(0x327),_0x8c33ad[_0x8c33ad[_0x3249e4(0x25b)]=0x4]=_0x3249e4(0x25b),_0x8c33ad[_0x8c33ad[_0x3249e4(0xd1)]=0x5]='UNAUTHENTICATED',_0x8c33ad[_0x8c33ad[_0x3249e4(0x16a)]=0x6]=_0x3249e4(0x16a),_0x8c33ad[_0x8c33ad['INVALID_ARGUMENT']=0x7]=_0x3249e4(0x1fc),_0x8c33ad[_0x8c33ad[_0x3249e4(0x111)]=0x8]=_0x3249e4(0x111),_0x8c33ad[_0x8c33ad['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x8c33ad[_0x8c33ad[_0x3249e4(0x149)]=0xa]=_0x3249e4(0x149),_0x8c33ad[_0x8c33ad[_0x3249e4(0x1c6)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x8c33ad[_0x8c33ad['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x3249e4(0x339),_0x8c33ad[_0x8c33ad[_0x3249e4(0x2a4)]=0x1772]=_0x3249e4(0x2a4),_0x8c33ad[_0x8c33ad[_0x3249e4(0x24a)]=0x1773]=_0x3249e4(0x24a),_0x8c33ad[_0x8c33ad['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x8c33ad[_0x8c33ad[_0x3249e4(0x233)]=0x1b5a]=_0x3249e4(0x233),_0x8c33ad[_0x8c33ad['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x3249e4(0x178),_0x8c33ad[_0x8c33ad['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3249e4(0x1ef),_0x8c33ad[_0x8c33ad[_0x3249e4(0x13c)]=0x1b5d]=_0x3249e4(0x13c),_0x8c33ad[_0x8c33ad[_0x3249e4(0x28f)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x8c33ad[_0x8c33ad[_0x3249e4(0x155)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x8c33ad[_0x8c33ad[_0x3249e4(0x1be)]=0x232a]=_0x3249e4(0x1be),_0x8c33ad[_0x8c33ad['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x8c33ad[_0x8c33ad[_0x3249e4(0x172)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x8c33ad[_0x8c33ad[_0x3249e4(0x2f9)]=0x232d]=_0x3249e4(0x2f9),_0x8c33ad[_0x8c33ad[_0x3249e4(0x206)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x8c33ad[_0x8c33ad[_0x3249e4(0x266)]=0x2712]=_0x3249e4(0x266),_0x8c33ad[_0x8c33ad['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x3249e4(0x133),_0x8c33ad[_0x8c33ad[_0x3249e4(0x28a)]=0x2714]=_0x3249e4(0x28a),_0x8c33ad[_0x8c33ad['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x8c33ad[_0x8c33ad['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x3249e4(0x123),_0x8c33ad[_0x8c33ad[_0x3249e4(0x18d)]=0x2af9]=_0x3249e4(0x18d),_0x8c33ad[_0x8c33ad['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x3249e4(0x326),_0x8c33ad[_0x8c33ad[_0x3249e4(0x101)]=0x2ee2]=_0x3249e4(0x101),_0x8c33ad[_0x8c33ad[_0x3249e4(0x2b1)]=0x2ee3]=_0x3249e4(0x2b1),_0x8c33ad[_0x8c33ad['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x8c33ad[_0x8c33ad[_0x3249e4(0x164)]=0x2ee5]=_0x3249e4(0x164),_0x8c33ad[_0x8c33ad[_0x3249e4(0x28c)]=0x32c9]=_0x3249e4(0x28c),_0x8c33ad[_0x8c33ad['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x3249e4(0x350),_0x8c33ad[_0x8c33ad['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x8c33ad[_0x8c33ad[_0x3249e4(0xfd)]=-0x1]=_0x3249e4(0xfd),_0x8c33ad))(_0xcd436||{}),_0x57f593=Object['getOwnPropertyDescriptor'],_0x3b0637=(_0x599c2a,_0x1d6207,_0x13c242,_0x20f999)=>{const _0x1616bc=_0x3249e4;for(var _0x345752=_0x20f999>0x1?void 0x0:_0x20f999?_0x57f593(_0x1d6207,_0x13c242):_0x1d6207,_0x32ca96=_0x599c2a[_0x1616bc(0x10a)]-0x1,_0x16b38d;_0x32ca96>=0x0;_0x32ca96--)(_0x16b38d=_0x599c2a[_0x32ca96])&&(_0x345752=_0x16b38d(_0x345752)||_0x345752);return _0x345752;},_0x38f1f1=(_0x333ce7,_0x1d75f7)=>(_0x19c460,_0x309c14)=>_0x1d75f7(_0x19c460,_0x309c14,_0x333ce7);_0x24e36d[_0x3249e4(0x250)]=class extends _0x4b6906[_0x3249e4(0x2e6)]{constructor(_0x2d5a68,_0x86b347,_0x436e2e){const _0x45fdf0=_0x3249e4;super(),this[_0x45fdf0(0x2bd)]=_0x2d5a68,this[_0x45fdf0(0x23a)]=_0x86b347,this[_0x45fdf0(0x221)]=_0x436e2e;}async[_0x3249e4(0x35b)](_0x38b19f,_0x3cb3ba,_0x160acc,..._0x9dfa22){const _0x15e143=_0x3249e4;var _0x44cacd,_0x4eb327,_0x23ef70,_0x1932f1;const _0x252af0=this[_0x15e143(0x2bd)][_0x15e143(0x2be)]();if(!_0x252af0)throw new Error(_0x15e143(0x32f));const _0x188f9b=((_0x44cacd=this[_0x15e143(0x221)][_0x15e143(0x292)](_0x52f34c['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x44cacd:_0x52f34c[_0x15e143(0x18e)])+'/'+_0x38b19f+_0x15e143(0xe9)+_0x3cb3ba,_0x2f46ce=new URL(window[_0x15e143(0x144)][_0x15e143(0x27c)]),_0x5b31e2={'scriptId':_0x38b19f,'runId':(_0x4eb327=_0x2f46ce[_0x15e143(0x169)]['get']('runId'))!=null?_0x4eb327:'','function':_0x3cb3ba,'unitId':_0x252af0[_0x15e143(0x293)](),'argsOfFunction':JSON[_0x15e143(0x25a)](_0x9dfa22),'invokeId':(_0x23ef70=_0x160acc[_0x15e143(0x248)])!=null?_0x23ef70:'','executionId':(_0x1932f1=_0x160acc['executionId'])!=null?_0x1932f1:''};try{const _0x1a7d86=await this['_httpService'][_0x15e143(0x1f8)](_0x188f9b,{'body':_0x5b31e2});return _0x1a7d86[_0x15e143(0x1c5)]['error']&&_0x1a7d86[_0x15e143(0x1c5)][_0x15e143(0x267)][_0x15e143(0x1fd)]!==_0xcd436['OK']?'Failed':_0x1a7d86['body'][_0x15e143(0x15c)];}catch{return _0x15e143(0x17f);}}},_0x24e36d['RemoteUniscriptService']=_0x3b0637([_0x38f1f1(0x0,_0x4b6906[_0x3249e4(0x356)]),_0x38f1f1(0x1,_0x4b6906['Inject'](_0x4aa660['HTTPService'])),_0x38f1f1(0x2,_0x4b6906[_0x3249e4(0x244)])],_0x24e36d[_0x3249e4(0x250)]),_0x24e36d[_0x3249e4(0x107)]=_0x1f21e5,_0x24e36d[_0x3249e4(0x2f2)]=_0x1b19e7,_0x24e36d[_0x3249e4(0x354)]=_0x3c8dd6,_0x24e36d['WebBrowserSingleActiveUnitService']=_0x223c81,_0x24e36d[_0x3249e4(0x122)]=_0x513437,Object[_0x3249e4(0x2dc)](_0x24e36d,Symbol[_0x3249e4(0x340)],{'value':_0x3249e4(0x260)});}));function _0x5079(){const _0x89c58e=['next','_onCursorDelete','handleDeleteRangeMoveUp','isTransformMutationFailure','INVITE_CODE_REQUIRED','_drawAnchor','focused$','permission.content','startColumn','_session','_saveCache','icon','closePath','SUBMIT_CHANGESET_TIMEOUT','displayName','hide','_instanceService','getFocusedUnit','OTHER_CLIENT_EDITING','TEXT','storage','transform','url(#$1','sheetId','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_draw','react/jsx-runtime','RemoveRowCommandId','ILocalCacheService','InsertColCommandId','_logService','syncEditingCollabCursor','getUniverSheetInstance','eventID','sessionTicket','ticket','unitID','Error','complete','getCollabCursors$','endColumn','LOCAL_CACHE_INTERVAL','range','Injector','BuiltInUIPart','getCurrentRevOfUnit','BehaviorSubject','defineProperty','disposeUnit','debug','transformStateCache','switchMap','getSheetBySheetId','createSocket','throttleTime','toRgbString','1385784cqeVVf','Disposable','LOCAL_CACHE_INTERVAL_KEY','registerDependencies','transformIMECache','subscribe','forEach','collaboration-client.offline-data-not-saved','handleDeleteRangeMoveLeft','defIds','saveTaskMap','apply','_scene','IURLService','toString','_scheduleHeartbeat','with','registerBeforeClose','...','_transformUndoRedoStack','LICENSE_DISTRO_REJECTED','_cursors','prototype','collab-client.tooltip.reconnect','ISocketService','online','width','_config','_removeCollabCursors','UniverNetwork','_transformPreviousActiveRange','RxDisposable','beginPath','collab-text-anchor-','evenodd','selection','addObject','_updateSubUnitFromURLParams','univer-online-status-icon','@univerjs/docs','override','registerRefRange','mutations','getOwnPropertySymbols','translate(.97)','useDependency','ThemeService','@univerjs/drawing','fromEventSubject','uni.network.url-service','_messageService','AWAITING_WITH_PENDING','_drawRectRange','operators','_initStatusListener','onPointerEnter$','url(#off-line-single_clip0_910_343)','_colorAssignService','_docSkeleton','gold400','_refRangeService','getColor','_scheduleSaving','assign','OffLineSingle','INVITE_CODE_HAS_BEEN_UES','PERMISSION_DENIED','Plugin','0\x200\x2016\x2016','set','height','type','size','_revisionService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','DeleteRangeMoveUpCommandId','_startSheetCollabCursor','_onRefRangeChange','subunit','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_handleHover','permission.title','onPointerLeave$','ranges','SNAPSHOT_INVALID_SNAPSHOT','sessionStatus$','0\x200\x2017\x2016','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','setShapeProps','name','takeUntil','toStringTag','hovered','DesktopCollaborationStatusDisplayController','MoveRangeCommandId','univer-online-status-title','CollaborationEvent','_localeService','saveImage','redoState','@univerjs/engine-formula','source','_urlService','addClipboardHook','RemoveColCommandId','getViewport','getOffsetConfig','MOBILE_HAS_BEEN_BOUND','_updateCollabCursors','runRefRangeMutations','transformByState','SheetCollabCursorShape','_initCommandExecutedListener','IUniverInstanceService','collaboration-client-ui.config','deepClone','bottom','currentColor','runOnServer','[CollaborationDataLoaderController]','_collabCursorState$','toDisposable','collaboration.single-unit.warning','RevisionService','@univerjs/network','merge','_hovered','_online','children','CollaborationSessionService','4796368kcKiYU','collabStatus.offline','_docStateChangeManagerService','_anchor','params','backgroundColor','onlineStatus','getLocalCacheKey','forwardRef','MemberService','serializeRangeWithSheet','touchDependencies','cursorInfo','UNAUTHENTICATED','_getAnchorBounding','_cursor','CollaborationStatus','resize','UniverEngineRender','url(#on-line-single_clip0_910_349)','_handleJoinEvent','Vector2','getSheetId','concat','call','_themeService','off-line-single_clip0_910_343','getRenderById','_notificationService','LocaleService','jsxs','_render','Warning','EffectRefRangId','combineLatest','_ensureSubject','_localCacheService','/run/','activeSheet$','dispose$','parse','getParam','font','makeDirty','WebSocketService','propertyIsEnumerable','@univerjs/sheets-ui','UPDATE_CURSOR','IUIPartsService','setUndoRedoMutationParamsCache','PENDING','pushState','RefRangeService','drawWith','push','fillText','runId','UNRECOGNIZED','saveOfflineData','_entities','path','INVALID_INVITE_CODE','_eventUnsubscribe','getAncestorScale','attrs','jiqing500','application/json','CollaborationStatusDisplay','purple300','jsx','length','Inject','_cursorShapes','UniverCore','_injector','_drawTextRange','string','TOO_MANY_REQUESTS','getMemberID','CommandType','onLocalMutation','_backgroundColor','_transformHistoryAndStateStack','add','_assignedColors','clipPath','ColorKit','getCurrentSelections','CollaborationSocketService','_univerInstanceService','MUTATION','RichTextEditingMutation','_startDocCollabCursor','RegularPolygon','WebURLService','YUUMI_ASYNCIO_CANCELLED','svg','HTTPService','history','roomMembers$','object','min','CollaborationDataLoaderController','_refreshCollabCursors','addHandlerCallback','InsertRowCommandId','_sheetSkeletonManagerService','@univerjs/design','addEventListener','collabStatus.fetchMiss','getUndoRedoMutationParamsCache','YUUMI_RATE_OVER_LIMIT','replace','none','_renderManagerService','SetTextSelectionsOperation','transformRemoteChangeset','handleMoveRange','isActive','_commandService','APPLY_DUPLICATED','_heartbeatTimer','UniverProCollaborationClientUi','ACTIVE_UNIT_EVENT_CHANNEL','data','M0\x200H16V16H0z','blue400','UniverProCollaboration','location','isArray','_registerDependencies','actions','createElement','LOGIN_FAILED','get','findNodePositionByCharIndex','m2Prime','indexOf','event$','_initEntityListener','labelPosition','_color','onlineStatusIcon','createIdentifier','m1Prime','LICENSE_MAX_UNITS_EXCEEDED','DocCollaborationEntity','className','currentTheme$','getCoordByCell','collab-text-range-','_setupSubUnitSync','result','_initResize','setItem','_hover','handleInsertCol','_handleHeartbeatEvent','UniverDrawing','206628NTKhbP','INVITE_CODE_ALREADY_BOUND','undoState','InsertRangeMoveDownCommandId','getVpScrollXYInfoByPosToVp','sheetID','searchParams','ALREADY_EXISTS','_labelPosition','DEFAULT_WS_SESSION_TICKET_URL','delete','2261650lSEqZc','getOwnPropertyDescriptor','_doCreateSocket','fromEvent','LICENSE_EXPORT_SIZE_EXCEEDED','colorChannel1','@univerjs/docs-ui','collabStatus.syncing','color','AWAITING','APPLY_REVISION_CONFILICT','6yqamDo','UniverSheetsUi','offline','UnitStatus','debounce','UNDEFINED','Failed','_unitOnClients','Optional','_uiPartsService','React','HEADER_MENU','then','transformSelections','clearTimeout','getRangePointData','@univerjs-pro/collaboration','doc.mutation.rich-text-editing','useRef','transformMutation','PY_RUNTIME_SCRIPT_ERROR','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','Unknown\x20user','_entityInit$','_toggleOnline','@univerjs/rpc','SheetsSelectionsService','key','getTypeOfUnitDisposed$','@univerjs/engine-render','CollaborationUIEventId','exhaustSavingTask','Tooltip','top','TEXT_RANGE_LAYER_INDEX','engine','init','_collabCursorController','COLORS','setTimeout','univer-offline','current','amd','_id','replaceDocRanges','_initEvent','getCellPositionByOffset','UniverCollaborationClientUIPlugin','currentSkeleton$','getActiveRange','_setupBeforeClosingHandler','_docTransformIMECacheService','createInstance','session.collaboration-timeout','unit','getMergeData','clearInterval','removeParam','UniverInstanceType','_docSyncEditingCollabCursorService','#FFF','asObservable','verdancy600','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getSheetObject','origin','_toggleOffline','values','INTERNAL_ERROR','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','requireSession','IRemoteInstanceService','from','RECT','_init','body','CHANGESET_REVISION_CONFILICT','_syncEditingCollabCursorService','defs','roomMembers','_localStorageService','CollaborationController','SetDocZoomRatioOperation','_clearOtherTimers','univer-flex\x20univer-items-center','OFFLINE','collabCursorState$','save','UniverUi','_scheduleClearOtherTimer','connectInjector','_onCursorUpdate','executeCommand','IDocClipboardService','subUnitId','send','_context','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','2146100tWkfcn','has','deserializeRangeWithSheet','loadUnit','_getSessionTicket','@univerjs/sheets','isTransformMutationsWithChangesetSuccess','_handleEvent','InsertRangeMoveRightCommandId','ITransformService','on-line-single','useCallback','show','ICommandService','textRanges','UniverSheets','memberID','whenReady','_colorIndex','APPLY_PERMISSION_DENIED','editingUnit','_cursorInfo$','mapTo','black','_updateURLWithCurrentState','OTHER_CLIENTS_EDITING','urlChange$','rxjs','post','arc','text','getUnhiddenWorksheets','INVALID_ARGUMENT','code','_handleLeaveEvent','_transformService','entityInit$','Tools','setParam','_saveTaskMap','VIEW_MAIN','FETCH_MISS','YUUMI_UNABLE_LOAD_URL','_docSkeletonManagerService','UNIVER_DOC','shareReplay','_cachedData','univer-online-status','enableLocalCache','handleInsertRangeMoveDown','DisposableCollection','_textBubble','useObservable','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','find','677862zIoleK','filter','DocIMEInputManagerService','Rect','transformMutationsWithChangeset','UNIVER_SHEET','getMember','@univerjs-pro/collaboration-client','univerjs-icon\x20univerjs-icon-','NOT_COLLAB','_createSocketURL','map','collaboration.closeRoom','SYNCED','_configService','#fff','replaceState','getSkeleton','_anchorDot','newValue','2548483hbSjTt','off-line-single','red300','getRelativeToViewportCoord','UniverIcon','_updateLocalCursor','mergeOverrideWithDependencies','measureText','_document','SHEET_VIEWPORT_KEY','SetWorksheetActivateCommand','onCommandExecuted','APPLY_NON_SEQUENTIAL_REVISION','_disabled','_hideTimer','Shape','INotificationService','DocStateChangeManagerService','_status$','_httpService','moveTo','_collaborationUIEventService','_collaborationController','setAlpha','onMouseMove','registerRenderModule','dispose','_initStatusComponent','subscribeEvent','IConfigService','SessionStatus','_range','univer-online','invokeId','UniverDocs','ENSURE_SNAPSHOT_EXECUTION','pipe','onPointerMove$','unitId','reconnect','column','RemoteUniscriptService','mask','UniverRpc','_removeClearOtherTimer','_roomMembers$','_docTransformStateCacheService','registerComponent','_beforeCloseService','getStateCache','popstate','stringify','NOT_FOUND','_getSheetObject','_lastPointer','_shapes','setActiveRange','Module','_name','_docClipboardService','fillRule','_unitStatus','MessageType','YUUMI_URL_COL_OUT_OF_RANGE','error','restore','assignAColorForMemberID','1em','UniverDocsUi','getDocRanges','substring','cursorInfo$','DOC_RANGE_TYPE','ILocalStorageService','tag','generateRandomId','onTransformChange$','UniverEngineFormula','debounceTime','collab-rect-range-','getCollabEntity$','_getSaveTimeout','endRow','round','_dataLoaderService','href','extend','@univerjs/ui','unshift','fillStyle','getTypeOfUnitAdded$','_initDependencies','NodePositionConvertToCursor','IMessageService','fill','SOCKET_FAILED_RETRY','FromArray','rxjs/operators','_collabSessionService','YUUMI_SUBSCRIPTION_NOT_FOUND','split','WECHAT_HAS_BEEN_BOUND','@univerjs/core','ILogService','CONNECTOR_DATA_TOO_LARGE','idSuffix','rgba(255,\x20255,\x20255,\x200.01)','getConfig','getUnitId','_memberService','exports','Subject','DocSkeletonManagerService','lineTo','_send','on-line-single_clip0_910_349','Workbook','getValue','ONLINE','_getScale','function','disposeWithMe','div','xlink:href','Rectangle','SNAPSHOT_HAS_BEEN_REMOVED','_selfUnitIDs','getCurrentUnitForType','DocSelectionManagerService','selections','getActiveSheet','entries','row','_getMergeRange'];_0x5079=function(){return _0x89c58e;};return _0x5079();}
|