@univerjs-pro/collaboration-client-ui 0.9.1-nightly.202507091606 → 0.9.1-nightly.202507101607
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(_0x4a0d6a,_0x1530b9){const _0x13508f=_0x5938,_0x4e4156=_0x4a0d6a();while(!![]){try{const _0x1dbfc9=-parseInt(_0x13508f(0x2a8))/0x1+parseInt(_0x13508f(0x211))/0x2+parseInt(_0x13508f(0x414))/0x3*(-parseInt(_0x13508f(0x1f6))/0x4)+parseInt(_0x13508f(0x21c))/0x5*(-parseInt(_0x13508f(0x3fe))/0x6)+parseInt(_0x13508f(0x1ef))/0x7*(parseInt(_0x13508f(0x2f6))/0x8)+-parseInt(_0x13508f(0x2e0))/0x9*(-parseInt(_0x13508f(0x3ad))/0xa)+parseInt(_0x13508f(0x20b))/0xb;if(_0x1dbfc9===_0x1530b9)break;else _0x4e4156['push'](_0x4e4156['shift']());}catch(_0xd65641){_0x4e4156['push'](_0x4e4156['shift']());}}}(_0x1c96,0x2cd69),function(_0x572dca,_0x41be6e){const _0x419064=_0x5938;typeof exports==_0x419064(0x21b)&&typeof module<'u'?_0x41be6e(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==_0x419064(0x44a)&&define[_0x419064(0x256)]?define([_0x419064(0x1e2),_0x419064(0x1f3),'@univerjs/core',_0x419064(0x2cf),'@univerjs/network','@univerjs/docs-ui','@univerjs/drawing','rxjs',_0x419064(0x45a),_0x419064(0x2fe),_0x419064(0x2a2),_0x419064(0x46f),_0x419064(0x208),_0x419064(0x316),_0x419064(0x20c),_0x419064(0x3be),_0x419064(0x254),_0x419064(0x2d6),_0x419064(0x3e8)],_0x41be6e):(_0x572dca=typeof globalThis<'u'?globalThis:_0x572dca||self,_0x41be6e(_0x572dca[_0x419064(0x313)]={},_0x572dca['UniverProCollaborationClient'],_0x572dca[_0x419064(0x1eb)],_0x572dca[_0x419064(0x1fd)],_0x572dca['UniverNetwork'],_0x572dca[_0x419064(0x379)],_0x572dca[_0x419064(0x1d7)],_0x572dca[_0x419064(0x3c3)],_0x572dca[_0x419064(0x312)],_0x572dca[_0x419064(0x2d2)],_0x572dca[_0x419064(0x3a8)],_0x572dca[_0x419064(0x27b)],_0x572dca[_0x419064(0x3c3)]['operators'],_0x572dca['UniverSheetsUi'],_0x572dca['React'],_0x572dca['UniverUi'],_0x572dca['UniverDesign'],_0x572dca[_0x419064(0x240)],_0x572dca['UniverRpc']));}(this,function(_0xe806e8,_0x39934c,_0x156835,_0x267da1,_0x13d443,_0x53bcf9,_0x522a05,_0xa3668d,_0x154a7b,_0x4cfa4b,_0x323c75,_0x14b3ed,_0x51958,_0x1003b1,_0x5a3911,_0x12901c,_0x35690f,_0x3e4dc4,_0x5cbe5a){'use strict';const _0x355786=_0x5938;var _0x9998a0=Object['defineProperty'],_0x4a67aa=(_0x12229c,_0x2dd6e0,_0x32f159)=>_0x2dd6e0 in _0x12229c?_0x9998a0(_0x12229c,_0x2dd6e0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x32f159}):_0x12229c[_0x2dd6e0]=_0x32f159,_0x595003=(_0x2c3908,_0x11a983,_0x59d4dd)=>_0x4a67aa(_0x2c3908,typeof _0x11a983!=_0x355786(0x25c)?_0x11a983+'':_0x11a983,_0x59d4dd),_0x274311=Object[_0x355786(0x45e)],_0x577560=(_0xe438bd,_0xfa9682,_0x1571c6,_0x3e4902)=>{for(var _0x2eb759=_0x3e4902>0x1?void 0x0:_0x3e4902?_0x274311(_0xfa9682,_0x1571c6):_0xfa9682,_0x348809=_0xe438bd['length']-0x1,_0xdb934a;_0x348809>=0x0;_0x348809--)(_0xdb934a=_0xe438bd[_0x348809])&&(_0x2eb759=_0xdb934a(_0x2eb759)||_0x2eb759);return _0x2eb759;},_0x20f04a=(_0x52d3fd,_0x5e49a6)=>(_0x20a396,_0x43213e)=>_0x5e49a6(_0x20a396,_0x43213e,_0x52d3fd);let _0x1b19fd=class extends _0x156835[_0x355786(0x3f3)]{constructor(_0x1a6e28,_0x425c16){const _0x2296ed=_0x355786;super(),this['_docClipboardService']=_0x1a6e28,this['_imageIoService']=_0x425c16,this[_0x2296ed(0x41a)]();}[_0x355786(0x41a)](){const _0x58f73a=_0x355786,_0x2726b8=this;this[_0x58f73a(0x377)](this[_0x58f73a(0x203)]['addClipboardHook']({'onBeforePasteImage':async _0x3a0bef=>{const _0x422e49=_0x58f73a,_0x1b4554=await _0x2726b8['_imageIoService']['saveImage'](_0x3a0bef);return _0x1b4554?{'source':_0x1b4554[_0x422e49(0x34d)],'imageSourceType':_0x1b4554[_0x422e49(0x295)]}:null;}}));}};_0x1b19fd=_0x577560([_0x20f04a(0x0,_0x53bcf9['IDocClipboardService']),_0x20f04a(0x1,_0x522a05[_0x355786(0x2be)])],_0x1b19fd);const _0x582a7b=[_0x355786(0x288),'jiqing.500',_0x355786(0x455),_0x355786(0x463),_0x355786(0x3eb),'yellow.400'];class _0x2c5e21 extends _0x156835[_0x355786(0x26b)]{constructor(){const _0x1081ca=_0x355786;super(...arguments),_0x595003(this,'_assignedColors',new Map()),_0x595003(this,_0x1081ca(0x3cf),0x0);}[_0x355786(0x30a)](_0x49f7b0){const _0x3dd1f0=_0x355786;if(this[_0x3dd1f0(0x2e7)][_0x3dd1f0(0x412)](_0x49f7b0))return this[_0x3dd1f0(0x2e7)][_0x3dd1f0(0x26c)](_0x49f7b0);const _0x2deac7=_0x582a7b[this[_0x3dd1f0(0x3cf)]];return this[_0x3dd1f0(0x3cf)]=(this[_0x3dd1f0(0x3cf)]+0x1)%_0x582a7b[_0x3dd1f0(0x3a0)],this['_assignedColors'][_0x3dd1f0(0x330)](_0x49f7b0,_0x2deac7),_0x2deac7;}}function _0x592d51(_0x32ea1e){const _0x1449e6=_0x355786;let _0x311e02='';for(const _0x1abc92 of _0x32ea1e){const {startOffset:_0x15c6e4,endOffset:_0x44a38b,isActive:_0x3c1cbc,rangeType:_0x1f4cfb,segmentId:_0x387621,segmentPage:_0x5b96ef}=_0x1abc92;_0x311e02[_0x1449e6(0x3a0)]&&(_0x311e02+=','),_0x311e02+=_0x15c6e4+':'+_0x44a38b+':'+(_0x3c1cbc?'1':'0')+':'+_0x1f4cfb+':'+_0x387621+':'+_0x5b96ef;}return _0x311e02;}function _0x524c71(_0x520c9a){const _0x3c1001=_0x355786,_0x3c4bb3=_0x520c9a['split'](','),_0x443fac=[];for(const _0x469b87 of _0x3c4bb3){const [_0x2ef3c5,_0x1ce7d1,_0x40b3a8,_0x5e1a0e,_0x4825db,_0x332c19]=_0x469b87[_0x3c1001(0x245)](':');_0x443fac[_0x3c1001(0x3e4)]({'startOffset':Number(_0x2ef3c5),'endOffset':Number(_0x1ce7d1),'collapsed':_0x2ef3c5===_0x1ce7d1,'isActive':_0x40b3a8==='1','rangeType':_0x5e1a0e===_0x156835[_0x3c1001(0x3a7)][_0x3c1001(0x29e)]?_0x156835[_0x3c1001(0x3a7)][_0x3c1001(0x29e)]:_0x156835['DOC_RANGE_TYPE'][_0x3c1001(0x3b7)],'segmentId':typeof _0x4825db==_0x3c1001(0x218)?String(_0x4825db):'','segmentPage':Number(_0x332c19!=null?_0x332c19:-0x1)});}return _0x443fac[_0x3c1001(0x3ae)](_0x4bb1e4=>_0x4bb1e4[_0x3c1001(0x220)])||(_0x443fac[0x0][_0x3c1001(0x220)]=!0x0),_0x443fac;}class _0x1c1a42 extends _0x156835[_0x355786(0x3f3)]{constructor(){const _0x832f99=_0x355786;super(...arguments),_0x595003(this,_0x832f99(0x2f7),new _0xa3668d[(_0x832f99(0x3fb))](null)),_0x595003(this,_0x832f99(0x434),this['_collabCursorState$'][_0x832f99(0x2d4)]());}[_0x355786(0x243)](_0x17f4ea){const _0x3c3847=_0x355786,{unitID:_0x40d79c,memberID:_0x31f315,textRanges:_0x4872ad}=_0x17f4ea,_0x29591f=_0x592d51(_0x4872ad);if(_0x29591f==='')return;const _0xd344bd={'unitID':_0x40d79c,'memberID':_0x31f315,'selection':_0x29591f};this[_0x3c3847(0x2f7)]['next'](_0xd344bd);}}var _0x3b0896=Object[_0x355786(0x45e)],_0x5aa309=(_0x2b28ab,_0x2fbd2e,_0x2180ce,_0x5f1824)=>{for(var _0x223058=_0x5f1824>0x1?void 0x0:_0x5f1824?_0x3b0896(_0x2fbd2e,_0x2180ce):_0x2fbd2e,_0x3c4784=_0x2b28ab['length']-0x1,_0x309e26;_0x3c4784>=0x0;_0x3c4784--)(_0x309e26=_0x2b28ab[_0x3c4784])&&(_0x223058=_0x309e26(_0x223058)||_0x223058);return _0x223058;},_0x40ddbd=(_0x4dcb93,_0x2c893e)=>(_0x3eefd5,_0x264bd6)=>_0x2c893e(_0x3eefd5,_0x264bd6,_0x4dcb93);const _0x13831b=0x12c,_0x463bc9=0x64;let _0x5e445f=class extends _0x156835[_0x355786(0x3f3)]{constructor(_0x500a9b,_0x319c28,_0x23ca16,_0x2ce915,_0x4eed11,_0x4f70c6,_0x50e3a7,_0x178e81,_0x15084c){const _0x4e9844=_0x355786;super(),_0x595003(this,_0x4e9844(0x2e2),!0x1),_0x595003(this,_0x4e9844(0x41a),!0x1),_0x595003(this,'_cursorInfo$',new _0xa3668d[(_0x4e9844(0x3fb))](new Map())),_0x595003(this,'cursorInfo$',this[_0x4e9844(0x437)][_0x4e9844(0x2d4)]()),_0x595003(this,_0x4e9844(0x213),new _0xa3668d[(_0x4e9844(0x3fb))]([])),_0x595003(this,_0x4e9844(0x40e),this[_0x4e9844(0x213)][_0x4e9844(0x43f)](_0xa3668d[_0x4e9844(0x348)](_0x13831b))),_0x595003(this,_0x4e9844(0x456),_0x156835['debounce'](_0x49cc73=>{const _0x246771=_0x4e9844,_0x11f504={'eventID':_0x154a7b[_0x246771(0x3b9)][_0x246771(0x30e)],'data':{'unitID':this[_0x246771(0x438)],'memberID':this[_0x246771(0x388)][_0x246771(0x227)](),'selection':_0x592d51(_0x49cc73)}};this['_session']['send'](_0x11f504,this[_0x246771(0x438)]);},_0x463bc9)),(this[_0x4e9844(0x438)]=_0x500a9b,this[_0x4e9844(0x388)]=_0x319c28,this[_0x4e9844(0x42b)]=_0x23ca16,this['_colorAssignService']=_0x2ce915,this['_memberService']=_0x4eed11,this[_0x4e9844(0x31d)]=_0x4f70c6,this[_0x4e9844(0x42c)]=_0x50e3a7,this['_univerInstanceService']=_0x178e81,this[_0x4e9844(0x404)]=_0x15084c);}get[_0x355786(0x1fc)](){const _0x420d27=_0x355786;return this[_0x420d27(0x437)][_0x420d27(0x3a2)]();}get[_0x355786(0x22d)](){const _0x230d4a=_0x355786;return this[_0x230d4a(0x213)][_0x230d4a(0x3a2)]();}['dispose'](){const _0x5b1230=_0x355786;super[_0x5b1230(0x1f8)](),this[_0x5b1230(0x437)][_0x5b1230(0x2b2)](new Map()),this['_cursorInfo$'][_0x5b1230(0x38e)](),this['_roomMembers$'][_0x5b1230(0x2b2)]([]),this['_roomMembers$']['complete']();}[_0x355786(0x1d6)](){const _0x33d024=_0x355786;this[_0x33d024(0x41a)]||(this['_init']=!0x0,this[_0x33d024(0x388)][_0x33d024(0x23f)]['pipe'](_0xa3668d[_0x33d024(0x409)](this[_0x33d024(0x3c7)]))['subscribe'](_0x304417=>{const _0x1cb28e=_0x33d024;_0x304417===_0x39934c['SessionStatus'][_0x1cb28e(0x308)]?this['_toggleOnline']():this[_0x1cb28e(0x1f1)]();}),this[_0x33d024(0x388)][_0x33d024(0x2ee)]['pipe'](_0xa3668d[_0x33d024(0x409)](this['dispose$']))[_0x33d024(0x3c1)](_0x21e9fa=>{const _0x153106=_0x33d024,_0x5756ca=_0x21e9fa[_0x153106(0x270)];_0x5756ca===_0x154a7b[_0x153106(0x3b9)][_0x153106(0x30e)]&&this[_0x153106(0x3ef)](_0x21e9fa),_0x5756ca===_0x154a7b['CollaborationEvent'][_0x153106(0x3ea)]&&this['_onCursorDelete'](_0x21e9fa);}),this[_0x33d024(0x377)](this[_0x33d024(0x404)][_0x33d024(0x464)](_0x23c666=>{const _0x40334a=_0x33d024,_0x3d7bed=_0x23c666[_0x40334a(0x24d)];_0x3d7bed!=null&&this['_online']&&_0x23c666['id']===_0x4cfa4b[_0x40334a(0x2de)]['id']&&_0x3d7bed[_0x40334a(0x1ed)]===this[_0x40334a(0x438)]&&_0x3d7bed['isEditing']===!0x1&&_0x3d7bed[_0x40334a(0x357)]['length']>0x0&&this[_0x40334a(0x456)](_0x3d7bed[_0x40334a(0x357)]);})),this['_syncEditingCollabCursorService'][_0x33d024(0x434)][_0x33d024(0x43f)](_0xa3668d['takeUntil'](this[_0x33d024(0x3c7)]))[_0x33d024(0x3c1)](_0x1ccbf7=>{const _0x4cc917=_0x33d024;if((_0x1ccbf7==null?void 0x0:_0x1ccbf7[_0x4cc917(0x438)])!==this[_0x4cc917(0x438)])return;const _0x5ba229={'eventID':_0x154a7b[_0x4cc917(0x3b9)][_0x4cc917(0x30e)],'data':_0x1ccbf7};this[_0x4cc917(0x3ef)](_0x5ba229);}),this[_0x33d024(0x377)](this['_commandService'][_0x33d024(0x464)](_0x2f20c5=>{const _0x5d1a47=_0x33d024;if(_0x2f20c5[_0x5d1a47(0x24d)]==null)return;const _0xce8c15=_0x2f20c5['params'];if(_0x2f20c5['id']!==_0x4cfa4b[_0x5d1a47(0x411)]['id']||_0xce8c15[_0x5d1a47(0x1ed)]!==this[_0x5d1a47(0x438)])return;const _0x52a99f={'id':_0x5d1a47(0x31c),'params':_0xce8c15},_0x16dc5f=this[_0x5d1a47(0x1fc)];for(const [_0x119270,_0x9f24ef]of _0x16dc5f){const _0xc59736={'id':_0x5d1a47(0x31c),'params':{'unitId':this[_0x5d1a47(0x438)],'actions':null,'textRanges':_0x9f24ef[_0x5d1a47(0x357)]}},_0x5b350e=this[_0x5d1a47(0x42c)][_0x5d1a47(0x306)](_0x52a99f,_0xc59736,!0x1);if(_0x154a7b[_0x5d1a47(0x369)](_0x5b350e))throw _0x5b350e['error'];_0x16dc5f[_0x5d1a47(0x330)](_0x119270,{..._0x9f24ef,'ranges':_0x5b350e[_0x5d1a47(0x3cc)]['params'][_0x5d1a47(0x395)]});}queueMicrotask(()=>{const _0x56c3c7=_0x5d1a47;this['_cursorInfo$'][_0x56c3c7(0x2b2)](_0x16dc5f);});})));}['_onCursorUpdate'](_0x11f246){const _0x5f3c55=_0x355786;var _0x32d976,_0xfebea7;const {memberID:_0x80554b,selection:_0x4ae7c0}=_0x11f246['data'],_0x294282=_0x524c71(_0x4ae7c0),_0x1d4672=(_0xfebea7=(_0x32d976=this[_0x5f3c55(0x2b9)][_0x5f3c55(0x2ff)](this[_0x5f3c55(0x438)],_0x80554b))==null?void 0x0:_0x32d976[_0x5f3c55(0x2ce)])!=null?_0xfebea7:'Unknown\x20user',_0x37a161={'color':this[_0x5f3c55(0x45b)][_0x5f3c55(0x30a)](_0x80554b),'name':_0x1d4672,'ranges':_0x294282},_0x1e1dce=this['cursorInfo'];_0x1e1dce['set'](_0x80554b,_0x37a161),this[_0x5f3c55(0x437)][_0x5f3c55(0x2b2)](_0x1e1dce);}['_onCursorDelete'](_0x5d7c17){const _0x429d39=_0x355786,{memberID:_0x3421ee}=_0x5d7c17['data'],_0x2a881a=this['cursorInfo'];_0x2a881a[_0x429d39(0x233)](_0x3421ee),this[_0x429d39(0x437)][_0x429d39(0x2b2)](_0x2a881a);}[_0x355786(0x237)](){const _0x5ef32f=_0x355786;var _0x125f6b;if(this[_0x5ef32f(0x2e2)]=!0x0,((_0x125f6b=this[_0x5ef32f(0x294)]['getFocusedUnit']())==null?void 0x0:_0x125f6b[_0x5ef32f(0x3c9)]())!==this[_0x5ef32f(0x438)])return;const _0x21b568=this['_injector'][_0x5ef32f(0x26c)](_0x4cfa4b[_0x5ef32f(0x2ec)])[_0x5ef32f(0x44c)]();Array[_0x5ef32f(0x202)](_0x21b568)&&_0x21b568['length']>0x0&&this[_0x5ef32f(0x456)](_0x21b568);}[_0x355786(0x1f1)](){const _0x2af737=_0x355786;this[_0x2af737(0x2e2)]=!0x1;}};_0x5e445f=_0x5aa309([_0x40ddbd(0x2,_0x156835[_0x355786(0x41b)](_0x156835[_0x355786(0x28c)])),_0x40ddbd(0x3,_0x156835[_0x355786(0x41b)](_0x2c5e21)),_0x40ddbd(0x4,_0x156835[_0x355786(0x41b)](_0x39934c[_0x355786(0x207)])),_0x40ddbd(0x5,_0x156835[_0x355786(0x41b)](_0x1c1a42)),_0x40ddbd(0x6,_0x154a7b[_0x355786(0x1f2)]),_0x40ddbd(0x7,_0x156835[_0x355786(0x200)]),_0x40ddbd(0x8,_0x156835[_0x355786(0x432)])],_0x5e445f);var _0x1a0398=Object[_0x355786(0x45e)],_0x123d36=(_0x1f384b,_0x46ede4,_0x498e49,_0xaca9ee)=>{const _0x3842de=_0x355786;for(var _0x4b7d1d=_0xaca9ee>0x1?void 0x0:_0xaca9ee?_0x1a0398(_0x46ede4,_0x498e49):_0x46ede4,_0x89be82=_0x1f384b[_0x3842de(0x3a0)]-0x1,_0x562fd2;_0x89be82>=0x0;_0x89be82--)(_0x562fd2=_0x1f384b[_0x89be82])&&(_0x4b7d1d=_0x562fd2(_0x4b7d1d)||_0x4b7d1d);return _0x4b7d1d;},_0x59edd4=(_0x90e2e3,_0x16c8c4)=>(_0x2e5351,_0x5393f6)=>_0x16c8c4(_0x2e5351,_0x5393f6,_0x90e2e3);const _0x1d6947=0x12c,_0x5962c5=0x64,_0x2bf852=()=>{let _0x40af19=[],_0x1ff74e=!0x1;return _0x4a230d=>{_0x40af19['push'](_0x4a230d),_0x1ff74e||(_0x1ff74e=!0x0,setTimeout(()=>{const _0x47696d=_0x5938;_0x40af19[_0x47696d(0x296)](_0x51173f=>_0x51173f()),_0x40af19=[],_0x1ff74e=!0x1;}));};};let _0x12273d=class extends _0x156835[_0x355786(0x3f3)]{constructor(_0x29a367,_0x492e1b,_0x25e624,_0x10e316,_0x5a3fca,_0x5eb5ca,_0x45feda,_0x31e12b){const _0x4aaeeb=_0x355786;super(),_0x595003(this,_0x4aaeeb(0x2e2),!0x1),_0x595003(this,_0x4aaeeb(0x41a),!0x1),_0x595003(this,'_cursorInfo$',new _0xa3668d['BehaviorSubject'](new Map())),_0x595003(this,_0x4aaeeb(0x217),this['_cursorInfo$'][_0x4aaeeb(0x2d4)]()),_0x595003(this,'_roomMembers$',new _0xa3668d[(_0x4aaeeb(0x3fb))]([])),_0x595003(this,'roomMembers$',this[_0x4aaeeb(0x213)][_0x4aaeeb(0x43f)](_0xa3668d['debounceTime'](_0x1d6947))),_0x595003(this,_0x4aaeeb(0x456),_0x156835['debounce']((_0x404f33,_0x4aad29)=>{const _0x3c1e89=_0x4aaeeb,_0x211df4={'eventID':_0x154a7b[_0x3c1e89(0x3b9)][_0x3c1e89(0x30e)],'data':{'unitID':this[_0x3c1e89(0x438)],'memberID':this[_0x3c1e89(0x388)][_0x3c1e89(0x227)](),'selection':_0x323c75['serializeRangeWithSheet'](_0x404f33,_0x4aad29[_0x3c1e89(0x2ad)])}};this['_session'][_0x3c1e89(0x3a5)](_0x211df4,this[_0x3c1e89(0x438)]);},_0x5962c5)),(this[_0x4aaeeb(0x438)]=_0x29a367,this[_0x4aaeeb(0x388)]=_0x492e1b,this['_injector']=_0x25e624,this[_0x4aaeeb(0x45b)]=_0x10e316,this['_memberService']=_0x5a3fca,this[_0x4aaeeb(0x294)]=_0x5eb5ca,this['_commandService']=_0x45feda,this[_0x4aaeeb(0x2c8)]=_0x31e12b);}get[_0x355786(0x1fc)](){const _0x4ca3a2=_0x355786;return this[_0x4ca3a2(0x437)][_0x4ca3a2(0x3a2)]();}get['roomMembers'](){const _0x5988db=_0x355786;return this[_0x5988db(0x213)][_0x5988db(0x3a2)]();}[_0x355786(0x1f8)](){const _0x55e394=_0x355786;super[_0x55e394(0x1f8)](),this[_0x55e394(0x437)]['next'](new Map()),this[_0x55e394(0x437)][_0x55e394(0x38e)](),this[_0x55e394(0x213)][_0x55e394(0x2b2)]([]),this[_0x55e394(0x213)][_0x55e394(0x38e)]();}[_0x355786(0x1d6)](){const _0x38ffa2=_0x355786;this[_0x38ffa2(0x41a)]||(this[_0x38ffa2(0x41a)]=!0x0,this[_0x38ffa2(0x388)]['sessionStatus$'][_0x38ffa2(0x43f)](_0xa3668d[_0x38ffa2(0x409)](this[_0x38ffa2(0x3c7)]))[_0x38ffa2(0x3c1)](_0x274b11=>{const _0x7fec9d=_0x38ffa2;_0x274b11===_0x39934c[_0x7fec9d(0x33b)][_0x7fec9d(0x308)]?this[_0x7fec9d(0x237)]():this['_toggleOffline']();}),this[_0x38ffa2(0x388)][_0x38ffa2(0x2ee)][_0x38ffa2(0x43f)](_0xa3668d[_0x38ffa2(0x409)](this[_0x38ffa2(0x3c7)]))[_0x38ffa2(0x3c1)](_0x1651fc=>{const _0x407100=_0x38ffa2,_0x2d2e24=_0x1651fc['eventID'];_0x2d2e24===_0x154a7b['CollaborationEvent'][_0x407100(0x30e)]&&this[_0x407100(0x3ef)](_0x1651fc),_0x2d2e24===_0x154a7b[_0x407100(0x3b9)][_0x407100(0x3ea)]&&this[_0x407100(0x1d8)](_0x1651fc);}),this['_onRefRangeChange'](),this[_0x38ffa2(0x377)](this[_0x38ffa2(0x404)][_0x38ffa2(0x464)](_0x5a8883=>{const _0x7963d3=_0x38ffa2;if(this[_0x7963d3(0x2e2)]&&_0x5a8883['id']===_0x14b3ed[_0x7963d3(0x41c)]['id']&&_0x5a8883['params'][_0x7963d3(0x1ed)]===this[_0x7963d3(0x438)]){const _0x2c7496=_0x5a8883[_0x7963d3(0x24d)];this[_0x7963d3(0x456)](_0x2c7496[_0x7963d3(0x2c5)],_0x2c7496['selections'][0x0]);}})));}['_onCursorUpdate'](_0x1a3d3c){const _0x307ed0=_0x355786;var _0x37501d,_0x55781d;const {memberID:_0x64835e,selection:_0x619915}=_0x1a3d3c[_0x307ed0(0x293)],{sheetName:_0x7c9ede,range:_0x306d33}=_0x323c75[_0x307ed0(0x242)](_0x619915),_0x5024b9={'name':(_0x55781d=(_0x37501d=this[_0x307ed0(0x2b9)][_0x307ed0(0x2ff)](this['unitID'],_0x64835e))==null?void 0x0:_0x37501d[_0x307ed0(0x2ce)])!=null?_0x55781d:_0x307ed0(0x27c),'range':this[_0x307ed0(0x36e)](_0x7c9ede,_0x306d33),'sheetID':_0x7c9ede,'color':this[_0x307ed0(0x45b)][_0x307ed0(0x30a)](_0x64835e),'selection':_0x619915},_0x35fb73=this[_0x307ed0(0x1fc)];_0x35fb73[_0x307ed0(0x330)](_0x64835e,_0x5024b9),this[_0x307ed0(0x437)][_0x307ed0(0x2b2)](_0x35fb73);}[_0x355786(0x1d8)](_0x531e3b){const _0x421060=_0x355786,{memberID:_0x30f0d8}=_0x531e3b[_0x421060(0x293)],_0x31e3e9=this['cursorInfo'];_0x31e3e9[_0x421060(0x233)](_0x30f0d8),this['_cursorInfo$'][_0x421060(0x2b2)](_0x31e3e9);}[_0x355786(0x36e)](_0x5612dc,_0x757956){const _0x1a3b9d=_0x355786;var _0x5c45a9,_0x5c82c8;const _0x54b25e=(_0x5c82c8=(_0x5c45a9=this['_univerInstanceService'][_0x1a3b9d(0x1f9)](this[_0x1a3b9d(0x438)]))==null?void 0x0:_0x5c45a9[_0x1a3b9d(0x33d)](_0x5612dc))==null?void 0x0:_0x5c82c8[_0x1a3b9d(0x3d4)]();return(_0x54b25e==null?void 0x0:_0x54b25e[_0x1a3b9d(0x468)](_0x20b8c3=>_0x156835[_0x1a3b9d(0x449)]['contains'](_0x20b8c3,_0x757956)))||_0x757956;}[_0x355786(0x30c)](){const _0x1e13ba=_0x355786,_0x412a09=new _0x156835['DisposableCollection'](),_0x5d2ff5=_0x2bf852(),_0x49f81d=()=>{const _0x540666=_0x5938;_0x412a09[_0x540666(0x1f8)]();const _0x29b2ef=(_0x5b89ab,_0x1ee141,_0x2f9f36,_0x1a92db)=>{const _0x5daffb=_0x540666;let _0x3d7d45=[];switch(_0x5b89ab['id']){case _0x14b3ed[_0x5daffb(0x23e)]['DeleteRangeMoveLeftCommandId']:{_0x3d7d45=_0x14b3ed[_0x5daffb(0x28b)](_0x5b89ab,_0x1a92db);break;}case _0x14b3ed[_0x5daffb(0x23e)][_0x5daffb(0x22f)]:{_0x3d7d45=_0x14b3ed[_0x5daffb(0x269)](_0x5b89ab,_0x1a92db);break;}case _0x14b3ed[_0x5daffb(0x23e)][_0x5daffb(0x315)]:{_0x3d7d45=_0x14b3ed['handleInsertCol'](_0x5b89ab,_0x1a92db);break;}case _0x14b3ed[_0x5daffb(0x23e)][_0x5daffb(0x417)]:{_0x3d7d45=_0x14b3ed[_0x5daffb(0x2f3)](_0x5b89ab,_0x1a92db);break;}case _0x14b3ed[_0x5daffb(0x23e)][_0x5daffb(0x343)]:{_0x3d7d45=_0x14b3ed['handleInsertRangeMoveRight'](_0x5b89ab,_0x1a92db);break;}case _0x14b3ed[_0x5daffb(0x23e)]['InsertRowCommandId']:{_0x3d7d45=_0x14b3ed[_0x5daffb(0x31f)](_0x5b89ab,_0x1a92db);break;}case _0x14b3ed['EffectRefRangId']['MoveRangeCommandId']:{_0x3d7d45=_0x14b3ed[_0x5daffb(0x352)](_0x5b89ab,_0x1a92db);break;}case _0x14b3ed[_0x5daffb(0x23e)][_0x5daffb(0x416)]:{_0x3d7d45=_0x14b3ed[_0x5daffb(0x45d)](_0x5b89ab,_0x1a92db);break;}case _0x14b3ed['EffectRefRangId'][_0x5daffb(0x400)]:{_0x3d7d45=_0x14b3ed[_0x5daffb(0x20e)](_0x5b89ab,_0x1a92db);break;}}const _0x444879=_0x14b3ed[_0x5daffb(0x46e)](_0x3d7d45,_0x1a92db),_0x28ccf9=this[_0x5daffb(0x1fc)][_0x5daffb(0x26c)](_0x1ee141);if(_0x28ccf9&&_0x444879){const _0x5c9f5d={..._0x28ccf9,'range':_0x444879};this[_0x5daffb(0x1fc)][_0x5daffb(0x330)](_0x1ee141,_0x5c9f5d),_0x5d2ff5(()=>{const _0x451269=_0x5daffb,_0x5c2ee2=this[_0x451269(0x2c8)]['registerRefRange'](_0x444879,_0x3d3a2e=>(_0x5c2ee2[_0x451269(0x1f8)](),_0x29b2ef(_0x3d3a2e,_0x1ee141,_0x2f9f36,_0x444879)));_0x412a09['add'](_0x5c2ee2);});}return{'redos':[],'undos':[]};};this[_0x540666(0x1fc)][_0x540666(0x296)]((_0x1e2ae6,_0x33d6a3)=>{const _0x8d60c1=_0x540666,{range:_0x196ba7,sheetID:_0x55169b}=_0x1e2ae6,_0x24b17b=this[_0x8d60c1(0x2c8)][_0x8d60c1(0x364)](_0x196ba7,_0x59d7b2=>(_0x24b17b[_0x8d60c1(0x1f8)](),_0x29b2ef(_0x59d7b2,_0x33d6a3,_0x55169b,_0x196ba7)));_0x412a09['add'](_0x24b17b);});};this[_0x1e13ba(0x377)](_0x156835[_0x1e13ba(0x419)](this[_0x1e13ba(0x437)][_0x1e13ba(0x3c1)](()=>{_0x49f81d();})));}[_0x355786(0x237)](){const _0x10e2a9=_0x355786;var _0x35b990,_0x346f1e;if(this[_0x10e2a9(0x2e2)]=!0x0,((_0x35b990=this['_univerInstanceService'][_0x10e2a9(0x461)]())==null?void 0x0:_0x35b990[_0x10e2a9(0x3c9)]())!==this[_0x10e2a9(0x438)])return;const _0x1acf82=(_0x346f1e=this[_0x10e2a9(0x42b)][_0x10e2a9(0x26c)](_0x14b3ed[_0x10e2a9(0x462)])[_0x10e2a9(0x304)]())==null?void 0x0:_0x346f1e[0x0],_0x317ae4=this[_0x10e2a9(0x294)]['getCurrentUnitForType'](_0x156835[_0x10e2a9(0x23a)][_0x10e2a9(0x440)])['getActiveSheet']();_0x1acf82&&_0x317ae4&&this['_updateLocalCursor'](_0x317ae4[_0x10e2a9(0x34e)](),_0x1acf82);}[_0x355786(0x1f1)](){const _0x5ce3b9=_0x355786;this[_0x5ce3b9(0x2e2)]=!0x1;}};_0x12273d=_0x123d36([_0x59edd4(0x2,_0x156835[_0x355786(0x41b)](_0x156835[_0x355786(0x28c)])),_0x59edd4(0x3,_0x156835[_0x355786(0x41b)](_0x2c5e21)),_0x59edd4(0x4,_0x156835[_0x355786(0x41b)](_0x39934c['MemberService'])),_0x59edd4(0x5,_0x156835[_0x355786(0x200)]),_0x59edd4(0x6,_0x156835[_0x355786(0x432)]),_0x59edd4(0x7,_0x156835['Inject'](_0x14b3ed[_0x355786(0x26e)]))],_0x12273d);var _0x67be4d=Object['getOwnPropertyDescriptor'],_0x16eda1=(_0x5f2dc3,_0x264a37,_0x1971a5,_0x25df81)=>{const _0x1bdfb4=_0x355786;for(var _0x14d14b=_0x25df81>0x1?void 0x0:_0x25df81?_0x67be4d(_0x264a37,_0x1971a5):_0x264a37,_0x53fbd1=_0x5f2dc3[_0x1bdfb4(0x3a0)]-0x1,_0x5a6334;_0x53fbd1>=0x0;_0x53fbd1--)(_0x5a6334=_0x5f2dc3[_0x53fbd1])&&(_0x14d14b=_0x5a6334(_0x14d14b)||_0x14d14b);return _0x14d14b;},_0x2813ff=(_0x4dc02a,_0x425371)=>(_0x9faa02,_0x1b3b82)=>_0x425371(_0x9faa02,_0x1b3b82,_0x4dc02a);let _0x31589c=class extends _0x156835['RxDisposable']{constructor(_0x2a7fff,_0x4a8ee2,_0x376ad4){const _0x4aca3d=_0x355786;super(),_0x595003(this,_0x4aca3d(0x250),new Map()),_0x595003(this,_0x4aca3d(0x1e1),new _0xa3668d[(_0x4aca3d(0x3f7))]()),(this['_univerInstanceService']=_0x2a7fff,this['_injector']=_0x4a8ee2,this[_0x4aca3d(0x378)]=_0x376ad4,this['_init']());}['dispose'](){const _0x3035b7=_0x355786;super['dispose'](),this[_0x3035b7(0x1e1)][_0x3035b7(0x38e)](),this['_entities'][_0x3035b7(0x296)](_0x1134e6=>_0x1134e6[_0x3035b7(0x1f8)]());}['getCollabCursors$'](_0x24a732){const _0x3247ee=_0x355786;return this[_0x3247ee(0x250)][_0x3247ee(0x412)](_0x24a732)?this[_0x3247ee(0x250)][_0x3247ee(0x26c)](_0x24a732)['cursorInfo$']:this[_0x3247ee(0x1e1)]['pipe'](_0xa3668d['filter'](_0x1a287e=>_0x1a287e[_0x3247ee(0x438)]===_0x24a732),_0xa3668d['switchMap'](_0x324626=>_0x324626['cursorInfo$']));}[_0x355786(0x41a)](){const _0x3dddc4=_0x355786;this[_0x3dddc4(0x294)][_0x3dddc4(0x278)](_0x156835[_0x3dddc4(0x23a)]['UNIVER_SHEET'])[_0x3dddc4(0x43f)](_0xa3668d[_0x3dddc4(0x409)](this['dispose$']))['subscribe'](async _0x3a4e94=>{const _0xa11b8a=_0x3dddc4,_0x1f1e9e=_0x3a4e94['getUnitId'](),_0x383d48=await this['_startSheetCollabCursor'](_0x1f1e9e);this[_0xa11b8a(0x1e1)]['next'](_0x383d48),this['_entities'][_0xa11b8a(0x330)](_0x1f1e9e,_0x383d48);}),this[_0x3dddc4(0x294)][_0x3dddc4(0x278)](_0x156835[_0x3dddc4(0x23a)][_0x3dddc4(0x3d3)])[_0x3dddc4(0x43f)](_0xa3668d[_0x3dddc4(0x409)](this[_0x3dddc4(0x3c7)]))['pipe'](_0xa3668d[_0x3dddc4(0x21a)](_0xd1ef0c=>!_0xd1ef0c[_0x3dddc4(0x3c9)]()[_0x3dddc4(0x22b)]('__')))[_0x3dddc4(0x3c1)](async _0x1b681a=>{const _0x252c12=_0x3dddc4,_0x12588c=_0x1b681a[_0x252c12(0x3c9)](),_0xb0c8f2=await this[_0x252c12(0x34b)](_0x12588c);this['_entityInit$'][_0x252c12(0x2b2)](_0xb0c8f2),this['_entities'][_0x252c12(0x330)](_0x12588c,_0xb0c8f2);}),_0xa3668d[_0x3dddc4(0x2ab)](this['_univerInstanceService'][_0x3dddc4(0x221)](_0x156835['UniverInstanceType']['UNIVER_DOC']),this[_0x3dddc4(0x294)][_0x3dddc4(0x221)](_0x156835[_0x3dddc4(0x23a)]['UNIVER_SHEET']))['pipe'](_0xa3668d['takeUntil'](this[_0x3dddc4(0x3c7)]))['subscribe'](_0x293999=>{const _0x1185e6=_0x3dddc4,_0x2227c4=_0x293999[_0x1185e6(0x3c9)](),_0x482ebf=this[_0x1185e6(0x250)][_0x1185e6(0x26c)](_0x2227c4);_0x482ebf&&(_0x482ebf['dispose'](),this['_entities']['delete'](_0x2227c4));});}async[_0x355786(0x35a)](_0x1df5bb){const _0x59e67e=_0x355786,_0x45bd5b=await this[_0x59e67e(0x378)][_0x59e67e(0x27e)](_0x1df5bb),_0x34c916=this['_injector']['createInstance'](_0x12273d,_0x1df5bb,_0x45bd5b);return _0x34c916['init'](),_0x34c916;}async[_0x355786(0x34b)](_0x462e72){const _0x13e9ea=_0x355786,_0x7c6db5=await this[_0x13e9ea(0x378)][_0x13e9ea(0x27e)](_0x462e72),_0x5b6408=this[_0x13e9ea(0x42b)][_0x13e9ea(0x370)](_0x5e445f,_0x462e72,_0x7c6db5);return _0x5b6408['init'](),_0x5b6408;}};_0x31589c=_0x16eda1([_0x2813ff(0x0,_0x156835[_0x355786(0x200)]),_0x2813ff(0x1,_0x156835[_0x355786(0x41b)](_0x156835['Injector'])),_0x2813ff(0x2,_0x156835[_0x355786(0x41b)](_0x39934c[_0x355786(0x1f5)]))],_0x31589c);const _0xa3ba27=0x14,_0x1494bf=0xc8,_0x4f2cbb=0x4,_0x493fac=0x5;function _0x56b3b0(_0x4a4b5b,_0x1c5c24){const _0x8182ec=_0x355786;let {radius:_0x1529cb,width:_0x146514,height:_0x35f2c6}=_0x1c5c24;_0x1529cb=_0x1529cb!=null?_0x1529cb:0x0,_0x146514=_0x146514!=null?_0x146514:0x1e,_0x35f2c6=_0x35f2c6!=null?_0x35f2c6:0x1e;let _0x167be6=0x0,_0x3bef2b=0x0,_0x2293dc=0x0;_0x167be6=_0x3bef2b=_0x2293dc=Math[_0x8182ec(0x3b6)](_0x1529cb,_0x146514/0x2,_0x35f2c6/0x2),_0x4a4b5b[_0x8182ec(0x305)](),_0x4a4b5b['moveTo'](_0x167be6,0x0),_0x4a4b5b[_0x8182ec(0x247)](_0x146514-_0x3bef2b,0x0),_0x4a4b5b[_0x8182ec(0x430)](_0x146514-_0x3bef2b,_0x3bef2b,_0x3bef2b,Math['PI']*0x3/0x2,0x0,!0x1),_0x4a4b5b['lineTo'](_0x146514,_0x35f2c6-_0x2293dc),_0x4a4b5b[_0x8182ec(0x430)](_0x146514-_0x2293dc,_0x35f2c6-_0x2293dc,_0x2293dc,0x0,Math['PI']/0x2,!0x1),_0x4a4b5b['lineTo'](0x0,_0x35f2c6),_0x4a4b5b['lineTo'](0x0,_0x167be6),_0x4a4b5b[_0x8182ec(0x430)](_0x167be6,_0x167be6,_0x167be6,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4a4b5b[_0x8182ec(0x299)](),_0x1c5c24[_0x8182ec(0x39d)]&&(_0x4a4b5b[_0x8182ec(0x35f)](),_0x4a4b5b[_0x8182ec(0x42d)]=_0x1c5c24[_0x8182ec(0x39d)],_0x1c5c24[_0x8182ec(0x393)]==='evenodd'?_0x4a4b5b['fill'](_0x8182ec(0x2ea)):_0x4a4b5b[_0x8182ec(0x39d)](),_0x4a4b5b[_0x8182ec(0x367)]());}class _0x407c36 extends _0x267da1[_0x355786(0x45f)]{constructor(_0x890ce4,_0x54bb31){const _0x112d74=_0x355786;super(_0x890ce4,_0x54bb31),_0x595003(this,_0x112d74(0x327)),_0x595003(this,_0x112d74(0x1e7)),(this[_0x112d74(0x327)]=_0x54bb31==null?void 0x0:_0x54bb31[_0x112d74(0x327)],this[_0x112d74(0x1e7)]=_0x54bb31==null?void 0x0:_0x54bb31['text']);}static[_0x355786(0x2aa)](_0x150d1c,_0x1b0e87){const _0x2e17d0=_0x355786,{text:_0x14c047,color:_0x435db8}=_0x1b0e87;_0x150d1c[_0x2e17d0(0x35f)](),_0x150d1c[_0x2e17d0(0x3f4)]=_0x2e17d0(0x272);const _0x5170c3=_0x150d1c[_0x2e17d0(0x43d)](_0x14c047)[_0x2e17d0(0x2ba)],_0x48d839=Math[_0x2e17d0(0x3b6)](_0x5170c3+0x2*_0x4f2cbb,_0x1494bf);_0x56b3b0(_0x150d1c,{'height':_0xa3ba27,'radius':0x4,'width':_0x48d839,'fill':_0x435db8}),_0x150d1c['fillStyle']='#FFF';const _0x43cb6e=_0x4f2cbb,_0x29b73b=_0xa3ba27-_0x493fac,_0x36ff48=_0x1494bf-0x2*_0x4f2cbb;if(_0x5170c3>_0x36ff48){let _0x2f1d61='',_0x2d70c7=0x0;for(const _0x2a0f0d of _0x14c047){const _0x32d685=_0x150d1c[_0x2e17d0(0x43d)](_0x2a0f0d)['width'];if(_0x2d70c7+_0x32d685<=_0x36ff48-_0x150d1c[_0x2e17d0(0x43d)](_0x2e17d0(0x418))[_0x2e17d0(0x2ba)])_0x2f1d61+=_0x2a0f0d,_0x2d70c7+=_0x32d685;else{_0x2f1d61+='...';break;}}_0x150d1c[_0x2e17d0(0x212)](_0x2f1d61,_0x43cb6e,_0x29b73b);}else _0x150d1c[_0x2e17d0(0x212)](_0x14c047,_0x43cb6e,_0x29b73b);_0x150d1c[_0x2e17d0(0x367)]();}[_0x355786(0x46a)](_0x2d74c2){const _0x1c3fca=_0x355786;_0x407c36[_0x1c3fca(0x2aa)](_0x2d74c2,this);}}const _0x45c0ea='collab-text-anchor-',_0x4cee0d=_0x355786(0x334),_0x1a3f49=_0x355786(0x2e4),_0x2746a6=0x6,_0x2bfc96=1.5,_0x43537a=0x4,_0xce5079=1.5,_0x907a12=_0x355786(0x423);class _0x2f56ea{constructor(_0x574462,_0x25ef2e,_0x10e62b,_0x250e72){const _0x29a57a=_0x355786;_0x595003(this,_0x29a57a(0x2e3),[]),_0x595003(this,_0x29a57a(0x39b),null),_0x595003(this,'_textBubble',null),_0x595003(this,'_anchorDot',null),_0x595003(this,'_hideTimer',null),_0x595003(this,_0x29a57a(0x3fa),null),(this['_cursor']=_0x574462,this[_0x29a57a(0x3b4)]=_0x25ef2e,this['_docSkeleton']=_0x10e62b,this[_0x29a57a(0x2a5)]=_0x250e72,this['_render']());}set[_0x355786(0x258)](_0x1fb14f){const _0x479992=_0x355786;_0x1fb14f?(this[_0x479992(0x1ff)]&&this['_anchorDot'][_0x479992(0x398)](),this[_0x479992(0x3aa)]&&this['_textBubble'][_0x479992(0x268)]()):(this[_0x479992(0x1ff)]&&this[_0x479992(0x1ff)][_0x479992(0x268)](),this['_textBubble']&&this['_textBubble']['hide']());}[_0x355786(0x1f8)](){const _0x22c561=_0x355786;for(const _0x5d7c08 of this[_0x22c561(0x2e3)])_0x5d7c08[_0x22c561(0x1f8)]();this['_textBubble']&&this[_0x22c561(0x3aa)]['dispose'](),this[_0x22c561(0x1ff)]&&this[_0x22c561(0x1ff)]['dispose'](),this[_0x22c561(0x39b)]&&this[_0x22c561(0x39b)][_0x22c561(0x1f8)](),this['_eventUnsubscribe']&&this[_0x22c561(0x3fa)]();}[_0x355786(0x2dd)](){const _0x11d3c7=_0x355786;var _0xbc7e9e;const {_docSkeleton:_0x5dfba7,_document:_0x2c218d}=this,{color:_0xf6184,name:_0x388112,ranges:_0x289bc0}=this[_0x11d3c7(0x34f)],_0x4b563f=_0x2c218d[_0x11d3c7(0x29a)](),{docsLeft:_0x5bbf8e,docsTop:_0x1a79c5}=_0x4b563f,_0x3cdff2=new _0x53bcf9[(_0x11d3c7(0x392))](_0x4b563f,_0x5dfba7);for(const {startOffset:_0x53d829,endOffset:_0x5f185c,rangeType:_0x479f70,segmentId:_0x92d1c9,segmentPage:_0xf207a9,collapsed:_0x520f23,isActive:_0x3c7013}of _0x289bc0){const _0x967407=_0x5dfba7[_0x11d3c7(0x381)](_0x53d829,!0x0,_0x92d1c9,_0xf207a9);let _0x5a5f0c=_0x5dfba7[_0x11d3c7(0x381)](_0x5f185c,!0x0,_0x92d1c9,_0xf207a9);if(_0x5a5f0c==null&&(_0x5a5f0c=_0x5dfba7['findNodePositionByCharIndex'](_0x5f185c-0x1,!0x1,_0x92d1c9,_0xf207a9)),_0x3c7013){const {contentBoxPointGroup:_0x1c036b}=_0x3cdff2[_0x11d3c7(0x415)](_0x5a5f0c,_0x5a5f0c);if(_0x1c036b[_0x11d3c7(0x3a0)]===0x0)continue;this['_drawAnchor'](_0xf6184,_0x1c036b,_0x5bbf8e,_0x1a79c5,_0x388112),this[_0x11d3c7(0x3fa)]=this[_0x11d3c7(0x2bc)]();}if(_0x967407&&_0x5a5f0c){if(_0x479f70===_0x156835[_0x11d3c7(0x3a7)][_0x11d3c7(0x3b7)]){const _0x32eadc=new _0x53bcf9[(_0x11d3c7(0x35c))](_0x4b563f,_0x5dfba7),{pointGroup:_0x688b29}=(_0xbc7e9e=_0x32eadc[_0x11d3c7(0x415)](_0x967407,_0x5a5f0c))!=null?_0xbc7e9e:{};if(_0x688b29==null||_0x688b29['length']===0x0)continue;this[_0x11d3c7(0x222)](_0xf6184,_0x688b29,_0x5bbf8e,_0x1a79c5);}else{if(!_0x520f23){const {borderBoxPointGroup:_0x10ec30}=_0x3cdff2[_0x11d3c7(0x415)](_0x967407,_0x5a5f0c);if(_0x10ec30[_0x11d3c7(0x3a0)]===0x0)continue;this[_0x11d3c7(0x431)](_0xf6184,_0x10ec30,_0x5bbf8e,_0x1a79c5);}}}}}['_drawAnchor'](_0x1b238c,_0x5dd290,_0x309373,_0x1484a2,_0xefde88){const _0x23aa53=_0x355786,_0xd0117b=this[_0x23aa53(0x436)](_0x5dd290),{left:_0x5f66f5,top:_0xfb7fd4,height:_0x1eb046}=_0xd0117b,_0x2c3734=this[_0x23aa53(0x2c1)](),_0x52e146=_0xce5079/_0x2c3734,_0xb68a6e=new _0x267da1[(_0x23aa53(0x32b))](_0x45c0ea+_0x156835[_0x23aa53(0x338)][_0x23aa53(0x336)](_0x2746a6),{'left':_0x5f66f5+_0x309373-_0x52e146,'top':_0xfb7fd4+_0x1484a2,'height':_0x1eb046,'width':_0x2bfc96,'fill':_0x1b238c||_0x267da1[_0x23aa53(0x2bf)](_0x156835['COLORS'][_0x23aa53(0x209)],0x0),'strokeWidth':_0x52e146,'stroke':_0x907a12,'evented':!0x0});this[_0x23aa53(0x39b)]=_0xb68a6e,this[_0x23aa53(0x3b4)][_0x23aa53(0x3d0)](_0xb68a6e,_0x53bcf9[_0x23aa53(0x248)]);const _0x2c56a1=new _0x267da1[(_0x23aa53(0x32b))](_0x45c0ea+_0x156835[_0x23aa53(0x338)]['generateRandomId'](_0x2746a6),{'left':_0x5f66f5+_0x309373-_0x52e146,'top':_0xfb7fd4+_0x1484a2-_0x43537a/0x2,'height':_0x43537a,'width':_0x43537a,'fill':_0x1b238c||_0x267da1[_0x23aa53(0x2bf)](_0x156835[_0x23aa53(0x349)][_0x23aa53(0x209)],0x0),'strokeWidth':0x0,'stroke':_0x1b238c||_0x267da1[_0x23aa53(0x2bf)](_0x156835['COLORS'][_0x23aa53(0x209)],0x0),'evented':!0x1});this[_0x23aa53(0x1ff)]=_0x2c56a1,this[_0x23aa53(0x3b4)][_0x23aa53(0x3d0)](_0x2c56a1,_0x53bcf9[_0x23aa53(0x248)]);const _0x283304=new _0x407c36(_0x45c0ea+_0x156835['Tools'][_0x23aa53(0x336)](_0x2746a6),{'left':_0x5f66f5+_0x309373-_0x52e146,'top':_0xfb7fd4+_0x1484a2-_0xa3ba27,'text':_0xefde88,'color':_0x1b238c});this['_textBubble']=_0x283304,this['_scene'][_0x23aa53(0x3d0)](_0x283304,_0x53bcf9[_0x23aa53(0x248)]),this[_0x23aa53(0x258)]=!0x1;}[_0x355786(0x2bc)](){const _0x364fdd=_0x355786,_0x3fd2de=this[_0x364fdd(0x39b)][_0x364fdd(0x264)][_0x364fdd(0x37a)](()=>{this['_hover']=!0x0;}),_0x331998=this[_0x364fdd(0x39b)][_0x364fdd(0x36c)][_0x364fdd(0x37a)](()=>{const _0x185dda=_0x364fdd;this[_0x185dda(0x3ca)]&&clearTimeout(this[_0x185dda(0x3ca)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1004b2=_0x364fdd;_0x3fd2de[_0x1004b2(0x3db)](),_0x331998['unsubscribe']();};}[_0x355786(0x431)](_0xed7e33,_0x444136,_0x1c68bc,_0x61cc33){const _0x13e5b4=_0x355786,_0x49d2e=new _0x156835[(_0x13e5b4(0x467))](_0xed7e33)[_0x13e5b4(0x452)](0.2)['toRgbString'](),_0x1dbf1b=new _0x267da1['RegularPolygon'](_0x4cee0d+_0x156835[_0x13e5b4(0x338)]['generateRandomId'](_0x2746a6),{'pointsGroup':_0x444136,'fill':_0x49d2e||_0x267da1['getColor'](_0x156835[_0x13e5b4(0x349)]['black'],0.2),'left':_0x1c68bc,'top':_0x61cc33,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x13e5b4(0x2e3)][_0x13e5b4(0x3e4)](_0x1dbf1b),this[_0x13e5b4(0x3b4)][_0x13e5b4(0x3d0)](_0x1dbf1b,_0x53bcf9[_0x13e5b4(0x248)]);}[_0x355786(0x222)](_0x3ee555,_0x2bf914,_0x25570c,_0x5b48be){const _0xe101b0=_0x355786,_0x1dc124=new _0x156835['ColorKit'](_0x3ee555)[_0xe101b0(0x452)](0.2)['toRgbString'](),_0x3c2fb0=new _0x267da1[(_0xe101b0(0x21d))](_0x1a3f49+_0x156835[_0xe101b0(0x338)][_0xe101b0(0x336)](_0x2746a6),{'pointsGroup':_0x2bf914,'fill':_0x1dc124||_0x267da1[_0xe101b0(0x2bf)](_0x156835[_0xe101b0(0x349)][_0xe101b0(0x209)],0.2),'left':_0x25570c,'top':_0x5b48be,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xe101b0(0x3e4)](_0x3c2fb0),this['_scene'][_0xe101b0(0x3d0)](_0x3c2fb0,_0x53bcf9['TEXT_RANGE_LAYER_INDEX']);}[_0x355786(0x436)](_0x5ee72b){const _0x588437=_0x5ee72b[0x0],_0x49d3cd=_0x588437[0x0],_0x45540b=_0x588437[0x2],{x:_0x376f7a,y:_0x207447}=_0x49d3cd,{x:_0x5c4ee0,y:_0x167de8}=_0x45540b;return{'left':_0x376f7a,'top':_0x207447,'width':_0x5c4ee0-_0x376f7a,'height':_0x167de8-_0x207447};}[_0x355786(0x2c1)](){const _0x49c7d5=_0x355786,{scaleX:_0x1eadf4,scaleY:_0x27c5df}=this[_0x49c7d5(0x3b4)][_0x49c7d5(0x347)]();return Math[_0x49c7d5(0x301)](_0x1eadf4,_0x27c5df);}}var _0x868195=Object[_0x355786(0x45e)],_0x5b5a58=(_0x4704de,_0x4d79ce,_0x36dc89,_0x4d2bf8)=>{const _0x23e0f1=_0x355786;for(var _0x4acf60=_0x4d2bf8>0x1?void 0x0:_0x4d2bf8?_0x868195(_0x4d79ce,_0x36dc89):_0x4d79ce,_0x507926=_0x4704de[_0x23e0f1(0x3a0)]-0x1,_0x5b5380;_0x507926>=0x0;_0x507926--)(_0x5b5380=_0x4704de[_0x507926])&&(_0x4acf60=_0x5b5380(_0x4acf60)||_0x4acf60);return _0x4acf60;},_0x5bb565=(_0x3e6213,_0x30f190)=>(_0x11c222,_0x4a9b89)=>_0x30f190(_0x11c222,_0x4a9b89,_0x3e6213);let _0x59a0a0=class extends _0x156835[_0x355786(0x3f3)]{constructor(_0x335915,_0x59a68f,_0x1d5dcd,_0x139640,_0x2b4648){const _0x4f17e6=_0x355786;super(),_0x595003(this,_0x4f17e6(0x285),[]),_0x595003(this,_0x4f17e6(0x2af),[]),(this[_0x4f17e6(0x38c)]=_0x335915,this[_0x4f17e6(0x2f5)]=_0x59a68f,this[_0x4f17e6(0x283)]=_0x1d5dcd,this[_0x4f17e6(0x404)]=_0x139640,this['_themeService']=_0x2b4648,this[_0x4f17e6(0x41a)]());}[_0x355786(0x41a)](){const _0x4839dc=_0x355786,_0xfdd38a=this['_context']['unitId'],_0xeee210=this[_0x4839dc(0x2f5)];this[_0x4839dc(0x377)](_0xa3668d['combineLatest']([this[_0x4839dc(0x283)]['getCollabCursors$'](_0xfdd38a),this[_0x4839dc(0x1d1)]['currentTheme$']])[_0x4839dc(0x43f)](_0x51958[_0x4839dc(0x235)](([_0x7cd4a8,_0x1f3b67])=>({'skeleton':_0xeee210[_0x4839dc(0x2b1)](),'cursors':[..._0x7cd4a8[_0x4839dc(0x2eb)]()][_0x4839dc(0x3f1)](_0x2b05e0=>({..._0x2b05e0,'color':this[_0x4839dc(0x1d1)][_0x4839dc(0x302)](_0x2b05e0[_0x4839dc(0x327)])}))})))[_0x4839dc(0x3c1)](_0x153c96=>{const _0x22bbaf=_0x4839dc;if(this[_0x22bbaf(0x1ec)](),_0x153c96){const {skeleton:_0x4ffe7a,cursors:_0x429e47}=_0x153c96;this[_0x22bbaf(0x29d)](_0x4ffe7a,_0x429e47);}})),this[_0x4839dc(0x3e3)](),this[_0x4839dc(0x403)]();}['_updateCollabCursors'](_0x435bee,_0x457bb0){const _0x2969ed=_0x355786,{scene:_0x1d8e49,mainComponent:_0x622edb}=this[_0x2969ed(0x38c)],_0x1e8bce=_0x457bb0['map'](_0xb5a7b1=>new _0x2f56ea(_0xb5a7b1,_0x1d8e49,_0x435bee,_0x622edb));this[_0x2969ed(0x285)]=_0x1e8bce,this[_0x2969ed(0x2af)]=_0x457bb0;}[_0x355786(0x420)](){const _0x4fcb9f=_0x355786;this[_0x4fcb9f(0x1ec)]();const {scene:_0x156a3e,mainComponent:_0x1aee32}=this['_context'],_0x510b9d=this[_0x4fcb9f(0x2f5)][_0x4fcb9f(0x2b1)](),_0x433222=this[_0x4fcb9f(0x2af)][_0x4fcb9f(0x235)](_0x470cad=>new _0x2f56ea(_0x470cad,_0x156a3e,_0x510b9d,_0x1aee32));this[_0x4fcb9f(0x285)]=_0x433222;}[_0x355786(0x1ec)](){const _0x306d75=_0x355786;this['_cursorShapes'][_0x306d75(0x296)](_0x32f8fa=>_0x32f8fa[_0x306d75(0x1f8)]()),this[_0x306d75(0x285)]=[];}[_0x355786(0x403)](){const _0x4e3648=_0x355786,_0x3b2132=[_0x53bcf9[_0x4e3648(0x27d)]['id']];this[_0x4e3648(0x377)](this['_commandService'][_0x4e3648(0x464)](_0x1ded90=>{const _0x4553ac=_0x4e3648;_0x3b2132[_0x4553ac(0x3b2)](_0x1ded90['id'])&&_0x1ded90[_0x4553ac(0x24d)]['unitId']===this[_0x4553ac(0x38c)][_0x4553ac(0x1ed)]&&this[_0x4553ac(0x420)]();}));}[_0x355786(0x3e3)](){const _0x4fee3b=_0x355786;this[_0x4fee3b(0x377)](_0x156835[_0x4fee3b(0x2b4)](this[_0x4fee3b(0x38c)][_0x4fee3b(0x445)][_0x4fee3b(0x2c3)])[_0x4fee3b(0x43f)](_0x51958['filter'](_0x33f52c=>_0x33f52c[_0x4fee3b(0x300)]===_0x267da1['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x4fee3b(0x408)]),_0x51958[_0x4fee3b(0x331)](0x10))[_0x4fee3b(0x3c1)](()=>{const _0x2737c9=_0x4fee3b;this[_0x2737c9(0x420)]();}));}};_0x59a0a0=_0x5b5a58([_0x5bb565(0x1,_0x156835[_0x355786(0x41b)](_0x4cfa4b[_0x355786(0x46c)])),_0x5bb565(0x2,_0x156835[_0x355786(0x41b)](_0x31589c)),_0x5bb565(0x3,_0x156835[_0x355786(0x432)]),_0x5bb565(0x4,_0x156835[_0x355786(0x41b)](_0x156835[_0x355786(0x32f)]))],_0x59a0a0);const _0x188134=0x1,_0x5eec7a=1.5;class _0x470584 extends _0x267da1['Shape']{constructor(_0x2013ce,_0x48666e){const _0x158bb9=_0x355786;super(_0x2013ce,_0x48666e),_0x595003(this,'_color'),_0x595003(this,_0x158bb9(0x3e6),!0x1),_0x595003(this,'_range'),_0x595003(this,'_name',''),_0x595003(this,_0x158bb9(0x3fc),_0x158bb9(0x3f2)),_0x595003(this,_0x158bb9(0x3bb)),(_0x48666e&&this[_0x158bb9(0x3fd)](_0x48666e),this[_0x158bb9(0x264)][_0x158bb9(0x37a)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x158bb9(0x37a)](()=>this[_0x158bb9(0x3fd)]({'hovered':!0x1})));}['setShapeProps'](_0x51cbb9){const _0xe633a=_0x355786;var _0x52e7d0,_0x1e4cb1,_0x57caf6,_0x667fcb,_0x20197f,_0x1a2aec;this['_color']=(_0x52e7d0=_0x51cbb9[_0xe633a(0x327)])!=null?_0x52e7d0:this[_0xe633a(0x281)],this['_hovered']=(_0x1e4cb1=_0x51cbb9['hovered'])!=null?_0x1e4cb1:this['_hovered'],this['_range']=(_0x57caf6=_0x51cbb9[_0xe633a(0x2ad)])!=null?_0x57caf6:this[_0xe633a(0x291)],this['_name']=(_0x667fcb=_0x51cbb9[_0xe633a(0x2ce)])!=null?_0x667fcb:this[_0xe633a(0x433)],this[_0xe633a(0x3fc)]=(_0x20197f=_0x51cbb9[_0xe633a(0x1e8)])!=null?_0x20197f:this[_0xe633a(0x3fc)],this[_0xe633a(0x3bb)]=(_0x1a2aec=_0x51cbb9[_0xe633a(0x391)])!=null?_0x1a2aec:this['_backgroundColor'],this[_0xe633a(0x29c)]({'width':_0x51cbb9['width'],'height':_0x51cbb9['height']});}[_0x355786(0x286)](_0x38cf42){const _0x3260c6=_0x355786,{row:_0x43d264,column:_0x2613bf}=_0x38cf42;if(_0x43d264>=this[_0x3260c6(0x291)][_0x3260c6(0x2ef)]&&_0x43d264<=this[_0x3260c6(0x291)][_0x3260c6(0x466)]&&_0x2613bf>=this[_0x3260c6(0x291)][_0x3260c6(0x33a)]&&_0x2613bf<=this['_range'][_0x3260c6(0x36b)]){this[_0x3260c6(0x3fd)]({'hovered':!0x0});return;}this[_0x3260c6(0x3fd)]({'hovered':!0x1});}['triggerDblclick'](_0x1101e6){return!0x1;}[_0x355786(0x46a)](_0xf02358){const _0x33c289=_0x355786;_0x267da1[_0x33c289(0x32b)][_0x33c289(0x2aa)](_0xf02358,{'width':this['width'],'height':this[_0x33c289(0x401)],'strokeWidth':_0x5eec7a,'stroke':this[_0x33c289(0x281)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x33c289(0x3e6)]&&(_0xf02358['save'](),_0xf02358[_0x33c289(0x351)](0x1,0x0,0x0,0x1,this[_0x33c289(0x2ba)],this[_0x33c289(0x3fc)]===_0x33c289(0x24b)?0x0:-0x14),_0x407c36['drawWith'](_0xf02358,{'text':this['_name'],'color':this[_0x33c289(0x281)]}),_0xf02358[_0x33c289(0x367)]());}}var _0x105a23=Object[_0x355786(0x45e)],_0x3ede8b=(_0x45a923,_0x2df0f2,_0x1bb756,_0x2d81c4)=>{for(var _0x5f2f81=_0x2d81c4>0x1?void 0x0:_0x2d81c4?_0x105a23(_0x2df0f2,_0x1bb756):_0x2df0f2,_0x2e9f1d=_0x45a923['length']-0x1,_0xb8220f;_0x2e9f1d>=0x0;_0x2e9f1d--)(_0xb8220f=_0x45a923[_0x2e9f1d])&&(_0x5f2f81=_0xb8220f(_0x5f2f81)||_0x5f2f81);return _0x5f2f81;},_0x5e386d=(_0x1fcdb8,_0x22b3bc)=>(_0x2a65e2,_0x520740)=>_0x22b3bc(_0x2a65e2,_0x520740,_0x1fcdb8);const _0x20579a=0x1389;let _0x133fd9=class extends _0x156835['RxDisposable']{constructor(_0x4ffe8d,_0x3e157a,_0x4ee18d,_0x6621a6){const _0x2fbef2=_0x355786;super(),_0x595003(this,_0x2fbef2(0x2af),new Set()),_0x595003(this,_0x2fbef2(0x273),null),(this[_0x2fbef2(0x38c)]=_0x4ffe8d,this[_0x2fbef2(0x324)]=_0x3e157a,this[_0x2fbef2(0x283)]=_0x4ee18d,this[_0x2fbef2(0x1d1)]=_0x6621a6,this[_0x2fbef2(0x41a)]());}[_0x355786(0x41a)](){const _0x5733a3=_0x355786;this[_0x5733a3(0x324)][_0x5733a3(0x33c)][_0x5733a3(0x43f)](_0x51958['takeUntil'](this[_0x5733a3(0x3c7)]),_0x51958[_0x5733a3(0x3b5)](_0x43cf82=>{const _0x28f2cd=_0x5733a3;if(_0x43cf82){const _0x1c060e=_0x43cf82[_0x28f2cd(0x2a4)];return _0xa3668d[_0x28f2cd(0x37c)](this['_collabCursorController']['getCollabCursors$'](this['_context'][_0x28f2cd(0x1ed)]),this[_0x28f2cd(0x1d1)][_0x28f2cd(0x27a)])[_0x28f2cd(0x43f)](_0x51958['map'](([_0x4f0168,_0x4910fd])=>{const _0x459487=_0x28f2cd,_0x2131d5=new Map();return _0x4f0168[_0x459487(0x296)]((_0x13d350,_0x142b7a)=>{const _0x5e9c5a=_0x459487;if(_0x13d350[_0x5e9c5a(0x44d)]===_0x1c060e){const _0x1769c8={..._0x13d350};_0x1769c8[_0x5e9c5a(0x327)]=this[_0x5e9c5a(0x1d1)][_0x5e9c5a(0x302)](_0x13d350[_0x5e9c5a(0x327)]),_0x2131d5[_0x5e9c5a(0x330)](_0x142b7a,_0x1769c8);}}),{'skeleton':_0x43cf82,'cursors':_0x2131d5};}));}return _0xa3668d['of']({'skeleton':null,'cursors':new Map()});}))[_0x5733a3(0x3c1)](({skeleton:_0x54801b,cursors:_0x54a097})=>{const _0xf050c9=_0x5733a3;this[_0xf050c9(0x1ec)](),_0x54801b&&this['_updateCollabCursors'](_0x54801b,_0x54a097);}),this[_0x5733a3(0x324)][_0x5733a3(0x33c)][_0x5733a3(0x3c1)](_0x559c7c=>{const _0x361145=_0x5733a3;if(_0x559c7c==null)return;const {skeleton:_0x3f20a8}=_0x559c7c,{scene:_0xd7addc}=this['_context'];_0xd7addc['onPointerMove$']['subscribeEvent'](_0x156835[_0x361145(0x1d9)](_0x378e07=>{const _0xf28cca=_0x361145;var _0x104b78,_0x1127e5;const {offsetX:_0x268d08,offsetY:_0x564065}=_0x378e07,{x:_0x1b3c48,y:_0x4cec55}=_0xd7addc['getRelativeToViewportCoord'](_0x267da1[_0xf28cca(0x3a9)]['FromArray']([_0x268d08,_0x564065])),{scaleX:_0x5dfeac,scaleY:_0x53860d}=_0xd7addc['getAncestorScale'](),_0x468106=_0xd7addc['getViewport'](_0x267da1[_0xf28cca(0x3ee)][_0xf28cca(0x2f8)]),_0x2c88bb=_0xd7addc['getVpScrollXYInfoByPosToVp'](_0x267da1[_0xf28cca(0x3a9)][_0xf28cca(0x2c4)]([_0x1b3c48,_0x4cec55]),_0x468106),_0x4b6517=_0x3f20a8[_0xf28cca(0x2b0)](_0x268d08,_0x564065,_0x5dfeac,_0x53860d,_0x2c88bb);((_0x104b78=this[_0xf28cca(0x273)])==null?void 0x0:_0x104b78['column'])===_0x4b6517[_0xf28cca(0x383)]&&((_0x1127e5=this[_0xf28cca(0x273)])==null?void 0x0:_0x1127e5[_0xf28cca(0x405)])===_0x4b6517[_0xf28cca(0x405)]||this['_cursors'][_0xf28cca(0x296)](_0x354ff3=>{const _0x60eca5=_0xf28cca;_0x354ff3[_0x60eca5(0x286)](_0x4b6517);});},0x64));});}[_0x355786(0x29d)](_0x3ef7b9,_0x1344c2){const _0x37dc96=_0x355786;var _0x2e9f07;const _0x36db98=(_0x2e9f07=this[_0x37dc96(0x324)][_0x37dc96(0x2fa)]())==null?void 0x0:_0x2e9f07[_0x37dc96(0x292)];if(!_0x36db98)return;const _0xdfd0af=this[_0x37dc96(0x20f)]();if(!_0xdfd0af)return;this[_0x37dc96(0x2af)][_0x37dc96(0x296)](_0x5c64d9=>{const _0x50dc4b=_0x37dc96;_0x5c64d9[_0x50dc4b(0x1e4)]();});const {scene:_0x28fcb3}=_0xdfd0af,_0x10aeee=_0x310864(Array['from'](_0x1344c2[_0x37dc96(0x2eb)]()))[_0x37dc96(0x235)](_0x89d3d3=>{const _0x2e92c2=_0x37dc96,{color:_0x5ac842,range:_0x55a3a1,name:_0x573c3d,selection:_0x15b6ba,sheetID:_0x52925a}=_0x89d3d3,{startColumn:_0x46b99f,startRow:_0x2b7ab2,endColumn:_0x115e0a,endRow:_0x48a890}=_0x55a3a1,_0x2b854a=_0x1003b1[_0x2e92c2(0x3c6)](_0x2b7ab2,_0x46b99f,_0x28fcb3,_0x36db98),_0x37d474=_0x1003b1[_0x2e92c2(0x3c6)](_0x48a890,_0x115e0a,_0x28fcb3,_0x36db98),{columnHeaderHeightAndMarginTop:_0x1da61c}=_0x36db98,{startX:_0x25e3ce,startY:_0x5057fa}=_0x2b854a,{endX:_0x261368,endY:_0x2baeae}=_0x37d474,_0xbd595c=_0x261368-_0x25e3ce,_0x141230=_0x2baeae-_0x5057fa,_0xf6aa48={'labelPosition':_0x5057fa-_0x1da61c>=_0xa3ba27?_0x2e92c2(0x3f2):'bottom','sheetID':_0x52925a,'range':_0x55a3a1,'color':_0x5ac842,'name':_0x573c3d,'selection':_0x15b6ba,'left':_0x25e3ce,'top':_0x5057fa,'width':_0xbd595c,'height':_0x141230,'evented':!0x1,'zIndex':_0x20579a};return new _0x470584(_0x573c3d,_0xf6aa48);});_0x28fcb3[_0x37dc96(0x443)](_0x10aeee,_0x188134),this[_0x37dc96(0x2af)]=new Set(_0x10aeee);}[_0x355786(0x1ec)](){const _0x1e7341=_0x355786;var _0x2b0924;(_0x2b0924=this[_0x1e7341(0x2af)])==null||_0x2b0924[_0x1e7341(0x296)](_0x3ace98=>_0x3ace98['dispose']());}[_0x355786(0x20f)](){const _0xb3cf49=_0x355786;return _0x1003b1['getSheetObject'](this['_context'][_0xb3cf49(0x215)],this[_0xb3cf49(0x38c)]);}};_0x133fd9=_0x3ede8b([_0x5e386d(0x1,_0x156835['Inject'](_0x1003b1['SheetSkeletonManagerService'])),_0x5e386d(0x2,_0x156835[_0x355786(0x41b)](_0x31589c)),_0x5e386d(0x3,_0x156835['Inject'](_0x156835[_0x355786(0x32f)]))],_0x133fd9);function _0x310864(_0x16b3a8){const _0x4d6daa=_0x355786,_0x2e68a1=new Map();return _0x16b3a8['forEach'](_0x33cd64=>{const _0xf2ff89=_0x5938;if(_0x2e68a1[_0xf2ff89(0x412)](_0x33cd64[_0xf2ff89(0x1fe)])){const _0x2f367e=_0x2e68a1[_0xf2ff89(0x26c)](_0x33cd64[_0xf2ff89(0x1fe)]);_0x2f367e[_0xf2ff89(0x2ce)]+=',\x20'+_0x33cd64['name'];}else _0x2e68a1[_0xf2ff89(0x330)](_0x33cd64[_0xf2ff89(0x1fe)],_0x33cd64);}),Array[_0x4d6daa(0x282)](_0x2e68a1[_0x4d6daa(0x2eb)]());}var _0x439d4e=function(){const _0x3eb23e=_0x355786;return _0x439d4e=Object[_0x3eb23e(0x36f)]||function(_0x514ff1){const _0x1a7cf3=_0x3eb23e;for(var _0x489fde,_0x513486=0x1,_0x1f8101=arguments[_0x1a7cf3(0x3a0)];_0x513486<_0x1f8101;_0x513486++){_0x489fde=arguments[_0x513486];for(var _0x41ed51 in _0x489fde)Object[_0x1a7cf3(0x210)][_0x1a7cf3(0x3a1)][_0x1a7cf3(0x219)](_0x489fde,_0x41ed51)&&(_0x514ff1[_0x41ed51]=_0x489fde[_0x41ed51]);}return _0x514ff1;},_0x439d4e[_0x3eb23e(0x251)](this,arguments);},_0x2e8238=function(_0x2ee613,_0x2c6d90){const _0x17a2f2=_0x355786;var _0x35e43a={};for(var _0x54f2d5 in _0x2ee613)Object[_0x17a2f2(0x210)][_0x17a2f2(0x3a1)][_0x17a2f2(0x219)](_0x2ee613,_0x54f2d5)&&_0x2c6d90[_0x17a2f2(0x3dd)](_0x54f2d5)<0x0&&(_0x35e43a[_0x54f2d5]=_0x2ee613[_0x54f2d5]);if(_0x2ee613!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x280e43=0x0,_0x54f2d5=Object['getOwnPropertySymbols'](_0x2ee613);_0x280e43<_0x54f2d5['length'];_0x280e43++)_0x2c6d90[_0x17a2f2(0x3dd)](_0x54f2d5[_0x280e43])<0x0&&Object[_0x17a2f2(0x210)][_0x17a2f2(0x1d2)][_0x17a2f2(0x219)](_0x2ee613,_0x54f2d5[_0x280e43])&&(_0x35e43a[_0x54f2d5[_0x280e43]]=_0x2ee613[_0x54f2d5[_0x280e43]]);}return _0x35e43a;},_0x4d17f=_0x3e4dc4['forwardRef'](function(_0x5e3a12,_0x2558e6){const _0x34e7b8=_0x355786;var _0x599c8a=_0x5e3a12[_0x34e7b8(0x20a)],_0x345fcd=_0x5e3a12['id'],_0x45f93c=_0x5e3a12[_0x34e7b8(0x2ed)],_0x21d9e3=_0x5e3a12['extend'],_0x3eb3ae=_0x2e8238(_0x5e3a12,[_0x34e7b8(0x20a),'id',_0x34e7b8(0x2ed),'extend']),_0x52edb9=_0x34e7b8(0x3ac)[_0x34e7b8(0x3f8)](_0x345fcd,'\x20')[_0x34e7b8(0x3f8)](_0x45f93c||'')[_0x34e7b8(0x3c2)](),_0x1acc12=_0x3e4dc4[_0x34e7b8(0x319)]('_'['concat'](_0x2db091()));return _0x174747(_0x599c8a,''[_0x34e7b8(0x3f8)](_0x345fcd),{'defIds':_0x599c8a[_0x34e7b8(0x3cd)],'idSuffix':_0x1acc12[_0x34e7b8(0x24e)]},_0x439d4e({'ref':_0x2558e6,'className':_0x52edb9},_0x3eb3ae),_0x21d9e3);});function _0x174747(_0x55839a,_0xa7af9a,_0x3ab607,_0x5b4bc9,_0x1e3e00){const _0x53f8d3=_0x355786;return _0x3e4dc4['createElement'](_0x55839a['tag'],_0x439d4e(_0x439d4e({'key':_0xa7af9a},_0x2353f8(_0x55839a,_0x3ab607,_0x1e3e00)),_0x5b4bc9),(_0x3e5ebf(_0x55839a,_0x3ab607)[_0x53f8d3(0x23c)]||[])['map'](function(_0x441be5,_0x2f5088){const _0x8ab890=_0x53f8d3;return _0x174747(_0x441be5,''[_0x8ab890(0x3f8)](_0xa7af9a,'-')[_0x8ab890(0x3f8)](_0x55839a[_0x8ab890(0x320)],'-')[_0x8ab890(0x3f8)](_0x2f5088),_0x3ab607,void 0x0,_0x1e3e00);}));}function _0x2353f8(_0x28ef46,_0x23e1b5,_0x5bf51c){const _0x15c654=_0x355786;var _0xef6cfc=_0x439d4e({},_0x28ef46[_0x15c654(0x24f)]);_0x5bf51c!=null&&_0x5bf51c[_0x15c654(0x3c0)]&&_0xef6cfc[_0x15c654(0x39d)]===_0x15c654(0x3c0)&&(_0xef6cfc[_0x15c654(0x39d)]=_0x5bf51c['colorChannel1']),_0x28ef46[_0x15c654(0x320)]===_0x15c654(0x26a)&&_0xef6cfc['id']&&(_0xef6cfc['id']=_0xef6cfc['id']+_0x23e1b5[_0x15c654(0x1f7)]),Object[_0x15c654(0x2da)](_0xef6cfc)[_0x15c654(0x296)](function(_0x31cb41){const _0x18a6a8=_0x15c654;var _0x502af8=_0x31cb41[0x0],_0x38331b=_0x31cb41[0x1];_0x502af8==='mask'&&typeof _0x38331b==_0x18a6a8(0x218)&&(_0xef6cfc[_0x502af8]=_0x38331b[_0x18a6a8(0x470)](/url\(#(.*)\)/,_0x18a6a8(0x325)['concat'](_0x23e1b5['idSuffix'],')')));});var _0x10058e=_0x23e1b5['defIds'];return!_0x10058e||_0x10058e[_0x15c654(0x3a0)]===0x0||(_0x28ef46[_0x15c654(0x320)]===_0x15c654(0x3ce)&&_0xef6cfc['xlink:href']&&(_0xef6cfc[_0x15c654(0x3e1)]=_0xef6cfc['xlink:href']+_0x23e1b5[_0x15c654(0x1f7)]),Object[_0x15c654(0x2da)](_0xef6cfc)[_0x15c654(0x296)](function(_0x4eff4a){const _0x26f2d4=_0x15c654;var _0x418d63=_0x4eff4a[0x0],_0x20a9d7=_0x4eff4a[0x1];typeof _0x20a9d7==_0x26f2d4(0x218)&&(_0xef6cfc[_0x418d63]=_0x20a9d7['replace'](/url\(#(.*)\)/,'url(#$1'[_0x26f2d4(0x3f8)](_0x23e1b5[_0x26f2d4(0x1f7)],')')));})),_0xef6cfc;}function _0x3e5ebf(_0x1012f4,_0x31e2cc){const _0x18cc16=_0x355786;var _0x51c9e9,_0xd4c897=_0x31e2cc['defIds'];return!_0xd4c897||_0xd4c897[_0x18cc16(0x3a0)]===0x0?_0x1012f4:_0x1012f4['tag']===_0x18cc16(0x20d)&&(!((_0x51c9e9=_0x1012f4['children'])===null||_0x51c9e9===void 0x0)&&_0x51c9e9[_0x18cc16(0x3a0)])?_0x439d4e(_0x439d4e({},_0x1012f4),{'children':_0x1012f4['children'][_0x18cc16(0x235)](function(_0x276ca0){const _0x1c01a3=_0x18cc16;return typeof _0x276ca0[_0x1c01a3(0x24f)]['id']==_0x1c01a3(0x218)&&_0xd4c897&&_0xd4c897[_0x1c01a3(0x3b2)](_0x276ca0[_0x1c01a3(0x24f)]['id'])?_0x439d4e(_0x439d4e({},_0x276ca0),{'attrs':_0x439d4e(_0x439d4e({},_0x276ca0[_0x1c01a3(0x24f)]),{'id':_0x276ca0['attrs']['id']+_0x31e2cc['idSuffix']})}):_0x276ca0;})}):_0x1012f4;}function _0x2db091(){const _0x31c8e5=_0x355786;return Math['random']()[_0x31c8e5(0x44f)](0x24)[_0x31c8e5(0x3d9)](0x2,0x8);}_0x4d17f[_0x355786(0x239)]=_0x355786(0x244);var _0x6c6119={'tag':_0x355786(0x32d),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x355786(0x2a9),'viewBox':_0x355786(0x42e),'width':_0x355786(0x206),'height':_0x355786(0x206)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x355786(0x275),'strokeLinecap':_0x355786(0x1d4),'strokeLinejoin':_0x355786(0x1d4),'strokeWidth':1.2}}]},{'tag':_0x355786(0x20d),'attrs':{},'children':[{'tag':_0x355786(0x328),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x355786(0x359),'d':_0x355786(0x263)}}]}]}],'defIds':[_0x355786(0x1d3)]},_0x1fd007=_0x3e4dc4[_0x355786(0x3b1)](function(_0x568eeb,_0x400cf5){const _0x56192d=_0x355786;return _0x3e4dc4[_0x56192d(0x3d7)](_0x4d17f,Object['assign']({},_0x568eeb,{'id':'off-line-icon','ref':_0x400cf5,'icon':_0x6c6119}));});_0x1fd007['displayName']=_0x355786(0x205);var _0x4d3aaa={'tag':_0x355786(0x32d),'attrs':{'xmlns':_0x355786(0x1ea),'fill':_0x355786(0x2a9),'viewBox':'0\x200\x2017\x2016','width':_0x355786(0x206),'height':_0x355786(0x206)},'children':[{'tag':'g','attrs':{'clipPath':_0x355786(0x426)},'children':[{'tag':_0x355786(0x42f),'attrs':{'stroke':_0x355786(0x2fd),'d':_0x355786(0x24c),'strokeLinecap':'round','strokeLinejoin':_0x355786(0x1d4),'strokeWidth':1.2}}]},{'tag':_0x355786(0x20d),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x355786(0x326)},'children':[{'tag':_0x355786(0x42f),'attrs':{'fill':_0x355786(0x359),'d':_0x355786(0x263),'transform':_0x355786(0x380)}}]}]}],'defIds':[_0x355786(0x326)]},_0x470b72=_0x3e4dc4[_0x355786(0x3b1)](function(_0x2ab123,_0x11e95f){const _0x4de545=_0x355786;return _0x3e4dc4[_0x4de545(0x3d7)](_0x4d17f,Object['assign']({},_0x2ab123,{'id':_0x4de545(0x360),'ref':_0x11e95f,'icon':_0x4d3aaa}));});_0x470b72[_0x355786(0x239)]=_0x355786(0x402);function _0x11dcdc(_0x4b490b){const _0x670543=_0x355786;switch(_0x4b490b){case _0x39934c[_0x670543(0x2f1)]['OFFLINE']:return _0x670543(0x31a);case _0x39934c[_0x670543(0x2f1)]['CONFLICT']:return _0x670543(0x37d);case _0x39934c['CollaborationStatus'][_0x670543(0x3cb)]:return'collabStatus.fetchMiss';case _0x39934c[_0x670543(0x2f1)]['NOT_COLLAB']:return _0x670543(0x2a7);case _0x39934c[_0x670543(0x2f1)][_0x670543(0x3ba)]:case _0x39934c['CollaborationStatus'][_0x670543(0x2df)]:return'collabStatus.syncing';case _0x39934c['CollaborationStatus'][_0x670543(0x28a)]:case _0x39934c[_0x670543(0x2f1)][_0x670543(0x22e)]:return'collabStatus.synced';}}function _0x55e610(_0x3f8ddb){const _0x129f81=_0x355786,{status$:_0x2eb6f1}=_0x3f8ddb,_0x34a50f=_0x12901c[_0x129f81(0x340)](_0x2eb6f1,_0x39934c[_0x129f81(0x2f1)][_0x129f81(0x2c9)]),_0x1652df=_0x12901c[_0x129f81(0x1df)](_0x156835[_0x129f81(0x317)]),_0x1d91a3=_0x12901c[_0x129f81(0x1df)](_0x39934c['CollaborationSessionService']),_0x4845ec=_0x34a50f!==_0x39934c[_0x129f81(0x2f1)][_0x129f81(0x236)],_0x52bde3=_0x1652df['t'](_0x11dcdc(_0x34a50f)),_0x31317c=_0x4845ec?_0x5a3911[_0x129f81(0x284)](_0x470b72,{}):_0x5a3911[_0x129f81(0x284)](_0x1fd007,{}),_0x362e10=_0x3e4dc4[_0x129f81(0x453)](()=>{const _0x68fc11=_0x129f81;_0x4845ec||_0x1d91a3[_0x68fc11(0x353)]();},[_0x4845ec,_0x1d91a3]);function _0x4b78f9(){const _0x357e1e=_0x129f81;return _0x5a3911['jsxs'](_0x357e1e(0x358),{'className':_0x357e1e(0x2bd),'onClick':_0x362e10,'children':[_0x5a3911[_0x357e1e(0x284)]('div',{'className':_0x35690f[_0x357e1e(0x28d)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x4845ec,'univer-text-red-500':!_0x4845ec}),'children':_0x31317c}),_0x5a3911[_0x357e1e(0x284)](_0x357e1e(0x358),{'className':_0x357e1e(0x311),'children':_0x52bde3})]});}return _0x4845ec?_0x4b78f9():_0x5a3911[_0x129f81(0x284)](_0x35690f['Tooltip'],{'title':_0x1652df['t'](_0x129f81(0x457)),'children':_0x4b78f9()});}var _0x52ad58=Object['getOwnPropertyDescriptor'],_0x1254c7=(_0x38c999,_0x2c8f2d,_0x3e0c8e,_0x374adc)=>{for(var _0x107d83=_0x374adc>0x1?void 0x0:_0x374adc?_0x52ad58(_0x2c8f2d,_0x3e0c8e):_0x2c8f2d,_0x1a4f2a=_0x38c999['length']-0x1,_0x4bd982;_0x1a4f2a>=0x0;_0x1a4f2a--)(_0x4bd982=_0x38c999[_0x1a4f2a])&&(_0x107d83=_0x4bd982(_0x107d83)||_0x107d83);return _0x107d83;},_0x351a85=(_0x52c8e5,_0x445eb1)=>(_0x3237f5,_0x16a07f)=>_0x445eb1(_0x3237f5,_0x16a07f,_0x52c8e5);_0xe806e8[_0x355786(0x375)]=class extends _0x156835['Disposable']{constructor(_0x21d84b,_0x4a9730,_0x3b36a9,_0x29d136){const _0x2375d8=_0x355786;super(),_0x595003(this,_0x2375d8(0x35b),new _0xa3668d[(_0x2375d8(0x3fb))](_0x39934c[_0x2375d8(0x2f1)][_0x2375d8(0x2c9)])),(this[_0x2375d8(0x294)]=_0x21d84b,this[_0x2375d8(0x42b)]=_0x4a9730,this[_0x2375d8(0x38b)]=_0x3b36a9,this[_0x2375d8(0x43b)]=_0x29d136,this[_0x2375d8(0x397)](),this['_initStatusListener']());}[_0x355786(0x31b)](){const _0x3b1d50=_0x355786;this[_0x3b1d50(0x377)](this[_0x3b1d50(0x294)][_0x3b1d50(0x225)][_0x3b1d50(0x43f)](_0xa3668d['switchMap'](()=>{const _0x2f7189=_0x3b1d50,_0x4fb976=this[_0x2f7189(0x294)][_0x2f7189(0x461)]();return _0x4fb976?this[_0x2f7189(0x38b)]['getCollabEntity$'](_0x4fb976[_0x2f7189(0x3c9)]()):_0xa3668d['of'](null);}),_0xa3668d['switchMap'](_0x4b55f2=>_0x4b55f2?_0x4b55f2[_0x3b1d50(0x314)]:_0xa3668d['of'](_0x39934c[_0x3b1d50(0x2f1)][_0x3b1d50(0x2c9)])))[_0x3b1d50(0x3c1)](_0x597c12=>{const _0x52906b=_0x3b1d50;this['_status$'][_0x52906b(0x2b2)](_0x597c12);}));}[_0x355786(0x397)](){const _0x56c1ac=_0x355786;this['disposeWithMe'](this[_0x56c1ac(0x43b)][_0x56c1ac(0x2b8)](_0x12901c['BuiltInUIPart']['HEADER_MENU'],()=>_0x12901c[_0x56c1ac(0x265)](_0x131a43({'status$':this[_0x56c1ac(0x35b)][_0x56c1ac(0x2d4)]()}),this[_0x56c1ac(0x42b)])));}},_0xe806e8[_0x355786(0x375)]=_0x1254c7([_0x351a85(0x0,_0x156835[_0x355786(0x200)]),_0x351a85(0x1,_0x156835[_0x355786(0x41b)](_0x156835['Injector'])),_0x351a85(0x2,_0x156835[_0x355786(0x41b)](_0x39934c['CollaborationController'])),_0x351a85(0x3,_0x12901c[_0x355786(0x46d)])],_0xe806e8[_0x355786(0x375)]);function _0x131a43(_0xecd2d5){const {status$:_0x5ba536}=_0xecd2d5;return function(){const _0x1e444a=_0x5938;return _0x5a3911[_0x1e444a(0x284)](_0x55e610,{'status$':_0x5ba536});};}var _0x54d6ac=Object['getOwnPropertyDescriptor'],_0xf1cf24=(_0x45f128,_0x5a6282,_0x56d2bb,_0x2ec4b1)=>{const _0x5deaf3=_0x355786;for(var _0x26e47c=_0x2ec4b1>0x1?void 0x0:_0x2ec4b1?_0x54d6ac(_0x5a6282,_0x56d2bb):_0x5a6282,_0x509921=_0x45f128[_0x5deaf3(0x3a0)]-0x1,_0xafc0d2;_0x509921>=0x0;_0x509921--)(_0xafc0d2=_0x45f128[_0x509921])&&(_0x26e47c=_0xafc0d2(_0x26e47c)||_0x26e47c);return _0x26e47c;},_0x52fb91=(_0x408757,_0x5a9372)=>(_0xc2665f,_0x19cb36)=>_0x5a9372(_0xc2665f,_0x19cb36,_0x408757);let _0x4a99ea=class extends _0x156835['Disposable']{constructor(_0x44e22e,_0x2bd5d7,_0x1b56ed,_0x5a6ea5,_0x1a8815,_0x3401bd){const _0x4747a6=_0x355786;super(),this[_0x4747a6(0x36a)]=_0x44e22e,this['_localCacheService']=_0x2bd5d7,this['_collaborationUIEventService']=_0x1b56ed,this[_0x4747a6(0x2f4)]=_0x5a6ea5,this['_notificationService']=_0x1a8815,this[_0x4747a6(0x25b)]=_0x3401bd,this[_0x4747a6(0x361)](),this[_0x4747a6(0x2cd)]();}['_setupBeforeClosingHandler'](){const _0x1a5fe8=_0x355786;this[_0x1a5fe8(0x377)](this[_0x1a5fe8(0x36a)]['registerBeforeClose'](()=>{const _0x3c5d4c=_0x1a5fe8;if(this[_0x3c5d4c(0x389)][_0x3c5d4c(0x3c8)][_0x3c5d4c(0x355)])return this[_0x3c5d4c(0x25b)]['t'](_0x3c5d4c(0x3d2));}));}['_initEvent'](){const _0x37f047=_0x355786;this[_0x37f047(0x377)](this[_0x37f047(0x2b7)]['event$']['subscribe'](_0x34c260=>{const _0x1c9a80=_0x37f047;_0x34c260['id']===_0x39934c[_0x1c9a80(0x238)][_0x1c9a80(0x24a)]&&this[_0x1c9a80(0x2f4)][_0x1c9a80(0x268)]({'type':_0x35690f[_0x1c9a80(0x260)]['Warning'],'content':this[_0x1c9a80(0x25b)]['t'](_0x1c9a80(0x27f))}),_0x34c260['id']===_0x39934c[_0x1c9a80(0x238)]['CLOSE_ROOM']&&this[_0x1c9a80(0x2f4)]['show']({'type':_0x35690f[_0x1c9a80(0x260)][_0x1c9a80(0x231)],'content':this[_0x1c9a80(0x25b)]['t'](_0x1c9a80(0x2cb))}),_0x34c260['id']===_0x39934c[_0x1c9a80(0x238)]['PERMISSION_DENIED']&&this['_notificationService']['show']({'title':this[_0x1c9a80(0x25b)]['t'](_0x1c9a80(0x363)),'content':this[_0x1c9a80(0x25b)]['t'](_0x1c9a80(0x3b8)),'type':_0x1c9a80(0x234),'duration':0x0}),_0x34c260['id']===_0x39934c[_0x1c9a80(0x238)][_0x1c9a80(0x362)]&&this[_0x1c9a80(0x2f4)][_0x1c9a80(0x268)]({'type':_0x35690f['MessageType'][_0x1c9a80(0x34c)],'content':this[_0x1c9a80(0x25b)]['t'](_0x1c9a80(0x2cb))+'('+_0x34c260['data']+')'}),_0x34c260['id']===_0x39934c[_0x1c9a80(0x238)][_0x1c9a80(0x396)]&&this[_0x1c9a80(0x2f4)][_0x1c9a80(0x268)]({'type':_0x35690f[_0x1c9a80(0x260)][_0x1c9a80(0x231)],'content':this[_0x1c9a80(0x25b)]['t'](_0x34c260[_0x1c9a80(0x293)]||'')}),_0x34c260['id']===_0x39934c[_0x1c9a80(0x238)][_0x1c9a80(0x41e)]&&this[_0x1c9a80(0x2f4)][_0x1c9a80(0x268)]({'type':_0x35690f[_0x1c9a80(0x260)]['Warning'],'content':this[_0x1c9a80(0x25b)]['t'](_0x1c9a80(0x22c))}),_0x34c260['id']===_0x39934c[_0x1c9a80(0x238)][_0x1c9a80(0x2c2)]&&this[_0x1c9a80(0x2f4)][_0x1c9a80(0x268)]({'type':_0x35690f[_0x1c9a80(0x260)][_0x1c9a80(0x34c)],'content':this[_0x1c9a80(0x25b)]['t'](_0x1c9a80(0x350))}),_0x34c260['id']===_0x39934c['CollaborationUIEventId'][_0x1c9a80(0x30d)]&&this[_0x1c9a80(0x2f4)][_0x1c9a80(0x268)]({'type':_0x35690f[_0x1c9a80(0x260)]['Error'],'content':this[_0x1c9a80(0x25b)]['t']('session.collaboration-timeout')});}));}};_0x4a99ea=_0xf1cf24([_0x52fb91(0x0,_0x12901c[_0x355786(0x3bd)]),_0x52fb91(0x1,_0x39934c[_0x355786(0x451)]),_0x52fb91(0x2,_0x156835[_0x355786(0x41b)](_0x39934c[_0x355786(0x386)])),_0x52fb91(0x3,_0x12901c[_0x355786(0x3b3)]),_0x52fb91(0x4,_0x12901c[_0x355786(0x390)]),_0x52fb91(0x5,_0x156835[_0x355786(0x41b)](_0x156835['LocaleService']))],_0x4a99ea);const _0x27eaec=_0x355786(0x246),_0x2f1e3c={},_0x253ff0=_0x156835[_0x355786(0x2ae)]('uni.network.url-service');var _0xe33d5d=Object[_0x355786(0x45e)],_0x430997=(_0x222290,_0x587d90,_0x135989,_0x13924b)=>{for(var _0x32db3b=_0x13924b>0x1?void 0x0:_0x13924b?_0xe33d5d(_0x587d90,_0x135989):_0x587d90,_0x488bec=_0x222290['length']-0x1,_0x680c69;_0x488bec>=0x0;_0x488bec--)(_0x680c69=_0x222290[_0x488bec])&&(_0x32db3b=_0x680c69(_0x32db3b)||_0x32db3b);return _0x32db3b;},_0x3d4513=(_0x157d62,_0x3f4523)=>(_0x59f6d6,_0x478ac0)=>_0x3f4523(_0x59f6d6,_0x478ac0,_0x157d62);_0xe806e8['CollaborationDataLoaderController']=class extends _0x156835[_0x355786(0x3f3)]{constructor(_0x22085d,_0x1ade7e,_0x2082de,_0x180533,_0x1c32d0){const _0x3a1d51=_0x355786;super(),this['_urlService']=_0x22085d,this[_0x3a1d51(0x310)]=_0x1ade7e,this[_0x3a1d51(0x404)]=_0x2082de,this['_dataLoaderService']=_0x180533,_0x1c32d0?_0x1c32d0==null||_0x1c32d0[_0x3a1d51(0x373)]()[_0x3a1d51(0x3e0)](()=>this['_init']()):(this[_0x3a1d51(0x310)][_0x3a1d51(0x2e9)](_0x3a1d51(0x3f9),_0x3a1d51(0x435)),this[_0x3a1d51(0x41a)]());}async['_init'](){const _0x12fda4=_0x355786,_0x365e14=this[_0x12fda4(0x3d6)]['getParam']('unit'),_0x50cd4a=this[_0x12fda4(0x3d6)][_0x12fda4(0x3f5)](_0x12fda4(0x300)),_0x1a7a1b=this[_0x12fda4(0x3d6)]['getParam'](_0x12fda4(0x387));if(!_0x365e14||!_0x50cd4a){this[_0x12fda4(0x310)]['debug']('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x130f1c=await this['_dataLoaderService'][_0x12fda4(0x39a)](_0x365e14,Number(_0x50cd4a),_0x1a7a1b);_0x130f1c&&_0x130f1c instanceof _0x156835[_0x12fda4(0x3ff)]&&this[_0x12fda4(0x3df)](_0x130f1c);}async[_0x355786(0x3df)](_0x242096){const _0x2bc579=_0x355786;await this[_0x2bc579(0x454)](_0x242096),_0x242096[_0x2bc579(0x410)]['pipe'](_0xa3668d['takeUntil'](this[_0x2bc579(0x3c7)]))[_0x2bc579(0x3c1)](_0xd0a129=>{const _0x28afb9=_0x2bc579;_0xd0a129&&this[_0x28afb9(0x2a1)](_0xd0a129);}),this[_0x2bc579(0x3d6)][_0x2bc579(0x460)][_0x2bc579(0x43f)](_0xa3668d['takeUntil'](this[_0x2bc579(0x3c7)]))[_0x2bc579(0x3c1)](()=>this[_0x2bc579(0x454)](_0x242096));}[_0x355786(0x2a1)](_0x2ac8bc,_0x140284=!0x1){const _0x451641=_0x355786,_0x126c29=this['_urlService'][_0x451641(0x3f5)](_0x451641(0x387));_0x2ac8bc[_0x451641(0x34e)]()!==_0x126c29&&this['_urlService'][_0x451641(0x39f)](_0x451641(0x387),_0x2ac8bc[_0x451641(0x34e)](),_0x140284);}async[_0x355786(0x454)](_0x583407){const _0x14ad49=_0x355786;var _0x15fad9;const _0x4684c7=this[_0x14ad49(0x3d6)][_0x14ad49(0x3f5)](_0x14ad49(0x387));if(!_0x4684c7||!_0x583407[_0x14ad49(0x33d)](_0x4684c7)){const _0x1c8dfb=_0x583407['getUnhiddenWorksheets']()[0x0],_0x2a39db=_0x583407[_0x14ad49(0x33d)](_0x1c8dfb);if(!_0x2a39db)return;this[_0x14ad49(0x2a1)](_0x2a39db,!0x0),await this[_0x14ad49(0x404)]['executeCommand'](_0x14b3ed[_0x14ad49(0x28f)]['id'],{'unitId':_0x583407[_0x14ad49(0x3c9)](),'subUnitId':_0x1c8dfb});return;}((_0x15fad9=_0x583407[_0x14ad49(0x279)]())==null?void 0x0:_0x15fad9[_0x14ad49(0x34e)]())!==_0x4684c7&&await this['_commandService'][_0x14ad49(0x332)](_0x14b3ed[_0x14ad49(0x28f)]['id'],{'unitId':_0x583407[_0x14ad49(0x3c9)](),'subUnitId':_0x4684c7});}},_0xe806e8[_0x355786(0x3a6)]=_0x430997([_0x3d4513(0x0,_0x253ff0),_0x3d4513(0x1,_0x156835['ILogService']),_0x3d4513(0x2,_0x156835['ICommandService']),_0x3d4513(0x3,_0x156835[_0x355786(0x41b)](_0x39934c[_0x355786(0x394)])),_0x3d4513(0x4,_0x156835[_0x355786(0x228)](_0x5cbe5a['IRemoteInstanceService']))],_0xe806e8[_0x355786(0x3a6)]);var _0x2d807b=Object[_0x355786(0x45e)],_0x56db66=(_0x5db8cc,_0x32361f,_0x4c6e09,_0x35f8ac)=>{const _0x4d75da=_0x355786;for(var _0x2133c3=_0x35f8ac>0x1?void 0x0:_0x35f8ac?_0x2d807b(_0x32361f,_0x4c6e09):_0x32361f,_0x5b1c82=_0x5db8cc[_0x4d75da(0x3a0)]-0x1,_0x5cefa1;_0x5b1c82>=0x0;_0x5b1c82--)(_0x5cefa1=_0x5db8cc[_0x5b1c82])&&(_0x2133c3=_0x5cefa1(_0x2133c3)||_0x2133c3);return _0x2133c3;},_0x178bc8=(_0x1215d4,_0x1a0cbb)=>(_0x229fc0,_0x5b50b8)=>_0x1a0cbb(_0x229fc0,_0x5b50b8,_0x1215d4);let _0x366915=class{constructor(_0x19f3c5,_0x156762,_0x1df0c7){const _0x3953e7=_0x355786;this['_injector']=_0x19f3c5,this[_0x3953e7(0x42c)]=_0x156762,this['_renderManagerService']=_0x1df0c7;}[_0x355786(0x344)](_0x4dfd12){const _0xf30ad2=_0x355786;this[_0xf30ad2(0x223)](_0x4dfd12),this[_0xf30ad2(0x2db)](_0x4dfd12);}[_0x355786(0x2d3)](_0x1e5d85){const _0x15a520=_0x355786,{unitID:_0x505225}=_0x1e5d85,_0x44a496=this[_0x15a520(0x289)][_0x15a520(0x307)](_0x505225)['with'](_0x53bcf9['DocIMEInputManagerService']),{redoCache:_0x592f7f}=_0x44a496[_0x15a520(0x266)]();if(_0x592f7f['length']===0x0)return _0x1e5d85;let _0x218d97=_0x156835[_0x15a520(0x338)]['deepClone'](_0x1e5d85[_0x15a520(0x384)][0x0]);for(let _0x2cb79c=0x0;_0x2cb79c<_0x592f7f[_0x15a520(0x3a0)];_0x2cb79c++){const _0x1ef9f7={'id':_0x15a520(0x31c),'params':{..._0x592f7f[_0x2cb79c]}},_0x52659d=this[_0x15a520(0x42c)][_0x15a520(0x306)](_0x218d97,_0x1ef9f7,!0x1);if(_0x154a7b[_0x15a520(0x369)](_0x52659d))throw _0x52659d[_0x15a520(0x234)];_0x218d97=_0x52659d[_0x15a520(0x26f)];}return{..._0x156835['Tools'][_0x15a520(0x465)](_0x1e5d85),'mutations':[_0x218d97]};}[_0x355786(0x223)](_0x3814c0){const _0x520dac=_0x355786,{unitID:_0x49ce24}=_0x3814c0,_0x546a6f=this[_0x520dac(0x289)][_0x520dac(0x307)](_0x49ce24)['with'](_0x53bcf9[_0x520dac(0x38a)]),{undoCache:_0x3fbaa1,redoCache:_0x4e6a8d}=_0x546a6f[_0x520dac(0x266)]();if(_0x3fbaa1['length']===0x0||_0x4e6a8d[_0x520dac(0x3a0)]===0x0)return;const _0x284814=[],_0x10791c=[];let _0x678133=_0x156835[_0x520dac(0x338)][_0x520dac(0x465)](_0x3814c0[_0x520dac(0x384)][0x0]),_0x1e1b3d=_0x156835['Tools'][_0x520dac(0x465)](_0x3814c0[_0x520dac(0x384)][0x0]);for(let _0x4cef91=_0x3fbaa1[_0x520dac(0x3a0)]-0x1;_0x4cef91>=0x0;_0x4cef91--){const _0x20e511={'id':_0x520dac(0x31c),'params':{..._0x3fbaa1[_0x4cef91]}},_0x588b6e={'id':'doc.mutation.rich-text-editing','params':{..._0x4e6a8d[_0x4cef91]}},_0x3823f6=this['_transformService'][_0x520dac(0x306)](_0x678133,_0x20e511,!0x1),_0x58d051=this['_transformService'][_0x520dac(0x306)](_0x1e1b3d,_0x588b6e,!0x1);if(_0x154a7b[_0x520dac(0x369)](_0x3823f6))throw _0x3823f6[_0x520dac(0x234)];if(_0x154a7b[_0x520dac(0x369)](_0x58d051))throw _0x58d051['error'];_0x284814[_0x520dac(0x232)](_0x3823f6['m2Prime'][_0x520dac(0x24d)]),_0x10791c[_0x520dac(0x232)](_0x58d051[_0x520dac(0x3cc)]['params']),_0x678133=_0x3823f6[_0x520dac(0x26f)],_0x1e1b3d=_0x58d051[_0x520dac(0x26f)];}_0x546a6f[_0x520dac(0x354)]({'undoCache':_0x284814,'redoCache':_0x10791c});}[_0x355786(0x2db)](_0x5db33c){const _0x401e00=_0x355786,{unitID:_0xb99eec}=_0x5db33c,_0x4507de=this[_0x401e00(0x289)][_0x401e00(0x307)](_0xb99eec)[_0x401e00(0x3ec)](_0x53bcf9['DocIMEInputManagerService']),_0x507ed5=_0x4507de[_0x401e00(0x21f)]();if(_0x507ed5==null)return;const _0x1e30f2=[{'id':_0x401e00(0x31c),'params':{'unitId':_0x5db33c[_0x401e00(0x438)],'actions':null,'textRanges':[_0x507ed5]}}],_0x3d2150=this[_0x401e00(0x42c)][_0x401e00(0x427)](_0x5db33c,_0x1e30f2);if(!_0x154a7b[_0x401e00(0x1e6)](_0x3d2150))throw _0x3d2150[_0x401e00(0x234)];const _0x15f635=_0x3d2150[_0x401e00(0x3cc)][0x0][_0x401e00(0x24d)][_0x401e00(0x395)];Array[_0x401e00(0x202)](_0x15f635)&&_0x15f635['length']&&_0x4507de[_0x401e00(0x3e9)](_0x15f635[0x0]);}};_0x366915=_0x56db66([_0x178bc8(0x0,_0x156835['Inject'](_0x156835[_0x355786(0x28c)])),_0x178bc8(0x1,_0x154a7b[_0x355786(0x1f2)]),_0x178bc8(0x2,_0x267da1[_0x355786(0x1e5)])],_0x366915);var _0x4992e4=Object[_0x355786(0x45e)],_0x51478f=(_0x2a7558,_0x332b40,_0x4ba496,_0x17d0be)=>{const _0x49c364=_0x355786;for(var _0x2e8947=_0x17d0be>0x1?void 0x0:_0x17d0be?_0x4992e4(_0x332b40,_0x4ba496):_0x332b40,_0x1c8dd4=_0x2a7558[_0x49c364(0x3a0)]-0x1,_0x3009a7;_0x1c8dd4>=0x0;_0x1c8dd4--)(_0x3009a7=_0x2a7558[_0x1c8dd4])&&(_0x2e8947=_0x3009a7(_0x2e8947)||_0x2e8947);return _0x2e8947;},_0x1baf7d=(_0x3f6114,_0x53897e)=>(_0xfc0c2,_0x5f345c)=>_0x53897e(_0xfc0c2,_0x5f345c,_0x3f6114);let _0x6da700=class{constructor(_0x2cf9a8,_0x1f86ab,_0x4c5b15){const _0x1633db=_0x355786;this[_0x1633db(0x42b)]=_0x2cf9a8,this[_0x1633db(0x42c)]=_0x1f86ab,this[_0x1633db(0x249)]=_0x4c5b15;}[_0x355786(0x2ca)](_0x4a9937){const _0x48521a=_0x355786;this[_0x48521a(0x43e)](_0x4a9937);}[_0x355786(0x2d3)](_0x4cfe6b){const _0x215e67=_0x355786,{unitID:_0x12ca0d}=_0x4cfe6b,{collaboration:_0x139f82}=this[_0x215e67(0x249)][_0x215e67(0x3b0)](_0x12ca0d);if(_0x139f82['length']===0x0)return _0x4cfe6b;let _0x3ad417=_0x156835[_0x215e67(0x338)][_0x215e67(0x465)](_0x4cfe6b[_0x215e67(0x384)][0x0]);for(let _0x25d309=0x0;_0x25d309<_0x139f82[_0x215e67(0x3a0)];_0x25d309++){const _0x3dd201={'id':_0x215e67(0x31c),'params':{'unitId':_0x139f82[_0x25d309][_0x215e67(0x1ed)],..._0x139f82[_0x25d309][_0x215e67(0x253)]}},_0x35aaa2=this['_transformService']['transformMutation'](_0x3ad417,_0x3dd201,!0x1);if(_0x154a7b[_0x215e67(0x369)](_0x35aaa2))throw _0x35aaa2[_0x215e67(0x234)];_0x3ad417=_0x35aaa2['m1Prime'];}return{..._0x156835['Tools'][_0x215e67(0x465)](_0x4cfe6b),'mutations':[_0x3ad417]};}[_0x355786(0x43e)](_0x382eeb){const _0x3b17da=_0x355786,{unitID:_0x161527}=_0x382eeb,{history:_0x3762e8,collaboration:_0x342432}=this['_docStateChangeManagerService']['getStateCache'](_0x161527);if(_0x3762e8[_0x3b17da(0x3a0)]===0x0&&_0x342432['length']===0x0)return;const _0x343c7f=[],_0x41e855=[];let _0x440dcc=_0x156835[_0x3b17da(0x338)][_0x3b17da(0x465)](_0x382eeb[_0x3b17da(0x384)][0x0]),_0x21edb3=_0x156835[_0x3b17da(0x338)][_0x3b17da(0x465)](_0x382eeb['mutations'][0x0]);for(let _0x200e5e=_0x3762e8[_0x3b17da(0x3a0)]-0x1;_0x200e5e>=0x0;_0x200e5e--){const _0x218f5d={'id':_0x3b17da(0x31c),'params':{'unitId':_0x3762e8[_0x200e5e]['unitId'],..._0x3762e8[_0x200e5e][_0x3b17da(0x216)]}},_0x4ed943={'id':_0x3b17da(0x31c),'params':{'unitId':_0x3762e8[_0x200e5e]['unitId'],..._0x3762e8[_0x200e5e][_0x3b17da(0x253)]}},_0x2ba1da=this[_0x3b17da(0x42c)][_0x3b17da(0x306)](_0x440dcc,_0x218f5d,!0x1),_0x4b1ce9=this[_0x3b17da(0x42c)][_0x3b17da(0x306)](_0x21edb3,_0x4ed943,!0x1);if(_0x154a7b[_0x3b17da(0x369)](_0x2ba1da))throw _0x2ba1da[_0x3b17da(0x234)];if(_0x154a7b[_0x3b17da(0x369)](_0x4b1ce9))throw _0x4b1ce9['error'];_0x343c7f[_0x3b17da(0x232)]({..._0x3762e8[_0x200e5e],'undoState':_0x2ba1da['m2Prime'][_0x3b17da(0x24d)],'redoState':_0x4b1ce9[_0x3b17da(0x3cc)][_0x3b17da(0x24d)]}),_0x440dcc=_0x2ba1da[_0x3b17da(0x26f)],_0x21edb3=_0x4b1ce9[_0x3b17da(0x26f)];}_0x440dcc=_0x156835[_0x3b17da(0x338)][_0x3b17da(0x465)](_0x382eeb[_0x3b17da(0x384)][0x0]),_0x21edb3=_0x156835[_0x3b17da(0x338)]['deepClone'](_0x382eeb[_0x3b17da(0x384)][0x0]);for(let _0x5e7f35=_0x342432['length']-0x1;_0x5e7f35>=0x0;_0x5e7f35--){const _0x2c41d6={'id':_0x3b17da(0x31c),'params':{'unitId':_0x342432[_0x5e7f35]['unitId'],..._0x342432[_0x5e7f35][_0x3b17da(0x216)]}},_0x1f9ef6={'id':_0x3b17da(0x31c),'params':{'unitId':_0x342432[_0x5e7f35][_0x3b17da(0x1ed)],..._0x342432[_0x5e7f35][_0x3b17da(0x253)]}},_0x380cbd=this[_0x3b17da(0x42c)]['transformMutation'](_0x440dcc,_0x2c41d6,!0x1),_0x297b3c=this[_0x3b17da(0x42c)]['transformMutation'](_0x21edb3,_0x1f9ef6,!0x1);if(_0x154a7b[_0x3b17da(0x369)](_0x380cbd))throw _0x380cbd[_0x3b17da(0x234)];if(_0x154a7b[_0x3b17da(0x369)](_0x297b3c))throw _0x297b3c[_0x3b17da(0x234)];_0x41e855[_0x3b17da(0x232)]({..._0x342432[_0x5e7f35],'undoState':_0x380cbd[_0x3b17da(0x3cc)][_0x3b17da(0x24d)],'redoState':_0x297b3c['m2Prime']['params']}),_0x440dcc=_0x380cbd[_0x3b17da(0x26f)],_0x21edb3=_0x297b3c['m1Prime'];}this[_0x3b17da(0x249)][_0x3b17da(0x3da)](_0x161527,{'history':_0x343c7f,'collaboration':_0x41e855});}};_0x6da700=_0x51478f([_0x1baf7d(0x0,_0x156835[_0x355786(0x41b)](_0x156835[_0x355786(0x28c)])),_0x1baf7d(0x1,_0x154a7b['ITransformService']),_0x1baf7d(0x2,_0x156835[_0x355786(0x41b)](_0x53bcf9['DocStateChangeManagerService']))],_0x6da700);var _0x66b0e8=Object[_0x355786(0x45e)],_0xd30f29=(_0x3e79c4,_0x30317e,_0x12ab73,_0x707471)=>{const _0x48afca=_0x355786;for(var _0xd482db=_0x707471>0x1?void 0x0:_0x707471?_0x66b0e8(_0x30317e,_0x12ab73):_0x30317e,_0x12a33e=_0x3e79c4[_0x48afca(0x3a0)]-0x1,_0x5ed041;_0x12a33e>=0x0;_0x12a33e--)(_0x5ed041=_0x3e79c4[_0x12a33e])&&(_0xd482db=_0x5ed041(_0xd482db)||_0xd482db);return _0xd482db;},_0x8433fb=(_0x4dfb6f,_0x16cc59)=>(_0x35075f,_0x50fd3b)=>_0x16cc59(_0x35075f,_0x50fd3b,_0x4dfb6f);let _0x576ef0=class{constructor(_0x1aef8c,_0x326323){this['_injector']=_0x1aef8c,this['_transformService']=_0x326323;}[_0x355786(0x346)](_0x1a710f){const _0x20017f=_0x355786;var _0xd7eca1;const _0x24d4b7=this['_injector'][_0x20017f(0x26c)](_0x4cfa4b['DocSelectionManagerService']),_0x1915b3=(_0xd7eca1=_0x24d4b7[_0x20017f(0x44c)]())!=null?_0xd7eca1:[];if(_0x1915b3['length']===0x0)return;const _0x18da99=_0x1a710f[_0x20017f(0x438)],_0x597332=[{'id':_0x20017f(0x31c),'params':{'unitId':_0x18da99,'actions':null,'textRanges':_0x1915b3}}],_0x339acc=this[_0x20017f(0x42c)][_0x20017f(0x427)](_0x1a710f,_0x597332);if(!_0x154a7b[_0x20017f(0x1e6)](_0x339acc))throw _0x339acc[_0x20017f(0x234)];const _0x421e21=_0x339acc[_0x20017f(0x3cc)][0x0][_0x20017f(0x24d)][_0x20017f(0x395)];Array[_0x20017f(0x202)](_0x421e21)&&_0x421e21[_0x20017f(0x3a0)]&&_0x24d4b7[_0x20017f(0x469)](_0x421e21,{'unitId':_0x18da99,'subUnitId':_0x18da99},!0x1);}};_0x576ef0=_0xd30f29([_0x8433fb(0x0,_0x156835['Inject'](_0x156835[_0x355786(0x28c)])),_0x8433fb(0x1,_0x154a7b[_0x355786(0x1f2)])],_0x576ef0);var _0x1723f8=Object[_0x355786(0x45e)],_0xa55893=(_0x43ad97,_0x2815e1,_0x3ccd26,_0x39ef6a)=>{const _0x40c6bc=_0x355786;for(var _0x32967e=_0x39ef6a>0x1?void 0x0:_0x39ef6a?_0x1723f8(_0x2815e1,_0x3ccd26):_0x2815e1,_0xb4ff1b=_0x43ad97[_0x40c6bc(0x3a0)]-0x1,_0x26f475;_0xb4ff1b>=0x0;_0xb4ff1b--)(_0x26f475=_0x43ad97[_0xb4ff1b])&&(_0x32967e=_0x26f475(_0x32967e)||_0x32967e);return _0x32967e;},_0x254a20=(_0x1d1ab9,_0x4b4870)=>(_0x303320,_0x495ad9)=>_0x4b4870(_0x303320,_0x495ad9,_0x1d1ab9);let _0x1a5def=class extends _0x156835[_0x355786(0x26b)]{constructor(_0x52915b,_0x502477,_0x43f333,_0x3a7db3,_0x12210,_0x248bef,_0x20ccd6,_0x301164){const _0x488d46=_0x355786;super(),_0x595003(this,_0x488d46(0x35b),new _0xa3668d[(_0x488d46(0x3fb))](_0x39934c[_0x488d46(0x2f1)][_0x488d46(0x2c9)])),(this[_0x488d46(0x249)]=_0x52915b,this[_0x488d46(0x38b)]=_0x502477,this[_0x488d46(0x441)]=_0x43f333,this['_docTransformStateCacheService']=_0x3a7db3,this['_docTransformSelectionsService']=_0x12210,this[_0x488d46(0x2d8)]=_0x248bef,this['_messageService']=_0x20ccd6,this[_0x488d46(0x25b)]=_0x301164,this[_0x488d46(0x1f4)]());}[_0x355786(0x1f4)](){const _0x52762d=_0x355786;this[_0x52762d(0x377)](this[_0x52762d(0x38b)][_0x52762d(0x3e2)][_0x52762d(0x3c1)](_0x456044=>{const _0x5d475d=_0x52762d,_0x1695c6=this['_docStateChangeManagerService']['docStateChange$'][_0x5d475d(0x3c1)](_0x420cb1=>{const _0x54f100=_0x5d475d;if(_0x420cb1==null)return;const {unitId:_0x13028a,redoState:_0x5f21f6,commandId:_0x4820a3}=_0x420cb1;if(_0x13028a!==_0x456044[_0x54f100(0x438)])return;const _0x2ad1fa={'id':_0x4820a3,'type':_0x156835[_0x54f100(0x1d5)][_0x54f100(0x28e)],'params':{'unitId':_0x13028a,'actions':_0x5f21f6['actions'],'textRanges':null}};_0x456044[_0x54f100(0x287)](_0x2ad1fa);});if(_0x456044['disposeWithMe'](_0x1695c6),_0x456044 instanceof _0x39934c[_0x5d475d(0x255)]){const _0xe27061={'onTransformIME':_0x30a304=>this['_docTransformIMECacheService'][_0x5d475d(0x344)](_0x30a304),'onTransformState':_0x5cdcf9=>this[_0x5d475d(0x1da)][_0x5d475d(0x2ca)](_0x5cdcf9),'onTransformSelections':_0x47e7b3=>this['_docTransformSelectionsService'][_0x5d475d(0x346)](_0x47e7b3),'onSyncEditingCollabCursor':_0x3af31f=>this[_0x5d475d(0x2d8)]['syncEditingCollabCursor'](_0x3af31f),'onTransformRemoteChangesetByIMECache':_0x535661=>this['_docTransformIMECacheService'][_0x5d475d(0x2d3)](_0x535661),'onTransformRemoteChangesetByStateCache':_0x3e8d68=>this[_0x5d475d(0x1da)][_0x5d475d(0x2d3)](_0x3e8d68)};_0x456044[_0x5d475d(0x23b)](_0xe27061);}}));}};_0x1a5def=_0xa55893([_0x254a20(0x0,_0x156835[_0x355786(0x41b)](_0x53bcf9[_0x355786(0x3f6)])),_0x254a20(0x1,_0x156835['Inject'](_0x39934c[_0x355786(0x271)])),_0x254a20(0x2,_0x156835[_0x355786(0x41b)](_0x366915)),_0x254a20(0x3,_0x156835['Inject'](_0x6da700)),_0x254a20(0x4,_0x156835[_0x355786(0x41b)](_0x576ef0)),_0x254a20(0x5,_0x156835[_0x355786(0x41b)](_0x1c1a42)),_0x254a20(0x6,_0x12901c['IMessageService']),_0x254a20(0x7,_0x156835['Inject'](_0x156835[_0x355786(0x317)]))],_0x1a5def);var _0x2b0428=Object[_0x355786(0x45e)],_0x2719c0=(_0x531038,_0x221bb4,_0x5e2a1c,_0x23036c)=>{for(var _0x1ecdcd=_0x23036c>0x1?void 0x0:_0x23036c?_0x2b0428(_0x221bb4,_0x5e2a1c):_0x221bb4,_0xb034df=_0x531038['length']-0x1,_0x537e64;_0xb034df>=0x0;_0xb034df--)(_0x537e64=_0x531038[_0xb034df])&&(_0x1ecdcd=_0x537e64(_0x1ecdcd)||_0x1ecdcd);return _0x1ecdcd;},_0x370d77=(_0x4a5b2b,_0x1d8908)=>(_0x4f3f7b,_0xef082e)=>_0x1d8908(_0x4f3f7b,_0xef082e,_0x4a5b2b);let _0xd5f66f=class extends _0x156835['Disposable']{constructor(_0x1b241f,_0x492647,_0x3c0438){const _0x1124a9=_0x355786;super(),_0x595003(this,_0x1124a9(0x446),new Map()),_0x595003(this,_0x1124a9(0x41d),new Map()),_0x595003(this,_0x1124a9(0x3af),!0x1),(this[_0x1124a9(0x42a)]=_0x1b241f,this[_0x1124a9(0x3d1)]=_0x492647,this[_0x1124a9(0x2f0)]=_0x3c0438);}[_0x355786(0x1de)](){const _0x59d99f=_0x355786;this[_0x59d99f(0x3af)]=!0x0;}[_0x355786(0x261)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0xacbeea=_0x355786;return this[_0xacbeea(0x41d)];}[_0x355786(0x1f8)](){const _0x2a34d9=_0x355786;this[_0x2a34d9(0x448)]()[_0x2a34d9(0x3e0)](()=>super[_0x2a34d9(0x1f8)]());}async['loadOfflineData'](_0x23b953){const _0x4bed2a=_0x355786;return this[_0x4bed2a(0x3af)]?null:this[_0x4bed2a(0x3d1)]['getItem'](_0x39934c[_0x4bed2a(0x1dd)](_0x23b953));}async[_0x355786(0x371)](_0x5a79d5,_0x286b85){const _0x365b8f=_0x355786;return!!this[_0x365b8f(0x3d1)]['setItem'](_0x5a79d5,_0x286b85);}[_0x355786(0x341)](_0x1d3020,_0x4dfc33,_0x52f4ab,_0x58f100){const _0x423d33=_0x355786,_0x3dc57c=this[_0x423d33(0x2f0)][_0x423d33(0x376)](_0x1d3020);this[_0x423d33(0x446)][_0x423d33(0x330)](_0x1d3020,{'unitID':_0x1d3020,'type':_0x4dfc33,'awaitingChangeset':_0x52f4ab,'mutations':_0x58f100,'rev':_0x3dc57c}),this[_0x423d33(0x41d)]['has'](_0x1d3020)||this[_0x423d33(0x2fb)](_0x1d3020);}[_0x355786(0x2fb)](_0x1b08d9){const _0x1008f2=_0x355786,_0x5eb117=this[_0x1008f2(0x2bb)]();_0x5eb117===0x0?this[_0x1008f2(0x2d1)](_0x1b08d9):this['_saveTaskMap'][_0x1008f2(0x330)](_0x1b08d9,setTimeout(()=>this[_0x1008f2(0x2d1)](_0x1b08d9),_0x5eb117));}['_getSaveTimeout'](){const _0x3a6200=_0x355786;var _0x193cfd;return(_0x193cfd=this[_0x3a6200(0x42a)]['getConfig'](_0x39934c[_0x3a6200(0x425)]))!=null?_0x193cfd:_0x39934c['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0x31e413){const _0x40d1b4=_0x355786,_0x2e5271=this[_0x40d1b4(0x41d)][_0x40d1b4(0x26c)](_0x31e413);return _0x2e5271!==void 0x0&&window[_0x40d1b4(0x3a3)](_0x2e5271),this['_localStorageService'][_0x40d1b4(0x2dc)](_0x39934c[_0x40d1b4(0x1dd)](_0x31e413),this[_0x40d1b4(0x446)][_0x40d1b4(0x26c)](_0x31e413))[_0x40d1b4(0x3e0)](()=>this[_0x40d1b4(0x41d)]['delete'](_0x31e413));}async[_0x355786(0x448)](){const _0x45f4e9=_0x355786,_0x329952=[];this[_0x45f4e9(0x41d)][_0x45f4e9(0x296)]((_0x47f95f,_0x495e11)=>{const _0xcdf583=_0x45f4e9;window[_0xcdf583(0x3a3)](_0x47f95f),_0x329952[_0xcdf583(0x3e4)](this['_saveCache'](_0x495e11)[_0xcdf583(0x3e0)](()=>{const _0x5bd06b=_0xcdf583;this[_0x5bd06b(0x41d)]['delete'](_0x495e11);}));}),await Promise[_0x45f4e9(0x25a)](_0x329952);}};_0xd5f66f=_0x2719c0([_0x370d77(0x0,_0x156835[_0x355786(0x3ed)]),_0x370d77(0x1,_0x156835['ILocalStorageService']),_0x370d77(0x2,_0x156835['Inject'](_0x154a7b[_0x355786(0x201)]))],_0xd5f66f);class _0x229314 extends _0x156835['RxDisposable']{constructor(){const _0x1656d2=_0x355786;super(),_0x595003(this,_0x1656d2(0x460)),this[_0x1656d2(0x460)]=_0xa3668d[_0x1656d2(0x257)](window,'popstate')['pipe'](_0xa3668d[_0x1656d2(0x409)](this[_0x1656d2(0x3c7)]),_0xa3668d[_0x1656d2(0x3dc)](0x1),_0xa3668d[_0x1656d2(0x321)](void 0x0));}[_0x355786(0x39f)](_0x572082,_0x24b8d7,_0x2b9e37=!0x1){const _0x374351=_0x355786,_0xb8968c=new URL(window[_0x374351(0x329)]['href']);_0xb8968c[_0x374351(0x366)][_0x374351(0x330)](_0x572082,_0x24b8d7),_0x2b9e37?window[_0x374351(0x29b)][_0x374351(0x2f9)]('','',_0xb8968c[_0x374351(0x44f)]()):window[_0x374351(0x29b)][_0x374351(0x303)]('','',_0xb8968c[_0x374351(0x44f)]());}[_0x355786(0x2fc)](_0x25fa14,_0x2a460d=!0x1){const _0x30b248=_0x355786,_0x53e456=new URL(window[_0x30b248(0x329)][_0x30b248(0x345)]);_0x53e456[_0x30b248(0x366)]['delete'](_0x25fa14),_0x2a460d?window[_0x30b248(0x29b)][_0x30b248(0x2f9)]('','',_0x53e456['toString']()):window[_0x30b248(0x29b)][_0x30b248(0x303)]('','',_0x53e456[_0x30b248(0x44f)]());}['getParam'](_0x15894f){const _0x2ba7fc=_0x355786;var _0x16c2c3;return(_0x16c2c3=new URL(window[_0x2ba7fc(0x329)][_0x2ba7fc(0x345)])[_0x2ba7fc(0x366)][_0x2ba7fc(0x26c)](_0x15894f))!=null?_0x16c2c3:void 0x0;}}var _0x5be171=Object[_0x355786(0x2c7)],_0x22485b=Object[_0x355786(0x45e)],_0x19d788=(_0x4d75aa,_0x5dc277,_0x536f44)=>_0x5dc277 in _0x4d75aa?_0x5be171(_0x4d75aa,_0x5dc277,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x536f44}):_0x4d75aa[_0x5dc277]=_0x536f44,_0x2ae740=(_0x22931d,_0x15189f,_0x46401e,_0x1a1442)=>{const _0x197549=_0x355786;for(var _0x118d32=_0x1a1442>0x1?void 0x0:_0x1a1442?_0x22485b(_0x15189f,_0x46401e):_0x15189f,_0x17974c=_0x22931d[_0x197549(0x3a0)]-0x1,_0x36512f;_0x17974c>=0x0;_0x17974c--)(_0x36512f=_0x22931d[_0x17974c])&&(_0x118d32=_0x36512f(_0x118d32)||_0x118d32);return _0x118d32;},_0x414350=(_0xa95cfe,_0x3611f)=>(_0x1fae43,_0x1341d1)=>_0x3611f(_0x1fae43,_0x1341d1,_0xa95cfe),_0xbdd672=(_0xe09b4f,_0x4ecc8e,_0x1eebaa)=>_0x19d788(_0xe09b4f,_0x4ecc8e+'',_0x1eebaa);const _0x1f3a8c=_0x355786(0x2b3);_0xe806e8[_0x355786(0x38f)]=class extends _0x156835[_0x355786(0x2d5)]{constructor(_0x369a82=_0x2f1e3c,_0x4ae4be,_0x120c3b,_0x3e227b){const _0x7a3a52=_0x355786;super(),this[_0x7a3a52(0x280)]=_0x369a82,this[_0x7a3a52(0x289)]=_0x4ae4be,this[_0x7a3a52(0x42b)]=_0x120c3b,this['_configService']=_0x3e227b;const {..._0x3a4395}=_0x156835['merge']({},_0x2f1e3c,this[_0x7a3a52(0x280)]);this[_0x7a3a52(0x42a)][_0x7a3a52(0x229)](_0x27eaec,_0x3a4395);}[_0x355786(0x421)](){const _0x30b1ca=_0x355786;this['_registerDependencies'](),this[_0x30b1ca(0x1ee)]();}['onRendered'](){const _0xf625f6=_0x355786;this[_0xf625f6(0x385)]();}[_0x355786(0x39c)](){const _0x3a6325=_0x355786;var _0x5c9cdc;const _0x4cc6ca=[[_0x2c5e21],[_0x576ef0],[_0x366915],[_0x6da700],[_0x1c1a42],[_0x253ff0,{'useClass':_0x229314}],[_0x13d443['ISocketService'],{'useClass':_0x13d443[_0x3a6325(0x204)]}],[_0x39934c[_0x3a6325(0x451)],{'useClass':_0xd5f66f}],[_0xe806e8[_0x3a6325(0x375)]],[_0x1a5def],[_0x4a99ea],[_0x31589c],[_0x1b19fd],[_0xe806e8[_0x3a6325(0x3a6)]]];_0x156835[_0x3a6325(0x26d)](this['_injector'],_0x156835[_0x3a6325(0x374)](_0x4cc6ca,(_0x5c9cdc=this[_0x3a6325(0x280)])==null?void 0x0:_0x5c9cdc[_0x3a6325(0x23d)]));}[_0x355786(0x385)](){const _0x5cdd14=_0x355786;this[_0x5cdd14(0x377)](this['_renderManagerService']['registerRenderModule'](_0x156835['UniverInstanceType']['UNIVER_DOC'],[_0x59a0a0])),this[_0x5cdd14(0x377)](this[_0x5cdd14(0x289)][_0x5cdd14(0x39e)](_0x156835['UniverInstanceType']['UNIVER_SHEET'],[_0x133fd9]));}[_0x355786(0x1ee)](){const _0x2af25f=_0x355786;_0x156835[_0x2af25f(0x2b5)](this[_0x2af25f(0x42b)],[[_0x31589c],[_0xe806e8[_0x2af25f(0x375)]],[_0x1a5def],[_0x4a99ea],[_0xe806e8[_0x2af25f(0x3a6)]]]);}},_0xbdd672(_0xe806e8['UniverCollaborationClientUIPlugin'],_0x355786(0x252),_0x1f3a8c),_0xe806e8[_0x355786(0x38f)]=_0x2ae740([_0x156835[_0x355786(0x1e3)](_0x39934c[_0x355786(0x21e)]),_0x414350(0x1,_0x267da1[_0x355786(0x1e5)]),_0x414350(0x2,_0x156835['Inject'](_0x156835[_0x355786(0x28c)])),_0x414350(0x3,_0x156835['IConfigService'])],_0xe806e8[_0x355786(0x38f)]);var _0x41ad15=Object[_0x355786(0x45e)],_0x55481a=(_0x6f0a0b,_0x502c0f,_0x14b4b2,_0xb30c55)=>{const _0x5663f2=_0x355786;for(var _0x1de038=_0xb30c55>0x1?void 0x0:_0xb30c55?_0x41ad15(_0x502c0f,_0x14b4b2):_0x502c0f,_0x3a84cb=_0x6f0a0b[_0x5663f2(0x3a0)]-0x1,_0x497541;_0x3a84cb>=0x0;_0x3a84cb--)(_0x497541=_0x6f0a0b[_0x3a84cb])&&(_0x1de038=_0x497541(_0x1de038)||_0x1de038);return _0x1de038;},_0x3e604b=(_0xd9d6f3,_0x2b75c2)=>(_0x29eb26,_0x2a638d)=>_0x2b75c2(_0x29eb26,_0x2a638d,_0xd9d6f3);_0xe806e8[_0x355786(0x459)]=class extends _0x39934c['CollaborationSocketService']{constructor(_0x5eeaa5,_0x31bee5,_0x3b29fa,_0x146bf2,_0xe8fa7f){super(_0x5eeaa5,_0x31bee5,_0x3b29fa,_0x146bf2,_0xe8fa7f);}async[_0x355786(0x3e7)](_0x11b174){const _0x386779=_0x355786,_0x3dec23=await this[_0x386779(0x333)](),_0x838989=this[_0x386779(0x3de)](_0x11b174,_0x3dec23);return this[_0x386779(0x335)](_0x838989);}[_0x355786(0x3de)](_0x33fa63,_0x2450e9){const _0x391124=_0x355786,_0x56de18=typeof window>'u'?new URL(_0x33fa63):new URL(_0x33fa63,window[_0x391124(0x329)][_0x391124(0x2c6)]);_0x56de18[_0x391124(0x366)]['set'](_0x391124(0x32a),_0x2450e9);const _0x44cb37=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x391124(0x226)]);return _0x44cb37[_0x391124(0x26c)](_0x391124(0x38d))&&_0x56de18[_0x391124(0x366)]['set'](_0x391124(0x38d),_0x44cb37[_0x391124(0x26c)](_0x391124(0x38d))),_0x56de18[_0x391124(0x44f)]();}async[_0x355786(0x333)](){const _0x5ae337=_0x355786;var _0x2ae1e7,_0x13137f,_0x43dec4;const _0x10e235=this[_0x5ae337(0x42a)][_0x5ae337(0x2a3)](_0x39934c['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x3a22ba=(_0x2ae1e7=_0x10e235==null?void 0x0:_0x10e235['wsSessionTicketUrl'])!=null?_0x2ae1e7:_0x39934c[_0x5ae337(0x262)];return(_0x43dec4=(_0x13137f=(await this[_0x5ae337(0x3bf)][_0x5ae337(0x26c)](_0x3a22ba,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x13137f[_0x5ae337(0x3c4)])!=null?_0x43dec4:'';}},_0xe806e8[_0x355786(0x459)]=_0x55481a([_0x3e604b(0x0,_0x156835[_0x355786(0x41b)](_0x156835[_0x355786(0x28c)])),_0x3e604b(0x1,_0x156835[_0x355786(0x41b)](_0x13d443[_0x355786(0x442)])),_0x3e604b(0x2,_0x156835[_0x355786(0x3ed)]),_0x3e604b(0x3,_0x156835[_0x355786(0x37f)]),_0x3e604b(0x4,_0x154a7b[_0x355786(0x3e5)])],_0xe806e8['BrowserCollaborationSocketService']);const _0x205dcc=0x7530,_0x1b2f69=_0x355786(0x2b6);class _0x43e240 extends _0x156835[_0x355786(0x26b)]{constructor(){const _0x11d6b2=_0x355786;super(),_0x595003(this,_0x11d6b2(0x2e8),_0x156835[_0x11d6b2(0x336)]()),_0x595003(this,'_selfUnitIDs',new Set()),_0x595003(this,_0x11d6b2(0x424),new Map()),_0x595003(this,_0x11d6b2(0x35e),null),_0x595003(this,'_clearOtherTimers',new Map()),_0x595003(this,_0x11d6b2(0x32c),new Map()),this['_init']();}['dispose'](){const _0x44c302=_0x355786;super[_0x44c302(0x1f8)](),this[_0x44c302(0x339)][_0x44c302(0x296)]((_0x165f09,_0x1b3235)=>this[_0x44c302(0x43c)](_0x1b3235)),this[_0x44c302(0x35e)]&&window[_0x44c302(0x399)](this[_0x44c302(0x35e)]);}[_0x355786(0x35d)](_0x45b182){const _0x5e7c6c=_0x355786;return this[_0x5e7c6c(0x444)](_0x45b182)[_0x5e7c6c(0x43f)](_0xa3668d[_0x5e7c6c(0x34a)]());}['editingUnit'](_0x4b4c2e){const _0x170533=_0x355786;this['_selfUnitIDs'][_0x170533(0x355)]===0x0&&this[_0x170533(0x356)](),this[_0x170533(0x290)][_0x170533(0x3f0)](_0x4b4c2e),this[_0x170533(0x1fa)]({'type':0x0,'memberID':this[_0x170533(0x2e8)],'unitIDs':[_0x4b4c2e],'isForwarded':!0x1});}[_0x355786(0x3ab)](_0x16cdba){const _0x5adbbf=_0x355786;this[_0x5adbbf(0x290)]['delete'](_0x16cdba),this[_0x5adbbf(0x290)][_0x5adbbf(0x355)]===0x0&&this['_heartbeatTimer']&&window[_0x5adbbf(0x399)](this[_0x5adbbf(0x35e)]);}['_init'](){const _0x4d8273=_0x355786;this['disposeWithMe'](_0x156835[_0x4d8273(0x419)](_0xa3668d['fromEvent'](window,'storage')[_0x4d8273(0x3c1)](_0x64909=>{const _0x276b54=_0x4d8273;if(_0x64909[_0x276b54(0x25e)]!==_0x1b2f69||!_0x64909[_0x276b54(0x40b)])return;const _0x2737a1=JSON['parse'](_0x64909[_0x276b54(0x40b)]);this[_0x276b54(0x2ac)](_0x2737a1);}))),window[_0x4d8273(0x337)](_0x4d8273(0x2d9),()=>this[_0x4d8273(0x1fa)]({'type':0x1,'memberID':this[_0x4d8273(0x2e8)],'unitIDs':Array[_0x4d8273(0x282)](this[_0x4d8273(0x290)])}));}[_0x355786(0x2ac)](_0x52c049){const _0x14494e=_0x355786;switch(_0x52c049[_0x14494e(0x300)]){case 0x0:this[_0x14494e(0x277)](_0x52c049);break;case 0x1:this['_handleLeaveEvent'](_0x52c049);break;case 0x2:this['_handleHeartbeatEvent'](_0x52c049);break;}}[_0x355786(0x277)](_0x3104f7){const _0x389b14=_0x355786,{unitIDs:_0x307bf7,memberID:_0x5892d2,isForwarded:_0xeca6e3}=_0x3104f7;_0x307bf7[_0x389b14(0x296)](_0x1f13a3=>{const _0x4af4d1=_0x389b14;if(!_0xeca6e3&&this[_0x4af4d1(0x424)][_0x4af4d1(0x412)](_0x1f13a3)&&this[_0x4af4d1(0x444)](_0x1f13a3)[_0x4af4d1(0x2b2)](_0x39934c[_0x4af4d1(0x447)][_0x4af4d1(0x36d)]),!this[_0x4af4d1(0x424)][_0x4af4d1(0x412)](_0x1f13a3)||!this[_0x4af4d1(0x424)][_0x4af4d1(0x26c)](_0x1f13a3)[_0x4af4d1(0x412)](_0x5892d2)){const _0x10fc5c=this[_0x4af4d1(0x424)][_0x4af4d1(0x26c)](_0x1f13a3)||new Set();_0x10fc5c[_0x4af4d1(0x3f0)](_0x5892d2),this[_0x4af4d1(0x424)]['set'](_0x1f13a3,_0x10fc5c),this[_0x4af4d1(0x30b)](_0x5892d2);}}),_0xeca6e3||this[_0x389b14(0x1fa)]({'type':0x0,'memberID':this[_0x389b14(0x2e8)],'unitIDs':[...this[_0x389b14(0x290)]],'isForwarded':!0x0});}[_0x355786(0x30b)](_0x1b7f8b){const _0x4e1023=_0x355786;this[_0x4e1023(0x43c)](_0x1b7f8b);const _0x82ccaa=window[_0x4e1023(0x3a4)](()=>{this['_unitOnClients']['forEach'](_0x30f19a=>{const _0x1ebc94=_0x5938;_0x30f19a[_0x1ebc94(0x233)](_0x1b7f8b);});},_0x205dcc*0x2);this[_0x4e1023(0x339)][_0x4e1023(0x330)](_0x1b7f8b,_0x82ccaa);}[_0x355786(0x43c)](_0x525b45){const _0x1a8523=_0x355786;if(this[_0x1a8523(0x339)][_0x1a8523(0x412)](_0x525b45)){const _0x2bf65c=this['_clearOtherTimers'][_0x1a8523(0x26c)](_0x525b45);_0x2bf65c&&window[_0x1a8523(0x3a3)](_0x2bf65c),this[_0x1a8523(0x339)]['set'](_0x525b45,null);}}[_0x355786(0x37b)](_0x1e7ab3){const {memberID:_0x5adbfd,unitIDs:_0x5c2499}=_0x1e7ab3;_0x5c2499['forEach'](_0x27fd9c=>{const _0x224da5=_0x5938;var _0x2fb37d;const _0x76c8da=this[_0x224da5(0x424)]['get'](_0x27fd9c);_0x76c8da&&(_0x76c8da[_0x224da5(0x233)](_0x5adbfd),(_0x2fb37d=this[_0x224da5(0x444)](_0x27fd9c))==null||_0x2fb37d[_0x224da5(0x2b2)](_0x76c8da['size']===0x0?_0x39934c[_0x224da5(0x447)][_0x224da5(0x2e5)]:_0x39934c[_0x224da5(0x447)][_0x224da5(0x36d)]));}),this['_removeClearOtherTimer'](_0x5adbfd);}[_0x355786(0x22a)](_0x576249){const _0x38920a=_0x355786;this[_0x38920a(0x30b)](_0x576249[_0x38920a(0x33f)]);}['_send'](_0x420136){const _0x2f13c0=_0x355786;localStorage[_0x2f13c0(0x2dc)](_0x1b2f69,JSON[_0x2f13c0(0x2f2)](_0x420136));}['_scheduleHeartbeat'](){const _0x11c072=_0x355786;this[_0x11c072(0x35e)]=window['setInterval'](()=>{const _0x231d6b=_0x11c072;this[_0x231d6b(0x1fa)]({'type':0x2,'memberID':this[_0x231d6b(0x2e8)]});},_0x205dcc);}[_0x355786(0x444)](_0x20e41f){const _0x3973a3=_0x355786;return this['_unitStatus'][_0x3973a3(0x412)](_0x20e41f)||this['_unitStatus'][_0x3973a3(0x330)](_0x20e41f,new _0xa3668d[(_0x3973a3(0x3fb))](_0x39934c[_0x3973a3(0x447)][_0x3973a3(0x2e5)])),this[_0x3973a3(0x32c)][_0x3973a3(0x26c)](_0x20e41f);}}var _0x30916f=(_0x1e38da=>(_0x1e38da[_0x1e38da[_0x355786(0x1e9)]=0x0]=_0x355786(0x1e9),_0x1e38da[_0x1e38da['OK']=0x1]='OK',_0x1e38da[_0x1e38da['INTERNAL_ERROR']=0x2]=_0x355786(0x224),_0x1e38da[_0x1e38da[_0x355786(0x429)]=0x3]='PERMISSION_DENIED',_0x1e38da[_0x1e38da[_0x355786(0x29f)]=0x4]=_0x355786(0x29f),_0x1e38da[_0x1e38da[_0x355786(0x3bc)]=0x5]=_0x355786(0x3bc),_0x1e38da[_0x1e38da[_0x355786(0x297)]=0x6]='ALREADY_EXISTS',_0x1e38da[_0x1e38da['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x1e38da[_0x1e38da['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x1e38da[_0x1e38da[_0x355786(0x40c)]=0x9]=_0x355786(0x40c),_0x1e38da[_0x1e38da[_0x355786(0x368)]=0xa]=_0x355786(0x368),_0x1e38da[_0x1e38da[_0x355786(0x214)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x1e38da[_0x1e38da[_0x355786(0x30f)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x1e38da[_0x1e38da['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x1e38da[_0x1e38da[_0x355786(0x318)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x1e38da[_0x1e38da['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x355786(0x259),_0x1e38da[_0x1e38da[_0x355786(0x309)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x1e38da[_0x1e38da[_0x355786(0x230)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1e38da[_0x1e38da['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x355786(0x3d5),_0x1e38da[_0x1e38da[_0x355786(0x323)]=0x1b59]=_0x355786(0x323),_0x1e38da[_0x1e38da[_0x355786(0x439)]=0x1b5a]=_0x355786(0x439),_0x1e38da[_0x1e38da[_0x355786(0x40d)]=0x1b5b]=_0x355786(0x40d),_0x1e38da[_0x1e38da[_0x355786(0x2d0)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1e38da[_0x1e38da[_0x355786(0x274)]=0x1b5d]='APPLY_DUPLICATED',_0x1e38da[_0x1e38da[_0x355786(0x413)]=0x1f41]=_0x355786(0x413),_0x1e38da[_0x1e38da[_0x355786(0x2e6)]=0x2329]=_0x355786(0x2e6),_0x1e38da[_0x1e38da[_0x355786(0x43a)]=0x232a]=_0x355786(0x43a),_0x1e38da[_0x1e38da[_0x355786(0x3d8)]=0x232b]=_0x355786(0x3d8),_0x1e38da[_0x1e38da[_0x355786(0x267)]=0x232c]=_0x355786(0x267),_0x1e38da[_0x1e38da[_0x355786(0x2a0)]=0x232d]=_0x355786(0x2a0),_0x1e38da[_0x1e38da[_0x355786(0x372)]=0x2711]=_0x355786(0x372),_0x1e38da[_0x1e38da[_0x355786(0x1fb)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1e38da[_0x1e38da[_0x355786(0x241)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1e38da[_0x1e38da[_0x355786(0x365)]=0x2714]=_0x355786(0x365),_0x1e38da[_0x1e38da['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x355786(0x406),_0x1e38da[_0x1e38da[_0x355786(0x31e)]=0x271b]=_0x355786(0x31e),_0x1e38da[_0x1e38da['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x355786(0x44e),_0x1e38da[_0x1e38da[_0x355786(0x1e0)]=0x271d]=_0x355786(0x1e0),_0x1e38da[_0x1e38da[_0x355786(0x298)]=0x271e]=_0x355786(0x298),_0x1e38da[_0x1e38da['YUUMI_AI_RUN_FAILED']=0x271f]=_0x355786(0x2cc),_0x1e38da[_0x1e38da['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x355786(0x276),_0x1e38da[_0x1e38da['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1e38da[_0x1e38da[_0x355786(0x458)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1e38da[_0x1e38da[_0x355786(0x25d)]=0x2ee2]=_0x355786(0x25d),_0x1e38da[_0x1e38da[_0x355786(0x2e1)]=0x2ee3]=_0x355786(0x2e1),_0x1e38da[_0x1e38da['USER_NOT_INVITED_CODE']=0x2ee4]=_0x355786(0x1f0),_0x1e38da[_0x1e38da[_0x355786(0x45c)]=0x2ee5]=_0x355786(0x45c),_0x1e38da[_0x1e38da['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x355786(0x46b),_0x1e38da[_0x1e38da[_0x355786(0x37e)]=0x32ca]=_0x355786(0x37e),_0x1e38da[_0x1e38da[_0x355786(0x342)]=0x32cb]=_0x355786(0x342),_0x1e38da[_0x1e38da['UNRECOGNIZED']=-0x1]=_0x355786(0x322),_0x1e38da))(_0x30916f||{}),_0x2cf9bc=Object[_0x355786(0x45e)],_0xf25e66=(_0x16681e,_0x1cdbd1,_0x2ab5f5,_0x1cdd13)=>{const _0x4d3e08=_0x355786;for(var _0x235ccf=_0x1cdd13>0x1?void 0x0:_0x1cdd13?_0x2cf9bc(_0x1cdbd1,_0x2ab5f5):_0x1cdbd1,_0x4f28fd=_0x16681e[_0x4d3e08(0x3a0)]-0x1,_0x192328;_0x4f28fd>=0x0;_0x4f28fd--)(_0x192328=_0x16681e[_0x4f28fd])&&(_0x235ccf=_0x192328(_0x235ccf)||_0x235ccf);return _0x235ccf;},_0x2e2321=(_0x5c3861,_0x1a90b4)=>(_0x25f8fa,_0x5257c3)=>_0x1a90b4(_0x25f8fa,_0x5257c3,_0x5c3861);_0xe806e8[_0x355786(0x428)]=class extends _0x156835['Disposable']{constructor(_0x12ce6f,_0x4777a4,_0x3e652d){const _0x557ec4=_0x355786;super(),this[_0x557ec4(0x1db)]=_0x12ce6f,this['_httpService']=_0x4777a4,this[_0x557ec4(0x42a)]=_0x3e652d;}async[_0x355786(0x382)](_0x1aa92a,_0x50b3f5,_0x584fdd,..._0x1fb62a){const _0x3a19cc=_0x355786;var _0x57da86,_0x240dc3,_0x438d00,_0x4eb5e2;const _0x481e2c=this[_0x3a19cc(0x1db)][_0x3a19cc(0x461)]();if(!_0x481e2c)throw new Error(_0x3a19cc(0x450));const _0x5689dd=((_0x57da86=this[_0x3a19cc(0x42a)][_0x3a19cc(0x2a3)](_0x39934c[_0x3a19cc(0x25f)]))!=null?_0x57da86:_0x39934c[_0x3a19cc(0x40f)])+'/'+_0x1aa92a+_0x3a19cc(0x1dc)+_0x50b3f5,_0x435188=new URL(window['location'][_0x3a19cc(0x345)]),_0x216c2c={'scriptId':_0x1aa92a,'runId':(_0x240dc3=_0x435188[_0x3a19cc(0x366)][_0x3a19cc(0x26c)](_0x3a19cc(0x38d)))!=null?_0x240dc3:'','function':_0x50b3f5,'unitId':_0x481e2c['getUnitId'](),'argsOfFunction':JSON[_0x3a19cc(0x2f2)](_0x1fb62a),'invokeId':(_0x438d00=_0x584fdd[_0x3a19cc(0x2c0)])!=null?_0x438d00:'','executionId':(_0x4eb5e2=_0x584fdd[_0x3a19cc(0x44b)])!=null?_0x4eb5e2:''};try{const _0x50996f=await this[_0x3a19cc(0x3bf)][_0x3a19cc(0x41f)](_0x5689dd,{'body':_0x216c2c});return _0x50996f[_0x3a19cc(0x422)][_0x3a19cc(0x234)]&&_0x50996f[_0x3a19cc(0x422)]['error']['code']!==_0x30916f['OK']?_0x3a19cc(0x32e):_0x50996f[_0x3a19cc(0x422)][_0x3a19cc(0x33e)];}catch{return _0x3a19cc(0x32e);}}},_0xe806e8['RemoteUniscriptService']=_0xf25e66([_0x2e2321(0x0,_0x156835[_0x355786(0x200)]),_0x2e2321(0x1,_0x156835[_0x355786(0x41b)](_0x13d443[_0x355786(0x442)])),_0x2e2321(0x2,_0x156835[_0x355786(0x3ed)])],_0xe806e8[_0x355786(0x428)]),_0xe806e8[_0x355786(0x2a6)]=_0x55e610,_0xe806e8[_0x355786(0x407)]=_0x253ff0,_0xe806e8[_0x355786(0x40a)]=_0x470584,_0xe806e8['WebBrowserSingleActiveUnitService']=_0x43e240,_0xe806e8['WebURLService']=_0x229314,Object[_0x355786(0x2c7)](_0xe806e8,Symbol[_0x355786(0x2d7)],{'value':_0x355786(0x3c5)});}));function _0x5938(_0xace217,_0x1918a9){const _0x1c969d=_0x1c96();return _0x5938=function(_0x59380c,_0x2391ad){_0x59380c=_0x59380c-0x1d1;let _0x337888=_0x1c969d[_0x59380c];return _0x337888;},_0x5938(_0xace217,_0x1918a9);}function _0x1c96(){const _0xac8f1b=['transform','handleMoveRange','reconnect','setUndoRedoMutationParamsCache','size','_scheduleHeartbeat','ranges','div','white','_startSheetCollabCursor','_status$','NodePositionConvertToRectRange','getUnitStatus$','_heartbeatTimer','save','on-line-icon','_setupBeforeClosingHandler','CONFLICT','permission.title','registerRefRange','YUUMI_SUBSCRIPTION_NOT_FOUND','searchParams','restore','LOGIN_FAILED','isTransformMutationFailure','_beforeCloseService','endColumn','onPointerLeave$','OTHER_CLIENTS_EDITING','_getMergeRange','assign','createInstance','saveOfflineData','YUUMI_UNABLE_LOAD_URL','whenReady','mergeOverrideWithDependencies','DesktopCollaborationStatusDisplayController','getCurrentRevOfUnit','disposeWithMe','_collabSessionService','UniverDocsUi','subscribeEvent','_handleLeaveEvent','combineLatest','collabStatus.conflict','MOBILE_HAS_BEEN_BOUND','ILogService','translate(.97)','findNodePositionByCharIndex','runOnServer','column','mutations','_registerRenderDependencies','CollaborationUIEventService','subunit','_session','_localCacheService','DocIMEInputManagerService','_collaborationController','_context','runId','complete','UniverCollaborationClientUIPlugin','INotificationService','backgroundColor','NodePositionConvertToCursor','fillRule','DataLoaderService','textRanges','JOIN_ROOM_FAILED','_initStatusComponent','hide','clearInterval','loadUnit','_anchor','_registerDependencies','fill','registerRenderModule','setParam','length','hasOwnProperty','getValue','clearTimeout','setTimeout','send','CollaborationDataLoaderController','DOC_RANGE_TYPE','UniverEngineFormula','Vector2','_textBubble','disposeUnit','univerjs-icon\x20univerjs-icon-','180QXWXpz','some','_disabled','getStateCache','forwardRef','includes','IMessageService','_scene','switchMap','min','RECT','permission.content','CollaborationEvent','AWAITING','_backgroundColor','UNAUTHENTICATED','IBeforeCloseService','@univerjs/ui','_httpService','colorChannel1','subscribe','trim','rxjs','ticket','Module','getCoordByCell','dispose$','saveTaskMap','getUnitId','_hideTimer','FETCH_MISS','m2Prime','defIds','use','_colorIndex','addObject','_localStorageService','collaboration-client.offline-data-not-saved','UNIVER_DOC','getMergeData','ENSURE_SNAPSHOT_EXECUTION','_urlService','createElement','LICENSE_IMPORT_SIZE_EXCEEDED','substring','setStateCache','unsubscribe','shareReplay','indexOf','_createSocketURL','_setupSubUnitSync','then','xlink:href','entityInit$','_initResize','push','ISnapshotServerService','_hovered','createSocket','@univerjs/rpc','setActiveRange','USERS_LEAVE','blue.400','with','IConfigService','SHEET_VIEWPORT_KEY','_onCursorUpdate','add','flatMap','top','RxDisposable','font','getParam','DocStateChangeManagerService','Subject','concat','[CollaborationDataLoaderController]','_eventUnsubscribe','BehaviorSubject','_labelPosition','setShapeProps','8094dAOBRj','Workbook','RemoveRowCommandId','height','OnLineIcon','_initCommandExecutedListener','_commandService','row','YUUMI_NO_CUBOID_FOR_QUESTION','IURLService','resize','takeUntil','SheetCollabCursorShape','newValue','COMPLETION_FINISHED','APPLY_REVISION_CONFILICT','roomMembers$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','activeSheet$','RichTextEditingMutation','has','CONNECTOR_DATA_TOO_LARGE','45rMeLcb','getRangePointData','RemoveColCommandId','InsertRangeMoveDownCommandId','...','toDisposable','_init','Inject','SetSelectionsOperation','_saveTaskMap','SOCKET_FAILED_RETRY','post','_refreshCollabCursors','onStarting','body','rgba(255,\x20255,\x20255,\x200.01)','_unitOnClients','LOCAL_CACHE_INTERVAL_KEY','url(#on-line-icon_clip0_910_349)','transformMutationsWithChangeset','RemoteUniscriptService','PERMISSION_DENIED','_configService','_injector','_transformService','fillStyle','0\x200\x2016\x2016','path','arc','_drawTextRange','ICommandService','_name','collabCursorState$','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_getAnchorBounding','_cursorInfo$','unitID','APPLY_NON_SEQUENTIAL_REVISION','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_uiPartsService','_removeClearOtherTimer','measureText','_transformHistoryAndStateStack','pipe','UNIVER_SHEET','_docTransformIMECacheService','HTTPService','addObjects','_ensureSubject','engine','_cachedData','UnitStatus','exhaustSavingTask','Rectangle','function','executionId','getDocRanges','sheetID','YUUMI_TABLE_NOT_FOUND_IN_UNIT','toString','[RemoteUniscriptService]:\x20no\x20focused\x20unit','ILocalCacheService','setAlpha','useCallback','_updateSubUnitFromURLParams','green.600','_updateLocalCursor','collab-client.tooltip.reconnect','INVITE_CODE_HAS_BEEN_UES','BrowserCollaborationSocketService','@univerjs-pro/collaboration','_colorAssignService','INVITE_CODE_ALREADY_BOUND','handleIRemoveCol','getOwnPropertyDescriptor','Shape','urlChange$','getFocusedUnit','SheetsSelectionsService','red.300','onCommandExecuted','deepClone','endRow','ColorKit','find','replaceDocRanges','_draw','WECHAT_HAS_BEEN_BOUND','DocSkeletonManagerService','IUIPartsService','runRefRangeMutations','@univerjs/sheets','replace','_themeService','propertyIsEnumerable','off-line-icon_clip0_910_343','round','CommandType','init','UniverDrawing','_onCursorDelete','debounce','_docTransformStateCacheService','_instanceService','/run/','getLocalCacheKey','disableLocalCache','useDependency','YUUMI_ALL_TABLES_IS_INVALID','_entityInit$','exports','DependentOn','makeDirty','IRenderManagerService','isTransformMutationsWithChangesetSuccess','text','labelPosition','UNDEFINED','http://www.w3.org/2000/svg','UniverCore','_removeCollabCursors','unitId','_initDependencies','14ZkvEZa','USER_NOT_INVITED_CODE','_toggleOffline','ITransformService','@univerjs-pro/collaboration-client','_initEntityListener','CollaborationSessionService','2196hZAKIv','idSuffix','dispose','getUniverSheetInstance','_send','YUUMI_URL_COL_OUT_OF_RANGE','cursorInfo','UniverEngineRender','selection','_anchorDot','IUniverInstanceService','RevisionService','isArray','_docClipboardService','WebSocketService','OffLineIcon','1em','MemberService','rxjs/operators','black','icon','647504JmXhUW','react/jsx-runtime','defs','handleIRemoveRow','_getSheetObject','prototype','190126klHJgS','fillText','_roomMembers$','MOBILE_VERIFY_CODE_MISMATCH','unit','undoState','cursorInfo$','string','call','filter','object','235HznCIX','RegularPolygon','UniverCollaborationClientPlugin','getActiveRange','isActive','getTypeOfUnitDisposed$','_drawRectRange','_transformUndoRedoStack','INTERNAL_ERROR','focused$','search','getMemberID','Optional','setConfig','_handleHeartbeatEvent','startsWith','session.will-retry','roomMembers','PENDING','DeleteRangeMoveUpCommandId','SNAPSHOT_HAS_BEEN_REMOVED','Warning','unshift','delete','error','map','OFFLINE','_toggleOnline','CollaborationUIEventId','displayName','UniverInstanceType','addHandlerCallback','children','override','EffectRefRangId','sessionStatus$','React','YUUMI_RATE_OVER_LIMIT','deserializeRangeWithSheet','syncEditingCollabCursor','UniverIcon','split','collaboration-client-ui.config','lineTo','TEXT_RANGE_LAYER_INDEX','_docStateChangeManagerService','OTHER_CLIENT_EDITING','bottom','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','params','current','attrs','_entities','apply','pluginName','redoState','@univerjs/design','DocCollaborationEntity','amd','fromEvent','_hover','CHANGESET_REVISION_CONFILICT','all','_localeService','symbol','INVALID_INVITE_CODE','key','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','MessageType','enableLocalCache','DEFAULT_WS_SESSION_TICKET_URL','M0\x200H16V16H0z','onPointerEnter$','connectInjector','getUndoRedoMutationParamsCache','LICENSE_EXPORT_SIZE_EXCEEDED','show','handleDeleteRangeMoveUp','mask','Disposable','get','registerDependencies','RefRangeService','m1Prime','eventID','CollaborationController','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_lastPointer','APPLY_DUPLICATED','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','YUUMI_CONNECTOR_URL_NOT_FOUND','_handleJoinEvent','getTypeOfUnitAdded$','getActiveSheet','currentTheme$','UniverSheets','Unknown\x20user','SetDocZoomRatioOperation','requireSession','collaboration.single-unit.warning','_config','_color','from','_collabCursorController','jsx','_cursorShapes','onMouseMove','onLocalMutation','purple.300','_renderManagerService','SYNCED','handleDeleteRangeMoveLeft','Injector','clsx','MUTATION','SetWorksheetActivateCommand','_selfUnitIDs','_range','skeleton','data','_univerInstanceService','imageSourceType','forEach','ALREADY_EXISTS','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','closePath','getOffsetConfig','history','transformByState','_updateCollabCursors','TEXT','NOT_FOUND','LICENSE_DISTRO_REJECTED','_updateURLWithCurrentState','@univerjs/engine-formula','getConfig','sheetId','_document','CollaborationStatusDisplay','collabStatus.notCollab','256942IApeRB','none','drawWith','merge','_handleEvent','range','createIdentifier','_cursors','getCellPositionByOffset','getSkeleton','next','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','fromEventSubject','touchDependencies','ACTIVE_UNIT_EVENT_CHANNEL','_collaborationUIEventService','registerComponent','_memberService','width','_getSaveTimeout','_handleHover','univer-flex\x20univer-items-center','IImageIoService','getColor','invokeId','_getScale','SOCKET_FAILED','onTransformChange$','FromArray','subUnitId','origin','defineProperty','_refRangeService','NOT_COLLAB','transformStateCache','collaboration.closeRoom','YUUMI_AI_RUN_FAILED','_initEvent','name','@univerjs/engine-render','APPLY_PERMISSION_DENIED','_saveCache','UniverDocs','transformRemoteChangeset','asObservable','Plugin','react','toStringTag','_docSyncEditingCollabCursorService','unload','entries','_transformPreviousActiveRange','setItem','_render','SetTextSelectionsOperation','AWAITING_WITH_PENDING','133578StevRp','INVITE_CODE_REQUIRED','_online','_shapes','collab-rect-range-','NO_OTHER_CLIENTS_EDITING','LICENSE_MAX_UNITS_EXCEEDED','_assignedColors','_id','debug','evenodd','values','DocSelectionManagerService','className','event$','startRow','_revisionService','CollaborationStatus','stringify','handleInsertRangeMoveDown','_messageService','_docSkeletonManagerService','364616ZUbqqV','_collabCursorState$','VIEW_MAIN','replaceState','getCurrent','_scheduleSaving','removeParam','currentColor','@univerjs/docs','getMember','type','max','getColorFromTheme','pushState','getCurrentSelections','beginPath','transformMutation','getRenderById','ONLINE','SNAPSHOT_INVALID_SNAPSHOT','assignAColorForMemberID','_scheduleClearOtherTimer','_onRefRangeChange','SUBMIT_CHANGESET_TIMEOUT','UPDATE_CURSOR','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_logService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','UniverProCollaboration','UniverProCollaborationClientUi','status$','InsertColCommandId','@univerjs/sheets-ui','LocaleService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','useRef','collabStatus.offline','_initStatusListener','doc.mutation.rich-text-editing','_syncEditingCollabCursorService','YUUMI_ASYNCIO_CANCELLED','handleInsertRow','tag','mapTo','UNRECOGNIZED','APPLY_REJECT','_sheetSkeletonManagerService','url(#$1','on-line-icon_clip0_910_349','color','clipPath','location','sessionTicket','Rect','_unitStatus','svg','Failed','ThemeService','set','throttleTime','executeCommand','_getSessionTicket','collab-text-range-','_doCreateSocket','generateRandomId','addEventListener','Tools','_clearOtherTimers','startColumn','SessionStatus','currentSkeleton$','getSheetBySheetId','result','memberID','useObservable','updateOfflineData','EMAIL_HAS_BEEN_BOUND','InsertRangeMoveRightCommandId','transformIMECache','href','transformSelections','getAncestorScale','debounceTime','COLORS','distinctUntilChanged','_startDocCollabCursor','Error','source','getSheetId','_cursor','session.connection-failed'];_0x1c96=function(){return _0xac8f1b;};return _0x1c96();}
|
|
1
|
+
function _0x224b(_0x17f164,_0x4893a8){const _0x20d3fc=_0x20d3();return _0x224b=function(_0x224b6d,_0x219e8a){_0x224b6d=_0x224b6d-0x136;let _0x332914=_0x20d3fc[_0x224b6d];return _0x332914;},_0x224b(_0x17f164,_0x4893a8);}(function(_0x4e2099,_0x3bff6d){const _0x3b701e=_0x224b,_0x48505e=_0x4e2099();while(!![]){try{const _0x500cdd=-parseInt(_0x3b701e(0x3cb))/0x1+parseInt(_0x3b701e(0x365))/0x2+parseInt(_0x3b701e(0x1d8))/0x3+parseInt(_0x3b701e(0x35b))/0x4+parseInt(_0x3b701e(0x329))/0x5*(parseInt(_0x3b701e(0x31f))/0x6)+-parseInt(_0x3b701e(0x15e))/0x7+parseInt(_0x3b701e(0x2cf))/0x8*(-parseInt(_0x3b701e(0x3c9))/0x9);if(_0x500cdd===_0x3bff6d)break;else _0x48505e['push'](_0x48505e['shift']());}catch(_0x878ef){_0x48505e['push'](_0x48505e['shift']());}}}(_0x20d3,0x34bf4),function(_0xace64,_0x48c85d){const _0x540d2a=_0x224b;typeof exports=='object'&&typeof module<'u'?_0x48c85d(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==_0x540d2a(0x356)&&define[_0x540d2a(0x1d5)]?define([_0x540d2a(0x31e),_0x540d2a(0x1ce),_0x540d2a(0x183),_0x540d2a(0x370),_0x540d2a(0x166),_0x540d2a(0x3d5),_0x540d2a(0x299),_0x540d2a(0x3dd),'@univerjs-pro/collaboration',_0x540d2a(0x263),_0x540d2a(0x33e),_0x540d2a(0x3c0),_0x540d2a(0x3bb),_0x540d2a(0x3b5),_0x540d2a(0x3c6),_0x540d2a(0x184),_0x540d2a(0x364),_0x540d2a(0x202),'@univerjs/rpc'],_0x48c85d):(_0xace64=typeof globalThis<'u'?globalThis:_0xace64||self,_0x48c85d(_0xace64[_0x540d2a(0x353)]={},_0xace64[_0x540d2a(0x32e)],_0xace64[_0x540d2a(0x341)],_0xace64[_0x540d2a(0x1f7)],_0xace64['UniverNetwork'],_0xace64[_0x540d2a(0x31b)],_0xace64[_0x540d2a(0x26c)],_0xace64[_0x540d2a(0x3dd)],_0xace64[_0x540d2a(0x1e2)],_0xace64[_0x540d2a(0x213)],_0xace64[_0x540d2a(0x24d)],_0xace64[_0x540d2a(0x298)],_0xace64[_0x540d2a(0x3dd)][_0x540d2a(0x195)],_0xace64[_0x540d2a(0x343)],_0xace64['React'],_0xace64[_0x540d2a(0x1af)],_0xace64[_0x540d2a(0x3cc)],_0xace64[_0x540d2a(0x1c5)],_0xace64[_0x540d2a(0x2ee)]));}(this,function(_0x2cb787,_0x506fcd,_0x2b635d,_0x59264b,_0x495adb,_0x4fb330,_0x2ffb4e,_0x4e09fc,_0xa72689,_0x57f3fe,_0x36e46b,_0x1daad8,_0x2b569a,_0x2b7a6f,_0xc7d18e,_0x149545,_0x5ae169,_0x23e7f1,_0x24dca0){'use strict';const _0x247c13=_0x224b;var _0x2b0fbe=Object[_0x247c13(0x1a0)],_0x128620=(_0x1644d2,_0x5c858f,_0x548c13)=>_0x5c858f in _0x1644d2?_0x2b0fbe(_0x1644d2,_0x5c858f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x548c13}):_0x1644d2[_0x5c858f]=_0x548c13,_0x42d170=(_0x3c67dc,_0xe78eec,_0x4d9f2f)=>_0x128620(_0x3c67dc,typeof _0xe78eec!=_0x247c13(0x14d)?_0xe78eec+'':_0xe78eec,_0x4d9f2f),_0x40adef=Object[_0x247c13(0x1fe)],_0x130580=(_0xc42009,_0x3a9788,_0x529756,_0xc37672)=>{const _0x42365e=_0x247c13;for(var _0x249e63=_0xc37672>0x1?void 0x0:_0xc37672?_0x40adef(_0x3a9788,_0x529756):_0x3a9788,_0x594701=_0xc42009[_0x42365e(0x2b2)]-0x1,_0x53455b;_0x594701>=0x0;_0x594701--)(_0x53455b=_0xc42009[_0x594701])&&(_0x249e63=_0x53455b(_0x249e63)||_0x249e63);return _0x249e63;},_0x4fd54e=(_0xd86e00,_0x38456c)=>(_0x20aede,_0x4e0be6)=>_0x38456c(_0x20aede,_0x4e0be6,_0xd86e00);let _0x275fd7=class extends _0x2b635d[_0x247c13(0x175)]{constructor(_0x69a23c,_0x2dbae3){const _0x10088c=_0x247c13;super(),this[_0x10088c(0x23c)]=_0x69a23c,this[_0x10088c(0x1fa)]=_0x2dbae3,this[_0x10088c(0x188)]();}[_0x247c13(0x188)](){const _0x2fa8f8=_0x247c13,_0x2b6bc9=this;this[_0x2fa8f8(0x340)](this[_0x2fa8f8(0x23c)][_0x2fa8f8(0x303)]({'onBeforePasteImage':async _0x2e8447=>{const _0x2f21c0=_0x2fa8f8,_0x7da3f9=await _0x2b6bc9[_0x2f21c0(0x1fa)][_0x2f21c0(0x170)](_0x2e8447);return _0x7da3f9?{'source':_0x7da3f9[_0x2f21c0(0x32b)],'imageSourceType':_0x7da3f9[_0x2f21c0(0x201)]}:null;}}));}};_0x275fd7=_0x130580([_0x4fd54e(0x0,_0x4fb330['IDocClipboardService']),_0x4fd54e(0x1,_0x2ffb4e[_0x247c13(0x267)])],_0x275fd7);const _0x402510=['purple.300',_0x247c13(0x391),_0x247c13(0x1ff),'red.300','blue.400','yellow.400'];class _0x5f32f6 extends _0x2b635d[_0x247c13(0x208)]{constructor(){const _0x3b5f9f=_0x247c13;super(...arguments),_0x42d170(this,_0x3b5f9f(0x205),new Map()),_0x42d170(this,_0x3b5f9f(0x1dc),0x0);}[_0x247c13(0x238)](_0x343f1d){const _0x275531=_0x247c13;if(this[_0x275531(0x205)]['has'](_0x343f1d))return this[_0x275531(0x205)][_0x275531(0x2b6)](_0x343f1d);const _0x2bcfb3=_0x402510[this[_0x275531(0x1dc)]];return this['_colorIndex']=(this[_0x275531(0x1dc)]+0x1)%_0x402510['length'],this[_0x275531(0x205)]['set'](_0x343f1d,_0x2bcfb3),_0x2bcfb3;}}function _0x1bd119(_0x19267e){const _0x668100=_0x247c13;let _0x3f2f3a='';for(const _0x5009f2 of _0x19267e){const {startOffset:_0x1a0629,endOffset:_0x321b00,isActive:_0x916f5c,rangeType:_0x4c1922,segmentId:_0x4761a7,segmentPage:_0xb9fa1d}=_0x5009f2;_0x3f2f3a[_0x668100(0x2b2)]&&(_0x3f2f3a+=','),_0x3f2f3a+=_0x1a0629+':'+_0x321b00+':'+(_0x916f5c?'1':'0')+':'+_0x4c1922+':'+_0x4761a7+':'+_0xb9fa1d;}return _0x3f2f3a;}function _0x190471(_0x116dd9){const _0x3a74bf=_0x247c13,_0x2d9808=_0x116dd9[_0x3a74bf(0x17b)](','),_0x3a4246=[];for(const _0xbf6551 of _0x2d9808){const [_0x2403af,_0x4784f5,_0x4b4618,_0x14266f,_0x27b465,_0x597d9a]=_0xbf6551[_0x3a74bf(0x17b)](':');_0x3a4246['push']({'startOffset':Number(_0x2403af),'endOffset':Number(_0x4784f5),'collapsed':_0x2403af===_0x4784f5,'isActive':_0x4b4618==='1','rangeType':_0x14266f===_0x2b635d[_0x3a74bf(0x3de)][_0x3a74bf(0x16d)]?_0x2b635d[_0x3a74bf(0x3de)][_0x3a74bf(0x16d)]:_0x2b635d['DOC_RANGE_TYPE'][_0x3a74bf(0x3da)],'segmentId':typeof _0x27b465==_0x3a74bf(0x1ee)?String(_0x27b465):'','segmentPage':Number(_0x597d9a!=null?_0x597d9a:-0x1)});}return _0x3a4246[_0x3a74bf(0x22a)](_0x248d44=>_0x248d44['isActive'])||(_0x3a4246[0x0]['isActive']=!0x0),_0x3a4246;}class _0x2b28f5 extends _0x2b635d[_0x247c13(0x175)]{constructor(){const _0x538e12=_0x247c13;super(...arguments),_0x42d170(this,_0x538e12(0x177),new _0x4e09fc['BehaviorSubject'](null)),_0x42d170(this,'collabCursorState$',this['_collabCursorState$']['asObservable']());}[_0x247c13(0x1d2)](_0x1ac621){const _0x2d88cd=_0x247c13,{unitID:_0x5f2f0f,memberID:_0x3a676e,textRanges:_0x334f91}=_0x1ac621,_0x5a266f=_0x1bd119(_0x334f91);if(_0x5a266f==='')return;const _0x2df301={'unitID':_0x5f2f0f,'memberID':_0x3a676e,'selection':_0x5a266f};this[_0x2d88cd(0x177)][_0x2d88cd(0x285)](_0x2df301);}}var _0x3bea9b=Object[_0x247c13(0x1fe)],_0x56418d=(_0x3b5ac8,_0x26ca1a,_0x20d06f,_0x198b65)=>{const _0x183206=_0x247c13;for(var _0x15c18f=_0x198b65>0x1?void 0x0:_0x198b65?_0x3bea9b(_0x26ca1a,_0x20d06f):_0x26ca1a,_0x36b947=_0x3b5ac8[_0x183206(0x2b2)]-0x1,_0x1d9bbf;_0x36b947>=0x0;_0x36b947--)(_0x1d9bbf=_0x3b5ac8[_0x36b947])&&(_0x15c18f=_0x1d9bbf(_0x15c18f)||_0x15c18f);return _0x15c18f;},_0x1a1a25=(_0x4c7816,_0x2523dc)=>(_0x7254cb,_0x496ec6)=>_0x2523dc(_0x7254cb,_0x496ec6,_0x4c7816);const _0x265bd0=0x12c,_0x4dfd71=0x64;let _0x1359db=class extends _0x2b635d[_0x247c13(0x175)]{constructor(_0x464216,_0x2c8f94,_0x206a71,_0x9fbccd,_0x13b7f5,_0x2cb969,_0xbfd69c,_0xf28755,_0x35273d){const _0x3eee69=_0x247c13;super(),_0x42d170(this,_0x3eee69(0x167),!0x1),_0x42d170(this,_0x3eee69(0x188),!0x1),_0x42d170(this,_0x3eee69(0x1e7),new _0x4e09fc[(_0x3eee69(0x1e8))](new Map())),_0x42d170(this,'cursorInfo$',this['_cursorInfo$'][_0x3eee69(0x1fc)]()),_0x42d170(this,'_roomMembers$',new _0x4e09fc[(_0x3eee69(0x1e8))]([])),_0x42d170(this,_0x3eee69(0x227),this[_0x3eee69(0x2ef)][_0x3eee69(0x24a)](_0x4e09fc['debounceTime'](_0x265bd0))),_0x42d170(this,'_updateLocalCursor',_0x2b635d['debounce'](_0x223173=>{const _0x2566e8=_0x3eee69,_0x4a34af={'eventID':_0xa72689[_0x2566e8(0x362)][_0x2566e8(0x377)],'data':{'unitID':this['unitID'],'memberID':this[_0x2566e8(0x2eb)][_0x2566e8(0x3c4)](),'selection':_0x1bd119(_0x223173)}};this['_session'][_0x2566e8(0x3d4)](_0x4a34af,this[_0x2566e8(0x17c)]);},_0x4dfd71)),(this[_0x3eee69(0x17c)]=_0x464216,this[_0x3eee69(0x2eb)]=_0x2c8f94,this['_injector']=_0x206a71,this[_0x3eee69(0x13a)]=_0x9fbccd,this[_0x3eee69(0x26f)]=_0x13b7f5,this['_syncEditingCollabCursorService']=_0x2cb969,this[_0x3eee69(0x30f)]=_0xbfd69c,this['_univerInstanceService']=_0xf28755,this[_0x3eee69(0x192)]=_0x35273d);}get[_0x247c13(0x34d)](){const _0x3576de=_0x247c13;return this[_0x3576de(0x1e7)]['getValue']();}get[_0x247c13(0x2dc)](){const _0x4bbeb3=_0x247c13;return this[_0x4bbeb3(0x2ef)][_0x4bbeb3(0x148)]();}[_0x247c13(0x228)](){const _0x1f11ac=_0x247c13;super['dispose'](),this[_0x1f11ac(0x1e7)][_0x1f11ac(0x285)](new Map()),this[_0x1f11ac(0x1e7)]['complete'](),this[_0x1f11ac(0x2ef)][_0x1f11ac(0x285)]([]),this[_0x1f11ac(0x2ef)][_0x1f11ac(0x185)]();}['init'](){const _0x3b0019=_0x247c13;this[_0x3b0019(0x188)]||(this[_0x3b0019(0x188)]=!0x0,this[_0x3b0019(0x2eb)][_0x3b0019(0x13c)][_0x3b0019(0x24a)](_0x4e09fc[_0x3b0019(0x1f9)](this[_0x3b0019(0x2ec)]))['subscribe'](_0x432f99=>{const _0x15412d=_0x3b0019;_0x432f99===_0x506fcd[_0x15412d(0x180)][_0x15412d(0x3a1)]?this[_0x15412d(0x1ea)]():this['_toggleOffline']();}),this[_0x3b0019(0x2eb)][_0x3b0019(0x14b)][_0x3b0019(0x24a)](_0x4e09fc[_0x3b0019(0x1f9)](this[_0x3b0019(0x2ec)]))['subscribe'](_0x49d778=>{const _0x1b834c=_0x3b0019,_0x5604a1=_0x49d778[_0x1b834c(0x2fe)];_0x5604a1===_0xa72689[_0x1b834c(0x362)][_0x1b834c(0x377)]&&this[_0x1b834c(0x250)](_0x49d778),_0x5604a1===_0xa72689['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x49d778);}),this[_0x3b0019(0x340)](this[_0x3b0019(0x192)][_0x3b0019(0x1c4)](_0x2bd126=>{const _0x502cce=_0x3b0019,_0x347c0f=_0x2bd126[_0x502cce(0x14f)];_0x347c0f!=null&&this['_online']&&_0x2bd126['id']===_0x57f3fe[_0x502cce(0x2bc)]['id']&&_0x347c0f['unitId']===this[_0x502cce(0x17c)]&&_0x347c0f[_0x502cce(0x3ae)]===!0x1&&_0x347c0f[_0x502cce(0x363)][_0x502cce(0x2b2)]>0x0&&this[_0x502cce(0x23d)](_0x347c0f[_0x502cce(0x363)]);})),this[_0x3b0019(0x186)][_0x3b0019(0x2d7)]['pipe'](_0x4e09fc['takeUntil'](this['dispose$']))['subscribe'](_0x58ea9f=>{const _0x125075=_0x3b0019;if((_0x58ea9f==null?void 0x0:_0x58ea9f[_0x125075(0x17c)])!==this[_0x125075(0x17c)])return;const _0x2261ec={'eventID':_0xa72689[_0x125075(0x362)][_0x125075(0x377)],'data':_0x58ea9f};this[_0x125075(0x250)](_0x2261ec);}),this[_0x3b0019(0x340)](this[_0x3b0019(0x192)][_0x3b0019(0x1c4)](_0x255be1=>{const _0x2f80bc=_0x3b0019;if(_0x255be1['params']==null)return;const _0x10361a=_0x255be1[_0x2f80bc(0x14f)];if(_0x255be1['id']!==_0x57f3fe['RichTextEditingMutation']['id']||_0x10361a[_0x2f80bc(0x229)]!==this[_0x2f80bc(0x17c)])return;const _0x23dbac={'id':'doc.mutation.rich-text-editing','params':_0x10361a},_0x5e889c=this['cursorInfo'];for(const [_0x50e70f,_0x39cf8a]of _0x5e889c){const _0x4d338e={'id':_0x2f80bc(0x38c),'params':{'unitId':this[_0x2f80bc(0x17c)],'actions':null,'textRanges':_0x39cf8a[_0x2f80bc(0x363)]}},_0x4c8d03=this[_0x2f80bc(0x30f)][_0x2f80bc(0x309)](_0x23dbac,_0x4d338e,!0x1);if(_0xa72689[_0x2f80bc(0x1d9)](_0x4c8d03))throw _0x4c8d03['error'];_0x5e889c[_0x2f80bc(0x3d3)](_0x50e70f,{..._0x39cf8a,'ranges':_0x4c8d03[_0x2f80bc(0x1b3)][_0x2f80bc(0x14f)][_0x2f80bc(0x247)]});}queueMicrotask(()=>{const _0x27e64b=_0x2f80bc;this['_cursorInfo$'][_0x27e64b(0x285)](_0x5e889c);});})));}[_0x247c13(0x250)](_0x566f10){const _0x1efe0b=_0x247c13;var _0x69f5b0,_0x460afc;const {memberID:_0x529184,selection:_0xded23b}=_0x566f10['data'],_0x170983=_0x190471(_0xded23b),_0x39c3f6=(_0x460afc=(_0x69f5b0=this[_0x1efe0b(0x26f)][_0x1efe0b(0x3ad)](this[_0x1efe0b(0x17c)],_0x529184))==null?void 0x0:_0x69f5b0['name'])!=null?_0x460afc:'Unknown\x20user',_0x137987={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x529184),'name':_0x39c3f6,'ranges':_0x170983},_0xedd919=this[_0x1efe0b(0x34d)];_0xedd919[_0x1efe0b(0x3d3)](_0x529184,_0x137987),this['_cursorInfo$']['next'](_0xedd919);}[_0x247c13(0x28b)](_0x1674d8){const _0x56b6ee=_0x247c13,{memberID:_0x60b714}=_0x1674d8[_0x56b6ee(0x2cd)],_0x5ac9b8=this[_0x56b6ee(0x34d)];_0x5ac9b8['delete'](_0x60b714),this[_0x56b6ee(0x1e7)][_0x56b6ee(0x285)](_0x5ac9b8);}[_0x247c13(0x1ea)](){const _0x2e794f=_0x247c13;var _0x5ca522;if(this['_online']=!0x0,((_0x5ca522=this[_0x2e794f(0x1bc)][_0x2e794f(0x187)]())==null?void 0x0:_0x5ca522[_0x2e794f(0x37f)]())!==this[_0x2e794f(0x17c)])return;const _0x3f60d1=this['_injector'][_0x2e794f(0x2b6)](_0x57f3fe['DocSelectionManagerService'])['getDocRanges']();Array[_0x2e794f(0x244)](_0x3f60d1)&&_0x3f60d1[_0x2e794f(0x2b2)]>0x0&&this[_0x2e794f(0x23d)](_0x3f60d1);}[_0x247c13(0x136)](){const _0x1d7383=_0x247c13;this[_0x1d7383(0x167)]=!0x1;}};_0x1359db=_0x56418d([_0x1a1a25(0x2,_0x2b635d[_0x247c13(0x165)](_0x2b635d[_0x247c13(0x230)])),_0x1a1a25(0x3,_0x2b635d[_0x247c13(0x165)](_0x5f32f6)),_0x1a1a25(0x4,_0x2b635d['Inject'](_0x506fcd[_0x247c13(0x1ef)])),_0x1a1a25(0x5,_0x2b635d[_0x247c13(0x165)](_0x2b28f5)),_0x1a1a25(0x6,_0xa72689[_0x247c13(0x1a4)]),_0x1a1a25(0x7,_0x2b635d[_0x247c13(0x29d)]),_0x1a1a25(0x8,_0x2b635d[_0x247c13(0x2bd)])],_0x1359db);var _0x1b5561=Object[_0x247c13(0x1fe)],_0x14bc9c=(_0x33e90c,_0x684c28,_0x2f61e7,_0x4855bd)=>{const _0xdaf217=_0x247c13;for(var _0x12e7c8=_0x4855bd>0x1?void 0x0:_0x4855bd?_0x1b5561(_0x684c28,_0x2f61e7):_0x684c28,_0xeb4d52=_0x33e90c[_0xdaf217(0x2b2)]-0x1,_0x49529d;_0xeb4d52>=0x0;_0xeb4d52--)(_0x49529d=_0x33e90c[_0xeb4d52])&&(_0x12e7c8=_0x49529d(_0x12e7c8)||_0x12e7c8);return _0x12e7c8;},_0xe8be12=(_0x35f821,_0x47a5e2)=>(_0x319189,_0x415f3a)=>_0x47a5e2(_0x319189,_0x415f3a,_0x35f821);const _0x547635=0x12c,_0x45a8b2=0x64,_0x1c6b6e=()=>{let _0x337e3c=[],_0x58843f=!0x1;return _0x13f9bf=>{const _0xbc7d90=_0x224b;_0x337e3c[_0xbc7d90(0x2bf)](_0x13f9bf),_0x58843f||(_0x58843f=!0x0,setTimeout(()=>{const _0xfc217d=_0xbc7d90;_0x337e3c[_0xfc217d(0x1db)](_0xd140d4=>_0xd140d4()),_0x337e3c=[],_0x58843f=!0x1;}));};};let _0x5ca7d8=class extends _0x2b635d['RxDisposable']{constructor(_0x2da452,_0x25650c,_0x338f9f,_0x5aad99,_0x5f213d,_0x275bd8,_0x1cc291,_0x22bb2e){const _0xae53ec=_0x247c13;super(),_0x42d170(this,_0xae53ec(0x167),!0x1),_0x42d170(this,_0xae53ec(0x188),!0x1),_0x42d170(this,_0xae53ec(0x1e7),new _0x4e09fc['BehaviorSubject'](new Map())),_0x42d170(this,_0xae53ec(0x33a),this[_0xae53ec(0x1e7)][_0xae53ec(0x1fc)]()),_0x42d170(this,_0xae53ec(0x2ef),new _0x4e09fc[(_0xae53ec(0x1e8))]([])),_0x42d170(this,'roomMembers$',this[_0xae53ec(0x2ef)][_0xae53ec(0x24a)](_0x4e09fc[_0xae53ec(0x2a2)](_0x547635))),_0x42d170(this,_0xae53ec(0x23d),_0x2b635d[_0xae53ec(0x3b3)]((_0x3139f8,_0x479fb6)=>{const _0x59378a=_0xae53ec,_0x4ab9fb={'eventID':_0xa72689[_0x59378a(0x362)][_0x59378a(0x377)],'data':{'unitID':this[_0x59378a(0x17c)],'memberID':this['_session']['getMemberID'](),'selection':_0x36e46b[_0x59378a(0x22e)](_0x3139f8,_0x479fb6[_0x59378a(0x354)])}};this[_0x59378a(0x2eb)][_0x59378a(0x3d4)](_0x4ab9fb,this[_0x59378a(0x17c)]);},_0x45a8b2)),(this[_0xae53ec(0x17c)]=_0x2da452,this[_0xae53ec(0x2eb)]=_0x25650c,this[_0xae53ec(0x2d1)]=_0x338f9f,this[_0xae53ec(0x13a)]=_0x5aad99,this[_0xae53ec(0x26f)]=_0x5f213d,this[_0xae53ec(0x1bc)]=_0x275bd8,this[_0xae53ec(0x192)]=_0x1cc291,this[_0xae53ec(0x38a)]=_0x22bb2e);}get[_0x247c13(0x34d)](){const _0x73de03=_0x247c13;return this[_0x73de03(0x1e7)]['getValue']();}get[_0x247c13(0x2dc)](){const _0x3ed866=_0x247c13;return this[_0x3ed866(0x2ef)]['getValue']();}['dispose'](){const _0x2db5c9=_0x247c13;super[_0x2db5c9(0x228)](),this[_0x2db5c9(0x1e7)]['next'](new Map()),this['_cursorInfo$'][_0x2db5c9(0x185)](),this[_0x2db5c9(0x2ef)][_0x2db5c9(0x285)]([]),this['_roomMembers$'][_0x2db5c9(0x185)]();}[_0x247c13(0x225)](){const _0x2d58ea=_0x247c13;this[_0x2d58ea(0x188)]||(this[_0x2d58ea(0x188)]=!0x0,this[_0x2d58ea(0x2eb)]['sessionStatus$']['pipe'](_0x4e09fc[_0x2d58ea(0x1f9)](this[_0x2d58ea(0x2ec)]))[_0x2d58ea(0x1f8)](_0x56f746=>{const _0x3d926b=_0x2d58ea;_0x56f746===_0x506fcd[_0x3d926b(0x180)][_0x3d926b(0x3a1)]?this['_toggleOnline']():this[_0x3d926b(0x136)]();}),this[_0x2d58ea(0x2eb)]['event$'][_0x2d58ea(0x24a)](_0x4e09fc[_0x2d58ea(0x1f9)](this[_0x2d58ea(0x2ec)]))[_0x2d58ea(0x1f8)](_0x225eb0=>{const _0x3ec7f7=_0x2d58ea,_0x236548=_0x225eb0[_0x3ec7f7(0x2fe)];_0x236548===_0xa72689['CollaborationEvent'][_0x3ec7f7(0x377)]&&this[_0x3ec7f7(0x250)](_0x225eb0),_0x236548===_0xa72689['CollaborationEvent'][_0x3ec7f7(0x389)]&&this[_0x3ec7f7(0x28b)](_0x225eb0);}),this[_0x2d58ea(0x2b3)](),this[_0x2d58ea(0x340)](this[_0x2d58ea(0x192)]['onCommandExecuted'](_0x3fb114=>{const _0x2a720e=_0x2d58ea;if(this[_0x2a720e(0x167)]&&_0x3fb114['id']===_0x1daad8[_0x2a720e(0x221)]['id']&&_0x3fb114[_0x2a720e(0x14f)][_0x2a720e(0x229)]===this[_0x2a720e(0x17c)]){const _0x408bcf=_0x3fb114[_0x2a720e(0x14f)];this[_0x2a720e(0x23d)](_0x408bcf['subUnitId'],_0x408bcf[_0x2a720e(0x283)][0x0]);}})));}[_0x247c13(0x250)](_0x1e8bbb){const _0x54c922=_0x247c13;var _0x2e96d2,_0x50c063;const {memberID:_0x53c54b,selection:_0xa63dac}=_0x1e8bbb[_0x54c922(0x2cd)],{sheetName:_0x26b0a1,range:_0x1d02a3}=_0x36e46b['deserializeRangeWithSheet'](_0xa63dac),_0x41523b={'name':(_0x50c063=(_0x2e96d2=this[_0x54c922(0x26f)][_0x54c922(0x3ad)](this[_0x54c922(0x17c)],_0x53c54b))==null?void 0x0:_0x2e96d2[_0x54c922(0x20d)])!=null?_0x50c063:'Unknown\x20user','range':this[_0x54c922(0x36f)](_0x26b0a1,_0x1d02a3),'sheetID':_0x26b0a1,'color':this[_0x54c922(0x13a)][_0x54c922(0x238)](_0x53c54b),'selection':_0xa63dac},_0x5efba4=this[_0x54c922(0x34d)];_0x5efba4[_0x54c922(0x3d3)](_0x53c54b,_0x41523b),this[_0x54c922(0x1e7)][_0x54c922(0x285)](_0x5efba4);}[_0x247c13(0x28b)](_0x366094){const _0x7aebab=_0x247c13,{memberID:_0x65289e}=_0x366094[_0x7aebab(0x2cd)],_0x4d50bc=this[_0x7aebab(0x34d)];_0x4d50bc[_0x7aebab(0x216)](_0x65289e),this[_0x7aebab(0x1e7)][_0x7aebab(0x285)](_0x4d50bc);}[_0x247c13(0x36f)](_0x5d478f,_0x250ac8){const _0x41480d=_0x247c13;var _0x1e8976,_0x56cda0;const _0x34c601=(_0x56cda0=(_0x1e8976=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x41480d(0x17c)]))==null?void 0x0:_0x1e8976[_0x41480d(0x24e)](_0x5d478f))==null?void 0x0:_0x56cda0[_0x41480d(0x28f)]();return(_0x34c601==null?void 0x0:_0x34c601[_0x41480d(0x239)](_0x5a4f33=>_0x2b635d[_0x41480d(0x261)][_0x41480d(0x1c2)](_0x5a4f33,_0x250ac8)))||_0x250ac8;}[_0x247c13(0x2b3)](){const _0x432d50=_0x247c13,_0x29c333=new _0x2b635d[(_0x432d50(0x23e))](),_0x38f9cc=_0x1c6b6e(),_0x4df2d5=()=>{const _0x4621de=_0x432d50;_0x29c333[_0x4621de(0x228)]();const _0x3d008c=(_0x84e669,_0x1252d5,_0x17a75d,_0x5e4496)=>{const _0x4e53a4=_0x4621de;let _0x53c881=[];switch(_0x84e669['id']){case _0x1daad8['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x53c881=_0x1daad8[_0x4e53a4(0x2a9)](_0x84e669,_0x5e4496);break;}case _0x1daad8[_0x4e53a4(0x1be)][_0x4e53a4(0x219)]:{_0x53c881=_0x1daad8[_0x4e53a4(0x3cd)](_0x84e669,_0x5e4496);break;}case _0x1daad8[_0x4e53a4(0x1be)][_0x4e53a4(0x1f3)]:{_0x53c881=_0x1daad8['handleInsertCol'](_0x84e669,_0x5e4496);break;}case _0x1daad8['EffectRefRangId'][_0x4e53a4(0x1b7)]:{_0x53c881=_0x1daad8[_0x4e53a4(0x15f)](_0x84e669,_0x5e4496);break;}case _0x1daad8[_0x4e53a4(0x1be)][_0x4e53a4(0x34e)]:{_0x53c881=_0x1daad8[_0x4e53a4(0x16c)](_0x84e669,_0x5e4496);break;}case _0x1daad8[_0x4e53a4(0x1be)]['InsertRowCommandId']:{_0x53c881=_0x1daad8['handleInsertRow'](_0x84e669,_0x5e4496);break;}case _0x1daad8[_0x4e53a4(0x1be)][_0x4e53a4(0x2c4)]:{_0x53c881=_0x1daad8[_0x4e53a4(0x1a8)](_0x84e669,_0x5e4496);break;}case _0x1daad8[_0x4e53a4(0x1be)][_0x4e53a4(0x143)]:{_0x53c881=_0x1daad8[_0x4e53a4(0x2da)](_0x84e669,_0x5e4496);break;}case _0x1daad8['EffectRefRangId'][_0x4e53a4(0x1e6)]:{_0x53c881=_0x1daad8[_0x4e53a4(0x2f8)](_0x84e669,_0x5e4496);break;}}const _0x28d202=_0x1daad8[_0x4e53a4(0x1c1)](_0x53c881,_0x5e4496),_0x5aa519=this[_0x4e53a4(0x34d)]['get'](_0x1252d5);if(_0x5aa519&&_0x28d202){const _0x33ca91={..._0x5aa519,'range':_0x28d202};this[_0x4e53a4(0x34d)][_0x4e53a4(0x3d3)](_0x1252d5,_0x33ca91),_0x38f9cc(()=>{const _0x5a0b7c=_0x4e53a4,_0x374ebf=this[_0x5a0b7c(0x38a)]['registerRefRange'](_0x28d202,_0x3ad219=>(_0x374ebf[_0x5a0b7c(0x228)](),_0x3d008c(_0x3ad219,_0x1252d5,_0x17a75d,_0x28d202)));_0x29c333[_0x5a0b7c(0x160)](_0x374ebf);});}return{'redos':[],'undos':[]};};this[_0x4621de(0x34d)][_0x4621de(0x1db)]((_0xaab12f,_0x265aa3)=>{const _0xab7549=_0x4621de,{range:_0x63161b,sheetID:_0x3ecde2}=_0xaab12f,_0x1da26b=this[_0xab7549(0x38a)]['registerRefRange'](_0x63161b,_0x25e430=>(_0x1da26b[_0xab7549(0x228)](),_0x3d008c(_0x25e430,_0x265aa3,_0x3ecde2,_0x63161b)));_0x29c333[_0xab7549(0x160)](_0x1da26b);});};this[_0x432d50(0x340)](_0x2b635d[_0x432d50(0x338)](this['_cursorInfo$'][_0x432d50(0x1f8)](()=>{_0x4df2d5();})));}[_0x247c13(0x1ea)](){const _0x439b52=_0x247c13;var _0x19ca27,_0x41e1fc;if(this[_0x439b52(0x167)]=!0x0,((_0x19ca27=this[_0x439b52(0x1bc)]['getFocusedUnit']())==null?void 0x0:_0x19ca27['getUnitId']())!==this[_0x439b52(0x17c)])return;const _0x27a996=(_0x41e1fc=this['_injector'][_0x439b52(0x2b6)](_0x1daad8['SheetsSelectionsService'])[_0x439b52(0x396)]())==null?void 0x0:_0x41e1fc[0x0],_0x2e99ed=this[_0x439b52(0x1bc)][_0x439b52(0x375)](_0x2b635d[_0x439b52(0x151)][_0x439b52(0x279)])['getActiveSheet']();_0x27a996&&_0x2e99ed&&this[_0x439b52(0x23d)](_0x2e99ed['getSheetId'](),_0x27a996);}[_0x247c13(0x136)](){const _0x51690b=_0x247c13;this[_0x51690b(0x167)]=!0x1;}};_0x5ca7d8=_0x14bc9c([_0xe8be12(0x2,_0x2b635d['Inject'](_0x2b635d[_0x247c13(0x230)])),_0xe8be12(0x3,_0x2b635d['Inject'](_0x5f32f6)),_0xe8be12(0x4,_0x2b635d['Inject'](_0x506fcd['MemberService'])),_0xe8be12(0x5,_0x2b635d['IUniverInstanceService']),_0xe8be12(0x6,_0x2b635d[_0x247c13(0x2bd)]),_0xe8be12(0x7,_0x2b635d['Inject'](_0x1daad8[_0x247c13(0x301)]))],_0x5ca7d8);var _0x11906b=Object[_0x247c13(0x1fe)],_0x2faff1=(_0x42872d,_0x5da8fd,_0x5673bb,_0x4a9a15)=>{const _0x1b0c25=_0x247c13;for(var _0x563c60=_0x4a9a15>0x1?void 0x0:_0x4a9a15?_0x11906b(_0x5da8fd,_0x5673bb):_0x5da8fd,_0x7db5ab=_0x42872d[_0x1b0c25(0x2b2)]-0x1,_0x1956a3;_0x7db5ab>=0x0;_0x7db5ab--)(_0x1956a3=_0x42872d[_0x7db5ab])&&(_0x563c60=_0x1956a3(_0x563c60)||_0x563c60);return _0x563c60;},_0x70334e=(_0x55dbf4,_0x17aa2c)=>(_0x12bcd3,_0x31ba00)=>_0x17aa2c(_0x12bcd3,_0x31ba00,_0x55dbf4);let _0x9097ea=class extends _0x2b635d[_0x247c13(0x175)]{constructor(_0x42668f,_0x23e9b3,_0x4a2cf4){const _0x519a3c=_0x247c13;super(),_0x42d170(this,'_entities',new Map()),_0x42d170(this,_0x519a3c(0x179),new _0x4e09fc[(_0x519a3c(0x275))]()),(this[_0x519a3c(0x1bc)]=_0x42668f,this[_0x519a3c(0x2d1)]=_0x23e9b3,this[_0x519a3c(0x3b7)]=_0x4a2cf4,this[_0x519a3c(0x188)]());}[_0x247c13(0x228)](){const _0x212a36=_0x247c13;super[_0x212a36(0x228)](),this['_entityInit$'][_0x212a36(0x185)](),this[_0x212a36(0x2f1)][_0x212a36(0x1db)](_0x245c67=>_0x245c67[_0x212a36(0x228)]());}[_0x247c13(0x2b9)](_0x2c1811){const _0x20bd5c=_0x247c13;return this['_entities'][_0x20bd5c(0x243)](_0x2c1811)?this[_0x20bd5c(0x2f1)][_0x20bd5c(0x2b6)](_0x2c1811)[_0x20bd5c(0x33a)]:this['_entityInit$']['pipe'](_0x4e09fc[_0x20bd5c(0x262)](_0x36d302=>_0x36d302[_0x20bd5c(0x17c)]===_0x2c1811),_0x4e09fc[_0x20bd5c(0x2af)](_0x17ae25=>_0x17ae25[_0x20bd5c(0x33a)]));}[_0x247c13(0x188)](){const _0xdf3d42=_0x247c13;this['_univerInstanceService'][_0xdf3d42(0x374)](_0x2b635d[_0xdf3d42(0x151)]['UNIVER_SHEET'])[_0xdf3d42(0x24a)](_0x4e09fc[_0xdf3d42(0x1f9)](this[_0xdf3d42(0x2ec)]))[_0xdf3d42(0x1f8)](async _0x2bef84=>{const _0x525e1b=_0xdf3d42,_0x42bd14=_0x2bef84[_0x525e1b(0x37f)](),_0x316960=await this[_0x525e1b(0x157)](_0x42bd14);this[_0x525e1b(0x179)][_0x525e1b(0x285)](_0x316960),this[_0x525e1b(0x2f1)][_0x525e1b(0x3d3)](_0x42bd14,_0x316960);}),this[_0xdf3d42(0x1bc)][_0xdf3d42(0x374)](_0x2b635d['UniverInstanceType'][_0xdf3d42(0x352)])[_0xdf3d42(0x24a)](_0x4e09fc['takeUntil'](this[_0xdf3d42(0x2ec)]))[_0xdf3d42(0x24a)](_0x4e09fc[_0xdf3d42(0x262)](_0x3445b5=>!_0x3445b5[_0xdf3d42(0x37f)]()[_0xdf3d42(0x29b)]('__')))['subscribe'](async _0x583733=>{const _0x2a70e4=_0xdf3d42,_0x1e6908=_0x583733[_0x2a70e4(0x37f)](),_0x170972=await this['_startDocCollabCursor'](_0x1e6908);this['_entityInit$'][_0x2a70e4(0x285)](_0x170972),this['_entities'][_0x2a70e4(0x3d3)](_0x1e6908,_0x170972);}),_0x4e09fc[_0xdf3d42(0x372)](this[_0xdf3d42(0x1bc)][_0xdf3d42(0x347)](_0x2b635d['UniverInstanceType'][_0xdf3d42(0x352)]),this['_univerInstanceService'][_0xdf3d42(0x347)](_0x2b635d['UniverInstanceType']['UNIVER_SHEET']))['pipe'](_0x4e09fc[_0xdf3d42(0x1f9)](this['dispose$']))[_0xdf3d42(0x1f8)](_0xeb1ca7=>{const _0x51eb87=_0xdf3d42,_0x1aeafe=_0xeb1ca7[_0x51eb87(0x37f)](),_0x23f3c4=this['_entities'][_0x51eb87(0x2b6)](_0x1aeafe);_0x23f3c4&&(_0x23f3c4[_0x51eb87(0x228)](),this[_0x51eb87(0x2f1)][_0x51eb87(0x216)](_0x1aeafe));});}async[_0x247c13(0x157)](_0x21e687){const _0x33e304=_0x247c13,_0x350eac=await this['_collabSessionService'][_0x33e304(0x265)](_0x21e687),_0x2fed76=this['_injector'][_0x33e304(0x15a)](_0x5ca7d8,_0x21e687,_0x350eac);return _0x2fed76[_0x33e304(0x225)](),_0x2fed76;}async[_0x247c13(0x1df)](_0x2ef071){const _0x636af5=_0x247c13,_0x510316=await this[_0x636af5(0x3b7)][_0x636af5(0x265)](_0x2ef071),_0x3c1f8d=this[_0x636af5(0x2d1)][_0x636af5(0x15a)](_0x1359db,_0x2ef071,_0x510316);return _0x3c1f8d[_0x636af5(0x225)](),_0x3c1f8d;}};_0x9097ea=_0x2faff1([_0x70334e(0x0,_0x2b635d[_0x247c13(0x29d)]),_0x70334e(0x1,_0x2b635d[_0x247c13(0x165)](_0x2b635d[_0x247c13(0x230)])),_0x70334e(0x2,_0x2b635d['Inject'](_0x506fcd[_0x247c13(0x1f1)]))],_0x9097ea);const _0x32c364=0x14,_0x50b529=0xc8,_0x56efd2=0x4,_0x22c475=0x5;function _0x412c5e(_0x3da6d2,_0x1a8b40){const _0x3ee922=_0x247c13;let {radius:_0x171838,width:_0x341bca,height:_0x4b1331}=_0x1a8b40;_0x171838=_0x171838!=null?_0x171838:0x0,_0x341bca=_0x341bca!=null?_0x341bca:0x1e,_0x4b1331=_0x4b1331!=null?_0x4b1331:0x1e;let _0x1645fe=0x0,_0x21c85c=0x0,_0x353887=0x0;_0x1645fe=_0x21c85c=_0x353887=Math[_0x3ee922(0x15b)](_0x171838,_0x341bca/0x2,_0x4b1331/0x2),_0x3da6d2[_0x3ee922(0x17f)](),_0x3da6d2[_0x3ee922(0x1c7)](_0x1645fe,0x0),_0x3da6d2[_0x3ee922(0x3df)](_0x341bca-_0x21c85c,0x0),_0x3da6d2[_0x3ee922(0x304)](_0x341bca-_0x21c85c,_0x21c85c,_0x21c85c,Math['PI']*0x3/0x2,0x0,!0x1),_0x3da6d2['lineTo'](_0x341bca,_0x4b1331-_0x353887),_0x3da6d2[_0x3ee922(0x304)](_0x341bca-_0x353887,_0x4b1331-_0x353887,_0x353887,0x0,Math['PI']/0x2,!0x1),_0x3da6d2[_0x3ee922(0x3df)](0x0,_0x4b1331),_0x3da6d2['lineTo'](0x0,_0x1645fe),_0x3da6d2[_0x3ee922(0x304)](_0x1645fe,_0x1645fe,_0x1645fe,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3da6d2[_0x3ee922(0x266)](),_0x1a8b40[_0x3ee922(0x141)]&&(_0x3da6d2[_0x3ee922(0x20a)](),_0x3da6d2['fillStyle']=_0x1a8b40[_0x3ee922(0x141)],_0x1a8b40[_0x3ee922(0x387)]===_0x3ee922(0x313)?_0x3da6d2[_0x3ee922(0x141)]('evenodd'):_0x3da6d2['fill'](),_0x3da6d2[_0x3ee922(0x367)]());}class _0x1524c3 extends _0x59264b['Shape']{constructor(_0x48a6f9,_0x49c26f){const _0x27e0ca=_0x247c13;super(_0x48a6f9,_0x49c26f),_0x42d170(this,_0x27e0ca(0x35e)),_0x42d170(this,_0x27e0ca(0x398)),(this['color']=_0x49c26f==null?void 0x0:_0x49c26f[_0x27e0ca(0x35e)],this['text']=_0x49c26f==null?void 0x0:_0x49c26f[_0x27e0ca(0x398)]);}static[_0x247c13(0x327)](_0x7b4cfe,_0x16b2bc){const _0x2ff392=_0x247c13,{text:_0x4aa95c,color:_0x338363}=_0x16b2bc;_0x7b4cfe[_0x2ff392(0x20a)](),_0x7b4cfe[_0x2ff392(0x315)]=_0x2ff392(0x234);const _0x375e51=_0x7b4cfe[_0x2ff392(0x27d)](_0x4aa95c)[_0x2ff392(0x386)],_0x4c7753=Math[_0x2ff392(0x15b)](_0x375e51+0x2*_0x56efd2,_0x50b529);_0x412c5e(_0x7b4cfe,{'height':_0x32c364,'radius':0x4,'width':_0x4c7753,'fill':_0x338363}),_0x7b4cfe[_0x2ff392(0x20c)]=_0x2ff392(0x2a5);const _0x45ca78=_0x56efd2,_0x2ce926=_0x32c364-_0x22c475,_0x5494fd=_0x50b529-0x2*_0x56efd2;if(_0x375e51>_0x5494fd){let _0x3d8abf='',_0xaad124=0x0;for(const _0x16f900 of _0x4aa95c){const _0x8e5212=_0x7b4cfe['measureText'](_0x16f900)[_0x2ff392(0x386)];if(_0xaad124+_0x8e5212<=_0x5494fd-_0x7b4cfe[_0x2ff392(0x27d)](_0x2ff392(0x3a9))[_0x2ff392(0x386)])_0x3d8abf+=_0x16f900,_0xaad124+=_0x8e5212;else{_0x3d8abf+='...';break;}}_0x7b4cfe['fillText'](_0x3d8abf,_0x45ca78,_0x2ce926);}else _0x7b4cfe[_0x2ff392(0x159)](_0x4aa95c,_0x45ca78,_0x2ce926);_0x7b4cfe[_0x2ff392(0x367)]();}[_0x247c13(0x264)](_0x30265e){const _0x100315=_0x247c13;_0x1524c3[_0x100315(0x327)](_0x30265e,this);}}const _0x57ff65='collab-text-anchor-',_0x5185fa='collab-text-range-',_0x23d537='collab-rect-range-',_0x5d15a2=0x6,_0x4cff0a=1.5,_0x206bb4=0x4,_0xc50211=1.5,_0x475f76=_0x247c13(0x158);class _0x516683{constructor(_0x46c7fd,_0x3cdc55,_0x1e934d,_0x3dbd67){const _0x4a93b4=_0x247c13;_0x42d170(this,_0x4a93b4(0x197),[]),_0x42d170(this,'_anchor',null),_0x42d170(this,_0x4a93b4(0x2f3),null),_0x42d170(this,_0x4a93b4(0x322),null),_0x42d170(this,_0x4a93b4(0x26d),null),_0x42d170(this,_0x4a93b4(0x222),null),(this['_cursor']=_0x46c7fd,this[_0x4a93b4(0x281)]=_0x3cdc55,this[_0x4a93b4(0x16a)]=_0x1e934d,this[_0x4a93b4(0x28d)]=_0x3dbd67,this[_0x4a93b4(0x1e5)]());}set[_0x247c13(0x2bb)](_0xacb9fd){const _0x1a55fc=_0x247c13;_0xacb9fd?(this['_anchorDot']&&this[_0x1a55fc(0x322)]['hide'](),this[_0x1a55fc(0x2f3)]&&this['_textBubble'][_0x1a55fc(0x172)]()):(this['_anchorDot']&&this['_anchorDot']['show'](),this[_0x1a55fc(0x2f3)]&&this[_0x1a55fc(0x2f3)]['hide']());}[_0x247c13(0x228)](){const _0x4a4bdd=_0x247c13;for(const _0xd8436d of this[_0x4a4bdd(0x197)])_0xd8436d[_0x4a4bdd(0x228)]();this['_textBubble']&&this[_0x4a4bdd(0x2f3)]['dispose'](),this[_0x4a4bdd(0x322)]&&this[_0x4a4bdd(0x322)][_0x4a4bdd(0x228)](),this['_anchor']&&this['_anchor']['dispose'](),this[_0x4a4bdd(0x222)]&&this[_0x4a4bdd(0x222)]();}[_0x247c13(0x1e5)](){const _0x524011=_0x247c13;var _0x5d9457;const {_docSkeleton:_0x1848c2,_document:_0x3a6499}=this,{color:_0x8a3cc1,name:_0x489ba6,ranges:_0x956427}=this[_0x524011(0x25c)],_0x11aaf6=_0x3a6499[_0x524011(0x37b)](),{docsLeft:_0xbe7873,docsTop:_0x5b9528}=_0x11aaf6,_0x2778c4=new _0x4fb330[(_0x524011(0x382))](_0x11aaf6,_0x1848c2);for(const {startOffset:_0x41a485,endOffset:_0x3daf42,rangeType:_0x257473,segmentId:_0x5ab1df,segmentPage:_0x402a1f,collapsed:_0x23dbca,isActive:_0x11afd8}of _0x956427){const _0x3125c1=_0x1848c2[_0x524011(0x162)](_0x41a485,!0x0,_0x5ab1df,_0x402a1f);let _0x33d98e=_0x1848c2[_0x524011(0x162)](_0x3daf42,!0x0,_0x5ab1df,_0x402a1f);if(_0x33d98e==null&&(_0x33d98e=_0x1848c2[_0x524011(0x162)](_0x3daf42-0x1,!0x1,_0x5ab1df,_0x402a1f)),_0x11afd8){const {contentBoxPointGroup:_0x56e7cd}=_0x2778c4['getRangePointData'](_0x33d98e,_0x33d98e);if(_0x56e7cd[_0x524011(0x2b2)]===0x0)continue;this[_0x524011(0x2ac)](_0x8a3cc1,_0x56e7cd,_0xbe7873,_0x5b9528,_0x489ba6),this[_0x524011(0x222)]=this[_0x524011(0x147)]();}if(_0x3125c1&&_0x33d98e){if(_0x257473===_0x2b635d[_0x524011(0x3de)]['RECT']){const _0x61a459=new _0x4fb330['NodePositionConvertToRectRange'](_0x11aaf6,_0x1848c2),{pointGroup:_0xa385e0}=(_0x5d9457=_0x61a459[_0x524011(0x294)](_0x3125c1,_0x33d98e))!=null?_0x5d9457:{};if(_0xa385e0==null||_0xa385e0['length']===0x0)continue;this[_0x524011(0x215)](_0x8a3cc1,_0xa385e0,_0xbe7873,_0x5b9528);}else{if(!_0x23dbca){const {borderBoxPointGroup:_0x1ff774}=_0x2778c4[_0x524011(0x294)](_0x3125c1,_0x33d98e);if(_0x1ff774[_0x524011(0x2b2)]===0x0)continue;this[_0x524011(0x237)](_0x8a3cc1,_0x1ff774,_0xbe7873,_0x5b9528);}}}}}[_0x247c13(0x2ac)](_0x2c45ad,_0x542e2a,_0x4e0f31,_0x361112,_0x9fa2b){const _0x520dc7=_0x247c13,_0x10d156=this[_0x520dc7(0x25d)](_0x542e2a),{left:_0x3de668,top:_0x2e2687,height:_0x100d02}=_0x10d156,_0x512936=this[_0x520dc7(0x39b)](),_0x4ad8a9=_0xc50211/_0x512936,_0x2488b6=new _0x59264b[(_0x520dc7(0x2dd))](_0x57ff65+_0x2b635d[_0x520dc7(0x28c)][_0x520dc7(0x2e4)](_0x5d15a2),{'left':_0x3de668+_0x4e0f31-_0x4ad8a9,'top':_0x2e2687+_0x361112,'height':_0x100d02,'width':_0x4cff0a,'fill':_0x2c45ad||_0x59264b[_0x520dc7(0x2d8)](_0x2b635d[_0x520dc7(0x324)][_0x520dc7(0x337)],0x0),'strokeWidth':_0x4ad8a9,'stroke':_0x475f76,'evented':!0x0});this[_0x520dc7(0x29a)]=_0x2488b6,this[_0x520dc7(0x281)][_0x520dc7(0x19f)](_0x2488b6,_0x4fb330[_0x520dc7(0x224)]);const _0x2a4ff1=new _0x59264b[(_0x520dc7(0x2dd))](_0x57ff65+_0x2b635d[_0x520dc7(0x28c)][_0x520dc7(0x2e4)](_0x5d15a2),{'left':_0x3de668+_0x4e0f31-_0x4ad8a9,'top':_0x2e2687+_0x361112-_0x206bb4/0x2,'height':_0x206bb4,'width':_0x206bb4,'fill':_0x2c45ad||_0x59264b['getColor'](_0x2b635d[_0x520dc7(0x324)][_0x520dc7(0x337)],0x0),'strokeWidth':0x0,'stroke':_0x2c45ad||_0x59264b['getColor'](_0x2b635d[_0x520dc7(0x324)][_0x520dc7(0x337)],0x0),'evented':!0x1});this[_0x520dc7(0x322)]=_0x2a4ff1,this[_0x520dc7(0x281)][_0x520dc7(0x19f)](_0x2a4ff1,_0x4fb330[_0x520dc7(0x224)]);const _0x5c2144=new _0x1524c3(_0x57ff65+_0x2b635d[_0x520dc7(0x28c)][_0x520dc7(0x2e4)](_0x5d15a2),{'left':_0x3de668+_0x4e0f31-_0x4ad8a9,'top':_0x2e2687+_0x361112-_0x32c364,'text':_0x9fa2b,'color':_0x2c45ad});this['_textBubble']=_0x5c2144,this['_scene'][_0x520dc7(0x19f)](_0x5c2144,_0x4fb330['TEXT_RANGE_LAYER_INDEX']),this[_0x520dc7(0x2bb)]=!0x1;}[_0x247c13(0x147)](){const _0x40afd1=_0x247c13,_0x30f178=this[_0x40afd1(0x29a)][_0x40afd1(0x290)][_0x40afd1(0x209)](()=>{const _0x4946b7=_0x40afd1;this[_0x4946b7(0x2bb)]=!0x0;}),_0xa78799=this[_0x40afd1(0x29a)]['onPointerLeave$'][_0x40afd1(0x209)](()=>{const _0x1a7de1=_0x40afd1;this[_0x1a7de1(0x26d)]&&clearTimeout(this[_0x1a7de1(0x26d)]),this['_hideTimer']=setTimeout(()=>{const _0x41acf7=_0x1a7de1;this[_0x41acf7(0x2bb)]=!0x1;},0x7d0);});return()=>{const _0x21693a=_0x40afd1;_0x30f178[_0x21693a(0x20e)](),_0xa78799[_0x21693a(0x20e)]();};}[_0x247c13(0x237)](_0x4b1f45,_0x1a5e8f,_0x58987a,_0x2e2a54){const _0x4e1499=_0x247c13,_0x5d170c=new _0x2b635d['ColorKit'](_0x4b1f45)[_0x4e1499(0x163)](0.2)[_0x4e1499(0x2ca)](),_0x2aadf6=new _0x59264b[(_0x4e1499(0x369))](_0x5185fa+_0x2b635d['Tools']['generateRandomId'](_0x5d15a2),{'pointsGroup':_0x1a5e8f,'fill':_0x5d170c||_0x59264b[_0x4e1499(0x2d8)](_0x2b635d[_0x4e1499(0x324)][_0x4e1499(0x337)],0.2),'left':_0x58987a,'top':_0x2e2a54,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4e1499(0x197)][_0x4e1499(0x2bf)](_0x2aadf6),this[_0x4e1499(0x281)][_0x4e1499(0x19f)](_0x2aadf6,_0x4fb330[_0x4e1499(0x224)]);}['_drawRectRange'](_0x24841d,_0x26e476,_0x10829f,_0x52f3e1){const _0x4c1f05=_0x247c13,_0x1ed379=new _0x2b635d[(_0x4c1f05(0x30a))](_0x24841d)[_0x4c1f05(0x163)](0.2)[_0x4c1f05(0x2ca)](),_0x29caff=new _0x59264b[(_0x4c1f05(0x369))](_0x23d537+_0x2b635d[_0x4c1f05(0x28c)][_0x4c1f05(0x2e4)](_0x5d15a2),{'pointsGroup':_0x26e476,'fill':_0x1ed379||_0x59264b[_0x4c1f05(0x2d8)](_0x2b635d['COLORS'][_0x4c1f05(0x337)],0.2),'left':_0x10829f,'top':_0x52f3e1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4c1f05(0x197)][_0x4c1f05(0x2bf)](_0x29caff),this[_0x4c1f05(0x281)][_0x4c1f05(0x19f)](_0x29caff,_0x4fb330['TEXT_RANGE_LAYER_INDEX']);}[_0x247c13(0x25d)](_0x3fb1f3){const _0x5a9309=_0x3fb1f3[0x0],_0x390a1b=_0x5a9309[0x0],_0x285f8d=_0x5a9309[0x2],{x:_0x518107,y:_0x2d3b79}=_0x390a1b,{x:_0x24dea5,y:_0x1ee136}=_0x285f8d;return{'left':_0x518107,'top':_0x2d3b79,'width':_0x24dea5-_0x518107,'height':_0x1ee136-_0x2d3b79};}[_0x247c13(0x39b)](){const _0xa224a2=_0x247c13,{scaleX:_0x260eb3,scaleY:_0x3a94fa}=this[_0xa224a2(0x281)]['getAncestorScale']();return Math[_0xa224a2(0x27f)](_0x260eb3,_0x3a94fa);}}var _0x5a8949=Object[_0x247c13(0x1fe)],_0x38f18b=(_0x17fccc,_0xee0e72,_0x506fad,_0x522330)=>{const _0xd10623=_0x247c13;for(var _0xc4627=_0x522330>0x1?void 0x0:_0x522330?_0x5a8949(_0xee0e72,_0x506fad):_0xee0e72,_0xa0bb0c=_0x17fccc[_0xd10623(0x2b2)]-0x1,_0x6f688f;_0xa0bb0c>=0x0;_0xa0bb0c--)(_0x6f688f=_0x17fccc[_0xa0bb0c])&&(_0xc4627=_0x6f688f(_0xc4627)||_0xc4627);return _0xc4627;},_0x4dedba=(_0x28b5dd,_0x2f6133)=>(_0x1ccf96,_0x2550c6)=>_0x2f6133(_0x1ccf96,_0x2550c6,_0x28b5dd);let _0x1ea147=class extends _0x2b635d[_0x247c13(0x175)]{constructor(_0x242c7d,_0x1b5892,_0x5dfb44,_0x18d975,_0x50ef0b){const _0x3c36da=_0x247c13;super(),_0x42d170(this,'_cursorShapes',[]),_0x42d170(this,'_cursors',[]),(this['_context']=_0x242c7d,this[_0x3c36da(0x23a)]=_0x1b5892,this[_0x3c36da(0x1d0)]=_0x5dfb44,this['_commandService']=_0x18d975,this[_0x3c36da(0x289)]=_0x50ef0b,this[_0x3c36da(0x188)]());}['_init'](){const _0x569cc0=_0x247c13,_0x374e3c=this[_0x569cc0(0x16b)]['unitId'],_0x243cf4=this[_0x569cc0(0x23a)];this['disposeWithMe'](_0x4e09fc['combineLatest']([this[_0x569cc0(0x1d0)][_0x569cc0(0x2b9)](_0x374e3c),this[_0x569cc0(0x289)][_0x569cc0(0x339)]])[_0x569cc0(0x24a)](_0x2b569a['map'](([_0x4c5a92,_0x1f2580])=>({'skeleton':_0x243cf4[_0x569cc0(0x2ad)](),'cursors':[..._0x4c5a92[_0x569cc0(0x27a)]()][_0x569cc0(0x311)](_0x477324=>({..._0x477324,'color':this[_0x569cc0(0x289)][_0x569cc0(0x31a)](_0x477324['color'])}))})))['subscribe'](_0x1f8140=>{if(this['_removeCollabCursors'](),_0x1f8140){const {skeleton:_0x712253,cursors:_0x335b0b}=_0x1f8140;this['_updateCollabCursors'](_0x712253,_0x335b0b);}})),this[_0x569cc0(0x1b2)](),this[_0x569cc0(0x286)]();}[_0x247c13(0x242)](_0x1024c5,_0x1b0d89){const _0x4dd567=_0x247c13,{scene:_0x196f1d,mainComponent:_0x3d933e}=this[_0x4dd567(0x16b)],_0xf6e72f=_0x1b0d89[_0x4dd567(0x199)](_0x439f48=>new _0x516683(_0x439f48,_0x196f1d,_0x1024c5,_0x3d933e));this[_0x4dd567(0x2ba)]=_0xf6e72f,this['_cursors']=_0x1b0d89;}[_0x247c13(0x346)](){const _0x186e11=_0x247c13;this[_0x186e11(0x18a)]();const {scene:_0x3ddf15,mainComponent:_0x40cca1}=this[_0x186e11(0x16b)],_0x342e5f=this[_0x186e11(0x23a)]['getSkeleton'](),_0x37d1c5=this[_0x186e11(0x2c5)][_0x186e11(0x199)](_0x1184ee=>new _0x516683(_0x1184ee,_0x3ddf15,_0x342e5f,_0x40cca1));this[_0x186e11(0x2ba)]=_0x37d1c5;}['_removeCollabCursors'](){const _0x1bfa1f=_0x247c13;this[_0x1bfa1f(0x2ba)]['forEach'](_0x4aef85=>_0x4aef85[_0x1bfa1f(0x228)]()),this['_cursorShapes']=[];}[_0x247c13(0x286)](){const _0x25b235=_0x247c13,_0xab8d29=[_0x4fb330['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x25b235(0x192)][_0x25b235(0x1c4)](_0x54d4a8=>{const _0x4837a6=_0x25b235;_0xab8d29['includes'](_0x54d4a8['id'])&&_0x54d4a8[_0x4837a6(0x14f)][_0x4837a6(0x229)]===this[_0x4837a6(0x16b)][_0x4837a6(0x229)]&&this[_0x4837a6(0x346)]();}));}[_0x247c13(0x1b2)](){const _0xa2861b=_0x247c13;this[_0xa2861b(0x340)](_0x2b635d[_0xa2861b(0x1bf)](this[_0xa2861b(0x16b)]['engine'][_0xa2861b(0x37a)])[_0xa2861b(0x24a)](_0x2b569a[_0xa2861b(0x262)](_0x2179fe=>_0x2179fe[_0xa2861b(0x1ca)]===_0x59264b[_0xa2861b(0x1d1)][_0xa2861b(0x296)]),_0x2b569a[_0xa2861b(0x310)](0x10))[_0xa2861b(0x1f8)](()=>{this['_refreshCollabCursors']();}));}};_0x1ea147=_0x38f18b([_0x4dedba(0x1,_0x2b635d['Inject'](_0x57f3fe[_0x247c13(0x1a3)])),_0x4dedba(0x2,_0x2b635d['Inject'](_0x9097ea)),_0x4dedba(0x3,_0x2b635d[_0x247c13(0x2bd)]),_0x4dedba(0x4,_0x2b635d[_0x247c13(0x165)](_0x2b635d[_0x247c13(0x19a)]))],_0x1ea147);const _0x4b3d02=0x1,_0x2a12f8=1.5;class _0x598ffe extends _0x59264b[_0x247c13(0x37d)]{constructor(_0x3329e3,_0x1dc022){const _0x5a8c06=_0x247c13;super(_0x3329e3,_0x1dc022),_0x42d170(this,'_color'),_0x42d170(this,_0x5a8c06(0x245),!0x1),_0x42d170(this,_0x5a8c06(0x2cb)),_0x42d170(this,_0x5a8c06(0x33c),''),_0x42d170(this,_0x5a8c06(0x345),'top'),_0x42d170(this,_0x5a8c06(0x331)),(_0x1dc022&&this[_0x5a8c06(0x217)](_0x1dc022),this[_0x5a8c06(0x290)][_0x5a8c06(0x209)](()=>this[_0x5a8c06(0x217)]({'hovered':!0x0})),this['onPointerLeave$'][_0x5a8c06(0x209)](()=>this[_0x5a8c06(0x217)]({'hovered':!0x1})));}[_0x247c13(0x217)](_0x4e100c){const _0x2e1ef8=_0x247c13;var _0x39e09f,_0x5cbee8,_0x5d0d0e,_0x4eca72,_0x496857,_0x5c735f;this['_color']=(_0x39e09f=_0x4e100c[_0x2e1ef8(0x35e)])!=null?_0x39e09f:this[_0x2e1ef8(0x3ce)],this[_0x2e1ef8(0x245)]=(_0x5cbee8=_0x4e100c[_0x2e1ef8(0x2d2)])!=null?_0x5cbee8:this[_0x2e1ef8(0x245)],this['_range']=(_0x5d0d0e=_0x4e100c[_0x2e1ef8(0x354)])!=null?_0x5d0d0e:this[_0x2e1ef8(0x2cb)],this[_0x2e1ef8(0x33c)]=(_0x4eca72=_0x4e100c[_0x2e1ef8(0x20d)])!=null?_0x4eca72:this[_0x2e1ef8(0x33c)],this[_0x2e1ef8(0x345)]=(_0x496857=_0x4e100c[_0x2e1ef8(0x39a)])!=null?_0x496857:this[_0x2e1ef8(0x345)],this[_0x2e1ef8(0x331)]=(_0x5c735f=_0x4e100c['backgroundColor'])!=null?_0x5c735f:this['_backgroundColor'],this[_0x2e1ef8(0x214)]({'width':_0x4e100c[_0x2e1ef8(0x386)],'height':_0x4e100c[_0x2e1ef8(0x27c)]});}[_0x247c13(0x3a4)](_0x25ef45){const _0x294731=_0x247c13,{row:_0x166947,column:_0x54a87d}=_0x25ef45;if(_0x166947>=this[_0x294731(0x2cb)]['startRow']&&_0x166947<=this[_0x294731(0x2cb)][_0x294731(0x3b6)]&&_0x54a87d>=this[_0x294731(0x2cb)][_0x294731(0x1b1)]&&_0x54a87d<=this['_range']['endColumn']){this[_0x294731(0x217)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x247c13(0x14e)](_0x51e11c){return!0x1;}[_0x247c13(0x264)](_0x18c826){const _0x53797f=_0x247c13;_0x59264b[_0x53797f(0x2dd)]['drawWith'](_0x18c826,{'width':this[_0x53797f(0x386)],'height':this[_0x53797f(0x27c)],'strokeWidth':_0x2a12f8,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x53797f(0x331)]}),this[_0x53797f(0x245)]&&(_0x18c826[_0x53797f(0x20a)](),_0x18c826[_0x53797f(0x1e4)](0x1,0x0,0x0,0x1,this[_0x53797f(0x386)],this[_0x53797f(0x345)]===_0x53797f(0x153)?0x0:-0x14),_0x1524c3[_0x53797f(0x327)](_0x18c826,{'text':this[_0x53797f(0x33c)],'color':this[_0x53797f(0x3ce)]}),_0x18c826['restore']());}}var _0x270c6e=Object[_0x247c13(0x1fe)],_0x21b347=(_0x3f8fe6,_0x5e6ba7,_0x11d5ac,_0x3fcc7c)=>{const _0x46f63b=_0x247c13;for(var _0x496a2b=_0x3fcc7c>0x1?void 0x0:_0x3fcc7c?_0x270c6e(_0x5e6ba7,_0x11d5ac):_0x5e6ba7,_0x5aa37d=_0x3f8fe6[_0x46f63b(0x2b2)]-0x1,_0x4928a7;_0x5aa37d>=0x0;_0x5aa37d--)(_0x4928a7=_0x3f8fe6[_0x5aa37d])&&(_0x496a2b=_0x4928a7(_0x496a2b)||_0x496a2b);return _0x496a2b;},_0x56328c=(_0x48bacd,_0x360c7c)=>(_0x3aff3d,_0x1eaf4a)=>_0x360c7c(_0x3aff3d,_0x1eaf4a,_0x48bacd);const _0x3dfc32=0x1389;let _0xa5c554=class extends _0x2b635d[_0x247c13(0x175)]{constructor(_0x330ad5,_0x5bef85,_0x52e854,_0x21ae89){const _0x2e7449=_0x247c13;super(),_0x42d170(this,_0x2e7449(0x2c5),new Set()),_0x42d170(this,'_lastPointer',null),(this[_0x2e7449(0x16b)]=_0x330ad5,this[_0x2e7449(0x1c3)]=_0x5bef85,this[_0x2e7449(0x1d0)]=_0x52e854,this[_0x2e7449(0x289)]=_0x21ae89,this['_init']());}[_0x247c13(0x188)](){const _0x2e7a17=_0x247c13;this[_0x2e7a17(0x1c3)][_0x2e7a17(0x293)][_0x2e7a17(0x24a)](_0x2b569a['takeUntil'](this['dispose$']),_0x2b569a['switchMap'](_0x50422b=>{const _0x38cc77=_0x2e7a17;if(_0x50422b){const _0x5e8c60=_0x50422b[_0x38cc77(0x2ce)];return _0x4e09fc[_0x38cc77(0x336)](this[_0x38cc77(0x1d0)][_0x38cc77(0x2b9)](this[_0x38cc77(0x16b)]['unitId']),this[_0x38cc77(0x289)][_0x38cc77(0x339)])[_0x38cc77(0x24a)](_0x2b569a['map'](([_0x148cf6,_0x4cc705])=>{const _0x5e40d9=_0x38cc77,_0x35361a=new Map();return _0x148cf6[_0x5e40d9(0x1db)]((_0x4eccef,_0x59e6e0)=>{const _0x348de7=_0x5e40d9;if(_0x4eccef['sheetID']===_0x5e8c60){const _0x42cd0e={..._0x4eccef};_0x42cd0e[_0x348de7(0x35e)]=this[_0x348de7(0x289)][_0x348de7(0x31a)](_0x4eccef[_0x348de7(0x35e)]),_0x35361a[_0x348de7(0x3d3)](_0x59e6e0,_0x42cd0e);}}),{'skeleton':_0x50422b,'cursors':_0x35361a};}));}return _0x4e09fc['of']({'skeleton':null,'cursors':new Map()});}))[_0x2e7a17(0x1f8)](({skeleton:_0x3e46b7,cursors:_0x46fa2d})=>{const _0x39e615=_0x2e7a17;this[_0x39e615(0x18a)](),_0x3e46b7&&this['_updateCollabCursors'](_0x3e46b7,_0x46fa2d);}),this[_0x2e7a17(0x1c3)][_0x2e7a17(0x293)][_0x2e7a17(0x1f8)](_0x939b7e=>{const _0x24e11a=_0x2e7a17;if(_0x939b7e==null)return;const {skeleton:_0x1f0b6f}=_0x939b7e,{scene:_0x284e02}=this[_0x24e11a(0x16b)];_0x284e02['onPointerMove$'][_0x24e11a(0x209)](_0x2b635d[_0x24e11a(0x3b3)](_0x4af7b2=>{const _0x2c9245=_0x24e11a;var _0x2a1f43,_0x2abce4;const {offsetX:_0x8ff4ef,offsetY:_0x870ed0}=_0x4af7b2,{x:_0x5f4fba,y:_0x506328}=_0x284e02[_0x2c9245(0x246)](_0x59264b[_0x2c9245(0x249)][_0x2c9245(0x28e)]([_0x8ff4ef,_0x870ed0])),{scaleX:_0x23744a,scaleY:_0x444863}=_0x284e02[_0x2c9245(0x34a)](),_0x2e4dd9=_0x284e02[_0x2c9245(0x385)](_0x59264b[_0x2c9245(0x2f0)]['VIEW_MAIN']),_0x2c1b89=_0x284e02[_0x2c9245(0x218)](_0x59264b[_0x2c9245(0x249)][_0x2c9245(0x28e)]([_0x5f4fba,_0x506328]),_0x2e4dd9),_0x41aaa7=_0x1f0b6f[_0x2c9245(0x1a7)](_0x8ff4ef,_0x870ed0,_0x23744a,_0x444863,_0x2c1b89);((_0x2a1f43=this['_lastPointer'])==null?void 0x0:_0x2a1f43[_0x2c9245(0x302)])===_0x41aaa7[_0x2c9245(0x302)]&&((_0x2abce4=this[_0x2c9245(0x1cd)])==null?void 0x0:_0x2abce4['row'])===_0x41aaa7[_0x2c9245(0x13b)]||this['_cursors']['forEach'](_0x578831=>{const _0x438447=_0x2c9245;_0x578831[_0x438447(0x3a4)](_0x41aaa7);});},0x64));});}[_0x247c13(0x242)](_0x54c121,_0x1cebf4){const _0x8bb59e=_0x247c13;var _0x30925b;const _0x503d07=(_0x30925b=this[_0x8bb59e(0x1c3)][_0x8bb59e(0x1ab)]())==null?void 0x0:_0x30925b[_0x8bb59e(0x2d9)];if(!_0x503d07)return;const _0x1a4045=this[_0x8bb59e(0x1c8)]();if(!_0x1a4045)return;this['_cursors']['forEach'](_0x3d225c=>{const _0x151655=_0x8bb59e;_0x3d225c[_0x151655(0x282)]();});const {scene:_0x58de46}=_0x1a4045,_0x5d71ff=_0x5ccc95(Array[_0x8bb59e(0x392)](_0x1cebf4['values']()))[_0x8bb59e(0x199)](_0x534b92=>{const _0x4f71fc=_0x8bb59e,{color:_0x55de47,range:_0x4a1f40,name:_0x4a5cfb,selection:_0x30e6d5,sheetID:_0x5b3001}=_0x534b92,{startColumn:_0x4a882c,startRow:_0x5a15f3,endColumn:_0x1456dc,endRow:_0xb04936}=_0x4a1f40,_0x569a2c=_0x2b7a6f[_0x4f71fc(0x292)](_0x5a15f3,_0x4a882c,_0x58de46,_0x503d07),_0x518967=_0x2b7a6f['getCoordByCell'](_0xb04936,_0x1456dc,_0x58de46,_0x503d07),{columnHeaderHeightAndMarginTop:_0x3ebd11}=_0x503d07,{startX:_0x33ff4f,startY:_0x4740de}=_0x569a2c,{endX:_0x3dfef8,endY:_0x44446c}=_0x518967,_0x3c830f=_0x3dfef8-_0x33ff4f,_0x15cf76=_0x44446c-_0x4740de,_0x54d0a1={'labelPosition':_0x4740de-_0x3ebd11>=_0x32c364?'top':'bottom','sheetID':_0x5b3001,'range':_0x4a1f40,'color':_0x55de47,'name':_0x4a5cfb,'selection':_0x30e6d5,'left':_0x33ff4f,'top':_0x4740de,'width':_0x3c830f,'height':_0x15cf76,'evented':!0x1,'zIndex':_0x3dfc32};return new _0x598ffe(_0x4a5cfb,_0x54d0a1);});_0x58de46[_0x8bb59e(0x22d)](_0x5d71ff,_0x4b3d02),this[_0x8bb59e(0x2c5)]=new Set(_0x5d71ff);}[_0x247c13(0x18a)](){const _0x1c3f37=_0x247c13;var _0x5c0425;(_0x5c0425=this[_0x1c3f37(0x2c5)])==null||_0x5c0425[_0x1c3f37(0x1db)](_0x35b5dc=>_0x35b5dc['dispose']());}['_getSheetObject'](){const _0x4a74e1=_0x247c13;return _0x2b7a6f['getSheetObject'](this[_0x4a74e1(0x16b)][_0x4a74e1(0x206)],this['_context']);}};_0xa5c554=_0x21b347([_0x56328c(0x1,_0x2b635d[_0x247c13(0x165)](_0x2b7a6f['SheetSkeletonManagerService'])),_0x56328c(0x2,_0x2b635d['Inject'](_0x9097ea)),_0x56328c(0x3,_0x2b635d['Inject'](_0x2b635d['ThemeService']))],_0xa5c554);function _0x5ccc95(_0x453a05){const _0x5c808c=_0x247c13,_0x319e24=new Map();return _0x453a05[_0x5c808c(0x1db)](_0x220aa7=>{const _0x3e03de=_0x5c808c;if(_0x319e24[_0x3e03de(0x243)](_0x220aa7[_0x3e03de(0x191)])){const _0x1666cd=_0x319e24['get'](_0x220aa7['selection']);_0x1666cd[_0x3e03de(0x20d)]+=',\x20'+_0x220aa7[_0x3e03de(0x20d)];}else _0x319e24[_0x3e03de(0x3d3)](_0x220aa7[_0x3e03de(0x191)],_0x220aa7);}),Array[_0x5c808c(0x392)](_0x319e24[_0x5c808c(0x27a)]());}var _0x2509db=function(){const _0x3b4cfc=_0x247c13;return _0x2509db=Object[_0x3b4cfc(0x332)]||function(_0x1b0634){const _0x487356=_0x3b4cfc;for(var _0x4ae932,_0x4c413a=0x1,_0x4b7ce2=arguments[_0x487356(0x2b2)];_0x4c413a<_0x4b7ce2;_0x4c413a++){_0x4ae932=arguments[_0x4c413a];for(var _0x5c09a2 in _0x4ae932)Object[_0x487356(0x18f)]['hasOwnProperty'][_0x487356(0x210)](_0x4ae932,_0x5c09a2)&&(_0x1b0634[_0x5c09a2]=_0x4ae932[_0x5c09a2]);}return _0x1b0634;},_0x2509db[_0x3b4cfc(0x3b9)](this,arguments);},_0x23571e=function(_0x52dc61,_0x17266a){const _0x3e9139=_0x247c13;var _0x1a37b4={};for(var _0x125411 in _0x52dc61)Object[_0x3e9139(0x18f)][_0x3e9139(0x240)][_0x3e9139(0x210)](_0x52dc61,_0x125411)&&_0x17266a['indexOf'](_0x125411)<0x0&&(_0x1a37b4[_0x125411]=_0x52dc61[_0x125411]);if(_0x52dc61!=null&&typeof Object['getOwnPropertySymbols']==_0x3e9139(0x356)){for(var _0x362005=0x0,_0x125411=Object[_0x3e9139(0x173)](_0x52dc61);_0x362005<_0x125411[_0x3e9139(0x2b2)];_0x362005++)_0x17266a[_0x3e9139(0x28a)](_0x125411[_0x362005])<0x0&&Object[_0x3e9139(0x18f)]['propertyIsEnumerable'][_0x3e9139(0x210)](_0x52dc61,_0x125411[_0x362005])&&(_0x1a37b4[_0x125411[_0x362005]]=_0x52dc61[_0x125411[_0x362005]]);}return _0x1a37b4;},_0x171d41=_0x23e7f1[_0x247c13(0x20b)](function(_0x56774e,_0x2c0417){const _0x29436d=_0x247c13;var _0x110b34=_0x56774e[_0x29436d(0x33f)],_0x2dd960=_0x56774e['id'],_0x5a5979=_0x56774e[_0x29436d(0x349)],_0x413dc6=_0x56774e['extend'],_0x1091ec=_0x23571e(_0x56774e,[_0x29436d(0x33f),'id',_0x29436d(0x349),_0x29436d(0x3cf)]),_0x2bdb58=_0x29436d(0x18c)['concat'](_0x2dd960,'\x20')[_0x29436d(0x14a)](_0x5a5979||'')['trim'](),_0x3fcf34=_0x23e7f1[_0x29436d(0x24f)]('_'['concat'](_0x33292c()));return _0x2c54ef(_0x110b34,''[_0x29436d(0x14a)](_0x2dd960),{'defIds':_0x110b34[_0x29436d(0x144)],'idSuffix':_0x3fcf34[_0x29436d(0x39f)]},_0x2509db({'ref':_0x2c0417,'className':_0x2bdb58},_0x1091ec),_0x413dc6);});function _0x2c54ef(_0x9f5bdf,_0x146c9a,_0x2e7b67,_0x448475,_0x310f58){const _0x5b885b=_0x247c13;return _0x23e7f1['createElement'](_0x9f5bdf[_0x5b885b(0x1a9)],_0x2509db(_0x2509db({'key':_0x146c9a},_0x2309ed(_0x9f5bdf,_0x2e7b67,_0x310f58)),_0x448475),(_0x3e0230(_0x9f5bdf,_0x2e7b67)[_0x5b885b(0x379)]||[])[_0x5b885b(0x199)](function(_0x4ac5ce,_0x47f7d1){const _0x1546b2=_0x5b885b;return _0x2c54ef(_0x4ac5ce,''[_0x1546b2(0x14a)](_0x146c9a,'-')['concat'](_0x9f5bdf[_0x1546b2(0x1a9)],'-')[_0x1546b2(0x14a)](_0x47f7d1),_0x2e7b67,void 0x0,_0x310f58);}));}function _0x2309ed(_0xe63c3f,_0x348492,_0x4a399f){const _0x325d7d=_0x247c13;var _0x5878cb=_0x2509db({},_0xe63c3f[_0x325d7d(0x26a)]);_0x4a399f!=null&&_0x4a399f[_0x325d7d(0x37e)]&&_0x5878cb[_0x325d7d(0x141)]==='colorChannel1'&&(_0x5878cb[_0x325d7d(0x141)]=_0x4a399f[_0x325d7d(0x37e)]),_0xe63c3f[_0x325d7d(0x1a9)]===_0x325d7d(0x2f6)&&_0x5878cb['id']&&(_0x5878cb['id']=_0x5878cb['id']+_0x348492[_0x325d7d(0x312)]),Object[_0x325d7d(0x348)](_0x5878cb)[_0x325d7d(0x1db)](function(_0x22ef10){const _0x2af58c=_0x325d7d;var _0x538f1a=_0x22ef10[0x0],_0x3e828d=_0x22ef10[0x1];_0x538f1a===_0x2af58c(0x2f6)&&typeof _0x3e828d==_0x2af58c(0x1ee)&&(_0x5878cb[_0x538f1a]=_0x3e828d[_0x2af58c(0x359)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x348492[_0x2af58c(0x312)],')')));});var _0x3b7cff=_0x348492[_0x325d7d(0x144)];return!_0x3b7cff||_0x3b7cff['length']===0x0||(_0xe63c3f[_0x325d7d(0x1a9)]===_0x325d7d(0x29c)&&_0x5878cb[_0x325d7d(0x38b)]&&(_0x5878cb['xlink:href']=_0x5878cb[_0x325d7d(0x38b)]+_0x348492[_0x325d7d(0x312)]),Object['entries'](_0x5878cb)[_0x325d7d(0x1db)](function(_0x46fa07){const _0x3daa4e=_0x325d7d;var _0x5df95f=_0x46fa07[0x0],_0x33174f=_0x46fa07[0x1];typeof _0x33174f==_0x3daa4e(0x1ee)&&(_0x5878cb[_0x5df95f]=_0x33174f[_0x3daa4e(0x359)](/url\(#(.*)\)/,_0x3daa4e(0x226)[_0x3daa4e(0x14a)](_0x348492[_0x3daa4e(0x312)],')')));})),_0x5878cb;}function _0x3e0230(_0x33b160,_0x523814){const _0x5e0d91=_0x247c13;var _0x5b73c3,_0x3e5afc=_0x523814[_0x5e0d91(0x144)];return!_0x3e5afc||_0x3e5afc['length']===0x0?_0x33b160:_0x33b160['tag']===_0x5e0d91(0x3b8)&&(!((_0x5b73c3=_0x33b160[_0x5e0d91(0x379)])===null||_0x5b73c3===void 0x0)&&_0x5b73c3['length'])?_0x2509db(_0x2509db({},_0x33b160),{'children':_0x33b160[_0x5e0d91(0x379)][_0x5e0d91(0x199)](function(_0x297958){const _0x213f59=_0x5e0d91;return typeof _0x297958[_0x213f59(0x26a)]['id']=='string'&&_0x3e5afc&&_0x3e5afc['includes'](_0x297958['attrs']['id'])?_0x2509db(_0x2509db({},_0x297958),{'attrs':_0x2509db(_0x2509db({},_0x297958[_0x213f59(0x26a)]),{'id':_0x297958[_0x213f59(0x26a)]['id']+_0x523814[_0x213f59(0x312)]})}):_0x297958;})}):_0x33b160;}function _0x33292c(){const _0x40336a=_0x247c13;return Math[_0x40336a(0x1f4)]()[_0x40336a(0x2a7)](0x24)[_0x40336a(0x316)](0x2,0x8);}_0x171d41['displayName']=_0x247c13(0x38f);var _0x38cc9f={'tag':_0x247c13(0x2d5),'attrs':{'xmlns':_0x247c13(0x3a3),'fill':_0x247c13(0x2ea),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x247c13(0x149)},'children':[{'tag':'g','attrs':{'clipPath':_0x247c13(0x32c)},'children':[{'tag':'path','attrs':{'stroke':_0x247c13(0x3ba),'d':_0x247c13(0x19b),'strokeLinecap':_0x247c13(0x3c7),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x247c13(0x3b8),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x247c13(0x35c)},'children':[{'tag':_0x247c13(0x145),'attrs':{'fill':_0x247c13(0x3dc),'d':_0x247c13(0x3bc)}}]}]}],'defIds':[_0x247c13(0x35c)]},_0x2184c2=_0x23e7f1[_0x247c13(0x20b)](function(_0x7e56d7,_0x51838e){const _0x1c2928=_0x247c13;return _0x23e7f1[_0x1c2928(0x260)](_0x171d41,Object[_0x1c2928(0x332)]({},_0x7e56d7,{'id':_0x1c2928(0x26e),'ref':_0x51838e,'icon':_0x38cc9f}));});_0x2184c2[_0x247c13(0x38d)]=_0x247c13(0x3c3);var _0x55652e={'tag':'svg','attrs':{'xmlns':_0x247c13(0x3a3),'fill':_0x247c13(0x2ea),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x247c13(0x149)},'children':[{'tag':'g','attrs':{'clipPath':_0x247c13(0x198)},'children':[{'tag':_0x247c13(0x145),'attrs':{'stroke':_0x247c13(0x3ba),'d':_0x247c13(0x2a0),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x247c13(0x3b8),'attrs':{},'children':[{'tag':_0x247c13(0x21c),'attrs':{'id':_0x247c13(0x1cf)},'children':[{'tag':_0x247c13(0x145),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x247c13(0x288)}}]}]}],'defIds':[_0x247c13(0x1cf)]},_0xc6d3a1=_0x23e7f1['forwardRef'](function(_0x9b735e,_0x463d35){const _0xa20715=_0x247c13;return _0x23e7f1[_0xa20715(0x260)](_0x171d41,Object[_0xa20715(0x332)]({},_0x9b735e,{'id':_0xa20715(0x3ac),'ref':_0x463d35,'icon':_0x55652e}));});_0xc6d3a1[_0x247c13(0x38d)]=_0x247c13(0x1eb);function _0x23ca02(_0x5b3dc7){const _0x1ae341=_0x247c13;switch(_0x5b3dc7){case _0x506fcd[_0x1ae341(0x3aa)][_0x1ae341(0x17a)]:return'collabStatus.offline';case _0x506fcd[_0x1ae341(0x3aa)][_0x1ae341(0x1e1)]:return _0x1ae341(0x3b2);case _0x506fcd[_0x1ae341(0x3aa)][_0x1ae341(0x1da)]:return _0x1ae341(0x360);case _0x506fcd['CollaborationStatus'][_0x1ae341(0x24b)]:return _0x1ae341(0x190);case _0x506fcd[_0x1ae341(0x3aa)]['AWAITING']:case _0x506fcd[_0x1ae341(0x3aa)][_0x1ae341(0x156)]:return _0x1ae341(0x137);case _0x506fcd[_0x1ae341(0x3aa)][_0x1ae341(0x3bf)]:case _0x506fcd['CollaborationStatus']['PENDING']:return _0x1ae341(0x273);}}function _0x1556cd(_0xddce1a){const _0x2b1847=_0x247c13,{status$:_0x4e8a75}=_0xddce1a,_0xe4d053=_0x149545['useObservable'](_0x4e8a75,_0x506fcd['CollaborationStatus'][_0x2b1847(0x24b)]),_0x1504e4=_0x149545['useDependency'](_0x2b635d[_0x2b1847(0x2e9)]),_0x38eb64=_0x149545[_0x2b1847(0x241)](_0x506fcd[_0x2b1847(0x1f1)]),_0xb759f8=_0xe4d053!==_0x506fcd[_0x2b1847(0x3aa)][_0x2b1847(0x17a)],_0x4377dc=_0x1504e4['t'](_0x23ca02(_0xe4d053)),_0x33c54b=_0xb759f8?_0xc7d18e[_0x2b1847(0x2e7)](_0xc6d3a1,{}):_0xc7d18e[_0x2b1847(0x2e7)](_0x2184c2,{}),_0x4f82dd=_0x23e7f1[_0x2b1847(0x21e)](()=>{const _0x3eea17=_0x2b1847;_0xb759f8||_0x38eb64[_0x3eea17(0x384)]();},[_0xb759f8,_0x38eb64]);function _0x4abcc8(){const _0x12c41a=_0x2b1847;return _0xc7d18e[_0x12c41a(0x1ec)](_0x12c41a(0x22c),{'className':_0x12c41a(0x2e1),'onClick':_0x4f82dd,'children':[_0xc7d18e[_0x12c41a(0x2e7)](_0x12c41a(0x22c),{'className':_0x5ae169[_0x12c41a(0x36d)](_0x12c41a(0x3b0),{'univer-text-green-500':_0xb759f8,'univer-text-red-500':!_0xb759f8}),'children':_0x33c54b}),_0xc7d18e['jsx'](_0x12c41a(0x22c),{'className':_0x12c41a(0x3ab),'children':_0x4377dc})]});}return _0xb759f8?_0x4abcc8():_0xc7d18e[_0x2b1847(0x2e7)](_0x5ae169['Tooltip'],{'title':_0x1504e4['t'](_0x2b1847(0x26b)),'children':_0x4abcc8()});}var _0x4c2ba4=Object[_0x247c13(0x1fe)],_0x10b514=(_0x2190db,_0xf74c11,_0x22b9d8,_0x391489)=>{const _0x383ac7=_0x247c13;for(var _0x256add=_0x391489>0x1?void 0x0:_0x391489?_0x4c2ba4(_0xf74c11,_0x22b9d8):_0xf74c11,_0x4b6437=_0x2190db[_0x383ac7(0x2b2)]-0x1,_0x55b60c;_0x4b6437>=0x0;_0x4b6437--)(_0x55b60c=_0x2190db[_0x4b6437])&&(_0x256add=_0x55b60c(_0x256add)||_0x256add);return _0x256add;},_0x55c675=(_0x136162,_0x21d3a5)=>(_0x2c49fe,_0xf50aa9)=>_0x21d3a5(_0x2c49fe,_0xf50aa9,_0x136162);_0x2cb787[_0x247c13(0x33d)]=class extends _0x2b635d[_0x247c13(0x208)]{constructor(_0x3367a8,_0x50f9da,_0x4282b2,_0x5b5c58){const _0x4a19a2=_0x247c13;super(),_0x42d170(this,_0x4a19a2(0x2a6),new _0x4e09fc['BehaviorSubject'](_0x506fcd[_0x4a19a2(0x3aa)]['NOT_COLLAB'])),(this[_0x4a19a2(0x1bc)]=_0x3367a8,this['_injector']=_0x50f9da,this[_0x4a19a2(0x1c9)]=_0x4282b2,this[_0x4a19a2(0x1ad)]=_0x5b5c58,this[_0x4a19a2(0x399)](),this[_0x4a19a2(0x18d)]());}[_0x247c13(0x18d)](){const _0x64fe3d=_0x247c13;this['disposeWithMe'](this[_0x64fe3d(0x1bc)][_0x64fe3d(0x2ed)][_0x64fe3d(0x24a)](_0x4e09fc['switchMap'](()=>{const _0x3cb06a=_0x64fe3d,_0x585ab7=this[_0x3cb06a(0x1bc)]['getFocusedUnit']();return _0x585ab7?this[_0x3cb06a(0x1c9)][_0x3cb06a(0x1a2)](_0x585ab7[_0x3cb06a(0x37f)]()):_0x4e09fc['of'](null);}),_0x4e09fc['switchMap'](_0x5a761d=>_0x5a761d?_0x5a761d[_0x64fe3d(0x334)]:_0x4e09fc['of'](_0x506fcd[_0x64fe3d(0x3aa)][_0x64fe3d(0x24b)])))[_0x64fe3d(0x1f8)](_0x23d4c0=>{const _0x4113b2=_0x64fe3d;this[_0x4113b2(0x2a6)][_0x4113b2(0x285)](_0x23d4c0);}));}[_0x247c13(0x399)](){const _0x4a18aa=_0x247c13;this[_0x4a18aa(0x340)](this[_0x4a18aa(0x1ad)][_0x4a18aa(0x18b)](_0x149545[_0x4a18aa(0x1a1)]['HEADER_MENU'],()=>_0x149545[_0x4a18aa(0x251)](_0x3a34b0({'status$':this['_status$'][_0x4a18aa(0x1fc)]()}),this[_0x4a18aa(0x2d1)])));}},_0x2cb787['DesktopCollaborationStatusDisplayController']=_0x10b514([_0x55c675(0x0,_0x2b635d[_0x247c13(0x29d)]),_0x55c675(0x1,_0x2b635d[_0x247c13(0x165)](_0x2b635d[_0x247c13(0x230)])),_0x55c675(0x2,_0x2b635d['Inject'](_0x506fcd[_0x247c13(0x152)])),_0x55c675(0x3,_0x149545[_0x247c13(0x366)])],_0x2cb787['DesktopCollaborationStatusDisplayController']);function _0x3a34b0(_0x43c565){const {status$:_0x788092}=_0x43c565;return function(){const _0x5ba718=_0x224b;return _0xc7d18e[_0x5ba718(0x2e7)](_0x1556cd,{'status$':_0x788092});};}var _0x25c63a=Object[_0x247c13(0x1fe)],_0x2e376d=(_0x45a18e,_0x41bb1c,_0x221961,_0x26fb64)=>{const _0x1e5e4d=_0x247c13;for(var _0x306e5c=_0x26fb64>0x1?void 0x0:_0x26fb64?_0x25c63a(_0x41bb1c,_0x221961):_0x41bb1c,_0x1b8170=_0x45a18e[_0x1e5e4d(0x2b2)]-0x1,_0x24385c;_0x1b8170>=0x0;_0x1b8170--)(_0x24385c=_0x45a18e[_0x1b8170])&&(_0x306e5c=_0x24385c(_0x306e5c)||_0x306e5c);return _0x306e5c;},_0x24b4b3=(_0x45441b,_0x43bd5b)=>(_0x10420d,_0x22592b)=>_0x43bd5b(_0x10420d,_0x22592b,_0x45441b);let _0x442f04=class extends _0x2b635d[_0x247c13(0x208)]{constructor(_0x243040,_0x585181,_0x5e2234,_0x59f409,_0x2d880c,_0x15076e){const _0x649c2e=_0x247c13;super(),this[_0x649c2e(0x2c8)]=_0x243040,this[_0x649c2e(0x3d2)]=_0x585181,this[_0x649c2e(0x2db)]=_0x5e2234,this['_messageService']=_0x59f409,this[_0x649c2e(0x1b5)]=_0x2d880c,this[_0x649c2e(0x220)]=_0x15076e,this[_0x649c2e(0x1e9)](),this[_0x649c2e(0x189)]();}['_setupBeforeClosingHandler'](){const _0x51c14e=_0x247c13;this['disposeWithMe'](this[_0x51c14e(0x2c8)][_0x51c14e(0x1f2)](()=>{const _0xea0c76=_0x51c14e;if(this[_0xea0c76(0x3d2)][_0xea0c76(0x1b8)][_0xea0c76(0x1dd)])return this[_0xea0c76(0x220)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x247c13(0x189)](){const _0x14f861=_0x247c13;this[_0x14f861(0x340)](this[_0x14f861(0x2db)][_0x14f861(0x14b)][_0x14f861(0x1f8)](_0x134b7a=>{const _0x381b46=_0x14f861;_0x134b7a['id']===_0x506fcd['CollaborationUIEventId'][_0x381b46(0x277)]&&this['_messageService'][_0x381b46(0x172)]({'type':_0x5ae169[_0x381b46(0x1ed)]['Warning'],'content':this['_localeService']['t'](_0x381b46(0x258))}),_0x134b7a['id']===_0x506fcd[_0x381b46(0x30b)][_0x381b46(0x3d9)]&&this[_0x381b46(0x287)]['show']({'type':_0x5ae169[_0x381b46(0x1ed)]['Warning'],'content':this[_0x381b46(0x220)]['t']('collaboration.closeRoom')}),_0x134b7a['id']===_0x506fcd[_0x381b46(0x30b)][_0x381b46(0x2a8)]&&this[_0x381b46(0x1b5)]['show']({'title':this['_localeService']['t'](_0x381b46(0x2e2)),'content':this['_localeService']['t'](_0x381b46(0x15c)),'type':_0x381b46(0x204),'duration':0x0}),_0x134b7a['id']===_0x506fcd[_0x381b46(0x30b)][_0x381b46(0x1e1)]&&this[_0x381b46(0x287)][_0x381b46(0x172)]({'type':_0x5ae169['MessageType'][_0x381b46(0x38e)],'content':this[_0x381b46(0x220)]['t'](_0x381b46(0x39d))+'('+_0x134b7a[_0x381b46(0x2cd)]+')'}),_0x134b7a['id']===_0x506fcd[_0x381b46(0x30b)][_0x381b46(0x32a)]&&this[_0x381b46(0x287)][_0x381b46(0x172)]({'type':_0x5ae169[_0x381b46(0x1ed)]['Warning'],'content':this[_0x381b46(0x220)]['t'](_0x134b7a[_0x381b46(0x2cd)]||'')}),_0x134b7a['id']===_0x506fcd[_0x381b46(0x30b)][_0x381b46(0x21b)]&&this[_0x381b46(0x287)]['show']({'type':_0x5ae169[_0x381b46(0x1ed)]['Warning'],'content':this['_localeService']['t'](_0x381b46(0x3d6))}),_0x134b7a['id']===_0x506fcd[_0x381b46(0x30b)]['SOCKET_FAILED']&&this[_0x381b46(0x287)]['show']({'type':_0x5ae169[_0x381b46(0x1ed)][_0x381b46(0x38e)],'content':this['_localeService']['t']('session.connection-failed')}),_0x134b7a['id']===_0x506fcd['CollaborationUIEventId'][_0x381b46(0x2e8)]&&this[_0x381b46(0x287)][_0x381b46(0x172)]({'type':_0x5ae169['MessageType']['Error'],'content':this[_0x381b46(0x220)]['t'](_0x381b46(0x32f))});}));}};_0x442f04=_0x2e376d([_0x24b4b3(0x0,_0x149545[_0x247c13(0x305)]),_0x24b4b3(0x1,_0x506fcd[_0x247c13(0x257)]),_0x24b4b3(0x2,_0x2b635d['Inject'](_0x506fcd['CollaborationUIEventService'])),_0x24b4b3(0x3,_0x149545[_0x247c13(0x196)]),_0x24b4b3(0x4,_0x149545['INotificationService']),_0x24b4b3(0x5,_0x2b635d[_0x247c13(0x165)](_0x2b635d[_0x247c13(0x2e9)]))],_0x442f04);const _0x5c9f0a='collaboration-client-ui.config',_0x39ae8e={},_0x3af57d=_0x2b635d[_0x247c13(0x22f)](_0x247c13(0x140));var _0x5f037e=Object['getOwnPropertyDescriptor'],_0x48dae4=(_0x5081ed,_0x5b600d,_0x47f28c,_0x24c813)=>{for(var _0x17b9ed=_0x24c813>0x1?void 0x0:_0x24c813?_0x5f037e(_0x5b600d,_0x47f28c):_0x5b600d,_0x50da09=_0x5081ed['length']-0x1,_0x4a52b8;_0x50da09>=0x0;_0x50da09--)(_0x4a52b8=_0x5081ed[_0x50da09])&&(_0x17b9ed=_0x4a52b8(_0x17b9ed)||_0x17b9ed);return _0x17b9ed;},_0x54cf45=(_0x4e3e65,_0x3fc14b)=>(_0x3c12f7,_0x1cfed3)=>_0x3fc14b(_0x3c12f7,_0x1cfed3,_0x4e3e65);_0x2cb787[_0x247c13(0x2be)]=class extends _0x2b635d[_0x247c13(0x175)]{constructor(_0xdabc5d,_0x59d493,_0x9e2e72,_0x5bbc76,_0x4aef6d){const _0x376b7f=_0x247c13;super(),this[_0x376b7f(0x236)]=_0xdabc5d,this[_0x376b7f(0x3c2)]=_0x59d493,this[_0x376b7f(0x192)]=_0x9e2e72,this['_dataLoaderService']=_0x5bbc76,_0x4aef6d?_0x4aef6d==null||_0x4aef6d[_0x376b7f(0x20f)]()['then'](()=>this[_0x376b7f(0x188)]()):(this[_0x376b7f(0x3c2)]['debug'](_0x376b7f(0x17e),_0x376b7f(0x2b1)),this[_0x376b7f(0x188)]());}async[_0x247c13(0x188)](){const _0x48cafd=_0x247c13,_0x105aef=this[_0x48cafd(0x236)]['getParam'](_0x48cafd(0x206)),_0x2a53f6=this[_0x48cafd(0x236)]['getParam']('type'),_0xd930c6=this[_0x48cafd(0x236)][_0x48cafd(0x357)](_0x48cafd(0x31c));if(!_0x105aef||!_0x2a53f6){this[_0x48cafd(0x3c2)][_0x48cafd(0x15d)]('[CollaborationDataLoaderController]',_0x48cafd(0x25a));return;}const _0x2d8dc8=await this['_dataLoaderService'][_0x48cafd(0x178)](_0x105aef,Number(_0x2a53f6),_0xd930c6);_0x2d8dc8&&_0x2d8dc8 instanceof _0x2b635d[_0x48cafd(0x3c1)]&&this[_0x48cafd(0x154)](_0x2d8dc8);}async[_0x247c13(0x154)](_0x143521){const _0x27b877=_0x247c13;await this[_0x27b877(0x200)](_0x143521),_0x143521['activeSheet$'][_0x27b877(0x24a)](_0x4e09fc[_0x27b877(0x1f9)](this['dispose$']))[_0x27b877(0x1f8)](_0x3de5db=>{const _0x5bcbd9=_0x27b877;_0x3de5db&&this[_0x5bcbd9(0x255)](_0x3de5db);}),this[_0x27b877(0x236)][_0x27b877(0x212)][_0x27b877(0x24a)](_0x4e09fc[_0x27b877(0x1f9)](this[_0x27b877(0x2ec)]))[_0x27b877(0x1f8)](()=>this[_0x27b877(0x200)](_0x143521));}['_updateURLWithCurrentState'](_0x5d58f4,_0x363b50=!0x1){const _0x1b0837=_0x247c13,_0x585dd1=this[_0x1b0837(0x236)][_0x1b0837(0x357)](_0x1b0837(0x31c));_0x5d58f4['getSheetId']()!==_0x585dd1&&this[_0x1b0837(0x236)][_0x1b0837(0x1ae)](_0x1b0837(0x31c),_0x5d58f4[_0x1b0837(0x207)](),_0x363b50);}async[_0x247c13(0x200)](_0x4334a7){const _0x5039f8=_0x247c13;var _0x3fd5a7;const _0x3f6053=this[_0x5039f8(0x236)][_0x5039f8(0x357)](_0x5039f8(0x31c));if(!_0x3f6053||!_0x4334a7[_0x5039f8(0x24e)](_0x3f6053)){const _0x4bbfb7=_0x4334a7[_0x5039f8(0x269)]()[0x0],_0x4e29b8=_0x4334a7[_0x5039f8(0x24e)](_0x4bbfb7);if(!_0x4e29b8)return;this[_0x5039f8(0x255)](_0x4e29b8,!0x0),await this[_0x5039f8(0x192)]['executeCommand'](_0x1daad8['SetWorksheetActivateCommand']['id'],{'unitId':_0x4334a7[_0x5039f8(0x37f)](),'subUnitId':_0x4bbfb7});return;}((_0x3fd5a7=_0x4334a7[_0x5039f8(0x2f7)]())==null?void 0x0:_0x3fd5a7['getSheetId']())!==_0x3f6053&&await this['_commandService'][_0x5039f8(0x2fb)](_0x1daad8['SetWorksheetActivateCommand']['id'],{'unitId':_0x4334a7[_0x5039f8(0x37f)](),'subUnitId':_0x3f6053});}},_0x2cb787[_0x247c13(0x2be)]=_0x48dae4([_0x54cf45(0x0,_0x3af57d),_0x54cf45(0x1,_0x2b635d[_0x247c13(0x2e5)]),_0x54cf45(0x2,_0x2b635d['ICommandService']),_0x54cf45(0x3,_0x2b635d['Inject'](_0x506fcd['DataLoaderService'])),_0x54cf45(0x4,_0x2b635d['Optional'](_0x24dca0[_0x247c13(0x32d)]))],_0x2cb787[_0x247c13(0x2be)]);var _0x2e005e=Object[_0x247c13(0x1fe)],_0x4f3e8f=(_0xea3cff,_0x545112,_0x1307f5,_0x1ea108)=>{const _0x57d12c=_0x247c13;for(var _0x47c0dd=_0x1ea108>0x1?void 0x0:_0x1ea108?_0x2e005e(_0x545112,_0x1307f5):_0x545112,_0x241448=_0xea3cff[_0x57d12c(0x2b2)]-0x1,_0x378454;_0x241448>=0x0;_0x241448--)(_0x378454=_0xea3cff[_0x241448])&&(_0x47c0dd=_0x378454(_0x47c0dd)||_0x47c0dd);return _0x47c0dd;},_0x5244d2=(_0x404e0e,_0x1ccdee)=>(_0x130e13,_0x4b8468)=>_0x1ccdee(_0x130e13,_0x4b8468,_0x404e0e);let _0x4f0646=class{constructor(_0x5cefaf,_0x2abb1,_0x17d87d){const _0x3b5515=_0x247c13;this[_0x3b5515(0x2d1)]=_0x5cefaf,this[_0x3b5515(0x30f)]=_0x2abb1,this['_renderManagerService']=_0x17d87d;}[_0x247c13(0x235)](_0x5ba9b8){const _0x35096c=_0x247c13;this['_transformUndoRedoStack'](_0x5ba9b8),this[_0x35096c(0x35a)](_0x5ba9b8);}[_0x247c13(0x2b7)](_0x4ec0e6){const _0x2b9b6e=_0x247c13,{unitID:_0x1e316f}=_0x4ec0e6,_0x20922b=this[_0x2b9b6e(0x2de)]['getRenderById'](_0x1e316f)[_0x2b9b6e(0x2a1)](_0x4fb330['DocIMEInputManagerService']),{redoCache:_0x2506a5}=_0x20922b[_0x2b9b6e(0x36a)]();if(_0x2506a5[_0x2b9b6e(0x2b2)]===0x0)return _0x4ec0e6;let _0x4d94b8=_0x2b635d[_0x2b9b6e(0x28c)]['deepClone'](_0x4ec0e6['mutations'][0x0]);for(let _0x4d35a3=0x0;_0x4d35a3<_0x2506a5['length'];_0x4d35a3++){const _0x23ec08={'id':'doc.mutation.rich-text-editing','params':{..._0x2506a5[_0x4d35a3]}},_0x5c25d4=this[_0x2b9b6e(0x30f)][_0x2b9b6e(0x309)](_0x4d94b8,_0x23ec08,!0x1);if(_0xa72689[_0x2b9b6e(0x1d9)](_0x5c25d4))throw _0x5c25d4[_0x2b9b6e(0x204)];_0x4d94b8=_0x5c25d4['m1Prime'];}return{..._0x2b635d['Tools'][_0x2b9b6e(0x1aa)](_0x4ec0e6),'mutations':[_0x4d94b8]};}[_0x247c13(0x1b6)](_0x20e166){const _0x24db77=_0x247c13,{unitID:_0x358f6c}=_0x20e166,_0x4c0f72=this[_0x24db77(0x2de)][_0x24db77(0x1d7)](_0x358f6c)[_0x24db77(0x2a1)](_0x4fb330[_0x24db77(0x29e)]),{undoCache:_0x37be2a,redoCache:_0x39dec5}=_0x4c0f72[_0x24db77(0x36a)]();if(_0x37be2a[_0x24db77(0x2b2)]===0x0||_0x39dec5['length']===0x0)return;const _0x20eef8=[],_0x224585=[];let _0x5cb1d9=_0x2b635d[_0x24db77(0x28c)][_0x24db77(0x1aa)](_0x20e166[_0x24db77(0x2a3)][0x0]),_0x325ede=_0x2b635d[_0x24db77(0x28c)][_0x24db77(0x1aa)](_0x20e166[_0x24db77(0x2a3)][0x0]);for(let _0x172092=_0x37be2a[_0x24db77(0x2b2)]-0x1;_0x172092>=0x0;_0x172092--){const _0x47a332={'id':_0x24db77(0x38c),'params':{..._0x37be2a[_0x172092]}},_0x3440fc={'id':'doc.mutation.rich-text-editing','params':{..._0x39dec5[_0x172092]}},_0x4b7257=this[_0x24db77(0x30f)][_0x24db77(0x309)](_0x5cb1d9,_0x47a332,!0x1),_0x77246b=this[_0x24db77(0x30f)]['transformMutation'](_0x325ede,_0x3440fc,!0x1);if(_0xa72689[_0x24db77(0x1d9)](_0x4b7257))throw _0x4b7257['error'];if(_0xa72689[_0x24db77(0x1d9)](_0x77246b))throw _0x77246b[_0x24db77(0x204)];_0x20eef8['unshift'](_0x4b7257[_0x24db77(0x1b3)][_0x24db77(0x14f)]),_0x224585[_0x24db77(0x1ba)](_0x77246b[_0x24db77(0x1b3)][_0x24db77(0x14f)]),_0x5cb1d9=_0x4b7257[_0x24db77(0x320)],_0x325ede=_0x77246b['m1Prime'];}_0x4c0f72[_0x24db77(0x169)]({'undoCache':_0x20eef8,'redoCache':_0x224585});}[_0x247c13(0x35a)](_0x10e331){const _0x5e438d=_0x247c13,{unitID:_0x249c5d}=_0x10e331,_0x2a7393=this[_0x5e438d(0x2de)][_0x5e438d(0x1d7)](_0x249c5d)[_0x5e438d(0x2a1)](_0x4fb330[_0x5e438d(0x29e)]),_0x2f1059=_0x2a7393[_0x5e438d(0x30d)]();if(_0x2f1059==null)return;const _0x2dab70=[{'id':_0x5e438d(0x38c),'params':{'unitId':_0x10e331[_0x5e438d(0x17c)],'actions':null,'textRanges':[_0x2f1059]}}],_0x4b9578=this['_transformService'][_0x5e438d(0x253)](_0x10e331,_0x2dab70);if(!_0xa72689[_0x5e438d(0x1a6)](_0x4b9578))throw _0x4b9578[_0x5e438d(0x204)];const _0x238940=_0x4b9578[_0x5e438d(0x1b3)][0x0][_0x5e438d(0x14f)][_0x5e438d(0x247)];Array[_0x5e438d(0x244)](_0x238940)&&_0x238940[_0x5e438d(0x2b2)]&&_0x2a7393['setActiveRange'](_0x238940[0x0]);}};_0x4f0646=_0x4f3e8f([_0x5244d2(0x0,_0x2b635d[_0x247c13(0x165)](_0x2b635d[_0x247c13(0x230)])),_0x5244d2(0x1,_0xa72689['ITransformService']),_0x5244d2(0x2,_0x59264b[_0x247c13(0x1f6)])],_0x4f0646);var _0x34c6e7=Object[_0x247c13(0x1fe)],_0x3ec774=(_0x33632c,_0x19d554,_0x5bbb02,_0x17bcc0)=>{for(var _0x1b2515=_0x17bcc0>0x1?void 0x0:_0x17bcc0?_0x34c6e7(_0x19d554,_0x5bbb02):_0x19d554,_0x16bd08=_0x33632c['length']-0x1,_0x3bbc8b;_0x16bd08>=0x0;_0x16bd08--)(_0x3bbc8b=_0x33632c[_0x16bd08])&&(_0x1b2515=_0x3bbc8b(_0x1b2515)||_0x1b2515);return _0x1b2515;},_0x4566bd=(_0x5b5638,_0x10c88d)=>(_0x1b2f31,_0x3598fe)=>_0x10c88d(_0x1b2f31,_0x3598fe,_0x5b5638);let _0x3b5fe5=class{constructor(_0x35984d,_0x577a77,_0xb3c8f4){const _0x4a7cc1=_0x247c13;this['_injector']=_0x35984d,this[_0x4a7cc1(0x30f)]=_0x577a77,this['_docStateChangeManagerService']=_0xb3c8f4;}['transformStateCache'](_0xa75ec4){const _0x205744=_0x247c13;this[_0x205744(0x2df)](_0xa75ec4);}[_0x247c13(0x2b7)](_0x200b9d){const _0x3351e4=_0x247c13,{unitID:_0x37614c}=_0x200b9d,{collaboration:_0x4ed721}=this[_0x3351e4(0x297)][_0x3351e4(0x333)](_0x37614c);if(_0x4ed721[_0x3351e4(0x2b2)]===0x0)return _0x200b9d;let _0x253100=_0x2b635d[_0x3351e4(0x28c)][_0x3351e4(0x1aa)](_0x200b9d['mutations'][0x0]);for(let _0x357f6d=0x0;_0x357f6d<_0x4ed721[_0x3351e4(0x2b2)];_0x357f6d++){const _0x5acdfd={'id':_0x3351e4(0x38c),'params':{'unitId':_0x4ed721[_0x357f6d][_0x3351e4(0x229)],..._0x4ed721[_0x357f6d][_0x3351e4(0x2b0)]}},_0x5485b2=this[_0x3351e4(0x30f)][_0x3351e4(0x309)](_0x253100,_0x5acdfd,!0x1);if(_0xa72689[_0x3351e4(0x1d9)](_0x5485b2))throw _0x5485b2[_0x3351e4(0x204)];_0x253100=_0x5485b2['m1Prime'];}return{..._0x2b635d[_0x3351e4(0x28c)][_0x3351e4(0x1aa)](_0x200b9d),'mutations':[_0x253100]};}[_0x247c13(0x2df)](_0x51b099){const _0x5bda68=_0x247c13,{unitID:_0x210693}=_0x51b099,{history:_0x45d89b,collaboration:_0x3a81f8}=this[_0x5bda68(0x297)][_0x5bda68(0x333)](_0x210693);if(_0x45d89b[_0x5bda68(0x2b2)]===0x0&&_0x3a81f8[_0x5bda68(0x2b2)]===0x0)return;const _0x294e50=[],_0x125cc2=[];let _0x35ca52=_0x2b635d[_0x5bda68(0x28c)][_0x5bda68(0x1aa)](_0x51b099[_0x5bda68(0x2a3)][0x0]),_0x1dcc81=_0x2b635d[_0x5bda68(0x28c)][_0x5bda68(0x1aa)](_0x51b099[_0x5bda68(0x2a3)][0x0]);for(let _0x4c753f=_0x45d89b[_0x5bda68(0x2b2)]-0x1;_0x4c753f>=0x0;_0x4c753f--){const _0x51ad9f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x45d89b[_0x4c753f]['unitId'],..._0x45d89b[_0x4c753f][_0x5bda68(0x3a0)]}},_0x3929ea={'id':_0x5bda68(0x38c),'params':{'unitId':_0x45d89b[_0x4c753f][_0x5bda68(0x229)],..._0x45d89b[_0x4c753f][_0x5bda68(0x2b0)]}},_0x3b6f43=this[_0x5bda68(0x30f)][_0x5bda68(0x309)](_0x35ca52,_0x51ad9f,!0x1),_0x1123b5=this['_transformService'][_0x5bda68(0x309)](_0x1dcc81,_0x3929ea,!0x1);if(_0xa72689['isTransformMutationFailure'](_0x3b6f43))throw _0x3b6f43[_0x5bda68(0x204)];if(_0xa72689[_0x5bda68(0x1d9)](_0x1123b5))throw _0x1123b5[_0x5bda68(0x204)];_0x294e50[_0x5bda68(0x1ba)]({..._0x45d89b[_0x4c753f],'undoState':_0x3b6f43[_0x5bda68(0x1b3)][_0x5bda68(0x14f)],'redoState':_0x1123b5[_0x5bda68(0x1b3)][_0x5bda68(0x14f)]}),_0x35ca52=_0x3b6f43[_0x5bda68(0x320)],_0x1dcc81=_0x1123b5[_0x5bda68(0x320)];}_0x35ca52=_0x2b635d['Tools']['deepClone'](_0x51b099[_0x5bda68(0x2a3)][0x0]),_0x1dcc81=_0x2b635d[_0x5bda68(0x28c)]['deepClone'](_0x51b099[_0x5bda68(0x2a3)][0x0]);for(let _0xe4e7a=_0x3a81f8[_0x5bda68(0x2b2)]-0x1;_0xe4e7a>=0x0;_0xe4e7a--){const _0x37a93e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3a81f8[_0xe4e7a][_0x5bda68(0x229)],..._0x3a81f8[_0xe4e7a][_0x5bda68(0x3a0)]}},_0x1962b6={'id':_0x5bda68(0x38c),'params':{'unitId':_0x3a81f8[_0xe4e7a][_0x5bda68(0x229)],..._0x3a81f8[_0xe4e7a]['redoState']}},_0x336800=this['_transformService'][_0x5bda68(0x309)](_0x35ca52,_0x37a93e,!0x1),_0x2e7651=this[_0x5bda68(0x30f)]['transformMutation'](_0x1dcc81,_0x1962b6,!0x1);if(_0xa72689[_0x5bda68(0x1d9)](_0x336800))throw _0x336800[_0x5bda68(0x204)];if(_0xa72689[_0x5bda68(0x1d9)](_0x2e7651))throw _0x2e7651[_0x5bda68(0x204)];_0x125cc2[_0x5bda68(0x1ba)]({..._0x3a81f8[_0xe4e7a],'undoState':_0x336800[_0x5bda68(0x1b3)]['params'],'redoState':_0x2e7651['m2Prime']['params']}),_0x35ca52=_0x336800['m1Prime'],_0x1dcc81=_0x2e7651['m1Prime'];}this['_docStateChangeManagerService'][_0x5bda68(0x2ab)](_0x210693,{'history':_0x294e50,'collaboration':_0x125cc2});}};_0x3b5fe5=_0x3ec774([_0x4566bd(0x0,_0x2b635d[_0x247c13(0x165)](_0x2b635d[_0x247c13(0x230)])),_0x4566bd(0x1,_0xa72689['ITransformService']),_0x4566bd(0x2,_0x2b635d['Inject'](_0x4fb330['DocStateChangeManagerService']))],_0x3b5fe5);var _0x92e276=Object['getOwnPropertyDescriptor'],_0x33be43=(_0x44246f,_0x280f26,_0x1d321a,_0x3dcdfa)=>{const _0x4e01cc=_0x247c13;for(var _0x37e4e9=_0x3dcdfa>0x1?void 0x0:_0x3dcdfa?_0x92e276(_0x280f26,_0x1d321a):_0x280f26,_0x2430ff=_0x44246f[_0x4e01cc(0x2b2)]-0x1,_0x46d407;_0x2430ff>=0x0;_0x2430ff--)(_0x46d407=_0x44246f[_0x2430ff])&&(_0x37e4e9=_0x46d407(_0x37e4e9)||_0x37e4e9);return _0x37e4e9;},_0x2f6878=(_0x45df44,_0x58472f)=>(_0x2c47cd,_0xd24621)=>_0x58472f(_0x2c47cd,_0xd24621,_0x45df44);let _0x509f58=class{constructor(_0x428cd4,_0x45e89d){const _0x2bb1f2=_0x247c13;this['_injector']=_0x428cd4,this[_0x2bb1f2(0x30f)]=_0x45e89d;}['transformSelections'](_0x26c190){const _0x377da1=_0x247c13;var _0x4226fb;const _0x5e2679=this['_injector'][_0x377da1(0x2b6)](_0x57f3fe[_0x377da1(0x323)]),_0x5d52a6=(_0x4226fb=_0x5e2679[_0x377da1(0x168)]())!=null?_0x4226fb:[];if(_0x5d52a6[_0x377da1(0x2b2)]===0x0)return;const _0x4c8ddb=_0x26c190[_0x377da1(0x17c)],_0x3ea6c2=[{'id':_0x377da1(0x38c),'params':{'unitId':_0x4c8ddb,'actions':null,'textRanges':_0x5d52a6}}],_0x3402f4=this['_transformService']['transformMutationsWithChangeset'](_0x26c190,_0x3ea6c2);if(!_0xa72689[_0x377da1(0x1a6)](_0x3402f4))throw _0x3402f4['error'];const _0x8bcc75=_0x3402f4[_0x377da1(0x1b3)][0x0][_0x377da1(0x14f)][_0x377da1(0x247)];Array[_0x377da1(0x244)](_0x8bcc75)&&_0x8bcc75['length']&&_0x5e2679[_0x377da1(0x2c7)](_0x8bcc75,{'unitId':_0x4c8ddb,'subUnitId':_0x4c8ddb},!0x1);}};_0x509f58=_0x33be43([_0x2f6878(0x0,_0x2b635d['Inject'](_0x2b635d[_0x247c13(0x230)])),_0x2f6878(0x1,_0xa72689[_0x247c13(0x1a4)])],_0x509f58);var _0x1a9f1f=Object[_0x247c13(0x1fe)],_0x7f335f=(_0x1ad4c6,_0x4da208,_0x109f0f,_0x5e4da0)=>{const _0x36c266=_0x247c13;for(var _0x12e8c5=_0x5e4da0>0x1?void 0x0:_0x5e4da0?_0x1a9f1f(_0x4da208,_0x109f0f):_0x4da208,_0x11e948=_0x1ad4c6[_0x36c266(0x2b2)]-0x1,_0x50fb07;_0x11e948>=0x0;_0x11e948--)(_0x50fb07=_0x1ad4c6[_0x11e948])&&(_0x12e8c5=_0x50fb07(_0x12e8c5)||_0x12e8c5);return _0x12e8c5;},_0x21371b=(_0x2f2fbf,_0x1ce22b)=>(_0x1378a8,_0xdbdb12)=>_0x1ce22b(_0x1378a8,_0xdbdb12,_0x2f2fbf);let _0x4213c5=class extends _0x2b635d['Disposable']{constructor(_0x5b1834,_0x3285b0,_0x3957ef,_0x36bb51,_0x3e717c,_0x409ae1,_0x3de9fb,_0x445c9c){const _0x58a0b3=_0x247c13;super(),_0x42d170(this,_0x58a0b3(0x2a6),new _0x4e09fc[(_0x58a0b3(0x1e8))](_0x506fcd[_0x58a0b3(0x3aa)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x5b1834,this[_0x58a0b3(0x1c9)]=_0x3285b0,this[_0x58a0b3(0x2f5)]=_0x3957ef,this['_docTransformStateCacheService']=_0x36bb51,this[_0x58a0b3(0x1c0)]=_0x3e717c,this[_0x58a0b3(0x2fc)]=_0x409ae1,this[_0x58a0b3(0x287)]=_0x3de9fb,this[_0x58a0b3(0x220)]=_0x445c9c,this[_0x58a0b3(0x318)]());}['_initEntityListener'](){const _0x543267=_0x247c13;this[_0x543267(0x340)](this[_0x543267(0x1c9)][_0x543267(0x376)][_0x543267(0x1f8)](_0x56f434=>{const _0x2cd008=_0x543267,_0x362e3e=this[_0x2cd008(0x297)][_0x2cd008(0x330)][_0x2cd008(0x1f8)](_0x5017ff=>{const _0x599067=_0x2cd008;if(_0x5017ff==null)return;const {unitId:_0x365cbe,redoState:_0x51d2fe,commandId:_0x498445}=_0x5017ff;if(_0x365cbe!==_0x56f434[_0x599067(0x17c)])return;const _0x38810f={'id':_0x498445,'type':_0x2b635d[_0x599067(0x3b4)][_0x599067(0x18e)],'params':{'unitId':_0x365cbe,'actions':_0x51d2fe[_0x599067(0x1b0)],'textRanges':null}};_0x56f434[_0x599067(0x373)](_0x38810f);});if(_0x56f434['disposeWithMe'](_0x362e3e),_0x56f434 instanceof _0x506fcd[_0x2cd008(0x36c)]){const _0x2a2f63={'onTransformIME':_0x5997d0=>this['_docTransformIMECacheService'][_0x2cd008(0x235)](_0x5997d0),'onTransformState':_0x2b8990=>this[_0x2cd008(0x232)][_0x2cd008(0x34f)](_0x2b8990),'onTransformSelections':_0x594600=>this['_docTransformSelectionsService']['transformSelections'](_0x594600),'onSyncEditingCollabCursor':_0x14ae18=>this[_0x2cd008(0x2fc)]['syncEditingCollabCursor'](_0x14ae18),'onTransformRemoteChangesetByIMECache':_0x510d71=>this[_0x2cd008(0x2f5)][_0x2cd008(0x2b7)](_0x510d71),'onTransformRemoteChangesetByStateCache':_0xfd35b0=>this['_docTransformStateCacheService'][_0x2cd008(0x2b7)](_0xfd35b0)};_0x56f434[_0x2cd008(0x378)](_0x2a2f63);}}));}};_0x4213c5=_0x7f335f([_0x21371b(0x0,_0x2b635d[_0x247c13(0x165)](_0x4fb330[_0x247c13(0x25f)])),_0x21371b(0x1,_0x2b635d['Inject'](_0x506fcd[_0x247c13(0x152)])),_0x21371b(0x2,_0x2b635d[_0x247c13(0x165)](_0x4f0646)),_0x21371b(0x3,_0x2b635d[_0x247c13(0x165)](_0x3b5fe5)),_0x21371b(0x4,_0x2b635d[_0x247c13(0x165)](_0x509f58)),_0x21371b(0x5,_0x2b635d[_0x247c13(0x165)](_0x2b28f5)),_0x21371b(0x6,_0x149545[_0x247c13(0x196)]),_0x21371b(0x7,_0x2b635d[_0x247c13(0x165)](_0x2b635d['LocaleService']))],_0x4213c5);var _0x3a1585=Object[_0x247c13(0x1fe)],_0x3fe3f8=(_0xb2b2a3,_0x1136b9,_0xf4f350,_0xc1b849)=>{for(var _0x21ebfb=_0xc1b849>0x1?void 0x0:_0xc1b849?_0x3a1585(_0x1136b9,_0xf4f350):_0x1136b9,_0x62c94d=_0xb2b2a3['length']-0x1,_0x539f8f;_0x62c94d>=0x0;_0x62c94d--)(_0x539f8f=_0xb2b2a3[_0x62c94d])&&(_0x21ebfb=_0x539f8f(_0x21ebfb)||_0x21ebfb);return _0x21ebfb;},_0x327fdb=(_0x5fcfea,_0x48b4a1)=>(_0x24c04d,_0x39e065)=>_0x48b4a1(_0x24c04d,_0x39e065,_0x5fcfea);let _0x991639=class extends _0x2b635d[_0x247c13(0x208)]{constructor(_0x5ef743,_0x30457c,_0x25c65c){const _0x4792ca=_0x247c13;super(),_0x42d170(this,_0x4792ca(0x3d1),new Map()),_0x42d170(this,_0x4792ca(0x2a4),new Map()),_0x42d170(this,_0x4792ca(0x2e0),!0x1),(this[_0x4792ca(0x326)]=_0x5ef743,this[_0x4792ca(0x276)]=_0x30457c,this[_0x4792ca(0x37c)]=_0x25c65c);}[_0x247c13(0x21f)](){const _0x3ffb15=_0x247c13;this[_0x3ffb15(0x2e0)]=!0x0;}[_0x247c13(0x142)](){const _0x3c599d=_0x247c13;this[_0x3c599d(0x2e0)]=!0x1;}get['saveTaskMap'](){const _0x54ba72=_0x247c13;return this[_0x54ba72(0x2a4)];}['dispose'](){const _0x5a0e25=_0x247c13;this['exhaustSavingTask']()[_0x5a0e25(0x2b5)](()=>super[_0x5a0e25(0x228)]());}async['loadOfflineData'](_0x81d9ad){const _0x19a20b=_0x247c13;return this[_0x19a20b(0x2e0)]?null:this[_0x19a20b(0x276)]['getItem'](_0x506fcd[_0x19a20b(0x2ae)](_0x81d9ad));}async[_0x247c13(0x39e)](_0xe01975,_0x390a23){const _0x1d62f3=_0x247c13;return!!this[_0x1d62f3(0x276)][_0x1d62f3(0x30e)](_0xe01975,_0x390a23);}['updateOfflineData'](_0x25c6e7,_0x8ec1e1,_0x167e96,_0x476935){const _0x45b33a=_0x247c13,_0x2355ec=this[_0x45b33a(0x37c)][_0x45b33a(0x383)](_0x25c6e7);this[_0x45b33a(0x3d1)]['set'](_0x25c6e7,{'unitID':_0x25c6e7,'type':_0x8ec1e1,'awaitingChangeset':_0x167e96,'mutations':_0x476935,'rev':_0x2355ec}),this[_0x45b33a(0x2a4)][_0x45b33a(0x243)](_0x25c6e7)||this['_scheduleSaving'](_0x25c6e7);}[_0x247c13(0x3a2)](_0x1c3858){const _0x116dd1=_0x247c13,_0xe5e9c3=this[_0x116dd1(0x25b)]();_0xe5e9c3===0x0?this[_0x116dd1(0x138)](_0x1c3858):this[_0x116dd1(0x2a4)][_0x116dd1(0x3d3)](_0x1c3858,setTimeout(()=>this[_0x116dd1(0x138)](_0x1c3858),_0xe5e9c3));}[_0x247c13(0x25b)](){const _0x1645cf=_0x247c13;var _0x4919a0;return(_0x4919a0=this[_0x1645cf(0x326)]['getConfig'](_0x506fcd[_0x1645cf(0x1cc)]))!=null?_0x4919a0:_0x506fcd[_0x1645cf(0x390)];}['_saveCache'](_0x5dae63){const _0x223a4c=_0x247c13,_0x5f30fc=this['_saveTaskMap'][_0x223a4c(0x2b6)](_0x5dae63);return _0x5f30fc!==void 0x0&&window[_0x223a4c(0x395)](_0x5f30fc),this[_0x223a4c(0x276)][_0x223a4c(0x30e)](_0x506fcd[_0x223a4c(0x2ae)](_0x5dae63),this[_0x223a4c(0x3d1)][_0x223a4c(0x2b6)](_0x5dae63))[_0x223a4c(0x2b5)](()=>this[_0x223a4c(0x2a4)][_0x223a4c(0x216)](_0x5dae63));}async[_0x247c13(0x2c9)](){const _0x522df5=_0x247c13,_0x3acdf4=[];this[_0x522df5(0x2a4)][_0x522df5(0x1db)]((_0x2b7f3d,_0x3fcca7)=>{const _0x3e7790=_0x522df5;window[_0x3e7790(0x395)](_0x2b7f3d),_0x3acdf4[_0x3e7790(0x2bf)](this[_0x3e7790(0x138)](_0x3fcca7)['then'](()=>{const _0x1af9fe=_0x3e7790;this[_0x1af9fe(0x2a4)][_0x1af9fe(0x216)](_0x3fcca7);}));}),await Promise[_0x522df5(0x252)](_0x3acdf4);}};_0x991639=_0x3fe3f8([_0x327fdb(0x0,_0x2b635d[_0x247c13(0x2b8)]),_0x327fdb(0x1,_0x2b635d[_0x247c13(0x1bd)]),_0x327fdb(0x2,_0x2b635d[_0x247c13(0x165)](_0xa72689[_0x247c13(0x17d)]))],_0x991639);class _0x1878ad extends _0x2b635d[_0x247c13(0x175)]{constructor(){const _0x2c67ef=_0x247c13;super(),_0x42d170(this,'urlChange$'),this[_0x2c67ef(0x212)]=_0x4e09fc[_0x2c67ef(0x13f)](window,_0x2c67ef(0x344))[_0x2c67ef(0x24a)](_0x4e09fc[_0x2c67ef(0x1f9)](this[_0x2c67ef(0x2ec)]),_0x4e09fc[_0x2c67ef(0x171)](0x1),_0x4e09fc[_0x2c67ef(0x300)](void 0x0));}[_0x247c13(0x1ae)](_0x57f57b,_0x587273,_0x44fe02=!0x1){const _0xa16c03=_0x247c13,_0x11a588=new URL(window[_0xa16c03(0x2aa)][_0xa16c03(0x1c6)]);_0x11a588['searchParams'][_0xa16c03(0x3d3)](_0x57f57b,_0x587273),_0x44fe02?window[_0xa16c03(0x274)][_0xa16c03(0x1d3)]('','',_0x11a588[_0xa16c03(0x2a7)]()):window['history'][_0xa16c03(0x342)]('','',_0x11a588[_0xa16c03(0x2a7)]());}[_0x247c13(0x203)](_0x5f0e88,_0x49aa39=!0x1){const _0x4e2985=_0x247c13,_0x204542=new URL(window[_0x4e2985(0x2aa)][_0x4e2985(0x1c6)]);_0x204542[_0x4e2985(0x174)][_0x4e2985(0x216)](_0x5f0e88),_0x49aa39?window[_0x4e2985(0x274)]['replaceState']('','',_0x204542[_0x4e2985(0x2a7)]()):window[_0x4e2985(0x274)][_0x4e2985(0x342)]('','',_0x204542[_0x4e2985(0x2a7)]());}[_0x247c13(0x357)](_0x4f7130){const _0x27fecb=_0x247c13;var _0xcae97a;return(_0xcae97a=new URL(window[_0x27fecb(0x2aa)][_0x27fecb(0x1c6)])['searchParams']['get'](_0x4f7130))!=null?_0xcae97a:void 0x0;}}var _0x14ae9d=Object[_0x247c13(0x1a0)],_0x50fdf0=Object['getOwnPropertyDescriptor'],_0x35be6e=(_0x1333f3,_0x2dcb0f,_0x4e8690)=>_0x2dcb0f in _0x1333f3?_0x14ae9d(_0x1333f3,_0x2dcb0f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e8690}):_0x1333f3[_0x2dcb0f]=_0x4e8690,_0x2b366a=(_0x332daa,_0x1e9339,_0x47cd5e,_0x35aefe)=>{const _0x3150eb=_0x247c13;for(var _0x3cd0fb=_0x35aefe>0x1?void 0x0:_0x35aefe?_0x50fdf0(_0x1e9339,_0x47cd5e):_0x1e9339,_0x5a04bf=_0x332daa[_0x3150eb(0x2b2)]-0x1,_0x2bf6ff;_0x5a04bf>=0x0;_0x5a04bf--)(_0x2bf6ff=_0x332daa[_0x5a04bf])&&(_0x3cd0fb=_0x2bf6ff(_0x3cd0fb)||_0x3cd0fb);return _0x3cd0fb;},_0x2a51cd=(_0x1c109d,_0xd829f9)=>(_0x2f4c4b,_0x10f41e)=>_0xd829f9(_0x2f4c4b,_0x10f41e,_0x1c109d),_0x58e830=(_0x1343cd,_0x35c487,_0x3e363a)=>_0x35be6e(_0x1343cd,_0x35c487+'',_0x3e363a);const _0x3238f9=_0x247c13(0x13d);_0x2cb787[_0x247c13(0x1cb)]=class extends _0x2b635d[_0x247c13(0x30c)]{constructor(_0x57c9c6=_0x39ae8e,_0x5a54b1,_0x6ed40f,_0x4476df){const _0x332907=_0x247c13;super(),this[_0x332907(0x358)]=_0x57c9c6,this[_0x332907(0x2de)]=_0x5a54b1,this[_0x332907(0x2d1)]=_0x6ed40f,this['_configService']=_0x4476df;const {..._0x5a66b5}=_0x2b635d[_0x332907(0x372)]({},_0x39ae8e,this[_0x332907(0x358)]);this[_0x332907(0x326)]['setConfig'](_0x5c9f0a,_0x5a66b5);}[_0x247c13(0x1de)](){const _0x5ed244=_0x247c13;this[_0x5ed244(0x1d6)](),this[_0x5ed244(0x164)]();}['onRendered'](){this['_registerRenderDependencies']();}[_0x247c13(0x1d6)](){const _0x4fc866=_0x247c13;var _0x2049ed;const _0x57d08b=[[_0x5f32f6],[_0x509f58],[_0x4f0646],[_0x3b5fe5],[_0x2b28f5],[_0x3af57d,{'useClass':_0x1878ad}],[_0x495adb[_0x4fc866(0x29f)],{'useClass':_0x495adb[_0x4fc866(0x2ff)]}],[_0x506fcd['ILocalCacheService'],{'useClass':_0x991639}],[_0x2cb787[_0x4fc866(0x33d)]],[_0x4213c5],[_0x442f04],[_0x9097ea],[_0x275fd7],[_0x2cb787[_0x4fc866(0x2be)]]];_0x2b635d[_0x4fc866(0x350)](this[_0x4fc866(0x2d1)],_0x2b635d[_0x4fc866(0x361)](_0x57d08b,(_0x2049ed=this['_config'])==null?void 0x0:_0x2049ed['override']));}['_registerRenderDependencies'](){const _0x37d8ec=_0x247c13;this[_0x37d8ec(0x340)](this[_0x37d8ec(0x2de)][_0x37d8ec(0x1bb)](_0x2b635d[_0x37d8ec(0x151)][_0x37d8ec(0x352)],[_0x1ea147])),this[_0x37d8ec(0x340)](this[_0x37d8ec(0x2de)][_0x37d8ec(0x1bb)](_0x2b635d[_0x37d8ec(0x151)]['UNIVER_SHEET'],[_0xa5c554]));}[_0x247c13(0x164)](){const _0x2c04b8=_0x247c13;_0x2b635d[_0x2c04b8(0x254)](this[_0x2c04b8(0x2d1)],[[_0x9097ea],[_0x2cb787['DesktopCollaborationStatusDisplayController']],[_0x4213c5],[_0x442f04],[_0x2cb787[_0x2c04b8(0x2be)]]]);}},_0x58e830(_0x2cb787[_0x247c13(0x1cb)],_0x247c13(0x3d0),_0x3238f9),_0x2cb787[_0x247c13(0x1cb)]=_0x2b366a([_0x2b635d[_0x247c13(0x35d)](_0x506fcd[_0x247c13(0x314)]),_0x2a51cd(0x1,_0x59264b[_0x247c13(0x1f6)]),_0x2a51cd(0x2,_0x2b635d[_0x247c13(0x165)](_0x2b635d[_0x247c13(0x230)])),_0x2a51cd(0x3,_0x2b635d[_0x247c13(0x2b8)])],_0x2cb787[_0x247c13(0x1cb)]);var _0x39edfc=Object[_0x247c13(0x1fe)],_0x49de55=(_0x578fe8,_0x328a5d,_0x232c0c,_0xabea18)=>{const _0x393680=_0x247c13;for(var _0x3ac2bc=_0xabea18>0x1?void 0x0:_0xabea18?_0x39edfc(_0x328a5d,_0x232c0c):_0x328a5d,_0x5938a9=_0x578fe8[_0x393680(0x2b2)]-0x1,_0x2574b9;_0x5938a9>=0x0;_0x5938a9--)(_0x2574b9=_0x578fe8[_0x5938a9])&&(_0x3ac2bc=_0x2574b9(_0x3ac2bc)||_0x3ac2bc);return _0x3ac2bc;},_0x316ffc=(_0x2f8420,_0x344068)=>(_0x3830b1,_0x37db3c)=>_0x344068(_0x3830b1,_0x37db3c,_0x2f8420);_0x2cb787[_0x247c13(0x16e)]=class extends _0x506fcd['CollaborationSocketService']{constructor(_0x5794e0,_0xb69d77,_0x1bb0e5,_0xf266ff,_0x433b39){super(_0x5794e0,_0xb69d77,_0x1bb0e5,_0xf266ff,_0x433b39);}async[_0x247c13(0x1b9)](_0x241904){const _0x31064a=_0x247c13,_0x2585cd=await this[_0x31064a(0x317)](),_0x5acc57=this[_0x31064a(0x280)](_0x241904,_0x2585cd);return this[_0x31064a(0x2c1)](_0x5acc57);}[_0x247c13(0x280)](_0x53e68c,_0x61db14){const _0x8997e0=_0x247c13,_0x5d2ad0=typeof window>'u'?new URL(_0x53e68c):new URL(_0x53e68c,window[_0x8997e0(0x2aa)][_0x8997e0(0x14c)]);_0x5d2ad0['searchParams'][_0x8997e0(0x3d3)](_0x8997e0(0x23f),_0x61db14);const _0x4ba034=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x8997e0(0x2aa)][_0x8997e0(0x328)]);return _0x4ba034[_0x8997e0(0x2b6)]('runId')&&_0x5d2ad0['searchParams']['set'](_0x8997e0(0x2e6),_0x4ba034['get'](_0x8997e0(0x2e6))),_0x5d2ad0['toString']();}async[_0x247c13(0x317)](){const _0x463997=_0x247c13;var _0x13ed69,_0x82982e,_0x53792c;const _0x3d0dae=this[_0x463997(0x326)][_0x463997(0x1e0)](_0x506fcd['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0xcd409e=(_0x13ed69=_0x3d0dae==null?void 0x0:_0x3d0dae[_0x463997(0x2c6)])!=null?_0x13ed69:_0x506fcd[_0x463997(0x34b)];return(_0x53792c=(_0x82982e=(await this['_httpService'][_0x463997(0x2b6)](_0xcd409e,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x82982e[_0x463997(0x223)])!=null?_0x53792c:'';}},_0x2cb787[_0x247c13(0x16e)]=_0x49de55([_0x316ffc(0x0,_0x2b635d['Inject'](_0x2b635d['Injector'])),_0x316ffc(0x1,_0x2b635d[_0x247c13(0x165)](_0x495adb[_0x247c13(0x3db)])),_0x316ffc(0x2,_0x2b635d[_0x247c13(0x2b8)]),_0x316ffc(0x3,_0x2b635d['ILogService']),_0x316ffc(0x4,_0xa72689[_0x247c13(0x150)])],_0x2cb787[_0x247c13(0x16e)]);const _0xad3337=0x7530,_0x5daf42=_0x247c13(0x3c5);class _0x22f24d extends _0x2b635d[_0x247c13(0x208)]{constructor(){const _0x31604b=_0x247c13;super(),_0x42d170(this,_0x31604b(0x2c0),_0x2b635d[_0x31604b(0x2e4)]()),_0x42d170(this,_0x31604b(0x2f9),new Set()),_0x42d170(this,'_unitOnClients',new Map()),_0x42d170(this,_0x31604b(0x27e),null),_0x42d170(this,_0x31604b(0x19e),new Map()),_0x42d170(this,'_unitStatus',new Map()),this['_init']();}['dispose'](){const _0x2c1dbf=_0x247c13;super[_0x2c1dbf(0x228)](),this[_0x2c1dbf(0x19e)]['forEach']((_0x231afb,_0x513420)=>this[_0x2c1dbf(0x161)](_0x513420)),this[_0x2c1dbf(0x27e)]&&window[_0x2c1dbf(0x1f5)](this['_heartbeatTimer']);}[_0x247c13(0x2d4)](_0x5290ae){const _0x23e524=_0x247c13;return this[_0x23e524(0x3a5)](_0x5290ae)['pipe'](_0x4e09fc[_0x23e524(0x139)]());}[_0x247c13(0x1f0)](_0x2683b4){const _0x5ae8bd=_0x247c13;this['_selfUnitIDs'][_0x5ae8bd(0x1dd)]===0x0&&this[_0x5ae8bd(0x31d)](),this[_0x5ae8bd(0x2f9)][_0x5ae8bd(0x160)](_0x2683b4),this[_0x5ae8bd(0x19d)]({'type':0x0,'memberID':this[_0x5ae8bd(0x2c0)],'unitIDs':[_0x2683b4],'isForwarded':!0x1});}[_0x247c13(0x2d3)](_0x42e0a1){const _0xc8814=_0x247c13;this[_0xc8814(0x2f9)]['delete'](_0x42e0a1),this[_0xc8814(0x2f9)][_0xc8814(0x1dd)]===0x0&&this[_0xc8814(0x27e)]&&window[_0xc8814(0x1f5)](this['_heartbeatTimer']);}['_init'](){const _0x448504=_0x247c13;this[_0x448504(0x340)](_0x2b635d[_0x448504(0x338)](_0x4e09fc[_0x448504(0x13f)](window,'storage')['subscribe'](_0x3e5fe2=>{const _0x472cab=_0x448504;if(_0x3e5fe2[_0x472cab(0x182)]!==_0x5daf42||!_0x3e5fe2[_0x472cab(0x291)])return;const _0x2ee82c=JSON[_0x472cab(0x295)](_0x3e5fe2[_0x472cab(0x291)]);this[_0x472cab(0x33b)](_0x2ee82c);}))),window[_0x448504(0x3af)](_0x448504(0x256),()=>this[_0x448504(0x19d)]({'type':0x1,'memberID':this[_0x448504(0x2c0)],'unitIDs':Array[_0x448504(0x392)](this[_0x448504(0x2f9)])}));}[_0x247c13(0x33b)](_0x1fa6ee){const _0x29119a=_0x247c13;switch(_0x1fa6ee[_0x29119a(0x1ca)]){case 0x0:this[_0x29119a(0x1fb)](_0x1fa6ee);break;case 0x1:this[_0x29119a(0x3b1)](_0x1fa6ee);break;case 0x2:this[_0x29119a(0x39c)](_0x1fa6ee);break;}}[_0x247c13(0x1fb)](_0xae8554){const _0x283c66=_0x247c13,{unitIDs:_0x68b213,memberID:_0x5f1464,isForwarded:_0x5184a8}=_0xae8554;_0x68b213[_0x283c66(0x1db)](_0x3a21bd=>{const _0x4e9379=_0x283c66;if(!_0x5184a8&&this[_0x4e9379(0x394)][_0x4e9379(0x243)](_0x3a21bd)&&this[_0x4e9379(0x3a5)](_0x3a21bd)['next'](_0x506fcd['UnitStatus']['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x4e9379(0x243)](_0x3a21bd)||!this['_unitOnClients'][_0x4e9379(0x2b6)](_0x3a21bd)[_0x4e9379(0x243)](_0x5f1464)){const _0x1b50e6=this[_0x4e9379(0x394)][_0x4e9379(0x2b6)](_0x3a21bd)||new Set();_0x1b50e6[_0x4e9379(0x160)](_0x5f1464),this['_unitOnClients'][_0x4e9379(0x3d3)](_0x3a21bd,_0x1b50e6),this[_0x4e9379(0x36e)](_0x5f1464);}}),_0x5184a8||this[_0x283c66(0x19d)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x283c66(0x2f9)]],'isForwarded':!0x0});}[_0x247c13(0x36e)](_0x2795a0){const _0x2dc216=_0x247c13;this[_0x2dc216(0x161)](_0x2795a0);const _0x181e12=window[_0x2dc216(0x259)](()=>{const _0x1d35cb=_0x2dc216;this[_0x1d35cb(0x394)][_0x1d35cb(0x1db)](_0x4d5ade=>{const _0xe2d8c2=_0x1d35cb;_0x4d5ade[_0xe2d8c2(0x216)](_0x2795a0);});},_0xad3337*0x2);this['_clearOtherTimers'][_0x2dc216(0x3d3)](_0x2795a0,_0x181e12);}['_removeClearOtherTimer'](_0x3acada){const _0x4ed0de=_0x247c13;if(this['_clearOtherTimers']['has'](_0x3acada)){const _0x3ade02=this[_0x4ed0de(0x19e)][_0x4ed0de(0x2b6)](_0x3acada);_0x3ade02&&window[_0x4ed0de(0x395)](_0x3ade02),this[_0x4ed0de(0x19e)][_0x4ed0de(0x3d3)](_0x3acada,null);}}['_handleLeaveEvent'](_0x48fa63){const _0xb4b7c5=_0x247c13,{memberID:_0x1342fd,unitIDs:_0x20cb07}=_0x48fa63;_0x20cb07[_0xb4b7c5(0x1db)](_0x59f1d1=>{const _0x365487=_0xb4b7c5;var _0x180a57;const _0x456550=this[_0x365487(0x394)][_0x365487(0x2b6)](_0x59f1d1);_0x456550&&(_0x456550[_0x365487(0x216)](_0x1342fd),(_0x180a57=this[_0x365487(0x3a5)](_0x59f1d1))==null||_0x180a57[_0x365487(0x285)](_0x456550[_0x365487(0x1dd)]===0x0?_0x506fcd['UnitStatus'][_0x365487(0x2cc)]:_0x506fcd[_0x365487(0x335)]['OTHER_CLIENTS_EDITING']));}),this[_0xb4b7c5(0x161)](_0x1342fd);}[_0x247c13(0x39c)](_0x2fd8ae){const _0x5879ca=_0x247c13;this[_0x5879ca(0x36e)](_0x2fd8ae['memberID']);}['_send'](_0x58ae61){const _0x221f91=_0x247c13;localStorage['setItem'](_0x5daf42,JSON[_0x221f91(0x380)](_0x58ae61));}[_0x247c13(0x31d)](){const _0x87d537=_0x247c13;this[_0x87d537(0x27e)]=window[_0x87d537(0x1ac)](()=>{const _0x29fe13=_0x87d537;this[_0x29fe13(0x19d)]({'type':0x2,'memberID':this[_0x29fe13(0x2c0)]});},_0xad3337);}[_0x247c13(0x3a5)](_0x3e2cf7){const _0x3a2e5b=_0x247c13;return this[_0x3a2e5b(0x321)]['has'](_0x3e2cf7)||this[_0x3a2e5b(0x321)][_0x3a2e5b(0x3d3)](_0x3e2cf7,new _0x4e09fc[(_0x3a2e5b(0x1e8))](_0x506fcd[_0x3a2e5b(0x335)][_0x3a2e5b(0x2cc)])),this[_0x3a2e5b(0x321)]['get'](_0x3e2cf7);}}var _0x5ba3d0=(_0x2781a7=>(_0x2781a7[_0x2781a7['UNDEFINED']=0x0]=_0x247c13(0x25e),_0x2781a7[_0x2781a7['OK']=0x1]='OK',_0x2781a7[_0x2781a7['INTERNAL_ERROR']=0x2]=_0x247c13(0x381),_0x2781a7[_0x2781a7[_0x247c13(0x2a8)]=0x3]='PERMISSION_DENIED',_0x2781a7[_0x2781a7[_0x247c13(0x233)]=0x4]=_0x247c13(0x233),_0x2781a7[_0x2781a7[_0x247c13(0x351)]=0x5]=_0x247c13(0x351),_0x2781a7[_0x2781a7[_0x247c13(0x176)]=0x6]='ALREADY_EXISTS',_0x2781a7[_0x2781a7['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x2781a7[_0x2781a7[_0x247c13(0x1e3)]=0x8]='TOO_MANY_REQUESTS',_0x2781a7[_0x2781a7[_0x247c13(0x368)]=0x9]=_0x247c13(0x368),_0x2781a7[_0x2781a7[_0x247c13(0x271)]=0xa]=_0x247c13(0x271),_0x2781a7[_0x2781a7[_0x247c13(0x1fd)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x2781a7[_0x2781a7['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x247c13(0x308),_0x2781a7[_0x2781a7['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x247c13(0x2d0),_0x2781a7[_0x2781a7[_0x247c13(0x181)]=0xe]=_0x247c13(0x181),_0x2781a7[_0x2781a7[_0x247c13(0x13e)]=0x1389]=_0x247c13(0x13e),_0x2781a7[_0x2781a7[_0x247c13(0x2d6)]=0x1771]=_0x247c13(0x2d6),_0x2781a7[_0x2781a7[_0x247c13(0x21a)]=0x1772]=_0x247c13(0x21a),_0x2781a7[_0x2781a7['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x247c13(0x211),_0x2781a7[_0x2781a7[_0x247c13(0x231)]=0x1b59]='APPLY_REJECT',_0x2781a7[_0x2781a7[_0x247c13(0x24c)]=0x1b5a]=_0x247c13(0x24c),_0x2781a7[_0x2781a7['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2781a7[_0x2781a7[_0x247c13(0x2f2)]=0x1b5c]=_0x247c13(0x2f2),_0x2781a7[_0x2781a7[_0x247c13(0x371)]=0x1b5d]=_0x247c13(0x371),_0x2781a7[_0x2781a7[_0x247c13(0x270)]=0x1f41]=_0x247c13(0x270),_0x2781a7[_0x2781a7['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x247c13(0x3a7),_0x2781a7[_0x2781a7['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x247c13(0x2c3),_0x2781a7[_0x2781a7[_0x247c13(0x146)]=0x232b]=_0x247c13(0x146),_0x2781a7[_0x2781a7[_0x247c13(0x2c2)]=0x232c]=_0x247c13(0x2c2),_0x2781a7[_0x2781a7['LICENSE_DISTRO_REJECTED']=0x232d]=_0x247c13(0x2e3),_0x2781a7[_0x2781a7[_0x247c13(0x3d7)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2781a7[_0x2781a7[_0x247c13(0x1d4)]=0x2712]=_0x247c13(0x1d4),_0x2781a7[_0x2781a7['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x247c13(0x268),_0x2781a7[_0x2781a7['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x247c13(0x393),_0x2781a7[_0x2781a7[_0x247c13(0x325)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x2781a7[_0x2781a7[_0x247c13(0x278)]=0x271b]=_0x247c13(0x278),_0x2781a7[_0x2781a7[_0x247c13(0x3a8)]=0x271c]=_0x247c13(0x3a8),_0x2781a7[_0x2781a7[_0x247c13(0x397)]=0x271d]=_0x247c13(0x397),_0x2781a7[_0x2781a7[_0x247c13(0x3be)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x2781a7[_0x2781a7[_0x247c13(0x3d8)]=0x271f]=_0x247c13(0x3d8),_0x2781a7[_0x2781a7[_0x247c13(0x21d)]=0x2720]=_0x247c13(0x21d),_0x2781a7[_0x2781a7[_0x247c13(0x35f)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x2781a7[_0x2781a7['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x247c13(0x306),_0x2781a7[_0x2781a7[_0x247c13(0x19c)]=0x2ee2]=_0x247c13(0x19c),_0x2781a7[_0x2781a7[_0x247c13(0x1b4)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2781a7[_0x2781a7[_0x247c13(0x34c)]=0x2ee4]=_0x247c13(0x34c),_0x2781a7[_0x2781a7[_0x247c13(0x1a5)]=0x2ee5]=_0x247c13(0x1a5),_0x2781a7[_0x2781a7['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x247c13(0x2b4),_0x2781a7[_0x2781a7['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x247c13(0x284),_0x2781a7[_0x2781a7[_0x247c13(0x3c8)]=0x32cb]=_0x247c13(0x3c8),_0x2781a7[_0x2781a7[_0x247c13(0x388)]=-0x1]='UNRECOGNIZED',_0x2781a7))(_0x5ba3d0||{}),_0x3ce039=Object[_0x247c13(0x1fe)],_0x447ce5=(_0x48c890,_0x53635a,_0x4a25f4,_0x23a37f)=>{for(var _0x38b4a3=_0x23a37f>0x1?void 0x0:_0x23a37f?_0x3ce039(_0x53635a,_0x4a25f4):_0x53635a,_0x264b0f=_0x48c890['length']-0x1,_0x2e393c;_0x264b0f>=0x0;_0x264b0f--)(_0x2e393c=_0x48c890[_0x264b0f])&&(_0x38b4a3=_0x2e393c(_0x38b4a3)||_0x38b4a3);return _0x38b4a3;},_0x45492e=(_0x14fdc5,_0x5e3855)=>(_0x431bcb,_0xbd01f3)=>_0x5e3855(_0x431bcb,_0xbd01f3,_0x14fdc5);_0x2cb787[_0x247c13(0x23b)]=class extends _0x2b635d['Disposable']{constructor(_0x21bb5e,_0x11eb5a,_0x3f4ec7){const _0x113a00=_0x247c13;super(),this[_0x113a00(0x3a6)]=_0x21bb5e,this[_0x113a00(0x27b)]=_0x11eb5a,this[_0x113a00(0x326)]=_0x3f4ec7;}async['runOnServer'](_0x2f5fcf,_0x4e56bd,_0x50d2e3,..._0x4b0446){const _0x4e08f0=_0x247c13;var _0x23050c,_0x41f2b7,_0x5c38c0,_0x5a2662;const _0x1245af=this[_0x4e08f0(0x3a6)][_0x4e08f0(0x187)]();if(!_0x1245af)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0xe444f9=((_0x23050c=this[_0x4e08f0(0x326)][_0x4e08f0(0x1e0)](_0x506fcd[_0x4e08f0(0x307)]))!=null?_0x23050c:_0x506fcd['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x2f5fcf+_0x4e08f0(0x248)+_0x4e56bd,_0x15b149=new URL(window['location'][_0x4e08f0(0x1c6)]),_0x1ee5d0={'scriptId':_0x2f5fcf,'runId':(_0x41f2b7=_0x15b149[_0x4e08f0(0x174)][_0x4e08f0(0x2b6)](_0x4e08f0(0x2e6)))!=null?_0x41f2b7:'','function':_0x4e56bd,'unitId':_0x1245af[_0x4e08f0(0x37f)](),'argsOfFunction':JSON[_0x4e08f0(0x380)](_0x4b0446),'invokeId':(_0x5c38c0=_0x50d2e3[_0x4e08f0(0x22b)])!=null?_0x5c38c0:'','executionId':(_0x5a2662=_0x50d2e3[_0x4e08f0(0x2f4)])!=null?_0x5a2662:''};try{const _0x158630=await this[_0x4e08f0(0x27b)][_0x4e08f0(0x2fd)](_0xe444f9,{'body':_0x1ee5d0});return _0x158630[_0x4e08f0(0x2fa)][_0x4e08f0(0x204)]&&_0x158630[_0x4e08f0(0x2fa)][_0x4e08f0(0x204)][_0x4e08f0(0x194)]!==_0x5ba3d0['OK']?_0x4e08f0(0x272):_0x158630[_0x4e08f0(0x2fa)][_0x4e08f0(0x355)];}catch{return _0x4e08f0(0x272);}}},_0x2cb787[_0x247c13(0x23b)]=_0x447ce5([_0x45492e(0x0,_0x2b635d[_0x247c13(0x29d)]),_0x45492e(0x1,_0x2b635d['Inject'](_0x495adb[_0x247c13(0x3db)])),_0x45492e(0x2,_0x2b635d[_0x247c13(0x2b8)])],_0x2cb787[_0x247c13(0x23b)]),_0x2cb787[_0x247c13(0x193)]=_0x1556cd,_0x2cb787[_0x247c13(0x16f)]=_0x3af57d,_0x2cb787[_0x247c13(0x3ca)]=_0x598ffe,_0x2cb787[_0x247c13(0x155)]=_0x22f24d,_0x2cb787[_0x247c13(0x319)]=_0x1878ad,Object[_0x247c13(0x1a0)](_0x2cb787,Symbol[_0x247c13(0x3bd)],{'value':_0x247c13(0x36b)});}));function _0x20d3(){const _0x466dfc=['sessionTicket','hasOwnProperty','useDependency','_updateCollabCursors','has','isArray','_hovered','getRelativeToViewportCoord','textRanges','/run/','Vector2','pipe','NOT_COLLAB','APPLY_NON_SEQUENTIAL_REVISION','UniverEngineFormula','getSheetBySheetId','useRef','_onCursorUpdate','connectInjector','all','transformMutationsWithChangeset','touchDependencies','_updateURLWithCurrentState','unload','ILocalCacheService','collaboration.single-unit.warning','setTimeout','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_getSaveTimeout','_cursor','_getAnchorBounding','UNDEFINED','DocStateChangeManagerService','createElement','Rectangle','filter','@univerjs/docs','_draw','requireSession','closePath','IImageIoService','YUUMI_RATE_OVER_LIMIT','getUnhiddenWorksheets','attrs','collab-client.tooltip.reconnect','UniverDrawing','_hideTimer','off-line-icon','_memberService','CONNECTOR_DATA_TOO_LARGE','LOGIN_FAILED','Failed','collabStatus.synced','history','Subject','_localStorageService','OTHER_CLIENT_EDITING','YUUMI_ASYNCIO_CANCELLED','UNIVER_SHEET','values','_httpService','height','measureText','_heartbeatTimer','max','_createSocketURL','_scene','makeDirty','selections','MOBILE_HAS_BEEN_BOUND','next','_initCommandExecutedListener','_messageService','translate(.97)','_themeService','indexOf','_onCursorDelete','Tools','_document','FromArray','getMergeData','onPointerEnter$','newValue','getCoordByCell','currentSkeleton$','getRangePointData','parse','resize','_docStateChangeManagerService','UniverSheets','@univerjs/drawing','_anchor','startsWith','use','IUniverInstanceService','DocIMEInputManagerService','ISocketService','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','with','debounceTime','mutations','_saveTaskMap','#FFF','_status$','toString','PERMISSION_DENIED','handleDeleteRangeMoveLeft','location','setStateCache','_drawAnchor','getSkeleton','getLocalCacheKey','switchMap','redoState','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','length','_onRefRangeChange','WECHAT_HAS_BEEN_BOUND','then','get','transformRemoteChangeset','IConfigService','getCollabCursors$','_cursorShapes','_hover','SetTextSelectionsOperation','ICommandService','CollaborationDataLoaderController','push','_id','_doCreateSocket','LICENSE_EXPORT_SIZE_EXCEEDED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','MoveRangeCommandId','_cursors','wsSessionTicketUrl','replaceDocRanges','_beforeCloseService','exhaustSavingTask','toRgbString','_range','NO_OTHER_CLIENTS_EDITING','data','sheetId','48LxbCQy','EMAIL_VERIFY_CODE_MISMATCH','_injector','hovered','disposeUnit','getUnitStatus$','svg','SNAPSHOT_INVALID_SNAPSHOT','collabCursorState$','getColor','skeleton','handleIRemoveCol','_collaborationUIEventService','roomMembers','Rect','_renderManagerService','_transformHistoryAndStateStack','_disabled','univer-flex\x20univer-items-center','permission.title','LICENSE_DISTRO_REJECTED','generateRandomId','ILogService','runId','jsx','SUBMIT_CHANGESET_TIMEOUT','LocaleService','none','_session','dispose$','focused$','UniverRpc','_roomMembers$','SHEET_VIEWPORT_KEY','_entities','APPLY_PERMISSION_DENIED','_textBubble','executionId','_docTransformIMECacheService','mask','getActiveSheet','handleIRemoveRow','_selfUnitIDs','body','executeCommand','_docSyncEditingCollabCursorService','post','eventID','WebSocketService','mapTo','RefRangeService','column','addClipboardHook','arc','IBeforeCloseService','INVITE_CODE_HAS_BEEN_UES','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','transformMutation','ColorKit','CollaborationUIEventId','Plugin','getActiveRange','setItem','_transformService','throttleTime','flatMap','idSuffix','evenodd','UniverCollaborationClientPlugin','font','substring','_getSessionTicket','_initEntityListener','WebURLService','getColorFromTheme','UniverDocsUi','subunit','_scheduleHeartbeat','exports','333852inubJz','m1Prime','_unitStatus','_anchorDot','DocSelectionManagerService','COLORS','YUUMI_NO_CUBOID_FOR_QUESTION','_configService','drawWith','search','20gyNugR','JOIN_ROOM_FAILED','source','url(#off-line-icon_clip0_910_343)','IRemoteInstanceService','UniverProCollaborationClient','session.collaboration-timeout','docStateChange$','_backgroundColor','assign','getStateCache','status$','UnitStatus','combineLatest','black','toDisposable','currentTheme$','cursorInfo$','_handleEvent','_name','DesktopCollaborationStatusDisplayController','@univerjs/engine-formula','icon','disposeWithMe','UniverCore','pushState','UniverSheetsUi','popstate','_labelPosition','_refreshCollabCursors','getTypeOfUnitDisposed$','entries','className','getAncestorScale','DEFAULT_WS_SESSION_TICKET_URL','USER_NOT_INVITED_CODE','cursorInfo','InsertRangeMoveRightCommandId','transformStateCache','registerDependencies','UNAUTHENTICATED','UNIVER_DOC','UniverProCollaborationClientUi','range','result','function','getParam','_config','replace','_transformPreviousActiveRange','1244520oPjiou','off-line-icon_clip0_910_343','DependentOn','color','PY_RUNTIME_SCRIPT_ERROR','collabStatus.fetchMiss','mergeOverrideWithDependencies','CollaborationEvent','ranges','@univerjs/design','514760IvAoya','IUIPartsService','restore','COMPLETION_FINISHED','RegularPolygon','getUndoRedoMutationParamsCache','Module','DocCollaborationEntity','clsx','_scheduleClearOtherTimer','_getMergeRange','@univerjs/engine-render','APPLY_DUPLICATED','merge','onLocalMutation','getTypeOfUnitAdded$','getCurrentUnitForType','entityInit$','UPDATE_CURSOR','addHandlerCallback','children','onTransformChange$','getOffsetConfig','_revisionService','Shape','colorChannel1','getUnitId','stringify','INTERNAL_ERROR','NodePositionConvertToCursor','getCurrentRevOfUnit','reconnect','getViewport','width','fillRule','UNRECOGNIZED','USERS_LEAVE','_refRangeService','xlink:href','doc.mutation.rich-text-editing','displayName','Error','UniverIcon','LOCAL_CACHE_INTERVAL','jiqing.500','from','YUUMI_SUBSCRIPTION_NOT_FOUND','_unitOnClients','clearTimeout','getCurrentSelections','YUUMI_ALL_TABLES_IS_INVALID','text','_initStatusComponent','labelPosition','_getScale','_handleHeartbeatEvent','collaboration.closeRoom','saveOfflineData','current','undoState','ONLINE','_scheduleSaving','http://www.w3.org/2000/svg','onMouseMove','_ensureSubject','_instanceService','LICENSE_MAX_UNITS_EXCEEDED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','...','CollaborationStatus','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','on-line-icon','getMember','isEditing','addEventListener','univer-mr-2\x20univer-flex\x20univer-text-xl','_handleLeaveEvent','collabStatus.conflict','debounce','CommandType','@univerjs/sheets-ui','endRow','_collabSessionService','defs','apply','currentColor','rxjs/operators','M0\x200H16V16H0z','toStringTag','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','SYNCED','@univerjs/sheets','Workbook','_logService','OffLineIcon','getMemberID','ACTIVE_UNIT_EVENT_CHANNEL','react/jsx-runtime','round','EMAIL_HAS_BEEN_BOUND','1072620MiwhGN','SheetCollabCursorShape','69033hDZGwT','UniverDesign','handleDeleteRangeMoveUp','_color','extend','pluginName','_cachedData','_localCacheService','set','send','@univerjs/docs-ui','session.will-retry','YUUMI_UNABLE_LOAD_URL','YUUMI_AI_RUN_FAILED','CLOSE_ROOM','RECT','HTTPService','white','rxjs','DOC_RANGE_TYPE','lineTo','_toggleOffline','collabStatus.syncing','_saveCache','distinctUntilChanged','_colorAssignService','row','sessionStatus$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','CHANGESET_REVISION_CONFILICT','fromEvent','uni.network.url-service','fill','enableLocalCache','RemoveColCommandId','defIds','path','LICENSE_IMPORT_SIZE_EXCEEDED','_handleHover','getValue','1em','concat','event$','origin','symbol','triggerDblclick','params','ISnapshotServerService','UniverInstanceType','CollaborationController','bottom','_setupSubUnitSync','WebBrowserSingleActiveUnitService','AWAITING_WITH_PENDING','_startSheetCollabCursor','rgba(255,\x20255,\x20255,\x200.01)','fillText','createInstance','min','permission.content','debug','181643bVitbQ','handleInsertRangeMoveDown','add','_removeClearOtherTimer','findNodePositionByCharIndex','setAlpha','_initDependencies','Inject','@univerjs/network','_online','getDocRanges','setUndoRedoMutationParamsCache','_docSkeleton','_context','handleInsertRangeMoveRight','TEXT','BrowserCollaborationSocketService','IURLService','saveImage','shareReplay','show','getOwnPropertySymbols','searchParams','RxDisposable','ALREADY_EXISTS','_collabCursorState$','loadUnit','_entityInit$','OFFLINE','split','unitID','RevisionService','[CollaborationDataLoaderController]','beginPath','SessionStatus','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','key','@univerjs/core','@univerjs/ui','complete','_syncEditingCollabCursorService','getFocusedUnit','_init','_initEvent','_removeCollabCursors','registerComponent','univerjs-icon\x20univerjs-icon-','_initStatusListener','MUTATION','prototype','collabStatus.notCollab','selection','_commandService','CollaborationStatusDisplay','code','operators','IMessageService','_shapes','url(#on-line-icon_clip0_910_349)','map','ThemeService','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','INVALID_INVITE_CODE','_send','_clearOtherTimers','addObject','defineProperty','BuiltInUIPart','getCollabEntity$','DocSkeletonManagerService','ITransformService','INVITE_CODE_ALREADY_BOUND','isTransformMutationsWithChangesetSuccess','getCellPositionByOffset','handleMoveRange','tag','deepClone','getCurrent','setInterval','_uiPartsService','setParam','UniverUi','actions','startColumn','_initResize','m2Prime','INVITE_CODE_REQUIRED','_notificationService','_transformUndoRedoStack','InsertRangeMoveDownCommandId','saveTaskMap','createSocket','unshift','registerRenderModule','_univerInstanceService','ILocalStorageService','EffectRefRangId','fromEventSubject','_docTransformSelectionsService','runRefRangeMutations','contains','_sheetSkeletonManagerService','onCommandExecuted','React','href','moveTo','_getSheetObject','_collaborationController','type','UniverCollaborationClientUIPlugin','LOCAL_CACHE_INTERVAL_KEY','_lastPointer','@univerjs-pro/collaboration-client','on-line-icon_clip0_910_349','_collabCursorController','TRANSFORM_CHANGE_OBSERVABLE_TYPE','syncEditingCollabCursor','replaceState','YUUMI_URL_COL_OUT_OF_RANGE','amd','_registerDependencies','getRenderById','705108QkkAgd','isTransformMutationFailure','FETCH_MISS','forEach','_colorIndex','size','onStarting','_startDocCollabCursor','getConfig','CONFLICT','UniverProCollaboration','TOO_MANY_REQUESTS','transform','_render','RemoveRowCommandId','_cursorInfo$','BehaviorSubject','_setupBeforeClosingHandler','_toggleOnline','OnLineIcon','jsxs','MessageType','string','MemberService','editingUnit','CollaborationSessionService','registerBeforeClose','InsertColCommandId','random','clearInterval','IRenderManagerService','UniverEngineRender','subscribe','takeUntil','_imageIoService','_handleJoinEvent','asObservable','MOBILE_VERIFY_CODE_MISMATCH','getOwnPropertyDescriptor','green.600','_updateSubUnitFromURLParams','imageSourceType','react','removeParam','error','_assignedColors','unit','getSheetId','Disposable','subscribeEvent','save','forwardRef','fillStyle','name','unsubscribe','whenReady','call','ENSURE_SNAPSHOT_EXECUTION','urlChange$','UniverDocs','transformByState','_drawRectRange','delete','setShapeProps','getVpScrollXYInfoByPosToVp','DeleteRangeMoveUpCommandId','SNAPSHOT_HAS_BEEN_REMOVED','SOCKET_FAILED_RETRY','clipPath','YUUMI_CONNECTOR_URL_NOT_FOUND','useCallback','disableLocalCache','_localeService','SetSelectionsOperation','_eventUnsubscribe','ticket','TEXT_RANGE_LAYER_INDEX','init','url(#$1','roomMembers$','dispose','unitId','some','invokeId','div','addObjects','serializeRangeWithSheet','createIdentifier','Injector','APPLY_REJECT','_docTransformStateCacheService','NOT_FOUND','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','transformIMECache','_urlService','_drawTextRange','assignAColorForMemberID','find','_docSkeletonManagerService','RemoteUniscriptService','_docClipboardService','_updateLocalCursor','DisposableCollection'];_0x20d3=function(){return _0x466dfc;};return _0x20d3();}
|