@univerjs-pro/collaboration-client-ui 0.9.2-nightly.202507111607 → 0.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/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/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/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/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/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 +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(_0x33ce42,_0x3d85c9){const _0x34a52f=_0x380c,_0x361ba2=_0x33ce42();while(!![]){try{const _0x2d7341=parseInt(_0x34a52f(0x438))/0x1*(parseInt(_0x34a52f(0x22a))/0x2)+-parseInt(_0x34a52f(0x2ed))/0x3*(parseInt(_0x34a52f(0x1e7))/0x4)+-parseInt(_0x34a52f(0x278))/0x5+-parseInt(_0x34a52f(0x3cb))/0x6+-parseInt(_0x34a52f(0x363))/0x7+-parseInt(_0x34a52f(0x360))/0x8*(parseInt(_0x34a52f(0x310))/0x9)+-parseInt(_0x34a52f(0x244))/0xa*(-parseInt(_0x34a52f(0x28f))/0xb);if(_0x2d7341===_0x3d85c9)break;else _0x361ba2['push'](_0x361ba2['shift']());}catch(_0x4484af){_0x361ba2['push'](_0x361ba2['shift']());}}}(_0x1c90,0xed3af),function(_0x5be0,_0x355b42){const _0x571866=_0x380c;typeof exports==_0x571866(0x2fe)&&typeof module<'u'?_0x355b42(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[_0x571866(0x3ab)]?define([_0x571866(0x284),'@univerjs-pro/collaboration-client','@univerjs/core',_0x571866(0x3be),'@univerjs/network','@univerjs/docs-ui',_0x571866(0x322),_0x571866(0x42f),'@univerjs-pro/collaboration',_0x571866(0x296),_0x571866(0x388),_0x571866(0x2b4),'rxjs/operators','@univerjs/sheets-ui',_0x571866(0x329),_0x571866(0x36f),_0x571866(0x3e3),_0x571866(0x1f1),_0x571866(0x282)],_0x355b42):(_0x5be0=typeof globalThis<'u'?globalThis:_0x5be0||self,_0x355b42(_0x5be0['UniverProCollaborationClientUi']={},_0x5be0[_0x571866(0x269)],_0x5be0[_0x571866(0x458)],_0x5be0[_0x571866(0x28c)],_0x5be0['UniverNetwork'],_0x5be0[_0x571866(0x3e8)],_0x5be0['UniverDrawing'],_0x5be0[_0x571866(0x42f)],_0x5be0[_0x571866(0x478)],_0x5be0[_0x571866(0x345)],_0x5be0[_0x571866(0x261)],_0x5be0['UniverSheets'],_0x5be0[_0x571866(0x42f)][_0x571866(0x38b)],_0x5be0[_0x571866(0x45a)],_0x5be0[_0x571866(0x43b)],_0x5be0[_0x571866(0x2e4)],_0x5be0[_0x571866(0x25b)],_0x5be0['React'],_0x5be0[_0x571866(0x33b)]));}(this,function(_0x560529,_0x532bba,_0x5c9413,_0x1f04f6,_0x592e97,_0x2f8870,_0x5b296f,_0x5c807f,_0x492d9e,_0x39044d,_0x56a760,_0x333a7c,_0x44133d,_0xd824ff,_0x329810,_0x4db0e6,_0x27f590,_0x47ddff,_0x51bc92){'use strict';const _0x12a2cc=_0x380c;var _0x4491df=Object[_0x12a2cc(0x295)],_0x3a8d07=(_0x8e6385,_0x1014e2,_0x4ef187)=>_0x1014e2 in _0x8e6385?_0x4491df(_0x8e6385,_0x1014e2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ef187}):_0x8e6385[_0x1014e2]=_0x4ef187,_0x1206b7=(_0x2bb139,_0xd2cf92,_0x3d7af7)=>_0x3a8d07(_0x2bb139,typeof _0xd2cf92!=_0x12a2cc(0x33f)?_0xd2cf92+'':_0xd2cf92,_0x3d7af7),_0x342c65=Object[_0x12a2cc(0x436)],_0x1216c6=(_0x4c022d,_0x5a9520,_0x403d91,_0x24f930)=>{for(var _0x23389a=_0x24f930>0x1?void 0x0:_0x24f930?_0x342c65(_0x5a9520,_0x403d91):_0x5a9520,_0x10668b=_0x4c022d['length']-0x1,_0x1d4e69;_0x10668b>=0x0;_0x10668b--)(_0x1d4e69=_0x4c022d[_0x10668b])&&(_0x23389a=_0x1d4e69(_0x23389a)||_0x23389a);return _0x23389a;},_0x3cc4e5=(_0x1f467b,_0x5105c7)=>(_0x4ff762,_0x2c4a0d)=>_0x5105c7(_0x4ff762,_0x2c4a0d,_0x1f467b);let _0x29cac0=class extends _0x5c9413[_0x12a2cc(0x435)]{constructor(_0x3e663c,_0x3670af){const _0x576a6b=_0x12a2cc;super(),this[_0x576a6b(0x431)]=_0x3e663c,this[_0x576a6b(0x3b7)]=_0x3670af,this['_init']();}[_0x12a2cc(0x47c)](){const _0x289bda=_0x12a2cc,_0x3e1f6d=this;this[_0x289bda(0x30f)](this['_docClipboardService'][_0x289bda(0x1f3)]({'onBeforePasteImage':async _0x50cb78=>{const _0x5d4451=_0x289bda,_0x364abe=await _0x3e1f6d[_0x5d4451(0x3b7)][_0x5d4451(0x221)](_0x50cb78);return _0x364abe?{'source':_0x364abe['source'],'imageSourceType':_0x364abe[_0x5d4451(0x25f)]}:null;}}));}};_0x29cac0=_0x1216c6([_0x3cc4e5(0x0,_0x2f8870[_0x12a2cc(0x212)]),_0x3cc4e5(0x1,_0x5b296f[_0x12a2cc(0x3b9)])],_0x29cac0);const _0x56947e=[_0x12a2cc(0x3f3),_0x12a2cc(0x389),_0x12a2cc(0x2cd),_0x12a2cc(0x460),'blue.400',_0x12a2cc(0x479)];class _0x581544 extends _0x5c9413[_0x12a2cc(0x474)]{constructor(){const _0x1592f0=_0x12a2cc;super(...arguments),_0x1206b7(this,_0x1592f0(0x202),new Map()),_0x1206b7(this,'_colorIndex',0x0);}[_0x12a2cc(0x304)](_0x4a641b){const _0x527acb=_0x12a2cc;if(this[_0x527acb(0x202)][_0x527acb(0x3f7)](_0x4a641b))return this[_0x527acb(0x202)][_0x527acb(0x2f0)](_0x4a641b);const _0x2b6558=_0x56947e[this[_0x527acb(0x208)]];return this[_0x527acb(0x208)]=(this[_0x527acb(0x208)]+0x1)%_0x56947e[_0x527acb(0x386)],this[_0x527acb(0x202)][_0x527acb(0x2ee)](_0x4a641b,_0x2b6558),_0x2b6558;}}function _0x356069(_0x57bf54){const _0x4fb418=_0x12a2cc;let _0x55abb5='';for(const _0x4ebaec of _0x57bf54){const {startOffset:_0x2784f8,endOffset:_0xb0cd85,isActive:_0x45c346,rangeType:_0x43f307,segmentId:_0x36cf4d,segmentPage:_0x7e1a05}=_0x4ebaec;_0x55abb5[_0x4fb418(0x386)]&&(_0x55abb5+=','),_0x55abb5+=_0x2784f8+':'+_0xb0cd85+':'+(_0x45c346?'1':'0')+':'+_0x43f307+':'+_0x36cf4d+':'+_0x7e1a05;}return _0x55abb5;}function _0xed9895(_0x20ce09){const _0x1b4333=_0x12a2cc,_0x1560e6=_0x20ce09[_0x1b4333(0x333)](','),_0x5ede26=[];for(const _0x3b2284 of _0x1560e6){const [_0x225761,_0x128eff,_0x546a52,_0x29bb5c,_0x3dd432,_0x50233f]=_0x3b2284[_0x1b4333(0x333)](':');_0x5ede26[_0x1b4333(0x39d)]({'startOffset':Number(_0x225761),'endOffset':Number(_0x128eff),'collapsed':_0x225761===_0x128eff,'isActive':_0x546a52==='1','rangeType':_0x29bb5c===_0x5c9413[_0x1b4333(0x3d4)][_0x1b4333(0x25a)]?_0x5c9413[_0x1b4333(0x3d4)]['TEXT']:_0x5c9413[_0x1b4333(0x3d4)][_0x1b4333(0x321)],'segmentId':typeof _0x3dd432==_0x1b4333(0x3d8)?String(_0x3dd432):'','segmentPage':Number(_0x50233f!=null?_0x50233f:-0x1)});}return _0x5ede26[_0x1b4333(0x273)](_0x579809=>_0x579809[_0x1b4333(0x26d)])||(_0x5ede26[0x0][_0x1b4333(0x26d)]=!0x0),_0x5ede26;}class _0x43ae26 extends _0x5c9413[_0x12a2cc(0x435)]{constructor(){const _0x54e253=_0x12a2cc;super(...arguments),_0x1206b7(this,'_collabCursorState$',new _0x5c807f[(_0x54e253(0x3bb))](null)),_0x1206b7(this,_0x54e253(0x2b1),this[_0x54e253(0x24c)]['asObservable']());}['syncEditingCollabCursor'](_0x18a053){const _0x3f3d0b=_0x12a2cc,{unitID:_0x2f80b3,memberID:_0x1be441,textRanges:_0x336a6c}=_0x18a053,_0x23e488=_0x356069(_0x336a6c);if(_0x23e488==='')return;const _0x15a72b={'unitID':_0x2f80b3,'memberID':_0x1be441,'selection':_0x23e488};this[_0x3f3d0b(0x24c)][_0x3f3d0b(0x1eb)](_0x15a72b);}}var _0xb3778f=Object[_0x12a2cc(0x436)],_0x3b2df8=(_0x167bd5,_0x5b9a73,_0x1e9b53,_0x4e5e2a)=>{const _0x4e7ab1=_0x12a2cc;for(var _0x72416b=_0x4e5e2a>0x1?void 0x0:_0x4e5e2a?_0xb3778f(_0x5b9a73,_0x1e9b53):_0x5b9a73,_0x50c826=_0x167bd5[_0x4e7ab1(0x386)]-0x1,_0x41d372;_0x50c826>=0x0;_0x50c826--)(_0x41d372=_0x167bd5[_0x50c826])&&(_0x72416b=_0x41d372(_0x72416b)||_0x72416b);return _0x72416b;},_0x3a1690=(_0x11bbb3,_0x5e783f)=>(_0x1bb42d,_0x5c4150)=>_0x5e783f(_0x1bb42d,_0x5c4150,_0x11bbb3);const _0x4362ea=0x12c,_0x56a9f7=0x64;let _0x2b76d1=class extends _0x5c9413[_0x12a2cc(0x435)]{constructor(_0x246d2a,_0x1189ca,_0x41f9ce,_0x2b48a7,_0x28d50e,_0x42f48b,_0x48be0b,_0x2f5853,_0x4785ed){const _0x210f65=_0x12a2cc;super(),_0x1206b7(this,_0x210f65(0x214),!0x1),_0x1206b7(this,'_init',!0x1),_0x1206b7(this,'_cursorInfo$',new _0x5c807f[(_0x210f65(0x3bb))](new Map())),_0x1206b7(this,'cursorInfo$',this['_cursorInfo$'][_0x210f65(0x2f5)]()),_0x1206b7(this,_0x210f65(0x34f),new _0x5c807f[(_0x210f65(0x3bb))]([])),_0x1206b7(this,'roomMembers$',this[_0x210f65(0x34f)][_0x210f65(0x2af)](_0x5c807f['debounceTime'](_0x4362ea))),_0x1206b7(this,_0x210f65(0x40e),_0x5c9413[_0x210f65(0x47f)](_0x1906f6=>{const _0x3edadb=_0x210f65,_0x1bcc73={'eventID':_0x492d9e['CollaborationEvent'][_0x3edadb(0x313)],'data':{'unitID':this[_0x3edadb(0x2c8)],'memberID':this['_session'][_0x3edadb(0x477)](),'selection':_0x356069(_0x1906f6)}};this[_0x3edadb(0x27c)]['send'](_0x1bcc73,this[_0x3edadb(0x2c8)]);},_0x56a9f7)),(this[_0x210f65(0x2c8)]=_0x246d2a,this['_session']=_0x1189ca,this[_0x210f65(0x2fb)]=_0x41f9ce,this[_0x210f65(0x307)]=_0x2b48a7,this[_0x210f65(0x327)]=_0x28d50e,this[_0x210f65(0x23c)]=_0x42f48b,this[_0x210f65(0x270)]=_0x48be0b,this[_0x210f65(0x364)]=_0x2f5853,this[_0x210f65(0x2f2)]=_0x4785ed);}get[_0x12a2cc(0x452)](){const _0x5bc9cd=_0x12a2cc;return this[_0x5bc9cd(0x311)][_0x5bc9cd(0x29e)]();}get[_0x12a2cc(0x36d)](){const _0x464b36=_0x12a2cc;return this['_roomMembers$'][_0x464b36(0x29e)]();}[_0x12a2cc(0x2eb)](){const _0xafb7a5=_0x12a2cc;super[_0xafb7a5(0x2eb)](),this[_0xafb7a5(0x311)][_0xafb7a5(0x1eb)](new Map()),this[_0xafb7a5(0x311)][_0xafb7a5(0x37a)](),this['_roomMembers$'][_0xafb7a5(0x1eb)]([]),this[_0xafb7a5(0x34f)]['complete']();}[_0x12a2cc(0x222)](){const _0x348348=_0x12a2cc;this[_0x348348(0x47c)]||(this['_init']=!0x0,this[_0x348348(0x27c)][_0x348348(0x20c)][_0x348348(0x2af)](_0x5c807f[_0x348348(0x457)](this[_0x348348(0x291)]))[_0x348348(0x29f)](_0x3e6a69=>{const _0x15ad59=_0x348348;_0x3e6a69===_0x532bba[_0x15ad59(0x334)][_0x15ad59(0x294)]?this[_0x15ad59(0x402)]():this['_toggleOffline']();}),this[_0x348348(0x27c)][_0x348348(0x355)][_0x348348(0x2af)](_0x5c807f[_0x348348(0x457)](this[_0x348348(0x291)]))[_0x348348(0x29f)](_0x449278=>{const _0xc175f4=_0x348348,_0x3bdc3f=_0x449278['eventID'];_0x3bdc3f===_0x492d9e[_0xc175f4(0x336)][_0xc175f4(0x313)]&&this[_0xc175f4(0x20e)](_0x449278),_0x3bdc3f===_0x492d9e[_0xc175f4(0x336)][_0xc175f4(0x3fd)]&&this[_0xc175f4(0x2ca)](_0x449278);}),this[_0x348348(0x30f)](this[_0x348348(0x2f2)][_0x348348(0x2b0)](_0x1fd189=>{const _0x322f48=_0x348348,_0x3e70b4=_0x1fd189[_0x322f48(0x281)];_0x3e70b4!=null&&this['_online']&&_0x1fd189['id']===_0x39044d[_0x322f48(0x348)]['id']&&_0x3e70b4['unitId']===this[_0x322f48(0x2c8)]&&_0x3e70b4['isEditing']===!0x1&&_0x3e70b4[_0x322f48(0x1e6)][_0x322f48(0x386)]>0x0&&this[_0x322f48(0x40e)](_0x3e70b4[_0x322f48(0x1e6)]);})),this['_syncEditingCollabCursorService'][_0x348348(0x2b1)]['pipe'](_0x5c807f[_0x348348(0x457)](this[_0x348348(0x291)]))[_0x348348(0x29f)](_0x26e77e=>{const _0x42c5d4=_0x348348;if((_0x26e77e==null?void 0x0:_0x26e77e[_0x42c5d4(0x2c8)])!==this[_0x42c5d4(0x2c8)])return;const _0x4e1ea1={'eventID':_0x492d9e[_0x42c5d4(0x336)]['UPDATE_CURSOR'],'data':_0x26e77e};this[_0x42c5d4(0x20e)](_0x4e1ea1);}),this[_0x348348(0x30f)](this[_0x348348(0x2f2)]['onCommandExecuted'](_0x855a2d=>{const _0x568a5e=_0x348348;if(_0x855a2d['params']==null)return;const _0x449a37=_0x855a2d[_0x568a5e(0x281)];if(_0x855a2d['id']!==_0x39044d['RichTextEditingMutation']['id']||_0x449a37[_0x568a5e(0x330)]!==this[_0x568a5e(0x2c8)])return;const _0x36941c={'id':'doc.mutation.rich-text-editing','params':_0x449a37},_0x57d4b4=this['cursorInfo'];for(const [_0x45f464,_0x4b919d]of _0x57d4b4){const _0x3a76d9={'id':_0x568a5e(0x3a9),'params':{'unitId':this[_0x568a5e(0x2c8)],'actions':null,'textRanges':_0x4b919d[_0x568a5e(0x1e6)]}},_0x3b0760=this[_0x568a5e(0x270)][_0x568a5e(0x305)](_0x36941c,_0x3a76d9,!0x1);if(_0x492d9e[_0x568a5e(0x31b)](_0x3b0760))throw _0x3b0760[_0x568a5e(0x262)];_0x57d4b4['set'](_0x45f464,{..._0x4b919d,'ranges':_0x3b0760[_0x568a5e(0x3c9)][_0x568a5e(0x281)][_0x568a5e(0x280)]});}queueMicrotask(()=>{const _0x26d027=_0x568a5e;this[_0x26d027(0x311)]['next'](_0x57d4b4);});})));}[_0x12a2cc(0x20e)](_0x4f3596){const _0xe6ccf5=_0x12a2cc;var _0x326911,_0x142a84;const {memberID:_0x28cf51,selection:_0x13a6f2}=_0x4f3596[_0xe6ccf5(0x2ff)],_0x4c5fd1=_0xed9895(_0x13a6f2),_0x2f8b56=(_0x142a84=(_0x326911=this[_0xe6ccf5(0x327)]['getMember'](this[_0xe6ccf5(0x2c8)],_0x28cf51))==null?void 0x0:_0x326911['name'])!=null?_0x142a84:'Unknown\x20user',_0x7c5661={'color':this[_0xe6ccf5(0x307)][_0xe6ccf5(0x304)](_0x28cf51),'name':_0x2f8b56,'ranges':_0x4c5fd1},_0x3d2f27=this[_0xe6ccf5(0x452)];_0x3d2f27[_0xe6ccf5(0x2ee)](_0x28cf51,_0x7c5661),this[_0xe6ccf5(0x311)][_0xe6ccf5(0x1eb)](_0x3d2f27);}[_0x12a2cc(0x2ca)](_0x48dbc3){const _0x1f8c79=_0x12a2cc,{memberID:_0x7de29f}=_0x48dbc3[_0x1f8c79(0x2ff)],_0x536f5e=this[_0x1f8c79(0x452)];_0x536f5e['delete'](_0x7de29f),this[_0x1f8c79(0x311)][_0x1f8c79(0x1eb)](_0x536f5e);}['_toggleOnline'](){const _0x183290=_0x12a2cc;var _0x440fe3;if(this[_0x183290(0x214)]=!0x0,((_0x440fe3=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x440fe3[_0x183290(0x45f)]())!==this[_0x183290(0x2c8)])return;const _0x3bc9d4=this[_0x183290(0x2fb)][_0x183290(0x2f0)](_0x39044d['DocSelectionManagerService'])[_0x183290(0x2e0)]();Array[_0x183290(0x2c4)](_0x3bc9d4)&&_0x3bc9d4[_0x183290(0x386)]>0x0&&this[_0x183290(0x40e)](_0x3bc9d4);}[_0x12a2cc(0x35b)](){const _0x3d0d39=_0x12a2cc;this[_0x3d0d39(0x214)]=!0x1;}};_0x2b76d1=_0x3b2df8([_0x3a1690(0x2,_0x5c9413[_0x12a2cc(0x38c)](_0x5c9413[_0x12a2cc(0x414)])),_0x3a1690(0x3,_0x5c9413['Inject'](_0x581544)),_0x3a1690(0x4,_0x5c9413['Inject'](_0x532bba[_0x12a2cc(0x1f9)])),_0x3a1690(0x5,_0x5c9413[_0x12a2cc(0x38c)](_0x43ae26)),_0x3a1690(0x6,_0x492d9e['ITransformService']),_0x3a1690(0x7,_0x5c9413[_0x12a2cc(0x35d)]),_0x3a1690(0x8,_0x5c9413['ICommandService'])],_0x2b76d1);var _0x59592f=Object[_0x12a2cc(0x436)],_0x12a290=(_0x58f8df,_0xcdc03f,_0x4fcc54,_0x305e7e)=>{const _0x3125e2=_0x12a2cc;for(var _0x5d889f=_0x305e7e>0x1?void 0x0:_0x305e7e?_0x59592f(_0xcdc03f,_0x4fcc54):_0xcdc03f,_0x445e33=_0x58f8df[_0x3125e2(0x386)]-0x1,_0x5aae63;_0x445e33>=0x0;_0x445e33--)(_0x5aae63=_0x58f8df[_0x445e33])&&(_0x5d889f=_0x5aae63(_0x5d889f)||_0x5d889f);return _0x5d889f;},_0x52aae1=(_0x4cfa82,_0x258e49)=>(_0xbfd866,_0x161b33)=>_0x258e49(_0xbfd866,_0x161b33,_0x4cfa82);const _0x1669df=0x12c,_0x473ae1=0x64,_0x1948a3=()=>{let _0x170eeb=[],_0x1f1d24=!0x1;return _0x1aa1df=>{const _0x4b0508=_0x380c;_0x170eeb[_0x4b0508(0x39d)](_0x1aa1df),_0x1f1d24||(_0x1f1d24=!0x0,setTimeout(()=>{_0x170eeb['forEach'](_0x579148=>_0x579148()),_0x170eeb=[],_0x1f1d24=!0x1;}));};};let _0x105539=class extends _0x5c9413['RxDisposable']{constructor(_0x1aaa65,_0x39987c,_0x57b8ba,_0x5d46db,_0x12013a,_0x1ef3b0,_0x2c1e80,_0x27750a){const _0x27a944=_0x12a2cc;super(),_0x1206b7(this,_0x27a944(0x214),!0x1),_0x1206b7(this,_0x27a944(0x47c),!0x1),_0x1206b7(this,_0x27a944(0x311),new _0x5c807f[(_0x27a944(0x3bb))](new Map())),_0x1206b7(this,_0x27a944(0x2bc),this[_0x27a944(0x311)][_0x27a944(0x2f5)]()),_0x1206b7(this,_0x27a944(0x34f),new _0x5c807f['BehaviorSubject']([])),_0x1206b7(this,_0x27a944(0x1fe),this['_roomMembers$'][_0x27a944(0x2af)](_0x5c807f[_0x27a944(0x30b)](_0x1669df))),_0x1206b7(this,_0x27a944(0x40e),_0x5c9413[_0x27a944(0x47f)]((_0x543ddf,_0x29533e)=>{const _0x1c82e2=_0x27a944,_0x46a92e={'eventID':_0x492d9e['CollaborationEvent'][_0x1c82e2(0x313)],'data':{'unitID':this[_0x1c82e2(0x2c8)],'memberID':this['_session']['getMemberID'](),'selection':_0x56a760[_0x1c82e2(0x253)](_0x543ddf,_0x29533e[_0x1c82e2(0x33a)])}};this[_0x1c82e2(0x27c)]['send'](_0x46a92e,this[_0x1c82e2(0x2c8)]);},_0x473ae1)),(this[_0x27a944(0x2c8)]=_0x1aaa65,this[_0x27a944(0x27c)]=_0x39987c,this[_0x27a944(0x2fb)]=_0x57b8ba,this[_0x27a944(0x307)]=_0x5d46db,this[_0x27a944(0x327)]=_0x12013a,this[_0x27a944(0x364)]=_0x1ef3b0,this['_commandService']=_0x2c1e80,this[_0x27a944(0x21e)]=_0x27750a);}get[_0x12a2cc(0x452)](){const _0x261cab=_0x12a2cc;return this[_0x261cab(0x311)]['getValue']();}get[_0x12a2cc(0x36d)](){const _0x132164=_0x12a2cc;return this[_0x132164(0x34f)]['getValue']();}['dispose'](){const _0x3362b9=_0x12a2cc;super['dispose'](),this[_0x3362b9(0x311)][_0x3362b9(0x1eb)](new Map()),this[_0x3362b9(0x311)][_0x3362b9(0x37a)](),this['_roomMembers$'][_0x3362b9(0x1eb)]([]),this[_0x3362b9(0x34f)][_0x3362b9(0x37a)]();}[_0x12a2cc(0x222)](){const _0x3021fe=_0x12a2cc;this['_init']||(this[_0x3021fe(0x47c)]=!0x0,this['_session'][_0x3021fe(0x20c)]['pipe'](_0x5c807f['takeUntil'](this['dispose$']))[_0x3021fe(0x29f)](_0x1f2d8e=>{const _0xb183fc=_0x3021fe;_0x1f2d8e===_0x532bba['SessionStatus']['ONLINE']?this[_0xb183fc(0x402)]():this[_0xb183fc(0x35b)]();}),this['_session'][_0x3021fe(0x355)][_0x3021fe(0x2af)](_0x5c807f[_0x3021fe(0x457)](this[_0x3021fe(0x291)]))[_0x3021fe(0x29f)](_0x10e904=>{const _0x3d0355=_0x3021fe,_0x5c725b=_0x10e904['eventID'];_0x5c725b===_0x492d9e['CollaborationEvent'][_0x3d0355(0x313)]&&this[_0x3d0355(0x20e)](_0x10e904),_0x5c725b===_0x492d9e['CollaborationEvent']['USERS_LEAVE']&&this[_0x3d0355(0x2ca)](_0x10e904);}),this[_0x3021fe(0x341)](),this['disposeWithMe'](this[_0x3021fe(0x2f2)]['onCommandExecuted'](_0x5007e9=>{const _0x37eac1=_0x3021fe;if(this['_online']&&_0x5007e9['id']===_0x333a7c[_0x37eac1(0x2f4)]['id']&&_0x5007e9[_0x37eac1(0x281)][_0x37eac1(0x330)]===this[_0x37eac1(0x2c8)]){const _0xd365f5=_0x5007e9['params'];this[_0x37eac1(0x40e)](_0xd365f5[_0x37eac1(0x2a3)],_0xd365f5['selections'][0x0]);}})));}[_0x12a2cc(0x20e)](_0xe678d6){const _0x1d54c5=_0x12a2cc;var _0x3db30a,_0x1a738c;const {memberID:_0x7d52da,selection:_0x208bf3}=_0xe678d6['data'],{sheetName:_0x1a8770,range:_0xc3fcc0}=_0x56a760['deserializeRangeWithSheet'](_0x208bf3),_0x41de9a={'name':(_0x1a738c=(_0x3db30a=this[_0x1d54c5(0x327)][_0x1d54c5(0x2d1)](this['unitID'],_0x7d52da))==null?void 0x0:_0x3db30a[_0x1d54c5(0x3c4)])!=null?_0x1a738c:_0x1d54c5(0x268),'range':this[_0x1d54c5(0x398)](_0x1a8770,_0xc3fcc0),'sheetID':_0x1a8770,'color':this[_0x1d54c5(0x307)][_0x1d54c5(0x304)](_0x7d52da),'selection':_0x208bf3},_0x2a1d9a=this['cursorInfo'];_0x2a1d9a[_0x1d54c5(0x2ee)](_0x7d52da,_0x41de9a),this['_cursorInfo$'][_0x1d54c5(0x1eb)](_0x2a1d9a);}[_0x12a2cc(0x2ca)](_0x584616){const _0x4340d1=_0x12a2cc,{memberID:_0x188ac8}=_0x584616[_0x4340d1(0x2ff)],_0x2c63b5=this[_0x4340d1(0x452)];_0x2c63b5[_0x4340d1(0x1f6)](_0x188ac8),this[_0x4340d1(0x311)][_0x4340d1(0x1eb)](_0x2c63b5);}['_getMergeRange'](_0x2b9f2a,_0x4f9306){const _0x16b116=_0x12a2cc;var _0x1ea0e6,_0x827bfe;const _0xb49173=(_0x827bfe=(_0x1ea0e6=this[_0x16b116(0x364)]['getUniverSheetInstance'](this[_0x16b116(0x2c8)]))==null?void 0x0:_0x1ea0e6[_0x16b116(0x30c)](_0x2b9f2a))==null?void 0x0:_0x827bfe['getMergeData']();return(_0xb49173==null?void 0x0:_0xb49173['find'](_0x3123a2=>_0x5c9413['Rectangle']['contains'](_0x3123a2,_0x4f9306)))||_0x4f9306;}[_0x12a2cc(0x341)](){const _0x5ca1f4=_0x12a2cc,_0x220188=new _0x5c9413[(_0x5ca1f4(0x213))](),_0x1459a9=_0x1948a3(),_0x391d03=()=>{const _0x3d1196=_0x5ca1f4;_0x220188[_0x3d1196(0x2eb)]();const _0x273cb0=(_0x473c7d,_0x45586a,_0x25344c,_0x5adc84)=>{const _0x35ef99=_0x3d1196;let _0x49a411=[];switch(_0x473c7d['id']){case _0x333a7c['EffectRefRangId'][_0x35ef99(0x396)]:{_0x49a411=_0x333a7c[_0x35ef99(0x3bc)](_0x473c7d,_0x5adc84);break;}case _0x333a7c[_0x35ef99(0x3fc)][_0x35ef99(0x359)]:{_0x49a411=_0x333a7c['handleDeleteRangeMoveUp'](_0x473c7d,_0x5adc84);break;}case _0x333a7c[_0x35ef99(0x3fc)]['InsertColCommandId']:{_0x49a411=_0x333a7c[_0x35ef99(0x298)](_0x473c7d,_0x5adc84);break;}case _0x333a7c[_0x35ef99(0x3fc)][_0x35ef99(0x2ec)]:{_0x49a411=_0x333a7c[_0x35ef99(0x21a)](_0x473c7d,_0x5adc84);break;}case _0x333a7c[_0x35ef99(0x3fc)][_0x35ef99(0x3d2)]:{_0x49a411=_0x333a7c[_0x35ef99(0x27d)](_0x473c7d,_0x5adc84);break;}case _0x333a7c['EffectRefRangId'][_0x35ef99(0x250)]:{_0x49a411=_0x333a7c[_0x35ef99(0x1fd)](_0x473c7d,_0x5adc84);break;}case _0x333a7c[_0x35ef99(0x3fc)][_0x35ef99(0x2c2)]:{_0x49a411=_0x333a7c[_0x35ef99(0x432)](_0x473c7d,_0x5adc84);break;}case _0x333a7c['EffectRefRangId'][_0x35ef99(0x397)]:{_0x49a411=_0x333a7c[_0x35ef99(0x37b)](_0x473c7d,_0x5adc84);break;}case _0x333a7c['EffectRefRangId'][_0x35ef99(0x3de)]:{_0x49a411=_0x333a7c['handleIRemoveRow'](_0x473c7d,_0x5adc84);break;}}const _0x3316e8=_0x333a7c[_0x35ef99(0x219)](_0x49a411,_0x5adc84),_0x5037bb=this[_0x35ef99(0x452)][_0x35ef99(0x2f0)](_0x45586a);if(_0x5037bb&&_0x3316e8){const _0xdcf26c={..._0x5037bb,'range':_0x3316e8};this['cursorInfo'][_0x35ef99(0x2ee)](_0x45586a,_0xdcf26c),_0x1459a9(()=>{const _0x1aef7b=_0x35ef99,_0x1bd54d=this['_refRangeService']['registerRefRange'](_0x3316e8,_0x2fb6a4=>(_0x1bd54d[_0x1aef7b(0x2eb)](),_0x273cb0(_0x2fb6a4,_0x45586a,_0x25344c,_0x3316e8)));_0x220188['add'](_0x1bd54d);});}return{'redos':[],'undos':[]};};this[_0x3d1196(0x452)]['forEach']((_0x184737,_0x11a930)=>{const _0x10cf33=_0x3d1196,{range:_0x4995e6,sheetID:_0x282986}=_0x184737,_0x4ed37d=this[_0x10cf33(0x21e)][_0x10cf33(0x419)](_0x4995e6,_0x7b44fc=>(_0x4ed37d['dispose'](),_0x273cb0(_0x7b44fc,_0x11a930,_0x282986,_0x4995e6)));_0x220188[_0x10cf33(0x209)](_0x4ed37d);});};this[_0x5ca1f4(0x30f)](_0x5c9413[_0x5ca1f4(0x3e0)](this[_0x5ca1f4(0x311)][_0x5ca1f4(0x29f)](()=>{_0x391d03();})));}['_toggleOnline'](){const _0x2128d6=_0x12a2cc;var _0x311b08,_0x99bd97;if(this[_0x2128d6(0x214)]=!0x0,((_0x311b08=this[_0x2128d6(0x364)][_0x2128d6(0x3a3)]())==null?void 0x0:_0x311b08[_0x2128d6(0x45f)]())!==this[_0x2128d6(0x2c8)])return;const _0xfafd37=(_0x99bd97=this[_0x2128d6(0x2fb)][_0x2128d6(0x2f0)](_0x333a7c[_0x2128d6(0x46f)])['getCurrentSelections']())==null?void 0x0:_0x99bd97[0x0],_0x347886=this[_0x2128d6(0x364)][_0x2128d6(0x2f3)](_0x5c9413[_0x2128d6(0x2be)][_0x2128d6(0x3ea)])[_0x2128d6(0x27a)]();_0xfafd37&&_0x347886&&this[_0x2128d6(0x40e)](_0x347886[_0x2128d6(0x3ad)](),_0xfafd37);}[_0x12a2cc(0x35b)](){const _0x356c3b=_0x12a2cc;this[_0x356c3b(0x214)]=!0x1;}};_0x105539=_0x12a290([_0x52aae1(0x2,_0x5c9413[_0x12a2cc(0x38c)](_0x5c9413[_0x12a2cc(0x414)])),_0x52aae1(0x3,_0x5c9413[_0x12a2cc(0x38c)](_0x581544)),_0x52aae1(0x4,_0x5c9413[_0x12a2cc(0x38c)](_0x532bba[_0x12a2cc(0x1f9)])),_0x52aae1(0x5,_0x5c9413[_0x12a2cc(0x35d)]),_0x52aae1(0x6,_0x5c9413[_0x12a2cc(0x3a8)]),_0x52aae1(0x7,_0x5c9413['Inject'](_0x333a7c['RefRangeService']))],_0x105539);var _0x1102b2=Object[_0x12a2cc(0x436)],_0x5493ee=(_0x4a1ef0,_0x181960,_0x3323f9,_0x5732d8)=>{const _0x3d53e9=_0x12a2cc;for(var _0x1f4153=_0x5732d8>0x1?void 0x0:_0x5732d8?_0x1102b2(_0x181960,_0x3323f9):_0x181960,_0x29faf4=_0x4a1ef0[_0x3d53e9(0x386)]-0x1,_0x394496;_0x29faf4>=0x0;_0x29faf4--)(_0x394496=_0x4a1ef0[_0x29faf4])&&(_0x1f4153=_0x394496(_0x1f4153)||_0x1f4153);return _0x1f4153;},_0x51f023=(_0x227f8f,_0x2d4670)=>(_0x3ef061,_0x558593)=>_0x2d4670(_0x3ef061,_0x558593,_0x227f8f);let _0x44788c=class extends _0x5c9413[_0x12a2cc(0x435)]{constructor(_0x26a447,_0x29266b,_0x5e8fb9){const _0x47579e=_0x12a2cc;super(),_0x1206b7(this,'_entities',new Map()),_0x1206b7(this,'_entityInit$',new _0x5c807f['Subject']()),(this[_0x47579e(0x364)]=_0x26a447,this[_0x47579e(0x2fb)]=_0x29266b,this['_collabSessionService']=_0x5e8fb9,this[_0x47579e(0x47c)]());}['dispose'](){const _0x104df6=_0x12a2cc;super[_0x104df6(0x2eb)](),this['_entityInit$'][_0x104df6(0x37a)](),this[_0x104df6(0x23b)]['forEach'](_0x1ffb0d=>_0x1ffb0d[_0x104df6(0x2eb)]());}['getCollabCursors$'](_0x54b99f){const _0x20ee59=_0x12a2cc;return this[_0x20ee59(0x23b)][_0x20ee59(0x3f7)](_0x54b99f)?this[_0x20ee59(0x23b)][_0x20ee59(0x2f0)](_0x54b99f)[_0x20ee59(0x2bc)]:this[_0x20ee59(0x292)][_0x20ee59(0x2af)](_0x5c807f[_0x20ee59(0x33c)](_0x5c40e2=>_0x5c40e2['unitID']===_0x54b99f),_0x5c807f[_0x20ee59(0x24a)](_0x541d00=>_0x541d00[_0x20ee59(0x2bc)]));}[_0x12a2cc(0x47c)](){const _0x2faec9=_0x12a2cc;this[_0x2faec9(0x364)][_0x2faec9(0x3a4)](_0x5c9413[_0x2faec9(0x2be)][_0x2faec9(0x3ea)])['pipe'](_0x5c807f[_0x2faec9(0x457)](this['dispose$']))[_0x2faec9(0x29f)](async _0x2c0bc8=>{const _0x911440=_0x2faec9,_0x117771=_0x2c0bc8[_0x911440(0x45f)](),_0x221fbd=await this[_0x911440(0x3d9)](_0x117771);this[_0x911440(0x292)][_0x911440(0x1eb)](_0x221fbd),this[_0x911440(0x23b)]['set'](_0x117771,_0x221fbd);}),this[_0x2faec9(0x364)][_0x2faec9(0x3a4)](_0x5c9413[_0x2faec9(0x2be)][_0x2faec9(0x43d)])[_0x2faec9(0x2af)](_0x5c807f[_0x2faec9(0x457)](this[_0x2faec9(0x291)]))['pipe'](_0x5c807f[_0x2faec9(0x33c)](_0x374443=>!_0x374443[_0x2faec9(0x45f)]()['startsWith']('__')))[_0x2faec9(0x29f)](async _0x215b7f=>{const _0x2a809b=_0x2faec9,_0x22c520=_0x215b7f[_0x2a809b(0x45f)](),_0x84e0b2=await this['_startDocCollabCursor'](_0x22c520);this[_0x2a809b(0x292)][_0x2a809b(0x1eb)](_0x84e0b2),this[_0x2a809b(0x23b)][_0x2a809b(0x2ee)](_0x22c520,_0x84e0b2);}),_0x5c807f[_0x2faec9(0x22b)](this['_univerInstanceService'][_0x2faec9(0x344)](_0x5c9413['UniverInstanceType'][_0x2faec9(0x43d)]),this[_0x2faec9(0x364)][_0x2faec9(0x344)](_0x5c9413[_0x2faec9(0x2be)][_0x2faec9(0x3ea)]))[_0x2faec9(0x2af)](_0x5c807f[_0x2faec9(0x457)](this[_0x2faec9(0x291)]))[_0x2faec9(0x29f)](_0x5a0c15=>{const _0x102928=_0x2faec9,_0x515ec6=_0x5a0c15[_0x102928(0x45f)](),_0x4b72f1=this[_0x102928(0x23b)][_0x102928(0x2f0)](_0x515ec6);_0x4b72f1&&(_0x4b72f1['dispose'](),this[_0x102928(0x23b)][_0x102928(0x1f6)](_0x515ec6));});}async['_startSheetCollabCursor'](_0x5db0fc){const _0x29e54c=_0x12a2cc,_0x4e51da=await this[_0x29e54c(0x3f2)][_0x29e54c(0x2c9)](_0x5db0fc),_0x485a27=this[_0x29e54c(0x2fb)][_0x29e54c(0x2da)](_0x105539,_0x5db0fc,_0x4e51da);return _0x485a27[_0x29e54c(0x222)](),_0x485a27;}async[_0x12a2cc(0x481)](_0x199029){const _0x57f57c=_0x12a2cc,_0x9e2c2b=await this['_collabSessionService'][_0x57f57c(0x2c9)](_0x199029),_0x1c35cc=this[_0x57f57c(0x2fb)][_0x57f57c(0x2da)](_0x2b76d1,_0x199029,_0x9e2c2b);return _0x1c35cc['init'](),_0x1c35cc;}};_0x44788c=_0x5493ee([_0x51f023(0x0,_0x5c9413[_0x12a2cc(0x35d)]),_0x51f023(0x1,_0x5c9413['Inject'](_0x5c9413[_0x12a2cc(0x414)])),_0x51f023(0x2,_0x5c9413[_0x12a2cc(0x38c)](_0x532bba['CollaborationSessionService']))],_0x44788c);const _0x5db9ce=0x14,_0x1d05be=0xc8,_0x32d228=0x4,_0x5a4b4d=0x5;function _0x1396d8(_0x42188d,_0x1d4e9c){const _0x23be9a=_0x12a2cc;let {radius:_0x415a72,width:_0x3e6504,height:_0x54745d}=_0x1d4e9c;_0x415a72=_0x415a72!=null?_0x415a72:0x0,_0x3e6504=_0x3e6504!=null?_0x3e6504:0x1e,_0x54745d=_0x54745d!=null?_0x54745d:0x1e;let _0x484329=0x0,_0x210641=0x0,_0x3da12d=0x0;_0x484329=_0x210641=_0x3da12d=Math[_0x23be9a(0x2ef)](_0x415a72,_0x3e6504/0x2,_0x54745d/0x2),_0x42188d[_0x23be9a(0x289)](),_0x42188d[_0x23be9a(0x3e1)](_0x484329,0x0),_0x42188d['lineTo'](_0x3e6504-_0x210641,0x0),_0x42188d[_0x23be9a(0x1f4)](_0x3e6504-_0x210641,_0x210641,_0x210641,Math['PI']*0x3/0x2,0x0,!0x1),_0x42188d['lineTo'](_0x3e6504,_0x54745d-_0x3da12d),_0x42188d[_0x23be9a(0x1f4)](_0x3e6504-_0x3da12d,_0x54745d-_0x3da12d,_0x3da12d,0x0,Math['PI']/0x2,!0x1),_0x42188d[_0x23be9a(0x426)](0x0,_0x54745d),_0x42188d[_0x23be9a(0x426)](0x0,_0x484329),_0x42188d[_0x23be9a(0x1f4)](_0x484329,_0x484329,_0x484329,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x42188d[_0x23be9a(0x412)](),_0x1d4e9c['fill']&&(_0x42188d[_0x23be9a(0x442)](),_0x42188d['fillStyle']=_0x1d4e9c[_0x23be9a(0x265)],_0x1d4e9c[_0x23be9a(0x1e8)]===_0x23be9a(0x384)?_0x42188d['fill'](_0x23be9a(0x384)):_0x42188d[_0x23be9a(0x265)](),_0x42188d[_0x23be9a(0x259)]());}class _0x3f6afd extends _0x1f04f6[_0x12a2cc(0x40c)]{constructor(_0x23b201,_0x517793){const _0x2b5ff5=_0x12a2cc;super(_0x23b201,_0x517793),_0x1206b7(this,_0x2b5ff5(0x302)),_0x1206b7(this,'text'),(this[_0x2b5ff5(0x302)]=_0x517793==null?void 0x0:_0x517793[_0x2b5ff5(0x302)],this[_0x2b5ff5(0x206)]=_0x517793==null?void 0x0:_0x517793['text']);}static[_0x12a2cc(0x439)](_0x339b05,_0x74edeb){const _0x268eab=_0x12a2cc,{text:_0x2e4a59,color:_0x39cf35}=_0x74edeb;_0x339b05[_0x268eab(0x442)](),_0x339b05['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x50f671=_0x339b05[_0x268eab(0x3f9)](_0x2e4a59)[_0x268eab(0x456)],_0x370a4b=Math[_0x268eab(0x2ef)](_0x50f671+0x2*_0x32d228,_0x1d05be);_0x1396d8(_0x339b05,{'height':_0x5db9ce,'radius':0x4,'width':_0x370a4b,'fill':_0x39cf35}),_0x339b05[_0x268eab(0x210)]=_0x268eab(0x20b);const _0xd6530a=_0x32d228,_0x2e2b21=_0x5db9ce-_0x5a4b4d,_0x14f059=_0x1d05be-0x2*_0x32d228;if(_0x50f671>_0x14f059){let _0x4bf845='',_0x1713f3=0x0;for(const _0x5e1ac1 of _0x2e4a59){const _0x409690=_0x339b05['measureText'](_0x5e1ac1)[_0x268eab(0x456)];if(_0x1713f3+_0x409690<=_0x14f059-_0x339b05[_0x268eab(0x3f9)](_0x268eab(0x35c))[_0x268eab(0x456)])_0x4bf845+=_0x5e1ac1,_0x1713f3+=_0x409690;else{_0x4bf845+=_0x268eab(0x35c);break;}}_0x339b05[_0x268eab(0x2d8)](_0x4bf845,_0xd6530a,_0x2e2b21);}else _0x339b05[_0x268eab(0x2d8)](_0x2e4a59,_0xd6530a,_0x2e2b21);_0x339b05['restore']();}[_0x12a2cc(0x26f)](_0x146cdc){const _0x51267b=_0x12a2cc;_0x3f6afd[_0x51267b(0x439)](_0x146cdc,this);}}const _0x3f35b5=_0x12a2cc(0x317),_0x43edbd=_0x12a2cc(0x1f8),_0x4bfa7a=_0x12a2cc(0x411),_0x592f0f=0x6,_0x32650e=1.5,_0x20120d=0x4,_0x25b43a=1.5,_0x19f94e=_0x12a2cc(0x3f5);class _0x12672f{constructor(_0x298dd3,_0x3c4055,_0x5967a9,_0x19131c){const _0x599fb4=_0x12a2cc;_0x1206b7(this,_0x599fb4(0x3e7),[]),_0x1206b7(this,'_anchor',null),_0x1206b7(this,_0x599fb4(0x3ec),null),_0x1206b7(this,_0x599fb4(0x228),null),_0x1206b7(this,'_hideTimer',null),_0x1206b7(this,_0x599fb4(0x26c),null),(this[_0x599fb4(0x301)]=_0x298dd3,this[_0x599fb4(0x38e)]=_0x3c4055,this['_docSkeleton']=_0x5967a9,this[_0x599fb4(0x362)]=_0x19131c,this['_render']());}set[_0x12a2cc(0x3a7)](_0x5a0464){const _0x3c4e0b=_0x12a2cc;_0x5a0464?(this[_0x3c4e0b(0x228)]&&this[_0x3c4e0b(0x228)][_0x3c4e0b(0x430)](),this[_0x3c4e0b(0x3ec)]&&this[_0x3c4e0b(0x3ec)][_0x3c4e0b(0x36b)]()):(this[_0x3c4e0b(0x228)]&&this[_0x3c4e0b(0x228)][_0x3c4e0b(0x36b)](),this[_0x3c4e0b(0x3ec)]&&this[_0x3c4e0b(0x3ec)][_0x3c4e0b(0x430)]());}['dispose'](){const _0x416628=_0x12a2cc;for(const _0x31a300 of this[_0x416628(0x3e7)])_0x31a300[_0x416628(0x2eb)]();this[_0x416628(0x3ec)]&&this[_0x416628(0x3ec)]['dispose'](),this[_0x416628(0x228)]&&this[_0x416628(0x228)][_0x416628(0x2eb)](),this[_0x416628(0x352)]&&this[_0x416628(0x352)][_0x416628(0x2eb)](),this[_0x416628(0x26c)]&&this[_0x416628(0x26c)]();}[_0x12a2cc(0x1f2)](){const _0x3d5c34=_0x12a2cc;var _0x4c555d;const {_docSkeleton:_0x489f08,_document:_0x506a5d}=this,{color:_0x538481,name:_0x4cdf18,ranges:_0x44640b}=this[_0x3d5c34(0x301)],_0x45b1d1=_0x506a5d[_0x3d5c34(0x324)](),{docsLeft:_0x1f8030,docsTop:_0x170c98}=_0x45b1d1,_0x58417b=new _0x2f8870[(_0x3d5c34(0x207))](_0x45b1d1,_0x489f08);for(const {startOffset:_0x24675e,endOffset:_0x291234,rangeType:_0x20a188,segmentId:_0x29675b,segmentPage:_0x24aee9,collapsed:_0x365b41,isActive:_0x187c21}of _0x44640b){const _0x5656d7=_0x489f08[_0x3d5c34(0x454)](_0x24675e,!0x0,_0x29675b,_0x24aee9);let _0xb113cb=_0x489f08['findNodePositionByCharIndex'](_0x291234,!0x0,_0x29675b,_0x24aee9);if(_0xb113cb==null&&(_0xb113cb=_0x489f08['findNodePositionByCharIndex'](_0x291234-0x1,!0x1,_0x29675b,_0x24aee9)),_0x187c21){const {contentBoxPointGroup:_0x4b0ecc}=_0x58417b[_0x3d5c34(0x45d)](_0xb113cb,_0xb113cb);if(_0x4b0ecc[_0x3d5c34(0x386)]===0x0)continue;this[_0x3d5c34(0x21d)](_0x538481,_0x4b0ecc,_0x1f8030,_0x170c98,_0x4cdf18),this[_0x3d5c34(0x26c)]=this[_0x3d5c34(0x28b)]();}if(_0x5656d7&&_0xb113cb){if(_0x20a188===_0x5c9413[_0x3d5c34(0x3d4)]['RECT']){const _0x2cad33=new _0x2f8870['NodePositionConvertToRectRange'](_0x45b1d1,_0x489f08),{pointGroup:_0x309fef}=(_0x4c555d=_0x2cad33[_0x3d5c34(0x45d)](_0x5656d7,_0xb113cb))!=null?_0x4c555d:{};if(_0x309fef==null||_0x309fef[_0x3d5c34(0x386)]===0x0)continue;this['_drawRectRange'](_0x538481,_0x309fef,_0x1f8030,_0x170c98);}else{if(!_0x365b41){const {borderBoxPointGroup:_0x275e9f}=_0x58417b[_0x3d5c34(0x45d)](_0x5656d7,_0xb113cb);if(_0x275e9f[_0x3d5c34(0x386)]===0x0)continue;this['_drawTextRange'](_0x538481,_0x275e9f,_0x1f8030,_0x170c98);}}}}}[_0x12a2cc(0x21d)](_0x1af379,_0x3212c7,_0x2de407,_0x19dd30,_0x189453){const _0x2e6b97=_0x12a2cc,_0x406a3e=this[_0x2e6b97(0x2b7)](_0x3212c7),{left:_0x2ec6ac,top:_0x15f7e0,height:_0x28be21}=_0x406a3e,_0x5522ad=this[_0x2e6b97(0x31f)](),_0x4e69ed=_0x25b43a/_0x5522ad,_0x340589=new _0x1f04f6[(_0x2e6b97(0x331))](_0x3f35b5+_0x5c9413['Tools'][_0x2e6b97(0x34a)](_0x592f0f),{'left':_0x2ec6ac+_0x2de407-_0x4e69ed,'top':_0x15f7e0+_0x19dd30,'height':_0x28be21,'width':_0x32650e,'fill':_0x1af379||_0x1f04f6[_0x2e6b97(0x23f)](_0x5c9413['COLORS']['black'],0x0),'strokeWidth':_0x4e69ed,'stroke':_0x19f94e,'evented':!0x0});this[_0x2e6b97(0x352)]=_0x340589,this['_scene'][_0x2e6b97(0x468)](_0x340589,_0x2f8870[_0x2e6b97(0x46e)]);const _0x5eb304=new _0x1f04f6[(_0x2e6b97(0x331))](_0x3f35b5+_0x5c9413[_0x2e6b97(0x21f)][_0x2e6b97(0x34a)](_0x592f0f),{'left':_0x2ec6ac+_0x2de407-_0x4e69ed,'top':_0x15f7e0+_0x19dd30-_0x20120d/0x2,'height':_0x20120d,'width':_0x20120d,'fill':_0x1af379||_0x1f04f6['getColor'](_0x5c9413[_0x2e6b97(0x3b8)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x1af379||_0x1f04f6[_0x2e6b97(0x23f)](_0x5c9413[_0x2e6b97(0x3b8)][_0x2e6b97(0x416)],0x0),'evented':!0x1});this[_0x2e6b97(0x228)]=_0x5eb304,this[_0x2e6b97(0x38e)][_0x2e6b97(0x468)](_0x5eb304,_0x2f8870[_0x2e6b97(0x46e)]);const _0xc47b45=new _0x3f6afd(_0x3f35b5+_0x5c9413[_0x2e6b97(0x21f)][_0x2e6b97(0x34a)](_0x592f0f),{'left':_0x2ec6ac+_0x2de407-_0x4e69ed,'top':_0x15f7e0+_0x19dd30-_0x5db9ce,'text':_0x189453,'color':_0x1af379});this['_textBubble']=_0xc47b45,this[_0x2e6b97(0x38e)][_0x2e6b97(0x468)](_0xc47b45,_0x2f8870['TEXT_RANGE_LAYER_INDEX']),this[_0x2e6b97(0x3a7)]=!0x1;}['_handleHover'](){const _0x244071=_0x12a2cc,_0x470276=this[_0x244071(0x352)]['onPointerEnter$'][_0x244071(0x256)](()=>{const _0x528a3b=_0x244071;this[_0x528a3b(0x3a7)]=!0x0;}),_0x31d7f0=this[_0x244071(0x352)][_0x244071(0x2f9)]['subscribeEvent'](()=>{const _0x5b9c04=_0x244071;this[_0x5b9c04(0x40d)]&&clearTimeout(this[_0x5b9c04(0x40d)]),this[_0x5b9c04(0x40d)]=setTimeout(()=>{const _0x2ddd97=_0x5b9c04;this[_0x2ddd97(0x3a7)]=!0x1;},0x7d0);});return()=>{const _0x10bb70=_0x244071;_0x470276[_0x10bb70(0x382)](),_0x31d7f0['unsubscribe']();};}[_0x12a2cc(0x2a7)](_0xa4fdd9,_0x2718d5,_0xb1fdb0,_0x2bdd4d){const _0x38f6e6=_0x12a2cc,_0x535de8=new _0x5c9413[(_0x38f6e6(0x3c6))](_0xa4fdd9)[_0x38f6e6(0x36a)](0.2)[_0x38f6e6(0x266)](),_0xf2fe2f=new _0x1f04f6['RegularPolygon'](_0x43edbd+_0x5c9413['Tools'][_0x38f6e6(0x34a)](_0x592f0f),{'pointsGroup':_0x2718d5,'fill':_0x535de8||_0x1f04f6[_0x38f6e6(0x23f)](_0x5c9413['COLORS'][_0x38f6e6(0x416)],0.2),'left':_0xb1fdb0,'top':_0x2bdd4d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x38f6e6(0x3e7)][_0x38f6e6(0x39d)](_0xf2fe2f),this[_0x38f6e6(0x38e)][_0x38f6e6(0x468)](_0xf2fe2f,_0x2f8870[_0x38f6e6(0x46e)]);}[_0x12a2cc(0x422)](_0x3ef4c9,_0x211640,_0x1b8bb5,_0x22260d){const _0x24f844=_0x12a2cc,_0x49833e=new _0x5c9413[(_0x24f844(0x3c6))](_0x3ef4c9)[_0x24f844(0x36a)](0.2)[_0x24f844(0x266)](),_0x569359=new _0x1f04f6[(_0x24f844(0x2ea))](_0x4bfa7a+_0x5c9413[_0x24f844(0x21f)][_0x24f844(0x34a)](_0x592f0f),{'pointsGroup':_0x211640,'fill':_0x49833e||_0x1f04f6[_0x24f844(0x23f)](_0x5c9413['COLORS'][_0x24f844(0x416)],0.2),'left':_0x1b8bb5,'top':_0x22260d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x24f844(0x3e7)]['push'](_0x569359),this['_scene']['addObject'](_0x569359,_0x2f8870[_0x24f844(0x46e)]);}[_0x12a2cc(0x2b7)](_0x4ac062){const _0x4934a2=_0x4ac062[0x0],_0x1e4929=_0x4934a2[0x0],_0x44e025=_0x4934a2[0x2],{x:_0x44771d,y:_0x4c0307}=_0x1e4929,{x:_0x3854c3,y:_0x430a2f}=_0x44e025;return{'left':_0x44771d,'top':_0x4c0307,'width':_0x3854c3-_0x44771d,'height':_0x430a2f-_0x4c0307};}['_getScale'](){const _0x2fd9fb=_0x12a2cc,{scaleX:_0x495ffc,scaleY:_0x53b7a7}=this[_0x2fd9fb(0x38e)]['getAncestorScale']();return Math[_0x2fd9fb(0x41d)](_0x495ffc,_0x53b7a7);}}var _0x49ee8e=Object['getOwnPropertyDescriptor'],_0x1c3fd3=(_0x3a8250,_0x208c0f,_0x869b3,_0x54c584)=>{const _0x522b39=_0x12a2cc;for(var _0x267ed3=_0x54c584>0x1?void 0x0:_0x54c584?_0x49ee8e(_0x208c0f,_0x869b3):_0x208c0f,_0x5bf8d2=_0x3a8250[_0x522b39(0x386)]-0x1,_0x1db3b4;_0x5bf8d2>=0x0;_0x5bf8d2--)(_0x1db3b4=_0x3a8250[_0x5bf8d2])&&(_0x267ed3=_0x1db3b4(_0x267ed3)||_0x267ed3);return _0x267ed3;},_0x47c4dc=(_0x33db23,_0x8bedc1)=>(_0x531249,_0x1bbf8f)=>_0x8bedc1(_0x531249,_0x1bbf8f,_0x33db23);let _0x1f01a9=class extends _0x5c9413[_0x12a2cc(0x435)]{constructor(_0x2dad57,_0x6e7e15,_0xb9f979,_0x4e5154,_0x535393){const _0x2f9d72=_0x12a2cc;super(),_0x1206b7(this,'_cursorShapes',[]),_0x1206b7(this,_0x2f9d72(0x22c),[]),(this[_0x2f9d72(0x365)]=_0x2dad57,this[_0x2f9d72(0x44b)]=_0x6e7e15,this[_0x2f9d72(0x453)]=_0xb9f979,this['_commandService']=_0x4e5154,this[_0x2f9d72(0x297)]=_0x535393,this[_0x2f9d72(0x47c)]());}[_0x12a2cc(0x47c)](){const _0x43aea2=_0x12a2cc,_0x44bbe0=this[_0x43aea2(0x365)][_0x43aea2(0x330)],_0x5c4d6b=this['_docSkeletonManagerService'];this[_0x43aea2(0x30f)](_0x5c807f[_0x43aea2(0x27e)]([this['_collabCursorController'][_0x43aea2(0x21b)](_0x44bbe0),this[_0x43aea2(0x297)][_0x43aea2(0x286)]])['pipe'](_0x44133d[_0x43aea2(0x371)](([_0x101966,_0x33ab11])=>({'skeleton':_0x5c4d6b[_0x43aea2(0x309)](),'cursors':[..._0x101966[_0x43aea2(0x1f5)]()][_0x43aea2(0x25d)](_0x5369bd=>({..._0x5369bd,'color':this[_0x43aea2(0x297)]['getColorFromTheme'](_0x5369bd[_0x43aea2(0x302)])}))})))[_0x43aea2(0x29f)](_0x230ce6=>{const _0x18e092=_0x43aea2;if(this[_0x18e092(0x326)](),_0x230ce6){const {skeleton:_0x21811d,cursors:_0x18518d}=_0x230ce6;this['_updateCollabCursors'](_0x21811d,_0x18518d);}})),this[_0x43aea2(0x44a)](),this['_initCommandExecutedListener']();}[_0x12a2cc(0x211)](_0x1425d7,_0x46ba50){const _0x315608=_0x12a2cc,{scene:_0x385883,mainComponent:_0x118bb4}=this[_0x315608(0x365)],_0x1c0b52=_0x46ba50[_0x315608(0x371)](_0x269d47=>new _0x12672f(_0x269d47,_0x385883,_0x1425d7,_0x118bb4));this[_0x315608(0x32d)]=_0x1c0b52,this[_0x315608(0x22c)]=_0x46ba50;}[_0x12a2cc(0x257)](){const _0x13c28f=_0x12a2cc;this[_0x13c28f(0x326)]();const {scene:_0x37d21f,mainComponent:_0x104deb}=this['_context'],_0x195ec7=this['_docSkeletonManagerService'][_0x13c28f(0x309)](),_0x1ec0af=this[_0x13c28f(0x22c)][_0x13c28f(0x371)](_0x31b09d=>new _0x12672f(_0x31b09d,_0x37d21f,_0x195ec7,_0x104deb));this['_cursorShapes']=_0x1ec0af;}[_0x12a2cc(0x326)](){const _0x4021d3=_0x12a2cc;this[_0x4021d3(0x32d)][_0x4021d3(0x3c8)](_0x30c962=>_0x30c962[_0x4021d3(0x2eb)]()),this['_cursorShapes']=[];}[_0x12a2cc(0x251)](){const _0x1f8ea1=_0x12a2cc,_0x3a50cf=[_0x2f8870['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x1f8ea1(0x2f2)]['onCommandExecuted'](_0x290f1b=>{const _0x567e69=_0x1f8ea1;_0x3a50cf[_0x567e69(0x3a1)](_0x290f1b['id'])&&_0x290f1b[_0x567e69(0x281)]['unitId']===this['_context'][_0x567e69(0x330)]&&this[_0x567e69(0x257)]();}));}['_initResize'](){const _0x17cdfe=_0x12a2cc;this['disposeWithMe'](_0x5c9413[_0x17cdfe(0x231)](this['_context']['engine'][_0x17cdfe(0x32a)])['pipe'](_0x44133d[_0x17cdfe(0x33c)](_0x4ce1b4=>_0x4ce1b4['type']===_0x1f04f6[_0x17cdfe(0x239)][_0x17cdfe(0x315)]),_0x44133d[_0x17cdfe(0x421)](0x10))[_0x17cdfe(0x29f)](()=>{const _0x171833=_0x17cdfe;this[_0x171833(0x257)]();}));}};_0x1f01a9=_0x1c3fd3([_0x47c4dc(0x1,_0x5c9413[_0x12a2cc(0x38c)](_0x39044d[_0x12a2cc(0x332)])),_0x47c4dc(0x2,_0x5c9413[_0x12a2cc(0x38c)](_0x44788c)),_0x47c4dc(0x3,_0x5c9413[_0x12a2cc(0x3a8)]),_0x47c4dc(0x4,_0x5c9413[_0x12a2cc(0x38c)](_0x5c9413['ThemeService']))],_0x1f01a9);const _0x3660d8=0x1,_0x627c9=1.5;class _0x3df81e extends _0x1f04f6[_0x12a2cc(0x40c)]{constructor(_0x5ebffc,_0x4c570c){const _0x9a8556=_0x12a2cc;super(_0x5ebffc,_0x4c570c),_0x1206b7(this,_0x9a8556(0x2a2)),_0x1206b7(this,_0x9a8556(0x429),!0x1),_0x1206b7(this,_0x9a8556(0x37d)),_0x1206b7(this,_0x9a8556(0x300),''),_0x1206b7(this,_0x9a8556(0x34c),_0x9a8556(0x427)),_0x1206b7(this,_0x9a8556(0x353)),(_0x4c570c&&this['setShapeProps'](_0x4c570c),this['onPointerEnter$'][_0x9a8556(0x256)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x9a8556(0x2f9)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x12a2cc(0x2fa)](_0x56224d){const _0x267f70=_0x12a2cc;var _0x3a24c2,_0x5133af,_0x124617,_0x5e087b,_0x4ab110,_0x5e8897;this[_0x267f70(0x2a2)]=(_0x3a24c2=_0x56224d[_0x267f70(0x302)])!=null?_0x3a24c2:this[_0x267f70(0x2a2)],this[_0x267f70(0x429)]=(_0x5133af=_0x56224d[_0x267f70(0x2e3)])!=null?_0x5133af:this[_0x267f70(0x429)],this[_0x267f70(0x37d)]=(_0x124617=_0x56224d['range'])!=null?_0x124617:this[_0x267f70(0x37d)],this[_0x267f70(0x300)]=(_0x5e087b=_0x56224d[_0x267f70(0x3c4)])!=null?_0x5e087b:this[_0x267f70(0x300)],this[_0x267f70(0x34c)]=(_0x4ab110=_0x56224d[_0x267f70(0x44d)])!=null?_0x4ab110:this[_0x267f70(0x34c)],this[_0x267f70(0x353)]=(_0x5e8897=_0x56224d[_0x267f70(0x399)])!=null?_0x5e8897:this[_0x267f70(0x353)],this[_0x267f70(0x200)]({'width':_0x56224d[_0x267f70(0x456)],'height':_0x56224d['height']});}[_0x12a2cc(0x335)](_0x4288f0){const _0x136688=_0x12a2cc,{row:_0x2ed65c,column:_0x4b8a2a}=_0x4288f0;if(_0x2ed65c>=this[_0x136688(0x37d)]['startRow']&&_0x2ed65c<=this['_range'][_0x136688(0x39b)]&&_0x4b8a2a>=this[_0x136688(0x37d)][_0x136688(0x248)]&&_0x4b8a2a<=this[_0x136688(0x37d)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x136688(0x2fa)]({'hovered':!0x1});}[_0x12a2cc(0x3c2)](_0x2d7e2c){return!0x1;}[_0x12a2cc(0x26f)](_0x44af4b){const _0x843287=_0x12a2cc;_0x1f04f6[_0x843287(0x331)][_0x843287(0x439)](_0x44af4b,{'width':this['width'],'height':this[_0x843287(0x241)],'strokeWidth':_0x627c9,'stroke':this[_0x843287(0x2a2)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x843287(0x429)]&&(_0x44af4b[_0x843287(0x442)](),_0x44af4b[_0x843287(0x3c0)](0x1,0x0,0x0,0x1,this[_0x843287(0x456)],this[_0x843287(0x34c)]==='bottom'?0x0:-0x14),_0x3f6afd[_0x843287(0x439)](_0x44af4b,{'text':this['_name'],'color':this[_0x843287(0x2a2)]}),_0x44af4b[_0x843287(0x259)]());}}var _0x24c3e4=Object[_0x12a2cc(0x436)],_0x34d940=(_0x58a68f,_0x317eb5,_0x6828c5,_0x176282)=>{for(var _0x25b481=_0x176282>0x1?void 0x0:_0x176282?_0x24c3e4(_0x317eb5,_0x6828c5):_0x317eb5,_0x394a92=_0x58a68f['length']-0x1,_0x4130f7;_0x394a92>=0x0;_0x394a92--)(_0x4130f7=_0x58a68f[_0x394a92])&&(_0x25b481=_0x4130f7(_0x25b481)||_0x25b481);return _0x25b481;},_0x112ec3=(_0x2c0205,_0x4aaeca)=>(_0x393bf5,_0x1d32e5)=>_0x4aaeca(_0x393bf5,_0x1d32e5,_0x2c0205);const _0x68158=0x1389;let _0x5203d8=class extends _0x5c9413[_0x12a2cc(0x435)]{constructor(_0x1ea7c5,_0x58f24f,_0x5f0aa6,_0x3bece0){const _0x2a4e71=_0x12a2cc;super(),_0x1206b7(this,'_cursors',new Set()),_0x1206b7(this,_0x2a4e71(0x3b5),null),(this[_0x2a4e71(0x365)]=_0x1ea7c5,this['_sheetSkeletonManagerService']=_0x58f24f,this[_0x2a4e71(0x453)]=_0x5f0aa6,this['_themeService']=_0x3bece0,this[_0x2a4e71(0x47c)]());}['_init'](){const _0x12e526=_0x12a2cc;this[_0x12e526(0x343)][_0x12e526(0x437)][_0x12e526(0x2af)](_0x44133d[_0x12e526(0x457)](this[_0x12e526(0x291)]),_0x44133d['switchMap'](_0x391d63=>{const _0x43caf7=_0x12e526;if(_0x391d63){const _0x217f6d=_0x391d63['sheetId'];return _0x5c807f['combineLatest'](this[_0x43caf7(0x453)][_0x43caf7(0x21b)](this[_0x43caf7(0x365)][_0x43caf7(0x330)]),this[_0x43caf7(0x297)][_0x43caf7(0x286)])[_0x43caf7(0x2af)](_0x44133d['map'](([_0x5c01fa,_0x26057a])=>{const _0xcf8f1c=_0x43caf7,_0x1508a6=new Map();return _0x5c01fa[_0xcf8f1c(0x3c8)]((_0x4ddeca,_0x26faa7)=>{const _0x5400ab=_0xcf8f1c;if(_0x4ddeca['sheetID']===_0x217f6d){const _0x21595d={..._0x4ddeca};_0x21595d[_0x5400ab(0x302)]=this[_0x5400ab(0x297)][_0x5400ab(0x2de)](_0x4ddeca[_0x5400ab(0x302)]),_0x1508a6[_0x5400ab(0x2ee)](_0x26faa7,_0x21595d);}}),{'skeleton':_0x391d63,'cursors':_0x1508a6};}));}return _0x5c807f['of']({'skeleton':null,'cursors':new Map()});}))[_0x12e526(0x29f)](({skeleton:_0x8aef38,cursors:_0x5524e7})=>{const _0x9bce1a=_0x12e526;this[_0x9bce1a(0x326)](),_0x8aef38&&this[_0x9bce1a(0x211)](_0x8aef38,_0x5524e7);}),this['_sheetSkeletonManagerService'][_0x12e526(0x437)][_0x12e526(0x29f)](_0x43b221=>{const _0xf82573=_0x12e526;if(_0x43b221==null)return;const {skeleton:_0x213fdf}=_0x43b221,{scene:_0x505b63}=this[_0xf82573(0x365)];_0x505b63[_0xf82573(0x338)][_0xf82573(0x256)](_0x5c9413[_0xf82573(0x47f)](_0x378bb5=>{const _0x44895a=_0xf82573;var _0x3a1cd5,_0x39796c;const {offsetX:_0x29b692,offsetY:_0x4f8249}=_0x378bb5,{x:_0x30d27c,y:_0x58d1ee}=_0x505b63[_0x44895a(0x3c3)](_0x1f04f6[_0x44895a(0x242)][_0x44895a(0x232)]([_0x29b692,_0x4f8249])),{scaleX:_0x23e2d6,scaleY:_0xbf6bea}=_0x505b63[_0x44895a(0x3c7)](),_0x239a60=_0x505b63[_0x44895a(0x201)](_0x1f04f6[_0x44895a(0x2f1)][_0x44895a(0x323)]),_0x2ce476=_0x505b63[_0x44895a(0x22d)](_0x1f04f6[_0x44895a(0x242)][_0x44895a(0x232)]([_0x30d27c,_0x58d1ee]),_0x239a60),_0x5ce3c0=_0x213fdf[_0x44895a(0x377)](_0x29b692,_0x4f8249,_0x23e2d6,_0xbf6bea,_0x2ce476);((_0x3a1cd5=this[_0x44895a(0x3b5)])==null?void 0x0:_0x3a1cd5[_0x44895a(0x2fc)])===_0x5ce3c0[_0x44895a(0x2fc)]&&((_0x39796c=this['_lastPointer'])==null?void 0x0:_0x39796c[_0x44895a(0x3e4)])===_0x5ce3c0[_0x44895a(0x3e4)]||this[_0x44895a(0x22c)]['forEach'](_0x3ca46a=>{_0x3ca46a['onMouseMove'](_0x5ce3c0);});},0x64));});}[_0x12a2cc(0x211)](_0x4f7c2c,_0x406aaa){const _0x162ddd=_0x12a2cc;var _0x5e985d;const _0xedffa6=(_0x5e985d=this[_0x162ddd(0x343)][_0x162ddd(0x35a)]())==null?void 0x0:_0x5e985d[_0x162ddd(0x2a5)];if(!_0xedffa6)return;const _0x46d74b=this[_0x162ddd(0x446)]();if(!_0x46d74b)return;this[_0x162ddd(0x22c)][_0x162ddd(0x3c8)](_0x8a3fd=>{_0x8a3fd['makeDirty']();});const {scene:_0x52ccc6}=_0x46d74b,_0x25063f=_0x1e4b51(Array[_0x162ddd(0x466)](_0x406aaa['values']()))['map'](_0x5cf59f=>{const _0x4aaaea=_0x162ddd,{color:_0xf3d436,range:_0x5d5233,name:_0x1440cb,selection:_0x4fdf29,sheetID:_0x276ef6}=_0x5cf59f,{startColumn:_0x1616df,startRow:_0x260791,endColumn:_0x3d16ff,endRow:_0x466c2f}=_0x5d5233,_0x1e2438=_0xd824ff[_0x4aaaea(0x2bf)](_0x260791,_0x1616df,_0x52ccc6,_0xedffa6),_0x4bf82c=_0xd824ff[_0x4aaaea(0x2bf)](_0x466c2f,_0x3d16ff,_0x52ccc6,_0xedffa6),{columnHeaderHeightAndMarginTop:_0x7acb86}=_0xedffa6,{startX:_0x446404,startY:_0x1632d2}=_0x1e2438,{endX:_0x3fb584,endY:_0x2c3cf6}=_0x4bf82c,_0x236b48=_0x3fb584-_0x446404,_0x267028=_0x2c3cf6-_0x1632d2,_0x5ef6b2={'labelPosition':_0x1632d2-_0x7acb86>=_0x5db9ce?'top':_0x4aaaea(0x25c),'sheetID':_0x276ef6,'range':_0x5d5233,'color':_0xf3d436,'name':_0x1440cb,'selection':_0x4fdf29,'left':_0x446404,'top':_0x1632d2,'width':_0x236b48,'height':_0x267028,'evented':!0x1,'zIndex':_0x68158};return new _0x3df81e(_0x1440cb,_0x5ef6b2);});_0x52ccc6[_0x162ddd(0x3b3)](_0x25063f,_0x3660d8),this[_0x162ddd(0x22c)]=new Set(_0x25063f);}['_removeCollabCursors'](){const _0x3d8ff5=_0x12a2cc;var _0xbb8fca;(_0xbb8fca=this['_cursors'])==null||_0xbb8fca['forEach'](_0x3dc297=>_0x3dc297[_0x3d8ff5(0x2eb)]());}['_getSheetObject'](){const _0xf7ebc2=_0x12a2cc;return _0xd824ff['getSheetObject'](this[_0xf7ebc2(0x365)][_0xf7ebc2(0x3ba)],this[_0xf7ebc2(0x365)]);}};_0x5203d8=_0x34d940([_0x112ec3(0x1,_0x5c9413[_0x12a2cc(0x38c)](_0xd824ff[_0x12a2cc(0x38f)])),_0x112ec3(0x2,_0x5c9413['Inject'](_0x44788c)),_0x112ec3(0x3,_0x5c9413[_0x12a2cc(0x38c)](_0x5c9413[_0x12a2cc(0x245)]))],_0x5203d8);function _0x1e4b51(_0x348a87){const _0x5a454b=_0x12a2cc,_0x368521=new Map();return _0x348a87[_0x5a454b(0x3c8)](_0x3d04c5=>{const _0x3f2c29=_0x5a454b;if(_0x368521['has'](_0x3d04c5[_0x3f2c29(0x2f6)])){const _0x490dc5=_0x368521[_0x3f2c29(0x2f0)](_0x3d04c5[_0x3f2c29(0x2f6)]);_0x490dc5[_0x3f2c29(0x3c4)]+=',\x20'+_0x3d04c5[_0x3f2c29(0x3c4)];}else _0x368521[_0x3f2c29(0x2ee)](_0x3d04c5[_0x3f2c29(0x2f6)],_0x3d04c5);}),Array[_0x5a454b(0x466)](_0x368521[_0x5a454b(0x1f5)]());}var _0x268966=function(){const _0x45331c=_0x12a2cc;return _0x268966=Object[_0x45331c(0x43f)]||function(_0x467829){const _0x57570e=_0x45331c;for(var _0xbce54a,_0x22fdc5=0x1,_0x5b66be=arguments[_0x57570e(0x386)];_0x22fdc5<_0x5b66be;_0x22fdc5++){_0xbce54a=arguments[_0x22fdc5];for(var _0x5f2ae0 in _0xbce54a)Object[_0x57570e(0x308)][_0x57570e(0x226)][_0x57570e(0x23a)](_0xbce54a,_0x5f2ae0)&&(_0x467829[_0x5f2ae0]=_0xbce54a[_0x5f2ae0]);}return _0x467829;},_0x268966['apply'](this,arguments);},_0x329888=function(_0x431fbb,_0x32c918){const _0x205695=_0x12a2cc;var _0x23f26d={};for(var _0xd99eff in _0x431fbb)Object['prototype']['hasOwnProperty'][_0x205695(0x23a)](_0x431fbb,_0xd99eff)&&_0x32c918[_0x205695(0x476)](_0xd99eff)<0x0&&(_0x23f26d[_0xd99eff]=_0x431fbb[_0xd99eff]);if(_0x431fbb!=null&&typeof Object[_0x205695(0x3aa)]==_0x205695(0x3b1)){for(var _0x51d3a7=0x0,_0xd99eff=Object[_0x205695(0x3aa)](_0x431fbb);_0x51d3a7<_0xd99eff[_0x205695(0x386)];_0x51d3a7++)_0x32c918[_0x205695(0x476)](_0xd99eff[_0x51d3a7])<0x0&&Object[_0x205695(0x308)][_0x205695(0x3fa)]['call'](_0x431fbb,_0xd99eff[_0x51d3a7])&&(_0x23f26d[_0xd99eff[_0x51d3a7]]=_0x431fbb[_0xd99eff[_0x51d3a7]]);}return _0x23f26d;},_0x2c44f4=_0x47ddff[_0x12a2cc(0x380)](function(_0xe60f2c,_0x591e55){const _0x22b3cc=_0x12a2cc;var _0x558442=_0xe60f2c[_0x22b3cc(0x22e)],_0x43754a=_0xe60f2c['id'],_0xa28681=_0xe60f2c['className'],_0x2fdbcf=_0xe60f2c['extend'],_0x47ef72=_0x329888(_0xe60f2c,[_0x22b3cc(0x22e),'id','className',_0x22b3cc(0x3e2)]),_0x50d284=_0x22b3cc(0x236)['concat'](_0x43754a,'\x20')[_0x22b3cc(0x3ff)](_0xa28681||'')[_0x22b3cc(0x235)](),_0x1df2ea=_0x47ddff[_0x22b3cc(0x2a0)]('_'[_0x22b3cc(0x3ff)](_0x2cc994()));return _0x157415(_0x558442,''[_0x22b3cc(0x3ff)](_0x43754a),{'defIds':_0x558442[_0x22b3cc(0x378)],'idSuffix':_0x1df2ea[_0x22b3cc(0x475)]},_0x268966({'ref':_0x591e55,'className':_0x50d284},_0x47ef72),_0x2fdbcf);});function _0x157415(_0x325ffc,_0x4b4ecd,_0x4dd80e,_0x51d4fb,_0xede9d1){const _0x4e5229=_0x12a2cc;return _0x47ddff['createElement'](_0x325ffc[_0x4e5229(0x464)],_0x268966(_0x268966({'key':_0x4b4ecd},_0xe22d74(_0x325ffc,_0x4dd80e,_0xede9d1)),_0x51d4fb),(_0x4d6154(_0x325ffc,_0x4dd80e)['children']||[])[_0x4e5229(0x371)](function(_0x19e7f0,_0x19f394){const _0xed34c5=_0x4e5229;return _0x157415(_0x19e7f0,''[_0xed34c5(0x3ff)](_0x4b4ecd,'-')[_0xed34c5(0x3ff)](_0x325ffc[_0xed34c5(0x464)],'-')[_0xed34c5(0x3ff)](_0x19f394),_0x4dd80e,void 0x0,_0xede9d1);}));}function _0xe22d74(_0x5f1c06,_0x403956,_0x514a07){const _0x434036=_0x12a2cc;var _0x452f9c=_0x268966({},_0x5f1c06[_0x434036(0x403)]);_0x514a07!=null&&_0x514a07[_0x434036(0x2d4)]&&_0x452f9c['fill']==='colorChannel1'&&(_0x452f9c[_0x434036(0x265)]=_0x514a07['colorChannel1']),_0x5f1c06[_0x434036(0x464)]===_0x434036(0x218)&&_0x452f9c['id']&&(_0x452f9c['id']=_0x452f9c['id']+_0x403956['idSuffix']),Object[_0x434036(0x366)](_0x452f9c)[_0x434036(0x3c8)](function(_0x58ff55){const _0x34a162=_0x434036;var _0x131d17=_0x58ff55[0x0],_0x525e71=_0x58ff55[0x1];_0x131d17==='mask'&&typeof _0x525e71==_0x34a162(0x3d8)&&(_0x452f9c[_0x131d17]=_0x525e71[_0x34a162(0x1f0)](/url\(#(.*)\)/,_0x34a162(0x3ce)[_0x34a162(0x3ff)](_0x403956[_0x34a162(0x425)],')')));});var _0x39e246=_0x403956[_0x434036(0x378)];return!_0x39e246||_0x39e246['length']===0x0||(_0x5f1c06['tag']==='use'&&_0x452f9c[_0x434036(0x36e)]&&(_0x452f9c[_0x434036(0x36e)]=_0x452f9c[_0x434036(0x36e)]+_0x403956[_0x434036(0x425)]),Object[_0x434036(0x366)](_0x452f9c)[_0x434036(0x3c8)](function(_0x5cf378){const _0x3095e0=_0x434036;var _0x2e1632=_0x5cf378[0x0],_0x334390=_0x5cf378[0x1];typeof _0x334390=='string'&&(_0x452f9c[_0x2e1632]=_0x334390[_0x3095e0(0x1f0)](/url\(#(.*)\)/,_0x3095e0(0x3ce)[_0x3095e0(0x3ff)](_0x403956[_0x3095e0(0x425)],')')));})),_0x452f9c;}function _0x4d6154(_0x44bc51,_0x38ed41){const _0x599b23=_0x12a2cc;var _0x48c297,_0x2ba6f0=_0x38ed41['defIds'];return!_0x2ba6f0||_0x2ba6f0['length']===0x0?_0x44bc51:_0x44bc51['tag']===_0x599b23(0x220)&&(!((_0x48c297=_0x44bc51['children'])===null||_0x48c297===void 0x0)&&_0x48c297[_0x599b23(0x386)])?_0x268966(_0x268966({},_0x44bc51),{'children':_0x44bc51[_0x599b23(0x2bb)][_0x599b23(0x371)](function(_0x1c47d8){const _0x2bac96=_0x599b23;return typeof _0x1c47d8[_0x2bac96(0x403)]['id']==_0x2bac96(0x3d8)&&_0x2ba6f0&&_0x2ba6f0[_0x2bac96(0x3a1)](_0x1c47d8['attrs']['id'])?_0x268966(_0x268966({},_0x1c47d8),{'attrs':_0x268966(_0x268966({},_0x1c47d8[_0x2bac96(0x403)]),{'id':_0x1c47d8[_0x2bac96(0x403)]['id']+_0x38ed41[_0x2bac96(0x425)]})}):_0x1c47d8;})}):_0x44bc51;}function _0x2cc994(){const _0x7ecd32=_0x12a2cc;return Math[_0x7ecd32(0x390)]()[_0x7ecd32(0x461)](0x24)[_0x7ecd32(0x482)](0x2,0x8);}_0x2c44f4[_0x12a2cc(0x249)]=_0x12a2cc(0x3db);var _0x26cac4={'tag':_0x12a2cc(0x1fc),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x12a2cc(0x29d),'viewBox':_0x12a2cc(0x449),'width':_0x12a2cc(0x39f),'height':_0x12a2cc(0x39f)},'children':[{'tag':'g','attrs':{'clipPath':_0x12a2cc(0x1e5)},'children':[{'tag':'path','attrs':{'stroke':_0x12a2cc(0x471),'d':_0x12a2cc(0x2a1),'strokeLinecap':_0x12a2cc(0x43a),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x12a2cc(0x220),'attrs':{},'children':[{'tag':_0x12a2cc(0x2b3),'attrs':{'id':_0x12a2cc(0x3a2)},'children':[{'tag':_0x12a2cc(0x470),'attrs':{'fill':_0x12a2cc(0x410),'d':_0x12a2cc(0x2ae)}}]}]}],'defIds':[_0x12a2cc(0x3a2)]},_0x42c034=_0x47ddff[_0x12a2cc(0x380)](function(_0x3fc565,_0x46372c){const _0x5f2149=_0x12a2cc;return _0x47ddff[_0x5f2149(0x467)](_0x2c44f4,Object[_0x5f2149(0x43f)]({},_0x3fc565,{'id':_0x5f2149(0x47d),'ref':_0x46372c,'icon':_0x26cac4}));});_0x42c034[_0x12a2cc(0x249)]=_0x12a2cc(0x3c5);var _0x38b2b9={'tag':_0x12a2cc(0x1fc),'attrs':{'xmlns':_0x12a2cc(0x428),'fill':_0x12a2cc(0x29d),'viewBox':_0x12a2cc(0x3c1),'width':_0x12a2cc(0x39f),'height':_0x12a2cc(0x39f)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x12a2cc(0x470),'attrs':{'stroke':_0x12a2cc(0x471),'d':_0x12a2cc(0x401),'strokeLinecap':_0x12a2cc(0x43a),'strokeLinejoin':_0x12a2cc(0x43a),'strokeWidth':1.2}}]},{'tag':_0x12a2cc(0x220),'attrs':{},'children':[{'tag':_0x12a2cc(0x2b3),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x12a2cc(0x410),'d':_0x12a2cc(0x2ae),'transform':'translate(.97)'}}]}]}],'defIds':[_0x12a2cc(0x372)]},_0x74a879=_0x47ddff['forwardRef'](function(_0x1dc537,_0x4115fb){const _0x1f64d=_0x12a2cc;return _0x47ddff[_0x1f64d(0x467)](_0x2c44f4,Object[_0x1f64d(0x43f)]({},_0x1dc537,{'id':_0x1f64d(0x417),'ref':_0x4115fb,'icon':_0x38b2b9}));});_0x74a879[_0x12a2cc(0x249)]=_0x12a2cc(0x233);function _0x1743bf(_0x2e62dc){const _0x1e88fd=_0x12a2cc;switch(_0x2e62dc){case _0x532bba['CollaborationStatus'][_0x1e88fd(0x424)]:return _0x1e88fd(0x434);case _0x532bba[_0x1e88fd(0x41e)]['CONFLICT']:return _0x1e88fd(0x223);case _0x532bba[_0x1e88fd(0x41e)]['FETCH_MISS']:return _0x1e88fd(0x26a);case _0x532bba[_0x1e88fd(0x41e)][_0x1e88fd(0x277)]:return _0x1e88fd(0x358);case _0x532bba['CollaborationStatus'][_0x1e88fd(0x3ca)]:case _0x532bba[_0x1e88fd(0x41e)][_0x1e88fd(0x319)]:return _0x1e88fd(0x2df);case _0x532bba[_0x1e88fd(0x41e)]['SYNCED']:case _0x532bba['CollaborationStatus'][_0x1e88fd(0x3da)]:return _0x1e88fd(0x44c);}}function _0x892990(_0x50e346){const _0x122106=_0x12a2cc,{status$:_0x481cfa}=_0x50e346,_0x31e533=_0x4db0e6[_0x122106(0x2db)](_0x481cfa,_0x532bba[_0x122106(0x41e)][_0x122106(0x277)]),_0x3c99f7=_0x4db0e6[_0x122106(0x3b4)](_0x5c9413[_0x122106(0x3d0)]),_0x565b74=_0x4db0e6['useDependency'](_0x532bba['CollaborationSessionService']),_0x2f7954=_0x31e533!==_0x532bba[_0x122106(0x41e)][_0x122106(0x424)],_0x114afc=_0x3c99f7['t'](_0x1743bf(_0x31e533)),_0x36ae21=_0x2f7954?_0x329810[_0x122106(0x2b9)](_0x74a879,{}):_0x329810[_0x122106(0x2b9)](_0x42c034,{}),_0x1d5c72=_0x47ddff[_0x122106(0x303)](()=>{const _0xe69800=_0x122106;_0x2f7954||_0x565b74[_0xe69800(0x33e)]();},[_0x2f7954,_0x565b74]);function _0x600703(){const _0x38904d=_0x122106;return _0x329810[_0x38904d(0x258)]('div',{'className':_0x38904d(0x225),'onClick':_0x1d5c72,'children':[_0x329810[_0x38904d(0x2b9)](_0x38904d(0x339),{'className':_0x27f590[_0x38904d(0x27f)](_0x38904d(0x392),{'univer-text-green-500':_0x2f7954,'univer-text-red-500':!_0x2f7954}),'children':_0x36ae21}),_0x329810[_0x38904d(0x2b9)](_0x38904d(0x339),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x114afc})]});}return _0x2f7954?_0x600703():_0x329810[_0x122106(0x2b9)](_0x27f590['Tooltip'],{'title':_0x3c99f7['t'](_0x122106(0x385)),'children':_0x600703()});}var _0x2aa518=Object[_0x12a2cc(0x436)],_0x18fe82=(_0x2e5970,_0x46e178,_0x186fcc,_0x594724)=>{const _0x320582=_0x12a2cc;for(var _0x5e2b01=_0x594724>0x1?void 0x0:_0x594724?_0x2aa518(_0x46e178,_0x186fcc):_0x46e178,_0x512142=_0x2e5970[_0x320582(0x386)]-0x1,_0x296c30;_0x512142>=0x0;_0x512142--)(_0x296c30=_0x2e5970[_0x512142])&&(_0x5e2b01=_0x296c30(_0x5e2b01)||_0x5e2b01);return _0x5e2b01;},_0x24471e=(_0x1b10a0,_0x3fa49d)=>(_0x5efd57,_0x195ae1)=>_0x3fa49d(_0x5efd57,_0x195ae1,_0x1b10a0);_0x560529[_0x12a2cc(0x47b)]=class extends _0x5c9413[_0x12a2cc(0x474)]{constructor(_0x46ac02,_0x3cea42,_0x2a25dd,_0x18c5d9){const _0x2dbe5b=_0x12a2cc;super(),_0x1206b7(this,'_status$',new _0x5c807f['BehaviorSubject'](_0x532bba['CollaborationStatus'][_0x2dbe5b(0x277)])),(this[_0x2dbe5b(0x364)]=_0x46ac02,this[_0x2dbe5b(0x2fb)]=_0x3cea42,this['_collaborationController']=_0x2a25dd,this[_0x2dbe5b(0x37f)]=_0x18c5d9,this[_0x2dbe5b(0x462)](),this['_initStatusListener']());}[_0x12a2cc(0x23e)](){const _0x5fb362=_0x12a2cc;this[_0x5fb362(0x30f)](this['_univerInstanceService'][_0x5fb362(0x3d1)]['pipe'](_0x5c807f[_0x5fb362(0x24a)](()=>{const _0x5cae17=_0x5fb362,_0xa5d00d=this[_0x5cae17(0x364)]['getFocusedUnit']();return _0xa5d00d?this[_0x5cae17(0x24e)][_0x5cae17(0x32b)](_0xa5d00d[_0x5cae17(0x45f)]()):_0x5c807f['of'](null);}),_0x5c807f['switchMap'](_0x30b31b=>_0x30b31b?_0x30b31b['status$']:_0x5c807f['of'](_0x532bba[_0x5fb362(0x41e)]['NOT_COLLAB'])))[_0x5fb362(0x29f)](_0x6a0bd4=>{const _0x1a1846=_0x5fb362;this[_0x1a1846(0x227)][_0x1a1846(0x1eb)](_0x6a0bd4);}));}[_0x12a2cc(0x462)](){const _0x24d4a1=_0x12a2cc;this[_0x24d4a1(0x30f)](this['_uiPartsService'][_0x24d4a1(0x318)](_0x4db0e6[_0x24d4a1(0x369)][_0x24d4a1(0x1ed)],()=>_0x4db0e6[_0x24d4a1(0x445)](_0x18ab40({'status$':this[_0x24d4a1(0x227)][_0x24d4a1(0x2f5)]()}),this[_0x24d4a1(0x2fb)])));}},_0x560529[_0x12a2cc(0x47b)]=_0x18fe82([_0x24471e(0x0,_0x5c9413['IUniverInstanceService']),_0x24471e(0x1,_0x5c9413[_0x12a2cc(0x38c)](_0x5c9413[_0x12a2cc(0x414)])),_0x24471e(0x2,_0x5c9413[_0x12a2cc(0x38c)](_0x532bba[_0x12a2cc(0x264)])),_0x24471e(0x3,_0x4db0e6[_0x12a2cc(0x234)])],_0x560529['DesktopCollaborationStatusDisplayController']);function _0x18ab40(_0x2a7a48){const {status$:_0x37a15d}=_0x2a7a48;return function(){const _0x42124a=_0x380c;return _0x329810[_0x42124a(0x2b9)](_0x892990,{'status$':_0x37a15d});};}var _0x2c3a6e=Object[_0x12a2cc(0x436)],_0x5c35f9=(_0x19e1d6,_0x184678,_0xbb08c,_0x4d403b)=>{for(var _0x47ae40=_0x4d403b>0x1?void 0x0:_0x4d403b?_0x2c3a6e(_0x184678,_0xbb08c):_0x184678,_0x30ccbe=_0x19e1d6['length']-0x1,_0x4b1c6d;_0x30ccbe>=0x0;_0x30ccbe--)(_0x4b1c6d=_0x19e1d6[_0x30ccbe])&&(_0x47ae40=_0x4b1c6d(_0x47ae40)||_0x47ae40);return _0x47ae40;},_0x2ce233=(_0x173849,_0x54722b)=>(_0x4748e6,_0x1fb214)=>_0x54722b(_0x4748e6,_0x1fb214,_0x173849);let _0x7d8b6=class extends _0x5c9413['Disposable']{constructor(_0x3eb0a9,_0x18f4a0,_0x3a6f25,_0x4261c6,_0x4aacc7,_0x5e89eb){const _0x11ca7c=_0x12a2cc;super(),this[_0x11ca7c(0x2e5)]=_0x3eb0a9,this[_0x11ca7c(0x34e)]=_0x18f4a0,this[_0x11ca7c(0x1fa)]=_0x3a6f25,this['_messageService']=_0x4261c6,this['_notificationService']=_0x4aacc7,this['_localeService']=_0x5e89eb,this[_0x11ca7c(0x2c0)](),this[_0x11ca7c(0x2ba)]();}[_0x12a2cc(0x2c0)](){const _0x31177f=_0x12a2cc;this['disposeWithMe'](this[_0x31177f(0x2e5)]['registerBeforeClose'](()=>{const _0x302ca6=_0x31177f;if(this[_0x302ca6(0x34e)][_0x302ca6(0x2a6)][_0x302ca6(0x483)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x12a2cc(0x2ba)](){const _0x9b6a15=_0x12a2cc;this['disposeWithMe'](this['_collaborationUIEventService'][_0x9b6a15(0x355)]['subscribe'](_0x59d95=>{const _0x1f7efd=_0x9b6a15;_0x59d95['id']===_0x532bba['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0x1f7efd(0x395)][_0x1f7efd(0x36b)]({'type':_0x27f590[_0x1f7efd(0x24d)][_0x1f7efd(0x31c)],'content':this[_0x1f7efd(0x27b)]['t'](_0x1f7efd(0x2c7))}),_0x59d95['id']===_0x532bba[_0x1f7efd(0x356)][_0x1f7efd(0x325)]&&this[_0x1f7efd(0x395)]['show']({'type':_0x27f590[_0x1f7efd(0x24d)][_0x1f7efd(0x31c)],'content':this['_localeService']['t'](_0x1f7efd(0x2d9))}),_0x59d95['id']===_0x532bba[_0x1f7efd(0x356)]['PERMISSION_DENIED']&&this['_notificationService']['show']({'title':this[_0x1f7efd(0x27b)]['t'](_0x1f7efd(0x406)),'content':this['_localeService']['t']('permission.content'),'type':_0x1f7efd(0x262),'duration':0x0}),_0x59d95['id']===_0x532bba[_0x1f7efd(0x356)][_0x1f7efd(0x2d0)]&&this[_0x1f7efd(0x395)][_0x1f7efd(0x36b)]({'type':_0x27f590[_0x1f7efd(0x24d)][_0x1f7efd(0x2a9)],'content':this[_0x1f7efd(0x27b)]['t']('collaboration.closeRoom')+'('+_0x59d95[_0x1f7efd(0x2ff)]+')'}),_0x59d95['id']===_0x532bba[_0x1f7efd(0x356)]['JOIN_ROOM_FAILED']&&this['_messageService'][_0x1f7efd(0x36b)]({'type':_0x27f590['MessageType'][_0x1f7efd(0x31c)],'content':this['_localeService']['t'](_0x59d95['data']||'')}),_0x59d95['id']===_0x532bba[_0x1f7efd(0x356)]['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x1f7efd(0x36b)]({'type':_0x27f590[_0x1f7efd(0x24d)][_0x1f7efd(0x31c)],'content':this['_localeService']['t'](_0x1f7efd(0x342))}),_0x59d95['id']===_0x532bba[_0x1f7efd(0x356)][_0x1f7efd(0x2dc)]&&this['_messageService'][_0x1f7efd(0x36b)]({'type':_0x27f590['MessageType'][_0x1f7efd(0x2a9)],'content':this[_0x1f7efd(0x27b)]['t']('session.connection-failed')}),_0x59d95['id']===_0x532bba[_0x1f7efd(0x356)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x1f7efd(0x395)]['show']({'type':_0x27f590[_0x1f7efd(0x24d)][_0x1f7efd(0x2a9)],'content':this[_0x1f7efd(0x27b)]['t'](_0x1f7efd(0x215))});}));}};_0x7d8b6=_0x5c35f9([_0x2ce233(0x0,_0x4db0e6[_0x12a2cc(0x340)]),_0x2ce233(0x1,_0x532bba[_0x12a2cc(0x444)]),_0x2ce233(0x2,_0x5c9413[_0x12a2cc(0x38c)](_0x532bba[_0x12a2cc(0x312)])),_0x2ce233(0x3,_0x4db0e6[_0x12a2cc(0x387)]),_0x2ce233(0x4,_0x4db0e6[_0x12a2cc(0x320)]),_0x2ce233(0x5,_0x5c9413['Inject'](_0x5c9413['LocaleService']))],_0x7d8b6);const _0x537436='collaboration-client-ui.config',_0x3fc096={},_0x5c53ec=_0x5c9413[_0x12a2cc(0x440)](_0x12a2cc(0x3dd));var _0x47787b=Object[_0x12a2cc(0x436)],_0x4561ee=(_0x422418,_0x49b8c6,_0x2620ef,_0x439420)=>{const _0x3359cb=_0x12a2cc;for(var _0x2c9d89=_0x439420>0x1?void 0x0:_0x439420?_0x47787b(_0x49b8c6,_0x2620ef):_0x49b8c6,_0x367eef=_0x422418[_0x3359cb(0x386)]-0x1,_0x1997a1;_0x367eef>=0x0;_0x367eef--)(_0x1997a1=_0x422418[_0x367eef])&&(_0x2c9d89=_0x1997a1(_0x2c9d89)||_0x2c9d89);return _0x2c9d89;},_0x55cecf=(_0x34a39e,_0x5acde6)=>(_0x5c3787,_0x1994ed)=>_0x5acde6(_0x5c3787,_0x1994ed,_0x34a39e);_0x560529['CollaborationDataLoaderController']=class extends _0x5c9413['RxDisposable']{constructor(_0x438ff4,_0x1766b5,_0x238d08,_0xd10170,_0x1194db){const _0x1673cf=_0x12a2cc;super(),this[_0x1673cf(0x1ea)]=_0x438ff4,this[_0x1673cf(0x3b6)]=_0x1766b5,this[_0x1673cf(0x2f2)]=_0x238d08,this['_dataLoaderService']=_0xd10170,_0x1194db?_0x1194db==null||_0x1194db['whenReady']()[_0x1673cf(0x230)](()=>this[_0x1673cf(0x47c)]()):(this[_0x1673cf(0x3b6)][_0x1673cf(0x1ee)](_0x1673cf(0x357),_0x1673cf(0x3ac)),this[_0x1673cf(0x47c)]());}async[_0x12a2cc(0x47c)](){const _0x17ac0e=_0x12a2cc,_0x2bedb8=this[_0x17ac0e(0x1ea)][_0x17ac0e(0x373)](_0x17ac0e(0x3ba)),_0x13dad5=this[_0x17ac0e(0x1ea)][_0x17ac0e(0x373)](_0x17ac0e(0x35e)),_0x48aa55=this[_0x17ac0e(0x1ea)][_0x17ac0e(0x373)](_0x17ac0e(0x354));if(!_0x2bedb8||!_0x13dad5){this['_logService'][_0x17ac0e(0x1ee)](_0x17ac0e(0x357),_0x17ac0e(0x3cc));return;}const _0x391d9c=await this[_0x17ac0e(0x2cb)][_0x17ac0e(0x271)](_0x2bedb8,Number(_0x13dad5),_0x48aa55);_0x391d9c&&_0x391d9c instanceof _0x5c9413[_0x17ac0e(0x32c)]&&this['_setupSubUnitSync'](_0x391d9c);}async[_0x12a2cc(0x28d)](_0x217cc8){const _0x288c88=_0x12a2cc;await this[_0x288c88(0x41c)](_0x217cc8),_0x217cc8['activeSheet$'][_0x288c88(0x2af)](_0x5c807f[_0x288c88(0x457)](this[_0x288c88(0x291)]))['subscribe'](_0x5d92c1=>{const _0x407644=_0x288c88;_0x5d92c1&&this[_0x407644(0x418)](_0x5d92c1);}),this[_0x288c88(0x1ea)][_0x288c88(0x2c6)][_0x288c88(0x2af)](_0x5c807f['takeUntil'](this[_0x288c88(0x291)]))[_0x288c88(0x29f)](()=>this['_updateSubUnitFromURLParams'](_0x217cc8));}[_0x12a2cc(0x418)](_0x8634b,_0x5ac034=!0x1){const _0x186b8b=_0x12a2cc,_0xfc4e94=this[_0x186b8b(0x1ea)][_0x186b8b(0x373)](_0x186b8b(0x354));_0x8634b[_0x186b8b(0x3ad)]()!==_0xfc4e94&&this['_urlService']['setParam'](_0x186b8b(0x354),_0x8634b[_0x186b8b(0x3ad)](),_0x5ac034);}async[_0x12a2cc(0x41c)](_0x457e72){const _0x442d05=_0x12a2cc;var _0x32f8a5;const _0x4d8f19=this[_0x442d05(0x1ea)][_0x442d05(0x373)]('subunit');if(!_0x4d8f19||!_0x457e72[_0x442d05(0x30c)](_0x4d8f19)){const _0x3bf7f5=_0x457e72[_0x442d05(0x45c)]()[0x0],_0x35f593=_0x457e72['getSheetBySheetId'](_0x3bf7f5);if(!_0x35f593)return;this[_0x442d05(0x418)](_0x35f593,!0x0),await this[_0x442d05(0x2f2)][_0x442d05(0x28e)](_0x333a7c[_0x442d05(0x3fe)]['id'],{'unitId':_0x457e72['getUnitId'](),'subUnitId':_0x3bf7f5});return;}((_0x32f8a5=_0x457e72[_0x442d05(0x27a)]())==null?void 0x0:_0x32f8a5[_0x442d05(0x3ad)]())!==_0x4d8f19&&await this[_0x442d05(0x2f2)][_0x442d05(0x28e)](_0x333a7c[_0x442d05(0x3fe)]['id'],{'unitId':_0x457e72[_0x442d05(0x45f)](),'subUnitId':_0x4d8f19});}},_0x560529['CollaborationDataLoaderController']=_0x4561ee([_0x55cecf(0x0,_0x5c53ec),_0x55cecf(0x1,_0x5c9413[_0x12a2cc(0x3ae)]),_0x55cecf(0x2,_0x5c9413[_0x12a2cc(0x3a8)]),_0x55cecf(0x3,_0x5c9413['Inject'](_0x532bba[_0x12a2cc(0x246)])),_0x55cecf(0x4,_0x5c9413[_0x12a2cc(0x40b)](_0x51bc92[_0x12a2cc(0x37c)]))],_0x560529['CollaborationDataLoaderController']);var _0xb5d7f4=Object['getOwnPropertyDescriptor'],_0x3dd5b1=(_0x2cf4bf,_0x5aeafd,_0x37246e,_0x1e2eb0)=>{for(var _0x419f71=_0x1e2eb0>0x1?void 0x0:_0x1e2eb0?_0xb5d7f4(_0x5aeafd,_0x37246e):_0x5aeafd,_0x1fd94f=_0x2cf4bf['length']-0x1,_0x266962;_0x1fd94f>=0x0;_0x1fd94f--)(_0x266962=_0x2cf4bf[_0x1fd94f])&&(_0x419f71=_0x266962(_0x419f71)||_0x419f71);return _0x419f71;},_0xa47470=(_0x48c13b,_0x1d7459)=>(_0x423407,_0x206f64)=>_0x1d7459(_0x423407,_0x206f64,_0x48c13b);let _0x1dc9e1=class{constructor(_0x125e5e,_0x3da63e,_0xae2945){const _0x407932=_0x12a2cc;this[_0x407932(0x2fb)]=_0x125e5e,this[_0x407932(0x270)]=_0x3da63e,this[_0x407932(0x486)]=_0xae2945;}[_0x12a2cc(0x240)](_0x5cfb64){const _0x55eca3=_0x12a2cc;this['_transformUndoRedoStack'](_0x5cfb64),this[_0x55eca3(0x41f)](_0x5cfb64);}[_0x12a2cc(0x3f4)](_0x2629eb){const _0x193a10=_0x12a2cc,{unitID:_0x245ead}=_0x2629eb,_0x4d2836=this[_0x193a10(0x486)][_0x193a10(0x254)](_0x245ead)[_0x193a10(0x37e)](_0x2f8870[_0x193a10(0x351)]),{redoCache:_0x15a6d6}=_0x4d2836[_0x193a10(0x314)]();if(_0x15a6d6[_0x193a10(0x386)]===0x0)return _0x2629eb;let _0x380a5b=_0x5c9413[_0x193a10(0x21f)][_0x193a10(0x42e)](_0x2629eb['mutations'][0x0]);for(let _0x5d1d97=0x0;_0x5d1d97<_0x15a6d6[_0x193a10(0x386)];_0x5d1d97++){const _0x39ccc5={'id':_0x193a10(0x3a9),'params':{..._0x15a6d6[_0x5d1d97]}},_0x4fecce=this[_0x193a10(0x270)][_0x193a10(0x305)](_0x380a5b,_0x39ccc5,!0x1);if(_0x492d9e['isTransformMutationFailure'](_0x4fecce))throw _0x4fecce[_0x193a10(0x262)];_0x380a5b=_0x4fecce['m1Prime'];}return{..._0x5c9413[_0x193a10(0x21f)]['deepClone'](_0x2629eb),'mutations':[_0x380a5b]};}[_0x12a2cc(0x3d3)](_0x3a50e6){const _0x3e2746=_0x12a2cc,{unitID:_0x3ce49b}=_0x3a50e6,_0x28103e=this[_0x3e2746(0x486)][_0x3e2746(0x254)](_0x3ce49b)['with'](_0x2f8870[_0x3e2746(0x351)]),{undoCache:_0x39ba51,redoCache:_0x461ae7}=_0x28103e[_0x3e2746(0x314)]();if(_0x39ba51[_0x3e2746(0x386)]===0x0||_0x461ae7[_0x3e2746(0x386)]===0x0)return;const _0x41b34d=[],_0x2df44b=[];let _0x48126d=_0x5c9413['Tools'][_0x3e2746(0x42e)](_0x3a50e6[_0x3e2746(0x1e9)][0x0]),_0x422f31=_0x5c9413['Tools'][_0x3e2746(0x42e)](_0x3a50e6['mutations'][0x0]);for(let _0x5aeaba=_0x39ba51[_0x3e2746(0x386)]-0x1;_0x5aeaba>=0x0;_0x5aeaba--){const _0x466690={'id':_0x3e2746(0x3a9),'params':{..._0x39ba51[_0x5aeaba]}},_0x4e24c8={'id':'doc.mutation.rich-text-editing','params':{..._0x461ae7[_0x5aeaba]}},_0x546b6b=this['_transformService'][_0x3e2746(0x305)](_0x48126d,_0x466690,!0x1),_0x4a6d8c=this[_0x3e2746(0x270)][_0x3e2746(0x305)](_0x422f31,_0x4e24c8,!0x1);if(_0x492d9e[_0x3e2746(0x31b)](_0x546b6b))throw _0x546b6b[_0x3e2746(0x262)];if(_0x492d9e['isTransformMutationFailure'](_0x4a6d8c))throw _0x4a6d8c[_0x3e2746(0x262)];_0x41b34d['unshift'](_0x546b6b[_0x3e2746(0x3c9)]['params']),_0x2df44b[_0x3e2746(0x46a)](_0x4a6d8c[_0x3e2746(0x3c9)][_0x3e2746(0x281)]),_0x48126d=_0x546b6b[_0x3e2746(0x2d5)],_0x422f31=_0x4a6d8c[_0x3e2746(0x2d5)];}_0x28103e[_0x3e2746(0x38a)]({'undoCache':_0x41b34d,'redoCache':_0x2df44b});}[_0x12a2cc(0x41f)](_0x1bd01f){const _0x5ce680=_0x12a2cc,{unitID:_0x428765}=_0x1bd01f,_0x1df3bc=this[_0x5ce680(0x486)]['getRenderById'](_0x428765)[_0x5ce680(0x37e)](_0x2f8870[_0x5ce680(0x351)]),_0x1e6108=_0x1df3bc[_0x5ce680(0x20a)]();if(_0x1e6108==null)return;const _0x1a43d6=[{'id':_0x5ce680(0x3a9),'params':{'unitId':_0x1bd01f[_0x5ce680(0x2c8)],'actions':null,'textRanges':[_0x1e6108]}}],_0x262a9c=this['_transformService']['transformMutationsWithChangeset'](_0x1bd01f,_0x1a43d6);if(!_0x492d9e['isTransformMutationsWithChangesetSuccess'](_0x262a9c))throw _0x262a9c[_0x5ce680(0x262)];const _0x2f19e1=_0x262a9c[_0x5ce680(0x3c9)][0x0]['params'][_0x5ce680(0x280)];Array[_0x5ce680(0x2c4)](_0x2f19e1)&&_0x2f19e1[_0x5ce680(0x386)]&&_0x1df3bc['setActiveRange'](_0x2f19e1[0x0]);}};_0x1dc9e1=_0x3dd5b1([_0xa47470(0x0,_0x5c9413[_0x12a2cc(0x38c)](_0x5c9413['Injector'])),_0xa47470(0x1,_0x492d9e['ITransformService']),_0xa47470(0x2,_0x1f04f6[_0x12a2cc(0x3ef)])],_0x1dc9e1);var _0x1e859c=Object[_0x12a2cc(0x436)],_0x351e4d=(_0x2306f4,_0xd891a0,_0x40abe6,_0x209c0b)=>{const _0x4f6c25=_0x12a2cc;for(var _0x17ec17=_0x209c0b>0x1?void 0x0:_0x209c0b?_0x1e859c(_0xd891a0,_0x40abe6):_0xd891a0,_0xb66f9b=_0x2306f4[_0x4f6c25(0x386)]-0x1,_0x7e1536;_0xb66f9b>=0x0;_0xb66f9b--)(_0x7e1536=_0x2306f4[_0xb66f9b])&&(_0x17ec17=_0x7e1536(_0x17ec17)||_0x17ec17);return _0x17ec17;},_0x202121=(_0x38a270,_0x22ba0a)=>(_0x736125,_0x4659b6)=>_0x22ba0a(_0x736125,_0x4659b6,_0x38a270);let _0x135a09=class{constructor(_0x440b7a,_0x197c11,_0x2cda4a){const _0x2dc6d6=_0x12a2cc;this[_0x2dc6d6(0x2fb)]=_0x440b7a,this[_0x2dc6d6(0x270)]=_0x197c11,this[_0x2dc6d6(0x405)]=_0x2cda4a;}[_0x12a2cc(0x3ee)](_0x20c4bd){const _0x4da029=_0x12a2cc;this[_0x4da029(0x255)](_0x20c4bd);}[_0x12a2cc(0x3f4)](_0x3259f0){const _0x1e9336=_0x12a2cc,{unitID:_0x51f2f8}=_0x3259f0,{collaboration:_0x292443}=this[_0x1e9336(0x405)][_0x1e9336(0x420)](_0x51f2f8);if(_0x292443[_0x1e9336(0x386)]===0x0)return _0x3259f0;let _0x3dc8f7=_0x5c9413['Tools'][_0x1e9336(0x42e)](_0x3259f0['mutations'][0x0]);for(let _0x12e868=0x0;_0x12e868<_0x292443[_0x1e9336(0x386)];_0x12e868++){const _0x645740={'id':_0x1e9336(0x3a9),'params':{'unitId':_0x292443[_0x12e868][_0x1e9336(0x330)],..._0x292443[_0x12e868][_0x1e9336(0x20f)]}},_0x49f9ea=this['_transformService']['transformMutation'](_0x3dc8f7,_0x645740,!0x1);if(_0x492d9e[_0x1e9336(0x31b)](_0x49f9ea))throw _0x49f9ea[_0x1e9336(0x262)];_0x3dc8f7=_0x49f9ea[_0x1e9336(0x2d5)];}return{..._0x5c9413[_0x1e9336(0x21f)][_0x1e9336(0x42e)](_0x3259f0),'mutations':[_0x3dc8f7]};}[_0x12a2cc(0x255)](_0x4382ca){const _0x33b97a=_0x12a2cc,{unitID:_0x310f65}=_0x4382ca,{history:_0x40bb35,collaboration:_0x3a6164}=this[_0x33b97a(0x405)]['getStateCache'](_0x310f65);if(_0x40bb35[_0x33b97a(0x386)]===0x0&&_0x3a6164['length']===0x0)return;const _0x2ea997=[],_0x11efce=[];let _0x597237=_0x5c9413[_0x33b97a(0x21f)][_0x33b97a(0x42e)](_0x4382ca[_0x33b97a(0x1e9)][0x0]),_0x3fe4a7=_0x5c9413['Tools'][_0x33b97a(0x42e)](_0x4382ca[_0x33b97a(0x1e9)][0x0]);for(let _0x44922e=_0x40bb35[_0x33b97a(0x386)]-0x1;_0x44922e>=0x0;_0x44922e--){const _0x685799={'id':_0x33b97a(0x3a9),'params':{'unitId':_0x40bb35[_0x44922e][_0x33b97a(0x330)],..._0x40bb35[_0x44922e][_0x33b97a(0x36c)]}},_0x5b949c={'id':_0x33b97a(0x3a9),'params':{'unitId':_0x40bb35[_0x44922e][_0x33b97a(0x330)],..._0x40bb35[_0x44922e][_0x33b97a(0x20f)]}},_0x36d666=this[_0x33b97a(0x270)][_0x33b97a(0x305)](_0x597237,_0x685799,!0x1),_0x255dfe=this[_0x33b97a(0x270)][_0x33b97a(0x305)](_0x3fe4a7,_0x5b949c,!0x1);if(_0x492d9e[_0x33b97a(0x31b)](_0x36d666))throw _0x36d666['error'];if(_0x492d9e[_0x33b97a(0x31b)](_0x255dfe))throw _0x255dfe[_0x33b97a(0x262)];_0x2ea997[_0x33b97a(0x46a)]({..._0x40bb35[_0x44922e],'undoState':_0x36d666[_0x33b97a(0x3c9)][_0x33b97a(0x281)],'redoState':_0x255dfe[_0x33b97a(0x3c9)][_0x33b97a(0x281)]}),_0x597237=_0x36d666[_0x33b97a(0x2d5)],_0x3fe4a7=_0x255dfe[_0x33b97a(0x2d5)];}_0x597237=_0x5c9413[_0x33b97a(0x21f)][_0x33b97a(0x42e)](_0x4382ca['mutations'][0x0]),_0x3fe4a7=_0x5c9413[_0x33b97a(0x21f)][_0x33b97a(0x42e)](_0x4382ca['mutations'][0x0]);for(let _0x3f0109=_0x3a6164[_0x33b97a(0x386)]-0x1;_0x3f0109>=0x0;_0x3f0109--){const _0x3d6584={'id':_0x33b97a(0x3a9),'params':{'unitId':_0x3a6164[_0x3f0109][_0x33b97a(0x330)],..._0x3a6164[_0x3f0109][_0x33b97a(0x36c)]}},_0x2a7262={'id':_0x33b97a(0x3a9),'params':{'unitId':_0x3a6164[_0x3f0109]['unitId'],..._0x3a6164[_0x3f0109][_0x33b97a(0x20f)]}},_0x2f15a7=this['_transformService'][_0x33b97a(0x305)](_0x597237,_0x3d6584,!0x1),_0x4d7fbb=this[_0x33b97a(0x270)][_0x33b97a(0x305)](_0x3fe4a7,_0x2a7262,!0x1);if(_0x492d9e[_0x33b97a(0x31b)](_0x2f15a7))throw _0x2f15a7[_0x33b97a(0x262)];if(_0x492d9e[_0x33b97a(0x31b)](_0x4d7fbb))throw _0x4d7fbb['error'];_0x11efce[_0x33b97a(0x46a)]({..._0x3a6164[_0x3f0109],'undoState':_0x2f15a7[_0x33b97a(0x3c9)][_0x33b97a(0x281)],'redoState':_0x4d7fbb[_0x33b97a(0x3c9)][_0x33b97a(0x281)]}),_0x597237=_0x2f15a7['m1Prime'],_0x3fe4a7=_0x4d7fbb[_0x33b97a(0x2d5)];}this[_0x33b97a(0x405)][_0x33b97a(0x267)](_0x310f65,{'history':_0x2ea997,'collaboration':_0x11efce});}};_0x135a09=_0x351e4d([_0x202121(0x0,_0x5c9413[_0x12a2cc(0x38c)](_0x5c9413[_0x12a2cc(0x414)])),_0x202121(0x1,_0x492d9e[_0x12a2cc(0x3f6)]),_0x202121(0x2,_0x5c9413[_0x12a2cc(0x38c)](_0x2f8870['DocStateChangeManagerService']))],_0x135a09);var _0x20afa8=Object[_0x12a2cc(0x436)],_0xf89832=(_0x552dc9,_0x82a907,_0x49aec8,_0x5e8e2a)=>{const _0x41d45c=_0x12a2cc;for(var _0xcbc15=_0x5e8e2a>0x1?void 0x0:_0x5e8e2a?_0x20afa8(_0x82a907,_0x49aec8):_0x82a907,_0x47fecf=_0x552dc9[_0x41d45c(0x386)]-0x1,_0x538124;_0x47fecf>=0x0;_0x47fecf--)(_0x538124=_0x552dc9[_0x47fecf])&&(_0xcbc15=_0x538124(_0xcbc15)||_0xcbc15);return _0xcbc15;},_0x4e5b7e=(_0xe49223,_0x1f789b)=>(_0x496257,_0x14b93a)=>_0x1f789b(_0x496257,_0x14b93a,_0xe49223);let _0x369632=class{constructor(_0x392c62,_0x166249){const _0x2e639c=_0x12a2cc;this[_0x2e639c(0x2fb)]=_0x392c62,this[_0x2e639c(0x270)]=_0x166249;}[_0x12a2cc(0x2b6)](_0x2ec7ce){const _0x20d1ee=_0x12a2cc;var _0xac09d0;const _0xa0e4b6=this[_0x20d1ee(0x2fb)][_0x20d1ee(0x2f0)](_0x39044d[_0x20d1ee(0x252)]),_0x19aac1=(_0xac09d0=_0xa0e4b6[_0x20d1ee(0x2e0)]())!=null?_0xac09d0:[];if(_0x19aac1['length']===0x0)return;const _0x78a6c7=_0x2ec7ce['unitID'],_0x1baee8=[{'id':_0x20d1ee(0x3a9),'params':{'unitId':_0x78a6c7,'actions':null,'textRanges':_0x19aac1}}],_0x551a5d=this[_0x20d1ee(0x270)][_0x20d1ee(0x415)](_0x2ec7ce,_0x1baee8);if(!_0x492d9e[_0x20d1ee(0x448)](_0x551a5d))throw _0x551a5d[_0x20d1ee(0x262)];const _0x550b3e=_0x551a5d[_0x20d1ee(0x3c9)][0x0]['params'][_0x20d1ee(0x280)];Array[_0x20d1ee(0x2c4)](_0x550b3e)&&_0x550b3e['length']&&_0xa0e4b6[_0x20d1ee(0x238)](_0x550b3e,{'unitId':_0x78a6c7,'subUnitId':_0x78a6c7},!0x1);}};_0x369632=_0xf89832([_0x4e5b7e(0x0,_0x5c9413[_0x12a2cc(0x38c)](_0x5c9413[_0x12a2cc(0x414)])),_0x4e5b7e(0x1,_0x492d9e[_0x12a2cc(0x3f6)])],_0x369632);var _0x5000f0=Object[_0x12a2cc(0x436)],_0x390e93=(_0x1b112c,_0x546cff,_0x54f514,_0x3d879e)=>{const _0x35da35=_0x12a2cc;for(var _0x12ffa0=_0x3d879e>0x1?void 0x0:_0x3d879e?_0x5000f0(_0x546cff,_0x54f514):_0x546cff,_0x5484e3=_0x1b112c[_0x35da35(0x386)]-0x1,_0x4915d8;_0x5484e3>=0x0;_0x5484e3--)(_0x4915d8=_0x1b112c[_0x5484e3])&&(_0x12ffa0=_0x4915d8(_0x12ffa0)||_0x12ffa0);return _0x12ffa0;},_0x5e2036=(_0x3d32d0,_0x19025c)=>(_0x93c39c,_0x1ca988)=>_0x19025c(_0x93c39c,_0x1ca988,_0x3d32d0);let _0x2beeff=class extends _0x5c9413['Disposable']{constructor(_0xeda6ad,_0x1054fe,_0x47f276,_0x1af3dd,_0x4d71d6,_0x292e18,_0xd96791,_0x199ea7){const _0x523e3d=_0x12a2cc;super(),_0x1206b7(this,'_status$',new _0x5c807f[(_0x523e3d(0x3bb))](_0x532bba[_0x523e3d(0x41e)][_0x523e3d(0x277)])),(this[_0x523e3d(0x405)]=_0xeda6ad,this[_0x523e3d(0x24e)]=_0x1054fe,this[_0x523e3d(0x370)]=_0x47f276,this[_0x523e3d(0x2a4)]=_0x1af3dd,this[_0x523e3d(0x3f1)]=_0x4d71d6,this[_0x523e3d(0x26b)]=_0x292e18,this[_0x523e3d(0x395)]=_0xd96791,this[_0x523e3d(0x27b)]=_0x199ea7,this[_0x523e3d(0x2d6)]());}[_0x12a2cc(0x2d6)](){const _0x1fb739=_0x12a2cc;this['disposeWithMe'](this[_0x1fb739(0x24e)][_0x1fb739(0x29a)][_0x1fb739(0x29f)](_0x47830a=>{const _0x38510d=_0x1fb739,_0x7ced77=this[_0x38510d(0x405)][_0x38510d(0x30e)][_0x38510d(0x29f)](_0x295651=>{const _0x408026=_0x38510d;if(_0x295651==null)return;const {unitId:_0x17d846,redoState:_0x50cc33,commandId:_0x4969c9}=_0x295651;if(_0x17d846!==_0x47830a['unitID'])return;const _0x4eb8e0={'id':_0x4969c9,'type':_0x5c9413[_0x408026(0x2e9)][_0x408026(0x381)],'params':{'unitId':_0x17d846,'actions':_0x50cc33[_0x408026(0x2b5)],'textRanges':null}};_0x47830a['onLocalMutation'](_0x4eb8e0);});if(_0x47830a['disposeWithMe'](_0x7ced77),_0x47830a instanceof _0x532bba[_0x38510d(0x3d6)]){const _0x389e65={'onTransformIME':_0x2f115c=>this['_docTransformIMECacheService']['transformIMECache'](_0x2f115c),'onTransformState':_0x5399ac=>this[_0x38510d(0x2a4)][_0x38510d(0x3ee)](_0x5399ac),'onTransformSelections':_0x1d9ce8=>this['_docTransformSelectionsService'][_0x38510d(0x2b6)](_0x1d9ce8),'onSyncEditingCollabCursor':_0x2da563=>this[_0x38510d(0x26b)][_0x38510d(0x374)](_0x2da563),'onTransformRemoteChangesetByIMECache':_0x250719=>this['_docTransformIMECacheService'][_0x38510d(0x3f4)](_0x250719),'onTransformRemoteChangesetByStateCache':_0x4eed03=>this[_0x38510d(0x2a4)]['transformRemoteChangeset'](_0x4eed03)};_0x47830a['addHandlerCallback'](_0x389e65);}}));}};_0x2beeff=_0x390e93([_0x5e2036(0x0,_0x5c9413[_0x12a2cc(0x38c)](_0x2f8870[_0x12a2cc(0x299)])),_0x5e2036(0x1,_0x5c9413[_0x12a2cc(0x38c)](_0x532bba['CollaborationController'])),_0x5e2036(0x2,_0x5c9413[_0x12a2cc(0x38c)](_0x1dc9e1)),_0x5e2036(0x3,_0x5c9413[_0x12a2cc(0x38c)](_0x135a09)),_0x5e2036(0x4,_0x5c9413['Inject'](_0x369632)),_0x5e2036(0x5,_0x5c9413['Inject'](_0x43ae26)),_0x5e2036(0x6,_0x4db0e6[_0x12a2cc(0x387)]),_0x5e2036(0x7,_0x5c9413[_0x12a2cc(0x38c)](_0x5c9413[_0x12a2cc(0x3d0)]))],_0x2beeff);var _0x2e1ac6=Object[_0x12a2cc(0x436)],_0x1060b9=(_0x2fb9ea,_0x5f5369,_0x50bd51,_0x5e2b90)=>{const _0xa2b4fa=_0x12a2cc;for(var _0x3fd105=_0x5e2b90>0x1?void 0x0:_0x5e2b90?_0x2e1ac6(_0x5f5369,_0x50bd51):_0x5f5369,_0xa15420=_0x2fb9ea[_0xa2b4fa(0x386)]-0x1,_0x511037;_0xa15420>=0x0;_0xa15420--)(_0x511037=_0x2fb9ea[_0xa15420])&&(_0x3fd105=_0x511037(_0x3fd105)||_0x3fd105);return _0x3fd105;},_0x58580e=(_0x5b2621,_0x5d3de1)=>(_0x5b193e,_0x57124a)=>_0x5d3de1(_0x5b193e,_0x57124a,_0x5b2621);let _0x515b68=class extends _0x5c9413[_0x12a2cc(0x474)]{constructor(_0x3aebd1,_0x47efd7,_0x5c797d){const _0x3e4f49=_0x12a2cc;super(),_0x1206b7(this,_0x3e4f49(0x349),new Map()),_0x1206b7(this,_0x3e4f49(0x24f),new Map()),_0x1206b7(this,_0x3e4f49(0x391),!0x1),(this['_configService']=_0x3aebd1,this[_0x3e4f49(0x42b)]=_0x47efd7,this[_0x3e4f49(0x484)]=_0x5c797d);}[_0x12a2cc(0x441)](){const _0x547c61=_0x12a2cc;this[_0x547c61(0x391)]=!0x0;}[_0x12a2cc(0x3fb)](){const _0x5e04b5=_0x12a2cc;this[_0x5e04b5(0x391)]=!0x1;}get['saveTaskMap'](){const _0x4923d3=_0x12a2cc;return this[_0x4923d3(0x24f)];}[_0x12a2cc(0x2eb)](){this['exhaustSavingTask']()['then'](()=>super['dispose']());}async['loadOfflineData'](_0x2e2013){const _0x159903=_0x12a2cc;return this[_0x159903(0x391)]?null:this[_0x159903(0x42b)][_0x159903(0x480)](_0x532bba[_0x159903(0x30d)](_0x2e2013));}async[_0x12a2cc(0x29c)](_0x4db657,_0x578a9b){const _0x8b837f=_0x12a2cc;return!!this['_localStorageService'][_0x8b837f(0x472)](_0x4db657,_0x578a9b);}[_0x12a2cc(0x404)](_0x49999e,_0x2491e3,_0x298bf5,_0x36758e){const _0xaabd70=_0x12a2cc,_0x317272=this['_revisionService'][_0xaabd70(0x44f)](_0x49999e);this['_cachedData'][_0xaabd70(0x2ee)](_0x49999e,{'unitID':_0x49999e,'type':_0x2491e3,'awaitingChangeset':_0x298bf5,'mutations':_0x36758e,'rev':_0x317272}),this[_0xaabd70(0x24f)][_0xaabd70(0x3f7)](_0x49999e)||this[_0xaabd70(0x21c)](_0x49999e);}[_0x12a2cc(0x21c)](_0x3e3ec8){const _0x4f043c=_0x12a2cc,_0x3c662e=this['_getSaveTimeout']();_0x3c662e===0x0?this[_0x4f043c(0x328)](_0x3e3ec8):this[_0x4f043c(0x24f)][_0x4f043c(0x2ee)](_0x3e3ec8,setTimeout(()=>this[_0x4f043c(0x328)](_0x3e3ec8),_0x3c662e));}[_0x12a2cc(0x376)](){const _0x3dd717=_0x12a2cc;var _0x130346;return(_0x130346=this[_0x3dd717(0x423)][_0x3dd717(0x3d7)](_0x532bba[_0x3dd717(0x2e1)]))!=null?_0x130346:_0x532bba[_0x3dd717(0x46b)];}[_0x12a2cc(0x328)](_0x258e12){const _0x3867f2=_0x12a2cc,_0x44b0ed=this[_0x3867f2(0x24f)][_0x3867f2(0x2f0)](_0x258e12);return _0x44b0ed!==void 0x0&&window[_0x3867f2(0x247)](_0x44b0ed),this[_0x3867f2(0x42b)][_0x3867f2(0x472)](_0x532bba['getLocalCacheKey'](_0x258e12),this['_cachedData'][_0x3867f2(0x2f0)](_0x258e12))[_0x3867f2(0x230)](()=>this[_0x3867f2(0x24f)][_0x3867f2(0x1f6)](_0x258e12));}async['exhaustSavingTask'](){const _0x23506a=_0x12a2cc,_0x144fb0=[];this[_0x23506a(0x24f)]['forEach']((_0x38883c,_0x536031)=>{const _0x10444f=_0x23506a;window[_0x10444f(0x247)](_0x38883c),_0x144fb0['push'](this['_saveCache'](_0x536031)[_0x10444f(0x230)](()=>{const _0x5f4436=_0x10444f;this[_0x5f4436(0x24f)]['delete'](_0x536031);}));}),await Promise[_0x23506a(0x3d5)](_0x144fb0);}};_0x515b68=_0x1060b9([_0x58580e(0x0,_0x5c9413[_0x12a2cc(0x3a5)]),_0x58580e(0x1,_0x5c9413[_0x12a2cc(0x35f)]),_0x58580e(0x2,_0x5c9413[_0x12a2cc(0x38c)](_0x492d9e[_0x12a2cc(0x3eb)]))],_0x515b68);class _0x2821f4 extends _0x5c9413[_0x12a2cc(0x435)]{constructor(){const _0x5abdac=_0x12a2cc;super(),_0x1206b7(this,_0x5abdac(0x2c6)),this[_0x5abdac(0x2c6)]=_0x5c807f['fromEvent'](window,_0x5abdac(0x45b))[_0x5abdac(0x2af)](_0x5c807f['takeUntil'](this['dispose$']),_0x5c807f[_0x5abdac(0x2d7)](0x1),_0x5c807f[_0x5abdac(0x293)](void 0x0));}[_0x12a2cc(0x283)](_0x51f4c3,_0x10af3e,_0x51959c=!0x1){const _0x1d06a1=_0x12a2cc,_0x1a5f4a=new URL(window[_0x1d06a1(0x394)][_0x1d06a1(0x409)]);_0x1a5f4a[_0x1d06a1(0x47e)][_0x1d06a1(0x2ee)](_0x51f4c3,_0x10af3e),_0x51959c?window[_0x1d06a1(0x285)]['replaceState']('','',_0x1a5f4a[_0x1d06a1(0x461)]()):window[_0x1d06a1(0x285)]['pushState']('','',_0x1a5f4a[_0x1d06a1(0x461)]());}[_0x12a2cc(0x3a6)](_0x2007d2,_0x4576cb=!0x1){const _0xa75042=_0x12a2cc,_0x378c3a=new URL(window[_0xa75042(0x394)][_0xa75042(0x409)]);_0x378c3a[_0xa75042(0x47e)][_0xa75042(0x1f6)](_0x2007d2),_0x4576cb?window['history'][_0xa75042(0x408)]('','',_0x378c3a[_0xa75042(0x461)]()):window['history'][_0xa75042(0x393)]('','',_0x378c3a[_0xa75042(0x461)]());}[_0x12a2cc(0x373)](_0xc13723){const _0x45ecbd=_0x12a2cc;var _0x12eed5;return(_0x12eed5=new URL(window['location'][_0x45ecbd(0x409)])[_0x45ecbd(0x47e)][_0x45ecbd(0x2f0)](_0xc13723))!=null?_0x12eed5:void 0x0;}}var _0x28c8b2=Object[_0x12a2cc(0x295)],_0x38f862=Object[_0x12a2cc(0x436)],_0x41dc6b=(_0x34f9b7,_0x1b6b92,_0x31557f)=>_0x1b6b92 in _0x34f9b7?_0x28c8b2(_0x34f9b7,_0x1b6b92,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x31557f}):_0x34f9b7[_0x1b6b92]=_0x31557f,_0x5e70b2=(_0x2a530d,_0x53e6ab,_0x106a6f,_0x443e3d)=>{const _0x3c815b=_0x12a2cc;for(var _0x4316ea=_0x443e3d>0x1?void 0x0:_0x443e3d?_0x38f862(_0x53e6ab,_0x106a6f):_0x53e6ab,_0x386b74=_0x2a530d[_0x3c815b(0x386)]-0x1,_0x4e1b07;_0x386b74>=0x0;_0x386b74--)(_0x4e1b07=_0x2a530d[_0x386b74])&&(_0x4316ea=_0x4e1b07(_0x4316ea)||_0x4316ea);return _0x4316ea;},_0x202d6d=(_0x1cec86,_0x52945c)=>(_0x279a81,_0x17f5bb)=>_0x52945c(_0x279a81,_0x17f5bb,_0x1cec86),_0x3506b7=(_0xfd56c9,_0x39edae,_0x355def)=>_0x41dc6b(_0xfd56c9,_0x39edae+'',_0x355def);const _0x472ddf=_0x12a2cc(0x2ad);_0x560529[_0x12a2cc(0x346)]=class extends _0x5c9413[_0x12a2cc(0x3b0)]{constructor(_0x5e1476=_0x3fc096,_0x475616,_0x462429,_0x50a8b3){const _0x116e71=_0x12a2cc;super(),this[_0x116e71(0x2e8)]=_0x5e1476,this[_0x116e71(0x486)]=_0x475616,this[_0x116e71(0x2fb)]=_0x462429,this[_0x116e71(0x423)]=_0x50a8b3;const {..._0x481314}=_0x5c9413[_0x116e71(0x22b)]({},_0x3fc096,this[_0x116e71(0x2e8)]);this[_0x116e71(0x423)][_0x116e71(0x40a)](_0x537436,_0x481314);}[_0x12a2cc(0x39a)](){const _0x2a1023=_0x12a2cc;this[_0x2a1023(0x217)](),this['_initDependencies']();}[_0x12a2cc(0x316)](){const _0x2e836e=_0x12a2cc;this[_0x2e836e(0x237)]();}[_0x12a2cc(0x217)](){const _0x2996d0=_0x12a2cc;var _0x197eb9;const _0x552eb9=[[_0x581544],[_0x369632],[_0x1dc9e1],[_0x135a09],[_0x43ae26],[_0x5c53ec,{'useClass':_0x2821f4}],[_0x592e97[_0x2996d0(0x1ff)],{'useClass':_0x592e97['WebSocketService']}],[_0x532bba['ILocalCacheService'],{'useClass':_0x515b68}],[_0x560529['DesktopCollaborationStatusDisplayController']],[_0x2beeff],[_0x7d8b6],[_0x44788c],[_0x29cac0],[_0x560529[_0x2996d0(0x29b)]]];_0x5c9413['registerDependencies'](this[_0x2996d0(0x2fb)],_0x5c9413[_0x2996d0(0x3bd)](_0x552eb9,(_0x197eb9=this[_0x2996d0(0x2e8)])==null?void 0x0:_0x197eb9[_0x2996d0(0x33d)]));}[_0x12a2cc(0x237)](){const _0x565ef6=_0x12a2cc;this['disposeWithMe'](this[_0x565ef6(0x486)][_0x565ef6(0x32f)](_0x5c9413[_0x565ef6(0x2be)]['UNIVER_DOC'],[_0x1f01a9])),this[_0x565ef6(0x30f)](this[_0x565ef6(0x486)][_0x565ef6(0x32f)](_0x5c9413['UniverInstanceType'][_0x565ef6(0x3ea)],[_0x5203d8]));}[_0x12a2cc(0x407)](){const _0x28c6da=_0x12a2cc;_0x5c9413['touchDependencies'](this[_0x28c6da(0x2fb)],[[_0x44788c],[_0x560529['DesktopCollaborationStatusDisplayController']],[_0x2beeff],[_0x7d8b6],[_0x560529[_0x28c6da(0x29b)]]]);}},_0x3506b7(_0x560529['UniverCollaborationClientUIPlugin'],'pluginName',_0x472ddf),_0x560529[_0x12a2cc(0x346)]=_0x5e70b2([_0x5c9413[_0x12a2cc(0x3af)](_0x532bba[_0x12a2cc(0x44e)]),_0x202d6d(0x1,_0x1f04f6[_0x12a2cc(0x3ef)]),_0x202d6d(0x2,_0x5c9413['Inject'](_0x5c9413[_0x12a2cc(0x414)])),_0x202d6d(0x3,_0x5c9413['IConfigService'])],_0x560529[_0x12a2cc(0x346)]);var _0x56da9c=Object[_0x12a2cc(0x436)],_0x49f51b=(_0x18ba02,_0x1ebcbd,_0x51397f,_0x30c61c)=>{const _0x19d9ad=_0x12a2cc;for(var _0x201d63=_0x30c61c>0x1?void 0x0:_0x30c61c?_0x56da9c(_0x1ebcbd,_0x51397f):_0x1ebcbd,_0x5790f3=_0x18ba02[_0x19d9ad(0x386)]-0x1,_0x1ff477;_0x5790f3>=0x0;_0x5790f3--)(_0x1ff477=_0x18ba02[_0x5790f3])&&(_0x201d63=_0x1ff477(_0x201d63)||_0x201d63);return _0x201d63;},_0x4e18b4=(_0x27e8cf,_0x4962de)=>(_0x43b834,_0x193a76)=>_0x4962de(_0x43b834,_0x193a76,_0x27e8cf);_0x560529[_0x12a2cc(0x3df)]=class extends _0x532bba[_0x12a2cc(0x274)]{constructor(_0x344c44,_0x296fda,_0x56505d,_0x33c353,_0x14ece0){super(_0x344c44,_0x296fda,_0x56505d,_0x33c353,_0x14ece0);}async[_0x12a2cc(0x25e)](_0x1a4e97){const _0x4d4415=_0x12a2cc,_0xc234dd=await this['_getSessionTicket'](),_0x4844b3=this[_0x4d4415(0x1ec)](_0x1a4e97,_0xc234dd);return this['_doCreateSocket'](_0x4844b3);}[_0x12a2cc(0x1ec)](_0x5ae278,_0x50ae6f){const _0x1eae65=_0x12a2cc,_0x69db9a=typeof window>'u'?new URL(_0x5ae278):new URL(_0x5ae278,window[_0x1eae65(0x394)][_0x1eae65(0x455)]);_0x69db9a[_0x1eae65(0x47e)]['set'](_0x1eae65(0x290),_0x50ae6f);const _0x16b394=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1eae65(0x394)][_0x1eae65(0x28a)]);return _0x16b394['get'](_0x1eae65(0x450))&&_0x69db9a[_0x1eae65(0x47e)][_0x1eae65(0x2ee)](_0x1eae65(0x450),_0x16b394[_0x1eae65(0x2f0)](_0x1eae65(0x450))),_0x69db9a[_0x1eae65(0x461)]();}async[_0x12a2cc(0x1fb)](){const _0x265873=_0x12a2cc;var _0x41a53e,_0x5da90f,_0xa617a1;const _0x5d673a=this[_0x265873(0x423)][_0x265873(0x3d7)](_0x532bba[_0x265873(0x243)]),_0x41c011=(_0x41a53e=_0x5d673a==null?void 0x0:_0x5d673a[_0x265873(0x2cc)])!=null?_0x41a53e:_0x532bba[_0x265873(0x451)];return(_0xa617a1=(_0x5da90f=(await this[_0x265873(0x3a0)][_0x265873(0x2f0)](_0x41c011,{'headers':{'Content-Type':_0x265873(0x3ed)}}))[_0x265873(0x43e)])==null?void 0x0:_0x5da90f['ticket'])!=null?_0xa617a1:'';}},_0x560529['BrowserCollaborationSocketService']=_0x49f51b([_0x4e18b4(0x0,_0x5c9413['Inject'](_0x5c9413['Injector'])),_0x4e18b4(0x1,_0x5c9413[_0x12a2cc(0x38c)](_0x592e97[_0x12a2cc(0x3dc)])),_0x4e18b4(0x2,_0x5c9413[_0x12a2cc(0x3a5)]),_0x4e18b4(0x3,_0x5c9413['ILogService']),_0x4e18b4(0x4,_0x492d9e[_0x12a2cc(0x347)])],_0x560529[_0x12a2cc(0x3df)]);const _0x4d14a8=0x7530,_0xfccced='ACTIVE_UNIT_EVENT_CHANNEL';class _0x11d245 extends _0x5c9413[_0x12a2cc(0x474)]{constructor(){const _0x1c4b0e=_0x12a2cc;super(),_0x1206b7(this,_0x1c4b0e(0x485),_0x5c9413[_0x1c4b0e(0x34a)]()),_0x1206b7(this,'_selfUnitIDs',new Set()),_0x1206b7(this,_0x1c4b0e(0x459),new Map()),_0x1206b7(this,_0x1c4b0e(0x38d),null),_0x1206b7(this,'_clearOtherTimers',new Map()),_0x1206b7(this,'_unitStatus',new Map()),this[_0x1c4b0e(0x47c)]();}['dispose'](){const _0x273d7a=_0x12a2cc;super[_0x273d7a(0x2eb)](),this[_0x273d7a(0x46d)][_0x273d7a(0x3c8)]((_0xdeacad,_0x5f3c53)=>this['_removeClearOtherTimer'](_0x5f3c53)),this[_0x273d7a(0x38d)]&&window[_0x273d7a(0x31d)](this[_0x273d7a(0x38d)]);}[_0x12a2cc(0x31a)](_0x5d7de4){return this['_ensureSubject'](_0x5d7de4)['pipe'](_0x5c807f['distinctUntilChanged']());}[_0x12a2cc(0x3cf)](_0xd19461){const _0x5b5108=_0x12a2cc;this[_0x5b5108(0x383)]['size']===0x0&&this[_0x5b5108(0x39c)](),this[_0x5b5108(0x383)][_0x5b5108(0x209)](_0xd19461),this[_0x5b5108(0x2d2)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0xd19461],'isForwarded':!0x1});}[_0x12a2cc(0x41a)](_0x4020e1){const _0x79734f=_0x12a2cc;this[_0x79734f(0x383)][_0x79734f(0x1f6)](_0x4020e1),this[_0x79734f(0x383)][_0x79734f(0x483)]===0x0&&this[_0x79734f(0x38d)]&&window[_0x79734f(0x31d)](this[_0x79734f(0x38d)]);}[_0x12a2cc(0x47c)](){const _0xfc0748=_0x12a2cc;this['disposeWithMe'](_0x5c9413['toDisposable'](_0x5c807f['fromEvent'](window,'storage')[_0xfc0748(0x29f)](_0x1cb738=>{const _0x53773a=_0xfc0748;if(_0x1cb738[_0x53773a(0x1ef)]!==_0xfccced||!_0x1cb738[_0x53773a(0x204)])return;const _0x4b95f8=JSON[_0x53773a(0x2bd)](_0x1cb738['newValue']);this['_handleEvent'](_0x4b95f8);}))),window['addEventListener'](_0xfc0748(0x3e6),()=>this['_send']({'type':0x1,'memberID':this[_0xfc0748(0x485)],'unitIDs':Array[_0xfc0748(0x466)](this[_0xfc0748(0x383)])}));}[_0x12a2cc(0x3cd)](_0x330442){const _0x3527f5=_0x12a2cc;switch(_0x330442['type']){case 0x0:this[_0x3527f5(0x203)](_0x330442);break;case 0x1:this['_handleLeaveEvent'](_0x330442);break;case 0x2:this[_0x3527f5(0x2ac)](_0x330442);break;}}[_0x12a2cc(0x203)](_0xfbb224){const _0x18539c=_0x12a2cc,{unitIDs:_0x661a21,memberID:_0xd578d6,isForwarded:_0xa296e9}=_0xfbb224;_0x661a21[_0x18539c(0x3c8)](_0x4289a4=>{const _0x544d28=_0x18539c;if(!_0xa296e9&&this[_0x544d28(0x459)][_0x544d28(0x3f7)](_0x4289a4)&&this[_0x544d28(0x465)](_0x4289a4)[_0x544d28(0x1eb)](_0x532bba[_0x544d28(0x263)][_0x544d28(0x469)]),!this['_unitOnClients'][_0x544d28(0x3f7)](_0x4289a4)||!this[_0x544d28(0x459)]['get'](_0x4289a4)['has'](_0xd578d6)){const _0xee4858=this[_0x544d28(0x459)][_0x544d28(0x2f0)](_0x4289a4)||new Set();_0xee4858[_0x544d28(0x209)](_0xd578d6),this['_unitOnClients']['set'](_0x4289a4,_0xee4858),this['_scheduleClearOtherTimer'](_0xd578d6);}}),_0xa296e9||this[_0x18539c(0x2d2)]({'type':0x0,'memberID':this[_0x18539c(0x485)],'unitIDs':[...this[_0x18539c(0x383)]],'isForwarded':!0x0});}[_0x12a2cc(0x205)](_0x28561b){const _0x1ffb34=_0x12a2cc;this[_0x1ffb34(0x2a8)](_0x28561b);const _0x20d8f8=window['setTimeout'](()=>{const _0x44c099=_0x1ffb34;this[_0x44c099(0x459)][_0x44c099(0x3c8)](_0x4c7d1f=>{const _0x2cc092=_0x44c099;_0x4c7d1f[_0x2cc092(0x1f6)](_0x28561b);});},_0x4d14a8*0x2);this[_0x1ffb34(0x46d)][_0x1ffb34(0x2ee)](_0x28561b,_0x20d8f8);}[_0x12a2cc(0x2a8)](_0x2fe505){const _0xf9982c=_0x12a2cc;if(this[_0xf9982c(0x46d)][_0xf9982c(0x3f7)](_0x2fe505)){const _0x47b391=this[_0xf9982c(0x46d)][_0xf9982c(0x2f0)](_0x2fe505);_0x47b391&&window['clearTimeout'](_0x47b391),this[_0xf9982c(0x46d)][_0xf9982c(0x2ee)](_0x2fe505,null);}}[_0x12a2cc(0x2fd)](_0x249a3b){const _0x2d2273=_0x12a2cc,{memberID:_0x2f5604,unitIDs:_0x4bafe6}=_0x249a3b;_0x4bafe6[_0x2d2273(0x3c8)](_0x36b5da=>{const _0x84dea8=_0x2d2273;var _0xbf22ed;const _0x325f13=this[_0x84dea8(0x459)][_0x84dea8(0x2f0)](_0x36b5da);_0x325f13&&(_0x325f13[_0x84dea8(0x1f6)](_0x2f5604),(_0xbf22ed=this[_0x84dea8(0x465)](_0x36b5da))==null||_0xbf22ed['next'](_0x325f13[_0x84dea8(0x483)]===0x0?_0x532bba['UnitStatus'][_0x84dea8(0x447)]:_0x532bba[_0x84dea8(0x263)]['OTHER_CLIENTS_EDITING']));}),this[_0x2d2273(0x2a8)](_0x2f5604);}[_0x12a2cc(0x2ac)](_0x125ebb){const _0x5b911e=_0x12a2cc;this[_0x5b911e(0x205)](_0x125ebb[_0x5b911e(0x2dd)]);}[_0x12a2cc(0x2d2)](_0x4b6110){const _0x18746b=_0x12a2cc;localStorage[_0x18746b(0x472)](_0xfccced,JSON[_0x18746b(0x224)](_0x4b6110));}[_0x12a2cc(0x39c)](){const _0x710939=_0x12a2cc;this[_0x710939(0x38d)]=window[_0x710939(0x20d)](()=>{const _0x2c960f=_0x710939;this['_send']({'type':0x2,'memberID':this[_0x2c960f(0x485)]});},_0x4d14a8);}[_0x12a2cc(0x465)](_0x5c4a8b){const _0x4af816=_0x12a2cc;return this[_0x4af816(0x361)][_0x4af816(0x3f7)](_0x5c4a8b)||this[_0x4af816(0x361)][_0x4af816(0x2ee)](_0x5c4a8b,new _0x5c807f[(_0x4af816(0x3bb))](_0x532bba[_0x4af816(0x263)][_0x4af816(0x447)])),this['_unitStatus'][_0x4af816(0x2f0)](_0x5c4a8b);}}var _0x5e2200=(_0x317213=>(_0x317213[_0x317213[_0x12a2cc(0x42d)]=0x0]=_0x12a2cc(0x42d),_0x317213[_0x317213['OK']=0x1]='OK',_0x317213[_0x317213[_0x12a2cc(0x2e2)]=0x2]='INTERNAL_ERROR',_0x317213[_0x317213[_0x12a2cc(0x3f0)]=0x3]=_0x12a2cc(0x3f0),_0x317213[_0x317213[_0x12a2cc(0x2ab)]=0x4]=_0x12a2cc(0x2ab),_0x317213[_0x317213['UNAUTHENTICATED']=0x5]=_0x12a2cc(0x379),_0x317213[_0x317213[_0x12a2cc(0x3f8)]=0x6]=_0x12a2cc(0x3f8),_0x317213[_0x317213[_0x12a2cc(0x400)]=0x7]=_0x12a2cc(0x400),_0x317213[_0x317213[_0x12a2cc(0x375)]=0x8]=_0x12a2cc(0x375),_0x317213[_0x317213[_0x12a2cc(0x2c1)]=0x9]=_0x12a2cc(0x2c1),_0x317213[_0x317213[_0x12a2cc(0x260)]=0xa]=_0x12a2cc(0x260),_0x317213[_0x317213['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x317213[_0x317213[_0x12a2cc(0x42c)]=0xc]=_0x12a2cc(0x42c),_0x317213[_0x317213[_0x12a2cc(0x2ce)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x317213[_0x317213[_0x12a2cc(0x26e)]=0xe]=_0x12a2cc(0x26e),_0x317213[_0x317213[_0x12a2cc(0x287)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x317213[_0x317213[_0x12a2cc(0x31e)]=0x1771]=_0x12a2cc(0x31e),_0x317213[_0x317213['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x12a2cc(0x276),_0x317213[_0x317213[_0x12a2cc(0x229)]=0x1773]=_0x12a2cc(0x229),_0x317213[_0x317213[_0x12a2cc(0x443)]=0x1b59]=_0x12a2cc(0x443),_0x317213[_0x317213['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x317213[_0x317213[_0x12a2cc(0x42a)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x317213[_0x317213['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x12a2cc(0x22f),_0x317213[_0x317213['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x317213[_0x317213[_0x12a2cc(0x24b)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x317213[_0x317213[_0x12a2cc(0x3b2)]=0x2329]=_0x12a2cc(0x3b2),_0x317213[_0x317213[_0x12a2cc(0x2b2)]=0x232a]=_0x12a2cc(0x2b2),_0x317213[_0x317213[_0x12a2cc(0x2cf)]=0x232b]=_0x12a2cc(0x2cf),_0x317213[_0x317213[_0x12a2cc(0x30a)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x317213[_0x317213[_0x12a2cc(0x2f8)]=0x232d]=_0x12a2cc(0x2f8),_0x317213[_0x317213['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x12a2cc(0x2b8),_0x317213[_0x317213['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x12a2cc(0x40f),_0x317213[_0x317213['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x317213[_0x317213[_0x12a2cc(0x463)]=0x2714]=_0x12a2cc(0x463),_0x317213[_0x317213['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x12a2cc(0x2c5),_0x317213[_0x317213[_0x12a2cc(0x473)]=0x271b]=_0x12a2cc(0x473),_0x317213[_0x317213[_0x12a2cc(0x306)]=0x271c]=_0x12a2cc(0x306),_0x317213[_0x317213[_0x12a2cc(0x23d)]=0x271d]=_0x12a2cc(0x23d),_0x317213[_0x317213[_0x12a2cc(0x272)]=0x271e]=_0x12a2cc(0x272),_0x317213[_0x317213['YUUMI_AI_RUN_FAILED']=0x271f]=_0x12a2cc(0x45e),_0x317213[_0x317213[_0x12a2cc(0x2f7)]=0x2720]=_0x12a2cc(0x2f7),_0x317213[_0x317213['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x12a2cc(0x413),_0x317213[_0x317213['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x12a2cc(0x2c3),_0x317213[_0x317213[_0x12a2cc(0x279)]=0x2ee2]='INVALID_INVITE_CODE',_0x317213[_0x317213[_0x12a2cc(0x34b)]=0x2ee3]=_0x12a2cc(0x34b),_0x317213[_0x317213[_0x12a2cc(0x368)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x317213[_0x317213[_0x12a2cc(0x3bf)]=0x2ee5]=_0x12a2cc(0x3bf),_0x317213[_0x317213[_0x12a2cc(0x41b)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x317213[_0x317213[_0x12a2cc(0x367)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x317213[_0x317213['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x12a2cc(0x32e),_0x317213[_0x317213[_0x12a2cc(0x216)]=-0x1]='UNRECOGNIZED',_0x317213))(_0x5e2200||{}),_0x5af3c1=Object[_0x12a2cc(0x436)],_0x43e4a1=(_0x3677bc,_0x292575,_0x2d178c,_0x33e079)=>{const _0x11e7f7=_0x12a2cc;for(var _0x844dac=_0x33e079>0x1?void 0x0:_0x33e079?_0x5af3c1(_0x292575,_0x2d178c):_0x292575,_0x4f3be8=_0x3677bc[_0x11e7f7(0x386)]-0x1,_0x5a70cc;_0x4f3be8>=0x0;_0x4f3be8--)(_0x5a70cc=_0x3677bc[_0x4f3be8])&&(_0x844dac=_0x5a70cc(_0x844dac)||_0x844dac);return _0x844dac;},_0x5f485a=(_0x28fc1b,_0x2bcf14)=>(_0x5531cc,_0x11765e)=>_0x2bcf14(_0x5531cc,_0x11765e,_0x28fc1b);_0x560529[_0x12a2cc(0x46c)]=class extends _0x5c9413[_0x12a2cc(0x474)]{constructor(_0x4783c4,_0x4e2dcb,_0x1fef2a){const _0x241657=_0x12a2cc;super(),this[_0x241657(0x2aa)]=_0x4783c4,this['_httpService']=_0x4e2dcb,this[_0x241657(0x423)]=_0x1fef2a;}async['runOnServer'](_0x45af61,_0x6d8bcd,_0x247b29,..._0x132265){const _0x45c806=_0x12a2cc;var _0x49d502,_0x52d8ee,_0x1d35af,_0x5dc469;const _0x2c3f48=this[_0x45c806(0x2aa)][_0x45c806(0x3a3)]();if(!_0x2c3f48)throw new Error(_0x45c806(0x337));const _0x53fd09=((_0x49d502=this[_0x45c806(0x423)][_0x45c806(0x3d7)](_0x532bba[_0x45c806(0x275)]))!=null?_0x49d502:_0x532bba[_0x45c806(0x2e6)])+'/'+_0x45af61+_0x45c806(0x3e5)+_0x6d8bcd,_0x41bec9=new URL(window[_0x45c806(0x394)]['href']),_0x5465cc={'scriptId':_0x45af61,'runId':(_0x52d8ee=_0x41bec9[_0x45c806(0x47e)][_0x45c806(0x2f0)](_0x45c806(0x450)))!=null?_0x52d8ee:'','function':_0x6d8bcd,'unitId':_0x2c3f48['getUnitId'](),'argsOfFunction':JSON[_0x45c806(0x224)](_0x132265),'invokeId':(_0x1d35af=_0x247b29[_0x45c806(0x43c)])!=null?_0x1d35af:'','executionId':(_0x5dc469=_0x247b29[_0x45c806(0x1f7)])!=null?_0x5dc469:''};try{const _0x2e2fb2=await this[_0x45c806(0x3a0)][_0x45c806(0x3e9)](_0x53fd09,{'body':_0x5465cc});return _0x2e2fb2[_0x45c806(0x43e)][_0x45c806(0x262)]&&_0x2e2fb2[_0x45c806(0x43e)][_0x45c806(0x262)][_0x45c806(0x39e)]!==_0x5e2200['OK']?_0x45c806(0x34d):_0x2e2fb2[_0x45c806(0x43e)][_0x45c806(0x2e7)];}catch{return'Failed';}}},_0x560529[_0x12a2cc(0x46c)]=_0x43e4a1([_0x5f485a(0x0,_0x5c9413[_0x12a2cc(0x35d)]),_0x5f485a(0x1,_0x5c9413['Inject'](_0x592e97[_0x12a2cc(0x3dc)])),_0x5f485a(0x2,_0x5c9413[_0x12a2cc(0x3a5)])],_0x560529[_0x12a2cc(0x46c)]),_0x560529['CollaborationStatusDisplay']=_0x892990,_0x560529[_0x12a2cc(0x350)]=_0x5c53ec,_0x560529[_0x12a2cc(0x288)]=_0x3df81e,_0x560529['WebBrowserSingleActiveUnitService']=_0x11d245,_0x560529[_0x12a2cc(0x433)]=_0x2821f4,Object[_0x12a2cc(0x295)](_0x560529,Symbol[_0x12a2cc(0x47a)],{'value':_0x12a2cc(0x2d3)});}));function _0x380c(_0x3ad04e,_0x1550d2){const _0x1c909a=_0x1c90();return _0x380c=function(_0x380cb5,_0x2959e8){_0x380cb5=_0x380cb5-0x1e5;let _0x242a12=_0x1c909a[_0x380cb5];return _0x242a12;},_0x380c(_0x3ad04e,_0x1550d2);}function _0x1c90(){const _0x5dc924=['getOwnPropertySymbols','amd','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getSheetId','ILogService','DependentOn','Plugin','function','LICENSE_MAX_UNITS_EXCEEDED','addObjects','useDependency','_lastPointer','_logService','_imageIoService','COLORS','IImageIoService','unit','BehaviorSubject','handleDeleteRangeMoveLeft','mergeOverrideWithDependencies','@univerjs/engine-render','INVITE_CODE_ALREADY_BOUND','transform','0\x200\x2017\x2016','triggerDblclick','getRelativeToViewportCoord','name','OffLineIcon','ColorKit','getAncestorScale','forEach','m2Prime','AWAITING','86958LRffBV','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_handleEvent','url(#$1','editingUnit','LocaleService','focused$','InsertRangeMoveRightCommandId','_transformUndoRedoStack','DOC_RANGE_TYPE','all','DocCollaborationEntity','getConfig','string','_startSheetCollabCursor','PENDING','UniverIcon','HTTPService','uni.network.url-service','RemoveRowCommandId','BrowserCollaborationSocketService','toDisposable','moveTo','extend','@univerjs/design','row','/run/','unload','_shapes','UniverDocsUi','post','UNIVER_SHEET','RevisionService','_textBubble','application/json','transformStateCache','IRenderManagerService','PERMISSION_DENIED','_docTransformSelectionsService','_collabSessionService','purple.300','transformRemoteChangeset','rgba(255,\x20255,\x20255,\x200.01)','ITransformService','has','ALREADY_EXISTS','measureText','propertyIsEnumerable','enableLocalCache','EffectRefRangId','USERS_LEAVE','SetWorksheetActivateCommand','concat','INVALID_ARGUMENT','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','_toggleOnline','attrs','updateOfflineData','_docStateChangeManagerService','permission.title','_initDependencies','replaceState','href','setConfig','Optional','Shape','_hideTimer','_updateLocalCursor','YUUMI_URL_COL_OUT_OF_RANGE','white','collab-rect-range-','closePath','PY_RUNTIME_SCRIPT_ERROR','Injector','transformMutationsWithChangeset','black','on-line-icon','_updateURLWithCurrentState','registerRefRange','disposeUnit','WECHAT_HAS_BEEN_BOUND','_updateSubUnitFromURLParams','max','CollaborationStatus','_transformPreviousActiveRange','getStateCache','throttleTime','_drawRectRange','_configService','OFFLINE','idSuffix','lineTo','top','http://www.w3.org/2000/svg','_hovered','APPLY_REVISION_CONFILICT','_localStorageService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UNDEFINED','deepClone','rxjs','hide','_docClipboardService','handleMoveRange','WebURLService','collabStatus.offline','RxDisposable','getOwnPropertyDescriptor','currentSkeleton$','5JdZWQA','drawWith','round','React','invokeId','UNIVER_DOC','body','assign','createIdentifier','disableLocalCache','save','APPLY_REJECT','ILocalCacheService','connectInjector','_getSheetObject','NO_OTHER_CLIENTS_EDITING','isTransformMutationsWithChangesetSuccess','0\x200\x2016\x2016','_initResize','_docSkeletonManagerService','collabStatus.synced','labelPosition','UniverCollaborationClientPlugin','getCurrentRevOfUnit','runId','DEFAULT_WS_SESSION_TICKET_URL','cursorInfo','_collabCursorController','findNodePositionByCharIndex','origin','width','takeUntil','UniverCore','_unitOnClients','UniverSheetsUi','popstate','getUnhiddenWorksheets','getRangePointData','YUUMI_AI_RUN_FAILED','getUnitId','red.300','toString','_initStatusComponent','YUUMI_SUBSCRIPTION_NOT_FOUND','tag','_ensureSubject','from','createElement','addObject','OTHER_CLIENTS_EDITING','unshift','LOCAL_CACHE_INTERVAL','RemoteUniscriptService','_clearOtherTimers','TEXT_RANGE_LAYER_INDEX','SheetsSelectionsService','path','currentColor','setItem','YUUMI_ASYNCIO_CANCELLED','Disposable','current','indexOf','getMemberID','UniverProCollaboration','yellow.400','toStringTag','DesktopCollaborationStatusDisplayController','_init','off-line-icon','searchParams','debounce','getItem','_startDocCollabCursor','substring','size','_revisionService','_id','_renderManagerService','url(#off-line-icon_clip0_910_343)','ranges','74020NjlrTk','fillRule','mutations','_urlService','next','_createSocketURL','HEADER_MENU','debug','key','replace','react','_render','addClipboardHook','arc','values','delete','executionId','collab-text-range-','MemberService','_collaborationUIEventService','_getSessionTicket','svg','handleInsertRow','roomMembers$','ISocketService','transformByState','getViewport','_assignedColors','_handleJoinEvent','newValue','_scheduleClearOtherTimer','text','NodePositionConvertToCursor','_colorIndex','add','getActiveRange','#FFF','sessionStatus$','setInterval','_onCursorUpdate','redoState','fillStyle','_updateCollabCursors','IDocClipboardService','DisposableCollection','_online','session.collaboration-timeout','UNRECOGNIZED','_registerDependencies','mask','runRefRangeMutations','handleInsertRangeMoveDown','getCollabCursors$','_scheduleSaving','_drawAnchor','_refRangeService','Tools','defs','saveImage','init','collabStatus.conflict','stringify','univer-flex\x20univer-items-center','hasOwnProperty','_status$','_anchorDot','ENSURE_SNAPSHOT_EXECUTION','484984karcVp','merge','_cursors','getVpScrollXYInfoByPosToVp','icon','APPLY_PERMISSION_DENIED','then','fromEventSubject','FromArray','OnLineIcon','IUIPartsService','trim','univerjs-icon\x20univerjs-icon-','_registerRenderDependencies','replaceDocRanges','TRANSFORM_CHANGE_OBSERVABLE_TYPE','call','_entities','_syncEditingCollabCursorService','YUUMI_ALL_TABLES_IS_INVALID','_initStatusListener','getColor','transformIMECache','height','Vector2','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','8743030PffRbV','ThemeService','DataLoaderService','clearTimeout','startColumn','displayName','switchMap','CONNECTOR_DATA_TOO_LARGE','_collabCursorState$','MessageType','_collaborationController','_saveTaskMap','InsertRowCommandId','_initCommandExecutedListener','DocSelectionManagerService','serializeRangeWithSheet','getRenderById','_transformHistoryAndStateStack','subscribeEvent','_refreshCollabCursors','jsxs','restore','TEXT','UniverDesign','bottom','flatMap','createSocket','imageSourceType','LOGIN_FAILED','UniverEngineFormula','error','UnitStatus','CollaborationController','fill','toRgbString','setStateCache','Unknown\x20user','UniverProCollaborationClient','collabStatus.fetchMiss','_docSyncEditingCollabCursorService','_eventUnsubscribe','isActive','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_draw','_transformService','loadUnit','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','some','CollaborationSocketService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','SNAPSHOT_HAS_BEEN_REMOVED','NOT_COLLAB','6093975KOebLI','INVALID_INVITE_CODE','getActiveSheet','_localeService','_session','handleInsertRangeMoveRight','combineLatest','clsx','textRanges','params','@univerjs/rpc','setParam','exports','history','currentTheme$','CHANGESET_REVISION_CONFILICT','SheetCollabCursorShape','beginPath','search','_handleHover','UniverEngineRender','_setupSubUnitSync','executeCommand','55KcjnvN','sessionTicket','dispose$','_entityInit$','mapTo','ONLINE','defineProperty','@univerjs/docs','_themeService','handleInsertCol','DocStateChangeManagerService','entityInit$','CollaborationDataLoaderController','saveOfflineData','none','getValue','subscribe','useRef','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','_color','subUnitId','_docTransformStateCacheService','skeleton','saveTaskMap','_drawTextRange','_removeClearOtherTimer','Error','_instanceService','NOT_FOUND','_handleHeartbeatEvent','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','M0\x200H16V16H0z','pipe','onCommandExecuted','collabCursorState$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','clipPath','@univerjs/sheets','actions','transformSelections','_getAnchorBounding','YUUMI_UNABLE_LOAD_URL','jsx','_initEvent','children','cursorInfo$','parse','UniverInstanceType','getCoordByCell','_setupBeforeClosingHandler','COMPLETION_FINISHED','MoveRangeCommandId','INVITE_CODE_HAS_BEEN_UES','isArray','YUUMI_NO_CUBOID_FOR_QUESTION','urlChange$','collaboration.single-unit.warning','unitID','requireSession','_onCursorDelete','_dataLoaderService','wsSessionTicketUrl','green.600','EMAIL_VERIFY_CODE_MISMATCH','LICENSE_IMPORT_SIZE_EXCEEDED','CONFLICT','getMember','_send','Module','colorChannel1','m1Prime','_initEntityListener','shareReplay','fillText','collaboration.closeRoom','createInstance','useObservable','SOCKET_FAILED','memberID','getColorFromTheme','collabStatus.syncing','getDocRanges','LOCAL_CACHE_INTERVAL_KEY','INTERNAL_ERROR','hovered','UniverUi','_beforeCloseService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','result','_config','CommandType','RegularPolygon','dispose','InsertRangeMoveDownCommandId','12vfiPqe','set','min','get','SHEET_VIEWPORT_KEY','_commandService','getCurrentUnitForType','SetSelectionsOperation','asObservable','selection','YUUMI_CONNECTOR_URL_NOT_FOUND','LICENSE_DISTRO_REJECTED','onPointerLeave$','setShapeProps','_injector','column','_handleLeaveEvent','object','data','_name','_cursor','color','useCallback','assignAColorForMemberID','transformMutation','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_colorAssignService','prototype','getSkeleton','LICENSE_EXPORT_SIZE_EXCEEDED','debounceTime','getSheetBySheetId','getLocalCacheKey','docStateChange$','disposeWithMe','9jDcAvr','_cursorInfo$','CollaborationUIEventService','UPDATE_CURSOR','getUndoRedoMutationParamsCache','resize','onRendered','collab-text-anchor-','registerComponent','AWAITING_WITH_PENDING','getUnitStatus$','isTransformMutationFailure','Warning','clearInterval','SNAPSHOT_INVALID_SNAPSHOT','_getScale','INotificationService','RECT','@univerjs/drawing','VIEW_MAIN','getOffsetConfig','CLOSE_ROOM','_removeCollabCursors','_memberService','_saveCache','react/jsx-runtime','onTransformChange$','getCollabEntity$','Workbook','_cursorShapes','EMAIL_HAS_BEEN_BOUND','registerRenderModule','unitId','Rect','DocSkeletonManagerService','split','SessionStatus','onMouseMove','CollaborationEvent','[RemoteUniscriptService]:\x20no\x20focused\x20unit','onPointerMove$','div','range','UniverRpc','filter','override','reconnect','symbol','IBeforeCloseService','_onRefRangeChange','session.will-retry','_sheetSkeletonManagerService','getTypeOfUnitDisposed$','UniverDocs','UniverCollaborationClientUIPlugin','ISnapshotServerService','SetTextSelectionsOperation','_cachedData','generateRandomId','INVITE_CODE_REQUIRED','_labelPosition','Failed','_localCacheService','_roomMembers$','IURLService','DocIMEInputManagerService','_anchor','_backgroundColor','subunit','event$','CollaborationUIEventId','[CollaborationDataLoaderController]','collabStatus.notCollab','DeleteRangeMoveUpCommandId','getCurrent','_toggleOffline','...','IUniverInstanceService','type','ILocalStorageService','11953520VMMpFw','_unitStatus','_document','12675474KVQSFU','_univerInstanceService','_context','entries','MOBILE_HAS_BEEN_BOUND','USER_NOT_INVITED_CODE','BuiltInUIPart','setAlpha','show','undoState','roomMembers','xlink:href','@univerjs/ui','_docTransformIMECacheService','map','on-line-icon_clip0_910_349','getParam','syncEditingCollabCursor','TOO_MANY_REQUESTS','_getSaveTimeout','getCellPositionByOffset','defIds','UNAUTHENTICATED','complete','handleIRemoveCol','IRemoteInstanceService','_range','with','_uiPartsService','forwardRef','MUTATION','unsubscribe','_selfUnitIDs','evenodd','collab-client.tooltip.reconnect','length','IMessageService','@univerjs/engine-formula','jiqing.500','setUndoRedoMutationParamsCache','operators','Inject','_heartbeatTimer','_scene','SheetSkeletonManagerService','random','_disabled','univer-mr-2\x20univer-flex\x20univer-text-xl','pushState','location','_messageService','DeleteRangeMoveLeftCommandId','RemoveColCommandId','_getMergeRange','backgroundColor','onStarting','endRow','_scheduleHeartbeat','push','code','1em','_httpService','includes','off-line-icon_clip0_910_343','getFocusedUnit','getTypeOfUnitAdded$','IConfigService','removeParam','_hover','ICommandService','doc.mutation.rich-text-editing'];_0x1c90=function(){return _0x5dc924;};return _0x1c90();}
|
|
1
|
+
(function(_0x37ecb3,_0x356ca2){const _0x4334c0=_0x4c50,_0x3dc602=_0x37ecb3();while(!![]){try{const _0x5e9405=-parseInt(_0x4334c0(0x1d5))/0x1*(-parseInt(_0x4334c0(0x1d2))/0x2)+parseInt(_0x4334c0(0x141))/0x3+-parseInt(_0x4334c0(0x93))/0x4+parseInt(_0x4334c0(0x220))/0x5+-parseInt(_0x4334c0(0x121))/0x6*(-parseInt(_0x4334c0(0x1af))/0x7)+parseInt(_0x4334c0(0x29a))/0x8*(-parseInt(_0x4334c0(0x114))/0x9)+parseInt(_0x4334c0(0x11f))/0xa*(parseInt(_0x4334c0(0x29e))/0xb);if(_0x5e9405===_0x356ca2)break;else _0x3dc602['push'](_0x3dc602['shift']());}catch(_0x3ef2b5){_0x3dc602['push'](_0x3dc602['shift']());}}}(_0x85f6,0x416a6),function(_0x30edab,_0x3b531c){const _0x36f235=_0x4c50;typeof exports==_0x36f235(0x202)&&typeof module<'u'?_0x3b531c(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['amd']?define([_0x36f235(0x252),'@univerjs-pro/collaboration-client',_0x36f235(0xe0),'@univerjs/engine-render','@univerjs/network',_0x36f235(0x122),_0x36f235(0x249),_0x36f235(0x2c1),'@univerjs-pro/collaboration',_0x36f235(0x329),_0x36f235(0xd1),_0x36f235(0x1ec),_0x36f235(0x2fe),_0x36f235(0xe3),_0x36f235(0x210),_0x36f235(0x277),'@univerjs/design',_0x36f235(0x10c),_0x36f235(0x2bd)],_0x3b531c):(_0x30edab=typeof globalThis<'u'?globalThis:_0x30edab||self,_0x3b531c(_0x30edab[_0x36f235(0x2c2)]={},_0x30edab[_0x36f235(0x26e)],_0x30edab['UniverCore'],_0x30edab[_0x36f235(0xf1)],_0x30edab[_0x36f235(0x273)],_0x30edab['UniverDocsUi'],_0x30edab[_0x36f235(0x2cb)],_0x30edab[_0x36f235(0x2c1)],_0x30edab[_0x36f235(0x2b9)],_0x30edab[_0x36f235(0x228)],_0x30edab[_0x36f235(0x298)],_0x30edab[_0x36f235(0xd8)],_0x30edab[_0x36f235(0x2c1)][_0x36f235(0x243)],_0x30edab['UniverSheetsUi'],_0x30edab[_0x36f235(0x1cd)],_0x30edab[_0x36f235(0x24e)],_0x30edab['UniverDesign'],_0x30edab[_0x36f235(0x1cd)],_0x30edab['UniverRpc']));}(this,function(_0x17bc2c,_0x40916b,_0x50247b,_0x24e38c,_0x4c764b,_0x2b2a5c,_0x5c384b,_0x481311,_0xaf0477,_0x2136d0,_0x2d8baa,_0x2db21a,_0x3846e5,_0x28ba35,_0x190220,_0x4d3b42,_0x7c6d07,_0x998dec,_0x40e19a){'use strict';const _0x465324=_0x4c50;var _0x568d9a=Object['defineProperty'],_0x3f8de8=(_0x406d8e,_0x4a3f40,_0x194eb1)=>_0x4a3f40 in _0x406d8e?_0x568d9a(_0x406d8e,_0x4a3f40,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x194eb1}):_0x406d8e[_0x4a3f40]=_0x194eb1,_0x2f0564=(_0x5a928c,_0x41de4b,_0x5cacc8)=>_0x3f8de8(_0x5a928c,typeof _0x41de4b!=_0x465324(0x1df)?_0x41de4b+'':_0x41de4b,_0x5cacc8),_0x3b2442=Object['getOwnPropertyDescriptor'],_0x235933=(_0x1cf1a9,_0x112614,_0x2afd0c,_0x3c1618)=>{const _0x1094d3=_0x465324;for(var _0x2dd5ab=_0x3c1618>0x1?void 0x0:_0x3c1618?_0x3b2442(_0x112614,_0x2afd0c):_0x112614,_0x5c6c30=_0x1cf1a9[_0x1094d3(0x223)]-0x1,_0x1cba28;_0x5c6c30>=0x0;_0x5c6c30--)(_0x1cba28=_0x1cf1a9[_0x5c6c30])&&(_0x2dd5ab=_0x1cba28(_0x2dd5ab)||_0x2dd5ab);return _0x2dd5ab;},_0x46f0ed=(_0x16b72a,_0x551a18)=>(_0x82e2ab,_0xf459bf)=>_0x551a18(_0x82e2ab,_0xf459bf,_0x16b72a);let _0xd53509=class extends _0x50247b[_0x465324(0x16f)]{constructor(_0x5907b4,_0xced448){const _0x291d4f=_0x465324;super(),this[_0x291d4f(0x1e4)]=_0x5907b4,this[_0x291d4f(0x29c)]=_0xced448,this[_0x291d4f(0x256)]();}['_init'](){const _0x84e98=_0x465324,_0xdb3445=this;this[_0x84e98(0x148)](this[_0x84e98(0x1e4)][_0x84e98(0xa1)]({'onBeforePasteImage':async _0x260238=>{const _0x5bcbbc=_0x84e98,_0x2b970f=await _0xdb3445[_0x5bcbbc(0x29c)][_0x5bcbbc(0xef)](_0x260238);return _0x2b970f?{'source':_0x2b970f[_0x5bcbbc(0x2e8)],'imageSourceType':_0x2b970f[_0x5bcbbc(0x20b)]}:null;}}));}};_0xd53509=_0x235933([_0x46f0ed(0x0,_0x2b2a5c['IDocClipboardService']),_0x46f0ed(0x1,_0x5c384b[_0x465324(0x2d0)])],_0xd53509);const _0x5a0d30=[_0x465324(0x282),'jiqing.500',_0x465324(0xae),_0x465324(0x305),_0x465324(0x113),_0x465324(0x24c)];class _0x20e9cb extends _0x50247b[_0x465324(0x1e1)]{constructor(){const _0x3101f6=_0x465324;super(...arguments),_0x2f0564(this,_0x3101f6(0x209),new Map()),_0x2f0564(this,_0x3101f6(0x2e2),0x0);}[_0x465324(0xa6)](_0x13078b){const _0xd24996=_0x465324;if(this[_0xd24996(0x209)][_0xd24996(0xfd)](_0x13078b))return this[_0xd24996(0x209)]['get'](_0x13078b);const _0x281999=_0x5a0d30[this[_0xd24996(0x2e2)]];return this[_0xd24996(0x2e2)]=(this[_0xd24996(0x2e2)]+0x1)%_0x5a0d30['length'],this['_assignedColors'][_0xd24996(0x154)](_0x13078b,_0x281999),_0x281999;}}function _0x444374(_0x3c60bf){const _0x391227=_0x465324;let _0x43d4fc='';for(const _0x308bc5 of _0x3c60bf){const {startOffset:_0x2d637d,endOffset:_0x9b6e4a,isActive:_0x2a1b6e,rangeType:_0x15a23b,segmentId:_0x494178,segmentPage:_0x492d1c}=_0x308bc5;_0x43d4fc[_0x391227(0x223)]&&(_0x43d4fc+=','),_0x43d4fc+=_0x2d637d+':'+_0x9b6e4a+':'+(_0x2a1b6e?'1':'0')+':'+_0x15a23b+':'+_0x494178+':'+_0x492d1c;}return _0x43d4fc;}function _0x1aa900(_0x4938e1){const _0x4d9385=_0x465324,_0x3df243=_0x4938e1[_0x4d9385(0x1bc)](','),_0x26a69c=[];for(const _0x401e76 of _0x3df243){const [_0x453e78,_0x1382f7,_0x465adb,_0x5d1925,_0x5850b3,_0x4f7872]=_0x401e76['split'](':');_0x26a69c['push']({'startOffset':Number(_0x453e78),'endOffset':Number(_0x1382f7),'collapsed':_0x453e78===_0x1382f7,'isActive':_0x465adb==='1','rangeType':_0x5d1925===_0x50247b[_0x4d9385(0x280)]['TEXT']?_0x50247b[_0x4d9385(0x280)]['TEXT']:_0x50247b[_0x4d9385(0x280)]['RECT'],'segmentId':typeof _0x5850b3=='string'?String(_0x5850b3):'','segmentPage':Number(_0x4f7872!=null?_0x4f7872:-0x1)});}return _0x26a69c['some'](_0x2302cc=>_0x2302cc[_0x4d9385(0x26f)])||(_0x26a69c[0x0]['isActive']=!0x0),_0x26a69c;}class _0x100092 extends _0x50247b[_0x465324(0x16f)]{constructor(){const _0xfe4ba7=_0x465324;super(...arguments),_0x2f0564(this,_0xfe4ba7(0x99),new _0x481311[(_0xfe4ba7(0x190))](null)),_0x2f0564(this,_0xfe4ba7(0x2e7),this[_0xfe4ba7(0x99)]['asObservable']());}[_0x465324(0x1d3)](_0x5cf01c){const _0x4f89dd=_0x465324,{unitID:_0x36fc0a,memberID:_0x3175f9,textRanges:_0x250a12}=_0x5cf01c,_0x29bf72=_0x444374(_0x250a12);if(_0x29bf72==='')return;const _0x18e3c6={'unitID':_0x36fc0a,'memberID':_0x3175f9,'selection':_0x29bf72};this['_collabCursorState$'][_0x4f89dd(0x1d1)](_0x18e3c6);}}var _0x4d6e74=Object[_0x465324(0x164)],_0x53d15c=(_0x3eeb74,_0x218792,_0x26de0d,_0x10ec4e)=>{for(var _0x4bad3f=_0x10ec4e>0x1?void 0x0:_0x10ec4e?_0x4d6e74(_0x218792,_0x26de0d):_0x218792,_0x6d5390=_0x3eeb74['length']-0x1,_0x28a892;_0x6d5390>=0x0;_0x6d5390--)(_0x28a892=_0x3eeb74[_0x6d5390])&&(_0x4bad3f=_0x28a892(_0x4bad3f)||_0x4bad3f);return _0x4bad3f;},_0x22b7b6=(_0x458455,_0x40a6cd)=>(_0x2fd174,_0x9df384)=>_0x40a6cd(_0x2fd174,_0x9df384,_0x458455);const _0x3b9c6b=0x12c,_0x34b428=0x64;let _0x55a4f4=class extends _0x50247b['RxDisposable']{constructor(_0x37acc8,_0x472cfc,_0x3d501b,_0x425bdd,_0x2c230e,_0x573b44,_0x492e1e,_0x39bd0e,_0xfdadc1){const _0x35e1c7=_0x465324;super(),_0x2f0564(this,_0x35e1c7(0x315),!0x1),_0x2f0564(this,'_init',!0x1),_0x2f0564(this,_0x35e1c7(0xcb),new _0x481311[(_0x35e1c7(0x190))](new Map())),_0x2f0564(this,_0x35e1c7(0x168),this['_cursorInfo$'][_0x35e1c7(0x15d)]()),_0x2f0564(this,_0x35e1c7(0x1a9),new _0x481311[(_0x35e1c7(0x190))]([])),_0x2f0564(this,'roomMembers$',this[_0x35e1c7(0x1a9)][_0x35e1c7(0x29b)](_0x481311['debounceTime'](_0x3b9c6b))),_0x2f0564(this,_0x35e1c7(0x1b4),_0x50247b[_0x35e1c7(0x100)](_0x5c0e63=>{const _0x14363f=_0x35e1c7,_0x2c67c8={'eventID':_0xaf0477['CollaborationEvent'][_0x14363f(0x1d6)],'data':{'unitID':this[_0x14363f(0x1a3)],'memberID':this['_session']['getMemberID'](),'selection':_0x444374(_0x5c0e63)}};this[_0x14363f(0x289)][_0x14363f(0x269)](_0x2c67c8,this['unitID']);},_0x34b428)),(this[_0x35e1c7(0x1a3)]=_0x37acc8,this[_0x35e1c7(0x289)]=_0x472cfc,this[_0x35e1c7(0xe8)]=_0x3d501b,this[_0x35e1c7(0x9e)]=_0x425bdd,this[_0x35e1c7(0x11b)]=_0x2c230e,this[_0x35e1c7(0x130)]=_0x573b44,this['_transformService']=_0x492e1e,this['_univerInstanceService']=_0x39bd0e,this['_commandService']=_0xfdadc1);}get[_0x465324(0xdd)](){const _0x2b6d69=_0x465324;return this[_0x2b6d69(0xcb)]['getValue']();}get[_0x465324(0x207)](){const _0x1be6c3=_0x465324;return this['_roomMembers$'][_0x1be6c3(0x10a)]();}['dispose'](){const _0xbf2abb=_0x465324;super[_0xbf2abb(0xc1)](),this[_0xbf2abb(0xcb)][_0xbf2abb(0x1d1)](new Map()),this[_0xbf2abb(0xcb)]['complete'](),this[_0xbf2abb(0x1a9)][_0xbf2abb(0x1d1)]([]),this[_0xbf2abb(0x1a9)]['complete']();}[_0x465324(0xb9)](){const _0x5808e0=_0x465324;this[_0x5808e0(0x256)]||(this[_0x5808e0(0x256)]=!0x0,this[_0x5808e0(0x289)]['sessionStatus$'][_0x5808e0(0x29b)](_0x481311[_0x5808e0(0x14f)](this[_0x5808e0(0x312)]))[_0x5808e0(0x1a4)](_0x12f2af=>{const _0x50b64f=_0x5808e0;_0x12f2af===_0x40916b[_0x50b64f(0x259)]['ONLINE']?this['_toggleOnline']():this[_0x50b64f(0x1b5)]();}),this[_0x5808e0(0x289)][_0x5808e0(0x24d)][_0x5808e0(0x29b)](_0x481311[_0x5808e0(0x14f)](this[_0x5808e0(0x312)]))[_0x5808e0(0x1a4)](_0x3fcab4=>{const _0x1caeee=_0x5808e0,_0x9e2c71=_0x3fcab4['eventID'];_0x9e2c71===_0xaf0477['CollaborationEvent'][_0x1caeee(0x1d6)]&&this[_0x1caeee(0x2a5)](_0x3fcab4),_0x9e2c71===_0xaf0477[_0x1caeee(0x2cf)][_0x1caeee(0x119)]&&this[_0x1caeee(0x2bc)](_0x3fcab4);}),this[_0x5808e0(0x148)](this['_commandService'][_0x5808e0(0x1e7)](_0x97a4ca=>{const _0x1e02f0=_0x5808e0,_0x1b5aba=_0x97a4ca['params'];_0x1b5aba!=null&&this['_online']&&_0x97a4ca['id']===_0x2136d0[_0x1e02f0(0x30f)]['id']&&_0x1b5aba[_0x1e02f0(0x107)]===this['unitID']&&_0x1b5aba[_0x1e02f0(0x303)]===!0x1&&_0x1b5aba[_0x1e02f0(0x293)][_0x1e02f0(0x223)]>0x0&&this[_0x1e02f0(0x1b4)](_0x1b5aba[_0x1e02f0(0x293)]);})),this[_0x5808e0(0x130)][_0x5808e0(0x2e7)][_0x5808e0(0x29b)](_0x481311[_0x5808e0(0x14f)](this[_0x5808e0(0x312)]))[_0x5808e0(0x1a4)](_0x31cb17=>{const _0x4123f2=_0x5808e0;if((_0x31cb17==null?void 0x0:_0x31cb17['unitID'])!==this[_0x4123f2(0x1a3)])return;const _0x4917d7={'eventID':_0xaf0477[_0x4123f2(0x2cf)]['UPDATE_CURSOR'],'data':_0x31cb17};this[_0x4123f2(0x2a5)](_0x4917d7);}),this[_0x5808e0(0x148)](this[_0x5808e0(0x1aa)][_0x5808e0(0x1e7)](_0x5380aa=>{const _0x3943e6=_0x5808e0;if(_0x5380aa['params']==null)return;const _0x38dd85=_0x5380aa['params'];if(_0x5380aa['id']!==_0x2136d0[_0x3943e6(0x1d0)]['id']||_0x38dd85[_0x3943e6(0x107)]!==this[_0x3943e6(0x1a3)])return;const _0x45fe83={'id':_0x3943e6(0x21e),'params':_0x38dd85},_0x4b8cd2=this[_0x3943e6(0xdd)];for(const [_0x3915c6,_0x192cce]of _0x4b8cd2){const _0x4ddcca={'id':_0x3943e6(0x21e),'params':{'unitId':this[_0x3943e6(0x1a3)],'actions':null,'textRanges':_0x192cce[_0x3943e6(0x293)]}},_0x9d5ee1=this['_transformService']['transformMutation'](_0x45fe83,_0x4ddcca,!0x1);if(_0xaf0477[_0x3943e6(0x1a6)](_0x9d5ee1))throw _0x9d5ee1[_0x3943e6(0x301)];_0x4b8cd2[_0x3943e6(0x154)](_0x3915c6,{..._0x192cce,'ranges':_0x9d5ee1['m2Prime'][_0x3943e6(0x176)][_0x3943e6(0x1f1)]});}queueMicrotask(()=>{const _0x3edf0d=_0x3943e6;this[_0x3edf0d(0xcb)][_0x3edf0d(0x1d1)](_0x4b8cd2);});})));}[_0x465324(0x2a5)](_0x591a81){const _0x1e6a2e=_0x465324;var _0x1b31dd,_0x17237a;const {memberID:_0x14c5c3,selection:_0xb0180e}=_0x591a81[_0x1e6a2e(0x163)],_0x5e865c=_0x1aa900(_0xb0180e),_0xbaf426=(_0x17237a=(_0x1b31dd=this['_memberService']['getMember'](this['unitID'],_0x14c5c3))==null?void 0x0:_0x1b31dd['name'])!=null?_0x17237a:_0x1e6a2e(0x264),_0x134b03={'color':this[_0x1e6a2e(0x9e)][_0x1e6a2e(0xa6)](_0x14c5c3),'name':_0xbaf426,'ranges':_0x5e865c},_0x2f5cf4=this['cursorInfo'];_0x2f5cf4[_0x1e6a2e(0x154)](_0x14c5c3,_0x134b03),this['_cursorInfo$'][_0x1e6a2e(0x1d1)](_0x2f5cf4);}['_onCursorDelete'](_0xe6f535){const _0x48c607=_0x465324,{memberID:_0x14a485}=_0xe6f535[_0x48c607(0x163)],_0x53e04c=this[_0x48c607(0xdd)];_0x53e04c[_0x48c607(0x2bf)](_0x14a485),this[_0x48c607(0xcb)][_0x48c607(0x1d1)](_0x53e04c);}[_0x465324(0x2ab)](){const _0x3fcc77=_0x465324;var _0x11de55;if(this[_0x3fcc77(0x315)]=!0x0,((_0x11de55=this[_0x3fcc77(0x2c7)]['getFocusedUnit']())==null?void 0x0:_0x11de55['getUnitId']())!==this[_0x3fcc77(0x1a3)])return;const _0x5521a3=this[_0x3fcc77(0xe8)]['get'](_0x2136d0[_0x3fcc77(0x248)])['getDocRanges']();Array['isArray'](_0x5521a3)&&_0x5521a3[_0x3fcc77(0x223)]>0x0&&this[_0x3fcc77(0x1b4)](_0x5521a3);}[_0x465324(0x1b5)](){this['_online']=!0x1;}};_0x55a4f4=_0x53d15c([_0x22b7b6(0x2,_0x50247b['Inject'](_0x50247b[_0x465324(0x104)])),_0x22b7b6(0x3,_0x50247b['Inject'](_0x20e9cb)),_0x22b7b6(0x4,_0x50247b['Inject'](_0x40916b[_0x465324(0x2b4)])),_0x22b7b6(0x5,_0x50247b['Inject'](_0x100092)),_0x22b7b6(0x6,_0xaf0477[_0x465324(0x30e)]),_0x22b7b6(0x7,_0x50247b[_0x465324(0x257)]),_0x22b7b6(0x8,_0x50247b[_0x465324(0xde)])],_0x55a4f4);var _0x532e96=Object[_0x465324(0x164)],_0x3aa8c4=(_0x4c778b,_0x586a80,_0x1f05f0,_0x4aef3d)=>{for(var _0x27b089=_0x4aef3d>0x1?void 0x0:_0x4aef3d?_0x532e96(_0x586a80,_0x1f05f0):_0x586a80,_0x8d3a3f=_0x4c778b['length']-0x1,_0x5daa4e;_0x8d3a3f>=0x0;_0x8d3a3f--)(_0x5daa4e=_0x4c778b[_0x8d3a3f])&&(_0x27b089=_0x5daa4e(_0x27b089)||_0x27b089);return _0x27b089;},_0x4c2e65=(_0x24202c,_0x426c2c)=>(_0x3d4e5b,_0x3e17a7)=>_0x426c2c(_0x3d4e5b,_0x3e17a7,_0x24202c);const _0x38dc54=0x12c,_0xa888a6=0x64,_0x12be2b=()=>{let _0x23d93f=[],_0x48089f=!0x1;return _0x5a53c1=>{_0x23d93f['push'](_0x5a53c1),_0x48089f||(_0x48089f=!0x0,setTimeout(()=>{const _0x517822=_0x4c50;_0x23d93f[_0x517822(0x134)](_0x5cf2f9=>_0x5cf2f9()),_0x23d93f=[],_0x48089f=!0x1;}));};};let _0x944f80=class extends _0x50247b['RxDisposable']{constructor(_0x3a557e,_0x53b906,_0x17893c,_0x49626e,_0x422f13,_0x106e20,_0x54c193,_0x147787){const _0x4cc9f4=_0x465324;super(),_0x2f0564(this,_0x4cc9f4(0x315),!0x1),_0x2f0564(this,_0x4cc9f4(0x256),!0x1),_0x2f0564(this,_0x4cc9f4(0xcb),new _0x481311[(_0x4cc9f4(0x190))](new Map())),_0x2f0564(this,_0x4cc9f4(0x168),this['_cursorInfo$'][_0x4cc9f4(0x15d)]()),_0x2f0564(this,_0x4cc9f4(0x1a9),new _0x481311['BehaviorSubject']([])),_0x2f0564(this,'roomMembers$',this[_0x4cc9f4(0x1a9)]['pipe'](_0x481311['debounceTime'](_0x38dc54))),_0x2f0564(this,_0x4cc9f4(0x1b4),_0x50247b[_0x4cc9f4(0x100)]((_0x3d18f1,_0x386ce9)=>{const _0x51519c=_0x4cc9f4,_0x4f6816={'eventID':_0xaf0477[_0x51519c(0x2cf)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x51519c(0x1a3)],'memberID':this['_session'][_0x51519c(0x316)](),'selection':_0x2d8baa[_0x51519c(0x9a)](_0x3d18f1,_0x386ce9[_0x51519c(0x2d4)])}};this['_session']['send'](_0x4f6816,this['unitID']);},_0xa888a6)),(this['unitID']=_0x3a557e,this['_session']=_0x53b906,this[_0x4cc9f4(0xe8)]=_0x17893c,this['_colorAssignService']=_0x49626e,this['_memberService']=_0x422f13,this[_0x4cc9f4(0x2c7)]=_0x106e20,this[_0x4cc9f4(0x1aa)]=_0x54c193,this[_0x4cc9f4(0x155)]=_0x147787);}get['cursorInfo'](){const _0x9e9837=_0x465324;return this[_0x9e9837(0xcb)][_0x9e9837(0x10a)]();}get['roomMembers'](){const _0x4c06ba=_0x465324;return this[_0x4c06ba(0x1a9)][_0x4c06ba(0x10a)]();}[_0x465324(0xc1)](){const _0x5647b1=_0x465324;super[_0x5647b1(0xc1)](),this[_0x5647b1(0xcb)]['next'](new Map()),this['_cursorInfo$'][_0x5647b1(0xf8)](),this[_0x5647b1(0x1a9)][_0x5647b1(0x1d1)]([]),this['_roomMembers$'][_0x5647b1(0xf8)]();}[_0x465324(0xb9)](){const _0x40fe8d=_0x465324;this[_0x40fe8d(0x256)]||(this[_0x40fe8d(0x256)]=!0x0,this['_session'][_0x40fe8d(0x19d)][_0x40fe8d(0x29b)](_0x481311['takeUntil'](this[_0x40fe8d(0x312)]))[_0x40fe8d(0x1a4)](_0x376bd0=>{const _0xd69cbf=_0x40fe8d;_0x376bd0===_0x40916b[_0xd69cbf(0x259)]['ONLINE']?this[_0xd69cbf(0x2ab)]():this['_toggleOffline']();}),this[_0x40fe8d(0x289)]['event$'][_0x40fe8d(0x29b)](_0x481311[_0x40fe8d(0x14f)](this['dispose$']))[_0x40fe8d(0x1a4)](_0x54f8aa=>{const _0x127803=_0x40fe8d,_0x25b3cd=_0x54f8aa[_0x127803(0x166)];_0x25b3cd===_0xaf0477[_0x127803(0x2cf)]['UPDATE_CURSOR']&&this[_0x127803(0x2a5)](_0x54f8aa),_0x25b3cd===_0xaf0477['CollaborationEvent'][_0x127803(0x119)]&&this[_0x127803(0x2bc)](_0x54f8aa);}),this[_0x40fe8d(0x231)](),this[_0x40fe8d(0x148)](this[_0x40fe8d(0x1aa)][_0x40fe8d(0x1e7)](_0x231cf6=>{const _0x1dc188=_0x40fe8d;if(this[_0x1dc188(0x315)]&&_0x231cf6['id']===_0x2db21a[_0x1dc188(0x22f)]['id']&&_0x231cf6[_0x1dc188(0x176)]['unitId']===this[_0x1dc188(0x1a3)]){const _0x3478a5=_0x231cf6['params'];this['_updateLocalCursor'](_0x3478a5[_0x1dc188(0x167)],_0x3478a5['selections'][0x0]);}})));}[_0x465324(0x2a5)](_0x57123a){const _0x31c6e7=_0x465324;var _0x124185,_0x2729b9;const {memberID:_0x5bd700,selection:_0x3a6ff5}=_0x57123a[_0x31c6e7(0x163)],{sheetName:_0x345631,range:_0x51354a}=_0x2d8baa[_0x31c6e7(0x13a)](_0x3a6ff5),_0x30490c={'name':(_0x2729b9=(_0x124185=this[_0x31c6e7(0x11b)][_0x31c6e7(0x131)](this['unitID'],_0x5bd700))==null?void 0x0:_0x124185['name'])!=null?_0x2729b9:_0x31c6e7(0x264),'range':this['_getMergeRange'](_0x345631,_0x51354a),'sheetID':_0x345631,'color':this[_0x31c6e7(0x9e)][_0x31c6e7(0xa6)](_0x5bd700),'selection':_0x3a6ff5},_0x42ff76=this[_0x31c6e7(0xdd)];_0x42ff76[_0x31c6e7(0x154)](_0x5bd700,_0x30490c),this[_0x31c6e7(0xcb)][_0x31c6e7(0x1d1)](_0x42ff76);}[_0x465324(0x2bc)](_0x3b2a7e){const _0x4884d0=_0x465324,{memberID:_0x1e6c8c}=_0x3b2a7e[_0x4884d0(0x163)],_0x505131=this[_0x4884d0(0xdd)];_0x505131[_0x4884d0(0x2bf)](_0x1e6c8c),this[_0x4884d0(0xcb)]['next'](_0x505131);}[_0x465324(0x20c)](_0x208394,_0x362335){const _0xda001e=_0x465324;var _0x269401,_0x17688e;const _0x35b071=(_0x17688e=(_0x269401=this[_0xda001e(0x2c7)][_0xda001e(0xca)](this['unitID']))==null?void 0x0:_0x269401['getSheetBySheetId'](_0x208394))==null?void 0x0:_0x17688e['getMergeData']();return(_0x35b071==null?void 0x0:_0x35b071[_0xda001e(0x306)](_0x22a95d=>_0x50247b[_0xda001e(0xa7)][_0xda001e(0x285)](_0x22a95d,_0x362335)))||_0x362335;}[_0x465324(0x231)](){const _0x3aede5=_0x465324,_0xe88d2a=new _0x50247b[(_0x3aede5(0x295))](),_0x5e3241=_0x12be2b(),_0x2b85c5=()=>{const _0x47e57b=_0x3aede5;_0xe88d2a[_0x47e57b(0xc1)]();const _0x4acbc2=(_0x44a1c1,_0x147377,_0x165aa2,_0xff3bd5)=>{const _0x64624b=_0x47e57b;let _0x1e56ab=[];switch(_0x44a1c1['id']){case _0x2db21a['EffectRefRangId'][_0x64624b(0x17e)]:{_0x1e56ab=_0x2db21a[_0x64624b(0x173)](_0x44a1c1,_0xff3bd5);break;}case _0x2db21a[_0x64624b(0x1ff)][_0x64624b(0x1ab)]:{_0x1e56ab=_0x2db21a[_0x64624b(0x27f)](_0x44a1c1,_0xff3bd5);break;}case _0x2db21a['EffectRefRangId'][_0x64624b(0x291)]:{_0x1e56ab=_0x2db21a[_0x64624b(0xac)](_0x44a1c1,_0xff3bd5);break;}case _0x2db21a[_0x64624b(0x1ff)][_0x64624b(0x2e5)]:{_0x1e56ab=_0x2db21a['handleInsertRangeMoveDown'](_0x44a1c1,_0xff3bd5);break;}case _0x2db21a['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x1e56ab=_0x2db21a[_0x64624b(0x1bf)](_0x44a1c1,_0xff3bd5);break;}case _0x2db21a[_0x64624b(0x1ff)]['InsertRowCommandId']:{_0x1e56ab=_0x2db21a['handleInsertRow'](_0x44a1c1,_0xff3bd5);break;}case _0x2db21a[_0x64624b(0x1ff)][_0x64624b(0x143)]:{_0x1e56ab=_0x2db21a[_0x64624b(0x27c)](_0x44a1c1,_0xff3bd5);break;}case _0x2db21a[_0x64624b(0x1ff)][_0x64624b(0x129)]:{_0x1e56ab=_0x2db21a[_0x64624b(0x109)](_0x44a1c1,_0xff3bd5);break;}case _0x2db21a[_0x64624b(0x1ff)][_0x64624b(0x180)]:{_0x1e56ab=_0x2db21a[_0x64624b(0x183)](_0x44a1c1,_0xff3bd5);break;}}const _0x3d2319=_0x2db21a[_0x64624b(0x157)](_0x1e56ab,_0xff3bd5),_0x3693a2=this[_0x64624b(0xdd)][_0x64624b(0x2d8)](_0x147377);if(_0x3693a2&&_0x3d2319){const _0x138b50={..._0x3693a2,'range':_0x3d2319};this[_0x64624b(0xdd)][_0x64624b(0x154)](_0x147377,_0x138b50),_0x5e3241(()=>{const _0x504a73=_0x64624b,_0x347281=this[_0x504a73(0x155)][_0x504a73(0x1e9)](_0x3d2319,_0x34bdbf=>(_0x347281['dispose'](),_0x4acbc2(_0x34bdbf,_0x147377,_0x165aa2,_0x3d2319)));_0xe88d2a[_0x504a73(0x246)](_0x347281);});}return{'redos':[],'undos':[]};};this[_0x47e57b(0xdd)][_0x47e57b(0x134)]((_0x259c9e,_0xe2213e)=>{const _0x47ede1=_0x47e57b,{range:_0x39d9da,sheetID:_0x215884}=_0x259c9e,_0x1eba5d=this['_refRangeService']['registerRefRange'](_0x39d9da,_0x3b9eda=>(_0x1eba5d['dispose'](),_0x4acbc2(_0x3b9eda,_0xe2213e,_0x215884,_0x39d9da)));_0xe88d2a[_0x47ede1(0x246)](_0x1eba5d);});};this[_0x3aede5(0x148)](_0x50247b['toDisposable'](this['_cursorInfo$'][_0x3aede5(0x1a4)](()=>{_0x2b85c5();})));}[_0x465324(0x2ab)](){const _0x30157c=_0x465324;var _0x242f6d,_0x42b557;if(this[_0x30157c(0x315)]=!0x0,((_0x242f6d=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x242f6d[_0x30157c(0x324)]())!==this[_0x30157c(0x1a3)])return;const _0x558a82=(_0x42b557=this[_0x30157c(0xe8)][_0x30157c(0x2d8)](_0x2db21a[_0x30157c(0x15b)])[_0x30157c(0xe6)]())==null?void 0x0:_0x42b557[0x0],_0x5b688f=this[_0x30157c(0x2c7)][_0x30157c(0x308)](_0x50247b[_0x30157c(0x319)]['UNIVER_SHEET'])[_0x30157c(0x16a)]();_0x558a82&&_0x5b688f&&this[_0x30157c(0x1b4)](_0x5b688f[_0x30157c(0x97)](),_0x558a82);}[_0x465324(0x1b5)](){this['_online']=!0x1;}};_0x944f80=_0x3aa8c4([_0x4c2e65(0x2,_0x50247b['Inject'](_0x50247b[_0x465324(0x104)])),_0x4c2e65(0x3,_0x50247b[_0x465324(0x15e)](_0x20e9cb)),_0x4c2e65(0x4,_0x50247b[_0x465324(0x15e)](_0x40916b['MemberService'])),_0x4c2e65(0x5,_0x50247b[_0x465324(0x257)]),_0x4c2e65(0x6,_0x50247b[_0x465324(0xde)]),_0x4c2e65(0x7,_0x50247b['Inject'](_0x2db21a[_0x465324(0x2fb)]))],_0x944f80);var _0xdcda77=Object[_0x465324(0x164)],_0x29923c=(_0x492436,_0x384f84,_0x141f72,_0x59cd29)=>{const _0x48d154=_0x465324;for(var _0x21cf88=_0x59cd29>0x1?void 0x0:_0x59cd29?_0xdcda77(_0x384f84,_0x141f72):_0x384f84,_0x136165=_0x492436[_0x48d154(0x223)]-0x1,_0x543b3a;_0x136165>=0x0;_0x136165--)(_0x543b3a=_0x492436[_0x136165])&&(_0x21cf88=_0x543b3a(_0x21cf88)||_0x21cf88);return _0x21cf88;},_0x530e3a=(_0x10e56d,_0x2fad30)=>(_0x10c681,_0x205948)=>_0x2fad30(_0x10c681,_0x205948,_0x10e56d);let _0x565865=class extends _0x50247b[_0x465324(0x16f)]{constructor(_0x175612,_0x30c7ba,_0x1bc47d){const _0x4dbfd3=_0x465324;super(),_0x2f0564(this,_0x4dbfd3(0x1f7),new Map()),_0x2f0564(this,_0x4dbfd3(0x1da),new _0x481311[(_0x4dbfd3(0x127))]()),(this[_0x4dbfd3(0x2c7)]=_0x175612,this[_0x4dbfd3(0xe8)]=_0x30c7ba,this[_0x4dbfd3(0x32a)]=_0x1bc47d,this[_0x4dbfd3(0x256)]());}['dispose'](){const _0x2e4148=_0x465324;super[_0x2e4148(0xc1)](),this['_entityInit$'][_0x2e4148(0xf8)](),this[_0x2e4148(0x1f7)]['forEach'](_0x39be44=>_0x39be44[_0x2e4148(0xc1)]());}[_0x465324(0xfc)](_0x3d219b){const _0x2598fd=_0x465324;return this[_0x2598fd(0x1f7)][_0x2598fd(0xfd)](_0x3d219b)?this['_entities']['get'](_0x3d219b)[_0x2598fd(0x168)]:this[_0x2598fd(0x1da)][_0x2598fd(0x29b)](_0x481311[_0x2598fd(0x111)](_0x44a852=>_0x44a852[_0x2598fd(0x1a3)]===_0x3d219b),_0x481311['switchMap'](_0x4f6791=>_0x4f6791[_0x2598fd(0x168)]));}['_init'](){const _0x33f6c2=_0x465324;this['_univerInstanceService'][_0x33f6c2(0x2b3)](_0x50247b[_0x33f6c2(0x319)][_0x33f6c2(0xdb)])['pipe'](_0x481311[_0x33f6c2(0x14f)](this['dispose$']))[_0x33f6c2(0x1a4)](async _0x2188d1=>{const _0x3e4704=_0x33f6c2,_0x338cc5=_0x2188d1['getUnitId'](),_0x51ef27=await this['_startSheetCollabCursor'](_0x338cc5);this[_0x3e4704(0x1da)]['next'](_0x51ef27),this[_0x3e4704(0x1f7)][_0x3e4704(0x154)](_0x338cc5,_0x51ef27);}),this['_univerInstanceService'][_0x33f6c2(0x2b3)](_0x50247b[_0x33f6c2(0x319)][_0x33f6c2(0x18b)])['pipe'](_0x481311[_0x33f6c2(0x14f)](this[_0x33f6c2(0x312)]))[_0x33f6c2(0x29b)](_0x481311[_0x33f6c2(0x111)](_0x42dcfa=>!_0x42dcfa[_0x33f6c2(0x324)]()[_0x33f6c2(0xc9)]('__')))[_0x33f6c2(0x1a4)](async _0x37aafb=>{const _0x225639=_0x33f6c2,_0x49b5d9=_0x37aafb[_0x225639(0x324)](),_0x2f6e09=await this['_startDocCollabCursor'](_0x49b5d9);this[_0x225639(0x1da)][_0x225639(0x1d1)](_0x2f6e09),this['_entities'][_0x225639(0x154)](_0x49b5d9,_0x2f6e09);}),_0x481311['merge'](this[_0x33f6c2(0x2c7)]['getTypeOfUnitDisposed$'](_0x50247b[_0x33f6c2(0x319)][_0x33f6c2(0x18b)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x50247b[_0x33f6c2(0x319)]['UNIVER_SHEET']))['pipe'](_0x481311[_0x33f6c2(0x14f)](this[_0x33f6c2(0x312)]))[_0x33f6c2(0x1a4)](_0x22b7c6=>{const _0x5da00e=_0x33f6c2,_0x4baf6a=_0x22b7c6[_0x5da00e(0x324)](),_0x1f80ff=this[_0x5da00e(0x1f7)][_0x5da00e(0x2d8)](_0x4baf6a);_0x1f80ff&&(_0x1f80ff['dispose'](),this[_0x5da00e(0x1f7)][_0x5da00e(0x2bf)](_0x4baf6a));});}async[_0x465324(0x2de)](_0x365a37){const _0x1719be=_0x465324,_0x44fe71=await this[_0x1719be(0x32a)][_0x1719be(0x16e)](_0x365a37),_0x46033e=this[_0x1719be(0xe8)][_0x1719be(0x17b)](_0x944f80,_0x365a37,_0x44fe71);return _0x46033e['init'](),_0x46033e;}async[_0x465324(0x195)](_0x2f2c6d){const _0x4e9bcf=_0x465324,_0x5e56f9=await this[_0x4e9bcf(0x32a)]['requireSession'](_0x2f2c6d),_0x12bed0=this['_injector'][_0x4e9bcf(0x17b)](_0x55a4f4,_0x2f2c6d,_0x5e56f9);return _0x12bed0[_0x4e9bcf(0xb9)](),_0x12bed0;}};_0x565865=_0x29923c([_0x530e3a(0x0,_0x50247b['IUniverInstanceService']),_0x530e3a(0x1,_0x50247b['Inject'](_0x50247b['Injector'])),_0x530e3a(0x2,_0x50247b[_0x465324(0x15e)](_0x40916b['CollaborationSessionService']))],_0x565865);const _0x342200=0x14,_0x25862e=0xc8,_0x28d8d9=0x4,_0x2ef096=0x5;function _0x1f2b38(_0x39dc03,_0x46821a){const _0x247214=_0x465324;let {radius:_0xe6adf3,width:_0x18683f,height:_0x327a4b}=_0x46821a;_0xe6adf3=_0xe6adf3!=null?_0xe6adf3:0x0,_0x18683f=_0x18683f!=null?_0x18683f:0x1e,_0x327a4b=_0x327a4b!=null?_0x327a4b:0x1e;let _0x186901=0x0,_0x581604=0x0,_0x7c406a=0x0;_0x186901=_0x581604=_0x7c406a=Math['min'](_0xe6adf3,_0x18683f/0x2,_0x327a4b/0x2),_0x39dc03[_0x247214(0x22c)](),_0x39dc03['moveTo'](_0x186901,0x0),_0x39dc03[_0x247214(0x185)](_0x18683f-_0x581604,0x0),_0x39dc03[_0x247214(0x1f5)](_0x18683f-_0x581604,_0x581604,_0x581604,Math['PI']*0x3/0x2,0x0,!0x1),_0x39dc03[_0x247214(0x185)](_0x18683f,_0x327a4b-_0x7c406a),_0x39dc03['arc'](_0x18683f-_0x7c406a,_0x327a4b-_0x7c406a,_0x7c406a,0x0,Math['PI']/0x2,!0x1),_0x39dc03[_0x247214(0x185)](0x0,_0x327a4b),_0x39dc03[_0x247214(0x185)](0x0,_0x186901),_0x39dc03[_0x247214(0x1f5)](_0x186901,_0x186901,_0x186901,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x39dc03[_0x247214(0x1e0)](),_0x46821a[_0x247214(0x165)]&&(_0x39dc03[_0x247214(0x251)](),_0x39dc03[_0x247214(0x1c5)]=_0x46821a[_0x247214(0x165)],_0x46821a[_0x247214(0x2b6)]===_0x247214(0x262)?_0x39dc03['fill'](_0x247214(0x262)):_0x39dc03['fill'](),_0x39dc03[_0x247214(0xc0)]());}class _0x5a05ec extends _0x24e38c[_0x465324(0x112)]{constructor(_0x57036c,_0x5c44dc){const _0x5a8aaa=_0x465324;super(_0x57036c,_0x5c44dc),_0x2f0564(this,_0x5a8aaa(0x226)),_0x2f0564(this,'text'),(this['color']=_0x5c44dc==null?void 0x0:_0x5c44dc['color'],this['text']=_0x5c44dc==null?void 0x0:_0x5c44dc[_0x5a8aaa(0xec)]);}static[_0x465324(0xa0)](_0x44410d,_0x1b5b89){const _0x3d7388=_0x465324,{text:_0x3136f1,color:_0x126906}=_0x1b5b89;_0x44410d[_0x3d7388(0x251)](),_0x44410d[_0x3d7388(0x1f4)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x368b7d=_0x44410d[_0x3d7388(0x136)](_0x3136f1)['width'],_0x5b872f=Math[_0x3d7388(0x2f8)](_0x368b7d+0x2*_0x28d8d9,_0x25862e);_0x1f2b38(_0x44410d,{'height':_0x342200,'radius':0x4,'width':_0x5b872f,'fill':_0x126906}),_0x44410d['fillStyle']='#FFF';const _0x4561e5=_0x28d8d9,_0x4fef01=_0x342200-_0x2ef096,_0x3dd7c5=_0x25862e-0x2*_0x28d8d9;if(_0x368b7d>_0x3dd7c5){let _0x38dd8e='',_0x4807ff=0x0;for(const _0x5ee768 of _0x3136f1){const _0x3aa83f=_0x44410d[_0x3d7388(0x136)](_0x5ee768)[_0x3d7388(0x1f3)];if(_0x4807ff+_0x3aa83f<=_0x3dd7c5-_0x44410d[_0x3d7388(0x136)](_0x3d7388(0x1b7))['width'])_0x38dd8e+=_0x5ee768,_0x4807ff+=_0x3aa83f;else{_0x38dd8e+=_0x3d7388(0x1b7);break;}}_0x44410d[_0x3d7388(0x12c)](_0x38dd8e,_0x4561e5,_0x4fef01);}else _0x44410d[_0x3d7388(0x12c)](_0x3136f1,_0x4561e5,_0x4fef01);_0x44410d[_0x3d7388(0xc0)]();}[_0x465324(0xa4)](_0x3a741c){const _0x3e0fa6=_0x465324;_0x5a05ec[_0x3e0fa6(0xa0)](_0x3a741c,this);}}const _0x3cdf1e=_0x465324(0x9c),_0x597ba4=_0x465324(0x19f),_0x468fe7='collab-rect-range-',_0x7f852=0x6,_0x2e3d59=1.5,_0x393a7c=0x4,_0x4eebfe=1.5,_0x403f67=_0x465324(0x218);class _0x11a7a{constructor(_0x3b65f9,_0x322ab9,_0x3657a5,_0x5bd32c){const _0x11f1ea=_0x465324;_0x2f0564(this,'_shapes',[]),_0x2f0564(this,_0x11f1ea(0x211),null),_0x2f0564(this,'_textBubble',null),_0x2f0564(this,_0x11f1ea(0xf9),null),_0x2f0564(this,_0x11f1ea(0x27e),null),_0x2f0564(this,_0x11f1ea(0x103),null),(this[_0x11f1ea(0x201)]=_0x3b65f9,this[_0x11f1ea(0x1bd)]=_0x322ab9,this[_0x11f1ea(0xe5)]=_0x3657a5,this['_document']=_0x5bd32c,this['_render']());}set[_0x465324(0x13e)](_0x506420){const _0x10b8a2=_0x465324;_0x506420?(this[_0x10b8a2(0xf9)]&&this['_anchorDot'][_0x10b8a2(0x263)](),this['_textBubble']&&this[_0x10b8a2(0x182)][_0x10b8a2(0x197)]()):(this[_0x10b8a2(0xf9)]&&this['_anchorDot'][_0x10b8a2(0x197)](),this[_0x10b8a2(0x182)]&&this[_0x10b8a2(0x182)]['hide']());}['dispose'](){const _0x21f6d3=_0x465324;for(const _0x27b960 of this[_0x21f6d3(0x15a)])_0x27b960[_0x21f6d3(0xc1)]();this[_0x21f6d3(0x182)]&&this[_0x21f6d3(0x182)][_0x21f6d3(0xc1)](),this[_0x21f6d3(0xf9)]&&this[_0x21f6d3(0xf9)][_0x21f6d3(0xc1)](),this[_0x21f6d3(0x211)]&&this[_0x21f6d3(0x211)][_0x21f6d3(0xc1)](),this[_0x21f6d3(0x103)]&&this[_0x21f6d3(0x103)]();}[_0x465324(0x15f)](){const _0x12f9ef=_0x465324;var _0x284914;const {_docSkeleton:_0x1f13cb,_document:_0xe3e59b}=this,{color:_0x1dfc14,name:_0x40caa3,ranges:_0x3ba9da}=this[_0x12f9ef(0x201)],_0x4436e6=_0xe3e59b['getOffsetConfig'](),{docsLeft:_0x102d6c,docsTop:_0x359120}=_0x4436e6,_0xf679b8=new _0x2b2a5c[(_0x12f9ef(0x150))](_0x4436e6,_0x1f13cb);for(const {startOffset:_0x1e8e4a,endOffset:_0x59a5d8,rangeType:_0x430547,segmentId:_0x5b3c49,segmentPage:_0x50b9c7,collapsed:_0xee1c02,isActive:_0x21840b}of _0x3ba9da){const _0x2c7706=_0x1f13cb[_0x12f9ef(0x1c3)](_0x1e8e4a,!0x0,_0x5b3c49,_0x50b9c7);let _0x4f3a99=_0x1f13cb[_0x12f9ef(0x1c3)](_0x59a5d8,!0x0,_0x5b3c49,_0x50b9c7);if(_0x4f3a99==null&&(_0x4f3a99=_0x1f13cb[_0x12f9ef(0x1c3)](_0x59a5d8-0x1,!0x1,_0x5b3c49,_0x50b9c7)),_0x21840b){const {contentBoxPointGroup:_0x670cc1}=_0xf679b8[_0x12f9ef(0xa2)](_0x4f3a99,_0x4f3a99);if(_0x670cc1['length']===0x0)continue;this['_drawAnchor'](_0x1dfc14,_0x670cc1,_0x102d6c,_0x359120,_0x40caa3),this[_0x12f9ef(0x103)]=this[_0x12f9ef(0xa8)]();}if(_0x2c7706&&_0x4f3a99){if(_0x430547===_0x50247b[_0x12f9ef(0x280)][_0x12f9ef(0xbc)]){const _0x577af2=new _0x2b2a5c[(_0x12f9ef(0x227))](_0x4436e6,_0x1f13cb),{pointGroup:_0x2f3776}=(_0x284914=_0x577af2[_0x12f9ef(0xa2)](_0x2c7706,_0x4f3a99))!=null?_0x284914:{};if(_0x2f3776==null||_0x2f3776[_0x12f9ef(0x223)]===0x0)continue;this[_0x12f9ef(0x11a)](_0x1dfc14,_0x2f3776,_0x102d6c,_0x359120);}else{if(!_0xee1c02){const {borderBoxPointGroup:_0x2a1027}=_0xf679b8[_0x12f9ef(0xa2)](_0x2c7706,_0x4f3a99);if(_0x2a1027['length']===0x0)continue;this[_0x12f9ef(0x28b)](_0x1dfc14,_0x2a1027,_0x102d6c,_0x359120);}}}}}[_0x465324(0x2fd)](_0x53ad08,_0xcf26d5,_0x308875,_0x5edf61,_0x1695ab){const _0x1cd708=_0x465324,_0xd95aad=this[_0x1cd708(0x2c3)](_0xcf26d5),{left:_0x1dcf28,top:_0x355f90,height:_0x2725ea}=_0xd95aad,_0x19b89b=this[_0x1cd708(0x120)](),_0x5a1764=_0x4eebfe/_0x19b89b,_0x2187c3=new _0x24e38c[(_0x1cd708(0x26a))](_0x3cdf1e+_0x50247b[_0x1cd708(0x1be)][_0x1cd708(0x102)](_0x7f852),{'left':_0x1dcf28+_0x308875-_0x5a1764,'top':_0x355f90+_0x5edf61,'height':_0x2725ea,'width':_0x2e3d59,'fill':_0x53ad08||_0x24e38c[_0x1cd708(0x1a5)](_0x50247b[_0x1cd708(0x2b8)]['black'],0x0),'strokeWidth':_0x5a1764,'stroke':_0x403f67,'evented':!0x0});this['_anchor']=_0x2187c3,this['_scene'][_0x1cd708(0x219)](_0x2187c3,_0x2b2a5c[_0x1cd708(0x2ce)]);const _0x3e9b5a=new _0x24e38c[(_0x1cd708(0x26a))](_0x3cdf1e+_0x50247b[_0x1cd708(0x1be)]['generateRandomId'](_0x7f852),{'left':_0x1dcf28+_0x308875-_0x5a1764,'top':_0x355f90+_0x5edf61-_0x393a7c/0x2,'height':_0x393a7c,'width':_0x393a7c,'fill':_0x53ad08||_0x24e38c[_0x1cd708(0x1a5)](_0x50247b[_0x1cd708(0x2b8)][_0x1cd708(0x2a3)],0x0),'strokeWidth':0x0,'stroke':_0x53ad08||_0x24e38c[_0x1cd708(0x1a5)](_0x50247b[_0x1cd708(0x2b8)]['black'],0x0),'evented':!0x1});this[_0x1cd708(0xf9)]=_0x3e9b5a,this['_scene'][_0x1cd708(0x219)](_0x3e9b5a,_0x2b2a5c[_0x1cd708(0x2ce)]);const _0x37c6d5=new _0x5a05ec(_0x3cdf1e+_0x50247b[_0x1cd708(0x1be)][_0x1cd708(0x102)](_0x7f852),{'left':_0x1dcf28+_0x308875-_0x5a1764,'top':_0x355f90+_0x5edf61-_0x342200,'text':_0x1695ab,'color':_0x53ad08});this[_0x1cd708(0x182)]=_0x37c6d5,this['_scene'][_0x1cd708(0x219)](_0x37c6d5,_0x2b2a5c['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}['_handleHover'](){const _0x3acf89=_0x465324,_0x18d078=this['_anchor'][_0x3acf89(0x123)]['subscribeEvent'](()=>{const _0x6b2714=_0x3acf89;this[_0x6b2714(0x13e)]=!0x0;}),_0x1230d8=this[_0x3acf89(0x211)]['onPointerLeave$'][_0x3acf89(0x31c)](()=>{const _0x83f1a2=_0x3acf89;this[_0x83f1a2(0x27e)]&&clearTimeout(this[_0x83f1a2(0x27e)]),this[_0x83f1a2(0x27e)]=setTimeout(()=>{const _0x26e50c=_0x83f1a2;this[_0x26e50c(0x13e)]=!0x1;},0x7d0);});return()=>{const _0x465b08=_0x3acf89;_0x18d078[_0x465b08(0x2b0)](),_0x1230d8[_0x465b08(0x2b0)]();};}[_0x465324(0x28b)](_0x3e0ff1,_0x520455,_0x16ebef,_0x397e23){const _0x47183d=_0x465324,_0x251126=new _0x50247b[(_0x47183d(0xcc))](_0x3e0ff1)[_0x47183d(0x2c4)](0.2)[_0x47183d(0xbd)](),_0x556466=new _0x24e38c['RegularPolygon'](_0x597ba4+_0x50247b[_0x47183d(0x1be)][_0x47183d(0x102)](_0x7f852),{'pointsGroup':_0x520455,'fill':_0x251126||_0x24e38c[_0x47183d(0x1a5)](_0x50247b[_0x47183d(0x2b8)][_0x47183d(0x2a3)],0.2),'left':_0x16ebef,'top':_0x397e23,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x47183d(0x15a)][_0x47183d(0xc3)](_0x556466),this['_scene'][_0x47183d(0x219)](_0x556466,_0x2b2a5c[_0x47183d(0x2ce)]);}[_0x465324(0x11a)](_0x89efe1,_0x4326ff,_0xa2650f,_0x5ea4ce){const _0x32afec=_0x465324,_0x48e793=new _0x50247b['ColorKit'](_0x89efe1)[_0x32afec(0x2c4)](0.2)['toRgbString'](),_0x490ee6=new _0x24e38c['RegularPolygon'](_0x468fe7+_0x50247b[_0x32afec(0x1be)][_0x32afec(0x102)](_0x7f852),{'pointsGroup':_0x4326ff,'fill':_0x48e793||_0x24e38c[_0x32afec(0x1a5)](_0x50247b[_0x32afec(0x2b8)]['black'],0.2),'left':_0xa2650f,'top':_0x5ea4ce,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x32afec(0x15a)][_0x32afec(0xc3)](_0x490ee6),this[_0x32afec(0x1bd)][_0x32afec(0x219)](_0x490ee6,_0x2b2a5c[_0x32afec(0x2ce)]);}['_getAnchorBounding'](_0x2d386c){const _0xcf90fe=_0x2d386c[0x0],_0x4cc6f8=_0xcf90fe[0x0],_0x3a24e9=_0xcf90fe[0x2],{x:_0x4dc688,y:_0x2fb108}=_0x4cc6f8,{x:_0x3259d6,y:_0xe613e7}=_0x3a24e9;return{'left':_0x4dc688,'top':_0x2fb108,'width':_0x3259d6-_0x4dc688,'height':_0xe613e7-_0x2fb108};}[_0x465324(0x120)](){const _0x3b8c53=_0x465324,{scaleX:_0x3d5704,scaleY:_0xf1556}=this[_0x3b8c53(0x1bd)][_0x3b8c53(0x31f)]();return Math[_0x3b8c53(0x2a8)](_0x3d5704,_0xf1556);}}var _0x46aa48=Object[_0x465324(0x164)],_0x4a77d1=(_0xe0df36,_0x47b18a,_0x37e9c9,_0x14a6fd)=>{const _0x1406c4=_0x465324;for(var _0x32a83a=_0x14a6fd>0x1?void 0x0:_0x14a6fd?_0x46aa48(_0x47b18a,_0x37e9c9):_0x47b18a,_0xbb35d0=_0xe0df36[_0x1406c4(0x223)]-0x1,_0x36f37f;_0xbb35d0>=0x0;_0xbb35d0--)(_0x36f37f=_0xe0df36[_0xbb35d0])&&(_0x32a83a=_0x36f37f(_0x32a83a)||_0x32a83a);return _0x32a83a;},_0x2379eb=(_0xb3b0e3,_0x392c05)=>(_0x2f0ab5,_0x1e1f98)=>_0x392c05(_0x2f0ab5,_0x1e1f98,_0xb3b0e3);let _0x8254e1=class extends _0x50247b[_0x465324(0x16f)]{constructor(_0x958283,_0x27b7f7,_0x398675,_0x9c3f80,_0x3cae7f){const _0x2ae5d0=_0x465324;super(),_0x2f0564(this,_0x2ae5d0(0x302),[]),_0x2f0564(this,'_cursors',[]),(this['_context']=_0x958283,this[_0x2ae5d0(0x96)]=_0x27b7f7,this[_0x2ae5d0(0xe7)]=_0x398675,this[_0x2ae5d0(0x1aa)]=_0x9c3f80,this[_0x2ae5d0(0x1f9)]=_0x3cae7f,this['_init']());}['_init'](){const _0x4756e4=_0x465324,_0x3dbd72=this[_0x4756e4(0x12a)][_0x4756e4(0x107)],_0x4ebaf7=this[_0x4756e4(0x96)];this[_0x4756e4(0x148)](_0x481311['combineLatest']([this[_0x4756e4(0xe7)][_0x4756e4(0xfc)](_0x3dbd72),this[_0x4756e4(0x1f9)][_0x4756e4(0x153)]])[_0x4756e4(0x29b)](_0x3846e5['map'](([_0x346f95,_0x21925e])=>({'skeleton':_0x4ebaf7[_0x4756e4(0x17a)](),'cursors':[..._0x346f95[_0x4756e4(0x2e3)]()]['flatMap'](_0x3886b9=>({..._0x3886b9,'color':this[_0x4756e4(0x1f9)][_0x4756e4(0x2c9)](_0x3886b9[_0x4756e4(0x226)])}))})))[_0x4756e4(0x1a4)](_0x535249=>{const _0x3e7187=_0x4756e4;if(this[_0x3e7187(0x317)](),_0x535249){const {skeleton:_0x22f2ff,cursors:_0x1e7f04}=_0x535249;this[_0x3e7187(0x326)](_0x22f2ff,_0x1e7f04);}})),this[_0x4756e4(0x12f)](),this[_0x4756e4(0x2c5)]();}['_updateCollabCursors'](_0x169925,_0x5dcbd9){const _0x2da746=_0x465324,{scene:_0x40b1a1,mainComponent:_0x3f1989}=this['_context'],_0x32ed80=_0x5dcbd9[_0x2da746(0xb4)](_0x35a529=>new _0x11a7a(_0x35a529,_0x40b1a1,_0x169925,_0x3f1989));this[_0x2da746(0x302)]=_0x32ed80,this['_cursors']=_0x5dcbd9;}[_0x465324(0x181)](){const _0x259d96=_0x465324;this[_0x259d96(0x317)]();const {scene:_0x817338,mainComponent:_0x5b6dd7}=this[_0x259d96(0x12a)],_0xaa658f=this[_0x259d96(0x96)][_0x259d96(0x17a)](),_0x4f3605=this[_0x259d96(0x2b7)][_0x259d96(0xb4)](_0x1af61a=>new _0x11a7a(_0x1af61a,_0x817338,_0xaa658f,_0x5b6dd7));this[_0x259d96(0x302)]=_0x4f3605;}[_0x465324(0x317)](){const _0x287a6c=_0x465324;this[_0x287a6c(0x302)][_0x287a6c(0x134)](_0x163658=>_0x163658[_0x287a6c(0xc1)]()),this[_0x287a6c(0x302)]=[];}[_0x465324(0x2c5)](){const _0x4f75f6=_0x465324,_0x5bb7ce=[_0x2b2a5c[_0x4f75f6(0x1c1)]['id']];this[_0x4f75f6(0x148)](this[_0x4f75f6(0x1aa)][_0x4f75f6(0x1e7)](_0x378dee=>{const _0x56565c=_0x4f75f6;_0x5bb7ce[_0x56565c(0x21b)](_0x378dee['id'])&&_0x378dee[_0x56565c(0x176)][_0x56565c(0x107)]===this[_0x56565c(0x12a)][_0x56565c(0x107)]&&this[_0x56565c(0x181)]();}));}[_0x465324(0x12f)](){const _0x5bef6d=_0x465324;this[_0x5bef6d(0x148)](_0x50247b[_0x5bef6d(0x1c9)](this[_0x5bef6d(0x12a)][_0x5bef6d(0x2ba)]['onTransformChange$'])[_0x5bef6d(0x29b)](_0x3846e5['filter'](_0x3f6e40=>_0x3f6e40[_0x5bef6d(0x177)]===_0x24e38c[_0x5bef6d(0x22b)][_0x5bef6d(0x1b8)]),_0x3846e5[_0x5bef6d(0xd7)](0x10))[_0x5bef6d(0x1a4)](()=>{const _0x2da810=_0x5bef6d;this[_0x2da810(0x181)]();}));}};_0x8254e1=_0x4a77d1([_0x2379eb(0x1,_0x50247b['Inject'](_0x2136d0[_0x465324(0x191)])),_0x2379eb(0x2,_0x50247b['Inject'](_0x565865)),_0x2379eb(0x3,_0x50247b[_0x465324(0xde)]),_0x2379eb(0x4,_0x50247b['Inject'](_0x50247b['ThemeService']))],_0x8254e1);const _0x19f6b7=0x1,_0x216340=1.5;class _0x25a3fc extends _0x24e38c[_0x465324(0x112)]{constructor(_0x14fc93,_0x3875ee){const _0x1372d5=_0x465324;super(_0x14fc93,_0x3875ee),_0x2f0564(this,_0x1372d5(0xaa)),_0x2f0564(this,_0x1372d5(0x193),!0x1),_0x2f0564(this,_0x1372d5(0x2d1)),_0x2f0564(this,'_name',''),_0x2f0564(this,_0x1372d5(0x9d),'top'),_0x2f0564(this,_0x1372d5(0x204)),(_0x3875ee&&this[_0x1372d5(0x13c)](_0x3875ee),this[_0x1372d5(0x123)][_0x1372d5(0x31c)](()=>this[_0x1372d5(0x13c)]({'hovered':!0x0})),this['onPointerLeave$'][_0x1372d5(0x31c)](()=>this[_0x1372d5(0x13c)]({'hovered':!0x1})));}[_0x465324(0x13c)](_0x1d41fe){const _0xf1eef=_0x465324;var _0x381e82,_0x5b126b,_0x5745f6,_0x2f9b9f,_0x45dfdb,_0x33cd68;this[_0xf1eef(0xaa)]=(_0x381e82=_0x1d41fe[_0xf1eef(0x226)])!=null?_0x381e82:this['_color'],this['_hovered']=(_0x5b126b=_0x1d41fe[_0xf1eef(0x268)])!=null?_0x5b126b:this[_0xf1eef(0x193)],this[_0xf1eef(0x2d1)]=(_0x5745f6=_0x1d41fe[_0xf1eef(0x2d4)])!=null?_0x5745f6:this[_0xf1eef(0x2d1)],this[_0xf1eef(0x234)]=(_0x2f9b9f=_0x1d41fe[_0xf1eef(0x18d)])!=null?_0x2f9b9f:this[_0xf1eef(0x234)],this[_0xf1eef(0x9d)]=(_0x45dfdb=_0x1d41fe[_0xf1eef(0x224)])!=null?_0x45dfdb:this['_labelPosition'],this[_0xf1eef(0x204)]=(_0x33cd68=_0x1d41fe[_0xf1eef(0xb6)])!=null?_0x33cd68:this[_0xf1eef(0x204)],this[_0xf1eef(0xc4)]({'width':_0x1d41fe[_0xf1eef(0x1f3)],'height':_0x1d41fe[_0xf1eef(0x21f)]});}['onMouseMove'](_0x1d2f52){const _0x5d6b85=_0x465324,{row:_0x4d202e,column:_0x30e360}=_0x1d2f52;if(_0x4d202e>=this[_0x5d6b85(0x2d1)][_0x5d6b85(0x311)]&&_0x4d202e<=this['_range'][_0x5d6b85(0x124)]&&_0x30e360>=this[_0x5d6b85(0x2d1)]['startColumn']&&_0x30e360<=this['_range'][_0x5d6b85(0x14d)]){this[_0x5d6b85(0x13c)]({'hovered':!0x0});return;}this[_0x5d6b85(0x13c)]({'hovered':!0x1});}[_0x465324(0x266)](_0x1b38a8){return!0x1;}[_0x465324(0xa4)](_0x3edfe4){const _0x275631=_0x465324;_0x24e38c['Rect'][_0x275631(0xa0)](_0x3edfe4,{'width':this[_0x275631(0x1f3)],'height':this[_0x275631(0x21f)],'strokeWidth':_0x216340,'stroke':this[_0x275631(0xaa)],'evented':!0x1,'fill':this[_0x275631(0x204)]}),this[_0x275631(0x193)]&&(_0x3edfe4[_0x275631(0x251)](),_0x3edfe4['transform'](0x1,0x0,0x0,0x1,this[_0x275631(0x1f3)],this[_0x275631(0x9d)]==='bottom'?0x0:-0x14),_0x5a05ec[_0x275631(0xa0)](_0x3edfe4,{'text':this[_0x275631(0x234)],'color':this[_0x275631(0xaa)]}),_0x3edfe4['restore']());}}var _0x47152c=Object[_0x465324(0x164)],_0x4b6c67=(_0x43a943,_0x48dee1,_0x4bc6f9,_0x2a6c6d)=>{const _0x5eea2f=_0x465324;for(var _0xbc7ed1=_0x2a6c6d>0x1?void 0x0:_0x2a6c6d?_0x47152c(_0x48dee1,_0x4bc6f9):_0x48dee1,_0x20bf4a=_0x43a943[_0x5eea2f(0x223)]-0x1,_0x109cf5;_0x20bf4a>=0x0;_0x20bf4a--)(_0x109cf5=_0x43a943[_0x20bf4a])&&(_0xbc7ed1=_0x109cf5(_0xbc7ed1)||_0xbc7ed1);return _0xbc7ed1;},_0x1dd898=(_0x107b58,_0xca7cdf)=>(_0xcb03dc,_0x14baa3)=>_0xca7cdf(_0xcb03dc,_0x14baa3,_0x107b58);const _0x34fbad=0x1389;let _0x250f25=class extends _0x50247b['RxDisposable']{constructor(_0x5b3814,_0x556173,_0x3627e4,_0x47f490){const _0x14aa80=_0x465324;super(),_0x2f0564(this,_0x14aa80(0x2b7),new Set()),_0x2f0564(this,_0x14aa80(0x174),null),(this['_context']=_0x5b3814,this[_0x14aa80(0x1a8)]=_0x556173,this[_0x14aa80(0xe7)]=_0x3627e4,this[_0x14aa80(0x1f9)]=_0x47f490,this[_0x14aa80(0x256)]());}[_0x465324(0x256)](){const _0x4dde47=_0x465324;this[_0x4dde47(0x1a8)][_0x4dde47(0x272)][_0x4dde47(0x29b)](_0x3846e5[_0x4dde47(0x14f)](this[_0x4dde47(0x312)]),_0x3846e5[_0x4dde47(0x137)](_0x8662f=>{const _0xd0133e=_0x4dde47;if(_0x8662f){const _0x524b5f=_0x8662f[_0xd0133e(0x14a)];return _0x481311[_0xd0133e(0x161)](this[_0xd0133e(0xe7)][_0xd0133e(0xfc)](this['_context'][_0xd0133e(0x107)]),this['_themeService']['currentTheme$'])[_0xd0133e(0x29b)](_0x3846e5[_0xd0133e(0xb4)](([_0x123180,_0x7e733f])=>{const _0xf2fb21=_0xd0133e,_0x152fb5=new Map();return _0x123180[_0xf2fb21(0x134)]((_0x103999,_0x5d5637)=>{const _0x160f1c=_0xf2fb21;if(_0x103999[_0x160f1c(0x2e1)]===_0x524b5f){const _0x29c906={..._0x103999};_0x29c906['color']=this[_0x160f1c(0x1f9)][_0x160f1c(0x2c9)](_0x103999[_0x160f1c(0x226)]),_0x152fb5[_0x160f1c(0x154)](_0x5d5637,_0x29c906);}}),{'skeleton':_0x8662f,'cursors':_0x152fb5};}));}return _0x481311['of']({'skeleton':null,'cursors':new Map()});}))[_0x4dde47(0x1a4)](({skeleton:_0x4ac6de,cursors:_0x46b39c})=>{const _0x163fac=_0x4dde47;this[_0x163fac(0x317)](),_0x4ac6de&&this[_0x163fac(0x326)](_0x4ac6de,_0x46b39c);}),this[_0x4dde47(0x1a8)][_0x4dde47(0x272)][_0x4dde47(0x1a4)](_0x2e260e=>{const _0x14c02d=_0x4dde47;if(_0x2e260e==null)return;const {skeleton:_0x527dc7}=_0x2e260e,{scene:_0x275234}=this[_0x14c02d(0x12a)];_0x275234[_0x14c02d(0x17d)][_0x14c02d(0x31c)](_0x50247b[_0x14c02d(0x100)](_0x742015=>{const _0x3cd0ab=_0x14c02d;var _0x42a2d9,_0x55abaa;const {offsetX:_0x2dffb8,offsetY:_0x2e269c}=_0x742015,{x:_0x40f392,y:_0x48e505}=_0x275234[_0x3cd0ab(0x2cc)](_0x24e38c[_0x3cd0ab(0x313)][_0x3cd0ab(0x151)]([_0x2dffb8,_0x2e269c])),{scaleX:_0x33a816,scaleY:_0x353519}=_0x275234['getAncestorScale'](),_0x209027=_0x275234[_0x3cd0ab(0x261)](_0x24e38c[_0x3cd0ab(0xda)][_0x3cd0ab(0x215)]),_0x595d44=_0x275234[_0x3cd0ab(0xd2)](_0x24e38c[_0x3cd0ab(0x313)]['FromArray']([_0x40f392,_0x48e505]),_0x209027),_0x4b46b8=_0x527dc7[_0x3cd0ab(0x2d2)](_0x2dffb8,_0x2e269c,_0x33a816,_0x353519,_0x595d44);((_0x42a2d9=this['_lastPointer'])==null?void 0x0:_0x42a2d9['column'])===_0x4b46b8['column']&&((_0x55abaa=this[_0x3cd0ab(0x174)])==null?void 0x0:_0x55abaa[_0x3cd0ab(0x299)])===_0x4b46b8[_0x3cd0ab(0x299)]||this[_0x3cd0ab(0x2b7)][_0x3cd0ab(0x134)](_0x1f594d=>{const _0x315f6a=_0x3cd0ab;_0x1f594d[_0x315f6a(0x17c)](_0x4b46b8);});},0x64));});}[_0x465324(0x326)](_0x5a02db,_0x4d7052){const _0x4d63ff=_0x465324;var _0x40372f;const _0x5846ca=(_0x40372f=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x40372f['skeleton'];if(!_0x5846ca)return;const _0x25820b=this[_0x4d63ff(0x18e)]();if(!_0x25820b)return;this['_cursors'][_0x4d63ff(0x134)](_0x29827f=>{_0x29827f['makeDirty']();});const {scene:_0x55a314}=_0x25820b,_0x4535a8=_0x41e2db(Array[_0x4d63ff(0x279)](_0x4d7052['values']()))['map'](_0x1a5e0b=>{const _0x5c0e56=_0x4d63ff,{color:_0x1b0f9b,range:_0x3c4873,name:_0x437e02,selection:_0x8bfeb4,sheetID:_0x598d29}=_0x1a5e0b,{startColumn:_0x5db4d2,startRow:_0x12bda0,endColumn:_0x1e4379,endRow:_0x512ee2}=_0x3c4873,_0x51517b=_0x28ba35['getCoordByCell'](_0x12bda0,_0x5db4d2,_0x55a314,_0x5846ca),_0x2eb574=_0x28ba35[_0x5c0e56(0xb3)](_0x512ee2,_0x1e4379,_0x55a314,_0x5846ca),{columnHeaderHeightAndMarginTop:_0x5aa691}=_0x5846ca,{startX:_0x58fe1f,startY:_0x202105}=_0x51517b,{endX:_0x4895d4,endY:_0x5934d4}=_0x2eb574,_0x29c228=_0x4895d4-_0x58fe1f,_0x126c0b=_0x5934d4-_0x202105,_0x33a174={'labelPosition':_0x202105-_0x5aa691>=_0x342200?_0x5c0e56(0xee):_0x5c0e56(0x28a),'sheetID':_0x598d29,'range':_0x3c4873,'color':_0x1b0f9b,'name':_0x437e02,'selection':_0x8bfeb4,'left':_0x58fe1f,'top':_0x202105,'width':_0x29c228,'height':_0x126c0b,'evented':!0x1,'zIndex':_0x34fbad};return new _0x25a3fc(_0x437e02,_0x33a174);});_0x55a314[_0x4d63ff(0x27b)](_0x4535a8,_0x19f6b7),this[_0x4d63ff(0x2b7)]=new Set(_0x4535a8);}[_0x465324(0x317)](){const _0x539888=_0x465324;var _0xc210b1;(_0xc210b1=this['_cursors'])==null||_0xc210b1[_0x539888(0x134)](_0x49cbfd=>_0x49cbfd[_0x539888(0xc1)]());}[_0x465324(0x18e)](){const _0x4fdf6d=_0x465324;return _0x28ba35[_0x4fdf6d(0x18c)](this[_0x4fdf6d(0x12a)][_0x4fdf6d(0xfa)],this[_0x4fdf6d(0x12a)]);}};_0x250f25=_0x4b6c67([_0x1dd898(0x1,_0x50247b[_0x465324(0x15e)](_0x28ba35[_0x465324(0x216)])),_0x1dd898(0x2,_0x50247b[_0x465324(0x15e)](_0x565865)),_0x1dd898(0x3,_0x50247b[_0x465324(0x15e)](_0x50247b[_0x465324(0x28e)]))],_0x250f25);function _0x41e2db(_0x373535){const _0x1858d9=_0x465324,_0x3adaeb=new Map();return _0x373535[_0x1858d9(0x134)](_0x23ce8d=>{const _0x213c12=_0x1858d9;if(_0x3adaeb[_0x213c12(0xfd)](_0x23ce8d[_0x213c12(0xbe)])){const _0x5611ea=_0x3adaeb[_0x213c12(0x2d8)](_0x23ce8d[_0x213c12(0xbe)]);_0x5611ea[_0x213c12(0x18d)]+=',\x20'+_0x23ce8d['name'];}else _0x3adaeb['set'](_0x23ce8d[_0x213c12(0xbe)],_0x23ce8d);}),Array['from'](_0x3adaeb[_0x1858d9(0x2e3)]());}var _0x4d02a0=function(){return _0x4d02a0=Object['assign']||function(_0x16811e){const _0x451349=_0x4c50;for(var _0x2cdb56,_0x4f06d7=0x1,_0xf6be29=arguments[_0x451349(0x223)];_0x4f06d7<_0xf6be29;_0x4f06d7++){_0x2cdb56=arguments[_0x4f06d7];for(var _0x1651e2 in _0x2cdb56)Object[_0x451349(0x2dd)][_0x451349(0x19b)][_0x451349(0x233)](_0x2cdb56,_0x1651e2)&&(_0x16811e[_0x1651e2]=_0x2cdb56[_0x1651e2]);}return _0x16811e;},_0x4d02a0['apply'](this,arguments);},_0x359641=function(_0x237f91,_0x187339){const _0x4e9a5f=_0x465324;var _0xa6079c={};for(var _0x34f9ca in _0x237f91)Object[_0x4e9a5f(0x2dd)][_0x4e9a5f(0x19b)][_0x4e9a5f(0x233)](_0x237f91,_0x34f9ca)&&_0x187339[_0x4e9a5f(0x1c6)](_0x34f9ca)<0x0&&(_0xa6079c[_0x34f9ca]=_0x237f91[_0x34f9ca]);if(_0x237f91!=null&&typeof Object['getOwnPropertySymbols']==_0x4e9a5f(0x12e)){for(var _0x29318f=0x0,_0x34f9ca=Object[_0x4e9a5f(0xdc)](_0x237f91);_0x29318f<_0x34f9ca['length'];_0x29318f++)_0x187339[_0x4e9a5f(0x1c6)](_0x34f9ca[_0x29318f])<0x0&&Object['prototype'][_0x4e9a5f(0x146)][_0x4e9a5f(0x233)](_0x237f91,_0x34f9ca[_0x29318f])&&(_0xa6079c[_0x34f9ca[_0x29318f]]=_0x237f91[_0x34f9ca[_0x29318f]]);}return _0xa6079c;},_0x24ede3=_0x998dec[_0x465324(0x106)](function(_0x2e2705,_0x2e0d53){const _0x27ab75=_0x465324;var _0x3a7a78=_0x2e2705[_0x27ab75(0xd9)],_0x7bf77d=_0x2e2705['id'],_0x59bf51=_0x2e2705[_0x27ab75(0x28f)],_0x18e3b3=_0x2e2705[_0x27ab75(0x28d)],_0x2b8ae2=_0x359641(_0x2e2705,[_0x27ab75(0xd9),'id',_0x27ab75(0x28f),_0x27ab75(0x28d)]),_0xae0fa2=_0x27ab75(0x1a0)[_0x27ab75(0x25b)](_0x7bf77d,'\x20')[_0x27ab75(0x25b)](_0x59bf51||'')[_0x27ab75(0x172)](),_0x13879b=_0x998dec[_0x27ab75(0x2ad)]('_'[_0x27ab75(0x25b)](_0x689a83()));return _0x1b140c(_0x3a7a78,''[_0x27ab75(0x25b)](_0x7bf77d),{'defIds':_0x3a7a78[_0x27ab75(0xeb)],'idSuffix':_0x13879b[_0x27ab75(0x29f)]},_0x4d02a0({'ref':_0x2e0d53,'className':_0xae0fa2},_0x2b8ae2),_0x18e3b3);});function _0x1b140c(_0x5d851a,_0x4c38e3,_0x1d2d66,_0x26ccda,_0x2aecc4){const _0x4b8a21=_0x465324;return _0x998dec['createElement'](_0x5d851a[_0x4b8a21(0x25c)],_0x4d02a0(_0x4d02a0({'key':_0x4c38e3},_0xf59f(_0x5d851a,_0x1d2d66,_0x2aecc4)),_0x26ccda),(_0xff4871(_0x5d851a,_0x1d2d66)[_0x4b8a21(0x244)]||[])[_0x4b8a21(0xb4)](function(_0x115ccc,_0x1e4cc1){const _0x1eb746=_0x4b8a21;return _0x1b140c(_0x115ccc,''['concat'](_0x4c38e3,'-')[_0x1eb746(0x25b)](_0x5d851a[_0x1eb746(0x25c)],'-')[_0x1eb746(0x25b)](_0x1e4cc1),_0x1d2d66,void 0x0,_0x2aecc4);}));}function _0xf59f(_0x310d1f,_0x22103f,_0x47e515){const _0x14f530=_0x465324;var _0x303c3e=_0x4d02a0({},_0x310d1f[_0x14f530(0x221)]);_0x47e515!=null&&_0x47e515[_0x14f530(0x189)]&&_0x303c3e[_0x14f530(0x165)]===_0x14f530(0x189)&&(_0x303c3e[_0x14f530(0x165)]=_0x47e515['colorChannel1']),_0x310d1f[_0x14f530(0x25c)]===_0x14f530(0x2f7)&&_0x303c3e['id']&&(_0x303c3e['id']=_0x303c3e['id']+_0x22103f['idSuffix']),Object[_0x14f530(0x32c)](_0x303c3e)['forEach'](function(_0xd4dd08){const _0x3a137d=_0x14f530;var _0x4e2579=_0xd4dd08[0x0],_0x41be49=_0xd4dd08[0x1];_0x4e2579===_0x3a137d(0x2f7)&&typeof _0x41be49==_0x3a137d(0x19e)&&(_0x303c3e[_0x4e2579]=_0x41be49['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x22103f[_0x3a137d(0x1fa)],')')));});var _0x37fef7=_0x22103f[_0x14f530(0xeb)];return!_0x37fef7||_0x37fef7[_0x14f530(0x223)]===0x0||(_0x310d1f[_0x14f530(0x25c)]===_0x14f530(0x11e)&&_0x303c3e[_0x14f530(0x158)]&&(_0x303c3e[_0x14f530(0x158)]=_0x303c3e[_0x14f530(0x158)]+_0x22103f[_0x14f530(0x1fa)]),Object[_0x14f530(0x32c)](_0x303c3e)[_0x14f530(0x134)](function(_0x571200){const _0x3e8da9=_0x14f530;var _0x512ad3=_0x571200[0x0],_0x1a62bc=_0x571200[0x1];typeof _0x1a62bc==_0x3e8da9(0x19e)&&(_0x303c3e[_0x512ad3]=_0x1a62bc[_0x3e8da9(0x25e)](/url\(#(.*)\)/,'url(#$1'[_0x3e8da9(0x25b)](_0x22103f[_0x3e8da9(0x1fa)],')')));})),_0x303c3e;}function _0xff4871(_0x449f60,_0xcb3dfe){const _0x44c5d9=_0x465324;var _0x17f27b,_0x2504d4=_0xcb3dfe[_0x44c5d9(0xeb)];return!_0x2504d4||_0x2504d4[_0x44c5d9(0x223)]===0x0?_0x449f60:_0x449f60['tag']===_0x44c5d9(0x214)&&(!((_0x17f27b=_0x449f60[_0x44c5d9(0x244)])===null||_0x17f27b===void 0x0)&&_0x17f27b[_0x44c5d9(0x223)])?_0x4d02a0(_0x4d02a0({},_0x449f60),{'children':_0x449f60[_0x44c5d9(0x244)][_0x44c5d9(0xb4)](function(_0x401b2e){const _0x2d0fee=_0x44c5d9;return typeof _0x401b2e['attrs']['id']==_0x2d0fee(0x19e)&&_0x2504d4&&_0x2504d4['includes'](_0x401b2e[_0x2d0fee(0x221)]['id'])?_0x4d02a0(_0x4d02a0({},_0x401b2e),{'attrs':_0x4d02a0(_0x4d02a0({},_0x401b2e['attrs']),{'id':_0x401b2e[_0x2d0fee(0x221)]['id']+_0xcb3dfe[_0x2d0fee(0x1fa)]})}):_0x401b2e;})}):_0x449f60;}function _0x689a83(){const _0x4db3a5=_0x465324;return Math[_0x4db3a5(0x2ac)]()[_0x4db3a5(0x255)](0x24)[_0x4db3a5(0x192)](0x2,0x8);}_0x24ede3[_0x465324(0xa3)]=_0x465324(0x235);var _0x5a22c3={'tag':_0x465324(0x95),'attrs':{'xmlns':_0x465324(0xb8),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x465324(0x170),'height':_0x465324(0x170)},'children':[{'tag':'g','attrs':{'clipPath':_0x465324(0x2f1)},'children':[{'tag':_0x465324(0x115),'attrs':{'stroke':_0x465324(0x1cb),'d':_0x465324(0x238),'strokeLinecap':_0x465324(0x32b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x465324(0x214),'attrs':{},'children':[{'tag':_0x465324(0x1a2),'attrs':{'id':_0x465324(0x318)},'children':[{'tag':_0x465324(0x115),'attrs':{'fill':_0x465324(0x225),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x465324(0x318)]},_0xdbca98=_0x998dec[_0x465324(0x106)](function(_0xc4d851,_0x2c3e64){const _0x1bb2c0=_0x465324;return _0x998dec[_0x1bb2c0(0x322)](_0x24ede3,Object[_0x1bb2c0(0x2eb)]({},_0xc4d851,{'id':_0x1bb2c0(0x198),'ref':_0x2c3e64,'icon':_0x5a22c3}));});_0xdbca98['displayName']=_0x465324(0x274);var _0xaa3f5d={'tag':_0x465324(0x95),'attrs':{'xmlns':_0x465324(0xb8),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x465324(0x170),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x465324(0x115),'attrs':{'stroke':_0x465324(0x1cb),'d':_0x465324(0x1bb),'strokeLinecap':_0x465324(0x32b),'strokeLinejoin':_0x465324(0x32b),'strokeWidth':1.2}}]},{'tag':_0x465324(0x214),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x465324(0x2a6)},'children':[{'tag':'path','attrs':{'fill':_0x465324(0x225),'d':'M0\x200H16V16H0z','transform':_0x465324(0x2f6)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x3371df=_0x998dec[_0x465324(0x106)](function(_0x5c0f0a,_0x4ec4dd){const _0x352230=_0x465324;return _0x998dec[_0x352230(0x322)](_0x24ede3,Object[_0x352230(0x2eb)]({},_0x5c0f0a,{'id':_0x352230(0x1fb),'ref':_0x4ec4dd,'icon':_0xaa3f5d}));});_0x3371df[_0x465324(0xa3)]='OnLineIcon';function _0x37e08b(_0xbb8c7a){const _0x1b603b=_0x465324;switch(_0xbb8c7a){case _0x40916b[_0x1b603b(0x1b1)][_0x1b603b(0x14e)]:return _0x1b603b(0xdf);case _0x40916b[_0x1b603b(0x1b1)][_0x1b603b(0x309)]:return _0x1b603b(0x294);case _0x40916b['CollaborationStatus']['FETCH_MISS']:return _0x1b603b(0x132);case _0x40916b[_0x1b603b(0x1b1)]['NOT_COLLAB']:return _0x1b603b(0xe1);case _0x40916b[_0x1b603b(0x1b1)][_0x1b603b(0x1fc)]:case _0x40916b[_0x1b603b(0x1b1)][_0x1b603b(0x325)]:return _0x1b603b(0x25d);case _0x40916b[_0x1b603b(0x1b1)][_0x1b603b(0x2e0)]:case _0x40916b['CollaborationStatus'][_0x1b603b(0x10f)]:return _0x1b603b(0x267);}}function _0xdf38a9(_0x3773b0){const _0x2d0882=_0x465324,{status$:_0xde270a}=_0x3773b0,_0x90945c=_0x4d3b42[_0x2d0882(0x288)](_0xde270a,_0x40916b[_0x2d0882(0x1b1)]['NOT_COLLAB']),_0x2bd1a2=_0x4d3b42[_0x2d0882(0xf2)](_0x50247b[_0x2d0882(0x14b)]),_0x5f1be4=_0x4d3b42[_0x2d0882(0xf2)](_0x40916b[_0x2d0882(0x139)]),_0x425fbb=_0x90945c!==_0x40916b[_0x2d0882(0x1b1)][_0x2d0882(0x14e)],_0x5af102=_0x2bd1a2['t'](_0x37e08b(_0x90945c)),_0x4b3b60=_0x425fbb?_0x190220[_0x2d0882(0x25f)](_0x3371df,{}):_0x190220[_0x2d0882(0x25f)](_0xdbca98,{}),_0x114fdc=_0x998dec[_0x2d0882(0x1a7)](()=>{_0x425fbb||_0x5f1be4['reconnect']();},[_0x425fbb,_0x5f1be4]);function _0x59c12e(){const _0x483780=_0x2d0882;return _0x190220['jsxs']('div',{'className':_0x483780(0x149),'onClick':_0x114fdc,'children':[_0x190220['jsx'](_0x483780(0x23b),{'className':_0x7c6d07[_0x483780(0xbb)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x425fbb,'univer-text-red-500':!_0x425fbb}),'children':_0x4b3b60}),_0x190220[_0x483780(0x25f)](_0x483780(0x23b),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5af102})]});}return _0x425fbb?_0x59c12e():_0x190220[_0x2d0882(0x25f)](_0x7c6d07[_0x2d0882(0xfb)],{'title':_0x2bd1a2['t'](_0x2d0882(0x27d)),'children':_0x59c12e()});}var _0x48ada4=Object['getOwnPropertyDescriptor'],_0x3a61e2=(_0x333329,_0x4b78a1,_0x5154db,_0x5466fe)=>{const _0x2f3a7e=_0x465324;for(var _0x425964=_0x5466fe>0x1?void 0x0:_0x5466fe?_0x48ada4(_0x4b78a1,_0x5154db):_0x4b78a1,_0x1bdec6=_0x333329[_0x2f3a7e(0x223)]-0x1,_0x45e076;_0x1bdec6>=0x0;_0x1bdec6--)(_0x45e076=_0x333329[_0x1bdec6])&&(_0x425964=_0x45e076(_0x425964)||_0x425964);return _0x425964;},_0x2f4558=(_0x6460a5,_0x23f506)=>(_0x3bfbfd,_0x32fe89)=>_0x23f506(_0x3bfbfd,_0x32fe89,_0x6460a5);_0x17bc2c[_0x465324(0x2f3)]=class extends _0x50247b[_0x465324(0x1e1)]{constructor(_0x2dce11,_0x380963,_0x881a29,_0x5ad7f0){const _0x5a8eb7=_0x465324;super(),_0x2f0564(this,_0x5a8eb7(0x1c4),new _0x481311[(_0x5a8eb7(0x190))](_0x40916b[_0x5a8eb7(0x1b1)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0x2dce11,this[_0x5a8eb7(0xe8)]=_0x380963,this[_0x5a8eb7(0x188)]=_0x881a29,this['_uiPartsService']=_0x5ad7f0,this[_0x5a8eb7(0x25a)](),this[_0x5a8eb7(0xd3)]());}[_0x465324(0xd3)](){const _0x1be98f=_0x465324;this[_0x1be98f(0x148)](this[_0x1be98f(0x2c7)][_0x1be98f(0x2f9)][_0x1be98f(0x29b)](_0x481311['switchMap'](()=>{const _0x421b95=_0x1be98f,_0x44b0fb=this[_0x421b95(0x2c7)][_0x421b95(0x101)]();return _0x44b0fb?this[_0x421b95(0x188)][_0x421b95(0x241)](_0x44b0fb['getUnitId']()):_0x481311['of'](null);}),_0x481311[_0x1be98f(0x137)](_0x45e00a=>_0x45e00a?_0x45e00a[_0x1be98f(0x18f)]:_0x481311['of'](_0x40916b[_0x1be98f(0x1b1)][_0x1be98f(0x184)])))[_0x1be98f(0x1a4)](_0x1f21c5=>{const _0x5667f2=_0x1be98f;this[_0x5667f2(0x1c4)]['next'](_0x1f21c5);}));}[_0x465324(0x25a)](){const _0x5addb3=_0x465324;this[_0x5addb3(0x148)](this['_uiPartsService'][_0x5addb3(0x1ee)](_0x4d3b42[_0x5addb3(0x283)][_0x5addb3(0x258)],()=>_0x4d3b42[_0x5addb3(0x1d7)](_0x490961({'status$':this[_0x5addb3(0x1c4)][_0x5addb3(0x15d)]()}),this[_0x5addb3(0xe8)])));}},_0x17bc2c[_0x465324(0x2f3)]=_0x3a61e2([_0x2f4558(0x0,_0x50247b['IUniverInstanceService']),_0x2f4558(0x1,_0x50247b[_0x465324(0x15e)](_0x50247b[_0x465324(0x104)])),_0x2f4558(0x2,_0x50247b[_0x465324(0x15e)](_0x40916b[_0x465324(0x1ed)])),_0x2f4558(0x3,_0x4d3b42[_0x465324(0x1f6)])],_0x17bc2c[_0x465324(0x2f3)]);function _0x490961(_0x2f760c){const {status$:_0x17dbb4}=_0x2f760c;return function(){const _0x37da90=_0x4c50;return _0x190220[_0x37da90(0x25f)](_0xdf38a9,{'status$':_0x17dbb4});};}var _0x4fe6dd=Object[_0x465324(0x164)],_0x5bcad4=(_0x39debf,_0x12c353,_0x2fcd53,_0xc21501)=>{const _0xc2ed95=_0x465324;for(var _0x3fa5ed=_0xc21501>0x1?void 0x0:_0xc21501?_0x4fe6dd(_0x12c353,_0x2fcd53):_0x12c353,_0x2464bc=_0x39debf[_0xc2ed95(0x223)]-0x1,_0x379a1a;_0x2464bc>=0x0;_0x2464bc--)(_0x379a1a=_0x39debf[_0x2464bc])&&(_0x3fa5ed=_0x379a1a(_0x3fa5ed)||_0x3fa5ed);return _0x3fa5ed;},_0x586a62=(_0x4f7f76,_0x32ac3a)=>(_0x197dc6,_0x200ce0)=>_0x32ac3a(_0x197dc6,_0x200ce0,_0x4f7f76);let _0x1d3eff=class extends _0x50247b['Disposable']{constructor(_0x5c190c,_0x2edebc,_0x50dce9,_0x11bbed,_0xb9d0d7,_0x41b5d1){const _0x4bcbe3=_0x465324;super(),this['_beforeCloseService']=_0x5c190c,this[_0x4bcbe3(0x20a)]=_0x2edebc,this[_0x4bcbe3(0x1b3)]=_0x50dce9,this[_0x4bcbe3(0x160)]=_0x11bbed,this[_0x4bcbe3(0xea)]=_0xb9d0d7,this[_0x4bcbe3(0x208)]=_0x41b5d1,this[_0x4bcbe3(0x135)](),this[_0x4bcbe3(0x297)]();}['_setupBeforeClosingHandler'](){this['disposeWithMe'](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x781403=_0x4c50;if(this[_0x781403(0x20a)][_0x781403(0x265)][_0x781403(0xed)])return this[_0x781403(0x208)]['t'](_0x781403(0x24a));}));}[_0x465324(0x297)](){const _0x374458=_0x465324;this[_0x374458(0x148)](this[_0x374458(0x1b3)][_0x374458(0x24d)][_0x374458(0x1a4)](_0x3d9f12=>{const _0x4096b2=_0x374458;_0x3d9f12['id']===_0x40916b[_0x4096b2(0x110)][_0x4096b2(0x247)]&&this['_messageService']['show']({'type':_0x7c6d07[_0x4096b2(0xb5)]['Warning'],'content':this[_0x4096b2(0x208)]['t']('collaboration.single-unit.warning')}),_0x3d9f12['id']===_0x40916b['CollaborationUIEventId'][_0x4096b2(0x147)]&&this['_messageService'][_0x4096b2(0x197)]({'type':_0x7c6d07[_0x4096b2(0xb5)][_0x4096b2(0x286)],'content':this[_0x4096b2(0x208)]['t'](_0x4096b2(0x281))}),_0x3d9f12['id']===_0x40916b[_0x4096b2(0x110)][_0x4096b2(0x21c)]&&this[_0x4096b2(0xea)]['show']({'title':this['_localeService']['t'](_0x4096b2(0x105)),'content':this[_0x4096b2(0x208)]['t']('permission.content'),'type':_0x4096b2(0x301),'duration':0x0}),_0x3d9f12['id']===_0x40916b[_0x4096b2(0x110)][_0x4096b2(0x309)]&&this[_0x4096b2(0x160)][_0x4096b2(0x197)]({'type':_0x7c6d07['MessageType'][_0x4096b2(0x2c6)],'content':this['_localeService']['t'](_0x4096b2(0x281))+'('+_0x3d9f12[_0x4096b2(0x163)]+')'}),_0x3d9f12['id']===_0x40916b[_0x4096b2(0x110)]['JOIN_ROOM_FAILED']&&this['_messageService'][_0x4096b2(0x197)]({'type':_0x7c6d07[_0x4096b2(0xb5)][_0x4096b2(0x286)],'content':this[_0x4096b2(0x208)]['t'](_0x3d9f12[_0x4096b2(0x163)]||'')}),_0x3d9f12['id']===_0x40916b[_0x4096b2(0x110)][_0x4096b2(0x156)]&&this[_0x4096b2(0x160)][_0x4096b2(0x197)]({'type':_0x7c6d07['MessageType']['Warning'],'content':this[_0x4096b2(0x208)]['t'](_0x4096b2(0x2d7))}),_0x3d9f12['id']===_0x40916b['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x4096b2(0x160)][_0x4096b2(0x197)]({'type':_0x7c6d07[_0x4096b2(0xb5)][_0x4096b2(0x2c6)],'content':this[_0x4096b2(0x208)]['t'](_0x4096b2(0x2d9))}),_0x3d9f12['id']===_0x40916b['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x4096b2(0x160)][_0x4096b2(0x197)]({'type':_0x7c6d07[_0x4096b2(0xb5)][_0x4096b2(0x2c6)],'content':this[_0x4096b2(0x208)]['t']('session.collaboration-timeout')});}));}};_0x1d3eff=_0x5bcad4([_0x586a62(0x0,_0x4d3b42[_0x465324(0x178)]),_0x586a62(0x1,_0x40916b['ILocalCacheService']),_0x586a62(0x2,_0x50247b[_0x465324(0x15e)](_0x40916b[_0x465324(0xd0)])),_0x586a62(0x3,_0x4d3b42[_0x465324(0x2a7)]),_0x586a62(0x4,_0x4d3b42[_0x465324(0xad)]),_0x586a62(0x5,_0x50247b['Inject'](_0x50247b[_0x465324(0x14b)]))],_0x1d3eff);const _0xd3869c=_0x465324(0x271),_0x5264a2={},_0x5cc1ef=_0x50247b[_0x465324(0x212)](_0x465324(0x19a));var _0x4e603f=Object['getOwnPropertyDescriptor'],_0x4b3b91=(_0x399f41,_0x41367a,_0x5ea62c,_0xd07985)=>{for(var _0x4e7b2a=_0xd07985>0x1?void 0x0:_0xd07985?_0x4e603f(_0x41367a,_0x5ea62c):_0x41367a,_0x7c4e49=_0x399f41['length']-0x1,_0x2511f9;_0x7c4e49>=0x0;_0x7c4e49--)(_0x2511f9=_0x399f41[_0x7c4e49])&&(_0x4e7b2a=_0x2511f9(_0x4e7b2a)||_0x4e7b2a);return _0x4e7b2a;},_0x1bbfdf=(_0x2b77bb,_0x6b15e6)=>(_0x3a96ad,_0x14d9ff)=>_0x6b15e6(_0x3a96ad,_0x14d9ff,_0x2b77bb);_0x17bc2c[_0x465324(0x2fa)]=class extends _0x50247b[_0x465324(0x16f)]{constructor(_0x29cea1,_0x32f098,_0x3cbaff,_0x44401e,_0x42d2f9){const _0x572553=_0x465324;super(),this[_0x572553(0x12b)]=_0x29cea1,this[_0x572553(0x287)]=_0x32f098,this[_0x572553(0x1aa)]=_0x3cbaff,this[_0x572553(0x320)]=_0x44401e,_0x42d2f9?_0x42d2f9==null||_0x42d2f9[_0x572553(0x128)]()[_0x572553(0x2ec)](()=>this[_0x572553(0x256)]()):(this[_0x572553(0x287)][_0x572553(0x200)](_0x572553(0xc7),_0x572553(0x144)),this['_init']());}async[_0x465324(0x256)](){const _0x366f91=_0x465324,_0xb713d5=this[_0x366f91(0x12b)]['getParam'](_0x366f91(0xfa)),_0x5710cc=this['_urlService'][_0x366f91(0x275)](_0x366f91(0x177)),_0x18f597=this[_0x366f91(0x12b)][_0x366f91(0x275)]('subunit');if(!_0xb713d5||!_0x5710cc){this['_logService'][_0x366f91(0x200)](_0x366f91(0xc7),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x4733fb=await this[_0x366f91(0x320)][_0x366f91(0x328)](_0xb713d5,Number(_0x5710cc),_0x18f597);_0x4733fb&&_0x4733fb instanceof _0x50247b[_0x366f91(0x16c)]&&this['_setupSubUnitSync'](_0x4733fb);}async['_setupSubUnitSync'](_0x28e162){const _0x450c7e=_0x465324;await this['_updateSubUnitFromURLParams'](_0x28e162),_0x28e162[_0x450c7e(0x253)][_0x450c7e(0x29b)](_0x481311[_0x450c7e(0x14f)](this[_0x450c7e(0x312)]))['subscribe'](_0x449118=>{_0x449118&&this['_updateURLWithCurrentState'](_0x449118);}),this['_urlService']['urlChange$'][_0x450c7e(0x29b)](_0x481311[_0x450c7e(0x14f)](this[_0x450c7e(0x312)]))['subscribe'](()=>this[_0x450c7e(0xab)](_0x28e162));}['_updateURLWithCurrentState'](_0x40125e,_0x21bc7e=!0x1){const _0x40c5d4=_0x465324,_0x22beda=this['_urlService'][_0x40c5d4(0x275)](_0x40c5d4(0xff));_0x40125e['getSheetId']()!==_0x22beda&&this[_0x40c5d4(0x12b)]['setParam'](_0x40c5d4(0xff),_0x40125e[_0x40c5d4(0x97)](),_0x21bc7e);}async['_updateSubUnitFromURLParams'](_0x3beb34){const _0x15bca7=_0x465324;var _0x3c914d;const _0x364f17=this['_urlService'][_0x15bca7(0x275)](_0x15bca7(0xff));if(!_0x364f17||!_0x3beb34[_0x15bca7(0x2f2)](_0x364f17)){const _0x33e6af=_0x3beb34[_0x15bca7(0xcf)]()[0x0],_0x44b6b8=_0x3beb34[_0x15bca7(0x2f2)](_0x33e6af);if(!_0x44b6b8)return;this[_0x15bca7(0x1c2)](_0x44b6b8,!0x0),await this[_0x15bca7(0x1aa)][_0x15bca7(0x2ff)](_0x2db21a[_0x15bca7(0x2ed)]['id'],{'unitId':_0x3beb34['getUnitId'](),'subUnitId':_0x33e6af});return;}((_0x3c914d=_0x3beb34[_0x15bca7(0x16a)]())==null?void 0x0:_0x3c914d[_0x15bca7(0x97)]())!==_0x364f17&&await this[_0x15bca7(0x1aa)]['executeCommand'](_0x2db21a['SetWorksheetActivateCommand']['id'],{'unitId':_0x3beb34[_0x15bca7(0x324)](),'subUnitId':_0x364f17});}},_0x17bc2c[_0x465324(0x2fa)]=_0x4b3b91([_0x1bbfdf(0x0,_0x5cc1ef),_0x1bbfdf(0x1,_0x50247b[_0x465324(0xe4)]),_0x1bbfdf(0x2,_0x50247b['ICommandService']),_0x1bbfdf(0x3,_0x50247b[_0x465324(0x15e)](_0x40916b[_0x465324(0x2fc)])),_0x1bbfdf(0x4,_0x50247b['Optional'](_0x40e19a[_0x465324(0x162)]))],_0x17bc2c[_0x465324(0x2fa)]);var _0x3be9c9=Object['getOwnPropertyDescriptor'],_0x193981=(_0x541cd5,_0x5288eb,_0x47d8fb,_0x177ecf)=>{for(var _0x52d943=_0x177ecf>0x1?void 0x0:_0x177ecf?_0x3be9c9(_0x5288eb,_0x47d8fb):_0x5288eb,_0x1ead0f=_0x541cd5['length']-0x1,_0x5077c7;_0x1ead0f>=0x0;_0x1ead0f--)(_0x5077c7=_0x541cd5[_0x1ead0f])&&(_0x52d943=_0x5077c7(_0x52d943)||_0x52d943);return _0x52d943;},_0xdafbfd=(_0x54d66f,_0x50b445)=>(_0x455df8,_0x2035d9)=>_0x50b445(_0x455df8,_0x2035d9,_0x54d66f);let _0x5ad734=class{constructor(_0x2b9eea,_0x3d4ec0,_0x1e80c1){const _0x35ad43=_0x465324;this[_0x35ad43(0xe8)]=_0x2b9eea,this[_0x35ad43(0x20d)]=_0x3d4ec0,this[_0x35ad43(0x31b)]=_0x1e80c1;}['transformIMECache'](_0x1ad235){const _0x1a3c88=_0x465324;this['_transformUndoRedoStack'](_0x1ad235),this[_0x1a3c88(0x9b)](_0x1ad235);}[_0x465324(0xb7)](_0x3da29c){const _0x518855=_0x465324,{unitID:_0x527935}=_0x3da29c,_0x1d6691=this[_0x518855(0x31b)][_0x518855(0x323)](_0x527935)['with'](_0x2b2a5c['DocIMEInputManagerService']),{redoCache:_0x5c0b04}=_0x1d6691[_0x518855(0x1f0)]();if(_0x5c0b04[_0x518855(0x223)]===0x0)return _0x3da29c;let _0x2bb0b4=_0x50247b[_0x518855(0x1be)][_0x518855(0x270)](_0x3da29c[_0x518855(0x213)][0x0]);for(let _0x51780d=0x0;_0x51780d<_0x5c0b04['length'];_0x51780d++){const _0x448b13={'id':_0x518855(0x21e),'params':{..._0x5c0b04[_0x51780d]}},_0x1fd7e6=this[_0x518855(0x20d)][_0x518855(0xc2)](_0x2bb0b4,_0x448b13,!0x1);if(_0xaf0477[_0x518855(0x1a6)](_0x1fd7e6))throw _0x1fd7e6[_0x518855(0x301)];_0x2bb0b4=_0x1fd7e6['m1Prime'];}return{..._0x50247b['Tools'][_0x518855(0x270)](_0x3da29c),'mutations':[_0x2bb0b4]};}[_0x465324(0x125)](_0x493a93){const _0x310e0f=_0x465324,{unitID:_0x282be3}=_0x493a93,_0xb2c60c=this[_0x310e0f(0x31b)][_0x310e0f(0x323)](_0x282be3)['with'](_0x2b2a5c[_0x310e0f(0xd4)]),{undoCache:_0x2a1efb,redoCache:_0x132ea0}=_0xb2c60c['getUndoRedoMutationParamsCache']();if(_0x2a1efb[_0x310e0f(0x223)]===0x0||_0x132ea0[_0x310e0f(0x223)]===0x0)return;const _0x1ed0df=[],_0x5d0d2e=[];let _0x158640=_0x50247b[_0x310e0f(0x1be)]['deepClone'](_0x493a93[_0x310e0f(0x213)][0x0]),_0x1831c1=_0x50247b[_0x310e0f(0x1be)][_0x310e0f(0x270)](_0x493a93[_0x310e0f(0x213)][0x0]);for(let _0x2dfe22=_0x2a1efb[_0x310e0f(0x223)]-0x1;_0x2dfe22>=0x0;_0x2dfe22--){const _0x31273e={'id':_0x310e0f(0x21e),'params':{..._0x2a1efb[_0x2dfe22]}},_0x4d9501={'id':_0x310e0f(0x21e),'params':{..._0x132ea0[_0x2dfe22]}},_0xf732a=this[_0x310e0f(0x20d)][_0x310e0f(0xc2)](_0x158640,_0x31273e,!0x1),_0x4a4274=this[_0x310e0f(0x20d)][_0x310e0f(0xc2)](_0x1831c1,_0x4d9501,!0x1);if(_0xaf0477['isTransformMutationFailure'](_0xf732a))throw _0xf732a[_0x310e0f(0x301)];if(_0xaf0477[_0x310e0f(0x1a6)](_0x4a4274))throw _0x4a4274[_0x310e0f(0x301)];_0x1ed0df['unshift'](_0xf732a[_0x310e0f(0x1e8)][_0x310e0f(0x176)]),_0x5d0d2e[_0x310e0f(0x310)](_0x4a4274['m2Prime'][_0x310e0f(0x176)]),_0x158640=_0xf732a[_0x310e0f(0xf7)],_0x1831c1=_0x4a4274['m1Prime'];}_0xb2c60c[_0x310e0f(0x23d)]({'undoCache':_0x1ed0df,'redoCache':_0x5d0d2e});}['_transformPreviousActiveRange'](_0x17b756){const _0x151dac=_0x465324,{unitID:_0x3a3cdb}=_0x17b756,_0x311399=this[_0x151dac(0x31b)]['getRenderById'](_0x3a3cdb)['with'](_0x2b2a5c['DocIMEInputManagerService']),_0x3df7e6=_0x311399['getActiveRange']();if(_0x3df7e6==null)return;const _0x489609=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x17b756[_0x151dac(0x1a3)],'actions':null,'textRanges':[_0x3df7e6]}}],_0x252e59=this['_transformService'][_0x151dac(0x31a)](_0x17b756,_0x489609);if(!_0xaf0477[_0x151dac(0xa9)](_0x252e59))throw _0x252e59[_0x151dac(0x301)];const _0x347df8=_0x252e59['m2Prime'][0x0][_0x151dac(0x176)][_0x151dac(0x1f1)];Array[_0x151dac(0xf4)](_0x347df8)&&_0x347df8[_0x151dac(0x223)]&&_0x311399['setActiveRange'](_0x347df8[0x0]);}};_0x5ad734=_0x193981([_0xdafbfd(0x0,_0x50247b[_0x465324(0x15e)](_0x50247b['Injector'])),_0xdafbfd(0x1,_0xaf0477[_0x465324(0x30e)]),_0xdafbfd(0x2,_0x24e38c['IRenderManagerService'])],_0x5ad734);var _0xcb755b=Object[_0x465324(0x164)],_0x303e3f=(_0x192a2f,_0x2619e8,_0x44a37a,_0x466e45)=>{for(var _0x414984=_0x466e45>0x1?void 0x0:_0x466e45?_0xcb755b(_0x2619e8,_0x44a37a):_0x2619e8,_0x570234=_0x192a2f['length']-0x1,_0x278044;_0x570234>=0x0;_0x570234--)(_0x278044=_0x192a2f[_0x570234])&&(_0x414984=_0x278044(_0x414984)||_0x414984);return _0x414984;},_0x4693d4=(_0x162911,_0x28fd94)=>(_0x195fb8,_0x4302c6)=>_0x28fd94(_0x195fb8,_0x4302c6,_0x162911);let _0x2030ac=class{constructor(_0x3f35a8,_0x3a1ae4,_0x5b2b7c){const _0x301fe8=_0x465324;this[_0x301fe8(0xe8)]=_0x3f35a8,this[_0x301fe8(0x20d)]=_0x3a1ae4,this[_0x301fe8(0x29d)]=_0x5b2b7c;}[_0x465324(0x142)](_0x2d6010){this['_transformHistoryAndStateStack'](_0x2d6010);}['transformRemoteChangeset'](_0x50c9c1){const _0x2fee4d=_0x465324,{unitID:_0x2f412e}=_0x50c9c1,{collaboration:_0x2f8bfd}=this[_0x2fee4d(0x29d)][_0x2fee4d(0x159)](_0x2f412e);if(_0x2f8bfd[_0x2fee4d(0x223)]===0x0)return _0x50c9c1;let _0x21174e=_0x50247b[_0x2fee4d(0x1be)][_0x2fee4d(0x270)](_0x50c9c1[_0x2fee4d(0x213)][0x0]);for(let _0x107fd=0x0;_0x107fd<_0x2f8bfd[_0x2fee4d(0x223)];_0x107fd++){const _0x5ea303={'id':_0x2fee4d(0x21e),'params':{'unitId':_0x2f8bfd[_0x107fd][_0x2fee4d(0x107)],..._0x2f8bfd[_0x107fd][_0x2fee4d(0x260)]}},_0x4eee03=this['_transformService'][_0x2fee4d(0xc2)](_0x21174e,_0x5ea303,!0x1);if(_0xaf0477['isTransformMutationFailure'](_0x4eee03))throw _0x4eee03[_0x2fee4d(0x301)];_0x21174e=_0x4eee03[_0x2fee4d(0xf7)];}return{..._0x50247b[_0x2fee4d(0x1be)][_0x2fee4d(0x270)](_0x50c9c1),'mutations':[_0x21174e]};}[_0x465324(0x2d6)](_0x34decb){const _0x4418fb=_0x465324,{unitID:_0xe06a51}=_0x34decb,{history:_0x5c087f,collaboration:_0x52d82c}=this[_0x4418fb(0x29d)][_0x4418fb(0x159)](_0xe06a51);if(_0x5c087f[_0x4418fb(0x223)]===0x0&&_0x52d82c[_0x4418fb(0x223)]===0x0)return;const _0xcdbdd9=[],_0x561300=[];let _0x287ae3=_0x50247b['Tools'][_0x4418fb(0x270)](_0x34decb[_0x4418fb(0x213)][0x0]),_0x10d66b=_0x50247b[_0x4418fb(0x1be)]['deepClone'](_0x34decb['mutations'][0x0]);for(let _0x369824=_0x5c087f[_0x4418fb(0x223)]-0x1;_0x369824>=0x0;_0x369824--){const _0x329b12={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5c087f[_0x369824]['unitId'],..._0x5c087f[_0x369824]['undoState']}},_0x412337={'id':_0x4418fb(0x21e),'params':{'unitId':_0x5c087f[_0x369824]['unitId'],..._0x5c087f[_0x369824][_0x4418fb(0x260)]}},_0x3a4021=this['_transformService'][_0x4418fb(0xc2)](_0x287ae3,_0x329b12,!0x1),_0x1fad11=this[_0x4418fb(0x20d)][_0x4418fb(0xc2)](_0x10d66b,_0x412337,!0x1);if(_0xaf0477['isTransformMutationFailure'](_0x3a4021))throw _0x3a4021[_0x4418fb(0x301)];if(_0xaf0477[_0x4418fb(0x1a6)](_0x1fad11))throw _0x1fad11[_0x4418fb(0x301)];_0xcdbdd9['unshift']({..._0x5c087f[_0x369824],'undoState':_0x3a4021['m2Prime'][_0x4418fb(0x176)],'redoState':_0x1fad11['m2Prime'][_0x4418fb(0x176)]}),_0x287ae3=_0x3a4021[_0x4418fb(0xf7)],_0x10d66b=_0x1fad11[_0x4418fb(0xf7)];}_0x287ae3=_0x50247b[_0x4418fb(0x1be)][_0x4418fb(0x270)](_0x34decb['mutations'][0x0]),_0x10d66b=_0x50247b[_0x4418fb(0x1be)][_0x4418fb(0x270)](_0x34decb[_0x4418fb(0x213)][0x0]);for(let _0x3565ec=_0x52d82c[_0x4418fb(0x223)]-0x1;_0x3565ec>=0x0;_0x3565ec--){const _0xd856a4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x52d82c[_0x3565ec][_0x4418fb(0x107)],..._0x52d82c[_0x3565ec]['undoState']}},_0x4d89df={'id':_0x4418fb(0x21e),'params':{'unitId':_0x52d82c[_0x3565ec][_0x4418fb(0x107)],..._0x52d82c[_0x3565ec]['redoState']}},_0x5c391f=this['_transformService']['transformMutation'](_0x287ae3,_0xd856a4,!0x1),_0x4e9dc9=this[_0x4418fb(0x20d)][_0x4418fb(0xc2)](_0x10d66b,_0x4d89df,!0x1);if(_0xaf0477[_0x4418fb(0x1a6)](_0x5c391f))throw _0x5c391f[_0x4418fb(0x301)];if(_0xaf0477[_0x4418fb(0x1a6)](_0x4e9dc9))throw _0x4e9dc9[_0x4418fb(0x301)];_0x561300[_0x4418fb(0x310)]({..._0x52d82c[_0x3565ec],'undoState':_0x5c391f['m2Prime'][_0x4418fb(0x176)],'redoState':_0x4e9dc9[_0x4418fb(0x1e8)][_0x4418fb(0x176)]}),_0x287ae3=_0x5c391f[_0x4418fb(0xf7)],_0x10d66b=_0x4e9dc9['m1Prime'];}this[_0x4418fb(0x29d)]['setStateCache'](_0xe06a51,{'history':_0xcdbdd9,'collaboration':_0x561300});}};_0x2030ac=_0x303e3f([_0x4693d4(0x0,_0x50247b['Inject'](_0x50247b[_0x465324(0x104)])),_0x4693d4(0x1,_0xaf0477[_0x465324(0x30e)]),_0x4693d4(0x2,_0x50247b[_0x465324(0x15e)](_0x2b2a5c[_0x465324(0x186)]))],_0x2030ac);var _0x30efee=Object[_0x465324(0x164)],_0x19dc28=(_0x930b1e,_0x3f942e,_0x22f29c,_0x4ebd5f)=>{const _0xdafbb0=_0x465324;for(var _0x8d2d38=_0x4ebd5f>0x1?void 0x0:_0x4ebd5f?_0x30efee(_0x3f942e,_0x22f29c):_0x3f942e,_0x5b759b=_0x930b1e[_0xdafbb0(0x223)]-0x1,_0x69a172;_0x5b759b>=0x0;_0x5b759b--)(_0x69a172=_0x930b1e[_0x5b759b])&&(_0x8d2d38=_0x69a172(_0x8d2d38)||_0x8d2d38);return _0x8d2d38;},_0x3f87b8=(_0x35ce0f,_0x34a9b3)=>(_0x1b3d56,_0x11abfe)=>_0x34a9b3(_0x1b3d56,_0x11abfe,_0x35ce0f);let _0x262500=class{constructor(_0x27decf,_0x24b6a0){const _0x572aba=_0x465324;this[_0x572aba(0xe8)]=_0x27decf,this[_0x572aba(0x20d)]=_0x24b6a0;}[_0x465324(0x27a)](_0x4e368d){const _0x17df57=_0x465324;var _0x4988b6;const _0x1bdc92=this[_0x17df57(0xe8)][_0x17df57(0x2d8)](_0x2136d0[_0x17df57(0x248)]),_0x2a4502=(_0x4988b6=_0x1bdc92[_0x17df57(0x17f)]())!=null?_0x4988b6:[];if(_0x2a4502['length']===0x0)return;const _0x417546=_0x4e368d[_0x17df57(0x1a3)],_0x49347f=[{'id':_0x17df57(0x21e),'params':{'unitId':_0x417546,'actions':null,'textRanges':_0x2a4502}}],_0x5a30a3=this[_0x17df57(0x20d)][_0x17df57(0x31a)](_0x4e368d,_0x49347f);if(!_0xaf0477[_0x17df57(0xa9)](_0x5a30a3))throw _0x5a30a3[_0x17df57(0x301)];const _0x3461b1=_0x5a30a3['m2Prime'][0x0][_0x17df57(0x176)]['textRanges'];Array['isArray'](_0x3461b1)&&_0x3461b1[_0x17df57(0x223)]&&_0x1bdc92[_0x17df57(0x1ce)](_0x3461b1,{'unitId':_0x417546,'subUnitId':_0x417546},!0x1);}};_0x262500=_0x19dc28([_0x3f87b8(0x0,_0x50247b['Inject'](_0x50247b[_0x465324(0x104)])),_0x3f87b8(0x1,_0xaf0477['ITransformService'])],_0x262500);var _0x58be09=Object['getOwnPropertyDescriptor'],_0x53386d=(_0xef565e,_0x36c0fb,_0x26607c,_0x30d843)=>{const _0x33f591=_0x465324;for(var _0x25bba3=_0x30d843>0x1?void 0x0:_0x30d843?_0x58be09(_0x36c0fb,_0x26607c):_0x36c0fb,_0x6ca619=_0xef565e[_0x33f591(0x223)]-0x1,_0xd12c37;_0x6ca619>=0x0;_0x6ca619--)(_0xd12c37=_0xef565e[_0x6ca619])&&(_0x25bba3=_0xd12c37(_0x25bba3)||_0x25bba3);return _0x25bba3;},_0xe976b=(_0x5f2d7c,_0x13e2a2)=>(_0x34f861,_0x2fca49)=>_0x13e2a2(_0x34f861,_0x2fca49,_0x5f2d7c);let _0x31a3d6=class extends _0x50247b[_0x465324(0x1e1)]{constructor(_0x538fc1,_0x50b21e,_0x1f9f13,_0x30853e,_0x56ad54,_0x5ee54b,_0x323534,_0x15c33e){const _0x45b7f7=_0x465324;super(),_0x2f0564(this,_0x45b7f7(0x1c4),new _0x481311['BehaviorSubject'](_0x40916b['CollaborationStatus'][_0x45b7f7(0x184)])),(this['_docStateChangeManagerService']=_0x538fc1,this['_collaborationController']=_0x50b21e,this[_0x45b7f7(0x118)]=_0x1f9f13,this[_0x45b7f7(0x1ba)]=_0x30853e,this[_0x45b7f7(0xce)]=_0x56ad54,this[_0x45b7f7(0x2a2)]=_0x5ee54b,this['_messageService']=_0x323534,this[_0x45b7f7(0x208)]=_0x15c33e,this[_0x45b7f7(0x2ee)]());}['_initEntityListener'](){const _0xc4bf01=_0x465324;this[_0xc4bf01(0x148)](this[_0xc4bf01(0x188)][_0xc4bf01(0x1d8)][_0xc4bf01(0x1a4)](_0x553bd3=>{const _0x39a149=_0xc4bf01,_0x3298f4=this[_0x39a149(0x29d)][_0x39a149(0x30b)][_0x39a149(0x1a4)](_0xa03453=>{const _0x547513=_0x39a149;if(_0xa03453==null)return;const {unitId:_0xdcd809,redoState:_0x1ac1c3,commandId:_0x1abdbf}=_0xa03453;if(_0xdcd809!==_0x553bd3[_0x547513(0x1a3)])return;const _0x221cca={'id':_0x1abdbf,'type':_0x50247b[_0x547513(0x22d)][_0x547513(0x307)],'params':{'unitId':_0xdcd809,'actions':_0x1ac1c3['actions'],'textRanges':null}};_0x553bd3[_0x547513(0xa5)](_0x221cca);});if(_0x553bd3[_0x39a149(0x148)](_0x3298f4),_0x553bd3 instanceof _0x40916b[_0x39a149(0x2ea)]){const _0x1c740f={'onTransformIME':_0x81dabf=>this[_0x39a149(0x118)]['transformIMECache'](_0x81dabf),'onTransformState':_0x5e716c=>this['_docTransformStateCacheService'][_0x39a149(0x142)](_0x5e716c),'onTransformSelections':_0xacc144=>this['_docTransformSelectionsService'][_0x39a149(0x27a)](_0xacc144),'onSyncEditingCollabCursor':_0x377d71=>this[_0x39a149(0x2a2)][_0x39a149(0x1d3)](_0x377d71),'onTransformRemoteChangesetByIMECache':_0x30ca78=>this[_0x39a149(0x118)][_0x39a149(0xb7)](_0x30ca78),'onTransformRemoteChangesetByStateCache':_0x131bec=>this['_docTransformStateCacheService'][_0x39a149(0xb7)](_0x131bec)};_0x553bd3['addHandlerCallback'](_0x1c740f);}}));}};_0x31a3d6=_0x53386d([_0xe976b(0x0,_0x50247b[_0x465324(0x15e)](_0x2b2a5c[_0x465324(0x186)])),_0xe976b(0x1,_0x50247b[_0x465324(0x15e)](_0x40916b[_0x465324(0x1ed)])),_0xe976b(0x2,_0x50247b[_0x465324(0x15e)](_0x5ad734)),_0xe976b(0x3,_0x50247b[_0x465324(0x15e)](_0x2030ac)),_0xe976b(0x4,_0x50247b['Inject'](_0x262500)),_0xe976b(0x5,_0x50247b[_0x465324(0x15e)](_0x100092)),_0xe976b(0x6,_0x4d3b42['IMessageService']),_0xe976b(0x7,_0x50247b[_0x465324(0x15e)](_0x50247b[_0x465324(0x14b)]))],_0x31a3d6);var _0x5a5819=Object[_0x465324(0x164)],_0x21fb78=(_0x319c21,_0x553ed6,_0x5c6951,_0x1cbf03)=>{const _0x5f5a7b=_0x465324;for(var _0x5686fd=_0x1cbf03>0x1?void 0x0:_0x1cbf03?_0x5a5819(_0x553ed6,_0x5c6951):_0x553ed6,_0x11192c=_0x319c21[_0x5f5a7b(0x223)]-0x1,_0x45cca8;_0x11192c>=0x0;_0x11192c--)(_0x45cca8=_0x319c21[_0x11192c])&&(_0x5686fd=_0x45cca8(_0x5686fd)||_0x5686fd);return _0x5686fd;},_0x5b9844=(_0x17663d,_0x4be951)=>(_0xdfa445,_0x40be90)=>_0x4be951(_0xdfa445,_0x40be90,_0x17663d);let _0x37dc1e=class extends _0x50247b[_0x465324(0x1e1)]{constructor(_0x23b44a,_0x2f0b58,_0x131ff1){const _0x2fbe59=_0x465324;super(),_0x2f0564(this,_0x2fbe59(0x138),new Map()),_0x2f0564(this,_0x2fbe59(0x217),new Map()),_0x2f0564(this,_0x2fbe59(0x20f),!0x1),(this[_0x2fbe59(0x1d9)]=_0x23b44a,this[_0x2fbe59(0x24b)]=_0x2f0b58,this['_revisionService']=_0x131ff1);}[_0x465324(0x1a1)](){const _0xf24351=_0x465324;this[_0xf24351(0x20f)]=!0x0;}[_0x465324(0x242)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x511850=_0x465324;return this[_0x511850(0x217)];}['dispose'](){const _0x2cd36d=_0x465324;this[_0x2cd36d(0x1ac)]()['then'](()=>super['dispose']());}async[_0x465324(0x14c)](_0x216105){const _0x5313e0=_0x465324;return this[_0x5313e0(0x20f)]?null:this['_localStorageService'][_0x5313e0(0x108)](_0x40916b[_0x5313e0(0x2a9)](_0x216105));}async[_0x465324(0x13d)](_0xe373f0,_0x58bd3e){return!!this['_localStorageService']['setItem'](_0xe373f0,_0x58bd3e);}[_0x465324(0x2ef)](_0x687fef,_0x3c01c5,_0x56ac55,_0x1e5af2){const _0x5e54ec=_0x465324,_0x48ef4a=this['_revisionService'][_0x5e54ec(0xc8)](_0x687fef);this['_cachedData']['set'](_0x687fef,{'unitID':_0x687fef,'type':_0x3c01c5,'awaitingChangeset':_0x56ac55,'mutations':_0x1e5af2,'rev':_0x48ef4a}),this[_0x5e54ec(0x217)]['has'](_0x687fef)||this['_scheduleSaving'](_0x687fef);}[_0x465324(0x199)](_0x6520f3){const _0x3c3037=_0x465324,_0x3dbd75=this['_getSaveTimeout']();_0x3dbd75===0x0?this[_0x3c3037(0x1de)](_0x6520f3):this[_0x3c3037(0x217)]['set'](_0x6520f3,setTimeout(()=>this[_0x3c3037(0x1de)](_0x6520f3),_0x3dbd75));}[_0x465324(0x194)](){const _0x3406cd=_0x465324;var _0x2677f5;return(_0x2677f5=this[_0x3406cd(0x1d9)][_0x3406cd(0x1db)](_0x40916b[_0x3406cd(0x296)]))!=null?_0x2677f5:_0x40916b[_0x3406cd(0x1fe)];}[_0x465324(0x1de)](_0xd35d6e){const _0x5ac2d4=_0x465324,_0x4fb6ef=this['_saveTaskMap']['get'](_0xd35d6e);return _0x4fb6ef!==void 0x0&&window[_0x5ac2d4(0x300)](_0x4fb6ef),this[_0x5ac2d4(0x24b)]['setItem'](_0x40916b[_0x5ac2d4(0x2a9)](_0xd35d6e),this['_cachedData'][_0x5ac2d4(0x2d8)](_0xd35d6e))[_0x5ac2d4(0x2ec)](()=>this[_0x5ac2d4(0x217)][_0x5ac2d4(0x2bf)](_0xd35d6e));}async['exhaustSavingTask'](){const _0x380a75=_0x465324,_0x3b053b=[];this[_0x380a75(0x217)]['forEach']((_0x53307a,_0x570025)=>{const _0x4b15b1=_0x380a75;window[_0x4b15b1(0x300)](_0x53307a),_0x3b053b[_0x4b15b1(0xc3)](this['_saveCache'](_0x570025)[_0x4b15b1(0x2ec)](()=>{const _0x2694ab=_0x4b15b1;this[_0x2694ab(0x217)][_0x2694ab(0x2bf)](_0x570025);}));}),await Promise[_0x380a75(0x98)](_0x3b053b);}};_0x37dc1e=_0x21fb78([_0x5b9844(0x0,_0x50247b[_0x465324(0x2d5)]),_0x5b9844(0x1,_0x50247b[_0x465324(0x2db)]),_0x5b9844(0x2,_0x50247b['Inject'](_0xaf0477['RevisionService']))],_0x37dc1e);class _0x18d761 extends _0x50247b[_0x465324(0x16f)]{constructor(){const _0xf5b155=_0x465324;super(),_0x2f0564(this,_0xf5b155(0xe2)),this['urlChange$']=_0x481311[_0xf5b155(0x31d)](window,'popstate')[_0xf5b155(0x29b)](_0x481311[_0xf5b155(0x14f)](this[_0xf5b155(0x312)]),_0x481311['shareReplay'](0x1),_0x481311[_0xf5b155(0x145)](void 0x0));}[_0x465324(0x169)](_0x136156,_0x16feae,_0x32f514=!0x1){const _0x5d8bdb=_0x465324,_0x19c8a6=new URL(window[_0x5d8bdb(0x13b)]['href']);_0x19c8a6[_0x5d8bdb(0x11d)][_0x5d8bdb(0x154)](_0x136156,_0x16feae),_0x32f514?window[_0x5d8bdb(0x222)]['replaceState']('','',_0x19c8a6[_0x5d8bdb(0x255)]()):window[_0x5d8bdb(0x222)][_0x5d8bdb(0x28c)]('','',_0x19c8a6['toString']());}['removeParam'](_0x436da8,_0x4efc61=!0x1){const _0x50ad4d=_0x465324,_0x404e71=new URL(window[_0x50ad4d(0x13b)][_0x50ad4d(0x1d4)]);_0x404e71[_0x50ad4d(0x11d)][_0x50ad4d(0x2bf)](_0x436da8),_0x4efc61?window[_0x50ad4d(0x222)][_0x50ad4d(0xbf)]('','',_0x404e71['toString']()):window['history'][_0x50ad4d(0x28c)]('','',_0x404e71[_0x50ad4d(0x255)]());}[_0x465324(0x275)](_0x39f0a1){const _0x4dc4fe=_0x465324;var _0x303972;return(_0x303972=new URL(window[_0x4dc4fe(0x13b)][_0x4dc4fe(0x1d4)])['searchParams'][_0x4dc4fe(0x2d8)](_0x39f0a1))!=null?_0x303972:void 0x0;}}var _0x1b64c7=Object['defineProperty'],_0x1ed1d3=Object[_0x465324(0x164)],_0xa50f71=(_0x1416c9,_0x48b7e8,_0x2272d0)=>_0x48b7e8 in _0x1416c9?_0x1b64c7(_0x1416c9,_0x48b7e8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2272d0}):_0x1416c9[_0x48b7e8]=_0x2272d0,_0x29e0cb=(_0x477e40,_0x55a818,_0x174143,_0x3a747b)=>{const _0x45df9c=_0x465324;for(var _0x383bb6=_0x3a747b>0x1?void 0x0:_0x3a747b?_0x1ed1d3(_0x55a818,_0x174143):_0x55a818,_0x1c64d7=_0x477e40[_0x45df9c(0x223)]-0x1,_0x1af2e1;_0x1c64d7>=0x0;_0x1c64d7--)(_0x1af2e1=_0x477e40[_0x1c64d7])&&(_0x383bb6=_0x1af2e1(_0x383bb6)||_0x383bb6);return _0x383bb6;},_0x3c5565=(_0x34dcc7,_0x46213a)=>(_0x245da9,_0x597200)=>_0x46213a(_0x245da9,_0x597200,_0x34dcc7),_0x1f057a=(_0x33ee08,_0x20487f,_0x3d8c4e)=>_0xa50f71(_0x33ee08,_0x20487f+'',_0x3d8c4e);const _0x472ff9='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x17bc2c[_0x465324(0x18a)]=class extends _0x50247b[_0x465324(0xe9)]{constructor(_0x507cd1=_0x5264a2,_0x318bdc,_0x2c70a6,_0xf45b13){const _0x498d49=_0x465324;super(),this['_config']=_0x507cd1,this['_renderManagerService']=_0x318bdc,this[_0x498d49(0xe8)]=_0x2c70a6,this['_configService']=_0xf45b13;const {..._0x5f2420}=_0x50247b[_0x498d49(0x2be)]({},_0x5264a2,this[_0x498d49(0x2c0)]);this['_configService']['setConfig'](_0xd3869c,_0x5f2420);}['onStarting'](){const _0x222003=_0x465324;this[_0x222003(0xf6)](),this['_initDependencies']();}[_0x465324(0x15c)](){const _0x1e4a6f=_0x465324;this[_0x1e4a6f(0x1b2)]();}[_0x465324(0xf6)](){const _0x12b407=_0x465324;var _0x45085a;const _0x3ff508=[[_0x20e9cb],[_0x262500],[_0x5ad734],[_0x2030ac],[_0x100092],[_0x5cc1ef,{'useClass':_0x18d761}],[_0x4c764b[_0x12b407(0x21d)],{'useClass':_0x4c764b['WebSocketService']}],[_0x40916b[_0x12b407(0x1e6)],{'useClass':_0x37dc1e}],[_0x17bc2c['DesktopCollaborationStatusDisplayController']],[_0x31a3d6],[_0x1d3eff],[_0x565865],[_0xd53509],[_0x17bc2c[_0x12b407(0x2fa)]]];_0x50247b[_0x12b407(0x2b2)](this[_0x12b407(0xe8)],_0x50247b['mergeOverrideWithDependencies'](_0x3ff508,(_0x45085a=this['_config'])==null?void 0x0:_0x45085a[_0x12b407(0x1ae)]));}[_0x465324(0x1b2)](){const _0x6e288a=_0x465324;this[_0x6e288a(0x148)](this[_0x6e288a(0x31b)][_0x6e288a(0x10b)](_0x50247b[_0x6e288a(0x319)][_0x6e288a(0x18b)],[_0x8254e1])),this['disposeWithMe'](this[_0x6e288a(0x31b)][_0x6e288a(0x10b)](_0x50247b[_0x6e288a(0x319)][_0x6e288a(0xdb)],[_0x250f25]));}['_initDependencies'](){const _0x53300e=_0x465324;_0x50247b[_0x53300e(0x276)](this[_0x53300e(0xe8)],[[_0x565865],[_0x17bc2c[_0x53300e(0x2f3)]],[_0x31a3d6],[_0x1d3eff],[_0x17bc2c[_0x53300e(0x2fa)]]]);}},_0x1f057a(_0x17bc2c[_0x465324(0x18a)],_0x465324(0x314),_0x472ff9),_0x17bc2c[_0x465324(0x18a)]=_0x29e0cb([_0x50247b['DependentOn'](_0x40916b[_0x465324(0x1f2)]),_0x3c5565(0x1,_0x24e38c[_0x465324(0x203)]),_0x3c5565(0x2,_0x50247b[_0x465324(0x15e)](_0x50247b[_0x465324(0x104)])),_0x3c5565(0x3,_0x50247b[_0x465324(0x2d5)])],_0x17bc2c[_0x465324(0x18a)]);var _0x42ca13=Object[_0x465324(0x164)],_0x118c04=(_0x299124,_0x2208e9,_0x18e7c4,_0x1e05a3)=>{const _0x2af557=_0x465324;for(var _0x5c3eaa=_0x1e05a3>0x1?void 0x0:_0x1e05a3?_0x42ca13(_0x2208e9,_0x18e7c4):_0x2208e9,_0x2e4184=_0x299124[_0x2af557(0x223)]-0x1,_0x329790;_0x2e4184>=0x0;_0x2e4184--)(_0x329790=_0x299124[_0x2e4184])&&(_0x5c3eaa=_0x329790(_0x5c3eaa)||_0x5c3eaa);return _0x5c3eaa;},_0x16e65a=(_0x206b13,_0x54a6a5)=>(_0x5b5661,_0x1c0ec1)=>_0x54a6a5(_0x5b5661,_0x1c0ec1,_0x206b13);_0x17bc2c[_0x465324(0x26d)]=class extends _0x40916b[_0x465324(0x1b0)]{constructor(_0x34116d,_0x58ad0b,_0x12d087,_0x4dce0c,_0xf16382){super(_0x34116d,_0x58ad0b,_0x12d087,_0x4dce0c,_0xf16382);}async['createSocket'](_0x193ecb){const _0x1c8ea1=_0x465324,_0x290004=await this[_0x1c8ea1(0x2cd)](),_0x28a62a=this['_createSocketURL'](_0x193ecb,_0x290004);return this[_0x1c8ea1(0x1b6)](_0x28a62a);}[_0x465324(0x179)](_0xe2040b,_0x5c2ce2){const _0x5b062e=_0x465324,_0xf234b0=typeof window>'u'?new URL(_0xe2040b):new URL(_0xe2040b,window[_0x5b062e(0x13b)][_0x5b062e(0x292)]);_0xf234b0[_0x5b062e(0x11d)][_0x5b062e(0x154)](_0x5b062e(0x1e3),_0x5c2ce2);const _0x29502f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x5b062e(0x1e2)]);return _0x29502f['get'](_0x5b062e(0x254))&&_0xf234b0['searchParams'][_0x5b062e(0x154)]('runId',_0x29502f['get'](_0x5b062e(0x254))),_0xf234b0[_0x5b062e(0x255)]();}async[_0x465324(0x2cd)](){const _0x12d76e=_0x465324;var _0x5bb32d,_0x1a5bac,_0x4c1d38;const _0xd8b336=this[_0x12d76e(0x1d9)]['getConfig'](_0x40916b[_0x12d76e(0x230)]),_0x3edd90=(_0x5bb32d=_0xd8b336==null?void 0x0:_0xd8b336[_0x12d76e(0x30d)])!=null?_0x5bb32d:_0x40916b[_0x12d76e(0x1dc)];return(_0x4c1d38=(_0x1a5bac=(await this['_httpService']['get'](_0x3edd90,{'headers':{'Content-Type':_0x12d76e(0xb1)}}))['body'])==null?void 0x0:_0x1a5bac[_0x12d76e(0x2ae)])!=null?_0x4c1d38:'';}},_0x17bc2c[_0x465324(0x26d)]=_0x118c04([_0x16e65a(0x0,_0x50247b['Inject'](_0x50247b['Injector'])),_0x16e65a(0x1,_0x50247b[_0x465324(0x15e)](_0x4c764b['HTTPService'])),_0x16e65a(0x2,_0x50247b[_0x465324(0x2d5)]),_0x16e65a(0x3,_0x50247b['ILogService']),_0x16e65a(0x4,_0xaf0477[_0x465324(0xd5)])],_0x17bc2c[_0x465324(0x26d)]);const _0x5a96a0=0x7530,_0x88df09=_0x465324(0x11c);class _0x3d768f extends _0x50247b[_0x465324(0x1e1)]{constructor(){const _0x234572=_0x465324;super(),_0x2f0564(this,_0x234572(0x2df),_0x50247b['generateRandomId']()),_0x2f0564(this,'_selfUnitIDs',new Set()),_0x2f0564(this,_0x234572(0x304),new Map()),_0x2f0564(this,_0x234572(0x1fd),null),_0x2f0564(this,'_clearOtherTimers',new Map()),_0x2f0564(this,'_unitStatus',new Map()),this[_0x234572(0x256)]();}[_0x465324(0xc1)](){const _0x1d74d9=_0x465324;super['dispose'](),this[_0x1d74d9(0x240)][_0x1d74d9(0x134)]((_0x22138f,_0xadff4d)=>this[_0x1d74d9(0x2e9)](_0xadff4d)),this['_heartbeatTimer']&&window[_0x1d74d9(0x229)](this[_0x1d74d9(0x1fd)]);}[_0x465324(0x196)](_0x27b349){const _0x3276c6=_0x465324;return this['_ensureSubject'](_0x27b349)[_0x3276c6(0x29b)](_0x481311[_0x3276c6(0x13f)]());}[_0x465324(0x23a)](_0x268be6){const _0x4b22cf=_0x465324;this['_selfUnitIDs'][_0x4b22cf(0xed)]===0x0&&this[_0x4b22cf(0x1e5)](),this[_0x4b22cf(0x232)][_0x4b22cf(0x246)](_0x268be6),this[_0x4b22cf(0x2e4)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x268be6],'isForwarded':!0x1});}[_0x465324(0x205)](_0x33c69){const _0x2b1d79=_0x465324;this['_selfUnitIDs'][_0x2b1d79(0x2bf)](_0x33c69),this['_selfUnitIDs'][_0x2b1d79(0xed)]===0x0&&this[_0x2b1d79(0x1fd)]&&window[_0x2b1d79(0x229)](this['_heartbeatTimer']);}[_0x465324(0x256)](){const _0x43f6a7=_0x465324;this[_0x43f6a7(0x148)](_0x50247b[_0x43f6a7(0xf0)](_0x481311[_0x43f6a7(0x31d)](window,_0x43f6a7(0x1eb))[_0x43f6a7(0x1a4)](_0x376bfd=>{const _0x31a51a=_0x43f6a7;if(_0x376bfd[_0x31a51a(0x2a1)]!==_0x88df09||!_0x376bfd[_0x31a51a(0xb2)])return;const _0x2103a8=JSON['parse'](_0x376bfd[_0x31a51a(0xb2)]);this['_handleEvent'](_0x2103a8);}))),window[_0x43f6a7(0xd6)](_0x43f6a7(0x2f4),()=>this[_0x43f6a7(0x2e4)]({'type':0x1,'memberID':this[_0x43f6a7(0x2df)],'unitIDs':Array[_0x43f6a7(0x279)](this[_0x43f6a7(0x232)])}));}[_0x465324(0x140)](_0x2a5403){const _0x5d9fbc=_0x465324;switch(_0x2a5403[_0x5d9fbc(0x177)]){case 0x0:this['_handleJoinEvent'](_0x2a5403);break;case 0x1:this[_0x5d9fbc(0x16d)](_0x2a5403);break;case 0x2:this[_0x5d9fbc(0x26c)](_0x2a5403);break;}}[_0x465324(0xc6)](_0x57d682){const _0x567e21=_0x465324,{unitIDs:_0x41809c,memberID:_0x5ddf73,isForwarded:_0x306d30}=_0x57d682;_0x41809c['forEach'](_0xabf08d=>{const _0x2cb11c=_0x4c50;if(!_0x306d30&&this[_0x2cb11c(0x304)][_0x2cb11c(0xfd)](_0xabf08d)&&this['_ensureSubject'](_0xabf08d)['next'](_0x40916b['UnitStatus'][_0x2cb11c(0xaf)]),!this[_0x2cb11c(0x304)][_0x2cb11c(0xfd)](_0xabf08d)||!this[_0x2cb11c(0x304)][_0x2cb11c(0x2d8)](_0xabf08d)['has'](_0x5ddf73)){const _0x1c2ae8=this['_unitOnClients'][_0x2cb11c(0x2d8)](_0xabf08d)||new Set();_0x1c2ae8[_0x2cb11c(0x246)](_0x5ddf73),this['_unitOnClients'][_0x2cb11c(0x154)](_0xabf08d,_0x1c2ae8),this[_0x2cb11c(0x290)](_0x5ddf73);}}),_0x306d30||this[_0x567e21(0x2e4)]({'type':0x0,'memberID':this[_0x567e21(0x2df)],'unitIDs':[...this[_0x567e21(0x232)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x74f8be){const _0x19aa14=_0x465324;this[_0x19aa14(0x2e9)](_0x74f8be);const _0x3761cf=window[_0x19aa14(0x327)](()=>{this['_unitOnClients']['forEach'](_0x40a1a7=>{_0x40a1a7['delete'](_0x74f8be);});},_0x5a96a0*0x2);this[_0x19aa14(0x240)]['set'](_0x74f8be,_0x3761cf);}['_removeClearOtherTimer'](_0x1149f3){const _0x2ae061=_0x465324;if(this[_0x2ae061(0x240)]['has'](_0x1149f3)){const _0x12cb6a=this[_0x2ae061(0x240)][_0x2ae061(0x2d8)](_0x1149f3);_0x12cb6a&&window[_0x2ae061(0x300)](_0x12cb6a),this['_clearOtherTimers'][_0x2ae061(0x154)](_0x1149f3,null);}}[_0x465324(0x16d)](_0xa6bf03){const _0x104983=_0x465324,{memberID:_0x46b630,unitIDs:_0x310a22}=_0xa6bf03;_0x310a22[_0x104983(0x134)](_0x231660=>{const _0x1e7351=_0x104983;var _0x22e1f6;const _0x4ad9e1=this['_unitOnClients'][_0x1e7351(0x2d8)](_0x231660);_0x4ad9e1&&(_0x4ad9e1[_0x1e7351(0x2bf)](_0x46b630),(_0x22e1f6=this[_0x1e7351(0x245)](_0x231660))==null||_0x22e1f6['next'](_0x4ad9e1['size']===0x0?_0x40916b['UnitStatus'][_0x1e7351(0x1ca)]:_0x40916b[_0x1e7351(0x26b)][_0x1e7351(0xaf)]));}),this[_0x104983(0x2e9)](_0x46b630);}[_0x465324(0x26c)](_0x370eee){const _0x13e916=_0x465324;this[_0x13e916(0x290)](_0x370eee[_0x13e916(0x9f)]);}[_0x465324(0x2e4)](_0x2b6af1){const _0xe4f427=_0x465324;localStorage[_0xe4f427(0x94)](_0x88df09,JSON[_0xe4f427(0x30c)](_0x2b6af1));}['_scheduleHeartbeat'](){const _0x4def11=_0x465324;this[_0x4def11(0x1fd)]=window[_0x4def11(0x1f8)](()=>{const _0x391040=_0x4def11;this[_0x391040(0x2e4)]({'type':0x2,'memberID':this['_id']});},_0x5a96a0);}[_0x465324(0x245)](_0x198549){const _0x9b2c23=_0x465324;return this[_0x9b2c23(0x284)]['has'](_0x198549)||this['_unitStatus']['set'](_0x198549,new _0x481311['BehaviorSubject'](_0x40916b[_0x9b2c23(0x26b)][_0x9b2c23(0x1ca)])),this[_0x9b2c23(0x284)][_0x9b2c23(0x2d8)](_0x198549);}}var _0x1fc8f5=(_0x449c16=>(_0x449c16[_0x449c16[_0x465324(0x24f)]=0x0]=_0x465324(0x24f),_0x449c16[_0x449c16['OK']=0x1]='OK',_0x449c16[_0x449c16[_0x465324(0x16b)]=0x2]=_0x465324(0x16b),_0x449c16[_0x449c16[_0x465324(0x21c)]=0x3]=_0x465324(0x21c),_0x449c16[_0x449c16['NOT_FOUND']=0x4]=_0x465324(0x2ca),_0x449c16[_0x449c16['UNAUTHENTICATED']=0x5]=_0x465324(0x2bb),_0x449c16[_0x449c16[_0x465324(0x171)]=0x6]=_0x465324(0x171),_0x449c16[_0x449c16[_0x465324(0x2f0)]=0x7]=_0x465324(0x2f0),_0x449c16[_0x449c16[_0x465324(0xf3)]=0x8]=_0x465324(0xf3),_0x449c16[_0x449c16[_0x465324(0x31e)]=0x9]='COMPLETION_FINISHED',_0x449c16[_0x449c16[_0x465324(0x2dc)]=0xa]=_0x465324(0x2dc),_0x449c16[_0x449c16['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x449c16[_0x449c16[_0x465324(0xba)]=0xc]=_0x465324(0xba),_0x449c16[_0x449c16[_0x465324(0x1ad)]=0xd]=_0x465324(0x1ad),_0x449c16[_0x449c16[_0x465324(0x250)]=0xe]=_0x465324(0x250),_0x449c16[_0x449c16['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x465324(0x2b5),_0x449c16[_0x449c16[_0x465324(0x206)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x449c16[_0x449c16['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x449c16[_0x449c16['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x449c16[_0x449c16[_0x465324(0x19c)]=0x1b59]=_0x465324(0x19c),_0x449c16[_0x449c16[_0x465324(0xc5)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x449c16[_0x449c16[_0x465324(0x175)]=0x1b5b]=_0x465324(0x175),_0x449c16[_0x449c16['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x465324(0xf5),_0x449c16[_0x449c16[_0x465324(0x236)]=0x1b5d]=_0x465324(0x236),_0x449c16[_0x449c16[_0x465324(0x1c0)]=0x1f41]=_0x465324(0x1c0),_0x449c16[_0x449c16['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x465324(0x2b1),_0x449c16[_0x449c16['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x465324(0x321),_0x449c16[_0x449c16['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x449c16[_0x449c16['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x465324(0x2c8),_0x449c16[_0x449c16[_0x465324(0x152)]=0x232d]=_0x465324(0x152),_0x449c16[_0x449c16['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x465324(0x2e6),_0x449c16[_0x449c16['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x449c16[_0x449c16[_0x465324(0x2da)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x449c16[_0x449c16[_0x465324(0xcd)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x449c16[_0x449c16[_0x465324(0x116)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x449c16[_0x449c16[_0x465324(0x10e)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x449c16[_0x449c16[_0x465324(0x2a4)]=0x271c]=_0x465324(0x2a4),_0x449c16[_0x449c16[_0x465324(0x21a)]=0x271d]=_0x465324(0x21a),_0x449c16[_0x449c16['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x465324(0x23e),_0x449c16[_0x449c16['YUUMI_AI_RUN_FAILED']=0x271f]=_0x465324(0x1b9),_0x449c16[_0x449c16[_0x465324(0x133)]=0x2720]=_0x465324(0x133),_0x449c16[_0x449c16[_0x465324(0x2f5)]=0x2af9]=_0x465324(0x2f5),_0x449c16[_0x449c16['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x465324(0x187),_0x449c16[_0x449c16[_0x465324(0x23c)]=0x2ee2]=_0x465324(0x23c),_0x449c16[_0x449c16[_0x465324(0x237)]=0x2ee3]=_0x465324(0x237),_0x449c16[_0x449c16[_0x465324(0x22a)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x449c16[_0x449c16[_0x465324(0x30a)]=0x2ee5]=_0x465324(0x30a),_0x449c16[_0x449c16['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x449c16[_0x449c16[_0x465324(0xb0)]=0x32ca]=_0x465324(0xb0),_0x449c16[_0x449c16['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x465324(0x12d),_0x449c16[_0x449c16[_0x465324(0x2af)]=-0x1]=_0x465324(0x2af),_0x449c16))(_0x1fc8f5||{}),_0x524f5c=Object[_0x465324(0x164)],_0x294bcb=(_0x104a9b,_0x50e5bd,_0x561aa8,_0x4ad421)=>{for(var _0x28c245=_0x4ad421>0x1?void 0x0:_0x4ad421?_0x524f5c(_0x50e5bd,_0x561aa8):_0x50e5bd,_0x4ab77f=_0x104a9b['length']-0x1,_0xdba68d;_0x4ab77f>=0x0;_0x4ab77f--)(_0xdba68d=_0x104a9b[_0x4ab77f])&&(_0x28c245=_0xdba68d(_0x28c245)||_0x28c245);return _0x28c245;},_0x128033=(_0x15b5c1,_0x446b04)=>(_0x3aecd3,_0x5d0e7b)=>_0x446b04(_0x3aecd3,_0x5d0e7b,_0x15b5c1);_0x17bc2c[_0x465324(0x1c8)]=class extends _0x50247b[_0x465324(0x1e1)]{constructor(_0x175272,_0x11e2de,_0x3ff70c){const _0x5c89c1=_0x465324;super(),this[_0x5c89c1(0xfe)]=_0x175272,this[_0x5c89c1(0x1ef)]=_0x11e2de,this[_0x5c89c1(0x1d9)]=_0x3ff70c;}async[_0x465324(0x20e)](_0x982cef,_0x100efd,_0x4ce8de,..._0x2d3629){const _0x36f4ae=_0x465324;var _0x163c13,_0xb59d4f,_0x20db7c,_0x8bc81a;const _0x166de8=this['_instanceService'][_0x36f4ae(0x101)]();if(!_0x166de8)throw new Error(_0x36f4ae(0x1c7));const _0xd6d705=((_0x163c13=this[_0x36f4ae(0x1d9)][_0x36f4ae(0x1db)](_0x40916b[_0x36f4ae(0x2d3)]))!=null?_0x163c13:_0x40916b['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x982cef+_0x36f4ae(0x1cc)+_0x100efd,_0xf307d5=new URL(window[_0x36f4ae(0x13b)][_0x36f4ae(0x1d4)]),_0x50c4e5={'scriptId':_0x982cef,'runId':(_0xb59d4f=_0xf307d5['searchParams'][_0x36f4ae(0x2d8)](_0x36f4ae(0x254)))!=null?_0xb59d4f:'','function':_0x100efd,'unitId':_0x166de8[_0x36f4ae(0x324)](),'argsOfFunction':JSON[_0x36f4ae(0x30c)](_0x2d3629),'invokeId':(_0x20db7c=_0x4ce8de[_0x36f4ae(0x2a0)])!=null?_0x20db7c:'','executionId':(_0x8bc81a=_0x4ce8de[_0x36f4ae(0x1ea)])!=null?_0x8bc81a:''};try{const _0x3f64be=await this[_0x36f4ae(0x1ef)][_0x36f4ae(0x22e)](_0xd6d705,{'body':_0x50c4e5});return _0x3f64be['body']['error']&&_0x3f64be[_0x36f4ae(0x2aa)]['error']['code']!==_0x1fc8f5['OK']?'Failed':_0x3f64be['body'][_0x36f4ae(0x117)];}catch{return _0x36f4ae(0x1dd);}}},_0x17bc2c[_0x465324(0x1c8)]=_0x294bcb([_0x128033(0x0,_0x50247b[_0x465324(0x257)]),_0x128033(0x1,_0x50247b[_0x465324(0x15e)](_0x4c764b[_0x465324(0x239)])),_0x128033(0x2,_0x50247b['IConfigService'])],_0x17bc2c['RemoteUniscriptService']),_0x17bc2c[_0x465324(0x126)]=_0xdf38a9,_0x17bc2c[_0x465324(0x10d)]=_0x5cc1ef,_0x17bc2c[_0x465324(0x1cf)]=_0x25a3fc,_0x17bc2c[_0x465324(0x23f)]=_0x3d768f,_0x17bc2c[_0x465324(0x278)]=_0x18d761,Object['defineProperty'](_0x17bc2c,Symbol['toStringTag'],{'value':'Module'});}));function _0x4c50(_0x4ae161,_0x7bef3c){const _0x85f6fc=_0x85f6();return _0x4c50=function(_0x4c5070,_0x1227c9){_0x4c5070=_0x4c5070-0x93;let _0x5443b9=_0x85f6fc[_0x4c5070];return _0x5443b9;},_0x4c50(_0x4ae161,_0x7bef3c);}function _0x85f6(){const _0x2c7b95=['_getAnchorBounding','setAlpha','_initCommandExecutedListener','Error','_univerInstanceService','LICENSE_EXPORT_SIZE_EXCEEDED','getColorFromTheme','NOT_FOUND','UniverDrawing','getRelativeToViewportCoord','_getSessionTicket','TEXT_RANGE_LAYER_INDEX','CollaborationEvent','IImageIoService','_range','getCellPositionByOffset','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','range','IConfigService','_transformHistoryAndStateStack','session.will-retry','get','session.connection-failed','YUUMI_RATE_OVER_LIMIT','ILocalStorageService','LOGIN_FAILED','prototype','_startSheetCollabCursor','_id','SYNCED','sheetID','_colorIndex','values','_send','InsertRangeMoveDownCommandId','YUUMI_UNABLE_LOAD_URL','collabCursorState$','source','_removeClearOtherTimer','DocCollaborationEntity','assign','then','SetWorksheetActivateCommand','_initEntityListener','updateOfflineData','INVALID_ARGUMENT','url(#off-line-icon_clip0_910_343)','getSheetBySheetId','DesktopCollaborationStatusDisplayController','unload','PY_RUNTIME_SCRIPT_ERROR','translate(.97)','mask','min','focused$','CollaborationDataLoaderController','RefRangeService','DataLoaderService','_drawAnchor','rxjs/operators','executeCommand','clearTimeout','error','_cursorShapes','isEditing','_unitOnClients','red.300','find','MUTATION','getCurrentUnitForType','CONFLICT','INVITE_CODE_ALREADY_BOUND','docStateChange$','stringify','wsSessionTicketUrl','ITransformService','SetTextSelectionsOperation','unshift','startRow','dispose$','Vector2','pluginName','_online','getMemberID','_removeCollabCursors','off-line-icon_clip0_910_343','UniverInstanceType','transformMutationsWithChangeset','_renderManagerService','subscribeEvent','fromEvent','COMPLETION_FINISHED','getAncestorScale','_dataLoaderService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','createElement','getRenderById','getUnitId','AWAITING_WITH_PENDING','_updateCollabCursors','setTimeout','loadUnit','@univerjs/docs','_collabSessionService','round','entries','1540000yMcXgI','setItem','svg','_docSkeletonManagerService','getSheetId','all','_collabCursorState$','serializeRangeWithSheet','_transformPreviousActiveRange','collab-text-anchor-','_labelPosition','_colorAssignService','memberID','drawWith','addClipboardHook','getRangePointData','displayName','_draw','onLocalMutation','assignAColorForMemberID','Rectangle','_handleHover','isTransformMutationsWithChangesetSuccess','_color','_updateSubUnitFromURLParams','handleInsertCol','INotificationService','green.600','OTHER_CLIENTS_EDITING','MOBILE_HAS_BEEN_BOUND','application/json','newValue','getCoordByCell','map','MessageType','backgroundColor','transformRemoteChangeset','http://www.w3.org/2000/svg','init','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','clsx','RECT','toRgbString','selection','replaceState','restore','dispose','transformMutation','push','transformByState','APPLY_NON_SEQUENTIAL_REVISION','_handleJoinEvent','[CollaborationDataLoaderController]','getCurrentRevOfUnit','startsWith','getUniverSheetInstance','_cursorInfo$','ColorKit','YUUMI_SUBSCRIPTION_NOT_FOUND','_docTransformSelectionsService','getUnhiddenWorksheets','CollaborationUIEventService','@univerjs/engine-formula','getVpScrollXYInfoByPosToVp','_initStatusListener','DocIMEInputManagerService','ISnapshotServerService','addEventListener','throttleTime','UniverSheets','icon','SHEET_VIEWPORT_KEY','UNIVER_SHEET','getOwnPropertySymbols','cursorInfo','ICommandService','collabStatus.offline','@univerjs/core','collabStatus.notCollab','urlChange$','@univerjs/sheets-ui','ILogService','_docSkeleton','getCurrentSelections','_collabCursorController','_injector','Plugin','_notificationService','defIds','text','size','top','saveImage','toDisposable','UniverEngineRender','useDependency','TOO_MANY_REQUESTS','isArray','APPLY_PERMISSION_DENIED','_registerDependencies','m1Prime','complete','_anchorDot','unit','Tooltip','getCollabCursors$','has','_instanceService','subunit','debounce','getFocusedUnit','generateRandomId','_eventUnsubscribe','Injector','permission.title','forwardRef','unitId','getItem','handleIRemoveCol','getValue','registerRenderModule','react','IURLService','YUUMI_ASYNCIO_CANCELLED','PENDING','CollaborationUIEventId','filter','Shape','blue.400','29655npwLyB','path','YUUMI_NO_CUBOID_FOR_QUESTION','result','_docTransformIMECacheService','USERS_LEAVE','_drawRectRange','_memberService','ACTIVE_UNIT_EVENT_CHANNEL','searchParams','use','10WbdmhY','_getScale','4128jYJQoo','@univerjs/docs-ui','onPointerEnter$','endRow','_transformUndoRedoStack','CollaborationStatusDisplay','Subject','whenReady','RemoveColCommandId','_context','_urlService','fillText','EMAIL_HAS_BEEN_BOUND','function','_initResize','_syncEditingCollabCursorService','getMember','collabStatus.fetchMiss','YUUMI_CONNECTOR_URL_NOT_FOUND','forEach','_setupBeforeClosingHandler','measureText','switchMap','_cachedData','CollaborationSessionService','deserializeRangeWithSheet','location','setShapeProps','saveOfflineData','_hover','distinctUntilChanged','_handleEvent','793251ZRDRLm','transformStateCache','MoveRangeCommandId','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','mapTo','propertyIsEnumerable','CLOSE_ROOM','disposeWithMe','univer-flex\x20univer-items-center','sheetId','LocaleService','loadOfflineData','endColumn','OFFLINE','takeUntil','NodePositionConvertToCursor','FromArray','LICENSE_DISTRO_REJECTED','currentTheme$','set','_refRangeService','SOCKET_FAILED_RETRY','runRefRangeMutations','xlink:href','getStateCache','_shapes','SheetsSelectionsService','onRendered','asObservable','Inject','_render','_messageService','combineLatest','IRemoteInstanceService','data','getOwnPropertyDescriptor','fill','eventID','subUnitId','cursorInfo$','setParam','getActiveSheet','INTERNAL_ERROR','Workbook','_handleLeaveEvent','requireSession','RxDisposable','1em','ALREADY_EXISTS','trim','handleDeleteRangeMoveLeft','_lastPointer','APPLY_REVISION_CONFILICT','params','type','IBeforeCloseService','_createSocketURL','getSkeleton','createInstance','onMouseMove','onPointerMove$','DeleteRangeMoveLeftCommandId','getDocRanges','RemoveRowCommandId','_refreshCollabCursors','_textBubble','handleIRemoveRow','NOT_COLLAB','lineTo','DocStateChangeManagerService','INVITE_CODE_HAS_BEEN_UES','_collaborationController','colorChannel1','UniverCollaborationClientUIPlugin','UNIVER_DOC','getSheetObject','name','_getSheetObject','status$','BehaviorSubject','DocSkeletonManagerService','substring','_hovered','_getSaveTimeout','_startDocCollabCursor','getUnitStatus$','show','off-line-icon','_scheduleSaving','uni.network.url-service','hasOwnProperty','APPLY_REJECT','sessionStatus$','string','collab-text-range-','univerjs-icon\x20univerjs-icon-','disableLocalCache','clipPath','unitID','subscribe','getColor','isTransformMutationFailure','useCallback','_sheetSkeletonManagerService','_roomMembers$','_commandService','DeleteRangeMoveUpCommandId','exhaustSavingTask','EMAIL_VERIFY_CODE_MISMATCH','override','1183CMiRUG','CollaborationSocketService','CollaborationStatus','_registerRenderDependencies','_collaborationUIEventService','_updateLocalCursor','_toggleOffline','_doCreateSocket','...','resize','YUUMI_AI_RUN_FAILED','_docTransformStateCacheService','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','split','_scene','Tools','handleInsertRangeMoveRight','CONNECTOR_DATA_TOO_LARGE','SetDocZoomRatioOperation','_updateURLWithCurrentState','findNodePositionByCharIndex','_status$','fillStyle','indexOf','[RemoteUniscriptService]:\x20no\x20focused\x20unit','RemoteUniscriptService','fromEventSubject','NO_OTHER_CLIENTS_EDITING','currentColor','/run/','React','replaceDocRanges','SheetCollabCursorShape','RichTextEditingMutation','next','2OHlhYo','syncEditingCollabCursor','href','106748suvjcU','UPDATE_CURSOR','connectInjector','entityInit$','_configService','_entityInit$','getConfig','DEFAULT_WS_SESSION_TICKET_URL','Failed','_saveCache','symbol','closePath','Disposable','search','sessionTicket','_docClipboardService','_scheduleHeartbeat','ILocalCacheService','onCommandExecuted','m2Prime','registerRefRange','executionId','storage','@univerjs/sheets','CollaborationController','registerComponent','_httpService','getUndoRedoMutationParamsCache','textRanges','UniverCollaborationClientPlugin','width','font','arc','IUIPartsService','_entities','setInterval','_themeService','idSuffix','on-line-icon','AWAITING','_heartbeatTimer','LOCAL_CACHE_INTERVAL','EffectRefRangId','debug','_cursor','object','IRenderManagerService','_backgroundColor','disposeUnit','SNAPSHOT_INVALID_SNAPSHOT','roomMembers','_localeService','_assignedColors','_localCacheService','imageSourceType','_getMergeRange','_transformService','runOnServer','_disabled','react/jsx-runtime','_anchor','createIdentifier','mutations','defs','VIEW_MAIN','SheetSkeletonManagerService','_saveTaskMap','rgba(255,\x20255,\x20255,\x200.01)','addObject','YUUMI_ALL_TABLES_IS_INVALID','includes','PERMISSION_DENIED','ISocketService','doc.mutation.rich-text-editing','height','2054405mTWDOw','attrs','history','length','labelPosition','white','color','NodePositionConvertToRectRange','UniverDocs','clearInterval','USER_NOT_INVITED_CODE','TRANSFORM_CHANGE_OBSERVABLE_TYPE','beginPath','CommandType','post','SetSelectionsOperation','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_onRefRangeChange','_selfUnitIDs','call','_name','UniverIcon','APPLY_DUPLICATED','INVITE_CODE_REQUIRED','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','HTTPService','editingUnit','div','INVALID_INVITE_CODE','setUndoRedoMutationParamsCache','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','WebBrowserSingleActiveUnitService','_clearOtherTimers','getCollabEntity$','enableLocalCache','operators','children','_ensureSubject','add','OTHER_CLIENT_EDITING','DocSelectionManagerService','@univerjs/drawing','collaboration-client.offline-data-not-saved','_localStorageService','yellow.400','event$','UniverUi','UNDEFINED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','save','exports','activeSheet$','runId','toString','_init','IUniverInstanceService','HEADER_MENU','SessionStatus','_initStatusComponent','concat','tag','collabStatus.syncing','replace','jsx','redoState','getViewport','evenodd','hide','Unknown\x20user','saveTaskMap','triggerDblclick','collabStatus.synced','hovered','send','Rect','UnitStatus','_handleHeartbeatEvent','BrowserCollaborationSocketService','UniverProCollaborationClient','isActive','deepClone','collaboration-client-ui.config','currentSkeleton$','UniverNetwork','OffLineIcon','getParam','touchDependencies','@univerjs/ui','WebURLService','from','transformSelections','addObjects','handleMoveRange','collab-client.tooltip.reconnect','_hideTimer','handleDeleteRangeMoveUp','DOC_RANGE_TYPE','collaboration.closeRoom','purple.300','BuiltInUIPart','_unitStatus','contains','Warning','_logService','useObservable','_session','bottom','_drawTextRange','pushState','extend','ThemeService','className','_scheduleClearOtherTimer','InsertColCommandId','origin','ranges','collabStatus.conflict','DisposableCollection','LOCAL_CACHE_INTERVAL_KEY','_initEvent','UniverEngineFormula','row','664FlwyeF','pipe','_imageIoService','_docStateChangeManagerService','309199LyJNkP','current','invokeId','key','_docSyncEditingCollabCursorService','black','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_onCursorUpdate','on-line-icon_clip0_910_349','IMessageService','max','getLocalCacheKey','body','_toggleOnline','random','useRef','ticket','UNRECOGNIZED','unsubscribe','LICENSE_MAX_UNITS_EXCEEDED','registerDependencies','getTypeOfUnitAdded$','MemberService','CHANGESET_REVISION_CONFILICT','fillRule','_cursors','COLORS','UniverProCollaboration','engine','UNAUTHENTICATED','_onCursorDelete','@univerjs/rpc','merge','delete','_config','rxjs','UniverProCollaborationClientUi'];_0x85f6=function(){return _0x2c7b95;};return _0x85f6();}
|