@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202506071606 → 0.8.0-nightly.202506091607

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(_0xb8e093,_0x1ac179){const _0x4d18d8=_0x12c4,_0x1a10e5=_0xb8e093();while(!![]){try{const _0x4bec65=parseInt(_0x4d18d8(0x2b4))/0x1+-parseInt(_0x4d18d8(0x283))/0x2+parseInt(_0x4d18d8(0x1ee))/0x3*(parseInt(_0x4d18d8(0x3ad))/0x4)+-parseInt(_0x4d18d8(0x177))/0x5+-parseInt(_0x4d18d8(0x27e))/0x6*(parseInt(_0x4d18d8(0x343))/0x7)+parseInt(_0x4d18d8(0x361))/0x8*(-parseInt(_0x4d18d8(0x1d5))/0x9)+parseInt(_0x4d18d8(0x27c))/0xa;if(_0x4bec65===_0x1ac179)break;else _0x1a10e5['push'](_0x1a10e5['shift']());}catch(_0x3c5fa3){_0x1a10e5['push'](_0x1a10e5['shift']());}}}(_0x2d57,0x88975),function(_0x5dfa0d,_0x2d5181){const _0x3b2396=_0x12c4;typeof exports==_0x3b2396(0x1da)&&typeof module<'u'?_0x2d5181(exports,require(_0x3b2396(0x321)),require(_0x3b2396(0x2f7)),require(_0x3b2396(0x3f6)),require('@univerjs/network'),require(_0x3b2396(0x1c5)),require('@univerjs/drawing'),require(_0x3b2396(0x1f7)),require(_0x3b2396(0x257)),require(_0x3b2396(0x390)),require('@univerjs/engine-formula'),require(_0x3b2396(0x198)),require(_0x3b2396(0x20d)),require('@univerjs/sheets-ui'),require(_0x3b2396(0x1e1)),require('@univerjs/ui'),require(_0x3b2396(0x286)),require(_0x3b2396(0x379)),require('@univerjs/rpc')):typeof define==_0x3b2396(0x270)&&define[_0x3b2396(0x2b5)]?define([_0x3b2396(0x289),'@univerjs-pro/collaboration-client',_0x3b2396(0x2f7),_0x3b2396(0x3f6),_0x3b2396(0x300),_0x3b2396(0x1c5),_0x3b2396(0x332),'rxjs','@univerjs/docs','@univerjs-pro/collaboration',_0x3b2396(0x247),_0x3b2396(0x198),_0x3b2396(0x20d),_0x3b2396(0x1c6),_0x3b2396(0x1e1),_0x3b2396(0x1bd),'@univerjs/design',_0x3b2396(0x379),'@univerjs/rpc'],_0x2d5181):(_0x5dfa0d=typeof globalThis<'u'?globalThis:_0x5dfa0d||self,_0x2d5181(_0x5dfa0d['UniverProCollaborationClientUi']={},_0x5dfa0d['UniverProCollaborationClient'],_0x5dfa0d[_0x3b2396(0x334)],_0x5dfa0d[_0x3b2396(0x337)],_0x5dfa0d[_0x3b2396(0x1c2)],_0x5dfa0d[_0x3b2396(0x3d8)],_0x5dfa0d[_0x3b2396(0x255)],_0x5dfa0d[_0x3b2396(0x1f7)],_0x5dfa0d[_0x3b2396(0x340)],_0x5dfa0d[_0x3b2396(0x3c1)],_0x5dfa0d[_0x3b2396(0x16e)],_0x5dfa0d['UniverSheets'],_0x5dfa0d[_0x3b2396(0x1f7)][_0x3b2396(0x193)],_0x5dfa0d['UniverSheetsUi'],_0x5dfa0d['React'],_0x5dfa0d[_0x3b2396(0x27d)],_0x5dfa0d['UniverDesign'],_0x5dfa0d[_0x3b2396(0x2fc)],_0x5dfa0d['UniverRpc']));}(this,function(_0x3fac21,_0x1fb374,_0x17a0d6,_0x4826e7,_0x5600f6,_0x21bec9,_0x284679,_0xa893e5,_0x566265,_0x2226d4,_0x2899a3,_0x1ce549,_0x3fdb29,_0x3a9c80,_0x1c574a,_0x5aad63,_0x20461d,_0x115905,_0x1f9553){'use strict';const _0x964c6d=_0x12c4;var _0x43a9f9=Object[_0x964c6d(0x376)],_0x279b52=(_0x2f9131,_0x54cf66,_0x207fd5)=>_0x54cf66 in _0x2f9131?_0x43a9f9(_0x2f9131,_0x54cf66,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x207fd5}):_0x2f9131[_0x54cf66]=_0x207fd5,_0x2e1f76=(_0x4d2afa,_0x102bc2,_0x226fc2)=>_0x279b52(_0x4d2afa,typeof _0x102bc2!=_0x964c6d(0x2df)?_0x102bc2+'':_0x102bc2,_0x226fc2),_0x185f5b=Object[_0x964c6d(0x236)],_0x4056e0=(_0x215099,_0x43f1ba,_0x732de9,_0x22e9eb)=>{const _0x48975c=_0x964c6d;for(var _0x617f94=_0x22e9eb>0x1?void 0x0:_0x22e9eb?_0x185f5b(_0x43f1ba,_0x732de9):_0x43f1ba,_0x5c550d=_0x215099[_0x48975c(0x3b0)]-0x1,_0x1b646b;_0x5c550d>=0x0;_0x5c550d--)(_0x1b646b=_0x215099[_0x5c550d])&&(_0x617f94=_0x1b646b(_0x617f94)||_0x617f94);return _0x617f94;},_0x1c51b7=(_0x27525d,_0x1ec8fc)=>(_0x3a5ef0,_0x426a40)=>_0x1ec8fc(_0x3a5ef0,_0x426a40,_0x27525d);let _0x566e8b=class extends _0x17a0d6[_0x964c6d(0x3b5)]{constructor(_0x1da5d4,_0x2c6721){const _0x125c16=_0x964c6d;super(),this[_0x125c16(0x2b6)]=_0x1da5d4,this[_0x125c16(0x1ef)]=_0x2c6721,this[_0x125c16(0x272)]();}[_0x964c6d(0x272)](){const _0x4eb1bf=_0x964c6d,_0x243895=this;this[_0x4eb1bf(0x2ba)](this[_0x4eb1bf(0x2b6)][_0x4eb1bf(0x282)]({'onBeforePasteImage':async _0x3bc014=>{const _0x526301=_0x4eb1bf,_0x5694fe=await _0x243895['_imageIoService'][_0x526301(0x2c9)](_0x3bc014);return _0x5694fe?{'source':_0x5694fe[_0x526301(0x32f)],'imageSourceType':_0x5694fe[_0x526301(0x303)]}:null;}}));}};_0x566e8b=_0x4056e0([_0x1c51b7(0x0,_0x21bec9[_0x964c6d(0x377)]),_0x1c51b7(0x1,_0x284679[_0x964c6d(0x176)])],_0x566e8b);const _0x28aec0=[_0x964c6d(0x2a2),_0x964c6d(0x2c7),_0x964c6d(0x161),'red.300',_0x964c6d(0x29e),'yellow.400'];class _0x41db9a extends _0x17a0d6[_0x964c6d(0x299)]{constructor(){const _0x5e23b3=_0x964c6d;super(...arguments),_0x2e1f76(this,_0x5e23b3(0x380),new Map()),_0x2e1f76(this,_0x5e23b3(0x263),0x0);}[_0x964c6d(0x280)](_0x17b30a){const _0x40d608=_0x964c6d;if(this[_0x40d608(0x380)][_0x40d608(0x218)](_0x17b30a))return this[_0x40d608(0x380)][_0x40d608(0x17d)](_0x17b30a);const _0x4e30b9=_0x28aec0[this['_colorIndex']];return this['_colorIndex']=(this[_0x40d608(0x263)]+0x1)%_0x28aec0[_0x40d608(0x3b0)],this[_0x40d608(0x380)][_0x40d608(0x26d)](_0x17b30a,_0x4e30b9),_0x4e30b9;}}function _0x36ad89(_0x486bb7){const _0x42ca90=_0x964c6d;let _0x5c617e='';for(const _0x59abdc of _0x486bb7){const {startOffset:_0x58ebaa,endOffset:_0x49533f,isActive:_0x53db8d,rangeType:_0x5e5176,segmentId:_0x2f46e5,segmentPage:_0x524fd5}=_0x59abdc;_0x5c617e[_0x42ca90(0x3b0)]&&(_0x5c617e+=','),_0x5c617e+=_0x58ebaa+':'+_0x49533f+':'+(_0x53db8d?'1':'0')+':'+_0x5e5176+':'+_0x2f46e5+':'+_0x524fd5;}return _0x5c617e;}function _0x33a435(_0x4de7ed){const _0x2feed5=_0x964c6d,_0x8c2de5=_0x4de7ed[_0x2feed5(0x324)](','),_0xc8497a=[];for(const _0x512ef9 of _0x8c2de5){const [_0x3e3072,_0x1c8c8f,_0xc534b0,_0x2d8ca2,_0x42e94e,_0x337042]=_0x512ef9['split'](':');_0xc8497a[_0x2feed5(0x28c)]({'startOffset':Number(_0x3e3072),'endOffset':Number(_0x1c8c8f),'collapsed':_0x3e3072===_0x1c8c8f,'isActive':_0xc534b0==='1','rangeType':_0x2d8ca2===_0x17a0d6[_0x2feed5(0x3a0)][_0x2feed5(0x368)]?_0x17a0d6[_0x2feed5(0x3a0)][_0x2feed5(0x368)]:_0x17a0d6[_0x2feed5(0x3a0)][_0x2feed5(0x3e6)],'segmentId':typeof _0x42e94e==_0x2feed5(0x194)?String(_0x42e94e):'','segmentPage':Number(_0x337042!=null?_0x337042:-0x1)});}return _0xc8497a[_0x2feed5(0x29a)](_0x20c6ea=>_0x20c6ea[_0x2feed5(0x1a2)])||(_0xc8497a[0x0][_0x2feed5(0x1a2)]=!0x0),_0xc8497a;}class _0x6e5760 extends _0x17a0d6['RxDisposable']{constructor(){const _0x350a44=_0x964c6d;super(...arguments),_0x2e1f76(this,_0x350a44(0x1fa),new _0xa893e5[(_0x350a44(0x1e7))](null)),_0x2e1f76(this,_0x350a44(0x256),this[_0x350a44(0x1fa)][_0x350a44(0x2b1)]());}['syncEditingCollabCursor'](_0x2b3b9a){const _0x389309=_0x964c6d,{unitID:_0x4b50b6,memberID:_0x53e7e2,textRanges:_0x171ca3}=_0x2b3b9a,_0x49656c=_0x36ad89(_0x171ca3);if(_0x49656c==='')return;const _0x2ac93f={'unitID':_0x4b50b6,'memberID':_0x53e7e2,'selection':_0x49656c};this['_collabCursorState$'][_0x389309(0x3ae)](_0x2ac93f);}}var _0x543f04=Object['getOwnPropertyDescriptor'],_0x6ba688=(_0xaec62b,_0x1e3639,_0x53b464,_0x180d4a)=>{const _0x50fb87=_0x964c6d;for(var _0x348326=_0x180d4a>0x1?void 0x0:_0x180d4a?_0x543f04(_0x1e3639,_0x53b464):_0x1e3639,_0x2943a0=_0xaec62b[_0x50fb87(0x3b0)]-0x1,_0x3befcb;_0x2943a0>=0x0;_0x2943a0--)(_0x3befcb=_0xaec62b[_0x2943a0])&&(_0x348326=_0x3befcb(_0x348326)||_0x348326);return _0x348326;},_0xc426b8=(_0x5913d4,_0x5a291e)=>(_0x831cba,_0x2f4a47)=>_0x5a291e(_0x831cba,_0x2f4a47,_0x5913d4);const _0x5e2a60=0x12c,_0x2b1042=0x64;let _0xdb8bd5=class extends _0x17a0d6['RxDisposable']{constructor(_0x5e2b3a,_0x3a5473,_0x3ee21f,_0x1fa7ea,_0x1028a1,_0x29a811,_0x5e4c6c,_0x4263f7,_0x293341){const _0x2ee42e=_0x964c6d;super(),_0x2e1f76(this,'_online',!0x1),_0x2e1f76(this,_0x2ee42e(0x272),!0x1),_0x2e1f76(this,_0x2ee42e(0x338),new _0xa893e5[(_0x2ee42e(0x1e7))](new Map())),_0x2e1f76(this,_0x2ee42e(0x28f),this['_cursorInfo$']['asObservable']()),_0x2e1f76(this,_0x2ee42e(0x38d),new _0xa893e5[(_0x2ee42e(0x1e7))]([])),_0x2e1f76(this,'roomMembers$',this['_roomMembers$'][_0x2ee42e(0x3e0)](_0xa893e5[_0x2ee42e(0x363)](_0x5e2a60))),_0x2e1f76(this,_0x2ee42e(0x1a3),_0x17a0d6[_0x2ee42e(0x35a)](_0x52c8bb=>{const _0x1aaa43=_0x2ee42e,_0x53b67d={'eventID':_0x2226d4[_0x1aaa43(0x1cf)][_0x1aaa43(0x3a7)],'data':{'unitID':this[_0x1aaa43(0x241)],'memberID':this[_0x1aaa43(0x33e)][_0x1aaa43(0x330)](),'selection':_0x36ad89(_0x52c8bb)}};this['_session'][_0x1aaa43(0x353)](_0x53b67d,this[_0x1aaa43(0x241)]);},_0x2b1042)),(this[_0x2ee42e(0x241)]=_0x5e2b3a,this[_0x2ee42e(0x33e)]=_0x3a5473,this[_0x2ee42e(0x222)]=_0x3ee21f,this[_0x2ee42e(0x279)]=_0x1fa7ea,this[_0x2ee42e(0x252)]=_0x1028a1,this['_syncEditingCollabCursorService']=_0x29a811,this[_0x2ee42e(0x354)]=_0x5e4c6c,this[_0x2ee42e(0x2ec)]=_0x4263f7,this[_0x2ee42e(0x1bf)]=_0x293341);}get['cursorInfo'](){const _0x587d35=_0x964c6d;return this[_0x587d35(0x338)][_0x587d35(0x204)]();}get[_0x964c6d(0x202)](){const _0xb4d50f=_0x964c6d;return this['_roomMembers$'][_0xb4d50f(0x204)]();}[_0x964c6d(0x2bd)](){const _0x5ea2d3=_0x964c6d;super[_0x5ea2d3(0x2bd)](),this[_0x5ea2d3(0x338)][_0x5ea2d3(0x3ae)](new Map()),this[_0x5ea2d3(0x338)][_0x5ea2d3(0x3a6)](),this['_roomMembers$'][_0x5ea2d3(0x3ae)]([]),this[_0x5ea2d3(0x38d)][_0x5ea2d3(0x3a6)]();}[_0x964c6d(0x365)](){const _0x424552=_0x964c6d;this[_0x424552(0x272)]||(this[_0x424552(0x272)]=!0x0,this[_0x424552(0x33e)][_0x424552(0x366)][_0x424552(0x3e0)](_0xa893e5[_0x424552(0x345)](this[_0x424552(0x1d7)]))[_0x424552(0x3ec)](_0x50d31f=>{const _0x914117=_0x424552;_0x50d31f===_0x1fb374['SessionStatus'][_0x914117(0x33f)]?this[_0x914117(0x2a0)]():this[_0x914117(0x302)]();}),this[_0x424552(0x33e)][_0x424552(0x1e3)][_0x424552(0x3e0)](_0xa893e5[_0x424552(0x345)](this[_0x424552(0x1d7)]))[_0x424552(0x3ec)](_0x5e715e=>{const _0x3a7349=_0x424552,_0x344952=_0x5e715e['eventID'];_0x344952===_0x2226d4[_0x3a7349(0x1cf)][_0x3a7349(0x3a7)]&&this['_onCursorUpdate'](_0x5e715e),_0x344952===_0x2226d4['CollaborationEvent'][_0x3a7349(0x2e4)]&&this['_onCursorDelete'](_0x5e715e);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x105319=>{const _0xaa5b3e=_0x424552,_0x20129f=_0x105319[_0xaa5b3e(0x290)];_0x20129f!=null&&this[_0xaa5b3e(0x2b7)]&&_0x105319['id']===_0x566265['SetTextSelectionsOperation']['id']&&_0x20129f[_0xaa5b3e(0x314)]===this[_0xaa5b3e(0x241)]&&_0x20129f[_0xaa5b3e(0x3e7)]===!0x1&&_0x20129f[_0xaa5b3e(0x244)][_0xaa5b3e(0x3b0)]>0x0&&this[_0xaa5b3e(0x1a3)](_0x20129f[_0xaa5b3e(0x244)]);})),this[_0x424552(0x3b4)][_0x424552(0x256)][_0x424552(0x3e0)](_0xa893e5['takeUntil'](this[_0x424552(0x1d7)]))[_0x424552(0x3ec)](_0x531b4c=>{const _0x1d8474=_0x424552;if((_0x531b4c==null?void 0x0:_0x531b4c[_0x1d8474(0x241)])!==this[_0x1d8474(0x241)])return;const _0x37e3d5={'eventID':_0x2226d4['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x531b4c};this[_0x1d8474(0x3ab)](_0x37e3d5);}),this['disposeWithMe'](this[_0x424552(0x1bf)][_0x424552(0x203)](_0x3f94d0=>{const _0x22cb7b=_0x424552;if(_0x3f94d0['params']==null)return;const _0x23ab1f=_0x3f94d0[_0x22cb7b(0x290)];if(_0x3f94d0['id']!==_0x566265['RichTextEditingMutation']['id']||_0x23ab1f[_0x22cb7b(0x314)]!==this[_0x22cb7b(0x241)])return;const _0x2681fb={'id':_0x22cb7b(0x26a),'params':_0x23ab1f},_0x30b61a=this[_0x22cb7b(0x1fe)];for(const [_0x2e23ad,_0xf5a38]of _0x30b61a){const _0x1f2d4e={'id':_0x22cb7b(0x26a),'params':{'unitId':this[_0x22cb7b(0x241)],'actions':null,'textRanges':_0xf5a38[_0x22cb7b(0x244)]}},_0x30c44d=this[_0x22cb7b(0x354)][_0x22cb7b(0x28d)](_0x2681fb,_0x1f2d4e,!0x1);if(_0x2226d4[_0x22cb7b(0x398)](_0x30c44d))throw _0x30c44d[_0x22cb7b(0x232)];_0x30b61a[_0x22cb7b(0x26d)](_0x2e23ad,{..._0xf5a38,'ranges':_0x30c44d['m2Prime'][_0x22cb7b(0x290)][_0x22cb7b(0x39a)]});}queueMicrotask(()=>{const _0x66d643=_0x22cb7b;this['_cursorInfo$'][_0x66d643(0x3ae)](_0x30b61a);});})));}['_onCursorUpdate'](_0x3e7338){const _0xa1cc09=_0x964c6d;var _0x1c1f45,_0x5afcb3;const {memberID:_0x19ac97,selection:_0x1c2a8e}=_0x3e7338[_0xa1cc09(0x169)],_0x5378f8=_0x33a435(_0x1c2a8e),_0x58c99a=(_0x5afcb3=(_0x1c1f45=this['_memberService'][_0xa1cc09(0x391)](this['unitID'],_0x19ac97))==null?void 0x0:_0x1c1f45[_0xa1cc09(0x2ed)])!=null?_0x5afcb3:_0xa1cc09(0x371),_0x4003d2={'color':this['_colorAssignService'][_0xa1cc09(0x280)](_0x19ac97),'name':_0x58c99a,'ranges':_0x5378f8},_0x5b1652=this['cursorInfo'];_0x5b1652[_0xa1cc09(0x26d)](_0x19ac97,_0x4003d2),this[_0xa1cc09(0x338)][_0xa1cc09(0x3ae)](_0x5b1652);}['_onCursorDelete'](_0x35bb88){const _0x2cf398=_0x964c6d,{memberID:_0x2d382c}=_0x35bb88[_0x2cf398(0x169)],_0x24b597=this[_0x2cf398(0x1fe)];_0x24b597[_0x2cf398(0x31e)](_0x2d382c),this['_cursorInfo$'][_0x2cf398(0x3ae)](_0x24b597);}[_0x964c6d(0x2a0)](){const _0x2bca88=_0x964c6d;var _0x1486a8;if(this[_0x2bca88(0x2b7)]=!0x0,((_0x1486a8=this['_univerInstanceService'][_0x2bca88(0x172)]())==null?void 0x0:_0x1486a8[_0x2bca88(0x2fa)]())!==this['unitID'])return;const _0xde4d0c=this[_0x2bca88(0x222)][_0x2bca88(0x17d)](_0x566265[_0x2bca88(0x17e)])[_0x2bca88(0x264)]();Array[_0x2bca88(0x288)](_0xde4d0c)&&_0xde4d0c[_0x2bca88(0x3b0)]>0x0&&this['_updateLocalCursor'](_0xde4d0c);}[_0x964c6d(0x302)](){const _0x1611f0=_0x964c6d;this[_0x1611f0(0x2b7)]=!0x1;}};_0xdb8bd5=_0x6ba688([_0xc426b8(0x2,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x3d0)])),_0xc426b8(0x3,_0x17a0d6[_0x964c6d(0x1ad)](_0x41db9a)),_0xc426b8(0x4,_0x17a0d6[_0x964c6d(0x1ad)](_0x1fb374[_0x964c6d(0x370)])),_0xc426b8(0x5,_0x17a0d6[_0x964c6d(0x1ad)](_0x6e5760)),_0xc426b8(0x6,_0x2226d4[_0x964c6d(0x181)]),_0xc426b8(0x7,_0x17a0d6[_0x964c6d(0x22d)]),_0xc426b8(0x8,_0x17a0d6[_0x964c6d(0x351)])],_0xdb8bd5);var _0x3e1688=Object[_0x964c6d(0x236)],_0x54c9ef=(_0x54d0af,_0x18f138,_0x3c0e3b,_0x387aab)=>{const _0x127a95=_0x964c6d;for(var _0x168abc=_0x387aab>0x1?void 0x0:_0x387aab?_0x3e1688(_0x18f138,_0x3c0e3b):_0x18f138,_0x3cea17=_0x54d0af[_0x127a95(0x3b0)]-0x1,_0x4b8438;_0x3cea17>=0x0;_0x3cea17--)(_0x4b8438=_0x54d0af[_0x3cea17])&&(_0x168abc=_0x4b8438(_0x168abc)||_0x168abc);return _0x168abc;},_0x54b63a=(_0x347137,_0x4851d2)=>(_0x3d2d93,_0xd8dce1)=>_0x4851d2(_0x3d2d93,_0xd8dce1,_0x347137);const _0x2335cd=0x12c,_0x2cd483=0x64,_0x53301b=()=>{let _0xe6e85=[],_0x181a3a=!0x1;return _0x562a6a=>{const _0x23de79=_0x12c4;_0xe6e85[_0x23de79(0x28c)](_0x562a6a),_0x181a3a||(_0x181a3a=!0x0,setTimeout(()=>{const _0x1397e6=_0x23de79;_0xe6e85[_0x1397e6(0x2ad)](_0x5bfa9e=>_0x5bfa9e()),_0xe6e85=[],_0x181a3a=!0x1;}));};};let _0x52679c=class extends _0x17a0d6[_0x964c6d(0x3b5)]{constructor(_0x1d9803,_0x3d3cb0,_0x25bb98,_0x4a70d1,_0x53a381,_0x577aa6,_0x3ae900,_0x337967){const _0x5e8636=_0x964c6d;super(),_0x2e1f76(this,_0x5e8636(0x2b7),!0x1),_0x2e1f76(this,_0x5e8636(0x272),!0x1),_0x2e1f76(this,'_cursorInfo$',new _0xa893e5['BehaviorSubject'](new Map())),_0x2e1f76(this,_0x5e8636(0x28f),this[_0x5e8636(0x338)][_0x5e8636(0x2b1)]()),_0x2e1f76(this,_0x5e8636(0x38d),new _0xa893e5[(_0x5e8636(0x1e7))]([])),_0x2e1f76(this,_0x5e8636(0x1a4),this[_0x5e8636(0x38d)][_0x5e8636(0x3e0)](_0xa893e5[_0x5e8636(0x363)](_0x2335cd))),_0x2e1f76(this,_0x5e8636(0x1a3),_0x17a0d6[_0x5e8636(0x35a)]((_0x1607b8,_0x5982cf)=>{const _0x51bed0=_0x5e8636,_0xfb9db7={'eventID':_0x2226d4[_0x51bed0(0x1cf)][_0x51bed0(0x3a7)],'data':{'unitID':this[_0x51bed0(0x241)],'memberID':this['_session'][_0x51bed0(0x330)](),'selection':_0x2899a3[_0x51bed0(0x165)](_0x1607b8,_0x5982cf['range'])}};this[_0x51bed0(0x33e)][_0x51bed0(0x353)](_0xfb9db7,this[_0x51bed0(0x241)]);},_0x2cd483)),(this[_0x5e8636(0x241)]=_0x1d9803,this[_0x5e8636(0x33e)]=_0x3d3cb0,this[_0x5e8636(0x222)]=_0x25bb98,this[_0x5e8636(0x279)]=_0x4a70d1,this['_memberService']=_0x53a381,this[_0x5e8636(0x2ec)]=_0x577aa6,this[_0x5e8636(0x1bf)]=_0x3ae900,this[_0x5e8636(0x317)]=_0x337967);}get[_0x964c6d(0x1fe)](){const _0x3d5b1b=_0x964c6d;return this[_0x3d5b1b(0x338)]['getValue']();}get[_0x964c6d(0x202)](){const _0x24cc2e=_0x964c6d;return this['_roomMembers$'][_0x24cc2e(0x204)]();}[_0x964c6d(0x2bd)](){const _0x33fbeb=_0x964c6d;super[_0x33fbeb(0x2bd)](),this[_0x33fbeb(0x338)][_0x33fbeb(0x3ae)](new Map()),this[_0x33fbeb(0x338)][_0x33fbeb(0x3a6)](),this[_0x33fbeb(0x38d)]['next']([]),this[_0x33fbeb(0x38d)][_0x33fbeb(0x3a6)]();}[_0x964c6d(0x365)](){const _0x820824=_0x964c6d;this[_0x820824(0x272)]||(this[_0x820824(0x272)]=!0x0,this[_0x820824(0x33e)]['sessionStatus$'][_0x820824(0x3e0)](_0xa893e5['takeUntil'](this[_0x820824(0x1d7)]))[_0x820824(0x3ec)](_0x4c5e63=>{const _0x12aa33=_0x820824;_0x4c5e63===_0x1fb374[_0x12aa33(0x235)][_0x12aa33(0x33f)]?this['_toggleOnline']():this[_0x12aa33(0x302)]();}),this['_session'][_0x820824(0x1e3)]['pipe'](_0xa893e5[_0x820824(0x345)](this[_0x820824(0x1d7)]))[_0x820824(0x3ec)](_0x1d1e83=>{const _0x3a47d4=_0x820824,_0x4e018e=_0x1d1e83[_0x3a47d4(0x22b)];_0x4e018e===_0x2226d4[_0x3a47d4(0x1cf)][_0x3a47d4(0x3a7)]&&this[_0x3a47d4(0x3ab)](_0x1d1e83),_0x4e018e===_0x2226d4[_0x3a47d4(0x1cf)]['USERS_LEAVE']&&this[_0x3a47d4(0x23e)](_0x1d1e83);}),this[_0x820824(0x2d8)](),this[_0x820824(0x2ba)](this[_0x820824(0x1bf)][_0x820824(0x203)](_0x133840=>{const _0x59da91=_0x820824;if(this[_0x59da91(0x2b7)]&&_0x133840['id']===_0x1ce549[_0x59da91(0x2d3)]['id']&&_0x133840[_0x59da91(0x290)][_0x59da91(0x314)]===this[_0x59da91(0x241)]){const _0x5595b2=_0x133840[_0x59da91(0x290)];this[_0x59da91(0x1a3)](_0x5595b2[_0x59da91(0x174)],_0x5595b2[_0x59da91(0x2f3)][0x0]);}})));}[_0x964c6d(0x3ab)](_0x502795){const _0x1de82c=_0x964c6d;var _0x55a9e4,_0x57c129;const {memberID:_0x4d3f41,selection:_0x37a466}=_0x502795[_0x1de82c(0x169)],{sheetName:_0x422c31,range:_0x515a77}=_0x2899a3['deserializeRangeWithSheet'](_0x37a466),_0x168e46={'name':(_0x57c129=(_0x55a9e4=this[_0x1de82c(0x252)][_0x1de82c(0x391)](this[_0x1de82c(0x241)],_0x4d3f41))==null?void 0x0:_0x55a9e4[_0x1de82c(0x2ed)])!=null?_0x57c129:_0x1de82c(0x371),'range':this[_0x1de82c(0x373)](_0x422c31,_0x515a77),'sheetID':_0x422c31,'color':this['_colorAssignService'][_0x1de82c(0x280)](_0x4d3f41),'selection':_0x37a466},_0x5ecb1c=this[_0x1de82c(0x1fe)];_0x5ecb1c['set'](_0x4d3f41,_0x168e46),this[_0x1de82c(0x338)][_0x1de82c(0x3ae)](_0x5ecb1c);}[_0x964c6d(0x23e)](_0x28fe3f){const _0x144a9e=_0x964c6d,{memberID:_0xe5997b}=_0x28fe3f[_0x144a9e(0x169)],_0x3d5489=this[_0x144a9e(0x1fe)];_0x3d5489['delete'](_0xe5997b),this[_0x144a9e(0x338)][_0x144a9e(0x3ae)](_0x3d5489);}[_0x964c6d(0x373)](_0x460dc4,_0x4a3a28){const _0x33c15f=_0x964c6d;var _0x8f32cb,_0x2ce64a;const _0x426d4e=(_0x2ce64a=(_0x8f32cb=this[_0x33c15f(0x2ec)][_0x33c15f(0x34c)](this[_0x33c15f(0x241)]))==null?void 0x0:_0x8f32cb[_0x33c15f(0x216)](_0x460dc4))==null?void 0x0:_0x2ce64a[_0x33c15f(0x3d9)]();return(_0x426d4e==null?void 0x0:_0x426d4e[_0x33c15f(0x2d4)](_0x3e50d1=>_0x17a0d6['Rectangle'][_0x33c15f(0x2c8)](_0x3e50d1,_0x4a3a28)))||_0x4a3a28;}[_0x964c6d(0x2d8)](){const _0x2c6b56=_0x964c6d,_0x200345=new _0x17a0d6['DisposableCollection'](),_0x51387c=_0x53301b(),_0x310ce6=()=>{const _0x1305da=_0x12c4;_0x200345['dispose']();const _0x2165f0=(_0x4b69c4,_0x4a8a4c,_0x585404,_0x64e67c)=>{const _0x3a134a=_0x12c4;let _0x2558b4=[];switch(_0x4b69c4['id']){case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x3af)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x39f)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x1d9)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x34b)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x2bf)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x1db)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x305)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x386)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x1f5)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x2a7)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x3da)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x1e0)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)]['MoveRangeCommandId']:{_0x2558b4=_0x1ce549[_0x3a134a(0x17b)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x1f8)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x17f)](_0x4b69c4,_0x64e67c);break;}case _0x1ce549[_0x3a134a(0x18e)][_0x3a134a(0x3e1)]:{_0x2558b4=_0x1ce549[_0x3a134a(0x24c)](_0x4b69c4,_0x64e67c);break;}}const _0x3c5e0c=_0x1ce549[_0x3a134a(0x24d)](_0x2558b4,_0x64e67c),_0x1373ef=this[_0x3a134a(0x1fe)][_0x3a134a(0x17d)](_0x4a8a4c);if(_0x1373ef&&_0x3c5e0c){const _0x5c7029={..._0x1373ef,'range':_0x3c5e0c};this[_0x3a134a(0x1fe)]['set'](_0x4a8a4c,_0x5c7029),_0x51387c(()=>{const _0x448e66=_0x3a134a,_0x5358ce=this[_0x448e66(0x317)]['registerRefRange'](_0x3c5e0c,_0x42a4e7=>(_0x5358ce['dispose'](),_0x2165f0(_0x42a4e7,_0x4a8a4c,_0x585404,_0x3c5e0c)));_0x200345[_0x448e66(0x16b)](_0x5358ce);});}return{'redos':[],'undos':[]};};this[_0x1305da(0x1fe)][_0x1305da(0x2ad)]((_0x574e38,_0x319ffd)=>{const _0x2bb741=_0x1305da,{range:_0x5ea373,sheetID:_0x57ee9f}=_0x574e38,_0x4efd11=this[_0x2bb741(0x317)]['registerRefRange'](_0x5ea373,_0x45dd5a=>(_0x4efd11['dispose'](),_0x2165f0(_0x45dd5a,_0x319ffd,_0x57ee9f,_0x5ea373)));_0x200345[_0x2bb741(0x16b)](_0x4efd11);});};this['disposeWithMe'](_0x17a0d6['toDisposable'](this[_0x2c6b56(0x338)][_0x2c6b56(0x3ec)](()=>{_0x310ce6();})));}[_0x964c6d(0x2a0)](){const _0x26d654=_0x964c6d;var _0x436d26,_0x304ba5;if(this['_online']=!0x0,((_0x436d26=this[_0x26d654(0x2ec)][_0x26d654(0x172)]())==null?void 0x0:_0x436d26[_0x26d654(0x2fa)]())!==this[_0x26d654(0x241)])return;const _0x25f320=(_0x304ba5=this[_0x26d654(0x222)]['get'](_0x1ce549[_0x26d654(0x3de)])[_0x26d654(0x212)]())==null?void 0x0:_0x304ba5[0x0],_0x134cbc=this[_0x26d654(0x2ec)][_0x26d654(0x166)](_0x17a0d6[_0x26d654(0x217)]['UNIVER_SHEET'])[_0x26d654(0x260)]();_0x25f320&&_0x134cbc&&this[_0x26d654(0x1a3)](_0x134cbc[_0x26d654(0x315)](),_0x25f320);}['_toggleOffline'](){const _0x355ea1=_0x964c6d;this[_0x355ea1(0x2b7)]=!0x1;}};_0x52679c=_0x54c9ef([_0x54b63a(0x2,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6['Injector'])),_0x54b63a(0x3,_0x17a0d6[_0x964c6d(0x1ad)](_0x41db9a)),_0x54b63a(0x4,_0x17a0d6['Inject'](_0x1fb374[_0x964c6d(0x370)])),_0x54b63a(0x5,_0x17a0d6[_0x964c6d(0x22d)]),_0x54b63a(0x6,_0x17a0d6[_0x964c6d(0x351)]),_0x54b63a(0x7,_0x17a0d6[_0x964c6d(0x1ad)](_0x1ce549[_0x964c6d(0x3e4)]))],_0x52679c);var _0x2e9409=Object[_0x964c6d(0x236)],_0x573a31=(_0x48439b,_0xdd23a7,_0x211626,_0x4135ed)=>{const _0x325fc1=_0x964c6d;for(var _0x6f0f9=_0x4135ed>0x1?void 0x0:_0x4135ed?_0x2e9409(_0xdd23a7,_0x211626):_0xdd23a7,_0x348c1b=_0x48439b[_0x325fc1(0x3b0)]-0x1,_0x3ffcd1;_0x348c1b>=0x0;_0x348c1b--)(_0x3ffcd1=_0x48439b[_0x348c1b])&&(_0x6f0f9=_0x3ffcd1(_0x6f0f9)||_0x6f0f9);return _0x6f0f9;},_0x24ed41=(_0x3b5401,_0x4fdaf6)=>(_0x3ca0dc,_0x3e11c6)=>_0x4fdaf6(_0x3ca0dc,_0x3e11c6,_0x3b5401);let _0x1fcbad=class extends _0x17a0d6['RxDisposable']{constructor(_0x30f353,_0x578aa1,_0x31a927){const _0xa3e32a=_0x964c6d;super(),_0x2e1f76(this,_0xa3e32a(0x2dd),new Map()),_0x2e1f76(this,_0xa3e32a(0x3c7),new _0xa893e5[(_0xa3e32a(0x3ca))]()),(this[_0xa3e32a(0x2ec)]=_0x30f353,this[_0xa3e32a(0x222)]=_0x578aa1,this[_0xa3e32a(0x25e)]=_0x31a927,this[_0xa3e32a(0x272)]());}['dispose'](){const _0x535e36=_0x964c6d;super[_0x535e36(0x2bd)](),this[_0x535e36(0x3c7)][_0x535e36(0x3a6)](),this['_entities'][_0x535e36(0x2ad)](_0x420348=>_0x420348[_0x535e36(0x2bd)]());}['getCollabCursors$'](_0x320b13){const _0x4fe064=_0x964c6d;return this[_0x4fe064(0x2dd)][_0x4fe064(0x218)](_0x320b13)?this[_0x4fe064(0x2dd)][_0x4fe064(0x17d)](_0x320b13)[_0x4fe064(0x28f)]:this[_0x4fe064(0x3c7)][_0x4fe064(0x3e0)](_0xa893e5[_0x4fe064(0x2f2)](_0x2ec49e=>_0x2ec49e[_0x4fe064(0x241)]===_0x320b13),_0xa893e5[_0x4fe064(0x253)](_0x2a0d9f=>_0x2a0d9f[_0x4fe064(0x28f)]));}[_0x964c6d(0x272)](){const _0x51e6b5=_0x964c6d;this[_0x51e6b5(0x2ec)]['getTypeOfUnitAdded$'](_0x17a0d6[_0x51e6b5(0x217)][_0x51e6b5(0x254)])[_0x51e6b5(0x3e0)](_0xa893e5[_0x51e6b5(0x345)](this['dispose$']))[_0x51e6b5(0x3ec)](async _0x21db54=>{const _0x5e7cda=_0x51e6b5,_0x103eaa=_0x21db54[_0x5e7cda(0x2fa)](),_0x37d256=await this['_startSheetCollabCursor'](_0x103eaa);this[_0x5e7cda(0x3c7)]['next'](_0x37d256),this[_0x5e7cda(0x2dd)][_0x5e7cda(0x26d)](_0x103eaa,_0x37d256);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x17a0d6[_0x51e6b5(0x217)][_0x51e6b5(0x206)])['pipe'](_0xa893e5['takeUntil'](this['dispose$']))[_0x51e6b5(0x3e0)](_0xa893e5[_0x51e6b5(0x2f2)](_0x2ab89f=>!_0x2ab89f['getUnitId']()[_0x51e6b5(0x16c)]('__')))[_0x51e6b5(0x3ec)](async _0x39ac2a=>{const _0x2db971=_0x51e6b5,_0x463ea8=_0x39ac2a['getUnitId'](),_0x4b2fa6=await this[_0x2db971(0x352)](_0x463ea8);this[_0x2db971(0x3c7)][_0x2db971(0x3ae)](_0x4b2fa6),this[_0x2db971(0x2dd)]['set'](_0x463ea8,_0x4b2fa6);}),_0xa893e5[_0x51e6b5(0x325)](this[_0x51e6b5(0x2ec)][_0x51e6b5(0x2fb)](_0x17a0d6['UniverInstanceType'][_0x51e6b5(0x206)]),this[_0x51e6b5(0x2ec)]['getTypeOfUnitDisposed$'](_0x17a0d6['UniverInstanceType']['UNIVER_SHEET']))[_0x51e6b5(0x3e0)](_0xa893e5['takeUntil'](this[_0x51e6b5(0x1d7)]))[_0x51e6b5(0x3ec)](_0x19d906=>{const _0x5efbd7=_0x51e6b5,_0x649000=_0x19d906[_0x5efbd7(0x2fa)](),_0x24dd0a=this[_0x5efbd7(0x2dd)][_0x5efbd7(0x17d)](_0x649000);_0x24dd0a&&(_0x24dd0a[_0x5efbd7(0x2bd)](),this[_0x5efbd7(0x2dd)]['delete'](_0x649000));});}async['_startSheetCollabCursor'](_0xef7b36){const _0x4240c2=_0x964c6d,_0x392a9e=await this['_collabSessionService']['requireSession'](_0xef7b36),_0x37d287=this['_injector']['createInstance'](_0x52679c,_0xef7b36,_0x392a9e);return _0x37d287[_0x4240c2(0x365)](),_0x37d287;}async[_0x964c6d(0x352)](_0x1f3e26){const _0x7fbd00=_0x964c6d,_0x56310c=await this[_0x7fbd00(0x25e)][_0x7fbd00(0x175)](_0x1f3e26),_0x4d7aea=this[_0x7fbd00(0x222)]['createInstance'](_0xdb8bd5,_0x1f3e26,_0x56310c);return _0x4d7aea['init'](),_0x4d7aea;}};_0x1fcbad=_0x573a31([_0x24ed41(0x0,_0x17a0d6['IUniverInstanceService']),_0x24ed41(0x1,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x3d0)])),_0x24ed41(0x2,_0x17a0d6['Inject'](_0x1fb374[_0x964c6d(0x25f)]))],_0x1fcbad);const _0x87e5e0=0x14,_0x35d25f=0xc8,_0x367f69=0x4,_0x35c3cf=0x5;function _0x410f3d(_0x59fe37,_0x5a4c95){const _0x34e30d=_0x964c6d;let {radius:_0x49aeae,width:_0xe22c01,height:_0x3a913b}=_0x5a4c95;_0x49aeae=_0x49aeae!=null?_0x49aeae:0x0,_0xe22c01=_0xe22c01!=null?_0xe22c01:0x1e,_0x3a913b=_0x3a913b!=null?_0x3a913b:0x1e;let _0x4226b6=0x0,_0x70e29d=0x0,_0x29263f=0x0;_0x4226b6=_0x70e29d=_0x29263f=Math['min'](_0x49aeae,_0xe22c01/0x2,_0x3a913b/0x2),_0x59fe37[_0x34e30d(0x387)](),_0x59fe37[_0x34e30d(0x1e8)](_0x4226b6,0x0),_0x59fe37[_0x34e30d(0x3f4)](_0xe22c01-_0x70e29d,0x0),_0x59fe37[_0x34e30d(0x259)](_0xe22c01-_0x70e29d,_0x70e29d,_0x70e29d,Math['PI']*0x3/0x2,0x0,!0x1),_0x59fe37[_0x34e30d(0x3f4)](_0xe22c01,_0x3a913b-_0x29263f),_0x59fe37['arc'](_0xe22c01-_0x29263f,_0x3a913b-_0x29263f,_0x29263f,0x0,Math['PI']/0x2,!0x1),_0x59fe37[_0x34e30d(0x3f4)](0x0,_0x3a913b),_0x59fe37[_0x34e30d(0x3f4)](0x0,_0x4226b6),_0x59fe37[_0x34e30d(0x259)](_0x4226b6,_0x4226b6,_0x4226b6,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x59fe37[_0x34e30d(0x3ba)](),_0x5a4c95[_0x34e30d(0x36a)]&&(_0x59fe37[_0x34e30d(0x2ef)](),_0x59fe37['fillStyle']=_0x5a4c95[_0x34e30d(0x36a)],_0x5a4c95[_0x34e30d(0x281)]==='evenodd'?_0x59fe37[_0x34e30d(0x36a)]('evenodd'):_0x59fe37['fill'](),_0x59fe37['restore']());}class _0x3f38d3 extends _0x4826e7[_0x964c6d(0x3f3)]{constructor(_0x4093e1,_0x3af56a){const _0x7b0707=_0x964c6d;super(_0x4093e1,_0x3af56a),_0x2e1f76(this,_0x7b0707(0x246)),_0x2e1f76(this,'text'),(this['color']=_0x3af56a==null?void 0x0:_0x3af56a[_0x7b0707(0x246)],this[_0x7b0707(0x168)]=_0x3af56a==null?void 0x0:_0x3af56a['text']);}static[_0x964c6d(0x201)](_0x149752,_0x23395f){const _0x4d14cc=_0x964c6d,{text:_0x3900b0,color:_0x178f27}=_0x23395f;_0x149752[_0x4d14cc(0x2ef)](),_0x149752[_0x4d14cc(0x1aa)]=_0x4d14cc(0x1b1);const _0x59fb75=_0x149752[_0x4d14cc(0x1b6)](_0x3900b0)[_0x4d14cc(0x3ac)],_0x445384=Math[_0x4d14cc(0x178)](_0x59fb75+0x2*_0x367f69,_0x35d25f);_0x410f3d(_0x149752,{'height':_0x87e5e0,'radius':0x4,'width':_0x445384,'fill':_0x178f27}),_0x149752['fillStyle']='#FFF';const _0x4fbce3=_0x367f69,_0x156fd2=_0x87e5e0-_0x35c3cf,_0x1826b7=_0x35d25f-0x2*_0x367f69;if(_0x59fb75>_0x1826b7){let _0x32c65='',_0x426689=0x0;for(const _0x441eea of _0x3900b0){const _0x1a614d=_0x149752['measureText'](_0x441eea)[_0x4d14cc(0x3ac)];if(_0x426689+_0x1a614d<=_0x1826b7-_0x149752['measureText']('...')[_0x4d14cc(0x3ac)])_0x32c65+=_0x441eea,_0x426689+=_0x1a614d;else{_0x32c65+=_0x4d14cc(0x1d0);break;}}_0x149752['fillText'](_0x32c65,_0x4fbce3,_0x156fd2);}else _0x149752[_0x4d14cc(0x20e)](_0x3900b0,_0x4fbce3,_0x156fd2);_0x149752[_0x4d14cc(0x29d)]();}[_0x964c6d(0x20b)](_0xd0ac2f){const _0xaa35e1=_0x964c6d;_0x3f38d3[_0xaa35e1(0x201)](_0xd0ac2f,this);}}const _0xcda025='collab-text-anchor-',_0x56ee60='collab-text-range-',_0x298bbe=_0x964c6d(0x39c),_0x289c33=0x6,_0x5828f2=1.5,_0x3282d2=0x4,_0x278032=1.5,_0x445c62='rgba(255,\x20255,\x20255,\x200.01)';class _0x4aadd1{constructor(_0x85cb5,_0x1a4abc,_0x41894e,_0x17af87){const _0x3dcf26=_0x964c6d;_0x2e1f76(this,_0x3dcf26(0x2ce),[]),_0x2e1f76(this,_0x3dcf26(0x199),null),_0x2e1f76(this,_0x3dcf26(0x35b),null),_0x2e1f76(this,_0x3dcf26(0x3cd),null),_0x2e1f76(this,_0x3dcf26(0x3c8),null),_0x2e1f76(this,'_eventUnsubscribe',null),(this['_cursor']=_0x85cb5,this[_0x3dcf26(0x3d2)]=_0x1a4abc,this[_0x3dcf26(0x29b)]=_0x41894e,this[_0x3dcf26(0x2db)]=_0x17af87,this[_0x3dcf26(0x1b4)]());}set['_hover'](_0x3ce576){const _0x2aab4a=_0x964c6d;_0x3ce576?(this[_0x2aab4a(0x3cd)]&&this[_0x2aab4a(0x3cd)][_0x2aab4a(0x372)](),this[_0x2aab4a(0x35b)]&&this[_0x2aab4a(0x35b)]['show']()):(this[_0x2aab4a(0x3cd)]&&this['_anchorDot']['show'](),this[_0x2aab4a(0x35b)]&&this['_textBubble'][_0x2aab4a(0x372)]());}[_0x964c6d(0x2bd)](){const _0x344525=_0x964c6d;for(const _0x3bf72a of this[_0x344525(0x2ce)])_0x3bf72a['dispose']();this['_textBubble']&&this['_textBubble'][_0x344525(0x2bd)](),this['_anchorDot']&&this[_0x344525(0x3cd)][_0x344525(0x2bd)](),this[_0x344525(0x199)]&&this[_0x344525(0x199)][_0x344525(0x2bd)](),this[_0x344525(0x294)]&&this[_0x344525(0x294)]();}[_0x964c6d(0x1b4)](){const _0x529094=_0x964c6d;var _0x384fd0;const {_docSkeleton:_0x2a60ea,_document:_0x2a6697}=this,{color:_0x7c2155,name:_0x46925d,ranges:_0x37480a}=this[_0x529094(0x1e9)],_0x3e036d=_0x2a6697[_0x529094(0x3b2)](),{docsLeft:_0x33628c,docsTop:_0x1b3277}=_0x3e036d,_0x13b13c=new _0x21bec9[(_0x529094(0x306))](_0x3e036d,_0x2a60ea);for(const {startOffset:_0x1e2261,endOffset:_0x348829,rangeType:_0x4db35f,segmentId:_0x41c48d,segmentPage:_0x58f2a1,collapsed:_0x9308e5,isActive:_0x57320d}of _0x37480a){const _0x462082=_0x2a60ea['findNodePositionByCharIndex'](_0x1e2261,!0x0,_0x41c48d,_0x58f2a1);let _0x3b5978=_0x2a60ea['findNodePositionByCharIndex'](_0x348829,!0x0,_0x41c48d,_0x58f2a1);if(_0x3b5978==null&&(_0x3b5978=_0x2a60ea[_0x529094(0x3f2)](_0x348829-0x1,!0x1,_0x41c48d,_0x58f2a1)),_0x57320d){const {contentBoxPointGroup:_0x49591b}=_0x13b13c['getRangePointData'](_0x3b5978,_0x3b5978);if(_0x49591b[_0x529094(0x3b0)]===0x0)continue;this[_0x529094(0x3b6)](_0x7c2155,_0x49591b,_0x33628c,_0x1b3277,_0x46925d),this[_0x529094(0x294)]=this[_0x529094(0x27f)]();}if(_0x462082&&_0x3b5978){if(_0x4db35f===_0x17a0d6['DOC_RANGE_TYPE'][_0x529094(0x3e6)]){const _0x5bc3b6=new _0x21bec9[(_0x529094(0x16f))](_0x3e036d,_0x2a60ea),{pointGroup:_0x32f1e7}=(_0x384fd0=_0x5bc3b6[_0x529094(0x243)](_0x462082,_0x3b5978))!=null?_0x384fd0:{};if(_0x32f1e7==null||_0x32f1e7['length']===0x0)continue;this[_0x529094(0x32a)](_0x7c2155,_0x32f1e7,_0x33628c,_0x1b3277);}else{if(!_0x9308e5){const {borderBoxPointGroup:_0x311c6e}=_0x13b13c[_0x529094(0x243)](_0x462082,_0x3b5978);if(_0x311c6e[_0x529094(0x3b0)]===0x0)continue;this[_0x529094(0x284)](_0x7c2155,_0x311c6e,_0x33628c,_0x1b3277);}}}}}['_drawAnchor'](_0x238667,_0x119548,_0x449f7b,_0x48dd29,_0x2554e3){const _0x578ca0=_0x964c6d,_0x14bbb6=this[_0x578ca0(0x316)](_0x119548),{left:_0x480bcc,top:_0x51e2c9,height:_0x5908b8}=_0x14bbb6,_0x533ee3=this[_0x578ca0(0x226)](),_0x4893b7=_0x278032/_0x533ee3,_0x250f40=new _0x4826e7['Rect'](_0xcda025+_0x17a0d6[_0x578ca0(0x37b)][_0x578ca0(0x347)](_0x289c33),{'left':_0x480bcc+_0x449f7b-_0x4893b7,'top':_0x51e2c9+_0x48dd29,'height':_0x5908b8,'width':_0x5828f2,'fill':_0x238667||_0x4826e7['getColor'](_0x17a0d6['COLORS'][_0x578ca0(0x26e)],0x0),'strokeWidth':_0x4893b7,'stroke':_0x445c62,'evented':!0x0});this[_0x578ca0(0x199)]=_0x250f40,this[_0x578ca0(0x3d2)][_0x578ca0(0x348)](_0x250f40,_0x21bec9[_0x578ca0(0x329)]);const _0x20442c=new _0x4826e7[(_0x578ca0(0x21e))](_0xcda025+_0x17a0d6[_0x578ca0(0x37b)]['generateRandomId'](_0x289c33),{'left':_0x480bcc+_0x449f7b-_0x4893b7,'top':_0x51e2c9+_0x48dd29-_0x3282d2/0x2,'height':_0x3282d2,'width':_0x3282d2,'fill':_0x238667||_0x4826e7['getColor'](_0x17a0d6[_0x578ca0(0x37e)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x238667||_0x4826e7['getColor'](_0x17a0d6[_0x578ca0(0x37e)][_0x578ca0(0x26e)],0x0),'evented':!0x1});this[_0x578ca0(0x3cd)]=_0x20442c,this[_0x578ca0(0x3d2)][_0x578ca0(0x348)](_0x20442c,_0x21bec9[_0x578ca0(0x329)]);const _0x30da9f=new _0x3f38d3(_0xcda025+_0x17a0d6['Tools'][_0x578ca0(0x347)](_0x289c33),{'left':_0x480bcc+_0x449f7b-_0x4893b7,'top':_0x51e2c9+_0x48dd29-_0x87e5e0,'text':_0x2554e3,'color':_0x238667});this[_0x578ca0(0x35b)]=_0x30da9f,this[_0x578ca0(0x3d2)][_0x578ca0(0x348)](_0x30da9f,_0x21bec9[_0x578ca0(0x329)]),this['_hover']=!0x1;}[_0x964c6d(0x27f)](){const _0x4e364b=_0x964c6d,_0x3346ae=this[_0x4e364b(0x199)][_0x4e364b(0x295)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x64450b=this['_anchor'][_0x4e364b(0x1de)][_0x4e364b(0x1e2)](()=>{const _0x57f57e=_0x4e364b;this['_hideTimer']&&clearTimeout(this[_0x57f57e(0x3c8)]),this[_0x57f57e(0x3c8)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3018bc=_0x4e364b;_0x3346ae[_0x3018bc(0x239)](),_0x64450b[_0x3018bc(0x239)]();};}[_0x964c6d(0x284)](_0x4b0563,_0x2e6769,_0xe8a767,_0x55543d){const _0xb5afc=_0x964c6d,_0x4534a5=new _0x17a0d6[(_0xb5afc(0x31f))](_0x4b0563)[_0xb5afc(0x1f2)](0.2)[_0xb5afc(0x2ab)](),_0x3fad9f=new _0x4826e7[(_0xb5afc(0x2b8))](_0x56ee60+_0x17a0d6[_0xb5afc(0x37b)]['generateRandomId'](_0x289c33),{'pointsGroup':_0x2e6769,'fill':_0x4534a5||_0x4826e7['getColor'](_0x17a0d6['COLORS']['black'],0.2),'left':_0xe8a767,'top':_0x55543d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xb5afc(0x2ce)][_0xb5afc(0x28c)](_0x3fad9f),this['_scene'][_0xb5afc(0x348)](_0x3fad9f,_0x21bec9[_0xb5afc(0x329)]);}['_drawRectRange'](_0x2e4dcf,_0x1228dd,_0x5e4adb,_0x31ddb4){const _0x5061dd=_0x964c6d,_0xa8164d=new _0x17a0d6[(_0x5061dd(0x31f))](_0x2e4dcf)[_0x5061dd(0x1f2)](0.2)[_0x5061dd(0x2ab)](),_0xffaf60=new _0x4826e7['RegularPolygon'](_0x298bbe+_0x17a0d6['Tools'][_0x5061dd(0x347)](_0x289c33),{'pointsGroup':_0x1228dd,'fill':_0xa8164d||_0x4826e7[_0x5061dd(0x1b0)](_0x17a0d6[_0x5061dd(0x37e)][_0x5061dd(0x26e)],0.2),'left':_0x5e4adb,'top':_0x31ddb4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5061dd(0x2ce)][_0x5061dd(0x28c)](_0xffaf60),this['_scene'][_0x5061dd(0x348)](_0xffaf60,_0x21bec9[_0x5061dd(0x329)]);}[_0x964c6d(0x316)](_0x2205f8){const _0x1cba35=_0x2205f8[0x0],_0x5f1528=_0x1cba35[0x0],_0x20fe87=_0x1cba35[0x2],{x:_0x2e69d6,y:_0x328635}=_0x5f1528,{x:_0x5cae41,y:_0x188ef4}=_0x20fe87;return{'left':_0x2e69d6,'top':_0x328635,'width':_0x5cae41-_0x2e69d6,'height':_0x188ef4-_0x328635};}[_0x964c6d(0x226)](){const _0x2cc579=_0x964c6d,{scaleX:_0x411155,scaleY:_0x35de5b}=this[_0x2cc579(0x3d2)][_0x2cc579(0x3dd)]();return Math[_0x2cc579(0x242)](_0x411155,_0x35de5b);}}var _0x5dddb6=Object['getOwnPropertyDescriptor'],_0x11c862=(_0x347093,_0x5179d9,_0x36daed,_0xbd2bf6)=>{for(var _0x1e9934=_0xbd2bf6>0x1?void 0x0:_0xbd2bf6?_0x5dddb6(_0x5179d9,_0x36daed):_0x5179d9,_0x144398=_0x347093['length']-0x1,_0x163133;_0x144398>=0x0;_0x144398--)(_0x163133=_0x347093[_0x144398])&&(_0x1e9934=_0x163133(_0x1e9934)||_0x1e9934);return _0x1e9934;},_0x8ec635=(_0x3c3803,_0x3ed040)=>(_0x29a939,_0x150188)=>_0x3ed040(_0x29a939,_0x150188,_0x3c3803);let _0x3036df=class extends _0x17a0d6['RxDisposable']{constructor(_0x317b82,_0x134ca1,_0x4bacd1,_0x46f982,_0x1e81c8){const _0x43ea64=_0x964c6d;super(),_0x2e1f76(this,_0x43ea64(0x25a),[]),_0x2e1f76(this,_0x43ea64(0x3a1),[]),(this['_context']=_0x317b82,this[_0x43ea64(0x3d5)]=_0x134ca1,this[_0x43ea64(0x189)]=_0x4bacd1,this[_0x43ea64(0x1bf)]=_0x46f982,this[_0x43ea64(0x3df)]=_0x1e81c8,this[_0x43ea64(0x272)]());}['_init'](){const _0x515c5d=_0x964c6d,_0x1625db=this[_0x515c5d(0x224)][_0x515c5d(0x314)],_0x26c87d=this[_0x515c5d(0x3d5)];this['disposeWithMe'](_0xa893e5[_0x515c5d(0x1ce)]([this[_0x515c5d(0x189)]['getCollabCursors$'](_0x1625db),this['_themeService'][_0x515c5d(0x2ee)]])[_0x515c5d(0x3e0)](_0x3fdb29['map'](([_0x15550d,_0x18ec7f])=>({'skeleton':_0x26c87d['getSkeleton'](),'cursors':[..._0x15550d[_0x515c5d(0x187)]()]['flatMap'](_0x1a81d0=>({..._0x1a81d0,'color':this[_0x515c5d(0x3df)]['getColorFromTheme'](_0x1a81d0['color'])}))})))[_0x515c5d(0x3ec)](_0x3c851e=>{const _0x5d32ef=_0x515c5d;if(this[_0x5d32ef(0x341)](),_0x3c851e){const {skeleton:_0x33440b,cursors:_0x5f3f2d}=_0x3c851e;this[_0x5d32ef(0x38a)](_0x33440b,_0x5f3f2d);}})),this[_0x515c5d(0x29f)](),this['_initCommandExecutedListener']();}[_0x964c6d(0x38a)](_0x34caa3,_0x8b5777){const {scene:_0x31c03f,mainComponent:_0x5b83c3}=this['_context'],_0x211658=_0x8b5777['map'](_0x3a2bd4=>new _0x4aadd1(_0x3a2bd4,_0x31c03f,_0x34caa3,_0x5b83c3));this['_cursorShapes']=_0x211658,this['_cursors']=_0x8b5777;}[_0x964c6d(0x33c)](){const _0x111651=_0x964c6d;this[_0x111651(0x341)]();const {scene:_0x2859fc,mainComponent:_0x58e27d}=this['_context'],_0x32409c=this[_0x111651(0x3d5)][_0x111651(0x205)](),_0x1b0943=this[_0x111651(0x3a1)]['map'](_0x25a05b=>new _0x4aadd1(_0x25a05b,_0x2859fc,_0x32409c,_0x58e27d));this[_0x111651(0x25a)]=_0x1b0943;}[_0x964c6d(0x341)](){const _0xd281ef=_0x964c6d;this[_0xd281ef(0x25a)]['forEach'](_0x5461a5=>_0x5461a5[_0xd281ef(0x2bd)]()),this[_0xd281ef(0x25a)]=[];}[_0x964c6d(0x274)](){const _0x54aa08=_0x964c6d,_0xe9e0aa=[_0x21bec9['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x54aa08(0x1bf)]['onCommandExecuted'](_0x35c534=>{const _0x7f7edb=_0x54aa08;_0xe9e0aa['includes'](_0x35c534['id'])&&_0x35c534['params'][_0x7f7edb(0x314)]===this[_0x7f7edb(0x224)][_0x7f7edb(0x314)]&&this['_refreshCollabCursors']();}));}[_0x964c6d(0x29f)](){const _0x5598d5=_0x964c6d;this['disposeWithMe'](_0x17a0d6[_0x5598d5(0x20c)](this['_context'][_0x5598d5(0x1ed)]['onTransformChange$'])['pipe'](_0x3fdb29[_0x5598d5(0x2f2)](_0x1cdd73=>_0x1cdd73[_0x5598d5(0x36f)]===_0x4826e7[_0x5598d5(0x1ab)]['resize']),_0x3fdb29[_0x5598d5(0x297)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x3036df=_0x11c862([_0x8ec635(0x1,_0x17a0d6[_0x964c6d(0x1ad)](_0x566265[_0x964c6d(0x200)])),_0x8ec635(0x2,_0x17a0d6[_0x964c6d(0x1ad)](_0x1fcbad)),_0x8ec635(0x3,_0x17a0d6[_0x964c6d(0x351)]),_0x8ec635(0x4,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6['ThemeService']))],_0x3036df);const _0x31250e=0x1,_0x252ad8=1.5;class _0x58253f extends _0x4826e7[_0x964c6d(0x3f3)]{constructor(_0x2aa8f7,_0x20f5e4){const _0x1b884b=_0x964c6d;super(_0x2aa8f7,_0x20f5e4),_0x2e1f76(this,'_color'),_0x2e1f76(this,_0x1b884b(0x2c2),!0x1),_0x2e1f76(this,_0x1b884b(0x34f)),_0x2e1f76(this,_0x1b884b(0x344),''),_0x2e1f76(this,_0x1b884b(0x18c),_0x1b884b(0x2c6)),_0x2e1f76(this,_0x1b884b(0x1ca)),(_0x20f5e4&&this['setShapeProps'](_0x20f5e4),this[_0x1b884b(0x295)][_0x1b884b(0x1e2)](()=>this[_0x1b884b(0x323)]({'hovered':!0x0})),this['onPointerLeave$'][_0x1b884b(0x1e2)](()=>this[_0x1b884b(0x323)]({'hovered':!0x1})));}[_0x964c6d(0x323)](_0x318d26){const _0x1b4a2d=_0x964c6d;var _0x4a4f14,_0x543bb3,_0x49f539,_0xf693c6,_0x4066bb,_0x2e0619;this[_0x1b4a2d(0x1af)]=(_0x4a4f14=_0x318d26['color'])!=null?_0x4a4f14:this['_color'],this[_0x1b4a2d(0x2c2)]=(_0x543bb3=_0x318d26['hovered'])!=null?_0x543bb3:this[_0x1b4a2d(0x2c2)],this[_0x1b4a2d(0x34f)]=(_0x49f539=_0x318d26['range'])!=null?_0x49f539:this[_0x1b4a2d(0x34f)],this[_0x1b4a2d(0x344)]=(_0xf693c6=_0x318d26[_0x1b4a2d(0x2ed)])!=null?_0xf693c6:this['_name'],this[_0x1b4a2d(0x18c)]=(_0x4066bb=_0x318d26['labelPosition'])!=null?_0x4066bb:this[_0x1b4a2d(0x18c)],this[_0x1b4a2d(0x1ca)]=(_0x2e0619=_0x318d26[_0x1b4a2d(0x326)])!=null?_0x2e0619:this[_0x1b4a2d(0x1ca)],this[_0x1b4a2d(0x350)]({'width':_0x318d26['width'],'height':_0x318d26[_0x1b4a2d(0x1f0)]});}[_0x964c6d(0x21c)](_0x26a929){const _0x1e109f=_0x964c6d,{row:_0x6e064,column:_0xda4999}=_0x26a929;if(_0x6e064>=this[_0x1e109f(0x34f)][_0x1e109f(0x3cb)]&&_0x6e064<=this[_0x1e109f(0x34f)][_0x1e109f(0x19e)]&&_0xda4999>=this[_0x1e109f(0x34f)][_0x1e109f(0x1dd)]&&_0xda4999<=this[_0x1e109f(0x34f)][_0x1e109f(0x3be)]){this[_0x1e109f(0x323)]({'hovered':!0x0});return;}this[_0x1e109f(0x323)]({'hovered':!0x1});}['triggerDblclick'](_0x453ba1){return!0x1;}['_draw'](_0x5375cd){const _0x262d14=_0x964c6d;_0x4826e7['Rect'][_0x262d14(0x201)](_0x5375cd,{'width':this[_0x262d14(0x3ac)],'height':this[_0x262d14(0x1f0)],'strokeWidth':_0x252ad8,'stroke':this[_0x262d14(0x1af)],'evented':!0x1,'fill':this[_0x262d14(0x1ca)]}),this[_0x262d14(0x2c2)]&&(_0x5375cd[_0x262d14(0x2ef)](),_0x5375cd['transform'](0x1,0x0,0x0,0x1,this[_0x262d14(0x3ac)],this[_0x262d14(0x18c)]===_0x262d14(0x179)?0x0:-0x14),_0x3f38d3[_0x262d14(0x201)](_0x5375cd,{'text':this[_0x262d14(0x344)],'color':this[_0x262d14(0x1af)]}),_0x5375cd[_0x262d14(0x29d)]());}}var _0x35928f=Object['getOwnPropertyDescriptor'],_0x1cb1dc=(_0x2b218d,_0x104602,_0x2fe69f,_0x3f6e63)=>{const _0x205c9c=_0x964c6d;for(var _0x2b7cfa=_0x3f6e63>0x1?void 0x0:_0x3f6e63?_0x35928f(_0x104602,_0x2fe69f):_0x104602,_0x16ecee=_0x2b218d[_0x205c9c(0x3b0)]-0x1,_0x7cb510;_0x16ecee>=0x0;_0x16ecee--)(_0x7cb510=_0x2b218d[_0x16ecee])&&(_0x2b7cfa=_0x7cb510(_0x2b7cfa)||_0x2b7cfa);return _0x2b7cfa;},_0x512de9=(_0xeab218,_0x3f791c)=>(_0x11ff02,_0x32ef09)=>_0x3f791c(_0x11ff02,_0x32ef09,_0xeab218);const _0xc7f38e=0x1389;let _0x260fea=class extends _0x17a0d6[_0x964c6d(0x3b5)]{constructor(_0xb68d33,_0x41102a,_0x4dcbb3,_0x5211fe){const _0x5bde6d=_0x964c6d;super(),_0x2e1f76(this,'_cursors',new Set()),_0x2e1f76(this,_0x5bde6d(0x1dc),null),(this[_0x5bde6d(0x224)]=_0xb68d33,this['_sheetSkeletonManagerService']=_0x41102a,this[_0x5bde6d(0x189)]=_0x4dcbb3,this[_0x5bde6d(0x3df)]=_0x5211fe,this['_init']());}['_init'](){const _0x355e41=_0x964c6d;this[_0x355e41(0x2e9)][_0x355e41(0x2cd)][_0x355e41(0x3e0)](_0x3fdb29[_0x355e41(0x345)](this['dispose$']),_0x3fdb29[_0x355e41(0x253)](_0x31d927=>{const _0x6c2707=_0x355e41;if(_0x31d927){const _0x4b3385=_0x31d927[_0x6c2707(0x249)];return _0xa893e5['combineLatest'](this[_0x6c2707(0x189)]['getCollabCursors$'](this[_0x6c2707(0x224)][_0x6c2707(0x314)]),this[_0x6c2707(0x3df)][_0x6c2707(0x2ee)])[_0x6c2707(0x3e0)](_0x3fdb29[_0x6c2707(0x240)](([_0x522f0a,_0x3d3854])=>{const _0x4989db=_0x6c2707,_0x7d7238=new Map();return _0x522f0a[_0x4989db(0x2ad)]((_0x240c2d,_0x378292)=>{const _0x1dd3b6=_0x4989db;if(_0x240c2d[_0x1dd3b6(0x3e2)]===_0x4b3385){const _0x1541a1={..._0x240c2d};_0x1541a1['color']=this[_0x1dd3b6(0x3df)][_0x1dd3b6(0x227)](_0x240c2d['color']),_0x7d7238[_0x1dd3b6(0x26d)](_0x378292,_0x1541a1);}}),{'skeleton':_0x31d927,'cursors':_0x7d7238};}));}return _0xa893e5['of']({'skeleton':null,'cursors':new Map()});}))[_0x355e41(0x3ec)](({skeleton:_0x1ad968,cursors:_0x1d40e6})=>{const _0x5828c1=_0x355e41;this[_0x5828c1(0x341)](),_0x1ad968&&this['_updateCollabCursors'](_0x1ad968,_0x1d40e6);}),this[_0x355e41(0x2e9)][_0x355e41(0x2cd)][_0x355e41(0x3ec)](_0x3a4c20=>{const _0x4513e4=_0x355e41;if(_0x3a4c20==null)return;const {skeleton:_0x23a920}=_0x3a4c20,{scene:_0x4d28e6}=this[_0x4513e4(0x224)];_0x4d28e6[_0x4513e4(0x1bc)][_0x4513e4(0x1e2)](_0x17a0d6[_0x4513e4(0x35a)](_0x4fa9a7=>{const _0x9fa0e5=_0x4513e4;var _0x18d961,_0x1454ee;const {offsetX:_0x1cc81f,offsetY:_0x138b85}=_0x4fa9a7,{x:_0x5454c6,y:_0x48c9b2}=_0x4d28e6[_0x9fa0e5(0x220)](_0x4826e7['Vector2']['FromArray']([_0x1cc81f,_0x138b85])),{scaleX:_0x4ab946,scaleY:_0x2fb023}=_0x4d28e6[_0x9fa0e5(0x3dd)](),_0x2c740f=_0x4d28e6['getViewport'](_0x4826e7['SHEET_VIEWPORT_KEY'][_0x9fa0e5(0x39d)]),_0x58dfa5=_0x4d28e6[_0x9fa0e5(0x30e)](_0x4826e7['Vector2']['FromArray']([_0x5454c6,_0x48c9b2]),_0x2c740f),_0x33bf03=_0x23a920['getCellPositionByOffset'](_0x1cc81f,_0x138b85,_0x4ab946,_0x2fb023,_0x58dfa5);((_0x18d961=this['_lastPointer'])==null?void 0x0:_0x18d961['column'])===_0x33bf03['column']&&((_0x1454ee=this[_0x9fa0e5(0x1dc)])==null?void 0x0:_0x1454ee[_0x9fa0e5(0x1f9)])===_0x33bf03[_0x9fa0e5(0x1f9)]||this[_0x9fa0e5(0x3a1)][_0x9fa0e5(0x2ad)](_0x4a7ba2=>{const _0x2c0b1d=_0x9fa0e5;_0x4a7ba2[_0x2c0b1d(0x21c)](_0x33bf03);});},0x64));});}['_updateCollabCursors'](_0x4f2afc,_0x1ba8f1){const _0x8948c7=_0x964c6d;var _0x330db2;const _0x22808a=(_0x330db2=this[_0x8948c7(0x2e9)]['getCurrent']())==null?void 0x0:_0x330db2['skeleton'];if(!_0x22808a)return;const _0x4f7747=this[_0x8948c7(0x163)]();if(!_0x4f7747)return;this[_0x8948c7(0x3a1)]['forEach'](_0xa79013=>{_0xa79013['makeDirty']();});const {scene:_0x3bfb04}=_0x4f7747,_0x59f089=_0x14396(Array[_0x8948c7(0x1bb)](_0x1ba8f1['values']()))[_0x8948c7(0x240)](_0x2b8c56=>{const _0x4477e9=_0x8948c7,{color:_0x4dac49,range:_0x13900d,name:_0x4f9cf0,selection:_0x3f9cb5,sheetID:_0x4cc45f}=_0x2b8c56,{startColumn:_0x595312,startRow:_0x5d52d0,endColumn:_0x2762ec,endRow:_0x33277e}=_0x13900d,_0x40f787=_0x3a9c80['getCoordByCell'](_0x5d52d0,_0x595312,_0x3bfb04,_0x22808a),_0x3b54a2=_0x3a9c80[_0x4477e9(0x2e1)](_0x33277e,_0x2762ec,_0x3bfb04,_0x22808a),{columnHeaderHeightAndMarginTop:_0x38fa0c}=_0x22808a,{startX:_0x2ef93b,startY:_0x4a8a9f}=_0x40f787,{endX:_0x1777d0,endY:_0x15c741}=_0x3b54a2,_0x191bc5=_0x1777d0-_0x2ef93b,_0x437dac=_0x15c741-_0x4a8a9f,_0xdc9860={'labelPosition':_0x4a8a9f-_0x38fa0c>=_0x87e5e0?_0x4477e9(0x2c6):'bottom','sheetID':_0x4cc45f,'range':_0x13900d,'color':_0x4dac49,'name':_0x4f9cf0,'selection':_0x3f9cb5,'left':_0x2ef93b,'top':_0x4a8a9f,'width':_0x191bc5,'height':_0x437dac,'evented':!0x1,'zIndex':_0xc7f38e};return new _0x58253f(_0x4f9cf0,_0xdc9860);});_0x3bfb04[_0x8948c7(0x22e)](_0x59f089,_0x31250e),this[_0x8948c7(0x3a1)]=new Set(_0x59f089);}['_removeCollabCursors'](){const _0x16f358=_0x964c6d;var _0x1776ff;(_0x1776ff=this[_0x16f358(0x3a1)])==null||_0x1776ff[_0x16f358(0x2ad)](_0x292283=>_0x292283[_0x16f358(0x2bd)]());}[_0x964c6d(0x163)](){const _0x559dfd=_0x964c6d;return _0x3a9c80['getSheetObject'](this[_0x559dfd(0x224)][_0x559dfd(0x164)],this[_0x559dfd(0x224)]);}};_0x260fea=_0x1cb1dc([_0x512de9(0x1,_0x17a0d6[_0x964c6d(0x1ad)](_0x3a9c80['SheetSkeletonManagerService'])),_0x512de9(0x2,_0x17a0d6[_0x964c6d(0x1ad)](_0x1fcbad)),_0x512de9(0x3,_0x17a0d6['Inject'](_0x17a0d6[_0x964c6d(0x30a)]))],_0x260fea);function _0x14396(_0x2bd845){const _0x3353dc=_0x964c6d,_0x275963=new Map();return _0x2bd845[_0x3353dc(0x2ad)](_0xf019b1=>{const _0x272a4b=_0x3353dc;if(_0x275963['has'](_0xf019b1[_0x272a4b(0x207)])){const _0x2caae1=_0x275963[_0x272a4b(0x17d)](_0xf019b1[_0x272a4b(0x207)]);_0x2caae1[_0x272a4b(0x2ed)]+=',\x20'+_0xf019b1['name'];}else _0x275963[_0x272a4b(0x26d)](_0xf019b1[_0x272a4b(0x207)],_0xf019b1);}),Array[_0x3353dc(0x1bb)](_0x275963[_0x3353dc(0x187)]());}var _0x532151=function(){const _0x34a26f=_0x964c6d;return _0x532151=Object['assign']||function(_0x4fde56){const _0x3aa72b=_0x12c4;for(var _0x521c9a,_0x13c1f6=0x1,_0x55c369=arguments[_0x3aa72b(0x3b0)];_0x13c1f6<_0x55c369;_0x13c1f6++){_0x521c9a=arguments[_0x13c1f6];for(var _0x26fbbb in _0x521c9a)Object['prototype'][_0x3aa72b(0x24a)][_0x3aa72b(0x2a6)](_0x521c9a,_0x26fbbb)&&(_0x4fde56[_0x26fbbb]=_0x521c9a[_0x26fbbb]);}return _0x4fde56;},_0x532151[_0x34a26f(0x331)](this,arguments);},_0x208050=function(_0x5965d7,_0x381c69){const _0x2f9f92=_0x964c6d;var _0x5238c0={};for(var _0x38bb3a in _0x5965d7)Object[_0x2f9f92(0x1b3)][_0x2f9f92(0x24a)]['call'](_0x5965d7,_0x38bb3a)&&_0x381c69['indexOf'](_0x38bb3a)<0x0&&(_0x5238c0[_0x38bb3a]=_0x5965d7[_0x38bb3a]);if(_0x5965d7!=null&&typeof Object[_0x2f9f92(0x273)]==_0x2f9f92(0x270)){for(var _0x444f12=0x0,_0x38bb3a=Object[_0x2f9f92(0x273)](_0x5965d7);_0x444f12<_0x38bb3a[_0x2f9f92(0x3b0)];_0x444f12++)_0x381c69[_0x2f9f92(0x21a)](_0x38bb3a[_0x444f12])<0x0&&Object[_0x2f9f92(0x1b3)][_0x2f9f92(0x3bf)][_0x2f9f92(0x2a6)](_0x5965d7,_0x38bb3a[_0x444f12])&&(_0x5238c0[_0x38bb3a[_0x444f12]]=_0x5965d7[_0x38bb3a[_0x444f12]]);}return _0x5238c0;},_0x17429f=_0x115905[_0x964c6d(0x22a)](function(_0x5f73ec,_0x3de7c7){const _0x52fa0d=_0x964c6d;var _0x124fbd=_0x5f73ec[_0x52fa0d(0x191)],_0x53dc33=_0x5f73ec['id'],_0x5c6bd4=_0x5f73ec[_0x52fa0d(0x388)],_0x175056=_0x5f73ec[_0x52fa0d(0x2e6)],_0x30b25d=_0x208050(_0x5f73ec,[_0x52fa0d(0x191),'id','className',_0x52fa0d(0x2e6)]),_0x4087b7=_0x52fa0d(0x28a)[_0x52fa0d(0x19c)](_0x53dc33,'\x20')['concat'](_0x5c6bd4||'')['trim'](),_0x494b04=_0x115905[_0x52fa0d(0x266)]('_'[_0x52fa0d(0x19c)](_0xeb2324()));return _0x217db5(_0x124fbd,''[_0x52fa0d(0x19c)](_0x53dc33),{'defIds':_0x124fbd['defIds'],'idSuffix':_0x494b04['current']},_0x532151({'ref':_0x3de7c7,'className':_0x4087b7},_0x30b25d),_0x175056);});function _0x217db5(_0x2b26dc,_0x1d37ff,_0x3b7f39,_0x6bf916,_0x409be3){const _0x5a1c89=_0x964c6d;return _0x115905[_0x5a1c89(0x374)](_0x2b26dc[_0x5a1c89(0x2ae)],_0x532151(_0x532151({'key':_0x1d37ff},_0x121086(_0x2b26dc,_0x3b7f39,_0x409be3)),_0x6bf916),(_0x51fea9(_0x2b26dc,_0x3b7f39)['children']||[])[_0x5a1c89(0x240)](function(_0x1675ef,_0xb3b7f3){const _0x309f9b=_0x5a1c89;return _0x217db5(_0x1675ef,''[_0x309f9b(0x19c)](_0x1d37ff,'-')[_0x309f9b(0x19c)](_0x2b26dc[_0x309f9b(0x2ae)],'-')[_0x309f9b(0x19c)](_0xb3b7f3),_0x3b7f39,void 0x0,_0x409be3);}));}function _0x121086(_0x812acb,_0x570f58,_0x157eaa){const _0x515520=_0x964c6d;var _0x259e8b=_0x532151({},_0x812acb['attrs']);_0x157eaa!=null&&_0x157eaa[_0x515520(0x170)]&&_0x259e8b[_0x515520(0x36a)]===_0x515520(0x170)&&(_0x259e8b[_0x515520(0x36a)]=_0x157eaa[_0x515520(0x170)]),_0x812acb['tag']===_0x515520(0x233)&&_0x259e8b['id']&&(_0x259e8b['id']=_0x259e8b['id']+_0x570f58[_0x515520(0x17a)]),Object[_0x515520(0x2ac)](_0x259e8b)['forEach'](function(_0x264f67){const _0x438d3e=_0x515520;var _0x305b8d=_0x264f67[0x0],_0x3f7a52=_0x264f67[0x1];_0x305b8d===_0x438d3e(0x233)&&typeof _0x3f7a52==_0x438d3e(0x194)&&(_0x259e8b[_0x305b8d]=_0x3f7a52[_0x438d3e(0x327)](/url\(#(.*)\)/,_0x438d3e(0x29c)[_0x438d3e(0x19c)](_0x570f58[_0x438d3e(0x17a)],')')));});var _0x1beaae=_0x570f58[_0x515520(0x1c0)];return!_0x1beaae||_0x1beaae['length']===0x0||(_0x812acb['tag']===_0x515520(0x24f)&&_0x259e8b[_0x515520(0x271)]&&(_0x259e8b['xlink:href']=_0x259e8b[_0x515520(0x271)]+_0x570f58[_0x515520(0x17a)]),Object['entries'](_0x259e8b)['forEach'](function(_0x5a3227){const _0x19b5ae=_0x515520;var _0x29dd3d=_0x5a3227[0x0],_0x4ffbd6=_0x5a3227[0x1];typeof _0x4ffbd6==_0x19b5ae(0x194)&&(_0x259e8b[_0x29dd3d]=_0x4ffbd6[_0x19b5ae(0x327)](/url\(#(.*)\)/,_0x19b5ae(0x29c)[_0x19b5ae(0x19c)](_0x570f58[_0x19b5ae(0x17a)],')')));})),_0x259e8b;}function _0x51fea9(_0x10f179,_0x38a547){const _0x388310=_0x964c6d;var _0xd4e198,_0x2af11a=_0x38a547['defIds'];return!_0x2af11a||_0x2af11a['length']===0x0?_0x10f179:_0x10f179[_0x388310(0x2ae)]===_0x388310(0x2f9)&&(!((_0xd4e198=_0x10f179[_0x388310(0x360)])===null||_0xd4e198===void 0x0)&&_0xd4e198[_0x388310(0x3b0)])?_0x532151(_0x532151({},_0x10f179),{'children':_0x10f179[_0x388310(0x360)][_0x388310(0x240)](function(_0x6fe52){const _0x408476=_0x388310;return typeof _0x6fe52[_0x408476(0x1b5)]['id']==_0x408476(0x194)&&_0x2af11a&&_0x2af11a['includes'](_0x6fe52[_0x408476(0x1b5)]['id'])?_0x532151(_0x532151({},_0x6fe52),{'attrs':_0x532151(_0x532151({},_0x6fe52[_0x408476(0x1b5)]),{'id':_0x6fe52[_0x408476(0x1b5)]['id']+_0x38a547[_0x408476(0x17a)]})}):_0x6fe52;})}):_0x10f179;}function _0xeb2324(){const _0x242565=_0x964c6d;return Math[_0x242565(0x378)]()[_0x242565(0x192)](0x24)['substring'](0x2,0x8);}_0x17429f[_0x964c6d(0x3e8)]=_0x964c6d(0x23d);var _0x27d349={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x964c6d(0x1eb),'viewBox':_0x964c6d(0x223),'width':_0x964c6d(0x357),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x964c6d(0x2af)},'children':[{'tag':_0x964c6d(0x237),'attrs':{'stroke':_0x964c6d(0x3c9),'d':_0x964c6d(0x31d),'strokeLinecap':_0x964c6d(0x1fc),'strokeLinejoin':_0x964c6d(0x1fc),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x964c6d(0x356),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x964c6d(0x237),'attrs':{'fill':_0x964c6d(0x37c),'d':_0x964c6d(0x298)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x4052c2=_0x115905[_0x964c6d(0x22a)](function(_0x45e885,_0x29c375){const _0x435bc6=_0x964c6d;return _0x115905[_0x435bc6(0x374)](_0x17429f,Object['assign']({},_0x45e885,{'id':_0x435bc6(0x2fd),'ref':_0x29c375,'icon':_0x27d349}));});_0x4052c2[_0x964c6d(0x3e8)]=_0x964c6d(0x2cb);var _0x3c8387={'tag':_0x964c6d(0x3d1),'attrs':{'xmlns':_0x964c6d(0x209),'fill':_0x964c6d(0x1eb),'viewBox':_0x964c6d(0x1b9),'width':_0x964c6d(0x357),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x964c6d(0x237),'attrs':{'stroke':_0x964c6d(0x3c9),'d':_0x964c6d(0x1a7),'strokeLinecap':_0x964c6d(0x1fc),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x964c6d(0x2f9),'attrs':{},'children':[{'tag':_0x964c6d(0x356),'attrs':{'id':_0x964c6d(0x17c)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x964c6d(0x298),'transform':_0x964c6d(0x358)}}]}]}],'defIds':[_0x964c6d(0x17c)]},_0x31d449=_0x115905['forwardRef'](function(_0x5f18c7,_0x50be08){const _0x412588=_0x964c6d;return _0x115905[_0x412588(0x374)](_0x17429f,Object['assign']({},_0x5f18c7,{'id':_0x412588(0x2c1),'ref':_0x50be08,'icon':_0x3c8387}));});_0x31d449[_0x964c6d(0x3e8)]=_0x964c6d(0x309);function _0x2cbdb2(_0x225234){const _0x287300=_0x964c6d;switch(_0x225234){case _0x1fb374['CollaborationStatus'][_0x287300(0x375)]:return'collabStatus.offline';case _0x1fb374[_0x287300(0x37f)][_0x287300(0x35f)]:return _0x287300(0x1fb);case _0x1fb374[_0x287300(0x37f)][_0x287300(0x278)]:return _0x287300(0x2d5);case _0x1fb374[_0x287300(0x37f)][_0x287300(0x2a8)]:return _0x287300(0x229);case _0x1fb374['CollaborationStatus']['AWAITING']:case _0x1fb374[_0x287300(0x37f)][_0x287300(0x2a5)]:return _0x287300(0x3b8);case _0x1fb374[_0x287300(0x37f)][_0x287300(0x3d6)]:case _0x1fb374[_0x287300(0x37f)][_0x287300(0x3dc)]:return _0x287300(0x1d2);}}function _0x531a04(_0x73ccc){const _0xb73c7b=_0x964c6d,{status$:_0x23fb17}=_0x73ccc,_0x278e43=_0x5aad63[_0xb73c7b(0x2de)](_0x23fb17,_0x1fb374[_0xb73c7b(0x37f)]['NOT_COLLAB']),_0x31b3d7=_0x5aad63[_0xb73c7b(0x1a5)](_0x17a0d6[_0xb73c7b(0x383)]),_0x2a89d1=_0x5aad63['useDependency'](_0x1fb374[_0xb73c7b(0x25f)]),_0x12b384=_0x278e43!==_0x1fb374['CollaborationStatus'][_0xb73c7b(0x375)],_0x347b0a=_0x31b3d7['t'](_0x2cbdb2(_0x278e43)),_0x2229d2=_0x12b384?_0x1c574a[_0xb73c7b(0x1a8)](_0x31d449,{}):_0x1c574a[_0xb73c7b(0x1a8)](_0x4052c2,{}),_0x28e887=_0x115905[_0xb73c7b(0x3c4)](()=>{_0x12b384||_0x2a89d1['reconnect']();},[_0x12b384,_0x2a89d1]);function _0x3e4d75(){const _0x291ccf=_0xb73c7b;return _0x1c574a[_0x291ccf(0x34d)](_0x291ccf(0x359),{'className':_0x291ccf(0x25b),'onClick':_0x28e887,'children':[_0x1c574a[_0x291ccf(0x1a8)](_0x291ccf(0x359),{'className':_0x20461d[_0x291ccf(0x3b7)](_0x291ccf(0x3aa),{'univer-text-green-500':_0x12b384,'univer-text-red-500':!_0x12b384}),'children':_0x2229d2}),_0x1c574a[_0x291ccf(0x1a8)]('div',{'className':_0x291ccf(0x2d9),'children':_0x347b0a})]});}return _0x12b384?_0x3e4d75():_0x1c574a[_0xb73c7b(0x1a8)](_0x20461d[_0xb73c7b(0x31a)],{'title':_0x31b3d7['t']('collab-client.tooltip.reconnect'),'children':_0x3e4d75()});}var _0x3ba78c=Object[_0x964c6d(0x236)],_0x15f736=(_0x3d3cf9,_0x55448a,_0x234104,_0x4a0087)=>{const _0x556ac8=_0x964c6d;for(var _0x5738a0=_0x4a0087>0x1?void 0x0:_0x4a0087?_0x3ba78c(_0x55448a,_0x234104):_0x55448a,_0x430ac3=_0x3d3cf9[_0x556ac8(0x3b0)]-0x1,_0x33697a;_0x430ac3>=0x0;_0x430ac3--)(_0x33697a=_0x3d3cf9[_0x430ac3])&&(_0x5738a0=_0x33697a(_0x5738a0)||_0x5738a0);return _0x5738a0;},_0x4056ad=(_0xcd5b1c,_0x3d4358)=>(_0x4fd1d4,_0x29729a)=>_0x3d4358(_0x4fd1d4,_0x29729a,_0xcd5b1c);_0x3fac21[_0x964c6d(0x38f)]=class extends _0x17a0d6[_0x964c6d(0x299)]{constructor(_0x167374,_0x11e48f,_0xcd592d,_0x558d2c){const _0x54d09b=_0x964c6d;super(),_0x2e1f76(this,_0x54d09b(0x2b3),new _0xa893e5[(_0x54d09b(0x1e7))](_0x1fb374[_0x54d09b(0x37f)][_0x54d09b(0x2a8)])),(this[_0x54d09b(0x2ec)]=_0x167374,this[_0x54d09b(0x222)]=_0x11e48f,this[_0x54d09b(0x2f5)]=_0xcd592d,this[_0x54d09b(0x2e0)]=_0x558d2c,this['_initStatusComponent'](),this[_0x54d09b(0x1c9)]());}[_0x964c6d(0x1c9)](){const _0x3de371=_0x964c6d;this[_0x3de371(0x2ba)](this['_univerInstanceService'][_0x3de371(0x3e3)][_0x3de371(0x3e0)](_0xa893e5[_0x3de371(0x253)](()=>{const _0xef2f92=_0x3de371,_0x2fe44a=this[_0xef2f92(0x2ec)]['getFocusedUnit']();return _0x2fe44a?this['_collaborationController'][_0xef2f92(0x318)](_0x2fe44a[_0xef2f92(0x2fa)]()):_0xa893e5['of'](null);}),_0xa893e5['switchMap'](_0x2f81ee=>_0x2f81ee?_0x2f81ee[_0x3de371(0x30c)]:_0xa893e5['of'](_0x1fb374[_0x3de371(0x37f)]['NOT_COLLAB'])))[_0x3de371(0x3ec)](_0x15af0d=>{const _0x35dc5a=_0x3de371;this[_0x35dc5a(0x2b3)]['next'](_0x15af0d);}));}['_initStatusComponent'](){const _0x20ddef=_0x964c6d;this['disposeWithMe'](this['_uiPartsService'][_0x20ddef(0x2aa)](_0x5aad63[_0x20ddef(0x292)][_0x20ddef(0x335)],()=>_0x5aad63[_0x20ddef(0x31b)](_0x454310({'status$':this[_0x20ddef(0x2b3)][_0x20ddef(0x2b1)]()}),this[_0x20ddef(0x222)])));}},_0x3fac21['DesktopCollaborationStatusDisplayController']=_0x15f736([_0x4056ad(0x0,_0x17a0d6[_0x964c6d(0x22d)]),_0x4056ad(0x1,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x3d0)])),_0x4056ad(0x2,_0x17a0d6['Inject'](_0x1fb374['CollaborationController'])),_0x4056ad(0x3,_0x5aad63[_0x964c6d(0x225)])],_0x3fac21[_0x964c6d(0x38f)]);function _0x454310(_0x182d2a){const {status$:_0x4728de}=_0x182d2a;return function(){const _0x98ac36=_0x12c4;return _0x1c574a[_0x98ac36(0x1a8)](_0x531a04,{'status$':_0x4728de});};}var _0x55750b=Object[_0x964c6d(0x236)],_0xbb3464=(_0xb88d67,_0x4adfdd,_0x162f45,_0x54d16a)=>{const _0x4a3f10=_0x964c6d;for(var _0x2ce604=_0x54d16a>0x1?void 0x0:_0x54d16a?_0x55750b(_0x4adfdd,_0x162f45):_0x4adfdd,_0x2e226f=_0xb88d67[_0x4a3f10(0x3b0)]-0x1,_0x385df4;_0x2e226f>=0x0;_0x2e226f--)(_0x385df4=_0xb88d67[_0x2e226f])&&(_0x2ce604=_0x385df4(_0x2ce604)||_0x2ce604);return _0x2ce604;},_0x589aef=(_0x5af74f,_0x57fa70)=>(_0x17c1e0,_0x109e20)=>_0x57fa70(_0x17c1e0,_0x109e20,_0x5af74f);let _0x517629=class extends _0x17a0d6['Disposable']{constructor(_0x2ee52d,_0x54d548,_0x10743f,_0x1409fe,_0x207e81,_0x3ceee2){const _0x50c238=_0x964c6d;super(),this['_beforeCloseService']=_0x2ee52d,this[_0x50c238(0x171)]=_0x54d548,this[_0x50c238(0x1c4)]=_0x10743f,this[_0x50c238(0x1be)]=_0x1409fe,this['_notificationService']=_0x207e81,this['_localeService']=_0x3ceee2,this[_0x50c238(0x36b)](),this[_0x50c238(0x2d0)]();}['_setupBeforeClosingHandler'](){const _0x408bab=_0x964c6d;this[_0x408bab(0x2ba)](this[_0x408bab(0x364)][_0x408bab(0x22c)](()=>{const _0x4b8760=_0x408bab;if(this[_0x4b8760(0x171)]['saveTaskMap'][_0x4b8760(0x3eb)])return this[_0x4b8760(0x2b9)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x964c6d(0x2d0)](){const _0x30dd9e=_0x964c6d;this[_0x30dd9e(0x2ba)](this[_0x30dd9e(0x1c4)][_0x30dd9e(0x1e3)][_0x30dd9e(0x3ec)](_0x2a1ad8=>{const _0x395f18=_0x30dd9e;_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)]['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x395f18(0x3c3)]({'type':_0x20461d[_0x395f18(0x2d1)]['Warning'],'content':this['_localeService']['t'](_0x395f18(0x2e5))}),_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)][_0x395f18(0x389)]&&this[_0x395f18(0x1be)][_0x395f18(0x3c3)]({'type':_0x20461d[_0x395f18(0x2d1)][_0x395f18(0x1cd)],'content':this[_0x395f18(0x2b9)]['t'](_0x395f18(0x268))}),_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)]['PERMISSION_DENIED']&&this[_0x395f18(0x1e4)][_0x395f18(0x3c3)]({'title':this[_0x395f18(0x2b9)]['t']('permission.title'),'content':this[_0x395f18(0x2b9)]['t'](_0x395f18(0x2a1)),'type':_0x395f18(0x232),'duration':0x0}),_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)]['CONFLICT']&&this['_messageService']['show']({'type':_0x20461d[_0x395f18(0x2d1)][_0x395f18(0x1d6)],'content':this[_0x395f18(0x2b9)]['t'](_0x395f18(0x268))+'('+_0x2a1ad8[_0x395f18(0x169)]+')'}),_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)]['JOIN_ROOM_FAILED']&&this[_0x395f18(0x1be)][_0x395f18(0x3c3)]({'type':_0x20461d[_0x395f18(0x2d1)][_0x395f18(0x1cd)],'content':this[_0x395f18(0x2b9)]['t'](_0x2a1ad8['data']||'')}),_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)][_0x395f18(0x262)]&&this[_0x395f18(0x1be)][_0x395f18(0x3c3)]({'type':_0x20461d[_0x395f18(0x2d1)]['Warning'],'content':this[_0x395f18(0x2b9)]['t'](_0x395f18(0x392))}),_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)][_0x395f18(0x1c1)]&&this[_0x395f18(0x1be)][_0x395f18(0x3c3)]({'type':_0x20461d['MessageType'][_0x395f18(0x1d6)],'content':this[_0x395f18(0x2b9)]['t']('session.connection-failed')}),_0x2a1ad8['id']===_0x1fb374[_0x395f18(0x2f8)][_0x395f18(0x21f)]&&this[_0x395f18(0x1be)][_0x395f18(0x3c3)]({'type':_0x20461d[_0x395f18(0x2d1)][_0x395f18(0x1d6)],'content':this[_0x395f18(0x2b9)]['t'](_0x395f18(0x214))});}));}};_0x517629=_0xbb3464([_0x589aef(0x0,_0x5aad63['IBeforeCloseService']),_0x589aef(0x1,_0x1fb374[_0x964c6d(0x183)]),_0x589aef(0x2,_0x17a0d6['Inject'](_0x1fb374[_0x964c6d(0x3f5)])),_0x589aef(0x3,_0x5aad63[_0x964c6d(0x34a)]),_0x589aef(0x4,_0x5aad63[_0x964c6d(0x33d)]),_0x589aef(0x5,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x383)]))],_0x517629);const _0x326b37=_0x964c6d(0x394),_0x41abbc={},_0x58f6e4=_0x17a0d6[_0x964c6d(0x308)](_0x964c6d(0x1c7));var _0x1d1445=Object[_0x964c6d(0x236)],_0x443404=(_0x453b68,_0x5a80cd,_0x5bd929,_0x394d86)=>{const _0x48916c=_0x964c6d;for(var _0x6b2c81=_0x394d86>0x1?void 0x0:_0x394d86?_0x1d1445(_0x5a80cd,_0x5bd929):_0x5a80cd,_0x26cecc=_0x453b68[_0x48916c(0x3b0)]-0x1,_0x25b7c6;_0x26cecc>=0x0;_0x26cecc--)(_0x25b7c6=_0x453b68[_0x26cecc])&&(_0x6b2c81=_0x25b7c6(_0x6b2c81)||_0x6b2c81);return _0x6b2c81;},_0x42e3ef=(_0x8cf68a,_0x1ac9b6)=>(_0x515884,_0x4f4727)=>_0x1ac9b6(_0x515884,_0x4f4727,_0x8cf68a);_0x3fac21[_0x964c6d(0x328)]=class extends _0x17a0d6[_0x964c6d(0x3b5)]{constructor(_0x9c6b55,_0x80eba,_0x42512f,_0x1024a5,_0xe6d049){const _0x127c19=_0x964c6d;super(),this[_0x127c19(0x3bd)]=_0x9c6b55,this[_0x127c19(0x3f1)]=_0x80eba,this[_0x127c19(0x1bf)]=_0x42512f,this['_dataLoaderService']=_0x1024a5,_0xe6d049?_0xe6d049==null||_0xe6d049[_0x127c19(0x20f)]()[_0x127c19(0x1c8)](()=>this[_0x127c19(0x272)]()):(this[_0x127c19(0x3f1)]['debug'](_0x127c19(0x188),_0x127c19(0x2cc)),this[_0x127c19(0x272)]());}async[_0x964c6d(0x272)](){const _0x140d12=_0x964c6d,_0x46593b=this[_0x140d12(0x3bd)]['getParam']('unit'),_0x1fb84b=this[_0x140d12(0x3bd)][_0x140d12(0x2e7)](_0x140d12(0x36f)),_0x35eb5c=this['_urlService'][_0x140d12(0x2e7)](_0x140d12(0x2d6));if(!_0x46593b||!_0x1fb84b){this['_logService']['debug'](_0x140d12(0x188),_0x140d12(0x275));return;}const _0x443c8f=await this[_0x140d12(0x2d2)]['loadUnit'](_0x46593b,Number(_0x1fb84b),_0x35eb5c);_0x443c8f&&_0x443c8f instanceof _0x17a0d6[_0x140d12(0x1a6)]&&this['_setupSubUnitSync'](_0x443c8f);}async[_0x964c6d(0x248)](_0x2702ee){const _0x4cda32=_0x964c6d;await this[_0x4cda32(0x35e)](_0x2702ee),_0x2702ee[_0x4cda32(0x2da)][_0x4cda32(0x3e0)](_0xa893e5[_0x4cda32(0x345)](this[_0x4cda32(0x1d7)]))[_0x4cda32(0x3ec)](_0x363fbb=>{const _0x435314=_0x4cda32;_0x363fbb&&this[_0x435314(0x1c3)](_0x363fbb);}),this[_0x4cda32(0x3bd)]['urlChange$'][_0x4cda32(0x3e0)](_0xa893e5[_0x4cda32(0x345)](this[_0x4cda32(0x1d7)]))[_0x4cda32(0x3ec)](()=>this[_0x4cda32(0x35e)](_0x2702ee));}[_0x964c6d(0x1c3)](_0x847895,_0x1c91de=!0x1){const _0x4eb8be=_0x964c6d,_0x571004=this[_0x4eb8be(0x3bd)][_0x4eb8be(0x2e7)](_0x4eb8be(0x2d6));_0x847895[_0x4eb8be(0x315)]()!==_0x571004&&this[_0x4eb8be(0x3bd)][_0x4eb8be(0x312)](_0x4eb8be(0x2d6),_0x847895[_0x4eb8be(0x315)](),_0x1c91de);}async[_0x964c6d(0x35e)](_0x5b4fba){const _0x235b00=_0x964c6d;var _0x27b87b;const _0x2c46aa=this[_0x235b00(0x3bd)][_0x235b00(0x2e7)](_0x235b00(0x2d6));if(!_0x2c46aa||!_0x5b4fba[_0x235b00(0x216)](_0x2c46aa)){const _0xfc2290=_0x5b4fba[_0x235b00(0x2d7)]()[0x0],_0x3237d8=_0x5b4fba['getSheetBySheetId'](_0xfc2290);if(!_0x3237d8)return;this[_0x235b00(0x1c3)](_0x3237d8,!0x0),await this[_0x235b00(0x1bf)][_0x235b00(0x28e)](_0x1ce549[_0x235b00(0x301)]['id'],{'unitId':_0x5b4fba[_0x235b00(0x2fa)](),'subUnitId':_0xfc2290});return;}((_0x27b87b=_0x5b4fba[_0x235b00(0x260)]())==null?void 0x0:_0x27b87b[_0x235b00(0x315)]())!==_0x2c46aa&&await this['_commandService'][_0x235b00(0x28e)](_0x1ce549[_0x235b00(0x301)]['id'],{'unitId':_0x5b4fba['getUnitId'](),'subUnitId':_0x2c46aa});}},_0x3fac21[_0x964c6d(0x328)]=_0x443404([_0x42e3ef(0x0,_0x58f6e4),_0x42e3ef(0x1,_0x17a0d6[_0x964c6d(0x25c)]),_0x42e3ef(0x2,_0x17a0d6[_0x964c6d(0x351)]),_0x42e3ef(0x3,_0x17a0d6['Inject'](_0x1fb374['DataLoaderService'])),_0x42e3ef(0x4,_0x17a0d6[_0x964c6d(0x1b7)](_0x1f9553['IRemoteInstanceService']))],_0x3fac21['CollaborationDataLoaderController']);var _0x1c3156=Object[_0x964c6d(0x236)],_0x496fed=(_0x5ddf14,_0x556adf,_0x35ec2c,_0x540d71)=>{for(var _0x2e57fe=_0x540d71>0x1?void 0x0:_0x540d71?_0x1c3156(_0x556adf,_0x35ec2c):_0x556adf,_0x276d88=_0x5ddf14['length']-0x1,_0x10972a;_0x276d88>=0x0;_0x276d88--)(_0x10972a=_0x5ddf14[_0x276d88])&&(_0x2e57fe=_0x10972a(_0x2e57fe)||_0x2e57fe);return _0x2e57fe;},_0x16bf98=(_0x2212b1,_0xfd878d)=>(_0x4845d8,_0x2f107b)=>_0xfd878d(_0x4845d8,_0x2f107b,_0x2212b1);let _0x24de38=class{constructor(_0x170620,_0x17f19b,_0x79f47f){const _0x5eed28=_0x964c6d;this[_0x5eed28(0x222)]=_0x170620,this[_0x5eed28(0x354)]=_0x17f19b,this[_0x5eed28(0x339)]=_0x79f47f;}['transformIMECache'](_0x27e7f0){const _0x7d2110=_0x964c6d;this[_0x7d2110(0x211)](_0x27e7f0),this[_0x7d2110(0x1ba)](_0x27e7f0);}[_0x964c6d(0x277)](_0x511c7f){const _0xe15503=_0x964c6d,{unitID:_0x34310b}=_0x511c7f,_0x38e1e3=this['_renderManagerService'][_0xe15503(0x3e5)](_0x34310b)['with'](_0x21bec9[_0xe15503(0x1d3)]),{redoCache:_0x4a94f1}=_0x38e1e3[_0xe15503(0x2f6)]();if(_0x4a94f1[_0xe15503(0x3b0)]===0x0)return _0x511c7f;let _0x5e1599=_0x17a0d6[_0xe15503(0x37b)]['deepClone'](_0x511c7f[_0xe15503(0x251)][0x0]);for(let _0x20ddde=0x0;_0x20ddde<_0x4a94f1[_0xe15503(0x3b0)];_0x20ddde++){const _0x27bb70={'id':'doc.mutation.rich-text-editing','params':{..._0x4a94f1[_0x20ddde]}},_0x50b62b=this['_transformService'][_0xe15503(0x28d)](_0x5e1599,_0x27bb70,!0x1);if(_0x2226d4[_0xe15503(0x398)](_0x50b62b))throw _0x50b62b[_0xe15503(0x232)];_0x5e1599=_0x50b62b[_0xe15503(0x18b)];}return{..._0x17a0d6[_0xe15503(0x37b)]['deepClone'](_0x511c7f),'mutations':[_0x5e1599]};}['_transformUndoRedoStack'](_0x3a258d){const _0x3d4579=_0x964c6d,{unitID:_0xf07b0e}=_0x3a258d,_0x2f2d00=this['_renderManagerService'][_0x3d4579(0x3e5)](_0xf07b0e)['with'](_0x21bec9['DocIMEInputManagerService']),{undoCache:_0x52bdd6,redoCache:_0x179e6d}=_0x2f2d00[_0x3d4579(0x2f6)]();if(_0x52bdd6['length']===0x0||_0x179e6d[_0x3d4579(0x3b0)]===0x0)return;const _0x20bd12=[],_0x328b58=[];let _0x14473f=_0x17a0d6['Tools'][_0x3d4579(0x2ea)](_0x3a258d[_0x3d4579(0x251)][0x0]),_0x26194a=_0x17a0d6['Tools'][_0x3d4579(0x2ea)](_0x3a258d['mutations'][0x0]);for(let _0x4d29a0=_0x52bdd6[_0x3d4579(0x3b0)]-0x1;_0x4d29a0>=0x0;_0x4d29a0--){const _0x5d75ce={'id':_0x3d4579(0x26a),'params':{..._0x52bdd6[_0x4d29a0]}},_0x49fc85={'id':'doc.mutation.rich-text-editing','params':{..._0x179e6d[_0x4d29a0]}},_0x40edb8=this['_transformService'][_0x3d4579(0x28d)](_0x14473f,_0x5d75ce,!0x1),_0x2ccbfd=this['_transformService'][_0x3d4579(0x28d)](_0x26194a,_0x49fc85,!0x1);if(_0x2226d4[_0x3d4579(0x398)](_0x40edb8))throw _0x40edb8[_0x3d4579(0x232)];if(_0x2226d4[_0x3d4579(0x398)](_0x2ccbfd))throw _0x2ccbfd[_0x3d4579(0x232)];_0x20bd12[_0x3d4579(0x342)](_0x40edb8[_0x3d4579(0x1ac)][_0x3d4579(0x290)]),_0x328b58['unshift'](_0x2ccbfd[_0x3d4579(0x1ac)][_0x3d4579(0x290)]),_0x14473f=_0x40edb8[_0x3d4579(0x18b)],_0x26194a=_0x2ccbfd[_0x3d4579(0x18b)];}_0x2f2d00[_0x3d4579(0x381)]({'undoCache':_0x20bd12,'redoCache':_0x328b58});}[_0x964c6d(0x1ba)](_0x119cd9){const _0x22f502=_0x964c6d,{unitID:_0x147a3a}=_0x119cd9,_0x59418a=this[_0x22f502(0x339)][_0x22f502(0x3e5)](_0x147a3a)[_0x22f502(0x296)](_0x21bec9[_0x22f502(0x1d3)]),_0x2bdbf4=_0x59418a[_0x22f502(0x3ed)]();if(_0x2bdbf4==null)return;const _0x349763=[{'id':_0x22f502(0x26a),'params':{'unitId':_0x119cd9[_0x22f502(0x241)],'actions':null,'textRanges':[_0x2bdbf4]}}],_0x41ded2=this[_0x22f502(0x354)]['transformMutationsWithChangeset'](_0x119cd9,_0x349763);if(!_0x2226d4[_0x22f502(0x3ef)](_0x41ded2))throw _0x41ded2[_0x22f502(0x232)];const _0x393de2=_0x41ded2[_0x22f502(0x1ac)][0x0][_0x22f502(0x290)][_0x22f502(0x39a)];Array[_0x22f502(0x288)](_0x393de2)&&_0x393de2['length']&&_0x59418a[_0x22f502(0x396)](_0x393de2[0x0]);}};_0x24de38=_0x496fed([_0x16bf98(0x0,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x3d0)])),_0x16bf98(0x1,_0x2226d4[_0x964c6d(0x181)]),_0x16bf98(0x2,_0x4826e7[_0x964c6d(0x311)])],_0x24de38);var _0x2f1edf=Object[_0x964c6d(0x236)],_0x42f7ab=(_0x43d517,_0x5abe99,_0x7e80b6,_0xd0935b)=>{const _0x3ebbb5=_0x964c6d;for(var _0x3e179c=_0xd0935b>0x1?void 0x0:_0xd0935b?_0x2f1edf(_0x5abe99,_0x7e80b6):_0x5abe99,_0x96a6f3=_0x43d517[_0x3ebbb5(0x3b0)]-0x1,_0x556d26;_0x96a6f3>=0x0;_0x96a6f3--)(_0x556d26=_0x43d517[_0x96a6f3])&&(_0x3e179c=_0x556d26(_0x3e179c)||_0x3e179c);return _0x3e179c;},_0x2bcc80=(_0xce0a0e,_0x424032)=>(_0x6ed88d,_0x167566)=>_0x424032(_0x6ed88d,_0x167566,_0xce0a0e);let _0x152fd8=class{constructor(_0x4c58f4,_0x4b1ad0,_0x44a0e0){const _0x8bd05c=_0x964c6d;this['_injector']=_0x4c58f4,this[_0x8bd05c(0x354)]=_0x4b1ad0,this['_docStateChangeManagerService']=_0x44a0e0;}['transformStateCache'](_0x1df406){const _0x59d81c=_0x964c6d;this[_0x59d81c(0x16d)](_0x1df406);}[_0x964c6d(0x277)](_0x6dbb0a){const _0x4b2a4f=_0x964c6d,{unitID:_0x272e6b}=_0x6dbb0a,{collaboration:_0x27eee7}=this[_0x4b2a4f(0x39e)][_0x4b2a4f(0x27b)](_0x272e6b);if(_0x27eee7[_0x4b2a4f(0x3b0)]===0x0)return _0x6dbb0a;let _0x32a1b3=_0x17a0d6[_0x4b2a4f(0x37b)][_0x4b2a4f(0x2ea)](_0x6dbb0a[_0x4b2a4f(0x251)][0x0]);for(let _0x1f5c40=0x0;_0x1f5c40<_0x27eee7[_0x4b2a4f(0x3b0)];_0x1f5c40++){const _0x2fead8={'id':_0x4b2a4f(0x26a),'params':{'unitId':_0x27eee7[_0x1f5c40][_0x4b2a4f(0x314)],..._0x27eee7[_0x1f5c40]['redoState']}},_0x5cce72=this['_transformService'][_0x4b2a4f(0x28d)](_0x32a1b3,_0x2fead8,!0x1);if(_0x2226d4[_0x4b2a4f(0x398)](_0x5cce72))throw _0x5cce72[_0x4b2a4f(0x232)];_0x32a1b3=_0x5cce72[_0x4b2a4f(0x18b)];}return{..._0x17a0d6['Tools'][_0x4b2a4f(0x2ea)](_0x6dbb0a),'mutations':[_0x32a1b3]};}[_0x964c6d(0x16d)](_0x353952){const _0x286182=_0x964c6d,{unitID:_0x540c2a}=_0x353952,{history:_0x331781,collaboration:_0x383c53}=this[_0x286182(0x39e)][_0x286182(0x27b)](_0x540c2a);if(_0x331781[_0x286182(0x3b0)]===0x0&&_0x383c53[_0x286182(0x3b0)]===0x0)return;const _0xf5d545=[],_0x2864a4=[];let _0x3ddb88=_0x17a0d6['Tools']['deepClone'](_0x353952['mutations'][0x0]),_0x5290d4=_0x17a0d6[_0x286182(0x37b)][_0x286182(0x2ea)](_0x353952[_0x286182(0x251)][0x0]);for(let _0x3dc52d=_0x331781[_0x286182(0x3b0)]-0x1;_0x3dc52d>=0x0;_0x3dc52d--){const _0x5040b6={'id':_0x286182(0x26a),'params':{'unitId':_0x331781[_0x3dc52d][_0x286182(0x314)],..._0x331781[_0x3dc52d][_0x286182(0x2ff)]}},_0xf50dd5={'id':_0x286182(0x26a),'params':{'unitId':_0x331781[_0x3dc52d]['unitId'],..._0x331781[_0x3dc52d][_0x286182(0x23f)]}},_0x1d6aca=this[_0x286182(0x354)]['transformMutation'](_0x3ddb88,_0x5040b6,!0x1),_0x4af5db=this['_transformService'][_0x286182(0x28d)](_0x5290d4,_0xf50dd5,!0x1);if(_0x2226d4[_0x286182(0x398)](_0x1d6aca))throw _0x1d6aca[_0x286182(0x232)];if(_0x2226d4[_0x286182(0x398)](_0x4af5db))throw _0x4af5db['error'];_0xf5d545[_0x286182(0x342)]({..._0x331781[_0x3dc52d],'undoState':_0x1d6aca[_0x286182(0x1ac)][_0x286182(0x290)],'redoState':_0x4af5db[_0x286182(0x1ac)][_0x286182(0x290)]}),_0x3ddb88=_0x1d6aca[_0x286182(0x18b)],_0x5290d4=_0x4af5db[_0x286182(0x18b)];}_0x3ddb88=_0x17a0d6['Tools'][_0x286182(0x2ea)](_0x353952['mutations'][0x0]),_0x5290d4=_0x17a0d6[_0x286182(0x37b)]['deepClone'](_0x353952[_0x286182(0x251)][0x0]);for(let _0x9e4314=_0x383c53[_0x286182(0x3b0)]-0x1;_0x9e4314>=0x0;_0x9e4314--){const _0x27c5a5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x383c53[_0x9e4314]['unitId'],..._0x383c53[_0x9e4314][_0x286182(0x2ff)]}},_0x1f4b45={'id':_0x286182(0x26a),'params':{'unitId':_0x383c53[_0x9e4314][_0x286182(0x314)],..._0x383c53[_0x9e4314]['redoState']}},_0x405036=this['_transformService'][_0x286182(0x28d)](_0x3ddb88,_0x27c5a5,!0x1),_0x1d4d69=this[_0x286182(0x354)]['transformMutation'](_0x5290d4,_0x1f4b45,!0x1);if(_0x2226d4[_0x286182(0x398)](_0x405036))throw _0x405036[_0x286182(0x232)];if(_0x2226d4[_0x286182(0x398)](_0x1d4d69))throw _0x1d4d69['error'];_0x2864a4[_0x286182(0x342)]({..._0x383c53[_0x9e4314],'undoState':_0x405036[_0x286182(0x1ac)]['params'],'redoState':_0x1d4d69['m2Prime']['params']}),_0x3ddb88=_0x405036[_0x286182(0x18b)],_0x5290d4=_0x1d4d69[_0x286182(0x18b)];}this[_0x286182(0x39e)][_0x286182(0x2e8)](_0x540c2a,{'history':_0xf5d545,'collaboration':_0x2864a4});}};_0x152fd8=_0x42f7ab([_0x2bcc80(0x0,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x3d0)])),_0x2bcc80(0x1,_0x2226d4[_0x964c6d(0x181)]),_0x2bcc80(0x2,_0x17a0d6[_0x964c6d(0x1ad)](_0x21bec9[_0x964c6d(0x186)]))],_0x152fd8);var _0x2b308b=Object[_0x964c6d(0x236)],_0x8d3d9b=(_0x348f9c,_0xd40b0d,_0x47e7ca,_0x2b2f80)=>{const _0x363b61=_0x964c6d;for(var _0x468b49=_0x2b2f80>0x1?void 0x0:_0x2b2f80?_0x2b308b(_0xd40b0d,_0x47e7ca):_0xd40b0d,_0x5a2c80=_0x348f9c[_0x363b61(0x3b0)]-0x1,_0x12faed;_0x5a2c80>=0x0;_0x5a2c80--)(_0x12faed=_0x348f9c[_0x5a2c80])&&(_0x468b49=_0x12faed(_0x468b49)||_0x468b49);return _0x468b49;},_0x2603ea=(_0x149837,_0x19f7fd)=>(_0x38fb2d,_0x451d8b)=>_0x19f7fd(_0x38fb2d,_0x451d8b,_0x149837);let _0x597690=class{constructor(_0x19805b,_0x3828d3){const _0x5e6cda=_0x964c6d;this[_0x5e6cda(0x222)]=_0x19805b,this[_0x5e6cda(0x354)]=_0x3828d3;}[_0x964c6d(0x333)](_0x8b73de){const _0x6f332b=_0x964c6d;var _0x46814e;const _0xd8e862=this['_injector'][_0x6f332b(0x17d)](_0x566265['DocSelectionManagerService']),_0x5256b9=(_0x46814e=_0xd8e862['getDocRanges']())!=null?_0x46814e:[];if(_0x5256b9[_0x6f332b(0x3b0)]===0x0)return;const _0x483d84=_0x8b73de[_0x6f332b(0x241)],_0x1579db=[{'id':_0x6f332b(0x26a),'params':{'unitId':_0x483d84,'actions':null,'textRanges':_0x5256b9}}],_0x17ec4d=this[_0x6f332b(0x354)][_0x6f332b(0x319)](_0x8b73de,_0x1579db);if(!_0x2226d4[_0x6f332b(0x3ef)](_0x17ec4d))throw _0x17ec4d['error'];const _0x33eaf4=_0x17ec4d[_0x6f332b(0x1ac)][0x0][_0x6f332b(0x290)][_0x6f332b(0x39a)];Array[_0x6f332b(0x288)](_0x33eaf4)&&_0x33eaf4[_0x6f332b(0x3b0)]&&_0xd8e862['replaceDocRanges'](_0x33eaf4,{'unitId':_0x483d84,'subUnitId':_0x483d84},!0x1);}};_0x597690=_0x8d3d9b([_0x2603ea(0x0,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x3d0)])),_0x2603ea(0x1,_0x2226d4[_0x964c6d(0x181)])],_0x597690);var _0x1f3bd5=Object['getOwnPropertyDescriptor'],_0x551aae=(_0x13d260,_0x303970,_0x562bb1,_0x2cf388)=>{for(var _0x39ca5d=_0x2cf388>0x1?void 0x0:_0x2cf388?_0x1f3bd5(_0x303970,_0x562bb1):_0x303970,_0x1d8576=_0x13d260['length']-0x1,_0x4adf12;_0x1d8576>=0x0;_0x1d8576--)(_0x4adf12=_0x13d260[_0x1d8576])&&(_0x39ca5d=_0x4adf12(_0x39ca5d)||_0x39ca5d);return _0x39ca5d;},_0x55b251=(_0x33a463,_0x45e0b0)=>(_0x5abce4,_0xf4396)=>_0x45e0b0(_0x5abce4,_0xf4396,_0x33a463);let _0x438c91=class extends _0x17a0d6['Disposable']{constructor(_0x7ac236,_0x46cbac,_0xd74259,_0x23a15b,_0x5eed90,_0x4264d1,_0x35014c,_0x41f450){const _0x415681=_0x964c6d;super(),_0x2e1f76(this,_0x415681(0x2b3),new _0xa893e5[(_0x415681(0x1e7))](_0x1fb374[_0x415681(0x37f)][_0x415681(0x2a8)])),(this[_0x415681(0x39e)]=_0x7ac236,this[_0x415681(0x2f5)]=_0x46cbac,this[_0x415681(0x3ea)]=_0xd74259,this[_0x415681(0x2c3)]=_0x23a15b,this[_0x415681(0x313)]=_0x5eed90,this['_docSyncEditingCollabCursorService']=_0x4264d1,this[_0x415681(0x1be)]=_0x35014c,this[_0x415681(0x2b9)]=_0x41f450,this[_0x415681(0x1a9)]());}['_initEntityListener'](){const _0x933169=_0x964c6d;this[_0x933169(0x2ba)](this['_collaborationController']['entityInit$'][_0x933169(0x3ec)](_0x5520c3=>{const _0x3683b7=_0x933169,_0x5a52fb=this[_0x3683b7(0x39e)][_0x3683b7(0x39b)][_0x3683b7(0x3ec)](_0x3b254b=>{const _0x4d794e=_0x3683b7;if(_0x3b254b==null)return;const {unitId:_0x48e519,redoState:_0x441373,commandId:_0x38183d}=_0x3b254b;if(_0x48e519!==_0x5520c3[_0x4d794e(0x241)])return;const _0x5a5dd8={'id':_0x38183d,'type':_0x17a0d6[_0x4d794e(0x269)]['MUTATION'],'params':{'unitId':_0x48e519,'actions':_0x441373[_0x4d794e(0x18f)],'textRanges':null}};_0x5520c3[_0x4d794e(0x30f)](_0x5a5dd8);});if(_0x5520c3[_0x3683b7(0x2ba)](_0x5a52fb),_0x5520c3 instanceof _0x1fb374[_0x3683b7(0x213)]){const _0xd08443={'onTransformIME':_0x106660=>this['_docTransformIMECacheService'][_0x3683b7(0x173)](_0x106660),'onTransformState':_0x3d6ee0=>this[_0x3683b7(0x2c3)][_0x3683b7(0x367)](_0x3d6ee0),'onTransformSelections':_0x273612=>this[_0x3683b7(0x313)][_0x3683b7(0x333)](_0x273612),'onSyncEditingCollabCursor':_0x4ec569=>this[_0x3683b7(0x231)][_0x3683b7(0x19d)](_0x4ec569),'onTransformRemoteChangesetByIMECache':_0x1d9546=>this[_0x3683b7(0x3ea)][_0x3683b7(0x277)](_0x1d9546),'onTransformRemoteChangesetByStateCache':_0x2ab8ee=>this[_0x3683b7(0x2c3)]['transformRemoteChangeset'](_0x2ab8ee)};_0x5520c3[_0x3683b7(0x265)](_0xd08443);}}));}};_0x438c91=_0x551aae([_0x55b251(0x0,_0x17a0d6[_0x964c6d(0x1ad)](_0x21bec9['DocStateChangeManagerService'])),_0x55b251(0x1,_0x17a0d6[_0x964c6d(0x1ad)](_0x1fb374[_0x964c6d(0x3d4)])),_0x55b251(0x2,_0x17a0d6[_0x964c6d(0x1ad)](_0x24de38)),_0x55b251(0x3,_0x17a0d6['Inject'](_0x152fd8)),_0x55b251(0x4,_0x17a0d6[_0x964c6d(0x1ad)](_0x597690)),_0x55b251(0x5,_0x17a0d6['Inject'](_0x6e5760)),_0x55b251(0x6,_0x5aad63[_0x964c6d(0x34a)]),_0x55b251(0x7,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x383)]))],_0x438c91);var _0x5e206e=Object[_0x964c6d(0x236)],_0x366df5=(_0x15c1ac,_0x4378d5,_0x39adef,_0x38bf7d)=>{const _0x577339=_0x964c6d;for(var _0x1807ed=_0x38bf7d>0x1?void 0x0:_0x38bf7d?_0x5e206e(_0x4378d5,_0x39adef):_0x4378d5,_0x1f9a41=_0x15c1ac[_0x577339(0x3b0)]-0x1,_0xfa1a89;_0x1f9a41>=0x0;_0x1f9a41--)(_0xfa1a89=_0x15c1ac[_0x1f9a41])&&(_0x1807ed=_0xfa1a89(_0x1807ed)||_0x1807ed);return _0x1807ed;},_0x46ddda=(_0x27f8c9,_0x83d7f9)=>(_0x32f03e,_0x450d16)=>_0x83d7f9(_0x32f03e,_0x450d16,_0x27f8c9);let _0x41fdb=class extends _0x17a0d6['Disposable']{constructor(_0x39b03b,_0x182f89,_0x4731f8){const _0x22d082=_0x964c6d;super(),_0x2e1f76(this,_0x22d082(0x2dc),new Map()),_0x2e1f76(this,_0x22d082(0x26f),new Map()),_0x2e1f76(this,'_disabled',!0x1),(this[_0x22d082(0x322)]=_0x39b03b,this[_0x22d082(0x1d1)]=_0x182f89,this[_0x22d082(0x355)]=_0x4731f8);}['disableLocalCache'](){const _0x5647e1=_0x964c6d;this[_0x5647e1(0x230)]=!0x0;}[_0x964c6d(0x3b9)](){this['_disabled']=!0x1;}get[_0x964c6d(0x3db)](){const _0x47c0e2=_0x964c6d;return this[_0x47c0e2(0x26f)];}[_0x964c6d(0x2bd)](){const _0x4ba2a8=_0x964c6d;this[_0x4ba2a8(0x30d)]()['then'](()=>super[_0x4ba2a8(0x2bd)]());}async[_0x964c6d(0x382)](_0x3b9432){const _0x35f5a1=_0x964c6d;return this['_disabled']?null:this[_0x35f5a1(0x1d1)]['getItem'](_0x1fb374[_0x35f5a1(0x38c)](_0x3b9432));}async[_0x964c6d(0x1ec)](_0x59739d,_0x3d5900){return!!this['_localStorageService']['setItem'](_0x59739d,_0x3d5900);}['updateOfflineData'](_0x211e2d,_0x20bace,_0x551727,_0x3a14bb){const _0x5f4e40=_0x964c6d,_0x53cf98=this[_0x5f4e40(0x355)]['getCurrentRevOfUnit'](_0x211e2d);this['_cachedData'][_0x5f4e40(0x26d)](_0x211e2d,{'unitID':_0x211e2d,'type':_0x20bace,'awaitingChangeset':_0x551727,'mutations':_0x3a14bb,'rev':_0x53cf98}),this['_saveTaskMap']['has'](_0x211e2d)||this[_0x5f4e40(0x19b)](_0x211e2d);}[_0x964c6d(0x19b)](_0x457ef1){const _0x2f1ce4=_0x964c6d,_0x59bf17=this[_0x2f1ce4(0x287)]();_0x59bf17===0x0?this['_saveCache'](_0x457ef1):this['_saveTaskMap'][_0x2f1ce4(0x26d)](_0x457ef1,setTimeout(()=>this[_0x2f1ce4(0x195)](_0x457ef1),_0x59bf17));}['_getSaveTimeout'](){const _0x40e1db=_0x964c6d;var _0x33ab3f;return(_0x33ab3f=this[_0x40e1db(0x322)][_0x40e1db(0x32c)](_0x1fb374[_0x40e1db(0x1d8)]))!=null?_0x33ab3f:_0x1fb374['LOCAL_CACHE_INTERVAL'];}[_0x964c6d(0x195)](_0x1fe1b6){const _0x5e2a80=_0x964c6d,_0x2fb7ea=this[_0x5e2a80(0x26f)]['get'](_0x1fe1b6);return _0x2fb7ea!==void 0x0&&window['clearTimeout'](_0x2fb7ea),this[_0x5e2a80(0x1d1)]['setItem'](_0x1fb374[_0x5e2a80(0x38c)](_0x1fe1b6),this[_0x5e2a80(0x2dc)][_0x5e2a80(0x17d)](_0x1fe1b6))[_0x5e2a80(0x1c8)](()=>this[_0x5e2a80(0x26f)][_0x5e2a80(0x31e)](_0x1fe1b6));}async[_0x964c6d(0x30d)](){const _0x5a141b=_0x964c6d,_0x59c4f6=[];this[_0x5a141b(0x26f)]['forEach']((_0x16aa8f,_0x24a9c1)=>{const _0x12056b=_0x5a141b;window[_0x12056b(0x36e)](_0x16aa8f),_0x59c4f6[_0x12056b(0x28c)](this[_0x12056b(0x195)](_0x24a9c1)[_0x12056b(0x1c8)](()=>{const _0x178c7e=_0x12056b;this[_0x178c7e(0x26f)][_0x178c7e(0x31e)](_0x24a9c1);}));}),await Promise[_0x5a141b(0x35c)](_0x59c4f6);}};_0x41fdb=_0x366df5([_0x46ddda(0x0,_0x17a0d6[_0x964c6d(0x23b)]),_0x46ddda(0x1,_0x17a0d6[_0x964c6d(0x320)]),_0x46ddda(0x2,_0x17a0d6['Inject'](_0x2226d4[_0x964c6d(0x397)]))],_0x41fdb);class _0x1daf05 extends _0x17a0d6['RxDisposable']{constructor(){const _0x5eaef7=_0x964c6d;super(),_0x2e1f76(this,_0x5eaef7(0x362)),this[_0x5eaef7(0x362)]=_0xa893e5[_0x5eaef7(0x293)](window,_0x5eaef7(0x2be))[_0x5eaef7(0x3e0)](_0xa893e5[_0x5eaef7(0x345)](this[_0x5eaef7(0x1d7)]),_0xa893e5['shareReplay'](0x1),_0xa893e5[_0x5eaef7(0x3d3)](void 0x0));}['setParam'](_0xbbcd65,_0x23402a,_0x3dcb9d=!0x1){const _0x2aa91f=_0x964c6d,_0x23511b=new URL(window[_0x2aa91f(0x35d)][_0x2aa91f(0x2b0)]);_0x23511b[_0x2aa91f(0x3bb)]['set'](_0xbbcd65,_0x23402a),_0x3dcb9d?window[_0x2aa91f(0x395)][_0x2aa91f(0x167)]('','',_0x23511b[_0x2aa91f(0x192)]()):window[_0x2aa91f(0x395)][_0x2aa91f(0x2bc)]('','',_0x23511b[_0x2aa91f(0x192)]());}[_0x964c6d(0x307)](_0x373485,_0x3247a1=!0x1){const _0x3f649a=_0x964c6d,_0x487205=new URL(window[_0x3f649a(0x35d)]['href']);_0x487205[_0x3f649a(0x3bb)][_0x3f649a(0x31e)](_0x373485),_0x3247a1?window[_0x3f649a(0x395)][_0x3f649a(0x167)]('','',_0x487205['toString']()):window[_0x3f649a(0x395)][_0x3f649a(0x2bc)]('','',_0x487205[_0x3f649a(0x192)]());}[_0x964c6d(0x2e7)](_0x36f757){const _0x3c118d=_0x964c6d;var _0x262408;return(_0x262408=new URL(window[_0x3c118d(0x35d)][_0x3c118d(0x2b0)])['searchParams'][_0x3c118d(0x17d)](_0x36f757))!=null?_0x262408:void 0x0;}}var _0x21a90e=Object['defineProperty'],_0x3b1954=Object[_0x964c6d(0x236)],_0x2e51dd=(_0x3da38e,_0x50f153,_0xfc2c9d)=>_0x50f153 in _0x3da38e?_0x21a90e(_0x3da38e,_0x50f153,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xfc2c9d}):_0x3da38e[_0x50f153]=_0xfc2c9d,_0x184f95=(_0x2915b1,_0x3c51c8,_0x2ba877,_0x3d0688)=>{const _0x5beee1=_0x964c6d;for(var _0x101abe=_0x3d0688>0x1?void 0x0:_0x3d0688?_0x3b1954(_0x3c51c8,_0x2ba877):_0x3c51c8,_0x3c3c42=_0x2915b1[_0x5beee1(0x3b0)]-0x1,_0x5790e6;_0x3c3c42>=0x0;_0x3c3c42--)(_0x5790e6=_0x2915b1[_0x3c3c42])&&(_0x101abe=_0x5790e6(_0x101abe)||_0x101abe);return _0x101abe;},_0x5dfd44=(_0x22de15,_0x3ad9dc)=>(_0x2dc91f,_0x4cd4ca)=>_0x3ad9dc(_0x2dc91f,_0x4cd4ca,_0x22de15),_0x10f37e=(_0x10eb6c,_0x166ad6,_0xfcf559)=>_0x2e51dd(_0x10eb6c,_0x166ad6+'',_0xfcf559);const _0xeb19d='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x3fac21[_0x964c6d(0x3c5)]=class extends _0x17a0d6[_0x964c6d(0x2f1)]{constructor(_0x131aa1=_0x41abbc,_0x7ed9ab,_0x410646,_0x5b9c33){const _0x34d468=_0x964c6d;super(),this[_0x34d468(0x3e9)]=_0x131aa1,this[_0x34d468(0x339)]=_0x7ed9ab,this[_0x34d468(0x222)]=_0x410646,this[_0x34d468(0x322)]=_0x5b9c33;const {..._0x5a5175}=_0x17a0d6[_0x34d468(0x325)]({},_0x41abbc,this[_0x34d468(0x3e9)]);this['_configService']['setConfig'](_0x326b37,_0x5a5175);}[_0x964c6d(0x197)](){const _0x2fb921=_0x964c6d;this[_0x2fb921(0x1e6)](),this['_initDependencies']();}[_0x964c6d(0x1fd)](){const _0x4a54c7=_0x964c6d;this[_0x4a54c7(0x3ce)]();}['_registerDependencies'](){const _0x596a20=_0x964c6d;var _0x4f7cd5;const _0x4e22c8=[[_0x41db9a],[_0x597690],[_0x24de38],[_0x152fd8],[_0x6e5760],[_0x58f6e4,{'useClass':_0x1daf05}],[_0x5600f6[_0x596a20(0x31c)],{'useClass':_0x5600f6[_0x596a20(0x3a9)]}],[_0x1fb374[_0x596a20(0x183)],{'useClass':_0x41fdb}],[_0x3fac21[_0x596a20(0x38f)]],[_0x438c91],[_0x517629],[_0x1fcbad],[_0x566e8b],[_0x3fac21['CollaborationDataLoaderController']]];_0x17a0d6['registerDependencies'](this[_0x596a20(0x222)],_0x17a0d6[_0x596a20(0x2e3)](_0x4e22c8,(_0x4f7cd5=this[_0x596a20(0x3e9)])==null?void 0x0:_0x4f7cd5['override']));}[_0x964c6d(0x3ce)](){const _0x364752=_0x964c6d;this[_0x364752(0x2ba)](this[_0x364752(0x339)]['registerRenderModule'](_0x17a0d6[_0x364752(0x217)][_0x364752(0x206)],[_0x3036df])),this['disposeWithMe'](this[_0x364752(0x339)][_0x364752(0x32e)](_0x17a0d6['UniverInstanceType'][_0x364752(0x254)],[_0x260fea]));}['_initDependencies'](){const _0x4661e2=_0x964c6d;_0x17a0d6[_0x4661e2(0x2f0)](this['_injector'],[[_0x1fcbad],[_0x3fac21['DesktopCollaborationStatusDisplayController']],[_0x438c91],[_0x517629],[_0x3fac21[_0x4661e2(0x328)]]]);}},_0x10f37e(_0x3fac21[_0x964c6d(0x3c5)],_0x964c6d(0x182),_0xeb19d),_0x3fac21[_0x964c6d(0x3c5)]=_0x184f95([_0x17a0d6[_0x964c6d(0x3c0)](_0x1fb374[_0x964c6d(0x291)]),_0x5dfd44(0x1,_0x4826e7['IRenderManagerService']),_0x5dfd44(0x2,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6['Injector'])),_0x5dfd44(0x3,_0x17a0d6['IConfigService'])],_0x3fac21['UniverCollaborationClientUIPlugin']);var _0xb6dc1=Object['getOwnPropertyDescriptor'],_0x3c809c=(_0x5b033a,_0xb22e1a,_0x1267f2,_0xba9e5)=>{const _0x61477c=_0x964c6d;for(var _0x3b9291=_0xba9e5>0x1?void 0x0:_0xba9e5?_0xb6dc1(_0xb22e1a,_0x1267f2):_0xb22e1a,_0x4bab0e=_0x5b033a[_0x61477c(0x3b0)]-0x1,_0x3f84d0;_0x4bab0e>=0x0;_0x4bab0e--)(_0x3f84d0=_0x5b033a[_0x4bab0e])&&(_0x3b9291=_0x3f84d0(_0x3b9291)||_0x3b9291);return _0x3b9291;},_0x294a9b=(_0x40b382,_0x446c65)=>(_0x19a501,_0x1e77e4)=>_0x446c65(_0x19a501,_0x1e77e4,_0x40b382);_0x3fac21['BrowserCollaborationSocketService']=class extends _0x1fb374['CollaborationSocketService']{constructor(_0x5541c1,_0x2f193,_0x4622ba,_0x1450b7,_0x2da197){super(_0x5541c1,_0x2f193,_0x4622ba,_0x1450b7,_0x2da197);}async[_0x964c6d(0x2c5)](_0x5337e5){const _0x45a389=_0x964c6d,_0x192c8f=await this[_0x45a389(0x1a0)](),_0x1da8e8=this[_0x45a389(0x180)](_0x5337e5,_0x192c8f);return this[_0x45a389(0x21d)](_0x1da8e8);}[_0x964c6d(0x180)](_0x3eab3d,_0x4c9296){const _0x200a60=_0x964c6d,_0x2e2342=typeof window>'u'?new URL(_0x3eab3d):new URL(_0x3eab3d,window[_0x200a60(0x35d)][_0x200a60(0x1a1)]);_0x2e2342[_0x200a60(0x3bb)][_0x200a60(0x26d)](_0x200a60(0x21b),_0x4c9296);const _0x52dc34=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x200a60(0x35d)][_0x200a60(0x36d)]);return _0x52dc34[_0x200a60(0x17d)](_0x200a60(0x3cc))&&_0x2e2342['searchParams'][_0x200a60(0x26d)](_0x200a60(0x3cc),_0x52dc34[_0x200a60(0x17d)]('runId')),_0x2e2342[_0x200a60(0x192)]();}async[_0x964c6d(0x1a0)](){const _0x560159=_0x964c6d;var _0x21d4d9,_0x5ca3a3,_0x58b480;const _0x1f25bc=this[_0x560159(0x322)]['getConfig'](_0x1fb374[_0x560159(0x2e2)]),_0x18f7c6=(_0x21d4d9=_0x1f25bc==null?void 0x0:_0x1f25bc[_0x560159(0x185)])!=null?_0x21d4d9:_0x1fb374[_0x560159(0x3c2)];return(_0x58b480=(_0x5ca3a3=(await this[_0x560159(0x384)][_0x560159(0x17d)](_0x18f7c6,{'headers':{'Content-Type':'application/json'}}))[_0x560159(0x310)])==null?void 0x0:_0x5ca3a3[_0x560159(0x385)])!=null?_0x58b480:'';}},_0x3fac21[_0x964c6d(0x38b)]=_0x3c809c([_0x294a9b(0x0,_0x17a0d6[_0x964c6d(0x1ad)](_0x17a0d6[_0x964c6d(0x3d0)])),_0x294a9b(0x1,_0x17a0d6[_0x964c6d(0x1ad)](_0x5600f6[_0x964c6d(0x2c0)])),_0x294a9b(0x2,_0x17a0d6[_0x964c6d(0x23b)]),_0x294a9b(0x3,_0x17a0d6[_0x964c6d(0x25c)]),_0x294a9b(0x4,_0x2226d4['ISnapshotServerService'])],_0x3fac21[_0x964c6d(0x38b)]);const _0x187591=0x7530,_0x5af4ae=_0x964c6d(0x1ea);class _0x3594d5 extends _0x17a0d6[_0x964c6d(0x299)]{constructor(){const _0x1daa23=_0x964c6d;super(),_0x2e1f76(this,_0x1daa23(0x190),_0x17a0d6[_0x1daa23(0x347)]()),_0x2e1f76(this,'_selfUnitIDs',new Set()),_0x2e1f76(this,_0x1daa23(0x3a4),new Map()),_0x2e1f76(this,_0x1daa23(0x2cf),null),_0x2e1f76(this,_0x1daa23(0x3f0),new Map()),_0x2e1f76(this,_0x1daa23(0x16a),new Map()),this[_0x1daa23(0x272)]();}[_0x964c6d(0x2bd)](){const _0x3f7f3d=_0x964c6d;super['dispose'](),this[_0x3f7f3d(0x3f0)]['forEach']((_0x84ea5e,_0xcd82c3)=>this['_removeClearOtherTimer'](_0xcd82c3)),this[_0x3f7f3d(0x2cf)]&&window[_0x3f7f3d(0x37a)](this[_0x3f7f3d(0x2cf)]);}['getUnitStatus$'](_0x52e1fa){const _0x4f6959=_0x964c6d;return this[_0x4f6959(0x219)](_0x52e1fa)[_0x4f6959(0x3e0)](_0xa893e5[_0x4f6959(0x184)]());}[_0x964c6d(0x3b1)](_0x1dd900){const _0x297713=_0x964c6d;this[_0x297713(0x3a2)][_0x297713(0x3eb)]===0x0&&this[_0x297713(0x1f1)](),this[_0x297713(0x3a2)][_0x297713(0x16b)](_0x1dd900),this[_0x297713(0x267)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x1dd900],'isForwarded':!0x1});}['disposeUnit'](_0x1df5ae){const _0x15bb1b=_0x964c6d;this[_0x15bb1b(0x3a2)][_0x15bb1b(0x31e)](_0x1df5ae),this[_0x15bb1b(0x3a2)][_0x15bb1b(0x3eb)]===0x0&&this['_heartbeatTimer']&&window[_0x15bb1b(0x37a)](this['_heartbeatTimer']);}['_init'](){const _0x55e7b9=_0x964c6d;this[_0x55e7b9(0x2ba)](_0x17a0d6['toDisposable'](_0xa893e5[_0x55e7b9(0x293)](window,_0x55e7b9(0x28b))[_0x55e7b9(0x3ec)](_0x332011=>{const _0x3f0360=_0x55e7b9;if(_0x332011[_0x3f0360(0x258)]!==_0x5af4ae||!_0x332011[_0x3f0360(0x37d)])return;const _0x3b6563=JSON[_0x3f0360(0x3d7)](_0x332011[_0x3f0360(0x37d)]);this[_0x3f0360(0x20a)](_0x3b6563);}))),window['addEventListener'](_0x55e7b9(0x162),()=>this[_0x55e7b9(0x267)]({'type':0x1,'memberID':this[_0x55e7b9(0x190)],'unitIDs':Array['from'](this[_0x55e7b9(0x3a2)])}));}[_0x964c6d(0x20a)](_0x4805fd){const _0x43c56c=_0x964c6d;switch(_0x4805fd['type']){case 0x0:this[_0x43c56c(0x2eb)](_0x4805fd);break;case 0x1:this[_0x43c56c(0x26b)](_0x4805fd);break;case 0x2:this[_0x43c56c(0x3ee)](_0x4805fd);break;}}[_0x964c6d(0x2eb)](_0x5093bf){const _0xff54ae=_0x964c6d,{unitIDs:_0xcd7665,memberID:_0x1b92d7,isForwarded:_0x4afb87}=_0x5093bf;_0xcd7665[_0xff54ae(0x2ad)](_0x51f980=>{const _0x2706ab=_0xff54ae;if(!_0x4afb87&&this[_0x2706ab(0x3a4)]['has'](_0x51f980)&&this[_0x2706ab(0x219)](_0x51f980)['next'](_0x1fb374['UnitStatus'][_0x2706ab(0x23a)]),!this[_0x2706ab(0x3a4)][_0x2706ab(0x218)](_0x51f980)||!this['_unitOnClients'][_0x2706ab(0x17d)](_0x51f980)[_0x2706ab(0x218)](_0x1b92d7)){const _0x1f26af=this[_0x2706ab(0x3a4)][_0x2706ab(0x17d)](_0x51f980)||new Set();_0x1f26af[_0x2706ab(0x16b)](_0x1b92d7),this[_0x2706ab(0x3a4)][_0x2706ab(0x26d)](_0x51f980,_0x1f26af),this[_0x2706ab(0x210)](_0x1b92d7);}}),_0x4afb87||this['_send']({'type':0x0,'memberID':this[_0xff54ae(0x190)],'unitIDs':[...this[_0xff54ae(0x3a2)]],'isForwarded':!0x0});}[_0x964c6d(0x210)](_0x1e843f){const _0x18d8f9=_0x964c6d;this[_0x18d8f9(0x1ff)](_0x1e843f);const _0x54b3bb=window['setTimeout'](()=>{const _0x5ba734=_0x18d8f9;this[_0x5ba734(0x3a4)][_0x5ba734(0x2ad)](_0x27fce7=>{const _0x206168=_0x5ba734;_0x27fce7[_0x206168(0x31e)](_0x1e843f);});},_0x187591*0x2);this[_0x18d8f9(0x3f0)][_0x18d8f9(0x26d)](_0x1e843f,_0x54b3bb);}[_0x964c6d(0x1ff)](_0x42c82e){const _0x2c3540=_0x964c6d;if(this[_0x2c3540(0x3f0)][_0x2c3540(0x218)](_0x42c82e)){const _0x28a5e8=this[_0x2c3540(0x3f0)][_0x2c3540(0x17d)](_0x42c82e);_0x28a5e8&&window[_0x2c3540(0x36e)](_0x28a5e8),this[_0x2c3540(0x3f0)]['set'](_0x42c82e,null);}}[_0x964c6d(0x26b)](_0x35f7c9){const _0xe85a4f=_0x964c6d,{memberID:_0x4090fd,unitIDs:_0x37d19f}=_0x35f7c9;_0x37d19f[_0xe85a4f(0x2ad)](_0x2f60a9=>{const _0x45bef7=_0xe85a4f;var _0x34b122;const _0x445a91=this[_0x45bef7(0x3a4)][_0x45bef7(0x17d)](_0x2f60a9);_0x445a91&&(_0x445a91['delete'](_0x4090fd),(_0x34b122=this[_0x45bef7(0x219)](_0x2f60a9))==null||_0x34b122[_0x45bef7(0x3ae)](_0x445a91[_0x45bef7(0x3eb)]===0x0?_0x1fb374[_0x45bef7(0x2bb)][_0x45bef7(0x24b)]:_0x1fb374[_0x45bef7(0x2bb)][_0x45bef7(0x23a)]));}),this[_0xe85a4f(0x1ff)](_0x4090fd);}[_0x964c6d(0x3ee)](_0x403f03){const _0x1b9b6e=_0x964c6d;this['_scheduleClearOtherTimer'](_0x403f03[_0x1b9b6e(0x3cf)]);}[_0x964c6d(0x267)](_0xec686a){const _0x997743=_0x964c6d;localStorage[_0x997743(0x33b)](_0x5af4ae,JSON[_0x997743(0x2ca)](_0xec686a));}[_0x964c6d(0x1f1)](){const _0x17a904=_0x964c6d;this['_heartbeatTimer']=window[_0x17a904(0x393)](()=>{const _0x3769a1=_0x17a904;this[_0x3769a1(0x267)]({'type':0x2,'memberID':this[_0x3769a1(0x190)]});},_0x187591);}['_ensureSubject'](_0x40c1b9){const _0x4b332e=_0x964c6d;return this[_0x4b332e(0x16a)][_0x4b332e(0x218)](_0x40c1b9)||this[_0x4b332e(0x16a)][_0x4b332e(0x26d)](_0x40c1b9,new _0xa893e5[(_0x4b332e(0x1e7))](_0x1fb374[_0x4b332e(0x2bb)][_0x4b332e(0x24b)])),this[_0x4b332e(0x16a)][_0x4b332e(0x17d)](_0x40c1b9);}}var _0x48ac89=(_0x15656c=>(_0x15656c[_0x15656c[_0x964c6d(0x23c)]=0x0]=_0x964c6d(0x23c),_0x15656c[_0x15656c['OK']=0x1]='OK',_0x15656c[_0x15656c['INTERNAL_ERROR']=0x2]=_0x964c6d(0x228),_0x15656c[_0x15656c[_0x964c6d(0x34e)]=0x3]=_0x964c6d(0x34e),_0x15656c[_0x15656c[_0x964c6d(0x1b2)]=0x4]=_0x964c6d(0x1b2),_0x15656c[_0x15656c[_0x964c6d(0x238)]=0x5]=_0x964c6d(0x238),_0x15656c[_0x15656c[_0x964c6d(0x276)]=0x6]=_0x964c6d(0x276),_0x15656c[_0x15656c['INVALID_ARGUMENT']=0x7]=_0x964c6d(0x33a),_0x15656c[_0x15656c[_0x964c6d(0x30b)]=0x8]=_0x964c6d(0x30b),_0x15656c[_0x15656c[_0x964c6d(0x369)]=0x9]=_0x964c6d(0x369),_0x15656c[_0x15656c['LOGIN_FAILED']=0xa]=_0x964c6d(0x19a),_0x15656c[_0x15656c['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x964c6d(0x1f4),_0x15656c[_0x15656c[_0x964c6d(0x1b8)]=0x1771]=_0x964c6d(0x1b8),_0x15656c[_0x15656c['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x964c6d(0x3a8),_0x15656c[_0x15656c[_0x964c6d(0x399)]=0x1773]=_0x964c6d(0x399),_0x15656c[_0x15656c[_0x964c6d(0x304)]=0x1b59]=_0x964c6d(0x304),_0x15656c[_0x15656c[_0x964c6d(0x2f4)]=0x1b5a]=_0x964c6d(0x2f4),_0x15656c[_0x15656c[_0x964c6d(0x36c)]=0x1b5b]=_0x964c6d(0x36c),_0x15656c[_0x15656c[_0x964c6d(0x2a4)]=0x1b5c]=_0x964c6d(0x2a4),_0x15656c[_0x15656c['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x15656c[_0x15656c['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x964c6d(0x3c6),_0x15656c[_0x15656c['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x964c6d(0x285),_0x15656c[_0x15656c[_0x964c6d(0x1ae)]=0x232a]=_0x964c6d(0x1ae),_0x15656c[_0x15656c[_0x964c6d(0x32b)]=0x232b]=_0x964c6d(0x32b),_0x15656c[_0x15656c[_0x964c6d(0x215)]=0x232c]=_0x964c6d(0x215),_0x15656c[_0x15656c[_0x964c6d(0x18d)]=0x232d]=_0x964c6d(0x18d),_0x15656c[_0x15656c[_0x964c6d(0x1cc)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x15656c[_0x15656c['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x15656c[_0x15656c['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x15656c[_0x15656c[_0x964c6d(0x26c)]=0x2714]=_0x964c6d(0x26c),_0x15656c[_0x15656c[_0x964c6d(0x25d)]=0x271a]=_0x964c6d(0x25d),_0x15656c[_0x15656c[_0x964c6d(0x1f6)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x15656c[_0x15656c[_0x964c6d(0x2a9)]=0x271c]=_0x964c6d(0x2a9),_0x15656c[_0x15656c['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x964c6d(0x349),_0x15656c[_0x15656c[_0x964c6d(0x250)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x15656c[_0x15656c['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x15656c[_0x15656c[_0x964c6d(0x3b3)]=0x2af9]=_0x964c6d(0x3b3),_0x15656c[_0x15656c[_0x964c6d(0x196)]=0x2ee1]=_0x964c6d(0x196),_0x15656c[_0x15656c['INVALID_INVITE_CODE']=0x2ee2]=_0x964c6d(0x1e5),_0x15656c[_0x15656c[_0x964c6d(0x3a5)]=0x2ee3]=_0x964c6d(0x3a5),_0x15656c[_0x15656c[_0x964c6d(0x1d4)]=0x2ee4]=_0x964c6d(0x1d4),_0x15656c[_0x15656c[_0x964c6d(0x336)]=0x2ee5]=_0x964c6d(0x336),_0x15656c[_0x15656c['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x964c6d(0x261),_0x15656c[_0x15656c[_0x964c6d(0x1df)]=0x32ca]=_0x964c6d(0x1df),_0x15656c[_0x15656c[_0x964c6d(0x2c4)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x15656c[_0x15656c['UNRECOGNIZED']=-0x1]=_0x964c6d(0x27a),_0x15656c))(_0x48ac89||{}),_0x73cde7=Object[_0x964c6d(0x236)],_0x5b7a91=(_0x46c71e,_0x32f399,_0x20ea84,_0xebbb75)=>{const _0x5c10b2=_0x964c6d;for(var _0x1bd230=_0xebbb75>0x1?void 0x0:_0xebbb75?_0x73cde7(_0x32f399,_0x20ea84):_0x32f399,_0x30cbb3=_0x46c71e[_0x5c10b2(0x3b0)]-0x1,_0x117c5a;_0x30cbb3>=0x0;_0x30cbb3--)(_0x117c5a=_0x46c71e[_0x30cbb3])&&(_0x1bd230=_0x117c5a(_0x1bd230)||_0x1bd230);return _0x1bd230;},_0x5968b3=(_0x315276,_0x531c87)=>(_0x27ff51,_0x51f9b9)=>_0x531c87(_0x27ff51,_0x51f9b9,_0x315276);_0x3fac21[_0x964c6d(0x32d)]=class extends _0x17a0d6[_0x964c6d(0x299)]{constructor(_0x229a5c,_0x1c1617,_0x2a285d){const _0x12d026=_0x964c6d;super(),this[_0x12d026(0x18a)]=_0x229a5c,this[_0x12d026(0x384)]=_0x1c1617,this[_0x12d026(0x322)]=_0x2a285d;}async[_0x964c6d(0x2a3)](_0x408ea2,_0x5f3f81,_0x1c9a85,..._0x37395d){const _0x48c4e8=_0x964c6d;var _0x3baa0f,_0x48a7b9,_0x5225f3,_0x1edc64;const _0x250fc1=this['_instanceService'][_0x48c4e8(0x172)]();if(!_0x250fc1)throw new Error(_0x48c4e8(0x38e));const _0x268c98=((_0x3baa0f=this[_0x48c4e8(0x322)]['getConfig'](_0x1fb374[_0x48c4e8(0x2fe)]))!=null?_0x3baa0f:_0x1fb374[_0x48c4e8(0x234)])+'/'+_0x408ea2+_0x48c4e8(0x3bc)+_0x5f3f81,_0x237fab=new URL(window[_0x48c4e8(0x35d)]['href']),_0x12c44b={'scriptId':_0x408ea2,'runId':(_0x48a7b9=_0x237fab['searchParams'][_0x48c4e8(0x17d)](_0x48c4e8(0x3cc)))!=null?_0x48a7b9:'','function':_0x5f3f81,'unitId':_0x250fc1['getUnitId'](),'argsOfFunction':JSON[_0x48c4e8(0x2ca)](_0x37395d),'invokeId':(_0x5225f3=_0x1c9a85[_0x48c4e8(0x2b2)])!=null?_0x5225f3:'','executionId':(_0x1edc64=_0x1c9a85[_0x48c4e8(0x19f)])!=null?_0x1edc64:''};try{const _0x259bb7=await this[_0x48c4e8(0x384)][_0x48c4e8(0x1cb)](_0x268c98,{'body':_0x12c44b});return _0x259bb7[_0x48c4e8(0x310)][_0x48c4e8(0x232)]&&_0x259bb7[_0x48c4e8(0x310)]['error']['code']!==_0x48ac89['OK']?_0x48c4e8(0x22f):_0x259bb7['body'][_0x48c4e8(0x245)];}catch{return'Failed';}}},_0x3fac21[_0x964c6d(0x32d)]=_0x5b7a91([_0x5968b3(0x0,_0x17a0d6[_0x964c6d(0x22d)]),_0x5968b3(0x1,_0x17a0d6[_0x964c6d(0x1ad)](_0x5600f6[_0x964c6d(0x2c0)])),_0x5968b3(0x2,_0x17a0d6['IConfigService'])],_0x3fac21['RemoteUniscriptService']),_0x3fac21['CollaborationStatusDisplay']=_0x531a04,_0x3fac21[_0x964c6d(0x346)]=_0x58f6e4,_0x3fac21[_0x964c6d(0x208)]=_0x58253f,_0x3fac21[_0x964c6d(0x221)]=_0x3594d5,_0x3fac21[_0x964c6d(0x1f3)]=_0x1daf05,Object[_0x964c6d(0x376)](_0x3fac21,Symbol[_0x964c6d(0x24e)],{'value':_0x964c6d(0x3a3)});}));function _0x12c4(_0x4fef79,_0x3801bd){const _0x2d577d=_0x2d57();return _0x12c4=function(_0x12c409,_0x75f895){_0x12c409=_0x12c409-0x161;let _0x579d06=_0x2d577d[_0x12c409];return _0x579d06;},_0x12c4(_0x4fef79,_0x3801bd);}function _0x2d57(){const _0x4cea9c=['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','mergeOverrideWithDependencies','USERS_LEAVE','collaboration.single-unit.warning','extend','getParam','setStateCache','_sheetSkeletonManagerService','deepClone','_handleJoinEvent','_univerInstanceService','name','currentTheme$','save','touchDependencies','Plugin','filter','selections','APPLY_NON_SEQUENTIAL_REVISION','_collaborationController','getUndoRedoMutationParamsCache','@univerjs/core','CollaborationUIEventId','defs','getUnitId','getTypeOfUnitDisposed$','React','off-line-icon','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','undoState','@univerjs/network','SetWorksheetActivateCommand','_toggleOffline','imageSourceType','APPLY_REJECT','InsertRangeMoveDownCommandId','NodePositionConvertToCursor','removeParam','createIdentifier','OnLineIcon','ThemeService','TOO_MANY_REQUESTS','status$','exhaustSavingTask','getVpScrollXYInfoByPosToVp','onLocalMutation','body','IRenderManagerService','setParam','_docTransformSelectionsService','unitId','getSheetId','_getAnchorBounding','_refRangeService','getCollabEntity$','transformMutationsWithChangeset','Tooltip','connectInjector','ISocketService','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','delete','ColorKit','ILocalStorageService','@univerjs-pro/collaboration-client','_configService','setShapeProps','split','merge','backgroundColor','replace','CollaborationDataLoaderController','TEXT_RANGE_LAYER_INDEX','_drawRectRange','LICENSE_IMPORT_SIZE_EXCEEDED','getConfig','RemoteUniscriptService','registerRenderModule','source','getMemberID','apply','@univerjs/drawing','transformSelections','UniverCore','HEADER_MENU','INVITE_CODE_ALREADY_BOUND','UniverEngineRender','_cursorInfo$','_renderManagerService','INVALID_ARGUMENT','setItem','_refreshCollabCursors','INotificationService','_session','ONLINE','UniverDocs','_removeCollabCursors','unshift','7mnaDic','_name','takeUntil','IURLService','generateRandomId','addObject','YUUMI_ALL_TABLES_IS_INVALID','IMessageService','handleDeleteRangeMoveUp','getUniverSheetInstance','jsxs','PERMISSION_DENIED','_range','transformByState','ICommandService','_startDocCollabCursor','send','_transformService','_revisionService','clipPath','1em','translate(.97)','div','debounce','_textBubble','all','location','_updateSubUnitFromURLParams','CONFLICT','children','2379288DmQRrX','urlChange$','debounceTime','_beforeCloseService','init','sessionStatus$','transformStateCache','TEXT','COMPLETION_FINISHED','fill','_setupBeforeClosingHandler','APPLY_REVISION_CONFILICT','search','clearTimeout','type','MemberService','Unknown\x20user','hide','_getMergeRange','createElement','OFFLINE','defineProperty','IDocClipboardService','random','react','clearInterval','Tools','white','newValue','COLORS','CollaborationStatus','_assignedColors','setUndoRedoMutationParamsCache','loadOfflineData','LocaleService','_httpService','ticket','handleInsertRangeMoveDown','beginPath','className','CLOSE_ROOM','_updateCollabCursors','BrowserCollaborationSocketService','getLocalCacheKey','_roomMembers$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','DesktopCollaborationStatusDisplayController','@univerjs-pro/collaboration','getMember','session.will-retry','setInterval','collaboration-client-ui.config','history','setActiveRange','RevisionService','isTransformMutationFailure','ENSURE_SNAPSHOT_EXECUTION','textRanges','docStateChange$','collab-rect-range-','VIEW_MAIN','_docStateChangeManagerService','handleDeleteRangeMoveLeft','DOC_RANGE_TYPE','_cursors','_selfUnitIDs','Module','_unitOnClients','INVITE_CODE_REQUIRED','complete','UPDATE_CURSOR','SNAPSHOT_HAS_BEEN_REMOVED','WebSocketService','univer-flex\x20univer-mr-2\x20univer-text-xl','_onCursorUpdate','width','3119544bKxzWn','next','DeleteRangeMoveLeftCommandId','length','editingUnit','getOffsetConfig','PY_RUNTIME_SCRIPT_ERROR','_syncEditingCollabCursorService','RxDisposable','_drawAnchor','clsx','collabStatus.syncing','enableLocalCache','closePath','searchParams','/run/','_urlService','endColumn','propertyIsEnumerable','DependentOn','UniverProCollaboration','DEFAULT_WS_SESSION_TICKET_URL','show','useCallback','UniverCollaborationClientUIPlugin','CONNECTOR_DATA_TOO_LARGE','_entityInit$','_hideTimer','currentColor','Subject','startRow','runId','_anchorDot','_registerRenderDependencies','memberID','Injector','svg','_scene','mapTo','CollaborationController','_docSkeletonManagerService','SYNCED','parse','UniverDocsUi','getMergeData','InsertRowCommandId','saveTaskMap','PENDING','getAncestorScale','SheetsSelectionsService','_themeService','pipe','RemoveRowCommandId','sheetID','focused$','RefRangeService','getRenderById','RECT','isEditing','displayName','_config','_docTransformIMECacheService','size','subscribe','getActiveRange','_handleHeartbeatEvent','isTransformMutationsWithChangesetSuccess','_clearOtherTimers','_logService','findNodePositionByCharIndex','Shape','lineTo','CollaborationUIEventService','@univerjs/engine-render','green.600','unload','_getSheetObject','unit','serializeRangeWithSheet','getCurrentUnitForType','replaceState','text','data','_unitStatus','add','startsWith','_transformHistoryAndStateStack','UniverEngineFormula','NodePositionConvertToRectRange','colorChannel1','_localCacheService','getFocusedUnit','transformIMECache','subUnitId','requireSession','IImageIoService','688985SVZNXZ','min','bottom','idSuffix','handleMoveRange','on-line-icon_clip0_910_349','get','DocSelectionManagerService','handleIRemoveCol','_createSocketURL','ITransformService','pluginName','ILocalCacheService','distinctUntilChanged','wsSessionTicketUrl','DocStateChangeManagerService','values','[CollaborationDataLoaderController]','_collabCursorController','_instanceService','m1Prime','_labelPosition','LICENSE_DISTRO_REJECTED','EffectRefRangId','actions','_id','icon','toString','operators','string','_saveCache','INVITE_CODE_HAS_BEEN_UES','onStarting','@univerjs/sheets','_anchor','LOGIN_FAILED','_scheduleSaving','concat','syncEditingCollabCursor','endRow','executionId','_getSessionTicket','origin','isActive','_updateLocalCursor','roomMembers$','useDependency','Workbook','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','jsx','_initEntityListener','font','TRANSFORM_CHANGE_OBSERVABLE_TYPE','m2Prime','Inject','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_color','getColor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','NOT_FOUND','prototype','_render','attrs','measureText','Optional','SNAPSHOT_INVALID_SNAPSHOT','0\x200\x2017\x2016','_transformPreviousActiveRange','from','onPointerMove$','@univerjs/ui','_messageService','_commandService','defIds','SOCKET_FAILED','UniverNetwork','_updateURLWithCurrentState','_collaborationUIEventService','@univerjs/docs-ui','@univerjs/sheets-ui','uni.network.url-service','then','_initStatusListener','_backgroundColor','post','YUUMI_UNABLE_LOAD_URL','Warning','combineLatest','CollaborationEvent','...','_localStorageService','collabStatus.synced','DocIMEInputManagerService','USER_NOT_INVITED_CODE','27ivoUAy','Error','dispose$','LOCAL_CACHE_INTERVAL_KEY','DeleteRangeMoveUpCommandId','object','handleInsertCol','_lastPointer','startColumn','onPointerLeave$','MOBILE_HAS_BEEN_BOUND','handleInsertRow','react/jsx-runtime','subscribeEvent','event$','_notificationService','INVALID_INVITE_CODE','_registerDependencies','BehaviorSubject','moveTo','_cursor','ACTIVE_UNIT_EVENT_CHANNEL','none','saveOfflineData','engine','3mfxEaM','_imageIoService','height','_scheduleHeartbeat','setAlpha','WebURLService','CHANGESET_REVISION_CONFILICT','InsertRangeMoveRightCommandId','YUUMI_ASYNCIO_CANCELLED','rxjs','RemoveColCommandId','row','_collabCursorState$','collabStatus.conflict','round','onRendered','cursorInfo','_removeClearOtherTimer','DocSkeletonManagerService','drawWith','roomMembers','onCommandExecuted','getValue','getSkeleton','UNIVER_DOC','selection','SheetCollabCursorShape','http://www.w3.org/2000/svg','_handleEvent','_draw','fromEventSubject','rxjs/operators','fillText','whenReady','_scheduleClearOtherTimer','_transformUndoRedoStack','getCurrentSelections','DocCollaborationEntity','session.collaboration-timeout','LICENSE_EXPORT_SIZE_EXCEEDED','getSheetBySheetId','UniverInstanceType','has','_ensureSubject','indexOf','sessionTicket','onMouseMove','_doCreateSocket','Rect','SUBMIT_CHANGESET_TIMEOUT','getRelativeToViewportCoord','WebBrowserSingleActiveUnitService','_injector','0\x200\x2016\x2016','_context','IUIPartsService','_getScale','getColorFromTheme','INTERNAL_ERROR','collabStatus.notCollab','forwardRef','eventID','registerBeforeClose','IUniverInstanceService','addObjects','Failed','_disabled','_docSyncEditingCollabCursorService','error','mask','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','SessionStatus','getOwnPropertyDescriptor','path','UNAUTHENTICATED','unsubscribe','OTHER_CLIENTS_EDITING','IConfigService','UNDEFINED','UniverIcon','_onCursorDelete','redoState','map','unitID','max','getRangePointData','ranges','result','color','@univerjs/engine-formula','_setupSubUnitSync','sheetId','hasOwnProperty','NO_OTHER_CLIENTS_EDITING','handleIRemoveRow','runRefRangeMutations','toStringTag','use','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','mutations','_memberService','switchMap','UNIVER_SHEET','UniverDrawing','collabCursorState$','@univerjs/docs','key','arc','_cursorShapes','univer-flex\x20univer-items-center','ILogService','YUUMI_NO_CUBOID_FOR_QUESTION','_collabSessionService','CollaborationSessionService','getActiveSheet','WECHAT_HAS_BEEN_BOUND','SOCKET_FAILED_RETRY','_colorIndex','getDocRanges','addHandlerCallback','useRef','_send','collaboration.closeRoom','CommandType','doc.mutation.rich-text-editing','_handleLeaveEvent','YUUMI_SUBSCRIPTION_NOT_FOUND','set','black','_saveTaskMap','function','xlink:href','_init','getOwnPropertySymbols','_initCommandExecutedListener','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','ALREADY_EXISTS','transformRemoteChangeset','FETCH_MISS','_colorAssignService','UNRECOGNIZED','getStateCache','13273140QsTekc','UniverUi','3571542XHgpBC','_handleHover','assignAColorForMemberID','fillRule','addClipboardHook','847944Mxbsfp','_drawTextRange','LICENSE_MAX_UNITS_EXCEEDED','@univerjs/design','_getSaveTimeout','isArray','exports','univerjs-icon\x20univerjs-icon-','storage','push','transformMutation','executeCommand','cursorInfo$','params','UniverCollaborationClientPlugin','BuiltInUIPart','fromEvent','_eventUnsubscribe','onPointerEnter$','with','throttleTime','M0\x200H16V16H0z','Disposable','some','_docSkeleton','url(#$1','restore','blue.400','_initResize','_toggleOnline','permission.content','purple.300','runOnServer','APPLY_PERMISSION_DENIED','AWAITING_WITH_PENDING','call','handleInsertRangeMoveRight','NOT_COLLAB','YUUMI_TABLE_NOT_FOUND_IN_UNIT','registerComponent','toRgbString','entries','forEach','tag','url(#off-line-icon_clip0_910_343)','href','asObservable','invokeId','_status$','501536XNiAWt','amd','_docClipboardService','_online','RegularPolygon','_localeService','disposeWithMe','UnitStatus','pushState','dispose','popstate','InsertColCommandId','HTTPService','on-line-icon','_hovered','_docTransformStateCacheService','EMAIL_HAS_BEEN_BOUND','createSocket','top','jiqing.500','contains','saveImage','stringify','OffLineIcon','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','currentSkeleton$','_shapes','_heartbeatTimer','_initEvent','MessageType','_dataLoaderService','SetSelectionsOperation','find','collabStatus.fetchMiss','subunit','getUnhiddenWorksheets','_onRefRangeChange','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','activeSheet$','_document','_cachedData','_entities','useObservable','symbol','_uiPartsService','getCoordByCell'];_0x2d57=function(){return _0x4cea9c;};return _0x2d57();}
1
+ function _0xc513(_0x5d3d6a,_0x2f52d8){const _0x474964=_0x4749();return _0xc513=function(_0xc51387,_0xdb79ce){_0xc51387=_0xc51387-0x118;let _0x1b0697=_0x474964[_0xc51387];return _0x1b0697;},_0xc513(_0x5d3d6a,_0x2f52d8);}function _0x4749(){const _0x4865e6=['random','LocaleService','pushState','saveOfflineData','INotificationService','hasOwnProperty','UPDATE_CURSOR','_drawTextRange','on-line-icon','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','Unknown\x20user','restore','color','LICENSE_DISTRO_REJECTED','forwardRef','subscribe','UniverDrawing','collab-text-range-','width','defs','icon','getCoordByCell','_color','Module','AWAITING_WITH_PENDING','_shapes','from','url(#on-line-icon_clip0_910_349)','handleInsertRangeMoveDown','_instanceService','_cursorInfo$','amd','fromEventSubject','_scene','registerBeforeClose','subUnitId','_collabCursorState$','unit','_scheduleClearOtherTimer','updateOfflineData','memberID','RemoteUniscriptService','registerDependencies','storage','CONNECTOR_DATA_TOO_LARGE','set','RichTextEditingMutation','startsWith','UniverDesign','div','collaboration.closeRoom','height','registerRefRange','currentTheme$','_collaborationController','map','getRenderById','roomMembers$','UniverProCollaborationClient','getCollabCursors$','replace','getCellPositionByOffset','split','UniverProCollaborationClientUi','getDocRanges','_initResize','_disabled','values','NOT_COLLAB','AWAITING','yellow.400','m1Prime','InsertRangeMoveDownCommandId','DeleteRangeMoveLeftCommandId','getUnhiddenWorksheets','_logService','@univerjs/sheets-ui','_renderManagerService','onPointerMove$','_transformUndoRedoStack','_session','name','_colorAssignService','generateRandomId','DEFAULT_WS_SESSION_TICKET_URL','ticket','collaboration-client-ui.config','attrs','_docTransformStateCacheService','send','_updateSubUnitFromURLParams','isActive','next','complete','UniverInstanceType','_sheetSkeletonManagerService','MessageType','url(#$1','drawWith','urlChange$','IRemoteInstanceService','setActiveRange','2588568KwxVaZ','IURLService','RefRangeService','translate(.97)','setItem','unitId','UnitStatus','getUnitId','InsertRangeMoveRightCommandId','UniverUi','IConfigService','_httpService','_removeCollabCursors','RevisionService','href','getSkeleton','getFocusedUnit','collabStatus.fetchMiss','syncEditingCollabCursor','UniverCore','Subject','SOCKET_FAILED_RETRY','deepClone','handleIRemoveRow','React','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','collab-client.tooltip.reconnect','1em','#FFF','fillText','ILocalCacheService','INVITE_CODE_HAS_BEEN_UES','ENSURE_SNAPSHOT_EXECUTION','DependentOn','m2Prime','searchParams','onCommandExecuted','find','JOIN_ROOM_FAILED','current','jiqing.500','SetSelectionsOperation','DisposableCollection','DocCollaborationEntity','_registerRenderDependencies','_urlService','wsSessionTicketUrl','COMPLETION_FINISHED','_render','_eventUnsubscribe','CollaborationUIEventId','FETCH_MISS','@univerjs-pro/collaboration-client','unload','delete','@univerjs/drawing','_docSkeletonManagerService','YUUMI_ASYNCIO_CANCELLED','_startDocCollabCursor','getSheetObject','undoState','_onRefRangeChange','RemoveRowCommandId','subunit','_onCursorUpdate','combineLatest','createElement','indexOf','_refRangeService','2779445jcnssk','addEventListener','round','flatMap','_send','_name','roomMembers','collab-rect-range-','_initStatusListener','_imageIoService','debounce','fill','_transformHistoryAndStateStack','handleInsertCol','LICENSE_MAX_UNITS_EXCEEDED','addObjects','IBeforeCloseService','pluginName','column','transform','takeUntil','getValue','onPointerEnter$','@univerjs-pro/collaboration','params','isArray','USER_NOT_INVITED_CODE','toRgbString','deserializeRangeWithSheet','DeleteRangeMoveUpCommandId','substring','COLORS','exhaustSavingTask','UniverCollaborationClientUIPlugin','sheetID','Injector','path','CollaborationDataLoaderController','createInstance','Disposable','_clearOtherTimers','9297430OlKRfu','NOT_FOUND','_dataLoaderService','body','entries','currentColor','@univerjs/rpc','function','replaceDocRanges','YUUMI_UNABLE_LOAD_URL','_messageService','_notificationService','11362kyEfSY','_getSheetObject','YUUMI_ALL_TABLES_IS_INVALID','isEditing','requireSession','IImageIoService','xlink:href','getMember','fillStyle','executeCommand','CollaborationEvent','847KkalEJ','asObservable','EffectRefRangId','evenodd','red.300','getOwnPropertySymbols','text','saveTaskMap','LICENSE_IMPORT_SIZE_EXCEEDED','_docStateChangeManagerService','endColumn','UNAUTHENTICATED','UNRECOGNIZED','Rectangle','MOBILE_HAS_BEEN_BOUND','_injector','YUUMI_SUBSCRIPTION_NOT_FOUND','_docTransformIMECacheService','getViewport','hide','clearTimeout','_setupSubUnitSync','getMergeData','ITransformService','cursorInfo$','FromArray','show','collabStatus.offline','purple.300','_ensureSubject','application/json','currentSkeleton$','serializeRangeWithSheet','[CollaborationDataLoaderController]','EMAIL_HAS_BEEN_BOUND','history','48UUuAvj','mask','UNIVER_SHEET','error','NodePositionConvertToCursor','_hovered','loadUnit','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','override','CommandType','_localeService','handleIRemoveCol','APPLY_NON_SEQUENTIAL_REVISION','_scheduleHeartbeat','setUndoRedoMutationParamsCache','doc.mutation.rich-text-editing','BehaviorSubject','ThemeService','max','has','LOCAL_CACHE_INTERVAL','DocIMEInputManagerService','permission.content','...','debounceTime','APPLY_REVISION_CONFILICT','_collabSessionService','_init','_anchorDot','IMessageService','removeParam','@univerjs/engine-formula','@univerjs/core','PERMISSION_DENIED','measureText','APPLY_DUPLICATED','off-line-icon_clip0_910_343','call','UniverSheets','ISocketService','ALREADY_EXISTS','ILocalStorageService','disposeWithMe','shareReplay','mutations','SNAPSHOT_HAS_BEEN_REMOVED','_backgroundColor','react','_saveTaskMap','tag','setStateCache','WebURLService','LOCAL_CACHE_INTERVAL_KEY','NO_OTHER_CLIENTS_EDITING','add','string','getLocalCacheKey','LICENSE_EXPORT_SIZE_EXCEEDED','_selfUnitIDs','_range','APPLY_REJECT','onMouseMove','transformStateCache','transformMutation','DataLoaderService','startColumn','Error','CollaborationUIEventService','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','fromEvent','transformByState','_hideTimer','collab-text-anchor-','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','newValue','_collaborationUIEventService','rgba(255,\x20255,\x20255,\x200.01)','getColor','18QpCKDO','handleDeleteRangeMoveUp','_saveCache','colorChannel1','_docSyncEditingCollabCursorService','_toggleOnline','setInterval','getVpScrollXYInfoByPosToVp','_drawAnchor','collabStatus.notCollab','handleInsertRangeMoveRight','Vector2','602032xhzGmS','getParam','Plugin','addHandlerCallback','min','_toggleOffline','OTHER_CLIENTS_EDITING','OnLineIcon','setParam','_draw','_handleHover','_refreshCollabCursors','MemberService','font','IRenderManagerService','SOCKET_FAILED','_colorIndex','_updateCollabCursors','INVALID_ARGUMENT','children','length','black','getTypeOfUnitAdded$','throttleTime','DocSelectionManagerService','on-line-icon_clip0_910_349','connectInjector','_initEntityListener','DocStateChangeManagerService','dispose','9LgMNWB','svg','getOffsetConfig','getCurrentSelections','_themeService','@univerjs/ui','data','0\x200\x2016\x2016','with','_transformPreviousActiveRange','collabStatus.synced','popstate','defIds','unitID','contains','UNIVER_DOC','redoState','getRangePointData','MoveRangeCommandId','extend','_initCommandExecutedListener','YUUMI_AI_RUN_FAILED','TEXT_RANGE_LAYER_INDEX','bottom','_univerInstanceService','setAlpha','_assignedColors','parse','save','univerjs-icon\x20univerjs-icon-','rxjs/operators','_removeClearOtherTimer','_textBubble','@univerjs/docs','UniverSheetsUi','univer-flex\x20univer-items-center','_entityInit$','M0\x200H16V16H0z','clipPath','_createSocketURL','toDisposable','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','SNAPSHOT_INVALID_SNAPSHOT','reconnect','jsxs','editingUnit','stringify','ILogService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','Failed','collabCursorState$','RegularPolygon','transformMutationsWithChangeset','displayName','key','subscribeEvent','transformIMECache','getActiveRange','isTransformMutationsWithChangesetSuccess','filter','TRANSFORM_CHANGE_OBSERVABLE_TYPE','YUUMI_RATE_OVER_LIMIT','_updateLocalCursor','Warning','SessionStatus','debug','_syncEditingCollabCursorService','_labelPosition','whenReady','Inject','registerRenderModule','init','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','SYNCED','UniverIcon','Workbook','docStateChange$','ColorKit','UniverEngineRender','closePath','unshift','getMemberID','_getSessionTicket','assign','concat','getCurrentUnitForType','collaboration.single-unit.warning','ICommandService','_getScale','useRef','HTTPService','25994QdJTCp','push','_context','Shape','IUniverInstanceService','hovered','blue.400','idSuffix','setTimeout','_beforeCloseService','_cursorShapes','selections','setShapeProps','sheetId','ACTIVE_UNIT_EVENT_CHANNEL','operators','all','_roomMembers$','sessionTicket','APPLY_PERMISSION_DENIED','SheetsSelectionsService','TOO_MANY_REQUESTS','green.600','post','WebBrowserSingleActiveUnitService','getConfig','dispose$','BrowserCollaborationSocketService','getUniverSheetInstance','_handleJoinEvent','object','touchDependencies','runId','assignAColorForMemberID','textRanges','apply','react/jsx-runtime','YUUMI_TABLE_NOT_FOUND_IN_UNIT','result','pipe','getSheetId','_commandService','INVITE_CODE_ALREADY_BOUND','addClipboardHook','_unitStatus','UniverCollaborationClientPlugin','getActiveSheet','handleDeleteRangeMoveLeft','USERS_LEAVE','_docClipboardService','DesktopCollaborationStatusDisplayController','then','_handleHeartbeatEvent','@univerjs/engine-render','getItem','_id','onTransformChange$','skeleton','DOC_RANGE_TYPE','onLocalMutation','_memberService','_drawRectRange','top','loadOfflineData','_revisionService','includes','INTERNAL_ERROR','getUnitStatus$','_uiPartsService','UNDEFINED','_startSheetCollabCursor','onPointerLeave$','labelPosition','CollaborationController','startRow','engine','type','transformSelections','uni.network.url-service','search','_entities','_cursor','propertyIsEnumerable','origin','none','_configService','arc','_localCacheService','@univerjs/sheets','activeSheet$','_heartbeatTimer','SetWorksheetActivateCommand','_registerDependencies','_localStorageService','_anchor','source','selection','_online','defineProperty','ONLINE','VIEW_MAIN','Rect','executionId','_updateURLWithCurrentState','_docTransformSelectionsService','PENDING','runRefRangeMutations','ranges','prototype','_handleEvent','PY_RUNTIME_SCRIPT_ERROR','getStateCache','@univerjs/docs-ui','lineTo','Optional','range','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','createIdentifier','size','RECT','_setupBeforeClosingHandler','forEach','makeDirty','merge','collabStatus.conflict','jsx','event$','focused$','HEADER_MENU','handleMoveRange','CollaborationStatus','IUIPartsService','eventID','cursorInfo','InsertRowCommandId','imageSourceType','switchMap','trim','location','UniverRpc','runOnServer','replaceState','unsubscribe','_cachedData','_cursors','_getAnchorBounding','CollaborationSessionService','Tooltip','getOwnPropertyDescriptor','_config','addObject','_getSaveTimeout','_hover','transformRemoteChangeset','YUUMI_NO_CUBOID_FOR_QUESTION','_transformService','WebSocketService','get','_getMergeRange','SHEET_VIEWPORT_KEY','beginPath','url(#off-line-icon_clip0_910_343)','YUUMI_URL_COL_OUT_OF_RANGE','mergeOverrideWithDependencies','useDependency','INVALID_INVITE_CODE','Tools','_unitOnClients','_status$','session.will-retry','_initStatusComponent','_scheduleSaving','_collabCursorController','getSheetBySheetId','white','UniverProCollaboration','rxjs','_onCursorDelete','_doCreateSocket','clearInterval','RxDisposable','_initEvent','toString','isTransformMutationFailure','findNodePositionByCharIndex','clsx','onRendered'];_0x4749=function(){return _0x4865e6;};return _0x4749();}(function(_0x3bedb0,_0x21fc1d){const _0x119428=_0xc513,_0x554bf1=_0x3bedb0();while(!![]){try{const _0x469e56=parseInt(_0x119428(0x209))/0x1+-parseInt(_0x119428(0x3a4))/0x2*(parseInt(_0x119428(0x184))/0x3)+parseInt(_0x119428(0x32a))/0x4+parseInt(_0x119428(0x36f))/0x5+-parseInt(_0x119428(0x136))/0x6*(parseInt(_0x119428(0x3af))/0x7)+parseInt(_0x119428(0x190))/0x8+parseInt(_0x119428(0x1ae))/0x9*(-parseInt(_0x119428(0x398))/0xa);if(_0x469e56===_0x21fc1d)break;else _0x554bf1['push'](_0x554bf1['shift']());}catch(_0x5a51d7){_0x554bf1['push'](_0x554bf1['shift']());}}}(_0x4749,0x52e1a),function(_0x29f418,_0x1f293f){const _0x125c76=_0xc513;typeof exports==_0x125c76(0x227)&&typeof module<'u'?_0x1f293f(exports,require(_0x125c76(0x35e)),require(_0x125c76(0x156)),require(_0x125c76(0x23e)),require('@univerjs/network'),require(_0x125c76(0x279)),require(_0x125c76(0x361)),require(_0x125c76(0x2b9)),require(_0x125c76(0x1cf)),require(_0x125c76(0x386)),require(_0x125c76(0x155)),require(_0x125c76(0x261)),require(_0x125c76(0x1cc)),require('@univerjs/sheets-ui'),require(_0x125c76(0x22d)),require(_0x125c76(0x1b3)),require('@univerjs/design'),require(_0x125c76(0x165)),require('@univerjs/rpc')):typeof define==_0x125c76(0x39f)&&define[_0x125c76(0x2e3)]?define(['exports','@univerjs-pro/collaboration-client',_0x125c76(0x156),_0x125c76(0x23e),'@univerjs/network','@univerjs/docs-ui',_0x125c76(0x361),_0x125c76(0x2b9),_0x125c76(0x1cf),_0x125c76(0x386),'@univerjs/engine-formula',_0x125c76(0x261),'rxjs/operators',_0x125c76(0x310),_0x125c76(0x22d),_0x125c76(0x1b3),'@univerjs/design',_0x125c76(0x165),_0x125c76(0x39e)],_0x1f293f):(_0x29f418=typeof globalThis<'u'?globalThis:_0x29f418||self,_0x1f293f(_0x29f418[_0x125c76(0x303)]={},_0x29f418[_0x125c76(0x2fe)],_0x29f418[_0x125c76(0x33d)],_0x29f418[_0x125c76(0x1fc)],_0x29f418['UniverNetwork'],_0x29f418['UniverDocsUi'],_0x29f418[_0x125c76(0x2d4)],_0x29f418['rxjs'],_0x29f418['UniverDocs'],_0x29f418[_0x125c76(0x2b8)],_0x29f418['UniverEngineFormula'],_0x29f418[_0x125c76(0x15c)],_0x29f418[_0x125c76(0x2b9)][_0x125c76(0x218)],_0x29f418[_0x125c76(0x1d0)],_0x29f418[_0x125c76(0x342)],_0x29f418[_0x125c76(0x333)],_0x29f418[_0x125c76(0x2f4)],_0x29f418[_0x125c76(0x342)],_0x29f418[_0x125c76(0x294)]));}(this,function(_0x1364d3,_0x35d81a,_0x2b43e1,_0x4f9ef0,_0x519894,_0x15c8af,_0x44b6f9,_0x5ad77d,_0x854483,_0x4bbdfc,_0x56bea2,_0x575825,_0x3660b6,_0x562559,_0x356bea,_0x2d250c,_0xac66fe,_0x5544c5,_0x3716d4){'use strict';const _0x2e363d=_0xc513;var _0x4e67e1=Object[_0x2e363d(0x26b)],_0x1371fe=(_0x44c0d3,_0x188c57,_0x34a392)=>_0x188c57 in _0x44c0d3?_0x4e67e1(_0x44c0d3,_0x188c57,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x34a392}):_0x44c0d3[_0x188c57]=_0x34a392,_0x1b73a5=(_0x1ee6f3,_0x455272,_0x242d6e)=>_0x1371fe(_0x1ee6f3,typeof _0x455272!='symbol'?_0x455272+'':_0x455272,_0x242d6e),_0x27b18a=Object[_0x2e363d(0x29d)],_0x323db9=(_0x33719c,_0x12f893,_0xf313c8,_0x33c774)=>{const _0x17cc1a=_0x2e363d;for(var _0x1c061c=_0x33c774>0x1?void 0x0:_0x33c774?_0x27b18a(_0x12f893,_0xf313c8):_0x12f893,_0x5f3697=_0x33719c[_0x17cc1a(0x1a4)]-0x1,_0x589614;_0x5f3697>=0x0;_0x5f3697--)(_0x589614=_0x33719c[_0x5f3697])&&(_0x1c061c=_0x589614(_0x1c061c)||_0x1c061c);return _0x1c061c;},_0xcf392a=(_0x485201,_0x3df1d4)=>(_0x1ce5c4,_0x35e07a)=>_0x3df1d4(_0x1ce5c4,_0x35e07a,_0x485201);let _0x41c5dd=class extends _0x2b43e1[_0x2e363d(0x2bd)]{constructor(_0x2ac1d1,_0x2ab629){const _0x9d47f9=_0x2e363d;super(),this[_0x9d47f9(0x23a)]=_0x2ac1d1,this[_0x9d47f9(0x378)]=_0x2ab629,this[_0x9d47f9(0x151)]();}[_0x2e363d(0x151)](){const _0x4d521f=_0x2e363d,_0x3a586a=this;this[_0x4d521f(0x160)](this[_0x4d521f(0x23a)][_0x4d521f(0x234)]({'onBeforePasteImage':async _0xd257a7=>{const _0x4907cf=_0x4d521f,_0x37f3a0=await _0x3a586a['_imageIoService']['saveImage'](_0xd257a7);return _0x37f3a0?{'source':_0x37f3a0[_0x4907cf(0x268)],'imageSourceType':_0x37f3a0[_0x4907cf(0x290)]}:null;}}));}};_0x41c5dd=_0x323db9([_0xcf392a(0x0,_0x15c8af['IDocClipboardService']),_0xcf392a(0x1,_0x44b6f9[_0x2e363d(0x3a9)])],_0x41c5dd);const _0xd199bd=[_0x2e363d(0x12e),_0x2e363d(0x352),_0x2e363d(0x21f),_0x2e363d(0x3b3),_0x2e363d(0x20f),_0x2e363d(0x30a)];class _0x5daa50 extends _0x2b43e1[_0x2e363d(0x396)]{constructor(){super(...arguments),_0x1b73a5(this,'_assignedColors',new Map()),_0x1b73a5(this,'_colorIndex',0x0);}[_0x2e363d(0x22a)](_0x356ceb){const _0x400ede=_0x2e363d;if(this['_assignedColors'][_0x400ede(0x149)](_0x356ceb))return this[_0x400ede(0x1c8)]['get'](_0x356ceb);const _0x30fbb8=_0xd199bd[this['_colorIndex']];return this[_0x400ede(0x1a0)]=(this[_0x400ede(0x1a0)]+0x1)%_0xd199bd[_0x400ede(0x1a4)],this[_0x400ede(0x1c8)][_0x400ede(0x2f1)](_0x356ceb,_0x30fbb8),_0x30fbb8;}}function _0xf16511(_0x44fbfe){const _0x251ae2=_0x2e363d;let _0x5c83a9='';for(const _0x493f7c of _0x44fbfe){const {startOffset:_0x157efb,endOffset:_0x5683b9,isActive:_0x12c492,rangeType:_0x5bc9a4,segmentId:_0x1677ab,segmentPage:_0x220b0b}=_0x493f7c;_0x5c83a9[_0x251ae2(0x1a4)]&&(_0x5c83a9+=','),_0x5c83a9+=_0x157efb+':'+_0x5683b9+':'+(_0x12c492?'1':'0')+':'+_0x5bc9a4+':'+_0x1677ab+':'+_0x220b0b;}return _0x5c83a9;}function _0x214e4d(_0x178633){const _0x2832fe=_0x2e363d,_0x4fa487=_0x178633[_0x2832fe(0x302)](','),_0x4592fc=[];for(const _0x20cc44 of _0x4fa487){const [_0x281370,_0x11b66f,_0x54a148,_0x2fed48,_0x4a596f,_0x4c2fea]=_0x20cc44[_0x2832fe(0x302)](':');_0x4592fc[_0x2832fe(0x20a)]({'startOffset':Number(_0x281370),'endOffset':Number(_0x11b66f),'collapsed':_0x281370===_0x11b66f,'isActive':_0x54a148==='1','rangeType':_0x2fed48===_0x2b43e1[_0x2832fe(0x243)]['TEXT']?_0x2b43e1['DOC_RANGE_TYPE']['TEXT']:_0x2b43e1['DOC_RANGE_TYPE'][_0x2832fe(0x280)],'segmentId':typeof _0x4a596f==_0x2832fe(0x16d)?String(_0x4a596f):'','segmentPage':Number(_0x4c2fea!=null?_0x4c2fea:-0x1)});}return _0x4592fc['some'](_0x56c747=>_0x56c747[_0x2832fe(0x31f)])||(_0x4592fc[0x0]['isActive']=!0x0),_0x4592fc;}class _0x5eda65 extends _0x2b43e1[_0x2e363d(0x2bd)]{constructor(){const _0x3bccc3=_0x2e363d;super(...arguments),_0x1b73a5(this,_0x3bccc3(0x2e8),new _0x5ad77d[(_0x3bccc3(0x146))](null)),_0x1b73a5(this,_0x3bccc3(0x1e0),this['_collabCursorState$'][_0x3bccc3(0x3b0)]());}[_0x2e363d(0x33c)](_0x5487d1){const _0xe0f37e=_0x2e363d,{unitID:_0x240282,memberID:_0x1840aa,textRanges:_0x58f4ee}=_0x5487d1,_0x4476a9=_0xf16511(_0x58f4ee);if(_0x4476a9==='')return;const _0x5a034f={'unitID':_0x240282,'memberID':_0x1840aa,'selection':_0x4476a9};this[_0xe0f37e(0x2e8)]['next'](_0x5a034f);}}var _0x2533e8=Object['getOwnPropertyDescriptor'],_0x7f5cbc=(_0x564b2b,_0x1e7ca2,_0x5bf062,_0x170829)=>{const _0x597ffc=_0x2e363d;for(var _0x49cd97=_0x170829>0x1?void 0x0:_0x170829?_0x2533e8(_0x1e7ca2,_0x5bf062):_0x1e7ca2,_0x56728f=_0x564b2b[_0x597ffc(0x1a4)]-0x1,_0x58a824;_0x56728f>=0x0;_0x56728f--)(_0x58a824=_0x564b2b[_0x56728f])&&(_0x49cd97=_0x58a824(_0x49cd97)||_0x49cd97);return _0x49cd97;},_0x5e7054=(_0x2dfee7,_0xd14701)=>(_0x15debb,_0x5cd975)=>_0xd14701(_0x15debb,_0x5cd975,_0x2dfee7);const _0x199ee1=0x12c,_0x19dd5f=0x64;let _0x490396=class extends _0x2b43e1[_0x2e363d(0x2bd)]{constructor(_0xd6b79a,_0x1534b2,_0x23e832,_0x47b510,_0x573d03,_0x3d6790,_0x53c0d4,_0x4b4d1c,_0x8bdece){const _0x4a3c3b=_0x2e363d;super(),_0x1b73a5(this,_0x4a3c3b(0x26a),!0x1),_0x1b73a5(this,_0x4a3c3b(0x151),!0x1),_0x1b73a5(this,_0x4a3c3b(0x2e2),new _0x5ad77d['BehaviorSubject'](new Map())),_0x1b73a5(this,_0x4a3c3b(0x12a),this['_cursorInfo$'][_0x4a3c3b(0x3b0)]()),_0x1b73a5(this,_0x4a3c3b(0x21a),new _0x5ad77d[(_0x4a3c3b(0x146))]([])),_0x1b73a5(this,_0x4a3c3b(0x2fd),this[_0x4a3c3b(0x21a)][_0x4a3c3b(0x230)](_0x5ad77d[_0x4a3c3b(0x14e)](_0x199ee1))),_0x1b73a5(this,_0x4a3c3b(0x1ec),_0x2b43e1[_0x4a3c3b(0x379)](_0x1be959=>{const _0x55527=_0x4a3c3b,_0x24b25c={'eventID':_0x4bbdfc[_0x55527(0x3ae)][_0x55527(0x2ca)],'data':{'unitID':this['unitID'],'memberID':this[_0x55527(0x314)][_0x55527(0x1ff)](),'selection':_0xf16511(_0x1be959)}};this[_0x55527(0x314)][_0x55527(0x31d)](_0x24b25c,this[_0x55527(0x1bb)]);},_0x19dd5f)),(this[_0x4a3c3b(0x1bb)]=_0xd6b79a,this[_0x4a3c3b(0x314)]=_0x1534b2,this[_0x4a3c3b(0x121)]=_0x23e832,this['_colorAssignService']=_0x47b510,this[_0x4a3c3b(0x245)]=_0x573d03,this[_0x4a3c3b(0x1f0)]=_0x3d6790,this['_transformService']=_0x53c0d4,this[_0x4a3c3b(0x1c6)]=_0x4b4d1c,this[_0x4a3c3b(0x232)]=_0x8bdece);}get['cursorInfo'](){const _0x404d7d=_0x2e363d;return this[_0x404d7d(0x2e2)][_0x404d7d(0x384)]();}get[_0x2e363d(0x375)](){const _0x21d2be=_0x2e363d;return this[_0x21d2be(0x21a)][_0x21d2be(0x384)]();}[_0x2e363d(0x1ad)](){const _0x14f2d7=_0x2e363d;super[_0x14f2d7(0x1ad)](),this['_cursorInfo$'][_0x14f2d7(0x320)](new Map()),this[_0x14f2d7(0x2e2)][_0x14f2d7(0x321)](),this[_0x14f2d7(0x21a)][_0x14f2d7(0x320)]([]),this[_0x14f2d7(0x21a)][_0x14f2d7(0x321)]();}[_0x2e363d(0x1f5)](){const _0x4bafa7=_0x2e363d;this[_0x4bafa7(0x151)]||(this['_init']=!0x0,this[_0x4bafa7(0x314)]['sessionStatus$'][_0x4bafa7(0x230)](_0x5ad77d[_0x4bafa7(0x383)](this[_0x4bafa7(0x223)]))[_0x4bafa7(0x2d3)](_0x57c7ef=>{const _0x319b94=_0x4bafa7;_0x57c7ef===_0x35d81a[_0x319b94(0x1ee)][_0x319b94(0x26c)]?this[_0x319b94(0x189)]():this[_0x319b94(0x195)]();}),this[_0x4bafa7(0x314)][_0x4bafa7(0x287)][_0x4bafa7(0x230)](_0x5ad77d[_0x4bafa7(0x383)](this['dispose$']))['subscribe'](_0x208f42=>{const _0x451f31=_0x4bafa7,_0x114609=_0x208f42[_0x451f31(0x28d)];_0x114609===_0x4bbdfc['CollaborationEvent'][_0x451f31(0x2ca)]&&this['_onCursorUpdate'](_0x208f42),_0x114609===_0x4bbdfc[_0x451f31(0x3ae)][_0x451f31(0x239)]&&this[_0x451f31(0x2ba)](_0x208f42);}),this['disposeWithMe'](this[_0x4bafa7(0x232)][_0x4bafa7(0x34e)](_0x4391d6=>{const _0x5b7a52=_0x4bafa7,_0x332346=_0x4391d6[_0x5b7a52(0x387)];_0x332346!=null&&this[_0x5b7a52(0x26a)]&&_0x4391d6['id']===_0x854483['SetTextSelectionsOperation']['id']&&_0x332346[_0x5b7a52(0x32f)]===this[_0x5b7a52(0x1bb)]&&_0x332346[_0x5b7a52(0x3a7)]===!0x1&&_0x332346[_0x5b7a52(0x274)][_0x5b7a52(0x1a4)]>0x0&&this['_updateLocalCursor'](_0x332346[_0x5b7a52(0x274)]);})),this[_0x4bafa7(0x1f0)][_0x4bafa7(0x1e0)]['pipe'](_0x5ad77d[_0x4bafa7(0x383)](this[_0x4bafa7(0x223)]))[_0x4bafa7(0x2d3)](_0xc9d1f6=>{const _0x3cc263=_0x4bafa7;if((_0xc9d1f6==null?void 0x0:_0xc9d1f6[_0x3cc263(0x1bb)])!==this[_0x3cc263(0x1bb)])return;const _0x49cf21={'eventID':_0x4bbdfc[_0x3cc263(0x3ae)][_0x3cc263(0x2ca)],'data':_0xc9d1f6};this[_0x3cc263(0x36a)](_0x49cf21);}),this['disposeWithMe'](this[_0x4bafa7(0x232)]['onCommandExecuted'](_0x384b13=>{const _0xb20d3a=_0x4bafa7;if(_0x384b13[_0xb20d3a(0x387)]==null)return;const _0x5549be=_0x384b13[_0xb20d3a(0x387)];if(_0x384b13['id']!==_0x854483[_0xb20d3a(0x2f2)]['id']||_0x5549be[_0xb20d3a(0x32f)]!==this[_0xb20d3a(0x1bb)])return;const _0x3067d8={'id':_0xb20d3a(0x145),'params':_0x5549be},_0x2168b8=this[_0xb20d3a(0x28e)];for(const [_0x4176c8,_0x434d78]of _0x2168b8){const _0x2ccab1={'id':_0xb20d3a(0x145),'params':{'unitId':this[_0xb20d3a(0x1bb)],'actions':null,'textRanges':_0x434d78[_0xb20d3a(0x274)]}},_0x3d727a=this['_transformService'][_0xb20d3a(0x175)](_0x3067d8,_0x2ccab1,!0x1);if(_0x4bbdfc[_0xb20d3a(0x2c0)](_0x3d727a))throw _0x3d727a[_0xb20d3a(0x139)];_0x2168b8['set'](_0x4176c8,{..._0x434d78,'ranges':_0x3d727a[_0xb20d3a(0x34c)]['params'][_0xb20d3a(0x22b)]});}queueMicrotask(()=>{const _0x25dcdb=_0xb20d3a;this[_0x25dcdb(0x2e2)]['next'](_0x2168b8);});})));}['_onCursorUpdate'](_0x3140cb){const _0x2253a4=_0x2e363d;var _0x59fd6b,_0x2230d9;const {memberID:_0x5f86f2,selection:_0x59fa42}=_0x3140cb[_0x2253a4(0x1b4)],_0x3b5fb3=_0x214e4d(_0x59fa42),_0xb2f89f=(_0x2230d9=(_0x59fd6b=this['_memberService']['getMember'](this[_0x2253a4(0x1bb)],_0x5f86f2))==null?void 0x0:_0x59fd6b[_0x2253a4(0x315)])!=null?_0x2230d9:_0x2253a4(0x2ce),_0x29d36c={'color':this[_0x2253a4(0x316)][_0x2253a4(0x22a)](_0x5f86f2),'name':_0xb2f89f,'ranges':_0x3b5fb3},_0x42c146=this[_0x2253a4(0x28e)];_0x42c146['set'](_0x5f86f2,_0x29d36c),this[_0x2253a4(0x2e2)][_0x2253a4(0x320)](_0x42c146);}[_0x2e363d(0x2ba)](_0x3193f0){const _0x1501ab=_0x2e363d,{memberID:_0x14de63}=_0x3193f0[_0x1501ab(0x1b4)],_0x320202=this[_0x1501ab(0x28e)];_0x320202[_0x1501ab(0x360)](_0x14de63),this[_0x1501ab(0x2e2)][_0x1501ab(0x320)](_0x320202);}[_0x2e363d(0x189)](){const _0x2375ad=_0x2e363d;var _0xe02e86;if(this[_0x2375ad(0x26a)]=!0x0,((_0xe02e86=this[_0x2375ad(0x1c6)][_0x2375ad(0x33a)]())==null?void 0x0:_0xe02e86[_0x2375ad(0x331)]())!==this['unitID'])return;const _0x5b7b55=this[_0x2375ad(0x121)][_0x2375ad(0x2a6)](_0x854483[_0x2375ad(0x1a8)])['getDocRanges']();Array['isArray'](_0x5b7b55)&&_0x5b7b55[_0x2375ad(0x1a4)]>0x0&&this[_0x2375ad(0x1ec)](_0x5b7b55);}[_0x2e363d(0x195)](){const _0xde9d0f=_0x2e363d;this[_0xde9d0f(0x26a)]=!0x1;}};_0x490396=_0x7f5cbc([_0x5e7054(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1[_0x2e363d(0x392)])),_0x5e7054(0x3,_0x2b43e1[_0x2e363d(0x1f3)](_0x5daa50)),_0x5e7054(0x4,_0x2b43e1[_0x2e363d(0x1f3)](_0x35d81a[_0x2e363d(0x19c)])),_0x5e7054(0x5,_0x2b43e1['Inject'](_0x5eda65)),_0x5e7054(0x6,_0x4bbdfc['ITransformService']),_0x5e7054(0x7,_0x2b43e1[_0x2e363d(0x20d)]),_0x5e7054(0x8,_0x2b43e1[_0x2e363d(0x205)])],_0x490396);var _0x1167fe=Object['getOwnPropertyDescriptor'],_0x460e73=(_0x5718e7,_0xfc86d3,_0x1a1ddb,_0x70da8e)=>{for(var _0x4fe304=_0x70da8e>0x1?void 0x0:_0x70da8e?_0x1167fe(_0xfc86d3,_0x1a1ddb):_0xfc86d3,_0x11c6ae=_0x5718e7['length']-0x1,_0x372913;_0x11c6ae>=0x0;_0x11c6ae--)(_0x372913=_0x5718e7[_0x11c6ae])&&(_0x4fe304=_0x372913(_0x4fe304)||_0x4fe304);return _0x4fe304;},_0x3dc5f8=(_0xa20470,_0x540306)=>(_0x194ce7,_0x25513a)=>_0x540306(_0x194ce7,_0x25513a,_0xa20470);const _0x4e3c86=0x12c,_0x1b4f1b=0x64,_0x9ec85d=()=>{let _0x1daeba=[],_0x524697=!0x1;return _0xd78fb9=>{const _0x1bd6dc=_0xc513;_0x1daeba[_0x1bd6dc(0x20a)](_0xd78fb9),_0x524697||(_0x524697=!0x0,setTimeout(()=>{const _0x29f152=_0x1bd6dc;_0x1daeba[_0x29f152(0x282)](_0x37111e=>_0x37111e()),_0x1daeba=[],_0x524697=!0x1;}));};};let _0x2d0b44=class extends _0x2b43e1['RxDisposable']{constructor(_0x2a75c7,_0x1fec3e,_0x2ca818,_0x58531c,_0x3caf3d,_0x12f2fe,_0x18f477,_0x2634da){const _0x5c0ed5=_0x2e363d;super(),_0x1b73a5(this,'_online',!0x1),_0x1b73a5(this,_0x5c0ed5(0x151),!0x1),_0x1b73a5(this,_0x5c0ed5(0x2e2),new _0x5ad77d['BehaviorSubject'](new Map())),_0x1b73a5(this,_0x5c0ed5(0x12a),this['_cursorInfo$'][_0x5c0ed5(0x3b0)]()),_0x1b73a5(this,_0x5c0ed5(0x21a),new _0x5ad77d['BehaviorSubject']([])),_0x1b73a5(this,_0x5c0ed5(0x2fd),this['_roomMembers$']['pipe'](_0x5ad77d['debounceTime'](_0x4e3c86))),_0x1b73a5(this,'_updateLocalCursor',_0x2b43e1[_0x5c0ed5(0x379)]((_0x3c0d7d,_0xbbab02)=>{const _0xe3f27a=_0x5c0ed5,_0x1142ad={'eventID':_0x4bbdfc[_0xe3f27a(0x3ae)][_0xe3f27a(0x2ca)],'data':{'unitID':this[_0xe3f27a(0x1bb)],'memberID':this[_0xe3f27a(0x314)][_0xe3f27a(0x1ff)](),'selection':_0x56bea2[_0xe3f27a(0x132)](_0x3c0d7d,_0xbbab02[_0xe3f27a(0x27c)])}};this[_0xe3f27a(0x314)][_0xe3f27a(0x31d)](_0x1142ad,this['unitID']);},_0x1b4f1b)),(this[_0x5c0ed5(0x1bb)]=_0x2a75c7,this[_0x5c0ed5(0x314)]=_0x1fec3e,this[_0x5c0ed5(0x121)]=_0x2ca818,this['_colorAssignService']=_0x58531c,this[_0x5c0ed5(0x245)]=_0x3caf3d,this['_univerInstanceService']=_0x12f2fe,this[_0x5c0ed5(0x232)]=_0x18f477,this['_refRangeService']=_0x2634da);}get[_0x2e363d(0x28e)](){const _0x18d841=_0x2e363d;return this[_0x18d841(0x2e2)][_0x18d841(0x384)]();}get[_0x2e363d(0x375)](){const _0x311318=_0x2e363d;return this['_roomMembers$'][_0x311318(0x384)]();}[_0x2e363d(0x1ad)](){const _0x21e0ab=_0x2e363d;super[_0x21e0ab(0x1ad)](),this[_0x21e0ab(0x2e2)][_0x21e0ab(0x320)](new Map()),this[_0x21e0ab(0x2e2)]['complete'](),this[_0x21e0ab(0x21a)]['next']([]),this[_0x21e0ab(0x21a)][_0x21e0ab(0x321)]();}['init'](){const _0x3cceb9=_0x2e363d;this[_0x3cceb9(0x151)]||(this[_0x3cceb9(0x151)]=!0x0,this[_0x3cceb9(0x314)]['sessionStatus$'][_0x3cceb9(0x230)](_0x5ad77d[_0x3cceb9(0x383)](this['dispose$']))[_0x3cceb9(0x2d3)](_0x55d70d=>{const _0x4c502f=_0x3cceb9;_0x55d70d===_0x35d81a[_0x4c502f(0x1ee)]['ONLINE']?this[_0x4c502f(0x189)]():this[_0x4c502f(0x195)]();}),this[_0x3cceb9(0x314)][_0x3cceb9(0x287)][_0x3cceb9(0x230)](_0x5ad77d[_0x3cceb9(0x383)](this[_0x3cceb9(0x223)]))[_0x3cceb9(0x2d3)](_0x2f0831=>{const _0x2d641d=_0x3cceb9,_0x1c1ece=_0x2f0831[_0x2d641d(0x28d)];_0x1c1ece===_0x4bbdfc['CollaborationEvent'][_0x2d641d(0x2ca)]&&this[_0x2d641d(0x36a)](_0x2f0831),_0x1c1ece===_0x4bbdfc[_0x2d641d(0x3ae)][_0x2d641d(0x239)]&&this[_0x2d641d(0x2ba)](_0x2f0831);}),this[_0x3cceb9(0x367)](),this[_0x3cceb9(0x160)](this['_commandService'][_0x3cceb9(0x34e)](_0x21f354=>{const _0x5a8bab=_0x3cceb9;if(this[_0x5a8bab(0x26a)]&&_0x21f354['id']===_0x575825[_0x5a8bab(0x353)]['id']&&_0x21f354[_0x5a8bab(0x387)][_0x5a8bab(0x32f)]===this[_0x5a8bab(0x1bb)]){const _0x32359e=_0x21f354[_0x5a8bab(0x387)];this[_0x5a8bab(0x1ec)](_0x32359e[_0x5a8bab(0x2e7)],_0x32359e[_0x5a8bab(0x214)][0x0]);}})));}[_0x2e363d(0x36a)](_0x257ede){const _0x400937=_0x2e363d;var _0x74be1c,_0x1aec55;const {memberID:_0x1b7ea7,selection:_0x237f0c}=_0x257ede[_0x400937(0x1b4)],{sheetName:_0x55378c,range:_0x2eac24}=_0x56bea2[_0x400937(0x38b)](_0x237f0c),_0x5eee0b={'name':(_0x1aec55=(_0x74be1c=this[_0x400937(0x245)][_0x400937(0x3ab)](this['unitID'],_0x1b7ea7))==null?void 0x0:_0x74be1c[_0x400937(0x315)])!=null?_0x1aec55:_0x400937(0x2ce),'range':this[_0x400937(0x2a7)](_0x55378c,_0x2eac24),'sheetID':_0x55378c,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x1b7ea7),'selection':_0x237f0c},_0x15cd9b=this['cursorInfo'];_0x15cd9b[_0x400937(0x2f1)](_0x1b7ea7,_0x5eee0b),this[_0x400937(0x2e2)][_0x400937(0x320)](_0x15cd9b);}[_0x2e363d(0x2ba)](_0x567695){const _0x424023=_0x2e363d,{memberID:_0x41dd0d}=_0x567695[_0x424023(0x1b4)],_0x4cc677=this[_0x424023(0x28e)];_0x4cc677[_0x424023(0x360)](_0x41dd0d),this[_0x424023(0x2e2)]['next'](_0x4cc677);}[_0x2e363d(0x2a7)](_0xf077a,_0x50e6bf){const _0x5ca47b=_0x2e363d;var _0x35c2e2,_0x592c02;const _0x2f2b98=(_0x592c02=(_0x35c2e2=this[_0x5ca47b(0x1c6)][_0x5ca47b(0x225)](this[_0x5ca47b(0x1bb)]))==null?void 0x0:_0x35c2e2[_0x5ca47b(0x2b6)](_0xf077a))==null?void 0x0:_0x592c02[_0x5ca47b(0x128)]();return(_0x2f2b98==null?void 0x0:_0x2f2b98[_0x5ca47b(0x34f)](_0x4ee602=>_0x2b43e1[_0x5ca47b(0x11f)][_0x5ca47b(0x1bc)](_0x4ee602,_0x50e6bf)))||_0x50e6bf;}['_onRefRangeChange'](){const _0x1d5494=_0x2e363d,_0x3075d5=new _0x2b43e1[(_0x1d5494(0x354))](),_0x51fab9=_0x9ec85d(),_0x482cde=()=>{const _0x1b84dd=_0x1d5494;_0x3075d5[_0x1b84dd(0x1ad)]();const _0x97b13f=(_0x20ac01,_0xb94916,_0x2efbfa,_0x5a999a)=>{const _0x3d3b6b=_0x1b84dd;let _0x37d253=[];switch(_0x20ac01['id']){case _0x575825[_0x3d3b6b(0x3b1)][_0x3d3b6b(0x30d)]:{_0x37d253=_0x575825[_0x3d3b6b(0x238)](_0x20ac01,_0x5a999a);break;}case _0x575825[_0x3d3b6b(0x3b1)][_0x3d3b6b(0x38c)]:{_0x37d253=_0x575825[_0x3d3b6b(0x185)](_0x20ac01,_0x5a999a);break;}case _0x575825[_0x3d3b6b(0x3b1)]['InsertColCommandId']:{_0x37d253=_0x575825[_0x3d3b6b(0x37c)](_0x20ac01,_0x5a999a);break;}case _0x575825[_0x3d3b6b(0x3b1)][_0x3d3b6b(0x30c)]:{_0x37d253=_0x575825[_0x3d3b6b(0x2e0)](_0x20ac01,_0x5a999a);break;}case _0x575825['EffectRefRangId'][_0x3d3b6b(0x332)]:{_0x37d253=_0x575825[_0x3d3b6b(0x18e)](_0x20ac01,_0x5a999a);break;}case _0x575825[_0x3d3b6b(0x3b1)][_0x3d3b6b(0x28f)]:{_0x37d253=_0x575825['handleInsertRow'](_0x20ac01,_0x5a999a);break;}case _0x575825[_0x3d3b6b(0x3b1)][_0x3d3b6b(0x1c0)]:{_0x37d253=_0x575825[_0x3d3b6b(0x28a)](_0x20ac01,_0x5a999a);break;}case _0x575825['EffectRefRangId']['RemoveColCommandId']:{_0x37d253=_0x575825[_0x3d3b6b(0x141)](_0x20ac01,_0x5a999a);break;}case _0x575825[_0x3d3b6b(0x3b1)][_0x3d3b6b(0x368)]:{_0x37d253=_0x575825[_0x3d3b6b(0x341)](_0x20ac01,_0x5a999a);break;}}const _0x8cea33=_0x575825[_0x3d3b6b(0x273)](_0x37d253,_0x5a999a),_0x1af9ad=this[_0x3d3b6b(0x28e)]['get'](_0xb94916);if(_0x1af9ad&&_0x8cea33){const _0x484e4d={..._0x1af9ad,'range':_0x8cea33};this[_0x3d3b6b(0x28e)][_0x3d3b6b(0x2f1)](_0xb94916,_0x484e4d),_0x51fab9(()=>{const _0x14ea2e=_0x3d3b6b,_0x574c07=this['_refRangeService'][_0x14ea2e(0x2f8)](_0x8cea33,_0x49046b=>(_0x574c07[_0x14ea2e(0x1ad)](),_0x97b13f(_0x49046b,_0xb94916,_0x2efbfa,_0x8cea33)));_0x3075d5[_0x14ea2e(0x16c)](_0x574c07);});}return{'redos':[],'undos':[]};};this[_0x1b84dd(0x28e)]['forEach']((_0x1f22df,_0x118d19)=>{const _0x753c34=_0x1b84dd,{range:_0x1145a7,sheetID:_0xf18bd6}=_0x1f22df,_0x5376b0=this[_0x753c34(0x36e)][_0x753c34(0x2f8)](_0x1145a7,_0xda90d2=>(_0x5376b0[_0x753c34(0x1ad)](),_0x97b13f(_0xda90d2,_0x118d19,_0xf18bd6,_0x1145a7)));_0x3075d5['add'](_0x5376b0);});};this[_0x1d5494(0x160)](_0x2b43e1[_0x1d5494(0x1d6)](this[_0x1d5494(0x2e2)][_0x1d5494(0x2d3)](()=>{_0x482cde();})));}[_0x2e363d(0x189)](){const _0x5c06c1=_0x2e363d;var _0x44420e,_0x360704;if(this[_0x5c06c1(0x26a)]=!0x0,((_0x44420e=this[_0x5c06c1(0x1c6)][_0x5c06c1(0x33a)]())==null?void 0x0:_0x44420e[_0x5c06c1(0x331)]())!==this[_0x5c06c1(0x1bb)])return;const _0x1c530c=(_0x360704=this[_0x5c06c1(0x121)][_0x5c06c1(0x2a6)](_0x575825[_0x5c06c1(0x21d)])[_0x5c06c1(0x1b1)]())==null?void 0x0:_0x360704[0x0],_0x3e309a=this[_0x5c06c1(0x1c6)][_0x5c06c1(0x203)](_0x2b43e1[_0x5c06c1(0x322)][_0x5c06c1(0x138)])['getActiveSheet']();_0x1c530c&&_0x3e309a&&this[_0x5c06c1(0x1ec)](_0x3e309a[_0x5c06c1(0x231)](),_0x1c530c);}[_0x2e363d(0x195)](){const _0x23dd72=_0x2e363d;this[_0x23dd72(0x26a)]=!0x1;}};_0x2d0b44=_0x460e73([_0x3dc5f8(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1[_0x2e363d(0x392)])),_0x3dc5f8(0x3,_0x2b43e1[_0x2e363d(0x1f3)](_0x5daa50)),_0x3dc5f8(0x4,_0x2b43e1[_0x2e363d(0x1f3)](_0x35d81a[_0x2e363d(0x19c)])),_0x3dc5f8(0x5,_0x2b43e1[_0x2e363d(0x20d)]),_0x3dc5f8(0x6,_0x2b43e1[_0x2e363d(0x205)]),_0x3dc5f8(0x7,_0x2b43e1['Inject'](_0x575825[_0x2e363d(0x32c)]))],_0x2d0b44);var _0x4cad61=Object[_0x2e363d(0x29d)],_0x5acd0a=(_0x48a38a,_0x57665b,_0x18024d,_0x2421a2)=>{const _0x1b711d=_0x2e363d;for(var _0x2f490c=_0x2421a2>0x1?void 0x0:_0x2421a2?_0x4cad61(_0x57665b,_0x18024d):_0x57665b,_0x520d3b=_0x48a38a[_0x1b711d(0x1a4)]-0x1,_0x785e3a;_0x520d3b>=0x0;_0x520d3b--)(_0x785e3a=_0x48a38a[_0x520d3b])&&(_0x2f490c=_0x785e3a(_0x2f490c)||_0x2f490c);return _0x2f490c;},_0x5e1288=(_0x2428c6,_0x185ea8)=>(_0x4d7a57,_0x9085b)=>_0x185ea8(_0x4d7a57,_0x9085b,_0x2428c6);let _0x5a14bf=class extends _0x2b43e1[_0x2e363d(0x2bd)]{constructor(_0x47ab91,_0x2c6f43,_0x4adb88){const _0x3cc129=_0x2e363d;super(),_0x1b73a5(this,_0x3cc129(0x259),new Map()),_0x1b73a5(this,_0x3cc129(0x1d2),new _0x5ad77d[(_0x3cc129(0x33e))]()),(this[_0x3cc129(0x1c6)]=_0x47ab91,this[_0x3cc129(0x121)]=_0x2c6f43,this[_0x3cc129(0x150)]=_0x4adb88,this['_init']());}[_0x2e363d(0x1ad)](){const _0x58e58b=_0x2e363d;super['dispose'](),this[_0x58e58b(0x1d2)][_0x58e58b(0x321)](),this['_entities'][_0x58e58b(0x282)](_0x2a690e=>_0x2a690e[_0x58e58b(0x1ad)]());}[_0x2e363d(0x2ff)](_0x13962f){const _0x8428f8=_0x2e363d;return this[_0x8428f8(0x259)][_0x8428f8(0x149)](_0x13962f)?this[_0x8428f8(0x259)][_0x8428f8(0x2a6)](_0x13962f)[_0x8428f8(0x12a)]:this[_0x8428f8(0x1d2)][_0x8428f8(0x230)](_0x5ad77d[_0x8428f8(0x1e9)](_0x572ae5=>_0x572ae5[_0x8428f8(0x1bb)]===_0x13962f),_0x5ad77d['switchMap'](_0x1ff9eb=>_0x1ff9eb['cursorInfo$']));}[_0x2e363d(0x151)](){const _0x5c6027=_0x2e363d;this[_0x5c6027(0x1c6)]['getTypeOfUnitAdded$'](_0x2b43e1[_0x5c6027(0x322)][_0x5c6027(0x138)])['pipe'](_0x5ad77d[_0x5c6027(0x383)](this[_0x5c6027(0x223)]))[_0x5c6027(0x2d3)](async _0x47223d=>{const _0x269b6f=_0x5c6027,_0xffb748=_0x47223d[_0x269b6f(0x331)](),_0x220c7c=await this[_0x269b6f(0x24f)](_0xffb748);this[_0x269b6f(0x1d2)]['next'](_0x220c7c),this[_0x269b6f(0x259)][_0x269b6f(0x2f1)](_0xffb748,_0x220c7c);}),this[_0x5c6027(0x1c6)][_0x5c6027(0x1a6)](_0x2b43e1['UniverInstanceType'][_0x5c6027(0x1bd)])[_0x5c6027(0x230)](_0x5ad77d[_0x5c6027(0x383)](this['dispose$']))[_0x5c6027(0x230)](_0x5ad77d[_0x5c6027(0x1e9)](_0x21cbb8=>!_0x21cbb8['getUnitId']()[_0x5c6027(0x2f3)]('__')))[_0x5c6027(0x2d3)](async _0x185da1=>{const _0x1fafe8=_0x5c6027,_0x4dc626=_0x185da1[_0x1fafe8(0x331)](),_0x36bb90=await this[_0x1fafe8(0x364)](_0x4dc626);this[_0x1fafe8(0x1d2)]['next'](_0x36bb90),this[_0x1fafe8(0x259)][_0x1fafe8(0x2f1)](_0x4dc626,_0x36bb90);}),_0x5ad77d[_0x5c6027(0x284)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x2b43e1['UniverInstanceType']['UNIVER_DOC']),this[_0x5c6027(0x1c6)]['getTypeOfUnitDisposed$'](_0x2b43e1[_0x5c6027(0x322)][_0x5c6027(0x138)]))[_0x5c6027(0x230)](_0x5ad77d[_0x5c6027(0x383)](this[_0x5c6027(0x223)]))[_0x5c6027(0x2d3)](_0xf229aa=>{const _0x1f8305=_0x5c6027,_0x461340=_0xf229aa['getUnitId'](),_0x30078d=this[_0x1f8305(0x259)][_0x1f8305(0x2a6)](_0x461340);_0x30078d&&(_0x30078d['dispose'](),this[_0x1f8305(0x259)][_0x1f8305(0x360)](_0x461340));});}async[_0x2e363d(0x24f)](_0x276a1c){const _0x1f09e3=_0x2e363d,_0x3ee97c=await this[_0x1f09e3(0x150)]['requireSession'](_0x276a1c),_0x1448cf=this[_0x1f09e3(0x121)][_0x1f09e3(0x395)](_0x2d0b44,_0x276a1c,_0x3ee97c);return _0x1448cf[_0x1f09e3(0x1f5)](),_0x1448cf;}async['_startDocCollabCursor'](_0x5c5bf3){const _0x1dd44d=_0x2e363d,_0x27b1ee=await this['_collabSessionService'][_0x1dd44d(0x3a8)](_0x5c5bf3),_0x2489f4=this[_0x1dd44d(0x121)]['createInstance'](_0x490396,_0x5c5bf3,_0x27b1ee);return _0x2489f4[_0x1dd44d(0x1f5)](),_0x2489f4;}};_0x5a14bf=_0x5acd0a([_0x5e1288(0x0,_0x2b43e1['IUniverInstanceService']),_0x5e1288(0x1,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1[_0x2e363d(0x392)])),_0x5e1288(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x35d81a[_0x2e363d(0x29b)]))],_0x5a14bf);const _0x50df79=0x14,_0xd7a649=0xc8,_0x40af53=0x4,_0x10d041=0x5;function _0x221761(_0x3b7576,_0x5c4bb5){const _0x1aef22=_0x2e363d;let {radius:_0x3867b2,width:_0x3904a2,height:_0x3d6e66}=_0x5c4bb5;_0x3867b2=_0x3867b2!=null?_0x3867b2:0x0,_0x3904a2=_0x3904a2!=null?_0x3904a2:0x1e,_0x3d6e66=_0x3d6e66!=null?_0x3d6e66:0x1e;let _0x4c32b6=0x0,_0xfb8b2b=0x0,_0x1b51a8=0x0;_0x4c32b6=_0xfb8b2b=_0x1b51a8=Math[_0x1aef22(0x194)](_0x3867b2,_0x3904a2/0x2,_0x3d6e66/0x2),_0x3b7576[_0x1aef22(0x2a9)](),_0x3b7576['moveTo'](_0x4c32b6,0x0),_0x3b7576['lineTo'](_0x3904a2-_0xfb8b2b,0x0),_0x3b7576[_0x1aef22(0x25f)](_0x3904a2-_0xfb8b2b,_0xfb8b2b,_0xfb8b2b,Math['PI']*0x3/0x2,0x0,!0x1),_0x3b7576['lineTo'](_0x3904a2,_0x3d6e66-_0x1b51a8),_0x3b7576['arc'](_0x3904a2-_0x1b51a8,_0x3d6e66-_0x1b51a8,_0x1b51a8,0x0,Math['PI']/0x2,!0x1),_0x3b7576[_0x1aef22(0x27a)](0x0,_0x3d6e66),_0x3b7576[_0x1aef22(0x27a)](0x0,_0x4c32b6),_0x3b7576[_0x1aef22(0x25f)](_0x4c32b6,_0x4c32b6,_0x4c32b6,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3b7576[_0x1aef22(0x1fd)](),_0x5c4bb5[_0x1aef22(0x37a)]&&(_0x3b7576[_0x1aef22(0x1ca)](),_0x3b7576[_0x1aef22(0x3ac)]=_0x5c4bb5[_0x1aef22(0x37a)],_0x5c4bb5['fillRule']===_0x1aef22(0x3b2)?_0x3b7576[_0x1aef22(0x37a)](_0x1aef22(0x3b2)):_0x3b7576[_0x1aef22(0x37a)](),_0x3b7576[_0x1aef22(0x2cf)]());}class _0x547561 extends _0x4f9ef0[_0x2e363d(0x20c)]{constructor(_0x1e36ac,_0x19db4f){const _0x4bbb3b=_0x2e363d;super(_0x1e36ac,_0x19db4f),_0x1b73a5(this,_0x4bbb3b(0x2d0)),_0x1b73a5(this,_0x4bbb3b(0x118)),(this['color']=_0x19db4f==null?void 0x0:_0x19db4f[_0x4bbb3b(0x2d0)],this[_0x4bbb3b(0x118)]=_0x19db4f==null?void 0x0:_0x19db4f[_0x4bbb3b(0x118)]);}static[_0x2e363d(0x326)](_0x5256cd,_0x2d42f2){const _0x4fbf6d=_0x2e363d,{text:_0x33f1d3,color:_0x5cc03b}=_0x2d42f2;_0x5256cd['save'](),_0x5256cd[_0x4fbf6d(0x19d)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x4ff5ce=_0x5256cd[_0x4fbf6d(0x158)](_0x33f1d3)[_0x4fbf6d(0x2d6)],_0x36f6ff=Math['min'](_0x4ff5ce+0x2*_0x40af53,_0xd7a649);_0x221761(_0x5256cd,{'height':_0x50df79,'radius':0x4,'width':_0x36f6ff,'fill':_0x5cc03b}),_0x5256cd['fillStyle']=_0x4fbf6d(0x346);const _0x1c0933=_0x40af53,_0x2e27bb=_0x50df79-_0x10d041,_0x19148c=_0xd7a649-0x2*_0x40af53;if(_0x4ff5ce>_0x19148c){let _0xf53998='',_0x1a0c83=0x0;for(const _0x38252c of _0x33f1d3){const _0x1de577=_0x5256cd[_0x4fbf6d(0x158)](_0x38252c)[_0x4fbf6d(0x2d6)];if(_0x1a0c83+_0x1de577<=_0x19148c-_0x5256cd[_0x4fbf6d(0x158)](_0x4fbf6d(0x14d))['width'])_0xf53998+=_0x38252c,_0x1a0c83+=_0x1de577;else{_0xf53998+=_0x4fbf6d(0x14d);break;}}_0x5256cd['fillText'](_0xf53998,_0x1c0933,_0x2e27bb);}else _0x5256cd[_0x4fbf6d(0x347)](_0x33f1d3,_0x1c0933,_0x2e27bb);_0x5256cd[_0x4fbf6d(0x2cf)]();}[_0x2e363d(0x199)](_0x379b43){const _0x5e9393=_0x2e363d;_0x547561[_0x5e9393(0x326)](_0x379b43,this);}}const _0x2a01fa=_0x2e363d(0x17e),_0x427fab=_0x2e363d(0x2d5),_0x140a6d=_0x2e363d(0x376),_0x953881=0x6,_0x3d4630=1.5,_0x163a70=0x4,_0x2426ae=1.5,_0x5bb8ec=_0x2e363d(0x182);class _0xd1d4f9{constructor(_0x307c53,_0x573e82,_0x2850e3,_0x4830de){const _0xcf139a=_0x2e363d;_0x1b73a5(this,'_shapes',[]),_0x1b73a5(this,_0xcf139a(0x267),null),_0x1b73a5(this,_0xcf139a(0x1ce),null),_0x1b73a5(this,'_anchorDot',null),_0x1b73a5(this,_0xcf139a(0x17d),null),_0x1b73a5(this,_0xcf139a(0x35b),null),(this[_0xcf139a(0x25a)]=_0x307c53,this['_scene']=_0x573e82,this['_docSkeleton']=_0x2850e3,this['_document']=_0x4830de,this[_0xcf139a(0x35a)]());}set[_0x2e363d(0x2a1)](_0x5ce528){const _0x1aa211=_0x2e363d;_0x5ce528?(this[_0x1aa211(0x152)]&&this[_0x1aa211(0x152)][_0x1aa211(0x125)](),this['_textBubble']&&this[_0x1aa211(0x1ce)][_0x1aa211(0x12c)]()):(this[_0x1aa211(0x152)]&&this[_0x1aa211(0x152)][_0x1aa211(0x12c)](),this[_0x1aa211(0x1ce)]&&this[_0x1aa211(0x1ce)][_0x1aa211(0x125)]());}[_0x2e363d(0x1ad)](){const _0x30c0fe=_0x2e363d;for(const _0x266261 of this[_0x30c0fe(0x2dd)])_0x266261[_0x30c0fe(0x1ad)]();this[_0x30c0fe(0x1ce)]&&this[_0x30c0fe(0x1ce)][_0x30c0fe(0x1ad)](),this[_0x30c0fe(0x152)]&&this[_0x30c0fe(0x152)]['dispose'](),this['_anchor']&&this['_anchor'][_0x30c0fe(0x1ad)](),this[_0x30c0fe(0x35b)]&&this['_eventUnsubscribe']();}['_render'](){const _0xd6396=_0x2e363d;var _0x3f48fe;const {_docSkeleton:_0x3aace5,_document:_0x52d8a5}=this,{color:_0x1911d5,name:_0x4ccd13,ranges:_0x179a6b}=this['_cursor'],_0x2845dc=_0x52d8a5[_0xd6396(0x1b0)](),{docsLeft:_0x2c6eaf,docsTop:_0x1cc9c8}=_0x2845dc,_0x5f30e6=new _0x15c8af[(_0xd6396(0x13a))](_0x2845dc,_0x3aace5);for(const {startOffset:_0xca47cd,endOffset:_0x4d969e,rangeType:_0x2c1891,segmentId:_0x431f01,segmentPage:_0x24245e,collapsed:_0x2f4cbc,isActive:_0x586b17}of _0x179a6b){const _0x17234c=_0x3aace5[_0xd6396(0x2c1)](_0xca47cd,!0x0,_0x431f01,_0x24245e);let _0xffad36=_0x3aace5[_0xd6396(0x2c1)](_0x4d969e,!0x0,_0x431f01,_0x24245e);if(_0xffad36==null&&(_0xffad36=_0x3aace5['findNodePositionByCharIndex'](_0x4d969e-0x1,!0x1,_0x431f01,_0x24245e)),_0x586b17){const {contentBoxPointGroup:_0x11c5a0}=_0x5f30e6['getRangePointData'](_0xffad36,_0xffad36);if(_0x11c5a0[_0xd6396(0x1a4)]===0x0)continue;this['_drawAnchor'](_0x1911d5,_0x11c5a0,_0x2c6eaf,_0x1cc9c8,_0x4ccd13),this[_0xd6396(0x35b)]=this['_handleHover']();}if(_0x17234c&&_0xffad36){if(_0x2c1891===_0x2b43e1['DOC_RANGE_TYPE'][_0xd6396(0x280)]){const _0x2f51fd=new _0x15c8af['NodePositionConvertToRectRange'](_0x2845dc,_0x3aace5),{pointGroup:_0x536869}=(_0x3f48fe=_0x2f51fd[_0xd6396(0x1bf)](_0x17234c,_0xffad36))!=null?_0x3f48fe:{};if(_0x536869==null||_0x536869['length']===0x0)continue;this[_0xd6396(0x246)](_0x1911d5,_0x536869,_0x2c6eaf,_0x1cc9c8);}else{if(!_0x2f4cbc){const {borderBoxPointGroup:_0x5a5ac7}=_0x5f30e6[_0xd6396(0x1bf)](_0x17234c,_0xffad36);if(_0x5a5ac7[_0xd6396(0x1a4)]===0x0)continue;this[_0xd6396(0x2cb)](_0x1911d5,_0x5a5ac7,_0x2c6eaf,_0x1cc9c8);}}}}}[_0x2e363d(0x18c)](_0x9379a9,_0x41ce60,_0x25841c,_0x28ed82,_0x3a3f17){const _0x1e7b9a=_0x2e363d,_0x9d260a=this['_getAnchorBounding'](_0x41ce60),{left:_0x39a96f,top:_0x4e43d1,height:_0x3527d0}=_0x9d260a,_0x31d7b7=this[_0x1e7b9a(0x206)](),_0x3c057b=_0x2426ae/_0x31d7b7,_0x203337=new _0x4f9ef0[(_0x1e7b9a(0x26e))](_0x2a01fa+_0x2b43e1['Tools']['generateRandomId'](_0x953881),{'left':_0x39a96f+_0x25841c-_0x3c057b,'top':_0x4e43d1+_0x28ed82,'height':_0x3527d0,'width':_0x3d4630,'fill':_0x9379a9||_0x4f9ef0[_0x1e7b9a(0x183)](_0x2b43e1[_0x1e7b9a(0x38e)][_0x1e7b9a(0x1a5)],0x0),'strokeWidth':_0x3c057b,'stroke':_0x5bb8ec,'evented':!0x0});this[_0x1e7b9a(0x267)]=_0x203337,this['_scene']['addObject'](_0x203337,_0x15c8af[_0x1e7b9a(0x1c4)]);const _0x587dde=new _0x4f9ef0[(_0x1e7b9a(0x26e))](_0x2a01fa+_0x2b43e1[_0x1e7b9a(0x2af)][_0x1e7b9a(0x317)](_0x953881),{'left':_0x39a96f+_0x25841c-_0x3c057b,'top':_0x4e43d1+_0x28ed82-_0x163a70/0x2,'height':_0x163a70,'width':_0x163a70,'fill':_0x9379a9||_0x4f9ef0[_0x1e7b9a(0x183)](_0x2b43e1[_0x1e7b9a(0x38e)][_0x1e7b9a(0x1a5)],0x0),'strokeWidth':0x0,'stroke':_0x9379a9||_0x4f9ef0[_0x1e7b9a(0x183)](_0x2b43e1[_0x1e7b9a(0x38e)]['black'],0x0),'evented':!0x1});this[_0x1e7b9a(0x152)]=_0x587dde,this[_0x1e7b9a(0x2e5)][_0x1e7b9a(0x29f)](_0x587dde,_0x15c8af[_0x1e7b9a(0x1c4)]);const _0x171f45=new _0x547561(_0x2a01fa+_0x2b43e1['Tools']['generateRandomId'](_0x953881),{'left':_0x39a96f+_0x25841c-_0x3c057b,'top':_0x4e43d1+_0x28ed82-_0x50df79,'text':_0x3a3f17,'color':_0x9379a9});this[_0x1e7b9a(0x1ce)]=_0x171f45,this[_0x1e7b9a(0x2e5)]['addObject'](_0x171f45,_0x15c8af[_0x1e7b9a(0x1c4)]),this['_hover']=!0x1;}[_0x2e363d(0x19a)](){const _0x12b5dc=_0x2e363d,_0x637846=this[_0x12b5dc(0x267)]['onPointerEnter$']['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x3cedd6=this[_0x12b5dc(0x267)][_0x12b5dc(0x250)][_0x12b5dc(0x1e5)](()=>{const _0x2ee98c=_0x12b5dc;this[_0x2ee98c(0x17d)]&&clearTimeout(this['_hideTimer']),this[_0x2ee98c(0x17d)]=setTimeout(()=>{const _0x1ec6c3=_0x2ee98c;this[_0x1ec6c3(0x2a1)]=!0x1;},0x7d0);});return()=>{const _0x21bfed=_0x12b5dc;_0x637846[_0x21bfed(0x297)](),_0x3cedd6[_0x21bfed(0x297)]();};}['_drawTextRange'](_0x5c60d8,_0x5a1734,_0x4ea2c7,_0x3423f8){const _0x398532=_0x2e363d,_0x4738d1=new _0x2b43e1[(_0x398532(0x1fb))](_0x5c60d8)[_0x398532(0x1c7)](0.2)[_0x398532(0x38a)](),_0x1ecd9f=new _0x4f9ef0[(_0x398532(0x1e1))](_0x427fab+_0x2b43e1[_0x398532(0x2af)][_0x398532(0x317)](_0x953881),{'pointsGroup':_0x5a1734,'fill':_0x4738d1||_0x4f9ef0[_0x398532(0x183)](_0x2b43e1[_0x398532(0x38e)]['black'],0.2),'left':_0x4ea2c7,'top':_0x3423f8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x398532(0x2dd)][_0x398532(0x20a)](_0x1ecd9f),this[_0x398532(0x2e5)][_0x398532(0x29f)](_0x1ecd9f,_0x15c8af[_0x398532(0x1c4)]);}[_0x2e363d(0x246)](_0x1d83a7,_0x9b500,_0x228950,_0x504da0){const _0x3b376d=_0x2e363d,_0x5ef2f3=new _0x2b43e1[(_0x3b376d(0x1fb))](_0x1d83a7)[_0x3b376d(0x1c7)](0.2)[_0x3b376d(0x38a)](),_0x2aaf7e=new _0x4f9ef0[(_0x3b376d(0x1e1))](_0x140a6d+_0x2b43e1[_0x3b376d(0x2af)]['generateRandomId'](_0x953881),{'pointsGroup':_0x9b500,'fill':_0x5ef2f3||_0x4f9ef0['getColor'](_0x2b43e1[_0x3b376d(0x38e)]['black'],0.2),'left':_0x228950,'top':_0x504da0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3b376d(0x2dd)]['push'](_0x2aaf7e),this[_0x3b376d(0x2e5)][_0x3b376d(0x29f)](_0x2aaf7e,_0x15c8af['TEXT_RANGE_LAYER_INDEX']);}[_0x2e363d(0x29a)](_0x49b366){const _0x2a64f3=_0x49b366[0x0],_0xf13da0=_0x2a64f3[0x0],_0x49575b=_0x2a64f3[0x2],{x:_0x263d97,y:_0x329318}=_0xf13da0,{x:_0x5b313e,y:_0x52b076}=_0x49575b;return{'left':_0x263d97,'top':_0x329318,'width':_0x5b313e-_0x263d97,'height':_0x52b076-_0x329318};}['_getScale'](){const _0x38b63c=_0x2e363d,{scaleX:_0x5f0f75,scaleY:_0x4e4e3b}=this[_0x38b63c(0x2e5)]['getAncestorScale']();return Math[_0x38b63c(0x148)](_0x5f0f75,_0x4e4e3b);}}var _0x5eabd5=Object[_0x2e363d(0x29d)],_0x279619=(_0x5ab519,_0xe2c711,_0x163476,_0x5ef6c2)=>{const _0x97d8d=_0x2e363d;for(var _0x3d3ef5=_0x5ef6c2>0x1?void 0x0:_0x5ef6c2?_0x5eabd5(_0xe2c711,_0x163476):_0xe2c711,_0x53c8d9=_0x5ab519[_0x97d8d(0x1a4)]-0x1,_0x5e26d0;_0x53c8d9>=0x0;_0x53c8d9--)(_0x5e26d0=_0x5ab519[_0x53c8d9])&&(_0x3d3ef5=_0x5e26d0(_0x3d3ef5)||_0x3d3ef5);return _0x3d3ef5;},_0x35192e=(_0x139ade,_0x2b34d9)=>(_0x5e1869,_0x1ca83a)=>_0x2b34d9(_0x5e1869,_0x1ca83a,_0x139ade);let _0x38ac90=class extends _0x2b43e1[_0x2e363d(0x2bd)]{constructor(_0xa46055,_0x557d33,_0x29c004,_0x1bca9b,_0x2e30f2){const _0x543e46=_0x2e363d;super(),_0x1b73a5(this,_0x543e46(0x213),[]),_0x1b73a5(this,_0x543e46(0x299),[]),(this[_0x543e46(0x20b)]=_0xa46055,this[_0x543e46(0x362)]=_0x557d33,this['_collabCursorController']=_0x29c004,this[_0x543e46(0x232)]=_0x1bca9b,this[_0x543e46(0x1b2)]=_0x2e30f2,this['_init']());}[_0x2e363d(0x151)](){const _0x1a830c=_0x2e363d,_0xc298be=this['_context'][_0x1a830c(0x32f)],_0x1022af=this[_0x1a830c(0x362)];this['disposeWithMe'](_0x5ad77d[_0x1a830c(0x36b)]([this[_0x1a830c(0x2b5)][_0x1a830c(0x2ff)](_0xc298be),this['_themeService'][_0x1a830c(0x2f9)]])[_0x1a830c(0x230)](_0x3660b6['map'](([_0x5c438d,_0x40f852])=>({'skeleton':_0x1022af[_0x1a830c(0x339)](),'cursors':[..._0x5c438d[_0x1a830c(0x307)]()][_0x1a830c(0x372)](_0x5bb274=>({..._0x5bb274,'color':this[_0x1a830c(0x1b2)]['getColorFromTheme'](_0x5bb274[_0x1a830c(0x2d0)])}))})))[_0x1a830c(0x2d3)](_0x12d0bc=>{const _0x3e2c0e=_0x1a830c;if(this[_0x3e2c0e(0x336)](),_0x12d0bc){const {skeleton:_0x3c81db,cursors:_0x30ae53}=_0x12d0bc;this[_0x3e2c0e(0x1a1)](_0x3c81db,_0x30ae53);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x2e363d(0x1a1)](_0x2fdc6e,_0x56985d){const _0x46a3b7=_0x2e363d,{scene:_0x5a143a,mainComponent:_0x2d97ea}=this[_0x46a3b7(0x20b)],_0x683508=_0x56985d[_0x46a3b7(0x2fb)](_0x24f235=>new _0xd1d4f9(_0x24f235,_0x5a143a,_0x2fdc6e,_0x2d97ea));this[_0x46a3b7(0x213)]=_0x683508,this['_cursors']=_0x56985d;}['_refreshCollabCursors'](){const _0x218dbc=_0x2e363d;this[_0x218dbc(0x336)]();const {scene:_0x41155c,mainComponent:_0x2216f5}=this[_0x218dbc(0x20b)],_0x1827f5=this[_0x218dbc(0x362)]['getSkeleton'](),_0x3b644f=this['_cursors'][_0x218dbc(0x2fb)](_0x3d0ff2=>new _0xd1d4f9(_0x3d0ff2,_0x41155c,_0x1827f5,_0x2216f5));this[_0x218dbc(0x213)]=_0x3b644f;}[_0x2e363d(0x336)](){const _0x3d6be7=_0x2e363d;this['_cursorShapes'][_0x3d6be7(0x282)](_0x37ead0=>_0x37ead0[_0x3d6be7(0x1ad)]()),this[_0x3d6be7(0x213)]=[];}[_0x2e363d(0x1c2)](){const _0x2ff467=_0x2e363d,_0x39e6db=[_0x15c8af['SetDocZoomRatioOperation']['id']];this[_0x2ff467(0x160)](this[_0x2ff467(0x232)][_0x2ff467(0x34e)](_0x5a8fc1=>{const _0x13f2ab=_0x2ff467;_0x39e6db[_0x13f2ab(0x24a)](_0x5a8fc1['id'])&&_0x5a8fc1[_0x13f2ab(0x387)][_0x13f2ab(0x32f)]===this[_0x13f2ab(0x20b)][_0x13f2ab(0x32f)]&&this['_refreshCollabCursors']();}));}[_0x2e363d(0x305)](){const _0x3489d4=_0x2e363d;this['disposeWithMe'](_0x2b43e1[_0x3489d4(0x2e4)](this['_context'][_0x3489d4(0x254)][_0x3489d4(0x241)])['pipe'](_0x3660b6[_0x3489d4(0x1e9)](_0x439059=>_0x439059[_0x3489d4(0x255)]===_0x4f9ef0[_0x3489d4(0x1ea)]['resize']),_0x3660b6[_0x3489d4(0x1a7)](0x10))[_0x3489d4(0x2d3)](()=>{const _0x5b3849=_0x3489d4;this[_0x5b3849(0x19b)]();}));}};_0x38ac90=_0x279619([_0x35192e(0x1,_0x2b43e1[_0x2e363d(0x1f3)](_0x854483['DocSkeletonManagerService'])),_0x35192e(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x5a14bf)),_0x35192e(0x3,_0x2b43e1[_0x2e363d(0x205)]),_0x35192e(0x4,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1[_0x2e363d(0x147)]))],_0x38ac90);const _0x23ccfa=0x1,_0x538bab=1.5;class _0x1366a1 extends _0x4f9ef0[_0x2e363d(0x20c)]{constructor(_0x24dedc,_0x3d8b64){const _0x4b9104=_0x2e363d;super(_0x24dedc,_0x3d8b64),_0x1b73a5(this,_0x4b9104(0x2da)),_0x1b73a5(this,_0x4b9104(0x13b),!0x1),_0x1b73a5(this,_0x4b9104(0x171)),_0x1b73a5(this,'_name',''),_0x1b73a5(this,_0x4b9104(0x1f1),_0x4b9104(0x247)),_0x1b73a5(this,'_backgroundColor'),(_0x3d8b64&&this[_0x4b9104(0x215)](_0x3d8b64),this[_0x4b9104(0x385)][_0x4b9104(0x1e5)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x4b9104(0x1e5)](()=>this[_0x4b9104(0x215)]({'hovered':!0x1})));}[_0x2e363d(0x215)](_0x223a21){const _0x2379db=_0x2e363d;var _0x36ffd3,_0x170d11,_0x52d560,_0x54c04a,_0x53896c,_0x10cdc8;this['_color']=(_0x36ffd3=_0x223a21[_0x2379db(0x2d0)])!=null?_0x36ffd3:this[_0x2379db(0x2da)],this['_hovered']=(_0x170d11=_0x223a21[_0x2379db(0x20e)])!=null?_0x170d11:this['_hovered'],this[_0x2379db(0x171)]=(_0x52d560=_0x223a21[_0x2379db(0x27c)])!=null?_0x52d560:this[_0x2379db(0x171)],this[_0x2379db(0x374)]=(_0x54c04a=_0x223a21[_0x2379db(0x315)])!=null?_0x54c04a:this[_0x2379db(0x374)],this[_0x2379db(0x1f1)]=(_0x53896c=_0x223a21[_0x2379db(0x251)])!=null?_0x53896c:this[_0x2379db(0x1f1)],this['_backgroundColor']=(_0x10cdc8=_0x223a21['backgroundColor'])!=null?_0x10cdc8:this[_0x2379db(0x164)],this[_0x2379db(0x17c)]({'width':_0x223a21['width'],'height':_0x223a21[_0x2379db(0x2f7)]});}[_0x2e363d(0x173)](_0xa31cfb){const _0x4eca90=_0x2e363d,{row:_0x281158,column:_0x364058}=_0xa31cfb;if(_0x281158>=this['_range'][_0x4eca90(0x253)]&&_0x281158<=this[_0x4eca90(0x171)]['endRow']&&_0x364058>=this[_0x4eca90(0x171)][_0x4eca90(0x177)]&&_0x364058<=this[_0x4eca90(0x171)][_0x4eca90(0x11c)]){this[_0x4eca90(0x215)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x360b07){return!0x1;}['_draw'](_0x123407){const _0x2c358b=_0x2e363d;_0x4f9ef0[_0x2c358b(0x26e)][_0x2c358b(0x326)](_0x123407,{'width':this[_0x2c358b(0x2d6)],'height':this[_0x2c358b(0x2f7)],'strokeWidth':_0x538bab,'stroke':this[_0x2c358b(0x2da)],'evented':!0x1,'fill':this[_0x2c358b(0x164)]}),this[_0x2c358b(0x13b)]&&(_0x123407[_0x2c358b(0x1ca)](),_0x123407[_0x2c358b(0x382)](0x1,0x0,0x0,0x1,this[_0x2c358b(0x2d6)],this[_0x2c358b(0x1f1)]===_0x2c358b(0x1c5)?0x0:-0x14),_0x547561[_0x2c358b(0x326)](_0x123407,{'text':this[_0x2c358b(0x374)],'color':this['_color']}),_0x123407[_0x2c358b(0x2cf)]());}}var _0x41b200=Object[_0x2e363d(0x29d)],_0x499e85=(_0x53bdfd,_0x56691c,_0x51caf1,_0x231ede)=>{const _0x4bd6aa=_0x2e363d;for(var _0x1457f1=_0x231ede>0x1?void 0x0:_0x231ede?_0x41b200(_0x56691c,_0x51caf1):_0x56691c,_0xe12bb8=_0x53bdfd[_0x4bd6aa(0x1a4)]-0x1,_0x25f8e7;_0xe12bb8>=0x0;_0xe12bb8--)(_0x25f8e7=_0x53bdfd[_0xe12bb8])&&(_0x1457f1=_0x25f8e7(_0x1457f1)||_0x1457f1);return _0x1457f1;},_0x578752=(_0xce4104,_0x4dc6f5)=>(_0x498516,_0x4d01f4)=>_0x4dc6f5(_0x498516,_0x4d01f4,_0xce4104);const _0x370f59=0x1389;let _0x5242c8=class extends _0x2b43e1[_0x2e363d(0x2bd)]{constructor(_0x1ebff7,_0x4415e9,_0x532052,_0x465c82){const _0x7dbed3=_0x2e363d;super(),_0x1b73a5(this,_0x7dbed3(0x299),new Set()),_0x1b73a5(this,'_lastPointer',null),(this[_0x7dbed3(0x20b)]=_0x1ebff7,this['_sheetSkeletonManagerService']=_0x4415e9,this[_0x7dbed3(0x2b5)]=_0x532052,this['_themeService']=_0x465c82,this[_0x7dbed3(0x151)]());}[_0x2e363d(0x151)](){const _0x56746e=_0x2e363d;this[_0x56746e(0x323)][_0x56746e(0x131)][_0x56746e(0x230)](_0x3660b6['takeUntil'](this['dispose$']),_0x3660b6[_0x56746e(0x291)](_0x289c2d=>{const _0x3a7b7c=_0x56746e;if(_0x289c2d){const _0x34ecec=_0x289c2d[_0x3a7b7c(0x216)];return _0x5ad77d[_0x3a7b7c(0x36b)](this[_0x3a7b7c(0x2b5)][_0x3a7b7c(0x2ff)](this['_context'][_0x3a7b7c(0x32f)]),this[_0x3a7b7c(0x1b2)][_0x3a7b7c(0x2f9)])[_0x3a7b7c(0x230)](_0x3660b6[_0x3a7b7c(0x2fb)](([_0x15d24e,_0x25f106])=>{const _0x380d93=_0x3a7b7c,_0x17144a=new Map();return _0x15d24e[_0x380d93(0x282)]((_0x4f8e58,_0x111c37)=>{const _0x5c304e=_0x380d93;if(_0x4f8e58[_0x5c304e(0x391)]===_0x34ecec){const _0x466310={..._0x4f8e58};_0x466310[_0x5c304e(0x2d0)]=this[_0x5c304e(0x1b2)]['getColorFromTheme'](_0x4f8e58[_0x5c304e(0x2d0)]),_0x17144a[_0x5c304e(0x2f1)](_0x111c37,_0x466310);}}),{'skeleton':_0x289c2d,'cursors':_0x17144a};}));}return _0x5ad77d['of']({'skeleton':null,'cursors':new Map()});}))[_0x56746e(0x2d3)](({skeleton:_0x500c22,cursors:_0x3c9833})=>{const _0x3bf517=_0x56746e;this['_removeCollabCursors'](),_0x500c22&&this[_0x3bf517(0x1a1)](_0x500c22,_0x3c9833);}),this[_0x56746e(0x323)][_0x56746e(0x131)]['subscribe'](_0x5d33bf=>{const _0x457521=_0x56746e;if(_0x5d33bf==null)return;const {skeleton:_0x624d8a}=_0x5d33bf,{scene:_0x1786d6}=this['_context'];_0x1786d6[_0x457521(0x312)]['subscribeEvent'](_0x2b43e1[_0x457521(0x379)](_0x3e94af=>{const _0x34b612=_0x457521;var _0x3cd362,_0x13c9f5;const {offsetX:_0x423008,offsetY:_0x1cdbf0}=_0x3e94af,{x:_0x2073f3,y:_0x589813}=_0x1786d6['getRelativeToViewportCoord'](_0x4f9ef0[_0x34b612(0x18f)]['FromArray']([_0x423008,_0x1cdbf0])),{scaleX:_0xff9716,scaleY:_0x3161c1}=_0x1786d6['getAncestorScale'](),_0x5afe71=_0x1786d6[_0x34b612(0x124)](_0x4f9ef0[_0x34b612(0x2a8)][_0x34b612(0x26d)]),_0x2d18f0=_0x1786d6[_0x34b612(0x18b)](_0x4f9ef0['Vector2'][_0x34b612(0x12b)]([_0x2073f3,_0x589813]),_0x5afe71),_0x142459=_0x624d8a[_0x34b612(0x301)](_0x423008,_0x1cdbf0,_0xff9716,_0x3161c1,_0x2d18f0);((_0x3cd362=this['_lastPointer'])==null?void 0x0:_0x3cd362[_0x34b612(0x381)])===_0x142459[_0x34b612(0x381)]&&((_0x13c9f5=this['_lastPointer'])==null?void 0x0:_0x13c9f5['row'])===_0x142459['row']||this[_0x34b612(0x299)][_0x34b612(0x282)](_0x36e0aa=>{const _0x604cee=_0x34b612;_0x36e0aa[_0x604cee(0x173)](_0x142459);});},0x64));});}['_updateCollabCursors'](_0x32a7d6,_0x1408fe){const _0x4a6271=_0x2e363d;var _0x3bdb3c;const _0x32e70a=(_0x3bdb3c=this[_0x4a6271(0x323)]['getCurrent']())==null?void 0x0:_0x3bdb3c[_0x4a6271(0x242)];if(!_0x32e70a)return;const _0x2eb454=this[_0x4a6271(0x3a5)]();if(!_0x2eb454)return;this[_0x4a6271(0x299)][_0x4a6271(0x282)](_0x34158f=>{const _0x190cdf=_0x4a6271;_0x34158f[_0x190cdf(0x283)]();});const {scene:_0x20a078}=_0x2eb454,_0x27663a=_0x3a59bd(Array[_0x4a6271(0x2de)](_0x1408fe[_0x4a6271(0x307)]()))[_0x4a6271(0x2fb)](_0x4bcf1e=>{const _0x3afdc7=_0x4a6271,{color:_0xc42066,range:_0x14e99b,name:_0x3d3ff0,selection:_0x22a620,sheetID:_0xef617c}=_0x4bcf1e,{startColumn:_0x3a4d74,startRow:_0x57530b,endColumn:_0x2fe2d6,endRow:_0x4d7637}=_0x14e99b,_0x4cd387=_0x562559[_0x3afdc7(0x2d9)](_0x57530b,_0x3a4d74,_0x20a078,_0x32e70a),_0x21d830=_0x562559['getCoordByCell'](_0x4d7637,_0x2fe2d6,_0x20a078,_0x32e70a),{columnHeaderHeightAndMarginTop:_0x1c23b4}=_0x32e70a,{startX:_0x17da2b,startY:_0xa2bb9c}=_0x4cd387,{endX:_0x120aea,endY:_0x26cda9}=_0x21d830,_0x1d76e5=_0x120aea-_0x17da2b,_0x17f6c0=_0x26cda9-_0xa2bb9c,_0x362628={'labelPosition':_0xa2bb9c-_0x1c23b4>=_0x50df79?_0x3afdc7(0x247):_0x3afdc7(0x1c5),'sheetID':_0xef617c,'range':_0x14e99b,'color':_0xc42066,'name':_0x3d3ff0,'selection':_0x22a620,'left':_0x17da2b,'top':_0xa2bb9c,'width':_0x1d76e5,'height':_0x17f6c0,'evented':!0x1,'zIndex':_0x370f59};return new _0x1366a1(_0x3d3ff0,_0x362628);});_0x20a078[_0x4a6271(0x37e)](_0x27663a,_0x23ccfa),this[_0x4a6271(0x299)]=new Set(_0x27663a);}[_0x2e363d(0x336)](){const _0x1cce82=_0x2e363d;var _0x890576;(_0x890576=this[_0x1cce82(0x299)])==null||_0x890576['forEach'](_0x31d91c=>_0x31d91c[_0x1cce82(0x1ad)]());}['_getSheetObject'](){const _0x555f8b=_0x2e363d;return _0x562559[_0x555f8b(0x365)](this['_context']['unit'],this[_0x555f8b(0x20b)]);}};_0x5242c8=_0x499e85([_0x578752(0x1,_0x2b43e1[_0x2e363d(0x1f3)](_0x562559['SheetSkeletonManagerService'])),_0x578752(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x5a14bf)),_0x578752(0x3,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1[_0x2e363d(0x147)]))],_0x5242c8);function _0x3a59bd(_0x4f7d78){const _0x390787=_0x2e363d,_0x13e8e5=new Map();return _0x4f7d78[_0x390787(0x282)](_0x227359=>{const _0x470e59=_0x390787;if(_0x13e8e5['has'](_0x227359[_0x470e59(0x269)])){const _0x184cb8=_0x13e8e5['get'](_0x227359[_0x470e59(0x269)]);_0x184cb8['name']+=',\x20'+_0x227359[_0x470e59(0x315)];}else _0x13e8e5[_0x470e59(0x2f1)](_0x227359[_0x470e59(0x269)],_0x227359);}),Array[_0x390787(0x2de)](_0x13e8e5[_0x390787(0x307)]());}var _0x32b919=function(){const _0x3157fb=_0x2e363d;return _0x32b919=Object[_0x3157fb(0x201)]||function(_0x482264){const _0x16d954=_0x3157fb;for(var _0x3024dd,_0x35ac31=0x1,_0x5cffe1=arguments[_0x16d954(0x1a4)];_0x35ac31<_0x5cffe1;_0x35ac31++){_0x3024dd=arguments[_0x35ac31];for(var _0x5f4241 in _0x3024dd)Object['prototype'][_0x16d954(0x2c9)][_0x16d954(0x15b)](_0x3024dd,_0x5f4241)&&(_0x482264[_0x5f4241]=_0x3024dd[_0x5f4241]);}return _0x482264;},_0x32b919[_0x3157fb(0x22c)](this,arguments);},_0x3ff4bd=function(_0x36c520,_0x4a8e5a){const _0x2d01af=_0x2e363d;var _0x34cfbf={};for(var _0x1d7288 in _0x36c520)Object[_0x2d01af(0x275)][_0x2d01af(0x2c9)][_0x2d01af(0x15b)](_0x36c520,_0x1d7288)&&_0x4a8e5a[_0x2d01af(0x36d)](_0x1d7288)<0x0&&(_0x34cfbf[_0x1d7288]=_0x36c520[_0x1d7288]);if(_0x36c520!=null&&typeof Object['getOwnPropertySymbols']==_0x2d01af(0x39f)){for(var _0x52e389=0x0,_0x1d7288=Object[_0x2d01af(0x3b4)](_0x36c520);_0x52e389<_0x1d7288[_0x2d01af(0x1a4)];_0x52e389++)_0x4a8e5a[_0x2d01af(0x36d)](_0x1d7288[_0x52e389])<0x0&&Object[_0x2d01af(0x275)][_0x2d01af(0x25b)][_0x2d01af(0x15b)](_0x36c520,_0x1d7288[_0x52e389])&&(_0x34cfbf[_0x1d7288[_0x52e389]]=_0x36c520[_0x1d7288[_0x52e389]]);}return _0x34cfbf;},_0x2559b5=_0x5544c5[_0x2e363d(0x2d2)](function(_0x28e5e8,_0x513890){const _0xe55e1c=_0x2e363d;var _0x4f3c86=_0x28e5e8[_0xe55e1c(0x2d8)],_0x1028f3=_0x28e5e8['id'],_0x1e2b8c=_0x28e5e8['className'],_0x369ab5=_0x28e5e8[_0xe55e1c(0x1c1)],_0x171589=_0x3ff4bd(_0x28e5e8,[_0xe55e1c(0x2d8),'id','className',_0xe55e1c(0x1c1)]),_0xa4a77d=_0xe55e1c(0x1cb)[_0xe55e1c(0x202)](_0x1028f3,'\x20')['concat'](_0x1e2b8c||'')[_0xe55e1c(0x292)](),_0x266984=_0x5544c5[_0xe55e1c(0x207)]('_'[_0xe55e1c(0x202)](_0x46bb04()));return _0x1156a0(_0x4f3c86,''['concat'](_0x1028f3),{'defIds':_0x4f3c86[_0xe55e1c(0x1ba)],'idSuffix':_0x266984[_0xe55e1c(0x351)]},_0x32b919({'ref':_0x513890,'className':_0xa4a77d},_0x171589),_0x369ab5);});function _0x1156a0(_0xa93a9b,_0x3eb8f4,_0x79a562,_0x32f4c1,_0x34e068){const _0x40b1e4=_0x2e363d;return _0x5544c5[_0x40b1e4(0x36c)](_0xa93a9b[_0x40b1e4(0x167)],_0x32b919(_0x32b919({'key':_0x3eb8f4},_0x1f31ab(_0xa93a9b,_0x79a562,_0x34e068)),_0x32f4c1),(_0x350116(_0xa93a9b,_0x79a562)[_0x40b1e4(0x1a3)]||[])[_0x40b1e4(0x2fb)](function(_0x59a0c2,_0x517ba5){const _0xefc77c=_0x40b1e4;return _0x1156a0(_0x59a0c2,''[_0xefc77c(0x202)](_0x3eb8f4,'-')[_0xefc77c(0x202)](_0xa93a9b['tag'],'-')['concat'](_0x517ba5),_0x79a562,void 0x0,_0x34e068);}));}function _0x1f31ab(_0x48ee97,_0x1e4e85,_0x30e86a){const _0x4d7f03=_0x2e363d;var _0x3b1997=_0x32b919({},_0x48ee97[_0x4d7f03(0x31b)]);_0x30e86a!=null&&_0x30e86a[_0x4d7f03(0x187)]&&_0x3b1997['fill']===_0x4d7f03(0x187)&&(_0x3b1997[_0x4d7f03(0x37a)]=_0x30e86a['colorChannel1']),_0x48ee97[_0x4d7f03(0x167)]===_0x4d7f03(0x137)&&_0x3b1997['id']&&(_0x3b1997['id']=_0x3b1997['id']+_0x1e4e85[_0x4d7f03(0x210)]),Object[_0x4d7f03(0x39c)](_0x3b1997)[_0x4d7f03(0x282)](function(_0x1bc19d){const _0x4b9f17=_0x4d7f03;var _0x9de787=_0x1bc19d[0x0],_0x5be96a=_0x1bc19d[0x1];_0x9de787===_0x4b9f17(0x137)&&typeof _0x5be96a=='string'&&(_0x3b1997[_0x9de787]=_0x5be96a['replace'](/url\(#(.*)\)/,_0x4b9f17(0x325)[_0x4b9f17(0x202)](_0x1e4e85[_0x4b9f17(0x210)],')')));});var _0x2909c9=_0x1e4e85[_0x4d7f03(0x1ba)];return!_0x2909c9||_0x2909c9[_0x4d7f03(0x1a4)]===0x0||(_0x48ee97[_0x4d7f03(0x167)]==='use'&&_0x3b1997[_0x4d7f03(0x3aa)]&&(_0x3b1997['xlink:href']=_0x3b1997['xlink:href']+_0x1e4e85['idSuffix']),Object[_0x4d7f03(0x39c)](_0x3b1997)[_0x4d7f03(0x282)](function(_0x55cf5f){const _0x1fc37c=_0x4d7f03;var _0x428d32=_0x55cf5f[0x0],_0x277a7c=_0x55cf5f[0x1];typeof _0x277a7c=='string'&&(_0x3b1997[_0x428d32]=_0x277a7c[_0x1fc37c(0x300)](/url\(#(.*)\)/,_0x1fc37c(0x325)[_0x1fc37c(0x202)](_0x1e4e85[_0x1fc37c(0x210)],')')));})),_0x3b1997;}function _0x350116(_0x32e882,_0x1ed6f9){const _0x161fcb=_0x2e363d;var _0x5a59b7,_0x535bb3=_0x1ed6f9[_0x161fcb(0x1ba)];return!_0x535bb3||_0x535bb3[_0x161fcb(0x1a4)]===0x0?_0x32e882:_0x32e882[_0x161fcb(0x167)]===_0x161fcb(0x2d7)&&(!((_0x5a59b7=_0x32e882[_0x161fcb(0x1a3)])===null||_0x5a59b7===void 0x0)&&_0x5a59b7[_0x161fcb(0x1a4)])?_0x32b919(_0x32b919({},_0x32e882),{'children':_0x32e882['children']['map'](function(_0x4e384a){const _0xdefd62=_0x161fcb;return typeof _0x4e384a[_0xdefd62(0x31b)]['id']=='string'&&_0x535bb3&&_0x535bb3[_0xdefd62(0x24a)](_0x4e384a[_0xdefd62(0x31b)]['id'])?_0x32b919(_0x32b919({},_0x4e384a),{'attrs':_0x32b919(_0x32b919({},_0x4e384a['attrs']),{'id':_0x4e384a[_0xdefd62(0x31b)]['id']+_0x1ed6f9[_0xdefd62(0x210)]})}):_0x4e384a;})}):_0x32e882;}function _0x46bb04(){const _0x2a4540=_0x2e363d;return Math[_0x2a4540(0x2c4)]()[_0x2a4540(0x2bf)](0x24)[_0x2a4540(0x38d)](0x2,0x8);}_0x2559b5[_0x2e363d(0x1e3)]=_0x2e363d(0x1f8);var _0x28b628={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2e363d(0x25d),'viewBox':_0x2e363d(0x1b5),'width':_0x2e363d(0x345),'height':_0x2e363d(0x345)},'children':[{'tag':'g','attrs':{'clipPath':_0x2e363d(0x2aa)},'children':[{'tag':_0x2e363d(0x393),'attrs':{'stroke':_0x2e363d(0x39d),'d':_0x2e363d(0x1f6),'strokeLinecap':_0x2e363d(0x371),'strokeLinejoin':_0x2e363d(0x371),'strokeWidth':1.2}}]},{'tag':_0x2e363d(0x2d7),'attrs':{},'children':[{'tag':_0x2e363d(0x1d4),'attrs':{'id':_0x2e363d(0x15a)},'children':[{'tag':'path','attrs':{'fill':_0x2e363d(0x2b7),'d':_0x2e363d(0x1d3)}}]}]}],'defIds':[_0x2e363d(0x15a)]},_0x3f87a1=_0x5544c5[_0x2e363d(0x2d2)](function(_0x261d03,_0x3e9050){const _0x19c9f1=_0x2e363d;return _0x5544c5[_0x19c9f1(0x36c)](_0x2559b5,Object[_0x19c9f1(0x201)]({},_0x261d03,{'id':'off-line-icon','ref':_0x3e9050,'icon':_0x28b628}));});_0x3f87a1[_0x2e363d(0x1e3)]='OffLineIcon';var _0x3121d7={'tag':_0x2e363d(0x1af),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2e363d(0x25d),'viewBox':'0\x200\x2017\x2016','width':_0x2e363d(0x345),'height':_0x2e363d(0x345)},'children':[{'tag':'g','attrs':{'clipPath':_0x2e363d(0x2df)},'children':[{'tag':_0x2e363d(0x393),'attrs':{'stroke':_0x2e363d(0x39d),'d':_0x2e363d(0x17a),'strokeLinecap':'round','strokeLinejoin':_0x2e363d(0x371),'strokeWidth':1.2}}]},{'tag':_0x2e363d(0x2d7),'attrs':{},'children':[{'tag':_0x2e363d(0x1d4),'attrs':{'id':_0x2e363d(0x1a9)},'children':[{'tag':_0x2e363d(0x393),'attrs':{'fill':_0x2e363d(0x2b7),'d':_0x2e363d(0x1d3),'transform':_0x2e363d(0x32d)}}]}]}],'defIds':[_0x2e363d(0x1a9)]},_0x3e3cad=_0x5544c5['forwardRef'](function(_0x4e699e,_0xc3491d){const _0x10829c=_0x2e363d;return _0x5544c5[_0x10829c(0x36c)](_0x2559b5,Object[_0x10829c(0x201)]({},_0x4e699e,{'id':_0x10829c(0x2cc),'ref':_0xc3491d,'icon':_0x3121d7}));});_0x3e3cad[_0x2e363d(0x1e3)]=_0x2e363d(0x197);function _0x15b312(_0x5de95e){const _0x166997=_0x2e363d;switch(_0x5de95e){case _0x35d81a[_0x166997(0x28b)]['OFFLINE']:return _0x166997(0x12d);case _0x35d81a[_0x166997(0x28b)]['CONFLICT']:return _0x166997(0x285);case _0x35d81a[_0x166997(0x28b)][_0x166997(0x35d)]:return _0x166997(0x33b);case _0x35d81a['CollaborationStatus'][_0x166997(0x308)]:return _0x166997(0x18d);case _0x35d81a[_0x166997(0x28b)][_0x166997(0x309)]:case _0x35d81a['CollaborationStatus'][_0x166997(0x2dc)]:return'collabStatus.syncing';case _0x35d81a[_0x166997(0x28b)][_0x166997(0x1f7)]:case _0x35d81a[_0x166997(0x28b)][_0x166997(0x272)]:return _0x166997(0x1b8);}}function _0x58e3df(_0xa8da75){const _0x4eec7e=_0x2e363d,{status$:_0x3b51d2}=_0xa8da75,_0x33b253=_0x2d250c['useObservable'](_0x3b51d2,_0x35d81a[_0x4eec7e(0x28b)][_0x4eec7e(0x308)]),_0x3bdc2a=_0x2d250c[_0x4eec7e(0x2ad)](_0x2b43e1['LocaleService']),_0x4c60ff=_0x2d250c[_0x4eec7e(0x2ad)](_0x35d81a[_0x4eec7e(0x29b)]),_0xe8a38a=_0x33b253!==_0x35d81a[_0x4eec7e(0x28b)]['OFFLINE'],_0x34e570=_0x3bdc2a['t'](_0x15b312(_0x33b253)),_0x2d8093=_0xe8a38a?_0x356bea[_0x4eec7e(0x286)](_0x3e3cad,{}):_0x356bea['jsx'](_0x3f87a1,{}),_0x51d645=_0x5544c5['useCallback'](()=>{const _0x34ff0c=_0x4eec7e;_0xe8a38a||_0x4c60ff[_0x34ff0c(0x1d9)]();},[_0xe8a38a,_0x4c60ff]);function _0x4396a0(){const _0x48a597=_0x4eec7e;return _0x356bea[_0x48a597(0x1da)]('div',{'className':_0x48a597(0x1d1),'onClick':_0x51d645,'children':[_0x356bea['jsx']('div',{'className':_0xac66fe[_0x48a597(0x2c2)]('univer-flex\x20univer-mr-2\x20univer-text-xl',{'univer-text-green-500':_0xe8a38a,'univer-text-red-500':!_0xe8a38a}),'children':_0x2d8093}),_0x356bea[_0x48a597(0x286)](_0x48a597(0x2f5),{'className':_0x48a597(0x27d),'children':_0x34e570})]});}return _0xe8a38a?_0x4396a0():_0x356bea['jsx'](_0xac66fe[_0x4eec7e(0x29c)],{'title':_0x3bdc2a['t'](_0x4eec7e(0x344)),'children':_0x4396a0()});}var _0x50b0ac=Object['getOwnPropertyDescriptor'],_0x273172=(_0x1aa4a0,_0x34c750,_0x34cac3,_0x535ff9)=>{const _0x420949=_0x2e363d;for(var _0x125d93=_0x535ff9>0x1?void 0x0:_0x535ff9?_0x50b0ac(_0x34c750,_0x34cac3):_0x34c750,_0x3ff6c9=_0x1aa4a0[_0x420949(0x1a4)]-0x1,_0xa82ae3;_0x3ff6c9>=0x0;_0x3ff6c9--)(_0xa82ae3=_0x1aa4a0[_0x3ff6c9])&&(_0x125d93=_0xa82ae3(_0x125d93)||_0x125d93);return _0x125d93;},_0x3fcb72=(_0x1c66b7,_0x583716)=>(_0x30ae15,_0x173fb3)=>_0x583716(_0x30ae15,_0x173fb3,_0x1c66b7);_0x1364d3[_0x2e363d(0x23b)]=class extends _0x2b43e1[_0x2e363d(0x396)]{constructor(_0x30986f,_0x34777a,_0x23334d,_0x565e69){const _0x19a064=_0x2e363d;super(),_0x1b73a5(this,'_status$',new _0x5ad77d[(_0x19a064(0x146))](_0x35d81a[_0x19a064(0x28b)][_0x19a064(0x308)])),(this[_0x19a064(0x1c6)]=_0x30986f,this[_0x19a064(0x121)]=_0x34777a,this[_0x19a064(0x2fa)]=_0x23334d,this[_0x19a064(0x24d)]=_0x565e69,this[_0x19a064(0x2b3)](),this[_0x19a064(0x377)]());}['_initStatusListener'](){const _0x1f5e8f=_0x2e363d;this[_0x1f5e8f(0x160)](this[_0x1f5e8f(0x1c6)][_0x1f5e8f(0x288)][_0x1f5e8f(0x230)](_0x5ad77d[_0x1f5e8f(0x291)](()=>{const _0x539eb2=_0x1f5e8f,_0x8d3f49=this[_0x539eb2(0x1c6)][_0x539eb2(0x33a)]();return _0x8d3f49?this[_0x539eb2(0x2fa)]['getCollabEntity$'](_0x8d3f49[_0x539eb2(0x331)]()):_0x5ad77d['of'](null);}),_0x5ad77d[_0x1f5e8f(0x291)](_0x171c81=>_0x171c81?_0x171c81['status$']:_0x5ad77d['of'](_0x35d81a['CollaborationStatus'][_0x1f5e8f(0x308)])))['subscribe'](_0x2de5a8=>{const _0x3e4c25=_0x1f5e8f;this[_0x3e4c25(0x2b1)][_0x3e4c25(0x320)](_0x2de5a8);}));}[_0x2e363d(0x2b3)](){const _0x2320a0=_0x2e363d;this[_0x2320a0(0x160)](this['_uiPartsService']['registerComponent'](_0x2d250c['BuiltInUIPart'][_0x2320a0(0x289)],()=>_0x2d250c[_0x2320a0(0x1aa)](_0x251708({'status$':this[_0x2320a0(0x2b1)][_0x2320a0(0x3b0)]()}),this[_0x2320a0(0x121)])));}},_0x1364d3[_0x2e363d(0x23b)]=_0x273172([_0x3fcb72(0x0,_0x2b43e1['IUniverInstanceService']),_0x3fcb72(0x1,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1[_0x2e363d(0x392)])),_0x3fcb72(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x35d81a[_0x2e363d(0x252)])),_0x3fcb72(0x3,_0x2d250c[_0x2e363d(0x28c)])],_0x1364d3['DesktopCollaborationStatusDisplayController']);function _0x251708(_0x37290b){const {status$:_0xa78e5}=_0x37290b;return function(){const _0x58f27a=_0xc513;return _0x356bea[_0x58f27a(0x286)](_0x58e3df,{'status$':_0xa78e5});};}var _0x5bb69b=Object[_0x2e363d(0x29d)],_0x13c1ed=(_0x23f978,_0xc56a86,_0x3d21db,_0x6c17e7)=>{for(var _0x37a3f0=_0x6c17e7>0x1?void 0x0:_0x6c17e7?_0x5bb69b(_0xc56a86,_0x3d21db):_0xc56a86,_0x1a78c8=_0x23f978['length']-0x1,_0x128dc5;_0x1a78c8>=0x0;_0x1a78c8--)(_0x128dc5=_0x23f978[_0x1a78c8])&&(_0x37a3f0=_0x128dc5(_0x37a3f0)||_0x37a3f0);return _0x37a3f0;},_0x539b15=(_0x5c198b,_0x504c69)=>(_0x4bf268,_0x25812b)=>_0x504c69(_0x4bf268,_0x25812b,_0x5c198b);let _0x817f88=class extends _0x2b43e1[_0x2e363d(0x396)]{constructor(_0x344bad,_0x346952,_0x3d149a,_0x5b8c13,_0x1a763e,_0x16a522){const _0x597f18=_0x2e363d;super(),this[_0x597f18(0x212)]=_0x344bad,this[_0x597f18(0x260)]=_0x346952,this[_0x597f18(0x181)]=_0x3d149a,this[_0x597f18(0x3a2)]=_0x5b8c13,this[_0x597f18(0x3a3)]=_0x1a763e,this['_localeService']=_0x16a522,this[_0x597f18(0x281)](),this[_0x597f18(0x2be)]();}[_0x2e363d(0x281)](){const _0x44b8e9=_0x2e363d;this[_0x44b8e9(0x160)](this[_0x44b8e9(0x212)][_0x44b8e9(0x2e6)](()=>{const _0x32d51d=_0x44b8e9;if(this[_0x32d51d(0x260)][_0x32d51d(0x119)][_0x32d51d(0x27f)])return this[_0x32d51d(0x140)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x2e363d(0x2be)](){const _0x480929=_0x2e363d;this[_0x480929(0x160)](this[_0x480929(0x181)]['event$']['subscribe'](_0x4c2a42=>{const _0x171c3d=_0x480929;_0x4c2a42['id']===_0x35d81a[_0x171c3d(0x35c)]['OTHER_CLIENT_EDITING']&&this[_0x171c3d(0x3a2)][_0x171c3d(0x12c)]({'type':_0xac66fe[_0x171c3d(0x324)][_0x171c3d(0x1ed)],'content':this[_0x171c3d(0x140)]['t'](_0x171c3d(0x204))}),_0x4c2a42['id']===_0x35d81a[_0x171c3d(0x35c)]['CLOSE_ROOM']&&this['_messageService'][_0x171c3d(0x12c)]({'type':_0xac66fe[_0x171c3d(0x324)][_0x171c3d(0x1ed)],'content':this[_0x171c3d(0x140)]['t'](_0x171c3d(0x2f6))}),_0x4c2a42['id']===_0x35d81a['CollaborationUIEventId'][_0x171c3d(0x157)]&&this[_0x171c3d(0x3a3)][_0x171c3d(0x12c)]({'title':this[_0x171c3d(0x140)]['t']('permission.title'),'content':this['_localeService']['t'](_0x171c3d(0x14c)),'type':'error','duration':0x0}),_0x4c2a42['id']===_0x35d81a[_0x171c3d(0x35c)]['CONFLICT']&&this['_messageService'][_0x171c3d(0x12c)]({'type':_0xac66fe[_0x171c3d(0x324)][_0x171c3d(0x178)],'content':this[_0x171c3d(0x140)]['t'](_0x171c3d(0x2f6))+'('+_0x4c2a42[_0x171c3d(0x1b4)]+')'}),_0x4c2a42['id']===_0x35d81a[_0x171c3d(0x35c)][_0x171c3d(0x350)]&&this[_0x171c3d(0x3a2)][_0x171c3d(0x12c)]({'type':_0xac66fe[_0x171c3d(0x324)][_0x171c3d(0x1ed)],'content':this[_0x171c3d(0x140)]['t'](_0x4c2a42[_0x171c3d(0x1b4)]||'')}),_0x4c2a42['id']===_0x35d81a[_0x171c3d(0x35c)][_0x171c3d(0x33f)]&&this[_0x171c3d(0x3a2)][_0x171c3d(0x12c)]({'type':_0xac66fe['MessageType'][_0x171c3d(0x1ed)],'content':this[_0x171c3d(0x140)]['t'](_0x171c3d(0x2b2))}),_0x4c2a42['id']===_0x35d81a['CollaborationUIEventId'][_0x171c3d(0x19f)]&&this['_messageService']['show']({'type':_0xac66fe[_0x171c3d(0x324)]['Error'],'content':this['_localeService']['t']('session.connection-failed')}),_0x4c2a42['id']===_0x35d81a[_0x171c3d(0x35c)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x171c3d(0x12c)]({'type':_0xac66fe[_0x171c3d(0x324)][_0x171c3d(0x178)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x817f88=_0x13c1ed([_0x539b15(0x0,_0x2d250c[_0x2e363d(0x37f)]),_0x539b15(0x1,_0x35d81a[_0x2e363d(0x348)]),_0x539b15(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x35d81a[_0x2e363d(0x179)])),_0x539b15(0x3,_0x2d250c[_0x2e363d(0x153)]),_0x539b15(0x4,_0x2d250c[_0x2e363d(0x2c8)]),_0x539b15(0x5,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1[_0x2e363d(0x2c5)]))],_0x817f88);const _0x5094dd=_0x2e363d(0x31a),_0x3cf9e4={},_0x4b6a35=_0x2b43e1[_0x2e363d(0x27e)](_0x2e363d(0x257));var _0x1b14b7=Object[_0x2e363d(0x29d)],_0x19aa9a=(_0x4fca0f,_0x314a86,_0x2115e2,_0x3da59b)=>{const _0x113534=_0x2e363d;for(var _0x1f7e50=_0x3da59b>0x1?void 0x0:_0x3da59b?_0x1b14b7(_0x314a86,_0x2115e2):_0x314a86,_0x45ec40=_0x4fca0f[_0x113534(0x1a4)]-0x1,_0x56235a;_0x45ec40>=0x0;_0x45ec40--)(_0x56235a=_0x4fca0f[_0x45ec40])&&(_0x1f7e50=_0x56235a(_0x1f7e50)||_0x1f7e50);return _0x1f7e50;},_0x418d35=(_0x1326a8,_0x223526)=>(_0x2f8845,_0x4810ba)=>_0x223526(_0x2f8845,_0x4810ba,_0x1326a8);_0x1364d3[_0x2e363d(0x394)]=class extends _0x2b43e1[_0x2e363d(0x2bd)]{constructor(_0x5ecb6d,_0x403cf6,_0x2e9ce0,_0x16ea19,_0x1b830d){const _0x4111aa=_0x2e363d;super(),this[_0x4111aa(0x357)]=_0x5ecb6d,this[_0x4111aa(0x30f)]=_0x403cf6,this[_0x4111aa(0x232)]=_0x2e9ce0,this[_0x4111aa(0x39a)]=_0x16ea19,_0x1b830d?_0x1b830d==null||_0x1b830d[_0x4111aa(0x1f2)]()['then'](()=>this[_0x4111aa(0x151)]()):(this[_0x4111aa(0x30f)][_0x4111aa(0x1ef)](_0x4111aa(0x133),_0x4111aa(0x13d)),this[_0x4111aa(0x151)]());}async[_0x2e363d(0x151)](){const _0x3966bc=_0x2e363d,_0xd5b664=this[_0x3966bc(0x357)][_0x3966bc(0x191)](_0x3966bc(0x2e9)),_0x252af8=this[_0x3966bc(0x357)][_0x3966bc(0x191)](_0x3966bc(0x255)),_0x11ac5d=this['_urlService'][_0x3966bc(0x191)](_0x3966bc(0x369));if(!_0xd5b664||!_0x252af8){this[_0x3966bc(0x30f)][_0x3966bc(0x1ef)](_0x3966bc(0x133),_0x3966bc(0x17f));return;}const _0x41e4d5=await this[_0x3966bc(0x39a)][_0x3966bc(0x13c)](_0xd5b664,Number(_0x252af8),_0x11ac5d);_0x41e4d5&&_0x41e4d5 instanceof _0x2b43e1[_0x3966bc(0x1f9)]&&this[_0x3966bc(0x127)](_0x41e4d5);}async[_0x2e363d(0x127)](_0x59e505){const _0x501d60=_0x2e363d;await this['_updateSubUnitFromURLParams'](_0x59e505),_0x59e505[_0x501d60(0x262)][_0x501d60(0x230)](_0x5ad77d[_0x501d60(0x383)](this[_0x501d60(0x223)]))[_0x501d60(0x2d3)](_0x29b24e=>{_0x29b24e&&this['_updateURLWithCurrentState'](_0x29b24e);}),this['_urlService'][_0x501d60(0x327)][_0x501d60(0x230)](_0x5ad77d[_0x501d60(0x383)](this[_0x501d60(0x223)]))[_0x501d60(0x2d3)](()=>this[_0x501d60(0x31e)](_0x59e505));}[_0x2e363d(0x270)](_0x36be7f,_0x17d232=!0x1){const _0x43b3a8=_0x2e363d,_0x1463a3=this[_0x43b3a8(0x357)][_0x43b3a8(0x191)](_0x43b3a8(0x369));_0x36be7f['getSheetId']()!==_0x1463a3&&this[_0x43b3a8(0x357)][_0x43b3a8(0x198)](_0x43b3a8(0x369),_0x36be7f[_0x43b3a8(0x231)](),_0x17d232);}async['_updateSubUnitFromURLParams'](_0x2c70e9){const _0x5e49d6=_0x2e363d;var _0x587099;const _0x417f78=this[_0x5e49d6(0x357)][_0x5e49d6(0x191)](_0x5e49d6(0x369));if(!_0x417f78||!_0x2c70e9[_0x5e49d6(0x2b6)](_0x417f78)){const _0x5c74eb=_0x2c70e9[_0x5e49d6(0x30e)]()[0x0],_0x19c658=_0x2c70e9[_0x5e49d6(0x2b6)](_0x5c74eb);if(!_0x19c658)return;this[_0x5e49d6(0x270)](_0x19c658,!0x0),await this[_0x5e49d6(0x232)][_0x5e49d6(0x3ad)](_0x575825[_0x5e49d6(0x264)]['id'],{'unitId':_0x2c70e9[_0x5e49d6(0x331)](),'subUnitId':_0x5c74eb});return;}((_0x587099=_0x2c70e9[_0x5e49d6(0x237)]())==null?void 0x0:_0x587099[_0x5e49d6(0x231)]())!==_0x417f78&&await this[_0x5e49d6(0x232)][_0x5e49d6(0x3ad)](_0x575825[_0x5e49d6(0x264)]['id'],{'unitId':_0x2c70e9['getUnitId'](),'subUnitId':_0x417f78});}},_0x1364d3['CollaborationDataLoaderController']=_0x19aa9a([_0x418d35(0x0,_0x4b6a35),_0x418d35(0x1,_0x2b43e1[_0x2e363d(0x1dd)]),_0x418d35(0x2,_0x2b43e1['ICommandService']),_0x418d35(0x3,_0x2b43e1[_0x2e363d(0x1f3)](_0x35d81a[_0x2e363d(0x176)])),_0x418d35(0x4,_0x2b43e1[_0x2e363d(0x27b)](_0x3716d4[_0x2e363d(0x328)]))],_0x1364d3[_0x2e363d(0x394)]);var _0x2e5bbe=Object[_0x2e363d(0x29d)],_0x301717=(_0x12fcf9,_0x15ca15,_0x2aaeaf,_0x1d81b1)=>{const _0x15f00f=_0x2e363d;for(var _0x2e2db=_0x1d81b1>0x1?void 0x0:_0x1d81b1?_0x2e5bbe(_0x15ca15,_0x2aaeaf):_0x15ca15,_0x475425=_0x12fcf9[_0x15f00f(0x1a4)]-0x1,_0x5b7eae;_0x475425>=0x0;_0x475425--)(_0x5b7eae=_0x12fcf9[_0x475425])&&(_0x2e2db=_0x5b7eae(_0x2e2db)||_0x2e2db);return _0x2e2db;},_0x1f9433=(_0x190713,_0x317382)=>(_0x2968c9,_0x2218d8)=>_0x317382(_0x2968c9,_0x2218d8,_0x190713);let _0x417996=class{constructor(_0x5b6912,_0x560e96,_0x4b9c6f){this['_injector']=_0x5b6912,this['_transformService']=_0x560e96,this['_renderManagerService']=_0x4b9c6f;}[_0x2e363d(0x1e6)](_0x58e430){const _0x198088=_0x2e363d;this[_0x198088(0x313)](_0x58e430),this[_0x198088(0x1b7)](_0x58e430);}['transformRemoteChangeset'](_0x5d7ca3){const _0x4fc219=_0x2e363d,{unitID:_0x2d16f8}=_0x5d7ca3,_0x278946=this[_0x4fc219(0x311)][_0x4fc219(0x2fc)](_0x2d16f8)[_0x4fc219(0x1b6)](_0x15c8af[_0x4fc219(0x14b)]),{redoCache:_0x3e5f80}=_0x278946['getUndoRedoMutationParamsCache']();if(_0x3e5f80[_0x4fc219(0x1a4)]===0x0)return _0x5d7ca3;let _0x3be1b8=_0x2b43e1[_0x4fc219(0x2af)][_0x4fc219(0x340)](_0x5d7ca3['mutations'][0x0]);for(let _0x5f2e26=0x0;_0x5f2e26<_0x3e5f80[_0x4fc219(0x1a4)];_0x5f2e26++){const _0x18ec2f={'id':_0x4fc219(0x145),'params':{..._0x3e5f80[_0x5f2e26]}},_0x3ae186=this['_transformService'][_0x4fc219(0x175)](_0x3be1b8,_0x18ec2f,!0x1);if(_0x4bbdfc[_0x4fc219(0x2c0)](_0x3ae186))throw _0x3ae186[_0x4fc219(0x139)];_0x3be1b8=_0x3ae186[_0x4fc219(0x30b)];}return{..._0x2b43e1[_0x4fc219(0x2af)][_0x4fc219(0x340)](_0x5d7ca3),'mutations':[_0x3be1b8]};}['_transformUndoRedoStack'](_0x289fba){const _0x3d7c69=_0x2e363d,{unitID:_0x234f6a}=_0x289fba,_0x16fade=this[_0x3d7c69(0x311)][_0x3d7c69(0x2fc)](_0x234f6a)['with'](_0x15c8af['DocIMEInputManagerService']),{undoCache:_0x1291a2,redoCache:_0x19abff}=_0x16fade['getUndoRedoMutationParamsCache']();if(_0x1291a2[_0x3d7c69(0x1a4)]===0x0||_0x19abff[_0x3d7c69(0x1a4)]===0x0)return;const _0x37cd87=[],_0x7ff3b1=[];let _0x53ba67=_0x2b43e1['Tools']['deepClone'](_0x289fba['mutations'][0x0]),_0x336170=_0x2b43e1[_0x3d7c69(0x2af)][_0x3d7c69(0x340)](_0x289fba[_0x3d7c69(0x162)][0x0]);for(let _0x166a1d=_0x1291a2[_0x3d7c69(0x1a4)]-0x1;_0x166a1d>=0x0;_0x166a1d--){const _0x1ed11c={'id':_0x3d7c69(0x145),'params':{..._0x1291a2[_0x166a1d]}},_0x500687={'id':_0x3d7c69(0x145),'params':{..._0x19abff[_0x166a1d]}},_0x3c2604=this[_0x3d7c69(0x2a4)][_0x3d7c69(0x175)](_0x53ba67,_0x1ed11c,!0x1),_0x201262=this[_0x3d7c69(0x2a4)][_0x3d7c69(0x175)](_0x336170,_0x500687,!0x1);if(_0x4bbdfc[_0x3d7c69(0x2c0)](_0x3c2604))throw _0x3c2604[_0x3d7c69(0x139)];if(_0x4bbdfc[_0x3d7c69(0x2c0)](_0x201262))throw _0x201262[_0x3d7c69(0x139)];_0x37cd87['unshift'](_0x3c2604['m2Prime'][_0x3d7c69(0x387)]),_0x7ff3b1['unshift'](_0x201262[_0x3d7c69(0x34c)]['params']),_0x53ba67=_0x3c2604['m1Prime'],_0x336170=_0x201262[_0x3d7c69(0x30b)];}_0x16fade[_0x3d7c69(0x144)]({'undoCache':_0x37cd87,'redoCache':_0x7ff3b1});}[_0x2e363d(0x1b7)](_0x2de74e){const _0x55b684=_0x2e363d,{unitID:_0x30bf04}=_0x2de74e,_0x10145d=this['_renderManagerService'][_0x55b684(0x2fc)](_0x30bf04)['with'](_0x15c8af[_0x55b684(0x14b)]),_0x2b4633=_0x10145d[_0x55b684(0x1e7)]();if(_0x2b4633==null)return;const _0xe3cd5a=[{'id':_0x55b684(0x145),'params':{'unitId':_0x2de74e[_0x55b684(0x1bb)],'actions':null,'textRanges':[_0x2b4633]}}],_0x6e60b7=this[_0x55b684(0x2a4)][_0x55b684(0x1e2)](_0x2de74e,_0xe3cd5a);if(!_0x4bbdfc['isTransformMutationsWithChangesetSuccess'](_0x6e60b7))throw _0x6e60b7[_0x55b684(0x139)];const _0x539130=_0x6e60b7['m2Prime'][0x0][_0x55b684(0x387)][_0x55b684(0x22b)];Array[_0x55b684(0x388)](_0x539130)&&_0x539130['length']&&_0x10145d[_0x55b684(0x329)](_0x539130[0x0]);}};_0x417996=_0x301717([_0x1f9433(0x0,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1[_0x2e363d(0x392)])),_0x1f9433(0x1,_0x4bbdfc[_0x2e363d(0x129)]),_0x1f9433(0x2,_0x4f9ef0[_0x2e363d(0x19e)])],_0x417996);var _0x5a34a5=Object[_0x2e363d(0x29d)],_0x306e2f=(_0x331a85,_0x317f5d,_0x31964c,_0xa2b0c1)=>{for(var _0xe9e518=_0xa2b0c1>0x1?void 0x0:_0xa2b0c1?_0x5a34a5(_0x317f5d,_0x31964c):_0x317f5d,_0x3270ee=_0x331a85['length']-0x1,_0x164a38;_0x3270ee>=0x0;_0x3270ee--)(_0x164a38=_0x331a85[_0x3270ee])&&(_0xe9e518=_0x164a38(_0xe9e518)||_0xe9e518);return _0xe9e518;},_0x7d546c=(_0x1dae00,_0x1d78e5)=>(_0x450c06,_0x3fd723)=>_0x1d78e5(_0x450c06,_0x3fd723,_0x1dae00);let _0x4dbe37=class{constructor(_0x2dd2d7,_0x56d2c2,_0x57de39){const _0xa5de24=_0x2e363d;this[_0xa5de24(0x121)]=_0x2dd2d7,this[_0xa5de24(0x2a4)]=_0x56d2c2,this[_0xa5de24(0x11b)]=_0x57de39;}[_0x2e363d(0x174)](_0x4b39ed){const _0x195ffc=_0x2e363d;this[_0x195ffc(0x37b)](_0x4b39ed);}[_0x2e363d(0x2a2)](_0x40a68f){const _0x3b1878=_0x2e363d,{unitID:_0x7c3ce8}=_0x40a68f,{collaboration:_0x43ad40}=this[_0x3b1878(0x11b)][_0x3b1878(0x278)](_0x7c3ce8);if(_0x43ad40[_0x3b1878(0x1a4)]===0x0)return _0x40a68f;let _0xf6f1cf=_0x2b43e1[_0x3b1878(0x2af)][_0x3b1878(0x340)](_0x40a68f['mutations'][0x0]);for(let _0x221aa6=0x0;_0x221aa6<_0x43ad40[_0x3b1878(0x1a4)];_0x221aa6++){const _0x48a4a1={'id':_0x3b1878(0x145),'params':{'unitId':_0x43ad40[_0x221aa6]['unitId'],..._0x43ad40[_0x221aa6][_0x3b1878(0x1be)]}},_0x1da643=this[_0x3b1878(0x2a4)][_0x3b1878(0x175)](_0xf6f1cf,_0x48a4a1,!0x1);if(_0x4bbdfc[_0x3b1878(0x2c0)](_0x1da643))throw _0x1da643[_0x3b1878(0x139)];_0xf6f1cf=_0x1da643['m1Prime'];}return{..._0x2b43e1[_0x3b1878(0x2af)][_0x3b1878(0x340)](_0x40a68f),'mutations':[_0xf6f1cf]};}[_0x2e363d(0x37b)](_0x294f58){const _0x4b91e3=_0x2e363d,{unitID:_0x3db1d8}=_0x294f58,{history:_0x41ffda,collaboration:_0x5b8aad}=this['_docStateChangeManagerService'][_0x4b91e3(0x278)](_0x3db1d8);if(_0x41ffda['length']===0x0&&_0x5b8aad[_0x4b91e3(0x1a4)]===0x0)return;const _0x55de71=[],_0x140563=[];let _0x3b323a=_0x2b43e1['Tools'][_0x4b91e3(0x340)](_0x294f58[_0x4b91e3(0x162)][0x0]),_0x38a79b=_0x2b43e1[_0x4b91e3(0x2af)]['deepClone'](_0x294f58[_0x4b91e3(0x162)][0x0]);for(let _0x25f312=_0x41ffda[_0x4b91e3(0x1a4)]-0x1;_0x25f312>=0x0;_0x25f312--){const _0x45ed15={'id':_0x4b91e3(0x145),'params':{'unitId':_0x41ffda[_0x25f312][_0x4b91e3(0x32f)],..._0x41ffda[_0x25f312][_0x4b91e3(0x366)]}},_0x33387d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x41ffda[_0x25f312]['unitId'],..._0x41ffda[_0x25f312]['redoState']}},_0x59864d=this[_0x4b91e3(0x2a4)][_0x4b91e3(0x175)](_0x3b323a,_0x45ed15,!0x1),_0x6082f0=this[_0x4b91e3(0x2a4)][_0x4b91e3(0x175)](_0x38a79b,_0x33387d,!0x1);if(_0x4bbdfc[_0x4b91e3(0x2c0)](_0x59864d))throw _0x59864d[_0x4b91e3(0x139)];if(_0x4bbdfc[_0x4b91e3(0x2c0)](_0x6082f0))throw _0x6082f0[_0x4b91e3(0x139)];_0x55de71[_0x4b91e3(0x1fe)]({..._0x41ffda[_0x25f312],'undoState':_0x59864d[_0x4b91e3(0x34c)][_0x4b91e3(0x387)],'redoState':_0x6082f0['m2Prime'][_0x4b91e3(0x387)]}),_0x3b323a=_0x59864d[_0x4b91e3(0x30b)],_0x38a79b=_0x6082f0[_0x4b91e3(0x30b)];}_0x3b323a=_0x2b43e1[_0x4b91e3(0x2af)][_0x4b91e3(0x340)](_0x294f58[_0x4b91e3(0x162)][0x0]),_0x38a79b=_0x2b43e1[_0x4b91e3(0x2af)][_0x4b91e3(0x340)](_0x294f58[_0x4b91e3(0x162)][0x0]);for(let _0x3eefc3=_0x5b8aad['length']-0x1;_0x3eefc3>=0x0;_0x3eefc3--){const _0xd3ab88={'id':_0x4b91e3(0x145),'params':{'unitId':_0x5b8aad[_0x3eefc3][_0x4b91e3(0x32f)],..._0x5b8aad[_0x3eefc3][_0x4b91e3(0x366)]}},_0x5d0cb5={'id':_0x4b91e3(0x145),'params':{'unitId':_0x5b8aad[_0x3eefc3]['unitId'],..._0x5b8aad[_0x3eefc3][_0x4b91e3(0x1be)]}},_0x583921=this[_0x4b91e3(0x2a4)][_0x4b91e3(0x175)](_0x3b323a,_0xd3ab88,!0x1),_0x528c15=this[_0x4b91e3(0x2a4)][_0x4b91e3(0x175)](_0x38a79b,_0x5d0cb5,!0x1);if(_0x4bbdfc[_0x4b91e3(0x2c0)](_0x583921))throw _0x583921[_0x4b91e3(0x139)];if(_0x4bbdfc[_0x4b91e3(0x2c0)](_0x528c15))throw _0x528c15[_0x4b91e3(0x139)];_0x140563[_0x4b91e3(0x1fe)]({..._0x5b8aad[_0x3eefc3],'undoState':_0x583921[_0x4b91e3(0x34c)]['params'],'redoState':_0x528c15[_0x4b91e3(0x34c)]['params']}),_0x3b323a=_0x583921['m1Prime'],_0x38a79b=_0x528c15['m1Prime'];}this[_0x4b91e3(0x11b)][_0x4b91e3(0x168)](_0x3db1d8,{'history':_0x55de71,'collaboration':_0x140563});}};_0x4dbe37=_0x306e2f([_0x7d546c(0x0,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1['Injector'])),_0x7d546c(0x1,_0x4bbdfc[_0x2e363d(0x129)]),_0x7d546c(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x15c8af[_0x2e363d(0x1ac)]))],_0x4dbe37);var _0x16c2a7=Object[_0x2e363d(0x29d)],_0x5026e6=(_0x2ab1c1,_0x4e662c,_0xa137dc,_0x30d3d1)=>{const _0x1d2152=_0x2e363d;for(var _0x1cca31=_0x30d3d1>0x1?void 0x0:_0x30d3d1?_0x16c2a7(_0x4e662c,_0xa137dc):_0x4e662c,_0x188a25=_0x2ab1c1[_0x1d2152(0x1a4)]-0x1,_0x3d8b92;_0x188a25>=0x0;_0x188a25--)(_0x3d8b92=_0x2ab1c1[_0x188a25])&&(_0x1cca31=_0x3d8b92(_0x1cca31)||_0x1cca31);return _0x1cca31;},_0x238b5c=(_0x3d0229,_0x2b26c5)=>(_0x2d426f,_0x136525)=>_0x2b26c5(_0x2d426f,_0x136525,_0x3d0229);let _0x326498=class{constructor(_0x38caec,_0x2f0564){const _0x3caf13=_0x2e363d;this[_0x3caf13(0x121)]=_0x38caec,this[_0x3caf13(0x2a4)]=_0x2f0564;}['transformSelections'](_0x58ef89){const _0x15dd25=_0x2e363d;var _0x54a2f4;const _0x25b64d=this[_0x15dd25(0x121)][_0x15dd25(0x2a6)](_0x854483[_0x15dd25(0x1a8)]),_0x524599=(_0x54a2f4=_0x25b64d[_0x15dd25(0x304)]())!=null?_0x54a2f4:[];if(_0x524599[_0x15dd25(0x1a4)]===0x0)return;const _0x51197e=_0x58ef89[_0x15dd25(0x1bb)],_0x250910=[{'id':_0x15dd25(0x145),'params':{'unitId':_0x51197e,'actions':null,'textRanges':_0x524599}}],_0x6d6af9=this[_0x15dd25(0x2a4)][_0x15dd25(0x1e2)](_0x58ef89,_0x250910);if(!_0x4bbdfc[_0x15dd25(0x1e8)](_0x6d6af9))throw _0x6d6af9['error'];const _0x430a9d=_0x6d6af9['m2Prime'][0x0][_0x15dd25(0x387)][_0x15dd25(0x22b)];Array[_0x15dd25(0x388)](_0x430a9d)&&_0x430a9d[_0x15dd25(0x1a4)]&&_0x25b64d[_0x15dd25(0x3a0)](_0x430a9d,{'unitId':_0x51197e,'subUnitId':_0x51197e},!0x1);}};_0x326498=_0x5026e6([_0x238b5c(0x0,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1['Injector'])),_0x238b5c(0x1,_0x4bbdfc[_0x2e363d(0x129)])],_0x326498);var _0x6ca962=Object[_0x2e363d(0x29d)],_0x51d2fc=(_0x248591,_0x544be8,_0x4930f6,_0x3788b6)=>{const _0x5cf628=_0x2e363d;for(var _0xe4141a=_0x3788b6>0x1?void 0x0:_0x3788b6?_0x6ca962(_0x544be8,_0x4930f6):_0x544be8,_0x399dfc=_0x248591[_0x5cf628(0x1a4)]-0x1,_0x1b4782;_0x399dfc>=0x0;_0x399dfc--)(_0x1b4782=_0x248591[_0x399dfc])&&(_0xe4141a=_0x1b4782(_0xe4141a)||_0xe4141a);return _0xe4141a;},_0x11a89e=(_0x1dd6f2,_0x38b7ba)=>(_0x34e4c8,_0x52b481)=>_0x38b7ba(_0x34e4c8,_0x52b481,_0x1dd6f2);let _0x443ad7=class extends _0x2b43e1['Disposable']{constructor(_0x3b9438,_0x4b36c5,_0x248fe2,_0x45ea25,_0x3753af,_0x5ef1a8,_0x3fa4ef,_0x302fda){const _0x5800b4=_0x2e363d;super(),_0x1b73a5(this,_0x5800b4(0x2b1),new _0x5ad77d[(_0x5800b4(0x146))](_0x35d81a[_0x5800b4(0x28b)][_0x5800b4(0x308)])),(this[_0x5800b4(0x11b)]=_0x3b9438,this[_0x5800b4(0x2fa)]=_0x4b36c5,this[_0x5800b4(0x123)]=_0x248fe2,this[_0x5800b4(0x31c)]=_0x45ea25,this[_0x5800b4(0x271)]=_0x3753af,this[_0x5800b4(0x188)]=_0x5ef1a8,this[_0x5800b4(0x3a2)]=_0x3fa4ef,this[_0x5800b4(0x140)]=_0x302fda,this['_initEntityListener']());}[_0x2e363d(0x1ab)](){const _0x8ab804=_0x2e363d;this[_0x8ab804(0x160)](this['_collaborationController']['entityInit$'][_0x8ab804(0x2d3)](_0x228747=>{const _0x5a8322=_0x8ab804,_0x40fc3a=this[_0x5a8322(0x11b)][_0x5a8322(0x1fa)][_0x5a8322(0x2d3)](_0x53c89b=>{const _0x192654=_0x5a8322;if(_0x53c89b==null)return;const {unitId:_0x55fcac,redoState:_0x5e0c19,commandId:_0x3049b7}=_0x53c89b;if(_0x55fcac!==_0x228747[_0x192654(0x1bb)])return;const _0x3917c4={'id':_0x3049b7,'type':_0x2b43e1[_0x192654(0x13f)]['MUTATION'],'params':{'unitId':_0x55fcac,'actions':_0x5e0c19['actions'],'textRanges':null}};_0x228747[_0x192654(0x244)](_0x3917c4);});if(_0x228747[_0x5a8322(0x160)](_0x40fc3a),_0x228747 instanceof _0x35d81a[_0x5a8322(0x355)]){const _0x32df32={'onTransformIME':_0x5137eb=>this[_0x5a8322(0x123)][_0x5a8322(0x1e6)](_0x5137eb),'onTransformState':_0x41a718=>this[_0x5a8322(0x31c)][_0x5a8322(0x174)](_0x41a718),'onTransformSelections':_0x1e810f=>this[_0x5a8322(0x271)][_0x5a8322(0x256)](_0x1e810f),'onSyncEditingCollabCursor':_0x4a9f4b=>this['_docSyncEditingCollabCursorService'][_0x5a8322(0x33c)](_0x4a9f4b),'onTransformRemoteChangesetByIMECache':_0x2c3829=>this['_docTransformIMECacheService'][_0x5a8322(0x2a2)](_0x2c3829),'onTransformRemoteChangesetByStateCache':_0x2ebec0=>this[_0x5a8322(0x31c)][_0x5a8322(0x2a2)](_0x2ebec0)};_0x228747[_0x5a8322(0x193)](_0x32df32);}}));}};_0x443ad7=_0x51d2fc([_0x11a89e(0x0,_0x2b43e1[_0x2e363d(0x1f3)](_0x15c8af['DocStateChangeManagerService'])),_0x11a89e(0x1,_0x2b43e1[_0x2e363d(0x1f3)](_0x35d81a[_0x2e363d(0x252)])),_0x11a89e(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x417996)),_0x11a89e(0x3,_0x2b43e1[_0x2e363d(0x1f3)](_0x4dbe37)),_0x11a89e(0x4,_0x2b43e1['Inject'](_0x326498)),_0x11a89e(0x5,_0x2b43e1['Inject'](_0x5eda65)),_0x11a89e(0x6,_0x2d250c[_0x2e363d(0x153)]),_0x11a89e(0x7,_0x2b43e1['Inject'](_0x2b43e1[_0x2e363d(0x2c5)]))],_0x443ad7);var _0x91b78=Object['getOwnPropertyDescriptor'],_0x23b014=(_0x5b88a0,_0x57c9e6,_0x467a75,_0x322c8a)=>{const _0x2c09c3=_0x2e363d;for(var _0x51302f=_0x322c8a>0x1?void 0x0:_0x322c8a?_0x91b78(_0x57c9e6,_0x467a75):_0x57c9e6,_0x3a4f30=_0x5b88a0[_0x2c09c3(0x1a4)]-0x1,_0x754c1d;_0x3a4f30>=0x0;_0x3a4f30--)(_0x754c1d=_0x5b88a0[_0x3a4f30])&&(_0x51302f=_0x754c1d(_0x51302f)||_0x51302f);return _0x51302f;},_0x3880e4=(_0x460857,_0x95e71c)=>(_0xbfab9e,_0x534c64)=>_0x95e71c(_0xbfab9e,_0x534c64,_0x460857);let _0x2c6462=class extends _0x2b43e1[_0x2e363d(0x396)]{constructor(_0x5bbba6,_0x3f424f,_0xd6c95d){const _0xf8e666=_0x2e363d;super(),_0x1b73a5(this,'_cachedData',new Map()),_0x1b73a5(this,_0xf8e666(0x166),new Map()),_0x1b73a5(this,'_disabled',!0x1),(this['_configService']=_0x5bbba6,this[_0xf8e666(0x266)]=_0x3f424f,this['_revisionService']=_0xd6c95d);}['disableLocalCache'](){const _0x484d84=_0x2e363d;this[_0x484d84(0x306)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x2e363d(0x119)](){const _0x20aeca=_0x2e363d;return this[_0x20aeca(0x166)];}[_0x2e363d(0x1ad)](){const _0x9f1494=_0x2e363d;this[_0x9f1494(0x38f)]()[_0x9f1494(0x23c)](()=>super['dispose']());}async[_0x2e363d(0x248)](_0xab23f7){const _0x50c723=_0x2e363d;return this[_0x50c723(0x306)]?null:this[_0x50c723(0x266)][_0x50c723(0x23f)](_0x35d81a[_0x50c723(0x16e)](_0xab23f7));}async[_0x2e363d(0x2c7)](_0x4989d6,_0x141b63){const _0x23ab38=_0x2e363d;return!!this[_0x23ab38(0x266)]['setItem'](_0x4989d6,_0x141b63);}[_0x2e363d(0x2eb)](_0x5b9f0e,_0x49e88a,_0x33ff5e,_0x153177){const _0x19cf82=_0x2e363d,_0x5bf8fd=this[_0x19cf82(0x249)]['getCurrentRevOfUnit'](_0x5b9f0e);this[_0x19cf82(0x298)][_0x19cf82(0x2f1)](_0x5b9f0e,{'unitID':_0x5b9f0e,'type':_0x49e88a,'awaitingChangeset':_0x33ff5e,'mutations':_0x153177,'rev':_0x5bf8fd}),this[_0x19cf82(0x166)]['has'](_0x5b9f0e)||this[_0x19cf82(0x2b4)](_0x5b9f0e);}[_0x2e363d(0x2b4)](_0x2db181){const _0xcff047=_0x2e363d,_0x28739a=this[_0xcff047(0x2a0)]();_0x28739a===0x0?this[_0xcff047(0x186)](_0x2db181):this['_saveTaskMap']['set'](_0x2db181,setTimeout(()=>this[_0xcff047(0x186)](_0x2db181),_0x28739a));}[_0x2e363d(0x2a0)](){const _0x1c7cb3=_0x2e363d;var _0x2f600b;return(_0x2f600b=this[_0x1c7cb3(0x25e)][_0x1c7cb3(0x222)](_0x35d81a[_0x1c7cb3(0x16a)]))!=null?_0x2f600b:_0x35d81a[_0x1c7cb3(0x14a)];}[_0x2e363d(0x186)](_0x4b9abf){const _0x34584e=_0x2e363d,_0x1216f5=this['_saveTaskMap'][_0x34584e(0x2a6)](_0x4b9abf);return _0x1216f5!==void 0x0&&window[_0x34584e(0x126)](_0x1216f5),this[_0x34584e(0x266)][_0x34584e(0x32e)](_0x35d81a[_0x34584e(0x16e)](_0x4b9abf),this[_0x34584e(0x298)][_0x34584e(0x2a6)](_0x4b9abf))[_0x34584e(0x23c)](()=>this[_0x34584e(0x166)][_0x34584e(0x360)](_0x4b9abf));}async['exhaustSavingTask'](){const _0x4c9a7d=_0x2e363d,_0x121738=[];this[_0x4c9a7d(0x166)][_0x4c9a7d(0x282)]((_0x479c24,_0x4fdf7a)=>{const _0x4d688b=_0x4c9a7d;window[_0x4d688b(0x126)](_0x479c24),_0x121738[_0x4d688b(0x20a)](this[_0x4d688b(0x186)](_0x4fdf7a)[_0x4d688b(0x23c)](()=>{const _0x1c1631=_0x4d688b;this[_0x1c1631(0x166)][_0x1c1631(0x360)](_0x4fdf7a);}));}),await Promise[_0x4c9a7d(0x219)](_0x121738);}};_0x2c6462=_0x23b014([_0x3880e4(0x0,_0x2b43e1['IConfigService']),_0x3880e4(0x1,_0x2b43e1[_0x2e363d(0x15f)]),_0x3880e4(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x4bbdfc[_0x2e363d(0x337)]))],_0x2c6462);class _0x3576f9 extends _0x2b43e1[_0x2e363d(0x2bd)]{constructor(){const _0x2ecb14=_0x2e363d;super(),_0x1b73a5(this,_0x2ecb14(0x327)),this[_0x2ecb14(0x327)]=_0x5ad77d[_0x2ecb14(0x17b)](window,_0x2ecb14(0x1b9))[_0x2ecb14(0x230)](_0x5ad77d[_0x2ecb14(0x383)](this[_0x2ecb14(0x223)]),_0x5ad77d[_0x2ecb14(0x161)](0x1),_0x5ad77d['mapTo'](void 0x0));}['setParam'](_0x5c7f22,_0x23fd3e,_0x5daabc=!0x1){const _0x278afb=_0x2e363d,_0x552e85=new URL(window[_0x278afb(0x293)][_0x278afb(0x338)]);_0x552e85[_0x278afb(0x34d)]['set'](_0x5c7f22,_0x23fd3e),_0x5daabc?window[_0x278afb(0x135)][_0x278afb(0x296)]('','',_0x552e85[_0x278afb(0x2bf)]()):window['history'][_0x278afb(0x2c6)]('','',_0x552e85['toString']());}[_0x2e363d(0x154)](_0x5eae8a,_0x581148=!0x1){const _0x430cc1=_0x2e363d,_0x1db9bc=new URL(window['location'][_0x430cc1(0x338)]);_0x1db9bc[_0x430cc1(0x34d)]['delete'](_0x5eae8a),_0x581148?window['history'][_0x430cc1(0x296)]('','',_0x1db9bc[_0x430cc1(0x2bf)]()):window[_0x430cc1(0x135)]['pushState']('','',_0x1db9bc[_0x430cc1(0x2bf)]());}[_0x2e363d(0x191)](_0x28078e){const _0xc190f2=_0x2e363d;var _0x1039a7;return(_0x1039a7=new URL(window['location'][_0xc190f2(0x338)])['searchParams']['get'](_0x28078e))!=null?_0x1039a7:void 0x0;}}var _0xdb85f1=Object[_0x2e363d(0x26b)],_0xe7e635=Object[_0x2e363d(0x29d)],_0x376fae=(_0x52493a,_0x12e692,_0x1a4dd7)=>_0x12e692 in _0x52493a?_0xdb85f1(_0x52493a,_0x12e692,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a4dd7}):_0x52493a[_0x12e692]=_0x1a4dd7,_0x1f2bd3=(_0x11979c,_0x170e3c,_0x501b01,_0x18342a)=>{const _0x7d0279=_0x2e363d;for(var _0x6e3f61=_0x18342a>0x1?void 0x0:_0x18342a?_0xe7e635(_0x170e3c,_0x501b01):_0x170e3c,_0x5a3c52=_0x11979c[_0x7d0279(0x1a4)]-0x1,_0x415341;_0x5a3c52>=0x0;_0x5a3c52--)(_0x415341=_0x11979c[_0x5a3c52])&&(_0x6e3f61=_0x415341(_0x6e3f61)||_0x6e3f61);return _0x6e3f61;},_0x4e0fa5=(_0x152e80,_0xa0430b)=>(_0x3297eb,_0x5a8087)=>_0xa0430b(_0x3297eb,_0x5a8087,_0x152e80),_0x3d53d6=(_0x2d7c6c,_0x535c3b,_0x222d6f)=>_0x376fae(_0x2d7c6c,_0x535c3b+'',_0x222d6f);const _0x3f8f45='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x1364d3[_0x2e363d(0x390)]=class extends _0x2b43e1[_0x2e363d(0x192)]{constructor(_0x18e667=_0x3cf9e4,_0x2bebba,_0x291513,_0x454544){const _0x282cf5=_0x2e363d;super(),this[_0x282cf5(0x29e)]=_0x18e667,this['_renderManagerService']=_0x2bebba,this[_0x282cf5(0x121)]=_0x291513,this['_configService']=_0x454544;const {..._0x26e5cf}=_0x2b43e1[_0x282cf5(0x284)]({},_0x3cf9e4,this[_0x282cf5(0x29e)]);this[_0x282cf5(0x25e)]['setConfig'](_0x5094dd,_0x26e5cf);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0x2e363d(0x2c3)](){const _0x848649=_0x2e363d;this[_0x848649(0x356)]();}[_0x2e363d(0x265)](){const _0x21c648=_0x2e363d;var _0x48821a;const _0x178e4e=[[_0x5daa50],[_0x326498],[_0x417996],[_0x4dbe37],[_0x5eda65],[_0x4b6a35,{'useClass':_0x3576f9}],[_0x519894[_0x21c648(0x15d)],{'useClass':_0x519894[_0x21c648(0x2a5)]}],[_0x35d81a['ILocalCacheService'],{'useClass':_0x2c6462}],[_0x1364d3[_0x21c648(0x23b)]],[_0x443ad7],[_0x817f88],[_0x5a14bf],[_0x41c5dd],[_0x1364d3[_0x21c648(0x394)]]];_0x2b43e1[_0x21c648(0x2ee)](this[_0x21c648(0x121)],_0x2b43e1[_0x21c648(0x2ac)](_0x178e4e,(_0x48821a=this[_0x21c648(0x29e)])==null?void 0x0:_0x48821a[_0x21c648(0x13e)]));}[_0x2e363d(0x356)](){const _0x52ef0c=_0x2e363d;this[_0x52ef0c(0x160)](this['_renderManagerService'][_0x52ef0c(0x1f4)](_0x2b43e1[_0x52ef0c(0x322)][_0x52ef0c(0x1bd)],[_0x38ac90])),this[_0x52ef0c(0x160)](this[_0x52ef0c(0x311)][_0x52ef0c(0x1f4)](_0x2b43e1[_0x52ef0c(0x322)][_0x52ef0c(0x138)],[_0x5242c8]));}['_initDependencies'](){const _0x3ccf1b=_0x2e363d;_0x2b43e1[_0x3ccf1b(0x228)](this[_0x3ccf1b(0x121)],[[_0x5a14bf],[_0x1364d3[_0x3ccf1b(0x23b)]],[_0x443ad7],[_0x817f88],[_0x1364d3[_0x3ccf1b(0x394)]]]);}},_0x3d53d6(_0x1364d3[_0x2e363d(0x390)],_0x2e363d(0x380),_0x3f8f45),_0x1364d3[_0x2e363d(0x390)]=_0x1f2bd3([_0x2b43e1[_0x2e363d(0x34b)](_0x35d81a[_0x2e363d(0x236)]),_0x4e0fa5(0x1,_0x4f9ef0[_0x2e363d(0x19e)]),_0x4e0fa5(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1['Injector'])),_0x4e0fa5(0x3,_0x2b43e1[_0x2e363d(0x334)])],_0x1364d3['UniverCollaborationClientUIPlugin']);var _0x4e96e1=Object[_0x2e363d(0x29d)],_0x14cd10=(_0x2cbec8,_0xa5b2a0,_0x43b4b5,_0x4a5336)=>{const _0x3adb10=_0x2e363d;for(var _0x293b44=_0x4a5336>0x1?void 0x0:_0x4a5336?_0x4e96e1(_0xa5b2a0,_0x43b4b5):_0xa5b2a0,_0x3326f5=_0x2cbec8[_0x3adb10(0x1a4)]-0x1,_0x13a30e;_0x3326f5>=0x0;_0x3326f5--)(_0x13a30e=_0x2cbec8[_0x3326f5])&&(_0x293b44=_0x13a30e(_0x293b44)||_0x293b44);return _0x293b44;},_0xae5226=(_0x5eabd3,_0x3553b4)=>(_0x27fc72,_0x5ebe63)=>_0x3553b4(_0x27fc72,_0x5ebe63,_0x5eabd3);_0x1364d3[_0x2e363d(0x224)]=class extends _0x35d81a['CollaborationSocketService']{constructor(_0x37a42a,_0x4858d0,_0x15fe57,_0x45f54c,_0x3b866e){super(_0x37a42a,_0x4858d0,_0x15fe57,_0x45f54c,_0x3b866e);}async['createSocket'](_0x8b8355){const _0x345623=_0x2e363d,_0x44abfb=await this[_0x345623(0x200)](),_0x57182f=this[_0x345623(0x1d5)](_0x8b8355,_0x44abfb);return this[_0x345623(0x2bb)](_0x57182f);}[_0x2e363d(0x1d5)](_0x23c27c,_0x460996){const _0x3bfc08=_0x2e363d,_0x2b076e=typeof window>'u'?new URL(_0x23c27c):new URL(_0x23c27c,window[_0x3bfc08(0x293)][_0x3bfc08(0x25c)]);_0x2b076e[_0x3bfc08(0x34d)][_0x3bfc08(0x2f1)](_0x3bfc08(0x21b),_0x460996);const _0x340682=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x3bfc08(0x258)]);return _0x340682[_0x3bfc08(0x2a6)](_0x3bfc08(0x229))&&_0x2b076e[_0x3bfc08(0x34d)][_0x3bfc08(0x2f1)]('runId',_0x340682[_0x3bfc08(0x2a6)](_0x3bfc08(0x229))),_0x2b076e[_0x3bfc08(0x2bf)]();}async[_0x2e363d(0x200)](){const _0x26302f=_0x2e363d;var _0x597881,_0x2c5ded,_0x5920ed;const _0x40b978=this[_0x26302f(0x25e)][_0x26302f(0x222)](_0x35d81a[_0x26302f(0x2cd)]),_0x45393a=(_0x597881=_0x40b978==null?void 0x0:_0x40b978[_0x26302f(0x358)])!=null?_0x597881:_0x35d81a[_0x26302f(0x318)];return(_0x5920ed=(_0x2c5ded=(await this['_httpService'][_0x26302f(0x2a6)](_0x45393a,{'headers':{'Content-Type':_0x26302f(0x130)}}))[_0x26302f(0x39b)])==null?void 0x0:_0x2c5ded[_0x26302f(0x319)])!=null?_0x5920ed:'';}},_0x1364d3[_0x2e363d(0x224)]=_0x14cd10([_0xae5226(0x0,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1[_0x2e363d(0x392)])),_0xae5226(0x1,_0x2b43e1['Inject'](_0x519894[_0x2e363d(0x208)])),_0xae5226(0x2,_0x2b43e1[_0x2e363d(0x334)]),_0xae5226(0x3,_0x2b43e1[_0x2e363d(0x1dd)]),_0xae5226(0x4,_0x4bbdfc['ISnapshotServerService'])],_0x1364d3[_0x2e363d(0x224)]);const _0x8fdf59=0x7530,_0x51ea71=_0x2e363d(0x217);class _0x1b25be extends _0x2b43e1[_0x2e363d(0x396)]{constructor(){const _0x1ea439=_0x2e363d;super(),_0x1b73a5(this,_0x1ea439(0x240),_0x2b43e1[_0x1ea439(0x317)]()),_0x1b73a5(this,_0x1ea439(0x170),new Set()),_0x1b73a5(this,_0x1ea439(0x2b0),new Map()),_0x1b73a5(this,'_heartbeatTimer',null),_0x1b73a5(this,_0x1ea439(0x397),new Map()),_0x1b73a5(this,_0x1ea439(0x235),new Map()),this[_0x1ea439(0x151)]();}[_0x2e363d(0x1ad)](){const _0x2a3a6c=_0x2e363d;super[_0x2a3a6c(0x1ad)](),this[_0x2a3a6c(0x397)][_0x2a3a6c(0x282)]((_0x453e5c,_0x4f9057)=>this['_removeClearOtherTimer'](_0x4f9057)),this[_0x2a3a6c(0x263)]&&window[_0x2a3a6c(0x2bc)](this[_0x2a3a6c(0x263)]);}[_0x2e363d(0x24c)](_0x37f9bd){const _0x7ee4e4=_0x2e363d;return this[_0x7ee4e4(0x12f)](_0x37f9bd)[_0x7ee4e4(0x230)](_0x5ad77d['distinctUntilChanged']());}[_0x2e363d(0x1db)](_0x4b260a){const _0x352031=_0x2e363d;this[_0x352031(0x170)][_0x352031(0x27f)]===0x0&&this[_0x352031(0x143)](),this[_0x352031(0x170)]['add'](_0x4b260a),this[_0x352031(0x373)]({'type':0x0,'memberID':this[_0x352031(0x240)],'unitIDs':[_0x4b260a],'isForwarded':!0x1});}['disposeUnit'](_0x4c5abc){const _0x3eee80=_0x2e363d;this[_0x3eee80(0x170)][_0x3eee80(0x360)](_0x4c5abc),this[_0x3eee80(0x170)]['size']===0x0&&this[_0x3eee80(0x263)]&&window['clearInterval'](this[_0x3eee80(0x263)]);}[_0x2e363d(0x151)](){const _0x5567a4=_0x2e363d;this[_0x5567a4(0x160)](_0x2b43e1[_0x5567a4(0x1d6)](_0x5ad77d[_0x5567a4(0x17b)](window,_0x5567a4(0x2ef))['subscribe'](_0x3055ad=>{const _0x5b437f=_0x5567a4;if(_0x3055ad[_0x5b437f(0x1e4)]!==_0x51ea71||!_0x3055ad[_0x5b437f(0x180)])return;const _0x236a55=JSON[_0x5b437f(0x1c9)](_0x3055ad[_0x5b437f(0x180)]);this[_0x5b437f(0x276)](_0x236a55);}))),window[_0x5567a4(0x370)](_0x5567a4(0x35f),()=>this['_send']({'type':0x1,'memberID':this[_0x5567a4(0x240)],'unitIDs':Array[_0x5567a4(0x2de)](this[_0x5567a4(0x170)])}));}[_0x2e363d(0x276)](_0x1f509b){const _0x67624=_0x2e363d;switch(_0x1f509b[_0x67624(0x255)]){case 0x0:this[_0x67624(0x226)](_0x1f509b);break;case 0x1:this['_handleLeaveEvent'](_0x1f509b);break;case 0x2:this[_0x67624(0x23d)](_0x1f509b);break;}}['_handleJoinEvent'](_0x496164){const _0x2bf025=_0x2e363d,{unitIDs:_0x9f0b54,memberID:_0x2ae9a9,isForwarded:_0x5a9a3e}=_0x496164;_0x9f0b54[_0x2bf025(0x282)](_0x72d675=>{const _0x1c2796=_0x2bf025;if(!_0x5a9a3e&&this[_0x1c2796(0x2b0)][_0x1c2796(0x149)](_0x72d675)&&this['_ensureSubject'](_0x72d675)[_0x1c2796(0x320)](_0x35d81a['UnitStatus'][_0x1c2796(0x196)]),!this[_0x1c2796(0x2b0)][_0x1c2796(0x149)](_0x72d675)||!this[_0x1c2796(0x2b0)][_0x1c2796(0x2a6)](_0x72d675)[_0x1c2796(0x149)](_0x2ae9a9)){const _0x9afe9b=this[_0x1c2796(0x2b0)]['get'](_0x72d675)||new Set();_0x9afe9b[_0x1c2796(0x16c)](_0x2ae9a9),this['_unitOnClients'][_0x1c2796(0x2f1)](_0x72d675,_0x9afe9b),this['_scheduleClearOtherTimer'](_0x2ae9a9);}}),_0x5a9a3e||this[_0x2bf025(0x373)]({'type':0x0,'memberID':this[_0x2bf025(0x240)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x2e363d(0x2ea)](_0xede20f){const _0x5766e9=_0x2e363d;this[_0x5766e9(0x1cd)](_0xede20f);const _0xe552a4=window[_0x5766e9(0x211)](()=>{const _0x49c169=_0x5766e9;this[_0x49c169(0x2b0)][_0x49c169(0x282)](_0x5b24ce=>{const _0x597082=_0x49c169;_0x5b24ce[_0x597082(0x360)](_0xede20f);});},_0x8fdf59*0x2);this[_0x5766e9(0x397)][_0x5766e9(0x2f1)](_0xede20f,_0xe552a4);}['_removeClearOtherTimer'](_0x5e4b33){const _0x2956fd=_0x2e363d;if(this[_0x2956fd(0x397)][_0x2956fd(0x149)](_0x5e4b33)){const _0x298bc8=this[_0x2956fd(0x397)][_0x2956fd(0x2a6)](_0x5e4b33);_0x298bc8&&window['clearTimeout'](_0x298bc8),this['_clearOtherTimers']['set'](_0x5e4b33,null);}}['_handleLeaveEvent'](_0xcbb6d9){const {memberID:_0x2a77df,unitIDs:_0x286789}=_0xcbb6d9;_0x286789['forEach'](_0x293b0c=>{const _0x5de589=_0xc513;var _0x39e51f;const _0x2c56a9=this['_unitOnClients'][_0x5de589(0x2a6)](_0x293b0c);_0x2c56a9&&(_0x2c56a9[_0x5de589(0x360)](_0x2a77df),(_0x39e51f=this[_0x5de589(0x12f)](_0x293b0c))==null||_0x39e51f[_0x5de589(0x320)](_0x2c56a9[_0x5de589(0x27f)]===0x0?_0x35d81a[_0x5de589(0x330)][_0x5de589(0x16b)]:_0x35d81a['UnitStatus'][_0x5de589(0x196)]));}),this['_removeClearOtherTimer'](_0x2a77df);}[_0x2e363d(0x23d)](_0x44d17c){const _0x879663=_0x2e363d;this['_scheduleClearOtherTimer'](_0x44d17c[_0x879663(0x2ec)]);}['_send'](_0x4b822f){const _0x5b64d2=_0x2e363d;localStorage['setItem'](_0x51ea71,JSON[_0x5b64d2(0x1dc)](_0x4b822f));}[_0x2e363d(0x143)](){const _0xb65e87=_0x2e363d;this[_0xb65e87(0x263)]=window[_0xb65e87(0x18a)](()=>{const _0x5451b0=_0xb65e87;this[_0x5451b0(0x373)]({'type':0x2,'memberID':this['_id']});},_0x8fdf59);}[_0x2e363d(0x12f)](_0x47c3a7){const _0x3718c7=_0x2e363d;return this['_unitStatus'][_0x3718c7(0x149)](_0x47c3a7)||this[_0x3718c7(0x235)][_0x3718c7(0x2f1)](_0x47c3a7,new _0x5ad77d['BehaviorSubject'](_0x35d81a[_0x3718c7(0x330)][_0x3718c7(0x16b)])),this[_0x3718c7(0x235)][_0x3718c7(0x2a6)](_0x47c3a7);}}var _0x1c5b79=(_0x3b9636=>(_0x3b9636[_0x3b9636['UNDEFINED']=0x0]=_0x2e363d(0x24e),_0x3b9636[_0x3b9636['OK']=0x1]='OK',_0x3b9636[_0x3b9636[_0x2e363d(0x24b)]=0x2]=_0x2e363d(0x24b),_0x3b9636[_0x3b9636[_0x2e363d(0x157)]=0x3]=_0x2e363d(0x157),_0x3b9636[_0x3b9636[_0x2e363d(0x399)]=0x4]='NOT_FOUND',_0x3b9636[_0x3b9636[_0x2e363d(0x11d)]=0x5]=_0x2e363d(0x11d),_0x3b9636[_0x3b9636['ALREADY_EXISTS']=0x6]=_0x2e363d(0x15e),_0x3b9636[_0x3b9636[_0x2e363d(0x1a2)]=0x7]='INVALID_ARGUMENT',_0x3b9636[_0x3b9636[_0x2e363d(0x21e)]=0x8]='TOO_MANY_REQUESTS',_0x3b9636[_0x3b9636['COMPLETION_FINISHED']=0x9]=_0x2e363d(0x359),_0x3b9636[_0x3b9636['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x3b9636[_0x3b9636['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3b9636[_0x3b9636[_0x2e363d(0x1d8)]=0x1771]=_0x2e363d(0x1d8),_0x3b9636[_0x3b9636[_0x2e363d(0x163)]=0x1772]=_0x2e363d(0x163),_0x3b9636[_0x3b9636[_0x2e363d(0x34a)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3b9636[_0x3b9636[_0x2e363d(0x172)]=0x1b59]=_0x2e363d(0x172),_0x3b9636[_0x3b9636[_0x2e363d(0x142)]=0x1b5a]=_0x2e363d(0x142),_0x3b9636[_0x3b9636['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x2e363d(0x14f),_0x3b9636[_0x3b9636[_0x2e363d(0x21c)]=0x1b5c]=_0x2e363d(0x21c),_0x3b9636[_0x3b9636[_0x2e363d(0x159)]=0x1b5d]=_0x2e363d(0x159),_0x3b9636[_0x3b9636[_0x2e363d(0x2f0)]=0x1f41]=_0x2e363d(0x2f0),_0x3b9636[_0x3b9636[_0x2e363d(0x37d)]=0x2329]=_0x2e363d(0x37d),_0x3b9636[_0x3b9636['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3b9636[_0x3b9636[_0x2e363d(0x11a)]=0x232b]=_0x2e363d(0x11a),_0x3b9636[_0x3b9636[_0x2e363d(0x16f)]=0x232c]=_0x2e363d(0x16f),_0x3b9636[_0x3b9636['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2e363d(0x2d1),_0x3b9636[_0x3b9636[_0x2e363d(0x3a1)]=0x2711]=_0x2e363d(0x3a1),_0x3b9636[_0x3b9636[_0x2e363d(0x2ab)]=0x2712]=_0x2e363d(0x2ab),_0x3b9636[_0x3b9636[_0x2e363d(0x1eb)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3b9636[_0x3b9636[_0x2e363d(0x122)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3b9636[_0x3b9636[_0x2e363d(0x2a3)]=0x271a]=_0x2e363d(0x2a3),_0x3b9636[_0x3b9636['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x2e363d(0x363),_0x3b9636[_0x3b9636[_0x2e363d(0x22e)]=0x271c]=_0x2e363d(0x22e),_0x3b9636[_0x3b9636['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x2e363d(0x3a6),_0x3b9636[_0x3b9636[_0x2e363d(0x1d7)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x3b9636[_0x3b9636['YUUMI_AI_RUN_FAILED']=0x271f]=_0x2e363d(0x1c3),_0x3b9636[_0x3b9636['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x2e363d(0x277),_0x3b9636[_0x3b9636[_0x2e363d(0x349)]=0x2ee1]=_0x2e363d(0x349),_0x3b9636[_0x3b9636[_0x2e363d(0x2ae)]=0x2ee2]='INVALID_INVITE_CODE',_0x3b9636[_0x3b9636['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x3b9636[_0x3b9636[_0x2e363d(0x389)]=0x2ee4]=_0x2e363d(0x389),_0x3b9636[_0x3b9636[_0x2e363d(0x233)]=0x2ee5]=_0x2e363d(0x233),_0x3b9636[_0x3b9636['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3b9636[_0x3b9636[_0x2e363d(0x120)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3b9636[_0x3b9636['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2e363d(0x134),_0x3b9636[_0x3b9636[_0x2e363d(0x11e)]=-0x1]=_0x2e363d(0x11e),_0x3b9636))(_0x1c5b79||{}),_0x19f36c=Object[_0x2e363d(0x29d)],_0x419bad=(_0x6e4c4,_0x2c5fea,_0x232efe,_0x833795)=>{for(var _0x208928=_0x833795>0x1?void 0x0:_0x833795?_0x19f36c(_0x2c5fea,_0x232efe):_0x2c5fea,_0x3b9efc=_0x6e4c4['length']-0x1,_0x12db70;_0x3b9efc>=0x0;_0x3b9efc--)(_0x12db70=_0x6e4c4[_0x3b9efc])&&(_0x208928=_0x12db70(_0x208928)||_0x208928);return _0x208928;},_0x4c6e10=(_0x181bf0,_0x4192f7)=>(_0x51453e,_0x1386c4)=>_0x4192f7(_0x51453e,_0x1386c4,_0x181bf0);_0x1364d3[_0x2e363d(0x2ed)]=class extends _0x2b43e1[_0x2e363d(0x396)]{constructor(_0x33c7fa,_0x3e20bb,_0x124985){const _0x448a92=_0x2e363d;super(),this[_0x448a92(0x2e1)]=_0x33c7fa,this[_0x448a92(0x335)]=_0x3e20bb,this[_0x448a92(0x25e)]=_0x124985;}async[_0x2e363d(0x295)](_0x16c49f,_0x34c33a,_0x143541,..._0x286a71){const _0x5af7=_0x2e363d;var _0x59b373,_0x3b979e,_0x342ded,_0x31e20f;const _0x26f00a=this[_0x5af7(0x2e1)][_0x5af7(0x33a)]();if(!_0x26f00a)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x2f57eb=((_0x59b373=this[_0x5af7(0x25e)][_0x5af7(0x222)](_0x35d81a[_0x5af7(0x1de)]))!=null?_0x59b373:_0x35d81a[_0x5af7(0x343)])+'/'+_0x16c49f+'/run/'+_0x34c33a,_0x1b2146=new URL(window[_0x5af7(0x293)][_0x5af7(0x338)]),_0x2046fb={'scriptId':_0x16c49f,'runId':(_0x3b979e=_0x1b2146[_0x5af7(0x34d)][_0x5af7(0x2a6)](_0x5af7(0x229)))!=null?_0x3b979e:'','function':_0x34c33a,'unitId':_0x26f00a['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x286a71),'invokeId':(_0x342ded=_0x143541['invokeId'])!=null?_0x342ded:'','executionId':(_0x31e20f=_0x143541[_0x5af7(0x26f)])!=null?_0x31e20f:''};try{const _0x1c5239=await this[_0x5af7(0x335)][_0x5af7(0x220)](_0x2f57eb,{'body':_0x2046fb});return _0x1c5239[_0x5af7(0x39b)][_0x5af7(0x139)]&&_0x1c5239['body']['error']['code']!==_0x1c5b79['OK']?_0x5af7(0x1df):_0x1c5239[_0x5af7(0x39b)][_0x5af7(0x22f)];}catch{return _0x5af7(0x1df);}}},_0x1364d3[_0x2e363d(0x2ed)]=_0x419bad([_0x4c6e10(0x0,_0x2b43e1['IUniverInstanceService']),_0x4c6e10(0x1,_0x2b43e1[_0x2e363d(0x1f3)](_0x519894[_0x2e363d(0x208)])),_0x4c6e10(0x2,_0x2b43e1[_0x2e363d(0x334)])],_0x1364d3[_0x2e363d(0x2ed)]),_0x1364d3['CollaborationStatusDisplay']=_0x58e3df,_0x1364d3[_0x2e363d(0x32b)]=_0x4b6a35,_0x1364d3['SheetCollabCursorShape']=_0x1366a1,_0x1364d3[_0x2e363d(0x221)]=_0x1b25be,_0x1364d3[_0x2e363d(0x169)]=_0x3576f9,Object[_0x2e363d(0x26b)](_0x1364d3,Symbol['toStringTag'],{'value':_0x2e363d(0x2db)});}));