@univerjs-pro/collaboration-client 0.4.0-nightly.202410141110 → 0.4.0-nightly.202410151606
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/index.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/umd/index.js +1 -1
- package/package.json +16 -16
package/lib/umd/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
(function(_0x2119ff,_0x65f700){const _0x1ac192=_0x3ba2,_0x1d2411=_0x2119ff();while(!![]){try{const _0x561f5b=-parseInt(_0x1ac192(0x2a6))/0x1+parseInt(_0x1ac192(0x3cb))/0x2*(-parseInt(_0x1ac192(0x28c))/0x3)+parseInt(_0x1ac192(0x1c1))/0x4*(parseInt(_0x1ac192(0x473))/0x5)+-parseInt(_0x1ac192(0x4c7))/0x6*(parseInt(_0x1ac192(0x28f))/0x7)+-parseInt(_0x1ac192(0x542))/0x8*(-parseInt(_0x1ac192(0x424))/0x9)+parseInt(_0x1ac192(0x2ea))/0xa+parseInt(_0x1ac192(0x36a))/0xb*(parseInt(_0x1ac192(0x260))/0xc);if(_0x561f5b===_0x65f700)break;else _0x1d2411['push'](_0x1d2411['shift']());}catch(_0x3d792b){_0x1d2411['push'](_0x1d2411['shift']());}}}(_0x5047,0x953dd),function(_0x5b2c3c,_0x18a961){const _0x427118=_0x3ba2;typeof exports==_0x427118(0x452)&&typeof module<'u'?_0x18a961(exports,require('@univerjs/core'),require('rxjs'),require(_0x427118(0x370)),require(_0x427118(0x414)),require(_0x427118(0x1f3)),require(_0x427118(0x343)),require(_0x427118(0x2c2)),require(_0x427118(0x32a)),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require(_0x427118(0x2dd)),require('@univerjs/engine-formula'),require(_0x427118(0x1d9)),require(_0x427118(0x1e9)),require(_0x427118(0x4ae)),require(_0x427118(0x22d))):typeof define==_0x427118(0x2d2)&&define['amd']?define(['exports',_0x427118(0x364),_0x427118(0x2bf),_0x427118(0x370),'@univerjs/design',_0x427118(0x1f3),_0x427118(0x343),_0x427118(0x2c2),_0x427118(0x32a),_0x427118(0x2d7),_0x427118(0x2d6),_0x427118(0x45e),_0x427118(0x2f0),'@univerjs/drawing',_0x427118(0x38a),_0x427118(0x1d9),_0x427118(0x1e9),_0x427118(0x4ae),_0x427118(0x22d)],_0x18a961):(_0x5b2c3c=typeof globalThis<'u'?globalThis:_0x5b2c3c||self,_0x18a961(_0x5b2c3c[_0x427118(0x48f)]={},_0x5b2c3c[_0x427118(0x213)],_0x5b2c3c['rxjs'],_0x5b2c3c[_0x427118(0x2bf)][_0x427118(0x2ad)],_0x5b2c3c[_0x427118(0x37c)],_0x5b2c3c['UniverUi'],_0x5b2c3c[_0x427118(0x403)],_0x5b2c3c[_0x427118(0x31e)],_0x5b2c3c[_0x427118(0x1aa)],_0x5b2c3c[_0x427118(0x169)],_0x5b2c3c[_0x427118(0x192)],_0x5b2c3c[_0x427118(0x4e4)],_0x5b2c3c[_0x427118(0x3aa)],_0x5b2c3c[_0x427118(0x48b)],_0x5b2c3c[_0x427118(0x153)],_0x5b2c3c['UniverSheetsUi'],_0x5b2c3c[_0x427118(0x3d2)],_0x5b2c3c['UniverRpc'],_0x5b2c3c['UniverLicense']));}(this,function(_0x5c4621,_0x511a8d,_0x1fcaf6,_0x5e0e9a,_0x278c7c,_0x2fad45,_0x1ebb7f,_0xa51b04,_0x2d71be,_0x106b3c,_0x457ad5,_0x11a28e,_0x47232b,_0x59f075,_0x29616f,_0x3beb13,_0x3eadf5,_0x412353,_0x42f0df){'use strict';const _0x2d2308=_0x3ba2;var _0x18d7ab=Object['defineProperty'],_0x207598=(_0x33fb82,_0x572ffc,_0x551dfe)=>_0x572ffc in _0x33fb82?_0x18d7ab(_0x33fb82,_0x572ffc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x551dfe}):_0x33fb82[_0x572ffc]=_0x551dfe,_0x3d9158=(_0x53799d,_0x3c8dcb,_0x3cbd9e)=>_0x207598(_0x53799d,typeof _0x3c8dcb!=_0x2d2308(0x514)?_0x3c8dcb+'':_0x3c8dcb,_0x3cbd9e);const _0x336d9b=_0x2d2308(0x200),_0x466325=_0x2d2308(0x1f9),_0x72d972='SNAPSHOT_URL_KEY',_0x531fe2=_0x2d2308(0x1f5),_0x54e241='COLLAB_WEB_SOCKET_URL',_0x320452=_0x2d2308(0x326),_0x10436f=_0x2d2308(0x369),_0x5c3ac2=_0x2d2308(0x4b0),_0x4afa7a=_0x2d2308(0x389),_0x4bff9a='LOCAL_CACHE_INTERVAL',_0xea8175=_0x2d2308(0x41c),_0x5dacd0=_0x2d2308(0x24b),_0x2a4af3=_0x2d2308(0x52c),_0x245c8e=_0x2d2308(0x1b4);var _0x1c3ffd=(_0x828181=>(_0x828181[_0x828181['UNDEFINED']=0x0]='UNDEFINED',_0x828181[_0x828181['OK']=0x1]='OK',_0x828181[_0x828181[_0x2d2308(0x50a)]=0x2]=_0x2d2308(0x50a),_0x828181[_0x828181[_0x2d2308(0x53a)]=0x3]=_0x2d2308(0x53a),_0x828181[_0x828181[_0x2d2308(0x38f)]=0x4]=_0x2d2308(0x38f),_0x828181[_0x828181[_0x2d2308(0x3e0)]=0x5]=_0x2d2308(0x3e0),_0x828181[_0x828181['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x828181[_0x828181[_0x2d2308(0x43c)]=0x7]=_0x2d2308(0x43c),_0x828181[_0x828181[_0x2d2308(0x1f8)]=0x8]=_0x2d2308(0x1f8),_0x828181[_0x828181[_0x2d2308(0x450)]=0x9]='COMPLETION_FINISHED',_0x828181[_0x828181['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x2d2308(0x51f),_0x828181[_0x828181[_0x2d2308(0x4b7)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x828181[_0x828181['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x2d2308(0x2f5),_0x828181[_0x828181[_0x2d2308(0x374)]=0x1b59]=_0x2d2308(0x374),_0x828181[_0x828181[_0x2d2308(0x1c6)]=0x1b5a]=_0x2d2308(0x1c6),_0x828181[_0x828181[_0x2d2308(0x4bd)]=0x1b5b]=_0x2d2308(0x4bd),_0x828181[_0x828181[_0x2d2308(0x204)]=0x1b5c]=_0x2d2308(0x204),_0x828181[_0x828181['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x2d2308(0x25a),_0x828181[_0x828181[_0x2d2308(0x38e)]=0x2329]=_0x2d2308(0x38e),_0x828181[_0x828181[_0x2d2308(0x432)]=0x232a]=_0x2d2308(0x432),_0x828181[_0x828181[_0x2d2308(0x316)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x828181[_0x828181['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x2d2308(0x538),_0x828181[_0x828181['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2d2308(0x145),_0x828181[_0x828181[_0x2d2308(0x498)]=0x2711]=_0x2d2308(0x498),_0x828181[_0x828181[_0x2d2308(0x54a)]=0x2712]=_0x2d2308(0x54a),_0x828181[_0x828181[_0x2d2308(0x505)]=0x2713]=_0x2d2308(0x505),_0x828181[_0x828181[_0x2d2308(0x3ba)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x828181[_0x828181[_0x2d2308(0x4ac)]=-0x1]='UNRECOGNIZED',_0x828181))(_0x1c3ffd||{}),_0x469253=(_0x5e0946=>(_0x5e0946[_0x5e0946['UNIVER_UNKNOWN']=0x0]=_0x2d2308(0x384),_0x5e0946[_0x5e0946[_0x2d2308(0x183)]=0x1]='UNIVER_DOC',_0x5e0946[_0x5e0946[_0x2d2308(0x1b5)]=0x2]=_0x2d2308(0x1b5),_0x5e0946[_0x5e0946[_0x2d2308(0x151)]=0x3]=_0x2d2308(0x151),_0x5e0946[_0x5e0946[_0x2d2308(0x3dc)]=0x4]=_0x2d2308(0x3dc),_0x5e0946[_0x5e0946['UNRECOGNIZED']=-0x1]=_0x2d2308(0x4ac),_0x5e0946))(_0x469253||{}),_0x308b32=(_0x3c483a=>(_0x3c483a[_0x3c483a[_0x2d2308(0x339)]=0x0]=_0x2d2308(0x339),_0x3c483a[_0x3c483a['HELLO']=0x1]='HELLO',_0x3c483a[_0x3c483a[_0x2d2308(0x1ba)]=0x2]=_0x2d2308(0x1ba),_0x3c483a[_0x3c483a[_0x2d2308(0x207)]=0x3]=_0x2d2308(0x207),_0x3c483a[_0x3c483a[_0x2d2308(0x540)]=0x4]=_0x2d2308(0x540),_0x3c483a[_0x3c483a[_0x2d2308(0x393)]=0x5]=_0x2d2308(0x393),_0x3c483a[_0x3c483a['RECV']=0x6]=_0x2d2308(0x1f4),_0x3c483a[_0x3c483a['UNRECOGNIZED']=-0x1]=_0x2d2308(0x4ac),_0x3c483a))(_0x308b32||{}),_0x3ba7cd=(_0x39ab10=>(_0x39ab10[_0x39ab10['UNKNOWN_CODE']=0x0]=_0x2d2308(0x222),_0x39ab10[_0x39ab10['OK']=0x1]='OK',_0x39ab10[_0x39ab10[_0x2d2308(0x1db)]=0x2]='FAIL',_0x39ab10[_0x39ab10[_0x2d2308(0x4ac)]=-0x1]=_0x2d2308(0x4ac),_0x39ab10))(_0x3ba7cd||{}),_0x344737=(_0x1c8069=>(_0x1c8069[_0x1c8069[_0x2d2308(0x52d)]=0x0]=_0x2d2308(0x52d),_0x1c8069[_0x1c8069[_0x2d2308(0x4ff)]=0x1]='HttpImport',_0x1c8069[_0x1c8069[_0x2d2308(0x13a)]=0x2]=_0x2d2308(0x13a),_0x1c8069[_0x1c8069[_0x2d2308(0x231)]=0x3]=_0x2d2308(0x231),_0x1c8069[_0x1c8069[_0x2d2308(0x559)]=0x4]=_0x2d2308(0x559),_0x1c8069[_0x1c8069[_0x2d2308(0x4ac)]=-0x1]='UNRECOGNIZED',_0x1c8069))(_0x344737||{});const _0x29065d=_0x2d2308(0x379),_0x3a5c9a={};function _0x5718d6(_0x56e0a2){const _0x256f16=_0x2d2308;var _0x2425dc,_0xee3a0e,_0x368a8a,_0x39ef8e;const _0x5d480e=_0x56e0a2[_0x256f16(0x142)],_0x3cf1ef=JSON['parse'](_0x5d480e);switch(_0x3cf1ef['cmd']){case _0x308b32[_0x256f16(0x393)]:case _0x308b32[_0x256f16(0x521)]:{const _0x5112f9=_0x3cf1ef['infoRsp'];return{..._0x3cf1ef,'data':_0x5112f9,'cmd':_0x3cf1ef['cmd']};}case _0x308b32[_0x256f16(0x1ba)]:{const _0x34bb0e=_0x3cf1ef[_0x256f16(0x1c5)];return{..._0x3cf1ef,'data':_0x34bb0e,'cmd':_0x3cf1ef['cmd']};}case _0x308b32[_0x256f16(0x1f4)]:{const _0x1aa230=_0x3cf1ef[_0x256f16(0x2eb)];switch(_0x1aa230[_0x256f16(0x175)]){case _0xa51b04['CollaborationEvent'][_0x256f16(0x157)]:return{..._0x3cf1ef,'data':{..._0x1aa230,'data':(_0x2425dc=_0x1aa230['permissionRejEvent'])==null?void 0x0:_0x2425dc['cs']},'cmd':_0x3cf1ef[_0x256f16(0x484)]};case _0xa51b04[_0x256f16(0x3fa)][_0x256f16(0x24e)]:return{..._0x3cf1ef,'data':{..._0x1aa230,'data':(_0xee3a0e=_0x1aa230[_0x256f16(0x46b)])==null?void 0x0:_0xee3a0e['cs']},'cmd':_0x3cf1ef[_0x256f16(0x484)]};case _0xa51b04[_0x256f16(0x3fa)][_0x256f16(0x23c)]:return{..._0x3cf1ef,'data':{..._0x1aa230,'data':(_0x368a8a=_0x1aa230[_0x256f16(0x218)])==null?void 0x0:_0x368a8a['cs']},'cmd':_0x3cf1ef[_0x256f16(0x484)]};case _0xa51b04['CollaborationEvent'][_0x256f16(0x2a4)]:return{..._0x3cf1ef,'data':{..._0x1aa230,'data':(_0x39ef8e=_0x1aa230[_0x256f16(0x2bd)])==null?void 0x0:_0x39ef8e['cs']},'cmd':_0x3cf1ef['cmd']};case _0xa51b04[_0x256f16(0x3fa)][_0x256f16(0x4c9)]:return{..._0x3cf1ef,'data':{..._0x1aa230,'data':_0x1aa230[_0x256f16(0x277)]},'cmd':_0x3cf1ef[_0x256f16(0x484)]};case _0xa51b04[_0x256f16(0x3fa)][_0x256f16(0x502)]:return{..._0x3cf1ef,'data':{..._0x1aa230,'data':_0x1aa230[_0x256f16(0x550)]},'cmd':_0x3cf1ef['cmd']};case _0xa51b04[_0x256f16(0x3fa)]['USERS_LEAVE']:return{..._0x3cf1ef,'data':{..._0x1aa230,'data':_0x1aa230[_0x256f16(0x52a)]},'cmd':_0x3cf1ef[_0x256f16(0x484)]};case _0xa51b04['CollaborationEvent'][_0x256f16(0x224)]:return{..._0x3cf1ef,'data':{..._0x1aa230,'data':_0x1aa230[_0x256f16(0x44c)]},'cmd':_0x3cf1ef['cmd']};case _0xa51b04['CollaborationEvent'][_0x256f16(0x31c)]:case _0xa51b04[_0x256f16(0x3fa)][_0x256f16(0x330)]:return{..._0x3cf1ef,'data':{..._0x1aa230,'data':_0x1aa230[_0x256f16(0x528)]},'cmd':_0x3cf1ef['cmd']};case _0xa51b04[_0x256f16(0x3fa)][_0x256f16(0x1de)]:return{..._0x3cf1ef,'data':{..._0x1aa230,'data':_0x1aa230[_0x256f16(0x44c)]},'cmd':_0x3cf1ef['cmd']};case _0xa51b04[_0x256f16(0x3fa)][_0x256f16(0x19a)]:return{..._0x3cf1ef,'data':_0x1aa230,'cmd':_0x3cf1ef[_0x256f16(0x484)]};case _0xa51b04[_0x256f16(0x3fa)][_0x256f16(0x300)]:return{..._0x3cf1ef,'data':{..._0x1aa230,'data':_0x1aa230[_0x256f16(0x131)]},'cmd':_0x3cf1ef[_0x256f16(0x484)]};case _0xa51b04[_0x256f16(0x3fa)]['UPDATE_PERMISSION_OBJ']:return{..._0x3cf1ef,'data':{..._0x1aa230,'data':_0x1aa230[_0x256f16(0x335)]},'cmd':_0x3cf1ef[_0x256f16(0x484)]};case _0xa51b04[_0x256f16(0x3fa)][_0x256f16(0x2c7)]:return{..._0x3cf1ef,'data':{..._0x1aa230,'data':_0x1aa230['shouldCloseConn']},'cmd':_0x3cf1ef[_0x256f16(0x484)]};default:return _0x3cf1ef;}}default:return _0x3cf1ef;}}function _0x4b39ba(_0x14273c){const _0x11b297=_0x2d2308;switch(_0x14273c[_0x11b297(0x484)]){case _0x308b32[_0x11b297(0x393)]:case _0x308b32[_0x11b297(0x521)]:return JSON[_0x11b297(0x26b)]({'cmd':_0x14273c[_0x11b297(0x484)],'routeKey':_0x14273c[_0x11b297(0x4a8)]});case _0x308b32[_0x11b297(0x540)]:{let _0x1b7005;switch(_0x14273c[_0x11b297(0x142)]['eventID']){case _0xa51b04[_0x11b297(0x3fa)][_0x11b297(0x4c9)]:{_0x1b7005={'eventID':_0xa51b04[_0x11b297(0x3fa)]['UPDATE_CURSOR'],'updateCursorEvent':_0x14273c[_0x11b297(0x142)][_0x11b297(0x142)]};break;}case _0xa51b04[_0x11b297(0x3fa)][_0x11b297(0x4ba)]:{_0x1b7005={'eventID':_0xa51b04[_0x11b297(0x3fa)][_0x11b297(0x4ba)],'leaveEvent':_0x14273c[_0x11b297(0x142)][_0x11b297(0x142)]};break;}case _0xa51b04[_0x11b297(0x3fa)]['USERS_ENTER']:{_0x1b7005={'eventID':_0xa51b04[_0x11b297(0x3fa)][_0x11b297(0x502)],'joinEvent':_0x14273c[_0x11b297(0x142)][_0x11b297(0x142)]};break;}case _0xa51b04[_0x11b297(0x3fa)]['LIVESHARE_NEW_HOST']:{_0x1b7005={'eventID':_0xa51b04[_0x11b297(0x3fa)][_0x11b297(0x224)],'liveShareNewHost':_0x14273c[_0x11b297(0x142)][_0x11b297(0x142)]};break;}case _0xa51b04[_0x11b297(0x3fa)][_0x11b297(0x330)]:{_0x1b7005={'eventID':_0xa51b04[_0x11b297(0x3fa)][_0x11b297(0x330)],'liveShareOperation':_0x14273c['data']['data']};break;}case _0xa51b04[_0x11b297(0x3fa)]['LIVESHARE_TERMINATE']:{_0x1b7005={'eventID':_0xa51b04[_0x11b297(0x3fa)][_0x11b297(0x1de)],'liveShareTerminate':_0x14273c[_0x11b297(0x142)][_0x11b297(0x142)]};break;}case _0xa51b04[_0x11b297(0x3fa)][_0x11b297(0x268)]:{_0x1b7005={'eventID':_0xa51b04[_0x11b297(0x3fa)][_0x11b297(0x268)],'liveShareRequestHost':_0x14273c[_0x11b297(0x142)]['data']};break;}case _0xa51b04[_0x11b297(0x3fa)]['LIVESHARE_FETCH_OPERATIONS']:{_0x1b7005={'eventID':_0xa51b04[_0x11b297(0x3fa)][_0x11b297(0x31c)]};break;}default:_0x1b7005={'eventID':_0x14273c[_0x11b297(0x142)][_0x11b297(0x175)]};}return JSON[_0x11b297(0x26b)]({'cmd':_0x14273c[_0x11b297(0x484)],'routeKey':_0x14273c['routeKey'],'collaMsg':_0x1b7005});}case _0x308b32[_0x11b297(0x1ba)]:return JSON[_0x11b297(0x26b)]({'cmd':_0x14273c[_0x11b297(0x484)],'routeKey':_0x14273c[_0x11b297(0x4a8)],'joinReq':_0x14273c[_0x11b297(0x142)]});case _0x308b32[_0x11b297(0x207)]:return JSON[_0x11b297(0x26b)]({'cmd':_0x14273c[_0x11b297(0x484)],'routeKey':_0x14273c['routeKey'],'leaveReq':_0x14273c[_0x11b297(0x142)]});default:throw new Error(_0x11b297(0x1af));}}var _0x437d42=Object[_0x2d2308(0x210)],_0x2f4a48=Object['getOwnPropertyDescriptor'],_0x116d67=(_0xdf5394,_0xbe810a,_0x4815ea,_0x5d9363)=>{const _0x4b17de=_0x2d2308;for(var _0x471083=_0x5d9363>0x1?void 0x0:_0x5d9363?_0x2f4a48(_0xbe810a,_0x4815ea):_0xbe810a,_0x4af3a4=_0xdf5394[_0x4b17de(0x1e3)]-0x1,_0x17bb5c;_0x4af3a4>=0x0;_0x4af3a4--)(_0x17bb5c=_0xdf5394[_0x4af3a4])&&(_0x471083=(_0x5d9363?_0x17bb5c(_0xbe810a,_0x4815ea,_0x471083):_0x17bb5c(_0x471083))||_0x471083);return _0x5d9363&&_0x471083&&_0x437d42(_0xbe810a,_0x4815ea,_0x471083),_0x471083;},_0x1b295e=(_0x2b8449,_0x59c92a)=>(_0x29d1e0,_0x4c119b)=>_0x59c92a(_0x29d1e0,_0x4c119b,_0x2b8449);const _0x2c20a1=_0x511a8d[_0x2d2308(0x4be)]('univer-pro.collaboration-client-socket-service');function _0x17b48a(_0x3806ba,_0x45a426,_0x4630af){const _0x5be707=_0x2d2308;return _0x3806ba+'/'+_0x45a426+_0x5be707(0x232)+_0x4630af+_0x5be707(0x560);}_0x5c4621['CollaborationSocketService']=class extends _0x511a8d['Disposable']{constructor(_0xad72de,_0x5e84a6,_0x39cb1e,_0x5b017d,_0x5439e5){const _0x2ac9bb=_0x2d2308;super(),this[_0x2ac9bb(0x4b5)]=_0xad72de,this[_0x2ac9bb(0x2f1)]=_0x5e84a6,this[_0x2ac9bb(0x366)]=_0x39cb1e,this['_logService']=_0x5b017d,this[_0x2ac9bb(0x4af)]=_0x5439e5;}['createSocket'](_0x3de3da){const _0x3b7250=_0x2d2308,_0x5be244=this[_0x3b7250(0x2f1)][_0x3b7250(0x28e)](_0x3de3da);if(!_0x5be244)throw new Error(_0x3b7250(0x52e));const _0x4372a5=new _0x511a8d[(_0x3b7250(0x51b))](),_0x47bf17=new _0x1fcaf6[(_0x3b7250(0x36d))]();_0x4372a5['add'](_0x5be244[_0x3b7250(0x39a)][_0x3b7250(0x2a1)](_0x226690=>_0x47bf17[_0x3b7250(0x535)](_0x226690))),_0x4372a5[_0x3b7250(0x2fc)](_0x511a8d[_0x3b7250(0x529)](()=>_0x47bf17['complete']()));const _0xe246f7=new _0x1fcaf6[(_0x3b7250(0x36d))]();_0x4372a5[_0x3b7250(0x2fc)](_0x5be244[_0x3b7250(0x44f)][_0x3b7250(0x2a1)](_0x45792a=>_0xe246f7['next'](_0x45792a))),_0x4372a5[_0x3b7250(0x2fc)](_0x511a8d['toDisposable'](()=>_0xe246f7['complete']()));const _0x589748=new _0x1fcaf6[(_0x3b7250(0x36d))]();_0x4372a5[_0x3b7250(0x2fc)](_0x5be244['message$'][_0x3b7250(0x2a1)](_0x5e7e1d=>{const _0x178563=_0x5718d6(_0x5e7e1d);_0x589748['next'](_0x178563);})),_0x4372a5['add'](_0x511a8d['toDisposable'](()=>_0x589748[_0x3b7250(0x33d)]()));let _0x59226d;const _0x390a75=()=>{const _0x235154=_0x3b7250;_0xe246f7[_0x235154(0x535)](new Event(_0x235154(0x43e))),_0x47bf17[_0x235154(0x535)](new CloseEvent(_0x235154(0x43e))),_0x59226d['close']();};return _0x59226d={'memberID':'','close$':_0x47bf17['asObservable'](),'error$':_0xe246f7['asObservable'](),'open$':_0x5be244[_0x3b7250(0x398)],'message$':_0x589748[_0x3b7250(0x1d7)](),'send':_0x4bf36c=>{const _0x594b20=_0x3b7250;if(_0x4bf36c[_0x594b20(0x484)]===_0x308b32[_0x594b20(0x540)]){if(_0x4bf36c['data'][_0x594b20(0x175)]===_0xa51b04[_0x594b20(0x3fa)][_0x594b20(0x287)]){this['_submitChangeset'](_0x59226d,_0x4bf36c['data'])['catch'](_0x490ebe=>{const _0x2571a8=_0x594b20;this[_0x2571a8(0x54c)][_0x2571a8(0x269)](_0x490ebe),_0x390a75();});return;}if(_0x4bf36c[_0x594b20(0x142)]['eventID']===_0xa51b04[_0x594b20(0x3fa)][_0x594b20(0x23e)]){const _0x3c10d4=_0x4bf36c[_0x594b20(0x142)];this['_fetchMissChangesets'](_0x3c10d4)['then'](_0x45e9c2=>{const _0x5738e3=_0x594b20;_0x589748[_0x5738e3(0x535)]({'cmd':_0x308b32[_0x5738e3(0x1f4)],'code':_0x3ba7cd['OK'],'routeKey':_0x3c10d4[_0x5738e3(0x142)][_0x5738e3(0x14c)],'routeType':'','data':{'eventID':_0xa51b04[_0x5738e3(0x3fa)][_0x5738e3(0x4ed)],'data':{'changesets':_0x45e9c2}}});})[_0x594b20(0x3ea)](_0x5c76a1=>{const _0x5ec647=_0x594b20;this[_0x5ec647(0x54c)][_0x5ec647(0x269)](_0x5c76a1),_0x390a75();});return;}}_0x5be244[_0x594b20(0x363)](_0x4b39ba(_0x4bf36c));},'close':()=>{const _0x4c4fd5=_0x3b7250;_0x5be244[_0x4c4fd5(0x1a8)](),_0x4372a5[_0x4c4fd5(0x2fb)]();}},_0x59226d;}async[_0x2d2308(0x2b0)](_0x25af36,_0x571c57){const _0x1ea673=_0x2d2308;var _0x4b5300,_0x4a029a;const {unitType:_0x1ad91a,unitID:_0x51ba96,changeset:_0x5ad6cc}=_0x571c57[_0x1ea673(0x142)],_0xac5794={'unitID':_0x51ba96,'memberID':_0x25af36[_0x1ea673(0x469)],'type':_0x1ad91a,'changeset':_0xa51b04[_0x1ea673(0x3a9)](_0x5ad6cc)},_0x1200f2=this[_0x1ea673(0x366)][_0x1ea673(0x12f)](_0xea8175),_0x391999=this[_0x1ea673(0x366)][_0x1ea673(0x12f)](_0x29065d),_0x47fd90=_0x17b48a((_0x4a029a=(_0x4b5300=_0x391999==null?void 0x0:_0x391999['collabSubmitChangesetUrl'])!=null?_0x4b5300:_0x1200f2)!=null?_0x4a029a:_0x5dacd0,_0x1ad91a,_0x51ba96);try{await this[_0x1ea673(0x4b5)][_0x1ea673(0x3ec)](_0x47fd90,{'body':_0xac5794});}catch(_0x374b28){throw this[_0x1ea673(0x54c)][_0x1ea673(0x269)](_0x1ea673(0x251),'submit\x20changeset\x20error!'),_0x374b28;}}async['_fetchMissChangesets'](_0x5eaab6){const _0x1156f5=_0x2d2308,{unitID:_0x184295,from:_0x4aaa92,to:_0x21a7e2,unitType:_0x3f9f3b}=_0x5eaab6[_0x1156f5(0x142)];return(await this[_0x1156f5(0x4af)][_0x1156f5(0x2fa)]({'metadata':void 0x0},{'unitID':_0x184295,'type':_0x3f9f3b,'from':_0x4aaa92,'to':_0x21a7e2}))[_0x1156f5(0x1bc)];}},_0x5c4621[_0x2d2308(0x21c)]=_0x116d67([_0x1b295e(0x0,_0x511a8d['Inject'](_0x1ebb7f[_0x2d2308(0x3c2)])),_0x1b295e(0x1,_0x511a8d['Inject'](_0x1ebb7f['WebSocketService'])),_0x1b295e(0x2,_0x511a8d[_0x2d2308(0x202)]),_0x1b295e(0x3,_0x511a8d['ILogService']),_0x1b295e(0x4,_0xa51b04[_0x2d2308(0x21e)])],_0x5c4621[_0x2d2308(0x21c)]);const _0x2aef1a=_0x2d2308(0x39d);function _0x4fc860(_0x1bae7d){const _0x48b530=_0x2d2308;return JSON[_0x48b530(0x26b)](_0x1bae7d)['length'];}class _0x27c664{constructor(){const _0x2813c4=_0x2d2308;_0x3d9158(this,_0x2813c4(0x126),new _0x1fcaf6[(_0x2813c4(0x36d))]()),_0x3d9158(this,_0x2813c4(0x1fb),this[_0x2813c4(0x126)][_0x2813c4(0x1d7)]());}[_0x2d2308(0x4aa)](_0x2748c0){this['_commentUpdate$']['next'](_0x2748c0);}}var _0x28bed4=Object['defineProperty'],_0x5cd67c=Object[_0x2d2308(0x475)],_0x58cc43=(_0x3e6318,_0x4ef749,_0x398838,_0x2bef22)=>{for(var _0x16259e=_0x2bef22>0x1?void 0x0:_0x2bef22?_0x5cd67c(_0x4ef749,_0x398838):_0x4ef749,_0x7ab64c=_0x3e6318['length']-0x1,_0x24cdc4;_0x7ab64c>=0x0;_0x7ab64c--)(_0x24cdc4=_0x3e6318[_0x7ab64c])&&(_0x16259e=(_0x2bef22?_0x24cdc4(_0x4ef749,_0x398838,_0x16259e):_0x24cdc4(_0x16259e))||_0x16259e);return _0x2bef22&&_0x16259e&&_0x28bed4(_0x4ef749,_0x398838,_0x16259e),_0x16259e;},_0x2cb68b=(_0x1ec8ec,_0x508d48)=>(_0x511aab,_0x2cf57a)=>_0x508d48(_0x511aab,_0x2cf57a,_0x1ec8ec);let _0x301ed0=class extends _0x511a8d['Disposable']{constructor(_0x4128bf,_0x2d28d7){const _0x12afd6=_0x2d2308;super(),_0x3d9158(this,_0x12afd6(0x234),new Map()),(this[_0x12afd6(0x245)]=_0x4128bf,this[_0x12afd6(0x13f)]=_0x2d28d7,this[_0x12afd6(0x2c8)](_0x511a8d[_0x12afd6(0x529)](_0x1fcaf6[_0x12afd6(0x240)](this[_0x12afd6(0x245)][_0x12afd6(0x2f2)](_0x511a8d['UniverInstanceType']['UNIVER_SHEET'])[_0x12afd6(0x47e)](_0x5e0e9a[_0x12afd6(0x4fc)](_0x57d262=>_0x57d262[_0x12afd6(0x28d)]())),this['_univerInstanceService'][_0x12afd6(0x2f2)](_0x511a8d[_0x12afd6(0x3bf)][_0x12afd6(0x183)])[_0x12afd6(0x47e)](_0x5e0e9a[_0x12afd6(0x4fc)](_0x5abe0e=>_0x5abe0e['getUnitId']())),this[_0x12afd6(0x245)]['getTypeOfUnitDisposed$'](_0x511a8d[_0x12afd6(0x3bf)][_0x12afd6(0x151)])[_0x12afd6(0x47e)](_0x5e0e9a[_0x12afd6(0x4fc)](_0xa1cca9=>_0xa1cca9[_0x12afd6(0x28d)]())))[_0x12afd6(0x2a1)](_0x5da5eb=>this['_removeRoom'](_0x5da5eb)))));}[_0x2d2308(0x332)](_0xfacef0){const _0x4d518d=_0x2d2308;this['_userManagerService'][_0x4d518d(0x332)](_0xfacef0);}['getCurrentUser'](){const _0x1ec2ea=_0x2d2308;return this[_0x1ec2ea(0x13f)][_0x1ec2ea(0x430)]();}[_0x2d2308(0x22e)](_0x969ea7,_0x8fd849){const _0x2dcd3e=_0x2d2308;let _0x578a23=this['_roomMembers'][_0x2dcd3e(0x3bb)](_0x969ea7);_0x578a23||(_0x578a23=new _0x1a97f2(),this[_0x2dcd3e(0x234)][_0x2dcd3e(0x445)](_0x969ea7,_0x578a23)),_0x578a23[_0x2dcd3e(0x22e)](_0x8fd849);}['removeMember'](_0xa9364f,_0x9f3369){const _0x596f00=_0x2d2308,_0x40f056=this['_roomMembers'][_0x596f00(0x3bb)](_0xa9364f);_0x40f056&&_0x40f056[_0x596f00(0x34a)](_0x9f3369);}['getRoom'](_0x51b169){const _0x4e7770=_0x2d2308;return this['_roomMembers'][_0x4e7770(0x3bb)](_0x51b169);}[_0x2d2308(0x1e8)](_0x58ba1c,_0x44cb7e){const _0x5ece20=_0x2d2308,_0x4312fb=this[_0x5ece20(0x234)][_0x5ece20(0x3bb)](_0x58ba1c);if(_0x4312fb)return _0x4312fb[_0x5ece20(0x1e8)](_0x44cb7e);}[_0x2d2308(0x2f4)](_0xdf901c){const _0x5d1bd6=_0x2d2308,_0x42f4aa=this['_roomMembers'][_0x5d1bd6(0x3bb)](_0xdf901c);_0x42f4aa&&(_0x42f4aa[_0x5d1bd6(0x2fb)](),this[_0x5d1bd6(0x234)][_0x5d1bd6(0x444)](_0xdf901c));}[_0x2d2308(0x2fb)](){const _0x386dff=_0x2d2308;this['_roomMembers']['forEach'](_0x31937a=>_0x31937a[_0x386dff(0x2fb)]()),this['_roomMembers'][_0x386dff(0x48e)]();}};_0x301ed0=_0x58cc43([_0x2cb68b(0x0,_0x511a8d[_0x2d2308(0x3ed)]),_0x2cb68b(0x1,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x46d)]))],_0x301ed0);class _0x1a97f2 extends _0x511a8d[_0x2d2308(0x3d6)]{constructor(){const _0x4b7b2d=_0x2d2308;super(...arguments),_0x3d9158(this,_0x4b7b2d(0x41f),new Map());}[_0x2d2308(0x2fb)](){const _0x5cb1c9=_0x2d2308;this[_0x5cb1c9(0x41f)][_0x5cb1c9(0x48e)]();}[_0x2d2308(0x22e)](_0x225d18){const _0x21af69=_0x2d2308;this[_0x21af69(0x41f)][_0x21af69(0x445)](_0x225d18[_0x21af69(0x469)],_0x225d18);}['removeMember'](_0x4ea1f7){const _0x26575d=_0x2d2308;this['_members'][_0x26575d(0x444)](_0x4ea1f7);}[_0x2d2308(0x1e8)](_0x4412ea){const _0x7c4eb8=_0x2d2308;return this['_members'][_0x7c4eb8(0x3bb)](_0x4412ea);}}var _0x56c0ba=Object[_0x2d2308(0x210)],_0x1d5f46=Object['getOwnPropertyDescriptor'],_0x30bf64=(_0x3f745d,_0x4ca493,_0x1f52b2,_0x2804f2)=>{const _0x58b153=_0x2d2308;for(var _0x234753=_0x2804f2>0x1?void 0x0:_0x2804f2?_0x1d5f46(_0x4ca493,_0x1f52b2):_0x4ca493,_0xdf1443=_0x3f745d[_0x58b153(0x1e3)]-0x1,_0x18d0a8;_0xdf1443>=0x0;_0xdf1443--)(_0x18d0a8=_0x3f745d[_0xdf1443])&&(_0x234753=(_0x2804f2?_0x18d0a8(_0x4ca493,_0x1f52b2,_0x234753):_0x18d0a8(_0x234753))||_0x234753);return _0x2804f2&&_0x234753&&_0x56c0ba(_0x4ca493,_0x1f52b2,_0x234753),_0x234753;},_0x887976=(_0x973cfc,_0x30b630)=>(_0x41c3e1,_0xe08dbb)=>_0x30b630(_0x41c3e1,_0xe08dbb,_0x973cfc),_0x3c28c2=(_0x36bd5d=>(_0x36bd5d[_0x36bd5d['IDLE']=0x0]=_0x2d2308(0x506),_0x36bd5d[_0x36bd5d[_0x2d2308(0x382)]=0x1]='JOINING',_0x36bd5d[_0x36bd5d[_0x2d2308(0x264)]=0x2]=_0x2d2308(0x264),_0x36bd5d[_0x36bd5d[_0x2d2308(0x3b6)]=0x3]=_0x2d2308(0x3b6),_0x36bd5d))(_0x3c28c2||{});_0x5c4621[_0x2d2308(0x3fb)]=class extends _0x511a8d[_0x2d2308(0x53d)]{constructor(_0xe459a3,_0x59a265,_0x3a44b7,_0x2a005e,_0x1aa3b8,_0x223bb7,_0xecaa0c,_0x1fe33a,_0x17d6dd,_0x5b1fda){const _0x1c6b1f=_0x2d2308;super(),_0x3d9158(this,_0x1c6b1f(0x1be),new _0x1fcaf6[(_0x1c6b1f(0x24c))](0x0)),_0x3d9158(this,_0x1c6b1f(0x1b7),this[_0x1c6b1f(0x1be)][_0x1c6b1f(0x1d7)]()),_0x3d9158(this,_0x1c6b1f(0x1a7),new _0x1fcaf6[(_0x1c6b1f(0x36d))]()),_0x3d9158(this,_0x1c6b1f(0x531),this[_0x1c6b1f(0x1a7)][_0x1c6b1f(0x1d7)]()),_0x3d9158(this,_0x1c6b1f(0x2a7)),_0x3d9158(this,_0x1c6b1f(0x495)),_0x3d9158(this,_0x1c6b1f(0x43b)),_0x3d9158(this,'_shouldReportTelemetry',!0x1),_0x3d9158(this,_0x1c6b1f(0x1da),null),(this[_0x1c6b1f(0x45b)]=_0xe459a3,this[_0x1c6b1f(0x54c)]=_0x3a44b7,this[_0x1c6b1f(0x13b)]=_0x2a005e,this[_0x1c6b1f(0x217)]=_0x1aa3b8,this[_0x1c6b1f(0x366)]=_0x223bb7,this['_localeService']=_0xecaa0c,this[_0x1c6b1f(0x361)]=_0x1fe33a,this[_0x1c6b1f(0x51e)]=_0x17d6dd,this[_0x1c6b1f(0x29d)]=_0x5b1fda,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x59a265[_0x1c6b1f(0x47e)](_0x1fcaf6[_0x1c6b1f(0x13e)](this[_0x1c6b1f(0x3af)]))['subscribe'](_0x53fcd2=>{const _0x2a49ea=_0x1c6b1f;var _0x76d187;typeof _0x53fcd2>'u'||(this[_0x2a49ea(0x2a7)]=_0x53fcd2,_0x53fcd2?(this[_0x2a49ea(0x297)](_0x53fcd2),this['_socketMessageSubscription']=_0x53fcd2[_0x2a49ea(0x49e)][_0x2a49ea(0x2a1)](_0x5ba3b6=>{const _0x2542af=_0x2a49ea;_0x5ba3b6[_0x2542af(0x4a8)]===this[_0x2542af(0x45b)]&&this[_0x2542af(0x279)](_0x5ba3b6);})):(this[_0x2a49ea(0x3d4)](),this['_sessionStatus$'][_0x2a49ea(0x535)](0x2),(_0x76d187=this[_0x2a49ea(0x495)])==null||_0x76d187[_0x2a49ea(0x281)](),this[_0x2a49ea(0x495)]=null));}),this[_0x1c6b1f(0x2c8)](this[_0x1c6b1f(0x13b)][_0x1c6b1f(0x45c)](()=>{const _0x1352f9=_0x1c6b1f;var _0x307d2d;(_0x307d2d=this[_0x1352f9(0x2a7)])==null||_0x307d2d[_0x1352f9(0x363)]({'cmd':_0x308b32[_0x1352f9(0x207)],'data':{'roomID':this[_0x1352f9(0x45b)]}});})));}get[_0x2d2308(0x42e)](){const _0x59618e=_0x2d2308;return this[_0x59618e(0x1be)][_0x59618e(0x24f)]();}[_0x2d2308(0x41d)](){var _0x2e0511,_0x182b82;return(_0x182b82=(_0x2e0511=this['_socket'])==null?void 0x0:_0x2e0511['memberID'])!=null?_0x182b82:null;}[_0x2d2308(0x2fb)](){const _0x5266b8=_0x2d2308;super[_0x5266b8(0x2fb)](),this['dispose$']['next'](),this[_0x5266b8(0x3af)]['complete']();}[_0x2d2308(0x1a8)](){const _0x2fcfd0=_0x2d2308;var _0x3adf19,_0xab4634;this[_0x2fcfd0(0x3d4)](),(_0x3adf19=this[_0x2fcfd0(0x2a7)])==null||_0x3adf19[_0x2fcfd0(0x363)]({'cmd':_0x308b32['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0xab4634=this[_0x2fcfd0(0x2a7)])==null||_0xab4634[_0x2fcfd0(0x1a8)](),this[_0x2fcfd0(0x1a7)][_0x2fcfd0(0x33d)](),this[_0x2fcfd0(0x1be)][_0x2fcfd0(0x33d)](),this[_0x2fcfd0(0x2fb)]();}[_0x2d2308(0x279)](_0x13f3a7){const _0x15fc74=_0x2d2308;_0x13f3a7[_0x15fc74(0x484)]===_0x308b32[_0x15fc74(0x1ba)]?this[_0x15fc74(0x51d)](_0x13f3a7):_0x13f3a7[_0x15fc74(0x484)]===_0x308b32['RECV']&&this[_0x15fc74(0x1a0)](_0x13f3a7);}[_0x2d2308(0x297)](_0x2ece0f){const _0x1aef44=_0x2d2308;this['_sessionStatus$'][_0x1aef44(0x535)](0x1),_0x2ece0f['send']({'cmd':_0x308b32[_0x1aef44(0x1ba)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x1aef44(0x45b)]}]}});}['_onJoinRoomEvent'](_0x1567e8){const _0x5c7d9f=_0x2d2308;var _0x54d7df;if(_0x1567e8[_0x5c7d9f(0x309)]===_0x3ba7cd[_0x5c7d9f(0x1db)]){this['_messageService']['show']({'type':_0x278c7c[_0x5c7d9f(0x33f)]['Warning'],'content':this['_localeService']['t'](_0x5c7d9f(0x552))}),this[_0x5c7d9f(0x1be)][_0x5c7d9f(0x535)](0x2);return;}this[_0x5c7d9f(0x1be)][_0x5c7d9f(0x535)](0x3);const _0xe2f4fe=(_0x54d7df=_0x1567e8[_0x5c7d9f(0x142)][_0x5c7d9f(0x18b)][this[_0x5c7d9f(0x45b)]])==null?void 0x0:_0x54d7df[_0x5c7d9f(0x449)];_0xe2f4fe&&_0xe2f4fe[_0x5c7d9f(0x20c)](_0x1a359c=>this['_memberService']['updateMember'](this['_unitID'],_0x1a359c));}[_0x2d2308(0x1a0)](_0x54d642){const _0x254992=_0x2d2308;try{const _0x1a5dcb=_0x54d642[_0x254992(0x142)];switch(_0x1a5dcb[_0x254992(0x175)]){case _0xa51b04[_0x254992(0x3fa)]['USERS_ENTER']:this['_onUserJoin'](_0x1a5dcb),this[_0x254992(0x1a7)]['next'](_0x1a5dcb);break;case _0xa51b04[_0x254992(0x3fa)][_0x254992(0x4ba)]:this[_0x254992(0x429)](_0x1a5dcb),this[_0x254992(0x1a7)][_0x254992(0x535)](_0x1a5dcb);break;case _0xa51b04[_0x254992(0x3fa)][_0x254992(0x24e)]:this[_0x254992(0x453)](),this[_0x254992(0x229)](),this[_0x254992(0x1a7)][_0x254992(0x535)](_0x1a5dcb);break;case _0xa51b04[_0x254992(0x3fa)][_0x254992(0x19a)]:this[_0x254992(0x54c)][_0x254992(0x269)](_0x254992(0x438)+JSON[_0x254992(0x26b)](_0x1a5dcb)),this['_event$']['next'](_0x1a5dcb);break;case _0xa51b04[_0x254992(0x3fa)]['COMMENT_UPDATE']:this['_commentService'][_0x254992(0x4aa)](_0x1a5dcb['data']),this[_0x254992(0x1a7)]['next'](_0x1a5dcb);break;default:this[_0x254992(0x1a7)]['next'](_0x1a5dcb);}}catch(_0x2b55cc){this[_0x254992(0x54c)]['error'](_0x2b55cc,_0x54d642);}}[_0x2d2308(0x45a)](_0x248c84){const _0x417b6c=_0x2d2308;this[_0x417b6c(0x361)]['updateMember'](this[_0x417b6c(0x45b)],_0x248c84['data']);}[_0x2d2308(0x429)](_0x1f220a){const _0x5c4857=_0x2d2308;this[_0x5c4857(0x361)][_0x5c4857(0x34a)](this[_0x5c4857(0x45b)],_0x1f220a[_0x5c4857(0x142)]['memberID']);}async[_0x2d2308(0x363)](_0x298f1c,_0x5413c7){const _0x82886=_0x2d2308;if(this[_0x82886(0x42e)]!==0x3||!this['_socket'])throw new Error(_0x82886(0x367));try{_0x298f1c['eventID']===_0xa51b04[_0x82886(0x3fa)][_0x82886(0x287)]&&(this[_0x82886(0x399)](),this[_0x82886(0x4ec)](_0x298f1c)),this['_socket'][_0x82886(0x363)]({'cmd':_0x308b32['INGEST'],'routeKey':_0x5413c7,'routeType':'','data':_0x298f1c});}catch(_0x5985c4){this[_0x82886(0x54c)]['error'](_0x5985c4);}}[_0x2d2308(0x399)](){const _0x426a73=_0x2d2308;var _0x2112d2;this['_collaborationTimeoutTimer']=window[_0x426a73(0x2ac)](()=>{const _0x46581d=_0x426a73;this[_0x46581d(0x43b)]=null,this[_0x46581d(0x217)][_0x46581d(0x1f7)]({'type':_0x278c7c[_0x46581d(0x33f)]['Error'],'content':this['_localeService']['t'](_0x46581d(0x459))});},(_0x2112d2=this['_configService']['getConfig'](_0x5c3ac2))!=null?_0x2112d2:0x4e20);}[_0x2d2308(0x229)](){const _0x2a94e8=_0x2d2308;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x2a94e8(0x43b)]),this[_0x2a94e8(0x43b)]=null);}[_0x2d2308(0x4ec)](_0xfa6027){const _0x20db2f=_0x2d2308;if(!this[_0x20db2f(0x295)])return;const {data:_0x18be2c}=_0xfa6027,{unitID:_0x13b4a3,changeset:_0x2078d4}=_0x18be2c,{mutations:_0x2666f5,type:_0x51f6fa}=_0x2078d4;this[_0x20db2f(0x1da)]={'unitId':_0x13b4a3,'type':_0x51f6fa,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x4fc860(_0x2666f5)};}[_0x2d2308(0x453)](){const _0x3104d8=_0x2d2308;if(this[_0x3104d8(0x295)]){if(!this['_telemetryInfo']){this['_logService'][_0x3104d8(0x269)](_0x3104d8(0x251),_0x3104d8(0x1fe));return;}this[_0x3104d8(0x1da)][_0x3104d8(0x405)]=performance[_0x3104d8(0x328)](),this[_0x3104d8(0x1da)][_0x3104d8(0x35f)]=this[_0x3104d8(0x1da)][_0x3104d8(0x405)]-this['_telemetryInfo']['startTime'],this[_0x3104d8(0x29d)]['capture'](_0x2aef1a,this[_0x3104d8(0x1da)]),this[_0x3104d8(0x1da)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x31ad4d=_0x2d2308;this[_0x31ad4d(0x1da)]=null;}},_0x5c4621[_0x2d2308(0x3fb)]=_0x30bf64([_0x887976(0x2,_0x511a8d['ILogService']),_0x887976(0x3,_0x2fad45[_0x2d2308(0x283)]),_0x887976(0x4,_0x2fad45['IMessageService']),_0x887976(0x5,_0x511a8d[_0x2d2308(0x202)]),_0x887976(0x6,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x390)])),_0x887976(0x7,_0x511a8d[_0x2d2308(0x4dc)](_0x301ed0)),_0x887976(0x8,_0x511a8d[_0x2d2308(0x4dc)](_0x27c664)),_0x887976(0x9,_0x511a8d[_0x2d2308(0x2bb)](_0x2d71be[_0x2d2308(0x3f0)]))],_0x5c4621[_0x2d2308(0x3fb)]);var _0x1dda1c=Object['defineProperty'],_0x322f50=Object['getOwnPropertyDescriptor'],_0x109441=(_0x2fa03f,_0x424cc3,_0xfd191e,_0x4d49fd)=>{const _0x168e9f=_0x2d2308;for(var _0x9880b0=_0x4d49fd>0x1?void 0x0:_0x4d49fd?_0x322f50(_0x424cc3,_0xfd191e):_0x424cc3,_0xa9ee21=_0x2fa03f[_0x168e9f(0x1e3)]-0x1,_0x4c7c83;_0xa9ee21>=0x0;_0xa9ee21--)(_0x4c7c83=_0x2fa03f[_0xa9ee21])&&(_0x9880b0=(_0x4d49fd?_0x4c7c83(_0x424cc3,_0xfd191e,_0x9880b0):_0x4c7c83(_0x9880b0))||_0x9880b0);return _0x4d49fd&&_0x9880b0&&_0x1dda1c(_0x424cc3,_0xfd191e,_0x9880b0),_0x9880b0;},_0x1d68a6=(_0x17b5da,_0x625c7a)=>(_0x4d0a49,_0x236ecb)=>_0x625c7a(_0x4d0a49,_0x236ecb,_0x17b5da);_0x5c4621['CollaborationSessionService']=class extends _0x511a8d['Disposable']{constructor(_0x59fd1f,_0x4c3839,_0x5f60c5,_0x4f97e0,_0x3e258c,_0xdd50e9){const _0x36003f=_0x2d2308;super(),_0x3d9158(this,_0x36003f(0x2b5),new _0x1fcaf6[(_0x36003f(0x24c))](void 0x0)),_0x3d9158(this,_0x36003f(0x431),this[_0x36003f(0x2b5)]['asObservable']()),_0x3d9158(this,_0x36003f(0x408),null),_0x3d9158(this,_0x36003f(0x50e),new Map()),_0x3d9158(this,_0x36003f(0x311),new _0x1fcaf6[(_0x36003f(0x24c))](_0x3c28c2['IDLE'])),_0x3d9158(this,_0x36003f(0x223),this['_status$'][_0x36003f(0x1d7)]()),_0x3d9158(this,_0x36003f(0x48a),!0x1),_0x3d9158(this,'_retryConnectingTimer'),_0x3d9158(this,_0x36003f(0x182),0x0),_0x3d9158(this,_0x36003f(0x4f3)),_0x3d9158(this,'_timeoutTimer'),(this[_0x36003f(0x510)]=_0x59fd1f,this[_0x36003f(0x239)]=_0x4c3839,this['_messageService']=_0x5f60c5,this[_0x36003f(0x54c)]=_0x4f97e0,this[_0x36003f(0x366)]=_0x3e258c,this['_socketService']=_0xdd50e9,this[_0x36003f(0x312)]());}get['_socket'](){const _0x1b72f4=_0x2d2308;return this[_0x1b72f4(0x2b5)][_0x1b72f4(0x24f)]();}[_0x2d2308(0x312)](){const _0x320908=_0x2d2308;this[_0x320908(0x225)](),this[_0x320908(0x1cd)]();}[_0x2d2308(0x2fb)](){const _0x3334c7=_0x2d2308;super[_0x3334c7(0x2fb)](),this[_0x3334c7(0x50e)][_0x3334c7(0x20c)](_0x4b7c65=>_0x4b7c65['dispose']()),this[_0x3334c7(0x50e)][_0x3334c7(0x48e)](),this[_0x3334c7(0x311)][_0x3334c7(0x33d)]();}async[_0x2d2308(0x137)](_0x1d2a3b){const _0x9249f3=_0x2d2308;if(this[_0x9249f3(0x50e)][_0x9249f3(0x1e0)](_0x1d2a3b))return this[_0x9249f3(0x50e)]['get'](_0x1d2a3b);this[_0x9249f3(0x340)]();const _0x46c59b=this['_injector'][_0x9249f3(0x558)](_0x5c4621[_0x9249f3(0x3fb)],_0x1d2a3b,this[_0x9249f3(0x2b5)][_0x9249f3(0x1d7)]());return this[_0x9249f3(0x50e)]['set'](_0x1d2a3b,_0x46c59b),_0x46c59b;}['closeSession'](_0x19fffe){const _0x2f40b0=_0x2d2308;var _0x300ef3;const _0x161c92=this['_sessions'][_0x2f40b0(0x3bb)](_0x19fffe);_0x161c92&&(this[_0x2f40b0(0x50e)][_0x2f40b0(0x444)](_0x19fffe),_0x161c92['close']()),this[_0x2f40b0(0x50e)][_0x2f40b0(0x195)]||(_0x300ef3=this['_socket'])==null||_0x300ef3[_0x2f40b0(0x1a8)]();}['reconnect'](){const _0x3a6d10=_0x2d2308;this[_0x3a6d10(0x182)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x3a6d10(0x159)]),this[_0x3a6d10(0x159)]=null),this[_0x3a6d10(0x27c)]();}[_0x2d2308(0x1f1)](){const _0x2c0f27=_0x2d2308;var _0x575ad5,_0x14cd17;const _0x1a7f5d=this[_0x2c0f27(0x366)][_0x2c0f27(0x12f)](_0x54e241),_0x5c50b5=this['_configService'][_0x2c0f27(0x12f)](_0x29065d),_0x1168f9=(_0x14cd17=(_0x575ad5=_0x5c50b5==null?void 0x0:_0x5c50b5[_0x2c0f27(0x129)])!=null?_0x575ad5:_0x1a7f5d)!=null?_0x14cd17:_0x320452,_0x1e5487=this['_socketService']['createSocket'](_0x1168f9);return this[_0x2c0f27(0x408)]=_0x1e5487,_0x1e5487;}[_0x2d2308(0x340)](){const _0x47ce87=_0x2d2308;var _0xb47960,_0x14e0a2;try{const _0x5772fe=(_0x14e0a2=(_0xb47960=this[_0x47ce87(0x2a7)])!=null?_0xb47960:this[_0x47ce87(0x408)])!=null?_0x14e0a2:this[_0x47ce87(0x1f1)]();if(_0x5772fe){const _0xf9daba=_0x5772fe['send'];_0x5772fe[_0x47ce87(0x363)]=_0x36fe34=>(this[_0x47ce87(0x49f)](),_0xf9daba[_0x47ce87(0x132)](_0x5772fe,[_0x36fe34])),_0x5772fe[_0x47ce87(0x49e)][_0x47ce87(0x2a1)](_0x592cd1=>this['_onMessage'](_0x5772fe,_0x592cd1)),_0x5772fe[_0x47ce87(0x44f)][_0x47ce87(0x47e)](_0x5e0e9a[_0x47ce87(0x1ad)](0x1))[_0x47ce87(0x2a1)](_0x4bd3ec=>this['_logService'][_0x47ce87(0x269)](_0x47ce87(0x33c),_0x4bd3ec)),_0x5772fe['open$'][_0x47ce87(0x47e)](_0x5e0e9a[_0x47ce87(0x1ad)](0x1))[_0x47ce87(0x2a1)](()=>{const _0xf7355a=_0x47ce87;this[_0xf7355a(0x12c)](_0x5772fe);}),_0x5772fe[_0x47ce87(0x39a)][_0x47ce87(0x47e)](_0x5e0e9a[_0x47ce87(0x1ad)](0x1))['subscribe'](_0x2fe114=>{const _0x43c209=_0x47ce87;this['_logService']['debug'](_0x43c209(0x30d),_0x43c209(0x2af),_0x2fe114),this['_onConnectionFailed']();});}}catch(_0x51a248){this[_0x47ce87(0x54c)][_0x47ce87(0x269)](_0x51a248),this[_0x47ce87(0x454)]();}}[_0x2d2308(0x12c)](_0x29b90b){const _0x1c883d=_0x2d2308;this[_0x1c883d(0x54c)]['debug'](_0x1c883d(0x30d),_0x1c883d(0x2e1)),_0x29b90b[_0x1c883d(0x363)]({'cmd':_0x308b32['HELLO']}),this[_0x1c883d(0x49f)]();}[_0x2d2308(0x225)](){const _0x17ea95=_0x2d2308;window[_0x17ea95(0x248)](_0x17ea95(0x1c9),()=>this[_0x17ea95(0x4da)]());}[_0x2d2308(0x4da)](){const _0x209820=_0x2d2308;this[_0x209820(0x48a)]=!0x1,this[_0x209820(0x408)]=null,this['_status$'][_0x209820(0x535)](_0x3c28c2['OFFLINE']),this[_0x209820(0x2b5)][_0x209820(0x535)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x2d2308(0x454)](){const _0x47732a=_0x2d2308;var _0x5638ed;this[_0x47732a(0x4da)](),this['_retryCount']<((_0x5638ed=this[_0x47732a(0x366)][_0x47732a(0x12f)](_0x4afa7a))!=null?_0x5638ed:0x3)?(this[_0x47732a(0x217)][_0x47732a(0x1f7)]({'key':_0x47732a(0x197),'type':_0x278c7c['MessageType'][_0x47732a(0x30e)],'content':this[_0x47732a(0x239)]['t'](_0x47732a(0x513))}),this[_0x47732a(0x27c)]()):this['_messageService'][_0x47732a(0x1f7)]({'key':_0x47732a(0x197),'type':_0x278c7c[_0x47732a(0x33f)][_0x47732a(0x136)],'content':this[_0x47732a(0x239)]['t']('session.connection-failed')});}[_0x2d2308(0x1cd)](){const _0x159dab=_0x2d2308,_0x1b564d=()=>{const _0x470611=_0x3ba2;this['_socket']||this[_0x470611(0x1dc)]();},_0x36154f=()=>{const _0xe68e3=_0x3ba2;this[_0xe68e3(0x2a7)]||document[_0xe68e3(0x252)]==='hidden'||this['reconnect']();};window[_0x159dab(0x248)](_0x159dab(0x219),_0x1b564d),document[_0x159dab(0x248)]('visibilitychange',_0x36154f);}[_0x2d2308(0x27c)](){const _0x3b0e52=_0x2d2308;var _0xe77de6;const _0x4856b1=this[_0x3b0e52(0x182)],_0x41f159=this[_0x3b0e52(0x366)]['getConfig'](_0x29065d),_0x2183f5=_0x4856b1===0x0?0x0:((_0xe77de6=_0x41f159==null?void 0x0:_0x41f159[_0x3b0e52(0x46c)])!=null?_0xe77de6:0x4e20)*0x2**_0x4856b1;this[_0x3b0e52(0x159)]=window[_0x3b0e52(0x2ac)](()=>{const _0x313c9c=_0x3b0e52;clearTimeout(this[_0x313c9c(0x159)]),this['_retryConnectingTimer']=null,this[_0x313c9c(0x340)]();},_0x2183f5),this['_retryCount']+=0x1;}[_0x2d2308(0x230)](_0x320f75,_0x5ec2a7){const _0xe982f1=_0x2d2308,{cmd:_0x4042ad}=_0x5ec2a7;_0x4042ad===_0x308b32[_0xe982f1(0x521)]&&!this[_0xe982f1(0x48a)]&&(_0x320f75[_0xe982f1(0x469)]=_0x5ec2a7[_0xe982f1(0x142)][_0xe982f1(0x469)],this['_socket$']['next'](_0x320f75),this[_0xe982f1(0x311)]['next'](_0x3c28c2[_0xe982f1(0x3b6)]),this['_socketReady']=!0x0,this[_0xe982f1(0x408)]=null),_0x4042ad===_0x308b32[_0xe982f1(0x393)]&&this[_0xe982f1(0x19e)](),this[_0xe982f1(0x49f)]();}[_0x2d2308(0x49f)](){const _0x2b92f2=_0x2d2308;var _0x3c0f6e;this['_clearHeartbeatTimer'](),this[_0x2b92f2(0x4f3)]=window[_0x2b92f2(0x2ac)](()=>this[_0x2b92f2(0x404)](),(_0x3c0f6e=this[_0x2b92f2(0x366)][_0x2b92f2(0x12f)](_0x10436f))!=null?_0x3c0f6e:0x7530);}[_0x2d2308(0x404)](){const _0x41c651=_0x2d2308;this[_0x41c651(0x2a7)][_0x41c651(0x363)]({'cmd':_0x308b32['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x2d2308(0x486)](){const _0x332c16=_0x2d2308;var _0x188a70;this[_0x332c16(0x381)]=window[_0x332c16(0x2ac)](()=>this[_0x332c16(0x454)](),(_0x188a70=this[_0x332c16(0x366)][_0x332c16(0x12f)](_0x5c3ac2))!=null?_0x188a70:0x4e20);}['_clearHeartbeatTimer'](){const _0x1ffea0=_0x2d2308;this[_0x1ffea0(0x4f3)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x1ffea0(0x4f3)]=null);}[_0x2d2308(0x19e)](){const _0x6bb061=_0x2d2308;this[_0x6bb061(0x381)]!=null&&(clearTimeout(this[_0x6bb061(0x381)]),this[_0x6bb061(0x381)]=null);}},_0x5c4621[_0x2d2308(0x12a)]=_0x109441([_0x1d68a6(0x0,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x3b2)])),_0x1d68a6(0x1,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x390)])),_0x1d68a6(0x2,_0x2fad45[_0x2d2308(0x29a)]),_0x1d68a6(0x3,_0x511a8d[_0x2d2308(0x446)]),_0x1d68a6(0x4,_0x511a8d[_0x2d2308(0x202)]),_0x1d68a6(0x5,_0x2c20a1)],_0x5c4621[_0x2d2308(0x12a)]);var _0x1a42d7=Object[_0x2d2308(0x210)],_0x2b7349=Object['getOwnPropertyDescriptor'],_0x1bdbaf=(_0x2537f5,_0x59d7a9,_0x160dc0,_0x4ddc92)=>{const _0x11efc4=_0x2d2308;for(var _0x1b7873=_0x4ddc92>0x1?void 0x0:_0x4ddc92?_0x2b7349(_0x59d7a9,_0x160dc0):_0x59d7a9,_0x55bb2e=_0x2537f5[_0x11efc4(0x1e3)]-0x1,_0x22360e;_0x55bb2e>=0x0;_0x55bb2e--)(_0x22360e=_0x2537f5[_0x55bb2e])&&(_0x1b7873=(_0x4ddc92?_0x22360e(_0x59d7a9,_0x160dc0,_0x1b7873):_0x22360e(_0x1b7873))||_0x1b7873);return _0x4ddc92&&_0x1b7873&&_0x1a42d7(_0x59d7a9,_0x160dc0,_0x1b7873),_0x1b7873;},_0x1579a8=(_0x24672b,_0x4d2f76)=>(_0x1c0f64,_0x40eb8a)=>_0x4d2f76(_0x1c0f64,_0x40eb8a,_0x24672b);let _0x4b8bdd=class{constructor(_0x568afd,_0x2431fd,_0x27a7bd){const _0x137bb4=_0x2d2308;this['_injector']=_0x568afd,this[_0x137bb4(0x541)]=_0x2431fd,this[_0x137bb4(0x16d)]=_0x27a7bd;}[_0x2d2308(0x4a2)](_0x2bd966){const _0x1f4888=_0x2d2308;this[_0x1f4888(0x4c8)](_0x2bd966),this[_0x1f4888(0x162)](_0x2bd966);}[_0x2d2308(0x19c)](_0x5039cf){const _0x38982e=_0x2d2308,{unitID:_0x36e8af}=_0x5039cf,_0x5632e5=this[_0x38982e(0x16d)][_0x38982e(0x148)](_0x36e8af)[_0x38982e(0x501)](_0x457ad5[_0x38982e(0x42b)]),{redoCache:_0x4e4a2b}=_0x5632e5[_0x38982e(0x4a0)]();if(_0x4e4a2b[_0x38982e(0x1e3)]===0x0)return _0x5039cf;let _0x5b96a2=_0x511a8d[_0x38982e(0x344)][_0x38982e(0x3a0)](_0x5039cf[_0x38982e(0x1ae)][0x0]);for(let _0x7dcfd5=0x0;_0x7dcfd5<_0x4e4a2b['length'];_0x7dcfd5++){const _0x4813dc={'id':_0x38982e(0x124),'params':{..._0x4e4a2b[_0x7dcfd5]}},_0x25c2a0=this[_0x38982e(0x541)][_0x38982e(0x555)](_0x5b96a2,_0x4813dc,!0x1);if(_0xa51b04[_0x38982e(0x2a8)](_0x25c2a0))throw _0x25c2a0[_0x38982e(0x269)];_0x5b96a2=_0x25c2a0[_0x38982e(0x3b8)];}return{..._0x511a8d['Tools']['deepClone'](_0x5039cf),'mutations':[_0x5b96a2]};}[_0x2d2308(0x4c8)](_0x24ec28){const _0xc05600=_0x2d2308,{unitID:_0x3afe7a}=_0x24ec28,_0x35b32e=this['_renderManagerService'][_0xc05600(0x148)](_0x3afe7a)[_0xc05600(0x501)](_0x457ad5[_0xc05600(0x42b)]),{undoCache:_0x32d617,redoCache:_0x2970b3}=_0x35b32e[_0xc05600(0x4a0)]();if(_0x32d617[_0xc05600(0x1e3)]===0x0||_0x2970b3[_0xc05600(0x1e3)]===0x0)return;const _0x513d8b=[],_0x2cfe3b=[];let _0x9e795=_0x511a8d[_0xc05600(0x344)][_0xc05600(0x3a0)](_0x24ec28[_0xc05600(0x1ae)][0x0]),_0x539cca=_0x511a8d[_0xc05600(0x344)][_0xc05600(0x3a0)](_0x24ec28[_0xc05600(0x1ae)][0x0]);for(let _0x1a5a49=_0x32d617[_0xc05600(0x1e3)]-0x1;_0x1a5a49>=0x0;_0x1a5a49--){const _0x28d215={'id':_0xc05600(0x124),'params':{..._0x32d617[_0x1a5a49]}},_0x523c3e={'id':_0xc05600(0x124),'params':{..._0x2970b3[_0x1a5a49]}},_0x1af8c0=this[_0xc05600(0x541)][_0xc05600(0x555)](_0x9e795,_0x28d215,!0x1),_0x33cb2d=this[_0xc05600(0x541)]['transformMutation'](_0x539cca,_0x523c3e,!0x1);if(_0xa51b04[_0xc05600(0x2a8)](_0x1af8c0))throw _0x1af8c0[_0xc05600(0x269)];if(_0xa51b04[_0xc05600(0x2a8)](_0x33cb2d))throw _0x33cb2d['error'];_0x513d8b['unshift'](_0x1af8c0['m2Prime'][_0xc05600(0x2b8)]),_0x2cfe3b[_0xc05600(0x2bc)](_0x33cb2d[_0xc05600(0x12b)]['params']),_0x9e795=_0x1af8c0[_0xc05600(0x3b8)],_0x539cca=_0x33cb2d[_0xc05600(0x3b8)];}_0x35b32e[_0xc05600(0x395)]({'undoCache':_0x513d8b,'redoCache':_0x2cfe3b});}['_transformPreviousActiveRange'](_0x4f3149){const _0x283890=_0x2d2308,{unitID:_0x38dcbf}=_0x4f3149,_0xe0f5fb=this['_renderManagerService'][_0x283890(0x148)](_0x38dcbf)[_0x283890(0x501)](_0x457ad5[_0x283890(0x42b)]),_0x94d3e=_0xe0f5fb[_0x283890(0x1bb)]();if(_0x94d3e==null)return;const _0x2edb5d=[{'id':_0x283890(0x124),'params':{'unitId':_0x4f3149[_0x283890(0x14c)],'actions':null,'textRanges':[_0x94d3e]}}],_0x2f7cc6=this['_transformService']['transformMutationsWithChangeset'](_0x4f3149,_0x2edb5d);if(!_0xa51b04[_0x283890(0x30c)](_0x2f7cc6))throw _0x2f7cc6[_0x283890(0x269)];const _0x503e79=_0x2f7cc6['m2Prime'][0x0]['params']['textRanges'];Array[_0x283890(0x4cb)](_0x503e79)&&_0x503e79['length']&&_0xe0f5fb[_0x283890(0x1ab)](_0x503e79[0x0]);}};_0x4b8bdd=_0x1bdbaf([_0x1579a8(0x0,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x3b2)])),_0x1579a8(0x1,_0xa51b04[_0x2d2308(0x2a2)]),_0x1579a8(0x2,_0x47232b['IRenderManagerService'])],_0x4b8bdd);var _0x3b8bc4=Object[_0x2d2308(0x210)],_0xe0a89f=Object[_0x2d2308(0x475)],_0x227db9=(_0x2f1d21,_0x5810a3,_0x1bdf1b,_0x2f060e)=>{for(var _0x1cfeeb=_0x2f060e>0x1?void 0x0:_0x2f060e?_0xe0a89f(_0x5810a3,_0x1bdf1b):_0x5810a3,_0x17ef5d=_0x2f1d21['length']-0x1,_0x3ea425;_0x17ef5d>=0x0;_0x17ef5d--)(_0x3ea425=_0x2f1d21[_0x17ef5d])&&(_0x1cfeeb=(_0x2f060e?_0x3ea425(_0x5810a3,_0x1bdf1b,_0x1cfeeb):_0x3ea425(_0x1cfeeb))||_0x1cfeeb);return _0x2f060e&&_0x1cfeeb&&_0x3b8bc4(_0x5810a3,_0x1bdf1b,_0x1cfeeb),_0x1cfeeb;},_0xefc015=(_0x511ce6,_0x25757c)=>(_0x47cb26,_0x3bdada)=>_0x25757c(_0x47cb26,_0x3bdada,_0x511ce6);_0x5c4621[_0x2d2308(0x23d)]=class extends _0x511a8d[_0x2d2308(0x3d6)]{constructor(_0x3e548c,_0x2a9e86,_0x5e3d89,_0x1a03be,_0x4edcdf){const _0x18c7d2=_0x2d2308;super(),_0x3d9158(this,_0x18c7d2(0x483),new Map()),_0x3d9158(this,'_saveTaskMap',new Map()),_0x3d9158(this,'_disabled',!0x1),(this['_configService']=_0x3e548c,this[_0x18c7d2(0x478)]=_0x2a9e86,this[_0x18c7d2(0x13b)]=_0x5e3d89,this['_localeService']=_0x1a03be,this[_0x18c7d2(0x342)]=_0x4edcdf,this[_0x18c7d2(0x32d)]());}[_0x2d2308(0x368)](){const _0x18b84c=_0x2d2308;this[_0x18b84c(0x1bd)]=!0x0;}['enableLocalCache'](){const _0x47fbe0=_0x2d2308;this[_0x47fbe0(0x1bd)]=!0x1;}['dispose'](){const _0x2772bd=_0x2d2308;this[_0x2772bd(0x433)]()[_0x2772bd(0x14f)](()=>super[_0x2772bd(0x2fb)]());}async[_0x2d2308(0x152)](_0x29968c){const _0x27fc98=_0x2d2308;return this[_0x27fc98(0x1bd)]?null:this[_0x27fc98(0x478)]['getItem'](_0x4f5da9(_0x29968c));}async[_0x2d2308(0x26c)](_0x1bc34d,_0x3b7f72){const _0x52565c=_0x2d2308;return!!this[_0x52565c(0x478)][_0x52565c(0x4f6)](_0x1bc34d,_0x3b7f72);}[_0x2d2308(0x1d8)](_0x4f5296,_0x4d317a,_0x1c8737,_0x2beee7){const _0xffce5b=_0x2d2308,_0x2ea4ef=this['_revisionService'][_0xffce5b(0x4b9)](_0x4f5296);this[_0xffce5b(0x483)][_0xffce5b(0x445)](_0x4f5296,{'unitID':_0x4f5296,'type':_0x4d317a,'awaitingChangeset':_0x1c8737,'mutations':_0x2beee7,'rev':_0x2ea4ef}),this[_0xffce5b(0x323)][_0xffce5b(0x1e0)](_0x4f5296)||this[_0xffce5b(0x1f6)](_0x4f5296);}[_0x2d2308(0x1f6)](_0xee8d81){const _0x5f013d=_0x2d2308,_0x1d6d34=this[_0x5f013d(0x4b8)]();_0x1d6d34===0x0?this[_0x5f013d(0x3e9)](_0xee8d81):this['_saveTaskMap'][_0x5f013d(0x445)](_0xee8d81,setTimeout(()=>this[_0x5f013d(0x3e9)](_0xee8d81),_0x1d6d34));}['_getSaveTimeout'](){const _0x2f036d=_0x2d2308;var _0x2e93fd;return(_0x2e93fd=this[_0x2f036d(0x366)][_0x2f036d(0x12f)](_0x4bff9a))!=null?_0x2e93fd:0x3e8;}[_0x2d2308(0x3e9)](_0x42903c){const _0x36fde1=_0x2d2308,_0x545709=this[_0x36fde1(0x323)]['get'](_0x42903c);return _0x545709!==void 0x0&&window[_0x36fde1(0x3a3)](_0x545709),this[_0x36fde1(0x478)][_0x36fde1(0x4f6)](_0x4f5da9(_0x42903c),this[_0x36fde1(0x483)][_0x36fde1(0x3bb)](_0x42903c))[_0x36fde1(0x14f)](()=>this[_0x36fde1(0x323)]['delete'](_0x42903c));}async[_0x2d2308(0x433)](){const _0x2275c4=_0x2d2308,_0x32b535=[];this[_0x2275c4(0x323)]['forEach']((_0x32ce07,_0x32d335)=>{const _0x217bd4=_0x2275c4;window[_0x217bd4(0x3a3)](_0x32ce07),_0x32b535['push'](this['_saveCache'](_0x32d335)['then'](()=>{const _0x3c50aa=_0x217bd4;this[_0x3c50aa(0x323)]['delete'](_0x32d335);}));}),await Promise[_0x2275c4(0x13c)](_0x32b535);}[_0x2d2308(0x32d)](){const _0xed9341=_0x2d2308;this[_0xed9341(0x2c8)](this[_0xed9341(0x13b)][_0xed9341(0x1cf)](()=>{const _0x1a860b=_0xed9341;if(this[_0x1a860b(0x323)]['size'])return this[_0x1a860b(0x239)]['t'](_0x1a860b(0x451));}));}},_0x5c4621[_0x2d2308(0x23d)]=_0x227db9([_0xefc015(0x0,_0x511a8d[_0x2d2308(0x202)]),_0xefc015(0x1,_0x511a8d[_0x2d2308(0x3ff)]),_0xefc015(0x2,_0x2fad45['IBeforeCloseService']),_0xefc015(0x3,_0x511a8d['Inject'](_0x511a8d[_0x2d2308(0x390)])),_0xefc015(0x4,_0x511a8d[_0x2d2308(0x4dc)](_0xa51b04[_0x2d2308(0x355)]))],_0x5c4621[_0x2d2308(0x23d)]);function _0x4f5da9(_0x3fb619){const _0x6190cc=_0x2d2308;return _0x6190cc(0x437)+_0x3fb619;}var _0x4219a6=Object['defineProperty'],_0xf49cb1=Object[_0x2d2308(0x475)],_0x2dbf71=(_0x112d7b,_0x42384c,_0x8a4818,_0x34cb65)=>{const _0x41c011=_0x2d2308;for(var _0x5020e5=_0x34cb65>0x1?void 0x0:_0x34cb65?_0xf49cb1(_0x42384c,_0x8a4818):_0x42384c,_0x37f799=_0x112d7b[_0x41c011(0x1e3)]-0x1,_0x53fb2d;_0x37f799>=0x0;_0x37f799--)(_0x53fb2d=_0x112d7b[_0x37f799])&&(_0x5020e5=(_0x34cb65?_0x53fb2d(_0x42384c,_0x8a4818,_0x5020e5):_0x53fb2d(_0x5020e5))||_0x5020e5);return _0x34cb65&&_0x5020e5&&_0x4219a6(_0x42384c,_0x8a4818,_0x5020e5),_0x5020e5;},_0x27aba1=(_0x64e11d,_0x11cbc9)=>(_0x6fa5a0,_0x354d12)=>_0x11cbc9(_0x6fa5a0,_0x354d12,_0x64e11d);function _0x31edaa(_0x483753){const _0x50185a=_0x2d2308,{unitID:_0x5f373a,mutations:_0x12568e}=_0x483753;return{'unitId':_0x5f373a,'subUnitId':_0x12568e[0x0]['params'][_0x50185a(0x536)]};}let _0x319bda=class{constructor(_0x4a8756,_0x47d9dc,_0x1cbe97){const _0x58d570=_0x2d2308;this['_injector']=_0x4a8756,this['_transformService']=_0x47d9dc,this[_0x58d570(0x336)]=_0x1cbe97;}[_0x2d2308(0x49c)](_0x2aea7a){const _0x342790=_0x2d2308;var _0x3ae9d2,_0x145720,_0x2bdc28,_0x4d0925;const _0x372ccf=this['_injector'][_0x342790(0x3bb)](_0x11a28e[_0x342790(0x480)]),{unitId:_0x73c2bf,subUnitId:_0x5ce047}=_0x31edaa(_0x2aea7a),_0xf7d841=_0x372ccf[_0x342790(0x171)](_0x73c2bf)[_0x342790(0x25e)](),_0x44a33a=(_0x145720=(_0x3ae9d2=this[_0x342790(0x336)][_0x342790(0x467)](_0x73c2bf))==null?void 0x0:_0x3ae9d2['getActiveSheet']())==null?void 0x0:_0x145720['getSheetId']();if(_0xf7d841['length']===0x0||!_0x73c2bf||!_0x5ce047)return;const _0x4cf080=[{'id':_0x11a28e[_0x342790(0x500)]['id'],'params':{'unitId':_0x73c2bf,'subUnitId':_0x44a33a,'selections':_0x511a8d[_0x342790(0x344)][_0x342790(0x3a0)](_0xf7d841)}}],_0x656ea2=this[_0x342790(0x541)][_0x342790(0x242)](_0x2aea7a,_0x4cf080);if(!_0xa51b04[_0x342790(0x30c)](_0x656ea2))throw _0x656ea2['error'];const _0xaf92b1=(_0x4d0925=(_0x2bdc28=_0x656ea2[_0x342790(0x12b)][0x0])==null?void 0x0:_0x2bdc28['params'])==null?void 0x0:_0x4d0925[_0x342790(0x2e7)];Array[_0x342790(0x4cb)](_0xaf92b1)&&_0xaf92b1[_0x342790(0x1e3)]&&this[_0x342790(0x510)][_0x342790(0x3bb)](_0x511a8d[_0x342790(0x23a)])[_0x342790(0x26a)](_0x11a28e['SetSelectionsOperation']['id'],{'unitId':_0x73c2bf,'subUnitId':_0x44a33a,'selections':_0xaf92b1});}};_0x319bda=_0x2dbf71([_0x27aba1(0x0,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x3b2)])),_0x27aba1(0x1,_0xa51b04[_0x2d2308(0x2a2)]),_0x27aba1(0x2,_0x511a8d[_0x2d2308(0x3ed)])],_0x319bda);const _0x484b6f=_0x511a8d[_0x2d2308(0x4be)](_0x2d2308(0x1a1));var _0x2423c4=(_0xf81578=>(_0xf81578[_0xf81578[_0x2d2308(0x4f5)]=0x0]=_0x2d2308(0x4f5),_0xf81578[_0xf81578['OTHER_CLIENTS_EDITING']=0x1]=_0x2d2308(0x329),_0xf81578))(_0x2423c4||{});const _0x3e0220=0x7530,_0x3d1fa6=_0x2d2308(0x20b);class _0xdbad05 extends _0x511a8d['Disposable']{constructor(){const _0x16b47f=_0x2d2308;super(),_0x3d9158(this,'_id',_0x511a8d[_0x16b47f(0x344)]['generateRandomId']()),_0x3d9158(this,_0x16b47f(0x383),new Set()),_0x3d9158(this,_0x16b47f(0x3d1),new Map()),_0x3d9158(this,'_heartbeatTimer',null),_0x3d9158(this,_0x16b47f(0x396),new Map()),_0x3d9158(this,'_unitStatus',new Map()),this[_0x16b47f(0x3e6)]();}[_0x2d2308(0x2fb)](){const _0x5897fd=_0x2d2308;super[_0x5897fd(0x2fb)](),this[_0x5897fd(0x396)][_0x5897fd(0x20c)]((_0xa08b15,_0xb08633)=>this[_0x5897fd(0x2f6)](_0xb08633)),this['_heartbeatTimer']&&window[_0x5897fd(0x4f9)](this['_heartbeatTimer']);}[_0x2d2308(0x4a5)](_0x278294){const _0x12f6f0=_0x2d2308;return this[_0x12f6f0(0x236)](_0x278294)[_0x12f6f0(0x47e)](_0x1fcaf6[_0x12f6f0(0x4d7)]());}[_0x2d2308(0x334)](_0x293383){const _0x347758=_0x2d2308;this[_0x347758(0x383)]['size']===0x0&&this[_0x347758(0x348)](),this[_0x347758(0x383)]['add'](_0x293383),this[_0x347758(0x463)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x293383],'isForwarded':!0x1});}['disposeUnit'](_0x2624cd){const _0x41cbf2=_0x2d2308;this['_selfUnitIDs'][_0x41cbf2(0x444)](_0x2624cd),this[_0x41cbf2(0x383)][_0x41cbf2(0x195)]===0x0&&this['_heartbeatTimer']&&window[_0x41cbf2(0x4f9)](this[_0x41cbf2(0x4a1)]);}[_0x2d2308(0x3e6)](){const _0xfad4df=_0x2d2308;this[_0xfad4df(0x2c8)](_0x511a8d[_0xfad4df(0x529)](_0x1fcaf6[_0xfad4df(0x409)](window,'storage')[_0xfad4df(0x2a1)](_0x3fe6b0=>{const _0x11c02b=_0xfad4df;if(_0x3fe6b0[_0x11c02b(0x3c0)]!==_0x3d1fa6||!_0x3fe6b0[_0x11c02b(0x46a)])return;const _0xd133f2=JSON[_0x11c02b(0x352)](_0x3fe6b0[_0x11c02b(0x46a)]);this[_0x11c02b(0x412)](_0xd133f2);}))),window[_0xfad4df(0x248)](_0xfad4df(0x276),()=>this[_0xfad4df(0x463)]({'type':0x1,'memberID':this[_0xfad4df(0x302)],'unitIDs':Array[_0xfad4df(0x52f)](this['_selfUnitIDs'])}));}[_0x2d2308(0x412)](_0x24fd46){const _0x5b39be=_0x2d2308;switch(_0x24fd46['type']){case 0x0:this[_0x5b39be(0x1bf)](_0x24fd46);break;case 0x1:this[_0x5b39be(0x2ab)](_0x24fd46);break;case 0x2:this[_0x5b39be(0x282)](_0x24fd46);break;}}[_0x2d2308(0x1bf)](_0x15f80a){const _0x5946d7=_0x2d2308,{unitIDs:_0x2ec387,memberID:_0x5d1bea,isForwarded:_0x51ca48}=_0x15f80a;_0x2ec387[_0x5946d7(0x20c)](_0xbdac64=>{const _0x47a1a0=_0x5946d7;if(!_0x51ca48&&this['_unitOnClients'][_0x47a1a0(0x1e0)](_0xbdac64)&&this[_0x47a1a0(0x236)](_0xbdac64)['next'](0x1),!this[_0x47a1a0(0x3d1)][_0x47a1a0(0x1e0)](_0xbdac64)||!this[_0x47a1a0(0x3d1)][_0x47a1a0(0x3bb)](_0xbdac64)['has'](_0x5d1bea)){const _0x1ed98f=this[_0x47a1a0(0x3d1)][_0x47a1a0(0x3bb)](_0xbdac64)||new Set();_0x1ed98f['add'](_0x5d1bea),this[_0x47a1a0(0x3d1)]['set'](_0xbdac64,_0x1ed98f),this[_0x47a1a0(0x4dd)](_0x5d1bea);}}),_0x51ca48||this[_0x5946d7(0x463)]({'type':0x0,'memberID':this[_0x5946d7(0x302)],'unitIDs':[...this[_0x5946d7(0x383)]],'isForwarded':!0x0});}[_0x2d2308(0x4dd)](_0x43e137){const _0x1583f0=_0x2d2308;this[_0x1583f0(0x2f6)](_0x43e137);const _0xd74e33=window['setTimeout'](()=>{const _0x2f62ab=_0x1583f0;this[_0x2f62ab(0x3d1)][_0x2f62ab(0x20c)](_0x406409=>{const _0x322e57=_0x2f62ab;_0x406409[_0x322e57(0x444)](_0x43e137);});},_0x3e0220*0x2);this[_0x1583f0(0x396)][_0x1583f0(0x445)](_0x43e137,_0xd74e33);}[_0x2d2308(0x2f6)](_0x3e7c98){const _0x5c3b4b=_0x2d2308;if(this['_clearOtherTimers'][_0x5c3b4b(0x1e0)](_0x3e7c98)){const _0x241fe4=this[_0x5c3b4b(0x396)][_0x5c3b4b(0x3bb)](_0x3e7c98);_0x241fe4&&window['clearTimeout'](_0x241fe4),this['_clearOtherTimers']['set'](_0x3e7c98,null);}}[_0x2d2308(0x2ab)](_0x2e69f4){const _0xc69738=_0x2d2308,{memberID:_0x5e7b79,unitIDs:_0x1aeb50}=_0x2e69f4;_0x1aeb50['forEach'](_0x37fbbf=>{const _0x228b8c=_0x3ba2;var _0x416c63;const _0x50bea5=this[_0x228b8c(0x3d1)][_0x228b8c(0x3bb)](_0x37fbbf);_0x50bea5&&(_0x50bea5['delete'](_0x5e7b79),(_0x416c63=this[_0x228b8c(0x236)](_0x37fbbf))==null||_0x416c63[_0x228b8c(0x535)](_0x50bea5['size']===0x0?0x0:0x1));}),this[_0xc69738(0x2f6)](_0x5e7b79);}[_0x2d2308(0x282)](_0x35c592){const _0x49b957=_0x2d2308;this[_0x49b957(0x4dd)](_0x35c592['memberID']);}['_send'](_0x462424){const _0x4e54a8=_0x2d2308;localStorage[_0x4e54a8(0x4f6)](_0x3d1fa6,JSON[_0x4e54a8(0x26b)](_0x462424));}[_0x2d2308(0x348)](){const _0x30e46e=_0x2d2308;this['_heartbeatTimer']=window[_0x30e46e(0x238)](()=>{const _0x37ddbb=_0x30e46e;this['_send']({'type':0x2,'memberID':this[_0x37ddbb(0x302)]});},_0x3e0220);}[_0x2d2308(0x236)](_0x2fec3a){const _0x406b57=_0x2d2308;return this[_0x406b57(0x4fb)]['has'](_0x2fec3a)||this[_0x406b57(0x4fb)]['set'](_0x2fec3a,new _0x1fcaf6[(_0x406b57(0x24c))](0x0)),this[_0x406b57(0x4fb)][_0x406b57(0x3bb)](_0x2fec3a);}}function _0x3df83b(_0xaf0dbe){const _0x4fffb6=_0x2d2308;let _0x11922a='';for(const _0x209f2a of _0xaf0dbe){const {startOffset:_0x1efff7,endOffset:_0x59a875,isActive:_0x35b67b}=_0x209f2a;_0x11922a[_0x4fffb6(0x1e3)]&&(_0x11922a+=','),_0x11922a+=_0x1efff7+':'+_0x59a875+':'+(_0x35b67b?'1':'0');}return _0x11922a;}function _0xfc242c(_0x4c4fc6){const _0x53bd0c=_0x2d2308,_0x4d5de8=_0x4c4fc6[_0x53bd0c(0x4d1)](','),_0x448026=[];for(const _0x3eecab of _0x4d5de8){const [_0x4b130f,_0x29ca40,_0x34360b]=_0x3eecab['split'](':');_0x448026[_0x53bd0c(0x4c4)]({'startOffset':Number(_0x4b130f),'endOffset':Number(_0x29ca40),'collapsed':_0x4b130f===_0x29ca40,'isActive':_0x34360b==='1'});}return _0x448026[_0x53bd0c(0x285)](_0x27a51c=>_0x27a51c[_0x53bd0c(0x125)])||(_0x448026[0x0]['isActive']=!0x0),_0x448026;}class _0x57cbd1 extends _0x511a8d[_0x2d2308(0x53d)]{constructor(){const _0x5eb5ef=_0x2d2308;super(...arguments),_0x3d9158(this,'_collabCursorState$',new _0x1fcaf6[(_0x5eb5ef(0x24c))](null)),_0x3d9158(this,_0x5eb5ef(0x29b),this[_0x5eb5ef(0x17d)][_0x5eb5ef(0x1d7)]());}['syncEditingCollabCursor'](_0x58b2d6){const _0xf8ce1f=_0x2d2308,{unitID:_0x32c72c,memberID:_0x5717a7,textRanges:_0x5b7389}=_0x58b2d6,_0x25bae3=_0x3df83b(_0x5b7389),_0x3bb233={'unitID':_0x32c72c,'memberID':_0x5717a7,'selection':_0x25bae3};this[_0xf8ce1f(0x17d)]['next'](_0x3bb233);}}var _0x272410=Object[_0x2d2308(0x210)],_0x2015b5=Object[_0x2d2308(0x475)],_0x21cb86=(_0x2313b2,_0xe22157,_0x54a6c0,_0xceb6b0)=>{for(var _0x5bc260=_0xceb6b0>0x1?void 0x0:_0xceb6b0?_0x2015b5(_0xe22157,_0x54a6c0):_0xe22157,_0x4e6b3d=_0x2313b2['length']-0x1,_0xc0b8fa;_0x4e6b3d>=0x0;_0x4e6b3d--)(_0xc0b8fa=_0x2313b2[_0x4e6b3d])&&(_0x5bc260=(_0xceb6b0?_0xc0b8fa(_0xe22157,_0x54a6c0,_0x5bc260):_0xc0b8fa(_0x5bc260))||_0x5bc260);return _0xceb6b0&&_0x5bc260&&_0x272410(_0xe22157,_0x54a6c0,_0x5bc260),_0x5bc260;},_0x216e38=(_0x5f2286,_0x344e41)=>(_0x34f9e3,_0x3c6852)=>_0x344e41(_0x34f9e3,_0x3c6852,_0x5f2286);let _0x319bd7=class{constructor(_0x55a1c6,_0x3de9ad){const _0x12fe43=_0x2d2308;this['_injector']=_0x55a1c6,this[_0x12fe43(0x541)]=_0x3de9ad;}[_0x2d2308(0x49c)](_0xa37e18){const _0x30d1b4=_0x2d2308;var _0x32b137;const _0x38d2e2=this[_0x30d1b4(0x510)][_0x30d1b4(0x3bb)](_0x106b3c[_0x30d1b4(0x286)]),_0x50cfbe=(_0x32b137=_0x38d2e2[_0x30d1b4(0x3f7)]())!=null?_0x32b137:[];if(_0x50cfbe['length']===0x0)return;const _0x341289=[{'id':_0x30d1b4(0x124),'params':{'unitId':_0xa37e18['unitID'],'actions':null,'textRanges':_0x50cfbe}}],_0x2a161a=this[_0x30d1b4(0x541)][_0x30d1b4(0x242)](_0xa37e18,_0x341289);if(!_0xa51b04[_0x30d1b4(0x30c)](_0x2a161a))throw _0x2a161a[_0x30d1b4(0x269)];const _0x2c0b0e=_0x2a161a[_0x30d1b4(0x12b)][0x0][_0x30d1b4(0x2b8)]['textRanges'];Array[_0x30d1b4(0x4cb)](_0x2c0b0e)&&_0x2c0b0e['length']&&_0x38d2e2['replaceTextRanges'](_0x2c0b0e,!0x1);}};_0x319bd7=_0x21cb86([_0x216e38(0x0,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x3b2)])),_0x216e38(0x1,_0xa51b04[_0x2d2308(0x2a2)])],_0x319bd7);const _0x4c0b3a=new Set([_0x11a28e['InsertSheetMutation']['id']]);function _0x16dcbb(_0x3143eb,_0x594721,_0x2d973e,_0x32a43a,_0x350564){const _0x17030d=_0x2d2308;var _0x219817,_0x56f4c5,_0x4db9c5,_0xc2c006;const _0x129766=[];for(const _0x4d6cc9 of _0x3143eb)if(_0x4c0b3a['has'](_0x4d6cc9['id'])){if(_0x129766[_0x17030d(0x1e3)]>0x0)break;_0x129766[_0x17030d(0x4c4)](_0x4d6cc9);break;}else _0x129766[_0x17030d(0x4c4)](_0x4d6cc9);const _0x384c87=(_0x56f4c5=(_0x219817=_0x350564[_0x17030d(0x430)]())==null?void 0x0:_0x219817[_0x17030d(0x22a)])!=null?_0x56f4c5:_0x17030d(0x301),_0x50c8e4=(_0xc2c006=(_0x4db9c5=_0x350564[_0x17030d(0x430)]())==null?void 0x0:_0x4db9c5['memberID'])!=null?_0xc2c006:_0x17030d(0x301);return{'changeset':{'unitID':_0x594721,'type':_0xa51b04[_0x17030d(0x15b)](_0x2d973e[_0x17030d(0x485)](_0x594721)),'baseRev':_0x32a43a[_0x17030d(0x4b9)](_0x594721),'revision':0x0,'userID':_0x384c87,'memberID':_0x50c8e4,'mutations':_0x129766},'pendingMutations':_0x3143eb[_0x17030d(0x4d9)](_0x129766[_0x17030d(0x1e3)])};}function _0x88f6a4(_0x25e531,_0x192878,_0xd22057,_0x50a1e1,_0x580c3f){const _0x2ad1a6=_0x2d2308;var _0x5908fe,_0x227ce9,_0x25abed,_0x2dd126;const _0x523834=[_0x25e531['reduce']((_0x1ac9f9,_0x21d814)=>{const _0x30195a=_0x3ba2;var _0x51b5bf;const {id:_0x54f8f9}=_0x1ac9f9,{id:_0xc1bca3,type:_0xb7b152}=_0x21d814,_0x4ad470=(_0x51b5bf=_0x1ac9f9['params'])!=null?_0x51b5bf:{'actions':null},_0x31fcaf=_0x21d814['params'];if(_0x54f8f9&&_0x54f8f9!==_0xc1bca3)throw new Error(_0x30195a(0x509)+_0x54f8f9+_0x30195a(0x146)+_0xc1bca3+'.');return{..._0x1ac9f9,'id':_0xc1bca3,'type':_0xb7b152,'params':{'unitId':_0x31fcaf[_0x30195a(0x4bf)],'textRanges':_0x31fcaf[_0x30195a(0x512)],'actions':_0x511a8d['JSONX'][_0x30195a(0x1d4)](_0x4ad470[_0x30195a(0x479)],_0x31fcaf['actions'])}};},{})],_0x559a51=(_0x227ce9=(_0x5908fe=_0x580c3f[_0x2ad1a6(0x430)]())==null?void 0x0:_0x5908fe['userID'])!=null?_0x227ce9:'unknown',_0x16c892=(_0x2dd126=(_0x25abed=_0x580c3f[_0x2ad1a6(0x430)]())==null?void 0x0:_0x25abed[_0x2ad1a6(0x469)])!=null?_0x2dd126:_0x2ad1a6(0x301);return{'changeset':{'unitID':_0x192878,'type':_0xa51b04[_0x2ad1a6(0x15b)](_0xd22057[_0x2ad1a6(0x485)](_0x192878)),'baseRev':_0x50a1e1[_0x2ad1a6(0x4b9)](_0x192878),'revision':0x0,'userID':_0x559a51,'memberID':_0x16c892,'mutations':_0x523834},'pendingMutations':[]};}const _0x351057={'id':_0x11a28e['EmptyMutation']['id'],'type':_0x511a8d[_0x2d2308(0x350)][_0x2d2308(0x4d3)],'params':{}};var _0x24f4df=Object[_0x2d2308(0x210)],_0x3ec1d3=Object[_0x2d2308(0x475)],_0x2ef1f0=(_0x3256da,_0x2f64e0,_0x2f5180,_0x43438e)=>{const _0x113f66=_0x2d2308;for(var _0x564510=_0x43438e>0x1?void 0x0:_0x43438e?_0x3ec1d3(_0x2f64e0,_0x2f5180):_0x2f64e0,_0x55e3d0=_0x3256da[_0x113f66(0x1e3)]-0x1,_0x4e7bc8;_0x55e3d0>=0x0;_0x55e3d0--)(_0x4e7bc8=_0x3256da[_0x55e3d0])&&(_0x564510=(_0x43438e?_0x4e7bc8(_0x2f64e0,_0x2f5180,_0x564510):_0x4e7bc8(_0x564510))||_0x564510);return _0x43438e&&_0x564510&&_0x24f4df(_0x2f64e0,_0x2f5180,_0x564510),_0x564510;},_0x23216c=(_0x39d5ad,_0x4d2e75)=>(_0x5aa027,_0x144927)=>_0x4d2e75(_0x5aa027,_0x144927,_0x39d5ad),_0x437a54=(_0x224436=>(_0x224436[_0x2d2308(0x3f4)]='not_collab',_0x224436[_0x2d2308(0x388)]=_0x2d2308(0x147),_0x224436[_0x2d2308(0x4cc)]='pending',_0x224436[_0x2d2308(0x40e)]=_0x2d2308(0x3ca),_0x224436[_0x2d2308(0x306)]=_0x2d2308(0x15a),_0x224436[_0x2d2308(0x402)]=_0x2d2308(0x4a4),_0x224436[_0x2d2308(0x262)]=_0x2d2308(0x530),_0x224436[_0x2d2308(0x264)]=_0x2d2308(0x1c9),_0x224436))(_0x437a54||{});class _0xbdd3b{constructor(_0x18f0b6,_0xe9bbdb,_0x316429,_0x44a33f,_0x1681ff,_0x3db6b4,_0x32c6b3,_0x4f6717,_0x28ece5){const _0x2590fd=_0x2d2308;_0x3d9158(this,_0x2590fd(0x3d0),null),_0x3d9158(this,_0x2590fd(0x4e7),[]),(this[_0x2590fd(0x14c)]=_0x18f0b6,this[_0x2590fd(0x4bb)]=_0xe9bbdb,this[_0x2590fd(0x272)]=_0x1681ff,this[_0x2590fd(0x4c3)]=_0x3db6b4,this[_0x2590fd(0x1b8)]=_0x32c6b3,this[_0x2590fd(0x342)]=_0x4f6717,this[_0x2590fd(0x354)]=_0x28ece5,this[_0x2590fd(0x3d0)]=_0x316429,this[_0x2590fd(0x4e7)]=_0x44a33f);}['_checkMissing'](_0x27d47a){const _0x425869=_0x2d2308,_0x4d2979=this['_revisionService'][_0x425869(0x4b9)](this[_0x425869(0x14c)]);return _0x27d47a[_0x425869(0x2e9)]>_0x4d2979+0x1?(this[_0x425869(0x272)][_0x425869(0x26d)]({'from':_0x4d2979,'to':_0x27d47a[_0x425869(0x2e9)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x4f8fdd){const _0x85a903=_0x2d2308;this['_undoRedoService'][_0x85a903(0x50c)](this['unitID'],_0x4f8fdd);}[_0x2d2308(0x4f4)](_0x310126){const _0x310e86=_0x2d2308;var _0xfc15ec,_0x1bdf8a;(_0x1bdf8a=(_0xfc15ec=this[_0x310e86(0x272)])[_0x310e86(0x346)])==null||_0x1bdf8a[_0x310e86(0x2a9)](_0xfc15ec,_0x310126);}[_0x2d2308(0x51c)](_0xf02b0c){const _0x104ccb=_0x2d2308;var _0x157c3e,_0x3bfe4c;return(_0x3bfe4c=(_0x157c3e=this[_0x104ccb(0x272)])['onTransformIME'])==null?void 0x0:_0x3bfe4c[_0x104ccb(0x2a9)](_0x157c3e,_0xf02b0c);}[_0x2d2308(0x15c)](_0xbad09f){const _0x5a928c=_0x2d2308;var _0x10ffb0,_0x3d4c84,_0x502354;return(_0x502354=(_0x3d4c84=(_0x10ffb0=this[_0x5a928c(0x272)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x3d4c84['call'](_0x10ffb0,_0xbad09f))!=null?_0x502354:_0xbad09f;}[_0x2d2308(0x353)](_0xfab4cb){const _0x2d2e17=_0x2d2308;var _0x10cdd5,_0x5c5c6d;if(this['type']===_0x469253['UNIVER_DOC']){const {unitID:_0x3f6d22,mutations:_0x525c3a,memberID:_0x8ca996}=_0xfab4cb,_0x234a1d=_0x525c3a[0x0]['params']['textRanges'];Array[_0x2d2e17(0x4cb)](_0x234a1d)&&_0x234a1d[_0x2d2e17(0x1e3)]>0x0&&((_0x5c5c6d=(_0x10cdd5=this[_0x2d2e17(0x272)])[_0x2d2e17(0x1c2)])==null||_0x5c5c6d['call'](_0x10cdd5,{'unitID':_0x3f6d22,'memberID':_0x8ca996,'textRanges':_0x234a1d}));}}[_0x2d2308(0x270)](){const _0x1e4b36=_0x2d2308;this[_0x1e4b36(0x354)]['updateOfflineData'](this[_0x1e4b36(0x14c)],this['type'],this[_0x1e4b36(0x3d0)],this[_0x1e4b36(0x4e7)]);}[_0x2d2308(0x387)](){const _0xd761e5=_0x2d2308;return this[_0xd761e5(0x342)][_0xd761e5(0x4b9)](this[_0xd761e5(0x14c)]);}['_incrementRevisionNumber'](){const _0x403ee8=_0x2d2308;this[_0x403ee8(0x342)][_0x403ee8(0x305)](this[_0x403ee8(0x14c)]);}[_0x2d2308(0x3b9)](_0x962a3c){const _0x146db6=_0x2d2308;var _0x480f05;const _0x4e61a5=this[_0x146db6(0x15c)](_0x962a3c),_0x2b1b4d=_0x511a8d['sequenceExecute'](_0x4e61a5[_0x146db6(0x1ae)],this[_0x146db6(0x4c3)],{'fromCollab':!0x0});if(!_0x2b1b4d[_0x146db6(0x3ae)])throw _0x2b1b4d['error']instanceof Error?_0x2b1b4d[_0x146db6(0x269)]:new Error((_0x480f05=_0x2b1b4d[_0x146db6(0x269)])!=null?_0x480f05:_0x146db6(0x4d5));this[_0x146db6(0x51c)](_0x4e61a5),this[_0x146db6(0x48d)](_0x962a3c),this[_0x146db6(0x4f4)](_0x4e61a5),this[_0x146db6(0x353)](_0x4e61a5),this[_0x146db6(0x164)]();}}let _0xa3a636=class extends _0xbdd3b{constructor(_0x13cc62,_0x412b5a,_0x575bd9,_0x2e6a9b,_0x18f422,_0x5a0f52,_0xdbd85f,_0x3b96dc,_0x232ca7,_0x23eccf){const _0x2248b3=_0x2d2308;super(_0x13cc62,_0x412b5a,null,[],_0x575bd9,_0x3b96dc,_0xdbd85f,_0x2e6a9b,_0x18f422),_0x3d9158(this,_0x2248b3(0x166),_0x2248b3(0x147)),(this[_0x2248b3(0x510)]=_0x5a0f52,this[_0x2248b3(0x54c)]=_0x232ca7,this[_0x2248b3(0x541)]=_0x23eccf);}[_0x2d2308(0x184)](_0x4884e3){const _0x4713fa=_0x2d2308,_0x56cf7e=this[_0x4713fa(0x510)][_0x4713fa(0x558)](_0x1b95cb,this[_0x4713fa(0x14c)],this['type'],[_0x4884e3],this['_handler']);return _0x56cf7e[_0x4713fa(0x18a)](),_0x56cf7e[_0x4713fa(0x270)](),_0x56cf7e;}[_0x2d2308(0x47b)](_0x411aa7){const _0x319eb2=_0x2d2308;if(this['_checkMissing'](_0x411aa7))return this[_0x319eb2(0x510)][_0x319eb2(0x558)](_0x51a99b,this[_0x319eb2(0x14c)],this['type'],null,[],null,[_0x411aa7],this[_0x319eb2(0x272)]);try{const _0x9e633a=this['_transformService'][_0x319eb2(0x242)](_0x411aa7,[_0x351057]);if(_0xa51b04[_0x319eb2(0x30c)](_0x9e633a)){const {c1Prime:_0x1a6033}=_0x9e633a;return this[_0x319eb2(0x3b9)](_0x1a6033),this;}throw _0x9e633a[_0x319eb2(0x269)];}catch(_0xd9488f){return this['_logService']['error'](_0xd9488f),this[_0x319eb2(0x21a)](!0x1);}}[_0x2d2308(0x21a)](_0xd469c0){const _0x149cb7=_0x2d2308;return this['_injector'][_0x149cb7(0x558)](_0x1f4004,this[_0x149cb7(0x14c)],this[_0x149cb7(0x4bb)],null,[],this[_0x149cb7(0x272)],_0xd469c0);}[_0x2d2308(0x4df)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x2d2308(0x199)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x2d2308(0x55e)](){const _0x265e50=_0x2d2308;return this['_injector'][_0x265e50(0x558)](_0x30313b,this[_0x265e50(0x14c)],this[_0x265e50(0x4bb)],null,[],this[_0x265e50(0x272)]);}[_0x2d2308(0x2c1)](){return this;}[_0x2d2308(0x4c6)](){const _0x19857e=_0x2d2308;throw new Error(_0x19857e(0x3e4));}[_0x2d2308(0x2b6)](){const _0x2b1a78=_0x2d2308,_0x53bdab=this[_0x2b1a78(0x342)][_0x2b1a78(0x4b9)](this[_0x2b1a78(0x14c)]);return this['_handler'][_0x2b1a78(0x26d)]({'from':_0x53bdab,'to':0x0}),this[_0x2b1a78(0x510)][_0x2b1a78(0x558)](_0x51a99b,this[_0x2b1a78(0x14c)],this['type'],null,[],null,[],this[_0x2b1a78(0x272)]);}};_0xa3a636=_0x2ef1f0([_0x23216c(0x3,_0x511a8d['Inject'](_0xa51b04[_0x2d2308(0x355)])),_0x23216c(0x4,_0x511a8d[_0x2d2308(0x4dc)](_0x5c4621['LocalCacheService'])),_0x23216c(0x5,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x3b2)])),_0x23216c(0x6,_0x511a8d[_0x2d2308(0x2ff)]),_0x23216c(0x7,_0x511a8d[_0x2d2308(0x23a)]),_0x23216c(0x8,_0x511a8d[_0x2d2308(0x446)]),_0x23216c(0x9,_0xa51b04[_0x2d2308(0x2a2)])],_0xa3a636);let _0x1b95cb=class extends _0xbdd3b{constructor(_0x284e64,_0x442b75,_0x518da4,_0x1bc4f1,_0x139e91,_0x2b83e8,_0x50fb22,_0x5f2ae3,_0x2925db,_0x5bc261,_0x47313a,_0x4c7bd7,_0x342659,_0x2dc238){const _0x669111=_0x2d2308;super(_0x284e64,_0x442b75,null,_0x518da4,_0x1bc4f1,_0x5bc261,_0x2dc238,_0x2b83e8,_0x50fb22),_0x3d9158(this,_0x669111(0x166),_0x669111(0x4ef)),_0x3d9158(this,_0x669111(0x2b3),null),_0x3d9158(this,_0x669111(0x160),null),(this['_injector']=_0x139e91,this['_memberService']=_0x5f2ae3,this['_logService']=_0x2925db,this[_0x669111(0x366)]=_0x47313a,this['_transformService']=_0x4c7bd7,this[_0x669111(0x245)]=_0x342659);}[_0x2d2308(0x184)](_0x3af412){const _0x3aa5a6=_0x2d2308;return this[_0x3aa5a6(0x4e7)][_0x3aa5a6(0x4c4)](_0x3af412),this['_updateLocalCache'](),this;}[_0x2d2308(0x47b)](_0x2134d2){const _0x4dc961=_0x2d2308;if(this[_0x4dc961(0x327)](_0x2134d2))return this[_0x4dc961(0x2e6)](),this['_injector'][_0x4dc961(0x558)](_0x51a99b,this[_0x4dc961(0x14c)],this[_0x4dc961(0x4bb)],null,this[_0x4dc961(0x4e7)],null,[_0x2134d2],this[_0x4dc961(0x272)]);try{const _0x50a018=this[_0x4dc961(0x541)][_0x4dc961(0x242)](_0x2134d2,this[_0x4dc961(0x4e7)]);if(_0xa51b04[_0x4dc961(0x30c)](_0x50a018)){const {c1Prime:_0x1d7d57,m2Prime:_0x4775c9}=_0x50a018;this[_0x4dc961(0x3b9)](_0x1d7d57);const _0x567162=this[_0x4dc961(0x510)]['createInstance'](_0x1b95cb,this[_0x4dc961(0x14c)],this['type'],_0x4775c9,this[_0x4dc961(0x272)]);return this[_0x4dc961(0x2e6)](),_0x567162[_0x4dc961(0x18a)](this[_0x4dc961(0x2b3)]?Math[_0x4dc961(0x256)](0x0,new Date()['getTime']()-this[_0x4dc961(0x2b3)]):this[_0x4dc961(0x4e2)]()),_0x567162;}throw _0x50a018[_0x4dc961(0x269)];}catch(_0x26aa6d){return this['_logService'][_0x4dc961(0x269)](_0x26aa6d),this[_0x4dc961(0x21a)](!0x1);}}['onRemoteAck'](){const _0x165355=_0x2d2308;throw new Error(_0x165355(0x50d));}[_0x2d2308(0x199)](){const _0x2e36e1=_0x2d2308;throw new Error(_0x2e36e1(0x4a7));}['toggleOffline'](){const _0x3eebf4=_0x2d2308;return this['_clearScheduledTask'](),this[_0x3eebf4(0x510)][_0x3eebf4(0x558)](_0x30313b,this[_0x3eebf4(0x14c)],this['type'],null,this[_0x3eebf4(0x4e7)],this[_0x3eebf4(0x272)]);}['toggleOnline'](){return this;}[_0x2d2308(0x18a)](_0x4853a9){const _0x57ded0=_0x2d2308,_0xee36e9=_0x4853a9!=null?_0x4853a9:this[_0x57ded0(0x4e2)]();this[_0x57ded0(0x2b3)]=new Date()['getTime'](),this[_0x57ded0(0x160)]=window[_0x57ded0(0x2ac)](()=>{const _0x5c8a72=_0x57ded0;this['_clearScheduledTask']();let _0x222213=null;switch(this[_0x5c8a72(0x4bb)]){case _0x469253[_0x5c8a72(0x1b5)]:{_0x222213=_0x16dcbb(this['_pendingMutations'],this['unitID'],this[_0x5c8a72(0x245)],this[_0x5c8a72(0x342)],this[_0x5c8a72(0x361)]);break;}case _0x469253[_0x5c8a72(0x183)]:{this[_0x5c8a72(0x4e7)][_0x5c8a72(0x2c6)](_0x206ec1=>_0x206ec1['id']===_0x106b3c['RichTextEditingMutation']['id'])?_0x222213=_0x88f6a4(this['_pendingMutations'],this[_0x5c8a72(0x14c)],this[_0x5c8a72(0x245)],this['_revisionService'],this[_0x5c8a72(0x361)]):_0x222213=_0x16dcbb(this['_pendingMutations'],this['unitID'],this[_0x5c8a72(0x245)],this['_revisionService'],this[_0x5c8a72(0x361)]);break;}default:throw new Error(_0x5c8a72(0x4c0)+this[_0x5c8a72(0x4bb)]+'\x20in\x20_schedule.');}const {changeset:_0x4aeff2,pendingMutations:_0x2c7b52}=_0x222213;this['_handler']['onSendChangeset'](_0x4aeff2);const _0x4e6269=_0x2c7b52[_0x5c8a72(0x1e3)]?this[_0x5c8a72(0x510)][_0x5c8a72(0x558)](_0x20e964,this[_0x5c8a72(0x14c)],this[_0x5c8a72(0x4bb)],_0x4aeff2,_0x2c7b52,this[_0x5c8a72(0x272)]):this[_0x5c8a72(0x510)][_0x5c8a72(0x558)](_0x42f5a6,this['unitID'],this[_0x5c8a72(0x4bb)],_0x4aeff2,this[_0x5c8a72(0x272)]);_0x4e6269[_0x5c8a72(0x270)](),this[_0x5c8a72(0x272)]['onStateChange'](this,_0x4e6269);},_0xee36e9);}[_0x2d2308(0x4e2)](){const _0x2cc36c=_0x2d2308;var _0x44238f;const _0x110709=this[_0x2cc36c(0x366)][_0x2cc36c(0x12f)](_0x29065d);return(_0x44238f=_0x110709==null?void 0x0:_0x110709['sendChangesetTimeout'])!=null?_0x44238f:0x7d0;}[_0x2d2308(0x4c6)](){const _0x34d3ab=_0x2d2308;throw new Error(_0x34d3ab(0x3c1));}[_0x2d2308(0x2e6)](){const _0x2c6ec4=_0x2d2308;this['_sendingTimer']!=null&&(clearTimeout(this[_0x2c6ec4(0x160)]),this[_0x2c6ec4(0x160)]=null);}['_onConflict'](_0x1885b8){const _0x32c795=_0x2d2308;return this['_clearScheduledTask'](),this[_0x32c795(0x510)]['createInstance'](_0x1f4004,this[_0x32c795(0x14c)],this[_0x32c795(0x4bb)],null,this[_0x32c795(0x4e7)],this[_0x32c795(0x272)],_0x1885b8);}};_0x1b95cb=_0x2ef1f0([_0x23216c(0x4,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x3b2)])),_0x23216c(0x5,_0x511a8d['Inject'](_0xa51b04[_0x2d2308(0x355)])),_0x23216c(0x6,_0x511a8d[_0x2d2308(0x4dc)](_0x5c4621['LocalCacheService'])),_0x23216c(0x7,_0x511a8d['Inject'](_0x301ed0)),_0x23216c(0x8,_0x511a8d[_0x2d2308(0x446)]),_0x23216c(0x9,_0x511a8d[_0x2d2308(0x23a)]),_0x23216c(0xa,_0x511a8d['IConfigService']),_0x23216c(0xb,_0xa51b04[_0x2d2308(0x2a2)]),_0x23216c(0xc,_0x511a8d['IUniverInstanceService']),_0x23216c(0xd,_0x511a8d[_0x2d2308(0x2ff)])],_0x1b95cb);let _0x42f5a6=class extends _0xbdd3b{constructor(_0x90970c,_0x422c26,_0x12aca9,_0x45a9a8,_0x8b98d,_0x2276fb,_0x13dcb4,_0x1e5761,_0x2e124b,_0x1a79b2,_0x1dd9fa){const _0x524fe0=_0x2d2308;super(_0x90970c,_0x422c26,_0x12aca9,[],_0x45a9a8,_0x1e5761,_0x1dd9fa,_0x2276fb,_0x13dcb4),_0x3d9158(this,_0x524fe0(0x166),_0x524fe0(0x3ca)),(this[_0x524fe0(0x510)]=_0x8b98d,this[_0x524fe0(0x54c)]=_0x2e124b,this[_0x524fe0(0x541)]=_0x1a79b2);}[_0x2d2308(0x184)](_0x465826){const _0x49c08f=_0x2d2308,_0x35996c=this[_0x49c08f(0x510)][_0x49c08f(0x558)](_0x20e964,this[_0x49c08f(0x14c)],this[_0x49c08f(0x4bb)],this[_0x49c08f(0x3d0)],[_0x465826],this['_handler']);return _0x35996c[_0x49c08f(0x270)](),_0x35996c;}[_0x2d2308(0x47b)](_0x5a54d6){const _0x4dd89c=_0x2d2308;if(this['_checkMissing'](_0x5a54d6))return this[_0x4dd89c(0x510)][_0x4dd89c(0x558)](_0x51a99b,this[_0x4dd89c(0x14c)],this[_0x4dd89c(0x4bb)],this[_0x4dd89c(0x3d0)],[],null,[_0x5a54d6],this[_0x4dd89c(0x272)]);try{const _0x37cd64=this[_0x4dd89c(0x541)]['transformChangesets']([_0x5a54d6],[this[_0x4dd89c(0x3d0)]],!0x1);if(_0xa51b04[_0x4dd89c(0x1b0)](_0x37cd64)){const {c1Prime:_0x323ff6,c2Prime:_0x151065}=_0x37cd64;this[_0x4dd89c(0x3b9)](_0x323ff6[0x0]),_0x151065[0x0][_0x4dd89c(0x1c0)]=this[_0x4dd89c(0x387)]();const _0x5a5e15=this[_0x4dd89c(0x510)][_0x4dd89c(0x558)](_0x42f5a6,this[_0x4dd89c(0x14c)],this[_0x4dd89c(0x4bb)],_0x151065[0x0],this[_0x4dd89c(0x272)]);return _0x5a5e15[_0x4dd89c(0x270)](),_0x5a5e15;}return this[_0x4dd89c(0x21a)](!0x1);}catch(_0x1f4f87){return this[_0x4dd89c(0x54c)][_0x4dd89c(0x269)](_0x1f4f87),this[_0x4dd89c(0x21a)](!0x1);}}[_0x2d2308(0x4df)](_0x3953c5){const _0x555626=_0x2d2308,_0x58ece4=this[_0x555626(0x342)][_0x555626(0x4b9)](this['unitID']);if(_0x3953c5[_0x555626(0x2e9)]<_0x58ece4-0x1)return this;if(this[_0x555626(0x327)](_0x3953c5))return this[_0x555626(0x510)][_0x555626(0x558)](_0x51a99b,this[_0x555626(0x14c)],this[_0x555626(0x4bb)],null,[],this[_0x555626(0x3d0)],[],this[_0x555626(0x272)]);this[_0x555626(0x164)]();const _0x72ace7=this[_0x555626(0x510)][_0x555626(0x558)](_0xa3a636,this['unitID'],this['type'],this[_0x555626(0x272)]);return _0x72ace7['_updateLocalCache'](),_0x72ace7;}[_0x2d2308(0x199)](_0x22f6d5){const _0x15d5ab=_0x2d2308;return this[_0x15d5ab(0x21a)](!!(_0x22f6d5!=null&&_0x22f6d5[_0x15d5ab(0x255)]));}[_0x2d2308(0x55e)](){const _0x29eb44=_0x2d2308;return this[_0x29eb44(0x510)]['createInstance'](_0x30313b,this[_0x29eb44(0x14c)],this[_0x29eb44(0x4bb)],this[_0x29eb44(0x3d0)],[],this['_handler']);}[_0x2d2308(0x2c1)](){return this;}['resend'](){const _0x390c59=_0x2d2308;this[_0x390c59(0x272)][_0x390c59(0x325)](this['_awaitingChangeset']);}[_0x2d2308(0x21a)](_0xd84bf3){const _0x346f55=_0x2d2308;return this['_injector'][_0x346f55(0x558)](_0x1f4004,this[_0x346f55(0x14c)],this['type'],this[_0x346f55(0x3d0)],[],this[_0x346f55(0x272)],_0xd84bf3);}};_0x42f5a6=_0x2ef1f0([_0x23216c(0x4,_0x511a8d['Inject'](_0x511a8d[_0x2d2308(0x3b2)])),_0x23216c(0x5,_0x511a8d[_0x2d2308(0x4dc)](_0xa51b04[_0x2d2308(0x355)])),_0x23216c(0x6,_0x511a8d[_0x2d2308(0x4dc)](_0x5c4621['LocalCacheService'])),_0x23216c(0x7,_0x511a8d[_0x2d2308(0x23a)]),_0x23216c(0x8,_0x511a8d[_0x2d2308(0x446)]),_0x23216c(0x9,_0xa51b04['ITransformService']),_0x23216c(0xa,_0x511a8d[_0x2d2308(0x2ff)])],_0x42f5a6);let _0x20e964=class extends _0xbdd3b{constructor(_0x40026b,_0x290c80,_0x1b1fa5,_0x3d4483,_0x3d948f,_0x156215,_0x23fe91,_0x10c029,_0x64ce,_0x3d2caa,_0x983fdd,_0x3b9a4b){const _0x57ca3e=_0x2d2308;super(_0x40026b,_0x290c80,_0x1b1fa5,_0x3d4483,_0x3d948f,_0x64ce,_0x3b9a4b,_0x23fe91,_0x10c029),_0x3d9158(this,'status',_0x57ca3e(0x15a)),(this[_0x57ca3e(0x510)]=_0x156215,this[_0x57ca3e(0x54c)]=_0x3d2caa,this['_transformService']=_0x983fdd);}['appendMutation'](_0x1ec5da){const _0x446565=_0x2d2308;return this['_pendingMutations'][_0x446565(0x4c4)](_0x1ec5da),this;}['onRemoteChangeset'](_0x138ea6){const _0x4ab857=_0x2d2308;if(this[_0x4ab857(0x327)](_0x138ea6))return this[_0x4ab857(0x510)][_0x4ab857(0x558)](_0x51a99b,this['unitID'],this[_0x4ab857(0x4bb)],this[_0x4ab857(0x3d0)],this['_pendingMutations'],null,[_0x138ea6],this[_0x4ab857(0x272)]);try{const _0x349673=this[_0x4ab857(0x541)]['transformChangesets']([_0x138ea6],[this[_0x4ab857(0x3d0)]],!0x1);if(_0xa51b04['isTransformChangesetsSuccess'](_0x349673)){const {c1Prime:_0x3f7e04,c2Prime:_0x1d31c8}=_0x349673,_0x719802=this[_0x4ab857(0x541)][_0x4ab857(0x242)](_0x3f7e04[0x0],this[_0x4ab857(0x4e7)]);if(_0xa51b04[_0x4ab857(0x30c)](_0x719802)){const {c1Prime:_0x57fa17,m2Prime:_0x3095fa}=_0x719802;return this['_executeRemoteChangeset'](_0x57fa17),_0x1d31c8[0x0]['baseRev']=this[_0x4ab857(0x387)](),this[_0x4ab857(0x510)][_0x4ab857(0x558)](_0x20e964,this[_0x4ab857(0x14c)],this[_0x4ab857(0x4bb)],_0x1d31c8[0x0],_0x3095fa,this[_0x4ab857(0x272)]);}throw _0x719802[_0x4ab857(0x269)];}throw _0x349673[_0x4ab857(0x269)];}catch(_0x632795){return this[_0x4ab857(0x54c)][_0x4ab857(0x269)](_0x632795),this['_onConflict'](!0x1);}}[_0x2d2308(0x4df)](_0x1803c2){const _0x55a5c5=_0x2d2308;if(this['_checkMissing'](_0x1803c2))return this['_injector'][_0x55a5c5(0x558)](_0x51a99b,this[_0x55a5c5(0x14c)],this['type'],null,this['_pendingMutations'],this[_0x55a5c5(0x3d0)],[],this[_0x55a5c5(0x272)]);this[_0x55a5c5(0x164)]();const _0x38bed1=this[_0x55a5c5(0x510)][_0x55a5c5(0x558)](_0x1b95cb,this[_0x55a5c5(0x14c)],this[_0x55a5c5(0x4bb)],this[_0x55a5c5(0x4e7)],this[_0x55a5c5(0x272)]);return _0x38bed1[_0x55a5c5(0x18a)](),_0x38bed1[_0x55a5c5(0x270)](),_0x38bed1;}[_0x2d2308(0x199)](_0x110e77){const _0x3af47f=_0x2d2308;return this['_onConflict'](!!(_0x110e77!=null&&_0x110e77[_0x3af47f(0x255)]));}['toggleOffline'](){const _0x123167=_0x2d2308;return this[_0x123167(0x510)]['createInstance'](_0x30313b,this[_0x123167(0x14c)],this[_0x123167(0x4bb)],this[_0x123167(0x3d0)],this[_0x123167(0x4e7)],this[_0x123167(0x272)]);}[_0x2d2308(0x2c1)](){return this;}[_0x2d2308(0x4c6)](){const _0x6de627=_0x2d2308;this[_0x6de627(0x272)][_0x6de627(0x325)](this[_0x6de627(0x3d0)]);}[_0x2d2308(0x21a)](_0x10dcde){const _0x5da8d8=_0x2d2308;return this[_0x5da8d8(0x510)][_0x5da8d8(0x558)](_0x1f4004,this[_0x5da8d8(0x14c)],this['type'],null,this['_pendingMutations'],this[_0x5da8d8(0x272)],_0x10dcde);}};_0x20e964=_0x2ef1f0([_0x23216c(0x5,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x3b2)])),_0x23216c(0x6,_0x511a8d[_0x2d2308(0x4dc)](_0xa51b04[_0x2d2308(0x355)])),_0x23216c(0x7,_0x511a8d[_0x2d2308(0x4dc)](_0x5c4621[_0x2d2308(0x23d)])),_0x23216c(0x8,_0x511a8d[_0x2d2308(0x23a)]),_0x23216c(0x9,_0x511a8d['ILogService']),_0x23216c(0xa,_0xa51b04[_0x2d2308(0x2a2)]),_0x23216c(0xb,_0x511a8d[_0x2d2308(0x2ff)])],_0x20e964);let _0x1f4004=class extends _0xbdd3b{constructor(_0x28b8c3,_0x48f292,_0x56fbe5,_0x348819,_0x25b785,_0x193007=!0x1,_0xf43f5,_0x4cc804,_0x2cef2c,_0x4ba27a,_0x3ffcaf,_0x3158fe,_0x31ce1){const _0x152d2e=_0x2d2308;super(_0x28b8c3,_0x48f292,_0x56fbe5,_0x348819,_0x25b785,_0x4cc804,_0x2cef2c,_0x3ffcaf,_0x4ba27a),_0x3d9158(this,_0x152d2e(0x166),_0x152d2e(0x530)),(this[_0x152d2e(0x16b)]=_0x193007,this[_0x152d2e(0x154)]=_0xf43f5,this['_localeService']=_0x3158fe,this['_notificationService']=_0x31ce1,this[_0x152d2e(0x3b1)](),this[_0x152d2e(0x47d)](),this[_0x152d2e(0x3a5)]());}[_0x2d2308(0x184)](){return this;}[_0x2d2308(0x47b)](){return this;}[_0x2d2308(0x4df)](){return this;}[_0x2d2308(0x199)](){return this;}[_0x2d2308(0x55e)](){return this;}[_0x2d2308(0x2c1)](){return this;}[_0x2d2308(0x4c6)](){const _0x391ee2=_0x2d2308;throw new Error(_0x391ee2(0x2b4));}[_0x2d2308(0x47d)](){const _0x4a5888=_0x2d2308;this[_0x4a5888(0x354)][_0x4a5888(0x1d8)](this['unitID'],this[_0x4a5888(0x4bb)],null,[]);}[_0x2d2308(0x3b1)](){const _0x4a04c2=_0x2d2308;this[_0x4a04c2(0x16b)]?this[_0x4a04c2(0x3ee)][_0x4a04c2(0x1f7)]({'title':this[_0x4a04c2(0x239)]['t'](_0x4a04c2(0x461)),'content':this[_0x4a04c2(0x239)]['t']('permission.content'),'type':'error','duration':0x0}):this['_notificationService'][_0x4a04c2(0x1f7)]({'title':this['_localeService']['t'](_0x4a04c2(0x235)),'content':this[_0x4a04c2(0x239)]['t'](_0x4a04c2(0x499)),'type':_0x4a04c2(0x269),'duration':0x0});}[_0x2d2308(0x3a5)](){const _0x574e78=_0x2d2308;this[_0x574e78(0x154)][_0x574e78(0x3b4)](new _0x11a28e[(_0x574e78(0x3c8))](this['unitID'])['id'],!0x1);}};_0x1f4004=_0x2ef1f0([_0x23216c(0x6,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x3d5)])),_0x23216c(0x7,_0x511a8d[_0x2d2308(0x23a)]),_0x23216c(0x8,_0x511a8d['IUndoRedoService']),_0x23216c(0x9,_0x511a8d[_0x2d2308(0x4dc)](_0x5c4621[_0x2d2308(0x23d)])),_0x23216c(0xa,_0x511a8d['Inject'](_0xa51b04[_0x2d2308(0x355)])),_0x23216c(0xb,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x390)])),_0x23216c(0xc,_0x2fad45['INotificationService'])],_0x1f4004);let _0x30313b=class extends _0xbdd3b{constructor(_0x41aaf5,_0x20242e,_0x5f102b,_0x36d948,_0x3766ea,_0x5800d5,_0x3bd5bc,_0x1727f5,_0x165d5f,_0x27fb5f){const _0x152619=_0x2d2308;super(_0x41aaf5,_0x20242e,_0x5f102b,_0x36d948,_0x3766ea,_0x165d5f,_0x27fb5f,_0x3bd5bc,_0x1727f5),_0x3d9158(this,'status',_0x152619(0x1c9)),this[_0x152619(0x510)]=_0x5800d5;}[_0x2d2308(0x184)](_0x9d622f){const _0x3df199=_0x2d2308;return this[_0x3df199(0x4e7)][_0x3df199(0x4c4)](_0x9d622f),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x573637){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x2d2308(0x4df)](){const _0x5d476f=_0x2d2308;throw new Error(_0x5d476f(0x227));}['onRemoteRej'](){const _0x532f29=_0x2d2308;throw new Error(_0x532f29(0x3b3));}['toggleOffline'](){return this;}[_0x2d2308(0x2c1)](){const _0x3ed931=_0x2d2308,{_injector:_0x2de1db,_pendingMutations:_0x2b5144,_awaitingChangeset:_0x5987dd,unitID:_0x269235,_handler:_0xbcd3ea,type:_0x4d5046}=this,_0x205ec8=_0x200933(_0x2de1db,_0x269235,_0x4d5046,_0x5987dd,_0x2b5144,_0xbcd3ea);return _0x205ec8 instanceof _0x1b95cb?_0x205ec8['_schedule']():(_0x205ec8 instanceof _0x20e964||_0x205ec8 instanceof _0x42f5a6)&&_0x205ec8[_0x3ed931(0x4c6)](),_0x205ec8;}['resend'](){const _0x34e616=_0x2d2308;throw new Error(_0x34e616(0x1f0));}};_0x30313b=_0x2ef1f0([_0x23216c(0x5,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x3b2)])),_0x23216c(0x6,_0x511a8d[_0x2d2308(0x4dc)](_0xa51b04['RevisionService'])),_0x23216c(0x7,_0x511a8d[_0x2d2308(0x4dc)](_0x5c4621[_0x2d2308(0x23d)])),_0x23216c(0x8,_0x511a8d[_0x2d2308(0x23a)]),_0x23216c(0x9,_0x511a8d[_0x2d2308(0x2ff)])],_0x30313b);let _0x51a99b=class extends _0xbdd3b{constructor(_0x19af3e,_0x4141f4,_0x541752,_0x37e0f0,_0x432b99,_0x40791c,_0x5cd48e,_0x475909,_0xedd1a0,_0x2ac6b0,_0x4d11a7,_0x31ef36,_0x3193f4,_0x277f2c){const _0x9f76cc=_0x2d2308;super(_0x19af3e,_0x4141f4,_0x541752,_0x37e0f0,_0x5cd48e,_0x31ef36,_0x3193f4,_0xedd1a0,_0x2ac6b0),_0x3d9158(this,_0x9f76cc(0x166),_0x9f76cc(0x4a4)),(this[_0x9f76cc(0x26e)]=_0x432b99,this[_0x9f76cc(0x411)]=_0x40791c,this[_0x9f76cc(0x510)]=_0x475909,this['_logService']=_0x4d11a7,this[_0x9f76cc(0x541)]=_0x277f2c);}[_0x2d2308(0x347)](_0x446d9c){const _0x4ecd1d=_0x2d2308;try{const _0x2f53c1=[..._0x446d9c,...this[_0x4ecd1d(0x411)]],_0x1e7ed5=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x4ecd1d(0x44e)](_0x3b0b62=>!!_0x3b0b62);let _0x1be6da,_0x3a6e9e;if(_0x1e7ed5[_0x4ecd1d(0x1e3)]){const _0x5deed6=this[_0x4ecd1d(0x541)][_0x4ecd1d(0x186)](_0x2f53c1,_0x1e7ed5,!0x1);if(!_0xa51b04['isTransformChangesetsSuccess'](_0x5deed6))throw _0x5deed6[_0x4ecd1d(0x269)];_0x1be6da=_0x5deed6[_0x4ecd1d(0x1ff)],_0x3a6e9e=_0x5deed6[_0x4ecd1d(0x487)];}else _0x1be6da=_0x2f53c1,_0x3a6e9e=[];let _0x115660=this[_0x4ecd1d(0x4e7)];_0x1be6da[_0x4ecd1d(0x20c)](_0x44f4b5=>{const _0x988e00=_0x4ecd1d;let _0x5615e;if(_0x115660[_0x988e00(0x1e3)]){const _0x104f24=this[_0x988e00(0x541)][_0x988e00(0x242)](_0x44f4b5,_0x115660);if(!_0xa51b04['isTransformMutationsWithChangesetSuccess'](_0x104f24))throw _0x104f24[_0x988e00(0x269)];_0x5615e=_0x104f24[_0x988e00(0x1ff)],_0x115660=_0x104f24['m2Prime'];}else _0x5615e=_0x44f4b5;this[_0x988e00(0x3b9)](_0x5615e);}),this[_0x4ecd1d(0x26e)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x3a6e9e[_0x4ecd1d(0x1e3)]&&(_0x3a6e9e[0x0][_0x4ecd1d(0x1c0)]=this[_0x4ecd1d(0x387)]());let _0x204bcd;if(this['_awaitingChangeset']&&_0x115660[_0x4ecd1d(0x1e3)]!==0x0)_0x204bcd=this[_0x4ecd1d(0x510)][_0x4ecd1d(0x558)](_0x20e964,this[_0x4ecd1d(0x14c)],this[_0x4ecd1d(0x4bb)],_0x3a6e9e[0x0],_0x115660,this['_handler']);else{if(this[_0x4ecd1d(0x3d0)]&&_0x115660[_0x4ecd1d(0x1e3)]===0x0)_0x3a6e9e[0x0][_0x4ecd1d(0x1c0)]=this[_0x4ecd1d(0x387)](),_0x204bcd=this[_0x4ecd1d(0x510)][_0x4ecd1d(0x558)](_0x42f5a6,this[_0x4ecd1d(0x14c)],this['type'],_0x3a6e9e[0x0],this[_0x4ecd1d(0x272)]);else{if(_0x115660[_0x4ecd1d(0x1e3)]!==0x0){const _0x3f13fd=this['_injector'][_0x4ecd1d(0x558)](_0x1b95cb,this[_0x4ecd1d(0x14c)],this[_0x4ecd1d(0x4bb)],_0x115660,this[_0x4ecd1d(0x272)]);_0x3f13fd[_0x4ecd1d(0x18a)](),_0x204bcd=_0x3f13fd;}else _0x204bcd=this[_0x4ecd1d(0x510)]['createInstance'](_0xa3a636,this[_0x4ecd1d(0x14c)],this[_0x4ecd1d(0x4bb)],this['_handler']);}}return _0x204bcd[_0x4ecd1d(0x270)](),_0x204bcd;}catch(_0x247549){return this['_logService']['error']('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x247549),this[_0x4ecd1d(0x510)][_0x4ecd1d(0x558)](_0x1f4004,this[_0x4ecd1d(0x14c)],this[_0x4ecd1d(0x4bb)],this[_0x4ecd1d(0x3d0)],this[_0x4ecd1d(0x4e7)],this['_handler'],!0x1);}}[_0x2d2308(0x4c6)](){const _0xee5853=_0x2d2308;throw new Error(_0xee5853(0x1a2));}[_0x2d2308(0x184)](_0x34ad77){const _0x53fc30=_0x2d2308;return this[_0x53fc30(0x4e7)][_0x53fc30(0x4c4)](_0x34ad77),this;}[_0x2d2308(0x47b)](_0x1e78e0){const _0x21dffb=_0x2d2308;return this[_0x21dffb(0x411)][_0x21dffb(0x4c4)](_0x1e78e0),this;}['onRemoteAck'](_0x2111c7){const _0xbd4c08=_0x2d2308;if(this[_0xbd4c08(0x3d0)])return this['_acknowledgedAwaitingChangeset']=this[_0xbd4c08(0x3d0)],this[_0xbd4c08(0x3d0)]=null,this;throw new Error(_0xbd4c08(0x249));}['onRemoteRej'](_0x10ae77){const _0x5e6b32=_0x2d2308;return this['_onConflict'](!!(_0x10ae77!=null&&_0x10ae77[_0x5e6b32(0x255)]));}[_0x2d2308(0x55e)](){const _0x3acd1a=_0x2d2308;return this['_injector'][_0x3acd1a(0x558)](_0x30313b,this['unitID'],this[_0x3acd1a(0x4bb)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x3acd1a(0x272)]);}[_0x2d2308(0x2c1)](){return this;}[_0x2d2308(0x21a)](_0x416bad){const _0x116860=_0x2d2308;return this[_0x116860(0x510)][_0x116860(0x558)](_0x1f4004,this[_0x116860(0x14c)],this[_0x116860(0x4bb)],this[_0x116860(0x3d0)],this[_0x116860(0x4e7)],this['_handler'],_0x416bad);}};_0x51a99b=_0x2ef1f0([_0x23216c(0x7,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x3b2)])),_0x23216c(0x8,_0x511a8d['Inject'](_0xa51b04[_0x2d2308(0x355)])),_0x23216c(0x9,_0x511a8d['Inject'](_0x5c4621[_0x2d2308(0x23d)])),_0x23216c(0xa,_0x511a8d[_0x2d2308(0x446)]),_0x23216c(0xb,_0x511a8d[_0x2d2308(0x23a)]),_0x23216c(0xc,_0x511a8d['IUndoRedoService']),_0x23216c(0xd,_0xa51b04[_0x2d2308(0x2a2)])],_0x51a99b);function _0x200933(_0x2afdb8,_0x3c6b7a,_0x48b87b,_0x3b10c9,_0x2ebe59,_0x5346f5){const _0x4e2e91=_0x2d2308;return _0x3b10c9&&_0x2ebe59[_0x4e2e91(0x1e3)]?_0x2afdb8[_0x4e2e91(0x558)](_0x20e964,_0x3c6b7a,_0x48b87b,_0x3b10c9,_0x2ebe59,_0x5346f5):_0x3b10c9?_0x2afdb8[_0x4e2e91(0x558)](_0x42f5a6,_0x3c6b7a,_0x48b87b,_0x3b10c9,_0x5346f5):_0x2ebe59['length']?_0x2afdb8[_0x4e2e91(0x558)](_0x1b95cb,_0x3c6b7a,_0x48b87b,_0x2ebe59,_0x5346f5):_0x2afdb8[_0x4e2e91(0x558)](_0xa3a636,_0x3c6b7a,_0x48b87b,_0x5346f5);}var _0x5634c5=Object[_0x2d2308(0x210)],_0x279db5=Object['getOwnPropertyDescriptor'],_0x312e71=(_0x53a401,_0x31c024,_0x4f2978,_0x4a2694)=>{const _0x30f3c1=_0x2d2308;for(var _0x24f30f=_0x4a2694>0x1?void 0x0:_0x4a2694?_0x279db5(_0x31c024,_0x4f2978):_0x31c024,_0x3dbe81=_0x53a401[_0x30f3c1(0x1e3)]-0x1,_0xa4ae8d;_0x3dbe81>=0x0;_0x3dbe81--)(_0xa4ae8d=_0x53a401[_0x3dbe81])&&(_0x24f30f=(_0x4a2694?_0xa4ae8d(_0x31c024,_0x4f2978,_0x24f30f):_0xa4ae8d(_0x24f30f))||_0x24f30f);return _0x4a2694&&_0x24f30f&&_0x5634c5(_0x31c024,_0x4f2978,_0x24f30f),_0x24f30f;},_0xadaafa=(_0x3f9b6d,_0x14191f)=>(_0x1b4d14,_0x100bf1)=>_0x14191f(_0x1b4d14,_0x100bf1,_0x3f9b6d);_0x5c4621['CollaborationEntity']=class extends _0x511a8d['RxDisposable']{constructor(_0x5f32c8,_0x2dbeee,_0x41dfec,_0x30aa1f,_0x58f530,_0x42c7a4,_0x205d55,_0x4400f9,_0x5c4233,_0x3547fb,_0x283b6d,_0x4fd0ed,_0x41a636){const _0x3a73f8=_0x2d2308;super(),_0x3d9158(this,_0x3a73f8(0x35e),new _0x1fcaf6['BehaviorSubject'](null)),_0x3d9158(this,_0x3a73f8(0x16e),this[_0x3a73f8(0x35e)][_0x3a73f8(0x1d7)]()),_0x3d9158(this,_0x3a73f8(0x523)),_0x3d9158(this,_0x3a73f8(0x25c),!0x1),_0x3d9158(this,'status$',this[_0x3a73f8(0x16e)][_0x3a73f8(0x47e)](_0x1fcaf6['map'](_0x589e7a=>_0x589e7a?_0x589e7a[_0x3a73f8(0x166)]:_0x437a54[_0x3a73f8(0x264)]),_0x1fcaf6[_0x3a73f8(0x17a)](0x1))),_0x3d9158(this,_0x3a73f8(0x3de),!0x1),_0x3d9158(this,_0x3a73f8(0x1eb),[]),(this['unitID']=_0x5f32c8,this[_0x3a73f8(0x544)]=_0x2dbeee,this[_0x3a73f8(0x1e4)]=_0x41dfec,this[_0x3a73f8(0x510)]=_0x30aa1f,this[_0x3a73f8(0x354)]=_0x58f530,this[_0x3a73f8(0x244)]=_0x42c7a4,this[_0x3a73f8(0x239)]=_0x205d55,this[_0x3a73f8(0x342)]=_0x4400f9,this[_0x3a73f8(0x54c)]=_0x5c4233,this[_0x3a73f8(0x4c3)]=_0x3547fb,this[_0x3a73f8(0x217)]=_0x283b6d,this[_0x3a73f8(0x154)]=_0x4fd0ed,this['_singleActiveUnitService']=_0x41a636);}get[_0x2d2308(0x41a)](){const _0x30a120=_0x2d2308;return this[_0x30a120(0x523)];}async['init'](){const _0x122234=_0x2d2308;if(this['state'])throw new Error(_0x122234(0x27e));await this[_0x122234(0x3e6)]();}['pauseCollaboration'](){return this['_collaborationPaused']=!0x0,_0x511a8d['toDisposable'](()=>{const _0x852e54=_0x3ba2;this['_collaborationPaused']=!0x1,this[_0x852e54(0x2b2)]();});}[_0x2d2308(0x434)](_0x2f8d6b){const _0x1f79d9=_0x2d2308;this[_0x1f79d9(0x523)]=_0x2f8d6b,this[_0x1f79d9(0x35e)][_0x1f79d9(0x535)](_0x2f8d6b);}async[_0x2d2308(0x3e6)](){const _0x5eb02d=_0x2d2308;var _0x49e5a5;this[_0x5eb02d(0x434)](await this[_0x5eb02d(0x3cf)]()),this[_0x5eb02d(0x418)]&&((_0x49e5a5=this[_0x5eb02d(0x418)])==null||_0x49e5a5[_0x5eb02d(0x334)](this[_0x5eb02d(0x14c)]),this['disposeWithMe'](this['_singleActiveUnitService']['getUnitStatus$'](this['unitID'])[_0x5eb02d(0x2a1)](_0x25eeb7=>{const _0x27aab7=_0x5eb02d;this[_0x27aab7(0x54c)][_0x27aab7(0x3f5)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x25eeb7),_0x25eeb7===_0x2423c4[_0x27aab7(0x329)]?(this[_0x27aab7(0x217)][_0x27aab7(0x1f7)]({'content':this[_0x27aab7(0x239)]['t'](_0x27aab7(0x394)),'type':_0x278c7c['MessageType'][_0x27aab7(0x30e)]}),this[_0x27aab7(0x154)][_0x27aab7(0x3b4)](new _0x11a28e['WorkbookEditablePermission'](this[_0x27aab7(0x14c)])['id'],!0x1)):this[_0x27aab7(0x154)]['updatePermissionPoint'](new _0x11a28e[(_0x27aab7(0x3c8))](this[_0x27aab7(0x14c)])['id'],!0x0);})));let _0x481563=!0x1;return this[_0x5eb02d(0x2c8)](this[_0x5eb02d(0x544)][_0x5eb02d(0x1b7)][_0x5eb02d(0x2a1)](_0x30597e=>{const _0x399beb=_0x5eb02d;_0x30597e===_0x3c28c2[_0x399beb(0x3b6)]?this[_0x399beb(0x237)](_0x481563):_0x30597e===_0x3c28c2[_0x399beb(0x264)]&&(_0x481563=!0x0,this[_0x399beb(0x4e0)]());})),this[_0x5eb02d(0x2c8)](this['session']['event$']['subscribe'](_0x28ab1c=>{const _0x2b44ee=_0x5eb02d;try{switch(_0x28ab1c[_0x2b44ee(0x175)]){case _0xa51b04[_0x2b44ee(0x3fa)]['NEW_CHANGESETS']:{this[_0x2b44ee(0x2e0)](_0xa51b04[_0x2b44ee(0x29c)](_0x28ab1c['data']));break;}case _0xa51b04[_0x2b44ee(0x3fa)][_0x2b44ee(0x24e)]:{this[_0x2b44ee(0x2be)](_0x28ab1c[_0x2b44ee(0x142)]);break;}case _0xa51b04['CollaborationEvent']['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0xa51b04[_0x2b44ee(0x3fa)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x2b44ee(0x25d)](_0x28ab1c[_0x2b44ee(0x142)][_0x2b44ee(0x1bc)][_0x2b44ee(0x4fc)](_0x4a8259=>_0xa51b04['parseProtocolChangeset'](_0x4a8259)));break;}case _0xa51b04['CollaborationEvent'][_0x2b44ee(0x157)]:this[_0x2b44ee(0x476)]({'isPermissionRej':!0x0});}}catch(_0x193739){throw console[_0x2b44ee(0x269)]('Error\x20on\x20receiving\x20event',_0x193739),_0x193739;}})),this['_state'];}[_0x2d2308(0x1df)](){const _0x7bbd04=_0x2d2308;this[_0x7bbd04(0x3de)]=!0x1;}['_lockTransition'](){const _0x4f1c57=_0x2d2308;if(this['_transitionLocked'])throw new Error(_0x4f1c57(0x25b));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x451cc8){const _0x5b5ac8=_0x2d2308;this[_0x5b5ac8(0x462)](),this[_0x5b5ac8(0x434)](this[_0x5b5ac8(0x523)]['appendMutation'](_0x451cc8)),this[_0x5b5ac8(0x1df)]();}[_0x2d2308(0x2e0)](_0x47f479){const _0x25cc47=_0x2d2308;if(!(_0x47f479['revision']<=this['_revisionService']['getCurrentRevOfUnit'](this[_0x25cc47(0x14c)]))){if(this[_0x25cc47(0x25c)]){this[_0x25cc47(0x1eb)]['push'](_0x47f479);return;}this['_applyRemoteChangeset'](_0x47f479);}}[_0x2d2308(0x2b2)](){const _0xfe2d93=_0x2d2308;this[_0xfe2d93(0x1eb)][_0xfe2d93(0x20c)](_0x18b74a=>this[_0xfe2d93(0x267)](_0x18b74a)),this['_remoteChangesetQueue']=[];}[_0x2d2308(0x267)](_0xbb4538){const _0x36743b=_0x2d2308,_0x198414=this[_0x36743b(0x244)]['interceptor'][_0x36743b(0x357)](this[_0x36743b(0x244)]['interceptor'][_0x36743b(0x2c5)]()[_0x36743b(0x1ee)])(_0xbb4538[_0x36743b(0x1ae)],null)||_0xbb4538[_0x36743b(0x1ae)],_0x1cbf9e={..._0xbb4538,'mutations':_0x198414};this[_0x36743b(0x462)](),this[_0x36743b(0x434)](this[_0x36743b(0x523)][_0x36743b(0x47b)](_0x1cbf9e)),this['_unlockTransition']();}[_0x2d2308(0x2be)](_0x1534c5){const _0x8c0e02=_0x2d2308;this['_lockTransition'](),this[_0x8c0e02(0x434)](this[_0x8c0e02(0x523)]['onRemoteAck'](_0x1534c5)),this['_unlockTransition']();}[_0x2d2308(0x476)](_0x2b4131){const _0x3e10a5=_0x2d2308;this[_0x3e10a5(0x462)](),this[_0x3e10a5(0x434)](this['_state']['onRemoteRej'](_0x2b4131)),this[_0x3e10a5(0x1df)]();}['_onFetchMissResult'](_0x172356){const _0x10c1fb=_0x2d2308;if(!(this[_0x10c1fb(0x523)]instanceof _0x51a99b))throw new TypeError(_0x10c1fb(0x14b));const _0x340c5a=_0x172356['map'](_0x5567d2=>{const _0x3653f5=_0x10c1fb,_0x52e464=this[_0x3653f5(0x244)][_0x3653f5(0x385)][_0x3653f5(0x357)](this[_0x3653f5(0x244)]['interceptor']['getInterceptPoints']()[_0x3653f5(0x1ee)])(_0x5567d2['mutations'],null)||_0x5567d2['mutations'];return{..._0x5567d2,'mutations':_0x52e464};});this[_0x10c1fb(0x462)](),this[_0x10c1fb(0x434)](this['_state'][_0x10c1fb(0x347)](_0x340c5a)),this[_0x10c1fb(0x1df)]();}['_toggleOffline'](){const _0x215b1f=_0x2d2308;this['_lockTransition'](),this[_0x215b1f(0x434)](this[_0x215b1f(0x523)][_0x215b1f(0x55e)]()),this[_0x215b1f(0x1df)]();}[_0x2d2308(0x237)](_0x4b592e=!0x1){const _0x21fcda=_0x2d2308;this[_0x21fcda(0x462)](),this['_updateState'](this[_0x21fcda(0x523)][_0x21fcda(0x2c1)]()),this[_0x21fcda(0x1df)]();const _0x10bbd0=this[_0x21fcda(0x523)];_0x4b592e&&_0x10bbd0 instanceof _0xa3a636&&(this[_0x21fcda(0x462)](),this[_0x21fcda(0x434)](_0x10bbd0[_0x21fcda(0x2b6)]()),this[_0x21fcda(0x1df)]());}async[_0x2d2308(0x3cf)](){return new Promise(_0xa42037=>{const _0x127046=_0x3ba2;this[_0x127046(0x544)][_0x127046(0x1b7)][_0x127046(0x47e)](_0x1fcaf6['take'](0x1))[_0x127046(0x2a1)](async _0x3fd7ed=>{const _0x23c0f3=_0x127046;_0xa42037(await this['_createInitialStateImpl'](_0x3fd7ed===_0x3c28c2[_0x23c0f3(0x3b6)]));});});}['_createHandler'](){const _0x34027c=_0x2d2308,_0x545734=this[_0x34027c(0x14c)];return{'onStateChange':(_0x33a2ec,_0xb9ae29)=>{const _0x5a7698=_0x34027c;if(_0x33a2ec!==this[_0x5a7698(0x523)])throw new Error(_0x5a7698(0x43d)+_0x33a2ec[_0x5a7698(0x166)]+'\x0aAfter:\x20'+_0xb9ae29[_0x5a7698(0x166)]+'\x0aCurrent:\x20'+this[_0x5a7698(0x523)][_0x5a7698(0x166)]);this['_updateState'](_0xb9ae29);},'onSendChangeset':_0x5e68d4=>{const _0x2d58dd=_0x34027c,_0x29ca00={'eventID':_0xa51b04['CollaborationEvent'][_0x2d58dd(0x287)],'data':{'unitID':_0x5e68d4[_0x2d58dd(0x14c)],'unitType':this['_type'],'changeset':_0x5e68d4,'memberID':this[_0x2d58dd(0x544)][_0x2d58dd(0x41d)]()}};this['session'][_0x2d58dd(0x363)](_0x29ca00,this[_0x2d58dd(0x14c)]);},'onMissingChangesets':({from:_0x20715d,to:_0x148d35})=>{const _0x3bff48=_0x34027c;this[_0x3bff48(0x54c)][_0x3bff48(0x3f5)](_0x3bff48(0x3f2),_0x3bff48(0x298)+_0x20715d+_0x3bff48(0x351)+_0x148d35);const _0x2e864c={'eventID':_0xa51b04[_0x3bff48(0x3fa)][_0x3bff48(0x23e)],'data':{'unitID':_0x545734,'unitType':this[_0x3bff48(0x1e4)],'from':_0x20715d,'to':_0x148d35}};this[_0x3bff48(0x544)]['send'](_0x2e864c,this[_0x3bff48(0x14c)]);}};}async[_0x2d2308(0x127)](_0x118513){const _0x16c075=_0x2d2308;var _0x5c06dc,_0x1ed8ed;const _0xb61e9f=await this[_0x16c075(0x354)]['loadOfflineData'](this[_0x16c075(0x14c)]),_0x34099a=(_0x5c06dc=_0xb61e9f==null?void 0x0:_0xb61e9f[_0x16c075(0x1ae)])!=null?_0x5c06dc:[],_0x540de4=(_0x1ed8ed=_0xb61e9f==null?void 0x0:_0xb61e9f['awaitingChangeset'])!=null?_0x1ed8ed:null,_0x3755a3=this[_0x16c075(0x14c)];try{this[_0x16c075(0x3ab)](_0x540de4,_0x34099a);}catch(_0x3ccc4b){this['_logService'][_0x16c075(0x269)](_0x3ccc4b);}const _0x5ee1ef=this[_0x16c075(0x3cd)]();if(_0x118513){const _0x32ce2e=_0x200933(this[_0x16c075(0x510)],_0x3755a3,this[_0x16c075(0x1e4)],_0x540de4,_0x34099a,_0x5ee1ef);return _0x32ce2e instanceof _0x1b95cb?_0x32ce2e['_schedule']():(_0x32ce2e instanceof _0x20e964||_0x32ce2e instanceof _0x42f5a6)&&_0x32ce2e[_0x16c075(0x4c6)](),_0x32ce2e;}return this[_0x16c075(0x510)][_0x16c075(0x558)](_0x30313b,_0x3755a3,this[_0x16c075(0x1e4)],_0x540de4,_0x34099a,_0x5ee1ef);}[_0x2d2308(0x3ab)](_0xca6103,_0x234df7){const _0x384333=_0x2d2308;var _0x46c1f1,_0x18da62;const _0x5bad42=this['_compressMutationService'][_0x384333(0x385)][_0x384333(0x357)](this['_compressMutationService']['interceptor'][_0x384333(0x2c5)]()[_0x384333(0x1ee)]);(_0x46c1f1=_0x5bad42((_0xca6103==null?void 0x0:_0xca6103['mutations'])||[],null))==null||_0x46c1f1[_0x384333(0x20c)](_0x2d50e0=>this[_0x384333(0x4c3)]['executeCommand'](_0x2d50e0['id'],_0x2d50e0['params'])),(_0x18da62=_0x5bad42(_0x234df7||[],null))==null||_0x18da62[_0x384333(0x20c)](_0x4681f5=>this[_0x384333(0x4c3)][_0x384333(0x26a)](_0x4681f5['id'],_0x4681f5[_0x384333(0x2b8)]));}},_0x5c4621['CollaborationEntity']=_0x312e71([_0xadaafa(0x3,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x3b2)])),_0xadaafa(0x4,_0x511a8d['Inject'](_0x5c4621[_0x2d2308(0x23d)])),_0xadaafa(0x5,_0x511a8d['Inject'](_0xa51b04['CompressMutationService'])),_0xadaafa(0x6,_0x511a8d['Inject'](_0x511a8d['LocaleService'])),_0xadaafa(0x7,_0x511a8d[_0x2d2308(0x4dc)](_0xa51b04[_0x2d2308(0x355)])),_0xadaafa(0x8,_0x511a8d[_0x2d2308(0x446)]),_0xadaafa(0x9,_0x511a8d[_0x2d2308(0x23a)]),_0xadaafa(0xa,_0x2fad45[_0x2d2308(0x29a)]),_0xadaafa(0xb,_0x511a8d[_0x2d2308(0x3d5)]),_0xadaafa(0xc,_0x511a8d['Optional'](_0x484b6f))],_0x5c4621[_0x2d2308(0x30f)]),_0x5c4621[_0x2d2308(0x4f1)]=class extends _0x5c4621['CollaborationEntity']{constructor(_0x643f35,_0x12fc3a,_0x6195bc,_0xc06683,_0x53d7bf,_0x41c51b,_0x1d4f4b,_0x211fbb,_0x30c542,_0x8a6459,_0x578a11,_0x28afae,_0x595066,_0x5b62d6,_0x35cf29,_0xe8aa61,_0x130e1d){const _0x1e6134=_0x2d2308;super(_0x643f35,_0x6195bc,_0x12fc3a,_0xc06683,_0x53d7bf,_0x41c51b,_0x1d4f4b,_0x211fbb,_0x595066,_0x5b62d6,_0x35cf29,_0xe8aa61,_0x130e1d),this[_0x1e6134(0x14c)]=_0x643f35,this[_0x1e6134(0x4bb)]=_0x12fc3a,this[_0x1e6134(0x284)]=_0x30c542,this[_0x1e6134(0x4ea)]=_0x8a6459,this['_docTransformSelectionsService']=_0x578a11,this['_docSyncEditingCollabCursorService']=_0x28afae;}['_createHandler'](){const _0x1e38be=_0x2d2308,_0x184618=super[_0x1e38be(0x3cd)]();return _0x184618[_0x1e38be(0x228)]=_0x361081=>this[_0x1e38be(0x4ea)][_0x1e38be(0x4a2)](_0x361081),_0x184618[_0x1e38be(0x346)]=_0x253e2c=>this[_0x1e38be(0x246)]['transformSelections'](_0x253e2c),_0x184618['onSyncEditingCollabCursor']=_0x475dfa=>this[_0x1e38be(0x31f)][_0x1e38be(0x4de)](_0x475dfa),_0x184618[_0x1e38be(0x4f0)]=_0x462148=>this[_0x1e38be(0x4ea)][_0x1e38be(0x19c)](_0x462148),_0x184618;}async['_init'](){const _0x5dae27=_0x2d2308,_0x19820d=await super['_init']();return this['disposeWithMe'](this[_0x5dae27(0x4c3)][_0x5dae27(0x2c4)]((_0x2d0aa1,_0x41e9ec)=>{const _0xd78f48=_0x5dae27;if(_0x2d0aa1['type']!==_0x511a8d['CommandType'][_0xd78f48(0x4d3)]||_0x41e9ec!=null&&_0x41e9ec['fromCollab']||_0x41e9ec!=null&&_0x41e9ec[_0xd78f48(0x34d)])return;const _0x563359=_0x2d0aa1[_0xd78f48(0x2b8)];if((_0x563359==null?void 0x0:_0x563359[_0xd78f48(0x4bf)])!==this[_0xd78f48(0x14c)])return;let _0x2892b1=_0x2d0aa1;if(_0x2892b1['id']===_0x106b3c[_0xd78f48(0x474)]['id']){const _0x2696e0=_0x2892b1['params'];_0x2892b1={'id':_0x106b3c['RichTextEditingMutation']['id'],'type':_0x511a8d[_0xd78f48(0x350)][_0xd78f48(0x4d3)],'params':{'unitId':_0x2696e0[_0xd78f48(0x4bf)],'actions':_0x2696e0[_0xd78f48(0x479)],'textRanges':null}};}const _0x5ab08d=this[_0xd78f48(0x244)]['interceptor'][_0xd78f48(0x357)](this['_compressMutationService'][_0xd78f48(0x385)][_0xd78f48(0x2c5)]()[_0xd78f48(0x17b)])([_0x2892b1],null)||[_0x2892b1];this[_0xd78f48(0x482)](_0x5ab08d[0x0]);})),_0x19820d;}},_0x5c4621[_0x2d2308(0x4f1)]=_0x312e71([_0xadaafa(0x3,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x3b2)])),_0xadaafa(0x4,_0x511a8d[_0x2d2308(0x4dc)](_0x5c4621[_0x2d2308(0x23d)])),_0xadaafa(0x5,_0x511a8d['Inject'](_0xa51b04[_0x2d2308(0x3a4)])),_0xadaafa(0x6,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x390)])),_0xadaafa(0x7,_0x511a8d[_0x2d2308(0x4dc)](_0xa51b04[_0x2d2308(0x355)])),_0xadaafa(0x8,_0x511a8d[_0x2d2308(0x4dc)](_0x457ad5[_0x2d2308(0x2cd)])),_0xadaafa(0x9,_0x511a8d['Inject'](_0x4b8bdd)),_0xadaafa(0xa,_0x511a8d[_0x2d2308(0x4dc)](_0x319bd7)),_0xadaafa(0xb,_0x511a8d['Inject'](_0x57cbd1)),_0xadaafa(0xc,_0x511a8d[_0x2d2308(0x446)]),_0xadaafa(0xd,_0x511a8d[_0x2d2308(0x23a)]),_0xadaafa(0xe,_0x2fad45[_0x2d2308(0x29a)]),_0xadaafa(0xf,_0x511a8d[_0x2d2308(0x3d5)]),_0xadaafa(0x10,_0x511a8d['Optional'](_0x484b6f))],_0x5c4621[_0x2d2308(0x4f1)]),_0x5c4621['SheetCollaborationEntity']=class extends _0x5c4621[_0x2d2308(0x30f)]{constructor(_0x364be5,_0x49a84c,_0x495c69,_0x2e47b6,_0x488031,_0xaccef5,_0x179dc9,_0x526af1,_0x1e8216,_0x579e69,_0x41c1a0,_0x89b711,_0x23c077,_0x1a9fe0){const _0x5f59fd=_0x2d2308;super(_0x364be5,_0x495c69,_0x49a84c,_0x2e47b6,_0x488031,_0xaccef5,_0x179dc9,_0x526af1,_0x579e69,_0x41c1a0,_0x89b711,_0x23c077,_0x1a9fe0),this[_0x5f59fd(0x14c)]=_0x364be5,this[_0x5f59fd(0x4bb)]=_0x49a84c,this['_sheetTransformSelectionsService']=_0x1e8216;}['_createHandler'](){const _0xdf490a=_0x2d2308,_0x2c38bf=super[_0xdf490a(0x3cd)]();return _0x2c38bf[_0xdf490a(0x346)]=_0x42ba5c=>this[_0xdf490a(0x3b5)][_0xdf490a(0x49c)](_0x42ba5c),_0x2c38bf;}async[_0x2d2308(0x3e6)](){const _0x1e5f31=_0x2d2308,_0x54535c=await super[_0x1e5f31(0x3e6)]();return this[_0x1e5f31(0x2c8)](this[_0x1e5f31(0x4c3)][_0x1e5f31(0x2c4)]((_0x472bdd,_0x2b7552)=>{const _0x375bbe=_0x1e5f31;if(_0x472bdd[_0x375bbe(0x4bb)]!==_0x511a8d[_0x375bbe(0x350)][_0x375bbe(0x4d3)]||_0x2b7552!=null&&_0x2b7552[_0x375bbe(0x2b7)]||_0x2b7552!=null&&_0x2b7552[_0x375bbe(0x34d)])return;const _0x4f4975=_0x472bdd[_0x375bbe(0x2b8)];if((_0x4f4975==null?void 0x0:_0x4f4975[_0x375bbe(0x4bf)])!==this['unitID'])return;const _0x12ae38=_0x472bdd,_0x4b4c6d=this[_0x375bbe(0x244)][_0x375bbe(0x385)][_0x375bbe(0x357)](this['_compressMutationService'][_0x375bbe(0x385)][_0x375bbe(0x2c5)]()['COMPRESS_MUTATION_SEND'])([_0x12ae38],null)||[_0x12ae38];this['_onLocalMutation'](_0x4b4c6d[0x0]);})),_0x54535c;}},_0x5c4621[_0x2d2308(0x54b)]=_0x312e71([_0xadaafa(0x3,_0x511a8d['Inject'](_0x511a8d[_0x2d2308(0x3b2)])),_0xadaafa(0x4,_0x511a8d[_0x2d2308(0x4dc)](_0x5c4621[_0x2d2308(0x23d)])),_0xadaafa(0x5,_0x511a8d[_0x2d2308(0x4dc)](_0xa51b04[_0x2d2308(0x3a4)])),_0xadaafa(0x6,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x390)])),_0xadaafa(0x7,_0x511a8d[_0x2d2308(0x4dc)](_0xa51b04[_0x2d2308(0x355)])),_0xadaafa(0x8,_0x511a8d[_0x2d2308(0x4dc)](_0x319bda)),_0xadaafa(0x9,_0x511a8d[_0x2d2308(0x446)]),_0xadaafa(0xa,_0x511a8d[_0x2d2308(0x23a)]),_0xadaafa(0xb,_0x2fad45[_0x2d2308(0x29a)]),_0xadaafa(0xc,_0x511a8d[_0x2d2308(0x3d5)]),_0xadaafa(0xd,_0x511a8d[_0x2d2308(0x2bb)](_0x484b6f))],_0x5c4621[_0x2d2308(0x54b)]);var _0x3ca1a5=Object[_0x2d2308(0x210)],_0x481bd9=Object['getOwnPropertyDescriptor'],_0x205972=(_0x512430,_0x40b83e,_0x1a782e,_0x4ef0a1)=>{for(var _0x4f6a7c=_0x4ef0a1>0x1?void 0x0:_0x4ef0a1?_0x481bd9(_0x40b83e,_0x1a782e):_0x40b83e,_0x3d39e3=_0x512430['length']-0x1,_0x26e63e;_0x3d39e3>=0x0;_0x3d39e3--)(_0x26e63e=_0x512430[_0x3d39e3])&&(_0x4f6a7c=(_0x4ef0a1?_0x26e63e(_0x40b83e,_0x1a782e,_0x4f6a7c):_0x26e63e(_0x4f6a7c))||_0x4f6a7c);return _0x4ef0a1&&_0x4f6a7c&&_0x3ca1a5(_0x40b83e,_0x1a782e,_0x4f6a7c),_0x4f6a7c;},_0x35c117=(_0x4bd7ce,_0x1d0cbe)=>(_0x9db883,_0x1476a3)=>_0x1d0cbe(_0x9db883,_0x1476a3,_0x4bd7ce);_0x5c4621[_0x2d2308(0x21b)]=class extends _0x511a8d[_0x2d2308(0x53d)]{constructor(_0x77f12c,_0xc550c6,_0x1a4f38){const _0x30fbea=_0x2d2308;super(),_0x3d9158(this,'_entities',new Map()),_0x3d9158(this,_0x30fbea(0x546),new _0x1fcaf6[(_0x30fbea(0x36d))]()),(this['_injector']=_0x77f12c,this[_0x30fbea(0x406)]=_0xc550c6,this[_0x30fbea(0x245)]=_0x1a4f38,this[_0x30fbea(0x3e6)]());}[_0x2d2308(0x2fb)](){const _0x1a3882=_0x2d2308;super['dispose'](),this['_entities'][_0x1a3882(0x20c)](_0x3b4cfa=>_0x3b4cfa[_0x1a3882(0x2fb)]()),this[_0x1a3882(0x2aa)][_0x1a3882(0x48e)]();}['getCollabEntity'](_0x537589){var _0x275fd7;return(_0x275fd7=this['_entities']['get'](_0x537589))!=null?_0x275fd7:null;}[_0x2d2308(0x1c4)](_0x2a18ed){const _0x4a9e53=_0x2d2308,_0x10458d=this[_0x4a9e53(0x2cc)](_0x2a18ed);return _0x10458d?_0x1fcaf6['of'](_0x10458d):this[_0x4a9e53(0x546)][_0x4a9e53(0x47e)](_0x5e0e9a[_0x4a9e53(0x44e)](_0x2cdd71=>_0x2cdd71[_0x4a9e53(0x14c)]===_0x2a18ed));}['_init'](){const _0xc821c0=_0x2d2308;this[_0xc821c0(0x245)]['getTypeOfUnitAdded$'](_0x511a8d[_0xc821c0(0x3bf)][_0xc821c0(0x1b5)])[_0xc821c0(0x47e)](_0x1fcaf6[_0xc821c0(0x13e)](this[_0xc821c0(0x3af)]),_0x5e0e9a[_0xc821c0(0x2ba)](0x10))[_0xc821c0(0x2a1)](async _0x5eddd6=>{const _0x139566=_0xc821c0,_0x307a64=_0x5eddd6[_0x139566(0x28d)](),_0x45deaa=await this[_0x139566(0x39e)](_0x307a64,_0x469253[_0x139566(0x1b5)]);this[_0x139566(0x2aa)][_0x139566(0x445)](_0x307a64,_0x45deaa);}),this[_0xc821c0(0x245)]['getTypeOfUnitAdded$'](_0x511a8d['UniverInstanceType'][_0xc821c0(0x183)])[_0xc821c0(0x47e)](_0x1fcaf6[_0xc821c0(0x13e)](this[_0xc821c0(0x3af)]),_0x5e0e9a['delay'](0x10))[_0xc821c0(0x47e)](_0x5e0e9a[_0xc821c0(0x44e)](_0x4f01ab=>!_0x4f01ab['getUnitId']()['startsWith']('__')))[_0xc821c0(0x2a1)](async _0x589a0c=>{const _0x9e9835=_0xc821c0,_0x418bde=_0x589a0c[_0x9e9835(0x28d)](),_0x13b8b1=await this['_startCollaboration'](_0x418bde,_0x469253['UNIVER_DOC']);this['_entities'][_0x9e9835(0x445)](_0x418bde,_0x13b8b1);}),_0x1fcaf6[_0xc821c0(0x240)](this[_0xc821c0(0x245)]['getTypeOfUnitDisposed$'](_0x511a8d['UniverInstanceType'][_0xc821c0(0x1b5)]),this[_0xc821c0(0x245)][_0xc821c0(0x2f2)](_0x511a8d[_0xc821c0(0x3bf)]['UNIVER_DOC']))['pipe'](_0x1fcaf6[_0xc821c0(0x13e)](this[_0xc821c0(0x3af)]))['subscribe'](_0x17a2a2=>{const _0x38ce08=_0xc821c0,_0x2c7cfa=_0x17a2a2['getUnitId'](),_0x15f07e=this[_0x38ce08(0x2aa)][_0x38ce08(0x3bb)](_0x2c7cfa);_0x15f07e&&(_0x15f07e['dispose'](),this[_0x38ce08(0x2aa)]['delete'](_0x2c7cfa));});}async['_startCollaboration'](_0x7ad709,_0x1d1588){const _0x408f17=_0x2d2308,_0x5d1e23=await this[_0x408f17(0x406)][_0x408f17(0x137)](_0x7ad709),_0x2ae6dc=this['_injector']['createInstance'](this[_0x408f17(0x3c9)](_0x1d1588),_0x7ad709,_0x1d1588,_0x5d1e23);return await _0x2ae6dc[_0x408f17(0x41e)](),this[_0x408f17(0x546)]['next'](_0x2ae6dc),_0x2ae6dc;}[_0x2d2308(0x3c9)](_0x12e801){const _0x4a5f05=_0x2d2308;switch(_0x12e801){case _0x469253[_0x4a5f05(0x183)]:return _0x5c4621['DocCollaborationEntity'];case _0x469253[_0x4a5f05(0x1b5)]:return _0x5c4621[_0x4a5f05(0x54b)];default:throw new Error(_0x4a5f05(0x23f)+_0x12e801);}}},_0x5c4621['CollaborationController']=_0x205972([_0x35c117(0x0,_0x511a8d['Inject'](_0x511a8d[_0x2d2308(0x3b2)])),_0x35c117(0x1,_0x511a8d[_0x2d2308(0x4dc)](_0x5c4621[_0x2d2308(0x12a)])),_0x35c117(0x2,_0x511a8d[_0x2d2308(0x3ed)])],_0x5c4621[_0x2d2308(0x21b)]);const _0xd1fd9f=[_0x2d2308(0x315),_0x2d2308(0x37a),_0x2d2308(0x3a8),_0x2d2308(0x319),_0x2d2308(0x337),_0x2d2308(0x426)];class _0x239f11 extends _0x511a8d[_0x2d2308(0x3d6)]{constructor(){const _0x2e37a4=_0x2d2308;super(...arguments),_0x3d9158(this,_0x2e37a4(0x38d),new Map()),_0x3d9158(this,_0x2e37a4(0x397),0x0);}[_0x2d2308(0x4b2)](_0x1e47e2){const _0x58be94=_0x2d2308;if(this['_assignedColors'][_0x58be94(0x1e0)](_0x1e47e2))return this[_0x58be94(0x38d)][_0x58be94(0x3bb)](_0x1e47e2);const _0x5e8f3e=_0xd1fd9f[this[_0x58be94(0x397)]];return this[_0x58be94(0x397)]=(this[_0x58be94(0x397)]+0x1)%_0xd1fd9f[_0x58be94(0x1e3)],this[_0x58be94(0x38d)]['set'](_0x1e47e2,_0x5e8f3e),_0x5e8f3e;}}var _0x545c8f=Object['defineProperty'],_0x4268d3=Object[_0x2d2308(0x475)],_0x5977f9=(_0x40eade,_0x463ba5,_0x18a0d9,_0x54e352)=>{for(var _0x2a121c=_0x54e352>0x1?void 0x0:_0x54e352?_0x4268d3(_0x463ba5,_0x18a0d9):_0x463ba5,_0x254e23=_0x40eade['length']-0x1,_0x5678f5;_0x254e23>=0x0;_0x254e23--)(_0x5678f5=_0x40eade[_0x254e23])&&(_0x2a121c=(_0x54e352?_0x5678f5(_0x463ba5,_0x18a0d9,_0x2a121c):_0x5678f5(_0x2a121c))||_0x2a121c);return _0x54e352&&_0x2a121c&&_0x545c8f(_0x463ba5,_0x18a0d9,_0x2a121c),_0x2a121c;},_0x50341d=(_0xaa1aae,_0x28a73e)=>(_0x3a4ccb,_0x16de7f)=>_0x28a73e(_0x3a4ccb,_0x16de7f,_0xaa1aae);const _0x108a5a=0x12c,_0x44c0f1=0x64;let _0x313e53=class extends _0x511a8d[_0x2d2308(0x53d)]{constructor(_0x3a67bb,_0x4e008c,_0x2e9c44,_0x468a9d,_0x3758cf,_0x37a1b9,_0x270b7d,_0x333538,_0xe98410){const _0x320b55=_0x2d2308;super(),_0x3d9158(this,_0x320b55(0x2f3),!0x1),_0x3d9158(this,_0x320b55(0x3e6),!0x1),_0x3d9158(this,_0x320b55(0x4b1),new _0x1fcaf6[(_0x320b55(0x24c))](new Map())),_0x3d9158(this,_0x320b55(0x141),this[_0x320b55(0x4b1)][_0x320b55(0x1d7)]()),_0x3d9158(this,_0x320b55(0x167),new _0x1fcaf6[(_0x320b55(0x24c))]([])),_0x3d9158(this,_0x320b55(0x2d5),this[_0x320b55(0x167)]['pipe'](_0x1fcaf6['debounceTime'](_0x108a5a))),_0x3d9158(this,_0x320b55(0x557),_0x511a8d['debounce'](_0xe92860=>{const _0xba12dd=_0x320b55,_0x133ebc={'eventID':_0xa51b04[_0xba12dd(0x3fa)]['UPDATE_CURSOR'],'data':{'unitID':this[_0xba12dd(0x14c)],'memberID':this[_0xba12dd(0x3cc)][_0xba12dd(0x41d)](),'selection':_0x3df83b(_0xe92860)}};this['_session'][_0xba12dd(0x363)](_0x133ebc,this[_0xba12dd(0x14c)]);},_0x44c0f1)),(this[_0x320b55(0x14c)]=_0x3a67bb,this[_0x320b55(0x3cc)]=_0x4e008c,this[_0x320b55(0x510)]=_0x2e9c44,this['_colorAssignService']=_0x468a9d,this['_memberService']=_0x3758cf,this[_0x320b55(0x318)]=_0x37a1b9,this[_0x320b55(0x541)]=_0x270b7d,this[_0x320b55(0x245)]=_0x333538,this[_0x320b55(0x4c3)]=_0xe98410);}get['cursorInfo'](){const _0x33dbe7=_0x2d2308;return this['_cursorInfo$'][_0x33dbe7(0x24f)]();}get[_0x2d2308(0x3ac)](){const _0x152133=_0x2d2308;return this[_0x152133(0x167)][_0x152133(0x24f)]();}[_0x2d2308(0x2fb)](){const _0xb7b7e=_0x2d2308;super['dispose'](),this[_0xb7b7e(0x4b1)][_0xb7b7e(0x535)](new Map()),this[_0xb7b7e(0x4b1)][_0xb7b7e(0x33d)](),this[_0xb7b7e(0x167)][_0xb7b7e(0x535)]([]),this[_0xb7b7e(0x167)][_0xb7b7e(0x33d)]();}[_0x2d2308(0x41e)](){const _0x5045a5=_0x2d2308;this[_0x5045a5(0x3e6)]||(this[_0x5045a5(0x3e6)]=!0x0,this['_session']['sessionStatus$'][_0x5045a5(0x47e)](_0x1fcaf6[_0x5045a5(0x13e)](this[_0x5045a5(0x3af)]))[_0x5045a5(0x2a1)](_0x258eab=>{const _0x5f4e58=_0x5045a5;_0x258eab===_0x3c28c2[_0x5f4e58(0x3b6)]?this[_0x5f4e58(0x237)]():this['_toggleOffline']();}),this[_0x5045a5(0x3cc)][_0x5045a5(0x531)]['pipe'](_0x1fcaf6[_0x5045a5(0x13e)](this['dispose$']))[_0x5045a5(0x2a1)](_0x36f790=>{const _0x487fe5=_0x5045a5,_0x34d0b6=_0x36f790['eventID'];_0x34d0b6===_0xa51b04['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x487fe5(0x4ad)](_0x36f790),_0x34d0b6===_0xa51b04[_0x487fe5(0x3fa)][_0x487fe5(0x4ba)]&&this['_onCursorDelete'](_0x36f790);}),this[_0x5045a5(0x2c8)](this[_0x5045a5(0x4c3)][_0x5045a5(0x2c4)](_0x1c0902=>{const _0x9b1b83=_0x5045a5,_0x4d67cd=_0x1c0902[_0x9b1b83(0x2b8)];_0x4d67cd!=null&&this[_0x9b1b83(0x2f3)]&&_0x1c0902['id']===_0x106b3c[_0x9b1b83(0x265)]['id']&&_0x4d67cd[_0x9b1b83(0x4bf)]===this[_0x9b1b83(0x14c)]&&_0x4d67cd[_0x9b1b83(0x314)]===!0x1&&this[_0x9b1b83(0x557)](_0x4d67cd[_0x9b1b83(0x440)]);})),this[_0x5045a5(0x318)]['collabCursorState$'][_0x5045a5(0x47e)](_0x1fcaf6[_0x5045a5(0x13e)](this[_0x5045a5(0x3af)]))[_0x5045a5(0x2a1)](_0x1c8339=>{const _0xc1c15=_0x5045a5;if((_0x1c8339==null?void 0x0:_0x1c8339[_0xc1c15(0x14c)])!==this[_0xc1c15(0x14c)])return;const _0x2703a1={'eventID':_0xa51b04[_0xc1c15(0x3fa)][_0xc1c15(0x4c9)],'data':_0x1c8339};this[_0xc1c15(0x4ad)](_0x2703a1);}),this['disposeWithMe'](this['_commandService'][_0x5045a5(0x2c4)](_0x473c10=>{const _0x55fba2=_0x5045a5;if(_0x473c10['params']==null)return;const _0xac50aa=_0x473c10[_0x55fba2(0x2b8)];if(_0x473c10['id']!==_0x106b3c[_0x55fba2(0x474)]['id']||_0xac50aa['unitId']!==this[_0x55fba2(0x14c)])return;const _0x1a8af0={'id':_0x55fba2(0x124),'params':_0xac50aa},_0x1b7dca=this[_0x55fba2(0x4eb)];for(const [_0x553fa2,_0x4b59f9]of _0x1b7dca){const _0x5b9314={'id':_0x55fba2(0x124),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x4b59f9[_0x55fba2(0x440)]}},_0x2fceb7=this['_transformService']['transformMutation'](_0x1a8af0,_0x5b9314,!0x1);if(_0xa51b04[_0x55fba2(0x2a8)](_0x2fceb7))throw _0x2fceb7['error'];_0x1b7dca['set'](_0x553fa2,{..._0x4b59f9,'ranges':_0x2fceb7[_0x55fba2(0x12b)][_0x55fba2(0x2b8)][_0x55fba2(0x512)]});}queueMicrotask(()=>{const _0x5bc2cd=_0x55fba2;this[_0x5bc2cd(0x4b1)]['next'](_0x1b7dca);});})));}[_0x2d2308(0x4ad)](_0x3d8d67){const _0x58d037=_0x2d2308;var _0x1ae15c,_0x1e0c81;const {memberID:_0x5cefa8,selection:_0x1590ba}=_0x3d8d67[_0x58d037(0x142)],_0x3b19d7=_0xfc242c(_0x1590ba),_0x2a8781=(_0x1e0c81=(_0x1ae15c=this[_0x58d037(0x361)]['getMember'](this['unitID'],_0x5cefa8))==null?void 0x0:_0x1ae15c[_0x58d037(0x2e3)])!=null?_0x1e0c81:_0x58d037(0x539),_0x2f3e34={'color':this[_0x58d037(0x448)][_0x58d037(0x4b2)](_0x5cefa8),'name':_0x2a8781,'ranges':_0x3b19d7},_0x23796e=this['cursorInfo'];_0x23796e['set'](_0x5cefa8,_0x2f3e34),this['_cursorInfo$'][_0x58d037(0x535)](_0x23796e);}[_0x2d2308(0x3bc)](_0x2e0381){const _0xbf5dc6=_0x2d2308,{memberID:_0x3faa38}=_0x2e0381[_0xbf5dc6(0x142)],_0x212491=this[_0xbf5dc6(0x4eb)];_0x212491[_0xbf5dc6(0x444)](_0x3faa38),this['_cursorInfo$'][_0xbf5dc6(0x535)](_0x212491);}[_0x2d2308(0x237)](){const _0xca0895=_0x2d2308;var _0x30c627;if(this[_0xca0895(0x2f3)]=!0x0,((_0x30c627=this[_0xca0895(0x245)]['getFocusedUnit']())==null?void 0x0:_0x30c627[_0xca0895(0x28d)]())!==this['unitID'])return;const _0x17661b=this[_0xca0895(0x510)][_0xca0895(0x3bb)](_0x106b3c[_0xca0895(0x286)])['getDocRanges']();Array['isArray'](_0x17661b)&&_0x17661b[_0xca0895(0x1e3)]>0x0&&this['_updateLocalCursor'](_0x17661b);}['_toggleOffline'](){const _0x4712db=_0x2d2308;this[_0x4712db(0x2f3)]=!0x1;}};_0x313e53=_0x5977f9([_0x50341d(0x2,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x3b2)])),_0x50341d(0x3,_0x511a8d[_0x2d2308(0x4dc)](_0x239f11)),_0x50341d(0x4,_0x511a8d['Inject'](_0x301ed0)),_0x50341d(0x5,_0x511a8d['Inject'](_0x57cbd1)),_0x50341d(0x6,_0xa51b04[_0x2d2308(0x2a2)]),_0x50341d(0x7,_0x511a8d['IUniverInstanceService']),_0x50341d(0x8,_0x511a8d[_0x2d2308(0x23a)])],_0x313e53);var _0x173168=Object[_0x2d2308(0x210)],_0x1c3829=Object[_0x2d2308(0x475)],_0x142be2=(_0x20251e,_0x16da1c,_0x426ed8,_0x38c5ae)=>{const _0x33f3dd=_0x2d2308;for(var _0x480182=_0x38c5ae>0x1?void 0x0:_0x38c5ae?_0x1c3829(_0x16da1c,_0x426ed8):_0x16da1c,_0x323002=_0x20251e[_0x33f3dd(0x1e3)]-0x1,_0x29a19f;_0x323002>=0x0;_0x323002--)(_0x29a19f=_0x20251e[_0x323002])&&(_0x480182=(_0x38c5ae?_0x29a19f(_0x16da1c,_0x426ed8,_0x480182):_0x29a19f(_0x480182))||_0x480182);return _0x38c5ae&&_0x480182&&_0x173168(_0x16da1c,_0x426ed8,_0x480182),_0x480182;},_0x59105a=(_0x4724c2,_0x19d556)=>(_0x3bc0bf,_0x124617)=>_0x19d556(_0x3bc0bf,_0x124617,_0x4724c2);const _0x21c18c=0x12c,_0x3d3c10=0x64,_0x17f343=()=>{let _0x37ccd6=[],_0xd7d788=!0x1;return _0x2fed48=>{const _0xb4b373=_0x3ba2;_0x37ccd6[_0xb4b373(0x4c4)](_0x2fed48),_0xd7d788||(_0xd7d788=!0x0,setTimeout(()=>{const _0x1a3005=_0xb4b373;_0x37ccd6[_0x1a3005(0x20c)](_0x466da0=>_0x466da0()),_0x37ccd6=[],_0xd7d788=!0x1;}));};};let _0x2e3e67=class extends _0x511a8d[_0x2d2308(0x53d)]{constructor(_0x386137,_0x5cdf2c,_0x39aba8,_0x24269a,_0xeb6f80,_0x54b8a7,_0x44ec22,_0x213fb2){const _0x5c315a=_0x2d2308;super(),_0x3d9158(this,'_online',!0x1),_0x3d9158(this,_0x5c315a(0x3e6),!0x1),_0x3d9158(this,_0x5c315a(0x4b1),new _0x1fcaf6[(_0x5c315a(0x24c))](new Map())),_0x3d9158(this,'cursorInfo$',this[_0x5c315a(0x4b1)][_0x5c315a(0x1d7)]()),_0x3d9158(this,_0x5c315a(0x167),new _0x1fcaf6[(_0x5c315a(0x24c))]([])),_0x3d9158(this,_0x5c315a(0x2d5),this[_0x5c315a(0x167)]['pipe'](_0x1fcaf6[_0x5c315a(0x3c5)](_0x21c18c))),_0x3d9158(this,_0x5c315a(0x557),_0x511a8d['debounce']((_0x570fc6,_0x29b385)=>{const _0x2c2225=_0x5c315a,_0x47dbaf={'eventID':_0xa51b04[_0x2c2225(0x3fa)][_0x2c2225(0x4c9)],'data':{'unitID':this[_0x2c2225(0x14c)],'memberID':this[_0x2c2225(0x3cc)]['getMemberID'](),'selection':_0x29616f[_0x2c2225(0x3e1)](_0x570fc6,_0x29b385[_0x2c2225(0x172)])}};this[_0x2c2225(0x3cc)][_0x2c2225(0x363)](_0x47dbaf,this[_0x2c2225(0x14c)]);},_0x3d3c10)),(this['unitID']=_0x386137,this[_0x5c315a(0x3cc)]=_0x5cdf2c,this['_injector']=_0x39aba8,this[_0x5c315a(0x448)]=_0x24269a,this[_0x5c315a(0x361)]=_0xeb6f80,this[_0x5c315a(0x245)]=_0x54b8a7,this[_0x5c315a(0x4c3)]=_0x44ec22,this[_0x5c315a(0x2ce)]=_0x213fb2);}get['cursorInfo'](){const _0x88df31=_0x2d2308;return this[_0x88df31(0x4b1)][_0x88df31(0x24f)]();}get[_0x2d2308(0x3ac)](){const _0x1f6b76=_0x2d2308;return this[_0x1f6b76(0x167)][_0x1f6b76(0x24f)]();}[_0x2d2308(0x2fb)](){const _0x357466=_0x2d2308;super[_0x357466(0x2fb)](),this[_0x357466(0x4b1)][_0x357466(0x535)](new Map()),this[_0x357466(0x4b1)]['complete'](),this['_roomMembers$'][_0x357466(0x535)]([]),this[_0x357466(0x167)]['complete']();}['init'](){const _0x16681f=_0x2d2308;this[_0x16681f(0x3e6)]||(this[_0x16681f(0x3e6)]=!0x0,this['_session']['sessionStatus$'][_0x16681f(0x47e)](_0x1fcaf6['takeUntil'](this[_0x16681f(0x3af)]))[_0x16681f(0x2a1)](_0xf35ac5=>{const _0x457e0a=_0x16681f;_0xf35ac5===_0x3c28c2[_0x457e0a(0x3b6)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x16681f(0x3cc)][_0x16681f(0x531)]['pipe'](_0x1fcaf6[_0x16681f(0x13e)](this['dispose$']))[_0x16681f(0x2a1)](_0x26524c=>{const _0x21e616=_0x16681f,_0x5aae66=_0x26524c[_0x21e616(0x175)];_0x5aae66===_0xa51b04[_0x21e616(0x3fa)][_0x21e616(0x4c9)]&&this[_0x21e616(0x4ad)](_0x26524c),_0x5aae66===_0xa51b04['CollaborationEvent'][_0x21e616(0x4ba)]&&this['_onCursorDelete'](_0x26524c);}),this['_onRefRangeChange'](),this['disposeWithMe'](this['_commandService'][_0x16681f(0x2c4)](_0x419ad9=>{const _0x30cc2e=_0x16681f;if(this['_online']&&_0x419ad9['id']===_0x11a28e[_0x30cc2e(0x500)]['id']&&_0x419ad9[_0x30cc2e(0x2b8)][_0x30cc2e(0x4bf)]===this[_0x30cc2e(0x14c)]){const _0x5aef48=_0x419ad9[_0x30cc2e(0x2b8)];this[_0x30cc2e(0x557)](_0x5aef48[_0x30cc2e(0x536)],_0x5aef48[_0x30cc2e(0x2e7)][0x0]);}})));}[_0x2d2308(0x4ad)](_0x50203a){const _0x40d3b0=_0x2d2308;var _0x45d742,_0x441d0e;const {memberID:_0x47e6e2,selection:_0x10d440}=_0x50203a[_0x40d3b0(0x142)],{sheetName:_0x36d37e,range:_0x3e77ca}=_0x29616f[_0x40d3b0(0x3ce)](_0x10d440),_0x5020ac={'name':(_0x441d0e=(_0x45d742=this[_0x40d3b0(0x361)]['getMember'](this[_0x40d3b0(0x14c)],_0x47e6e2))==null?void 0x0:_0x45d742[_0x40d3b0(0x2e3)])!=null?_0x441d0e:_0x40d3b0(0x539),'range':this['_getMergeRange'](_0x36d37e,_0x3e77ca),'sheetID':_0x36d37e,'color':this[_0x40d3b0(0x448)][_0x40d3b0(0x4b2)](_0x47e6e2),'selection':_0x10d440},_0x3519bc=this[_0x40d3b0(0x4eb)];_0x3519bc[_0x40d3b0(0x445)](_0x47e6e2,_0x5020ac),this[_0x40d3b0(0x4b1)][_0x40d3b0(0x535)](_0x3519bc);}['_onCursorDelete'](_0x1167f0){const _0xa069f0=_0x2d2308,{memberID:_0x345fe4}=_0x1167f0[_0xa069f0(0x142)],_0x557089=this[_0xa069f0(0x4eb)];_0x557089[_0xa069f0(0x444)](_0x345fe4),this[_0xa069f0(0x4b1)][_0xa069f0(0x535)](_0x557089);}[_0x2d2308(0x322)](_0x3b2d19,_0x3456b6){const _0x267e02=_0x2d2308;var _0xfdb891,_0x442f8e;const _0x1f19c3=(_0x442f8e=(_0xfdb891=this[_0x267e02(0x245)][_0x267e02(0x1ac)](this[_0x267e02(0x14c)]))==null?void 0x0:_0xfdb891[_0x267e02(0x30b)](_0x3b2d19))==null?void 0x0:_0x442f8e['getMergeData']();return(_0x1f19c3==null?void 0x0:_0x1f19c3[_0x267e02(0x38c)](_0xe1242d=>_0x511a8d[_0x267e02(0x32f)][_0x267e02(0x308)](_0xe1242d,_0x3456b6)))||_0x3456b6;}['_onRefRangeChange'](){const _0x4f578d=_0x2d2308,_0x5f3ff1=new _0x511a8d[(_0x4f578d(0x51b))](),_0x62bf0f=_0x17f343(),_0x212c82=()=>{const _0x370d17=_0x4f578d;_0x5f3ff1['dispose']();const _0x38d707=(_0x5af8be,_0x327c72,_0x8ab399,_0x154557)=>{const _0x2db346=_0x3ba2;let _0x42872a=[];switch(_0x5af8be['id']){case _0x11a28e['EffectRefRangId'][_0x2db346(0x527)]:{_0x42872a=_0x11a28e[_0x2db346(0x2e2)](_0x5af8be,_0x154557);break;}case _0x11a28e[_0x2db346(0x561)]['DeleteRangeMoveUpCommandId']:{_0x42872a=_0x11a28e[_0x2db346(0x1a6)](_0x5af8be,_0x154557);break;}case _0x11a28e[_0x2db346(0x561)][_0x2db346(0x310)]:{_0x42872a=_0x11a28e[_0x2db346(0x46e)](_0x5af8be,_0x154557);break;}case _0x11a28e[_0x2db346(0x561)]['InsertRangeMoveDownCommandId']:{_0x42872a=_0x11a28e[_0x2db346(0x19d)](_0x5af8be,_0x154557);break;}case _0x11a28e['EffectRefRangId'][_0x2db346(0x2cb)]:{_0x42872a=_0x11a28e[_0x2db346(0x35d)](_0x5af8be,_0x154557);break;}case _0x11a28e[_0x2db346(0x561)][_0x2db346(0x3dd)]:{_0x42872a=_0x11a28e[_0x2db346(0x392)](_0x5af8be,_0x154557);break;}case _0x11a28e['EffectRefRangId'][_0x2db346(0x443)]:{_0x42872a=_0x11a28e[_0x2db346(0x189)](_0x5af8be,_0x154557);break;}case _0x11a28e[_0x2db346(0x561)][_0x2db346(0x37b)]:{_0x42872a=_0x11a28e[_0x2db346(0x362)](_0x5af8be,_0x154557);break;}case _0x11a28e[_0x2db346(0x561)]['RemoveRowCommandId']:{_0x42872a=_0x11a28e['handleIRemoveRow'](_0x5af8be,_0x154557);break;}}const _0x341b99=_0x11a28e[_0x2db346(0x4f2)](_0x42872a,_0x154557),_0x328095=this[_0x2db346(0x4eb)][_0x2db346(0x3bb)](_0x327c72);if(_0x328095&&_0x341b99){const _0x57583e={..._0x328095,'range':_0x341b99};this[_0x2db346(0x4eb)][_0x2db346(0x445)](_0x327c72,_0x57583e),_0x62bf0f(()=>{const _0x4c02f1=_0x2db346,_0x4aca8a=this[_0x4c02f1(0x2ce)]['registerRefRange'](_0x341b99,_0x38d742=>(_0x4aca8a[_0x4c02f1(0x2fb)](),_0x38d707(_0x38d742,_0x327c72,_0x8ab399,_0x341b99)));_0x5f3ff1[_0x4c02f1(0x2fc)](_0x4aca8a);});}return{'redos':[],'undos':[]};};this[_0x370d17(0x4eb)][_0x370d17(0x20c)]((_0x3c1bf0,_0x403eaa)=>{const _0x4d7259=_0x370d17,{range:_0x1e6bb1,sheetID:_0x87b37a}=_0x3c1bf0,_0x56a570=this[_0x4d7259(0x2ce)][_0x4d7259(0x338)](_0x1e6bb1,_0x5dc0ea=>(_0x56a570[_0x4d7259(0x2fb)](),_0x38d707(_0x5dc0ea,_0x403eaa,_0x87b37a,_0x1e6bb1)));_0x5f3ff1[_0x4d7259(0x2fc)](_0x56a570);});};this[_0x4f578d(0x2c8)](_0x511a8d[_0x4f578d(0x529)](this[_0x4f578d(0x4b1)]['subscribe'](()=>{_0x212c82();})));}[_0x2d2308(0x237)](){const _0x559ac6=_0x2d2308;var _0x43cbef,_0x33e0f1;if(this[_0x559ac6(0x2f3)]=!0x0,((_0x43cbef=this[_0x559ac6(0x245)]['getFocusedUnit']())==null?void 0x0:_0x43cbef['getUnitId']())!==this['unitID'])return;const _0x3c1e0c=(_0x33e0f1=this[_0x559ac6(0x510)][_0x559ac6(0x3bb)](_0x11a28e[_0x559ac6(0x480)])[_0x559ac6(0x25e)]())==null?void 0x0:_0x33e0f1[0x0],_0x5c4391=this[_0x559ac6(0x245)][_0x559ac6(0x519)](_0x511a8d[_0x559ac6(0x3bf)][_0x559ac6(0x1b5)])[_0x559ac6(0x317)]();_0x3c1e0c&&_0x5c4391&&this[_0x559ac6(0x557)](_0x5c4391[_0x559ac6(0x3df)](),_0x3c1e0c);}[_0x2d2308(0x4e0)](){const _0x356026=_0x2d2308;this[_0x356026(0x2f3)]=!0x1;}};_0x2e3e67=_0x142be2([_0x59105a(0x2,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d['Injector'])),_0x59105a(0x3,_0x511a8d[_0x2d2308(0x4dc)](_0x239f11)),_0x59105a(0x4,_0x511a8d[_0x2d2308(0x4dc)](_0x301ed0)),_0x59105a(0x5,_0x511a8d[_0x2d2308(0x3ed)]),_0x59105a(0x6,_0x511a8d['ICommandService']),_0x59105a(0x7,_0x511a8d[_0x2d2308(0x4dc)](_0x11a28e[_0x2d2308(0x2d0)]))],_0x2e3e67);var _0x34a2f4=Object[_0x2d2308(0x210)],_0x339e57=Object['getOwnPropertyDescriptor'],_0x4d18e9=(_0x33c6f5,_0x279fcf,_0x59be07,_0x4cef28)=>{for(var _0xc3c98e=_0x4cef28>0x1?void 0x0:_0x4cef28?_0x339e57(_0x279fcf,_0x59be07):_0x279fcf,_0x587312=_0x33c6f5['length']-0x1,_0x3b9edd;_0x587312>=0x0;_0x587312--)(_0x3b9edd=_0x33c6f5[_0x587312])&&(_0xc3c98e=(_0x4cef28?_0x3b9edd(_0x279fcf,_0x59be07,_0xc3c98e):_0x3b9edd(_0xc3c98e))||_0xc3c98e);return _0x4cef28&&_0xc3c98e&&_0x34a2f4(_0x279fcf,_0x59be07,_0xc3c98e),_0xc3c98e;},_0x377079=(_0x3e76fa,_0x2b9a14)=>(_0x297ca9,_0xb0ea8e)=>_0x2b9a14(_0x297ca9,_0xb0ea8e,_0x3e76fa);let _0x49b326=class extends _0x511a8d['RxDisposable']{constructor(_0x314597,_0x7db788,_0x1feebe){const _0x22f3bb=_0x2d2308;super(),_0x3d9158(this,'_entities',new Map()),_0x3d9158(this,_0x22f3bb(0x546),new _0x1fcaf6[(_0x22f3bb(0x36d))]()),(this[_0x22f3bb(0x245)]=_0x314597,this[_0x22f3bb(0x510)]=_0x7db788,this[_0x22f3bb(0x406)]=_0x1feebe,this[_0x22f3bb(0x3e6)]());}[_0x2d2308(0x2fb)](){const _0x384aaa=_0x2d2308;super[_0x384aaa(0x2fb)](),this[_0x384aaa(0x546)][_0x384aaa(0x33d)](),this[_0x384aaa(0x2aa)][_0x384aaa(0x20c)](_0x27191f=>_0x27191f['dispose']());}[_0x2d2308(0x22b)](_0x373c83){const _0x46b67d=_0x2d2308;return this[_0x46b67d(0x2aa)][_0x46b67d(0x1e0)](_0x373c83)?this[_0x46b67d(0x2aa)]['get'](_0x373c83)[_0x46b67d(0x141)]:this[_0x46b67d(0x546)][_0x46b67d(0x47e)](_0x1fcaf6[_0x46b67d(0x44e)](_0x2bd400=>_0x2bd400[_0x46b67d(0x14c)]===_0x373c83),_0x1fcaf6['switchMap'](_0x4992d0=>_0x4992d0[_0x46b67d(0x141)]));}[_0x2d2308(0x3e6)](){const _0x15235d=_0x2d2308;this['_univerInstanceService'][_0x15235d(0x2c3)](_0x511a8d[_0x15235d(0x3bf)][_0x15235d(0x1b5)])['pipe'](_0x1fcaf6[_0x15235d(0x13e)](this[_0x15235d(0x3af)]))[_0x15235d(0x2a1)](async _0x361dd7=>{const _0x510911=_0x15235d,_0x3793a2=_0x361dd7['getUnitId'](),_0x98538f=await this[_0x510911(0x532)](_0x3793a2);this[_0x510911(0x546)][_0x510911(0x535)](_0x98538f),this['_entities']['set'](_0x3793a2,_0x98538f);}),this[_0x15235d(0x245)][_0x15235d(0x2c3)](_0x511a8d['UniverInstanceType'][_0x15235d(0x183)])['pipe'](_0x1fcaf6[_0x15235d(0x13e)](this['dispose$']))[_0x15235d(0x47e)](_0x1fcaf6[_0x15235d(0x44e)](_0x39be00=>!_0x39be00[_0x15235d(0x28d)]()[_0x15235d(0x53c)]('__')))[_0x15235d(0x2a1)](async _0x20b56d=>{const _0x226415=_0x15235d,_0x3cb207=_0x20b56d[_0x226415(0x28d)](),_0x116c8c=await this[_0x226415(0x333)](_0x3cb207);this[_0x226415(0x546)][_0x226415(0x535)](_0x116c8c),this['_entities']['set'](_0x3cb207,_0x116c8c);}),_0x1fcaf6[_0x15235d(0x240)](this[_0x15235d(0x245)][_0x15235d(0x2f2)](_0x511a8d[_0x15235d(0x3bf)][_0x15235d(0x183)]),this[_0x15235d(0x245)][_0x15235d(0x2f2)](_0x511a8d['UniverInstanceType'][_0x15235d(0x1b5)]))['pipe'](_0x1fcaf6['takeUntil'](this['dispose$']))[_0x15235d(0x2a1)](_0x23b580=>{const _0x4912e6=_0x15235d,_0xbae0ae=_0x23b580[_0x4912e6(0x28d)](),_0x29df6b=this[_0x4912e6(0x2aa)]['get'](_0xbae0ae);_0x29df6b&&(_0x29df6b[_0x4912e6(0x2fb)](),this[_0x4912e6(0x2aa)]['delete'](_0xbae0ae));});}async[_0x2d2308(0x532)](_0x567ea2){const _0x23ac06=_0x2d2308,_0x103493=await this[_0x23ac06(0x406)][_0x23ac06(0x137)](_0x567ea2),_0x31e0c7=this['_injector']['createInstance'](_0x2e3e67,_0x567ea2,_0x103493);return _0x31e0c7[_0x23ac06(0x41e)](),_0x31e0c7;}async[_0x2d2308(0x333)](_0x15a7db){const _0xeb9741=_0x2d2308,_0x47727d=await this['_collabSessionService']['requireSession'](_0x15a7db),_0xbbfb46=this['_injector']['createInstance'](_0x313e53,_0x15a7db,_0x47727d);return _0xbbfb46[_0xeb9741(0x41e)](),_0xbbfb46;}};_0x49b326=_0x4d18e9([_0x377079(0x0,_0x511a8d['IUniverInstanceService']),_0x377079(0x1,_0x511a8d['Inject'](_0x511a8d[_0x2d2308(0x3b2)])),_0x377079(0x2,_0x511a8d[_0x2d2308(0x4dc)](_0x5c4621['CollaborationSessionService']))],_0x49b326);const _0x196038=0x14,_0x26b796=0xc8,_0x637ddc=0x4,_0x3ec417=0x5;function _0x116112(_0x29ce61,_0x5463ae){const _0x396622=_0x2d2308;let {radius:_0x3f745f,width:_0x1c08ff,height:_0x1d3eea}=_0x5463ae;_0x3f745f=_0x3f745f!=null?_0x3f745f:0x0,_0x1c08ff=_0x1c08ff!=null?_0x1c08ff:0x1e,_0x1d3eea=_0x1d3eea!=null?_0x1d3eea:0x1e;let _0x597333=0x0,_0xff03c7=0x0,_0x4ebe7d=0x0;_0x597333=_0xff03c7=_0x4ebe7d=Math['min'](_0x3f745f,_0x1c08ff/0x2,_0x1d3eea/0x2),_0x29ce61[_0x396622(0x52b)](),_0x29ce61[_0x396622(0x2f9)](_0x597333,0x0),_0x29ce61[_0x396622(0x33b)](_0x1c08ff-_0xff03c7,0x0),_0x29ce61[_0x396622(0x1dd)](_0x1c08ff-_0xff03c7,_0xff03c7,_0xff03c7,Math['PI']*0x3/0x2,0x0,!0x1),_0x29ce61[_0x396622(0x33b)](_0x1c08ff,_0x1d3eea-_0x4ebe7d),_0x29ce61[_0x396622(0x1dd)](_0x1c08ff-_0x4ebe7d,_0x1d3eea-_0x4ebe7d,_0x4ebe7d,0x0,Math['PI']/0x2,!0x1),_0x29ce61['lineTo'](0x0,_0x1d3eea),_0x29ce61[_0x396622(0x33b)](0x0,_0x597333),_0x29ce61[_0x396622(0x1dd)](_0x597333,_0x597333,_0x597333,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x29ce61[_0x396622(0x2db)](),_0x5463ae[_0x396622(0x34b)]&&(_0x29ce61[_0x396622(0x435)](),_0x29ce61['fillStyle']=_0x5463ae[_0x396622(0x34b)],_0x5463ae[_0x396622(0x35b)]===_0x396622(0x180)?_0x29ce61[_0x396622(0x34b)](_0x396622(0x180)):_0x29ce61[_0x396622(0x34b)](),_0x29ce61[_0x396622(0x47a)]());}class _0x2545cb extends _0x47232b[_0x2d2308(0x18e)]{constructor(_0x50a043,_0x4b223b){const _0x3dda89=_0x2d2308;super(_0x50a043,_0x4b223b),_0x3d9158(this,_0x3dda89(0x208)),_0x3d9158(this,_0x3dda89(0x17f)),(this[_0x3dda89(0x208)]=_0x4b223b==null?void 0x0:_0x4b223b['color'],this[_0x3dda89(0x17f)]=_0x4b223b==null?void 0x0:_0x4b223b[_0x3dda89(0x17f)]);}static[_0x2d2308(0x4d8)](_0x3f671f,_0x164357){const _0x53804d=_0x2d2308,{text:_0x5e73e1,color:_0x45bd2c}=_0x164357;_0x3f671f['save'](),_0x3f671f[_0x53804d(0x150)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x5eadce=_0x3f671f[_0x53804d(0x55d)](_0x5e73e1)[_0x53804d(0x439)],_0x1943b1=Math[_0x53804d(0x40c)](_0x5eadce+0x2*_0x637ddc,_0x26b796);_0x116112(_0x3f671f,{'height':_0x196038,'radius':0x4,'width':_0x1943b1,'fill':_0x45bd2c,'evented':!0x1}),_0x3f671f[_0x53804d(0x471)]='#FFF';const _0x4b2477=_0x637ddc,_0x420b54=_0x196038-_0x3ec417,_0x5476db=_0x26b796-0x2*_0x637ddc;if(_0x5eadce>_0x5476db){let _0x5d470c='',_0x3b4246=0x0;for(const _0x318f3d of _0x5e73e1){const _0x44c853=_0x3f671f[_0x53804d(0x55d)](_0x318f3d)[_0x53804d(0x439)];if(_0x3b4246+_0x44c853<=_0x5476db-_0x3f671f['measureText'](_0x53804d(0x133))[_0x53804d(0x439)])_0x5d470c+=_0x318f3d,_0x3b4246+=_0x44c853;else{_0x5d470c+=_0x53804d(0x133);break;}}_0x3f671f[_0x53804d(0x3d8)](_0x5d470c,_0x4b2477,_0x420b54);}else _0x3f671f[_0x53804d(0x3d8)](_0x5e73e1,_0x4b2477,_0x420b54);_0x3f671f[_0x53804d(0x47a)]();}['_draw'](_0x132e27){const _0x3e79b2=_0x2d2308;_0x2545cb[_0x3e79b2(0x4d8)](_0x132e27,this);}}const _0x262582=_0x2d2308(0x2a5),_0x56ba03=_0x2d2308(0x410),_0x12e065='collab-rect-range-',_0x1f67ed=0x6,_0x7b7431=1.5,_0x4eb200=0x4,_0x3f00e4=1.5,_0x43aac8=_0x2d2308(0x1d1);class _0x546d53{constructor(_0x10dc4e,_0x464891,_0x221b0a,_0x434133){const _0x2e1117=_0x2d2308;_0x3d9158(this,'_shapes',[]),_0x3d9158(this,_0x2e1117(0x359),null),_0x3d9158(this,'_textBubble',null),_0x3d9158(this,_0x2e1117(0x422),null),_0x3d9158(this,_0x2e1117(0x1ea),null),_0x3d9158(this,_0x2e1117(0x493),null),(this[_0x2e1117(0x2d9)]=_0x10dc4e,this['_scene']=_0x464891,this[_0x2e1117(0x226)]=_0x221b0a,this[_0x2e1117(0x1b3)]=_0x434133,this[_0x2e1117(0x247)]());}set[_0x2d2308(0x21d)](_0x93a46){const _0x1b0909=_0x2d2308;_0x93a46?(this[_0x1b0909(0x422)]&&this[_0x1b0909(0x422)][_0x1b0909(0x2da)](),this[_0x1b0909(0x31b)]&&this['_textBubble'][_0x1b0909(0x1f7)]()):(this[_0x1b0909(0x422)]&&this[_0x1b0909(0x422)][_0x1b0909(0x1f7)](),this[_0x1b0909(0x31b)]&&this[_0x1b0909(0x31b)][_0x1b0909(0x2da)]());}[_0x2d2308(0x2fb)](){const _0x437f06=_0x2d2308;for(const _0x1d15dc of this['_shapes'])_0x1d15dc[_0x437f06(0x2fb)]();this[_0x437f06(0x31b)]&&this['_textBubble'][_0x437f06(0x2fb)](),this[_0x437f06(0x422)]&&this['_anchorDot'][_0x437f06(0x2fb)](),this[_0x437f06(0x359)]&&this[_0x437f06(0x359)][_0x437f06(0x2fb)](),this[_0x437f06(0x493)]&&this[_0x437f06(0x493)]();}[_0x2d2308(0x247)](){const _0x3132aa=_0x2d2308;var _0x21f0d0;const {_docSkeleton:_0x5430d8,_document:_0x3d0da1}=this,{color:_0xdf57a1,name:_0x6aea65,ranges:_0x1c7e1c}=this[_0x3132aa(0x2d9)],_0x4ce666=_0x3d0da1[_0x3132aa(0x1a3)](),{docsLeft:_0x522613,docsTop:_0x4d409d}=_0x4ce666,_0x1d3974=new _0x457ad5[(_0x3132aa(0x496))](_0x4ce666,_0x5430d8);for(const {startOffset:_0x21d33a,endOffset:_0x42f09e,collapsed:_0x53ca4c,isActive:_0x3ecdd8}of _0x1c7e1c){const _0x12c937=_0x5430d8[_0x3132aa(0x378)](_0x21d33a),_0x347da6=_0x5430d8[_0x3132aa(0x378)](_0x42f09e);if(_0x3ecdd8){const {contentBoxPointGroup:_0x4a2100}=_0x1d3974[_0x3132aa(0x294)](_0x347da6,_0x347da6);if(_0x4a2100['length']===0x0)continue;this[_0x3132aa(0x522)](_0xdf57a1,_0x4a2100,_0x522613,_0x4d409d,_0x6aea65),this[_0x3132aa(0x493)]=this['_handleHover']();}if(!_0x53ca4c&&_0x12c937&&_0x347da6){if(_0x457ad5['isValidRectRange'](_0x12c937,_0x347da6)){const _0x5aaa6f=new _0x457ad5[(_0x3132aa(0x457))](_0x4ce666,_0x5430d8),{pointGroup:_0x3756e0}=(_0x21f0d0=_0x5aaa6f[_0x3132aa(0x294)](_0x12c937,_0x347da6))!=null?_0x21f0d0:{};if(_0x3756e0==null||_0x3756e0[_0x3132aa(0x1e3)]===0x0)continue;this[_0x3132aa(0x2e8)](_0xdf57a1,_0x3756e0,_0x522613,_0x4d409d);}else{const {contentBoxPointGroup:_0x162ced}=_0x1d3974[_0x3132aa(0x294)](_0x12c937,_0x347da6);if(_0x162ced[_0x3132aa(0x1e3)]===0x0)continue;this[_0x3132aa(0x211)](_0xdf57a1,_0x162ced,_0x522613,_0x4d409d);}}}}[_0x2d2308(0x522)](_0x2e8dd3,_0x11dd1f,_0x426e67,_0x266dbf,_0x2f10f9){const _0x48e6de=_0x2d2308,_0x4c0099=this[_0x48e6de(0x26f)](_0x11dd1f),{left:_0x2320c1,top:_0x4af804,height:_0x138e93}=_0x4c0099,_0x3a69be=this['_getScale'](),_0x1164bd=_0x3f00e4/_0x3a69be,_0x1b625c=new _0x47232b['Rect'](_0x262582+_0x511a8d['Tools'][_0x48e6de(0x447)](_0x1f67ed),{'left':_0x2320c1+_0x426e67-_0x1164bd,'top':_0x4af804+_0x266dbf,'height':_0x138e93,'width':_0x7b7431,'fill':_0x2e8dd3||_0x47232b[_0x48e6de(0x291)](_0x511a8d[_0x48e6de(0x419)][_0x48e6de(0x489)],0x0),'strokeWidth':_0x1164bd,'stroke':_0x43aac8,'evented':!0x0});this[_0x48e6de(0x359)]=_0x1b625c,this['_scene'][_0x48e6de(0x345)](_0x1b625c,_0x457ad5[_0x48e6de(0x134)]);const _0x27109b=new _0x47232b[(_0x48e6de(0x1e6))](_0x262582+_0x511a8d[_0x48e6de(0x344)]['generateRandomId'](_0x1f67ed),{'left':_0x2320c1+_0x426e67-_0x1164bd,'top':_0x4af804+_0x266dbf-_0x4eb200/0x2,'height':_0x4eb200,'width':_0x4eb200,'fill':_0x2e8dd3||_0x47232b[_0x48e6de(0x291)](_0x511a8d[_0x48e6de(0x419)][_0x48e6de(0x489)],0x0),'strokeWidth':0x0,'stroke':_0x2e8dd3||_0x47232b[_0x48e6de(0x291)](_0x511a8d[_0x48e6de(0x419)][_0x48e6de(0x489)],0x0),'evented':!0x1});this[_0x48e6de(0x422)]=_0x27109b,this[_0x48e6de(0x358)]['addObject'](_0x27109b,_0x457ad5[_0x48e6de(0x134)]);const _0x4e5697=new _0x2545cb(_0x262582+_0x511a8d[_0x48e6de(0x344)][_0x48e6de(0x447)](_0x1f67ed),{'left':_0x2320c1+_0x426e67-_0x1164bd,'top':_0x4af804+_0x266dbf-_0x196038,'text':_0x2f10f9,'color':_0x2e8dd3});this[_0x48e6de(0x31b)]=_0x4e5697,this['_scene']['addObject'](_0x4e5697,_0x457ad5[_0x48e6de(0x134)]),this['_hover']=!0x1;}[_0x2d2308(0x41b)](){const _0x30b521=_0x2d2308,_0x3f322b=this[_0x30b521(0x359)][_0x30b521(0x54e)][_0x30b521(0x1ef)](()=>{const _0x5dd320=_0x30b521;this[_0x5dd320(0x21d)]=!0x0;}),_0x20b92a=this['_anchor'][_0x30b521(0x524)][_0x30b521(0x1ef)](()=>{const _0xb2aeb4=_0x30b521;this[_0xb2aeb4(0x1ea)]&&clearTimeout(this[_0xb2aeb4(0x1ea)]),this[_0xb2aeb4(0x1ea)]=setTimeout(()=>{const _0x1bfa7d=_0xb2aeb4;this[_0x1bfa7d(0x21d)]=!0x1;},0x7d0);});return()=>{const _0x20a91b=_0x30b521;_0x3f322b[_0x20a91b(0x281)](),_0x20b92a['unsubscribe']();};}[_0x2d2308(0x211)](_0x26ee2a,_0x27ac78,_0x2d8c3f,_0x2f903a){const _0x38f4ff=_0x2d2308,_0x4c2e86=new _0x511a8d[(_0x38f4ff(0x261))](_0x26ee2a)[_0x38f4ff(0x2fe)](0.2)[_0x38f4ff(0x292)](),_0x4fd858=new _0x47232b[(_0x38f4ff(0x214))](_0x56ba03+_0x511a8d[_0x38f4ff(0x344)][_0x38f4ff(0x447)](_0x1f67ed),{'pointsGroup':_0x27ac78,'fill':_0x4c2e86||_0x47232b[_0x38f4ff(0x291)](_0x511a8d[_0x38f4ff(0x419)][_0x38f4ff(0x489)],0.2),'left':_0x2d8c3f,'top':_0x2f903a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x38f4ff(0x3e5)][_0x38f4ff(0x4c4)](_0x4fd858),this[_0x38f4ff(0x358)][_0x38f4ff(0x345)](_0x4fd858,_0x457ad5[_0x38f4ff(0x134)]);}[_0x2d2308(0x2e8)](_0x2288db,_0x157e27,_0x2c3050,_0x55a938){const _0xe479fd=_0x2d2308,_0x84c365=new _0x511a8d[(_0xe479fd(0x261))](_0x2288db)[_0xe479fd(0x2fe)](0.2)['toRgbString'](),_0x17d17a=new _0x47232b[(_0xe479fd(0x214))](_0x12e065+_0x511a8d[_0xe479fd(0x344)][_0xe479fd(0x447)](_0x1f67ed),{'pointsGroup':_0x157e27,'fill':_0x84c365||_0x47232b[_0xe479fd(0x291)](_0x511a8d['COLORS'][_0xe479fd(0x489)],0.2),'left':_0x2c3050,'top':_0x55a938,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xe479fd(0x3e5)][_0xe479fd(0x4c4)](_0x17d17a),this[_0xe479fd(0x358)][_0xe479fd(0x345)](_0x17d17a,_0x457ad5['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x14e865){const _0x16a212=_0x14e865[0x0],_0x1fca7f=_0x16a212[0x0],_0x451c7b=_0x16a212[0x2],{x:_0x169f25,y:_0x2c91dc}=_0x1fca7f,{x:_0x47e586,y:_0x149b33}=_0x451c7b;return{'left':_0x169f25,'top':_0x2c91dc,'width':_0x47e586-_0x169f25,'height':_0x149b33-_0x2c91dc};}[_0x2d2308(0x209)](){const _0x2a4e0c=_0x2d2308,{scaleX:_0x3cf788,scaleY:_0x4fcaec}=this['_scene'][_0x2a4e0c(0x4a9)]();return Math[_0x2a4e0c(0x256)](_0x3cf788,_0x4fcaec);}}var _0x2c1e3e=Object['defineProperty'],_0x4fe49c=Object[_0x2d2308(0x475)],_0x145335=(_0x42546e,_0x3bd607,_0x463093,_0x47754a)=>{const _0x2e5eb9=_0x2d2308;for(var _0x304c46=_0x47754a>0x1?void 0x0:_0x47754a?_0x4fe49c(_0x3bd607,_0x463093):_0x3bd607,_0x257820=_0x42546e[_0x2e5eb9(0x1e3)]-0x1,_0x4b3b4e;_0x257820>=0x0;_0x257820--)(_0x4b3b4e=_0x42546e[_0x257820])&&(_0x304c46=(_0x47754a?_0x4b3b4e(_0x3bd607,_0x463093,_0x304c46):_0x4b3b4e(_0x304c46))||_0x304c46);return _0x47754a&&_0x304c46&&_0x2c1e3e(_0x3bd607,_0x463093,_0x304c46),_0x304c46;},_0x558514=(_0x17ca2d,_0x433464)=>(_0x49c189,_0x2f5f0f)=>_0x433464(_0x49c189,_0x2f5f0f,_0x17ca2d);let _0x159580=class extends _0x511a8d[_0x2d2308(0x53d)]{constructor(_0x2f0b97,_0x5a625d,_0x307b09,_0x43e5de,_0xb5c0f0){const _0xe06635=_0x2d2308;super(),_0x3d9158(this,_0xe06635(0x4a6),[]),_0x3d9158(this,'_cursors',[]),(this[_0xe06635(0x289)]=_0x2f0b97,this['_docSkeletonManagerService']=_0x5a625d,this[_0xe06635(0x2ef)]=_0x307b09,this[_0xe06635(0x4c3)]=_0x43e5de,this[_0xe06635(0x1d0)]=_0xb5c0f0,this[_0xe06635(0x3e6)]());}[_0x2d2308(0x3e6)](){const _0x1d8bb0=_0x2d2308,_0x4558de=this['_context']['unitId'],_0xc6e1cf=this[_0x1d8bb0(0x2a3)];this[_0x1d8bb0(0x2c8)](_0x1fcaf6[_0x1d8bb0(0x4cf)]([this[_0x1d8bb0(0x2ef)][_0x1d8bb0(0x22b)](_0x4558de),this[_0x1d8bb0(0x1d0)][_0x1d8bb0(0x472)]])[_0x1d8bb0(0x47e)](_0x5e0e9a['map'](([_0x9ddaf7,_0x1f715f])=>({'skeleton':_0xc6e1cf[_0x1d8bb0(0x468)](),'cursors':[..._0x9ddaf7[_0x1d8bb0(0x220)]()][_0x1d8bb0(0x13d)](_0x86cef6=>({..._0x86cef6,'color':_0x1f715f[_0x86cef6[_0x1d8bb0(0x208)]]}))})))[_0x1d8bb0(0x2a1)](_0x2827f3=>{const _0x3d5b6f=_0x1d8bb0;if(this[_0x3d5b6f(0x1f2)](),_0x2827f3){const {skeleton:_0x336b02,cursors:_0x231a43}=_0x2827f3;this[_0x3d5b6f(0x15e)](_0x336b02,_0x231a43);}})),this['_initResize'](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x5374e1,_0x4ed344){const _0x20ea39=_0x2d2308,{scene:_0x2f29f9,mainComponent:_0x1c8f4f}=this[_0x20ea39(0x289)],_0x535ec3=_0x4ed344[_0x20ea39(0x4fc)](_0x405bb4=>new _0x546d53(_0x405bb4,_0x2f29f9,_0x5374e1,_0x1c8f4f));this[_0x20ea39(0x4a6)]=_0x535ec3,this[_0x20ea39(0x490)]=_0x4ed344;}[_0x2d2308(0x2f7)](){const _0x3a2517=_0x2d2308;this[_0x3a2517(0x1f2)]();const {scene:_0x423f88,mainComponent:_0xf0ed9b}=this[_0x3a2517(0x289)],_0x24af47=this[_0x3a2517(0x2a3)]['getSkeleton'](),_0xd8da26=this[_0x3a2517(0x490)][_0x3a2517(0x4fc)](_0x16dd99=>new _0x546d53(_0x16dd99,_0x423f88,_0x24af47,_0xf0ed9b));this[_0x3a2517(0x4a6)]=_0xd8da26;}[_0x2d2308(0x1f2)](){const _0x2f20f0=_0x2d2308;this[_0x2f20f0(0x4a6)][_0x2f20f0(0x20c)](_0x2cad04=>_0x2cad04[_0x2f20f0(0x2fb)]()),this[_0x2f20f0(0x4a6)]=[];}[_0x2d2308(0x274)](){const _0x23105a=_0x2d2308,_0x3fe4e7=[_0x457ad5['SetDocZoomRatioOperation']['id']];this[_0x23105a(0x2c8)](this[_0x23105a(0x4c3)][_0x23105a(0x2c4)](_0x53e333=>{const _0x469908=_0x23105a;_0x3fe4e7['includes'](_0x53e333['id'])&&_0x53e333['params'][_0x469908(0x4bf)]===this[_0x469908(0x289)][_0x469908(0x4bf)]&&this['_refreshCollabCursors']();}));}[_0x2d2308(0x2ed)](){const _0x1f1da3=_0x2d2308;this[_0x1f1da3(0x2c8)](_0x511a8d[_0x1f1da3(0x4db)](this[_0x1f1da3(0x289)][_0x1f1da3(0x507)][_0x1f1da3(0x4ce)])[_0x1f1da3(0x47e)](_0x5e0e9a[_0x1f1da3(0x44e)](_0x539e17=>_0x539e17['type']===_0x47232b[_0x1f1da3(0x271)]['resize']),_0x5e0e9a[_0x1f1da3(0x549)](0x10))[_0x1f1da3(0x2a1)](()=>{const _0x29dc82=_0x1f1da3;this[_0x29dc82(0x2f7)]();}));}};_0x159580=_0x145335([_0x558514(0x1,_0x511a8d[_0x2d2308(0x4dc)](_0x106b3c[_0x2d2308(0x163)])),_0x558514(0x2,_0x511a8d['Inject'](_0x49b326)),_0x558514(0x3,_0x511a8d[_0x2d2308(0x23a)]),_0x558514(0x4,_0x511a8d['Inject'](_0x511a8d[_0x2d2308(0x3da)]))],_0x159580);const _0x45cdab=0x1,_0x2d7c88=1.5;class _0x2263ad extends _0x47232b['Shape']{constructor(_0x4b0eab,_0x2b38c8){const _0x4e9cb8=_0x2d2308;super(_0x4b0eab,_0x2b38c8),_0x3d9158(this,'_color'),_0x3d9158(this,_0x4e9cb8(0x3f6),!0x1),_0x3d9158(this,_0x4e9cb8(0x54d)),_0x3d9158(this,_0x4e9cb8(0x14e),''),_0x3d9158(this,_0x4e9cb8(0x371),_0x4e9cb8(0x36e)),_0x3d9158(this,_0x4e9cb8(0x168)),(_0x2b38c8&&this['setShapeProps'](_0x2b38c8),this[_0x4e9cb8(0x54e)][_0x4e9cb8(0x1ef)](()=>this[_0x4e9cb8(0x241)]({'hovered':!0x0})),this[_0x4e9cb8(0x524)][_0x4e9cb8(0x1ef)](()=>this[_0x4e9cb8(0x241)]({'hovered':!0x1})));}['setShapeProps'](_0x4c5b2d){const _0x4561b8=_0x2d2308;var _0x4eec4a,_0x27621a,_0x4e4f10,_0x272c04,_0x39a07c,_0x741c8b;this[_0x4561b8(0x2dc)]=(_0x4eec4a=_0x4c5b2d[_0x4561b8(0x208)])!=null?_0x4eec4a:this[_0x4561b8(0x2dc)],this['_hovered']=(_0x27621a=_0x4c5b2d['hovered'])!=null?_0x27621a:this[_0x4561b8(0x3f6)],this[_0x4561b8(0x54d)]=(_0x4e4f10=_0x4c5b2d[_0x4561b8(0x172)])!=null?_0x4e4f10:this['_range'],this[_0x4561b8(0x14e)]=(_0x272c04=_0x4c5b2d[_0x4561b8(0x2e3)])!=null?_0x272c04:this['_name'],this[_0x4561b8(0x371)]=(_0x39a07c=_0x4c5b2d[_0x4561b8(0x198)])!=null?_0x39a07c:this[_0x4561b8(0x371)],this[_0x4561b8(0x168)]=(_0x741c8b=_0x4c5b2d['backgroundColor'])!=null?_0x741c8b:this[_0x4561b8(0x168)],this[_0x4561b8(0x18f)]({'width':_0x4c5b2d[_0x4561b8(0x439)],'height':_0x4c5b2d[_0x4561b8(0x38b)]});}[_0x2d2308(0x161)](_0xe5067b){const _0x157ea3=_0x2d2308,{row:_0x273f7f,column:_0x48f565}=_0xe5067b;if(_0x273f7f>=this['_range']['startRow']&&_0x273f7f<=this['_range']['endRow']&&_0x48f565>=this[_0x157ea3(0x54d)][_0x157ea3(0x44a)]&&_0x48f565<=this['_range']['endColumn']){this[_0x157ea3(0x241)]({'hovered':!0x0});return;}this[_0x157ea3(0x241)]({'hovered':!0x1});}[_0x2d2308(0x1ce)](_0x4e2c82){return!0x1;}[_0x2d2308(0x296)](_0x15a32a){const _0x25f9e4=_0x2d2308;_0x47232b[_0x25f9e4(0x1e6)][_0x25f9e4(0x4d8)](_0x15a32a,{'width':this[_0x25f9e4(0x439)],'height':this[_0x25f9e4(0x38b)],'strokeWidth':_0x2d7c88,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x25f9e4(0x3f6)]&&(_0x15a32a[_0x25f9e4(0x435)](),_0x15a32a[_0x25f9e4(0x4bc)](0x1,0x0,0x0,0x1,this[_0x25f9e4(0x439)],this[_0x25f9e4(0x371)]===_0x25f9e4(0x31d)?0x0:-_0x196038),_0x2545cb[_0x25f9e4(0x4d8)](_0x15a32a,{'text':this[_0x25f9e4(0x14e)],'color':this[_0x25f9e4(0x2dc)]}),_0x15a32a[_0x25f9e4(0x47a)]());}}var _0x3a7446=Object[_0x2d2308(0x210)],_0x4bc42d=Object[_0x2d2308(0x475)],_0x3c82c5=(_0x1ef5ac,_0x45f6a6,_0x1bdf2b,_0x540af8)=>{const _0x3115e1=_0x2d2308;for(var _0x4f9dd8=_0x540af8>0x1?void 0x0:_0x540af8?_0x4bc42d(_0x45f6a6,_0x1bdf2b):_0x45f6a6,_0x3a68fb=_0x1ef5ac[_0x3115e1(0x1e3)]-0x1,_0x5198b6;_0x3a68fb>=0x0;_0x3a68fb--)(_0x5198b6=_0x1ef5ac[_0x3a68fb])&&(_0x4f9dd8=(_0x540af8?_0x5198b6(_0x45f6a6,_0x1bdf2b,_0x4f9dd8):_0x5198b6(_0x4f9dd8))||_0x4f9dd8);return _0x540af8&&_0x4f9dd8&&_0x3a7446(_0x45f6a6,_0x1bdf2b,_0x4f9dd8),_0x4f9dd8;},_0x43abdb=(_0x1ea8b1,_0xe68afa)=>(_0x35b413,_0x3c1158)=>_0xe68afa(_0x35b413,_0x3c1158,_0x1ea8b1);const _0x42c218=0x1389;let _0x3cbad9=class extends _0x511a8d[_0x2d2308(0x53d)]{constructor(_0x170757,_0x39bd21,_0x8efe83,_0x1cc8cb){const _0x46f485=_0x2d2308;super(),_0x3d9158(this,_0x46f485(0x490),new Set()),_0x3d9158(this,'_lastPointer',null),(this[_0x46f485(0x289)]=_0x170757,this[_0x46f485(0x2e4)]=_0x39bd21,this['_collabCursorController']=_0x8efe83,this['_themeService']=_0x1cc8cb,this[_0x46f485(0x3e6)]());}['_init'](){const _0x2110d8=_0x2d2308;this[_0x2110d8(0x2e4)]['currentSkeleton$'][_0x2110d8(0x47e)](_0x5e0e9a['takeUntil'](this[_0x2110d8(0x3af)]),_0x5e0e9a[_0x2110d8(0x138)](_0x2fa758=>{const _0x294ce5=_0x2110d8;if(_0x2fa758){const _0x31d207=_0x2fa758[_0x294ce5(0x413)];return _0x1fcaf6[_0x294ce5(0x4cf)](this[_0x294ce5(0x2ef)][_0x294ce5(0x22b)](this[_0x294ce5(0x289)][_0x294ce5(0x4bf)]),this[_0x294ce5(0x1d0)][_0x294ce5(0x472)])[_0x294ce5(0x47e)](_0x5e0e9a['map'](([_0x2c5898,_0x1a7cbe])=>{const _0x5541ad=_0x294ce5,_0x49ee2a=new Map();return _0x2c5898[_0x5541ad(0x20c)]((_0x21432e,_0x37c9a1)=>{const _0x156250=_0x5541ad;if(_0x21432e[_0x156250(0x21f)]===_0x31d207){const _0x5443e7={..._0x21432e};_0x5443e7['color']=_0x1a7cbe[_0x21432e[_0x156250(0x208)]],_0x49ee2a[_0x156250(0x445)](_0x37c9a1,_0x5443e7);}}),{'skeleton':_0x2fa758,'cursors':_0x49ee2a};}));}return _0x1fcaf6['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x45df7c,cursors:_0xfb5fef})=>{const _0x7bf1ed=_0x2110d8;this[_0x7bf1ed(0x1f2)](),_0x45df7c&&this['_updateCollabCursors'](_0x45df7c,_0xfb5fef);}),this[_0x2110d8(0x2e4)][_0x2110d8(0x143)][_0x2110d8(0x2a1)](_0xa180db=>{const _0x3717ee=_0x2110d8;if(_0xa180db==null)return;const {skeleton:_0x2030d2}=_0xa180db,{scene:_0x52dde2}=this['_context'];_0x52dde2[_0x3717ee(0x2d4)][_0x3717ee(0x1ef)](_0x511a8d[_0x3717ee(0x53f)](_0x25d83e=>{const _0x35ed53=_0x3717ee;var _0x3763d2,_0x3d83ad;const {offsetX:_0x38296a,offsetY:_0x4df0e8}=_0x25d83e,{x:_0x5e2bc3,y:_0x2b7193}=_0x52dde2[_0x35ed53(0x293)](_0x47232b[_0x35ed53(0x140)][_0x35ed53(0x170)]([_0x38296a,_0x4df0e8])),{scaleX:_0x507f79,scaleY:_0x1a810f}=_0x52dde2['getAncestorScale'](),_0x1a8c3d=_0x52dde2[_0x35ed53(0x373)](_0x3beb13[_0x35ed53(0x135)][_0x35ed53(0x55f)]),_0x4e17e2=_0x52dde2[_0x35ed53(0x477)](_0x47232b[_0x35ed53(0x140)][_0x35ed53(0x170)]([_0x5e2bc3,_0x2b7193]),_0x1a8c3d),_0x53ac69=_0x2030d2['getCellPositionByOffset'](_0x38296a,_0x4df0e8,_0x507f79,_0x1a810f,_0x4e17e2);((_0x3763d2=this['_lastPointer'])==null?void 0x0:_0x3763d2[_0x35ed53(0x2c0)])===_0x53ac69[_0x35ed53(0x2c0)]&&((_0x3d83ad=this['_lastPointer'])==null?void 0x0:_0x3d83ad['row'])===_0x53ac69[_0x35ed53(0x15d)]||this[_0x35ed53(0x490)]['forEach'](_0x3f9c1c=>{_0x3f9c1c['onMouseMove'](_0x53ac69);});},0x64));});}[_0x2d2308(0x15e)](_0x2a518d,_0x422ad4){const _0x314906=_0x2d2308;var _0x51153b;const _0x18f929=(_0x51153b=this[_0x314906(0x2e4)][_0x314906(0x27f)]())==null?void 0x0:_0x51153b[_0x314906(0x31a)];if(!_0x18f929)return;const _0x4c7427=this[_0x314906(0x55c)]();if(!_0x4c7427)return;this[_0x314906(0x490)][_0x314906(0x20c)](_0xd873b6=>{_0xd873b6['makeDirty']();});const {scene:_0x16e8c5}=_0x4c7427,_0x4279f7=_0x2074fb(Array['from'](_0x422ad4[_0x314906(0x220)]()))[_0x314906(0x4fc)](_0x11e169=>{const _0x3ea4c5=_0x314906,{color:_0x3dc05e,range:_0x3381e2,name:_0x1afc3a,selection:_0x179411,sheetID:_0x3a552c}=_0x11e169,{startColumn:_0x4eb27b,startRow:_0x36f1b3,endColumn:_0x306bc6,endRow:_0x4b109c}=_0x3381e2,_0x5a04cf=_0x3beb13[_0x3ea4c5(0x2a0)](_0x36f1b3,_0x4eb27b,_0x16e8c5,_0x18f929),_0x594c02=_0x3beb13[_0x3ea4c5(0x2a0)](_0x4b109c,_0x306bc6,_0x16e8c5,_0x18f929),{columnHeaderHeightAndMarginTop:_0x30113e}=_0x18f929,{startX:_0x15395a,startY:_0x11305b}=_0x5a04cf,{endX:_0x38e7b4,endY:_0x3ddc1d}=_0x594c02,_0x70848f=_0x38e7b4-_0x15395a,_0x1e5adf=_0x3ddc1d-_0x11305b,_0x188410={'labelPosition':_0x11305b-_0x30113e>=_0x196038?_0x3ea4c5(0x36e):'bottom','sheetID':_0x3a552c,'range':_0x3381e2,'color':_0x3dc05e,'name':_0x1afc3a,'selection':_0x179411,'left':_0x15395a,'top':_0x11305b,'width':_0x70848f,'height':_0x1e5adf,'evented':!0x1,'zIndex':_0x42c218};return new _0x2263ad(_0x1afc3a,_0x188410);});_0x16e8c5['addObjects'](_0x4279f7,_0x45cdab),this[_0x314906(0x490)]=new Set(_0x4279f7);}[_0x2d2308(0x1f2)](){const _0x4418b2=_0x2d2308;var _0x46c818;(_0x46c818=this['_cursors'])==null||_0x46c818['forEach'](_0x3982be=>_0x3982be[_0x4418b2(0x2fb)]());}[_0x2d2308(0x55c)](){const _0x4f0aec=_0x2d2308;return _0x3beb13[_0x4f0aec(0x534)](this[_0x4f0aec(0x289)][_0x4f0aec(0x3e3)],this[_0x4f0aec(0x289)]);}};_0x3cbad9=_0x3c82c5([_0x43abdb(0x1,_0x511a8d['Inject'](_0x3beb13[_0x2d2308(0x2b1)])),_0x43abdb(0x2,_0x511a8d[_0x2d2308(0x4dc)](_0x49b326)),_0x43abdb(0x3,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d['ThemeService']))],_0x3cbad9);function _0x2074fb(_0x291170){const _0x5ca513=_0x2d2308,_0x3cc3ce=new Map();return _0x291170[_0x5ca513(0x20c)](_0x14418d=>{const _0x501042=_0x5ca513;if(_0x3cc3ce[_0x501042(0x1e0)](_0x14418d[_0x501042(0x1b1)])){const _0x1e3ad2=_0x3cc3ce['get'](_0x14418d['selection']);_0x1e3ad2[_0x501042(0x2e3)]+=',\x20'+_0x14418d[_0x501042(0x2e3)];}else _0x3cc3ce[_0x501042(0x445)](_0x14418d[_0x501042(0x1b1)],_0x14418d);}),Array[_0x5ca513(0x52f)](_0x3cc3ce[_0x5ca513(0x220)]());}var _0x5dcc70=function(){return _0x5dcc70=Object['assign']||function(_0x79acc0){const _0x3481a2=_0x3ba2;for(var _0x205b4e,_0x315f66=0x1,_0xdf60ee=arguments['length'];_0x315f66<_0xdf60ee;_0x315f66++){_0x205b4e=arguments[_0x315f66];for(var _0x42582a in _0x205b4e)Object[_0x3481a2(0x525)][_0x3481a2(0x216)][_0x3481a2(0x2a9)](_0x205b4e,_0x42582a)&&(_0x79acc0[_0x42582a]=_0x205b4e[_0x42582a]);}return _0x79acc0;},_0x5dcc70['apply'](this,arguments);},_0x105884=function(_0x5580f6,_0x20e52c){const _0x1ea473=_0x2d2308;var _0x3fa20d={};for(var _0x266cb3 in _0x5580f6)Object['prototype'][_0x1ea473(0x216)][_0x1ea473(0x2a9)](_0x5580f6,_0x266cb3)&&_0x20e52c[_0x1ea473(0x3db)](_0x266cb3)<0x0&&(_0x3fa20d[_0x266cb3]=_0x5580f6[_0x266cb3]);if(_0x5580f6!=null&&typeof Object[_0x1ea473(0x49a)]==_0x1ea473(0x2d2)){for(var _0x4c94d0=0x0,_0x266cb3=Object[_0x1ea473(0x49a)](_0x5580f6);_0x4c94d0<_0x266cb3[_0x1ea473(0x1e3)];_0x4c94d0++)_0x20e52c[_0x1ea473(0x3db)](_0x266cb3[_0x4c94d0])<0x0&&Object['prototype'][_0x1ea473(0x356)][_0x1ea473(0x2a9)](_0x5580f6,_0x266cb3[_0x4c94d0])&&(_0x3fa20d[_0x266cb3[_0x4c94d0]]=_0x5580f6[_0x266cb3[_0x4c94d0]]);}return _0x3fa20d;},_0x452006=_0x3eadf5['forwardRef'](function(_0x5da351,_0x2abb72){const _0x3695e2=_0x2d2308;var _0x2a7d62=_0x5da351[_0x3695e2(0x20f)],_0x2d0d3f=_0x5da351['id'],_0x3c5b55=_0x5da351[_0x3695e2(0x416)],_0x5b395c=_0x5da351[_0x3695e2(0x263)],_0x41eb03=_0x105884(_0x5da351,[_0x3695e2(0x20f),'id',_0x3695e2(0x416),_0x3695e2(0x263)]),_0x2e0aee=_0x3695e2(0x465)['concat'](_0x2d0d3f,'\x20')[_0x3695e2(0x1b9)](_0x3c5b55||'')[_0x3695e2(0x165)](),_0x3da049=_0x3eadf5[_0x3695e2(0x3ef)]('_'[_0x3695e2(0x1b9)](_0x32a485()));return _0x3a3e09(_0x2a7d62,''[_0x3695e2(0x1b9)](_0x2d0d3f),{'defIds':_0x2a7d62[_0x3695e2(0x3f8)],'idSuffix':_0x3da049[_0x3695e2(0x4d0)]},_0x5dcc70({'ref':_0x2abb72,'className':_0x2e0aee},_0x41eb03),_0x5b395c);});function _0x3a3e09(_0xb6f9e,_0x5ce2f6,_0x2e61a3,_0x3f9e7e,_0x57d04b){const _0x3a7589=_0x2d2308;return _0x3eadf5[_0x3a7589(0x19f)](_0xb6f9e[_0x3a7589(0x533)],_0x5dcc70(_0x5dcc70({'key':_0x5ce2f6},_0x368e79(_0xb6f9e,_0x2e61a3,_0x57d04b)),_0x3f9e7e),(_0x5c9342(_0xb6f9e,_0x2e61a3)[_0x3a7589(0x28b)]||[])[_0x3a7589(0x4fc)](function(_0x194fac,_0x5107f0){const _0x842b3b=_0x3a7589;return _0x3a3e09(_0x194fac,''[_0x842b3b(0x1b9)](_0x5ce2f6,'-')[_0x842b3b(0x1b9)](_0xb6f9e[_0x842b3b(0x533)],'-')[_0x842b3b(0x1b9)](_0x5107f0),_0x2e61a3,void 0x0,_0x57d04b);}));}function _0x368e79(_0x570ae0,_0x34bbb2,_0x427641){const _0x2b90f9=_0x2d2308;var _0x4619ea=_0x5dcc70({},_0x570ae0[_0x2b90f9(0x553)]);_0x427641!=null&&_0x427641[_0x2b90f9(0x40a)]&&_0x4619ea[_0x2b90f9(0x34b)]===_0x2b90f9(0x40a)&&(_0x4619ea['fill']=_0x427641[_0x2b90f9(0x40a)]);var _0x4732f6=_0x34bbb2[_0x2b90f9(0x3f8)];return!_0x4732f6||_0x4732f6[_0x2b90f9(0x1e3)]===0x0||(_0x570ae0[_0x2b90f9(0x533)]===_0x2b90f9(0x4c2)&&_0x4619ea[_0x2b90f9(0x3a6)]&&(_0x4619ea[_0x2b90f9(0x3a6)]=_0x4619ea[_0x2b90f9(0x3a6)]+_0x34bbb2[_0x2b90f9(0x548)]),Object[_0x2b90f9(0x28a)](_0x4619ea)[_0x2b90f9(0x20c)](function(_0x205d56){const _0x8fd0b0=_0x2b90f9;var _0x4e3aa0=_0x205d56[0x0],_0x8eacbf=_0x205d56[0x1];typeof _0x8eacbf==_0x8fd0b0(0x29f)&&(_0x4619ea[_0x4e3aa0]=_0x8eacbf[_0x8fd0b0(0x456)](/url\(#(.*)\)/,_0x8fd0b0(0x420)[_0x8fd0b0(0x1b9)](_0x34bbb2[_0x8fd0b0(0x548)],')')));})),_0x4619ea;}function _0x5c9342(_0x2e0521,_0x96f77d){const _0x243b61=_0x2d2308;var _0x3e0fac,_0xe2709b=_0x96f77d[_0x243b61(0x3f8)];return!_0xe2709b||_0xe2709b[_0x243b61(0x1e3)]===0x0?_0x2e0521:_0x2e0521[_0x243b61(0x533)]==='defs'&&(!((_0x3e0fac=_0x2e0521[_0x243b61(0x28b)])===null||_0x3e0fac===void 0x0)&&_0x3e0fac[_0x243b61(0x1e3)])?_0x5dcc70(_0x5dcc70({},_0x2e0521),{'children':_0x2e0521[_0x243b61(0x28b)][_0x243b61(0x4fc)](function(_0x18a35a){const _0xe67083=_0x243b61;return typeof _0x18a35a[_0xe67083(0x553)]['id']==_0xe67083(0x29f)&&_0xe2709b&&_0xe2709b[_0xe67083(0x3db)](_0x18a35a['attrs']['id'])>-0x1?_0x5dcc70(_0x5dcc70({},_0x18a35a),{'attrs':_0x5dcc70(_0x5dcc70({},_0x18a35a[_0xe67083(0x553)]),{'id':_0x18a35a[_0xe67083(0x553)]['id']+_0x96f77d[_0xe67083(0x548)]})}):_0x18a35a;})}):_0x2e0521;}function _0x32a485(){const _0xcf6427=_0x2d2308;return Math[_0xcf6427(0x3e7)]()[_0xcf6427(0x20d)](0x24)[_0xcf6427(0x34f)](0x2,0x8);}_0x452006[_0x2d2308(0x266)]=_0x2d2308(0x4d4);var _0x26272f={'tag':_0x2d2308(0x421),'attrs':{'fill':_0x2d2308(0x176),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x2d2308(0x191)},'children':[{'tag':'g','attrs':{'clipPath':_0x2d2308(0x3a1)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x2d2308(0x43a),'strokeLinecap':_0x2d2308(0x1c7),'strokeLinejoin':_0x2d2308(0x1c7),'strokeWidth':1.2}}]},{'tag':_0x2d2308(0x3b0),'attrs':{},'children':[{'tag':_0x2d2308(0x24a),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x2d2308(0x427),'d':_0x2d2308(0x221)}}]}]}],'defIds':[_0x2d2308(0x39c)]},_0x19eaa8=_0x3eadf5[_0x2d2308(0x45f)](function(_0x2b6b25,_0x33c341){const _0x1a46ce=_0x2d2308;return _0x3eadf5[_0x1a46ce(0x19f)](_0x452006,Object[_0x1a46ce(0x2e5)]({},_0x2b6b25,{'id':_0x1a46ce(0x504),'ref':_0x33c341,'icon':_0x26272f}));});_0x19eaa8[_0x2d2308(0x266)]='OffLineSingle';var _0x236b57={'tag':_0x2d2308(0x421),'attrs':{'fill':_0x2d2308(0x176),'viewBox':_0x2d2308(0x543),'width':_0x2d2308(0x191),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2d2308(0x1d3)},'children':[{'tag':_0x2d2308(0x331),'attrs':{'stroke':_0x2d2308(0x1d6),'d':_0x2d2308(0x436),'strokeLinecap':_0x2d2308(0x1c7),'strokeLinejoin':_0x2d2308(0x1c7),'strokeWidth':1.2}}]},{'tag':_0x2d2308(0x3b0),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x2d2308(0x331),'attrs':{'fill':'#fff','d':_0x2d2308(0x221),'transform':_0x2d2308(0x181)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x353867=_0x3eadf5[_0x2d2308(0x45f)](function(_0x527833,_0x1067bd){const _0x38f534=_0x2d2308;return _0x3eadf5[_0x38f534(0x19f)](_0x452006,Object[_0x38f534(0x2e5)]({},_0x527833,{'id':_0x38f534(0x470),'ref':_0x1067bd,'icon':_0x236b57}));});_0x353867[_0x2d2308(0x266)]=_0x2d2308(0x43f);function _0x103bcd(_0x5d78e3){const _0x9c6f34=_0x2d2308;var _0x9cdf54,_0x916beb,_0x540dc0='';if(typeof _0x5d78e3==_0x9c6f34(0x29f)||typeof _0x5d78e3==_0x9c6f34(0x303))_0x540dc0+=_0x5d78e3;else{if(typeof _0x5d78e3==_0x9c6f34(0x452)){if(Array['isArray'](_0x5d78e3)){var _0x21254b=_0x5d78e3[_0x9c6f34(0x1e3)];for(_0x9cdf54=0x0;_0x9cdf54<_0x21254b;_0x9cdf54++)_0x5d78e3[_0x9cdf54]&&(_0x916beb=_0x103bcd(_0x5d78e3[_0x9cdf54]))&&(_0x540dc0&&(_0x540dc0+='\x20'),_0x540dc0+=_0x916beb);}else{for(_0x916beb in _0x5d78e3)_0x5d78e3[_0x916beb]&&(_0x540dc0&&(_0x540dc0+='\x20'),_0x540dc0+=_0x916beb);}}}return _0x540dc0;}function _0x53a47e(){const _0x4ce360=_0x2d2308;for(var _0x44e255,_0x2282e7,_0x449a2b=0x0,_0x5efbf6='',_0x9e9b7=arguments[_0x4ce360(0x1e3)];_0x449a2b<_0x9e9b7;_0x449a2b++)(_0x44e255=arguments[_0x449a2b])&&(_0x2282e7=_0x103bcd(_0x44e255))&&(_0x5efbf6&&(_0x5efbf6+='\x20'),_0x5efbf6+=_0x2282e7);return _0x5efbf6;}const _0x239669={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x2d2308(0x205),'onlineStatus':'univer-online-status','online':_0x2d2308(0x4d2),'offline':'univer-offline'};function _0x5e7a02(_0x1956d6){const _0x5193d5=_0x2d2308;switch(_0x1956d6){case _0x437a54[_0x5193d5(0x264)]:return _0x5193d5(0x3e8);case _0x437a54[_0x5193d5(0x262)]:return _0x5193d5(0x144);case _0x437a54[_0x5193d5(0x402)]:return _0x5193d5(0x158);case _0x437a54['NOT_COLLAB']:return _0x5193d5(0x39b);case _0x437a54[_0x5193d5(0x4cc)]:case _0x437a54[_0x5193d5(0x40e)]:case _0x437a54[_0x5193d5(0x306)]:return _0x5193d5(0x3d7);case _0x437a54[_0x5193d5(0x388)]:return _0x5193d5(0x139);}}function _0x572c1f(_0x12ea17){const _0x406f88=_0x2d2308,{status$:_0x3073b5}=_0x12ea17,_0x1c1d23=_0x2fad45[_0x406f88(0x257)](_0x3073b5,_0x437a54['NOT_COLLAB']),_0xfca4b4=_0x511a8d[_0x406f88(0x215)](_0x511a8d[_0x406f88(0x390)]),_0x257eb2=_0x511a8d[_0x406f88(0x215)](_0x5c4621['CollaborationSessionService']),_0x1b1938=_0x1c1d23!==_0x437a54['OFFLINE'],_0x177509=_0xfca4b4['t'](_0x5e7a02(_0x1c1d23)),_0x3953f6=_0x53a47e(_0x239669['onlineStatus'],{[_0x239669[_0x406f88(0x219)]]:_0x1b1938,[_0x239669[_0x406f88(0x1c9)]]:!_0x1b1938}),_0x5a64de=_0x1b1938?_0x3eadf5['createElement'](_0x353867,null):_0x3eadf5[_0x406f88(0x19f)](_0x19eaa8,null),_0x42325c=_0x3eadf5[_0x406f88(0x1e5)](()=>{const _0xdc42e0=_0x406f88;_0x1b1938||_0x257eb2[_0xdc42e0(0x1dc)]();},[_0x1b1938,_0x257eb2]);function _0x3d5412(){const _0x4aa5d9=_0x406f88;return _0x3eadf5[_0x4aa5d9(0x19f)](_0x4aa5d9(0x34c),{'className':_0x3953f6,'onClick':_0x42325c},_0x3eadf5['createElement'](_0x4aa5d9(0x34c),{'className':_0x239669[_0x4aa5d9(0x1a4)]},_0x5a64de),_0x3eadf5['createElement']('div',{'className':_0x239669['onlineStatusTitle']},_0x177509));}return _0x1b1938?_0x3d5412():_0x3eadf5['createElement'](_0x278c7c['Tooltip'],{'title':_0xfca4b4['t'](_0x406f88(0x518))},_0x3d5412());}var _0x57c9a0=Object[_0x2d2308(0x210)],_0x353e8e=Object[_0x2d2308(0x475)],_0x549649=(_0x260198,_0x33e95b,_0x38ea56,_0x4638ce)=>{for(var _0x52d0f3=_0x4638ce>0x1?void 0x0:_0x4638ce?_0x353e8e(_0x33e95b,_0x38ea56):_0x33e95b,_0x38ed50=_0x260198['length']-0x1,_0x4305e3;_0x38ed50>=0x0;_0x38ed50--)(_0x4305e3=_0x260198[_0x38ed50])&&(_0x52d0f3=(_0x4638ce?_0x4305e3(_0x33e95b,_0x38ea56,_0x52d0f3):_0x4305e3(_0x52d0f3))||_0x52d0f3);return _0x4638ce&&_0x52d0f3&&_0x57c9a0(_0x33e95b,_0x38ea56,_0x52d0f3),_0x52d0f3;},_0x51a6c4=(_0x74a8ff,_0x187936)=>(_0x2fb0d4,_0x16a948)=>_0x187936(_0x2fb0d4,_0x16a948,_0x74a8ff);_0x5c4621['DesktopCollaborationStatusDisplayController']=class extends _0x511a8d[_0x2d2308(0x3d6)]{constructor(_0x2cd438,_0x266cc5,_0x2cd0c6,_0x5ee310){const _0x49eb5a=_0x2d2308;super(),_0x3d9158(this,_0x49eb5a(0x311),new _0x1fcaf6['BehaviorSubject'](_0x437a54[_0x49eb5a(0x3f4)])),(this[_0x49eb5a(0x245)]=_0x2cd438,this[_0x49eb5a(0x4fd)]=_0x266cc5,this[_0x49eb5a(0x510)]=_0x2cd0c6,this[_0x49eb5a(0x2df)]=_0x5ee310,this['_initStatusComponent'](),this[_0x49eb5a(0x1ca)]());}['_initStatusListener'](){const _0x169716=_0x2d2308;this['disposeWithMe'](this[_0x169716(0x245)][_0x169716(0x3eb)]['pipe'](_0x1fcaf6[_0x169716(0x138)](()=>{const _0x4441a1=_0x169716,_0x1ce9ad=this[_0x4441a1(0x245)]['getFocusedUnit']();return _0x1ce9ad?this[_0x4441a1(0x2df)]['getCollabEntity$'](_0x1ce9ad[_0x4441a1(0x28d)]()):_0x1fcaf6['of'](null);}),_0x1fcaf6['switchMap'](_0x464803=>_0x464803?_0x464803[_0x169716(0x223)]:_0x1fcaf6['of'](_0x437a54[_0x169716(0x3f4)])))['subscribe'](_0xcee990=>{const _0x3b39f1=_0x169716;this[_0x3b39f1(0x311)][_0x3b39f1(0x535)](_0xcee990);}));}[_0x2d2308(0x494)](){const _0x2b320b=_0x2d2308;this[_0x2b320b(0x2c8)](this[_0x2b320b(0x4fd)][_0x2b320b(0x488)](_0x2fad45[_0x2b320b(0x259)][_0x2b320b(0x4e5)],()=>_0x511a8d[_0x2b320b(0x273)](_0x21e881({'status$':this['_status$']['asObservable']()}),this[_0x2b320b(0x510)])));}},_0x5c4621[_0x2d2308(0x455)]=_0x549649([_0x51a6c4(0x0,_0x511a8d['IUniverInstanceService']),_0x51a6c4(0x1,_0x2fad45[_0x2d2308(0x4ab)]),_0x51a6c4(0x2,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x3b2)])),_0x51a6c4(0x3,_0x511a8d[_0x2d2308(0x4dc)](_0x5c4621[_0x2d2308(0x21b)]))],_0x5c4621['DesktopCollaborationStatusDisplayController']);function _0x21e881(_0x5a3572){const {status$:_0x4a827f}=_0x5a3572;return function(){return _0x3eadf5['createElement'](_0x572c1f,{'status$':_0x4a827f});};}const _0x42f2bb=_0x511a8d[_0x2d2308(0x4be)](_0x2d2308(0x47f));var _0x469143=Object['defineProperty'],_0x2f026f=Object[_0x2d2308(0x475)],_0x2f21f4=(_0x2daceb,_0xf9ba48,_0x444714,_0x4bd688)=>{const _0x99a4be=_0x2d2308;for(var _0x4b169f=_0x4bd688>0x1?void 0x0:_0x4bd688?_0x2f026f(_0xf9ba48,_0x444714):_0xf9ba48,_0x3d9c29=_0x2daceb[_0x99a4be(0x1e3)]-0x1,_0x356b0e;_0x3d9c29>=0x0;_0x3d9c29--)(_0x356b0e=_0x2daceb[_0x3d9c29])&&(_0x4b169f=(_0x4bd688?_0x356b0e(_0xf9ba48,_0x444714,_0x4b169f):_0x356b0e(_0x4b169f))||_0x4b169f);return _0x4bd688&&_0x4b169f&&_0x469143(_0xf9ba48,_0x444714,_0x4b169f),_0x4b169f;},_0x1b9eaa=(_0x2cd46a,_0x43ea02)=>(_0x479b66,_0x3e8582)=>_0x43ea02(_0x479b66,_0x3e8582,_0x2cd46a);_0x5c4621[_0x2d2308(0x280)]=class extends _0x511a8d[_0x2d2308(0x53d)]{constructor(_0x51333c,_0x286ed3,_0x186c30,_0x438535,_0x2f52d2,_0x1ee185){const _0x2c7792=_0x2d2308;super(),this[_0x2c7792(0x25f)]=_0x51333c,this[_0x2c7792(0x54c)]=_0x286ed3,this['_commandService']=_0x186c30,this[_0x2c7792(0x354)]=_0x438535,this[_0x2c7792(0x2ec)]=_0x2f52d2,_0x1ee185?_0x1ee185==null||_0x1ee185[_0x2c7792(0x32e)]()[_0x2c7792(0x14f)](()=>this[_0x2c7792(0x3e6)]()):(this[_0x2c7792(0x54c)][_0x2c7792(0x3f5)]('[DataLoaderController]',_0x2c7792(0x481)),this[_0x2c7792(0x3e6)]());}async[_0x2d2308(0x3e6)](){const _0x2b401b=_0x2d2308,_0x36b4c2=this[_0x2b401b(0x25f)][_0x2b401b(0x128)]('unit'),_0x5cab3c=this[_0x2b401b(0x25f)]['getParam'](_0x2b401b(0x4bb));if(!_0x36b4c2||!_0x5cab3c){this[_0x2b401b(0x54c)][_0x2b401b(0x3f5)](_0x2b401b(0x508),_0x2b401b(0x2b9));return;}switch(Number(_0x5cab3c)){case _0x469253[_0x2b401b(0x1b5)]:{const _0x4d819b=await this['_loadSheet'](_0x36b4c2);this[_0x2b401b(0x36c)](_0x4d819b);break;}case _0x469253['UNIVER_DOC']:{await this[_0x2b401b(0x19b)](_0x36b4c2);break;}default:{this['_logService'][_0x2b401b(0x269)](_0x2b401b(0x508),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async['_setupSubUnitSync'](_0xf8ff98){const _0x26ad79=_0x2d2308;await this['_updateSubUnitFromURLParams'](_0xf8ff98),_0xf8ff98[_0x26ad79(0x556)][_0x26ad79(0x47e)](_0x1fcaf6['takeUntil'](this[_0x26ad79(0x3af)]))['subscribe'](_0x5c3b32=>{_0x5c3b32&&this['_updateURLWithCurrentState'](_0x5c3b32);}),this['_urlService'][_0x26ad79(0x196)]['pipe'](_0x1fcaf6['takeUntil'](this[_0x26ad79(0x3af)]))[_0x26ad79(0x2a1)](()=>this['_updateSubUnitFromURLParams'](_0xf8ff98));}[_0x2d2308(0x27b)](_0x4f048c,_0x2ce6d0=!0x1){const _0x41c81e=_0x2d2308,_0x309206=this[_0x41c81e(0x25f)]['getParam'](_0x41c81e(0x1d2));_0x4f048c[_0x41c81e(0x3df)]()!==_0x309206&&this[_0x41c81e(0x25f)][_0x41c81e(0x233)](_0x41c81e(0x1d2),_0x4f048c[_0x41c81e(0x3df)](),_0x2ce6d0);}async['_updateSubUnitFromURLParams'](_0x2f5125){const _0x280cf6=_0x2d2308;var _0x23f4f9;const _0x3ebad0=this['_urlService'][_0x280cf6(0x128)](_0x280cf6(0x1d2));if(!_0x3ebad0||!_0x2f5125[_0x280cf6(0x30b)](_0x3ebad0)){const _0x22a52a=_0x2f5125[_0x280cf6(0x3a7)]()[0x0],_0x393fd4=_0x2f5125[_0x280cf6(0x30b)](_0x22a52a);if(!_0x393fd4)return;this['_updateURLWithCurrentState'](_0x393fd4,!0x0),await this['_commandService'][_0x280cf6(0x26a)](_0x11a28e['SetWorksheetActivateCommand']['id'],{'unitId':_0x2f5125['getUnitId'](),'subUnitId':_0x22a52a});return;}((_0x23f4f9=_0x2f5125[_0x280cf6(0x317)]())==null?void 0x0:_0x23f4f9[_0x280cf6(0x3df)]())!==_0x3ebad0&&await this[_0x280cf6(0x4c3)][_0x280cf6(0x26a)](_0x11a28e[_0x280cf6(0x36f)]['id'],{'unitId':_0x2f5125[_0x280cf6(0x28d)](),'subUnitId':_0x3ebad0});}async['_loadSheet'](_0x19a21a){const _0x3f48d3=_0x2d2308;let _0x42c7c9=0x0;const _0x45f829=await this['_localCacheService'][_0x3f48d3(0x152)](_0x19a21a);return _0x45f829&&(_0x45f829['awaitingChangeset']||_0x45f829['mutations'][_0x3f48d3(0x1e3)]!==0x0)&&(_0x42c7c9=_0x45f829[_0x3f48d3(0x22f)]),_0x42c7c9===0x0&&this[_0x3f48d3(0x54c)]['debug'](_0x3f48d3(0x508),_0x3f48d3(0x36b)),this[_0x3f48d3(0x2ec)]['loadSheet'](_0x19a21a,_0x42c7c9);}async[_0x2d2308(0x19b)](_0x38c806){const _0x3808de=_0x2d2308;let _0x1098b3=0x0;const _0x2f0327=await this['_localCacheService'][_0x3808de(0x152)](_0x38c806);return _0x2f0327&&(_0x2f0327['awaitingChangeset']||_0x2f0327[_0x3808de(0x1ae)]['length']!==0x0)&&(_0x1098b3=_0x2f0327[_0x3808de(0x22f)]),_0x1098b3===0x0&&this['_logService'][_0x3808de(0x3f5)](_0x3808de(0x508),_0x3808de(0x36b)),this[_0x3808de(0x2ec)][_0x3808de(0x3e2)](_0x38c806,_0x1098b3);}},_0x5c4621[_0x2d2308(0x280)]=_0x2f21f4([_0x1b9eaa(0x0,_0x42f2bb),_0x1b9eaa(0x1,_0x511a8d[_0x2d2308(0x446)]),_0x1b9eaa(0x2,_0x511a8d['ICommandService']),_0x1b9eaa(0x3,_0x511a8d[_0x2d2308(0x4dc)](_0x5c4621[_0x2d2308(0x23d)])),_0x1b9eaa(0x4,_0x511a8d[_0x2d2308(0x4dc)](_0xa51b04[_0x2d2308(0x44b)])),_0x1b9eaa(0x5,_0x511a8d[_0x2d2308(0x2bb)](_0x412353[_0x2d2308(0x48c)]))],_0x5c4621[_0x2d2308(0x280)]);var _0x2ec7c6=Object[_0x2d2308(0x210)],_0xd46654=Object[_0x2d2308(0x475)],_0x453634=(_0x17c9e7,_0x360d35,_0x2158bc,_0x1a84f0)=>{for(var _0x16606b=_0x1a84f0>0x1?void 0x0:_0x1a84f0?_0xd46654(_0x360d35,_0x2158bc):_0x360d35,_0x1d0fb6=_0x17c9e7['length']-0x1,_0x55041d;_0x1d0fb6>=0x0;_0x1d0fb6--)(_0x55041d=_0x17c9e7[_0x1d0fb6])&&(_0x16606b=(_0x1a84f0?_0x55041d(_0x360d35,_0x2158bc,_0x16606b):_0x55041d(_0x16606b))||_0x16606b);return _0x1a84f0&&_0x16606b&&_0x2ec7c6(_0x360d35,_0x2158bc,_0x16606b),_0x16606b;},_0x26f164=(_0x2bcb50,_0x1f95c7)=>(_0x4f8e6f,_0x57a8db)=>_0x1f95c7(_0x4f8e6f,_0x57a8db,_0x2bcb50);const _0x5148c9=_0x2d2308(0x324),_0x304679=_0x2d2308(0x212);let _0x514412=class extends _0x511a8d[_0x2d2308(0x3d6)]{constructor(_0x487ef5,_0x12d285){const _0x1aafca=_0x2d2308;super(),this[_0x1aafca(0x245)]=_0x487ef5,this[_0x1aafca(0x366)]=_0x12d285,this['_init']();}[_0x2d2308(0x3e6)](){const _0x59a40a=_0x2d2308;this[_0x59a40a(0x2c8)](this[_0x59a40a(0x245)][_0x59a40a(0x3eb)][_0x59a40a(0x2a1)](()=>{const _0x380860=_0x59a40a;var _0x522918;const _0x508bd3=this[_0x380860(0x245)]['getFocusedUnit']();let _0x244ef6=(_0x522918=this[_0x380860(0x366)]['getConfig'](_0x5148c9))!=null?_0x522918:_0x304679;_0x508bd3 instanceof _0x511a8d[_0x380860(0x497)]&&(_0x244ef6=_0x508bd3[_0x380860(0x2e3)]),document[_0x380860(0x187)]=_0x244ef6;}));}};_0x514412=_0x453634([_0x26f164(0x0,_0x511a8d[_0x2d2308(0x3ed)]),_0x26f164(0x1,_0x511a8d[_0x2d2308(0x202)])],_0x514412);var _0x5301dd=Object['defineProperty'],_0x5e4cf9=Object[_0x2d2308(0x475)],_0x35827c=(_0x431dc4,_0x10201d,_0x3c1c4c,_0x1df7c3)=>{const _0x3c88f7=_0x2d2308;for(var _0x42239e=_0x1df7c3>0x1?void 0x0:_0x1df7c3?_0x5e4cf9(_0x10201d,_0x3c1c4c):_0x10201d,_0x415d1a=_0x431dc4[_0x3c88f7(0x1e3)]-0x1,_0x366c34;_0x415d1a>=0x0;_0x415d1a--)(_0x366c34=_0x431dc4[_0x415d1a])&&(_0x42239e=(_0x1df7c3?_0x366c34(_0x10201d,_0x3c1c4c,_0x42239e):_0x366c34(_0x42239e))||_0x42239e);return _0x1df7c3&&_0x42239e&&_0x5301dd(_0x10201d,_0x3c1c4c,_0x42239e),_0x42239e;},_0x48b0c2=(_0x211175,_0x40fa51)=>(_0x5955f1,_0x169afc)=>_0x40fa51(_0x5955f1,_0x169afc,_0x211175);let _0x2aa182=class{constructor(_0x497495,_0x43c60c,_0x40e57e){const _0x139328=_0x2d2308;this[_0x139328(0x366)]=_0x497495,this[_0x139328(0x201)]=_0x43c60c,this[_0x139328(0x1b6)]=_0x40e57e,this['init']();}[_0x2d2308(0x41e)](){const _0x2b1c50=_0x2d2308;this[_0x2b1c50(0x201)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x3920be,_0x56cf38)=>_0x56cf38(_0x3920be)[_0x2b1c50(0x47e)](_0x1fcaf6[_0x2b1c50(0x492)](async _0x406492=>{const _0x57823e=_0x2b1c50,_0x487f6f=_0x406492;if(_0x487f6f[_0x57823e(0x166)]===0x191&&window[_0x57823e(0x526)](this[_0x57823e(0x1b6)]['t'](_0x57823e(0x4f7)))){const _0x4131cc=window[_0x57823e(0x178)](window[_0x57823e(0x2ae)]['href']);window[_0x57823e(0x2ae)][_0x57823e(0x14a)]=this[_0x57823e(0x517)]()+_0x57823e(0x425)+_0x4131cc;}return _0x487f6f;}))});}['_getLoginPath'](){const _0x444c0c=_0x2d2308;var _0x594204,_0x24b3a3;const _0x22b416=this[_0x444c0c(0x366)][_0x444c0c(0x12f)](_0x2a4af3),_0x12d239=this[_0x444c0c(0x366)]['getConfig'](_0x29065d);return(_0x24b3a3=(_0x594204=_0x12d239==null?void 0x0:_0x12d239['loginUrlKey'])!=null?_0x594204:_0x22b416)!=null?_0x24b3a3:_0x245c8e;}};_0x2aa182=_0x35827c([_0x48b0c2(0x0,_0x511a8d[_0x2d2308(0x202)]),_0x48b0c2(0x1,_0x511a8d[_0x2d2308(0x4dc)](_0x1ebb7f[_0x2d2308(0x3c2)])),_0x48b0c2(0x2,_0x511a8d['Inject'](_0x511a8d[_0x2d2308(0x390)]))],_0x2aa182);var _0x97814=Object[_0x2d2308(0x210)],_0x469dd5=Object[_0x2d2308(0x475)],_0x1968b6=(_0x1710b8,_0x181878,_0x2853ec,_0x290edb)=>{const _0xa922fd=_0x2d2308;for(var _0x5808b4=_0x290edb>0x1?void 0x0:_0x290edb?_0x469dd5(_0x181878,_0x2853ec):_0x181878,_0x3a21de=_0x1710b8[_0xa922fd(0x1e3)]-0x1,_0x1acf9a;_0x3a21de>=0x0;_0x3a21de--)(_0x1acf9a=_0x1710b8[_0x3a21de])&&(_0x5808b4=(_0x290edb?_0x1acf9a(_0x181878,_0x2853ec,_0x5808b4):_0x1acf9a(_0x5808b4))||_0x5808b4);return _0x290edb&&_0x5808b4&&_0x97814(_0x181878,_0x2853ec,_0x5808b4),_0x5808b4;},_0x235d6f=(_0x5d3b23,_0x3ac755)=>(_0x48b8f1,_0x25a057)=>_0x3ac755(_0x48b8f1,_0x25a057,_0x5d3b23);const _0x50435e='AUTHZ_URL_KEY',_0x290448=_0x2d2308(0x1fc);_0x5c4621[_0x2d2308(0x179)]=class extends _0x511a8d['Disposable']{constructor(_0x284942,_0x486daf){const _0x570ed4=_0x2d2308;super(),this[_0x570ed4(0x428)]=_0x284942,this[_0x570ed4(0x366)]=_0x486daf,this[_0x570ed4(0x2d1)]();}['_initMergeInterceptor'](){const _0x1223b0=_0x2d2308,_0x4681c4=this;this['disposeWithMe'](this[_0x1223b0(0x428)][_0x1223b0(0x1cc)]({'priority':0x3e7,'interceptor':_0x1ebb7f[_0x1223b0(0x516)]({'isMatch'(_0x3eaef0){const _0x3ba710=_0x1223b0;var _0x255a5f;if(_0x3eaef0['method']==='POST'&&((_0x255a5f=_0x3eaef0[_0x3ba710(0x34e)])!=null&&_0x255a5f[_0x3ba710(0x4f8)])){const {objectID:_0x550f63,objectType:_0x25e585}=_0x3eaef0[_0x3ba710(0x34e)][_0x3ba710(0x4f8)]||{};if(!_0x550f63||_0x25e585===void 0x0)return!0x1;const _0xc2bf3=_0x4681c4[_0x3ba710(0x156)]()+'/'+_0x25e585+_0x3ba710(0x360)+_0x550f63+_0x3ba710(0x49b);if(_0x3eaef0['url']===_0xc2bf3)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x42ce3d){const _0x4bbebd=_0x1223b0;var _0x4c3a82;return(_0x4c3a82=_0x42ce3d[_0x4bbebd(0x34e)])==null?void 0x0:_0x4c3a82[_0x4bbebd(0x4f8)];},'mergeParamsToRequest'(_0x2f696b,_0x1d2121){const _0x46f4be=_0x1223b0,_0x1f64fe=_0x4681c4[_0x46f4be(0x156)]()+_0x46f4be(0x2fd),_0x38df01=_0x2f696b[_0x46f4be(0x1fd)]((_0x4d4446,_0x260642)=>{const _0x1a2508=_0x46f4be,{unitID:_0x3ac1de,objectID:_0x25ed38,objectType:_0x2a7480,actions:_0x47c674}=_0x260642;return _0x4d4446[_0x3ac1de]||(_0x4d4446[_0x3ac1de]={}),_0x4d4446[_0x3ac1de][_0x25ed38]||(_0x4d4446[_0x3ac1de][_0x25ed38]={'objectID':_0x25ed38,'objectType':_0x2a7480,'actions':[]}),_0x4d4446[_0x3ac1de][_0x25ed38][_0x1a2508(0x479)][_0x1a2508(0x4c4)](..._0x47c674),_0x4d4446;},{}),_0x6a5653=[];for(const _0x4b7560 in _0x38df01)for(const _0x311605 in _0x38df01[_0x4b7560]){const {actions:_0x1c44e0,objectType:_0x4daa1b}=_0x38df01[_0x4b7560][_0x311605],_0x261e2f=[...new Set(_0x1c44e0)];_0x6a5653[_0x46f4be(0x4c4)]({'unitID':_0x4b7560,'objectID':_0x311605,'objectType':_0x4daa1b,'actions':_0x261e2f});}return new _0x1ebb7f[(_0x46f4be(0x37d))](_0x46f4be(0x33a),_0x1f64fe,{'headers':_0x1d2121[_0x46f4be(0x401)],'withCredentials':_0x1d2121['withCredentials'],'responseType':_0x1d2121[_0x46f4be(0x1d5)],'body':{'requests':_0x6a5653}});}},{'distributeResult'(_0x55eb92,_0x4df1cc){const _0x2020c9=_0x1223b0,{objectActions:_0x253d00}=_0x55eb92;return _0x4df1cc[_0x2020c9(0x4fc)](_0x2056aa=>{const _0x5e475b=_0x2020c9,{unitID:_0x56e000,objectID:_0x4ccf38,actions:_0x5e39f1}=_0x2056aa,_0xa61a64=_0x253d00['find'](_0x4f500d=>_0x4f500d[_0x5e475b(0x14c)]===_0x56e000&&_0x4f500d['objectID']===_0x4ccf38),_0x8b370d=_0x5e39f1[_0x5e475b(0x4fc)](_0x2747a5=>_0xa61a64==null?void 0x0:_0xa61a64['actions'][_0x5e475b(0x38c)](_0x28d949=>_0x28d949[_0x5e475b(0x20e)]===_0x2747a5))[_0x5e475b(0x44e)](_0x4e3d57=>!!_0x4e3d57);return{'config':_0x2056aa,'result':{'actions':_0x8b370d,'error':_0x55eb92['error']}};});}})}));}[_0x2d2308(0x156)](){const _0x5df325=_0x2d2308;var _0x15a7eb,_0x2985ea;const _0x2eccf1=this['_configService'][_0x5df325(0x12f)](_0x50435e),_0x42d4b6=this[_0x5df325(0x366)]['getConfig'](_0x29065d);return(_0x2985ea=(_0x15a7eb=_0x42d4b6==null?void 0x0:_0x42d4b6[_0x5df325(0x4b3)])!=null?_0x15a7eb:_0x2eccf1)!=null?_0x2985ea:_0x290448;}async[_0x2d2308(0x173)](_0x1dacdc){const _0x1bc2f7=_0x2d2308,_0x3bd22f=this[_0x1bc2f7(0x156)]()+'/'+_0x1dacdc[_0x1bc2f7(0x491)]+_0x1bc2f7(0x45d);return(await this[_0x1bc2f7(0x428)][_0x1bc2f7(0x3ec)](_0x3bd22f,{'body':_0x1dacdc}))['body'][_0x1bc2f7(0x2cf)]||'';}async['list'](_0x255d3e){const _0x44f920=_0x2d2308,_0x437de5=this['_getAPIPrefixPath']()+_0x44f920(0x4ca);return(await this[_0x44f920(0x428)][_0x44f920(0x3ec)](_0x437de5,{'body':_0x255d3e}))['body'][_0x44f920(0x4e6)];}async[_0x2d2308(0x4e1)](_0x42510a){const _0x1791c3=_0x2d2308,_0x3d5e48=this['_getAPIPrefixPath']()+'/'+_0x42510a[_0x1791c3(0x491)]+_0x1791c3(0x360)+_0x42510a[_0x1791c3(0x2cf)];await this[_0x1791c3(0x428)][_0x1791c3(0x54f)](_0x3d5e48,{'body':_0x42510a});}async[_0x2d2308(0x4c1)](_0x1391a9){const _0x225213=_0x2d2308,_0x4430ea=this[_0x225213(0x156)]()+'/'+_0x1391a9['objectType']+'/object/'+_0x1391a9[_0x225213(0x2cf)]+_0x225213(0x49b);return(await this[_0x225213(0x428)][_0x225213(0x3ec)](_0x4430ea,{'body':_0x1391a9}))[_0x225213(0x4f8)]['actions'];}async[_0x2d2308(0x307)](_0x205522){const _0xa34cd1=_0x2d2308,_0x108169=this[_0xa34cd1(0x156)]()+_0xa34cd1(0x2fd);return(await this[_0xa34cd1(0x428)][_0xa34cd1(0x3ec)](_0x108169,{'body':{'requests':_0x205522}}))[_0xa34cd1(0x4f8)]['objectActions'];}async[_0x2d2308(0x203)](_0x56669c){const _0xceec82=_0x2d2308,_0x17a652=this[_0xceec82(0x156)]()+'/'+_0x56669c[_0xceec82(0x491)]+'/role',_0xdaebb9=await this[_0xceec82(0x428)][_0xceec82(0x3ec)](_0x17a652,{'body':_0x56669c});return{'roles':_0xdaebb9[_0xceec82(0x4f8)][_0xceec82(0x380)],'actions':_0xdaebb9['body']['actions']};}async[_0x2d2308(0x503)](_0x3e31a9){const _0x87c07f=_0x2d2308,_0x3fca1b=this[_0x87c07f(0x156)]()+_0x87c07f(0x442);await this[_0x87c07f(0x428)][_0x87c07f(0x444)](_0x3fca1b,{'params':{'collaboratorID':_0x3e31a9[_0x87c07f(0x14d)],'objectID':_0x3e31a9[_0x87c07f(0x2cf)],'unitID':_0x3e31a9[_0x87c07f(0x14c)]}});}async[_0x2d2308(0x193)](_0x416c29){const _0x346744=_0x2d2308,_0x578be8=this[_0x346744(0x156)]()+'/collaborator';await this['_HTTPService'][_0x346744(0x53b)](_0x578be8,{'body':_0x416c29});}async['createCollaborator'](_0x458230){const _0x2e2bf7=_0x2d2308,_0x27f335=this[_0x2e2bf7(0x156)]()+_0x2e2bf7(0x442);await this['_HTTPService'][_0x2e2bf7(0x3ec)](_0x27f335,{'body':_0x458230});}async[_0x2d2308(0x2f8)](_0x22ca0b){const _0x3b9173=_0x2d2308,_0x5e8c9d=this[_0x3b9173(0x156)]()+_0x3b9173(0x442);return(await this[_0x3b9173(0x428)][_0x3b9173(0x3bb)](_0x5e8c9d,{'params':{'objectID':_0x22ca0b['objectID'],'unitID':_0x22ca0b['unitID']}}))[_0x3b9173(0x4f8)]['collaborators'];}async[_0x2d2308(0x40b)](_0x4786b7){const _0x37128b=_0x2d2308,_0x460ea9=this['_getAPIPrefixPath']()+_0x37128b(0x442);await this[_0x37128b(0x428)][_0x37128b(0x54f)](_0x460ea9,{'body':_0x4786b7});}},_0x5c4621['AuthzIoHttpService']=_0x1968b6([_0x235d6f(0x0,_0x511a8d[_0x2d2308(0x4dc)](_0x1ebb7f['HTTPService'])),_0x235d6f(0x1,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d['IConfigService']))],_0x5c4621['AuthzIoHttpService']);var _0x339ad7=Object[_0x2d2308(0x210)],_0x37634e=Object['getOwnPropertyDescriptor'],_0x31613e=(_0x327ea8,_0x1628e6,_0x24932b,_0x38123a)=>{const _0x76352=_0x2d2308;for(var _0x285430=_0x38123a>0x1?void 0x0:_0x38123a?_0x37634e(_0x1628e6,_0x24932b):_0x1628e6,_0x547c77=_0x327ea8[_0x76352(0x1e3)]-0x1,_0x5c44f0;_0x547c77>=0x0;_0x547c77--)(_0x5c44f0=_0x327ea8[_0x547c77])&&(_0x285430=(_0x38123a?_0x5c44f0(_0x1628e6,_0x24932b,_0x285430):_0x5c44f0(_0x285430))||_0x285430);return _0x38123a&&_0x285430&&_0x339ad7(_0x1628e6,_0x24932b,_0x285430),_0x285430;},_0x34d565=(_0x38bc7e,_0x4a8fc1)=>(_0x23e2c0,_0x4c8c5e)=>_0x4a8fc1(_0x23e2c0,_0x4c8c5e,_0x38bc7e);let _0x573d34=class{constructor(_0x3745ed){const _0xcb398c=_0x2d2308;this[_0xcb398c(0x201)]=_0x3745ed,this[_0xcb398c(0x278)]();}[_0x2d2308(0x278)](){const _0x5bae97=_0x2d2308;this[_0x5bae97(0x201)][_0x5bae97(0x1cc)]({'interceptor':(_0x378fe5,_0x3b15cc)=>{const _0x3ee2c4=_0x5bae97,_0x16c97c=_0x378fe5[_0x3ee2c4(0x401)],_0x4d7118=_0x42f0df[_0x3ee2c4(0x407)]();return _0x4d7118&&_0x16c97c[_0x3ee2c4(0x445)](_0x3ee2c4(0x1e2),_0x4d7118),_0x3b15cc(_0x378fe5);}});}};_0x573d34=_0x31613e([_0x34d565(0x0,_0x511a8d[_0x2d2308(0x4dc)](_0x1ebb7f[_0x2d2308(0x3c2)]))],_0x573d34);var _0x2d393d=Object[_0x2d2308(0x210)],_0x3de2fb=Object[_0x2d2308(0x475)],_0x396f84=(_0x2177b5,_0x84f058,_0x45f79c,_0x14cd48)=>{const _0x214fde=_0x2d2308;for(var _0x57f759=_0x14cd48>0x1?void 0x0:_0x14cd48?_0x3de2fb(_0x84f058,_0x45f79c):_0x84f058,_0x37cb71=_0x2177b5[_0x214fde(0x1e3)]-0x1,_0x1b6023;_0x37cb71>=0x0;_0x37cb71--)(_0x1b6023=_0x2177b5[_0x37cb71])&&(_0x57f759=(_0x14cd48?_0x1b6023(_0x84f058,_0x45f79c,_0x57f759):_0x1b6023(_0x57f759))||_0x57f759);return _0x14cd48&&_0x57f759&&_0x2d393d(_0x84f058,_0x45f79c,_0x57f759),_0x57f759;},_0x11435c=(_0x17d483,_0x421f3b)=>(_0x247e50,_0x223af4)=>_0x421f3b(_0x247e50,_0x223af4,_0x17d483);const _0x533cb4=['image/png',_0x2d2308(0x4e3),_0x2d2308(0x545),_0x2d2308(0x1b2),_0x2d2308(0x3d9)],_0x3a1b63=0x5*0x400*0x400,_0x1835dd='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x3578fb=_0x2d2308(0x464),_0x1436a3=_0x2d2308(0x3fc),_0x429b74=_0x2d2308(0x27a);_0x5c4621[_0x2d2308(0x3be)]=class{constructor(_0x43a7c7,_0x9e9c70,_0x472a54){const _0x2d6f79=_0x2d2308;_0x3d9158(this,_0x2d6f79(0x1a5),0x0),_0x3d9158(this,_0x2d6f79(0x27d),new _0x1fcaf6['Subject']()),_0x3d9158(this,'change$',this['_change$']),_0x3d9158(this,_0x2d6f79(0x185),new Map()),(this['_httpService']=_0x43a7c7,this[_0x2d6f79(0x366)]=_0x9e9c70,this[_0x2d6f79(0x245)]=_0x472a54);}[_0x2d2308(0x37f)](_0x7e079){const _0x1c160d=_0x2d2308;this[_0x1c160d(0x1a5)]=_0x7e079,this[_0x1c160d(0x27d)][_0x1c160d(0x535)](_0x7e079);}[_0x2d2308(0x3bd)](_0x348d45,_0x4a114f){const _0x2a5ff3=_0x2d2308;if(_0x4a114f===_0x59f075[_0x2a5ff3(0x3fe)][_0x2a5ff3(0x1c8)]){const _0x51ae70=new Image();return _0x51ae70[_0x2a5ff3(0x42c)]=_0x348d45,_0x51ae70;}return this[_0x2a5ff3(0x185)]['get'](_0x348d45);}[_0x2d2308(0x554)](_0x4a833f,_0x46977f,_0x27032){const _0x460ca6=_0x2d2308;_0x46977f===_0x59f075[_0x460ca6(0x3fe)][_0x460ca6(0x1c8)]||_0x27032==null||this['_imageSourceCache'][_0x460ca6(0x445)](_0x4a833f,_0x27032);}async[_0x2d2308(0x372)](_0xcecd3e){const _0x80ce9c=_0x2d2308;try{const _0x22d0ba=this[_0x80ce9c(0x2de)](this[_0x80ce9c(0x511)](),''+_0xcecd3e),_0x4455e6=(await this[_0x80ce9c(0x201)][_0x80ce9c(0x3bb)](_0x22d0ba))[_0x80ce9c(0x4f8)];if(_0x4455e6['error']&&_0x4455e6[_0x80ce9c(0x269)][_0x80ce9c(0x309)]===_0x1c3ffd['OK']){const _0x10725a=new URL(_0x4455e6['url'],this['_getDownloadEndpointURL']())[_0x80ce9c(0x20d)]();return Promise[_0x80ce9c(0x49d)](_0x10725a);}return Promise[_0x80ce9c(0x460)](_0x4455e6[_0x80ce9c(0x269)]);}catch(_0x5e6258){return Promise['reject'](_0x5e6258);}}async[_0x2d2308(0x365)](_0x304425){const _0xcf241=_0x2d2308;let _0x24f79c='';if(!_0x533cb4[_0xcf241(0x3f3)](_0x304425[_0xcf241(0x4bb)]))return this['_decreaseWaiting'](),Promise[_0xcf241(0x460)](new Error(_0x59f075[_0xcf241(0x320)][_0xcf241(0x39f)]));if(_0x304425[_0xcf241(0x195)]>_0x3a1b63)return this['_decreaseWaiting'](),Promise[_0xcf241(0x460)](new Error(_0x59f075[_0xcf241(0x320)][_0xcf241(0x458)]));try{const _0x43706b=new FormData();_0x43706b[_0xcf241(0x4d6)]('file',_0x304425);const _0x2d8867=this[_0xcf241(0x245)][_0xcf241(0x4e8)](),_0x5eb4ac=_0x2d8867==null?void 0x0:_0x2d8867[_0xcf241(0x28d)]();if(!_0x5eb4ac)throw new Error(_0xcf241(0x24d));const _0x13da31=this[_0xcf241(0x4c5)]()+_0xcf241(0x254)+_0x304425['size'][_0xcf241(0x20d)]()+_0xcf241(0x1c3)+_0x344737[_0xcf241(0x231)]+_0xcf241(0x50b)+encodeURIComponent(_0x5eb4ac),_0x1ad197=await(await fetch(_0x13da31,{'method':_0xcf241(0x33a),'body':_0x43706b}))['json']();if(typeof _0x1ad197[_0xcf241(0x377)]!=_0xcf241(0x29f))return this[_0xcf241(0x177)](),Promise['reject'](new Error(_0x59f075['ImageUploadStatusType']['ERROR_IMAGE']));_0x24f79c=_0x1ad197[_0xcf241(0x377)];}catch{return this[_0xcf241(0x177)](),Promise[_0xcf241(0x460)](new Error(_0x59f075[_0xcf241(0x320)][_0xcf241(0x3a2)]));}return new Promise((_0x1750df,_0x95c48)=>{const _0x566b6d=_0xcf241,_0xc02703=new FileReader();_0xc02703[_0x566b6d(0x551)](_0x304425),_0xc02703[_0x566b6d(0x149)]=_0x119a41=>{const _0x13d20e=_0x566b6d;var _0x5b4241;const _0x1f447d=(_0x5b4241=_0x119a41[_0x13d20e(0x1ed)])==null?void 0x0:_0x5b4241[_0x13d20e(0x3ae)];if(_0x1f447d==null){this['_decreaseWaiting'](),_0x95c48(new Error(_0x59f075[_0x13d20e(0x320)]['ERROR_IMAGE']));return;}const _0x309a9f=_0x511a8d[_0x13d20e(0x344)]['generateRandomId'](0x6);_0x1750df({'imageId':_0x309a9f,'imageSourceType':_0x59f075[_0x13d20e(0x3fe)][_0x13d20e(0x47c)],'source':_0x24f79c,'base64Cache':_0x1f447d,'status':_0x59f075[_0x13d20e(0x320)][_0x13d20e(0x547)]}),this['_decreaseWaiting']();};});}[_0x2d2308(0x4c5)](){const _0x153852=_0x2d2308;var _0x515265,_0x4f4316;const _0x19f767=this[_0x153852(0x366)][_0x153852(0x12f)](_0x1835dd),_0x5c1695=this[_0x153852(0x366)]['getConfig'](_0x29065d);return(_0x4f4316=(_0x515265=_0x5c1695==null?void 0x0:_0x5c1695[_0x153852(0x1a9)])!=null?_0x515265:_0x19f767)!=null?_0x4f4316:_0x3578fb;}[_0x2d2308(0x511)](){const _0x2dc6b1=_0x2d2308;var _0x1c64f5,_0x407d8b;const _0x20756b=this[_0x2dc6b1(0x366)][_0x2dc6b1(0x12f)](_0x1436a3),_0x3ea7dd=this[_0x2dc6b1(0x366)][_0x2dc6b1(0x12f)](_0x29065d);return(_0x407d8b=(_0x1c64f5=_0x3ea7dd==null?void 0x0:_0x3ea7dd['signUrlServerUrl'])!=null?_0x1c64f5:_0x20756b)!=null?_0x407d8b:_0x429b74;}[_0x2d2308(0x258)](){const _0x22b555=_0x2d2308;var _0x2d5180;const _0x4c6ec4=this[_0x22b555(0x366)][_0x22b555(0x12f)](_0x29065d);return(_0x2d5180=_0x4c6ec4==null?void 0x0:_0x4c6ec4[_0x22b555(0x1fa)])!=null?_0x2d5180:location['origin'];}['_replaceFileID'](_0x3e9b6d,_0x202b3d){const _0x3067b1=_0x2d2308;return _0x3e9b6d[_0x3067b1(0x456)]('{fileID}',_0x202b3d);}[_0x2d2308(0x177)](){const _0x30be4e=_0x2d2308;this[_0x30be4e(0x1a5)]-=0x1,this[_0x30be4e(0x27d)][_0x30be4e(0x535)](this[_0x30be4e(0x1a5)]);}},_0x5c4621[_0x2d2308(0x3be)]=_0x396f84([_0x11435c(0x0,_0x511a8d['Inject'](_0x1ebb7f[_0x2d2308(0x3c2)])),_0x11435c(0x1,_0x511a8d['IConfigService']),_0x11435c(0x2,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x3ed)]))],_0x5c4621[_0x2d2308(0x3be)]);var _0x4c5131=Object['defineProperty'],_0x986a03=Object[_0x2d2308(0x475)],_0x4ba039=(_0x4a33ef,_0x1dbfc5,_0x269b97,_0x19eb55)=>{const _0x4cb85f=_0x2d2308;for(var _0x4c8109=_0x19eb55>0x1?void 0x0:_0x19eb55?_0x986a03(_0x1dbfc5,_0x269b97):_0x1dbfc5,_0x452fac=_0x4a33ef[_0x4cb85f(0x1e3)]-0x1,_0x2fcf9f;_0x452fac>=0x0;_0x452fac--)(_0x2fcf9f=_0x4a33ef[_0x452fac])&&(_0x4c8109=(_0x19eb55?_0x2fcf9f(_0x1dbfc5,_0x269b97,_0x4c8109):_0x2fcf9f(_0x4c8109))||_0x4c8109);return _0x19eb55&&_0x4c8109&&_0x4c5131(_0x1dbfc5,_0x269b97,_0x4c8109),_0x4c8109;},_0x2a4a72=(_0x4f4a3f,_0x26990b)=>(_0x54695b,_0x60dfde)=>_0x26990b(_0x54695b,_0x60dfde,_0x4f4a3f);let _0x45d885=class extends _0x511a8d[_0x2d2308(0x53d)]{constructor(_0x1e9659,_0x49ae74,_0x345f70,_0x26b3ae,_0x2068d1){const _0x2e01df=_0x2d2308;super(),this[_0x2e01df(0x510)]=_0x1e9659,this[_0x2e01df(0x245)]=_0x49ae74,this[_0x2e01df(0x154)]=_0x345f70,this[_0x2e01df(0x4a3)]=_0x26b3ae,this[_0x2e01df(0x239)]=_0x2068d1,this['_initUnitPermissionChange'](),this[_0x2e01df(0x55a)]();}['_initCloseConn'](){const _0x5e9e14=_0x2d2308,_0x4e6153=async _0x347cf1=>{const _0x578f4b=_0x3ba2;(await this[_0x578f4b(0x4a3)][_0x578f4b(0x137)](_0x347cf1))[_0x578f4b(0x531)][_0x578f4b(0x47e)](_0x5e0e9a[_0x578f4b(0x44e)](_0x43ea56=>_0x43ea56[_0x578f4b(0x175)]===_0xa51b04[_0x578f4b(0x3fa)]['SHOULD_CLOSE_CONN']),_0x5e0e9a[_0x578f4b(0x13e)](this['dispose$']))[_0x578f4b(0x2a1)](_0x230d8b=>{const _0x160f92=_0x578f4b,_0x21af65=_0x230d8b,{reason:_0x250d02}=_0x21af65[_0x160f92(0x142)];this['_injector'][_0x160f92(0x3bb)](_0x2fad45[_0x160f92(0x29a)])[_0x160f92(0x1f7)]({'type':_0x278c7c[_0x160f92(0x33f)][_0x160f92(0x136)],'content':this[_0x160f92(0x239)]['t']('collaboration.closeRoom')+'('+_0x250d02+')'}),this[_0x160f92(0x154)][_0x160f92(0x3b4)](new _0x11a28e['WorkbookEditablePermission'](_0x347cf1)['id'],!0x1),this[_0x160f92(0x4a3)][_0x160f92(0x190)](_0x347cf1);});};_0x1fcaf6['merge'](this[_0x5e9e14(0x245)]['getTypeOfUnitAdded$'](_0x511a8d[_0x5e9e14(0x3bf)][_0x5e9e14(0x1b5)]),this[_0x5e9e14(0x245)][_0x5e9e14(0x2c3)](_0x511a8d['UniverInstanceType'][_0x5e9e14(0x183)]))[_0x5e9e14(0x47e)](_0x5e0e9a[_0x5e9e14(0x4fc)](_0xeb49cf=>_0xeb49cf[_0x5e9e14(0x28d)]()),_0x5e0e9a[_0x5e9e14(0x44e)](_0x46707c=>!_0x511a8d[_0x5e9e14(0x3c6)](_0x46707c)),_0x5e0e9a[_0x5e9e14(0x13e)](this[_0x5e9e14(0x3af)]))[_0x5e9e14(0x2a1)](_0x40ecb0=>{_0x4e6153(_0x40ecb0);});}[_0x2d2308(0x4b4)](){const _0x15a448=_0x2d2308,_0x4909d3=async _0x1abfb3=>{const _0x362bbf=_0x3ba2;(await this[_0x362bbf(0x4a3)]['requireSession'](_0x1abfb3))['event$'][_0x362bbf(0x47e)](_0x5e0e9a[_0x362bbf(0x44e)](_0xdae62a=>_0xdae62a[_0x362bbf(0x175)]===_0xa51b04[_0x362bbf(0x3fa)][_0x362bbf(0x44d)]),_0x5e0e9a[_0x362bbf(0x13e)](this[_0x362bbf(0x3af)]))[_0x362bbf(0x2a1)](_0x5cb4cd=>{const _0x17701f=_0x362bbf,_0x8a9fc7=_0x5cb4cd,{objectId:_0x27df7d}=_0x8a9fc7['data'],_0x1dd343=this['_injector'][_0x17701f(0x3bb)](_0x3beb13[_0x17701f(0x35a)]);_0x27df7d===_0x1abfb3?_0x1dd343[_0x17701f(0x304)](_0x1abfb3):_0x1dd343[_0x17701f(0x40d)](_0x1abfb3,_0x27df7d);});};_0x1fcaf6[_0x15a448(0x240)](this[_0x15a448(0x245)][_0x15a448(0x2c3)](_0x511a8d['UniverInstanceType'][_0x15a448(0x1b5)]),this[_0x15a448(0x245)][_0x15a448(0x2c3)](_0x511a8d['UniverInstanceType']['UNIVER_DOC']))[_0x15a448(0x47e)](_0x5e0e9a[_0x15a448(0x4fc)](_0x5302f4=>_0x5302f4[_0x15a448(0x28d)]()),_0x5e0e9a[_0x15a448(0x44e)](_0x598a7c=>!_0x511a8d[_0x15a448(0x3c6)](_0x598a7c)),_0x5e0e9a[_0x15a448(0x13e)](this[_0x15a448(0x3af)]))[_0x15a448(0x2a1)](_0xbe665e=>{_0x4909d3(_0xbe665e);});}};_0x45d885=_0x4ba039([_0x2a4a72(0x0,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d['Injector'])),_0x2a4a72(0x1,_0x511a8d[_0x2d2308(0x3ed)]),_0x2a4a72(0x2,_0x511a8d[_0x2d2308(0x3d5)]),_0x2a4a72(0x3,_0x511a8d[_0x2d2308(0x4dc)](_0x5c4621[_0x2d2308(0x12a)])),_0x2a4a72(0x4,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x390)]))],_0x45d885);var _0x10dff5=Object['defineProperty'],_0x29682c=Object[_0x2d2308(0x475)],_0x7e1e0c=(_0x5f5ccc,_0x3a8abf,_0x16440f,_0xf8f283)=>{const _0x3697a0=_0x2d2308;for(var _0x1b5ad1=_0xf8f283>0x1?void 0x0:_0xf8f283?_0x29682c(_0x3a8abf,_0x16440f):_0x3a8abf,_0x3bfced=_0x5f5ccc[_0x3697a0(0x1e3)]-0x1,_0x5f24ed;_0x3bfced>=0x0;_0x3bfced--)(_0x5f24ed=_0x5f5ccc[_0x3bfced])&&(_0x1b5ad1=(_0xf8f283?_0x5f24ed(_0x3a8abf,_0x16440f,_0x1b5ad1):_0x5f24ed(_0x1b5ad1))||_0x1b5ad1);return _0xf8f283&&_0x1b5ad1&&_0x10dff5(_0x3a8abf,_0x16440f,_0x1b5ad1),_0x1b5ad1;},_0x1769ab=(_0x5ed7ba,_0x34a59c)=>(_0x1cd0a8,_0x1c4322)=>_0x34a59c(_0x1cd0a8,_0x1c4322,_0x5ed7ba);_0x5c4621[_0x2d2308(0x37e)]=class{constructor(_0x404669,_0x542866){const _0x54d7f0=_0x2d2308;this['_configService']=_0x404669,this[_0x54d7f0(0x201)]=_0x542866;}async[_0x2d2308(0x155)](_0xf9ced0,_0x19ed1e){const _0x319ca4=_0x2d2308;var _0x495a5b;const {unitID:_0x2b0771,type:_0x21f3b5,revision:_0x2f0cf7=0x0}=_0x19ed1e,_0x48be11=this[_0x319ca4(0x174)]()+'/'+_0x21f3b5+'/unit/'+_0x2b0771+_0x319ca4(0x12d)+_0x2f0cf7,_0x18a47e=(await this[_0x319ca4(0x201)]['get'](_0x48be11))[_0x319ca4(0x4f8)],_0x112eaa=(_0x495a5b=_0x18a47e[_0x319ca4(0x53e)])==null?void 0x0:_0x495a5b[_0x319ca4(0x3c7)];if(_0x112eaa){const _0x301b0e=_0x112eaa==null?void 0x0:_0x112eaa[_0x319ca4(0x40f)],_0x457e01=_0xa51b04[_0x319ca4(0x29e)]['encode'](_0xa51b04['b64DecodeUnicode'](_0x301b0e));_0x112eaa[_0x319ca4(0x40f)]=_0x457e01,Object['entries'](_0x112eaa[_0x319ca4(0x299)])[_0x319ca4(0x20c)](([,_0x36415c])=>{const _0x21798a=_0x319ca4,_0x3b6280=_0x36415c[_0x21798a(0x40f)],_0x23c74e=_0xa51b04[_0x21798a(0x29e)]['encode'](_0xa51b04[_0x21798a(0x290)](_0x3b6280));_0x36415c['originalMeta']=_0x23c74e;});}return _0x18a47e;}async['getSheetBlock'](_0x79e210,_0x172086){const _0x266bd2=_0x2d2308,{unitID:_0x307094,type:_0x152070,blockID:_0x3501b1}=_0x172086,_0x1f1f37=this[_0x266bd2(0x321)]()+'/'+_0x152070+_0x266bd2(0x232)+_0x307094+_0x266bd2(0x46f)+_0x3501b1;return(await this[_0x266bd2(0x201)]['get'](_0x1f1f37))[_0x266bd2(0x4f8)];}async[_0x2d2308(0x30a)](_0x4b21f3,_0x53483d){const _0x22c417=_0x2d2308,{unitID:_0x249155,type:_0x3697ba,blockID:_0x2ce420}=_0x53483d,_0x3cd3af=this[_0x22c417(0x321)]()+_0x22c417(0x46f)+_0x3697ba+_0x22c417(0x232)+_0x249155+_0x22c417(0x46f)+_0x2ce420;return(await this[_0x22c417(0x201)]['get'](_0x3cd3af))['body'];}async[_0x2d2308(0x2fa)](_0x27dce8,_0x3c1c57){const _0x5995b6=_0x2d2308,{unitID:_0x3115fc,type:_0x369d59,from:_0x3e464b,to:_0x6b72ab}=_0x3c1c57,_0x1cb56e=this[_0x5995b6(0x321)]()+'/'+_0x369d59+_0x5995b6(0x232)+_0x3115fc+_0x5995b6(0x17c)+_0x3e464b+'&to='+_0x6b72ab;return(await this[_0x5995b6(0x201)]['get'](_0x1cb56e))[_0x5995b6(0x4f8)];}[_0x2d2308(0x174)](){const _0x56edbf=_0x2d2308;var _0x4adb8;return(_0x4adb8=this['_configService'][_0x56edbf(0x12f)](_0x72d972))!=null?_0x4adb8:this['_getAPIPrefix']();}[_0x2d2308(0x321)](){const _0x58f0f8=_0x2d2308;var _0x700043,_0x1d05b0;const _0x172ca7=this['_configService']['getConfig'](_0x336d9b),_0x49ba65=this[_0x58f0f8(0x366)]['getConfig'](_0x29065d);return(_0x1d05b0=(_0x700043=_0x49ba65==null?void 0x0:_0x49ba65[_0x58f0f8(0x42d)])!=null?_0x700043:_0x172ca7)!=null?_0x1d05b0:_0x466325;}async[_0x2d2308(0x18d)](_0x5c5d33,_0x12fdb5){const _0x5405b=_0x2d2308,_0xbbb801=_0x5405b(0x188)+_0x12fdb5[_0x5405b(0x4bb)]+'/unit/'+_0x12fdb5[_0x5405b(0x14c)]+_0x5405b(0x16a);return(await this['_httpService'][_0x5405b(0x3bb)](_0xbbb801,{'params':{'resourceId':JSON['stringify'](_0x12fdb5[_0x5405b(0x2d8)])}}))[_0x5405b(0x4f8)];}[_0x2d2308(0x123)](){const _0x18d725=_0x2d2308;throw new Error(_0x18d725(0x400));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){const _0x11b9ed=_0x2d2308;throw new Error(_0x11b9ed(0x400));}[_0x2d2308(0x391)](){const _0xdcec2e=_0x2d2308;throw new Error(_0xdcec2e(0x400));}},_0x5c4621[_0x2d2308(0x37e)]=_0x7e1e0c([_0x1769ab(0x0,_0x511a8d[_0x2d2308(0x202)]),_0x1769ab(0x1,_0x511a8d[_0x2d2308(0x4dc)](_0x1ebb7f[_0x2d2308(0x3c2)]))],_0x5c4621[_0x2d2308(0x37e)]);var _0x1153dd=Object['defineProperty'],_0x21f090=Object['getOwnPropertyDescriptor'],_0x3d2870=(_0x479e24,_0x51d72f,_0x37d780,_0x35fcd9)=>{const _0x1c6ca9=_0x2d2308;for(var _0xca1a87=_0x35fcd9>0x1?void 0x0:_0x35fcd9?_0x21f090(_0x51d72f,_0x37d780):_0x51d72f,_0x3970cb=_0x479e24[_0x1c6ca9(0x1e3)]-0x1,_0x495032;_0x3970cb>=0x0;_0x3970cb--)(_0x495032=_0x479e24[_0x3970cb])&&(_0xca1a87=(_0x35fcd9?_0x495032(_0x51d72f,_0x37d780,_0xca1a87):_0x495032(_0xca1a87))||_0xca1a87);return _0x35fcd9&&_0xca1a87&&_0x1153dd(_0x51d72f,_0x37d780,_0xca1a87),_0xca1a87;},_0x1f102c=(_0xcb20cd,_0xb50420)=>(_0x10896a,_0x2a561e)=>_0xb50420(_0x10896a,_0x2a561e,_0xcb20cd);let _0x37b1cd=class extends _0x511a8d[_0x2d2308(0x2c9)]{constructor(_0x22fb53,_0x2910d8,_0x6b2eb3,_0x348343,_0xa24e0b){const _0x2aa89f=_0x2d2308;super(_0x22fb53,_0x2910d8,_0x6b2eb3),this['_transformService']=_0x348343,this[_0x2aa89f(0x54c)]=_0xa24e0b;}['transformUndoRedo'](_0x399748,_0x54666d){const _0x3c7b18=_0x2d2308,_0x517aff=this['_getUndoStack'](_0x399748);if(_0x517aff)try{const _0x331b37=this['_transformStack'](_0x517aff,_0x54666d);this[_0x3c7b18(0x1cb)](_0x399748,_0x331b37);}catch(_0x30ead1){this['_logService'][_0x3c7b18(0x269)]('[CollaborationUndoRedoService]',_0x30ead1),this['_clearUndo'](_0x399748);}const _0x326993=this['_getRedoStack'](_0x399748);if(_0x326993)try{const _0x296945=this[_0x3c7b18(0x194)](_0x326993,_0x54666d);this[_0x3c7b18(0x130)](_0x399748,_0x296945);}catch(_0x5a2c80){this[_0x3c7b18(0x54c)]['error'](_0x5a2c80),this[_0x3c7b18(0x3f1)](_0x399748);}}[_0x2d2308(0x16c)](_0x1720ae){const _0x5a5b05=_0x2d2308,_0x3343bc=this[_0x5a5b05(0x16f)](_0x1720ae);_0x3343bc&&(_0x3343bc[_0x5a5b05(0x1e3)]=0x0,this[_0x5a5b05(0x417)]());}[_0x2d2308(0x3f1)](_0x4de766){const _0x1aba89=_0x2d2308,_0x43d2c8=this[_0x1aba89(0x12e)](_0x4de766);_0x43d2c8&&(_0x43d2c8[_0x1aba89(0x1e3)]=0x0,this[_0x1aba89(0x417)]());}[_0x2d2308(0x1cb)](_0x168a2,_0x7ca403){const _0x42742f=_0x2d2308;this[_0x42742f(0x4ee)][_0x42742f(0x445)](_0x168a2,_0x7ca403),this[_0x42742f(0x417)]();}[_0x2d2308(0x130)](_0x597a58,_0x446a38){const _0x2cd68e=_0x2d2308;this[_0x2cd68e(0x51a)][_0x2cd68e(0x445)](_0x597a58,_0x446a38),this['_updateStatus']();}[_0x2d2308(0x194)](_0x32f460,_0x150281){const _0x3e8330=_0x2d2308,_0x1f5c9e=[];let _0x4c64e3=_0x150281,_0x53e4f1=_0x150281;for(let _0x249df2=_0x32f460[_0x3e8330(0x1e3)]-0x1;_0x249df2>=0x0;_0x249df2--){const {unitID:_0x2877e3,undoMutations:_0x3b9c3c,redoMutations:_0x1cdd0e}=_0x32f460[_0x249df2],_0x404709=this['_transformService'][_0x3e8330(0x242)](_0x4c64e3,_0x3b9c3c),_0x1b9152=this['_transformService'][_0x3e8330(0x242)](_0x53e4f1,_0x1cdd0e);if(_0xa51b04[_0x3e8330(0x4cd)](_0x404709)||_0xa51b04[_0x3e8330(0x4cd)](_0x1b9152)){this[_0x3e8330(0x54c)][_0x3e8330(0x269)](_0x3e8330(0x250),'transformStack\x20failed!',_0x404709,_0x1b9152);break;}_0x4c64e3=_0x404709[_0x3e8330(0x1ff)],_0x53e4f1=_0x1b9152['c1Prime'],_0x1f5c9e[_0x3e8330(0x4c4)]({'unitID':_0x2877e3,'undoMutations':_0x404709['m2Prime'],'redoMutations':_0x1b9152[_0x3e8330(0x12b)]});}return _0x1f5c9e[_0x3e8330(0x520)]();}};_0x37b1cd=_0x3d2870([_0x1f102c(0x0,_0x511a8d[_0x2d2308(0x3ed)]),_0x1f102c(0x1,_0x511a8d[_0x2d2308(0x23a)]),_0x1f102c(0x2,_0x511a8d[_0x2d2308(0x466)]),_0x1f102c(0x3,_0xa51b04[_0x2d2308(0x2a2)]),_0x1f102c(0x4,_0x511a8d[_0x2d2308(0x446)])],_0x37b1cd);class _0x41bbd2 extends _0x511a8d[_0x2d2308(0x53d)]{constructor(){const _0x8c1398=_0x2d2308;super(),_0x3d9158(this,'urlChange$'),this[_0x8c1398(0x196)]=_0x1fcaf6[_0x8c1398(0x409)](window,_0x8c1398(0x50f))[_0x8c1398(0x47e)](_0x1fcaf6[_0x8c1398(0x13e)](this[_0x8c1398(0x3af)]),_0x1fcaf6[_0x8c1398(0x17a)](0x1),_0x1fcaf6[_0x8c1398(0x3c3)](void 0x0));}['setParam'](_0x386f5d,_0x59bbe7,_0x3c029d=!0x1){const _0x570564=_0x2d2308,_0x332eeb=new URL(window[_0x570564(0x2ae)][_0x570564(0x14a)]);_0x332eeb['searchParams'][_0x570564(0x445)](_0x386f5d,_0x59bbe7),_0x3c029d?window['history']['replaceState']('','',_0x332eeb['toString']()):window[_0x570564(0x423)][_0x570564(0x1e7)]('','',_0x332eeb[_0x570564(0x20d)]());}[_0x2d2308(0x375)](_0x40e52a,_0x1c24ab=!0x1){const _0x1caeff=_0x2d2308,_0x30ea1f=new URL(window['location'][_0x1caeff(0x14a)]);_0x30ea1f[_0x1caeff(0x122)][_0x1caeff(0x444)](_0x40e52a),_0x1c24ab?window[_0x1caeff(0x423)][_0x1caeff(0x1ec)]('','',_0x30ea1f[_0x1caeff(0x20d)]()):window[_0x1caeff(0x423)][_0x1caeff(0x1e7)]('','',_0x30ea1f[_0x1caeff(0x20d)]());}[_0x2d2308(0x128)](_0x30ec23){const _0x162e89=_0x2d2308;var _0x51f526;return(_0x51f526=new URL(window['location']['href'])[_0x162e89(0x122)]['get'](_0x30ec23))!=null?_0x51f526:void 0x0;}}var _0x401616=Object[_0x2d2308(0x210)],_0x2ebab4=Object[_0x2d2308(0x475)],_0x334f51=(_0x4fec1a,_0x32a788,_0x42f849)=>_0x32a788 in _0x4fec1a?_0x401616(_0x4fec1a,_0x32a788,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x42f849}):_0x4fec1a[_0x32a788]=_0x42f849,_0x54455c=(_0x24536f,_0x1f620e,_0x3f3461,_0x404a18)=>{for(var _0x3a45c6=_0x404a18>0x1?void 0x0:_0x404a18?_0x2ebab4(_0x1f620e,_0x3f3461):_0x1f620e,_0x4cab20=_0x24536f['length']-0x1,_0x1e78e8;_0x4cab20>=0x0;_0x4cab20--)(_0x1e78e8=_0x24536f[_0x4cab20])&&(_0x3a45c6=(_0x404a18?_0x1e78e8(_0x1f620e,_0x3f3461,_0x3a45c6):_0x1e78e8(_0x3a45c6))||_0x3a45c6);return _0x404a18&&_0x3a45c6&&_0x401616(_0x1f620e,_0x3f3461,_0x3a45c6),_0x3a45c6;},_0x30d3e7=(_0x3be3de,_0x17431e)=>(_0x4840aa,_0x13f5f0)=>_0x17431e(_0x4840aa,_0x13f5f0,_0x3be3de),_0x21a741=(_0x47be1c,_0x5c90ca,_0xb2ba)=>_0x334f51(_0x47be1c,_0x5c90ca+'',_0xb2ba);const _0x36a621=_0x2d2308(0x4e9);_0x5c4621[_0x2d2308(0x313)]=class extends _0x511a8d['Plugin']{constructor(_0x227d35=_0x3a5c9a,_0x3aa2bc,_0x1fcfe0,_0x325a7c,_0x4236eb){const _0x3397f8=_0x2d2308;super(),this[_0x3397f8(0x537)]=_0x227d35,this[_0x3397f8(0x54c)]=_0x3aa2bc,this[_0x3397f8(0x16d)]=_0x1fcfe0,this[_0x3397f8(0x510)]=_0x325a7c,this['_configService']=_0x4236eb;const {..._0x42ec15}=this[_0x3397f8(0x537)];this[_0x3397f8(0x366)]['setConfig'](_0x29065d,_0x42ec15);}[_0x2d2308(0x42a)](){const _0x509afa=_0x2d2308;this[_0x509afa(0x33e)](),_0x511a8d[_0x509afa(0x32b)](this[_0x509afa(0x510)],[[_0x49b326],[_0x5c4621[_0x509afa(0x280)]],[_0x45d885]]);}[_0x2d2308(0x22c)](){const _0x5569f3=_0x2d2308;_0x511a8d[_0x5569f3(0x32b)](this[_0x5569f3(0x510)],[[_0x514412]]);}[_0x2d2308(0x55b)](){const _0x2a9244=_0x2d2308;this[_0x2a9244(0x3d3)]();}[_0x2d2308(0x33e)](){const _0x14433a=_0x2d2308;var _0x3f8524,_0x167fb5,_0x74d491,_0x441231;this[_0x14433a(0x510)][_0x14433a(0x1e0)](_0x511a8d['IUndoRedoService'])&&this[_0x14433a(0x54c)][_0x14433a(0x269)](_0x14433a(0x3fd),_0x14433a(0x341));let _0x15be73=[[_0x511a8d[_0x14433a(0x2ff)],{'useClass':_0x37b1cd}],[_0x5c4621[_0x14433a(0x12a)]],[_0x239f11],[_0x1ebb7f['HTTPService']],[_0x42f2bb,{'useClass':_0x41bbd2}],[_0x301ed0],[_0x5c4621['LocalCacheService']],[_0x1ebb7f['WebSocketService']],[_0x319bda],[_0x319bd7],[_0x4b8bdd],[_0x57cbd1],[_0x2aa182],[_0x573d34],[_0x27c664],[_0x45d885],[_0x2c20a1,{'useClass':(_0x167fb5=(_0x3f8524=this[_0x14433a(0x537)])==null?void 0x0:_0x3f8524['socketService'])!=null?_0x167fb5:_0x5c4621[_0x14433a(0x21c)]}],[_0x1ebb7f[_0x14433a(0x32c)],{'useClass':_0x1ebb7f['XHRHTTPImplementation']}],[_0xa51b04['ISnapshotServerService'],{'useClass':_0x5c4621[_0x14433a(0x37e)]}],[_0x511a8d['IAuthzIoService'],{'useClass':_0x5c4621['AuthzIoHttpService']}],[_0x59f075[_0x14433a(0x3ad)],{'useClass':_0x5c4621['ImageIoService']}],[_0x5c4621['CollaborationController']],[_0x5c4621[_0x14433a(0x280)]],[_0x5c4621[_0x14433a(0x455)]],[_0x514412],[_0x49b326]];(_0x74d491=this[_0x14433a(0x537)])!=null&&_0x74d491[_0x14433a(0x42f)]&&_0x15be73[_0x14433a(0x4c4)]([_0x484b6f,{'useClass':_0xdbad05}]),_0x15be73=_0x511a8d[_0x14433a(0x2d3)](_0x15be73,(_0x441231=this[_0x14433a(0x537)])==null?void 0x0:_0x441231['override']),_0x15be73[_0x14433a(0x20c)](_0xf4e848=>this[_0x14433a(0x510)][_0x14433a(0x2fc)](_0xf4e848)),this[_0x14433a(0x288)]();}[_0x2d2308(0x3d3)](){const _0x31ead2=_0x2d2308;this['disposeWithMe'](this[_0x31ead2(0x16d)][_0x31ead2(0x275)](_0x511a8d['UniverInstanceType'][_0x31ead2(0x183)],[_0x159580])),this[_0x31ead2(0x2c8)](this['_renderManagerService']['registerRenderModule'](_0x511a8d['UniverInstanceType'][_0x31ead2(0x1b5)],[_0x3cbad9]));}[_0x2d2308(0x288)](){const _0x544fee=_0x2d2308;var _0x33cfc4,_0x48b443;this[_0x544fee(0x510)][_0x544fee(0x3bb)](_0x1ebb7f[_0x544fee(0x3c2)])[_0x544fee(0x1cc)]({'priority':0x14,'interceptor':_0x1ebb7f[_0x544fee(0x3c4)]({'maxParallel':0x6})}),this[_0x544fee(0x510)]['get'](_0x573d34),(_0x33cfc4=this[_0x544fee(0x537)])!=null&&_0x33cfc4[_0x544fee(0x35c)]||this[_0x544fee(0x510)][_0x544fee(0x3bb)](_0x5c4621['LocalCacheService'])['disableLocalCache'](),(_0x48b443=this[_0x544fee(0x537)])!=null&&_0x48b443[_0x544fee(0x4fa)]&&this[_0x544fee(0x510)][_0x544fee(0x3bb)](_0x2aa182),this['_injector']['get'](_0x5c4621['CollaborationController']),this[_0x544fee(0x510)][_0x544fee(0x1e0)](_0x5c4621['DesktopCollaborationStatusDisplayController'])&&this[_0x544fee(0x510)][_0x544fee(0x3bb)](_0x5c4621['DesktopCollaborationStatusDisplayController']);}},_0x21a741(_0x5c4621[_0x2d2308(0x313)],_0x2d2308(0x2ca),_0x36a621),_0x5c4621[_0x2d2308(0x313)]=_0x54455c([_0x511a8d[_0x2d2308(0x415)](_0xa51b04[_0x2d2308(0x243)]),_0x30d3e7(0x1,_0x511a8d[_0x2d2308(0x446)]),_0x30d3e7(0x2,_0x47232b['IRenderManagerService']),_0x30d3e7(0x3,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d['Injector'])),_0x30d3e7(0x4,_0x511a8d[_0x2d2308(0x202)])],_0x5c4621[_0x2d2308(0x313)]),_0x5c4621[_0x2d2308(0x23b)]=_0x50435e,_0x5c4621[_0x2d2308(0x1e1)]=_0xea8175,_0x5c4621[_0x2d2308(0x20a)]=_0x54e241,_0x5c4621[_0x2d2308(0x15f)]=_0x437a54,_0x5c4621[_0x2d2308(0x349)]=_0x572c1f,_0x5c4621['CommentService']=_0x27c664,_0x5c4621[_0x2d2308(0x3f9)]=_0x10436f,_0x5c4621[_0x2d2308(0x4b6)]=_0x5c3ac2,_0x5c4621[_0x2d2308(0x386)]=_0x2c20a1,_0x5c4621[_0x2d2308(0x206)]=_0x42f2bb,_0x5c4621[_0x2d2308(0x18c)]=_0x4bff9a,_0x5c4621['LOGIN_URL_KEY']=_0x2a4af3,_0x5c4621[_0x2d2308(0x441)]=_0x4afa7a,_0x5c4621['SEND_CHANGESET_TIMEOUT_KEY']=_0x531fe2,_0x5c4621[_0x2d2308(0x200)]=_0x336d9b,_0x5c4621[_0x2d2308(0x2ee)]=_0x72d972,_0x5c4621[_0x2d2308(0x376)]=_0x3c28c2,_0x5c4621[_0x2d2308(0x17e)]=_0x2263ad,_0x5c4621[_0x2d2308(0x3b7)]=_0x41bbd2,_0x5c4621[_0x2d2308(0x4fe)]=_0x5718d6,_0x5c4621['serializeCombRequest']=_0x4b39ba,Object['defineProperty'](_0x5c4621,Symbol[_0x2d2308(0x253)],{'value':_0x2d2308(0x515)});}));function _0x3ba2(_0x257304,_0x47d538){const _0x504727=_0x5047();return _0x3ba2=function(_0x3ba272,_0x107d4a){_0x3ba272=_0x3ba272-0x122;let _0x134160=_0x504727[_0x3ba272];return _0x134160;},_0x3ba2(_0x257304,_0x47d538);}function _0x5047(){const _0x977508=['min','refreshPermission','AWAITING','originalMeta','collab-text-range-','_queuedRemoteChangesets','_handleEvent','sheetId','@univerjs/design','DependentOn','className','_updateStatus','_singleActiveUnitService','COLORS','state','_handleHover','COLLAB_SUBMIT_CHANGESET_URL','getMemberID','init','_members','url(#$1','svg','_anchorDot','history','217863pjlRXZ','?url=','gold400','#fff','_HTTPService','_onUserLeave','onStarting','DocIMEInputManagerService','src','snapshotServerUrl','sessionStatus','enableSingleActiveInstanceLock','getCurrentUser','socket$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','exhaustSavingTask','_updateState','save','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','unit-cache-','save\x20fail\x20reason\x20is\x20','width','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','_collaborationTimeoutTimer','INVALID_ARGUMENT','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','connection\x20error','OnLineSingle','ranges','RETRY_CONNECTING_MAX_COUNT_KEY','/collaborator','MoveRangeCommandId','delete','set','ILogService','generateRandomId','_colorAssignService','members','startColumn','SnapshotService','liveShareNewHost','UPDATE_PERMISSION_OBJ','filter','error$','COMPLETION_FINISHED','collaboration-client.offline-data-not-saved','object','_stopTelemetryCollaborationNewChangeset','_onConnectionFailed','DesktopCollaborationStatusDisplayController','replace','NodePositionConvertToRectRange','ERROR_EXCEED_SIZE','session.collaboration-timeout','_onUserJoin','_unitID','registerOnClose','/object','@univerjs/sheets','forwardRef','reject','permission.title','_lockTransition','_send','/universer-api/stream/file/upload','univerjs-icon\x20univerjs-icon-','IContextService','getUnit','getSkeleton','memberID','newValue','csAckEvent','retryConnectingInterval','UserManagerService','handleInsertCol','/block/','on-line-single','fillStyle','currentTheme$','175ZllSWs','RichTextEditingMutation','getOwnPropertyDescriptor','_onRemoteRejected','getVpScrollXYInfoByPosToVp','_localStorageService','actions','restore','onRemoteChangeset','UUID','_clearLocalCache','pipe','uni.network.url-service','SheetsSelectionsService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_onLocalMutation','_cachedData','cmd','getUnitType','_waitForHeartbeatResponse','c2Prime','registerComponent','black','_socketReady','UniverDrawing','IRemoteInstanceService','_transformUndoredo','clear','UniverCollaborationClient','_cursors','objectType','concatMap','_eventUnsubscribe','_initStatusComponent','_socketMessageSubscription','NodePositionConvertToCursor','Workbook','YUUMI_UNABLE_LOAD_URL','conflict.content','getOwnPropertySymbols','/allowed','transformSelections','resolve','message$','_rescheduleHeartbeat','getUndoRedoMutationParamsCache','_heartbeatTimer','transformIMECache','_collaborationSessionService','fetch_missing','getUnitStatus$','_cursorShapes','[PendingState]:\x20received\x20rejection.','routeKey','getAncestorScale','onCommentUpdate','IUIPartsService','UNRECOGNIZED','_onCursorUpdate','@univerjs/rpc','_snapshotServerService','HEARTBEAT_TIMEOUT','_cursorInfo$','assignAColorForMemberID','authzUrl','_initUnitPermissionChange','_http','HEARTBEAT_TIMEOUT_KEY','SNAPSHOT_INVALID_SNAPSHOT','_getSaveTimeout','getCurrentRevOfUnit','USERS_LEAVE','type','transform','APPLY_REVISION_CONFILICT','createIdentifier','unitId','[PendingState]:\x20unhandled\x20univer\x20type:\x20','allowed','use','_commandService','push','_getUploadFileURL','resend','811836zzODUc','_transformUndoRedoStack','UPDATE_CURSOR','/-/object/list','isArray','PENDING','isTransformMutationsWithChangesetFailure','onTransformChange$','combineLatest','current','split','univer-online','MUTATION','UniverIcon','[CollaborationState]:\x20apply\x20error!','append','distinctUntilChanged','drawWith','slice','_onOffline','fromEventSubject','Inject','_scheduleClearOtherTimer','syncEditingCollabCursor','onRemoteAck','_toggleOffline','update','_getSendChangesetTimeout','image/jpeg','UniverSheets','HEADER_MENU','objects','_pendingMutations','getFocusedUnit','UNIVER_COLLABORATION_CLIENT_PLUGIN','_docTransformIMECacheService','cursorInfo','_startTelemetryCollaborationNewChangeset','PSEUDO_FETCH_MISSING_RESULT','_undoStacks','pending','onTransformRemoteChangesetByIMECache','DocCollaborationEntity','runRefRangeMutations','_sendHeartbeatTimer','_transformSelections','NO_OTHER_CLIENTS_EDITING','setItem','auth.needGotoLoginAlert','body','clearInterval','enableAuthServer','_unitStatus','map','_uiPartsService','deserializeToCombResponse','HttpImport','SetSelectionsOperation','with','USERS_ENTER','deleteCollaborator','off-line-single','YUUMI_RATE_OVER_LIMIT','IDLE','engine','[DataLoaderController]','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','INTERNAL_ERROR','&assign=','transformUndoRedo','[PendingState]:\x20received\x20acknowledgement.','_sessions','popstate','_injector','_getSignURL','textRanges','session.will-retry','symbol','Module','MergeInterceptorFactory','_getLoginPath','collab-client.tooltip.reconnect','getCurrentUnitForType','_redoStacks','DisposableCollection','_transformIMECache','_onJoinRoomEvent','_commentService','CHANGESET_REVISION_CONFILICT','reverse','HELLO','_drawAnchor','_state','onPointerLeave$','prototype','confirm','DeleteRangeMoveLeftCommandId','liveShareOperation','toDisposable','leaveEvent','beginPath','LOGIN_URL_KEY','Undefined','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','from','conflict','event$','_startSheetCollabCursor','tag','getSheetObject','next','subUnitId','_config','LICENSE_EXPORT_SIZE_EXCEEDED','Unknown\x20user','PERMISSION_DENIED','patch','startsWith','RxDisposable','snapshot','debounce','INGEST','_transformService','192UldgTN','0\x200\x2017\x2016','session','image/jpg','_entityInit$','SUCCUSS','idSuffix','throttleTime','YUUMI_URL_COL_OUT_OF_RANGE','SheetCollaborationEntity','_logService','_range','onPointerEnter$','put','joinEvent','readAsDataURL','session.room-full','attrs','addImageSourceCache','transformMutation','activeSheet$','_updateLocalCursor','createInstance','UnitSnapshot','_initCloseConn','onRendered','_getSheetObject','measureText','toggleOffline','VIEW_MAIN','/new_changes','EffectRefRangId','searchParams','saveSnapshot','doc.mutation.rich-text-editing','isActive','_commentUpdate$','_createInitialStateImpl','getParam','collabWebSocketUrl','CollaborationSessionService','m2Prime','_onConnectionOpen','/rev/','_getRedoStack','getConfig','_substituteRedoStack','commentUpdateEvent','apply','...','TEXT_RANGE_LAYER_INDEX','VIEWPORT_KEY','Error','requireSession','switchMap','collabStatus.synced','HttpExport','_beforeCloseService','all','flatMap','takeUntil','_userManagerService','Vector2','cursorInfo$','data','currentSkeleton$','collabStatus.conflict','LICENSE_DISTRO_REJECTED','\x20-\x20','synced','getRenderById','onload','href','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','unitID','collaboratorID','_name','then','font','UNIVER_SLIDE','loadOfflineData','UniverEngineFormula','_permissionService','getUnitOnRev','_getAPIPrefixPath','PERMISSION_REJ','collabStatus.fetchMiss','_retryConnectingTimer','awaiting_with_pending','mapDocumentTypeToUniverType','_transformRemoteChangesetByIMECache','row','_updateCollabCursors','CollaborationStatus','_sendingTimer','onMouseMove','_transformPreviousActiveRange','DocSkeletonManagerService','_incrementRevisionNumber','trim','status','_roomMembers$','_backgroundColor','UniverDocs','/resources','_isPermissionRej','_clearUndo','_renderManagerService','state$','_getUndoStack','FromArray','getWorkbookSelections','range','create','_getSnapshotAPIPrefix','eventID','none','_decreaseWaiting','encodeURIComponent','AuthzIoHttpService','shareReplay','COMPRESS_MUTATION_SEND','/fetchmissing?from=','_collabCursorState$','SheetCollabCursorShape','text','evenodd','translate(.97)','_retryCount','UNIVER_DOC','appendMutation','_imageSourceCache','transformChangesets','title','/universer-api/snapshot/','handleMoveRange','_schedule','roomInfos','LOCAL_CACHE_INTERVAL_KEY','getResourcesRequest','Shape','transformByState','closeSession','1em','UniverDocsUi','updateCollaborator','_transformStack','size','urlChange$','collaboration-session-retry','labelPosition','onRemoteRej','MSG_FOR_ERROR','_loadDoc','transformRemoteChangeset','handleInsertRangeMoveDown','_clearTimeoutTimer','createElement','_onRecvEvent','univer-pro.collaboration-client.single-active-unit-service','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','getOffsetConfig','onlineStatusIcon','_waitCount','handleDeleteRangeMoveUp','_event$','close','uploadFileServerUrl','UniverTelemetry','setActiveRange','getUniverSheetInstance','take','mutations','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','isTransformChangesetsSuccess','selection','image/gif','_document','/universer-api/oidc/authpage','UNIVER_SHEET','localeService','sessionStatus$','_undoRedoService','concat','JOIN','getActiveRange','changesets','_disabled','_sessionStatus$','_handleJoinEvent','baseRev','97124loCUml','onSyncEditingCollabCursor','&source=','getCollabEntity$','joinRsp','APPLY_NON_SEQUENTIAL_REVISION','round','BASE64','offline','_initStatusListener','_substituteUndoStack','registerHTTPInterceptor','_listenToOnlineEvent','triggerDblclick','registerBeforeClose','_themeService','rgba(255,\x20255,\x20255,\x200.01)','subunit','url(#on-line-single_clip0_910_349)','compose','responseType','currentColor','asObservable','updateOfflineData','@univerjs/sheets-ui','_telemetryInfo','FAIL','reconnect','arc','LIVESHARE_TERMINATE','_unlockTransition','has','COLLAB_SUBMIT_CHANGESET_URL_KEY','x-univer-host','length','_type','useCallback','Rect','pushState','getMember','react','_hideTimer','_remoteChangesetQueue','replaceState','target','COMPRESS_MUTATION_APPLY','subscribeEvent','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_createSocket','_removeCollabCursors','@univerjs/ui','RECV','SEND_CHANGESET_TIMEOUT','_scheduleSaving','show','TOO_MANY_REQUESTS','/universer-api/snapshot','downloadEndpointUrl','commentUpdate$','/universer-api/authz','reduce','telemetry\x20info\x20is\x20not\x20initialized','c1Prime','SNAPSHOT_SERVER_URL_KEY','_httpService','IConfigService','listRoles','APPLY_PERMISSION_DENIED','univer-online-status-title','IURLService','LEAVE','color','_getScale','COLLAB_WEB_SOCKET_URL_KEY','ACTIVE_UNIT_EVENT_CHANNEL','forEach','toString','action','icon','defineProperty','_drawTextRange','Univer','UniverCore','RegularPolygon','useDependency','hasOwnProperty','_messageService','newCsEvent','online','_onConflict','CollaborationController','CollaborationSocketService','_hover','ISnapshotServerService','sheetID','values','M0\x200H16V16H0z','UNKNOWN_CODE','status$','LIVESHARE_NEW_HOST','_listenToOfflineEvent','_docSkeleton','[OfflineState]:\x20received\x20acknowledgement.','onTransformIME','_clearCollaborationTimeoutTimer','userID','getCollabCursors$','onReady','@univerjs-pro/license','updateMember','rev','_onMessage','UnitEmbedded','/unit/','setParam','_roomMembers','conflict.title','_ensureSubject','_toggleOnline','setInterval','_localeService','ICommandService','AUTHZ_URL_KEY','NEW_CHANGESETS','LocalCacheService','FETCH_MISSING','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','merge','setShapeProps','transformMutationsWithChangeset','UniverCollaborationPlugin','_compressMutationService','_univerInstanceService','_docTransformSelectionsService','_render','addEventListener','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','clipPath','/universer-api/comb','BehaviorSubject','unitId\x20is\x20not\x20found','CHANGESET_ACK','getValue','[CollaborationUndoRedoService]','[CollaborationSession]','visibilityState','toStringTag','?size=','isPermissionRej','max','useObservable','_getDownloadEndpointURL','BuiltInUIPart','CONNECTOR_DATA_TOO_LARGE','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','_collaborationPaused','_onFetchMissResult','getCurrentSelections','_urlService','12vDalfR','ColorKit','CONFLICT','extend','OFFLINE','SetTextSelectionsOperation','displayName','_applyRemoteChangeset','LIVESHARE_REQUEST_HOST','error','executeCommand','stringify','saveOfflineData','onMissingChangesets','_acknowledgedAwaitingChangeset','_getAnchorBounding','_updateLocalCache','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_handler','connectInjector','_initCommandExecutedListener','registerRenderModule','unload','updateCursorEvent','_initRequestHeader','_onCombEvent','/universer-api/file/{fileID}/sign-url','_updateURLWithCurrentState','_tryReconnect','_change$','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','getCurrent','DataLoaderController','unsubscribe','_handleHeartbeatEvent','IBeforeCloseService','_docStateChangeManagerService','some','DocSelectionManagerService','SUBMIT_CHANGESET','_initModules','_context','entries','children','6AEslpG','getUnitId','createSocket','14ZnzazL','b64DecodeUnicode','getColor','toRgbString','getRelativeToViewportCoord','getRangePointData','_shouldReportTelemetry','_draw','_joinRoom','fetching\x20missing\x20changesets\x20from\x20','sheets','IMessageService','collabCursorState$','parseProtocolChangeset','_telemetryService','textEncoder','string','getCoordByCell','subscribe','ITransformService','_docSkeletonManagerService','CHANGESET_REJ','collab-text-anchor-','698491BByOeg','_socket','isTransformMutationFailure','call','_entities','_handleLeaveEvent','setTimeout','operators','location','socket\x20close','_submitChangeset','SheetSkeletonManagerService','_exhaustRemoteChangesetQueue','_scheduleTimestamp','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_socket$','fetchMiss','fromCollab','params','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','delay','Optional','unshift','csRejEvent','_onRemoteACK','rxjs','column','toggleOnline','@univerjs-pro/collaboration','getTypeOfUnitAdded$','onCommandExecuted','getInterceptPoints','every','SHOULD_CLOSE_CONN','disposeWithMe','LocalUndoRedoService','pluginName','InsertRangeMoveRightCommandId','getCollabEntity','DocStateChangeManagerService','_refRangeService','objectID','RefRangeService','_initMergeInterceptor','function','mergeOverrideWithDependencies','onPointerMove$','roomMembers$','@univerjs/docs-ui','@univerjs/docs','resourceIDs','_cursor','hide','closePath','_color','@univerjs/drawing','_replaceFileID','_collaborationController','_onRemoteChangeset','socket\x20open.','handleDeleteRangeMoveLeft','name','_sheetSkeletonManagerService','assign','_clearScheduledTask','selections','_drawRectRange','revision','3619780NBrTeL','collaMsg','_snapshotService','_initResize','SNAPSHOT_URL_KEY','_collabCursorController','@univerjs/engine-render','_ws','getTypeOfUnitDisposed$','_online','_removeRoom','SNAPSHOT_HAS_BEEN_REMOVED','_removeClearOtherTimer','_refreshCollabCursors','listCollaborators','moveTo','fetchMissingChangesets','dispose','add','/-/object/-/batch_allowed','setAlpha','IUndoRedoService','COMMENT_UPDATE','unknown','_id','number','initWorkbookPermissionChange','incrementRevOfUnit','AWAITING_WITH_PENDING','batchAllowed','contains','code','getDeserializedSheetBlock','getSheetBySheetId','isTransformMutationsWithChangesetSuccess','[CollaborationSessionService]','Warning','CollaborationEntity','InsertColCommandId','_status$','_initEventListeners','UniverCollaborationClientPlugin','isEditing','purple300','LICENSE_IMPORT_SIZE_EXCEEDED','getActiveSheet','_syncEditingCollabCursorService','red300','skeleton','_textBubble','LIVESHARE_FETCH_OPERATIONS','bottom','UniverCollaboration','_docSyncEditingCollabCursorService','ImageUploadStatusType','_getAPIPrefix','_getMergeRange','_saveTaskMap','DEFAULT_FILE_NAME','onSendChangeset','ws://127.0.0.1:8000/universer-api/comb/connect','_checkMissing','now','OTHER_CLIENTS_EDITING','@univerjs/telemetry','touchDependencies','IHTTPImplementation','_setupBeforeClosingHandler','whenReady','Rectangle','LIVESHARE_OPERATION','path','setCurrentUser','_startDocCollabCursor','editingUnit','updatePermissionObjEvent','_instanceService','blue400','registerRefRange','UNKNOWN_CMD','POST','lineTo','[CollaborationSessionService]:\x20socket\x20error','complete','_registerDependencies','MessageType','_tryEnsureSocket','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_revisionService','@univerjs/network','Tools','addObject','onTransformSelections','onMissedChangesetFetched','_scheduleHeartbeat','CollaborationStatusDisplay','removeMember','fill','div','onlyLocal','requestParams','substring','CommandType','\x20to\x20','parse','_syncEditingCollabCursor','_localCacheService','RevisionService','propertyIsEnumerable','fetchThroughInterceptors','_scene','_anchor','SheetPermissionInitController','fillRule','enableOfflineEditing','handleInsertRangeMoveRight','_state$','duration','/object/','_memberService','handleIRemoveCol','send','@univerjs/core','saveImage','_configService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','disableLocalCache','HEARTBEAT_INTERVAL','3386405pWxgCj','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_setupSubUnitSync','Subject','top','SetWorksheetActivateCommand','rxjs/operators','_labelPosition','getImage','getViewport','APPLY_REJECT','removeParam','SessionStatus','FileId','findNodePositionByCharIndex','collaboration-client.config','jiqing500','RemoveColCommandId','UniverDesign','HTTPRequest','SnapshotServerOverHTTPService','setWaitCount','roles','_timeoutTimer','JOINING','_selfUnitIDs','UNIVER_UNKNOWN','interceptor','ICollaborationSocketService','_getCurrentRevision','SYNCED','RETRY_CONNECTING_MAX_COUNT','@univerjs/engine-formula','height','find','_assignedColors','LICENSE_MAX_UNITS_EXCEEDED','NOT_FOUND','LocaleService','copyFileMeta','handleInsertRow','HEARTBEAT','collaboration.single-unit.warning','setUndoRedoMutationParamsCache','_clearOtherTimers','_colorIndex','open$','_scheduleCollaborationTimeoutTimer','close$','collabStatus.notCollab','off-line-single_clip0_910_343','collaboration_new_changeset','_startCollaboration','ERROR_IMAGE_TYPE','deepClone','url(#off-line-single_clip0_910_343)','ERROR_IMAGE','clearTimeout','CompressMutationService','_disableEditing','xlink:href','getUnhiddenWorksheets','verdancy600','parseChangesetToProtocol','UniverEngineRender','_replayCachedMutations','roomMembers','IImageIoService','result','dispose$','defs','_showConflictNotification','Injector','[OfflineState]:\x20received\x20rejection.','updatePermissionPoint','_sheetTransformSelectionsService','ONLINE','WebURLService','m1Prime','_executeRemoteChangeset','YUUMI_SUBSCRIPTION_NOT_FOUND','get','_onCursorDelete','getImageSourceCache','ImageIoService','UniverInstanceType','key','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','HTTPService','mapTo','ThresholdInterceptorFactory','debounceTime','isInternalEditorID','workbook','WorkbookEditablePermission','_getCtorByUniverType','awaiting','520240lBHzwG','_session','_createHandler','deserializeRangeWithSheet','_createInitialState','_awaitingChangeset','_unitOnClients','React','_registerRenderDependencies','_throwTelemetryCollaborationNewChangeset','IPermissionService','Disposable','collabStatus.syncing','fillText','image/bmp','ThemeService','indexOf','UNIVER_PROJECT','InsertRowCommandId','_transitionLocked','getSheetId','UNAUTHENTICATED','serializeRangeWithSheet','loadDoc','unit','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_shapes','_init','random','collabStatus.offline','_saveCache','catch','focused$','post','IUniverInstanceService','_notificationService','useRef','ITelemetryService','_clearRedo','[CollaborationEntity]','includes','NOT_COLLAB','debug','_hovered','getDocRanges','defIds','HEARTBEAT_INTERVAL_KEY','CollaborationEvent','CollaborationSession','EXCHANGE_SIGN_URL_SERVER_URL_KEY','[UniverCollaborationClientPlugin]','ImageSourceType','ILocalStorageService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','headers','FETCH_MISS','UniverNetwork','_sendHeartbeat','stopTime','_collabSessionService','getAttachHeader','_candidateSocket','fromEvent','colorChannel1','putCollaborators'];_0x5047=function(){return _0x977508;};return _0x5047();}
|
1
|
+
function _0x2a06(_0x7402eb,_0x3de2a9){const _0x59d96d=_0x59d9();return _0x2a06=function(_0x2a063b,_0x2aa471){_0x2a063b=_0x2a063b-0x1a5;let _0x1b7550=_0x59d96d[_0x2a063b];return _0x1b7550;},_0x2a06(_0x7402eb,_0x3de2a9);}(function(_0x7047d1,_0x53e4bd){const _0x23ac26=_0x2a06,_0x113f0a=_0x7047d1();while(!![]){try{const _0x1d9dc3=-parseInt(_0x23ac26(0x297))/0x1+parseInt(_0x23ac26(0x46c))/0x2*(-parseInt(_0x23ac26(0x2e8))/0x3)+-parseInt(_0x23ac26(0x1d8))/0x4*(-parseInt(_0x23ac26(0x47e))/0x5)+-parseInt(_0x23ac26(0x341))/0x6*(-parseInt(_0x23ac26(0x1f7))/0x7)+parseInt(_0x23ac26(0x593))/0x8*(-parseInt(_0x23ac26(0x532))/0x9)+parseInt(_0x23ac26(0x45d))/0xa*(parseInt(_0x23ac26(0x1b5))/0xb)+parseInt(_0x23ac26(0x32f))/0xc*(parseInt(_0x23ac26(0x37e))/0xd);if(_0x1d9dc3===_0x53e4bd)break;else _0x113f0a['push'](_0x113f0a['shift']());}catch(_0x9e42db){_0x113f0a['push'](_0x113f0a['shift']());}}}(_0x59d9,0xd901d),function(_0x59c776,_0x4491b6){const _0x199181=_0x2a06;typeof exports==_0x199181(0x426)&&typeof module<'u'?_0x4491b6(exports,require('@univerjs/core'),require(_0x199181(0x466)),require(_0x199181(0x527)),require(_0x199181(0x4b3)),require(_0x199181(0x44c)),require(_0x199181(0x3e2)),require(_0x199181(0x55c)),require(_0x199181(0x2ce)),require('@univerjs/docs'),require(_0x199181(0x39f)),require(_0x199181(0x1d6)),require(_0x199181(0x36f)),require(_0x199181(0x509)),require('@univerjs/engine-formula'),require(_0x199181(0x4ff)),require('react'),require(_0x199181(0x3b1)),require('@univerjs-pro/license')):typeof define=='function'&&define['amd']?define([_0x199181(0x308),_0x199181(0x47b),_0x199181(0x466),'rxjs/operators',_0x199181(0x4b3),'@univerjs/ui',_0x199181(0x3e2),_0x199181(0x55c),_0x199181(0x2ce),'@univerjs/docs',_0x199181(0x39f),'@univerjs/sheets','@univerjs/engine-render',_0x199181(0x509),_0x199181(0x1e3),_0x199181(0x4ff),_0x199181(0x327),_0x199181(0x3b1),_0x199181(0x51f)],_0x4491b6):(_0x59c776=typeof globalThis<'u'?globalThis:_0x59c776||self,_0x4491b6(_0x59c776[_0x199181(0x39c)]={},_0x59c776[_0x199181(0x4f5)],_0x59c776[_0x199181(0x466)],_0x59c776[_0x199181(0x466)][_0x199181(0x53f)],_0x59c776[_0x199181(0x371)],_0x59c776[_0x199181(0x284)],_0x59c776[_0x199181(0x586)],_0x59c776[_0x199181(0x26d)],_0x59c776[_0x199181(0x29d)],_0x59c776[_0x199181(0x2c4)],_0x59c776['UniverDocsUi'],_0x59c776[_0x199181(0x299)],_0x59c776['UniverEngineRender'],_0x59c776['UniverDrawing'],_0x59c776[_0x199181(0x379)],_0x59c776[_0x199181(0x358)],_0x59c776[_0x199181(0x486)],_0x59c776[_0x199181(0x435)],_0x59c776[_0x199181(0x330)]));}(this,function(_0x19f7dc,_0x5ee268,_0x56990c,_0x2b56b2,_0x2e321b,_0x56f90f,_0x519640,_0x437f93,_0x28800d,_0x45fa2b,_0x2d522a,_0x149ec5,_0x454685,_0x10f0dc,_0x5cdf78,_0x2f74a8,_0x1d8717,_0x1f4649,_0x28eb5f){'use strict';const _0x1a9c4c=_0x2a06;var _0x5aaeb4=Object[_0x1a9c4c(0x340)],_0x8ef399=(_0x175c97,_0x10b721,_0x4f26e6)=>_0x10b721 in _0x175c97?_0x5aaeb4(_0x175c97,_0x10b721,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4f26e6}):_0x175c97[_0x10b721]=_0x4f26e6,_0x1328f6=(_0x2e345f,_0x3c6c4a,_0x3f473d)=>_0x8ef399(_0x2e345f,typeof _0x3c6c4a!=_0x1a9c4c(0x353)?_0x3c6c4a+'':_0x3c6c4a,_0x3f473d);const _0x8e4b39=_0x1a9c4c(0x291),_0x549ccb=_0x1a9c4c(0x335),_0x496fb6='SNAPSHOT_URL_KEY',_0x10223c=_0x1a9c4c(0x55a),_0x4684ef='COLLAB_WEB_SOCKET_URL',_0x2db330=_0x1a9c4c(0x512),_0x41bc7c=_0x1a9c4c(0x287),_0x4d3fc9=_0x1a9c4c(0x286),_0x981892=_0x1a9c4c(0x281),_0x9bc94d=_0x1a9c4c(0x46b),_0x2d1c45=_0x1a9c4c(0x4cb),_0x240dfd=_0x1a9c4c(0x1f5),_0x2e60e8='LOGIN_URL_KEY',_0x4847b7=_0x1a9c4c(0x5aa);var _0x4ac219=(_0xc0fac9=>(_0xc0fac9[_0xc0fac9[_0x1a9c4c(0x515)]=0x0]=_0x1a9c4c(0x515),_0xc0fac9[_0xc0fac9['OK']=0x1]='OK',_0xc0fac9[_0xc0fac9[_0x1a9c4c(0x51c)]=0x2]=_0x1a9c4c(0x51c),_0xc0fac9[_0xc0fac9['PERMISSION_DENIED']=0x3]=_0x1a9c4c(0x25b),_0xc0fac9[_0xc0fac9[_0x1a9c4c(0x3d4)]=0x4]='NOT_FOUND',_0xc0fac9[_0xc0fac9[_0x1a9c4c(0x2de)]=0x5]=_0x1a9c4c(0x2de),_0xc0fac9[_0xc0fac9[_0x1a9c4c(0x375)]=0x6]=_0x1a9c4c(0x375),_0xc0fac9[_0xc0fac9[_0x1a9c4c(0x48a)]=0x7]=_0x1a9c4c(0x48a),_0xc0fac9[_0xc0fac9['TOO_MANY_REQUESTS']=0x8]=_0x1a9c4c(0x34e),_0xc0fac9[_0xc0fac9[_0x1a9c4c(0x551)]=0x9]='COMPLETION_FINISHED',_0xc0fac9[_0xc0fac9[_0x1a9c4c(0x349)]=0x1389]=_0x1a9c4c(0x349),_0xc0fac9[_0xc0fac9[_0x1a9c4c(0x1b9)]=0x1771]=_0x1a9c4c(0x1b9),_0xc0fac9[_0xc0fac9[_0x1a9c4c(0x473)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0xc0fac9[_0xc0fac9[_0x1a9c4c(0x484)]=0x1b59]=_0x1a9c4c(0x484),_0xc0fac9[_0xc0fac9[_0x1a9c4c(0x4ae)]=0x1b5a]=_0x1a9c4c(0x4ae),_0xc0fac9[_0xc0fac9[_0x1a9c4c(0x213)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0xc0fac9[_0xc0fac9[_0x1a9c4c(0x522)]=0x1b5c]=_0x1a9c4c(0x522),_0xc0fac9[_0xc0fac9[_0x1a9c4c(0x460)]=0x1f41]=_0x1a9c4c(0x460),_0xc0fac9[_0xc0fac9[_0x1a9c4c(0x2be)]=0x2329]=_0x1a9c4c(0x2be),_0xc0fac9[_0xc0fac9[_0x1a9c4c(0x398)]=0x232a]=_0x1a9c4c(0x398),_0xc0fac9[_0xc0fac9[_0x1a9c4c(0x5d2)]=0x232b]=_0x1a9c4c(0x5d2),_0xc0fac9[_0xc0fac9[_0x1a9c4c(0x255)]=0x232c]=_0x1a9c4c(0x255),_0xc0fac9[_0xc0fac9['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0xc0fac9[_0xc0fac9[_0x1a9c4c(0x415)]=0x2711]=_0x1a9c4c(0x415),_0xc0fac9[_0xc0fac9[_0x1a9c4c(0x47d)]=0x2712]=_0x1a9c4c(0x47d),_0xc0fac9[_0xc0fac9[_0x1a9c4c(0x4f0)]=0x2713]=_0x1a9c4c(0x4f0),_0xc0fac9[_0xc0fac9['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x1a9c4c(0x450),_0xc0fac9[_0xc0fac9['UNRECOGNIZED']=-0x1]=_0x1a9c4c(0x26b),_0xc0fac9))(_0x4ac219||{}),_0x69fde1=(_0x187360=>(_0x187360[_0x187360[_0x1a9c4c(0x4ee)]=0x0]=_0x1a9c4c(0x4ee),_0x187360[_0x187360['UNIVER_DOC']=0x1]=_0x1a9c4c(0x1ec),_0x187360[_0x187360[_0x1a9c4c(0x498)]=0x2]=_0x1a9c4c(0x498),_0x187360[_0x187360[_0x1a9c4c(0x24e)]=0x3]='UNIVER_SLIDE',_0x187360[_0x187360[_0x1a9c4c(0x4c7)]=0x4]=_0x1a9c4c(0x4c7),_0x187360[_0x187360[_0x1a9c4c(0x26b)]=-0x1]='UNRECOGNIZED',_0x187360))(_0x69fde1||{}),_0x4e0841=(_0x4a1e79=>(_0x4a1e79[_0x4a1e79[_0x1a9c4c(0x1d3)]=0x0]=_0x1a9c4c(0x1d3),_0x4a1e79[_0x4a1e79[_0x1a9c4c(0x24c)]=0x1]='HELLO',_0x4a1e79[_0x4a1e79['JOIN']=0x2]=_0x1a9c4c(0x271),_0x4a1e79[_0x4a1e79['LEAVE']=0x3]=_0x1a9c4c(0x2dc),_0x4a1e79[_0x4a1e79[_0x1a9c4c(0x332)]=0x4]=_0x1a9c4c(0x332),_0x4a1e79[_0x4a1e79['HEARTBEAT']=0x5]='HEARTBEAT',_0x4a1e79[_0x4a1e79['RECV']=0x6]='RECV',_0x4a1e79[_0x4a1e79['UNRECOGNIZED']=-0x1]=_0x1a9c4c(0x26b),_0x4a1e79))(_0x4e0841||{}),_0x389c04=(_0x490458=>(_0x490458[_0x490458[_0x1a9c4c(0x2ed)]=0x0]=_0x1a9c4c(0x2ed),_0x490458[_0x490458['OK']=0x1]='OK',_0x490458[_0x490458[_0x1a9c4c(0x30c)]=0x2]=_0x1a9c4c(0x30c),_0x490458[_0x490458[_0x1a9c4c(0x26b)]=-0x1]='UNRECOGNIZED',_0x490458))(_0x389c04||{}),_0x15145c=(_0x2478b1=>(_0x2478b1[_0x2478b1[_0x1a9c4c(0x30b)]=0x0]=_0x1a9c4c(0x30b),_0x2478b1[_0x2478b1[_0x1a9c4c(0x547)]=0x1]=_0x1a9c4c(0x547),_0x2478b1[_0x2478b1['HttpExport']=0x2]=_0x1a9c4c(0x4f2),_0x2478b1[_0x2478b1[_0x1a9c4c(0x4a3)]=0x3]=_0x1a9c4c(0x4a3),_0x2478b1[_0x2478b1[_0x1a9c4c(0x2e2)]=0x4]=_0x1a9c4c(0x2e2),_0x2478b1[_0x2478b1[_0x1a9c4c(0x26b)]=-0x1]=_0x1a9c4c(0x26b),_0x2478b1))(_0x15145c||{});const _0x17bae2=_0x1a9c4c(0x3e5),_0x552a85={};function _0x580925(_0x413703){const _0x47ee3f=_0x1a9c4c;var _0x4368ef,_0x45e3ac,_0x3ef452,_0x4a718e;const _0x1b2e59=_0x413703[_0x47ee3f(0x5ac)],_0x52aa59=JSON[_0x47ee3f(0x3f8)](_0x1b2e59);switch(_0x52aa59[_0x47ee3f(0x5ab)]){case _0x4e0841[_0x47ee3f(0x1f3)]:case _0x4e0841['HELLO']:{const _0x3f770d=_0x52aa59[_0x47ee3f(0x24b)];return{..._0x52aa59,'data':_0x3f770d,'cmd':_0x52aa59[_0x47ee3f(0x5ab)]};}case _0x4e0841[_0x47ee3f(0x271)]:{const _0x3f40a7=_0x52aa59['joinRsp'];return{..._0x52aa59,'data':_0x3f40a7,'cmd':_0x52aa59['cmd']};}case _0x4e0841[_0x47ee3f(0x3a3)]:{const _0x59217b=_0x52aa59['collaMsg'];switch(_0x59217b['eventID']){case _0x437f93['CollaborationEvent']['PERMISSION_REJ']:return{..._0x52aa59,'data':{..._0x59217b,'data':(_0x4368ef=_0x59217b[_0x47ee3f(0x21c)])==null?void 0x0:_0x4368ef['cs']},'cmd':_0x52aa59[_0x47ee3f(0x5ab)]};case _0x437f93['CollaborationEvent'][_0x47ee3f(0x513)]:return{..._0x52aa59,'data':{..._0x59217b,'data':(_0x45e3ac=_0x59217b[_0x47ee3f(0x448)])==null?void 0x0:_0x45e3ac['cs']},'cmd':_0x52aa59[_0x47ee3f(0x5ab)]};case _0x437f93[_0x47ee3f(0x2c5)][_0x47ee3f(0x472)]:return{..._0x52aa59,'data':{..._0x59217b,'data':(_0x3ef452=_0x59217b[_0x47ee3f(0x4eb)])==null?void 0x0:_0x3ef452['cs']},'cmd':_0x52aa59[_0x47ee3f(0x5ab)]};case _0x437f93[_0x47ee3f(0x2c5)][_0x47ee3f(0x4be)]:return{..._0x52aa59,'data':{..._0x59217b,'data':(_0x4a718e=_0x59217b['csRejEvent'])==null?void 0x0:_0x4a718e['cs']},'cmd':_0x52aa59['cmd']};case _0x437f93[_0x47ee3f(0x2c5)][_0x47ee3f(0x28d)]:return{..._0x52aa59,'data':{..._0x59217b,'data':_0x59217b['updateCursorEvent']},'cmd':_0x52aa59['cmd']};case _0x437f93['CollaborationEvent'][_0x47ee3f(0x51d)]:return{..._0x52aa59,'data':{..._0x59217b,'data':_0x59217b['joinEvent']},'cmd':_0x52aa59[_0x47ee3f(0x5ab)]};case _0x437f93[_0x47ee3f(0x2c5)]['USERS_LEAVE']:return{..._0x52aa59,'data':{..._0x59217b,'data':_0x59217b['leaveEvent']},'cmd':_0x52aa59[_0x47ee3f(0x5ab)]};case _0x437f93['CollaborationEvent'][_0x47ee3f(0x34a)]:return{..._0x52aa59,'data':{..._0x59217b,'data':_0x59217b[_0x47ee3f(0x35b)]},'cmd':_0x52aa59[_0x47ee3f(0x5ab)]};case _0x437f93[_0x47ee3f(0x2c5)][_0x47ee3f(0x5c0)]:case _0x437f93[_0x47ee3f(0x2c5)]['LIVESHARE_OPERATION']:return{..._0x52aa59,'data':{..._0x59217b,'data':_0x59217b[_0x47ee3f(0x491)]},'cmd':_0x52aa59[_0x47ee3f(0x5ab)]};case _0x437f93['CollaborationEvent'][_0x47ee3f(0x216)]:return{..._0x52aa59,'data':{..._0x59217b,'data':_0x59217b['liveShareNewHost']},'cmd':_0x52aa59[_0x47ee3f(0x5ab)]};case _0x437f93[_0x47ee3f(0x2c5)][_0x47ee3f(0x467)]:return{..._0x52aa59,'data':_0x59217b,'cmd':_0x52aa59[_0x47ee3f(0x5ab)]};case _0x437f93[_0x47ee3f(0x2c5)][_0x47ee3f(0x390)]:return{..._0x52aa59,'data':{..._0x59217b,'data':_0x59217b[_0x47ee3f(0x458)]},'cmd':_0x52aa59[_0x47ee3f(0x5ab)]};case _0x437f93[_0x47ee3f(0x2c5)][_0x47ee3f(0x54e)]:return{..._0x52aa59,'data':{..._0x59217b,'data':_0x59217b[_0x47ee3f(0x511)]},'cmd':_0x52aa59[_0x47ee3f(0x5ab)]};case _0x437f93[_0x47ee3f(0x2c5)]['SHOULD_CLOSE_CONN']:return{..._0x52aa59,'data':{..._0x59217b,'data':_0x59217b[_0x47ee3f(0x2c8)]},'cmd':_0x52aa59[_0x47ee3f(0x5ab)]};default:return _0x52aa59;}}default:return _0x52aa59;}}function _0x28244a(_0x4f5a36){const _0x474ed8=_0x1a9c4c;switch(_0x4f5a36[_0x474ed8(0x5ab)]){case _0x4e0841[_0x474ed8(0x1f3)]:case _0x4e0841[_0x474ed8(0x24c)]:return JSON[_0x474ed8(0x301)]({'cmd':_0x4f5a36['cmd'],'routeKey':_0x4f5a36[_0x474ed8(0x4e6)]});case _0x4e0841[_0x474ed8(0x332)]:{let _0x563c25;switch(_0x4f5a36['data'][_0x474ed8(0x3f9)]){case _0x437f93[_0x474ed8(0x2c5)][_0x474ed8(0x28d)]:{_0x563c25={'eventID':_0x437f93[_0x474ed8(0x2c5)][_0x474ed8(0x28d)],'updateCursorEvent':_0x4f5a36['data'][_0x474ed8(0x5ac)]};break;}case _0x437f93[_0x474ed8(0x2c5)][_0x474ed8(0x288)]:{_0x563c25={'eventID':_0x437f93[_0x474ed8(0x2c5)]['USERS_LEAVE'],'leaveEvent':_0x4f5a36[_0x474ed8(0x5ac)][_0x474ed8(0x5ac)]};break;}case _0x437f93['CollaborationEvent'][_0x474ed8(0x51d)]:{_0x563c25={'eventID':_0x437f93['CollaborationEvent']['USERS_ENTER'],'joinEvent':_0x4f5a36[_0x474ed8(0x5ac)]['data']};break;}case _0x437f93[_0x474ed8(0x2c5)][_0x474ed8(0x34a)]:{_0x563c25={'eventID':_0x437f93['CollaborationEvent'][_0x474ed8(0x34a)],'liveShareNewHost':_0x4f5a36[_0x474ed8(0x5ac)][_0x474ed8(0x5ac)]};break;}case _0x437f93[_0x474ed8(0x2c5)][_0x474ed8(0x3cc)]:{_0x563c25={'eventID':_0x437f93[_0x474ed8(0x2c5)][_0x474ed8(0x3cc)],'liveShareOperation':_0x4f5a36[_0x474ed8(0x5ac)][_0x474ed8(0x5ac)]};break;}case _0x437f93[_0x474ed8(0x2c5)]['LIVESHARE_TERMINATE']:{_0x563c25={'eventID':_0x437f93[_0x474ed8(0x2c5)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x4f5a36[_0x474ed8(0x5ac)][_0x474ed8(0x5ac)]};break;}case _0x437f93[_0x474ed8(0x2c5)][_0x474ed8(0x434)]:{_0x563c25={'eventID':_0x437f93[_0x474ed8(0x2c5)][_0x474ed8(0x434)],'liveShareRequestHost':_0x4f5a36[_0x474ed8(0x5ac)][_0x474ed8(0x5ac)]};break;}case _0x437f93[_0x474ed8(0x2c5)][_0x474ed8(0x5c0)]:{_0x563c25={'eventID':_0x437f93[_0x474ed8(0x2c5)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x563c25={'eventID':_0x4f5a36[_0x474ed8(0x5ac)][_0x474ed8(0x3f9)]};}return JSON[_0x474ed8(0x301)]({'cmd':_0x4f5a36[_0x474ed8(0x5ab)],'routeKey':_0x4f5a36['routeKey'],'collaMsg':_0x563c25});}case _0x4e0841['JOIN']:return JSON[_0x474ed8(0x301)]({'cmd':_0x4f5a36[_0x474ed8(0x5ab)],'routeKey':_0x4f5a36[_0x474ed8(0x4e6)],'joinReq':_0x4f5a36[_0x474ed8(0x5ac)]});case _0x4e0841[_0x474ed8(0x2dc)]:return JSON[_0x474ed8(0x301)]({'cmd':_0x4f5a36['cmd'],'routeKey':_0x4f5a36['routeKey'],'leaveReq':_0x4f5a36['data']});default:throw new Error(_0x474ed8(0x35e));}}var _0x1a314d=Object['defineProperty'],_0x2be198=Object[_0x1a9c4c(0x541)],_0x184ffe=(_0xf97c83,_0x5d9920,_0x29764c,_0x13264f)=>{const _0xe3f7d0=_0x1a9c4c;for(var _0x3d2df0=_0x13264f>0x1?void 0x0:_0x13264f?_0x2be198(_0x5d9920,_0x29764c):_0x5d9920,_0x562d45=_0xf97c83[_0xe3f7d0(0x4d8)]-0x1,_0x243839;_0x562d45>=0x0;_0x562d45--)(_0x243839=_0xf97c83[_0x562d45])&&(_0x3d2df0=(_0x13264f?_0x243839(_0x5d9920,_0x29764c,_0x3d2df0):_0x243839(_0x3d2df0))||_0x3d2df0);return _0x13264f&&_0x3d2df0&&_0x1a314d(_0x5d9920,_0x29764c,_0x3d2df0),_0x3d2df0;},_0x412de4=(_0x190918,_0x35a2e4)=>(_0x588389,_0x45eb25)=>_0x35a2e4(_0x588389,_0x45eb25,_0x190918);const _0x411a7c=_0x5ee268[_0x1a9c4c(0x549)]('univer-pro.collaboration-client-socket-service');function _0x5aba5b(_0x28996a,_0x1c60e3,_0x486f1e){const _0x244d2d=_0x1a9c4c;return _0x28996a+'/'+_0x1c60e3+_0x244d2d(0x584)+_0x486f1e+_0x244d2d(0x298);}_0x19f7dc[_0x1a9c4c(0x362)]=class extends _0x5ee268[_0x1a9c4c(0x238)]{constructor(_0x2ecd03,_0x49b509,_0x40d18b,_0x2a30f9,_0x93c3f7){const _0x1303bf=_0x1a9c4c;super(),this[_0x1303bf(0x524)]=_0x2ecd03,this[_0x1303bf(0x27e)]=_0x49b509,this['_configService']=_0x40d18b,this[_0x1303bf(0x2a9)]=_0x2a30f9,this[_0x1303bf(0x1dd)]=_0x93c3f7;}[_0x1a9c4c(0x1c9)](_0xd205c9){const _0x5a5b36=_0x1a9c4c,_0x44d747=this[_0x5a5b36(0x27e)][_0x5a5b36(0x1c9)](_0xd205c9);if(!_0x44d747)throw new Error(_0x5a5b36(0x411));const _0x27eba5=new _0x5ee268[(_0x5a5b36(0x571))](),_0x33619f=new _0x56990c[(_0x5a5b36(0x3be))]();_0x27eba5[_0x5a5b36(0x4d0)](_0x44d747[_0x5a5b36(0x27f)][_0x5a5b36(0x3a7)](_0x1c170e=>_0x33619f[_0x5a5b36(0x42d)](_0x1c170e))),_0x27eba5[_0x5a5b36(0x4d0)](_0x5ee268[_0x5a5b36(0x4c5)](()=>_0x33619f['complete']()));const _0xd81941=new _0x56990c[(_0x5a5b36(0x3be))]();_0x27eba5[_0x5a5b36(0x4d0)](_0x44d747[_0x5a5b36(0x27c)]['subscribe'](_0x4826d7=>_0xd81941[_0x5a5b36(0x42d)](_0x4826d7))),_0x27eba5['add'](_0x5ee268[_0x5a5b36(0x4c5)](()=>_0xd81941[_0x5a5b36(0x30a)]()));const _0x21b7cf=new _0x56990c[(_0x5a5b36(0x3be))]();_0x27eba5[_0x5a5b36(0x4d0)](_0x44d747[_0x5a5b36(0x3fa)]['subscribe'](_0x1bd190=>{const _0x2c214d=_0x580925(_0x1bd190);_0x21b7cf['next'](_0x2c214d);})),_0x27eba5[_0x5a5b36(0x4d0)](_0x5ee268[_0x5a5b36(0x4c5)](()=>_0x21b7cf['complete']()));let _0x1d88d8;const _0x38f3de=()=>{const _0xfb942c=_0x5a5b36;_0xd81941[_0xfb942c(0x42d)](new Event(_0xfb942c(0x438))),_0x33619f[_0xfb942c(0x42d)](new CloseEvent(_0xfb942c(0x438))),_0x1d88d8[_0xfb942c(0x4c9)]();};return _0x1d88d8={'memberID':'','close$':_0x33619f['asObservable'](),'error$':_0xd81941[_0x5a5b36(0x560)](),'open$':_0x44d747['open$'],'message$':_0x21b7cf[_0x5a5b36(0x560)](),'send':_0x4e6c28=>{const _0x11c091=_0x5a5b36;if(_0x4e6c28['cmd']===_0x4e0841[_0x11c091(0x332)]){if(_0x4e6c28['data'][_0x11c091(0x3f9)]===_0x437f93[_0x11c091(0x2c5)][_0x11c091(0x4ed)]){this['_submitChangeset'](_0x1d88d8,_0x4e6c28['data'])['catch'](_0x1530f6=>{const _0x3bed02=_0x11c091;this[_0x3bed02(0x2a9)][_0x3bed02(0x317)](_0x1530f6),_0x38f3de();});return;}if(_0x4e6c28[_0x11c091(0x5ac)][_0x11c091(0x3f9)]===_0x437f93[_0x11c091(0x2c5)][_0x11c091(0x389)]){const _0x3a270c=_0x4e6c28[_0x11c091(0x5ac)];this[_0x11c091(0x34b)](_0x3a270c)[_0x11c091(0x29c)](_0x11e474=>{const _0x122e4b=_0x11c091;_0x21b7cf['next']({'cmd':_0x4e0841[_0x122e4b(0x3a3)],'code':_0x389c04['OK'],'routeKey':_0x3a270c[_0x122e4b(0x5ac)][_0x122e4b(0x447)],'routeType':'','data':{'eventID':_0x437f93[_0x122e4b(0x2c5)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x11e474}}});})['catch'](_0x4d2603=>{const _0x4fb1fe=_0x11c091;this[_0x4fb1fe(0x2a9)][_0x4fb1fe(0x317)](_0x4d2603),_0x38f3de();});return;}}_0x44d747[_0x11c091(0x420)](_0x28244a(_0x4e6c28));},'close':()=>{const _0x174dc0=_0x5a5b36;_0x44d747[_0x174dc0(0x4c9)](),_0x27eba5[_0x174dc0(0x214)]();}},_0x1d88d8;}async[_0x1a9c4c(0x23d)](_0x503477,_0x1f7fd4){const _0x5b9b53=_0x1a9c4c;var _0x2896e3,_0x531b67;const {unitType:_0x4bc66c,unitID:_0xed4d9d,changeset:_0x4b665d}=_0x1f7fd4[_0x5b9b53(0x5ac)],_0x597dbd={'unitID':_0xed4d9d,'memberID':_0x503477[_0x5b9b53(0x2b2)],'type':_0x4bc66c,'changeset':_0x437f93['parseChangesetToProtocol'](_0x4b665d)},_0x2ae089=this[_0x5b9b53(0x208)]['getConfig'](_0x2d1c45),_0xcdccb0=this[_0x5b9b53(0x208)][_0x5b9b53(0x3a6)](_0x17bae2),_0x3ebefb=_0x5aba5b((_0x531b67=(_0x2896e3=_0xcdccb0==null?void 0x0:_0xcdccb0[_0x5b9b53(0x2f1)])!=null?_0x2896e3:_0x2ae089)!=null?_0x531b67:_0x240dfd,_0x4bc66c,_0xed4d9d);try{await this[_0x5b9b53(0x524)][_0x5b9b53(0x4f8)](_0x3ebefb,{'body':_0x597dbd});}catch(_0x118fc8){throw this[_0x5b9b53(0x2a9)][_0x5b9b53(0x317)]('[CollaborationSession]',_0x5b9b53(0x462)),_0x118fc8;}}async[_0x1a9c4c(0x34b)](_0x13ac28){const _0x2d184c=_0x1a9c4c,{unitID:_0x57f5be,from:_0xd9aaa9,to:_0x3e73dd,unitType:_0x31b063}=_0x13ac28['data'];return(await this['_snapshotServerService'][_0x2d184c(0x28c)]({'metadata':void 0x0},{'unitID':_0x57f5be,'type':_0x31b063,'from':_0xd9aaa9,'to':_0x3e73dd}))[_0x2d184c(0x534)];}},_0x19f7dc['CollaborationSocketService']=_0x184ffe([_0x412de4(0x0,_0x5ee268[_0x1a9c4c(0x4b4)](_0x519640['HTTPService'])),_0x412de4(0x1,_0x5ee268[_0x1a9c4c(0x4b4)](_0x519640[_0x1a9c4c(0x5cc)])),_0x412de4(0x2,_0x5ee268[_0x1a9c4c(0x422)]),_0x412de4(0x3,_0x5ee268[_0x1a9c4c(0x2ff)]),_0x412de4(0x4,_0x437f93[_0x1a9c4c(0x295)])],_0x19f7dc['CollaborationSocketService']);const _0x4f8f0f=_0x1a9c4c(0x345);function _0x4c6bc7(_0x24ba8b){const _0x3a64e3=_0x1a9c4c;return JSON[_0x3a64e3(0x301)](_0x24ba8b)['length'];}class _0x37f911{constructor(){const _0x487d34=_0x1a9c4c;_0x1328f6(this,_0x487d34(0x417),new _0x56990c[(_0x487d34(0x3be))]()),_0x1328f6(this,'commentUpdate$',this[_0x487d34(0x417)][_0x487d34(0x560)]());}[_0x1a9c4c(0x442)](_0x371445){const _0x919294=_0x1a9c4c;this['_commentUpdate$'][_0x919294(0x42d)](_0x371445);}}var _0x391ba3=Object[_0x1a9c4c(0x340)],_0x577b57=Object[_0x1a9c4c(0x541)],_0x247e86=(_0x5446e8,_0x2aa698,_0x569c7c,_0x3729e2)=>{for(var _0x52edd0=_0x3729e2>0x1?void 0x0:_0x3729e2?_0x577b57(_0x2aa698,_0x569c7c):_0x2aa698,_0x46f1d2=_0x5446e8['length']-0x1,_0x48410e;_0x46f1d2>=0x0;_0x46f1d2--)(_0x48410e=_0x5446e8[_0x46f1d2])&&(_0x52edd0=(_0x3729e2?_0x48410e(_0x2aa698,_0x569c7c,_0x52edd0):_0x48410e(_0x52edd0))||_0x52edd0);return _0x3729e2&&_0x52edd0&&_0x391ba3(_0x2aa698,_0x569c7c,_0x52edd0),_0x52edd0;},_0x2ceb3a=(_0x26dfa7,_0x328898)=>(_0x15f41d,_0x1cdca5)=>_0x328898(_0x15f41d,_0x1cdca5,_0x26dfa7);let _0xd4878c=class extends _0x5ee268['Disposable']{constructor(_0x332843,_0x4196e4){const _0x2e8bc1=_0x1a9c4c;super(),_0x1328f6(this,_0x2e8bc1(0x44b),new Map()),(this[_0x2e8bc1(0x535)]=_0x332843,this['_userManagerService']=_0x4196e4,this['disposeWithMe'](_0x5ee268[_0x2e8bc1(0x4c5)](_0x56990c[_0x2e8bc1(0x1fd)](this[_0x2e8bc1(0x535)][_0x2e8bc1(0x2da)](_0x5ee268[_0x2e8bc1(0x2f7)][_0x2e8bc1(0x498)])['pipe'](_0x2b56b2[_0x2e8bc1(0x42f)](_0x3413b5=>_0x3413b5[_0x2e8bc1(0x4ef)]())),this[_0x2e8bc1(0x535)][_0x2e8bc1(0x2da)](_0x5ee268[_0x2e8bc1(0x2f7)]['UNIVER_DOC'])[_0x2e8bc1(0x246)](_0x2b56b2['map'](_0x439b0a=>_0x439b0a['getUnitId']())),this[_0x2e8bc1(0x535)][_0x2e8bc1(0x2da)](_0x5ee268[_0x2e8bc1(0x2f7)]['UNIVER_SLIDE'])[_0x2e8bc1(0x246)](_0x2b56b2[_0x2e8bc1(0x42f)](_0x5e1c84=>_0x5e1c84['getUnitId']())))[_0x2e8bc1(0x3a7)](_0x45838c=>this['_removeRoom'](_0x45838c)))));}[_0x1a9c4c(0x4bc)](_0x69a272){const _0x1d56a8=_0x1a9c4c;this[_0x1d56a8(0x3f5)][_0x1d56a8(0x4bc)](_0x69a272);}['getCurrentUser'](){const _0x3c8f04=_0x1a9c4c;return this[_0x3c8f04(0x3f5)][_0x3c8f04(0x5a9)]();}[_0x1a9c4c(0x50c)](_0x343d90,_0x1ccd7d){const _0x350a4a=_0x1a9c4c;let _0x1e0ddb=this['_roomMembers'][_0x350a4a(0x54d)](_0x343d90);_0x1e0ddb||(_0x1e0ddb=new _0x1a2856(),this[_0x350a4a(0x44b)]['set'](_0x343d90,_0x1e0ddb)),_0x1e0ddb[_0x350a4a(0x50c)](_0x1ccd7d);}['removeMember'](_0x37710a,_0x371fd0){const _0x260199=_0x1a9c4c,_0x53c35f=this['_roomMembers'][_0x260199(0x54d)](_0x37710a);_0x53c35f&&_0x53c35f[_0x260199(0x310)](_0x371fd0);}['getRoom'](_0x2c68ce){const _0x12a715=_0x1a9c4c;return this[_0x12a715(0x44b)][_0x12a715(0x54d)](_0x2c68ce);}[_0x1a9c4c(0x4f1)](_0x471b83,_0x2c2f84){const _0x3da758=_0x1a9c4c,_0x25383f=this[_0x3da758(0x44b)][_0x3da758(0x54d)](_0x471b83);if(_0x25383f)return _0x25383f[_0x3da758(0x4f1)](_0x2c2f84);}[_0x1a9c4c(0x2ac)](_0x18a839){const _0x5a9ef6=_0x1a9c4c,_0x1b4321=this[_0x5a9ef6(0x44b)][_0x5a9ef6(0x54d)](_0x18a839);_0x1b4321&&(_0x1b4321[_0x5a9ef6(0x214)](),this[_0x5a9ef6(0x44b)][_0x5a9ef6(0x1c8)](_0x18a839));}[_0x1a9c4c(0x214)](){const _0x12c179=_0x1a9c4c;this[_0x12c179(0x44b)][_0x12c179(0x506)](_0x21648a=>_0x21648a[_0x12c179(0x214)]()),this['_roomMembers']['clear']();}};_0xd4878c=_0x247e86([_0x2ceb3a(0x0,_0x5ee268['IUniverInstanceService']),_0x2ceb3a(0x1,_0x5ee268[_0x1a9c4c(0x4b4)](_0x5ee268[_0x1a9c4c(0x32e)]))],_0xd4878c);class _0x1a2856 extends _0x5ee268['Disposable']{constructor(){const _0x109c39=_0x1a9c4c;super(...arguments),_0x1328f6(this,_0x109c39(0x217),new Map());}[_0x1a9c4c(0x214)](){const _0x2dcf99=_0x1a9c4c;this[_0x2dcf99(0x217)][_0x2dcf99(0x20b)]();}['updateMember'](_0x890e3d){const _0x135d5e=_0x1a9c4c;this[_0x135d5e(0x217)][_0x135d5e(0x26c)](_0x890e3d[_0x135d5e(0x2b2)],_0x890e3d);}[_0x1a9c4c(0x310)](_0x4605bd){const _0x532d68=_0x1a9c4c;this[_0x532d68(0x217)][_0x532d68(0x1c8)](_0x4605bd);}['getMember'](_0x13657c){const _0x18f737=_0x1a9c4c;return this['_members'][_0x18f737(0x54d)](_0x13657c);}}var _0x43c468=Object['defineProperty'],_0x12b17a=Object['getOwnPropertyDescriptor'],_0x2fe6b0=(_0x16d1cd,_0x351dbd,_0xacfba1,_0x44a4ae)=>{for(var _0x521077=_0x44a4ae>0x1?void 0x0:_0x44a4ae?_0x12b17a(_0x351dbd,_0xacfba1):_0x351dbd,_0x3c40d0=_0x16d1cd['length']-0x1,_0x4562ff;_0x3c40d0>=0x0;_0x3c40d0--)(_0x4562ff=_0x16d1cd[_0x3c40d0])&&(_0x521077=(_0x44a4ae?_0x4562ff(_0x351dbd,_0xacfba1,_0x521077):_0x4562ff(_0x521077))||_0x521077);return _0x44a4ae&&_0x521077&&_0x43c468(_0x351dbd,_0xacfba1,_0x521077),_0x521077;},_0x1417a2=(_0x3511e0,_0x35dc8d)=>(_0x1a414c,_0x5c0c46)=>_0x35dc8d(_0x1a414c,_0x5c0c46,_0x3511e0),_0x3477b6=(_0x332770=>(_0x332770[_0x332770[_0x1a9c4c(0x248)]=0x0]=_0x1a9c4c(0x248),_0x332770[_0x332770['JOINING']=0x1]=_0x1a9c4c(0x5bf),_0x332770[_0x332770[_0x1a9c4c(0x304)]=0x2]='OFFLINE',_0x332770[_0x332770[_0x1a9c4c(0x399)]=0x3]=_0x1a9c4c(0x399),_0x332770))(_0x3477b6||{});_0x19f7dc[_0x1a9c4c(0x384)]=class extends _0x5ee268[_0x1a9c4c(0x4b2)]{constructor(_0x20c4be,_0xff5128,_0x3cfe2b,_0x2828d4,_0x41e05f,_0xaa4f5,_0x9fac9e,_0xa39bbd,_0x5f5083,_0x5b8b45){const _0x4c02fe=_0x1a9c4c;super(),_0x1328f6(this,'_sessionStatus$',new _0x56990c[(_0x4c02fe(0x3d3))](0x0)),_0x1328f6(this,_0x4c02fe(0x539),this['_sessionStatus$']['asObservable']()),_0x1328f6(this,_0x4c02fe(0x22f),new _0x56990c[(_0x4c02fe(0x3be))]()),_0x1328f6(this,_0x4c02fe(0x540),this[_0x4c02fe(0x22f)]['asObservable']()),_0x1328f6(this,'_socket'),_0x1328f6(this,'_socketMessageSubscription'),_0x1328f6(this,_0x4c02fe(0x1aa)),_0x1328f6(this,_0x4c02fe(0x3b0),!0x1),_0x1328f6(this,'_telemetryInfo',null),(this[_0x4c02fe(0x2e1)]=_0x20c4be,this[_0x4c02fe(0x2a9)]=_0x3cfe2b,this[_0x4c02fe(0x429)]=_0x2828d4,this[_0x4c02fe(0x5b4)]=_0x41e05f,this[_0x4c02fe(0x208)]=_0xaa4f5,this[_0x4c02fe(0x243)]=_0x9fac9e,this['_memberService']=_0xa39bbd,this['_commentService']=_0x5f5083,this[_0x4c02fe(0x428)]=_0x5b8b45,this[_0x4c02fe(0x3b0)]=!!this[_0x4c02fe(0x428)],_0xff5128[_0x4c02fe(0x246)](_0x56990c[_0x4c02fe(0x1da)](this[_0x4c02fe(0x1f6)]))[_0x4c02fe(0x3a7)](_0x1a8676=>{const _0x46ca01=_0x4c02fe;var _0x1fde97;typeof _0x1a8676>'u'||(this[_0x46ca01(0x2f0)]=_0x1a8676,_0x1a8676?(this[_0x46ca01(0x374)](_0x1a8676),this['_socketMessageSubscription']=_0x1a8676[_0x46ca01(0x3fa)]['subscribe'](_0xe7287f=>{const _0x25b88c=_0x46ca01;_0xe7287f['routeKey']===this[_0x25b88c(0x2e1)]&&this[_0x25b88c(0x58a)](_0xe7287f);})):(this[_0x46ca01(0x300)](),this[_0x46ca01(0x36c)]['next'](0x2),(_0x1fde97=this[_0x46ca01(0x56a)])==null||_0x1fde97[_0x46ca01(0x45c)](),this['_socketMessageSubscription']=null));}),this[_0x4c02fe(0x337)](this[_0x4c02fe(0x429)][_0x4c02fe(0x3ec)](()=>{const _0x31d734=_0x4c02fe;var _0x52eb76;(_0x52eb76=this['_socket'])==null||_0x52eb76['send']({'cmd':_0x4e0841[_0x31d734(0x2dc)],'data':{'roomID':this[_0x31d734(0x2e1)]}});})));}get['sessionStatus'](){const _0x40e391=_0x1a9c4c;return this[_0x40e391(0x36c)]['getValue']();}['getMemberID'](){const _0x280701=_0x1a9c4c;var _0x4c8253,_0x245751;return(_0x245751=(_0x4c8253=this[_0x280701(0x2f0)])==null?void 0x0:_0x4c8253['memberID'])!=null?_0x245751:null;}[_0x1a9c4c(0x214)](){const _0x27afca=_0x1a9c4c;super[_0x27afca(0x214)](),this['dispose$'][_0x27afca(0x42d)](),this[_0x27afca(0x1f6)]['complete']();}[_0x1a9c4c(0x4c9)](){const _0x31fc1b=_0x1a9c4c;var _0x313201,_0xae3393;this['_throwTelemetryCollaborationNewChangeset'](),(_0x313201=this[_0x31fc1b(0x2f0)])==null||_0x313201['send']({'cmd':_0x4e0841[_0x31fc1b(0x2dc)],'data':{'roomID':this[_0x31fc1b(0x2e1)]}}),(_0xae3393=this[_0x31fc1b(0x2f0)])==null||_0xae3393[_0x31fc1b(0x4c9)](),this[_0x31fc1b(0x22f)][_0x31fc1b(0x30a)](),this['_sessionStatus$'][_0x31fc1b(0x30a)](),this[_0x31fc1b(0x214)]();}[_0x1a9c4c(0x58a)](_0x4cc2b1){const _0x1cf2b4=_0x1a9c4c;_0x4cc2b1['cmd']===_0x4e0841[_0x1cf2b4(0x271)]?this[_0x1cf2b4(0x3fc)](_0x4cc2b1):_0x4cc2b1[_0x1cf2b4(0x5ab)]===_0x4e0841[_0x1cf2b4(0x3a3)]&&this[_0x1cf2b4(0x34d)](_0x4cc2b1);}['_joinRoom'](_0x33d81){const _0x29ea1e=_0x1a9c4c;this['_sessionStatus$'][_0x29ea1e(0x42d)](0x1),_0x33d81[_0x29ea1e(0x420)]({'cmd':_0x4e0841[_0x29ea1e(0x271)],'routeKey':this[_0x29ea1e(0x2e1)],'routeType':'','data':{'rooms':[{'roomID':this[_0x29ea1e(0x2e1)]}]}});}[_0x1a9c4c(0x3fc)](_0x55c54a){const _0x312007=_0x1a9c4c;var _0x168257;if(_0x55c54a[_0x312007(0x38e)]===_0x389c04['FAIL']){this[_0x312007(0x5b4)][_0x312007(0x1c3)]({'type':_0x2e321b[_0x312007(0x1db)][_0x312007(0x3c5)],'content':this[_0x312007(0x243)]['t'](_0x312007(0x3c6))}),this[_0x312007(0x36c)][_0x312007(0x42d)](0x2);return;}this[_0x312007(0x36c)][_0x312007(0x42d)](0x3);const _0x38723c=(_0x168257=_0x55c54a[_0x312007(0x5ac)]['roomInfos'][this[_0x312007(0x2e1)]])==null?void 0x0:_0x168257['members'];_0x38723c&&_0x38723c[_0x312007(0x506)](_0x581305=>this[_0x312007(0x33d)][_0x312007(0x50c)](this[_0x312007(0x2e1)],_0x581305));}[_0x1a9c4c(0x34d)](_0x342f7a){const _0xb079ce=_0x1a9c4c;try{const _0x1f85b1=_0x342f7a['data'];switch(_0x1f85b1[_0xb079ce(0x3f9)]){case _0x437f93[_0xb079ce(0x2c5)]['USERS_ENTER']:this['_onUserJoin'](_0x1f85b1),this['_event$'][_0xb079ce(0x42d)](_0x1f85b1);break;case _0x437f93[_0xb079ce(0x2c5)][_0xb079ce(0x288)]:this['_onUserLeave'](_0x1f85b1),this[_0xb079ce(0x22f)][_0xb079ce(0x42d)](_0x1f85b1);break;case _0x437f93[_0xb079ce(0x2c5)][_0xb079ce(0x513)]:this[_0xb079ce(0x43a)](),this[_0xb079ce(0x4db)](),this['_event$'][_0xb079ce(0x42d)](_0x1f85b1);break;case _0x437f93[_0xb079ce(0x2c5)][_0xb079ce(0x467)]:this[_0xb079ce(0x2a9)][_0xb079ce(0x317)](_0xb079ce(0x406)+JSON['stringify'](_0x1f85b1)),this[_0xb079ce(0x22f)][_0xb079ce(0x42d)](_0x1f85b1);break;case _0x437f93[_0xb079ce(0x2c5)][_0xb079ce(0x390)]:this[_0xb079ce(0x3a1)][_0xb079ce(0x442)](_0x1f85b1['data']),this['_event$'][_0xb079ce(0x42d)](_0x1f85b1);break;default:this[_0xb079ce(0x22f)][_0xb079ce(0x42d)](_0x1f85b1);}}catch(_0x4199db){this[_0xb079ce(0x2a9)]['error'](_0x4199db,_0x342f7a);}}[_0x1a9c4c(0x385)](_0x328905){const _0x4ed8a8=_0x1a9c4c;this[_0x4ed8a8(0x33d)][_0x4ed8a8(0x50c)](this[_0x4ed8a8(0x2e1)],_0x328905[_0x4ed8a8(0x5ac)]);}[_0x1a9c4c(0x328)](_0x2536fc){const _0x2745a4=_0x1a9c4c;this[_0x2745a4(0x33d)][_0x2745a4(0x310)](this['_unitID'],_0x2536fc[_0x2745a4(0x5ac)]['memberID']);}async[_0x1a9c4c(0x420)](_0x27ca55,_0x213541){const _0x4d07d8=_0x1a9c4c;if(this[_0x4d07d8(0x2f6)]!==0x3||!this['_socket'])throw new Error(_0x4d07d8(0x552));try{_0x27ca55[_0x4d07d8(0x3f9)]===_0x437f93[_0x4d07d8(0x2c5)][_0x4d07d8(0x4ed)]&&(this[_0x4d07d8(0x1df)](),this[_0x4d07d8(0x4fe)](_0x27ca55)),this['_socket'][_0x4d07d8(0x420)]({'cmd':_0x4e0841['INGEST'],'routeKey':_0x213541,'routeType':'','data':_0x27ca55});}catch(_0x524bbf){this['_logService'][_0x4d07d8(0x317)](_0x524bbf);}}['_scheduleCollaborationTimeoutTimer'](){const _0x200e26=_0x1a9c4c;var _0xb8a4fc;this[_0x200e26(0x1aa)]=window[_0x200e26(0x557)](()=>{const _0x2f6af6=_0x200e26;this[_0x2f6af6(0x1aa)]=null,this[_0x2f6af6(0x5b4)][_0x2f6af6(0x1c3)]({'type':_0x2e321b[_0x2f6af6(0x1db)][_0x2f6af6(0x423)],'content':this[_0x2f6af6(0x243)]['t'](_0x2f6af6(0x5b3))});},(_0xb8a4fc=this[_0x200e26(0x208)][_0x200e26(0x3a6)](_0x4d3fc9))!=null?_0xb8a4fc:0x4e20);}[_0x1a9c4c(0x4db)](){const _0x500683=_0x1a9c4c;this[_0x500683(0x1aa)]&&(clearTimeout(this[_0x500683(0x1aa)]),this[_0x500683(0x1aa)]=null);}[_0x1a9c4c(0x4fe)](_0x260a18){const _0x26efb0=_0x1a9c4c;if(!this[_0x26efb0(0x3b0)])return;const {data:_0xa291ba}=_0x260a18,{unitID:_0x2e4619,changeset:_0x227cdd}=_0xa291ba,{mutations:_0x457bd6,type:_0x4439ff}=_0x227cdd;this['_telemetryInfo']={'unitId':_0x2e4619,'type':_0x4439ff,'startTime':performance[_0x26efb0(0x257)](),'stopTime':0x0,'duration':0x0,'size':_0x4c6bc7(_0x457bd6)};}[_0x1a9c4c(0x43a)](){const _0x2893ba=_0x1a9c4c;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this['_logService'][_0x2893ba(0x317)](_0x2893ba(0x2ea),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2893ba(0x409)][_0x2893ba(0x3de)]=performance['now'](),this[_0x2893ba(0x409)][_0x2893ba(0x283)]=this['_telemetryInfo'][_0x2893ba(0x3de)]-this[_0x2893ba(0x409)][_0x2893ba(0x470)],this[_0x2893ba(0x428)][_0x2893ba(0x1b6)](_0x4f8f0f,this['_telemetryInfo']),this['_telemetryInfo']=null;}}[_0x1a9c4c(0x300)](){const _0x3a3982=_0x1a9c4c;this[_0x3a3982(0x409)]=null;}},_0x19f7dc[_0x1a9c4c(0x384)]=_0x2fe6b0([_0x1417a2(0x2,_0x5ee268['ILogService']),_0x1417a2(0x3,_0x56f90f[_0x1a9c4c(0x1ee)]),_0x1417a2(0x4,_0x56f90f['IMessageService']),_0x1417a2(0x5,_0x5ee268[_0x1a9c4c(0x422)]),_0x1417a2(0x6,_0x5ee268[_0x1a9c4c(0x4b4)](_0x5ee268[_0x1a9c4c(0x25a)])),_0x1417a2(0x7,_0x5ee268[_0x1a9c4c(0x4b4)](_0xd4878c)),_0x1417a2(0x8,_0x5ee268[_0x1a9c4c(0x4b4)](_0x37f911)),_0x1417a2(0x9,_0x5ee268[_0x1a9c4c(0x2c1)](_0x28800d['ITelemetryService']))],_0x19f7dc[_0x1a9c4c(0x384)]);var _0x5955e8=Object[_0x1a9c4c(0x340)],_0x177629=Object['getOwnPropertyDescriptor'],_0x2f3453=(_0x20b846,_0x4ff2ae,_0x270106,_0x4314ef)=>{const _0x54aa45=_0x1a9c4c;for(var _0x226f32=_0x4314ef>0x1?void 0x0:_0x4314ef?_0x177629(_0x4ff2ae,_0x270106):_0x4ff2ae,_0x740c43=_0x20b846[_0x54aa45(0x4d8)]-0x1,_0x4cea68;_0x740c43>=0x0;_0x740c43--)(_0x4cea68=_0x20b846[_0x740c43])&&(_0x226f32=(_0x4314ef?_0x4cea68(_0x4ff2ae,_0x270106,_0x226f32):_0x4cea68(_0x226f32))||_0x226f32);return _0x4314ef&&_0x226f32&&_0x5955e8(_0x4ff2ae,_0x270106,_0x226f32),_0x226f32;},_0x5e3a84=(_0x743627,_0xc5432b)=>(_0x26bcd6,_0x2712d7)=>_0xc5432b(_0x26bcd6,_0x2712d7,_0x743627);_0x19f7dc[_0x1a9c4c(0x569)]=class extends _0x5ee268[_0x1a9c4c(0x238)]{constructor(_0xa8f8cf,_0x4f84f4,_0x4e2708,_0x29b765,_0x343f92,_0x2b599d){const _0x511df9=_0x1a9c4c;super(),_0x1328f6(this,_0x511df9(0x3e3),new _0x56990c[(_0x511df9(0x3d3))](void 0x0)),_0x1328f6(this,_0x511df9(0x4fa),this[_0x511df9(0x3e3)]['asObservable']()),_0x1328f6(this,_0x511df9(0x526),null),_0x1328f6(this,_0x511df9(0x3cd),new Map()),_0x1328f6(this,'_status$',new _0x56990c[(_0x511df9(0x3d3))](_0x3477b6[_0x511df9(0x248)])),_0x1328f6(this,_0x511df9(0x501),this['_status$']['asObservable']()),_0x1328f6(this,_0x511df9(0x32a),!0x1),_0x1328f6(this,_0x511df9(0x232)),_0x1328f6(this,_0x511df9(0x5c1),0x0),_0x1328f6(this,_0x511df9(0x280)),_0x1328f6(this,_0x511df9(0x419)),(this[_0x511df9(0x474)]=_0xa8f8cf,this[_0x511df9(0x243)]=_0x4f84f4,this['_messageService']=_0x4e2708,this['_logService']=_0x29b765,this[_0x511df9(0x208)]=_0x343f92,this[_0x511df9(0x382)]=_0x2b599d,this[_0x511df9(0x4c1)]());}get[_0x1a9c4c(0x2f0)](){const _0x483c80=_0x1a9c4c;return this[_0x483c80(0x3e3)]['getValue']();}['_initEventListeners'](){const _0x59db5e=_0x1a9c4c;this[_0x59db5e(0x4ea)](),this[_0x59db5e(0x2b8)]();}[_0x1a9c4c(0x214)](){const _0x311b48=_0x1a9c4c;super[_0x311b48(0x214)](),this[_0x311b48(0x3cd)]['forEach'](_0x5f114d=>_0x5f114d[_0x311b48(0x214)]()),this[_0x311b48(0x3cd)]['clear'](),this[_0x311b48(0x4c0)][_0x311b48(0x30a)]();}async['requireSession'](_0x64057){const _0x49e35e=_0x1a9c4c;if(this[_0x49e35e(0x3cd)][_0x49e35e(0x252)](_0x64057))return this[_0x49e35e(0x3cd)][_0x49e35e(0x54d)](_0x64057);this['_tryEnsureSocket']();const _0x2b55f0=this['_injector']['createInstance'](_0x19f7dc[_0x49e35e(0x384)],_0x64057,this[_0x49e35e(0x3e3)][_0x49e35e(0x560)]());return this['_sessions'][_0x49e35e(0x26c)](_0x64057,_0x2b55f0),_0x2b55f0;}[_0x1a9c4c(0x43c)](_0x5d9c32){const _0x277b36=_0x1a9c4c;var _0x5eddfc;const _0x50c8ad=this[_0x277b36(0x3cd)][_0x277b36(0x54d)](_0x5d9c32);_0x50c8ad&&(this[_0x277b36(0x3cd)][_0x277b36(0x1c8)](_0x5d9c32),_0x50c8ad[_0x277b36(0x4c9)]()),this[_0x277b36(0x3cd)][_0x277b36(0x3ce)]||(_0x5eddfc=this[_0x277b36(0x2f0)])==null||_0x5eddfc[_0x277b36(0x4c9)]();}[_0x1a9c4c(0x436)](){const _0x17a536=_0x1a9c4c;this[_0x17a536(0x5c1)]=0x0,this[_0x17a536(0x232)]!=null&&(clearTimeout(this[_0x17a536(0x232)]),this[_0x17a536(0x232)]=null),this['_tryReconnect']();}[_0x1a9c4c(0x33c)](){const _0x588b18=_0x1a9c4c;var _0x336566,_0x4704b8;const _0x2c0904=this['_configService']['getConfig'](_0x4684ef),_0x3fff14=this[_0x588b18(0x208)][_0x588b18(0x3a6)](_0x17bae2),_0x56ed51=(_0x4704b8=(_0x336566=_0x3fff14==null?void 0x0:_0x3fff14[_0x588b18(0x2ef)])!=null?_0x336566:_0x2c0904)!=null?_0x4704b8:_0x2db330,_0x529c2e=this['_socketService'][_0x588b18(0x1c9)](_0x56ed51);return this[_0x588b18(0x526)]=_0x529c2e,_0x529c2e;}[_0x1a9c4c(0x36b)](){const _0x5a9fb3=_0x1a9c4c;var _0x52d8ca,_0x282348;try{const _0x40e096=(_0x282348=(_0x52d8ca=this[_0x5a9fb3(0x2f0)])!=null?_0x52d8ca:this[_0x5a9fb3(0x526)])!=null?_0x282348:this[_0x5a9fb3(0x33c)]();if(_0x40e096){const _0x544c94=_0x40e096['send'];_0x40e096[_0x5a9fb3(0x420)]=_0xef5b5b=>(this[_0x5a9fb3(0x35c)](),_0x544c94[_0x5a9fb3(0x1d0)](_0x40e096,[_0xef5b5b])),_0x40e096[_0x5a9fb3(0x3fa)]['subscribe'](_0x4f7e22=>this[_0x5a9fb3(0x3f4)](_0x40e096,_0x4f7e22)),_0x40e096[_0x5a9fb3(0x27c)][_0x5a9fb3(0x246)](_0x2b56b2[_0x5a9fb3(0x46a)](0x1))[_0x5a9fb3(0x3a7)](_0x1c16a2=>this[_0x5a9fb3(0x2a9)][_0x5a9fb3(0x317)]('[CollaborationSessionService]:\x20socket\x20error',_0x1c16a2)),_0x40e096['open$'][_0x5a9fb3(0x246)](_0x2b56b2[_0x5a9fb3(0x46a)](0x1))[_0x5a9fb3(0x3a7)](()=>{const _0x5685fd=_0x5a9fb3;this[_0x5685fd(0x253)](_0x40e096);}),_0x40e096['close$'][_0x5a9fb3(0x246)](_0x2b56b2['take'](0x1))[_0x5a9fb3(0x3a7)](_0x288bad=>{const _0x100f82=_0x5a9fb3;this[_0x100f82(0x2a9)][_0x100f82(0x2d3)](_0x100f82(0x42a),_0x100f82(0x465),_0x288bad),this[_0x100f82(0x5cb)]();});}}catch(_0xa6d955){this['_logService']['error'](_0xa6d955),this['_onConnectionFailed']();}}[_0x1a9c4c(0x253)](_0x400283){const _0x53ddff=_0x1a9c4c;this['_logService'][_0x53ddff(0x2d3)](_0x53ddff(0x42a),_0x53ddff(0x587)),_0x400283[_0x53ddff(0x420)]({'cmd':_0x4e0841[_0x53ddff(0x24c)]}),this[_0x53ddff(0x35c)]();}[_0x1a9c4c(0x4ea)](){const _0x4b95b9=_0x1a9c4c;window[_0x4b95b9(0x2ba)]('offline',()=>this[_0x4b95b9(0x394)]());}['_onOffline'](){const _0x22d7cf=_0x1a9c4c;this['_socketReady']=!0x1,this[_0x22d7cf(0x526)]=null,this['_status$'][_0x22d7cf(0x42d)](_0x3477b6[_0x22d7cf(0x304)]),this[_0x22d7cf(0x3e3)][_0x22d7cf(0x42d)](null),this[_0x22d7cf(0x4e5)](),this['_clearHeartbeatTimer']();}[_0x1a9c4c(0x5cb)](){const _0x4b845d=_0x1a9c4c;var _0x19160c;this[_0x4b845d(0x394)](),this[_0x4b845d(0x5c1)]<((_0x19160c=this[_0x4b845d(0x208)][_0x4b845d(0x3a6)](_0x981892))!=null?_0x19160c:0x3)?(this[_0x4b845d(0x5b4)][_0x4b845d(0x1c3)]({'key':_0x4b845d(0x36d),'type':_0x2e321b[_0x4b845d(0x1db)][_0x4b845d(0x3c5)],'content':this[_0x4b845d(0x243)]['t'](_0x4b845d(0x2d4))}),this['_tryReconnect']()):this[_0x4b845d(0x5b4)][_0x4b845d(0x1c3)]({'key':_0x4b845d(0x36d),'type':_0x2e321b[_0x4b845d(0x1db)]['Error'],'content':this[_0x4b845d(0x243)]['t'](_0x4b845d(0x3ba))});}[_0x1a9c4c(0x2b8)](){const _0x33f3fc=_0x1a9c4c,_0x339c7c=()=>{const _0x305491=_0x2a06;this[_0x305491(0x2f0)]||this[_0x305491(0x436)]();},_0x21928e=()=>{const _0x2616a2=_0x2a06;this[_0x2616a2(0x2f0)]||document[_0x2616a2(0x2b7)]===_0x2616a2(0x4ad)||this['reconnect']();};window[_0x33f3fc(0x2ba)](_0x33f3fc(0x302),_0x339c7c),document[_0x33f3fc(0x2ba)](_0x33f3fc(0x2b0),_0x21928e);}['_tryReconnect'](){const _0x479945=_0x1a9c4c;var _0x21d7e3;const _0x44f13a=this[_0x479945(0x5c1)],_0x10e2cc=this[_0x479945(0x208)][_0x479945(0x3a6)](_0x17bae2),_0x389aee=_0x44f13a===0x0?0x0:((_0x21d7e3=_0x10e2cc==null?void 0x0:_0x10e2cc['retryConnectingInterval'])!=null?_0x21d7e3:0x4e20)*0x2**_0x44f13a;this['_retryConnectingTimer']=window[_0x479945(0x557)](()=>{const _0x49c5a6=_0x479945;clearTimeout(this[_0x49c5a6(0x232)]),this['_retryConnectingTimer']=null,this[_0x49c5a6(0x36b)]();},_0x389aee),this['_retryCount']+=0x1;}['_onMessage'](_0x3b5d27,_0x562e4b){const _0x1c66b9=_0x1a9c4c,{cmd:_0x51d018}=_0x562e4b;_0x51d018===_0x4e0841[_0x1c66b9(0x24c)]&&!this[_0x1c66b9(0x32a)]&&(_0x3b5d27['memberID']=_0x562e4b[_0x1c66b9(0x5ac)][_0x1c66b9(0x2b2)],this[_0x1c66b9(0x3e3)][_0x1c66b9(0x42d)](_0x3b5d27),this[_0x1c66b9(0x4c0)][_0x1c66b9(0x42d)](_0x3477b6['ONLINE']),this[_0x1c66b9(0x32a)]=!0x0,this[_0x1c66b9(0x526)]=null),_0x51d018===_0x4e0841[_0x1c66b9(0x1f3)]&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){const _0x171fe3=_0x1a9c4c;var _0x4fa376;this['_clearHeartbeatTimer'](),this[_0x171fe3(0x280)]=window[_0x171fe3(0x557)](()=>this[_0x171fe3(0x4d9)](),(_0x4fa376=this[_0x171fe3(0x208)][_0x171fe3(0x3a6)](_0x41bc7c))!=null?_0x4fa376:0x7530);}[_0x1a9c4c(0x4d9)](){const _0x14bb11=_0x1a9c4c;this[_0x14bb11(0x2f0)][_0x14bb11(0x420)]({'cmd':_0x4e0841[_0x14bb11(0x1f3)]}),this[_0x14bb11(0x56e)]();}[_0x1a9c4c(0x56e)](){const _0x26eb67=_0x1a9c4c;var _0x16edb4;this['_timeoutTimer']=window[_0x26eb67(0x557)](()=>this[_0x26eb67(0x5cb)](),(_0x16edb4=this['_configService'][_0x26eb67(0x3a6)](_0x4d3fc9))!=null?_0x16edb4:0x4e20);}[_0x1a9c4c(0x2a7)](){const _0x2965ce=_0x1a9c4c;this[_0x2965ce(0x280)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x1a9c4c(0x4e5)](){const _0x5cffd0=_0x1a9c4c;this[_0x5cffd0(0x419)]!=null&&(clearTimeout(this[_0x5cffd0(0x419)]),this['_timeoutTimer']=null);}},_0x19f7dc[_0x1a9c4c(0x569)]=_0x2f3453([_0x5e3a84(0x0,_0x5ee268[_0x1a9c4c(0x4b4)](_0x5ee268['Injector'])),_0x5e3a84(0x1,_0x5ee268['Inject'](_0x5ee268['LocaleService'])),_0x5e3a84(0x2,_0x56f90f[_0x1a9c4c(0x2cb)]),_0x5e3a84(0x3,_0x5ee268[_0x1a9c4c(0x2ff)]),_0x5e3a84(0x4,_0x5ee268['IConfigService']),_0x5e3a84(0x5,_0x411a7c)],_0x19f7dc[_0x1a9c4c(0x569)]);var _0x38cb35=Object[_0x1a9c4c(0x340)],_0x144778=Object['getOwnPropertyDescriptor'],_0x2e132a=(_0x132783,_0x49e09e,_0x51606e,_0x1dffa1)=>{const _0x2d40c9=_0x1a9c4c;for(var _0x5c19ed=_0x1dffa1>0x1?void 0x0:_0x1dffa1?_0x144778(_0x49e09e,_0x51606e):_0x49e09e,_0x315b5f=_0x132783[_0x2d40c9(0x4d8)]-0x1,_0x274a18;_0x315b5f>=0x0;_0x315b5f--)(_0x274a18=_0x132783[_0x315b5f])&&(_0x5c19ed=(_0x1dffa1?_0x274a18(_0x49e09e,_0x51606e,_0x5c19ed):_0x274a18(_0x5c19ed))||_0x5c19ed);return _0x1dffa1&&_0x5c19ed&&_0x38cb35(_0x49e09e,_0x51606e,_0x5c19ed),_0x5c19ed;},_0xf3f679=(_0x69c49b,_0xa55ea5)=>(_0x146c3c,_0x4f2ba3)=>_0xa55ea5(_0x146c3c,_0x4f2ba3,_0x69c49b);let _0x174d0a=class{constructor(_0x667934,_0x21a581,_0x37a0be){const _0x2ccd7c=_0x1a9c4c;this[_0x2ccd7c(0x474)]=_0x667934,this[_0x2ccd7c(0x2df)]=_0x21a581,this[_0x2ccd7c(0x377)]=_0x37a0be;}[_0x1a9c4c(0x42b)](_0x9197){const _0x1d4218=_0x1a9c4c;this[_0x1d4218(0x393)](_0x9197),this[_0x1d4218(0x3b7)](_0x9197);}[_0x1a9c4c(0x355)](_0x441fa3){const _0x49f429=_0x1a9c4c,{unitID:_0x317679}=_0x441fa3,_0x435a7d=this[_0x49f429(0x377)][_0x49f429(0x48f)](_0x317679)[_0x49f429(0x205)](_0x2d522a['DocIMEInputManagerService']),{redoCache:_0x1d0566}=_0x435a7d['getUndoRedoMutationParamsCache']();if(_0x1d0566[_0x49f429(0x4d8)]===0x0)return _0x441fa3;let _0x10efac=_0x5ee268[_0x49f429(0x277)][_0x49f429(0x338)](_0x441fa3[_0x49f429(0x234)][0x0]);for(let _0x316e93=0x0;_0x316e93<_0x1d0566[_0x49f429(0x4d8)];_0x316e93++){const _0x4a22aa={'id':_0x49f429(0x220),'params':{..._0x1d0566[_0x316e93]}},_0x7de821=this[_0x49f429(0x2df)]['transformMutation'](_0x10efac,_0x4a22aa,!0x1);if(_0x437f93[_0x49f429(0x1ac)](_0x7de821))throw _0x7de821[_0x49f429(0x317)];_0x10efac=_0x7de821[_0x49f429(0x52f)];}return{..._0x5ee268[_0x49f429(0x277)][_0x49f429(0x338)](_0x441fa3),'mutations':[_0x10efac]};}['_transformUndoRedoStack'](_0x4da431){const _0xc40015=_0x1a9c4c,{unitID:_0x4c236a}=_0x4da431,_0x279253=this['_renderManagerService'][_0xc40015(0x48f)](_0x4c236a)[_0xc40015(0x205)](_0x2d522a[_0xc40015(0x4f3)]),{undoCache:_0x196da9,redoCache:_0x2f4075}=_0x279253[_0xc40015(0x303)]();if(_0x196da9[_0xc40015(0x4d8)]===0x0||_0x2f4075[_0xc40015(0x4d8)]===0x0)return;const _0x31a5b9=[],_0x305aad=[];let _0x11bfae=_0x5ee268[_0xc40015(0x277)][_0xc40015(0x338)](_0x4da431[_0xc40015(0x234)][0x0]),_0x413d8a=_0x5ee268['Tools'][_0xc40015(0x338)](_0x4da431[_0xc40015(0x234)][0x0]);for(let _0x3e6e66=_0x196da9[_0xc40015(0x4d8)]-0x1;_0x3e6e66>=0x0;_0x3e6e66--){const _0x207a9c={'id':_0xc40015(0x220),'params':{..._0x196da9[_0x3e6e66]}},_0x717b55={'id':'doc.mutation.rich-text-editing','params':{..._0x2f4075[_0x3e6e66]}},_0x1fa328=this[_0xc40015(0x2df)][_0xc40015(0x24d)](_0x11bfae,_0x207a9c,!0x1),_0x14f343=this[_0xc40015(0x2df)]['transformMutation'](_0x413d8a,_0x717b55,!0x1);if(_0x437f93[_0xc40015(0x1ac)](_0x1fa328))throw _0x1fa328[_0xc40015(0x317)];if(_0x437f93['isTransformMutationFailure'](_0x14f343))throw _0x14f343[_0xc40015(0x317)];_0x31a5b9[_0xc40015(0x550)](_0x1fa328[_0xc40015(0x2b9)][_0xc40015(0x3e7)]),_0x305aad[_0xc40015(0x550)](_0x14f343['m2Prime'][_0xc40015(0x3e7)]),_0x11bfae=_0x1fa328[_0xc40015(0x52f)],_0x413d8a=_0x14f343[_0xc40015(0x52f)];}_0x279253[_0xc40015(0x50d)]({'undoCache':_0x31a5b9,'redoCache':_0x305aad});}[_0x1a9c4c(0x3b7)](_0x423f81){const _0x2de374=_0x1a9c4c,{unitID:_0x5c7e6d}=_0x423f81,_0x5e17a2=this['_renderManagerService'][_0x2de374(0x48f)](_0x5c7e6d)[_0x2de374(0x205)](_0x2d522a[_0x2de374(0x4f3)]),_0x5c52ab=_0x5e17a2['getActiveRange']();if(_0x5c52ab==null)return;const _0x3e7c98=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x423f81[_0x2de374(0x447)],'actions':null,'textRanges':[_0x5c52ab]}}],_0x255343=this[_0x2de374(0x2df)]['transformMutationsWithChangeset'](_0x423f81,_0x3e7c98);if(!_0x437f93[_0x2de374(0x1d4)](_0x255343))throw _0x255343[_0x2de374(0x317)];const _0x10718e=_0x255343[_0x2de374(0x2b9)][0x0][_0x2de374(0x3e7)][_0x2de374(0x29f)];Array[_0x2de374(0x5c9)](_0x10718e)&&_0x10718e[_0x2de374(0x4d8)]&&_0x5e17a2[_0x2de374(0x230)](_0x10718e[0x0]);}};_0x174d0a=_0x2e132a([_0xf3f679(0x0,_0x5ee268[_0x1a9c4c(0x4b4)](_0x5ee268[_0x1a9c4c(0x418)])),_0xf3f679(0x1,_0x437f93[_0x1a9c4c(0x1c7)]),_0xf3f679(0x2,_0x454685['IRenderManagerService'])],_0x174d0a);var _0x6e83e2=Object[_0x1a9c4c(0x340)],_0x345565=Object[_0x1a9c4c(0x541)],_0x356fa9=(_0x5a0aaa,_0x5e1f55,_0x5eb020,_0x25fd25)=>{for(var _0x1e8d4b=_0x25fd25>0x1?void 0x0:_0x25fd25?_0x345565(_0x5e1f55,_0x5eb020):_0x5e1f55,_0x4077ec=_0x5a0aaa['length']-0x1,_0x10389c;_0x4077ec>=0x0;_0x4077ec--)(_0x10389c=_0x5a0aaa[_0x4077ec])&&(_0x1e8d4b=(_0x25fd25?_0x10389c(_0x5e1f55,_0x5eb020,_0x1e8d4b):_0x10389c(_0x1e8d4b))||_0x1e8d4b);return _0x25fd25&&_0x1e8d4b&&_0x6e83e2(_0x5e1f55,_0x5eb020,_0x1e8d4b),_0x1e8d4b;},_0x1f4de5=(_0x357044,_0x1cfbaa)=>(_0x5ed5cc,_0x4a2953)=>_0x1cfbaa(_0x5ed5cc,_0x4a2953,_0x357044);_0x19f7dc[_0x1a9c4c(0x59e)]=class extends _0x5ee268['Disposable']{constructor(_0x42dc74,_0x2e7d1,_0x11e948,_0x2b1a77,_0x18d3a6){const _0x2fdd72=_0x1a9c4c;super(),_0x1328f6(this,_0x2fdd72(0x5a4),new Map()),_0x1328f6(this,_0x2fdd72(0x407),new Map()),_0x1328f6(this,_0x2fdd72(0x425),!0x1),(this[_0x2fdd72(0x208)]=_0x42dc74,this['_localStorageService']=_0x2e7d1,this[_0x2fdd72(0x429)]=_0x11e948,this[_0x2fdd72(0x243)]=_0x2b1a77,this['_revisionService']=_0x18d3a6,this[_0x2fdd72(0x43d)]());}[_0x1a9c4c(0x4e1)](){const _0x574e69=_0x1a9c4c;this[_0x574e69(0x425)]=!0x0;}[_0x1a9c4c(0x3ad)](){const _0x1b7dc2=_0x1a9c4c;this[_0x1b7dc2(0x425)]=!0x1;}[_0x1a9c4c(0x214)](){const _0x3331e6=_0x1a9c4c;this[_0x3331e6(0x1f2)]()[_0x3331e6(0x29c)](()=>super[_0x3331e6(0x214)]());}async[_0x1a9c4c(0x2f8)](_0x1ceb7b){const _0x1fc1c6=_0x1a9c4c;return this[_0x1fc1c6(0x425)]?null:this[_0x1fc1c6(0x1ba)][_0x1fc1c6(0x45b)](_0x71d301(_0x1ceb7b));}async[_0x1a9c4c(0x548)](_0x28f5a3,_0x58909f){const _0x189d7c=_0x1a9c4c;return!!this[_0x189d7c(0x1ba)][_0x189d7c(0x2c9)](_0x28f5a3,_0x58909f);}[_0x1a9c4c(0x57e)](_0x7ce47,_0x386313,_0x2a56e5,_0x3764af){const _0x51c4eb=_0x1a9c4c,_0xe78d08=this[_0x51c4eb(0x3af)][_0x51c4eb(0x1e9)](_0x7ce47);this['_cachedData'][_0x51c4eb(0x26c)](_0x7ce47,{'unitID':_0x7ce47,'type':_0x386313,'awaitingChangeset':_0x2a56e5,'mutations':_0x3764af,'rev':_0xe78d08}),this[_0x51c4eb(0x407)]['has'](_0x7ce47)||this[_0x51c4eb(0x22e)](_0x7ce47);}[_0x1a9c4c(0x22e)](_0x397749){const _0x1de8fc=_0x1a9c4c,_0x1a9177=this['_getSaveTimeout']();_0x1a9177===0x0?this[_0x1de8fc(0x4b6)](_0x397749):this[_0x1de8fc(0x407)][_0x1de8fc(0x26c)](_0x397749,setTimeout(()=>this[_0x1de8fc(0x4b6)](_0x397749),_0x1a9177));}[_0x1a9c4c(0x30d)](){var _0x4c5972;return(_0x4c5972=this['_configService']['getConfig'](_0x9bc94d))!=null?_0x4c5972:0x3e8;}[_0x1a9c4c(0x4b6)](_0x7d4da9){const _0x25361b=_0x1a9c4c,_0x5e128f=this[_0x25361b(0x407)][_0x25361b(0x54d)](_0x7d4da9);return _0x5e128f!==void 0x0&&window[_0x25361b(0x556)](_0x5e128f),this[_0x25361b(0x1ba)]['setItem'](_0x71d301(_0x7d4da9),this['_cachedData'][_0x25361b(0x54d)](_0x7d4da9))['then'](()=>this['_saveTaskMap'][_0x25361b(0x1c8)](_0x7d4da9));}async[_0x1a9c4c(0x1f2)](){const _0x3122b9=_0x1a9c4c,_0x416ce6=[];this[_0x3122b9(0x407)][_0x3122b9(0x506)]((_0x1852a7,_0x272cd9)=>{const _0x4f0d54=_0x3122b9;window[_0x4f0d54(0x556)](_0x1852a7),_0x416ce6[_0x4f0d54(0x2ee)](this['_saveCache'](_0x272cd9)['then'](()=>{const _0x756e4a=_0x4f0d54;this[_0x756e4a(0x407)][_0x756e4a(0x1c8)](_0x272cd9);}));}),await Promise[_0x3122b9(0x4ca)](_0x416ce6);}['_setupBeforeClosingHandler'](){const _0x3f0c0a=_0x1a9c4c;this[_0x3f0c0a(0x337)](this[_0x3f0c0a(0x429)][_0x3f0c0a(0x1bf)](()=>{const _0x3e89d7=_0x3f0c0a;if(this['_saveTaskMap'][_0x3e89d7(0x3ce)])return this[_0x3e89d7(0x243)]['t']('collaboration-client.offline-data-not-saved');}));}},_0x19f7dc[_0x1a9c4c(0x59e)]=_0x356fa9([_0x1f4de5(0x0,_0x5ee268[_0x1a9c4c(0x422)]),_0x1f4de5(0x1,_0x5ee268[_0x1a9c4c(0x5a0)]),_0x1f4de5(0x2,_0x56f90f['IBeforeCloseService']),_0x1f4de5(0x3,_0x5ee268['Inject'](_0x5ee268[_0x1a9c4c(0x25a)])),_0x1f4de5(0x4,_0x5ee268[_0x1a9c4c(0x4b4)](_0x437f93[_0x1a9c4c(0x53b)]))],_0x19f7dc[_0x1a9c4c(0x59e)]);function _0x71d301(_0x4f75ef){const _0x23d495=_0x1a9c4c;return _0x23d495(0x4e0)+_0x4f75ef;}var _0x36b3a9=Object[_0x1a9c4c(0x340)],_0x6c7386=Object[_0x1a9c4c(0x541)],_0x1218a7=(_0x5e79b5,_0x23c625,_0x53cf24,_0x217f10)=>{const _0x1f3ec4=_0x1a9c4c;for(var _0x4697c2=_0x217f10>0x1?void 0x0:_0x217f10?_0x6c7386(_0x23c625,_0x53cf24):_0x23c625,_0x3af08f=_0x5e79b5[_0x1f3ec4(0x4d8)]-0x1,_0x5cf211;_0x3af08f>=0x0;_0x3af08f--)(_0x5cf211=_0x5e79b5[_0x3af08f])&&(_0x4697c2=(_0x217f10?_0x5cf211(_0x23c625,_0x53cf24,_0x4697c2):_0x5cf211(_0x4697c2))||_0x4697c2);return _0x217f10&&_0x4697c2&&_0x36b3a9(_0x23c625,_0x53cf24,_0x4697c2),_0x4697c2;},_0x1a71ae=(_0x129bc6,_0x3119a7)=>(_0x2c1cf8,_0x586d67)=>_0x3119a7(_0x2c1cf8,_0x586d67,_0x129bc6);function _0x4452ec(_0x3067e0){const _0x58e760=_0x1a9c4c,{unitID:_0x385fe5,mutations:_0x22dac5}=_0x3067e0;return{'unitId':_0x385fe5,'subUnitId':_0x22dac5[0x0][_0x58e760(0x3e7)]['subUnitId']};}let _0x41bd09=class{constructor(_0x545a00,_0x295d0f,_0x468621){const _0x3ee7ad=_0x1a9c4c;this[_0x3ee7ad(0x474)]=_0x545a00,this[_0x3ee7ad(0x2df)]=_0x295d0f,this['_instanceService']=_0x468621;}['transformSelections'](_0x374973){const _0x197e44=_0x1a9c4c;var _0x8b11c6,_0xd34d62,_0x502377,_0x2aabc4;const _0x5b8b8e=this[_0x197e44(0x474)][_0x197e44(0x54d)](_0x149ec5[_0x197e44(0x488)]),{unitId:_0x1e8db8,subUnitId:_0x253570}=_0x4452ec(_0x374973),_0x29b7f1=_0x5b8b8e[_0x197e44(0x445)](_0x1e8db8)[_0x197e44(0x20f)](),_0x2f8eb0=(_0xd34d62=(_0x8b11c6=this[_0x197e44(0x47f)][_0x197e44(0x4e4)](_0x1e8db8))==null?void 0x0:_0x8b11c6[_0x197e44(0x267)]())==null?void 0x0:_0xd34d62['getSheetId']();if(_0x29b7f1['length']===0x0||!_0x1e8db8||!_0x253570)return;const _0x5f276d=[{'id':_0x149ec5[_0x197e44(0x408)]['id'],'params':{'unitId':_0x1e8db8,'subUnitId':_0x2f8eb0,'selections':_0x5ee268[_0x197e44(0x277)][_0x197e44(0x338)](_0x29b7f1)}}],_0x4f6c0d=this[_0x197e44(0x2df)][_0x197e44(0x250)](_0x374973,_0x5f276d);if(!_0x437f93[_0x197e44(0x1d4)](_0x4f6c0d))throw _0x4f6c0d['error'];const _0x5786af=(_0x2aabc4=(_0x502377=_0x4f6c0d[_0x197e44(0x2b9)][0x0])==null?void 0x0:_0x502377['params'])==null?void 0x0:_0x2aabc4['selections'];Array[_0x197e44(0x5c9)](_0x5786af)&&_0x5786af[_0x197e44(0x4d8)]&&this[_0x197e44(0x474)][_0x197e44(0x54d)](_0x5ee268[_0x197e44(0x386)])[_0x197e44(0x25f)](_0x149ec5[_0x197e44(0x408)]['id'],{'unitId':_0x1e8db8,'subUnitId':_0x2f8eb0,'selections':_0x5786af});}};_0x41bd09=_0x1218a7([_0x1a71ae(0x0,_0x5ee268['Inject'](_0x5ee268[_0x1a9c4c(0x418)])),_0x1a71ae(0x1,_0x437f93['ITransformService']),_0x1a71ae(0x2,_0x5ee268[_0x1a9c4c(0x39a)])],_0x41bd09);const _0x2c4a47=_0x5ee268[_0x1a9c4c(0x549)](_0x1a9c4c(0x4ab));var _0x40dedc=(_0x2a40d1=>(_0x2a40d1[_0x2a40d1['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x2a40d1[_0x2a40d1[_0x1a9c4c(0x457)]=0x1]=_0x1a9c4c(0x457),_0x2a40d1))(_0x40dedc||{});const _0x1ed73f=0x7530,_0x5d84cf=_0x1a9c4c(0x381);class _0x3f784d extends _0x5ee268[_0x1a9c4c(0x238)]{constructor(){const _0x2994eb=_0x1a9c4c;super(),_0x1328f6(this,_0x2994eb(0x463),_0x5ee268[_0x2994eb(0x277)][_0x2994eb(0x58b)]()),_0x1328f6(this,_0x2994eb(0x5be),new Set()),_0x1328f6(this,'_unitOnClients',new Map()),_0x1328f6(this,'_heartbeatTimer',null),_0x1328f6(this,_0x2994eb(0x29e),new Map()),_0x1328f6(this,_0x2994eb(0x2f3),new Map()),this[_0x2994eb(0x38a)]();}['dispose'](){const _0x138a78=_0x1a9c4c;super[_0x138a78(0x214)](),this['_clearOtherTimers'][_0x138a78(0x506)]((_0x1067fd,_0x4f92df)=>this[_0x138a78(0x221)](_0x4f92df)),this[_0x138a78(0x262)]&&window['clearInterval'](this[_0x138a78(0x262)]);}['getUnitStatus$'](_0x597b86){const _0x2fc2ba=_0x1a9c4c;return this[_0x2fc2ba(0x2ca)](_0x597b86)['pipe'](_0x56990c[_0x2fc2ba(0x22a)]());}[_0x1a9c4c(0x336)](_0x233ca5){const _0xb59e29=_0x1a9c4c;this[_0xb59e29(0x5be)][_0xb59e29(0x3ce)]===0x0&&this[_0xb59e29(0x4d1)](),this[_0xb59e29(0x5be)][_0xb59e29(0x4d0)](_0x233ca5),this[_0xb59e29(0x59d)]({'type':0x0,'memberID':this[_0xb59e29(0x463)],'unitIDs':[_0x233ca5],'isForwarded':!0x1});}[_0x1a9c4c(0x3bb)](_0x37aa06){const _0x3077d2=_0x1a9c4c;this[_0x3077d2(0x5be)][_0x3077d2(0x1c8)](_0x37aa06),this[_0x3077d2(0x5be)][_0x3077d2(0x3ce)]===0x0&&this[_0x3077d2(0x262)]&&window[_0x3077d2(0x331)](this[_0x3077d2(0x262)]);}[_0x1a9c4c(0x38a)](){const _0x24b497=_0x1a9c4c;this[_0x24b497(0x337)](_0x5ee268['toDisposable'](_0x56990c['fromEvent'](window,_0x24b497(0x2a6))[_0x24b497(0x3a7)](_0x4f9e98=>{const _0x55719c=_0x24b497;if(_0x4f9e98[_0x55719c(0x53c)]!==_0x5d84cf||!_0x4f9e98[_0x55719c(0x47a)])return;const _0xd5f201=JSON[_0x55719c(0x3f8)](_0x4f9e98[_0x55719c(0x47a)]);this[_0x55719c(0x237)](_0xd5f201);}))),window['addEventListener'](_0x24b497(0x4fd),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x24b497(0x5be)])}));}[_0x1a9c4c(0x237)](_0x20de5c){const _0xb47b7b=_0x1a9c4c;switch(_0x20de5c[_0xb47b7b(0x219)]){case 0x0:this[_0xb47b7b(0x537)](_0x20de5c);break;case 0x1:this[_0xb47b7b(0x365)](_0x20de5c);break;case 0x2:this[_0xb47b7b(0x505)](_0x20de5c);break;}}[_0x1a9c4c(0x537)](_0x4771b9){const _0x3b73e1=_0x1a9c4c,{unitIDs:_0x490d0c,memberID:_0x2478a8,isForwarded:_0x2b3aa6}=_0x4771b9;_0x490d0c[_0x3b73e1(0x506)](_0x4ef14b=>{const _0x4fb2b7=_0x3b73e1;if(!_0x2b3aa6&&this[_0x4fb2b7(0x2f2)][_0x4fb2b7(0x252)](_0x4ef14b)&&this['_ensureSubject'](_0x4ef14b)['next'](0x1),!this['_unitOnClients'][_0x4fb2b7(0x252)](_0x4ef14b)||!this['_unitOnClients'][_0x4fb2b7(0x54d)](_0x4ef14b)[_0x4fb2b7(0x252)](_0x2478a8)){const _0x485d69=this[_0x4fb2b7(0x2f2)][_0x4fb2b7(0x54d)](_0x4ef14b)||new Set();_0x485d69['add'](_0x2478a8),this['_unitOnClients'][_0x4fb2b7(0x26c)](_0x4ef14b,_0x485d69),this[_0x4fb2b7(0x46e)](_0x2478a8);}}),_0x2b3aa6||this[_0x3b73e1(0x59d)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x3b73e1(0x5be)]],'isForwarded':!0x0});}[_0x1a9c4c(0x46e)](_0x280061){const _0x40f817=_0x1a9c4c;this['_removeClearOtherTimer'](_0x280061);const _0x1ac0d6=window[_0x40f817(0x557)](()=>{const _0x4a4933=_0x40f817;this[_0x4a4933(0x2f2)][_0x4a4933(0x506)](_0x50a4ea=>{const _0x2ccffd=_0x4a4933;_0x50a4ea[_0x2ccffd(0x1c8)](_0x280061);});},_0x1ed73f*0x2);this[_0x40f817(0x29e)]['set'](_0x280061,_0x1ac0d6);}[_0x1a9c4c(0x221)](_0x5d7de5){const _0x2adc02=_0x1a9c4c;if(this[_0x2adc02(0x29e)][_0x2adc02(0x252)](_0x5d7de5)){const _0x4dfb1a=this[_0x2adc02(0x29e)][_0x2adc02(0x54d)](_0x5d7de5);_0x4dfb1a&&window[_0x2adc02(0x556)](_0x4dfb1a),this[_0x2adc02(0x29e)][_0x2adc02(0x26c)](_0x5d7de5,null);}}[_0x1a9c4c(0x365)](_0x502035){const _0x3f1e44=_0x1a9c4c,{memberID:_0x182647,unitIDs:_0x4d8c75}=_0x502035;_0x4d8c75[_0x3f1e44(0x506)](_0x56018a=>{const _0x10a4d8=_0x3f1e44;var _0x58f0a9;const _0x3ce678=this[_0x10a4d8(0x2f2)]['get'](_0x56018a);_0x3ce678&&(_0x3ce678[_0x10a4d8(0x1c8)](_0x182647),(_0x58f0a9=this[_0x10a4d8(0x2ca)](_0x56018a))==null||_0x58f0a9[_0x10a4d8(0x42d)](_0x3ce678['size']===0x0?0x0:0x1));}),this[_0x3f1e44(0x221)](_0x182647);}[_0x1a9c4c(0x505)](_0x480b75){const _0x327f77=_0x1a9c4c;this[_0x327f77(0x46e)](_0x480b75[_0x327f77(0x2b2)]);}[_0x1a9c4c(0x59d)](_0x380933){const _0x3cdf97=_0x1a9c4c;localStorage[_0x3cdf97(0x2c9)](_0x5d84cf,JSON[_0x3cdf97(0x301)](_0x380933));}[_0x1a9c4c(0x4d1)](){const _0x3aa856=_0x1a9c4c;this[_0x3aa856(0x262)]=window[_0x3aa856(0x518)](()=>{const _0x349759=_0x3aa856;this[_0x349759(0x59d)]({'type':0x2,'memberID':this[_0x349759(0x463)]});},_0x1ed73f);}[_0x1a9c4c(0x2ca)](_0x507fa5){const _0xb88faa=_0x1a9c4c;return this[_0xb88faa(0x2f3)]['has'](_0x507fa5)||this[_0xb88faa(0x2f3)][_0xb88faa(0x26c)](_0x507fa5,new _0x56990c[(_0xb88faa(0x3d3))](0x0)),this[_0xb88faa(0x2f3)][_0xb88faa(0x54d)](_0x507fa5);}}function _0x51fd6d(_0x5eb195){const _0x4453eb=_0x1a9c4c;let _0x2feb38='';for(const _0x2cced8 of _0x5eb195){const {startOffset:_0x2ee4ac,endOffset:_0x15bdeb,isActive:_0x8d1917}=_0x2cced8;_0x2feb38[_0x4453eb(0x4d8)]&&(_0x2feb38+=','),_0x2feb38+=_0x2ee4ac+':'+_0x15bdeb+':'+(_0x8d1917?'1':'0');}return _0x2feb38;}function _0x54df69(_0x1ba743){const _0x4ad304=_0x1a9c4c,_0x882ac6=_0x1ba743[_0x4ad304(0x2a5)](','),_0x4465e9=[];for(const _0x394aba of _0x882ac6){const [_0xd8db42,_0x3ba9bb,_0x127c9e]=_0x394aba[_0x4ad304(0x2a5)](':');_0x4465e9[_0x4ad304(0x2ee)]({'startOffset':Number(_0xd8db42),'endOffset':Number(_0x3ba9bb),'collapsed':_0xd8db42===_0x3ba9bb,'isActive':_0x127c9e==='1'});}return _0x4465e9[_0x4ad304(0x454)](_0x2d8630=>_0x2d8630[_0x4ad304(0x4bd)])||(_0x4465e9[0x0]['isActive']=!0x0),_0x4465e9;}class _0x3c54ae extends _0x5ee268[_0x1a9c4c(0x4b2)]{constructor(){const _0x4a23ef=_0x1a9c4c;super(...arguments),_0x1328f6(this,_0x4a23ef(0x1ca),new _0x56990c['BehaviorSubject'](null)),_0x1328f6(this,_0x4a23ef(0x521),this[_0x4a23ef(0x1ca)][_0x4a23ef(0x560)]());}[_0x1a9c4c(0x333)](_0x2c1694){const _0x87db2f=_0x1a9c4c,{unitID:_0x7f5905,memberID:_0x56f098,textRanges:_0x35ed46}=_0x2c1694,_0x4bf513=_0x51fd6d(_0x35ed46),_0x37fa2d={'unitID':_0x7f5905,'memberID':_0x56f098,'selection':_0x4bf513};this['_collabCursorState$'][_0x87db2f(0x42d)](_0x37fa2d);}}var _0x83aaa6=Object[_0x1a9c4c(0x340)],_0x969b83=Object[_0x1a9c4c(0x541)],_0x463953=(_0x4522fd,_0x3ec600,_0x24bb52,_0x42e03c)=>{for(var _0x972c54=_0x42e03c>0x1?void 0x0:_0x42e03c?_0x969b83(_0x3ec600,_0x24bb52):_0x3ec600,_0x2ecb81=_0x4522fd['length']-0x1,_0x31cb43;_0x2ecb81>=0x0;_0x2ecb81--)(_0x31cb43=_0x4522fd[_0x2ecb81])&&(_0x972c54=(_0x42e03c?_0x31cb43(_0x3ec600,_0x24bb52,_0x972c54):_0x31cb43(_0x972c54))||_0x972c54);return _0x42e03c&&_0x972c54&&_0x83aaa6(_0x3ec600,_0x24bb52,_0x972c54),_0x972c54;},_0x231eab=(_0x446b7c,_0x49f86d)=>(_0x389de6,_0x3478e5)=>_0x49f86d(_0x389de6,_0x3478e5,_0x446b7c);let _0x19e584=class{constructor(_0x413048,_0x48919f){this['_injector']=_0x413048,this['_transformService']=_0x48919f;}[_0x1a9c4c(0x49a)](_0x2cca1f){const _0x2a8c74=_0x1a9c4c;var _0xf22c04;const _0x13a0df=this[_0x2a8c74(0x474)]['get'](_0x45fa2b[_0x2a8c74(0x3d2)]),_0x4509b5=(_0xf22c04=_0x13a0df[_0x2a8c74(0x378)]())!=null?_0xf22c04:[];if(_0x4509b5[_0x2a8c74(0x4d8)]===0x0)return;const _0x5c7c6a=[{'id':_0x2a8c74(0x220),'params':{'unitId':_0x2cca1f['unitID'],'actions':null,'textRanges':_0x4509b5}}],_0x541350=this[_0x2a8c74(0x2df)][_0x2a8c74(0x250)](_0x2cca1f,_0x5c7c6a);if(!_0x437f93[_0x2a8c74(0x1d4)](_0x541350))throw _0x541350[_0x2a8c74(0x317)];const _0xd7842e=_0x541350[_0x2a8c74(0x2b9)][0x0][_0x2a8c74(0x3e7)][_0x2a8c74(0x29f)];Array[_0x2a8c74(0x5c9)](_0xd7842e)&&_0xd7842e['length']&&_0x13a0df['replaceTextRanges'](_0xd7842e,!0x1);}};_0x19e584=_0x463953([_0x231eab(0x0,_0x5ee268[_0x1a9c4c(0x4b4)](_0x5ee268[_0x1a9c4c(0x418)])),_0x231eab(0x1,_0x437f93['ITransformService'])],_0x19e584);const _0x39affe=new Set([_0x149ec5[_0x1a9c4c(0x50a)]['id']]);function _0x37af09(_0x4919ab,_0x3ecda7,_0x34b5a8,_0x4f4134,_0x2c68aa){const _0x271e50=_0x1a9c4c;var _0x2dc362,_0x7ea077,_0x325487,_0x4201ae;const _0xe92ef6=[];for(const _0x5412a1 of _0x4919ab)if(_0x39affe[_0x271e50(0x252)](_0x5412a1['id'])){if(_0xe92ef6[_0x271e50(0x4d8)]>0x0)break;_0xe92ef6['push'](_0x5412a1);break;}else _0xe92ef6['push'](_0x5412a1);const _0x549b07=(_0x7ea077=(_0x2dc362=_0x2c68aa[_0x271e50(0x5a9)]())==null?void 0x0:_0x2dc362[_0x271e50(0x3db)])!=null?_0x7ea077:_0x271e50(0x546),_0x33b3e5=(_0x4201ae=(_0x325487=_0x2c68aa[_0x271e50(0x5a9)]())==null?void 0x0:_0x325487[_0x271e50(0x2b2)])!=null?_0x4201ae:'unknown';return{'changeset':{'unitID':_0x3ecda7,'type':_0x437f93[_0x271e50(0x239)](_0x34b5a8[_0x271e50(0x487)](_0x3ecda7)),'baseRev':_0x4f4134['getCurrentRevOfUnit'](_0x3ecda7),'revision':0x0,'userID':_0x549b07,'memberID':_0x33b3e5,'mutations':_0xe92ef6},'pendingMutations':_0x4919ab['slice'](_0xe92ef6['length'])};}function _0x5673db(_0x4b625c,_0x6c5d99,_0x4aab21,_0x2f0b53,_0x4950f6){const _0x341454=_0x1a9c4c;var _0x5ce9be,_0x4a6642,_0x34f7e0,_0x595a6b;const _0x40b8ed=[_0x4b625c[_0x341454(0x22c)]((_0x8a021a,_0x19c1bb)=>{const _0x2a70a5=_0x341454;var _0x4ef232;const {id:_0x379145}=_0x8a021a,{id:_0x27574d,type:_0x37f6ff}=_0x19c1bb,_0x3b56dd=(_0x4ef232=_0x8a021a[_0x2a70a5(0x3e7)])!=null?_0x4ef232:{'actions':null},_0x130db4=_0x19c1bb[_0x2a70a5(0x3e7)];if(_0x379145&&_0x379145!==_0x27574d)throw new Error(_0x2a70a5(0x223)+_0x379145+_0x2a70a5(0x3ff)+_0x27574d+'.');return{..._0x8a021a,'id':_0x27574d,'type':_0x37f6ff,'params':{'unitId':_0x130db4[_0x2a70a5(0x22b)],'textRanges':_0x130db4[_0x2a70a5(0x29f)],'actions':_0x5ee268[_0x2a70a5(0x339)][_0x2a70a5(0x492)](_0x3b56dd[_0x2a70a5(0x51a)],_0x130db4['actions'])}};},{})],_0x87d3d0=(_0x4a6642=(_0x5ce9be=_0x4950f6[_0x341454(0x5a9)]())==null?void 0x0:_0x5ce9be[_0x341454(0x3db)])!=null?_0x4a6642:'unknown',_0x26fb75=(_0x595a6b=(_0x34f7e0=_0x4950f6[_0x341454(0x5a9)]())==null?void 0x0:_0x34f7e0[_0x341454(0x2b2)])!=null?_0x595a6b:_0x341454(0x546);return{'changeset':{'unitID':_0x6c5d99,'type':_0x437f93[_0x341454(0x239)](_0x4aab21[_0x341454(0x487)](_0x6c5d99)),'baseRev':_0x2f0b53[_0x341454(0x1e9)](_0x6c5d99),'revision':0x0,'userID':_0x87d3d0,'memberID':_0x26fb75,'mutations':_0x40b8ed},'pendingMutations':[]};}const _0xdcba22={'id':_0x149ec5[_0x1a9c4c(0x437)]['id'],'type':_0x5ee268['CommandType'][_0x1a9c4c(0x31d)],'params':{}};var _0x41fcf0=Object[_0x1a9c4c(0x340)],_0x5e361d=Object[_0x1a9c4c(0x541)],_0x696347=(_0x21edce,_0x5c37aa,_0x479e44,_0x797c54)=>{const _0xdbdf35=_0x1a9c4c;for(var _0x5ee33c=_0x797c54>0x1?void 0x0:_0x797c54?_0x5e361d(_0x5c37aa,_0x479e44):_0x5c37aa,_0x4cdc13=_0x21edce[_0xdbdf35(0x4d8)]-0x1,_0xf36f19;_0x4cdc13>=0x0;_0x4cdc13--)(_0xf36f19=_0x21edce[_0x4cdc13])&&(_0x5ee33c=(_0x797c54?_0xf36f19(_0x5c37aa,_0x479e44,_0x5ee33c):_0xf36f19(_0x5ee33c))||_0x5ee33c);return _0x797c54&&_0x5ee33c&&_0x41fcf0(_0x5c37aa,_0x479e44,_0x5ee33c),_0x5ee33c;},_0x1df1ed=(_0x1553f3,_0x1f54e6)=>(_0x5f15a0,_0x40d222)=>_0x1f54e6(_0x5f15a0,_0x40d222,_0x1553f3),_0x319e47=(_0x5bdc49=>(_0x5bdc49[_0x1a9c4c(0x48e)]=_0x1a9c4c(0x59f),_0x5bdc49[_0x1a9c4c(0x3d7)]=_0x1a9c4c(0x558),_0x5bdc49[_0x1a9c4c(0x50b)]=_0x1a9c4c(0x5a5),_0x5bdc49[_0x1a9c4c(0x56d)]='awaiting',_0x5bdc49[_0x1a9c4c(0x3f6)]=_0x1a9c4c(0x275),_0x5bdc49[_0x1a9c4c(0x242)]=_0x1a9c4c(0x5a2),_0x5bdc49[_0x1a9c4c(0x596)]='conflict',_0x5bdc49[_0x1a9c4c(0x304)]='offline',_0x5bdc49))(_0x319e47||{});class _0x5adb03{constructor(_0x11a0ff,_0x33c2f3,_0x136bba,_0x10ac5c,_0x3a15c5,_0x1a3c2c,_0x5529cf,_0x57e712,_0x54f35b){const _0x2ac8e8=_0x1a9c4c;_0x1328f6(this,_0x2ac8e8(0x523),null),_0x1328f6(this,_0x2ac8e8(0x1cd),[]),(this['unitID']=_0x11a0ff,this[_0x2ac8e8(0x219)]=_0x33c2f3,this[_0x2ac8e8(0x2b6)]=_0x3a15c5,this[_0x2ac8e8(0x48d)]=_0x1a3c2c,this[_0x2ac8e8(0x278)]=_0x5529cf,this[_0x2ac8e8(0x3af)]=_0x57e712,this['_localCacheService']=_0x54f35b,this[_0x2ac8e8(0x523)]=_0x136bba,this['_pendingMutations']=_0x10ac5c);}[_0x1a9c4c(0x209)](_0x1439d4){const _0x2a42a1=_0x1a9c4c,_0x5da58f=this[_0x2a42a1(0x3af)][_0x2a42a1(0x1e9)](this[_0x2a42a1(0x447)]);return _0x1439d4[_0x2a42a1(0x500)]>_0x5da58f+0x1?(this[_0x2a42a1(0x2b6)][_0x2a42a1(0x4d4)]({'from':_0x5da58f,'to':_0x1439d4['revision']-0x1}),!0x0):!0x1;}[_0x1a9c4c(0x497)](_0x42220b){const _0x5c6d36=_0x1a9c4c;this[_0x5c6d36(0x278)]['transformUndoRedo'](this['unitID'],_0x42220b);}['_transformSelections'](_0x3e5449){const _0x432160=_0x1a9c4c;var _0xf16ffe,_0x4b1345;(_0x4b1345=(_0xf16ffe=this['_handler'])[_0x432160(0x2db)])==null||_0x4b1345[_0x432160(0x451)](_0xf16ffe,_0x3e5449);}[_0x1a9c4c(0x51b)](_0x11e71c){const _0x46dde4=_0x1a9c4c;var _0x3266d1,_0x4f31b9;return(_0x4f31b9=(_0x3266d1=this[_0x46dde4(0x2b6)])[_0x46dde4(0x3b6)])==null?void 0x0:_0x4f31b9['call'](_0x3266d1,_0x11e71c);}[_0x1a9c4c(0x2e3)](_0x119bac){const _0x1540b2=_0x1a9c4c;var _0x42259a,_0x4406d7,_0x11003b;return(_0x11003b=(_0x4406d7=(_0x42259a=this[_0x1540b2(0x2b6)])[_0x1540b2(0x599)])==null?void 0x0:_0x4406d7[_0x1540b2(0x451)](_0x42259a,_0x119bac))!=null?_0x11003b:_0x119bac;}['_syncEditingCollabCursor'](_0x26aa5e){const _0x4c5c05=_0x1a9c4c;var _0x3a183d,_0x20153c;if(this[_0x4c5c05(0x219)]===_0x69fde1[_0x4c5c05(0x1ec)]){const {unitID:_0x6a0cf3,mutations:_0x24668c,memberID:_0xada3cd}=_0x26aa5e,_0x3a9c5a=_0x24668c[0x0][_0x4c5c05(0x3e7)][_0x4c5c05(0x29f)];Array[_0x4c5c05(0x5c9)](_0x3a9c5a)&&_0x3a9c5a['length']>0x0&&((_0x20153c=(_0x3a183d=this[_0x4c5c05(0x2b6)])[_0x4c5c05(0x2cf)])==null||_0x20153c['call'](_0x3a183d,{'unitID':_0x6a0cf3,'memberID':_0xada3cd,'textRanges':_0x3a9c5a}));}}[_0x1a9c4c(0x1c5)](){const _0x4b3a8a=_0x1a9c4c;this[_0x4b3a8a(0x55e)]['updateOfflineData'](this[_0x4b3a8a(0x447)],this[_0x4b3a8a(0x219)],this[_0x4b3a8a(0x523)],this[_0x4b3a8a(0x1cd)]);}[_0x1a9c4c(0x459)](){const _0x4d08ae=_0x1a9c4c;return this['_revisionService'][_0x4d08ae(0x1e9)](this[_0x4d08ae(0x447)]);}[_0x1a9c4c(0x1e7)](){const _0x2efdb2=_0x1a9c4c;this[_0x2efdb2(0x3af)]['incrementRevOfUnit'](this['unitID']);}['_executeRemoteChangeset'](_0x22e64f){const _0x34d318=_0x1a9c4c;var _0x814732;const _0x562a72=this[_0x34d318(0x2e3)](_0x22e64f),_0x2676d5=_0x5ee268[_0x34d318(0x4bb)](_0x562a72['mutations'],this[_0x34d318(0x48d)],{'fromCollab':!0x0});if(!_0x2676d5[_0x34d318(0x56f)])throw _0x2676d5[_0x34d318(0x317)]instanceof Error?_0x2676d5[_0x34d318(0x317)]:new Error((_0x814732=_0x2676d5[_0x34d318(0x317)])!=null?_0x814732:_0x34d318(0x1ae));this[_0x34d318(0x51b)](_0x562a72),this[_0x34d318(0x497)](_0x22e64f),this[_0x34d318(0x4d6)](_0x562a72),this[_0x34d318(0x561)](_0x562a72),this[_0x34d318(0x1e7)]();}}let _0x58d7fd=class extends _0x5adb03{constructor(_0x5c0950,_0x111f99,_0x10c7c8,_0x3d6cf4,_0x3b985e,_0x510384,_0x32a815,_0x35f1d9,_0x5590cb,_0x10b0fd){const _0x4d19a3=_0x1a9c4c;super(_0x5c0950,_0x111f99,null,[],_0x10c7c8,_0x35f1d9,_0x32a815,_0x3d6cf4,_0x3b985e),_0x1328f6(this,'status',_0x4d19a3(0x558)),(this[_0x4d19a3(0x474)]=_0x510384,this[_0x4d19a3(0x2a9)]=_0x5590cb,this['_transformService']=_0x10b0fd);}[_0x1a9c4c(0x5cd)](_0x10f8bc){const _0x524b2d=_0x1a9c4c,_0x4a2dd7=this[_0x524b2d(0x474)]['createInstance'](_0x324b5a,this[_0x524b2d(0x447)],this[_0x524b2d(0x219)],[_0x10f8bc],this[_0x524b2d(0x2b6)]);return _0x4a2dd7[_0x524b2d(0x53d)](),_0x4a2dd7[_0x524b2d(0x1c5)](),_0x4a2dd7;}[_0x1a9c4c(0x2ab)](_0xd7acda){const _0x550c2d=_0x1a9c4c;if(this[_0x550c2d(0x209)](_0xd7acda))return this['_injector'][_0x550c2d(0x2dd)](_0x1851e1,this[_0x550c2d(0x447)],this['type'],null,[],null,[_0xd7acda],this['_handler']);try{const _0x476f6b=this[_0x550c2d(0x2df)]['transformMutationsWithChangeset'](_0xd7acda,[_0xdcba22]);if(_0x437f93[_0x550c2d(0x1d4)](_0x476f6b)){const {c1Prime:_0x12c2d3}=_0x476f6b;return this[_0x550c2d(0x5a3)](_0x12c2d3),this;}throw _0x476f6b[_0x550c2d(0x317)];}catch(_0x3481d8){return this['_logService'][_0x550c2d(0x317)](_0x3481d8),this[_0x550c2d(0x414)](!0x1);}}[_0x1a9c4c(0x414)](_0x160de4){const _0xa9086b=_0x1a9c4c;return this['_injector'][_0xa9086b(0x2dd)](_0x3e2513,this['unitID'],this[_0xa9086b(0x219)],null,[],this[_0xa9086b(0x2b6)],_0x160de4);}['onRemoteAck'](){const _0x264efd=_0x1a9c4c;throw new Error(_0x264efd(0x274));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['toggleOffline'](){const _0x411984=_0x1a9c4c;return this[_0x411984(0x474)]['createInstance'](_0xc956b6,this[_0x411984(0x447)],this[_0x411984(0x219)],null,[],this[_0x411984(0x2b6)]);}['toggleOnline'](){return this;}[_0x1a9c4c(0x26f)](){const _0x501470=_0x1a9c4c;throw new Error(_0x501470(0x326));}[_0x1a9c4c(0x363)](){const _0x5f5ad1=_0x1a9c4c,_0x262be1=this[_0x5f5ad1(0x3af)][_0x5f5ad1(0x1e9)](this[_0x5f5ad1(0x447)]);return this[_0x5f5ad1(0x2b6)]['onMissingChangesets']({'from':_0x262be1,'to':0x0}),this['_injector'][_0x5f5ad1(0x2dd)](_0x1851e1,this['unitID'],this[_0x5f5ad1(0x219)],null,[],null,[],this[_0x5f5ad1(0x2b6)]);}};_0x58d7fd=_0x696347([_0x1df1ed(0x3,_0x5ee268['Inject'](_0x437f93[_0x1a9c4c(0x53b)])),_0x1df1ed(0x4,_0x5ee268[_0x1a9c4c(0x4b4)](_0x19f7dc[_0x1a9c4c(0x59e)])),_0x1df1ed(0x5,_0x5ee268[_0x1a9c4c(0x4b4)](_0x5ee268[_0x1a9c4c(0x418)])),_0x1df1ed(0x6,_0x5ee268[_0x1a9c4c(0x493)]),_0x1df1ed(0x7,_0x5ee268[_0x1a9c4c(0x386)]),_0x1df1ed(0x8,_0x5ee268[_0x1a9c4c(0x2ff)]),_0x1df1ed(0x9,_0x437f93[_0x1a9c4c(0x1c7)])],_0x58d7fd);let _0x324b5a=class extends _0x5adb03{constructor(_0x281a10,_0xa5f8ec,_0x3eddf3,_0x464bca,_0x2f9547,_0xe93274,_0x27a143,_0x1e9a93,_0x51ae57,_0x161bb7,_0x4c1b75,_0x510338,_0x5167f9,_0x4f068a){const _0x579b9b=_0x1a9c4c;super(_0x281a10,_0xa5f8ec,null,_0x3eddf3,_0x464bca,_0x161bb7,_0x4f068a,_0xe93274,_0x27a143),_0x1328f6(this,_0x579b9b(0x227),_0x579b9b(0x5a5)),_0x1328f6(this,_0x579b9b(0x20c),null),_0x1328f6(this,_0x579b9b(0x292),null),(this[_0x579b9b(0x474)]=_0x2f9547,this['_memberService']=_0x1e9a93,this[_0x579b9b(0x2a9)]=_0x51ae57,this[_0x579b9b(0x208)]=_0x4c1b75,this[_0x579b9b(0x2df)]=_0x510338,this[_0x579b9b(0x535)]=_0x5167f9);}[_0x1a9c4c(0x5cd)](_0x4a4f1f){const _0x4c9a4f=_0x1a9c4c;return this[_0x4c9a4f(0x1cd)][_0x4c9a4f(0x2ee)](_0x4a4f1f),this['_updateLocalCache'](),this;}[_0x1a9c4c(0x2ab)](_0x3fa49a){const _0x5ca136=_0x1a9c4c;if(this[_0x5ca136(0x209)](_0x3fa49a))return this[_0x5ca136(0x4e9)](),this[_0x5ca136(0x474)]['createInstance'](_0x1851e1,this['unitID'],this['type'],null,this[_0x5ca136(0x1cd)],null,[_0x3fa49a],this[_0x5ca136(0x2b6)]);try{const _0x5a31c5=this['_transformService'][_0x5ca136(0x250)](_0x3fa49a,this['_pendingMutations']);if(_0x437f93[_0x5ca136(0x1d4)](_0x5a31c5)){const {c1Prime:_0x2a0a59,m2Prime:_0xcacc8d}=_0x5a31c5;this['_executeRemoteChangeset'](_0x2a0a59);const _0x3a3983=this['_injector']['createInstance'](_0x324b5a,this[_0x5ca136(0x447)],this[_0x5ca136(0x219)],_0xcacc8d,this[_0x5ca136(0x2b6)]);return this[_0x5ca136(0x4e9)](),_0x3a3983[_0x5ca136(0x53d)](this['_scheduleTimestamp']?Math['max'](0x0,new Date()[_0x5ca136(0x1a5)]()-this[_0x5ca136(0x20c)]):this[_0x5ca136(0x318)]()),_0x3a3983;}throw _0x5a31c5[_0x5ca136(0x317)];}catch(_0x539050){return this['_logService'][_0x5ca136(0x317)](_0x539050),this[_0x5ca136(0x414)](!0x1);}}[_0x1a9c4c(0x23b)](){const _0x2d9c10=_0x1a9c4c;throw new Error(_0x2d9c10(0x391));}[_0x1a9c4c(0x38f)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x1a9c4c(0x5bb)](){const _0x555e40=_0x1a9c4c;return this[_0x555e40(0x4e9)](),this[_0x555e40(0x474)]['createInstance'](_0xc956b6,this[_0x555e40(0x447)],this[_0x555e40(0x219)],null,this[_0x555e40(0x1cd)],this['_handler']);}[_0x1a9c4c(0x44d)](){return this;}['_schedule'](_0xe893a6){const _0x3faac4=_0x1a9c4c,_0x30deef=_0xe893a6!=null?_0xe893a6:this[_0x3faac4(0x318)]();this[_0x3faac4(0x20c)]=new Date()[_0x3faac4(0x1a5)](),this[_0x3faac4(0x292)]=window['setTimeout'](()=>{const _0x502526=_0x3faac4;this[_0x502526(0x4e9)]();let _0x4964ed=null;switch(this[_0x502526(0x219)]){case _0x69fde1[_0x502526(0x498)]:{_0x4964ed=_0x37af09(this[_0x502526(0x1cd)],this[_0x502526(0x447)],this[_0x502526(0x535)],this[_0x502526(0x3af)],this[_0x502526(0x33d)]);break;}case _0x69fde1[_0x502526(0x1ec)]:{this[_0x502526(0x1cd)][_0x502526(0x343)](_0x542a2c=>_0x542a2c['id']===_0x45fa2b[_0x502526(0x1fb)]['id'])?_0x4964ed=_0x5673db(this['_pendingMutations'],this[_0x502526(0x447)],this[_0x502526(0x535)],this[_0x502526(0x3af)],this[_0x502526(0x33d)]):_0x4964ed=_0x37af09(this[_0x502526(0x1cd)],this[_0x502526(0x447)],this['_univerInstanceService'],this['_revisionService'],this[_0x502526(0x33d)]);break;}default:throw new Error(_0x502526(0x21a)+this[_0x502526(0x219)]+_0x502526(0x251));}const {changeset:_0x247ed4,pendingMutations:_0x5c8690}=_0x4964ed;this['_handler'][_0x502526(0x254)](_0x247ed4);const _0x37a088=_0x5c8690[_0x502526(0x4d8)]?this[_0x502526(0x474)]['createInstance'](_0x2cc3ca,this[_0x502526(0x447)],this[_0x502526(0x219)],_0x247ed4,_0x5c8690,this[_0x502526(0x2b6)]):this[_0x502526(0x474)]['createInstance'](_0x1cce27,this[_0x502526(0x447)],this['type'],_0x247ed4,this[_0x502526(0x2b6)]);_0x37a088['_updateLocalCache'](),this[_0x502526(0x2b6)][_0x502526(0x5af)](this,_0x37a088);},_0x30deef);}['_getSendChangesetTimeout'](){const _0x519436=_0x1a9c4c;var _0x2e007d;const _0x3a5e48=this[_0x519436(0x208)][_0x519436(0x3a6)](_0x17bae2);return(_0x2e007d=_0x3a5e48==null?void 0x0:_0x3a5e48[_0x519436(0x46d)])!=null?_0x2e007d:0x7d0;}[_0x1a9c4c(0x26f)](){const _0x2c5115=_0x1a9c4c;throw new Error(_0x2c5115(0x424));}[_0x1a9c4c(0x4e9)](){const _0x13e0c3=_0x1a9c4c;this['_sendingTimer']!=null&&(clearTimeout(this[_0x13e0c3(0x292)]),this['_sendingTimer']=null);}[_0x1a9c4c(0x414)](_0x2d6251){const _0x364346=_0x1a9c4c;return this[_0x364346(0x4e9)](),this[_0x364346(0x474)][_0x364346(0x2dd)](_0x3e2513,this[_0x364346(0x447)],this[_0x364346(0x219)],null,this[_0x364346(0x1cd)],this[_0x364346(0x2b6)],_0x2d6251);}};_0x324b5a=_0x696347([_0x1df1ed(0x4,_0x5ee268[_0x1a9c4c(0x4b4)](_0x5ee268[_0x1a9c4c(0x418)])),_0x1df1ed(0x5,_0x5ee268[_0x1a9c4c(0x4b4)](_0x437f93[_0x1a9c4c(0x53b)])),_0x1df1ed(0x6,_0x5ee268[_0x1a9c4c(0x4b4)](_0x19f7dc['LocalCacheService'])),_0x1df1ed(0x7,_0x5ee268[_0x1a9c4c(0x4b4)](_0xd4878c)),_0x1df1ed(0x8,_0x5ee268['ILogService']),_0x1df1ed(0x9,_0x5ee268[_0x1a9c4c(0x386)]),_0x1df1ed(0xa,_0x5ee268[_0x1a9c4c(0x422)]),_0x1df1ed(0xb,_0x437f93[_0x1a9c4c(0x1c7)]),_0x1df1ed(0xc,_0x5ee268['IUniverInstanceService']),_0x1df1ed(0xd,_0x5ee268['IUndoRedoService'])],_0x324b5a);let _0x1cce27=class extends _0x5adb03{constructor(_0x1a5e33,_0xea487c,_0x2295d4,_0x5d2c60,_0x595317,_0x52a3d4,_0x34f4b6,_0x12dc66,_0x5d8aac,_0x144631,_0x301af3){const _0x1fbf35=_0x1a9c4c;super(_0x1a5e33,_0xea487c,_0x2295d4,[],_0x5d2c60,_0x12dc66,_0x301af3,_0x52a3d4,_0x34f4b6),_0x1328f6(this,_0x1fbf35(0x227),'awaiting'),(this[_0x1fbf35(0x474)]=_0x595317,this['_logService']=_0x5d8aac,this[_0x1fbf35(0x2df)]=_0x144631);}[_0x1a9c4c(0x5cd)](_0x16b797){const _0x3e382e=_0x1a9c4c,_0x5afb8b=this[_0x3e382e(0x474)][_0x3e382e(0x2dd)](_0x2cc3ca,this[_0x3e382e(0x447)],this[_0x3e382e(0x219)],this[_0x3e382e(0x523)],[_0x16b797],this[_0x3e382e(0x2b6)]);return _0x5afb8b['_updateLocalCache'](),_0x5afb8b;}['onRemoteChangeset'](_0x8ad7f5){const _0x5eea9a=_0x1a9c4c;if(this[_0x5eea9a(0x209)](_0x8ad7f5))return this[_0x5eea9a(0x474)]['createInstance'](_0x1851e1,this['unitID'],this[_0x5eea9a(0x219)],this[_0x5eea9a(0x523)],[],null,[_0x8ad7f5],this[_0x5eea9a(0x2b6)]);try{const _0x45b9fa=this[_0x5eea9a(0x2df)]['transformChangesets']([_0x8ad7f5],[this['_awaitingChangeset']],!0x1);if(_0x437f93['isTransformChangesetsSuccess'](_0x45b9fa)){const {c1Prime:_0x1529d2,c2Prime:_0x3ab82e}=_0x45b9fa;this[_0x5eea9a(0x5a3)](_0x1529d2[0x0]),_0x3ab82e[0x0]['baseRev']=this[_0x5eea9a(0x459)]();const _0x20f198=this['_injector'][_0x5eea9a(0x2dd)](_0x1cce27,this['unitID'],this[_0x5eea9a(0x219)],_0x3ab82e[0x0],this[_0x5eea9a(0x2b6)]);return _0x20f198[_0x5eea9a(0x1c5)](),_0x20f198;}return this[_0x5eea9a(0x414)](!0x1);}catch(_0x37840e){return this[_0x5eea9a(0x2a9)][_0x5eea9a(0x317)](_0x37840e),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x478c3c){const _0xc0c929=_0x1a9c4c,_0x588b2a=this['_revisionService'][_0xc0c929(0x1e9)](this[_0xc0c929(0x447)]);if(_0x478c3c[_0xc0c929(0x500)]<_0x588b2a-0x1)return this;if(this[_0xc0c929(0x209)](_0x478c3c))return this[_0xc0c929(0x474)]['createInstance'](_0x1851e1,this['unitID'],this[_0xc0c929(0x219)],null,[],this[_0xc0c929(0x523)],[],this['_handler']);this[_0xc0c929(0x1e7)]();const _0x5e3e79=this[_0xc0c929(0x474)][_0xc0c929(0x2dd)](_0x58d7fd,this[_0xc0c929(0x447)],this[_0xc0c929(0x219)],this[_0xc0c929(0x2b6)]);return _0x5e3e79[_0xc0c929(0x1c5)](),_0x5e3e79;}[_0x1a9c4c(0x38f)](_0xc5bcd8){const _0x29679c=_0x1a9c4c;return this['_onConflict'](!!(_0xc5bcd8!=null&&_0xc5bcd8[_0x29679c(0x58f)]));}['toggleOffline'](){const _0x3fce88=_0x1a9c4c;return this[_0x3fce88(0x474)]['createInstance'](_0xc956b6,this['unitID'],this[_0x3fce88(0x219)],this['_awaitingChangeset'],[],this['_handler']);}[_0x1a9c4c(0x44d)](){return this;}[_0x1a9c4c(0x26f)](){const _0xc03e1b=_0x1a9c4c;this['_handler'][_0xc03e1b(0x254)](this[_0xc03e1b(0x523)]);}[_0x1a9c4c(0x414)](_0x592fdb){const _0x471191=_0x1a9c4c;return this[_0x471191(0x474)][_0x471191(0x2dd)](_0x3e2513,this['unitID'],this[_0x471191(0x219)],this['_awaitingChangeset'],[],this['_handler'],_0x592fdb);}};_0x1cce27=_0x696347([_0x1df1ed(0x4,_0x5ee268[_0x1a9c4c(0x4b4)](_0x5ee268['Injector'])),_0x1df1ed(0x5,_0x5ee268[_0x1a9c4c(0x4b4)](_0x437f93[_0x1a9c4c(0x53b)])),_0x1df1ed(0x6,_0x5ee268[_0x1a9c4c(0x4b4)](_0x19f7dc[_0x1a9c4c(0x59e)])),_0x1df1ed(0x7,_0x5ee268[_0x1a9c4c(0x386)]),_0x1df1ed(0x8,_0x5ee268[_0x1a9c4c(0x2ff)]),_0x1df1ed(0x9,_0x437f93[_0x1a9c4c(0x1c7)]),_0x1df1ed(0xa,_0x5ee268[_0x1a9c4c(0x493)])],_0x1cce27);let _0x2cc3ca=class extends _0x5adb03{constructor(_0x4220d4,_0x4f9835,_0x54a261,_0x3c21d2,_0x413458,_0x269da8,_0x1129eb,_0x379a93,_0x27b90c,_0x4aad68,_0x3571c7,_0x469c8d){const _0x1b1eb1=_0x1a9c4c;super(_0x4220d4,_0x4f9835,_0x54a261,_0x3c21d2,_0x413458,_0x27b90c,_0x469c8d,_0x1129eb,_0x379a93),_0x1328f6(this,'status','awaiting_with_pending'),(this[_0x1b1eb1(0x474)]=_0x269da8,this[_0x1b1eb1(0x2a9)]=_0x4aad68,this[_0x1b1eb1(0x2df)]=_0x3571c7);}[_0x1a9c4c(0x5cd)](_0x544845){const _0x27da84=_0x1a9c4c;return this[_0x27da84(0x1cd)][_0x27da84(0x2ee)](_0x544845),this;}[_0x1a9c4c(0x2ab)](_0xdc9e94){const _0x2bc2e1=_0x1a9c4c;if(this[_0x2bc2e1(0x209)](_0xdc9e94))return this[_0x2bc2e1(0x474)]['createInstance'](_0x1851e1,this[_0x2bc2e1(0x447)],this['type'],this[_0x2bc2e1(0x523)],this[_0x2bc2e1(0x1cd)],null,[_0xdc9e94],this[_0x2bc2e1(0x2b6)]);try{const _0xef95b8=this[_0x2bc2e1(0x2df)][_0x2bc2e1(0x510)]([_0xdc9e94],[this['_awaitingChangeset']],!0x1);if(_0x437f93['isTransformChangesetsSuccess'](_0xef95b8)){const {c1Prime:_0x20864d,c2Prime:_0x311c5b}=_0xef95b8,_0x5da04e=this[_0x2bc2e1(0x2df)][_0x2bc2e1(0x250)](_0x20864d[0x0],this[_0x2bc2e1(0x1cd)]);if(_0x437f93['isTransformMutationsWithChangesetSuccess'](_0x5da04e)){const {c1Prime:_0x56b7f0,m2Prime:_0x5db119}=_0x5da04e;return this[_0x2bc2e1(0x5a3)](_0x56b7f0),_0x311c5b[0x0][_0x2bc2e1(0x397)]=this[_0x2bc2e1(0x459)](),this[_0x2bc2e1(0x474)][_0x2bc2e1(0x2dd)](_0x2cc3ca,this[_0x2bc2e1(0x447)],this[_0x2bc2e1(0x219)],_0x311c5b[0x0],_0x5db119,this['_handler']);}throw _0x5da04e['error'];}throw _0xef95b8[_0x2bc2e1(0x317)];}catch(_0x206b26){return this['_logService'][_0x2bc2e1(0x317)](_0x206b26),this[_0x2bc2e1(0x414)](!0x1);}}[_0x1a9c4c(0x23b)](_0x532aae){const _0x648c97=_0x1a9c4c;if(this[_0x648c97(0x209)](_0x532aae))return this['_injector'][_0x648c97(0x2dd)](_0x1851e1,this[_0x648c97(0x447)],this['type'],null,this[_0x648c97(0x1cd)],this[_0x648c97(0x523)],[],this[_0x648c97(0x2b6)]);this[_0x648c97(0x1e7)]();const _0x44007b=this[_0x648c97(0x474)][_0x648c97(0x2dd)](_0x324b5a,this[_0x648c97(0x447)],this[_0x648c97(0x219)],this[_0x648c97(0x1cd)],this[_0x648c97(0x2b6)]);return _0x44007b[_0x648c97(0x53d)](),_0x44007b['_updateLocalCache'](),_0x44007b;}[_0x1a9c4c(0x38f)](_0x40645f){const _0x5257c7=_0x1a9c4c;return this['_onConflict'](!!(_0x40645f!=null&&_0x40645f[_0x5257c7(0x58f)]));}[_0x1a9c4c(0x5bb)](){const _0x24fe0a=_0x1a9c4c;return this[_0x24fe0a(0x474)][_0x24fe0a(0x2dd)](_0xc956b6,this[_0x24fe0a(0x447)],this[_0x24fe0a(0x219)],this[_0x24fe0a(0x523)],this[_0x24fe0a(0x1cd)],this[_0x24fe0a(0x2b6)]);}[_0x1a9c4c(0x44d)](){return this;}[_0x1a9c4c(0x26f)](){const _0x5ab47c=_0x1a9c4c;this[_0x5ab47c(0x2b6)]['onSendChangeset'](this[_0x5ab47c(0x523)]);}[_0x1a9c4c(0x414)](_0x831d00){const _0xeef881=_0x1a9c4c;return this['_injector']['createInstance'](_0x3e2513,this[_0xeef881(0x447)],this[_0xeef881(0x219)],null,this[_0xeef881(0x1cd)],this[_0xeef881(0x2b6)],_0x831d00);}};_0x2cc3ca=_0x696347([_0x1df1ed(0x5,_0x5ee268[_0x1a9c4c(0x4b4)](_0x5ee268[_0x1a9c4c(0x418)])),_0x1df1ed(0x6,_0x5ee268[_0x1a9c4c(0x4b4)](_0x437f93[_0x1a9c4c(0x53b)])),_0x1df1ed(0x7,_0x5ee268[_0x1a9c4c(0x4b4)](_0x19f7dc[_0x1a9c4c(0x59e)])),_0x1df1ed(0x8,_0x5ee268['ICommandService']),_0x1df1ed(0x9,_0x5ee268[_0x1a9c4c(0x2ff)]),_0x1df1ed(0xa,_0x437f93['ITransformService']),_0x1df1ed(0xb,_0x5ee268[_0x1a9c4c(0x493)])],_0x2cc3ca);let _0x3e2513=class extends _0x5adb03{constructor(_0x224f02,_0x156f61,_0x1ce200,_0xac53a2,_0x232796,_0x3b227a=!0x1,_0x2d1b7f,_0x5b03d5,_0xd6d78,_0xd48a2f,_0x34e31c,_0x1b6f9e,_0x285ae9){const _0x2ca393=_0x1a9c4c;super(_0x224f02,_0x156f61,_0x1ce200,_0xac53a2,_0x232796,_0x5b03d5,_0xd6d78,_0x34e31c,_0xd48a2f),_0x1328f6(this,'status',_0x2ca393(0x57b)),(this[_0x2ca393(0x1d2)]=_0x3b227a,this['_permissionService']=_0x2d1b7f,this['_localeService']=_0x1b6f9e,this[_0x2ca393(0x490)]=_0x285ae9,this[_0x2ca393(0x1b8)](),this['_clearLocalCache'](),this[_0x2ca393(0x3c8)]());}[_0x1a9c4c(0x5cd)](){return this;}[_0x1a9c4c(0x2ab)](){return this;}[_0x1a9c4c(0x23b)](){return this;}[_0x1a9c4c(0x38f)](){return this;}[_0x1a9c4c(0x5bb)](){return this;}[_0x1a9c4c(0x44d)](){return this;}[_0x1a9c4c(0x26f)](){const _0x10c5a0=_0x1a9c4c;throw new Error(_0x10c5a0(0x31e));}[_0x1a9c4c(0x520)](){const _0x3e43d3=_0x1a9c4c;this[_0x3e43d3(0x55e)][_0x3e43d3(0x57e)](this['unitID'],this[_0x3e43d3(0x219)],null,[]);}[_0x1a9c4c(0x1b8)](){const _0x244c76=_0x1a9c4c;this[_0x244c76(0x1d2)]?this[_0x244c76(0x490)][_0x244c76(0x1c3)]({'title':this['_localeService']['t'](_0x244c76(0x359)),'content':this[_0x244c76(0x243)]['t'](_0x244c76(0x33b)),'type':'error','duration':0x0}):this['_notificationService'][_0x244c76(0x1c3)]({'title':this[_0x244c76(0x243)]['t'](_0x244c76(0x3c1)),'content':this[_0x244c76(0x243)]['t'](_0x244c76(0x20d)),'type':_0x244c76(0x317),'duration':0x0});}[_0x1a9c4c(0x3c8)](){const _0x375d2b=_0x1a9c4c;this[_0x375d2b(0x285)][_0x375d2b(0x222)](new _0x149ec5['WorkbookEditablePermission'](this[_0x375d2b(0x447)])['id'],!0x1);}};_0x3e2513=_0x696347([_0x1df1ed(0x6,_0x5ee268[_0x1a9c4c(0x4b4)](_0x5ee268[_0x1a9c4c(0x443)])),_0x1df1ed(0x7,_0x5ee268[_0x1a9c4c(0x386)]),_0x1df1ed(0x8,_0x5ee268[_0x1a9c4c(0x493)]),_0x1df1ed(0x9,_0x5ee268[_0x1a9c4c(0x4b4)](_0x19f7dc['LocalCacheService'])),_0x1df1ed(0xa,_0x5ee268[_0x1a9c4c(0x4b4)](_0x437f93['RevisionService'])),_0x1df1ed(0xb,_0x5ee268[_0x1a9c4c(0x4b4)](_0x5ee268['LocaleService'])),_0x1df1ed(0xc,_0x56f90f[_0x1a9c4c(0x25e)])],_0x3e2513);let _0xc956b6=class extends _0x5adb03{constructor(_0x138097,_0x9b95a8,_0x16862a,_0x4d5de2,_0x15f728,_0x262019,_0x109736,_0x48c71f,_0x4b9f37,_0x1c9dd7){const _0x21b2ac=_0x1a9c4c;super(_0x138097,_0x9b95a8,_0x16862a,_0x4d5de2,_0x15f728,_0x4b9f37,_0x1c9dd7,_0x109736,_0x48c71f),_0x1328f6(this,_0x21b2ac(0x227),_0x21b2ac(0x57c)),this[_0x21b2ac(0x474)]=_0x262019;}[_0x1a9c4c(0x5cd)](_0x1c0dd5){const _0x4a3c2d=_0x1a9c4c;return this[_0x4a3c2d(0x1cd)]['push'](_0x1c0dd5),this[_0x4a3c2d(0x1c5)](),this;}[_0x1a9c4c(0x2ab)](_0x249924){const _0x5d20c6=_0x1a9c4c;throw new Error(_0x5d20c6(0x270));}[_0x1a9c4c(0x23b)](){const _0x29a84d=_0x1a9c4c;throw new Error(_0x29a84d(0x4ac));}['onRemoteRej'](){const _0x42321f=_0x1a9c4c;throw new Error(_0x42321f(0x5b6));}['toggleOffline'](){return this;}[_0x1a9c4c(0x44d)](){const _0x30953d=_0x1a9c4c,{_injector:_0xa1413,_pendingMutations:_0x2f4202,_awaitingChangeset:_0x1a7e8b,unitID:_0x3b8123,_handler:_0x4071e7,type:_0x12f48d}=this,_0x326855=_0x4f4d24(_0xa1413,_0x3b8123,_0x12f48d,_0x1a7e8b,_0x2f4202,_0x4071e7);return _0x326855 instanceof _0x324b5a?_0x326855[_0x30953d(0x53d)]():(_0x326855 instanceof _0x2cc3ca||_0x326855 instanceof _0x1cce27)&&_0x326855[_0x30953d(0x26f)](),_0x326855;}[_0x1a9c4c(0x26f)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};_0xc956b6=_0x696347([_0x1df1ed(0x5,_0x5ee268[_0x1a9c4c(0x4b4)](_0x5ee268[_0x1a9c4c(0x418)])),_0x1df1ed(0x6,_0x5ee268[_0x1a9c4c(0x4b4)](_0x437f93[_0x1a9c4c(0x53b)])),_0x1df1ed(0x7,_0x5ee268[_0x1a9c4c(0x4b4)](_0x19f7dc['LocalCacheService'])),_0x1df1ed(0x8,_0x5ee268[_0x1a9c4c(0x386)]),_0x1df1ed(0x9,_0x5ee268['IUndoRedoService'])],_0xc956b6);let _0x1851e1=class extends _0x5adb03{constructor(_0xa953c3,_0x1bf1fb,_0x489b45,_0x45aeeb,_0x26d19b,_0x2bb63d,_0x1f13f9,_0x18a5df,_0x55c006,_0x255eb5,_0x1f3df8,_0x2549ad,_0x2a6dc7,_0x15166d){const _0x3a2402=_0x1a9c4c;super(_0xa953c3,_0x1bf1fb,_0x489b45,_0x45aeeb,_0x1f13f9,_0x2549ad,_0x2a6dc7,_0x55c006,_0x255eb5),_0x1328f6(this,_0x3a2402(0x227),_0x3a2402(0x5a2)),(this['_acknowledgedAwaitingChangeset']=_0x26d19b,this[_0x3a2402(0x508)]=_0x2bb63d,this['_injector']=_0x18a5df,this['_logService']=_0x1f3df8,this['_transformService']=_0x15166d);}['onMissedChangesetFetched'](_0x566e10){const _0x59b826=_0x1a9c4c;try{const _0x12f216=[..._0x566e10,...this[_0x59b826(0x508)]],_0x129aa2=[this['_awaitingChangeset']||this[_0x59b826(0x531)]][_0x59b826(0x2a1)](_0x2caad5=>!!_0x2caad5);let _0x2d6e58,_0x4ed409;if(_0x129aa2[_0x59b826(0x4d8)]){const _0x388f92=this[_0x59b826(0x2df)][_0x59b826(0x510)](_0x12f216,_0x129aa2,!0x1);if(!_0x437f93[_0x59b826(0x236)](_0x388f92))throw _0x388f92[_0x59b826(0x317)];_0x2d6e58=_0x388f92[_0x59b826(0x249)],_0x4ed409=_0x388f92[_0x59b826(0x215)];}else _0x2d6e58=_0x12f216,_0x4ed409=[];let _0x34f12c=this[_0x59b826(0x1cd)];_0x2d6e58[_0x59b826(0x506)](_0x3d377c=>{const _0x18f2f0=_0x59b826;let _0x28fec2;if(_0x34f12c[_0x18f2f0(0x4d8)]){const _0x32633e=this[_0x18f2f0(0x2df)][_0x18f2f0(0x250)](_0x3d377c,_0x34f12c);if(!_0x437f93[_0x18f2f0(0x1d4)](_0x32633e))throw _0x32633e['error'];_0x28fec2=_0x32633e[_0x18f2f0(0x249)],_0x34f12c=_0x32633e[_0x18f2f0(0x2b9)];}else _0x28fec2=_0x3d377c;this['_executeRemoteChangeset'](_0x28fec2);}),this[_0x59b826(0x531)]&&this[_0x59b826(0x1e7)](),this[_0x59b826(0x523)]&&_0x4ed409[_0x59b826(0x4d8)]&&(_0x4ed409[0x0][_0x59b826(0x397)]=this[_0x59b826(0x459)]());let _0x34fab7;if(this['_awaitingChangeset']&&_0x34f12c[_0x59b826(0x4d8)]!==0x0)_0x34fab7=this[_0x59b826(0x474)]['createInstance'](_0x2cc3ca,this['unitID'],this[_0x59b826(0x219)],_0x4ed409[0x0],_0x34f12c,this[_0x59b826(0x2b6)]);else{if(this[_0x59b826(0x523)]&&_0x34f12c[_0x59b826(0x4d8)]===0x0)_0x4ed409[0x0][_0x59b826(0x397)]=this[_0x59b826(0x459)](),_0x34fab7=this[_0x59b826(0x474)]['createInstance'](_0x1cce27,this['unitID'],this[_0x59b826(0x219)],_0x4ed409[0x0],this['_handler']);else{if(_0x34f12c[_0x59b826(0x4d8)]!==0x0){const _0x2c0e53=this[_0x59b826(0x474)][_0x59b826(0x2dd)](_0x324b5a,this[_0x59b826(0x447)],this[_0x59b826(0x219)],_0x34f12c,this[_0x59b826(0x2b6)]);_0x2c0e53[_0x59b826(0x53d)](),_0x34fab7=_0x2c0e53;}else _0x34fab7=this['_injector'][_0x59b826(0x2dd)](_0x58d7fd,this['unitID'],this['type'],this['_handler']);}}return _0x34fab7[_0x59b826(0x1c5)](),_0x34fab7;}catch(_0x14a663){return this['_logService']['error']('[FetchMissState]',_0x59b826(0x5ce),_0x14a663),this['_injector']['createInstance'](_0x3e2513,this[_0x59b826(0x447)],this[_0x59b826(0x219)],this[_0x59b826(0x523)],this['_pendingMutations'],this[_0x59b826(0x2b6)],!0x1);}}[_0x1a9c4c(0x26f)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1a9c4c(0x5cd)](_0x51b970){const _0x27bd53=_0x1a9c4c;return this[_0x27bd53(0x1cd)]['push'](_0x51b970),this;}['onRemoteChangeset'](_0x56eb99){const _0x2ea7e7=_0x1a9c4c;return this[_0x2ea7e7(0x508)][_0x2ea7e7(0x2ee)](_0x56eb99),this;}[_0x1a9c4c(0x23b)](_0x474015){const _0x3057fd=_0x1a9c4c;if(this[_0x3057fd(0x523)])return this[_0x3057fd(0x531)]=this[_0x3057fd(0x523)],this['_awaitingChangeset']=null,this;throw new Error(_0x3057fd(0x218));}[_0x1a9c4c(0x38f)](_0x270fe7){const _0x4fd5b2=_0x1a9c4c;return this[_0x4fd5b2(0x414)](!!(_0x270fe7!=null&&_0x270fe7[_0x4fd5b2(0x58f)]));}[_0x1a9c4c(0x5bb)](){const _0x60fde3=_0x1a9c4c;return this[_0x60fde3(0x474)][_0x60fde3(0x2dd)](_0xc956b6,this[_0x60fde3(0x447)],this[_0x60fde3(0x219)],this[_0x60fde3(0x523)],this[_0x60fde3(0x1cd)],this[_0x60fde3(0x2b6)]);}[_0x1a9c4c(0x44d)](){return this;}[_0x1a9c4c(0x414)](_0x411955){const _0x67a12a=_0x1a9c4c;return this['_injector'][_0x67a12a(0x2dd)](_0x3e2513,this['unitID'],this[_0x67a12a(0x219)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler'],_0x411955);}};_0x1851e1=_0x696347([_0x1df1ed(0x7,_0x5ee268[_0x1a9c4c(0x4b4)](_0x5ee268[_0x1a9c4c(0x418)])),_0x1df1ed(0x8,_0x5ee268[_0x1a9c4c(0x4b4)](_0x437f93[_0x1a9c4c(0x53b)])),_0x1df1ed(0x9,_0x5ee268[_0x1a9c4c(0x4b4)](_0x19f7dc[_0x1a9c4c(0x59e)])),_0x1df1ed(0xa,_0x5ee268[_0x1a9c4c(0x2ff)]),_0x1df1ed(0xb,_0x5ee268[_0x1a9c4c(0x386)]),_0x1df1ed(0xc,_0x5ee268[_0x1a9c4c(0x493)]),_0x1df1ed(0xd,_0x437f93[_0x1a9c4c(0x1c7)])],_0x1851e1);function _0x4f4d24(_0x1671ec,_0x3ff532,_0x45ba11,_0x318254,_0x521b99,_0x43a0af){const _0x29b218=_0x1a9c4c;return _0x318254&&_0x521b99['length']?_0x1671ec[_0x29b218(0x2dd)](_0x2cc3ca,_0x3ff532,_0x45ba11,_0x318254,_0x521b99,_0x43a0af):_0x318254?_0x1671ec['createInstance'](_0x1cce27,_0x3ff532,_0x45ba11,_0x318254,_0x43a0af):_0x521b99[_0x29b218(0x4d8)]?_0x1671ec[_0x29b218(0x2dd)](_0x324b5a,_0x3ff532,_0x45ba11,_0x521b99,_0x43a0af):_0x1671ec[_0x29b218(0x2dd)](_0x58d7fd,_0x3ff532,_0x45ba11,_0x43a0af);}var _0x427064=Object[_0x1a9c4c(0x340)],_0x497ac5=Object[_0x1a9c4c(0x541)],_0x57a706=(_0x145990,_0x422de6,_0x574e67,_0x536ec5)=>{const _0x1f0a14=_0x1a9c4c;for(var _0x507596=_0x536ec5>0x1?void 0x0:_0x536ec5?_0x497ac5(_0x422de6,_0x574e67):_0x422de6,_0x2fdfc6=_0x145990[_0x1f0a14(0x4d8)]-0x1,_0x16e813;_0x2fdfc6>=0x0;_0x2fdfc6--)(_0x16e813=_0x145990[_0x2fdfc6])&&(_0x507596=(_0x536ec5?_0x16e813(_0x422de6,_0x574e67,_0x507596):_0x16e813(_0x507596))||_0x507596);return _0x536ec5&&_0x507596&&_0x427064(_0x422de6,_0x574e67,_0x507596),_0x507596;},_0x4608b9=(_0x402734,_0x2b10b8)=>(_0x29bbfa,_0x3a2b38)=>_0x2b10b8(_0x29bbfa,_0x3a2b38,_0x402734);_0x19f7dc[_0x1a9c4c(0x256)]=class extends _0x5ee268['RxDisposable']{constructor(_0x59c536,_0x570f5e,_0x4ce779,_0x2d9d26,_0x2b1a20,_0x2100af,_0x3d9888,_0x116955,_0x34d72e,_0x5887b2,_0x37bf28,_0x964dec,_0x86a657){const _0x59b58d=_0x1a9c4c;super(),_0x1328f6(this,_0x59b58d(0x4ec),new _0x56990c[(_0x59b58d(0x3d3))](null)),_0x1328f6(this,_0x59b58d(0x1a7),this['_state$'][_0x59b58d(0x560)]()),_0x1328f6(this,_0x59b58d(0x567)),_0x1328f6(this,'_collaborationPaused',!0x1),_0x1328f6(this,'status$',this[_0x59b58d(0x1a7)][_0x59b58d(0x246)](_0x56990c[_0x59b58d(0x42f)](_0x1aed8e=>_0x1aed8e?_0x1aed8e['status']:_0x319e47[_0x59b58d(0x304)]),_0x56990c[_0x59b58d(0x54b)](0x1))),_0x1328f6(this,_0x59b58d(0x368),!0x1),_0x1328f6(this,_0x59b58d(0x3f7),[]),(this[_0x59b58d(0x447)]=_0x59c536,this[_0x59b58d(0x1f0)]=_0x570f5e,this[_0x59b58d(0x1af)]=_0x4ce779,this[_0x59b58d(0x474)]=_0x2d9d26,this[_0x59b58d(0x55e)]=_0x2b1a20,this[_0x59b58d(0x315)]=_0x2100af,this[_0x59b58d(0x243)]=_0x3d9888,this[_0x59b58d(0x3af)]=_0x116955,this['_logService']=_0x34d72e,this[_0x59b58d(0x48d)]=_0x5887b2,this['_messageService']=_0x37bf28,this[_0x59b58d(0x285)]=_0x964dec,this[_0x59b58d(0x5cf)]=_0x86a657);}get[_0x1a9c4c(0x2d6)](){return this['_state'];}async[_0x1a9c4c(0x206)](){const _0x5158f9=_0x1a9c4c;if(this[_0x5158f9(0x2d6)])throw new Error(_0x5158f9(0x350));await this[_0x5158f9(0x38a)]();}['pauseCollaboration'](){const _0x2826ed=_0x1a9c4c;return this[_0x2826ed(0x37d)]=!0x0,_0x5ee268[_0x2826ed(0x4c5)](()=>{const _0x13f4b7=_0x2826ed;this[_0x13f4b7(0x37d)]=!0x1,this[_0x13f4b7(0x432)]();});}['_updateState'](_0x44dc7b){const _0x3468a9=_0x1a9c4c;this[_0x3468a9(0x567)]=_0x44dc7b,this[_0x3468a9(0x4ec)][_0x3468a9(0x42d)](_0x44dc7b);}async[_0x1a9c4c(0x38a)](){const _0x10af76=_0x1a9c4c;var _0x3ddb70;this[_0x10af76(0x430)](await this[_0x10af76(0x453)]()),this[_0x10af76(0x5cf)]&&((_0x3ddb70=this[_0x10af76(0x5cf)])==null||_0x3ddb70[_0x10af76(0x336)](this['unitID']),this['disposeWithMe'](this[_0x10af76(0x5cf)][_0x10af76(0x543)](this[_0x10af76(0x447)])[_0x10af76(0x3a7)](_0x41d186=>{const _0x58b3eb=_0x10af76;this[_0x58b3eb(0x2a9)][_0x58b3eb(0x2d3)](_0x58b3eb(0x485),'editing\x20status\x20changed\x20to',_0x41d186),_0x41d186===_0x40dedc[_0x58b3eb(0x457)]?(this[_0x58b3eb(0x5b4)][_0x58b3eb(0x1c3)]({'content':this[_0x58b3eb(0x243)]['t']('collaboration.single-unit.warning'),'type':_0x2e321b['MessageType'][_0x58b3eb(0x3c5)]}),this[_0x58b3eb(0x285)][_0x58b3eb(0x222)](new _0x149ec5[(_0x58b3eb(0x264))](this[_0x58b3eb(0x447)])['id'],!0x1)):this[_0x58b3eb(0x285)][_0x58b3eb(0x222)](new _0x149ec5['WorkbookEditablePermission'](this['unitID'])['id'],!0x0);})));let _0x1a7b0d=!0x1;return this[_0x10af76(0x337)](this[_0x10af76(0x1f0)]['sessionStatus$'][_0x10af76(0x3a7)](_0x1d7f6d=>{const _0x3c5b33=_0x10af76;_0x1d7f6d===_0x3477b6[_0x3c5b33(0x399)]?this['_toggleOnline'](_0x1a7b0d):_0x1d7f6d===_0x3477b6['OFFLINE']&&(_0x1a7b0d=!0x0,this[_0x3c5b33(0x2a0)]());})),this[_0x10af76(0x337)](this[_0x10af76(0x1f0)][_0x10af76(0x540)][_0x10af76(0x3a7)](_0x59db5f=>{const _0x78d300=_0x10af76;try{switch(_0x59db5f['eventID']){case _0x437f93[_0x78d300(0x2c5)]['NEW_CHANGESETS']:{this['_onRemoteChangeset'](_0x437f93[_0x78d300(0x2c6)](_0x59db5f[_0x78d300(0x5ac)]));break;}case _0x437f93[_0x78d300(0x2c5)][_0x78d300(0x513)]:{this[_0x78d300(0x245)](_0x59db5f[_0x78d300(0x5ac)]);break;}case _0x437f93['CollaborationEvent']['CHANGESET_REJ']:{this[_0x78d300(0x25d)]();break;}case _0x437f93['CollaborationEvent'][_0x78d300(0x49c)]:{this[_0x78d300(0x416)](_0x59db5f[_0x78d300(0x5ac)][_0x78d300(0x534)][_0x78d300(0x42f)](_0x2b8704=>_0x437f93[_0x78d300(0x2c6)](_0x2b8704)));break;}case _0x437f93[_0x78d300(0x2c5)][_0x78d300(0x2f5)]:this[_0x78d300(0x25d)]({'isPermissionRej':!0x0});}}catch(_0x315696){throw console['error'](_0x78d300(0x1a6),_0x315696),_0x315696;}})),this['_state'];}['_unlockTransition'](){const _0x1d7cd9=_0x1a9c4c;this[_0x1d7cd9(0x368)]=!0x1;}['_lockTransition'](){const _0x20650b=_0x1a9c4c;if(this[_0x20650b(0x368)])throw new Error(_0x20650b(0x507));this[_0x20650b(0x368)]=!0x0;}[_0x1a9c4c(0x35a)](_0x1af4aa){const _0x40e7a3=_0x1a9c4c;this[_0x40e7a3(0x2b3)](),this[_0x40e7a3(0x430)](this['_state'][_0x40e7a3(0x5cd)](_0x1af4aa)),this[_0x40e7a3(0x455)]();}['_onRemoteChangeset'](_0x1e0321){const _0x51f95d=_0x1a9c4c;if(!(_0x1e0321[_0x51f95d(0x500)]<=this[_0x51f95d(0x3af)][_0x51f95d(0x1e9)](this['unitID']))){if(this[_0x51f95d(0x37d)]){this[_0x51f95d(0x3f7)][_0x51f95d(0x2ee)](_0x1e0321);return;}this[_0x51f95d(0x4e8)](_0x1e0321);}}[_0x1a9c4c(0x432)](){const _0x3c1a2d=_0x1a9c4c;this['_remoteChangesetQueue'][_0x3c1a2d(0x506)](_0x1fadad=>this[_0x3c1a2d(0x4e8)](_0x1fadad)),this[_0x3c1a2d(0x3f7)]=[];}[_0x1a9c4c(0x4e8)](_0x10a10d){const _0x50d63f=_0x1a9c4c,_0x4f251f=this[_0x50d63f(0x315)][_0x50d63f(0x1cb)][_0x50d63f(0x3c7)](this[_0x50d63f(0x315)][_0x50d63f(0x1cb)][_0x50d63f(0x4fc)]()[_0x50d63f(0x211)])(_0x10a10d[_0x50d63f(0x234)],null)||_0x10a10d[_0x50d63f(0x234)],_0x38753c={..._0x10a10d,'mutations':_0x4f251f};this['_lockTransition'](),this[_0x50d63f(0x430)](this[_0x50d63f(0x567)][_0x50d63f(0x2ab)](_0x38753c)),this[_0x50d63f(0x455)]();}[_0x1a9c4c(0x245)](_0x2b67c5){const _0x36e5b3=_0x1a9c4c;this[_0x36e5b3(0x2b3)](),this[_0x36e5b3(0x430)](this[_0x36e5b3(0x567)][_0x36e5b3(0x23b)](_0x2b67c5)),this[_0x36e5b3(0x455)]();}['_onRemoteRejected'](_0x18c20d){const _0x37b239=_0x1a9c4c;this['_lockTransition'](),this[_0x37b239(0x430)](this[_0x37b239(0x567)][_0x37b239(0x38f)](_0x18c20d)),this[_0x37b239(0x455)]();}['_onFetchMissResult'](_0x10ee8f){const _0x421bda=_0x1a9c4c;if(!(this[_0x421bda(0x567)]instanceof _0x1851e1))throw new TypeError(_0x421bda(0x3c3));const _0x3c6198=_0x10ee8f[_0x421bda(0x42f)](_0x56990f=>{const _0x87496=_0x421bda,_0xb588e0=this['_compressMutationService'][_0x87496(0x1cb)][_0x87496(0x3c7)](this[_0x87496(0x315)]['interceptor'][_0x87496(0x4fc)]()['COMPRESS_MUTATION_APPLY'])(_0x56990f[_0x87496(0x234)],null)||_0x56990f[_0x87496(0x234)];return{..._0x56990f,'mutations':_0xb588e0};});this[_0x421bda(0x2b3)](),this['_updateState'](this[_0x421bda(0x567)]['onMissedChangesetFetched'](_0x3c6198)),this[_0x421bda(0x455)]();}[_0x1a9c4c(0x2a0)](){const _0x482089=_0x1a9c4c;this[_0x482089(0x2b3)](),this['_updateState'](this[_0x482089(0x567)][_0x482089(0x5bb)]()),this[_0x482089(0x455)]();}[_0x1a9c4c(0x3d1)](_0x21303e=!0x1){const _0x22a397=_0x1a9c4c;this[_0x22a397(0x2b3)](),this[_0x22a397(0x430)](this[_0x22a397(0x567)][_0x22a397(0x44d)]()),this['_unlockTransition']();const _0x77d63a=this[_0x22a397(0x567)];_0x21303e&&_0x77d63a instanceof _0x58d7fd&&(this[_0x22a397(0x2b3)](),this[_0x22a397(0x430)](_0x77d63a[_0x22a397(0x363)]()),this['_unlockTransition']());}async[_0x1a9c4c(0x453)](){return new Promise(_0x50530a=>{const _0x31c8e5=_0x2a06;this['session']['sessionStatus$'][_0x31c8e5(0x246)](_0x56990c[_0x31c8e5(0x46a)](0x1))[_0x31c8e5(0x3a7)](async _0x2bcf74=>{const _0x306c2b=_0x31c8e5;_0x50530a(await this[_0x306c2b(0x3d0)](_0x2bcf74===_0x3477b6['ONLINE']));});});}['_createHandler'](){const _0x47fea0=this['unitID'];return{'onStateChange':(_0x2a2f8b,_0x1a7098)=>{const _0xfe8082=_0x2a06;if(_0x2a2f8b!==this[_0xfe8082(0x567)])throw new Error(_0xfe8082(0x320)+_0x2a2f8b[_0xfe8082(0x227)]+'\x0aAfter:\x20'+_0x1a7098[_0xfe8082(0x227)]+_0xfe8082(0x258)+this[_0xfe8082(0x567)][_0xfe8082(0x227)]);this[_0xfe8082(0x430)](_0x1a7098);},'onSendChangeset':_0x12251b=>{const _0x12e504=_0x2a06,_0x170d22={'eventID':_0x437f93[_0x12e504(0x2c5)][_0x12e504(0x4ed)],'data':{'unitID':_0x12251b[_0x12e504(0x447)],'unitType':this['_type'],'changeset':_0x12251b,'memberID':this[_0x12e504(0x1f0)][_0x12e504(0x3f2)]()}};this['session']['send'](_0x170d22,this[_0x12e504(0x447)]);},'onMissingChangesets':({from:_0x3bb25d,to:_0x3c6d4f})=>{const _0x2d39d1=_0x2a06;this[_0x2d39d1(0x2a9)]['debug'](_0x2d39d1(0x485),_0x2d39d1(0x33f)+_0x3bb25d+_0x2d39d1(0x276)+_0x3c6d4f);const _0x13bfa9={'eventID':_0x437f93[_0x2d39d1(0x2c5)]['FETCH_MISSING'],'data':{'unitID':_0x47fea0,'unitType':this[_0x2d39d1(0x1af)],'from':_0x3bb25d,'to':_0x3c6d4f}};this[_0x2d39d1(0x1f0)]['send'](_0x13bfa9,this[_0x2d39d1(0x447)]);}};}async[_0x1a9c4c(0x3d0)](_0x343cf2){const _0x11c706=_0x1a9c4c;var _0xb57d06,_0x16197f;const _0x36b726=await this['_localCacheService'][_0x11c706(0x2f8)](this[_0x11c706(0x447)]),_0x4a02ab=(_0xb57d06=_0x36b726==null?void 0x0:_0x36b726[_0x11c706(0x234)])!=null?_0xb57d06:[],_0xd17def=(_0x16197f=_0x36b726==null?void 0x0:_0x36b726[_0x11c706(0x1bc)])!=null?_0x16197f:null,_0x2e275f=this[_0x11c706(0x447)];try{this[_0x11c706(0x5c4)](_0xd17def,_0x4a02ab);}catch(_0x114e31){this['_logService'][_0x11c706(0x317)](_0x114e31);}const _0x3d4263=this['_createHandler']();if(_0x343cf2){const _0x30f191=_0x4f4d24(this[_0x11c706(0x474)],_0x2e275f,this[_0x11c706(0x1af)],_0xd17def,_0x4a02ab,_0x3d4263);return _0x30f191 instanceof _0x324b5a?_0x30f191[_0x11c706(0x53d)]():(_0x30f191 instanceof _0x2cc3ca||_0x30f191 instanceof _0x1cce27)&&_0x30f191[_0x11c706(0x26f)](),_0x30f191;}return this['_injector'][_0x11c706(0x2dd)](_0xc956b6,_0x2e275f,this[_0x11c706(0x1af)],_0xd17def,_0x4a02ab,_0x3d4263);}['_replayCachedMutations'](_0x161452,_0x96cd20){const _0x5080c1=_0x1a9c4c;var _0x2647a8,_0x327de7;const _0x2911e9=this[_0x5080c1(0x315)][_0x5080c1(0x1cb)][_0x5080c1(0x3c7)](this[_0x5080c1(0x315)]['interceptor'][_0x5080c1(0x4fc)]()[_0x5080c1(0x211)]);(_0x2647a8=_0x2911e9((_0x161452==null?void 0x0:_0x161452[_0x5080c1(0x234)])||[],null))==null||_0x2647a8['forEach'](_0x4df231=>this[_0x5080c1(0x48d)][_0x5080c1(0x25f)](_0x4df231['id'],_0x4df231[_0x5080c1(0x3e7)])),(_0x327de7=_0x2911e9(_0x96cd20||[],null))==null||_0x327de7[_0x5080c1(0x506)](_0x302cef=>this[_0x5080c1(0x48d)][_0x5080c1(0x25f)](_0x302cef['id'],_0x302cef['params']));}},_0x19f7dc[_0x1a9c4c(0x256)]=_0x57a706([_0x4608b9(0x3,_0x5ee268[_0x1a9c4c(0x4b4)](_0x5ee268[_0x1a9c4c(0x418)])),_0x4608b9(0x4,_0x5ee268[_0x1a9c4c(0x4b4)](_0x19f7dc[_0x1a9c4c(0x59e)])),_0x4608b9(0x5,_0x5ee268[_0x1a9c4c(0x4b4)](_0x437f93[_0x1a9c4c(0x47c)])),_0x4608b9(0x6,_0x5ee268[_0x1a9c4c(0x4b4)](_0x5ee268['LocaleService'])),_0x4608b9(0x7,_0x5ee268[_0x1a9c4c(0x4b4)](_0x437f93[_0x1a9c4c(0x53b)])),_0x4608b9(0x8,_0x5ee268['ILogService']),_0x4608b9(0x9,_0x5ee268['ICommandService']),_0x4608b9(0xa,_0x56f90f[_0x1a9c4c(0x2cb)]),_0x4608b9(0xb,_0x5ee268[_0x1a9c4c(0x443)]),_0x4608b9(0xc,_0x5ee268['Optional'](_0x2c4a47))],_0x19f7dc[_0x1a9c4c(0x256)]),_0x19f7dc[_0x1a9c4c(0x5b1)]=class extends _0x19f7dc[_0x1a9c4c(0x256)]{constructor(_0x52390c,_0x1907c7,_0x23eb0e,_0x50ba6f,_0x5f1cb4,_0xa596c7,_0x57f86c,_0x53ebc8,_0x50b4fd,_0x121efe,_0x5c4d3f,_0x4f82a2,_0x454c3d,_0x4bc2da,_0x37950d,_0x5af605,_0x3261df){const _0x3d1fdc=_0x1a9c4c;super(_0x52390c,_0x23eb0e,_0x1907c7,_0x50ba6f,_0x5f1cb4,_0xa596c7,_0x57f86c,_0x53ebc8,_0x454c3d,_0x4bc2da,_0x37950d,_0x5af605,_0x3261df),this[_0x3d1fdc(0x447)]=_0x52390c,this['type']=_0x1907c7,this[_0x3d1fdc(0x3fe)]=_0x50b4fd,this[_0x3d1fdc(0x296)]=_0x121efe,this['_docTransformSelectionsService']=_0x5c4d3f,this[_0x3d1fdc(0x413)]=_0x4f82a2;}[_0x1a9c4c(0x5bd)](){const _0x16f8fb=_0x1a9c4c,_0x27b088=super[_0x16f8fb(0x5bd)]();return _0x27b088['onTransformIME']=_0x5afa12=>this[_0x16f8fb(0x296)][_0x16f8fb(0x42b)](_0x5afa12),_0x27b088[_0x16f8fb(0x2db)]=_0x387834=>this[_0x16f8fb(0x2d1)][_0x16f8fb(0x49a)](_0x387834),_0x27b088[_0x16f8fb(0x2cf)]=_0x93f225=>this[_0x16f8fb(0x413)][_0x16f8fb(0x333)](_0x93f225),_0x27b088[_0x16f8fb(0x599)]=_0x54118d=>this[_0x16f8fb(0x296)][_0x16f8fb(0x355)](_0x54118d),_0x27b088;}async['_init'](){const _0x2a5f5f=_0x1a9c4c,_0x321052=await super[_0x2a5f5f(0x38a)]();return this[_0x2a5f5f(0x337)](this[_0x2a5f5f(0x48d)][_0x2a5f5f(0x1e6)]((_0x14c9f1,_0x2dc003)=>{const _0x5d4a33=_0x2a5f5f;if(_0x14c9f1[_0x5d4a33(0x219)]!==_0x5ee268[_0x5d4a33(0x3cb)][_0x5d4a33(0x31d)]||_0x2dc003!=null&&_0x2dc003[_0x5d4a33(0x469)]||_0x2dc003!=null&&_0x2dc003['onlyLocal'])return;const _0x50a661=_0x14c9f1[_0x5d4a33(0x3e7)];if((_0x50a661==null?void 0x0:_0x50a661[_0x5d4a33(0x22b)])!==this[_0x5d4a33(0x447)])return;let _0x4e2865=_0x14c9f1;if(_0x4e2865['id']===_0x45fa2b[_0x5d4a33(0x1fb)]['id']){const _0xa22a12=_0x4e2865[_0x5d4a33(0x3e7)];_0x4e2865={'id':_0x45fa2b['RichTextEditingMutation']['id'],'type':_0x5ee268[_0x5d4a33(0x3cb)][_0x5d4a33(0x31d)],'params':{'unitId':_0xa22a12[_0x5d4a33(0x22b)],'actions':_0xa22a12['actions'],'textRanges':null}};}const _0x3ca77f=this[_0x5d4a33(0x315)][_0x5d4a33(0x1cb)][_0x5d4a33(0x3c7)](this[_0x5d4a33(0x315)][_0x5d4a33(0x1cb)][_0x5d4a33(0x4fc)]()[_0x5d4a33(0x2b1)])([_0x4e2865],null)||[_0x4e2865];this['_onLocalMutation'](_0x3ca77f[0x0]);})),_0x321052;}},_0x19f7dc[_0x1a9c4c(0x5b1)]=_0x57a706([_0x4608b9(0x3,_0x5ee268['Inject'](_0x5ee268[_0x1a9c4c(0x418)])),_0x4608b9(0x4,_0x5ee268[_0x1a9c4c(0x4b4)](_0x19f7dc[_0x1a9c4c(0x59e)])),_0x4608b9(0x5,_0x5ee268['Inject'](_0x437f93['CompressMutationService'])),_0x4608b9(0x6,_0x5ee268['Inject'](_0x5ee268[_0x1a9c4c(0x25a)])),_0x4608b9(0x7,_0x5ee268['Inject'](_0x437f93['RevisionService'])),_0x4608b9(0x8,_0x5ee268[_0x1a9c4c(0x4b4)](_0x2d522a['DocStateChangeManagerService'])),_0x4608b9(0x9,_0x5ee268[_0x1a9c4c(0x4b4)](_0x174d0a)),_0x4608b9(0xa,_0x5ee268[_0x1a9c4c(0x4b4)](_0x19e584)),_0x4608b9(0xb,_0x5ee268[_0x1a9c4c(0x4b4)](_0x3c54ae)),_0x4608b9(0xc,_0x5ee268['ILogService']),_0x4608b9(0xd,_0x5ee268['ICommandService']),_0x4608b9(0xe,_0x56f90f['IMessageService']),_0x4608b9(0xf,_0x5ee268[_0x1a9c4c(0x443)]),_0x4608b9(0x10,_0x5ee268[_0x1a9c4c(0x2c1)](_0x2c4a47))],_0x19f7dc[_0x1a9c4c(0x5b1)]),_0x19f7dc['SheetCollaborationEntity']=class extends _0x19f7dc['CollaborationEntity']{constructor(_0x56e12b,_0x2b023e,_0x40a2e0,_0x5f4ea3,_0x56ccbd,_0x17b3dc,_0x57db83,_0x31f973,_0x2ddec3,_0x3cbd1e,_0xc559af,_0x2c826c,_0xf2f203,_0x520c14){const _0x2bde7e=_0x1a9c4c;super(_0x56e12b,_0x40a2e0,_0x2b023e,_0x5f4ea3,_0x56ccbd,_0x17b3dc,_0x57db83,_0x31f973,_0x3cbd1e,_0xc559af,_0x2c826c,_0xf2f203,_0x520c14),this[_0x2bde7e(0x447)]=_0x56e12b,this[_0x2bde7e(0x219)]=_0x2b023e,this[_0x2bde7e(0x5ba)]=_0x2ddec3;}[_0x1a9c4c(0x5bd)](){const _0x84a04=_0x1a9c4c,_0xdfa027=super[_0x84a04(0x5bd)]();return _0xdfa027[_0x84a04(0x2db)]=_0x426943=>this[_0x84a04(0x5ba)][_0x84a04(0x49a)](_0x426943),_0xdfa027;}async[_0x1a9c4c(0x38a)](){const _0x3dc8e0=_0x1a9c4c,_0x559818=await super['_init']();return this[_0x3dc8e0(0x337)](this[_0x3dc8e0(0x48d)][_0x3dc8e0(0x1e6)]((_0x17297c,_0x47d383)=>{const _0x5c2e9e=_0x3dc8e0;if(_0x17297c[_0x5c2e9e(0x219)]!==_0x5ee268[_0x5c2e9e(0x3cb)][_0x5c2e9e(0x31d)]||_0x47d383!=null&&_0x47d383[_0x5c2e9e(0x469)]||_0x47d383!=null&&_0x47d383['onlyLocal'])return;const _0x44ac56=_0x17297c[_0x5c2e9e(0x3e7)];if((_0x44ac56==null?void 0x0:_0x44ac56[_0x5c2e9e(0x22b)])!==this[_0x5c2e9e(0x447)])return;const _0x39bfac=_0x17297c,_0x2f3342=this['_compressMutationService'][_0x5c2e9e(0x1cb)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x5c2e9e(0x1cb)][_0x5c2e9e(0x4fc)]()[_0x5c2e9e(0x2b1)])([_0x39bfac],null)||[_0x39bfac];this[_0x5c2e9e(0x35a)](_0x2f3342[0x0]);})),_0x559818;}},_0x19f7dc['SheetCollaborationEntity']=_0x57a706([_0x4608b9(0x3,_0x5ee268['Inject'](_0x5ee268[_0x1a9c4c(0x418)])),_0x4608b9(0x4,_0x5ee268[_0x1a9c4c(0x4b4)](_0x19f7dc[_0x1a9c4c(0x59e)])),_0x4608b9(0x5,_0x5ee268[_0x1a9c4c(0x4b4)](_0x437f93[_0x1a9c4c(0x47c)])),_0x4608b9(0x6,_0x5ee268[_0x1a9c4c(0x4b4)](_0x5ee268['LocaleService'])),_0x4608b9(0x7,_0x5ee268[_0x1a9c4c(0x4b4)](_0x437f93[_0x1a9c4c(0x53b)])),_0x4608b9(0x8,_0x5ee268[_0x1a9c4c(0x4b4)](_0x41bd09)),_0x4608b9(0x9,_0x5ee268['ILogService']),_0x4608b9(0xa,_0x5ee268[_0x1a9c4c(0x386)]),_0x4608b9(0xb,_0x56f90f[_0x1a9c4c(0x2cb)]),_0x4608b9(0xc,_0x5ee268[_0x1a9c4c(0x443)]),_0x4608b9(0xd,_0x5ee268[_0x1a9c4c(0x2c1)](_0x2c4a47))],_0x19f7dc['SheetCollaborationEntity']);var _0x595ada=Object[_0x1a9c4c(0x340)],_0x3af389=Object['getOwnPropertyDescriptor'],_0x19b861=(_0x2e0048,_0x14b717,_0x57a1f6,_0x318055)=>{const _0x232f34=_0x1a9c4c;for(var _0x310ae5=_0x318055>0x1?void 0x0:_0x318055?_0x3af389(_0x14b717,_0x57a1f6):_0x14b717,_0x2746e9=_0x2e0048[_0x232f34(0x4d8)]-0x1,_0x727711;_0x2746e9>=0x0;_0x2746e9--)(_0x727711=_0x2e0048[_0x2746e9])&&(_0x310ae5=(_0x318055?_0x727711(_0x14b717,_0x57a1f6,_0x310ae5):_0x727711(_0x310ae5))||_0x310ae5);return _0x318055&&_0x310ae5&&_0x595ada(_0x14b717,_0x57a1f6,_0x310ae5),_0x310ae5;},_0x6af9e4=(_0x171a3d,_0x3b2ded)=>(_0x3ad9b5,_0x337849)=>_0x3b2ded(_0x3ad9b5,_0x337849,_0x171a3d);_0x19f7dc['CollaborationController']=class extends _0x5ee268['RxDisposable']{constructor(_0x503604,_0x2b8897,_0x5e04f8){const _0x24c442=_0x1a9c4c;super(),_0x1328f6(this,_0x24c442(0x55b),new Map()),_0x1328f6(this,'_entityInit$',new _0x56990c[(_0x24c442(0x3be))]()),(this[_0x24c442(0x474)]=_0x503604,this[_0x24c442(0x42c)]=_0x2b8897,this[_0x24c442(0x535)]=_0x5e04f8,this[_0x24c442(0x38a)]());}[_0x1a9c4c(0x214)](){const _0x12eb36=_0x1a9c4c;super[_0x12eb36(0x214)](),this[_0x12eb36(0x55b)][_0x12eb36(0x506)](_0x389c10=>_0x389c10[_0x12eb36(0x214)]()),this['_entities']['clear']();}[_0x1a9c4c(0x372)](_0x574ab0){const _0x1fa16e=_0x1a9c4c;var _0x242dc1;return(_0x242dc1=this[_0x1fa16e(0x55b)][_0x1fa16e(0x54d)](_0x574ab0))!=null?_0x242dc1:null;}['getCollabEntity$'](_0x5c0d18){const _0x571983=_0x1a9c4c,_0x2e62a5=this[_0x571983(0x372)](_0x5c0d18);return _0x2e62a5?_0x56990c['of'](_0x2e62a5):this['_entityInit$'][_0x571983(0x246)](_0x2b56b2[_0x571983(0x2a1)](_0x3f187d=>_0x3f187d['unitID']===_0x5c0d18));}['_init'](){const _0x179dac=_0x1a9c4c;this['_univerInstanceService'][_0x179dac(0x2bb)](_0x5ee268[_0x179dac(0x2f7)][_0x179dac(0x498)])[_0x179dac(0x246)](_0x56990c['takeUntil'](this['dispose$']),_0x2b56b2[_0x179dac(0x244)](0x10))[_0x179dac(0x3a7)](async _0x5dfea6=>{const _0x5b3cfe=_0x179dac,_0x2cfade=_0x5dfea6[_0x5b3cfe(0x4ef)](),_0x1da15c=await this['_startCollaboration'](_0x2cfade,_0x69fde1[_0x5b3cfe(0x498)]);this[_0x5b3cfe(0x55b)][_0x5b3cfe(0x26c)](_0x2cfade,_0x1da15c);}),this[_0x179dac(0x535)][_0x179dac(0x2bb)](_0x5ee268['UniverInstanceType'][_0x179dac(0x1ec)])[_0x179dac(0x246)](_0x56990c[_0x179dac(0x1da)](this[_0x179dac(0x1f6)]),_0x2b56b2[_0x179dac(0x244)](0x10))[_0x179dac(0x246)](_0x2b56b2[_0x179dac(0x2a1)](_0x3cd9cd=>!_0x3cd9cd[_0x179dac(0x4ef)]()[_0x179dac(0x48b)]('__')))[_0x179dac(0x3a7)](async _0x251a7b=>{const _0x32cc07=_0x179dac,_0x45f05d=_0x251a7b[_0x32cc07(0x4ef)](),_0x55a693=await this[_0x32cc07(0x3f0)](_0x45f05d,_0x69fde1[_0x32cc07(0x1ec)]);this[_0x32cc07(0x55b)][_0x32cc07(0x26c)](_0x45f05d,_0x55a693);}),_0x56990c['merge'](this['_univerInstanceService'][_0x179dac(0x2da)](_0x5ee268['UniverInstanceType'][_0x179dac(0x498)]),this['_univerInstanceService'][_0x179dac(0x2da)](_0x5ee268[_0x179dac(0x2f7)][_0x179dac(0x1ec)]))[_0x179dac(0x246)](_0x56990c[_0x179dac(0x1da)](this[_0x179dac(0x1f6)]))[_0x179dac(0x3a7)](_0x5d532a=>{const _0x30baad=_0x179dac,_0x1b7118=_0x5d532a[_0x30baad(0x4ef)](),_0xcb9602=this['_entities'][_0x30baad(0x54d)](_0x1b7118);_0xcb9602&&(_0xcb9602[_0x30baad(0x214)](),this['_entities'][_0x30baad(0x1c8)](_0x1b7118));});}async['_startCollaboration'](_0x4f6afe,_0x5e2e9c){const _0x5931bc=_0x1a9c4c,_0x5715e3=await this[_0x5931bc(0x42c)][_0x5931bc(0x43f)](_0x4f6afe),_0x445afe=this['_injector'][_0x5931bc(0x2dd)](this['_getCtorByUniverType'](_0x5e2e9c),_0x4f6afe,_0x5e2e9c,_0x5715e3);return await _0x445afe[_0x5931bc(0x206)](),this[_0x5931bc(0x38d)][_0x5931bc(0x42d)](_0x445afe),_0x445afe;}[_0x1a9c4c(0x431)](_0x590f2a){const _0x1449d4=_0x1a9c4c;switch(_0x590f2a){case _0x69fde1[_0x1449d4(0x1ec)]:return _0x19f7dc['DocCollaborationEntity'];case _0x69fde1[_0x1449d4(0x498)]:return _0x19f7dc[_0x1449d4(0x1a8)];default:throw new Error(_0x1449d4(0x477)+_0x590f2a);}}},_0x19f7dc[_0x1a9c4c(0x554)]=_0x19b861([_0x6af9e4(0x0,_0x5ee268['Inject'](_0x5ee268['Injector'])),_0x6af9e4(0x1,_0x5ee268['Inject'](_0x19f7dc[_0x1a9c4c(0x569)])),_0x6af9e4(0x2,_0x5ee268[_0x1a9c4c(0x39a)])],_0x19f7dc['CollaborationController']);const _0x2878b5=[_0x1a9c4c(0x2e7),_0x1a9c4c(0x1ed),'verdancy600',_0x1a9c4c(0x412),'blue400',_0x1a9c4c(0x502)];class _0x94aa63 extends _0x5ee268['Disposable']{constructor(){const _0x10bd8c=_0x1a9c4c;super(...arguments),_0x1328f6(this,'_assignedColors',new Map()),_0x1328f6(this,_0x10bd8c(0x3e9),0x0);}[_0x1a9c4c(0x3ed)](_0x171816){const _0x5b900b=_0x1a9c4c;if(this[_0x5b900b(0x41e)]['has'](_0x171816))return this[_0x5b900b(0x41e)]['get'](_0x171816);const _0x25861e=_0x2878b5[this['_colorIndex']];return this[_0x5b900b(0x3e9)]=(this[_0x5b900b(0x3e9)]+0x1)%_0x2878b5[_0x5b900b(0x4d8)],this['_assignedColors'][_0x5b900b(0x26c)](_0x171816,_0x25861e),_0x25861e;}}var _0x6dc47c=Object[_0x1a9c4c(0x340)],_0x2ea146=Object['getOwnPropertyDescriptor'],_0x3a8818=(_0x5a59c5,_0x1aadca,_0x53ff4a,_0x23a133)=>{const _0x3115bf=_0x1a9c4c;for(var _0xc0bb97=_0x23a133>0x1?void 0x0:_0x23a133?_0x2ea146(_0x1aadca,_0x53ff4a):_0x1aadca,_0x192d38=_0x5a59c5[_0x3115bf(0x4d8)]-0x1,_0xa85561;_0x192d38>=0x0;_0x192d38--)(_0xa85561=_0x5a59c5[_0x192d38])&&(_0xc0bb97=(_0x23a133?_0xa85561(_0x1aadca,_0x53ff4a,_0xc0bb97):_0xa85561(_0xc0bb97))||_0xc0bb97);return _0x23a133&&_0xc0bb97&&_0x6dc47c(_0x1aadca,_0x53ff4a,_0xc0bb97),_0xc0bb97;},_0x4c485f=(_0xf03da3,_0x2f256c)=>(_0x530e90,_0x333481)=>_0x2f256c(_0x530e90,_0x333481,_0xf03da3);const _0x414a0d=0x12c,_0x510189=0x64;let _0x8070e6=class extends _0x5ee268['RxDisposable']{constructor(_0x1443df,_0x58e39a,_0x32d5a4,_0x250ef6,_0x211b53,_0x45c18b,_0x5f4642,_0x3df1d2,_0x1fce83){const _0x22fe29=_0x1a9c4c;super(),_0x1328f6(this,'_online',!0x1),_0x1328f6(this,_0x22fe29(0x38a),!0x1),_0x1328f6(this,_0x22fe29(0x49d),new _0x56990c[(_0x22fe29(0x3d3))](new Map())),_0x1328f6(this,_0x22fe29(0x2e4),this['_cursorInfo$']['asObservable']()),_0x1328f6(this,'_roomMembers$',new _0x56990c[(_0x22fe29(0x3d3))]([])),_0x1328f6(this,_0x22fe29(0x4c2),this['_roomMembers$'][_0x22fe29(0x246)](_0x56990c[_0x22fe29(0x54a)](_0x414a0d))),_0x1328f6(this,_0x22fe29(0x1d9),_0x5ee268[_0x22fe29(0x4da)](_0x302cb8=>{const _0x323bb1=_0x22fe29,_0x2062fb={'eventID':_0x437f93[_0x323bb1(0x2c5)][_0x323bb1(0x28d)],'data':{'unitID':this[_0x323bb1(0x447)],'memberID':this[_0x323bb1(0x29a)][_0x323bb1(0x3f2)](),'selection':_0x51fd6d(_0x302cb8)}};this[_0x323bb1(0x29a)][_0x323bb1(0x420)](_0x2062fb,this[_0x323bb1(0x447)]);},_0x510189)),(this['unitID']=_0x1443df,this['_session']=_0x58e39a,this[_0x22fe29(0x474)]=_0x32d5a4,this[_0x22fe29(0x4b1)]=_0x250ef6,this['_memberService']=_0x211b53,this[_0x22fe29(0x282)]=_0x45c18b,this[_0x22fe29(0x2df)]=_0x5f4642,this[_0x22fe29(0x535)]=_0x3df1d2,this[_0x22fe29(0x48d)]=_0x1fce83);}get[_0x1a9c4c(0x40a)](){const _0x1723b1=_0x1a9c4c;return this['_cursorInfo$'][_0x1723b1(0x2fc)]();}get[_0x1a9c4c(0x3a5)](){const _0x3b803c=_0x1a9c4c;return this['_roomMembers$'][_0x3b803c(0x2fc)]();}['dispose'](){const _0x3a1e2=_0x1a9c4c;super[_0x3a1e2(0x214)](),this[_0x3a1e2(0x49d)][_0x3a1e2(0x42d)](new Map()),this[_0x3a1e2(0x49d)][_0x3a1e2(0x30a)](),this[_0x3a1e2(0x3aa)][_0x3a1e2(0x42d)]([]),this[_0x3a1e2(0x3aa)]['complete']();}[_0x1a9c4c(0x206)](){const _0x2a7aa1=_0x1a9c4c;this[_0x2a7aa1(0x38a)]||(this['_init']=!0x0,this[_0x2a7aa1(0x29a)][_0x2a7aa1(0x539)][_0x2a7aa1(0x246)](_0x56990c[_0x2a7aa1(0x1da)](this['dispose$']))['subscribe'](_0x5e27c2=>{const _0x8a63ef=_0x2a7aa1;_0x5e27c2===_0x3477b6[_0x8a63ef(0x399)]?this[_0x8a63ef(0x3d1)]():this[_0x8a63ef(0x2a0)]();}),this[_0x2a7aa1(0x29a)]['event$'][_0x2a7aa1(0x246)](_0x56990c['takeUntil'](this[_0x2a7aa1(0x1f6)]))[_0x2a7aa1(0x3a7)](_0x30acb7=>{const _0x2d12a5=_0x2a7aa1,_0x5a1483=_0x30acb7[_0x2d12a5(0x3f9)];_0x5a1483===_0x437f93['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x2d12a5(0x1ef)](_0x30acb7),_0x5a1483===_0x437f93[_0x2d12a5(0x2c5)][_0x2d12a5(0x288)]&&this['_onCursorDelete'](_0x30acb7);}),this['disposeWithMe'](this['_commandService'][_0x2a7aa1(0x1e6)](_0x37b69e=>{const _0x5a8531=_0x2a7aa1,_0x7a97d9=_0x37b69e['params'];_0x7a97d9!=null&&this[_0x5a8531(0x3bf)]&&_0x37b69e['id']===_0x45fa2b[_0x5a8531(0x26e)]['id']&&_0x7a97d9[_0x5a8531(0x22b)]===this[_0x5a8531(0x447)]&&_0x7a97d9[_0x5a8531(0x3b3)]===!0x1&&this['_updateLocalCursor'](_0x7a97d9['ranges']);})),this[_0x2a7aa1(0x282)]['collabCursorState$']['pipe'](_0x56990c[_0x2a7aa1(0x1da)](this['dispose$']))[_0x2a7aa1(0x3a7)](_0x4332ea=>{const _0x2ba33a=_0x2a7aa1;if((_0x4332ea==null?void 0x0:_0x4332ea[_0x2ba33a(0x447)])!==this[_0x2ba33a(0x447)])return;const _0x4802f6={'eventID':_0x437f93['CollaborationEvent'][_0x2ba33a(0x28d)],'data':_0x4332ea};this[_0x2ba33a(0x1ef)](_0x4802f6);}),this[_0x2a7aa1(0x337)](this['_commandService'][_0x2a7aa1(0x1e6)](_0x5abb7e=>{const _0x55a207=_0x2a7aa1;if(_0x5abb7e['params']==null)return;const _0x376b25=_0x5abb7e[_0x55a207(0x3e7)];if(_0x5abb7e['id']!==_0x45fa2b['RichTextEditingMutation']['id']||_0x376b25['unitId']!==this[_0x55a207(0x447)])return;const _0x263e4e={'id':_0x55a207(0x220),'params':_0x376b25},_0x16f877=this['cursorInfo'];for(const [_0x11e12b,_0x3a1b9b]of _0x16f877){const _0x1457b0={'id':_0x55a207(0x220),'params':{'unitId':this[_0x55a207(0x447)],'actions':null,'textRanges':_0x3a1b9b[_0x55a207(0x361)]}},_0x41dee6=this[_0x55a207(0x2df)][_0x55a207(0x24d)](_0x263e4e,_0x1457b0,!0x1);if(_0x437f93[_0x55a207(0x1ac)](_0x41dee6))throw _0x41dee6[_0x55a207(0x317)];_0x16f877['set'](_0x11e12b,{..._0x3a1b9b,'ranges':_0x41dee6[_0x55a207(0x2b9)][_0x55a207(0x3e7)][_0x55a207(0x29f)]});}queueMicrotask(()=>{const _0x55fbe7=_0x55a207;this[_0x55fbe7(0x49d)][_0x55fbe7(0x42d)](_0x16f877);});})));}[_0x1a9c4c(0x1ef)](_0xf4ef60){const _0x168153=_0x1a9c4c;var _0x56866d,_0x34c491;const {memberID:_0x38aad9,selection:_0x346f8a}=_0xf4ef60[_0x168153(0x5ac)],_0x22415d=_0x54df69(_0x346f8a),_0x4f75e0=(_0x34c491=(_0x56866d=this['_memberService'][_0x168153(0x4f1)](this[_0x168153(0x447)],_0x38aad9))==null?void 0x0:_0x56866d[_0x168153(0x32b)])!=null?_0x34c491:_0x168153(0x31a),_0x1e9e41={'color':this[_0x168153(0x4b1)][_0x168153(0x3ed)](_0x38aad9),'name':_0x4f75e0,'ranges':_0x22415d},_0x14b7f6=this['cursorInfo'];_0x14b7f6[_0x168153(0x26c)](_0x38aad9,_0x1e9e41),this[_0x168153(0x49d)]['next'](_0x14b7f6);}['_onCursorDelete'](_0x5ac8ba){const _0x3717d7=_0x1a9c4c,{memberID:_0x5e3416}=_0x5ac8ba[_0x3717d7(0x5ac)],_0x43d74b=this['cursorInfo'];_0x43d74b[_0x3717d7(0x1c8)](_0x5e3416),this[_0x3717d7(0x49d)]['next'](_0x43d74b);}[_0x1a9c4c(0x3d1)](){const _0x4ce580=_0x1a9c4c;var _0x3873c7;if(this['_online']=!0x0,((_0x3873c7=this[_0x4ce580(0x535)]['getFocusedUnit']())==null?void 0x0:_0x3873c7[_0x4ce580(0x4ef)]())!==this[_0x4ce580(0x447)])return;const _0x4bf9bf=this[_0x4ce580(0x474)]['get'](_0x45fa2b[_0x4ce580(0x3d2)])[_0x4ce580(0x378)]();Array['isArray'](_0x4bf9bf)&&_0x4bf9bf['length']>0x0&&this[_0x4ce580(0x1d9)](_0x4bf9bf);}[_0x1a9c4c(0x2a0)](){const _0x19b5bf=_0x1a9c4c;this[_0x19b5bf(0x3bf)]=!0x1;}};_0x8070e6=_0x3a8818([_0x4c485f(0x2,_0x5ee268[_0x1a9c4c(0x4b4)](_0x5ee268[_0x1a9c4c(0x418)])),_0x4c485f(0x3,_0x5ee268[_0x1a9c4c(0x4b4)](_0x94aa63)),_0x4c485f(0x4,_0x5ee268[_0x1a9c4c(0x4b4)](_0xd4878c)),_0x4c485f(0x5,_0x5ee268[_0x1a9c4c(0x4b4)](_0x3c54ae)),_0x4c485f(0x6,_0x437f93[_0x1a9c4c(0x1c7)]),_0x4c485f(0x7,_0x5ee268[_0x1a9c4c(0x39a)]),_0x4c485f(0x8,_0x5ee268[_0x1a9c4c(0x386)])],_0x8070e6);var _0x1b4e77=Object[_0x1a9c4c(0x340)],_0x4b8b1c=Object[_0x1a9c4c(0x541)],_0x3c3668=(_0x134244,_0x5105f6,_0x4075b3,_0x235991)=>{for(var _0x4b53f6=_0x235991>0x1?void 0x0:_0x235991?_0x4b8b1c(_0x5105f6,_0x4075b3):_0x5105f6,_0x44983d=_0x134244['length']-0x1,_0x5a8212;_0x44983d>=0x0;_0x44983d--)(_0x5a8212=_0x134244[_0x44983d])&&(_0x4b53f6=(_0x235991?_0x5a8212(_0x5105f6,_0x4075b3,_0x4b53f6):_0x5a8212(_0x4b53f6))||_0x4b53f6);return _0x235991&&_0x4b53f6&&_0x1b4e77(_0x5105f6,_0x4075b3,_0x4b53f6),_0x4b53f6;},_0x60faa2=(_0x43c1b8,_0x259500)=>(_0x5e8d28,_0x38cde2)=>_0x259500(_0x5e8d28,_0x38cde2,_0x43c1b8);const _0x13a139=0x12c,_0x1896ce=0x64,_0x12cad7=()=>{let _0x43509a=[],_0x237665=!0x1;return _0x282584=>{_0x43509a['push'](_0x282584),_0x237665||(_0x237665=!0x0,setTimeout(()=>{_0x43509a['forEach'](_0x13fa8c=>_0x13fa8c()),_0x43509a=[],_0x237665=!0x1;}));};};let _0x37929f=class extends _0x5ee268['RxDisposable']{constructor(_0x250d85,_0x220f79,_0x19e773,_0x5664ef,_0x4c16a3,_0x43f89d,_0x262712,_0xf986cb){const _0x525607=_0x1a9c4c;super(),_0x1328f6(this,_0x525607(0x3bf),!0x1),_0x1328f6(this,_0x525607(0x38a),!0x1),_0x1328f6(this,'_cursorInfo$',new _0x56990c['BehaviorSubject'](new Map())),_0x1328f6(this,_0x525607(0x2e4),this[_0x525607(0x49d)][_0x525607(0x560)]()),_0x1328f6(this,_0x525607(0x3aa),new _0x56990c[(_0x525607(0x3d3))]([])),_0x1328f6(this,_0x525607(0x4c2),this[_0x525607(0x3aa)]['pipe'](_0x56990c[_0x525607(0x54a)](_0x13a139))),_0x1328f6(this,_0x525607(0x1d9),_0x5ee268[_0x525607(0x4da)]((_0x4b528b,_0x86e066)=>{const _0x4ca481=_0x525607,_0x3fb862={'eventID':_0x437f93[_0x4ca481(0x2c5)][_0x4ca481(0x28d)],'data':{'unitID':this['unitID'],'memberID':this[_0x4ca481(0x29a)][_0x4ca481(0x3f2)](),'selection':_0x5cdf78[_0x4ca481(0x39d)](_0x4b528b,_0x86e066[_0x4ca481(0x314)])}};this[_0x4ca481(0x29a)][_0x4ca481(0x420)](_0x3fb862,this[_0x4ca481(0x447)]);},_0x1896ce)),(this[_0x525607(0x447)]=_0x250d85,this['_session']=_0x220f79,this[_0x525607(0x474)]=_0x19e773,this[_0x525607(0x4b1)]=_0x5664ef,this['_memberService']=_0x4c16a3,this[_0x525607(0x535)]=_0x43f89d,this[_0x525607(0x48d)]=_0x262712,this[_0x525607(0x36a)]=_0xf986cb);}get[_0x1a9c4c(0x40a)](){const _0x4a0bc7=_0x1a9c4c;return this['_cursorInfo$'][_0x4a0bc7(0x2fc)]();}get[_0x1a9c4c(0x3a5)](){const _0x318014=_0x1a9c4c;return this['_roomMembers$'][_0x318014(0x2fc)]();}[_0x1a9c4c(0x214)](){const _0x2c4f6d=_0x1a9c4c;super['dispose'](),this[_0x2c4f6d(0x49d)][_0x2c4f6d(0x42d)](new Map()),this[_0x2c4f6d(0x49d)][_0x2c4f6d(0x30a)](),this[_0x2c4f6d(0x3aa)][_0x2c4f6d(0x42d)]([]),this[_0x2c4f6d(0x3aa)][_0x2c4f6d(0x30a)]();}[_0x1a9c4c(0x206)](){const _0x1326f3=_0x1a9c4c;this[_0x1326f3(0x38a)]||(this[_0x1326f3(0x38a)]=!0x0,this['_session'][_0x1326f3(0x539)][_0x1326f3(0x246)](_0x56990c['takeUntil'](this[_0x1326f3(0x1f6)]))[_0x1326f3(0x3a7)](_0xa909b3=>{const _0x3c5641=_0x1326f3;_0xa909b3===_0x3477b6[_0x3c5641(0x399)]?this[_0x3c5641(0x3d1)]():this[_0x3c5641(0x2a0)]();}),this[_0x1326f3(0x29a)]['event$'][_0x1326f3(0x246)](_0x56990c[_0x1326f3(0x1da)](this[_0x1326f3(0x1f6)]))[_0x1326f3(0x3a7)](_0x159bea=>{const _0x6c6528=_0x1326f3,_0x24e48=_0x159bea[_0x6c6528(0x3f9)];_0x24e48===_0x437f93[_0x6c6528(0x2c5)][_0x6c6528(0x28d)]&&this[_0x6c6528(0x1ef)](_0x159bea),_0x24e48===_0x437f93[_0x6c6528(0x2c5)][_0x6c6528(0x288)]&&this[_0x6c6528(0x356)](_0x159bea);}),this[_0x1326f3(0x3e0)](),this[_0x1326f3(0x337)](this['_commandService']['onCommandExecuted'](_0x912258=>{const _0x2a6ef5=_0x1326f3;if(this['_online']&&_0x912258['id']===_0x149ec5['SetSelectionsOperation']['id']&&_0x912258[_0x2a6ef5(0x3e7)]['unitId']===this[_0x2a6ef5(0x447)]){const _0x534ee3=_0x912258['params'];this[_0x2a6ef5(0x1d9)](_0x534ee3['subUnitId'],_0x534ee3[_0x2a6ef5(0x496)][0x0]);}})));}['_onCursorUpdate'](_0x594347){const _0x261fb1=_0x1a9c4c;var _0xf25125,_0x3c98c1;const {memberID:_0x30ecee,selection:_0x2f44be}=_0x594347['data'],{sheetName:_0x2f746f,range:_0x2bf6e0}=_0x5cdf78[_0x261fb1(0x1bd)](_0x2f44be),_0x572e3c={'name':(_0x3c98c1=(_0xf25125=this['_memberService']['getMember'](this[_0x261fb1(0x447)],_0x30ecee))==null?void 0x0:_0xf25125[_0x261fb1(0x32b)])!=null?_0x3c98c1:_0x261fb1(0x31a),'range':this[_0x261fb1(0x1ff)](_0x2f746f,_0x2bf6e0),'sheetID':_0x2f746f,'color':this['_colorAssignService'][_0x261fb1(0x3ed)](_0x30ecee),'selection':_0x2f44be},_0x189440=this[_0x261fb1(0x40a)];_0x189440[_0x261fb1(0x26c)](_0x30ecee,_0x572e3c),this['_cursorInfo$'][_0x261fb1(0x42d)](_0x189440);}[_0x1a9c4c(0x356)](_0x58c5db){const _0x258c44=_0x1a9c4c,{memberID:_0x165077}=_0x58c5db['data'],_0x27e250=this[_0x258c44(0x40a)];_0x27e250['delete'](_0x165077),this[_0x258c44(0x49d)][_0x258c44(0x42d)](_0x27e250);}[_0x1a9c4c(0x1ff)](_0x1d5de6,_0x56ea8f){const _0x1e258e=_0x1a9c4c;var _0x3527ac,_0x3264af;const _0x65eb42=(_0x3264af=(_0x3527ac=this[_0x1e258e(0x535)]['getUniverSheetInstance'](this[_0x1e258e(0x447)]))==null?void 0x0:_0x3527ac[_0x1e258e(0x265)](_0x1d5de6))==null?void 0x0:_0x3264af[_0x1e258e(0x272)]();return(_0x65eb42==null?void 0x0:_0x65eb42[_0x1e258e(0x2bf)](_0x11df40=>_0x5ee268[_0x1e258e(0x4b9)]['contains'](_0x11df40,_0x56ea8f)))||_0x56ea8f;}[_0x1a9c4c(0x3e0)](){const _0x31cc98=_0x1a9c4c,_0x28765a=new _0x5ee268[(_0x31cc98(0x571))](),_0x1a50f7=_0x12cad7(),_0x382765=()=>{const _0x49be14=_0x31cc98;_0x28765a['dispose']();const _0x33fb9a=(_0x2b1809,_0x27382b,_0x256d35,_0x3da34b)=>{const _0x6f24c2=_0x2a06;let _0x11dc34=[];switch(_0x2b1809['id']){case _0x149ec5[_0x6f24c2(0x4df)]['DeleteRangeMoveLeftCommandId']:{_0x11dc34=_0x149ec5[_0x6f24c2(0x383)](_0x2b1809,_0x3da34b);break;}case _0x149ec5[_0x6f24c2(0x4df)][_0x6f24c2(0x294)]:{_0x11dc34=_0x149ec5['handleDeleteRangeMoveUp'](_0x2b1809,_0x3da34b);break;}case _0x149ec5[_0x6f24c2(0x4df)]['InsertColCommandId']:{_0x11dc34=_0x149ec5[_0x6f24c2(0x289)](_0x2b1809,_0x3da34b);break;}case _0x149ec5[_0x6f24c2(0x4df)]['InsertRangeMoveDownCommandId']:{_0x11dc34=_0x149ec5[_0x6f24c2(0x480)](_0x2b1809,_0x3da34b);break;}case _0x149ec5[_0x6f24c2(0x4df)]['InsertRangeMoveRightCommandId']:{_0x11dc34=_0x149ec5[_0x6f24c2(0x53a)](_0x2b1809,_0x3da34b);break;}case _0x149ec5[_0x6f24c2(0x4df)]['InsertRowCommandId']:{_0x11dc34=_0x149ec5['handleInsertRow'](_0x2b1809,_0x3da34b);break;}case _0x149ec5[_0x6f24c2(0x4df)][_0x6f24c2(0x1bb)]:{_0x11dc34=_0x149ec5[_0x6f24c2(0x4cd)](_0x2b1809,_0x3da34b);break;}case _0x149ec5['EffectRefRangId'][_0x6f24c2(0x1f1)]:{_0x11dc34=_0x149ec5[_0x6f24c2(0x323)](_0x2b1809,_0x3da34b);break;}case _0x149ec5[_0x6f24c2(0x4df)]['RemoveRowCommandId']:{_0x11dc34=_0x149ec5[_0x6f24c2(0x1e8)](_0x2b1809,_0x3da34b);break;}}const _0x5410e6=_0x149ec5[_0x6f24c2(0x41a)](_0x11dc34,_0x3da34b),_0x3a1b94=this[_0x6f24c2(0x40a)][_0x6f24c2(0x54d)](_0x27382b);if(_0x3a1b94&&_0x5410e6){const _0x15de22={..._0x3a1b94,'range':_0x5410e6};this['cursorInfo']['set'](_0x27382b,_0x15de22),_0x1a50f7(()=>{const _0x55bb0d=_0x6f24c2,_0x121b8a=this[_0x55bb0d(0x36a)][_0x55bb0d(0x40c)](_0x5410e6,_0x34ddd9=>(_0x121b8a[_0x55bb0d(0x214)](),_0x33fb9a(_0x34ddd9,_0x27382b,_0x256d35,_0x5410e6)));_0x28765a['add'](_0x121b8a);});}return{'redos':[],'undos':[]};};this[_0x49be14(0x40a)][_0x49be14(0x506)]((_0x16f081,_0x341825)=>{const _0x18b9fc=_0x49be14,{range:_0x402610,sheetID:_0x25d032}=_0x16f081,_0x31c265=this[_0x18b9fc(0x36a)][_0x18b9fc(0x40c)](_0x402610,_0x3ab112=>(_0x31c265[_0x18b9fc(0x214)](),_0x33fb9a(_0x3ab112,_0x341825,_0x25d032,_0x402610)));_0x28765a['add'](_0x31c265);});};this[_0x31cc98(0x337)](_0x5ee268[_0x31cc98(0x4c5)](this[_0x31cc98(0x49d)][_0x31cc98(0x3a7)](()=>{_0x382765();})));}[_0x1a9c4c(0x3d1)](){const _0x385bfd=_0x1a9c4c;var _0x1b55b6,_0x18d354;if(this['_online']=!0x0,((_0x1b55b6=this[_0x385bfd(0x535)][_0x385bfd(0x1b2)]())==null?void 0x0:_0x1b55b6['getUnitId']())!==this[_0x385bfd(0x447)])return;const _0x4b91ab=(_0x18d354=this['_injector'][_0x385bfd(0x54d)](_0x149ec5['SheetsSelectionsService'])[_0x385bfd(0x20f)]())==null?void 0x0:_0x18d354[0x0],_0x10c66e=this[_0x385bfd(0x535)][_0x385bfd(0x38b)](_0x5ee268[_0x385bfd(0x2f7)]['UNIVER_SHEET'])[_0x385bfd(0x267)]();_0x4b91ab&&_0x10c66e&&this[_0x385bfd(0x1d9)](_0x10c66e[_0x385bfd(0x396)](),_0x4b91ab);}[_0x1a9c4c(0x2a0)](){const _0x105a97=_0x1a9c4c;this[_0x105a97(0x3bf)]=!0x1;}};_0x37929f=_0x3c3668([_0x60faa2(0x2,_0x5ee268['Inject'](_0x5ee268[_0x1a9c4c(0x418)])),_0x60faa2(0x3,_0x5ee268['Inject'](_0x94aa63)),_0x60faa2(0x4,_0x5ee268['Inject'](_0xd4878c)),_0x60faa2(0x5,_0x5ee268[_0x1a9c4c(0x39a)]),_0x60faa2(0x6,_0x5ee268[_0x1a9c4c(0x386)]),_0x60faa2(0x7,_0x5ee268[_0x1a9c4c(0x4b4)](_0x149ec5[_0x1a9c4c(0x45a)]))],_0x37929f);var _0x11fab1=Object[_0x1a9c4c(0x340)],_0x1d54bd=Object[_0x1a9c4c(0x541)],_0x50955c=(_0x29cea2,_0x5bb5eb,_0x2e9b2e,_0x44b51c)=>{const _0x5d68d9=_0x1a9c4c;for(var _0x5535fa=_0x44b51c>0x1?void 0x0:_0x44b51c?_0x1d54bd(_0x5bb5eb,_0x2e9b2e):_0x5bb5eb,_0x2f9f1d=_0x29cea2[_0x5d68d9(0x4d8)]-0x1,_0x5b7014;_0x2f9f1d>=0x0;_0x2f9f1d--)(_0x5b7014=_0x29cea2[_0x2f9f1d])&&(_0x5535fa=(_0x44b51c?_0x5b7014(_0x5bb5eb,_0x2e9b2e,_0x5535fa):_0x5b7014(_0x5535fa))||_0x5535fa);return _0x44b51c&&_0x5535fa&&_0x11fab1(_0x5bb5eb,_0x2e9b2e,_0x5535fa),_0x5535fa;},_0x154daf=(_0x475466,_0xba8541)=>(_0x5ba3ed,_0x20673f)=>_0xba8541(_0x5ba3ed,_0x20673f,_0x475466);let _0x48a722=class extends _0x5ee268[_0x1a9c4c(0x4b2)]{constructor(_0x5299b7,_0x293a50,_0x38cc51){const _0x314e6d=_0x1a9c4c;super(),_0x1328f6(this,'_entities',new Map()),_0x1328f6(this,_0x314e6d(0x38d),new _0x56990c['Subject']()),(this[_0x314e6d(0x535)]=_0x5299b7,this['_injector']=_0x293a50,this[_0x314e6d(0x42c)]=_0x38cc51,this[_0x314e6d(0x38a)]());}['dispose'](){const _0x3fb8bd=_0x1a9c4c;super[_0x3fb8bd(0x214)](),this['_entityInit$'][_0x3fb8bd(0x30a)](),this['_entities']['forEach'](_0x116c0c=>_0x116c0c[_0x3fb8bd(0x214)]());}[_0x1a9c4c(0x5b5)](_0x567121){const _0x5c76c8=_0x1a9c4c;return this['_entities'][_0x5c76c8(0x252)](_0x567121)?this[_0x5c76c8(0x55b)][_0x5c76c8(0x54d)](_0x567121)['cursorInfo$']:this[_0x5c76c8(0x38d)][_0x5c76c8(0x246)](_0x56990c[_0x5c76c8(0x2a1)](_0x1d27ad=>_0x1d27ad[_0x5c76c8(0x447)]===_0x567121),_0x56990c['switchMap'](_0x50163f=>_0x50163f[_0x5c76c8(0x2e4)]));}['_init'](){const _0x2fc95b=_0x1a9c4c;this[_0x2fc95b(0x535)][_0x2fc95b(0x2bb)](_0x5ee268['UniverInstanceType'][_0x2fc95b(0x498)])['pipe'](_0x56990c['takeUntil'](this[_0x2fc95b(0x1f6)]))[_0x2fc95b(0x3a7)](async _0x3f4f54=>{const _0x488dd5=_0x2fc95b,_0x3ee0cc=_0x3f4f54[_0x488dd5(0x4ef)](),_0x8bacf4=await this[_0x488dd5(0x56c)](_0x3ee0cc);this[_0x488dd5(0x38d)][_0x488dd5(0x42d)](_0x8bacf4),this[_0x488dd5(0x55b)]['set'](_0x3ee0cc,_0x8bacf4);}),this[_0x2fc95b(0x535)][_0x2fc95b(0x2bb)](_0x5ee268[_0x2fc95b(0x2f7)][_0x2fc95b(0x1ec)])[_0x2fc95b(0x246)](_0x56990c[_0x2fc95b(0x1da)](this[_0x2fc95b(0x1f6)]))[_0x2fc95b(0x246)](_0x56990c[_0x2fc95b(0x2a1)](_0xbb8d1a=>!_0xbb8d1a['getUnitId']()[_0x2fc95b(0x48b)]('__')))['subscribe'](async _0x20e6cd=>{const _0x138a6a=_0x2fc95b,_0x196478=_0x20e6cd[_0x138a6a(0x4ef)](),_0x2303ed=await this[_0x138a6a(0x39b)](_0x196478);this[_0x138a6a(0x38d)][_0x138a6a(0x42d)](_0x2303ed),this['_entities'][_0x138a6a(0x26c)](_0x196478,_0x2303ed);}),_0x56990c[_0x2fc95b(0x1fd)](this[_0x2fc95b(0x535)][_0x2fc95b(0x2da)](_0x5ee268[_0x2fc95b(0x2f7)][_0x2fc95b(0x1ec)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x5ee268[_0x2fc95b(0x2f7)][_0x2fc95b(0x498)]))['pipe'](_0x56990c['takeUntil'](this[_0x2fc95b(0x1f6)]))[_0x2fc95b(0x3a7)](_0x360717=>{const _0x5e1180=_0x2fc95b,_0x3772ee=_0x360717[_0x5e1180(0x4ef)](),_0xa00555=this[_0x5e1180(0x55b)][_0x5e1180(0x54d)](_0x3772ee);_0xa00555&&(_0xa00555[_0x5e1180(0x214)](),this['_entities'][_0x5e1180(0x1c8)](_0x3772ee));});}async[_0x1a9c4c(0x56c)](_0x38f76d){const _0x49886e=_0x1a9c4c,_0x5e3fc1=await this[_0x49886e(0x42c)][_0x49886e(0x43f)](_0x38f76d),_0x4d63b3=this[_0x49886e(0x474)][_0x49886e(0x2dd)](_0x37929f,_0x38f76d,_0x5e3fc1);return _0x4d63b3[_0x49886e(0x206)](),_0x4d63b3;}async[_0x1a9c4c(0x39b)](_0x576653){const _0x7e609=_0x1a9c4c,_0x41bd13=await this[_0x7e609(0x42c)]['requireSession'](_0x576653),_0x23ceca=this[_0x7e609(0x474)][_0x7e609(0x2dd)](_0x8070e6,_0x576653,_0x41bd13);return _0x23ceca['init'](),_0x23ceca;}};_0x48a722=_0x50955c([_0x154daf(0x0,_0x5ee268['IUniverInstanceService']),_0x154daf(0x1,_0x5ee268[_0x1a9c4c(0x4b4)](_0x5ee268[_0x1a9c4c(0x418)])),_0x154daf(0x2,_0x5ee268[_0x1a9c4c(0x4b4)](_0x19f7dc[_0x1a9c4c(0x569)]))],_0x48a722);const _0x7126f0=0x14,_0x4e17f6=0xc8,_0x2b09ad=0x4,_0x4742e2=0x5;function _0x38d117(_0x556550,_0x4b53a2){const _0x3f1d1b=_0x1a9c4c;let {radius:_0x1d04ae,width:_0x2ae16a,height:_0x2a390f}=_0x4b53a2;_0x1d04ae=_0x1d04ae!=null?_0x1d04ae:0x0,_0x2ae16a=_0x2ae16a!=null?_0x2ae16a:0x1e,_0x2a390f=_0x2a390f!=null?_0x2a390f:0x1e;let _0x17f8d3=0x0,_0xd4cb19=0x0,_0x2147d5=0x0;_0x17f8d3=_0xd4cb19=_0x2147d5=Math[_0x3f1d1b(0x4dd)](_0x1d04ae,_0x2ae16a/0x2,_0x2a390f/0x2),_0x556550[_0x3f1d1b(0x4ce)](),_0x556550[_0x3f1d1b(0x4dc)](_0x17f8d3,0x0),_0x556550[_0x3f1d1b(0x1f8)](_0x2ae16a-_0xd4cb19,0x0),_0x556550[_0x3f1d1b(0x1fc)](_0x2ae16a-_0xd4cb19,_0xd4cb19,_0xd4cb19,Math['PI']*0x3/0x2,0x0,!0x1),_0x556550['lineTo'](_0x2ae16a,_0x2a390f-_0x2147d5),_0x556550[_0x3f1d1b(0x1fc)](_0x2ae16a-_0x2147d5,_0x2a390f-_0x2147d5,_0x2147d5,0x0,Math['PI']/0x2,!0x1),_0x556550[_0x3f1d1b(0x1f8)](0x0,_0x2a390f),_0x556550[_0x3f1d1b(0x1f8)](0x0,_0x17f8d3),_0x556550['arc'](_0x17f8d3,_0x17f8d3,_0x17f8d3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x556550[_0x3f1d1b(0x3cf)](),_0x4b53a2['fill']&&(_0x556550[_0x3f1d1b(0x401)](),_0x556550[_0x3f1d1b(0x3c9)]=_0x4b53a2[_0x3f1d1b(0x31c)],_0x4b53a2[_0x3f1d1b(0x25c)]===_0x3f1d1b(0x392)?_0x556550['fill'](_0x3f1d1b(0x392)):_0x556550[_0x3f1d1b(0x31c)](),_0x556550[_0x3f1d1b(0x33e)]());}class _0x201b68 extends _0x454685[_0x1a9c4c(0x588)]{constructor(_0x35ebaf,_0xae24b4){const _0x4776b1=_0x1a9c4c;super(_0x35ebaf,_0xae24b4),_0x1328f6(this,'color'),_0x1328f6(this,'text'),(this['color']=_0xae24b4==null?void 0x0:_0xae24b4[_0x4776b1(0x456)],this[_0x4776b1(0x475)]=_0xae24b4==null?void 0x0:_0xae24b4[_0x4776b1(0x475)]);}static['drawWith'](_0x477d11,_0x48d759){const _0x33c03f=_0x1a9c4c,{text:_0x1c69e9,color:_0x37b5d8}=_0x48d759;_0x477d11['save'](),_0x477d11[_0x33c03f(0x5d0)]=_0x33c03f(0x3c2);const _0x295008=_0x477d11[_0x33c03f(0x34f)](_0x1c69e9)[_0x33c03f(0x228)],_0x6828bc=Math['min'](_0x295008+0x2*_0x2b09ad,_0x4e17f6);_0x38d117(_0x477d11,{'height':_0x7126f0,'radius':0x4,'width':_0x6828bc,'fill':_0x37b5d8,'evented':!0x1}),_0x477d11[_0x33c03f(0x3c9)]=_0x33c03f(0x27b);const _0x5166dd=_0x2b09ad,_0x564324=_0x7126f0-_0x4742e2,_0x42f679=_0x4e17f6-0x2*_0x2b09ad;if(_0x295008>_0x42f679){let _0x1c29f0='',_0x471b86=0x0;for(const _0x45fb0e of _0x1c69e9){const _0x2b275b=_0x477d11[_0x33c03f(0x34f)](_0x45fb0e)['width'];if(_0x471b86+_0x2b275b<=_0x42f679-_0x477d11[_0x33c03f(0x34f)](_0x33c03f(0x38c))['width'])_0x1c29f0+=_0x45fb0e,_0x471b86+=_0x2b275b;else{_0x1c29f0+='...';break;}}_0x477d11[_0x33c03f(0x1b0)](_0x1c29f0,_0x5166dd,_0x564324);}else _0x477d11['fillText'](_0x1c69e9,_0x5166dd,_0x564324);_0x477d11[_0x33c03f(0x33e)]();}['_draw'](_0x5d6d2c){const _0x255042=_0x1a9c4c;_0x201b68[_0x255042(0x23c)](_0x5d6d2c,this);}}const _0x4c467d=_0x1a9c4c(0x1ea),_0x3c17bb=_0x1a9c4c(0x3da),_0x58a545=_0x1a9c4c(0x579),_0x3bb404=0x6,_0x49ee83=1.5,_0x628a24=0x4,_0x31bcfc=1.5,_0x5e3069='rgba(255,\x20255,\x20255,\x200.01)';class _0x5cf0e4{constructor(_0x4100d0,_0x135907,_0x38ded8,_0x46b90a){const _0x27bc64=_0x1a9c4c;_0x1328f6(this,_0x27bc64(0x3df),[]),_0x1328f6(this,_0x27bc64(0x1b4),null),_0x1328f6(this,_0x27bc64(0x5a6),null),_0x1328f6(this,'_anchorDot',null),_0x1328f6(this,_0x27bc64(0x45e),null),_0x1328f6(this,_0x27bc64(0x405),null),(this[_0x27bc64(0x403)]=_0x4100d0,this[_0x27bc64(0x1ab)]=_0x135907,this[_0x27bc64(0x44a)]=_0x38ded8,this['_document']=_0x46b90a,this['_render']());}set['_hover'](_0x1abe6b){const _0x1dcf2d=_0x1a9c4c;_0x1abe6b?(this[_0x1dcf2d(0x27d)]&&this[_0x1dcf2d(0x27d)]['hide'](),this[_0x1dcf2d(0x5a6)]&&this[_0x1dcf2d(0x5a6)][_0x1dcf2d(0x1c3)]()):(this['_anchorDot']&&this[_0x1dcf2d(0x27d)][_0x1dcf2d(0x1c3)](),this[_0x1dcf2d(0x5a6)]&&this[_0x1dcf2d(0x5a6)][_0x1dcf2d(0x479)]());}[_0x1a9c4c(0x214)](){const _0x1c8fc3=_0x1a9c4c;for(const _0x480b83 of this[_0x1c8fc3(0x3df)])_0x480b83[_0x1c8fc3(0x214)]();this['_textBubble']&&this[_0x1c8fc3(0x5a6)][_0x1c8fc3(0x214)](),this[_0x1c8fc3(0x27d)]&&this['_anchorDot'][_0x1c8fc3(0x214)](),this[_0x1c8fc3(0x1b4)]&&this['_anchor'][_0x1c8fc3(0x214)](),this['_eventUnsubscribe']&&this[_0x1c8fc3(0x405)]();}[_0x1a9c4c(0x39e)](){const _0x5a5ddc=_0x1a9c4c;var _0x302d0e;const {_docSkeleton:_0x22176d,_document:_0x29ec70}=this,{color:_0x3b0e54,name:_0x29cd19,ranges:_0xb76f1d}=this[_0x5a5ddc(0x403)],_0x1b1e71=_0x29ec70[_0x5a5ddc(0x1f4)](),{docsLeft:_0x47fede,docsTop:_0x482f99}=_0x1b1e71,_0x4fac4b=new _0x2d522a[(_0x5a5ddc(0x307))](_0x1b1e71,_0x22176d);for(const {startOffset:_0x341e91,endOffset:_0x29ae0b,collapsed:_0x4d959b,isActive:_0x20d8f0}of _0xb76f1d){const _0xda7fb=_0x22176d[_0x5a5ddc(0x3e8)](_0x341e91),_0x2e3a4e=_0x22176d['findNodePositionByCharIndex'](_0x29ae0b);if(_0x20d8f0){const {contentBoxPointGroup:_0x15fead}=_0x4fac4b[_0x5a5ddc(0x305)](_0x2e3a4e,_0x2e3a4e);if(_0x15fead[_0x5a5ddc(0x4d8)]===0x0)continue;this['_drawAnchor'](_0x3b0e54,_0x15fead,_0x47fede,_0x482f99,_0x29cd19),this[_0x5a5ddc(0x405)]=this[_0x5a5ddc(0x565)]();}if(!_0x4d959b&&_0xda7fb&&_0x2e3a4e){if(_0x2d522a[_0x5a5ddc(0x536)](_0xda7fb,_0x2e3a4e)){const _0x111a39=new _0x2d522a['NodePositionConvertToRectRange'](_0x1b1e71,_0x22176d),{pointGroup:_0x302b2b}=(_0x302d0e=_0x111a39['getRangePointData'](_0xda7fb,_0x2e3a4e))!=null?_0x302d0e:{};if(_0x302b2b==null||_0x302b2b[_0x5a5ddc(0x4d8)]===0x0)continue;this['_drawRectRange'](_0x3b0e54,_0x302b2b,_0x47fede,_0x482f99);}else{const {contentBoxPointGroup:_0x26bff9}=_0x4fac4b[_0x5a5ddc(0x305)](_0xda7fb,_0x2e3a4e);if(_0x26bff9[_0x5a5ddc(0x4d8)]===0x0)continue;this[_0x5a5ddc(0x2fd)](_0x3b0e54,_0x26bff9,_0x47fede,_0x482f99);}}}}['_drawAnchor'](_0x49774f,_0x82c8c6,_0x2f5e17,_0x1eec03,_0x4b7336){const _0x50e620=_0x1a9c4c,_0x223bc0=this[_0x50e620(0x542)](_0x82c8c6),{left:_0x3f59ac,top:_0x287838,height:_0x47ccd5}=_0x223bc0,_0x1f0269=this[_0x50e620(0x360)](),_0x27940d=_0x31bcfc/_0x1f0269,_0x25eb1a=new _0x454685['Rect'](_0x4c467d+_0x5ee268[_0x50e620(0x277)][_0x50e620(0x58b)](_0x3bb404),{'left':_0x3f59ac+_0x2f5e17-_0x27940d,'top':_0x287838+_0x1eec03,'height':_0x47ccd5,'width':_0x49ee83,'fill':_0x49774f||_0x454685[_0x50e620(0x3bc)](_0x5ee268['COLORS']['black'],0x0),'strokeWidth':_0x27940d,'stroke':_0x5e3069,'evented':!0x0});this[_0x50e620(0x1b4)]=_0x25eb1a,this[_0x50e620(0x1ab)][_0x50e620(0x4c4)](_0x25eb1a,_0x2d522a[_0x50e620(0x545)]);const _0x42c688=new _0x454685[(_0x50e620(0x59c))](_0x4c467d+_0x5ee268[_0x50e620(0x277)][_0x50e620(0x58b)](_0x3bb404),{'left':_0x3f59ac+_0x2f5e17-_0x27940d,'top':_0x287838+_0x1eec03-_0x628a24/0x2,'height':_0x628a24,'width':_0x628a24,'fill':_0x49774f||_0x454685['getColor'](_0x5ee268['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x49774f||_0x454685['getColor'](_0x5ee268['COLORS'][_0x50e620(0x226)],0x0),'evented':!0x1});this[_0x50e620(0x27d)]=_0x42c688,this[_0x50e620(0x1ab)][_0x50e620(0x4c4)](_0x42c688,_0x2d522a[_0x50e620(0x545)]);const _0x4db92f=new _0x201b68(_0x4c467d+_0x5ee268['Tools']['generateRandomId'](_0x3bb404),{'left':_0x3f59ac+_0x2f5e17-_0x27940d,'top':_0x287838+_0x1eec03-_0x7126f0,'text':_0x4b7336,'color':_0x49774f});this[_0x50e620(0x5a6)]=_0x4db92f,this[_0x50e620(0x1ab)]['addObject'](_0x4db92f,_0x2d522a[_0x50e620(0x545)]),this[_0x50e620(0x3d6)]=!0x1;}[_0x1a9c4c(0x565)](){const _0x51728e=_0x1a9c4c,_0x4e48f0=this[_0x51728e(0x1b4)][_0x51728e(0x210)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x589b9d=this[_0x51728e(0x1b4)][_0x51728e(0x395)][_0x51728e(0x2eb)](()=>{const _0x4e0814=_0x51728e;this[_0x4e0814(0x45e)]&&clearTimeout(this[_0x4e0814(0x45e)]),this[_0x4e0814(0x45e)]=setTimeout(()=>{const _0x2c0bfd=_0x4e0814;this[_0x2c0bfd(0x3d6)]=!0x1;},0x7d0);});return()=>{const _0x37cc49=_0x51728e;_0x4e48f0[_0x37cc49(0x45c)](),_0x589b9d[_0x37cc49(0x45c)]();};}[_0x1a9c4c(0x2fd)](_0x389569,_0x4b27a7,_0x1f09d3,_0x253c3c){const _0x314b3a=_0x1a9c4c,_0x5037d2=new _0x5ee268[(_0x314b3a(0x225))](_0x389569)['setAlpha'](0.2)['toRgbString'](),_0x140729=new _0x454685[(_0x314b3a(0x233))](_0x3c17bb+_0x5ee268[_0x314b3a(0x277)][_0x314b3a(0x58b)](_0x3bb404),{'pointsGroup':_0x4b27a7,'fill':_0x5037d2||_0x454685['getColor'](_0x5ee268[_0x314b3a(0x4b0)][_0x314b3a(0x226)],0.2),'left':_0x1f09d3,'top':_0x253c3c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x314b3a(0x3df)][_0x314b3a(0x2ee)](_0x140729),this[_0x314b3a(0x1ab)][_0x314b3a(0x4c4)](_0x140729,_0x2d522a['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x48652f,_0x240bb6,_0x236445,_0x56adcd){const _0x284aac=_0x1a9c4c,_0x13400c=new _0x5ee268[(_0x284aac(0x225))](_0x48652f)['setAlpha'](0.2)[_0x284aac(0x364)](),_0x53ae91=new _0x454685[(_0x284aac(0x233))](_0x58a545+_0x5ee268[_0x284aac(0x277)]['generateRandomId'](_0x3bb404),{'pointsGroup':_0x240bb6,'fill':_0x13400c||_0x454685[_0x284aac(0x3bc)](_0x5ee268['COLORS'][_0x284aac(0x226)],0.2),'left':_0x236445,'top':_0x56adcd,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x284aac(0x3df)]['push'](_0x53ae91),this[_0x284aac(0x1ab)][_0x284aac(0x4c4)](_0x53ae91,_0x2d522a[_0x284aac(0x545)]);}[_0x1a9c4c(0x542)](_0x3927e7){const _0x23e81b=_0x3927e7[0x0],_0x5345ea=_0x23e81b[0x0],_0x1ff572=_0x23e81b[0x2],{x:_0x1a9f3d,y:_0x51b96}=_0x5345ea,{x:_0x2e2169,y:_0x49b52d}=_0x1ff572;return{'left':_0x1a9f3d,'top':_0x51b96,'width':_0x2e2169-_0x1a9f3d,'height':_0x49b52d-_0x51b96};}[_0x1a9c4c(0x360)](){const _0x39a14b=_0x1a9c4c,{scaleX:_0x2f23d8,scaleY:_0x3a591c}=this['_scene'][_0x39a14b(0x46f)]();return Math[_0x39a14b(0x2c2)](_0x2f23d8,_0x3a591c);}}var _0x4cca82=Object[_0x1a9c4c(0x340)],_0x50162f=Object[_0x1a9c4c(0x541)],_0x42bf14=(_0x4baed2,_0x3cd012,_0x10e628,_0x4d40da)=>{for(var _0x26790a=_0x4d40da>0x1?void 0x0:_0x4d40da?_0x50162f(_0x3cd012,_0x10e628):_0x3cd012,_0x1c7c82=_0x4baed2['length']-0x1,_0x39c8ef;_0x1c7c82>=0x0;_0x1c7c82--)(_0x39c8ef=_0x4baed2[_0x1c7c82])&&(_0x26790a=(_0x4d40da?_0x39c8ef(_0x3cd012,_0x10e628,_0x26790a):_0x39c8ef(_0x26790a))||_0x26790a);return _0x4d40da&&_0x26790a&&_0x4cca82(_0x3cd012,_0x10e628,_0x26790a),_0x26790a;},_0x13e6f7=(_0x39be07,_0x3e877d)=>(_0xc91d25,_0x403f3c)=>_0x3e877d(_0xc91d25,_0x403f3c,_0x39be07);let _0xfecd41=class extends _0x5ee268[_0x1a9c4c(0x4b2)]{constructor(_0x7fb658,_0x4ccd10,_0x54426e,_0x5da677,_0x3e879d){const _0x57ddee=_0x1a9c4c;super(),_0x1328f6(this,_0x57ddee(0x4aa),[]),_0x1328f6(this,_0x57ddee(0x352),[]),(this[_0x57ddee(0x1de)]=_0x7fb658,this[_0x57ddee(0x5c3)]=_0x4ccd10,this[_0x57ddee(0x59a)]=_0x54426e,this['_commandService']=_0x5da677,this[_0x57ddee(0x591)]=_0x3e879d,this[_0x57ddee(0x38a)]());}[_0x1a9c4c(0x38a)](){const _0x479353=_0x1a9c4c,_0x5f48e8=this[_0x479353(0x1de)][_0x479353(0x22b)],_0x2817d0=this[_0x479353(0x5c3)];this[_0x479353(0x337)](_0x56990c[_0x479353(0x44e)]([this[_0x479353(0x59a)][_0x479353(0x5b5)](_0x5f48e8),this[_0x479353(0x591)][_0x479353(0x1be)]])[_0x479353(0x246)](_0x2b56b2[_0x479353(0x42f)](([_0x513aa7,_0x34826d])=>({'skeleton':_0x2817d0[_0x479353(0x27a)](),'cursors':[..._0x513aa7[_0x479353(0x376)]()]['flatMap'](_0x2d4b92=>({..._0x2d4b92,'color':_0x34826d[_0x2d4b92[_0x479353(0x456)]]}))})))[_0x479353(0x3a7)](_0x54d669=>{if(this['_removeCollabCursors'](),_0x54d669){const {skeleton:_0x10ee07,cursors:_0x9a06ec}=_0x54d669;this['_updateCollabCursors'](_0x10ee07,_0x9a06ec);}})),this[_0x479353(0x516)](),this[_0x479353(0x342)]();}[_0x1a9c4c(0x4a8)](_0x148734,_0x3898e1){const _0x819629=_0x1a9c4c,{scene:_0x6bca2e,mainComponent:_0xaa5e00}=this[_0x819629(0x1de)],_0x2c1726=_0x3898e1['map'](_0xe14f0e=>new _0x5cf0e4(_0xe14f0e,_0x6bca2e,_0x148734,_0xaa5e00));this['_cursorShapes']=_0x2c1726,this[_0x819629(0x352)]=_0x3898e1;}['_refreshCollabCursors'](){const _0x117460=_0x1a9c4c;this['_removeCollabCursors']();const {scene:_0x34ee28,mainComponent:_0x4f024d}=this[_0x117460(0x1de)],_0x2d2027=this[_0x117460(0x5c3)][_0x117460(0x27a)](),_0x1bfccc=this['_cursors'][_0x117460(0x42f)](_0x487aae=>new _0x5cf0e4(_0x487aae,_0x34ee28,_0x2d2027,_0x4f024d));this[_0x117460(0x4aa)]=_0x1bfccc;}[_0x1a9c4c(0x387)](){const _0x3650ce=_0x1a9c4c;this[_0x3650ce(0x4aa)][_0x3650ce(0x506)](_0x59b7d7=>_0x59b7d7[_0x3650ce(0x214)]()),this[_0x3650ce(0x4aa)]=[];}[_0x1a9c4c(0x342)](){const _0x2da341=_0x1a9c4c,_0x32795c=[_0x2d522a[_0x2da341(0x1ce)]['id']];this[_0x2da341(0x337)](this[_0x2da341(0x48d)][_0x2da341(0x1e6)](_0x3b1a28=>{const _0x352a42=_0x2da341;_0x32795c[_0x352a42(0x1d1)](_0x3b1a28['id'])&&_0x3b1a28['params'][_0x352a42(0x22b)]===this[_0x352a42(0x1de)][_0x352a42(0x22b)]&&this['_refreshCollabCursors']();}));}[_0x1a9c4c(0x516)](){const _0x3eb424=_0x1a9c4c;this[_0x3eb424(0x337)](_0x5ee268[_0x3eb424(0x54c)](this[_0x3eb424(0x1de)][_0x3eb424(0x56b)][_0x3eb424(0x4b5)])[_0x3eb424(0x246)](_0x2b56b2[_0x3eb424(0x2a1)](_0x5e3b0b=>_0x5e3b0b[_0x3eb424(0x219)]===_0x454685[_0x3eb424(0x4a1)][_0x3eb424(0x3a2)]),_0x2b56b2['throttleTime'](0x10))[_0x3eb424(0x3a7)](()=>{const _0x31adf4=_0x3eb424;this[_0x31adf4(0x28f)]();}));}};_0xfecd41=_0x42bf14([_0x13e6f7(0x1,_0x5ee268['Inject'](_0x45fa2b[_0x1a9c4c(0x324)])),_0x13e6f7(0x2,_0x5ee268[_0x1a9c4c(0x4b4)](_0x48a722)),_0x13e6f7(0x3,_0x5ee268[_0x1a9c4c(0x386)]),_0x13e6f7(0x4,_0x5ee268[_0x1a9c4c(0x4b4)](_0x5ee268[_0x1a9c4c(0x1e2)]))],_0xfecd41);const _0x59b52e=0x1,_0x690f44=1.5;class _0x2d8667 extends _0x454685[_0x1a9c4c(0x588)]{constructor(_0xe10cef,_0x294465){const _0x4c7508=_0x1a9c4c;super(_0xe10cef,_0x294465),_0x1328f6(this,_0x4c7508(0x235)),_0x1328f6(this,_0x4c7508(0x577),!0x1),_0x1328f6(this,'_range'),_0x1328f6(this,_0x4c7508(0x35f),''),_0x1328f6(this,'_labelPosition',_0x4c7508(0x478)),_0x1328f6(this,_0x4c7508(0x3d5)),(_0x294465&&this[_0x4c7508(0x562)](_0x294465),this[_0x4c7508(0x210)][_0x4c7508(0x2eb)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x4c7508(0x395)]['subscribeEvent'](()=>this[_0x4c7508(0x562)]({'hovered':!0x1})));}[_0x1a9c4c(0x562)](_0x5c4862){const _0x503b6f=_0x1a9c4c;var _0x17b9c1,_0x5df4bc,_0x40dd37,_0x1d4f61,_0x2662c0,_0xe9f0d3;this[_0x503b6f(0x235)]=(_0x17b9c1=_0x5c4862[_0x503b6f(0x456)])!=null?_0x17b9c1:this[_0x503b6f(0x235)],this[_0x503b6f(0x577)]=(_0x5df4bc=_0x5c4862[_0x503b6f(0x40b)])!=null?_0x5df4bc:this[_0x503b6f(0x577)],this[_0x503b6f(0x2a3)]=(_0x40dd37=_0x5c4862['range'])!=null?_0x40dd37:this[_0x503b6f(0x2a3)],this[_0x503b6f(0x35f)]=(_0x1d4f61=_0x5c4862[_0x503b6f(0x32b)])!=null?_0x1d4f61:this[_0x503b6f(0x35f)],this['_labelPosition']=(_0x2662c0=_0x5c4862[_0x503b6f(0x5c7)])!=null?_0x2662c0:this['_labelPosition'],this['_backgroundColor']=(_0xe9f0d3=_0x5c4862['backgroundColor'])!=null?_0xe9f0d3:this[_0x503b6f(0x3d5)],this['transformByState']({'width':_0x5c4862[_0x503b6f(0x228)],'height':_0x5c4862[_0x503b6f(0x4a5)]});}[_0x1a9c4c(0x576)](_0x1417d5){const _0x53d523=_0x1a9c4c,{row:_0x34e550,column:_0x19d646}=_0x1417d5;if(_0x34e550>=this[_0x53d523(0x2a3)][_0x53d523(0x50e)]&&_0x34e550<=this['_range'][_0x53d523(0x3d8)]&&_0x19d646>=this[_0x53d523(0x2a3)][_0x53d523(0x476)]&&_0x19d646<=this[_0x53d523(0x2a3)]['endColumn']){this[_0x53d523(0x562)]({'hovered':!0x0});return;}this[_0x53d523(0x562)]({'hovered':!0x1});}[_0x1a9c4c(0x33a)](_0x7cc880){return!0x1;}[_0x1a9c4c(0x3b5)](_0x17fc68){const _0x5474ef=_0x1a9c4c;_0x454685['Rect'][_0x5474ef(0x23c)](_0x17fc68,{'width':this[_0x5474ef(0x228)],'height':this[_0x5474ef(0x4a5)],'strokeWidth':_0x690f44,'stroke':this[_0x5474ef(0x235)],'evented':!0x1,'fill':this[_0x5474ef(0x3d5)]}),this[_0x5474ef(0x577)]&&(_0x17fc68[_0x5474ef(0x401)](),_0x17fc68['transform'](0x1,0x0,0x0,0x1,this[_0x5474ef(0x228)],this['_labelPosition']===_0x5474ef(0x41c)?0x0:-_0x7126f0),_0x201b68[_0x5474ef(0x23c)](_0x17fc68,{'text':this[_0x5474ef(0x35f)],'color':this['_color']}),_0x17fc68[_0x5474ef(0x33e)]());}}var _0x275ce3=Object[_0x1a9c4c(0x340)],_0xb6252b=Object['getOwnPropertyDescriptor'],_0x70a7=(_0x3a2462,_0x2308a6,_0x2bc455,_0x35e35b)=>{const _0x536a95=_0x1a9c4c;for(var _0x5a1226=_0x35e35b>0x1?void 0x0:_0x35e35b?_0xb6252b(_0x2308a6,_0x2bc455):_0x2308a6,_0x5adcef=_0x3a2462[_0x536a95(0x4d8)]-0x1,_0x1b1047;_0x5adcef>=0x0;_0x5adcef--)(_0x1b1047=_0x3a2462[_0x5adcef])&&(_0x5a1226=(_0x35e35b?_0x1b1047(_0x2308a6,_0x2bc455,_0x5a1226):_0x1b1047(_0x5a1226))||_0x5a1226);return _0x35e35b&&_0x5a1226&&_0x275ce3(_0x2308a6,_0x2bc455,_0x5a1226),_0x5a1226;},_0x19c675=(_0x19f2c9,_0x1342ed)=>(_0x132309,_0x5daa49)=>_0x1342ed(_0x132309,_0x5daa49,_0x19f2c9);const _0x3dedf1=0x1389;let _0x173209=class extends _0x5ee268['RxDisposable']{constructor(_0x4db5bd,_0x3e5bf3,_0x426f7f,_0x39d42b){const _0x4390f7=_0x1a9c4c;super(),_0x1328f6(this,'_cursors',new Set()),_0x1328f6(this,'_lastPointer',null),(this[_0x4390f7(0x1de)]=_0x4db5bd,this[_0x4390f7(0x5ad)]=_0x3e5bf3,this[_0x4390f7(0x59a)]=_0x426f7f,this[_0x4390f7(0x591)]=_0x39d42b,this['_init']());}[_0x1a9c4c(0x38a)](){const _0x44239d=_0x1a9c4c;this[_0x44239d(0x5ad)][_0x44239d(0x1e5)][_0x44239d(0x246)](_0x2b56b2[_0x44239d(0x1da)](this[_0x44239d(0x1f6)]),_0x2b56b2[_0x44239d(0x370)](_0x47b3b8=>{const _0x271986=_0x44239d;if(_0x47b3b8){const _0x234e86=_0x47b3b8[_0x271986(0x224)];return _0x56990c['combineLatest'](this[_0x271986(0x59a)][_0x271986(0x5b5)](this['_context'][_0x271986(0x22b)]),this['_themeService'][_0x271986(0x1be)])[_0x271986(0x246)](_0x2b56b2['map'](([_0x353f28,_0x3e1ec5])=>{const _0x14b3c3=_0x271986,_0x35aab6=new Map();return _0x353f28[_0x14b3c3(0x506)]((_0x569e84,_0x3119e7)=>{const _0x47cb1e=_0x14b3c3;if(_0x569e84[_0x47cb1e(0x346)]===_0x234e86){const _0xaf43cb={..._0x569e84};_0xaf43cb[_0x47cb1e(0x456)]=_0x3e1ec5[_0x569e84[_0x47cb1e(0x456)]],_0x35aab6[_0x47cb1e(0x26c)](_0x3119e7,_0xaf43cb);}}),{'skeleton':_0x47b3b8,'cursors':_0x35aab6};}));}return _0x56990c['of']({'skeleton':null,'cursors':new Map()});}))[_0x44239d(0x3a7)](({skeleton:_0x396f6e,cursors:_0x215dc8})=>{const _0x30fd9a=_0x44239d;this[_0x30fd9a(0x387)](),_0x396f6e&&this[_0x30fd9a(0x4a8)](_0x396f6e,_0x215dc8);}),this['_sheetSkeletonManagerService'][_0x44239d(0x1e5)]['subscribe'](_0xe76af1=>{const _0x2606e4=_0x44239d;if(_0xe76af1==null)return;const {skeleton:_0x5ce906}=_0xe76af1,{scene:_0x3b95d2}=this[_0x2606e4(0x1de)];_0x3b95d2[_0x2606e4(0x574)][_0x2606e4(0x2eb)](_0x5ee268[_0x2606e4(0x4da)](_0x5330a1=>{const _0x347433=_0x2606e4;var _0x268733,_0x2060b0;const {offsetX:_0x5ee101,offsetY:_0x361d8b}=_0x5330a1,{x:_0x418fc0,y:_0x66d948}=_0x3b95d2[_0x347433(0x519)](_0x454685[_0x347433(0x4f6)][_0x347433(0x3c0)]([_0x5ee101,_0x361d8b])),{scaleX:_0x260e07,scaleY:_0x407ad3}=_0x3b95d2[_0x347433(0x46f)](),_0x3eec5b=_0x3b95d2[_0x347433(0x4f9)](_0x2f74a8['VIEWPORT_KEY'][_0x347433(0x2c3)]),_0x7ef636=_0x3b95d2['getVpScrollXYInfoByPosToVp'](_0x454685[_0x347433(0x4f6)][_0x347433(0x3c0)]([_0x418fc0,_0x66d948]),_0x3eec5b),_0x5ac671=_0x5ce906[_0x347433(0x52e)](_0x5ee101,_0x361d8b,_0x260e07,_0x407ad3,_0x7ef636);((_0x268733=this[_0x347433(0x427)])==null?void 0x0:_0x268733[_0x347433(0x3dd)])===_0x5ac671[_0x347433(0x3dd)]&&((_0x2060b0=this['_lastPointer'])==null?void 0x0:_0x2060b0['row'])===_0x5ac671[_0x347433(0x23e)]||this[_0x347433(0x352)][_0x347433(0x506)](_0x4e53a2=>{const _0x3cafc6=_0x347433;_0x4e53a2[_0x3cafc6(0x576)](_0x5ac671);});},0x64));});}[_0x1a9c4c(0x4a8)](_0x3e2685,_0x22070b){const _0x55f6a4=_0x1a9c4c;var _0x2165a9;const _0x2e58bc=(_0x2165a9=this['_sheetSkeletonManagerService'][_0x55f6a4(0x268)]())==null?void 0x0:_0x2165a9[_0x55f6a4(0x50f)];if(!_0x2e58bc)return;const _0x21ade9=this[_0x55f6a4(0x528)]();if(!_0x21ade9)return;this['_cursors'][_0x55f6a4(0x506)](_0x4851ad=>{const _0x37ecbd=_0x55f6a4;_0x4851ad[_0x37ecbd(0x49f)]();});const {scene:_0x2fd327}=_0x21ade9,_0x6b30f3=_0x4fe750(Array[_0x55f6a4(0x20a)](_0x22070b[_0x55f6a4(0x376)]()))[_0x55f6a4(0x42f)](_0x597008=>{const _0x1d56b9=_0x55f6a4,{color:_0x268f0e,range:_0x43356a,name:_0x26312e,selection:_0xf03618,sheetID:_0x38c6b4}=_0x597008,{startColumn:_0x14a4f5,startRow:_0x23339e,endColumn:_0x3f6725,endRow:_0x407789}=_0x43356a,_0x10a877=_0x2f74a8[_0x1d56b9(0x2d5)](_0x23339e,_0x14a4f5,_0x2fd327,_0x2e58bc),_0x848467=_0x2f74a8['getCoordByCell'](_0x407789,_0x3f6725,_0x2fd327,_0x2e58bc),{columnHeaderHeightAndMarginTop:_0x2a67cc}=_0x2e58bc,{startX:_0x14ae2b,startY:_0x1ee23f}=_0x10a877,{endX:_0x197f9b,endY:_0x1a4e85}=_0x848467,_0x3d1a26=_0x197f9b-_0x14ae2b,_0x44d422=_0x1a4e85-_0x1ee23f,_0x368640={'labelPosition':_0x1ee23f-_0x2a67cc>=_0x7126f0?'top':_0x1d56b9(0x41c),'sheetID':_0x38c6b4,'range':_0x43356a,'color':_0x268f0e,'name':_0x26312e,'selection':_0xf03618,'left':_0x14ae2b,'top':_0x1ee23f,'width':_0x3d1a26,'height':_0x44d422,'evented':!0x1,'zIndex':_0x3dedf1};return new _0x2d8667(_0x26312e,_0x368640);});_0x2fd327['addObjects'](_0x6b30f3,_0x59b52e),this[_0x55f6a4(0x352)]=new Set(_0x6b30f3);}['_removeCollabCursors'](){const _0x49d90c=_0x1a9c4c;var _0x911b00;(_0x911b00=this[_0x49d90c(0x352)])==null||_0x911b00[_0x49d90c(0x506)](_0x38617e=>_0x38617e[_0x49d90c(0x214)]());}[_0x1a9c4c(0x528)](){const _0x506007=_0x1a9c4c;return _0x2f74a8[_0x506007(0x3e6)](this[_0x506007(0x1de)][_0x506007(0x21e)],this['_context']);}};_0x173209=_0x70a7([_0x19c675(0x1,_0x5ee268[_0x1a9c4c(0x4b4)](_0x2f74a8['SheetSkeletonManagerService'])),_0x19c675(0x2,_0x5ee268[_0x1a9c4c(0x4b4)](_0x48a722)),_0x19c675(0x3,_0x5ee268[_0x1a9c4c(0x4b4)](_0x5ee268[_0x1a9c4c(0x1e2)]))],_0x173209);function _0x4fe750(_0x1e7aa9){const _0x14038d=_0x1a9c4c,_0x4fc82e=new Map();return _0x1e7aa9[_0x14038d(0x506)](_0x172b0f=>{const _0x3c3e39=_0x14038d;if(_0x4fc82e[_0x3c3e39(0x252)](_0x172b0f[_0x3c3e39(0x2aa)])){const _0x2e554e=_0x4fc82e[_0x3c3e39(0x54d)](_0x172b0f[_0x3c3e39(0x2aa)]);_0x2e554e[_0x3c3e39(0x32b)]+=',\x20'+_0x172b0f[_0x3c3e39(0x32b)];}else _0x4fc82e[_0x3c3e39(0x26c)](_0x172b0f['selection'],_0x172b0f);}),Array['from'](_0x4fc82e[_0x14038d(0x376)]());}var _0x5955f5=function(){const _0x4054b8=_0x1a9c4c;return _0x5955f5=Object[_0x4054b8(0x51e)]||function(_0x526287){const _0x15212b=_0x4054b8;for(var _0x13234c,_0x3d6455=0x1,_0x4a4cc2=arguments[_0x15212b(0x4d8)];_0x3d6455<_0x4a4cc2;_0x3d6455++){_0x13234c=arguments[_0x3d6455];for(var _0x5cde75 in _0x13234c)Object[_0x15212b(0x2c0)][_0x15212b(0x444)][_0x15212b(0x451)](_0x13234c,_0x5cde75)&&(_0x526287[_0x5cde75]=_0x13234c[_0x5cde75]);}return _0x526287;},_0x5955f5[_0x4054b8(0x1d0)](this,arguments);},_0x407855=function(_0x5eb89d,_0x5976bd){const _0x5edad9=_0x1a9c4c;var _0x3f4c6f={};for(var _0x3f9012 in _0x5eb89d)Object[_0x5edad9(0x2c0)][_0x5edad9(0x444)]['call'](_0x5eb89d,_0x3f9012)&&_0x5976bd[_0x5edad9(0x533)](_0x3f9012)<0x0&&(_0x3f4c6f[_0x3f9012]=_0x5eb89d[_0x3f9012]);if(_0x5eb89d!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x29a0a6=0x0,_0x3f9012=Object[_0x5edad9(0x28e)](_0x5eb89d);_0x29a0a6<_0x3f9012['length'];_0x29a0a6++)_0x5976bd[_0x5edad9(0x533)](_0x3f9012[_0x29a0a6])<0x0&&Object[_0x5edad9(0x2c0)][_0x5edad9(0x260)][_0x5edad9(0x451)](_0x5eb89d,_0x3f9012[_0x29a0a6])&&(_0x3f4c6f[_0x3f9012[_0x29a0a6]]=_0x5eb89d[_0x3f9012[_0x29a0a6]]);}return _0x3f4c6f;},_0x318dac=_0x1d8717[_0x1a9c4c(0x5b9)](function(_0x11746f,_0x4fd34b){const _0x5caedb=_0x1a9c4c;var _0x5703bc=_0x11746f[_0x5caedb(0x5bc)],_0x26b875=_0x11746f['id'],_0x2063e4=_0x11746f[_0x5caedb(0x404)],_0x36c19e=_0x11746f[_0x5caedb(0x5c2)],_0x514240=_0x407855(_0x11746f,[_0x5caedb(0x5bc),'id',_0x5caedb(0x404),_0x5caedb(0x5c2)]),_0x4ec6a0=_0x5caedb(0x3ee)['concat'](_0x26b875,'\x20')[_0x5caedb(0x1ad)](_0x2063e4||'')[_0x5caedb(0x334)](),_0x256161=_0x1d8717['useRef']('_'[_0x5caedb(0x1ad)](_0x22f4d0()));return _0x139867(_0x5703bc,''[_0x5caedb(0x1ad)](_0x26b875),{'defIds':_0x5703bc[_0x5caedb(0x482)],'idSuffix':_0x256161[_0x5caedb(0x40e)]},_0x5955f5({'ref':_0x4fd34b,'className':_0x4ec6a0},_0x514240),_0x36c19e);});function _0x139867(_0xeb9e9c,_0x6c92da,_0xc220fb,_0x52eeb8,_0x138618){const _0x3974bf=_0x1a9c4c;return _0x1d8717[_0x3974bf(0x204)](_0xeb9e9c[_0x3974bf(0x595)],_0x5955f5(_0x5955f5({'key':_0x6c92da},_0x4488cf(_0xeb9e9c,_0xc220fb,_0x138618)),_0x52eeb8),(_0x5bccf2(_0xeb9e9c,_0xc220fb)[_0x3974bf(0x504)]||[])[_0x3974bf(0x42f)](function(_0x204db6,_0x7d56bd){const _0x55bec9=_0x3974bf;return _0x139867(_0x204db6,''['concat'](_0x6c92da,'-')[_0x55bec9(0x1ad)](_0xeb9e9c[_0x55bec9(0x595)],'-')[_0x55bec9(0x1ad)](_0x7d56bd),_0xc220fb,void 0x0,_0x138618);}));}function _0x4488cf(_0x402927,_0x402607,_0x31737e){const _0x2178c7=_0x1a9c4c;var _0x15f2cc=_0x5955f5({},_0x402927['attrs']);_0x31737e!=null&&_0x31737e[_0x2178c7(0x366)]&&_0x15f2cc[_0x2178c7(0x31c)]===_0x2178c7(0x366)&&(_0x15f2cc[_0x2178c7(0x31c)]=_0x31737e['colorChannel1']);var _0x14b834=_0x402607[_0x2178c7(0x482)];return!_0x14b834||_0x14b834[_0x2178c7(0x4d8)]===0x0||(_0x402927[_0x2178c7(0x595)]===_0x2178c7(0x2bd)&&_0x15f2cc[_0x2178c7(0x4cc)]&&(_0x15f2cc[_0x2178c7(0x4cc)]=_0x15f2cc[_0x2178c7(0x4cc)]+_0x402607[_0x2178c7(0x400)]),Object[_0x2178c7(0x1c0)](_0x15f2cc)[_0x2178c7(0x506)](function(_0x745228){const _0x540c47=_0x2178c7;var _0x24b010=_0x745228[0x0],_0x4d5c64=_0x745228[0x1];typeof _0x4d5c64=='string'&&(_0x15f2cc[_0x24b010]=_0x4d5c64[_0x540c47(0x329)](/url\(#(.*)\)/,'url(#$1'[_0x540c47(0x1ad)](_0x402607[_0x540c47(0x400)],')')));})),_0x15f2cc;}function _0x5bccf2(_0x1298a6,_0x463dd8){const _0x289acc=_0x1a9c4c;var _0x15f6b3,_0x7f8dad=_0x463dd8[_0x289acc(0x482)];return!_0x7f8dad||_0x7f8dad['length']===0x0?_0x1298a6:_0x1298a6[_0x289acc(0x595)]===_0x289acc(0x263)&&(!((_0x15f6b3=_0x1298a6[_0x289acc(0x504)])===null||_0x15f6b3===void 0x0)&&_0x15f6b3[_0x289acc(0x4d8)])?_0x5955f5(_0x5955f5({},_0x1298a6),{'children':_0x1298a6['children'][_0x289acc(0x42f)](function(_0x31fc3a){const _0x4366ca=_0x289acc;return typeof _0x31fc3a['attrs']['id']==_0x4366ca(0x273)&&_0x7f8dad&&_0x7f8dad['indexOf'](_0x31fc3a[_0x4366ca(0x1c1)]['id'])>-0x1?_0x5955f5(_0x5955f5({},_0x31fc3a),{'attrs':_0x5955f5(_0x5955f5({},_0x31fc3a['attrs']),{'id':_0x31fc3a[_0x4366ca(0x1c1)]['id']+_0x463dd8[_0x4366ca(0x400)]})}):_0x31fc3a;})}):_0x1298a6;}function _0x22f4d0(){const _0x4eda7c=_0x1a9c4c;return Math[_0x4eda7c(0x582)]()['toString'](0x24)[_0x4eda7c(0x203)](0x2,0x8);}_0x318dac[_0x1a9c4c(0x483)]=_0x1a9c4c(0x585);var _0x511140={'tag':_0x1a9c4c(0x1cf),'attrs':{'fill':_0x1a9c4c(0x2bc),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x1a9c4c(0x3a9)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x1a9c4c(0x2cd),'attrs':{'stroke':_0x1a9c4c(0x481),'d':_0x1a9c4c(0x566),'strokeLinecap':'round','strokeLinejoin':_0x1a9c4c(0x2cc),'strokeWidth':1.2}}]},{'tag':_0x1a9c4c(0x263),'attrs':{},'children':[{'tag':_0x1a9c4c(0x44f),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x1a9c4c(0x2cd),'attrs':{'fill':'#fff','d':_0x1a9c4c(0x200)}}]}]}],'defIds':[_0x1a9c4c(0x31b)]},_0x364196=_0x1d8717['forwardRef'](function(_0x4d1709,_0x101903){const _0x43703a=_0x1a9c4c;return _0x1d8717[_0x43703a(0x204)](_0x318dac,Object[_0x43703a(0x51e)]({},_0x4d1709,{'id':'off-line-single','ref':_0x101903,'icon':_0x511140}));});_0x364196[_0x1a9c4c(0x483)]='OffLineSingle';var _0x82359a={'tag':_0x1a9c4c(0x1cf),'attrs':{'fill':_0x1a9c4c(0x2bc),'viewBox':'0\x200\x2017\x2016','width':_0x1a9c4c(0x3a9),'height':_0x1a9c4c(0x3a9)},'children':[{'tag':'g','attrs':{'clipPath':_0x1a9c4c(0x4d5)},'children':[{'tag':_0x1a9c4c(0x2cd),'attrs':{'stroke':_0x1a9c4c(0x481),'d':_0x1a9c4c(0x21d),'strokeLinecap':_0x1a9c4c(0x2cc),'strokeLinejoin':_0x1a9c4c(0x2cc),'strokeWidth':1.2}}]},{'tag':_0x1a9c4c(0x263),'attrs':{},'children':[{'tag':_0x1a9c4c(0x44f),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x1a9c4c(0x2cd),'attrs':{'fill':_0x1a9c4c(0x4d2),'d':_0x1a9c4c(0x200),'transform':'translate(.97)'}}]}]}],'defIds':[_0x1a9c4c(0x2fb)]},_0x18d982=_0x1d8717[_0x1a9c4c(0x5b9)](function(_0x192170,_0x321c5b){const _0xf5b8d5=_0x1a9c4c;return _0x1d8717[_0xf5b8d5(0x204)](_0x318dac,Object[_0xf5b8d5(0x51e)]({},_0x192170,{'id':_0xf5b8d5(0x2f4),'ref':_0x321c5b,'icon':_0x82359a}));});_0x18d982['displayName']='OnLineSingle';function _0xf236e5(_0x35fe4d){const _0x29e356=_0x1a9c4c;var _0x3674bc,_0x1981e3,_0x162cde='';if(typeof _0x35fe4d==_0x29e356(0x273)||typeof _0x35fe4d==_0x29e356(0x568))_0x162cde+=_0x35fe4d;else{if(typeof _0x35fe4d=='object'){if(Array[_0x29e356(0x5c9)](_0x35fe4d)){var _0x4e596e=_0x35fe4d[_0x29e356(0x4d8)];for(_0x3674bc=0x0;_0x3674bc<_0x4e596e;_0x3674bc++)_0x35fe4d[_0x3674bc]&&(_0x1981e3=_0xf236e5(_0x35fe4d[_0x3674bc]))&&(_0x162cde&&(_0x162cde+='\x20'),_0x162cde+=_0x1981e3);}else{for(_0x1981e3 in _0x35fe4d)_0x35fe4d[_0x1981e3]&&(_0x162cde&&(_0x162cde+='\x20'),_0x162cde+=_0x1981e3);}}}return _0x162cde;}function _0x528193(){const _0x23cfa4=_0x1a9c4c;for(var _0x3b086d,_0x5e4eb9,_0x1fa11c=0x0,_0x2e00b5='',_0x3f71d8=arguments[_0x23cfa4(0x4d8)];_0x1fa11c<_0x3f71d8;_0x1fa11c++)(_0x3b086d=arguments[_0x1fa11c])&&(_0x5e4eb9=_0xf236e5(_0x3b086d))&&(_0x2e00b5&&(_0x2e00b5+='\x20'),_0x2e00b5+=_0x5e4eb9);return _0x2e00b5;}const _0x164ef2={'onlineStatusIcon':_0x1a9c4c(0x259),'onlineStatusTitle':'univer-online-status-title','onlineStatus':_0x1a9c4c(0x20e),'online':_0x1a9c4c(0x2af),'offline':_0x1a9c4c(0x2d2)};function _0x58ad57(_0x792f6b){const _0xd56221=_0x1a9c4c;switch(_0x792f6b){case _0x319e47['OFFLINE']:return _0xd56221(0x240);case _0x319e47[_0xd56221(0x596)]:return _0xd56221(0x5b0);case _0x319e47[_0xd56221(0x242)]:return _0xd56221(0x5c6);case _0x319e47[_0xd56221(0x48e)]:return _0xd56221(0x3f3);case _0x319e47[_0xd56221(0x50b)]:case _0x319e47[_0xd56221(0x56d)]:case _0x319e47['AWAITING_WITH_PENDING']:return _0xd56221(0x5a7);case _0x319e47['SYNCED']:return _0xd56221(0x31f);}}function _0x2e8601(_0xe65675){const _0x4e5537=_0x1a9c4c,{status$:_0x6a7033}=_0xe65675,_0x13d771=_0x56f90f[_0x4e5537(0x563)](_0x6a7033,_0x319e47[_0x4e5537(0x48e)]),_0x43305b=_0x5ee268[_0x4e5537(0x2fe)](_0x5ee268['LocaleService']),_0x2e30e9=_0x5ee268[_0x4e5537(0x2fe)](_0x19f7dc[_0x4e5537(0x569)]),_0xcf1999=_0x13d771!==_0x319e47[_0x4e5537(0x304)],_0x2e1b6a=_0x43305b['t'](_0x58ad57(_0x13d771)),_0x165dcc=_0x528193(_0x164ef2[_0x4e5537(0x3c4)],{[_0x164ef2[_0x4e5537(0x302)]]:_0xcf1999,[_0x164ef2[_0x4e5537(0x57c)]]:!_0xcf1999}),_0x89bebf=_0xcf1999?_0x1d8717[_0x4e5537(0x204)](_0x18d982,null):_0x1d8717[_0x4e5537(0x204)](_0x364196,null),_0x3ea088=_0x1d8717[_0x4e5537(0x53e)](()=>{const _0x2d30ca=_0x4e5537;_0xcf1999||_0x2e30e9[_0x2d30ca(0x436)]();},[_0xcf1999,_0x2e30e9]);function _0x53e708(){const _0x343067=_0x4e5537;return _0x1d8717[_0x343067(0x204)](_0x343067(0x3ea),{'className':_0x165dcc,'onClick':_0x3ea088},_0x1d8717[_0x343067(0x204)](_0x343067(0x3ea),{'className':_0x164ef2[_0x343067(0x503)]},_0x89bebf),_0x1d8717['createElement'](_0x343067(0x3ea),{'className':_0x164ef2[_0x343067(0x40f)]},_0x2e1b6a));}return _0xcf1999?_0x53e708():_0x1d8717[_0x4e5537(0x204)](_0x2e321b[_0x4e5537(0x293)],{'title':_0x43305b['t'](_0x4e5537(0x21f))},_0x53e708());}var _0x106162=Object[_0x1a9c4c(0x340)],_0x29b3ae=Object[_0x1a9c4c(0x541)],_0xe7fec7=(_0x13f39d,_0x49c213,_0x5a9a89,_0x290e23)=>{for(var _0x31e29f=_0x290e23>0x1?void 0x0:_0x290e23?_0x29b3ae(_0x49c213,_0x5a9a89):_0x49c213,_0x28fff2=_0x13f39d['length']-0x1,_0x598b66;_0x28fff2>=0x0;_0x28fff2--)(_0x598b66=_0x13f39d[_0x28fff2])&&(_0x31e29f=(_0x290e23?_0x598b66(_0x49c213,_0x5a9a89,_0x31e29f):_0x598b66(_0x31e29f))||_0x31e29f);return _0x290e23&&_0x31e29f&&_0x106162(_0x49c213,_0x5a9a89,_0x31e29f),_0x31e29f;},_0x55ae22=(_0x3b7e8e,_0x742fc1)=>(_0x5e053c,_0x4508ed)=>_0x742fc1(_0x5e053c,_0x4508ed,_0x3b7e8e);_0x19f7dc[_0x1a9c4c(0x4de)]=class extends _0x5ee268[_0x1a9c4c(0x238)]{constructor(_0x44519f,_0x299252,_0x164c3a,_0x1e3f69){const _0x3b631e=_0x1a9c4c;super(),_0x1328f6(this,_0x3b631e(0x4c0),new _0x56990c[(_0x3b631e(0x3d3))](_0x319e47[_0x3b631e(0x48e)])),(this[_0x3b631e(0x535)]=_0x44519f,this['_uiPartsService']=_0x299252,this[_0x3b631e(0x474)]=_0x164c3a,this['_collaborationController']=_0x1e3f69,this['_initStatusComponent'](),this[_0x3b631e(0x52a)]());}[_0x1a9c4c(0x52a)](){const _0x112387=_0x1a9c4c;this[_0x112387(0x337)](this[_0x112387(0x535)]['focused$'][_0x112387(0x246)](_0x56990c[_0x112387(0x370)](()=>{const _0x407877=_0x112387,_0x54f03d=this['_univerInstanceService'][_0x407877(0x1b2)]();return _0x54f03d?this[_0x407877(0x1e0)][_0x407877(0x3fd)](_0x54f03d['getUnitId']()):_0x56990c['of'](null);}),_0x56990c[_0x112387(0x370)](_0x4a7057=>_0x4a7057?_0x4a7057[_0x112387(0x501)]:_0x56990c['of'](_0x319e47[_0x112387(0x48e)])))[_0x112387(0x3a7)](_0x4e6a97=>{this['_status$']['next'](_0x4e6a97);}));}[_0x1a9c4c(0x58c)](){const _0x57e31b=_0x1a9c4c;this['disposeWithMe'](this[_0x57e31b(0x2ec)][_0x57e31b(0x570)](_0x56f90f[_0x57e31b(0x369)]['HEADER_MENU'],()=>_0x5ee268[_0x57e31b(0x344)](_0x54540a({'status$':this[_0x57e31b(0x4c0)][_0x57e31b(0x560)]()}),this[_0x57e31b(0x474)])));}},_0x19f7dc[_0x1a9c4c(0x4de)]=_0xe7fec7([_0x55ae22(0x0,_0x5ee268[_0x1a9c4c(0x39a)]),_0x55ae22(0x1,_0x56f90f['IUIPartsService']),_0x55ae22(0x2,_0x5ee268[_0x1a9c4c(0x4b4)](_0x5ee268[_0x1a9c4c(0x418)])),_0x55ae22(0x3,_0x5ee268['Inject'](_0x19f7dc[_0x1a9c4c(0x554)]))],_0x19f7dc[_0x1a9c4c(0x4de)]);function _0x54540a(_0xefd01c){const {status$:_0x446aef}=_0xefd01c;return function(){const _0x36ec7a=_0x2a06;return _0x1d8717[_0x36ec7a(0x204)](_0x2e8601,{'status$':_0x446aef});};}const _0x1be3ae=_0x5ee268['createIdentifier'](_0x1a9c4c(0x58d));var _0x50b324=Object['defineProperty'],_0x116167=Object[_0x1a9c4c(0x541)],_0xe1536d=(_0x2ee16d,_0x1e7cd6,_0x376210,_0x5f3479)=>{const _0x2589ef=_0x1a9c4c;for(var _0x2b6b88=_0x5f3479>0x1?void 0x0:_0x5f3479?_0x116167(_0x1e7cd6,_0x376210):_0x1e7cd6,_0x51bbac=_0x2ee16d[_0x2589ef(0x4d8)]-0x1,_0x21726f;_0x51bbac>=0x0;_0x51bbac--)(_0x21726f=_0x2ee16d[_0x51bbac])&&(_0x2b6b88=(_0x5f3479?_0x21726f(_0x1e7cd6,_0x376210,_0x2b6b88):_0x21726f(_0x2b6b88))||_0x2b6b88);return _0x5f3479&&_0x2b6b88&&_0x50b324(_0x1e7cd6,_0x376210,_0x2b6b88),_0x2b6b88;},_0x294f5d=(_0xcb1eab,_0x4c1b7e)=>(_0x403075,_0x55f133)=>_0x4c1b7e(_0x403075,_0x55f133,_0xcb1eab);_0x19f7dc[_0x1a9c4c(0x36e)]=class extends _0x5ee268['RxDisposable']{constructor(_0x3d44a6,_0x25afe5,_0x8cd1c4,_0x1480e6,_0x33aa16,_0x509d00){const _0x129411=_0x1a9c4c;super(),this['_urlService']=_0x3d44a6,this[_0x129411(0x2a9)]=_0x25afe5,this[_0x129411(0x48d)]=_0x8cd1c4,this[_0x129411(0x55e)]=_0x1480e6,this[_0x129411(0x1fe)]=_0x33aa16,_0x509d00?_0x509d00==null||_0x509d00['whenReady']()[_0x129411(0x29c)](()=>this[_0x129411(0x38a)]()):(this[_0x129411(0x2a9)][_0x129411(0x2d3)](_0x129411(0x1c4),_0x129411(0x5a8)),this[_0x129411(0x38a)]());}async[_0x1a9c4c(0x38a)](){const _0x368aed=_0x1a9c4c,_0x3bd546=this['_urlService'][_0x368aed(0x37c)](_0x368aed(0x21e)),_0x20a99a=this[_0x368aed(0x4ba)][_0x368aed(0x37c)](_0x368aed(0x219));if(!_0x3bd546||!_0x20a99a){this[_0x368aed(0x2a9)][_0x368aed(0x2d3)](_0x368aed(0x1c4),_0x368aed(0x32c));return;}switch(Number(_0x20a99a)){case _0x69fde1[_0x368aed(0x498)]:{const _0x21c307=await this['_loadSheet'](_0x3bd546);this[_0x368aed(0x266)](_0x21c307);break;}case _0x69fde1[_0x368aed(0x1ec)]:{await this['_loadDoc'](_0x3bd546);break;}default:{this[_0x368aed(0x2a9)][_0x368aed(0x317)](_0x368aed(0x1c4),_0x368aed(0x590));break;}}}async[_0x1a9c4c(0x266)](_0x5a5d87){const _0x55ba20=_0x1a9c4c;await this[_0x55ba20(0x4c8)](_0x5a5d87),_0x5a5d87['activeSheet$']['pipe'](_0x56990c[_0x55ba20(0x1da)](this[_0x55ba20(0x1f6)]))[_0x55ba20(0x3a7)](_0x4e5006=>{const _0x33be0a=_0x55ba20;_0x4e5006&&this[_0x33be0a(0x5a1)](_0x4e5006);}),this[_0x55ba20(0x4ba)][_0x55ba20(0x499)][_0x55ba20(0x246)](_0x56990c[_0x55ba20(0x1da)](this[_0x55ba20(0x1f6)]))['subscribe'](()=>this[_0x55ba20(0x4c8)](_0x5a5d87));}[_0x1a9c4c(0x5a1)](_0x1e51c2,_0x38ccc9=!0x1){const _0x11f7a3=_0x1a9c4c,_0x3ac4a7=this['_urlService'][_0x11f7a3(0x37c)](_0x11f7a3(0x517));_0x1e51c2[_0x11f7a3(0x396)]()!==_0x3ac4a7&&this[_0x11f7a3(0x4ba)][_0x11f7a3(0x421)](_0x11f7a3(0x517),_0x1e51c2['getSheetId'](),_0x38ccc9);}async['_updateSubUnitFromURLParams'](_0x529c1b){const _0x31d60c=_0x1a9c4c;var _0x3de83d;const _0x395290=this[_0x31d60c(0x4ba)]['getParam'](_0x31d60c(0x517));if(!_0x395290||!_0x529c1b[_0x31d60c(0x265)](_0x395290)){const _0x1e72eb=_0x529c1b[_0x31d60c(0x23f)]()[0x0],_0x21e50e=_0x529c1b[_0x31d60c(0x265)](_0x1e72eb);if(!_0x21e50e)return;this['_updateURLWithCurrentState'](_0x21e50e,!0x0),await this[_0x31d60c(0x48d)][_0x31d60c(0x25f)](_0x149ec5[_0x31d60c(0x321)]['id'],{'unitId':_0x529c1b[_0x31d60c(0x4ef)](),'subUnitId':_0x1e72eb});return;}((_0x3de83d=_0x529c1b['getActiveSheet']())==null?void 0x0:_0x3de83d[_0x31d60c(0x396)]())!==_0x395290&&await this[_0x31d60c(0x48d)][_0x31d60c(0x25f)](_0x149ec5[_0x31d60c(0x321)]['id'],{'unitId':_0x529c1b['getUnitId'](),'subUnitId':_0x395290});}async[_0x1a9c4c(0x316)](_0x1cd1e5){const _0x514ebe=_0x1a9c4c;let _0x218818=0x0;const _0x325faf=await this['_localCacheService']['loadOfflineData'](_0x1cd1e5);return _0x325faf&&(_0x325faf[_0x514ebe(0x1bc)]||_0x325faf[_0x514ebe(0x234)]['length']!==0x0)&&(_0x218818=_0x325faf['rev']),_0x218818===0x0&&this['_logService']['debug']('[DataLoaderController]',_0x514ebe(0x578)),this['_snapshotService'][_0x514ebe(0x5ae)](_0x1cd1e5,_0x218818);}async[_0x1a9c4c(0x3b2)](_0x210ac5){const _0x51b167=_0x1a9c4c;let _0x15d6e2=0x0;const _0x258aa0=await this[_0x51b167(0x55e)][_0x51b167(0x2f8)](_0x210ac5);return _0x258aa0&&(_0x258aa0['awaitingChangeset']||_0x258aa0[_0x51b167(0x234)][_0x51b167(0x4d8)]!==0x0)&&(_0x15d6e2=_0x258aa0['rev']),_0x15d6e2===0x0&&this['_logService'][_0x51b167(0x2d3)]('[DataLoaderController]',_0x51b167(0x578)),this[_0x51b167(0x1fe)][_0x51b167(0x2a8)](_0x210ac5,_0x15d6e2);}},_0x19f7dc[_0x1a9c4c(0x36e)]=_0xe1536d([_0x294f5d(0x0,_0x1be3ae),_0x294f5d(0x1,_0x5ee268['ILogService']),_0x294f5d(0x2,_0x5ee268[_0x1a9c4c(0x386)]),_0x294f5d(0x3,_0x5ee268[_0x1a9c4c(0x4b4)](_0x19f7dc[_0x1a9c4c(0x59e)])),_0x294f5d(0x4,_0x5ee268['Inject'](_0x437f93[_0x1a9c4c(0x464)])),_0x294f5d(0x5,_0x5ee268['Optional'](_0x1f4649[_0x1a9c4c(0x446)]))],_0x19f7dc[_0x1a9c4c(0x36e)]);var _0xf96ef1=Object['defineProperty'],_0x47cf02=Object['getOwnPropertyDescriptor'],_0x2947b=(_0x4cde7f,_0x2e10a6,_0x5a0663,_0x5a6f76)=>{const _0x2c9b49=_0x1a9c4c;for(var _0x7e0840=_0x5a6f76>0x1?void 0x0:_0x5a6f76?_0x47cf02(_0x2e10a6,_0x5a0663):_0x2e10a6,_0x22d10d=_0x4cde7f[_0x2c9b49(0x4d8)]-0x1,_0x23ff3f;_0x22d10d>=0x0;_0x22d10d--)(_0x23ff3f=_0x4cde7f[_0x22d10d])&&(_0x7e0840=(_0x5a6f76?_0x23ff3f(_0x2e10a6,_0x5a0663,_0x7e0840):_0x23ff3f(_0x7e0840))||_0x7e0840);return _0x5a6f76&&_0x7e0840&&_0xf96ef1(_0x2e10a6,_0x5a0663,_0x7e0840),_0x7e0840;},_0x6f918a=(_0x451080,_0x5333ed)=>(_0xdac4a7,_0x2ce4f8)=>_0x5333ed(_0xdac4a7,_0x2ce4f8,_0x451080);const _0x3936c3=_0x1a9c4c(0x41d),_0x209f81='Univer';let _0x537d40=class extends _0x5ee268[_0x1a9c4c(0x238)]{constructor(_0x2148a2,_0x2df0fd){const _0x219964=_0x1a9c4c;super(),this['_univerInstanceService']=_0x2148a2,this[_0x219964(0x208)]=_0x2df0fd,this[_0x219964(0x38a)]();}[_0x1a9c4c(0x38a)](){const _0x21fb0c=_0x1a9c4c;this[_0x21fb0c(0x337)](this['_univerInstanceService']['focused$'][_0x21fb0c(0x3a7)](()=>{const _0xab3cdf=_0x21fb0c;var _0x4ea7e6;const _0x540363=this[_0xab3cdf(0x535)][_0xab3cdf(0x1b2)]();let _0x507a0b=(_0x4ea7e6=this[_0xab3cdf(0x208)][_0xab3cdf(0x3a6)](_0x3936c3))!=null?_0x4ea7e6:_0x209f81;_0x540363 instanceof _0x5ee268[_0xab3cdf(0x461)]&&(_0x507a0b=_0x540363['name']),document[_0xab3cdf(0x3dc)]=_0x507a0b;}));}};_0x537d40=_0x2947b([_0x6f918a(0x0,_0x5ee268['IUniverInstanceService']),_0x6f918a(0x1,_0x5ee268[_0x1a9c4c(0x422)])],_0x537d40);var _0x220feb=Object[_0x1a9c4c(0x340)],_0x7e7836=Object[_0x1a9c4c(0x541)],_0x30a8ce=(_0x51a880,_0x9116d3,_0xacc142,_0x4a771a)=>{const _0x3b2e69=_0x1a9c4c;for(var _0x303100=_0x4a771a>0x1?void 0x0:_0x4a771a?_0x7e7836(_0x9116d3,_0xacc142):_0x9116d3,_0x5d8983=_0x51a880[_0x3b2e69(0x4d8)]-0x1,_0x50557b;_0x5d8983>=0x0;_0x5d8983--)(_0x50557b=_0x51a880[_0x5d8983])&&(_0x303100=(_0x4a771a?_0x50557b(_0x9116d3,_0xacc142,_0x303100):_0x50557b(_0x303100))||_0x303100);return _0x4a771a&&_0x303100&&_0x220feb(_0x9116d3,_0xacc142,_0x303100),_0x303100;},_0x26e8dd=(_0x480e24,_0x189085)=>(_0x2c05bd,_0x51e8ab)=>_0x189085(_0x2c05bd,_0x51e8ab,_0x480e24);let _0x5a9cd1=class{constructor(_0x119670,_0x3279d4,_0x302d4f){const _0x17689a=_0x1a9c4c;this[_0x17689a(0x208)]=_0x119670,this[_0x17689a(0x449)]=_0x3279d4,this[_0x17689a(0x4f7)]=_0x302d4f,this[_0x17689a(0x206)]();}[_0x1a9c4c(0x206)](){const _0xd9b01f=_0x1a9c4c;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x2f59a8,_0x2247a3)=>_0x2247a3(_0x2f59a8)[_0xd9b01f(0x246)](_0x56990c[_0xd9b01f(0x530)](async _0x3a4e67=>{const _0x495d5a=_0xd9b01f,_0x37456d=_0x3a4e67;if(_0x37456d[_0x495d5a(0x227)]===0x191&&window[_0x495d5a(0x37f)](this['localeService']['t'](_0x495d5a(0x55d)))){const _0x571567=window[_0x495d5a(0x468)](window['location'][_0x495d5a(0x572)]);window[_0x495d5a(0x367)][_0x495d5a(0x572)]=this['_getLoginPath']()+_0x495d5a(0x388)+_0x571567;}return _0x37456d;}))});}[_0x1a9c4c(0x5c8)](){const _0x4dab82=_0x1a9c4c;var _0x21475e,_0x19128a;const _0x26392c=this['_configService'][_0x4dab82(0x3a6)](_0x2e60e8),_0x369124=this['_configService']['getConfig'](_0x17bae2);return(_0x19128a=(_0x21475e=_0x369124==null?void 0x0:_0x369124['loginUrlKey'])!=null?_0x21475e:_0x26392c)!=null?_0x19128a:_0x4847b7;}};_0x5a9cd1=_0x30a8ce([_0x26e8dd(0x0,_0x5ee268[_0x1a9c4c(0x422)]),_0x26e8dd(0x1,_0x5ee268[_0x1a9c4c(0x4b4)](_0x519640[_0x1a9c4c(0x544)])),_0x26e8dd(0x2,_0x5ee268[_0x1a9c4c(0x4b4)](_0x5ee268[_0x1a9c4c(0x25a)]))],_0x5a9cd1);var _0x119c0b=Object[_0x1a9c4c(0x340)],_0x8dcbd8=Object[_0x1a9c4c(0x541)],_0x31409e=(_0x534838,_0x551b75,_0x255f38,_0x3094da)=>{const _0x3581f5=_0x1a9c4c;for(var _0x4c64fb=_0x3094da>0x1?void 0x0:_0x3094da?_0x8dcbd8(_0x551b75,_0x255f38):_0x551b75,_0xd86008=_0x534838[_0x3581f5(0x4d8)]-0x1,_0x21f5cb;_0xd86008>=0x0;_0xd86008--)(_0x21f5cb=_0x534838[_0xd86008])&&(_0x4c64fb=(_0x3094da?_0x21f5cb(_0x551b75,_0x255f38,_0x4c64fb):_0x21f5cb(_0x4c64fb))||_0x4c64fb);return _0x3094da&&_0x4c64fb&&_0x119c0b(_0x551b75,_0x255f38,_0x4c64fb),_0x4c64fb;},_0x55a88d=(_0x1873aa,_0x1a85d9)=>(_0x309bb1,_0x315b65)=>_0x1a85d9(_0x309bb1,_0x315b65,_0x1873aa);const _0x33b45d='AUTHZ_URL_KEY',_0x516ec9=_0x1a9c4c(0x52d);_0x19f7dc[_0x1a9c4c(0x41f)]=class extends _0x5ee268[_0x1a9c4c(0x238)]{constructor(_0xac5e51,_0x4e0977){const _0x54e6bb=_0x1a9c4c;super(),this[_0x54e6bb(0x3b4)]=_0xac5e51,this[_0x54e6bb(0x208)]=_0x4e0977,this[_0x54e6bb(0x312)]();}[_0x1a9c4c(0x312)](){const _0x3d5fb9=_0x1a9c4c,_0x8e2f79=this;this[_0x3d5fb9(0x337)](this[_0x3d5fb9(0x3b4)][_0x3d5fb9(0x1b7)]({'priority':0x3e7,'interceptor':_0x519640[_0x3d5fb9(0x4e2)]({'isMatch'(_0x1250bc){const _0xced400=_0x3d5fb9;var _0x5f5d6f;if(_0x1250bc[_0xced400(0x4f4)]===_0xced400(0x3ef)&&((_0x5f5d6f=_0x1250bc[_0xced400(0x583)])!=null&&_0x5f5d6f['body'])){const {objectID:_0x426a4b,objectType:_0x1979b1}=_0x1250bc[_0xced400(0x583)][_0xced400(0x402)]||{};if(!_0x426a4b||_0x1979b1===void 0x0)return!0x1;const _0x3adb34=_0x8e2f79[_0xced400(0x2fa)]()+'/'+_0x1979b1+_0xced400(0x514)+_0x426a4b+_0xced400(0x1c2);if(_0x1250bc[_0xced400(0x2e5)]===_0x3adb34)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2d431b){const _0x47c0d1=_0x3d5fb9;var _0x4d0e40;return(_0x4d0e40=_0x2d431b[_0x47c0d1(0x583)])==null?void 0x0:_0x4d0e40['body'];},'mergeParamsToRequest'(_0x5bcec0,_0x1bba62){const _0x310a7a=_0x3d5fb9,_0x5bec82=_0x8e2f79[_0x310a7a(0x2fa)]()+_0x310a7a(0x231),_0x15e811=_0x5bcec0['reduce']((_0x5bdb44,_0x230897)=>{const _0x81fd78=_0x310a7a,{unitID:_0x1024ed,objectID:_0x17dc62,objectType:_0x589bea,actions:_0x29b627}=_0x230897;return _0x5bdb44[_0x1024ed]||(_0x5bdb44[_0x1024ed]={}),_0x5bdb44[_0x1024ed][_0x17dc62]||(_0x5bdb44[_0x1024ed][_0x17dc62]={'objectID':_0x17dc62,'objectType':_0x589bea,'actions':[]}),_0x5bdb44[_0x1024ed][_0x17dc62][_0x81fd78(0x51a)][_0x81fd78(0x2ee)](..._0x29b627),_0x5bdb44;},{}),_0x522076=[];for(const _0x2fc6bd in _0x15e811)for(const _0x854537 in _0x15e811[_0x2fc6bd]){const {actions:_0x31a215,objectType:_0x42ac1a}=_0x15e811[_0x2fc6bd][_0x854537],_0x3ec56c=[...new Set(_0x31a215)];_0x522076[_0x310a7a(0x2ee)]({'unitID':_0x2fc6bd,'objectID':_0x854537,'objectType':_0x42ac1a,'actions':_0x3ec56c});}return new _0x519640[(_0x310a7a(0x3a4))]('POST',_0x5bec82,{'headers':_0x1bba62['headers'],'withCredentials':_0x1bba62['withCredentials'],'responseType':_0x1bba62['responseType'],'body':{'requests':_0x522076}});}},{'distributeResult'(_0x5955ff,_0x5a9b8a){const {objectActions:_0x531074}=_0x5955ff;return _0x5a9b8a['map'](_0x20fabb=>{const _0x5f54ff=_0x2a06,{unitID:_0x364f24,objectID:_0x17a800,actions:_0x41fab8}=_0x20fabb,_0x3b4baa=_0x531074[_0x5f54ff(0x2bf)](_0x13caea=>_0x13caea['unitID']===_0x364f24&&_0x13caea[_0x5f54ff(0x4af)]===_0x17a800),_0x42fcf1=_0x41fab8[_0x5f54ff(0x42f)](_0xbf6cae=>_0x3b4baa==null?void 0x0:_0x3b4baa['actions'][_0x5f54ff(0x2bf)](_0x40789c=>_0x40789c[_0x5f54ff(0x5d1)]===_0xbf6cae))[_0x5f54ff(0x2a1)](_0x2fa564=>!!_0x2fa564);return{'config':_0x20fabb,'result':{'actions':_0x42fcf1,'error':_0x5955ff[_0x5f54ff(0x317)]}};});}})}));}[_0x1a9c4c(0x2fa)](){const _0x1d95e8=_0x1a9c4c;var _0x389065,_0x19b81f;const _0x33bcd4=this['_configService'][_0x1d95e8(0x3a6)](_0x33b45d),_0x132af1=this[_0x1d95e8(0x208)]['getConfig'](_0x17bae2);return(_0x19b81f=(_0x389065=_0x132af1==null?void 0x0:_0x132af1['authzUrl'])!=null?_0x389065:_0x33bcd4)!=null?_0x19b81f:_0x516ec9;}async[_0x1a9c4c(0x4a6)](_0x2fede0){const _0x3148aa=_0x1a9c4c,_0x26124b=this['_getAPIPrefixPath']()+'/'+_0x2fede0['objectType']+'/object';return(await this[_0x3148aa(0x3b4)][_0x3148aa(0x4f8)](_0x26124b,{'body':_0x2fede0}))[_0x3148aa(0x402)][_0x3148aa(0x4af)]||'';}async[_0x1a9c4c(0x201)](_0x2eb74f){const _0x4e9eaa=_0x1a9c4c,_0x566e8c=this['_getAPIPrefixPath']()+'/-/object/list';return(await this['_HTTPService'][_0x4e9eaa(0x4f8)](_0x566e8c,{'body':_0x2eb74f}))[_0x4e9eaa(0x402)][_0x4e9eaa(0x3f1)];}async[_0x1a9c4c(0x439)](_0xa7efba){const _0xa53360=_0x1a9c4c,_0x4bd4fb=this[_0xa53360(0x2fa)]()+'/'+_0xa7efba[_0xa53360(0x5b2)]+_0xa53360(0x514)+_0xa7efba[_0xa53360(0x4af)];await this[_0xa53360(0x3b4)]['put'](_0x4bd4fb,{'body':_0xa7efba});}async['allowed'](_0x45daea){const _0x130c4d=_0x1a9c4c,_0x199223=this['_getAPIPrefixPath']()+'/'+_0x45daea[_0x130c4d(0x5b2)]+'/object/'+_0x45daea['objectID']+_0x130c4d(0x1c2);return(await this['_HTTPService'][_0x130c4d(0x4f8)](_0x199223,{'body':_0x45daea}))['body'][_0x130c4d(0x51a)];}async[_0x1a9c4c(0x1e1)](_0x24795e){const _0xacaef9=_0x1a9c4c,_0x4854a8=this[_0xacaef9(0x2fa)]()+_0xacaef9(0x231);return(await this[_0xacaef9(0x3b4)][_0xacaef9(0x4f8)](_0x4854a8,{'body':{'requests':_0x24795e}}))[_0xacaef9(0x402)]['objectActions'];}async[_0x1a9c4c(0x1dc)](_0x1a8cfe){const _0x564d34=_0x1a9c4c,_0xb3fe95=this[_0x564d34(0x2fa)]()+'/'+_0x1a8cfe['objectType']+'/role',_0x3a3b7e=await this[_0x564d34(0x3b4)][_0x564d34(0x4f8)](_0xb3fe95,{'body':_0x1a8cfe});return{'roles':_0x3a3b7e[_0x564d34(0x402)][_0x564d34(0x410)],'actions':_0x3a3b7e[_0x564d34(0x402)][_0x564d34(0x51a)]};}async[_0x1a9c4c(0x4b8)](_0x296fc5){const _0x115720=_0x1a9c4c,_0x27719c=this[_0x115720(0x2fa)]()+_0x115720(0x1b1);await this['_HTTPService']['delete'](_0x27719c,{'params':{'collaboratorID':_0x296fc5['collaboratorID'],'objectID':_0x296fc5['objectID'],'unitID':_0x296fc5[_0x115720(0x447)]}});}async[_0x1a9c4c(0x1f9)](_0x63a7f6){const _0x1b3c95=_0x1a9c4c,_0x2e9bee=this[_0x1b3c95(0x2fa)]()+_0x1b3c95(0x1b1);await this[_0x1b3c95(0x3b4)][_0x1b3c95(0x594)](_0x2e9bee,{'body':_0x63a7f6});}async[_0x1a9c4c(0x4a9)](_0x792cdf){const _0x2efb8b=_0x1a9c4c,_0x3da970=this[_0x2efb8b(0x2fa)]()+_0x2efb8b(0x1b1);await this[_0x2efb8b(0x3b4)][_0x2efb8b(0x4f8)](_0x3da970,{'body':_0x792cdf});}async[_0x1a9c4c(0x573)](_0x2a0e9a){const _0x5b3873=_0x1a9c4c,_0x55363f=this[_0x5b3873(0x2fa)]()+_0x5b3873(0x1b1);return(await this[_0x5b3873(0x3b4)][_0x5b3873(0x54d)](_0x55363f,{'params':{'objectID':_0x2a0e9a[_0x5b3873(0x4af)],'unitID':_0x2a0e9a['unitID']}}))['body']['collaborators'];}async['putCollaborators'](_0xe57ec4){const _0x41bcd3=_0x1a9c4c,_0x413f9b=this[_0x41bcd3(0x2fa)]()+_0x41bcd3(0x1b1);await this[_0x41bcd3(0x3b4)]['put'](_0x413f9b,{'body':_0xe57ec4});}},_0x19f7dc[_0x1a9c4c(0x41f)]=_0x31409e([_0x55a88d(0x0,_0x5ee268[_0x1a9c4c(0x4b4)](_0x519640['HTTPService'])),_0x55a88d(0x1,_0x5ee268[_0x1a9c4c(0x4b4)](_0x5ee268[_0x1a9c4c(0x422)]))],_0x19f7dc[_0x1a9c4c(0x41f)]);var _0x48b4f4=Object[_0x1a9c4c(0x340)],_0x327ac5=Object[_0x1a9c4c(0x541)],_0x164a54=(_0x50080a,_0x4a19d3,_0x4ae1be,_0x4b0830)=>{for(var _0x6ed883=_0x4b0830>0x1?void 0x0:_0x4b0830?_0x327ac5(_0x4a19d3,_0x4ae1be):_0x4a19d3,_0x275c38=_0x50080a['length']-0x1,_0x1c9d33;_0x275c38>=0x0;_0x275c38--)(_0x1c9d33=_0x50080a[_0x275c38])&&(_0x6ed883=(_0x4b0830?_0x1c9d33(_0x4a19d3,_0x4ae1be,_0x6ed883):_0x1c9d33(_0x6ed883))||_0x6ed883);return _0x4b0830&&_0x6ed883&&_0x48b4f4(_0x4a19d3,_0x4ae1be,_0x6ed883),_0x6ed883;},_0x556b96=(_0x3d3cb9,_0x2eb618)=>(_0x2d66ff,_0x24376b)=>_0x2eb618(_0x2d66ff,_0x24376b,_0x3d3cb9);let _0x50ec40=class{constructor(_0x4a385a){const _0x585348=_0x1a9c4c;this[_0x585348(0x449)]=_0x4a385a,this[_0x585348(0x3a8)]();}['_initRequestHeader'](){const _0x41e9b8=_0x1a9c4c;this['_httpService'][_0x41e9b8(0x1b7)]({'interceptor':(_0x353854,_0x42b3f5)=>{const _0x26cba9=_0x41e9b8,_0x170d84=_0x353854[_0x26cba9(0x3eb)],_0x5c0088=_0x28eb5f['getAttachHeader']();return _0x5c0088&&_0x170d84[_0x26cba9(0x26c)](_0x26cba9(0x52b),_0x5c0088),_0x42b3f5(_0x353854);}});}};_0x50ec40=_0x164a54([_0x556b96(0x0,_0x5ee268[_0x1a9c4c(0x4b4)](_0x519640[_0x1a9c4c(0x544)]))],_0x50ec40);var _0x1bce75=Object[_0x1a9c4c(0x340)],_0x5cf1cb=Object[_0x1a9c4c(0x541)],_0x42c872=(_0x5cfa39,_0x23d8cb,_0x35dd3c,_0x2fffea)=>{const _0x1fc144=_0x1a9c4c;for(var _0x581e71=_0x2fffea>0x1?void 0x0:_0x2fffea?_0x5cf1cb(_0x23d8cb,_0x35dd3c):_0x23d8cb,_0x5ffa1=_0x5cfa39[_0x1fc144(0x4d8)]-0x1,_0x431fba;_0x5ffa1>=0x0;_0x5ffa1--)(_0x431fba=_0x5cfa39[_0x5ffa1])&&(_0x581e71=(_0x2fffea?_0x431fba(_0x23d8cb,_0x35dd3c,_0x581e71):_0x431fba(_0x581e71))||_0x581e71);return _0x2fffea&&_0x581e71&&_0x1bce75(_0x23d8cb,_0x35dd3c,_0x581e71),_0x581e71;},_0x59f173=(_0x23114a,_0x5637c6)=>(_0x347b9f,_0x5de5af)=>_0x5637c6(_0x347b9f,_0x5de5af,_0x23114a);const _0x416a2a=['image/png',_0x1a9c4c(0x348),'image/jpg',_0x1a9c4c(0x49e),_0x1a9c4c(0x247)],_0x3b0751=0x5*0x400*0x400,_0x564547=_0x1a9c4c(0x309),_0x5960d6=_0x1a9c4c(0x279),_0x461efd=_0x1a9c4c(0x3fb),_0x4bb223=_0x1a9c4c(0x24a);_0x19f7dc[_0x1a9c4c(0x347)]=class{constructor(_0x549761,_0x168786,_0xd096b5){const _0x5f4911=_0x1a9c4c;_0x1328f6(this,_0x5f4911(0x2d8),0x0),_0x1328f6(this,'_change$',new _0x56990c[(_0x5f4911(0x3be))]()),_0x1328f6(this,'change$',this[_0x5f4911(0x1e4)]),_0x1328f6(this,_0x5f4911(0x2d0),new Map()),(this[_0x5f4911(0x449)]=_0x549761,this['_configService']=_0x168786,this[_0x5f4911(0x535)]=_0xd096b5);}[_0x1a9c4c(0x4d7)](_0x154088){const _0x1abfc4=_0x1a9c4c;this[_0x1abfc4(0x2d8)]=_0x154088,this[_0x1abfc4(0x1e4)][_0x1abfc4(0x42d)](_0x154088);}[_0x1a9c4c(0x5b7)](_0x3207d3,_0x4897a5){const _0x368c92=_0x1a9c4c;if(_0x4897a5===_0x10f0dc[_0x368c92(0x32d)]['BASE64']){const _0x22216f=new Image();return _0x22216f[_0x368c92(0x5b8)]=_0x3207d3,_0x22216f;}return this[_0x368c92(0x2d0)]['get'](_0x3207d3);}['addImageSourceCache'](_0xe29d06,_0x5eabe4,_0xc5f4f2){const _0x331581=_0x1a9c4c;_0x5eabe4===_0x10f0dc['ImageSourceType'][_0x331581(0x3bd)]||_0xc5f4f2==null||this[_0x331581(0x2d0)][_0x331581(0x26c)](_0xe29d06,_0xc5f4f2);}async[_0x1a9c4c(0x207)](_0x41854b){const _0x1af809=_0x1a9c4c;try{const _0x17a5de=this[_0x1af809(0x58e)](this[_0x1af809(0x3a0)](),''+_0x41854b),_0x5a151e=(await this[_0x1af809(0x449)][_0x1af809(0x54d)](_0x17a5de))[_0x1af809(0x402)];if(_0x5a151e[_0x1af809(0x317)]&&_0x5a151e[_0x1af809(0x317)][_0x1af809(0x38e)]===_0x4ac219['OK']){const _0x3bb33e=new URL(_0x5a151e[_0x1af809(0x2e5)],this[_0x1af809(0x4e7)]())['toString']();return Promise[_0x1af809(0x2b4)](_0x3bb33e);}return Promise[_0x1af809(0x1c6)](_0x5a151e['error']);}catch(_0x589ebd){return Promise[_0x1af809(0x1c6)](_0x589ebd);}}async['saveImage'](_0x7b84c6){const _0x3a96b5=_0x1a9c4c;let _0x65755f='';if(!_0x416a2a[_0x3a96b5(0x1d1)](_0x7b84c6[_0x3a96b5(0x219)]))return this[_0x3a96b5(0x553)](),Promise[_0x3a96b5(0x1c6)](new Error(_0x10f0dc[_0x3a96b5(0x269)][_0x3a96b5(0x21b)]));if(_0x7b84c6[_0x3a96b5(0x3ce)]>_0x3b0751)return this[_0x3a96b5(0x553)](),Promise['reject'](new Error(_0x10f0dc['ImageUploadStatusType'][_0x3a96b5(0x489)]));try{const _0x25a12b=new FormData();_0x25a12b['append'](_0x3a96b5(0x4b7),_0x7b84c6);const _0x133f8a=this[_0x3a96b5(0x535)][_0x3a96b5(0x1b2)](),_0x346a22=_0x133f8a==null?void 0x0:_0x133f8a['getUnitId']();if(!_0x346a22)throw new Error(_0x3a96b5(0x589));const _0x796d73=this[_0x3a96b5(0x495)]()+_0x3a96b5(0x325)+_0x7b84c6[_0x3a96b5(0x3ce)]['toString']()+'&source='+_0x15145c['UnitEmbedded']+_0x3a96b5(0x290)+encodeURIComponent(_0x346a22),_0x734830=await(await fetch(_0x796d73,{'method':_0x3a96b5(0x3ef),'body':_0x25a12b}))[_0x3a96b5(0x1d5)]();if(typeof _0x734830[_0x3a96b5(0x2ad)]!=_0x3a96b5(0x273))return this['_decreaseWaiting'](),Promise[_0x3a96b5(0x1c6)](new Error(_0x10f0dc[_0x3a96b5(0x269)]['ERROR_IMAGE']));_0x65755f=_0x734830[_0x3a96b5(0x2ad)];}catch{return this[_0x3a96b5(0x553)](),Promise[_0x3a96b5(0x1c6)](new Error(_0x10f0dc[_0x3a96b5(0x269)][_0x3a96b5(0x354)]));}return new Promise((_0x1a154e,_0x784a75)=>{const _0x37d4e7=_0x3a96b5,_0x1f8e4e=new FileReader();_0x1f8e4e[_0x37d4e7(0x538)](_0x7b84c6),_0x1f8e4e[_0x37d4e7(0x55f)]=_0x16d114=>{const _0x4bda20=_0x37d4e7;var _0x5496a6;const _0x4e9ed2=(_0x5496a6=_0x16d114[_0x4bda20(0x45f)])==null?void 0x0:_0x5496a6[_0x4bda20(0x56f)];if(_0x4e9ed2==null){this[_0x4bda20(0x553)](),_0x784a75(new Error(_0x10f0dc[_0x4bda20(0x269)]['ERROR_IMAGE']));return;}const _0x32d3c9=_0x5ee268[_0x4bda20(0x277)][_0x4bda20(0x58b)](0x6);_0x1a154e({'imageId':_0x32d3c9,'imageSourceType':_0x10f0dc[_0x4bda20(0x32d)][_0x4bda20(0x34c)],'source':_0x65755f,'base64Cache':_0x4e9ed2,'status':_0x10f0dc['ImageUploadStatusType'][_0x4bda20(0x28a)]}),this[_0x4bda20(0x553)]();};});}['_getUploadFileURL'](){const _0xba4569=_0x1a9c4c;var _0x85b39d,_0x359190;const _0x4f4457=this[_0xba4569(0x208)][_0xba4569(0x3a6)](_0x564547),_0x3a7c10=this['_configService'][_0xba4569(0x3a6)](_0x17bae2);return(_0x359190=(_0x85b39d=_0x3a7c10==null?void 0x0:_0x3a7c10[_0xba4569(0x2d9)])!=null?_0x85b39d:_0x4f4457)!=null?_0x359190:_0x5960d6;}[_0x1a9c4c(0x3a0)](){const _0x23144c=_0x1a9c4c;var _0x32101d,_0x4a1500;const _0x1f69ca=this[_0x23144c(0x208)][_0x23144c(0x3a6)](_0x461efd),_0x1d32fe=this[_0x23144c(0x208)][_0x23144c(0x3a6)](_0x17bae2);return(_0x4a1500=(_0x32101d=_0x1d32fe==null?void 0x0:_0x1d32fe[_0x23144c(0x373)])!=null?_0x32101d:_0x1f69ca)!=null?_0x4a1500:_0x4bb223;}[_0x1a9c4c(0x4e7)](){const _0x1c7ec1=_0x1a9c4c;var _0x313b7e;const _0x305dee=this[_0x1c7ec1(0x208)][_0x1c7ec1(0x3a6)](_0x17bae2);return(_0x313b7e=_0x305dee==null?void 0x0:_0x305dee[_0x1c7ec1(0x592)])!=null?_0x313b7e:location['origin'];}[_0x1a9c4c(0x58e)](_0x809c52,_0x105452){const _0x2f13eb=_0x1a9c4c;return _0x809c52[_0x2f13eb(0x329)](_0x2f13eb(0x5c5),_0x105452);}['_decreaseWaiting'](){const _0x5950a7=_0x1a9c4c;this[_0x5950a7(0x2d8)]-=0x1,this[_0x5950a7(0x1e4)][_0x5950a7(0x42d)](this[_0x5950a7(0x2d8)]);}},_0x19f7dc[_0x1a9c4c(0x347)]=_0x42c872([_0x59f173(0x0,_0x5ee268[_0x1a9c4c(0x4b4)](_0x519640[_0x1a9c4c(0x544)])),_0x59f173(0x1,_0x5ee268[_0x1a9c4c(0x422)]),_0x59f173(0x2,_0x5ee268[_0x1a9c4c(0x4b4)](_0x5ee268['IUniverInstanceService']))],_0x19f7dc[_0x1a9c4c(0x347)]);var _0x858fd7=Object[_0x1a9c4c(0x340)],_0x587bfa=Object[_0x1a9c4c(0x541)],_0x5872c7=(_0x337d9c,_0x11b199,_0x49c785,_0x5542f)=>{const _0x4e5d9e=_0x1a9c4c;for(var _0x110e35=_0x5542f>0x1?void 0x0:_0x5542f?_0x587bfa(_0x11b199,_0x49c785):_0x11b199,_0x76d66=_0x337d9c[_0x4e5d9e(0x4d8)]-0x1,_0x57b41e;_0x76d66>=0x0;_0x76d66--)(_0x57b41e=_0x337d9c[_0x76d66])&&(_0x110e35=(_0x5542f?_0x57b41e(_0x11b199,_0x49c785,_0x110e35):_0x57b41e(_0x110e35))||_0x110e35);return _0x5542f&&_0x110e35&&_0x858fd7(_0x11b199,_0x49c785,_0x110e35),_0x110e35;},_0x249bae=(_0x380a0e,_0x4e389b)=>(_0x565cb3,_0x5b186d)=>_0x4e389b(_0x565cb3,_0x5b186d,_0x380a0e);let _0x5b2f3d=class extends _0x5ee268[_0x1a9c4c(0x4b2)]{constructor(_0x3223fb,_0x4297dd,_0x45c229,_0x176f4c,_0x9a8437){const _0x1e605f=_0x1a9c4c;super(),this[_0x1e605f(0x474)]=_0x3223fb,this[_0x1e605f(0x535)]=_0x4297dd,this[_0x1e605f(0x285)]=_0x45c229,this['_collaborationSessionService']=_0x176f4c,this[_0x1e605f(0x243)]=_0x9a8437,this[_0x1e605f(0x3b9)](),this[_0x1e605f(0x494)]();}[_0x1a9c4c(0x494)](){const _0x3dee13=_0x1a9c4c,_0x2c9823=async _0x74b1cf=>{const _0x3df89e=_0x2a06;(await this[_0x3df89e(0x49b)][_0x3df89e(0x43f)](_0x74b1cf))[_0x3df89e(0x540)][_0x3df89e(0x246)](_0x2b56b2[_0x3df89e(0x2a1)](_0x320542=>_0x320542[_0x3df89e(0x3f9)]===_0x437f93[_0x3df89e(0x2c5)]['SHOULD_CLOSE_CONN']),_0x2b56b2[_0x3df89e(0x1da)](this[_0x3df89e(0x1f6)]))[_0x3df89e(0x3a7)](_0x1a333a=>{const _0x39552d=_0x3df89e,_0x2bb6e5=_0x1a333a,{reason:_0x1cc881}=_0x2bb6e5['data'];this['_injector'][_0x39552d(0x54d)](_0x56f90f[_0x39552d(0x2cb)])[_0x39552d(0x1c3)]({'type':_0x2e321b[_0x39552d(0x1db)][_0x39552d(0x423)],'content':this['_localeService']['t'](_0x39552d(0x24f))+'('+_0x1cc881+')'}),this[_0x39552d(0x285)][_0x39552d(0x222)](new _0x149ec5[(_0x39552d(0x264))](_0x74b1cf)['id'],!0x1),this[_0x39552d(0x49b)][_0x39552d(0x43c)](_0x74b1cf);});};_0x56990c[_0x3dee13(0x1fd)](this[_0x3dee13(0x535)]['getTypeOfUnitAdded$'](_0x5ee268[_0x3dee13(0x2f7)][_0x3dee13(0x498)]),this[_0x3dee13(0x535)][_0x3dee13(0x2bb)](_0x5ee268[_0x3dee13(0x2f7)][_0x3dee13(0x1ec)]))[_0x3dee13(0x246)](_0x2b56b2[_0x3dee13(0x42f)](_0x2fd810=>_0x2fd810[_0x3dee13(0x4ef)]()),_0x2b56b2[_0x3dee13(0x2a1)](_0x41f743=>!_0x5ee268[_0x3dee13(0x4a7)](_0x41f743)),_0x2b56b2[_0x3dee13(0x1da)](this[_0x3dee13(0x1f6)]))[_0x3dee13(0x3a7)](_0x1ee99b=>{_0x2c9823(_0x1ee99b);});}[_0x1a9c4c(0x3b9)](){const _0x5e39eb=_0x1a9c4c,_0x3fd041=async _0x501d76=>{const _0x56b79f=_0x2a06;(await this[_0x56b79f(0x49b)]['requireSession'](_0x501d76))[_0x56b79f(0x540)][_0x56b79f(0x246)](_0x2b56b2[_0x56b79f(0x2a1)](_0x2fe87c=>_0x2fe87c[_0x56b79f(0x3f9)]===_0x437f93['CollaborationEvent'][_0x56b79f(0x54e)]),_0x2b56b2['takeUntil'](this[_0x56b79f(0x1f6)]))[_0x56b79f(0x3a7)](_0x142837=>{const _0xd6d35e=_0x56b79f,_0x63f74f=_0x142837,{objectId:_0x10f6df}=_0x63f74f[_0xd6d35e(0x5ac)],_0x4f60b2=this[_0xd6d35e(0x474)][_0xd6d35e(0x54d)](_0x2f74a8[_0xd6d35e(0x3d9)]);_0x10f6df===_0x501d76?_0x4f60b2[_0xd6d35e(0x351)](_0x501d76):_0x4f60b2[_0xd6d35e(0x564)](_0x501d76,_0x10f6df);});};_0x56990c[_0x5e39eb(0x1fd)](this['_univerInstanceService'][_0x5e39eb(0x2bb)](_0x5ee268[_0x5e39eb(0x2f7)]['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x5ee268['UniverInstanceType'][_0x5e39eb(0x1ec)]))[_0x5e39eb(0x246)](_0x2b56b2[_0x5e39eb(0x42f)](_0x5d0d99=>_0x5d0d99[_0x5e39eb(0x4ef)]()),_0x2b56b2[_0x5e39eb(0x2a1)](_0x2fc761=>!_0x5ee268[_0x5e39eb(0x4a7)](_0x2fc761)),_0x2b56b2[_0x5e39eb(0x1da)](this[_0x5e39eb(0x1f6)]))[_0x5e39eb(0x3a7)](_0x30bb01=>{_0x3fd041(_0x30bb01);});}};_0x5b2f3d=_0x5872c7([_0x249bae(0x0,_0x5ee268['Inject'](_0x5ee268[_0x1a9c4c(0x418)])),_0x249bae(0x1,_0x5ee268[_0x1a9c4c(0x39a)]),_0x249bae(0x2,_0x5ee268[_0x1a9c4c(0x443)]),_0x249bae(0x3,_0x5ee268[_0x1a9c4c(0x4b4)](_0x19f7dc[_0x1a9c4c(0x569)])),_0x249bae(0x4,_0x5ee268[_0x1a9c4c(0x4b4)](_0x5ee268[_0x1a9c4c(0x25a)]))],_0x5b2f3d);var _0x510e38=Object[_0x1a9c4c(0x340)],_0x52385d=Object[_0x1a9c4c(0x541)],_0x45b2a9=(_0x35dbfc,_0x19b1b3,_0x1755d6,_0x17807f)=>{const _0x91c3c0=_0x1a9c4c;for(var _0x4f825c=_0x17807f>0x1?void 0x0:_0x17807f?_0x52385d(_0x19b1b3,_0x1755d6):_0x19b1b3,_0x55e599=_0x35dbfc[_0x91c3c0(0x4d8)]-0x1,_0x7fce98;_0x55e599>=0x0;_0x55e599--)(_0x7fce98=_0x35dbfc[_0x55e599])&&(_0x4f825c=(_0x17807f?_0x7fce98(_0x19b1b3,_0x1755d6,_0x4f825c):_0x7fce98(_0x4f825c))||_0x4f825c);return _0x17807f&&_0x4f825c&&_0x510e38(_0x19b1b3,_0x1755d6,_0x4f825c),_0x4f825c;},_0x2fccc7=(_0x3df7b2,_0x11520b)=>(_0x1afbbf,_0x232714)=>_0x11520b(_0x1afbbf,_0x232714,_0x3df7b2);_0x19f7dc[_0x1a9c4c(0x57a)]=class{constructor(_0x314a81,_0x42c5d4){const _0x19a1b0=_0x1a9c4c;this['_configService']=_0x314a81,this[_0x19a1b0(0x449)]=_0x42c5d4;}async[_0x1a9c4c(0x41b)](_0x41c9b4,_0x16425f){const _0x44e40a=_0x1a9c4c;var _0x1f2ac5;const {unitID:_0xfed237,type:_0x132dcf,revision:_0x5959e1=0x0}=_0x16425f,_0x3a4f89=this[_0x44e40a(0x3ca)]()+'/'+_0x132dcf+_0x44e40a(0x584)+_0xfed237+_0x44e40a(0x4a4)+_0x5959e1,_0x3d784c=(await this['_httpService']['get'](_0x3a4f89))[_0x44e40a(0x402)],_0x2aa486=(_0x1f2ac5=_0x3d784c[_0x44e40a(0x57d)])==null?void 0x0:_0x1f2ac5[_0x44e40a(0x52c)];if(_0x2aa486){const _0x3b76b2=_0x2aa486==null?void 0x0:_0x2aa486[_0x44e40a(0x261)],_0x453658=_0x437f93[_0x44e40a(0x575)]['encode'](_0x437f93[_0x44e40a(0x1d7)](_0x3b76b2));_0x2aa486[_0x44e40a(0x261)]=_0x453658,Object['entries'](_0x2aa486[_0x44e40a(0x4d3)])[_0x44e40a(0x506)](([,_0xfc28ca])=>{const _0x2dd108=_0x44e40a,_0x46cf14=_0xfc28ca[_0x2dd108(0x261)],_0x559c7c=_0x437f93['textEncoder']['encode'](_0x437f93['b64DecodeUnicode'](_0x46cf14));_0xfc28ca[_0x2dd108(0x261)]=_0x559c7c;});}return _0x3d784c;}async[_0x1a9c4c(0x1cc)](_0x3189b5,_0x79f363){const _0x34c350=_0x1a9c4c,{unitID:_0x1d2ecf,type:_0x32a783,blockID:_0x29eaba}=_0x79f363,_0x27e832=this['_getAPIPrefix']()+'/'+_0x32a783+_0x34c350(0x584)+_0x1d2ecf+_0x34c350(0x441)+_0x29eaba;return(await this['_httpService'][_0x34c350(0x54d)](_0x27e832))[_0x34c350(0x402)];}async['getDeserializedSheetBlock'](_0x545629,_0x4e0ae9){const _0x5a8d88=_0x1a9c4c,{unitID:_0x210f22,type:_0x3a5a31,blockID:_0x21bfd1}=_0x4e0ae9,_0x2933b8=this['_getAPIPrefix']()+'/block/'+_0x3a5a31+_0x5a8d88(0x584)+_0x210f22+_0x5a8d88(0x441)+_0x21bfd1;return(await this[_0x5a8d88(0x449)][_0x5a8d88(0x54d)](_0x2933b8))[_0x5a8d88(0x402)];}async[_0x1a9c4c(0x28c)](_0x48cb66,_0x254596){const _0x3de155=_0x1a9c4c,{unitID:_0x49e440,type:_0x2d1456,from:_0x41f771,to:_0x4335d5}=_0x254596,_0x21cfaa=this['_getAPIPrefix']()+'/'+_0x2d1456+_0x3de155(0x584)+_0x49e440+'/fetchmissing?from='+_0x41f771+_0x3de155(0x4a2)+_0x4335d5;return(await this[_0x3de155(0x449)][_0x3de155(0x54d)](_0x21cfaa))[_0x3de155(0x402)];}[_0x1a9c4c(0x3ca)](){const _0xac94fa=_0x1a9c4c;var _0x3f9ea8;return(_0x3f9ea8=this[_0xac94fa(0x208)][_0xac94fa(0x3a6)](_0x496fb6))!=null?_0x3f9ea8:this[_0xac94fa(0x30f)]();}[_0x1a9c4c(0x30f)](){const _0xa18c92=_0x1a9c4c;var _0x1df657,_0x2083c6;const _0x44c0c4=this['_configService'][_0xa18c92(0x3a6)](_0x8e4b39),_0x20eb9d=this[_0xa18c92(0x208)][_0xa18c92(0x3a6)](_0x17bae2);return(_0x2083c6=(_0x1df657=_0x20eb9d==null?void 0x0:_0x20eb9d[_0xa18c92(0x2f9)])!=null?_0x1df657:_0x44c0c4)!=null?_0x2083c6:_0x549ccb;}async[_0x1a9c4c(0x37b)](_0x1ccdb7,_0x432d4b){const _0x51576b=_0x1a9c4c,_0x10ea85=_0x51576b(0x433)+_0x432d4b[_0x51576b(0x219)]+_0x51576b(0x584)+_0x432d4b[_0x51576b(0x447)]+'/resources';return(await this['_httpService'][_0x51576b(0x54d)](_0x10ea85,{'params':{'resourceId':JSON[_0x51576b(0x301)](_0x432d4b['resourceIDs'])}}))[_0x51576b(0x402)];}[_0x1a9c4c(0x48c)](){const _0x2e22fb=_0x1a9c4c;throw new Error(_0x2e22fb(0x311));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1a9c4c(0x3ac)](){const _0x269200=_0x1a9c4c;throw new Error(_0x269200(0x311));}},_0x19f7dc[_0x1a9c4c(0x57a)]=_0x45b2a9([_0x2fccc7(0x0,_0x5ee268[_0x1a9c4c(0x422)]),_0x2fccc7(0x1,_0x5ee268[_0x1a9c4c(0x4b4)](_0x519640[_0x1a9c4c(0x544)]))],_0x19f7dc[_0x1a9c4c(0x57a)]);var _0x31ad34=Object[_0x1a9c4c(0x340)],_0x4d5af1=Object[_0x1a9c4c(0x541)],_0x571c93=(_0x1bc21b,_0x156c6f,_0x1baa1a,_0x5e6038)=>{const _0x17cb09=_0x1a9c4c;for(var _0x3778df=_0x5e6038>0x1?void 0x0:_0x5e6038?_0x4d5af1(_0x156c6f,_0x1baa1a):_0x156c6f,_0x15f642=_0x1bc21b[_0x17cb09(0x4d8)]-0x1,_0x188042;_0x15f642>=0x0;_0x15f642--)(_0x188042=_0x1bc21b[_0x15f642])&&(_0x3778df=(_0x5e6038?_0x188042(_0x156c6f,_0x1baa1a,_0x3778df):_0x188042(_0x3778df))||_0x3778df);return _0x5e6038&&_0x3778df&&_0x31ad34(_0x156c6f,_0x1baa1a,_0x3778df),_0x3778df;},_0x46c394=(_0x111f3f,_0x5a9ca6)=>(_0xebe18e,_0x3482d)=>_0x5a9ca6(_0xebe18e,_0x3482d,_0x111f3f);let _0x2bea9a=class extends _0x5ee268[_0x1a9c4c(0x3b8)]{constructor(_0x2394c6,_0x801de4,_0xb1a9ab,_0x28f89e,_0x304649){const _0xaa024d=_0x1a9c4c;super(_0x2394c6,_0x801de4,_0xb1a9ab),this[_0xaa024d(0x2df)]=_0x28f89e,this[_0xaa024d(0x2a9)]=_0x304649;}[_0x1a9c4c(0x1eb)](_0x4201ba,_0x50c00c){const _0x363583=_0x1a9c4c,_0x39c2a4=this['_getUndoStack'](_0x4201ba);if(_0x39c2a4)try{const _0x2af467=this[_0x363583(0x525)](_0x39c2a4,_0x50c00c);this[_0x363583(0x37a)](_0x4201ba,_0x2af467);}catch(_0x2cae0e){this[_0x363583(0x2a9)][_0x363583(0x317)](_0x363583(0x2c7),_0x2cae0e),this[_0x363583(0x43b)](_0x4201ba);}const _0x105f3d=this[_0x363583(0x2e6)](_0x4201ba);if(_0x105f3d)try{const _0xffc40c=this[_0x363583(0x525)](_0x105f3d,_0x50c00c);this[_0x363583(0x2e0)](_0x4201ba,_0xffc40c);}catch(_0x417c83){this[_0x363583(0x2a9)][_0x363583(0x317)](_0x417c83),this[_0x363583(0x54f)](_0x4201ba);}}['_clearUndo'](_0x104e88){const _0x485c06=_0x1a9c4c,_0x2d1989=this[_0x485c06(0x380)](_0x104e88);_0x2d1989&&(_0x2d1989['length']=0x0,this['_updateStatus']());}[_0x1a9c4c(0x54f)](_0x336347){const _0x2072e9=_0x1a9c4c,_0xfa5342=this[_0x2072e9(0x2e6)](_0x336347);_0xfa5342&&(_0xfa5342[_0x2072e9(0x4d8)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x2bcd76,_0x5cc494){const _0x5e2e5b=_0x1a9c4c;this['_undoStacks'][_0x5e2e5b(0x26c)](_0x2bcd76,_0x5cc494),this[_0x5e2e5b(0x28b)]();}['_substituteRedoStack'](_0x13a4ab,_0x56cb23){const _0x2ca270=_0x1a9c4c;this[_0x2ca270(0x440)][_0x2ca270(0x26c)](_0x13a4ab,_0x56cb23),this[_0x2ca270(0x28b)]();}[_0x1a9c4c(0x525)](_0x3a7bc5,_0x59b42e){const _0x29497e=_0x1a9c4c,_0x44cbad=[];let _0xd14426=_0x59b42e,_0x17e89f=_0x59b42e;for(let _0x11da87=_0x3a7bc5['length']-0x1;_0x11da87>=0x0;_0x11da87--){const {unitID:_0x44bf3d,undoMutations:_0x54c307,redoMutations:_0x534725}=_0x3a7bc5[_0x11da87],_0x2bca62=this[_0x29497e(0x2df)][_0x29497e(0x250)](_0xd14426,_0x54c307),_0x45158f=this[_0x29497e(0x2df)][_0x29497e(0x250)](_0x17e89f,_0x534725);if(_0x437f93[_0x29497e(0x229)](_0x2bca62)||_0x437f93['isTransformMutationsWithChangesetFailure'](_0x45158f)){this[_0x29497e(0x2a9)]['error'](_0x29497e(0x2c7),'transformStack\x20failed!',_0x2bca62,_0x45158f);break;}_0xd14426=_0x2bca62['c1Prime'],_0x17e89f=_0x45158f['c1Prime'],_0x44cbad['push']({'unitID':_0x44bf3d,'undoMutations':_0x2bca62['m2Prime'],'redoMutations':_0x45158f[_0x29497e(0x2b9)]});}return _0x44cbad[_0x29497e(0x22d)]();}};_0x2bea9a=_0x571c93([_0x46c394(0x0,_0x5ee268[_0x1a9c4c(0x39a)]),_0x46c394(0x1,_0x5ee268[_0x1a9c4c(0x386)]),_0x46c394(0x2,_0x5ee268[_0x1a9c4c(0x322)]),_0x46c394(0x3,_0x437f93[_0x1a9c4c(0x1c7)]),_0x46c394(0x4,_0x5ee268[_0x1a9c4c(0x2ff)])],_0x2bea9a);class _0x16c2fc extends _0x5ee268[_0x1a9c4c(0x4b2)]{constructor(){const _0x538bad=_0x1a9c4c;super(),_0x1328f6(this,_0x538bad(0x499)),this[_0x538bad(0x499)]=_0x56990c[_0x538bad(0x313)](window,_0x538bad(0x40d))[_0x538bad(0x246)](_0x56990c[_0x538bad(0x1da)](this[_0x538bad(0x1f6)]),_0x56990c[_0x538bad(0x54b)](0x1),_0x56990c[_0x538bad(0x23a)](void 0x0));}[_0x1a9c4c(0x421)](_0x1724a5,_0x146112,_0x1fc623=!0x1){const _0x3691fc=_0x1a9c4c,_0x44b576=new URL(window[_0x3691fc(0x367)][_0x3691fc(0x572)]);_0x44b576[_0x3691fc(0x43e)][_0x3691fc(0x26c)](_0x1724a5,_0x146112),_0x1fc623?window['history'][_0x3691fc(0x580)]('','',_0x44b576[_0x3691fc(0x2d7)]()):window['history']['pushState']('','',_0x44b576[_0x3691fc(0x2d7)]());}['removeParam'](_0x292351,_0x607492=!0x1){const _0x4c3baf=_0x1a9c4c,_0x54b1c6=new URL(window['location'][_0x4c3baf(0x572)]);_0x54b1c6['searchParams'][_0x4c3baf(0x1c8)](_0x292351),_0x607492?window[_0x4c3baf(0x1fa)][_0x4c3baf(0x580)]('','',_0x54b1c6[_0x4c3baf(0x2d7)]()):window[_0x4c3baf(0x1fa)]['pushState']('','',_0x54b1c6[_0x4c3baf(0x2d7)]());}[_0x1a9c4c(0x37c)](_0xa3717b){const _0x47a737=_0x1a9c4c;var _0x197686;return(_0x197686=new URL(window['location'][_0x47a737(0x572)])[_0x47a737(0x43e)]['get'](_0xa3717b))!=null?_0x197686:void 0x0;}}var _0x1f06d9=Object[_0x1a9c4c(0x340)],_0x18b01c=Object[_0x1a9c4c(0x541)],_0x1f1376=(_0x21da27,_0x525940,_0x1dee43)=>_0x525940 in _0x21da27?_0x1f06d9(_0x21da27,_0x525940,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1dee43}):_0x21da27[_0x525940]=_0x1dee43,_0xbb2645=(_0x1d7063,_0x1702cf,_0x43a321,_0x44cf2a)=>{const _0x168790=_0x1a9c4c;for(var _0x330576=_0x44cf2a>0x1?void 0x0:_0x44cf2a?_0x18b01c(_0x1702cf,_0x43a321):_0x1702cf,_0x28b20b=_0x1d7063[_0x168790(0x4d8)]-0x1,_0x5cafe2;_0x28b20b>=0x0;_0x28b20b--)(_0x5cafe2=_0x1d7063[_0x28b20b])&&(_0x330576=(_0x44cf2a?_0x5cafe2(_0x1702cf,_0x43a321,_0x330576):_0x5cafe2(_0x330576))||_0x330576);return _0x44cf2a&&_0x330576&&_0x1f06d9(_0x1702cf,_0x43a321,_0x330576),_0x330576;},_0x207f3c=(_0x23e884,_0x2fe42f)=>(_0x543e99,_0x6d0b5e)=>_0x2fe42f(_0x543e99,_0x6d0b5e,_0x23e884),_0x489880=(_0x2df14c,_0x2902cf,_0x38c66c)=>_0x1f1376(_0x2df14c,_0x2902cf+'',_0x38c66c);const _0x5329fc=_0x1a9c4c(0x241);_0x19f7dc[_0x1a9c4c(0x452)]=class extends _0x5ee268[_0x1a9c4c(0x202)]{constructor(_0x3ae42f=_0x552a85,_0x36cf9b,_0x272c3,_0x3095f1,_0xb6007b){const _0x449159=_0x1a9c4c;super(),this[_0x449159(0x597)]=_0x3ae42f,this['_logService']=_0x36cf9b,this[_0x449159(0x377)]=_0x272c3,this['_injector']=_0x3095f1,this[_0x449159(0x208)]=_0xb6007b;const {..._0x15f7e9}=this[_0x449159(0x597)];this[_0x449159(0x208)][_0x449159(0x319)](_0x17bae2,_0x15f7e9);}[_0x1a9c4c(0x598)](){const _0xc05d49=_0x1a9c4c;this[_0xc05d49(0x2a2)](),_0x5ee268[_0xc05d49(0x30e)](this[_0xc05d49(0x474)],[[_0x48a722],[_0x19f7dc[_0xc05d49(0x36e)]],[_0x5b2f3d]]);}[_0x1a9c4c(0x2a4)](){const _0x115919=_0x1a9c4c;_0x5ee268[_0x115919(0x30e)](this['_injector'],[[_0x537d40]]);}[_0x1a9c4c(0x4bf)](){const _0x4c90a6=_0x1a9c4c;this[_0x4c90a6(0x4a0)]();}[_0x1a9c4c(0x2a2)](){const _0x50dab2=_0x1a9c4c;var _0x5bf613,_0x1abf29,_0x3ce188,_0x46f477;this[_0x50dab2(0x474)][_0x50dab2(0x252)](_0x5ee268[_0x50dab2(0x493)])&&this[_0x50dab2(0x2a9)][_0x50dab2(0x317)](_0x50dab2(0x2b5),_0x50dab2(0x5ca));let _0x34e937=[[_0x5ee268[_0x50dab2(0x493)],{'useClass':_0x2bea9a}],[_0x19f7dc[_0x50dab2(0x569)]],[_0x94aa63],[_0x519640['HTTPService']],[_0x1be3ae,{'useClass':_0x16c2fc}],[_0xd4878c],[_0x19f7dc[_0x50dab2(0x59e)]],[_0x519640['WebSocketService']],[_0x41bd09],[_0x19e584],[_0x174d0a],[_0x3c54ae],[_0x5a9cd1],[_0x50ec40],[_0x37f911],[_0x5b2f3d],[_0x411a7c,{'useClass':(_0x1abf29=(_0x5bf613=this[_0x50dab2(0x597)])==null?void 0x0:_0x5bf613['socketService'])!=null?_0x1abf29:_0x19f7dc['CollaborationSocketService']}],[_0x519640[_0x50dab2(0x3e4)],{'useClass':_0x519640[_0x50dab2(0x2e9)]}],[_0x437f93[_0x50dab2(0x295)],{'useClass':_0x19f7dc[_0x50dab2(0x57a)]}],[_0x5ee268['IAuthzIoService'],{'useClass':_0x19f7dc[_0x50dab2(0x41f)]}],[_0x10f0dc[_0x50dab2(0x4e3)],{'useClass':_0x19f7dc[_0x50dab2(0x347)]}],[_0x19f7dc[_0x50dab2(0x554)]],[_0x19f7dc['DataLoaderController']],[_0x19f7dc[_0x50dab2(0x4de)]],[_0x537d40],[_0x48a722]];(_0x3ce188=this[_0x50dab2(0x597)])!=null&&_0x3ce188[_0x50dab2(0x529)]&&_0x34e937[_0x50dab2(0x2ee)]([_0x2c4a47,{'useClass':_0x3f784d}]),_0x34e937=_0x5ee268['mergeOverrideWithDependencies'](_0x34e937,(_0x46f477=this[_0x50dab2(0x597)])==null?void 0x0:_0x46f477[_0x50dab2(0x306)]),_0x34e937[_0x50dab2(0x506)](_0x3a0674=>this['_injector']['add'](_0x3a0674)),this[_0x50dab2(0x4c3)]();}[_0x1a9c4c(0x4a0)](){const _0x4ee305=_0x1a9c4c;this[_0x4ee305(0x337)](this[_0x4ee305(0x377)][_0x4ee305(0x3ab)](_0x5ee268[_0x4ee305(0x2f7)]['UNIVER_DOC'],[_0xfecd41])),this[_0x4ee305(0x337)](this['_renderManagerService'][_0x4ee305(0x3ab)](_0x5ee268[_0x4ee305(0x2f7)][_0x4ee305(0x498)],[_0x173209]));}[_0x1a9c4c(0x4c3)](){const _0x446158=_0x1a9c4c;var _0x5d0fc7,_0x5e0ecd;this[_0x446158(0x474)][_0x446158(0x54d)](_0x519640[_0x446158(0x544)])[_0x446158(0x1b7)]({'priority':0x14,'interceptor':_0x519640[_0x446158(0x212)]({'maxParallel':0x6})}),this[_0x446158(0x474)][_0x446158(0x54d)](_0x50ec40),(_0x5d0fc7=this[_0x446158(0x597)])!=null&&_0x5d0fc7['enableOfflineEditing']||this[_0x446158(0x474)][_0x446158(0x54d)](_0x19f7dc[_0x446158(0x59e)])[_0x446158(0x4e1)](),(_0x5e0ecd=this[_0x446158(0x597)])!=null&&_0x5e0ecd[_0x446158(0x3ae)]&&this['_injector']['get'](_0x5a9cd1),this[_0x446158(0x474)]['get'](_0x19f7dc[_0x446158(0x554)]),this['_injector']['has'](_0x19f7dc[_0x446158(0x4de)])&&this[_0x446158(0x474)]['get'](_0x19f7dc['DesktopCollaborationStatusDisplayController']);}},_0x489880(_0x19f7dc[_0x1a9c4c(0x452)],_0x1a9c4c(0x1a9),_0x5329fc),_0x19f7dc[_0x1a9c4c(0x452)]=_0xbb2645([_0x5ee268['DependentOn'](_0x437f93[_0x1a9c4c(0x35d)]),_0x207f3c(0x1,_0x5ee268[_0x1a9c4c(0x2ff)]),_0x207f3c(0x2,_0x454685['IRenderManagerService']),_0x207f3c(0x3,_0x5ee268[_0x1a9c4c(0x4b4)](_0x5ee268['Injector'])),_0x207f3c(0x4,_0x5ee268[_0x1a9c4c(0x422)])],_0x19f7dc[_0x1a9c4c(0x452)]),_0x19f7dc['AUTHZ_URL_KEY']=_0x33b45d,_0x19f7dc['COLLAB_SUBMIT_CHANGESET_URL_KEY']=_0x2d1c45,_0x19f7dc['COLLAB_WEB_SOCKET_URL_KEY']=_0x4684ef,_0x19f7dc[_0x1a9c4c(0x3e1)]=_0x319e47,_0x19f7dc[_0x1a9c4c(0x59b)]=_0x2e8601,_0x19f7dc[_0x1a9c4c(0x581)]=_0x37f911,_0x19f7dc['HEARTBEAT_INTERVAL_KEY']=_0x41bc7c,_0x19f7dc[_0x1a9c4c(0x555)]=_0x4d3fc9,_0x19f7dc[_0x1a9c4c(0x471)]=_0x411a7c,_0x19f7dc[_0x1a9c4c(0x29b)]=_0x1be3ae,_0x19f7dc[_0x1a9c4c(0x26a)]=_0x9bc94d,_0x19f7dc[_0x1a9c4c(0x4cf)]=_0x2e60e8,_0x19f7dc[_0x1a9c4c(0x4c6)]=_0x981892,_0x19f7dc['SEND_CHANGESET_TIMEOUT_KEY']=_0x10223c,_0x19f7dc[_0x1a9c4c(0x291)]=_0x8e4b39,_0x19f7dc[_0x1a9c4c(0x4fb)]=_0x496fb6,_0x19f7dc[_0x1a9c4c(0x559)]=_0x3477b6,_0x19f7dc[_0x1a9c4c(0x357)]=_0x2d8667,_0x19f7dc['WebURLService']=_0x16c2fc,_0x19f7dc[_0x1a9c4c(0x1b3)]=_0x580925,_0x19f7dc[_0x1a9c4c(0x42e)]=_0x28244a,Object[_0x1a9c4c(0x340)](_0x19f7dc,Symbol[_0x1a9c4c(0x57f)],{'value':_0x1a9c4c(0x2ae)});}));function _0x59d9(){const _0x4d85c9=['[CollaborationSessionService]','transformIMECache','_collabSessionService','next','serializeCombRequest','map','_updateState','_getCtorByUniverType','_exhaustRemoteChangesetQueue','/universer-api/snapshot/','LIVESHARE_REQUEST_HOST','UniverRpc','reconnect','EmptyMutation','connection\x20error','update','_stopTelemetryCollaborationNewChangeset','_clearUndo','closeSession','_setupBeforeClosingHandler','searchParams','requireSession','_redoStacks','/block/','onCommentUpdate','IPermissionService','hasOwnProperty','getWorkbookSelections','IRemoteInstanceService','unitID','csAckEvent','_httpService','_docSkeleton','_roomMembers','@univerjs/ui','toggleOnline','combineLatest','clipPath','YUUMI_SUBSCRIPTION_NOT_FOUND','call','UniverCollaborationClientPlugin','_createInitialState','some','_unlockTransition','color','OTHER_CLIENTS_EDITING','commentUpdateEvent','_getCurrentRevision','RefRangeService','getItem','unsubscribe','510MyPegW','_hideTimer','target','CONNECTOR_DATA_TOO_LARGE','Workbook','submit\x20changeset\x20error!','_id','SnapshotService','socket\x20close','rxjs','MSG_FOR_ERROR','encodeURIComponent','fromCollab','take','LOCAL_CACHE_INTERVAL','35598cJnvpC','sendChangesetTimeout','_scheduleClearOtherTimer','getAncestorScale','startTime','ICollaborationSocketService','NEW_CHANGESETS','SNAPSHOT_HAS_BEEN_REMOVED','_injector','text','startColumn','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','top','hide','newValue','@univerjs/core','CompressMutationService','YUUMI_URL_COL_OUT_OF_RANGE','5zofQXK','_instanceService','handleInsertRangeMoveDown','currentColor','defIds','displayName','APPLY_REJECT','[CollaborationEntity]','React','getUnitType','SheetsSelectionsService','ERROR_EXCEED_SIZE','INVALID_ARGUMENT','startsWith','saveSnapshot','_commandService','NOT_COLLAB','getRenderById','_notificationService','liveShareOperation','compose','IUndoRedoService','_initCloseConn','_getUploadFileURL','selections','_transformUndoredo','UNIVER_SHEET','urlChange$','transformSelections','_collaborationSessionService','PSEUDO_FETCH_MISSING_RESULT','_cursorInfo$','image/gif','makeDirty','_registerRenderDependencies','TRANSFORM_CHANGE_OBSERVABLE_TYPE','&to=','UnitEmbedded','/rev/','height','create','isInternalEditorID','_updateCollabCursors','createCollaborator','_cursorShapes','univer-pro.collaboration-client.single-active-unit-service','[OfflineState]:\x20received\x20acknowledgement.','hidden','APPLY_NON_SEQUENTIAL_REVISION','objectID','COLORS','_colorAssignService','RxDisposable','@univerjs/design','Inject','onTransformChange$','_saveCache','file','deleteCollaborator','Rectangle','_urlService','sequenceExecute','setCurrentUser','isActive','CHANGESET_REJ','onRendered','_status$','_initEventListeners','roomMembers$','_initModules','addObject','toDisposable','RETRY_CONNECTING_MAX_COUNT_KEY','UNIVER_PROJECT','_updateSubUnitFromURLParams','close','all','COLLAB_SUBMIT_CHANGESET_URL','xlink:href','handleMoveRange','beginPath','LOGIN_URL_KEY','add','_scheduleHeartbeat','#fff','sheets','onMissingChangesets','url(#on-line-single_clip0_910_349)','_transformSelections','setWaitCount','length','_sendHeartbeat','debounce','_clearCollaborationTimeoutTimer','moveTo','min','DesktopCollaborationStatusDisplayController','EffectRefRangId','unit-cache-','disableLocalCache','MergeInterceptorFactory','IImageIoService','getUnit','_clearTimeoutTimer','routeKey','_getDownloadEndpointURL','_applyRemoteChangeset','_clearScheduledTask','_listenToOfflineEvent','newCsEvent','_state$','SUBMIT_CHANGESET','UNIVER_UNKNOWN','getUnitId','YUUMI_RATE_OVER_LIMIT','getMember','HttpExport','DocIMEInputManagerService','method','UniverCore','Vector2','localeService','post','getViewport','socket$','SNAPSHOT_URL_KEY','getInterceptPoints','unload','_startTelemetryCollaborationNewChangeset','@univerjs/sheets-ui','revision','status$','gold400','onlineStatusIcon','children','_handleHeartbeatEvent','forEach','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','_queuedRemoteChangesets','@univerjs/drawing','InsertSheetMutation','PENDING','updateMember','setUndoRedoMutationParamsCache','startRow','skeleton','transformChangesets','updatePermissionObjEvent','ws://127.0.0.1:8000/universer-api/comb/connect','CHANGESET_ACK','/object/','UNDEFINED','_initResize','subunit','setInterval','getRelativeToViewportCoord','actions','_transformIMECache','INTERNAL_ERROR','USERS_ENTER','assign','@univerjs-pro/license','_clearLocalCache','collabCursorState$','APPLY_PERMISSION_DENIED','_awaitingChangeset','_http','_transformStack','_candidateSocket','rxjs/operators','_getSheetObject','enableSingleActiveInstanceLock','_initStatusListener','x-univer-host','workbook','/universer-api/authz','getCellPositionByOffset','m1Prime','concatMap','_acknowledgedAwaitingChangeset','171ApTIfP','indexOf','changesets','_univerInstanceService','isValidRectRange','_handleJoinEvent','readAsDataURL','sessionStatus$','handleInsertRangeMoveRight','RevisionService','key','_schedule','useCallback','operators','event$','getOwnPropertyDescriptor','_getAnchorBounding','getUnitStatus$','HTTPService','TEXT_RANGE_LAYER_INDEX','unknown','HttpImport','saveOfflineData','createIdentifier','debounceTime','shareReplay','fromEventSubject','get','UPDATE_PERMISSION_OBJ','_clearRedo','unshift','COMPLETION_FINISHED','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_decreaseWaiting','CollaborationController','HEARTBEAT_TIMEOUT_KEY','clearTimeout','setTimeout','synced','SessionStatus','SEND_CHANGESET_TIMEOUT','_entities','@univerjs-pro/collaboration','auth.needGotoLoginAlert','_localCacheService','onload','asObservable','_syncEditingCollabCursor','setShapeProps','useObservable','refreshPermission','_handleHover','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','_state','number','CollaborationSessionService','_socketMessageSubscription','engine','_startSheetCollabCursor','AWAITING','_waitForHeartbeatResponse','result','registerComponent','DisposableCollection','href','listCollaborators','onPointerMove$','textEncoder','onMouseMove','_hovered','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','collab-rect-range-','SnapshotServerOverHTTPService','conflict','offline','snapshot','updateOfflineData','toStringTag','replaceState','CommentService','random','requestParams','/unit/','UniverIcon','UniverNetwork','socket\x20open.','Shape','unitId\x20is\x20not\x20found','_onCombEvent','generateRandomId','_initStatusComponent','uni.network.url-service','_replaceFileID','isPermissionRej','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_themeService','downloadEndpointUrl','169768VqICxO','patch','tag','CONFLICT','_config','onStarting','onTransformRemoteChangesetByIMECache','_collabCursorController','CollaborationStatusDisplay','Rect','_send','LocalCacheService','not_collab','ILocalStorageService','_updateURLWithCurrentState','fetch_missing','_executeRemoteChangeset','_cachedData','pending','_textBubble','collabStatus.syncing','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getCurrentUser','/universer-api/oidc/authpage','cmd','data','_sheetSkeletonManagerService','loadSheet','onStateChange','collabStatus.conflict','DocCollaborationEntity','objectType','session.collaboration-timeout','_messageService','getCollabCursors$','[OfflineState]:\x20received\x20rejection.','getImageSourceCache','src','forwardRef','_sheetTransformSelectionsService','toggleOffline','icon','_createHandler','_selfUnitIDs','JOINING','LIVESHARE_FETCH_OPERATIONS','_retryCount','extend','_docSkeletonManagerService','_replayCachedMutations','{fileID}','collabStatus.fetchMiss','labelPosition','_getLoginPath','isArray','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_onConnectionFailed','WebSocketService','appendMutation','failed\x20to\x20apply\x20missed\x20changesets!','_singleActiveUnitService','font','action','LICENSE_IMPORT_SIZE_EXCEEDED','getTime','Error\x20on\x20receiving\x20event','state$','SheetCollaborationEntity','pluginName','_collaborationTimeoutTimer','_scene','isTransformMutationFailure','concat','[CollaborationState]:\x20apply\x20error!','_type','fillText','/collaborator','getFocusedUnit','deserializeToCombResponse','_anchor','280555ImrvKv','capture','registerHTTPInterceptor','_showConflictNotification','SNAPSHOT_INVALID_SNAPSHOT','_localStorageService','MoveRangeCommandId','awaitingChangeset','deserializeRangeWithSheet','currentTheme$','registerBeforeClose','entries','attrs','/allowed','show','[DataLoaderController]','_updateLocalCache','reject','ITransformService','delete','createSocket','_collabCursorState$','interceptor','getSheetBlock','_pendingMutations','SetDocZoomRatioOperation','svg','apply','includes','_isPermissionRej','UNKNOWN_CMD','isTransformMutationsWithChangesetSuccess','json','@univerjs/sheets','b64DecodeUnicode','3861804wWhwCt','_updateLocalCursor','takeUntil','MessageType','listRoles','_snapshotServerService','_context','_scheduleCollaborationTimeoutTimer','_collaborationController','batchAllowed','ThemeService','@univerjs/engine-formula','_change$','currentSkeleton$','onCommandExecuted','_incrementRevisionNumber','handleIRemoveRow','getCurrentRevOfUnit','collab-text-anchor-','transformUndoRedo','UNIVER_DOC','jiqing500','IBeforeCloseService','_onCursorUpdate','session','RemoveColCommandId','exhaustSavingTask','HEARTBEAT','getOffsetConfig','/universer-api/comb','dispose$','1280748cTAgMK','lineTo','updateCollaborator','history','RichTextEditingMutation','arc','merge','_snapshotService','_getMergeRange','M0\x200H16V16H0z','list','Plugin','substring','createElement','with','init','getImage','_configService','_checkMissing','from','clear','_scheduleTimestamp','conflict.content','univer-online-status','getCurrentSelections','onPointerEnter$','COMPRESS_MUTATION_APPLY','ThresholdInterceptorFactory','APPLY_REVISION_CONFILICT','dispose','c2Prime','LIVESHARE_TERMINATE','_members','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','type','[PendingState]:\x20unhandled\x20univer\x20type:\x20','ERROR_IMAGE_TYPE','permissionRejEvent','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','unit','collab-client.tooltip.reconnect','doc.mutation.rich-text-editing','_removeClearOtherTimer','updatePermissionPoint','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','sheetId','ColorKit','black','status','width','isTransformMutationsWithChangesetFailure','distinctUntilChanged','unitId','reduce','reverse','_scheduleSaving','_event$','setActiveRange','/-/object/-/batch_allowed','_retryConnectingTimer','RegularPolygon','mutations','_color','isTransformChangesetsSuccess','_handleEvent','Disposable','mapDocumentTypeToUniverType','mapTo','onRemoteAck','drawWith','_submitChangeset','row','getUnhiddenWorksheets','collabStatus.offline','UNIVER_COLLABORATION_CLIENT_PLUGIN','FETCH_MISS','_localeService','delay','_onRemoteACK','pipe','image/bmp','IDLE','c1Prime','/universer-api/file/{fileID}/sign-url','infoRsp','HELLO','transformMutation','UNIVER_SLIDE','collaboration.closeRoom','transformMutationsWithChangeset','\x20in\x20_schedule.','has','_onConnectionOpen','onSendChangeset','LICENSE_EXPORT_SIZE_EXCEEDED','CollaborationEntity','now','\x0aCurrent:\x20','univer-online-status-icon','LocaleService','PERMISSION_DENIED','fillRule','_onRemoteRejected','INotificationService','executeCommand','propertyIsEnumerable','originalMeta','_heartbeatTimer','defs','WorkbookEditablePermission','getSheetBySheetId','_setupSubUnitSync','getActiveSheet','getCurrent','ImageUploadStatusType','LOCAL_CACHE_INTERVAL_KEY','UNRECOGNIZED','set','UniverCollaboration','SetTextSelectionsOperation','resend','[OfflineState]:\x20received\x20changeset.','JOIN','getMergeData','string','[SyncedState]:\x20received\x20acknowledgement.','awaiting_with_pending','\x20to\x20','Tools','_undoRedoService','/universer-api/stream/file/upload','getSkeleton','#FFF','error$','_anchorDot','_ws','close$','_sendHeartbeatTimer','RETRY_CONNECTING_MAX_COUNT','_syncEditingCollabCursorService','duration','UniverUi','_permissionService','HEARTBEAT_TIMEOUT','HEARTBEAT_INTERVAL','USERS_LEAVE','handleInsertCol','SUCCUSS','_updateStatus','fetchMissingChangesets','UPDATE_CURSOR','getOwnPropertySymbols','_refreshCollabCursors','&assign=','SNAPSHOT_SERVER_URL_KEY','_sendingTimer','Tooltip','DeleteRangeMoveUpCommandId','ISnapshotServerService','_docTransformIMECacheService','749907tOhssI','/new_changes','UniverSheets','_session','IURLService','then','UniverTelemetry','_clearOtherTimers','textRanges','_toggleOffline','filter','_registerDependencies','_range','onReady','split','storage','_clearHeartbeatTimer','loadDoc','_logService','selection','onRemoteChangeset','_removeRoom','FileId','Module','univer-online','visibilitychange','COMPRESS_MUTATION_SEND','memberID','_lockTransition','resolve','[UniverCollaborationClientPlugin]','_handler','visibilityState','_listenToOnlineEvent','m2Prime','addEventListener','getTypeOfUnitAdded$','none','use','LICENSE_MAX_UNITS_EXCEEDED','find','prototype','Optional','max','VIEW_MAIN','UniverDocs','CollaborationEvent','parseProtocolChangeset','[CollaborationUndoRedoService]','shouldCloseConn','setItem','_ensureSubject','IMessageService','round','path','@univerjs/telemetry','onSyncEditingCollabCursor','_imageSourceCache','_docTransformSelectionsService','univer-offline','debug','session.will-retry','getCoordByCell','state','toString','_waitCount','uploadFileServerUrl','getTypeOfUnitDisposed$','onTransformSelections','LEAVE','createInstance','UNAUTHENTICATED','_transformService','_substituteRedoStack','_unitID','UnitSnapshot','_transformRemoteChangesetByIMECache','cursorInfo$','url','_getRedoStack','purple300','207bGvamB','XHRHTTPImplementation','[CollaborationSession]','subscribeEvent','_uiPartsService','UNKNOWN_CODE','push','collabWebSocketUrl','_socket','collabSubmitChangesetUrl','_unitOnClients','_unitStatus','on-line-single','PERMISSION_REJ','sessionStatus','UniverInstanceType','loadOfflineData','snapshotServerUrl','_getAPIPrefixPath','on-line-single_clip0_910_349','getValue','_drawTextRange','useDependency','ILogService','_throwTelemetryCollaborationNewChangeset','stringify','online','getUndoRedoMutationParamsCache','OFFLINE','getRangePointData','override','NodePositionConvertToCursor','exports','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','complete','Undefined','FAIL','_getSaveTimeout','touchDependencies','_getAPIPrefix','removeMember','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_initMergeInterceptor','fromEvent','range','_compressMutationService','_loadSheet','error','_getSendChangesetTimeout','setConfig','Unknown\x20user','off-line-single_clip0_910_343','fill','MUTATION','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','collabStatus.synced','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','SetWorksheetActivateCommand','IContextService','handleIRemoveCol','DocSkeletonManagerService','?size=','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','react','_onUserLeave','replace','_socketReady','name','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','ImageSourceType','UserManagerService','7655568NJtFNb','UniverLicense','clearInterval','INGEST','syncEditingCollabCursor','trim','/universer-api/snapshot','editingUnit','disposeWithMe','deepClone','JSONX','triggerDblclick','permission.content','_createSocket','_memberService','restore','fetching\x20missing\x20changesets\x20from\x20','defineProperty','12NPLdYA','_initCommandExecutedListener','every','connectInjector','collaboration_new_changeset','sheetID','ImageIoService','image/jpeg','CHANGESET_REVISION_CONFILICT','LIVESHARE_NEW_HOST','_fetchMissChangesets','UUID','_onRecvEvent','TOO_MANY_REQUESTS','measureText','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','initWorkbookPermissionChange','_cursors','symbol','ERROR_IMAGE','transformRemoteChangeset','_onCursorDelete','SheetCollabCursorShape','UniverSheetsUi','permission.title','_onLocalMutation','liveShareNewHost','_rescheduleHeartbeat','UniverCollaborationPlugin','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_name','_getScale','ranges','CollaborationSocketService','fetchMiss','toRgbString','_handleLeaveEvent','colorChannel1','location','_transitionLocked','BuiltInUIPart','_refRangeService','_tryEnsureSocket','_sessionStatus$','collaboration-session-retry','DataLoaderController','@univerjs/engine-render','switchMap','UniverDesign','getCollabEntity','signUrlServerUrl','_joinRoom','ALREADY_EXISTS','values','_renderManagerService','getDocRanges','UniverEngineFormula','_substituteUndoStack','getResourcesRequest','getParam','_collaborationPaused','13vSPLZo','confirm','_getUndoStack','ACTIVE_UNIT_EVENT_CHANNEL','_socketService','handleDeleteRangeMoveLeft','CollaborationSession','_onUserJoin','ICommandService','_removeCollabCursors','?url=','FETCH_MISSING','_init','getCurrentUnitForType','...','_entityInit$','code','onRemoteRej','COMMENT_UPDATE','[PendingState]:\x20received\x20acknowledgement.','evenodd','_transformUndoRedoStack','_onOffline','onPointerLeave$','getSheetId','baseRev','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ONLINE','IUniverInstanceService','_startDocCollabCursor','UniverCollaborationClient','serializeRangeWithSheet','_render','@univerjs/docs-ui','_getSignURL','_commentService','resize','RECV','HTTPRequest','roomMembers','getConfig','subscribe','_initRequestHeader','1em','_roomMembers$','registerRenderModule','copyFileMeta','enableLocalCache','enableAuthServer','_revisionService','_shouldReportTelemetry','@univerjs/rpc','_loadDoc','isEditing','_HTTPService','_draw','onTransformIME','_transformPreviousActiveRange','LocalUndoRedoService','_initUnitPermissionChange','session.connection-failed','disposeUnit','getColor','BASE64','Subject','_online','FromArray','conflict.title','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','onlineStatus','Warning','session.room-full','fetchThroughInterceptors','_disableEditing','fillStyle','_getSnapshotAPIPrefix','CommandType','LIVESHARE_OPERATION','_sessions','size','closePath','_createInitialStateImpl','_toggleOnline','DocSelectionManagerService','BehaviorSubject','NOT_FOUND','_backgroundColor','_hover','SYNCED','endRow','SheetPermissionInitController','collab-text-range-','userID','title','column','stopTime','_shapes','_onRefRangeChange','CollaborationStatus','@univerjs/network','_socket$','IHTTPImplementation','collaboration-client.config','getSheetObject','params','findNodePositionByCharIndex','_colorIndex','div','headers','registerOnClose','assignAColorForMemberID','univerjs-icon\x20univerjs-icon-','POST','_startCollaboration','objects','getMemberID','collabStatus.notCollab','_onMessage','_userManagerService','AWAITING_WITH_PENDING','_remoteChangesetQueue','parse','eventID','message$','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_onJoinRoomEvent','getCollabEntity$','_docStateChangeManagerService','\x20-\x20','idSuffix','save','body','_cursor','className','_eventUnsubscribe','save\x20fail\x20reason\x20is\x20','_saveTaskMap','SetSelectionsOperation','_telemetryInfo','cursorInfo','hovered','registerRefRange','popstate','current','onlineStatusTitle','roles','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','red300','_docSyncEditingCollabCursorService','_onConflict','YUUMI_UNABLE_LOAD_URL','_onFetchMissResult','_commentUpdate$','Injector','_timeoutTimer','runRefRangeMutations','getUnitOnRev','bottom','DEFAULT_FILE_NAME','_assignedColors','AuthzIoHttpService','send','setParam','IConfigService','Error','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_disabled','object','_lastPointer','_telemetryService','_beforeCloseService'];_0x59d9=function(){return _0x4d85c9;};return _0x59d9();}
|