@univerjs-pro/collaboration-client-ui 0.9.3-nightly.202507250819 → 0.9.4-nightly.202507290713
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/services/ime-cache-transform/doc-transform-ime-cache.service.d.ts +1 -3
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x3ea2(_0x3b55b1,_0xa42ce0){const _0x5b5a98=_0x5b5a();return _0x3ea2=function(_0x3ea2c3,_0x220f23){_0x3ea2c3=_0x3ea2c3-0x117;let _0x3fa93c=_0x5b5a98[_0x3ea2c3];return _0x3fa93c;},_0x3ea2(_0x3b55b1,_0xa42ce0);}(function(_0x4b25c3,_0x2d2b40){const _0x324312=_0x3ea2,_0x2c5fc0=_0x4b25c3();while(!![]){try{const _0x1d86dc=-parseInt(_0x324312(0x382))/0x1+parseInt(_0x324312(0x3a0))/0x2+parseInt(_0x324312(0x2c9))/0x3+-parseInt(_0x324312(0x2d4))/0x4*(-parseInt(_0x324312(0x238))/0x5)+-parseInt(_0x324312(0x1d6))/0x6*(parseInt(_0x324312(0x16d))/0x7)+-parseInt(_0x324312(0x1e7))/0x8+parseInt(_0x324312(0x19b))/0x9*(parseInt(_0x324312(0x2d2))/0xa);if(_0x1d86dc===_0x2d2b40)break;else _0x2c5fc0['push'](_0x2c5fc0['shift']());}catch(_0x2d39ce){_0x2c5fc0['push'](_0x2c5fc0['shift']());}}}(_0x5b5a,0x95c97),function(_0x44b550,_0x285f57){const _0x100ba3=_0x3ea2;typeof exports=='object'&&typeof module<'u'?_0x285f57(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define=='function'&&define[_0x100ba3(0x2c0)]?define([_0x100ba3(0x38e),_0x100ba3(0x1e0),'@univerjs/core','@univerjs/engine-render',_0x100ba3(0x151),_0x100ba3(0x3a8),'@univerjs/drawing',_0x100ba3(0x2af),_0x100ba3(0x2c7),_0x100ba3(0x283),'@univerjs/engine-formula','@univerjs/sheets','rxjs/operators',_0x100ba3(0x24b),_0x100ba3(0x35f),'@univerjs/ui',_0x100ba3(0x352),'react',_0x100ba3(0x17e)],_0x285f57):(_0x44b550=typeof globalThis<'u'?globalThis:_0x44b550||self,_0x285f57(_0x44b550[_0x100ba3(0x194)]={},_0x44b550[_0x100ba3(0x30e)],_0x44b550['UniverCore'],_0x44b550[_0x100ba3(0x200)],_0x44b550[_0x100ba3(0x20f)],_0x44b550[_0x100ba3(0x1f6)],_0x44b550[_0x100ba3(0x189)],_0x44b550[_0x100ba3(0x2af)],_0x44b550[_0x100ba3(0x2b7)],_0x44b550[_0x100ba3(0x22a)],_0x44b550[_0x100ba3(0x2d6)],_0x44b550['UniverSheets'],_0x44b550['rxjs'][_0x100ba3(0x305)],_0x44b550['UniverSheetsUi'],_0x44b550[_0x100ba3(0x2dd)],_0x44b550[_0x100ba3(0x152)],_0x44b550[_0x100ba3(0x298)],_0x44b550[_0x100ba3(0x2dd)],_0x44b550[_0x100ba3(0x32b)]));}(this,function(_0x5d4de8,_0x2c5d3c,_0x13023b,_0x3b7797,_0x562449,_0x229cdf,_0x16c291,_0xe0366,_0x2db34e,_0x3679f8,_0x416312,_0x17d085,_0x1a2632,_0x128c44,_0x50649b,_0x47e75a,_0x2abc24,_0x52afd9,_0x4e87ce){'use strict';const _0x453404=_0x3ea2;var _0x3684f0=Object[_0x453404(0x188)],_0x1648b4=(_0x1b8c6e,_0x2f97cf,_0x118f0a)=>_0x2f97cf in _0x1b8c6e?_0x3684f0(_0x1b8c6e,_0x2f97cf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x118f0a}):_0x1b8c6e[_0x2f97cf]=_0x118f0a,_0x4ff54d=(_0x2416bb,_0x33bb11,_0x5c1332)=>_0x1648b4(_0x2416bb,typeof _0x33bb11!='symbol'?_0x33bb11+'':_0x33bb11,_0x5c1332),_0x480823=Object[_0x453404(0x23f)],_0x477b64=(_0x40e866,_0x488fa8,_0x2c0554,_0x28abaa)=>{const _0x5f2da1=_0x453404;for(var _0x149475=_0x28abaa>0x1?void 0x0:_0x28abaa?_0x480823(_0x488fa8,_0x2c0554):_0x488fa8,_0x73b171=_0x40e866[_0x5f2da1(0x2f8)]-0x1,_0xec2057;_0x73b171>=0x0;_0x73b171--)(_0xec2057=_0x40e866[_0x73b171])&&(_0x149475=_0xec2057(_0x149475)||_0x149475);return _0x149475;},_0x55da54=(_0x419270,_0x155378)=>(_0xbab388,_0x527fd9)=>_0x155378(_0xbab388,_0x527fd9,_0x419270);let _0x5d6e1b=class extends _0x13023b['RxDisposable']{constructor(_0x5dea01,_0x220b8e){const _0x1d7ec9=_0x453404;super(),this[_0x1d7ec9(0x2a0)]=_0x5dea01,this[_0x1d7ec9(0x148)]=_0x220b8e,this[_0x1d7ec9(0x224)]();}[_0x453404(0x224)](){const _0x15d0e3=_0x453404,_0x4caeb6=this;this['disposeWithMe'](this['_docClipboardService'][_0x15d0e3(0x39c)]({'onBeforePasteImage':async _0x31774b=>{const _0x248015=_0x15d0e3,_0x997e08=await _0x4caeb6[_0x248015(0x148)][_0x248015(0x32e)](_0x31774b);return _0x997e08?{'source':_0x997e08['source'],'imageSourceType':_0x997e08[_0x248015(0x388)]}:null;}}));}};_0x5d6e1b=_0x477b64([_0x55da54(0x0,_0x229cdf[_0x453404(0x1bf)]),_0x55da54(0x1,_0x16c291['IImageIoService'])],_0x5d6e1b);const _0x416843=['purple.300',_0x453404(0x196),_0x453404(0x2fb),_0x453404(0x330),_0x453404(0x25f),_0x453404(0x326)];class _0x39fdea extends _0x13023b[_0x453404(0x165)]{constructor(){const _0x24bb7a=_0x453404;super(...arguments),_0x4ff54d(this,_0x24bb7a(0x2c1),new Map()),_0x4ff54d(this,_0x24bb7a(0x33c),0x0);}[_0x453404(0x1e4)](_0x1cb260){const _0x3add67=_0x453404;if(this[_0x3add67(0x2c1)][_0x3add67(0x138)](_0x1cb260))return this['_assignedColors']['get'](_0x1cb260);const _0x39b602=_0x416843[this['_colorIndex']];return this[_0x3add67(0x33c)]=(this['_colorIndex']+0x1)%_0x416843[_0x3add67(0x2f8)],this[_0x3add67(0x2c1)][_0x3add67(0x2ca)](_0x1cb260,_0x39b602),_0x39b602;}}function _0x522f5d(_0xf86551){const _0x2eaccf=_0x453404;let _0x1e0122='';for(const _0x134b86 of _0xf86551){const {startOffset:_0x2a7ee6,endOffset:_0x1e7f72,isActive:_0x17642f,rangeType:_0x2b3f77,segmentId:_0x464cf7,segmentPage:_0x56483a}=_0x134b86;_0x1e0122[_0x2eaccf(0x2f8)]&&(_0x1e0122+=','),_0x1e0122+=_0x2a7ee6+':'+_0x1e7f72+':'+(_0x17642f?'1':'0')+':'+_0x2b3f77+':'+_0x464cf7+':'+_0x56483a;}return _0x1e0122;}function _0x2c8724(_0x155b5a){const _0x1e4fff=_0x453404,_0x2b4a66=_0x155b5a[_0x1e4fff(0x20c)](','),_0x2c501a=[];for(const _0x1a280b of _0x2b4a66){const [_0x63452e,_0x907a05,_0x424542,_0x1992fd,_0x57ee06,_0x4c44f7]=_0x1a280b[_0x1e4fff(0x20c)](':');_0x2c501a[_0x1e4fff(0x1fe)]({'startOffset':Number(_0x63452e),'endOffset':Number(_0x907a05),'collapsed':_0x63452e===_0x907a05,'isActive':_0x424542==='1','rangeType':_0x1992fd===_0x13023b[_0x1e4fff(0x12a)]['TEXT']?_0x13023b[_0x1e4fff(0x12a)][_0x1e4fff(0x118)]:_0x13023b[_0x1e4fff(0x12a)][_0x1e4fff(0x124)],'segmentId':typeof _0x57ee06=='string'?String(_0x57ee06):'','segmentPage':Number(_0x4c44f7!=null?_0x4c44f7:-0x1)});}return _0x2c501a['some'](_0x4e53ec=>_0x4e53ec['isActive'])||(_0x2c501a[0x0][_0x1e4fff(0x137)]=!0x0),_0x2c501a;}class _0x1373ab extends _0x13023b[_0x453404(0x351)]{constructor(){const _0x1c7f6d=_0x453404;super(...arguments),_0x4ff54d(this,_0x1c7f6d(0x21c),new _0xe0366[(_0x1c7f6d(0x1cf))](null)),_0x4ff54d(this,_0x1c7f6d(0x2f0),this['_collabCursorState$'][_0x1c7f6d(0x21a)]());}['syncEditingCollabCursor'](_0x463561){const _0x1e914c=_0x453404,{unitID:_0x33f341,memberID:_0x49c68b,textRanges:_0x14533e}=_0x463561,_0x369fb8=_0x522f5d(_0x14533e);if(_0x369fb8==='')return;const _0x3c19d8={'unitID':_0x33f341,'memberID':_0x49c68b,'selection':_0x369fb8};this[_0x1e914c(0x21c)][_0x1e914c(0x1a0)](_0x3c19d8);}}var _0x4413a9=Object[_0x453404(0x23f)],_0x362eb2=(_0x1b926a,_0x101a38,_0x229cef,_0x73f6fa)=>{const _0x53d66e=_0x453404;for(var _0xbc55c5=_0x73f6fa>0x1?void 0x0:_0x73f6fa?_0x4413a9(_0x101a38,_0x229cef):_0x101a38,_0x52a9a6=_0x1b926a[_0x53d66e(0x2f8)]-0x1,_0x126364;_0x52a9a6>=0x0;_0x52a9a6--)(_0x126364=_0x1b926a[_0x52a9a6])&&(_0xbc55c5=_0x126364(_0xbc55c5)||_0xbc55c5);return _0xbc55c5;},_0x207696=(_0x413660,_0x3b2536)=>(_0x16966a,_0xc90641)=>_0x3b2536(_0x16966a,_0xc90641,_0x413660);const _0x197a5a=0x12c,_0xfe8f14=0x64;let _0x31024d=class extends _0x13023b['RxDisposable']{constructor(_0x43ae9e,_0x21bbbc,_0x38d40f,_0x29f81f,_0x1976ed,_0xd8a63,_0x49a07a,_0x2d67b6,_0x1c8af5){const _0x470e71=_0x453404;super(),_0x4ff54d(this,_0x470e71(0x13a),!0x1),_0x4ff54d(this,_0x470e71(0x224),!0x1),_0x4ff54d(this,_0x470e71(0x2c5),new _0xe0366[(_0x470e71(0x1cf))](new Map())),_0x4ff54d(this,'cursorInfo$',this['_cursorInfo$'][_0x470e71(0x21a)]()),_0x4ff54d(this,_0x470e71(0x35e),new _0xe0366['BehaviorSubject']([])),_0x4ff54d(this,_0x470e71(0x190),this[_0x470e71(0x35e)][_0x470e71(0x35a)](_0xe0366[_0x470e71(0x227)](_0x197a5a))),_0x4ff54d(this,_0x470e71(0x367),_0x13023b[_0x470e71(0x121)](_0x21b148=>{const _0x42641d=_0x470e71,_0x3d3de9={'eventID':_0x2db34e[_0x42641d(0x167)][_0x42641d(0x185)],'data':{'unitID':this['unitID'],'memberID':this[_0x42641d(0x11b)][_0x42641d(0x171)](),'selection':_0x522f5d(_0x21b148)}};this['_session']['send'](_0x3d3de9,this[_0x42641d(0x1b4)]);},_0xfe8f14)),(this['unitID']=_0x43ae9e,this[_0x470e71(0x11b)]=_0x21bbbc,this[_0x470e71(0x1c0)]=_0x38d40f,this[_0x470e71(0x1e1)]=_0x29f81f,this['_memberService']=_0x1976ed,this[_0x470e71(0x28e)]=_0xd8a63,this['_transformService']=_0x49a07a,this['_univerInstanceService']=_0x2d67b6,this[_0x470e71(0x27b)]=_0x1c8af5);}get[_0x453404(0x34e)](){const _0x164d18=_0x453404;return this[_0x164d18(0x2c5)][_0x164d18(0x336)]();}get[_0x453404(0x3af)](){const _0x5e290e=_0x453404;return this[_0x5e290e(0x35e)][_0x5e290e(0x336)]();}['dispose'](){const _0x1422bd=_0x453404;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this[_0x1422bd(0x2c5)]['complete'](),this[_0x1422bd(0x35e)]['next']([]),this[_0x1422bd(0x35e)][_0x1422bd(0x2a6)]();}[_0x453404(0x214)](){const _0x49199a=_0x453404;this[_0x49199a(0x224)]||(this[_0x49199a(0x224)]=!0x0,this['_session'][_0x49199a(0x23d)][_0x49199a(0x35a)](_0xe0366[_0x49199a(0x2ba)](this['dispose$']))[_0x49199a(0x310)](_0x1c6c0c=>{const _0x3a9a7b=_0x49199a;_0x1c6c0c===_0x2c5d3c[_0x3a9a7b(0x248)][_0x3a9a7b(0x240)]?this[_0x3a9a7b(0x2ed)]():this['_toggleOffline']();}),this[_0x49199a(0x11b)]['event$'][_0x49199a(0x35a)](_0xe0366[_0x49199a(0x2ba)](this[_0x49199a(0x1e3)]))[_0x49199a(0x310)](_0xcb02e8=>{const _0x5bc73c=_0x49199a,_0x37cbd0=_0xcb02e8[_0x5bc73c(0x291)];_0x37cbd0===_0x2db34e[_0x5bc73c(0x167)][_0x5bc73c(0x185)]&&this[_0x5bc73c(0x381)](_0xcb02e8),_0x37cbd0===_0x2db34e['CollaborationEvent']['USERS_LEAVE']&&this[_0x5bc73c(0x253)](_0xcb02e8);}),this[_0x49199a(0x2bf)](this[_0x49199a(0x27b)][_0x49199a(0x299)](_0x712e43=>{const _0x19dc7c=_0x49199a,_0x4d59fc=_0x712e43[_0x19dc7c(0x1fd)];_0x4d59fc!=null&&this[_0x19dc7c(0x13a)]&&_0x712e43['id']===_0x3679f8['SetTextSelectionsOperation']['id']&&_0x4d59fc[_0x19dc7c(0x2e4)]===this[_0x19dc7c(0x1b4)]&&_0x4d59fc[_0x19dc7c(0x290)]===!0x1&&_0x4d59fc[_0x19dc7c(0x13c)]['length']>0x0&&this[_0x19dc7c(0x367)](_0x4d59fc['ranges']);})),this[_0x49199a(0x28e)]['collabCursorState$'][_0x49199a(0x35a)](_0xe0366[_0x49199a(0x2ba)](this[_0x49199a(0x1e3)]))['subscribe'](_0x375b4c=>{const _0x2bf210=_0x49199a;if((_0x375b4c==null?void 0x0:_0x375b4c[_0x2bf210(0x1b4)])!==this[_0x2bf210(0x1b4)])return;const _0x160427={'eventID':_0x2db34e[_0x2bf210(0x167)][_0x2bf210(0x185)],'data':_0x375b4c};this[_0x2bf210(0x381)](_0x160427);}),this[_0x49199a(0x2bf)](this[_0x49199a(0x27b)][_0x49199a(0x299)](_0x17f474=>{const _0xe28dc5=_0x49199a;if(_0x17f474[_0xe28dc5(0x1fd)]==null)return;const _0x570314=_0x17f474['params'];if(_0x17f474['id']!==_0x3679f8['RichTextEditingMutation']['id']||_0x570314[_0xe28dc5(0x2e4)]!==this[_0xe28dc5(0x1b4)])return;const _0x59fa16={'id':_0xe28dc5(0x139),'params':_0x570314},_0x5e77c5=this[_0xe28dc5(0x34e)];for(const [_0x59fb3b,_0x1d087a]of _0x5e77c5){const _0x3d3cbe={'id':_0xe28dc5(0x139),'params':{'unitId':this[_0xe28dc5(0x1b4)],'actions':null,'textRanges':_0x1d087a[_0xe28dc5(0x13c)]}},_0x320162=this['_transformService'][_0xe28dc5(0x2ac)](_0x59fa16,_0x3d3cbe,!0x1);if(_0x2db34e[_0xe28dc5(0x287)](_0x320162))throw _0x320162['error'];_0x5e77c5['set'](_0x59fb3b,{..._0x1d087a,'ranges':_0x320162['m2Prime'][_0xe28dc5(0x1fd)][_0xe28dc5(0x2eb)]});}queueMicrotask(()=>{const _0x34757e=_0xe28dc5;this['_cursorInfo$'][_0x34757e(0x1a0)](_0x5e77c5);});})));}['_onCursorUpdate'](_0x5f452f){const _0x5104e8=_0x453404;var _0x281e03,_0xa8abcc;const {memberID:_0x1acd68,selection:_0x362f27}=_0x5f452f[_0x5104e8(0x311)],_0x55ac35=_0x2c8724(_0x362f27),_0x10ca0e=(_0xa8abcc=(_0x281e03=this[_0x5104e8(0x268)][_0x5104e8(0x1ad)](this[_0x5104e8(0x1b4)],_0x1acd68))==null?void 0x0:_0x281e03[_0x5104e8(0x18b)])!=null?_0xa8abcc:'Unknown\x20user',_0x42e6da={'color':this['_colorAssignService'][_0x5104e8(0x1e4)](_0x1acd68),'name':_0x10ca0e,'ranges':_0x55ac35},_0x3bac3f=this['cursorInfo'];_0x3bac3f[_0x5104e8(0x2ca)](_0x1acd68,_0x42e6da),this['_cursorInfo$'][_0x5104e8(0x1a0)](_0x3bac3f);}[_0x453404(0x253)](_0x8f72fc){const _0x193c5e=_0x453404,{memberID:_0x3bce4f}=_0x8f72fc[_0x193c5e(0x311)],_0x4482d4=this[_0x193c5e(0x34e)];_0x4482d4['delete'](_0x3bce4f),this[_0x193c5e(0x2c5)][_0x193c5e(0x1a0)](_0x4482d4);}['_toggleOnline'](){const _0x97cd47=_0x453404;var _0x4c6d85;if(this[_0x97cd47(0x13a)]=!0x0,((_0x4c6d85=this[_0x97cd47(0x379)][_0x97cd47(0x187)]())==null?void 0x0:_0x4c6d85[_0x97cd47(0x2be)]())!==this[_0x97cd47(0x1b4)])return;const _0x3f10d6=this[_0x97cd47(0x1c0)][_0x97cd47(0x28f)](_0x3679f8[_0x97cd47(0x1ac)])[_0x97cd47(0x2c2)]();Array[_0x97cd47(0x32c)](_0x3f10d6)&&_0x3f10d6['length']>0x0&&this[_0x97cd47(0x367)](_0x3f10d6);}[_0x453404(0x32d)](){const _0x181c08=_0x453404;this[_0x181c08(0x13a)]=!0x1;}};_0x31024d=_0x362eb2([_0x207696(0x2,_0x13023b['Inject'](_0x13023b[_0x453404(0x262)])),_0x207696(0x3,_0x13023b[_0x453404(0x175)](_0x39fdea)),_0x207696(0x4,_0x13023b[_0x453404(0x175)](_0x2c5d3c[_0x453404(0x19a)])),_0x207696(0x5,_0x13023b[_0x453404(0x175)](_0x1373ab)),_0x207696(0x6,_0x2db34e[_0x453404(0x348)]),_0x207696(0x7,_0x13023b['IUniverInstanceService']),_0x207696(0x8,_0x13023b[_0x453404(0x2a5)])],_0x31024d);var _0x224f3c=Object[_0x453404(0x23f)],_0x569ff4=(_0x615a6d,_0x23be52,_0x29942d,_0x2a3070)=>{for(var _0x595309=_0x2a3070>0x1?void 0x0:_0x2a3070?_0x224f3c(_0x23be52,_0x29942d):_0x23be52,_0x53349c=_0x615a6d['length']-0x1,_0x3c0a37;_0x53349c>=0x0;_0x53349c--)(_0x3c0a37=_0x615a6d[_0x53349c])&&(_0x595309=_0x3c0a37(_0x595309)||_0x595309);return _0x595309;},_0x31bfc1=(_0x224be3,_0x2dc46c)=>(_0x3658f5,_0x458f91)=>_0x2dc46c(_0x3658f5,_0x458f91,_0x224be3);const _0x6b5ab4=0x12c,_0xdf62d5=0x64,_0x54a156=()=>{let _0x14b3a9=[],_0x3ae948=!0x1;return _0x5b534c=>{const _0x38690d=_0x3ea2;_0x14b3a9[_0x38690d(0x1fe)](_0x5b534c),_0x3ae948||(_0x3ae948=!0x0,setTimeout(()=>{const _0x1c24db=_0x38690d;_0x14b3a9[_0x1c24db(0x136)](_0x3685db=>_0x3685db()),_0x14b3a9=[],_0x3ae948=!0x1;}));};};let _0x1a04e0=class extends _0x13023b[_0x453404(0x351)]{constructor(_0x1a112d,_0x372a9f,_0x7bec15,_0x2e90ba,_0x4bfbc5,_0x2e0c54,_0x1bea40,_0xaf90f2){const _0x2ad8ed=_0x453404;super(),_0x4ff54d(this,_0x2ad8ed(0x13a),!0x1),_0x4ff54d(this,_0x2ad8ed(0x224),!0x1),_0x4ff54d(this,_0x2ad8ed(0x2c5),new _0xe0366[(_0x2ad8ed(0x1cf))](new Map())),_0x4ff54d(this,_0x2ad8ed(0x2e2),this[_0x2ad8ed(0x2c5)][_0x2ad8ed(0x21a)]()),_0x4ff54d(this,_0x2ad8ed(0x35e),new _0xe0366[(_0x2ad8ed(0x1cf))]([])),_0x4ff54d(this,'roomMembers$',this[_0x2ad8ed(0x35e)]['pipe'](_0xe0366[_0x2ad8ed(0x227)](_0x6b5ab4))),_0x4ff54d(this,_0x2ad8ed(0x367),_0x13023b[_0x2ad8ed(0x121)]((_0xd64472,_0xfaca21)=>{const _0x2b2dc4=_0x2ad8ed,_0x552e18={'eventID':_0x2db34e['CollaborationEvent'][_0x2b2dc4(0x185)],'data':{'unitID':this[_0x2b2dc4(0x1b4)],'memberID':this[_0x2b2dc4(0x11b)][_0x2b2dc4(0x171)](),'selection':_0x416312['serializeRangeWithSheet'](_0xd64472,_0xfaca21['range'])}};this[_0x2b2dc4(0x11b)][_0x2b2dc4(0x39a)](_0x552e18,this[_0x2b2dc4(0x1b4)]);},_0xdf62d5)),(this['unitID']=_0x1a112d,this[_0x2ad8ed(0x11b)]=_0x372a9f,this[_0x2ad8ed(0x1c0)]=_0x7bec15,this['_colorAssignService']=_0x2e90ba,this[_0x2ad8ed(0x268)]=_0x4bfbc5,this['_univerInstanceService']=_0x2e0c54,this['_commandService']=_0x1bea40,this['_refRangeService']=_0xaf90f2);}get[_0x453404(0x34e)](){return this['_cursorInfo$']['getValue']();}get[_0x453404(0x3af)](){const _0x283fa0=_0x453404;return this[_0x283fa0(0x35e)][_0x283fa0(0x336)]();}[_0x453404(0x3aa)](){const _0x1cccf2=_0x453404;super[_0x1cccf2(0x3aa)](),this[_0x1cccf2(0x2c5)][_0x1cccf2(0x1a0)](new Map()),this[_0x1cccf2(0x2c5)][_0x1cccf2(0x2a6)](),this[_0x1cccf2(0x35e)]['next']([]),this[_0x1cccf2(0x35e)]['complete']();}[_0x453404(0x214)](){const _0x32c2f7=_0x453404;this[_0x32c2f7(0x224)]||(this[_0x32c2f7(0x224)]=!0x0,this[_0x32c2f7(0x11b)][_0x32c2f7(0x23d)][_0x32c2f7(0x35a)](_0xe0366[_0x32c2f7(0x2ba)](this['dispose$']))[_0x32c2f7(0x310)](_0x32b5f6=>{const _0x3f08d2=_0x32c2f7;_0x32b5f6===_0x2c5d3c[_0x3f08d2(0x248)][_0x3f08d2(0x240)]?this[_0x3f08d2(0x2ed)]():this['_toggleOffline']();}),this[_0x32c2f7(0x11b)][_0x32c2f7(0x133)]['pipe'](_0xe0366['takeUntil'](this[_0x32c2f7(0x1e3)]))[_0x32c2f7(0x310)](_0x54ac27=>{const _0x2168c0=_0x32c2f7,_0x2a2044=_0x54ac27['eventID'];_0x2a2044===_0x2db34e[_0x2168c0(0x167)][_0x2168c0(0x185)]&&this[_0x2168c0(0x381)](_0x54ac27),_0x2a2044===_0x2db34e[_0x2168c0(0x167)][_0x2168c0(0x11a)]&&this[_0x2168c0(0x253)](_0x54ac27);}),this[_0x32c2f7(0x313)](),this[_0x32c2f7(0x2bf)](this[_0x32c2f7(0x27b)][_0x32c2f7(0x299)](_0x5350e2=>{const _0x3581fb=_0x32c2f7;if(this[_0x3581fb(0x13a)]&&_0x5350e2['id']===_0x17d085[_0x3581fb(0x2ec)]['id']&&_0x5350e2[_0x3581fb(0x1fd)][_0x3581fb(0x2e4)]===this[_0x3581fb(0x1b4)]){const _0x31ac30=_0x5350e2[_0x3581fb(0x1fd)];this[_0x3581fb(0x367)](_0x31ac30[_0x3581fb(0x117)],_0x31ac30[_0x3581fb(0x233)][0x0]);}})));}[_0x453404(0x381)](_0x35cc5c){const _0x47c574=_0x453404;var _0x36f52b,_0xca7639;const {memberID:_0x145a9c,selection:_0x1422c5}=_0x35cc5c[_0x47c574(0x311)],{sheetName:_0x50030d,range:_0x2af07d}=_0x416312[_0x47c574(0x37b)](_0x1422c5),_0x19027f={'name':(_0xca7639=(_0x36f52b=this[_0x47c574(0x268)]['getMember'](this[_0x47c574(0x1b4)],_0x145a9c))==null?void 0x0:_0x36f52b[_0x47c574(0x18b)])!=null?_0xca7639:_0x47c574(0x2d8),'range':this[_0x47c574(0x18f)](_0x50030d,_0x2af07d),'sheetID':_0x50030d,'color':this['_colorAssignService'][_0x47c574(0x1e4)](_0x145a9c),'selection':_0x1422c5},_0x1237f7=this['cursorInfo'];_0x1237f7[_0x47c574(0x2ca)](_0x145a9c,_0x19027f),this[_0x47c574(0x2c5)][_0x47c574(0x1a0)](_0x1237f7);}[_0x453404(0x253)](_0x3f1aea){const _0x11fc25=_0x453404,{memberID:_0xf9dbd3}=_0x3f1aea[_0x11fc25(0x311)],_0x2c5a20=this[_0x11fc25(0x34e)];_0x2c5a20['delete'](_0xf9dbd3),this['_cursorInfo$'][_0x11fc25(0x1a0)](_0x2c5a20);}['_getMergeRange'](_0x1f48db,_0x397f4f){const _0x2de3dc=_0x453404;var _0x17dec8,_0x7a0947;const _0x161787=(_0x7a0947=(_0x17dec8=this[_0x2de3dc(0x379)][_0x2de3dc(0x2b0)](this[_0x2de3dc(0x1b4)]))==null?void 0x0:_0x17dec8[_0x2de3dc(0x120)](_0x1f48db))==null?void 0x0:_0x7a0947[_0x2de3dc(0x1b3)]();return(_0x161787==null?void 0x0:_0x161787[_0x2de3dc(0x1d3)](_0x4f7a6e=>_0x13023b[_0x2de3dc(0x2e6)]['contains'](_0x4f7a6e,_0x397f4f)))||_0x397f4f;}[_0x453404(0x313)](){const _0x54e663=_0x453404,_0x130959=new _0x13023b[(_0x54e663(0x22b))](),_0x4d35e1=_0x54a156(),_0x34c55f=()=>{const _0x3d23bf=_0x54e663;_0x130959['dispose']();const _0x42fb16=(_0x33ff0f,_0x111496,_0x5ae734,_0x51c1b3)=>{const _0x4de315=_0x3ea2;let _0x20e873=[];switch(_0x33ff0f['id']){case _0x17d085[_0x4de315(0x29b)][_0x4de315(0x29f)]:{_0x20e873=_0x17d085[_0x4de315(0x380)](_0x33ff0f,_0x51c1b3);break;}case _0x17d085['EffectRefRangId'][_0x4de315(0x2fa)]:{_0x20e873=_0x17d085[_0x4de315(0x309)](_0x33ff0f,_0x51c1b3);break;}case _0x17d085[_0x4de315(0x29b)]['InsertColCommandId']:{_0x20e873=_0x17d085[_0x4de315(0x26e)](_0x33ff0f,_0x51c1b3);break;}case _0x17d085['EffectRefRangId'][_0x4de315(0x127)]:{_0x20e873=_0x17d085['handleInsertRangeMoveDown'](_0x33ff0f,_0x51c1b3);break;}case _0x17d085[_0x4de315(0x29b)]['InsertRangeMoveRightCommandId']:{_0x20e873=_0x17d085[_0x4de315(0x14e)](_0x33ff0f,_0x51c1b3);break;}case _0x17d085[_0x4de315(0x29b)]['InsertRowCommandId']:{_0x20e873=_0x17d085['handleInsertRow'](_0x33ff0f,_0x51c1b3);break;}case _0x17d085['EffectRefRangId'][_0x4de315(0x14f)]:{_0x20e873=_0x17d085[_0x4de315(0x29c)](_0x33ff0f,_0x51c1b3);break;}case _0x17d085[_0x4de315(0x29b)][_0x4de315(0x1f4)]:{_0x20e873=_0x17d085[_0x4de315(0x130)](_0x33ff0f,_0x51c1b3);break;}case _0x17d085[_0x4de315(0x29b)][_0x4de315(0x394)]:{_0x20e873=_0x17d085[_0x4de315(0x278)](_0x33ff0f,_0x51c1b3);break;}}const _0x553946=_0x17d085[_0x4de315(0x161)](_0x20e873,_0x51c1b3),_0x196a18=this['cursorInfo'][_0x4de315(0x28f)](_0x111496);if(_0x196a18&&_0x553946){const _0xd0fe04={..._0x196a18,'range':_0x553946};this[_0x4de315(0x34e)]['set'](_0x111496,_0xd0fe04),_0x4d35e1(()=>{const _0x2e52b8=_0x4de315,_0x3bb621=this[_0x2e52b8(0x1f3)][_0x2e52b8(0x2f3)](_0x553946,_0x260f92=>(_0x3bb621[_0x2e52b8(0x3aa)](),_0x42fb16(_0x260f92,_0x111496,_0x5ae734,_0x553946)));_0x130959['add'](_0x3bb621);});}return{'redos':[],'undos':[]};};this[_0x3d23bf(0x34e)]['forEach']((_0x4b6172,_0x18ce2d)=>{const _0xfd54f3=_0x3d23bf,{range:_0x21f69c,sheetID:_0x3c94fa}=_0x4b6172,_0x43633e=this[_0xfd54f3(0x1f3)][_0xfd54f3(0x2f3)](_0x21f69c,_0x215e61=>(_0x43633e[_0xfd54f3(0x3aa)](),_0x42fb16(_0x215e61,_0x18ce2d,_0x3c94fa,_0x21f69c)));_0x130959[_0xfd54f3(0x358)](_0x43633e);});};this[_0x54e663(0x2bf)](_0x13023b[_0x54e663(0x1f8)](this[_0x54e663(0x2c5)][_0x54e663(0x310)](()=>{_0x34c55f();})));}[_0x453404(0x2ed)](){const _0x5cea50=_0x453404;var _0x3cc7c1,_0x18b659;if(this['_online']=!0x0,((_0x3cc7c1=this[_0x5cea50(0x379)][_0x5cea50(0x187)]())==null?void 0x0:_0x3cc7c1[_0x5cea50(0x2be)]())!==this[_0x5cea50(0x1b4)])return;const _0x3dccf8=(_0x18b659=this[_0x5cea50(0x1c0)][_0x5cea50(0x28f)](_0x17d085[_0x5cea50(0x2c4)])['getCurrentSelections']())==null?void 0x0:_0x18b659[0x0],_0x51d1fc=this[_0x5cea50(0x379)][_0x5cea50(0x15f)](_0x13023b['UniverInstanceType']['UNIVER_SHEET'])['getActiveSheet']();_0x3dccf8&&_0x51d1fc&&this[_0x5cea50(0x367)](_0x51d1fc['getSheetId'](),_0x3dccf8);}[_0x453404(0x32d)](){const _0x6bc5c4=_0x453404;this[_0x6bc5c4(0x13a)]=!0x1;}};_0x1a04e0=_0x569ff4([_0x31bfc1(0x2,_0x13023b[_0x453404(0x175)](_0x13023b['Injector'])),_0x31bfc1(0x3,_0x13023b['Inject'](_0x39fdea)),_0x31bfc1(0x4,_0x13023b[_0x453404(0x175)](_0x2c5d3c[_0x453404(0x19a)])),_0x31bfc1(0x5,_0x13023b[_0x453404(0x331)]),_0x31bfc1(0x6,_0x13023b['ICommandService']),_0x31bfc1(0x7,_0x13023b[_0x453404(0x175)](_0x17d085[_0x453404(0x2d5)]))],_0x1a04e0);var _0x2811eb=Object[_0x453404(0x23f)],_0x50e047=(_0x57efeb,_0x2e6c95,_0x5057e1,_0x3bdb0d)=>{for(var _0x505ba2=_0x3bdb0d>0x1?void 0x0:_0x3bdb0d?_0x2811eb(_0x2e6c95,_0x5057e1):_0x2e6c95,_0x2bfa93=_0x57efeb['length']-0x1,_0xd37d15;_0x2bfa93>=0x0;_0x2bfa93--)(_0xd37d15=_0x57efeb[_0x2bfa93])&&(_0x505ba2=_0xd37d15(_0x505ba2)||_0x505ba2);return _0x505ba2;},_0x352428=(_0x58073f,_0x307cf8)=>(_0xf34265,_0x158d18)=>_0x307cf8(_0xf34265,_0x158d18,_0x58073f);let _0xa698e7=class extends _0x13023b[_0x453404(0x351)]{constructor(_0x59e147,_0x2b0d85,_0x3c59c5){const _0x27809c=_0x453404;super(),_0x4ff54d(this,'_entities',new Map()),_0x4ff54d(this,'_entityInit$',new _0xe0366[(_0x27809c(0x346))]()),(this['_univerInstanceService']=_0x59e147,this[_0x27809c(0x1c0)]=_0x2b0d85,this['_collabSessionService']=_0x3c59c5,this[_0x27809c(0x224)]());}['dispose'](){const _0x192d4b=_0x453404;super[_0x192d4b(0x3aa)](),this['_entityInit$'][_0x192d4b(0x2a6)](),this['_entities']['forEach'](_0x55f9b6=>_0x55f9b6[_0x192d4b(0x3aa)]());}[_0x453404(0x267)](_0x3206ea){const _0x232473=_0x453404;return this['_entities'][_0x232473(0x138)](_0x3206ea)?this[_0x232473(0x357)]['get'](_0x3206ea)[_0x232473(0x2e2)]:this[_0x232473(0x277)][_0x232473(0x35a)](_0xe0366[_0x232473(0x325)](_0x218f87=>_0x218f87[_0x232473(0x1b4)]===_0x3206ea),_0xe0366['switchMap'](_0x1a9346=>_0x1a9346['cursorInfo$']));}['_init'](){const _0x2c9b79=_0x453404;this[_0x2c9b79(0x379)][_0x2c9b79(0x150)](_0x13023b[_0x2c9b79(0x39d)][_0x2c9b79(0x2f4)])['pipe'](_0xe0366[_0x2c9b79(0x2ba)](this['dispose$']))[_0x2c9b79(0x310)](async _0x306eeb=>{const _0x3b8e8c=_0x2c9b79,_0xcaa911=_0x306eeb[_0x3b8e8c(0x2be)](),_0x4d6a4b=await this[_0x3b8e8c(0x293)](_0xcaa911);this[_0x3b8e8c(0x277)][_0x3b8e8c(0x1a0)](_0x4d6a4b),this[_0x3b8e8c(0x357)][_0x3b8e8c(0x2ca)](_0xcaa911,_0x4d6a4b);}),this[_0x2c9b79(0x379)][_0x2c9b79(0x150)](_0x13023b[_0x2c9b79(0x39d)][_0x2c9b79(0x35d)])[_0x2c9b79(0x35a)](_0xe0366['takeUntil'](this[_0x2c9b79(0x1e3)]))[_0x2c9b79(0x35a)](_0xe0366[_0x2c9b79(0x325)](_0x46221c=>!_0x46221c[_0x2c9b79(0x2be)]()['startsWith']('__')))[_0x2c9b79(0x310)](async _0xbad5b5=>{const _0x2b403d=_0x2c9b79,_0x40a66e=_0xbad5b5[_0x2b403d(0x2be)](),_0x4282d0=await this[_0x2b403d(0x2ef)](_0x40a66e);this[_0x2b403d(0x277)]['next'](_0x4282d0),this['_entities'][_0x2b403d(0x2ca)](_0x40a66e,_0x4282d0);}),_0xe0366['merge'](this[_0x2c9b79(0x379)][_0x2c9b79(0x236)](_0x13023b[_0x2c9b79(0x39d)][_0x2c9b79(0x35d)]),this[_0x2c9b79(0x379)][_0x2c9b79(0x236)](_0x13023b[_0x2c9b79(0x39d)][_0x2c9b79(0x2f4)]))[_0x2c9b79(0x35a)](_0xe0366[_0x2c9b79(0x2ba)](this[_0x2c9b79(0x1e3)]))[_0x2c9b79(0x310)](_0x4e7d28=>{const _0x2ecc61=_0x2c9b79,_0x3a4a1b=_0x4e7d28[_0x2ecc61(0x2be)](),_0x4a45f4=this[_0x2ecc61(0x357)][_0x2ecc61(0x28f)](_0x3a4a1b);_0x4a45f4&&(_0x4a45f4['dispose'](),this['_entities']['delete'](_0x3a4a1b));});}async[_0x453404(0x293)](_0xe8b5c){const _0x307d20=_0x453404,_0x438ef7=await this['_collabSessionService'][_0x307d20(0x252)](_0xe8b5c),_0x1f1306=this['_injector'][_0x307d20(0x260)](_0x1a04e0,_0xe8b5c,_0x438ef7);return _0x1f1306['init'](),_0x1f1306;}async[_0x453404(0x2ef)](_0x21d94e){const _0x1fd3b7=_0x453404,_0x526a54=await this[_0x1fd3b7(0x2f7)][_0x1fd3b7(0x252)](_0x21d94e),_0x5048aa=this[_0x1fd3b7(0x1c0)][_0x1fd3b7(0x260)](_0x31024d,_0x21d94e,_0x526a54);return _0x5048aa[_0x1fd3b7(0x214)](),_0x5048aa;}};_0xa698e7=_0x50e047([_0x352428(0x0,_0x13023b[_0x453404(0x331)]),_0x352428(0x1,_0x13023b[_0x453404(0x175)](_0x13023b[_0x453404(0x262)])),_0x352428(0x2,_0x13023b['Inject'](_0x2c5d3c[_0x453404(0x1ae)]))],_0xa698e7);const _0x3726df=0x14,_0x59e901=0xc8,_0x4c361e=0x4,_0x38d9ce=0x5;function _0x351980(_0x8f2d8b,_0x42c3c7){const _0xaa3c7a=_0x453404;let {radius:_0x1dc8c2,width:_0x2178a6,height:_0x58ddd4}=_0x42c3c7;_0x1dc8c2=_0x1dc8c2!=null?_0x1dc8c2:0x0,_0x2178a6=_0x2178a6!=null?_0x2178a6:0x1e,_0x58ddd4=_0x58ddd4!=null?_0x58ddd4:0x1e;let _0x255dd0=0x0,_0x209f2e=0x0,_0x3c49e1=0x0;_0x255dd0=_0x209f2e=_0x3c49e1=Math[_0xaa3c7a(0x173)](_0x1dc8c2,_0x2178a6/0x2,_0x58ddd4/0x2),_0x8f2d8b[_0xaa3c7a(0x297)](),_0x8f2d8b[_0xaa3c7a(0x2ae)](_0x255dd0,0x0),_0x8f2d8b['lineTo'](_0x2178a6-_0x209f2e,0x0),_0x8f2d8b['arc'](_0x2178a6-_0x209f2e,_0x209f2e,_0x209f2e,Math['PI']*0x3/0x2,0x0,!0x1),_0x8f2d8b[_0xaa3c7a(0x2fc)](_0x2178a6,_0x58ddd4-_0x3c49e1),_0x8f2d8b[_0xaa3c7a(0x159)](_0x2178a6-_0x3c49e1,_0x58ddd4-_0x3c49e1,_0x3c49e1,0x0,Math['PI']/0x2,!0x1),_0x8f2d8b['lineTo'](0x0,_0x58ddd4),_0x8f2d8b[_0xaa3c7a(0x2fc)](0x0,_0x255dd0),_0x8f2d8b['arc'](_0x255dd0,_0x255dd0,_0x255dd0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x8f2d8b['closePath'](),_0x42c3c7[_0xaa3c7a(0x26c)]&&(_0x8f2d8b['save'](),_0x8f2d8b[_0xaa3c7a(0x33f)]=_0x42c3c7[_0xaa3c7a(0x26c)],_0x42c3c7[_0xaa3c7a(0x1a7)]===_0xaa3c7a(0x2b4)?_0x8f2d8b[_0xaa3c7a(0x26c)](_0xaa3c7a(0x2b4)):_0x8f2d8b[_0xaa3c7a(0x26c)](),_0x8f2d8b[_0xaa3c7a(0x1a5)]());}class _0x3d9cc8 extends _0x3b7797['Shape']{constructor(_0x51eb36,_0x330a43){const _0x269a08=_0x453404;super(_0x51eb36,_0x330a43),_0x4ff54d(this,_0x269a08(0x198)),_0x4ff54d(this,_0x269a08(0x1d2)),(this['color']=_0x330a43==null?void 0x0:_0x330a43[_0x269a08(0x198)],this[_0x269a08(0x1d2)]=_0x330a43==null?void 0x0:_0x330a43[_0x269a08(0x1d2)]);}static['drawWith'](_0x5d1d10,_0x7b080){const _0x452737=_0x453404,{text:_0x3dacb4,color:_0xc4ba17}=_0x7b080;_0x5d1d10['save'](),_0x5d1d10[_0x452737(0x1ce)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x2426a1=_0x5d1d10['measureText'](_0x3dacb4)[_0x452737(0x1ea)],_0x3ecf0f=Math[_0x452737(0x173)](_0x2426a1+0x2*_0x4c361e,_0x59e901);_0x351980(_0x5d1d10,{'height':_0x3726df,'radius':0x4,'width':_0x3ecf0f,'fill':_0xc4ba17}),_0x5d1d10[_0x452737(0x33f)]='#FFF';const _0x19cc6a=_0x4c361e,_0x5733ab=_0x3726df-_0x38d9ce,_0x411c38=_0x59e901-0x2*_0x4c361e;if(_0x2426a1>_0x411c38){let _0x28d4a8='',_0xbd04d7=0x0;for(const _0x307506 of _0x3dacb4){const _0x475a14=_0x5d1d10[_0x452737(0x34c)](_0x307506)[_0x452737(0x1ea)];if(_0xbd04d7+_0x475a14<=_0x411c38-_0x5d1d10[_0x452737(0x34c)](_0x452737(0x157))['width'])_0x28d4a8+=_0x307506,_0xbd04d7+=_0x475a14;else{_0x28d4a8+=_0x452737(0x157);break;}}_0x5d1d10[_0x452737(0x3a6)](_0x28d4a8,_0x19cc6a,_0x5733ab);}else _0x5d1d10['fillText'](_0x3dacb4,_0x19cc6a,_0x5733ab);_0x5d1d10['restore']();}[_0x453404(0x3b3)](_0x5dc014){const _0x30b4e9=_0x453404;_0x3d9cc8[_0x30b4e9(0x36f)](_0x5dc014,this);}}const _0x2ac1ab=_0x453404(0x34f),_0x331699=_0x453404(0x2ea),_0xa403c5='collab-rect-range-',_0x369598=0x6,_0x15ca39=1.5,_0x4f36f5=0x4,_0x455014=1.5,_0x113691=_0x453404(0x3b2);class _0x3ec89e{constructor(_0x11c317,_0x3a70ed,_0x3b085d,_0x258846){const _0x51bbcd=_0x453404;_0x4ff54d(this,_0x51bbcd(0x274),[]),_0x4ff54d(this,_0x51bbcd(0x3ab),null),_0x4ff54d(this,_0x51bbcd(0x368),null),_0x4ff54d(this,'_anchorDot',null),_0x4ff54d(this,_0x51bbcd(0x158),null),_0x4ff54d(this,_0x51bbcd(0x271),null),(this[_0x51bbcd(0x31c)]=_0x11c317,this[_0x51bbcd(0x3ae)]=_0x3a70ed,this[_0x51bbcd(0x2c6)]=_0x3b085d,this[_0x51bbcd(0x1c7)]=_0x258846,this[_0x51bbcd(0x19f)]());}set[_0x453404(0x192)](_0x3eb2c3){const _0x1aaaf2=_0x453404;_0x3eb2c3?(this[_0x1aaaf2(0x14c)]&&this[_0x1aaaf2(0x14c)][_0x1aaaf2(0x355)](),this['_textBubble']&&this['_textBubble']['show']()):(this['_anchorDot']&&this[_0x1aaaf2(0x14c)]['show'](),this['_textBubble']&&this['_textBubble']['hide']());}['dispose'](){const _0x392413=_0x453404;for(const _0xb3b5e7 of this['_shapes'])_0xb3b5e7[_0x392413(0x3aa)]();this[_0x392413(0x368)]&&this[_0x392413(0x368)][_0x392413(0x3aa)](),this[_0x392413(0x14c)]&&this[_0x392413(0x14c)][_0x392413(0x3aa)](),this['_anchor']&&this[_0x392413(0x3ab)][_0x392413(0x3aa)](),this[_0x392413(0x271)]&&this[_0x392413(0x271)]();}[_0x453404(0x19f)](){const _0x566c39=_0x453404;var _0x4c1483;const {_docSkeleton:_0x13155b,_document:_0x447cf5}=this,{color:_0x46e4b3,name:_0x544d54,ranges:_0x58fc01}=this['_cursor'],_0x37bc9a=_0x447cf5[_0x566c39(0x149)](),{docsLeft:_0x58a10c,docsTop:_0x4f3def}=_0x37bc9a,_0x361fc8=new _0x229cdf[(_0x566c39(0x354))](_0x37bc9a,_0x13155b);for(const {startOffset:_0x2e5ed9,endOffset:_0x21912d,rangeType:_0x40e680,segmentId:_0x5f32fc,segmentPage:_0x5acf46,collapsed:_0xc3401,isActive:_0x4e7ab1}of _0x58fc01){const _0x5d60bd=_0x13155b[_0x566c39(0x1e2)](_0x2e5ed9,!0x0,_0x5f32fc,_0x5acf46);let _0x39c3bc=_0x13155b[_0x566c39(0x1e2)](_0x21912d,!0x0,_0x5f32fc,_0x5acf46);if(_0x39c3bc==null&&(_0x39c3bc=_0x13155b['findNodePositionByCharIndex'](_0x21912d-0x1,!0x1,_0x5f32fc,_0x5acf46)),_0x4e7ab1){const {contentBoxPointGroup:_0x3fb8e5}=_0x361fc8['getRangePointData'](_0x39c3bc,_0x39c3bc);if(_0x3fb8e5['length']===0x0)continue;this[_0x566c39(0x374)](_0x46e4b3,_0x3fb8e5,_0x58a10c,_0x4f3def,_0x544d54),this[_0x566c39(0x271)]=this[_0x566c39(0x2b8)]();}if(_0x5d60bd&&_0x39c3bc){if(_0x40e680===_0x13023b[_0x566c39(0x12a)][_0x566c39(0x124)]){const _0x2510e6=new _0x229cdf[(_0x566c39(0x1cc))](_0x37bc9a,_0x13155b),{pointGroup:_0x3eecec}=(_0x4c1483=_0x2510e6[_0x566c39(0x31d)](_0x5d60bd,_0x39c3bc))!=null?_0x4c1483:{};if(_0x3eecec==null||_0x3eecec[_0x566c39(0x2f8)]===0x0)continue;this[_0x566c39(0x17f)](_0x46e4b3,_0x3eecec,_0x58a10c,_0x4f3def);}else{if(!_0xc3401){const {borderBoxPointGroup:_0x5c0818}=_0x361fc8[_0x566c39(0x31d)](_0x5d60bd,_0x39c3bc);if(_0x5c0818[_0x566c39(0x2f8)]===0x0)continue;this[_0x566c39(0x2d1)](_0x46e4b3,_0x5c0818,_0x58a10c,_0x4f3def);}}}}}['_drawAnchor'](_0x3ddab4,_0x224f7f,_0x4e23e0,_0x25a872,_0x279638){const _0x5748ec=_0x453404,_0x44514=this[_0x5748ec(0x1ec)](_0x224f7f),{left:_0x346b93,top:_0x11bcf9,height:_0x3656f5}=_0x44514,_0x2c9203=this[_0x5748ec(0x134)](),_0x27c8aa=_0x455014/_0x2c9203,_0xdf9036=new _0x3b7797[(_0x5748ec(0x237))](_0x2ac1ab+_0x13023b[_0x5748ec(0x338)](_0x369598),{'left':_0x346b93+_0x4e23e0-_0x27c8aa,'top':_0x11bcf9+_0x25a872,'height':_0x3656f5,'width':_0x15ca39,'fill':_0x3ddab4||_0x3b7797['getColor'](_0x13023b['COLORS'][_0x5748ec(0x296)],0x0),'strokeWidth':_0x27c8aa,'stroke':_0x113691,'evented':!0x0});this[_0x5748ec(0x3ab)]=_0xdf9036,this[_0x5748ec(0x3ae)][_0x5748ec(0x396)](_0xdf9036,_0x229cdf[_0x5748ec(0x28c)]);const _0x1ff351=new _0x3b7797[(_0x5748ec(0x237))](_0x2ac1ab+_0x13023b['generateRandomId'](_0x369598),{'left':_0x346b93+_0x4e23e0-_0x27c8aa,'top':_0x11bcf9+_0x25a872-_0x4f36f5/0x2,'height':_0x4f36f5,'width':_0x4f36f5,'fill':_0x3ddab4||_0x3b7797[_0x5748ec(0x208)](_0x13023b[_0x5748ec(0x384)][_0x5748ec(0x296)],0x0),'strokeWidth':0x0,'stroke':_0x3ddab4||_0x3b7797[_0x5748ec(0x208)](_0x13023b[_0x5748ec(0x384)]['black'],0x0),'evented':!0x1});this[_0x5748ec(0x14c)]=_0x1ff351,this['_scene']['addObject'](_0x1ff351,_0x229cdf[_0x5748ec(0x28c)]);const _0xa78a30=new _0x3d9cc8(_0x2ac1ab+_0x13023b['generateRandomId'](_0x369598),{'left':_0x346b93+_0x4e23e0-_0x27c8aa,'top':_0x11bcf9+_0x25a872-_0x3726df,'text':_0x279638,'color':_0x3ddab4});this[_0x5748ec(0x368)]=_0xa78a30,this[_0x5748ec(0x3ae)][_0x5748ec(0x396)](_0xa78a30,_0x229cdf[_0x5748ec(0x28c)]),this[_0x5748ec(0x192)]=!0x1;}['_handleHover'](){const _0x5567ba=_0x453404,_0x150974=this['_anchor'][_0x5567ba(0x3a5)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x448de9=this[_0x5567ba(0x3ab)][_0x5567ba(0x292)]['subscribeEvent'](()=>{const _0x42fa82=_0x5567ba;this[_0x42fa82(0x158)]&&clearTimeout(this[_0x42fa82(0x158)]),this[_0x42fa82(0x158)]=setTimeout(()=>{const _0x4e7a66=_0x42fa82;this[_0x4e7a66(0x192)]=!0x1;},0x7d0);});return()=>{const _0x29902f=_0x5567ba;_0x150974[_0x29902f(0x3a1)](),_0x448de9[_0x29902f(0x3a1)]();};}[_0x453404(0x2d1)](_0x4381e6,_0x34eb42,_0x3ee1a8,_0x13d5e0){const _0x54bb0b=_0x453404,_0x53235b=new _0x13023b['ColorKit'](_0x4381e6)[_0x54bb0b(0x1ed)](0.2)[_0x54bb0b(0x2a9)](),_0x496a47=new _0x3b7797['RegularPolygon'](_0x331699+_0x13023b[_0x54bb0b(0x338)](_0x369598),{'pointsGroup':_0x34eb42,'fill':_0x53235b||_0x3b7797[_0x54bb0b(0x208)](_0x13023b[_0x54bb0b(0x384)][_0x54bb0b(0x296)],0.2),'left':_0x3ee1a8,'top':_0x13d5e0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x54bb0b(0x274)][_0x54bb0b(0x1fe)](_0x496a47),this[_0x54bb0b(0x3ae)]['addObject'](_0x496a47,_0x229cdf[_0x54bb0b(0x28c)]);}['_drawRectRange'](_0xf26c00,_0x277320,_0x3b30b7,_0x56271d){const _0x37be23=_0x453404,_0x5e4f05=new _0x13023b[(_0x37be23(0x13f))](_0xf26c00)[_0x37be23(0x1ed)](0.2)[_0x37be23(0x2a9)](),_0x2c2dd3=new _0x3b7797[(_0x37be23(0x259))](_0xa403c5+_0x13023b['generateRandomId'](_0x369598),{'pointsGroup':_0x277320,'fill':_0x5e4f05||_0x3b7797[_0x37be23(0x208)](_0x13023b['COLORS'][_0x37be23(0x296)],0.2),'left':_0x3b30b7,'top':_0x56271d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x37be23(0x1fe)](_0x2c2dd3),this[_0x37be23(0x3ae)][_0x37be23(0x396)](_0x2c2dd3,_0x229cdf[_0x37be23(0x28c)]);}[_0x453404(0x1ec)](_0x4cb6d0){const _0x537e81=_0x4cb6d0[0x0],_0x3910d8=_0x537e81[0x0],_0x8eb559=_0x537e81[0x2],{x:_0x1e9908,y:_0x578db2}=_0x3910d8,{x:_0x4ef325,y:_0x40cbbb}=_0x8eb559;return{'left':_0x1e9908,'top':_0x578db2,'width':_0x4ef325-_0x1e9908,'height':_0x40cbbb-_0x578db2};}[_0x453404(0x134)](){const _0x295e74=_0x453404,{scaleX:_0x93b5ea,scaleY:_0x3c8ccb}=this[_0x295e74(0x3ae)][_0x295e74(0x35c)]();return Math[_0x295e74(0x15c)](_0x93b5ea,_0x3c8ccb);}}var _0x550765=Object[_0x453404(0x23f)],_0x23ed2a=(_0x403adb,_0x1529e2,_0x1c4a4c,_0xc7b5ff)=>{const _0x526571=_0x453404;for(var _0x56ff1e=_0xc7b5ff>0x1?void 0x0:_0xc7b5ff?_0x550765(_0x1529e2,_0x1c4a4c):_0x1529e2,_0x3fd1c3=_0x403adb[_0x526571(0x2f8)]-0x1,_0x462392;_0x3fd1c3>=0x0;_0x3fd1c3--)(_0x462392=_0x403adb[_0x3fd1c3])&&(_0x56ff1e=_0x462392(_0x56ff1e)||_0x56ff1e);return _0x56ff1e;},_0x5c19fc=(_0x24650a,_0x4e6d1c)=>(_0x1b6560,_0x17c2d7)=>_0x4e6d1c(_0x1b6560,_0x17c2d7,_0x24650a);let _0x4b6396=class extends _0x13023b['RxDisposable']{constructor(_0x3e4867,_0x132aca,_0x2fbf48,_0x423243,_0x4e3220){const _0x1a50d0=_0x453404;super(),_0x4ff54d(this,'_cursorShapes',[]),_0x4ff54d(this,_0x1a50d0(0x204),[]),(this[_0x1a50d0(0x30d)]=_0x3e4867,this[_0x1a50d0(0x270)]=_0x132aca,this['_collabCursorController']=_0x2fbf48,this[_0x1a50d0(0x27b)]=_0x423243,this['_themeService']=_0x4e3220,this[_0x1a50d0(0x224)]());}['_init'](){const _0x137611=_0x453404,_0x309127=this[_0x137611(0x30d)][_0x137611(0x2e4)],_0x101150=this['_docSkeletonManagerService'];this[_0x137611(0x2bf)](_0xe0366[_0x137611(0x2fe)]([this[_0x137611(0x23e)][_0x137611(0x267)](_0x309127),this['_themeService']['currentTheme$']])[_0x137611(0x35a)](_0x1a2632[_0x137611(0x246)](([_0x391e8f,_0x226940])=>({'skeleton':_0x101150[_0x137611(0x1dd)](),'cursors':[..._0x391e8f[_0x137611(0x218)]()]['flatMap'](_0x4ae734=>({..._0x4ae734,'color':this['_themeService'][_0x137611(0x191)](_0x4ae734[_0x137611(0x198)])}))})))['subscribe'](_0x40a453=>{const _0x3317ef=_0x137611;if(this[_0x3317ef(0x147)](),_0x40a453){const {skeleton:_0x43eb4f,cursors:_0x25bc5c}=_0x40a453;this['_updateCollabCursors'](_0x43eb4f,_0x25bc5c);}})),this[_0x137611(0x30a)](),this[_0x137611(0x3a3)]();}[_0x453404(0x340)](_0xbd93b0,_0x1c043e){const _0x5e4e9a=_0x453404,{scene:_0x2daad2,mainComponent:_0x1742a5}=this[_0x5e4e9a(0x30d)],_0x32019c=_0x1c043e[_0x5e4e9a(0x246)](_0x4be90f=>new _0x3ec89e(_0x4be90f,_0x2daad2,_0xbd93b0,_0x1742a5));this['_cursorShapes']=_0x32019c,this[_0x5e4e9a(0x204)]=_0x1c043e;}['_refreshCollabCursors'](){const _0xa92ff5=_0x453404;this['_removeCollabCursors']();const {scene:_0x372d6c,mainComponent:_0x4a8650}=this[_0xa92ff5(0x30d)],_0x2ca44f=this['_docSkeletonManagerService'][_0xa92ff5(0x1dd)](),_0x5295f5=this[_0xa92ff5(0x204)]['map'](_0x374c7f=>new _0x3ec89e(_0x374c7f,_0x372d6c,_0x2ca44f,_0x4a8650));this['_cursorShapes']=_0x5295f5;}[_0x453404(0x147)](){const _0x12aca5=_0x453404;this[_0x12aca5(0x37a)][_0x12aca5(0x136)](_0x32148f=>_0x32148f[_0x12aca5(0x3aa)]()),this[_0x12aca5(0x37a)]=[];}[_0x453404(0x3a3)](){const _0x594033=_0x453404,_0x3877e1=[_0x229cdf['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x594033(0x27b)]['onCommandExecuted'](_0x2bac85=>{const _0x3f528e=_0x594033;_0x3877e1[_0x3f528e(0x11e)](_0x2bac85['id'])&&_0x2bac85[_0x3f528e(0x1fd)]['unitId']===this[_0x3f528e(0x30d)]['unitId']&&this[_0x3f528e(0x25c)]();}));}[_0x453404(0x30a)](){const _0x316a54=_0x453404;this[_0x316a54(0x2bf)](_0x13023b[_0x316a54(0x356)](this[_0x316a54(0x30d)][_0x316a54(0x25b)][_0x316a54(0x21e)])[_0x316a54(0x35a)](_0x1a2632[_0x316a54(0x325)](_0xaaac89=>_0xaaac89[_0x316a54(0x335)]===_0x3b7797['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x1a2632[_0x316a54(0x272)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x4b6396=_0x23ed2a([_0x5c19fc(0x1,_0x13023b[_0x453404(0x175)](_0x3679f8[_0x453404(0x258)])),_0x5c19fc(0x2,_0x13023b[_0x453404(0x175)](_0xa698e7)),_0x5c19fc(0x3,_0x13023b[_0x453404(0x2a5)]),_0x5c19fc(0x4,_0x13023b[_0x453404(0x175)](_0x13023b[_0x453404(0x36c)]))],_0x4b6396);const _0x4798c9=0x1,_0xdf9837=1.5;class _0x2b9a5f extends _0x3b7797[_0x453404(0x385)]{constructor(_0x46f410,_0x75f95e){const _0x1d2550=_0x453404;super(_0x46f410,_0x75f95e),_0x4ff54d(this,'_color'),_0x4ff54d(this,'_hovered',!0x1),_0x4ff54d(this,'_range'),_0x4ff54d(this,_0x1d2550(0x1c5),''),_0x4ff54d(this,_0x1d2550(0x363),_0x1d2550(0x199)),_0x4ff54d(this,_0x1d2550(0x23c)),(_0x75f95e&&this[_0x1d2550(0x2b3)](_0x75f95e),this[_0x1d2550(0x3a5)][_0x1d2550(0x220)](()=>this[_0x1d2550(0x2b3)]({'hovered':!0x0})),this[_0x1d2550(0x292)][_0x1d2550(0x220)](()=>this[_0x1d2550(0x2b3)]({'hovered':!0x1})));}[_0x453404(0x2b3)](_0x145a73){const _0x2e3243=_0x453404;var _0x23c0de,_0x1049c8,_0x195889,_0x35a2fe,_0x1f6767,_0x286fe8;this[_0x2e3243(0x197)]=(_0x23c0de=_0x145a73[_0x2e3243(0x198)])!=null?_0x23c0de:this[_0x2e3243(0x197)],this[_0x2e3243(0x17b)]=(_0x1049c8=_0x145a73[_0x2e3243(0x172)])!=null?_0x1049c8:this['_hovered'],this[_0x2e3243(0x2cf)]=(_0x195889=_0x145a73['range'])!=null?_0x195889:this[_0x2e3243(0x2cf)],this[_0x2e3243(0x1c5)]=(_0x35a2fe=_0x145a73[_0x2e3243(0x18b)])!=null?_0x35a2fe:this['_name'],this[_0x2e3243(0x363)]=(_0x1f6767=_0x145a73['labelPosition'])!=null?_0x1f6767:this[_0x2e3243(0x363)],this[_0x2e3243(0x23c)]=(_0x286fe8=_0x145a73[_0x2e3243(0x36b)])!=null?_0x286fe8:this[_0x2e3243(0x23c)],this['transformByState']({'width':_0x145a73[_0x2e3243(0x1ea)],'height':_0x145a73[_0x2e3243(0x1bc)]});}[_0x453404(0x373)](_0x5c9646){const _0x2bd9b6=_0x453404,{row:_0x1de3ae,column:_0x1e2564}=_0x5c9646;if(_0x1de3ae>=this[_0x2bd9b6(0x2cf)][_0x2bd9b6(0x162)]&&_0x1de3ae<=this[_0x2bd9b6(0x2cf)][_0x2bd9b6(0x2bd)]&&_0x1e2564>=this[_0x2bd9b6(0x2cf)]['startColumn']&&_0x1e2564<=this[_0x2bd9b6(0x2cf)][_0x2bd9b6(0x24f)]){this[_0x2bd9b6(0x2b3)]({'hovered':!0x0});return;}this[_0x2bd9b6(0x2b3)]({'hovered':!0x1});}['triggerDblclick'](_0x4fb8bd){return!0x1;}['_draw'](_0x4b1269){const _0x8d3219=_0x453404;_0x3b7797[_0x8d3219(0x237)][_0x8d3219(0x36f)](_0x4b1269,{'width':this[_0x8d3219(0x1ea)],'height':this['height'],'strokeWidth':_0xdf9837,'stroke':this[_0x8d3219(0x197)],'evented':!0x1,'fill':this[_0x8d3219(0x23c)]}),this[_0x8d3219(0x17b)]&&(_0x4b1269[_0x8d3219(0x16f)](),_0x4b1269['transform'](0x1,0x0,0x0,0x1,this[_0x8d3219(0x1ea)],this['_labelPosition']==='bottom'?0x0:-0x14),_0x3d9cc8['drawWith'](_0x4b1269,{'text':this['_name'],'color':this[_0x8d3219(0x197)]}),_0x4b1269[_0x8d3219(0x1a5)]());}}var _0xb48789=Object['getOwnPropertyDescriptor'],_0x1e584f=(_0x587f08,_0x41b72d,_0x53950b,_0x47c52f)=>{const _0x1d9c32=_0x453404;for(var _0x84afcb=_0x47c52f>0x1?void 0x0:_0x47c52f?_0xb48789(_0x41b72d,_0x53950b):_0x41b72d,_0x3ecbf8=_0x587f08[_0x1d9c32(0x2f8)]-0x1,_0x51a6b6;_0x3ecbf8>=0x0;_0x3ecbf8--)(_0x51a6b6=_0x587f08[_0x3ecbf8])&&(_0x84afcb=_0x51a6b6(_0x84afcb)||_0x84afcb);return _0x84afcb;},_0x44ba04=(_0x2b972b,_0x53ab9c)=>(_0x2ffe76,_0x29ffdc)=>_0x53ab9c(_0x2ffe76,_0x29ffdc,_0x2b972b);const _0x62bc62=0x1389;let _0x53e774=class extends _0x13023b[_0x453404(0x351)]{constructor(_0x1fab6d,_0xcc1447,_0x54b9d6,_0x2bf3c5){const _0x4eea35=_0x453404;super(),_0x4ff54d(this,'_cursors',new Set()),_0x4ff54d(this,'_lastPointer',null),(this[_0x4eea35(0x30d)]=_0x1fab6d,this[_0x4eea35(0x12b)]=_0xcc1447,this[_0x4eea35(0x23e)]=_0x54b9d6,this['_themeService']=_0x2bf3c5,this[_0x4eea35(0x224)]());}['_init'](){const _0xf8f795=_0x453404;this[_0xf8f795(0x12b)]['currentSkeleton$'][_0xf8f795(0x35a)](_0x1a2632[_0xf8f795(0x2ba)](this[_0xf8f795(0x1e3)]),_0x1a2632[_0xf8f795(0x1a2)](_0x409805=>{const _0x5a5dbf=_0xf8f795;if(_0x409805){const _0x543f86=_0x409805[_0x5a5dbf(0x295)];return _0xe0366[_0x5a5dbf(0x2fe)](this[_0x5a5dbf(0x23e)]['getCollabCursors$'](this['_context']['unitId']),this[_0x5a5dbf(0x3a7)][_0x5a5dbf(0x166)])[_0x5a5dbf(0x35a)](_0x1a2632['map'](([_0x38649b,_0x1a18e7])=>{const _0xe3c2c1=_0x5a5dbf,_0x15e91e=new Map();return _0x38649b[_0xe3c2c1(0x136)]((_0x1a97ad,_0x5a778c)=>{const _0x15f673=_0xe3c2c1;if(_0x1a97ad[_0x15f673(0x255)]===_0x543f86){const _0x1bd32c={..._0x1a97ad};_0x1bd32c['color']=this['_themeService'][_0x15f673(0x191)](_0x1a97ad[_0x15f673(0x198)]),_0x15e91e[_0x15f673(0x2ca)](_0x5a778c,_0x1bd32c);}}),{'skeleton':_0x409805,'cursors':_0x15e91e};}));}return _0xe0366['of']({'skeleton':null,'cursors':new Map()});}))[_0xf8f795(0x310)](({skeleton:_0x1258fa,cursors:_0x3e5f2f})=>{const _0xc8da73=_0xf8f795;this['_removeCollabCursors'](),_0x1258fa&&this[_0xc8da73(0x340)](_0x1258fa,_0x3e5f2f);}),this[_0xf8f795(0x12b)][_0xf8f795(0x353)][_0xf8f795(0x310)](_0x35a31c=>{const _0x1c84e8=_0xf8f795;if(_0x35a31c==null)return;const {skeleton:_0x5a57b7}=_0x35a31c,{scene:_0xe0fbd9}=this['_context'];_0xe0fbd9['onPointerMove$'][_0x1c84e8(0x220)](_0x13023b[_0x1c84e8(0x121)](_0x409d9f=>{const _0x3d7a1f=_0x1c84e8;var _0x1e1e4c,_0x5457b8;const {offsetX:_0x53f335,offsetY:_0x5cb88f}=_0x409d9f,{x:_0x42bac5,y:_0x32be3a}=_0xe0fbd9[_0x3d7a1f(0x284)](_0x3b7797[_0x3d7a1f(0x125)]['FromArray']([_0x53f335,_0x5cb88f])),{scaleX:_0x3f2346,scaleY:_0x361087}=_0xe0fbd9[_0x3d7a1f(0x35c)](),_0x25dc8d=_0xe0fbd9[_0x3d7a1f(0x34b)](_0x3b7797[_0x3d7a1f(0x15a)][_0x3d7a1f(0x207)]),_0x6ef5a2=_0xe0fbd9[_0x3d7a1f(0x341)](_0x3b7797[_0x3d7a1f(0x125)][_0x3d7a1f(0x163)]([_0x42bac5,_0x32be3a]),_0x25dc8d),_0x602ea4=_0x5a57b7['getCellPositionByOffset'](_0x53f335,_0x5cb88f,_0x3f2346,_0x361087,_0x6ef5a2);((_0x1e1e4c=this['_lastPointer'])==null?void 0x0:_0x1e1e4c[_0x3d7a1f(0x213)])===_0x602ea4[_0x3d7a1f(0x213)]&&((_0x5457b8=this['_lastPointer'])==null?void 0x0:_0x5457b8[_0x3d7a1f(0x365)])===_0x602ea4['row']||this[_0x3d7a1f(0x204)][_0x3d7a1f(0x136)](_0x418430=>{_0x418430['onMouseMove'](_0x602ea4);});},0x64));});}[_0x453404(0x340)](_0x4ad565,_0x4ebafe){const _0x5b6f18=_0x453404;var _0x40ac82;const _0x99e3a3=(_0x40ac82=this[_0x5b6f18(0x12b)]['getCurrent']())==null?void 0x0:_0x40ac82[_0x5b6f18(0x334)];if(!_0x99e3a3)return;const _0x1c3e31=this['_getSheetObject']();if(!_0x1c3e31)return;this[_0x5b6f18(0x204)][_0x5b6f18(0x136)](_0x3341fe=>{const _0x2c3472=_0x5b6f18;_0x3341fe[_0x2c3472(0x2a1)]();});const {scene:_0x5673b8}=_0x1c3e31,_0xf0f9a7=_0x1ed3b3(Array[_0x5b6f18(0x239)](_0x4ebafe[_0x5b6f18(0x218)]()))['map'](_0x56cbfb=>{const _0x1309c8=_0x5b6f18,{color:_0x446e5f,range:_0x255910,name:_0x1df6c5,selection:_0xbc4c33,sheetID:_0x2f5525}=_0x56cbfb,{startColumn:_0x3fd78b,startRow:_0x2e4ee8,endColumn:_0xe915da,endRow:_0x1ac331}=_0x255910,_0x5db8ad=_0x128c44[_0x1309c8(0x21f)](_0x2e4ee8,_0x3fd78b,_0x5673b8,_0x99e3a3),_0x54d8dd=_0x128c44[_0x1309c8(0x21f)](_0x1ac331,_0xe915da,_0x5673b8,_0x99e3a3),{columnHeaderHeightAndMarginTop:_0xdcba6}=_0x99e3a3,{startX:_0x1e0e30,startY:_0x50be1c}=_0x5db8ad,{endX:_0xf08d8b,endY:_0x248b03}=_0x54d8dd,_0x2ca8a9=_0xf08d8b-_0x1e0e30,_0x2c84b8=_0x248b03-_0x50be1c,_0x3777f4={'labelPosition':_0x50be1c-_0xdcba6>=_0x3726df?_0x1309c8(0x199):'bottom','sheetID':_0x2f5525,'range':_0x255910,'color':_0x446e5f,'name':_0x1df6c5,'selection':_0xbc4c33,'left':_0x1e0e30,'top':_0x50be1c,'width':_0x2ca8a9,'height':_0x2c84b8,'evented':!0x1,'zIndex':_0x62bc62};return new _0x2b9a5f(_0x1df6c5,_0x3777f4);});_0x5673b8[_0x5b6f18(0x2e5)](_0xf0f9a7,_0x4798c9),this[_0x5b6f18(0x204)]=new Set(_0xf0f9a7);}['_removeCollabCursors'](){const _0x5ccade=_0x453404;var _0xa94bb1;(_0xa94bb1=this[_0x5ccade(0x204)])==null||_0xa94bb1[_0x5ccade(0x136)](_0x3c4064=>_0x3c4064[_0x5ccade(0x3aa)]());}[_0x453404(0x27f)](){const _0x22b4d7=_0x453404;return _0x128c44[_0x22b4d7(0x2a7)](this[_0x22b4d7(0x30d)][_0x22b4d7(0x35b)],this[_0x22b4d7(0x30d)]);}};_0x53e774=_0x1e584f([_0x44ba04(0x1,_0x13023b['Inject'](_0x128c44[_0x453404(0x1b6)])),_0x44ba04(0x2,_0x13023b[_0x453404(0x175)](_0xa698e7)),_0x44ba04(0x3,_0x13023b['Inject'](_0x13023b[_0x453404(0x36c)]))],_0x53e774);function _0x1ed3b3(_0x418ea7){const _0x2d4163=_0x453404,_0x3fcc1f=new Map();return _0x418ea7['forEach'](_0x43f093=>{const _0x40b337=_0x3ea2;if(_0x3fcc1f[_0x40b337(0x138)](_0x43f093[_0x40b337(0x1b1)])){const _0x2c9fa2=_0x3fcc1f[_0x40b337(0x28f)](_0x43f093[_0x40b337(0x1b1)]);_0x2c9fa2[_0x40b337(0x18b)]+=',\x20'+_0x43f093[_0x40b337(0x18b)];}else _0x3fcc1f[_0x40b337(0x2ca)](_0x43f093[_0x40b337(0x1b1)],_0x43f093);}),Array[_0x2d4163(0x239)](_0x3fcc1f[_0x2d4163(0x218)]());}var _0x3a4410=function(){const _0x15ac3a=_0x453404;return _0x3a4410=Object[_0x15ac3a(0x1b9)]||function(_0x46a331){const _0x313eb2=_0x15ac3a;for(var _0x8e981a,_0x8e6ff3=0x1,_0x4870d6=arguments[_0x313eb2(0x2f8)];_0x8e6ff3<_0x4870d6;_0x8e6ff3++){_0x8e981a=arguments[_0x8e6ff3];for(var _0x310f73 in _0x8e981a)Object[_0x313eb2(0x2e1)][_0x313eb2(0x37f)][_0x313eb2(0x333)](_0x8e981a,_0x310f73)&&(_0x46a331[_0x310f73]=_0x8e981a[_0x310f73]);}return _0x46a331;},_0x3a4410[_0x15ac3a(0x31b)](this,arguments);},_0x1abbb1=function(_0x204e1c,_0x8d71aa){const _0x401e06=_0x453404;var _0xf07439={};for(var _0x41cb0a in _0x204e1c)Object['prototype'][_0x401e06(0x37f)][_0x401e06(0x333)](_0x204e1c,_0x41cb0a)&&_0x8d71aa['indexOf'](_0x41cb0a)<0x0&&(_0xf07439[_0x41cb0a]=_0x204e1c[_0x41cb0a]);if(_0x204e1c!=null&&typeof Object[_0x401e06(0x36a)]=='function'){for(var _0x2ec74a=0x0,_0x41cb0a=Object[_0x401e06(0x36a)](_0x204e1c);_0x2ec74a<_0x41cb0a[_0x401e06(0x2f8)];_0x2ec74a++)_0x8d71aa[_0x401e06(0x140)](_0x41cb0a[_0x2ec74a])<0x0&&Object[_0x401e06(0x2e1)]['propertyIsEnumerable'][_0x401e06(0x333)](_0x204e1c,_0x41cb0a[_0x2ec74a])&&(_0xf07439[_0x41cb0a[_0x2ec74a]]=_0x204e1c[_0x41cb0a[_0x2ec74a]]);}return _0xf07439;},_0x3d7b6f=_0x52afd9[_0x453404(0x1af)](function(_0x46f246,_0x6a652c){const _0x5ad94d=_0x453404;var _0x239231=_0x46f246['icon'],_0x5af7f8=_0x46f246['id'],_0x574b43=_0x46f246[_0x5ad94d(0x25d)],_0x5c5f90=_0x46f246['extend'],_0x17d7a4=_0x1abbb1(_0x46f246,[_0x5ad94d(0x1bd),'id',_0x5ad94d(0x25d),_0x5ad94d(0x31f)]),_0x45c63b=_0x5ad94d(0x38d)[_0x5ad94d(0x195)](_0x5af7f8,'\x20')['concat'](_0x574b43||'')[_0x5ad94d(0x2a3)](),_0x3d8e88=_0x52afd9[_0x5ad94d(0x32a)]('_'[_0x5ad94d(0x195)](_0x550c99()));return _0x3831f1(_0x239231,''[_0x5ad94d(0x195)](_0x5af7f8),{'defIds':_0x239231[_0x5ad94d(0x2b5)],'idSuffix':_0x3d8e88[_0x5ad94d(0x3a4)]},_0x3a4410({'ref':_0x6a652c,'className':_0x45c63b},_0x17d7a4),_0x5c5f90);});function _0x3831f1(_0x566a23,_0x5ed6ab,_0xc3116a,_0x130a2f,_0x3377ae){const _0x3c8dcc=_0x453404;return _0x52afd9[_0x3c8dcc(0x1df)](_0x566a23[_0x3c8dcc(0x376)],_0x3a4410(_0x3a4410({'key':_0x5ed6ab},_0x4ab455(_0x566a23,_0xc3116a,_0x3377ae)),_0x130a2f),(_0x474f75(_0x566a23,_0xc3116a)[_0x3c8dcc(0x13d)]||[])['map'](function(_0x1fb875,_0x2aa6b9){const _0x4cd8c8=_0x3c8dcc;return _0x3831f1(_0x1fb875,''[_0x4cd8c8(0x195)](_0x5ed6ab,'-')[_0x4cd8c8(0x195)](_0x566a23[_0x4cd8c8(0x376)],'-')['concat'](_0x2aa6b9),_0xc3116a,void 0x0,_0x3377ae);}));}function _0x4ab455(_0x4d39fd,_0x2fc351,_0x4750ad){const _0x14d53d=_0x453404;var _0x1c78a2=_0x3a4410({},_0x4d39fd['attrs']);_0x4750ad!=null&&_0x4750ad['colorChannel1']&&_0x1c78a2[_0x14d53d(0x26c)]===_0x14d53d(0x29e)&&(_0x1c78a2[_0x14d53d(0x26c)]=_0x4750ad[_0x14d53d(0x29e)]),_0x4d39fd[_0x14d53d(0x376)]===_0x14d53d(0x2f6)&&_0x1c78a2['id']&&(_0x1c78a2['id']=_0x1c78a2['id']+_0x2fc351['idSuffix']),Object[_0x14d53d(0x11c)](_0x1c78a2)[_0x14d53d(0x136)](function(_0x1de856){const _0x29b554=_0x14d53d;var _0x91aed8=_0x1de856[0x0],_0x235781=_0x1de856[0x1];_0x91aed8===_0x29b554(0x2f6)&&typeof _0x235781==_0x29b554(0x209)&&(_0x1c78a2[_0x91aed8]=_0x235781[_0x29b554(0x329)](/url\(#(.*)\)/,'url(#$1'[_0x29b554(0x195)](_0x2fc351['idSuffix'],')')));});var _0x281372=_0x2fc351[_0x14d53d(0x2b5)];return!_0x281372||_0x281372[_0x14d53d(0x2f8)]===0x0||(_0x4d39fd['tag']===_0x14d53d(0x18e)&&_0x1c78a2[_0x14d53d(0x1d4)]&&(_0x1c78a2[_0x14d53d(0x1d4)]=_0x1c78a2[_0x14d53d(0x1d4)]+_0x2fc351['idSuffix']),Object['entries'](_0x1c78a2)[_0x14d53d(0x136)](function(_0x5e86a8){const _0x3f4a36=_0x14d53d;var _0xe5df5a=_0x5e86a8[0x0],_0x1b28a6=_0x5e86a8[0x1];typeof _0x1b28a6==_0x3f4a36(0x209)&&(_0x1c78a2[_0xe5df5a]=_0x1b28a6[_0x3f4a36(0x329)](/url\(#(.*)\)/,_0x3f4a36(0x16a)[_0x3f4a36(0x195)](_0x2fc351[_0x3f4a36(0x2c8)],')')));})),_0x1c78a2;}function _0x474f75(_0x32d3eb,_0x377dd8){const _0x4e2276=_0x453404;var _0x1b4f44,_0x84fb7f=_0x377dd8[_0x4e2276(0x2b5)];return!_0x84fb7f||_0x84fb7f[_0x4e2276(0x2f8)]===0x0?_0x32d3eb:_0x32d3eb['tag']===_0x4e2276(0x1e5)&&(!((_0x1b4f44=_0x32d3eb[_0x4e2276(0x13d)])===null||_0x1b4f44===void 0x0)&&_0x1b4f44[_0x4e2276(0x2f8)])?_0x3a4410(_0x3a4410({},_0x32d3eb),{'children':_0x32d3eb[_0x4e2276(0x13d)][_0x4e2276(0x246)](function(_0x18844a){const _0x3f0d2c=_0x4e2276;return typeof _0x18844a['attrs']['id']=='string'&&_0x84fb7f&&_0x84fb7f[_0x3f0d2c(0x11e)](_0x18844a[_0x3f0d2c(0x397)]['id'])?_0x3a4410(_0x3a4410({},_0x18844a),{'attrs':_0x3a4410(_0x3a4410({},_0x18844a[_0x3f0d2c(0x397)]),{'id':_0x18844a['attrs']['id']+_0x377dd8[_0x3f0d2c(0x2c8)]})}):_0x18844a;})}):_0x32d3eb;}function _0x550c99(){const _0xc7db21=_0x453404;return Math[_0xc7db21(0x324)]()[_0xc7db21(0x168)](0x24)[_0xc7db21(0x251)](0x2,0x8);}_0x3d7b6f[_0x453404(0x289)]=_0x453404(0x16c);var _0x31269c={'tag':_0x453404(0x390),'attrs':{'xmlns':_0x453404(0x332),'fill':_0x453404(0x399),'viewBox':_0x453404(0x375),'width':'1em','height':_0x453404(0x235)},'children':[{'tag':'g','attrs':{'clipPath':_0x453404(0x2ab)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x453404(0x34a),'strokeLinecap':'round','strokeLinejoin':_0x453404(0x281),'strokeWidth':1.2}}]},{'tag':_0x453404(0x1e5),'attrs':{},'children':[{'tag':_0x453404(0x3a2),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x453404(0x3ac),'attrs':{'fill':_0x453404(0x322),'d':_0x453404(0x372)}}]}]}],'defIds':[_0x453404(0x1db)]},_0x3cebac=_0x52afd9[_0x453404(0x1af)](function(_0x4bf4b7,_0x1dbdb0){const _0x25f3d1=_0x453404;return _0x52afd9[_0x25f3d1(0x1df)](_0x3d7b6f,Object[_0x25f3d1(0x1b9)]({},_0x4bf4b7,{'id':'off-line-icon','ref':_0x1dbdb0,'icon':_0x31269c}));});_0x3cebac[_0x453404(0x289)]=_0x453404(0x1ab);var _0x371317={'tag':_0x453404(0x390),'attrs':{'xmlns':_0x453404(0x332),'fill':_0x453404(0x399),'viewBox':_0x453404(0x347),'width':_0x453404(0x235),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x453404(0x29a)},'children':[{'tag':_0x453404(0x3ac),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x453404(0x281),'strokeLinejoin':_0x453404(0x281),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x453404(0x3a2),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x453404(0x3ac),'attrs':{'fill':_0x453404(0x322),'d':_0x453404(0x372),'transform':_0x453404(0x141)}}]}]}],'defIds':[_0x453404(0x323)]},_0x5abf6d=_0x52afd9[_0x453404(0x1af)](function(_0x5d4e1a,_0x493604){const _0x4f7fe9=_0x453404;return _0x52afd9['createElement'](_0x3d7b6f,Object[_0x4f7fe9(0x1b9)]({},_0x5d4e1a,{'id':_0x4f7fe9(0x142),'ref':_0x493604,'icon':_0x371317}));});_0x5abf6d[_0x453404(0x289)]=_0x453404(0x1c3);function _0x1e13d9(_0x5c0c57){const _0x1c3092=_0x453404;switch(_0x5c0c57){case _0x2c5d3c[_0x1c3092(0x387)][_0x1c3092(0x1de)]:return'collabStatus.offline';case _0x2c5d3c[_0x1c3092(0x387)][_0x1c3092(0x294)]:return _0x1c3092(0x244);case _0x2c5d3c[_0x1c3092(0x387)]['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x2c5d3c[_0x1c3092(0x387)][_0x1c3092(0x22c)]:return _0x1c3092(0x1d5);case _0x2c5d3c[_0x1c3092(0x387)][_0x1c3092(0x205)]:case _0x2c5d3c['CollaborationStatus'][_0x1c3092(0x2e9)]:return _0x1c3092(0x343);case _0x2c5d3c[_0x1c3092(0x387)]['SYNCED']:case _0x2c5d3c[_0x1c3092(0x387)][_0x1c3092(0x389)]:return _0x1c3092(0x122);}}function _0x20b0a0(_0x579468){const _0x26f998=_0x453404,{status$:_0x3309d6}=_0x579468,_0x578626=_0x47e75a[_0x26f998(0x17c)](_0x3309d6,_0x2c5d3c[_0x26f998(0x387)][_0x26f998(0x22c)]),_0x30bb9e=_0x47e75a[_0x26f998(0x360)](_0x13023b[_0x26f998(0x1a3)]),_0x298160=_0x47e75a[_0x26f998(0x360)](_0x2c5d3c[_0x26f998(0x1ae)]),_0x39795b=_0x578626!==_0x2c5d3c[_0x26f998(0x387)][_0x26f998(0x1de)],_0x422479=_0x30bb9e['t'](_0x1e13d9(_0x578626)),_0x5a80de=_0x39795b?_0x50649b[_0x26f998(0x21d)](_0x5abf6d,{}):_0x50649b[_0x26f998(0x21d)](_0x3cebac,{}),_0xd6438c=_0x52afd9[_0x26f998(0x2c3)](()=>{const _0x14c2b4=_0x26f998;_0x39795b||_0x298160[_0x14c2b4(0x33a)]();},[_0x39795b,_0x298160]);function _0xf96fe6(){const _0x39893b=_0x26f998;return _0x50649b[_0x39893b(0x126)](_0x39893b(0x395),{'className':_0x39893b(0x203),'onClick':_0xd6438c,'children':[_0x50649b['jsx']('div',{'className':_0x2abc24[_0x39893b(0x131)](_0x39893b(0x186),{'univer-text-green-500':_0x39795b,'univer-text-red-500':!_0x39795b}),'children':_0x5a80de}),_0x50649b['jsx'](_0x39893b(0x395),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x422479})]});}return _0x39795b?_0xf96fe6():_0x50649b['jsx'](_0x2abc24[_0x26f998(0x1a9)],{'title':_0x30bb9e['t'](_0x26f998(0x145)),'children':_0xf96fe6()});}var _0x387cba=Object[_0x453404(0x23f)],_0x1bfa70=(_0x6124a7,_0x37e7d8,_0x16c9ca,_0x277bee)=>{const _0x3d8979=_0x453404;for(var _0x4f706a=_0x277bee>0x1?void 0x0:_0x277bee?_0x387cba(_0x37e7d8,_0x16c9ca):_0x37e7d8,_0x1eedcd=_0x6124a7[_0x3d8979(0x2f8)]-0x1,_0x5e7aac;_0x1eedcd>=0x0;_0x1eedcd--)(_0x5e7aac=_0x6124a7[_0x1eedcd])&&(_0x4f706a=_0x5e7aac(_0x4f706a)||_0x4f706a);return _0x4f706a;},_0x22e8d4=(_0x20dc61,_0x9e7191)=>(_0x20ca96,_0x2ca83f)=>_0x9e7191(_0x20ca96,_0x2ca83f,_0x20dc61);_0x5d4de8['DesktopCollaborationStatusDisplayController']=class extends _0x13023b[_0x453404(0x165)]{constructor(_0x1660d6,_0x150aec,_0x36330c,_0x282140){const _0x2fb10a=_0x453404;super(),_0x4ff54d(this,_0x2fb10a(0x26f),new _0xe0366[(_0x2fb10a(0x1cf))](_0x2c5d3c[_0x2fb10a(0x387)][_0x2fb10a(0x22c)])),(this[_0x2fb10a(0x379)]=_0x1660d6,this['_injector']=_0x150aec,this[_0x2fb10a(0x170)]=_0x36330c,this[_0x2fb10a(0x2db)]=_0x282140,this[_0x2fb10a(0x366)](),this[_0x2fb10a(0x154)]());}[_0x453404(0x154)](){const _0x26f5e0=_0x453404;this[_0x26f5e0(0x2bf)](this[_0x26f5e0(0x379)][_0x26f5e0(0x25e)][_0x26f5e0(0x35a)](_0xe0366['switchMap'](()=>{const _0x22fb4e=_0x26f5e0,_0x44c4cb=this['_univerInstanceService'][_0x22fb4e(0x187)]();return _0x44c4cb?this[_0x22fb4e(0x170)][_0x22fb4e(0x391)](_0x44c4cb[_0x22fb4e(0x2be)]()):_0xe0366['of'](null);}),_0xe0366[_0x26f5e0(0x1a2)](_0x2f0139=>_0x2f0139?_0x2f0139[_0x26f5e0(0x282)]:_0xe0366['of'](_0x2c5d3c[_0x26f5e0(0x387)]['NOT_COLLAB'])))[_0x26f5e0(0x310)](_0x596ce9=>{const _0x1c4236=_0x26f5e0;this[_0x1c4236(0x26f)][_0x1c4236(0x1a0)](_0x596ce9);}));}[_0x453404(0x366)](){const _0x3297d0=_0x453404;this[_0x3297d0(0x2bf)](this[_0x3297d0(0x2db)][_0x3297d0(0x1cd)](_0x47e75a[_0x3297d0(0x37c)][_0x3297d0(0x1e6)],()=>_0x47e75a[_0x3297d0(0x153)](_0x4b8d45({'status$':this['_status$'][_0x3297d0(0x21a)]()}),this['_injector'])));}},_0x5d4de8[_0x453404(0x2e8)]=_0x1bfa70([_0x22e8d4(0x0,_0x13023b[_0x453404(0x331)]),_0x22e8d4(0x1,_0x13023b[_0x453404(0x175)](_0x13023b['Injector'])),_0x22e8d4(0x2,_0x13023b[_0x453404(0x175)](_0x2c5d3c[_0x453404(0x16e)])),_0x22e8d4(0x3,_0x47e75a[_0x453404(0x2e3)])],_0x5d4de8['DesktopCollaborationStatusDisplayController']);function _0x4b8d45(_0x2bda75){const {status$:_0x18ac6a}=_0x2bda75;return function(){const _0x4f15c4=_0x3ea2;return _0x50649b[_0x4f15c4(0x21d)](_0x20b0a0,{'status$':_0x18ac6a});};}var _0xa88c5d=Object[_0x453404(0x23f)],_0xda9bea=(_0x2ba259,_0x147c14,_0x11fa59,_0x1f7e31)=>{for(var _0xd5f620=_0x1f7e31>0x1?void 0x0:_0x1f7e31?_0xa88c5d(_0x147c14,_0x11fa59):_0x147c14,_0x4d395d=_0x2ba259['length']-0x1,_0x4341e9;_0x4d395d>=0x0;_0x4d395d--)(_0x4341e9=_0x2ba259[_0x4d395d])&&(_0xd5f620=_0x4341e9(_0xd5f620)||_0xd5f620);return _0xd5f620;},_0x4ebd0f=(_0x15f720,_0x1252f8)=>(_0x2ab1e4,_0x1bd839)=>_0x1252f8(_0x2ab1e4,_0x1bd839,_0x15f720);let _0x5e5da6=class extends _0x13023b[_0x453404(0x165)]{constructor(_0x372ea0,_0xb0600e,_0x583f28,_0x4de4eb,_0x5a087c,_0x5e08fe){const _0x196415=_0x453404;super(),this[_0x196415(0x234)]=_0x372ea0,this[_0x196415(0x28d)]=_0xb0600e,this[_0x196415(0x12d)]=_0x583f28,this[_0x196415(0x2bb)]=_0x4de4eb,this[_0x196415(0x23b)]=_0x5a087c,this[_0x196415(0x1c1)]=_0x5e08fe,this[_0x196415(0x14b)](),this[_0x196415(0x1c9)]();}['_setupBeforeClosingHandler'](){const _0x2d4ab9=_0x453404;this[_0x2d4ab9(0x2bf)](this[_0x2d4ab9(0x234)][_0x2d4ab9(0x1b0)](()=>{const _0x3af168=_0x2d4ab9;if(this[_0x3af168(0x28d)][_0x3af168(0x38b)][_0x3af168(0x156)])return this[_0x3af168(0x1c1)]['t'](_0x3af168(0x247));}));}[_0x453404(0x1c9)](){const _0x3a4cbc=_0x453404;this[_0x3a4cbc(0x2bf)](this['_collaborationUIEventService']['event$'][_0x3a4cbc(0x310)](_0x2249ff=>{const _0x12b0df=_0x3a4cbc;_0x2249ff['id']===_0x2c5d3c[_0x12b0df(0x3b6)][_0x12b0df(0x28b)]&&this['_messageService'][_0x12b0df(0x243)]({'type':_0x2abc24[_0x12b0df(0x2dc)]['Warning'],'content':this[_0x12b0df(0x1c1)]['t'](_0x12b0df(0x2ad))}),_0x2249ff['id']===_0x2c5d3c['CollaborationUIEventId']['CLOSE_ROOM']&&this[_0x12b0df(0x2bb)][_0x12b0df(0x243)]({'type':_0x2abc24['MessageType']['Warning'],'content':this[_0x12b0df(0x1c1)]['t'](_0x12b0df(0x2a2))}),_0x2249ff['id']===_0x2c5d3c['CollaborationUIEventId'][_0x12b0df(0x1da)]&&this[_0x12b0df(0x23b)][_0x12b0df(0x243)]({'title':this[_0x12b0df(0x1c1)]['t']('permission.title'),'content':this['_localeService']['t'](_0x12b0df(0x33d)),'type':_0x12b0df(0x132),'duration':0x0}),_0x2249ff['id']===_0x2c5d3c[_0x12b0df(0x3b6)]['CONFLICT']&&this[_0x12b0df(0x2bb)][_0x12b0df(0x243)]({'type':_0x2abc24['MessageType'][_0x12b0df(0x3b5)],'content':this[_0x12b0df(0x1c1)]['t'](_0x12b0df(0x2a2))+'('+_0x2249ff[_0x12b0df(0x311)]+')'}),_0x2249ff['id']===_0x2c5d3c[_0x12b0df(0x3b6)][_0x12b0df(0x2cb)]&&this['_messageService'][_0x12b0df(0x243)]({'type':_0x2abc24[_0x12b0df(0x2dc)][_0x12b0df(0x1f1)],'content':this['_localeService']['t'](_0x2249ff['data']||'')}),_0x2249ff['id']===_0x2c5d3c[_0x12b0df(0x3b6)][_0x12b0df(0x1d0)]&&this[_0x12b0df(0x2bb)][_0x12b0df(0x243)]({'type':_0x2abc24['MessageType']['Warning'],'content':this[_0x12b0df(0x1c1)]['t'](_0x12b0df(0x288))}),_0x2249ff['id']===_0x2c5d3c[_0x12b0df(0x3b6)][_0x12b0df(0x169)]&&this['_messageService'][_0x12b0df(0x243)]({'type':_0x2abc24['MessageType']['Error'],'content':this[_0x12b0df(0x1c1)]['t'](_0x12b0df(0x14a))}),_0x2249ff['id']===_0x2c5d3c[_0x12b0df(0x3b6)][_0x12b0df(0x280)]&&this['_messageService'][_0x12b0df(0x243)]({'type':_0x2abc24[_0x12b0df(0x2dc)][_0x12b0df(0x3b5)],'content':this[_0x12b0df(0x1c1)]['t'](_0x12b0df(0x232))});}));}};_0x5e5da6=_0xda9bea([_0x4ebd0f(0x0,_0x47e75a[_0x453404(0x174)]),_0x4ebd0f(0x1,_0x2c5d3c[_0x453404(0x229)]),_0x4ebd0f(0x2,_0x13023b['Inject'](_0x2c5d3c[_0x453404(0x1c6)])),_0x4ebd0f(0x3,_0x47e75a[_0x453404(0x37d)]),_0x4ebd0f(0x4,_0x47e75a[_0x453404(0x180)]),_0x4ebd0f(0x5,_0x13023b[_0x453404(0x175)](_0x13023b[_0x453404(0x1a3)]))],_0x5e5da6);const _0x1bf45d='collaboration-client-ui.config',_0x4c331d={},_0x12858b=_0x13023b[_0x453404(0x308)](_0x453404(0x20b));var _0x77e4b6=Object[_0x453404(0x23f)],_0x4994e1=(_0x21e7a3,_0x3a68ad,_0x555e18,_0x5495a0)=>{const _0x561e98=_0x453404;for(var _0x5ae961=_0x5495a0>0x1?void 0x0:_0x5495a0?_0x77e4b6(_0x3a68ad,_0x555e18):_0x3a68ad,_0x330b40=_0x21e7a3[_0x561e98(0x2f8)]-0x1,_0x1ad1c7;_0x330b40>=0x0;_0x330b40--)(_0x1ad1c7=_0x21e7a3[_0x330b40])&&(_0x5ae961=_0x1ad1c7(_0x5ae961)||_0x5ae961);return _0x5ae961;},_0x15287f=(_0x160220,_0x431ef4)=>(_0x3dc11a,_0x4e2b95)=>_0x431ef4(_0x3dc11a,_0x4e2b95,_0x160220);_0x5d4de8['CollaborationDataLoaderController']=class extends _0x13023b[_0x453404(0x351)]{constructor(_0x387192,_0x431234,_0xfa469f,_0x89354f,_0x20869f){const _0x1ed6b4=_0x453404;super(),this[_0x1ed6b4(0x254)]=_0x387192,this[_0x1ed6b4(0x1c8)]=_0x431234,this[_0x1ed6b4(0x27b)]=_0xfa469f,this[_0x1ed6b4(0x13e)]=_0x89354f,_0x20869f?_0x20869f==null||_0x20869f[_0x1ed6b4(0x249)]()[_0x1ed6b4(0x1d1)](()=>this[_0x1ed6b4(0x224)]()):(this[_0x1ed6b4(0x1c8)][_0x1ed6b4(0x361)](_0x1ed6b4(0x26b),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x1ed6b4(0x224)]());}async[_0x453404(0x224)](){const _0x5d8f58=_0x453404,_0x3af7ef=this[_0x5d8f58(0x254)][_0x5d8f58(0x210)](_0x5d8f58(0x35b)),_0x5ea0e4=this[_0x5d8f58(0x254)][_0x5d8f58(0x210)](_0x5d8f58(0x335)),_0x47e316=this[_0x5d8f58(0x254)][_0x5d8f58(0x210)](_0x5d8f58(0x320));if(!_0x3af7ef||!_0x5ea0e4){this[_0x5d8f58(0x1c8)][_0x5d8f58(0x361)](_0x5d8f58(0x26b),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0xbf90c0=await this['_dataLoaderService'][_0x5d8f58(0x143)](_0x3af7ef,Number(_0x5ea0e4),_0x47e316);_0xbf90c0&&_0xbf90c0 instanceof _0x13023b[_0x5d8f58(0x164)]&&this[_0x5d8f58(0x301)](_0xbf90c0);}async['_setupSubUnitSync'](_0xccaf5f){const _0x2d0568=_0x453404;await this[_0x2d0568(0x27a)](_0xccaf5f),_0xccaf5f[_0x2d0568(0x1c2)]['pipe'](_0xe0366['takeUntil'](this[_0x2d0568(0x1e3)]))[_0x2d0568(0x310)](_0x279bf7=>{const _0x34be2f=_0x2d0568;_0x279bf7&&this[_0x34be2f(0x24c)](_0x279bf7);}),this[_0x2d0568(0x254)][_0x2d0568(0x30b)][_0x2d0568(0x35a)](_0xe0366[_0x2d0568(0x2ba)](this[_0x2d0568(0x1e3)]))[_0x2d0568(0x310)](()=>this[_0x2d0568(0x27a)](_0xccaf5f));}[_0x453404(0x24c)](_0x5143e7,_0x46b96a=!0x1){const _0x4ec873=_0x453404,_0x2d4d0f=this['_urlService'][_0x4ec873(0x210)](_0x4ec873(0x320));_0x5143e7[_0x4ec873(0x155)]()!==_0x2d4d0f&&this[_0x4ec873(0x254)]['setParam'](_0x4ec873(0x320),_0x5143e7[_0x4ec873(0x155)](),_0x46b96a);}async[_0x453404(0x27a)](_0x4b7b91){const _0x3ff445=_0x453404;var _0x419c17;const _0x127436=this[_0x3ff445(0x254)]['getParam'](_0x3ff445(0x320));if(!_0x127436||!_0x4b7b91['getSheetBySheetId'](_0x127436)){const _0x1f2c04=_0x4b7b91['getUnhiddenWorksheets']()[0x0],_0x53839a=_0x4b7b91[_0x3ff445(0x120)](_0x1f2c04);if(!_0x53839a)return;this['_updateURLWithCurrentState'](_0x53839a,!0x0),await this['_commandService'][_0x3ff445(0x312)](_0x17d085[_0x3ff445(0x315)]['id'],{'unitId':_0x4b7b91[_0x3ff445(0x2be)](),'subUnitId':_0x1f2c04});return;}((_0x419c17=_0x4b7b91[_0x3ff445(0x286)]())==null?void 0x0:_0x419c17[_0x3ff445(0x155)]())!==_0x127436&&await this['_commandService']['executeCommand'](_0x17d085[_0x3ff445(0x315)]['id'],{'unitId':_0x4b7b91[_0x3ff445(0x2be)](),'subUnitId':_0x127436});}},_0x5d4de8[_0x453404(0x1f9)]=_0x4994e1([_0x15287f(0x0,_0x12858b),_0x15287f(0x1,_0x13023b[_0x453404(0x38f)]),_0x15287f(0x2,_0x13023b[_0x453404(0x2a5)]),_0x15287f(0x3,_0x13023b['Inject'](_0x2c5d3c['DataLoaderService'])),_0x15287f(0x4,_0x13023b[_0x453404(0x2e7)](_0x4e87ce[_0x453404(0x216)]))],_0x5d4de8['CollaborationDataLoaderController']);var _0x542c94=Object['getOwnPropertyDescriptor'],_0x1d07e2=(_0x3fea87,_0x514368,_0xef5d2,_0xdf520e)=>{const _0x36f78c=_0x453404;for(var _0x133c3e=_0xdf520e>0x1?void 0x0:_0xdf520e?_0x542c94(_0x514368,_0xef5d2):_0x514368,_0x51ab53=_0x3fea87[_0x36f78c(0x2f8)]-0x1,_0xfdbe2f;_0x51ab53>=0x0;_0x51ab53--)(_0xfdbe2f=_0x3fea87[_0x51ab53])&&(_0x133c3e=_0xfdbe2f(_0x133c3e)||_0x133c3e);return _0x133c3e;},_0x25a26a=(_0x4c253b,_0x44815c)=>(_0x4c75a3,_0x130157)=>_0x44815c(_0x4c75a3,_0x130157,_0x4c253b);let _0x46c579=class{constructor(_0x23c0b3,_0x665fa5,_0x10fe02){const _0x4321c7=_0x453404;this[_0x4321c7(0x1c0)]=_0x23c0b3,this[_0x4321c7(0x285)]=_0x665fa5,this[_0x4321c7(0x201)]=_0x10fe02;}[_0x453404(0x256)](_0x35f2f6){const _0x59b0e9=_0x453404;this['_transformUndoRedoStack'](_0x35f2f6),this[_0x59b0e9(0x223)](_0x35f2f6);}[_0x453404(0x1e9)](_0x256a55){const _0x5c2e5a=_0x453404,{unitID:_0x12a56}=_0x256a55,_0x3c223e=this[_0x5c2e5a(0x201)][_0x5c2e5a(0x36e)](_0x12a56)[_0x5c2e5a(0x350)](_0x229cdf[_0x5c2e5a(0x129)]),{redoCache:_0x5f3c0f}=_0x3c223e[_0x5c2e5a(0x36d)]();if(_0x5f3c0f['length']===0x0)return _0x256a55;let _0x21f913=_0x13023b[_0x5c2e5a(0x2de)][_0x5c2e5a(0x25a)](_0x256a55[_0x5c2e5a(0x342)][0x0]);for(let _0x35e173=0x0;_0x35e173<_0x5f3c0f['length'];_0x35e173++){const _0x148af0={'id':'doc.mutation.rich-text-editing','params':{..._0x5f3c0f[_0x35e173]}},_0x3e0d6f=this[_0x5c2e5a(0x285)][_0x5c2e5a(0x2ac)](_0x21f913,_0x148af0,!0x1);if(_0x2db34e['isTransformMutationFailure'](_0x3e0d6f))throw _0x3e0d6f['error'];_0x21f913=_0x3e0d6f[_0x5c2e5a(0x266)];}return{..._0x13023b[_0x5c2e5a(0x2de)]['deepClone'](_0x256a55),'mutations':[_0x21f913]};}['_transformUndoRedoStack'](_0x33e0fb){const _0xcd1444=_0x453404,{unitID:_0x56e6f8}=_0x33e0fb,_0x4cfffd=this['_renderManagerService'][_0xcd1444(0x36e)](_0x56e6f8)[_0xcd1444(0x350)](_0x229cdf[_0xcd1444(0x129)]),{undoCache:_0xcdd899,redoCache:_0x21800c}=_0x4cfffd[_0xcd1444(0x36d)]();if(_0xcdd899[_0xcd1444(0x2f8)]===0x0||_0x21800c[_0xcd1444(0x2f8)]===0x0)return;const _0x5805b8=[],_0x57bad5=[];let _0x19601d=_0x13023b[_0xcd1444(0x2de)]['deepClone'](_0x33e0fb[_0xcd1444(0x342)][0x0]),_0xad8664=_0x13023b[_0xcd1444(0x2de)][_0xcd1444(0x25a)](_0x33e0fb['mutations'][0x0]);for(let _0x16ed06=_0xcdd899['length']-0x1;_0x16ed06>=0x0;_0x16ed06--){const _0x400d04={'id':_0xcd1444(0x139),'params':{..._0xcdd899[_0x16ed06]}},_0x45f575={'id':_0xcd1444(0x139),'params':{..._0x21800c[_0x16ed06]}},_0x1a1c68=this[_0xcd1444(0x285)][_0xcd1444(0x2ac)](_0x19601d,_0x400d04,!0x1),_0x25b713=this['_transformService'][_0xcd1444(0x2ac)](_0xad8664,_0x45f575,!0x1);if(_0x2db34e[_0xcd1444(0x287)](_0x1a1c68))throw _0x1a1c68[_0xcd1444(0x132)];if(_0x2db34e['isTransformMutationFailure'](_0x25b713))throw _0x25b713[_0xcd1444(0x132)];_0x5805b8[_0xcd1444(0x269)](_0x1a1c68['m2Prime']['params']),_0x57bad5[_0xcd1444(0x269)](_0x25b713[_0xcd1444(0x371)][_0xcd1444(0x1fd)]),_0x19601d=_0x1a1c68[_0xcd1444(0x266)],_0xad8664=_0x25b713[_0xcd1444(0x266)];}_0x4cfffd[_0xcd1444(0x2d3)]({'undoCache':_0x5805b8,'redoCache':_0x57bad5});}[_0x453404(0x223)](_0x69c436){const _0x25ae89=_0x453404,{unitID:_0x5e07cd}=_0x69c436,_0x4eb786=this['_renderManagerService'][_0x25ae89(0x36e)](_0x5e07cd)[_0x25ae89(0x350)](_0x229cdf[_0x25ae89(0x129)]),_0x166c0c=_0x4eb786[_0x25ae89(0x3b4)]();if(_0x166c0c==null)return;const _0x46467d=[{'id':_0x25ae89(0x139),'params':{'unitId':_0x69c436[_0x25ae89(0x1b4)],'actions':null,'textRanges':[_0x166c0c]}}],_0x26e2db=this['_transformService'][_0x25ae89(0x221)](_0x69c436,_0x46467d);if(!_0x2db34e[_0x25ae89(0x22e)](_0x26e2db))throw _0x26e2db[_0x25ae89(0x132)];const _0x3980fa=_0x26e2db[_0x25ae89(0x371)][0x0]['params'][_0x25ae89(0x2eb)];Array[_0x25ae89(0x32c)](_0x3980fa)&&_0x3980fa[_0x25ae89(0x2f8)]&&_0x4eb786['setActiveRange'](_0x3980fa[0x0]);}};_0x46c579=_0x1d07e2([_0x25a26a(0x0,_0x13023b['Inject'](_0x13023b[_0x453404(0x262)])),_0x25a26a(0x1,_0x2db34e[_0x453404(0x348)]),_0x25a26a(0x2,_0x3b7797[_0x453404(0x242)])],_0x46c579);var _0x5127b6=Object[_0x453404(0x23f)],_0x3e55d1=(_0x5c9767,_0x228c6f,_0xcfbc03,_0x555e44)=>{const _0xdfb79c=_0x453404;for(var _0x4904ad=_0x555e44>0x1?void 0x0:_0x555e44?_0x5127b6(_0x228c6f,_0xcfbc03):_0x228c6f,_0x576c67=_0x5c9767[_0xdfb79c(0x2f8)]-0x1,_0xda3623;_0x576c67>=0x0;_0x576c67--)(_0xda3623=_0x5c9767[_0x576c67])&&(_0x4904ad=_0xda3623(_0x4904ad)||_0x4904ad);return _0x4904ad;},_0x5b9ed3=(_0x212c6c,_0x51de4f)=>(_0x18d8a4,_0x4fb12d)=>_0x51de4f(_0x18d8a4,_0x4fb12d,_0x212c6c);let _0x41657f=class{constructor(_0x364b39,_0x2d20d6,_0x1e0617){const _0x526c22=_0x453404;this[_0x526c22(0x1c0)]=_0x364b39,this[_0x526c22(0x285)]=_0x2d20d6,this[_0x526c22(0x250)]=_0x1e0617;}[_0x453404(0x15b)](_0x558ff2){const _0x3581e1=_0x453404;this[_0x3581e1(0x2bc)](_0x558ff2);}[_0x453404(0x1e9)](_0x4b5eea){const _0x44dff0=_0x453404,{unitID:_0x1d7994}=_0x4b5eea,{collaboration:_0x4cbc03}=this['_docStateChangeManagerService']['getStateCache'](_0x1d7994);if(_0x4cbc03[_0x44dff0(0x2f8)]===0x0)return _0x4b5eea;let _0x20f2d1=_0x13023b[_0x44dff0(0x2de)][_0x44dff0(0x25a)](_0x4b5eea['mutations'][0x0]);for(let _0x4c2f69=0x0;_0x4c2f69<_0x4cbc03[_0x44dff0(0x2f8)];_0x4c2f69++){const _0x8782e8={'id':_0x44dff0(0x139),'params':{'unitId':_0x4cbc03[_0x4c2f69][_0x44dff0(0x2e4)],..._0x4cbc03[_0x4c2f69]['redoState']}},_0x383fc1=this[_0x44dff0(0x285)]['transformMutation'](_0x20f2d1,_0x8782e8,!0x1);if(_0x2db34e['isTransformMutationFailure'](_0x383fc1))throw _0x383fc1[_0x44dff0(0x132)];_0x20f2d1=_0x383fc1[_0x44dff0(0x266)];}return{..._0x13023b[_0x44dff0(0x2de)][_0x44dff0(0x25a)](_0x4b5eea),'mutations':[_0x20f2d1]};}['_transformHistoryAndStateStack'](_0x4f5ed5){const _0x26e210=_0x453404,{unitID:_0x3e4b46}=_0x4f5ed5,{history:_0x1ba0ab,collaboration:_0x36a7f6}=this[_0x26e210(0x250)][_0x26e210(0x3ad)](_0x3e4b46);if(_0x1ba0ab[_0x26e210(0x2f8)]===0x0&&_0x36a7f6[_0x26e210(0x2f8)]===0x0)return;const _0x27b916=[],_0x5134d9=[];let _0x53358e=_0x13023b[_0x26e210(0x2de)][_0x26e210(0x25a)](_0x4f5ed5[_0x26e210(0x342)][0x0]),_0x40b175=_0x13023b[_0x26e210(0x2de)]['deepClone'](_0x4f5ed5[_0x26e210(0x342)][0x0]);for(let _0x1dd9e3=_0x1ba0ab[_0x26e210(0x2f8)]-0x1;_0x1dd9e3>=0x0;_0x1dd9e3--){const _0x285985={'id':_0x26e210(0x139),'params':{'unitId':_0x1ba0ab[_0x1dd9e3][_0x26e210(0x2e4)],..._0x1ba0ab[_0x1dd9e3]['undoState']}},_0xe4377b={'id':_0x26e210(0x139),'params':{'unitId':_0x1ba0ab[_0x1dd9e3][_0x26e210(0x2e4)],..._0x1ba0ab[_0x1dd9e3][_0x26e210(0x177)]}},_0x3c33af=this[_0x26e210(0x285)][_0x26e210(0x2ac)](_0x53358e,_0x285985,!0x1),_0x32ae6f=this['_transformService'][_0x26e210(0x2ac)](_0x40b175,_0xe4377b,!0x1);if(_0x2db34e[_0x26e210(0x287)](_0x3c33af))throw _0x3c33af[_0x26e210(0x132)];if(_0x2db34e[_0x26e210(0x287)](_0x32ae6f))throw _0x32ae6f[_0x26e210(0x132)];_0x27b916[_0x26e210(0x269)]({..._0x1ba0ab[_0x1dd9e3],'undoState':_0x3c33af[_0x26e210(0x371)]['params'],'redoState':_0x32ae6f[_0x26e210(0x371)]['params']}),_0x53358e=_0x3c33af['m1Prime'],_0x40b175=_0x32ae6f[_0x26e210(0x266)];}_0x53358e=_0x13023b[_0x26e210(0x2de)][_0x26e210(0x25a)](_0x4f5ed5[_0x26e210(0x342)][0x0]),_0x40b175=_0x13023b[_0x26e210(0x2de)][_0x26e210(0x25a)](_0x4f5ed5['mutations'][0x0]);for(let _0x5bf195=_0x36a7f6['length']-0x1;_0x5bf195>=0x0;_0x5bf195--){const _0x308ff2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x36a7f6[_0x5bf195][_0x26e210(0x2e4)],..._0x36a7f6[_0x5bf195][_0x26e210(0x1a1)]}},_0x1dcc5e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x36a7f6[_0x5bf195]['unitId'],..._0x36a7f6[_0x5bf195][_0x26e210(0x177)]}},_0x5b0aa7=this[_0x26e210(0x285)][_0x26e210(0x2ac)](_0x53358e,_0x308ff2,!0x1),_0x23c350=this[_0x26e210(0x285)][_0x26e210(0x2ac)](_0x40b175,_0x1dcc5e,!0x1);if(_0x2db34e[_0x26e210(0x287)](_0x5b0aa7))throw _0x5b0aa7[_0x26e210(0x132)];if(_0x2db34e['isTransformMutationFailure'](_0x23c350))throw _0x23c350[_0x26e210(0x132)];_0x5134d9[_0x26e210(0x269)]({..._0x36a7f6[_0x5bf195],'undoState':_0x5b0aa7[_0x26e210(0x371)][_0x26e210(0x1fd)],'redoState':_0x23c350[_0x26e210(0x371)][_0x26e210(0x1fd)]}),_0x53358e=_0x5b0aa7['m1Prime'],_0x40b175=_0x23c350[_0x26e210(0x266)];}this[_0x26e210(0x250)][_0x26e210(0x18c)](_0x3e4b46,{'history':_0x27b916,'collaboration':_0x5134d9});}};_0x41657f=_0x3e55d1([_0x5b9ed3(0x0,_0x13023b['Inject'](_0x13023b[_0x453404(0x262)])),_0x5b9ed3(0x1,_0x2db34e['ITransformService']),_0x5b9ed3(0x2,_0x13023b['Inject'](_0x229cdf[_0x453404(0x225)]))],_0x41657f);var _0x3d3169=Object['getOwnPropertyDescriptor'],_0x267746=(_0x30df0a,_0x31363d,_0x39ff59,_0x5456d8)=>{const _0x59d29f=_0x453404;for(var _0x5b4799=_0x5456d8>0x1?void 0x0:_0x5456d8?_0x3d3169(_0x31363d,_0x39ff59):_0x31363d,_0x514afb=_0x30df0a[_0x59d29f(0x2f8)]-0x1,_0x3bdb3b;_0x514afb>=0x0;_0x514afb--)(_0x3bdb3b=_0x30df0a[_0x514afb])&&(_0x5b4799=_0x3bdb3b(_0x5b4799)||_0x5b4799);return _0x5b4799;},_0x301ec6=(_0x144383,_0x449806)=>(_0x2fc78b,_0x236047)=>_0x449806(_0x2fc78b,_0x236047,_0x144383);let _0x256c9d=class{constructor(_0x48020c,_0x3bdfa2){const _0x2a36d7=_0x453404;this[_0x2a36d7(0x1c0)]=_0x48020c,this[_0x2a36d7(0x285)]=_0x3bdfa2;}['transformSelections'](_0x3ec0ed){const _0x45019a=_0x453404;var _0x31ec73;const _0x3312b2=this['_injector'][_0x45019a(0x28f)](_0x3679f8[_0x45019a(0x1ac)]),_0x30a41a=(_0x31ec73=_0x3312b2[_0x45019a(0x2c2)]())!=null?_0x31ec73:[];if(_0x30a41a['length']===0x0)return;const _0x10f640=_0x3ec0ed[_0x45019a(0x1b4)],_0x294336=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x10f640,'actions':null,'textRanges':_0x30a41a}}],_0x37074c=this[_0x45019a(0x285)]['transformMutationsWithChangeset'](_0x3ec0ed,_0x294336);if(!_0x2db34e[_0x45019a(0x22e)](_0x37074c))throw _0x37074c[_0x45019a(0x132)];const _0x2e4eb9=_0x37074c[_0x45019a(0x371)][0x0][_0x45019a(0x1fd)][_0x45019a(0x2eb)];Array[_0x45019a(0x32c)](_0x2e4eb9)&&_0x2e4eb9['length']&&_0x3312b2[_0x45019a(0x226)](_0x2e4eb9,{'unitId':_0x10f640,'subUnitId':_0x10f640},!0x1);}};_0x256c9d=_0x267746([_0x301ec6(0x0,_0x13023b[_0x453404(0x175)](_0x13023b[_0x453404(0x262)])),_0x301ec6(0x1,_0x2db34e[_0x453404(0x348)])],_0x256c9d);var _0x23427f=Object[_0x453404(0x23f)],_0x489d5f=(_0x281490,_0x23c094,_0x186a49,_0x3b6493)=>{for(var _0x392854=_0x3b6493>0x1?void 0x0:_0x3b6493?_0x23427f(_0x23c094,_0x186a49):_0x23c094,_0xb14f98=_0x281490['length']-0x1,_0x1a50d4;_0xb14f98>=0x0;_0xb14f98--)(_0x1a50d4=_0x281490[_0xb14f98])&&(_0x392854=_0x1a50d4(_0x392854)||_0x392854);return _0x392854;},_0x395cee=(_0x4d27d0,_0x5a52f4)=>(_0x31d62b,_0x3b794c)=>_0x5a52f4(_0x31d62b,_0x3b794c,_0x4d27d0);let _0x24d9bb=class extends _0x13023b['Disposable']{constructor(_0x846ba0,_0x51ce38,_0x898869,_0x537bdf,_0x3e640f,_0x310484,_0x552eb2,_0x498cf8){const _0x3a4c68=_0x453404;super(),_0x4ff54d(this,_0x3a4c68(0x26f),new _0xe0366[(_0x3a4c68(0x1cf))](_0x2c5d3c[_0x3a4c68(0x387)][_0x3a4c68(0x22c)])),(this[_0x3a4c68(0x250)]=_0x846ba0,this['_collaborationController']=_0x51ce38,this[_0x3a4c68(0x230)]=_0x898869,this[_0x3a4c68(0x2f5)]=_0x537bdf,this[_0x3a4c68(0x20e)]=_0x3e640f,this[_0x3a4c68(0x307)]=_0x310484,this[_0x3a4c68(0x2bb)]=_0x552eb2,this[_0x3a4c68(0x1c1)]=_0x498cf8,this[_0x3a4c68(0x257)]());}['_initEntityListener'](){const _0x1cd932=_0x453404;this[_0x1cd932(0x2bf)](this[_0x1cd932(0x170)]['entityInit$'][_0x1cd932(0x310)](_0x4539f1=>{const _0x42b574=_0x1cd932,_0x414502=this[_0x42b574(0x250)][_0x42b574(0x17d)][_0x42b574(0x310)](_0x195964=>{const _0x25c9f5=_0x42b574;if(_0x195964==null)return;const {unitId:_0x58b8e5,redoState:_0x350259,commandId:_0x2b9647}=_0x195964;if(_0x58b8e5!==_0x4539f1[_0x25c9f5(0x1b4)])return;const _0x4480f9={'id':_0x2b9647,'type':_0x13023b['CommandType'][_0x25c9f5(0x212)],'params':{'unitId':_0x58b8e5,'actions':_0x350259[_0x25c9f5(0x19c)],'textRanges':null}};_0x4539f1[_0x25c9f5(0x20a)](_0x4480f9);});if(_0x4539f1[_0x42b574(0x2bf)](_0x414502),_0x4539f1 instanceof _0x2c5d3c[_0x42b574(0x1ba)]){const _0x4dda3b={'onTransformIME':_0x4ce66a=>this[_0x42b574(0x230)][_0x42b574(0x256)](_0x4ce66a),'onTransformState':_0xa9946=>this[_0x42b574(0x2f5)][_0x42b574(0x15b)](_0xa9946),'onTransformSelections':_0x4d2de4=>this['_docTransformSelectionsService'][_0x42b574(0x144)](_0x4d2de4),'onSyncEditingCollabCursor':_0x450364=>this[_0x42b574(0x307)]['syncEditingCollabCursor'](_0x450364),'onTransformRemoteChangesetByIMECache':_0x2f47b8=>this[_0x42b574(0x230)][_0x42b574(0x1e9)](_0x2f47b8),'onTransformRemoteChangesetByStateCache':_0x9c85c6=>this[_0x42b574(0x2f5)][_0x42b574(0x1e9)](_0x9c85c6)};_0x4539f1[_0x42b574(0x1ca)](_0x4dda3b);}}));}};_0x24d9bb=_0x489d5f([_0x395cee(0x0,_0x13023b[_0x453404(0x175)](_0x229cdf[_0x453404(0x225)])),_0x395cee(0x1,_0x13023b['Inject'](_0x2c5d3c[_0x453404(0x16e)])),_0x395cee(0x2,_0x13023b[_0x453404(0x175)](_0x46c579)),_0x395cee(0x3,_0x13023b['Inject'](_0x41657f)),_0x395cee(0x4,_0x13023b[_0x453404(0x175)](_0x256c9d)),_0x395cee(0x5,_0x13023b[_0x453404(0x175)](_0x1373ab)),_0x395cee(0x6,_0x47e75a[_0x453404(0x37d)]),_0x395cee(0x7,_0x13023b[_0x453404(0x175)](_0x13023b[_0x453404(0x1a3)]))],_0x24d9bb);var _0x29dfe4=Object[_0x453404(0x23f)],_0x1b6058=(_0x3c29c4,_0x2759a5,_0x4be9ff,_0x108041)=>{for(var _0x34e889=_0x108041>0x1?void 0x0:_0x108041?_0x29dfe4(_0x2759a5,_0x4be9ff):_0x2759a5,_0x4ae331=_0x3c29c4['length']-0x1,_0x80de85;_0x4ae331>=0x0;_0x4ae331--)(_0x80de85=_0x3c29c4[_0x4ae331])&&(_0x34e889=_0x80de85(_0x34e889)||_0x34e889);return _0x34e889;},_0x50a135=(_0x538870,_0x19ec46)=>(_0x3bb4ba,_0x2358f0)=>_0x19ec46(_0x3bb4ba,_0x2358f0,_0x538870);let _0xd50634=class extends _0x13023b[_0x453404(0x165)]{constructor(_0x59ea7a,_0x37d5f6,_0x4d0956){const _0x35821c=_0x453404;super(),_0x4ff54d(this,'_cachedData',new Map()),_0x4ff54d(this,_0x35821c(0x15e),new Map()),_0x4ff54d(this,_0x35821c(0x22d),!0x1),(this['_configService']=_0x59ea7a,this[_0x35821c(0x1a8)]=_0x37d5f6,this['_revisionService']=_0x4d0956);}[_0x453404(0x2aa)](){const _0x35f931=_0x453404;this[_0x35f931(0x22d)]=!0x0;}[_0x453404(0x182)](){const _0x516620=_0x453404;this[_0x516620(0x22d)]=!0x1;}get[_0x453404(0x38b)](){return this['_saveTaskMap'];}[_0x453404(0x3aa)](){const _0xcf1918=_0x453404;this[_0xcf1918(0x2b2)]()[_0xcf1918(0x1d1)](()=>super[_0xcf1918(0x3aa)]());}async[_0x453404(0x3b1)](_0x257917){const _0x28809f=_0x453404;return this[_0x28809f(0x22d)]?null:this[_0x28809f(0x1a8)]['getItem'](_0x2c5d3c[_0x28809f(0x386)](_0x257917));}async[_0x453404(0x193)](_0x4aea11,_0x21ab4c){const _0x3e8d2c=_0x453404;return!!this[_0x3e8d2c(0x1a8)][_0x3e8d2c(0x38c)](_0x4aea11,_0x21ab4c);}[_0x453404(0x178)](_0x348ba9,_0x475e4a,_0x269349,_0x5d1c94){const _0x163d23=_0x453404,_0x14cfbd=this['_revisionService'][_0x163d23(0x1e8)](_0x348ba9);this[_0x163d23(0x316)]['set'](_0x348ba9,{'unitID':_0x348ba9,'type':_0x475e4a,'awaitingChangeset':_0x269349,'mutations':_0x5d1c94,'rev':_0x14cfbd}),this['_saveTaskMap'][_0x163d23(0x138)](_0x348ba9)||this[_0x163d23(0x1f0)](_0x348ba9);}[_0x453404(0x1f0)](_0x1e1058){const _0x628f8b=_0x453404,_0xd693bc=this['_getSaveTimeout']();_0xd693bc===0x0?this['_saveCache'](_0x1e1058):this[_0x628f8b(0x15e)]['set'](_0x1e1058,setTimeout(()=>this[_0x628f8b(0x211)](_0x1e1058),_0xd693bc));}['_getSaveTimeout'](){const _0x3b4b5f=_0x453404;var _0x18918e;return(_0x18918e=this[_0x3b4b5f(0x1d9)]['getConfig'](_0x2c5d3c['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x18918e:_0x2c5d3c[_0x3b4b5f(0x328)];}['_saveCache'](_0x380907){const _0x3f44f6=_0x453404,_0x11e58e=this[_0x3f44f6(0x15e)][_0x3f44f6(0x28f)](_0x380907);return _0x11e58e!==void 0x0&&window[_0x3f44f6(0x29d)](_0x11e58e),this[_0x3f44f6(0x1a8)]['setItem'](_0x2c5d3c['getLocalCacheKey'](_0x380907),this[_0x3f44f6(0x316)][_0x3f44f6(0x28f)](_0x380907))[_0x3f44f6(0x1d1)](()=>this[_0x3f44f6(0x15e)][_0x3f44f6(0x206)](_0x380907));}async[_0x453404(0x2b2)](){const _0x4c838f=_0x453404,_0x5a4238=[];this[_0x4c838f(0x15e)][_0x4c838f(0x136)]((_0x44dced,_0x5469ac)=>{const _0x3f7138=_0x4c838f;window[_0x3f7138(0x29d)](_0x44dced),_0x5a4238[_0x3f7138(0x1fe)](this[_0x3f7138(0x211)](_0x5469ac)[_0x3f7138(0x1d1)](()=>{this['_saveTaskMap']['delete'](_0x5469ac);}));}),await Promise[_0x4c838f(0x344)](_0x5a4238);}};_0xd50634=_0x1b6058([_0x50a135(0x0,_0x13023b[_0x453404(0x245)]),_0x50a135(0x1,_0x13023b[_0x453404(0x19d)]),_0x50a135(0x2,_0x13023b['Inject'](_0x2db34e[_0x453404(0x128)]))],_0xd50634);class _0x5e3f87 extends _0x13023b[_0x453404(0x351)]{constructor(){const _0x3bc579=_0x453404;super(),_0x4ff54d(this,'urlChange$'),this['urlChange$']=_0xe0366['fromEvent'](window,_0x3bc579(0x2a4))[_0x3bc579(0x35a)](_0xe0366[_0x3bc579(0x2ba)](this[_0x3bc579(0x1e3)]),_0xe0366[_0x3bc579(0x18a)](0x1),_0xe0366[_0x3bc579(0x31e)](void 0x0));}[_0x453404(0x13b)](_0x1f3283,_0xf280c1,_0xc0224=!0x1){const _0x54a820=_0x453404,_0x443999=new URL(window[_0x54a820(0x2d0)][_0x54a820(0x339)]);_0x443999['searchParams'][_0x54a820(0x2ca)](_0x1f3283,_0xf280c1),_0xc0224?window[_0x54a820(0x1f7)][_0x54a820(0x1fc)]('','',_0x443999[_0x54a820(0x168)]()):window[_0x54a820(0x1f7)][_0x54a820(0x160)]('','',_0x443999['toString']());}[_0x453404(0x1aa)](_0x5032bb,_0x57f844=!0x1){const _0x13a32b=_0x453404,_0x4206f3=new URL(window[_0x13a32b(0x2d0)][_0x13a32b(0x339)]);_0x4206f3['searchParams'][_0x13a32b(0x206)](_0x5032bb),_0x57f844?window[_0x13a32b(0x1f7)][_0x13a32b(0x1fc)]('','',_0x4206f3['toString']()):window[_0x13a32b(0x1f7)][_0x13a32b(0x160)]('','',_0x4206f3['toString']());}[_0x453404(0x210)](_0x39a1a8){const _0x34de7a=_0x453404;var _0x4b28bf;return(_0x4b28bf=new URL(window['location'][_0x34de7a(0x339)])[_0x34de7a(0x27d)][_0x34de7a(0x28f)](_0x39a1a8))!=null?_0x4b28bf:void 0x0;}}var _0x5cdd0b=Object[_0x453404(0x188)],_0x39b438=Object[_0x453404(0x23f)],_0x4e56c8=(_0x2faf47,_0x52c178,_0x19a748)=>_0x52c178 in _0x2faf47?_0x5cdd0b(_0x2faf47,_0x52c178,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x19a748}):_0x2faf47[_0x52c178]=_0x19a748,_0x32473d=(_0x514d9f,_0x293f08,_0x1e97c7,_0x19c9f7)=>{const _0x210bf1=_0x453404;for(var _0x1d7b47=_0x19c9f7>0x1?void 0x0:_0x19c9f7?_0x39b438(_0x293f08,_0x1e97c7):_0x293f08,_0x5c8635=_0x514d9f[_0x210bf1(0x2f8)]-0x1,_0x476be7;_0x5c8635>=0x0;_0x5c8635--)(_0x476be7=_0x514d9f[_0x5c8635])&&(_0x1d7b47=_0x476be7(_0x1d7b47)||_0x1d7b47);return _0x1d7b47;},_0x5e3c00=(_0x89fbcc,_0x5c442a)=>(_0x1d05dc,_0x5941d3)=>_0x5c442a(_0x1d05dc,_0x5941d3,_0x89fbcc),_0x3f9191=(_0x17aa34,_0x5cdcb2,_0x27c72e)=>_0x4e56c8(_0x17aa34,_0x5cdcb2+'',_0x27c72e);const _0xf9a98b=_0x453404(0x1d8);_0x5d4de8['UniverCollaborationClientUIPlugin']=class extends _0x13023b[_0x453404(0x1eb)]{constructor(_0x4cd80c=_0x4c331d,_0x572688,_0x2e8584,_0x570975){const _0x3c48f0=_0x453404;super(),this['_config']=_0x4cd80c,this['_renderManagerService']=_0x572688,this[_0x3c48f0(0x1c0)]=_0x2e8584,this[_0x3c48f0(0x1d9)]=_0x570975;const {..._0x452217}=_0x13023b['merge']({},_0x4c331d,this['_config']);this['_configService']['setConfig'](_0x1bf45d,_0x452217);}[_0x453404(0x276)](){const _0xc00f27=_0x453404;this[_0xc00f27(0x364)](),this[_0xc00f27(0x1ee)]();}[_0x453404(0x38a)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x580e95=_0x453404;var _0x46dc5c;const _0x398de1=[[_0x39fdea],[_0x256c9d],[_0x46c579],[_0x41657f],[_0x1373ab],[_0x12858b,{'useClass':_0x5e3f87}],[_0x562449[_0x580e95(0x28a)],{'useClass':_0x562449[_0x580e95(0x377)]}],[_0x2c5d3c[_0x580e95(0x229)],{'useClass':_0xd50634}],[_0x5d4de8['DesktopCollaborationStatusDisplayController']],[_0x24d9bb],[_0x5e5da6],[_0xa698e7],[_0x5d6e1b],[_0x5d4de8[_0x580e95(0x1f9)]]];_0x13023b[_0x580e95(0x304)](this['_injector'],_0x13023b['mergeOverrideWithDependencies'](_0x398de1,(_0x46dc5c=this[_0x580e95(0x398)])==null?void 0x0:_0x46dc5c['override']));}[_0x453404(0x314)](){const _0xe91479=_0x453404;this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](_0x13023b['UniverInstanceType'][_0xe91479(0x35d)],[_0x4b6396])),this[_0xe91479(0x2bf)](this[_0xe91479(0x201)]['registerRenderModule'](_0x13023b[_0xe91479(0x39d)][_0xe91479(0x2f4)],[_0x53e774]));}[_0x453404(0x1ee)](){const _0x189c11=_0x453404;_0x13023b[_0x189c11(0x33e)](this[_0x189c11(0x1c0)],[[_0xa698e7],[_0x5d4de8['DesktopCollaborationStatusDisplayController']],[_0x24d9bb],[_0x5e5da6],[_0x5d4de8[_0x189c11(0x1f9)]]]);}},_0x3f9191(_0x5d4de8[_0x453404(0x24e)],'pluginName',_0xf9a98b),_0x5d4de8[_0x453404(0x24e)]=_0x32473d([_0x13023b[_0x453404(0x1b2)](_0x2c5d3c[_0x453404(0x34d)]),_0x5e3c00(0x1,_0x3b7797[_0x453404(0x242)]),_0x5e3c00(0x2,_0x13023b[_0x453404(0x175)](_0x13023b[_0x453404(0x262)])),_0x5e3c00(0x3,_0x13023b[_0x453404(0x245)])],_0x5d4de8['UniverCollaborationClientUIPlugin']);var _0x9ad916=Object[_0x453404(0x23f)],_0x2a8968=(_0x575fb7,_0x4ff8e6,_0x12a41a,_0x5c06d7)=>{const _0x18be05=_0x453404;for(var _0x38f2a9=_0x5c06d7>0x1?void 0x0:_0x5c06d7?_0x9ad916(_0x4ff8e6,_0x12a41a):_0x4ff8e6,_0x296277=_0x575fb7[_0x18be05(0x2f8)]-0x1,_0x4aa657;_0x296277>=0x0;_0x296277--)(_0x4aa657=_0x575fb7[_0x296277])&&(_0x38f2a9=_0x4aa657(_0x38f2a9)||_0x38f2a9);return _0x38f2a9;},_0x4bd213=(_0x601b4e,_0x3294bb)=>(_0x484b19,_0x3c4ecc)=>_0x3294bb(_0x484b19,_0x3c4ecc,_0x601b4e);_0x5d4de8[_0x453404(0x261)]=class extends _0x2c5d3c[_0x453404(0x217)]{constructor(_0x2bdb16,_0x5c0a5b,_0x13f87e,_0x27ff67,_0xe10427){super(_0x2bdb16,_0x5c0a5b,_0x13f87e,_0x27ff67,_0xe10427);}async[_0x453404(0x26a)](_0x283623){const _0x2160e6=_0x453404,_0x30576d=await this[_0x2160e6(0x1be)](),_0x4a3293=this[_0x2160e6(0x3a9)](_0x283623,_0x30576d);return this[_0x2160e6(0x1b7)](_0x4a3293);}[_0x453404(0x3a9)](_0x273faa,_0x1581ef){const _0xad0bb7=_0x453404,_0x46c7ff=typeof window>'u'?new URL(_0x273faa):new URL(_0x273faa,window[_0xad0bb7(0x2d0)][_0xad0bb7(0x378)]);_0x46c7ff[_0xad0bb7(0x27d)]['set'](_0xad0bb7(0x302),_0x1581ef);const _0x2f32ac=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xad0bb7(0x2d0)][_0xad0bb7(0x264)]);return _0x2f32ac['get']('runId')&&_0x46c7ff[_0xad0bb7(0x27d)][_0xad0bb7(0x2ca)](_0xad0bb7(0x16b),_0x2f32ac[_0xad0bb7(0x28f)](_0xad0bb7(0x16b))),_0x46c7ff[_0xad0bb7(0x168)]();}async[_0x453404(0x1be)](){const _0x493efb=_0x453404;var _0x1c00aa,_0x4fd594,_0x206feb;const _0x355428=this[_0x493efb(0x1d9)]['getConfig'](_0x2c5d3c[_0x493efb(0x24a)]),_0x305b66=(_0x1c00aa=_0x355428==null?void 0x0:_0x355428[_0x493efb(0x263)])!=null?_0x1c00aa:_0x2c5d3c[_0x493efb(0x22f)];return(_0x206feb=(_0x4fd594=(await this[_0x493efb(0x1ef)][_0x493efb(0x28f)](_0x305b66,{'headers':{'Content-Type':'application/json'}}))[_0x493efb(0x19e)])==null?void 0x0:_0x4fd594['ticket'])!=null?_0x206feb:'';}},_0x5d4de8[_0x453404(0x261)]=_0x2a8968([_0x4bd213(0x0,_0x13023b['Inject'](_0x13023b['Injector'])),_0x4bd213(0x1,_0x13023b[_0x453404(0x175)](_0x562449[_0x453404(0x2b6)])),_0x4bd213(0x2,_0x13023b[_0x453404(0x245)]),_0x4bd213(0x3,_0x13023b[_0x453404(0x38f)]),_0x4bd213(0x4,_0x2db34e['ISnapshotServerService'])],_0x5d4de8[_0x453404(0x261)]);const _0x416e8c=0x7530,_0x3549eb=_0x453404(0x23a);class _0x507e04 extends _0x13023b[_0x453404(0x165)]{constructor(){const _0x5d5360=_0x453404;super(),_0x4ff54d(this,_0x5d5360(0x33b),_0x13023b['generateRandomId']()),_0x4ff54d(this,_0x5d5360(0x2fd),new Set()),_0x4ff54d(this,_0x5d5360(0x123),new Map()),_0x4ff54d(this,'_heartbeatTimer',null),_0x4ff54d(this,_0x5d5360(0x176),new Map()),_0x4ff54d(this,'_unitStatus',new Map()),this[_0x5d5360(0x224)]();}[_0x453404(0x3aa)](){const _0x2dcc95=_0x453404;super[_0x2dcc95(0x3aa)](),this[_0x2dcc95(0x176)][_0x2dcc95(0x136)]((_0x41ad4d,_0x5930cf)=>this['_removeClearOtherTimer'](_0x5930cf)),this[_0x2dcc95(0x1b8)]&&window[_0x2dcc95(0x2d7)](this[_0x2dcc95(0x1b8)]);}[_0x453404(0x345)](_0x240cb7){const _0x3b83fd=_0x453404;return this[_0x3b83fd(0x2b9)](_0x240cb7)[_0x3b83fd(0x35a)](_0xe0366[_0x3b83fd(0x215)]());}['editingUnit'](_0x35637e){const _0x4460fa=_0x453404;this['_selfUnitIDs']['size']===0x0&&this[_0x4460fa(0x219)](),this[_0x4460fa(0x2fd)][_0x4460fa(0x358)](_0x35637e),this[_0x4460fa(0x2df)]({'type':0x0,'memberID':this[_0x4460fa(0x33b)],'unitIDs':[_0x35637e],'isForwarded':!0x1});}[_0x453404(0x2ff)](_0x56467b){const _0x37b5f3=_0x453404;this['_selfUnitIDs'][_0x37b5f3(0x206)](_0x56467b),this[_0x37b5f3(0x2fd)]['size']===0x0&&this[_0x37b5f3(0x1b8)]&&window[_0x37b5f3(0x2d7)](this['_heartbeatTimer']);}['_init'](){const _0x37b80b=_0x453404;this[_0x37b80b(0x2bf)](_0x13023b[_0x37b80b(0x1f8)](_0xe0366[_0x37b80b(0x135)](window,_0x37b80b(0x327))[_0x37b80b(0x310)](_0x1a73f5=>{const _0x8896fa=_0x37b80b;if(_0x1a73f5[_0x8896fa(0x30f)]!==_0x3549eb||!_0x1a73f5[_0x8896fa(0x321)])return;const _0xe08c2b=JSON[_0x8896fa(0x337)](_0x1a73f5[_0x8896fa(0x321)]);this[_0x8896fa(0x119)](_0xe08c2b);}))),window[_0x37b80b(0x27c)]('unload',()=>this[_0x37b80b(0x2df)]({'type':0x1,'memberID':this[_0x37b80b(0x33b)],'unitIDs':Array[_0x37b80b(0x239)](this[_0x37b80b(0x2fd)])}));}[_0x453404(0x119)](_0x2f994d){const _0x1dafe0=_0x453404;switch(_0x2f994d['type']){case 0x0:this[_0x1dafe0(0x18d)](_0x2f994d);break;case 0x1:this['_handleLeaveEvent'](_0x2f994d);break;case 0x2:this[_0x1dafe0(0x318)](_0x2f994d);break;}}[_0x453404(0x18d)](_0x1c99c0){const _0x4be4cb=_0x453404,{unitIDs:_0x5d02f7,memberID:_0x5e811f,isForwarded:_0x41a713}=_0x1c99c0;_0x5d02f7[_0x4be4cb(0x136)](_0x7b4d4d=>{const _0x1fc6b2=_0x4be4cb;if(!_0x41a713&&this[_0x1fc6b2(0x123)][_0x1fc6b2(0x138)](_0x7b4d4d)&&this[_0x1fc6b2(0x2b9)](_0x7b4d4d)[_0x1fc6b2(0x1a0)](_0x2c5d3c[_0x1fc6b2(0x300)][_0x1fc6b2(0x228)]),!this['_unitOnClients']['has'](_0x7b4d4d)||!this[_0x1fc6b2(0x123)][_0x1fc6b2(0x28f)](_0x7b4d4d)[_0x1fc6b2(0x138)](_0x5e811f)){const _0x411381=this[_0x1fc6b2(0x123)]['get'](_0x7b4d4d)||new Set();_0x411381[_0x1fc6b2(0x358)](_0x5e811f),this[_0x1fc6b2(0x123)][_0x1fc6b2(0x2ca)](_0x7b4d4d,_0x411381),this[_0x1fc6b2(0x31a)](_0x5e811f);}}),_0x41a713||this[_0x4be4cb(0x2df)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x4be4cb(0x2fd)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x386dc6){const _0x3f81ae=_0x453404;this[_0x3f81ae(0x179)](_0x386dc6);const _0x3ec40a=window[_0x3f81ae(0x181)](()=>{const _0x150aad=_0x3f81ae;this[_0x150aad(0x123)][_0x150aad(0x136)](_0x33f140=>{_0x33f140['delete'](_0x386dc6);});},_0x416e8c*0x2);this[_0x3f81ae(0x176)][_0x3f81ae(0x2ca)](_0x386dc6,_0x3ec40a);}['_removeClearOtherTimer'](_0x46ff56){const _0x412368=_0x453404;if(this[_0x412368(0x176)][_0x412368(0x138)](_0x46ff56)){const _0x1c6520=this['_clearOtherTimers'][_0x412368(0x28f)](_0x46ff56);_0x1c6520&&window[_0x412368(0x29d)](_0x1c6520),this[_0x412368(0x176)][_0x412368(0x2ca)](_0x46ff56,null);}}[_0x453404(0x30c)](_0x571f0c){const _0x41568c=_0x453404,{memberID:_0x41975b,unitIDs:_0x1af087}=_0x571f0c;_0x1af087['forEach'](_0x2887ec=>{const _0x4bc79e=_0x3ea2;var _0x34101b;const _0x3de0ff=this[_0x4bc79e(0x123)]['get'](_0x2887ec);_0x3de0ff&&(_0x3de0ff['delete'](_0x41975b),(_0x34101b=this[_0x4bc79e(0x2b9)](_0x2887ec))==null||_0x34101b['next'](_0x3de0ff['size']===0x0?_0x2c5d3c[_0x4bc79e(0x300)][_0x4bc79e(0x2da)]:_0x2c5d3c[_0x4bc79e(0x300)][_0x4bc79e(0x228)]));}),this[_0x41568c(0x179)](_0x41975b);}[_0x453404(0x318)](_0x4e4e93){const _0x4cf44d=_0x453404;this[_0x4cf44d(0x31a)](_0x4e4e93[_0x4cf44d(0x12c)]);}[_0x453404(0x2df)](_0x604212){const _0x23c836=_0x453404;localStorage[_0x23c836(0x38c)](_0x3549eb,JSON[_0x23c836(0x2b1)](_0x604212));}[_0x453404(0x219)](){const _0x32ca39=_0x453404;this[_0x32ca39(0x1b8)]=window[_0x32ca39(0x11d)](()=>{const _0x4bd2bf=_0x32ca39;this[_0x4bd2bf(0x2df)]({'type':0x2,'memberID':this[_0x4bd2bf(0x33b)]});},_0x416e8c);}[_0x453404(0x2b9)](_0x3e022f){const _0x2bb939=_0x453404;return this[_0x2bb939(0x11f)][_0x2bb939(0x138)](_0x3e022f)||this[_0x2bb939(0x11f)][_0x2bb939(0x2ca)](_0x3e022f,new _0xe0366['BehaviorSubject'](_0x2c5d3c[_0x2bb939(0x300)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x2bb939(0x11f)][_0x2bb939(0x28f)](_0x3e022f);}}var _0x5bfddd=(_0x3162f2=>(_0x3162f2[_0x3162f2[_0x453404(0x1d7)]=0x0]='UNDEFINED',_0x3162f2[_0x3162f2['OK']=0x1]='OK',_0x3162f2[_0x3162f2['INTERNAL_ERROR']=0x2]=_0x453404(0x24d),_0x3162f2[_0x3162f2[_0x453404(0x1da)]=0x3]='PERMISSION_DENIED',_0x3162f2[_0x3162f2[_0x453404(0x15d)]=0x4]='NOT_FOUND',_0x3162f2[_0x3162f2['UNAUTHENTICATED']=0x5]=_0x453404(0x14d),_0x3162f2[_0x3162f2[_0x453404(0x392)]=0x6]=_0x453404(0x392),_0x3162f2[_0x3162f2['INVALID_ARGUMENT']=0x7]=_0x453404(0x21b),_0x3162f2[_0x3162f2[_0x453404(0x319)]=0x8]='TOO_MANY_REQUESTS',_0x3162f2[_0x3162f2[_0x453404(0x3b0)]=0x9]=_0x453404(0x3b0),_0x3162f2[_0x3162f2[_0x453404(0x1ff)]=0xa]='LOGIN_FAILED',_0x3162f2[_0x3162f2['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x453404(0x1fb),_0x3162f2[_0x3162f2[_0x453404(0x183)]=0xc]=_0x453404(0x183),_0x3162f2[_0x3162f2[_0x453404(0x273)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x3162f2[_0x3162f2[_0x453404(0x146)]=0xe]=_0x453404(0x146),_0x3162f2[_0x3162f2[_0x453404(0x2a8)]=0x1389]=_0x453404(0x2a8),_0x3162f2[_0x3162f2[_0x453404(0x2f1)]=0x1771]=_0x453404(0x2f1),_0x3162f2[_0x3162f2[_0x453404(0x393)]=0x1772]=_0x453404(0x393),_0x3162f2[_0x3162f2['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x453404(0x1f5),_0x3162f2[_0x3162f2[_0x453404(0x383)]=0x1b59]=_0x453404(0x383),_0x3162f2[_0x3162f2[_0x453404(0x2cd)]=0x1b5a]=_0x453404(0x2cd),_0x3162f2[_0x3162f2[_0x453404(0x279)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3162f2[_0x3162f2['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3162f2[_0x3162f2[_0x453404(0x303)]=0x1b5d]='APPLY_DUPLICATED',_0x3162f2[_0x3162f2[_0x453404(0x1b5)]=0x1f41]=_0x453404(0x1b5),_0x3162f2[_0x3162f2['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x453404(0x1fa),_0x3162f2[_0x3162f2[_0x453404(0x1f2)]=0x232a]=_0x453404(0x1f2),_0x3162f2[_0x3162f2[_0x453404(0x359)]=0x232b]=_0x453404(0x359),_0x3162f2[_0x3162f2[_0x453404(0x2ce)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3162f2[_0x3162f2['LICENSE_DISTRO_REJECTED']=0x232d]=_0x453404(0x222),_0x3162f2[_0x3162f2[_0x453404(0x26d)]=0x2711]=_0x453404(0x26d),_0x3162f2[_0x3162f2[_0x453404(0x362)]=0x2712]=_0x453404(0x362),_0x3162f2[_0x3162f2['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x453404(0x1a4),_0x3162f2[_0x3162f2[_0x453404(0x12f)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3162f2[_0x3162f2['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x453404(0x241),_0x3162f2[_0x3162f2[_0x453404(0x37e)]=0x271b]=_0x453404(0x37e),_0x3162f2[_0x3162f2[_0x453404(0x369)]=0x271c]=_0x453404(0x369),_0x3162f2[_0x3162f2[_0x453404(0x317)]=0x271d]=_0x453404(0x317),_0x3162f2[_0x3162f2[_0x453404(0x39b)]=0x271e]=_0x453404(0x39b),_0x3162f2[_0x3162f2[_0x453404(0x306)]=0x271f]=_0x453404(0x306),_0x3162f2[_0x3162f2[_0x453404(0x39f)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x3162f2[_0x3162f2[_0x453404(0x17a)]=0x2af9]=_0x453404(0x17a),_0x3162f2[_0x3162f2['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x453404(0x32f),_0x3162f2[_0x3162f2['INVALID_INVITE_CODE']=0x2ee2]=_0x453404(0x1cb),_0x3162f2[_0x3162f2[_0x453404(0x1bb)]=0x2ee3]=_0x453404(0x1bb),_0x3162f2[_0x3162f2[_0x453404(0x2e0)]=0x2ee4]=_0x453404(0x2e0),_0x3162f2[_0x3162f2['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x3162f2[_0x3162f2[_0x453404(0x2ee)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3162f2[_0x3162f2[_0x453404(0x275)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3162f2[_0x3162f2[_0x453404(0x2f2)]=0x32cb]=_0x453404(0x2f2),_0x3162f2[_0x3162f2['UNRECOGNIZED']=-0x1]=_0x453404(0x265),_0x3162f2))(_0x5bfddd||{}),_0x8b29d4=Object[_0x453404(0x23f)],_0x40fb1d=(_0x511be7,_0x261856,_0x4e9d02,_0x3545e2)=>{const _0x13536a=_0x453404;for(var _0x3ba611=_0x3545e2>0x1?void 0x0:_0x3545e2?_0x8b29d4(_0x261856,_0x4e9d02):_0x261856,_0x360eb7=_0x511be7[_0x13536a(0x2f8)]-0x1,_0xc1e82c;_0x360eb7>=0x0;_0x360eb7--)(_0xc1e82c=_0x511be7[_0x360eb7])&&(_0x3ba611=_0xc1e82c(_0x3ba611)||_0x3ba611);return _0x3ba611;},_0x1fda07=(_0x1baf9f,_0x15df6c)=>(_0x4f50a7,_0x35c06a)=>_0x15df6c(_0x4f50a7,_0x35c06a,_0x1baf9f);_0x5d4de8[_0x453404(0x2d9)]=class extends _0x13023b[_0x453404(0x165)]{constructor(_0x152008,_0x5e4518,_0xcc2c33){const _0x18e66d=_0x453404;super(),this[_0x18e66d(0x231)]=_0x152008,this[_0x18e66d(0x1ef)]=_0x5e4518,this['_configService']=_0xcc2c33;}async['runOnServer'](_0x5e8ef6,_0x34eb5d,_0x2b6d7c,..._0x215071){const _0x157e16=_0x453404;var _0x4ad45d,_0x5eeab0,_0x598682,_0x27489e;const _0x419ea8=this[_0x157e16(0x231)][_0x157e16(0x187)]();if(!_0x419ea8)throw new Error(_0x157e16(0x1dc));const _0x3e4de0=((_0x4ad45d=this[_0x157e16(0x1d9)][_0x157e16(0x39e)](_0x2c5d3c[_0x157e16(0x27e)]))!=null?_0x4ad45d:_0x2c5d3c[_0x157e16(0x184)])+'/'+_0x5e8ef6+_0x157e16(0x1c4)+_0x34eb5d,_0x4138d2=new URL(window['location'][_0x157e16(0x339)]),_0x4d5206={'scriptId':_0x5e8ef6,'runId':(_0x5eeab0=_0x4138d2[_0x157e16(0x27d)]['get']('runId'))!=null?_0x5eeab0:'','function':_0x34eb5d,'unitId':_0x419ea8[_0x157e16(0x2be)](),'argsOfFunction':JSON[_0x157e16(0x2b1)](_0x215071),'invokeId':(_0x598682=_0x2b6d7c[_0x157e16(0x202)])!=null?_0x598682:'','executionId':(_0x27489e=_0x2b6d7c[_0x157e16(0x20d)])!=null?_0x27489e:''};try{const _0x4f688f=await this[_0x157e16(0x1ef)]['post'](_0x3e4de0,{'body':_0x4d5206});return _0x4f688f['body'][_0x157e16(0x132)]&&_0x4f688f[_0x157e16(0x19e)]['error']['code']!==_0x5bfddd['OK']?_0x157e16(0x370):_0x4f688f[_0x157e16(0x19e)][_0x157e16(0x2f9)];}catch{return _0x157e16(0x370);}}},_0x5d4de8[_0x453404(0x2d9)]=_0x40fb1d([_0x1fda07(0x0,_0x13023b['IUniverInstanceService']),_0x1fda07(0x1,_0x13023b['Inject'](_0x562449[_0x453404(0x2b6)])),_0x1fda07(0x2,_0x13023b[_0x453404(0x245)])],_0x5d4de8[_0x453404(0x2d9)]),_0x5d4de8[_0x453404(0x12e)]=_0x12858b,_0x5d4de8['SheetCollabCursorShape']=_0x2b9a5f,_0x5d4de8['WebBrowserSingleActiveUnitService']=_0x507e04,_0x5d4de8[_0x453404(0x349)]=_0x5e3f87,Object[_0x453404(0x188)](_0x5d4de8,Symbol[_0x453404(0x1a6)],{'value':_0x453404(0x2cc)});}));function _0x5b5a(){const _0x283a03=['EMAIL_VERIFY_CODE_MISMATCH','_shapes','MOBILE_HAS_BEEN_BOUND','onStarting','_entityInit$','handleIRemoveRow','APPLY_REVISION_CONFILICT','_updateSubUnitFromURLParams','_commandService','addEventListener','searchParams','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_getSheetObject','SUBMIT_CHANGESET_TIMEOUT','round','status$','@univerjs/docs','getRelativeToViewportCoord','_transformService','getActiveSheet','isTransformMutationFailure','session.will-retry','displayName','ISocketService','OTHER_CLIENT_EDITING','TEXT_RANGE_LAYER_INDEX','_localCacheService','_syncEditingCollabCursorService','get','isEditing','eventID','onPointerLeave$','_startSheetCollabCursor','CONFLICT','sheetId','black','beginPath','UniverDesign','onCommandExecuted','url(#on-line-icon_clip0_910_349)','EffectRefRangId','handleMoveRange','clearTimeout','colorChannel1','DeleteRangeMoveLeftCommandId','_docClipboardService','makeDirty','collaboration.closeRoom','trim','popstate','ICommandService','complete','getSheetObject','CHANGESET_REVISION_CONFILICT','toRgbString','disableLocalCache','url(#off-line-icon_clip0_910_343)','transformMutation','collaboration.single-unit.warning','moveTo','rxjs','getUniverSheetInstance','stringify','exhaustSavingTask','setShapeProps','evenodd','defIds','HTTPService','UniverProCollaboration','_handleHover','_ensureSubject','takeUntil','_messageService','_transformHistoryAndStateStack','endRow','getUnitId','disposeWithMe','amd','_assignedColors','getDocRanges','useCallback','SheetsSelectionsService','_cursorInfo$','_docSkeleton','@univerjs-pro/collaboration','idSuffix','1690752wryUWh','set','JOIN_ROOM_FAILED','Module','APPLY_NON_SEQUENTIAL_REVISION','LICENSE_EXPORT_SIZE_EXCEEDED','_range','location','_drawTextRange','192690KQffFn','setUndoRedoMutationParamsCache','3263248XdCZeP','RefRangeService','UniverEngineFormula','clearInterval','Unknown\x20user','RemoteUniscriptService','NO_OTHER_CLIENTS_EDITING','_uiPartsService','MessageType','React','Tools','_send','USER_NOT_INVITED_CODE','prototype','cursorInfo$','IUIPartsService','unitId','addObjects','Rectangle','Optional','DesktopCollaborationStatusDisplayController','AWAITING_WITH_PENDING','collab-text-range-','textRanges','SetSelectionsOperation','_toggleOnline','WECHAT_HAS_BEEN_BOUND','_startDocCollabCursor','collabCursorState$','SNAPSHOT_INVALID_SNAPSHOT','EMAIL_HAS_BEEN_BOUND','registerRefRange','UNIVER_SHEET','_docTransformStateCacheService','mask','_collabSessionService','length','result','DeleteRangeMoveUpCommandId','green.600','lineTo','_selfUnitIDs','combineLatest','disposeUnit','UnitStatus','_setupSubUnitSync','sessionTicket','APPLY_DUPLICATED','registerDependencies','operators','YUUMI_AI_RUN_FAILED','_docSyncEditingCollabCursorService','createIdentifier','handleDeleteRangeMoveUp','_initResize','urlChange$','_handleLeaveEvent','_context','UniverProCollaborationClient','key','subscribe','data','executeCommand','_onRefRangeChange','_registerRenderDependencies','SetWorksheetActivateCommand','_cachedData','YUUMI_ALL_TABLES_IS_INVALID','_handleHeartbeatEvent','TOO_MANY_REQUESTS','_scheduleClearOtherTimer','apply','_cursor','getRangePointData','mapTo','extend','subunit','newValue','white','on-line-icon_clip0_910_349','random','filter','yellow.400','storage','LOCAL_CACHE_INTERVAL','replace','useRef','UniverRpc','isArray','_toggleOffline','saveImage','INVITE_CODE_HAS_BEEN_UES','red.300','IUniverInstanceService','http://www.w3.org/2000/svg','call','skeleton','type','getValue','parse','generateRandomId','href','reconnect','_id','_colorIndex','permission.content','touchDependencies','fillStyle','_updateCollabCursors','getVpScrollXYInfoByPosToVp','mutations','collabStatus.syncing','all','getUnitStatus$','Subject','0\x200\x2017\x2016','ITransformService','WebURLService','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','getViewport','measureText','UniverCollaborationClientPlugin','cursorInfo','collab-text-anchor-','with','RxDisposable','@univerjs/design','currentSkeleton$','NodePositionConvertToCursor','hide','fromEventSubject','_entities','add','LICENSE_IMPORT_SIZE_EXCEEDED','pipe','unit','getAncestorScale','UNIVER_DOC','_roomMembers$','react/jsx-runtime','useDependency','debug','YUUMI_URL_COL_OUT_OF_RANGE','_labelPosition','_registerDependencies','row','_initStatusComponent','_updateLocalCursor','_textBubble','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getOwnPropertySymbols','backgroundColor','ThemeService','getUndoRedoMutationParamsCache','getRenderById','drawWith','Failed','m2Prime','M0\x200H16V16H0z','onMouseMove','_drawAnchor','0\x200\x2016\x2016','tag','WebSocketService','origin','_univerInstanceService','_cursorShapes','deserializeRangeWithSheet','BuiltInUIPart','IMessageService','YUUMI_ASYNCIO_CANCELLED','hasOwnProperty','handleDeleteRangeMoveLeft','_onCursorUpdate','667279aLWSDD','APPLY_REJECT','COLORS','Shape','getLocalCacheKey','CollaborationStatus','imageSourceType','PENDING','onRendered','saveTaskMap','setItem','univerjs-icon\x20univerjs-icon-','exports','ILogService','svg','getCollabEntity$','ALREADY_EXISTS','SNAPSHOT_HAS_BEEN_REMOVED','RemoveRowCommandId','div','addObject','attrs','_config','none','send','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','addClipboardHook','UniverInstanceType','getConfig','YUUMI_CONNECTOR_URL_NOT_FOUND','342900AzvBjF','unsubscribe','clipPath','_initCommandExecutedListener','current','onPointerEnter$','fillText','_themeService','@univerjs/docs-ui','_createSocketURL','dispose','_anchor','path','getStateCache','_scene','roomMembers','COMPLETION_FINISHED','loadOfflineData','rgba(255,\x20255,\x20255,\x200.01)','_draw','getActiveRange','Error','CollaborationUIEventId','subUnitId','TEXT','_handleEvent','USERS_LEAVE','_session','entries','setInterval','includes','_unitStatus','getSheetBySheetId','debounce','collabStatus.synced','_unitOnClients','RECT','Vector2','jsxs','InsertRangeMoveDownCommandId','RevisionService','DocIMEInputManagerService','DOC_RANGE_TYPE','_sheetSkeletonManagerService','memberID','_collaborationUIEventService','IURLService','YUUMI_SUBSCRIPTION_NOT_FOUND','handleIRemoveCol','clsx','error','event$','_getScale','fromEvent','forEach','isActive','has','doc.mutation.rich-text-editing','_online','setParam','ranges','children','_dataLoaderService','ColorKit','indexOf','translate(.97)','on-line-icon','loadUnit','transformSelections','collab-client.tooltip.reconnect','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_removeCollabCursors','_imageIoService','getOffsetConfig','session.connection-failed','_setupBeforeClosingHandler','_anchorDot','UNAUTHENTICATED','handleInsertRangeMoveRight','MoveRangeCommandId','getTypeOfUnitAdded$','@univerjs/network','UniverUi','connectInjector','_initStatusListener','getSheetId','size','...','_hideTimer','arc','SHEET_VIEWPORT_KEY','transformStateCache','max','NOT_FOUND','_saveTaskMap','getCurrentUnitForType','pushState','runRefRangeMutations','startRow','FromArray','Workbook','Disposable','currentTheme$','CollaborationEvent','toString','SOCKET_FAILED','url(#$1','runId','UniverIcon','8385825bVXibz','CollaborationController','save','_collaborationController','getMemberID','hovered','min','IBeforeCloseService','Inject','_clearOtherTimers','redoState','updateOfflineData','_removeClearOtherTimer','PY_RUNTIME_SCRIPT_ERROR','_hovered','useObservable','docStateChange$','@univerjs/rpc','_drawRectRange','INotificationService','setTimeout','enableLocalCache','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UPDATE_CURSOR','univer-mr-2\x20univer-flex\x20univer-text-xl','getFocusedUnit','defineProperty','UniverDrawing','shareReplay','name','setStateCache','_handleJoinEvent','use','_getMergeRange','roomMembers$','getColorFromTheme','_hover','saveOfflineData','UniverProCollaborationClientUi','concat','jiqing.500','_color','color','top','MemberService','531UzPGXq','actions','ILocalStorageService','body','_render','next','undoState','switchMap','LocaleService','YUUMI_RATE_OVER_LIMIT','restore','toStringTag','fillRule','_localStorageService','Tooltip','removeParam','OffLineIcon','DocSelectionManagerService','getMember','CollaborationSessionService','forwardRef','registerBeforeClose','selection','DependentOn','getMergeData','unitID','CONNECTOR_DATA_TOO_LARGE','SheetSkeletonManagerService','_doCreateSocket','_heartbeatTimer','assign','DocCollaborationEntity','INVITE_CODE_REQUIRED','height','icon','_getSessionTicket','IDocClipboardService','_injector','_localeService','activeSheet$','OnLineIcon','/run/','_name','CollaborationUIEventService','_document','_logService','_initEvent','addHandlerCallback','INVALID_INVITE_CODE','NodePositionConvertToRectRange','registerComponent','font','BehaviorSubject','SOCKET_FAILED_RETRY','then','text','find','xlink:href','collabStatus.notCollab','6ZKXQHO','UNDEFINED','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_configService','PERMISSION_DENIED','off-line-icon_clip0_910_343','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getSkeleton','OFFLINE','createElement','@univerjs-pro/collaboration-client','_colorAssignService','findNodePositionByCharIndex','dispose$','assignAColorForMemberID','defs','HEADER_MENU','1671488rFxnoo','getCurrentRevOfUnit','transformRemoteChangeset','width','Plugin','_getAnchorBounding','setAlpha','_initDependencies','_httpService','_scheduleSaving','Warning','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_refRangeService','RemoveColCommandId','ENSURE_SNAPSHOT_EXECUTION','UniverDocsUi','history','toDisposable','CollaborationDataLoaderController','LICENSE_MAX_UNITS_EXCEEDED','MOBILE_VERIFY_CODE_MISMATCH','replaceState','params','push','LOGIN_FAILED','UniverEngineRender','_renderManagerService','invokeId','univer-flex\x20univer-items-center','_cursors','AWAITING','delete','VIEW_MAIN','getColor','string','onLocalMutation','uni.network.url-service','split','executionId','_docTransformSelectionsService','UniverNetwork','getParam','_saveCache','MUTATION','column','init','distinctUntilChanged','IRemoteInstanceService','CollaborationSocketService','values','_scheduleHeartbeat','asObservable','INVALID_ARGUMENT','_collabCursorState$','jsx','onTransformChange$','getCoordByCell','subscribeEvent','transformMutationsWithChangeset','LICENSE_DISTRO_REJECTED','_transformPreviousActiveRange','_init','DocStateChangeManagerService','replaceDocRanges','debounceTime','OTHER_CLIENTS_EDITING','ILocalCacheService','UniverDocs','DisposableCollection','NOT_COLLAB','_disabled','isTransformMutationsWithChangesetSuccess','DEFAULT_WS_SESSION_TICKET_URL','_docTransformIMECacheService','_instanceService','session.collaboration-timeout','selections','_beforeCloseService','1em','getTypeOfUnitDisposed$','Rect','5uBhETc','from','ACTIVE_UNIT_EVENT_CHANNEL','_notificationService','_backgroundColor','sessionStatus$','_collabCursorController','getOwnPropertyDescriptor','ONLINE','YUUMI_NO_CUBOID_FOR_QUESTION','IRenderManagerService','show','collabStatus.conflict','IConfigService','map','collaboration-client.offline-data-not-saved','SessionStatus','whenReady','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','@univerjs/sheets-ui','_updateURLWithCurrentState','INTERNAL_ERROR','UniverCollaborationClientUIPlugin','endColumn','_docStateChangeManagerService','substring','requireSession','_onCursorDelete','_urlService','sheetID','transformIMECache','_initEntityListener','DocSkeletonManagerService','RegularPolygon','deepClone','engine','_refreshCollabCursors','className','focused$','blue.400','createInstance','BrowserCollaborationSocketService','Injector','wsSessionTicketUrl','search','UNRECOGNIZED','m1Prime','getCollabCursors$','_memberService','unshift','createSocket','[CollaborationDataLoaderController]','fill','YUUMI_UNABLE_LOAD_URL','handleInsertCol','_status$','_docSkeletonManagerService','_eventUnsubscribe','throttleTime'];_0x5b5a=function(){return _0x283a03;};return _0x5b5a();}
|
|
1
|
+
function _0xe876(){const _0x1ddcb4=['_cursor','_localStorageService','setShapeProps','selection','toDisposable','unit','_commandService','INVITE_CODE_REQUIRED','_imageIoService','YUUMI_CONNECTOR_URL_NOT_FOUND','svg','_localeService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','@univerjs/core','IDocClipboardService','_context','permission.title','CONNECTOR_DATA_TOO_LARGE','_transformHistoryAndStateStack','dispose','resize','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','_cursorInfo$','_roomMembers$','ILocalStorageService','collaboration.closeRoom','INVALID_ARGUMENT','all','BehaviorSubject','runId','createElement','uni.network.url-service','_color','_uiPartsService','cursorInfo$','collab-rect-range-','@univerjs/engine-formula','assign','imageSourceType','subscribe','defIds','_logService','length','row','icon','urlChange$','off-line-icon','application/json','ACTIVE_UNIT_EVENT_CHANNEL','_labelPosition','triggerDblclick','blue.400','registerBeforeClose','propertyIsEnumerable','TEXT_RANGE_LAYER_INDEX','getDocRanges','@univerjs-pro/collaboration-client','createInstance','searchParams','has','colorChannel1','@univerjs/rpc','_toggleOnline','transform','getCurrentUnitForType','hovered','activeSheet$','subUnitId','fromEventSubject','getOffsetConfig','event$','m2Prime','_httpService','onPointerMove$','OTHER_CLIENT_EDITING','UNAUTHENTICATED','session.connection-failed','disposeUnit','doc.mutation.rich-text-editing','path','_eventUnsubscribe','YUUMI_RATE_OVER_LIMIT','map','createSocket','Shape','syncEditingCollabCursor','BrowserCollaborationSocketService','UniverCollaborationClientUIPlugin','concat','jsx','_selfUnitIDs','next','univerjs-icon\x20univerjs-icon-','useObservable','_registerDependencies','get','@univerjs/sheets-ui','send','body','hasOwnProperty','UniverProCollaborationClientUi','USER_NOT_INVITED_CODE','Error','clsx','touchDependencies','onRendered','_draw','className','_backgroundColor','addClipboardHook','getOwnPropertySymbols','stringify','deserializeRangeWithSheet','_beforeCloseService','origin','_initDependencies','_hovered','OTHER_CLIENTS_EDITING','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','endColumn','RemoteUniscriptService','UniverSheets','fill','RECT','handleInsertRangeMoveRight','Injector','_anchorDot','runOnServer','571249FEcOHE','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','indexOf','sessionTicket','TOO_MANY_REQUESTS','permission.content','getSheetBySheetId','findNodePositionByCharIndex','_initResize','EffectRefRangId','SetTextSelectionsOperation','yellow.400','green.600','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','some','getViewport','isArray','_hover','drawWith','_document','_clearOtherTimers','current','_handleHover','executionId','_heartbeatTimer','M0\x200H16V16H0z','EMAIL_HAS_BEEN_BOUND','React','_doCreateSocket','off-line-icon_clip0_910_343','5161203ngZCod','requireSession','registerRenderModule','MessageType','_urlService','ICommandService','RevisionService','NO_OTHER_CLIENTS_EDITING','Disposable','UniverProCollaboration','font','undoState','whenReady','RemoveRowCommandId','_colorIndex','getActiveRange','onMouseMove','engine','YUUMI_NO_CUBOID_FOR_QUESTION','on-line-icon_clip0_910_349','name','getOwnPropertyDescriptor','_transformService','rxjs','LICENSE_DISTRO_REJECTED','SNAPSHOT_HAS_BEEN_REMOVED','_onCursorUpdate','exhaustSavingTask','MUTATION','OffLineIcon','DOC_RANGE_TYPE','_range','CollaborationController','debug','source','_handleJoinEvent','includes','62229aXscIv','@univerjs/design','getFocusedUnit','@univerjs/docs','Inject','[CollaborationDataLoaderController]','DocIMEInputManagerService','debounce','_configService','pluginName','INVITE_CODE_HAS_BEEN_UES','saveOfflineData','none','_localCacheService','addObjects','_injector','focused$','collaboration-client-ui.config','PERMISSION_DENIED','getRangePointData','EMAIL_VERIFY_CODE_MISMATCH','defineProperty','getUniverSheetInstance','exports','setParam','SetWorksheetActivateCommand','getCurrent','PY_RUNTIME_SCRIPT_ERROR','unitID','_docTransformSelectionsService','UniverCore','CLOSE_ROOM','COMPLETION_FINISHED','transformMutationsWithChangeset','1319232FCZrkR','subunit','_unitOnClients','_initEntityListener','ThemeService','generateRandomId','replaceDocRanges','_refreshCollabCursors','wsSessionTicketUrl','RegularPolygon','backgroundColor','_messageService','labelPosition','call','CollaborationSocketService','selections','UNIVER_SHEET','AWAITING_WITH_PENDING','YUUMI_URL_COL_OUT_OF_RANGE','YUUMI_ASYNCIO_CANCELLED','IUniverInstanceService','_colorAssignService','find','[RemoteUniscriptService]:\x20no\x20focused\x20unit','onTransformChange$','setInterval','evenodd','_ensureSubject','use','handleIRemoveCol','_config','UniverUi','OnLineIcon','throttleTime','black','onPointerLeave$','docStateChange$','mergeOverrideWithDependencies','_createSocketURL','getColor','setConfig','getMemberID','Unknown\x20user','isTransformMutationsWithChangesetSuccess','DocSelectionManagerService','_univerInstanceService','_collaborationController','skeleton','1em','clearInterval','APPLY_PERMISSION_DENIED','_getMergeRange','setAlpha','APPLY_NON_SEQUENTIAL_REVISION','closePath','_initCommandExecutedListener','startColumn','_collabSessionService','color','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','InsertRangeMoveRightCommandId','session.collaboration-timeout','m1Prime','_instanceService','_docSkeletonManagerService','RefRangeService','SNAPSHOT_INVALID_SNAPSHOT','ILocalCacheService','_updateSubUnitFromURLParams','collabStatus.synced','switchMap','_saveTaskMap','/run/','SetSelectionsOperation','href','collaboration.single-unit.warning','INVITE_CODE_ALREADY_BOUND','YUUMI_SUBSCRIPTION_NOT_FOUND','_handleHeartbeatEvent','RxDisposable','CollaborationEvent','replace','setTimeout','transformIMECache','NOT_FOUND','Subject','SHEET_VIEWPORT_KEY','_removeClearOtherTimer','UniverSheetsUi','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','executeCommand','Rect','string','idSuffix','init','location','handleIRemoveRow','isTransformMutationFailure','deepClone','forwardRef','_scene','defs','_send','0\x200\x2017\x2016','CollaborationSessionService','UnitStatus','_entityInit$','SOCKET_FAILED','_themeService','SheetCollabCursorShape','operators','FETCH_MISS','_collabCursorState$','PENDING','getMember','univer-flex\x20univer-items-center','MOBILE_VERIFY_CODE_MISMATCH','saveTaskMap','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','forEach','VIEW_MAIN','split','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','Rectangle','bottom','CollaborationStatus','DesktopCollaborationStatusDisplayController','YUUMI_UNABLE_LOAD_URL','getParam','loadUnit','_unitStatus','updateOfflineData','LICENSE_IMPORT_SIZE_EXCEEDED','_shapes','xlink:href','clearTimeout','_docSkeleton','getTypeOfUnitDisposed$','LocaleService','with','mask','WECHAT_HAS_BEEN_BOUND','redoState','children','_saveCache','setStateCache','collabStatus.offline','getCollabCursors$','UNIVER_DOC','post','getAncestorScale','parse','registerRefRange','_updateURLWithCurrentState','currentColor','_name','distinctUntilChanged','LOCAL_CACHE_INTERVAL_KEY','width','result','getValue','params','_getSaveTimeout','_initEvent','IRemoteInstanceService','top','DeleteRangeMoveLeftCommandId','_dataLoaderService','UNDEFINED','transformStateCache','CollaborationUIEventId','sheetId','YUUMI_ALL_TABLES_IS_INVALID','subscribeEvent','removeParam','startRow','_status$','UniverEngineRender','isActive','_lastPointer','UniverNetwork','toString','react/jsx-runtime','APPLY_REVISION_CONFILICT','LICENSE_EXPORT_SIZE_EXCEEDED','796910yahQzw','#FFF','_scheduleClearOtherTimer','textRanges','COLORS','_renderManagerService','18FYWzEb','CollaborationDataLoaderController','SheetSkeletonManagerService','UPDATE_CURSOR','_docClipboardService','10ekomQJ','_onCursorDelete','getStateCache','addObject','ColorKit','unsubscribe','HTTPService','handleDeleteRangeMoveLeft','transformSelections','_render','beginPath','fillStyle','fillText','_revisionService','push','restore','range','attrs','clipPath','HEADER_MENU','translate(.97)','WebSocketService','ONLINE','Warning','_docSyncEditingCollabCursorService','12hxYYMm','_refRangeService','RichTextEditingMutation','_drawAnchor','collabStatus.fetchMiss','ALREADY_EXISTS','ENSURE_SNAPSHOT_EXECUTION','_startDocCollabCursor','setActiveRange','MemberService','http://www.w3.org/2000/svg','roomMembers$','APPLY_DUPLICATED','_cursorShapes','FromArray','entries','then','complete','ITransformService','onLocalMutation','replaceState','collabStatus.conflict','Tools','measureText','getColorFromTheme','Vector2','currentSkeleton$','setUndoRedoMutationParamsCache','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','moveTo','UniverDesign','UNRECOGNIZED','_hideTimer','UniverDocs','newValue','shareReplay','LOGIN_FAILED','_getScale','history','createIdentifier','setItem','unshift','_updateLocalCursor','assignAColorForMemberID','add','disposeWithMe','_docTransformIMECacheService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','APPLY_REJECT','connectInjector','serializeRangeWithSheet','data','amd','session.will-retry','LICENSE_MAX_UNITS_EXCEEDED','eventID','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','_textBubble','save','0\x200\x2016\x2016','getUndoRedoMutationParamsCache','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','@univerjs/docs-ui','div','IImageIoService','_memberService','values','_handleLeaveEvent','white','getRenderById','toStringTag','USERS_LEAVE','onCommandExecuted','INVALID_INVITE_CODE','_getSessionTicket','from','mutations','flatMap','SessionStatus','_notificationService','object','displayName','ISocketService','code','takeUntil','@univerjs/network','useDependency','DocStateChangeManagerService','mapTo','key','_collaborationUIEventService','currentTheme$','@univerjs-pro/collaboration','MOBILE_HAS_BEEN_BOUND','DependentOn','_online','_onRefRangeChange','lineTo','DeleteRangeMoveUpCommandId','getMergeData','OFFLINE','saveImage','UniverIcon','INTERNAL_ERROR','DocSkeletonManagerService','TEXT','text','max','set','handleDeleteRangeMoveUp','red.300','popstate','startsWith','CONFLICT','type','_collabCursorController','_disabled','getLocalCacheKey','on-line-icon','UniverDocsUi','fillRule','LOCAL_CACHE_INTERVAL','size','transformMutation','_updateCollabCursors','_cachedData','_handleEvent','column','registerComponent','ILogService','prototype','...','SUBMIT_CHANGESET_TIMEOUT','fromEvent','handleMoveRange','NOT_COLLAB','dispose$','asObservable','_sheetSkeletonManagerService','_entities','IBeforeCloseService','show','_cursors','getActiveSheet','editingUnit','_scheduleSaving','@univerjs/ui','_initStatusListener','_getSheetObject','cursorInfo','delete','merge','getVpScrollXYInfoByPosToVp','_session','roomMembers','_removeCollabCursors','_setupBeforeClosingHandler','combineLatest','AWAITING','tag','InsertColCommandId','_init','getItem','contains','YUUMI_AI_RUN_FAILED','sheetID','_assignedColors','getSheetId','error','trim','IRenderManagerService','addEventListener','round','arc','transformRemoteChangeset','_docTransformStateCacheService','197133SZarza','_drawTextRange','INotificationService','getSkeleton','symbol','height','WebURLService','unitId','handleInsertRangeMoveDown','enableLocalCache','sessionStatus$','getUnitId','getTypeOfUnitAdded$','ranges','_syncEditingCollabCursorService','_docStateChangeManagerService','_transformPreviousActiveRange','_scheduleHeartbeat','function','UniverInstanceType','actions','IMessageService','UniverRpc','_toggleOffline','url(#on-line-icon_clip0_910_349)','@univerjs/sheets','CollaborationUIEventService','IConfigService','getCoordByCell','handleInsertRow','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','CommandType','pipe','getUnhiddenWorksheets','_anchor','getUnitStatus$','apply','DEFAULT_WS_SESSION_TICKET_URL','UniverDrawing','_initStatusComponent','Failed','_transformUndoRedoStack','_setupSubUnitSync','CHANGESET_REVISION_CONFILICT','getConfig','filter','325344TDAFpl','url(#$1'];_0xe876=function(){return _0x1ddcb4;};return _0xe876();}function _0x94a3(_0x3cc980,_0x172025){const _0xe87694=_0xe876();return _0x94a3=function(_0x94a34f,_0x16844c){_0x94a34f=_0x94a34f-0x1b2;let _0x349eb6=_0xe87694[_0x94a34f];return _0x349eb6;},_0x94a3(_0x3cc980,_0x172025);}(function(_0xf93f69,_0x2f4e05){const _0x109f81=_0x94a3,_0x17400d=_0xf93f69();while(!![]){try{const _0x50650c=-parseInt(_0x109f81(0x391))/0x1+-parseInt(_0x109f81(0x2c3))/0x2*(parseInt(_0x109f81(0x1e2))/0x3)+parseInt(_0x109f81(0x3bf))/0x4+parseInt(_0x109f81(0x2bd))/0x5+-parseInt(_0x109f81(0x2e1))/0x6*(parseInt(_0x109f81(0x441))/0x7)+-parseInt(_0x109f81(0x204))/0x8+-parseInt(_0x109f81(0x1bd))/0x9*(-parseInt(_0x109f81(0x2c8))/0xa);if(_0x50650c===_0x2f4e05)break;else _0x17400d['push'](_0x17400d['shift']());}catch(_0x41ae2c){_0x17400d['push'](_0x17400d['shift']());}}}(_0xe876,0x18f67),function(_0x4c877e,_0x12040d){const _0x405018=_0x94a3;typeof exports==_0x405018(0x331)&&typeof module<'u'?_0x12040d(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0x405018(0x3a3)&&define[_0x405018(0x315)]?define([_0x405018(0x1f9),_0x405018(0x3f9),_0x405018(0x3ce),'@univerjs/engine-render',_0x405018(0x336),_0x405018(0x31f),'@univerjs/drawing',_0x405018(0x1d4),_0x405018(0x33d),_0x405018(0x1e5),_0x405018(0x3e5),_0x405018(0x3aa),'rxjs/operators',_0x405018(0x421),_0x405018(0x2ba),_0x405018(0x373),_0x405018(0x1e3),'react',_0x405018(0x3fe)],_0x12040d):(_0x4c877e=typeof globalThis<'u'?globalThis:_0x4c877e||self,_0x12040d(_0x4c877e[_0x405018(0x425)]={},_0x4c877e['UniverProCollaborationClient'],_0x4c877e[_0x405018(0x200)],_0x4c877e[_0x405018(0x2b5)],_0x4c877e[_0x405018(0x2b8)],_0x4c877e[_0x405018(0x358)],_0x4c877e[_0x405018(0x3b7)],_0x4c877e[_0x405018(0x1d4)],_0x4c877e[_0x405018(0x1c6)],_0x4c877e[_0x405018(0x302)],_0x4c877e['UniverEngineFormula'],_0x4c877e[_0x405018(0x43a)],_0x4c877e['rxjs'][_0x405018(0x272)],_0x4c877e[_0x405018(0x25c)],_0x4c877e[_0x405018(0x1ba)],_0x4c877e[_0x405018(0x223)],_0x4c877e[_0x405018(0x2ff)],_0x4c877e[_0x405018(0x1ba)],_0x4c877e[_0x405018(0x3a7)]));}(this,function(_0x47440c,_0x7e6ef6,_0x4d81d1,_0x2c2228,_0xb1173c,_0xf7ba88,_0x275c5f,_0x2af810,_0x7bc020,_0x3422c5,_0x115541,_0x4a524b,_0x54dd64,_0x5d8437,_0x5c0380,_0x2a4dd8,_0x427b5c,_0x3174a9,_0x2f2e13){'use strict';const _0x449ba4=_0x94a3;var _0x293418=Object[_0x449ba4(0x1f7)],_0x509a7c=(_0x547445,_0x216392,_0x41ea1b)=>_0x216392 in _0x547445?_0x293418(_0x547445,_0x216392,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x41ea1b}):_0x547445[_0x216392]=_0x41ea1b,_0xb1ba3a=(_0x1cd624,_0x36af3f,_0xc6918b)=>_0x509a7c(_0x1cd624,typeof _0x36af3f!=_0x449ba4(0x395)?_0x36af3f+'':_0x36af3f,_0xc6918b),_0x39b522=Object[_0x449ba4(0x1d2)],_0x37be7a=(_0x5e6fa2,_0x35790a,_0x50311e,_0x58a598)=>{const _0x1e6e7a=_0x449ba4;for(var _0xba340=_0x58a598>0x1?void 0x0:_0x58a598?_0x39b522(_0x35790a,_0x50311e):_0x35790a,_0xa320f7=_0x5e6fa2[_0x1e6e7a(0x3eb)]-0x1,_0x2335fe;_0xa320f7>=0x0;_0xa320f7--)(_0x2335fe=_0x5e6fa2[_0xa320f7])&&(_0xba340=_0x2335fe(_0xba340)||_0xba340);return _0xba340;},_0x46d10e=(_0x50502e,_0x2252ff)=>(_0x223e02,_0x276e5f)=>_0x2252ff(_0x223e02,_0x276e5f,_0x50502e);let _0x440470=class extends _0x4d81d1['RxDisposable']{constructor(_0xc1331b,_0x3b6561){const _0xee47c3=_0x449ba4;super(),this[_0xee47c3(0x2c7)]=_0xc1331b,this[_0xee47c3(0x3c9)]=_0x3b6561,this[_0xee47c3(0x382)]();}[_0x449ba4(0x382)](){const _0x73fa14=_0x449ba4,_0x191f33=this;this['disposeWithMe'](this[_0x73fa14(0x2c7)][_0x73fa14(0x42e)]({'onBeforePasteImage':async _0x157317=>{const _0x478da1=_0x73fa14,_0xf8b174=await _0x191f33[_0x478da1(0x3c9)][_0x478da1(0x346)](_0x157317);return _0xf8b174?{'source':_0xf8b174[_0x478da1(0x1df)],'imageSourceType':_0xf8b174[_0x478da1(0x3e7)]}:null;}}));}};_0x440470=_0x37be7a([_0x46d10e(0x0,_0xf7ba88[_0x449ba4(0x3cf)]),_0x46d10e(0x1,_0x275c5f[_0x449ba4(0x321)])],_0x440470);const _0x26787c=['purple.300','jiqing.500',_0x449ba4(0x44d),_0x449ba4(0x34f),_0x449ba4(0x3f4),_0x449ba4(0x44c)];class _0xd7451c extends _0x4d81d1['Disposable']{constructor(){const _0x4deb01=_0x449ba4;super(...arguments),_0xb1ba3a(this,_0x4deb01(0x387),new Map()),_0xb1ba3a(this,_0x4deb01(0x1cb),0x0);}[_0x449ba4(0x30c)](_0x384899){const _0x1390b9=_0x449ba4;if(this[_0x1390b9(0x387)][_0x1390b9(0x3fc)](_0x384899))return this[_0x1390b9(0x387)]['get'](_0x384899);const _0xbff318=_0x26787c[this[_0x1390b9(0x1cb)]];return this['_colorIndex']=(this[_0x1390b9(0x1cb)]+0x1)%_0x26787c[_0x1390b9(0x3eb)],this[_0x1390b9(0x387)][_0x1390b9(0x34d)](_0x384899,_0xbff318),_0xbff318;}}function _0x3c6de3(_0x5eb3d0){let _0x4f1fe0='';for(const _0x408b78 of _0x5eb3d0){const {startOffset:_0x48c3a4,endOffset:_0x182ab6,isActive:_0x42cada,rangeType:_0x37b9e6,segmentId:_0x10bf3e,segmentPage:_0x128f1d}=_0x408b78;_0x4f1fe0['length']&&(_0x4f1fe0+=','),_0x4f1fe0+=_0x48c3a4+':'+_0x182ab6+':'+(_0x42cada?'1':'0')+':'+_0x37b9e6+':'+_0x10bf3e+':'+_0x128f1d;}return _0x4f1fe0;}function _0x34d80c(_0x8a203a){const _0x3e858f=_0x449ba4,_0x24191c=_0x8a203a[_0x3e858f(0x27d)](','),_0x32cfac=[];for(const _0x1ebf01 of _0x24191c){const [_0x19d15d,_0x2f7d9a,_0x4f96df,_0x4e8170,_0x4e0396,_0x314132]=_0x1ebf01[_0x3e858f(0x27d)](':');_0x32cfac[_0x3e858f(0x2d6)]({'startOffset':Number(_0x19d15d),'endOffset':Number(_0x2f7d9a),'collapsed':_0x19d15d===_0x2f7d9a,'isActive':_0x4f96df==='1','rangeType':_0x4e8170===_0x4d81d1[_0x3e858f(0x1db)][_0x3e858f(0x34a)]?_0x4d81d1[_0x3e858f(0x1db)]['TEXT']:_0x4d81d1[_0x3e858f(0x1db)][_0x3e858f(0x43c)],'segmentId':typeof _0x4e0396=='string'?String(_0x4e0396):'','segmentPage':Number(_0x314132!=null?_0x314132:-0x1)});}return _0x32cfac[_0x3e858f(0x44f)](_0x1a99bf=>_0x1a99bf['isActive'])||(_0x32cfac[0x0][_0x3e858f(0x2b6)]=!0x0),_0x32cfac;}class _0x3944ef extends _0x4d81d1[_0x449ba4(0x253)]{constructor(){const _0x5a6409=_0x449ba4;super(...arguments),_0xb1ba3a(this,'_collabCursorState$',new _0x2af810[(_0x5a6409(0x3dd))](null)),_0xb1ba3a(this,'collabCursorState$',this[_0x5a6409(0x274)]['asObservable']());}[_0x449ba4(0x416)](_0xbe84f4){const _0x3f9c86=_0x449ba4,{unitID:_0x4a1f6e,memberID:_0x1ad5cb,textRanges:_0x3180fa}=_0xbe84f4,_0x4c94da=_0x3c6de3(_0x3180fa);if(_0x4c94da==='')return;const _0x5bb0c5={'unitID':_0x4a1f6e,'memberID':_0x1ad5cb,'selection':_0x4c94da};this['_collabCursorState$'][_0x3f9c86(0x41c)](_0x5bb0c5);}}var _0x58c742=Object[_0x449ba4(0x1d2)],_0x45f44f=(_0x1a4239,_0x1f297d,_0x39eef4,_0x56e938)=>{const _0x170139=_0x449ba4;for(var _0x4cbeb4=_0x56e938>0x1?void 0x0:_0x56e938?_0x58c742(_0x1f297d,_0x39eef4):_0x1f297d,_0x26f441=_0x1a4239[_0x170139(0x3eb)]-0x1,_0xa1517d;_0x26f441>=0x0;_0x26f441--)(_0xa1517d=_0x1a4239[_0x26f441])&&(_0x4cbeb4=_0xa1517d(_0x4cbeb4)||_0x4cbeb4);return _0x4cbeb4;},_0x5ac957=(_0x3a6d91,_0x5c9df9)=>(_0x22a216,_0x5af7a3)=>_0x5c9df9(_0x22a216,_0x5af7a3,_0x3a6d91);const _0x40c568=0x12c,_0x2a01fd=0x64;let _0x10bf29=class extends _0x4d81d1['RxDisposable']{constructor(_0x4fee1,_0x180eaa,_0x4bc913,_0x2fd0e6,_0x51da65,_0x153ec0,_0x58db53,_0x49d2d9,_0x57c585){const _0x1e09de=_0x449ba4;super(),_0xb1ba3a(this,_0x1e09de(0x340),!0x1),_0xb1ba3a(this,_0x1e09de(0x382),!0x1),_0xb1ba3a(this,'_cursorInfo$',new _0x2af810[(_0x1e09de(0x3dd))](new Map())),_0xb1ba3a(this,'cursorInfo$',this['_cursorInfo$'][_0x1e09de(0x36a)]()),_0xb1ba3a(this,_0x1e09de(0x3d8),new _0x2af810[(_0x1e09de(0x3dd))]([])),_0xb1ba3a(this,'roomMembers$',this[_0x1e09de(0x3d8)][_0x1e09de(0x3b1)](_0x2af810['debounceTime'](_0x40c568))),_0xb1ba3a(this,_0x1e09de(0x30b),_0x4d81d1['debounce'](_0x4d2b49=>{const _0x4911e0=_0x1e09de,_0x24c87e={'eventID':_0x7bc020[_0x4911e0(0x254)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x4911e0(0x37a)][_0x4911e0(0x22d)](),'selection':_0x3c6de3(_0x4d2b49)}};this[_0x4911e0(0x37a)]['send'](_0x24c87e,this[_0x4911e0(0x1fe)]);},_0x2a01fd)),(this[_0x1e09de(0x1fe)]=_0x4fee1,this[_0x1e09de(0x37a)]=_0x180eaa,this['_injector']=_0x4bc913,this[_0x1e09de(0x219)]=_0x2fd0e6,this[_0x1e09de(0x322)]=_0x51da65,this[_0x1e09de(0x39f)]=_0x153ec0,this[_0x1e09de(0x1d3)]=_0x58db53,this[_0x1e09de(0x231)]=_0x49d2d9,this[_0x1e09de(0x3c7)]=_0x57c585);}get['cursorInfo'](){const _0x1e322f=_0x449ba4;return this[_0x1e322f(0x3d7)]['getValue']();}get[_0x449ba4(0x37b)](){const _0xda84cb=_0x449ba4;return this[_0xda84cb(0x3d8)][_0xda84cb(0x2a4)]();}[_0x449ba4(0x3d4)](){const _0x1c39c7=_0x449ba4;super['dispose'](),this[_0x1c39c7(0x3d7)][_0x1c39c7(0x41c)](new Map()),this['_cursorInfo$'][_0x1c39c7(0x2f2)](),this[_0x1c39c7(0x3d8)][_0x1c39c7(0x41c)]([]),this[_0x1c39c7(0x3d8)]['complete']();}[_0x449ba4(0x262)](){const _0x41b201=_0x449ba4;this[_0x41b201(0x382)]||(this['_init']=!0x0,this[_0x41b201(0x37a)][_0x41b201(0x39b)][_0x41b201(0x3b1)](_0x2af810[_0x41b201(0x335)](this[_0x41b201(0x369)]))[_0x41b201(0x3e8)](_0x4ee4cb=>{const _0x5d82ec=_0x41b201;_0x4ee4cb===_0x7e6ef6[_0x5d82ec(0x32f)]['ONLINE']?this['_toggleOnline']():this[_0x5d82ec(0x3a8)]();}),this['_session'][_0x41b201(0x407)][_0x41b201(0x3b1)](_0x2af810[_0x41b201(0x335)](this[_0x41b201(0x369)]))[_0x41b201(0x3e8)](_0x177785=>{const _0x507ee1=_0x41b201,_0x1362ea=_0x177785[_0x507ee1(0x318)];_0x1362ea===_0x7bc020[_0x507ee1(0x254)][_0x507ee1(0x2c6)]&&this[_0x507ee1(0x1d7)](_0x177785),_0x1362ea===_0x7bc020[_0x507ee1(0x254)][_0x507ee1(0x328)]&&this[_0x507ee1(0x2c9)](_0x177785);}),this[_0x41b201(0x30e)](this['_commandService'][_0x41b201(0x329)](_0x6b42e8=>{const _0x3c10be=_0x41b201,_0x159f67=_0x6b42e8[_0x3c10be(0x2a5)];_0x159f67!=null&&this[_0x3c10be(0x340)]&&_0x6b42e8['id']===_0x3422c5[_0x3c10be(0x44b)]['id']&&_0x159f67[_0x3c10be(0x398)]===this[_0x3c10be(0x1fe)]&&_0x159f67['isEditing']===!0x1&&_0x159f67['ranges'][_0x3c10be(0x3eb)]>0x0&&this[_0x3c10be(0x30b)](_0x159f67[_0x3c10be(0x39e)]);})),this[_0x41b201(0x39f)]['collabCursorState$'][_0x41b201(0x3b1)](_0x2af810[_0x41b201(0x335)](this[_0x41b201(0x369)]))[_0x41b201(0x3e8)](_0x383b17=>{const _0x10cfc6=_0x41b201;if((_0x383b17==null?void 0x0:_0x383b17[_0x10cfc6(0x1fe)])!==this[_0x10cfc6(0x1fe)])return;const _0xe8cc91={'eventID':_0x7bc020['CollaborationEvent'][_0x10cfc6(0x2c6)],'data':_0x383b17};this['_onCursorUpdate'](_0xe8cc91);}),this[_0x41b201(0x30e)](this[_0x41b201(0x3c7)]['onCommandExecuted'](_0x4f66c7=>{const _0x2710f4=_0x41b201;if(_0x4f66c7[_0x2710f4(0x2a5)]==null)return;const _0x1e6fa8=_0x4f66c7['params'];if(_0x4f66c7['id']!==_0x3422c5[_0x2710f4(0x2e3)]['id']||_0x1e6fa8[_0x2710f4(0x398)]!==this['unitID'])return;const _0x557c66={'id':'doc.mutation.rich-text-editing','params':_0x1e6fa8},_0x9cc58f=this[_0x2710f4(0x376)];for(const [_0x2644fd,_0x6322c9]of _0x9cc58f){const _0x4d4ca4={'id':_0x2710f4(0x40f),'params':{'unitId':this[_0x2710f4(0x1fe)],'actions':null,'textRanges':_0x6322c9[_0x2710f4(0x39e)]}},_0x4bcefb=this[_0x2710f4(0x1d3)]['transformMutation'](_0x557c66,_0x4d4ca4,!0x1);if(_0x7bc020[_0x2710f4(0x265)](_0x4bcefb))throw _0x4bcefb[_0x2710f4(0x389)];_0x9cc58f[_0x2710f4(0x34d)](_0x2644fd,{..._0x6322c9,'ranges':_0x4bcefb['m2Prime'][_0x2710f4(0x2a5)]['textRanges']});}queueMicrotask(()=>{const _0x47e3fa=_0x2710f4;this[_0x47e3fa(0x3d7)][_0x47e3fa(0x41c)](_0x9cc58f);});})));}[_0x449ba4(0x1d7)](_0x29e1ce){const _0x2b6e90=_0x449ba4;var _0x4a16e1,_0x1678ce;const {memberID:_0x322069,selection:_0x4c3807}=_0x29e1ce['data'],_0xc5feaa=_0x34d80c(_0x4c3807),_0x35c58d=(_0x1678ce=(_0x4a16e1=this[_0x2b6e90(0x322)][_0x2b6e90(0x276)](this[_0x2b6e90(0x1fe)],_0x322069))==null?void 0x0:_0x4a16e1['name'])!=null?_0x1678ce:'Unknown\x20user',_0x2709a1={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x322069),'name':_0x35c58d,'ranges':_0xc5feaa},_0x13abe1=this['cursorInfo'];_0x13abe1['set'](_0x322069,_0x2709a1),this[_0x2b6e90(0x3d7)][_0x2b6e90(0x41c)](_0x13abe1);}[_0x449ba4(0x2c9)](_0x344eec){const _0x5eb8f5=_0x449ba4,{memberID:_0x25682a}=_0x344eec[_0x5eb8f5(0x314)],_0x358ef9=this[_0x5eb8f5(0x376)];_0x358ef9[_0x5eb8f5(0x377)](_0x25682a),this['_cursorInfo$']['next'](_0x358ef9);}['_toggleOnline'](){const _0x2cbd85=_0x449ba4;var _0x4a9546;if(this[_0x2cbd85(0x340)]=!0x0,((_0x4a9546=this[_0x2cbd85(0x231)][_0x2cbd85(0x1e4)]())==null?void 0x0:_0x4a9546[_0x2cbd85(0x39c)]())!==this[_0x2cbd85(0x1fe)])return;const _0x48d79b=this[_0x2cbd85(0x1f1)][_0x2cbd85(0x420)](_0x3422c5[_0x2cbd85(0x230)])[_0x2cbd85(0x3f8)]();Array[_0x2cbd85(0x451)](_0x48d79b)&&_0x48d79b[_0x2cbd85(0x3eb)]>0x0&&this['_updateLocalCursor'](_0x48d79b);}['_toggleOffline'](){this['_online']=!0x1;}};_0x10bf29=_0x45f44f([_0x5ac957(0x2,_0x4d81d1[_0x449ba4(0x1e6)](_0x4d81d1[_0x449ba4(0x43e)])),_0x5ac957(0x3,_0x4d81d1[_0x449ba4(0x1e6)](_0xd7451c)),_0x5ac957(0x4,_0x4d81d1['Inject'](_0x7e6ef6[_0x449ba4(0x2ea)])),_0x5ac957(0x5,_0x4d81d1[_0x449ba4(0x1e6)](_0x3944ef)),_0x5ac957(0x6,_0x7bc020[_0x449ba4(0x2f3)]),_0x5ac957(0x7,_0x4d81d1[_0x449ba4(0x218)]),_0x5ac957(0x8,_0x4d81d1['ICommandService'])],_0x10bf29);var _0x54c64a=Object['getOwnPropertyDescriptor'],_0x38fc60=(_0x541b76,_0x455c32,_0x34689f,_0x4a77bd)=>{const _0x32b9fe=_0x449ba4;for(var _0x4805be=_0x4a77bd>0x1?void 0x0:_0x4a77bd?_0x54c64a(_0x455c32,_0x34689f):_0x455c32,_0x18a079=_0x541b76[_0x32b9fe(0x3eb)]-0x1,_0x1abac9;_0x18a079>=0x0;_0x18a079--)(_0x1abac9=_0x541b76[_0x18a079])&&(_0x4805be=_0x1abac9(_0x4805be)||_0x4805be);return _0x4805be;},_0x5f2320=(_0x10b584,_0x4342a0)=>(_0x3e22d5,_0x220936)=>_0x4342a0(_0x3e22d5,_0x220936,_0x10b584);const _0x14abab=0x12c,_0x35e139=0x64,_0x2cad77=()=>{let _0x52de9a=[],_0xdddd8c=!0x1;return _0x5b3285=>{_0x52de9a['push'](_0x5b3285),_0xdddd8c||(_0xdddd8c=!0x0,setTimeout(()=>{const _0x24f819=_0x94a3;_0x52de9a[_0x24f819(0x27b)](_0xa24fe6=>_0xa24fe6()),_0x52de9a=[],_0xdddd8c=!0x1;}));};};let _0x122cc3=class extends _0x4d81d1[_0x449ba4(0x253)]{constructor(_0x509e8c,_0x20538f,_0x2fe270,_0x5db487,_0x438a0e,_0x19b6d0,_0x22954e,_0x21be2b){const _0xd17a6=_0x449ba4;super(),_0xb1ba3a(this,_0xd17a6(0x340),!0x1),_0xb1ba3a(this,_0xd17a6(0x382),!0x1),_0xb1ba3a(this,'_cursorInfo$',new _0x2af810[(_0xd17a6(0x3dd))](new Map())),_0xb1ba3a(this,_0xd17a6(0x3e3),this[_0xd17a6(0x3d7)][_0xd17a6(0x36a)]()),_0xb1ba3a(this,_0xd17a6(0x3d8),new _0x2af810[(_0xd17a6(0x3dd))]([])),_0xb1ba3a(this,_0xd17a6(0x2ec),this[_0xd17a6(0x3d8)]['pipe'](_0x2af810['debounceTime'](_0x14abab))),_0xb1ba3a(this,_0xd17a6(0x30b),_0x4d81d1[_0xd17a6(0x1e9)]((_0x3546c7,_0x406f30)=>{const _0x4348ec=_0xd17a6,_0x4de5d9={'eventID':_0x7bc020[_0x4348ec(0x254)][_0x4348ec(0x2c6)],'data':{'unitID':this[_0x4348ec(0x1fe)],'memberID':this[_0x4348ec(0x37a)]['getMemberID'](),'selection':_0x115541[_0x4348ec(0x313)](_0x3546c7,_0x406f30[_0x4348ec(0x2d8)])}};this['_session'][_0x4348ec(0x422)](_0x4de5d9,this[_0x4348ec(0x1fe)]);},_0x35e139)),(this[_0xd17a6(0x1fe)]=_0x509e8c,this[_0xd17a6(0x37a)]=_0x20538f,this[_0xd17a6(0x1f1)]=_0x2fe270,this[_0xd17a6(0x219)]=_0x5db487,this['_memberService']=_0x438a0e,this[_0xd17a6(0x231)]=_0x19b6d0,this[_0xd17a6(0x3c7)]=_0x22954e,this[_0xd17a6(0x2e2)]=_0x21be2b);}get[_0x449ba4(0x376)](){return this['_cursorInfo$']['getValue']();}get[_0x449ba4(0x37b)](){const _0x2d0431=_0x449ba4;return this[_0x2d0431(0x3d8)][_0x2d0431(0x2a4)]();}[_0x449ba4(0x3d4)](){const _0x13b1d3=_0x449ba4;super[_0x13b1d3(0x3d4)](),this[_0x13b1d3(0x3d7)][_0x13b1d3(0x41c)](new Map()),this[_0x13b1d3(0x3d7)][_0x13b1d3(0x2f2)](),this[_0x13b1d3(0x3d8)][_0x13b1d3(0x41c)]([]),this[_0x13b1d3(0x3d8)][_0x13b1d3(0x2f2)]();}[_0x449ba4(0x262)](){const _0x2ec93d=_0x449ba4;this[_0x2ec93d(0x382)]||(this[_0x2ec93d(0x382)]=!0x0,this[_0x2ec93d(0x37a)][_0x2ec93d(0x39b)][_0x2ec93d(0x3b1)](_0x2af810[_0x2ec93d(0x335)](this[_0x2ec93d(0x369)]))[_0x2ec93d(0x3e8)](_0x3f3d46=>{const _0x5414c4=_0x2ec93d;_0x3f3d46===_0x7e6ef6[_0x5414c4(0x32f)][_0x5414c4(0x2de)]?this[_0x5414c4(0x3ff)]():this[_0x5414c4(0x3a8)]();}),this[_0x2ec93d(0x37a)][_0x2ec93d(0x407)]['pipe'](_0x2af810['takeUntil'](this['dispose$']))['subscribe'](_0x4ee80e=>{const _0x48768c=_0x2ec93d,_0x5ac3ed=_0x4ee80e['eventID'];_0x5ac3ed===_0x7bc020[_0x48768c(0x254)][_0x48768c(0x2c6)]&&this[_0x48768c(0x1d7)](_0x4ee80e),_0x5ac3ed===_0x7bc020[_0x48768c(0x254)][_0x48768c(0x328)]&&this[_0x48768c(0x2c9)](_0x4ee80e);}),this[_0x2ec93d(0x341)](),this[_0x2ec93d(0x30e)](this[_0x2ec93d(0x3c7)][_0x2ec93d(0x329)](_0x2a99d5=>{const _0x4977c1=_0x2ec93d;if(this[_0x4977c1(0x340)]&&_0x2a99d5['id']===_0x4a524b[_0x4977c1(0x24d)]['id']&&_0x2a99d5[_0x4977c1(0x2a5)][_0x4977c1(0x398)]===this['unitID']){const _0x441051=_0x2a99d5[_0x4977c1(0x2a5)];this[_0x4977c1(0x30b)](_0x441051[_0x4977c1(0x404)],_0x441051[_0x4977c1(0x213)][0x0]);}})));}[_0x449ba4(0x1d7)](_0x12b961){const _0x343265=_0x449ba4;var _0x4412ea,_0xd44fdc;const {memberID:_0x29bc69,selection:_0x3ba2e1}=_0x12b961[_0x343265(0x314)],{sheetName:_0x182bc8,range:_0x4d5285}=_0x115541[_0x343265(0x431)](_0x3ba2e1),_0x18eef4={'name':(_0xd44fdc=(_0x4412ea=this[_0x343265(0x322)][_0x343265(0x276)](this[_0x343265(0x1fe)],_0x29bc69))==null?void 0x0:_0x4412ea['name'])!=null?_0xd44fdc:_0x343265(0x22e),'range':this[_0x343265(0x237)](_0x182bc8,_0x4d5285),'sheetID':_0x182bc8,'color':this[_0x343265(0x219)][_0x343265(0x30c)](_0x29bc69),'selection':_0x3ba2e1},_0x466b9b=this[_0x343265(0x376)];_0x466b9b['set'](_0x29bc69,_0x18eef4),this[_0x343265(0x3d7)][_0x343265(0x41c)](_0x466b9b);}['_onCursorDelete'](_0x2add56){const _0x438f7c=_0x449ba4,{memberID:_0x4e982b}=_0x2add56[_0x438f7c(0x314)],_0x2f6fe5=this[_0x438f7c(0x376)];_0x2f6fe5[_0x438f7c(0x377)](_0x4e982b),this[_0x438f7c(0x3d7)]['next'](_0x2f6fe5);}[_0x449ba4(0x237)](_0x3dc541,_0x20fb1b){const _0x39eed3=_0x449ba4;var _0x19b8a3,_0x168076;const _0x38e703=(_0x168076=(_0x19b8a3=this[_0x39eed3(0x231)][_0x39eed3(0x1f8)](this['unitID']))==null?void 0x0:_0x19b8a3[_0x39eed3(0x447)](_0x3dc541))==null?void 0x0:_0x168076[_0x39eed3(0x344)]();return(_0x38e703==null?void 0x0:_0x38e703[_0x39eed3(0x21a)](_0xdf78c5=>_0x4d81d1[_0x39eed3(0x27f)][_0x39eed3(0x384)](_0xdf78c5,_0x20fb1b)))||_0x20fb1b;}['_onRefRangeChange'](){const _0x2ac04a=_0x449ba4,_0x106fdd=new _0x4d81d1['DisposableCollection'](),_0x21c5b4=_0x2cad77(),_0x2bb6b2=()=>{const _0x31b6c9=_0x94a3;_0x106fdd[_0x31b6c9(0x3d4)]();const _0x85e2dd=(_0x47dbbb,_0x56ffbf,_0x15054b,_0xca2063)=>{const _0x1993b7=_0x31b6c9;let _0x193ad8=[];switch(_0x47dbbb['id']){case _0x4a524b['EffectRefRangId'][_0x1993b7(0x2aa)]:{_0x193ad8=_0x4a524b[_0x1993b7(0x2cf)](_0x47dbbb,_0xca2063);break;}case _0x4a524b[_0x1993b7(0x44a)][_0x1993b7(0x343)]:{_0x193ad8=_0x4a524b[_0x1993b7(0x34e)](_0x47dbbb,_0xca2063);break;}case _0x4a524b['EffectRefRangId'][_0x1993b7(0x381)]:{_0x193ad8=_0x4a524b['handleInsertCol'](_0x47dbbb,_0xca2063);break;}case _0x4a524b[_0x1993b7(0x44a)]['InsertRangeMoveDownCommandId']:{_0x193ad8=_0x4a524b[_0x1993b7(0x399)](_0x47dbbb,_0xca2063);break;}case _0x4a524b[_0x1993b7(0x44a)][_0x1993b7(0x240)]:{_0x193ad8=_0x4a524b[_0x1993b7(0x43d)](_0x47dbbb,_0xca2063);break;}case _0x4a524b[_0x1993b7(0x44a)]['InsertRowCommandId']:{_0x193ad8=_0x4a524b[_0x1993b7(0x3ae)](_0x47dbbb,_0xca2063);break;}case _0x4a524b[_0x1993b7(0x44a)]['MoveRangeCommandId']:{_0x193ad8=_0x4a524b[_0x1993b7(0x367)](_0x47dbbb,_0xca2063);break;}case _0x4a524b[_0x1993b7(0x44a)]['RemoveColCommandId']:{_0x193ad8=_0x4a524b[_0x1993b7(0x221)](_0x47dbbb,_0xca2063);break;}case _0x4a524b[_0x1993b7(0x44a)][_0x1993b7(0x1ca)]:{_0x193ad8=_0x4a524b[_0x1993b7(0x264)](_0x47dbbb,_0xca2063);break;}}const _0x4dcba1=_0x4a524b['runRefRangeMutations'](_0x193ad8,_0xca2063),_0x3329f4=this[_0x1993b7(0x376)][_0x1993b7(0x420)](_0x56ffbf);if(_0x3329f4&&_0x4dcba1){const _0x492a78={..._0x3329f4,'range':_0x4dcba1};this[_0x1993b7(0x376)]['set'](_0x56ffbf,_0x492a78),_0x21c5b4(()=>{const _0x2d05d3=_0x1993b7,_0x4c665f=this['_refRangeService'][_0x2d05d3(0x29c)](_0x4dcba1,_0x5826ac=>(_0x4c665f['dispose'](),_0x85e2dd(_0x5826ac,_0x56ffbf,_0x15054b,_0x4dcba1)));_0x106fdd[_0x2d05d3(0x30d)](_0x4c665f);});}return{'redos':[],'undos':[]};};this[_0x31b6c9(0x376)][_0x31b6c9(0x27b)]((_0x484648,_0x39b110)=>{const _0x36e064=_0x31b6c9,{range:_0x16ae8f,sheetID:_0x3a9ac3}=_0x484648,_0x466ac8=this[_0x36e064(0x2e2)]['registerRefRange'](_0x16ae8f,_0x454777=>(_0x466ac8[_0x36e064(0x3d4)](),_0x85e2dd(_0x454777,_0x39b110,_0x3a9ac3,_0x16ae8f)));_0x106fdd[_0x36e064(0x30d)](_0x466ac8);});};this[_0x2ac04a(0x30e)](_0x4d81d1[_0x2ac04a(0x3c5)](this[_0x2ac04a(0x3d7)][_0x2ac04a(0x3e8)](()=>{_0x2bb6b2();})));}[_0x449ba4(0x3ff)](){const _0x129d71=_0x449ba4;var _0x3ce70d,_0x4fdb3a;if(this[_0x129d71(0x340)]=!0x0,((_0x3ce70d=this[_0x129d71(0x231)]['getFocusedUnit']())==null?void 0x0:_0x3ce70d['getUnitId']())!==this[_0x129d71(0x1fe)])return;const _0x59e02e=(_0x4fdb3a=this[_0x129d71(0x1f1)]['get'](_0x4a524b['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x4fdb3a[0x0],_0x1f9b9a=this[_0x129d71(0x231)][_0x129d71(0x401)](_0x4d81d1['UniverInstanceType']['UNIVER_SHEET'])['getActiveSheet']();_0x59e02e&&_0x1f9b9a&&this[_0x129d71(0x30b)](_0x1f9b9a[_0x129d71(0x388)](),_0x59e02e);}[_0x449ba4(0x3a8)](){const _0x4454c2=_0x449ba4;this[_0x4454c2(0x340)]=!0x1;}};_0x122cc3=_0x38fc60([_0x5f2320(0x2,_0x4d81d1['Inject'](_0x4d81d1[_0x449ba4(0x43e)])),_0x5f2320(0x3,_0x4d81d1[_0x449ba4(0x1e6)](_0xd7451c)),_0x5f2320(0x4,_0x4d81d1['Inject'](_0x7e6ef6[_0x449ba4(0x2ea)])),_0x5f2320(0x5,_0x4d81d1[_0x449ba4(0x218)]),_0x5f2320(0x6,_0x4d81d1[_0x449ba4(0x1c2)]),_0x5f2320(0x7,_0x4d81d1['Inject'](_0x4a524b[_0x449ba4(0x245)]))],_0x122cc3);var _0x1d24dd=Object['getOwnPropertyDescriptor'],_0x11469d=(_0x51b2c2,_0x3eece4,_0x3ef57b,_0x4c3f20)=>{for(var _0x3e537a=_0x4c3f20>0x1?void 0x0:_0x4c3f20?_0x1d24dd(_0x3eece4,_0x3ef57b):_0x3eece4,_0x3c2f3b=_0x51b2c2['length']-0x1,_0x6588cb;_0x3c2f3b>=0x0;_0x3c2f3b--)(_0x6588cb=_0x51b2c2[_0x3c2f3b])&&(_0x3e537a=_0x6588cb(_0x3e537a)||_0x3e537a);return _0x3e537a;},_0x2cd55d=(_0x1a66d4,_0x5354db)=>(_0x58a0e6,_0x46e53f)=>_0x5354db(_0x58a0e6,_0x46e53f,_0x1a66d4);let _0x5f01b6=class extends _0x4d81d1[_0x449ba4(0x253)]{constructor(_0x1709a8,_0x4cf1e6,_0x2d9959){const _0x12742e=_0x449ba4;super(),_0xb1ba3a(this,'_entities',new Map()),_0xb1ba3a(this,'_entityInit$',new _0x2af810[(_0x12742e(0x259))]()),(this[_0x12742e(0x231)]=_0x1709a8,this[_0x12742e(0x1f1)]=_0x4cf1e6,this[_0x12742e(0x23d)]=_0x2d9959,this['_init']());}['dispose'](){const _0x45e2e5=_0x449ba4;super['dispose'](),this[_0x45e2e5(0x26e)][_0x45e2e5(0x2f2)](),this['_entities'][_0x45e2e5(0x27b)](_0x5a9ca8=>_0x5a9ca8[_0x45e2e5(0x3d4)]());}[_0x449ba4(0x297)](_0x4a5e30){const _0x3a9b3f=_0x449ba4;return this[_0x3a9b3f(0x36c)][_0x3a9b3f(0x3fc)](_0x4a5e30)?this['_entities'][_0x3a9b3f(0x420)](_0x4a5e30)[_0x3a9b3f(0x3e3)]:this['_entityInit$'][_0x3a9b3f(0x3b1)](_0x2af810[_0x3a9b3f(0x3be)](_0x4b3855=>_0x4b3855['unitID']===_0x4a5e30),_0x2af810['switchMap'](_0x335275=>_0x335275[_0x3a9b3f(0x3e3)]));}[_0x449ba4(0x382)](){const _0x206d89=_0x449ba4;this['_univerInstanceService'][_0x206d89(0x39d)](_0x4d81d1[_0x206d89(0x3a4)]['UNIVER_SHEET'])[_0x206d89(0x3b1)](_0x2af810[_0x206d89(0x335)](this[_0x206d89(0x369)]))[_0x206d89(0x3e8)](async _0x12f9d6=>{const _0x43d916=_0x206d89,_0x3def15=_0x12f9d6['getUnitId'](),_0x5c7c27=await this['_startSheetCollabCursor'](_0x3def15);this[_0x43d916(0x26e)][_0x43d916(0x41c)](_0x5c7c27),this[_0x43d916(0x36c)][_0x43d916(0x34d)](_0x3def15,_0x5c7c27);}),this[_0x206d89(0x231)]['getTypeOfUnitAdded$'](_0x4d81d1[_0x206d89(0x3a4)]['UNIVER_DOC'])[_0x206d89(0x3b1)](_0x2af810[_0x206d89(0x335)](this['dispose$']))[_0x206d89(0x3b1)](_0x2af810[_0x206d89(0x3be)](_0x49f7c6=>!_0x49f7c6[_0x206d89(0x39c)]()[_0x206d89(0x351)]('__')))[_0x206d89(0x3e8)](async _0x278bc8=>{const _0x5418f4=_0x206d89,_0x101432=_0x278bc8[_0x5418f4(0x39c)](),_0x415da4=await this[_0x5418f4(0x2e8)](_0x101432);this[_0x5418f4(0x26e)]['next'](_0x415da4),this[_0x5418f4(0x36c)]['set'](_0x101432,_0x415da4);}),_0x2af810[_0x206d89(0x378)](this[_0x206d89(0x231)]['getTypeOfUnitDisposed$'](_0x4d81d1[_0x206d89(0x3a4)][_0x206d89(0x298)]),this[_0x206d89(0x231)][_0x206d89(0x28d)](_0x4d81d1[_0x206d89(0x3a4)][_0x206d89(0x214)]))[_0x206d89(0x3b1)](_0x2af810[_0x206d89(0x335)](this[_0x206d89(0x369)]))[_0x206d89(0x3e8)](_0x540462=>{const _0x7a8bf7=_0x206d89,_0x5002ff=_0x540462[_0x7a8bf7(0x39c)](),_0x5ede87=this[_0x7a8bf7(0x36c)][_0x7a8bf7(0x420)](_0x5002ff);_0x5ede87&&(_0x5ede87[_0x7a8bf7(0x3d4)](),this[_0x7a8bf7(0x36c)]['delete'](_0x5002ff));});}async['_startSheetCollabCursor'](_0x46e035){const _0x1280c5=_0x449ba4,_0x34d432=await this[_0x1280c5(0x23d)][_0x1280c5(0x1be)](_0x46e035),_0x3ad3f7=this[_0x1280c5(0x1f1)][_0x1280c5(0x3fa)](_0x122cc3,_0x46e035,_0x34d432);return _0x3ad3f7[_0x1280c5(0x262)](),_0x3ad3f7;}async[_0x449ba4(0x2e8)](_0x401a90){const _0x48d3ee=_0x449ba4,_0x1a61aa=await this[_0x48d3ee(0x23d)]['requireSession'](_0x401a90),_0x20fd74=this[_0x48d3ee(0x1f1)][_0x48d3ee(0x3fa)](_0x10bf29,_0x401a90,_0x1a61aa);return _0x20fd74['init'](),_0x20fd74;}};_0x5f01b6=_0x11469d([_0x2cd55d(0x0,_0x4d81d1['IUniverInstanceService']),_0x2cd55d(0x1,_0x4d81d1[_0x449ba4(0x1e6)](_0x4d81d1[_0x449ba4(0x43e)])),_0x2cd55d(0x2,_0x4d81d1[_0x449ba4(0x1e6)](_0x7e6ef6['CollaborationSessionService']))],_0x5f01b6);const _0x21c66f=0x14,_0x26b89a=0xc8,_0x184191=0x4,_0x55a9e1=0x5;function _0x1d8026(_0x20f0f1,_0x245dd3){const _0x2d38e0=_0x449ba4;let {radius:_0x4535a7,width:_0x4f319c,height:_0x53805f}=_0x245dd3;_0x4535a7=_0x4535a7!=null?_0x4535a7:0x0,_0x4f319c=_0x4f319c!=null?_0x4f319c:0x1e,_0x53805f=_0x53805f!=null?_0x53805f:0x1e;let _0x56bebc=0x0,_0x9d3aab=0x0,_0x2d7eb5=0x0;_0x56bebc=_0x9d3aab=_0x2d7eb5=Math['min'](_0x4535a7,_0x4f319c/0x2,_0x53805f/0x2),_0x20f0f1[_0x2d38e0(0x2d2)](),_0x20f0f1[_0x2d38e0(0x2fe)](_0x56bebc,0x0),_0x20f0f1['lineTo'](_0x4f319c-_0x9d3aab,0x0),_0x20f0f1[_0x2d38e0(0x38e)](_0x4f319c-_0x9d3aab,_0x9d3aab,_0x9d3aab,Math['PI']*0x3/0x2,0x0,!0x1),_0x20f0f1[_0x2d38e0(0x342)](_0x4f319c,_0x53805f-_0x2d7eb5),_0x20f0f1['arc'](_0x4f319c-_0x2d7eb5,_0x53805f-_0x2d7eb5,_0x2d7eb5,0x0,Math['PI']/0x2,!0x1),_0x20f0f1['lineTo'](0x0,_0x53805f),_0x20f0f1[_0x2d38e0(0x342)](0x0,_0x56bebc),_0x20f0f1[_0x2d38e0(0x38e)](_0x56bebc,_0x56bebc,_0x56bebc,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x20f0f1[_0x2d38e0(0x23a)](),_0x245dd3[_0x2d38e0(0x43b)]&&(_0x20f0f1[_0x2d38e0(0x31b)](),_0x20f0f1[_0x2d38e0(0x2d3)]=_0x245dd3['fill'],_0x245dd3[_0x2d38e0(0x359)]===_0x2d38e0(0x21e)?_0x20f0f1['fill'](_0x2d38e0(0x21e)):_0x20f0f1[_0x2d38e0(0x43b)](),_0x20f0f1[_0x2d38e0(0x2d7)]());}class _0x51290c extends _0x2c2228[_0x449ba4(0x415)]{constructor(_0x5f0ab8,_0xd9748f){const _0x237a0b=_0x449ba4;super(_0x5f0ab8,_0xd9748f),_0xb1ba3a(this,_0x237a0b(0x23e)),_0xb1ba3a(this,_0x237a0b(0x34b)),(this[_0x237a0b(0x23e)]=_0xd9748f==null?void 0x0:_0xd9748f[_0x237a0b(0x23e)],this['text']=_0xd9748f==null?void 0x0:_0xd9748f[_0x237a0b(0x34b)]);}static['drawWith'](_0xd928db,_0x25b06c){const _0x1c7be0=_0x449ba4,{text:_0x37789a,color:_0x35e866}=_0x25b06c;_0xd928db[_0x1c7be0(0x31b)](),_0xd928db[_0x1c7be0(0x1c7)]=_0x1c7be0(0x25d);const _0x587fa8=_0xd928db['measureText'](_0x37789a)[_0x1c7be0(0x2a2)],_0x19cb1e=Math['min'](_0x587fa8+0x2*_0x184191,_0x26b89a);_0x1d8026(_0xd928db,{'height':_0x21c66f,'radius':0x4,'width':_0x19cb1e,'fill':_0x35e866}),_0xd928db[_0x1c7be0(0x2d3)]=_0x1c7be0(0x2be);const _0x13ee0e=_0x184191,_0xedc66=_0x21c66f-_0x55a9e1,_0x3aa9a1=_0x26b89a-0x2*_0x184191;if(_0x587fa8>_0x3aa9a1){let _0x591db7='',_0x4500e5=0x0;for(const _0x4cff56 of _0x37789a){const _0x9ccb6d=_0xd928db[_0x1c7be0(0x2f8)](_0x4cff56)[_0x1c7be0(0x2a2)];if(_0x4500e5+_0x9ccb6d<=_0x3aa9a1-_0xd928db['measureText'](_0x1c7be0(0x364))[_0x1c7be0(0x2a2)])_0x591db7+=_0x4cff56,_0x4500e5+=_0x9ccb6d;else{_0x591db7+=_0x1c7be0(0x364);break;}}_0xd928db[_0x1c7be0(0x2d4)](_0x591db7,_0x13ee0e,_0xedc66);}else _0xd928db[_0x1c7be0(0x2d4)](_0x37789a,_0x13ee0e,_0xedc66);_0xd928db['restore']();}[_0x449ba4(0x42b)](_0x1a9c78){const _0x14c197=_0x449ba4;_0x51290c[_0x14c197(0x453)](_0x1a9c78,this);}}const _0x5c7b6b='collab-text-anchor-',_0x2241a5='collab-text-range-',_0x13e03a=_0x449ba4(0x3e4),_0x104382=0x6,_0x194b59=1.5,_0x1d77e2=0x4,_0x22efe7=1.5,_0x1b3128='rgba(255,\x20255,\x20255,\x200.01)';class _0x1a0383{constructor(_0x3bb567,_0x3246ef,_0x5d26f5,_0x16ec5c){const _0x1b326b=_0x449ba4;_0xb1ba3a(this,_0x1b326b(0x289),[]),_0xb1ba3a(this,_0x1b326b(0x3b3),null),_0xb1ba3a(this,_0x1b326b(0x31a),null),_0xb1ba3a(this,_0x1b326b(0x43f),null),_0xb1ba3a(this,_0x1b326b(0x301),null),_0xb1ba3a(this,_0x1b326b(0x411),null),(this[_0x1b326b(0x3c1)]=_0x3bb567,this['_scene']=_0x3246ef,this[_0x1b326b(0x28c)]=_0x5d26f5,this[_0x1b326b(0x1b2)]=_0x16ec5c,this[_0x1b326b(0x2d1)]());}set[_0x449ba4(0x452)](_0x3f2917){const _0x54fc8c=_0x449ba4;_0x3f2917?(this['_anchorDot']&&this[_0x54fc8c(0x43f)]['hide'](),this[_0x54fc8c(0x31a)]&&this[_0x54fc8c(0x31a)][_0x54fc8c(0x36e)]()):(this[_0x54fc8c(0x43f)]&&this['_anchorDot'][_0x54fc8c(0x36e)](),this[_0x54fc8c(0x31a)]&&this[_0x54fc8c(0x31a)]['hide']());}[_0x449ba4(0x3d4)](){const _0x2fb17f=_0x449ba4;for(const _0x18ac60 of this['_shapes'])_0x18ac60[_0x2fb17f(0x3d4)]();this[_0x2fb17f(0x31a)]&&this[_0x2fb17f(0x31a)]['dispose'](),this[_0x2fb17f(0x43f)]&&this[_0x2fb17f(0x43f)][_0x2fb17f(0x3d4)](),this[_0x2fb17f(0x3b3)]&&this[_0x2fb17f(0x3b3)][_0x2fb17f(0x3d4)](),this[_0x2fb17f(0x411)]&&this[_0x2fb17f(0x411)]();}[_0x449ba4(0x2d1)](){const _0x453172=_0x449ba4;var _0x3608bb;const {_docSkeleton:_0x32dcd5,_document:_0x49d43b}=this,{color:_0x1d2327,name:_0x1af4ce,ranges:_0x408f8c}=this[_0x453172(0x3c1)],_0xf339d6=_0x49d43b[_0x453172(0x406)](),{docsLeft:_0x29f06e,docsTop:_0x2cb776}=_0xf339d6,_0x522eef=new _0xf7ba88['NodePositionConvertToCursor'](_0xf339d6,_0x32dcd5);for(const {startOffset:_0x59e2d4,endOffset:_0x58c425,rangeType:_0x6dd76,segmentId:_0x2ffe5d,segmentPage:_0x5af2fd,collapsed:_0x2c367a,isActive:_0x4e2ba7}of _0x408f8c){const _0x29ed45=_0x32dcd5[_0x453172(0x448)](_0x59e2d4,!0x0,_0x2ffe5d,_0x5af2fd);let _0x40854f=_0x32dcd5[_0x453172(0x448)](_0x58c425,!0x0,_0x2ffe5d,_0x5af2fd);if(_0x40854f==null&&(_0x40854f=_0x32dcd5[_0x453172(0x448)](_0x58c425-0x1,!0x1,_0x2ffe5d,_0x5af2fd)),_0x4e2ba7){const {contentBoxPointGroup:_0xe6da6e}=_0x522eef[_0x453172(0x1f5)](_0x40854f,_0x40854f);if(_0xe6da6e[_0x453172(0x3eb)]===0x0)continue;this[_0x453172(0x2e4)](_0x1d2327,_0xe6da6e,_0x29f06e,_0x2cb776,_0x1af4ce),this[_0x453172(0x411)]=this[_0x453172(0x1b5)]();}if(_0x29ed45&&_0x40854f){if(_0x6dd76===_0x4d81d1[_0x453172(0x1db)]['RECT']){const _0x2daae8=new _0xf7ba88['NodePositionConvertToRectRange'](_0xf339d6,_0x32dcd5),{pointGroup:_0xb3b942}=(_0x3608bb=_0x2daae8[_0x453172(0x1f5)](_0x29ed45,_0x40854f))!=null?_0x3608bb:{};if(_0xb3b942==null||_0xb3b942[_0x453172(0x3eb)]===0x0)continue;this['_drawRectRange'](_0x1d2327,_0xb3b942,_0x29f06e,_0x2cb776);}else{if(!_0x2c367a){const {borderBoxPointGroup:_0xc67a5d}=_0x522eef[_0x453172(0x1f5)](_0x29ed45,_0x40854f);if(_0xc67a5d[_0x453172(0x3eb)]===0x0)continue;this[_0x453172(0x392)](_0x1d2327,_0xc67a5d,_0x29f06e,_0x2cb776);}}}}}[_0x449ba4(0x2e4)](_0x51382e,_0x3dc76b,_0x459293,_0x162b30,_0x2e786d){const _0xa6d5f4=_0x449ba4,_0x5e1a69=this['_getAnchorBounding'](_0x3dc76b),{left:_0x2d8df3,top:_0x4a5646,height:_0x5db0c9}=_0x5e1a69,_0x3da785=this[_0xa6d5f4(0x306)](),_0x4da2fd=_0x22efe7/_0x3da785,_0x219d8a=new _0x2c2228[(_0xa6d5f4(0x25f))](_0x5c7b6b+_0x4d81d1[_0xa6d5f4(0x209)](_0x104382),{'left':_0x2d8df3+_0x459293-_0x4da2fd,'top':_0x4a5646+_0x162b30,'height':_0x5db0c9,'width':_0x194b59,'fill':_0x51382e||_0x2c2228[_0xa6d5f4(0x22b)](_0x4d81d1['COLORS'][_0xa6d5f4(0x226)],0x0),'strokeWidth':_0x4da2fd,'stroke':_0x1b3128,'evented':!0x0});this[_0xa6d5f4(0x3b3)]=_0x219d8a,this[_0xa6d5f4(0x268)][_0xa6d5f4(0x2cb)](_0x219d8a,_0xf7ba88[_0xa6d5f4(0x3f7)]);const _0x239111=new _0x2c2228['Rect'](_0x5c7b6b+_0x4d81d1[_0xa6d5f4(0x209)](_0x104382),{'left':_0x2d8df3+_0x459293-_0x4da2fd,'top':_0x4a5646+_0x162b30-_0x1d77e2/0x2,'height':_0x1d77e2,'width':_0x1d77e2,'fill':_0x51382e||_0x2c2228[_0xa6d5f4(0x22b)](_0x4d81d1[_0xa6d5f4(0x2c1)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x51382e||_0x2c2228['getColor'](_0x4d81d1[_0xa6d5f4(0x2c1)]['black'],0x0),'evented':!0x1});this[_0xa6d5f4(0x43f)]=_0x239111,this[_0xa6d5f4(0x268)][_0xa6d5f4(0x2cb)](_0x239111,_0xf7ba88[_0xa6d5f4(0x3f7)]);const _0x2ab9b1=new _0x51290c(_0x5c7b6b+_0x4d81d1[_0xa6d5f4(0x209)](_0x104382),{'left':_0x2d8df3+_0x459293-_0x4da2fd,'top':_0x4a5646+_0x162b30-_0x21c66f,'text':_0x2e786d,'color':_0x51382e});this[_0xa6d5f4(0x31a)]=_0x2ab9b1,this['_scene']['addObject'](_0x2ab9b1,_0xf7ba88[_0xa6d5f4(0x3f7)]),this[_0xa6d5f4(0x452)]=!0x1;}[_0x449ba4(0x1b5)](){const _0x594960=_0x449ba4,_0xfb9b9a=this[_0x594960(0x3b3)]['onPointerEnter$']['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x76d01f=this[_0x594960(0x3b3)]['onPointerLeave$'][_0x594960(0x2b1)](()=>{const _0x1793d2=_0x594960;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x1793d2(0x301)]=setTimeout(()=>{const _0x4d79bd=_0x1793d2;this[_0x4d79bd(0x452)]=!0x1;},0x7d0);});return()=>{const _0xbfccd1=_0x594960;_0xfb9b9a['unsubscribe'](),_0x76d01f[_0xbfccd1(0x2cd)]();};}[_0x449ba4(0x392)](_0x5f053b,_0x171cc3,_0x13429c,_0x16d38e){const _0x176b55=_0x449ba4,_0x3f8679=new _0x4d81d1[(_0x176b55(0x2cc))](_0x5f053b)['setAlpha'](0.2)['toRgbString'](),_0x1db524=new _0x2c2228[(_0x176b55(0x20d))](_0x2241a5+_0x4d81d1['generateRandomId'](_0x104382),{'pointsGroup':_0x171cc3,'fill':_0x3f8679||_0x2c2228[_0x176b55(0x22b)](_0x4d81d1[_0x176b55(0x2c1)][_0x176b55(0x226)],0.2),'left':_0x13429c,'top':_0x16d38e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x176b55(0x289)][_0x176b55(0x2d6)](_0x1db524),this['_scene'][_0x176b55(0x2cb)](_0x1db524,_0xf7ba88[_0x176b55(0x3f7)]);}['_drawRectRange'](_0x56c436,_0x497817,_0x5014dd,_0x453851){const _0x3931f2=_0x449ba4,_0x320d8=new _0x4d81d1['ColorKit'](_0x56c436)[_0x3931f2(0x238)](0.2)['toRgbString'](),_0xc414a6=new _0x2c2228[(_0x3931f2(0x20d))](_0x13e03a+_0x4d81d1['generateRandomId'](_0x104382),{'pointsGroup':_0x497817,'fill':_0x320d8||_0x2c2228[_0x3931f2(0x22b)](_0x4d81d1['COLORS'][_0x3931f2(0x226)],0.2),'left':_0x5014dd,'top':_0x453851,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3931f2(0x289)][_0x3931f2(0x2d6)](_0xc414a6),this[_0x3931f2(0x268)][_0x3931f2(0x2cb)](_0xc414a6,_0xf7ba88[_0x3931f2(0x3f7)]);}['_getAnchorBounding'](_0x4cf446){const _0x5b0695=_0x4cf446[0x0],_0x37927b=_0x5b0695[0x0],_0x45bf7e=_0x5b0695[0x2],{x:_0x45b798,y:_0xade55d}=_0x37927b,{x:_0x3ca2c8,y:_0xce0006}=_0x45bf7e;return{'left':_0x45b798,'top':_0xade55d,'width':_0x3ca2c8-_0x45b798,'height':_0xce0006-_0xade55d};}[_0x449ba4(0x306)](){const _0x1d543e=_0x449ba4,{scaleX:_0x1d8d58,scaleY:_0x413bbd}=this[_0x1d543e(0x268)][_0x1d543e(0x29a)]();return Math[_0x1d543e(0x34c)](_0x1d8d58,_0x413bbd);}}var _0x4712d6=Object[_0x449ba4(0x1d2)],_0x2dd853=(_0x4a241c,_0x499fc4,_0x373c8f,_0x136f7e)=>{const _0x2954eb=_0x449ba4;for(var _0x43af02=_0x136f7e>0x1?void 0x0:_0x136f7e?_0x4712d6(_0x499fc4,_0x373c8f):_0x499fc4,_0x4851e4=_0x4a241c[_0x2954eb(0x3eb)]-0x1,_0x51c6da;_0x4851e4>=0x0;_0x4851e4--)(_0x51c6da=_0x4a241c[_0x4851e4])&&(_0x43af02=_0x51c6da(_0x43af02)||_0x43af02);return _0x43af02;},_0x264517=(_0x18ed68,_0x3a0c5a)=>(_0x252414,_0xf6fe04)=>_0x3a0c5a(_0x252414,_0xf6fe04,_0x18ed68);let _0x4c48c2=class extends _0x4d81d1[_0x449ba4(0x253)]{constructor(_0x52fd64,_0x40d939,_0x1d844f,_0x248146,_0x54f513){const _0x593338=_0x449ba4;super(),_0xb1ba3a(this,'_cursorShapes',[]),_0xb1ba3a(this,_0x593338(0x36f),[]),(this['_context']=_0x52fd64,this[_0x593338(0x244)]=_0x40d939,this['_collabCursorController']=_0x1d844f,this[_0x593338(0x3c7)]=_0x248146,this['_themeService']=_0x54f513,this[_0x593338(0x382)]());}[_0x449ba4(0x382)](){const _0x5e8ed7=_0x449ba4,_0x47efd6=this['_context'][_0x5e8ed7(0x398)],_0x363c73=this[_0x5e8ed7(0x244)];this[_0x5e8ed7(0x30e)](_0x2af810['combineLatest']([this['_collabCursorController'][_0x5e8ed7(0x297)](_0x47efd6),this[_0x5e8ed7(0x270)][_0x5e8ed7(0x33c)]])['pipe'](_0x54dd64[_0x5e8ed7(0x413)](([_0x1b2165,_0x4f44e0])=>({'skeleton':_0x363c73['getSkeleton'](),'cursors':[..._0x1b2165[_0x5e8ed7(0x323)]()][_0x5e8ed7(0x32e)](_0x518ccb=>({..._0x518ccb,'color':this[_0x5e8ed7(0x270)][_0x5e8ed7(0x2f9)](_0x518ccb['color'])}))})))[_0x5e8ed7(0x3e8)](_0x2f9b13=>{const _0x12ecd4=_0x5e8ed7;if(this[_0x12ecd4(0x37c)](),_0x2f9b13){const {skeleton:_0x54c467,cursors:_0x57e5a7}=_0x2f9b13;this['_updateCollabCursors'](_0x54c467,_0x57e5a7);}})),this[_0x5e8ed7(0x449)](),this[_0x5e8ed7(0x23b)]();}['_updateCollabCursors'](_0x5d79a6,_0x585935){const _0x571cc7=_0x449ba4,{scene:_0x40febe,mainComponent:_0x1dd620}=this[_0x571cc7(0x3d0)],_0x15b9d1=_0x585935[_0x571cc7(0x413)](_0x4bf7c7=>new _0x1a0383(_0x4bf7c7,_0x40febe,_0x5d79a6,_0x1dd620));this[_0x571cc7(0x2ee)]=_0x15b9d1,this[_0x571cc7(0x36f)]=_0x585935;}[_0x449ba4(0x20b)](){const _0x3741c4=_0x449ba4;this[_0x3741c4(0x37c)]();const {scene:_0x42ab23,mainComponent:_0x4e7039}=this[_0x3741c4(0x3d0)],_0x15b75e=this[_0x3741c4(0x244)][_0x3741c4(0x394)](),_0x6ddb9c=this['_cursors']['map'](_0x5397a9=>new _0x1a0383(_0x5397a9,_0x42ab23,_0x15b75e,_0x4e7039));this[_0x3741c4(0x2ee)]=_0x6ddb9c;}['_removeCollabCursors'](){const _0x226c3f=_0x449ba4;this[_0x226c3f(0x2ee)]['forEach'](_0x47e3ae=>_0x47e3ae['dispose']()),this[_0x226c3f(0x2ee)]=[];}[_0x449ba4(0x23b)](){const _0x1ced8a=_0x449ba4,_0x4e51d4=[_0xf7ba88['SetDocZoomRatioOperation']['id']];this[_0x1ced8a(0x30e)](this[_0x1ced8a(0x3c7)][_0x1ced8a(0x329)](_0x2b1064=>{const _0xcc45c8=_0x1ced8a;_0x4e51d4['includes'](_0x2b1064['id'])&&_0x2b1064[_0xcc45c8(0x2a5)][_0xcc45c8(0x398)]===this['_context'][_0xcc45c8(0x398)]&&this[_0xcc45c8(0x20b)]();}));}['_initResize'](){const _0x2037e7=_0x449ba4;this[_0x2037e7(0x30e)](_0x4d81d1[_0x2037e7(0x405)](this[_0x2037e7(0x3d0)][_0x2037e7(0x1ce)][_0x2037e7(0x21c)])[_0x2037e7(0x3b1)](_0x54dd64['filter'](_0x22943b=>_0x22943b[_0x2037e7(0x353)]===_0x2c2228[_0x2037e7(0x310)][_0x2037e7(0x3d5)]),_0x54dd64[_0x2037e7(0x225)](0x10))[_0x2037e7(0x3e8)](()=>{const _0x59b788=_0x2037e7;this[_0x59b788(0x20b)]();}));}};_0x4c48c2=_0x2dd853([_0x264517(0x1,_0x4d81d1[_0x449ba4(0x1e6)](_0x3422c5[_0x449ba4(0x349)])),_0x264517(0x2,_0x4d81d1[_0x449ba4(0x1e6)](_0x5f01b6)),_0x264517(0x3,_0x4d81d1[_0x449ba4(0x1c2)]),_0x264517(0x4,_0x4d81d1[_0x449ba4(0x1e6)](_0x4d81d1[_0x449ba4(0x208)]))],_0x4c48c2);const _0x15db92=0x1,_0x5927ac=1.5;class _0x414759 extends _0x2c2228[_0x449ba4(0x415)]{constructor(_0x5a3415,_0x480a28){const _0x53708b=_0x449ba4;super(_0x5a3415,_0x480a28),_0xb1ba3a(this,_0x53708b(0x3e1)),_0xb1ba3a(this,_0x53708b(0x435),!0x1),_0xb1ba3a(this,'_range'),_0xb1ba3a(this,_0x53708b(0x29f),''),_0xb1ba3a(this,_0x53708b(0x3f2),_0x53708b(0x2a9)),_0xb1ba3a(this,_0x53708b(0x42d)),(_0x480a28&&this[_0x53708b(0x3c3)](_0x480a28),this['onPointerEnter$'][_0x53708b(0x2b1)](()=>this[_0x53708b(0x3c3)]({'hovered':!0x0})),this[_0x53708b(0x227)][_0x53708b(0x2b1)](()=>this[_0x53708b(0x3c3)]({'hovered':!0x1})));}[_0x449ba4(0x3c3)](_0x3b8c96){const _0x13502f=_0x449ba4;var _0x2b9c2a,_0x4aff76,_0xd45884,_0x374887,_0x5700d8,_0x4440b6;this['_color']=(_0x2b9c2a=_0x3b8c96[_0x13502f(0x23e)])!=null?_0x2b9c2a:this[_0x13502f(0x3e1)],this['_hovered']=(_0x4aff76=_0x3b8c96[_0x13502f(0x402)])!=null?_0x4aff76:this[_0x13502f(0x435)],this[_0x13502f(0x1dc)]=(_0xd45884=_0x3b8c96[_0x13502f(0x2d8)])!=null?_0xd45884:this[_0x13502f(0x1dc)],this[_0x13502f(0x29f)]=(_0x374887=_0x3b8c96[_0x13502f(0x1d1)])!=null?_0x374887:this[_0x13502f(0x29f)],this['_labelPosition']=(_0x5700d8=_0x3b8c96[_0x13502f(0x210)])!=null?_0x5700d8:this['_labelPosition'],this['_backgroundColor']=(_0x4440b6=_0x3b8c96[_0x13502f(0x20e)])!=null?_0x4440b6:this['_backgroundColor'],this['transformByState']({'width':_0x3b8c96[_0x13502f(0x2a2)],'height':_0x3b8c96[_0x13502f(0x396)]});}[_0x449ba4(0x1cd)](_0x1b3c69){const _0x31b388=_0x449ba4,{row:_0x72e170,column:_0x26f648}=_0x1b3c69;if(_0x72e170>=this['_range'][_0x31b388(0x2b3)]&&_0x72e170<=this[_0x31b388(0x1dc)]['endRow']&&_0x26f648>=this[_0x31b388(0x1dc)][_0x31b388(0x23c)]&&_0x26f648<=this['_range'][_0x31b388(0x438)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x449ba4(0x3f3)](_0x44fe3c){return!0x1;}['_draw'](_0x56dc61){const _0x4897b4=_0x449ba4;_0x2c2228['Rect'][_0x4897b4(0x453)](_0x56dc61,{'width':this[_0x4897b4(0x2a2)],'height':this['height'],'strokeWidth':_0x5927ac,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x4897b4(0x42d)]}),this[_0x4897b4(0x435)]&&(_0x56dc61['save'](),_0x56dc61[_0x4897b4(0x400)](0x1,0x0,0x0,0x1,this[_0x4897b4(0x2a2)],this[_0x4897b4(0x3f2)]===_0x4897b4(0x280)?0x0:-_0x21c66f),_0x51290c['drawWith'](_0x56dc61,{'text':this['_name'],'color':this['_color']}),_0x56dc61['restore']());}}var _0x4179e8=Object[_0x449ba4(0x1d2)],_0x1f11f3=(_0x214961,_0x37a389,_0xf022e0,_0x2d8bfb)=>{const _0xc29053=_0x449ba4;for(var _0x5b6b7a=_0x2d8bfb>0x1?void 0x0:_0x2d8bfb?_0x4179e8(_0x37a389,_0xf022e0):_0x37a389,_0x234324=_0x214961[_0xc29053(0x3eb)]-0x1,_0x238786;_0x234324>=0x0;_0x234324--)(_0x238786=_0x214961[_0x234324])&&(_0x5b6b7a=_0x238786(_0x5b6b7a)||_0x5b6b7a);return _0x5b6b7a;},_0x144ecd=(_0x45a092,_0x3cbbf7)=>(_0x5e41ad,_0x154658)=>_0x3cbbf7(_0x5e41ad,_0x154658,_0x45a092);const _0x48ef02=0x1389;let _0x3cc75d=class extends _0x4d81d1[_0x449ba4(0x253)]{constructor(_0x187ab6,_0x51d6a2,_0xd91d1b,_0x5a3cfd){const _0x57bb00=_0x449ba4;super(),_0xb1ba3a(this,'_cursors',new Set()),_0xb1ba3a(this,_0x57bb00(0x2b7),null),(this[_0x57bb00(0x3d0)]=_0x187ab6,this['_sheetSkeletonManagerService']=_0x51d6a2,this[_0x57bb00(0x354)]=_0xd91d1b,this[_0x57bb00(0x270)]=_0x5a3cfd,this[_0x57bb00(0x382)]());}[_0x449ba4(0x382)](){const _0x22ee6e=_0x449ba4;this[_0x22ee6e(0x36b)][_0x22ee6e(0x2fb)][_0x22ee6e(0x3b1)](_0x54dd64[_0x22ee6e(0x335)](this[_0x22ee6e(0x369)]),_0x54dd64[_0x22ee6e(0x24a)](_0x4715c2=>{const _0x28f121=_0x22ee6e;if(_0x4715c2){const _0x4e09a3=_0x4715c2[_0x28f121(0x2af)];return _0x2af810[_0x28f121(0x37e)](this[_0x28f121(0x354)][_0x28f121(0x297)](this[_0x28f121(0x3d0)][_0x28f121(0x398)]),this['_themeService'][_0x28f121(0x33c)])[_0x28f121(0x3b1)](_0x54dd64['map'](([_0x227e5a,_0x380d22])=>{const _0x306974=new Map();return _0x227e5a['forEach']((_0x1120f3,_0x391e17)=>{const _0xcc2af6=_0x94a3;if(_0x1120f3[_0xcc2af6(0x386)]===_0x4e09a3){const _0x4f91a5={..._0x1120f3};_0x4f91a5['color']=this[_0xcc2af6(0x270)]['getColorFromTheme'](_0x1120f3[_0xcc2af6(0x23e)]),_0x306974[_0xcc2af6(0x34d)](_0x391e17,_0x4f91a5);}}),{'skeleton':_0x4715c2,'cursors':_0x306974};}));}return _0x2af810['of']({'skeleton':null,'cursors':new Map()});}))[_0x22ee6e(0x3e8)](({skeleton:_0xbb8d8,cursors:_0x5d97ff})=>{const _0x513eee=_0x22ee6e;this[_0x513eee(0x37c)](),_0xbb8d8&&this['_updateCollabCursors'](_0xbb8d8,_0x5d97ff);}),this['_sheetSkeletonManagerService'][_0x22ee6e(0x2fb)][_0x22ee6e(0x3e8)](_0xaf8d4a=>{const _0x33fce1=_0x22ee6e;if(_0xaf8d4a==null)return;const {skeleton:_0x429ded}=_0xaf8d4a,{scene:_0x5c50f2}=this['_context'];_0x5c50f2[_0x33fce1(0x40a)][_0x33fce1(0x2b1)](_0x4d81d1['debounce'](_0x410e53=>{const _0x150818=_0x33fce1;var _0x873b0c,_0xa45ecd;const {offsetX:_0x316c9b,offsetY:_0x4be86b}=_0x410e53,{x:_0x4a4c22,y:_0x1a6d5e}=_0x5c50f2['getRelativeToViewportCoord'](_0x2c2228['Vector2'][_0x150818(0x2ef)]([_0x316c9b,_0x4be86b])),{scaleX:_0xf6925b,scaleY:_0x2e245e}=_0x5c50f2[_0x150818(0x29a)](),_0x39edbc=_0x5c50f2[_0x150818(0x450)](_0x2c2228[_0x150818(0x25a)][_0x150818(0x27c)]),_0x8aeb08=_0x5c50f2[_0x150818(0x379)](_0x2c2228[_0x150818(0x2fa)]['FromArray']([_0x4a4c22,_0x1a6d5e]),_0x39edbc),_0xf19f19=_0x429ded['getCellPositionByOffset'](_0x316c9b,_0x4be86b,_0xf6925b,_0x2e245e,_0x8aeb08);((_0x873b0c=this[_0x150818(0x2b7)])==null?void 0x0:_0x873b0c[_0x150818(0x360)])===_0xf19f19[_0x150818(0x360)]&&((_0xa45ecd=this[_0x150818(0x2b7)])==null?void 0x0:_0xa45ecd[_0x150818(0x3ec)])===_0xf19f19['row']||this[_0x150818(0x36f)][_0x150818(0x27b)](_0x279a73=>{_0x279a73['onMouseMove'](_0xf19f19);});},0x64));});}[_0x449ba4(0x35d)](_0x8e43ff,_0x4ba72b){const _0x4628e5=_0x449ba4;var _0x3cf985;const _0x5e3623=(_0x3cf985=this['_sheetSkeletonManagerService'][_0x4628e5(0x1fc)]())==null?void 0x0:_0x3cf985[_0x4628e5(0x233)];if(!_0x5e3623)return;const _0x1322c6=this[_0x4628e5(0x375)]();if(!_0x1322c6)return;this[_0x4628e5(0x36f)][_0x4628e5(0x27b)](_0x25159c=>{_0x25159c['makeDirty']();});const {scene:_0x475f23}=_0x1322c6,_0x3e5018=_0x437e7e(Array[_0x4628e5(0x32c)](_0x4ba72b[_0x4628e5(0x323)]()))[_0x4628e5(0x413)](_0x49232c=>{const _0x4d8286=_0x4628e5,{color:_0x5601da,range:_0x2ea4fd,name:_0x5364e5,selection:_0x55238e,sheetID:_0x4a80e5}=_0x49232c,{startColumn:_0x58cf04,startRow:_0x22a2d4,endColumn:_0x4b2ed5,endRow:_0x1397b1}=_0x2ea4fd,_0x5ab171=_0x5d8437[_0x4d8286(0x3ad)](_0x22a2d4,_0x58cf04,_0x475f23,_0x5e3623),_0x2398d5=_0x5d8437[_0x4d8286(0x3ad)](_0x1397b1,_0x4b2ed5,_0x475f23,_0x5e3623),{columnHeaderHeightAndMarginTop:_0x3d221b}=_0x5e3623,{startX:_0x5ef07b,startY:_0x5b6e22}=_0x5ab171,{endX:_0x1817e1,endY:_0x4599b9}=_0x2398d5,_0x42519a=_0x1817e1-_0x5ef07b,_0x29402a=_0x4599b9-_0x5b6e22,_0x5b4a39={'labelPosition':_0x5b6e22-_0x3d221b>=_0x21c66f?_0x4d8286(0x2a9):_0x4d8286(0x280),'sheetID':_0x4a80e5,'range':_0x2ea4fd,'color':_0x5601da,'name':_0x5364e5,'selection':_0x55238e,'left':_0x5ef07b,'top':_0x5b6e22,'width':_0x42519a,'height':_0x29402a,'evented':!0x1,'zIndex':_0x48ef02};return new _0x414759(_0x5364e5,_0x5b4a39);});_0x475f23[_0x4628e5(0x1f0)](_0x3e5018,_0x15db92),this[_0x4628e5(0x36f)]=new Set(_0x3e5018);}[_0x449ba4(0x37c)](){const _0x58380d=_0x449ba4;var _0x45373e;(_0x45373e=this[_0x58380d(0x36f)])==null||_0x45373e[_0x58380d(0x27b)](_0x353b8c=>_0x353b8c[_0x58380d(0x3d4)]());}['_getSheetObject'](){const _0x57740d=_0x449ba4;return _0x5d8437['getSheetObject'](this[_0x57740d(0x3d0)][_0x57740d(0x3c6)],this['_context']);}};_0x3cc75d=_0x1f11f3([_0x144ecd(0x1,_0x4d81d1['Inject'](_0x5d8437[_0x449ba4(0x2c5)])),_0x144ecd(0x2,_0x4d81d1['Inject'](_0x5f01b6)),_0x144ecd(0x3,_0x4d81d1[_0x449ba4(0x1e6)](_0x4d81d1[_0x449ba4(0x208)]))],_0x3cc75d);function _0x437e7e(_0x49bb46){const _0x5c467a=_0x449ba4,_0x3279a1=new Map();return _0x49bb46[_0x5c467a(0x27b)](_0x314ab9=>{const _0x1ede2a=_0x5c467a;if(_0x3279a1[_0x1ede2a(0x3fc)](_0x314ab9[_0x1ede2a(0x3c4)])){const _0x47a63c=_0x3279a1['get'](_0x314ab9['selection']);_0x47a63c[_0x1ede2a(0x1d1)]+=',\x20'+_0x314ab9['name'];}else _0x3279a1['set'](_0x314ab9[_0x1ede2a(0x3c4)],_0x314ab9);}),Array[_0x5c467a(0x32c)](_0x3279a1[_0x5c467a(0x323)]());}var _0x1b1b01=function(){const _0x2bf94a=_0x449ba4;return _0x1b1b01=Object[_0x2bf94a(0x3e6)]||function(_0x1e9905){const _0x1770ef=_0x2bf94a;for(var _0x1e1b2a,_0x76f2e9=0x1,_0x200cba=arguments[_0x1770ef(0x3eb)];_0x76f2e9<_0x200cba;_0x76f2e9++){_0x1e1b2a=arguments[_0x76f2e9];for(var _0x571324 in _0x1e1b2a)Object['prototype'][_0x1770ef(0x424)][_0x1770ef(0x211)](_0x1e1b2a,_0x571324)&&(_0x1e9905[_0x571324]=_0x1e1b2a[_0x571324]);}return _0x1e9905;},_0x1b1b01[_0x2bf94a(0x3b5)](this,arguments);},_0x46653b=function(_0x35b3c1,_0x5d138b){const _0x4fbad4=_0x449ba4;var _0x355428={};for(var _0x5e0efe in _0x35b3c1)Object[_0x4fbad4(0x363)][_0x4fbad4(0x424)][_0x4fbad4(0x211)](_0x35b3c1,_0x5e0efe)&&_0x5d138b[_0x4fbad4(0x443)](_0x5e0efe)<0x0&&(_0x355428[_0x5e0efe]=_0x35b3c1[_0x5e0efe]);if(_0x35b3c1!=null&&typeof Object[_0x4fbad4(0x42f)]=='function'){for(var _0x5d1d1f=0x0,_0x5e0efe=Object['getOwnPropertySymbols'](_0x35b3c1);_0x5d1d1f<_0x5e0efe[_0x4fbad4(0x3eb)];_0x5d1d1f++)_0x5d138b[_0x4fbad4(0x443)](_0x5e0efe[_0x5d1d1f])<0x0&&Object['prototype'][_0x4fbad4(0x3f6)][_0x4fbad4(0x211)](_0x35b3c1,_0x5e0efe[_0x5d1d1f])&&(_0x355428[_0x5e0efe[_0x5d1d1f]]=_0x35b3c1[_0x5e0efe[_0x5d1d1f]]);}return _0x355428;},_0x55c776=_0x3174a9[_0x449ba4(0x267)](function(_0x4adea2,_0x6f280){const _0xf4d3f1=_0x449ba4;var _0x165d50=_0x4adea2[_0xf4d3f1(0x3ed)],_0x33017f=_0x4adea2['id'],_0x544f97=_0x4adea2['className'],_0x2d37a1=_0x4adea2['extend'],_0x38bcfe=_0x46653b(_0x4adea2,[_0xf4d3f1(0x3ed),'id',_0xf4d3f1(0x42c),'extend']),_0x2f110b=_0xf4d3f1(0x41d)[_0xf4d3f1(0x419)](_0x33017f,'\x20')[_0xf4d3f1(0x419)](_0x544f97||'')[_0xf4d3f1(0x38a)](),_0x29119c=_0x3174a9['useRef']('_'[_0xf4d3f1(0x419)](_0x326236()));return _0x1657e6(_0x165d50,''['concat'](_0x33017f),{'defIds':_0x165d50['defIds'],'idSuffix':_0x29119c[_0xf4d3f1(0x1b4)]},_0x1b1b01({'ref':_0x6f280,'className':_0x2f110b},_0x38bcfe),_0x2d37a1);});function _0x1657e6(_0x36614a,_0x254411,_0x54b297,_0x3ae5f9,_0x203f71){const _0x452237=_0x449ba4;return _0x3174a9[_0x452237(0x3df)](_0x36614a[_0x452237(0x380)],_0x1b1b01(_0x1b1b01({'key':_0x254411},_0x3fd6a6(_0x36614a,_0x54b297,_0x203f71)),_0x3ae5f9),(_0x5e5602(_0x36614a,_0x54b297)['children']||[])[_0x452237(0x413)](function(_0x4c9a04,_0x55d490){const _0x1f890d=_0x452237;return _0x1657e6(_0x4c9a04,''[_0x1f890d(0x419)](_0x254411,'-')[_0x1f890d(0x419)](_0x36614a[_0x1f890d(0x380)],'-')[_0x1f890d(0x419)](_0x55d490),_0x54b297,void 0x0,_0x203f71);}));}function _0x3fd6a6(_0x455200,_0xfb7f41,_0x5a8207){const _0x589363=_0x449ba4;var _0x40273b=_0x1b1b01({},_0x455200['attrs']);_0x5a8207!=null&&_0x5a8207[_0x589363(0x3fd)]&&_0x40273b[_0x589363(0x43b)]==='colorChannel1'&&(_0x40273b[_0x589363(0x43b)]=_0x5a8207[_0x589363(0x3fd)]),_0x455200['tag']===_0x589363(0x290)&&_0x40273b['id']&&(_0x40273b['id']=_0x40273b['id']+_0xfb7f41[_0x589363(0x261)]),Object[_0x589363(0x2f0)](_0x40273b)[_0x589363(0x27b)](function(_0x4edbd7){const _0x1eabbb=_0x589363;var _0x27ee17=_0x4edbd7[0x0],_0x114931=_0x4edbd7[0x1];_0x27ee17==='mask'&&typeof _0x114931==_0x1eabbb(0x260)&&(_0x40273b[_0x27ee17]=_0x114931[_0x1eabbb(0x255)](/url\(#(.*)\)/,'url(#$1'['concat'](_0xfb7f41[_0x1eabbb(0x261)],')')));});var _0x2c31ff=_0xfb7f41['defIds'];return!_0x2c31ff||_0x2c31ff[_0x589363(0x3eb)]===0x0||(_0x455200['tag']===_0x589363(0x220)&&_0x40273b[_0x589363(0x28a)]&&(_0x40273b[_0x589363(0x28a)]=_0x40273b[_0x589363(0x28a)]+_0xfb7f41[_0x589363(0x261)]),Object[_0x589363(0x2f0)](_0x40273b)['forEach'](function(_0x277966){const _0x5efe77=_0x589363;var _0x5e4da6=_0x277966[0x0],_0x2c7d6b=_0x277966[0x1];typeof _0x2c7d6b=='string'&&(_0x40273b[_0x5e4da6]=_0x2c7d6b[_0x5efe77(0x255)](/url\(#(.*)\)/,_0x5efe77(0x3c0)[_0x5efe77(0x419)](_0xfb7f41[_0x5efe77(0x261)],')')));})),_0x40273b;}function _0x5e5602(_0x4d339e,_0x1cbdd3){const _0x1efd22=_0x449ba4;var _0x23a70a,_0x1aa64c=_0x1cbdd3[_0x1efd22(0x3e9)];return!_0x1aa64c||_0x1aa64c['length']===0x0?_0x4d339e:_0x4d339e[_0x1efd22(0x380)]==='defs'&&(!((_0x23a70a=_0x4d339e[_0x1efd22(0x293)])===null||_0x23a70a===void 0x0)&&_0x23a70a[_0x1efd22(0x3eb)])?_0x1b1b01(_0x1b1b01({},_0x4d339e),{'children':_0x4d339e['children'][_0x1efd22(0x413)](function(_0x2ff3e0){const _0x1a4746=_0x1efd22;return typeof _0x2ff3e0[_0x1a4746(0x2d9)]['id']=='string'&&_0x1aa64c&&_0x1aa64c[_0x1a4746(0x1e1)](_0x2ff3e0['attrs']['id'])?_0x1b1b01(_0x1b1b01({},_0x2ff3e0),{'attrs':_0x1b1b01(_0x1b1b01({},_0x2ff3e0[_0x1a4746(0x2d9)]),{'id':_0x2ff3e0['attrs']['id']+_0x1cbdd3[_0x1a4746(0x261)]})}):_0x2ff3e0;})}):_0x4d339e;}function _0x326236(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}_0x55c776[_0x449ba4(0x332)]=_0x449ba4(0x347);var _0x2d7078={'tag':'svg','attrs':{'xmlns':_0x449ba4(0x2eb),'fill':_0x449ba4(0x1ee),'viewBox':_0x449ba4(0x31c),'width':_0x449ba4(0x234),'height':_0x449ba4(0x234)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x449ba4(0x410),'attrs':{'stroke':_0x449ba4(0x29e),'d':_0x449ba4(0x3d6),'strokeLinecap':_0x449ba4(0x38d),'strokeLinejoin':_0x449ba4(0x38d),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x449ba4(0x2da),'attrs':{'id':_0x449ba4(0x1bc)},'children':[{'tag':_0x449ba4(0x410),'attrs':{'fill':_0x449ba4(0x325),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x1a9991=_0x3174a9['forwardRef'](function(_0x27fd97,_0x323538){const _0x2ccd4b=_0x449ba4;return _0x3174a9[_0x2ccd4b(0x3df)](_0x55c776,Object[_0x2ccd4b(0x3e6)]({},_0x27fd97,{'id':_0x2ccd4b(0x3ef),'ref':_0x323538,'icon':_0x2d7078}));});_0x1a9991[_0x449ba4(0x332)]=_0x449ba4(0x1da);var _0x3c67b6={'tag':_0x449ba4(0x3cb),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x449ba4(0x1ee),'viewBox':_0x449ba4(0x26b),'width':_0x449ba4(0x234),'height':_0x449ba4(0x234)},'children':[{'tag':'g','attrs':{'clipPath':_0x449ba4(0x3a9)},'children':[{'tag':_0x449ba4(0x410),'attrs':{'stroke':_0x449ba4(0x29e),'d':_0x449ba4(0x319),'strokeLinecap':_0x449ba4(0x38d),'strokeLinejoin':_0x449ba4(0x38d),'strokeWidth':1.2}}]},{'tag':_0x449ba4(0x269),'attrs':{},'children':[{'tag':_0x449ba4(0x2da),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x449ba4(0x410),'attrs':{'fill':_0x449ba4(0x325),'d':_0x449ba4(0x1b8),'transform':_0x449ba4(0x2dc)}}]}]}],'defIds':[_0x449ba4(0x1d0)]},_0xa71daf=_0x3174a9['forwardRef'](function(_0x85506f,_0x18d1e3){const _0x2be614=_0x449ba4;return _0x3174a9[_0x2be614(0x3df)](_0x55c776,Object[_0x2be614(0x3e6)]({},_0x85506f,{'id':_0x2be614(0x357),'ref':_0x18d1e3,'icon':_0x3c67b6}));});_0xa71daf[_0x449ba4(0x332)]=_0x449ba4(0x224);function _0x5dbe16(_0x326b84){const _0x3f9e4b=_0x449ba4;switch(_0x326b84){case _0x7e6ef6[_0x3f9e4b(0x281)][_0x3f9e4b(0x345)]:return _0x3f9e4b(0x296);case _0x7e6ef6[_0x3f9e4b(0x281)][_0x3f9e4b(0x352)]:return _0x3f9e4b(0x2f6);case _0x7e6ef6[_0x3f9e4b(0x281)][_0x3f9e4b(0x273)]:return _0x3f9e4b(0x2e5);case _0x7e6ef6[_0x3f9e4b(0x281)][_0x3f9e4b(0x368)]:return'collabStatus.notCollab';case _0x7e6ef6[_0x3f9e4b(0x281)][_0x3f9e4b(0x37f)]:case _0x7e6ef6[_0x3f9e4b(0x281)][_0x3f9e4b(0x215)]:return'collabStatus.syncing';case _0x7e6ef6[_0x3f9e4b(0x281)]['SYNCED']:case _0x7e6ef6[_0x3f9e4b(0x281)][_0x3f9e4b(0x275)]:return _0x3f9e4b(0x249);}}function _0x1d0066(_0x168410){const _0x5cd0df=_0x449ba4,{status$:_0x3cd5a3}=_0x168410,_0x35fd67=_0x2a4dd8[_0x5cd0df(0x41e)](_0x3cd5a3,_0x7e6ef6[_0x5cd0df(0x281)][_0x5cd0df(0x368)]),_0x4003b5=_0x2a4dd8['useDependency'](_0x4d81d1['LocaleService']),_0x5c4948=_0x2a4dd8[_0x5cd0df(0x337)](_0x7e6ef6[_0x5cd0df(0x26c)]),_0x1f10f0=_0x35fd67!==_0x7e6ef6[_0x5cd0df(0x281)][_0x5cd0df(0x345)],_0x508db3=_0x4003b5['t'](_0x5dbe16(_0x35fd67)),_0x231a0d=_0x1f10f0?_0x5c0380[_0x5cd0df(0x41a)](_0xa71daf,{}):_0x5c0380[_0x5cd0df(0x41a)](_0x1a9991,{}),_0x2912b4=_0x3174a9['useCallback'](()=>{_0x1f10f0||_0x5c4948['reconnect']();},[_0x1f10f0,_0x5c4948]);function _0x27cbed(){const _0x17fd4b=_0x5cd0df;return _0x5c0380['jsxs'](_0x17fd4b(0x320),{'className':_0x17fd4b(0x277),'onClick':_0x2912b4,'children':[_0x5c0380[_0x17fd4b(0x41a)]('div',{'className':_0x427b5c[_0x17fd4b(0x428)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x1f10f0,'univer-text-red-500':!_0x1f10f0}),'children':_0x231a0d}),_0x5c0380['jsx'](_0x17fd4b(0x320),{'className':_0x17fd4b(0x31e),'children':_0x508db3})]});}return _0x1f10f0?_0x27cbed():_0x5c0380[_0x5cd0df(0x41a)](_0x427b5c['Tooltip'],{'title':_0x4003b5['t']('collab-client.tooltip.reconnect'),'children':_0x27cbed()});}var _0x2d63d7=Object[_0x449ba4(0x1d2)],_0x3e6a56=(_0x512024,_0x241e34,_0x465037,_0x203946)=>{const _0x4ea3b4=_0x449ba4;for(var _0x3690b8=_0x203946>0x1?void 0x0:_0x203946?_0x2d63d7(_0x241e34,_0x465037):_0x241e34,_0x47551f=_0x512024[_0x4ea3b4(0x3eb)]-0x1,_0x41cb09;_0x47551f>=0x0;_0x47551f--)(_0x41cb09=_0x512024[_0x47551f])&&(_0x3690b8=_0x41cb09(_0x3690b8)||_0x3690b8);return _0x3690b8;},_0x44a562=(_0x11a42e,_0x247864)=>(_0x5ec855,_0x344f5f)=>_0x247864(_0x5ec855,_0x344f5f,_0x11a42e);_0x47440c[_0x449ba4(0x282)]=class extends _0x4d81d1[_0x449ba4(0x1c5)]{constructor(_0x2bbcdf,_0xb55023,_0x1fc69a,_0x5d28a0){const _0x4cf8db=_0x449ba4;super(),_0xb1ba3a(this,_0x4cf8db(0x2b4),new _0x2af810['BehaviorSubject'](_0x7e6ef6[_0x4cf8db(0x281)][_0x4cf8db(0x368)])),(this[_0x4cf8db(0x231)]=_0x2bbcdf,this[_0x4cf8db(0x1f1)]=_0xb55023,this[_0x4cf8db(0x232)]=_0x1fc69a,this[_0x4cf8db(0x3e2)]=_0x5d28a0,this[_0x4cf8db(0x3b8)](),this['_initStatusListener']());}[_0x449ba4(0x374)](){const _0x1c811e=_0x449ba4;this[_0x1c811e(0x30e)](this[_0x1c811e(0x231)][_0x1c811e(0x1f2)][_0x1c811e(0x3b1)](_0x2af810[_0x1c811e(0x24a)](()=>{const _0x2367b9=_0x1c811e,_0x276404=this['_univerInstanceService']['getFocusedUnit']();return _0x276404?this[_0x2367b9(0x232)]['getCollabEntity$'](_0x276404[_0x2367b9(0x39c)]()):_0x2af810['of'](null);}),_0x2af810[_0x1c811e(0x24a)](_0x54c911=>_0x54c911?_0x54c911['status$']:_0x2af810['of'](_0x7e6ef6[_0x1c811e(0x281)][_0x1c811e(0x368)])))[_0x1c811e(0x3e8)](_0x45c6a1=>{this['_status$']['next'](_0x45c6a1);}));}['_initStatusComponent'](){const _0x324aae=_0x449ba4;this[_0x324aae(0x30e)](this[_0x324aae(0x3e2)][_0x324aae(0x361)](_0x2a4dd8['BuiltInUIPart'][_0x324aae(0x2db)],()=>_0x2a4dd8[_0x324aae(0x312)](_0xd9c979({'status$':this[_0x324aae(0x2b4)][_0x324aae(0x36a)]()}),this[_0x324aae(0x1f1)])));}},_0x47440c[_0x449ba4(0x282)]=_0x3e6a56([_0x44a562(0x0,_0x4d81d1[_0x449ba4(0x218)]),_0x44a562(0x1,_0x4d81d1['Inject'](_0x4d81d1[_0x449ba4(0x43e)])),_0x44a562(0x2,_0x4d81d1[_0x449ba4(0x1e6)](_0x7e6ef6['CollaborationController'])),_0x44a562(0x3,_0x2a4dd8['IUIPartsService'])],_0x47440c[_0x449ba4(0x282)]);function _0xd9c979(_0x100dd9){const {status$:_0x37cc8b}=_0x100dd9;return function(){const _0x55df83=_0x94a3;return _0x5c0380[_0x55df83(0x41a)](_0x1d0066,{'status$':_0x37cc8b});};}var _0x4e3aef=Object[_0x449ba4(0x1d2)],_0x1d37e8=(_0x38acc3,_0x5335b4,_0x1e2ca6,_0x285c1a)=>{const _0x516ecc=_0x449ba4;for(var _0xb78d48=_0x285c1a>0x1?void 0x0:_0x285c1a?_0x4e3aef(_0x5335b4,_0x1e2ca6):_0x5335b4,_0x1e0b29=_0x38acc3[_0x516ecc(0x3eb)]-0x1,_0x1ebb9f;_0x1e0b29>=0x0;_0x1e0b29--)(_0x1ebb9f=_0x38acc3[_0x1e0b29])&&(_0xb78d48=_0x1ebb9f(_0xb78d48)||_0xb78d48);return _0xb78d48;},_0x52d21b=(_0x526cfd,_0x44e2c8)=>(_0x22266a,_0x2d7cf4)=>_0x44e2c8(_0x22266a,_0x2d7cf4,_0x526cfd);let _0xf23663=class extends _0x4d81d1[_0x449ba4(0x1c5)]{constructor(_0x5e8295,_0x30cff7,_0x419c43,_0x19c029,_0x399d61,_0x39e0db){const _0x2a41a2=_0x449ba4;super(),this[_0x2a41a2(0x432)]=_0x5e8295,this[_0x2a41a2(0x1ef)]=_0x30cff7,this['_collaborationUIEventService']=_0x419c43,this[_0x2a41a2(0x20f)]=_0x19c029,this[_0x2a41a2(0x330)]=_0x399d61,this[_0x2a41a2(0x3cc)]=_0x39e0db,this[_0x2a41a2(0x37d)](),this[_0x2a41a2(0x2a7)]();}['_setupBeforeClosingHandler'](){const _0x2a9e42=_0x449ba4;this[_0x2a9e42(0x30e)](this['_beforeCloseService'][_0x2a9e42(0x3f5)](()=>{const _0x2c5f94=_0x2a9e42;if(this[_0x2c5f94(0x1ef)][_0x2c5f94(0x279)][_0x2c5f94(0x35b)])return this[_0x2c5f94(0x3cc)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x449ba4(0x2a7)](){const _0x364e67=_0x449ba4;this[_0x364e67(0x30e)](this[_0x364e67(0x33b)][_0x364e67(0x407)]['subscribe'](_0x2f65f6=>{const _0x443807=_0x364e67;_0x2f65f6['id']===_0x7e6ef6[_0x443807(0x2ae)][_0x443807(0x40b)]&&this[_0x443807(0x20f)][_0x443807(0x36e)]({'type':_0x427b5c[_0x443807(0x1c0)][_0x443807(0x2df)],'content':this[_0x443807(0x3cc)]['t'](_0x443807(0x24f))}),_0x2f65f6['id']===_0x7e6ef6['CollaborationUIEventId'][_0x443807(0x201)]&&this[_0x443807(0x20f)][_0x443807(0x36e)]({'type':_0x427b5c['MessageType']['Warning'],'content':this[_0x443807(0x3cc)]['t'](_0x443807(0x3da))}),_0x2f65f6['id']===_0x7e6ef6['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x443807(0x330)][_0x443807(0x36e)]({'title':this[_0x443807(0x3cc)]['t'](_0x443807(0x3d1)),'content':this['_localeService']['t'](_0x443807(0x446)),'type':'error','duration':0x0}),_0x2f65f6['id']===_0x7e6ef6[_0x443807(0x2ae)][_0x443807(0x352)]&&this[_0x443807(0x20f)]['show']({'type':_0x427b5c[_0x443807(0x1c0)][_0x443807(0x427)],'content':this[_0x443807(0x3cc)]['t']('collaboration.closeRoom')+'('+_0x2f65f6[_0x443807(0x314)]+')'}),_0x2f65f6['id']===_0x7e6ef6[_0x443807(0x2ae)]['JOIN_ROOM_FAILED']&&this[_0x443807(0x20f)][_0x443807(0x36e)]({'type':_0x427b5c[_0x443807(0x1c0)][_0x443807(0x2df)],'content':this[_0x443807(0x3cc)]['t'](_0x2f65f6[_0x443807(0x314)]||'')}),_0x2f65f6['id']===_0x7e6ef6[_0x443807(0x2ae)]['SOCKET_FAILED_RETRY']&&this[_0x443807(0x20f)][_0x443807(0x36e)]({'type':_0x427b5c[_0x443807(0x1c0)][_0x443807(0x2df)],'content':this[_0x443807(0x3cc)]['t'](_0x443807(0x316))}),_0x2f65f6['id']===_0x7e6ef6[_0x443807(0x2ae)][_0x443807(0x26f)]&&this['_messageService'][_0x443807(0x36e)]({'type':_0x427b5c[_0x443807(0x1c0)][_0x443807(0x427)],'content':this['_localeService']['t'](_0x443807(0x40d))}),_0x2f65f6['id']===_0x7e6ef6[_0x443807(0x2ae)][_0x443807(0x365)]&&this[_0x443807(0x20f)][_0x443807(0x36e)]({'type':_0x427b5c[_0x443807(0x1c0)][_0x443807(0x427)],'content':this[_0x443807(0x3cc)]['t'](_0x443807(0x241))});}));}};_0xf23663=_0x1d37e8([_0x52d21b(0x0,_0x2a4dd8[_0x449ba4(0x36d)]),_0x52d21b(0x1,_0x7e6ef6[_0x449ba4(0x247)]),_0x52d21b(0x2,_0x4d81d1['Inject'](_0x7e6ef6[_0x449ba4(0x3ab)])),_0x52d21b(0x3,_0x2a4dd8[_0x449ba4(0x3a6)]),_0x52d21b(0x4,_0x2a4dd8[_0x449ba4(0x393)]),_0x52d21b(0x5,_0x4d81d1[_0x449ba4(0x1e6)](_0x4d81d1[_0x449ba4(0x28e)]))],_0xf23663);const _0x5c6d95=_0x449ba4(0x1f3),_0x1e33a4={},_0x21e793=_0x4d81d1[_0x449ba4(0x308)](_0x449ba4(0x3e0));var _0xc1db85=Object[_0x449ba4(0x1d2)],_0x30e060=(_0x14c1b3,_0x352cc6,_0x3dcc1c,_0x30f01f)=>{for(var _0x5f0269=_0x30f01f>0x1?void 0x0:_0x30f01f?_0xc1db85(_0x352cc6,_0x3dcc1c):_0x352cc6,_0x2b9b08=_0x14c1b3['length']-0x1,_0x439db2;_0x2b9b08>=0x0;_0x2b9b08--)(_0x439db2=_0x14c1b3[_0x2b9b08])&&(_0x5f0269=_0x439db2(_0x5f0269)||_0x5f0269);return _0x5f0269;},_0x380ea5=(_0x13d609,_0x10564d)=>(_0x50dbfc,_0x495d43)=>_0x10564d(_0x50dbfc,_0x495d43,_0x13d609);_0x47440c[_0x449ba4(0x2c4)]=class extends _0x4d81d1['RxDisposable']{constructor(_0x2329b4,_0x48cec6,_0x4d0181,_0x3fb69e,_0x3f2a4b){const _0x3c0468=_0x449ba4;super(),this['_urlService']=_0x2329b4,this[_0x3c0468(0x3ea)]=_0x48cec6,this[_0x3c0468(0x3c7)]=_0x4d0181,this[_0x3c0468(0x2ab)]=_0x3fb69e,_0x3f2a4b?_0x3f2a4b==null||_0x3f2a4b[_0x3c0468(0x1c9)]()[_0x3c0468(0x2f1)](()=>this[_0x3c0468(0x382)]()):(this[_0x3c0468(0x3ea)]['debug'](_0x3c0468(0x1e7),_0x3c0468(0x3cd)),this[_0x3c0468(0x382)]());}async[_0x449ba4(0x382)](){const _0x49db2b=_0x449ba4,_0x4d6d80=this['_urlService'][_0x49db2b(0x284)]('unit'),_0x274975=this[_0x49db2b(0x1c1)]['getParam']('type'),_0x43f4b1=this['_urlService'][_0x49db2b(0x284)](_0x49db2b(0x205));if(!_0x4d6d80||!_0x274975){this[_0x49db2b(0x3ea)][_0x49db2b(0x1de)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x2c704d=await this[_0x49db2b(0x2ab)][_0x49db2b(0x285)](_0x4d6d80,Number(_0x274975),_0x43f4b1);_0x2c704d&&_0x2c704d instanceof _0x4d81d1['Workbook']&&this[_0x49db2b(0x3bb)](_0x2c704d);}async[_0x449ba4(0x3bb)](_0x422c09){const _0x14d9d6=_0x449ba4;await this[_0x14d9d6(0x248)](_0x422c09),_0x422c09[_0x14d9d6(0x403)][_0x14d9d6(0x3b1)](_0x2af810['takeUntil'](this[_0x14d9d6(0x369)]))['subscribe'](_0x5253ed=>{const _0x4d026e=_0x14d9d6;_0x5253ed&&this[_0x4d026e(0x29d)](_0x5253ed);}),this['_urlService'][_0x14d9d6(0x3ee)][_0x14d9d6(0x3b1)](_0x2af810['takeUntil'](this[_0x14d9d6(0x369)]))['subscribe'](()=>this[_0x14d9d6(0x248)](_0x422c09));}['_updateURLWithCurrentState'](_0x4113d4,_0x3dafad=!0x1){const _0x4e1eb5=_0x449ba4,_0x2062f6=this[_0x4e1eb5(0x1c1)][_0x4e1eb5(0x284)]('subunit');_0x4113d4[_0x4e1eb5(0x388)]()!==_0x2062f6&&this[_0x4e1eb5(0x1c1)][_0x4e1eb5(0x1fa)](_0x4e1eb5(0x205),_0x4113d4[_0x4e1eb5(0x388)](),_0x3dafad);}async[_0x449ba4(0x248)](_0x3cc25d){const _0x30bc5f=_0x449ba4;var _0x4a9742;const _0xc16408=this[_0x30bc5f(0x1c1)][_0x30bc5f(0x284)](_0x30bc5f(0x205));if(!_0xc16408||!_0x3cc25d[_0x30bc5f(0x447)](_0xc16408)){const _0x1f2d1d=_0x3cc25d[_0x30bc5f(0x3b2)]()[0x0],_0x9bbe7a=_0x3cc25d[_0x30bc5f(0x447)](_0x1f2d1d);if(!_0x9bbe7a)return;this[_0x30bc5f(0x29d)](_0x9bbe7a,!0x0),await this[_0x30bc5f(0x3c7)][_0x30bc5f(0x25e)](_0x4a524b[_0x30bc5f(0x1fb)]['id'],{'unitId':_0x3cc25d[_0x30bc5f(0x39c)](),'subUnitId':_0x1f2d1d});return;}((_0x4a9742=_0x3cc25d[_0x30bc5f(0x370)]())==null?void 0x0:_0x4a9742['getSheetId']())!==_0xc16408&&await this[_0x30bc5f(0x3c7)][_0x30bc5f(0x25e)](_0x4a524b['SetWorksheetActivateCommand']['id'],{'unitId':_0x3cc25d[_0x30bc5f(0x39c)](),'subUnitId':_0xc16408});}},_0x47440c[_0x449ba4(0x2c4)]=_0x30e060([_0x380ea5(0x0,_0x21e793),_0x380ea5(0x1,_0x4d81d1[_0x449ba4(0x362)]),_0x380ea5(0x2,_0x4d81d1[_0x449ba4(0x1c2)]),_0x380ea5(0x3,_0x4d81d1[_0x449ba4(0x1e6)](_0x7e6ef6['DataLoaderService'])),_0x380ea5(0x4,_0x4d81d1['Optional'](_0x2f2e13[_0x449ba4(0x2a8)]))],_0x47440c['CollaborationDataLoaderController']);var _0x508fc7=Object[_0x449ba4(0x1d2)],_0x386c6c=(_0x212595,_0x15fac6,_0x3629e9,_0x4fcbea)=>{const _0x2eb97c=_0x449ba4;for(var _0x2cf1e1=_0x4fcbea>0x1?void 0x0:_0x4fcbea?_0x508fc7(_0x15fac6,_0x3629e9):_0x15fac6,_0x485f3d=_0x212595[_0x2eb97c(0x3eb)]-0x1,_0x46d911;_0x485f3d>=0x0;_0x485f3d--)(_0x46d911=_0x212595[_0x485f3d])&&(_0x2cf1e1=_0x46d911(_0x2cf1e1)||_0x2cf1e1);return _0x2cf1e1;},_0x5b8abc=(_0x13e5a7,_0x2080e1)=>(_0x9eae09,_0x30cbf3)=>_0x2080e1(_0x9eae09,_0x30cbf3,_0x13e5a7);let _0x2db2b8=class{constructor(_0x5d1a88,_0x5afb6e){const _0x50355d=_0x449ba4;this[_0x50355d(0x1d3)]=_0x5d1a88,this['_renderManagerService']=_0x5afb6e;}[_0x449ba4(0x257)](_0x2b5363){const _0x254f06=_0x449ba4;this['_transformUndoRedoStack'](_0x2b5363),this[_0x254f06(0x3a1)](_0x2b5363);}[_0x449ba4(0x38f)](_0x4b86cf){const _0x4d1930=_0x449ba4,{unitID:_0x539acb}=_0x4b86cf,_0x3574e6=this[_0x4d1930(0x2c2)]['getRenderById'](_0x539acb)[_0x4d1930(0x28f)](_0xf7ba88['DocIMEInputManagerService']),{redoCache:_0x15657c}=_0x3574e6['getUndoRedoMutationParamsCache']();if(_0x15657c['length']===0x0)return _0x4b86cf;let _0x1db029=_0x4d81d1[_0x4d1930(0x2f7)][_0x4d1930(0x266)](_0x4b86cf[_0x4d1930(0x32d)][0x0]);for(let _0x28e491=0x0;_0x28e491<_0x15657c['length'];_0x28e491++){const _0x43dc88={'id':'doc.mutation.rich-text-editing','params':{..._0x15657c[_0x28e491]}},_0x5d4085=this[_0x4d1930(0x1d3)][_0x4d1930(0x35c)](_0x1db029,_0x43dc88,!0x1);if(_0x7bc020['isTransformMutationFailure'](_0x5d4085))throw _0x5d4085[_0x4d1930(0x389)];_0x1db029=_0x5d4085[_0x4d1930(0x242)];}return{..._0x4d81d1[_0x4d1930(0x2f7)]['deepClone'](_0x4b86cf),'mutations':[_0x1db029]};}[_0x449ba4(0x3ba)](_0x434927){const _0x4e32fd=_0x449ba4,{unitID:_0x327f25}=_0x434927,_0x5590c2=this['_renderManagerService'][_0x4e32fd(0x326)](_0x327f25)[_0x4e32fd(0x28f)](_0xf7ba88['DocIMEInputManagerService']),{undoCache:_0x1432c5,redoCache:_0x2a3d52}=_0x5590c2[_0x4e32fd(0x31d)]();if(_0x1432c5[_0x4e32fd(0x3eb)]===0x0||_0x2a3d52[_0x4e32fd(0x3eb)]===0x0)return;const _0x10363b=[],_0x1c5970=[];let _0x5da0da=_0x4d81d1[_0x4e32fd(0x2f7)][_0x4e32fd(0x266)](_0x434927[_0x4e32fd(0x32d)][0x0]),_0x286d67=_0x4d81d1['Tools'][_0x4e32fd(0x266)](_0x434927[_0x4e32fd(0x32d)][0x0]);for(let _0x49a37c=_0x1432c5[_0x4e32fd(0x3eb)]-0x1;_0x49a37c>=0x0;_0x49a37c--){const _0x4dd1a3={'id':'doc.mutation.rich-text-editing','params':{..._0x1432c5[_0x49a37c]}},_0x19d059={'id':'doc.mutation.rich-text-editing','params':{..._0x2a3d52[_0x49a37c]}},_0x4a1af4=this[_0x4e32fd(0x1d3)][_0x4e32fd(0x35c)](_0x5da0da,_0x4dd1a3,!0x1),_0x2bb687=this[_0x4e32fd(0x1d3)][_0x4e32fd(0x35c)](_0x286d67,_0x19d059,!0x1);if(_0x7bc020[_0x4e32fd(0x265)](_0x4a1af4))throw _0x4a1af4[_0x4e32fd(0x389)];if(_0x7bc020[_0x4e32fd(0x265)](_0x2bb687))throw _0x2bb687[_0x4e32fd(0x389)];_0x10363b['unshift'](_0x4a1af4[_0x4e32fd(0x408)][_0x4e32fd(0x2a5)]),_0x1c5970[_0x4e32fd(0x30a)](_0x2bb687[_0x4e32fd(0x408)][_0x4e32fd(0x2a5)]),_0x5da0da=_0x4a1af4[_0x4e32fd(0x242)],_0x286d67=_0x2bb687[_0x4e32fd(0x242)];}_0x5590c2[_0x4e32fd(0x2fc)]({'undoCache':_0x10363b,'redoCache':_0x1c5970});}['_transformPreviousActiveRange'](_0x305200){const _0xc1e9ca=_0x449ba4,{unitID:_0x3233d9}=_0x305200,_0x2cd410=this['_renderManagerService'][_0xc1e9ca(0x326)](_0x3233d9)[_0xc1e9ca(0x28f)](_0xf7ba88[_0xc1e9ca(0x1e8)]),_0x42ead4=_0x2cd410[_0xc1e9ca(0x1cc)]();if(_0x42ead4==null)return;const _0x1933ff=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x305200[_0xc1e9ca(0x1fe)],'actions':null,'textRanges':[_0x42ead4]}}],_0x1b609f=this['_transformService'][_0xc1e9ca(0x203)](_0x305200,_0x1933ff);if(!_0x7bc020[_0xc1e9ca(0x22f)](_0x1b609f))throw _0x1b609f[_0xc1e9ca(0x389)];const _0x4a7321=_0x1b609f[_0xc1e9ca(0x408)][0x0]['params'][_0xc1e9ca(0x2c0)];Array[_0xc1e9ca(0x451)](_0x4a7321)&&_0x4a7321[_0xc1e9ca(0x3eb)]&&_0x2cd410[_0xc1e9ca(0x2e9)](_0x4a7321[0x0]);}};_0x2db2b8=_0x386c6c([_0x5b8abc(0x0,_0x7bc020[_0x449ba4(0x2f3)]),_0x5b8abc(0x1,_0x2c2228[_0x449ba4(0x38b)])],_0x2db2b8);var _0x454ea5=Object[_0x449ba4(0x1d2)],_0x2a845a=(_0x416efe,_0x27d436,_0x35311c,_0x1be741)=>{for(var _0x5b581e=_0x1be741>0x1?void 0x0:_0x1be741?_0x454ea5(_0x27d436,_0x35311c):_0x27d436,_0x1e1d34=_0x416efe['length']-0x1,_0x4e4e9a;_0x1e1d34>=0x0;_0x1e1d34--)(_0x4e4e9a=_0x416efe[_0x1e1d34])&&(_0x5b581e=_0x4e4e9a(_0x5b581e)||_0x5b581e);return _0x5b581e;},_0x3d57bb=(_0x208863,_0x534972)=>(_0x3b1da7,_0x4d5a13)=>_0x534972(_0x3b1da7,_0x4d5a13,_0x208863);let _0x3d42a1=class{constructor(_0x1907bc,_0x40743c,_0x43adb5){const _0x149e5d=_0x449ba4;this['_injector']=_0x1907bc,this[_0x149e5d(0x1d3)]=_0x40743c,this[_0x149e5d(0x3a0)]=_0x43adb5;}[_0x449ba4(0x2ad)](_0x5abbf3){this['_transformHistoryAndStateStack'](_0x5abbf3);}[_0x449ba4(0x38f)](_0x34fcef){const _0x4f9200=_0x449ba4,{unitID:_0x3274db}=_0x34fcef,{collaboration:_0x1f9cad}=this[_0x4f9200(0x3a0)][_0x4f9200(0x2ca)](_0x3274db);if(_0x1f9cad[_0x4f9200(0x3eb)]===0x0)return _0x34fcef;let _0x23aae9=_0x4d81d1[_0x4f9200(0x2f7)][_0x4f9200(0x266)](_0x34fcef['mutations'][0x0]);for(let _0x6d53bc=0x0;_0x6d53bc<_0x1f9cad[_0x4f9200(0x3eb)];_0x6d53bc++){const _0x3357bc={'id':_0x4f9200(0x40f),'params':{'unitId':_0x1f9cad[_0x6d53bc][_0x4f9200(0x398)],..._0x1f9cad[_0x6d53bc][_0x4f9200(0x292)]}},_0x4e9d39=this[_0x4f9200(0x1d3)][_0x4f9200(0x35c)](_0x23aae9,_0x3357bc,!0x1);if(_0x7bc020[_0x4f9200(0x265)](_0x4e9d39))throw _0x4e9d39[_0x4f9200(0x389)];_0x23aae9=_0x4e9d39[_0x4f9200(0x242)];}return{..._0x4d81d1['Tools'][_0x4f9200(0x266)](_0x34fcef),'mutations':[_0x23aae9]};}[_0x449ba4(0x3d3)](_0x22e37e){const _0x2e54f4=_0x449ba4,{unitID:_0x144871}=_0x22e37e,{history:_0x3bfe31,collaboration:_0x2f1b0e}=this[_0x2e54f4(0x3a0)][_0x2e54f4(0x2ca)](_0x144871);if(_0x3bfe31['length']===0x0&&_0x2f1b0e['length']===0x0)return;const _0x2bc72c=[],_0x131393=[];let _0x4e5215=_0x4d81d1['Tools'][_0x2e54f4(0x266)](_0x22e37e[_0x2e54f4(0x32d)][0x0]),_0x2ae782=_0x4d81d1[_0x2e54f4(0x2f7)][_0x2e54f4(0x266)](_0x22e37e[_0x2e54f4(0x32d)][0x0]);for(let _0x11791e=_0x3bfe31[_0x2e54f4(0x3eb)]-0x1;_0x11791e>=0x0;_0x11791e--){const _0x265efd={'id':_0x2e54f4(0x40f),'params':{'unitId':_0x3bfe31[_0x11791e][_0x2e54f4(0x398)],..._0x3bfe31[_0x11791e][_0x2e54f4(0x1c8)]}},_0x3081e9={'id':_0x2e54f4(0x40f),'params':{'unitId':_0x3bfe31[_0x11791e][_0x2e54f4(0x398)],..._0x3bfe31[_0x11791e][_0x2e54f4(0x292)]}},_0x2a56db=this[_0x2e54f4(0x1d3)][_0x2e54f4(0x35c)](_0x4e5215,_0x265efd,!0x1),_0xd6c7d4=this[_0x2e54f4(0x1d3)]['transformMutation'](_0x2ae782,_0x3081e9,!0x1);if(_0x7bc020[_0x2e54f4(0x265)](_0x2a56db))throw _0x2a56db[_0x2e54f4(0x389)];if(_0x7bc020['isTransformMutationFailure'](_0xd6c7d4))throw _0xd6c7d4[_0x2e54f4(0x389)];_0x2bc72c[_0x2e54f4(0x30a)]({..._0x3bfe31[_0x11791e],'undoState':_0x2a56db[_0x2e54f4(0x408)][_0x2e54f4(0x2a5)],'redoState':_0xd6c7d4[_0x2e54f4(0x408)][_0x2e54f4(0x2a5)]}),_0x4e5215=_0x2a56db[_0x2e54f4(0x242)],_0x2ae782=_0xd6c7d4[_0x2e54f4(0x242)];}_0x4e5215=_0x4d81d1['Tools'][_0x2e54f4(0x266)](_0x22e37e['mutations'][0x0]),_0x2ae782=_0x4d81d1['Tools'][_0x2e54f4(0x266)](_0x22e37e[_0x2e54f4(0x32d)][0x0]);for(let _0x340100=_0x2f1b0e[_0x2e54f4(0x3eb)]-0x1;_0x340100>=0x0;_0x340100--){const _0x529706={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2f1b0e[_0x340100][_0x2e54f4(0x398)],..._0x2f1b0e[_0x340100][_0x2e54f4(0x1c8)]}},_0x58be10={'id':_0x2e54f4(0x40f),'params':{'unitId':_0x2f1b0e[_0x340100][_0x2e54f4(0x398)],..._0x2f1b0e[_0x340100][_0x2e54f4(0x292)]}},_0x596172=this['_transformService'][_0x2e54f4(0x35c)](_0x4e5215,_0x529706,!0x1),_0xe54729=this[_0x2e54f4(0x1d3)][_0x2e54f4(0x35c)](_0x2ae782,_0x58be10,!0x1);if(_0x7bc020['isTransformMutationFailure'](_0x596172))throw _0x596172[_0x2e54f4(0x389)];if(_0x7bc020[_0x2e54f4(0x265)](_0xe54729))throw _0xe54729[_0x2e54f4(0x389)];_0x131393[_0x2e54f4(0x30a)]({..._0x2f1b0e[_0x340100],'undoState':_0x596172[_0x2e54f4(0x408)][_0x2e54f4(0x2a5)],'redoState':_0xe54729[_0x2e54f4(0x408)]['params']}),_0x4e5215=_0x596172[_0x2e54f4(0x242)],_0x2ae782=_0xe54729[_0x2e54f4(0x242)];}this[_0x2e54f4(0x3a0)][_0x2e54f4(0x295)](_0x144871,{'history':_0x2bc72c,'collaboration':_0x131393});}};_0x3d42a1=_0x2a845a([_0x3d57bb(0x0,_0x4d81d1['Inject'](_0x4d81d1['Injector'])),_0x3d57bb(0x1,_0x7bc020[_0x449ba4(0x2f3)]),_0x3d57bb(0x2,_0x4d81d1[_0x449ba4(0x1e6)](_0xf7ba88[_0x449ba4(0x338)]))],_0x3d42a1);var _0x47cd49=Object[_0x449ba4(0x1d2)],_0x1f3d9c=(_0x1a6e64,_0x5bb612,_0x5ef310,_0x1ca5ef)=>{const _0x40476e=_0x449ba4;for(var _0x534c16=_0x1ca5ef>0x1?void 0x0:_0x1ca5ef?_0x47cd49(_0x5bb612,_0x5ef310):_0x5bb612,_0x1b5adb=_0x1a6e64[_0x40476e(0x3eb)]-0x1,_0x43df3b;_0x1b5adb>=0x0;_0x1b5adb--)(_0x43df3b=_0x1a6e64[_0x1b5adb])&&(_0x534c16=_0x43df3b(_0x534c16)||_0x534c16);return _0x534c16;},_0x21679e=(_0x1f1462,_0x41f26f)=>(_0x140348,_0x4a4e40)=>_0x41f26f(_0x140348,_0x4a4e40,_0x1f1462);let _0x17812d=class{constructor(_0x4230e0,_0x228ab9){const _0x243770=_0x449ba4;this[_0x243770(0x1f1)]=_0x4230e0,this[_0x243770(0x1d3)]=_0x228ab9;}[_0x449ba4(0x2d0)](_0x2a44e3){const _0xb75e9=_0x449ba4;var _0x3610be;const _0x28be98=this[_0xb75e9(0x1f1)]['get'](_0x3422c5['DocSelectionManagerService']),_0x4e43bd=(_0x3610be=_0x28be98[_0xb75e9(0x3f8)]())!=null?_0x3610be:[];if(_0x4e43bd[_0xb75e9(0x3eb)]===0x0)return;const _0x46bcf7=_0x2a44e3[_0xb75e9(0x1fe)],_0x1a4e9e=[{'id':_0xb75e9(0x40f),'params':{'unitId':_0x46bcf7,'actions':null,'textRanges':_0x4e43bd}}],_0x39c36e=this[_0xb75e9(0x1d3)][_0xb75e9(0x203)](_0x2a44e3,_0x1a4e9e);if(!_0x7bc020[_0xb75e9(0x22f)](_0x39c36e))throw _0x39c36e['error'];const _0x52990b=_0x39c36e[_0xb75e9(0x408)][0x0][_0xb75e9(0x2a5)][_0xb75e9(0x2c0)];Array[_0xb75e9(0x451)](_0x52990b)&&_0x52990b[_0xb75e9(0x3eb)]&&_0x28be98[_0xb75e9(0x20a)](_0x52990b,{'unitId':_0x46bcf7,'subUnitId':_0x46bcf7},!0x1);}};_0x17812d=_0x1f3d9c([_0x21679e(0x0,_0x4d81d1[_0x449ba4(0x1e6)](_0x4d81d1[_0x449ba4(0x43e)])),_0x21679e(0x1,_0x7bc020[_0x449ba4(0x2f3)])],_0x17812d);var _0x1a4934=Object[_0x449ba4(0x1d2)],_0x51648d=(_0x38577c,_0x256282,_0x5acab6,_0x5ecf1f)=>{for(var _0x2b9fbc=_0x5ecf1f>0x1?void 0x0:_0x5ecf1f?_0x1a4934(_0x256282,_0x5acab6):_0x256282,_0x4d9b4a=_0x38577c['length']-0x1,_0x55505a;_0x4d9b4a>=0x0;_0x4d9b4a--)(_0x55505a=_0x38577c[_0x4d9b4a])&&(_0x2b9fbc=_0x55505a(_0x2b9fbc)||_0x2b9fbc);return _0x2b9fbc;},_0x4e1877=(_0x1ba3e9,_0x3b7655)=>(_0x36ad24,_0x22c506)=>_0x3b7655(_0x36ad24,_0x22c506,_0x1ba3e9);let _0xd05bc2=class extends _0x4d81d1[_0x449ba4(0x1c5)]{constructor(_0x35e3c8,_0x3cd1b4,_0x5664a8,_0x42a459,_0x47ed69,_0x62fcad,_0xdde9c2,_0x54468e){const _0x895148=_0x449ba4;super(),_0xb1ba3a(this,_0x895148(0x2b4),new _0x2af810[(_0x895148(0x3dd))](_0x7e6ef6[_0x895148(0x281)]['NOT_COLLAB'])),(this[_0x895148(0x3a0)]=_0x35e3c8,this[_0x895148(0x232)]=_0x3cd1b4,this[_0x895148(0x30f)]=_0x5664a8,this[_0x895148(0x390)]=_0x42a459,this[_0x895148(0x1ff)]=_0x47ed69,this[_0x895148(0x2e0)]=_0x62fcad,this[_0x895148(0x20f)]=_0xdde9c2,this[_0x895148(0x3cc)]=_0x54468e,this[_0x895148(0x207)]());}[_0x449ba4(0x207)](){const _0x305721=_0x449ba4;this[_0x305721(0x30e)](this[_0x305721(0x232)]['entityInit$'][_0x305721(0x3e8)](_0x3086ac=>{const _0x1fa4ef=_0x305721,_0x487578=this[_0x1fa4ef(0x3a0)][_0x1fa4ef(0x228)]['subscribe'](_0x36c168=>{const _0x3733b2=_0x1fa4ef;if(_0x36c168==null)return;const {unitId:_0x48030e,redoState:_0x3aed86,commandId:_0x833aa5}=_0x36c168;if(_0x48030e!==_0x3086ac[_0x3733b2(0x1fe)])return;const _0x22dfe1={'id':_0x833aa5,'type':_0x4d81d1[_0x3733b2(0x3b0)][_0x3733b2(0x1d9)],'params':{'unitId':_0x48030e,'actions':_0x3aed86[_0x3733b2(0x3a5)],'textRanges':null}};_0x3086ac[_0x3733b2(0x2f4)](_0x22dfe1);});if(_0x3086ac[_0x1fa4ef(0x30e)](_0x487578),_0x3086ac instanceof _0x7e6ef6['DocCollaborationEntity']){const _0x28c485={'onTransformIME':_0x4d0328=>this[_0x1fa4ef(0x30f)]['transformIMECache'](_0x4d0328),'onTransformState':_0x40c9d8=>this[_0x1fa4ef(0x390)][_0x1fa4ef(0x2ad)](_0x40c9d8),'onTransformSelections':_0x58672d=>this[_0x1fa4ef(0x1ff)][_0x1fa4ef(0x2d0)](_0x58672d),'onSyncEditingCollabCursor':_0xb6c0f9=>this[_0x1fa4ef(0x2e0)][_0x1fa4ef(0x416)](_0xb6c0f9),'onTransformRemoteChangesetByIMECache':_0x23fe5a=>this[_0x1fa4ef(0x30f)]['transformRemoteChangeset'](_0x23fe5a),'onTransformRemoteChangesetByStateCache':_0x344a2e=>this[_0x1fa4ef(0x390)][_0x1fa4ef(0x38f)](_0x344a2e)};_0x3086ac['addHandlerCallback'](_0x28c485);}}));}};_0xd05bc2=_0x51648d([_0x4e1877(0x0,_0x4d81d1[_0x449ba4(0x1e6)](_0xf7ba88[_0x449ba4(0x338)])),_0x4e1877(0x1,_0x4d81d1['Inject'](_0x7e6ef6[_0x449ba4(0x1dd)])),_0x4e1877(0x2,_0x4d81d1[_0x449ba4(0x1e6)](_0x2db2b8)),_0x4e1877(0x3,_0x4d81d1[_0x449ba4(0x1e6)](_0x3d42a1)),_0x4e1877(0x4,_0x4d81d1[_0x449ba4(0x1e6)](_0x17812d)),_0x4e1877(0x5,_0x4d81d1[_0x449ba4(0x1e6)](_0x3944ef)),_0x4e1877(0x6,_0x2a4dd8[_0x449ba4(0x3a6)]),_0x4e1877(0x7,_0x4d81d1['Inject'](_0x4d81d1[_0x449ba4(0x28e)]))],_0xd05bc2);var _0x30894f=Object[_0x449ba4(0x1d2)],_0x26e083=(_0x2ae578,_0x5495a8,_0x561459,_0x4d0fd7)=>{const _0x360c38=_0x449ba4;for(var _0xe293d5=_0x4d0fd7>0x1?void 0x0:_0x4d0fd7?_0x30894f(_0x5495a8,_0x561459):_0x5495a8,_0x160f67=_0x2ae578[_0x360c38(0x3eb)]-0x1,_0x3077b4;_0x160f67>=0x0;_0x160f67--)(_0x3077b4=_0x2ae578[_0x160f67])&&(_0xe293d5=_0x3077b4(_0xe293d5)||_0xe293d5);return _0xe293d5;},_0x13b541=(_0x3c3fdf,_0x4e146b)=>(_0x4d96fe,_0x7610ec)=>_0x4e146b(_0x4d96fe,_0x7610ec,_0x3c3fdf);let _0x4cfcb5=class extends _0x4d81d1['Disposable']{constructor(_0x45c8da,_0x4c6a3e,_0x362943){const _0xb8387c=_0x449ba4;super(),_0xb1ba3a(this,_0xb8387c(0x35e),new Map()),_0xb1ba3a(this,_0xb8387c(0x24b),new Map()),_0xb1ba3a(this,_0xb8387c(0x355),!0x1),(this[_0xb8387c(0x1ea)]=_0x45c8da,this['_localStorageService']=_0x4c6a3e,this[_0xb8387c(0x2d5)]=_0x362943);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x449ba4(0x39a)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x2d6807=_0x449ba4;return this[_0x2d6807(0x24b)];}[_0x449ba4(0x3d4)](){const _0x1c419f=_0x449ba4;this[_0x1c419f(0x1d8)]()['then'](()=>super[_0x1c419f(0x3d4)]());}async['loadOfflineData'](_0x10d50b){const _0x36e92f=_0x449ba4;return this[_0x36e92f(0x355)]?null:this[_0x36e92f(0x3c2)][_0x36e92f(0x383)](_0x7e6ef6['getLocalCacheKey'](_0x10d50b));}async[_0x449ba4(0x1ed)](_0x2c9429,_0x396083){const _0x4a84d4=_0x449ba4;return!!this[_0x4a84d4(0x3c2)][_0x4a84d4(0x309)](_0x2c9429,_0x396083);}[_0x449ba4(0x287)](_0xcd9a29,_0x5486c1,_0x42f65e,_0x23541c){const _0x28a900=_0x449ba4,_0x440b7f=this[_0x28a900(0x2d5)]['getCurrentRevOfUnit'](_0xcd9a29);this[_0x28a900(0x35e)]['set'](_0xcd9a29,{'unitID':_0xcd9a29,'type':_0x5486c1,'awaitingChangeset':_0x42f65e,'mutations':_0x23541c,'rev':_0x440b7f}),this[_0x28a900(0x24b)]['has'](_0xcd9a29)||this[_0x28a900(0x372)](_0xcd9a29);}['_scheduleSaving'](_0x4186ee){const _0x238375=_0x449ba4,_0x2eb21e=this[_0x238375(0x2a6)]();_0x2eb21e===0x0?this[_0x238375(0x294)](_0x4186ee):this[_0x238375(0x24b)][_0x238375(0x34d)](_0x4186ee,setTimeout(()=>this[_0x238375(0x294)](_0x4186ee),_0x2eb21e));}[_0x449ba4(0x2a6)](){const _0x24be93=_0x449ba4;var _0x58daf7;return(_0x58daf7=this[_0x24be93(0x1ea)]['getConfig'](_0x7e6ef6[_0x24be93(0x2a1)]))!=null?_0x58daf7:_0x7e6ef6[_0x24be93(0x35a)];}[_0x449ba4(0x294)](_0x34422){const _0x2b1b95=_0x449ba4,_0xa40437=this['_saveTaskMap'][_0x2b1b95(0x420)](_0x34422);return _0xa40437!==void 0x0&&window['clearTimeout'](_0xa40437),this[_0x2b1b95(0x3c2)][_0x2b1b95(0x309)](_0x7e6ef6[_0x2b1b95(0x356)](_0x34422),this[_0x2b1b95(0x35e)][_0x2b1b95(0x420)](_0x34422))[_0x2b1b95(0x2f1)](()=>this[_0x2b1b95(0x24b)]['delete'](_0x34422));}async[_0x449ba4(0x1d8)](){const _0x1cccfc=_0x449ba4,_0x387d1c=[];this['_saveTaskMap']['forEach']((_0x5271de,_0x35e6eb)=>{const _0x2a706f=_0x94a3;window[_0x2a706f(0x28b)](_0x5271de),_0x387d1c[_0x2a706f(0x2d6)](this['_saveCache'](_0x35e6eb)[_0x2a706f(0x2f1)](()=>{const _0x1f2654=_0x2a706f;this[_0x1f2654(0x24b)][_0x1f2654(0x377)](_0x35e6eb);}));}),await Promise[_0x1cccfc(0x3dc)](_0x387d1c);}};_0x4cfcb5=_0x26e083([_0x13b541(0x0,_0x4d81d1[_0x449ba4(0x3ac)]),_0x13b541(0x1,_0x4d81d1[_0x449ba4(0x3d9)]),_0x13b541(0x2,_0x4d81d1[_0x449ba4(0x1e6)](_0x7bc020[_0x449ba4(0x1c3)]))],_0x4cfcb5);class _0x10be39 extends _0x4d81d1['RxDisposable']{constructor(){const _0xb2f0e4=_0x449ba4;super(),_0xb1ba3a(this,'urlChange$'),this[_0xb2f0e4(0x3ee)]=_0x2af810[_0xb2f0e4(0x366)](window,_0xb2f0e4(0x350))['pipe'](_0x2af810['takeUntil'](this[_0xb2f0e4(0x369)]),_0x2af810[_0xb2f0e4(0x304)](0x1),_0x2af810[_0xb2f0e4(0x339)](void 0x0));}[_0x449ba4(0x1fa)](_0x5f07d9,_0x1d7fc0,_0x17a7c9=!0x1){const _0x169e8e=_0x449ba4,_0x4e754c=new URL(window['location'][_0x169e8e(0x24e)]);_0x4e754c[_0x169e8e(0x3fb)][_0x169e8e(0x34d)](_0x5f07d9,_0x1d7fc0),_0x17a7c9?window['history'][_0x169e8e(0x2f5)]('','',_0x4e754c[_0x169e8e(0x2b9)]()):window[_0x169e8e(0x307)]['pushState']('','',_0x4e754c[_0x169e8e(0x2b9)]());}[_0x449ba4(0x2b2)](_0x5cd2e5,_0x20c4d6=!0x1){const _0x56e9b2=_0x449ba4,_0x374c5e=new URL(window[_0x56e9b2(0x263)][_0x56e9b2(0x24e)]);_0x374c5e[_0x56e9b2(0x3fb)][_0x56e9b2(0x377)](_0x5cd2e5),_0x20c4d6?window['history'][_0x56e9b2(0x2f5)]('','',_0x374c5e[_0x56e9b2(0x2b9)]()):window['history']['pushState']('','',_0x374c5e[_0x56e9b2(0x2b9)]());}[_0x449ba4(0x284)](_0x1b472c){const _0x3318e5=_0x449ba4;var _0x38919d;return(_0x38919d=new URL(window[_0x3318e5(0x263)][_0x3318e5(0x24e)])[_0x3318e5(0x3fb)][_0x3318e5(0x420)](_0x1b472c))!=null?_0x38919d:void 0x0;}}var _0x40e8de=Object[_0x449ba4(0x1f7)],_0x43e7fe=Object[_0x449ba4(0x1d2)],_0x452820=(_0x1dfb1e,_0x58f50c,_0x2b9553)=>_0x58f50c in _0x1dfb1e?_0x40e8de(_0x1dfb1e,_0x58f50c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b9553}):_0x1dfb1e[_0x58f50c]=_0x2b9553,_0x7e759e=(_0x2d1ce7,_0x4c99c1,_0x586f9c,_0x26a256)=>{const _0x529775=_0x449ba4;for(var _0x2d6f75=_0x26a256>0x1?void 0x0:_0x26a256?_0x43e7fe(_0x4c99c1,_0x586f9c):_0x4c99c1,_0x1611c3=_0x2d1ce7[_0x529775(0x3eb)]-0x1,_0x141820;_0x1611c3>=0x0;_0x1611c3--)(_0x141820=_0x2d1ce7[_0x1611c3])&&(_0x2d6f75=_0x141820(_0x2d6f75)||_0x2d6f75);return _0x2d6f75;},_0x5b5a7a=(_0x1932a9,_0x427cb3)=>(_0xb93249,_0x27dc05)=>_0x427cb3(_0xb93249,_0x27dc05,_0x1932a9),_0x36fe14=(_0x25620c,_0x33bdf8,_0x43dfed)=>_0x452820(_0x25620c,_0x33bdf8+'',_0x43dfed);const _0x5437bb=_0x449ba4(0x27a);_0x47440c[_0x449ba4(0x418)]=class extends _0x4d81d1['Plugin']{constructor(_0x2b95a6=_0x1e33a4,_0x7f82ae,_0x3fddf2,_0x1820cb){const _0x2c4bec=_0x449ba4;super(),this[_0x2c4bec(0x222)]=_0x2b95a6,this[_0x2c4bec(0x2c2)]=_0x7f82ae,this['_injector']=_0x3fddf2,this[_0x2c4bec(0x1ea)]=_0x1820cb;const {..._0x14ed38}=_0x4d81d1[_0x2c4bec(0x378)]({},_0x1e33a4,this[_0x2c4bec(0x222)]);this['_configService'][_0x2c4bec(0x22c)](_0x5c6d95,_0x14ed38);}['onStarting'](){const _0x23a8da=_0x449ba4;this['_registerDependencies'](),this[_0x23a8da(0x434)]();}[_0x449ba4(0x42a)](){this['_registerRenderDependencies']();}[_0x449ba4(0x41f)](){const _0x2d0bbe=_0x449ba4;var _0x1b905e;const _0x172cb8=[[_0xd7451c],[_0x17812d],[_0x2db2b8],[_0x3d42a1],[_0x3944ef],[_0x21e793,{'useClass':_0x10be39}],[_0xb1173c[_0x2d0bbe(0x333)],{'useClass':_0xb1173c[_0x2d0bbe(0x2dd)]}],[_0x7e6ef6[_0x2d0bbe(0x247)],{'useClass':_0x4cfcb5}],[_0x47440c[_0x2d0bbe(0x282)]],[_0xd05bc2],[_0xf23663],[_0x5f01b6],[_0x440470],[_0x47440c['CollaborationDataLoaderController']]];_0x4d81d1['registerDependencies'](this[_0x2d0bbe(0x1f1)],_0x4d81d1[_0x2d0bbe(0x229)](_0x172cb8,(_0x1b905e=this[_0x2d0bbe(0x222)])==null?void 0x0:_0x1b905e['override']));}['_registerRenderDependencies'](){const _0x4a3e08=_0x449ba4;this[_0x4a3e08(0x30e)](this['_renderManagerService']['registerRenderModule'](_0x4d81d1[_0x4a3e08(0x3a4)][_0x4a3e08(0x298)],[_0x4c48c2])),this['disposeWithMe'](this['_renderManagerService'][_0x4a3e08(0x1bf)](_0x4d81d1[_0x4a3e08(0x3a4)][_0x4a3e08(0x214)],[_0x3cc75d]));}[_0x449ba4(0x434)](){const _0x5df6ec=_0x449ba4;_0x4d81d1[_0x5df6ec(0x429)](this['_injector'],[[_0x5f01b6],[_0x47440c[_0x5df6ec(0x282)]],[_0xd05bc2],[_0xf23663],[_0x47440c['CollaborationDataLoaderController']]]);}},_0x36fe14(_0x47440c[_0x449ba4(0x418)],_0x449ba4(0x1eb),_0x5437bb),_0x47440c['UniverCollaborationClientUIPlugin']=_0x7e759e([_0x4d81d1[_0x449ba4(0x33f)](_0x7e6ef6['UniverCollaborationClientPlugin']),_0x5b5a7a(0x1,_0x2c2228['IRenderManagerService']),_0x5b5a7a(0x2,_0x4d81d1[_0x449ba4(0x1e6)](_0x4d81d1[_0x449ba4(0x43e)])),_0x5b5a7a(0x3,_0x4d81d1[_0x449ba4(0x3ac)])],_0x47440c[_0x449ba4(0x418)]);var _0x229671=Object[_0x449ba4(0x1d2)],_0x24c319=(_0x253774,_0x1805dc,_0x3f48b3,_0x2f8b71)=>{for(var _0x26cd0b=_0x2f8b71>0x1?void 0x0:_0x2f8b71?_0x229671(_0x1805dc,_0x3f48b3):_0x1805dc,_0x2d2ba9=_0x253774['length']-0x1,_0x1460ba;_0x2d2ba9>=0x0;_0x2d2ba9--)(_0x1460ba=_0x253774[_0x2d2ba9])&&(_0x26cd0b=_0x1460ba(_0x26cd0b)||_0x26cd0b);return _0x26cd0b;},_0x567845=(_0x1e530f,_0x1edf27)=>(_0x185f4b,_0xa29011)=>_0x1edf27(_0x185f4b,_0xa29011,_0x1e530f);_0x47440c['BrowserCollaborationSocketService']=class extends _0x7e6ef6[_0x449ba4(0x212)]{constructor(_0x11a3c2,_0x49c02d,_0x24c4ef,_0x1a9da1,_0x3234ab){super(_0x11a3c2,_0x49c02d,_0x24c4ef,_0x1a9da1,_0x3234ab);}async[_0x449ba4(0x414)](_0x486a53){const _0x4e5488=_0x449ba4,_0x3feef5=await this[_0x4e5488(0x32b)](),_0x4c3f7c=this['_createSocketURL'](_0x486a53,_0x3feef5);return this[_0x4e5488(0x1bb)](_0x4c3f7c);}[_0x449ba4(0x22a)](_0x40f5c2,_0x4a8161){const _0xc0e86d=_0x449ba4,_0x4d4bd7=typeof window>'u'?new URL(_0x40f5c2):new URL(_0x40f5c2,window[_0xc0e86d(0x263)][_0xc0e86d(0x433)]);_0x4d4bd7['searchParams']['set'](_0xc0e86d(0x444),_0x4a8161);const _0x99a641=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xc0e86d(0x263)]['search']);return _0x99a641[_0xc0e86d(0x420)](_0xc0e86d(0x3de))&&_0x4d4bd7[_0xc0e86d(0x3fb)]['set'](_0xc0e86d(0x3de),_0x99a641[_0xc0e86d(0x420)]('runId')),_0x4d4bd7[_0xc0e86d(0x2b9)]();}async[_0x449ba4(0x32b)](){const _0x292c74=_0x449ba4;var _0x3b186e,_0x3170af,_0x5e8789;const _0x1ac8ad=this['_configService'][_0x292c74(0x3bd)](_0x7e6ef6[_0x292c74(0x437)]),_0x40445b=(_0x3b186e=_0x1ac8ad==null?void 0x0:_0x1ac8ad[_0x292c74(0x20c)])!=null?_0x3b186e:_0x7e6ef6[_0x292c74(0x3b6)];return(_0x5e8789=(_0x3170af=(await this[_0x292c74(0x409)]['get'](_0x40445b,{'headers':{'Content-Type':_0x292c74(0x3f0)}}))['body'])==null?void 0x0:_0x3170af['ticket'])!=null?_0x5e8789:'';}},_0x47440c[_0x449ba4(0x417)]=_0x24c319([_0x567845(0x0,_0x4d81d1[_0x449ba4(0x1e6)](_0x4d81d1[_0x449ba4(0x43e)])),_0x567845(0x1,_0x4d81d1[_0x449ba4(0x1e6)](_0xb1173c[_0x449ba4(0x2ce)])),_0x567845(0x2,_0x4d81d1[_0x449ba4(0x3ac)]),_0x567845(0x3,_0x4d81d1[_0x449ba4(0x362)]),_0x567845(0x4,_0x7bc020['ISnapshotServerService'])],_0x47440c[_0x449ba4(0x417)]);const _0x4868c6=0x7530,_0x58648e=_0x449ba4(0x3f1);class _0xf36b04 extends _0x4d81d1['Disposable']{constructor(){const _0x49d592=_0x449ba4;super(),_0xb1ba3a(this,'_id',_0x4d81d1[_0x49d592(0x209)]()),_0xb1ba3a(this,_0x49d592(0x41b),new Set()),_0xb1ba3a(this,_0x49d592(0x206),new Map()),_0xb1ba3a(this,_0x49d592(0x1b7),null),_0xb1ba3a(this,'_clearOtherTimers',new Map()),_0xb1ba3a(this,_0x49d592(0x286),new Map()),this[_0x49d592(0x382)]();}[_0x449ba4(0x3d4)](){const _0x530e2b=_0x449ba4;super[_0x530e2b(0x3d4)](),this[_0x530e2b(0x1b3)][_0x530e2b(0x27b)]((_0xd0208d,_0x3b24fb)=>this[_0x530e2b(0x25b)](_0x3b24fb)),this[_0x530e2b(0x1b7)]&&window[_0x530e2b(0x235)](this[_0x530e2b(0x1b7)]);}[_0x449ba4(0x3b4)](_0x2bf396){const _0x4b6c80=_0x449ba4;return this['_ensureSubject'](_0x2bf396)[_0x4b6c80(0x3b1)](_0x2af810[_0x4b6c80(0x2a0)]());}[_0x449ba4(0x371)](_0xbca97c){const _0x1b692b=_0x449ba4;this[_0x1b692b(0x41b)][_0x1b692b(0x35b)]===0x0&&this[_0x1b692b(0x3a2)](),this[_0x1b692b(0x41b)][_0x1b692b(0x30d)](_0xbca97c),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0xbca97c],'isForwarded':!0x1});}[_0x449ba4(0x40e)](_0x10c7ec){const _0xf4a61e=_0x449ba4;this[_0xf4a61e(0x41b)][_0xf4a61e(0x377)](_0x10c7ec),this[_0xf4a61e(0x41b)][_0xf4a61e(0x35b)]===0x0&&this['_heartbeatTimer']&&window[_0xf4a61e(0x235)](this['_heartbeatTimer']);}[_0x449ba4(0x382)](){const _0x134a5c=_0x449ba4;this[_0x134a5c(0x30e)](_0x4d81d1[_0x134a5c(0x3c5)](_0x2af810[_0x134a5c(0x366)](window,'storage')[_0x134a5c(0x3e8)](_0x2701ff=>{const _0x40654d=_0x134a5c;if(_0x2701ff[_0x40654d(0x33a)]!==_0x58648e||!_0x2701ff['newValue'])return;const _0x4a0347=JSON[_0x40654d(0x29b)](_0x2701ff[_0x40654d(0x303)]);this[_0x40654d(0x35f)](_0x4a0347);}))),window[_0x134a5c(0x38c)]('unload',()=>this[_0x134a5c(0x26a)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x134a5c(0x32c)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x316449){const _0x596580=_0x449ba4;switch(_0x316449[_0x596580(0x353)]){case 0x0:this[_0x596580(0x1e0)](_0x316449);break;case 0x1:this[_0x596580(0x324)](_0x316449);break;case 0x2:this[_0x596580(0x252)](_0x316449);break;}}[_0x449ba4(0x1e0)](_0x39dd71){const _0x4bce2e=_0x449ba4,{unitIDs:_0x27b9b2,memberID:_0x34e024,isForwarded:_0x39cac6}=_0x39dd71;_0x27b9b2['forEach'](_0x1440ca=>{const _0xf668dc=_0x94a3;if(!_0x39cac6&&this[_0xf668dc(0x206)]['has'](_0x1440ca)&&this['_ensureSubject'](_0x1440ca)[_0xf668dc(0x41c)](_0x7e6ef6[_0xf668dc(0x26d)][_0xf668dc(0x436)]),!this[_0xf668dc(0x206)]['has'](_0x1440ca)||!this[_0xf668dc(0x206)][_0xf668dc(0x420)](_0x1440ca)[_0xf668dc(0x3fc)](_0x34e024)){const _0x92a9d4=this[_0xf668dc(0x206)][_0xf668dc(0x420)](_0x1440ca)||new Set();_0x92a9d4['add'](_0x34e024),this[_0xf668dc(0x206)]['set'](_0x1440ca,_0x92a9d4),this[_0xf668dc(0x2bf)](_0x34e024);}}),_0x39cac6||this[_0x4bce2e(0x26a)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x4bce2e(0x41b)]],'isForwarded':!0x0});}[_0x449ba4(0x2bf)](_0x3cf72d){const _0x4066f0=_0x449ba4;this[_0x4066f0(0x25b)](_0x3cf72d);const _0x3fc75b=window[_0x4066f0(0x256)](()=>{const _0x3f36bf=_0x4066f0;this[_0x3f36bf(0x206)]['forEach'](_0x24fb8d=>{const _0x2d0074=_0x3f36bf;_0x24fb8d[_0x2d0074(0x377)](_0x3cf72d);});},_0x4868c6*0x2);this[_0x4066f0(0x1b3)]['set'](_0x3cf72d,_0x3fc75b);}['_removeClearOtherTimer'](_0x43f413){const _0x583eea=_0x449ba4;if(this[_0x583eea(0x1b3)][_0x583eea(0x3fc)](_0x43f413)){const _0x3640a1=this[_0x583eea(0x1b3)]['get'](_0x43f413);_0x3640a1&&window[_0x583eea(0x28b)](_0x3640a1),this['_clearOtherTimers'][_0x583eea(0x34d)](_0x43f413,null);}}[_0x449ba4(0x324)](_0x3aa934){const _0x12ccec=_0x449ba4,{memberID:_0x247121,unitIDs:_0xd340be}=_0x3aa934;_0xd340be[_0x12ccec(0x27b)](_0x292af7=>{const _0x33158b=_0x12ccec;var _0x38122f;const _0x2e5bb7=this[_0x33158b(0x206)][_0x33158b(0x420)](_0x292af7);_0x2e5bb7&&(_0x2e5bb7[_0x33158b(0x377)](_0x247121),(_0x38122f=this['_ensureSubject'](_0x292af7))==null||_0x38122f[_0x33158b(0x41c)](_0x2e5bb7[_0x33158b(0x35b)]===0x0?_0x7e6ef6[_0x33158b(0x26d)][_0x33158b(0x1c4)]:_0x7e6ef6[_0x33158b(0x26d)]['OTHER_CLIENTS_EDITING']));}),this[_0x12ccec(0x25b)](_0x247121);}['_handleHeartbeatEvent'](_0x510411){const _0x4a1c4e=_0x449ba4;this[_0x4a1c4e(0x2bf)](_0x510411['memberID']);}[_0x449ba4(0x26a)](_0x5e342d){const _0x29d7ba=_0x449ba4;localStorage[_0x29d7ba(0x309)](_0x58648e,JSON[_0x29d7ba(0x430)](_0x5e342d));}[_0x449ba4(0x3a2)](){const _0x53ea2e=_0x449ba4;this[_0x53ea2e(0x1b7)]=window[_0x53ea2e(0x21d)](()=>{const _0x5e5db6=_0x53ea2e;this[_0x5e5db6(0x26a)]({'type':0x2,'memberID':this['_id']});},_0x4868c6);}[_0x449ba4(0x21f)](_0x5b24d0){const _0x11224e=_0x449ba4;return this[_0x11224e(0x286)][_0x11224e(0x3fc)](_0x5b24d0)||this[_0x11224e(0x286)][_0x11224e(0x34d)](_0x5b24d0,new _0x2af810[(_0x11224e(0x3dd))](_0x7e6ef6[_0x11224e(0x26d)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x11224e(0x286)][_0x11224e(0x420)](_0x5b24d0);}}var _0x51acbe=(_0x39ae42=>(_0x39ae42[_0x39ae42[_0x449ba4(0x2ac)]=0x0]=_0x449ba4(0x2ac),_0x39ae42[_0x39ae42['OK']=0x1]='OK',_0x39ae42[_0x39ae42[_0x449ba4(0x348)]=0x2]=_0x449ba4(0x348),_0x39ae42[_0x39ae42[_0x449ba4(0x1f4)]=0x3]=_0x449ba4(0x1f4),_0x39ae42[_0x39ae42[_0x449ba4(0x258)]=0x4]=_0x449ba4(0x258),_0x39ae42[_0x39ae42[_0x449ba4(0x40c)]=0x5]=_0x449ba4(0x40c),_0x39ae42[_0x39ae42[_0x449ba4(0x2e6)]=0x6]=_0x449ba4(0x2e6),_0x39ae42[_0x39ae42[_0x449ba4(0x3db)]=0x7]='INVALID_ARGUMENT',_0x39ae42[_0x39ae42[_0x449ba4(0x445)]=0x8]=_0x449ba4(0x445),_0x39ae42[_0x39ae42['COMPLETION_FINISHED']=0x9]=_0x449ba4(0x202),_0x39ae42[_0x39ae42['LOGIN_FAILED']=0xa]=_0x449ba4(0x305),_0x39ae42[_0x39ae42[_0x449ba4(0x278)]=0xb]=_0x449ba4(0x278),_0x39ae42[_0x39ae42[_0x449ba4(0x44e)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x39ae42[_0x39ae42[_0x449ba4(0x1f6)]=0xd]=_0x449ba4(0x1f6),_0x39ae42[_0x39ae42[_0x449ba4(0x23f)]=0xe]=_0x449ba4(0x23f),_0x39ae42[_0x39ae42[_0x449ba4(0x3bc)]=0x1389]=_0x449ba4(0x3bc),_0x39ae42[_0x39ae42[_0x449ba4(0x246)]=0x1771]=_0x449ba4(0x246),_0x39ae42[_0x39ae42[_0x449ba4(0x1d6)]=0x1772]=_0x449ba4(0x1d6),_0x39ae42[_0x39ae42[_0x449ba4(0x2e7)]=0x1773]=_0x449ba4(0x2e7),_0x39ae42[_0x39ae42[_0x449ba4(0x311)]=0x1b59]='APPLY_REJECT',_0x39ae42[_0x39ae42[_0x449ba4(0x239)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x39ae42[_0x39ae42[_0x449ba4(0x2bb)]=0x1b5b]=_0x449ba4(0x2bb),_0x39ae42[_0x39ae42[_0x449ba4(0x236)]=0x1b5c]=_0x449ba4(0x236),_0x39ae42[_0x39ae42[_0x449ba4(0x2ed)]=0x1b5d]=_0x449ba4(0x2ed),_0x39ae42[_0x39ae42[_0x449ba4(0x3d2)]=0x1f41]=_0x449ba4(0x3d2),_0x39ae42[_0x39ae42[_0x449ba4(0x317)]=0x2329]=_0x449ba4(0x317),_0x39ae42[_0x39ae42[_0x449ba4(0x442)]=0x232a]=_0x449ba4(0x442),_0x39ae42[_0x39ae42[_0x449ba4(0x288)]=0x232b]=_0x449ba4(0x288),_0x39ae42[_0x39ae42['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x449ba4(0x2bc),_0x39ae42[_0x39ae42['LICENSE_DISTRO_REJECTED']=0x232d]=_0x449ba4(0x1d5),_0x39ae42[_0x39ae42[_0x449ba4(0x283)]=0x2711]=_0x449ba4(0x283),_0x39ae42[_0x39ae42['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x449ba4(0x216),_0x39ae42[_0x39ae42[_0x449ba4(0x412)]=0x2713]=_0x449ba4(0x412),_0x39ae42[_0x39ae42[_0x449ba4(0x251)]=0x2714]=_0x449ba4(0x251),_0x39ae42[_0x39ae42[_0x449ba4(0x1cf)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x39ae42[_0x39ae42[_0x449ba4(0x217)]=0x271b]=_0x449ba4(0x217),_0x39ae42[_0x39ae42['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x39ae42[_0x39ae42[_0x449ba4(0x2b0)]=0x271d]=_0x449ba4(0x2b0),_0x39ae42[_0x39ae42[_0x449ba4(0x3af)]=0x271e]=_0x449ba4(0x3af),_0x39ae42[_0x39ae42['YUUMI_AI_RUN_FAILED']=0x271f]=_0x449ba4(0x385),_0x39ae42[_0x39ae42[_0x449ba4(0x3ca)]=0x2720]=_0x449ba4(0x3ca),_0x39ae42[_0x39ae42[_0x449ba4(0x1fd)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x39ae42[_0x39ae42[_0x449ba4(0x1ec)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x39ae42[_0x39ae42[_0x449ba4(0x32a)]=0x2ee2]=_0x449ba4(0x32a),_0x39ae42[_0x39ae42[_0x449ba4(0x3c8)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x39ae42[_0x39ae42['USER_NOT_INVITED_CODE']=0x2ee4]=_0x449ba4(0x426),_0x39ae42[_0x39ae42[_0x449ba4(0x250)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x39ae42[_0x39ae42['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x449ba4(0x291),_0x39ae42[_0x39ae42[_0x449ba4(0x33e)]=0x32ca]=_0x449ba4(0x33e),_0x39ae42[_0x39ae42[_0x449ba4(0x1b9)]=0x32cb]=_0x449ba4(0x1b9),_0x39ae42[_0x39ae42[_0x449ba4(0x300)]=-0x1]=_0x449ba4(0x300),_0x39ae42))(_0x51acbe||{}),_0x10bbaf=Object[_0x449ba4(0x1d2)],_0x23bce7=(_0x6cb130,_0x256dc4,_0x56ce2f,_0x3ad002)=>{for(var _0x71fd39=_0x3ad002>0x1?void 0x0:_0x3ad002?_0x10bbaf(_0x256dc4,_0x56ce2f):_0x256dc4,_0x134b50=_0x6cb130['length']-0x1,_0x595a96;_0x134b50>=0x0;_0x134b50--)(_0x595a96=_0x6cb130[_0x134b50])&&(_0x71fd39=_0x595a96(_0x71fd39)||_0x71fd39);return _0x71fd39;},_0x1fc3ad=(_0x5a8638,_0xd2b8d7)=>(_0x14b3a0,_0x39f1d3)=>_0xd2b8d7(_0x14b3a0,_0x39f1d3,_0x5a8638);_0x47440c[_0x449ba4(0x439)]=class extends _0x4d81d1[_0x449ba4(0x1c5)]{constructor(_0x4bad44,_0x9ddf4d,_0x7a2578){const _0x35d49a=_0x449ba4;super(),this[_0x35d49a(0x243)]=_0x4bad44,this[_0x35d49a(0x409)]=_0x9ddf4d,this[_0x35d49a(0x1ea)]=_0x7a2578;}async[_0x449ba4(0x440)](_0x52a29b,_0x402c2d,_0x2d6ff,..._0x2457c5){const _0x40bc55=_0x449ba4;var _0x149263,_0x45db69,_0x280b14,_0x34eec7;const _0xda02d5=this[_0x40bc55(0x243)]['getFocusedUnit']();if(!_0xda02d5)throw new Error(_0x40bc55(0x21b));const _0x41998b=((_0x149263=this[_0x40bc55(0x1ea)][_0x40bc55(0x3bd)](_0x7e6ef6[_0x40bc55(0x2fd)]))!=null?_0x149263:_0x7e6ef6[_0x40bc55(0x27e)])+'/'+_0x52a29b+_0x40bc55(0x24c)+_0x402c2d,_0x343f6a=new URL(window['location']['href']),_0x1d7949={'scriptId':_0x52a29b,'runId':(_0x45db69=_0x343f6a[_0x40bc55(0x3fb)][_0x40bc55(0x420)](_0x40bc55(0x3de)))!=null?_0x45db69:'','function':_0x402c2d,'unitId':_0xda02d5['getUnitId'](),'argsOfFunction':JSON[_0x40bc55(0x430)](_0x2457c5),'invokeId':(_0x280b14=_0x2d6ff['invokeId'])!=null?_0x280b14:'','executionId':(_0x34eec7=_0x2d6ff[_0x40bc55(0x1b6)])!=null?_0x34eec7:''};try{const _0x37bd4e=await this[_0x40bc55(0x409)][_0x40bc55(0x299)](_0x41998b,{'body':_0x1d7949});return _0x37bd4e[_0x40bc55(0x423)][_0x40bc55(0x389)]&&_0x37bd4e[_0x40bc55(0x423)][_0x40bc55(0x389)][_0x40bc55(0x334)]!==_0x51acbe['OK']?'Failed':_0x37bd4e[_0x40bc55(0x423)][_0x40bc55(0x2a3)];}catch{return _0x40bc55(0x3b9);}}},_0x47440c[_0x449ba4(0x439)]=_0x23bce7([_0x1fc3ad(0x0,_0x4d81d1[_0x449ba4(0x218)]),_0x1fc3ad(0x1,_0x4d81d1[_0x449ba4(0x1e6)](_0xb1173c['HTTPService'])),_0x1fc3ad(0x2,_0x4d81d1['IConfigService'])],_0x47440c['RemoteUniscriptService']),_0x47440c['IURLService']=_0x21e793,_0x47440c[_0x449ba4(0x271)]=_0x414759,_0x47440c['WebBrowserSingleActiveUnitService']=_0xf36b04,_0x47440c[_0x449ba4(0x397)]=_0x10be39,Object[_0x449ba4(0x1f7)](_0x47440c,Symbol[_0x449ba4(0x327)],{'value':'Module'});}));
|