@univerjs-pro/collaboration-client-ui 0.6.7 → 0.6.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -0
- package/lib/index.js +1 -0
- package/lib/locale/en-US.js +1 -0
- package/lib/locale/fa-IR.js +1 -0
- package/lib/locale/fr-FR.js +1 -0
- package/lib/locale/ru-RU.js +1 -0
- package/lib/locale/vi-VN.js +1 -0
- package/lib/locale/zh-CN.js +1 -0
- package/lib/locale/zh-TW.js +1 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +18 -18
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x93cf10,_0x5a2028){const _0x19fa9e=_0x4106,_0x188e08=_0x93cf10();while(!![]){try{const _0x112ab4=-parseInt(_0x19fa9e(0x35f))/0x1+-parseInt(_0x19fa9e(0x2b1))/0x2*(-parseInt(_0x19fa9e(0x211))/0x3)+parseInt(_0x19fa9e(0x36e))/0x4*(parseInt(_0x19fa9e(0x3a6))/0x5)+-parseInt(_0x19fa9e(0x2bc))/0x6*(parseInt(_0x19fa9e(0x24e))/0x7)+-parseInt(_0x19fa9e(0x399))/0x8+-parseInt(_0x19fa9e(0x16d))/0x9*(parseInt(_0x19fa9e(0x2a6))/0xa)+parseInt(_0x19fa9e(0x2c5))/0xb*(parseInt(_0x19fa9e(0x18e))/0xc);if(_0x112ab4===_0x5a2028)break;else _0x188e08['push'](_0x188e08['shift']());}catch(_0x4f898f){_0x188e08['push'](_0x188e08['shift']());}}}(_0x53be,0xe7d69),function(_0x9491ba,_0x3002e9){const _0x2dd2e2=_0x4106;typeof exports==_0x2dd2e2(0x368)&&typeof module<'u'?_0x3002e9(exports,require(_0x2dd2e2(0x35d)),require(_0x2dd2e2(0x162)),require('@univerjs/engine-render'),require(_0x2dd2e2(0x22b)),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require(_0x2dd2e2(0x1b5)),require(_0x2dd2e2(0x176)),require(_0x2dd2e2(0x31f)),require('@univerjs/engine-formula'),require(_0x2dd2e2(0x330)),require(_0x2dd2e2(0x164)),require(_0x2dd2e2(0x147)),require(_0x2dd2e2(0x36c)),require(_0x2dd2e2(0x1b9)),require('@univerjs/design'),require(_0x2dd2e2(0x14b)),require('@univerjs/rpc')):typeof define==_0x2dd2e2(0x14d)&&define['amd']?define([_0x2dd2e2(0x3bf),'@univerjs-pro/collaboration-client',_0x2dd2e2(0x162),_0x2dd2e2(0x246),_0x2dd2e2(0x22b),'@univerjs/docs-ui',_0x2dd2e2(0x1e0),_0x2dd2e2(0x1b5),'@univerjs/docs','@univerjs-pro/collaboration',_0x2dd2e2(0x36b),'@univerjs/sheets','rxjs/operators',_0x2dd2e2(0x147),_0x2dd2e2(0x36c),_0x2dd2e2(0x1b9),_0x2dd2e2(0x3ca),_0x2dd2e2(0x14b),'@univerjs/rpc'],_0x3002e9):(_0x9491ba=typeof globalThis<'u'?globalThis:_0x9491ba||self,_0x3002e9(_0x9491ba['UniverProCollaborationClientUi']={},_0x9491ba[_0x2dd2e2(0x37b)],_0x9491ba[_0x2dd2e2(0x1af)],_0x9491ba[_0x2dd2e2(0x1fe)],_0x9491ba[_0x2dd2e2(0x1a5)],_0x9491ba[_0x2dd2e2(0x1de)],_0x9491ba[_0x2dd2e2(0x153)],_0x9491ba[_0x2dd2e2(0x1b5)],_0x9491ba[_0x2dd2e2(0x2ea)],_0x9491ba[_0x2dd2e2(0x33d)],_0x9491ba[_0x2dd2e2(0x190)],_0x9491ba[_0x2dd2e2(0x314)],_0x9491ba['rxjs'][_0x2dd2e2(0x149)],_0x9491ba['UniverSheetsUi'],_0x9491ba[_0x2dd2e2(0x235)],_0x9491ba[_0x2dd2e2(0x2cf)],_0x9491ba[_0x2dd2e2(0x242)],_0x9491ba[_0x2dd2e2(0x235)],_0x9491ba[_0x2dd2e2(0x298)]));}(this,function(_0x24cc35,_0x1dc3c7,_0x2206f3,_0x5c5ba3,_0x526f82,_0x54118e,_0x486985,_0x533430,_0xb9f2ee,_0x381ddc,_0x6da466,_0x279960,_0x18e2e4,_0x5c1dff,_0x5e9541,_0x31fb36,_0x25d9bd,_0x1115d3,_0x3aab3e){'use strict';const _0x5e56c1=_0x4106;var _0x19f82a=Object[_0x5e56c1(0x1e9)],_0x4222f9=(_0x1b8e8d,_0x5e7317,_0x19e79f)=>_0x5e7317 in _0x1b8e8d?_0x19f82a(_0x1b8e8d,_0x5e7317,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x19e79f}):_0x1b8e8d[_0x5e7317]=_0x19e79f,_0x304d03=(_0x107071,_0x528fee,_0x2cc5d0)=>_0x4222f9(_0x107071,typeof _0x528fee!=_0x5e56c1(0x2c0)?_0x528fee+'':_0x528fee,_0x2cc5d0),_0x5bc246=Object[_0x5e56c1(0x227)],_0x53d8e8=(_0x5012ae,_0x47280b,_0x10785d,_0x1c6c3e)=>{const _0x1203d7=_0x5e56c1;for(var _0x38dabe=_0x1c6c3e>0x1?void 0x0:_0x1c6c3e?_0x5bc246(_0x47280b,_0x10785d):_0x47280b,_0x377a8f=_0x5012ae[_0x1203d7(0x145)]-0x1,_0x113389;_0x377a8f>=0x0;_0x377a8f--)(_0x113389=_0x5012ae[_0x377a8f])&&(_0x38dabe=_0x113389(_0x38dabe)||_0x38dabe);return _0x38dabe;},_0x97e7b9=(_0x4dcb35,_0x6c0c65)=>(_0x15f90b,_0x2fa84d)=>_0x6c0c65(_0x15f90b,_0x2fa84d,_0x4dcb35);let _0x20c3ea=class extends _0x2206f3[_0x5e56c1(0x29e)]{constructor(_0x25c489,_0x140919){const _0x3414cc=_0x5e56c1;super(),this['_docClipboardService']=_0x25c489,this['_imageIoService']=_0x140919,this[_0x3414cc(0x3c4)]();}[_0x5e56c1(0x3c4)](){const _0x214d33=_0x5e56c1,_0x3871d6=this;this[_0x214d33(0x3c2)](this[_0x214d33(0x1b7)][_0x214d33(0x3df)]({'onBeforePasteImage':async _0x1e51bf=>{const _0x172492=_0x214d33,_0x4c32e6=await _0x3871d6['_imageIoService']['saveImage'](_0x1e51bf);return _0x4c32e6?{'source':_0x4c32e6[_0x172492(0x334)],'imageSourceType':_0x4c32e6[_0x172492(0x282)]}:null;}}));}};_0x20c3ea=_0x53d8e8([_0x97e7b9(0x0,_0x54118e[_0x5e56c1(0x267)]),_0x97e7b9(0x1,_0x486985[_0x5e56c1(0x1e8)])],_0x20c3ea);const _0x57f45e=[_0x5e56c1(0x28e),_0x5e56c1(0x310),_0x5e56c1(0x33c),_0x5e56c1(0x26c),_0x5e56c1(0x1e2),_0x5e56c1(0x36d)];class _0x1bfe99 extends _0x2206f3[_0x5e56c1(0x1ce)]{constructor(){const _0x535339=_0x5e56c1;super(...arguments),_0x304d03(this,_0x535339(0x215),new Map()),_0x304d03(this,'_colorIndex',0x0);}[_0x5e56c1(0x22c)](_0x30235c){const _0x2886fb=_0x5e56c1;if(this[_0x2886fb(0x215)][_0x2886fb(0x2dd)](_0x30235c))return this[_0x2886fb(0x215)][_0x2886fb(0x389)](_0x30235c);const _0x10bac5=_0x57f45e[this[_0x2886fb(0x335)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x57f45e[_0x2886fb(0x145)],this[_0x2886fb(0x215)]['set'](_0x30235c,_0x10bac5),_0x10bac5;}}function _0xe967c1(_0x3dc857){let _0xcbd391='';for(const _0x365eb1 of _0x3dc857){const {startOffset:_0x57a45e,endOffset:_0x127f6b,isActive:_0x3736cb,rangeType:_0x559a8c,segmentId:_0x18a84a,segmentPage:_0x5121c8}=_0x365eb1;_0xcbd391['length']&&(_0xcbd391+=','),_0xcbd391+=_0x57a45e+':'+_0x127f6b+':'+(_0x3736cb?'1':'0')+':'+_0x559a8c+':'+_0x18a84a+':'+_0x5121c8;}return _0xcbd391;}function _0x3224c8(_0x2a8204){const _0x4cb445=_0x5e56c1,_0x11cafa=_0x2a8204[_0x4cb445(0x183)](','),_0x173d5a=[];for(const _0x424fc7 of _0x11cafa){const [_0x3d0b04,_0x51c582,_0x532001,_0x3d7b68,_0x595652,_0x5dff2a]=_0x424fc7[_0x4cb445(0x183)](':');_0x173d5a[_0x4cb445(0x398)]({'startOffset':Number(_0x3d0b04),'endOffset':Number(_0x51c582),'collapsed':_0x3d0b04===_0x51c582,'isActive':_0x532001==='1','rangeType':_0x3d7b68===_0x2206f3['DOC_RANGE_TYPE'][_0x4cb445(0x1db)]?_0x2206f3[_0x4cb445(0x1a1)][_0x4cb445(0x1db)]:_0x2206f3[_0x4cb445(0x1a1)][_0x4cb445(0x22f)],'segmentId':typeof _0x595652==_0x4cb445(0x279)?String(_0x595652):'','segmentPage':Number(_0x5dff2a!=null?_0x5dff2a:-0x1)});}return _0x173d5a[_0x4cb445(0x2e7)](_0x5e0e11=>_0x5e0e11['isActive'])||(_0x173d5a[0x0]['isActive']=!0x0),_0x173d5a;}class _0x44be1d extends _0x2206f3[_0x5e56c1(0x29e)]{constructor(){const _0x5a4a7d=_0x5e56c1;super(...arguments),_0x304d03(this,_0x5a4a7d(0x32c),new _0x533430[(_0x5a4a7d(0x1f1))](null)),_0x304d03(this,'collabCursorState$',this[_0x5a4a7d(0x32c)][_0x5a4a7d(0x2c2)]());}['syncEditingCollabCursor'](_0x4e28b4){const _0x33965f=_0x5e56c1,{unitID:_0x435bf6,memberID:_0xdd2c68,textRanges:_0x4407d4}=_0x4e28b4,_0x578c34=_0xe967c1(_0x4407d4);if(_0x578c34==='')return;const _0x359d82={'unitID':_0x435bf6,'memberID':_0xdd2c68,'selection':_0x578c34};this[_0x33965f(0x32c)]['next'](_0x359d82);}}var _0x5c8351=Object[_0x5e56c1(0x227)],_0x30fabf=(_0x1a4e73,_0x30dd54,_0x4d7271,_0x12b35d)=>{const _0x385793=_0x5e56c1;for(var _0x9e3f74=_0x12b35d>0x1?void 0x0:_0x12b35d?_0x5c8351(_0x30dd54,_0x4d7271):_0x30dd54,_0x1f7dfa=_0x1a4e73[_0x385793(0x145)]-0x1,_0x4ea481;_0x1f7dfa>=0x0;_0x1f7dfa--)(_0x4ea481=_0x1a4e73[_0x1f7dfa])&&(_0x9e3f74=_0x4ea481(_0x9e3f74)||_0x9e3f74);return _0x9e3f74;},_0x41663c=(_0x20e463,_0x1e1ffa)=>(_0x1de779,_0x526505)=>_0x1e1ffa(_0x1de779,_0x526505,_0x20e463);const _0x2abbe4=0x12c,_0x3dd4f1=0x64;let _0x3ba8ed=class extends _0x2206f3[_0x5e56c1(0x29e)]{constructor(_0xade681,_0x2f81d8,_0x187bbb,_0x4d9496,_0xd0c726,_0xfc4ce1,_0x1a5eca,_0x21cbc7,_0xf5daa7){const _0x22dc38=_0x5e56c1;super(),_0x304d03(this,_0x22dc38(0x1a6),!0x1),_0x304d03(this,_0x22dc38(0x3c4),!0x1),_0x304d03(this,_0x22dc38(0x351),new _0x533430[(_0x22dc38(0x1f1))](new Map())),_0x304d03(this,'cursorInfo$',this[_0x22dc38(0x351)][_0x22dc38(0x2c2)]()),_0x304d03(this,_0x22dc38(0x2f0),new _0x533430[(_0x22dc38(0x1f1))]([])),_0x304d03(this,_0x22dc38(0x28c),this[_0x22dc38(0x2f0)][_0x22dc38(0x3d8)](_0x533430['debounceTime'](_0x2abbe4))),_0x304d03(this,_0x22dc38(0x24d),_0x2206f3[_0x22dc38(0x22e)](_0x5bdb61=>{const _0x45ba3b=_0x22dc38,_0x3245a5={'eventID':_0x381ddc[_0x45ba3b(0x3a5)][_0x45ba3b(0x221)],'data':{'unitID':this[_0x45ba3b(0x239)],'memberID':this[_0x45ba3b(0x31c)][_0x45ba3b(0x14c)](),'selection':_0xe967c1(_0x5bdb61)}};this['_session'][_0x45ba3b(0x3b6)](_0x3245a5,this[_0x45ba3b(0x239)]);},_0x3dd4f1)),(this['unitID']=_0xade681,this[_0x22dc38(0x31c)]=_0x2f81d8,this[_0x22dc38(0x35e)]=_0x187bbb,this[_0x22dc38(0x2e6)]=_0x4d9496,this['_memberService']=_0xd0c726,this[_0x22dc38(0x2c1)]=_0xfc4ce1,this['_transformService']=_0x1a5eca,this[_0x22dc38(0x1d4)]=_0x21cbc7,this[_0x22dc38(0x2d2)]=_0xf5daa7);}get[_0x5e56c1(0x23b)](){const _0x3ce140=_0x5e56c1;return this[_0x3ce140(0x351)][_0x3ce140(0x218)]();}get[_0x5e56c1(0x255)](){const _0x50ac6e=_0x5e56c1;return this[_0x50ac6e(0x2f0)]['getValue']();}[_0x5e56c1(0x2ac)](){const _0x14d262=_0x5e56c1;super[_0x14d262(0x2ac)](),this['_cursorInfo$'][_0x14d262(0x17c)](new Map()),this['_cursorInfo$'][_0x14d262(0x325)](),this[_0x14d262(0x2f0)][_0x14d262(0x17c)]([]),this[_0x14d262(0x2f0)][_0x14d262(0x325)]();}[_0x5e56c1(0x2fb)](){const _0x8eb091=_0x5e56c1;this[_0x8eb091(0x3c4)]||(this['_init']=!0x0,this[_0x8eb091(0x31c)][_0x8eb091(0x316)]['pipe'](_0x533430['takeUntil'](this[_0x8eb091(0x29b)]))[_0x8eb091(0x3a8)](_0x357fa6=>{const _0x43e693=_0x8eb091;_0x357fa6===_0x1dc3c7['SessionStatus']['ONLINE']?this[_0x43e693(0x343)]():this[_0x43e693(0x1d8)]();}),this[_0x8eb091(0x31c)][_0x8eb091(0x241)][_0x8eb091(0x3d8)](_0x533430['takeUntil'](this['dispose$']))[_0x8eb091(0x3a8)](_0xf20107=>{const _0x31573b=_0x8eb091,_0x1afc53=_0xf20107[_0x31573b(0x30b)];_0x1afc53===_0x381ddc[_0x31573b(0x3a5)][_0x31573b(0x221)]&&this[_0x31573b(0x2c9)](_0xf20107),_0x1afc53===_0x381ddc['CollaborationEvent'][_0x31573b(0x2ec)]&&this[_0x31573b(0x1ad)](_0xf20107);}),this['disposeWithMe'](this['_commandService'][_0x8eb091(0x1ae)](_0x18a3f7=>{const _0xfb758=_0x8eb091,_0x20c648=_0x18a3f7[_0xfb758(0x1f2)];_0x20c648!=null&&this[_0xfb758(0x1a6)]&&_0x18a3f7['id']===_0xb9f2ee[_0xfb758(0x26f)]['id']&&_0x20c648[_0xfb758(0x37e)]===this[_0xfb758(0x239)]&&_0x20c648[_0xfb758(0x1dd)]===!0x1&&_0x20c648['ranges'][_0xfb758(0x145)]>0x0&&this[_0xfb758(0x24d)](_0x20c648[_0xfb758(0x3cf)]);})),this[_0x8eb091(0x2c1)][_0x8eb091(0x30a)][_0x8eb091(0x3d8)](_0x533430[_0x8eb091(0x3cd)](this[_0x8eb091(0x29b)]))[_0x8eb091(0x3a8)](_0x78f09c=>{const _0x4e2bd9=_0x8eb091;if((_0x78f09c==null?void 0x0:_0x78f09c[_0x4e2bd9(0x239)])!==this[_0x4e2bd9(0x239)])return;const _0xbda4b2={'eventID':_0x381ddc[_0x4e2bd9(0x3a5)]['UPDATE_CURSOR'],'data':_0x78f09c};this[_0x4e2bd9(0x2c9)](_0xbda4b2);}),this['disposeWithMe'](this[_0x8eb091(0x2d2)][_0x8eb091(0x1ae)](_0x2f8ba3=>{const _0x5662a5=_0x8eb091;if(_0x2f8ba3[_0x5662a5(0x1f2)]==null)return;const _0x471290=_0x2f8ba3[_0x5662a5(0x1f2)];if(_0x2f8ba3['id']!==_0xb9f2ee[_0x5662a5(0x203)]['id']||_0x471290['unitId']!==this[_0x5662a5(0x239)])return;const _0x401b58={'id':_0x5662a5(0x3aa),'params':_0x471290},_0x51cc06=this[_0x5662a5(0x23b)];for(const [_0x4abb9d,_0x232929]of _0x51cc06){const _0x1b4fc0={'id':_0x5662a5(0x3aa),'params':{'unitId':this[_0x5662a5(0x239)],'actions':null,'textRanges':_0x232929[_0x5662a5(0x3cf)]}},_0x74bd7e=this[_0x5662a5(0x29d)][_0x5662a5(0x39d)](_0x401b58,_0x1b4fc0,!0x1);if(_0x381ddc[_0x5662a5(0x2a5)](_0x74bd7e))throw _0x74bd7e[_0x5662a5(0x370)];_0x51cc06[_0x5662a5(0x275)](_0x4abb9d,{..._0x232929,'ranges':_0x74bd7e['m2Prime'][_0x5662a5(0x1f2)]['textRanges']});}queueMicrotask(()=>{const _0x28c1a5=_0x5662a5;this[_0x28c1a5(0x351)]['next'](_0x51cc06);});})));}[_0x5e56c1(0x2c9)](_0x41a365){const _0x53b3e1=_0x5e56c1;var _0x40bf6f,_0x3d1629;const {memberID:_0x12ebed,selection:_0x4fd35c}=_0x41a365[_0x53b3e1(0x30d)],_0x14f0cb=_0x3224c8(_0x4fd35c),_0x4654ca=(_0x3d1629=(_0x40bf6f=this[_0x53b3e1(0x1bf)][_0x53b3e1(0x19e)](this[_0x53b3e1(0x239)],_0x12ebed))==null?void 0x0:_0x40bf6f[_0x53b3e1(0x33b)])!=null?_0x3d1629:_0x53b3e1(0x250),_0x491379={'color':this[_0x53b3e1(0x2e6)]['assignAColorForMemberID'](_0x12ebed),'name':_0x4654ca,'ranges':_0x14f0cb},_0xc19d3d=this['cursorInfo'];_0xc19d3d['set'](_0x12ebed,_0x491379),this['_cursorInfo$'][_0x53b3e1(0x17c)](_0xc19d3d);}['_onCursorDelete'](_0x1b20fa){const _0x14d0f2=_0x5e56c1,{memberID:_0x974999}=_0x1b20fa[_0x14d0f2(0x30d)],_0x49f784=this[_0x14d0f2(0x23b)];_0x49f784[_0x14d0f2(0x270)](_0x974999),this[_0x14d0f2(0x351)][_0x14d0f2(0x17c)](_0x49f784);}[_0x5e56c1(0x343)](){const _0x5c5aa9=_0x5e56c1;var _0x544504;if(this[_0x5c5aa9(0x1a6)]=!0x0,((_0x544504=this[_0x5c5aa9(0x1d4)]['getFocusedUnit']())==null?void 0x0:_0x544504[_0x5c5aa9(0x296)]())!==this[_0x5c5aa9(0x239)])return;const _0x80247f=this[_0x5c5aa9(0x35e)][_0x5c5aa9(0x389)](_0xb9f2ee[_0x5c5aa9(0x187)])['getDocRanges']();Array[_0x5c5aa9(0x14f)](_0x80247f)&&_0x80247f[_0x5c5aa9(0x145)]>0x0&&this[_0x5c5aa9(0x24d)](_0x80247f);}[_0x5e56c1(0x1d8)](){const _0x56bd5f=_0x5e56c1;this[_0x56bd5f(0x1a6)]=!0x1;}};_0x3ba8ed=_0x30fabf([_0x41663c(0x2,_0x2206f3['Inject'](_0x2206f3['Injector'])),_0x41663c(0x3,_0x2206f3[_0x5e56c1(0x337)](_0x1bfe99)),_0x41663c(0x4,_0x2206f3['Inject'](_0x1dc3c7['MemberService'])),_0x41663c(0x5,_0x2206f3[_0x5e56c1(0x337)](_0x44be1d)),_0x41663c(0x6,_0x381ddc['ITransformService']),_0x41663c(0x7,_0x2206f3['IUniverInstanceService']),_0x41663c(0x8,_0x2206f3['ICommandService'])],_0x3ba8ed);var _0x50b2ce=Object['getOwnPropertyDescriptor'],_0x391419=(_0x592d11,_0x5b305d,_0x70f58c,_0x40acf1)=>{const _0x2eecd1=_0x5e56c1;for(var _0x1d541b=_0x40acf1>0x1?void 0x0:_0x40acf1?_0x50b2ce(_0x5b305d,_0x70f58c):_0x5b305d,_0x1e7e33=_0x592d11[_0x2eecd1(0x145)]-0x1,_0x299ba6;_0x1e7e33>=0x0;_0x1e7e33--)(_0x299ba6=_0x592d11[_0x1e7e33])&&(_0x1d541b=_0x299ba6(_0x1d541b)||_0x1d541b);return _0x1d541b;},_0x10b9eb=(_0xec83c2,_0x1f9a92)=>(_0x5524da,_0x1597b2)=>_0x1f9a92(_0x5524da,_0x1597b2,_0xec83c2);const _0x15dbfa=0x12c,_0x4f5882=0x64,_0x26059a=()=>{let _0x36923d=[],_0x902c89=!0x1;return _0x1d0981=>{_0x36923d['push'](_0x1d0981),_0x902c89||(_0x902c89=!0x0,setTimeout(()=>{const _0x35afb1=_0x4106;_0x36923d[_0x35afb1(0x3b4)](_0x2fc57a=>_0x2fc57a()),_0x36923d=[],_0x902c89=!0x1;}));};};let _0xe0ed72=class extends _0x2206f3[_0x5e56c1(0x29e)]{constructor(_0x56ab1b,_0x33edfb,_0xf41a5f,_0x6d9353,_0x1268a3,_0x18491d,_0xa18366,_0x412d0b){const _0x20c978=_0x5e56c1;super(),_0x304d03(this,'_online',!0x1),_0x304d03(this,_0x20c978(0x3c4),!0x1),_0x304d03(this,_0x20c978(0x351),new _0x533430[(_0x20c978(0x1f1))](new Map())),_0x304d03(this,_0x20c978(0x15f),this[_0x20c978(0x351)]['asObservable']()),_0x304d03(this,_0x20c978(0x2f0),new _0x533430[(_0x20c978(0x1f1))]([])),_0x304d03(this,_0x20c978(0x28c),this[_0x20c978(0x2f0)][_0x20c978(0x3d8)](_0x533430[_0x20c978(0x353)](_0x15dbfa))),_0x304d03(this,'_updateLocalCursor',_0x2206f3[_0x20c978(0x22e)]((_0xb631fe,_0x1968a6)=>{const _0x67ff04=_0x20c978,_0xe59577={'eventID':_0x381ddc[_0x67ff04(0x3a5)][_0x67ff04(0x221)],'data':{'unitID':this[_0x67ff04(0x239)],'memberID':this[_0x67ff04(0x31c)][_0x67ff04(0x14c)](),'selection':_0x6da466[_0x67ff04(0x369)](_0xb631fe,_0x1968a6[_0x67ff04(0x373)])}};this[_0x67ff04(0x31c)][_0x67ff04(0x3b6)](_0xe59577,this[_0x67ff04(0x239)]);},_0x4f5882)),(this[_0x20c978(0x239)]=_0x56ab1b,this['_session']=_0x33edfb,this[_0x20c978(0x35e)]=_0xf41a5f,this[_0x20c978(0x2e6)]=_0x6d9353,this[_0x20c978(0x1bf)]=_0x1268a3,this[_0x20c978(0x1d4)]=_0x18491d,this['_commandService']=_0xa18366,this[_0x20c978(0x338)]=_0x412d0b);}get[_0x5e56c1(0x23b)](){const _0x67cc4e=_0x5e56c1;return this[_0x67cc4e(0x351)]['getValue']();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x5e56c1(0x2ac)](){const _0x53a37d=_0x5e56c1;super[_0x53a37d(0x2ac)](),this['_cursorInfo$']['next'](new Map()),this[_0x53a37d(0x351)]['complete'](),this[_0x53a37d(0x2f0)][_0x53a37d(0x17c)]([]),this[_0x53a37d(0x2f0)][_0x53a37d(0x325)]();}['init'](){const _0x152000=_0x5e56c1;this['_init']||(this[_0x152000(0x3c4)]=!0x0,this[_0x152000(0x31c)][_0x152000(0x316)]['pipe'](_0x533430[_0x152000(0x3cd)](this[_0x152000(0x29b)]))[_0x152000(0x3a8)](_0xb0e8=>{const _0x530774=_0x152000;_0xb0e8===_0x1dc3c7[_0x530774(0x2e3)]['ONLINE']?this[_0x530774(0x343)]():this[_0x530774(0x1d8)]();}),this['_session'][_0x152000(0x241)]['pipe'](_0x533430[_0x152000(0x3cd)](this[_0x152000(0x29b)]))[_0x152000(0x3a8)](_0x2676d4=>{const _0x5307e6=_0x152000,_0x390d96=_0x2676d4[_0x5307e6(0x30b)];_0x390d96===_0x381ddc[_0x5307e6(0x3a5)][_0x5307e6(0x221)]&&this[_0x5307e6(0x2c9)](_0x2676d4),_0x390d96===_0x381ddc[_0x5307e6(0x3a5)][_0x5307e6(0x2ec)]&&this[_0x5307e6(0x1ad)](_0x2676d4);}),this[_0x152000(0x22d)](),this[_0x152000(0x3c2)](this[_0x152000(0x2d2)][_0x152000(0x1ae)](_0x2593da=>{const _0x376542=_0x152000;if(this[_0x376542(0x1a6)]&&_0x2593da['id']===_0x279960[_0x376542(0x20c)]['id']&&_0x2593da[_0x376542(0x1f2)][_0x376542(0x37e)]===this[_0x376542(0x239)]){const _0x3f898c=_0x2593da[_0x376542(0x1f2)];this['_updateLocalCursor'](_0x3f898c['subUnitId'],_0x3f898c['selections'][0x0]);}})));}['_onCursorUpdate'](_0x3d732c){const _0x181e45=_0x5e56c1;var _0x3b1f6b,_0xed28a;const {memberID:_0x96e92f,selection:_0x3a2b23}=_0x3d732c[_0x181e45(0x30d)],{sheetName:_0x2213bd,range:_0x439ca8}=_0x6da466['deserializeRangeWithSheet'](_0x3a2b23),_0x1d865f={'name':(_0xed28a=(_0x3b1f6b=this[_0x181e45(0x1bf)][_0x181e45(0x19e)](this[_0x181e45(0x239)],_0x96e92f))==null?void 0x0:_0x3b1f6b[_0x181e45(0x33b)])!=null?_0xed28a:_0x181e45(0x250),'range':this[_0x181e45(0x346)](_0x2213bd,_0x439ca8),'sheetID':_0x2213bd,'color':this[_0x181e45(0x2e6)]['assignAColorForMemberID'](_0x96e92f),'selection':_0x3a2b23},_0x3d54c9=this[_0x181e45(0x23b)];_0x3d54c9[_0x181e45(0x275)](_0x96e92f,_0x1d865f),this[_0x181e45(0x351)][_0x181e45(0x17c)](_0x3d54c9);}['_onCursorDelete'](_0x504966){const _0x42706d=_0x5e56c1,{memberID:_0x4235fd}=_0x504966[_0x42706d(0x30d)],_0x5da819=this[_0x42706d(0x23b)];_0x5da819['delete'](_0x4235fd),this[_0x42706d(0x351)]['next'](_0x5da819);}['_getMergeRange'](_0x1779df,_0x33a0fe){const _0x3b056f=_0x5e56c1;var _0x38c911,_0x43e707;const _0x16d829=(_0x43e707=(_0x38c911=this[_0x3b056f(0x1d4)][_0x3b056f(0x180)](this['unitID']))==null?void 0x0:_0x38c911[_0x3b056f(0x32d)](_0x1779df))==null?void 0x0:_0x43e707[_0x3b056f(0x2c4)]();return(_0x16d829==null?void 0x0:_0x16d829[_0x3b056f(0x15b)](_0x26aaa5=>_0x2206f3['Rectangle']['contains'](_0x26aaa5,_0x33a0fe)))||_0x33a0fe;}['_onRefRangeChange'](){const _0x446278=_0x5e56c1,_0x2d6de5=new _0x2206f3['DisposableCollection'](),_0x267f0e=_0x26059a(),_0x31b905=()=>{const _0x46d693=_0x4106;_0x2d6de5['dispose']();const _0x12d8a2=(_0x54d128,_0x2be7ed,_0x35ae5f,_0x487eb0)=>{const _0x26e11c=_0x4106;let _0x4aba01=[];switch(_0x54d128['id']){case _0x279960[_0x26e11c(0x1d6)]['DeleteRangeMoveLeftCommandId']:{_0x4aba01=_0x279960['handleDeleteRangeMoveLeft'](_0x54d128,_0x487eb0);break;}case _0x279960[_0x26e11c(0x1d6)][_0x26e11c(0x354)]:{_0x4aba01=_0x279960['handleDeleteRangeMoveUp'](_0x54d128,_0x487eb0);break;}case _0x279960[_0x26e11c(0x1d6)][_0x26e11c(0x380)]:{_0x4aba01=_0x279960[_0x26e11c(0x38c)](_0x54d128,_0x487eb0);break;}case _0x279960[_0x26e11c(0x1d6)][_0x26e11c(0x30e)]:{_0x4aba01=_0x279960['handleInsertRangeMoveDown'](_0x54d128,_0x487eb0);break;}case _0x279960[_0x26e11c(0x1d6)][_0x26e11c(0x2b9)]:{_0x4aba01=_0x279960[_0x26e11c(0x264)](_0x54d128,_0x487eb0);break;}case _0x279960[_0x26e11c(0x1d6)]['InsertRowCommandId']:{_0x4aba01=_0x279960[_0x26e11c(0x2fd)](_0x54d128,_0x487eb0);break;}case _0x279960['EffectRefRangId'][_0x26e11c(0x355)]:{_0x4aba01=_0x279960[_0x26e11c(0x318)](_0x54d128,_0x487eb0);break;}case _0x279960[_0x26e11c(0x1d6)][_0x26e11c(0x3b3)]:{_0x4aba01=_0x279960[_0x26e11c(0x25e)](_0x54d128,_0x487eb0);break;}case _0x279960[_0x26e11c(0x1d6)][_0x26e11c(0x26e)]:{_0x4aba01=_0x279960['handleIRemoveRow'](_0x54d128,_0x487eb0);break;}}const _0x5a8b96=_0x279960[_0x26e11c(0x367)](_0x4aba01,_0x487eb0),_0x5f3344=this[_0x26e11c(0x23b)][_0x26e11c(0x389)](_0x2be7ed);if(_0x5f3344&&_0x5a8b96){const _0x4ea14b={..._0x5f3344,'range':_0x5a8b96};this[_0x26e11c(0x23b)][_0x26e11c(0x275)](_0x2be7ed,_0x4ea14b),_0x267f0e(()=>{const _0x19a6a7=_0x26e11c,_0x53c1b4=this[_0x19a6a7(0x338)][_0x19a6a7(0x303)](_0x5a8b96,_0x3e52de=>(_0x53c1b4['dispose'](),_0x12d8a2(_0x3e52de,_0x2be7ed,_0x35ae5f,_0x5a8b96)));_0x2d6de5[_0x19a6a7(0x201)](_0x53c1b4);});}return{'redos':[],'undos':[]};};this[_0x46d693(0x23b)][_0x46d693(0x3b4)]((_0x4f93ce,_0x2c0ac8)=>{const _0x542bc8=_0x46d693,{range:_0x45e4c9,sheetID:_0x41f3e2}=_0x4f93ce,_0x3d000b=this[_0x542bc8(0x338)][_0x542bc8(0x303)](_0x45e4c9,_0x1f354d=>(_0x3d000b['dispose'](),_0x12d8a2(_0x1f354d,_0x2c0ac8,_0x41f3e2,_0x45e4c9)));_0x2d6de5[_0x542bc8(0x201)](_0x3d000b);});};this['disposeWithMe'](_0x2206f3[_0x446278(0x29f)](this[_0x446278(0x351)][_0x446278(0x3a8)](()=>{_0x31b905();})));}['_toggleOnline'](){const _0x57d985=_0x5e56c1;var _0x58164e,_0x198dc7;if(this[_0x57d985(0x1a6)]=!0x0,((_0x58164e=this[_0x57d985(0x1d4)][_0x57d985(0x3ac)]())==null?void 0x0:_0x58164e[_0x57d985(0x296)]())!==this['unitID'])return;const _0x5bbaa0=(_0x198dc7=this[_0x57d985(0x35e)]['get'](_0x279960[_0x57d985(0x198)])[_0x57d985(0x272)]())==null?void 0x0:_0x198dc7[0x0],_0x200973=this[_0x57d985(0x1d4)][_0x57d985(0x266)](_0x2206f3['UniverInstanceType'][_0x57d985(0x2d4)])[_0x57d985(0x3ab)]();_0x5bbaa0&&_0x200973&&this[_0x57d985(0x24d)](_0x200973[_0x57d985(0x313)](),_0x5bbaa0);}[_0x5e56c1(0x1d8)](){const _0x1702b2=_0x5e56c1;this[_0x1702b2(0x1a6)]=!0x1;}};_0xe0ed72=_0x391419([_0x10b9eb(0x2,_0x2206f3[_0x5e56c1(0x337)](_0x2206f3['Injector'])),_0x10b9eb(0x3,_0x2206f3[_0x5e56c1(0x337)](_0x1bfe99)),_0x10b9eb(0x4,_0x2206f3[_0x5e56c1(0x337)](_0x1dc3c7['MemberService'])),_0x10b9eb(0x5,_0x2206f3[_0x5e56c1(0x32e)]),_0x10b9eb(0x6,_0x2206f3[_0x5e56c1(0x25d)]),_0x10b9eb(0x7,_0x2206f3['Inject'](_0x279960[_0x5e56c1(0x300)]))],_0xe0ed72);var _0x12f8fc=Object[_0x5e56c1(0x227)],_0x3f0a9a=(_0x241307,_0x3e573b,_0x5d1778,_0x39f540)=>{for(var _0x2c9b76=_0x39f540>0x1?void 0x0:_0x39f540?_0x12f8fc(_0x3e573b,_0x5d1778):_0x3e573b,_0x2709fb=_0x241307['length']-0x1,_0x257bce;_0x2709fb>=0x0;_0x2709fb--)(_0x257bce=_0x241307[_0x2709fb])&&(_0x2c9b76=_0x257bce(_0x2c9b76)||_0x2c9b76);return _0x2c9b76;},_0x3052c6=(_0x178451,_0x59827b)=>(_0x6a5880,_0x10cb00)=>_0x59827b(_0x6a5880,_0x10cb00,_0x178451);let _0x506acf=class extends _0x2206f3[_0x5e56c1(0x29e)]{constructor(_0x333106,_0x1e6f2a,_0x324091){const _0x1fa676=_0x5e56c1;super(),_0x304d03(this,'_entities',new Map()),_0x304d03(this,_0x1fa676(0x385),new _0x533430[(_0x1fa676(0x328))]()),(this[_0x1fa676(0x1d4)]=_0x333106,this[_0x1fa676(0x35e)]=_0x1e6f2a,this[_0x1fa676(0x240)]=_0x324091,this['_init']());}[_0x5e56c1(0x2ac)](){const _0x422e7d=_0x5e56c1;super[_0x422e7d(0x2ac)](),this[_0x422e7d(0x385)]['complete'](),this[_0x422e7d(0x3c3)]['forEach'](_0x1e39ac=>_0x1e39ac[_0x422e7d(0x2ac)]());}['getCollabCursors$'](_0x11de81){const _0x11ecaf=_0x5e56c1;return this[_0x11ecaf(0x3c3)][_0x11ecaf(0x2dd)](_0x11de81)?this[_0x11ecaf(0x3c3)][_0x11ecaf(0x389)](_0x11de81)[_0x11ecaf(0x15f)]:this[_0x11ecaf(0x385)]['pipe'](_0x533430[_0x11ecaf(0x1f5)](_0x4bf588=>_0x4bf588[_0x11ecaf(0x239)]===_0x11de81),_0x533430[_0x11ecaf(0x3a9)](_0x17bd8b=>_0x17bd8b[_0x11ecaf(0x15f)]));}[_0x5e56c1(0x3c4)](){const _0xaca9f9=_0x5e56c1;this[_0xaca9f9(0x1d4)][_0xaca9f9(0x170)](_0x2206f3[_0xaca9f9(0x3db)][_0xaca9f9(0x2d4)])[_0xaca9f9(0x3d8)](_0x533430[_0xaca9f9(0x3cd)](this[_0xaca9f9(0x29b)]))[_0xaca9f9(0x3a8)](async _0x37a0ab=>{const _0x6df1fc=_0xaca9f9,_0x34bce8=_0x37a0ab[_0x6df1fc(0x296)](),_0x559aef=await this[_0x6df1fc(0x3ce)](_0x34bce8);this[_0x6df1fc(0x385)]['next'](_0x559aef),this['_entities'][_0x6df1fc(0x275)](_0x34bce8,_0x559aef);}),this[_0xaca9f9(0x1d4)][_0xaca9f9(0x170)](_0x2206f3[_0xaca9f9(0x3db)][_0xaca9f9(0x1e3)])[_0xaca9f9(0x3d8)](_0x533430[_0xaca9f9(0x3cd)](this[_0xaca9f9(0x29b)]))[_0xaca9f9(0x3d8)](_0x533430['filter'](_0x593936=>!_0x593936[_0xaca9f9(0x296)]()[_0xaca9f9(0x3ae)]('__')))[_0xaca9f9(0x3a8)](async _0x38bee1=>{const _0x5de4ee=_0xaca9f9,_0x280d26=_0x38bee1[_0x5de4ee(0x296)](),_0x499cfa=await this['_startDocCollabCursor'](_0x280d26);this[_0x5de4ee(0x385)]['next'](_0x499cfa),this[_0x5de4ee(0x3c3)][_0x5de4ee(0x275)](_0x280d26,_0x499cfa);}),_0x533430[_0xaca9f9(0x1b6)](this['_univerInstanceService'][_0xaca9f9(0x2ef)](_0x2206f3[_0xaca9f9(0x3db)][_0xaca9f9(0x1e3)]),this[_0xaca9f9(0x1d4)][_0xaca9f9(0x2ef)](_0x2206f3[_0xaca9f9(0x3db)][_0xaca9f9(0x2d4)]))[_0xaca9f9(0x3d8)](_0x533430[_0xaca9f9(0x3cd)](this[_0xaca9f9(0x29b)]))[_0xaca9f9(0x3a8)](_0x3b60f3=>{const _0x52aa02=_0xaca9f9,_0x2dac6c=_0x3b60f3[_0x52aa02(0x296)](),_0x86edc0=this[_0x52aa02(0x3c3)][_0x52aa02(0x389)](_0x2dac6c);_0x86edc0&&(_0x86edc0['dispose'](),this['_entities'][_0x52aa02(0x270)](_0x2dac6c));});}async['_startSheetCollabCursor'](_0x40573d){const _0x1c59a4=_0x5e56c1,_0x5d68f3=await this[_0x1c59a4(0x240)][_0x1c59a4(0x2eb)](_0x40573d),_0x5b77ca=this[_0x1c59a4(0x35e)][_0x1c59a4(0x2cd)](_0xe0ed72,_0x40573d,_0x5d68f3);return _0x5b77ca['init'](),_0x5b77ca;}async[_0x5e56c1(0x299)](_0x56aa1c){const _0x2a313c=_0x5e56c1,_0x1f3c92=await this[_0x2a313c(0x240)][_0x2a313c(0x2eb)](_0x56aa1c),_0x5410c8=this[_0x2a313c(0x35e)][_0x2a313c(0x2cd)](_0x3ba8ed,_0x56aa1c,_0x1f3c92);return _0x5410c8['init'](),_0x5410c8;}};_0x506acf=_0x3f0a9a([_0x3052c6(0x0,_0x2206f3[_0x5e56c1(0x32e)]),_0x3052c6(0x1,_0x2206f3['Inject'](_0x2206f3[_0x5e56c1(0x2ff)])),_0x3052c6(0x2,_0x2206f3[_0x5e56c1(0x337)](_0x1dc3c7[_0x5e56c1(0x167)]))],_0x506acf);const _0xeb2c0a=0x14,_0x4b0ba6=0xc8,_0x36de8=0x4,_0x1f50b5=0x5;function _0x10ebd2(_0x23045a,_0x5f344d){const _0x2b0af5=_0x5e56c1;let {radius:_0x3a1e9d,width:_0x4ddf8a,height:_0x31e0ae}=_0x5f344d;_0x3a1e9d=_0x3a1e9d!=null?_0x3a1e9d:0x0,_0x4ddf8a=_0x4ddf8a!=null?_0x4ddf8a:0x1e,_0x31e0ae=_0x31e0ae!=null?_0x31e0ae:0x1e;let _0x3c1cd6=0x0,_0x3d7038=0x0,_0x45dbe0=0x0;_0x3c1cd6=_0x3d7038=_0x45dbe0=Math[_0x2b0af5(0x3b1)](_0x3a1e9d,_0x4ddf8a/0x2,_0x31e0ae/0x2),_0x23045a[_0x2b0af5(0x2f7)](),_0x23045a[_0x2b0af5(0x1be)](_0x3c1cd6,0x0),_0x23045a[_0x2b0af5(0x347)](_0x4ddf8a-_0x3d7038,0x0),_0x23045a[_0x2b0af5(0x205)](_0x4ddf8a-_0x3d7038,_0x3d7038,_0x3d7038,Math['PI']*0x3/0x2,0x0,!0x1),_0x23045a['lineTo'](_0x4ddf8a,_0x31e0ae-_0x45dbe0),_0x23045a[_0x2b0af5(0x205)](_0x4ddf8a-_0x45dbe0,_0x31e0ae-_0x45dbe0,_0x45dbe0,0x0,Math['PI']/0x2,!0x1),_0x23045a[_0x2b0af5(0x347)](0x0,_0x31e0ae),_0x23045a[_0x2b0af5(0x347)](0x0,_0x3c1cd6),_0x23045a[_0x2b0af5(0x205)](_0x3c1cd6,_0x3c1cd6,_0x3c1cd6,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x23045a[_0x2b0af5(0x244)](),_0x5f344d[_0x2b0af5(0x32a)]&&(_0x23045a[_0x2b0af5(0x321)](),_0x23045a[_0x2b0af5(0x186)]=_0x5f344d[_0x2b0af5(0x32a)],_0x5f344d[_0x2b0af5(0x2d7)]===_0x2b0af5(0x2a2)?_0x23045a[_0x2b0af5(0x32a)]('evenodd'):_0x23045a[_0x2b0af5(0x32a)](),_0x23045a['restore']());}class _0x4d7469 extends _0x5c5ba3[_0x5e56c1(0x289)]{constructor(_0x530a08,_0x2dd556){const _0x5abbba=_0x5e56c1;super(_0x530a08,_0x2dd556),_0x304d03(this,'color'),_0x304d03(this,_0x5abbba(0x361)),(this[_0x5abbba(0x3d2)]=_0x2dd556==null?void 0x0:_0x2dd556[_0x5abbba(0x3d2)],this[_0x5abbba(0x361)]=_0x2dd556==null?void 0x0:_0x2dd556[_0x5abbba(0x361)]);}static[_0x5e56c1(0x38f)](_0x2c3aa5,_0x55370d){const _0x3c93df=_0x5e56c1,{text:_0x2d14da,color:_0x276ab1}=_0x55370d;_0x2c3aa5[_0x3c93df(0x321)](),_0x2c3aa5[_0x3c93df(0x38e)]=_0x3c93df(0x2a0);const _0x5cc142=_0x2c3aa5['measureText'](_0x2d14da)['width'],_0xae093b=Math[_0x3c93df(0x3b1)](_0x5cc142+0x2*_0x36de8,_0x4b0ba6);_0x10ebd2(_0x2c3aa5,{'height':_0xeb2c0a,'radius':0x4,'width':_0xae093b,'fill':_0x276ab1}),_0x2c3aa5[_0x3c93df(0x186)]=_0x3c93df(0x19d);const _0x4d2ba5=_0x36de8,_0x13c26d=_0xeb2c0a-_0x1f50b5,_0x25bdcf=_0x4b0ba6-0x2*_0x36de8;if(_0x5cc142>_0x25bdcf){let _0x389b38='',_0x376bf3=0x0;for(const _0x4738f7 of _0x2d14da){const _0x2d4bf4=_0x2c3aa5[_0x3c93df(0x3c8)](_0x4738f7)[_0x3c93df(0x37d)];if(_0x376bf3+_0x2d4bf4<=_0x25bdcf-_0x2c3aa5[_0x3c93df(0x3c8)](_0x3c93df(0x384))[_0x3c93df(0x37d)])_0x389b38+=_0x4738f7,_0x376bf3+=_0x2d4bf4;else{_0x389b38+='...';break;}}_0x2c3aa5[_0x3c93df(0x20f)](_0x389b38,_0x4d2ba5,_0x13c26d);}else _0x2c3aa5[_0x3c93df(0x20f)](_0x2d14da,_0x4d2ba5,_0x13c26d);_0x2c3aa5[_0x3c93df(0x281)]();}['_draw'](_0x48d8c3){const _0x39e063=_0x5e56c1;_0x4d7469[_0x39e063(0x38f)](_0x48d8c3,this);}}const _0x5db114='collab-text-anchor-',_0x4fbd6b='collab-text-range-',_0x3ae19b='collab-rect-range-',_0x56b967=0x6,_0x406310=1.5,_0xc7a7d8=0x4,_0x4e6402=1.5,_0x1744a6=_0x5e56c1(0x261);class _0x4cbbfd{constructor(_0x1ae1d0,_0x2fbf4d,_0x343ec0,_0x449727){const _0x3fec00=_0x5e56c1;_0x304d03(this,_0x3fec00(0x2de),[]),_0x304d03(this,_0x3fec00(0x1ec),null),_0x304d03(this,_0x3fec00(0x1dc),null),_0x304d03(this,_0x3fec00(0x324),null),_0x304d03(this,_0x3fec00(0x18f),null),_0x304d03(this,'_eventUnsubscribe',null),(this[_0x3fec00(0x177)]=_0x1ae1d0,this['_scene']=_0x2fbf4d,this[_0x3fec00(0x216)]=_0x343ec0,this[_0x3fec00(0x18b)]=_0x449727,this[_0x3fec00(0x376)]());}set[_0x5e56c1(0x2c7)](_0x7edeae){const _0x51cca1=_0x5e56c1;_0x7edeae?(this[_0x51cca1(0x324)]&&this[_0x51cca1(0x324)][_0x51cca1(0x1f0)](),this[_0x51cca1(0x1dc)]&&this[_0x51cca1(0x1dc)][_0x51cca1(0x34b)]()):(this[_0x51cca1(0x324)]&&this[_0x51cca1(0x324)][_0x51cca1(0x34b)](),this[_0x51cca1(0x1dc)]&&this['_textBubble'][_0x51cca1(0x1f0)]());}[_0x5e56c1(0x2ac)](){const _0x10d2b4=_0x5e56c1;for(const _0x5bab9d of this[_0x10d2b4(0x2de)])_0x5bab9d[_0x10d2b4(0x2ac)]();this[_0x10d2b4(0x1dc)]&&this[_0x10d2b4(0x1dc)][_0x10d2b4(0x2ac)](),this['_anchorDot']&&this[_0x10d2b4(0x324)]['dispose'](),this[_0x10d2b4(0x1ec)]&&this['_anchor'][_0x10d2b4(0x2ac)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x5e56c1(0x376)](){const _0x5e83f8=_0x5e56c1;var _0x244516;const {_docSkeleton:_0x497e8f,_document:_0xee606c}=this,{color:_0x16a444,name:_0x266ec0,ranges:_0x4679b5}=this[_0x5e83f8(0x177)],_0x3c0268=_0xee606c[_0x5e83f8(0x3c5)](),{docsLeft:_0x2c50a8,docsTop:_0x527b0d}=_0x3c0268,_0x30b664=new _0x54118e[(_0x5e83f8(0x214))](_0x3c0268,_0x497e8f);for(const {startOffset:_0x5c129b,endOffset:_0x5436e4,rangeType:_0x3f71e1,segmentId:_0x9e3f9,segmentPage:_0x4a2145,collapsed:_0x2f8189,isActive:_0x3dfd69}of _0x4679b5){const _0x2f9af7=_0x497e8f['findNodePositionByCharIndex'](_0x5c129b,!0x0,_0x9e3f9,_0x4a2145);let _0x3eed9f=_0x497e8f['findNodePositionByCharIndex'](_0x5436e4,!0x0,_0x9e3f9,_0x4a2145);if(_0x3eed9f==null&&(_0x3eed9f=_0x497e8f[_0x5e83f8(0x307)](_0x5436e4-0x1,!0x1,_0x9e3f9,_0x4a2145)),_0x3dfd69){const {contentBoxPointGroup:_0x2f5645}=_0x30b664['getRangePointData'](_0x3eed9f,_0x3eed9f);if(_0x2f5645[_0x5e83f8(0x145)]===0x0)continue;this['_drawAnchor'](_0x16a444,_0x2f5645,_0x2c50a8,_0x527b0d,_0x266ec0),this[_0x5e83f8(0x195)]=this[_0x5e83f8(0x333)]();}if(_0x2f9af7&&_0x3eed9f){if(_0x3f71e1===_0x2206f3[_0x5e83f8(0x1a1)][_0x5e83f8(0x22f)]){const _0xe99f17=new _0x54118e[(_0x5e83f8(0x2ca))](_0x3c0268,_0x497e8f),{pointGroup:_0x51150b}=(_0x244516=_0xe99f17['getRangePointData'](_0x2f9af7,_0x3eed9f))!=null?_0x244516:{};if(_0x51150b==null||_0x51150b['length']===0x0)continue;this[_0x5e83f8(0x1c9)](_0x16a444,_0x51150b,_0x2c50a8,_0x527b0d);}else{if(!_0x2f8189){const {borderBoxPointGroup:_0x3e6e81}=_0x30b664['getRangePointData'](_0x2f9af7,_0x3eed9f);if(_0x3e6e81[_0x5e83f8(0x145)]===0x0)continue;this[_0x5e83f8(0x3bb)](_0x16a444,_0x3e6e81,_0x2c50a8,_0x527b0d);}}}}}[_0x5e56c1(0x1f6)](_0x4097a2,_0x3b2775,_0x4b8c4b,_0x32b155,_0x49fe43){const _0x3eb6b0=_0x5e56c1,_0x2e663f=this[_0x3eb6b0(0x21d)](_0x3b2775),{left:_0x5bd574,top:_0x38436c,height:_0x8a7877}=_0x2e663f,_0x329ce3=this[_0x3eb6b0(0x2b5)](),_0x40984e=_0x4e6402/_0x329ce3,_0x21ca08=new _0x5c5ba3['Rect'](_0x5db114+_0x2206f3[_0x3eb6b0(0x3cb)]['generateRandomId'](_0x56b967),{'left':_0x5bd574+_0x4b8c4b-_0x40984e,'top':_0x38436c+_0x32b155,'height':_0x8a7877,'width':_0x406310,'fill':_0x4097a2||_0x5c5ba3[_0x3eb6b0(0x1fb)](_0x2206f3[_0x3eb6b0(0x1b1)]['black'],0x0),'strokeWidth':_0x40984e,'stroke':_0x1744a6,'evented':!0x0});this[_0x3eb6b0(0x1ec)]=_0x21ca08,this[_0x3eb6b0(0x253)][_0x3eb6b0(0x206)](_0x21ca08,_0x54118e[_0x3eb6b0(0x209)]);const _0x25242b=new _0x5c5ba3[(_0x3eb6b0(0x16b))](_0x5db114+_0x2206f3['Tools']['generateRandomId'](_0x56b967),{'left':_0x5bd574+_0x4b8c4b-_0x40984e,'top':_0x38436c+_0x32b155-_0xc7a7d8/0x2,'height':_0xc7a7d8,'width':_0xc7a7d8,'fill':_0x4097a2||_0x5c5ba3[_0x3eb6b0(0x1fb)](_0x2206f3[_0x3eb6b0(0x1b1)][_0x3eb6b0(0x2aa)],0x0),'strokeWidth':0x0,'stroke':_0x4097a2||_0x5c5ba3['getColor'](_0x2206f3[_0x3eb6b0(0x1b1)]['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x25242b,this[_0x3eb6b0(0x253)]['addObject'](_0x25242b,_0x54118e[_0x3eb6b0(0x209)]);const _0x10f637=new _0x4d7469(_0x5db114+_0x2206f3[_0x3eb6b0(0x3cb)][_0x3eb6b0(0x36f)](_0x56b967),{'left':_0x5bd574+_0x4b8c4b-_0x40984e,'top':_0x38436c+_0x32b155-_0xeb2c0a,'text':_0x49fe43,'color':_0x4097a2});this['_textBubble']=_0x10f637,this['_scene'][_0x3eb6b0(0x206)](_0x10f637,_0x54118e[_0x3eb6b0(0x209)]),this[_0x3eb6b0(0x2c7)]=!0x1;}['_handleHover'](){const _0x4b655d=_0x5e56c1,_0x5b74d3=this[_0x4b655d(0x1ec)][_0x4b655d(0x39a)][_0x4b655d(0x213)](()=>{this['_hover']=!0x0;}),_0x2da574=this[_0x4b655d(0x1ec)]['onPointerLeave$'][_0x4b655d(0x213)](()=>{const _0x6117ef=_0x4b655d;this[_0x6117ef(0x18f)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x5a3ffa=_0x6117ef;this[_0x5a3ffa(0x2c7)]=!0x1;},0x7d0);});return()=>{const _0x10aa24=_0x4b655d;_0x5b74d3['unsubscribe'](),_0x2da574[_0x10aa24(0x3d3)]();};}['_drawTextRange'](_0x2dd6d1,_0x2eb557,_0x3c98c1,_0x7deb57){const _0x1dd83f=_0x5e56c1,_0x4a89a5=new _0x2206f3[(_0x1dd83f(0x38a))](_0x2dd6d1)['setAlpha'](0.2)[_0x1dd83f(0x2ad)](),_0x48f52e=new _0x5c5ba3['RegularPolygon'](_0x4fbd6b+_0x2206f3[_0x1dd83f(0x3cb)][_0x1dd83f(0x36f)](_0x56b967),{'pointsGroup':_0x2eb557,'fill':_0x4a89a5||_0x5c5ba3[_0x1dd83f(0x1fb)](_0x2206f3[_0x1dd83f(0x1b1)][_0x1dd83f(0x2aa)],0.2),'left':_0x3c98c1,'top':_0x7deb57,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1dd83f(0x2de)]['push'](_0x48f52e),this[_0x1dd83f(0x253)][_0x1dd83f(0x206)](_0x48f52e,_0x54118e[_0x1dd83f(0x209)]);}[_0x5e56c1(0x1c9)](_0x1c432e,_0x190e33,_0x172e67,_0x4527a7){const _0x1e661b=_0x5e56c1,_0x29a05b=new _0x2206f3[(_0x1e661b(0x38a))](_0x1c432e)['setAlpha'](0.2)['toRgbString'](),_0x4d90e3=new _0x5c5ba3[(_0x1e661b(0x21f))](_0x3ae19b+_0x2206f3['Tools']['generateRandomId'](_0x56b967),{'pointsGroup':_0x190e33,'fill':_0x29a05b||_0x5c5ba3[_0x1e661b(0x1fb)](_0x2206f3[_0x1e661b(0x1b1)][_0x1e661b(0x2aa)],0.2),'left':_0x172e67,'top':_0x4527a7,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x1e661b(0x398)](_0x4d90e3),this[_0x1e661b(0x253)][_0x1e661b(0x206)](_0x4d90e3,_0x54118e[_0x1e661b(0x209)]);}[_0x5e56c1(0x21d)](_0x2f2469){const _0x35d22c=_0x2f2469[0x0],_0x32309b=_0x35d22c[0x0],_0x13da44=_0x35d22c[0x2],{x:_0x1942d6,y:_0x40249a}=_0x32309b,{x:_0xe2dc31,y:_0x30d49d}=_0x13da44;return{'left':_0x1942d6,'top':_0x40249a,'width':_0xe2dc31-_0x1942d6,'height':_0x30d49d-_0x40249a};}[_0x5e56c1(0x2b5)](){const _0x218b90=_0x5e56c1,{scaleX:_0x5a9353,scaleY:_0x411df6}=this[_0x218b90(0x253)][_0x218b90(0x315)]();return Math[_0x218b90(0x25a)](_0x5a9353,_0x411df6);}}var _0x4497e8=Object[_0x5e56c1(0x227)],_0x5cc051=(_0x532d8c,_0x9960b0,_0x451252,_0xe62180)=>{for(var _0x39227c=_0xe62180>0x1?void 0x0:_0xe62180?_0x4497e8(_0x9960b0,_0x451252):_0x9960b0,_0x33b68f=_0x532d8c['length']-0x1,_0x4b3a85;_0x33b68f>=0x0;_0x33b68f--)(_0x4b3a85=_0x532d8c[_0x33b68f])&&(_0x39227c=_0x4b3a85(_0x39227c)||_0x39227c);return _0x39227c;},_0x6f019b=(_0xf55a91,_0x2cbc22)=>(_0x5f3ea0,_0x3ab33a)=>_0x2cbc22(_0x5f3ea0,_0x3ab33a,_0xf55a91);let _0x12fbd5=class extends _0x2206f3['RxDisposable']{constructor(_0x3aff77,_0x47ed86,_0x32e44a,_0x2f5cac,_0x53ae78){const _0x4a9a83=_0x5e56c1;super(),_0x304d03(this,_0x4a9a83(0x377),[]),_0x304d03(this,_0x4a9a83(0x274),[]),(this[_0x4a9a83(0x276)]=_0x3aff77,this[_0x4a9a83(0x312)]=_0x47ed86,this[_0x4a9a83(0x2c6)]=_0x32e44a,this[_0x4a9a83(0x2d2)]=_0x2f5cac,this[_0x4a9a83(0x212)]=_0x53ae78,this[_0x4a9a83(0x3c4)]());}[_0x5e56c1(0x3c4)](){const _0x16dca2=_0x5e56c1,_0x28d43b=this['_context'][_0x16dca2(0x37e)],_0x151484=this[_0x16dca2(0x312)];this[_0x16dca2(0x3c2)](_0x533430[_0x16dca2(0x2a9)]([this[_0x16dca2(0x2c6)][_0x16dca2(0x2f2)](_0x28d43b),this[_0x16dca2(0x212)][_0x16dca2(0x16f)]])[_0x16dca2(0x3d8)](_0x18e2e4[_0x16dca2(0x165)](([_0x5aecbb,_0x246f88])=>({'skeleton':_0x151484[_0x16dca2(0x20b)](),'cursors':[..._0x5aecbb[_0x16dca2(0x37f)]()][_0x16dca2(0x2d8)](_0x198a19=>({..._0x198a19,'color':_0x246f88[_0x198a19[_0x16dca2(0x3d2)]]}))})))[_0x16dca2(0x3a8)](_0x2c416e=>{const _0x56dd60=_0x16dca2;if(this['_removeCollabCursors'](),_0x2c416e){const {skeleton:_0x452b4b,cursors:_0x1c21ee}=_0x2c416e;this[_0x56dd60(0x155)](_0x452b4b,_0x1c21ee);}})),this[_0x16dca2(0x33f)](),this[_0x16dca2(0x374)]();}[_0x5e56c1(0x155)](_0x19a6ed,_0x1353cb){const _0x3522ad=_0x5e56c1,{scene:_0x11000a,mainComponent:_0x20805d}=this['_context'],_0x350344=_0x1353cb['map'](_0x372e4f=>new _0x4cbbfd(_0x372e4f,_0x11000a,_0x19a6ed,_0x20805d));this[_0x3522ad(0x377)]=_0x350344,this['_cursors']=_0x1353cb;}[_0x5e56c1(0x2fc)](){const _0x72af2a=_0x5e56c1;this[_0x72af2a(0x2c3)]();const {scene:_0x52cbba,mainComponent:_0x1162d6}=this[_0x72af2a(0x276)],_0x5f20fb=this[_0x72af2a(0x312)][_0x72af2a(0x20b)](),_0x40c89f=this['_cursors'][_0x72af2a(0x165)](_0xd8126d=>new _0x4cbbfd(_0xd8126d,_0x52cbba,_0x5f20fb,_0x1162d6));this[_0x72af2a(0x377)]=_0x40c89f;}[_0x5e56c1(0x2c3)](){const _0x17e1af=_0x5e56c1;this[_0x17e1af(0x377)][_0x17e1af(0x3b4)](_0x4c9862=>_0x4c9862['dispose']()),this[_0x17e1af(0x377)]=[];}[_0x5e56c1(0x374)](){const _0x3197aa=_0x5e56c1,_0x32821a=[_0x54118e[_0x3197aa(0x3a4)]['id']];this[_0x3197aa(0x3c2)](this[_0x3197aa(0x2d2)][_0x3197aa(0x1ae)](_0x69bf16=>{const _0x1b8afe=_0x3197aa;_0x32821a[_0x1b8afe(0x306)](_0x69bf16['id'])&&_0x69bf16[_0x1b8afe(0x1f2)][_0x1b8afe(0x37e)]===this[_0x1b8afe(0x276)][_0x1b8afe(0x37e)]&&this[_0x1b8afe(0x2fc)]();}));}[_0x5e56c1(0x33f)](){const _0xa92679=_0x5e56c1;this[_0xa92679(0x3c2)](_0x2206f3['fromEventSubject'](this[_0xa92679(0x276)][_0xa92679(0x173)][_0xa92679(0x2e4)])[_0xa92679(0x3d8)](_0x18e2e4[_0xa92679(0x1f5)](_0x143a74=>_0x143a74['type']===_0x5c5ba3[_0xa92679(0x200)][_0xa92679(0x1c8)]),_0x18e2e4[_0xa92679(0x3dc)](0x10))[_0xa92679(0x3a8)](()=>{this['_refreshCollabCursors']();}));}};_0x12fbd5=_0x5cc051([_0x6f019b(0x1,_0x2206f3[_0x5e56c1(0x337)](_0xb9f2ee[_0x5e56c1(0x23f)])),_0x6f019b(0x2,_0x2206f3[_0x5e56c1(0x337)](_0x506acf)),_0x6f019b(0x3,_0x2206f3['ICommandService']),_0x6f019b(0x4,_0x2206f3[_0x5e56c1(0x337)](_0x2206f3[_0x5e56c1(0x1a8)]))],_0x12fbd5);const _0x99f5f3=0x1,_0x3375be=1.5;class _0x1edb37 extends _0x5c5ba3[_0x5e56c1(0x289)]{constructor(_0x3c9308,_0x1a3b24){const _0x30b8cd=_0x5e56c1;super(_0x3c9308,_0x1a3b24),_0x304d03(this,_0x30b8cd(0x2a3)),_0x304d03(this,_0x30b8cd(0x2a1),!0x1),_0x304d03(this,_0x30b8cd(0x362)),_0x304d03(this,_0x30b8cd(0x38b),''),_0x304d03(this,'_labelPosition',_0x30b8cd(0x19f)),_0x304d03(this,_0x30b8cd(0x157)),(_0x1a3b24&&this['setShapeProps'](_0x1a3b24),this['onPointerEnter$'][_0x30b8cd(0x213)](()=>this[_0x30b8cd(0x1d2)]({'hovered':!0x0})),this[_0x30b8cd(0x154)][_0x30b8cd(0x213)](()=>this[_0x30b8cd(0x1d2)]({'hovered':!0x1})));}['setShapeProps'](_0x3d461e){const _0x41725c=_0x5e56c1;var _0x4de119,_0x2d0d93,_0xffa2e0,_0x13049e,_0x62d820,_0x28e320;this[_0x41725c(0x2a3)]=(_0x4de119=_0x3d461e[_0x41725c(0x3d2)])!=null?_0x4de119:this[_0x41725c(0x2a3)],this[_0x41725c(0x2a1)]=(_0x2d0d93=_0x3d461e[_0x41725c(0x171)])!=null?_0x2d0d93:this[_0x41725c(0x2a1)],this[_0x41725c(0x362)]=(_0xffa2e0=_0x3d461e[_0x41725c(0x373)])!=null?_0xffa2e0:this[_0x41725c(0x362)],this['_name']=(_0x13049e=_0x3d461e[_0x41725c(0x33b)])!=null?_0x13049e:this[_0x41725c(0x38b)],this[_0x41725c(0x2db)]=(_0x62d820=_0x3d461e[_0x41725c(0x396)])!=null?_0x62d820:this[_0x41725c(0x2db)],this[_0x41725c(0x157)]=(_0x28e320=_0x3d461e['backgroundColor'])!=null?_0x28e320:this['_backgroundColor'],this[_0x41725c(0x2af)]({'width':_0x3d461e['width'],'height':_0x3d461e['height']});}[_0x5e56c1(0x228)](_0x55dae7){const _0x5d52a6=_0x5e56c1,{row:_0x5a6364,column:_0x12d12d}=_0x55dae7;if(_0x5a6364>=this[_0x5d52a6(0x362)]['startRow']&&_0x5a6364<=this[_0x5d52a6(0x362)][_0x5d52a6(0x144)]&&_0x12d12d>=this[_0x5d52a6(0x362)][_0x5d52a6(0x26d)]&&_0x12d12d<=this['_range'][_0x5d52a6(0x305)]){this[_0x5d52a6(0x1d2)]({'hovered':!0x0});return;}this[_0x5d52a6(0x1d2)]({'hovered':!0x1});}[_0x5e56c1(0x390)](_0x3ebe38){return!0x1;}['_draw'](_0x3adbe6){const _0x29ffd6=_0x5e56c1;_0x5c5ba3['Rect'][_0x29ffd6(0x38f)](_0x3adbe6,{'width':this[_0x29ffd6(0x37d)],'height':this[_0x29ffd6(0x24f)],'strokeWidth':_0x3375be,'stroke':this[_0x29ffd6(0x2a3)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x29ffd6(0x2a1)]&&(_0x3adbe6['save'](),_0x3adbe6['transform'](0x1,0x0,0x0,0x1,this[_0x29ffd6(0x37d)],this[_0x29ffd6(0x2db)]===_0x29ffd6(0x395)?0x0:-0x14),_0x4d7469[_0x29ffd6(0x38f)](_0x3adbe6,{'text':this[_0x29ffd6(0x38b)],'color':this[_0x29ffd6(0x2a3)]}),_0x3adbe6['restore']());}}var _0x497c4f=Object['getOwnPropertyDescriptor'],_0x537536=(_0x4a5b96,_0x48947e,_0x1c8acf,_0x47631c)=>{const _0x3774bc=_0x5e56c1;for(var _0x16cfcd=_0x47631c>0x1?void 0x0:_0x47631c?_0x497c4f(_0x48947e,_0x1c8acf):_0x48947e,_0x3f1860=_0x4a5b96[_0x3774bc(0x145)]-0x1,_0x1968c5;_0x3f1860>=0x0;_0x3f1860--)(_0x1968c5=_0x4a5b96[_0x3f1860])&&(_0x16cfcd=_0x1968c5(_0x16cfcd)||_0x16cfcd);return _0x16cfcd;},_0x82ae1b=(_0x385592,_0x55df31)=>(_0x307f0c,_0x15d4c5)=>_0x55df31(_0x307f0c,_0x15d4c5,_0x385592);const _0x16b6e3=0x1389;let _0x1dcdd0=class extends _0x2206f3[_0x5e56c1(0x29e)]{constructor(_0x2d5571,_0x249d5a,_0x4c8896,_0x5d7e9c){const _0xbbaee3=_0x5e56c1;super(),_0x304d03(this,'_cursors',new Set()),_0x304d03(this,_0xbbaee3(0x2f1),null),(this[_0xbbaee3(0x276)]=_0x2d5571,this['_sheetSkeletonManagerService']=_0x249d5a,this[_0xbbaee3(0x2c6)]=_0x4c8896,this[_0xbbaee3(0x212)]=_0x5d7e9c,this['_init']());}[_0x5e56c1(0x3c4)](){const _0x3096be=_0x5e56c1;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x3096be(0x3d8)](_0x18e2e4[_0x3096be(0x3cd)](this[_0x3096be(0x29b)]),_0x18e2e4[_0x3096be(0x3a9)](_0x59a10f=>{const _0x3df2f5=_0x3096be;if(_0x59a10f){const _0x2434e7=_0x59a10f[_0x3df2f5(0x3be)];return _0x533430[_0x3df2f5(0x2a9)](this[_0x3df2f5(0x2c6)]['getCollabCursors$'](this[_0x3df2f5(0x276)][_0x3df2f5(0x37e)]),this['_themeService'][_0x3df2f5(0x16f)])[_0x3df2f5(0x3d8)](_0x18e2e4[_0x3df2f5(0x165)](([_0x426050,_0x5c9669])=>{const _0xe92525=_0x3df2f5,_0x142d09=new Map();return _0x426050[_0xe92525(0x3b4)]((_0x2d1449,_0x391d78)=>{const _0x49d35c=_0xe92525;if(_0x2d1449[_0x49d35c(0x148)]===_0x2434e7){const _0x3e145e={..._0x2d1449};_0x3e145e[_0x49d35c(0x3d2)]=_0x5c9669[_0x2d1449['color']],_0x142d09[_0x49d35c(0x275)](_0x391d78,_0x3e145e);}}),{'skeleton':_0x59a10f,'cursors':_0x142d09};}));}return _0x533430['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x12f0c3,cursors:_0x456e6a})=>{const _0x419607=_0x3096be;this['_removeCollabCursors'](),_0x12f0c3&&this[_0x419607(0x155)](_0x12f0c3,_0x456e6a);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x3096be(0x3a8)](_0x881b13=>{const _0x2f35b2=_0x3096be;if(_0x881b13==null)return;const {skeleton:_0x399949}=_0x881b13,{scene:_0x22ae79}=this[_0x2f35b2(0x276)];_0x22ae79[_0x2f35b2(0x17f)][_0x2f35b2(0x213)](_0x2206f3[_0x2f35b2(0x22e)](_0x311176=>{const _0x16518e=_0x2f35b2;var _0x200fb3,_0x585a1b;const {offsetX:_0x1cd87e,offsetY:_0x33e83e}=_0x311176,{x:_0x45c75a,y:_0x411d97}=_0x22ae79[_0x16518e(0x19c)](_0x5c5ba3['Vector2']['FromArray']([_0x1cd87e,_0x33e83e])),{scaleX:_0x3b03c1,scaleY:_0x162ac2}=_0x22ae79[_0x16518e(0x315)](),_0x578529=_0x22ae79[_0x16518e(0x33e)](_0x5c5ba3[_0x16518e(0x28d)][_0x16518e(0x1c7)]),_0x4f22f4=_0x22ae79[_0x16518e(0x2f8)](_0x5c5ba3['Vector2']['FromArray']([_0x45c75a,_0x411d97]),_0x578529),_0x2f6e8e=_0x399949[_0x16518e(0x15d)](_0x1cd87e,_0x33e83e,_0x3b03c1,_0x162ac2,_0x4f22f4);((_0x200fb3=this['_lastPointer'])==null?void 0x0:_0x200fb3[_0x16518e(0x1ee)])===_0x2f6e8e[_0x16518e(0x1ee)]&&((_0x585a1b=this[_0x16518e(0x2f1)])==null?void 0x0:_0x585a1b[_0x16518e(0x20a)])===_0x2f6e8e['row']||this[_0x16518e(0x274)][_0x16518e(0x3b4)](_0x5dc15f=>{_0x5dc15f['onMouseMove'](_0x2f6e8e);});},0x64));});}[_0x5e56c1(0x155)](_0x12e7aa,_0x290efc){const _0x7c8318=_0x5e56c1;var _0xc7953a;const _0x101eb3=(_0xc7953a=this[_0x7c8318(0x17d)][_0x7c8318(0x199)]())==null?void 0x0:_0xc7953a['skeleton'];if(!_0x101eb3)return;const _0x5c65dd=this[_0x7c8318(0x288)]();if(!_0x5c65dd)return;this[_0x7c8318(0x274)][_0x7c8318(0x3b4)](_0x919b0d=>{const _0x413a3a=_0x7c8318;_0x919b0d[_0x413a3a(0x35b)]();});const {scene:_0x4c5b2b}=_0x5c65dd,_0x4c4752=_0x35ebec(Array[_0x7c8318(0x2be)](_0x290efc[_0x7c8318(0x37f)]()))[_0x7c8318(0x165)](_0x2e5980=>{const _0x3629f4=_0x7c8318,{color:_0x485856,range:_0x3655b8,name:_0x2d56d6,selection:_0x183bba,sheetID:_0x321c79}=_0x2e5980,{startColumn:_0x1e3aab,startRow:_0x16ecf8,endColumn:_0x574624,endRow:_0x4dc995}=_0x3655b8,_0x8ed862=_0x5c1dff[_0x3629f4(0x257)](_0x16ecf8,_0x1e3aab,_0x4c5b2b,_0x101eb3),_0xa4b9c8=_0x5c1dff['getCoordByCell'](_0x4dc995,_0x574624,_0x4c5b2b,_0x101eb3),{columnHeaderHeightAndMarginTop:_0x413cc0}=_0x101eb3,{startX:_0x20206f,startY:_0x12950c}=_0x8ed862,{endX:_0x385492,endY:_0xb3369e}=_0xa4b9c8,_0x4de7c5=_0x385492-_0x20206f,_0xdbc089=_0xb3369e-_0x12950c,_0x225d74={'labelPosition':_0x12950c-_0x413cc0>=_0xeb2c0a?_0x3629f4(0x19f):_0x3629f4(0x395),'sheetID':_0x321c79,'range':_0x3655b8,'color':_0x485856,'name':_0x2d56d6,'selection':_0x183bba,'left':_0x20206f,'top':_0x12950c,'width':_0x4de7c5,'height':_0xdbc089,'evented':!0x1,'zIndex':_0x16b6e3};return new _0x1edb37(_0x2d56d6,_0x225d74);});_0x4c5b2b['addObjects'](_0x4c4752,_0x99f5f3),this[_0x7c8318(0x274)]=new Set(_0x4c4752);}[_0x5e56c1(0x2c3)](){const _0x1ccf3b=_0x5e56c1;var _0xfe5bec;(_0xfe5bec=this[_0x1ccf3b(0x274)])==null||_0xfe5bec[_0x1ccf3b(0x3b4)](_0x30bf89=>_0x30bf89[_0x1ccf3b(0x2ac)]());}[_0x5e56c1(0x288)](){const _0x1e3780=_0x5e56c1;return _0x5c1dff[_0x1e3780(0x2e9)](this[_0x1e3780(0x276)][_0x1e3780(0x31b)],this[_0x1e3780(0x276)]);}};_0x1dcdd0=_0x537536([_0x82ae1b(0x1,_0x2206f3[_0x5e56c1(0x337)](_0x5c1dff[_0x5e56c1(0x25b)])),_0x82ae1b(0x2,_0x2206f3['Inject'](_0x506acf)),_0x82ae1b(0x3,_0x2206f3[_0x5e56c1(0x337)](_0x2206f3['ThemeService']))],_0x1dcdd0);function _0x35ebec(_0x27b6d5){const _0x202391=_0x5e56c1,_0x4e4056=new Map();return _0x27b6d5['forEach'](_0x71a863=>{const _0x421bd4=_0x4106;if(_0x4e4056[_0x421bd4(0x2dd)](_0x71a863[_0x421bd4(0x26b)])){const _0x2b4401=_0x4e4056['get'](_0x71a863[_0x421bd4(0x26b)]);_0x2b4401[_0x421bd4(0x33b)]+=',\x20'+_0x71a863[_0x421bd4(0x33b)];}else _0x4e4056[_0x421bd4(0x275)](_0x71a863[_0x421bd4(0x26b)],_0x71a863);}),Array[_0x202391(0x2be)](_0x4e4056[_0x202391(0x37f)]());}var _0x96d3bd=function(){const _0x331525=_0x5e56c1;return _0x96d3bd=Object[_0x331525(0x1bc)]||function(_0xee778f){for(var _0x46e0ae,_0x375d65=0x1,_0x2ad76b=arguments['length'];_0x375d65<_0x2ad76b;_0x375d65++){_0x46e0ae=arguments[_0x375d65];for(var _0x2b87ba in _0x46e0ae)Object['prototype']['hasOwnProperty']['call'](_0x46e0ae,_0x2b87ba)&&(_0xee778f[_0x2b87ba]=_0x46e0ae[_0x2b87ba]);}return _0xee778f;},_0x96d3bd['apply'](this,arguments);},_0x2d208c=function(_0x4bd516,_0x22e0c2){const _0x4b3c66=_0x5e56c1;var _0x22007f={};for(var _0x2e4826 in _0x4bd516)Object['prototype']['hasOwnProperty']['call'](_0x4bd516,_0x2e4826)&&_0x22e0c2['indexOf'](_0x2e4826)<0x0&&(_0x22007f[_0x2e4826]=_0x4bd516[_0x2e4826]);if(_0x4bd516!=null&&typeof Object[_0x4b3c66(0x2d9)]==_0x4b3c66(0x14d)){for(var _0x34ae93=0x0,_0x2e4826=Object[_0x4b3c66(0x2d9)](_0x4bd516);_0x34ae93<_0x2e4826[_0x4b3c66(0x145)];_0x34ae93++)_0x22e0c2['indexOf'](_0x2e4826[_0x34ae93])<0x0&&Object[_0x4b3c66(0x292)][_0x4b3c66(0x268)][_0x4b3c66(0x2df)](_0x4bd516,_0x2e4826[_0x34ae93])&&(_0x22007f[_0x2e4826[_0x34ae93]]=_0x4bd516[_0x2e4826[_0x34ae93]]);}return _0x22007f;},_0xf36afe=_0x1115d3[_0x5e56c1(0x2b3)](function(_0x46bf4f,_0x5258b8){const _0x56fda1=_0x5e56c1;var _0x85ba16=_0x46bf4f[_0x56fda1(0x37a)],_0x59a492=_0x46bf4f['id'],_0x304e9b=_0x46bf4f['className'],_0x349d07=_0x46bf4f[_0x56fda1(0x20e)],_0x4dda29=_0x2d208c(_0x46bf4f,[_0x56fda1(0x37a),'id',_0x56fda1(0x181),'extend']),_0x2d19e3=_0x56fda1(0x273)[_0x56fda1(0x252)](_0x59a492,'\x20')[_0x56fda1(0x252)](_0x304e9b||'')['trim'](),_0x2efa5e=_0x1115d3[_0x56fda1(0x256)]('_'[_0x56fda1(0x252)](_0x5cd95d()));return _0x2af61b(_0x85ba16,''[_0x56fda1(0x252)](_0x59a492),{'defIds':_0x85ba16[_0x56fda1(0x34c)],'idSuffix':_0x2efa5e[_0x56fda1(0x32f)]},_0x96d3bd({'ref':_0x5258b8,'className':_0x2d19e3},_0x4dda29),_0x349d07);});function _0x2af61b(_0x3d5bb9,_0x4c6773,_0x1e661e,_0x2dac3b,_0x51da7e){const _0x128790=_0x5e56c1;return _0x1115d3[_0x128790(0x17b)](_0x3d5bb9['tag'],_0x96d3bd(_0x96d3bd({'key':_0x4c6773},_0x2dadc6(_0x3d5bb9,_0x1e661e,_0x51da7e)),_0x2dac3b),(_0x321d7a(_0x3d5bb9,_0x1e661e)[_0x128790(0x342)]||[])['map'](function(_0xc6c0b3,_0x181e33){const _0x10b856=_0x128790;return _0x2af61b(_0xc6c0b3,''['concat'](_0x4c6773,'-')[_0x10b856(0x252)](_0x3d5bb9[_0x10b856(0x21c)],'-')[_0x10b856(0x252)](_0x181e33),_0x1e661e,void 0x0,_0x51da7e);}));}function _0x2dadc6(_0x39c313,_0x132c79,_0x1f97ae){const _0x15df5e=_0x5e56c1;var _0x191b59=_0x96d3bd({},_0x39c313[_0x15df5e(0x24a)]);_0x1f97ae!=null&&_0x1f97ae['colorChannel1']&&_0x191b59['fill']===_0x15df5e(0x387)&&(_0x191b59[_0x15df5e(0x32a)]=_0x1f97ae['colorChannel1']),_0x39c313[_0x15df5e(0x21c)]===_0x15df5e(0x222)&&_0x191b59['id']&&(_0x191b59['id']=_0x191b59['id']+_0x132c79[_0x15df5e(0x1ed)]),Object['entries'](_0x191b59)['forEach'](function(_0x3cbff7){const _0x27c9ba=_0x15df5e;var _0xd55309=_0x3cbff7[0x0],_0x68795b=_0x3cbff7[0x1];_0xd55309===_0x27c9ba(0x222)&&typeof _0x68795b==_0x27c9ba(0x279)&&(_0x191b59[_0xd55309]=_0x68795b['replace'](/url\(#(.*)\)/,'url(#$1'[_0x27c9ba(0x252)](_0x132c79[_0x27c9ba(0x1ed)],')')));});var _0x128c95=_0x132c79[_0x15df5e(0x34c)];return!_0x128c95||_0x128c95[_0x15df5e(0x145)]===0x0||(_0x39c313['tag']===_0x15df5e(0x339)&&_0x191b59['xlink:href']&&(_0x191b59[_0x15df5e(0x29c)]=_0x191b59[_0x15df5e(0x29c)]+_0x132c79[_0x15df5e(0x1ed)]),Object[_0x15df5e(0x3e0)](_0x191b59)['forEach'](function(_0x1341ab){const _0x11dfa7=_0x15df5e;var _0x1058e8=_0x1341ab[0x0],_0x451fe5=_0x1341ab[0x1];typeof _0x451fe5==_0x11dfa7(0x279)&&(_0x191b59[_0x1058e8]=_0x451fe5[_0x11dfa7(0x308)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x132c79['idSuffix'],')')));})),_0x191b59;}function _0x321d7a(_0x902ec4,_0x5da9fc){const _0x4d7a1c=_0x5e56c1;var _0x1547bd,_0x50ad1e=_0x5da9fc[_0x4d7a1c(0x34c)];return!_0x50ad1e||_0x50ad1e['length']===0x0?_0x902ec4:_0x902ec4[_0x4d7a1c(0x21c)]===_0x4d7a1c(0x1cf)&&(!((_0x1547bd=_0x902ec4['children'])===null||_0x1547bd===void 0x0)&&_0x1547bd[_0x4d7a1c(0x145)])?_0x96d3bd(_0x96d3bd({},_0x902ec4),{'children':_0x902ec4['children'][_0x4d7a1c(0x165)](function(_0x309247){const _0x10a11d=_0x4d7a1c;return typeof _0x309247[_0x10a11d(0x24a)]['id']==_0x10a11d(0x279)&&_0x50ad1e&&_0x50ad1e['indexOf'](_0x309247[_0x10a11d(0x24a)]['id'])>-0x1?_0x96d3bd(_0x96d3bd({},_0x309247),{'attrs':_0x96d3bd(_0x96d3bd({},_0x309247[_0x10a11d(0x24a)]),{'id':_0x309247['attrs']['id']+_0x5da9fc[_0x10a11d(0x1ed)]})}):_0x309247;})}):_0x902ec4;}function _0x5cd95d(){const _0x2ea373=_0x5e56c1;return Math[_0x2ea373(0x28b)]()['toString'](0x24)[_0x2ea373(0x1c0)](0x2,0x8);}_0xf36afe[_0x5e56c1(0x2ce)]=_0x5e56c1(0x2ed);var _0x1f184b={'tag':'svg','attrs':{'fill':_0x5e56c1(0x217),'viewBox':'0\x200\x2016\x2016','width':_0x5e56c1(0x168),'height':_0x5e56c1(0x168)},'children':[{'tag':'g','attrs':{'clipPath':_0x5e56c1(0x224)},'children':[{'tag':_0x5e56c1(0x2bf),'attrs':{'stroke':'currentColor','d':_0x5e56c1(0x158),'strokeLinecap':_0x5e56c1(0x3b5),'strokeLinejoin':_0x5e56c1(0x3b5),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x5e56c1(0x143),'attrs':{'id':_0x5e56c1(0x21e)},'children':[{'tag':_0x5e56c1(0x2bf),'attrs':{'fill':_0x5e56c1(0x204),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x49ea7b=_0x1115d3['forwardRef'](function(_0x1a6d7b,_0x25b2a0){const _0x3643db=_0x5e56c1;return _0x1115d3[_0x3643db(0x17b)](_0xf36afe,Object[_0x3643db(0x1bc)]({},_0x1a6d7b,{'id':_0x3643db(0x36a),'ref':_0x25b2a0,'icon':_0x1f184b}));});_0x49ea7b[_0x5e56c1(0x2ce)]=_0x5e56c1(0x2b0);var _0x3b9722={'tag':_0x5e56c1(0x269),'attrs':{'fill':_0x5e56c1(0x217),'viewBox':'0\x200\x2017\x2016','width':_0x5e56c1(0x168),'height':_0x5e56c1(0x168)},'children':[{'tag':'g','attrs':{'clipPath':_0x5e56c1(0x379)},'children':[{'tag':_0x5e56c1(0x2bf),'attrs':{'stroke':'currentColor','d':_0x5e56c1(0x169),'strokeLinecap':'round','strokeLinejoin':_0x5e56c1(0x3b5),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x5e56c1(0x143),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x5e56c1(0x204),'d':_0x5e56c1(0x19b),'transform':_0x5e56c1(0x23e)}}]}]}],'defIds':[_0x5e56c1(0x1df)]},_0x1cce89=_0x1115d3[_0x5e56c1(0x2b3)](function(_0xce150f,_0x35a7d8){const _0x36d979=_0x5e56c1;return _0x1115d3[_0x36d979(0x17b)](_0xf36afe,Object[_0x36d979(0x1bc)]({},_0xce150f,{'id':_0x36d979(0x178),'ref':_0x35a7d8,'icon':_0x3b9722}));});_0x1cce89[_0x5e56c1(0x2ce)]='OnLineSingle';const _0x4fe0e9={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x5e56c1(0x3dd),'onlineStatus':'univer-online-status','online':_0x5e56c1(0x34e),'offline':_0x5e56c1(0x33a)};function _0x8c1cc3(_0x300249){const _0x4ab2f6=_0x5e56c1;switch(_0x300249){case _0x1dc3c7[_0x4ab2f6(0x2ab)]['OFFLINE']:return _0x4ab2f6(0x1b4);case _0x1dc3c7[_0x4ab2f6(0x2ab)]['CONFLICT']:return _0x4ab2f6(0x28f);case _0x1dc3c7['CollaborationStatus']['FETCH_MISS']:return _0x4ab2f6(0x3d1);case _0x1dc3c7['CollaborationStatus']['NOT_COLLAB']:return'collabStatus.notCollab';case _0x1dc3c7[_0x4ab2f6(0x2ab)][_0x4ab2f6(0x175)]:case _0x1dc3c7[_0x4ab2f6(0x2ab)][_0x4ab2f6(0x2dc)]:return _0x4ab2f6(0x1f7);case _0x1dc3c7[_0x4ab2f6(0x2ab)][_0x4ab2f6(0x14a)]:case _0x1dc3c7[_0x4ab2f6(0x2ab)][_0x4ab2f6(0x2a7)]:return _0x4ab2f6(0x1cd);}}function _0x9c312(_0x2e9a75){const _0x3f75bb=_0x5e56c1,{status$:_0x57942a}=_0x2e9a75,_0x353116=_0x31fb36[_0x3f75bb(0x34d)](_0x57942a,_0x1dc3c7[_0x3f75bb(0x2ab)][_0x3f75bb(0x319)]),_0x4e3a09=_0x31fb36[_0x3f75bb(0x1ca)](_0x2206f3['LocaleService']),_0x197a35=_0x31fb36[_0x3f75bb(0x1ca)](_0x1dc3c7[_0x3f75bb(0x167)]),_0x27f3e7=_0x353116!==_0x1dc3c7['CollaborationStatus']['OFFLINE'],_0x108743=_0x4e3a09['t'](_0x8c1cc3(_0x353116)),_0x7743d7=_0x25d9bd[_0x3f75bb(0x3d4)](_0x4fe0e9[_0x3f75bb(0x34a)],{[_0x4fe0e9[_0x3f75bb(0x2d5)]]:_0x27f3e7,[_0x4fe0e9[_0x3f75bb(0x150)]]:!_0x27f3e7}),_0x21b267=_0x27f3e7?_0x5e9541['jsx'](_0x1cce89,{}):_0x5e9541[_0x3f75bb(0x1eb)](_0x49ea7b,{}),_0x187bcd=_0x1115d3['useCallback'](()=>{const _0x8f9d3b=_0x3f75bb;_0x27f3e7||_0x197a35[_0x8f9d3b(0x2ae)]();},[_0x27f3e7,_0x197a35]);function _0x3c2696(){const _0x5ce3bf=_0x3f75bb;return _0x5e9541['jsxs'](_0x5ce3bf(0x352),{'className':_0x25d9bd[_0x5ce3bf(0x3d4)](_0x7743d7,_0x5ce3bf(0x383)),'onClick':_0x187bcd,'children':[_0x5e9541[_0x5ce3bf(0x1eb)](_0x5ce3bf(0x352),{'className':_0x4fe0e9[_0x5ce3bf(0x262)],'children':_0x21b267}),_0x5e9541[_0x5ce3bf(0x1eb)]('div',{'className':_0x4fe0e9[_0x5ce3bf(0x340)],'children':_0x108743})]});}return _0x27f3e7?_0x3c2696():_0x5e9541[_0x3f75bb(0x1eb)](_0x25d9bd[_0x3f75bb(0x231)],{'title':_0x4e3a09['t'](_0x3f75bb(0x1fc)),'children':_0x3c2696()});}var _0x96bd3e=Object[_0x5e56c1(0x227)],_0x422e37=(_0x58f967,_0x500755,_0x2a93a4,_0x4de44e)=>{for(var _0x5cee78=_0x4de44e>0x1?void 0x0:_0x4de44e?_0x96bd3e(_0x500755,_0x2a93a4):_0x500755,_0x41a47a=_0x58f967['length']-0x1,_0x57c091;_0x41a47a>=0x0;_0x41a47a--)(_0x57c091=_0x58f967[_0x41a47a])&&(_0x5cee78=_0x57c091(_0x5cee78)||_0x5cee78);return _0x5cee78;},_0x41b1d8=(_0x389900,_0x535430)=>(_0x1d27c7,_0xa6ea05)=>_0x535430(_0x1d27c7,_0xa6ea05,_0x389900);_0x24cc35['DesktopCollaborationStatusDisplayController']=class extends _0x2206f3[_0x5e56c1(0x1ce)]{constructor(_0x2e9b39,_0x16438d,_0x3bc4b3,_0x4b9b82){const _0x108756=_0x5e56c1;super(),_0x304d03(this,_0x108756(0x23a),new _0x533430['BehaviorSubject'](_0x1dc3c7[_0x108756(0x2ab)][_0x108756(0x319)])),(this[_0x108756(0x1d4)]=_0x2e9b39,this[_0x108756(0x35e)]=_0x16438d,this[_0x108756(0x394)]=_0x3bc4b3,this[_0x108756(0x3c9)]=_0x4b9b82,this['_initStatusComponent'](),this[_0x108756(0x1f9)]());}[_0x5e56c1(0x1f9)](){const _0x356231=_0x5e56c1;this[_0x356231(0x3c2)](this[_0x356231(0x1d4)]['focused$']['pipe'](_0x533430[_0x356231(0x3a9)](()=>{const _0x50767f=_0x356231,_0x8a58d3=this[_0x50767f(0x1d4)][_0x50767f(0x3ac)]();return _0x8a58d3?this[_0x50767f(0x394)][_0x50767f(0x23d)](_0x8a58d3[_0x50767f(0x296)]()):_0x533430['of'](null);}),_0x533430[_0x356231(0x3a9)](_0x319e3e=>_0x319e3e?_0x319e3e['status$']:_0x533430['of'](_0x1dc3c7[_0x356231(0x2ab)]['NOT_COLLAB'])))[_0x356231(0x3a8)](_0x5140ec=>{const _0x2b9adc=_0x356231;this[_0x2b9adc(0x23a)][_0x2b9adc(0x17c)](_0x5140ec);}));}[_0x5e56c1(0x357)](){const _0x3d67d6=_0x5e56c1;this[_0x3d67d6(0x3c2)](this[_0x3d67d6(0x3c9)][_0x3d67d6(0x27f)](_0x31fb36[_0x3d67d6(0x39b)][_0x3d67d6(0x271)],()=>_0x31fb36[_0x3d67d6(0x1d9)](_0x3ded6d({'status$':this['_status$'][_0x3d67d6(0x2c2)]()}),this[_0x3d67d6(0x35e)])));}},_0x24cc35[_0x5e56c1(0x3af)]=_0x422e37([_0x41b1d8(0x0,_0x2206f3[_0x5e56c1(0x32e)]),_0x41b1d8(0x1,_0x2206f3[_0x5e56c1(0x337)](_0x2206f3[_0x5e56c1(0x2ff)])),_0x41b1d8(0x2,_0x2206f3[_0x5e56c1(0x337)](_0x1dc3c7[_0x5e56c1(0x20d)])),_0x41b1d8(0x3,_0x31fb36[_0x5e56c1(0x341)])],_0x24cc35[_0x5e56c1(0x3af)]);function _0x3ded6d(_0x5b30cf){const {status$:_0x222eb1}=_0x5b30cf;return function(){const _0x154808=_0x4106;return _0x5e9541[_0x154808(0x1eb)](_0x9c312,{'status$':_0x222eb1});};}var _0x3ceb7b=Object[_0x5e56c1(0x227)],_0x4f2fde=(_0x2ae68b,_0x3fb376,_0x3a6539,_0xea041d)=>{const _0x3d7ba4=_0x5e56c1;for(var _0x29c8c9=_0xea041d>0x1?void 0x0:_0xea041d?_0x3ceb7b(_0x3fb376,_0x3a6539):_0x3fb376,_0x3847a4=_0x2ae68b[_0x3d7ba4(0x145)]-0x1,_0xc68295;_0x3847a4>=0x0;_0x3847a4--)(_0xc68295=_0x2ae68b[_0x3847a4])&&(_0x29c8c9=_0xc68295(_0x29c8c9)||_0x29c8c9);return _0x29c8c9;},_0x26404e=(_0x15ea14,_0x4b23fa)=>(_0x248bf6,_0x37089c)=>_0x4b23fa(_0x248bf6,_0x37089c,_0x15ea14);let _0x273763=class extends _0x2206f3['Disposable']{constructor(_0x15cad9,_0xcc445c,_0x4333e3,_0x16f50,_0x190213,_0x1b6a81){const _0x1649a5=_0x5e56c1;super(),this[_0x1649a5(0x25c)]=_0x15cad9,this[_0x1649a5(0x210)]=_0xcc445c,this[_0x1649a5(0x356)]=_0x4333e3,this[_0x1649a5(0x2ee)]=_0x16f50,this[_0x1649a5(0x1e5)]=_0x190213,this[_0x1649a5(0x152)]=_0x1b6a81,this[_0x1649a5(0x3c1)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x46dab3=_0x5e56c1;this[_0x46dab3(0x3c2)](this[_0x46dab3(0x25c)][_0x46dab3(0x248)](()=>{const _0x23e616=_0x46dab3;if(this[_0x23e616(0x210)][_0x23e616(0x1e6)]['size'])return this['_localeService']['t'](_0x23e616(0x3d5));}));}[_0x5e56c1(0x1c2)](){const _0x439614=_0x5e56c1;this['disposeWithMe'](this[_0x439614(0x356)][_0x439614(0x241)][_0x439614(0x3a8)](_0x5c3b85=>{const _0x19aa50=_0x439614;_0x5c3b85['id']===_0x1dc3c7[_0x19aa50(0x249)][_0x19aa50(0x1f4)]&&this[_0x19aa50(0x2ee)][_0x19aa50(0x34b)]({'type':_0x25d9bd['MessageType'][_0x19aa50(0x19a)],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x5c3b85['id']===_0x1dc3c7[_0x19aa50(0x249)][_0x19aa50(0x24c)]&&this['_messageService'][_0x19aa50(0x34b)]({'type':_0x25d9bd['MessageType'][_0x19aa50(0x19a)],'content':this[_0x19aa50(0x152)]['t'](_0x19aa50(0x3a7))}),_0x5c3b85['id']===_0x1dc3c7[_0x19aa50(0x249)]['PERMISSION_DENIED']&&this['_notificationService'][_0x19aa50(0x34b)]({'title':this[_0x19aa50(0x152)]['t'](_0x19aa50(0x3de)),'content':this[_0x19aa50(0x152)]['t'](_0x19aa50(0x260)),'type':'error','duration':0x0}),_0x5c3b85['id']===_0x1dc3c7[_0x19aa50(0x249)][_0x19aa50(0x3bd)]&&this[_0x19aa50(0x2ee)][_0x19aa50(0x34b)]({'type':_0x25d9bd[_0x19aa50(0x393)][_0x19aa50(0x349)],'content':this[_0x19aa50(0x152)]['t'](_0x19aa50(0x3a7))+'('+_0x5c3b85['data']+')'}),_0x5c3b85['id']===_0x1dc3c7[_0x19aa50(0x249)]['JOIN_ROOM_FAILED']&&this['_messageService'][_0x19aa50(0x34b)]({'type':_0x25d9bd['MessageType'][_0x19aa50(0x19a)],'content':this[_0x19aa50(0x152)]['t'](_0x5c3b85[_0x19aa50(0x30d)]||'')}),_0x5c3b85['id']===_0x1dc3c7[_0x19aa50(0x249)][_0x19aa50(0x1e1)]&&this[_0x19aa50(0x2ee)][_0x19aa50(0x34b)]({'type':_0x25d9bd[_0x19aa50(0x393)][_0x19aa50(0x19a)],'content':this['_localeService']['t'](_0x19aa50(0x254))}),_0x5c3b85['id']===_0x1dc3c7[_0x19aa50(0x249)][_0x19aa50(0x3cc)]&&this[_0x19aa50(0x2ee)]['show']({'type':_0x25d9bd[_0x19aa50(0x393)][_0x19aa50(0x349)],'content':this[_0x19aa50(0x152)]['t'](_0x19aa50(0x156))}),_0x5c3b85['id']===_0x1dc3c7[_0x19aa50(0x249)][_0x19aa50(0x2e8)]&&this['_messageService'][_0x19aa50(0x34b)]({'type':_0x25d9bd[_0x19aa50(0x393)][_0x19aa50(0x349)],'content':this[_0x19aa50(0x152)]['t'](_0x19aa50(0x280))});}));}};_0x273763=_0x4f2fde([_0x26404e(0x0,_0x31fb36['IBeforeCloseService']),_0x26404e(0x1,_0x1dc3c7[_0x5e56c1(0x29a)]),_0x26404e(0x2,_0x2206f3[_0x5e56c1(0x337)](_0x1dc3c7[_0x5e56c1(0x3a3)])),_0x26404e(0x3,_0x31fb36[_0x5e56c1(0x2b6)]),_0x26404e(0x4,_0x31fb36[_0x5e56c1(0x1b3)]),_0x26404e(0x5,_0x2206f3[_0x5e56c1(0x337)](_0x2206f3['LocaleService']))],_0x273763);const _0x2c36e6=_0x5e56c1(0x2b2),_0x4e4c8b={},_0x302456=_0x2206f3['createIdentifier'](_0x5e56c1(0x161));var _0x52f99e=Object[_0x5e56c1(0x227)],_0x2a46ac=(_0x16859e,_0x365998,_0x10f793,_0x5d9b6c)=>{const _0xaba9b7=_0x5e56c1;for(var _0x377f12=_0x5d9b6c>0x1?void 0x0:_0x5d9b6c?_0x52f99e(_0x365998,_0x10f793):_0x365998,_0x261e90=_0x16859e[_0xaba9b7(0x145)]-0x1,_0x1dc42a;_0x261e90>=0x0;_0x261e90--)(_0x1dc42a=_0x16859e[_0x261e90])&&(_0x377f12=_0x1dc42a(_0x377f12)||_0x377f12);return _0x377f12;},_0x61bdbd=(_0x34b218,_0x4b624f)=>(_0x36b17a,_0x4cc01f)=>_0x4b624f(_0x36b17a,_0x4cc01f,_0x34b218);_0x24cc35[_0x5e56c1(0x15e)]=class extends _0x2206f3[_0x5e56c1(0x29e)]{constructor(_0x1bdd46,_0x41c821,_0x1148b0,_0x10a66d,_0x3989a3){const _0x18c1ad=_0x5e56c1;super(),this['_urlService']=_0x1bdd46,this[_0x18c1ad(0x1d1)]=_0x41c821,this[_0x18c1ad(0x2d2)]=_0x1148b0,this[_0x18c1ad(0x18c)]=_0x10a66d,_0x3989a3?_0x3989a3==null||_0x3989a3['whenReady']()[_0x18c1ad(0x366)](()=>this[_0x18c1ad(0x3c4)]()):(this[_0x18c1ad(0x1d1)]['debug'](_0x18c1ad(0x2d3),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x5e56c1(0x3c4)](){const _0x46d412=_0x5e56c1,_0x268504=this[_0x46d412(0x39c)][_0x46d412(0x238)](_0x46d412(0x31b)),_0xe8704=this[_0x46d412(0x39c)][_0x46d412(0x238)](_0x46d412(0x223)),_0x555c95=this[_0x46d412(0x39c)]['getParam'](_0x46d412(0x16c));if(!_0x268504||!_0xe8704){this[_0x46d412(0x1d1)][_0x46d412(0x378)](_0x46d412(0x2d3),_0x46d412(0x388));return;}const _0x3d6d36=await this[_0x46d412(0x18c)]['loadUnit'](_0x268504,Number(_0xe8704),_0x555c95);_0x3d6d36&&_0x3d6d36 instanceof _0x2206f3[_0x46d412(0x3b7)]&&this[_0x46d412(0x1b8)](_0x3d6d36);}async[_0x5e56c1(0x1b8)](_0x46ba02){const _0x393802=_0x5e56c1;await this['_updateSubUnitFromURLParams'](_0x46ba02),_0x46ba02[_0x393802(0x39e)]['pipe'](_0x533430[_0x393802(0x3cd)](this[_0x393802(0x29b)]))[_0x393802(0x3a8)](_0x262c07=>{const _0x2f4aa7=_0x393802;_0x262c07&&this[_0x2f4aa7(0x24b)](_0x262c07);}),this[_0x393802(0x39c)][_0x393802(0x1a3)][_0x393802(0x3d8)](_0x533430[_0x393802(0x3cd)](this[_0x393802(0x29b)]))[_0x393802(0x3a8)](()=>this[_0x393802(0x309)](_0x46ba02));}[_0x5e56c1(0x24b)](_0x3eb4d9,_0x320d6e=!0x1){const _0x3ac543=_0x5e56c1,_0x40900c=this['_urlService']['getParam'](_0x3ac543(0x16c));_0x3eb4d9['getSheetId']()!==_0x40900c&&this[_0x3ac543(0x39c)][_0x3ac543(0x1d0)]('subunit',_0x3eb4d9[_0x3ac543(0x313)](),_0x320d6e);}async[_0x5e56c1(0x309)](_0x1ff475){const _0x44f2b0=_0x5e56c1;var _0x3e3f5b;const _0x532088=this[_0x44f2b0(0x39c)][_0x44f2b0(0x238)]('subunit');if(!_0x532088||!_0x1ff475[_0x44f2b0(0x32d)](_0x532088)){const _0xa3a671=_0x1ff475[_0x44f2b0(0x1aa)]()[0x0],_0x527216=_0x1ff475[_0x44f2b0(0x32d)](_0xa3a671);if(!_0x527216)return;this[_0x44f2b0(0x24b)](_0x527216,!0x0),await this[_0x44f2b0(0x2d2)]['executeCommand'](_0x279960[_0x44f2b0(0x301)]['id'],{'unitId':_0x1ff475[_0x44f2b0(0x296)](),'subUnitId':_0xa3a671});return;}((_0x3e3f5b=_0x1ff475[_0x44f2b0(0x3ab)]())==null?void 0x0:_0x3e3f5b[_0x44f2b0(0x313)]())!==_0x532088&&await this[_0x44f2b0(0x2d2)]['executeCommand'](_0x279960[_0x44f2b0(0x301)]['id'],{'unitId':_0x1ff475['getUnitId'](),'subUnitId':_0x532088});}},_0x24cc35[_0x5e56c1(0x15e)]=_0x2a46ac([_0x61bdbd(0x0,_0x302456),_0x61bdbd(0x1,_0x2206f3[_0x5e56c1(0x31e)]),_0x61bdbd(0x2,_0x2206f3[_0x5e56c1(0x25d)]),_0x61bdbd(0x3,_0x2206f3['Inject'](_0x1dc3c7['DataLoaderService'])),_0x61bdbd(0x4,_0x2206f3[_0x5e56c1(0x317)](_0x3aab3e[_0x5e56c1(0x329)]))],_0x24cc35[_0x5e56c1(0x15e)]);var _0x59e897=Object[_0x5e56c1(0x227)],_0x5946bf=(_0x431496,_0x5bfc01,_0x4aa8bc,_0x509926)=>{const _0x5bf078=_0x5e56c1;for(var _0x3eb698=_0x509926>0x1?void 0x0:_0x509926?_0x59e897(_0x5bfc01,_0x4aa8bc):_0x5bfc01,_0x428fe0=_0x431496[_0x5bf078(0x145)]-0x1,_0x1f09b3;_0x428fe0>=0x0;_0x428fe0--)(_0x1f09b3=_0x431496[_0x428fe0])&&(_0x3eb698=_0x1f09b3(_0x3eb698)||_0x3eb698);return _0x3eb698;},_0x3b5551=(_0x2ce1cf,_0x57fe8f)=>(_0x1c49d4,_0x3ca4d3)=>_0x57fe8f(_0x1c49d4,_0x3ca4d3,_0x2ce1cf);let _0x554766=class{constructor(_0x1382a6,_0x1cda54,_0x5b941b){const _0x1afc8f=_0x5e56c1;this[_0x1afc8f(0x35e)]=_0x1382a6,this[_0x1afc8f(0x29d)]=_0x1cda54,this[_0x1afc8f(0x293)]=_0x5b941b;}['transformIMECache'](_0x564f28){this['_transformUndoRedoStack'](_0x564f28),this['_transformPreviousActiveRange'](_0x564f28);}[_0x5e56c1(0x1b2)](_0x3d4b79){const _0x2fc991=_0x5e56c1,{unitID:_0x4f00be}=_0x3d4b79,_0x723b98=this[_0x2fc991(0x293)][_0x2fc991(0x236)](_0x4f00be)[_0x2fc991(0x1ea)](_0x54118e['DocIMEInputManagerService']),{redoCache:_0x39bec2}=_0x723b98[_0x2fc991(0x21a)]();if(_0x39bec2['length']===0x0)return _0x3d4b79;let _0x1bc8e3=_0x2206f3[_0x2fc991(0x3cb)][_0x2fc991(0x259)](_0x3d4b79['mutations'][0x0]);for(let _0x2bcfcb=0x0;_0x2bcfcb<_0x39bec2[_0x2fc991(0x145)];_0x2bcfcb++){const _0x4ae9a8={'id':'doc.mutation.rich-text-editing','params':{..._0x39bec2[_0x2bcfcb]}},_0x314c9d=this[_0x2fc991(0x29d)]['transformMutation'](_0x1bc8e3,_0x4ae9a8,!0x1);if(_0x381ddc['isTransformMutationFailure'](_0x314c9d))throw _0x314c9d[_0x2fc991(0x370)];_0x1bc8e3=_0x314c9d['m1Prime'];}return{..._0x2206f3['Tools'][_0x2fc991(0x259)](_0x3d4b79),'mutations':[_0x1bc8e3]};}['_transformUndoRedoStack'](_0x2d694f){const _0x2276b5=_0x5e56c1,{unitID:_0x214a67}=_0x2d694f,_0x407313=this[_0x2276b5(0x293)][_0x2276b5(0x236)](_0x214a67)[_0x2276b5(0x1ea)](_0x54118e['DocIMEInputManagerService']),{undoCache:_0x4294af,redoCache:_0x51c68e}=_0x407313[_0x2276b5(0x21a)]();if(_0x4294af[_0x2276b5(0x145)]===0x0||_0x51c68e[_0x2276b5(0x145)]===0x0)return;const _0x1f3a20=[],_0x4b5779=[];let _0xa01e41=_0x2206f3[_0x2276b5(0x3cb)][_0x2276b5(0x259)](_0x2d694f[_0x2276b5(0x392)][0x0]),_0x483573=_0x2206f3[_0x2276b5(0x3cb)]['deepClone'](_0x2d694f['mutations'][0x0]);for(let _0x33270a=_0x4294af['length']-0x1;_0x33270a>=0x0;_0x33270a--){const _0x10bca5={'id':'doc.mutation.rich-text-editing','params':{..._0x4294af[_0x33270a]}},_0x577860={'id':_0x2276b5(0x3aa),'params':{..._0x51c68e[_0x33270a]}},_0x12955d=this[_0x2276b5(0x29d)][_0x2276b5(0x39d)](_0xa01e41,_0x10bca5,!0x1),_0x32db1b=this['_transformService'][_0x2276b5(0x39d)](_0x483573,_0x577860,!0x1);if(_0x381ddc['isTransformMutationFailure'](_0x12955d))throw _0x12955d[_0x2276b5(0x370)];if(_0x381ddc[_0x2276b5(0x2a5)](_0x32db1b))throw _0x32db1b['error'];_0x1f3a20[_0x2276b5(0x344)](_0x12955d[_0x2276b5(0x39f)][_0x2276b5(0x1f2)]),_0x4b5779['unshift'](_0x32db1b[_0x2276b5(0x39f)]['params']),_0xa01e41=_0x12955d[_0x2276b5(0x348)],_0x483573=_0x32db1b[_0x2276b5(0x348)];}_0x407313[_0x2276b5(0x208)]({'undoCache':_0x1f3a20,'redoCache':_0x4b5779});}[_0x5e56c1(0x332)](_0x3390e3){const _0x555976=_0x5e56c1,{unitID:_0x1d6c66}=_0x3390e3,_0x3f4f5c=this[_0x555976(0x293)][_0x555976(0x236)](_0x1d6c66)[_0x555976(0x1ea)](_0x54118e[_0x555976(0x360)]),_0x4701d1=_0x3f4f5c['getActiveRange']();if(_0x4701d1==null)return;const _0x2e3e62=[{'id':_0x555976(0x3aa),'params':{'unitId':_0x3390e3[_0x555976(0x239)],'actions':null,'textRanges':[_0x4701d1]}}],_0x55817c=this['_transformService'][_0x555976(0x294)](_0x3390e3,_0x2e3e62);if(!_0x381ddc[_0x555976(0x365)](_0x55817c))throw _0x55817c[_0x555976(0x370)];const _0x1bca09=_0x55817c[_0x555976(0x39f)][0x0][_0x555976(0x1f2)]['textRanges'];Array[_0x555976(0x14f)](_0x1bca09)&&_0x1bca09[_0x555976(0x145)]&&_0x3f4f5c[_0x555976(0x27d)](_0x1bca09[0x0]);}};_0x554766=_0x5946bf([_0x3b5551(0x0,_0x2206f3[_0x5e56c1(0x337)](_0x2206f3[_0x5e56c1(0x2ff)])),_0x3b5551(0x1,_0x381ddc[_0x5e56c1(0x1a2)]),_0x3b5551(0x2,_0x5c5ba3[_0x5e56c1(0x322)])],_0x554766);var _0x1a128a=Object['getOwnPropertyDescriptor'],_0x62fcc9=(_0x10c9d1,_0x35198f,_0x5a1832,_0x4899a6)=>{const _0x4263e9=_0x5e56c1;for(var _0x317416=_0x4899a6>0x1?void 0x0:_0x4899a6?_0x1a128a(_0x35198f,_0x5a1832):_0x35198f,_0x4c8967=_0x10c9d1[_0x4263e9(0x145)]-0x1,_0x333435;_0x4c8967>=0x0;_0x4c8967--)(_0x333435=_0x10c9d1[_0x4c8967])&&(_0x317416=_0x333435(_0x317416)||_0x317416);return _0x317416;},_0x140091=(_0x5eeed6,_0x23ff8a)=>(_0x3512ed,_0x85bf72)=>_0x23ff8a(_0x3512ed,_0x85bf72,_0x5eeed6);let _0x187e26=class{constructor(_0x4305ee,_0x3939a1,_0x3ca8ab){const _0x472012=_0x5e56c1;this[_0x472012(0x35e)]=_0x4305ee,this['_transformService']=_0x3939a1,this[_0x472012(0x172)]=_0x3ca8ab;}['transformStateCache'](_0x2d726a){this['_transformHistoryAndStateStack'](_0x2d726a);}[_0x5e56c1(0x1b2)](_0x5cea6e){const _0x303a54=_0x5e56c1,{unitID:_0x2d0acf}=_0x5cea6e,{collaboration:_0x365eb5}=this[_0x303a54(0x172)][_0x303a54(0x258)](_0x2d0acf);if(_0x365eb5[_0x303a54(0x145)]===0x0)return _0x5cea6e;let _0x1239e9=_0x2206f3[_0x303a54(0x3cb)]['deepClone'](_0x5cea6e[_0x303a54(0x392)][0x0]);for(let _0x4cb7f4=0x0;_0x4cb7f4<_0x365eb5[_0x303a54(0x145)];_0x4cb7f4++){const _0x3a1b37={'id':_0x303a54(0x3aa),'params':{'unitId':_0x365eb5[_0x4cb7f4][_0x303a54(0x37e)],..._0x365eb5[_0x4cb7f4][_0x303a54(0x295)]}},_0x15366b=this['_transformService'][_0x303a54(0x39d)](_0x1239e9,_0x3a1b37,!0x1);if(_0x381ddc[_0x303a54(0x2a5)](_0x15366b))throw _0x15366b[_0x303a54(0x370)];_0x1239e9=_0x15366b['m1Prime'];}return{..._0x2206f3['Tools']['deepClone'](_0x5cea6e),'mutations':[_0x1239e9]};}[_0x5e56c1(0x27e)](_0x3c19c1){const _0x929564=_0x5e56c1,{unitID:_0x5beced}=_0x3c19c1,{history:_0x7caca3,collaboration:_0x568503}=this[_0x929564(0x172)][_0x929564(0x258)](_0x5beced);if(_0x7caca3[_0x929564(0x145)]===0x0&&_0x568503[_0x929564(0x145)]===0x0)return;const _0x31f5ea=[],_0x4f981c=[];let _0x552778=_0x2206f3[_0x929564(0x3cb)][_0x929564(0x259)](_0x3c19c1[_0x929564(0x392)][0x0]),_0x23584e=_0x2206f3[_0x929564(0x3cb)]['deepClone'](_0x3c19c1[_0x929564(0x392)][0x0]);for(let _0x487c85=_0x7caca3[_0x929564(0x145)]-0x1;_0x487c85>=0x0;_0x487c85--){const _0x2d7a44={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x7caca3[_0x487c85][_0x929564(0x37e)],..._0x7caca3[_0x487c85][_0x929564(0x350)]}},_0x51bd87={'id':_0x929564(0x3aa),'params':{'unitId':_0x7caca3[_0x487c85][_0x929564(0x37e)],..._0x7caca3[_0x487c85][_0x929564(0x295)]}},_0x5c1e6b=this[_0x929564(0x29d)]['transformMutation'](_0x552778,_0x2d7a44,!0x1),_0x533e01=this[_0x929564(0x29d)][_0x929564(0x39d)](_0x23584e,_0x51bd87,!0x1);if(_0x381ddc[_0x929564(0x2a5)](_0x5c1e6b))throw _0x5c1e6b[_0x929564(0x370)];if(_0x381ddc[_0x929564(0x2a5)](_0x533e01))throw _0x533e01[_0x929564(0x370)];_0x31f5ea[_0x929564(0x344)]({..._0x7caca3[_0x487c85],'undoState':_0x5c1e6b[_0x929564(0x39f)]['params'],'redoState':_0x533e01['m2Prime'][_0x929564(0x1f2)]}),_0x552778=_0x5c1e6b[_0x929564(0x348)],_0x23584e=_0x533e01[_0x929564(0x348)];}_0x552778=_0x2206f3['Tools'][_0x929564(0x259)](_0x3c19c1[_0x929564(0x392)][0x0]),_0x23584e=_0x2206f3[_0x929564(0x3cb)][_0x929564(0x259)](_0x3c19c1[_0x929564(0x392)][0x0]);for(let _0x49444f=_0x568503[_0x929564(0x145)]-0x1;_0x49444f>=0x0;_0x49444f--){const _0x3d2b60={'id':_0x929564(0x3aa),'params':{'unitId':_0x568503[_0x49444f][_0x929564(0x37e)],..._0x568503[_0x49444f][_0x929564(0x350)]}},_0x194b6f={'id':_0x929564(0x3aa),'params':{'unitId':_0x568503[_0x49444f][_0x929564(0x37e)],..._0x568503[_0x49444f][_0x929564(0x295)]}},_0x54b765=this[_0x929564(0x29d)][_0x929564(0x39d)](_0x552778,_0x3d2b60,!0x1),_0x28317a=this['_transformService'][_0x929564(0x39d)](_0x23584e,_0x194b6f,!0x1);if(_0x381ddc[_0x929564(0x2a5)](_0x54b765))throw _0x54b765['error'];if(_0x381ddc[_0x929564(0x2a5)](_0x28317a))throw _0x28317a['error'];_0x4f981c[_0x929564(0x344)]({..._0x568503[_0x49444f],'undoState':_0x54b765[_0x929564(0x39f)]['params'],'redoState':_0x28317a[_0x929564(0x39f)][_0x929564(0x1f2)]}),_0x552778=_0x54b765[_0x929564(0x348)],_0x23584e=_0x28317a[_0x929564(0x348)];}this[_0x929564(0x172)][_0x929564(0x3c0)](_0x5beced,{'history':_0x31f5ea,'collaboration':_0x4f981c});}};_0x187e26=_0x62fcc9([_0x140091(0x0,_0x2206f3[_0x5e56c1(0x337)](_0x2206f3['Injector'])),_0x140091(0x1,_0x381ddc['ITransformService']),_0x140091(0x2,_0x2206f3[_0x5e56c1(0x337)](_0x54118e['DocStateChangeManagerService']))],_0x187e26);var _0x26f73f=Object[_0x5e56c1(0x227)],_0x7fefa5=(_0x3363f1,_0x483b11,_0x2cee8c,_0x594f29)=>{const _0x224477=_0x5e56c1;for(var _0x2f9785=_0x594f29>0x1?void 0x0:_0x594f29?_0x26f73f(_0x483b11,_0x2cee8c):_0x483b11,_0x487ba3=_0x3363f1[_0x224477(0x145)]-0x1,_0x521b8f;_0x487ba3>=0x0;_0x487ba3--)(_0x521b8f=_0x3363f1[_0x487ba3])&&(_0x2f9785=_0x521b8f(_0x2f9785)||_0x2f9785);return _0x2f9785;},_0x3c5657=(_0x3657a9,_0x166d53)=>(_0x217d06,_0x40b5e2)=>_0x166d53(_0x217d06,_0x40b5e2,_0x3657a9);let _0x533c66=class{constructor(_0x3c0282,_0x1de9e6){const _0x57d589=_0x5e56c1;this[_0x57d589(0x35e)]=_0x3c0282,this['_transformService']=_0x1de9e6;}['transformSelections'](_0x531bf2){const _0x3c5a37=_0x5e56c1;var _0x4a5679;const _0x2f9134=this[_0x3c5a37(0x35e)][_0x3c5a37(0x389)](_0xb9f2ee['DocSelectionManagerService']),_0x2ffdec=(_0x4a5679=_0x2f9134[_0x3c5a37(0x327)]())!=null?_0x4a5679:[];if(_0x2ffdec[_0x3c5a37(0x145)]===0x0)return;const _0x2affbc=_0x531bf2[_0x3c5a37(0x239)],_0x395dbe=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2affbc,'actions':null,'textRanges':_0x2ffdec}}],_0x5942aa=this[_0x3c5a37(0x29d)][_0x3c5a37(0x294)](_0x531bf2,_0x395dbe);if(!_0x381ddc['isTransformMutationsWithChangesetSuccess'](_0x5942aa))throw _0x5942aa[_0x3c5a37(0x370)];const _0xf152a3=_0x5942aa['m2Prime'][0x0][_0x3c5a37(0x1f2)][_0x3c5a37(0x2d1)];Array[_0x3c5a37(0x14f)](_0xf152a3)&&_0xf152a3[_0x3c5a37(0x145)]&&_0x2f9134['replaceDocRanges'](_0xf152a3,{'unitId':_0x2affbc,'subUnitId':_0x2affbc},!0x1);}};_0x533c66=_0x7fefa5([_0x3c5657(0x0,_0x2206f3[_0x5e56c1(0x337)](_0x2206f3[_0x5e56c1(0x2ff)])),_0x3c5657(0x1,_0x381ddc[_0x5e56c1(0x1a2)])],_0x533c66);var _0x51ea67=Object['getOwnPropertyDescriptor'],_0xe0b51d=(_0x49ed32,_0x1fbf56,_0x11706c,_0x158a16)=>{const _0x5ef447=_0x5e56c1;for(var _0x2299a3=_0x158a16>0x1?void 0x0:_0x158a16?_0x51ea67(_0x1fbf56,_0x11706c):_0x1fbf56,_0x2a1bbd=_0x49ed32[_0x5ef447(0x145)]-0x1,_0x1698f2;_0x2a1bbd>=0x0;_0x2a1bbd--)(_0x1698f2=_0x49ed32[_0x2a1bbd])&&(_0x2299a3=_0x1698f2(_0x2299a3)||_0x2299a3);return _0x2299a3;},_0x4b7a19=(_0x21e3ce,_0x2a824a)=>(_0x2a1f36,_0x5cea7c)=>_0x2a824a(_0x2a1f36,_0x5cea7c,_0x21e3ce);let _0x46caa1=class extends _0x2206f3['Disposable']{constructor(_0x26c7bb,_0x49b6d1,_0x419632,_0x256690,_0x32575a,_0x3f7126,_0x50ee1a,_0x34a595){const _0x5eaf14=_0x5e56c1;super(),_0x304d03(this,_0x5eaf14(0x23a),new _0x533430[(_0x5eaf14(0x1f1))](_0x1dc3c7['CollaborationStatus']['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x26c7bb,this['_collaborationController']=_0x49b6d1,this[_0x5eaf14(0x2e5)]=_0x419632,this['_docTransformStateCacheService']=_0x256690,this['_docTransformSelectionsService']=_0x32575a,this[_0x5eaf14(0x1cc)]=_0x3f7126,this[_0x5eaf14(0x2ee)]=_0x50ee1a,this[_0x5eaf14(0x152)]=_0x34a595,this[_0x5eaf14(0x17a)]());}[_0x5e56c1(0x17a)](){const _0x1fe58b=_0x5e56c1;this[_0x1fe58b(0x3c2)](this[_0x1fe58b(0x394)][_0x1fe58b(0x191)][_0x1fe58b(0x3a8)](_0x402fbe=>{const _0x2f582c=_0x1fe58b,_0x5af1ed=this[_0x2f582c(0x172)]['docStateChange$'][_0x2f582c(0x3a8)](_0x2a4696=>{const _0x333e8d=_0x2f582c;if(_0x2a4696==null)return;const {unitId:_0x49c0a1,redoState:_0x3b0ca5,commandId:_0x2749b7}=_0x2a4696;if(_0x49c0a1!==_0x402fbe[_0x333e8d(0x239)])return;const _0x3dad8f={'id':_0x2749b7,'type':_0x2206f3[_0x333e8d(0x2ba)][_0x333e8d(0x382)],'params':{'unitId':_0x49c0a1,'actions':_0x3b0ca5[_0x333e8d(0x1cb)],'textRanges':null}};_0x402fbe[_0x333e8d(0x3d7)](_0x3dad8f);});if(_0x402fbe[_0x2f582c(0x3c2)](_0x5af1ed),_0x402fbe instanceof _0x1dc3c7[_0x2f582c(0x1f3)]){const _0x5a4c30={'onTransformIME':_0x45d7ac=>this[_0x2f582c(0x2e5)]['transformIMECache'](_0x45d7ac),'onTransformState':_0x420b83=>this[_0x2f582c(0x2da)][_0x2f582c(0x2e2)](_0x420b83),'onTransformSelections':_0x3d5fa8=>this['_docTransformSelectionsService'][_0x2f582c(0x2a8)](_0x3d5fa8),'onSyncEditingCollabCursor':_0x17e028=>this[_0x2f582c(0x1cc)][_0x2f582c(0x1a7)](_0x17e028),'onTransformRemoteChangesetByIMECache':_0x7a5908=>this[_0x2f582c(0x2e5)][_0x2f582c(0x1b2)](_0x7a5908),'onTransformRemoteChangesetByStateCache':_0x125114=>this[_0x2f582c(0x2da)][_0x2f582c(0x1b2)](_0x125114)};_0x402fbe[_0x2f582c(0x1ff)](_0x5a4c30);}}));}};_0x46caa1=_0xe0b51d([_0x4b7a19(0x0,_0x2206f3[_0x5e56c1(0x337)](_0x54118e[_0x5e56c1(0x2a4)])),_0x4b7a19(0x1,_0x2206f3[_0x5e56c1(0x337)](_0x1dc3c7[_0x5e56c1(0x20d)])),_0x4b7a19(0x2,_0x2206f3[_0x5e56c1(0x337)](_0x554766)),_0x4b7a19(0x3,_0x2206f3['Inject'](_0x187e26)),_0x4b7a19(0x4,_0x2206f3['Inject'](_0x533c66)),_0x4b7a19(0x5,_0x2206f3['Inject'](_0x44be1d)),_0x4b7a19(0x6,_0x31fb36[_0x5e56c1(0x2b6)]),_0x4b7a19(0x7,_0x2206f3[_0x5e56c1(0x337)](_0x2206f3[_0x5e56c1(0x185)]))],_0x46caa1);var _0x2d67a4=Object[_0x5e56c1(0x227)],_0xa5df0c=(_0x2ee543,_0x5749a1,_0xa5b498,_0x2a66c8)=>{for(var _0x2494ec=_0x2a66c8>0x1?void 0x0:_0x2a66c8?_0x2d67a4(_0x5749a1,_0xa5b498):_0x5749a1,_0x94148e=_0x2ee543['length']-0x1,_0x39554c;_0x94148e>=0x0;_0x94148e--)(_0x39554c=_0x2ee543[_0x94148e])&&(_0x2494ec=_0x39554c(_0x2494ec)||_0x2494ec);return _0x2494ec;},_0x266aec=(_0x29640e,_0x48cd3d)=>(_0x30274a,_0x242e1c)=>_0x48cd3d(_0x30274a,_0x242e1c,_0x29640e);let _0x83db15=class extends _0x2206f3[_0x5e56c1(0x1ce)]{constructor(_0x14f9b0,_0x2ecec8,_0xc559e6){const _0xc65046=_0x5e56c1;super(),_0x304d03(this,_0xc65046(0x2fe),new Map()),_0x304d03(this,_0xc65046(0x1c4),new Map()),_0x304d03(this,'_disabled',!0x1),(this[_0xc65046(0x28a)]=_0x14f9b0,this[_0xc65046(0x163)]=_0x2ecec8,this[_0xc65046(0x3a0)]=_0xc559e6);}[_0x5e56c1(0x202)](){const _0x10a239=_0x5e56c1;this[_0x10a239(0x151)]=!0x0;}[_0x5e56c1(0x26a)](){const _0x4e4a6f=_0x5e56c1;this[_0x4e4a6f(0x151)]=!0x1;}get[_0x5e56c1(0x1e6)](){const _0xc37c38=_0x5e56c1;return this[_0xc37c38(0x1c4)];}[_0x5e56c1(0x2ac)](){const _0x5d5550=_0x5e56c1;this[_0x5d5550(0x1b0)]()[_0x5d5550(0x366)](()=>super['dispose']());}async[_0x5e56c1(0x237)](_0x18b8e7){const _0x55338=_0x5e56c1;return this[_0x55338(0x151)]?null:this[_0x55338(0x163)][_0x55338(0x16a)](_0x1dc3c7[_0x55338(0x3ba)](_0x18b8e7));}async[_0x5e56c1(0x3c7)](_0x4e77e5,_0x22a170){const _0x1fb24f=_0x5e56c1;return!!this[_0x1fb24f(0x163)][_0x1fb24f(0x189)](_0x4e77e5,_0x22a170);}['updateOfflineData'](_0x1a5c90,_0x45f1f8,_0x432948,_0xcbd2f7){const _0x222754=_0x5e56c1,_0x35e719=this[_0x222754(0x3a0)][_0x222754(0x287)](_0x1a5c90);this[_0x222754(0x2fe)][_0x222754(0x275)](_0x1a5c90,{'unitID':_0x1a5c90,'type':_0x45f1f8,'awaitingChangeset':_0x432948,'mutations':_0xcbd2f7,'rev':_0x35e719}),this[_0x222754(0x1c4)][_0x222754(0x2dd)](_0x1a5c90)||this[_0x222754(0x1ba)](_0x1a5c90);}[_0x5e56c1(0x1ba)](_0x410111){const _0x2737cd=_0x5e56c1,_0x379f24=this[_0x2737cd(0x2e1)]();_0x379f24===0x0?this[_0x2737cd(0x3bc)](_0x410111):this['_saveTaskMap'][_0x2737cd(0x275)](_0x410111,setTimeout(()=>this[_0x2737cd(0x3bc)](_0x410111),_0x379f24));}[_0x5e56c1(0x2e1)](){const _0x23978a=_0x5e56c1;var _0x359e00;return(_0x359e00=this[_0x23978a(0x28a)][_0x23978a(0x2f5)](_0x1dc3c7[_0x23978a(0x38d)]))!=null?_0x359e00:_0x1dc3c7['LOCAL_CACHE_INTERVAL'];}[_0x5e56c1(0x3bc)](_0x3041e1){const _0x1f48e1=_0x5e56c1,_0xe18c8f=this[_0x1f48e1(0x1c4)][_0x1f48e1(0x389)](_0x3041e1);return _0xe18c8f!==void 0x0&&window['clearTimeout'](_0xe18c8f),this[_0x1f48e1(0x163)][_0x1f48e1(0x189)](_0x1dc3c7['getLocalCacheKey'](_0x3041e1),this[_0x1f48e1(0x2fe)][_0x1f48e1(0x389)](_0x3041e1))['then'](()=>this['_saveTaskMap'][_0x1f48e1(0x270)](_0x3041e1));}async[_0x5e56c1(0x1b0)](){const _0x5aec61=_0x5e56c1,_0x4bf79e=[];this['_saveTaskMap'][_0x5aec61(0x3b4)]((_0x3d1db1,_0x21ca69)=>{const _0x5dca79=_0x5aec61;window[_0x5dca79(0x15a)](_0x3d1db1),_0x4bf79e['push'](this[_0x5dca79(0x3bc)](_0x21ca69)[_0x5dca79(0x366)](()=>{const _0x3127af=_0x5dca79;this[_0x3127af(0x1c4)]['delete'](_0x21ca69);}));}),await Promise[_0x5aec61(0x27c)](_0x4bf79e);}};_0x83db15=_0xa5df0c([_0x266aec(0x0,_0x2206f3[_0x5e56c1(0x30c)]),_0x266aec(0x1,_0x2206f3[_0x5e56c1(0x364)]),_0x266aec(0x2,_0x2206f3[_0x5e56c1(0x337)](_0x381ddc[_0x5e56c1(0x3b8)]))],_0x83db15);class _0x1437e8 extends _0x2206f3[_0x5e56c1(0x29e)]{constructor(){const _0x3e7558=_0x5e56c1;super(),_0x304d03(this,'urlChange$'),this[_0x3e7558(0x1a3)]=_0x533430[_0x3e7558(0x1d3)](window,_0x3e7558(0x32b))[_0x3e7558(0x3d8)](_0x533430[_0x3e7558(0x3cd)](this[_0x3e7558(0x29b)]),_0x533430['shareReplay'](0x1),_0x533430[_0x3e7558(0x381)](void 0x0));}[_0x5e56c1(0x1d0)](_0x47b9dd,_0x3693e2,_0x34ad9e=!0x1){const _0x53131d=_0x5e56c1,_0x1b0db0=new URL(window[_0x53131d(0x160)][_0x53131d(0x1a4)]);_0x1b0db0[_0x53131d(0x17e)][_0x53131d(0x275)](_0x47b9dd,_0x3693e2),_0x34ad9e?window['history'][_0x53131d(0x226)]('','',_0x1b0db0[_0x53131d(0x2bb)]()):window[_0x53131d(0x3b9)][_0x53131d(0x192)]('','',_0x1b0db0[_0x53131d(0x2bb)]());}[_0x5e56c1(0x16e)](_0xaeda18,_0x10b4f3=!0x1){const _0x54de1e=_0x5e56c1,_0x2a2a3f=new URL(window[_0x54de1e(0x160)][_0x54de1e(0x1a4)]);_0x2a2a3f[_0x54de1e(0x17e)]['delete'](_0xaeda18),_0x10b4f3?window[_0x54de1e(0x3b9)][_0x54de1e(0x226)]('','',_0x2a2a3f[_0x54de1e(0x2bb)]()):window[_0x54de1e(0x3b9)][_0x54de1e(0x192)]('','',_0x2a2a3f[_0x54de1e(0x2bb)]());}[_0x5e56c1(0x238)](_0x26aa2e){const _0x3ab7e6=_0x5e56c1;var _0x19656f;return(_0x19656f=new URL(window['location'][_0x3ab7e6(0x1a4)])[_0x3ab7e6(0x17e)][_0x3ab7e6(0x389)](_0x26aa2e))!=null?_0x19656f:void 0x0;}}var _0x490508=Object['defineProperty'],_0x89f15=Object[_0x5e56c1(0x227)],_0x2d57d1=(_0x359da1,_0x4e1552,_0x499a60)=>_0x4e1552 in _0x359da1?_0x490508(_0x359da1,_0x4e1552,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x499a60}):_0x359da1[_0x4e1552]=_0x499a60,_0x5e370e=(_0x2d3691,_0x2ba2b9,_0x5df9e2,_0x51a27f)=>{const _0x2b3c6b=_0x5e56c1;for(var _0x53075a=_0x51a27f>0x1?void 0x0:_0x51a27f?_0x89f15(_0x2ba2b9,_0x5df9e2):_0x2ba2b9,_0x5d719f=_0x2d3691[_0x2b3c6b(0x145)]-0x1,_0x5306e7;_0x5d719f>=0x0;_0x5d719f--)(_0x5306e7=_0x2d3691[_0x5d719f])&&(_0x53075a=_0x5306e7(_0x53075a)||_0x53075a);return _0x53075a;},_0x4fdc34=(_0x37473c,_0x5573ae)=>(_0x1f053b,_0x369ee8)=>_0x5573ae(_0x1f053b,_0x369ee8,_0x37473c),_0x22ccad=(_0x5bf7da,_0x7f711,_0x5c9651)=>_0x2d57d1(_0x5bf7da,_0x7f711+'',_0x5c9651);const _0x12c54a=_0x5e56c1(0x291);_0x24cc35[_0x5e56c1(0x245)]=class extends _0x2206f3[_0x5e56c1(0x278)]{constructor(_0x49e098=_0x4e4c8b,_0x308c4c,_0x40907e,_0x402281){const _0x2eae9a=_0x5e56c1;super(),this[_0x2eae9a(0x3c6)]=_0x49e098,this['_renderManagerService']=_0x308c4c,this[_0x2eae9a(0x35e)]=_0x40907e,this[_0x2eae9a(0x28a)]=_0x402281;const {..._0x549586}=_0x2206f3[_0x2eae9a(0x1b6)]({},_0x4e4c8b,this[_0x2eae9a(0x3c6)]);this[_0x2eae9a(0x28a)][_0x2eae9a(0x37c)](_0x2c36e6,_0x549586);}[_0x5e56c1(0x207)](){const _0x5f1d77=_0x5e56c1;this[_0x5f1d77(0x220)](),this[_0x5f1d77(0x3b2)]();}['onRendered'](){const _0x18f58e=_0x5e56c1;this[_0x18f58e(0x375)]();}[_0x5e56c1(0x220)](){const _0x27c735=_0x5e56c1;var _0x188626;const _0x21dfaa=[[_0x1bfe99],[_0x533c66],[_0x554766],[_0x187e26],[_0x44be1d],[_0x302456,{'useClass':_0x1437e8}],[_0x526f82[_0x27c735(0x225)],{'useClass':_0x526f82[_0x27c735(0x1fa)]}],[_0x1dc3c7[_0x27c735(0x29a)],{'useClass':_0x83db15}],[_0x24cc35[_0x27c735(0x3af)]],[_0x46caa1],[_0x273763],[_0x506acf],[_0x20c3ea],[_0x24cc35[_0x27c735(0x15e)]]];_0x2206f3[_0x27c735(0x2fa)](this[_0x27c735(0x35e)],_0x2206f3[_0x27c735(0x311)](_0x21dfaa,(_0x188626=this[_0x27c735(0x3c6)])==null?void 0x0:_0x188626[_0x27c735(0x1d7)]));}[_0x5e56c1(0x375)](){const _0x394a94=_0x5e56c1;this[_0x394a94(0x3c2)](this[_0x394a94(0x293)][_0x394a94(0x277)](_0x2206f3[_0x394a94(0x3db)][_0x394a94(0x1e3)],[_0x12fbd5])),this[_0x394a94(0x3c2)](this['_renderManagerService'][_0x394a94(0x277)](_0x2206f3[_0x394a94(0x3db)][_0x394a94(0x2d4)],[_0x1dcdd0]));}[_0x5e56c1(0x3b2)](){const _0x453455=_0x5e56c1;_0x2206f3[_0x453455(0x297)](this['_injector'],[[_0x506acf],[_0x24cc35['DesktopCollaborationStatusDisplayController']],[_0x46caa1],[_0x273763],[_0x24cc35[_0x453455(0x15e)]]]);}},_0x22ccad(_0x24cc35['UniverCollaborationClientUIPlugin'],_0x5e56c1(0x2b7),_0x12c54a),_0x24cc35[_0x5e56c1(0x245)]=_0x5e370e([_0x2206f3[_0x5e56c1(0x229)](_0x1dc3c7[_0x5e56c1(0x2f9)]),_0x4fdc34(0x1,_0x5c5ba3['IRenderManagerService']),_0x4fdc34(0x2,_0x2206f3[_0x5e56c1(0x337)](_0x2206f3[_0x5e56c1(0x2ff)])),_0x4fdc34(0x3,_0x2206f3[_0x5e56c1(0x30c)])],_0x24cc35[_0x5e56c1(0x245)]);var _0x3f5fb2=Object[_0x5e56c1(0x227)],_0x215e0a=(_0xa106ba,_0x52eae1,_0x33c5ea,_0x27ff26)=>{for(var _0x4859f6=_0x27ff26>0x1?void 0x0:_0x27ff26?_0x3f5fb2(_0x52eae1,_0x33c5ea):_0x52eae1,_0x703efb=_0xa106ba['length']-0x1,_0x47a992;_0x703efb>=0x0;_0x703efb--)(_0x47a992=_0xa106ba[_0x703efb])&&(_0x4859f6=_0x47a992(_0x4859f6)||_0x4859f6);return _0x4859f6;},_0x3b232d=(_0x1067f1,_0x26ce22)=>(_0x2976cc,_0x2e0fce)=>_0x26ce22(_0x2976cc,_0x2e0fce,_0x1067f1);_0x24cc35[_0x5e56c1(0x1f8)]=class extends _0x1dc3c7[_0x5e56c1(0x1da)]{constructor(_0x2776b0,_0x573b42,_0x44fb10,_0x163c38,_0x3a9b16){super(_0x2776b0,_0x573b42,_0x44fb10,_0x163c38,_0x3a9b16);}async[_0x5e56c1(0x1e7)](_0x5d76d7){const _0x81cee7=_0x5e56c1,_0x56c112=await this[_0x81cee7(0x1e4)](),_0x554c33=this[_0x81cee7(0x336)](_0x5d76d7,_0x56c112);return this[_0x81cee7(0x284)](_0x554c33);}[_0x5e56c1(0x336)](_0x48e7e1,_0x56cb2d){const _0x4b1cff=_0x5e56c1,_0x1702fc=typeof window>'u'?new URL(_0x48e7e1):new URL(_0x48e7e1,window[_0x4b1cff(0x160)]['origin']);_0x1702fc[_0x4b1cff(0x17e)]['set']('sessionTicket',_0x56cb2d);const _0x1665fb=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4b1cff(0x160)][_0x4b1cff(0x179)]);return _0x1665fb[_0x4b1cff(0x389)](_0x4b1cff(0x14e))&&_0x1702fc['searchParams'][_0x4b1cff(0x275)](_0x4b1cff(0x14e),_0x1665fb[_0x4b1cff(0x389)](_0x4b1cff(0x14e))),_0x1702fc[_0x4b1cff(0x2bb)]();}async[_0x5e56c1(0x1e4)](){const _0x44b3a0=_0x5e56c1;var _0x48872d,_0x263502,_0xf81f7c;const _0x521b92=this[_0x44b3a0(0x28a)][_0x44b3a0(0x2f5)](_0x1dc3c7[_0x44b3a0(0x21b)]),_0x55d503=(_0x48872d=_0x521b92==null?void 0x0:_0x521b92[_0x44b3a0(0x233)])!=null?_0x48872d:_0x1dc3c7[_0x44b3a0(0x247)];return(_0xf81f7c=(_0x263502=(await this[_0x44b3a0(0x2e0)]['get'](_0x55d503,{'headers':{'Content-Type':_0x44b3a0(0x1c6)}}))[_0x44b3a0(0x159)])==null?void 0x0:_0x263502['ticket'])!=null?_0xf81f7c:'';}},_0x24cc35[_0x5e56c1(0x1f8)]=_0x215e0a([_0x3b232d(0x0,_0x2206f3['Inject'](_0x2206f3[_0x5e56c1(0x2ff)])),_0x3b232d(0x1,_0x2206f3['Inject'](_0x526f82['HTTPService'])),_0x3b232d(0x2,_0x2206f3[_0x5e56c1(0x30c)]),_0x3b232d(0x3,_0x2206f3['ILogService']),_0x3b232d(0x4,_0x381ddc['ISnapshotServerService'])],_0x24cc35[_0x5e56c1(0x1f8)]);const _0x5dbab1=0x7530,_0x2019cc=_0x5e56c1(0x285);class _0x34f5e9 extends _0x2206f3[_0x5e56c1(0x1ce)]{constructor(){const _0x5b5501=_0x5e56c1;super(),_0x304d03(this,_0x5b5501(0x2d6),_0x2206f3[_0x5b5501(0x36f)]()),_0x304d03(this,_0x5b5501(0x323),new Set()),_0x304d03(this,_0x5b5501(0x1ac),new Map()),_0x304d03(this,'_heartbeatTimer',null),_0x304d03(this,'_clearOtherTimers',new Map()),_0x304d03(this,_0x5b5501(0x363),new Map()),this[_0x5b5501(0x3c4)]();}[_0x5e56c1(0x2ac)](){const _0xdf0101=_0x5e56c1;super['dispose'](),this[_0xdf0101(0x23c)][_0xdf0101(0x3b4)]((_0x5e7de5,_0x18d1ea)=>this[_0xdf0101(0x386)](_0x18d1ea)),this[_0xdf0101(0x35a)]&&window[_0xdf0101(0x2b4)](this[_0xdf0101(0x35a)]);}[_0x5e56c1(0x174)](_0x11a3ec){const _0x4a6901=_0x5e56c1;return this[_0x4a6901(0x1c5)](_0x11a3ec)['pipe'](_0x533430[_0x4a6901(0x251)]());}[_0x5e56c1(0x34f)](_0x3860ff){const _0x1be234=_0x5e56c1;this['_selfUnitIDs'][_0x1be234(0x25f)]===0x0&&this[_0x1be234(0x320)](),this[_0x1be234(0x323)][_0x1be234(0x201)](_0x3860ff),this[_0x1be234(0x2d0)]({'type':0x0,'memberID':this[_0x1be234(0x2d6)],'unitIDs':[_0x3860ff],'isForwarded':!0x1});}[_0x5e56c1(0x397)](_0x5e4710){const _0x20a183=_0x5e56c1;this[_0x20a183(0x323)]['delete'](_0x5e4710),this['_selfUnitIDs'][_0x20a183(0x25f)]===0x0&&this[_0x20a183(0x35a)]&&window[_0x20a183(0x2b4)](this[_0x20a183(0x35a)]);}[_0x5e56c1(0x3c4)](){const _0x1e4238=_0x5e56c1;this[_0x1e4238(0x3c2)](_0x2206f3[_0x1e4238(0x29f)](_0x533430[_0x1e4238(0x1d3)](window,_0x1e4238(0x3ad))[_0x1e4238(0x3a8)](_0x4a70a9=>{const _0x2dd52e=_0x1e4238;if(_0x4a70a9[_0x2dd52e(0x234)]!==_0x2019cc||!_0x4a70a9['newValue'])return;const _0x4267c7=JSON['parse'](_0x4a70a9[_0x2dd52e(0x2c8)]);this[_0x2dd52e(0x184)](_0x4267c7);}))),window[_0x1e4238(0x1ef)](_0x1e4238(0x2f6),()=>this['_send']({'type':0x1,'memberID':this[_0x1e4238(0x2d6)],'unitIDs':Array['from'](this[_0x1e4238(0x323)])}));}[_0x5e56c1(0x184)](_0x4b3700){const _0x4c96e1=_0x5e56c1;switch(_0x4b3700['type']){case 0x0:this[_0x4c96e1(0x15c)](_0x4b3700);break;case 0x1:this[_0x4c96e1(0x1a9)](_0x4b3700);break;case 0x2:this[_0x4c96e1(0x243)](_0x4b3700);break;}}[_0x5e56c1(0x15c)](_0xd6ee04){const _0x33dcde=_0x5e56c1,{unitIDs:_0x943207,memberID:_0x1bc1d4,isForwarded:_0x3131e6}=_0xd6ee04;_0x943207[_0x33dcde(0x3b4)](_0x480411=>{const _0x3d301b=_0x33dcde;if(!_0x3131e6&&this['_unitOnClients'][_0x3d301b(0x2dd)](_0x480411)&&this[_0x3d301b(0x1c5)](_0x480411)[_0x3d301b(0x17c)](_0x1dc3c7[_0x3d301b(0x1d5)][_0x3d301b(0x2bd)]),!this[_0x3d301b(0x1ac)]['has'](_0x480411)||!this['_unitOnClients']['get'](_0x480411)[_0x3d301b(0x2dd)](_0x1bc1d4)){const _0x3cdb4c=this[_0x3d301b(0x1ac)][_0x3d301b(0x389)](_0x480411)||new Set();_0x3cdb4c[_0x3d301b(0x201)](_0x1bc1d4),this[_0x3d301b(0x1ac)][_0x3d301b(0x275)](_0x480411,_0x3cdb4c),this[_0x3d301b(0x193)](_0x1bc1d4);}}),_0x3131e6||this[_0x33dcde(0x2d0)]({'type':0x0,'memberID':this[_0x33dcde(0x2d6)],'unitIDs':[...this[_0x33dcde(0x323)]],'isForwarded':!0x0});}[_0x5e56c1(0x193)](_0x4157d3){const _0x397a94=_0x5e56c1;this[_0x397a94(0x386)](_0x4157d3);const _0x2c1d9a=window['setTimeout'](()=>{const _0x22bff9=_0x397a94;this[_0x22bff9(0x1ac)][_0x22bff9(0x3b4)](_0x28c993=>{const _0x4b9608=_0x22bff9;_0x28c993[_0x4b9608(0x270)](_0x4157d3);});},_0x5dbab1*0x2);this['_clearOtherTimers']['set'](_0x4157d3,_0x2c1d9a);}['_removeClearOtherTimer'](_0x1bbc43){const _0x509bc0=_0x5e56c1;if(this[_0x509bc0(0x23c)][_0x509bc0(0x2dd)](_0x1bbc43)){const _0x13e024=this[_0x509bc0(0x23c)][_0x509bc0(0x389)](_0x1bbc43);_0x13e024&&window[_0x509bc0(0x15a)](_0x13e024),this['_clearOtherTimers'][_0x509bc0(0x275)](_0x1bbc43,null);}}[_0x5e56c1(0x1a9)](_0x113e42){const _0x435128=_0x5e56c1,{memberID:_0x45479b,unitIDs:_0x475606}=_0x113e42;_0x475606['forEach'](_0x48d24e=>{const _0x88f376=_0x4106;var _0x3f5415;const _0x43d227=this['_unitOnClients'][_0x88f376(0x389)](_0x48d24e);_0x43d227&&(_0x43d227[_0x88f376(0x270)](_0x45479b),(_0x3f5415=this[_0x88f376(0x1c5)](_0x48d24e))==null||_0x3f5415['next'](_0x43d227[_0x88f376(0x25f)]===0x0?_0x1dc3c7[_0x88f376(0x1d5)]['NO_OTHER_CLIENTS_EDITING']:_0x1dc3c7[_0x88f376(0x1d5)][_0x88f376(0x2bd)]));}),this[_0x435128(0x386)](_0x45479b);}[_0x5e56c1(0x243)](_0x2942e8){const _0xf9cc72=_0x5e56c1;this['_scheduleClearOtherTimer'](_0x2942e8[_0xf9cc72(0x283)]);}['_send'](_0x27a621){const _0x1b70ba=_0x5e56c1;localStorage[_0x1b70ba(0x189)](_0x2019cc,JSON[_0x1b70ba(0x371)](_0x27a621));}[_0x5e56c1(0x320)](){const _0x5c371e=_0x5e56c1;this['_heartbeatTimer']=window[_0x5c371e(0x3d9)](()=>{const _0x33aa17=_0x5c371e;this['_send']({'type':0x2,'memberID':this[_0x33aa17(0x2d6)]});},_0x5dbab1);}[_0x5e56c1(0x1c5)](_0x40ecee){const _0x3aba75=_0x5e56c1;return this[_0x3aba75(0x363)][_0x3aba75(0x2dd)](_0x40ecee)||this[_0x3aba75(0x363)]['set'](_0x40ecee,new _0x533430['BehaviorSubject'](_0x1dc3c7[_0x3aba75(0x1d5)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x3aba75(0x363)][_0x3aba75(0x389)](_0x40ecee);}}var _0x1ea7f0=(_0x4adaff=>(_0x4adaff[_0x4adaff[_0x5e56c1(0x304)]=0x0]=_0x5e56c1(0x304),_0x4adaff[_0x4adaff['OK']=0x1]='OK',_0x4adaff[_0x4adaff[_0x5e56c1(0x1bb)]=0x2]=_0x5e56c1(0x1bb),_0x4adaff[_0x4adaff[_0x5e56c1(0x27a)]=0x3]='PERMISSION_DENIED',_0x4adaff[_0x4adaff[_0x5e56c1(0x263)]=0x4]='NOT_FOUND',_0x4adaff[_0x4adaff[_0x5e56c1(0x182)]=0x5]=_0x5e56c1(0x182),_0x4adaff[_0x4adaff['ALREADY_EXISTS']=0x6]=_0x5e56c1(0x2f4),_0x4adaff[_0x4adaff['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x4adaff[_0x4adaff[_0x5e56c1(0x194)]=0x8]=_0x5e56c1(0x194),_0x4adaff[_0x4adaff[_0x5e56c1(0x290)]=0x9]=_0x5e56c1(0x290),_0x4adaff[_0x4adaff[_0x5e56c1(0x197)]=0xa]='LOGIN_FAILED',_0x4adaff[_0x4adaff[_0x5e56c1(0x146)]=0x1389]=_0x5e56c1(0x146),_0x4adaff[_0x4adaff[_0x5e56c1(0x2cc)]=0x1771]=_0x5e56c1(0x2cc),_0x4adaff[_0x4adaff[_0x5e56c1(0x302)]=0x1772]=_0x5e56c1(0x302),_0x4adaff[_0x4adaff[_0x5e56c1(0x326)]=0x1773]=_0x5e56c1(0x326),_0x4adaff[_0x4adaff[_0x5e56c1(0x232)]=0x1b59]=_0x5e56c1(0x232),_0x4adaff[_0x4adaff[_0x5e56c1(0x1bd)]=0x1b5a]=_0x5e56c1(0x1bd),_0x4adaff[_0x4adaff[_0x5e56c1(0x1fd)]=0x1b5b]=_0x5e56c1(0x1fd),_0x4adaff[_0x4adaff[_0x5e56c1(0x345)]=0x1b5c]=_0x5e56c1(0x345),_0x4adaff[_0x4adaff[_0x5e56c1(0x265)]=0x1b5d]=_0x5e56c1(0x265),_0x4adaff[_0x4adaff['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4adaff[_0x4adaff['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x5e56c1(0x166),_0x4adaff[_0x4adaff[_0x5e56c1(0x31d)]=0x232a]=_0x5e56c1(0x31d),_0x4adaff[_0x4adaff[_0x5e56c1(0x2b8)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4adaff[_0x4adaff[_0x5e56c1(0x230)]=0x232c]=_0x5e56c1(0x230),_0x4adaff[_0x4adaff['LICENSE_DISTRO_REJECTED']=0x232d]=_0x5e56c1(0x2f3),_0x4adaff[_0x4adaff['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x4adaff[_0x4adaff[_0x5e56c1(0x27b)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4adaff[_0x4adaff[_0x5e56c1(0x30f)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4adaff[_0x4adaff[_0x5e56c1(0x372)]=0x2714]=_0x5e56c1(0x372),_0x4adaff[_0x4adaff['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x5e56c1(0x331),_0x4adaff[_0x4adaff[_0x5e56c1(0x219)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x4adaff[_0x4adaff[_0x5e56c1(0x286)]=0x2ee2]=_0x5e56c1(0x286),_0x4adaff[_0x4adaff[_0x5e56c1(0x3d6)]=0x2ee3]=_0x5e56c1(0x3d6),_0x4adaff[_0x4adaff[_0x5e56c1(0x358)]=0x2ee4]=_0x5e56c1(0x358),_0x4adaff[_0x4adaff[_0x5e56c1(0x391)]=0x2ee5]=_0x5e56c1(0x391),_0x4adaff[_0x4adaff[_0x5e56c1(0x18a)]=-0x1]=_0x5e56c1(0x18a),_0x4adaff))(_0x1ea7f0||{}),_0x3717cf=Object[_0x5e56c1(0x227)],_0x3be4d0=(_0x43682e,_0x42d44b,_0x400e29,_0x50e74c)=>{const _0x4bae93=_0x5e56c1;for(var _0x5e6cdf=_0x50e74c>0x1?void 0x0:_0x50e74c?_0x3717cf(_0x42d44b,_0x400e29):_0x42d44b,_0x136f95=_0x43682e[_0x4bae93(0x145)]-0x1,_0x111195;_0x136f95>=0x0;_0x136f95--)(_0x111195=_0x43682e[_0x136f95])&&(_0x5e6cdf=_0x111195(_0x5e6cdf)||_0x5e6cdf);return _0x5e6cdf;},_0x1bc893=(_0xef7849,_0x4b4d9f)=>(_0x514393,_0x1b2842)=>_0x4b4d9f(_0x514393,_0x1b2842,_0xef7849);_0x24cc35['RemoteUniscriptService']=class extends _0x2206f3[_0x5e56c1(0x1ce)]{constructor(_0x66e227,_0x2a57b5,_0x222ed5){const _0x177102=_0x5e56c1;super(),this[_0x177102(0x1c3)]=_0x66e227,this['_httpService']=_0x2a57b5,this[_0x177102(0x28a)]=_0x222ed5;}async[_0x5e56c1(0x3d0)](_0x1afd29,_0x2dd001,_0x386c24,..._0x594eee){const _0x25e750=_0x5e56c1;var _0x4a7e84,_0x270570,_0x17ed30,_0x2299dc;const _0x40cd14=this['_instanceService']['getFocusedUnit']();if(!_0x40cd14)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x14d2a0=((_0x4a7e84=this[_0x25e750(0x28a)]['getConfig'](_0x1dc3c7[_0x25e750(0x35c)]))!=null?_0x4a7e84:_0x1dc3c7[_0x25e750(0x31a)])+'/'+_0x1afd29+'/run/'+_0x2dd001,_0x48939d=new URL(window[_0x25e750(0x160)]['href']),_0x1526cb={'scriptId':_0x1afd29,'runId':(_0x270570=_0x48939d[_0x25e750(0x17e)][_0x25e750(0x389)]('runId'))!=null?_0x270570:'','function':_0x2dd001,'unitId':_0x40cd14[_0x25e750(0x296)](),'argsOfFunction':JSON[_0x25e750(0x371)](_0x594eee),'invokeId':(_0x17ed30=_0x386c24['invokeId'])!=null?_0x17ed30:'','executionId':(_0x2299dc=_0x386c24[_0x25e750(0x2cb)])!=null?_0x2299dc:''};try{const _0x2cffe2=await this[_0x25e750(0x2e0)][_0x25e750(0x188)](_0x14d2a0,{'body':_0x1526cb});return _0x2cffe2['body'][_0x25e750(0x370)]&&_0x2cffe2['body']['error'][_0x25e750(0x359)]!==_0x1ea7f0['OK']?_0x25e750(0x3da):_0x2cffe2[_0x25e750(0x159)][_0x25e750(0x196)];}catch{return'Failed';}}},_0x24cc35[_0x5e56c1(0x1a0)]=_0x3be4d0([_0x1bc893(0x0,_0x2206f3['IUniverInstanceService']),_0x1bc893(0x1,_0x2206f3['Inject'](_0x526f82[_0x5e56c1(0x3a2)])),_0x1bc893(0x2,_0x2206f3[_0x5e56c1(0x30c)])],_0x24cc35[_0x5e56c1(0x1a0)]),_0x24cc35['CollaborationStatusDisplay']=_0x9c312,_0x24cc35[_0x5e56c1(0x1ab)]=_0x302456,_0x24cc35[_0x5e56c1(0x3b0)]=_0x1edb37,_0x24cc35[_0x5e56c1(0x3a1)]=_0x34f5e9,_0x24cc35[_0x5e56c1(0x18d)]=_0x1437e8,Object[_0x5e56c1(0x1e9)](_0x24cc35,Symbol[_0x5e56c1(0x22a)],{'value':_0x5e56c1(0x1c1)});}));function _0x4106(_0x1f33da,_0x1453a3){const _0x53be5f=_0x53be();return _0x4106=function(_0x4106c8,_0xf10db2){_0x4106c8=_0x4106c8-0x143;let _0x3ef444=_0x53be5f[_0x4106c8];return _0x3ef444;},_0x4106(_0x1f33da,_0x1453a3);}function _0x53be(){const _0x5d4ad0=['SetTextSelectionsOperation','delete','HEADER_MENU','getCurrentSelections','univerjs-icon\x20univerjs-icon-','_cursors','set','_context','registerRenderModule','Plugin','string','PERMISSION_DENIED','YUUMI_URL_COL_OUT_OF_RANGE','all','setActiveRange','_transformHistoryAndStateStack','registerComponent','session.collaboration-timeout','restore','imageSourceType','memberID','_doCreateSocket','ACTIVE_UNIT_EVENT_CHANNEL','INVALID_INVITE_CODE','getCurrentRevOfUnit','_getSheetObject','Shape','_configService','random','roomMembers$','SHEET_VIEWPORT_KEY','purple300','collabStatus.conflict','COMPLETION_FINISHED','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','prototype','_renderManagerService','transformMutationsWithChangeset','redoState','getUnitId','touchDependencies','UniverRpc','_startDocCollabCursor','ILocalCacheService','dispose$','xlink:href','_transformService','RxDisposable','toDisposable','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_hovered','evenodd','_color','DocStateChangeManagerService','isTransformMutationFailure','70BrpyHK','PENDING','transformSelections','combineLatest','black','CollaborationStatus','dispose','toRgbString','reconnect','transformByState','OffLineSingle','332MKymQI','collaboration-client-ui.config','forwardRef','clearInterval','_getScale','IMessageService','pluginName','LICENSE_IMPORT_SIZE_EXCEEDED','InsertRangeMoveRightCommandId','CommandType','toString','486CgVOJj','OTHER_CLIENTS_EDITING','from','path','symbol','_syncEditingCollabCursorService','asObservable','_removeCollabCursors','getMergeData','8342323EtymKU','_collabCursorController','_hover','newValue','_onCursorUpdate','NodePositionConvertToRectRange','executionId','SNAPSHOT_INVALID_SNAPSHOT','createInstance','displayName','UniverUi','_send','textRanges','_commandService','[CollaborationDataLoaderController]','UNIVER_SHEET','online','_id','fillRule','flatMap','getOwnPropertySymbols','_docTransformStateCacheService','_labelPosition','AWAITING_WITH_PENDING','has','_shapes','call','_httpService','_getSaveTimeout','transformStateCache','SessionStatus','onTransformChange$','_docTransformIMECacheService','_colorAssignService','some','SUBMIT_CHANGESET_TIMEOUT','getSheetObject','UniverDocs','requireSession','USERS_LEAVE','UniverIcon','_messageService','getTypeOfUnitDisposed$','_roomMembers$','_lastPointer','getCollabCursors$','LICENSE_DISTRO_REJECTED','ALREADY_EXISTS','getConfig','unload','beginPath','getVpScrollXYInfoByPosToVp','UniverCollaborationClientPlugin','registerDependencies','init','_refreshCollabCursors','handleInsertRow','_cachedData','Injector','RefRangeService','SetWorksheetActivateCommand','SNAPSHOT_HAS_BEEN_REMOVED','registerRefRange','UNDEFINED','endColumn','includes','findNodePositionByCharIndex','replace','_updateSubUnitFromURLParams','collabCursorState$','eventID','IConfigService','data','InsertRangeMoveDownCommandId','YUUMI_RATE_OVER_LIMIT','jiqing500','mergeOverrideWithDependencies','_docSkeletonManagerService','getSheetId','UniverSheets','getAncestorScale','sessionStatus$','Optional','handleMoveRange','NOT_COLLAB','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','unit','_session','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ILogService','@univerjs-pro/collaboration','_scheduleHeartbeat','save','IRenderManagerService','_selfUnitIDs','_anchorDot','complete','ENSURE_SNAPSHOT_EXECUTION','getDocRanges','Subject','IRemoteInstanceService','fill','popstate','_collabCursorState$','getSheetBySheetId','IUniverInstanceService','current','@univerjs/sheets','PY_RUNTIME_SCRIPT_ERROR','_transformPreviousActiveRange','_handleHover','source','_colorIndex','_createSocketURL','Inject','_refRangeService','use','univer-offline','name','verdancy600','UniverProCollaboration','getViewport','_initResize','onlineStatusTitle','IUIPartsService','children','_toggleOnline','unshift','APPLY_PERMISSION_DENIED','_getMergeRange','lineTo','m1Prime','Error','onlineStatus','show','defIds','useObservable','univer-online','editingUnit','undoState','_cursorInfo$','div','debounceTime','DeleteRangeMoveUpCommandId','MoveRangeCommandId','_collaborationUIEventService','_initStatusComponent','USER_NOT_INVITED_CODE','code','_heartbeatTimer','makeDirty','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','@univerjs-pro/collaboration-client','_injector','672120RuAZbe','DocIMEInputManagerService','text','_range','_unitStatus','ILocalStorageService','isTransformMutationsWithChangesetSuccess','then','runRefRangeMutations','object','serializeRangeWithSheet','off-line-single','@univerjs/engine-formula','react/jsx-runtime','gold400','4kYUYQM','generateRandomId','error','stringify','YUUMI_SUBSCRIPTION_NOT_FOUND','range','_initCommandExecutedListener','_registerRenderDependencies','_render','_cursorShapes','debug','url(#on-line-single_clip0_910_349)','icon','UniverProCollaborationClient','setConfig','width','unitId','values','InsertColCommandId','mapTo','MUTATION','univer-flex\x20univer-items-center','...','_entityInit$','_removeClearOtherTimer','colorChannel1','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','get','ColorKit','_name','handleInsertCol','LOCAL_CACHE_INTERVAL_KEY','font','drawWith','triggerDblclick','INVITE_CODE_ALREADY_BOUND','mutations','MessageType','_collaborationController','bottom','labelPosition','disposeUnit','push','884984cwBdgj','onPointerEnter$','BuiltInUIPart','_urlService','transformMutation','activeSheet$','m2Prime','_revisionService','WebBrowserSingleActiveUnitService','HTTPService','CollaborationUIEventService','SetDocZoomRatioOperation','CollaborationEvent','6939850nLJVmI','collaboration.closeRoom','subscribe','switchMap','doc.mutation.rich-text-editing','getActiveSheet','getFocusedUnit','storage','startsWith','DesktopCollaborationStatusDisplayController','SheetCollabCursorShape','min','_initDependencies','RemoveColCommandId','forEach','round','send','Workbook','RevisionService','history','getLocalCacheKey','_drawTextRange','_saveCache','CONFLICT','sheetId','exports','setStateCache','_setupBeforeClosingHandler','disposeWithMe','_entities','_init','getOffsetConfig','_config','saveOfflineData','measureText','_uiPartsService','@univerjs/design','Tools','SOCKET_FAILED','takeUntil','_startSheetCollabCursor','ranges','runOnServer','collabStatus.fetchMiss','color','unsubscribe','clsx','collaboration-client.offline-data-not-saved','INVITE_CODE_REQUIRED','onLocalMutation','pipe','setInterval','Failed','UniverInstanceType','throttleTime','univer-online-status-title','permission.title','addClipboardHook','entries','clipPath','endRow','length','CHANGESET_REVISION_CONFILICT','@univerjs/sheets-ui','sheetID','operators','SYNCED','react','getMemberID','function','runId','isArray','offline','_disabled','_localeService','UniverDrawing','onPointerLeave$','_updateCollabCursors','session.connection-failed','_backgroundColor','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','body','clearTimeout','find','_handleJoinEvent','getCellPositionByOffset','CollaborationDataLoaderController','cursorInfo$','location','uni.network.url-service','@univerjs/core','_localStorageService','rxjs/operators','map','LICENSE_MAX_UNITS_EXCEEDED','CollaborationSessionService','1em','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','getItem','Rect','subunit','1791459kJfcxK','removeParam','currentTheme$','getTypeOfUnitAdded$','hovered','_docStateChangeManagerService','engine','getUnitStatus$','AWAITING','@univerjs/docs','_cursor','on-line-single','search','_initEntityListener','createElement','next','_sheetSkeletonManagerService','searchParams','onPointerMove$','getUniverSheetInstance','className','UNAUTHENTICATED','split','_handleEvent','LocaleService','fillStyle','DocSelectionManagerService','post','setItem','UNRECOGNIZED','_document','_dataLoaderService','WebURLService','24HldRBH','_hideTimer','UniverEngineFormula','entityInit$','pushState','_scheduleClearOtherTimer','TOO_MANY_REQUESTS','_eventUnsubscribe','result','LOGIN_FAILED','SheetsSelectionsService','getCurrent','Warning','M0\x200H16V16H0z','getRelativeToViewportCoord','#FFF','getMember','top','RemoteUniscriptService','DOC_RANGE_TYPE','ITransformService','urlChange$','href','UniverNetwork','_online','syncEditingCollabCursor','ThemeService','_handleLeaveEvent','getUnhiddenWorksheets','IURLService','_unitOnClients','_onCursorDelete','onCommandExecuted','UniverCore','exhaustSavingTask','COLORS','transformRemoteChangeset','INotificationService','collabStatus.offline','rxjs','merge','_docClipboardService','_setupSubUnitSync','@univerjs/ui','_scheduleSaving','INTERNAL_ERROR','assign','APPLY_NON_SEQUENTIAL_REVISION','moveTo','_memberService','substring','Module','_initEvent','_instanceService','_saveTaskMap','_ensureSubject','application/json','VIEW_MAIN','resize','_drawRectRange','useDependency','actions','_docSyncEditingCollabCursorService','collabStatus.synced','Disposable','defs','setParam','_logService','setShapeProps','fromEvent','_univerInstanceService','UnitStatus','EffectRefRangId','override','_toggleOffline','connectInjector','CollaborationSocketService','TEXT','_textBubble','isEditing','UniverDocsUi','on-line-single_clip0_910_349','@univerjs/drawing','SOCKET_FAILED_RETRY','blue400','UNIVER_DOC','_getSessionTicket','_notificationService','saveTaskMap','createSocket','IImageIoService','defineProperty','with','jsx','_anchor','idSuffix','column','addEventListener','hide','BehaviorSubject','params','DocCollaborationEntity','OTHER_CLIENT_EDITING','filter','_drawAnchor','collabStatus.syncing','BrowserCollaborationSocketService','_initStatusListener','WebSocketService','getColor','collab-client.tooltip.reconnect','APPLY_REVISION_CONFILICT','UniverEngineRender','addHandlerCallback','TRANSFORM_CHANGE_OBSERVABLE_TYPE','add','disableLocalCache','RichTextEditingMutation','#fff','arc','addObject','onStarting','setUndoRedoMutationParamsCache','TEXT_RANGE_LAYER_INDEX','row','getSkeleton','SetSelectionsOperation','CollaborationController','extend','fillText','_localCacheService','11835zlBjTm','_themeService','subscribeEvent','NodePositionConvertToCursor','_assignedColors','_docSkeleton','none','getValue','INVITE_CODE_HAS_BEEN_UES','getUndoRedoMutationParamsCache','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','tag','_getAnchorBounding','off-line-single_clip0_910_343','RegularPolygon','_registerDependencies','UPDATE_CURSOR','mask','type','url(#off-line-single_clip0_910_343)','ISocketService','replaceState','getOwnPropertyDescriptor','onMouseMove','DependentOn','toStringTag','@univerjs/network','assignAColorForMemberID','_onRefRangeChange','debounce','RECT','LICENSE_EXPORT_SIZE_EXCEEDED','Tooltip','APPLY_REJECT','wsSessionTicketUrl','key','React','getRenderById','loadOfflineData','getParam','unitID','_status$','cursorInfo','_clearOtherTimers','getCollabEntity$','translate(.97)','DocSkeletonManagerService','_collabSessionService','event$','UniverDesign','_handleHeartbeatEvent','closePath','UniverCollaborationClientUIPlugin','@univerjs/engine-render','DEFAULT_WS_SESSION_TICKET_URL','registerBeforeClose','CollaborationUIEventId','attrs','_updateURLWithCurrentState','CLOSE_ROOM','_updateLocalCursor','37499BbDjht','height','Unknown\x20user','distinctUntilChanged','concat','_scene','session.will-retry','roomMembers','useRef','getCoordByCell','getStateCache','deepClone','max','SheetSkeletonManagerService','_beforeCloseService','ICommandService','handleIRemoveCol','size','permission.content','rgba(255,\x20255,\x20255,\x200.01)','onlineStatusIcon','NOT_FOUND','handleInsertRangeMoveRight','APPLY_DUPLICATED','getCurrentUnitForType','IDocClipboardService','propertyIsEnumerable','svg','enableLocalCache','selection','red300','startColumn','RemoveRowCommandId'];_0x53be=function(){return _0x5d4ad0;};return _0x53be();}
|
|
1
|
+
function _0x3686(){const _0xe78a26=['cursorInfo$','APPLY_REVISION_CONFILICT','evenodd','LOCAL_CACHE_INTERVAL_KEY','MemberService','handleInsertRangeMoveDown','DeleteRangeMoveUpCommandId','icon','createElement','IUniverInstanceService','SNAPSHOT_HAS_BEEN_REMOVED','subUnitId','toString','SheetCollabCursorShape','BrowserCollaborationSocketService','getLocalCacheKey','ACTIVE_UNIT_EVENT_CHANNEL','0\x200\x2017\x2016','AWAITING_WITH_PENDING','saveImage','_collaborationUIEventService','fillRule','getVpScrollXYInfoByPosToVp','_configService','apply','UniverEngineRender','disableLocalCache','collab-client.tooltip.reconnect','with','ColorKit','push','handleDeleteRangeMoveUp','getUnitStatus$','activeSheet$','PENDING','UnitStatus','displayName','_startSheetCollabCursor','addObject','unit','_docSkeleton','registerComponent','closePath','getActiveSheet','38792irogAg','INVITE_CODE_ALREADY_BOUND','addEventListener','ALREADY_EXISTS','_name','NOT_COLLAB','substring','from','UniverSheetsUi','doc.mutation.rich-text-editing','collabStatus.synced','univer-online','undoState','idSuffix','getRenderById','_onRefRangeChange','clearTimeout','_config','RemoveRowCommandId','isActive','IURLService','getSheetBySheetId','onMouseMove','resize','use','_shapes','Workbook','getCollabEntity$','online','_online','USER_NOT_INVITED_CODE','_getAnchorBounding','has','_commandService','JOIN_ROOM_FAILED','_cursorShapes','DocSelectionManagerService','takeUntil','OnLineSingle','row','source','jiqing500','urlChange$','_document','SNAPSHOT_INVALID_SNAPSHOT','_entities','object','7DufSlD','DocIMEInputManagerService','IRemoteInstanceService','CLOSE_ROOM','SetDocZoomRatioOperation','_initDependencies','off-line-single','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','hovered','values','Tools','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','SHEET_VIEWPORT_KEY','LICENSE_DISTRO_REJECTED','invokeId','CollaborationController','getItem','useRef','getCollabCursors$','NO_OTHER_CLIENTS_EDITING','offline','_revisionService','onCommandExecuted','getAncestorScale','children','_localStorageService','m1Prime','setUndoRedoMutationParamsCache','react','_id','amd','OFFLINE','InsertRangeMoveRightCommandId','UniverNetwork','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','m2Prime','assignAColorForMemberID','_transformService','collabStatus.fetchMiss','_unitStatus','getUnitId','INVALID_INVITE_CODE','red300','_collabCursorController','data','_updateLocalCursor','_draw','UniverDocsUi','MUTATION','prototype','@univerjs/sheets','UniverCollaborationClientUIPlugin','_hovered','debug','YUUMI_UNABLE_LOAD_URL','_anchor','getUnhiddenWorksheets','NodePositionConvertToCursor','BehaviorSubject','send','PY_RUNTIME_SCRIPT_ERROR','_assignedColors','UniverCollaborationClientPlugin','BuiltInUIPart','_collabCursorState$','bottom','forEach','INVALID_ARGUMENT','set','top','generateRandomId','SheetsSelectionsService','init','deepClone','_ensureSubject','sessionStatus$','runOnServer','dispose$','beginPath','_heartbeatTimer','isTransformMutationsWithChangesetSuccess','_labelPosition','currentTheme$','_collabSessionService','@univerjs/core','UniverRpc','runId','ILocalStorageService','asObservable','collaboration.single-unit.warning','@univerjs/docs','CollaborationDataLoaderController','SUBMIT_CHANGESET_TIMEOUT','6420681KPgFiu','subscribe','_cursors','then','RemoteUniscriptService','body','handleInsertCol','onStarting','gold400','function','_handleJoinEvent','_clearOtherTimers','collabStatus.syncing','RxDisposable','_textBubble','INTERNAL_ERROR','_initStatusComponent','UPDATE_CURSOR','OffLineSingle','registerRefRange','setParam','_handleHeartbeatEvent','#fff','RevisionService','hide','CONNECTOR_DATA_TOO_LARGE','lineTo','IRenderManagerService','transform','svg','[RemoteUniscriptService]:\x20no\x20focused\x20unit','path','IConfigService','newValue','debounceTime','getCurrent','HEADER_MENU','CollaborationEvent','...','disposeWithMe','univer-offline','_syncEditingCollabCursorService','ILocalCacheService','15390260hlxiZv','DataLoaderService','getUniverSheetInstance','univer-online-status-icon','rxjs','href','UniverUi','complete','fromEventSubject','Vector2','setInterval','docStateChange$','_createSocketURL','_hideTimer','_color','type','_anchorDot','UNAUTHENTICATED','some','_backgroundColor','sheetId','memberID','univer-flex\x20univer-items-center','RemoveColCommandId','[CollaborationDataLoaderController]','tag','uni.network.url-service','jsxs','RefRangeService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_localeService','transformRemoteChangeset','DependentOn','getCurrentUnitForType','IMessageService','dispose','INVITE_CODE_HAS_BEEN_UES','UniverDocs','_uiPartsService','startRow','useObservable','registerRenderModule','SessionStatus','LICENSE_IMPORT_SIZE_EXCEEDED','LICENSE_MAX_UNITS_EXCEEDED','CONFLICT','actions','getOwnPropertySymbols','_colorAssignService','restore','MoveRangeCommandId','createInstance','shareReplay','createIdentifier','_docTransformSelectionsService','session.will-retry','labelPosition','_render','rgba(255,\x20255,\x20255,\x200.01)','operators','_updateCollabCursors','_urlService','15ZNtarn','collabCursorState$','runRefRangeMutations','_status$','HTTPService','arc','/run/','height','collabStatus.offline','attrs','off-line-single_clip0_910_343','findNodePositionByCharIndex','setActiveRange','_scheduleSaving','save','_range','_setupBeforeClosingHandler','_removeClearOtherTimer','CHANGESET_REVISION_CONFILICT','@univerjs/engine-formula','combineLatest','UniverCore','MessageType','UniverProCollaborationClientUi','_docClipboardService','getOffsetConfig','random','_drawAnchor','eventID','getTypeOfUnitAdded$','blue400','className','textRanges','registerBeforeClose','pipe','getValue','storage','collabStatus.conflict','UniverInstanceType','imageSourceType','201164nmLcEK','SetWorksheetActivateCommand','ITransformService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_getSheetObject','UNRECOGNIZED','startColumn','loadUnit','map','merge','_selfUnitIDs','_updateSubUnitFromURLParams','mask','DesktopCollaborationStatusDisplayController','Rect','onPointerLeave$','application/json','assign','reconnect','RichTextEditingMutation','_hover','isEditing','max','ICommandService','concat','useCallback','_onCursorDelete','focused$','WebURLService','getColor','parse','call','CollaborationSessionService','transformByState','roomMembers','unitID','flatMap','column','_removeCollabCursors','onRendered','_eventUnsubscribe','Plugin','_getMergeRange','pushState','UNIVER_DOC','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','APPLY_PERMISSION_DENIED','removeParam','location','_beforeCloseService','executeCommand','getSheetId','APPLY_NON_SEQUENTIAL_REVISION','translate(.97)','currentColor','UniverProCollaborationClient','permission.content','_drawRectRange','RegularPolygon','@univerjs/engine-render','session.collaboration-timeout','_registerRenderDependencies','_cachedData','useDependency','setTimeout','entityInit$','_docSkeletonManagerService','_docTransformIMECacheService','_univerInstanceService','code','defIds','text','collaboration.closeRoom','Tooltip','onLocalMutation','includes','INVITE_CODE_REQUIRED','backgroundColor','get','CollaborationSocketService','setShapeProps','handleDeleteRangeMoveLeft','TEXT','SetSelectionsOperation','PERMISSION_DENIED','_drawTextRange','ranges','subunit','contains','search','xlink:href','_transformPreviousActiveRange','touchDependencies','_registerDependencies','DeleteRangeMoveLeftCommandId','onTransformChange$','_sheetSkeletonManagerService','YUUMI_SUBSCRIPTION_NOT_FOUND','on-line-single_clip0_910_349','CollaborationStatusDisplay','_cursorInfo$','isArray','name','USERS_LEAVE','error','debounce','_imageIoService','handleInsertRow','@univerjs-pro/collaboration-client','Shape','YUUMI_URL_COL_OUT_OF_RANGE','_send','params','_messageService','engine','_themeService','toRgbString','black','univer-online-status','UNIVER_SHEET','round','_localCacheService','1em','_memberService','drawWith','forwardRef','getRangePointData','_scheduleHeartbeat','ILogService','string','_collaborationController','clsx','extend','_scene','propertyIsEnumerable','switchMap','_handleEvent','React','Warning','@univerjs/docs-ui','delete','_dataLoaderService','indexOf','WebSocketService','endColumn','_saveTaskMap','size','AWAITING','InsertRangeMoveDownCommandId','_logService','filter','font','split','TOO_MANY_REQUESTS','FromArray','connectInjector','measureText','editingUnit','3598482gQFqFV','getFocusedUnit','onPointerEnter$','TEXT_RANGE_LAYER_INDEX','url(#off-line-single_clip0_910_343)','redoState','_unitOnClients','#FFF','popstate','_docSyncEditingCollabCursorService','toDisposable','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','whenReady','syncEditingCollabCursor','add','clearInterval','UNDEFINED','_init','getDocRanges','_refreshCollabCursors','@univerjs/design','_saveCache','18qvGkvx','_instanceService','Error','registerDependencies','LOGIN_FAILED','SOCKET_FAILED_RETRY','OTHER_CLIENTS_EDITING','_setupSubUnitSync','_renderManagerService','LOCAL_CACHE_INTERVAL','_lastPointer','override','_transformHistoryAndStateStack','LocaleService','length','getMergeData','colorChannel1','VIEW_MAIN','exhaustSavingTask','DocStateChangeManagerService','find','_disabled','startsWith','trim','_session','status$','ISocketService','getRelativeToViewportCoord','DEFAULT_WS_SESSION_TICKET_URL','onlineStatus','SOCKET_FAILED','_cursor','_initCommandExecutedListener','unshift','getOwnPropertyDescriptor','unsubscribe','_getSessionTicket','CollaborationUIEventService','Inject','getUndoRedoMutationParamsCache','Injector','_toggleOnline','_initStatusListener','serializeRangeWithSheet','mutations','UniverIcon','DOC_RANGE_TYPE','getSkeleton','@univerjs/sheets-ui','width','cursorInfo','EffectRefRangId','_toggleOffline','_doCreateSocket','ISnapshotServerService','OTHER_CLIENT_EDITING','Unknown\x20user','onPointerMove$','_httpService','origin','CommandType','@univerjs-pro/collaboration','replaceDocRanges','collaboration-client-ui.config','M0\x200H16V16H0z','unitId','getConfig','_injector','UniverEngineFormula','IImageIoService','pluginName','_onCursorUpdate','Subject','IUIPartsService','replace','createSocket','_docStateChangeManagerService','handleMoveRange','getMemberID','clipPath','_updateURLWithCurrentState','getSheetObject','isTransformMutationFailure','jsx','@univerjs/network','min','_colorIndex','subscribeEvent','_handleLeaveEvent','mapTo','react/jsx-runtime','wsSessionTicketUrl','post','getStateCache','transformSelections','_notificationService','defs','DocSkeletonManagerService','symbol','exports','range','currentSkeleton$','fillText','executionId','rxjs/operators','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','COMPLETION_FINISHED','APPLY_DUPLICATED','Failed','setStateCache','YUUMI_RATE_OVER_LIMIT','history','setAlpha','getCurrentRevOfUnit','transformMutationsWithChangeset','url(#$1','makeDirty','sheetID','onlineStatusTitle','UniverProCollaboration','CollaborationStatus','show','Optional','APPLY_REJECT','_roomMembers$','_entityInit$','fill','_handleHover','saveTaskMap','_initEvent','div','ENSURE_SNAPSHOT_EXECUTION','roomMembers$','@univerjs/drawing','event$','transformIMECache','getCellPositionByOffset','selection','_refRangeService','defineProperty','_transformUndoRedoStack','loadOfflineData','addHandlerCallback','getParam','collab-text-anchor-','Disposable','FETCH_MISS','setItem','getTypeOfUnitDisposed$','CollaborationUIEventId','next','key','_docTransformStateCacheService','COLORS','_context','@univerjs/ui','handleInsertRangeMoveRight','1764690AJzycV','collaboration-client.offline-data-not-saved','fillStyle','_scheduleClearOtherTimer','transformMutation','31672EvLKXz','color','searchParams','replaceState','LICENSE_EXPORT_SIZE_EXCEEDED'];_0x3686=function(){return _0xe78a26;};return _0x3686();}function _0x1918(_0xde7e88,_0x3f9779){const _0x3686fa=_0x3686();return _0x1918=function(_0x191870,_0x2ebf6c){_0x191870=_0x191870-0x163;let _0x3d78f2=_0x3686fa[_0x191870];return _0x3d78f2;},_0x1918(_0xde7e88,_0x3f9779);}(function(_0x3ae7c9,_0x3b6c03){const _0x3b776=_0x1918,_0x5a316b=_0x3ae7c9();while(!![]){try{const _0x49b39a=-parseInt(_0x3b776(0x184))/0x1*(-parseInt(_0x3b776(0x226))/0x2)+-parseInt(_0x3b776(0x34c))/0x3*(-parseInt(_0x3b776(0x374))/0x4)+-parseInt(_0x3b776(0x221))/0x5+-parseInt(_0x3b776(0x16e))/0x6+-parseInt(_0x3b776(0x286))/0x7*(-parseInt(_0x3b776(0x257))/0x8)+-parseInt(_0x3b776(0x2e3))/0x9+parseInt(_0x3b776(0x30e))/0xa;if(_0x49b39a===_0x3b6c03)break;else _0x5a316b['push'](_0x5a316b['shift']());}catch(_0x508d7a){_0x5a316b['push'](_0x5a316b['shift']());}}}(_0x3686,0x6524c),function(_0x5d2b3e,_0x15c209){const _0x6bf676=_0x1918;typeof exports==_0x6bf676(0x285)&&typeof module<'u'?_0x15c209(exports,require(_0x6bf676(0x3e0)),require(_0x6bf676(0x2da)),require(_0x6bf676(0x3af)),require(_0x6bf676(0x1d8)),require(_0x6bf676(0x3ff)),require('@univerjs/drawing'),require(_0x6bf676(0x312)),require('@univerjs/docs'),require(_0x6bf676(0x1c1)),require(_0x6bf676(0x35f)),require(_0x6bf676(0x2b8)),require(_0x6bf676(0x1ec)),require(_0x6bf676(0x1b4)),require(_0x6bf676(0x1de)),require(_0x6bf676(0x21f)),require('@univerjs/design'),require(_0x6bf676(0x2a2)),require('@univerjs/rpc')):typeof define==_0x6bf676(0x2ec)&&define[_0x6bf676(0x2a4)]?define([_0x6bf676(0x1e7),'@univerjs-pro/collaboration-client',_0x6bf676(0x2da),_0x6bf676(0x3af),_0x6bf676(0x1d8),_0x6bf676(0x3ff),_0x6bf676(0x209),_0x6bf676(0x312),_0x6bf676(0x2e0),'@univerjs-pro/collaboration',_0x6bf676(0x35f),_0x6bf676(0x2b8),_0x6bf676(0x1ec),_0x6bf676(0x1b4),_0x6bf676(0x1de),'@univerjs/ui',_0x6bf676(0x182),_0x6bf676(0x2a2),'@univerjs/rpc'],_0x15c209):(_0x5d2b3e=typeof globalThis<'u'?globalThis:_0x5d2b3e||self,_0x15c209(_0x5d2b3e[_0x6bf676(0x363)]={},_0x5d2b3e[_0x6bf676(0x3ab)],_0x5d2b3e[_0x6bf676(0x361)],_0x5d2b3e[_0x6bf676(0x244)],_0x5d2b3e[_0x6bf676(0x2a7)],_0x5d2b3e[_0x6bf676(0x2b5)],_0x5d2b3e['UniverDrawing'],_0x5d2b3e[_0x6bf676(0x312)],_0x5d2b3e[_0x6bf676(0x333)],_0x5d2b3e[_0x6bf676(0x1fb)],_0x5d2b3e[_0x6bf676(0x1c8)],_0x5d2b3e['UniverSheets'],_0x5d2b3e[_0x6bf676(0x312)][_0x6bf676(0x349)],_0x5d2b3e[_0x6bf676(0x25f)],_0x5d2b3e['React'],_0x5d2b3e[_0x6bf676(0x314)],_0x5d2b3e['UniverDesign'],_0x5d2b3e[_0x6bf676(0x3fd)],_0x5d2b3e[_0x6bf676(0x2db)]));}(this,function(_0x2adcf9,_0x40df25,_0x4e503f,_0x29ef04,_0x44e6bc,_0x6a13cb,_0x4177f2,_0x403441,_0x1837ce,_0x314491,_0x5a5b47,_0x2d0709,_0x560b5d,_0x3c7d29,_0x7eceac,_0x4dfbf7,_0x6e013f,_0x5b5177,_0x53410d){'use strict';const _0x56a808=_0x1918;var _0x236ef5=Object[_0x56a808(0x20f)],_0xe50774=(_0x357c02,_0x292234,_0x33f0fa)=>_0x292234 in _0x357c02?_0x236ef5(_0x357c02,_0x292234,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33f0fa}):_0x357c02[_0x292234]=_0x33f0fa,_0x5ea1d6=(_0x36017e,_0x228419,_0x4316d4)=>_0xe50774(_0x36017e,typeof _0x228419!=_0x56a808(0x1e6)?_0x228419+'':_0x228419,_0x4316d4),_0x5f0637=Object[_0x56a808(0x1a6)],_0x586a76=(_0x12284f,_0x1329b8,_0x43f1df,_0x1774d8)=>{for(var _0x1b76d8=_0x1774d8>0x1?void 0x0:_0x1774d8?_0x5f0637(_0x1329b8,_0x43f1df):_0x1329b8,_0xa79dc4=_0x12284f['length']-0x1,_0x55d32f;_0xa79dc4>=0x0;_0xa79dc4--)(_0x55d32f=_0x12284f[_0xa79dc4])&&(_0x1b76d8=_0x55d32f(_0x1b76d8)||_0x1b76d8);return _0x1b76d8;},_0xc3d47d=(_0x13f85d,_0x1433a2)=>(_0x13def8,_0xdcb50e)=>_0x1433a2(_0x13def8,_0xdcb50e,_0x13f85d);let _0x217cc1=class extends _0x4e503f[_0x56a808(0x2f0)]{constructor(_0x2cf752,_0x33eb5c){const _0x1ac7e1=_0x56a808;super(),this[_0x1ac7e1(0x364)]=_0x2cf752,this[_0x1ac7e1(0x3de)]=_0x33eb5c,this[_0x1ac7e1(0x17f)]();}[_0x56a808(0x17f)](){const _0x28e6ef=_0x56a808,_0x5e7129=this;this[_0x28e6ef(0x30a)](this[_0x28e6ef(0x364)]['addClipboardHook']({'onBeforePasteImage':async _0x152cee=>{const _0x2efd39=_0x28e6ef,_0x794b96=await _0x5e7129[_0x2efd39(0x3de)][_0x2efd39(0x23e)](_0x152cee);return _0x794b96?{'source':_0x794b96[_0x2efd39(0x27f)],'imageSourceType':_0x794b96[_0x2efd39(0x373)]}:null;}}));}};_0x217cc1=_0x586a76([_0xc3d47d(0x0,_0x6a13cb['IDocClipboardService']),_0xc3d47d(0x1,_0x4177f2[_0x56a808(0x1c9)])],_0x217cc1);const _0x2c150c=['purple300',_0x56a808(0x280),'verdancy600',_0x56a808(0x2b0),_0x56a808(0x36a),_0x56a808(0x2eb)];class _0x5cb836 extends _0x4e503f[_0x56a808(0x215)]{constructor(){const _0x4f5b1d=_0x56a808;super(...arguments),_0x5ea1d6(this,_0x4f5b1d(0x2c3),new Map()),_0x5ea1d6(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x48dcd0){const _0x3c3f61=_0x56a808;if(this[_0x3c3f61(0x2c3)]['has'](_0x48dcd0))return this[_0x3c3f61(0x2c3)][_0x3c3f61(0x3c2)](_0x48dcd0);const _0x5f0057=_0x2c150c[this[_0x3c3f61(0x1da)]];return this['_colorIndex']=(this[_0x3c3f61(0x1da)]+0x1)%_0x2c150c[_0x3c3f61(0x192)],this[_0x3c3f61(0x2c3)][_0x3c3f61(0x2ca)](_0x48dcd0,_0x5f0057),_0x5f0057;}}function _0x4c50e4(_0x26046c){const _0x4a51f4=_0x56a808;let _0x1bcb69='';for(const _0x31dc81 of _0x26046c){const {startOffset:_0x35b0b5,endOffset:_0x1ad56d,isActive:_0x181ab8,rangeType:_0x2c9126,segmentId:_0x457d27,segmentPage:_0xd85e61}=_0x31dc81;_0x1bcb69[_0x4a51f4(0x192)]&&(_0x1bcb69+=','),_0x1bcb69+=_0x35b0b5+':'+_0x1ad56d+':'+(_0x181ab8?'1':'0')+':'+_0x2c9126+':'+_0x457d27+':'+_0xd85e61;}return _0x1bcb69;}function _0x1cc59e(_0x299225){const _0x23a714=_0x56a808,_0x23f801=_0x299225[_0x23a714(0x168)](','),_0x4e8632=[];for(const _0x488f61 of _0x23f801){const [_0x4061bb,_0x39999a,_0x1388c0,_0x5c3a62,_0x3f2f6e,_0x5c1908]=_0x488f61['split'](':');_0x4e8632[_0x23a714(0x249)]({'startOffset':Number(_0x4061bb),'endOffset':Number(_0x39999a),'collapsed':_0x4061bb===_0x39999a,'isActive':_0x1388c0==='1','rangeType':_0x5c3a62===_0x4e503f[_0x23a714(0x1b2)][_0x23a714(0x3c6)]?_0x4e503f[_0x23a714(0x1b2)][_0x23a714(0x3c6)]:_0x4e503f['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x3f2f6e=='string'?String(_0x3f2f6e):'','segmentPage':Number(_0x5c1908!=null?_0x5c1908:-0x1)});}return _0x4e8632[_0x23a714(0x320)](_0x3dda7e=>_0x3dda7e['isActive'])||(_0x4e8632[0x0][_0x23a714(0x26a)]=!0x0),_0x4e8632;}class _0x569d4e extends _0x4e503f[_0x56a808(0x2f0)]{constructor(){const _0x5e19da=_0x56a808;super(...arguments),_0x5ea1d6(this,_0x5e19da(0x2c6),new _0x403441[(_0x5e19da(0x2c0))](null)),_0x5ea1d6(this,_0x5e19da(0x34d),this[_0x5e19da(0x2c6)][_0x5e19da(0x2de)]());}['syncEditingCollabCursor'](_0x36ebc4){const _0x253899=_0x56a808,{unitID:_0x55ad96,memberID:_0x3e7f0f,textRanges:_0x12d9e9}=_0x36ebc4,_0x55a11c=_0x4c50e4(_0x12d9e9);if(_0x55a11c==='')return;const _0x472278={'unitID':_0x55ad96,'memberID':_0x3e7f0f,'selection':_0x55a11c};this[_0x253899(0x2c6)][_0x253899(0x21a)](_0x472278);}}var _0x122b92=Object[_0x56a808(0x1a6)],_0x32da45=(_0x212ccc,_0x2e3a0b,_0x4df001,_0x145f5c)=>{const _0x13856f=_0x56a808;for(var _0x59b84c=_0x145f5c>0x1?void 0x0:_0x145f5c?_0x122b92(_0x2e3a0b,_0x4df001):_0x2e3a0b,_0x17e595=_0x212ccc[_0x13856f(0x192)]-0x1,_0xcf56;_0x17e595>=0x0;_0x17e595--)(_0xcf56=_0x212ccc[_0x17e595])&&(_0x59b84c=_0xcf56(_0x59b84c)||_0x59b84c);return _0x59b84c;},_0x13f2e1=(_0x4274a6,_0x129ce1)=>(_0x4451dd,_0x10445d)=>_0x129ce1(_0x4451dd,_0x10445d,_0x4274a6);const _0x4eac87=0x12c,_0xd6a72c=0x64;let _0x13e789=class extends _0x4e503f[_0x56a808(0x2f0)]{constructor(_0x1154be,_0x533040,_0x23ccf1,_0xae7f98,_0x1b9649,_0x2da31f,_0x2e10a3,_0x400139,_0x280b1b){const _0x34a468=_0x56a808;super(),_0x5ea1d6(this,_0x34a468(0x274),!0x1),_0x5ea1d6(this,'_init',!0x1),_0x5ea1d6(this,_0x34a468(0x3d8),new _0x403441[(_0x34a468(0x2c0))](new Map())),_0x5ea1d6(this,_0x34a468(0x22b),this[_0x34a468(0x3d8)][_0x34a468(0x2de)]()),_0x5ea1d6(this,_0x34a468(0x200),new _0x403441['BehaviorSubject']([])),_0x5ea1d6(this,_0x34a468(0x208),this[_0x34a468(0x200)]['pipe'](_0x403441[_0x34a468(0x305)](_0x4eac87))),_0x5ea1d6(this,_0x34a468(0x2b3),_0x4e503f[_0x34a468(0x3dd)](_0x2ecf64=>{const _0x2b34bc=_0x34a468,_0x9be7a0={'eventID':_0x314491['CollaborationEvent'][_0x2b34bc(0x2f4)],'data':{'unitID':this[_0x2b34bc(0x397)],'memberID':this[_0x2b34bc(0x19c)][_0x2b34bc(0x1d2)](),'selection':_0x4c50e4(_0x2ecf64)}};this['_session'][_0x2b34bc(0x2c1)](_0x9be7a0,this['unitID']);},_0xd6a72c)),(this[_0x34a468(0x397)]=_0x1154be,this['_session']=_0x533040,this[_0x34a468(0x1c7)]=_0x23ccf1,this[_0x34a468(0x33e)]=_0xae7f98,this['_memberService']=_0x1b9649,this[_0x34a468(0x30c)]=_0x2da31f,this[_0x34a468(0x2ab)]=_0x2e10a3,this['_univerInstanceService']=_0x400139,this[_0x34a468(0x278)]=_0x280b1b);}get[_0x56a808(0x1b6)](){const _0x45afdc=_0x56a808;return this['_cursorInfo$'][_0x45afdc(0x36f)]();}get[_0x56a808(0x396)](){const _0x5aa908=_0x56a808;return this[_0x5aa908(0x200)][_0x5aa908(0x36f)]();}[_0x56a808(0x331)](){const _0x168168=_0x56a808;super[_0x168168(0x331)](),this[_0x168168(0x3d8)][_0x168168(0x21a)](new Map()),this['_cursorInfo$'][_0x168168(0x315)](),this[_0x168168(0x200)][_0x168168(0x21a)]([]),this['_roomMembers$'][_0x168168(0x315)]();}['init'](){const _0x2e6123=_0x56a808;this['_init']||(this[_0x2e6123(0x17f)]=!0x0,this['_session'][_0x2e6123(0x2d1)][_0x2e6123(0x36e)](_0x403441[_0x2e6123(0x27c)](this['dispose$']))['subscribe'](_0x397dc1=>{const _0x51ed62=_0x2e6123;_0x397dc1===_0x40df25['SessionStatus']['ONLINE']?this[_0x51ed62(0x1ad)]():this['_toggleOffline']();}),this[_0x2e6123(0x19c)]['event$'][_0x2e6123(0x36e)](_0x403441['takeUntil'](this[_0x2e6123(0x2d3)]))[_0x2e6123(0x2e4)](_0x19f1d7=>{const _0x2221f5=_0x2e6123,_0x41be15=_0x19f1d7[_0x2221f5(0x368)];_0x41be15===_0x314491[_0x2221f5(0x308)][_0x2221f5(0x2f4)]&&this[_0x2221f5(0x1cb)](_0x19f1d7),_0x41be15===_0x314491[_0x2221f5(0x308)][_0x2221f5(0x3db)]&&this[_0x2221f5(0x38e)](_0x19f1d7);}),this['disposeWithMe'](this[_0x2e6123(0x278)][_0x2e6123(0x29c)](_0x5357e7=>{const _0x5b043=_0x2e6123,_0xd3e3b1=_0x5357e7[_0x5b043(0x3e4)];_0xd3e3b1!=null&&this[_0x5b043(0x274)]&&_0x5357e7['id']===_0x1837ce['SetTextSelectionsOperation']['id']&&_0xd3e3b1[_0x5b043(0x1c5)]===this[_0x5b043(0x397)]&&_0xd3e3b1[_0x5b043(0x389)]===!0x1&&_0xd3e3b1[_0x5b043(0x3ca)][_0x5b043(0x192)]>0x0&&this[_0x5b043(0x2b3)](_0xd3e3b1[_0x5b043(0x3ca)]);})),this[_0x2e6123(0x30c)]['collabCursorState$']['pipe'](_0x403441[_0x2e6123(0x27c)](this[_0x2e6123(0x2d3)]))['subscribe'](_0x2333eb=>{const _0x5b44e0=_0x2e6123;if((_0x2333eb==null?void 0x0:_0x2333eb['unitID'])!==this[_0x5b44e0(0x397)])return;const _0x2bbaa5={'eventID':_0x314491[_0x5b44e0(0x308)][_0x5b44e0(0x2f4)],'data':_0x2333eb};this[_0x5b44e0(0x1cb)](_0x2bbaa5);}),this['disposeWithMe'](this[_0x2e6123(0x278)][_0x2e6123(0x29c)](_0x5b0183=>{const _0x1062f2=_0x2e6123;if(_0x5b0183[_0x1062f2(0x3e4)]==null)return;const _0x473d11=_0x5b0183[_0x1062f2(0x3e4)];if(_0x5b0183['id']!==_0x1837ce[_0x1062f2(0x387)]['id']||_0x473d11[_0x1062f2(0x1c5)]!==this[_0x1062f2(0x397)])return;const _0x154e80={'id':_0x1062f2(0x260),'params':_0x473d11},_0x44f029=this['cursorInfo'];for(const [_0xff6029,_0xc79c84]of _0x44f029){const _0xd29202={'id':_0x1062f2(0x260),'params':{'unitId':this[_0x1062f2(0x397)],'actions':null,'textRanges':_0xc79c84[_0x1062f2(0x3ca)]}},_0x2b492f=this['_transformService'][_0x1062f2(0x225)](_0x154e80,_0xd29202,!0x1);if(_0x314491[_0x1062f2(0x1d6)](_0x2b492f))throw _0x2b492f['error'];_0x44f029[_0x1062f2(0x2ca)](_0xff6029,{..._0xc79c84,'ranges':_0x2b492f[_0x1062f2(0x2a9)][_0x1062f2(0x3e4)][_0x1062f2(0x36c)]});}queueMicrotask(()=>{const _0x1966e5=_0x1062f2;this[_0x1966e5(0x3d8)][_0x1966e5(0x21a)](_0x44f029);});})));}['_onCursorUpdate'](_0x1d98a2){const _0x19fef8=_0x56a808;var _0x4cc2c2,_0x2d4411;const {memberID:_0x468a5d,selection:_0x465605}=_0x1d98a2[_0x19fef8(0x2b2)],_0x3aeae4=_0x1cc59e(_0x465605),_0x1e7a2e=(_0x2d4411=(_0x4cc2c2=this[_0x19fef8(0x3ef)]['getMember'](this[_0x19fef8(0x397)],_0x468a5d))==null?void 0x0:_0x4cc2c2[_0x19fef8(0x3da)])!=null?_0x2d4411:'Unknown\x20user',_0x3766ea={'color':this[_0x19fef8(0x33e)][_0x19fef8(0x2aa)](_0x468a5d),'name':_0x1e7a2e,'ranges':_0x3aeae4},_0x50f2a6=this[_0x19fef8(0x1b6)];_0x50f2a6['set'](_0x468a5d,_0x3766ea),this[_0x19fef8(0x3d8)]['next'](_0x50f2a6);}[_0x56a808(0x38e)](_0x537a2a){const _0x1faed7=_0x56a808,{memberID:_0x3017df}=_0x537a2a[_0x1faed7(0x2b2)],_0x3d54e4=this[_0x1faed7(0x1b6)];_0x3d54e4[_0x1faed7(0x400)](_0x3017df),this[_0x1faed7(0x3d8)][_0x1faed7(0x21a)](_0x3d54e4);}[_0x56a808(0x1ad)](){const _0x4f6657=_0x56a808;var _0x21f733;if(this[_0x4f6657(0x274)]=!0x0,((_0x21f733=this[_0x4f6657(0x3b8)][_0x4f6657(0x16f)]())==null?void 0x0:_0x21f733[_0x4f6657(0x2ae)]())!==this[_0x4f6657(0x397)])return;const _0x560a3c=this['_injector']['get'](_0x1837ce[_0x4f6657(0x27b)])[_0x4f6657(0x180)]();Array[_0x4f6657(0x3d9)](_0x560a3c)&&_0x560a3c[_0x4f6657(0x192)]>0x0&&this[_0x4f6657(0x2b3)](_0x560a3c);}[_0x56a808(0x1b8)](){this['_online']=!0x1;}};_0x13e789=_0x32da45([_0x13f2e1(0x2,_0x4e503f[_0x56a808(0x1aa)](_0x4e503f[_0x56a808(0x1ac)])),_0x13f2e1(0x3,_0x4e503f[_0x56a808(0x1aa)](_0x5cb836)),_0x13f2e1(0x4,_0x4e503f[_0x56a808(0x1aa)](_0x40df25[_0x56a808(0x22f)])),_0x13f2e1(0x5,_0x4e503f[_0x56a808(0x1aa)](_0x569d4e)),_0x13f2e1(0x6,_0x314491[_0x56a808(0x376)]),_0x13f2e1(0x7,_0x4e503f[_0x56a808(0x234)]),_0x13f2e1(0x8,_0x4e503f[_0x56a808(0x38b)])],_0x13e789);var _0x357d8e=Object[_0x56a808(0x1a6)],_0x59589c=(_0xc12c8f,_0x5ce8ba,_0x1b567a,_0x5c7b0f)=>{const _0x8097a3=_0x56a808;for(var _0x3ceb3d=_0x5c7b0f>0x1?void 0x0:_0x5c7b0f?_0x357d8e(_0x5ce8ba,_0x1b567a):_0x5ce8ba,_0x19764d=_0xc12c8f[_0x8097a3(0x192)]-0x1,_0x350ab6;_0x19764d>=0x0;_0x19764d--)(_0x350ab6=_0xc12c8f[_0x19764d])&&(_0x3ceb3d=_0x350ab6(_0x3ceb3d)||_0x3ceb3d);return _0x3ceb3d;},_0x51093f=(_0x417dc9,_0x38c7fc)=>(_0x56071,_0x57f1ba)=>_0x38c7fc(_0x56071,_0x57f1ba,_0x417dc9);const _0x51cbae=0x12c,_0x19f6a2=0x64,_0x1987fe=()=>{let _0x304320=[],_0x3fd638=!0x1;return _0x46e1d0=>{const _0x46c2d1=_0x1918;_0x304320[_0x46c2d1(0x249)](_0x46e1d0),_0x3fd638||(_0x3fd638=!0x0,setTimeout(()=>{const _0x49d48b=_0x46c2d1;_0x304320[_0x49d48b(0x2c8)](_0x51d6e3=>_0x51d6e3()),_0x304320=[],_0x3fd638=!0x1;}));};};let _0x37c7bb=class extends _0x4e503f['RxDisposable']{constructor(_0xb145e8,_0x2fa094,_0x250394,_0x25cbad,_0x5dfed1,_0x2137cd,_0x4650d5,_0xfb7b4a){const _0x45d10b=_0x56a808;super(),_0x5ea1d6(this,_0x45d10b(0x274),!0x1),_0x5ea1d6(this,_0x45d10b(0x17f),!0x1),_0x5ea1d6(this,'_cursorInfo$',new _0x403441[(_0x45d10b(0x2c0))](new Map())),_0x5ea1d6(this,_0x45d10b(0x22b),this['_cursorInfo$'][_0x45d10b(0x2de)]()),_0x5ea1d6(this,'_roomMembers$',new _0x403441[(_0x45d10b(0x2c0))]([])),_0x5ea1d6(this,_0x45d10b(0x208),this['_roomMembers$']['pipe'](_0x403441[_0x45d10b(0x305)](_0x51cbae))),_0x5ea1d6(this,'_updateLocalCursor',_0x4e503f[_0x45d10b(0x3dd)]((_0x4c4e6c,_0x1f005c)=>{const _0x59cab3=_0x45d10b,_0x33a1a7={'eventID':_0x314491[_0x59cab3(0x308)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x59cab3(0x19c)][_0x59cab3(0x1d2)](),'selection':_0x5a5b47[_0x59cab3(0x1af)](_0x4c4e6c,_0x1f005c[_0x59cab3(0x1e8)])}};this[_0x59cab3(0x19c)][_0x59cab3(0x2c1)](_0x33a1a7,this[_0x59cab3(0x397)]);},_0x19f6a2)),(this[_0x45d10b(0x397)]=_0xb145e8,this[_0x45d10b(0x19c)]=_0x2fa094,this[_0x45d10b(0x1c7)]=_0x250394,this['_colorAssignService']=_0x25cbad,this[_0x45d10b(0x3ef)]=_0x5dfed1,this[_0x45d10b(0x3b8)]=_0x2137cd,this['_commandService']=_0x4650d5,this['_refRangeService']=_0xfb7b4a);}get[_0x56a808(0x1b6)](){const _0x2103c5=_0x56a808;return this[_0x2103c5(0x3d8)]['getValue']();}get[_0x56a808(0x396)](){const _0x120bc7=_0x56a808;return this[_0x120bc7(0x200)][_0x120bc7(0x36f)]();}['dispose'](){const _0x462f5e=_0x56a808;super[_0x462f5e(0x331)](),this[_0x462f5e(0x3d8)][_0x462f5e(0x21a)](new Map()),this[_0x462f5e(0x3d8)]['complete'](),this[_0x462f5e(0x200)][_0x462f5e(0x21a)]([]),this[_0x462f5e(0x200)]['complete']();}[_0x56a808(0x2ce)](){const _0x3cf2eb=_0x56a808;this[_0x3cf2eb(0x17f)]||(this[_0x3cf2eb(0x17f)]=!0x0,this['_session'][_0x3cf2eb(0x2d1)]['pipe'](_0x403441[_0x3cf2eb(0x27c)](this['dispose$']))[_0x3cf2eb(0x2e4)](_0x142cbe=>{const _0xf9024d=_0x3cf2eb;_0x142cbe===_0x40df25[_0xf9024d(0x338)]['ONLINE']?this[_0xf9024d(0x1ad)]():this['_toggleOffline']();}),this['_session'][_0x3cf2eb(0x20a)][_0x3cf2eb(0x36e)](_0x403441[_0x3cf2eb(0x27c)](this['dispose$']))[_0x3cf2eb(0x2e4)](_0x48f171=>{const _0x20e39e=_0x3cf2eb,_0xaba14f=_0x48f171[_0x20e39e(0x368)];_0xaba14f===_0x314491['CollaborationEvent'][_0x20e39e(0x2f4)]&&this[_0x20e39e(0x1cb)](_0x48f171),_0xaba14f===_0x314491[_0x20e39e(0x308)]['USERS_LEAVE']&&this[_0x20e39e(0x38e)](_0x48f171);}),this[_0x3cf2eb(0x266)](),this[_0x3cf2eb(0x30a)](this[_0x3cf2eb(0x278)][_0x3cf2eb(0x29c)](_0x1c469e=>{const _0x2f6fba=_0x3cf2eb;if(this[_0x2f6fba(0x274)]&&_0x1c469e['id']===_0x2d0709[_0x2f6fba(0x3c7)]['id']&&_0x1c469e[_0x2f6fba(0x3e4)][_0x2f6fba(0x1c5)]===this[_0x2f6fba(0x397)]){const _0x53f01c=_0x1c469e[_0x2f6fba(0x3e4)];this[_0x2f6fba(0x2b3)](_0x53f01c[_0x2f6fba(0x236)],_0x53f01c['selections'][0x0]);}})));}[_0x56a808(0x1cb)](_0x55ed19){const _0x3e393d=_0x56a808;var _0x1a2ff3,_0x2a9e1e;const {memberID:_0x26e10d,selection:_0x4fdce6}=_0x55ed19[_0x3e393d(0x2b2)],{sheetName:_0x394739,range:_0x2026ce}=_0x5a5b47['deserializeRangeWithSheet'](_0x4fdce6),_0x569eb1={'name':(_0x2a9e1e=(_0x1a2ff3=this[_0x3e393d(0x3ef)]['getMember'](this[_0x3e393d(0x397)],_0x26e10d))==null?void 0x0:_0x1a2ff3[_0x3e393d(0x3da)])!=null?_0x2a9e1e:_0x3e393d(0x1bc),'range':this[_0x3e393d(0x39e)](_0x394739,_0x2026ce),'sheetID':_0x394739,'color':this[_0x3e393d(0x33e)][_0x3e393d(0x2aa)](_0x26e10d),'selection':_0x4fdce6},_0x4d6f93=this[_0x3e393d(0x1b6)];_0x4d6f93[_0x3e393d(0x2ca)](_0x26e10d,_0x569eb1),this[_0x3e393d(0x3d8)]['next'](_0x4d6f93);}[_0x56a808(0x38e)](_0x11cde6){const _0x15413a=_0x56a808,{memberID:_0x26e3ea}=_0x11cde6[_0x15413a(0x2b2)],_0x4212b7=this['cursorInfo'];_0x4212b7[_0x15413a(0x400)](_0x26e3ea),this['_cursorInfo$'][_0x15413a(0x21a)](_0x4212b7);}[_0x56a808(0x39e)](_0x295184,_0x2b4a7e){const _0x1d9259=_0x56a808;var _0x491645,_0x36fd82;const _0x26d829=(_0x36fd82=(_0x491645=this[_0x1d9259(0x3b8)][_0x1d9259(0x310)](this[_0x1d9259(0x397)]))==null?void 0x0:_0x491645[_0x1d9259(0x26c)](_0x295184))==null?void 0x0:_0x36fd82[_0x1d9259(0x193)]();return(_0x26d829==null?void 0x0:_0x26d829[_0x1d9259(0x198)](_0x57ba8d=>_0x4e503f['Rectangle'][_0x1d9259(0x3cc)](_0x57ba8d,_0x2b4a7e)))||_0x2b4a7e;}[_0x56a808(0x266)](){const _0x2b8a2b=_0x56a808,_0x29f831=new _0x4e503f['DisposableCollection'](),_0x4f3eeb=_0x1987fe(),_0x49176f=()=>{const _0x568bae=_0x1918;_0x29f831[_0x568bae(0x331)]();const _0xd31d76=(_0x3e0d36,_0x22e4b0,_0x5aaa52,_0xd5c306)=>{const _0x218016=_0x568bae;let _0x539009=[];switch(_0x3e0d36['id']){case _0x2d0709['EffectRefRangId'][_0x218016(0x3d2)]:{_0x539009=_0x2d0709[_0x218016(0x3c5)](_0x3e0d36,_0xd5c306);break;}case _0x2d0709['EffectRefRangId'][_0x218016(0x231)]:{_0x539009=_0x2d0709[_0x218016(0x24a)](_0x3e0d36,_0xd5c306);break;}case _0x2d0709[_0x218016(0x1b7)]['InsertColCommandId']:{_0x539009=_0x2d0709[_0x218016(0x2e9)](_0x3e0d36,_0xd5c306);break;}case _0x2d0709[_0x218016(0x1b7)][_0x218016(0x164)]:{_0x539009=_0x2d0709[_0x218016(0x230)](_0x3e0d36,_0xd5c306);break;}case _0x2d0709[_0x218016(0x1b7)][_0x218016(0x2a6)]:{_0x539009=_0x2d0709[_0x218016(0x220)](_0x3e0d36,_0xd5c306);break;}case _0x2d0709['EffectRefRangId']['InsertRowCommandId']:{_0x539009=_0x2d0709[_0x218016(0x3df)](_0x3e0d36,_0xd5c306);break;}case _0x2d0709[_0x218016(0x1b7)][_0x218016(0x340)]:{_0x539009=_0x2d0709[_0x218016(0x1d1)](_0x3e0d36,_0xd5c306);break;}case _0x2d0709['EffectRefRangId'][_0x218016(0x325)]:{_0x539009=_0x2d0709['handleIRemoveCol'](_0x3e0d36,_0xd5c306);break;}case _0x2d0709[_0x218016(0x1b7)][_0x218016(0x269)]:{_0x539009=_0x2d0709['handleIRemoveRow'](_0x3e0d36,_0xd5c306);break;}}const _0x475a3c=_0x2d0709[_0x218016(0x34e)](_0x539009,_0xd5c306),_0x4727a0=this[_0x218016(0x1b6)][_0x218016(0x3c2)](_0x22e4b0);if(_0x4727a0&&_0x475a3c){const _0x49c04a={..._0x4727a0,'range':_0x475a3c};this[_0x218016(0x1b6)][_0x218016(0x2ca)](_0x22e4b0,_0x49c04a),_0x4f3eeb(()=>{const _0x3cd8f4=_0x218016,_0x3d9872=this[_0x3cd8f4(0x20e)][_0x3cd8f4(0x2f6)](_0x475a3c,_0x9af8a6=>(_0x3d9872['dispose'](),_0xd31d76(_0x9af8a6,_0x22e4b0,_0x5aaa52,_0x475a3c)));_0x29f831[_0x3cd8f4(0x17c)](_0x3d9872);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x2a0219,_0xa8446f)=>{const _0x28d1a8=_0x568bae,{range:_0xf7bfa4,sheetID:_0x598b61}=_0x2a0219,_0x6c8454=this[_0x28d1a8(0x20e)][_0x28d1a8(0x2f6)](_0xf7bfa4,_0x1d28ef=>(_0x6c8454[_0x28d1a8(0x331)](),_0xd31d76(_0x1d28ef,_0xa8446f,_0x598b61,_0xf7bfa4)));_0x29f831[_0x28d1a8(0x17c)](_0x6c8454);});};this[_0x2b8a2b(0x30a)](_0x4e503f[_0x2b8a2b(0x178)](this['_cursorInfo$']['subscribe'](()=>{_0x49176f();})));}[_0x56a808(0x1ad)](){const _0x4d0add=_0x56a808;var _0x30f8d4,_0x4f9848;if(this[_0x4d0add(0x274)]=!0x0,((_0x30f8d4=this['_univerInstanceService'][_0x4d0add(0x16f)]())==null?void 0x0:_0x30f8d4[_0x4d0add(0x2ae)]())!==this['unitID'])return;const _0x5ccd67=(_0x4f9848=this[_0x4d0add(0x1c7)]['get'](_0x2d0709[_0x4d0add(0x2cd)])['getCurrentSelections']())==null?void 0x0:_0x4f9848[0x0],_0x50f52a=this[_0x4d0add(0x3b8)][_0x4d0add(0x32f)](_0x4e503f[_0x4d0add(0x372)][_0x4d0add(0x3eb)])[_0x4d0add(0x256)]();_0x5ccd67&&_0x50f52a&&this[_0x4d0add(0x2b3)](_0x50f52a['getSheetId'](),_0x5ccd67);}[_0x56a808(0x1b8)](){const _0x6fbbf3=_0x56a808;this[_0x6fbbf3(0x274)]=!0x1;}};_0x37c7bb=_0x59589c([_0x51093f(0x2,_0x4e503f[_0x56a808(0x1aa)](_0x4e503f[_0x56a808(0x1ac)])),_0x51093f(0x3,_0x4e503f[_0x56a808(0x1aa)](_0x5cb836)),_0x51093f(0x4,_0x4e503f[_0x56a808(0x1aa)](_0x40df25[_0x56a808(0x22f)])),_0x51093f(0x5,_0x4e503f[_0x56a808(0x234)]),_0x51093f(0x6,_0x4e503f[_0x56a808(0x38b)]),_0x51093f(0x7,_0x4e503f[_0x56a808(0x1aa)](_0x2d0709[_0x56a808(0x32a)]))],_0x37c7bb);var _0x2330d3=Object[_0x56a808(0x1a6)],_0x5c7cb3=(_0x449bfe,_0x3ad76c,_0x538037,_0x5f4f56)=>{const _0x2dbe13=_0x56a808;for(var _0x43e97c=_0x5f4f56>0x1?void 0x0:_0x5f4f56?_0x2330d3(_0x3ad76c,_0x538037):_0x3ad76c,_0x2704ac=_0x449bfe[_0x2dbe13(0x192)]-0x1,_0x4ff662;_0x2704ac>=0x0;_0x2704ac--)(_0x4ff662=_0x449bfe[_0x2704ac])&&(_0x43e97c=_0x4ff662(_0x43e97c)||_0x43e97c);return _0x43e97c;},_0x50a927=(_0x36a1ac,_0x43692a)=>(_0x3726f5,_0x1c5d25)=>_0x43692a(_0x3726f5,_0x1c5d25,_0x36a1ac);let _0x253fd8=class extends _0x4e503f['RxDisposable']{constructor(_0x49e393,_0x52896e,_0x36c3c7){const _0x8f269e=_0x56a808;super(),_0x5ea1d6(this,_0x8f269e(0x284),new Map()),_0x5ea1d6(this,_0x8f269e(0x201),new _0x403441[(_0x8f269e(0x1cc))]()),(this[_0x8f269e(0x3b8)]=_0x49e393,this[_0x8f269e(0x1c7)]=_0x52896e,this[_0x8f269e(0x2d9)]=_0x36c3c7,this[_0x8f269e(0x17f)]());}['dispose'](){const _0x38060b=_0x56a808;super['dispose'](),this[_0x38060b(0x201)][_0x38060b(0x315)](),this['_entities']['forEach'](_0x1a5f9d=>_0x1a5f9d[_0x38060b(0x331)]());}[_0x56a808(0x298)](_0x4f6c87){const _0x4053e1=_0x56a808;return this[_0x4053e1(0x284)][_0x4053e1(0x277)](_0x4f6c87)?this[_0x4053e1(0x284)]['get'](_0x4f6c87)[_0x4053e1(0x22b)]:this[_0x4053e1(0x201)][_0x4053e1(0x36e)](_0x403441[_0x4053e1(0x166)](_0x2b0300=>_0x2b0300['unitID']===_0x4f6c87),_0x403441[_0x4053e1(0x3fb)](_0x20250e=>_0x20250e['cursorInfo$']));}['_init'](){const _0x8c4d31=_0x56a808;this[_0x8c4d31(0x3b8)][_0x8c4d31(0x369)](_0x4e503f[_0x8c4d31(0x372)][_0x8c4d31(0x3eb)])[_0x8c4d31(0x36e)](_0x403441[_0x8c4d31(0x27c)](this['dispose$']))['subscribe'](async _0x5b9701=>{const _0x34b994=_0x8c4d31,_0x34a9e6=_0x5b9701['getUnitId'](),_0x58dff0=await this[_0x34b994(0x250)](_0x34a9e6);this[_0x34b994(0x201)][_0x34b994(0x21a)](_0x58dff0),this[_0x34b994(0x284)][_0x34b994(0x2ca)](_0x34a9e6,_0x58dff0);}),this[_0x8c4d31(0x3b8)][_0x8c4d31(0x369)](_0x4e503f[_0x8c4d31(0x372)][_0x8c4d31(0x3a0)])[_0x8c4d31(0x36e)](_0x403441[_0x8c4d31(0x27c)](this[_0x8c4d31(0x2d3)]))['pipe'](_0x403441['filter'](_0x56cbae=>!_0x56cbae['getUnitId']()[_0x8c4d31(0x19a)]('__')))['subscribe'](async _0x2395b8=>{const _0x402e26=_0x8c4d31,_0x49f344=_0x2395b8[_0x402e26(0x2ae)](),_0xd7de63=await this['_startDocCollabCursor'](_0x49f344);this[_0x402e26(0x201)][_0x402e26(0x21a)](_0xd7de63),this['_entities'][_0x402e26(0x2ca)](_0x49f344,_0xd7de63);}),_0x403441[_0x8c4d31(0x37d)](this[_0x8c4d31(0x3b8)][_0x8c4d31(0x218)](_0x4e503f[_0x8c4d31(0x372)][_0x8c4d31(0x3a0)]),this[_0x8c4d31(0x3b8)][_0x8c4d31(0x218)](_0x4e503f[_0x8c4d31(0x372)]['UNIVER_SHEET']))[_0x8c4d31(0x36e)](_0x403441['takeUntil'](this[_0x8c4d31(0x2d3)]))[_0x8c4d31(0x2e4)](_0xacb1df=>{const _0xea2ad5=_0x8c4d31,_0x436797=_0xacb1df['getUnitId'](),_0x3e8aea=this[_0xea2ad5(0x284)][_0xea2ad5(0x3c2)](_0x436797);_0x3e8aea&&(_0x3e8aea[_0xea2ad5(0x331)](),this['_entities']['delete'](_0x436797));});}async[_0x56a808(0x250)](_0x59a6d1){const _0xd395b0=_0x56a808,_0x2c787b=await this[_0xd395b0(0x2d9)]['requireSession'](_0x59a6d1),_0x1b1da5=this[_0xd395b0(0x1c7)][_0xd395b0(0x341)](_0x37c7bb,_0x59a6d1,_0x2c787b);return _0x1b1da5['init'](),_0x1b1da5;}async['_startDocCollabCursor'](_0x39094e){const _0x39362a=_0x56a808,_0x4a8a24=await this[_0x39362a(0x2d9)]['requireSession'](_0x39094e),_0xce8ec5=this[_0x39362a(0x1c7)][_0x39362a(0x341)](_0x13e789,_0x39094e,_0x4a8a24);return _0xce8ec5[_0x39362a(0x2ce)](),_0xce8ec5;}};_0x253fd8=_0x5c7cb3([_0x50a927(0x0,_0x4e503f['IUniverInstanceService']),_0x50a927(0x1,_0x4e503f['Inject'](_0x4e503f[_0x56a808(0x1ac)])),_0x50a927(0x2,_0x4e503f[_0x56a808(0x1aa)](_0x40df25[_0x56a808(0x394)]))],_0x253fd8);const _0x3a0be0=0x14,_0x352a38=0xc8,_0x1c29dd=0x4,_0x426ccb=0x5;function _0x489635(_0x429268,_0x279000){const _0x15f013=_0x56a808;let {radius:_0x2ded83,width:_0x244b97,height:_0xae3864}=_0x279000;_0x2ded83=_0x2ded83!=null?_0x2ded83:0x0,_0x244b97=_0x244b97!=null?_0x244b97:0x1e,_0xae3864=_0xae3864!=null?_0xae3864:0x1e;let _0x2b5343=0x0,_0x45ef4c=0x0,_0x1faee2=0x0;_0x2b5343=_0x45ef4c=_0x1faee2=Math[_0x15f013(0x1d9)](_0x2ded83,_0x244b97/0x2,_0xae3864/0x2),_0x429268[_0x15f013(0x2d4)](),_0x429268['moveTo'](_0x2b5343,0x0),_0x429268[_0x15f013(0x2fd)](_0x244b97-_0x45ef4c,0x0),_0x429268['arc'](_0x244b97-_0x45ef4c,_0x45ef4c,_0x45ef4c,Math['PI']*0x3/0x2,0x0,!0x1),_0x429268[_0x15f013(0x2fd)](_0x244b97,_0xae3864-_0x1faee2),_0x429268[_0x15f013(0x351)](_0x244b97-_0x1faee2,_0xae3864-_0x1faee2,_0x1faee2,0x0,Math['PI']/0x2,!0x1),_0x429268['lineTo'](0x0,_0xae3864),_0x429268[_0x15f013(0x2fd)](0x0,_0x2b5343),_0x429268[_0x15f013(0x351)](_0x2b5343,_0x2b5343,_0x2b5343,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x429268[_0x15f013(0x255)](),_0x279000[_0x15f013(0x202)]&&(_0x429268['save'](),_0x429268[_0x15f013(0x223)]=_0x279000[_0x15f013(0x202)],_0x279000[_0x15f013(0x240)]==='evenodd'?_0x429268[_0x15f013(0x202)](_0x15f013(0x22d)):_0x429268[_0x15f013(0x202)](),_0x429268[_0x15f013(0x33f)]());}class _0x24342c extends _0x29ef04[_0x56a808(0x3e1)]{constructor(_0x2c9829,_0x3de4eb){const _0x5142e8=_0x56a808;super(_0x2c9829,_0x3de4eb),_0x5ea1d6(this,_0x5142e8(0x227)),_0x5ea1d6(this,'text'),(this[_0x5142e8(0x227)]=_0x3de4eb==null?void 0x0:_0x3de4eb['color'],this[_0x5142e8(0x3bb)]=_0x3de4eb==null?void 0x0:_0x3de4eb[_0x5142e8(0x3bb)]);}static[_0x56a808(0x3f0)](_0x4b0c79,_0x3e1b03){const _0x50c67c=_0x56a808,{text:_0x2945ad,color:_0x2dc986}=_0x3e1b03;_0x4b0c79['save'](),_0x4b0c79[_0x50c67c(0x167)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x564cf4=_0x4b0c79[_0x50c67c(0x16c)](_0x2945ad)[_0x50c67c(0x1b5)],_0x5a4c00=Math['min'](_0x564cf4+0x2*_0x1c29dd,_0x352a38);_0x489635(_0x4b0c79,{'height':_0x3a0be0,'radius':0x4,'width':_0x5a4c00,'fill':_0x2dc986}),_0x4b0c79[_0x50c67c(0x223)]=_0x50c67c(0x175);const _0xc0d286=_0x1c29dd,_0x93c324=_0x3a0be0-_0x426ccb,_0xa2f2b2=_0x352a38-0x2*_0x1c29dd;if(_0x564cf4>_0xa2f2b2){let _0x31854f='',_0x39cfab=0x0;for(const _0x1cf191 of _0x2945ad){const _0x1e40ed=_0x4b0c79[_0x50c67c(0x16c)](_0x1cf191)[_0x50c67c(0x1b5)];if(_0x39cfab+_0x1e40ed<=_0xa2f2b2-_0x4b0c79[_0x50c67c(0x16c)](_0x50c67c(0x309))[_0x50c67c(0x1b5)])_0x31854f+=_0x1cf191,_0x39cfab+=_0x1e40ed;else{_0x31854f+=_0x50c67c(0x309);break;}}_0x4b0c79['fillText'](_0x31854f,_0xc0d286,_0x93c324);}else _0x4b0c79[_0x50c67c(0x1ea)](_0x2945ad,_0xc0d286,_0x93c324);_0x4b0c79[_0x50c67c(0x33f)]();}[_0x56a808(0x2b4)](_0x1984f1){const _0x533bc4=_0x56a808;_0x24342c[_0x533bc4(0x3f0)](_0x1984f1,this);}}const _0x35c1a0=_0x56a808(0x214),_0x3f5e4b='collab-text-range-',_0x1eebf4='collab-rect-range-',_0x572895=0x6,_0x3dcbdf=1.5,_0x2630b2=0x4,_0x1ecd2b=1.5,_0x3838f3=_0x56a808(0x348);class _0x23132b{constructor(_0x1aa677,_0x2a2016,_0x2c6639,_0x2bfdfc){const _0x13bece=_0x56a808;_0x5ea1d6(this,_0x13bece(0x270),[]),_0x5ea1d6(this,'_anchor',null),_0x5ea1d6(this,_0x13bece(0x2f1),null),_0x5ea1d6(this,_0x13bece(0x31e),null),_0x5ea1d6(this,_0x13bece(0x31b),null),_0x5ea1d6(this,_0x13bece(0x39c),null),(this[_0x13bece(0x1a3)]=_0x1aa677,this['_scene']=_0x2a2016,this[_0x13bece(0x253)]=_0x2c6639,this[_0x13bece(0x282)]=_0x2bfdfc,this[_0x13bece(0x347)]());}set[_0x56a808(0x388)](_0xfc6630){const _0x3f1cc0=_0x56a808;_0xfc6630?(this['_anchorDot']&&this[_0x3f1cc0(0x31e)][_0x3f1cc0(0x2fb)](),this[_0x3f1cc0(0x2f1)]&&this[_0x3f1cc0(0x2f1)]['show']()):(this[_0x3f1cc0(0x31e)]&&this[_0x3f1cc0(0x31e)]['show'](),this[_0x3f1cc0(0x2f1)]&&this[_0x3f1cc0(0x2f1)][_0x3f1cc0(0x2fb)]());}[_0x56a808(0x331)](){const _0x5258c2=_0x56a808;for(const _0x1740a1 of this[_0x5258c2(0x270)])_0x1740a1[_0x5258c2(0x331)]();this[_0x5258c2(0x2f1)]&&this[_0x5258c2(0x2f1)][_0x5258c2(0x331)](),this[_0x5258c2(0x31e)]&&this['_anchorDot'][_0x5258c2(0x331)](),this[_0x5258c2(0x2bd)]&&this[_0x5258c2(0x2bd)][_0x5258c2(0x331)](),this[_0x5258c2(0x39c)]&&this[_0x5258c2(0x39c)]();}[_0x56a808(0x347)](){const _0x20742d=_0x56a808;var _0x6ab54e;const {_docSkeleton:_0x25a504,_document:_0x279af1}=this,{color:_0x4e41bf,name:_0x173868,ranges:_0x5860aa}=this[_0x20742d(0x1a3)],_0x34953a=_0x279af1[_0x20742d(0x365)](),{docsLeft:_0x508b1d,docsTop:_0x1c88d7}=_0x34953a,_0x39e7b8=new _0x6a13cb[(_0x20742d(0x2bf))](_0x34953a,_0x25a504);for(const {startOffset:_0x31ed2d,endOffset:_0x16566c,rangeType:_0x1a38d0,segmentId:_0x2f8e27,segmentPage:_0x4c39e4,collapsed:_0x2ebcd5,isActive:_0x3cfa5b}of _0x5860aa){const _0x5eb949=_0x25a504[_0x20742d(0x357)](_0x31ed2d,!0x0,_0x2f8e27,_0x4c39e4);let _0x5d9a59=_0x25a504[_0x20742d(0x357)](_0x16566c,!0x0,_0x2f8e27,_0x4c39e4);if(_0x5d9a59==null&&(_0x5d9a59=_0x25a504[_0x20742d(0x357)](_0x16566c-0x1,!0x1,_0x2f8e27,_0x4c39e4)),_0x3cfa5b){const {contentBoxPointGroup:_0x1156c9}=_0x39e7b8['getRangePointData'](_0x5d9a59,_0x5d9a59);if(_0x1156c9[_0x20742d(0x192)]===0x0)continue;this[_0x20742d(0x367)](_0x4e41bf,_0x1156c9,_0x508b1d,_0x1c88d7,_0x173868),this[_0x20742d(0x39c)]=this[_0x20742d(0x203)]();}if(_0x5eb949&&_0x5d9a59){if(_0x1a38d0===_0x4e503f[_0x20742d(0x1b2)]['RECT']){const _0x2af141=new _0x6a13cb['NodePositionConvertToRectRange'](_0x34953a,_0x25a504),{pointGroup:_0x2109a5}=(_0x6ab54e=_0x2af141[_0x20742d(0x3f2)](_0x5eb949,_0x5d9a59))!=null?_0x6ab54e:{};if(_0x2109a5==null||_0x2109a5[_0x20742d(0x192)]===0x0)continue;this[_0x20742d(0x3ad)](_0x4e41bf,_0x2109a5,_0x508b1d,_0x1c88d7);}else{if(!_0x2ebcd5){const {borderBoxPointGroup:_0x14e8e7}=_0x39e7b8[_0x20742d(0x3f2)](_0x5eb949,_0x5d9a59);if(_0x14e8e7[_0x20742d(0x192)]===0x0)continue;this[_0x20742d(0x3c9)](_0x4e41bf,_0x14e8e7,_0x508b1d,_0x1c88d7);}}}}}['_drawAnchor'](_0xe2897f,_0x225134,_0x4348b4,_0x128765,_0x20fdc4){const _0x1fcafd=_0x56a808,_0x5283f6=this[_0x1fcafd(0x276)](_0x225134),{left:_0x32d147,top:_0xc77ddc,height:_0x208a8c}=_0x5283f6,_0x1bf4c7=this['_getScale'](),_0x12cfa3=_0x1ecd2b/_0x1bf4c7,_0x3cfed2=new _0x29ef04[(_0x1fcafd(0x382))](_0x35c1a0+_0x4e503f['Tools'][_0x1fcafd(0x2cc)](_0x572895),{'left':_0x32d147+_0x4348b4-_0x12cfa3,'top':_0xc77ddc+_0x128765,'height':_0x208a8c,'width':_0x3dcbdf,'fill':_0xe2897f||_0x29ef04[_0x1fcafd(0x391)](_0x4e503f[_0x1fcafd(0x21d)][_0x1fcafd(0x3e9)],0x0),'strokeWidth':_0x12cfa3,'stroke':_0x3838f3,'evented':!0x0});this[_0x1fcafd(0x2bd)]=_0x3cfed2,this['_scene']['addObject'](_0x3cfed2,_0x6a13cb[_0x1fcafd(0x171)]);const _0x1e1758=new _0x29ef04[(_0x1fcafd(0x382))](_0x35c1a0+_0x4e503f[_0x1fcafd(0x290)][_0x1fcafd(0x2cc)](_0x572895),{'left':_0x32d147+_0x4348b4-_0x12cfa3,'top':_0xc77ddc+_0x128765-_0x2630b2/0x2,'height':_0x2630b2,'width':_0x2630b2,'fill':_0xe2897f||_0x29ef04[_0x1fcafd(0x391)](_0x4e503f[_0x1fcafd(0x21d)][_0x1fcafd(0x3e9)],0x0),'strokeWidth':0x0,'stroke':_0xe2897f||_0x29ef04[_0x1fcafd(0x391)](_0x4e503f['COLORS'][_0x1fcafd(0x3e9)],0x0),'evented':!0x1});this[_0x1fcafd(0x31e)]=_0x1e1758,this[_0x1fcafd(0x3f9)][_0x1fcafd(0x251)](_0x1e1758,_0x6a13cb[_0x1fcafd(0x171)]);const _0x255269=new _0x24342c(_0x35c1a0+_0x4e503f[_0x1fcafd(0x290)][_0x1fcafd(0x2cc)](_0x572895),{'left':_0x32d147+_0x4348b4-_0x12cfa3,'top':_0xc77ddc+_0x128765-_0x3a0be0,'text':_0x20fdc4,'color':_0xe2897f});this[_0x1fcafd(0x2f1)]=_0x255269,this[_0x1fcafd(0x3f9)][_0x1fcafd(0x251)](_0x255269,_0x6a13cb[_0x1fcafd(0x171)]),this[_0x1fcafd(0x388)]=!0x1;}['_handleHover'](){const _0xfcc79d=_0x56a808,_0x1f090c=this[_0xfcc79d(0x2bd)][_0xfcc79d(0x170)][_0xfcc79d(0x1db)](()=>{const _0x1b5f39=_0xfcc79d;this[_0x1b5f39(0x388)]=!0x0;}),_0x1d2a73=this[_0xfcc79d(0x2bd)][_0xfcc79d(0x383)]['subscribeEvent'](()=>{const _0x4b3678=_0xfcc79d;this[_0x4b3678(0x31b)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x595546=_0x4b3678;this[_0x595546(0x388)]=!0x1;},0x7d0);});return()=>{const _0x503d2b=_0xfcc79d;_0x1f090c[_0x503d2b(0x1a7)](),_0x1d2a73['unsubscribe']();};}['_drawTextRange'](_0x4ec3da,_0x59e316,_0x3f119b,_0x544eec){const _0x35c5c7=_0x56a808,_0x464bc5=new _0x4e503f[(_0x35c5c7(0x248))](_0x4ec3da)[_0x35c5c7(0x1f4)](0.2)[_0x35c5c7(0x3e8)](),_0x49c583=new _0x29ef04[(_0x35c5c7(0x3ae))](_0x3f5e4b+_0x4e503f[_0x35c5c7(0x290)][_0x35c5c7(0x2cc)](_0x572895),{'pointsGroup':_0x59e316,'fill':_0x464bc5||_0x29ef04[_0x35c5c7(0x391)](_0x4e503f[_0x35c5c7(0x21d)][_0x35c5c7(0x3e9)],0.2),'left':_0x3f119b,'top':_0x544eec,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x35c5c7(0x270)][_0x35c5c7(0x249)](_0x49c583),this[_0x35c5c7(0x3f9)]['addObject'](_0x49c583,_0x6a13cb[_0x35c5c7(0x171)]);}[_0x56a808(0x3ad)](_0x26e91a,_0x407e26,_0x385397,_0x2a44a6){const _0x209055=_0x56a808,_0x20ceaa=new _0x4e503f[(_0x209055(0x248))](_0x26e91a)[_0x209055(0x1f4)](0.2)['toRgbString'](),_0x708638=new _0x29ef04['RegularPolygon'](_0x1eebf4+_0x4e503f[_0x209055(0x290)][_0x209055(0x2cc)](_0x572895),{'pointsGroup':_0x407e26,'fill':_0x20ceaa||_0x29ef04['getColor'](_0x4e503f[_0x209055(0x21d)][_0x209055(0x3e9)],0.2),'left':_0x385397,'top':_0x2a44a6,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x209055(0x270)]['push'](_0x708638),this[_0x209055(0x3f9)][_0x209055(0x251)](_0x708638,_0x6a13cb['TEXT_RANGE_LAYER_INDEX']);}[_0x56a808(0x276)](_0x5a12d5){const _0x4081cb=_0x5a12d5[0x0],_0x1c8dc1=_0x4081cb[0x0],_0x621517=_0x4081cb[0x2],{x:_0x35e650,y:_0x32ceb8}=_0x1c8dc1,{x:_0x165398,y:_0x32fbce}=_0x621517;return{'left':_0x35e650,'top':_0x32ceb8,'width':_0x165398-_0x35e650,'height':_0x32fbce-_0x32ceb8};}['_getScale'](){const _0x53b664=_0x56a808,{scaleX:_0x123a00,scaleY:_0x70000d}=this['_scene']['getAncestorScale']();return Math[_0x53b664(0x38a)](_0x123a00,_0x70000d);}}var _0x56f8fe=Object[_0x56a808(0x1a6)],_0x10d980=(_0x57f31d,_0x5d4386,_0x294cea,_0x37c569)=>{const _0x337dfd=_0x56a808;for(var _0x436f48=_0x37c569>0x1?void 0x0:_0x37c569?_0x56f8fe(_0x5d4386,_0x294cea):_0x5d4386,_0x4ae523=_0x57f31d[_0x337dfd(0x192)]-0x1,_0x2901af;_0x4ae523>=0x0;_0x4ae523--)(_0x2901af=_0x57f31d[_0x4ae523])&&(_0x436f48=_0x2901af(_0x436f48)||_0x436f48);return _0x436f48;},_0x354b72=(_0x4dbf4d,_0x467379)=>(_0x1d6824,_0x1fd921)=>_0x467379(_0x1d6824,_0x1fd921,_0x4dbf4d);let _0x28b16f=class extends _0x4e503f[_0x56a808(0x2f0)]{constructor(_0x3509b4,_0xbb0294,_0x50c1d7,_0x40b94d,_0x6671e2){const _0x37b476=_0x56a808;super(),_0x5ea1d6(this,'_cursorShapes',[]),_0x5ea1d6(this,'_cursors',[]),(this[_0x37b476(0x21e)]=_0x3509b4,this['_docSkeletonManagerService']=_0xbb0294,this['_collabCursorController']=_0x50c1d7,this['_commandService']=_0x40b94d,this[_0x37b476(0x3e7)]=_0x6671e2,this[_0x37b476(0x17f)]());}[_0x56a808(0x17f)](){const _0x1c62ac=_0x56a808,_0x5ed3f6=this[_0x1c62ac(0x21e)]['unitId'],_0xb54715=this[_0x1c62ac(0x3b6)];this['disposeWithMe'](_0x403441[_0x1c62ac(0x360)]([this[_0x1c62ac(0x2b1)]['getCollabCursors$'](_0x5ed3f6),this[_0x1c62ac(0x3e7)]['currentTheme$']])[_0x1c62ac(0x36e)](_0x560b5d[_0x1c62ac(0x37c)](([_0x3fa707,_0x442989])=>({'skeleton':_0xb54715['getSkeleton'](),'cursors':[..._0x3fa707[_0x1c62ac(0x28f)]()][_0x1c62ac(0x398)](_0x3eaff1=>({..._0x3eaff1,'color':_0x442989[_0x3eaff1['color']]}))})))[_0x1c62ac(0x2e4)](_0x4a40bb=>{const _0x47feae=_0x1c62ac;if(this[_0x47feae(0x39a)](),_0x4a40bb){const {skeleton:_0x707c65,cursors:_0x1dc4b6}=_0x4a40bb;this[_0x47feae(0x34a)](_0x707c65,_0x1dc4b6);}})),this['_initResize'](),this[_0x1c62ac(0x1a4)]();}['_updateCollabCursors'](_0x481ac2,_0x10f66a){const _0x414272=_0x56a808,{scene:_0x178041,mainComponent:_0x1c308d}=this[_0x414272(0x21e)],_0x14322a=_0x10f66a['map'](_0x4687a7=>new _0x23132b(_0x4687a7,_0x178041,_0x481ac2,_0x1c308d));this['_cursorShapes']=_0x14322a,this[_0x414272(0x2e5)]=_0x10f66a;}[_0x56a808(0x181)](){const _0xb3336c=_0x56a808;this[_0xb3336c(0x39a)]();const {scene:_0x6e7bd0,mainComponent:_0x239489}=this['_context'],_0x3ae809=this['_docSkeletonManagerService'][_0xb3336c(0x1b3)](),_0x28bc65=this[_0xb3336c(0x2e5)][_0xb3336c(0x37c)](_0x5e0ff5=>new _0x23132b(_0x5e0ff5,_0x6e7bd0,_0x3ae809,_0x239489));this[_0xb3336c(0x27a)]=_0x28bc65;}[_0x56a808(0x39a)](){const _0x1ac4d6=_0x56a808;this[_0x1ac4d6(0x27a)]['forEach'](_0x4f6e88=>_0x4f6e88['dispose']()),this[_0x1ac4d6(0x27a)]=[];}['_initCommandExecutedListener'](){const _0x4322a3=_0x56a808,_0x55bf3b=[_0x6a13cb[_0x4322a3(0x28a)]['id']];this[_0x4322a3(0x30a)](this[_0x4322a3(0x278)]['onCommandExecuted'](_0x25c533=>{const _0x568578=_0x4322a3;_0x55bf3b[_0x568578(0x3bf)](_0x25c533['id'])&&_0x25c533['params'][_0x568578(0x1c5)]===this['_context']['unitId']&&this[_0x568578(0x181)]();}));}['_initResize'](){const _0x214fff=_0x56a808;this[_0x214fff(0x30a)](_0x4e503f[_0x214fff(0x316)](this[_0x214fff(0x21e)][_0x214fff(0x3e6)][_0x214fff(0x3d3)])[_0x214fff(0x36e)](_0x560b5d[_0x214fff(0x166)](_0x1ff2fd=>_0x1ff2fd[_0x214fff(0x31d)]===_0x29ef04['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x214fff(0x26e)]),_0x560b5d['throttleTime'](0x10))[_0x214fff(0x2e4)](()=>{const _0x3a4d96=_0x214fff;this[_0x3a4d96(0x181)]();}));}};_0x28b16f=_0x10d980([_0x354b72(0x1,_0x4e503f[_0x56a808(0x1aa)](_0x1837ce[_0x56a808(0x1e5)])),_0x354b72(0x2,_0x4e503f['Inject'](_0x253fd8)),_0x354b72(0x3,_0x4e503f['ICommandService']),_0x354b72(0x4,_0x4e503f[_0x56a808(0x1aa)](_0x4e503f['ThemeService']))],_0x28b16f);const _0x10c3a9=0x1,_0x6ab27a=1.5;class _0xbff018 extends _0x29ef04[_0x56a808(0x3e1)]{constructor(_0x152cc7,_0x50c2ff){const _0x5aa659=_0x56a808;super(_0x152cc7,_0x50c2ff),_0x5ea1d6(this,'_color'),_0x5ea1d6(this,_0x5aa659(0x2ba),!0x1),_0x5ea1d6(this,_0x5aa659(0x35b)),_0x5ea1d6(this,_0x5aa659(0x25b),''),_0x5ea1d6(this,_0x5aa659(0x2d7),_0x5aa659(0x2cb)),_0x5ea1d6(this,_0x5aa659(0x321)),(_0x50c2ff&&this[_0x5aa659(0x3c4)](_0x50c2ff),this[_0x5aa659(0x170)][_0x5aa659(0x1db)](()=>this[_0x5aa659(0x3c4)]({'hovered':!0x0})),this[_0x5aa659(0x383)][_0x5aa659(0x1db)](()=>this[_0x5aa659(0x3c4)]({'hovered':!0x1})));}[_0x56a808(0x3c4)](_0x23bab3){const _0x5e2349=_0x56a808;var _0x5e8fa2,_0x3c8cf8,_0x2cf662,_0x44271b,_0x37cf45,_0x40c561;this[_0x5e2349(0x31c)]=(_0x5e8fa2=_0x23bab3[_0x5e2349(0x227)])!=null?_0x5e8fa2:this['_color'],this[_0x5e2349(0x2ba)]=(_0x3c8cf8=_0x23bab3[_0x5e2349(0x28e)])!=null?_0x3c8cf8:this[_0x5e2349(0x2ba)],this['_range']=(_0x2cf662=_0x23bab3[_0x5e2349(0x1e8)])!=null?_0x2cf662:this['_range'],this[_0x5e2349(0x25b)]=(_0x44271b=_0x23bab3[_0x5e2349(0x3da)])!=null?_0x44271b:this['_name'],this[_0x5e2349(0x2d7)]=(_0x37cf45=_0x23bab3[_0x5e2349(0x346)])!=null?_0x37cf45:this['_labelPosition'],this['_backgroundColor']=(_0x40c561=_0x23bab3[_0x5e2349(0x3c1)])!=null?_0x40c561:this['_backgroundColor'],this[_0x5e2349(0x395)]({'width':_0x23bab3['width'],'height':_0x23bab3[_0x5e2349(0x353)]});}[_0x56a808(0x26d)](_0x2f88ef){const _0x480a69=_0x56a808,{row:_0x284021,column:_0x4a03d8}=_0x2f88ef;if(_0x284021>=this[_0x480a69(0x35b)][_0x480a69(0x335)]&&_0x284021<=this[_0x480a69(0x35b)]['endRow']&&_0x4a03d8>=this[_0x480a69(0x35b)][_0x480a69(0x37a)]&&_0x4a03d8<=this[_0x480a69(0x35b)][_0x480a69(0x404)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x480a69(0x3c4)]({'hovered':!0x1});}['triggerDblclick'](_0x1c13ac){return!0x1;}[_0x56a808(0x2b4)](_0x7f1c08){const _0x823cc3=_0x56a808;_0x29ef04[_0x823cc3(0x382)][_0x823cc3(0x3f0)](_0x7f1c08,{'width':this['width'],'height':this[_0x823cc3(0x353)],'strokeWidth':_0x6ab27a,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x823cc3(0x321)]}),this[_0x823cc3(0x2ba)]&&(_0x7f1c08[_0x823cc3(0x35a)](),_0x7f1c08[_0x823cc3(0x2ff)](0x1,0x0,0x0,0x1,this['width'],this[_0x823cc3(0x2d7)]===_0x823cc3(0x2c7)?0x0:-0x14),_0x24342c[_0x823cc3(0x3f0)](_0x7f1c08,{'text':this[_0x823cc3(0x25b)],'color':this['_color']}),_0x7f1c08[_0x823cc3(0x33f)]());}}var _0x13ce5b=Object[_0x56a808(0x1a6)],_0x2ed1c2=(_0x8ae9f1,_0x134adc,_0x5e1842,_0x5c5d10)=>{const _0x23cb5e=_0x56a808;for(var _0x14fb67=_0x5c5d10>0x1?void 0x0:_0x5c5d10?_0x13ce5b(_0x134adc,_0x5e1842):_0x134adc,_0x148aeb=_0x8ae9f1[_0x23cb5e(0x192)]-0x1,_0x2966a8;_0x148aeb>=0x0;_0x148aeb--)(_0x2966a8=_0x8ae9f1[_0x148aeb])&&(_0x14fb67=_0x2966a8(_0x14fb67)||_0x14fb67);return _0x14fb67;},_0x2c870a=(_0x59067b,_0x1e0531)=>(_0x44a168,_0x27769d)=>_0x1e0531(_0x44a168,_0x27769d,_0x59067b);const _0x5d20c5=0x1389;let _0x41208e=class extends _0x4e503f[_0x56a808(0x2f0)]{constructor(_0x1d09ad,_0x4573c8,_0x74b927,_0x16680e){const _0x1620cf=_0x56a808;super(),_0x5ea1d6(this,_0x1620cf(0x2e5),new Set()),_0x5ea1d6(this,_0x1620cf(0x18e),null),(this['_context']=_0x1d09ad,this[_0x1620cf(0x3d4)]=_0x4573c8,this[_0x1620cf(0x2b1)]=_0x74b927,this[_0x1620cf(0x3e7)]=_0x16680e,this['_init']());}[_0x56a808(0x17f)](){const _0x1585f3=_0x56a808;this[_0x1585f3(0x3d4)][_0x1585f3(0x1e9)][_0x1585f3(0x36e)](_0x560b5d[_0x1585f3(0x27c)](this['dispose$']),_0x560b5d[_0x1585f3(0x3fb)](_0x3584b8=>{const _0x3ed77e=_0x1585f3;if(_0x3584b8){const _0x3f6883=_0x3584b8[_0x3ed77e(0x322)];return _0x403441[_0x3ed77e(0x360)](this[_0x3ed77e(0x2b1)][_0x3ed77e(0x298)](this[_0x3ed77e(0x21e)]['unitId']),this[_0x3ed77e(0x3e7)][_0x3ed77e(0x2d8)])[_0x3ed77e(0x36e)](_0x560b5d[_0x3ed77e(0x37c)](([_0x4574f5,_0x36cc24])=>{const _0x451c5c=new Map();return _0x4574f5['forEach']((_0x8b36c5,_0x441dfa)=>{const _0x279cc0=_0x1918;if(_0x8b36c5[_0x279cc0(0x1f9)]===_0x3f6883){const _0x1913d2={..._0x8b36c5};_0x1913d2[_0x279cc0(0x227)]=_0x36cc24[_0x8b36c5[_0x279cc0(0x227)]],_0x451c5c[_0x279cc0(0x2ca)](_0x441dfa,_0x1913d2);}}),{'skeleton':_0x3584b8,'cursors':_0x451c5c};}));}return _0x403441['of']({'skeleton':null,'cursors':new Map()});}))[_0x1585f3(0x2e4)](({skeleton:_0xac675a,cursors:_0x3f9bb0})=>{const _0x1a05e3=_0x1585f3;this[_0x1a05e3(0x39a)](),_0xac675a&&this['_updateCollabCursors'](_0xac675a,_0x3f9bb0);}),this['_sheetSkeletonManagerService'][_0x1585f3(0x1e9)][_0x1585f3(0x2e4)](_0x3206ec=>{const _0x29967c=_0x1585f3;if(_0x3206ec==null)return;const {skeleton:_0x17cbf7}=_0x3206ec,{scene:_0x2340f2}=this[_0x29967c(0x21e)];_0x2340f2[_0x29967c(0x1bd)]['subscribeEvent'](_0x4e503f[_0x29967c(0x3dd)](_0x1ec785=>{const _0x2e859d=_0x29967c;var _0xce014b,_0x30cb57;const {offsetX:_0x23ac1e,offsetY:_0x4597d0}=_0x1ec785,{x:_0x1ed1c7,y:_0x79fd5e}=_0x2340f2[_0x2e859d(0x19f)](_0x29ef04[_0x2e859d(0x317)]['FromArray']([_0x23ac1e,_0x4597d0])),{scaleX:_0x505c03,scaleY:_0x4ad935}=_0x2340f2[_0x2e859d(0x29d)](),_0x16c0f1=_0x2340f2['getViewport'](_0x29ef04[_0x2e859d(0x292)][_0x2e859d(0x195)]),_0x45e3e5=_0x2340f2[_0x2e859d(0x241)](_0x29ef04['Vector2'][_0x2e859d(0x16a)]([_0x1ed1c7,_0x79fd5e]),_0x16c0f1),_0x4f3709=_0x17cbf7[_0x2e859d(0x20c)](_0x23ac1e,_0x4597d0,_0x505c03,_0x4ad935,_0x45e3e5);((_0xce014b=this[_0x2e859d(0x18e)])==null?void 0x0:_0xce014b[_0x2e859d(0x399)])===_0x4f3709['column']&&((_0x30cb57=this[_0x2e859d(0x18e)])==null?void 0x0:_0x30cb57[_0x2e859d(0x27e)])===_0x4f3709[_0x2e859d(0x27e)]||this[_0x2e859d(0x2e5)]['forEach'](_0x4e9e19=>{const _0x137307=_0x2e859d;_0x4e9e19[_0x137307(0x26d)](_0x4f3709);});},0x64));});}[_0x56a808(0x34a)](_0x583bbf,_0x371553){const _0x26cd2f=_0x56a808;var _0x6c1a74;const _0x19639c=(_0x6c1a74=this[_0x26cd2f(0x3d4)][_0x26cd2f(0x306)]())==null?void 0x0:_0x6c1a74['skeleton'];if(!_0x19639c)return;const _0x1f961e=this[_0x26cd2f(0x378)]();if(!_0x1f961e)return;this[_0x26cd2f(0x2e5)][_0x26cd2f(0x2c8)](_0x11b0db=>{const _0x4ded28=_0x26cd2f;_0x11b0db[_0x4ded28(0x1f8)]();});const {scene:_0x431d34}=_0x1f961e,_0x16d325=_0x36e1e9(Array[_0x26cd2f(0x25e)](_0x371553[_0x26cd2f(0x28f)]()))['map'](_0x470699=>{const _0x63033b=_0x26cd2f,{color:_0x102991,range:_0x2e1064,name:_0xdb075b,selection:_0x15e546,sheetID:_0x2604e2}=_0x470699,{startColumn:_0x1a2b97,startRow:_0x4e68fc,endColumn:_0xe80585,endRow:_0xc0cade}=_0x2e1064,_0x5d3c54=_0x3c7d29['getCoordByCell'](_0x4e68fc,_0x1a2b97,_0x431d34,_0x19639c),_0x5a238a=_0x3c7d29['getCoordByCell'](_0xc0cade,_0xe80585,_0x431d34,_0x19639c),{columnHeaderHeightAndMarginTop:_0x35f6f1}=_0x19639c,{startX:_0x43a42f,startY:_0x569f05}=_0x5d3c54,{endX:_0x39d31b,endY:_0x2dd2bf}=_0x5a238a,_0x405df7=_0x39d31b-_0x43a42f,_0x31c553=_0x2dd2bf-_0x569f05,_0x4b0855={'labelPosition':_0x569f05-_0x35f6f1>=_0x3a0be0?_0x63033b(0x2cb):_0x63033b(0x2c7),'sheetID':_0x2604e2,'range':_0x2e1064,'color':_0x102991,'name':_0xdb075b,'selection':_0x15e546,'left':_0x43a42f,'top':_0x569f05,'width':_0x405df7,'height':_0x31c553,'evented':!0x1,'zIndex':_0x5d20c5};return new _0xbff018(_0xdb075b,_0x4b0855);});_0x431d34['addObjects'](_0x16d325,_0x10c3a9),this[_0x26cd2f(0x2e5)]=new Set(_0x16d325);}[_0x56a808(0x39a)](){const _0x510099=_0x56a808;var _0x306ac7;(_0x306ac7=this['_cursors'])==null||_0x306ac7[_0x510099(0x2c8)](_0x3540ac=>_0x3540ac[_0x510099(0x331)]());}[_0x56a808(0x378)](){const _0x4d3ea1=_0x56a808;return _0x3c7d29[_0x4d3ea1(0x1d5)](this[_0x4d3ea1(0x21e)][_0x4d3ea1(0x252)],this['_context']);}};_0x41208e=_0x2ed1c2([_0x2c870a(0x1,_0x4e503f[_0x56a808(0x1aa)](_0x3c7d29['SheetSkeletonManagerService'])),_0x2c870a(0x2,_0x4e503f[_0x56a808(0x1aa)](_0x253fd8)),_0x2c870a(0x3,_0x4e503f['Inject'](_0x4e503f['ThemeService']))],_0x41208e);function _0x36e1e9(_0x2db214){const _0x54f813=_0x56a808,_0x5ce7ff=new Map();return _0x2db214[_0x54f813(0x2c8)](_0x3e70b7=>{const _0x22cc60=_0x54f813;if(_0x5ce7ff['has'](_0x3e70b7[_0x22cc60(0x20d)])){const _0x4bc411=_0x5ce7ff[_0x22cc60(0x3c2)](_0x3e70b7['selection']);_0x4bc411['name']+=',\x20'+_0x3e70b7[_0x22cc60(0x3da)];}else _0x5ce7ff[_0x22cc60(0x2ca)](_0x3e70b7[_0x22cc60(0x20d)],_0x3e70b7);}),Array[_0x54f813(0x25e)](_0x5ce7ff[_0x54f813(0x28f)]());}var _0x4e5af7=function(){const _0x56299c=_0x56a808;return _0x4e5af7=Object[_0x56299c(0x385)]||function(_0xa706cc){const _0x3d95c6=_0x56299c;for(var _0x4dc591,_0x3ed194=0x1,_0x50f37d=arguments[_0x3d95c6(0x192)];_0x3ed194<_0x50f37d;_0x3ed194++){_0x4dc591=arguments[_0x3ed194];for(var _0x18f7ac in _0x4dc591)Object[_0x3d95c6(0x2b7)]['hasOwnProperty'][_0x3d95c6(0x393)](_0x4dc591,_0x18f7ac)&&(_0xa706cc[_0x18f7ac]=_0x4dc591[_0x18f7ac]);}return _0xa706cc;},_0x4e5af7[_0x56299c(0x243)](this,arguments);},_0x2d06de=function(_0x3d29d8,_0x32f53f){const _0x45ffe7=_0x56a808;var _0x1e3327={};for(var _0x12b7f7 in _0x3d29d8)Object[_0x45ffe7(0x2b7)]['hasOwnProperty'][_0x45ffe7(0x393)](_0x3d29d8,_0x12b7f7)&&_0x32f53f[_0x45ffe7(0x402)](_0x12b7f7)<0x0&&(_0x1e3327[_0x12b7f7]=_0x3d29d8[_0x12b7f7]);if(_0x3d29d8!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x5146c1=0x0,_0x12b7f7=Object[_0x45ffe7(0x33d)](_0x3d29d8);_0x5146c1<_0x12b7f7['length'];_0x5146c1++)_0x32f53f[_0x45ffe7(0x402)](_0x12b7f7[_0x5146c1])<0x0&&Object[_0x45ffe7(0x2b7)][_0x45ffe7(0x3fa)][_0x45ffe7(0x393)](_0x3d29d8,_0x12b7f7[_0x5146c1])&&(_0x1e3327[_0x12b7f7[_0x5146c1]]=_0x3d29d8[_0x12b7f7[_0x5146c1]]);}return _0x1e3327;},_0x43b3e5=_0x5b5177['forwardRef'](function(_0x2e860c,_0x884e89){const _0x1d0ea3=_0x56a808;var _0x2d2308=_0x2e860c[_0x1d0ea3(0x232)],_0x37a349=_0x2e860c['id'],_0xcc44e=_0x2e860c['className'],_0x3416d1=_0x2e860c['extend'],_0x12586a=_0x2d06de(_0x2e860c,['icon','id',_0x1d0ea3(0x36b),_0x1d0ea3(0x3f8)]),_0x491543='univerjs-icon\x20univerjs-icon-'['concat'](_0x37a349,'\x20')[_0x1d0ea3(0x38c)](_0xcc44e||'')[_0x1d0ea3(0x19b)](),_0x3868ca=_0x5b5177[_0x1d0ea3(0x297)]('_'[_0x1d0ea3(0x38c)](_0x2f3b8a()));return _0x540864(_0x2d2308,''[_0x1d0ea3(0x38c)](_0x37a349),{'defIds':_0x2d2308[_0x1d0ea3(0x3ba)],'idSuffix':_0x3868ca['current']},_0x4e5af7({'ref':_0x884e89,'className':_0x491543},_0x12586a),_0x3416d1);});function _0x540864(_0x32a526,_0x5e6684,_0x21baad,_0x471656,_0x10dc93){const _0x350276=_0x56a808;return _0x5b5177[_0x350276(0x233)](_0x32a526[_0x350276(0x327)],_0x4e5af7(_0x4e5af7({'key':_0x5e6684},_0x1fcf07(_0x32a526,_0x21baad,_0x10dc93)),_0x471656),(_0x48c9e4(_0x32a526,_0x21baad)[_0x350276(0x29e)]||[])['map'](function(_0x425339,_0xea798b){const _0x59e84c=_0x350276;return _0x540864(_0x425339,''[_0x59e84c(0x38c)](_0x5e6684,'-')[_0x59e84c(0x38c)](_0x32a526[_0x59e84c(0x327)],'-')[_0x59e84c(0x38c)](_0xea798b),_0x21baad,void 0x0,_0x10dc93);}));}function _0x1fcf07(_0x72e455,_0x13bf57,_0x2c2337){const _0x2529ea=_0x56a808;var _0x3dea54=_0x4e5af7({},_0x72e455['attrs']);_0x2c2337!=null&&_0x2c2337[_0x2529ea(0x194)]&&_0x3dea54['fill']===_0x2529ea(0x194)&&(_0x3dea54[_0x2529ea(0x202)]=_0x2c2337[_0x2529ea(0x194)]),_0x72e455['tag']===_0x2529ea(0x380)&&_0x3dea54['id']&&(_0x3dea54['id']=_0x3dea54['id']+_0x13bf57[_0x2529ea(0x264)]),Object['entries'](_0x3dea54)['forEach'](function(_0x3ecdf3){const _0xc7f564=_0x2529ea;var _0x3264fb=_0x3ecdf3[0x0],_0x2ae844=_0x3ecdf3[0x1];_0x3264fb===_0xc7f564(0x380)&&typeof _0x2ae844==_0xc7f564(0x3f5)&&(_0x3dea54[_0x3264fb]=_0x2ae844['replace'](/url\(#(.*)\)/,'url(#$1'[_0xc7f564(0x38c)](_0x13bf57[_0xc7f564(0x264)],')')));});var _0x3a871e=_0x13bf57[_0x2529ea(0x3ba)];return!_0x3a871e||_0x3a871e[_0x2529ea(0x192)]===0x0||(_0x72e455['tag']===_0x2529ea(0x26f)&&_0x3dea54[_0x2529ea(0x3ce)]&&(_0x3dea54[_0x2529ea(0x3ce)]=_0x3dea54[_0x2529ea(0x3ce)]+_0x13bf57[_0x2529ea(0x264)]),Object['entries'](_0x3dea54)[_0x2529ea(0x2c8)](function(_0x236408){const _0x42049b=_0x2529ea;var _0x4fb00b=_0x236408[0x0],_0x349d90=_0x236408[0x1];typeof _0x349d90==_0x42049b(0x3f5)&&(_0x3dea54[_0x4fb00b]=_0x349d90[_0x42049b(0x1ce)](/url\(#(.*)\)/,_0x42049b(0x1f7)[_0x42049b(0x38c)](_0x13bf57[_0x42049b(0x264)],')')));})),_0x3dea54;}function _0x48c9e4(_0xd4a1df,_0x468232){const _0x2be383=_0x56a808;var _0x571c8b,_0x52c40a=_0x468232[_0x2be383(0x3ba)];return!_0x52c40a||_0x52c40a[_0x2be383(0x192)]===0x0?_0xd4a1df:_0xd4a1df[_0x2be383(0x327)]===_0x2be383(0x1e4)&&(!((_0x571c8b=_0xd4a1df[_0x2be383(0x29e)])===null||_0x571c8b===void 0x0)&&_0x571c8b['length'])?_0x4e5af7(_0x4e5af7({},_0xd4a1df),{'children':_0xd4a1df['children'][_0x2be383(0x37c)](function(_0x27864c){const _0xe084ba=_0x2be383;return typeof _0x27864c['attrs']['id']=='string'&&_0x52c40a&&_0x52c40a[_0xe084ba(0x402)](_0x27864c[_0xe084ba(0x355)]['id'])>-0x1?_0x4e5af7(_0x4e5af7({},_0x27864c),{'attrs':_0x4e5af7(_0x4e5af7({},_0x27864c[_0xe084ba(0x355)]),{'id':_0x27864c[_0xe084ba(0x355)]['id']+_0x468232['idSuffix']})}):_0x27864c;})}):_0xd4a1df;}function _0x2f3b8a(){const _0x1efe64=_0x56a808;return Math[_0x1efe64(0x366)]()[_0x1efe64(0x237)](0x24)[_0x1efe64(0x25d)](0x2,0x8);}_0x43b3e5['displayName']=_0x56a808(0x1b1);var _0x45c751={'tag':'svg','attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x56a808(0x3ee),'height':_0x56a808(0x3ee)},'children':[{'tag':'g','attrs':{'clipPath':_0x56a808(0x172)},'children':[{'tag':_0x56a808(0x302),'attrs':{'stroke':_0x56a808(0x3aa),'d':_0x56a808(0x179),'strokeLinecap':_0x56a808(0x3ec),'strokeLinejoin':_0x56a808(0x3ec),'strokeWidth':1.2}}]},{'tag':_0x56a808(0x1e4),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x56a808(0x356)},'children':[{'tag':_0x56a808(0x302),'attrs':{'fill':_0x56a808(0x2f9),'d':_0x56a808(0x1c4)}}]}]}],'defIds':[_0x56a808(0x356)]},_0x4a79fa=_0x5b5177[_0x56a808(0x3f1)](function(_0x2911b2,_0x210e79){const _0x56091f=_0x56a808;return _0x5b5177[_0x56091f(0x233)](_0x43b3e5,Object['assign']({},_0x2911b2,{'id':_0x56091f(0x28c),'ref':_0x210e79,'icon':_0x45c751}));});_0x4a79fa['displayName']=_0x56a808(0x2f5);var _0x1805a6={'tag':_0x56a808(0x300),'attrs':{'fill':'none','viewBox':_0x56a808(0x23c),'width':_0x56a808(0x3ee),'height':_0x56a808(0x3ee)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x56a808(0x302),'attrs':{'stroke':_0x56a808(0x3aa),'d':_0x56a808(0x291),'strokeLinecap':_0x56a808(0x3ec),'strokeLinejoin':_0x56a808(0x3ec),'strokeWidth':1.2}}]},{'tag':_0x56a808(0x1e4),'attrs':{},'children':[{'tag':_0x56a808(0x1d3),'attrs':{'id':_0x56a808(0x3d6)},'children':[{'tag':_0x56a808(0x302),'attrs':{'fill':_0x56a808(0x2f9),'d':_0x56a808(0x1c4),'transform':_0x56a808(0x3a9)}}]}]}],'defIds':[_0x56a808(0x3d6)]},_0xf8e77f=_0x5b5177[_0x56a808(0x3f1)](function(_0x24efcd,_0x3a3b99){const _0x525b1e=_0x56a808;return _0x5b5177[_0x525b1e(0x233)](_0x43b3e5,Object['assign']({},_0x24efcd,{'id':'on-line-single','ref':_0x3a3b99,'icon':_0x1805a6}));});_0xf8e77f[_0x56a808(0x24f)]=_0x56a808(0x27d);const _0x1f84dc={'onlineStatusIcon':_0x56a808(0x311),'onlineStatusTitle':'univer-online-status-title','onlineStatus':_0x56a808(0x3ea),'online':_0x56a808(0x262),'offline':_0x56a808(0x30b)};function _0x4f369b(_0x15750c){const _0x4fbd5c=_0x56a808;switch(_0x15750c){case _0x40df25[_0x4fbd5c(0x1fc)][_0x4fbd5c(0x2a5)]:return _0x4fbd5c(0x354);case _0x40df25[_0x4fbd5c(0x1fc)][_0x4fbd5c(0x33b)]:return _0x4fbd5c(0x371);case _0x40df25[_0x4fbd5c(0x1fc)][_0x4fbd5c(0x216)]:return _0x4fbd5c(0x2ac);case _0x40df25[_0x4fbd5c(0x1fc)][_0x4fbd5c(0x25c)]:return'collabStatus.notCollab';case _0x40df25['CollaborationStatus'][_0x4fbd5c(0x163)]:case _0x40df25['CollaborationStatus'][_0x4fbd5c(0x23d)]:return _0x4fbd5c(0x2ef);case _0x40df25[_0x4fbd5c(0x1fc)]['SYNCED']:case _0x40df25[_0x4fbd5c(0x1fc)][_0x4fbd5c(0x24d)]:return _0x4fbd5c(0x261);}}function _0x1d3f70(_0x1b50da){const _0x3a29b0=_0x56a808,{status$:_0x2df217}=_0x1b50da,_0x21ab32=_0x4dfbf7[_0x3a29b0(0x336)](_0x2df217,_0x40df25[_0x3a29b0(0x1fc)][_0x3a29b0(0x25c)]),_0x1fbe33=_0x4dfbf7['useDependency'](_0x4e503f[_0x3a29b0(0x191)]),_0x2b42a6=_0x4dfbf7[_0x3a29b0(0x3b3)](_0x40df25[_0x3a29b0(0x394)]),_0x599f9f=_0x21ab32!==_0x40df25['CollaborationStatus'][_0x3a29b0(0x2a5)],_0x189f99=_0x1fbe33['t'](_0x4f369b(_0x21ab32)),_0x4f999e=_0x6e013f[_0x3a29b0(0x3f7)](_0x1f84dc[_0x3a29b0(0x1a1)],{[_0x1f84dc[_0x3a29b0(0x273)]]:_0x599f9f,[_0x1f84dc[_0x3a29b0(0x29a)]]:!_0x599f9f}),_0x83e7d0=_0x599f9f?_0x7eceac['jsx'](_0xf8e77f,{}):_0x7eceac[_0x3a29b0(0x1d7)](_0x4a79fa,{}),_0x321abd=_0x5b5177[_0x3a29b0(0x38d)](()=>{const _0x4db9cb=_0x3a29b0;_0x599f9f||_0x2b42a6[_0x4db9cb(0x386)]();},[_0x599f9f,_0x2b42a6]);function _0x3559d9(){const _0x102061=_0x3a29b0;return _0x7eceac[_0x102061(0x329)]('div',{'className':_0x6e013f[_0x102061(0x3f7)](_0x4f999e,_0x102061(0x324)),'onClick':_0x321abd,'children':[_0x7eceac['jsx']('div',{'className':_0x1f84dc['onlineStatusIcon'],'children':_0x83e7d0}),_0x7eceac[_0x102061(0x1d7)](_0x102061(0x206),{'className':_0x1f84dc[_0x102061(0x1fa)],'children':_0x189f99})]});}return _0x599f9f?_0x3559d9():_0x7eceac[_0x3a29b0(0x1d7)](_0x6e013f[_0x3a29b0(0x3bd)],{'title':_0x1fbe33['t'](_0x3a29b0(0x246)),'children':_0x3559d9()});}var _0x548857=Object['getOwnPropertyDescriptor'],_0x47f7ce=(_0x4f0a4d,_0x11582c,_0x13d5a7,_0x20a7da)=>{for(var _0x30b2df=_0x20a7da>0x1?void 0x0:_0x20a7da?_0x548857(_0x11582c,_0x13d5a7):_0x11582c,_0x1c6267=_0x4f0a4d['length']-0x1,_0x359cea;_0x1c6267>=0x0;_0x1c6267--)(_0x359cea=_0x4f0a4d[_0x1c6267])&&(_0x30b2df=_0x359cea(_0x30b2df)||_0x30b2df);return _0x30b2df;},_0x25ebc9=(_0x100a0b,_0x18b831)=>(_0x5118d2,_0x107d31)=>_0x18b831(_0x5118d2,_0x107d31,_0x100a0b);_0x2adcf9[_0x56a808(0x381)]=class extends _0x4e503f[_0x56a808(0x215)]{constructor(_0x477865,_0x36121a,_0x37b194,_0x33d829){const _0xd83b9d=_0x56a808;super(),_0x5ea1d6(this,'_status$',new _0x403441[(_0xd83b9d(0x2c0))](_0x40df25[_0xd83b9d(0x1fc)][_0xd83b9d(0x25c)])),(this['_univerInstanceService']=_0x477865,this[_0xd83b9d(0x1c7)]=_0x36121a,this['_collaborationController']=_0x37b194,this[_0xd83b9d(0x334)]=_0x33d829,this[_0xd83b9d(0x2f3)](),this[_0xd83b9d(0x1ae)]());}[_0x56a808(0x1ae)](){const _0x126c0f=_0x56a808;this['disposeWithMe'](this[_0x126c0f(0x3b8)][_0x126c0f(0x38f)][_0x126c0f(0x36e)](_0x403441[_0x126c0f(0x3fb)](()=>{const _0x348bb9=_0x126c0f,_0x47cc85=this['_univerInstanceService']['getFocusedUnit']();return _0x47cc85?this[_0x348bb9(0x3f6)][_0x348bb9(0x272)](_0x47cc85[_0x348bb9(0x2ae)]()):_0x403441['of'](null);}),_0x403441[_0x126c0f(0x3fb)](_0xda3e6c=>_0xda3e6c?_0xda3e6c[_0x126c0f(0x19d)]:_0x403441['of'](_0x40df25[_0x126c0f(0x1fc)][_0x126c0f(0x25c)])))[_0x126c0f(0x2e4)](_0x2be8bd=>{const _0x3a546a=_0x126c0f;this[_0x3a546a(0x34f)][_0x3a546a(0x21a)](_0x2be8bd);}));}['_initStatusComponent'](){const _0xf9cf8=_0x56a808;this[_0xf9cf8(0x30a)](this['_uiPartsService'][_0xf9cf8(0x254)](_0x4dfbf7[_0xf9cf8(0x2c5)][_0xf9cf8(0x307)],()=>_0x4dfbf7[_0xf9cf8(0x16b)](_0x2f9529({'status$':this['_status$'][_0xf9cf8(0x2de)]()}),this['_injector'])));}},_0x2adcf9[_0x56a808(0x381)]=_0x47f7ce([_0x25ebc9(0x0,_0x4e503f['IUniverInstanceService']),_0x25ebc9(0x1,_0x4e503f[_0x56a808(0x1aa)](_0x4e503f[_0x56a808(0x1ac)])),_0x25ebc9(0x2,_0x4e503f[_0x56a808(0x1aa)](_0x40df25[_0x56a808(0x295)])),_0x25ebc9(0x3,_0x4dfbf7[_0x56a808(0x1cd)])],_0x2adcf9[_0x56a808(0x381)]);function _0x2f9529(_0x29ebb2){const {status$:_0x1b7772}=_0x29ebb2;return function(){const _0x6d131b=_0x1918;return _0x7eceac[_0x6d131b(0x1d7)](_0x1d3f70,{'status$':_0x1b7772});};}var _0x6bfaf4=Object[_0x56a808(0x1a6)],_0x12e2bb=(_0x490b71,_0x177d3a,_0x4adaa6,_0x30b2e9)=>{const _0x36e5af=_0x56a808;for(var _0x38591e=_0x30b2e9>0x1?void 0x0:_0x30b2e9?_0x6bfaf4(_0x177d3a,_0x4adaa6):_0x177d3a,_0x578716=_0x490b71[_0x36e5af(0x192)]-0x1,_0x401438;_0x578716>=0x0;_0x578716--)(_0x401438=_0x490b71[_0x578716])&&(_0x38591e=_0x401438(_0x38591e)||_0x38591e);return _0x38591e;},_0x42116f=(_0x79fcdb,_0x1f1111)=>(_0x4c16fc,_0x42c4b9)=>_0x1f1111(_0x4c16fc,_0x42c4b9,_0x79fcdb);let _0x383a72=class extends _0x4e503f[_0x56a808(0x215)]{constructor(_0x3278e5,_0x5b9e53,_0x34f35a,_0x386bb2,_0x4db2c1,_0x6de708){const _0x560340=_0x56a808;super(),this[_0x560340(0x3a5)]=_0x3278e5,this[_0x560340(0x3ed)]=_0x5b9e53,this[_0x560340(0x23f)]=_0x34f35a,this[_0x560340(0x3e5)]=_0x386bb2,this[_0x560340(0x1e3)]=_0x4db2c1,this[_0x560340(0x32c)]=_0x6de708,this[_0x560340(0x35c)](),this[_0x560340(0x205)]();}[_0x56a808(0x35c)](){const _0x381ab4=_0x56a808;this['disposeWithMe'](this[_0x381ab4(0x3a5)][_0x381ab4(0x36d)](()=>{const _0x12479c=_0x381ab4;if(this[_0x12479c(0x3ed)][_0x12479c(0x204)][_0x12479c(0x406)])return this[_0x12479c(0x32c)]['t'](_0x12479c(0x222));}));}[_0x56a808(0x205)](){const _0x2ad5e0=_0x56a808;this[_0x2ad5e0(0x30a)](this[_0x2ad5e0(0x23f)][_0x2ad5e0(0x20a)][_0x2ad5e0(0x2e4)](_0x9e0bb7=>{const _0x39979e=_0x2ad5e0;_0x9e0bb7['id']===_0x40df25[_0x39979e(0x219)][_0x39979e(0x1bb)]&&this[_0x39979e(0x3e5)][_0x39979e(0x1fd)]({'type':_0x6e013f['MessageType'][_0x39979e(0x3fe)],'content':this[_0x39979e(0x32c)]['t'](_0x39979e(0x2df))}),_0x9e0bb7['id']===_0x40df25[_0x39979e(0x219)][_0x39979e(0x289)]&&this[_0x39979e(0x3e5)][_0x39979e(0x1fd)]({'type':_0x6e013f[_0x39979e(0x362)][_0x39979e(0x3fe)],'content':this['_localeService']['t'](_0x39979e(0x3bc))}),_0x9e0bb7['id']===_0x40df25['CollaborationUIEventId']['PERMISSION_DENIED']&&this['_notificationService'][_0x39979e(0x1fd)]({'title':this['_localeService']['t']('permission.title'),'content':this['_localeService']['t'](_0x39979e(0x3ac)),'type':_0x39979e(0x3dc),'duration':0x0}),_0x9e0bb7['id']===_0x40df25[_0x39979e(0x219)]['CONFLICT']&&this['_messageService'][_0x39979e(0x1fd)]({'type':_0x6e013f[_0x39979e(0x362)][_0x39979e(0x186)],'content':this[_0x39979e(0x32c)]['t'](_0x39979e(0x3bc))+'('+_0x9e0bb7[_0x39979e(0x2b2)]+')'}),_0x9e0bb7['id']===_0x40df25['CollaborationUIEventId'][_0x39979e(0x279)]&&this[_0x39979e(0x3e5)]['show']({'type':_0x6e013f[_0x39979e(0x362)][_0x39979e(0x3fe)],'content':this['_localeService']['t'](_0x9e0bb7[_0x39979e(0x2b2)]||'')}),_0x9e0bb7['id']===_0x40df25['CollaborationUIEventId'][_0x39979e(0x189)]&&this['_messageService'][_0x39979e(0x1fd)]({'type':_0x6e013f['MessageType']['Warning'],'content':this[_0x39979e(0x32c)]['t'](_0x39979e(0x345))}),_0x9e0bb7['id']===_0x40df25[_0x39979e(0x219)][_0x39979e(0x1a2)]&&this['_messageService'][_0x39979e(0x1fd)]({'type':_0x6e013f['MessageType'][_0x39979e(0x186)],'content':this['_localeService']['t']('session.connection-failed')}),_0x9e0bb7['id']===_0x40df25[_0x39979e(0x219)][_0x39979e(0x2e2)]&&this[_0x39979e(0x3e5)]['show']({'type':_0x6e013f[_0x39979e(0x362)][_0x39979e(0x186)],'content':this[_0x39979e(0x32c)]['t'](_0x39979e(0x3b0))});}));}};_0x383a72=_0x12e2bb([_0x42116f(0x0,_0x4dfbf7['IBeforeCloseService']),_0x42116f(0x1,_0x40df25[_0x56a808(0x30d)]),_0x42116f(0x2,_0x4e503f['Inject'](_0x40df25[_0x56a808(0x1a9)])),_0x42116f(0x3,_0x4dfbf7[_0x56a808(0x330)]),_0x42116f(0x4,_0x4dfbf7['INotificationService']),_0x42116f(0x5,_0x4e503f[_0x56a808(0x1aa)](_0x4e503f[_0x56a808(0x191)]))],_0x383a72);const _0x22e4e4=_0x56a808(0x1c3),_0xea6b30={},_0x23099d=_0x4e503f[_0x56a808(0x343)](_0x56a808(0x328));var _0x32d1c3=Object[_0x56a808(0x1a6)],_0x556fff=(_0x1d2027,_0x2bc24d,_0x4a4cea,_0x1161a1)=>{const _0x494251=_0x56a808;for(var _0x2a0a84=_0x1161a1>0x1?void 0x0:_0x1161a1?_0x32d1c3(_0x2bc24d,_0x4a4cea):_0x2bc24d,_0x1d0b82=_0x1d2027[_0x494251(0x192)]-0x1,_0x458516;_0x1d0b82>=0x0;_0x1d0b82--)(_0x458516=_0x1d2027[_0x1d0b82])&&(_0x2a0a84=_0x458516(_0x2a0a84)||_0x2a0a84);return _0x2a0a84;},_0x3a5a7f=(_0x24dc2c,_0x2f3889)=>(_0x1f41d8,_0x19a931)=>_0x2f3889(_0x1f41d8,_0x19a931,_0x24dc2c);_0x2adcf9[_0x56a808(0x2e1)]=class extends _0x4e503f[_0x56a808(0x2f0)]{constructor(_0x4bab07,_0x463a9f,_0x32d329,_0x1ee0c3,_0x184fd9){const _0x447e25=_0x56a808;super(),this['_urlService']=_0x4bab07,this['_logService']=_0x463a9f,this['_commandService']=_0x32d329,this['_dataLoaderService']=_0x1ee0c3,_0x184fd9?_0x184fd9==null||_0x184fd9[_0x447e25(0x17a)]()[_0x447e25(0x2e6)](()=>this[_0x447e25(0x17f)]()):(this[_0x447e25(0x165)]['debug'](_0x447e25(0x326),_0x447e25(0x1ed)),this[_0x447e25(0x17f)]());}async[_0x56a808(0x17f)](){const _0x3aeb35=_0x56a808,_0x1e1472=this['_urlService'][_0x3aeb35(0x213)]('unit'),_0x55bcee=this[_0x3aeb35(0x34b)][_0x3aeb35(0x213)](_0x3aeb35(0x31d)),_0x17d530=this[_0x3aeb35(0x34b)][_0x3aeb35(0x213)](_0x3aeb35(0x3cb));if(!_0x1e1472||!_0x55bcee){this[_0x3aeb35(0x165)][_0x3aeb35(0x2bb)](_0x3aeb35(0x326),_0x3aeb35(0x377));return;}const _0x2ebd82=await this[_0x3aeb35(0x401)][_0x3aeb35(0x37b)](_0x1e1472,Number(_0x55bcee),_0x17d530);_0x2ebd82&&_0x2ebd82 instanceof _0x4e503f[_0x3aeb35(0x271)]&&this[_0x3aeb35(0x18b)](_0x2ebd82);}async[_0x56a808(0x18b)](_0x35c4ff){const _0x306e70=_0x56a808;await this[_0x306e70(0x37f)](_0x35c4ff),_0x35c4ff[_0x306e70(0x24c)][_0x306e70(0x36e)](_0x403441[_0x306e70(0x27c)](this[_0x306e70(0x2d3)]))[_0x306e70(0x2e4)](_0x4a5686=>{const _0x1919be=_0x306e70;_0x4a5686&&this[_0x1919be(0x1d4)](_0x4a5686);}),this[_0x306e70(0x34b)][_0x306e70(0x281)][_0x306e70(0x36e)](_0x403441[_0x306e70(0x27c)](this[_0x306e70(0x2d3)]))[_0x306e70(0x2e4)](()=>this[_0x306e70(0x37f)](_0x35c4ff));}['_updateURLWithCurrentState'](_0x3df976,_0x1faa10=!0x1){const _0x3cfb04=_0x56a808,_0xba68c8=this[_0x3cfb04(0x34b)][_0x3cfb04(0x213)](_0x3cfb04(0x3cb));_0x3df976[_0x3cfb04(0x3a7)]()!==_0xba68c8&&this[_0x3cfb04(0x34b)][_0x3cfb04(0x2f7)](_0x3cfb04(0x3cb),_0x3df976[_0x3cfb04(0x3a7)](),_0x1faa10);}async['_updateSubUnitFromURLParams'](_0x395275){const _0x2f0ebd=_0x56a808;var _0x1b751c;const _0x5e52c8=this[_0x2f0ebd(0x34b)][_0x2f0ebd(0x213)](_0x2f0ebd(0x3cb));if(!_0x5e52c8||!_0x395275['getSheetBySheetId'](_0x5e52c8)){const _0x20f4c0=_0x395275[_0x2f0ebd(0x2be)]()[0x0],_0x1461d5=_0x395275[_0x2f0ebd(0x26c)](_0x20f4c0);if(!_0x1461d5)return;this[_0x2f0ebd(0x1d4)](_0x1461d5,!0x0),await this[_0x2f0ebd(0x278)][_0x2f0ebd(0x3a6)](_0x2d0709[_0x2f0ebd(0x375)]['id'],{'unitId':_0x395275['getUnitId'](),'subUnitId':_0x20f4c0});return;}((_0x1b751c=_0x395275[_0x2f0ebd(0x256)]())==null?void 0x0:_0x1b751c['getSheetId']())!==_0x5e52c8&&await this[_0x2f0ebd(0x278)][_0x2f0ebd(0x3a6)](_0x2d0709[_0x2f0ebd(0x375)]['id'],{'unitId':_0x395275[_0x2f0ebd(0x2ae)](),'subUnitId':_0x5e52c8});}},_0x2adcf9[_0x56a808(0x2e1)]=_0x556fff([_0x3a5a7f(0x0,_0x23099d),_0x3a5a7f(0x1,_0x4e503f[_0x56a808(0x3f4)]),_0x3a5a7f(0x2,_0x4e503f[_0x56a808(0x38b)]),_0x3a5a7f(0x3,_0x4e503f[_0x56a808(0x1aa)](_0x40df25[_0x56a808(0x30f)])),_0x3a5a7f(0x4,_0x4e503f[_0x56a808(0x1fe)](_0x53410d[_0x56a808(0x288)]))],_0x2adcf9['CollaborationDataLoaderController']);var _0x3f8809=Object[_0x56a808(0x1a6)],_0x3db323=(_0x17ef9e,_0x47de53,_0x1addf2,_0x4cca1f)=>{const _0x23a66f=_0x56a808;for(var _0x58c31d=_0x4cca1f>0x1?void 0x0:_0x4cca1f?_0x3f8809(_0x47de53,_0x1addf2):_0x47de53,_0x5a7326=_0x17ef9e[_0x23a66f(0x192)]-0x1,_0x20a789;_0x5a7326>=0x0;_0x5a7326--)(_0x20a789=_0x17ef9e[_0x5a7326])&&(_0x58c31d=_0x20a789(_0x58c31d)||_0x58c31d);return _0x58c31d;},_0x24db6d=(_0x36c1ae,_0x3dc153)=>(_0x2b0a75,_0x43e63b)=>_0x3dc153(_0x2b0a75,_0x43e63b,_0x36c1ae);let _0x4b7dcf=class{constructor(_0x786050,_0x1656d4,_0x1666e1){this['_injector']=_0x786050,this['_transformService']=_0x1656d4,this['_renderManagerService']=_0x1666e1;}[_0x56a808(0x20b)](_0x15a020){const _0x5ad639=_0x56a808;this[_0x5ad639(0x210)](_0x15a020),this['_transformPreviousActiveRange'](_0x15a020);}[_0x56a808(0x32d)](_0x199b40){const _0x5c561b=_0x56a808,{unitID:_0x4c2a92}=_0x199b40,_0x2558a2=this['_renderManagerService'][_0x5c561b(0x265)](_0x4c2a92)[_0x5c561b(0x247)](_0x6a13cb[_0x5c561b(0x287)]),{redoCache:_0x4abb48}=_0x2558a2[_0x5c561b(0x1ab)]();if(_0x4abb48[_0x5c561b(0x192)]===0x0)return _0x199b40;let _0x499378=_0x4e503f[_0x5c561b(0x290)]['deepClone'](_0x199b40[_0x5c561b(0x1b0)][0x0]);for(let _0x178d29=0x0;_0x178d29<_0x4abb48[_0x5c561b(0x192)];_0x178d29++){const _0x4cc2c8={'id':_0x5c561b(0x260),'params':{..._0x4abb48[_0x178d29]}},_0x5338f2=this[_0x5c561b(0x2ab)][_0x5c561b(0x225)](_0x499378,_0x4cc2c8,!0x1);if(_0x314491['isTransformMutationFailure'](_0x5338f2))throw _0x5338f2[_0x5c561b(0x3dc)];_0x499378=_0x5338f2[_0x5c561b(0x2a0)];}return{..._0x4e503f[_0x5c561b(0x290)]['deepClone'](_0x199b40),'mutations':[_0x499378]};}['_transformUndoRedoStack'](_0x4978b6){const _0x5b6121=_0x56a808,{unitID:_0x534012}=_0x4978b6,_0x35984c=this[_0x5b6121(0x18c)][_0x5b6121(0x265)](_0x534012)['with'](_0x6a13cb[_0x5b6121(0x287)]),{undoCache:_0xdfc0d1,redoCache:_0x21c100}=_0x35984c[_0x5b6121(0x1ab)]();if(_0xdfc0d1['length']===0x0||_0x21c100[_0x5b6121(0x192)]===0x0)return;const _0x3f463b=[],_0x2de700=[];let _0x540481=_0x4e503f[_0x5b6121(0x290)][_0x5b6121(0x2cf)](_0x4978b6['mutations'][0x0]),_0x30b17d=_0x4e503f['Tools'][_0x5b6121(0x2cf)](_0x4978b6[_0x5b6121(0x1b0)][0x0]);for(let _0xeef5f6=_0xdfc0d1[_0x5b6121(0x192)]-0x1;_0xeef5f6>=0x0;_0xeef5f6--){const _0x4810d3={'id':_0x5b6121(0x260),'params':{..._0xdfc0d1[_0xeef5f6]}},_0x19dc5e={'id':_0x5b6121(0x260),'params':{..._0x21c100[_0xeef5f6]}},_0x4b6b90=this['_transformService'][_0x5b6121(0x225)](_0x540481,_0x4810d3,!0x1),_0x444f6d=this['_transformService'][_0x5b6121(0x225)](_0x30b17d,_0x19dc5e,!0x1);if(_0x314491[_0x5b6121(0x1d6)](_0x4b6b90))throw _0x4b6b90[_0x5b6121(0x3dc)];if(_0x314491[_0x5b6121(0x1d6)](_0x444f6d))throw _0x444f6d[_0x5b6121(0x3dc)];_0x3f463b['unshift'](_0x4b6b90['m2Prime'][_0x5b6121(0x3e4)]),_0x2de700[_0x5b6121(0x1a5)](_0x444f6d[_0x5b6121(0x2a9)][_0x5b6121(0x3e4)]),_0x540481=_0x4b6b90[_0x5b6121(0x2a0)],_0x30b17d=_0x444f6d[_0x5b6121(0x2a0)];}_0x35984c[_0x5b6121(0x2a1)]({'undoCache':_0x3f463b,'redoCache':_0x2de700});}[_0x56a808(0x3cf)](_0x2780f8){const _0x405ae3=_0x56a808,{unitID:_0x3f9de7}=_0x2780f8,_0x78d990=this['_renderManagerService'][_0x405ae3(0x265)](_0x3f9de7)[_0x405ae3(0x247)](_0x6a13cb[_0x405ae3(0x287)]),_0x160df4=_0x78d990['getActiveRange']();if(_0x160df4==null)return;const _0xe00437=[{'id':_0x405ae3(0x260),'params':{'unitId':_0x2780f8['unitID'],'actions':null,'textRanges':[_0x160df4]}}],_0x2bb1c7=this[_0x405ae3(0x2ab)][_0x405ae3(0x1f6)](_0x2780f8,_0xe00437);if(!_0x314491[_0x405ae3(0x2d6)](_0x2bb1c7))throw _0x2bb1c7[_0x405ae3(0x3dc)];const _0x14961d=_0x2bb1c7['m2Prime'][0x0]['params']['textRanges'];Array[_0x405ae3(0x3d9)](_0x14961d)&&_0x14961d[_0x405ae3(0x192)]&&_0x78d990[_0x405ae3(0x358)](_0x14961d[0x0]);}};_0x4b7dcf=_0x3db323([_0x24db6d(0x0,_0x4e503f['Inject'](_0x4e503f['Injector'])),_0x24db6d(0x1,_0x314491[_0x56a808(0x376)]),_0x24db6d(0x2,_0x29ef04[_0x56a808(0x2fe)])],_0x4b7dcf);var _0x21a0bf=Object['getOwnPropertyDescriptor'],_0xbfc787=(_0x6b57b,_0x22f8ef,_0x4c1800,_0x41672e)=>{const _0x2ca341=_0x56a808;for(var _0x86ba12=_0x41672e>0x1?void 0x0:_0x41672e?_0x21a0bf(_0x22f8ef,_0x4c1800):_0x22f8ef,_0x4b0b0a=_0x6b57b[_0x2ca341(0x192)]-0x1,_0x745915;_0x4b0b0a>=0x0;_0x4b0b0a--)(_0x745915=_0x6b57b[_0x4b0b0a])&&(_0x86ba12=_0x745915(_0x86ba12)||_0x86ba12);return _0x86ba12;},_0x585250=(_0x504d5a,_0x26bbfc)=>(_0x27abf2,_0x45ddd7)=>_0x26bbfc(_0x27abf2,_0x45ddd7,_0x504d5a);let _0x4beda7=class{constructor(_0x191ecd,_0x5be67b,_0x366221){const _0x1ca54d=_0x56a808;this['_injector']=_0x191ecd,this[_0x1ca54d(0x2ab)]=_0x5be67b,this[_0x1ca54d(0x1d0)]=_0x366221;}['transformStateCache'](_0x224582){const _0x176e31=_0x56a808;this[_0x176e31(0x190)](_0x224582);}[_0x56a808(0x32d)](_0x39f84){const _0x1a5e8a=_0x56a808,{unitID:_0x2d10c6}=_0x39f84,{collaboration:_0x6fa62c}=this['_docStateChangeManagerService'][_0x1a5e8a(0x1e1)](_0x2d10c6);if(_0x6fa62c[_0x1a5e8a(0x192)]===0x0)return _0x39f84;let _0x5bb8c3=_0x4e503f[_0x1a5e8a(0x290)][_0x1a5e8a(0x2cf)](_0x39f84[_0x1a5e8a(0x1b0)][0x0]);for(let _0x5ffdf7=0x0;_0x5ffdf7<_0x6fa62c[_0x1a5e8a(0x192)];_0x5ffdf7++){const _0x353c04={'id':_0x1a5e8a(0x260),'params':{'unitId':_0x6fa62c[_0x5ffdf7][_0x1a5e8a(0x1c5)],..._0x6fa62c[_0x5ffdf7]['redoState']}},_0x38b9e0=this['_transformService'][_0x1a5e8a(0x225)](_0x5bb8c3,_0x353c04,!0x1);if(_0x314491[_0x1a5e8a(0x1d6)](_0x38b9e0))throw _0x38b9e0['error'];_0x5bb8c3=_0x38b9e0['m1Prime'];}return{..._0x4e503f['Tools'][_0x1a5e8a(0x2cf)](_0x39f84),'mutations':[_0x5bb8c3]};}[_0x56a808(0x190)](_0x573808){const _0x2206b1=_0x56a808,{unitID:_0x186940}=_0x573808,{history:_0x3a7eb0,collaboration:_0x1bad18}=this['_docStateChangeManagerService'][_0x2206b1(0x1e1)](_0x186940);if(_0x3a7eb0['length']===0x0&&_0x1bad18[_0x2206b1(0x192)]===0x0)return;const _0x4dff4d=[],_0x554ace=[];let _0x43fbac=_0x4e503f[_0x2206b1(0x290)]['deepClone'](_0x573808[_0x2206b1(0x1b0)][0x0]),_0x4d9663=_0x4e503f[_0x2206b1(0x290)][_0x2206b1(0x2cf)](_0x573808['mutations'][0x0]);for(let _0x4428fd=_0x3a7eb0[_0x2206b1(0x192)]-0x1;_0x4428fd>=0x0;_0x4428fd--){const _0x4acdac={'id':_0x2206b1(0x260),'params':{'unitId':_0x3a7eb0[_0x4428fd][_0x2206b1(0x1c5)],..._0x3a7eb0[_0x4428fd][_0x2206b1(0x263)]}},_0x3ba51d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3a7eb0[_0x4428fd][_0x2206b1(0x1c5)],..._0x3a7eb0[_0x4428fd][_0x2206b1(0x173)]}},_0x151ba6=this[_0x2206b1(0x2ab)][_0x2206b1(0x225)](_0x43fbac,_0x4acdac,!0x1),_0x20801e=this[_0x2206b1(0x2ab)]['transformMutation'](_0x4d9663,_0x3ba51d,!0x1);if(_0x314491[_0x2206b1(0x1d6)](_0x151ba6))throw _0x151ba6[_0x2206b1(0x3dc)];if(_0x314491['isTransformMutationFailure'](_0x20801e))throw _0x20801e[_0x2206b1(0x3dc)];_0x4dff4d[_0x2206b1(0x1a5)]({..._0x3a7eb0[_0x4428fd],'undoState':_0x151ba6[_0x2206b1(0x2a9)][_0x2206b1(0x3e4)],'redoState':_0x20801e[_0x2206b1(0x2a9)]['params']}),_0x43fbac=_0x151ba6[_0x2206b1(0x2a0)],_0x4d9663=_0x20801e[_0x2206b1(0x2a0)];}_0x43fbac=_0x4e503f[_0x2206b1(0x290)]['deepClone'](_0x573808[_0x2206b1(0x1b0)][0x0]),_0x4d9663=_0x4e503f[_0x2206b1(0x290)][_0x2206b1(0x2cf)](_0x573808[_0x2206b1(0x1b0)][0x0]);for(let _0xe24c73=_0x1bad18[_0x2206b1(0x192)]-0x1;_0xe24c73>=0x0;_0xe24c73--){const _0x39cb7e={'id':_0x2206b1(0x260),'params':{'unitId':_0x1bad18[_0xe24c73]['unitId'],..._0x1bad18[_0xe24c73][_0x2206b1(0x263)]}},_0x19874c={'id':_0x2206b1(0x260),'params':{'unitId':_0x1bad18[_0xe24c73][_0x2206b1(0x1c5)],..._0x1bad18[_0xe24c73][_0x2206b1(0x173)]}},_0xa24d37=this['_transformService']['transformMutation'](_0x43fbac,_0x39cb7e,!0x1),_0x48b3ec=this['_transformService'][_0x2206b1(0x225)](_0x4d9663,_0x19874c,!0x1);if(_0x314491[_0x2206b1(0x1d6)](_0xa24d37))throw _0xa24d37[_0x2206b1(0x3dc)];if(_0x314491['isTransformMutationFailure'](_0x48b3ec))throw _0x48b3ec[_0x2206b1(0x3dc)];_0x554ace[_0x2206b1(0x1a5)]({..._0x1bad18[_0xe24c73],'undoState':_0xa24d37[_0x2206b1(0x2a9)][_0x2206b1(0x3e4)],'redoState':_0x48b3ec[_0x2206b1(0x2a9)][_0x2206b1(0x3e4)]}),_0x43fbac=_0xa24d37['m1Prime'],_0x4d9663=_0x48b3ec[_0x2206b1(0x2a0)];}this['_docStateChangeManagerService'][_0x2206b1(0x1f1)](_0x186940,{'history':_0x4dff4d,'collaboration':_0x554ace});}};_0x4beda7=_0xbfc787([_0x585250(0x0,_0x4e503f[_0x56a808(0x1aa)](_0x4e503f[_0x56a808(0x1ac)])),_0x585250(0x1,_0x314491[_0x56a808(0x376)]),_0x585250(0x2,_0x4e503f[_0x56a808(0x1aa)](_0x6a13cb[_0x56a808(0x197)]))],_0x4beda7);var _0x273a33=Object[_0x56a808(0x1a6)],_0x15ef26=(_0x583279,_0x1bfc99,_0x3a8b1e,_0x41d411)=>{const _0x394174=_0x56a808;for(var _0x51a08c=_0x41d411>0x1?void 0x0:_0x41d411?_0x273a33(_0x1bfc99,_0x3a8b1e):_0x1bfc99,_0x4c96e6=_0x583279[_0x394174(0x192)]-0x1,_0xed4b88;_0x4c96e6>=0x0;_0x4c96e6--)(_0xed4b88=_0x583279[_0x4c96e6])&&(_0x51a08c=_0xed4b88(_0x51a08c)||_0x51a08c);return _0x51a08c;},_0x35972f=(_0x3e0540,_0xde7826)=>(_0x189f4e,_0x477e77)=>_0xde7826(_0x189f4e,_0x477e77,_0x3e0540);let _0x5cb811=class{constructor(_0x45191f,_0x1cbaf4){const _0xde7ac2=_0x56a808;this[_0xde7ac2(0x1c7)]=_0x45191f,this[_0xde7ac2(0x2ab)]=_0x1cbaf4;}['transformSelections'](_0x12e1c0){const _0x31ac07=_0x56a808;var _0x330676;const _0x38f807=this[_0x31ac07(0x1c7)]['get'](_0x1837ce[_0x31ac07(0x27b)]),_0x69cdbe=(_0x330676=_0x38f807[_0x31ac07(0x180)]())!=null?_0x330676:[];if(_0x69cdbe['length']===0x0)return;const _0x14b71c=_0x12e1c0[_0x31ac07(0x397)],_0x215477=[{'id':_0x31ac07(0x260),'params':{'unitId':_0x14b71c,'actions':null,'textRanges':_0x69cdbe}}],_0x758c69=this['_transformService'][_0x31ac07(0x1f6)](_0x12e1c0,_0x215477);if(!_0x314491[_0x31ac07(0x2d6)](_0x758c69))throw _0x758c69[_0x31ac07(0x3dc)];const _0x51974a=_0x758c69[_0x31ac07(0x2a9)][0x0][_0x31ac07(0x3e4)][_0x31ac07(0x36c)];Array['isArray'](_0x51974a)&&_0x51974a[_0x31ac07(0x192)]&&_0x38f807[_0x31ac07(0x1c2)](_0x51974a,{'unitId':_0x14b71c,'subUnitId':_0x14b71c},!0x1);}};_0x5cb811=_0x15ef26([_0x35972f(0x0,_0x4e503f[_0x56a808(0x1aa)](_0x4e503f[_0x56a808(0x1ac)])),_0x35972f(0x1,_0x314491[_0x56a808(0x376)])],_0x5cb811);var _0x272793=Object[_0x56a808(0x1a6)],_0x579cf3=(_0x3dfec7,_0x6810a5,_0x13bd17,_0x5d5a96)=>{const _0x18fe20=_0x56a808;for(var _0x460b26=_0x5d5a96>0x1?void 0x0:_0x5d5a96?_0x272793(_0x6810a5,_0x13bd17):_0x6810a5,_0x502cd2=_0x3dfec7[_0x18fe20(0x192)]-0x1,_0x4e59d5;_0x502cd2>=0x0;_0x502cd2--)(_0x4e59d5=_0x3dfec7[_0x502cd2])&&(_0x460b26=_0x4e59d5(_0x460b26)||_0x460b26);return _0x460b26;},_0x477e7a=(_0x457aeb,_0x156927)=>(_0x2d343c,_0x219999)=>_0x156927(_0x2d343c,_0x219999,_0x457aeb);let _0x23a964=class extends _0x4e503f[_0x56a808(0x215)]{constructor(_0x25e965,_0xf1e77,_0x4363c8,_0x5d4cc7,_0x30c652,_0x37e360,_0x3dabb1,_0x264980){const _0x110c0b=_0x56a808;super(),_0x5ea1d6(this,_0x110c0b(0x34f),new _0x403441[(_0x110c0b(0x2c0))](_0x40df25[_0x110c0b(0x1fc)][_0x110c0b(0x25c)])),(this[_0x110c0b(0x1d0)]=_0x25e965,this[_0x110c0b(0x3f6)]=_0xf1e77,this[_0x110c0b(0x3b7)]=_0x4363c8,this[_0x110c0b(0x21c)]=_0x5d4cc7,this[_0x110c0b(0x344)]=_0x30c652,this['_docSyncEditingCollabCursorService']=_0x37e360,this['_messageService']=_0x3dabb1,this[_0x110c0b(0x32c)]=_0x264980,this['_initEntityListener']());}['_initEntityListener'](){const _0x22c234=_0x56a808;this['disposeWithMe'](this[_0x22c234(0x3f6)][_0x22c234(0x3b5)][_0x22c234(0x2e4)](_0x149006=>{const _0x4227c1=_0x22c234,_0x30223d=this[_0x4227c1(0x1d0)][_0x4227c1(0x319)][_0x4227c1(0x2e4)](_0x584f22=>{const _0x3bf063=_0x4227c1;if(_0x584f22==null)return;const {unitId:_0x98c76a,redoState:_0x194d32,commandId:_0x5aff25}=_0x584f22;if(_0x98c76a!==_0x149006[_0x3bf063(0x397)])return;const _0x22d383={'id':_0x5aff25,'type':_0x4e503f[_0x3bf063(0x1c0)][_0x3bf063(0x2b6)],'params':{'unitId':_0x98c76a,'actions':_0x194d32[_0x3bf063(0x33c)],'textRanges':null}};_0x149006[_0x3bf063(0x3be)](_0x22d383);});if(_0x149006['disposeWithMe'](_0x30223d),_0x149006 instanceof _0x40df25['DocCollaborationEntity']){const _0x540309={'onTransformIME':_0x27f8fa=>this['_docTransformIMECacheService'][_0x4227c1(0x20b)](_0x27f8fa),'onTransformState':_0x6a7840=>this['_docTransformStateCacheService']['transformStateCache'](_0x6a7840),'onTransformSelections':_0x50bc53=>this[_0x4227c1(0x344)][_0x4227c1(0x1e2)](_0x50bc53),'onSyncEditingCollabCursor':_0x41d80f=>this[_0x4227c1(0x177)][_0x4227c1(0x17b)](_0x41d80f),'onTransformRemoteChangesetByIMECache':_0x5c1de1=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x5c1de1),'onTransformRemoteChangesetByStateCache':_0x5a3fda=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x5a3fda)};_0x149006[_0x4227c1(0x212)](_0x540309);}}));}};_0x23a964=_0x579cf3([_0x477e7a(0x0,_0x4e503f[_0x56a808(0x1aa)](_0x6a13cb[_0x56a808(0x197)])),_0x477e7a(0x1,_0x4e503f[_0x56a808(0x1aa)](_0x40df25[_0x56a808(0x295)])),_0x477e7a(0x2,_0x4e503f[_0x56a808(0x1aa)](_0x4b7dcf)),_0x477e7a(0x3,_0x4e503f[_0x56a808(0x1aa)](_0x4beda7)),_0x477e7a(0x4,_0x4e503f[_0x56a808(0x1aa)](_0x5cb811)),_0x477e7a(0x5,_0x4e503f[_0x56a808(0x1aa)](_0x569d4e)),_0x477e7a(0x6,_0x4dfbf7['IMessageService']),_0x477e7a(0x7,_0x4e503f['Inject'](_0x4e503f['LocaleService']))],_0x23a964);var _0x2d0b23=Object[_0x56a808(0x1a6)],_0x21fe9b=(_0xc29561,_0x4c98cd,_0x4b45fe,_0x5915d4)=>{const _0x199be2=_0x56a808;for(var _0x3f91c8=_0x5915d4>0x1?void 0x0:_0x5915d4?_0x2d0b23(_0x4c98cd,_0x4b45fe):_0x4c98cd,_0x593254=_0xc29561[_0x199be2(0x192)]-0x1,_0x1643b8;_0x593254>=0x0;_0x593254--)(_0x1643b8=_0xc29561[_0x593254])&&(_0x3f91c8=_0x1643b8(_0x3f91c8)||_0x3f91c8);return _0x3f91c8;},_0x15e9d2=(_0x4d57dc,_0x334e73)=>(_0x3ebe56,_0x32743c)=>_0x334e73(_0x3ebe56,_0x32743c,_0x4d57dc);let _0x69d38a=class extends _0x4e503f[_0x56a808(0x215)]{constructor(_0x4686d1,_0x544333,_0x4f4a25){const _0x4b6f5c=_0x56a808;super(),_0x5ea1d6(this,_0x4b6f5c(0x3b2),new Map()),_0x5ea1d6(this,_0x4b6f5c(0x405),new Map()),_0x5ea1d6(this,_0x4b6f5c(0x199),!0x1),(this['_configService']=_0x4686d1,this[_0x4b6f5c(0x29f)]=_0x544333,this[_0x4b6f5c(0x29b)]=_0x4f4a25);}[_0x56a808(0x245)](){const _0x29ab45=_0x56a808;this[_0x29ab45(0x199)]=!0x0;}['enableLocalCache'](){const _0x41e339=_0x56a808;this[_0x41e339(0x199)]=!0x1;}get[_0x56a808(0x204)](){const _0xfdbc09=_0x56a808;return this[_0xfdbc09(0x405)];}[_0x56a808(0x331)](){const _0x29b70a=_0x56a808;this[_0x29b70a(0x196)]()['then'](()=>super[_0x29b70a(0x331)]());}async[_0x56a808(0x211)](_0xa6d70b){const _0x22b8c5=_0x56a808;return this[_0x22b8c5(0x199)]?null:this[_0x22b8c5(0x29f)][_0x22b8c5(0x296)](_0x40df25[_0x22b8c5(0x23a)](_0xa6d70b));}async['saveOfflineData'](_0x5dcd84,_0x4e066c){const _0x513e3b=_0x56a808;return!!this['_localStorageService'][_0x513e3b(0x217)](_0x5dcd84,_0x4e066c);}['updateOfflineData'](_0x184c13,_0x382dd1,_0x2045b1,_0x1c49f6){const _0x279ff0=_0x56a808,_0x42e562=this['_revisionService'][_0x279ff0(0x1f5)](_0x184c13);this[_0x279ff0(0x3b2)][_0x279ff0(0x2ca)](_0x184c13,{'unitID':_0x184c13,'type':_0x382dd1,'awaitingChangeset':_0x2045b1,'mutations':_0x1c49f6,'rev':_0x42e562}),this[_0x279ff0(0x405)][_0x279ff0(0x277)](_0x184c13)||this['_scheduleSaving'](_0x184c13);}[_0x56a808(0x359)](_0x351899){const _0x18d61f=_0x56a808,_0x5d18f8=this['_getSaveTimeout']();_0x5d18f8===0x0?this[_0x18d61f(0x183)](_0x351899):this[_0x18d61f(0x405)][_0x18d61f(0x2ca)](_0x351899,setTimeout(()=>this[_0x18d61f(0x183)](_0x351899),_0x5d18f8));}['_getSaveTimeout'](){const _0x27efa4=_0x56a808;var _0x809e69;return(_0x809e69=this[_0x27efa4(0x242)]['getConfig'](_0x40df25[_0x27efa4(0x22e)]))!=null?_0x809e69:_0x40df25[_0x27efa4(0x18d)];}[_0x56a808(0x183)](_0x5edb51){const _0x4e866e=_0x56a808,_0x1dbaff=this[_0x4e866e(0x405)][_0x4e866e(0x3c2)](_0x5edb51);return _0x1dbaff!==void 0x0&&window['clearTimeout'](_0x1dbaff),this['_localStorageService'][_0x4e866e(0x217)](_0x40df25[_0x4e866e(0x23a)](_0x5edb51),this['_cachedData'][_0x4e866e(0x3c2)](_0x5edb51))[_0x4e866e(0x2e6)](()=>this[_0x4e866e(0x405)][_0x4e866e(0x400)](_0x5edb51));}async[_0x56a808(0x196)](){const _0x1ee741=_0x56a808,_0x3fdc4d=[];this[_0x1ee741(0x405)][_0x1ee741(0x2c8)]((_0x50adca,_0x204005)=>{const _0x5ae8ab=_0x1ee741;window[_0x5ae8ab(0x267)](_0x50adca),_0x3fdc4d[_0x5ae8ab(0x249)](this[_0x5ae8ab(0x183)](_0x204005)[_0x5ae8ab(0x2e6)](()=>{const _0x1a3eae=_0x5ae8ab;this[_0x1a3eae(0x405)][_0x1a3eae(0x400)](_0x204005);}));}),await Promise['all'](_0x3fdc4d);}};_0x69d38a=_0x21fe9b([_0x15e9d2(0x0,_0x4e503f[_0x56a808(0x303)]),_0x15e9d2(0x1,_0x4e503f[_0x56a808(0x2dd)]),_0x15e9d2(0x2,_0x4e503f[_0x56a808(0x1aa)](_0x314491[_0x56a808(0x2fa)]))],_0x69d38a);class _0x45e85b extends _0x4e503f[_0x56a808(0x2f0)]{constructor(){const _0x5ae236=_0x56a808;super(),_0x5ea1d6(this,_0x5ae236(0x281)),this['urlChange$']=_0x403441['fromEvent'](window,_0x5ae236(0x176))[_0x5ae236(0x36e)](_0x403441[_0x5ae236(0x27c)](this[_0x5ae236(0x2d3)]),_0x403441[_0x5ae236(0x342)](0x1),_0x403441[_0x5ae236(0x1dd)](void 0x0));}[_0x56a808(0x2f7)](_0xf1ff6e,_0x1817c6,_0x3d5079=!0x1){const _0x1a86ca=_0x56a808,_0x4e031a=new URL(window['location'][_0x1a86ca(0x313)]);_0x4e031a[_0x1a86ca(0x228)][_0x1a86ca(0x2ca)](_0xf1ff6e,_0x1817c6),_0x3d5079?window[_0x1a86ca(0x1f3)]['replaceState']('','',_0x4e031a[_0x1a86ca(0x237)]()):window['history'][_0x1a86ca(0x39f)]('','',_0x4e031a[_0x1a86ca(0x237)]());}[_0x56a808(0x3a3)](_0x1c4aba,_0x12c1ba=!0x1){const _0x27676c=_0x56a808,_0x1712dd=new URL(window[_0x27676c(0x3a4)]['href']);_0x1712dd[_0x27676c(0x228)][_0x27676c(0x400)](_0x1c4aba),_0x12c1ba?window['history'][_0x27676c(0x229)]('','',_0x1712dd[_0x27676c(0x237)]()):window[_0x27676c(0x1f3)][_0x27676c(0x39f)]('','',_0x1712dd[_0x27676c(0x237)]());}[_0x56a808(0x213)](_0x12a286){const _0x22b91d=_0x56a808;var _0x256b3d;return(_0x256b3d=new URL(window['location'][_0x22b91d(0x313)])[_0x22b91d(0x228)][_0x22b91d(0x3c2)](_0x12a286))!=null?_0x256b3d:void 0x0;}}var _0x4585fb=Object[_0x56a808(0x20f)],_0x32c663=Object[_0x56a808(0x1a6)],_0x315341=(_0x464aed,_0x4f4510,_0x2e490d)=>_0x4f4510 in _0x464aed?_0x4585fb(_0x464aed,_0x4f4510,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e490d}):_0x464aed[_0x4f4510]=_0x2e490d,_0x21651a=(_0x1a7b8d,_0x851957,_0x5705e2,_0x551bac)=>{const _0x423039=_0x56a808;for(var _0x15ef97=_0x551bac>0x1?void 0x0:_0x551bac?_0x32c663(_0x851957,_0x5705e2):_0x851957,_0x593e95=_0x1a7b8d[_0x423039(0x192)]-0x1,_0x4084ae;_0x593e95>=0x0;_0x593e95--)(_0x4084ae=_0x1a7b8d[_0x593e95])&&(_0x15ef97=_0x4084ae(_0x15ef97)||_0x15ef97);return _0x15ef97;},_0x17facf=(_0x43dc8b,_0x584702)=>(_0x2665aa,_0x128d25)=>_0x584702(_0x2665aa,_0x128d25,_0x43dc8b),_0x811903=(_0x30424f,_0x2cc14a,_0x10ef6a)=>_0x315341(_0x30424f,_0x2cc14a+'',_0x10ef6a);const _0x80bbf=_0x56a808(0x28d);_0x2adcf9[_0x56a808(0x2b9)]=class extends _0x4e503f[_0x56a808(0x39d)]{constructor(_0x3f56d1=_0xea6b30,_0x8d59ad,_0xbc8bf1,_0xc01347){const _0x8dc657=_0x56a808;super(),this[_0x8dc657(0x268)]=_0x3f56d1,this[_0x8dc657(0x18c)]=_0x8d59ad,this['_injector']=_0xbc8bf1,this[_0x8dc657(0x242)]=_0xc01347;const {..._0x2a9f6f}=_0x4e503f[_0x8dc657(0x37d)]({},_0xea6b30,this[_0x8dc657(0x268)]);this[_0x8dc657(0x242)]['setConfig'](_0x22e4e4,_0x2a9f6f);}[_0x56a808(0x2ea)](){const _0x9fae4f=_0x56a808;this[_0x9fae4f(0x3d1)](),this[_0x9fae4f(0x28b)]();}[_0x56a808(0x39b)](){const _0x26e603=_0x56a808;this[_0x26e603(0x3b1)]();}[_0x56a808(0x3d1)](){const _0xcab210=_0x56a808;var _0x12ebd1;const _0x4de264=[[_0x5cb836],[_0x5cb811],[_0x4b7dcf],[_0x4beda7],[_0x569d4e],[_0x23099d,{'useClass':_0x45e85b}],[_0x44e6bc[_0xcab210(0x19e)],{'useClass':_0x44e6bc[_0xcab210(0x403)]}],[_0x40df25[_0xcab210(0x30d)],{'useClass':_0x69d38a}],[_0x2adcf9[_0xcab210(0x381)]],[_0x23a964],[_0x383a72],[_0x253fd8],[_0x217cc1],[_0x2adcf9['CollaborationDataLoaderController']]];_0x4e503f[_0xcab210(0x187)](this['_injector'],_0x4e503f['mergeOverrideWithDependencies'](_0x4de264,(_0x12ebd1=this[_0xcab210(0x268)])==null?void 0x0:_0x12ebd1[_0xcab210(0x18f)]));}[_0x56a808(0x3b1)](){const _0x2a8eaa=_0x56a808;this[_0x2a8eaa(0x30a)](this[_0x2a8eaa(0x18c)]['registerRenderModule'](_0x4e503f[_0x2a8eaa(0x372)][_0x2a8eaa(0x3a0)],[_0x28b16f])),this[_0x2a8eaa(0x30a)](this['_renderManagerService'][_0x2a8eaa(0x337)](_0x4e503f[_0x2a8eaa(0x372)]['UNIVER_SHEET'],[_0x41208e]));}['_initDependencies'](){const _0x155984=_0x56a808;_0x4e503f[_0x155984(0x3d0)](this[_0x155984(0x1c7)],[[_0x253fd8],[_0x2adcf9['DesktopCollaborationStatusDisplayController']],[_0x23a964],[_0x383a72],[_0x2adcf9[_0x155984(0x2e1)]]]);}},_0x811903(_0x2adcf9[_0x56a808(0x2b9)],_0x56a808(0x1ca),_0x80bbf),_0x2adcf9[_0x56a808(0x2b9)]=_0x21651a([_0x4e503f[_0x56a808(0x32e)](_0x40df25[_0x56a808(0x2c4)]),_0x17facf(0x1,_0x29ef04[_0x56a808(0x2fe)]),_0x17facf(0x2,_0x4e503f[_0x56a808(0x1aa)](_0x4e503f['Injector'])),_0x17facf(0x3,_0x4e503f[_0x56a808(0x303)])],_0x2adcf9[_0x56a808(0x2b9)]);var _0x2cc23c=Object['getOwnPropertyDescriptor'],_0x4a1c31=(_0x4f4af2,_0x2c5d96,_0x3c8b7b,_0x284651)=>{for(var _0x3bc95f=_0x284651>0x1?void 0x0:_0x284651?_0x2cc23c(_0x2c5d96,_0x3c8b7b):_0x2c5d96,_0x4fdf3c=_0x4f4af2['length']-0x1,_0x2b7240;_0x4fdf3c>=0x0;_0x4fdf3c--)(_0x2b7240=_0x4f4af2[_0x4fdf3c])&&(_0x3bc95f=_0x2b7240(_0x3bc95f)||_0x3bc95f);return _0x3bc95f;},_0x5b32d5=(_0x3b20ce,_0x2c2095)=>(_0x1f05d3,_0x1ef8b6)=>_0x2c2095(_0x1f05d3,_0x1ef8b6,_0x3b20ce);_0x2adcf9[_0x56a808(0x239)]=class extends _0x40df25[_0x56a808(0x3c3)]{constructor(_0x457c60,_0x4d1ca3,_0x4a8f48,_0x11dd07,_0x396fad){super(_0x457c60,_0x4d1ca3,_0x4a8f48,_0x11dd07,_0x396fad);}async[_0x56a808(0x1cf)](_0x1d4dcc){const _0x3910a8=_0x56a808,_0x3d5f71=await this[_0x3910a8(0x1a8)](),_0x35c202=this['_createSocketURL'](_0x1d4dcc,_0x3d5f71);return this[_0x3910a8(0x1b9)](_0x35c202);}[_0x56a808(0x31a)](_0x95800f,_0x52b693){const _0x4db2e2=_0x56a808,_0x1a6f71=typeof window>'u'?new URL(_0x95800f):new URL(_0x95800f,window[_0x4db2e2(0x3a4)][_0x4db2e2(0x1bf)]);_0x1a6f71['searchParams'][_0x4db2e2(0x2ca)]('sessionTicket',_0x52b693);const _0x2c597e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4db2e2(0x3a4)][_0x4db2e2(0x3cd)]);return _0x2c597e[_0x4db2e2(0x3c2)](_0x4db2e2(0x2dc))&&_0x1a6f71[_0x4db2e2(0x228)][_0x4db2e2(0x2ca)]('runId',_0x2c597e['get'](_0x4db2e2(0x2dc))),_0x1a6f71['toString']();}async[_0x56a808(0x1a8)](){const _0x25e993=_0x56a808;var _0x4f7ad3,_0x440c50,_0x197396;const _0x39731e=this['_configService']['getConfig'](_0x40df25[_0x25e993(0x32b)]),_0x227909=(_0x4f7ad3=_0x39731e==null?void 0x0:_0x39731e[_0x25e993(0x1df)])!=null?_0x4f7ad3:_0x40df25[_0x25e993(0x1a0)];return(_0x197396=(_0x440c50=(await this[_0x25e993(0x1be)]['get'](_0x227909,{'headers':{'Content-Type':_0x25e993(0x384)}}))[_0x25e993(0x2e8)])==null?void 0x0:_0x440c50['ticket'])!=null?_0x197396:'';}},_0x2adcf9[_0x56a808(0x239)]=_0x4a1c31([_0x5b32d5(0x0,_0x4e503f['Inject'](_0x4e503f['Injector'])),_0x5b32d5(0x1,_0x4e503f[_0x56a808(0x1aa)](_0x44e6bc['HTTPService'])),_0x5b32d5(0x2,_0x4e503f[_0x56a808(0x303)]),_0x5b32d5(0x3,_0x4e503f[_0x56a808(0x3f4)]),_0x5b32d5(0x4,_0x314491[_0x56a808(0x1ba)])],_0x2adcf9[_0x56a808(0x239)]);const _0x3e6248=0x7530,_0x530b49=_0x56a808(0x23b);class _0x36cf9a extends _0x4e503f[_0x56a808(0x215)]{constructor(){const _0x25455d=_0x56a808;super(),_0x5ea1d6(this,_0x25455d(0x2a3),_0x4e503f[_0x25455d(0x2cc)]()),_0x5ea1d6(this,_0x25455d(0x37e),new Set()),_0x5ea1d6(this,_0x25455d(0x174),new Map()),_0x5ea1d6(this,'_heartbeatTimer',null),_0x5ea1d6(this,_0x25455d(0x2ee),new Map()),_0x5ea1d6(this,_0x25455d(0x2ad),new Map()),this[_0x25455d(0x17f)]();}['dispose'](){const _0x33e63d=_0x56a808;super[_0x33e63d(0x331)](),this[_0x33e63d(0x2ee)][_0x33e63d(0x2c8)]((_0x1be8af,_0x101f22)=>this[_0x33e63d(0x35d)](_0x101f22)),this[_0x33e63d(0x2d5)]&&window[_0x33e63d(0x17d)](this[_0x33e63d(0x2d5)]);}[_0x56a808(0x24b)](_0x1a161d){const _0x2cb7c7=_0x56a808;return this[_0x2cb7c7(0x2d0)](_0x1a161d)[_0x2cb7c7(0x36e)](_0x403441['distinctUntilChanged']());}[_0x56a808(0x16d)](_0x138df6){const _0x5347b1=_0x56a808;this[_0x5347b1(0x37e)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x5347b1(0x37e)][_0x5347b1(0x17c)](_0x138df6),this[_0x5347b1(0x3e3)]({'type':0x0,'memberID':this[_0x5347b1(0x2a3)],'unitIDs':[_0x138df6],'isForwarded':!0x1});}['disposeUnit'](_0x12dfcb){const _0x2661e7=_0x56a808;this[_0x2661e7(0x37e)][_0x2661e7(0x400)](_0x12dfcb),this['_selfUnitIDs'][_0x2661e7(0x406)]===0x0&&this[_0x2661e7(0x2d5)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x56a808(0x17f)](){const _0x4aa9dd=_0x56a808;this[_0x4aa9dd(0x30a)](_0x4e503f[_0x4aa9dd(0x178)](_0x403441['fromEvent'](window,_0x4aa9dd(0x370))[_0x4aa9dd(0x2e4)](_0x364423=>{const _0x9d58ca=_0x4aa9dd;if(_0x364423[_0x9d58ca(0x21b)]!==_0x530b49||!_0x364423[_0x9d58ca(0x304)])return;const _0x49f118=JSON[_0x9d58ca(0x392)](_0x364423[_0x9d58ca(0x304)]);this[_0x9d58ca(0x3fc)](_0x49f118);}))),window[_0x4aa9dd(0x259)]('unload',()=>this[_0x4aa9dd(0x3e3)]({'type':0x1,'memberID':this[_0x4aa9dd(0x2a3)],'unitIDs':Array[_0x4aa9dd(0x25e)](this[_0x4aa9dd(0x37e)])}));}[_0x56a808(0x3fc)](_0x2adb94){const _0x19d125=_0x56a808;switch(_0x2adb94['type']){case 0x0:this[_0x19d125(0x2ed)](_0x2adb94);break;case 0x1:this[_0x19d125(0x1dc)](_0x2adb94);break;case 0x2:this['_handleHeartbeatEvent'](_0x2adb94);break;}}[_0x56a808(0x2ed)](_0x4a0ba7){const _0x31d55c=_0x56a808,{unitIDs:_0x555b3f,memberID:_0x20ab4b,isForwarded:_0x5d19b0}=_0x4a0ba7;_0x555b3f[_0x31d55c(0x2c8)](_0x401202=>{const _0x1b91a4=_0x31d55c;if(!_0x5d19b0&&this[_0x1b91a4(0x174)][_0x1b91a4(0x277)](_0x401202)&&this[_0x1b91a4(0x2d0)](_0x401202)['next'](_0x40df25[_0x1b91a4(0x24e)][_0x1b91a4(0x18a)]),!this[_0x1b91a4(0x174)][_0x1b91a4(0x277)](_0x401202)||!this['_unitOnClients'][_0x1b91a4(0x3c2)](_0x401202)[_0x1b91a4(0x277)](_0x20ab4b)){const _0x3329d0=this[_0x1b91a4(0x174)]['get'](_0x401202)||new Set();_0x3329d0[_0x1b91a4(0x17c)](_0x20ab4b),this[_0x1b91a4(0x174)]['set'](_0x401202,_0x3329d0),this[_0x1b91a4(0x224)](_0x20ab4b);}}),_0x5d19b0||this[_0x31d55c(0x3e3)]({'type':0x0,'memberID':this[_0x31d55c(0x2a3)],'unitIDs':[...this[_0x31d55c(0x37e)]],'isForwarded':!0x0});}[_0x56a808(0x224)](_0x1362fd){const _0x95bb40=_0x56a808;this[_0x95bb40(0x35d)](_0x1362fd);const _0x3721b4=window[_0x95bb40(0x3b4)](()=>{const _0x410ab0=_0x95bb40;this[_0x410ab0(0x174)][_0x410ab0(0x2c8)](_0x1d4f0e=>{_0x1d4f0e['delete'](_0x1362fd);});},_0x3e6248*0x2);this[_0x95bb40(0x2ee)][_0x95bb40(0x2ca)](_0x1362fd,_0x3721b4);}['_removeClearOtherTimer'](_0x4cf84a){const _0x4a56fd=_0x56a808;if(this[_0x4a56fd(0x2ee)]['has'](_0x4cf84a)){const _0x31c1bd=this[_0x4a56fd(0x2ee)][_0x4a56fd(0x3c2)](_0x4cf84a);_0x31c1bd&&window[_0x4a56fd(0x267)](_0x31c1bd),this[_0x4a56fd(0x2ee)][_0x4a56fd(0x2ca)](_0x4cf84a,null);}}[_0x56a808(0x1dc)](_0x5f49c2){const {memberID:_0x3ba2ae,unitIDs:_0x7fdc5b}=_0x5f49c2;_0x7fdc5b['forEach'](_0x458bd5=>{const _0x3bd29d=_0x1918;var _0x1d2c15;const _0xfc4dfc=this['_unitOnClients'][_0x3bd29d(0x3c2)](_0x458bd5);_0xfc4dfc&&(_0xfc4dfc[_0x3bd29d(0x400)](_0x3ba2ae),(_0x1d2c15=this[_0x3bd29d(0x2d0)](_0x458bd5))==null||_0x1d2c15[_0x3bd29d(0x21a)](_0xfc4dfc[_0x3bd29d(0x406)]===0x0?_0x40df25[_0x3bd29d(0x24e)]['NO_OTHER_CLIENTS_EDITING']:_0x40df25[_0x3bd29d(0x24e)][_0x3bd29d(0x18a)]));}),this['_removeClearOtherTimer'](_0x3ba2ae);}[_0x56a808(0x2f8)](_0x3119ea){const _0x34de65=_0x56a808;this[_0x34de65(0x224)](_0x3119ea[_0x34de65(0x323)]);}[_0x56a808(0x3e3)](_0x42ebda){localStorage['setItem'](_0x530b49,JSON['stringify'](_0x42ebda));}[_0x56a808(0x3f3)](){const _0x277dd6=_0x56a808;this[_0x277dd6(0x2d5)]=window[_0x277dd6(0x318)](()=>{const _0x4c00ef=_0x277dd6;this[_0x4c00ef(0x3e3)]({'type':0x2,'memberID':this[_0x4c00ef(0x2a3)]});},_0x3e6248);}['_ensureSubject'](_0x5c7a4c){const _0x15c6d1=_0x56a808;return this['_unitStatus']['has'](_0x5c7a4c)||this[_0x15c6d1(0x2ad)][_0x15c6d1(0x2ca)](_0x5c7a4c,new _0x403441['BehaviorSubject'](_0x40df25[_0x15c6d1(0x24e)][_0x15c6d1(0x299)])),this['_unitStatus'][_0x15c6d1(0x3c2)](_0x5c7a4c);}}var _0x368f84=(_0xa172ee=>(_0xa172ee[_0xa172ee[_0x56a808(0x17e)]=0x0]=_0x56a808(0x17e),_0xa172ee[_0xa172ee['OK']=0x1]='OK',_0xa172ee[_0xa172ee[_0x56a808(0x2f2)]=0x2]=_0x56a808(0x2f2),_0xa172ee[_0xa172ee[_0x56a808(0x3c8)]=0x3]=_0x56a808(0x3c8),_0xa172ee[_0xa172ee['NOT_FOUND']=0x4]='NOT_FOUND',_0xa172ee[_0xa172ee[_0x56a808(0x31f)]=0x5]=_0x56a808(0x31f),_0xa172ee[_0xa172ee[_0x56a808(0x25a)]=0x6]='ALREADY_EXISTS',_0xa172ee[_0xa172ee[_0x56a808(0x2c9)]=0x7]=_0x56a808(0x2c9),_0xa172ee[_0xa172ee[_0x56a808(0x169)]=0x8]=_0x56a808(0x169),_0xa172ee[_0xa172ee[_0x56a808(0x1ee)]=0x9]='COMPLETION_FINISHED',_0xa172ee[_0xa172ee[_0x56a808(0x188)]=0xa]='LOGIN_FAILED',_0xa172ee[_0xa172ee[_0x56a808(0x35e)]=0x1389]=_0x56a808(0x35e),_0xa172ee[_0xa172ee[_0x56a808(0x283)]=0x1771]=_0x56a808(0x283),_0xa172ee[_0xa172ee['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x56a808(0x235),_0xa172ee[_0xa172ee[_0x56a808(0x207)]=0x1773]=_0x56a808(0x207),_0xa172ee[_0xa172ee['APPLY_REJECT']=0x1b59]=_0x56a808(0x1ff),_0xa172ee[_0xa172ee[_0x56a808(0x3a8)]=0x1b5a]=_0x56a808(0x3a8),_0xa172ee[_0xa172ee[_0x56a808(0x22c)]=0x1b5b]=_0x56a808(0x22c),_0xa172ee[_0xa172ee[_0x56a808(0x3a2)]=0x1b5c]=_0x56a808(0x3a2),_0xa172ee[_0xa172ee['APPLY_DUPLICATED']=0x1b5d]=_0x56a808(0x1ef),_0xa172ee[_0xa172ee[_0x56a808(0x2fc)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0xa172ee[_0xa172ee['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x56a808(0x33a),_0xa172ee[_0xa172ee[_0x56a808(0x2a8)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xa172ee[_0xa172ee[_0x56a808(0x339)]=0x232b]=_0x56a808(0x339),_0xa172ee[_0xa172ee[_0x56a808(0x22a)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xa172ee[_0xa172ee[_0x56a808(0x293)]=0x232d]=_0x56a808(0x293),_0xa172ee[_0xa172ee[_0x56a808(0x2bc)]=0x2711]=_0x56a808(0x2bc),_0xa172ee[_0xa172ee[_0x56a808(0x3e2)]=0x2712]=_0x56a808(0x3e2),_0xa172ee[_0xa172ee[_0x56a808(0x1f2)]=0x2713]=_0x56a808(0x1f2),_0xa172ee[_0xa172ee[_0x56a808(0x3d5)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xa172ee[_0xa172ee['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x56a808(0x2c2),_0xa172ee[_0xa172ee[_0x56a808(0x332)]=0x2ee1]=_0x56a808(0x332),_0xa172ee[_0xa172ee[_0x56a808(0x2af)]=0x2ee2]=_0x56a808(0x2af),_0xa172ee[_0xa172ee[_0x56a808(0x3c0)]=0x2ee3]=_0x56a808(0x3c0),_0xa172ee[_0xa172ee[_0x56a808(0x275)]=0x2ee4]=_0x56a808(0x275),_0xa172ee[_0xa172ee[_0x56a808(0x258)]=0x2ee5]=_0x56a808(0x258),_0xa172ee[_0xa172ee[_0x56a808(0x379)]=-0x1]=_0x56a808(0x379),_0xa172ee))(_0x368f84||{}),_0x480f5c=Object[_0x56a808(0x1a6)],_0x57ae50=(_0xad59c5,_0x518c82,_0x44928d,_0xf682ef)=>{const _0x12dab7=_0x56a808;for(var _0x39854f=_0xf682ef>0x1?void 0x0:_0xf682ef?_0x480f5c(_0x518c82,_0x44928d):_0x518c82,_0x1bfbc4=_0xad59c5[_0x12dab7(0x192)]-0x1,_0x43e589;_0x1bfbc4>=0x0;_0x1bfbc4--)(_0x43e589=_0xad59c5[_0x1bfbc4])&&(_0x39854f=_0x43e589(_0x39854f)||_0x39854f);return _0x39854f;},_0xe2a6c2=(_0x2f6704,_0x34f9a0)=>(_0x3772a9,_0x398406)=>_0x34f9a0(_0x3772a9,_0x398406,_0x2f6704);_0x2adcf9[_0x56a808(0x2e7)]=class extends _0x4e503f[_0x56a808(0x215)]{constructor(_0x4f1311,_0x139968,_0x2bb292){const _0x16bfd3=_0x56a808;super(),this[_0x16bfd3(0x185)]=_0x4f1311,this[_0x16bfd3(0x1be)]=_0x139968,this[_0x16bfd3(0x242)]=_0x2bb292;}async[_0x56a808(0x2d2)](_0x37fc96,_0x4c829b,_0xec221e,..._0x5f30cf){const _0x35f3f4=_0x56a808;var _0x10dd3c,_0x5073d4,_0x357132,_0x491470;const _0x9f85d4=this[_0x35f3f4(0x185)][_0x35f3f4(0x16f)]();if(!_0x9f85d4)throw new Error(_0x35f3f4(0x301));const _0x981a45=((_0x10dd3c=this[_0x35f3f4(0x242)][_0x35f3f4(0x1c6)](_0x40df25[_0x35f3f4(0x3a1)]))!=null?_0x10dd3c:_0x40df25['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x37fc96+_0x35f3f4(0x352)+_0x4c829b,_0x48c1a6=new URL(window['location'][_0x35f3f4(0x313)]),_0x5a8427={'scriptId':_0x37fc96,'runId':(_0x5073d4=_0x48c1a6[_0x35f3f4(0x228)]['get'](_0x35f3f4(0x2dc)))!=null?_0x5073d4:'','function':_0x4c829b,'unitId':_0x9f85d4[_0x35f3f4(0x2ae)](),'argsOfFunction':JSON['stringify'](_0x5f30cf),'invokeId':(_0x357132=_0xec221e[_0x35f3f4(0x294)])!=null?_0x357132:'','executionId':(_0x491470=_0xec221e[_0x35f3f4(0x1eb)])!=null?_0x491470:''};try{const _0x4fbdbb=await this['_httpService'][_0x35f3f4(0x1e0)](_0x981a45,{'body':_0x5a8427});return _0x4fbdbb[_0x35f3f4(0x2e8)][_0x35f3f4(0x3dc)]&&_0x4fbdbb[_0x35f3f4(0x2e8)][_0x35f3f4(0x3dc)][_0x35f3f4(0x3b9)]!==_0x368f84['OK']?_0x35f3f4(0x1f0):_0x4fbdbb[_0x35f3f4(0x2e8)]['result'];}catch{return'Failed';}}},_0x2adcf9[_0x56a808(0x2e7)]=_0x57ae50([_0xe2a6c2(0x0,_0x4e503f[_0x56a808(0x234)]),_0xe2a6c2(0x1,_0x4e503f[_0x56a808(0x1aa)](_0x44e6bc[_0x56a808(0x350)])),_0xe2a6c2(0x2,_0x4e503f['IConfigService'])],_0x2adcf9[_0x56a808(0x2e7)]),_0x2adcf9[_0x56a808(0x3d7)]=_0x1d3f70,_0x2adcf9[_0x56a808(0x26b)]=_0x23099d,_0x2adcf9[_0x56a808(0x238)]=_0xbff018,_0x2adcf9['WebBrowserSingleActiveUnitService']=_0x36cf9a,_0x2adcf9[_0x56a808(0x390)]=_0x45e85b,Object[_0x56a808(0x20f)](_0x2adcf9,Symbol['toStringTag'],{'value':'Module'});}));
|