@univerjs-pro/collaboration-client-ui 0.8.1-nightly.202506161607 → 0.8.1-nightly.202506171607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x429795,_0x4a186d){const _0x4bb4c7=_0x4b9e,_0x20177c=_0x429795();while(!![]){try{const _0x355f69=parseInt(_0x4bb4c7(0x38a))/0x1*(parseInt(_0x4bb4c7(0x1fd))/0x2)+-parseInt(_0x4bb4c7(0x1b7))/0x3+parseInt(_0x4bb4c7(0x2ea))/0x4*(parseInt(_0x4bb4c7(0x3f5))/0x5)+-parseInt(_0x4bb4c7(0x20f))/0x6*(-parseInt(_0x4bb4c7(0x342))/0x7)+parseInt(_0x4bb4c7(0x3e3))/0x8+-parseInt(_0x4bb4c7(0x33c))/0x9+parseInt(_0x4bb4c7(0x2a8))/0xa*(-parseInt(_0x4bb4c7(0x442))/0xb);if(_0x355f69===_0x4a186d)break;else _0x20177c['push'](_0x20177c['shift']());}catch(_0x9e5a8f){_0x20177c['push'](_0x20177c['shift']());}}}(_0x4f30,0x79816),function(_0x40e2d5,_0x2acdbe){const _0x3d5d9e=_0x4b9e;typeof exports==_0x3d5d9e(0x430)&&typeof module<'u'?_0x2acdbe(exports,require(_0x3d5d9e(0x282)),require(_0x3d5d9e(0x318)),require('@univerjs/engine-render'),require('@univerjs/network'),require(_0x3d5d9e(0x32f)),require('@univerjs/drawing'),require(_0x3d5d9e(0x31b)),require(_0x3d5d9e(0x426)),require(_0x3d5d9e(0x293)),require(_0x3d5d9e(0x1c8)),require(_0x3d5d9e(0x30a)),require('rxjs/operators'),require(_0x3d5d9e(0x2d0)),require('react/jsx-runtime'),require(_0x3d5d9e(0x413)),require(_0x3d5d9e(0x1b6)),require(_0x3d5d9e(0x376)),require('@univerjs/rpc')):typeof define=='function'&&define['amd']?define([_0x3d5d9e(0x331),_0x3d5d9e(0x282),_0x3d5d9e(0x318),_0x3d5d9e(0x3cf),_0x3d5d9e(0x235),'@univerjs/docs-ui','@univerjs/drawing',_0x3d5d9e(0x31b),_0x3d5d9e(0x426),_0x3d5d9e(0x293),_0x3d5d9e(0x1c8),'@univerjs/sheets',_0x3d5d9e(0x3f3),_0x3d5d9e(0x2d0),_0x3d5d9e(0x32e),_0x3d5d9e(0x413),_0x3d5d9e(0x1b6),_0x3d5d9e(0x376),_0x3d5d9e(0x20b)],_0x2acdbe):(_0x40e2d5=typeof globalThis<'u'?globalThis:_0x40e2d5||self,_0x2acdbe(_0x40e2d5[_0x3d5d9e(0x1fa)]={},_0x40e2d5[_0x3d5d9e(0x264)],_0x40e2d5[_0x3d5d9e(0x36a)],_0x40e2d5[_0x3d5d9e(0x237)],_0x40e2d5['UniverNetwork'],_0x40e2d5[_0x3d5d9e(0x203)],_0x40e2d5['UniverDrawing'],_0x40e2d5[_0x3d5d9e(0x31b)],_0x40e2d5[_0x3d5d9e(0x1c7)],_0x40e2d5[_0x3d5d9e(0x29b)],_0x40e2d5[_0x3d5d9e(0x244)],_0x40e2d5[_0x3d5d9e(0x1ca)],_0x40e2d5['rxjs'][_0x3d5d9e(0x3b9)],_0x40e2d5['UniverSheetsUi'],_0x40e2d5['React'],_0x40e2d5[_0x3d5d9e(0x407)],_0x40e2d5['UniverDesign'],_0x40e2d5['React'],_0x40e2d5[_0x3d5d9e(0x206)]));}(this,function(_0x43eb57,_0x260a16,_0x59adf4,_0x18f11f,_0x4426b1,_0x57e1c6,_0x86f71e,_0x23d3ed,_0x4c95c4,_0x31ad25,_0x4ec2c6,_0x315e9e,_0xbdafbc,_0x3a2c75,_0x680642,_0x2ef7b5,_0x4e8a35,_0x288b13,_0x3aa47b){'use strict';const _0x50570e=_0x4b9e;var _0x32b051=Object[_0x50570e(0x1f5)],_0x4c45a7=(_0x978971,_0x1fa27c,_0x6c336c)=>_0x1fa27c in _0x978971?_0x32b051(_0x978971,_0x1fa27c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x6c336c}):_0x978971[_0x1fa27c]=_0x6c336c,_0x42c1e1=(_0x4f5e63,_0xce6fcc,_0x3015e6)=>_0x4c45a7(_0x4f5e63,typeof _0xce6fcc!=_0x50570e(0x23e)?_0xce6fcc+'':_0xce6fcc,_0x3015e6),_0x5c714d=Object['getOwnPropertyDescriptor'],_0x402d0e=(_0x343b8c,_0x56ec6b,_0x39555b,_0x350fe1)=>{const _0xf77f81=_0x50570e;for(var _0x36c8be=_0x350fe1>0x1?void 0x0:_0x350fe1?_0x5c714d(_0x56ec6b,_0x39555b):_0x56ec6b,_0x14523d=_0x343b8c[_0xf77f81(0x37d)]-0x1,_0xce1ed1;_0x14523d>=0x0;_0x14523d--)(_0xce1ed1=_0x343b8c[_0x14523d])&&(_0x36c8be=_0xce1ed1(_0x36c8be)||_0x36c8be);return _0x36c8be;},_0x4abd01=(_0x381da9,_0x1d8af8)=>(_0x427313,_0x3a901c)=>_0x1d8af8(_0x427313,_0x3a901c,_0x381da9);let _0x6299ee=class extends _0x59adf4['RxDisposable']{constructor(_0x3e29a8,_0x3825f9){const _0x39206e=_0x50570e;super(),this[_0x39206e(0x2ce)]=_0x3e29a8,this['_imageIoService']=_0x3825f9,this[_0x39206e(0x359)]();}[_0x50570e(0x359)](){const _0x211857=_0x50570e,_0x2b9b46=this;this['disposeWithMe'](this[_0x211857(0x2ce)][_0x211857(0x24e)]({'onBeforePasteImage':async _0x2f3eeb=>{const _0x524718=_0x211857,_0x258005=await _0x2b9b46[_0x524718(0x337)]['saveImage'](_0x2f3eeb);return _0x258005?{'source':_0x258005['source'],'imageSourceType':_0x258005['imageSourceType']}:null;}}));}};_0x6299ee=_0x402d0e([_0x4abd01(0x0,_0x57e1c6['IDocClipboardService']),_0x4abd01(0x1,_0x86f71e['IImageIoService'])],_0x6299ee);const _0x345df9=[_0x50570e(0x29e),_0x50570e(0x2aa),'green.600',_0x50570e(0x43c),'blue.400',_0x50570e(0x1bc)];class _0x4923e7 extends _0x59adf4[_0x50570e(0x1d7)]{constructor(){const _0x4578ed=_0x50570e;super(...arguments),_0x42c1e1(this,_0x4578ed(0x28f),new Map()),_0x42c1e1(this,_0x4578ed(0x443),0x0);}['assignAColorForMemberID'](_0x59190d){const _0x1470f3=_0x50570e;if(this[_0x1470f3(0x28f)][_0x1470f3(0x1b4)](_0x59190d))return this[_0x1470f3(0x28f)][_0x1470f3(0x1d4)](_0x59190d);const _0x55c090=_0x345df9[this[_0x1470f3(0x443)]];return this['_colorIndex']=(this[_0x1470f3(0x443)]+0x1)%_0x345df9['length'],this[_0x1470f3(0x28f)][_0x1470f3(0x332)](_0x59190d,_0x55c090),_0x55c090;}}function _0x2d0524(_0x158f38){const _0x2bf719=_0x50570e;let _0x5f4635='';for(const _0x3414c8 of _0x158f38){const {startOffset:_0x4d58a1,endOffset:_0x365a11,isActive:_0x36c919,rangeType:_0x5d37f1,segmentId:_0x45a5a9,segmentPage:_0x30f61d}=_0x3414c8;_0x5f4635[_0x2bf719(0x37d)]&&(_0x5f4635+=','),_0x5f4635+=_0x4d58a1+':'+_0x365a11+':'+(_0x36c919?'1':'0')+':'+_0x5d37f1+':'+_0x45a5a9+':'+_0x30f61d;}return _0x5f4635;}function _0x4ac9f0(_0x422618){const _0x59fcba=_0x50570e,_0x4311b2=_0x422618[_0x59fcba(0x38e)](','),_0x2de1de=[];for(const _0x69fb9d of _0x4311b2){const [_0x590f20,_0x2fc89e,_0x4d8540,_0x1893ea,_0xbf44dc,_0x1ac5fb]=_0x69fb9d[_0x59fcba(0x38e)](':');_0x2de1de['push']({'startOffset':Number(_0x590f20),'endOffset':Number(_0x2fc89e),'collapsed':_0x590f20===_0x2fc89e,'isActive':_0x4d8540==='1','rangeType':_0x1893ea===_0x59adf4['DOC_RANGE_TYPE'][_0x59fcba(0x38d)]?_0x59adf4['DOC_RANGE_TYPE'][_0x59fcba(0x38d)]:_0x59adf4['DOC_RANGE_TYPE'][_0x59fcba(0x242)],'segmentId':typeof _0xbf44dc==_0x59fcba(0x29d)?String(_0xbf44dc):'','segmentPage':Number(_0x1ac5fb!=null?_0x1ac5fb:-0x1)});}return _0x2de1de[_0x59fcba(0x28d)](_0x58b1dc=>_0x58b1dc[_0x59fcba(0x382)])||(_0x2de1de[0x0][_0x59fcba(0x382)]=!0x0),_0x2de1de;}class _0x4f4f90 extends _0x59adf4[_0x50570e(0x316)]{constructor(){const _0x422553=_0x50570e;super(...arguments),_0x42c1e1(this,_0x422553(0x1e6),new _0x23d3ed[(_0x422553(0x42d))](null)),_0x42c1e1(this,_0x422553(0x207),this[_0x422553(0x1e6)]['asObservable']());}[_0x50570e(0x296)](_0x142613){const _0x1f644d=_0x50570e,{unitID:_0x2e7cbb,memberID:_0x2482f0,textRanges:_0x2701c6}=_0x142613,_0x240ad5=_0x2d0524(_0x2701c6);if(_0x240ad5==='')return;const _0xfa310e={'unitID':_0x2e7cbb,'memberID':_0x2482f0,'selection':_0x240ad5};this[_0x1f644d(0x1e6)][_0x1f644d(0x21a)](_0xfa310e);}}var _0x20bb72=Object['getOwnPropertyDescriptor'],_0x33c05d=(_0x3c3769,_0x3f2f7b,_0x4b0046,_0x11a1dc)=>{const _0x2b70a5=_0x50570e;for(var _0x235579=_0x11a1dc>0x1?void 0x0:_0x11a1dc?_0x20bb72(_0x3f2f7b,_0x4b0046):_0x3f2f7b,_0x148f6d=_0x3c3769[_0x2b70a5(0x37d)]-0x1,_0x3cf93d;_0x148f6d>=0x0;_0x148f6d--)(_0x3cf93d=_0x3c3769[_0x148f6d])&&(_0x235579=_0x3cf93d(_0x235579)||_0x235579);return _0x235579;},_0x18916b=(_0x474ceb,_0x2fe61e)=>(_0x223e92,_0x36e55a)=>_0x2fe61e(_0x223e92,_0x36e55a,_0x474ceb);const _0xc20899=0x12c,_0x5c9584=0x64;let _0x468cc6=class extends _0x59adf4[_0x50570e(0x316)]{constructor(_0xb636e9,_0xfc53d1,_0x2fc924,_0x30f056,_0x5a53e0,_0x2044ba,_0x3e2a62,_0x4c1f03,_0x4cdf38){const _0x4cbf60=_0x50570e;super(),_0x42c1e1(this,_0x4cbf60(0x2cf),!0x1),_0x42c1e1(this,'_init',!0x1),_0x42c1e1(this,_0x4cbf60(0x2fe),new _0x23d3ed[(_0x4cbf60(0x42d))](new Map())),_0x42c1e1(this,_0x4cbf60(0x38b),this[_0x4cbf60(0x2fe)]['asObservable']()),_0x42c1e1(this,_0x4cbf60(0x1c1),new _0x23d3ed[(_0x4cbf60(0x42d))]([])),_0x42c1e1(this,_0x4cbf60(0x286),this[_0x4cbf60(0x1c1)][_0x4cbf60(0x41f)](_0x23d3ed['debounceTime'](_0xc20899))),_0x42c1e1(this,_0x4cbf60(0x43b),_0x59adf4['debounce'](_0x2df918=>{const _0x3a6536=_0x4cbf60,_0x5d7f3c={'eventID':_0x31ad25[_0x3a6536(0x2e2)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x3a6536(0x411)],'memberID':this['_session'][_0x3a6536(0x303)](),'selection':_0x2d0524(_0x2df918)}};this[_0x3a6536(0x44a)]['send'](_0x5d7f3c,this[_0x3a6536(0x411)]);},_0x5c9584)),(this['unitID']=_0xb636e9,this['_session']=_0xfc53d1,this['_injector']=_0x2fc924,this['_colorAssignService']=_0x30f056,this[_0x4cbf60(0x438)]=_0x5a53e0,this[_0x4cbf60(0x34a)]=_0x2044ba,this[_0x4cbf60(0x384)]=_0x3e2a62,this[_0x4cbf60(0x284)]=_0x4c1f03,this[_0x4cbf60(0x2d4)]=_0x4cdf38);}get[_0x50570e(0x1b3)](){const _0x409746=_0x50570e;return this[_0x409746(0x2fe)][_0x409746(0x3aa)]();}get[_0x50570e(0x3d6)](){const _0x5dd57d=_0x50570e;return this[_0x5dd57d(0x1c1)]['getValue']();}[_0x50570e(0x392)](){const _0x3f52f5=_0x50570e;super[_0x3f52f5(0x392)](),this[_0x3f52f5(0x2fe)][_0x3f52f5(0x21a)](new Map()),this[_0x3f52f5(0x2fe)][_0x3f52f5(0x31d)](),this[_0x3f52f5(0x1c1)][_0x3f52f5(0x21a)]([]),this['_roomMembers$'][_0x3f52f5(0x31d)]();}[_0x50570e(0x2b9)](){const _0x6bc9ee=_0x50570e;this[_0x6bc9ee(0x359)]||(this[_0x6bc9ee(0x359)]=!0x0,this['_session'][_0x6bc9ee(0x1f6)][_0x6bc9ee(0x41f)](_0x23d3ed[_0x6bc9ee(0x2c7)](this['dispose$']))[_0x6bc9ee(0x227)](_0x470612=>{const _0x2de9ee=_0x6bc9ee;_0x470612===_0x260a16[_0x2de9ee(0x301)][_0x2de9ee(0x216)]?this[_0x2de9ee(0x30e)]():this['_toggleOffline']();}),this[_0x6bc9ee(0x44a)][_0x6bc9ee(0x1e1)][_0x6bc9ee(0x41f)](_0x23d3ed['takeUntil'](this['dispose$']))[_0x6bc9ee(0x227)](_0x55ed48=>{const _0x5a3528=_0x6bc9ee,_0x166b40=_0x55ed48[_0x5a3528(0x2d1)];_0x166b40===_0x31ad25[_0x5a3528(0x2e2)][_0x5a3528(0x2f0)]&&this[_0x5a3528(0x278)](_0x55ed48),_0x166b40===_0x31ad25[_0x5a3528(0x2e2)][_0x5a3528(0x1fe)]&&this[_0x5a3528(0x226)](_0x55ed48);}),this[_0x6bc9ee(0x1c0)](this[_0x6bc9ee(0x2d4)]['onCommandExecuted'](_0x4b162b=>{const _0x4b21d7=_0x6bc9ee,_0x3cfa50=_0x4b162b[_0x4b21d7(0x302)];_0x3cfa50!=null&&this[_0x4b21d7(0x2cf)]&&_0x4b162b['id']===_0x4c95c4[_0x4b21d7(0x36b)]['id']&&_0x3cfa50[_0x4b21d7(0x44c)]===this[_0x4b21d7(0x411)]&&_0x3cfa50[_0x4b21d7(0x230)]===!0x1&&_0x3cfa50[_0x4b21d7(0x3d2)][_0x4b21d7(0x37d)]>0x0&&this[_0x4b21d7(0x43b)](_0x3cfa50['ranges']);})),this['_syncEditingCollabCursorService'][_0x6bc9ee(0x207)]['pipe'](_0x23d3ed[_0x6bc9ee(0x2c7)](this[_0x6bc9ee(0x3f4)]))['subscribe'](_0x472673=>{const _0x5bd675=_0x6bc9ee;if((_0x472673==null?void 0x0:_0x472673[_0x5bd675(0x411)])!==this[_0x5bd675(0x411)])return;const _0x3a48a2={'eventID':_0x31ad25['CollaborationEvent'][_0x5bd675(0x2f0)],'data':_0x472673};this[_0x5bd675(0x278)](_0x3a48a2);}),this['disposeWithMe'](this['_commandService'][_0x6bc9ee(0x1e3)](_0x23c3ab=>{const _0x45ac6f=_0x6bc9ee;if(_0x23c3ab[_0x45ac6f(0x302)]==null)return;const _0x525723=_0x23c3ab['params'];if(_0x23c3ab['id']!==_0x4c95c4['RichTextEditingMutation']['id']||_0x525723['unitId']!==this[_0x45ac6f(0x411)])return;const _0x526cd5={'id':_0x45ac6f(0x41d),'params':_0x525723},_0x63ca47=this[_0x45ac6f(0x1b3)];for(const [_0x3f4414,_0x3a71fd]of _0x63ca47){const _0x3689b7={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x45ac6f(0x411)],'actions':null,'textRanges':_0x3a71fd[_0x45ac6f(0x3d2)]}},_0x585878=this['_transformService'][_0x45ac6f(0x1ec)](_0x526cd5,_0x3689b7,!0x1);if(_0x31ad25[_0x45ac6f(0x357)](_0x585878))throw _0x585878['error'];_0x63ca47['set'](_0x3f4414,{..._0x3a71fd,'ranges':_0x585878[_0x45ac6f(0x20e)][_0x45ac6f(0x302)][_0x45ac6f(0x3b1)]});}queueMicrotask(()=>{const _0x11919a=_0x45ac6f;this[_0x11919a(0x2fe)][_0x11919a(0x21a)](_0x63ca47);});})));}[_0x50570e(0x278)](_0x36a2f6){const _0x1e182b=_0x50570e;var _0x2105ba,_0x5b7dfa;const {memberID:_0x41ed16,selection:_0x3e9158}=_0x36a2f6[_0x1e182b(0x24d)],_0x4ec8e5=_0x4ac9f0(_0x3e9158),_0x1bc89a=(_0x5b7dfa=(_0x2105ba=this[_0x1e182b(0x438)]['getMember'](this['unitID'],_0x41ed16))==null?void 0x0:_0x2105ba[_0x1e182b(0x3d0)])!=null?_0x5b7dfa:_0x1e182b(0x41e),_0xfa54b8={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x41ed16),'name':_0x1bc89a,'ranges':_0x4ec8e5},_0x406533=this['cursorInfo'];_0x406533[_0x1e182b(0x332)](_0x41ed16,_0xfa54b8),this[_0x1e182b(0x2fe)][_0x1e182b(0x21a)](_0x406533);}[_0x50570e(0x226)](_0x1de7ba){const _0x215a65=_0x50570e,{memberID:_0x11c65b}=_0x1de7ba[_0x215a65(0x24d)],_0x4a0b0c=this[_0x215a65(0x1b3)];_0x4a0b0c[_0x215a65(0x1b5)](_0x11c65b),this[_0x215a65(0x2fe)][_0x215a65(0x21a)](_0x4a0b0c);}[_0x50570e(0x30e)](){const _0x2e0240=_0x50570e;var _0x5cf703;if(this[_0x2e0240(0x2cf)]=!0x0,((_0x5cf703=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x5cf703[_0x2e0240(0x3ca)]())!==this[_0x2e0240(0x411)])return;const _0x2ceba5=this[_0x2e0240(0x232)]['get'](_0x4c95c4['DocSelectionManagerService'])[_0x2e0240(0x238)]();Array[_0x2e0240(0x3b6)](_0x2ceba5)&&_0x2ceba5['length']>0x0&&this[_0x2e0240(0x43b)](_0x2ceba5);}[_0x50570e(0x330)](){const _0x516c9f=_0x50570e;this[_0x516c9f(0x2cf)]=!0x1;}};_0x468cc6=_0x33c05d([_0x18916b(0x2,_0x59adf4[_0x50570e(0x3b2)](_0x59adf4[_0x50570e(0x364)])),_0x18916b(0x3,_0x59adf4[_0x50570e(0x3b2)](_0x4923e7)),_0x18916b(0x4,_0x59adf4['Inject'](_0x260a16[_0x50570e(0x33f)])),_0x18916b(0x5,_0x59adf4[_0x50570e(0x3b2)](_0x4f4f90)),_0x18916b(0x6,_0x31ad25[_0x50570e(0x393)]),_0x18916b(0x7,_0x59adf4[_0x50570e(0x24b)]),_0x18916b(0x8,_0x59adf4[_0x50570e(0x200)])],_0x468cc6);var _0x48f9ba=Object[_0x50570e(0x2fa)],_0xf99ef8=(_0x4a2ade,_0x4c954b,_0x43a8ed,_0x2dfecb)=>{const _0x40153e=_0x50570e;for(var _0x429276=_0x2dfecb>0x1?void 0x0:_0x2dfecb?_0x48f9ba(_0x4c954b,_0x43a8ed):_0x4c954b,_0x48c9ad=_0x4a2ade[_0x40153e(0x37d)]-0x1,_0x41bcf1;_0x48c9ad>=0x0;_0x48c9ad--)(_0x41bcf1=_0x4a2ade[_0x48c9ad])&&(_0x429276=_0x41bcf1(_0x429276)||_0x429276);return _0x429276;},_0x5cd9de=(_0x1c1368,_0x14fc21)=>(_0x7363,_0x5b1f22)=>_0x14fc21(_0x7363,_0x5b1f22,_0x1c1368);const _0x2213d5=0x12c,_0x1162c2=0x64,_0x59fc25=()=>{let _0x1bb7d8=[],_0x2a598c=!0x1;return _0x19fce3=>{const _0xf14367=_0x4b9e;_0x1bb7d8[_0xf14367(0x34c)](_0x19fce3),_0x2a598c||(_0x2a598c=!0x0,setTimeout(()=>{const _0xbd8cd1=_0xf14367;_0x1bb7d8[_0xbd8cd1(0x201)](_0x369f5c=>_0x369f5c()),_0x1bb7d8=[],_0x2a598c=!0x1;}));};};let _0x185563=class extends _0x59adf4[_0x50570e(0x316)]{constructor(_0x5cd3cd,_0x20f237,_0x5977a3,_0x269106,_0x194012,_0x572e81,_0x1ea20f,_0x31e9c6){const _0x7829b0=_0x50570e;super(),_0x42c1e1(this,_0x7829b0(0x2cf),!0x1),_0x42c1e1(this,'_init',!0x1),_0x42c1e1(this,_0x7829b0(0x2fe),new _0x23d3ed[(_0x7829b0(0x42d))](new Map())),_0x42c1e1(this,_0x7829b0(0x38b),this[_0x7829b0(0x2fe)][_0x7829b0(0x448)]()),_0x42c1e1(this,'_roomMembers$',new _0x23d3ed['BehaviorSubject']([])),_0x42c1e1(this,'roomMembers$',this[_0x7829b0(0x1c1)]['pipe'](_0x23d3ed[_0x7829b0(0x307)](_0x2213d5))),_0x42c1e1(this,_0x7829b0(0x43b),_0x59adf4['debounce']((_0x7e2eec,_0x211dba)=>{const _0x252e8d=_0x7829b0,_0x3a92ef={'eventID':_0x31ad25[_0x252e8d(0x2e2)][_0x252e8d(0x2f0)],'data':{'unitID':this[_0x252e8d(0x411)],'memberID':this[_0x252e8d(0x44a)][_0x252e8d(0x303)](),'selection':_0x4ec2c6[_0x252e8d(0x3d5)](_0x7e2eec,_0x211dba[_0x252e8d(0x309)])}};this[_0x252e8d(0x44a)][_0x252e8d(0x2dd)](_0x3a92ef,this[_0x252e8d(0x411)]);},_0x1162c2)),(this[_0x7829b0(0x411)]=_0x5cd3cd,this[_0x7829b0(0x44a)]=_0x20f237,this[_0x7829b0(0x232)]=_0x5977a3,this[_0x7829b0(0x1b9)]=_0x269106,this[_0x7829b0(0x438)]=_0x194012,this[_0x7829b0(0x284)]=_0x572e81,this[_0x7829b0(0x2d4)]=_0x1ea20f,this[_0x7829b0(0x1d3)]=_0x31e9c6);}get['cursorInfo'](){const _0x3c303a=_0x50570e;return this[_0x3c303a(0x2fe)][_0x3c303a(0x3aa)]();}get[_0x50570e(0x3d6)](){const _0x2cea8a=_0x50570e;return this[_0x2cea8a(0x1c1)]['getValue']();}[_0x50570e(0x392)](){const _0x5892b9=_0x50570e;super['dispose'](),this[_0x5892b9(0x2fe)][_0x5892b9(0x21a)](new Map()),this[_0x5892b9(0x2fe)]['complete'](),this['_roomMembers$'][_0x5892b9(0x21a)]([]),this[_0x5892b9(0x1c1)]['complete']();}[_0x50570e(0x2b9)](){const _0xaccab=_0x50570e;this[_0xaccab(0x359)]||(this[_0xaccab(0x359)]=!0x0,this['_session'][_0xaccab(0x1f6)][_0xaccab(0x41f)](_0x23d3ed[_0xaccab(0x2c7)](this[_0xaccab(0x3f4)]))[_0xaccab(0x227)](_0x560ec7=>{const _0x1092c5=_0xaccab;_0x560ec7===_0x260a16['SessionStatus'][_0x1092c5(0x216)]?this[_0x1092c5(0x30e)]():this[_0x1092c5(0x330)]();}),this['_session'][_0xaccab(0x1e1)][_0xaccab(0x41f)](_0x23d3ed[_0xaccab(0x2c7)](this['dispose$']))[_0xaccab(0x227)](_0x1f36da=>{const _0x556b2c=_0xaccab,_0x55bbb3=_0x1f36da['eventID'];_0x55bbb3===_0x31ad25[_0x556b2c(0x2e2)][_0x556b2c(0x2f0)]&&this['_onCursorUpdate'](_0x1f36da),_0x55bbb3===_0x31ad25[_0x556b2c(0x2e2)][_0x556b2c(0x1fe)]&&this['_onCursorDelete'](_0x1f36da);}),this[_0xaccab(0x21c)](),this[_0xaccab(0x1c0)](this[_0xaccab(0x2d4)]['onCommandExecuted'](_0x4b06cd=>{const _0x33aec7=_0xaccab;if(this[_0x33aec7(0x2cf)]&&_0x4b06cd['id']===_0x315e9e[_0x33aec7(0x3db)]['id']&&_0x4b06cd[_0x33aec7(0x302)]['unitId']===this[_0x33aec7(0x411)]){const _0x46ec56=_0x4b06cd[_0x33aec7(0x302)];this[_0x33aec7(0x43b)](_0x46ec56['subUnitId'],_0x46ec56['selections'][0x0]);}})));}[_0x50570e(0x278)](_0xbe5d0f){const _0x3cbe86=_0x50570e;var _0x59061f,_0xb310cd;const {memberID:_0x4799f1,selection:_0x4f35d8}=_0xbe5d0f[_0x3cbe86(0x24d)],{sheetName:_0x5ee1a9,range:_0x382078}=_0x4ec2c6['deserializeRangeWithSheet'](_0x4f35d8),_0x1c68b0={'name':(_0xb310cd=(_0x59061f=this[_0x3cbe86(0x438)][_0x3cbe86(0x1f9)](this[_0x3cbe86(0x411)],_0x4799f1))==null?void 0x0:_0x59061f[_0x3cbe86(0x3d0)])!=null?_0xb310cd:_0x3cbe86(0x41e),'range':this[_0x3cbe86(0x3c5)](_0x5ee1a9,_0x382078),'sheetID':_0x5ee1a9,'color':this[_0x3cbe86(0x1b9)][_0x3cbe86(0x3ff)](_0x4799f1),'selection':_0x4f35d8},_0x315c12=this[_0x3cbe86(0x1b3)];_0x315c12[_0x3cbe86(0x332)](_0x4799f1,_0x1c68b0),this[_0x3cbe86(0x2fe)][_0x3cbe86(0x21a)](_0x315c12);}[_0x50570e(0x226)](_0x7c5620){const _0x374f7e=_0x50570e,{memberID:_0x14217d}=_0x7c5620[_0x374f7e(0x24d)],_0x4b7011=this[_0x374f7e(0x1b3)];_0x4b7011[_0x374f7e(0x1b5)](_0x14217d),this['_cursorInfo$'][_0x374f7e(0x21a)](_0x4b7011);}[_0x50570e(0x3c5)](_0x3301d8,_0x4b75e9){const _0xc9a519=_0x50570e;var _0x182a7e,_0x4cb138;const _0x24c5ca=(_0x4cb138=(_0x182a7e=this[_0xc9a519(0x284)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x182a7e['getSheetBySheetId'](_0x3301d8))==null?void 0x0:_0x4cb138[_0xc9a519(0x387)]();return(_0x24c5ca==null?void 0x0:_0x24c5ca['find'](_0x5a2e51=>_0x59adf4[_0xc9a519(0x212)]['contains'](_0x5a2e51,_0x4b75e9)))||_0x4b75e9;}[_0x50570e(0x21c)](){const _0x37c6e8=_0x50570e,_0x11c5b1=new _0x59adf4[(_0x37c6e8(0x26c))](),_0x27e625=_0x59fc25(),_0xf4ac2a=()=>{const _0x4ba257=_0x37c6e8;_0x11c5b1[_0x4ba257(0x392)]();const _0x3ab2ac=(_0x58bfd5,_0x3e93db,_0x35d0af,_0x147393)=>{const _0x8b3d7e=_0x4ba257;let _0x476e18=[];switch(_0x58bfd5['id']){case _0x315e9e[_0x8b3d7e(0x44d)][_0x8b3d7e(0x2ed)]:{_0x476e18=_0x315e9e[_0x8b3d7e(0x2e6)](_0x58bfd5,_0x147393);break;}case _0x315e9e[_0x8b3d7e(0x44d)][_0x8b3d7e(0x3a5)]:{_0x476e18=_0x315e9e['handleDeleteRangeMoveUp'](_0x58bfd5,_0x147393);break;}case _0x315e9e[_0x8b3d7e(0x44d)][_0x8b3d7e(0x1f8)]:{_0x476e18=_0x315e9e[_0x8b3d7e(0x2d6)](_0x58bfd5,_0x147393);break;}case _0x315e9e[_0x8b3d7e(0x44d)][_0x8b3d7e(0x1f3)]:{_0x476e18=_0x315e9e[_0x8b3d7e(0x38f)](_0x58bfd5,_0x147393);break;}case _0x315e9e[_0x8b3d7e(0x44d)][_0x8b3d7e(0x386)]:{_0x476e18=_0x315e9e[_0x8b3d7e(0x2f7)](_0x58bfd5,_0x147393);break;}case _0x315e9e[_0x8b3d7e(0x44d)][_0x8b3d7e(0x35b)]:{_0x476e18=_0x315e9e[_0x8b3d7e(0x217)](_0x58bfd5,_0x147393);break;}case _0x315e9e['EffectRefRangId'][_0x8b3d7e(0x3fa)]:{_0x476e18=_0x315e9e[_0x8b3d7e(0x3c1)](_0x58bfd5,_0x147393);break;}case _0x315e9e[_0x8b3d7e(0x44d)]['RemoveColCommandId']:{_0x476e18=_0x315e9e['handleIRemoveCol'](_0x58bfd5,_0x147393);break;}case _0x315e9e[_0x8b3d7e(0x44d)]['RemoveRowCommandId']:{_0x476e18=_0x315e9e[_0x8b3d7e(0x2b8)](_0x58bfd5,_0x147393);break;}}const _0x46bbeb=_0x315e9e['runRefRangeMutations'](_0x476e18,_0x147393),_0x24ee04=this['cursorInfo'][_0x8b3d7e(0x1d4)](_0x3e93db);if(_0x24ee04&&_0x46bbeb){const _0x59638c={..._0x24ee04,'range':_0x46bbeb};this[_0x8b3d7e(0x1b3)][_0x8b3d7e(0x332)](_0x3e93db,_0x59638c),_0x27e625(()=>{const _0x285824=_0x8b3d7e,_0x453b09=this[_0x285824(0x1d3)][_0x285824(0x2c6)](_0x46bbeb,_0x57dc91=>(_0x453b09[_0x285824(0x392)](),_0x3ab2ac(_0x57dc91,_0x3e93db,_0x35d0af,_0x46bbeb)));_0x11c5b1[_0x285824(0x1c9)](_0x453b09);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x4ba257(0x201)]((_0x3be05a,_0x594b5f)=>{const _0x1c6028=_0x4ba257,{range:_0x1b1c6c,sheetID:_0xb8e835}=_0x3be05a,_0x3e473a=this['_refRangeService'][_0x1c6028(0x2c6)](_0x1b1c6c,_0x25879e=>(_0x3e473a[_0x1c6028(0x392)](),_0x3ab2ac(_0x25879e,_0x594b5f,_0xb8e835,_0x1b1c6c)));_0x11c5b1[_0x1c6028(0x1c9)](_0x3e473a);});};this[_0x37c6e8(0x1c0)](_0x59adf4[_0x37c6e8(0x2f4)](this[_0x37c6e8(0x2fe)][_0x37c6e8(0x227)](()=>{_0xf4ac2a();})));}[_0x50570e(0x30e)](){const _0x3c43bc=_0x50570e;var _0x30099f,_0x58a890;if(this[_0x3c43bc(0x2cf)]=!0x0,((_0x30099f=this[_0x3c43bc(0x284)][_0x3c43bc(0x29c)]())==null?void 0x0:_0x30099f[_0x3c43bc(0x3ca)]())!==this[_0x3c43bc(0x411)])return;const _0x4c0b04=(_0x58a890=this['_injector']['get'](_0x315e9e['SheetsSelectionsService'])[_0x3c43bc(0x1c2)]())==null?void 0x0:_0x58a890[0x0],_0x32d78b=this[_0x3c43bc(0x284)][_0x3c43bc(0x2cb)](_0x59adf4[_0x3c43bc(0x39f)][_0x3c43bc(0x3fd)])[_0x3c43bc(0x2f1)]();_0x4c0b04&&_0x32d78b&&this[_0x3c43bc(0x43b)](_0x32d78b[_0x3c43bc(0x2b3)](),_0x4c0b04);}[_0x50570e(0x330)](){const _0x30fb52=_0x50570e;this[_0x30fb52(0x2cf)]=!0x1;}};_0x185563=_0xf99ef8([_0x5cd9de(0x2,_0x59adf4[_0x50570e(0x3b2)](_0x59adf4[_0x50570e(0x364)])),_0x5cd9de(0x3,_0x59adf4[_0x50570e(0x3b2)](_0x4923e7)),_0x5cd9de(0x4,_0x59adf4[_0x50570e(0x3b2)](_0x260a16['MemberService'])),_0x5cd9de(0x5,_0x59adf4[_0x50570e(0x24b)]),_0x5cd9de(0x6,_0x59adf4['ICommandService']),_0x5cd9de(0x7,_0x59adf4[_0x50570e(0x3b2)](_0x315e9e[_0x50570e(0x314)]))],_0x185563);var _0x36a2fd=Object[_0x50570e(0x2fa)],_0xe5bb0=(_0x3937f6,_0x4a815b,_0xf8c815,_0x4a26fb)=>{const _0x565133=_0x50570e;for(var _0x435de8=_0x4a26fb>0x1?void 0x0:_0x4a26fb?_0x36a2fd(_0x4a815b,_0xf8c815):_0x4a815b,_0x204b37=_0x3937f6[_0x565133(0x37d)]-0x1,_0x131f63;_0x204b37>=0x0;_0x204b37--)(_0x131f63=_0x3937f6[_0x204b37])&&(_0x435de8=_0x131f63(_0x435de8)||_0x435de8);return _0x435de8;},_0x422ad8=(_0x4dacb7,_0x58a60e)=>(_0x2dc515,_0x413a11)=>_0x58a60e(_0x2dc515,_0x413a11,_0x4dacb7);let _0x1da02f=class extends _0x59adf4[_0x50570e(0x316)]{constructor(_0x629baf,_0x17af48,_0x4242b9){const _0x2b5341=_0x50570e;super(),_0x42c1e1(this,_0x2b5341(0x31c),new Map()),_0x42c1e1(this,_0x2b5341(0x1c5),new _0x23d3ed[(_0x2b5341(0x418))]()),(this[_0x2b5341(0x284)]=_0x629baf,this[_0x2b5341(0x232)]=_0x17af48,this[_0x2b5341(0x3ab)]=_0x4242b9,this[_0x2b5341(0x359)]());}[_0x50570e(0x392)](){const _0x7eaa8c=_0x50570e;super[_0x7eaa8c(0x392)](),this[_0x7eaa8c(0x1c5)][_0x7eaa8c(0x31d)](),this[_0x7eaa8c(0x31c)]['forEach'](_0x2c527c=>_0x2c527c['dispose']());}[_0x50570e(0x440)](_0x2dcce7){const _0x4bbc5d=_0x50570e;return this[_0x4bbc5d(0x31c)][_0x4bbc5d(0x1b4)](_0x2dcce7)?this[_0x4bbc5d(0x31c)][_0x4bbc5d(0x1d4)](_0x2dcce7)[_0x4bbc5d(0x38b)]:this[_0x4bbc5d(0x1c5)]['pipe'](_0x23d3ed[_0x4bbc5d(0x35e)](_0x374a0f=>_0x374a0f['unitID']===_0x2dcce7),_0x23d3ed[_0x4bbc5d(0x3ed)](_0x3df915=>_0x3df915[_0x4bbc5d(0x38b)]));}[_0x50570e(0x359)](){const _0x459bfd=_0x50570e;this[_0x459bfd(0x284)]['getTypeOfUnitAdded$'](_0x59adf4['UniverInstanceType'][_0x459bfd(0x3fd)])[_0x459bfd(0x41f)](_0x23d3ed[_0x459bfd(0x2c7)](this[_0x459bfd(0x3f4)]))[_0x459bfd(0x227)](async _0x2d71e5=>{const _0x3fa838=_0x459bfd,_0x26b674=_0x2d71e5[_0x3fa838(0x3ca)](),_0x4bd1f7=await this[_0x3fa838(0x2c2)](_0x26b674);this[_0x3fa838(0x1c5)][_0x3fa838(0x21a)](_0x4bd1f7),this[_0x3fa838(0x31c)]['set'](_0x26b674,_0x4bd1f7);}),this[_0x459bfd(0x284)][_0x459bfd(0x417)](_0x59adf4[_0x459bfd(0x39f)][_0x459bfd(0x372)])[_0x459bfd(0x41f)](_0x23d3ed[_0x459bfd(0x2c7)](this[_0x459bfd(0x3f4)]))[_0x459bfd(0x41f)](_0x23d3ed['filter'](_0x24d8c3=>!_0x24d8c3[_0x459bfd(0x3ca)]()[_0x459bfd(0x43e)]('__')))[_0x459bfd(0x227)](async _0x43b9d2=>{const _0x461fd0=_0x459bfd,_0x5e83e9=_0x43b9d2[_0x461fd0(0x3ca)](),_0x54eeba=await this[_0x461fd0(0x3cd)](_0x5e83e9);this[_0x461fd0(0x1c5)][_0x461fd0(0x21a)](_0x54eeba),this[_0x461fd0(0x31c)]['set'](_0x5e83e9,_0x54eeba);}),_0x23d3ed[_0x459bfd(0x1e4)](this[_0x459bfd(0x284)][_0x459bfd(0x395)](_0x59adf4[_0x459bfd(0x39f)][_0x459bfd(0x372)]),this[_0x459bfd(0x284)][_0x459bfd(0x395)](_0x59adf4[_0x459bfd(0x39f)][_0x459bfd(0x3fd)]))[_0x459bfd(0x41f)](_0x23d3ed[_0x459bfd(0x2c7)](this[_0x459bfd(0x3f4)]))[_0x459bfd(0x227)](_0x2b978e=>{const _0x204ff2=_0x459bfd,_0x26b93b=_0x2b978e['getUnitId'](),_0x4665aa=this[_0x204ff2(0x31c)]['get'](_0x26b93b);_0x4665aa&&(_0x4665aa['dispose'](),this[_0x204ff2(0x31c)][_0x204ff2(0x1b5)](_0x26b93b));});}async[_0x50570e(0x2c2)](_0x3d1966){const _0x1ce4f0=_0x50570e,_0xdc8539=await this['_collabSessionService'][_0x1ce4f0(0x269)](_0x3d1966),_0x482ac2=this[_0x1ce4f0(0x232)][_0x1ce4f0(0x1dc)](_0x185563,_0x3d1966,_0xdc8539);return _0x482ac2[_0x1ce4f0(0x2b9)](),_0x482ac2;}async[_0x50570e(0x3cd)](_0x32636a){const _0x57a235=_0x50570e,_0x305f42=await this['_collabSessionService'][_0x57a235(0x269)](_0x32636a),_0x42cb79=this[_0x57a235(0x232)][_0x57a235(0x1dc)](_0x468cc6,_0x32636a,_0x305f42);return _0x42cb79[_0x57a235(0x2b9)](),_0x42cb79;}};_0x1da02f=_0xe5bb0([_0x422ad8(0x0,_0x59adf4[_0x50570e(0x24b)]),_0x422ad8(0x1,_0x59adf4[_0x50570e(0x3b2)](_0x59adf4['Injector'])),_0x422ad8(0x2,_0x59adf4[_0x50570e(0x3b2)](_0x260a16['CollaborationSessionService']))],_0x1da02f);const _0x4231fb=0x14,_0x11657b=0xc8,_0x3863ac=0x4,_0x3f412d=0x5;function _0x4870c5(_0x4e1324,_0x35d0e6){const _0x169496=_0x50570e;let {radius:_0x2fc477,width:_0x104bfa,height:_0x4a7505}=_0x35d0e6;_0x2fc477=_0x2fc477!=null?_0x2fc477:0x0,_0x104bfa=_0x104bfa!=null?_0x104bfa:0x1e,_0x4a7505=_0x4a7505!=null?_0x4a7505:0x1e;let _0x49f0da=0x0,_0x1d7d01=0x0,_0x2dc19a=0x0;_0x49f0da=_0x1d7d01=_0x2dc19a=Math[_0x169496(0x3a3)](_0x2fc477,_0x104bfa/0x2,_0x4a7505/0x2),_0x4e1324[_0x169496(0x2b2)](),_0x4e1324[_0x169496(0x371)](_0x49f0da,0x0),_0x4e1324['lineTo'](_0x104bfa-_0x1d7d01,0x0),_0x4e1324[_0x169496(0x435)](_0x104bfa-_0x1d7d01,_0x1d7d01,_0x1d7d01,Math['PI']*0x3/0x2,0x0,!0x1),_0x4e1324[_0x169496(0x3c7)](_0x104bfa,_0x4a7505-_0x2dc19a),_0x4e1324[_0x169496(0x435)](_0x104bfa-_0x2dc19a,_0x4a7505-_0x2dc19a,_0x2dc19a,0x0,Math['PI']/0x2,!0x1),_0x4e1324[_0x169496(0x3c7)](0x0,_0x4a7505),_0x4e1324[_0x169496(0x3c7)](0x0,_0x49f0da),_0x4e1324[_0x169496(0x435)](_0x49f0da,_0x49f0da,_0x49f0da,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4e1324[_0x169496(0x3d9)](),_0x35d0e6[_0x169496(0x3d4)]&&(_0x4e1324[_0x169496(0x1e2)](),_0x4e1324[_0x169496(0x280)]=_0x35d0e6['fill'],_0x35d0e6[_0x169496(0x30f)]===_0x169496(0x409)?_0x4e1324[_0x169496(0x3d4)](_0x169496(0x409)):_0x4e1324[_0x169496(0x3d4)](),_0x4e1324[_0x169496(0x21e)]());}class _0x20767a extends _0x18f11f['Shape']{constructor(_0x4d882d,_0x4fbc08){const _0x367fc3=_0x50570e;super(_0x4d882d,_0x4fbc08),_0x42c1e1(this,_0x367fc3(0x2ad)),_0x42c1e1(this,_0x367fc3(0x3d8)),(this[_0x367fc3(0x2ad)]=_0x4fbc08==null?void 0x0:_0x4fbc08[_0x367fc3(0x2ad)],this['text']=_0x4fbc08==null?void 0x0:_0x4fbc08['text']);}static[_0x50570e(0x37a)](_0x877309,_0x5774e1){const _0x3c42c7=_0x50570e,{text:_0x4331f7,color:_0x3d5a00}=_0x5774e1;_0x877309[_0x3c42c7(0x1e2)](),_0x877309['font']=_0x3c42c7(0x1fc);const _0x32d5b8=_0x877309[_0x3c42c7(0x433)](_0x4331f7)[_0x3c42c7(0x22c)],_0x40da3a=Math[_0x3c42c7(0x3a3)](_0x32d5b8+0x2*_0x3863ac,_0x11657b);_0x4870c5(_0x877309,{'height':_0x4231fb,'radius':0x4,'width':_0x40da3a,'fill':_0x3d5a00}),_0x877309['fillStyle']=_0x3c42c7(0x37f);const _0x276337=_0x3863ac,_0x150ffa=_0x4231fb-_0x3f412d,_0x46dd36=_0x11657b-0x2*_0x3863ac;if(_0x32d5b8>_0x46dd36){let _0x4a60f0='',_0x23c0ad=0x0;for(const _0x3dab91 of _0x4331f7){const _0x2a496e=_0x877309['measureText'](_0x3dab91)[_0x3c42c7(0x22c)];if(_0x23c0ad+_0x2a496e<=_0x46dd36-_0x877309[_0x3c42c7(0x433)](_0x3c42c7(0x352))[_0x3c42c7(0x22c)])_0x4a60f0+=_0x3dab91,_0x23c0ad+=_0x2a496e;else{_0x4a60f0+=_0x3c42c7(0x352);break;}}_0x877309[_0x3c42c7(0x2da)](_0x4a60f0,_0x276337,_0x150ffa);}else _0x877309['fillText'](_0x4331f7,_0x276337,_0x150ffa);_0x877309[_0x3c42c7(0x21e)]();}[_0x50570e(0x3b7)](_0x4aeedc){const _0x15668d=_0x50570e;_0x20767a[_0x15668d(0x37a)](_0x4aeedc,this);}}const _0x1c3fd5=_0x50570e(0x2a7),_0x1c9abf=_0x50570e(0x2b4),_0x5ea601=_0x50570e(0x35f),_0x2ea6d3=0x6,_0x30e64d=1.5,_0x34941c=0x4,_0x558029=1.5,_0x3991dc='rgba(255,\x20255,\x20255,\x200.01)';class _0x176d1e{constructor(_0x12b244,_0x39f267,_0x4d152b,_0x1bb690){const _0x288c18=_0x50570e;_0x42c1e1(this,'_shapes',[]),_0x42c1e1(this,'_anchor',null),_0x42c1e1(this,_0x288c18(0x249),null),_0x42c1e1(this,'_anchorDot',null),_0x42c1e1(this,_0x288c18(0x39d),null),_0x42c1e1(this,_0x288c18(0x32d),null),(this[_0x288c18(0x3b4)]=_0x12b244,this['_scene']=_0x39f267,this[_0x288c18(0x35c)]=_0x4d152b,this[_0x288c18(0x44e)]=_0x1bb690,this[_0x288c18(0x325)]());}set[_0x50570e(0x394)](_0x1b31c3){const _0x763851=_0x50570e;_0x1b31c3?(this[_0x763851(0x297)]&&this[_0x763851(0x297)][_0x763851(0x1e5)](),this[_0x763851(0x249)]&&this[_0x763851(0x249)][_0x763851(0x25f)]()):(this['_anchorDot']&&this[_0x763851(0x297)][_0x763851(0x25f)](),this[_0x763851(0x249)]&&this['_textBubble'][_0x763851(0x1e5)]());}[_0x50570e(0x392)](){const _0x531286=_0x50570e;for(const _0x3516a4 of this[_0x531286(0x3c2)])_0x3516a4['dispose']();this['_textBubble']&&this[_0x531286(0x249)]['dispose'](),this[_0x531286(0x297)]&&this[_0x531286(0x297)][_0x531286(0x392)](),this[_0x531286(0x23d)]&&this['_anchor'][_0x531286(0x392)](),this['_eventUnsubscribe']&&this[_0x531286(0x32d)]();}[_0x50570e(0x325)](){const _0x1a9410=_0x50570e;var _0xdfb211;const {_docSkeleton:_0x14776e,_document:_0x2e13d2}=this,{color:_0x4f3e79,name:_0x4f8054,ranges:_0x5d1ecf}=this[_0x1a9410(0x3b4)],_0x53e9b3=_0x2e13d2[_0x1a9410(0x23f)](),{docsLeft:_0x57e4f2,docsTop:_0x4b513c}=_0x53e9b3,_0x498159=new _0x57e1c6['NodePositionConvertToCursor'](_0x53e9b3,_0x14776e);for(const {startOffset:_0x368ffc,endOffset:_0x375a97,rangeType:_0x3bf90c,segmentId:_0x2b921f,segmentPage:_0x1cd43d,collapsed:_0x1605a6,isActive:_0x4b0d69}of _0x5d1ecf){const _0x15d1bb=_0x14776e[_0x1a9410(0x209)](_0x368ffc,!0x0,_0x2b921f,_0x1cd43d);let _0x8cfb23=_0x14776e[_0x1a9410(0x209)](_0x375a97,!0x0,_0x2b921f,_0x1cd43d);if(_0x8cfb23==null&&(_0x8cfb23=_0x14776e[_0x1a9410(0x209)](_0x375a97-0x1,!0x1,_0x2b921f,_0x1cd43d)),_0x4b0d69){const {contentBoxPointGroup:_0x7779c5}=_0x498159['getRangePointData'](_0x8cfb23,_0x8cfb23);if(_0x7779c5[_0x1a9410(0x37d)]===0x0)continue;this[_0x1a9410(0x3af)](_0x4f3e79,_0x7779c5,_0x57e4f2,_0x4b513c,_0x4f8054),this[_0x1a9410(0x32d)]=this[_0x1a9410(0x2b0)]();}if(_0x15d1bb&&_0x8cfb23){if(_0x3bf90c===_0x59adf4[_0x1a9410(0x2a0)]['RECT']){const _0x17bd11=new _0x57e1c6['NodePositionConvertToRectRange'](_0x53e9b3,_0x14776e),{pointGroup:_0x4385f2}=(_0xdfb211=_0x17bd11[_0x1a9410(0x3f6)](_0x15d1bb,_0x8cfb23))!=null?_0xdfb211:{};if(_0x4385f2==null||_0x4385f2[_0x1a9410(0x37d)]===0x0)continue;this[_0x1a9410(0x27a)](_0x4f3e79,_0x4385f2,_0x57e4f2,_0x4b513c);}else{if(!_0x1605a6){const {borderBoxPointGroup:_0x4821c2}=_0x498159['getRangePointData'](_0x15d1bb,_0x8cfb23);if(_0x4821c2[_0x1a9410(0x37d)]===0x0)continue;this[_0x1a9410(0x32b)](_0x4f3e79,_0x4821c2,_0x57e4f2,_0x4b513c);}}}}}[_0x50570e(0x3af)](_0x1d2d06,_0x4fda38,_0x3d177e,_0x3d20c9,_0x527ea2){const _0x51dd74=_0x50570e,_0x487dc2=this[_0x51dd74(0x3e5)](_0x4fda38),{left:_0x1180a7,top:_0x457ff0,height:_0x1abd41}=_0x487dc2,_0x47fec6=this[_0x51dd74(0x1ee)](),_0x90786=_0x558029/_0x47fec6,_0x1c8a9c=new _0x18f11f[(_0x51dd74(0x239))](_0x1c3fd5+_0x59adf4[_0x51dd74(0x39a)][_0x51dd74(0x3b0)](_0x2ea6d3),{'left':_0x1180a7+_0x3d177e-_0x90786,'top':_0x457ff0+_0x3d20c9,'height':_0x1abd41,'width':_0x30e64d,'fill':_0x1d2d06||_0x18f11f['getColor'](_0x59adf4[_0x51dd74(0x1bf)]['black'],0x0),'strokeWidth':_0x90786,'stroke':_0x3991dc,'evented':!0x0});this[_0x51dd74(0x23d)]=_0x1c8a9c,this[_0x51dd74(0x321)][_0x51dd74(0x362)](_0x1c8a9c,_0x57e1c6[_0x51dd74(0x3c4)]);const _0x385b41=new _0x18f11f[(_0x51dd74(0x239))](_0x1c3fd5+_0x59adf4[_0x51dd74(0x39a)][_0x51dd74(0x3b0)](_0x2ea6d3),{'left':_0x1180a7+_0x3d177e-_0x90786,'top':_0x457ff0+_0x3d20c9-_0x34941c/0x2,'height':_0x34941c,'width':_0x34941c,'fill':_0x1d2d06||_0x18f11f[_0x51dd74(0x391)](_0x59adf4[_0x51dd74(0x1bf)][_0x51dd74(0x2ba)],0x0),'strokeWidth':0x0,'stroke':_0x1d2d06||_0x18f11f[_0x51dd74(0x391)](_0x59adf4[_0x51dd74(0x1bf)][_0x51dd74(0x2ba)],0x0),'evented':!0x1});this[_0x51dd74(0x297)]=_0x385b41,this[_0x51dd74(0x321)]['addObject'](_0x385b41,_0x57e1c6[_0x51dd74(0x3c4)]);const _0x7bedc2=new _0x20767a(_0x1c3fd5+_0x59adf4['Tools'][_0x51dd74(0x3b0)](_0x2ea6d3),{'left':_0x1180a7+_0x3d177e-_0x90786,'top':_0x457ff0+_0x3d20c9-_0x4231fb,'text':_0x527ea2,'color':_0x1d2d06});this['_textBubble']=_0x7bedc2,this[_0x51dd74(0x321)]['addObject'](_0x7bedc2,_0x57e1c6[_0x51dd74(0x3c4)]),this['_hover']=!0x1;}['_handleHover'](){const _0x44a545=_0x50570e,_0x373cb1=this['_anchor'][_0x44a545(0x3a7)][_0x44a545(0x2eb)](()=>{const _0x5d0eae=_0x44a545;this[_0x5d0eae(0x394)]=!0x0;}),_0x1b309f=this[_0x44a545(0x23d)][_0x44a545(0x360)]['subscribeEvent'](()=>{const _0x2d3df6=_0x44a545;this[_0x2d3df6(0x39d)]&&clearTimeout(this[_0x2d3df6(0x39d)]),this[_0x2d3df6(0x39d)]=setTimeout(()=>{const _0x412111=_0x2d3df6;this[_0x412111(0x394)]=!0x1;},0x7d0);});return()=>{const _0x256310=_0x44a545;_0x373cb1['unsubscribe'](),_0x1b309f[_0x256310(0x1d9)]();};}['_drawTextRange'](_0x5ce926,_0x7fbd57,_0x3f2afa,_0x1a6c9c){const _0x38454d=_0x50570e,_0x416b39=new _0x59adf4['ColorKit'](_0x5ce926)['setAlpha'](0.2)['toRgbString'](),_0x52919b=new _0x18f11f[(_0x38454d(0x202))](_0x1c9abf+_0x59adf4[_0x38454d(0x39a)][_0x38454d(0x3b0)](_0x2ea6d3),{'pointsGroup':_0x7fbd57,'fill':_0x416b39||_0x18f11f[_0x38454d(0x391)](_0x59adf4[_0x38454d(0x1bf)][_0x38454d(0x2ba)],0.2),'left':_0x3f2afa,'top':_0x1a6c9c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x38454d(0x3c2)][_0x38454d(0x34c)](_0x52919b),this['_scene']['addObject'](_0x52919b,_0x57e1c6[_0x38454d(0x3c4)]);}['_drawRectRange'](_0x500e71,_0x29a0bb,_0x2064db,_0x36e4a4){const _0x35921c=_0x50570e,_0x4b9c2f=new _0x59adf4[(_0x35921c(0x422))](_0x500e71)[_0x35921c(0x381)](0.2)[_0x35921c(0x431)](),_0x3e4012=new _0x18f11f[(_0x35921c(0x202))](_0x5ea601+_0x59adf4['Tools']['generateRandomId'](_0x2ea6d3),{'pointsGroup':_0x29a0bb,'fill':_0x4b9c2f||_0x18f11f['getColor'](_0x59adf4[_0x35921c(0x1bf)][_0x35921c(0x2ba)],0.2),'left':_0x2064db,'top':_0x36e4a4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x35921c(0x3c2)][_0x35921c(0x34c)](_0x3e4012),this[_0x35921c(0x321)][_0x35921c(0x362)](_0x3e4012,_0x57e1c6[_0x35921c(0x3c4)]);}['_getAnchorBounding'](_0xe8149b){const _0x5ed563=_0xe8149b[0x0],_0x1162f8=_0x5ed563[0x0],_0x43fa84=_0x5ed563[0x2],{x:_0x1ed3f8,y:_0x14a0b5}=_0x1162f8,{x:_0x1e2f13,y:_0x183984}=_0x43fa84;return{'left':_0x1ed3f8,'top':_0x14a0b5,'width':_0x1e2f13-_0x1ed3f8,'height':_0x183984-_0x14a0b5};}['_getScale'](){const _0x5a86ad=_0x50570e,{scaleX:_0x66467a,scaleY:_0xa0b002}=this[_0x5a86ad(0x321)][_0x5a86ad(0x368)]();return Math[_0x5a86ad(0x308)](_0x66467a,_0xa0b002);}}var _0x56d02b=Object[_0x50570e(0x2fa)],_0x47d2c5=(_0x276529,_0x32566a,_0x5acb07,_0x4f1caa)=>{for(var _0x3a5d04=_0x4f1caa>0x1?void 0x0:_0x4f1caa?_0x56d02b(_0x32566a,_0x5acb07):_0x32566a,_0x456f74=_0x276529['length']-0x1,_0x9798ab;_0x456f74>=0x0;_0x456f74--)(_0x9798ab=_0x276529[_0x456f74])&&(_0x3a5d04=_0x9798ab(_0x3a5d04)||_0x3a5d04);return _0x3a5d04;},_0x2c3c86=(_0x3c0a21,_0x7fc1d2)=>(_0x560bcf,_0x461bbb)=>_0x7fc1d2(_0x560bcf,_0x461bbb,_0x3c0a21);let _0x45c915=class extends _0x59adf4[_0x50570e(0x316)]{constructor(_0x559bed,_0x4a7439,_0x4ab265,_0x3d914f,_0x1fe770){const _0x4e1fb9=_0x50570e;super(),_0x42c1e1(this,'_cursorShapes',[]),_0x42c1e1(this,_0x4e1fb9(0x258),[]),(this[_0x4e1fb9(0x298)]=_0x559bed,this[_0x4e1fb9(0x248)]=_0x4a7439,this[_0x4e1fb9(0x30b)]=_0x4ab265,this['_commandService']=_0x3d914f,this[_0x4e1fb9(0x3cc)]=_0x1fe770,this[_0x4e1fb9(0x359)]());}['_init'](){const _0x24fd44=_0x50570e,_0x11bc87=this['_context'][_0x24fd44(0x44c)],_0x271a43=this[_0x24fd44(0x248)];this['disposeWithMe'](_0x23d3ed[_0x24fd44(0x36f)]([this[_0x24fd44(0x30b)][_0x24fd44(0x440)](_0x11bc87),this['_themeService'][_0x24fd44(0x299)]])[_0x24fd44(0x41f)](_0xbdafbc[_0x24fd44(0x1de)](([_0x3e20ae,_0xc62d5e])=>({'skeleton':_0x271a43[_0x24fd44(0x315)](),'cursors':[..._0x3e20ae[_0x24fd44(0x243)]()][_0x24fd44(0x231)](_0xa4aea9=>({..._0xa4aea9,'color':this['_themeService']['getColorFromTheme'](_0xa4aea9[_0x24fd44(0x2ad)])}))})))[_0x24fd44(0x227)](_0x1d177a=>{const _0x989d2f=_0x24fd44;if(this['_removeCollabCursors'](),_0x1d177a){const {skeleton:_0x41dc8f,cursors:_0x1e686d}=_0x1d177a;this[_0x989d2f(0x343)](_0x41dc8f,_0x1e686d);}})),this[_0x24fd44(0x22d)](),this['_initCommandExecutedListener']();}[_0x50570e(0x343)](_0x408cee,_0xd55e69){const _0x3c9b18=_0x50570e,{scene:_0x187aa7,mainComponent:_0x5698c2}=this[_0x3c9b18(0x298)],_0x2aca21=_0xd55e69['map'](_0x3fa202=>new _0x176d1e(_0x3fa202,_0x187aa7,_0x408cee,_0x5698c2));this['_cursorShapes']=_0x2aca21,this['_cursors']=_0xd55e69;}[_0x50570e(0x388)](){const _0x47dba1=_0x50570e;this[_0x47dba1(0x2b6)]();const {scene:_0x2ac3de,mainComponent:_0xc3bf62}=this[_0x47dba1(0x298)],_0x5eb0f7=this[_0x47dba1(0x248)][_0x47dba1(0x315)](),_0x41e63b=this[_0x47dba1(0x258)][_0x47dba1(0x1de)](_0x293ab5=>new _0x176d1e(_0x293ab5,_0x2ac3de,_0x5eb0f7,_0xc3bf62));this[_0x47dba1(0x3f0)]=_0x41e63b;}[_0x50570e(0x2b6)](){const _0x42cac4=_0x50570e;this[_0x42cac4(0x3f0)][_0x42cac4(0x201)](_0x46b4e0=>_0x46b4e0[_0x42cac4(0x392)]()),this[_0x42cac4(0x3f0)]=[];}[_0x50570e(0x3be)](){const _0x21e7eb=_0x50570e,_0x280e4e=[_0x57e1c6[_0x21e7eb(0x3ce)]['id']];this[_0x21e7eb(0x1c0)](this[_0x21e7eb(0x2d4)]['onCommandExecuted'](_0x3a4803=>{const _0x1dc7f6=_0x21e7eb;_0x280e4e[_0x1dc7f6(0x205)](_0x3a4803['id'])&&_0x3a4803[_0x1dc7f6(0x302)]['unitId']===this[_0x1dc7f6(0x298)][_0x1dc7f6(0x44c)]&&this[_0x1dc7f6(0x388)]();}));}['_initResize'](){const _0x37545c=_0x50570e;this[_0x37545c(0x1c0)](_0x59adf4[_0x37545c(0x380)](this[_0x37545c(0x298)][_0x37545c(0x1d6)][_0x37545c(0x33e)])['pipe'](_0xbdafbc[_0x37545c(0x35e)](_0x1de832=>_0x1de832[_0x37545c(0x2ec)]===_0x18f11f[_0x37545c(0x323)][_0x37545c(0x396)]),_0xbdafbc[_0x37545c(0x2a6)](0x10))['subscribe'](()=>{const _0x200d69=_0x37545c;this[_0x200d69(0x388)]();}));}};_0x45c915=_0x47d2c5([_0x2c3c86(0x1,_0x59adf4[_0x50570e(0x3b2)](_0x4c95c4['DocSkeletonManagerService'])),_0x2c3c86(0x2,_0x59adf4['Inject'](_0x1da02f)),_0x2c3c86(0x3,_0x59adf4[_0x50570e(0x200)]),_0x2c3c86(0x4,_0x59adf4[_0x50570e(0x3b2)](_0x59adf4[_0x50570e(0x43a)]))],_0x45c915);const _0x35da29=0x1,_0x5a1ead=1.5;class _0x169269 extends _0x18f11f[_0x50570e(0x2bc)]{constructor(_0x20592a,_0x3b38f2){const _0x231635=_0x50570e;super(_0x20592a,_0x3b38f2),_0x42c1e1(this,_0x231635(0x1cf)),_0x42c1e1(this,_0x231635(0x3a9),!0x1),_0x42c1e1(this,_0x231635(0x2ff)),_0x42c1e1(this,'_name',''),_0x42c1e1(this,'_labelPosition',_0x231635(0x353)),_0x42c1e1(this,_0x231635(0x2df)),(_0x3b38f2&&this[_0x231635(0x444)](_0x3b38f2),this[_0x231635(0x3a7)][_0x231635(0x2eb)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x231635(0x360)][_0x231635(0x2eb)](()=>this[_0x231635(0x444)]({'hovered':!0x1})));}[_0x50570e(0x444)](_0x6b6f75){const _0x21836b=_0x50570e;var _0x7787b5,_0x4c0691,_0x258dd8,_0x12fbd1,_0x24f054,_0x2328cc;this[_0x21836b(0x1cf)]=(_0x7787b5=_0x6b6f75[_0x21836b(0x2ad)])!=null?_0x7787b5:this[_0x21836b(0x1cf)],this[_0x21836b(0x3a9)]=(_0x4c0691=_0x6b6f75['hovered'])!=null?_0x4c0691:this[_0x21836b(0x3a9)],this[_0x21836b(0x2ff)]=(_0x258dd8=_0x6b6f75[_0x21836b(0x309)])!=null?_0x258dd8:this['_range'],this[_0x21836b(0x2d3)]=(_0x12fbd1=_0x6b6f75[_0x21836b(0x3d0)])!=null?_0x12fbd1:this[_0x21836b(0x2d3)],this['_labelPosition']=(_0x24f054=_0x6b6f75['labelPosition'])!=null?_0x24f054:this['_labelPosition'],this[_0x21836b(0x2df)]=(_0x2328cc=_0x6b6f75['backgroundColor'])!=null?_0x2328cc:this[_0x21836b(0x2df)],this['transformByState']({'width':_0x6b6f75[_0x21836b(0x22c)],'height':_0x6b6f75[_0x21836b(0x436)]});}['onMouseMove'](_0x3f450b){const _0x403826=_0x50570e,{row:_0x28991a,column:_0x53938a}=_0x3f450b;if(_0x28991a>=this[_0x403826(0x2ff)][_0x403826(0x320)]&&_0x28991a<=this['_range'][_0x403826(0x274)]&&_0x53938a>=this[_0x403826(0x2ff)][_0x403826(0x335)]&&_0x53938a<=this['_range']['endColumn']){this[_0x403826(0x444)]({'hovered':!0x0});return;}this[_0x403826(0x444)]({'hovered':!0x1});}[_0x50570e(0x3bb)](_0x486618){return!0x1;}['_draw'](_0x5c89c8){const _0x3efd5b=_0x50570e;_0x18f11f['Rect'][_0x3efd5b(0x37a)](_0x5c89c8,{'width':this[_0x3efd5b(0x22c)],'height':this[_0x3efd5b(0x436)],'strokeWidth':_0x5a1ead,'stroke':this[_0x3efd5b(0x1cf)],'evented':!0x1,'fill':this[_0x3efd5b(0x2df)]}),this['_hovered']&&(_0x5c89c8['save'](),_0x5c89c8[_0x3efd5b(0x2a5)](0x1,0x0,0x0,0x1,this[_0x3efd5b(0x22c)],this[_0x3efd5b(0x26e)]==='bottom'?0x0:-0x14),_0x20767a[_0x3efd5b(0x37a)](_0x5c89c8,{'text':this[_0x3efd5b(0x2d3)],'color':this[_0x3efd5b(0x1cf)]}),_0x5c89c8[_0x3efd5b(0x21e)]());}}var _0x443f54=Object[_0x50570e(0x2fa)],_0x743374=(_0x1b1920,_0x54e40a,_0x308165,_0x113f62)=>{const _0x4c746b=_0x50570e;for(var _0x21cd8f=_0x113f62>0x1?void 0x0:_0x113f62?_0x443f54(_0x54e40a,_0x308165):_0x54e40a,_0x23eac2=_0x1b1920[_0x4c746b(0x37d)]-0x1,_0x4ece3d;_0x23eac2>=0x0;_0x23eac2--)(_0x4ece3d=_0x1b1920[_0x23eac2])&&(_0x21cd8f=_0x4ece3d(_0x21cd8f)||_0x21cd8f);return _0x21cd8f;},_0x1ae1f7=(_0x3983b5,_0x479f72)=>(_0x3acb64,_0x2e6af3)=>_0x479f72(_0x3acb64,_0x2e6af3,_0x3983b5);const _0x245bee=0x1389;let _0x23dcf3=class extends _0x59adf4[_0x50570e(0x316)]{constructor(_0x5d8bef,_0x2cc8e9,_0x3546d6,_0x3c27df){const _0x3d122e=_0x50570e;super(),_0x42c1e1(this,'_cursors',new Set()),_0x42c1e1(this,_0x3d122e(0x211),null),(this['_context']=_0x5d8bef,this[_0x3d122e(0x28c)]=_0x2cc8e9,this[_0x3d122e(0x30b)]=_0x3546d6,this[_0x3d122e(0x3cc)]=_0x3c27df,this[_0x3d122e(0x359)]());}[_0x50570e(0x359)](){const _0x364a44=_0x50570e;this['_sheetSkeletonManagerService'][_0x364a44(0x275)]['pipe'](_0xbdafbc[_0x364a44(0x2c7)](this[_0x364a44(0x3f4)]),_0xbdafbc[_0x364a44(0x3ed)](_0x580932=>{const _0x493ae0=_0x364a44;if(_0x580932){const _0x4ff668=_0x580932[_0x493ae0(0x402)];return _0x23d3ed[_0x493ae0(0x36f)](this[_0x493ae0(0x30b)]['getCollabCursors$'](this[_0x493ae0(0x298)]['unitId']),this[_0x493ae0(0x3cc)][_0x493ae0(0x299)])['pipe'](_0xbdafbc[_0x493ae0(0x1de)](([_0x527402,_0x44b1de])=>{const _0x2a214f=new Map();return _0x527402['forEach']((_0x1df8bc,_0x5645bd)=>{const _0x3b0346=_0x4b9e;if(_0x1df8bc[_0x3b0346(0x22e)]===_0x4ff668){const _0x26c18e={..._0x1df8bc};_0x26c18e['color']=this[_0x3b0346(0x3cc)][_0x3b0346(0x338)](_0x1df8bc[_0x3b0346(0x2ad)]),_0x2a214f['set'](_0x5645bd,_0x26c18e);}}),{'skeleton':_0x580932,'cursors':_0x2a214f};}));}return _0x23d3ed['of']({'skeleton':null,'cursors':new Map()});}))[_0x364a44(0x227)](({skeleton:_0xeaae0f,cursors:_0x3d35f1})=>{const _0x34f54e=_0x364a44;this[_0x34f54e(0x2b6)](),_0xeaae0f&&this['_updateCollabCursors'](_0xeaae0f,_0x3d35f1);}),this['_sheetSkeletonManagerService'][_0x364a44(0x275)][_0x364a44(0x227)](_0x21f150=>{const _0x2c5c6a=_0x364a44;if(_0x21f150==null)return;const {skeleton:_0x598563}=_0x21f150,{scene:_0x28d92e}=this['_context'];_0x28d92e[_0x2c5c6a(0x451)][_0x2c5c6a(0x2eb)](_0x59adf4[_0x2c5c6a(0x2e5)](_0x5819f6=>{const _0x21828f=_0x2c5c6a;var _0x4a2818,_0xf329d9;const {offsetX:_0x2eef09,offsetY:_0x4521a7}=_0x5819f6,{x:_0x4b346e,y:_0x47e996}=_0x28d92e[_0x21828f(0x2ae)](_0x18f11f['Vector2'][_0x21828f(0x3e0)]([_0x2eef09,_0x4521a7])),{scaleX:_0x5360f7,scaleY:_0x44237c}=_0x28d92e[_0x21828f(0x368)](),_0x2786dc=_0x28d92e[_0x21828f(0x31a)](_0x18f11f[_0x21828f(0x3bf)][_0x21828f(0x246)]),_0x30e19d=_0x28d92e[_0x21828f(0x2c5)](_0x18f11f[_0x21828f(0x341)][_0x21828f(0x3e0)]([_0x4b346e,_0x47e996]),_0x2786dc),_0x58fb74=_0x598563[_0x21828f(0x24a)](_0x2eef09,_0x4521a7,_0x5360f7,_0x44237c,_0x30e19d);((_0x4a2818=this[_0x21828f(0x211)])==null?void 0x0:_0x4a2818['column'])===_0x58fb74[_0x21828f(0x346)]&&((_0xf329d9=this['_lastPointer'])==null?void 0x0:_0xf329d9[_0x21828f(0x447)])===_0x58fb74[_0x21828f(0x447)]||this[_0x21828f(0x258)][_0x21828f(0x201)](_0x1319e8=>{const _0x514cfa=_0x21828f;_0x1319e8[_0x514cfa(0x361)](_0x58fb74);});},0x64));});}[_0x50570e(0x343)](_0x65c07e,_0x459851){const _0x1b605b=_0x50570e;var _0x3e12c0;const _0x5bca6e=(_0x3e12c0=this[_0x1b605b(0x28c)][_0x1b605b(0x326)]())==null?void 0x0:_0x3e12c0[_0x1b605b(0x3c9)];if(!_0x5bca6e)return;const _0x5d91dd=this['_getSheetObject']();if(!_0x5d91dd)return;this[_0x1b605b(0x258)][_0x1b605b(0x201)](_0x519097=>{const _0x1a1931=_0x1b605b;_0x519097[_0x1a1931(0x2c9)]();});const {scene:_0x7308c8}=_0x5d91dd,_0x52e6c6=_0x5c1984(Array[_0x1b605b(0x257)](_0x459851['values']()))[_0x1b605b(0x1de)](_0x5ae938=>{const _0x27019c=_0x1b605b,{color:_0x3e6663,range:_0x51ca81,name:_0x4d51de,selection:_0x424c30,sheetID:_0x5ed5ea}=_0x5ae938,{startColumn:_0x374d49,startRow:_0x3a98ca,endColumn:_0x5a28b4,endRow:_0x56ecb5}=_0x51ca81,_0xb22b11=_0x3a2c75[_0x27019c(0x219)](_0x3a98ca,_0x374d49,_0x7308c8,_0x5bca6e),_0x4760e6=_0x3a2c75[_0x27019c(0x219)](_0x56ecb5,_0x5a28b4,_0x7308c8,_0x5bca6e),{columnHeaderHeightAndMarginTop:_0x3036a9}=_0x5bca6e,{startX:_0x1663fd,startY:_0x5e2ae4}=_0xb22b11,{endX:_0x28a3cc,endY:_0x1840b7}=_0x4760e6,_0x276fb5=_0x28a3cc-_0x1663fd,_0x2947c5=_0x1840b7-_0x5e2ae4,_0x52c661={'labelPosition':_0x5e2ae4-_0x3036a9>=_0x4231fb?_0x27019c(0x353):_0x27019c(0x1e7),'sheetID':_0x5ed5ea,'range':_0x51ca81,'color':_0x3e6663,'name':_0x4d51de,'selection':_0x424c30,'left':_0x1663fd,'top':_0x5e2ae4,'width':_0x276fb5,'height':_0x2947c5,'evented':!0x1,'zIndex':_0x245bee};return new _0x169269(_0x4d51de,_0x52c661);});_0x7308c8['addObjects'](_0x52e6c6,_0x35da29),this[_0x1b605b(0x258)]=new Set(_0x52e6c6);}['_removeCollabCursors'](){const _0x519490=_0x50570e;var _0x380c67;(_0x380c67=this[_0x519490(0x258)])==null||_0x380c67[_0x519490(0x201)](_0x5579fb=>_0x5579fb[_0x519490(0x392)]());}[_0x50570e(0x260)](){const _0x2e47aa=_0x50570e;return _0x3a2c75[_0x2e47aa(0x26b)](this['_context'][_0x2e47aa(0x42e)],this[_0x2e47aa(0x298)]);}};_0x23dcf3=_0x743374([_0x1ae1f7(0x1,_0x59adf4[_0x50570e(0x3b2)](_0x3a2c75[_0x50570e(0x2ca)])),_0x1ae1f7(0x2,_0x59adf4['Inject'](_0x1da02f)),_0x1ae1f7(0x3,_0x59adf4[_0x50570e(0x3b2)](_0x59adf4['ThemeService']))],_0x23dcf3);function _0x5c1984(_0x4c4fd8){const _0xef3d61=_0x50570e,_0x5aa85c=new Map();return _0x4c4fd8['forEach'](_0x562f59=>{const _0x563f63=_0x4b9e;if(_0x5aa85c['has'](_0x562f59[_0x563f63(0x1e9)])){const _0x49b6ba=_0x5aa85c[_0x563f63(0x1d4)](_0x562f59[_0x563f63(0x1e9)]);_0x49b6ba['name']+=',\x20'+_0x562f59[_0x563f63(0x3d0)];}else _0x5aa85c[_0x563f63(0x332)](_0x562f59[_0x563f63(0x1e9)],_0x562f59);}),Array[_0xef3d61(0x257)](_0x5aa85c[_0xef3d61(0x243)]());}var _0x3c5e1e=function(){const _0x7b26f3=_0x50570e;return _0x3c5e1e=Object['assign']||function(_0x31a878){const _0x23a13e=_0x4b9e;for(var _0x147d94,_0x4ecb30=0x1,_0x35b8db=arguments[_0x23a13e(0x37d)];_0x4ecb30<_0x35b8db;_0x4ecb30++){_0x147d94=arguments[_0x4ecb30];for(var _0x375f1c in _0x147d94)Object[_0x23a13e(0x36e)]['hasOwnProperty'][_0x23a13e(0x259)](_0x147d94,_0x375f1c)&&(_0x31a878[_0x375f1c]=_0x147d94[_0x375f1c]);}return _0x31a878;},_0x3c5e1e[_0x7b26f3(0x3f9)](this,arguments);},_0x1095d6=function(_0x3b69a8,_0x21396a){const _0xddb91f=_0x50570e;var _0x501346={};for(var _0x14a30c in _0x3b69a8)Object[_0xddb91f(0x36e)][_0xddb91f(0x23a)]['call'](_0x3b69a8,_0x14a30c)&&_0x21396a[_0xddb91f(0x3e6)](_0x14a30c)<0x0&&(_0x501346[_0x14a30c]=_0x3b69a8[_0x14a30c]);if(_0x3b69a8!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x136652=0x0,_0x14a30c=Object[_0xddb91f(0x247)](_0x3b69a8);_0x136652<_0x14a30c[_0xddb91f(0x37d)];_0x136652++)_0x21396a['indexOf'](_0x14a30c[_0x136652])<0x0&&Object[_0xddb91f(0x36e)][_0xddb91f(0x2dc)]['call'](_0x3b69a8,_0x14a30c[_0x136652])&&(_0x501346[_0x14a30c[_0x136652]]=_0x3b69a8[_0x14a30c[_0x136652]]);}return _0x501346;},_0x410573=_0x288b13[_0x50570e(0x356)](function(_0x1810a7,_0x409e8b){const _0x56889d=_0x50570e;var _0x4ff72e=_0x1810a7['icon'],_0x14b318=_0x1810a7['id'],_0x1069ac=_0x1810a7[_0x56889d(0x2e7)],_0x670699=_0x1810a7[_0x56889d(0x441)],_0x2f303d=_0x1095d6(_0x1810a7,[_0x56889d(0x305),'id','className','extend']),_0x261ae5=_0x56889d(0x416)['concat'](_0x14b318,'\x20')[_0x56889d(0x421)](_0x1069ac||'')['trim'](),_0x425433=_0x288b13[_0x56889d(0x405)]('_'[_0x56889d(0x421)](_0x54a905()));return _0x58f7d6(_0x4ff72e,''['concat'](_0x14b318),{'defIds':_0x4ff72e[_0x56889d(0x29a)],'idSuffix':_0x425433[_0x56889d(0x234)]},_0x3c5e1e({'ref':_0x409e8b,'className':_0x261ae5},_0x2f303d),_0x670699);});function _0x58f7d6(_0x5c9af9,_0x539bb1,_0x5385a6,_0x3d021a,_0x329639){const _0x2acd97=_0x50570e;return _0x288b13[_0x2acd97(0x2a1)](_0x5c9af9[_0x2acd97(0x378)],_0x3c5e1e(_0x3c5e1e({'key':_0x539bb1},_0x48b7df(_0x5c9af9,_0x5385a6,_0x329639)),_0x3d021a),(_0x12095b(_0x5c9af9,_0x5385a6)[_0x2acd97(0x221)]||[])['map'](function(_0x47d17b,_0x9913d8){const _0x53820a=_0x2acd97;return _0x58f7d6(_0x47d17b,''[_0x53820a(0x421)](_0x539bb1,'-')['concat'](_0x5c9af9[_0x53820a(0x378)],'-')[_0x53820a(0x421)](_0x9913d8),_0x5385a6,void 0x0,_0x329639);}));}function _0x48b7df(_0x15c569,_0x336dd2,_0x407e81){const _0x1acbb5=_0x50570e;var _0x473027=_0x3c5e1e({},_0x15c569[_0x1acbb5(0x33b)]);_0x407e81!=null&&_0x407e81[_0x1acbb5(0x44f)]&&_0x473027[_0x1acbb5(0x3d4)]===_0x1acbb5(0x44f)&&(_0x473027[_0x1acbb5(0x3d4)]=_0x407e81[_0x1acbb5(0x44f)]),_0x15c569[_0x1acbb5(0x378)]==='mask'&&_0x473027['id']&&(_0x473027['id']=_0x473027['id']+_0x336dd2[_0x1acbb5(0x210)]),Object[_0x1acbb5(0x35a)](_0x473027)[_0x1acbb5(0x201)](function(_0x21240e){const _0x504948=_0x1acbb5;var _0x1fc79d=_0x21240e[0x0],_0xc488fc=_0x21240e[0x1];_0x1fc79d===_0x504948(0x27f)&&typeof _0xc488fc==_0x504948(0x29d)&&(_0x473027[_0x1fc79d]=_0xc488fc[_0x504948(0x21d)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x336dd2[_0x504948(0x210)],')')));});var _0x36b266=_0x336dd2[_0x1acbb5(0x29a)];return!_0x36b266||_0x36b266['length']===0x0||(_0x15c569[_0x1acbb5(0x378)]===_0x1acbb5(0x3ac)&&_0x473027[_0x1acbb5(0x429)]&&(_0x473027[_0x1acbb5(0x429)]=_0x473027[_0x1acbb5(0x429)]+_0x336dd2[_0x1acbb5(0x210)]),Object[_0x1acbb5(0x35a)](_0x473027)[_0x1acbb5(0x201)](function(_0x5ecc3f){const _0x27a7ea=_0x1acbb5;var _0x464be3=_0x5ecc3f[0x0],_0x2797fc=_0x5ecc3f[0x1];typeof _0x2797fc=='string'&&(_0x473027[_0x464be3]=_0x2797fc[_0x27a7ea(0x21d)](/url\(#(.*)\)/,_0x27a7ea(0x251)[_0x27a7ea(0x421)](_0x336dd2['idSuffix'],')')));})),_0x473027;}function _0x12095b(_0x217567,_0x35f185){const _0xcfc451=_0x50570e;var _0x5ab600,_0x4d7357=_0x35f185[_0xcfc451(0x29a)];return!_0x4d7357||_0x4d7357['length']===0x0?_0x217567:_0x217567['tag']==='defs'&&(!((_0x5ab600=_0x217567['children'])===null||_0x5ab600===void 0x0)&&_0x5ab600[_0xcfc451(0x37d)])?_0x3c5e1e(_0x3c5e1e({},_0x217567),{'children':_0x217567[_0xcfc451(0x221)]['map'](function(_0x290e2a){const _0x18a80b=_0xcfc451;return typeof _0x290e2a[_0x18a80b(0x33b)]['id']==_0x18a80b(0x29d)&&_0x4d7357&&_0x4d7357[_0x18a80b(0x205)](_0x290e2a[_0x18a80b(0x33b)]['id'])?_0x3c5e1e(_0x3c5e1e({},_0x290e2a),{'attrs':_0x3c5e1e(_0x3c5e1e({},_0x290e2a[_0x18a80b(0x33b)]),{'id':_0x290e2a['attrs']['id']+_0x35f185['idSuffix']})}):_0x290e2a;})}):_0x217567;}function _0x54a905(){const _0xfefdb9=_0x50570e;return Math[_0xfefdb9(0x2a9)]()[_0xfefdb9(0x1f4)](0x24)[_0xfefdb9(0x39b)](0x2,0x8);}_0x410573[_0x50570e(0x336)]=_0x50570e(0x25b);var _0x2efb02={'tag':_0x50570e(0x3d1),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x50570e(0x2ab),'viewBox':_0x50570e(0x414),'width':_0x50570e(0x445),'height':_0x50570e(0x445)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x50570e(0x3a8),'attrs':{'stroke':_0x50570e(0x317),'d':_0x50570e(0x41a),'strokeLinecap':_0x50570e(0x2fb),'strokeLinejoin':_0x50570e(0x2fb),'strokeWidth':1.2}}]},{'tag':_0x50570e(0x2c4),'attrs':{},'children':[{'tag':_0x50570e(0x3e8),'attrs':{'id':_0x50570e(0x215)},'children':[{'tag':_0x50570e(0x3a8),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x50570e(0x215)]},_0x283e38=_0x288b13[_0x50570e(0x356)](function(_0x10655e,_0x25bf9e){const _0x3c0cfe=_0x50570e;return _0x288b13[_0x3c0cfe(0x2a1)](_0x410573,Object[_0x3c0cfe(0x3d7)]({},_0x10655e,{'id':'off-line-icon','ref':_0x25bf9e,'icon':_0x2efb02}));});_0x283e38[_0x50570e(0x336)]=_0x50570e(0x21f);var _0x128c65={'tag':_0x50570e(0x3d1),'attrs':{'xmlns':_0x50570e(0x1ba),'fill':_0x50570e(0x2ab),'viewBox':_0x50570e(0x1da),'width':_0x50570e(0x445),'height':_0x50570e(0x445)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x50570e(0x3a8),'attrs':{'stroke':_0x50570e(0x317),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x50570e(0x2c4),'attrs':{},'children':[{'tag':_0x50570e(0x3e8),'attrs':{'id':_0x50570e(0x291)},'children':[{'tag':'path','attrs':{'fill':_0x50570e(0x281),'d':_0x50570e(0x43f),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x10656e=_0x288b13[_0x50570e(0x356)](function(_0x285bfd,_0x8d596b){const _0xa3c630=_0x50570e;return _0x288b13[_0xa3c630(0x2a1)](_0x410573,Object[_0xa3c630(0x3d7)]({},_0x285bfd,{'id':_0xa3c630(0x1d2),'ref':_0x8d596b,'icon':_0x128c65}));});_0x10656e['displayName']=_0x50570e(0x3f7);function _0x14d567(_0x408981){const _0x1f13f8=_0x50570e;switch(_0x408981){case _0x260a16[_0x1f13f8(0x34b)]['OFFLINE']:return _0x1f13f8(0x400);case _0x260a16['CollaborationStatus'][_0x1f13f8(0x22f)]:return _0x1f13f8(0x3ea);case _0x260a16['CollaborationStatus'][_0x1f13f8(0x1db)]:return _0x1f13f8(0x32a);case _0x260a16['CollaborationStatus'][_0x1f13f8(0x349)]:return _0x1f13f8(0x240);case _0x260a16[_0x1f13f8(0x34b)][_0x1f13f8(0x439)]:case _0x260a16[_0x1f13f8(0x34b)][_0x1f13f8(0x1f2)]:return _0x1f13f8(0x34d);case _0x260a16['CollaborationStatus'][_0x1f13f8(0x3eb)]:case _0x260a16['CollaborationStatus'][_0x1f13f8(0x28a)]:return _0x1f13f8(0x1f0);}}function _0x2a3c41(_0x29f2db){const _0xe40ff8=_0x50570e,{status$:_0x1b233e}=_0x29f2db,_0x455e98=_0x2ef7b5['useObservable'](_0x1b233e,_0x260a16['CollaborationStatus'][_0xe40ff8(0x349)]),_0x482b72=_0x2ef7b5[_0xe40ff8(0x1bd)](_0x59adf4[_0xe40ff8(0x446)]),_0x39d846=_0x2ef7b5[_0xe40ff8(0x1bd)](_0x260a16[_0xe40ff8(0x3fe)]),_0x10503d=_0x455e98!==_0x260a16[_0xe40ff8(0x34b)][_0xe40ff8(0x333)],_0x5e07ec=_0x482b72['t'](_0x14d567(_0x455e98)),_0x1311f=_0x10503d?_0x680642[_0xe40ff8(0x1fb)](_0x10656e,{}):_0x680642[_0xe40ff8(0x1fb)](_0x283e38,{}),_0x5cac4d=_0x288b13[_0xe40ff8(0x32c)](()=>{const _0x265c9b=_0xe40ff8;_0x10503d||_0x39d846[_0x265c9b(0x228)]();},[_0x10503d,_0x39d846]);function _0xdfefb8(){const _0x33b273=_0xe40ff8;return _0x680642['jsxs'](_0x33b273(0x3ec),{'className':_0x33b273(0x344),'onClick':_0x5cac4d,'children':[_0x680642['jsx'](_0x33b273(0x3ec),{'className':_0x4e8a35[_0x33b273(0x27d)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x10503d,'univer-text-red-500':!_0x10503d}),'children':_0x1311f}),_0x680642[_0x33b273(0x1fb)](_0x33b273(0x3ec),{'className':_0x33b273(0x347),'children':_0x5e07ec})]});}return _0x10503d?_0xdfefb8():_0x680642['jsx'](_0x4e8a35[_0xe40ff8(0x2d8)],{'title':_0x482b72['t'](_0xe40ff8(0x408)),'children':_0xdfefb8()});}var _0x162b55=Object['getOwnPropertyDescriptor'],_0x52ac5a=(_0xace1c3,_0x318900,_0x3efce5,_0x3e48ce)=>{const _0x15682c=_0x50570e;for(var _0x19c7ed=_0x3e48ce>0x1?void 0x0:_0x3e48ce?_0x162b55(_0x318900,_0x3efce5):_0x318900,_0x57bdcf=_0xace1c3[_0x15682c(0x37d)]-0x1,_0x5dbd51;_0x57bdcf>=0x0;_0x57bdcf--)(_0x5dbd51=_0xace1c3[_0x57bdcf])&&(_0x19c7ed=_0x5dbd51(_0x19c7ed)||_0x19c7ed);return _0x19c7ed;},_0x29c9a4=(_0x363f39,_0x1a6d3b)=>(_0x593fe5,_0x1be36e)=>_0x1a6d3b(_0x593fe5,_0x1be36e,_0x363f39);_0x43eb57[_0x50570e(0x266)]=class extends _0x59adf4[_0x50570e(0x1d7)]{constructor(_0x597149,_0x4d6926,_0x422721,_0x7c4698){const _0x28b1ac=_0x50570e;super(),_0x42c1e1(this,_0x28b1ac(0x40c),new _0x23d3ed[(_0x28b1ac(0x42d))](_0x260a16[_0x28b1ac(0x34b)][_0x28b1ac(0x349)])),(this['_univerInstanceService']=_0x597149,this[_0x28b1ac(0x232)]=_0x4d6926,this[_0x28b1ac(0x3a1)]=_0x422721,this['_uiPartsService']=_0x7c4698,this[_0x28b1ac(0x37c)](),this[_0x28b1ac(0x1dd)]());}[_0x50570e(0x1dd)](){const _0x4981ad=_0x50570e;this[_0x4981ad(0x1c0)](this[_0x4981ad(0x284)][_0x4981ad(0x397)]['pipe'](_0x23d3ed[_0x4981ad(0x3ed)](()=>{const _0x3e9264=_0x4981ad,_0x5e623e=this[_0x3e9264(0x284)][_0x3e9264(0x29c)]();return _0x5e623e?this['_collaborationController']['getCollabEntity$'](_0x5e623e[_0x3e9264(0x3ca)]()):_0x23d3ed['of'](null);}),_0x23d3ed[_0x4981ad(0x3ed)](_0x4bebc0=>_0x4bebc0?_0x4bebc0[_0x4981ad(0x2c3)]:_0x23d3ed['of'](_0x260a16[_0x4981ad(0x34b)][_0x4981ad(0x349)])))[_0x4981ad(0x227)](_0x4ec4ff=>{const _0x59334f=_0x4981ad;this[_0x59334f(0x40c)]['next'](_0x4ec4ff);}));}['_initStatusComponent'](){const _0xc63189=_0x50570e;this[_0xc63189(0x1c0)](this[_0xc63189(0x41c)][_0xc63189(0x42f)](_0x2ef7b5['BuiltInUIPart']['HEADER_MENU'],()=>_0x2ef7b5['connectInjector'](_0x35f384({'status$':this[_0xc63189(0x40c)]['asObservable']()}),this[_0xc63189(0x232)])));}},_0x43eb57[_0x50570e(0x266)]=_0x52ac5a([_0x29c9a4(0x0,_0x59adf4[_0x50570e(0x24b)]),_0x29c9a4(0x1,_0x59adf4[_0x50570e(0x3b2)](_0x59adf4[_0x50570e(0x364)])),_0x29c9a4(0x2,_0x59adf4[_0x50570e(0x3b2)](_0x260a16[_0x50570e(0x403)])),_0x29c9a4(0x3,_0x2ef7b5[_0x50570e(0x3df)])],_0x43eb57[_0x50570e(0x266)]);function _0x35f384(_0x597498){const {status$:_0x222407}=_0x597498;return function(){const _0x10b8fb=_0x4b9e;return _0x680642[_0x10b8fb(0x1fb)](_0x2a3c41,{'status$':_0x222407});};}var _0x540709=Object[_0x50570e(0x2fa)],_0x41136=(_0x33fbcc,_0x3fe7b0,_0x2cb985,_0x422ad7)=>{for(var _0x1fd5b0=_0x422ad7>0x1?void 0x0:_0x422ad7?_0x540709(_0x3fe7b0,_0x2cb985):_0x3fe7b0,_0x5ee60d=_0x33fbcc['length']-0x1,_0xb3878d;_0x5ee60d>=0x0;_0x5ee60d--)(_0xb3878d=_0x33fbcc[_0x5ee60d])&&(_0x1fd5b0=_0xb3878d(_0x1fd5b0)||_0x1fd5b0);return _0x1fd5b0;},_0x6f2a4b=(_0x27f8be,_0x115f55)=>(_0x6ee359,_0x2771ff)=>_0x115f55(_0x6ee359,_0x2771ff,_0x27f8be);let _0x1673b=class extends _0x59adf4[_0x50570e(0x1d7)]{constructor(_0x112769,_0x662c7,_0x33854c,_0x55c4fe,_0x533e01,_0xd30a7f){const _0x1ba650=_0x50570e;super(),this[_0x1ba650(0x423)]=_0x112769,this['_localCacheService']=_0x662c7,this[_0x1ba650(0x42b)]=_0x33854c,this['_messageService']=_0x55c4fe,this['_notificationService']=_0x533e01,this['_localeService']=_0xd30a7f,this[_0x1ba650(0x263)](),this['_initEvent']();}[_0x50570e(0x263)](){const _0x5a28fb=_0x50570e;this[_0x5a28fb(0x1c0)](this[_0x5a28fb(0x423)]['registerBeforeClose'](()=>{const _0x17e73f=_0x5a28fb;if(this['_localCacheService']['saveTaskMap']['size'])return this[_0x17e73f(0x3ee)]['t'](_0x17e73f(0x340));}));}[_0x50570e(0x420)](){const _0x427552=_0x50570e;this[_0x427552(0x1c0)](this['_collaborationUIEventService']['event$'][_0x427552(0x227)](_0x23fc2c=>{const _0x388be2=_0x427552;_0x23fc2c['id']===_0x260a16[_0x388be2(0x2d5)]['OTHER_CLIENT_EDITING']&&this[_0x388be2(0x3c8)][_0x388be2(0x25f)]({'type':_0x4e8a35[_0x388be2(0x2af)][_0x388be2(0x374)],'content':this[_0x388be2(0x3ee)]['t'](_0x388be2(0x36d))}),_0x23fc2c['id']===_0x260a16[_0x388be2(0x2d5)]['CLOSE_ROOM']&&this['_messageService'][_0x388be2(0x25f)]({'type':_0x4e8a35[_0x388be2(0x2af)]['Warning'],'content':this[_0x388be2(0x3ee)]['t'](_0x388be2(0x306))}),_0x23fc2c['id']===_0x260a16['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x388be2(0x432)][_0x388be2(0x25f)]({'title':this['_localeService']['t'](_0x388be2(0x3ba)),'content':this[_0x388be2(0x3ee)]['t']('permission.content'),'type':_0x388be2(0x41b),'duration':0x0}),_0x23fc2c['id']===_0x260a16[_0x388be2(0x2d5)]['CONFLICT']&&this[_0x388be2(0x3c8)][_0x388be2(0x25f)]({'type':_0x4e8a35['MessageType'][_0x388be2(0x1ed)],'content':this[_0x388be2(0x3ee)]['t'](_0x388be2(0x306))+'('+_0x23fc2c[_0x388be2(0x24d)]+')'}),_0x23fc2c['id']===_0x260a16['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this['_messageService'][_0x388be2(0x25f)]({'type':_0x4e8a35[_0x388be2(0x2af)][_0x388be2(0x374)],'content':this['_localeService']['t'](_0x23fc2c[_0x388be2(0x24d)]||'')}),_0x23fc2c['id']===_0x260a16[_0x388be2(0x2d5)][_0x388be2(0x29f)]&&this['_messageService'][_0x388be2(0x25f)]({'type':_0x4e8a35[_0x388be2(0x2af)][_0x388be2(0x374)],'content':this[_0x388be2(0x3ee)]['t'](_0x388be2(0x350))}),_0x23fc2c['id']===_0x260a16['CollaborationUIEventId'][_0x388be2(0x273)]&&this[_0x388be2(0x3c8)][_0x388be2(0x25f)]({'type':_0x4e8a35[_0x388be2(0x2af)][_0x388be2(0x1ed)],'content':this[_0x388be2(0x3ee)]['t'](_0x388be2(0x267))}),_0x23fc2c['id']===_0x260a16[_0x388be2(0x2d5)][_0x388be2(0x1d0)]&&this[_0x388be2(0x3c8)][_0x388be2(0x25f)]({'type':_0x4e8a35[_0x388be2(0x2af)][_0x388be2(0x1ed)],'content':this[_0x388be2(0x3ee)]['t']('session.collaboration-timeout')});}));}};_0x1673b=_0x41136([_0x6f2a4b(0x0,_0x2ef7b5[_0x50570e(0x1f7)]),_0x6f2a4b(0x1,_0x260a16[_0x50570e(0x2c8)]),_0x6f2a4b(0x2,_0x59adf4[_0x50570e(0x3b2)](_0x260a16[_0x50570e(0x2e4)])),_0x6f2a4b(0x3,_0x2ef7b5['IMessageService']),_0x6f2a4b(0x4,_0x2ef7b5[_0x50570e(0x3dd)]),_0x6f2a4b(0x5,_0x59adf4[_0x50570e(0x3b2)](_0x59adf4['LocaleService']))],_0x1673b);const _0x2a5ac7=_0x50570e(0x3cb),_0x4f7aee={},_0x5ded73=_0x59adf4[_0x50570e(0x1cc)](_0x50570e(0x3a4));var _0x40b5cf=Object[_0x50570e(0x2fa)],_0x159c15=(_0x26c9de,_0x233bcf,_0x322bf9,_0x38918a)=>{const _0x50adb1=_0x50570e;for(var _0x351db3=_0x38918a>0x1?void 0x0:_0x38918a?_0x40b5cf(_0x233bcf,_0x322bf9):_0x233bcf,_0x480a57=_0x26c9de[_0x50adb1(0x37d)]-0x1,_0x556b7e;_0x480a57>=0x0;_0x480a57--)(_0x556b7e=_0x26c9de[_0x480a57])&&(_0x351db3=_0x556b7e(_0x351db3)||_0x351db3);return _0x351db3;},_0x58eb8a=(_0x17c105,_0x30aae3)=>(_0x277449,_0x401de2)=>_0x30aae3(_0x277449,_0x401de2,_0x17c105);_0x43eb57[_0x50570e(0x265)]=class extends _0x59adf4[_0x50570e(0x316)]{constructor(_0xc2e53c,_0x58fcf1,_0x4e1190,_0x671ed7,_0x31e33b){const _0x87909a=_0x50570e;super(),this[_0x87909a(0x295)]=_0xc2e53c,this[_0x87909a(0x1c3)]=_0x58fcf1,this[_0x87909a(0x2d4)]=_0x4e1190,this[_0x87909a(0x288)]=_0x671ed7,_0x31e33b?_0x31e33b==null||_0x31e33b[_0x87909a(0x23c)]()[_0x87909a(0x383)](()=>this[_0x87909a(0x359)]()):(this[_0x87909a(0x1c3)]['debug'](_0x87909a(0x40f),_0x87909a(0x3da)),this[_0x87909a(0x359)]());}async[_0x50570e(0x359)](){const _0x4b988f=_0x50570e,_0x2c8595=this[_0x4b988f(0x295)]['getParam'](_0x4b988f(0x42e)),_0x107575=this[_0x4b988f(0x295)]['getParam']('type'),_0x4f8737=this[_0x4b988f(0x295)][_0x4b988f(0x27e)](_0x4b988f(0x3e1));if(!_0x2c8595||!_0x107575){this['_logService'][_0x4b988f(0x2e0)](_0x4b988f(0x40f),_0x4b988f(0x2d7));return;}const _0x34bdf1=await this['_dataLoaderService'][_0x4b988f(0x270)](_0x2c8595,Number(_0x107575),_0x4f8737);_0x34bdf1&&_0x34bdf1 instanceof _0x59adf4[_0x4b988f(0x1e8)]&&this['_setupSubUnitSync'](_0x34bdf1);}async['_setupSubUnitSync'](_0x38d45b){const _0x32fab4=_0x50570e;await this[_0x32fab4(0x401)](_0x38d45b),_0x38d45b[_0x32fab4(0x287)]['pipe'](_0x23d3ed[_0x32fab4(0x2c7)](this[_0x32fab4(0x3f4)]))[_0x32fab4(0x227)](_0x4efe64=>{const _0x1121a4=_0x32fab4;_0x4efe64&&this[_0x1121a4(0x2e8)](_0x4efe64);}),this['_urlService'][_0x32fab4(0x25d)][_0x32fab4(0x41f)](_0x23d3ed[_0x32fab4(0x2c7)](this['dispose$']))[_0x32fab4(0x227)](()=>this[_0x32fab4(0x401)](_0x38d45b));}[_0x50570e(0x2e8)](_0x5972f7,_0x49d896=!0x1){const _0x2980c9=_0x50570e,_0x58dc32=this[_0x2980c9(0x295)][_0x2980c9(0x27e)](_0x2980c9(0x3e1));_0x5972f7[_0x2980c9(0x2b3)]()!==_0x58dc32&&this['_urlService'][_0x2980c9(0x410)]('subunit',_0x5972f7[_0x2980c9(0x2b3)](),_0x49d896);}async[_0x50570e(0x401)](_0x384d19){const _0x239dfc=_0x50570e;var _0x23b8d9;const _0x1b8f1a=this['_urlService'][_0x239dfc(0x27e)]('subunit');if(!_0x1b8f1a||!_0x384d19[_0x239dfc(0x377)](_0x1b8f1a)){const _0x1e58ff=_0x384d19[_0x239dfc(0x208)]()[0x0],_0x55b01b=_0x384d19[_0x239dfc(0x377)](_0x1e58ff);if(!_0x55b01b)return;this[_0x239dfc(0x2e8)](_0x55b01b,!0x0),await this[_0x239dfc(0x2d4)]['executeCommand'](_0x315e9e['SetWorksheetActivateCommand']['id'],{'unitId':_0x384d19[_0x239dfc(0x3ca)](),'subUnitId':_0x1e58ff});return;}((_0x23b8d9=_0x384d19['getActiveSheet']())==null?void 0x0:_0x23b8d9[_0x239dfc(0x2b3)]())!==_0x1b8f1a&&await this['_commandService']['executeCommand'](_0x315e9e[_0x239dfc(0x428)]['id'],{'unitId':_0x384d19['getUnitId'](),'subUnitId':_0x1b8f1a});}},_0x43eb57['CollaborationDataLoaderController']=_0x159c15([_0x58eb8a(0x0,_0x5ded73),_0x58eb8a(0x1,_0x59adf4[_0x50570e(0x38c)]),_0x58eb8a(0x2,_0x59adf4['ICommandService']),_0x58eb8a(0x3,_0x59adf4[_0x50570e(0x3b2)](_0x260a16['DataLoaderService'])),_0x58eb8a(0x4,_0x59adf4[_0x50570e(0x245)](_0x3aa47b[_0x50570e(0x313)]))],_0x43eb57['CollaborationDataLoaderController']);var _0x5ba944=Object[_0x50570e(0x2fa)],_0x5ddf56=(_0x546b61,_0x2c7135,_0x4fa1ad,_0x44c11f)=>{const _0x1d31c1=_0x50570e;for(var _0x17dfb=_0x44c11f>0x1?void 0x0:_0x44c11f?_0x5ba944(_0x2c7135,_0x4fa1ad):_0x2c7135,_0x112369=_0x546b61[_0x1d31c1(0x37d)]-0x1,_0x132369;_0x112369>=0x0;_0x112369--)(_0x132369=_0x546b61[_0x112369])&&(_0x17dfb=_0x132369(_0x17dfb)||_0x17dfb);return _0x17dfb;},_0x1f4e4a=(_0x53e8df,_0x4065de)=>(_0x5440bc,_0xb33a52)=>_0x4065de(_0x5440bc,_0xb33a52,_0x53e8df);let _0x42fbd0=class{constructor(_0x9bf0d1,_0xae5e0f,_0x58fbdf){const _0x40dc60=_0x50570e;this['_injector']=_0x9bf0d1,this[_0x40dc60(0x384)]=_0xae5e0f,this[_0x40dc60(0x20c)]=_0x58fbdf;}[_0x50570e(0x2a3)](_0x4e3f0a){const _0x3b4e4f=_0x50570e;this['_transformUndoRedoStack'](_0x4e3f0a),this[_0x3b4e4f(0x40a)](_0x4e3f0a);}[_0x50570e(0x25c)](_0x5d9f2a){const _0x43a2e6=_0x50570e,{unitID:_0x4c673d}=_0x5d9f2a,_0x3f5b18=this[_0x43a2e6(0x20c)][_0x43a2e6(0x1f1)](_0x4c673d)[_0x43a2e6(0x1be)](_0x57e1c6[_0x43a2e6(0x283)]),{redoCache:_0x57adb4}=_0x3f5b18[_0x43a2e6(0x3de)]();if(_0x57adb4[_0x43a2e6(0x37d)]===0x0)return _0x5d9f2a;let _0x504a64=_0x59adf4[_0x43a2e6(0x39a)][_0x43a2e6(0x2ac)](_0x5d9f2a[_0x43a2e6(0x379)][0x0]);for(let _0x12c3bb=0x0;_0x12c3bb<_0x57adb4['length'];_0x12c3bb++){const _0x1fb5f3={'id':_0x43a2e6(0x41d),'params':{..._0x57adb4[_0x12c3bb]}},_0x3599c6=this[_0x43a2e6(0x384)][_0x43a2e6(0x1ec)](_0x504a64,_0x1fb5f3,!0x1);if(_0x31ad25[_0x43a2e6(0x357)](_0x3599c6))throw _0x3599c6[_0x43a2e6(0x41b)];_0x504a64=_0x3599c6[_0x43a2e6(0x2a4)];}return{..._0x59adf4['Tools'][_0x43a2e6(0x2ac)](_0x5d9f2a),'mutations':[_0x504a64]};}[_0x50570e(0x229)](_0x5cfded){const _0x1a1011=_0x50570e,{unitID:_0x235198}=_0x5cfded,_0x3d6368=this[_0x1a1011(0x20c)]['getRenderById'](_0x235198)['with'](_0x57e1c6[_0x1a1011(0x283)]),{undoCache:_0x268964,redoCache:_0x2b8da3}=_0x3d6368[_0x1a1011(0x3de)]();if(_0x268964[_0x1a1011(0x37d)]===0x0||_0x2b8da3[_0x1a1011(0x37d)]===0x0)return;const _0x28d079=[],_0x1f7792=[];let _0x12b5b9=_0x59adf4[_0x1a1011(0x39a)][_0x1a1011(0x2ac)](_0x5cfded[_0x1a1011(0x379)][0x0]),_0x1d391b=_0x59adf4[_0x1a1011(0x39a)]['deepClone'](_0x5cfded['mutations'][0x0]);for(let _0x14d65d=_0x268964[_0x1a1011(0x37d)]-0x1;_0x14d65d>=0x0;_0x14d65d--){const _0x5e1808={'id':'doc.mutation.rich-text-editing','params':{..._0x268964[_0x14d65d]}},_0x54c1a7={'id':_0x1a1011(0x41d),'params':{..._0x2b8da3[_0x14d65d]}},_0x256747=this[_0x1a1011(0x384)][_0x1a1011(0x1ec)](_0x12b5b9,_0x5e1808,!0x1),_0xf2ee9d=this[_0x1a1011(0x384)][_0x1a1011(0x1ec)](_0x1d391b,_0x54c1a7,!0x1);if(_0x31ad25['isTransformMutationFailure'](_0x256747))throw _0x256747[_0x1a1011(0x41b)];if(_0x31ad25['isTransformMutationFailure'](_0xf2ee9d))throw _0xf2ee9d['error'];_0x28d079[_0x1a1011(0x21b)](_0x256747[_0x1a1011(0x20e)]['params']),_0x1f7792[_0x1a1011(0x21b)](_0xf2ee9d[_0x1a1011(0x20e)][_0x1a1011(0x302)]),_0x12b5b9=_0x256747['m1Prime'],_0x1d391b=_0xf2ee9d[_0x1a1011(0x2a4)];}_0x3d6368[_0x1a1011(0x28e)]({'undoCache':_0x28d079,'redoCache':_0x1f7792});}[_0x50570e(0x40a)](_0x4d6ac6){const _0x18ece7=_0x50570e,{unitID:_0x258dc8}=_0x4d6ac6,_0x2dc5a1=this[_0x18ece7(0x20c)][_0x18ece7(0x1f1)](_0x258dc8)[_0x18ece7(0x1be)](_0x57e1c6['DocIMEInputManagerService']),_0x250d0b=_0x2dc5a1['getActiveRange']();if(_0x250d0b==null)return;const _0x4fb12d=[{'id':_0x18ece7(0x41d),'params':{'unitId':_0x4d6ac6[_0x18ece7(0x411)],'actions':null,'textRanges':[_0x250d0b]}}],_0x5e9282=this[_0x18ece7(0x384)][_0x18ece7(0x2d2)](_0x4d6ac6,_0x4fb12d);if(!_0x31ad25[_0x18ece7(0x324)](_0x5e9282))throw _0x5e9282[_0x18ece7(0x41b)];const _0x4b85f3=_0x5e9282[_0x18ece7(0x20e)][0x0][_0x18ece7(0x302)][_0x18ece7(0x3b1)];Array[_0x18ece7(0x3b6)](_0x4b85f3)&&_0x4b85f3[_0x18ece7(0x37d)]&&_0x2dc5a1[_0x18ece7(0x322)](_0x4b85f3[0x0]);}};_0x42fbd0=_0x5ddf56([_0x1f4e4a(0x0,_0x59adf4['Inject'](_0x59adf4[_0x50570e(0x364)])),_0x1f4e4a(0x1,_0x31ad25[_0x50570e(0x393)]),_0x1f4e4a(0x2,_0x18f11f[_0x50570e(0x294)])],_0x42fbd0);var _0x5a4bcb=Object[_0x50570e(0x2fa)],_0x2c67b5=(_0x14e1fd,_0x14c3e7,_0x432fea,_0x509e11)=>{const _0x19a073=_0x50570e;for(var _0x105704=_0x509e11>0x1?void 0x0:_0x509e11?_0x5a4bcb(_0x14c3e7,_0x432fea):_0x14c3e7,_0x3d6ed4=_0x14e1fd[_0x19a073(0x37d)]-0x1,_0x4855c9;_0x3d6ed4>=0x0;_0x3d6ed4--)(_0x4855c9=_0x14e1fd[_0x3d6ed4])&&(_0x105704=_0x4855c9(_0x105704)||_0x105704);return _0x105704;},_0x222d31=(_0x146ea9,_0x3a8898)=>(_0x2dcd1c,_0x1dd435)=>_0x3a8898(_0x2dcd1c,_0x1dd435,_0x146ea9);let _0xebc477=class{constructor(_0x52e735,_0xb7eeb8,_0x457e74){const _0x408ab7=_0x50570e;this['_injector']=_0x52e735,this[_0x408ab7(0x384)]=_0xb7eeb8,this[_0x408ab7(0x214)]=_0x457e74;}['transformStateCache'](_0x1e681e){const _0x20dd2a=_0x50570e;this[_0x20dd2a(0x272)](_0x1e681e);}[_0x50570e(0x25c)](_0x170a07){const _0x43a211=_0x50570e,{unitID:_0x49b8fd}=_0x170a07,{collaboration:_0x4fd1e3}=this[_0x43a211(0x214)][_0x43a211(0x3d3)](_0x49b8fd);if(_0x4fd1e3[_0x43a211(0x37d)]===0x0)return _0x170a07;let _0x3d9ab8=_0x59adf4[_0x43a211(0x39a)][_0x43a211(0x2ac)](_0x170a07['mutations'][0x0]);for(let _0x244471=0x0;_0x244471<_0x4fd1e3[_0x43a211(0x37d)];_0x244471++){const _0x5b2685={'id':_0x43a211(0x41d),'params':{'unitId':_0x4fd1e3[_0x244471][_0x43a211(0x44c)],..._0x4fd1e3[_0x244471][_0x43a211(0x40e)]}},_0x4a265c=this[_0x43a211(0x384)][_0x43a211(0x1ec)](_0x3d9ab8,_0x5b2685,!0x1);if(_0x31ad25[_0x43a211(0x357)](_0x4a265c))throw _0x4a265c[_0x43a211(0x41b)];_0x3d9ab8=_0x4a265c[_0x43a211(0x2a4)];}return{..._0x59adf4[_0x43a211(0x39a)]['deepClone'](_0x170a07),'mutations':[_0x3d9ab8]};}[_0x50570e(0x272)](_0x50a515){const _0x4d3063=_0x50570e,{unitID:_0x511752}=_0x50a515,{history:_0x59bc2f,collaboration:_0x5633ce}=this[_0x4d3063(0x214)][_0x4d3063(0x3d3)](_0x511752);if(_0x59bc2f[_0x4d3063(0x37d)]===0x0&&_0x5633ce['length']===0x0)return;const _0x4b1830=[],_0x456690=[];let _0x5d8c25=_0x59adf4[_0x4d3063(0x39a)]['deepClone'](_0x50a515['mutations'][0x0]),_0x2b2e9e=_0x59adf4['Tools'][_0x4d3063(0x2ac)](_0x50a515['mutations'][0x0]);for(let _0x1e8133=_0x59bc2f['length']-0x1;_0x1e8133>=0x0;_0x1e8133--){const _0x231096={'id':_0x4d3063(0x41d),'params':{'unitId':_0x59bc2f[_0x1e8133][_0x4d3063(0x44c)],..._0x59bc2f[_0x1e8133]['undoState']}},_0x9df863={'id':_0x4d3063(0x41d),'params':{'unitId':_0x59bc2f[_0x1e8133][_0x4d3063(0x44c)],..._0x59bc2f[_0x1e8133][_0x4d3063(0x40e)]}},_0x2c6416=this[_0x4d3063(0x384)][_0x4d3063(0x1ec)](_0x5d8c25,_0x231096,!0x1),_0x1d7038=this[_0x4d3063(0x384)][_0x4d3063(0x1ec)](_0x2b2e9e,_0x9df863,!0x1);if(_0x31ad25[_0x4d3063(0x357)](_0x2c6416))throw _0x2c6416[_0x4d3063(0x41b)];if(_0x31ad25['isTransformMutationFailure'](_0x1d7038))throw _0x1d7038[_0x4d3063(0x41b)];_0x4b1830[_0x4d3063(0x21b)]({..._0x59bc2f[_0x1e8133],'undoState':_0x2c6416[_0x4d3063(0x20e)][_0x4d3063(0x302)],'redoState':_0x1d7038[_0x4d3063(0x20e)][_0x4d3063(0x302)]}),_0x5d8c25=_0x2c6416[_0x4d3063(0x2a4)],_0x2b2e9e=_0x1d7038[_0x4d3063(0x2a4)];}_0x5d8c25=_0x59adf4['Tools']['deepClone'](_0x50a515[_0x4d3063(0x379)][0x0]),_0x2b2e9e=_0x59adf4[_0x4d3063(0x39a)]['deepClone'](_0x50a515['mutations'][0x0]);for(let _0x3facfd=_0x5633ce[_0x4d3063(0x37d)]-0x1;_0x3facfd>=0x0;_0x3facfd--){const _0xc73c73={'id':_0x4d3063(0x41d),'params':{'unitId':_0x5633ce[_0x3facfd][_0x4d3063(0x44c)],..._0x5633ce[_0x3facfd][_0x4d3063(0x42c)]}},_0x3fe87b={'id':_0x4d3063(0x41d),'params':{'unitId':_0x5633ce[_0x3facfd]['unitId'],..._0x5633ce[_0x3facfd]['redoState']}},_0xe5eed5=this[_0x4d3063(0x384)]['transformMutation'](_0x5d8c25,_0xc73c73,!0x1),_0xde0810=this[_0x4d3063(0x384)]['transformMutation'](_0x2b2e9e,_0x3fe87b,!0x1);if(_0x31ad25[_0x4d3063(0x357)](_0xe5eed5))throw _0xe5eed5[_0x4d3063(0x41b)];if(_0x31ad25[_0x4d3063(0x357)](_0xde0810))throw _0xde0810[_0x4d3063(0x41b)];_0x456690[_0x4d3063(0x21b)]({..._0x5633ce[_0x3facfd],'undoState':_0xe5eed5[_0x4d3063(0x20e)][_0x4d3063(0x302)],'redoState':_0xde0810[_0x4d3063(0x20e)]['params']}),_0x5d8c25=_0xe5eed5[_0x4d3063(0x2a4)],_0x2b2e9e=_0xde0810[_0x4d3063(0x2a4)];}this[_0x4d3063(0x214)][_0x4d3063(0x370)](_0x511752,{'history':_0x4b1830,'collaboration':_0x456690});}};_0xebc477=_0x2c67b5([_0x222d31(0x0,_0x59adf4[_0x50570e(0x3b2)](_0x59adf4['Injector'])),_0x222d31(0x1,_0x31ad25[_0x50570e(0x393)]),_0x222d31(0x2,_0x59adf4['Inject'](_0x57e1c6[_0x50570e(0x2be)]))],_0xebc477);var _0x7de801=Object[_0x50570e(0x2fa)],_0x5ca662=(_0x1db6d5,_0x1f0ca2,_0x231144,_0x5b7fa1)=>{const _0x36fa87=_0x50570e;for(var _0x5ab427=_0x5b7fa1>0x1?void 0x0:_0x5b7fa1?_0x7de801(_0x1f0ca2,_0x231144):_0x1f0ca2,_0x209fd4=_0x1db6d5[_0x36fa87(0x37d)]-0x1,_0x55713f;_0x209fd4>=0x0;_0x209fd4--)(_0x55713f=_0x1db6d5[_0x209fd4])&&(_0x5ab427=_0x55713f(_0x5ab427)||_0x5ab427);return _0x5ab427;},_0x257fa1=(_0x53c6dd,_0x492b5f)=>(_0x223949,_0x5ba920)=>_0x492b5f(_0x223949,_0x5ba920,_0x53c6dd);let _0xf3f1e2=class{constructor(_0x11ca12,_0x12a75c){const _0x47a513=_0x50570e;this[_0x47a513(0x232)]=_0x11ca12,this['_transformService']=_0x12a75c;}['transformSelections'](_0x1e8825){const _0x365976=_0x50570e;var _0x2374e4;const _0x248e96=this['_injector'][_0x365976(0x1d4)](_0x4c95c4['DocSelectionManagerService']),_0x46eef7=(_0x2374e4=_0x248e96[_0x365976(0x238)]())!=null?_0x2374e4:[];if(_0x46eef7[_0x365976(0x37d)]===0x0)return;const _0x268aa2=_0x1e8825['unitID'],_0x383b9d=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x268aa2,'actions':null,'textRanges':_0x46eef7}}],_0x452a1a=this[_0x365976(0x384)][_0x365976(0x2d2)](_0x1e8825,_0x383b9d);if(!_0x31ad25['isTransformMutationsWithChangesetSuccess'](_0x452a1a))throw _0x452a1a[_0x365976(0x41b)];const _0x3b7a83=_0x452a1a['m2Prime'][0x0][_0x365976(0x302)][_0x365976(0x3b1)];Array[_0x365976(0x3b6)](_0x3b7a83)&&_0x3b7a83[_0x365976(0x37d)]&&_0x248e96['replaceDocRanges'](_0x3b7a83,{'unitId':_0x268aa2,'subUnitId':_0x268aa2},!0x1);}};_0xf3f1e2=_0x5ca662([_0x257fa1(0x0,_0x59adf4[_0x50570e(0x3b2)](_0x59adf4['Injector'])),_0x257fa1(0x1,_0x31ad25['ITransformService'])],_0xf3f1e2);var _0x41a6f7=Object['getOwnPropertyDescriptor'],_0x3727bf=(_0x5d43a8,_0x499d68,_0x2b56c4,_0x19480c)=>{const _0x9b3b58=_0x50570e;for(var _0x287e06=_0x19480c>0x1?void 0x0:_0x19480c?_0x41a6f7(_0x499d68,_0x2b56c4):_0x499d68,_0x2837e3=_0x5d43a8[_0x9b3b58(0x37d)]-0x1,_0x47749d;_0x2837e3>=0x0;_0x2837e3--)(_0x47749d=_0x5d43a8[_0x2837e3])&&(_0x287e06=_0x47749d(_0x287e06)||_0x287e06);return _0x287e06;},_0x347a88=(_0x2c8b86,_0x5b0c14)=>(_0x2ab794,_0xf719cf)=>_0x5b0c14(_0x2ab794,_0xf719cf,_0x2c8b86);let _0x5189bc=class extends _0x59adf4['Disposable']{constructor(_0x55237e,_0x397bb5,_0x28883c,_0x2f8d67,_0x9a9707,_0x2996a6,_0x214914,_0x46325f){const _0x5e04c8=_0x50570e;super(),_0x42c1e1(this,_0x5e04c8(0x40c),new _0x23d3ed[(_0x5e04c8(0x42d))](_0x260a16[_0x5e04c8(0x34b)][_0x5e04c8(0x349)])),(this[_0x5e04c8(0x214)]=_0x55237e,this[_0x5e04c8(0x3a1)]=_0x397bb5,this[_0x5e04c8(0x363)]=_0x28883c,this['_docTransformStateCacheService']=_0x2f8d67,this[_0x5e04c8(0x1c4)]=_0x9a9707,this[_0x5e04c8(0x3bd)]=_0x2996a6,this[_0x5e04c8(0x3c8)]=_0x214914,this[_0x5e04c8(0x3ee)]=_0x46325f,this[_0x5e04c8(0x334)]());}[_0x50570e(0x334)](){const _0x1608ca=_0x50570e;this['disposeWithMe'](this[_0x1608ca(0x3a1)][_0x1608ca(0x2f2)]['subscribe'](_0x488d3e=>{const _0x2473a4=_0x1608ca,_0x131b61=this[_0x2473a4(0x214)][_0x2473a4(0x25e)][_0x2473a4(0x227)](_0x392e02=>{const _0x3dad30=_0x2473a4;if(_0x392e02==null)return;const {unitId:_0x6901b2,redoState:_0x4d3647,commandId:_0x551a58}=_0x392e02;if(_0x6901b2!==_0x488d3e[_0x3dad30(0x411)])return;const _0x470a00={'id':_0x551a58,'type':_0x59adf4[_0x3dad30(0x2e9)][_0x3dad30(0x3f1)],'params':{'unitId':_0x6901b2,'actions':_0x4d3647[_0x3dad30(0x365)],'textRanges':null}};_0x488d3e['onLocalMutation'](_0x470a00);});if(_0x488d3e[_0x2473a4(0x1c0)](_0x131b61),_0x488d3e instanceof _0x260a16[_0x2473a4(0x3ef)]){const _0x53562e={'onTransformIME':_0x5ca68a=>this['_docTransformIMECacheService'][_0x2473a4(0x2a3)](_0x5ca68a),'onTransformState':_0x146322=>this[_0x2473a4(0x339)][_0x2473a4(0x385)](_0x146322),'onTransformSelections':_0x229171=>this[_0x2473a4(0x1c4)][_0x2473a4(0x2f9)](_0x229171),'onSyncEditingCollabCursor':_0xc15e7b=>this['_docSyncEditingCollabCursorService'][_0x2473a4(0x296)](_0xc15e7b),'onTransformRemoteChangesetByIMECache':_0x37ce33=>this[_0x2473a4(0x363)][_0x2473a4(0x25c)](_0x37ce33),'onTransformRemoteChangesetByStateCache':_0x48eeff=>this['_docTransformStateCacheService'][_0x2473a4(0x25c)](_0x48eeff)};_0x488d3e['addHandlerCallback'](_0x53562e);}}));}};_0x5189bc=_0x3727bf([_0x347a88(0x0,_0x59adf4[_0x50570e(0x3b2)](_0x57e1c6[_0x50570e(0x2be)])),_0x347a88(0x1,_0x59adf4[_0x50570e(0x3b2)](_0x260a16[_0x50570e(0x403)])),_0x347a88(0x2,_0x59adf4['Inject'](_0x42fbd0)),_0x347a88(0x3,_0x59adf4['Inject'](_0xebc477)),_0x347a88(0x4,_0x59adf4['Inject'](_0xf3f1e2)),_0x347a88(0x5,_0x59adf4['Inject'](_0x4f4f90)),_0x347a88(0x6,_0x2ef7b5[_0x50570e(0x3a0)]),_0x347a88(0x7,_0x59adf4[_0x50570e(0x3b2)](_0x59adf4[_0x50570e(0x446)]))],_0x5189bc);var _0x20ea76=Object[_0x50570e(0x2fa)],_0xf97e36=(_0xb3b99b,_0x34b00d,_0x1b0496,_0x19b5bc)=>{for(var _0x3de785=_0x19b5bc>0x1?void 0x0:_0x19b5bc?_0x20ea76(_0x34b00d,_0x1b0496):_0x34b00d,_0x4b88c4=_0xb3b99b['length']-0x1,_0x1f9ba9;_0x4b88c4>=0x0;_0x4b88c4--)(_0x1f9ba9=_0xb3b99b[_0x4b88c4])&&(_0x3de785=_0x1f9ba9(_0x3de785)||_0x3de785);return _0x3de785;},_0x503d3a=(_0x983e20,_0xd8384a)=>(_0x482332,_0x5e3c40)=>_0xd8384a(_0x482332,_0x5e3c40,_0x983e20);let _0x441bd4=class extends _0x59adf4['Disposable']{constructor(_0x22b7d3,_0x29166b,_0x13ec40){const _0x251d81=_0x50570e;super(),_0x42c1e1(this,_0x251d81(0x44b),new Map()),_0x42c1e1(this,_0x251d81(0x1ff),new Map()),_0x42c1e1(this,_0x251d81(0x40b),!0x1),(this[_0x251d81(0x375)]=_0x22b7d3,this['_localStorageService']=_0x29166b,this['_revisionService']=_0x13ec40);}['disableLocalCache'](){const _0x228acc=_0x50570e;this[_0x228acc(0x40b)]=!0x0;}['enableLocalCache'](){const _0x4d1dd7=_0x50570e;this[_0x4d1dd7(0x40b)]=!0x1;}get['saveTaskMap'](){const _0x4609cd=_0x50570e;return this[_0x4609cd(0x1ff)];}[_0x50570e(0x392)](){const _0x3845a7=_0x50570e;this[_0x3845a7(0x37e)]()[_0x3845a7(0x383)](()=>super[_0x3845a7(0x392)]());}async[_0x50570e(0x2c0)](_0x73521f){const _0x4710c9=_0x50570e;return this[_0x4710c9(0x40b)]?null:this['_localStorageService'][_0x4710c9(0x1c6)](_0x260a16['getLocalCacheKey'](_0x73521f));}async[_0x50570e(0x2fd)](_0x29377b,_0x221d27){return!!this['_localStorageService']['setItem'](_0x29377b,_0x221d27);}['updateOfflineData'](_0xaa0a79,_0x1d2513,_0x65a17b,_0x54adb4){const _0x352600=_0x50570e,_0x1b690e=this[_0x352600(0x319)][_0x352600(0x2bb)](_0xaa0a79);this['_cachedData'][_0x352600(0x332)](_0xaa0a79,{'unitID':_0xaa0a79,'type':_0x1d2513,'awaitingChangeset':_0x65a17b,'mutations':_0x54adb4,'rev':_0x1b690e}),this[_0x352600(0x1ff)][_0x352600(0x1b4)](_0xaa0a79)||this[_0x352600(0x22b)](_0xaa0a79);}[_0x50570e(0x22b)](_0x53f98e){const _0x30168d=_0x50570e,_0x2ffb3b=this[_0x30168d(0x355)]();_0x2ffb3b===0x0?this[_0x30168d(0x261)](_0x53f98e):this[_0x30168d(0x1ff)][_0x30168d(0x332)](_0x53f98e,setTimeout(()=>this[_0x30168d(0x261)](_0x53f98e),_0x2ffb3b));}[_0x50570e(0x355)](){const _0x4fcacf=_0x50570e;var _0x3c912b;return(_0x3c912b=this['_configService'][_0x4fcacf(0x20d)](_0x260a16[_0x4fcacf(0x39e)]))!=null?_0x3c912b:_0x260a16[_0x4fcacf(0x2b7)];}['_saveCache'](_0xcab77c){const _0x1b11ce=_0x50570e,_0x9f527e=this[_0x1b11ce(0x1ff)]['get'](_0xcab77c);return _0x9f527e!==void 0x0&&window[_0x1b11ce(0x241)](_0x9f527e),this[_0x1b11ce(0x348)][_0x1b11ce(0x3ad)](_0x260a16['getLocalCacheKey'](_0xcab77c),this[_0x1b11ce(0x44b)]['get'](_0xcab77c))[_0x1b11ce(0x383)](()=>this[_0x1b11ce(0x1ff)][_0x1b11ce(0x1b5)](_0xcab77c));}async[_0x50570e(0x37e)](){const _0x372c93=_0x50570e,_0xc5555a=[];this[_0x372c93(0x1ff)]['forEach']((_0xf9d709,_0x34d5ec)=>{const _0x3431c2=_0x372c93;window[_0x3431c2(0x241)](_0xf9d709),_0xc5555a[_0x3431c2(0x34c)](this[_0x3431c2(0x261)](_0x34d5ec)[_0x3431c2(0x383)](()=>{const _0x463889=_0x3431c2;this[_0x463889(0x1ff)][_0x463889(0x1b5)](_0x34d5ec);}));}),await Promise[_0x372c93(0x1ce)](_0xc5555a);}};_0x441bd4=_0xf97e36([_0x503d3a(0x0,_0x59adf4[_0x50570e(0x1ef)]),_0x503d3a(0x1,_0x59adf4[_0x50570e(0x3bc)]),_0x503d3a(0x2,_0x59adf4['Inject'](_0x31ad25[_0x50570e(0x3fb)]))],_0x441bd4);class _0x6e9fc8 extends _0x59adf4[_0x50570e(0x316)]{constructor(){const _0x368750=_0x50570e;super(),_0x42c1e1(this,'urlChange$'),this['urlChange$']=_0x23d3ed['fromEvent'](window,'popstate')[_0x368750(0x41f)](_0x23d3ed[_0x368750(0x2c7)](this[_0x368750(0x3f4)]),_0x23d3ed[_0x368750(0x225)](0x1),_0x23d3ed[_0x368750(0x390)](void 0x0));}['setParam'](_0x119fc0,_0x44c745,_0x23617e=!0x1){const _0x55bc55=_0x50570e,_0x454318=new URL(window['location'][_0x55bc55(0x1cb)]);_0x454318[_0x55bc55(0x25a)]['set'](_0x119fc0,_0x44c745),_0x23617e?window['history'][_0x55bc55(0x1e0)]('','',_0x454318[_0x55bc55(0x1f4)]()):window[_0x55bc55(0x2ee)]['pushState']('','',_0x454318[_0x55bc55(0x1f4)]());}[_0x50570e(0x253)](_0x3d1062,_0x72e353=!0x1){const _0x213ac6=_0x50570e,_0x46dd28=new URL(window[_0x213ac6(0x40d)]['href']);_0x46dd28[_0x213ac6(0x25a)][_0x213ac6(0x1b5)](_0x3d1062),_0x72e353?window[_0x213ac6(0x2ee)][_0x213ac6(0x1e0)]('','',_0x46dd28[_0x213ac6(0x1f4)]()):window[_0x213ac6(0x2ee)][_0x213ac6(0x279)]('','',_0x46dd28['toString']());}['getParam'](_0x2960c6){const _0x220584=_0x50570e;var _0x25bc0b;return(_0x25bc0b=new URL(window[_0x220584(0x40d)][_0x220584(0x1cb)])['searchParams']['get'](_0x2960c6))!=null?_0x25bc0b:void 0x0;}}var _0x507c24=Object[_0x50570e(0x1f5)],_0x445744=Object[_0x50570e(0x2fa)],_0x3f9c5=(_0x55804d,_0x21b9f3,_0x9c6ea8)=>_0x21b9f3 in _0x55804d?_0x507c24(_0x55804d,_0x21b9f3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x9c6ea8}):_0x55804d[_0x21b9f3]=_0x9c6ea8,_0x2ab02b=(_0xe90c70,_0x543e84,_0x24263f,_0x15f4a9)=>{const _0x2a4a2a=_0x50570e;for(var _0x4f1170=_0x15f4a9>0x1?void 0x0:_0x15f4a9?_0x445744(_0x543e84,_0x24263f):_0x543e84,_0x5d5a39=_0xe90c70[_0x2a4a2a(0x37d)]-0x1,_0xed440f;_0x5d5a39>=0x0;_0x5d5a39--)(_0xed440f=_0xe90c70[_0x5d5a39])&&(_0x4f1170=_0xed440f(_0x4f1170)||_0x4f1170);return _0x4f1170;},_0x25ccf1=(_0x414460,_0x50c7c7)=>(_0xabe15d,_0x1f30bf)=>_0x50c7c7(_0xabe15d,_0x1f30bf,_0x414460),_0x6c9389=(_0x866ea7,_0x4450b2,_0x584c85)=>_0x3f9c5(_0x866ea7,_0x4450b2+'',_0x584c85);const _0x566637=_0x50570e(0x27b);_0x43eb57[_0x50570e(0x2bd)]=class extends _0x59adf4[_0x50570e(0x37b)]{constructor(_0x596883=_0x4f7aee,_0x3bc815,_0x2ece62,_0x2b5f10){const _0x361a66=_0x50570e;super(),this[_0x361a66(0x2f6)]=_0x596883,this[_0x361a66(0x20c)]=_0x3bc815,this[_0x361a66(0x232)]=_0x2ece62,this[_0x361a66(0x375)]=_0x2b5f10;const {..._0x3925b0}=_0x59adf4[_0x361a66(0x1e4)]({},_0x4f7aee,this[_0x361a66(0x2f6)]);this[_0x361a66(0x375)]['setConfig'](_0x2a5ac7,_0x3925b0);}[_0x50570e(0x1b8)](){const _0x1241c3=_0x50570e;this[_0x1241c3(0x354)](),this['_initDependencies']();}[_0x50570e(0x2de)](){const _0x4351a2=_0x50570e;this[_0x4351a2(0x31e)]();}['_registerDependencies'](){const _0x2c6190=_0x50570e;var _0x2c97e0;const _0x10c73f=[[_0x4923e7],[_0xf3f1e2],[_0x42fbd0],[_0xebc477],[_0x4f4f90],[_0x5ded73,{'useClass':_0x6e9fc8}],[_0x4426b1[_0x2c6190(0x2f3)],{'useClass':_0x4426b1['WebSocketService']}],[_0x260a16[_0x2c6190(0x2c8)],{'useClass':_0x441bd4}],[_0x43eb57[_0x2c6190(0x266)]],[_0x5189bc],[_0x1673b],[_0x1da02f],[_0x6299ee],[_0x43eb57[_0x2c6190(0x265)]]];_0x59adf4['registerDependencies'](this[_0x2c6190(0x232)],_0x59adf4[_0x2c6190(0x3e4)](_0x10c73f,(_0x2c97e0=this[_0x2c6190(0x2f6)])==null?void 0x0:_0x2c97e0[_0x2c6190(0x34e)]));}[_0x50570e(0x31e)](){const _0x5541ca=_0x50570e;this[_0x5541ca(0x1c0)](this[_0x5541ca(0x20c)]['registerRenderModule'](_0x59adf4[_0x5541ca(0x39f)][_0x5541ca(0x372)],[_0x45c915])),this[_0x5541ca(0x1c0)](this[_0x5541ca(0x20c)][_0x5541ca(0x2ef)](_0x59adf4[_0x5541ca(0x39f)][_0x5541ca(0x3fd)],[_0x23dcf3]));}['_initDependencies'](){const _0x641be4=_0x50570e;_0x59adf4[_0x641be4(0x220)](this[_0x641be4(0x232)],[[_0x1da02f],[_0x43eb57[_0x641be4(0x266)]],[_0x5189bc],[_0x1673b],[_0x43eb57[_0x641be4(0x265)]]]);}},_0x6c9389(_0x43eb57[_0x50570e(0x2bd)],_0x50570e(0x2b5),_0x566637),_0x43eb57['UniverCollaborationClientUIPlugin']=_0x2ab02b([_0x59adf4[_0x50570e(0x3f8)](_0x260a16[_0x50570e(0x3e2)]),_0x25ccf1(0x1,_0x18f11f['IRenderManagerService']),_0x25ccf1(0x2,_0x59adf4[_0x50570e(0x3b2)](_0x59adf4[_0x50570e(0x364)])),_0x25ccf1(0x3,_0x59adf4[_0x50570e(0x1ef)])],_0x43eb57[_0x50570e(0x2bd)]);var _0x1cb9c6=Object['getOwnPropertyDescriptor'],_0x1c3a12=(_0x25b91f,_0x1f6d4f,_0xe7c530,_0x335894)=>{const _0x346b71=_0x50570e;for(var _0x10ba74=_0x335894>0x1?void 0x0:_0x335894?_0x1cb9c6(_0x1f6d4f,_0xe7c530):_0x1f6d4f,_0x903bb1=_0x25b91f[_0x346b71(0x37d)]-0x1,_0x1c189e;_0x903bb1>=0x0;_0x903bb1--)(_0x1c189e=_0x25b91f[_0x903bb1])&&(_0x10ba74=_0x1c189e(_0x10ba74)||_0x10ba74);return _0x10ba74;},_0x1505ab=(_0x4ed4de,_0x124719)=>(_0x2236d4,_0x647261)=>_0x124719(_0x2236d4,_0x647261,_0x4ed4de);_0x43eb57[_0x50570e(0x271)]=class extends _0x260a16[_0x50570e(0x3fc)]{constructor(_0x5de81d,_0x32b622,_0x36f4a2,_0xd68576,_0x2998f8){super(_0x5de81d,_0x32b622,_0x36f4a2,_0xd68576,_0x2998f8);}async[_0x50570e(0x2bf)](_0x5cf007){const _0x6fd5d3=_0x50570e,_0x1efad4=await this[_0x6fd5d3(0x43d)](),_0x42043d=this[_0x6fd5d3(0x450)](_0x5cf007,_0x1efad4);return this[_0x6fd5d3(0x26d)](_0x42043d);}[_0x50570e(0x450)](_0x2e6514,_0x27f567){const _0x26056c=_0x50570e,_0x615454=typeof window>'u'?new URL(_0x2e6514):new URL(_0x2e6514,window['location'][_0x26056c(0x3b8)]);_0x615454[_0x26056c(0x25a)][_0x26056c(0x332)]('sessionTicket',_0x27f567);const _0x2ca920=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x26056c(0x40d)][_0x26056c(0x3b3)]);return _0x2ca920[_0x26056c(0x1d4)](_0x26056c(0x268))&&_0x615454['searchParams']['set'](_0x26056c(0x268),_0x2ca920[_0x26056c(0x1d4)](_0x26056c(0x268))),_0x615454[_0x26056c(0x1f4)]();}async[_0x50570e(0x43d)](){const _0x3c516a=_0x50570e;var _0x4b893d,_0x4f608a,_0x4f9f15;const _0x710436=this[_0x3c516a(0x375)][_0x3c516a(0x20d)](_0x260a16[_0x3c516a(0x24c)]),_0x46bb5=(_0x4b893d=_0x710436==null?void 0x0:_0x710436['wsSessionTicketUrl'])!=null?_0x4b893d:_0x260a16[_0x3c516a(0x449)];return(_0x4f9f15=(_0x4f608a=(await this[_0x3c516a(0x1bb)][_0x3c516a(0x1d4)](_0x46bb5,{'headers':{'Content-Type':_0x3c516a(0x1eb)}}))[_0x3c516a(0x223)])==null?void 0x0:_0x4f608a['ticket'])!=null?_0x4f9f15:'';}},_0x43eb57['BrowserCollaborationSocketService']=_0x1c3a12([_0x1505ab(0x0,_0x59adf4['Inject'](_0x59adf4[_0x50570e(0x364)])),_0x1505ab(0x1,_0x59adf4[_0x50570e(0x3b2)](_0x4426b1[_0x50570e(0x437)])),_0x1505ab(0x2,_0x59adf4['IConfigService']),_0x1505ab(0x3,_0x59adf4[_0x50570e(0x38c)]),_0x1505ab(0x4,_0x31ad25[_0x50570e(0x1cd)])],_0x43eb57[_0x50570e(0x271)]);const _0x349c80=0x7530,_0x5086a4='ACTIVE_UNIT_EVENT_CHANNEL';class _0x32c579 extends _0x59adf4[_0x50570e(0x1d7)]{constructor(){const _0x29fec4=_0x50570e;super(),_0x42c1e1(this,_0x29fec4(0x250),_0x59adf4[_0x29fec4(0x3b0)]()),_0x42c1e1(this,'_selfUnitIDs',new Set()),_0x42c1e1(this,_0x29fec4(0x366),new Map()),_0x42c1e1(this,'_heartbeatTimer',null),_0x42c1e1(this,_0x29fec4(0x2fc),new Map()),_0x42c1e1(this,_0x29fec4(0x373),new Map()),this[_0x29fec4(0x359)]();}['dispose'](){const _0x40aa68=_0x50570e;super[_0x40aa68(0x392)](),this[_0x40aa68(0x2fc)]['forEach']((_0x224c39,_0x4c2105)=>this[_0x40aa68(0x2db)](_0x4c2105)),this['_heartbeatTimer']&&window[_0x40aa68(0x3a6)](this[_0x40aa68(0x33a)]);}['getUnitStatus$'](_0x16a542){const _0x49acbe=_0x50570e;return this[_0x49acbe(0x30d)](_0x16a542)['pipe'](_0x23d3ed[_0x49acbe(0x2a2)]());}[_0x50570e(0x204)](_0x517525){const _0xeafe5d=_0x50570e;this[_0xeafe5d(0x427)][_0xeafe5d(0x276)]===0x0&&this['_scheduleHeartbeat'](),this[_0xeafe5d(0x427)][_0xeafe5d(0x1c9)](_0x517525),this['_send']({'type':0x0,'memberID':this[_0xeafe5d(0x250)],'unitIDs':[_0x517525],'isForwarded':!0x1});}[_0x50570e(0x222)](_0x15dbd5){const _0x46fde2=_0x50570e;this['_selfUnitIDs'][_0x46fde2(0x1b5)](_0x15dbd5),this['_selfUnitIDs']['size']===0x0&&this[_0x46fde2(0x33a)]&&window[_0x46fde2(0x3a6)](this['_heartbeatTimer']);}[_0x50570e(0x359)](){const _0x266e5a=_0x50570e;this[_0x266e5a(0x1c0)](_0x59adf4[_0x266e5a(0x2f4)](_0x23d3ed['fromEvent'](window,_0x266e5a(0x3ae))[_0x266e5a(0x227)](_0x53025c=>{const _0x3a4d2e=_0x266e5a;if(_0x53025c[_0x3a4d2e(0x2f5)]!==_0x5086a4||!_0x53025c['newValue'])return;const _0x5de6b8=JSON[_0x3a4d2e(0x398)](_0x53025c[_0x3a4d2e(0x35d)]);this[_0x3a4d2e(0x24f)](_0x5de6b8);}))),window['addEventListener'](_0x266e5a(0x369),()=>this[_0x266e5a(0x36c)]({'type':0x1,'memberID':this[_0x266e5a(0x250)],'unitIDs':Array[_0x266e5a(0x257)](this['_selfUnitIDs'])}));}[_0x50570e(0x24f)](_0x38ce08){const _0x221ab3=_0x50570e;switch(_0x38ce08['type']){case 0x0:this[_0x221ab3(0x424)](_0x38ce08);break;case 0x1:this[_0x221ab3(0x42a)](_0x38ce08);break;case 0x2:this[_0x221ab3(0x1df)](_0x38ce08);break;}}['_handleJoinEvent'](_0x31810a){const _0x1309de=_0x50570e,{unitIDs:_0x28d406,memberID:_0x3adf36,isForwarded:_0x38c8fb}=_0x31810a;_0x28d406['forEach'](_0x39a8df=>{const _0x84e395=_0x4b9e;if(!_0x38c8fb&&this[_0x84e395(0x366)]['has'](_0x39a8df)&&this[_0x84e395(0x30d)](_0x39a8df)[_0x84e395(0x21a)](_0x260a16[_0x84e395(0x31f)]['OTHER_CLIENTS_EDITING']),!this[_0x84e395(0x366)][_0x84e395(0x1b4)](_0x39a8df)||!this[_0x84e395(0x366)][_0x84e395(0x1d4)](_0x39a8df)[_0x84e395(0x1b4)](_0x3adf36)){const _0x236261=this[_0x84e395(0x366)][_0x84e395(0x1d4)](_0x39a8df)||new Set();_0x236261[_0x84e395(0x1c9)](_0x3adf36),this[_0x84e395(0x366)][_0x84e395(0x332)](_0x39a8df,_0x236261),this[_0x84e395(0x233)](_0x3adf36);}}),_0x38c8fb||this[_0x1309de(0x36c)]({'type':0x0,'memberID':this[_0x1309de(0x250)],'unitIDs':[...this[_0x1309de(0x427)]],'isForwarded':!0x0});}[_0x50570e(0x233)](_0x164ba1){const _0x5408cb=_0x50570e;this[_0x5408cb(0x2db)](_0x164ba1);const _0xca7167=window[_0x5408cb(0x328)](()=>{const _0x3dfc74=_0x5408cb;this[_0x3dfc74(0x366)][_0x3dfc74(0x201)](_0x4f2858=>{_0x4f2858['delete'](_0x164ba1);});},_0x349c80*0x2);this['_clearOtherTimers'][_0x5408cb(0x332)](_0x164ba1,_0xca7167);}[_0x50570e(0x2db)](_0x44c61d){const _0x4f1cef=_0x50570e;if(this[_0x4f1cef(0x2fc)][_0x4f1cef(0x1b4)](_0x44c61d)){const _0x501132=this[_0x4f1cef(0x2fc)]['get'](_0x44c61d);_0x501132&&window['clearTimeout'](_0x501132),this[_0x4f1cef(0x2fc)]['set'](_0x44c61d,null);}}[_0x50570e(0x42a)](_0x386b3e){const _0x39a7b7=_0x50570e,{memberID:_0x4094cf,unitIDs:_0x3a37d7}=_0x386b3e;_0x3a37d7[_0x39a7b7(0x201)](_0x112be2=>{const _0x56fa72=_0x39a7b7;var _0x2ca0e8;const _0x4814d9=this['_unitOnClients'][_0x56fa72(0x1d4)](_0x112be2);_0x4814d9&&(_0x4814d9[_0x56fa72(0x1b5)](_0x4094cf),(_0x2ca0e8=this[_0x56fa72(0x30d)](_0x112be2))==null||_0x2ca0e8[_0x56fa72(0x21a)](_0x4814d9[_0x56fa72(0x276)]===0x0?_0x260a16[_0x56fa72(0x31f)]['NO_OTHER_CLIENTS_EDITING']:_0x260a16['UnitStatus'][_0x56fa72(0x290)]));}),this[_0x39a7b7(0x2db)](_0x4094cf);}['_handleHeartbeatEvent'](_0x6796d8){const _0x2d8b0f=_0x50570e;this['_scheduleClearOtherTimer'](_0x6796d8[_0x2d8b0f(0x434)]);}[_0x50570e(0x36c)](_0x12ca41){const _0xe51289=_0x50570e;localStorage[_0xe51289(0x3ad)](_0x5086a4,JSON[_0xe51289(0x3dc)](_0x12ca41));}[_0x50570e(0x34f)](){const _0x282b36=_0x50570e;this[_0x282b36(0x33a)]=window['setInterval'](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x349c80);}['_ensureSubject'](_0x14c755){const _0x5300e9=_0x50570e;return this['_unitStatus'][_0x5300e9(0x1b4)](_0x14c755)||this[_0x5300e9(0x373)][_0x5300e9(0x332)](_0x14c755,new _0x23d3ed[(_0x5300e9(0x42d))](_0x260a16['UnitStatus'][_0x5300e9(0x304)])),this[_0x5300e9(0x373)][_0x5300e9(0x1d4)](_0x14c755);}}var _0x1c4cc4=(_0x5dc0ae=>(_0x5dc0ae[_0x5dc0ae['UNDEFINED']=0x0]=_0x50570e(0x312),_0x5dc0ae[_0x5dc0ae['OK']=0x1]='OK',_0x5dc0ae[_0x5dc0ae[_0x50570e(0x389)]=0x2]=_0x50570e(0x389),_0x5dc0ae[_0x5dc0ae['PERMISSION_DENIED']=0x3]=_0x50570e(0x2b1),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x311)]=0x4]=_0x50570e(0x311),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x2d9)]=0x5]=_0x50570e(0x2d9),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x22a)]=0x6]='ALREADY_EXISTS',_0x5dc0ae[_0x5dc0ae[_0x50570e(0x2cd)]=0x7]=_0x50570e(0x2cd),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x310)]=0x8]=_0x50570e(0x310),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x300)]=0x9]='COMPLETION_FINISHED',_0x5dc0ae[_0x5dc0ae[_0x50570e(0x2c1)]=0xa]=_0x50570e(0x2c1),_0x5dc0ae[_0x5dc0ae['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x50570e(0x2e1),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x33d)]=0x1771]=_0x50570e(0x33d),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x1ea)]=0x1772]=_0x50570e(0x1ea),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x367)]=0x1773]=_0x50570e(0x367),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x358)]=0x1b59]=_0x50570e(0x358),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x20a)]=0x1b5a]=_0x50570e(0x20a),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x404)]=0x1b5b]=_0x50570e(0x404),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x415)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5dc0ae[_0x5dc0ae['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x5dc0ae[_0x5dc0ae['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x50570e(0x213),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x3f2)]=0x2329]=_0x50570e(0x3f2),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x256)]=0x232a]=_0x50570e(0x256),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x218)]=0x232b]=_0x50570e(0x218),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x412)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5dc0ae[_0x5dc0ae[_0x50570e(0x285)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5dc0ae[_0x5dc0ae['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x50570e(0x236),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x26f)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5dc0ae[_0x5dc0ae[_0x50570e(0x30c)]=0x2713]=_0x50570e(0x30c),_0x5dc0ae[_0x5dc0ae['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5dc0ae[_0x5dc0ae[_0x50570e(0x3a2)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x5dc0ae[_0x5dc0ae[_0x50570e(0x3c6)]=0x271b]=_0x50570e(0x3c6),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x419)]=0x271c]=_0x50570e(0x419),_0x5dc0ae[_0x5dc0ae['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x50570e(0x2e3),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x329)]=0x271e]=_0x50570e(0x329),_0x5dc0ae[_0x5dc0ae['YUUMI_AI_RUN_FAILED']=0x271f]=_0x50570e(0x1d1),_0x5dc0ae[_0x5dc0ae['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x50570e(0x262),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x1d5)]=0x2ee1]=_0x50570e(0x1d5),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x254)]=0x2ee2]=_0x50570e(0x254),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x23b)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x5dc0ae[_0x5dc0ae['USER_NOT_INVITED_CODE']=0x2ee4]=_0x50570e(0x26a),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x345)]=0x2ee5]=_0x50570e(0x345),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x406)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x5dc0ae[_0x5dc0ae[_0x50570e(0x425)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x5dc0ae[_0x5dc0ae[_0x50570e(0x252)]=0x32cb]=_0x50570e(0x252),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x3b5)]=-0x1]='UNRECOGNIZED',_0x5dc0ae))(_0x1c4cc4||{}),_0x516b0e=Object['getOwnPropertyDescriptor'],_0x57c6b6=(_0x289b81,_0x51cfee,_0x38fb11,_0x208017)=>{const _0x4ac30d=_0x50570e;for(var _0x323820=_0x208017>0x1?void 0x0:_0x208017?_0x516b0e(_0x51cfee,_0x38fb11):_0x51cfee,_0x1c16c6=_0x289b81[_0x4ac30d(0x37d)]-0x1,_0x3a5cb0;_0x1c16c6>=0x0;_0x1c16c6--)(_0x3a5cb0=_0x289b81[_0x1c16c6])&&(_0x323820=_0x3a5cb0(_0x323820)||_0x323820);return _0x323820;},_0x582aa8=(_0x158f58,_0x1473e6)=>(_0xfee41,_0x4622db)=>_0x1473e6(_0xfee41,_0x4622db,_0x158f58);_0x43eb57['RemoteUniscriptService']=class extends _0x59adf4[_0x50570e(0x1d7)]{constructor(_0x2befbb,_0x2e4b9a,_0x4db8af){const _0x5b686a=_0x50570e;super(),this['_instanceService']=_0x2befbb,this[_0x5b686a(0x1bb)]=_0x2e4b9a,this[_0x5b686a(0x375)]=_0x4db8af;}async[_0x50570e(0x351)](_0x36e39e,_0x582795,_0x4b2092,..._0xb84673){const _0x8f4a51=_0x50570e;var _0x2927ff,_0x5ab62a,_0x57655c,_0x3db682;const _0x60bf77=this[_0x8f4a51(0x27c)][_0x8f4a51(0x29c)]();if(!_0x60bf77)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x20035b=((_0x2927ff=this[_0x8f4a51(0x375)][_0x8f4a51(0x20d)](_0x260a16[_0x8f4a51(0x292)]))!=null?_0x2927ff:_0x260a16[_0x8f4a51(0x255)])+'/'+_0x36e39e+_0x8f4a51(0x39c)+_0x582795,_0x5583dc=new URL(window[_0x8f4a51(0x40d)]['href']),_0xc9ca83={'scriptId':_0x36e39e,'runId':(_0x5ab62a=_0x5583dc[_0x8f4a51(0x25a)][_0x8f4a51(0x1d4)](_0x8f4a51(0x268)))!=null?_0x5ab62a:'','function':_0x582795,'unitId':_0x60bf77[_0x8f4a51(0x3ca)](),'argsOfFunction':JSON[_0x8f4a51(0x3dc)](_0xb84673),'invokeId':(_0x57655c=_0x4b2092[_0x8f4a51(0x327)])!=null?_0x57655c:'','executionId':(_0x3db682=_0x4b2092[_0x8f4a51(0x1d8)])!=null?_0x3db682:''};try{const _0x36d9ab=await this['_httpService'][_0x8f4a51(0x277)](_0x20035b,{'body':_0xc9ca83});return _0x36d9ab[_0x8f4a51(0x223)][_0x8f4a51(0x41b)]&&_0x36d9ab[_0x8f4a51(0x223)][_0x8f4a51(0x41b)][_0x8f4a51(0x224)]!==_0x1c4cc4['OK']?_0x8f4a51(0x399):_0x36d9ab['body'][_0x8f4a51(0x3c3)];}catch{return _0x8f4a51(0x399);}}},_0x43eb57['RemoteUniscriptService']=_0x57c6b6([_0x582aa8(0x0,_0x59adf4[_0x50570e(0x24b)]),_0x582aa8(0x1,_0x59adf4[_0x50570e(0x3b2)](_0x4426b1[_0x50570e(0x437)])),_0x582aa8(0x2,_0x59adf4[_0x50570e(0x1ef)])],_0x43eb57[_0x50570e(0x2f8)]),_0x43eb57[_0x50570e(0x2cc)]=_0x2a3c41,_0x43eb57['IURLService']=_0x5ded73,_0x43eb57[_0x50570e(0x289)]=_0x169269,_0x43eb57[_0x50570e(0x3e9)]=_0x32c579,_0x43eb57[_0x50570e(0x28b)]=_0x6e9fc8,Object['defineProperty'](_0x43eb57,Symbol[_0x50570e(0x3c0)],{'value':_0x50570e(0x3e7)});}));function _0x4b9e(_0x291163,_0x373a08){const _0x4f3090=_0x4f30();return _0x4b9e=function(_0x4b9e66,_0x204d26){_0x4b9e66=_0x4b9e66-0x1b3;let _0x81b0bd=_0x4f3090[_0x4b9e66];return _0x81b0bd;},_0x4b9e(_0x291163,_0x373a08);}function _0x4f30(){const _0x15b8af=['createSocket','loadOfflineData','LOGIN_FAILED','_startSheetCollabCursor','status$','defs','getVpScrollXYInfoByPosToVp','registerRefRange','takeUntil','ILocalCacheService','makeDirty','SheetSkeletonManagerService','getCurrentUnitForType','CollaborationStatusDisplay','INVALID_ARGUMENT','_docClipboardService','_online','@univerjs/sheets-ui','eventID','transformMutationsWithChangeset','_name','_commandService','CollaborationUIEventId','handleInsertCol','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','Tooltip','UNAUTHENTICATED','fillText','_removeClearOtherTimer','propertyIsEnumerable','send','onRendered','_backgroundColor','debug','CHANGESET_REVISION_CONFILICT','CollaborationEvent','YUUMI_ALL_TABLES_IS_INVALID','CollaborationUIEventService','debounce','handleDeleteRangeMoveLeft','className','_updateURLWithCurrentState','CommandType','4BLnnKc','subscribeEvent','type','DeleteRangeMoveLeftCommandId','history','registerRenderModule','UPDATE_CURSOR','getActiveSheet','entityInit$','ISocketService','toDisposable','key','_config','handleInsertRangeMoveRight','RemoteUniscriptService','transformSelections','getOwnPropertyDescriptor','round','_clearOtherTimers','saveOfflineData','_cursorInfo$','_range','COMPLETION_FINISHED','SessionStatus','params','getMemberID','NO_OTHER_CLIENTS_EDITING','icon','collaboration.closeRoom','debounceTime','max','range','@univerjs/sheets','_collabCursorController','YUUMI_RATE_OVER_LIMIT','_ensureSubject','_toggleOnline','fillRule','TOO_MANY_REQUESTS','NOT_FOUND','UNDEFINED','IRemoteInstanceService','RefRangeService','getSkeleton','RxDisposable','currentColor','@univerjs/core','_revisionService','getViewport','rxjs','_entities','complete','_registerRenderDependencies','UnitStatus','startRow','_scene','setActiveRange','TRANSFORM_CHANGE_OBSERVABLE_TYPE','isTransformMutationsWithChangesetSuccess','_render','getCurrent','invokeId','setTimeout','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','collabStatus.fetchMiss','_drawTextRange','useCallback','_eventUnsubscribe','react/jsx-runtime','@univerjs/docs-ui','_toggleOffline','exports','set','OFFLINE','_initEntityListener','startColumn','displayName','_imageIoService','getColorFromTheme','_docTransformStateCacheService','_heartbeatTimer','attrs','395082EqAgoO','SNAPSHOT_INVALID_SNAPSHOT','onTransformChange$','MemberService','collaboration-client.offline-data-not-saved','Vector2','42rCJCdU','_updateCollabCursors','univer-flex\x20univer-items-center','INVITE_CODE_ALREADY_BOUND','column','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_localStorageService','NOT_COLLAB','_syncEditingCollabCursorService','CollaborationStatus','push','collabStatus.syncing','override','_scheduleHeartbeat','session.will-retry','runOnServer','...','top','_registerDependencies','_getSaveTimeout','forwardRef','isTransformMutationFailure','APPLY_REJECT','_init','entries','InsertRowCommandId','_docSkeleton','newValue','filter','collab-rect-range-','onPointerLeave$','onMouseMove','addObject','_docTransformIMECacheService','Injector','actions','_unitOnClients','ENSURE_SNAPSHOT_EXECUTION','getAncestorScale','unload','UniverCore','SetTextSelectionsOperation','_send','collaboration.single-unit.warning','prototype','combineLatest','setStateCache','moveTo','UNIVER_DOC','_unitStatus','Warning','_configService','react','getSheetBySheetId','tag','mutations','drawWith','Plugin','_initStatusComponent','length','exhaustSavingTask','#FFF','fromEventSubject','setAlpha','isActive','then','_transformService','transformStateCache','InsertRangeMoveRightCommandId','getMergeData','_refreshCollabCursors','INTERNAL_ERROR','287DeIbCL','cursorInfo$','ILogService','TEXT','split','handleInsertRangeMoveDown','mapTo','getColor','dispose','ITransformService','_hover','getTypeOfUnitDisposed$','resize','focused$','parse','Failed','Tools','substring','/run/','_hideTimer','LOCAL_CACHE_INTERVAL_KEY','UniverInstanceType','IMessageService','_collaborationController','YUUMI_NO_CUBOID_FOR_QUESTION','min','uni.network.url-service','DeleteRangeMoveUpCommandId','clearInterval','onPointerEnter$','path','_hovered','getValue','_collabSessionService','use','setItem','storage','_drawAnchor','generateRandomId','textRanges','Inject','search','_cursor','UNRECOGNIZED','isArray','_draw','origin','operators','permission.title','triggerDblclick','ILocalStorageService','_docSyncEditingCollabCursorService','_initCommandExecutedListener','SHEET_VIEWPORT_KEY','toStringTag','handleMoveRange','_shapes','result','TEXT_RANGE_LAYER_INDEX','_getMergeRange','YUUMI_ASYNCIO_CANCELLED','lineTo','_messageService','skeleton','getUnitId','collaboration-client-ui.config','_themeService','_startDocCollabCursor','SetDocZoomRatioOperation','@univerjs/engine-render','name','svg','ranges','getStateCache','fill','serializeRangeWithSheet','roomMembers','assign','text','closePath','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','SetSelectionsOperation','stringify','INotificationService','getUndoRedoMutationParamsCache','IUIPartsService','FromArray','subunit','UniverCollaborationClientPlugin','3893344cBDXQo','mergeOverrideWithDependencies','_getAnchorBounding','indexOf','Module','clipPath','WebBrowserSingleActiveUnitService','collabStatus.conflict','SYNCED','div','switchMap','_localeService','DocCollaborationEntity','_cursorShapes','MUTATION','LICENSE_MAX_UNITS_EXCEEDED','rxjs/operators','dispose$','4144430PfSTeX','getRangePointData','OnLineIcon','DependentOn','apply','MoveRangeCommandId','RevisionService','CollaborationSocketService','UNIVER_SHEET','CollaborationSessionService','assignAColorForMemberID','collabStatus.offline','_updateSubUnitFromURLParams','sheetId','CollaborationController','APPLY_REVISION_CONFILICT','useRef','WECHAT_HAS_BEEN_BOUND','UniverUi','collab-client.tooltip.reconnect','evenodd','_transformPreviousActiveRange','_disabled','_status$','location','redoState','[CollaborationDataLoaderController]','setParam','unitID','LICENSE_EXPORT_SIZE_EXCEEDED','@univerjs/ui','0\x200\x2016\x2016','APPLY_PERMISSION_DENIED','univerjs-icon\x20univerjs-icon-','getTypeOfUnitAdded$','Subject','YUUMI_TABLE_NOT_FOUND_IN_UNIT','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','error','_uiPartsService','doc.mutation.rich-text-editing','Unknown\x20user','pipe','_initEvent','concat','ColorKit','_beforeCloseService','_handleJoinEvent','MOBILE_HAS_BEEN_BOUND','@univerjs/docs','_selfUnitIDs','SetWorksheetActivateCommand','xlink:href','_handleLeaveEvent','_collaborationUIEventService','undoState','BehaviorSubject','unit','registerComponent','object','toRgbString','_notificationService','measureText','memberID','arc','height','HTTPService','_memberService','AWAITING','ThemeService','_updateLocalCursor','red.300','_getSessionTicket','startsWith','M0\x200H16V16H0z','getCollabCursors$','extend','121zxZbgy','_colorIndex','setShapeProps','1em','LocaleService','row','asObservable','DEFAULT_WS_SESSION_TICKET_URL','_session','_cachedData','unitId','EffectRefRangId','_document','colorChannel1','_createSocketURL','onPointerMove$','cursorInfo','has','delete','@univerjs/design','1438188OPeorx','onStarting','_colorAssignService','http://www.w3.org/2000/svg','_httpService','yellow.400','useDependency','with','COLORS','disposeWithMe','_roomMembers$','getCurrentSelections','_logService','_docTransformSelectionsService','_entityInit$','getItem','UniverDocs','@univerjs/engine-formula','add','UniverSheets','href','createIdentifier','ISnapshotServerService','all','_color','SUBMIT_CHANGESET_TIMEOUT','YUUMI_AI_RUN_FAILED','on-line-icon','_refRangeService','get','INVITE_CODE_HAS_BEEN_UES','engine','Disposable','executionId','unsubscribe','0\x200\x2017\x2016','FETCH_MISS','createInstance','_initStatusListener','map','_handleHeartbeatEvent','replaceState','event$','save','onCommandExecuted','merge','hide','_collabCursorState$','bottom','Workbook','selection','SNAPSHOT_HAS_BEEN_REMOVED','application/json','transformMutation','Error','_getScale','IConfigService','collabStatus.synced','getRenderById','AWAITING_WITH_PENDING','InsertRangeMoveDownCommandId','toString','defineProperty','sessionStatus$','IBeforeCloseService','InsertColCommandId','getMember','UniverProCollaborationClientUi','jsx','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','1030BaafFL','USERS_LEAVE','_saveTaskMap','ICommandService','forEach','RegularPolygon','UniverDocsUi','editingUnit','includes','UniverRpc','collabCursorState$','getUnhiddenWorksheets','findNodePositionByCharIndex','APPLY_NON_SEQUENTIAL_REVISION','@univerjs/rpc','_renderManagerService','getConfig','m2Prime','334980sYbDBT','idSuffix','_lastPointer','Rectangle','CONNECTOR_DATA_TOO_LARGE','_docStateChangeManagerService','off-line-icon_clip0_910_343','ONLINE','handleInsertRow','LICENSE_IMPORT_SIZE_EXCEEDED','getCoordByCell','next','unshift','_onRefRangeChange','replace','restore','OffLineIcon','touchDependencies','children','disposeUnit','body','code','shareReplay','_onCursorDelete','subscribe','reconnect','_transformUndoRedoStack','ALREADY_EXISTS','_scheduleSaving','width','_initResize','sheetID','CONFLICT','isEditing','flatMap','_injector','_scheduleClearOtherTimer','current','@univerjs/network','YUUMI_UNABLE_LOAD_URL','UniverEngineRender','getDocRanges','Rect','hasOwnProperty','INVITE_CODE_REQUIRED','whenReady','_anchor','symbol','getOffsetConfig','collabStatus.notCollab','clearTimeout','RECT','values','UniverEngineFormula','Optional','VIEW_MAIN','getOwnPropertySymbols','_docSkeletonManagerService','_textBubble','getCellPositionByOffset','IUniverInstanceService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','data','addClipboardHook','_handleEvent','_id','url(#$1','EMAIL_HAS_BEEN_BOUND','removeParam','INVALID_INVITE_CODE','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','from','_cursors','call','searchParams','UniverIcon','transformRemoteChangeset','urlChange$','docStateChange$','show','_getSheetObject','_saveCache','PY_RUNTIME_SCRIPT_ERROR','_setupBeforeClosingHandler','UniverProCollaborationClient','CollaborationDataLoaderController','DesktopCollaborationStatusDisplayController','session.connection-failed','runId','requireSession','USER_NOT_INVITED_CODE','getSheetObject','DisposableCollection','_doCreateSocket','_labelPosition','YUUMI_URL_COL_OUT_OF_RANGE','loadUnit','BrowserCollaborationSocketService','_transformHistoryAndStateStack','SOCKET_FAILED','endRow','currentSkeleton$','size','post','_onCursorUpdate','pushState','_drawRectRange','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_instanceService','clsx','getParam','mask','fillStyle','white','@univerjs-pro/collaboration-client','DocIMEInputManagerService','_univerInstanceService','LICENSE_DISTRO_REJECTED','roomMembers$','activeSheet$','_dataLoaderService','SheetCollabCursorShape','PENDING','WebURLService','_sheetSkeletonManagerService','some','setUndoRedoMutationParamsCache','_assignedColors','OTHER_CLIENTS_EDITING','on-line-icon_clip0_910_349','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','@univerjs-pro/collaboration','IRenderManagerService','_urlService','syncEditingCollabCursor','_anchorDot','_context','currentTheme$','defIds','UniverProCollaboration','getFocusedUnit','string','purple.300','SOCKET_FAILED_RETRY','DOC_RANGE_TYPE','createElement','distinctUntilChanged','transformIMECache','m1Prime','transform','throttleTime','collab-text-anchor-','706690qMZHxU','random','jiqing.500','none','deepClone','color','getRelativeToViewportCoord','MessageType','_handleHover','PERMISSION_DENIED','beginPath','getSheetId','collab-text-range-','pluginName','_removeCollabCursors','LOCAL_CACHE_INTERVAL','handleIRemoveRow','init','black','getCurrentRevOfUnit','Shape','UniverCollaborationClientUIPlugin','DocStateChangeManagerService'];_0x4f30=function(){return _0x15b8af;};return _0x4f30();}
1
+ function _0x5819(_0x546190,_0x54d989){const _0x12c07c=_0x12c0();return _0x5819=function(_0x5819e5,_0x479bec){_0x5819e5=_0x5819e5-0x104;let _0x1e6e89=_0x12c07c[_0x5819e5];return _0x1e6e89;},_0x5819(_0x546190,_0x54d989);}(function(_0x23ab49,_0x259a56){const _0x3aa8eb=_0x5819,_0x4d4ff4=_0x23ab49();while(!![]){try{const _0x39367f=parseInt(_0x3aa8eb(0x2c7))/0x1+parseInt(_0x3aa8eb(0x1e9))/0x2+-parseInt(_0x3aa8eb(0x3a1))/0x3*(parseInt(_0x3aa8eb(0x226))/0x4)+-parseInt(_0x3aa8eb(0x379))/0x5*(-parseInt(_0x3aa8eb(0x1f4))/0x6)+-parseInt(_0x3aa8eb(0x35d))/0x7*(parseInt(_0x3aa8eb(0x377))/0x8)+parseInt(_0x3aa8eb(0x209))/0x9*(parseInt(_0x3aa8eb(0x2d5))/0xa)+parseInt(_0x3aa8eb(0x299))/0xb;if(_0x39367f===_0x259a56)break;else _0x4d4ff4['push'](_0x4d4ff4['shift']());}catch(_0x51792e){_0x4d4ff4['push'](_0x4d4ff4['shift']());}}}(_0x12c0,0x9a63b),function(_0x12968e,_0x52c451){const _0x1c932f=_0x5819;typeof exports==_0x1c932f(0x384)&&typeof module<'u'?_0x52c451(exports,require('@univerjs-pro/collaboration-client'),require(_0x1c932f(0x138)),require(_0x1c932f(0x2c6)),require(_0x1c932f(0x126)),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require(_0x1c932f(0x23f)),require(_0x1c932f(0x1c6)),require(_0x1c932f(0x2b3)),require(_0x1c932f(0x1c4)),require(_0x1c932f(0x1ac)),require(_0x1c932f(0x366)),require('@univerjs/sheets-ui'),require(_0x1c932f(0x161)),require(_0x1c932f(0x129)),require('@univerjs/design'),require(_0x1c932f(0x249)),require('@univerjs/rpc')):typeof define=='function'&&define[_0x1c932f(0x2f6)]?define([_0x1c932f(0x22a),_0x1c932f(0x135),'@univerjs/core',_0x1c932f(0x2c6),_0x1c932f(0x126),'@univerjs/docs-ui',_0x1c932f(0x17e),_0x1c932f(0x23f),_0x1c932f(0x1c6),_0x1c932f(0x2b3),_0x1c932f(0x1c4),_0x1c932f(0x1ac),_0x1c932f(0x366),_0x1c932f(0x370),_0x1c932f(0x161),'@univerjs/ui',_0x1c932f(0x1df),_0x1c932f(0x249),_0x1c932f(0x1ed)],_0x52c451):(_0x12968e=typeof globalThis<'u'?globalThis:_0x12968e||self,_0x52c451(_0x12968e[_0x1c932f(0x34b)]={},_0x12968e['UniverProCollaborationClient'],_0x12968e['UniverCore'],_0x12968e[_0x1c932f(0x17a)],_0x12968e[_0x1c932f(0x22c)],_0x12968e[_0x1c932f(0x395)],_0x12968e[_0x1c932f(0x3a9)],_0x12968e['rxjs'],_0x12968e[_0x1c932f(0x243)],_0x12968e[_0x1c932f(0x18b)],_0x12968e[_0x1c932f(0x1d7)],_0x12968e[_0x1c932f(0x259)],_0x12968e[_0x1c932f(0x23f)][_0x1c932f(0x20a)],_0x12968e[_0x1c932f(0x1f8)],_0x12968e[_0x1c932f(0x1f0)],_0x12968e['UniverUi'],_0x12968e['UniverDesign'],_0x12968e['React'],_0x12968e[_0x1c932f(0x252)]));}(this,function(_0x5a5a65,_0x55c138,_0x1061f8,_0x47852a,_0x2bf9f0,_0x37c85e,_0x1e94c8,_0x3a20ae,_0x4639f7,_0x50da05,_0x9d3ee1,_0x466e90,_0x39ab20,_0x36792e,_0x259c4f,_0x17254d,_0x44a7e1,_0x588d36,_0x34b757){'use strict';const _0x140f32=_0x5819;var _0x4dca1c=Object[_0x140f32(0x2eb)],_0x444cef=(_0x1be1eb,_0x55d6ae,_0x16f391)=>_0x55d6ae in _0x1be1eb?_0x4dca1c(_0x1be1eb,_0x55d6ae,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16f391}):_0x1be1eb[_0x55d6ae]=_0x16f391,_0x9b1d7c=(_0xc3ebce,_0x4b5885,_0x163b18)=>_0x444cef(_0xc3ebce,typeof _0x4b5885!=_0x140f32(0x3aa)?_0x4b5885+'':_0x4b5885,_0x163b18),_0x341090=Object[_0x140f32(0x10b)],_0x234342=(_0x2abdd1,_0x22e6a6,_0x2f2326,_0x2b2eea)=>{const _0x52d062=_0x140f32;for(var _0xe0826f=_0x2b2eea>0x1?void 0x0:_0x2b2eea?_0x341090(_0x22e6a6,_0x2f2326):_0x22e6a6,_0x2b2c4c=_0x2abdd1[_0x52d062(0x223)]-0x1,_0x29f6a0;_0x2b2c4c>=0x0;_0x2b2c4c--)(_0x29f6a0=_0x2abdd1[_0x2b2c4c])&&(_0xe0826f=_0x29f6a0(_0xe0826f)||_0xe0826f);return _0xe0826f;},_0x1fb744=(_0x5a2432,_0x32077a)=>(_0x4d7b46,_0x3a0e13)=>_0x32077a(_0x4d7b46,_0x3a0e13,_0x5a2432);let _0x131abd=class extends _0x1061f8[_0x140f32(0x2f8)]{constructor(_0x8f0166,_0x46a023){const _0x5ea4bd=_0x140f32;super(),this['_docClipboardService']=_0x8f0166,this[_0x5ea4bd(0x10e)]=_0x46a023,this[_0x5ea4bd(0x2c9)]();}[_0x140f32(0x2c9)](){const _0x319dfd=_0x140f32,_0x1cd682=this;this[_0x319dfd(0x26b)](this[_0x319dfd(0x380)]['addClipboardHook']({'onBeforePasteImage':async _0x3cb0ad=>{const _0x434a29=_0x319dfd,_0x35f1dc=await _0x1cd682[_0x434a29(0x10e)][_0x434a29(0x312)](_0x3cb0ad);return _0x35f1dc?{'source':_0x35f1dc[_0x434a29(0x196)],'imageSourceType':_0x35f1dc['imageSourceType']}:null;}}));}};_0x131abd=_0x234342([_0x1fb744(0x0,_0x37c85e['IDocClipboardService']),_0x1fb744(0x1,_0x1e94c8[_0x140f32(0x25c)])],_0x131abd);const _0x5bbb1c=[_0x140f32(0x37d),'jiqing.500',_0x140f32(0x255),_0x140f32(0x157),_0x140f32(0x1dd),_0x140f32(0x191)];class _0x23270c extends _0x1061f8[_0x140f32(0x2e7)]{constructor(){super(...arguments),_0x9b1d7c(this,'_assignedColors',new Map()),_0x9b1d7c(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x19a489){const _0x49f60f=_0x140f32;if(this[_0x49f60f(0x1b5)][_0x49f60f(0x171)](_0x19a489))return this[_0x49f60f(0x1b5)][_0x49f60f(0x382)](_0x19a489);const _0x5ab5b0=_0x5bbb1c[this['_colorIndex']];return this[_0x49f60f(0x250)]=(this[_0x49f60f(0x250)]+0x1)%_0x5bbb1c[_0x49f60f(0x223)],this[_0x49f60f(0x1b5)][_0x49f60f(0x266)](_0x19a489,_0x5ab5b0),_0x5ab5b0;}}function _0x5af8d3(_0x33d1c0){let _0x4ab804='';for(const _0x19bbb6 of _0x33d1c0){const {startOffset:_0x2e82a1,endOffset:_0x8aa471,isActive:_0x12cae1,rangeType:_0x5e3c45,segmentId:_0x27ed98,segmentPage:_0x453e16}=_0x19bbb6;_0x4ab804['length']&&(_0x4ab804+=','),_0x4ab804+=_0x2e82a1+':'+_0x8aa471+':'+(_0x12cae1?'1':'0')+':'+_0x5e3c45+':'+_0x27ed98+':'+_0x453e16;}return _0x4ab804;}function _0x30cdc0(_0x1dbeab){const _0x4fdd67=_0x140f32,_0x56ef56=_0x1dbeab['split'](','),_0x12640a=[];for(const _0xbda100 of _0x56ef56){const [_0x36bac4,_0x582784,_0x3cb389,_0x2e8193,_0x4250e9,_0x1258f5]=_0xbda100[_0x4fdd67(0x131)](':');_0x12640a[_0x4fdd67(0x27b)]({'startOffset':Number(_0x36bac4),'endOffset':Number(_0x582784),'collapsed':_0x36bac4===_0x582784,'isActive':_0x3cb389==='1','rangeType':_0x2e8193===_0x1061f8[_0x4fdd67(0x2a6)]['TEXT']?_0x1061f8['DOC_RANGE_TYPE']['TEXT']:_0x1061f8[_0x4fdd67(0x2a6)][_0x4fdd67(0x37f)],'segmentId':typeof _0x4250e9==_0x4fdd67(0x258)?String(_0x4250e9):'','segmentPage':Number(_0x1258f5!=null?_0x1258f5:-0x1)});}return _0x12640a[_0x4fdd67(0x309)](_0x4007ab=>_0x4007ab[_0x4fdd67(0x31d)])||(_0x12640a[0x0]['isActive']=!0x0),_0x12640a;}class _0x1162b2 extends _0x1061f8[_0x140f32(0x2f8)]{constructor(){const _0x4bd0a0=_0x140f32;super(...arguments),_0x9b1d7c(this,_0x4bd0a0(0x1a9),new _0x3a20ae[(_0x4bd0a0(0x36b))](null)),_0x9b1d7c(this,'collabCursorState$',this[_0x4bd0a0(0x1a9)][_0x4bd0a0(0x145)]());}[_0x140f32(0x1ef)](_0x49a2d8){const _0x52a07c=_0x140f32,{unitID:_0x4c2dbb,memberID:_0x1e0d23,textRanges:_0x3a7639}=_0x49a2d8,_0x31473f=_0x5af8d3(_0x3a7639);if(_0x31473f==='')return;const _0x404df4={'unitID':_0x4c2dbb,'memberID':_0x1e0d23,'selection':_0x31473f};this[_0x52a07c(0x1a9)]['next'](_0x404df4);}}var _0x20d788=Object['getOwnPropertyDescriptor'],_0x4724e5=(_0x3e4764,_0x446d31,_0x7a03dc,_0x208d54)=>{const _0x413439=_0x140f32;for(var _0xf36cae=_0x208d54>0x1?void 0x0:_0x208d54?_0x20d788(_0x446d31,_0x7a03dc):_0x446d31,_0x4a4521=_0x3e4764[_0x413439(0x223)]-0x1,_0xfcb0be;_0x4a4521>=0x0;_0x4a4521--)(_0xfcb0be=_0x3e4764[_0x4a4521])&&(_0xf36cae=_0xfcb0be(_0xf36cae)||_0xf36cae);return _0xf36cae;},_0x23af4b=(_0x329a29,_0x26ed8e)=>(_0xe95d3,_0x382cea)=>_0x26ed8e(_0xe95d3,_0x382cea,_0x329a29);const _0x176407=0x12c,_0x4c6cce=0x64;let _0x331d87=class extends _0x1061f8[_0x140f32(0x2f8)]{constructor(_0x43cd3f,_0x280167,_0x326149,_0x30b034,_0x562416,_0x3b006a,_0x4cd6d8,_0x5e8e4b,_0x18eed3){const _0x2d1d02=_0x140f32;super(),_0x9b1d7c(this,_0x2d1d02(0x34f),!0x1),_0x9b1d7c(this,'_init',!0x1),_0x9b1d7c(this,_0x2d1d02(0x2a3),new _0x3a20ae[(_0x2d1d02(0x36b))](new Map())),_0x9b1d7c(this,_0x2d1d02(0x180),this['_cursorInfo$'][_0x2d1d02(0x145)]()),_0x9b1d7c(this,_0x2d1d02(0x1af),new _0x3a20ae[(_0x2d1d02(0x36b))]([])),_0x9b1d7c(this,_0x2d1d02(0x32e),this[_0x2d1d02(0x1af)][_0x2d1d02(0x13a)](_0x3a20ae[_0x2d1d02(0x10a)](_0x176407))),_0x9b1d7c(this,'_updateLocalCursor',_0x1061f8[_0x2d1d02(0x34c)](_0x1c21e2=>{const _0x42587b=_0x2d1d02,_0x501b24={'eventID':_0x50da05['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x42587b(0x2b2)][_0x42587b(0x2c1)](),'selection':_0x5af8d3(_0x1c21e2)}};this[_0x42587b(0x2b2)][_0x42587b(0x294)](_0x501b24,this[_0x42587b(0x340)]);},_0x4c6cce)),(this[_0x2d1d02(0x340)]=_0x43cd3f,this[_0x2d1d02(0x2b2)]=_0x280167,this[_0x2d1d02(0x2b5)]=_0x326149,this[_0x2d1d02(0x1a8)]=_0x30b034,this['_memberService']=_0x562416,this['_syncEditingCollabCursorService']=_0x3b006a,this[_0x2d1d02(0x24a)]=_0x4cd6d8,this[_0x2d1d02(0x186)]=_0x5e8e4b,this[_0x2d1d02(0x2bc)]=_0x18eed3);}get[_0x140f32(0x263)](){const _0xd58f6d=_0x140f32;return this[_0xd58f6d(0x2a3)][_0xd58f6d(0x251)]();}get[_0x140f32(0x2ec)](){const _0x1ece44=_0x140f32;return this[_0x1ece44(0x1af)]['getValue']();}['dispose'](){const _0x3e1a48=_0x140f32;super['dispose'](),this[_0x3e1a48(0x2a3)][_0x3e1a48(0x2b7)](new Map()),this[_0x3e1a48(0x2a3)][_0x3e1a48(0x2dd)](),this[_0x3e1a48(0x1af)][_0x3e1a48(0x2b7)]([]),this['_roomMembers$']['complete']();}[_0x140f32(0x1e2)](){const _0x45cf3f=_0x140f32;this[_0x45cf3f(0x2c9)]||(this[_0x45cf3f(0x2c9)]=!0x0,this[_0x45cf3f(0x2b2)][_0x45cf3f(0x39a)][_0x45cf3f(0x13a)](_0x3a20ae[_0x45cf3f(0x36a)](this['dispose$']))[_0x45cf3f(0x225)](_0x2dba70=>{const _0x5558fc=_0x45cf3f;_0x2dba70===_0x55c138['SessionStatus'][_0x5558fc(0x20b)]?this[_0x5558fc(0x1bd)]():this[_0x5558fc(0x368)]();}),this['_session'][_0x45cf3f(0x1a6)]['pipe'](_0x3a20ae[_0x45cf3f(0x36a)](this[_0x45cf3f(0x1fe)]))[_0x45cf3f(0x225)](_0x27ad04=>{const _0x323001=_0x45cf3f,_0x16a055=_0x27ad04['eventID'];_0x16a055===_0x50da05[_0x323001(0x335)]['UPDATE_CURSOR']&&this[_0x323001(0x2ea)](_0x27ad04),_0x16a055===_0x50da05[_0x323001(0x335)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x27ad04);}),this[_0x45cf3f(0x26b)](this[_0x45cf3f(0x2bc)][_0x45cf3f(0x2b9)](_0x14ef1d=>{const _0x5a6e98=_0x45cf3f,_0x131f86=_0x14ef1d[_0x5a6e98(0x343)];_0x131f86!=null&&this['_online']&&_0x14ef1d['id']===_0x4639f7[_0x5a6e98(0x321)]['id']&&_0x131f86['unitId']===this[_0x5a6e98(0x340)]&&_0x131f86['isEditing']===!0x1&&_0x131f86[_0x5a6e98(0x36c)]['length']>0x0&&this['_updateLocalCursor'](_0x131f86['ranges']);})),this[_0x45cf3f(0x375)][_0x45cf3f(0x26e)][_0x45cf3f(0x13a)](_0x3a20ae[_0x45cf3f(0x36a)](this[_0x45cf3f(0x1fe)]))[_0x45cf3f(0x225)](_0x1ae0b3=>{const _0x572ab9=_0x45cf3f;if((_0x1ae0b3==null?void 0x0:_0x1ae0b3[_0x572ab9(0x340)])!==this[_0x572ab9(0x340)])return;const _0x4b7526={'eventID':_0x50da05[_0x572ab9(0x335)][_0x572ab9(0x2de)],'data':_0x1ae0b3};this[_0x572ab9(0x2ea)](_0x4b7526);}),this[_0x45cf3f(0x26b)](this[_0x45cf3f(0x2bc)][_0x45cf3f(0x2b9)](_0x539ade=>{const _0x2342bb=_0x45cf3f;if(_0x539ade[_0x2342bb(0x343)]==null)return;const _0x501804=_0x539ade[_0x2342bb(0x343)];if(_0x539ade['id']!==_0x4639f7['RichTextEditingMutation']['id']||_0x501804['unitId']!==this[_0x2342bb(0x340)])return;const _0x27aa72={'id':'doc.mutation.rich-text-editing','params':_0x501804},_0x204497=this[_0x2342bb(0x263)];for(const [_0x3dfc7d,_0x400700]of _0x204497){const _0x5c490d={'id':_0x2342bb(0x275),'params':{'unitId':this[_0x2342bb(0x340)],'actions':null,'textRanges':_0x400700[_0x2342bb(0x36c)]}},_0xabc8f5=this[_0x2342bb(0x24a)][_0x2342bb(0x108)](_0x27aa72,_0x5c490d,!0x1);if(_0x50da05['isTransformMutationFailure'](_0xabc8f5))throw _0xabc8f5[_0x2342bb(0x320)];_0x204497['set'](_0x3dfc7d,{..._0x400700,'ranges':_0xabc8f5['m2Prime']['params'][_0x2342bb(0x1e3)]});}queueMicrotask(()=>{const _0x120b02=_0x2342bb;this[_0x120b02(0x2a3)][_0x120b02(0x2b7)](_0x204497);});})));}[_0x140f32(0x2ea)](_0x5758c9){const _0x51b452=_0x140f32;var _0x3bde28,_0x4579c8;const {memberID:_0x204b63,selection:_0x509706}=_0x5758c9[_0x51b452(0x33d)],_0x3b9c6e=_0x30cdc0(_0x509706),_0x43235a=(_0x4579c8=(_0x3bde28=this[_0x51b452(0x323)][_0x51b452(0x23e)](this[_0x51b452(0x340)],_0x204b63))==null?void 0x0:_0x3bde28[_0x51b452(0x12f)])!=null?_0x4579c8:_0x51b452(0x383),_0x2162dc={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x204b63),'name':_0x43235a,'ranges':_0x3b9c6e},_0x31e977=this[_0x51b452(0x263)];_0x31e977['set'](_0x204b63,_0x2162dc),this[_0x51b452(0x2a3)][_0x51b452(0x2b7)](_0x31e977);}[_0x140f32(0x265)](_0x3001d5){const _0x19d7a2=_0x140f32,{memberID:_0x1cc911}=_0x3001d5['data'],_0x152ee0=this['cursorInfo'];_0x152ee0[_0x19d7a2(0x18a)](_0x1cc911),this[_0x19d7a2(0x2a3)][_0x19d7a2(0x2b7)](_0x152ee0);}[_0x140f32(0x1bd)](){const _0x2213bc=_0x140f32;var _0x2d76d9;if(this['_online']=!0x0,((_0x2d76d9=this[_0x2213bc(0x186)]['getFocusedUnit']())==null?void 0x0:_0x2d76d9[_0x2213bc(0x133)]())!==this[_0x2213bc(0x340)])return;const _0x1200c3=this[_0x2213bc(0x2b5)][_0x2213bc(0x382)](_0x4639f7[_0x2213bc(0x114)])[_0x2213bc(0x16f)]();Array[_0x2213bc(0x205)](_0x1200c3)&&_0x1200c3[_0x2213bc(0x223)]>0x0&&this['_updateLocalCursor'](_0x1200c3);}['_toggleOffline'](){const _0x3a6f08=_0x140f32;this[_0x3a6f08(0x34f)]=!0x1;}};_0x331d87=_0x4724e5([_0x23af4b(0x2,_0x1061f8[_0x140f32(0x364)](_0x1061f8['Injector'])),_0x23af4b(0x3,_0x1061f8['Inject'](_0x23270c)),_0x23af4b(0x4,_0x1061f8[_0x140f32(0x364)](_0x55c138['MemberService'])),_0x23af4b(0x5,_0x1061f8[_0x140f32(0x364)](_0x1162b2)),_0x23af4b(0x6,_0x50da05['ITransformService']),_0x23af4b(0x7,_0x1061f8[_0x140f32(0x231)]),_0x23af4b(0x8,_0x1061f8['ICommandService'])],_0x331d87);var _0x1d9844=Object[_0x140f32(0x10b)],_0x3ff352=(_0x5a7e85,_0x2f57fc,_0x330491,_0x108680)=>{const _0x3c7c20=_0x140f32;for(var _0x3ea460=_0x108680>0x1?void 0x0:_0x108680?_0x1d9844(_0x2f57fc,_0x330491):_0x2f57fc,_0x4b26a3=_0x5a7e85[_0x3c7c20(0x223)]-0x1,_0x1c8c3d;_0x4b26a3>=0x0;_0x4b26a3--)(_0x1c8c3d=_0x5a7e85[_0x4b26a3])&&(_0x3ea460=_0x1c8c3d(_0x3ea460)||_0x3ea460);return _0x3ea460;},_0x450fbb=(_0x2687c6,_0x22411f)=>(_0x30bc88,_0x20becb)=>_0x22411f(_0x30bc88,_0x20becb,_0x2687c6);const _0x577d91=0x12c,_0x2c6908=0x64,_0x42440f=()=>{let _0x3e32bb=[],_0x467e3b=!0x1;return _0xbac9af=>{_0x3e32bb['push'](_0xbac9af),_0x467e3b||(_0x467e3b=!0x0,setTimeout(()=>{const _0x18e127=_0x5819;_0x3e32bb[_0x18e127(0x282)](_0x22a1e6=>_0x22a1e6()),_0x3e32bb=[],_0x467e3b=!0x1;}));};};let _0x5b1e53=class extends _0x1061f8['RxDisposable']{constructor(_0x3704ce,_0x50834b,_0x284e96,_0x752d3e,_0x1fef45,_0x55d94f,_0x46da39,_0xccbe04){const _0x4f54c2=_0x140f32;super(),_0x9b1d7c(this,'_online',!0x1),_0x9b1d7c(this,_0x4f54c2(0x2c9),!0x1),_0x9b1d7c(this,_0x4f54c2(0x2a3),new _0x3a20ae[(_0x4f54c2(0x36b))](new Map())),_0x9b1d7c(this,_0x4f54c2(0x180),this[_0x4f54c2(0x2a3)][_0x4f54c2(0x145)]()),_0x9b1d7c(this,'_roomMembers$',new _0x3a20ae[(_0x4f54c2(0x36b))]([])),_0x9b1d7c(this,_0x4f54c2(0x32e),this[_0x4f54c2(0x1af)][_0x4f54c2(0x13a)](_0x3a20ae[_0x4f54c2(0x10a)](_0x577d91))),_0x9b1d7c(this,_0x4f54c2(0x1b1),_0x1061f8[_0x4f54c2(0x34c)]((_0x45daa9,_0x2a9782)=>{const _0x5377f9=_0x4f54c2,_0x2e9da7={'eventID':_0x50da05[_0x5377f9(0x335)][_0x5377f9(0x2de)],'data':{'unitID':this['unitID'],'memberID':this[_0x5377f9(0x2b2)][_0x5377f9(0x2c1)](),'selection':_0x9d3ee1[_0x5377f9(0x1d2)](_0x45daa9,_0x2a9782[_0x5377f9(0x16b)])}};this[_0x5377f9(0x2b2)][_0x5377f9(0x294)](_0x2e9da7,this[_0x5377f9(0x340)]);},_0x2c6908)),(this[_0x4f54c2(0x340)]=_0x3704ce,this[_0x4f54c2(0x2b2)]=_0x50834b,this[_0x4f54c2(0x2b5)]=_0x284e96,this[_0x4f54c2(0x1a8)]=_0x752d3e,this['_memberService']=_0x1fef45,this[_0x4f54c2(0x186)]=_0x55d94f,this[_0x4f54c2(0x2bc)]=_0x46da39,this[_0x4f54c2(0x270)]=_0xccbe04);}get[_0x140f32(0x263)](){const _0x2a8dd4=_0x140f32;return this['_cursorInfo$'][_0x2a8dd4(0x251)]();}get[_0x140f32(0x2ec)](){const _0x27f3d8=_0x140f32;return this[_0x27f3d8(0x1af)][_0x27f3d8(0x251)]();}['dispose'](){const _0x25ba04=_0x140f32;super[_0x25ba04(0x16d)](),this[_0x25ba04(0x2a3)]['next'](new Map()),this[_0x25ba04(0x2a3)][_0x25ba04(0x2dd)](),this[_0x25ba04(0x1af)][_0x25ba04(0x2b7)]([]),this['_roomMembers$'][_0x25ba04(0x2dd)]();}['init'](){const _0x4e5b95=_0x140f32;this[_0x4e5b95(0x2c9)]||(this[_0x4e5b95(0x2c9)]=!0x0,this[_0x4e5b95(0x2b2)]['sessionStatus$'][_0x4e5b95(0x13a)](_0x3a20ae[_0x4e5b95(0x36a)](this[_0x4e5b95(0x1fe)]))[_0x4e5b95(0x225)](_0x3f7e14=>{const _0x6cd2a6=_0x4e5b95;_0x3f7e14===_0x55c138[_0x6cd2a6(0x2c5)][_0x6cd2a6(0x20b)]?this[_0x6cd2a6(0x1bd)]():this['_toggleOffline']();}),this[_0x4e5b95(0x2b2)]['event$'][_0x4e5b95(0x13a)](_0x3a20ae['takeUntil'](this[_0x4e5b95(0x1fe)]))[_0x4e5b95(0x225)](_0x50b3cd=>{const _0x5cbb99=_0x4e5b95,_0xfbb0f6=_0x50b3cd[_0x5cbb99(0x325)];_0xfbb0f6===_0x50da05[_0x5cbb99(0x335)][_0x5cbb99(0x2de)]&&this[_0x5cbb99(0x2ea)](_0x50b3cd),_0xfbb0f6===_0x50da05['CollaborationEvent']['USERS_LEAVE']&&this[_0x5cbb99(0x265)](_0x50b3cd);}),this[_0x4e5b95(0x147)](),this[_0x4e5b95(0x26b)](this[_0x4e5b95(0x2bc)][_0x4e5b95(0x2b9)](_0x43eeff=>{const _0x180eae=_0x4e5b95;if(this[_0x180eae(0x34f)]&&_0x43eeff['id']===_0x466e90[_0x180eae(0x2b6)]['id']&&_0x43eeff[_0x180eae(0x343)][_0x180eae(0x16a)]===this[_0x180eae(0x340)]){const _0x1ecdf2=_0x43eeff[_0x180eae(0x343)];this[_0x180eae(0x1b1)](_0x1ecdf2['subUnitId'],_0x1ecdf2[_0x180eae(0x39f)][0x0]);}})));}[_0x140f32(0x2ea)](_0x161616){const _0x363219=_0x140f32;var _0x4ad329,_0xcc521d;const {memberID:_0x1bafd4,selection:_0x41b745}=_0x161616[_0x363219(0x33d)],{sheetName:_0x436436,range:_0x2c74f1}=_0x9d3ee1[_0x363219(0x1e1)](_0x41b745),_0x209d06={'name':(_0xcc521d=(_0x4ad329=this['_memberService'][_0x363219(0x23e)](this[_0x363219(0x340)],_0x1bafd4))==null?void 0x0:_0x4ad329['name'])!=null?_0xcc521d:_0x363219(0x383),'range':this[_0x363219(0x349)](_0x436436,_0x2c74f1),'sheetID':_0x436436,'color':this[_0x363219(0x1a8)][_0x363219(0x199)](_0x1bafd4),'selection':_0x41b745},_0x373003=this['cursorInfo'];_0x373003[_0x363219(0x266)](_0x1bafd4,_0x209d06),this[_0x363219(0x2a3)][_0x363219(0x2b7)](_0x373003);}[_0x140f32(0x265)](_0x4a169a){const _0x2c879f=_0x140f32,{memberID:_0x20c8c1}=_0x4a169a[_0x2c879f(0x33d)],_0x17b945=this[_0x2c879f(0x263)];_0x17b945[_0x2c879f(0x18a)](_0x20c8c1),this[_0x2c879f(0x2a3)]['next'](_0x17b945);}[_0x140f32(0x349)](_0x3bb6cb,_0x5300c1){const _0x26214d=_0x140f32;var _0x52f728,_0x22d3fc;const _0x2e3e64=(_0x22d3fc=(_0x52f728=this[_0x26214d(0x186)]['getUniverSheetInstance'](this[_0x26214d(0x340)]))==null?void 0x0:_0x52f728[_0x26214d(0x241)](_0x3bb6cb))==null?void 0x0:_0x22d3fc['getMergeData']();return(_0x2e3e64==null?void 0x0:_0x2e3e64[_0x26214d(0x39b)](_0x5ae1f8=>_0x1061f8['Rectangle'][_0x26214d(0x2a2)](_0x5ae1f8,_0x5300c1)))||_0x5300c1;}[_0x140f32(0x147)](){const _0x30eec8=_0x140f32,_0x328192=new _0x1061f8[(_0x30eec8(0x2f7))](),_0x1bea63=_0x42440f(),_0x33465d=()=>{_0x328192['dispose']();const _0x5e7393=(_0x2404b6,_0x1f7253,_0x117322,_0x1cf0a9)=>{const _0x54a5b6=_0x5819;let _0x734e1f=[];switch(_0x2404b6['id']){case _0x466e90[_0x54a5b6(0x234)][_0x54a5b6(0x3a4)]:{_0x734e1f=_0x466e90['handleDeleteRangeMoveLeft'](_0x2404b6,_0x1cf0a9);break;}case _0x466e90[_0x54a5b6(0x234)]['DeleteRangeMoveUpCommandId']:{_0x734e1f=_0x466e90[_0x54a5b6(0x378)](_0x2404b6,_0x1cf0a9);break;}case _0x466e90[_0x54a5b6(0x234)]['InsertColCommandId']:{_0x734e1f=_0x466e90['handleInsertCol'](_0x2404b6,_0x1cf0a9);break;}case _0x466e90['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x734e1f=_0x466e90['handleInsertRangeMoveDown'](_0x2404b6,_0x1cf0a9);break;}case _0x466e90[_0x54a5b6(0x234)]['InsertRangeMoveRightCommandId']:{_0x734e1f=_0x466e90[_0x54a5b6(0x351)](_0x2404b6,_0x1cf0a9);break;}case _0x466e90['EffectRefRangId'][_0x54a5b6(0x371)]:{_0x734e1f=_0x466e90[_0x54a5b6(0x28b)](_0x2404b6,_0x1cf0a9);break;}case _0x466e90['EffectRefRangId'][_0x54a5b6(0x34d)]:{_0x734e1f=_0x466e90[_0x54a5b6(0x2e8)](_0x2404b6,_0x1cf0a9);break;}case _0x466e90[_0x54a5b6(0x234)][_0x54a5b6(0x1e4)]:{_0x734e1f=_0x466e90[_0x54a5b6(0x105)](_0x2404b6,_0x1cf0a9);break;}case _0x466e90[_0x54a5b6(0x234)][_0x54a5b6(0x32b)]:{_0x734e1f=_0x466e90[_0x54a5b6(0x1e5)](_0x2404b6,_0x1cf0a9);break;}}const _0x805d29=_0x466e90[_0x54a5b6(0x2ce)](_0x734e1f,_0x1cf0a9),_0x2fc4e2=this['cursorInfo'][_0x54a5b6(0x382)](_0x1f7253);if(_0x2fc4e2&&_0x805d29){const _0x14ab84={..._0x2fc4e2,'range':_0x805d29};this[_0x54a5b6(0x263)]['set'](_0x1f7253,_0x14ab84),_0x1bea63(()=>{const _0x2836f8=_0x54a5b6,_0x5ef124=this['_refRangeService']['registerRefRange'](_0x805d29,_0x283635=>(_0x5ef124[_0x2836f8(0x16d)](),_0x5e7393(_0x283635,_0x1f7253,_0x117322,_0x805d29)));_0x328192[_0x2836f8(0x33c)](_0x5ef124);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x269225,_0x1e406b)=>{const _0x5fa15b=_0x5819,{range:_0x4b80b6,sheetID:_0x25f40e}=_0x269225,_0x586f58=this[_0x5fa15b(0x270)][_0x5fa15b(0x37a)](_0x4b80b6,_0x8dcf56=>(_0x586f58['dispose'](),_0x5e7393(_0x8dcf56,_0x1e406b,_0x25f40e,_0x4b80b6)));_0x328192[_0x5fa15b(0x33c)](_0x586f58);});};this[_0x30eec8(0x26b)](_0x1061f8[_0x30eec8(0x292)](this[_0x30eec8(0x2a3)]['subscribe'](()=>{_0x33465d();})));}[_0x140f32(0x1bd)](){const _0x459313=_0x140f32;var _0x1edf93,_0x2137e3;if(this[_0x459313(0x34f)]=!0x0,((_0x1edf93=this[_0x459313(0x186)]['getFocusedUnit']())==null?void 0x0:_0x1edf93[_0x459313(0x133)]())!==this[_0x459313(0x340)])return;const _0xb96082=(_0x2137e3=this[_0x459313(0x2b5)][_0x459313(0x382)](_0x466e90[_0x459313(0x291)])[_0x459313(0x267)]())==null?void 0x0:_0x2137e3[0x0],_0x53f9d5=this[_0x459313(0x186)]['getCurrentUnitForType'](_0x1061f8[_0x459313(0x2f4)]['UNIVER_SHEET'])[_0x459313(0x124)]();_0xb96082&&_0x53f9d5&&this[_0x459313(0x1b1)](_0x53f9d5[_0x459313(0x21a)](),_0xb96082);}[_0x140f32(0x368)](){const _0x6214c=_0x140f32;this[_0x6214c(0x34f)]=!0x1;}};_0x5b1e53=_0x3ff352([_0x450fbb(0x2,_0x1061f8[_0x140f32(0x364)](_0x1061f8[_0x140f32(0x178)])),_0x450fbb(0x3,_0x1061f8[_0x140f32(0x364)](_0x23270c)),_0x450fbb(0x4,_0x1061f8['Inject'](_0x55c138[_0x140f32(0x176)])),_0x450fbb(0x5,_0x1061f8['IUniverInstanceService']),_0x450fbb(0x6,_0x1061f8[_0x140f32(0x139)]),_0x450fbb(0x7,_0x1061f8['Inject'](_0x466e90[_0x140f32(0x1f6)]))],_0x5b1e53);var _0x53b04a=Object[_0x140f32(0x10b)],_0x43d992=(_0x18ae18,_0x135b60,_0x2dd8d0,_0x2e531a)=>{const _0x4d05f9=_0x140f32;for(var _0xbebeed=_0x2e531a>0x1?void 0x0:_0x2e531a?_0x53b04a(_0x135b60,_0x2dd8d0):_0x135b60,_0x494837=_0x18ae18[_0x4d05f9(0x223)]-0x1,_0x4bab50;_0x494837>=0x0;_0x494837--)(_0x4bab50=_0x18ae18[_0x494837])&&(_0xbebeed=_0x4bab50(_0xbebeed)||_0xbebeed);return _0xbebeed;},_0x8281f=(_0x580b62,_0x4700fd)=>(_0x42132d,_0x5e64dc)=>_0x4700fd(_0x42132d,_0x5e64dc,_0x580b62);let _0xe5aa4e=class extends _0x1061f8[_0x140f32(0x2f8)]{constructor(_0x5a7dea,_0x1fd77b,_0x3f3c55){const _0x291592=_0x140f32;super(),_0x9b1d7c(this,'_entities',new Map()),_0x9b1d7c(this,_0x291592(0x31e),new _0x3a20ae['Subject']()),(this[_0x291592(0x186)]=_0x5a7dea,this[_0x291592(0x2b5)]=_0x1fd77b,this['_collabSessionService']=_0x3f3c55,this['_init']());}[_0x140f32(0x16d)](){const _0x388dcd=_0x140f32;super['dispose'](),this[_0x388dcd(0x31e)]['complete'](),this['_entities'][_0x388dcd(0x282)](_0xb65e8=>_0xb65e8[_0x388dcd(0x16d)]());}['getCollabCursors$'](_0x483996){const _0x67876b=_0x140f32;return this[_0x67876b(0x2a8)]['has'](_0x483996)?this[_0x67876b(0x2a8)]['get'](_0x483996)[_0x67876b(0x180)]:this[_0x67876b(0x31e)]['pipe'](_0x3a20ae[_0x67876b(0x253)](_0x22ea45=>_0x22ea45[_0x67876b(0x340)]===_0x483996),_0x3a20ae['switchMap'](_0x160feb=>_0x160feb[_0x67876b(0x180)]));}[_0x140f32(0x2c9)](){const _0x29d475=_0x140f32;this[_0x29d475(0x186)]['getTypeOfUnitAdded$'](_0x1061f8[_0x29d475(0x2f4)][_0x29d475(0x109)])['pipe'](_0x3a20ae[_0x29d475(0x36a)](this[_0x29d475(0x1fe)]))[_0x29d475(0x225)](async _0xe81a9d=>{const _0x113531=_0x29d475,_0x29dd18=_0xe81a9d['getUnitId'](),_0x106995=await this['_startSheetCollabCursor'](_0x29dd18);this[_0x113531(0x31e)]['next'](_0x106995),this[_0x113531(0x2a8)][_0x113531(0x266)](_0x29dd18,_0x106995);}),this[_0x29d475(0x186)]['getTypeOfUnitAdded$'](_0x1061f8[_0x29d475(0x2f4)]['UNIVER_DOC'])[_0x29d475(0x13a)](_0x3a20ae['takeUntil'](this[_0x29d475(0x1fe)]))[_0x29d475(0x13a)](_0x3a20ae['filter'](_0x4e5d53=>!_0x4e5d53[_0x29d475(0x133)]()[_0x29d475(0x1ea)]('__')))[_0x29d475(0x225)](async _0x485177=>{const _0x1d7f23=_0x29d475,_0x2d2cc3=_0x485177[_0x1d7f23(0x133)](),_0x5032ac=await this['_startDocCollabCursor'](_0x2d2cc3);this[_0x1d7f23(0x31e)][_0x1d7f23(0x2b7)](_0x5032ac),this[_0x1d7f23(0x2a8)][_0x1d7f23(0x266)](_0x2d2cc3,_0x5032ac);}),_0x3a20ae[_0x29d475(0x28f)](this[_0x29d475(0x186)][_0x29d475(0x15c)](_0x1061f8[_0x29d475(0x2f4)][_0x29d475(0x2f3)]),this['_univerInstanceService'][_0x29d475(0x15c)](_0x1061f8[_0x29d475(0x2f4)][_0x29d475(0x109)]))['pipe'](_0x3a20ae[_0x29d475(0x36a)](this[_0x29d475(0x1fe)]))[_0x29d475(0x225)](_0x5e555e=>{const _0x4bb2af=_0x29d475,_0x1876e0=_0x5e555e[_0x4bb2af(0x133)](),_0xd4f83f=this[_0x4bb2af(0x2a8)][_0x4bb2af(0x382)](_0x1876e0);_0xd4f83f&&(_0xd4f83f[_0x4bb2af(0x16d)](),this[_0x4bb2af(0x2a8)][_0x4bb2af(0x18a)](_0x1876e0));});}async[_0x140f32(0x188)](_0x5a716c){const _0x12c56d=_0x140f32,_0x5adace=await this[_0x12c56d(0x110)][_0x12c56d(0x2bb)](_0x5a716c),_0x291272=this[_0x12c56d(0x2b5)]['createInstance'](_0x5b1e53,_0x5a716c,_0x5adace);return _0x291272[_0x12c56d(0x1e2)](),_0x291272;}async[_0x140f32(0x1ae)](_0x34571c){const _0x6c5a27=_0x140f32,_0x44b871=await this[_0x6c5a27(0x110)][_0x6c5a27(0x2bb)](_0x34571c),_0x1f4447=this[_0x6c5a27(0x2b5)][_0x6c5a27(0x307)](_0x331d87,_0x34571c,_0x44b871);return _0x1f4447['init'](),_0x1f4447;}};_0xe5aa4e=_0x43d992([_0x8281f(0x0,_0x1061f8[_0x140f32(0x231)]),_0x8281f(0x1,_0x1061f8['Inject'](_0x1061f8[_0x140f32(0x178)])),_0x8281f(0x2,_0x1061f8[_0x140f32(0x364)](_0x55c138[_0x140f32(0x19e)]))],_0xe5aa4e);const _0x1f2a01=0x14,_0x4d802a=0xc8,_0x27f406=0x4,_0x302da7=0x5;function _0x3758d2(_0x44ba7a,_0x3488f4){const _0x273621=_0x140f32;let {radius:_0x8f43b,width:_0x1a14c3,height:_0x3b0d67}=_0x3488f4;_0x8f43b=_0x8f43b!=null?_0x8f43b:0x0,_0x1a14c3=_0x1a14c3!=null?_0x1a14c3:0x1e,_0x3b0d67=_0x3b0d67!=null?_0x3b0d67:0x1e;let _0x5c9b3a=0x0,_0x3352bb=0x0,_0x25150a=0x0;_0x5c9b3a=_0x3352bb=_0x25150a=Math[_0x273621(0x301)](_0x8f43b,_0x1a14c3/0x2,_0x3b0d67/0x2),_0x44ba7a['beginPath'](),_0x44ba7a[_0x273621(0x224)](_0x5c9b3a,0x0),_0x44ba7a[_0x273621(0x17f)](_0x1a14c3-_0x3352bb,0x0),_0x44ba7a['arc'](_0x1a14c3-_0x3352bb,_0x3352bb,_0x3352bb,Math['PI']*0x3/0x2,0x0,!0x1),_0x44ba7a[_0x273621(0x17f)](_0x1a14c3,_0x3b0d67-_0x25150a),_0x44ba7a[_0x273621(0x2b1)](_0x1a14c3-_0x25150a,_0x3b0d67-_0x25150a,_0x25150a,0x0,Math['PI']/0x2,!0x1),_0x44ba7a[_0x273621(0x17f)](0x0,_0x3b0d67),_0x44ba7a[_0x273621(0x17f)](0x0,_0x5c9b3a),_0x44ba7a[_0x273621(0x2b1)](_0x5c9b3a,_0x5c9b3a,_0x5c9b3a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x44ba7a[_0x273621(0x30b)](),_0x3488f4['fill']&&(_0x44ba7a[_0x273621(0x2dc)](),_0x44ba7a[_0x273621(0x113)]=_0x3488f4[_0x273621(0x2e9)],_0x3488f4['fillRule']===_0x273621(0x20f)?_0x44ba7a['fill']('evenodd'):_0x44ba7a[_0x273621(0x2e9)](),_0x44ba7a[_0x273621(0x2f0)]());}class _0x3fe5a5 extends _0x47852a[_0x140f32(0x2d1)]{constructor(_0x399ec6,_0x311db4){const _0x162f87=_0x140f32;super(_0x399ec6,_0x311db4),_0x9b1d7c(this,_0x162f87(0x182)),_0x9b1d7c(this,_0x162f87(0x17b)),(this[_0x162f87(0x182)]=_0x311db4==null?void 0x0:_0x311db4[_0x162f87(0x182)],this[_0x162f87(0x17b)]=_0x311db4==null?void 0x0:_0x311db4[_0x162f87(0x17b)]);}static['drawWith'](_0x57457e,_0x4f0caf){const _0x7058a3=_0x140f32,{text:_0x3a565e,color:_0x46ada8}=_0x4f0caf;_0x57457e[_0x7058a3(0x2dc)](),_0x57457e[_0x7058a3(0x198)]=_0x7058a3(0x1f7);const _0x2d142c=_0x57457e[_0x7058a3(0x29b)](_0x3a565e)[_0x7058a3(0x1f1)],_0xb1326f=Math[_0x7058a3(0x301)](_0x2d142c+0x2*_0x27f406,_0x4d802a);_0x3758d2(_0x57457e,{'height':_0x1f2a01,'radius':0x4,'width':_0xb1326f,'fill':_0x46ada8}),_0x57457e[_0x7058a3(0x113)]=_0x7058a3(0x18f);const _0xb83330=_0x27f406,_0xc26fdc=_0x1f2a01-_0x302da7,_0x20765f=_0x4d802a-0x2*_0x27f406;if(_0x2d142c>_0x20765f){let _0x4e0c6f='',_0x27529d=0x0;for(const _0x6c462e of _0x3a565e){const _0x8ecf57=_0x57457e[_0x7058a3(0x29b)](_0x6c462e)[_0x7058a3(0x1f1)];if(_0x27529d+_0x8ecf57<=_0x20765f-_0x57457e['measureText']('...')[_0x7058a3(0x1f1)])_0x4e0c6f+=_0x6c462e,_0x27529d+=_0x8ecf57;else{_0x4e0c6f+=_0x7058a3(0x322);break;}}_0x57457e[_0x7058a3(0x2f2)](_0x4e0c6f,_0xb83330,_0xc26fdc);}else _0x57457e['fillText'](_0x3a565e,_0xb83330,_0xc26fdc);_0x57457e[_0x7058a3(0x2f0)]();}[_0x140f32(0x1dc)](_0x339ec3){_0x3fe5a5['drawWith'](_0x339ec3,this);}}const _0x41a01c=_0x140f32(0x2ae),_0x2cf688=_0x140f32(0x2b4),_0x303761='collab-rect-range-',_0x2c424c=0x6,_0x136577=1.5,_0x48e9d8=0x4,_0x322029=1.5,_0x27410d=_0x140f32(0x11a);class _0x444b77{constructor(_0x2087f9,_0x31a172,_0x273c6a,_0x4825bd){const _0x4ec2b5=_0x140f32;_0x9b1d7c(this,'_shapes',[]),_0x9b1d7c(this,_0x4ec2b5(0x1d0),null),_0x9b1d7c(this,_0x4ec2b5(0x303),null),_0x9b1d7c(this,_0x4ec2b5(0x12d),null),_0x9b1d7c(this,_0x4ec2b5(0x261),null),_0x9b1d7c(this,_0x4ec2b5(0x31a),null),(this[_0x4ec2b5(0x15d)]=_0x2087f9,this[_0x4ec2b5(0x257)]=_0x31a172,this[_0x4ec2b5(0x2cf)]=_0x273c6a,this[_0x4ec2b5(0x32f)]=_0x4825bd,this[_0x4ec2b5(0x146)]());}set['_hover'](_0x3aa764){const _0x6f015e=_0x140f32;_0x3aa764?(this[_0x6f015e(0x12d)]&&this[_0x6f015e(0x12d)][_0x6f015e(0x29d)](),this[_0x6f015e(0x303)]&&this[_0x6f015e(0x303)][_0x6f015e(0x2b8)]()):(this[_0x6f015e(0x12d)]&&this[_0x6f015e(0x12d)][_0x6f015e(0x2b8)](),this[_0x6f015e(0x303)]&&this[_0x6f015e(0x303)][_0x6f015e(0x29d)]());}['dispose'](){const _0x5bf9e3=_0x140f32;for(const _0x4a1cee of this[_0x5bf9e3(0x381)])_0x4a1cee['dispose']();this['_textBubble']&&this[_0x5bf9e3(0x303)][_0x5bf9e3(0x16d)](),this[_0x5bf9e3(0x12d)]&&this[_0x5bf9e3(0x12d)][_0x5bf9e3(0x16d)](),this[_0x5bf9e3(0x1d0)]&&this[_0x5bf9e3(0x1d0)]['dispose'](),this[_0x5bf9e3(0x31a)]&&this[_0x5bf9e3(0x31a)]();}[_0x140f32(0x146)](){const _0x11be30=_0x140f32;var _0x18fc0d;const {_docSkeleton:_0x287f1a,_document:_0x376353}=this,{color:_0x3b22eb,name:_0x23ef95,ranges:_0x27f3f8}=this['_cursor'],_0x30a637=_0x376353['getOffsetConfig'](),{docsLeft:_0x1f2f85,docsTop:_0x40d37c}=_0x30a637,_0x5dd538=new _0x37c85e['NodePositionConvertToCursor'](_0x30a637,_0x287f1a);for(const {startOffset:_0x55c3c8,endOffset:_0x5d39df,rangeType:_0x1757b8,segmentId:_0x14d392,segmentPage:_0x3ce3c5,collapsed:_0x1e6242,isActive:_0x290976}of _0x27f3f8){const _0x22ef4e=_0x287f1a[_0x11be30(0x36e)](_0x55c3c8,!0x0,_0x14d392,_0x3ce3c5);let _0x542d3d=_0x287f1a[_0x11be30(0x36e)](_0x5d39df,!0x0,_0x14d392,_0x3ce3c5);if(_0x542d3d==null&&(_0x542d3d=_0x287f1a[_0x11be30(0x36e)](_0x5d39df-0x1,!0x1,_0x14d392,_0x3ce3c5)),_0x290976){const {contentBoxPointGroup:_0x388ed9}=_0x5dd538[_0x11be30(0x1a5)](_0x542d3d,_0x542d3d);if(_0x388ed9[_0x11be30(0x223)]===0x0)continue;this[_0x11be30(0x14c)](_0x3b22eb,_0x388ed9,_0x1f2f85,_0x40d37c,_0x23ef95),this[_0x11be30(0x31a)]=this[_0x11be30(0x393)]();}if(_0x22ef4e&&_0x542d3d){if(_0x1757b8===_0x1061f8[_0x11be30(0x2a6)][_0x11be30(0x37f)]){const _0x996230=new _0x37c85e[(_0x11be30(0x1c9))](_0x30a637,_0x287f1a),{pointGroup:_0x4e41ed}=(_0x18fc0d=_0x996230[_0x11be30(0x1a5)](_0x22ef4e,_0x542d3d))!=null?_0x18fc0d:{};if(_0x4e41ed==null||_0x4e41ed[_0x11be30(0x223)]===0x0)continue;this[_0x11be30(0x14f)](_0x3b22eb,_0x4e41ed,_0x1f2f85,_0x40d37c);}else{if(!_0x1e6242){const {borderBoxPointGroup:_0x268aae}=_0x5dd538['getRangePointData'](_0x22ef4e,_0x542d3d);if(_0x268aae['length']===0x0)continue;this['_drawTextRange'](_0x3b22eb,_0x268aae,_0x1f2f85,_0x40d37c);}}}}}['_drawAnchor'](_0x4dde55,_0x10ddd2,_0x26fc5c,_0x163fe1,_0x11fd16){const _0x85ba2d=_0x140f32,_0x3d3664=this['_getAnchorBounding'](_0x10ddd2),{left:_0x33cc79,top:_0x1b5d0a,height:_0x3874b3}=_0x3d3664,_0x15d5dc=this[_0x85ba2d(0x319)](),_0x29cb0d=_0x322029/_0x15d5dc,_0x6be532=new _0x47852a['Rect'](_0x41a01c+_0x1061f8[_0x85ba2d(0x35f)][_0x85ba2d(0x130)](_0x2c424c),{'left':_0x33cc79+_0x26fc5c-_0x29cb0d,'top':_0x1b5d0a+_0x163fe1,'height':_0x3874b3,'width':_0x136577,'fill':_0x4dde55||_0x47852a[_0x85ba2d(0x2e5)](_0x1061f8[_0x85ba2d(0x164)]['black'],0x0),'strokeWidth':_0x29cb0d,'stroke':_0x27410d,'evented':!0x0});this[_0x85ba2d(0x1d0)]=_0x6be532,this[_0x85ba2d(0x257)][_0x85ba2d(0x1c3)](_0x6be532,_0x37c85e[_0x85ba2d(0x324)]);const _0xae269e=new _0x47852a[(_0x85ba2d(0x330))](_0x41a01c+_0x1061f8[_0x85ba2d(0x35f)][_0x85ba2d(0x130)](_0x2c424c),{'left':_0x33cc79+_0x26fc5c-_0x29cb0d,'top':_0x1b5d0a+_0x163fe1-_0x48e9d8/0x2,'height':_0x48e9d8,'width':_0x48e9d8,'fill':_0x4dde55||_0x47852a[_0x85ba2d(0x2e5)](_0x1061f8[_0x85ba2d(0x164)][_0x85ba2d(0x30a)],0x0),'strokeWidth':0x0,'stroke':_0x4dde55||_0x47852a['getColor'](_0x1061f8['COLORS'][_0x85ba2d(0x30a)],0x0),'evented':!0x1});this[_0x85ba2d(0x12d)]=_0xae269e,this['_scene'][_0x85ba2d(0x1c3)](_0xae269e,_0x37c85e[_0x85ba2d(0x324)]);const _0x695936=new _0x3fe5a5(_0x41a01c+_0x1061f8[_0x85ba2d(0x35f)][_0x85ba2d(0x130)](_0x2c424c),{'left':_0x33cc79+_0x26fc5c-_0x29cb0d,'top':_0x1b5d0a+_0x163fe1-_0x1f2a01,'text':_0x11fd16,'color':_0x4dde55});this['_textBubble']=_0x695936,this[_0x85ba2d(0x257)][_0x85ba2d(0x1c3)](_0x695936,_0x37c85e[_0x85ba2d(0x324)]),this[_0x85ba2d(0x39d)]=!0x1;}[_0x140f32(0x393)](){const _0xc7f316=_0x140f32,_0x3e0b5b=this[_0xc7f316(0x1d0)][_0xc7f316(0x2d6)][_0xc7f316(0x11f)](()=>{const _0x3dd231=_0xc7f316;this[_0x3dd231(0x39d)]=!0x0;}),_0x26436c=this[_0xc7f316(0x1d0)][_0xc7f316(0x389)][_0xc7f316(0x11f)](()=>{const _0xe331=_0xc7f316;this['_hideTimer']&&clearTimeout(this[_0xe331(0x261)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1affd3=_0xc7f316;_0x3e0b5b[_0x1affd3(0x28e)](),_0x26436c[_0x1affd3(0x28e)]();};}[_0x140f32(0x210)](_0x514647,_0x2d07b3,_0x2e0098,_0xd74073){const _0x10c2cb=_0x140f32,_0x180912=new _0x1061f8[(_0x10c2cb(0x207))](_0x514647)[_0x10c2cb(0x394)](0.2)['toRgbString'](),_0x1d3fc2=new _0x47852a['RegularPolygon'](_0x2cf688+_0x1061f8[_0x10c2cb(0x35f)][_0x10c2cb(0x130)](_0x2c424c),{'pointsGroup':_0x2d07b3,'fill':_0x180912||_0x47852a[_0x10c2cb(0x2e5)](_0x1061f8[_0x10c2cb(0x164)][_0x10c2cb(0x30a)],0.2),'left':_0x2e0098,'top':_0xd74073,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x10c2cb(0x27b)](_0x1d3fc2),this[_0x10c2cb(0x257)][_0x10c2cb(0x1c3)](_0x1d3fc2,_0x37c85e['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x515b44,_0x5e703e,_0x17545f,_0x21e2da){const _0x3b4b31=_0x140f32,_0x1a8dd9=new _0x1061f8[(_0x3b4b31(0x207))](_0x515b44)[_0x3b4b31(0x394)](0.2)[_0x3b4b31(0x1ad)](),_0x249dae=new _0x47852a[(_0x3b4b31(0x219))](_0x303761+_0x1061f8[_0x3b4b31(0x35f)][_0x3b4b31(0x130)](_0x2c424c),{'pointsGroup':_0x5e703e,'fill':_0x1a8dd9||_0x47852a[_0x3b4b31(0x2e5)](_0x1061f8[_0x3b4b31(0x164)]['black'],0.2),'left':_0x17545f,'top':_0x21e2da,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x3b4b31(0x27b)](_0x249dae),this[_0x3b4b31(0x257)][_0x3b4b31(0x1c3)](_0x249dae,_0x37c85e[_0x3b4b31(0x324)]);}[_0x140f32(0x1ff)](_0x29fb19){const _0x4bc27a=_0x29fb19[0x0],_0x428f58=_0x4bc27a[0x0],_0x505795=_0x4bc27a[0x2],{x:_0x4641a6,y:_0x62e555}=_0x428f58,{x:_0x3ace9,y:_0x3574eb}=_0x505795;return{'left':_0x4641a6,'top':_0x62e555,'width':_0x3ace9-_0x4641a6,'height':_0x3574eb-_0x62e555};}[_0x140f32(0x319)](){const _0x55ada4=_0x140f32,{scaleX:_0x20f35f,scaleY:_0x1931d8}=this[_0x55ada4(0x257)][_0x55ada4(0x189)]();return Math[_0x55ada4(0x331)](_0x20f35f,_0x1931d8);}}var _0x17b446=Object[_0x140f32(0x10b)],_0x82626e=(_0x38c57d,_0x2813fb,_0x2ebd94,_0x4308ad)=>{const _0x44aca0=_0x140f32;for(var _0x292a4b=_0x4308ad>0x1?void 0x0:_0x4308ad?_0x17b446(_0x2813fb,_0x2ebd94):_0x2813fb,_0x2ea25a=_0x38c57d[_0x44aca0(0x223)]-0x1,_0x25e8ff;_0x2ea25a>=0x0;_0x2ea25a--)(_0x25e8ff=_0x38c57d[_0x2ea25a])&&(_0x292a4b=_0x25e8ff(_0x292a4b)||_0x292a4b);return _0x292a4b;},_0x3b1dc6=(_0x13913f,_0x3dc29f)=>(_0x3cca50,_0x5ad607)=>_0x3dc29f(_0x3cca50,_0x5ad607,_0x13913f);let _0x2f3eac=class extends _0x1061f8['RxDisposable']{constructor(_0x2e20b2,_0x46d8e0,_0x2688b9,_0x508e8d,_0x27e7d8){const _0x4618c8=_0x140f32;super(),_0x9b1d7c(this,_0x4618c8(0x362),[]),_0x9b1d7c(this,_0x4618c8(0x1d4),[]),(this[_0x4618c8(0x333)]=_0x2e20b2,this[_0x4618c8(0x295)]=_0x46d8e0,this[_0x4618c8(0x1ec)]=_0x2688b9,this[_0x4618c8(0x2bc)]=_0x508e8d,this[_0x4618c8(0x392)]=_0x27e7d8,this[_0x4618c8(0x2c9)]());}[_0x140f32(0x2c9)](){const _0x49ada9=_0x140f32,_0x51c4b2=this[_0x49ada9(0x333)][_0x49ada9(0x16a)],_0x1676b4=this[_0x49ada9(0x295)];this[_0x49ada9(0x26b)](_0x3a20ae[_0x49ada9(0x314)]([this[_0x49ada9(0x1ec)][_0x49ada9(0x115)](_0x51c4b2),this[_0x49ada9(0x392)][_0x49ada9(0x24c)]])[_0x49ada9(0x13a)](_0x39ab20[_0x49ada9(0x363)](([_0x171a3e,_0x47c3da])=>({'skeleton':_0x1676b4[_0x49ada9(0x317)](),'cursors':[..._0x171a3e[_0x49ada9(0x16e)]()][_0x49ada9(0x1f3)](_0x166573=>({..._0x166573,'color':this[_0x49ada9(0x392)][_0x49ada9(0x134)](_0x166573[_0x49ada9(0x182)])}))})))[_0x49ada9(0x225)](_0x14742a=>{const _0x374b56=_0x49ada9;if(this[_0x374b56(0x2ba)](),_0x14742a){const {skeleton:_0x58b1f4,cursors:_0x1fcc35}=_0x14742a;this[_0x374b56(0x286)](_0x58b1f4,_0x1fcc35);}})),this[_0x49ada9(0x220)](),this[_0x49ada9(0x28d)]();}[_0x140f32(0x286)](_0x201527,_0x27611f){const _0x37988f=_0x140f32,{scene:_0x82b52,mainComponent:_0x460f56}=this[_0x37988f(0x333)],_0x2b8b00=_0x27611f[_0x37988f(0x363)](_0x3fe83f=>new _0x444b77(_0x3fe83f,_0x82b52,_0x201527,_0x460f56));this[_0x37988f(0x362)]=_0x2b8b00,this[_0x37988f(0x1d4)]=_0x27611f;}[_0x140f32(0x2d8)](){const _0x504366=_0x140f32;this[_0x504366(0x2ba)]();const {scene:_0x5df38c,mainComponent:_0x12233}=this[_0x504366(0x333)],_0x33f314=this[_0x504366(0x295)][_0x504366(0x317)](),_0x3c92b2=this[_0x504366(0x1d4)][_0x504366(0x363)](_0x3c9bd5=>new _0x444b77(_0x3c9bd5,_0x5df38c,_0x33f314,_0x12233));this[_0x504366(0x362)]=_0x3c92b2;}[_0x140f32(0x2ba)](){const _0x2d28dd=_0x140f32;this[_0x2d28dd(0x362)]['forEach'](_0x3f2ae5=>_0x3f2ae5[_0x2d28dd(0x16d)]()),this['_cursorShapes']=[];}[_0x140f32(0x28d)](){const _0x2b77cb=_0x140f32,_0x182832=[_0x37c85e[_0x2b77cb(0x206)]['id']];this[_0x2b77cb(0x26b)](this[_0x2b77cb(0x2bc)][_0x2b77cb(0x2b9)](_0x349deb=>{const _0xb1ed94=_0x2b77cb;_0x182832[_0xb1ed94(0x339)](_0x349deb['id'])&&_0x349deb['params'][_0xb1ed94(0x16a)]===this[_0xb1ed94(0x333)][_0xb1ed94(0x16a)]&&this[_0xb1ed94(0x2d8)]();}));}[_0x140f32(0x220)](){const _0x942840=_0x140f32;this[_0x942840(0x26b)](_0x1061f8[_0x942840(0x21e)](this[_0x942840(0x333)][_0x942840(0x296)][_0x942840(0x2db)])[_0x942840(0x13a)](_0x39ab20[_0x942840(0x253)](_0x3311ea=>_0x3311ea['type']===_0x47852a[_0x942840(0x119)]['resize']),_0x39ab20[_0x942840(0x1a3)](0x10))['subscribe'](()=>{const _0x264c13=_0x942840;this[_0x264c13(0x2d8)]();}));}};_0x2f3eac=_0x82626e([_0x3b1dc6(0x1,_0x1061f8[_0x140f32(0x364)](_0x4639f7[_0x140f32(0x279)])),_0x3b1dc6(0x2,_0x1061f8[_0x140f32(0x364)](_0xe5aa4e)),_0x3b1dc6(0x3,_0x1061f8[_0x140f32(0x139)]),_0x3b1dc6(0x4,_0x1061f8[_0x140f32(0x364)](_0x1061f8['ThemeService']))],_0x2f3eac);const _0x1c841f=0x1,_0x52637b=1.5;class _0x394568 extends _0x47852a[_0x140f32(0x2d1)]{constructor(_0x49195f,_0x2794a8){const _0x557ce4=_0x140f32;super(_0x49195f,_0x2794a8),_0x9b1d7c(this,_0x557ce4(0x318)),_0x9b1d7c(this,_0x557ce4(0x1eb),!0x1),_0x9b1d7c(this,_0x557ce4(0x203)),_0x9b1d7c(this,_0x557ce4(0x104),''),_0x9b1d7c(this,'_labelPosition',_0x557ce4(0x242)),_0x9b1d7c(this,_0x557ce4(0x229)),(_0x2794a8&&this['setShapeProps'](_0x2794a8),this[_0x557ce4(0x2d6)][_0x557ce4(0x11f)](()=>this[_0x557ce4(0x2ee)]({'hovered':!0x0})),this['onPointerLeave$'][_0x557ce4(0x11f)](()=>this[_0x557ce4(0x2ee)]({'hovered':!0x1})));}['setShapeProps'](_0x28423e){const _0xf0f0c=_0x140f32;var _0x1d65e8,_0x2ec364,_0x4d5433,_0x95c853,_0x53f19c,_0x24564e;this[_0xf0f0c(0x318)]=(_0x1d65e8=_0x28423e[_0xf0f0c(0x182)])!=null?_0x1d65e8:this[_0xf0f0c(0x318)],this[_0xf0f0c(0x1eb)]=(_0x2ec364=_0x28423e[_0xf0f0c(0x10d)])!=null?_0x2ec364:this['_hovered'],this[_0xf0f0c(0x203)]=(_0x4d5433=_0x28423e[_0xf0f0c(0x16b)])!=null?_0x4d5433:this['_range'],this['_name']=(_0x95c853=_0x28423e[_0xf0f0c(0x12f)])!=null?_0x95c853:this['_name'],this['_labelPosition']=(_0x53f19c=_0x28423e['labelPosition'])!=null?_0x53f19c:this[_0xf0f0c(0x36d)],this['_backgroundColor']=(_0x24564e=_0x28423e[_0xf0f0c(0x1c1)])!=null?_0x24564e:this[_0xf0f0c(0x229)],this[_0xf0f0c(0x23d)]({'width':_0x28423e[_0xf0f0c(0x1f1)],'height':_0x28423e['height']});}[_0x140f32(0x15f)](_0x3fb230){const _0x38be2a=_0x140f32,{row:_0x59f16b,column:_0x3108f3}=_0x3fb230;if(_0x59f16b>=this[_0x38be2a(0x203)][_0x38be2a(0x31f)]&&_0x59f16b<=this[_0x38be2a(0x203)]['endRow']&&_0x3108f3>=this['_range'][_0x38be2a(0x2c0)]&&_0x3108f3<=this[_0x38be2a(0x203)][_0x38be2a(0x361)]){this[_0x38be2a(0x2ee)]({'hovered':!0x0});return;}this[_0x38be2a(0x2ee)]({'hovered':!0x1});}[_0x140f32(0x1fd)](_0x2553ec){return!0x1;}[_0x140f32(0x1dc)](_0x11156e){const _0x347649=_0x140f32;_0x47852a[_0x347649(0x330)][_0x347649(0x21d)](_0x11156e,{'width':this[_0x347649(0x1f1)],'height':this[_0x347649(0x235)],'strokeWidth':_0x52637b,'stroke':this[_0x347649(0x318)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x347649(0x1eb)]&&(_0x11156e['save'](),_0x11156e[_0x347649(0x358)](0x1,0x0,0x0,0x1,this[_0x347649(0x1f1)],this[_0x347649(0x36d)]===_0x347649(0x12b)?0x0:-0x14),_0x3fe5a5[_0x347649(0x21d)](_0x11156e,{'text':this[_0x347649(0x104)],'color':this[_0x347649(0x318)]}),_0x11156e[_0x347649(0x2f0)]());}}var _0x6b3974=Object['getOwnPropertyDescriptor'],_0x451a0a=(_0xd19472,_0x4675ac,_0x598387,_0x2e6cbc)=>{for(var _0x3873ff=_0x2e6cbc>0x1?void 0x0:_0x2e6cbc?_0x6b3974(_0x4675ac,_0x598387):_0x4675ac,_0x18c216=_0xd19472['length']-0x1,_0x5da2d0;_0x18c216>=0x0;_0x18c216--)(_0x5da2d0=_0xd19472[_0x18c216])&&(_0x3873ff=_0x5da2d0(_0x3873ff)||_0x3873ff);return _0x3873ff;},_0x3c3a9c=(_0x55ebaf,_0x387fa6)=>(_0x4d009f,_0x10ca8a)=>_0x387fa6(_0x4d009f,_0x10ca8a,_0x55ebaf);const _0x24f91d=0x1389;let _0x27741d=class extends _0x1061f8[_0x140f32(0x2f8)]{constructor(_0xe91756,_0x3745fa,_0x5ced0c,_0x120103){const _0xa68251=_0x140f32;super(),_0x9b1d7c(this,_0xa68251(0x1d4),new Set()),_0x9b1d7c(this,_0xa68251(0x1e0),null),(this[_0xa68251(0x333)]=_0xe91756,this[_0xa68251(0x2ca)]=_0x3745fa,this[_0xa68251(0x1ec)]=_0x5ced0c,this[_0xa68251(0x392)]=_0x120103,this[_0xa68251(0x2c9)]());}[_0x140f32(0x2c9)](){const _0x5670db=_0x140f32;this[_0x5670db(0x2ca)][_0x5670db(0x30e)][_0x5670db(0x13a)](_0x39ab20['takeUntil'](this[_0x5670db(0x1fe)]),_0x39ab20[_0x5670db(0x13c)](_0x2e2b2d=>{const _0x4ed846=_0x5670db;if(_0x2e2b2d){const _0xafc6f3=_0x2e2b2d[_0x4ed846(0x2a4)];return _0x3a20ae[_0x4ed846(0x314)](this[_0x4ed846(0x1ec)][_0x4ed846(0x115)](this[_0x4ed846(0x333)][_0x4ed846(0x16a)]),this['_themeService'][_0x4ed846(0x24c)])[_0x4ed846(0x13a)](_0x39ab20[_0x4ed846(0x363)](([_0x4eb8e0,_0x5e718c])=>{const _0x23cf27=new Map();return _0x4eb8e0['forEach']((_0x4196bf,_0x4af728)=>{const _0x29f46d=_0x5819;if(_0x4196bf[_0x29f46d(0x26c)]===_0xafc6f3){const _0x2a1ce8={..._0x4196bf};_0x2a1ce8[_0x29f46d(0x182)]=this[_0x29f46d(0x392)][_0x29f46d(0x134)](_0x4196bf[_0x29f46d(0x182)]),_0x23cf27[_0x29f46d(0x266)](_0x4af728,_0x2a1ce8);}}),{'skeleton':_0x2e2b2d,'cursors':_0x23cf27};}));}return _0x3a20ae['of']({'skeleton':null,'cursors':new Map()});}))[_0x5670db(0x225)](({skeleton:_0x12fa59,cursors:_0xc2a293})=>{const _0x146a28=_0x5670db;this[_0x146a28(0x2ba)](),_0x12fa59&&this[_0x146a28(0x286)](_0x12fa59,_0xc2a293);}),this[_0x5670db(0x2ca)][_0x5670db(0x30e)][_0x5670db(0x225)](_0x3e9e10=>{const _0x4d77eb=_0x5670db;if(_0x3e9e10==null)return;const {skeleton:_0xf01d1c}=_0x3e9e10,{scene:_0x12e7d1}=this[_0x4d77eb(0x333)];_0x12e7d1['onPointerMove$'][_0x4d77eb(0x11f)](_0x1061f8[_0x4d77eb(0x34c)](_0x291e19=>{const _0x2ecf20=_0x4d77eb;var _0x3be657,_0x3019bf;const {offsetX:_0x349002,offsetY:_0x580bf8}=_0x291e19,{x:_0x417d03,y:_0x273276}=_0x12e7d1[_0x2ecf20(0x348)](_0x47852a['Vector2'][_0x2ecf20(0x232)]([_0x349002,_0x580bf8])),{scaleX:_0x393568,scaleY:_0x54dc77}=_0x12e7d1[_0x2ecf20(0x189)](),_0xb5a59=_0x12e7d1[_0x2ecf20(0x11d)](_0x47852a[_0x2ecf20(0x10f)][_0x2ecf20(0x239)]),_0x496bd6=_0x12e7d1[_0x2ecf20(0x281)](_0x47852a[_0x2ecf20(0x1a7)][_0x2ecf20(0x232)]([_0x417d03,_0x273276]),_0xb5a59),_0x4a41cc=_0xf01d1c[_0x2ecf20(0x34e)](_0x349002,_0x580bf8,_0x393568,_0x54dc77,_0x496bd6);((_0x3be657=this[_0x2ecf20(0x1e0)])==null?void 0x0:_0x3be657[_0x2ecf20(0x273)])===_0x4a41cc[_0x2ecf20(0x273)]&&((_0x3019bf=this[_0x2ecf20(0x1e0)])==null?void 0x0:_0x3019bf[_0x2ecf20(0x315)])===_0x4a41cc['row']||this[_0x2ecf20(0x1d4)]['forEach'](_0x21a85a=>{_0x21a85a['onMouseMove'](_0x4a41cc);});},0x64));});}[_0x140f32(0x286)](_0x33654b,_0x50360f){const _0x124e19=_0x140f32;var _0x31f278;const _0x1ca231=(_0x31f278=this['_sheetSkeletonManagerService'][_0x124e19(0x352)]())==null?void 0x0:_0x31f278[_0x124e19(0x2bf)];if(!_0x1ca231)return;const _0x108f7e=this[_0x124e19(0x2fa)]();if(!_0x108f7e)return;this[_0x124e19(0x1d4)][_0x124e19(0x282)](_0x442168=>{_0x442168['makeDirty']();});const {scene:_0x2358ab}=_0x108f7e,_0x2f6611=_0x460d91(Array[_0x124e19(0x37c)](_0x50360f[_0x124e19(0x16e)]()))[_0x124e19(0x363)](_0x235e25=>{const _0x1469b6=_0x124e19,{color:_0x471570,range:_0x440228,name:_0x4094de,selection:_0x196b95,sheetID:_0x15fca7}=_0x235e25,{startColumn:_0x11de1e,startRow:_0x103762,endColumn:_0x1ebbbf,endRow:_0x27ceef}=_0x440228,_0x534948=_0x36792e[_0x1469b6(0x125)](_0x103762,_0x11de1e,_0x2358ab,_0x1ca231),_0x13c81e=_0x36792e['getCoordByCell'](_0x27ceef,_0x1ebbbf,_0x2358ab,_0x1ca231),{columnHeaderHeightAndMarginTop:_0x1f3de3}=_0x1ca231,{startX:_0x524b59,startY:_0x2b8cc8}=_0x534948,{endX:_0x31491c,endY:_0x45cad7}=_0x13c81e,_0x1065c9=_0x31491c-_0x524b59,_0x5390ad=_0x45cad7-_0x2b8cc8,_0x1e3b46={'labelPosition':_0x2b8cc8-_0x1f3de3>=_0x1f2a01?_0x1469b6(0x242):_0x1469b6(0x12b),'sheetID':_0x15fca7,'range':_0x440228,'color':_0x471570,'name':_0x4094de,'selection':_0x196b95,'left':_0x524b59,'top':_0x2b8cc8,'width':_0x1065c9,'height':_0x5390ad,'evented':!0x1,'zIndex':_0x24f91d};return new _0x394568(_0x4094de,_0x1e3b46);});_0x2358ab[_0x124e19(0x169)](_0x2f6611,_0x1c841f),this[_0x124e19(0x1d4)]=new Set(_0x2f6611);}[_0x140f32(0x2ba)](){const _0x5c2581=_0x140f32;var _0x319fdb;(_0x319fdb=this[_0x5c2581(0x1d4)])==null||_0x319fdb['forEach'](_0x336856=>_0x336856[_0x5c2581(0x16d)]());}['_getSheetObject'](){const _0x5ee2c4=_0x140f32;return _0x36792e['getSheetObject'](this['_context'][_0x5ee2c4(0x327)],this[_0x5ee2c4(0x333)]);}};_0x27741d=_0x451a0a([_0x3c3a9c(0x1,_0x1061f8[_0x140f32(0x364)](_0x36792e[_0x140f32(0x1bc)])),_0x3c3a9c(0x2,_0x1061f8[_0x140f32(0x364)](_0xe5aa4e)),_0x3c3a9c(0x3,_0x1061f8[_0x140f32(0x364)](_0x1061f8[_0x140f32(0x215)]))],_0x27741d);function _0x460d91(_0xa5038){const _0x51dd7d=_0x140f32,_0x41474d=new Map();return _0xa5038[_0x51dd7d(0x282)](_0x22e59f=>{const _0x4c07e1=_0x51dd7d;if(_0x41474d[_0x4c07e1(0x171)](_0x22e59f[_0x4c07e1(0x3a3)])){const _0xeb9c9c=_0x41474d['get'](_0x22e59f[_0x4c07e1(0x3a3)]);_0xeb9c9c[_0x4c07e1(0x12f)]+=',\x20'+_0x22e59f[_0x4c07e1(0x12f)];}else _0x41474d[_0x4c07e1(0x266)](_0x22e59f[_0x4c07e1(0x3a3)],_0x22e59f);}),Array['from'](_0x41474d[_0x51dd7d(0x16e)]());}var _0x58c15d=function(){const _0x11a61b=_0x140f32;return _0x58c15d=Object[_0x11a61b(0x16c)]||function(_0x3037bd){const _0x278b1b=_0x11a61b;for(var _0x47858d,_0x569f15=0x1,_0x3de25f=arguments[_0x278b1b(0x223)];_0x569f15<_0x3de25f;_0x569f15++){_0x47858d=arguments[_0x569f15];for(var _0x2e65d6 in _0x47858d)Object[_0x278b1b(0x1b7)][_0x278b1b(0x2c8)][_0x278b1b(0x227)](_0x47858d,_0x2e65d6)&&(_0x3037bd[_0x2e65d6]=_0x47858d[_0x2e65d6]);}return _0x3037bd;},_0x58c15d['apply'](this,arguments);},_0x35589d=function(_0x3f35e3,_0x4f21cf){const _0x324b28=_0x140f32;var _0x4f2d78={};for(var _0x1a73d2 in _0x3f35e3)Object[_0x324b28(0x1b7)][_0x324b28(0x2c8)][_0x324b28(0x227)](_0x3f35e3,_0x1a73d2)&&_0x4f21cf[_0x324b28(0x2e4)](_0x1a73d2)<0x0&&(_0x4f2d78[_0x1a73d2]=_0x3f35e3[_0x1a73d2]);if(_0x3f35e3!=null&&typeof Object[_0x324b28(0x300)]==_0x324b28(0x166)){for(var _0x136f0b=0x0,_0x1a73d2=Object[_0x324b28(0x300)](_0x3f35e3);_0x136f0b<_0x1a73d2[_0x324b28(0x223)];_0x136f0b++)_0x4f21cf[_0x324b28(0x2e4)](_0x1a73d2[_0x136f0b])<0x0&&Object['prototype']['propertyIsEnumerable']['call'](_0x3f35e3,_0x1a73d2[_0x136f0b])&&(_0x4f2d78[_0x1a73d2[_0x136f0b]]=_0x3f35e3[_0x1a73d2[_0x136f0b]]);}return _0x4f2d78;},_0x230d79=_0x588d36[_0x140f32(0x2e1)](function(_0x533590,_0x30fd47){const _0x4e629b=_0x140f32;var _0x107ca8=_0x533590[_0x4e629b(0x33b)],_0x312ee7=_0x533590['id'],_0x2028d2=_0x533590[_0x4e629b(0x38b)],_0x40b989=_0x533590[_0x4e629b(0x14a)],_0x467125=_0x35589d(_0x533590,['icon','id',_0x4e629b(0x38b),_0x4e629b(0x14a)]),_0x409f2a=_0x4e629b(0x190)['concat'](_0x312ee7,'\x20')[_0x4e629b(0x344)](_0x2028d2||'')[_0x4e629b(0x26d)](),_0x2b4044=_0x588d36[_0x4e629b(0x27c)]('_'['concat'](_0x2448f3()));return _0xcf34f(_0x107ca8,''[_0x4e629b(0x344)](_0x312ee7),{'defIds':_0x107ca8[_0x4e629b(0x297)],'idSuffix':_0x2b4044['current']},_0x58c15d({'ref':_0x30fd47,'className':_0x409f2a},_0x467125),_0x40b989);});function _0xcf34f(_0x4d8c33,_0xa36318,_0x36c3a2,_0x57cbb3,_0x586640){const _0x2ac79d=_0x140f32;return _0x588d36[_0x2ac79d(0x268)](_0x4d8c33[_0x2ac79d(0x136)],_0x58c15d(_0x58c15d({'key':_0xa36318},_0x2c8ba4(_0x4d8c33,_0x36c3a2,_0x586640)),_0x57cbb3),(_0x58d1a5(_0x4d8c33,_0x36c3a2)[_0x2ac79d(0x36f)]||[])[_0x2ac79d(0x363)](function(_0xccb29b,_0x42cbd0){const _0xcd4b06=_0x2ac79d;return _0xcf34f(_0xccb29b,''['concat'](_0xa36318,'-')[_0xcd4b06(0x344)](_0x4d8c33[_0xcd4b06(0x136)],'-')['concat'](_0x42cbd0),_0x36c3a2,void 0x0,_0x586640);}));}function _0x2c8ba4(_0x48c99c,_0x3c84fb,_0x508094){const _0x3b39a0=_0x140f32;var _0x37bed5=_0x58c15d({},_0x48c99c[_0x3b39a0(0x117)]);_0x508094!=null&&_0x508094['colorChannel1']&&_0x37bed5[_0x3b39a0(0x2e9)]===_0x3b39a0(0x187)&&(_0x37bed5[_0x3b39a0(0x2e9)]=_0x508094[_0x3b39a0(0x187)]),_0x48c99c[_0x3b39a0(0x136)]===_0x3b39a0(0x256)&&_0x37bed5['id']&&(_0x37bed5['id']=_0x37bed5['id']+_0x3c84fb[_0x3b39a0(0x217)]),Object[_0x3b39a0(0x10c)](_0x37bed5)[_0x3b39a0(0x282)](function(_0x31b484){const _0xd195f4=_0x3b39a0;var _0x421f71=_0x31b484[0x0],_0x5a82f3=_0x31b484[0x1];_0x421f71===_0xd195f4(0x256)&&typeof _0x5a82f3==_0xd195f4(0x258)&&(_0x37bed5[_0x421f71]=_0x5a82f3[_0xd195f4(0x27a)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x3c84fb[_0xd195f4(0x217)],')')));});var _0x573495=_0x3c84fb['defIds'];return!_0x573495||_0x573495['length']===0x0||(_0x48c99c['tag']===_0x3b39a0(0x39e)&&_0x37bed5[_0x3b39a0(0x38e)]&&(_0x37bed5['xlink:href']=_0x37bed5[_0x3b39a0(0x38e)]+_0x3c84fb[_0x3b39a0(0x217)]),Object[_0x3b39a0(0x10c)](_0x37bed5)[_0x3b39a0(0x282)](function(_0x2e156f){const _0x5247d6=_0x3b39a0;var _0x3f2261=_0x2e156f[0x0],_0x248e3f=_0x2e156f[0x1];typeof _0x248e3f==_0x5247d6(0x258)&&(_0x37bed5[_0x3f2261]=_0x248e3f[_0x5247d6(0x27a)](/url\(#(.*)\)/,_0x5247d6(0x24f)[_0x5247d6(0x344)](_0x3c84fb[_0x5247d6(0x217)],')')));})),_0x37bed5;}function _0x58d1a5(_0x3c6fcb,_0x1a65ed){const _0x4734c=_0x140f32;var _0x234233,_0x156449=_0x1a65ed['defIds'];return!_0x156449||_0x156449[_0x4734c(0x223)]===0x0?_0x3c6fcb:_0x3c6fcb['tag']===_0x4734c(0x192)&&(!((_0x234233=_0x3c6fcb[_0x4734c(0x36f)])===null||_0x234233===void 0x0)&&_0x234233[_0x4734c(0x223)])?_0x58c15d(_0x58c15d({},_0x3c6fcb),{'children':_0x3c6fcb[_0x4734c(0x36f)][_0x4734c(0x363)](function(_0x2adaa8){const _0x2a80e9=_0x4734c;return typeof _0x2adaa8[_0x2a80e9(0x117)]['id']==_0x2a80e9(0x258)&&_0x156449&&_0x156449[_0x2a80e9(0x339)](_0x2adaa8[_0x2a80e9(0x117)]['id'])?_0x58c15d(_0x58c15d({},_0x2adaa8),{'attrs':_0x58c15d(_0x58c15d({},_0x2adaa8[_0x2a80e9(0x117)]),{'id':_0x2adaa8[_0x2a80e9(0x117)]['id']+_0x1a65ed[_0x2a80e9(0x217)]})}):_0x2adaa8;})}):_0x3c6fcb;}function _0x2448f3(){const _0x549cf4=_0x140f32;return Math[_0x549cf4(0x25d)]()['toString'](0x24)[_0x549cf4(0x20d)](0x2,0x8);}_0x230d79[_0x140f32(0x397)]='UniverIcon';var _0x6b309e={'tag':_0x140f32(0x326),'attrs':{'xmlns':_0x140f32(0x212),'fill':'none','viewBox':_0x140f32(0x3a0),'width':'1em','height':_0x140f32(0x11c)},'children':[{'tag':'g','attrs':{'clipPath':_0x140f32(0x338)},'children':[{'tag':_0x140f32(0x2d2),'attrs':{'stroke':_0x140f32(0x2d9),'d':_0x140f32(0x2be),'strokeLinecap':_0x140f32(0x13e),'strokeLinejoin':_0x140f32(0x13e),'strokeWidth':1.2}}]},{'tag':_0x140f32(0x192),'attrs':{},'children':[{'tag':_0x140f32(0x262),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x140f32(0x2d2),'attrs':{'fill':_0x140f32(0x15b),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x16c7d1=_0x588d36['forwardRef'](function(_0x46f247,_0x5908bc){const _0x4ce165=_0x140f32;return _0x588d36[_0x4ce165(0x268)](_0x230d79,Object[_0x4ce165(0x16c)]({},_0x46f247,{'id':_0x4ce165(0x399),'ref':_0x5908bc,'icon':_0x6b309e}));});_0x16c7d1[_0x140f32(0x397)]=_0x140f32(0x1cf);var _0x12ed5e={'tag':_0x140f32(0x326),'attrs':{'xmlns':_0x140f32(0x212),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x140f32(0x11c),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x140f32(0x1c2)},'children':[{'tag':_0x140f32(0x2d2),'attrs':{'stroke':'currentColor','d':_0x140f32(0x141),'strokeLinecap':_0x140f32(0x13e),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x140f32(0x192),'attrs':{},'children':[{'tag':_0x140f32(0x262),'attrs':{'id':_0x140f32(0x1cd)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x140f32(0x35a),'transform':_0x140f32(0x1c5)}}]}]}],'defIds':[_0x140f32(0x1cd)]},_0x3e2b17=_0x588d36[_0x140f32(0x2e1)](function(_0x3662c4,_0x1df566){const _0x33e943=_0x140f32;return _0x588d36[_0x33e943(0x268)](_0x230d79,Object[_0x33e943(0x16c)]({},_0x3662c4,{'id':_0x33e943(0x106),'ref':_0x1df566,'icon':_0x12ed5e}));});_0x3e2b17[_0x140f32(0x397)]=_0x140f32(0x156);function _0x533d0a(_0x1d0e2e){const _0xe0dc3a=_0x140f32;switch(_0x1d0e2e){case _0x55c138['CollaborationStatus']['OFFLINE']:return _0xe0dc3a(0x345);case _0x55c138['CollaborationStatus'][_0xe0dc3a(0x1cc)]:return _0xe0dc3a(0x19f);case _0x55c138[_0xe0dc3a(0x2f1)][_0xe0dc3a(0x284)]:return _0xe0dc3a(0x149);case _0x55c138[_0xe0dc3a(0x2f1)]['NOT_COLLAB']:return'collabStatus.notCollab';case _0x55c138['CollaborationStatus'][_0xe0dc3a(0x1ce)]:case _0x55c138['CollaborationStatus'][_0xe0dc3a(0x3a5)]:return _0xe0dc3a(0x23a);case _0x55c138['CollaborationStatus'][_0xe0dc3a(0x238)]:case _0x55c138['CollaborationStatus'][_0xe0dc3a(0x386)]:return _0xe0dc3a(0x27d);}}function _0x6adec3(_0x15d17d){const _0xd4ce0a=_0x140f32,{status$:_0x26bb43}=_0x15d17d,_0x1fc6f7=_0x17254d[_0xd4ce0a(0x25b)](_0x26bb43,_0x55c138['CollaborationStatus'][_0xd4ce0a(0x310)]),_0x25a8a3=_0x17254d[_0xd4ce0a(0x127)](_0x1061f8[_0xd4ce0a(0x1fc)]),_0xb19306=_0x17254d['useDependency'](_0x55c138[_0xd4ce0a(0x19e)]),_0x5eb8e8=_0x1fc6f7!==_0x55c138['CollaborationStatus'][_0xd4ce0a(0x355)],_0x2e54e0=_0x25a8a3['t'](_0x533d0a(_0x1fc6f7)),_0x56f153=_0x5eb8e8?_0x259c4f['jsx'](_0x3e2b17,{}):_0x259c4f[_0xd4ce0a(0x1c0)](_0x16c7d1,{}),_0x19ffa2=_0x588d36[_0xd4ce0a(0x290)](()=>{const _0x4abb37=_0xd4ce0a;_0x5eb8e8||_0xb19306[_0x4abb37(0x14d)]();},[_0x5eb8e8,_0xb19306]);function _0x57322c(){const _0x24d968=_0xd4ce0a;return _0x259c4f[_0x24d968(0x35c)]('div',{'className':_0x24d968(0x154),'onClick':_0x19ffa2,'children':[_0x259c4f[_0x24d968(0x1c0)](_0x24d968(0x313),{'className':_0x44a7e1[_0x24d968(0x1ee)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x5eb8e8,'univer-text-red-500':!_0x5eb8e8}),'children':_0x56f153}),_0x259c4f[_0x24d968(0x1c0)]('div',{'className':_0x24d968(0x342),'children':_0x2e54e0})]});}return _0x5eb8e8?_0x57322c():_0x259c4f[_0xd4ce0a(0x1c0)](_0x44a7e1['Tooltip'],{'title':_0x25a8a3['t']('collab-client.tooltip.reconnect'),'children':_0x57322c()});}var _0x20836e=Object[_0x140f32(0x10b)],_0x3a2c4e=(_0x5d61b1,_0x3db174,_0x1d1b73,_0x1e8388)=>{const _0x2e277d=_0x140f32;for(var _0x46b205=_0x1e8388>0x1?void 0x0:_0x1e8388?_0x20836e(_0x3db174,_0x1d1b73):_0x3db174,_0x312a1d=_0x5d61b1[_0x2e277d(0x223)]-0x1,_0x2966f6;_0x312a1d>=0x0;_0x312a1d--)(_0x2966f6=_0x5d61b1[_0x312a1d])&&(_0x46b205=_0x2966f6(_0x46b205)||_0x46b205);return _0x46b205;},_0x495ae3=(_0xe5a84,_0x4416d2)=>(_0x9de446,_0x2d70b3)=>_0x4416d2(_0x9de446,_0x2d70b3,_0xe5a84);_0x5a5a65[_0x140f32(0x37b)]=class extends _0x1061f8[_0x140f32(0x2e7)]{constructor(_0x57e82b,_0x5c6345,_0x2e06aa,_0x52c8a6){const _0x2f3424=_0x140f32;super(),_0x9b1d7c(this,_0x2f3424(0x283),new _0x3a20ae[(_0x2f3424(0x36b))](_0x55c138[_0x2f3424(0x2f1)][_0x2f3424(0x310)])),(this[_0x2f3424(0x186)]=_0x57e82b,this['_injector']=_0x5c6345,this[_0x2f3424(0x29f)]=_0x2e06aa,this[_0x2f3424(0x218)]=_0x52c8a6,this['_initStatusComponent'](),this[_0x2f3424(0x1bf)]());}[_0x140f32(0x1bf)](){const _0x2b71a2=_0x140f32;this[_0x2b71a2(0x26b)](this[_0x2b71a2(0x186)][_0x2b71a2(0x1d9)][_0x2b71a2(0x13a)](_0x3a20ae[_0x2b71a2(0x13c)](()=>{const _0x84fea0=_0x2b71a2,_0x3dfcc5=this[_0x84fea0(0x186)][_0x84fea0(0x277)]();return _0x3dfcc5?this[_0x84fea0(0x29f)][_0x84fea0(0x353)](_0x3dfcc5[_0x84fea0(0x133)]()):_0x3a20ae['of'](null);}),_0x3a20ae[_0x2b71a2(0x13c)](_0x2a3c88=>_0x2a3c88?_0x2a3c88[_0x2b71a2(0x222)]:_0x3a20ae['of'](_0x55c138[_0x2b71a2(0x2f1)][_0x2b71a2(0x310)])))['subscribe'](_0x298ed1=>{const _0xd4481=_0x2b71a2;this['_status$'][_0xd4481(0x2b7)](_0x298ed1);}));}[_0x140f32(0x221)](){const _0x2d8dcc=_0x140f32;this[_0x2d8dcc(0x26b)](this[_0x2d8dcc(0x218)][_0x2d8dcc(0x398)](_0x17254d[_0x2d8dcc(0x15a)][_0x2d8dcc(0x128)],()=>_0x17254d[_0x2d8dcc(0x1aa)](_0x1646f6({'status$':this[_0x2d8dcc(0x283)][_0x2d8dcc(0x145)]()}),this[_0x2d8dcc(0x2b5)])));}},_0x5a5a65[_0x140f32(0x37b)]=_0x3a2c4e([_0x495ae3(0x0,_0x1061f8['IUniverInstanceService']),_0x495ae3(0x1,_0x1061f8[_0x140f32(0x364)](_0x1061f8['Injector'])),_0x495ae3(0x2,_0x1061f8['Inject'](_0x55c138[_0x140f32(0x1bb)])),_0x495ae3(0x3,_0x17254d[_0x140f32(0x1db)])],_0x5a5a65[_0x140f32(0x37b)]);function _0x1646f6(_0xadb470){const {status$:_0x5fce94}=_0xadb470;return function(){return _0x259c4f['jsx'](_0x6adec3,{'status$':_0x5fce94});};}var _0x14e19a=Object[_0x140f32(0x10b)],_0x553bda=(_0x3a15be,_0x6ba823,_0x4cabdc,_0x53e3cb)=>{for(var _0x2b35f5=_0x53e3cb>0x1?void 0x0:_0x53e3cb?_0x14e19a(_0x6ba823,_0x4cabdc):_0x6ba823,_0x5d8547=_0x3a15be['length']-0x1,_0xac1bad;_0x5d8547>=0x0;_0x5d8547--)(_0xac1bad=_0x3a15be[_0x5d8547])&&(_0x2b35f5=_0xac1bad(_0x2b35f5)||_0x2b35f5);return _0x2b35f5;},_0x2be453=(_0x1a7ee7,_0x2454dc)=>(_0x57235d,_0x5f44ae)=>_0x2454dc(_0x57235d,_0x5f44ae,_0x1a7ee7);let _0x11f97c=class extends _0x1061f8[_0x140f32(0x2e7)]{constructor(_0x2dcbf6,_0x219f08,_0xd4a6d7,_0x264237,_0x2916ff,_0x11e87d){const _0xa2d7d8=_0x140f32;super(),this[_0xa2d7d8(0x152)]=_0x2dcbf6,this[_0xa2d7d8(0x1d1)]=_0x219f08,this[_0xa2d7d8(0x160)]=_0xd4a6d7,this['_messageService']=_0x264237,this['_notificationService']=_0x2916ff,this['_localeService']=_0x11e87d,this[_0xa2d7d8(0x122)](),this[_0xa2d7d8(0x254)]();}[_0x140f32(0x122)](){const _0x1c70e4=_0x140f32;this[_0x1c70e4(0x26b)](this[_0x1c70e4(0x152)][_0x1c70e4(0x159)](()=>{const _0x52b4a3=_0x1c70e4;if(this[_0x52b4a3(0x1d1)][_0x52b4a3(0x2a7)][_0x52b4a3(0x162)])return this['_localeService']['t'](_0x52b4a3(0x15e));}));}[_0x140f32(0x254)](){const _0x1752ac=_0x140f32;this['disposeWithMe'](this['_collaborationUIEventService'][_0x1752ac(0x1a6)][_0x1752ac(0x225)](_0x4abea3=>{const _0x8f28a6=_0x1752ac;_0x4abea3['id']===_0x55c138[_0x8f28a6(0x158)][_0x8f28a6(0x2a0)]&&this[_0x8f28a6(0x237)]['show']({'type':_0x44a7e1['MessageType']['Warning'],'content':this[_0x8f28a6(0x244)]['t'](_0x8f28a6(0x167))}),_0x4abea3['id']===_0x55c138[_0x8f28a6(0x158)][_0x8f28a6(0x2a5)]&&this[_0x8f28a6(0x237)][_0x8f28a6(0x2b8)]({'type':_0x44a7e1[_0x8f28a6(0x143)][_0x8f28a6(0x2c2)],'content':this[_0x8f28a6(0x244)]['t'](_0x8f28a6(0x347))}),_0x4abea3['id']===_0x55c138[_0x8f28a6(0x158)][_0x8f28a6(0x30c)]&&this[_0x8f28a6(0x271)][_0x8f28a6(0x2b8)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x8f28a6(0x244)]['t'](_0x8f28a6(0x14e)),'type':_0x8f28a6(0x320),'duration':0x0}),_0x4abea3['id']===_0x55c138[_0x8f28a6(0x158)][_0x8f28a6(0x1cc)]&&this[_0x8f28a6(0x237)][_0x8f28a6(0x2b8)]({'type':_0x44a7e1['MessageType'][_0x8f28a6(0x31b)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x4abea3[_0x8f28a6(0x33d)]+')'}),_0x4abea3['id']===_0x55c138[_0x8f28a6(0x158)][_0x8f28a6(0x376)]&&this['_messageService'][_0x8f28a6(0x2b8)]({'type':_0x44a7e1[_0x8f28a6(0x143)][_0x8f28a6(0x2c2)],'content':this['_localeService']['t'](_0x4abea3[_0x8f28a6(0x33d)]||'')}),_0x4abea3['id']===_0x55c138['CollaborationUIEventId'][_0x8f28a6(0x35b)]&&this['_messageService'][_0x8f28a6(0x2b8)]({'type':_0x44a7e1[_0x8f28a6(0x143)]['Warning'],'content':this[_0x8f28a6(0x244)]['t'](_0x8f28a6(0x391))}),_0x4abea3['id']===_0x55c138[_0x8f28a6(0x158)][_0x8f28a6(0x328)]&&this['_messageService']['show']({'type':_0x44a7e1[_0x8f28a6(0x143)][_0x8f28a6(0x31b)],'content':this[_0x8f28a6(0x244)]['t'](_0x8f28a6(0x332))}),_0x4abea3['id']===_0x55c138[_0x8f28a6(0x158)][_0x8f28a6(0x35e)]&&this[_0x8f28a6(0x237)][_0x8f28a6(0x2b8)]({'type':_0x44a7e1[_0x8f28a6(0x143)][_0x8f28a6(0x31b)],'content':this[_0x8f28a6(0x244)]['t'](_0x8f28a6(0x1e6))});}));}};_0x11f97c=_0x553bda([_0x2be453(0x0,_0x17254d['IBeforeCloseService']),_0x2be453(0x1,_0x55c138[_0x140f32(0x354)]),_0x2be453(0x2,_0x1061f8['Inject'](_0x55c138[_0x140f32(0x387)])),_0x2be453(0x3,_0x17254d[_0x140f32(0x22e)]),_0x2be453(0x4,_0x17254d[_0x140f32(0x183)]),_0x2be453(0x5,_0x1061f8[_0x140f32(0x364)](_0x1061f8[_0x140f32(0x1fc)]))],_0x11f97c);const _0x373b98=_0x140f32(0x26f),_0x243b1c={},_0x1f2ba8=_0x1061f8['createIdentifier'](_0x140f32(0x311));var _0x489647=Object[_0x140f32(0x10b)],_0x4ebdb5=(_0x52607e,_0x45716f,_0x9ae11a,_0x5aa621)=>{const _0x8516b9=_0x140f32;for(var _0x8878cf=_0x5aa621>0x1?void 0x0:_0x5aa621?_0x489647(_0x45716f,_0x9ae11a):_0x45716f,_0x4e8ea3=_0x52607e[_0x8516b9(0x223)]-0x1,_0x521d6c;_0x4e8ea3>=0x0;_0x4e8ea3--)(_0x521d6c=_0x52607e[_0x4e8ea3])&&(_0x8878cf=_0x521d6c(_0x8878cf)||_0x8878cf);return _0x8878cf;},_0x81bda2=(_0x411620,_0x3a555d)=>(_0x54edb8,_0x2a7d8f)=>_0x3a555d(_0x54edb8,_0x2a7d8f,_0x411620);_0x5a5a65[_0x140f32(0x280)]=class extends _0x1061f8[_0x140f32(0x2f8)]{constructor(_0x19f493,_0x5f1ea0,_0x55d5c5,_0x3b21de,_0x42ea47){const _0x2fdbb3=_0x140f32;super(),this[_0x2fdbb3(0x1d6)]=_0x19f493,this[_0x2fdbb3(0x396)]=_0x5f1ea0,this[_0x2fdbb3(0x2bc)]=_0x55d5c5,this['_dataLoaderService']=_0x3b21de,_0x42ea47?_0x42ea47==null||_0x42ea47[_0x2fdbb3(0x359)]()[_0x2fdbb3(0x1f9)](()=>this[_0x2fdbb3(0x2c9)]()):(this[_0x2fdbb3(0x396)][_0x2fdbb3(0x360)](_0x2fdbb3(0x2e0),_0x2fdbb3(0x193)),this[_0x2fdbb3(0x2c9)]());}async[_0x140f32(0x2c9)](){const _0x1c0a8a=_0x140f32,_0x824df1=this[_0x1c0a8a(0x1d6)][_0x1c0a8a(0x278)](_0x1c0a8a(0x327)),_0x58f207=this['_urlService'][_0x1c0a8a(0x278)](_0x1c0a8a(0x374)),_0x3de98d=this['_urlService'][_0x1c0a8a(0x278)]('subunit');if(!_0x824df1||!_0x58f207){this[_0x1c0a8a(0x396)][_0x1c0a8a(0x360)](_0x1c0a8a(0x2e0),_0x1c0a8a(0x22d));return;}const _0x332e7e=await this[_0x1c0a8a(0x12a)][_0x1c0a8a(0x18d)](_0x824df1,Number(_0x58f207),_0x3de98d);_0x332e7e&&_0x332e7e instanceof _0x1061f8[_0x1c0a8a(0x31c)]&&this['_setupSubUnitSync'](_0x332e7e);}async[_0x140f32(0x1a2)](_0x5b3e61){const _0x5a7876=_0x140f32;await this['_updateSubUnitFromURLParams'](_0x5b3e61),_0x5b3e61['activeSheet$'][_0x5a7876(0x13a)](_0x3a20ae[_0x5a7876(0x36a)](this['dispose$']))[_0x5a7876(0x225)](_0x41cf2b=>{const _0x1abc80=_0x5a7876;_0x41cf2b&&this[_0x1abc80(0x2d0)](_0x41cf2b);}),this['_urlService']['urlChange$'][_0x5a7876(0x13a)](_0x3a20ae[_0x5a7876(0x36a)](this['dispose$']))[_0x5a7876(0x225)](()=>this[_0x5a7876(0x24e)](_0x5b3e61));}['_updateURLWithCurrentState'](_0x2e8c1d,_0x3ee953=!0x1){const _0x490627=_0x140f32,_0x640848=this[_0x490627(0x1d6)][_0x490627(0x278)]('subunit');_0x2e8c1d[_0x490627(0x21a)]()!==_0x640848&&this[_0x490627(0x1d6)][_0x490627(0x151)](_0x490627(0x1a0),_0x2e8c1d['getSheetId'](),_0x3ee953);}async[_0x140f32(0x24e)](_0x4ee051){const _0x4606e4=_0x140f32;var _0x1ec478;const _0x23d9bf=this[_0x4606e4(0x1d6)][_0x4606e4(0x278)]('subunit');if(!_0x23d9bf||!_0x4ee051[_0x4606e4(0x241)](_0x23d9bf)){const _0x3e3a3f=_0x4ee051[_0x4606e4(0x112)]()[0x0],_0x55de86=_0x4ee051[_0x4606e4(0x241)](_0x3e3a3f);if(!_0x55de86)return;this['_updateURLWithCurrentState'](_0x55de86,!0x0),await this[_0x4606e4(0x2bc)][_0x4606e4(0x19b)](_0x466e90['SetWorksheetActivateCommand']['id'],{'unitId':_0x4ee051[_0x4606e4(0x133)](),'subUnitId':_0x3e3a3f});return;}((_0x1ec478=_0x4ee051[_0x4606e4(0x124)]())==null?void 0x0:_0x1ec478[_0x4606e4(0x21a)]())!==_0x23d9bf&&await this['_commandService']['executeCommand'](_0x466e90[_0x4606e4(0x385)]['id'],{'unitId':_0x4ee051[_0x4606e4(0x133)](),'subUnitId':_0x23d9bf});}},_0x5a5a65[_0x140f32(0x280)]=_0x4ebdb5([_0x81bda2(0x0,_0x1f2ba8),_0x81bda2(0x1,_0x1061f8[_0x140f32(0x1be)]),_0x81bda2(0x2,_0x1061f8['ICommandService']),_0x81bda2(0x3,_0x1061f8[_0x140f32(0x364)](_0x55c138[_0x140f32(0x18e)])),_0x81bda2(0x4,_0x1061f8[_0x140f32(0x336)](_0x34b757[_0x140f32(0x236)]))],_0x5a5a65[_0x140f32(0x280)]);var _0x3ab485=Object[_0x140f32(0x10b)],_0x5268a0=(_0x304c11,_0x5caae5,_0x33e48f,_0x3be34c)=>{for(var _0x103280=_0x3be34c>0x1?void 0x0:_0x3be34c?_0x3ab485(_0x5caae5,_0x33e48f):_0x5caae5,_0x90046f=_0x304c11['length']-0x1,_0x3a508c;_0x90046f>=0x0;_0x90046f--)(_0x3a508c=_0x304c11[_0x90046f])&&(_0x103280=_0x3a508c(_0x103280)||_0x103280);return _0x103280;},_0x29345c=(_0x11ac8d,_0x49951c)=>(_0x2a47e2,_0x328ac4)=>_0x49951c(_0x2a47e2,_0x328ac4,_0x11ac8d);let _0x129f15=class{constructor(_0x3976c4,_0x2b7da5,_0x26f03d){const _0x1b2b28=_0x140f32;this[_0x1b2b28(0x2b5)]=_0x3976c4,this[_0x1b2b28(0x24a)]=_0x2b7da5,this[_0x1b2b28(0x12e)]=_0x26f03d;}[_0x140f32(0x3ab)](_0x445240){const _0x53ea65=_0x140f32;this['_transformUndoRedoStack'](_0x445240),this[_0x53ea65(0x14b)](_0x445240);}[_0x140f32(0x2d3)](_0x5eb044){const _0x52de16=_0x140f32,{unitID:_0x5e9a6e}=_0x5eb044,_0x29aad0=this['_renderManagerService'][_0x52de16(0x341)](_0x5e9a6e)['with'](_0x37c85e[_0x52de16(0x33a)]),{redoCache:_0x128336}=_0x29aad0[_0x52de16(0x272)]();if(_0x128336[_0x52de16(0x223)]===0x0)return _0x5eb044;let _0x373555=_0x1061f8['Tools'][_0x52de16(0x2d7)](_0x5eb044[_0x52de16(0x120)][0x0]);for(let _0x38c1bb=0x0;_0x38c1bb<_0x128336[_0x52de16(0x223)];_0x38c1bb++){const _0x5d8805={'id':_0x52de16(0x275),'params':{..._0x128336[_0x38c1bb]}},_0x3042f0=this[_0x52de16(0x24a)]['transformMutation'](_0x373555,_0x5d8805,!0x1);if(_0x50da05[_0x52de16(0x388)](_0x3042f0))throw _0x3042f0[_0x52de16(0x320)];_0x373555=_0x3042f0[_0x52de16(0x3a6)];}return{..._0x1061f8[_0x52de16(0x35f)]['deepClone'](_0x5eb044),'mutations':[_0x373555]};}['_transformUndoRedoStack'](_0x2fcf47){const _0x3fda71=_0x140f32,{unitID:_0x58c868}=_0x2fcf47,_0x208a40=this[_0x3fda71(0x12e)]['getRenderById'](_0x58c868)['with'](_0x37c85e[_0x3fda71(0x33a)]),{undoCache:_0x30f0c4,redoCache:_0x5b6f2e}=_0x208a40[_0x3fda71(0x272)]();if(_0x30f0c4[_0x3fda71(0x223)]===0x0||_0x5b6f2e[_0x3fda71(0x223)]===0x0)return;const _0x5a49a9=[],_0x10c2c8=[];let _0x6ae051=_0x1061f8[_0x3fda71(0x35f)][_0x3fda71(0x2d7)](_0x2fcf47['mutations'][0x0]),_0xa84b32=_0x1061f8[_0x3fda71(0x35f)][_0x3fda71(0x2d7)](_0x2fcf47[_0x3fda71(0x120)][0x0]);for(let _0xa3f433=_0x30f0c4['length']-0x1;_0xa3f433>=0x0;_0xa3f433--){const _0x5b100f={'id':_0x3fda71(0x275),'params':{..._0x30f0c4[_0xa3f433]}},_0x148285={'id':_0x3fda71(0x275),'params':{..._0x5b6f2e[_0xa3f433]}},_0x5a29bd=this['_transformService']['transformMutation'](_0x6ae051,_0x5b100f,!0x1),_0xcb4789=this[_0x3fda71(0x24a)][_0x3fda71(0x108)](_0xa84b32,_0x148285,!0x1);if(_0x50da05[_0x3fda71(0x388)](_0x5a29bd))throw _0x5a29bd[_0x3fda71(0x320)];if(_0x50da05[_0x3fda71(0x388)](_0xcb4789))throw _0xcb4789[_0x3fda71(0x320)];_0x5a49a9[_0x3fda71(0x20e)](_0x5a29bd['m2Prime'][_0x3fda71(0x343)]),_0x10c2c8[_0x3fda71(0x20e)](_0xcb4789[_0x3fda71(0x170)]['params']),_0x6ae051=_0x5a29bd['m1Prime'],_0xa84b32=_0xcb4789[_0x3fda71(0x3a6)];}_0x208a40[_0x3fda71(0x185)]({'undoCache':_0x5a49a9,'redoCache':_0x10c2c8});}[_0x140f32(0x14b)](_0x33f66c){const _0x4024f8=_0x140f32,{unitID:_0x165c7c}=_0x33f66c,_0x3f7d24=this[_0x4024f8(0x12e)]['getRenderById'](_0x165c7c)[_0x4024f8(0x21f)](_0x37c85e[_0x4024f8(0x33a)]),_0x4f5edb=_0x3f7d24['getActiveRange']();if(_0x4f5edb==null)return;const _0x3605d1=[{'id':_0x4024f8(0x275),'params':{'unitId':_0x33f66c[_0x4024f8(0x340)],'actions':null,'textRanges':[_0x4f5edb]}}],_0x15216d=this[_0x4024f8(0x24a)][_0x4024f8(0x3a2)](_0x33f66c,_0x3605d1);if(!_0x50da05['isTransformMutationsWithChangesetSuccess'](_0x15216d))throw _0x15216d[_0x4024f8(0x320)];const _0x248edd=_0x15216d[_0x4024f8(0x170)][0x0]['params'][_0x4024f8(0x1e3)];Array['isArray'](_0x248edd)&&_0x248edd[_0x4024f8(0x223)]&&_0x3f7d24[_0x4024f8(0x1b3)](_0x248edd[0x0]);}};_0x129f15=_0x5268a0([_0x29345c(0x0,_0x1061f8[_0x140f32(0x364)](_0x1061f8['Injector'])),_0x29345c(0x1,_0x50da05[_0x140f32(0x204)]),_0x29345c(0x2,_0x47852a[_0x140f32(0x1b9)])],_0x129f15);var _0x2ecd14=Object[_0x140f32(0x10b)],_0x4ead92=(_0x4b66bd,_0x266c9c,_0x3fd844,_0x3ffffd)=>{const _0x50ef76=_0x140f32;for(var _0xf83afa=_0x3ffffd>0x1?void 0x0:_0x3ffffd?_0x2ecd14(_0x266c9c,_0x3fd844):_0x266c9c,_0x52e5d9=_0x4b66bd[_0x50ef76(0x223)]-0x1,_0x389ef4;_0x52e5d9>=0x0;_0x52e5d9--)(_0x389ef4=_0x4b66bd[_0x52e5d9])&&(_0xf83afa=_0x389ef4(_0xf83afa)||_0xf83afa);return _0xf83afa;},_0x95b7ef=(_0x1e071e,_0x1a8216)=>(_0x5c899b,_0x489aa4)=>_0x1a8216(_0x5c899b,_0x489aa4,_0x1e071e);let _0x11a7aa=class{constructor(_0x4e7815,_0x20445d,_0x19c12e){const _0x9ddc67=_0x140f32;this['_injector']=_0x4e7815,this[_0x9ddc67(0x24a)]=_0x20445d,this['_docStateChangeManagerService']=_0x19c12e;}[_0x140f32(0x181)](_0x132071){const _0x3300a1=_0x140f32;this[_0x3300a1(0x194)](_0x132071);}[_0x140f32(0x2d3)](_0x12dab8){const _0x3ccb6e=_0x140f32,{unitID:_0x1367e4}=_0x12dab8,{collaboration:_0xc632ed}=this[_0x3ccb6e(0x30d)]['getStateCache'](_0x1367e4);if(_0xc632ed['length']===0x0)return _0x12dab8;let _0x500aaf=_0x1061f8[_0x3ccb6e(0x35f)][_0x3ccb6e(0x2d7)](_0x12dab8[_0x3ccb6e(0x120)][0x0]);for(let _0x2f0334=0x0;_0x2f0334<_0xc632ed['length'];_0x2f0334++){const _0x4fbbc5={'id':_0x3ccb6e(0x275),'params':{'unitId':_0xc632ed[_0x2f0334][_0x3ccb6e(0x16a)],..._0xc632ed[_0x2f0334][_0x3ccb6e(0x1fb)]}},_0x38d79f=this[_0x3ccb6e(0x24a)][_0x3ccb6e(0x108)](_0x500aaf,_0x4fbbc5,!0x1);if(_0x50da05[_0x3ccb6e(0x388)](_0x38d79f))throw _0x38d79f[_0x3ccb6e(0x320)];_0x500aaf=_0x38d79f[_0x3ccb6e(0x3a6)];}return{..._0x1061f8[_0x3ccb6e(0x35f)][_0x3ccb6e(0x2d7)](_0x12dab8),'mutations':[_0x500aaf]};}[_0x140f32(0x194)](_0x1e9ddf){const _0x1821d3=_0x140f32,{unitID:_0x1c1dee}=_0x1e9ddf,{history:_0x4aee48,collaboration:_0xc70eaa}=this['_docStateChangeManagerService'][_0x1821d3(0x346)](_0x1c1dee);if(_0x4aee48[_0x1821d3(0x223)]===0x0&&_0xc70eaa[_0x1821d3(0x223)]===0x0)return;const _0x46fb9f=[],_0x426cac=[];let _0x3c8048=_0x1061f8['Tools'][_0x1821d3(0x2d7)](_0x1e9ddf[_0x1821d3(0x120)][0x0]),_0x184dd4=_0x1061f8[_0x1821d3(0x35f)][_0x1821d3(0x2d7)](_0x1e9ddf[_0x1821d3(0x120)][0x0]);for(let _0xad2d9f=_0x4aee48['length']-0x1;_0xad2d9f>=0x0;_0xad2d9f--){const _0x2b703d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4aee48[_0xad2d9f][_0x1821d3(0x16a)],..._0x4aee48[_0xad2d9f]['undoState']}},_0x2a0cd1={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4aee48[_0xad2d9f][_0x1821d3(0x16a)],..._0x4aee48[_0xad2d9f][_0x1821d3(0x1fb)]}},_0x1cc651=this[_0x1821d3(0x24a)][_0x1821d3(0x108)](_0x3c8048,_0x2b703d,!0x1),_0x56f28b=this[_0x1821d3(0x24a)][_0x1821d3(0x108)](_0x184dd4,_0x2a0cd1,!0x1);if(_0x50da05[_0x1821d3(0x388)](_0x1cc651))throw _0x1cc651[_0x1821d3(0x320)];if(_0x50da05[_0x1821d3(0x388)](_0x56f28b))throw _0x56f28b[_0x1821d3(0x320)];_0x46fb9f['unshift']({..._0x4aee48[_0xad2d9f],'undoState':_0x1cc651['m2Prime'][_0x1821d3(0x343)],'redoState':_0x56f28b[_0x1821d3(0x170)][_0x1821d3(0x343)]}),_0x3c8048=_0x1cc651[_0x1821d3(0x3a6)],_0x184dd4=_0x56f28b[_0x1821d3(0x3a6)];}_0x3c8048=_0x1061f8['Tools']['deepClone'](_0x1e9ddf['mutations'][0x0]),_0x184dd4=_0x1061f8[_0x1821d3(0x35f)][_0x1821d3(0x2d7)](_0x1e9ddf[_0x1821d3(0x120)][0x0]);for(let _0x452d12=_0xc70eaa[_0x1821d3(0x223)]-0x1;_0x452d12>=0x0;_0x452d12--){const _0x33bb61={'id':_0x1821d3(0x275),'params':{'unitId':_0xc70eaa[_0x452d12][_0x1821d3(0x16a)],..._0xc70eaa[_0x452d12][_0x1821d3(0x2cd)]}},_0x214546={'id':_0x1821d3(0x275),'params':{'unitId':_0xc70eaa[_0x452d12][_0x1821d3(0x16a)],..._0xc70eaa[_0x452d12]['redoState']}},_0x4cf2ae=this[_0x1821d3(0x24a)][_0x1821d3(0x108)](_0x3c8048,_0x33bb61,!0x1),_0xe9a31c=this[_0x1821d3(0x24a)][_0x1821d3(0x108)](_0x184dd4,_0x214546,!0x1);if(_0x50da05[_0x1821d3(0x388)](_0x4cf2ae))throw _0x4cf2ae[_0x1821d3(0x320)];if(_0x50da05[_0x1821d3(0x388)](_0xe9a31c))throw _0xe9a31c['error'];_0x426cac[_0x1821d3(0x20e)]({..._0xc70eaa[_0x452d12],'undoState':_0x4cf2ae[_0x1821d3(0x170)]['params'],'redoState':_0xe9a31c['m2Prime'][_0x1821d3(0x343)]}),_0x3c8048=_0x4cf2ae[_0x1821d3(0x3a6)],_0x184dd4=_0xe9a31c[_0x1821d3(0x3a6)];}this[_0x1821d3(0x30d)][_0x1821d3(0x2ef)](_0x1c1dee,{'history':_0x46fb9f,'collaboration':_0x426cac});}};_0x11a7aa=_0x4ead92([_0x95b7ef(0x0,_0x1061f8['Inject'](_0x1061f8['Injector'])),_0x95b7ef(0x1,_0x50da05[_0x140f32(0x204)]),_0x95b7ef(0x2,_0x1061f8[_0x140f32(0x364)](_0x37c85e['DocStateChangeManagerService']))],_0x11a7aa);var _0x26d6d4=Object[_0x140f32(0x10b)],_0x1e7621=(_0x115f80,_0x10bd0e,_0x299066,_0x3f644e)=>{const _0x4a2469=_0x140f32;for(var _0x1eab27=_0x3f644e>0x1?void 0x0:_0x3f644e?_0x26d6d4(_0x10bd0e,_0x299066):_0x10bd0e,_0x1961f6=_0x115f80[_0x4a2469(0x223)]-0x1,_0x108d25;_0x1961f6>=0x0;_0x1961f6--)(_0x108d25=_0x115f80[_0x1961f6])&&(_0x1eab27=_0x108d25(_0x1eab27)||_0x1eab27);return _0x1eab27;},_0x16e64f=(_0x34792d,_0x2e2d83)=>(_0xb96b30,_0x104e68)=>_0x2e2d83(_0xb96b30,_0x104e68,_0x34792d);let _0x2734ca=class{constructor(_0x91a9b5,_0xcdf692){const _0x123314=_0x140f32;this[_0x123314(0x2b5)]=_0x91a9b5,this[_0x123314(0x24a)]=_0xcdf692;}[_0x140f32(0x18c)](_0x294149){const _0x2f95bc=_0x140f32;var _0x307f69;const _0x46acb2=this[_0x2f95bc(0x2b5)]['get'](_0x4639f7[_0x2f95bc(0x114)]),_0x1f19ed=(_0x307f69=_0x46acb2[_0x2f95bc(0x16f)]())!=null?_0x307f69:[];if(_0x1f19ed[_0x2f95bc(0x223)]===0x0)return;const _0x26d526=_0x294149[_0x2f95bc(0x340)],_0x13da7a=[{'id':_0x2f95bc(0x275),'params':{'unitId':_0x26d526,'actions':null,'textRanges':_0x1f19ed}}],_0x53434b=this[_0x2f95bc(0x24a)]['transformMutationsWithChangeset'](_0x294149,_0x13da7a);if(!_0x50da05[_0x2f95bc(0x23b)](_0x53434b))throw _0x53434b['error'];const _0x294126=_0x53434b[_0x2f95bc(0x170)][0x0][_0x2f95bc(0x343)]['textRanges'];Array[_0x2f95bc(0x205)](_0x294126)&&_0x294126[_0x2f95bc(0x223)]&&_0x46acb2[_0x2f95bc(0x2aa)](_0x294126,{'unitId':_0x26d526,'subUnitId':_0x26d526},!0x1);}};_0x2734ca=_0x1e7621([_0x16e64f(0x0,_0x1061f8[_0x140f32(0x364)](_0x1061f8[_0x140f32(0x178)])),_0x16e64f(0x1,_0x50da05['ITransformService'])],_0x2734ca);var _0x2afc4e=Object['getOwnPropertyDescriptor'],_0x5551c1=(_0x1b5ec1,_0x12d9e3,_0x347d56,_0x55fe5d)=>{const _0x225103=_0x140f32;for(var _0x3868f7=_0x55fe5d>0x1?void 0x0:_0x55fe5d?_0x2afc4e(_0x12d9e3,_0x347d56):_0x12d9e3,_0x588d6c=_0x1b5ec1[_0x225103(0x223)]-0x1,_0x3e6a06;_0x588d6c>=0x0;_0x588d6c--)(_0x3e6a06=_0x1b5ec1[_0x588d6c])&&(_0x3868f7=_0x3e6a06(_0x3868f7)||_0x3868f7);return _0x3868f7;},_0x128152=(_0x90ebd,_0x181d31)=>(_0x485e38,_0x31ff5b)=>_0x181d31(_0x485e38,_0x31ff5b,_0x90ebd);let _0x3c3322=class extends _0x1061f8[_0x140f32(0x2e7)]{constructor(_0xdc79cd,_0x4da355,_0x5d2404,_0x194ded,_0x590042,_0x1dc97f,_0x575cd5,_0x455602){const _0x1133c8=_0x140f32;super(),_0x9b1d7c(this,_0x1133c8(0x283),new _0x3a20ae[(_0x1133c8(0x36b))](_0x55c138[_0x1133c8(0x2f1)][_0x1133c8(0x310)])),(this[_0x1133c8(0x30d)]=_0xdc79cd,this[_0x1133c8(0x29f)]=_0x4da355,this[_0x1133c8(0x2cc)]=_0x5d2404,this[_0x1133c8(0x38a)]=_0x194ded,this[_0x1133c8(0x350)]=_0x590042,this[_0x1133c8(0x116)]=_0x1dc97f,this[_0x1133c8(0x237)]=_0x575cd5,this['_localeService']=_0x455602,this[_0x1133c8(0x123)]());}[_0x140f32(0x123)](){const _0x223a21=_0x140f32;this['disposeWithMe'](this[_0x223a21(0x29f)][_0x223a21(0x367)][_0x223a21(0x225)](_0x3f18e3=>{const _0x349e22=_0x223a21,_0x6e715e=this[_0x349e22(0x30d)][_0x349e22(0x202)][_0x349e22(0x225)](_0x3c583e=>{const _0x1d3434=_0x349e22;if(_0x3c583e==null)return;const {unitId:_0x416fd8,redoState:_0x17a942,commandId:_0x38363c}=_0x3c583e;if(_0x416fd8!==_0x3f18e3[_0x1d3434(0x340)])return;const _0x108024={'id':_0x38363c,'type':_0x1061f8[_0x1d3434(0x19c)]['MUTATION'],'params':{'unitId':_0x416fd8,'actions':_0x17a942['actions'],'textRanges':null}};_0x3f18e3['onLocalMutation'](_0x108024);});if(_0x3f18e3[_0x349e22(0x26b)](_0x6e715e),_0x3f18e3 instanceof _0x55c138['DocCollaborationEntity']){const _0xa519bf={'onTransformIME':_0x132161=>this[_0x349e22(0x2cc)][_0x349e22(0x3ab)](_0x132161),'onTransformState':_0x133a27=>this[_0x349e22(0x38a)][_0x349e22(0x181)](_0x133a27),'onTransformSelections':_0x431245=>this['_docTransformSelectionsService'][_0x349e22(0x18c)](_0x431245),'onSyncEditingCollabCursor':_0x2c40af=>this[_0x349e22(0x116)][_0x349e22(0x1ef)](_0x2c40af),'onTransformRemoteChangesetByIMECache':_0x4035c7=>this[_0x349e22(0x2cc)][_0x349e22(0x2d3)](_0x4035c7),'onTransformRemoteChangesetByStateCache':_0x4c4377=>this['_docTransformStateCacheService'][_0x349e22(0x2d3)](_0x4c4377)};_0x3f18e3[_0x349e22(0x2c4)](_0xa519bf);}}));}};_0x3c3322=_0x5551c1([_0x128152(0x0,_0x1061f8[_0x140f32(0x364)](_0x37c85e[_0x140f32(0x308)])),_0x128152(0x1,_0x1061f8['Inject'](_0x55c138[_0x140f32(0x1bb)])),_0x128152(0x2,_0x1061f8['Inject'](_0x129f15)),_0x128152(0x3,_0x1061f8[_0x140f32(0x364)](_0x11a7aa)),_0x128152(0x4,_0x1061f8[_0x140f32(0x364)](_0x2734ca)),_0x128152(0x5,_0x1061f8[_0x140f32(0x364)](_0x1162b2)),_0x128152(0x6,_0x17254d[_0x140f32(0x22e)]),_0x128152(0x7,_0x1061f8['Inject'](_0x1061f8[_0x140f32(0x1fc)]))],_0x3c3322);var _0x4733f5=Object[_0x140f32(0x10b)],_0x533825=(_0x1c28fa,_0x3c550c,_0x513eca,_0x3a8a36)=>{const _0x4a49cd=_0x140f32;for(var _0x67887f=_0x3a8a36>0x1?void 0x0:_0x3a8a36?_0x4733f5(_0x3c550c,_0x513eca):_0x3c550c,_0x2aa689=_0x1c28fa[_0x4a49cd(0x223)]-0x1,_0x54fc31;_0x2aa689>=0x0;_0x2aa689--)(_0x54fc31=_0x1c28fa[_0x2aa689])&&(_0x67887f=_0x54fc31(_0x67887f)||_0x67887f);return _0x67887f;},_0x3d6baa=(_0x44f0b8,_0x8d9885)=>(_0x3eed34,_0xef826a)=>_0x8d9885(_0x3eed34,_0xef826a,_0x44f0b8);let _0xda65eb=class extends _0x1061f8[_0x140f32(0x2e7)]{constructor(_0x5bfd9c,_0x17b61b,_0x4cc1c2){const _0x12e716=_0x140f32;super(),_0x9b1d7c(this,_0x12e716(0x305),new Map()),_0x9b1d7c(this,_0x12e716(0x3a8),new Map()),_0x9b1d7c(this,_0x12e716(0x276),!0x1),(this['_configService']=_0x5bfd9c,this[_0x12e716(0x140)]=_0x17b61b,this[_0x12e716(0x211)]=_0x4cc1c2);}[_0x140f32(0x2f9)](){const _0x16c5f2=_0x140f32;this[_0x16c5f2(0x276)]=!0x0;}[_0x140f32(0x177)](){const _0x30b1b1=_0x140f32;this[_0x30b1b1(0x276)]=!0x1;}get[_0x140f32(0x2a7)](){return this['_saveTaskMap'];}[_0x140f32(0x16d)](){const _0x43facb=_0x140f32;this['exhaustSavingTask']()[_0x43facb(0x1f9)](()=>super['dispose']());}async['loadOfflineData'](_0x54c26d){const _0x28190b=_0x140f32;return this[_0x28190b(0x276)]?null:this[_0x28190b(0x140)][_0x28190b(0x2af)](_0x55c138['getLocalCacheKey'](_0x54c26d));}async[_0x140f32(0x285)](_0x206e2e,_0x3b251f){const _0x25db7d=_0x140f32;return!!this[_0x25db7d(0x140)][_0x25db7d(0x12c)](_0x206e2e,_0x3b251f);}[_0x140f32(0x372)](_0x571985,_0xbfe339,_0x1b1a6a,_0x582665){const _0x2ccd7b=_0x140f32,_0x23b466=this[_0x2ccd7b(0x211)][_0x2ccd7b(0x1d3)](_0x571985);this[_0x2ccd7b(0x305)]['set'](_0x571985,{'unitID':_0x571985,'type':_0xbfe339,'awaitingChangeset':_0x1b1a6a,'mutations':_0x582665,'rev':_0x23b466}),this['_saveTaskMap'][_0x2ccd7b(0x171)](_0x571985)||this[_0x2ccd7b(0x37e)](_0x571985);}['_scheduleSaving'](_0x351b8d){const _0x380d7d=_0x140f32,_0x38a81c=this[_0x380d7d(0x2ed)]();_0x38a81c===0x0?this[_0x380d7d(0x3ac)](_0x351b8d):this[_0x380d7d(0x3a8)][_0x380d7d(0x266)](_0x351b8d,setTimeout(()=>this[_0x380d7d(0x3ac)](_0x351b8d),_0x38a81c));}['_getSaveTimeout'](){const _0x256a75=_0x140f32;var _0x275b64;return(_0x275b64=this['_configService'][_0x256a75(0x200)](_0x55c138[_0x256a75(0x2da)]))!=null?_0x275b64:_0x55c138[_0x256a75(0x195)];}['_saveCache'](_0x51b33b){const _0x3e3b8f=_0x140f32,_0x58ca3f=this[_0x3e3b8f(0x3a8)][_0x3e3b8f(0x382)](_0x51b33b);return _0x58ca3f!==void 0x0&&window[_0x3e3b8f(0x132)](_0x58ca3f),this[_0x3e3b8f(0x140)]['setItem'](_0x55c138[_0x3e3b8f(0x29a)](_0x51b33b),this['_cachedData'][_0x3e3b8f(0x382)](_0x51b33b))['then'](()=>this['_saveTaskMap']['delete'](_0x51b33b));}async[_0x140f32(0x1b4)](){const _0x48f82a=_0x140f32,_0x3c435f=[];this[_0x48f82a(0x3a8)][_0x48f82a(0x282)]((_0x24fd60,_0x421078)=>{const _0x10961a=_0x48f82a;window['clearTimeout'](_0x24fd60),_0x3c435f['push'](this[_0x10961a(0x3ac)](_0x421078)[_0x10961a(0x1f9)](()=>{const _0x4001da=_0x10961a;this[_0x4001da(0x3a8)]['delete'](_0x421078);}));}),await Promise[_0x48f82a(0x1f2)](_0x3c435f);}};_0xda65eb=_0x533825([_0x3d6baa(0x0,_0x1061f8[_0x140f32(0x334)]),_0x3d6baa(0x1,_0x1061f8[_0x140f32(0x2e2)]),_0x3d6baa(0x2,_0x1061f8[_0x140f32(0x364)](_0x50da05[_0x140f32(0x1ba)]))],_0xda65eb);class _0xe47c93 extends _0x1061f8[_0x140f32(0x2f8)]{constructor(){const _0x477239=_0x140f32;super(),_0x9b1d7c(this,'urlChange$'),this['urlChange$']=_0x3a20ae['fromEvent'](window,'popstate')[_0x477239(0x13a)](_0x3a20ae[_0x477239(0x36a)](this[_0x477239(0x1fe)]),_0x3a20ae['shareReplay'](0x1),_0x3a20ae[_0x477239(0x25a)](void 0x0));}[_0x140f32(0x151)](_0x72d6b7,_0x13fa43,_0x3abe64=!0x1){const _0x28b239=_0x140f32,_0x1b22f5=new URL(window[_0x28b239(0x38c)][_0x28b239(0x2fd)]);_0x1b22f5[_0x28b239(0x1a1)][_0x28b239(0x266)](_0x72d6b7,_0x13fa43),_0x3abe64?window[_0x28b239(0x1b6)][_0x28b239(0x2e3)]('','',_0x1b22f5[_0x28b239(0x3a7)]()):window[_0x28b239(0x1b6)][_0x28b239(0x13d)]('','',_0x1b22f5[_0x28b239(0x3a7)]());}[_0x140f32(0x2d4)](_0x517fa9,_0x5296df=!0x1){const _0x2348ca=_0x140f32,_0x22e786=new URL(window[_0x2348ca(0x38c)][_0x2348ca(0x2fd)]);_0x22e786[_0x2348ca(0x1a1)][_0x2348ca(0x18a)](_0x517fa9),_0x5296df?window[_0x2348ca(0x1b6)][_0x2348ca(0x2e3)]('','',_0x22e786[_0x2348ca(0x3a7)]()):window[_0x2348ca(0x1b6)][_0x2348ca(0x13d)]('','',_0x22e786['toString']());}[_0x140f32(0x278)](_0xeae979){const _0x2df018=_0x140f32;var _0x50e52d;return(_0x50e52d=new URL(window[_0x2df018(0x38c)][_0x2df018(0x2fd)])[_0x2df018(0x1a1)]['get'](_0xeae979))!=null?_0x50e52d:void 0x0;}}var _0x4c1bea=Object[_0x140f32(0x2eb)],_0x375c85=Object[_0x140f32(0x10b)],_0xc0896a=(_0x4b3f02,_0x4cb7d0,_0x7ace8e)=>_0x4cb7d0 in _0x4b3f02?_0x4c1bea(_0x4b3f02,_0x4cb7d0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x7ace8e}):_0x4b3f02[_0x4cb7d0]=_0x7ace8e,_0x116eae=(_0x4c2c9f,_0x11b787,_0x22bffe,_0x4d8148)=>{const _0x54f613=_0x140f32;for(var _0x908326=_0x4d8148>0x1?void 0x0:_0x4d8148?_0x375c85(_0x11b787,_0x22bffe):_0x11b787,_0x26baaa=_0x4c2c9f[_0x54f613(0x223)]-0x1,_0x8686d;_0x26baaa>=0x0;_0x26baaa--)(_0x8686d=_0x4c2c9f[_0x26baaa])&&(_0x908326=_0x8686d(_0x908326)||_0x908326);return _0x908326;},_0x2cd974=(_0x531f45,_0x10cf65)=>(_0x326e82,_0x31371b)=>_0x10cf65(_0x326e82,_0x31371b,_0x531f45),_0x433540=(_0xc9b9f7,_0x56aaad,_0x1b3d24)=>_0xc0896a(_0xc9b9f7,_0x56aaad+'',_0x1b3d24);const _0x4c1bf7=_0x140f32(0x357);_0x5a5a65[_0x140f32(0x2fc)]=class extends _0x1061f8[_0x140f32(0x2e6)]{constructor(_0x52e0e7=_0x243b1c,_0x420332,_0x55927d,_0x56fbc8){const _0x13f6e7=_0x140f32;super(),this[_0x13f6e7(0x1e8)]=_0x52e0e7,this[_0x13f6e7(0x12e)]=_0x420332,this[_0x13f6e7(0x2b5)]=_0x55927d,this[_0x13f6e7(0x1d8)]=_0x56fbc8;const {..._0x4bb743}=_0x1061f8[_0x13f6e7(0x28f)]({},_0x243b1c,this[_0x13f6e7(0x1e8)]);this[_0x13f6e7(0x1d8)][_0x13f6e7(0x144)](_0x373b98,_0x4bb743);}[_0x140f32(0x1b8)](){this['_registerDependencies'](),this['_initDependencies']();}['onRendered'](){const _0x4d06b3=_0x140f32;this[_0x4d06b3(0x179)]();}[_0x140f32(0x25f)](){const _0x56bf94=_0x140f32;var _0x2dda9a;const _0x5f5991=[[_0x23270c],[_0x2734ca],[_0x129f15],[_0x11a7aa],[_0x1162b2],[_0x1f2ba8,{'useClass':_0xe47c93}],[_0x2bf9f0[_0x56bf94(0x373)],{'useClass':_0x2bf9f0[_0x56bf94(0x27f)]}],[_0x55c138[_0x56bf94(0x354)],{'useClass':_0xda65eb}],[_0x5a5a65[_0x56bf94(0x37b)]],[_0x3c3322],[_0x11f97c],[_0xe5aa4e],[_0x131abd],[_0x5a5a65[_0x56bf94(0x280)]]];_0x1061f8[_0x56bf94(0x208)](this['_injector'],_0x1061f8['mergeOverrideWithDependencies'](_0x5f5991,(_0x2dda9a=this['_config'])==null?void 0x0:_0x2dda9a['override']));}[_0x140f32(0x179)](){const _0x3947ce=_0x140f32;this[_0x3947ce(0x26b)](this[_0x3947ce(0x12e)][_0x3947ce(0x248)](_0x1061f8[_0x3947ce(0x2f4)][_0x3947ce(0x2f3)],[_0x2f3eac])),this['disposeWithMe'](this[_0x3947ce(0x12e)][_0x3947ce(0x248)](_0x1061f8[_0x3947ce(0x2f4)][_0x3947ce(0x109)],[_0x27741d]));}['_initDependencies'](){const _0x35d688=_0x140f32;_0x1061f8['touchDependencies'](this['_injector'],[[_0xe5aa4e],[_0x5a5a65[_0x35d688(0x37b)]],[_0x3c3322],[_0x11f97c],[_0x5a5a65['CollaborationDataLoaderController']]]);}},_0x433540(_0x5a5a65[_0x140f32(0x2fc)],_0x140f32(0x38d),_0x4c1bf7),_0x5a5a65[_0x140f32(0x2fc)]=_0x116eae([_0x1061f8[_0x140f32(0x197)](_0x55c138[_0x140f32(0x230)]),_0x2cd974(0x1,_0x47852a[_0x140f32(0x1b9)]),_0x2cd974(0x2,_0x1061f8[_0x140f32(0x364)](_0x1061f8[_0x140f32(0x178)])),_0x2cd974(0x3,_0x1061f8[_0x140f32(0x334)])],_0x5a5a65[_0x140f32(0x2fc)]);var _0x656121=Object['getOwnPropertyDescriptor'],_0xc696b4=(_0x1f2e5,_0x441c78,_0x5621b1,_0x2cef97)=>{const _0x703031=_0x140f32;for(var _0x12e115=_0x2cef97>0x1?void 0x0:_0x2cef97?_0x656121(_0x441c78,_0x5621b1):_0x441c78,_0x2eb2e5=_0x1f2e5[_0x703031(0x223)]-0x1,_0x3b976d;_0x2eb2e5>=0x0;_0x2eb2e5--)(_0x3b976d=_0x1f2e5[_0x2eb2e5])&&(_0x12e115=_0x3b976d(_0x12e115)||_0x12e115);return _0x12e115;},_0xeedb08=(_0x2e323a,_0x2787e1)=>(_0x3f4dc1,_0x15600b)=>_0x2787e1(_0x3f4dc1,_0x15600b,_0x2e323a);_0x5a5a65[_0x140f32(0x29e)]=class extends _0x55c138[_0x140f32(0x1c8)]{constructor(_0x5b9414,_0x4c93ba,_0x20c9b8,_0x5bfe64,_0x45adbd){super(_0x5b9414,_0x4c93ba,_0x20c9b8,_0x5bfe64,_0x45adbd);}async[_0x140f32(0x1fa)](_0x492447){const _0x3eba46=_0x140f32,_0x43056c=await this['_getSessionTicket'](),_0x3958af=this[_0x3eba46(0x214)](_0x492447,_0x43056c);return this[_0x3eba46(0x11e)](_0x3958af);}['_createSocketURL'](_0x549d40,_0x64105f){const _0x315a84=_0x140f32,_0x2e4833=typeof window>'u'?new URL(_0x549d40):new URL(_0x549d40,window[_0x315a84(0x38c)][_0x315a84(0x23c)]);_0x2e4833[_0x315a84(0x1a1)]['set'](_0x315a84(0x213),_0x64105f);const _0x1dea16=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x315a84(0x38c)][_0x315a84(0x32c)]);return _0x1dea16['get'](_0x315a84(0x390))&&_0x2e4833[_0x315a84(0x1a1)]['set'](_0x315a84(0x390),_0x1dea16[_0x315a84(0x382)](_0x315a84(0x390))),_0x2e4833[_0x315a84(0x3a7)]();}async[_0x140f32(0x2ab)](){const _0x35b584=_0x140f32;var _0x47ae54,_0x307ce9,_0x22a95;const _0x5b0e05=this[_0x35b584(0x1d8)][_0x35b584(0x200)](_0x55c138[_0x35b584(0x17d)]),_0x26c238=(_0x47ae54=_0x5b0e05==null?void 0x0:_0x5b0e05[_0x35b584(0x184)])!=null?_0x47ae54:_0x55c138[_0x35b584(0x155)];return(_0x22a95=(_0x307ce9=(await this[_0x35b584(0x2a9)][_0x35b584(0x382)](_0x26c238,{'headers':{'Content-Type':_0x35b584(0x2df)}}))[_0x35b584(0x1ca)])==null?void 0x0:_0x307ce9['ticket'])!=null?_0x22a95:'';}},_0x5a5a65[_0x140f32(0x29e)]=_0xc696b4([_0xeedb08(0x0,_0x1061f8[_0x140f32(0x364)](_0x1061f8[_0x140f32(0x178)])),_0xeedb08(0x1,_0x1061f8['Inject'](_0x2bf9f0[_0x140f32(0x233)])),_0xeedb08(0x2,_0x1061f8[_0x140f32(0x334)]),_0xeedb08(0x3,_0x1061f8[_0x140f32(0x1be)]),_0xeedb08(0x4,_0x50da05[_0x140f32(0x111)])],_0x5a5a65[_0x140f32(0x29e)]);const _0x14e3a1=0x7530,_0x196f4c=_0x140f32(0x274);class _0x89e3f9 extends _0x1061f8[_0x140f32(0x2e7)]{constructor(){const _0xa56989=_0x140f32;super(),_0x9b1d7c(this,_0xa56989(0x22f),_0x1061f8[_0xa56989(0x130)]()),_0x9b1d7c(this,_0xa56989(0x163),new Set()),_0x9b1d7c(this,_0xa56989(0x168),new Map()),_0x9b1d7c(this,_0xa56989(0x38f),null),_0x9b1d7c(this,_0xa56989(0x240),new Map()),_0x9b1d7c(this,_0xa56989(0x39c),new Map()),this['_init']();}['dispose'](){const _0x199fae=_0x140f32;super['dispose'](),this[_0x199fae(0x240)][_0x199fae(0x282)]((_0x4ea977,_0x20d359)=>this[_0x199fae(0x11b)](_0x20d359)),this[_0x199fae(0x38f)]&&window[_0x199fae(0x216)](this[_0x199fae(0x38f)]);}[_0x140f32(0x302)](_0x8f177d){const _0x27499a=_0x140f32;return this[_0x27499a(0x293)](_0x8f177d)[_0x27499a(0x13a)](_0x3a20ae[_0x27499a(0x329)]());}['editingUnit'](_0x57156e){const _0x41e230=_0x140f32;this[_0x41e230(0x163)][_0x41e230(0x162)]===0x0&&this[_0x41e230(0x28c)](),this['_selfUnitIDs'][_0x41e230(0x33c)](_0x57156e),this[_0x41e230(0x137)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x57156e],'isForwarded':!0x1});}[_0x140f32(0x148)](_0x4191e1){const _0x49ab85=_0x140f32;this[_0x49ab85(0x163)][_0x49ab85(0x18a)](_0x4191e1),this[_0x49ab85(0x163)][_0x49ab85(0x162)]===0x0&&this[_0x49ab85(0x38f)]&&window[_0x49ab85(0x216)](this[_0x49ab85(0x38f)]);}[_0x140f32(0x2c9)](){const _0x2acb1a=_0x140f32;this['disposeWithMe'](_0x1061f8[_0x2acb1a(0x292)](_0x3a20ae['fromEvent'](window,_0x2acb1a(0x25e))[_0x2acb1a(0x225)](_0x4d2764=>{const _0x401e19=_0x2acb1a;if(_0x4d2764[_0x401e19(0x1da)]!==_0x196f4c||!_0x4d2764[_0x401e19(0x13b)])return;const _0x5e4656=JSON[_0x401e19(0x1b0)](_0x4d2764['newValue']);this[_0x401e19(0x369)](_0x5e4656);}))),window['addEventListener'](_0x2acb1a(0x356),()=>this[_0x2acb1a(0x137)]({'type':0x1,'memberID':this[_0x2acb1a(0x22f)],'unitIDs':Array[_0x2acb1a(0x37c)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x207c00){const _0x38dee1=_0x140f32;switch(_0x207c00[_0x38dee1(0x374)]){case 0x0:this[_0x38dee1(0x153)](_0x207c00);break;case 0x1:this[_0x38dee1(0x33e)](_0x207c00);break;case 0x2:this[_0x38dee1(0x21b)](_0x207c00);break;}}['_handleJoinEvent'](_0x17f230){const _0x44122b=_0x140f32,{unitIDs:_0x88a300,memberID:_0x430d32,isForwarded:_0x36cd6e}=_0x17f230;_0x88a300[_0x44122b(0x282)](_0x3dd518=>{const _0x1b3306=_0x44122b;if(!_0x36cd6e&&this['_unitOnClients'][_0x1b3306(0x171)](_0x3dd518)&&this['_ensureSubject'](_0x3dd518)[_0x1b3306(0x2b7)](_0x55c138['UnitStatus'][_0x1b3306(0x34a)]),!this[_0x1b3306(0x168)]['has'](_0x3dd518)||!this['_unitOnClients'][_0x1b3306(0x382)](_0x3dd518)[_0x1b3306(0x171)](_0x430d32)){const _0x14b40f=this[_0x1b3306(0x168)][_0x1b3306(0x382)](_0x3dd518)||new Set();_0x14b40f[_0x1b3306(0x33c)](_0x430d32),this[_0x1b3306(0x168)][_0x1b3306(0x266)](_0x3dd518,_0x14b40f),this[_0x1b3306(0x201)](_0x430d32);}}),_0x36cd6e||this['_send']({'type':0x0,'memberID':this[_0x44122b(0x22f)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x140f32(0x201)](_0x2f0000){const _0x2fcbf0=_0x140f32;this['_removeClearOtherTimer'](_0x2f0000);const _0xb57c18=window[_0x2fcbf0(0x2a1)](()=>{const _0x2bb7ae=_0x2fcbf0;this['_unitOnClients'][_0x2bb7ae(0x282)](_0x97df11=>{_0x97df11['delete'](_0x2f0000);});},_0x14e3a1*0x2);this[_0x2fcbf0(0x240)][_0x2fcbf0(0x266)](_0x2f0000,_0xb57c18);}['_removeClearOtherTimer'](_0x1f6395){const _0x20a0a0=_0x140f32;if(this[_0x20a0a0(0x240)][_0x20a0a0(0x171)](_0x1f6395)){const _0x4a0ce9=this[_0x20a0a0(0x240)][_0x20a0a0(0x382)](_0x1f6395);_0x4a0ce9&&window[_0x20a0a0(0x132)](_0x4a0ce9),this[_0x20a0a0(0x240)][_0x20a0a0(0x266)](_0x1f6395,null);}}[_0x140f32(0x33e)](_0x305036){const _0xd0f851=_0x140f32,{memberID:_0x3fb135,unitIDs:_0x36cc94}=_0x305036;_0x36cc94[_0xd0f851(0x282)](_0xd8ea05=>{const _0xc29fa5=_0xd0f851;var _0x4e8079;const _0x57460a=this['_unitOnClients']['get'](_0xd8ea05);_0x57460a&&(_0x57460a[_0xc29fa5(0x18a)](_0x3fb135),(_0x4e8079=this[_0xc29fa5(0x293)](_0xd8ea05))==null||_0x4e8079[_0xc29fa5(0x2b7)](_0x57460a[_0xc29fa5(0x162)]===0x0?_0x55c138[_0xc29fa5(0x365)]['NO_OTHER_CLIENTS_EDITING']:_0x55c138['UnitStatus'][_0xc29fa5(0x34a)]));}),this[_0xd0f851(0x11b)](_0x3fb135);}[_0x140f32(0x21b)](_0x222ce6){const _0x459fc2=_0x140f32;this[_0x459fc2(0x201)](_0x222ce6[_0x459fc2(0x19d)]);}['_send'](_0x572c87){const _0x2a8a16=_0x140f32;localStorage[_0x2a8a16(0x12c)](_0x196f4c,JSON[_0x2a8a16(0x172)](_0x572c87));}[_0x140f32(0x28c)](){const _0x470b1d=_0x140f32;this['_heartbeatTimer']=window[_0x470b1d(0x316)](()=>{const _0x493069=_0x470b1d;this[_0x493069(0x137)]({'type':0x2,'memberID':this[_0x493069(0x22f)]});},_0x14e3a1);}['_ensureSubject'](_0x573d41){const _0x4f95e8=_0x140f32;return this[_0x4f95e8(0x39c)][_0x4f95e8(0x171)](_0x573d41)||this[_0x4f95e8(0x39c)][_0x4f95e8(0x266)](_0x573d41,new _0x3a20ae[(_0x4f95e8(0x36b))](_0x55c138[_0x4f95e8(0x365)][_0x4f95e8(0x289)])),this['_unitStatus'][_0x4f95e8(0x382)](_0x573d41);}}var _0x2e06d2=(_0x40da5f=>(_0x40da5f[_0x40da5f['UNDEFINED']=0x0]=_0x140f32(0x174),_0x40da5f[_0x40da5f['OK']=0x1]='OK',_0x40da5f[_0x40da5f[_0x140f32(0x28a)]=0x2]=_0x140f32(0x28a),_0x40da5f[_0x40da5f[_0x140f32(0x30c)]=0x3]=_0x140f32(0x30c),_0x40da5f[_0x40da5f[_0x140f32(0x228)]=0x4]=_0x140f32(0x228),_0x40da5f[_0x40da5f[_0x140f32(0x1ab)]=0x5]=_0x140f32(0x1ab),_0x40da5f[_0x40da5f[_0x140f32(0x1d5)]=0x6]=_0x140f32(0x1d5),_0x40da5f[_0x40da5f[_0x140f32(0x337)]=0x7]=_0x140f32(0x337),_0x40da5f[_0x40da5f[_0x140f32(0x24d)]=0x8]=_0x140f32(0x24d),_0x40da5f[_0x40da5f[_0x140f32(0x150)]=0x9]=_0x140f32(0x150),_0x40da5f[_0x40da5f[_0x140f32(0x13f)]=0xa]=_0x140f32(0x13f),_0x40da5f[_0x40da5f['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x140f32(0x20c),_0x40da5f[_0x40da5f[_0x140f32(0x22b)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x40da5f[_0x40da5f['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x140f32(0x33f),_0x40da5f[_0x40da5f[_0x140f32(0x304)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x40da5f[_0x40da5f[_0x140f32(0x2b0)]=0x1b59]=_0x140f32(0x2b0),_0x40da5f[_0x40da5f[_0x140f32(0x165)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x40da5f[_0x40da5f['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x140f32(0x2c3),_0x40da5f[_0x40da5f[_0x140f32(0x298)]=0x1b5c]=_0x140f32(0x298),_0x40da5f[_0x40da5f[_0x140f32(0x287)]=0x1b5d]='APPLY_DUPLICATED',_0x40da5f[_0x40da5f[_0x140f32(0x269)]=0x1f41]=_0x140f32(0x269),_0x40da5f[_0x40da5f[_0x140f32(0x24b)]=0x2329]=_0x140f32(0x24b),_0x40da5f[_0x40da5f['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x140f32(0x173),_0x40da5f[_0x40da5f[_0x140f32(0x247)]=0x232b]=_0x140f32(0x247),_0x40da5f[_0x40da5f[_0x140f32(0x1e7)]=0x232c]=_0x140f32(0x1e7),_0x40da5f[_0x40da5f[_0x140f32(0x32a)]=0x232d]=_0x140f32(0x32a),_0x40da5f[_0x40da5f[_0x140f32(0x264)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x40da5f[_0x40da5f[_0x140f32(0x19a)]=0x2712]=_0x140f32(0x19a),_0x40da5f[_0x40da5f['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x40da5f[_0x40da5f[_0x140f32(0x142)]=0x2714]=_0x140f32(0x142),_0x40da5f[_0x40da5f[_0x140f32(0x121)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x40da5f[_0x40da5f[_0x140f32(0x26a)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x40da5f[_0x40da5f[_0x140f32(0x29c)]=0x271c]=_0x140f32(0x29c),_0x40da5f[_0x40da5f['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x140f32(0x306),_0x40da5f[_0x40da5f[_0x140f32(0x2ac)]=0x271e]=_0x140f32(0x2ac),_0x40da5f[_0x40da5f['YUUMI_AI_RUN_FAILED']=0x271f]=_0x140f32(0x21c),_0x40da5f[_0x40da5f[_0x140f32(0x2ff)]=0x2af9]=_0x140f32(0x2ff),_0x40da5f[_0x40da5f[_0x140f32(0x260)]=0x2ee1]=_0x140f32(0x260),_0x40da5f[_0x40da5f[_0x140f32(0x175)]=0x2ee2]=_0x140f32(0x175),_0x40da5f[_0x40da5f[_0x140f32(0x2ad)]=0x2ee3]=_0x140f32(0x2ad),_0x40da5f[_0x40da5f[_0x140f32(0x30f)]=0x2ee4]=_0x140f32(0x30f),_0x40da5f[_0x40da5f[_0x140f32(0x1de)]=0x2ee5]=_0x140f32(0x1de),_0x40da5f[_0x40da5f[_0x140f32(0x288)]=0x32c9]=_0x140f32(0x288),_0x40da5f[_0x40da5f['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x140f32(0x1cb),_0x40da5f[_0x40da5f[_0x140f32(0x2fb)]=0x32cb]=_0x140f32(0x2fb),_0x40da5f[_0x40da5f['UNRECOGNIZED']=-0x1]=_0x140f32(0x1c7),_0x40da5f))(_0x2e06d2||{}),_0x27603f=Object[_0x140f32(0x10b)],_0xbd591=(_0x1338b2,_0x44fc0b,_0x5204e6,_0x41f3ed)=>{for(var _0x3a4e03=_0x41f3ed>0x1?void 0x0:_0x41f3ed?_0x27603f(_0x44fc0b,_0x5204e6):_0x44fc0b,_0x44054b=_0x1338b2['length']-0x1,_0x55a95d;_0x44054b>=0x0;_0x44054b--)(_0x55a95d=_0x1338b2[_0x44054b])&&(_0x3a4e03=_0x55a95d(_0x3a4e03)||_0x3a4e03);return _0x3a4e03;},_0x21f999=(_0x5bb0d3,_0x4c0e52)=>(_0x21d638,_0x497cc7)=>_0x4c0e52(_0x21d638,_0x497cc7,_0x5bb0d3);_0x5a5a65[_0x140f32(0x2bd)]=class extends _0x1061f8[_0x140f32(0x2e7)]{constructor(_0x2d5cdd,_0x5b0047,_0x146379){const _0x4e2548=_0x140f32;super(),this[_0x4e2548(0x2f5)]=_0x2d5cdd,this['_httpService']=_0x5b0047,this['_configService']=_0x146379;}async['runOnServer'](_0x5124f2,_0x45643e,_0x1369e7,..._0x36d483){const _0x562984=_0x140f32;var _0x457f7f,_0x537831,_0x1bc16d,_0x14e514;const _0xcab78f=this[_0x562984(0x2f5)][_0x562984(0x277)]();if(!_0xcab78f)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x42de94=((_0x457f7f=this['_configService'][_0x562984(0x200)](_0x55c138[_0x562984(0x118)]))!=null?_0x457f7f:_0x55c138[_0x562984(0x2cb)])+'/'+_0x5124f2+'/run/'+_0x45643e,_0x4145bd=new URL(window['location'][_0x562984(0x2fd)]),_0x5a02dc={'scriptId':_0x5124f2,'runId':(_0x537831=_0x4145bd[_0x562984(0x1a1)][_0x562984(0x382)](_0x562984(0x390)))!=null?_0x537831:'','function':_0x45643e,'unitId':_0xcab78f[_0x562984(0x133)](),'argsOfFunction':JSON[_0x562984(0x172)](_0x36d483),'invokeId':(_0x1bc16d=_0x1369e7[_0x562984(0x17c)])!=null?_0x1bc16d:'','executionId':(_0x14e514=_0x1369e7[_0x562984(0x107)])!=null?_0x14e514:''};try{const _0x268720=await this[_0x562984(0x2a9)][_0x562984(0x246)](_0x42de94,{'body':_0x5a02dc});return _0x268720[_0x562984(0x1ca)][_0x562984(0x320)]&&_0x268720['body'][_0x562984(0x320)]['code']!==_0x2e06d2['OK']?_0x562984(0x2fe):_0x268720[_0x562984(0x1ca)][_0x562984(0x27e)];}catch{return _0x562984(0x2fe);}}},_0x5a5a65['RemoteUniscriptService']=_0xbd591([_0x21f999(0x0,_0x1061f8['IUniverInstanceService']),_0x21f999(0x1,_0x1061f8[_0x140f32(0x364)](_0x2bf9f0['HTTPService'])),_0x21f999(0x2,_0x1061f8[_0x140f32(0x334)])],_0x5a5a65['RemoteUniscriptService']),_0x5a5a65[_0x140f32(0x1f5)]=_0x6adec3,_0x5a5a65[_0x140f32(0x1b2)]=_0x1f2ba8,_0x5a5a65[_0x140f32(0x245)]=_0x394568,_0x5a5a65['WebBrowserSingleActiveUnitService']=_0x89e3f9,_0x5a5a65[_0x140f32(0x1a4)]=_0xe47c93,Object[_0x140f32(0x2eb)](_0x5a5a65,Symbol['toStringTag'],{'value':_0x140f32(0x32d)});}));function _0x12c0(){const _0x59cae5=['url(#$1','_colorIndex','getValue','UniverRpc','filter','_initEvent','green.600','mask','_scene','string','UniverSheets','mapTo','useObservable','IImageIoService','random','storage','_registerDependencies','INVITE_CODE_HAS_BEEN_UES','_hideTimer','clipPath','cursorInfo','YUUMI_UNABLE_LOAD_URL','_onCursorDelete','set','getCurrentSelections','createElement','CONNECTOR_DATA_TOO_LARGE','YUUMI_ASYNCIO_CANCELLED','disposeWithMe','sheetID','trim','collabCursorState$','collaboration-client-ui.config','_refRangeService','_notificationService','getUndoRedoMutationParamsCache','column','ACTIVE_UNIT_EVENT_CHANNEL','doc.mutation.rich-text-editing','_disabled','getFocusedUnit','getParam','DocSkeletonManagerService','replace','push','useRef','collabStatus.synced','result','WebSocketService','CollaborationDataLoaderController','getVpScrollXYInfoByPosToVp','forEach','_status$','FETCH_MISS','saveOfflineData','_updateCollabCursors','APPLY_DUPLICATED','WECHAT_HAS_BEEN_BOUND','NO_OTHER_CLIENTS_EDITING','INTERNAL_ERROR','handleInsertRow','_scheduleHeartbeat','_initCommandExecutedListener','unsubscribe','merge','useCallback','SheetsSelectionsService','toDisposable','_ensureSubject','send','_docSkeletonManagerService','engine','defIds','APPLY_PERMISSION_DENIED','9753194NXuYuN','getLocalCacheKey','measureText','YUUMI_TABLE_NOT_FOUND_IN_UNIT','hide','BrowserCollaborationSocketService','_collaborationController','OTHER_CLIENT_EDITING','setTimeout','contains','_cursorInfo$','sheetId','CLOSE_ROOM','DOC_RANGE_TYPE','saveTaskMap','_entities','_httpService','replaceDocRanges','_getSessionTicket','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','INVITE_CODE_REQUIRED','collab-text-anchor-','getItem','APPLY_REJECT','arc','_session','@univerjs-pro/collaboration','collab-text-range-','_injector','SetSelectionsOperation','next','show','onCommandExecuted','_removeCollabCursors','requireSession','_commandService','RemoteUniscriptService','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','skeleton','startColumn','getMemberID','Warning','APPLY_REVISION_CONFILICT','addHandlerCallback','SessionStatus','@univerjs/engine-render','985329kWvCyZ','hasOwnProperty','_init','_sheetSkeletonManagerService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_docTransformIMECacheService','undoState','runRefRangeMutations','_docSkeleton','_updateURLWithCurrentState','Shape','path','transformRemoteChangeset','removeParam','30oNvgAP','onPointerEnter$','deepClone','_refreshCollabCursors','currentColor','LOCAL_CACHE_INTERVAL_KEY','onTransformChange$','save','complete','UPDATE_CURSOR','application/json','[CollaborationDataLoaderController]','forwardRef','ILocalStorageService','replaceState','indexOf','getColor','Plugin','Disposable','handleMoveRange','fill','_onCursorUpdate','defineProperty','roomMembers','_getSaveTimeout','setShapeProps','setStateCache','restore','CollaborationStatus','fillText','UNIVER_DOC','UniverInstanceType','_instanceService','amd','DisposableCollection','RxDisposable','disableLocalCache','_getSheetObject','EMAIL_HAS_BEEN_BOUND','UniverCollaborationClientUIPlugin','href','Failed','PY_RUNTIME_SCRIPT_ERROR','getOwnPropertySymbols','min','getUnitStatus$','_textBubble','ENSURE_SNAPSHOT_EXECUTION','_cachedData','YUUMI_ALL_TABLES_IS_INVALID','createInstance','DocStateChangeManagerService','some','black','closePath','PERMISSION_DENIED','_docStateChangeManagerService','currentSkeleton$','USER_NOT_INVITED_CODE','NOT_COLLAB','uni.network.url-service','saveImage','div','combineLatest','row','setInterval','getSkeleton','_color','_getScale','_eventUnsubscribe','Error','Workbook','isActive','_entityInit$','startRow','error','SetTextSelectionsOperation','...','_memberService','TEXT_RANGE_LAYER_INDEX','eventID','svg','unit','SOCKET_FAILED','distinctUntilChanged','LICENSE_DISTRO_REJECTED','RemoveRowCommandId','search','Module','roomMembers$','_document','Rect','max','session.connection-failed','_context','IConfigService','CollaborationEvent','Optional','INVALID_ARGUMENT','url(#off-line-icon_clip0_910_343)','includes','DocIMEInputManagerService','icon','add','data','_handleLeaveEvent','SNAPSHOT_HAS_BEEN_REMOVED','unitID','getRenderById','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','params','concat','collabStatus.offline','getStateCache','collaboration.closeRoom','getRelativeToViewportCoord','_getMergeRange','OTHER_CLIENTS_EDITING','UniverProCollaborationClientUi','debounce','MoveRangeCommandId','getCellPositionByOffset','_online','_docTransformSelectionsService','handleInsertRangeMoveRight','getCurrent','getCollabEntity$','ILocalCacheService','OFFLINE','unload','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','transform','whenReady','M0\x200H16V16H0z','SOCKET_FAILED_RETRY','jsxs','119NYOVGu','SUBMIT_CHANGESET_TIMEOUT','Tools','debug','endColumn','_cursorShapes','map','Inject','UnitStatus','rxjs/operators','entityInit$','_toggleOffline','_handleEvent','takeUntil','BehaviorSubject','ranges','_labelPosition','findNodePositionByCharIndex','children','@univerjs/sheets-ui','InsertRowCommandId','updateOfflineData','ISocketService','type','_syncEditingCollabCursorService','JOIN_ROOM_FAILED','511432uVaecl','handleDeleteRangeMoveUp','395855shPecc','registerRefRange','DesktopCollaborationStatusDisplayController','from','purple.300','_scheduleSaving','RECT','_docClipboardService','_shapes','get','Unknown\x20user','object','SetWorksheetActivateCommand','PENDING','CollaborationUIEventService','isTransformMutationFailure','onPointerLeave$','_docTransformStateCacheService','className','location','pluginName','xlink:href','_heartbeatTimer','runId','session.will-retry','_themeService','_handleHover','setAlpha','UniverDocsUi','_logService','displayName','registerComponent','off-line-icon','sessionStatus$','find','_unitStatus','_hover','use','selections','0\x200\x2016\x2016','143511YSVglc','transformMutationsWithChangeset','selection','DeleteRangeMoveLeftCommandId','AWAITING_WITH_PENDING','m1Prime','toString','_saveTaskMap','UniverDrawing','symbol','transformIMECache','_saveCache','_name','handleIRemoveCol','on-line-icon','executionId','transformMutation','UNIVER_SHEET','debounceTime','getOwnPropertyDescriptor','entries','hovered','_imageIoService','SHEET_VIEWPORT_KEY','_collabSessionService','ISnapshotServerService','getUnhiddenWorksheets','fillStyle','DocSelectionManagerService','getCollabCursors$','_docSyncEditingCollabCursorService','attrs','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','TRANSFORM_CHANGE_OBSERVABLE_TYPE','rgba(255,\x20255,\x20255,\x200.01)','_removeClearOtherTimer','1em','getViewport','_doCreateSocket','subscribeEvent','mutations','YUUMI_NO_CUBOID_FOR_QUESTION','_setupBeforeClosingHandler','_initEntityListener','getActiveSheet','getCoordByCell','@univerjs/network','useDependency','HEADER_MENU','@univerjs/ui','_dataLoaderService','bottom','setItem','_anchorDot','_renderManagerService','name','generateRandomId','split','clearTimeout','getUnitId','getColorFromTheme','@univerjs-pro/collaboration-client','tag','_send','@univerjs/core','ICommandService','pipe','newValue','switchMap','pushState','round','LOGIN_FAILED','_localStorageService','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','YUUMI_SUBSCRIPTION_NOT_FOUND','MessageType','setConfig','asObservable','_render','_onRefRangeChange','disposeUnit','collabStatus.fetchMiss','extend','_transformPreviousActiveRange','_drawAnchor','reconnect','permission.content','_drawRectRange','COMPLETION_FINISHED','setParam','_beforeCloseService','_handleJoinEvent','univer-flex\x20univer-items-center','DEFAULT_WS_SESSION_TICKET_URL','OnLineIcon','red.300','CollaborationUIEventId','registerBeforeClose','BuiltInUIPart','white','getTypeOfUnitDisposed$','_cursor','collaboration-client.offline-data-not-saved','onMouseMove','_collaborationUIEventService','react/jsx-runtime','size','_selfUnitIDs','COLORS','APPLY_NON_SEQUENTIAL_REVISION','function','collaboration.single-unit.warning','_unitOnClients','addObjects','unitId','range','assign','dispose','values','getDocRanges','m2Prime','has','stringify','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UNDEFINED','INVALID_INVITE_CODE','MemberService','enableLocalCache','Injector','_registerRenderDependencies','UniverEngineRender','text','invokeId','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','@univerjs/drawing','lineTo','cursorInfo$','transformStateCache','color','INotificationService','wsSessionTicketUrl','setUndoRedoMutationParamsCache','_univerInstanceService','colorChannel1','_startSheetCollabCursor','getAncestorScale','delete','UniverProCollaboration','transformSelections','loadUnit','DataLoaderService','#FFF','univerjs-icon\x20univerjs-icon-','yellow.400','defs','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_transformHistoryAndStateStack','LOCAL_CACHE_INTERVAL','source','DependentOn','font','assignAColorForMemberID','YUUMI_URL_COL_OUT_OF_RANGE','executeCommand','CommandType','memberID','CollaborationSessionService','collabStatus.conflict','subunit','searchParams','_setupSubUnitSync','throttleTime','WebURLService','getRangePointData','event$','Vector2','_colorAssignService','_collabCursorState$','connectInjector','UNAUTHENTICATED','@univerjs/sheets','toRgbString','_startDocCollabCursor','_roomMembers$','parse','_updateLocalCursor','IURLService','setActiveRange','exhaustSavingTask','_assignedColors','history','prototype','onStarting','IRenderManagerService','RevisionService','CollaborationController','SheetSkeletonManagerService','_toggleOnline','ILogService','_initStatusListener','jsx','backgroundColor','url(#on-line-icon_clip0_910_349)','addObject','@univerjs/engine-formula','translate(.97)','@univerjs/docs','UNRECOGNIZED','CollaborationSocketService','NodePositionConvertToRectRange','body','MOBILE_HAS_BEEN_BOUND','CONFLICT','on-line-icon_clip0_910_349','AWAITING','OffLineIcon','_anchor','_localCacheService','serializeRangeWithSheet','getCurrentRevOfUnit','_cursors','ALREADY_EXISTS','_urlService','UniverEngineFormula','_configService','focused$','key','IUIPartsService','_draw','blue.400','INVITE_CODE_ALREADY_BOUND','@univerjs/design','_lastPointer','deserializeRangeWithSheet','init','textRanges','RemoveColCommandId','handleIRemoveRow','session.collaboration-timeout','LICENSE_EXPORT_SIZE_EXCEEDED','_config','679124TDlbuh','startsWith','_hovered','_collabCursorController','@univerjs/rpc','clsx','syncEditingCollabCursor','React','width','all','flatMap','24zWfpMa','CollaborationStatusDisplay','RefRangeService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','UniverSheetsUi','then','createSocket','redoState','LocaleService','triggerDblclick','dispose$','_getAnchorBounding','getConfig','_scheduleClearOtherTimer','docStateChange$','_range','ITransformService','isArray','SetDocZoomRatioOperation','ColorKit','registerDependencies','730071JfjSfW','operators','ONLINE','CHANGESET_REVISION_CONFILICT','substring','unshift','evenodd','_drawTextRange','_revisionService','http://www.w3.org/2000/svg','sessionTicket','_createSocketURL','ThemeService','clearInterval','idSuffix','_uiPartsService','RegularPolygon','getSheetId','_handleHeartbeatEvent','YUUMI_AI_RUN_FAILED','drawWith','fromEventSubject','with','_initResize','_initStatusComponent','status$','length','moveTo','subscribe','88otdwoF','call','NOT_FOUND','_backgroundColor','exports','SNAPSHOT_INVALID_SNAPSHOT','UniverNetwork','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','IMessageService','_id','UniverCollaborationClientPlugin','IUniverInstanceService','FromArray','HTTPService','EffectRefRangId','height','IRemoteInstanceService','_messageService','SYNCED','VIEW_MAIN','collabStatus.syncing','isTransformMutationsWithChangesetSuccess','origin','transformByState','getMember','rxjs','_clearOtherTimers','getSheetBySheetId','top','UniverDocs','_localeService','SheetCollabCursorShape','post','LICENSE_IMPORT_SIZE_EXCEEDED','registerRenderModule','react','_transformService','LICENSE_MAX_UNITS_EXCEEDED','currentTheme$','TOO_MANY_REQUESTS','_updateSubUnitFromURLParams'];_0x12c0=function(){return _0x59cae5;};return _0x12c0();}