@univerjs-pro/collaboration-client-ui 0.10.1 → 0.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x2a9803,_0x15ea83){const _0x551a09=_0x1210,_0x232021=_0x2a9803();while(!![]){try{const _0x4805d3=-parseInt(_0x551a09(0x256))/0x1+parseInt(_0x551a09(0x252))/0x2+parseInt(_0x551a09(0x1dc))/0x3+parseInt(_0x551a09(0x14f))/0x4*(parseInt(_0x551a09(0x1b1))/0x5)+parseInt(_0x551a09(0x343))/0x6+-parseInt(_0x551a09(0x397))/0x7*(-parseInt(_0x551a09(0x379))/0x8)+-parseInt(_0x551a09(0x2eb))/0x9*(parseInt(_0x551a09(0x1b8))/0xa);if(_0x4805d3===_0x15ea83)break;else _0x232021['push'](_0x232021['shift']());}catch(_0x1574f3){_0x232021['push'](_0x232021['shift']());}}}(_0xf519,0x28389),function(_0x3d03e4,_0x17bca3){const _0x420a19=_0x1210;typeof exports==_0x420a19(0x209)&&typeof module<'u'?_0x17bca3(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define=='function'&&define[_0x420a19(0x181)]?define([_0x420a19(0x350),'@univerjs-pro/collaboration-client','@univerjs/core',_0x420a19(0x342),_0x420a19(0x281),_0x420a19(0x316),_0x420a19(0x219),'rxjs',_0x420a19(0x26b),_0x420a19(0x228),_0x420a19(0x303),_0x420a19(0x330),'rxjs/operators',_0x420a19(0x2bc),_0x420a19(0x139),_0x420a19(0x2fa),_0x420a19(0x271),_0x420a19(0x1c9),'@univerjs/rpc'],_0x17bca3):(_0x3d03e4=typeof globalThis<'u'?globalThis:_0x3d03e4||self,_0x17bca3(_0x3d03e4[_0x420a19(0x275)]={},_0x3d03e4[_0x420a19(0x37e)],_0x3d03e4[_0x420a19(0x185)],_0x3d03e4[_0x420a19(0x390)],_0x3d03e4[_0x420a19(0x126)],_0x3d03e4[_0x420a19(0x14d)],_0x3d03e4[_0x420a19(0x337)],_0x3d03e4[_0x420a19(0x129)],_0x3d03e4['UniverProCollaboration'],_0x3d03e4[_0x420a19(0x229)],_0x3d03e4[_0x420a19(0x34d)],_0x3d03e4[_0x420a19(0x22e)],_0x3d03e4[_0x420a19(0x129)]['operators'],_0x3d03e4[_0x420a19(0x211)],_0x3d03e4[_0x420a19(0x131)],_0x3d03e4['UniverUi'],_0x3d03e4[_0x420a19(0x2c5)],_0x3d03e4['React'],_0x3d03e4[_0x420a19(0x1ef)]));}(this,function(_0x3c58c2,_0x5b56a5,_0x5f0b8d,_0x5e68e4,_0x14a8ee,_0x1aba27,_0x50a51c,_0x241d80,_0x23426a,_0x363e6a,_0x163fc0,_0x3658e6,_0x3ed17b,_0x5d6e31,_0x2e2eef,_0x1ed79b,_0x341f85,_0x59958d,_0x1cc702){'use strict';const _0x145800=_0x1210;var _0x2da74b=Object['defineProperty'],_0x8ba467=(_0x15b43a,_0x2b7e98,_0x42c317)=>_0x2b7e98 in _0x15b43a?_0x2da74b(_0x15b43a,_0x2b7e98,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x42c317}):_0x15b43a[_0x2b7e98]=_0x42c317,_0x508c44=(_0x1c95f2,_0x44ed68,_0x233ef1)=>_0x8ba467(_0x1c95f2,typeof _0x44ed68!=_0x145800(0x192)?_0x44ed68+'':_0x44ed68,_0x233ef1),_0x218284=Object[_0x145800(0x30b)],_0x5bf1bd=(_0x19c0e6,_0xabdf09,_0x574ef9,_0x4ff63e)=>{for(var _0x4d9eaf=_0x4ff63e>0x1?void 0x0:_0x4ff63e?_0x218284(_0xabdf09,_0x574ef9):_0xabdf09,_0x2edb11=_0x19c0e6['length']-0x1,_0x4c31bc;_0x2edb11>=0x0;_0x2edb11--)(_0x4c31bc=_0x19c0e6[_0x2edb11])&&(_0x4d9eaf=_0x4c31bc(_0x4d9eaf)||_0x4d9eaf);return _0x4d9eaf;},_0xb0095b=(_0x178b4b,_0x406d8d)=>(_0x17ad18,_0x4f6676)=>_0x406d8d(_0x17ad18,_0x4f6676,_0x178b4b);let _0x1c80df=class extends _0x5f0b8d['RxDisposable']{constructor(_0x478133,_0x1fcfae){const _0x8c1235=_0x145800;super(),this[_0x8c1235(0x1f0)]=_0x478133,this[_0x8c1235(0x2a7)]=_0x1fcfae,this[_0x8c1235(0x357)]();}[_0x145800(0x357)](){const _0x20815d=_0x145800,_0x43256e=this;this[_0x20815d(0x363)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x24db41=>{const _0x3acf49=_0x20815d,_0x439f0d=await _0x43256e[_0x3acf49(0x2a7)]['saveImage'](_0x24db41);return _0x439f0d?{'source':_0x439f0d['source'],'imageSourceType':_0x439f0d[_0x3acf49(0x358)]}:null;}}));}};_0x1c80df=_0x5bf1bd([_0xb0095b(0x0,_0x1aba27['IDocClipboardService']),_0xb0095b(0x1,_0x50a51c[_0x145800(0x14b)])],_0x1c80df);const _0x34b206=[_0x145800(0x35b),_0x145800(0x2cb),_0x145800(0x224),_0x145800(0x361),'blue.400',_0x145800(0x292)];class _0x8037af extends _0x5f0b8d[_0x145800(0x216)]{constructor(){const _0xa47a49=_0x145800;super(...arguments),_0x508c44(this,_0xa47a49(0x2c6),new Map()),_0x508c44(this,_0xa47a49(0x1f7),0x0);}[_0x145800(0x33c)](_0x29be24){const _0x4a74db=_0x145800;if(this[_0x4a74db(0x2c6)]['has'](_0x29be24))return this['_assignedColors'][_0x4a74db(0x1fb)](_0x29be24);const _0x3b38ca=_0x34b206[this[_0x4a74db(0x1f7)]];return this[_0x4a74db(0x1f7)]=(this[_0x4a74db(0x1f7)]+0x1)%_0x34b206[_0x4a74db(0x362)],this[_0x4a74db(0x2c6)]['set'](_0x29be24,_0x3b38ca),_0x3b38ca;}}function _0xb487ad(_0x8b9e2d){let _0x601c56='';for(const _0x56ec44 of _0x8b9e2d){const {startOffset:_0x123c7b,endOffset:_0x11c4ac,isActive:_0x1c6f7e,rangeType:_0x3ed811,segmentId:_0x5b34db,segmentPage:_0x2a9397}=_0x56ec44;_0x601c56['length']&&(_0x601c56+=','),_0x601c56+=_0x123c7b+':'+_0x11c4ac+':'+(_0x1c6f7e?'1':'0')+':'+_0x3ed811+':'+_0x5b34db+':'+_0x2a9397;}return _0x601c56;}function _0x2266d9(_0x3dd3d4){const _0x5e1820=_0x145800,_0x41a9be=_0x3dd3d4[_0x5e1820(0x38b)](','),_0x50ae0f=[];for(const _0x41bf09 of _0x41a9be){const [_0x180eb9,_0x3d9dd1,_0x3d7877,_0x100500,_0x44e91e,_0x13e426]=_0x41bf09[_0x5e1820(0x38b)](':');_0x50ae0f[_0x5e1820(0x259)]({'startOffset':Number(_0x180eb9),'endOffset':Number(_0x3d9dd1),'collapsed':_0x180eb9===_0x3d9dd1,'isActive':_0x3d7877==='1','rangeType':_0x100500===_0x5f0b8d[_0x5e1820(0x187)]['TEXT']?_0x5f0b8d[_0x5e1820(0x187)][_0x5e1820(0x3ae)]:_0x5f0b8d[_0x5e1820(0x187)]['RECT'],'segmentId':typeof _0x44e91e==_0x5e1820(0x12c)?String(_0x44e91e):'','segmentPage':Number(_0x13e426!=null?_0x13e426:-0x1)});}return _0x50ae0f[_0x5e1820(0x167)](_0x12feaf=>_0x12feaf[_0x5e1820(0x1cd)])||(_0x50ae0f[0x0]['isActive']=!0x0),_0x50ae0f;}class _0x34c5a6 extends _0x5f0b8d[_0x145800(0x165)]{constructor(){const _0x2572ec=_0x145800;super(...arguments),_0x508c44(this,_0x2572ec(0x265),new _0x241d80[(_0x2572ec(0x2ff))](null)),_0x508c44(this,'collabCursorState$',this['_collabCursorState$'][_0x2572ec(0x190)]());}[_0x145800(0x3a9)](_0x34d584){const _0x39bbcf=_0x145800,{unitID:_0x195784,memberID:_0x5164fd,textRanges:_0x137789}=_0x34d584,_0x3b11e0=_0xb487ad(_0x137789);if(_0x3b11e0==='')return;const _0x839c5e={'unitID':_0x195784,'memberID':_0x5164fd,'selection':_0x3b11e0};this[_0x39bbcf(0x265)][_0x39bbcf(0x1fd)](_0x839c5e);}}var _0x195c3e=Object[_0x145800(0x30b)],_0x49b682=(_0x5824f8,_0x34c2a6,_0x1610c8,_0x22d758)=>{for(var _0x52e1d2=_0x22d758>0x1?void 0x0:_0x22d758?_0x195c3e(_0x34c2a6,_0x1610c8):_0x34c2a6,_0x52b5fd=_0x5824f8['length']-0x1,_0x27c9d4;_0x52b5fd>=0x0;_0x52b5fd--)(_0x27c9d4=_0x5824f8[_0x52b5fd])&&(_0x52e1d2=_0x27c9d4(_0x52e1d2)||_0x52e1d2);return _0x52e1d2;},_0x56104b=(_0x13a3eb,_0x4171f9)=>(_0x2f4ffc,_0xb9a9bb)=>_0x4171f9(_0x2f4ffc,_0xb9a9bb,_0x13a3eb);const _0x4a4460=0x12c,_0x52e888=0x64;let _0x52148f=class extends _0x5f0b8d[_0x145800(0x165)]{constructor(_0x2c694c,_0x22be46,_0x43fa68,_0x17b49e,_0x40d098,_0x577d10,_0x29dc86,_0x160e16,_0x1c2bb7){const _0x333df7=_0x145800;super(),_0x508c44(this,_0x333df7(0x273),!0x1),_0x508c44(this,_0x333df7(0x357),!0x1),_0x508c44(this,_0x333df7(0x148),new _0x241d80[(_0x333df7(0x2ff))](new Map())),_0x508c44(this,'cursorInfo$',this[_0x333df7(0x148)]['asObservable']()),_0x508c44(this,_0x333df7(0x374),new _0x241d80[(_0x333df7(0x2ff))]([])),_0x508c44(this,'roomMembers$',this[_0x333df7(0x374)][_0x333df7(0x2d6)](_0x241d80[_0x333df7(0x2e1)](_0x4a4460))),_0x508c44(this,_0x333df7(0x123),_0x5f0b8d[_0x333df7(0x20f)](_0x10a37b=>{const _0x7dc96f=_0x333df7,_0x57facc={'eventID':_0x23426a['CollaborationEvent'][_0x7dc96f(0x39b)],'data':{'unitID':this['unitID'],'memberID':this[_0x7dc96f(0x28b)][_0x7dc96f(0x246)](),'selection':_0xb487ad(_0x10a37b)}};this['_session']['send'](_0x57facc,this[_0x7dc96f(0x344)]);},_0x52e888)),(this['unitID']=_0x2c694c,this[_0x333df7(0x28b)]=_0x22be46,this[_0x333df7(0x2e6)]=_0x43fa68,this[_0x333df7(0x2d9)]=_0x17b49e,this[_0x333df7(0x2cf)]=_0x40d098,this[_0x333df7(0x35a)]=_0x577d10,this['_transformService']=_0x29dc86,this[_0x333df7(0x2db)]=_0x160e16,this[_0x333df7(0x217)]=_0x1c2bb7);}get[_0x145800(0x23c)](){const _0x34e9ca=_0x145800;return this[_0x34e9ca(0x148)][_0x34e9ca(0x296)]();}get[_0x145800(0x388)](){const _0x226d77=_0x145800;return this['_roomMembers$'][_0x226d77(0x296)]();}[_0x145800(0x33a)](){const _0x52f286=_0x145800;super[_0x52f286(0x33a)](),this['_cursorInfo$']['next'](new Map()),this[_0x52f286(0x148)][_0x52f286(0x15c)](),this[_0x52f286(0x374)][_0x52f286(0x1fd)]([]),this[_0x52f286(0x374)][_0x52f286(0x15c)]();}[_0x145800(0x22a)](){const _0x5adac2=_0x145800;this['_init']||(this['_init']=!0x0,this['_session'][_0x5adac2(0x13d)][_0x5adac2(0x2d6)](_0x241d80[_0x5adac2(0x1d3)](this[_0x5adac2(0x19b)]))[_0x5adac2(0x262)](_0x365219=>{const _0x5bfd73=_0x5adac2;_0x365219===_0x5b56a5[_0x5bfd73(0x2a4)][_0x5bfd73(0x26d)]?this['_toggleOnline']():this[_0x5bfd73(0x249)]();}),this['_session'][_0x5adac2(0x1f6)]['pipe'](_0x241d80[_0x5adac2(0x1d3)](this[_0x5adac2(0x19b)]))[_0x5adac2(0x262)](_0x1f9850=>{const _0xeb2318=_0x5adac2,_0x373749=_0x1f9850['eventID'];_0x373749===_0x23426a['CollaborationEvent'][_0xeb2318(0x39b)]&&this[_0xeb2318(0x2e2)](_0x1f9850),_0x373749===_0x23426a[_0xeb2318(0x266)][_0xeb2318(0x38d)]&&this[_0xeb2318(0x1aa)](_0x1f9850);}),this[_0x5adac2(0x363)](this[_0x5adac2(0x217)]['onCommandExecuted'](_0x471213=>{const _0x4cbd95=_0x5adac2,_0x2b2ae5=_0x471213[_0x4cbd95(0x1c8)];_0x2b2ae5!=null&&this[_0x4cbd95(0x273)]&&_0x471213['id']===_0x363e6a['SetTextSelectionsOperation']['id']&&_0x2b2ae5['unitId']===this[_0x4cbd95(0x344)]&&_0x2b2ae5[_0x4cbd95(0x31f)]===!0x1&&_0x2b2ae5[_0x4cbd95(0x23f)][_0x4cbd95(0x362)]>0x0&&this[_0x4cbd95(0x123)](_0x2b2ae5[_0x4cbd95(0x23f)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x5adac2(0x2d6)](_0x241d80[_0x5adac2(0x1d3)](this[_0x5adac2(0x19b)]))['subscribe'](_0x49eb14=>{const _0x395a92=_0x5adac2;if((_0x49eb14==null?void 0x0:_0x49eb14[_0x395a92(0x344)])!==this[_0x395a92(0x344)])return;const _0x4438ef={'eventID':_0x23426a[_0x395a92(0x266)]['UPDATE_CURSOR'],'data':_0x49eb14};this['_onCursorUpdate'](_0x4438ef);}),this[_0x5adac2(0x363)](this[_0x5adac2(0x217)][_0x5adac2(0x153)](_0x54fa12=>{const _0x556674=_0x5adac2;if(_0x54fa12[_0x556674(0x1c8)]==null)return;const _0x4d2555=_0x54fa12[_0x556674(0x1c8)];if(_0x54fa12['id']!==_0x363e6a['RichTextEditingMutation']['id']||_0x4d2555[_0x556674(0x280)]!==this[_0x556674(0x344)])return;const _0x2bda15={'id':_0x556674(0x2cc),'params':_0x4d2555},_0x178d75=this[_0x556674(0x23c)];for(const [_0x4a9127,_0x44c83f]of _0x178d75){const _0x4785d9={'id':_0x556674(0x2cc),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x44c83f[_0x556674(0x23f)]}},_0x2c5255=this[_0x556674(0x19e)][_0x556674(0x16a)](_0x2bda15,_0x4785d9,!0x1);if(_0x23426a['isTransformMutationFailure'](_0x2c5255))throw _0x2c5255['error'];_0x178d75[_0x556674(0x183)](_0x4a9127,{..._0x44c83f,'ranges':_0x2c5255[_0x556674(0x39c)][_0x556674(0x1c8)][_0x556674(0x1b0)]});}queueMicrotask(()=>{const _0x287f1b=_0x556674;this[_0x287f1b(0x148)]['next'](_0x178d75);});})));}['_onCursorUpdate'](_0x3d9e73){const _0x4ded6a=_0x145800;var _0x550732,_0x3c1893;const {memberID:_0x261d2d,selection:_0x50812e}=_0x3d9e73[_0x4ded6a(0x264)],_0x5e3ce9=_0x2266d9(_0x50812e),_0x4d695e=(_0x3c1893=(_0x550732=this['_memberService'][_0x4ded6a(0x238)](this[_0x4ded6a(0x344)],_0x261d2d))==null?void 0x0:_0x550732[_0x4ded6a(0x3a2)])!=null?_0x3c1893:_0x4ded6a(0x2c0),_0x22fdfb={'color':this[_0x4ded6a(0x2d9)][_0x4ded6a(0x33c)](_0x261d2d),'name':_0x4d695e,'ranges':_0x5e3ce9},_0x59d914=this[_0x4ded6a(0x23c)];_0x59d914[_0x4ded6a(0x183)](_0x261d2d,_0x22fdfb),this[_0x4ded6a(0x148)][_0x4ded6a(0x1fd)](_0x59d914);}[_0x145800(0x1aa)](_0x4e267a){const _0x4f246a=_0x145800,{memberID:_0x3d8f49}=_0x4e267a[_0x4f246a(0x264)],_0x98ee5d=this[_0x4f246a(0x23c)];_0x98ee5d['delete'](_0x3d8f49),this[_0x4f246a(0x148)][_0x4f246a(0x1fd)](_0x98ee5d);}[_0x145800(0x1bc)](){const _0x3c08dd=_0x145800;var _0x5d8978;if(this[_0x3c08dd(0x273)]=!0x0,((_0x5d8978=this['_univerInstanceService'][_0x3c08dd(0x359)]())==null?void 0x0:_0x5d8978[_0x3c08dd(0x21f)]())!==this[_0x3c08dd(0x344)])return;const _0x7746ff=this[_0x3c08dd(0x2e6)][_0x3c08dd(0x1fb)](_0x363e6a[_0x3c08dd(0x315)])[_0x3c08dd(0x1a7)]();Array[_0x3c08dd(0x37f)](_0x7746ff)&&_0x7746ff['length']>0x0&&this[_0x3c08dd(0x123)](_0x7746ff);}[_0x145800(0x249)](){const _0x34967c=_0x145800;this[_0x34967c(0x273)]=!0x1;}};_0x52148f=_0x49b682([_0x56104b(0x2,_0x5f0b8d[_0x145800(0x236)](_0x5f0b8d['Injector'])),_0x56104b(0x3,_0x5f0b8d[_0x145800(0x236)](_0x8037af)),_0x56104b(0x4,_0x5f0b8d[_0x145800(0x236)](_0x5b56a5[_0x145800(0x294)])),_0x56104b(0x5,_0x5f0b8d[_0x145800(0x236)](_0x34c5a6)),_0x56104b(0x6,_0x23426a['ITransformService']),_0x56104b(0x7,_0x5f0b8d[_0x145800(0x1be)]),_0x56104b(0x8,_0x5f0b8d[_0x145800(0x1b2)])],_0x52148f);var _0x28476b=Object[_0x145800(0x30b)],_0x2644ca=(_0xc60368,_0x2cb810,_0x21320c,_0xcd245e)=>{for(var _0x4f89f9=_0xcd245e>0x1?void 0x0:_0xcd245e?_0x28476b(_0x2cb810,_0x21320c):_0x2cb810,_0x1e7602=_0xc60368['length']-0x1,_0x1f0900;_0x1e7602>=0x0;_0x1e7602--)(_0x1f0900=_0xc60368[_0x1e7602])&&(_0x4f89f9=_0x1f0900(_0x4f89f9)||_0x4f89f9);return _0x4f89f9;},_0x57ed54=(_0xbf5d2c,_0x199c4c)=>(_0x484fba,_0x375dbb)=>_0x199c4c(_0x484fba,_0x375dbb,_0xbf5d2c);const _0x218232=0x12c,_0x40df3b=0x64,_0x6012e3=()=>{let _0x9dedc3=[],_0x31aa82=!0x1;return _0x492e6c=>{const _0x1bd3a3=_0x1210;_0x9dedc3[_0x1bd3a3(0x259)](_0x492e6c),_0x31aa82||(_0x31aa82=!0x0,setTimeout(()=>{const _0x49bf8=_0x1bd3a3;_0x9dedc3[_0x49bf8(0x1e0)](_0x4755f7=>_0x4755f7()),_0x9dedc3=[],_0x31aa82=!0x1;}));};};let _0x199307=class extends _0x5f0b8d[_0x145800(0x165)]{constructor(_0x23b1eb,_0x143bb3,_0x11c9f3,_0xbb6971,_0x58372d,_0x8f4a9e,_0x29ce28,_0x499469){const _0xf57dc4=_0x145800;super(),_0x508c44(this,_0xf57dc4(0x273),!0x1),_0x508c44(this,_0xf57dc4(0x357),!0x1),_0x508c44(this,_0xf57dc4(0x148),new _0x241d80[(_0xf57dc4(0x2ff))](new Map())),_0x508c44(this,_0xf57dc4(0x22c),this[_0xf57dc4(0x148)][_0xf57dc4(0x190)]()),_0x508c44(this,'_roomMembers$',new _0x241d80['BehaviorSubject']([])),_0x508c44(this,_0xf57dc4(0x203),this[_0xf57dc4(0x374)][_0xf57dc4(0x2d6)](_0x241d80[_0xf57dc4(0x2e1)](_0x218232))),_0x508c44(this,_0xf57dc4(0x123),_0x5f0b8d[_0xf57dc4(0x20f)]((_0x150eb6,_0x40cb86)=>{const _0xf6c598=_0xf57dc4,_0x2458e7={'eventID':_0x23426a[_0xf6c598(0x266)][_0xf6c598(0x39b)],'data':{'unitID':this['unitID'],'memberID':this[_0xf6c598(0x28b)][_0xf6c598(0x246)](),'selection':_0x163fc0[_0xf6c598(0x1b6)](_0x150eb6,_0x40cb86[_0xf6c598(0x198)])}};this[_0xf6c598(0x28b)][_0xf6c598(0x274)](_0x2458e7,this[_0xf6c598(0x344)]);},_0x40df3b)),(this[_0xf57dc4(0x344)]=_0x23b1eb,this[_0xf57dc4(0x28b)]=_0x143bb3,this[_0xf57dc4(0x2e6)]=_0x11c9f3,this[_0xf57dc4(0x2d9)]=_0xbb6971,this[_0xf57dc4(0x2cf)]=_0x58372d,this[_0xf57dc4(0x2db)]=_0x8f4a9e,this[_0xf57dc4(0x217)]=_0x29ce28,this['_refRangeService']=_0x499469);}get[_0x145800(0x23c)](){const _0x2ee669=_0x145800;return this[_0x2ee669(0x148)][_0x2ee669(0x296)]();}get[_0x145800(0x388)](){return this['_roomMembers$']['getValue']();}[_0x145800(0x33a)](){const _0x1ffb37=_0x145800;super[_0x1ffb37(0x33a)](),this[_0x1ffb37(0x148)][_0x1ffb37(0x1fd)](new Map()),this[_0x1ffb37(0x148)][_0x1ffb37(0x15c)](),this[_0x1ffb37(0x374)][_0x1ffb37(0x1fd)]([]),this[_0x1ffb37(0x374)][_0x1ffb37(0x15c)]();}['init'](){const _0x11dd5c=_0x145800;this[_0x11dd5c(0x357)]||(this[_0x11dd5c(0x357)]=!0x0,this[_0x11dd5c(0x28b)]['sessionStatus$'][_0x11dd5c(0x2d6)](_0x241d80[_0x11dd5c(0x1d3)](this[_0x11dd5c(0x19b)]))['subscribe'](_0x5d5ad0=>{const _0x1a6273=_0x11dd5c;_0x5d5ad0===_0x5b56a5[_0x1a6273(0x2a4)]['ONLINE']?this[_0x1a6273(0x1bc)]():this[_0x1a6273(0x249)]();}),this[_0x11dd5c(0x28b)][_0x11dd5c(0x1f6)][_0x11dd5c(0x2d6)](_0x241d80[_0x11dd5c(0x1d3)](this[_0x11dd5c(0x19b)]))[_0x11dd5c(0x262)](_0x12e6e5=>{const _0x29dc01=_0x11dd5c,_0xe9fc74=_0x12e6e5[_0x29dc01(0x251)];_0xe9fc74===_0x23426a[_0x29dc01(0x266)][_0x29dc01(0x39b)]&&this[_0x29dc01(0x2e2)](_0x12e6e5),_0xe9fc74===_0x23426a[_0x29dc01(0x266)][_0x29dc01(0x38d)]&&this[_0x29dc01(0x1aa)](_0x12e6e5);}),this[_0x11dd5c(0x128)](),this[_0x11dd5c(0x363)](this['_commandService'][_0x11dd5c(0x153)](_0x26ee8e=>{const _0xc72103=_0x11dd5c;if(this['_online']&&_0x26ee8e['id']===_0x3658e6[_0xc72103(0x35d)]['id']&&_0x26ee8e[_0xc72103(0x1c8)][_0xc72103(0x280)]===this[_0xc72103(0x344)]){const _0x14d2e5=_0x26ee8e[_0xc72103(0x1c8)];this['_updateLocalCursor'](_0x14d2e5['subUnitId'],_0x14d2e5['selections'][0x0]);}})));}[_0x145800(0x2e2)](_0x1377be){const _0x5cac71=_0x145800;var _0x292616,_0x50c9c2;const {memberID:_0x2c45e2,selection:_0x5c8260}=_0x1377be[_0x5cac71(0x264)],{sheetName:_0x528d6b,range:_0x3961d8}=_0x163fc0[_0x5cac71(0x1a8)](_0x5c8260),_0x2f5a6d={'name':(_0x50c9c2=(_0x292616=this[_0x5cac71(0x2cf)]['getMember'](this[_0x5cac71(0x344)],_0x2c45e2))==null?void 0x0:_0x292616[_0x5cac71(0x3a2)])!=null?_0x50c9c2:_0x5cac71(0x2c0),'range':this[_0x5cac71(0x1a4)](_0x528d6b,_0x3961d8),'sheetID':_0x528d6b,'color':this[_0x5cac71(0x2d9)]['assignAColorForMemberID'](_0x2c45e2),'selection':_0x5c8260},_0x41d002=this['cursorInfo'];_0x41d002[_0x5cac71(0x183)](_0x2c45e2,_0x2f5a6d),this[_0x5cac71(0x148)][_0x5cac71(0x1fd)](_0x41d002);}[_0x145800(0x1aa)](_0x23d102){const _0x5e2de4=_0x145800,{memberID:_0x5da649}=_0x23d102[_0x5e2de4(0x264)],_0x20d121=this[_0x5e2de4(0x23c)];_0x20d121[_0x5e2de4(0x21e)](_0x5da649),this[_0x5e2de4(0x148)][_0x5e2de4(0x1fd)](_0x20d121);}[_0x145800(0x1a4)](_0x2571f9,_0x2e3273){const _0x5b2b5b=_0x145800;var _0x3e33bf,_0x1306a5;const _0x37d0b1=(_0x1306a5=(_0x3e33bf=this[_0x5b2b5b(0x2db)][_0x5b2b5b(0x133)](this[_0x5b2b5b(0x344)]))==null?void 0x0:_0x3e33bf[_0x5b2b5b(0x3a5)](_0x2571f9))==null?void 0x0:_0x1306a5['getMergeData']();return(_0x37d0b1==null?void 0x0:_0x37d0b1[_0x5b2b5b(0x26e)](_0x5ba8c3=>_0x5f0b8d['Rectangle']['contains'](_0x5ba8c3,_0x2e3273)))||_0x2e3273;}[_0x145800(0x128)](){const _0x595a54=_0x145800,_0xe8a4d9=new _0x5f0b8d[(_0x595a54(0x2c4))](),_0x3877d6=_0x6012e3(),_0x310a81=()=>{const _0x9d02f3=_0x595a54;_0xe8a4d9[_0x9d02f3(0x33a)]();const _0x3c8f9a=(_0x14318d,_0x42a41f,_0x163775,_0x59b806)=>{const _0x343caf=_0x9d02f3;let _0xfdbbf6=[];switch(_0x14318d['id']){case _0x3658e6[_0x343caf(0x31d)][_0x343caf(0x227)]:{_0xfdbbf6=_0x3658e6['handleDeleteRangeMoveLeft'](_0x14318d,_0x59b806);break;}case _0x3658e6[_0x343caf(0x31d)][_0x343caf(0x201)]:{_0xfdbbf6=_0x3658e6[_0x343caf(0x2bf)](_0x14318d,_0x59b806);break;}case _0x3658e6['EffectRefRangId'][_0x343caf(0x1e8)]:{_0xfdbbf6=_0x3658e6['handleInsertCol'](_0x14318d,_0x59b806);break;}case _0x3658e6[_0x343caf(0x31d)][_0x343caf(0x140)]:{_0xfdbbf6=_0x3658e6['handleInsertRangeMoveDown'](_0x14318d,_0x59b806);break;}case _0x3658e6[_0x343caf(0x31d)][_0x343caf(0x222)]:{_0xfdbbf6=_0x3658e6[_0x343caf(0x213)](_0x14318d,_0x59b806);break;}case _0x3658e6['EffectRefRangId'][_0x343caf(0x32f)]:{_0xfdbbf6=_0x3658e6['handleInsertRow'](_0x14318d,_0x59b806);break;}case _0x3658e6[_0x343caf(0x31d)][_0x343caf(0x2d5)]:{_0xfdbbf6=_0x3658e6['handleMoveRange'](_0x14318d,_0x59b806);break;}case _0x3658e6[_0x343caf(0x31d)][_0x343caf(0x1c6)]:{_0xfdbbf6=_0x3658e6['handleIRemoveCol'](_0x14318d,_0x59b806);break;}case _0x3658e6[_0x343caf(0x31d)][_0x343caf(0x2b5)]:{_0xfdbbf6=_0x3658e6['handleIRemoveRow'](_0x14318d,_0x59b806);break;}}const _0x546e08=_0x3658e6[_0x343caf(0x35f)](_0xfdbbf6,_0x59b806),_0x8ba004=this[_0x343caf(0x23c)][_0x343caf(0x1fb)](_0x42a41f);if(_0x8ba004&&_0x546e08){const _0x1d14da={..._0x8ba004,'range':_0x546e08};this[_0x343caf(0x23c)]['set'](_0x42a41f,_0x1d14da),_0x3877d6(()=>{const _0x1ffa77=_0x343caf,_0x50426e=this[_0x1ffa77(0x2d8)][_0x1ffa77(0x338)](_0x546e08,_0x2cdc7b=>(_0x50426e[_0x1ffa77(0x33a)](),_0x3c8f9a(_0x2cdc7b,_0x42a41f,_0x163775,_0x546e08)));_0xe8a4d9[_0x1ffa77(0x396)](_0x50426e);});}return{'redos':[],'undos':[]};};this[_0x9d02f3(0x23c)][_0x9d02f3(0x1e0)]((_0x28c0b4,_0x437c1c)=>{const _0x5b9878=_0x9d02f3,{range:_0x27beb3,sheetID:_0x21a867}=_0x28c0b4,_0x5de9fd=this['_refRangeService'][_0x5b9878(0x338)](_0x27beb3,_0x5500ac=>(_0x5de9fd[_0x5b9878(0x33a)](),_0x3c8f9a(_0x5500ac,_0x437c1c,_0x21a867,_0x27beb3)));_0xe8a4d9[_0x5b9878(0x396)](_0x5de9fd);});};this[_0x595a54(0x363)](_0x5f0b8d['toDisposable'](this[_0x595a54(0x148)][_0x595a54(0x262)](()=>{_0x310a81();})));}['_toggleOnline'](){const _0x48ee19=_0x145800;var _0x23fd9e,_0x47e4b1;if(this[_0x48ee19(0x273)]=!0x0,((_0x23fd9e=this[_0x48ee19(0x2db)][_0x48ee19(0x359)]())==null?void 0x0:_0x23fd9e[_0x48ee19(0x21f)]())!==this[_0x48ee19(0x344)])return;const _0x54afe3=(_0x47e4b1=this['_injector']['get'](_0x3658e6['SheetsSelectionsService'])[_0x48ee19(0x152)]())==null?void 0x0:_0x47e4b1[0x0],_0x5018ca=this[_0x48ee19(0x2db)]['getCurrentUnitForType'](_0x5f0b8d[_0x48ee19(0x1d1)][_0x48ee19(0x1c5)])[_0x48ee19(0x2c1)]();_0x54afe3&&_0x5018ca&&this[_0x48ee19(0x123)](_0x5018ca[_0x48ee19(0x1d6)](),_0x54afe3);}[_0x145800(0x249)](){this['_online']=!0x1;}};_0x199307=_0x2644ca([_0x57ed54(0x2,_0x5f0b8d[_0x145800(0x236)](_0x5f0b8d[_0x145800(0x2a6)])),_0x57ed54(0x3,_0x5f0b8d[_0x145800(0x236)](_0x8037af)),_0x57ed54(0x4,_0x5f0b8d[_0x145800(0x236)](_0x5b56a5[_0x145800(0x294)])),_0x57ed54(0x5,_0x5f0b8d[_0x145800(0x1be)]),_0x57ed54(0x6,_0x5f0b8d['ICommandService']),_0x57ed54(0x7,_0x5f0b8d['Inject'](_0x3658e6[_0x145800(0x206)]))],_0x199307);var _0x51056c=Object[_0x145800(0x30b)],_0x44321a=(_0x480a64,_0x37accd,_0x8b8f3,_0x276f6f)=>{const _0x386fbe=_0x145800;for(var _0x2909e9=_0x276f6f>0x1?void 0x0:_0x276f6f?_0x51056c(_0x37accd,_0x8b8f3):_0x37accd,_0x2fc9fa=_0x480a64[_0x386fbe(0x362)]-0x1,_0x5177cb;_0x2fc9fa>=0x0;_0x2fc9fa--)(_0x5177cb=_0x480a64[_0x2fc9fa])&&(_0x2909e9=_0x5177cb(_0x2909e9)||_0x2909e9);return _0x2909e9;},_0x5c5ccb=(_0x16a57d,_0x7260f6)=>(_0x107ccb,_0x5d909a)=>_0x7260f6(_0x107ccb,_0x5d909a,_0x16a57d);let _0x39a089=class extends _0x5f0b8d['RxDisposable']{constructor(_0x1cac15,_0x3b4b5b,_0xe1a4a7){const _0x71df5c=_0x145800;super(),_0x508c44(this,_0x71df5c(0x3a0),new Map()),_0x508c44(this,_0x71df5c(0x36c),new _0x241d80[(_0x71df5c(0x19a))]()),(this[_0x71df5c(0x2db)]=_0x1cac15,this[_0x71df5c(0x2e6)]=_0x3b4b5b,this[_0x71df5c(0x1f5)]=_0xe1a4a7,this[_0x71df5c(0x357)]());}[_0x145800(0x33a)](){const _0xb38de9=_0x145800;super['dispose'](),this[_0xb38de9(0x36c)][_0xb38de9(0x15c)](),this[_0xb38de9(0x3a0)]['forEach'](_0x4317bf=>_0x4317bf['dispose']());}[_0x145800(0x32e)](_0x5b1400){const _0x582a46=_0x145800;return this['_entities'][_0x582a46(0x2b2)](_0x5b1400)?this[_0x582a46(0x3a0)]['get'](_0x5b1400)[_0x582a46(0x22c)]:this[_0x582a46(0x36c)][_0x582a46(0x2d6)](_0x241d80[_0x582a46(0x2f9)](_0x2d0521=>_0x2d0521[_0x582a46(0x344)]===_0x5b1400),_0x241d80[_0x582a46(0x235)](_0x15b23a=>_0x15b23a['cursorInfo$']));}[_0x145800(0x357)](){const _0x271f09=_0x145800;this[_0x271f09(0x2db)][_0x271f09(0x295)](_0x5f0b8d[_0x271f09(0x1d1)][_0x271f09(0x1c5)])['pipe'](_0x241d80[_0x271f09(0x1d3)](this[_0x271f09(0x19b)]))[_0x271f09(0x262)](async _0x4a6e99=>{const _0x3839dd=_0x271f09,_0x2e505e=_0x4a6e99['getUnitId'](),_0x16a411=await this['_startSheetCollabCursor'](_0x2e505e);this[_0x3839dd(0x36c)]['next'](_0x16a411),this['_entities']['set'](_0x2e505e,_0x16a411);}),this[_0x271f09(0x2db)][_0x271f09(0x295)](_0x5f0b8d[_0x271f09(0x1d1)][_0x271f09(0x24f)])[_0x271f09(0x2d6)](_0x241d80[_0x271f09(0x1d3)](this[_0x271f09(0x19b)]))[_0x271f09(0x2d6)](_0x241d80[_0x271f09(0x2f9)](_0x1e1cc5=>!_0x1e1cc5[_0x271f09(0x21f)]()[_0x271f09(0x19c)]('__')))[_0x271f09(0x262)](async _0x1d3d51=>{const _0x25bd4e=_0x271f09,_0x59b119=_0x1d3d51['getUnitId'](),_0xefbfd7=await this[_0x25bd4e(0x12e)](_0x59b119);this[_0x25bd4e(0x36c)][_0x25bd4e(0x1fd)](_0xefbfd7),this['_entities']['set'](_0x59b119,_0xefbfd7);}),_0x241d80[_0x271f09(0x395)](this[_0x271f09(0x2db)]['getTypeOfUnitDisposed$'](_0x5f0b8d[_0x271f09(0x1d1)][_0x271f09(0x24f)]),this[_0x271f09(0x2db)]['getTypeOfUnitDisposed$'](_0x5f0b8d[_0x271f09(0x1d1)][_0x271f09(0x1c5)]))[_0x271f09(0x2d6)](_0x241d80[_0x271f09(0x1d3)](this[_0x271f09(0x19b)]))['subscribe'](_0x58c24f=>{const _0x395a17=_0x271f09,_0x5c2368=_0x58c24f[_0x395a17(0x21f)](),_0x77231d=this['_entities'][_0x395a17(0x1fb)](_0x5c2368);_0x77231d&&(_0x77231d[_0x395a17(0x33a)](),this[_0x395a17(0x3a0)][_0x395a17(0x21e)](_0x5c2368));});}async[_0x145800(0x27b)](_0x560f90){const _0xd4a681=_0x145800,_0x56cc3f=await this[_0xd4a681(0x1f5)][_0xd4a681(0x18c)](_0x560f90),_0x750af8=this[_0xd4a681(0x2e6)]['createInstance'](_0x199307,_0x560f90,_0x56cc3f);return _0x750af8[_0xd4a681(0x22a)](),_0x750af8;}async['_startDocCollabCursor'](_0xe8dbe3){const _0x84d04b=_0x145800,_0x57d5af=await this['_collabSessionService'][_0x84d04b(0x18c)](_0xe8dbe3),_0x5cc5ed=this[_0x84d04b(0x2e6)][_0x84d04b(0x255)](_0x52148f,_0xe8dbe3,_0x57d5af);return _0x5cc5ed[_0x84d04b(0x22a)](),_0x5cc5ed;}};_0x39a089=_0x44321a([_0x5c5ccb(0x0,_0x5f0b8d[_0x145800(0x1be)]),_0x5c5ccb(0x1,_0x5f0b8d[_0x145800(0x236)](_0x5f0b8d[_0x145800(0x2a6)])),_0x5c5ccb(0x2,_0x5f0b8d[_0x145800(0x236)](_0x5b56a5[_0x145800(0x2f5)]))],_0x39a089);const _0x1e2684=0x14,_0x19d37c=0xc8,_0x2794f4=0x4,_0x4fa93b=0x5;function _0x572ef6(_0x37ad5d,_0x1d1bf7){const _0x44093a=_0x145800;let {radius:_0x5613f2,width:_0x362a9a,height:_0x3aa7cf}=_0x1d1bf7;_0x5613f2=_0x5613f2!=null?_0x5613f2:0x0,_0x362a9a=_0x362a9a!=null?_0x362a9a:0x1e,_0x3aa7cf=_0x3aa7cf!=null?_0x3aa7cf:0x1e;let _0xabee81=0x0,_0x937741=0x0,_0x36896e=0x0;_0xabee81=_0x937741=_0x36896e=Math[_0x44093a(0x155)](_0x5613f2,_0x362a9a/0x2,_0x3aa7cf/0x2),_0x37ad5d[_0x44093a(0x195)](),_0x37ad5d['moveTo'](_0xabee81,0x0),_0x37ad5d[_0x44093a(0x2d1)](_0x362a9a-_0x937741,0x0),_0x37ad5d[_0x44093a(0x2ca)](_0x362a9a-_0x937741,_0x937741,_0x937741,Math['PI']*0x3/0x2,0x0,!0x1),_0x37ad5d['lineTo'](_0x362a9a,_0x3aa7cf-_0x36896e),_0x37ad5d[_0x44093a(0x2ca)](_0x362a9a-_0x36896e,_0x3aa7cf-_0x36896e,_0x36896e,0x0,Math['PI']/0x2,!0x1),_0x37ad5d[_0x44093a(0x2d1)](0x0,_0x3aa7cf),_0x37ad5d[_0x44093a(0x2d1)](0x0,_0xabee81),_0x37ad5d[_0x44093a(0x2ca)](_0xabee81,_0xabee81,_0xabee81,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x37ad5d[_0x44093a(0x2a2)](),_0x1d1bf7[_0x44093a(0x21a)]&&(_0x37ad5d[_0x44093a(0x218)](),_0x37ad5d[_0x44093a(0x3b0)]=_0x1d1bf7['fill'],_0x1d1bf7[_0x44093a(0x29f)]===_0x44093a(0x36f)?_0x37ad5d[_0x44093a(0x21a)]('evenodd'):_0x37ad5d[_0x44093a(0x21a)](),_0x37ad5d['restore']());}class _0x3958f1 extends _0x5e68e4[_0x145800(0x2c8)]{constructor(_0x351bce,_0x28bc05){const _0x181e3b=_0x145800;super(_0x351bce,_0x28bc05),_0x508c44(this,'color'),_0x508c44(this,'text'),(this[_0x181e3b(0x329)]=_0x28bc05==null?void 0x0:_0x28bc05[_0x181e3b(0x329)],this[_0x181e3b(0x2bb)]=_0x28bc05==null?void 0x0:_0x28bc05['text']);}static[_0x145800(0x186)](_0x43057e,_0x517ce5){const _0x42c65f=_0x145800,{text:_0x5bf3ce,color:_0x14cd74}=_0x517ce5;_0x43057e[_0x42c65f(0x218)](),_0x43057e[_0x42c65f(0x2fe)]=_0x42c65f(0x2b9);const _0x54ce89=_0x43057e[_0x42c65f(0x208)](_0x5bf3ce)[_0x42c65f(0x3ab)],_0xd6f5d=Math[_0x42c65f(0x155)](_0x54ce89+0x2*_0x2794f4,_0x19d37c);_0x572ef6(_0x43057e,{'height':_0x1e2684,'radius':0x4,'width':_0xd6f5d,'fill':_0x14cd74}),_0x43057e[_0x42c65f(0x3b0)]=_0x42c65f(0x2cd);const _0x4ec08a=_0x2794f4,_0x3d87b0=_0x1e2684-_0x4fa93b,_0x16101a=_0x19d37c-0x2*_0x2794f4;if(_0x54ce89>_0x16101a){let _0x46e36f='',_0x38ca4a=0x0;for(const _0xc179b2 of _0x5bf3ce){const _0x226280=_0x43057e[_0x42c65f(0x208)](_0xc179b2)['width'];if(_0x38ca4a+_0x226280<=_0x16101a-_0x43057e['measureText'](_0x42c65f(0x125))[_0x42c65f(0x3ab)])_0x46e36f+=_0xc179b2,_0x38ca4a+=_0x226280;else{_0x46e36f+=_0x42c65f(0x125);break;}}_0x43057e[_0x42c65f(0x24e)](_0x46e36f,_0x4ec08a,_0x3d87b0);}else _0x43057e[_0x42c65f(0x24e)](_0x5bf3ce,_0x4ec08a,_0x3d87b0);_0x43057e[_0x42c65f(0x39f)]();}[_0x145800(0x250)](_0xd9647f){const _0x30ad59=_0x145800;_0x3958f1[_0x30ad59(0x186)](_0xd9647f,this);}}const _0xc7953d=_0x145800(0x36e),_0x4cdec2=_0x145800(0x288),_0x3569b9=_0x145800(0x2e5),_0x23bd3d=0x6,_0x342b0d=1.5,_0x34db81=0x4,_0x541c9d=1.5,_0x18b615='rgba(255,\x20255,\x20255,\x200.01)';class _0x5b3f0b{constructor(_0x5c4bb8,_0x13eb72,_0x48cb86,_0xa8a066){const _0x280ed5=_0x145800;_0x508c44(this,_0x280ed5(0x355),[]),_0x508c44(this,_0x280ed5(0x2ae),null),_0x508c44(this,'_textBubble',null),_0x508c44(this,_0x280ed5(0x312),null),_0x508c44(this,_0x280ed5(0x386),null),_0x508c44(this,_0x280ed5(0x1e7),null),(this[_0x280ed5(0x234)]=_0x5c4bb8,this[_0x280ed5(0x231)]=_0x13eb72,this[_0x280ed5(0x3af)]=_0x48cb86,this[_0x280ed5(0x1c1)]=_0xa8a066,this[_0x280ed5(0x27e)]());}set[_0x145800(0x28d)](_0x4eab36){const _0x25fad9=_0x145800;_0x4eab36?(this[_0x25fad9(0x312)]&&this[_0x25fad9(0x312)]['hide'](),this[_0x25fad9(0x23a)]&&this['_textBubble'][_0x25fad9(0x372)]()):(this[_0x25fad9(0x312)]&&this[_0x25fad9(0x312)][_0x25fad9(0x372)](),this['_textBubble']&&this[_0x25fad9(0x23a)][_0x25fad9(0x13a)]());}[_0x145800(0x33a)](){const _0x57eeb2=_0x145800;for(const _0x63ea47 of this['_shapes'])_0x63ea47[_0x57eeb2(0x33a)]();this[_0x57eeb2(0x23a)]&&this['_textBubble'][_0x57eeb2(0x33a)](),this[_0x57eeb2(0x312)]&&this[_0x57eeb2(0x312)][_0x57eeb2(0x33a)](),this[_0x57eeb2(0x2ae)]&&this['_anchor'][_0x57eeb2(0x33a)](),this['_eventUnsubscribe']&&this[_0x57eeb2(0x1e7)]();}[_0x145800(0x27e)](){const _0x39cae5=_0x145800;var _0x5d80c4;const {_docSkeleton:_0x89f37e,_document:_0x2bc49b}=this,{color:_0x30d683,name:_0x2b8208,ranges:_0x554cab}=this[_0x39cae5(0x234)],_0x354f7e=_0x2bc49b[_0x39cae5(0x385)](),{docsLeft:_0x54234c,docsTop:_0x14c30b}=_0x354f7e,_0x2e35fa=new _0x1aba27['NodePositionConvertToCursor'](_0x354f7e,_0x89f37e);for(const {startOffset:_0x1702eb,endOffset:_0x5f107a,rangeType:_0x50db6e,segmentId:_0x15598f,segmentPage:_0x43bbae,collapsed:_0x18a1ca,isActive:_0x31a46c}of _0x554cab){const _0x1cfa11=_0x89f37e[_0x39cae5(0x320)](_0x1702eb,!0x0,_0x15598f,_0x43bbae);let _0x1b38bf=_0x89f37e['findNodePositionByCharIndex'](_0x5f107a,!0x0,_0x15598f,_0x43bbae);if(_0x1b38bf==null&&(_0x1b38bf=_0x89f37e[_0x39cae5(0x320)](_0x5f107a-0x1,!0x1,_0x15598f,_0x43bbae)),_0x31a46c){const {contentBoxPointGroup:_0x4cecd3}=_0x2e35fa[_0x39cae5(0x174)](_0x1b38bf,_0x1b38bf);if(_0x4cecd3[_0x39cae5(0x362)]===0x0)continue;this[_0x39cae5(0x32c)](_0x30d683,_0x4cecd3,_0x54234c,_0x14c30b,_0x2b8208),this[_0x39cae5(0x1e7)]=this[_0x39cae5(0x16e)]();}if(_0x1cfa11&&_0x1b38bf){if(_0x50db6e===_0x5f0b8d[_0x39cae5(0x187)][_0x39cae5(0x16d)]){const _0x2a8744=new _0x1aba27[(_0x39cae5(0x1e3))](_0x354f7e,_0x89f37e),{pointGroup:_0x13b441}=(_0x5d80c4=_0x2a8744[_0x39cae5(0x174)](_0x1cfa11,_0x1b38bf))!=null?_0x5d80c4:{};if(_0x13b441==null||_0x13b441[_0x39cae5(0x362)]===0x0)continue;this['_drawRectRange'](_0x30d683,_0x13b441,_0x54234c,_0x14c30b);}else{if(!_0x18a1ca){const {borderBoxPointGroup:_0x2e65ab}=_0x2e35fa[_0x39cae5(0x174)](_0x1cfa11,_0x1b38bf);if(_0x2e65ab['length']===0x0)continue;this[_0x39cae5(0x28a)](_0x30d683,_0x2e65ab,_0x54234c,_0x14c30b);}}}}}[_0x145800(0x32c)](_0x36042d,_0xeb3d88,_0x4716ff,_0xf94b61,_0x5dfdd4){const _0x4fb7b8=_0x145800,_0xd3ee25=this[_0x4fb7b8(0x15e)](_0xeb3d88),{left:_0x3a9270,top:_0x1c9956,height:_0x4e979f}=_0xd3ee25,_0x16d1bb=this[_0x4fb7b8(0x1f8)](),_0x49f42f=_0x541c9d/_0x16d1bb,_0xa8e8bc=new _0x5e68e4['Rect'](_0xc7953d+_0x5f0b8d[_0x4fb7b8(0x200)](_0x23bd3d),{'left':_0x3a9270+_0x4716ff-_0x49f42f,'top':_0x1c9956+_0xf94b61,'height':_0x4e979f,'width':_0x342b0d,'fill':_0x36042d||_0x5e68e4[_0x4fb7b8(0x143)](_0x5f0b8d[_0x4fb7b8(0x17c)][_0x4fb7b8(0x25b)],0x0),'strokeWidth':_0x49f42f,'stroke':_0x18b615,'evented':!0x0});this['_anchor']=_0xa8e8bc,this[_0x4fb7b8(0x231)][_0x4fb7b8(0x164)](_0xa8e8bc,_0x1aba27['TEXT_RANGE_LAYER_INDEX']);const _0x13c3c7=new _0x5e68e4['Rect'](_0xc7953d+_0x5f0b8d['generateRandomId'](_0x23bd3d),{'left':_0x3a9270+_0x4716ff-_0x49f42f,'top':_0x1c9956+_0xf94b61-_0x34db81/0x2,'height':_0x34db81,'width':_0x34db81,'fill':_0x36042d||_0x5e68e4[_0x4fb7b8(0x143)](_0x5f0b8d[_0x4fb7b8(0x17c)][_0x4fb7b8(0x25b)],0x0),'strokeWidth':0x0,'stroke':_0x36042d||_0x5e68e4[_0x4fb7b8(0x143)](_0x5f0b8d[_0x4fb7b8(0x17c)][_0x4fb7b8(0x25b)],0x0),'evented':!0x1});this[_0x4fb7b8(0x312)]=_0x13c3c7,this[_0x4fb7b8(0x231)][_0x4fb7b8(0x164)](_0x13c3c7,_0x1aba27['TEXT_RANGE_LAYER_INDEX']);const _0x29ae84=new _0x3958f1(_0xc7953d+_0x5f0b8d[_0x4fb7b8(0x200)](_0x23bd3d),{'left':_0x3a9270+_0x4716ff-_0x49f42f,'top':_0x1c9956+_0xf94b61-_0x1e2684,'text':_0x5dfdd4,'color':_0x36042d});this[_0x4fb7b8(0x23a)]=_0x29ae84,this[_0x4fb7b8(0x231)][_0x4fb7b8(0x164)](_0x29ae84,_0x1aba27[_0x4fb7b8(0x240)]),this['_hover']=!0x1;}[_0x145800(0x16e)](){const _0x2ff5e5=_0x145800,_0x58fdfe=this['_anchor']['onPointerEnter$']['subscribeEvent'](()=>{const _0x2b28c9=_0x1210;this[_0x2b28c9(0x28d)]=!0x0;}),_0x13b3ae=this[_0x2ff5e5(0x2ae)]['onPointerLeave$'][_0x2ff5e5(0x17d)](()=>{const _0x2bdfee=_0x2ff5e5;this[_0x2bdfee(0x386)]&&clearTimeout(this[_0x2bdfee(0x386)]),this[_0x2bdfee(0x386)]=setTimeout(()=>{const _0x526270=_0x2bdfee;this[_0x526270(0x28d)]=!0x1;},0x7d0);});return()=>{_0x58fdfe['unsubscribe'](),_0x13b3ae['unsubscribe']();};}[_0x145800(0x28a)](_0xeb8e2d,_0x357a76,_0x422f85,_0x3436d0){const _0x448e2b=_0x145800,_0x13714c=new _0x5f0b8d[(_0x448e2b(0x32d))](_0xeb8e2d)[_0x448e2b(0x285)](0.2)[_0x448e2b(0x279)](),_0x1150f3=new _0x5e68e4[(_0x448e2b(0x3aa))](_0x4cdec2+_0x5f0b8d[_0x448e2b(0x200)](_0x23bd3d),{'pointsGroup':_0x357a76,'fill':_0x13714c||_0x5e68e4['getColor'](_0x5f0b8d['COLORS']['black'],0.2),'left':_0x422f85,'top':_0x3436d0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x448e2b(0x355)][_0x448e2b(0x259)](_0x1150f3),this[_0x448e2b(0x231)]['addObject'](_0x1150f3,_0x1aba27['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x3d33a3,_0x3ba8c8,_0x49c48e,_0x3ee0ad){const _0x8cd0c8=_0x145800,_0x1be255=new _0x5f0b8d[(_0x8cd0c8(0x32d))](_0x3d33a3)[_0x8cd0c8(0x285)](0.2)[_0x8cd0c8(0x279)](),_0x301e57=new _0x5e68e4[(_0x8cd0c8(0x3aa))](_0x3569b9+_0x5f0b8d[_0x8cd0c8(0x200)](_0x23bd3d),{'pointsGroup':_0x3ba8c8,'fill':_0x1be255||_0x5e68e4[_0x8cd0c8(0x143)](_0x5f0b8d['COLORS']['black'],0.2),'left':_0x49c48e,'top':_0x3ee0ad,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x8cd0c8(0x355)][_0x8cd0c8(0x259)](_0x301e57),this[_0x8cd0c8(0x231)][_0x8cd0c8(0x164)](_0x301e57,_0x1aba27[_0x8cd0c8(0x240)]);}[_0x145800(0x15e)](_0x26cac5){const _0x1561ed=_0x26cac5[0x0],_0x3b5b3d=_0x1561ed[0x0],_0x5033b9=_0x1561ed[0x2],{x:_0x4b3527,y:_0x18ab7e}=_0x3b5b3d,{x:_0x41efaa,y:_0x3c2bdf}=_0x5033b9;return{'left':_0x4b3527,'top':_0x18ab7e,'width':_0x41efaa-_0x4b3527,'height':_0x3c2bdf-_0x18ab7e};}[_0x145800(0x1f8)](){const _0x137b8a=_0x145800,{scaleX:_0x32fc1b,scaleY:_0x54ec1c}=this[_0x137b8a(0x231)][_0x137b8a(0x2ea)]();return Math[_0x137b8a(0x2a0)](_0x32fc1b,_0x54ec1c);}}var _0x198dd7=Object[_0x145800(0x30b)],_0x21c144=(_0x2fa3af,_0x24559b,_0x34d243,_0x413a9b)=>{const _0x25d481=_0x145800;for(var _0x1e8c67=_0x413a9b>0x1?void 0x0:_0x413a9b?_0x198dd7(_0x24559b,_0x34d243):_0x24559b,_0x3d942f=_0x2fa3af[_0x25d481(0x362)]-0x1,_0x1bf367;_0x3d942f>=0x0;_0x3d942f--)(_0x1bf367=_0x2fa3af[_0x3d942f])&&(_0x1e8c67=_0x1bf367(_0x1e8c67)||_0x1e8c67);return _0x1e8c67;},_0x43670b=(_0x527414,_0x70b6f1)=>(_0x3824bf,_0x4d1ae0)=>_0x70b6f1(_0x3824bf,_0x4d1ae0,_0x527414);let _0x294eda=class extends _0x5f0b8d[_0x145800(0x165)]{constructor(_0xe7e9f1,_0x113759,_0x2befab,_0x138158,_0xa68d66){const _0x1840d2=_0x145800;super(),_0x508c44(this,_0x1840d2(0x20c),[]),_0x508c44(this,_0x1840d2(0x32b),[]),(this[_0x1840d2(0x276)]=_0xe7e9f1,this['_docSkeletonManagerService']=_0x113759,this[_0x1840d2(0x137)]=_0x2befab,this[_0x1840d2(0x217)]=_0x138158,this['_themeService']=_0xa68d66,this['_init']());}[_0x145800(0x357)](){const _0x23c648=_0x145800,_0x4935c0=this[_0x23c648(0x276)]['unitId'],_0x140f2f=this[_0x23c648(0x376)];this[_0x23c648(0x363)](_0x241d80['combineLatest']([this['_collabCursorController'][_0x23c648(0x32e)](_0x4935c0),this[_0x23c648(0x188)][_0x23c648(0x267)]])[_0x23c648(0x2d6)](_0x3ed17b['map'](([_0x475c7d,_0x3e38ee])=>({'skeleton':_0x140f2f['getSkeleton'](),'cursors':[..._0x475c7d[_0x23c648(0x291)]()][_0x23c648(0x30e)](_0x6eac87=>({..._0x6eac87,'color':this[_0x23c648(0x188)][_0x23c648(0x177)](_0x6eac87[_0x23c648(0x329)])}))})))[_0x23c648(0x262)](_0x56bfdf=>{const _0x36010d=_0x23c648;if(this['_removeCollabCursors'](),_0x56bfdf){const {skeleton:_0x8a886b,cursors:_0x2ce47a}=_0x56bfdf;this[_0x36010d(0x1ea)](_0x8a886b,_0x2ce47a);}})),this[_0x23c648(0x2d7)](),this['_initCommandExecutedListener']();}[_0x145800(0x1ea)](_0x488819,_0x2b8faf){const _0x3027d6=_0x145800,{scene:_0x25e130,mainComponent:_0x1aa828}=this[_0x3027d6(0x276)],_0x3b5f02=_0x2b8faf[_0x3027d6(0x159)](_0x39d2bd=>new _0x5b3f0b(_0x39d2bd,_0x25e130,_0x488819,_0x1aa828));this[_0x3027d6(0x20c)]=_0x3b5f02,this[_0x3027d6(0x32b)]=_0x2b8faf;}[_0x145800(0x378)](){const _0x1eb78b=_0x145800;this[_0x1eb78b(0x31e)]();const {scene:_0x33fc72,mainComponent:_0x5581ca}=this[_0x1eb78b(0x276)],_0x123211=this[_0x1eb78b(0x376)]['getSkeleton'](),_0x5cbcc2=this['_cursors'][_0x1eb78b(0x159)](_0x4effa9=>new _0x5b3f0b(_0x4effa9,_0x33fc72,_0x123211,_0x5581ca));this[_0x1eb78b(0x20c)]=_0x5cbcc2;}[_0x145800(0x31e)](){const _0x370f03=_0x145800;this['_cursorShapes']['forEach'](_0x1b479a=>_0x1b479a[_0x370f03(0x33a)]()),this[_0x370f03(0x20c)]=[];}[_0x145800(0x293)](){const _0x3c4392=_0x145800,_0x42429c=[_0x1aba27[_0x3c4392(0x1f3)]['id']];this[_0x3c4392(0x363)](this[_0x3c4392(0x217)][_0x3c4392(0x153)](_0x4b3989=>{const _0x86b26=_0x3c4392;_0x42429c[_0x86b26(0x12b)](_0x4b3989['id'])&&_0x4b3989[_0x86b26(0x1c8)]['unitId']===this[_0x86b26(0x276)][_0x86b26(0x280)]&&this['_refreshCollabCursors']();}));}[_0x145800(0x2d7)](){const _0x49588e=_0x145800;this['disposeWithMe'](_0x5f0b8d[_0x49588e(0x26c)](this[_0x49588e(0x276)]['engine'][_0x49588e(0x1c0)])['pipe'](_0x3ed17b[_0x49588e(0x2f9)](_0x2c46c9=>_0x2c46c9[_0x49588e(0x1ee)]===_0x5e68e4[_0x49588e(0x1c7)][_0x49588e(0x19f)]),_0x3ed17b[_0x49588e(0x322)](0x10))[_0x49588e(0x262)](()=>{const _0x35f23b=_0x49588e;this[_0x35f23b(0x378)]();}));}};_0x294eda=_0x21c144([_0x43670b(0x1,_0x5f0b8d[_0x145800(0x236)](_0x363e6a[_0x145800(0x2f6)])),_0x43670b(0x2,_0x5f0b8d['Inject'](_0x39a089)),_0x43670b(0x3,_0x5f0b8d[_0x145800(0x1b2)]),_0x43670b(0x4,_0x5f0b8d[_0x145800(0x236)](_0x5f0b8d[_0x145800(0x2b8)]))],_0x294eda);const _0x10f45d=0x1,_0x5c0cae=1.5;class _0x2e892a extends _0x5e68e4[_0x145800(0x2c8)]{constructor(_0x5581d4,_0x32ea9b){const _0x51f198=_0x145800;super(_0x5581d4,_0x32ea9b),_0x508c44(this,_0x51f198(0x145)),_0x508c44(this,_0x51f198(0x149),!0x1),_0x508c44(this,'_range'),_0x508c44(this,_0x51f198(0x19d),''),_0x508c44(this,_0x51f198(0x1d9),_0x51f198(0x36a)),_0x508c44(this,_0x51f198(0x175)),(_0x32ea9b&&this[_0x51f198(0x1f4)](_0x32ea9b),this[_0x51f198(0x2a3)][_0x51f198(0x17d)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x51f198(0x182)][_0x51f198(0x17d)](()=>this[_0x51f198(0x1f4)]({'hovered':!0x1})));}['setShapeProps'](_0x31ad6d){const _0x43245d=_0x145800;var _0x23bf89,_0x3b8fd0,_0x20c3ea,_0x440a1a,_0xe0afb3,_0x5acf87;this[_0x43245d(0x145)]=(_0x23bf89=_0x31ad6d[_0x43245d(0x329)])!=null?_0x23bf89:this['_color'],this[_0x43245d(0x149)]=(_0x3b8fd0=_0x31ad6d['hovered'])!=null?_0x3b8fd0:this[_0x43245d(0x149)],this['_range']=(_0x20c3ea=_0x31ad6d[_0x43245d(0x198)])!=null?_0x20c3ea:this[_0x43245d(0x333)],this[_0x43245d(0x19d)]=(_0x440a1a=_0x31ad6d[_0x43245d(0x3a2)])!=null?_0x440a1a:this['_name'],this[_0x43245d(0x1d9)]=(_0xe0afb3=_0x31ad6d[_0x43245d(0x154)])!=null?_0xe0afb3:this[_0x43245d(0x1d9)],this[_0x43245d(0x175)]=(_0x5acf87=_0x31ad6d[_0x43245d(0x17f)])!=null?_0x5acf87:this[_0x43245d(0x175)],this[_0x43245d(0x270)]({'width':_0x31ad6d['width'],'height':_0x31ad6d['height']});}['onMouseMove'](_0x5453c5){const _0x4fb701=_0x145800,{row:_0x513353,column:_0x26f148}=_0x5453c5;if(_0x513353>=this['_range'][_0x4fb701(0x16f)]&&_0x513353<=this[_0x4fb701(0x333)][_0x4fb701(0x326)]&&_0x26f148>=this['_range'][_0x4fb701(0x1d2)]&&_0x26f148<=this['_range']['endColumn']){this[_0x4fb701(0x1f4)]({'hovered':!0x0});return;}this[_0x4fb701(0x1f4)]({'hovered':!0x1});}[_0x145800(0x14a)](_0x1e1384){return!0x1;}['_draw'](_0xd74f87){const _0x1404cb=_0x145800;_0x5e68e4['Rect'][_0x1404cb(0x186)](_0xd74f87,{'width':this[_0x1404cb(0x3ab)],'height':this[_0x1404cb(0x32a)],'strokeWidth':_0x5c0cae,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x1404cb(0x175)]}),this[_0x1404cb(0x149)]&&(_0xd74f87[_0x1404cb(0x218)](),_0xd74f87['transform'](0x1,0x0,0x0,0x1,this[_0x1404cb(0x3ab)],this['_labelPosition']===_0x1404cb(0x261)?0x0:-_0x1e2684),_0x3958f1[_0x1404cb(0x186)](_0xd74f87,{'text':this[_0x1404cb(0x19d)],'color':this[_0x1404cb(0x145)]}),_0xd74f87[_0x1404cb(0x39f)]());}}var _0x78101=Object[_0x145800(0x30b)],_0x364edc=(_0x43530b,_0x47f98c,_0x156013,_0x216b91)=>{for(var _0x5d085b=_0x216b91>0x1?void 0x0:_0x216b91?_0x78101(_0x47f98c,_0x156013):_0x47f98c,_0x2cadf2=_0x43530b['length']-0x1,_0x5eaba7;_0x2cadf2>=0x0;_0x2cadf2--)(_0x5eaba7=_0x43530b[_0x2cadf2])&&(_0x5d085b=_0x5eaba7(_0x5d085b)||_0x5d085b);return _0x5d085b;},_0x395226=(_0x3a6e85,_0x141bb3)=>(_0x3da2f6,_0x247453)=>_0x141bb3(_0x3da2f6,_0x247453,_0x3a6e85);const _0x2ac1be=0x1389;let _0x4c8fda=class extends _0x5f0b8d[_0x145800(0x165)]{constructor(_0x4951e7,_0x4ab59b,_0x3b0c9e,_0x3e38bd){const _0x581cf4=_0x145800;super(),_0x508c44(this,'_cursors',new Set()),_0x508c44(this,_0x581cf4(0x21b),null),(this[_0x581cf4(0x276)]=_0x4951e7,this[_0x581cf4(0x307)]=_0x4ab59b,this[_0x581cf4(0x137)]=_0x3b0c9e,this[_0x581cf4(0x188)]=_0x3e38bd,this[_0x581cf4(0x357)]());}[_0x145800(0x357)](){const _0x507878=_0x145800;this[_0x507878(0x307)]['currentSkeleton$']['pipe'](_0x3ed17b[_0x507878(0x1d3)](this[_0x507878(0x19b)]),_0x3ed17b[_0x507878(0x235)](_0x2a156d=>{const _0x39e6fc=_0x507878;if(_0x2a156d){const _0x16d318=_0x2a156d['sheetId'];return _0x241d80[_0x39e6fc(0x37a)](this[_0x39e6fc(0x137)]['getCollabCursors$'](this[_0x39e6fc(0x276)]['unitId']),this[_0x39e6fc(0x188)][_0x39e6fc(0x267)])[_0x39e6fc(0x2d6)](_0x3ed17b['map'](([_0x2b6a6a,_0x3ccb2b])=>{const _0x4dcc30=_0x39e6fc,_0x5bbc81=new Map();return _0x2b6a6a[_0x4dcc30(0x1e0)]((_0xf08f06,_0x16114f)=>{const _0x1ef46d=_0x4dcc30;if(_0xf08f06[_0x1ef46d(0x1df)]===_0x16d318){const _0x17a35f={..._0xf08f06};_0x17a35f[_0x1ef46d(0x329)]=this[_0x1ef46d(0x188)][_0x1ef46d(0x177)](_0xf08f06[_0x1ef46d(0x329)]),_0x5bbc81[_0x1ef46d(0x183)](_0x16114f,_0x17a35f);}}),{'skeleton':_0x2a156d,'cursors':_0x5bbc81};}));}return _0x241d80['of']({'skeleton':null,'cursors':new Map()});}))[_0x507878(0x262)](({skeleton:_0x3121a6,cursors:_0x3e7513})=>{const _0x4ab638=_0x507878;this[_0x4ab638(0x31e)](),_0x3121a6&&this[_0x4ab638(0x1ea)](_0x3121a6,_0x3e7513);}),this[_0x507878(0x307)][_0x507878(0x2c9)][_0x507878(0x262)](_0x2c36c9=>{const _0x2fb40e=_0x507878;if(_0x2c36c9==null)return;const {skeleton:_0x90b741}=_0x2c36c9,{scene:_0x245389}=this[_0x2fb40e(0x276)];_0x245389['onPointerMove$']['subscribeEvent'](_0x5f0b8d['debounce'](_0x1ab847=>{const _0x3b2d0e=_0x2fb40e;var _0x4b06f5,_0x1e88b2;const {offsetX:_0x20a2be,offsetY:_0x2e4f8f}=_0x1ab847,{x:_0xb80b13,y:_0x42e2ad}=_0x245389['getRelativeToViewportCoord'](_0x5e68e4[_0x3b2d0e(0x225)][_0x3b2d0e(0x3a6)]([_0x20a2be,_0x2e4f8f])),{scaleX:_0x3ce400,scaleY:_0x985cb4}=_0x245389['getAncestorScale'](),_0x2ba1b9=_0x245389[_0x3b2d0e(0x2d3)](_0x5e68e4[_0x3b2d0e(0x162)][_0x3b2d0e(0x14e)]),_0x566635=_0x245389[_0x3b2d0e(0x25a)](_0x5e68e4['Vector2']['FromArray']([_0xb80b13,_0x42e2ad]),_0x2ba1b9),_0x4ee404=_0x90b741[_0x3b2d0e(0x2f0)](_0x20a2be,_0x2e4f8f,_0x3ce400,_0x985cb4,_0x566635);((_0x4b06f5=this[_0x3b2d0e(0x21b)])==null?void 0x0:_0x4b06f5[_0x3b2d0e(0x309)])===_0x4ee404['column']&&((_0x1e88b2=this[_0x3b2d0e(0x21b)])==null?void 0x0:_0x1e88b2[_0x3b2d0e(0x25c)])===_0x4ee404[_0x3b2d0e(0x25c)]||this[_0x3b2d0e(0x32b)][_0x3b2d0e(0x1e0)](_0x5f3cfa=>{const _0x1eac11=_0x3b2d0e;_0x5f3cfa[_0x1eac11(0x20d)](_0x4ee404);});},0x64));});}[_0x145800(0x1ea)](_0x33696e,_0x2066b0){const _0x3379ef=_0x145800;var _0x14608f;const _0x343c2e=(_0x14608f=this[_0x3379ef(0x307)][_0x3379ef(0x1ca)]())==null?void 0x0:_0x14608f[_0x3379ef(0x1b9)];if(!_0x343c2e)return;const _0x16db46=this[_0x3379ef(0x1bd)]();if(!_0x16db46)return;this[_0x3379ef(0x32b)]['forEach'](_0x274b34=>{const _0x3a197e=_0x3379ef;_0x274b34[_0x3a197e(0x176)]();});const {scene:_0x2eac45}=_0x16db46,_0x8432c=_0x1ec4a1(Array[_0x3379ef(0x22b)](_0x2066b0['values']()))[_0x3379ef(0x159)](_0x11ed19=>{const _0x7a4593=_0x3379ef,{color:_0x349a41,range:_0x381c85,name:_0x311147,selection:_0x35c1bd,sheetID:_0x5bffdd}=_0x11ed19,{startColumn:_0x3f6565,startRow:_0x2f4068,endColumn:_0x1d7a18,endRow:_0x4d5147}=_0x381c85,_0x4c49fa=_0x5d6e31['getCoordByCell'](_0x2f4068,_0x3f6565,_0x2eac45,_0x343c2e),_0x468a11=_0x5d6e31['getCoordByCell'](_0x4d5147,_0x1d7a18,_0x2eac45,_0x343c2e),{columnHeaderHeightAndMarginTop:_0x576b0d}=_0x343c2e,{startX:_0x3d40b1,startY:_0x20eac8}=_0x4c49fa,{endX:_0x4e6b4c,endY:_0x2667d6}=_0x468a11,_0x3b1a10=_0x4e6b4c-_0x3d40b1,_0x58cc32=_0x2667d6-_0x20eac8,_0x1b4bcb={'labelPosition':_0x20eac8-_0x576b0d>=_0x1e2684?_0x7a4593(0x36a):'bottom','sheetID':_0x5bffdd,'range':_0x381c85,'color':_0x349a41,'name':_0x311147,'selection':_0x35c1bd,'left':_0x3d40b1,'top':_0x20eac8,'width':_0x3b1a10,'height':_0x58cc32,'evented':!0x1,'zIndex':_0x2ac1be};return new _0x2e892a(_0x311147,_0x1b4bcb);});_0x2eac45[_0x3379ef(0x1d4)](_0x8432c,_0x10f45d),this[_0x3379ef(0x32b)]=new Set(_0x8432c);}[_0x145800(0x31e)](){const _0x1f0e61=_0x145800;var _0x106f12;(_0x106f12=this[_0x1f0e61(0x32b)])==null||_0x106f12[_0x1f0e61(0x1e0)](_0x2e513b=>_0x2e513b[_0x1f0e61(0x33a)]());}[_0x145800(0x1bd)](){const _0x48bc6c=_0x145800;return _0x5d6e31['getSheetObject'](this[_0x48bc6c(0x276)][_0x48bc6c(0x3a7)],this['_context']);}};_0x4c8fda=_0x364edc([_0x395226(0x1,_0x5f0b8d[_0x145800(0x236)](_0x5d6e31[_0x145800(0x1ab)])),_0x395226(0x2,_0x5f0b8d[_0x145800(0x236)](_0x39a089)),_0x395226(0x3,_0x5f0b8d[_0x145800(0x236)](_0x5f0b8d[_0x145800(0x2b8)]))],_0x4c8fda);function _0x1ec4a1(_0x445b69){const _0x4e3e6f=_0x145800,_0x147e6c=new Map();return _0x445b69[_0x4e3e6f(0x1e0)](_0x51c7e0=>{const _0x2753b6=_0x4e3e6f;if(_0x147e6c['has'](_0x51c7e0[_0x2753b6(0x366)])){const _0x205dce=_0x147e6c[_0x2753b6(0x1fb)](_0x51c7e0[_0x2753b6(0x366)]);_0x205dce[_0x2753b6(0x3a2)]+=',\x20'+_0x51c7e0[_0x2753b6(0x3a2)];}else _0x147e6c[_0x2753b6(0x183)](_0x51c7e0[_0x2753b6(0x366)],_0x51c7e0);}),Array['from'](_0x147e6c[_0x4e3e6f(0x291)]());}var _0x5dae0d=function(){const _0x5f4f23=_0x145800;return _0x5dae0d=Object[_0x5f4f23(0x3a1)]||function(_0x4c344c){const _0x13ee77=_0x5f4f23;for(var _0x539f9b,_0xb5aed3=0x1,_0x4296f7=arguments['length'];_0xb5aed3<_0x4296f7;_0xb5aed3++){_0x539f9b=arguments[_0xb5aed3];for(var _0x1fe0df in _0x539f9b)Object[_0x13ee77(0x2dd)][_0x13ee77(0x369)][_0x13ee77(0x207)](_0x539f9b,_0x1fe0df)&&(_0x4c344c[_0x1fe0df]=_0x539f9b[_0x1fe0df]);}return _0x4c344c;},_0x5dae0d[_0x5f4f23(0x340)](this,arguments);},_0x2ed36c=function(_0x47a79f,_0xb9eca){const _0x4b2145=_0x145800;var _0x469e1e={};for(var _0x474e51 in _0x47a79f)Object[_0x4b2145(0x2dd)]['hasOwnProperty'][_0x4b2145(0x207)](_0x47a79f,_0x474e51)&&_0xb9eca[_0x4b2145(0x1fc)](_0x474e51)<0x0&&(_0x469e1e[_0x474e51]=_0x47a79f[_0x474e51]);if(_0x47a79f!=null&&typeof Object['getOwnPropertySymbols']==_0x4b2145(0x1f1)){for(var _0x828584=0x0,_0x474e51=Object[_0x4b2145(0x2dc)](_0x47a79f);_0x828584<_0x474e51[_0x4b2145(0x362)];_0x828584++)_0xb9eca[_0x4b2145(0x1fc)](_0x474e51[_0x828584])<0x0&&Object['prototype'][_0x4b2145(0x1fe)][_0x4b2145(0x207)](_0x47a79f,_0x474e51[_0x828584])&&(_0x469e1e[_0x474e51[_0x828584]]=_0x47a79f[_0x474e51[_0x828584]]);}return _0x469e1e;},_0x11cb32=_0x59958d[_0x145800(0x127)](function(_0x13fe83,_0x51cf1b){const _0x243e1e=_0x145800;var _0x28543b=_0x13fe83[_0x243e1e(0x331)],_0x242ca6=_0x13fe83['id'],_0x299122=_0x13fe83[_0x243e1e(0x365)],_0x5445c6=_0x13fe83['extend'],_0x59fc4f=_0x2ed36c(_0x13fe83,[_0x243e1e(0x331),'id','className','extend']),_0x3aac7b='univerjs-icon\x20univerjs-icon-'['concat'](_0x242ca6,'\x20')[_0x243e1e(0x1b7)](_0x299122||'')[_0x243e1e(0x1e4)](),_0x3b41f6=_0x59958d[_0x243e1e(0x18f)]('_'[_0x243e1e(0x1b7)](_0x1db185()));return _0x31a20d(_0x28543b,''[_0x243e1e(0x1b7)](_0x242ca6),{'defIds':_0x28543b[_0x243e1e(0x3ac)],'idSuffix':_0x3b41f6['current']},_0x5dae0d({'ref':_0x51cf1b,'className':_0x3aac7b},_0x59fc4f),_0x5445c6);});function _0x31a20d(_0x3164a8,_0x501c67,_0x29a9c7,_0x11aed2,_0x34cddd){const _0x250ea5=_0x145800;return _0x59958d[_0x250ea5(0x318)](_0x3164a8['tag'],_0x5dae0d(_0x5dae0d({'key':_0x501c67},_0x26ff32(_0x3164a8,_0x29a9c7,_0x34cddd)),_0x11aed2),(_0x549734(_0x3164a8,_0x29a9c7)[_0x250ea5(0x150)]||[])[_0x250ea5(0x159)](function(_0xc2a42e,_0x1ecaad){const _0x30dcdd=_0x250ea5;return _0x31a20d(_0xc2a42e,''[_0x30dcdd(0x1b7)](_0x501c67,'-')[_0x30dcdd(0x1b7)](_0x3164a8[_0x30dcdd(0x168)],'-')[_0x30dcdd(0x1b7)](_0x1ecaad),_0x29a9c7,void 0x0,_0x34cddd);}));}function _0x26ff32(_0x2e9441,_0x4ff606,_0xaa66dc){const _0xead94e=_0x145800;var _0xb85846=_0x5dae0d({},_0x2e9441[_0xead94e(0x300)]);_0xaa66dc!=null&&_0xaa66dc[_0xead94e(0x22f)]&&_0xb85846['fill']===_0xead94e(0x22f)&&(_0xb85846[_0xead94e(0x21a)]=_0xaa66dc['colorChannel1']),_0x2e9441[_0xead94e(0x168)]===_0xead94e(0x327)&&_0xb85846['id']&&(_0xb85846['id']=_0xb85846['id']+_0x4ff606[_0xead94e(0x360)]),Object[_0xead94e(0x375)](_0xb85846)[_0xead94e(0x1e0)](function(_0x391f25){const _0x2a8121=_0xead94e;var _0x8522d0=_0x391f25[0x0],_0x26cdef=_0x391f25[0x1];_0x8522d0===_0x2a8121(0x327)&&typeof _0x26cdef=='string'&&(_0xb85846[_0x8522d0]=_0x26cdef[_0x2a8121(0x328)](/url\(#(.*)\)/,_0x2a8121(0x199)[_0x2a8121(0x1b7)](_0x4ff606[_0x2a8121(0x360)],')')));});var _0x3b9a6a=_0x4ff606['defIds'];return!_0x3b9a6a||_0x3b9a6a[_0xead94e(0x362)]===0x0||(_0x2e9441[_0xead94e(0x168)]==='use'&&_0xb85846['xlink:href']&&(_0xb85846[_0xead94e(0x349)]=_0xb85846[_0xead94e(0x349)]+_0x4ff606[_0xead94e(0x360)]),Object[_0xead94e(0x375)](_0xb85846)[_0xead94e(0x1e0)](function(_0x38fc1c){const _0x224ef8=_0xead94e;var _0x480179=_0x38fc1c[0x0],_0x26d4cb=_0x38fc1c[0x1];typeof _0x26d4cb=='string'&&(_0xb85846[_0x480179]=_0x26d4cb[_0x224ef8(0x328)](/url\(#(.*)\)/,_0x224ef8(0x199)[_0x224ef8(0x1b7)](_0x4ff606['idSuffix'],')')));})),_0xb85846;}function _0x549734(_0x40a9b0,_0x9c5760){const _0x3b39ef=_0x145800;var _0x4667ef,_0x6dac70=_0x9c5760[_0x3b39ef(0x3ac)];return!_0x6dac70||_0x6dac70[_0x3b39ef(0x362)]===0x0?_0x40a9b0:_0x40a9b0[_0x3b39ef(0x168)]===_0x3b39ef(0x18a)&&(!((_0x4667ef=_0x40a9b0[_0x3b39ef(0x150)])===null||_0x4667ef===void 0x0)&&_0x4667ef[_0x3b39ef(0x362)])?_0x5dae0d(_0x5dae0d({},_0x40a9b0),{'children':_0x40a9b0[_0x3b39ef(0x150)][_0x3b39ef(0x159)](function(_0xb4210){const _0x3abddc=_0x3b39ef;return typeof _0xb4210['attrs']['id']==_0x3abddc(0x12c)&&_0x6dac70&&_0x6dac70['includes'](_0xb4210[_0x3abddc(0x300)]['id'])?_0x5dae0d(_0x5dae0d({},_0xb4210),{'attrs':_0x5dae0d(_0x5dae0d({},_0xb4210[_0x3abddc(0x300)]),{'id':_0xb4210[_0x3abddc(0x300)]['id']+_0x9c5760[_0x3abddc(0x360)]})}):_0xb4210;})}):_0x40a9b0;}function _0x1db185(){const _0x4b51e9=_0x145800;return Math[_0x4b51e9(0x1a9)]()[_0x4b51e9(0x269)](0x24)[_0x4b51e9(0x34a)](0x2,0x8);}_0x11cb32['displayName']=_0x145800(0x2a8);var _0x44d5f0={'tag':_0x145800(0x226),'attrs':{'xmlns':_0x145800(0x2f8),'fill':_0x145800(0x243),'viewBox':_0x145800(0x1db),'width':_0x145800(0x392),'height':_0x145800(0x392)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x145800(0x1ff),'attrs':{'stroke':_0x145800(0x335),'d':_0x145800(0x17b),'strokeLinecap':_0x145800(0x399),'strokeLinejoin':_0x145800(0x399),'strokeWidth':1.2}}]},{'tag':_0x145800(0x18a),'attrs':{},'children':[{'tag':_0x145800(0x2ef),'attrs':{'id':_0x145800(0x387)},'children':[{'tag':_0x145800(0x1ff),'attrs':{'fill':_0x145800(0x284),'d':_0x145800(0x20a)}}]}]}],'defIds':[_0x145800(0x387)]},_0x350981=_0x59958d[_0x145800(0x127)](function(_0xc8f3a3,_0x331e89){return _0x59958d['createElement'](_0x11cb32,Object['assign']({},_0xc8f3a3,{'id':'off-line-icon','ref':_0x331e89,'icon':_0x44d5f0}));});_0x350981[_0x145800(0x29d)]=_0x145800(0x1cc);var _0x31d0d2={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x145800(0x243),'viewBox':'0\x200\x2017\x2016','width':_0x145800(0x392),'height':_0x145800(0x392)},'children':[{'tag':'g','attrs':{'clipPath':_0x145800(0x30d)},'children':[{'tag':'path','attrs':{'stroke':_0x145800(0x335),'d':_0x145800(0x28f),'strokeLinecap':_0x145800(0x399),'strokeLinejoin':_0x145800(0x399),'strokeWidth':1.2}}]},{'tag':_0x145800(0x18a),'attrs':{},'children':[{'tag':_0x145800(0x2ef),'attrs':{'id':_0x145800(0x232)},'children':[{'tag':_0x145800(0x1ff),'attrs':{'fill':'white','d':_0x145800(0x20a),'transform':_0x145800(0x301)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x46d992=_0x59958d[_0x145800(0x127)](function(_0x2446af,_0x5cbb96){const _0x4bdb59=_0x145800;return _0x59958d['createElement'](_0x11cb32,Object[_0x4bdb59(0x3a1)]({},_0x2446af,{'id':_0x4bdb59(0x1cb),'ref':_0x5cbb96,'icon':_0x31d0d2}));});_0x46d992[_0x145800(0x29d)]=_0x145800(0x321);function _0x5cdc57(_0x8e1132){const _0x3426dc=_0x145800;switch(_0x8e1132){case _0x5b56a5[_0x3426dc(0x313)][_0x3426dc(0x31b)]:return'collabStatus.offline';case _0x5b56a5['CollaborationStatus'][_0x3426dc(0x170)]:return _0x3426dc(0x27a);case _0x5b56a5[_0x3426dc(0x313)][_0x3426dc(0x351)]:return _0x3426dc(0x20b);case _0x5b56a5['CollaborationStatus'][_0x3426dc(0x146)]:return _0x3426dc(0x210);case _0x5b56a5[_0x3426dc(0x313)][_0x3426dc(0x17a)]:case _0x5b56a5[_0x3426dc(0x313)][_0x3426dc(0x142)]:return'collabStatus.syncing';case _0x5b56a5[_0x3426dc(0x313)][_0x3426dc(0x180)]:case _0x5b56a5[_0x3426dc(0x313)]['PENDING']:return _0x3426dc(0x2f4);}}function _0x3564e4(_0x361da4){const _0x4b9704=_0x145800,{status$:_0x1b43f5}=_0x361da4,_0x4cc4c1=_0x1ed79b[_0x4b9704(0x25d)](_0x1b43f5,_0x5b56a5[_0x4b9704(0x313)][_0x4b9704(0x146)]),_0x1d8330=_0x1ed79b[_0x4b9704(0x308)](_0x5f0b8d['LocaleService']),_0x2d23ff=_0x1ed79b['useDependency'](_0x5b56a5[_0x4b9704(0x2f5)]),_0x114994=_0x4cc4c1!==_0x5b56a5[_0x4b9704(0x313)][_0x4b9704(0x31b)],_0xd45f26=_0x1d8330['t'](_0x5cdc57(_0x4cc4c1)),_0x211bf8=_0x114994?_0x2e2eef[_0x4b9704(0x286)](_0x46d992,{}):_0x2e2eef[_0x4b9704(0x286)](_0x350981,{}),_0x190442=_0x59958d[_0x4b9704(0x1a0)](()=>{const _0x3a84db=_0x4b9704;_0x114994||_0x2d23ff[_0x3a84db(0x324)]();},[_0x114994,_0x2d23ff]);function _0x28d564(){const _0x17211b=_0x4b9704;return _0x2e2eef['jsxs'](_0x17211b(0x29e),{'className':_0x17211b(0x1ad),'onClick':_0x190442,'children':[_0x2e2eef['jsx'](_0x17211b(0x29e),{'className':_0x341f85[_0x17211b(0x245)](_0x17211b(0x141),{'univer-text-green-500':_0x114994,'univer-text-red-500':!_0x114994}),'children':_0x211bf8}),_0x2e2eef[_0x17211b(0x286)](_0x17211b(0x29e),{'className':_0x17211b(0x237),'children':_0xd45f26})]});}return _0x114994?_0x28d564():_0x2e2eef['jsx'](_0x341f85['Tooltip'],{'title':_0x1d8330['t'](_0x4b9704(0x2d0)),'children':_0x28d564()});}var _0x1ca466=Object['getOwnPropertyDescriptor'],_0x4d07c2=(_0x4612ce,_0x27161a,_0x2f12c7,_0xcf7290)=>{const _0x25d8c0=_0x145800;for(var _0x4b7a98=_0xcf7290>0x1?void 0x0:_0xcf7290?_0x1ca466(_0x27161a,_0x2f12c7):_0x27161a,_0x31d7d8=_0x4612ce[_0x25d8c0(0x362)]-0x1,_0x5b7975;_0x31d7d8>=0x0;_0x31d7d8--)(_0x5b7975=_0x4612ce[_0x31d7d8])&&(_0x4b7a98=_0x5b7975(_0x4b7a98)||_0x4b7a98);return _0x4b7a98;},_0x315900=(_0x20f8fc,_0x4b5f23)=>(_0xb3582b,_0x5eb560)=>_0x4b5f23(_0xb3582b,_0x5eb560,_0x20f8fc);_0x3c58c2[_0x145800(0x24d)]=class extends _0x5f0b8d[_0x145800(0x216)]{constructor(_0x2c9089,_0x4dc656,_0x4144ed,_0x1c8a8a){const _0x96289c=_0x145800;super(),_0x508c44(this,'_status$',new _0x241d80[(_0x96289c(0x2ff))](_0x5b56a5[_0x96289c(0x313)][_0x96289c(0x146)])),(this[_0x96289c(0x2db)]=_0x2c9089,this['_injector']=_0x4dc656,this[_0x96289c(0x2ac)]=_0x4144ed,this[_0x96289c(0x260)]=_0x1c8a8a,this[_0x96289c(0x1ba)](),this[_0x96289c(0x2b1)]());}[_0x145800(0x2b1)](){const _0x153142=_0x145800;this['disposeWithMe'](this[_0x153142(0x2db)][_0x153142(0x196)][_0x153142(0x2d6)](_0x241d80[_0x153142(0x235)](()=>{const _0x30c49f=_0x153142,_0x51d97c=this['_univerInstanceService'][_0x30c49f(0x359)]();return _0x51d97c?this['_collaborationController']['getCollabEntity$'](_0x51d97c[_0x30c49f(0x21f)]()):_0x241d80['of'](null);}),_0x241d80[_0x153142(0x235)](_0x26757d=>_0x26757d?_0x26757d[_0x153142(0x282)]:_0x241d80['of'](_0x5b56a5[_0x153142(0x313)][_0x153142(0x146)])))[_0x153142(0x262)](_0x35a6b8=>{const _0x1f02c0=_0x153142;this[_0x1f02c0(0x1da)][_0x1f02c0(0x1fd)](_0x35a6b8);}));}['_initStatusComponent'](){const _0xc78336=_0x145800;this[_0xc78336(0x363)](this['_uiPartsService'][_0xc78336(0x204)](_0x1ed79b['BuiltInUIPart'][_0xc78336(0x214)],()=>_0x1ed79b['connectInjector'](_0x35a9de({'status$':this['_status$'][_0xc78336(0x190)]()}),this['_injector'])));}},_0x3c58c2[_0x145800(0x24d)]=_0x4d07c2([_0x315900(0x0,_0x5f0b8d[_0x145800(0x1be)]),_0x315900(0x1,_0x5f0b8d[_0x145800(0x236)](_0x5f0b8d[_0x145800(0x2a6)])),_0x315900(0x2,_0x5f0b8d[_0x145800(0x236)](_0x5b56a5[_0x145800(0x257)])),_0x315900(0x3,_0x1ed79b[_0x145800(0x364)])],_0x3c58c2[_0x145800(0x24d)]);function _0x35a9de(_0x2cf5f5){const {status$:_0x3f02ae}=_0x2cf5f5;return function(){const _0x139fb8=_0x1210;return _0x2e2eef[_0x139fb8(0x286)](_0x3564e4,{'status$':_0x3f02ae});};}var _0x32e170=Object[_0x145800(0x30b)],_0xc843ef=(_0x17b185,_0x3cd887,_0x11f9be,_0x2916e5)=>{const _0x37c6c6=_0x145800;for(var _0x56a146=_0x2916e5>0x1?void 0x0:_0x2916e5?_0x32e170(_0x3cd887,_0x11f9be):_0x3cd887,_0x4220f5=_0x17b185[_0x37c6c6(0x362)]-0x1,_0x437811;_0x4220f5>=0x0;_0x4220f5--)(_0x437811=_0x17b185[_0x4220f5])&&(_0x56a146=_0x437811(_0x56a146)||_0x56a146);return _0x56a146;},_0x43f4cf=(_0x46f29e,_0x53bd75)=>(_0x2c1595,_0x127dfe)=>_0x53bd75(_0x2c1595,_0x127dfe,_0x46f29e);let _0x2e9f8d=class extends _0x5f0b8d[_0x145800(0x216)]{constructor(_0x26afc5,_0x614bcf,_0x48958e,_0x46289d,_0x3fb8bd,_0x16222c){const _0x34ec11=_0x145800;super(),this[_0x34ec11(0x2a9)]=_0x26afc5,this['_localCacheService']=_0x614bcf,this['_collaborationUIEventService']=_0x48958e,this['_messageService']=_0x46289d,this[_0x34ec11(0x3a8)]=_0x3fb8bd,this[_0x34ec11(0x24a)]=_0x16222c,this[_0x34ec11(0x1f2)](),this[_0x34ec11(0x134)]();}[_0x145800(0x1f2)](){const _0x3d199d=_0x145800;this[_0x3d199d(0x363)](this[_0x3d199d(0x2a9)][_0x3d199d(0x242)](()=>{const _0x6f52b0=_0x3d199d;if(this[_0x6f52b0(0x25f)][_0x6f52b0(0x380)][_0x6f52b0(0x215)])return this[_0x6f52b0(0x24a)]['t'](_0x6f52b0(0x1bf));}));}[_0x145800(0x134)](){const _0xa97e0=_0x145800;this[_0xa97e0(0x363)](this[_0xa97e0(0x2ad)][_0xa97e0(0x1f6)][_0xa97e0(0x262)](_0x251315=>{const _0x4ff8c3=_0xa97e0;_0x251315['id']===_0x5b56a5[_0x4ff8c3(0x151)]['OTHER_CLIENT_EDITING']&&this[_0x4ff8c3(0x221)][_0x4ff8c3(0x372)]({'type':_0x341f85[_0x4ff8c3(0x38f)][_0x4ff8c3(0x353)],'content':this[_0x4ff8c3(0x24a)]['t'](_0x4ff8c3(0x28c))}),_0x251315['id']===_0x5b56a5[_0x4ff8c3(0x151)][_0x4ff8c3(0x15a)]&&this[_0x4ff8c3(0x221)]['show']({'type':_0x341f85['MessageType'][_0x4ff8c3(0x353)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x251315['id']===_0x5b56a5['CollaborationUIEventId'][_0x4ff8c3(0x1eb)]&&this[_0x4ff8c3(0x3a8)]['show']({'title':this[_0x4ff8c3(0x24a)]['t'](_0x4ff8c3(0x121)),'content':this['_localeService']['t']('permission.content'),'type':_0x4ff8c3(0x193),'duration':0x0}),_0x251315['id']===_0x5b56a5[_0x4ff8c3(0x151)][_0x4ff8c3(0x170)]&&this['_messageService'][_0x4ff8c3(0x372)]({'type':_0x341f85['MessageType'][_0x4ff8c3(0x11f)],'content':this[_0x4ff8c3(0x24a)]['t'](_0x4ff8c3(0x35c))+'('+_0x251315[_0x4ff8c3(0x264)]+')'}),_0x251315['id']===_0x5b56a5[_0x4ff8c3(0x151)][_0x4ff8c3(0x1d7)]&&this[_0x4ff8c3(0x221)][_0x4ff8c3(0x372)]({'type':_0x341f85['MessageType'][_0x4ff8c3(0x353)],'content':this[_0x4ff8c3(0x24a)]['t'](_0x251315[_0x4ff8c3(0x264)]||'')}),_0x251315['id']===_0x5b56a5['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this[_0x4ff8c3(0x221)][_0x4ff8c3(0x372)]({'type':_0x341f85[_0x4ff8c3(0x38f)]['Warning'],'content':this[_0x4ff8c3(0x24a)]['t'](_0x4ff8c3(0x23b))}),_0x251315['id']===_0x5b56a5[_0x4ff8c3(0x151)][_0x4ff8c3(0x39a)]&&this['_messageService'][_0x4ff8c3(0x372)]({'type':_0x341f85[_0x4ff8c3(0x38f)][_0x4ff8c3(0x11f)],'content':this['_localeService']['t'](_0x4ff8c3(0x22d))}),_0x251315['id']===_0x5b56a5[_0x4ff8c3(0x151)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x4ff8c3(0x372)]({'type':_0x341f85[_0x4ff8c3(0x38f)][_0x4ff8c3(0x11f)],'content':this[_0x4ff8c3(0x24a)]['t']('session.collaboration-timeout')});}));}};_0x2e9f8d=_0xc843ef([_0x43f4cf(0x0,_0x1ed79b[_0x145800(0x1b4)]),_0x43f4cf(0x1,_0x5b56a5['ILocalCacheService']),_0x43f4cf(0x2,_0x5f0b8d['Inject'](_0x5b56a5[_0x145800(0x325)])),_0x43f4cf(0x3,_0x1ed79b[_0x145800(0x1de)]),_0x43f4cf(0x4,_0x1ed79b['INotificationService']),_0x43f4cf(0x5,_0x5f0b8d['Inject'](_0x5f0b8d[_0x145800(0x2e9)]))],_0x2e9f8d);const _0x38010b=_0x145800(0x33f),_0x1a3222={},_0x19cf94=_0x5f0b8d[_0x145800(0x305)](_0x145800(0x382));var _0x276600=Object[_0x145800(0x30b)],_0xe00082=(_0x8bd157,_0x370702,_0x124bcb,_0x219335)=>{for(var _0x47eecd=_0x219335>0x1?void 0x0:_0x219335?_0x276600(_0x370702,_0x124bcb):_0x370702,_0x5af56f=_0x8bd157['length']-0x1,_0x2ec53f;_0x5af56f>=0x0;_0x5af56f--)(_0x2ec53f=_0x8bd157[_0x5af56f])&&(_0x47eecd=_0x2ec53f(_0x47eecd)||_0x47eecd);return _0x47eecd;},_0x508660=(_0x44b6f1,_0x37a6af)=>(_0xb5cdb9,_0x5807f2)=>_0x37a6af(_0xb5cdb9,_0x5807f2,_0x44b6f1);_0x3c58c2[_0x145800(0x156)]=class extends _0x5f0b8d[_0x145800(0x165)]{constructor(_0x2ffa07,_0x27c42f,_0x1eaa98,_0x508a88,_0x6e1fb0){const _0x29cd4f=_0x145800;super(),this['_urlService']=_0x2ffa07,this[_0x29cd4f(0x368)]=_0x27c42f,this[_0x29cd4f(0x217)]=_0x1eaa98,this[_0x29cd4f(0x2ba)]=_0x508a88,_0x6e1fb0?_0x6e1fb0==null||_0x6e1fb0[_0x29cd4f(0x3b1)]()['then'](()=>this['_init']()):(this[_0x29cd4f(0x368)][_0x29cd4f(0x2f2)](_0x29cd4f(0x2c3),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x29cd4f(0x357)]());}async['_init'](){const _0x4c9d4b=_0x145800,_0x2d70d5=this[_0x4c9d4b(0x23e)][_0x4c9d4b(0x289)](_0x4c9d4b(0x3a7)),_0x386c4c=this[_0x4c9d4b(0x23e)][_0x4c9d4b(0x289)]('type'),_0x29f8a9=this[_0x4c9d4b(0x23e)]['getParam']('subunit');if(!_0x2d70d5||!_0x386c4c){this[_0x4c9d4b(0x368)][_0x4c9d4b(0x2f2)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x18a737=await this[_0x4c9d4b(0x2ba)][_0x4c9d4b(0x1ae)](_0x2d70d5,Number(_0x386c4c),_0x29f8a9);_0x18a737&&_0x18a737 instanceof _0x5f0b8d[_0x4c9d4b(0x391)]&&this[_0x4c9d4b(0x30a)](_0x18a737);}async[_0x145800(0x30a)](_0xf66a46){const _0x211ba1=_0x145800;await this[_0x211ba1(0x138)](_0xf66a46),_0xf66a46[_0x211ba1(0x205)][_0x211ba1(0x2d6)](_0x241d80[_0x211ba1(0x1d3)](this[_0x211ba1(0x19b)]))['subscribe'](_0x2cb40e=>{const _0x5d5942=_0x211ba1;_0x2cb40e&&this[_0x5d5942(0x341)](_0x2cb40e);}),this[_0x211ba1(0x23e)][_0x211ba1(0x2df)]['pipe'](_0x241d80['takeUntil'](this['dispose$']))[_0x211ba1(0x262)](()=>this[_0x211ba1(0x138)](_0xf66a46));}[_0x145800(0x341)](_0x2accc5,_0x3c25bd=!0x1){const _0x4b9cf9=_0x145800,_0x444abd=this['_urlService']['getParam'](_0x4b9cf9(0x1d0));_0x2accc5[_0x4b9cf9(0x1d6)]()!==_0x444abd&&this[_0x4b9cf9(0x23e)][_0x4b9cf9(0x220)](_0x4b9cf9(0x1d0),_0x2accc5['getSheetId'](),_0x3c25bd);}async[_0x145800(0x138)](_0x208b91){const _0x20c26f=_0x145800;var _0x4dbbe0;const _0x5b40ec=this['_urlService'][_0x20c26f(0x289)](_0x20c26f(0x1d0));if(!_0x5b40ec||!_0x208b91[_0x20c26f(0x3a5)](_0x5b40ec)){const _0x3ec6a1=_0x208b91[_0x20c26f(0x38e)]()[0x0],_0x564932=_0x208b91['getSheetBySheetId'](_0x3ec6a1);if(!_0x564932)return;this[_0x20c26f(0x341)](_0x564932,!0x0),await this[_0x20c26f(0x217)][_0x20c26f(0x202)](_0x3658e6[_0x20c26f(0x15f)]['id'],{'unitId':_0x208b91['getUnitId'](),'subUnitId':_0x3ec6a1});return;}((_0x4dbbe0=_0x208b91[_0x20c26f(0x2c1)]())==null?void 0x0:_0x4dbbe0[_0x20c26f(0x1d6)]())!==_0x5b40ec&&await this[_0x20c26f(0x217)][_0x20c26f(0x202)](_0x3658e6[_0x20c26f(0x15f)]['id'],{'unitId':_0x208b91[_0x20c26f(0x21f)](),'subUnitId':_0x5b40ec});}},_0x3c58c2[_0x145800(0x156)]=_0xe00082([_0x508660(0x0,_0x19cf94),_0x508660(0x1,_0x5f0b8d[_0x145800(0x1cf)]),_0x508660(0x2,_0x5f0b8d[_0x145800(0x1b2)]),_0x508660(0x3,_0x5f0b8d[_0x145800(0x236)](_0x5b56a5[_0x145800(0x1ed)])),_0x508660(0x4,_0x5f0b8d[_0x145800(0x166)](_0x1cc702[_0x145800(0x2da)]))],_0x3c58c2[_0x145800(0x156)]);var _0x58d545=Object[_0x145800(0x30b)],_0x337b08=(_0x3c96e8,_0x1da413,_0x36952d,_0x48dea7)=>{const _0x57f098=_0x145800;for(var _0x59f216=_0x48dea7>0x1?void 0x0:_0x48dea7?_0x58d545(_0x1da413,_0x36952d):_0x1da413,_0x46f2ce=_0x3c96e8[_0x57f098(0x362)]-0x1,_0x1b8b28;_0x46f2ce>=0x0;_0x46f2ce--)(_0x1b8b28=_0x3c96e8[_0x46f2ce])&&(_0x59f216=_0x1b8b28(_0x59f216)||_0x59f216);return _0x59f216;},_0x4f0578=(_0xca621b,_0x2a95f4)=>(_0x24b075,_0x196bfe)=>_0x2a95f4(_0x24b075,_0x196bfe,_0xca621b);let _0x576935=class{constructor(_0x25b465,_0x57f0eb){const _0xd36412=_0x145800;this[_0xd36412(0x19e)]=_0x25b465,this[_0xd36412(0x33b)]=_0x57f0eb;}[_0x145800(0x1e2)](_0x4acafb){const _0x2723b3=_0x145800;this[_0x2723b3(0x14c)](_0x4acafb),this[_0x2723b3(0x173)](_0x4acafb);}[_0x145800(0x383)](_0x23ab19){const _0x1d6bae=_0x145800,{unitID:_0x4450b1}=_0x23ab19,_0x5cd521=this[_0x1d6bae(0x33b)]['getRenderById'](_0x4450b1)[_0x1d6bae(0x2fc)](_0x1aba27[_0x1d6bae(0x29c)]),{redoCache:_0x22adc1}=_0x5cd521[_0x1d6bae(0x27f)]();if(_0x22adc1[_0x1d6bae(0x362)]===0x0)return _0x23ab19;let _0x34f419=_0x5f0b8d[_0x1d6bae(0x2e0)][_0x1d6bae(0x26f)](_0x23ab19['mutations'][0x0]);for(let _0x5a5076=0x0;_0x5a5076<_0x22adc1[_0x1d6bae(0x362)];_0x5a5076++){const _0xb91786={'id':'doc.mutation.rich-text-editing','params':{..._0x22adc1[_0x5a5076]}},_0x12f50d=this[_0x1d6bae(0x19e)][_0x1d6bae(0x16a)](_0x34f419,_0xb91786,!0x1);if(_0x23426a[_0x1d6bae(0x2e7)](_0x12f50d))throw _0x12f50d[_0x1d6bae(0x193)];_0x34f419=_0x12f50d[_0x1d6bae(0x120)];}return{..._0x5f0b8d[_0x1d6bae(0x2e0)][_0x1d6bae(0x26f)](_0x23ab19),'mutations':[_0x34f419]};}[_0x145800(0x14c)](_0x4ee5d9){const _0x32e6e9=_0x145800,{unitID:_0x34bcf2}=_0x4ee5d9,_0x4f4156=this[_0x32e6e9(0x33b)][_0x32e6e9(0x29a)](_0x34bcf2)['with'](_0x1aba27[_0x32e6e9(0x29c)]),{undoCache:_0x4cd29d,redoCache:_0x258a6a}=_0x4f4156[_0x32e6e9(0x27f)]();if(_0x4cd29d[_0x32e6e9(0x362)]===0x0||_0x258a6a[_0x32e6e9(0x362)]===0x0)return;const _0x57e25e=[],_0x479c0e=[];let _0x1c60b8=_0x5f0b8d['Tools']['deepClone'](_0x4ee5d9[_0x32e6e9(0x310)][0x0]),_0xe685b=_0x5f0b8d['Tools'][_0x32e6e9(0x26f)](_0x4ee5d9[_0x32e6e9(0x310)][0x0]);for(let _0x16d288=_0x4cd29d[_0x32e6e9(0x362)]-0x1;_0x16d288>=0x0;_0x16d288--){const _0x4e90fe={'id':_0x32e6e9(0x2cc),'params':{..._0x4cd29d[_0x16d288]}},_0x530933={'id':_0x32e6e9(0x2cc),'params':{..._0x258a6a[_0x16d288]}},_0xf8977=this['_transformService'][_0x32e6e9(0x16a)](_0x1c60b8,_0x4e90fe,!0x1),_0x3f88e9=this[_0x32e6e9(0x19e)][_0x32e6e9(0x16a)](_0xe685b,_0x530933,!0x1);if(_0x23426a[_0x32e6e9(0x2e7)](_0xf8977))throw _0xf8977[_0x32e6e9(0x193)];if(_0x23426a['isTransformMutationFailure'](_0x3f88e9))throw _0x3f88e9[_0x32e6e9(0x193)];_0x57e25e[_0x32e6e9(0x258)](_0xf8977['m2Prime']['params']),_0x479c0e['unshift'](_0x3f88e9[_0x32e6e9(0x39c)][_0x32e6e9(0x1c8)]),_0x1c60b8=_0xf8977[_0x32e6e9(0x120)],_0xe685b=_0x3f88e9[_0x32e6e9(0x120)];}_0x4f4156[_0x32e6e9(0x1e1)]({'undoCache':_0x57e25e,'redoCache':_0x479c0e});}['_transformPreviousActiveRange'](_0x54b8a1){const _0x3f53fa=_0x145800,{unitID:_0x320d4c}=_0x54b8a1,_0x25d3c6=this[_0x3f53fa(0x33b)][_0x3f53fa(0x29a)](_0x320d4c)['with'](_0x1aba27[_0x3f53fa(0x29c)]),_0x29ce66=_0x25d3c6[_0x3f53fa(0x348)]();if(_0x29ce66==null)return;const _0x239bd5=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x54b8a1[_0x3f53fa(0x344)],'actions':null,'textRanges':[_0x29ce66]}}],_0x428197=this['_transformService']['transformMutationsWithChangeset'](_0x54b8a1,_0x239bd5);if(!_0x23426a['isTransformMutationsWithChangesetSuccess'](_0x428197))throw _0x428197[_0x3f53fa(0x193)];const _0x386a7c=_0x428197[_0x3f53fa(0x39c)][0x0][_0x3f53fa(0x1c8)][_0x3f53fa(0x1b0)];Array[_0x3f53fa(0x37f)](_0x386a7c)&&_0x386a7c[_0x3f53fa(0x362)]&&_0x25d3c6['setActiveRange'](_0x386a7c[0x0]);}};_0x576935=_0x337b08([_0x4f0578(0x0,_0x23426a[_0x145800(0x370)]),_0x4f0578(0x1,_0x5e68e4[_0x145800(0x1af)])],_0x576935);var _0x39cf12=Object[_0x145800(0x30b)],_0x4fad9f=(_0x175e14,_0x13d208,_0x5595e3,_0x38b2b1)=>{const _0x3dfd12=_0x145800;for(var _0x158072=_0x38b2b1>0x1?void 0x0:_0x38b2b1?_0x39cf12(_0x13d208,_0x5595e3):_0x13d208,_0x1bff16=_0x175e14[_0x3dfd12(0x362)]-0x1,_0x1bd268;_0x1bff16>=0x0;_0x1bff16--)(_0x1bd268=_0x175e14[_0x1bff16])&&(_0x158072=_0x1bd268(_0x158072)||_0x158072);return _0x158072;},_0x5a589e=(_0x481ae3,_0x5c9026)=>(_0x553466,_0x4400ca)=>_0x5c9026(_0x553466,_0x4400ca,_0x481ae3);let _0x1bda7c=class{constructor(_0x4be644,_0x4e31f5,_0xefa170){const _0x5d18fe=_0x145800;this[_0x5d18fe(0x2e6)]=_0x4be644,this['_transformService']=_0x4e31f5,this[_0x5d18fe(0x26a)]=_0xefa170;}[_0x145800(0x135)](_0x4e742c){this['_transformHistoryAndStateStack'](_0x4e742c);}[_0x145800(0x383)](_0x1a973d){const _0x3fa3f8=_0x145800,{unitID:_0x1d38ab}=_0x1a973d,{collaboration:_0x5c2ff5}=this[_0x3fa3f8(0x26a)][_0x3fa3f8(0x2f3)](_0x1d38ab);if(_0x5c2ff5[_0x3fa3f8(0x362)]===0x0)return _0x1a973d;let _0x4d23bf=_0x5f0b8d[_0x3fa3f8(0x2e0)][_0x3fa3f8(0x26f)](_0x1a973d['mutations'][0x0]);for(let _0x58ffbe=0x0;_0x58ffbe<_0x5c2ff5[_0x3fa3f8(0x362)];_0x58ffbe++){const _0x56358e={'id':_0x3fa3f8(0x2cc),'params':{'unitId':_0x5c2ff5[_0x58ffbe]['unitId'],..._0x5c2ff5[_0x58ffbe][_0x3fa3f8(0x191)]}},_0x4c724c=this[_0x3fa3f8(0x19e)][_0x3fa3f8(0x16a)](_0x4d23bf,_0x56358e,!0x1);if(_0x23426a[_0x3fa3f8(0x2e7)](_0x4c724c))throw _0x4c724c[_0x3fa3f8(0x193)];_0x4d23bf=_0x4c724c[_0x3fa3f8(0x120)];}return{..._0x5f0b8d['Tools'][_0x3fa3f8(0x26f)](_0x1a973d),'mutations':[_0x4d23bf]};}[_0x145800(0x1b3)](_0x5bfb05){const _0x16d36e=_0x145800,{unitID:_0x1491ad}=_0x5bfb05,{history:_0x17423c,collaboration:_0x3b4776}=this[_0x16d36e(0x26a)][_0x16d36e(0x2f3)](_0x1491ad);if(_0x17423c[_0x16d36e(0x362)]===0x0&&_0x3b4776['length']===0x0)return;const _0x5ef150=[],_0x4581e1=[];let _0x31e485=_0x5f0b8d[_0x16d36e(0x2e0)][_0x16d36e(0x26f)](_0x5bfb05[_0x16d36e(0x310)][0x0]),_0x2971a2=_0x5f0b8d[_0x16d36e(0x2e0)]['deepClone'](_0x5bfb05['mutations'][0x0]);for(let _0x2f61f7=_0x17423c[_0x16d36e(0x362)]-0x1;_0x2f61f7>=0x0;_0x2f61f7--){const _0x41fd94={'id':_0x16d36e(0x2cc),'params':{'unitId':_0x17423c[_0x2f61f7]['unitId'],..._0x17423c[_0x2f61f7]['undoState']}},_0x29e63f={'id':_0x16d36e(0x2cc),'params':{'unitId':_0x17423c[_0x2f61f7][_0x16d36e(0x280)],..._0x17423c[_0x2f61f7][_0x16d36e(0x191)]}},_0x19b59f=this[_0x16d36e(0x19e)][_0x16d36e(0x16a)](_0x31e485,_0x41fd94,!0x1),_0x4847a9=this[_0x16d36e(0x19e)][_0x16d36e(0x16a)](_0x2971a2,_0x29e63f,!0x1);if(_0x23426a[_0x16d36e(0x2e7)](_0x19b59f))throw _0x19b59f[_0x16d36e(0x193)];if(_0x23426a['isTransformMutationFailure'](_0x4847a9))throw _0x4847a9['error'];_0x5ef150[_0x16d36e(0x258)]({..._0x17423c[_0x2f61f7],'undoState':_0x19b59f[_0x16d36e(0x39c)][_0x16d36e(0x1c8)],'redoState':_0x4847a9[_0x16d36e(0x39c)][_0x16d36e(0x1c8)]}),_0x31e485=_0x19b59f[_0x16d36e(0x120)],_0x2971a2=_0x4847a9[_0x16d36e(0x120)];}_0x31e485=_0x5f0b8d[_0x16d36e(0x2e0)][_0x16d36e(0x26f)](_0x5bfb05[_0x16d36e(0x310)][0x0]),_0x2971a2=_0x5f0b8d[_0x16d36e(0x2e0)][_0x16d36e(0x26f)](_0x5bfb05[_0x16d36e(0x310)][0x0]);for(let _0x51515b=_0x3b4776['length']-0x1;_0x51515b>=0x0;_0x51515b--){const _0x51ba50={'id':_0x16d36e(0x2cc),'params':{'unitId':_0x3b4776[_0x51515b][_0x16d36e(0x280)],..._0x3b4776[_0x51515b]['undoState']}},_0x54e83a={'id':_0x16d36e(0x2cc),'params':{'unitId':_0x3b4776[_0x51515b][_0x16d36e(0x280)],..._0x3b4776[_0x51515b]['redoState']}},_0x3d4597=this[_0x16d36e(0x19e)][_0x16d36e(0x16a)](_0x31e485,_0x51ba50,!0x1),_0x38270b=this[_0x16d36e(0x19e)][_0x16d36e(0x16a)](_0x2971a2,_0x54e83a,!0x1);if(_0x23426a['isTransformMutationFailure'](_0x3d4597))throw _0x3d4597[_0x16d36e(0x193)];if(_0x23426a[_0x16d36e(0x2e7)](_0x38270b))throw _0x38270b[_0x16d36e(0x193)];_0x4581e1[_0x16d36e(0x258)]({..._0x3b4776[_0x51515b],'undoState':_0x3d4597['m2Prime'][_0x16d36e(0x1c8)],'redoState':_0x38270b[_0x16d36e(0x39c)][_0x16d36e(0x1c8)]}),_0x31e485=_0x3d4597[_0x16d36e(0x120)],_0x2971a2=_0x38270b[_0x16d36e(0x120)];}this[_0x16d36e(0x26a)][_0x16d36e(0x11d)](_0x1491ad,{'history':_0x5ef150,'collaboration':_0x4581e1});}};_0x1bda7c=_0x4fad9f([_0x5a589e(0x0,_0x5f0b8d[_0x145800(0x236)](_0x5f0b8d[_0x145800(0x2a6)])),_0x5a589e(0x1,_0x23426a[_0x145800(0x370)]),_0x5a589e(0x2,_0x5f0b8d[_0x145800(0x236)](_0x1aba27[_0x145800(0x394)]))],_0x1bda7c);var _0x1bda59=Object[_0x145800(0x30b)],_0x263304=(_0x56a50c,_0x431c22,_0x18c253,_0x40c0f3)=>{const _0x293cb8=_0x145800;for(var _0x26b7fa=_0x40c0f3>0x1?void 0x0:_0x40c0f3?_0x1bda59(_0x431c22,_0x18c253):_0x431c22,_0x49ceae=_0x56a50c[_0x293cb8(0x362)]-0x1,_0x52e365;_0x49ceae>=0x0;_0x49ceae--)(_0x52e365=_0x56a50c[_0x49ceae])&&(_0x26b7fa=_0x52e365(_0x26b7fa)||_0x26b7fa);return _0x26b7fa;},_0x2964e5=(_0x39c568,_0x229bff)=>(_0x3de528,_0x10b834)=>_0x229bff(_0x3de528,_0x10b834,_0x39c568);let _0x45aba7=class{constructor(_0x316c17,_0x15fed9){const _0x3a0232=_0x145800;this[_0x3a0232(0x2e6)]=_0x316c17,this[_0x3a0232(0x19e)]=_0x15fed9;}[_0x145800(0x160)](_0x4325ac){const _0x49baaa=_0x145800;var _0x33d966;const _0xe8c4a=this[_0x49baaa(0x2e6)][_0x49baaa(0x1fb)](_0x363e6a[_0x49baaa(0x315)]),_0xc84507=(_0x33d966=_0xe8c4a[_0x49baaa(0x1a7)]())!=null?_0x33d966:[];if(_0xc84507[_0x49baaa(0x362)]===0x0)return;const _0x492483=_0x4325ac[_0x49baaa(0x344)],_0x27208e=[{'id':_0x49baaa(0x2cc),'params':{'unitId':_0x492483,'actions':null,'textRanges':_0xc84507}}],_0x5c83c5=this['_transformService']['transformMutationsWithChangeset'](_0x4325ac,_0x27208e);if(!_0x23426a[_0x49baaa(0x314)](_0x5c83c5))throw _0x5c83c5['error'];const _0x3df324=_0x5c83c5['m2Prime'][0x0]['params'][_0x49baaa(0x1b0)];Array[_0x49baaa(0x37f)](_0x3df324)&&_0x3df324[_0x49baaa(0x362)]&&_0xe8c4a[_0x49baaa(0x1e6)](_0x3df324,{'unitId':_0x492483,'subUnitId':_0x492483},!0x1);}};_0x45aba7=_0x263304([_0x2964e5(0x0,_0x5f0b8d[_0x145800(0x236)](_0x5f0b8d['Injector'])),_0x2964e5(0x1,_0x23426a[_0x145800(0x370)])],_0x45aba7);var _0x53a84b=Object[_0x145800(0x30b)],_0x2f5fe8=(_0x295f49,_0x1110a3,_0x1d301d,_0x51fa39)=>{const _0x4e6061=_0x145800;for(var _0x5b779c=_0x51fa39>0x1?void 0x0:_0x51fa39?_0x53a84b(_0x1110a3,_0x1d301d):_0x1110a3,_0x4e8c3f=_0x295f49[_0x4e6061(0x362)]-0x1,_0x31c623;_0x4e8c3f>=0x0;_0x4e8c3f--)(_0x31c623=_0x295f49[_0x4e8c3f])&&(_0x5b779c=_0x31c623(_0x5b779c)||_0x5b779c);return _0x5b779c;},_0x336ced=(_0x46ec3f,_0x48329d)=>(_0xce73a,_0x2f0a47)=>_0x48329d(_0xce73a,_0x2f0a47,_0x46ec3f);let _0x533ecb=class extends _0x5f0b8d['Disposable']{constructor(_0x4d8cf4,_0x48a143,_0x5a6d19,_0x5685f9,_0x129809,_0x1db7c4,_0x2abd52,_0x5270bc){const _0x39fe96=_0x145800;super(),_0x508c44(this,_0x39fe96(0x1da),new _0x241d80[(_0x39fe96(0x2ff))](_0x5b56a5[_0x39fe96(0x313)][_0x39fe96(0x146)])),(this[_0x39fe96(0x26a)]=_0x4d8cf4,this[_0x39fe96(0x2ac)]=_0x48a143,this[_0x39fe96(0x278)]=_0x5a6d19,this[_0x39fe96(0x346)]=_0x5685f9,this[_0x39fe96(0x339)]=_0x129809,this[_0x39fe96(0x298)]=_0x1db7c4,this[_0x39fe96(0x221)]=_0x2abd52,this[_0x39fe96(0x24a)]=_0x5270bc,this[_0x39fe96(0x277)]());}[_0x145800(0x277)](){const _0x5d2b54=_0x145800;this[_0x5d2b54(0x363)](this[_0x5d2b54(0x2ac)]['entityInit$'][_0x5d2b54(0x262)](_0x55dcd1=>{const _0x243fcc=_0x5d2b54,_0x549c67=this[_0x243fcc(0x26a)][_0x243fcc(0x34e)][_0x243fcc(0x262)](_0x405817=>{const _0x1b3a79=_0x243fcc;if(_0x405817==null)return;const {unitId:_0x236acb,redoState:_0x22176d,commandId:_0xcb44a0}=_0x405817;if(_0x236acb!==_0x55dcd1[_0x1b3a79(0x344)])return;const _0x594146={'id':_0xcb44a0,'type':_0x5f0b8d[_0x1b3a79(0x1c3)]['MUTATION'],'params':{'unitId':_0x236acb,'actions':_0x22176d['actions'],'textRanges':null}};_0x55dcd1['onLocalMutation'](_0x594146);});if(_0x55dcd1[_0x243fcc(0x363)](_0x549c67),_0x55dcd1 instanceof _0x5b56a5[_0x243fcc(0x179)]){const _0x2e0eb0={'onTransformIME':_0x4fb86c=>this[_0x243fcc(0x278)]['transformIMECache'](_0x4fb86c),'onTransformState':_0x361e2a=>this['_docTransformStateCacheService'][_0x243fcc(0x135)](_0x361e2a),'onTransformSelections':_0x4318cf=>this[_0x243fcc(0x339)][_0x243fcc(0x160)](_0x4318cf),'onSyncEditingCollabCursor':_0x1fa558=>this[_0x243fcc(0x298)][_0x243fcc(0x3a9)](_0x1fa558),'onTransformRemoteChangesetByIMECache':_0x1cedec=>this[_0x243fcc(0x278)]['transformRemoteChangeset'](_0x1cedec),'onTransformRemoteChangesetByStateCache':_0x16174c=>this[_0x243fcc(0x346)]['transformRemoteChangeset'](_0x16174c)};_0x55dcd1[_0x243fcc(0x18e)](_0x2e0eb0);}}));}};_0x533ecb=_0x2f5fe8([_0x336ced(0x0,_0x5f0b8d[_0x145800(0x236)](_0x1aba27[_0x145800(0x394)])),_0x336ced(0x1,_0x5f0b8d[_0x145800(0x236)](_0x5b56a5[_0x145800(0x257)])),_0x336ced(0x2,_0x5f0b8d[_0x145800(0x236)](_0x576935)),_0x336ced(0x3,_0x5f0b8d['Inject'](_0x1bda7c)),_0x336ced(0x4,_0x5f0b8d['Inject'](_0x45aba7)),_0x336ced(0x5,_0x5f0b8d[_0x145800(0x236)](_0x34c5a6)),_0x336ced(0x6,_0x1ed79b[_0x145800(0x1de)]),_0x336ced(0x7,_0x5f0b8d['Inject'](_0x5f0b8d[_0x145800(0x2e9)]))],_0x533ecb);var _0x3c63da=Object[_0x145800(0x30b)],_0x72d198=(_0x497900,_0x723e4b,_0x5a3d51,_0x4e5228)=>{const _0x944e36=_0x145800;for(var _0x4a6d1f=_0x4e5228>0x1?void 0x0:_0x4e5228?_0x3c63da(_0x723e4b,_0x5a3d51):_0x723e4b,_0x5c2591=_0x497900[_0x944e36(0x362)]-0x1,_0x563ea7;_0x5c2591>=0x0;_0x5c2591--)(_0x563ea7=_0x497900[_0x5c2591])&&(_0x4a6d1f=_0x563ea7(_0x4a6d1f)||_0x4a6d1f);return _0x4a6d1f;},_0x231069=(_0x4c3bf2,_0x3bb6ed)=>(_0x3f7101,_0x1ba483)=>_0x3bb6ed(_0x3f7101,_0x1ba483,_0x4c3bf2);let _0x4578a2=class extends _0x5f0b8d['Disposable']{constructor(_0x427a8e,_0x2eaf21,_0x7bc0f8){const _0x2fcbdc=_0x145800;super(),_0x508c44(this,_0x2fcbdc(0x24b),new Map()),_0x508c44(this,_0x2fcbdc(0x2af),new Map()),_0x508c44(this,_0x2fcbdc(0x311),!0x1),(this[_0x2fcbdc(0x3a3)]=_0x427a8e,this[_0x2fcbdc(0x194)]=_0x2eaf21,this['_revisionService']=_0x7bc0f8);}[_0x145800(0x1d5)](){const _0x107af7=_0x145800;this[_0x107af7(0x311)]=!0x0;}[_0x145800(0x27c)](){const _0x5c4297=_0x145800;this[_0x5c4297(0x311)]=!0x1;}get['saveTaskMap'](){const _0x255b3e=_0x145800;return this[_0x255b3e(0x2af)];}['dispose'](){const _0x40adb0=_0x145800;this[_0x40adb0(0x16b)]()[_0x40adb0(0x31c)](()=>super[_0x40adb0(0x33a)]());}async[_0x145800(0x147)](_0xa2bf1f){const _0x249fb8=_0x145800;return this[_0x249fb8(0x311)]?null:this[_0x249fb8(0x194)][_0x249fb8(0x1fa)](_0x5b56a5[_0x249fb8(0x1bb)](_0xa2bf1f));}async[_0x145800(0x223)](_0x30f613,_0x113987){const _0x1288ec=_0x145800;return!!this[_0x1288ec(0x194)][_0x1288ec(0x24c)](_0x30f613,_0x113987);}[_0x145800(0x2d4)](_0x582d2c,_0x36ae48,_0x49985a,_0x5b44dd){const _0x55b167=_0x145800,_0x339822=this[_0x55b167(0x317)][_0x55b167(0x367)](_0x582d2c);this[_0x55b167(0x24b)][_0x55b167(0x183)](_0x582d2c,{'unitID':_0x582d2c,'type':_0x36ae48,'awaitingChangeset':_0x49985a,'mutations':_0x5b44dd,'rev':_0x339822}),this[_0x55b167(0x2af)]['has'](_0x582d2c)||this['_scheduleSaving'](_0x582d2c);}[_0x145800(0x12d)](_0x32f680){const _0x44310e=_0x145800,_0x17656=this[_0x44310e(0x2ab)]();_0x17656===0x0?this['_saveCache'](_0x32f680):this['_saveTaskMap'][_0x44310e(0x183)](_0x32f680,setTimeout(()=>this[_0x44310e(0x1ec)](_0x32f680),_0x17656));}[_0x145800(0x2ab)](){const _0x4b4d65=_0x145800;var _0x276fc1;return(_0x276fc1=this['_configService']['getConfig'](_0x5b56a5['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x276fc1:_0x5b56a5[_0x4b4d65(0x290)];}['_saveCache'](_0x59f717){const _0x45074f=_0x145800,_0x459b23=this['_saveTaskMap'][_0x45074f(0x1fb)](_0x59f717);return _0x459b23!==void 0x0&&window[_0x45074f(0x2e8)](_0x459b23),this[_0x45074f(0x194)]['setItem'](_0x5b56a5['getLocalCacheKey'](_0x59f717),this['_cachedData'][_0x45074f(0x1fb)](_0x59f717))[_0x45074f(0x31c)](()=>this[_0x45074f(0x2af)][_0x45074f(0x21e)](_0x59f717));}async[_0x145800(0x16b)](){const _0x10fe90=_0x145800,_0x3815a7=[];this[_0x10fe90(0x2af)][_0x10fe90(0x1e0)]((_0x2b26be,_0x36ecd1)=>{const _0x3acdb5=_0x10fe90;window['clearTimeout'](_0x2b26be),_0x3815a7[_0x3acdb5(0x259)](this[_0x3acdb5(0x1ec)](_0x36ecd1)[_0x3acdb5(0x31c)](()=>{const _0x5d8420=_0x3acdb5;this[_0x5d8420(0x2af)][_0x5d8420(0x21e)](_0x36ecd1);}));}),await Promise['all'](_0x3815a7);}};_0x4578a2=_0x72d198([_0x231069(0x0,_0x5f0b8d[_0x145800(0x2fd)]),_0x231069(0x1,_0x5f0b8d[_0x145800(0x16c)]),_0x231069(0x2,_0x5f0b8d['Inject'](_0x23426a[_0x145800(0x2b7)]))],_0x4578a2);class _0x43b08d extends _0x5f0b8d[_0x145800(0x165)]{constructor(){const _0x308a34=_0x145800;super(),_0x508c44(this,_0x308a34(0x2df)),this[_0x308a34(0x2df)]=_0x241d80[_0x308a34(0x31a)](window,_0x308a34(0x12a))[_0x308a34(0x2d6)](_0x241d80[_0x308a34(0x1d3)](this[_0x308a34(0x19b)]),_0x241d80[_0x308a34(0x384)](0x1),_0x241d80['mapTo'](void 0x0));}['setParam'](_0x78c98,_0x598bf2,_0x294b61=!0x1){const _0x3449b0=_0x145800,_0x523859=new URL(window[_0x3449b0(0x2e3)]['href']);_0x523859[_0x3449b0(0x323)][_0x3449b0(0x183)](_0x78c98,_0x598bf2),_0x294b61?window[_0x3449b0(0x37c)]['replaceState']('','',_0x523859[_0x3449b0(0x269)]()):window[_0x3449b0(0x37c)][_0x3449b0(0x38a)]('','',_0x523859['toString']());}['removeParam'](_0x3b7e8f,_0x29ee0e=!0x1){const _0x4428f7=_0x145800,_0x3eccdf=new URL(window[_0x4428f7(0x2e3)][_0x4428f7(0x197)]);_0x3eccdf[_0x4428f7(0x323)][_0x4428f7(0x21e)](_0x3b7e8f),_0x29ee0e?window[_0x4428f7(0x37c)]['replaceState']('','',_0x3eccdf[_0x4428f7(0x269)]()):window['history']['pushState']('','',_0x3eccdf[_0x4428f7(0x269)]());}[_0x145800(0x289)](_0x3dfa70){const _0x148377=_0x145800;var _0xbddbcb;return(_0xbddbcb=new URL(window[_0x148377(0x2e3)][_0x148377(0x197)])[_0x148377(0x323)][_0x148377(0x1fb)](_0x3dfa70))!=null?_0xbddbcb:void 0x0;}}var _0x33a939=Object[_0x145800(0x25e)],_0x12897b=Object['getOwnPropertyDescriptor'],_0x156208=(_0x3f21c4,_0x1dac3e,_0x206374)=>_0x1dac3e in _0x3f21c4?_0x33a939(_0x3f21c4,_0x1dac3e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x206374}):_0x3f21c4[_0x1dac3e]=_0x206374,_0x4eb197=(_0x4cc1e9,_0x5604a9,_0x34e911,_0x3cde91)=>{const _0x47365f=_0x145800;for(var _0x44ea62=_0x3cde91>0x1?void 0x0:_0x3cde91?_0x12897b(_0x5604a9,_0x34e911):_0x5604a9,_0x2a2707=_0x4cc1e9[_0x47365f(0x362)]-0x1,_0x40f0e3;_0x2a2707>=0x0;_0x2a2707--)(_0x40f0e3=_0x4cc1e9[_0x2a2707])&&(_0x44ea62=_0x40f0e3(_0x44ea62)||_0x44ea62);return _0x44ea62;},_0x5e8cb1=(_0x540b1f,_0x8ec503)=>(_0x50f98e,_0x180562)=>_0x8ec503(_0x50f98e,_0x180562,_0x540b1f),_0x2ecd26=(_0x5e7ab0,_0x3912b0,_0x1e1c88)=>_0x156208(_0x5e7ab0,_0x3912b0+'',_0x1e1c88);const _0x2b105b=_0x145800(0x2e4);_0x3c58c2[_0x145800(0x2fb)]=class extends _0x5f0b8d[_0x145800(0x1c4)]{constructor(_0x5b4252=_0x1a3222,_0x15ec22,_0xde8fd8,_0x36b347){const _0x32bd94=_0x145800;super(),this[_0x32bd94(0x354)]=_0x5b4252,this[_0x32bd94(0x33b)]=_0x15ec22,this[_0x32bd94(0x2e6)]=_0xde8fd8,this[_0x32bd94(0x3a3)]=_0x36b347;const {..._0x408030}=_0x5f0b8d[_0x32bd94(0x395)]({},_0x1a3222,this[_0x32bd94(0x354)]);this[_0x32bd94(0x3a3)][_0x32bd94(0x39e)](_0x38010b,_0x408030);}[_0x145800(0x1dd)](){const _0x419b4c=_0x145800;this[_0x419b4c(0x2b6)](),this[_0x419b4c(0x1e5)]();}[_0x145800(0x393)](){const _0x97933f=_0x145800;this[_0x97933f(0x12f)]();}['_registerDependencies'](){const _0xc59bb8=_0x145800;var _0x3fed2c;const _0x5ace5c=[[_0x8037af],[_0x45aba7],[_0x576935],[_0x1bda7c],[_0x34c5a6],[_0x19cf94,{'useClass':_0x43b08d}],[_0x14a8ee['ISocketService'],{'useClass':_0x14a8ee['WebSocketService']}],[_0x5b56a5[_0xc59bb8(0x184)],{'useClass':_0x4578a2}],[_0x3c58c2[_0xc59bb8(0x24d)]],[_0x533ecb],[_0x2e9f8d],[_0x39a089],[_0x1c80df],[_0x3c58c2['CollaborationDataLoaderController']]];_0x5f0b8d[_0xc59bb8(0x36d)](this[_0xc59bb8(0x2e6)],_0x5f0b8d[_0xc59bb8(0x371)](_0x5ace5c,(_0x3fed2c=this[_0xc59bb8(0x354)])==null?void 0x0:_0x3fed2c['override']));}['_registerRenderDependencies'](){const _0x17231c=_0x145800;this[_0x17231c(0x363)](this[_0x17231c(0x33b)][_0x17231c(0x29b)](_0x5f0b8d['UniverInstanceType'][_0x17231c(0x24f)],[_0x294eda])),this[_0x17231c(0x363)](this[_0x17231c(0x33b)][_0x17231c(0x29b)](_0x5f0b8d[_0x17231c(0x1d1)]['UNIVER_SHEET'],[_0x4c8fda]));}['_initDependencies'](){const _0x38231d=_0x145800;_0x5f0b8d[_0x38231d(0x306)](this[_0x38231d(0x2e6)],[[_0x39a089],[_0x3c58c2[_0x38231d(0x24d)]],[_0x533ecb],[_0x2e9f8d],[_0x3c58c2[_0x38231d(0x156)]]]);}},_0x2ecd26(_0x3c58c2['UniverCollaborationClientUIPlugin'],_0x145800(0x332),_0x2b105b),_0x3c58c2[_0x145800(0x2fb)]=_0x4eb197([_0x5f0b8d[_0x145800(0x15b)](_0x5b56a5[_0x145800(0x39d)]),_0x5e8cb1(0x1,_0x5e68e4[_0x145800(0x1af)]),_0x5e8cb1(0x2,_0x5f0b8d[_0x145800(0x236)](_0x5f0b8d['Injector'])),_0x5e8cb1(0x3,_0x5f0b8d[_0x145800(0x2fd)])],_0x3c58c2['UniverCollaborationClientUIPlugin']);var _0x468aba=Object[_0x145800(0x30b)],_0x54d372=(_0x25ccbb,_0x109d60,_0xd01a2b,_0x3bcf93)=>{for(var _0x582afd=_0x3bcf93>0x1?void 0x0:_0x3bcf93?_0x468aba(_0x109d60,_0xd01a2b):_0x109d60,_0x2c42a2=_0x25ccbb['length']-0x1,_0x5a5af2;_0x2c42a2>=0x0;_0x2c42a2--)(_0x5a5af2=_0x25ccbb[_0x2c42a2])&&(_0x582afd=_0x5a5af2(_0x582afd)||_0x582afd);return _0x582afd;},_0x4aaef5=(_0x59cdc1,_0x4e8b67)=>(_0x357830,_0x2dac3e)=>_0x4e8b67(_0x357830,_0x2dac3e,_0x59cdc1);_0x3c58c2[_0x145800(0x13e)]=class extends _0x5b56a5[_0x145800(0x1ce)]{constructor(_0x2a6b0c,_0x10da53,_0x637bf4,_0x454c38,_0x32297c){super(_0x2a6b0c,_0x10da53,_0x637bf4,_0x454c38,_0x32297c);}async[_0x145800(0x347)](_0x2f3ff3){const _0x1f6b26=_0x145800,_0x465bc3=await this['_getSessionTicket'](),_0x40d84d=this[_0x1f6b26(0x1ac)](_0x2f3ff3,_0x465bc3);return this['_doCreateSocket'](_0x40d84d);}[_0x145800(0x1ac)](_0x542dc7,_0x1c0b37){const _0x1d14f3=_0x145800,_0x560129=typeof window>'u'?new URL(_0x542dc7):new URL(_0x542dc7,window[_0x1d14f3(0x2e3)][_0x1d14f3(0x254)]);_0x560129[_0x1d14f3(0x323)]['set'](_0x1d14f3(0x132),_0x1c0b37);const _0x571112=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1d14f3(0x2e3)][_0x1d14f3(0x1a1)]);return _0x571112[_0x1d14f3(0x1fb)](_0x1d14f3(0x1a6))&&_0x560129[_0x1d14f3(0x323)][_0x1d14f3(0x183)](_0x1d14f3(0x1a6),_0x571112[_0x1d14f3(0x1fb)](_0x1d14f3(0x1a6))),_0x560129['toString']();}async[_0x145800(0x377)](){const _0x361e5a=_0x145800;var _0x22cd8a,_0x29ae63,_0x55a1fd;const _0x5b4d84=this['_configService']['getConfig'](_0x5b56a5[_0x361e5a(0x33d)]),_0x357212=(_0x22cd8a=_0x5b4d84==null?void 0x0:_0x5b4d84[_0x361e5a(0x144)])!=null?_0x22cd8a:_0x5b56a5[_0x361e5a(0x297)];return(_0x55a1fd=(_0x29ae63=(await this[_0x361e5a(0x37b)][_0x361e5a(0x1fb)](_0x357212,{'headers':{'Content-Type':_0x361e5a(0x2ed)}}))[_0x361e5a(0x373)])==null?void 0x0:_0x29ae63[_0x361e5a(0x13c)])!=null?_0x55a1fd:'';}},_0x3c58c2[_0x145800(0x13e)]=_0x54d372([_0x4aaef5(0x0,_0x5f0b8d[_0x145800(0x236)](_0x5f0b8d[_0x145800(0x2a6)])),_0x4aaef5(0x1,_0x5f0b8d[_0x145800(0x236)](_0x14a8ee['HTTPService'])),_0x4aaef5(0x2,_0x5f0b8d[_0x145800(0x2fd)]),_0x4aaef5(0x3,_0x5f0b8d[_0x145800(0x1cf)]),_0x4aaef5(0x4,_0x23426a[_0x145800(0x2ec)])],_0x3c58c2[_0x145800(0x13e)]);const _0x6b11dd=0x7530,_0x4ffe65='ACTIVE_UNIT_EVENT_CHANNEL';class _0x577ca5 extends _0x5f0b8d[_0x145800(0x216)]{constructor(){const _0x42b2e1=_0x145800;super(),_0x508c44(this,_0x42b2e1(0x239),_0x5f0b8d[_0x42b2e1(0x200)]()),_0x508c44(this,'_selfUnitIDs',new Set()),_0x508c44(this,_0x42b2e1(0x248),new Map()),_0x508c44(this,_0x42b2e1(0x23d),null),_0x508c44(this,_0x42b2e1(0x2b4),new Map()),_0x508c44(this,'_unitStatus',new Map()),this[_0x42b2e1(0x357)]();}['dispose'](){const _0x180d93=_0x145800;super[_0x180d93(0x33a)](),this[_0x180d93(0x2b4)]['forEach']((_0x55958d,_0x2a9f36)=>this[_0x180d93(0x230)](_0x2a9f36)),this[_0x180d93(0x23d)]&&window[_0x180d93(0x169)](this[_0x180d93(0x23d)]);}[_0x145800(0x1e9)](_0x2011fa){const _0x26ae8a=_0x145800;return this[_0x26ae8a(0x253)](_0x2011fa)[_0x26ae8a(0x2d6)](_0x241d80[_0x26ae8a(0x302)]());}[_0x145800(0x20e)](_0x51ca24){const _0x44b3a0=_0x145800;this['_selfUnitIDs'][_0x44b3a0(0x215)]===0x0&&this[_0x44b3a0(0x3ad)](),this[_0x44b3a0(0x13f)][_0x44b3a0(0x396)](_0x51ca24),this[_0x44b3a0(0x36b)]({'type':0x0,'memberID':this[_0x44b3a0(0x239)],'unitIDs':[_0x51ca24],'isForwarded':!0x1});}[_0x145800(0x35e)](_0x20dd1e){const _0xff07d0=_0x145800;this[_0xff07d0(0x13f)][_0xff07d0(0x21e)](_0x20dd1e),this[_0xff07d0(0x13f)]['size']===0x0&&this[_0xff07d0(0x23d)]&&window['clearInterval'](this[_0xff07d0(0x23d)]);}['_init'](){const _0x4f9ed0=_0x145800;this[_0x4f9ed0(0x363)](_0x5f0b8d['toDisposable'](_0x241d80[_0x4f9ed0(0x31a)](window,_0x4f9ed0(0x161))[_0x4f9ed0(0x262)](_0x26940c=>{const _0x31ced6=_0x4f9ed0;if(_0x26940c['key']!==_0x4ffe65||!_0x26940c[_0x31ced6(0x2f7)])return;const _0x4b8be4=JSON['parse'](_0x26940c[_0x31ced6(0x2f7)]);this[_0x31ced6(0x2a5)](_0x4b8be4);}))),window[_0x4f9ed0(0x136)]('unload',()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x4f9ed0(0x22b)](this[_0x4f9ed0(0x13f)])}));}[_0x145800(0x2a5)](_0x3b8650){const _0x560c3c=_0x145800;switch(_0x3b8650[_0x560c3c(0x1ee)]){case 0x0:this[_0x560c3c(0x2c7)](_0x3b8650);break;case 0x1:this[_0x560c3c(0x268)](_0x3b8650);break;case 0x2:this['_handleHeartbeatEvent'](_0x3b8650);break;}}[_0x145800(0x2c7)](_0x255e97){const _0x263ccd=_0x145800,{unitIDs:_0x3cd831,memberID:_0x1092c1,isForwarded:_0x33f672}=_0x255e97;_0x3cd831[_0x263ccd(0x1e0)](_0x39d6ed=>{const _0xbb029a=_0x263ccd;if(!_0x33f672&&this[_0xbb029a(0x248)][_0xbb029a(0x2b2)](_0x39d6ed)&&this[_0xbb029a(0x253)](_0x39d6ed)[_0xbb029a(0x1fd)](_0x5b56a5[_0xbb029a(0x34c)][_0xbb029a(0x398)]),!this['_unitOnClients'][_0xbb029a(0x2b2)](_0x39d6ed)||!this['_unitOnClients'][_0xbb029a(0x1fb)](_0x39d6ed)[_0xbb029a(0x2b2)](_0x1092c1)){const _0x24e7c4=this['_unitOnClients'][_0xbb029a(0x1fb)](_0x39d6ed)||new Set();_0x24e7c4[_0xbb029a(0x396)](_0x1092c1),this['_unitOnClients'][_0xbb029a(0x183)](_0x39d6ed,_0x24e7c4),this['_scheduleClearOtherTimer'](_0x1092c1);}}),_0x33f672||this[_0x263ccd(0x36b)]({'type':0x0,'memberID':this[_0x263ccd(0x239)],'unitIDs':[...this[_0x263ccd(0x13f)]],'isForwarded':!0x0});}[_0x145800(0x1c2)](_0x58c44a){const _0x47c8f5=_0x145800;this['_removeClearOtherTimer'](_0x58c44a);const _0x2cf5d0=window[_0x47c8f5(0x30c)](()=>{const _0x4a5a61=_0x47c8f5;this[_0x4a5a61(0x248)][_0x4a5a61(0x1e0)](_0x1ab90c=>{const _0x52bd6c=_0x4a5a61;_0x1ab90c[_0x52bd6c(0x21e)](_0x58c44a);});},_0x6b11dd*0x2);this[_0x47c8f5(0x2b4)]['set'](_0x58c44a,_0x2cf5d0);}[_0x145800(0x230)](_0x52be87){const _0x8fe1b6=_0x145800;if(this[_0x8fe1b6(0x2b4)]['has'](_0x52be87)){const _0x1a0293=this[_0x8fe1b6(0x2b4)][_0x8fe1b6(0x1fb)](_0x52be87);_0x1a0293&&window[_0x8fe1b6(0x2e8)](_0x1a0293),this[_0x8fe1b6(0x2b4)][_0x8fe1b6(0x183)](_0x52be87,null);}}[_0x145800(0x268)](_0x2b4c14){const _0x443ad=_0x145800,{memberID:_0x10981f,unitIDs:_0x399f7e}=_0x2b4c14;_0x399f7e[_0x443ad(0x1e0)](_0x3575b6=>{const _0x3dcc3a=_0x443ad;var _0x262db7;const _0x5f1ee8=this[_0x3dcc3a(0x248)][_0x3dcc3a(0x1fb)](_0x3575b6);_0x5f1ee8&&(_0x5f1ee8[_0x3dcc3a(0x21e)](_0x10981f),(_0x262db7=this[_0x3dcc3a(0x253)](_0x3575b6))==null||_0x262db7[_0x3dcc3a(0x1fd)](_0x5f1ee8['size']===0x0?_0x5b56a5['UnitStatus'][_0x3dcc3a(0x334)]:_0x5b56a5['UnitStatus'][_0x3dcc3a(0x398)]));}),this[_0x443ad(0x230)](_0x10981f);}['_handleHeartbeatEvent'](_0x3b2696){const _0x19530b=_0x145800;this[_0x19530b(0x1c2)](_0x3b2696[_0x19530b(0x233)]);}[_0x145800(0x36b)](_0x53b501){const _0x24fd1c=_0x145800;localStorage[_0x24fd1c(0x24c)](_0x4ffe65,JSON[_0x24fd1c(0x172)](_0x53b501));}[_0x145800(0x3ad)](){const _0x52d826=_0x145800;this[_0x52d826(0x23d)]=window['setInterval'](()=>{const _0x34d17b=_0x52d826;this[_0x34d17b(0x36b)]({'type':0x2,'memberID':this['_id']});},_0x6b11dd);}[_0x145800(0x253)](_0x10d8fb){const _0x370dd0=_0x145800;return this[_0x370dd0(0x171)][_0x370dd0(0x2b2)](_0x10d8fb)||this[_0x370dd0(0x171)][_0x370dd0(0x183)](_0x10d8fb,new _0x241d80[(_0x370dd0(0x2ff))](_0x5b56a5[_0x370dd0(0x34c)][_0x370dd0(0x334)])),this['_unitStatus'][_0x370dd0(0x1fb)](_0x10d8fb);}}var _0x241a1d=(_0x58ea84=>(_0x58ea84[_0x58ea84[_0x145800(0x2c2)]=0x0]=_0x145800(0x2c2),_0x58ea84[_0x58ea84['OK']=0x1]='OK',_0x58ea84[_0x58ea84[_0x145800(0x21d)]=0x2]='INTERNAL_ERROR',_0x58ea84[_0x58ea84[_0x145800(0x1eb)]=0x3]=_0x145800(0x1eb),_0x58ea84[_0x58ea84[_0x145800(0x212)]=0x4]=_0x145800(0x212),_0x58ea84[_0x58ea84['UNAUTHENTICATED']=0x5]=_0x145800(0x189),_0x58ea84[_0x58ea84[_0x145800(0x34b)]=0x6]=_0x145800(0x34b),_0x58ea84[_0x58ea84[_0x145800(0x34f)]=0x7]=_0x145800(0x34f),_0x58ea84[_0x58ea84[_0x145800(0x2de)]=0x8]=_0x145800(0x2de),_0x58ea84[_0x58ea84[_0x145800(0x304)]=0x9]='COMPLETION_FINISHED',_0x58ea84[_0x58ea84[_0x145800(0x381)]=0xa]='LOGIN_FAILED',_0x58ea84[_0x58ea84[_0x145800(0x299)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x58ea84[_0x58ea84[_0x145800(0x389)]=0xc]=_0x145800(0x389),_0x58ea84[_0x58ea84['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x58ea84[_0x58ea84[_0x145800(0x38c)]=0xe]=_0x145800(0x38c),_0x58ea84[_0x58ea84[_0x145800(0x287)]=0x1389]=_0x145800(0x287),_0x58ea84[_0x58ea84['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x58ea84[_0x58ea84['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x145800(0x21c),_0x58ea84[_0x58ea84['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x145800(0x17e),_0x58ea84[_0x58ea84['APPLY_REJECT']=0x1b59]=_0x145800(0x13b),_0x58ea84[_0x58ea84[_0x145800(0x1b5)]=0x1b5a]=_0x145800(0x1b5),_0x58ea84[_0x58ea84[_0x145800(0x244)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x58ea84[_0x58ea84[_0x145800(0x1a3)]=0x1b5c]=_0x145800(0x1a3),_0x58ea84[_0x58ea84[_0x145800(0x122)]=0x1b5d]='APPLY_DUPLICATED',_0x58ea84[_0x58ea84['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x145800(0x30f),_0x58ea84[_0x58ea84['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x145800(0x2bd),_0x58ea84[_0x58ea84['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x145800(0x130),_0x58ea84[_0x58ea84['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x145800(0x241),_0x58ea84[_0x58ea84['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x58ea84[_0x58ea84[_0x145800(0x2ee)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x58ea84[_0x58ea84['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x58ea84[_0x58ea84['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x58ea84[_0x58ea84[_0x145800(0x124)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x58ea84[_0x58ea84[_0x145800(0x163)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x58ea84[_0x58ea84[_0x145800(0x15d)]=0x271a]=_0x145800(0x15d),_0x58ea84[_0x58ea84[_0x145800(0x356)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x58ea84[_0x58ea84[_0x145800(0x18d)]=0x271c]=_0x145800(0x18d),_0x58ea84[_0x58ea84[_0x145800(0x178)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x58ea84[_0x58ea84[_0x145800(0x319)]=0x271e]=_0x145800(0x319),_0x58ea84[_0x58ea84['YUUMI_AI_RUN_FAILED']=0x271f]=_0x145800(0x272),_0x58ea84[_0x58ea84[_0x145800(0x283)]=0x2720]=_0x145800(0x283),_0x58ea84[_0x58ea84[_0x145800(0x158)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x58ea84[_0x58ea84[_0x145800(0x18b)]=0x2ee1]=_0x145800(0x18b),_0x58ea84[_0x58ea84[_0x145800(0x37d)]=0x2ee2]=_0x145800(0x37d),_0x58ea84[_0x58ea84['INVITE_CODE_REQUIRED']=0x2ee3]=_0x145800(0x2a1),_0x58ea84[_0x58ea84[_0x145800(0x157)]=0x2ee4]=_0x145800(0x157),_0x58ea84[_0x58ea84[_0x145800(0x247)]=0x2ee5]=_0x145800(0x247),_0x58ea84[_0x58ea84[_0x145800(0x2d2)]=0x32c9]=_0x145800(0x2d2),_0x58ea84[_0x58ea84[_0x145800(0x11e)]=0x32ca]=_0x145800(0x11e),_0x58ea84[_0x58ea84[_0x145800(0x336)]=0x32cb]=_0x145800(0x336),_0x58ea84[_0x58ea84[_0x145800(0x33e)]=-0x1]='UNRECOGNIZED',_0x58ea84))(_0x241a1d||{}),_0x232dea=Object[_0x145800(0x30b)],_0x526f5f=(_0x4375e2,_0x30e355,_0x1d47fa,_0x2b0c06)=>{const _0x3dc9cb=_0x145800;for(var _0x250fe0=_0x2b0c06>0x1?void 0x0:_0x2b0c06?_0x232dea(_0x30e355,_0x1d47fa):_0x30e355,_0x3a29f6=_0x4375e2[_0x3dc9cb(0x362)]-0x1,_0x395ddc;_0x3a29f6>=0x0;_0x3a29f6--)(_0x395ddc=_0x4375e2[_0x3a29f6])&&(_0x250fe0=_0x395ddc(_0x250fe0)||_0x250fe0);return _0x250fe0;},_0x540c4b=(_0x180abe,_0x2b1636)=>(_0x4ae419,_0x2c777d)=>_0x2b1636(_0x4ae419,_0x2c777d,_0x180abe);_0x3c58c2['RemoteUniscriptService']=class extends _0x5f0b8d[_0x145800(0x216)]{constructor(_0x71254d,_0x33554e,_0x42e987){const _0x2e0738=_0x145800;super(),this[_0x2e0738(0x2ce)]=_0x71254d,this['_httpService']=_0x33554e,this[_0x2e0738(0x3a3)]=_0x42e987;}async['runOnServer'](_0x5bffdc,_0xcabece,_0xe68b5,..._0x1505cb){const _0x1b8021=_0x145800;var _0x4f47d3,_0x5c723d,_0x53b6d9,_0x3a48ed;const _0x1c21be=this[_0x1b8021(0x2ce)][_0x1b8021(0x359)]();if(!_0x1c21be)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x22aee9=((_0x4f47d3=this['_configService'][_0x1b8021(0x345)](_0x5b56a5[_0x1b8021(0x2aa)]))!=null?_0x4f47d3:_0x5b56a5[_0x1b8021(0x263)])+'/'+_0x5bffdc+'/run/'+_0xcabece,_0xc0bbdd=new URL(window[_0x1b8021(0x2e3)][_0x1b8021(0x197)]),_0x1fd840={'scriptId':_0x5bffdc,'runId':(_0x5c723d=_0xc0bbdd[_0x1b8021(0x323)][_0x1b8021(0x1fb)](_0x1b8021(0x1a6)))!=null?_0x5c723d:'','function':_0xcabece,'unitId':_0x1c21be[_0x1b8021(0x21f)](),'argsOfFunction':JSON[_0x1b8021(0x172)](_0x1505cb),'invokeId':(_0x53b6d9=_0xe68b5[_0x1b8021(0x28e)])!=null?_0x53b6d9:'','executionId':(_0x3a48ed=_0xe68b5[_0x1b8021(0x1f9)])!=null?_0x3a48ed:''};try{const _0x3bdd52=await this[_0x1b8021(0x37b)][_0x1b8021(0x1a2)](_0x22aee9,{'body':_0x1fd840});return _0x3bdd52[_0x1b8021(0x373)]['error']&&_0x3bdd52[_0x1b8021(0x373)][_0x1b8021(0x193)][_0x1b8021(0x2be)]!==_0x241a1d['OK']?_0x1b8021(0x1a5):_0x3bdd52[_0x1b8021(0x373)][_0x1b8021(0x3a4)];}catch{return _0x1b8021(0x1a5);}}},_0x3c58c2[_0x145800(0x27d)]=_0x526f5f([_0x540c4b(0x0,_0x5f0b8d[_0x145800(0x1be)]),_0x540c4b(0x1,_0x5f0b8d['Inject'](_0x14a8ee[_0x145800(0x2b0)])),_0x540c4b(0x2,_0x5f0b8d[_0x145800(0x2fd)])],_0x3c58c2[_0x145800(0x27d)]),_0x3c58c2[_0x145800(0x2f1)]=_0x19cf94,_0x3c58c2['SheetCollabCursorShape']=_0x2e892a,_0x3c58c2[_0x145800(0x2b3)]=_0x577ca5,_0x3c58c2['WebURLService']=_0x43b08d,Object[_0x145800(0x25e)](_0x3c58c2,Symbol[_0x145800(0x1d8)],{'value':_0x145800(0x352)});}));function _0x1210(_0x221095,_0x33fb28){const _0xf5193=_0xf519();return _0x1210=function(_0x1210fd,_0x4e2eff){_0x1210fd=_0x1210fd-0x11d;let _0x31bafc=_0xf5193[_0x1210fd];return _0x31bafc;},_0x1210(_0x221095,_0x33fb28);}function _0xf519(){const _0x15b8f8=['DocSelectionManagerService','@univerjs/docs-ui','_revisionService','createElement','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','fromEvent','OFFLINE','then','EffectRefRangId','_removeCollabCursors','isEditing','findNodePositionByCharIndex','OnLineIcon','throttleTime','searchParams','reconnect','CollaborationUIEventService','endRow','mask','replace','color','height','_cursors','_drawAnchor','ColorKit','getCollabCursors$','InsertRowCommandId','@univerjs/sheets','icon','pluginName','_range','NO_OTHER_CLIENTS_EDITING','currentColor','EMAIL_HAS_BEEN_BOUND','UniverDrawing','registerRefRange','_docTransformSelectionsService','dispose','_renderManagerService','assignAColorForMemberID','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UNRECOGNIZED','collaboration-client-ui.config','apply','_updateURLWithCurrentState','@univerjs/engine-render','148008XqWYor','unitID','getConfig','_docTransformStateCacheService','createSocket','getActiveRange','xlink:href','substring','ALREADY_EXISTS','UnitStatus','UniverEngineFormula','docStateChange$','INVALID_ARGUMENT','exports','FETCH_MISS','Module','Warning','_config','_shapes','YUUMI_ASYNCIO_CANCELLED','_init','imageSourceType','getFocusedUnit','_syncEditingCollabCursorService','purple.300','collaboration.closeRoom','SetSelectionsOperation','disposeUnit','runRefRangeMutations','idSuffix','red.300','length','disposeWithMe','IUIPartsService','className','selection','getCurrentRevOfUnit','_logService','hasOwnProperty','top','_send','_entityInit$','registerDependencies','collab-text-anchor-','evenodd','ITransformService','mergeOverrideWithDependencies','show','body','_roomMembers$','entries','_docSkeletonManagerService','_getSessionTicket','_refreshCollabCursors','207512Mhiczr','combineLatest','_httpService','history','INVALID_INVITE_CODE','UniverProCollaborationClient','isArray','saveTaskMap','LOGIN_FAILED','uni.network.url-service','transformRemoteChangeset','shareReplay','getOffsetConfig','_hideTimer','off-line-icon_clip0_910_343','roomMembers','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','pushState','split','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','USERS_LEAVE','getUnhiddenWorksheets','MessageType','UniverEngineRender','Workbook','1em','onRendered','DocStateChangeManagerService','merge','add','63rUQLhT','OTHER_CLIENTS_EDITING','round','SOCKET_FAILED','UPDATE_CURSOR','m2Prime','UniverCollaborationClientPlugin','setConfig','restore','_entities','assign','name','_configService','result','getSheetBySheetId','FromArray','unit','_notificationService','syncEditingCollabCursor','RegularPolygon','width','defIds','_scheduleHeartbeat','TEXT','_docSkeleton','fillStyle','whenReady','setStateCache','MOBILE_HAS_BEEN_BOUND','Error','m1Prime','permission.title','APPLY_DUPLICATED','_updateLocalCursor','YUUMI_RATE_OVER_LIMIT','...','UniverNetwork','forwardRef','_onRefRangeChange','rxjs','popstate','includes','string','_scheduleSaving','_startDocCollabCursor','_registerRenderDependencies','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','React','sessionTicket','getUniverSheetInstance','_initEvent','transformStateCache','addEventListener','_collabCursorController','_updateSubUnitFromURLParams','react/jsx-runtime','hide','APPLY_REJECT','ticket','sessionStatus$','BrowserCollaborationSocketService','_selfUnitIDs','InsertRangeMoveDownCommandId','univer-mr-2\x20univer-flex\x20univer-text-xl','AWAITING_WITH_PENDING','getColor','wsSessionTicketUrl','_color','NOT_COLLAB','loadOfflineData','_cursorInfo$','_hovered','triggerDblclick','IImageIoService','_transformUndoRedoStack','UniverDocsUi','VIEW_MAIN','356PYmCdy','children','CollaborationUIEventId','getCurrentSelections','onCommandExecuted','labelPosition','min','CollaborationDataLoaderController','USER_NOT_INVITED_CODE','PY_RUNTIME_SCRIPT_ERROR','map','CLOSE_ROOM','DependentOn','complete','YUUMI_NO_CUBOID_FOR_QUESTION','_getAnchorBounding','SetWorksheetActivateCommand','transformSelections','storage','SHEET_VIEWPORT_KEY','YUUMI_SUBSCRIPTION_NOT_FOUND','addObject','RxDisposable','Optional','some','tag','clearInterval','transformMutation','exhaustSavingTask','ILocalStorageService','RECT','_handleHover','startRow','CONFLICT','_unitStatus','stringify','_transformPreviousActiveRange','getRangePointData','_backgroundColor','makeDirty','getColorFromTheme','YUUMI_ALL_TABLES_IS_INVALID','DocCollaborationEntity','AWAITING','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','COLORS','subscribeEvent','ENSURE_SNAPSHOT_EXECUTION','backgroundColor','SYNCED','amd','onPointerLeave$','set','ILocalCacheService','UniverCore','drawWith','DOC_RANGE_TYPE','_themeService','UNAUTHENTICATED','defs','INVITE_CODE_HAS_BEEN_UES','requireSession','YUUMI_TABLE_NOT_FOUND_IN_UNIT','addHandlerCallback','useRef','asObservable','redoState','symbol','error','_localStorageService','beginPath','focused$','href','range','url(#$1','Subject','dispose$','startsWith','_name','_transformService','resize','useCallback','search','post','APPLY_PERMISSION_DENIED','_getMergeRange','Failed','runId','getDocRanges','deserializeRangeWithSheet','random','_onCursorDelete','SheetSkeletonManagerService','_createSocketURL','univer-flex\x20univer-items-center','loadUnit','IRenderManagerService','textRanges','4360GfQyaj','ICommandService','_transformHistoryAndStateStack','IBeforeCloseService','APPLY_NON_SEQUENTIAL_REVISION','serializeRangeWithSheet','concat','8570IFZBmT','skeleton','_initStatusComponent','getLocalCacheKey','_toggleOnline','_getSheetObject','IUniverInstanceService','collaboration-client.offline-data-not-saved','onTransformChange$','_document','_scheduleClearOtherTimer','CommandType','Plugin','UNIVER_SHEET','RemoveColCommandId','TRANSFORM_CHANGE_OBSERVABLE_TYPE','params','react','getCurrent','on-line-icon','OffLineIcon','isActive','CollaborationSocketService','ILogService','subunit','UniverInstanceType','startColumn','takeUntil','addObjects','disableLocalCache','getSheetId','JOIN_ROOM_FAILED','toStringTag','_labelPosition','_status$','0\x200\x2016\x2016','918069KuCCeN','onStarting','IMessageService','sheetID','forEach','setUndoRedoMutationParamsCache','transformIMECache','NodePositionConvertToRectRange','trim','_initDependencies','replaceDocRanges','_eventUnsubscribe','InsertColCommandId','getUnitStatus$','_updateCollabCursors','PERMISSION_DENIED','_saveCache','DataLoaderService','type','UniverRpc','_docClipboardService','function','_setupBeforeClosingHandler','SetDocZoomRatioOperation','setShapeProps','_collabSessionService','event$','_colorIndex','_getScale','executionId','getItem','get','indexOf','next','propertyIsEnumerable','path','generateRandomId','DeleteRangeMoveUpCommandId','executeCommand','roomMembers$','registerComponent','activeSheet$','RefRangeService','call','measureText','object','M0\x200H16V16H0z','collabStatus.fetchMiss','_cursorShapes','onMouseMove','editingUnit','debounce','collabStatus.notCollab','UniverSheetsUi','NOT_FOUND','handleInsertRangeMoveRight','HEADER_MENU','size','Disposable','_commandService','save','@univerjs/drawing','fill','_lastPointer','SNAPSHOT_HAS_BEEN_REMOVED','INTERNAL_ERROR','delete','getUnitId','setParam','_messageService','InsertRangeMoveRightCommandId','saveOfflineData','green.600','Vector2','svg','DeleteRangeMoveLeftCommandId','@univerjs/docs','UniverDocs','init','from','cursorInfo$','session.connection-failed','UniverSheets','colorChannel1','_removeClearOtherTimer','_scene','on-line-icon_clip0_910_349','memberID','_cursor','switchMap','Inject','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getMember','_id','_textBubble','session.will-retry','cursorInfo','_heartbeatTimer','_urlService','ranges','TEXT_RANGE_LAYER_INDEX','LICENSE_IMPORT_SIZE_EXCEEDED','registerBeforeClose','none','APPLY_REVISION_CONFILICT','clsx','getMemberID','INVITE_CODE_ALREADY_BOUND','_unitOnClients','_toggleOffline','_localeService','_cachedData','setItem','DesktopCollaborationStatusDisplayController','fillText','UNIVER_DOC','_draw','eventID','618026kBNHGy','_ensureSubject','origin','createInstance','129556Kksabh','CollaborationController','unshift','push','getVpScrollXYInfoByPosToVp','black','row','useObservable','defineProperty','_localCacheService','_uiPartsService','bottom','subscribe','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','data','_collabCursorState$','CollaborationEvent','currentTheme$','_handleLeaveEvent','toString','_docStateChangeManagerService','@univerjs-pro/collaboration','fromEventSubject','ONLINE','find','deepClone','transformByState','@univerjs/design','YUUMI_AI_RUN_FAILED','_online','send','UniverProCollaborationClientUi','_context','_initEntityListener','_docTransformIMECacheService','toRgbString','collabStatus.conflict','_startSheetCollabCursor','enableLocalCache','RemoteUniscriptService','_render','getUndoRedoMutationParamsCache','unitId','@univerjs/network','status$','YUUMI_CONNECTOR_URL_NOT_FOUND','white','setAlpha','jsx','CHANGESET_REVISION_CONFILICT','collab-text-range-','getParam','_drawTextRange','_session','collaboration.single-unit.warning','_hover','invokeId','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','LOCAL_CACHE_INTERVAL','values','yellow.400','_initCommandExecutedListener','MemberService','getTypeOfUnitAdded$','getValue','DEFAULT_WS_SESSION_TICKET_URL','_docSyncEditingCollabCursorService','MOBILE_VERIFY_CODE_MISMATCH','getRenderById','registerRenderModule','DocIMEInputManagerService','displayName','div','fillRule','max','INVITE_CODE_REQUIRED','closePath','onPointerEnter$','SessionStatus','_handleEvent','Injector','_imageIoService','UniverIcon','_beforeCloseService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_getSaveTimeout','_collaborationController','_collaborationUIEventService','_anchor','_saveTaskMap','HTTPService','_initStatusListener','has','WebBrowserSingleActiveUnitService','_clearOtherTimers','RemoveRowCommandId','_registerDependencies','RevisionService','ThemeService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_dataLoaderService','text','@univerjs/sheets-ui','LICENSE_MAX_UNITS_EXCEEDED','code','handleDeleteRangeMoveUp','Unknown\x20user','getActiveSheet','UNDEFINED','[CollaborationDataLoaderController]','DisposableCollection','UniverDesign','_assignedColors','_handleJoinEvent','Shape','currentSkeleton$','arc','jiqing.500','doc.mutation.rich-text-editing','#FFF','_instanceService','_memberService','collab-client.tooltip.reconnect','lineTo','WECHAT_HAS_BEEN_BOUND','getViewport','updateOfflineData','MoveRangeCommandId','pipe','_initResize','_refRangeService','_colorAssignService','IRemoteInstanceService','_univerInstanceService','getOwnPropertySymbols','prototype','TOO_MANY_REQUESTS','urlChange$','Tools','debounceTime','_onCursorUpdate','location','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','collab-rect-range-','_injector','isTransformMutationFailure','clearTimeout','LocaleService','getAncestorScale','6894IIMZqU','ISnapshotServerService','application/json','LICENSE_DISTRO_REJECTED','clipPath','getCellPositionByOffset','IURLService','debug','getStateCache','collabStatus.synced','CollaborationSessionService','DocSkeletonManagerService','newValue','http://www.w3.org/2000/svg','filter','@univerjs/ui','UniverCollaborationClientUIPlugin','with','IConfigService','font','BehaviorSubject','attrs','translate(.97)','distinctUntilChanged','@univerjs/engine-formula','COMPLETION_FINISHED','createIdentifier','touchDependencies','_sheetSkeletonManagerService','useDependency','column','_setupSubUnitSync','getOwnPropertyDescriptor','setTimeout','url(#on-line-icon_clip0_910_349)','flatMap','CONNECTOR_DATA_TOO_LARGE','mutations','_disabled','_anchorDot','CollaborationStatus','isTransformMutationsWithChangesetSuccess'];_0xf519=function(){return _0x15b8f8;};return _0xf519();}
|
|
1
|
+
function _0x1bfb(_0x4d2536,_0x3ac9aa){const _0x3f6bbe=_0x3f6b();return _0x1bfb=function(_0x1bfbd8,_0x56e38b){_0x1bfbd8=_0x1bfbd8-0x6f;let _0x59e79f=_0x3f6bbe[_0x1bfbd8];return _0x59e79f;},_0x1bfb(_0x4d2536,_0x3ac9aa);}function _0x3f6b(){const _0x5a7927=['_heartbeatTimer','IRenderManagerService','onMouseMove','_cursors','application/json','clipPath','_uiPartsService','_imageIoService','getFocusedUnit','getParam','6986084QulsrP','purple.300','YUUMI_UNABLE_LOAD_URL','xlink:href','CollaborationDataLoaderController','setAlpha','connectInjector','getOffsetConfig','getTypeOfUnitAdded$','unitId','IMessageService','UniverDocs','_setupSubUnitSync','off-line-icon','combineLatest','assign','DependentOn','white','_drawTextRange','className','getCurrentRevOfUnit','setActiveRange','length','RemoveColCommandId','transformRemoteChangeset','452990qEaveG','DeleteRangeMoveUpCommandId','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','UNDEFINED','SUBMIT_CHANGESET_TIMEOUT','_onCursorUpdate','useRef','MOBILE_VERIFY_CODE_MISMATCH','_setupBeforeClosingHandler','UNAUTHENTICATED','_saveCache','distinctUntilChanged','currentColor','hasOwnProperty','_getAnchorBounding','_refRangeService','_scheduleClearOtherTimer','getUnitId','eventID','_ensureSubject','collaboration.closeRoom','_getScale','collabStatus.notCollab','stringify','function','EMAIL_VERIFY_CODE_MISMATCH','INTERNAL_ERROR','Subject','_eventUnsubscribe','idSuffix','collaboration-client-ui.config','_initEvent','searchParams','EffectRefRangId','UniverEngineRender','transformByState','USER_NOT_INVITED_CODE','height','Unknown\x20user','onLocalMutation','setStateCache','row','IConfigService','has','arc','symbol','TEXT_RANGE_LAYER_INDEX','Shape','_render','_dataLoaderService','_createSocketURL','restore','DocStateChangeManagerService','LICENSE_IMPORT_SIZE_EXCEEDED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','green.600','CONNECTOR_DATA_TOO_LARGE','colorChannel1','ThemeService','transform','_config','entries','startColumn','substring','UniverInstanceType','_removeClearOtherTimer','_online','_anchorDot','_cursor','DEFAULT_WS_SESSION_TICKET_URL','_localeService','ranges','transformMutation','APPLY_DUPLICATED','SOCKET_FAILED','_docSkeletonManagerService','DeleteRangeMoveLeftCommandId','saveImage','react','addHandlerCallback','addObject','push','_id','handleIRemoveCol','registerDependencies','post','UniverProCollaboration','concat','resize','selection','registerRefRange','origin','transformStateCache','params','isArray','some','icon','map','getDocRanges','random','unload','show','ISocketService','EMAIL_HAS_BEEN_BOUND','getValue','currentSkeleton$','UniverCore','CollaborationUIEventService','getTypeOfUnitDisposed$','newValue','collaboration-client.offline-data-not-saved','debug','@univerjs/docs','0\x200\x2017\x2016','YUUMI_ALL_TABLES_IS_INVALID','getViewport','@univerjs/design','handleDeleteRangeMoveUp','PY_RUNTIME_SCRIPT_ERROR','_collabCursorState$','replaceState','FromArray','WebSocketService','CLOSE_ROOM','_drawAnchor','_revisionService','call','fillRule','deepClone','round','session.will-retry','handleDeleteRangeMoveLeft','subscribeEvent','_transformUndoRedoStack','filter','INVALID_ARGUMENT','handleInsertRangeMoveRight','getMemberID','MessageType','collabStatus.synced','NOT_FOUND','DisposableCollection','_initResize','min','_shapes','jsxs','width','_scheduleHeartbeat','_sheetSkeletonManagerService','_docTransformSelectionsService','Optional','NodePositionConvertToRectRange','column','translate(.97)','Tools','handleInsertCol','@univerjs/docs-ui','measureText','m1Prime','endRow','createElement','off-line-icon_clip0_910_343','Injector','MemberService','toStringTag','urlChange$','SetWorksheetActivateCommand','_range','UniverNetwork','_onCursorDelete','loadOfflineData','unitID','LICENSE_DISTRO_REJECTED','memberID','_init','clearInterval','loadUnit','collabStatus.offline','getCollabCursors$','React','setConfig','status$','@univerjs-pro/collaboration','lineTo','_registerRenderDependencies','yellow.400','set','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_onRefRangeChange','whenReady','displayName','disposeUnit','session.connection-failed','Failed','isActive','Workbook','type','_localCacheService','getRangePointData','code','rxjs','extend','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','onRendered','SessionStatus','_transformPreviousActiveRange','shareReplay','_hideTimer','size','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_collabCursorController','updateOfflineData','_toggleOffline','getUndoRedoMutationParamsCache','HTTPService','actions','DocCollaborationEntity','session.collaboration-timeout','operators','hovered','collab-rect-range-','sessionStatus$','activeSheet$','YUUMI_SUBSCRIPTION_NOT_FOUND','hide','UniverDesign','_injector','CollaborationStatus','focused$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','collabCursorState$','send','onTransformChange$','LocaleService','RemoteUniscriptService','pushState','LOCAL_CACHE_INTERVAL_KEY','5132166zTyhZU','syncEditingCollabCursor','jsx','UNIVER_DOC','INVALID_INVITE_CODE','_anchor','tag','_transformHistoryAndStateStack','children','OffLineIcon','_getSheetObject','sheetID','UniverRpc','forEach','drawWith','FETCH_MISS','getOwnPropertyDescriptor','Rectangle','_urlService','debounce','replaceDocRanges','registerBeforeClose','IUniverInstanceService','SNAPSHOT_INVALID_SNAPSHOT','mask','dispose','295416ILuSmT','DOC_RANGE_TYPE','saveOfflineData','use','rgba(255,\x20255,\x20255,\x200.01)','SheetSkeletonManagerService','color','handleInsertRangeMoveDown','executionId','unsubscribe','_getMergeRange','attrs','body','RefRangeService','_session','_refreshCollabCursors','subscribe','triggerDblclick','invokeId','values','setShapeProps','CommandType','_toggleOnline','SheetCollabCursorShape','Warning','@univerjs/ui','CONFLICT','SNAPSHOT_HAS_BEEN_REMOVED','#FFF','entityInit$','_textBubble','_beforeCloseService','fillText','defs','_unitStatus','/run/','BuiltInUIPart','_commandService','save','BrowserCollaborationSocketService','get','history','16194216CJQZnH','none','_removeCollabCursors','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','data','ACTIVE_UNIT_EVENT_CHANNEL','OnLineIcon','skeleton','defIds','createIdentifier','handleMoveRange','YUUMI_AI_RUN_FAILED','ONLINE','_configService','getOwnPropertySymbols','indexOf','Error','_initStatusComponent','moveTo','SOCKET_FAILED_RETRY','RemoveRowCommandId','url(#off-line-icon_clip0_910_343)','redoState','backgroundColor','complete','OTHER_CLIENT_EDITING','RevisionService','MOBILE_HAS_BEEN_BOUND','_clearOtherTimers','@univerjs/sheets','CollaborationUIEventId','_localStorageService','RxDisposable','_messageService','getColor','WECHAT_HAS_BEEN_BOUND','UniverDocsUi','_status$','disposeWithMe','url(#on-line-icon_clip0_910_349)','ColorKit','name','from','MUTATION','_assignedColors','string','SetTextSelectionsOperation','_updateLocalCursor','_collaborationUIEventService','getSheetId','find','_themeService','UPDATE_CURSOR','black','APPLY_REJECT','_colorAssignService','href','div','collabStatus.syncing','collabStatus.fetchMiss','with','NOT_COLLAB','COMPLETION_FINISHED','IUIPartsService','PERMISSION_DENIED','toDisposable','runId','roomMembers$','_docSkeleton','_docTransformStateCacheService','_updateURLWithCurrentState','setUndoRedoMutationParamsCache','univerjs-icon\x20univerjs-icon-','setParam','getSkeleton','APPLY_PERMISSION_DENIED','startRow','undoState','YUUMI_NO_CUBOID_FOR_QUESTION','APPLY_REVISION_CONFILICT','search','Module','result','VIEW_MAIN','_registerDependencies','collab-text-range-','prototype','INVITE_CODE_REQUIRED','closePath','YUUMI_ASYNCIO_CANCELLED','_selfUnitIDs','merge','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_scheduleSaving','takeUntil','clearTimeout','trim','_initCommandExecutedListener','svg','error','currentTheme$','_memberService','text','_hovered','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','on-line-icon','getConfig','DesktopCollaborationStatusDisplayController','transformSelections','_draw','on-line-icon_clip0_910_349','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','fromEventSubject','transformIMECache','asObservable','_handleLeaveEvent','mapTo','getVpScrollXYInfoByPosToVp','assignAColorForMemberID','getSheetObject','getColorFromTheme','CollaborationSessionService','_docStateChangeManagerService','Disposable','_getSessionTicket','enableLocalCache','getLocalCacheKey','beginPath','next','isTransformMutationsWithChangesetSuccess','ICommandService','onPointerMove$','doc.mutation.rich-text-editing','ILocalCacheService','Vector2','collab-client.tooltip.reconnect','removeParam','url(#$1','_renderManagerService','setItem','UnitStatus','generateRandomId','_scene','CollaborationController','Rect','CHANGESET_REVISION_CONFILICT','popstate','deserializeRangeWithSheet','range','toString','APPLY_NON_SEQUENTIAL_REVISION','add','replace','_unitOnClients','_collaborationController','_initStatusListener','LOGIN_FAILED','setTimeout','object','m2Prime','flatMap','OTHER_CLIENTS_EDITING','_notificationService','toRgbString','mutations','max','UniverProCollaborationClient','sessionTicket','addEventListener','SYNCED','_lastPointer','USERS_LEAVE','_handleEvent','jiqing.500','@univerjs/engine-formula','then','_handleHover','propertyIsEnumerable','_hover','INVITE_CODE_ALREADY_BOUND','pipe','...','_syncEditingCollabCursorService','_roomMembers$','source','textRanges','imageSourceType','YUUMI_URL_COL_OUT_OF_RANGE','_docTransformIMECacheService','UniverIcon','bottom','@univerjs/network','cursorInfo$','switchMap','InsertColCommandId','unshift','font','UNIVER_SHEET','getMember','INVITE_CODE_HAS_BEEN_UES','IDocClipboardService','_handleJoinEvent','_startSheetCollabCursor','DocIMEInputManagerService','_disabled','ILocalStorageService','@univerjs/sheets-ui','DocSelectionManagerService','pluginName','event$','Inject','_cursorInfo$','fill','_docClipboardService','_httpService','_collabSessionService','UNRECOGNIZED','sheetId','collab-text-anchor-','parse','red.300','LICENSE_EXPORT_SIZE_EXCEEDED','_send','onPointerEnter$','getAncestorScale','executeCommand','wsSessionTicketUrl','COLORS','Tooltip','_docSyncEditingCollabCursorService','storage','editingUnit','_labelPosition','subunit','registerRenderModule','registerComponent','includes','getSheetBySheetId','_colorIndex','createInstance','onCommandExecuted','onStarting','isTransformMutationFailure','engine','@univerjs-pro/collaboration-client','TEXT','_color','[CollaborationDataLoaderController]','setInterval','RichTextEditingMutation','BehaviorSubject','IBeforeCloseService','RegularPolygon','UniverCollaborationClientUIPlugin','_entityInit$','_initEntityListener','InsertRowCommandId','evenodd','getUniverSheetInstance','path','INotificationService','LICENSE_MAX_UNITS_EXCEEDED','react/jsx-runtime','location','_handleHeartbeatEvent','ITransformService','dispose$','ILogService','_cachedData','getCoordByCell','findNodePositionByCharIndex','cursorInfo','exhaustSavingTask','_backgroundColor','_saveTaskMap','override','_transformService','top','defineProperty','_name','_getSaveTimeout','1em','RECT','getUnhiddenWorksheets','1016920rWrqBt','ALREADY_EXISTS','YUUMI_TABLE_NOT_FOUND_IN_UNIT','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','ENSURE_SNAPSHOT_EXECUTION','debounceTime','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','fromEvent','forwardRef','isEditing','_univerInstanceService','_initDependencies','DocSkeletonManagerService','getUnitStatus$','makeDirty','_context','UniverDrawing','@univerjs/engine-render','key','getActiveSheet','getActiveRange','ticket','exports','contains','useDependency','rxjs/operators','NO_OTHER_CLIENTS_EDITING','fillStyle','addObjects','createSocket','unit','getStateCache','TOO_MANY_REQUESTS','requireSession','_logService','_cursorShapes','delete','M0\x200H16V16H0z','CollaborationEvent','_entities','_updateCollabCursors','_instanceService','2246516jhRHDd','IURLService','InsertRangeMoveRightCommandId','SHEET_VIEWPORT_KEY','YUUMI_RATE_OVER_LIMIT','init','permission.title','useCallback','roomMembers','5UCVhAl'];_0x3f6b=function(){return _0x5a7927;};return _0x3f6b();}(function(_0x47674f,_0x53209b){const _0x3ae961=_0x1bfb,_0x431aa7=_0x47674f();while(!![]){try{const _0x8b4571=parseInt(_0x3ae961(0x213))/0x1+-parseInt(_0x3ae961(0x1bc))/0x2+-parseInt(_0x3ae961(0x76))/0x3+-parseInt(_0x3ae961(0x1e6))/0x4*(-parseInt(_0x3ae961(0x1ef))/0x5)+-parseInt(_0x3ae961(0x300))/0x6+-parseInt(_0x3ae961(0x1fa))/0x7+parseInt(_0x3ae961(0xa0))/0x8;if(_0x8b4571===_0x53209b)break;else _0x431aa7['push'](_0x431aa7['shift']());}catch(_0x15268e){_0x431aa7['push'](_0x431aa7['shift']());}}}(_0x3f6b,0x8d41f),function(_0x330c26,_0x51112a){const _0x14ece9=_0x1bfb;typeof exports==_0x14ece9(0x13e)&&typeof module<'u'?_0x51112a(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0x14ece9(0x22b)&&define['amd']?define([_0x14ece9(0x1d2),_0x14ece9(0x194),'@univerjs/core',_0x14ece9(0x1cd),_0x14ece9(0x15f),_0x14ece9(0x2af),'@univerjs/drawing',_0x14ece9(0x2db),_0x14ece9(0x2c9),_0x14ece9(0x283),_0x14ece9(0x14e),_0x14ece9(0xbd),_0x14ece9(0x1d5),_0x14ece9(0x16e),_0x14ece9(0x1a6),_0x14ece9(0x8f),_0x14ece9(0x287),_0x14ece9(0x261),'@univerjs/rpc'],_0x51112a):(_0x330c26=typeof globalThis<'u'?globalThis:_0x330c26||self,_0x51112a(_0x330c26['UniverProCollaborationClientUi']={},_0x330c26[_0x14ece9(0x146)],_0x330c26[_0x14ece9(0x27d)],_0x330c26[_0x14ece9(0x235)],_0x330c26[_0x14ece9(0x2bb)],_0x330c26[_0x14ece9(0xc4)],_0x330c26[_0x14ece9(0x1cc)],_0x330c26[_0x14ece9(0x2db)],_0x330c26[_0x14ece9(0x269)],_0x330c26[_0x14ece9(0x205)],_0x330c26['UniverEngineFormula'],_0x330c26['UniverSheets'],_0x330c26[_0x14ece9(0x2db)][_0x14ece9(0x2ed)],_0x330c26['UniverSheetsUi'],_0x330c26[_0x14ece9(0x2c6)],_0x330c26['UniverUi'],_0x330c26[_0x14ece9(0x2f4)],_0x330c26[_0x14ece9(0x2c6)],_0x330c26[_0x14ece9(0x30c)]));}(this,function(_0x4e590a,_0x4d8e7c,_0x3c1804,_0x214f70,_0x3ceccb,_0x4aced0,_0x218659,_0x23318b,_0x4b9b03,_0x3c10b0,_0x5f241f,_0x441e63,_0x46a0e3,_0x476013,_0x508896,_0xb7c596,_0x2e0a42,_0x264b32,_0x9f1645){'use strict';const _0x2a4230=_0x1bfb;var _0x380276=Object[_0x2a4230(0x1b6)],_0x1c82e5=(_0x15d054,_0x236b24,_0x1c9404)=>_0x236b24 in _0x15d054?_0x380276(_0x15d054,_0x236b24,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1c9404}):_0x15d054[_0x236b24]=_0x1c9404,_0x275745=(_0x1bed32,_0x492827,_0x10bca9)=>_0x1c82e5(_0x1bed32,typeof _0x492827!=_0x2a4230(0x240)?_0x492827+'':_0x492827,_0x10bca9),_0x3d403f=Object['getOwnPropertyDescriptor'],_0x1fe922=(_0x5553a3,_0x5e7d42,_0x558daa,_0x109cf6)=>{const _0xc8ea23=_0x2a4230;for(var _0x17b5dd=_0x109cf6>0x1?void 0x0:_0x109cf6?_0x3d403f(_0x5e7d42,_0x558daa):_0x5e7d42,_0x44928a=_0x5553a3[_0xc8ea23(0x210)]-0x1,_0x1f6e35;_0x44928a>=0x0;_0x44928a--)(_0x1f6e35=_0x5553a3[_0x44928a])&&(_0x17b5dd=_0x1f6e35(_0x17b5dd)||_0x17b5dd);return _0x17b5dd;},_0x5ad8e6=(_0x12c773,_0x40f69f)=>(_0xe3e779,_0x53db87)=>_0x40f69f(_0xe3e779,_0x53db87,_0x12c773);let _0x34b7fc=class extends _0x3c1804['RxDisposable']{constructor(_0x16105d,_0x2bf1a2){const _0x37d369=_0x2a4230;super(),this[_0x37d369(0x175)]=_0x16105d,this[_0x37d369(0x1f7)]=_0x2bf1a2,this[_0x37d369(0x2c1)]();}['_init'](){const _0x43380d=_0x2a4230,_0x3092ee=this;this[_0x43380d(0xc6)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x5dbdde=>{const _0x5c014f=_0x43380d,_0x11312f=await _0x3092ee[_0x5c014f(0x1f7)][_0x5c014f(0x260)](_0x5dbdde);return _0x11312f?{'source':_0x11312f[_0x5c014f(0x158)],'imageSourceType':_0x11312f[_0x5c014f(0x15a)]}:null;}}));}};_0x34b7fc=_0x1fe922([_0x5ad8e6(0x0,_0x4aced0[_0x2a4230(0x168)]),_0x5ad8e6(0x1,_0x218659['IImageIoService'])],_0x34b7fc);const _0x5d0736=[_0x2a4230(0x1fb),_0x2a4230(0x14d),_0x2a4230(0x24a),_0x2a4230(0x17c),'blue.400',_0x2a4230(0x2cc)];class _0x7baa89 extends _0x3c1804[_0x2a4230(0x11b)]{constructor(){const _0x5358ee=_0x2a4230;super(...arguments),_0x275745(this,_0x5358ee(0xcc),new Map()),_0x275745(this,_0x5358ee(0x18e),0x0);}[_0x2a4230(0x116)](_0x590c55){const _0x38326a=_0x2a4230;if(this[_0x38326a(0xcc)]['has'](_0x590c55))return this[_0x38326a(0xcc)]['get'](_0x590c55);const _0x15b059=_0x5d0736[this['_colorIndex']];return this[_0x38326a(0x18e)]=(this[_0x38326a(0x18e)]+0x1)%_0x5d0736[_0x38326a(0x210)],this[_0x38326a(0xcc)][_0x38326a(0x2cd)](_0x590c55,_0x15b059),_0x15b059;}}function _0x16b563(_0x125c96){const _0x68dc4c=_0x2a4230;let _0x3f2d17='';for(const _0x96525b of _0x125c96){const {startOffset:_0x4a32e5,endOffset:_0x5086b0,isActive:_0x33d863,rangeType:_0x2eeac8,segmentId:_0xe46ddf,segmentPage:_0x910b4d}=_0x96525b;_0x3f2d17[_0x68dc4c(0x210)]&&(_0x3f2d17+=','),_0x3f2d17+=_0x4a32e5+':'+_0x5086b0+':'+(_0x33d863?'1':'0')+':'+_0x2eeac8+':'+_0xe46ddf+':'+_0x910b4d;}return _0x3f2d17;}function _0x2357db(_0xd96c48){const _0x325e9c=_0x2a4230,_0x34d425=_0xd96c48['split'](','),_0x464a68=[];for(const _0x37bf30 of _0x34d425){const [_0x232a32,_0x447c5f,_0x2fdf8f,_0x370c83,_0x4e62d1,_0x2bcdc7]=_0x37bf30['split'](':');_0x464a68[_0x325e9c(0x264)]({'startOffset':Number(_0x232a32),'endOffset':Number(_0x447c5f),'collapsed':_0x232a32===_0x447c5f,'isActive':_0x2fdf8f==='1','rangeType':_0x370c83===_0x3c1804[_0x325e9c(0x77)][_0x325e9c(0x195)]?_0x3c1804[_0x325e9c(0x77)][_0x325e9c(0x195)]:_0x3c1804[_0x325e9c(0x77)][_0x325e9c(0x1ba)],'segmentId':typeof _0x4e62d1==_0x325e9c(0xcd)?String(_0x4e62d1):'','segmentPage':Number(_0x2bcdc7!=null?_0x2bcdc7:-0x1)});}return _0x464a68[_0x325e9c(0x272)](_0x556dc1=>_0x556dc1[_0x325e9c(0x2d5)])||(_0x464a68[0x0][_0x325e9c(0x2d5)]=!0x0),_0x464a68;}class _0x149923 extends _0x3c1804[_0x2a4230(0xc0)]{constructor(){const _0x421fc4=_0x2a4230;super(...arguments),_0x275745(this,'_collabCursorState$',new _0x23318b[(_0x421fc4(0x19a))](null)),_0x275745(this,_0x421fc4(0x2f9),this[_0x421fc4(0x28a)][_0x421fc4(0x112)]());}[_0x2a4230(0x301)](_0x1a0b5b){const _0x26a70f=_0x2a4230,{unitID:_0x3314c9,memberID:_0x3671f5,textRanges:_0x176b10}=_0x1a0b5b,_0x16b09c=_0x16b563(_0x176b10);if(_0x16b09c==='')return;const _0x295e34={'unitID':_0x3314c9,'memberID':_0x3671f5,'selection':_0x16b09c};this[_0x26a70f(0x28a)][_0x26a70f(0x120)](_0x295e34);}}var _0x4d7bdb=Object[_0x2a4230(0x310)],_0x309cb6=(_0x191df8,_0x3d7ed,_0x58ca6a,_0x5c3fea)=>{const _0x586a4d=_0x2a4230;for(var _0x256c72=_0x5c3fea>0x1?void 0x0:_0x5c3fea?_0x4d7bdb(_0x3d7ed,_0x58ca6a):_0x3d7ed,_0x503230=_0x191df8[_0x586a4d(0x210)]-0x1,_0xe4bf9f;_0x503230>=0x0;_0x503230--)(_0xe4bf9f=_0x191df8[_0x503230])&&(_0x256c72=_0xe4bf9f(_0x256c72)||_0x256c72);return _0x256c72;},_0x5def13=(_0x288c71,_0x54703b)=>(_0x251096,_0x418cfb)=>_0x54703b(_0x251096,_0x418cfb,_0x288c71);const _0x8abd4f=0x12c,_0xd996b=0x64;let _0xe43420=class extends _0x3c1804[_0x2a4230(0xc0)]{constructor(_0x64fe76,_0x5fd131,_0x1b7b1d,_0x3283e6,_0x1723de,_0x33b8d4,_0x4490f2,_0x27cbae,_0x280b4f){const _0x35210a=_0x2a4230;super(),_0x275745(this,_0x35210a(0x255),!0x1),_0x275745(this,_0x35210a(0x2c1),!0x1),_0x275745(this,_0x35210a(0x173),new _0x23318b[(_0x35210a(0x19a))](new Map())),_0x275745(this,_0x35210a(0x160),this[_0x35210a(0x173)][_0x35210a(0x112)]()),_0x275745(this,_0x35210a(0x157),new _0x23318b[(_0x35210a(0x19a))]([])),_0x275745(this,'roomMembers$',this['_roomMembers$']['pipe'](_0x23318b[_0x35210a(0x1c1)](_0x8abd4f))),_0x275745(this,'_updateLocalCursor',_0x3c1804[_0x35210a(0x6f)](_0x4152e2=>{const _0xde52e=_0x35210a,_0x2c51f8={'eventID':_0x4b9b03['CollaborationEvent'][_0xde52e(0xd4)],'data':{'unitID':this[_0xde52e(0x2be)],'memberID':this[_0xde52e(0x84)][_0xde52e(0x29c)](),'selection':_0x16b563(_0x4152e2)}};this[_0xde52e(0x84)][_0xde52e(0x2fa)](_0x2c51f8,this[_0xde52e(0x2be)]);},_0xd996b)),(this['unitID']=_0x64fe76,this[_0x35210a(0x84)]=_0x5fd131,this[_0x35210a(0x2f5)]=_0x1b7b1d,this[_0x35210a(0xd7)]=_0x3283e6,this[_0x35210a(0x105)]=_0x1723de,this[_0x35210a(0x156)]=_0x33b8d4,this[_0x35210a(0x1b4)]=_0x4490f2,this[_0x35210a(0x1c6)]=_0x27cbae,this['_commandService']=_0x280b4f);}get[_0x2a4230(0x1af)](){const _0x5f17e3=_0x2a4230;return this[_0x5f17e3(0x173)][_0x5f17e3(0x27b)]();}get[_0x2a4230(0x1ee)](){return this['_roomMembers$']['getValue']();}[_0x2a4230(0x75)](){const _0x5839ab=_0x2a4230;super[_0x5839ab(0x75)](),this[_0x5839ab(0x173)][_0x5839ab(0x120)](new Map()),this[_0x5839ab(0x173)][_0x5839ab(0xb8)](),this['_roomMembers$']['next']([]),this[_0x5839ab(0x157)][_0x5839ab(0xb8)]();}[_0x2a4230(0x1eb)](){const _0x9dbda5=_0x2a4230;this[_0x9dbda5(0x2c1)]||(this[_0x9dbda5(0x2c1)]=!0x0,this[_0x9dbda5(0x84)][_0x9dbda5(0x2f0)][_0x9dbda5(0x154)](_0x23318b['takeUntil'](this['dispose$']))[_0x9dbda5(0x86)](_0x448df7=>{const _0x213078=_0x9dbda5;_0x448df7===_0x4d8e7c[_0x213078(0x2df)][_0x213078(0xac)]?this[_0x213078(0x8c)]():this['_toggleOffline']();}),this['_session'][_0x9dbda5(0x171)][_0x9dbda5(0x154)](_0x23318b[_0x9dbda5(0xfe)](this[_0x9dbda5(0x1aa)]))[_0x9dbda5(0x86)](_0x20eb96=>{const _0xd029e1=_0x9dbda5,_0x17a134=_0x20eb96[_0xd029e1(0x225)];_0x17a134===_0x4b9b03[_0xd029e1(0x1e2)][_0xd029e1(0xd4)]&&this['_onCursorUpdate'](_0x20eb96),_0x17a134===_0x4b9b03[_0xd029e1(0x1e2)]['USERS_LEAVE']&&this[_0xd029e1(0x2bc)](_0x20eb96);}),this[_0x9dbda5(0xc6)](this[_0x9dbda5(0x9b)][_0x9dbda5(0x190)](_0x2674b0=>{const _0x188ee6=_0x9dbda5,_0x366938=_0x2674b0[_0x188ee6(0x270)];_0x366938!=null&&this[_0x188ee6(0x255)]&&_0x2674b0['id']===_0x3c10b0[_0x188ee6(0xce)]['id']&&_0x366938['unitId']===this['unitID']&&_0x366938[_0x188ee6(0x1c5)]===!0x1&&_0x366938[_0x188ee6(0x25a)][_0x188ee6(0x210)]>0x0&&this['_updateLocalCursor'](_0x366938[_0x188ee6(0x25a)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x9dbda5(0x154)](_0x23318b[_0x9dbda5(0xfe)](this['dispose$']))[_0x9dbda5(0x86)](_0x4a7b77=>{const _0x4191b6=_0x9dbda5;if((_0x4a7b77==null?void 0x0:_0x4a7b77[_0x4191b6(0x2be)])!==this[_0x4191b6(0x2be)])return;const _0x389cc2={'eventID':_0x4b9b03[_0x4191b6(0x1e2)][_0x4191b6(0xd4)],'data':_0x4a7b77};this[_0x4191b6(0x218)](_0x389cc2);}),this['disposeWithMe'](this[_0x9dbda5(0x9b)][_0x9dbda5(0x190)](_0x767cf7=>{const _0x597b79=_0x9dbda5;if(_0x767cf7[_0x597b79(0x270)]==null)return;const _0x4c8bd6=_0x767cf7['params'];if(_0x767cf7['id']!==_0x3c10b0[_0x597b79(0x199)]['id']||_0x4c8bd6[_0x597b79(0x203)]!==this['unitID'])return;const _0x3277c3={'id':_0x597b79(0x124),'params':_0x4c8bd6},_0x2115a5=this['cursorInfo'];for(const [_0x1952a5,_0x147dd1]of _0x2115a5){const _0x27c339={'id':_0x597b79(0x124),'params':{'unitId':this[_0x597b79(0x2be)],'actions':null,'textRanges':_0x147dd1[_0x597b79(0x25a)]}},_0x248729=this[_0x597b79(0x1b4)][_0x597b79(0x25b)](_0x3277c3,_0x27c339,!0x1);if(_0x4b9b03[_0x597b79(0x192)](_0x248729))throw _0x248729['error'];_0x2115a5[_0x597b79(0x2cd)](_0x1952a5,{..._0x147dd1,'ranges':_0x248729['m2Prime'][_0x597b79(0x270)][_0x597b79(0x159)]});}queueMicrotask(()=>{const _0x410eba=_0x597b79;this[_0x410eba(0x173)][_0x410eba(0x120)](_0x2115a5);});})));}['_onCursorUpdate'](_0x1af999){const _0x1c1be0=_0x2a4230;var _0x4eb9c3,_0x5d328c;const {memberID:_0x162b4d,selection:_0x418822}=_0x1af999[_0x1c1be0(0xa4)],_0x57d696=_0x2357db(_0x418822),_0x466e9c=(_0x5d328c=(_0x4eb9c3=this[_0x1c1be0(0x105)][_0x1c1be0(0x166)](this[_0x1c1be0(0x2be)],_0x162b4d))==null?void 0x0:_0x4eb9c3[_0x1c1be0(0xc9)])!=null?_0x5d328c:_0x1c1be0(0x239),_0x16f604={'color':this[_0x1c1be0(0xd7)][_0x1c1be0(0x116)](_0x162b4d),'name':_0x466e9c,'ranges':_0x57d696},_0x86def6=this[_0x1c1be0(0x1af)];_0x86def6['set'](_0x162b4d,_0x16f604),this[_0x1c1be0(0x173)][_0x1c1be0(0x120)](_0x86def6);}[_0x2a4230(0x2bc)](_0x11f519){const _0x5dc8c1=_0x2a4230,{memberID:_0x21d0c8}=_0x11f519[_0x5dc8c1(0xa4)],_0x312cbe=this[_0x5dc8c1(0x1af)];_0x312cbe[_0x5dc8c1(0x1e0)](_0x21d0c8),this[_0x5dc8c1(0x173)][_0x5dc8c1(0x120)](_0x312cbe);}['_toggleOnline'](){const _0x59cc9d=_0x2a4230;var _0x16c87c;if(this[_0x59cc9d(0x255)]=!0x0,((_0x16c87c=this['_univerInstanceService'][_0x59cc9d(0x1f8)]())==null?void 0x0:_0x16c87c['getUnitId']())!==this[_0x59cc9d(0x2be)])return;const _0x271c9e=this[_0x59cc9d(0x2f5)][_0x59cc9d(0x9e)](_0x3c10b0[_0x59cc9d(0x16f)])[_0x59cc9d(0x275)]();Array[_0x59cc9d(0x271)](_0x271c9e)&&_0x271c9e[_0x59cc9d(0x210)]>0x0&&this[_0x59cc9d(0xcf)](_0x271c9e);}[_0x2a4230(0x2e7)](){this['_online']=!0x1;}};_0xe43420=_0x309cb6([_0x5def13(0x2,_0x3c1804[_0x2a4230(0x172)](_0x3c1804[_0x2a4230(0x2b5)])),_0x5def13(0x3,_0x3c1804[_0x2a4230(0x172)](_0x7baa89)),_0x5def13(0x4,_0x3c1804[_0x2a4230(0x172)](_0x4d8e7c[_0x2a4230(0x2b6)])),_0x5def13(0x5,_0x3c1804[_0x2a4230(0x172)](_0x149923)),_0x5def13(0x6,_0x4b9b03[_0x2a4230(0x1a9)]),_0x5def13(0x7,_0x3c1804[_0x2a4230(0x72)]),_0x5def13(0x8,_0x3c1804[_0x2a4230(0x122)])],_0xe43420);var _0x2a39ea=Object['getOwnPropertyDescriptor'],_0x209e9f=(_0x122f81,_0x3d4769,_0x22732a,_0x2f7fe8)=>{for(var _0x569ccb=_0x2f7fe8>0x1?void 0x0:_0x2f7fe8?_0x2a39ea(_0x3d4769,_0x22732a):_0x3d4769,_0x3fd904=_0x122f81['length']-0x1,_0x285981;_0x3fd904>=0x0;_0x3fd904--)(_0x285981=_0x122f81[_0x3fd904])&&(_0x569ccb=_0x285981(_0x569ccb)||_0x569ccb);return _0x569ccb;},_0x6eef53=(_0x4d68da,_0x374d4b)=>(_0x4398cb,_0x3075c8)=>_0x374d4b(_0x4398cb,_0x3075c8,_0x4d68da);const _0x1acebf=0x12c,_0x21d725=0x64,_0x52d308=()=>{let _0x3ce80c=[],_0x4087e4=!0x1;return _0x2e92ce=>{const _0x2eee88=_0x1bfb;_0x3ce80c[_0x2eee88(0x264)](_0x2e92ce),_0x4087e4||(_0x4087e4=!0x0,setTimeout(()=>{_0x3ce80c['forEach'](_0x7314b4=>_0x7314b4()),_0x3ce80c=[],_0x4087e4=!0x1;}));};};let _0x3b49f4=class extends _0x3c1804[_0x2a4230(0xc0)]{constructor(_0x11cdcd,_0x251285,_0xe2752f,_0x15e388,_0x3c013c,_0x13342c,_0x3366cb,_0x417020){const _0x39cc7c=_0x2a4230;super(),_0x275745(this,_0x39cc7c(0x255),!0x1),_0x275745(this,'_init',!0x1),_0x275745(this,_0x39cc7c(0x173),new _0x23318b[(_0x39cc7c(0x19a))](new Map())),_0x275745(this,'cursorInfo$',this[_0x39cc7c(0x173)][_0x39cc7c(0x112)]()),_0x275745(this,'_roomMembers$',new _0x23318b[(_0x39cc7c(0x19a))]([])),_0x275745(this,_0x39cc7c(0xe3),this[_0x39cc7c(0x157)][_0x39cc7c(0x154)](_0x23318b[_0x39cc7c(0x1c1)](_0x1acebf))),_0x275745(this,'_updateLocalCursor',_0x3c1804['debounce']((_0xc4ab2f,_0x5129da)=>{const _0xa372ad=_0x39cc7c,_0x3d3c7b={'eventID':_0x4b9b03[_0xa372ad(0x1e2)][_0xa372ad(0xd4)],'data':{'unitID':this['unitID'],'memberID':this[_0xa372ad(0x84)][_0xa372ad(0x29c)](),'selection':_0x5f241f['serializeRangeWithSheet'](_0xc4ab2f,_0x5129da[_0xa372ad(0x134)])}};this[_0xa372ad(0x84)][_0xa372ad(0x2fa)](_0x3d3c7b,this[_0xa372ad(0x2be)]);},_0x21d725)),(this[_0x39cc7c(0x2be)]=_0x11cdcd,this['_session']=_0x251285,this['_injector']=_0xe2752f,this[_0x39cc7c(0xd7)]=_0x15e388,this['_memberService']=_0x3c013c,this['_univerInstanceService']=_0x13342c,this[_0x39cc7c(0x9b)]=_0x3366cb,this[_0x39cc7c(0x222)]=_0x417020);}get[_0x2a4230(0x1af)](){return this['_cursorInfo$']['getValue']();}get[_0x2a4230(0x1ee)](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0xb355cb=_0x2a4230;super[_0xb355cb(0x75)](),this[_0xb355cb(0x173)][_0xb355cb(0x120)](new Map()),this[_0xb355cb(0x173)][_0xb355cb(0xb8)](),this[_0xb355cb(0x157)][_0xb355cb(0x120)]([]),this['_roomMembers$'][_0xb355cb(0xb8)]();}['init'](){const _0x40aa7e=_0x2a4230;this[_0x40aa7e(0x2c1)]||(this[_0x40aa7e(0x2c1)]=!0x0,this[_0x40aa7e(0x84)][_0x40aa7e(0x2f0)]['pipe'](_0x23318b[_0x40aa7e(0xfe)](this[_0x40aa7e(0x1aa)]))[_0x40aa7e(0x86)](_0x3fa38e=>{const _0x274179=_0x40aa7e;_0x3fa38e===_0x4d8e7c['SessionStatus'][_0x274179(0xac)]?this[_0x274179(0x8c)]():this['_toggleOffline']();}),this[_0x40aa7e(0x84)][_0x40aa7e(0x171)][_0x40aa7e(0x154)](_0x23318b[_0x40aa7e(0xfe)](this[_0x40aa7e(0x1aa)]))[_0x40aa7e(0x86)](_0x1415d4=>{const _0xcc6b68=_0x40aa7e,_0x589bf5=_0x1415d4[_0xcc6b68(0x225)];_0x589bf5===_0x4b9b03[_0xcc6b68(0x1e2)][_0xcc6b68(0xd4)]&&this[_0xcc6b68(0x218)](_0x1415d4),_0x589bf5===_0x4b9b03[_0xcc6b68(0x1e2)][_0xcc6b68(0x14b)]&&this[_0xcc6b68(0x2bc)](_0x1415d4);}),this[_0x40aa7e(0x2cf)](),this[_0x40aa7e(0xc6)](this['_commandService']['onCommandExecuted'](_0xde272e=>{const _0x298582=_0x40aa7e;if(this['_online']&&_0xde272e['id']===_0x441e63['SetSelectionsOperation']['id']&&_0xde272e[_0x298582(0x270)][_0x298582(0x203)]===this[_0x298582(0x2be)]){const _0x1ae982=_0xde272e[_0x298582(0x270)];this[_0x298582(0xcf)](_0x1ae982['subUnitId'],_0x1ae982['selections'][0x0]);}})));}[_0x2a4230(0x218)](_0x12a612){const _0x27f0d2=_0x2a4230;var _0x2517bf,_0x5163e9;const {memberID:_0x3d2549,selection:_0x41ec11}=_0x12a612[_0x27f0d2(0xa4)],{sheetName:_0x167449,range:_0x486725}=_0x5f241f[_0x27f0d2(0x133)](_0x41ec11),_0x40cc5c={'name':(_0x5163e9=(_0x2517bf=this['_memberService']['getMember'](this[_0x27f0d2(0x2be)],_0x3d2549))==null?void 0x0:_0x2517bf['name'])!=null?_0x5163e9:_0x27f0d2(0x239),'range':this[_0x27f0d2(0x80)](_0x167449,_0x486725),'sheetID':_0x167449,'color':this['_colorAssignService'][_0x27f0d2(0x116)](_0x3d2549),'selection':_0x41ec11},_0x56f44b=this[_0x27f0d2(0x1af)];_0x56f44b['set'](_0x3d2549,_0x40cc5c),this[_0x27f0d2(0x173)][_0x27f0d2(0x120)](_0x56f44b);}[_0x2a4230(0x2bc)](_0x177a4b){const _0x2abb3b=_0x2a4230,{memberID:_0x5db0b9}=_0x177a4b['data'],_0x35d5fe=this[_0x2abb3b(0x1af)];_0x35d5fe['delete'](_0x5db0b9),this['_cursorInfo$'][_0x2abb3b(0x120)](_0x35d5fe);}[_0x2a4230(0x80)](_0x2cb537,_0x3a1623){const _0x18c111=_0x2a4230;var _0xe2869c,_0x279ccc;const _0x4cede3=(_0x279ccc=(_0xe2869c=this[_0x18c111(0x1c6)][_0x18c111(0x1a2)](this[_0x18c111(0x2be)]))==null?void 0x0:_0xe2869c[_0x18c111(0x18d)](_0x2cb537))==null?void 0x0:_0x279ccc['getMergeData']();return(_0x4cede3==null?void 0x0:_0x4cede3[_0x18c111(0xd2)](_0x49bc1a=>_0x3c1804[_0x18c111(0x311)][_0x18c111(0x1d3)](_0x49bc1a,_0x3a1623)))||_0x3a1623;}[_0x2a4230(0x2cf)](){const _0xa019fc=_0x2a4230,_0x28c2a4=new _0x3c1804[(_0xa019fc(0x2a0))](),_0x2a16e7=_0x52d308(),_0x3f03f6=()=>{const _0x183398=_0xa019fc;_0x28c2a4[_0x183398(0x75)]();const _0x21f6e5=(_0x341224,_0x10081f,_0x2d4086,_0x2eee98)=>{const _0x116381=_0x183398;let _0x2a1f89=[];switch(_0x341224['id']){case _0x441e63['EffectRefRangId'][_0x116381(0x25f)]:{_0x2a1f89=_0x441e63[_0x116381(0x296)](_0x341224,_0x2eee98);break;}case _0x441e63['EffectRefRangId'][_0x116381(0x214)]:{_0x2a1f89=_0x441e63[_0x116381(0x288)](_0x341224,_0x2eee98);break;}case _0x441e63[_0x116381(0x234)][_0x116381(0x162)]:{_0x2a1f89=_0x441e63[_0x116381(0x2ae)](_0x341224,_0x2eee98);break;}case _0x441e63['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x2a1f89=_0x441e63[_0x116381(0x7d)](_0x341224,_0x2eee98);break;}case _0x441e63['EffectRefRangId'][_0x116381(0x1e8)]:{_0x2a1f89=_0x441e63[_0x116381(0x29b)](_0x341224,_0x2eee98);break;}case _0x441e63[_0x116381(0x234)][_0x116381(0x1a0)]:{_0x2a1f89=_0x441e63['handleInsertRow'](_0x341224,_0x2eee98);break;}case _0x441e63['EffectRefRangId']['MoveRangeCommandId']:{_0x2a1f89=_0x441e63[_0x116381(0xaa)](_0x341224,_0x2eee98);break;}case _0x441e63[_0x116381(0x234)][_0x116381(0x211)]:{_0x2a1f89=_0x441e63[_0x116381(0x266)](_0x341224,_0x2eee98);break;}case _0x441e63[_0x116381(0x234)][_0x116381(0xb4)]:{_0x2a1f89=_0x441e63['handleIRemoveRow'](_0x341224,_0x2eee98);break;}}const _0x5152cd=_0x441e63['runRefRangeMutations'](_0x2a1f89,_0x2eee98),_0x43b44a=this['cursorInfo'][_0x116381(0x9e)](_0x10081f);if(_0x43b44a&&_0x5152cd){const _0x479b91={..._0x43b44a,'range':_0x5152cd};this[_0x116381(0x1af)]['set'](_0x10081f,_0x479b91),_0x2a16e7(()=>{const _0x17a931=_0x116381,_0x463983=this['_refRangeService']['registerRefRange'](_0x5152cd,_0x295c18=>(_0x463983['dispose'](),_0x21f6e5(_0x295c18,_0x10081f,_0x2d4086,_0x5152cd)));_0x28c2a4[_0x17a931(0x137)](_0x463983);});}return{'redos':[],'undos':[]};};this[_0x183398(0x1af)][_0x183398(0x30d)]((_0xea0cf4,_0x202583)=>{const _0x39e2d2=_0x183398,{range:_0x308a16,sheetID:_0x59ebbb}=_0xea0cf4,_0x19760d=this[_0x39e2d2(0x222)][_0x39e2d2(0x26d)](_0x308a16,_0x248713=>(_0x19760d[_0x39e2d2(0x75)](),_0x21f6e5(_0x248713,_0x202583,_0x59ebbb,_0x308a16)));_0x28c2a4[_0x39e2d2(0x137)](_0x19760d);});};this[_0xa019fc(0xc6)](_0x3c1804[_0xa019fc(0xe1)](this[_0xa019fc(0x173)][_0xa019fc(0x86)](()=>{_0x3f03f6();})));}[_0x2a4230(0x8c)](){const _0x6daa77=_0x2a4230;var _0x149784,_0x190bba;if(this[_0x6daa77(0x255)]=!0x0,((_0x149784=this[_0x6daa77(0x1c6)][_0x6daa77(0x1f8)]())==null?void 0x0:_0x149784[_0x6daa77(0x224)]())!==this[_0x6daa77(0x2be)])return;const _0x2ec9c9=(_0x190bba=this['_injector']['get'](_0x441e63['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x190bba[0x0],_0xa3730b=this['_univerInstanceService']['getCurrentUnitForType'](_0x3c1804[_0x6daa77(0x253)]['UNIVER_SHEET'])[_0x6daa77(0x1cf)]();_0x2ec9c9&&_0xa3730b&&this[_0x6daa77(0xcf)](_0xa3730b[_0x6daa77(0xd1)](),_0x2ec9c9);}[_0x2a4230(0x2e7)](){this['_online']=!0x1;}};_0x3b49f4=_0x209e9f([_0x6eef53(0x2,_0x3c1804[_0x2a4230(0x172)](_0x3c1804[_0x2a4230(0x2b5)])),_0x6eef53(0x3,_0x3c1804['Inject'](_0x7baa89)),_0x6eef53(0x4,_0x3c1804[_0x2a4230(0x172)](_0x4d8e7c[_0x2a4230(0x2b6)])),_0x6eef53(0x5,_0x3c1804['IUniverInstanceService']),_0x6eef53(0x6,_0x3c1804['ICommandService']),_0x6eef53(0x7,_0x3c1804[_0x2a4230(0x172)](_0x441e63[_0x2a4230(0x83)]))],_0x3b49f4);var _0x374931=Object[_0x2a4230(0x310)],_0xa8e2db=(_0x25cd54,_0x17de9a,_0x138d22,_0x37f122)=>{for(var _0x4432ed=_0x37f122>0x1?void 0x0:_0x37f122?_0x374931(_0x17de9a,_0x138d22):_0x17de9a,_0x297e47=_0x25cd54['length']-0x1,_0x34f680;_0x297e47>=0x0;_0x297e47--)(_0x34f680=_0x25cd54[_0x297e47])&&(_0x4432ed=_0x34f680(_0x4432ed)||_0x4432ed);return _0x4432ed;},_0x5b6c99=(_0x838315,_0x59662f)=>(_0x3bceb3,_0x112391)=>_0x59662f(_0x3bceb3,_0x112391,_0x838315);let _0x120278=class extends _0x3c1804[_0x2a4230(0xc0)]{constructor(_0x9f51e2,_0x4f8047,_0x583da1){const _0x41d699=_0x2a4230;super(),_0x275745(this,'_entities',new Map()),_0x275745(this,_0x41d699(0x19e),new _0x23318b[(_0x41d699(0x22e))]()),(this[_0x41d699(0x1c6)]=_0x9f51e2,this[_0x41d699(0x2f5)]=_0x4f8047,this['_collabSessionService']=_0x583da1,this[_0x41d699(0x2c1)]());}[_0x2a4230(0x75)](){const _0x2ad6f5=_0x2a4230;super[_0x2ad6f5(0x75)](),this['_entityInit$'][_0x2ad6f5(0xb8)](),this[_0x2ad6f5(0x1e3)][_0x2ad6f5(0x30d)](_0x373ab7=>_0x373ab7[_0x2ad6f5(0x75)]());}[_0x2a4230(0x2c5)](_0x52c4ac){const _0x235674=_0x2a4230;return this[_0x235674(0x1e3)][_0x235674(0x23e)](_0x52c4ac)?this[_0x235674(0x1e3)]['get'](_0x52c4ac)[_0x235674(0x160)]:this[_0x235674(0x19e)][_0x235674(0x154)](_0x23318b[_0x235674(0x299)](_0x2d9715=>_0x2d9715[_0x235674(0x2be)]===_0x52c4ac),_0x23318b[_0x235674(0x161)](_0x256e60=>_0x256e60['cursorInfo$']));}[_0x2a4230(0x2c1)](){const _0x4e56c7=_0x2a4230;this[_0x4e56c7(0x1c6)][_0x4e56c7(0x202)](_0x3c1804[_0x4e56c7(0x253)][_0x4e56c7(0x165)])[_0x4e56c7(0x154)](_0x23318b[_0x4e56c7(0xfe)](this[_0x4e56c7(0x1aa)]))['subscribe'](async _0x217d31=>{const _0x36198a=_0x4e56c7,_0x59ce08=_0x217d31[_0x36198a(0x224)](),_0x24256b=await this[_0x36198a(0x16a)](_0x59ce08);this[_0x36198a(0x19e)]['next'](_0x24256b),this[_0x36198a(0x1e3)][_0x36198a(0x2cd)](_0x59ce08,_0x24256b);}),this[_0x4e56c7(0x1c6)][_0x4e56c7(0x202)](_0x3c1804[_0x4e56c7(0x253)][_0x4e56c7(0x303)])[_0x4e56c7(0x154)](_0x23318b['takeUntil'](this['dispose$']))[_0x4e56c7(0x154)](_0x23318b[_0x4e56c7(0x299)](_0x2ea437=>!_0x2ea437[_0x4e56c7(0x224)]()['startsWith']('__')))[_0x4e56c7(0x86)](async _0x4c906b=>{const _0x5f0547=_0x4e56c7,_0x47c08d=_0x4c906b['getUnitId'](),_0x4c6f83=await this['_startDocCollabCursor'](_0x47c08d);this[_0x5f0547(0x19e)][_0x5f0547(0x120)](_0x4c6f83),this['_entities'][_0x5f0547(0x2cd)](_0x47c08d,_0x4c6f83);}),_0x23318b[_0x4e56c7(0xfb)](this[_0x4e56c7(0x1c6)][_0x4e56c7(0x27f)](_0x3c1804[_0x4e56c7(0x253)][_0x4e56c7(0x303)]),this[_0x4e56c7(0x1c6)][_0x4e56c7(0x27f)](_0x3c1804[_0x4e56c7(0x253)][_0x4e56c7(0x165)]))['pipe'](_0x23318b['takeUntil'](this[_0x4e56c7(0x1aa)]))[_0x4e56c7(0x86)](_0x4c595e=>{const _0x374b57=_0x4e56c7,_0x2405c8=_0x4c595e[_0x374b57(0x224)](),_0xa0eaa6=this[_0x374b57(0x1e3)]['get'](_0x2405c8);_0xa0eaa6&&(_0xa0eaa6[_0x374b57(0x75)](),this[_0x374b57(0x1e3)][_0x374b57(0x1e0)](_0x2405c8));});}async[_0x2a4230(0x16a)](_0x22be76){const _0x57092d=_0x2a4230,_0x311917=await this['_collabSessionService'][_0x57092d(0x1dd)](_0x22be76),_0x19b50a=this[_0x57092d(0x2f5)][_0x57092d(0x18f)](_0x3b49f4,_0x22be76,_0x311917);return _0x19b50a[_0x57092d(0x1eb)](),_0x19b50a;}async['_startDocCollabCursor'](_0x427681){const _0x4ef5cd=_0x2a4230,_0x5862f8=await this[_0x4ef5cd(0x177)][_0x4ef5cd(0x1dd)](_0x427681),_0x2a92cb=this[_0x4ef5cd(0x2f5)][_0x4ef5cd(0x18f)](_0xe43420,_0x427681,_0x5862f8);return _0x2a92cb[_0x4ef5cd(0x1eb)](),_0x2a92cb;}};_0x120278=_0xa8e2db([_0x5b6c99(0x0,_0x3c1804[_0x2a4230(0x72)]),_0x5b6c99(0x1,_0x3c1804[_0x2a4230(0x172)](_0x3c1804[_0x2a4230(0x2b5)])),_0x5b6c99(0x2,_0x3c1804[_0x2a4230(0x172)](_0x4d8e7c[_0x2a4230(0x119)]))],_0x120278);const _0xfc8153=0x14,_0x51fabc=0xc8,_0x3451a1=0x4,_0x12a43c=0x5;function _0x18b18c(_0x19ea8f,_0x4b111b){const _0x5b542b=_0x2a4230;let {radius:_0x400b01,width:_0x551ee2,height:_0xb128ac}=_0x4b111b;_0x400b01=_0x400b01!=null?_0x400b01:0x0,_0x551ee2=_0x551ee2!=null?_0x551ee2:0x1e,_0xb128ac=_0xb128ac!=null?_0xb128ac:0x1e;let _0x412233=0x0,_0x575ffc=0x0,_0x12a4c3=0x0;_0x412233=_0x575ffc=_0x12a4c3=Math[_0x5b542b(0x2a2)](_0x400b01,_0x551ee2/0x2,_0xb128ac/0x2),_0x19ea8f[_0x5b542b(0x11f)](),_0x19ea8f[_0x5b542b(0xb2)](_0x412233,0x0),_0x19ea8f[_0x5b542b(0x2ca)](_0x551ee2-_0x575ffc,0x0),_0x19ea8f[_0x5b542b(0x23f)](_0x551ee2-_0x575ffc,_0x575ffc,_0x575ffc,Math['PI']*0x3/0x2,0x0,!0x1),_0x19ea8f[_0x5b542b(0x2ca)](_0x551ee2,_0xb128ac-_0x12a4c3),_0x19ea8f[_0x5b542b(0x23f)](_0x551ee2-_0x12a4c3,_0xb128ac-_0x12a4c3,_0x12a4c3,0x0,Math['PI']/0x2,!0x1),_0x19ea8f[_0x5b542b(0x2ca)](0x0,_0xb128ac),_0x19ea8f[_0x5b542b(0x2ca)](0x0,_0x412233),_0x19ea8f['arc'](_0x412233,_0x412233,_0x412233,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x19ea8f[_0x5b542b(0xf8)](),_0x4b111b['fill']&&(_0x19ea8f[_0x5b542b(0x9c)](),_0x19ea8f[_0x5b542b(0x1d7)]=_0x4b111b['fill'],_0x4b111b[_0x5b542b(0x292)]===_0x5b542b(0x1a1)?_0x19ea8f[_0x5b542b(0x174)](_0x5b542b(0x1a1)):_0x19ea8f[_0x5b542b(0x174)](),_0x19ea8f[_0x5b542b(0x246)]());}class _0x49c000 extends _0x214f70[_0x2a4230(0x242)]{constructor(_0xdb6f63,_0xdc2041){const _0x45a891=_0x2a4230;super(_0xdb6f63,_0xdc2041),_0x275745(this,_0x45a891(0x7c)),_0x275745(this,_0x45a891(0x106)),(this['color']=_0xdc2041==null?void 0x0:_0xdc2041[_0x45a891(0x7c)],this[_0x45a891(0x106)]=_0xdc2041==null?void 0x0:_0xdc2041[_0x45a891(0x106)]);}static[_0x2a4230(0x30e)](_0x5703f6,_0x574eb9){const _0xd517b0=_0x2a4230,{text:_0x1da70a,color:_0x4682c6}=_0x574eb9;_0x5703f6['save'](),_0x5703f6[_0xd517b0(0x164)]=_0xd517b0(0xa3);const _0x32cfbf=_0x5703f6[_0xd517b0(0x2b0)](_0x1da70a)['width'],_0x253707=Math[_0xd517b0(0x2a2)](_0x32cfbf+0x2*_0x3451a1,_0x51fabc);_0x18b18c(_0x5703f6,{'height':_0xfc8153,'radius':0x4,'width':_0x253707,'fill':_0x4682c6}),_0x5703f6[_0xd517b0(0x1d7)]=_0xd517b0(0x92);const _0x527db4=_0x3451a1,_0x2e75e2=_0xfc8153-_0x12a43c,_0x54592b=_0x51fabc-0x2*_0x3451a1;if(_0x32cfbf>_0x54592b){let _0x4e97e0='',_0x1cc19e=0x0;for(const _0x30b071 of _0x1da70a){const _0x3d6f1d=_0x5703f6[_0xd517b0(0x2b0)](_0x30b071)[_0xd517b0(0x2a5)];if(_0x1cc19e+_0x3d6f1d<=_0x54592b-_0x5703f6[_0xd517b0(0x2b0)](_0xd517b0(0x155))[_0xd517b0(0x2a5)])_0x4e97e0+=_0x30b071,_0x1cc19e+=_0x3d6f1d;else{_0x4e97e0+=_0xd517b0(0x155);break;}}_0x5703f6[_0xd517b0(0x96)](_0x4e97e0,_0x527db4,_0x2e75e2);}else _0x5703f6['fillText'](_0x1da70a,_0x527db4,_0x2e75e2);_0x5703f6[_0xd517b0(0x246)]();}[_0x2a4230(0x10d)](_0x139a14){const _0xe0bce5=_0x2a4230;_0x49c000[_0xe0bce5(0x30e)](_0x139a14,this);}}const _0x4246ea=_0x2a4230(0x17a),_0x59d2ca=_0x2a4230(0xf5),_0x28663b=_0x2a4230(0x2ef),_0x1cab94=0x6,_0x45dd66=1.5,_0x1def78=0x4,_0x1fbb32=1.5,_0x155ab8=_0x2a4230(0x7a);class _0x1af15c{constructor(_0x486bc4,_0x385a2e,_0x4cbb4b,_0x4ba366){const _0x5185e0=_0x2a4230;_0x275745(this,_0x5185e0(0x2a3),[]),_0x275745(this,_0x5185e0(0x305),null),_0x275745(this,_0x5185e0(0x94),null),_0x275745(this,'_anchorDot',null),_0x275745(this,_0x5185e0(0x2e2),null),_0x275745(this,_0x5185e0(0x22f),null),(this[_0x5185e0(0x257)]=_0x486bc4,this[_0x5185e0(0x12e)]=_0x385a2e,this[_0x5185e0(0xe4)]=_0x4cbb4b,this['_document']=_0x4ba366,this['_render']());}set[_0x2a4230(0x152)](_0x2751e7){const _0x5d21c5=_0x2a4230;_0x2751e7?(this[_0x5d21c5(0x256)]&&this[_0x5d21c5(0x256)]['hide'](),this[_0x5d21c5(0x94)]&&this['_textBubble'][_0x5d21c5(0x278)]()):(this['_anchorDot']&&this[_0x5d21c5(0x256)][_0x5d21c5(0x278)](),this[_0x5d21c5(0x94)]&&this['_textBubble'][_0x5d21c5(0x2f3)]());}[_0x2a4230(0x75)](){const _0x165a89=_0x2a4230;for(const _0x4f3973 of this['_shapes'])_0x4f3973['dispose']();this[_0x165a89(0x94)]&&this[_0x165a89(0x94)][_0x165a89(0x75)](),this[_0x165a89(0x256)]&&this[_0x165a89(0x256)]['dispose'](),this['_anchor']&&this[_0x165a89(0x305)]['dispose'](),this[_0x165a89(0x22f)]&&this[_0x165a89(0x22f)]();}[_0x2a4230(0x243)](){const _0x3ad07d=_0x2a4230;var _0x26b581;const {_docSkeleton:_0x1fbd00,_document:_0x432c4a}=this,{color:_0x20578d,name:_0x453b6c,ranges:_0xd5eb09}=this['_cursor'],_0x9066b0=_0x432c4a[_0x3ad07d(0x201)](),{docsLeft:_0x2a4f59,docsTop:_0x35ee1c}=_0x9066b0,_0x42278b=new _0x4aced0['NodePositionConvertToCursor'](_0x9066b0,_0x1fbd00);for(const {startOffset:_0x5ea81a,endOffset:_0x5e2f72,rangeType:_0x133b36,segmentId:_0x3fd846,segmentPage:_0x57709d,collapsed:_0x1aa0d7,isActive:_0x4f674e}of _0xd5eb09){const _0x1443db=_0x1fbd00[_0x3ad07d(0x1ae)](_0x5ea81a,!0x0,_0x3fd846,_0x57709d);let _0x1d363f=_0x1fbd00[_0x3ad07d(0x1ae)](_0x5e2f72,!0x0,_0x3fd846,_0x57709d);if(_0x1d363f==null&&(_0x1d363f=_0x1fbd00[_0x3ad07d(0x1ae)](_0x5e2f72-0x1,!0x1,_0x3fd846,_0x57709d)),_0x4f674e){const {contentBoxPointGroup:_0x3970c7}=_0x42278b[_0x3ad07d(0x2d9)](_0x1d363f,_0x1d363f);if(_0x3970c7[_0x3ad07d(0x210)]===0x0)continue;this[_0x3ad07d(0x28f)](_0x20578d,_0x3970c7,_0x2a4f59,_0x35ee1c,_0x453b6c),this['_eventUnsubscribe']=this[_0x3ad07d(0x150)]();}if(_0x1443db&&_0x1d363f){if(_0x133b36===_0x3c1804['DOC_RANGE_TYPE']['RECT']){const _0x25cacf=new _0x4aced0[(_0x3ad07d(0x2aa))](_0x9066b0,_0x1fbd00),{pointGroup:_0x42668e}=(_0x26b581=_0x25cacf[_0x3ad07d(0x2d9)](_0x1443db,_0x1d363f))!=null?_0x26b581:{};if(_0x42668e==null||_0x42668e[_0x3ad07d(0x210)]===0x0)continue;this['_drawRectRange'](_0x20578d,_0x42668e,_0x2a4f59,_0x35ee1c);}else{if(!_0x1aa0d7){const {borderBoxPointGroup:_0x376493}=_0x42278b[_0x3ad07d(0x2d9)](_0x1443db,_0x1d363f);if(_0x376493[_0x3ad07d(0x210)]===0x0)continue;this['_drawTextRange'](_0x20578d,_0x376493,_0x2a4f59,_0x35ee1c);}}}}}[_0x2a4230(0x28f)](_0x359374,_0x295fef,_0x25c13a,_0x453b01,_0x4eaa67){const _0x5f3b6b=_0x2a4230,_0x2f95c8=this[_0x5f3b6b(0x221)](_0x295fef),{left:_0x3e53fb,top:_0x289382,height:_0x846b41}=_0x2f95c8,_0x2e3382=this[_0x5f3b6b(0x228)](),_0x134e17=_0x1fbb32/_0x2e3382,_0x25114c=new _0x214f70[(_0x5f3b6b(0x130))](_0x4246ea+_0x3c1804['generateRandomId'](_0x1cab94),{'left':_0x3e53fb+_0x25c13a-_0x134e17,'top':_0x289382+_0x453b01,'height':_0x846b41,'width':_0x45dd66,'fill':_0x359374||_0x214f70[_0x5f3b6b(0xc2)](_0x3c1804[_0x5f3b6b(0x183)]['black'],0x0),'strokeWidth':_0x134e17,'stroke':_0x155ab8,'evented':!0x0});this['_anchor']=_0x25114c,this['_scene'][_0x5f3b6b(0x263)](_0x25114c,_0x4aced0[_0x5f3b6b(0x241)]);const _0x36fd91=new _0x214f70['Rect'](_0x4246ea+_0x3c1804[_0x5f3b6b(0x12d)](_0x1cab94),{'left':_0x3e53fb+_0x25c13a-_0x134e17,'top':_0x289382+_0x453b01-_0x1def78/0x2,'height':_0x1def78,'width':_0x1def78,'fill':_0x359374||_0x214f70['getColor'](_0x3c1804[_0x5f3b6b(0x183)][_0x5f3b6b(0xd5)],0x0),'strokeWidth':0x0,'stroke':_0x359374||_0x214f70[_0x5f3b6b(0xc2)](_0x3c1804[_0x5f3b6b(0x183)][_0x5f3b6b(0xd5)],0x0),'evented':!0x1});this[_0x5f3b6b(0x256)]=_0x36fd91,this['_scene'][_0x5f3b6b(0x263)](_0x36fd91,_0x4aced0[_0x5f3b6b(0x241)]);const _0x5e27c4=new _0x49c000(_0x4246ea+_0x3c1804[_0x5f3b6b(0x12d)](_0x1cab94),{'left':_0x3e53fb+_0x25c13a-_0x134e17,'top':_0x289382+_0x453b01-_0xfc8153,'text':_0x4eaa67,'color':_0x359374});this[_0x5f3b6b(0x94)]=_0x5e27c4,this[_0x5f3b6b(0x12e)][_0x5f3b6b(0x263)](_0x5e27c4,_0x4aced0[_0x5f3b6b(0x241)]),this[_0x5f3b6b(0x152)]=!0x1;}[_0x2a4230(0x150)](){const _0x510165=_0x2a4230,_0x148dc0=this[_0x510165(0x305)][_0x510165(0x17f)]['subscribeEvent'](()=>{const _0x297798=_0x510165;this[_0x297798(0x152)]=!0x0;}),_0x5181ec=this[_0x510165(0x305)]['onPointerLeave$'][_0x510165(0x297)](()=>{const _0x22258b=_0x510165;this['_hideTimer']&&clearTimeout(this[_0x22258b(0x2e2)]),this['_hideTimer']=setTimeout(()=>{const _0x130bbb=_0x22258b;this[_0x130bbb(0x152)]=!0x1;},0x7d0);});return()=>{const _0x3edb74=_0x510165;_0x148dc0[_0x3edb74(0x7f)](),_0x5181ec[_0x3edb74(0x7f)]();};}[_0x2a4230(0x20c)](_0x54b466,_0x26b1c5,_0x4d29af,_0x5b686d){const _0x35e534=_0x2a4230,_0xcb7772=new _0x3c1804[(_0x35e534(0xc8))](_0x54b466)[_0x35e534(0x1ff)](0.2)[_0x35e534(0x143)](),_0x216698=new _0x214f70[(_0x35e534(0x19c))](_0x59d2ca+_0x3c1804['generateRandomId'](_0x1cab94),{'pointsGroup':_0x26b1c5,'fill':_0xcb7772||_0x214f70[_0x35e534(0xc2)](_0x3c1804[_0x35e534(0x183)][_0x35e534(0xd5)],0.2),'left':_0x4d29af,'top':_0x5b686d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x35e534(0x264)](_0x216698),this['_scene'][_0x35e534(0x263)](_0x216698,_0x4aced0[_0x35e534(0x241)]);}['_drawRectRange'](_0x5be2dd,_0x53cdff,_0x1c5560,_0x3cc537){const _0xb002a1=_0x2a4230,_0x5b40ea=new _0x3c1804[(_0xb002a1(0xc8))](_0x5be2dd)[_0xb002a1(0x1ff)](0.2)['toRgbString'](),_0x4b26bc=new _0x214f70[(_0xb002a1(0x19c))](_0x28663b+_0x3c1804[_0xb002a1(0x12d)](_0x1cab94),{'pointsGroup':_0x53cdff,'fill':_0x5b40ea||_0x214f70[_0xb002a1(0xc2)](_0x3c1804[_0xb002a1(0x183)][_0xb002a1(0xd5)],0.2),'left':_0x1c5560,'top':_0x3cc537,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xb002a1(0x2a3)][_0xb002a1(0x264)](_0x4b26bc),this[_0xb002a1(0x12e)][_0xb002a1(0x263)](_0x4b26bc,_0x4aced0[_0xb002a1(0x241)]);}[_0x2a4230(0x221)](_0x2eac69){const _0x280cc2=_0x2eac69[0x0],_0x30b0de=_0x280cc2[0x0],_0x58e336=_0x280cc2[0x2],{x:_0x5309b5,y:_0x1b88e5}=_0x30b0de,{x:_0x18c7c4,y:_0x2df576}=_0x58e336;return{'left':_0x5309b5,'top':_0x1b88e5,'width':_0x18c7c4-_0x5309b5,'height':_0x2df576-_0x1b88e5};}['_getScale'](){const _0x3e61e7=_0x2a4230,{scaleX:_0x3123b8,scaleY:_0x495f3d}=this['_scene'][_0x3e61e7(0x180)]();return Math[_0x3e61e7(0x145)](_0x3123b8,_0x495f3d);}}var _0x7b9f27=Object[_0x2a4230(0x310)],_0x239aad=(_0x409e8c,_0x578abe,_0x2a848b,_0x14307c)=>{const _0x57991=_0x2a4230;for(var _0x2c06aa=_0x14307c>0x1?void 0x0:_0x14307c?_0x7b9f27(_0x578abe,_0x2a848b):_0x578abe,_0x3b2e5c=_0x409e8c[_0x57991(0x210)]-0x1,_0x1128d8;_0x3b2e5c>=0x0;_0x3b2e5c--)(_0x1128d8=_0x409e8c[_0x3b2e5c])&&(_0x2c06aa=_0x1128d8(_0x2c06aa)||_0x2c06aa);return _0x2c06aa;},_0x36a65f=(_0x39b179,_0x191e6c)=>(_0xc564f1,_0x21f014)=>_0x191e6c(_0xc564f1,_0x21f014,_0x39b179);let _0x5eb364=class extends _0x3c1804[_0x2a4230(0xc0)]{constructor(_0x417f66,_0x433ae9,_0x51a664,_0x15b693,_0x1c75a5){const _0x238827=_0x2a4230;super(),_0x275745(this,'_cursorShapes',[]),_0x275745(this,_0x238827(0x1f3),[]),(this[_0x238827(0x1cb)]=_0x417f66,this[_0x238827(0x25e)]=_0x433ae9,this[_0x238827(0x2e5)]=_0x51a664,this['_commandService']=_0x15b693,this[_0x238827(0xd3)]=_0x1c75a5,this[_0x238827(0x2c1)]());}[_0x2a4230(0x2c1)](){const _0x235804=_0x2a4230,_0x1d763c=this[_0x235804(0x1cb)]['unitId'],_0x14fc00=this[_0x235804(0x25e)];this['disposeWithMe'](_0x23318b['combineLatest']([this[_0x235804(0x2e5)][_0x235804(0x2c5)](_0x1d763c),this[_0x235804(0xd3)][_0x235804(0x104)]])['pipe'](_0x46a0e3['map'](([_0x5c9844,_0x457cd5])=>({'skeleton':_0x14fc00['getSkeleton'](),'cursors':[..._0x5c9844[_0x235804(0x89)]()][_0x235804(0x140)](_0x12665c=>({..._0x12665c,'color':this['_themeService'][_0x235804(0x118)](_0x12665c[_0x235804(0x7c)])}))})))[_0x235804(0x86)](_0x4aa1a9=>{const _0x557802=_0x235804;if(this[_0x557802(0xa2)](),_0x4aa1a9){const {skeleton:_0xbc45d8,cursors:_0x5af445}=_0x4aa1a9;this[_0x557802(0x1e4)](_0xbc45d8,_0x5af445);}})),this[_0x235804(0x2a1)](),this['_initCommandExecutedListener']();}[_0x2a4230(0x1e4)](_0x966920,_0x1ed703){const _0xaaae=_0x2a4230,{scene:_0x35c4a1,mainComponent:_0x4808ee}=this[_0xaaae(0x1cb)],_0x532aed=_0x1ed703[_0xaaae(0x274)](_0x4b4f4c=>new _0x1af15c(_0x4b4f4c,_0x35c4a1,_0x966920,_0x4808ee));this[_0xaaae(0x1df)]=_0x532aed,this['_cursors']=_0x1ed703;}[_0x2a4230(0x85)](){const _0x20ae75=_0x2a4230;this['_removeCollabCursors']();const {scene:_0x3a233d,mainComponent:_0x405985}=this[_0x20ae75(0x1cb)],_0x439faf=this[_0x20ae75(0x25e)][_0x20ae75(0xea)](),_0x4e6c19=this[_0x20ae75(0x1f3)]['map'](_0x531c98=>new _0x1af15c(_0x531c98,_0x3a233d,_0x439faf,_0x405985));this[_0x20ae75(0x1df)]=_0x4e6c19;}['_removeCollabCursors'](){const _0x150f3b=_0x2a4230;this[_0x150f3b(0x1df)][_0x150f3b(0x30d)](_0x39a583=>_0x39a583['dispose']()),this['_cursorShapes']=[];}[_0x2a4230(0x101)](){const _0x87459d=_0x2a4230,_0x7a789=[_0x4aced0['SetDocZoomRatioOperation']['id']];this[_0x87459d(0xc6)](this[_0x87459d(0x9b)][_0x87459d(0x190)](_0x123f98=>{const _0x5bdd73=_0x87459d;_0x7a789[_0x5bdd73(0x18c)](_0x123f98['id'])&&_0x123f98['params']['unitId']===this['_context'][_0x5bdd73(0x203)]&&this[_0x5bdd73(0x85)]();}));}['_initResize'](){const _0x59ddba=_0x2a4230;this[_0x59ddba(0xc6)](_0x3c1804[_0x59ddba(0x110)](this[_0x59ddba(0x1cb)][_0x59ddba(0x193)][_0x59ddba(0x2fb)])[_0x59ddba(0x154)](_0x46a0e3[_0x59ddba(0x299)](_0x50a60a=>_0x50a60a[_0x59ddba(0x2d7)]===_0x214f70['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x59ddba(0x26b)]),_0x46a0e3['throttleTime'](0x10))[_0x59ddba(0x86)](()=>{const _0x2bc337=_0x59ddba;this[_0x2bc337(0x85)]();}));}};_0x5eb364=_0x239aad([_0x36a65f(0x1,_0x3c1804[_0x2a4230(0x172)](_0x3c10b0[_0x2a4230(0x1c8)])),_0x36a65f(0x2,_0x3c1804[_0x2a4230(0x172)](_0x120278)),_0x36a65f(0x3,_0x3c1804['ICommandService']),_0x36a65f(0x4,_0x3c1804[_0x2a4230(0x172)](_0x3c1804[_0x2a4230(0x24d)]))],_0x5eb364);const _0x17721a=0x1,_0x4bc1b3=1.5;class _0xfe2e0a extends _0x214f70[_0x2a4230(0x242)]{constructor(_0x1e790a,_0x5ee2ca){const _0x2524bc=_0x2a4230;super(_0x1e790a,_0x5ee2ca),_0x275745(this,'_color'),_0x275745(this,_0x2524bc(0x107),!0x1),_0x275745(this,'_range'),_0x275745(this,_0x2524bc(0x1b7),''),_0x275745(this,_0x2524bc(0x188),_0x2524bc(0x1b5)),_0x275745(this,_0x2524bc(0x1b1)),(_0x5ee2ca&&this[_0x2524bc(0x8a)](_0x5ee2ca),this[_0x2524bc(0x17f)][_0x2524bc(0x297)](()=>this[_0x2524bc(0x8a)]({'hovered':!0x0})),this['onPointerLeave$'][_0x2524bc(0x297)](()=>this[_0x2524bc(0x8a)]({'hovered':!0x1})));}[_0x2a4230(0x8a)](_0x38e02f){const _0x345340=_0x2a4230;var _0x349f55,_0x37645c,_0x187c53,_0x166042,_0xc0fb4a,_0x5574ae;this[_0x345340(0x196)]=(_0x349f55=_0x38e02f[_0x345340(0x7c)])!=null?_0x349f55:this['_color'],this[_0x345340(0x107)]=(_0x37645c=_0x38e02f[_0x345340(0x2ee)])!=null?_0x37645c:this['_hovered'],this['_range']=(_0x187c53=_0x38e02f[_0x345340(0x134)])!=null?_0x187c53:this[_0x345340(0x2ba)],this[_0x345340(0x1b7)]=(_0x166042=_0x38e02f[_0x345340(0xc9)])!=null?_0x166042:this['_name'],this['_labelPosition']=(_0xc0fb4a=_0x38e02f['labelPosition'])!=null?_0xc0fb4a:this['_labelPosition'],this[_0x345340(0x1b1)]=(_0x5574ae=_0x38e02f[_0x345340(0xb7)])!=null?_0x5574ae:this[_0x345340(0x1b1)],this[_0x345340(0x236)]({'width':_0x38e02f[_0x345340(0x2a5)],'height':_0x38e02f[_0x345340(0x238)]});}[_0x2a4230(0x1f2)](_0x4d76fa){const _0x5b3883=_0x2a4230,{row:_0x508918,column:_0x23d122}=_0x4d76fa;if(_0x508918>=this[_0x5b3883(0x2ba)][_0x5b3883(0xec)]&&_0x508918<=this[_0x5b3883(0x2ba)][_0x5b3883(0x2b2)]&&_0x23d122>=this[_0x5b3883(0x2ba)][_0x5b3883(0x251)]&&_0x23d122<=this[_0x5b3883(0x2ba)]['endColumn']){this[_0x5b3883(0x8a)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x2a4230(0x87)](_0x57d02b){return!0x1;}[_0x2a4230(0x10d)](_0x4304fd){const _0x3ea1c7=_0x2a4230;_0x214f70[_0x3ea1c7(0x130)][_0x3ea1c7(0x30e)](_0x4304fd,{'width':this['width'],'height':this[_0x3ea1c7(0x238)],'strokeWidth':_0x4bc1b3,'stroke':this[_0x3ea1c7(0x196)],'evented':!0x1,'fill':this[_0x3ea1c7(0x1b1)]}),this['_hovered']&&(_0x4304fd[_0x3ea1c7(0x9c)](),_0x4304fd[_0x3ea1c7(0x24e)](0x1,0x0,0x0,0x1,this[_0x3ea1c7(0x2a5)],this[_0x3ea1c7(0x188)]===_0x3ea1c7(0x15e)?0x0:-_0xfc8153),_0x49c000[_0x3ea1c7(0x30e)](_0x4304fd,{'text':this[_0x3ea1c7(0x1b7)],'color':this[_0x3ea1c7(0x196)]}),_0x4304fd[_0x3ea1c7(0x246)]());}}var _0x5e65ad=Object[_0x2a4230(0x310)],_0x4a1d02=(_0x223946,_0x11b22a,_0x352d97,_0x114b3f)=>{const _0x57b473=_0x2a4230;for(var _0x48d361=_0x114b3f>0x1?void 0x0:_0x114b3f?_0x5e65ad(_0x11b22a,_0x352d97):_0x11b22a,_0x6e05ff=_0x223946[_0x57b473(0x210)]-0x1,_0x532a83;_0x6e05ff>=0x0;_0x6e05ff--)(_0x532a83=_0x223946[_0x6e05ff])&&(_0x48d361=_0x532a83(_0x48d361)||_0x48d361);return _0x48d361;},_0x33ed27=(_0x5f4494,_0x2a3dd1)=>(_0x232ba7,_0x27e3a2)=>_0x2a3dd1(_0x232ba7,_0x27e3a2,_0x5f4494);const _0x261855=0x1389;let _0x1f6d7b=class extends _0x3c1804['RxDisposable']{constructor(_0x55ec91,_0x1469c1,_0x4e3c64,_0x56c84d){const _0x483d5a=_0x2a4230;super(),_0x275745(this,_0x483d5a(0x1f3),new Set()),_0x275745(this,_0x483d5a(0x14a),null),(this[_0x483d5a(0x1cb)]=_0x55ec91,this[_0x483d5a(0x2a7)]=_0x1469c1,this[_0x483d5a(0x2e5)]=_0x4e3c64,this['_themeService']=_0x56c84d,this[_0x483d5a(0x2c1)]());}[_0x2a4230(0x2c1)](){const _0x3fc94e=_0x2a4230;this[_0x3fc94e(0x2a7)]['currentSkeleton$']['pipe'](_0x46a0e3['takeUntil'](this['dispose$']),_0x46a0e3[_0x3fc94e(0x161)](_0xcfc373=>{const _0x4ed379=_0x3fc94e;if(_0xcfc373){const _0xa457c2=_0xcfc373[_0x4ed379(0x179)];return _0x23318b[_0x4ed379(0x208)](this[_0x4ed379(0x2e5)][_0x4ed379(0x2c5)](this[_0x4ed379(0x1cb)][_0x4ed379(0x203)]),this[_0x4ed379(0xd3)]['currentTheme$'])[_0x4ed379(0x154)](_0x46a0e3[_0x4ed379(0x274)](([_0x431aeb,_0x8d99fb])=>{const _0x4acf2e=_0x4ed379,_0x335a9d=new Map();return _0x431aeb[_0x4acf2e(0x30d)]((_0x28def4,_0x5537cd)=>{const _0x5883b=_0x4acf2e;if(_0x28def4[_0x5883b(0x30b)]===_0xa457c2){const _0x405c36={..._0x28def4};_0x405c36['color']=this[_0x5883b(0xd3)][_0x5883b(0x118)](_0x28def4[_0x5883b(0x7c)]),_0x335a9d[_0x5883b(0x2cd)](_0x5537cd,_0x405c36);}}),{'skeleton':_0xcfc373,'cursors':_0x335a9d};}));}return _0x23318b['of']({'skeleton':null,'cursors':new Map()});}))[_0x3fc94e(0x86)](({skeleton:_0x510fff,cursors:_0x42e0dd})=>{const _0x5ecd2a=_0x3fc94e;this[_0x5ecd2a(0xa2)](),_0x510fff&&this['_updateCollabCursors'](_0x510fff,_0x42e0dd);}),this[_0x3fc94e(0x2a7)][_0x3fc94e(0x27c)][_0x3fc94e(0x86)](_0x1971d2=>{const _0x45794c=_0x3fc94e;if(_0x1971d2==null)return;const {skeleton:_0x38e4d2}=_0x1971d2,{scene:_0x1d5642}=this[_0x45794c(0x1cb)];_0x1d5642[_0x45794c(0x123)][_0x45794c(0x297)](_0x3c1804[_0x45794c(0x6f)](_0xc12db8=>{const _0x16ef0d=_0x45794c;var _0x1cedb0,_0x14e154;const {offsetX:_0xf21346,offsetY:_0x5dac26}=_0xc12db8,{x:_0x517510,y:_0x4f56b1}=_0x1d5642['getRelativeToViewportCoord'](_0x214f70['Vector2']['FromArray']([_0xf21346,_0x5dac26])),{scaleX:_0x84d840,scaleY:_0xdebce0}=_0x1d5642[_0x16ef0d(0x180)](),_0xb95bc4=_0x1d5642[_0x16ef0d(0x286)](_0x214f70[_0x16ef0d(0x1e9)][_0x16ef0d(0xf3)]),_0x395681=_0x1d5642[_0x16ef0d(0x115)](_0x214f70[_0x16ef0d(0x126)][_0x16ef0d(0x28c)]([_0x517510,_0x4f56b1]),_0xb95bc4),_0x1b4197=_0x38e4d2['getCellPositionByOffset'](_0xf21346,_0x5dac26,_0x84d840,_0xdebce0,_0x395681);((_0x1cedb0=this[_0x16ef0d(0x14a)])==null?void 0x0:_0x1cedb0[_0x16ef0d(0x2ab)])===_0x1b4197[_0x16ef0d(0x2ab)]&&((_0x14e154=this[_0x16ef0d(0x14a)])==null?void 0x0:_0x14e154[_0x16ef0d(0x23c)])===_0x1b4197[_0x16ef0d(0x23c)]||this[_0x16ef0d(0x1f3)][_0x16ef0d(0x30d)](_0x44c845=>{_0x44c845['onMouseMove'](_0x1b4197);});},0x64));});}['_updateCollabCursors'](_0x9147b7,_0x21fd6b){const _0x2172ba=_0x2a4230;var _0x2b4561;const _0x3f3af8=(_0x2b4561=this[_0x2172ba(0x2a7)]['getCurrent']())==null?void 0x0:_0x2b4561[_0x2172ba(0xa7)];if(!_0x3f3af8)return;const _0x59126a=this[_0x2172ba(0x30a)]();if(!_0x59126a)return;this[_0x2172ba(0x1f3)]['forEach'](_0x5a56c0=>{const _0x4434f8=_0x2172ba;_0x5a56c0[_0x4434f8(0x1ca)]();});const {scene:_0x8fc02d}=_0x59126a,_0x2753c8=_0x3c6a46(Array[_0x2172ba(0xca)](_0x21fd6b['values']()))[_0x2172ba(0x274)](_0x2dc6a6=>{const _0x3ec7a1=_0x2172ba,{color:_0x403110,range:_0x2fefda,name:_0x66428a,selection:_0x49d3bc,sheetID:_0x130d49}=_0x2dc6a6,{startColumn:_0x36f25a,startRow:_0x2431ef,endColumn:_0x43dbb3,endRow:_0x19120d}=_0x2fefda,_0x31d0cd=_0x476013[_0x3ec7a1(0x1ad)](_0x2431ef,_0x36f25a,_0x8fc02d,_0x3f3af8),_0x56efb3=_0x476013[_0x3ec7a1(0x1ad)](_0x19120d,_0x43dbb3,_0x8fc02d,_0x3f3af8),{columnHeaderHeightAndMarginTop:_0x5ac9f3}=_0x3f3af8,{startX:_0x3167b0,startY:_0x43a0f7}=_0x31d0cd,{endX:_0x501c87,endY:_0x4e42c8}=_0x56efb3,_0x4cf7b9=_0x501c87-_0x3167b0,_0xb411ca=_0x4e42c8-_0x43a0f7,_0x1c5dee={'labelPosition':_0x43a0f7-_0x5ac9f3>=_0xfc8153?_0x3ec7a1(0x1b5):_0x3ec7a1(0x15e),'sheetID':_0x130d49,'range':_0x2fefda,'color':_0x403110,'name':_0x66428a,'selection':_0x49d3bc,'left':_0x3167b0,'top':_0x43a0f7,'width':_0x4cf7b9,'height':_0xb411ca,'evented':!0x1,'zIndex':_0x261855};return new _0xfe2e0a(_0x66428a,_0x1c5dee);});_0x8fc02d[_0x2172ba(0x1d8)](_0x2753c8,_0x17721a),this['_cursors']=new Set(_0x2753c8);}[_0x2a4230(0xa2)](){const _0x1df685=_0x2a4230;var _0x28962d;(_0x28962d=this[_0x1df685(0x1f3)])==null||_0x28962d[_0x1df685(0x30d)](_0x4417f5=>_0x4417f5[_0x1df685(0x75)]());}[_0x2a4230(0x30a)](){const _0x15ce0c=_0x2a4230;return _0x476013[_0x15ce0c(0x117)](this['_context']['unit'],this[_0x15ce0c(0x1cb)]);}};_0x1f6d7b=_0x4a1d02([_0x33ed27(0x1,_0x3c1804[_0x2a4230(0x172)](_0x476013[_0x2a4230(0x7b)])),_0x33ed27(0x2,_0x3c1804[_0x2a4230(0x172)](_0x120278)),_0x33ed27(0x3,_0x3c1804['Inject'](_0x3c1804[_0x2a4230(0x24d)]))],_0x1f6d7b);function _0x3c6a46(_0x91f0b2){const _0x174bfb=_0x2a4230,_0xe641e4=new Map();return _0x91f0b2[_0x174bfb(0x30d)](_0x1bb60b=>{const _0x1b4701=_0x174bfb;if(_0xe641e4['has'](_0x1bb60b['selection'])){const _0x253b90=_0xe641e4[_0x1b4701(0x9e)](_0x1bb60b[_0x1b4701(0x26c)]);_0x253b90[_0x1b4701(0xc9)]+=',\x20'+_0x1bb60b['name'];}else _0xe641e4[_0x1b4701(0x2cd)](_0x1bb60b[_0x1b4701(0x26c)],_0x1bb60b);}),Array[_0x174bfb(0xca)](_0xe641e4['values']());}var _0x35d1e5=function(){const _0x2bc8dc=_0x2a4230;return _0x35d1e5=Object[_0x2bc8dc(0x209)]||function(_0x25c54f){const _0x52e0cb=_0x2bc8dc;for(var _0x57186e,_0x1cacf4=0x1,_0x47c164=arguments[_0x52e0cb(0x210)];_0x1cacf4<_0x47c164;_0x1cacf4++){_0x57186e=arguments[_0x1cacf4];for(var _0x34d59d in _0x57186e)Object[_0x52e0cb(0xf6)][_0x52e0cb(0x220)][_0x52e0cb(0x291)](_0x57186e,_0x34d59d)&&(_0x25c54f[_0x34d59d]=_0x57186e[_0x34d59d]);}return _0x25c54f;},_0x35d1e5['apply'](this,arguments);},_0x38a142=function(_0x55027c,_0xc739fd){const _0x889e08=_0x2a4230;var _0x23c07f={};for(var _0x351dfa in _0x55027c)Object[_0x889e08(0xf6)]['hasOwnProperty'][_0x889e08(0x291)](_0x55027c,_0x351dfa)&&_0xc739fd[_0x889e08(0xaf)](_0x351dfa)<0x0&&(_0x23c07f[_0x351dfa]=_0x55027c[_0x351dfa]);if(_0x55027c!=null&&typeof Object[_0x889e08(0xae)]==_0x889e08(0x22b)){for(var _0x1d50a5=0x0,_0x351dfa=Object[_0x889e08(0xae)](_0x55027c);_0x1d50a5<_0x351dfa[_0x889e08(0x210)];_0x1d50a5++)_0xc739fd[_0x889e08(0xaf)](_0x351dfa[_0x1d50a5])<0x0&&Object['prototype'][_0x889e08(0x151)][_0x889e08(0x291)](_0x55027c,_0x351dfa[_0x1d50a5])&&(_0x23c07f[_0x351dfa[_0x1d50a5]]=_0x55027c[_0x351dfa[_0x1d50a5]]);}return _0x23c07f;},_0x3aa54e=_0x264b32[_0x2a4230(0x1c4)](function(_0x4907d1,_0x26a963){const _0x4ba1bd=_0x2a4230;var _0x203fc5=_0x4907d1[_0x4ba1bd(0x273)],_0x4c034c=_0x4907d1['id'],_0xe9dba0=_0x4907d1['className'],_0x3862c4=_0x4907d1[_0x4ba1bd(0x2dc)],_0x3b49da=_0x38a142(_0x4907d1,[_0x4ba1bd(0x273),'id',_0x4ba1bd(0x20d),_0x4ba1bd(0x2dc)]),_0x1de701=_0x4ba1bd(0xe8)['concat'](_0x4c034c,'\x20')[_0x4ba1bd(0x26a)](_0xe9dba0||'')[_0x4ba1bd(0x100)](),_0x38be57=_0x264b32[_0x4ba1bd(0x219)]('_'[_0x4ba1bd(0x26a)](_0x33899b()));return _0x214c91(_0x203fc5,''['concat'](_0x4c034c),{'defIds':_0x203fc5['defIds'],'idSuffix':_0x38be57['current']},_0x35d1e5({'ref':_0x26a963,'className':_0x1de701},_0x3b49da),_0x3862c4);});function _0x214c91(_0x34ab7f,_0x12983c,_0x514bd3,_0x575a76,_0x10935c){const _0x8724da=_0x2a4230;return _0x264b32[_0x8724da(0x2b3)](_0x34ab7f[_0x8724da(0x306)],_0x35d1e5(_0x35d1e5({'key':_0x12983c},_0x434d3e(_0x34ab7f,_0x514bd3,_0x10935c)),_0x575a76),(_0x25cf0d(_0x34ab7f,_0x514bd3)[_0x8724da(0x308)]||[])['map'](function(_0x1dab6c,_0x4d3402){const _0x421b1c=_0x8724da;return _0x214c91(_0x1dab6c,''[_0x421b1c(0x26a)](_0x12983c,'-')['concat'](_0x34ab7f['tag'],'-')['concat'](_0x4d3402),_0x514bd3,void 0x0,_0x10935c);}));}function _0x434d3e(_0x33bbac,_0x2bb4a4,_0xa6bc9){const _0x432c22=_0x2a4230;var _0x2960cf=_0x35d1e5({},_0x33bbac['attrs']);_0xa6bc9!=null&&_0xa6bc9['colorChannel1']&&_0x2960cf['fill']===_0x432c22(0x24c)&&(_0x2960cf[_0x432c22(0x174)]=_0xa6bc9[_0x432c22(0x24c)]),_0x33bbac['tag']==='mask'&&_0x2960cf['id']&&(_0x2960cf['id']=_0x2960cf['id']+_0x2bb4a4['idSuffix']),Object['entries'](_0x2960cf)[_0x432c22(0x30d)](function(_0xe5f836){const _0x3011f9=_0x432c22;var _0xbbe367=_0xe5f836[0x0],_0x59d618=_0xe5f836[0x1];_0xbbe367===_0x3011f9(0x74)&&typeof _0x59d618=='string'&&(_0x2960cf[_0xbbe367]=_0x59d618[_0x3011f9(0x138)](/url\(#(.*)\)/,'url(#$1'[_0x3011f9(0x26a)](_0x2bb4a4[_0x3011f9(0x230)],')')));});var _0x20db6e=_0x2bb4a4[_0x432c22(0xa8)];return!_0x20db6e||_0x20db6e[_0x432c22(0x210)]===0x0||(_0x33bbac[_0x432c22(0x306)]===_0x432c22(0x79)&&_0x2960cf[_0x432c22(0x1fd)]&&(_0x2960cf[_0x432c22(0x1fd)]=_0x2960cf['xlink:href']+_0x2bb4a4[_0x432c22(0x230)]),Object[_0x432c22(0x250)](_0x2960cf)[_0x432c22(0x30d)](function(_0x485374){const _0x1de4d9=_0x432c22;var _0x1df814=_0x485374[0x0],_0x2e0f67=_0x485374[0x1];typeof _0x2e0f67==_0x1de4d9(0xcd)&&(_0x2960cf[_0x1df814]=_0x2e0f67[_0x1de4d9(0x138)](/url\(#(.*)\)/,_0x1de4d9(0x129)['concat'](_0x2bb4a4['idSuffix'],')')));})),_0x2960cf;}function _0x25cf0d(_0x43605a,_0x39d720){const _0x14cbec=_0x2a4230;var _0x36e350,_0x2f9eed=_0x39d720['defIds'];return!_0x2f9eed||_0x2f9eed[_0x14cbec(0x210)]===0x0?_0x43605a:_0x43605a['tag']===_0x14cbec(0x97)&&(!((_0x36e350=_0x43605a[_0x14cbec(0x308)])===null||_0x36e350===void 0x0)&&_0x36e350[_0x14cbec(0x210)])?_0x35d1e5(_0x35d1e5({},_0x43605a),{'children':_0x43605a['children'][_0x14cbec(0x274)](function(_0x4938d0){const _0x3c8bd6=_0x14cbec;return typeof _0x4938d0[_0x3c8bd6(0x81)]['id']==_0x3c8bd6(0xcd)&&_0x2f9eed&&_0x2f9eed[_0x3c8bd6(0x18c)](_0x4938d0[_0x3c8bd6(0x81)]['id'])?_0x35d1e5(_0x35d1e5({},_0x4938d0),{'attrs':_0x35d1e5(_0x35d1e5({},_0x4938d0[_0x3c8bd6(0x81)]),{'id':_0x4938d0[_0x3c8bd6(0x81)]['id']+_0x39d720[_0x3c8bd6(0x230)]})}):_0x4938d0;})}):_0x43605a;}function _0x33899b(){const _0x5061a3=_0x2a4230;return Math[_0x5061a3(0x276)]()['toString'](0x24)[_0x5061a3(0x252)](0x2,0x8);}_0x3aa54e[_0x2a4230(0x2d1)]=_0x2a4230(0x15d);var _0x585497={'tag':_0x2a4230(0x102),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2a4230(0xa1),'viewBox':'0\x200\x2016\x2016','width':_0x2a4230(0x1b9),'height':_0x2a4230(0x1b9)},'children':[{'tag':'g','attrs':{'clipPath':_0x2a4230(0xb5)},'children':[{'tag':_0x2a4230(0x1a3),'attrs':{'stroke':_0x2a4230(0x21f),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x2a4230(0x294),'strokeLinejoin':_0x2a4230(0x294),'strokeWidth':1.2}}]},{'tag':_0x2a4230(0x97),'attrs':{},'children':[{'tag':_0x2a4230(0x1f5),'attrs':{'id':_0x2a4230(0x2b4)},'children':[{'tag':_0x2a4230(0x1a3),'attrs':{'fill':_0x2a4230(0x20b),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x2a4230(0x2b4)]},_0x281cb6=_0x264b32['forwardRef'](function(_0x42772f,_0x19a6d4){const _0x2921a5=_0x2a4230;return _0x264b32[_0x2921a5(0x2b3)](_0x3aa54e,Object[_0x2921a5(0x209)]({},_0x42772f,{'id':_0x2921a5(0x207),'ref':_0x19a6d4,'icon':_0x585497}));});_0x281cb6[_0x2a4230(0x2d1)]=_0x2a4230(0x309);var _0x12121e={'tag':_0x2a4230(0x102),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2a4230(0xa1),'viewBox':_0x2a4230(0x284),'width':_0x2a4230(0x1b9),'height':_0x2a4230(0x1b9)},'children':[{'tag':'g','attrs':{'clipPath':_0x2a4230(0xc7)},'children':[{'tag':_0x2a4230(0x1a3),'attrs':{'stroke':_0x2a4230(0x21f),'d':_0x2a4230(0x108),'strokeLinecap':_0x2a4230(0x294),'strokeLinejoin':_0x2a4230(0x294),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x2a4230(0x10e)},'children':[{'tag':_0x2a4230(0x1a3),'attrs':{'fill':'white','d':_0x2a4230(0x1e1),'transform':_0x2a4230(0x2ac)}}]}]}],'defIds':[_0x2a4230(0x10e)]},_0x4a27e6=_0x264b32[_0x2a4230(0x1c4)](function(_0x5f0a89,_0x3b061e){const _0x434a3c=_0x2a4230;return _0x264b32[_0x434a3c(0x2b3)](_0x3aa54e,Object[_0x434a3c(0x209)]({},_0x5f0a89,{'id':_0x434a3c(0x109),'ref':_0x3b061e,'icon':_0x12121e}));});_0x4a27e6[_0x2a4230(0x2d1)]=_0x2a4230(0xa6);function _0x3514f5(_0xa6343b){const _0xea6084=_0x2a4230;switch(_0xa6343b){case _0x4d8e7c[_0xea6084(0x2f6)]['OFFLINE']:return _0xea6084(0x2c4);case _0x4d8e7c['CollaborationStatus'][_0xea6084(0x90)]:return'collabStatus.conflict';case _0x4d8e7c[_0xea6084(0x2f6)][_0xea6084(0x30f)]:return _0xea6084(0xdb);case _0x4d8e7c[_0xea6084(0x2f6)]['NOT_COLLAB']:return _0xea6084(0x229);case _0x4d8e7c[_0xea6084(0x2f6)]['AWAITING']:case _0x4d8e7c[_0xea6084(0x2f6)]['AWAITING_WITH_PENDING']:return _0xea6084(0xda);case _0x4d8e7c[_0xea6084(0x2f6)][_0xea6084(0x149)]:case _0x4d8e7c[_0xea6084(0x2f6)]['PENDING']:return _0xea6084(0x29e);}}function _0x53356e(_0x369fa0){const _0x134ca2=_0x2a4230,{status$:_0x3a4d2c}=_0x369fa0,_0x14ec24=_0xb7c596['useObservable'](_0x3a4d2c,_0x4d8e7c[_0x134ca2(0x2f6)]['NOT_COLLAB']),_0xcfad2d=_0xb7c596[_0x134ca2(0x1d4)](_0x3c1804[_0x134ca2(0x2fc)]),_0x4de713=_0xb7c596[_0x134ca2(0x1d4)](_0x4d8e7c[_0x134ca2(0x119)]),_0x38c915=_0x14ec24!==_0x4d8e7c[_0x134ca2(0x2f6)]['OFFLINE'],_0x4a722e=_0xcfad2d['t'](_0x3514f5(_0x14ec24)),_0x2842d9=_0x38c915?_0x508896['jsx'](_0x4a27e6,{}):_0x508896[_0x134ca2(0x302)](_0x281cb6,{}),_0x154b86=_0x264b32[_0x134ca2(0x1ed)](()=>{_0x38c915||_0x4de713['reconnect']();},[_0x38c915,_0x4de713]);function _0x3784ee(){const _0x35e666=_0x134ca2;return _0x508896[_0x35e666(0x2a4)](_0x35e666(0xd9),{'className':'univer-flex\x20univer-items-center','onClick':_0x154b86,'children':[_0x508896['jsx']('div',{'className':_0x2e0a42['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x38c915,'univer-text-red-500':!_0x38c915}),'children':_0x2842d9}),_0x508896[_0x35e666(0x302)](_0x35e666(0xd9),{'className':_0x35e666(0x215),'children':_0x4a722e})]});}return _0x38c915?_0x3784ee():_0x508896[_0x134ca2(0x302)](_0x2e0a42[_0x134ca2(0x184)],{'title':_0xcfad2d['t'](_0x134ca2(0x127)),'children':_0x3784ee()});}var _0x267bdb=Object[_0x2a4230(0x310)],_0x3e1a15=(_0x1724bb,_0x40baae,_0x467fbc,_0x1213d8)=>{for(var _0x526952=_0x1213d8>0x1?void 0x0:_0x1213d8?_0x267bdb(_0x40baae,_0x467fbc):_0x40baae,_0x4cd1ce=_0x1724bb['length']-0x1,_0x54f95c;_0x4cd1ce>=0x0;_0x4cd1ce--)(_0x54f95c=_0x1724bb[_0x4cd1ce])&&(_0x526952=_0x54f95c(_0x526952)||_0x526952);return _0x526952;},_0x152d53=(_0x585a2c,_0x45a067)=>(_0x1c16b1,_0x5ce727)=>_0x45a067(_0x1c16b1,_0x5ce727,_0x585a2c);_0x4e590a[_0x2a4230(0x10b)]=class extends _0x3c1804[_0x2a4230(0x11b)]{constructor(_0x22ae6e,_0x25a307,_0x5a4c3f,_0xc390f6){const _0x1d072a=_0x2a4230;super(),_0x275745(this,_0x1d072a(0xc5),new _0x23318b[(_0x1d072a(0x19a))](_0x4d8e7c['CollaborationStatus']['NOT_COLLAB'])),(this[_0x1d072a(0x1c6)]=_0x22ae6e,this[_0x1d072a(0x2f5)]=_0x25a307,this[_0x1d072a(0x13a)]=_0x5a4c3f,this[_0x1d072a(0x1f6)]=_0xc390f6,this[_0x1d072a(0xb1)](),this['_initStatusListener']());}[_0x2a4230(0x13b)](){const _0x2309de=_0x2a4230;this[_0x2309de(0xc6)](this[_0x2309de(0x1c6)][_0x2309de(0x2f7)][_0x2309de(0x154)](_0x23318b[_0x2309de(0x161)](()=>{const _0x13c5c3=_0x2309de,_0x4714f5=this['_univerInstanceService'][_0x13c5c3(0x1f8)]();return _0x4714f5?this[_0x13c5c3(0x13a)]['getCollabEntity$'](_0x4714f5['getUnitId']()):_0x23318b['of'](null);}),_0x23318b[_0x2309de(0x161)](_0x494d6d=>_0x494d6d?_0x494d6d[_0x2309de(0x2c8)]:_0x23318b['of'](_0x4d8e7c[_0x2309de(0x2f6)][_0x2309de(0xdd)])))[_0x2309de(0x86)](_0x1c4a49=>{const _0x502525=_0x2309de;this[_0x502525(0xc5)][_0x502525(0x120)](_0x1c4a49);}));}['_initStatusComponent'](){const _0x2f4347=_0x2a4230;this[_0x2f4347(0xc6)](this[_0x2f4347(0x1f6)][_0x2f4347(0x18b)](_0xb7c596[_0x2f4347(0x9a)]['HEADER_MENU'],()=>_0xb7c596[_0x2f4347(0x200)](_0x2fe208({'status$':this[_0x2f4347(0xc5)]['asObservable']()}),this[_0x2f4347(0x2f5)])));}},_0x4e590a[_0x2a4230(0x10b)]=_0x3e1a15([_0x152d53(0x0,_0x3c1804[_0x2a4230(0x72)]),_0x152d53(0x1,_0x3c1804[_0x2a4230(0x172)](_0x3c1804['Injector'])),_0x152d53(0x2,_0x3c1804[_0x2a4230(0x172)](_0x4d8e7c[_0x2a4230(0x12f)])),_0x152d53(0x3,_0xb7c596[_0x2a4230(0xdf)])],_0x4e590a[_0x2a4230(0x10b)]);function _0x2fe208(_0x13fb13){const {status$:_0x3afb71}=_0x13fb13;return function(){const _0x2a8c6d=_0x1bfb;return _0x508896[_0x2a8c6d(0x302)](_0x53356e,{'status$':_0x3afb71});};}var _0x1862ad=Object[_0x2a4230(0x310)],_0x2854c6=(_0x593041,_0xe13d3c,_0x5a539e,_0x37aab1)=>{for(var _0x5b8b4f=_0x37aab1>0x1?void 0x0:_0x37aab1?_0x1862ad(_0xe13d3c,_0x5a539e):_0xe13d3c,_0x1f1e64=_0x593041['length']-0x1,_0x3e90c5;_0x1f1e64>=0x0;_0x1f1e64--)(_0x3e90c5=_0x593041[_0x1f1e64])&&(_0x5b8b4f=_0x3e90c5(_0x5b8b4f)||_0x5b8b4f);return _0x5b8b4f;},_0x42d1e5=(_0x2ce331,_0x18de0b)=>(_0x20e3e9,_0x2292a8)=>_0x18de0b(_0x20e3e9,_0x2292a8,_0x2ce331);let _0x5be03f=class extends _0x3c1804[_0x2a4230(0x11b)]{constructor(_0xfe6cb9,_0x158f54,_0x5d7737,_0x1bcd47,_0x598924,_0x5b2ea3){const _0x13481b=_0x2a4230;super(),this[_0x13481b(0x95)]=_0xfe6cb9,this[_0x13481b(0x2d8)]=_0x158f54,this[_0x13481b(0xd0)]=_0x5d7737,this[_0x13481b(0xc1)]=_0x1bcd47,this[_0x13481b(0x142)]=_0x598924,this[_0x13481b(0x259)]=_0x5b2ea3,this[_0x13481b(0x21b)](),this[_0x13481b(0x232)]();}[_0x2a4230(0x21b)](){const _0x3433fc=_0x2a4230;this['disposeWithMe'](this[_0x3433fc(0x95)][_0x3433fc(0x71)](()=>{const _0x200caa=_0x3433fc;if(this[_0x200caa(0x2d8)]['saveTaskMap'][_0x200caa(0x2e3)])return this['_localeService']['t'](_0x200caa(0x281));}));}[_0x2a4230(0x232)](){const _0x1cccaf=_0x2a4230;this[_0x1cccaf(0xc6)](this[_0x1cccaf(0xd0)][_0x1cccaf(0x171)][_0x1cccaf(0x86)](_0x285e4b=>{const _0x580c8e=_0x1cccaf;_0x285e4b['id']===_0x4d8e7c['CollaborationUIEventId'][_0x580c8e(0xb9)]&&this[_0x580c8e(0xc1)][_0x580c8e(0x278)]({'type':_0x2e0a42['MessageType']['Warning'],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x285e4b['id']===_0x4d8e7c[_0x580c8e(0xbe)][_0x580c8e(0x28e)]&&this['_messageService'][_0x580c8e(0x278)]({'type':_0x2e0a42[_0x580c8e(0x29d)][_0x580c8e(0x8e)],'content':this[_0x580c8e(0x259)]['t'](_0x580c8e(0x227))}),_0x285e4b['id']===_0x4d8e7c[_0x580c8e(0xbe)][_0x580c8e(0xe0)]&&this['_notificationService'][_0x580c8e(0x278)]({'title':this[_0x580c8e(0x259)]['t'](_0x580c8e(0x1ec)),'content':this[_0x580c8e(0x259)]['t']('permission.content'),'type':'error','duration':0x0}),_0x285e4b['id']===_0x4d8e7c['CollaborationUIEventId'][_0x580c8e(0x90)]&&this[_0x580c8e(0xc1)][_0x580c8e(0x278)]({'type':_0x2e0a42[_0x580c8e(0x29d)]['Error'],'content':this[_0x580c8e(0x259)]['t'](_0x580c8e(0x227))+'('+_0x285e4b[_0x580c8e(0xa4)]+')'}),_0x285e4b['id']===_0x4d8e7c['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x580c8e(0xc1)][_0x580c8e(0x278)]({'type':_0x2e0a42[_0x580c8e(0x29d)][_0x580c8e(0x8e)],'content':this[_0x580c8e(0x259)]['t'](_0x285e4b[_0x580c8e(0xa4)]||'')}),_0x285e4b['id']===_0x4d8e7c['CollaborationUIEventId'][_0x580c8e(0xb3)]&&this[_0x580c8e(0xc1)][_0x580c8e(0x278)]({'type':_0x2e0a42['MessageType']['Warning'],'content':this[_0x580c8e(0x259)]['t'](_0x580c8e(0x295))}),_0x285e4b['id']===_0x4d8e7c[_0x580c8e(0xbe)][_0x580c8e(0x25d)]&&this[_0x580c8e(0xc1)][_0x580c8e(0x278)]({'type':_0x2e0a42[_0x580c8e(0x29d)]['Error'],'content':this[_0x580c8e(0x259)]['t'](_0x580c8e(0x2d3))}),_0x285e4b['id']===_0x4d8e7c['CollaborationUIEventId'][_0x580c8e(0x217)]&&this[_0x580c8e(0xc1)][_0x580c8e(0x278)]({'type':_0x2e0a42[_0x580c8e(0x29d)][_0x580c8e(0xb0)],'content':this['_localeService']['t'](_0x580c8e(0x2ec))});}));}};_0x5be03f=_0x2854c6([_0x42d1e5(0x0,_0xb7c596[_0x2a4230(0x19b)]),_0x42d1e5(0x1,_0x4d8e7c[_0x2a4230(0x125)]),_0x42d1e5(0x2,_0x3c1804[_0x2a4230(0x172)](_0x4d8e7c[_0x2a4230(0x27e)])),_0x42d1e5(0x3,_0xb7c596[_0x2a4230(0x204)]),_0x42d1e5(0x4,_0xb7c596[_0x2a4230(0x1a4)]),_0x42d1e5(0x5,_0x3c1804[_0x2a4230(0x172)](_0x3c1804[_0x2a4230(0x2fc)]))],_0x5be03f);const _0x5b970e=_0x2a4230(0x231),_0x3a187b={},_0x56d03c=_0x3c1804[_0x2a4230(0xa9)]('uni.network.url-service');var _0x27ab41=Object['getOwnPropertyDescriptor'],_0x384d80=(_0x22eaad,_0x4da01b,_0x3cbc9a,_0x4e71d1)=>{const _0x5506d2=_0x2a4230;for(var _0x1e58f1=_0x4e71d1>0x1?void 0x0:_0x4e71d1?_0x27ab41(_0x4da01b,_0x3cbc9a):_0x4da01b,_0x53ad5e=_0x22eaad[_0x5506d2(0x210)]-0x1,_0xe77745;_0x53ad5e>=0x0;_0x53ad5e--)(_0xe77745=_0x22eaad[_0x53ad5e])&&(_0x1e58f1=_0xe77745(_0x1e58f1)||_0x1e58f1);return _0x1e58f1;},_0xe0f450=(_0x3653ec,_0x36aade)=>(_0x521563,_0x304c3f)=>_0x36aade(_0x521563,_0x304c3f,_0x3653ec);_0x4e590a[_0x2a4230(0x1fe)]=class extends _0x3c1804[_0x2a4230(0xc0)]{constructor(_0x29fd9b,_0x36b1fd,_0x36307b,_0x1cd40b,_0xa6d70a){const _0x3e3e57=_0x2a4230;super(),this[_0x3e3e57(0x312)]=_0x29fd9b,this[_0x3e3e57(0x1de)]=_0x36b1fd,this['_commandService']=_0x36307b,this[_0x3e3e57(0x244)]=_0x1cd40b,_0xa6d70a?_0xa6d70a==null||_0xa6d70a[_0x3e3e57(0x2d0)]()[_0x3e3e57(0x14f)](()=>this[_0x3e3e57(0x2c1)]()):(this['_logService'][_0x3e3e57(0x282)](_0x3e3e57(0x197),_0x3e3e57(0x2ce)),this['_init']());}async[_0x2a4230(0x2c1)](){const _0x47a562=_0x2a4230,_0x4a5c30=this['_urlService'][_0x47a562(0x1f9)](_0x47a562(0x1da)),_0x4722ae=this['_urlService'][_0x47a562(0x1f9)](_0x47a562(0x2d7)),_0x161a72=this[_0x47a562(0x312)][_0x47a562(0x1f9)](_0x47a562(0x189));if(!_0x4a5c30||!_0x4722ae){this['_logService'][_0x47a562(0x282)](_0x47a562(0x197),_0x47a562(0x249));return;}const _0x348233=await this['_dataLoaderService'][_0x47a562(0x2c3)](_0x4a5c30,Number(_0x4722ae),_0x161a72);_0x348233&&_0x348233 instanceof _0x3c1804[_0x47a562(0x2d6)]&&this['_setupSubUnitSync'](_0x348233);}async[_0x2a4230(0x206)](_0x3f2043){const _0xc9ff06=_0x2a4230;await this['_updateSubUnitFromURLParams'](_0x3f2043),_0x3f2043[_0xc9ff06(0x2f1)][_0xc9ff06(0x154)](_0x23318b[_0xc9ff06(0xfe)](this[_0xc9ff06(0x1aa)]))[_0xc9ff06(0x86)](_0x2e6389=>{const _0x200e63=_0xc9ff06;_0x2e6389&&this[_0x200e63(0xe6)](_0x2e6389);}),this[_0xc9ff06(0x312)][_0xc9ff06(0x2b8)]['pipe'](_0x23318b['takeUntil'](this[_0xc9ff06(0x1aa)]))[_0xc9ff06(0x86)](()=>this['_updateSubUnitFromURLParams'](_0x3f2043));}[_0x2a4230(0xe6)](_0x866f8e,_0x78a825=!0x1){const _0x10b3e0=_0x2a4230,_0x2cb10e=this[_0x10b3e0(0x312)][_0x10b3e0(0x1f9)](_0x10b3e0(0x189));_0x866f8e[_0x10b3e0(0xd1)]()!==_0x2cb10e&&this[_0x10b3e0(0x312)][_0x10b3e0(0xe9)](_0x10b3e0(0x189),_0x866f8e[_0x10b3e0(0xd1)](),_0x78a825);}async['_updateSubUnitFromURLParams'](_0x29c59a){const _0x2cf03e=_0x2a4230;var _0x5bbf3f;const _0x3fadc2=this[_0x2cf03e(0x312)][_0x2cf03e(0x1f9)](_0x2cf03e(0x189));if(!_0x3fadc2||!_0x29c59a[_0x2cf03e(0x18d)](_0x3fadc2)){const _0x566cf9=_0x29c59a[_0x2cf03e(0x1bb)]()[0x0],_0x3b478c=_0x29c59a[_0x2cf03e(0x18d)](_0x566cf9);if(!_0x3b478c)return;this['_updateURLWithCurrentState'](_0x3b478c,!0x0),await this['_commandService'][_0x2cf03e(0x181)](_0x441e63[_0x2cf03e(0x2b9)]['id'],{'unitId':_0x29c59a[_0x2cf03e(0x224)](),'subUnitId':_0x566cf9});return;}((_0x5bbf3f=_0x29c59a[_0x2cf03e(0x1cf)]())==null?void 0x0:_0x5bbf3f[_0x2cf03e(0xd1)]())!==_0x3fadc2&&await this[_0x2cf03e(0x9b)][_0x2cf03e(0x181)](_0x441e63['SetWorksheetActivateCommand']['id'],{'unitId':_0x29c59a[_0x2cf03e(0x224)](),'subUnitId':_0x3fadc2});}},_0x4e590a[_0x2a4230(0x1fe)]=_0x384d80([_0xe0f450(0x0,_0x56d03c),_0xe0f450(0x1,_0x3c1804['ILogService']),_0xe0f450(0x2,_0x3c1804[_0x2a4230(0x122)]),_0xe0f450(0x3,_0x3c1804[_0x2a4230(0x172)](_0x4d8e7c['DataLoaderService'])),_0xe0f450(0x4,_0x3c1804[_0x2a4230(0x2a9)](_0x9f1645['IRemoteInstanceService']))],_0x4e590a[_0x2a4230(0x1fe)]);var _0x4e5591=Object[_0x2a4230(0x310)],_0x102740=(_0x5c5730,_0x289487,_0x5bcc6e,_0x2f309e)=>{const _0x4a8b03=_0x2a4230;for(var _0x14a413=_0x2f309e>0x1?void 0x0:_0x2f309e?_0x4e5591(_0x289487,_0x5bcc6e):_0x289487,_0x529bc2=_0x5c5730[_0x4a8b03(0x210)]-0x1,_0x1b50f9;_0x529bc2>=0x0;_0x529bc2--)(_0x1b50f9=_0x5c5730[_0x529bc2])&&(_0x14a413=_0x1b50f9(_0x14a413)||_0x14a413);return _0x14a413;},_0x4222c4=(_0x432623,_0x4576ad)=>(_0x53c7cc,_0x456dd4)=>_0x4576ad(_0x53c7cc,_0x456dd4,_0x432623);let _0x291d78=class{constructor(_0x2100fa,_0x51e649){const _0x133f39=_0x2a4230;this['_transformService']=_0x2100fa,this[_0x133f39(0x12a)]=_0x51e649;}[_0x2a4230(0x111)](_0x4db1bf){const _0x24787e=_0x2a4230;this[_0x24787e(0x298)](_0x4db1bf),this[_0x24787e(0x2e0)](_0x4db1bf);}[_0x2a4230(0x212)](_0x2ea209){const _0x42f6f6=_0x2a4230,{unitID:_0x318ed1}=_0x2ea209,_0x10fd8f=this[_0x42f6f6(0x12a)]['getRenderById'](_0x318ed1)[_0x42f6f6(0xdc)](_0x4aced0[_0x42f6f6(0x16b)]),{redoCache:_0x44e83b}=_0x10fd8f['getUndoRedoMutationParamsCache']();if(_0x44e83b[_0x42f6f6(0x210)]===0x0)return _0x2ea209;let _0x10721a=_0x3c1804[_0x42f6f6(0x2ad)]['deepClone'](_0x2ea209[_0x42f6f6(0x144)][0x0]);for(let _0x42d2bd=0x0;_0x42d2bd<_0x44e83b['length'];_0x42d2bd++){const _0x3d4577={'id':_0x42f6f6(0x124),'params':{..._0x44e83b[_0x42d2bd]}},_0x106083=this[_0x42f6f6(0x1b4)]['transformMutation'](_0x10721a,_0x3d4577,!0x1);if(_0x4b9b03[_0x42f6f6(0x192)](_0x106083))throw _0x106083[_0x42f6f6(0x103)];_0x10721a=_0x106083[_0x42f6f6(0x2b1)];}return{..._0x3c1804[_0x42f6f6(0x2ad)]['deepClone'](_0x2ea209),'mutations':[_0x10721a]};}[_0x2a4230(0x298)](_0x2db7ff){const _0x15d71a=_0x2a4230,{unitID:_0x31744c}=_0x2db7ff,_0x5dc95d=this[_0x15d71a(0x12a)]['getRenderById'](_0x31744c)[_0x15d71a(0xdc)](_0x4aced0[_0x15d71a(0x16b)]),{undoCache:_0x27ee2e,redoCache:_0x2af9a7}=_0x5dc95d[_0x15d71a(0x2e8)]();if(_0x27ee2e['length']===0x0||_0x2af9a7['length']===0x0)return;const _0x379bc3=[],_0x204c31=[];let _0x15e510=_0x3c1804['Tools'][_0x15d71a(0x293)](_0x2db7ff[_0x15d71a(0x144)][0x0]),_0x4487df=_0x3c1804[_0x15d71a(0x2ad)][_0x15d71a(0x293)](_0x2db7ff['mutations'][0x0]);for(let _0x4c1653=_0x27ee2e['length']-0x1;_0x4c1653>=0x0;_0x4c1653--){const _0x4a3d0f={'id':_0x15d71a(0x124),'params':{..._0x27ee2e[_0x4c1653]}},_0x49720c={'id':'doc.mutation.rich-text-editing','params':{..._0x2af9a7[_0x4c1653]}},_0x3242fe=this[_0x15d71a(0x1b4)]['transformMutation'](_0x15e510,_0x4a3d0f,!0x1),_0x113632=this[_0x15d71a(0x1b4)]['transformMutation'](_0x4487df,_0x49720c,!0x1);if(_0x4b9b03[_0x15d71a(0x192)](_0x3242fe))throw _0x3242fe[_0x15d71a(0x103)];if(_0x4b9b03['isTransformMutationFailure'](_0x113632))throw _0x113632[_0x15d71a(0x103)];_0x379bc3['unshift'](_0x3242fe[_0x15d71a(0x13f)][_0x15d71a(0x270)]),_0x204c31['unshift'](_0x113632[_0x15d71a(0x13f)][_0x15d71a(0x270)]),_0x15e510=_0x3242fe[_0x15d71a(0x2b1)],_0x4487df=_0x113632[_0x15d71a(0x2b1)];}_0x5dc95d[_0x15d71a(0xe7)]({'undoCache':_0x379bc3,'redoCache':_0x204c31});}[_0x2a4230(0x2e0)](_0x1a00d2){const _0x516edc=_0x2a4230,{unitID:_0x3b0c1a}=_0x1a00d2,_0x4a0ac4=this[_0x516edc(0x12a)]['getRenderById'](_0x3b0c1a)[_0x516edc(0xdc)](_0x4aced0[_0x516edc(0x16b)]),_0x23afc6=_0x4a0ac4[_0x516edc(0x1d0)]();if(_0x23afc6==null)return;const _0xa796dc=[{'id':_0x516edc(0x124),'params':{'unitId':_0x1a00d2[_0x516edc(0x2be)],'actions':null,'textRanges':[_0x23afc6]}}],_0x558d67=this['_transformService']['transformMutationsWithChangeset'](_0x1a00d2,_0xa796dc);if(!_0x4b9b03['isTransformMutationsWithChangesetSuccess'](_0x558d67))throw _0x558d67[_0x516edc(0x103)];const _0x44f39e=_0x558d67[_0x516edc(0x13f)][0x0][_0x516edc(0x270)][_0x516edc(0x159)];Array[_0x516edc(0x271)](_0x44f39e)&&_0x44f39e[_0x516edc(0x210)]&&_0x4a0ac4[_0x516edc(0x20f)](_0x44f39e[0x0]);}};_0x291d78=_0x102740([_0x4222c4(0x0,_0x4b9b03[_0x2a4230(0x1a9)]),_0x4222c4(0x1,_0x214f70[_0x2a4230(0x1f1)])],_0x291d78);var _0x645181=Object['getOwnPropertyDescriptor'],_0x33cbc1=(_0x6b3f06,_0x42550b,_0x56bb8c,_0x329cf7)=>{const _0x4c76c1=_0x2a4230;for(var _0x5e6086=_0x329cf7>0x1?void 0x0:_0x329cf7?_0x645181(_0x42550b,_0x56bb8c):_0x42550b,_0x1c9737=_0x6b3f06[_0x4c76c1(0x210)]-0x1,_0xdb3377;_0x1c9737>=0x0;_0x1c9737--)(_0xdb3377=_0x6b3f06[_0x1c9737])&&(_0x5e6086=_0xdb3377(_0x5e6086)||_0x5e6086);return _0x5e6086;},_0xe057d=(_0x3961c8,_0x2b2934)=>(_0x3accc0,_0x5e752f)=>_0x2b2934(_0x3accc0,_0x5e752f,_0x3961c8);let _0x234507=class{constructor(_0x23896b,_0x3b5791,_0xda143a){const _0x2d740b=_0x2a4230;this[_0x2d740b(0x2f5)]=_0x23896b,this['_transformService']=_0x3b5791,this[_0x2d740b(0x11a)]=_0xda143a;}[_0x2a4230(0x26f)](_0x89ba9a){this['_transformHistoryAndStateStack'](_0x89ba9a);}[_0x2a4230(0x212)](_0x42d0ba){const _0x4bacd7=_0x2a4230,{unitID:_0x1a72b4}=_0x42d0ba,{collaboration:_0x29839a}=this[_0x4bacd7(0x11a)]['getStateCache'](_0x1a72b4);if(_0x29839a[_0x4bacd7(0x210)]===0x0)return _0x42d0ba;let _0x144027=_0x3c1804[_0x4bacd7(0x2ad)][_0x4bacd7(0x293)](_0x42d0ba[_0x4bacd7(0x144)][0x0]);for(let _0x3167a8=0x0;_0x3167a8<_0x29839a[_0x4bacd7(0x210)];_0x3167a8++){const _0x517000={'id':_0x4bacd7(0x124),'params':{'unitId':_0x29839a[_0x3167a8][_0x4bacd7(0x203)],..._0x29839a[_0x3167a8]['redoState']}},_0x133cdf=this['_transformService'][_0x4bacd7(0x25b)](_0x144027,_0x517000,!0x1);if(_0x4b9b03[_0x4bacd7(0x192)](_0x133cdf))throw _0x133cdf[_0x4bacd7(0x103)];_0x144027=_0x133cdf[_0x4bacd7(0x2b1)];}return{..._0x3c1804[_0x4bacd7(0x2ad)]['deepClone'](_0x42d0ba),'mutations':[_0x144027]};}[_0x2a4230(0x307)](_0x2db74f){const _0x373cb6=_0x2a4230,{unitID:_0x5b899c}=_0x2db74f,{history:_0x462174,collaboration:_0x29f0ee}=this[_0x373cb6(0x11a)][_0x373cb6(0x1db)](_0x5b899c);if(_0x462174[_0x373cb6(0x210)]===0x0&&_0x29f0ee[_0x373cb6(0x210)]===0x0)return;const _0x3abe27=[],_0x38ecfe=[];let _0x49a7f1=_0x3c1804[_0x373cb6(0x2ad)][_0x373cb6(0x293)](_0x2db74f['mutations'][0x0]),_0x45f137=_0x3c1804['Tools'][_0x373cb6(0x293)](_0x2db74f[_0x373cb6(0x144)][0x0]);for(let _0x2b67ac=_0x462174['length']-0x1;_0x2b67ac>=0x0;_0x2b67ac--){const _0xf1b99e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x462174[_0x2b67ac][_0x373cb6(0x203)],..._0x462174[_0x2b67ac][_0x373cb6(0xed)]}},_0x33ae02={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x462174[_0x2b67ac][_0x373cb6(0x203)],..._0x462174[_0x2b67ac][_0x373cb6(0xb6)]}},_0x420a87=this[_0x373cb6(0x1b4)]['transformMutation'](_0x49a7f1,_0xf1b99e,!0x1),_0x4ae316=this[_0x373cb6(0x1b4)][_0x373cb6(0x25b)](_0x45f137,_0x33ae02,!0x1);if(_0x4b9b03[_0x373cb6(0x192)](_0x420a87))throw _0x420a87[_0x373cb6(0x103)];if(_0x4b9b03[_0x373cb6(0x192)](_0x4ae316))throw _0x4ae316[_0x373cb6(0x103)];_0x3abe27['unshift']({..._0x462174[_0x2b67ac],'undoState':_0x420a87[_0x373cb6(0x13f)][_0x373cb6(0x270)],'redoState':_0x4ae316['m2Prime'][_0x373cb6(0x270)]}),_0x49a7f1=_0x420a87[_0x373cb6(0x2b1)],_0x45f137=_0x4ae316['m1Prime'];}_0x49a7f1=_0x3c1804[_0x373cb6(0x2ad)]['deepClone'](_0x2db74f[_0x373cb6(0x144)][0x0]),_0x45f137=_0x3c1804[_0x373cb6(0x2ad)][_0x373cb6(0x293)](_0x2db74f[_0x373cb6(0x144)][0x0]);for(let _0x317777=_0x29f0ee[_0x373cb6(0x210)]-0x1;_0x317777>=0x0;_0x317777--){const _0x5319f8={'id':_0x373cb6(0x124),'params':{'unitId':_0x29f0ee[_0x317777]['unitId'],..._0x29f0ee[_0x317777]['undoState']}},_0x147509={'id':_0x373cb6(0x124),'params':{'unitId':_0x29f0ee[_0x317777]['unitId'],..._0x29f0ee[_0x317777][_0x373cb6(0xb6)]}},_0x4050d3=this[_0x373cb6(0x1b4)][_0x373cb6(0x25b)](_0x49a7f1,_0x5319f8,!0x1),_0x3defcc=this['_transformService'][_0x373cb6(0x25b)](_0x45f137,_0x147509,!0x1);if(_0x4b9b03[_0x373cb6(0x192)](_0x4050d3))throw _0x4050d3['error'];if(_0x4b9b03['isTransformMutationFailure'](_0x3defcc))throw _0x3defcc['error'];_0x38ecfe[_0x373cb6(0x163)]({..._0x29f0ee[_0x317777],'undoState':_0x4050d3[_0x373cb6(0x13f)][_0x373cb6(0x270)],'redoState':_0x3defcc['m2Prime'][_0x373cb6(0x270)]}),_0x49a7f1=_0x4050d3[_0x373cb6(0x2b1)],_0x45f137=_0x3defcc[_0x373cb6(0x2b1)];}this[_0x373cb6(0x11a)][_0x373cb6(0x23b)](_0x5b899c,{'history':_0x3abe27,'collaboration':_0x38ecfe});}};_0x234507=_0x33cbc1([_0xe057d(0x0,_0x3c1804[_0x2a4230(0x172)](_0x3c1804[_0x2a4230(0x2b5)])),_0xe057d(0x1,_0x4b9b03[_0x2a4230(0x1a9)]),_0xe057d(0x2,_0x3c1804[_0x2a4230(0x172)](_0x4aced0['DocStateChangeManagerService']))],_0x234507);var _0x89c548=Object['getOwnPropertyDescriptor'],_0x1f6356=(_0x41d403,_0x4e5e27,_0x45b7de,_0x4a9bf6)=>{const _0x317e91=_0x2a4230;for(var _0x2cd5a6=_0x4a9bf6>0x1?void 0x0:_0x4a9bf6?_0x89c548(_0x4e5e27,_0x45b7de):_0x4e5e27,_0x420aa9=_0x41d403[_0x317e91(0x210)]-0x1,_0x4aa5df;_0x420aa9>=0x0;_0x420aa9--)(_0x4aa5df=_0x41d403[_0x420aa9])&&(_0x2cd5a6=_0x4aa5df(_0x2cd5a6)||_0x2cd5a6);return _0x2cd5a6;},_0x67c924=(_0x4e2078,_0x462861)=>(_0x50fe42,_0x4a0c43)=>_0x462861(_0x50fe42,_0x4a0c43,_0x4e2078);let _0x52d2d4=class{constructor(_0x1d5f88,_0x49a189){const _0xb7272f=_0x2a4230;this[_0xb7272f(0x2f5)]=_0x1d5f88,this[_0xb7272f(0x1b4)]=_0x49a189;}['transformSelections'](_0xfc43f6){const _0x52db3d=_0x2a4230;var _0x9b89c3;const _0x519ba3=this[_0x52db3d(0x2f5)]['get'](_0x3c10b0['DocSelectionManagerService']),_0x129e76=(_0x9b89c3=_0x519ba3['getDocRanges']())!=null?_0x9b89c3:[];if(_0x129e76[_0x52db3d(0x210)]===0x0)return;const _0x2a5894=_0xfc43f6[_0x52db3d(0x2be)],_0x42e949=[{'id':_0x52db3d(0x124),'params':{'unitId':_0x2a5894,'actions':null,'textRanges':_0x129e76}}],_0x110473=this['_transformService']['transformMutationsWithChangeset'](_0xfc43f6,_0x42e949);if(!_0x4b9b03[_0x52db3d(0x121)](_0x110473))throw _0x110473[_0x52db3d(0x103)];const _0x3de66d=_0x110473[_0x52db3d(0x13f)][0x0][_0x52db3d(0x270)][_0x52db3d(0x159)];Array[_0x52db3d(0x271)](_0x3de66d)&&_0x3de66d[_0x52db3d(0x210)]&&_0x519ba3[_0x52db3d(0x70)](_0x3de66d,{'unitId':_0x2a5894,'subUnitId':_0x2a5894},!0x1);}};_0x52d2d4=_0x1f6356([_0x67c924(0x0,_0x3c1804[_0x2a4230(0x172)](_0x3c1804['Injector'])),_0x67c924(0x1,_0x4b9b03[_0x2a4230(0x1a9)])],_0x52d2d4);var _0x2d3df1=Object['getOwnPropertyDescriptor'],_0x5a6468=(_0x2536c3,_0x1aea9b,_0x31a2f4,_0x186dba)=>{const _0x3eb843=_0x2a4230;for(var _0x288b35=_0x186dba>0x1?void 0x0:_0x186dba?_0x2d3df1(_0x1aea9b,_0x31a2f4):_0x1aea9b,_0x5925e6=_0x2536c3[_0x3eb843(0x210)]-0x1,_0x5e0be2;_0x5925e6>=0x0;_0x5925e6--)(_0x5e0be2=_0x2536c3[_0x5925e6])&&(_0x288b35=_0x5e0be2(_0x288b35)||_0x288b35);return _0x288b35;},_0x5ddcad=(_0x29aac3,_0x2fbd05)=>(_0xc0f0a5,_0x3cee07)=>_0x2fbd05(_0xc0f0a5,_0x3cee07,_0x29aac3);let _0x4eac55=class extends _0x3c1804['Disposable']{constructor(_0x559481,_0x4602,_0x5de09a,_0x32a202,_0x1dafa4,_0x2a00a0,_0x2c5cbd,_0x5acd98){const _0xd2f2b=_0x2a4230;super(),_0x275745(this,_0xd2f2b(0xc5),new _0x23318b[(_0xd2f2b(0x19a))](_0x4d8e7c[_0xd2f2b(0x2f6)][_0xd2f2b(0xdd)])),(this[_0xd2f2b(0x11a)]=_0x559481,this[_0xd2f2b(0x13a)]=_0x4602,this['_docTransformIMECacheService']=_0x5de09a,this[_0xd2f2b(0xe5)]=_0x32a202,this[_0xd2f2b(0x2a8)]=_0x1dafa4,this[_0xd2f2b(0x185)]=_0x2a00a0,this[_0xd2f2b(0xc1)]=_0x2c5cbd,this[_0xd2f2b(0x259)]=_0x5acd98,this[_0xd2f2b(0x19f)]());}['_initEntityListener'](){const _0x2d7eba=_0x2a4230;this[_0x2d7eba(0xc6)](this[_0x2d7eba(0x13a)][_0x2d7eba(0x93)]['subscribe'](_0x2ff8bd=>{const _0x3064d5=_0x2d7eba,_0x46abd0=this[_0x3064d5(0x11a)]['docStateChange$'][_0x3064d5(0x86)](_0x82e7ad=>{const _0x259902=_0x3064d5;if(_0x82e7ad==null)return;const {unitId:_0x53d5fd,redoState:_0x498a6c,commandId:_0x1caf3b}=_0x82e7ad;if(_0x53d5fd!==_0x2ff8bd[_0x259902(0x2be)])return;const _0x59f7e0={'id':_0x1caf3b,'type':_0x3c1804[_0x259902(0x8b)][_0x259902(0xcb)],'params':{'unitId':_0x53d5fd,'actions':_0x498a6c[_0x259902(0x2ea)],'textRanges':null}};_0x2ff8bd[_0x259902(0x23a)](_0x59f7e0);});if(_0x2ff8bd['disposeWithMe'](_0x46abd0),_0x2ff8bd instanceof _0x4d8e7c[_0x3064d5(0x2eb)]){const _0x22558a={'onTransformIME':_0x5c4c=>this[_0x3064d5(0x15c)]['transformIMECache'](_0x5c4c),'onTransformState':_0x4a4474=>this[_0x3064d5(0xe5)][_0x3064d5(0x26f)](_0x4a4474),'onTransformSelections':_0x582153=>this[_0x3064d5(0x2a8)][_0x3064d5(0x10c)](_0x582153),'onSyncEditingCollabCursor':_0x24aacf=>this[_0x3064d5(0x185)][_0x3064d5(0x301)](_0x24aacf),'onTransformRemoteChangesetByIMECache':_0x45fd7b=>this[_0x3064d5(0x15c)][_0x3064d5(0x212)](_0x45fd7b),'onTransformRemoteChangesetByStateCache':_0x2f7dc5=>this[_0x3064d5(0xe5)][_0x3064d5(0x212)](_0x2f7dc5)};_0x2ff8bd[_0x3064d5(0x262)](_0x22558a);}}));}};_0x4eac55=_0x5a6468([_0x5ddcad(0x0,_0x3c1804[_0x2a4230(0x172)](_0x4aced0[_0x2a4230(0x247)])),_0x5ddcad(0x1,_0x3c1804[_0x2a4230(0x172)](_0x4d8e7c[_0x2a4230(0x12f)])),_0x5ddcad(0x2,_0x3c1804['Inject'](_0x291d78)),_0x5ddcad(0x3,_0x3c1804['Inject'](_0x234507)),_0x5ddcad(0x4,_0x3c1804['Inject'](_0x52d2d4)),_0x5ddcad(0x5,_0x3c1804['Inject'](_0x149923)),_0x5ddcad(0x6,_0xb7c596[_0x2a4230(0x204)]),_0x5ddcad(0x7,_0x3c1804[_0x2a4230(0x172)](_0x3c1804[_0x2a4230(0x2fc)]))],_0x4eac55);var _0x3197aa=Object[_0x2a4230(0x310)],_0x599b5e=(_0x1d920c,_0x2c9b9c,_0x2f735d,_0x111914)=>{for(var _0x1465fc=_0x111914>0x1?void 0x0:_0x111914?_0x3197aa(_0x2c9b9c,_0x2f735d):_0x2c9b9c,_0x3788d3=_0x1d920c['length']-0x1,_0x107bb5;_0x3788d3>=0x0;_0x3788d3--)(_0x107bb5=_0x1d920c[_0x3788d3])&&(_0x1465fc=_0x107bb5(_0x1465fc)||_0x1465fc);return _0x1465fc;},_0x583c4b=(_0x40195a,_0x347cb8)=>(_0x1557e6,_0x28f0de)=>_0x347cb8(_0x1557e6,_0x28f0de,_0x40195a);let _0x3b652d=class extends _0x3c1804[_0x2a4230(0x11b)]{constructor(_0x27b376,_0x432946,_0x119d36){const _0x1b7935=_0x2a4230;super(),_0x275745(this,_0x1b7935(0x1ac),new Map()),_0x275745(this,_0x1b7935(0x1b2),new Map()),_0x275745(this,'_disabled',!0x1),(this['_configService']=_0x27b376,this[_0x1b7935(0xbf)]=_0x432946,this[_0x1b7935(0x290)]=_0x119d36);}['disableLocalCache'](){const _0x1cb916=_0x2a4230;this[_0x1cb916(0x16c)]=!0x0;}[_0x2a4230(0x11d)](){const _0x51ceed=_0x2a4230;this[_0x51ceed(0x16c)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}['dispose'](){const _0xd36ccc=_0x2a4230;this[_0xd36ccc(0x1b0)]()[_0xd36ccc(0x14f)](()=>super[_0xd36ccc(0x75)]());}async[_0x2a4230(0x2bd)](_0x41499a){const _0x5ab1dd=_0x2a4230;return this[_0x5ab1dd(0x16c)]?null:this[_0x5ab1dd(0xbf)]['getItem'](_0x4d8e7c[_0x5ab1dd(0x11e)](_0x41499a));}async[_0x2a4230(0x78)](_0x187128,_0x3fa472){const _0x39b722=_0x2a4230;return!!this[_0x39b722(0xbf)][_0x39b722(0x12b)](_0x187128,_0x3fa472);}[_0x2a4230(0x2e6)](_0x4dd887,_0x1abf14,_0x49ee85,_0x15f7fd){const _0x5547dd=_0x2a4230,_0x1f9b84=this['_revisionService'][_0x5547dd(0x20e)](_0x4dd887);this[_0x5547dd(0x1ac)][_0x5547dd(0x2cd)](_0x4dd887,{'unitID':_0x4dd887,'type':_0x1abf14,'awaitingChangeset':_0x49ee85,'mutations':_0x15f7fd,'rev':_0x1f9b84}),this[_0x5547dd(0x1b2)][_0x5547dd(0x23e)](_0x4dd887)||this[_0x5547dd(0xfd)](_0x4dd887);}[_0x2a4230(0xfd)](_0x1a1662){const _0x3fbede=_0x2a4230,_0xeef60e=this[_0x3fbede(0x1b8)]();_0xeef60e===0x0?this['_saveCache'](_0x1a1662):this[_0x3fbede(0x1b2)][_0x3fbede(0x2cd)](_0x1a1662,setTimeout(()=>this['_saveCache'](_0x1a1662),_0xeef60e));}[_0x2a4230(0x1b8)](){const _0x14bf57=_0x2a4230;var _0x1617a8;return(_0x1617a8=this[_0x14bf57(0xad)][_0x14bf57(0x10a)](_0x4d8e7c[_0x14bf57(0x2ff)]))!=null?_0x1617a8:_0x4d8e7c['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0x3a98d4){const _0x1d8c93=_0x2a4230,_0xfdbc0a=this['_saveTaskMap'][_0x1d8c93(0x9e)](_0x3a98d4);return _0xfdbc0a!==void 0x0&&window[_0x1d8c93(0xff)](_0xfdbc0a),this[_0x1d8c93(0xbf)]['setItem'](_0x4d8e7c[_0x1d8c93(0x11e)](_0x3a98d4),this['_cachedData'][_0x1d8c93(0x9e)](_0x3a98d4))[_0x1d8c93(0x14f)](()=>this[_0x1d8c93(0x1b2)][_0x1d8c93(0x1e0)](_0x3a98d4));}async[_0x2a4230(0x1b0)](){const _0x4149a0=_0x2a4230,_0x1db28c=[];this[_0x4149a0(0x1b2)][_0x4149a0(0x30d)]((_0x5457d2,_0x53997b)=>{const _0x1566f7=_0x4149a0;window[_0x1566f7(0xff)](_0x5457d2),_0x1db28c['push'](this[_0x1566f7(0x21d)](_0x53997b)[_0x1566f7(0x14f)](()=>{const _0x2954ba=_0x1566f7;this[_0x2954ba(0x1b2)][_0x2954ba(0x1e0)](_0x53997b);}));}),await Promise['all'](_0x1db28c);}};_0x3b652d=_0x599b5e([_0x583c4b(0x0,_0x3c1804[_0x2a4230(0x23d)]),_0x583c4b(0x1,_0x3c1804[_0x2a4230(0x16d)]),_0x583c4b(0x2,_0x3c1804[_0x2a4230(0x172)](_0x4b9b03[_0x2a4230(0xba)]))],_0x3b652d);class _0x50a82d extends _0x3c1804[_0x2a4230(0xc0)]{constructor(){const _0x23ea13=_0x2a4230;super(),_0x275745(this,_0x23ea13(0x2b8)),this[_0x23ea13(0x2b8)]=_0x23318b[_0x23ea13(0x1c3)](window,_0x23ea13(0x132))['pipe'](_0x23318b[_0x23ea13(0xfe)](this['dispose$']),_0x23318b[_0x23ea13(0x2e1)](0x1),_0x23318b[_0x23ea13(0x114)](void 0x0));}['setParam'](_0x32986a,_0x3d6091,_0x10dd8e=!0x1){const _0x2dfbd7=_0x2a4230,_0x19f199=new URL(window['location']['href']);_0x19f199[_0x2dfbd7(0x233)]['set'](_0x32986a,_0x3d6091),_0x10dd8e?window[_0x2dfbd7(0x9f)][_0x2dfbd7(0x28b)]('','',_0x19f199[_0x2dfbd7(0x135)]()):window[_0x2dfbd7(0x9f)]['pushState']('','',_0x19f199[_0x2dfbd7(0x135)]());}[_0x2a4230(0x128)](_0x9179c5,_0x530fb4=!0x1){const _0x158d7a=_0x2a4230,_0x3f092=new URL(window[_0x158d7a(0x1a7)]['href']);_0x3f092['searchParams'][_0x158d7a(0x1e0)](_0x9179c5),_0x530fb4?window[_0x158d7a(0x9f)]['replaceState']('','',_0x3f092[_0x158d7a(0x135)]()):window['history'][_0x158d7a(0x2fe)]('','',_0x3f092[_0x158d7a(0x135)]());}[_0x2a4230(0x1f9)](_0x3c23d2){const _0x498890=_0x2a4230;var _0x430266;return(_0x430266=new URL(window[_0x498890(0x1a7)][_0x498890(0xd8)])[_0x498890(0x233)][_0x498890(0x9e)](_0x3c23d2))!=null?_0x430266:void 0x0;}}var _0x1473bd=Object[_0x2a4230(0x1b6)],_0x2f61b0=Object[_0x2a4230(0x310)],_0x3295c6=(_0x414cd7,_0x507629,_0x2ced58)=>_0x507629 in _0x414cd7?_0x1473bd(_0x414cd7,_0x507629,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ced58}):_0x414cd7[_0x507629]=_0x2ced58,_0x39ddfa=(_0x7daa9c,_0x1c980f,_0x39d0c7,_0x5d38c2)=>{for(var _0x566f26=_0x5d38c2>0x1?void 0x0:_0x5d38c2?_0x2f61b0(_0x1c980f,_0x39d0c7):_0x1c980f,_0x8ea48b=_0x7daa9c['length']-0x1,_0xa10d12;_0x8ea48b>=0x0;_0x8ea48b--)(_0xa10d12=_0x7daa9c[_0x8ea48b])&&(_0x566f26=_0xa10d12(_0x566f26)||_0x566f26);return _0x566f26;},_0x2920db=(_0x301313,_0x1cc36a)=>(_0x336717,_0x591ae1)=>_0x1cc36a(_0x336717,_0x591ae1,_0x301313),_0xa93bb0=(_0x187089,_0x24352a,_0x225c04)=>_0x3295c6(_0x187089,_0x24352a+'',_0x225c04);const _0x383fdc=_0x2a4230(0x2e4);_0x4e590a['UniverCollaborationClientUIPlugin']=class extends _0x3c1804['Plugin']{constructor(_0x346e3e=_0x3a187b,_0x34fc35,_0x2bfe00,_0x5ded75){const _0x207415=_0x2a4230;super(),this['_config']=_0x346e3e,this[_0x207415(0x12a)]=_0x34fc35,this[_0x207415(0x2f5)]=_0x2bfe00,this['_configService']=_0x5ded75;const {..._0x51f7d6}=_0x3c1804['merge']({},_0x3a187b,this[_0x207415(0x24f)]);this[_0x207415(0xad)][_0x207415(0x2c7)](_0x5b970e,_0x51f7d6);}[_0x2a4230(0x191)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x2a4230(0x2de)](){this['_registerRenderDependencies']();}[_0x2a4230(0xf4)](){const _0x4420c5=_0x2a4230;var _0x502e0;const _0xc3b002=[[_0x7baa89],[_0x52d2d4],[_0x291d78],[_0x234507],[_0x149923],[_0x56d03c,{'useClass':_0x50a82d}],[_0x3ceccb[_0x4420c5(0x279)],{'useClass':_0x3ceccb[_0x4420c5(0x28d)]}],[_0x4d8e7c['ILocalCacheService'],{'useClass':_0x3b652d}],[_0x4e590a[_0x4420c5(0x10b)]],[_0x4eac55],[_0x5be03f],[_0x120278],[_0x34b7fc],[_0x4e590a[_0x4420c5(0x1fe)]]];_0x3c1804[_0x4420c5(0x267)](this[_0x4420c5(0x2f5)],_0x3c1804['mergeOverrideWithDependencies'](_0xc3b002,(_0x502e0=this[_0x4420c5(0x24f)])==null?void 0x0:_0x502e0[_0x4420c5(0x1b3)]));}[_0x2a4230(0x2cb)](){const _0x4c5383=_0x2a4230;this[_0x4c5383(0xc6)](this[_0x4c5383(0x12a)][_0x4c5383(0x18a)](_0x3c1804[_0x4c5383(0x253)]['UNIVER_DOC'],[_0x5eb364])),this[_0x4c5383(0xc6)](this[_0x4c5383(0x12a)][_0x4c5383(0x18a)](_0x3c1804['UniverInstanceType'][_0x4c5383(0x165)],[_0x1f6d7b]));}[_0x2a4230(0x1c7)](){const _0x3ec9f4=_0x2a4230;_0x3c1804['touchDependencies'](this[_0x3ec9f4(0x2f5)],[[_0x120278],[_0x4e590a[_0x3ec9f4(0x10b)]],[_0x4eac55],[_0x5be03f],[_0x4e590a[_0x3ec9f4(0x1fe)]]]);}},_0xa93bb0(_0x4e590a[_0x2a4230(0x19d)],_0x2a4230(0x170),_0x383fdc),_0x4e590a[_0x2a4230(0x19d)]=_0x39ddfa([_0x3c1804[_0x2a4230(0x20a)](_0x4d8e7c['UniverCollaborationClientPlugin']),_0x2920db(0x1,_0x214f70[_0x2a4230(0x1f1)]),_0x2920db(0x2,_0x3c1804[_0x2a4230(0x172)](_0x3c1804['Injector'])),_0x2920db(0x3,_0x3c1804[_0x2a4230(0x23d)])],_0x4e590a[_0x2a4230(0x19d)]);var _0x2fb126=Object[_0x2a4230(0x310)],_0x350a73=(_0x4cbed8,_0x39c830,_0x208bf2,_0x26b023)=>{const _0x4b29dc=_0x2a4230;for(var _0x112e9b=_0x26b023>0x1?void 0x0:_0x26b023?_0x2fb126(_0x39c830,_0x208bf2):_0x39c830,_0x3773c3=_0x4cbed8[_0x4b29dc(0x210)]-0x1,_0xd3d7e1;_0x3773c3>=0x0;_0x3773c3--)(_0xd3d7e1=_0x4cbed8[_0x3773c3])&&(_0x112e9b=_0xd3d7e1(_0x112e9b)||_0x112e9b);return _0x112e9b;},_0x1626ef=(_0x5a6515,_0x3b4506)=>(_0x1ecaaf,_0x4dfce2)=>_0x3b4506(_0x1ecaaf,_0x4dfce2,_0x5a6515);_0x4e590a[_0x2a4230(0x9d)]=class extends _0x4d8e7c['CollaborationSocketService']{constructor(_0x53b4d2,_0x4b341e,_0x4a4d71,_0x2ab77d,_0x3cce89){super(_0x53b4d2,_0x4b341e,_0x4a4d71,_0x2ab77d,_0x3cce89);}async[_0x2a4230(0x1d9)](_0x555400){const _0x4295d6=_0x2a4230,_0x671a0a=await this['_getSessionTicket'](),_0x4e2bfa=this[_0x4295d6(0x245)](_0x555400,_0x671a0a);return this['_doCreateSocket'](_0x4e2bfa);}[_0x2a4230(0x245)](_0xc577c0,_0x11f213){const _0x319919=_0x2a4230,_0x53a6f0=typeof window>'u'?new URL(_0xc577c0):new URL(_0xc577c0,window[_0x319919(0x1a7)][_0x319919(0x26e)]);_0x53a6f0['searchParams'][_0x319919(0x2cd)](_0x319919(0x147),_0x11f213);const _0x5a0886=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x319919(0x1a7)][_0x319919(0xf0)]);return _0x5a0886[_0x319919(0x9e)](_0x319919(0xe2))&&_0x53a6f0[_0x319919(0x233)][_0x319919(0x2cd)](_0x319919(0xe2),_0x5a0886[_0x319919(0x9e)](_0x319919(0xe2))),_0x53a6f0[_0x319919(0x135)]();}async[_0x2a4230(0x11c)](){const _0x5792f3=_0x2a4230;var _0xb57c36,_0x8456a7,_0x5dcdc3;const _0x4184f0=this[_0x5792f3(0xad)][_0x5792f3(0x10a)](_0x4d8e7c['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x34b9b4=(_0xb57c36=_0x4184f0==null?void 0x0:_0x4184f0[_0x5792f3(0x182)])!=null?_0xb57c36:_0x4d8e7c[_0x5792f3(0x258)];return(_0x5dcdc3=(_0x8456a7=(await this[_0x5792f3(0x176)][_0x5792f3(0x9e)](_0x34b9b4,{'headers':{'Content-Type':_0x5792f3(0x1f4)}}))['body'])==null?void 0x0:_0x8456a7[_0x5792f3(0x1d1)])!=null?_0x5dcdc3:'';}},_0x4e590a['BrowserCollaborationSocketService']=_0x350a73([_0x1626ef(0x0,_0x3c1804[_0x2a4230(0x172)](_0x3c1804['Injector'])),_0x1626ef(0x1,_0x3c1804[_0x2a4230(0x172)](_0x3ceccb[_0x2a4230(0x2e9)])),_0x1626ef(0x2,_0x3c1804[_0x2a4230(0x23d)]),_0x1626ef(0x3,_0x3c1804[_0x2a4230(0x1ab)]),_0x1626ef(0x4,_0x4b9b03['ISnapshotServerService'])],_0x4e590a[_0x2a4230(0x9d)]);const _0x461d63=0x7530,_0xd734cb=_0x2a4230(0xa5);class _0x33492f extends _0x3c1804[_0x2a4230(0x11b)]{constructor(){const _0x247a22=_0x2a4230;super(),_0x275745(this,_0x247a22(0x265),_0x3c1804[_0x247a22(0x12d)]()),_0x275745(this,_0x247a22(0xfa),new Set()),_0x275745(this,_0x247a22(0x139),new Map()),_0x275745(this,_0x247a22(0x1f0),null),_0x275745(this,_0x247a22(0xbc),new Map()),_0x275745(this,_0x247a22(0x98),new Map()),this['_init']();}[_0x2a4230(0x75)](){const _0x246c04=_0x2a4230;super[_0x246c04(0x75)](),this['_clearOtherTimers'][_0x246c04(0x30d)]((_0x56c57d,_0x148f7f)=>this['_removeClearOtherTimer'](_0x148f7f)),this[_0x246c04(0x1f0)]&&window[_0x246c04(0x2c2)](this['_heartbeatTimer']);}[_0x2a4230(0x1c9)](_0x519d9c){const _0x257767=_0x2a4230;return this[_0x257767(0x226)](_0x519d9c)['pipe'](_0x23318b[_0x257767(0x21e)]());}[_0x2a4230(0x187)](_0x132cbd){const _0xcaeb5e=_0x2a4230;this[_0xcaeb5e(0xfa)][_0xcaeb5e(0x2e3)]===0x0&&this['_scheduleHeartbeat'](),this[_0xcaeb5e(0xfa)]['add'](_0x132cbd),this[_0xcaeb5e(0x17e)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x132cbd],'isForwarded':!0x1});}[_0x2a4230(0x2d2)](_0x2c282c){const _0xe20de4=_0x2a4230;this['_selfUnitIDs'][_0xe20de4(0x1e0)](_0x2c282c),this[_0xe20de4(0xfa)]['size']===0x0&&this[_0xe20de4(0x1f0)]&&window[_0xe20de4(0x2c2)](this[_0xe20de4(0x1f0)]);}[_0x2a4230(0x2c1)](){const _0x1618e5=_0x2a4230;this['disposeWithMe'](_0x3c1804[_0x1618e5(0xe1)](_0x23318b[_0x1618e5(0x1c3)](window,_0x1618e5(0x186))[_0x1618e5(0x86)](_0x37727d=>{const _0x12ead9=_0x1618e5;if(_0x37727d[_0x12ead9(0x1ce)]!==_0xd734cb||!_0x37727d[_0x12ead9(0x280)])return;const _0x535c9d=JSON[_0x12ead9(0x17b)](_0x37727d[_0x12ead9(0x280)]);this[_0x12ead9(0x14c)](_0x535c9d);}))),window[_0x1618e5(0x148)](_0x1618e5(0x277),()=>this[_0x1618e5(0x17e)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x1618e5(0xfa)])}));}[_0x2a4230(0x14c)](_0x3bc93e){const _0x4365ee=_0x2a4230;switch(_0x3bc93e[_0x4365ee(0x2d7)]){case 0x0:this[_0x4365ee(0x169)](_0x3bc93e);break;case 0x1:this[_0x4365ee(0x113)](_0x3bc93e);break;case 0x2:this[_0x4365ee(0x1a8)](_0x3bc93e);break;}}[_0x2a4230(0x169)](_0x5451ec){const _0x3c99f6=_0x2a4230,{unitIDs:_0x5b9daa,memberID:_0x1e1ee5,isForwarded:_0x43d55e}=_0x5451ec;_0x5b9daa['forEach'](_0x52da0c=>{const _0x12a1f0=_0x1bfb;if(!_0x43d55e&&this[_0x12a1f0(0x139)][_0x12a1f0(0x23e)](_0x52da0c)&&this[_0x12a1f0(0x226)](_0x52da0c)['next'](_0x4d8e7c[_0x12a1f0(0x12c)][_0x12a1f0(0x141)]),!this['_unitOnClients'][_0x12a1f0(0x23e)](_0x52da0c)||!this[_0x12a1f0(0x139)][_0x12a1f0(0x9e)](_0x52da0c)[_0x12a1f0(0x23e)](_0x1e1ee5)){const _0x4c4cb5=this[_0x12a1f0(0x139)]['get'](_0x52da0c)||new Set();_0x4c4cb5[_0x12a1f0(0x137)](_0x1e1ee5),this[_0x12a1f0(0x139)]['set'](_0x52da0c,_0x4c4cb5),this[_0x12a1f0(0x223)](_0x1e1ee5);}}),_0x43d55e||this[_0x3c99f6(0x17e)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x2a4230(0x223)](_0x53ab4c){const _0x57df08=_0x2a4230;this[_0x57df08(0x254)](_0x53ab4c);const _0x32ea93=window[_0x57df08(0x13d)](()=>{const _0x59765f=_0x57df08;this['_unitOnClients'][_0x59765f(0x30d)](_0x1155a9=>{const _0x5e0215=_0x59765f;_0x1155a9[_0x5e0215(0x1e0)](_0x53ab4c);});},_0x461d63*0x2);this[_0x57df08(0xbc)][_0x57df08(0x2cd)](_0x53ab4c,_0x32ea93);}[_0x2a4230(0x254)](_0xa4ce39){const _0x406773=_0x2a4230;if(this[_0x406773(0xbc)]['has'](_0xa4ce39)){const _0x1bac57=this[_0x406773(0xbc)][_0x406773(0x9e)](_0xa4ce39);_0x1bac57&&window['clearTimeout'](_0x1bac57),this['_clearOtherTimers'][_0x406773(0x2cd)](_0xa4ce39,null);}}[_0x2a4230(0x113)](_0x30e8c3){const _0x5745fe=_0x2a4230,{memberID:_0x2d14e4,unitIDs:_0x1b678e}=_0x30e8c3;_0x1b678e['forEach'](_0x4ba272=>{const _0x46999d=_0x1bfb;var _0x5f385a;const _0x11b7b7=this['_unitOnClients'][_0x46999d(0x9e)](_0x4ba272);_0x11b7b7&&(_0x11b7b7['delete'](_0x2d14e4),(_0x5f385a=this['_ensureSubject'](_0x4ba272))==null||_0x5f385a[_0x46999d(0x120)](_0x11b7b7[_0x46999d(0x2e3)]===0x0?_0x4d8e7c['UnitStatus'][_0x46999d(0x1d6)]:_0x4d8e7c[_0x46999d(0x12c)]['OTHER_CLIENTS_EDITING']));}),this[_0x5745fe(0x254)](_0x2d14e4);}[_0x2a4230(0x1a8)](_0x17c916){const _0x553fd3=_0x2a4230;this[_0x553fd3(0x223)](_0x17c916[_0x553fd3(0x2c0)]);}['_send'](_0x5e8f8d){const _0x28fc6f=_0x2a4230;localStorage[_0x28fc6f(0x12b)](_0xd734cb,JSON[_0x28fc6f(0x22a)](_0x5e8f8d));}[_0x2a4230(0x2a6)](){const _0xd8cd16=_0x2a4230;this['_heartbeatTimer']=window[_0xd8cd16(0x198)](()=>{const _0x9dbcdb=_0xd8cd16;this[_0x9dbcdb(0x17e)]({'type':0x2,'memberID':this['_id']});},_0x461d63);}['_ensureSubject'](_0x2c2072){const _0x3d4db8=_0x2a4230;return this[_0x3d4db8(0x98)][_0x3d4db8(0x23e)](_0x2c2072)||this[_0x3d4db8(0x98)][_0x3d4db8(0x2cd)](_0x2c2072,new _0x23318b['BehaviorSubject'](_0x4d8e7c[_0x3d4db8(0x12c)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x3d4db8(0x98)][_0x3d4db8(0x9e)](_0x2c2072);}}var _0x37a998=(_0x41bd73=>(_0x41bd73[_0x41bd73['UNDEFINED']=0x0]=_0x2a4230(0x216),_0x41bd73[_0x41bd73['OK']=0x1]='OK',_0x41bd73[_0x41bd73[_0x2a4230(0x22d)]=0x2]='INTERNAL_ERROR',_0x41bd73[_0x41bd73['PERMISSION_DENIED']=0x3]=_0x2a4230(0xe0),_0x41bd73[_0x41bd73[_0x2a4230(0x29f)]=0x4]=_0x2a4230(0x29f),_0x41bd73[_0x41bd73[_0x2a4230(0x21c)]=0x5]='UNAUTHENTICATED',_0x41bd73[_0x41bd73[_0x2a4230(0x1bd)]=0x6]=_0x2a4230(0x1bd),_0x41bd73[_0x41bd73[_0x2a4230(0x29a)]=0x7]=_0x2a4230(0x29a),_0x41bd73[_0x41bd73[_0x2a4230(0x1dc)]=0x8]=_0x2a4230(0x1dc),_0x41bd73[_0x41bd73[_0x2a4230(0xde)]=0x9]=_0x2a4230(0xde),_0x41bd73[_0x41bd73[_0x2a4230(0x13c)]=0xa]=_0x2a4230(0x13c),_0x41bd73[_0x41bd73[_0x2a4230(0x21a)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x41bd73[_0x41bd73[_0x2a4230(0x2dd)]=0xc]=_0x2a4230(0x2dd),_0x41bd73[_0x41bd73['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x2a4230(0x22c),_0x41bd73[_0x41bd73[_0x2a4230(0x1c2)]=0xe]=_0x2a4230(0x1c2),_0x41bd73[_0x41bd73['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x2a4230(0x131),_0x41bd73[_0x41bd73[_0x2a4230(0x73)]=0x1771]=_0x2a4230(0x73),_0x41bd73[_0x41bd73[_0x2a4230(0x91)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x41bd73[_0x41bd73[_0x2a4230(0x1c0)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x41bd73[_0x41bd73[_0x2a4230(0xd6)]=0x1b59]='APPLY_REJECT',_0x41bd73[_0x41bd73[_0x2a4230(0x136)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x41bd73[_0x41bd73[_0x2a4230(0xef)]=0x1b5b]=_0x2a4230(0xef),_0x41bd73[_0x41bd73[_0x2a4230(0xeb)]=0x1b5c]=_0x2a4230(0xeb),_0x41bd73[_0x41bd73[_0x2a4230(0x25c)]=0x1b5d]=_0x2a4230(0x25c),_0x41bd73[_0x41bd73[_0x2a4230(0x24b)]=0x1f41]=_0x2a4230(0x24b),_0x41bd73[_0x41bd73[_0x2a4230(0x1a5)]=0x2329]=_0x2a4230(0x1a5),_0x41bd73[_0x41bd73[_0x2a4230(0xfc)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x41bd73[_0x41bd73[_0x2a4230(0x248)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x41bd73[_0x41bd73[_0x2a4230(0x17d)]=0x232c]=_0x2a4230(0x17d),_0x41bd73[_0x41bd73[_0x2a4230(0x2bf)]=0x232d]=_0x2a4230(0x2bf),_0x41bd73[_0x41bd73[_0x2a4230(0x1fc)]=0x2711]=_0x2a4230(0x1fc),_0x41bd73[_0x41bd73[_0x2a4230(0x15b)]=0x2712]=_0x2a4230(0x15b),_0x41bd73[_0x41bd73[_0x2a4230(0x1ea)]=0x2713]=_0x2a4230(0x1ea),_0x41bd73[_0x41bd73[_0x2a4230(0x2f2)]=0x2714]=_0x2a4230(0x2f2),_0x41bd73[_0x41bd73[_0x2a4230(0xee)]=0x271a]=_0x2a4230(0xee),_0x41bd73[_0x41bd73[_0x2a4230(0xf9)]=0x271b]=_0x2a4230(0xf9),_0x41bd73[_0x41bd73[_0x2a4230(0x1be)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x41bd73[_0x41bd73[_0x2a4230(0x285)]=0x271d]=_0x2a4230(0x285),_0x41bd73[_0x41bd73[_0x2a4230(0x10f)]=0x271e]=_0x2a4230(0x10f),_0x41bd73[_0x41bd73[_0x2a4230(0xab)]=0x271f]=_0x2a4230(0xab),_0x41bd73[_0x41bd73['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x41bd73[_0x41bd73['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x2a4230(0x289),_0x41bd73[_0x41bd73[_0x2a4230(0x167)]=0x2ee1]=_0x2a4230(0x167),_0x41bd73[_0x41bd73[_0x2a4230(0x304)]=0x2ee2]='INVALID_INVITE_CODE',_0x41bd73[_0x41bd73[_0x2a4230(0xf7)]=0x2ee3]=_0x2a4230(0xf7),_0x41bd73[_0x41bd73[_0x2a4230(0x237)]=0x2ee4]=_0x2a4230(0x237),_0x41bd73[_0x41bd73['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x2a4230(0x153),_0x41bd73[_0x41bd73[_0x2a4230(0xc3)]=0x32c9]=_0x2a4230(0xc3),_0x41bd73[_0x41bd73[_0x2a4230(0xbb)]=0x32ca]=_0x2a4230(0xbb),_0x41bd73[_0x41bd73['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2a4230(0x27a),_0x41bd73[_0x41bd73[_0x2a4230(0x178)]=-0x1]=_0x2a4230(0x178),_0x41bd73))(_0x37a998||{}),_0x5606fe=Object['getOwnPropertyDescriptor'],_0x425895=(_0x3fbc88,_0x103504,_0x57ea1b,_0x44c08f)=>{const _0x3cb200=_0x2a4230;for(var _0x23c0a8=_0x44c08f>0x1?void 0x0:_0x44c08f?_0x5606fe(_0x103504,_0x57ea1b):_0x103504,_0x594e63=_0x3fbc88[_0x3cb200(0x210)]-0x1,_0x363050;_0x594e63>=0x0;_0x594e63--)(_0x363050=_0x3fbc88[_0x594e63])&&(_0x23c0a8=_0x363050(_0x23c0a8)||_0x23c0a8);return _0x23c0a8;},_0x2ad9b9=(_0x56aae2,_0x12b543)=>(_0x33ef77,_0x3a52b9)=>_0x12b543(_0x33ef77,_0x3a52b9,_0x56aae2);_0x4e590a[_0x2a4230(0x2fd)]=class extends _0x3c1804['Disposable']{constructor(_0x155676,_0x4b39bd,_0x510036){const _0x14f416=_0x2a4230;super(),this[_0x14f416(0x1e5)]=_0x155676,this[_0x14f416(0x176)]=_0x4b39bd,this['_configService']=_0x510036;}async['runOnServer'](_0xad879a,_0x1a6d91,_0x320a9d,..._0x4f5d50){const _0x526b73=_0x2a4230;var _0x33d074,_0x1d27dd,_0x2e1877,_0x461656;const _0x2f19d5=this[_0x526b73(0x1e5)][_0x526b73(0x1f8)]();if(!_0x2f19d5)throw new Error(_0x526b73(0x2f8));const _0x2ab6bb=((_0x33d074=this[_0x526b73(0xad)]['getConfig'](_0x4d8e7c[_0x526b73(0x1bf)]))!=null?_0x33d074:_0x4d8e7c['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0xad879a+_0x526b73(0x99)+_0x1a6d91,_0x493d80=new URL(window[_0x526b73(0x1a7)][_0x526b73(0xd8)]),_0x226fcb={'scriptId':_0xad879a,'runId':(_0x1d27dd=_0x493d80['searchParams'][_0x526b73(0x9e)](_0x526b73(0xe2)))!=null?_0x1d27dd:'','function':_0x1a6d91,'unitId':_0x2f19d5[_0x526b73(0x224)](),'argsOfFunction':JSON[_0x526b73(0x22a)](_0x4f5d50),'invokeId':(_0x2e1877=_0x320a9d[_0x526b73(0x88)])!=null?_0x2e1877:'','executionId':(_0x461656=_0x320a9d[_0x526b73(0x7e)])!=null?_0x461656:''};try{const _0x899da5=await this[_0x526b73(0x176)][_0x526b73(0x268)](_0x2ab6bb,{'body':_0x226fcb});return _0x899da5[_0x526b73(0x82)][_0x526b73(0x103)]&&_0x899da5[_0x526b73(0x82)]['error'][_0x526b73(0x2da)]!==_0x37a998['OK']?_0x526b73(0x2d4):_0x899da5[_0x526b73(0x82)][_0x526b73(0xf2)];}catch{return _0x526b73(0x2d4);}}},_0x4e590a['RemoteUniscriptService']=_0x425895([_0x2ad9b9(0x0,_0x3c1804[_0x2a4230(0x72)]),_0x2ad9b9(0x1,_0x3c1804[_0x2a4230(0x172)](_0x3ceccb['HTTPService'])),_0x2ad9b9(0x2,_0x3c1804['IConfigService'])],_0x4e590a[_0x2a4230(0x2fd)]),_0x4e590a[_0x2a4230(0x1e7)]=_0x56d03c,_0x4e590a[_0x2a4230(0x8d)]=_0xfe2e0a,_0x4e590a['WebBrowserSingleActiveUnitService']=_0x33492f,_0x4e590a['WebURLService']=_0x50a82d,Object[_0x2a4230(0x1b6)](_0x4e590a,Symbol[_0x2a4230(0x2b7)],{'value':_0x2a4230(0xf1)});}));
|