@univerjs-pro/collaboration-client 0.2.2 → 0.2.3

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x44d8f9,_0x932317){const _0x420e45=_0x231b,_0x233837=_0x44d8f9();while(!![]){try{const _0x35df7b=parseInt(_0x420e45(0x4f5))/0x1*(parseInt(_0x420e45(0x484))/0x2)+parseInt(_0x420e45(0x503))/0x3+parseInt(_0x420e45(0x4ac))/0x4+parseInt(_0x420e45(0x39d))/0x5+parseInt(_0x420e45(0x34f))/0x6*(parseInt(_0x420e45(0x54d))/0x7)+-parseInt(_0x420e45(0x409))/0x8+parseInt(_0x420e45(0x322))/0x9*(-parseInt(_0x420e45(0x323))/0xa);if(_0x35df7b===_0x932317)break;else _0x233837['push'](_0x233837['shift']());}catch(_0x542aae){_0x233837['push'](_0x233837['shift']());}}}(_0x54ee,0xca856),function(_0x3fd7fe,_0x44e17f){const _0x1f865f=_0x231b;typeof exports==_0x1f865f(0x45e)&&typeof module<'u'?_0x44e17f(exports,require(_0x1f865f(0x44d)),require(_0x1f865f(0x1b1)),require(_0x1f865f(0x477)),require('@univerjs/ui'),require(_0x1f865f(0x27b)),require('@wendellhu/redi'),require(_0x1f865f(0x209)),require('rxjs/operators'),require(_0x1f865f(0x49b)),require(_0x1f865f(0x2f8)),require(_0x1f865f(0x1ef)),require(_0x1f865f(0x283)),require('lodash/debounce'),require(_0x1f865f(0x2a6)),require('@univerjs/sheets-ui'),require(_0x1f865f(0x207)),require(_0x1f865f(0x364)),require(_0x1f865f(0x52d)),require(_0x1f865f(0x476))):typeof define==_0x1f865f(0x227)&&define['amd']?define([_0x1f865f(0x1fc),_0x1f865f(0x44d),_0x1f865f(0x1b1),_0x1f865f(0x477),_0x1f865f(0x2ea),_0x1f865f(0x27b),_0x1f865f(0x435),'rxjs',_0x1f865f(0x4b2),'@univerjs/docs',_0x1f865f(0x2f8),'@univerjs/drawing',_0x1f865f(0x283),_0x1f865f(0x34b),_0x1f865f(0x2a6),_0x1f865f(0x2ba),_0x1f865f(0x207),_0x1f865f(0x364),_0x1f865f(0x52d),_0x1f865f(0x476)],_0x44e17f):(_0x3fd7fe=typeof globalThis<'u'?globalThis:_0x3fd7fe||self,_0x44e17f(_0x3fd7fe[_0x1f865f(0x3aa)]={},_0x3fd7fe[_0x1f865f(0x4cf)],_0x3fd7fe['UniverSheets'],_0x3fd7fe[_0x1f865f(0x31c)],_0x3fd7fe[_0x1f865f(0x377)],_0x3fd7fe[_0x1f865f(0x553)],_0x3fd7fe[_0x1f865f(0x435)],_0x3fd7fe[_0x1f865f(0x209)],_0x3fd7fe[_0x1f865f(0x209)][_0x1f865f(0x232)],_0x3fd7fe['UniverDocs'],_0x3fd7fe[_0x1f865f(0x286)],_0x3fd7fe['UniverDrawing'],_0x3fd7fe['UniverEngineFormula'],_0x3fd7fe['lodash'][_0x1f865f(0x3d0)],_0x3fd7fe['UniverEngineRender'],_0x3fd7fe[_0x1f865f(0x2b6)],_0x3fd7fe[_0x1f865f(0x207)],_0x3fd7fe['React'],_0x3fd7fe['clsx'],_0x3fd7fe[_0x1f865f(0x4e2)]));}(this,function(_0x2dfa89,_0x39562f,_0x552a78,_0x7ca5b0,_0x38d129,_0x244d6f,_0x46d633,_0x1fa2ab,_0x53520c,_0x239a47,_0x403cff,_0x384179,_0xcaf925,_0x3a249e,_0x4f56df,_0x2818a9,_0x142e82,_0x1dd502,_0x2aa9a5,_0x51a864){'use strict';const _0xb9a23e=_0x231b;var _0x48c242=Object['defineProperty'],_0x54cc36=(_0x8f22f9,_0x5b3d38,_0x4109f4)=>_0x5b3d38 in _0x8f22f9?_0x48c242(_0x8f22f9,_0x5b3d38,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4109f4}):_0x8f22f9[_0x5b3d38]=_0x4109f4,_0x3e3dad=(_0x3d2f9f,_0x48c383,_0x17056f)=>_0x54cc36(_0x3d2f9f,typeof _0x48c383!='symbol'?_0x48c383+'':_0x48c383,_0x17056f);const _0x91342='SNAPSHOT_SERVER_URL_KEY',_0x4c81a9=_0xb9a23e(0x2c4),_0x3e0532='SNAPSHOT_URL_KEY',_0x477c27='SEND_CHANGESET_TIMEOUT',_0x63fe38=_0xb9a23e(0x417),_0x567fd6=_0xb9a23e(0x1bc),_0x323501='HEARTBEAT_INTERVAL',_0x74042e=_0xb9a23e(0x45b),_0x1a300a=_0xb9a23e(0x4aa),_0x21cbf5=_0xb9a23e(0x46f),_0x339ff6=_0xb9a23e(0x3b2),_0x1d614f='COLLAB_SUBMIT_CHANGESET_URL',_0x2e6fd4=_0xb9a23e(0x529),_0x156e4d=_0xb9a23e(0x299),_0x2fff92='/universer-api/oidc/authpage';var _0x59b333=(_0x32638a=>(_0x32638a[_0x32638a[_0xb9a23e(0x29d)]=0x0]=_0xb9a23e(0x29d),_0x32638a[_0x32638a['OK']=0x1]='OK',_0x32638a[_0x32638a['INTERNAL_ERROR']=0x2]=_0xb9a23e(0x368),_0x32638a[_0x32638a[_0xb9a23e(0x2b3)]=0x3]='PERMISSION_DENIED',_0x32638a[_0x32638a['NOT_FOUND']=0x4]=_0xb9a23e(0x566),_0x32638a[_0x32638a[_0xb9a23e(0x1aa)]=0x5]=_0xb9a23e(0x1aa),_0x32638a[_0x32638a[_0xb9a23e(0x247)]=0x6]=_0xb9a23e(0x247),_0x32638a[_0x32638a['INVALID_ARGUMENT']=0x7]=_0xb9a23e(0x21e),_0x32638a[_0x32638a[_0xb9a23e(0x4da)]=0x8]=_0xb9a23e(0x4da),_0x32638a[_0x32638a['COMPLETION_FINISHED']=0x9]=_0xb9a23e(0x3e9),_0x32638a[_0x32638a[_0xb9a23e(0x39a)]=0x1389]=_0xb9a23e(0x39a),_0x32638a[_0x32638a[_0xb9a23e(0x36c)]=0x1771]=_0xb9a23e(0x36c),_0x32638a[_0x32638a[_0xb9a23e(0x498)]=0x1772]=_0xb9a23e(0x498),_0x32638a[_0x32638a['APPLY_REJECT']=0x1b59]=_0xb9a23e(0x1af),_0x32638a[_0x32638a['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0xb9a23e(0x517),_0x32638a[_0x32638a['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x32638a[_0x32638a['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x32638a[_0x32638a['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0xb9a23e(0x3c3),_0x32638a[_0x32638a[_0xb9a23e(0x48d)]=0x2329]=_0xb9a23e(0x48d),_0x32638a[_0x32638a[_0xb9a23e(0x3f0)]=0x232a]=_0xb9a23e(0x3f0),_0x32638a[_0x32638a[_0xb9a23e(0x455)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x32638a[_0x32638a[_0xb9a23e(0x1f3)]=0x232c]=_0xb9a23e(0x1f3),_0x32638a[_0x32638a['LICENSE_DISTRO_REJECTED']=0x232d]=_0xb9a23e(0x2ab),_0x32638a[_0x32638a[_0xb9a23e(0x4ca)]=0x2711]=_0xb9a23e(0x4ca),_0x32638a[_0x32638a[_0xb9a23e(0x43b)]=0x2712]=_0xb9a23e(0x43b),_0x32638a[_0x32638a[_0xb9a23e(0x3a1)]=-0x1]=_0xb9a23e(0x3a1),_0x32638a))(_0x59b333||{}),_0x55e05d=(_0x26a294=>(_0x26a294[_0x26a294['UNIVER_UNKNOWN']=0x0]=_0xb9a23e(0x440),_0x26a294[_0x26a294[_0xb9a23e(0x49f)]=0x1]=_0xb9a23e(0x49f),_0x26a294[_0x26a294[_0xb9a23e(0x40a)]=0x2]=_0xb9a23e(0x40a),_0x26a294[_0x26a294['UNIVER_SLIDE']=0x3]=_0xb9a23e(0x279),_0x26a294[_0x26a294[_0xb9a23e(0x3a1)]=-0x1]=_0xb9a23e(0x3a1),_0x26a294))(_0x55e05d||{}),_0x4ef664=(_0x34f6ca=>(_0x34f6ca[_0x34f6ca[_0xb9a23e(0x3ab)]=0x0]='UNKNOWN_CMD',_0x34f6ca[_0x34f6ca[_0xb9a23e(0x4a7)]=0x1]=_0xb9a23e(0x4a7),_0x34f6ca[_0x34f6ca[_0xb9a23e(0x295)]=0x2]=_0xb9a23e(0x295),_0x34f6ca[_0x34f6ca[_0xb9a23e(0x4ce)]=0x3]=_0xb9a23e(0x4ce),_0x34f6ca[_0x34f6ca['INGEST']=0x4]=_0xb9a23e(0x1d2),_0x34f6ca[_0x34f6ca[_0xb9a23e(0x2b0)]=0x5]=_0xb9a23e(0x2b0),_0x34f6ca[_0x34f6ca[_0xb9a23e(0x4ad)]=0x6]=_0xb9a23e(0x4ad),_0x34f6ca[_0x34f6ca[_0xb9a23e(0x3a1)]=-0x1]=_0xb9a23e(0x3a1),_0x34f6ca))(_0x4ef664||{}),_0x27c7a2=(_0xba8c39=>(_0xba8c39[_0xba8c39[_0xb9a23e(0x40b)]=0x0]=_0xb9a23e(0x40b),_0xba8c39[_0xba8c39['OK']=0x1]='OK',_0xba8c39[_0xba8c39['FAIL']=0x2]='FAIL',_0xba8c39[_0xba8c39[_0xb9a23e(0x3a1)]=-0x1]='UNRECOGNIZED',_0xba8c39))(_0x27c7a2||{}),_0x3310d6=Object[_0xb9a23e(0x38b)],_0x893d1d=Object[_0xb9a23e(0x2ed)],_0x1f8ede=(_0x1bb4fd,_0x195388,_0x151984,_0x110bdd)=>{const _0x1eb0d3=_0xb9a23e;for(var _0x21f54b=_0x110bdd>0x1?void 0x0:_0x110bdd?_0x893d1d(_0x195388,_0x151984):_0x195388,_0x3c961a=_0x1bb4fd[_0x1eb0d3(0x480)]-0x1,_0x36f3b1;_0x3c961a>=0x0;_0x3c961a--)(_0x36f3b1=_0x1bb4fd[_0x3c961a])&&(_0x21f54b=(_0x110bdd?_0x36f3b1(_0x195388,_0x151984,_0x21f54b):_0x36f3b1(_0x21f54b))||_0x21f54b);return _0x110bdd&&_0x21f54b&&_0x3310d6(_0x195388,_0x151984,_0x21f54b),_0x21f54b;},_0x5baa10=(_0x592bfe,_0x3d1040)=>(_0x4a472d,_0x4d6a22)=>_0x3d1040(_0x4a472d,_0x4d6a22,_0x592bfe);let _0x3eae2a=class extends _0x39562f[_0xb9a23e(0x4bf)]{constructor(_0x2cb73a,_0x26ed0d){const _0x98292b=_0xb9a23e;super(),_0x3e3dad(this,_0x98292b(0x3cd),new Map()),(this['_univerInstanceService']=_0x2cb73a,this[_0x98292b(0x35a)]=_0x26ed0d,this[_0x98292b(0x28a)](_0x39562f[_0x98292b(0x3e2)](_0x1fa2ab[_0x98292b(0x4dd)](this['_univerInstanceService'][_0x98292b(0x37e)](_0x39562f['UniverInstanceType'][_0x98292b(0x40a)])[_0x98292b(0x24a)](_0x53520c[_0x98292b(0x3e3)](_0x48bbdd=>_0x48bbdd[_0x98292b(0x37c)]())),this[_0x98292b(0x328)][_0x98292b(0x37e)](_0x39562f[_0x98292b(0x1ad)]['UNIVER_DOC'])['pipe'](_0x53520c[_0x98292b(0x3e3)](_0x34efac=>_0x34efac[_0x98292b(0x37c)]())),this[_0x98292b(0x328)][_0x98292b(0x37e)](_0x39562f[_0x98292b(0x1ad)][_0x98292b(0x279)])['pipe'](_0x53520c['map'](_0x331d0e=>_0x331d0e['getUnitId']())))[_0x98292b(0x282)](_0x190bd2=>this[_0x98292b(0x369)](_0x190bd2)))));}[_0xb9a23e(0x431)](_0x1e2058){const _0x5010d5=_0xb9a23e;this[_0x5010d5(0x35a)][_0x5010d5(0x431)](_0x1e2058);}[_0xb9a23e(0x3f5)](){const _0x46b5fe=_0xb9a23e;return this['_userManagerService'][_0x46b5fe(0x3f5)]();}[_0xb9a23e(0x4b4)](_0x3c1b71,_0x3e0a6c){const _0x221153=_0xb9a23e;let _0x5185a3=this[_0x221153(0x3cd)][_0x221153(0x3a6)](_0x3c1b71);_0x5185a3||(_0x5185a3=new _0x52124f(),this[_0x221153(0x3cd)][_0x221153(0x3b1)](_0x3c1b71,_0x5185a3)),_0x5185a3[_0x221153(0x4b4)](_0x3e0a6c);}[_0xb9a23e(0x562)](_0x59f87c,_0x1df4aa){const _0x4000cf=_0xb9a23e,_0x1ecf6b=this[_0x4000cf(0x3cd)][_0x4000cf(0x3a6)](_0x59f87c);_0x1ecf6b&&_0x1ecf6b[_0x4000cf(0x562)](_0x1df4aa);}[_0xb9a23e(0x2a2)](_0x4c5810){const _0x20e280=_0xb9a23e;return this[_0x20e280(0x3cd)][_0x20e280(0x3a6)](_0x4c5810);}[_0xb9a23e(0x41f)](_0x53565a,_0x3dee2e){const _0x5904d5=_0xb9a23e,_0x2fddf9=this[_0x5904d5(0x3cd)][_0x5904d5(0x3a6)](_0x53565a);if(_0x2fddf9)return _0x2fddf9[_0x5904d5(0x41f)](_0x3dee2e);}[_0xb9a23e(0x369)](_0x4ca4f9){const _0x75b33d=_0xb9a23e,_0xf86efc=this[_0x75b33d(0x3cd)][_0x75b33d(0x3a6)](_0x4ca4f9);_0xf86efc&&(_0xf86efc[_0x75b33d(0x51e)](),this[_0x75b33d(0x3cd)][_0x75b33d(0x319)](_0x4ca4f9));}['dispose'](){const _0x17aeb5=_0xb9a23e;this[_0x17aeb5(0x3cd)]['forEach'](_0x2ad2d7=>_0x2ad2d7[_0x17aeb5(0x51e)]()),this['_roomMembers'][_0x17aeb5(0x439)]();}};_0x3eae2a=_0x1f8ede([_0x5baa10(0x0,_0x39562f[_0xb9a23e(0x2d6)]),_0x5baa10(0x1,_0x46d633[_0xb9a23e(0x2a5)](_0x39562f[_0xb9a23e(0x3f8)]))],_0x3eae2a);class _0x52124f extends _0x39562f[_0xb9a23e(0x4bf)]{constructor(){const _0x193c12=_0xb9a23e;super(...arguments),_0x3e3dad(this,_0x193c12(0x425),new Map());}[_0xb9a23e(0x51e)](){const _0x3522bb=_0xb9a23e;this[_0x3522bb(0x425)][_0x3522bb(0x439)]();}[_0xb9a23e(0x4b4)](_0x36f2cd){const _0x3fb266=_0xb9a23e;this[_0x3fb266(0x425)]['set'](_0x36f2cd[_0x3fb266(0x382)],_0x36f2cd);}['removeMember'](_0x37e02f){const _0x28e6cc=_0xb9a23e;this[_0x28e6cc(0x425)][_0x28e6cc(0x319)](_0x37e02f);}[_0xb9a23e(0x41f)](_0x67524f){const _0x36122b=_0xb9a23e;return this[_0x36122b(0x425)]['get'](_0x67524f);}}function _0x5ed143(_0x2110df){const _0x1822e2=_0xb9a23e;var _0x260877,_0x3a5dae,_0x147984,_0x3df53e;const _0x1f2044=_0x2110df[_0x1822e2(0x3df)],_0x560339=JSON[_0x1822e2(0x256)](_0x1f2044);switch(_0x560339[_0x1822e2(0x4e0)]){case _0x4ef664[_0x1822e2(0x2b0)]:case _0x4ef664[_0x1822e2(0x4a7)]:{const _0x34cf51=_0x560339['infoRsp'];return{..._0x560339,'data':_0x34cf51,'cmd':_0x560339['cmd']};}case _0x4ef664[_0x1822e2(0x295)]:{const _0x267e60=_0x560339[_0x1822e2(0x2f2)];return{..._0x560339,'data':_0x267e60,'cmd':_0x560339['cmd']};}case _0x4ef664[_0x1822e2(0x4ad)]:{const _0x3863b8=_0x560339[_0x1822e2(0x534)];switch(_0x3863b8[_0x1822e2(0x414)]){case _0x244d6f[_0x1822e2(0x42f)][_0x1822e2(0x46c)]:return{..._0x560339,'data':{..._0x3863b8,'data':(_0x260877=_0x3863b8[_0x1822e2(0x4b8)])==null?void 0x0:_0x260877['cs']},'cmd':_0x560339[_0x1822e2(0x4e0)]};case _0x244d6f[_0x1822e2(0x42f)][_0x1822e2(0x2e6)]:return{..._0x560339,'data':{..._0x3863b8,'data':(_0x3a5dae=_0x3863b8[_0x1822e2(0x1bd)])==null?void 0x0:_0x3a5dae['cs']},'cmd':_0x560339[_0x1822e2(0x4e0)]};case _0x244d6f[_0x1822e2(0x42f)][_0x1822e2(0x4af)]:return{..._0x560339,'data':{..._0x3863b8,'data':(_0x147984=_0x3863b8['newCsEvent'])==null?void 0x0:_0x147984['cs']},'cmd':_0x560339['cmd']};case _0x244d6f[_0x1822e2(0x42f)][_0x1822e2(0x41e)]:return{..._0x560339,'data':{..._0x3863b8,'data':(_0x3df53e=_0x3863b8[_0x1822e2(0x22b)])==null?void 0x0:_0x3df53e['cs']},'cmd':_0x560339['cmd']};case _0x244d6f[_0x1822e2(0x42f)][_0x1822e2(0x20f)]:return{..._0x560339,'data':{..._0x3863b8,'data':_0x3863b8[_0x1822e2(0x4ff)]},'cmd':_0x560339['cmd']};case _0x244d6f['CollaborationEvent'][_0x1822e2(0x550)]:return{..._0x560339,'data':{..._0x3863b8,'data':_0x3863b8[_0x1822e2(0x35b)]},'cmd':_0x560339[_0x1822e2(0x4e0)]};case _0x244d6f[_0x1822e2(0x42f)][_0x1822e2(0x345)]:return{..._0x560339,'data':{..._0x3863b8,'data':_0x3863b8['leaveEvent']},'cmd':_0x560339[_0x1822e2(0x4e0)]};case _0x244d6f[_0x1822e2(0x42f)]['LIVESHARE_NEW_HOST']:return{..._0x560339,'data':{..._0x3863b8,'data':_0x3863b8[_0x1822e2(0x1ea)]},'cmd':_0x560339['cmd']};case _0x244d6f[_0x1822e2(0x42f)][_0x1822e2(0x31b)]:case _0x244d6f['CollaborationEvent'][_0x1822e2(0x3ba)]:return{..._0x560339,'data':{..._0x3863b8,'data':_0x3863b8[_0x1822e2(0x422)]},'cmd':_0x560339[_0x1822e2(0x4e0)]};case _0x244d6f[_0x1822e2(0x42f)][_0x1822e2(0x37b)]:return{..._0x560339,'data':{..._0x3863b8,'data':_0x3863b8['liveShareNewHost']},'cmd':_0x560339[_0x1822e2(0x4e0)]};case _0x244d6f[_0x1822e2(0x42f)]['MSG_FOR_ERROR']:return{..._0x560339,'data':_0x3863b8,'cmd':_0x560339[_0x1822e2(0x4e0)]};case _0x244d6f['CollaborationEvent']['COMMENT_UPDATE']:return{..._0x560339,'data':{..._0x3863b8,'data':_0x3863b8['commentUpdateEvent']},'cmd':_0x560339[_0x1822e2(0x4e0)]};default:return _0x560339;}}default:return _0x560339;}}function _0x2c67df(_0x48d316){const _0x205e32=_0xb9a23e;switch(_0x48d316['cmd']){case _0x4ef664['HEARTBEAT']:case _0x4ef664['HELLO']:return JSON[_0x205e32(0x47b)]({'cmd':_0x48d316[_0x205e32(0x4e0)],'routeKey':_0x48d316['routeKey']});case _0x4ef664[_0x205e32(0x1d2)]:{let _0x47e9dd;switch(_0x48d316[_0x205e32(0x3df)]['eventID']){case _0x244d6f[_0x205e32(0x42f)][_0x205e32(0x20f)]:{_0x47e9dd={'eventID':_0x244d6f[_0x205e32(0x42f)][_0x205e32(0x20f)],'updateCursorEvent':_0x48d316['data']['data']};break;}case _0x244d6f[_0x205e32(0x42f)][_0x205e32(0x345)]:{_0x47e9dd={'eventID':_0x244d6f['CollaborationEvent'][_0x205e32(0x345)],'leaveEvent':_0x48d316[_0x205e32(0x3df)][_0x205e32(0x3df)]};break;}case _0x244d6f[_0x205e32(0x42f)]['USERS_ENTER']:{_0x47e9dd={'eventID':_0x244d6f[_0x205e32(0x42f)][_0x205e32(0x550)],'joinEvent':_0x48d316[_0x205e32(0x3df)][_0x205e32(0x3df)]};break;}case _0x244d6f[_0x205e32(0x42f)]['LIVESHARE_NEW_HOST']:{_0x47e9dd={'eventID':_0x244d6f['CollaborationEvent'][_0x205e32(0x1c6)],'liveShareNewHost':_0x48d316[_0x205e32(0x3df)][_0x205e32(0x3df)]};break;}case _0x244d6f[_0x205e32(0x42f)][_0x205e32(0x3ba)]:{_0x47e9dd={'eventID':_0x244d6f[_0x205e32(0x42f)][_0x205e32(0x3ba)],'liveShareOperation':_0x48d316['data'][_0x205e32(0x3df)]};break;}case _0x244d6f[_0x205e32(0x42f)][_0x205e32(0x37b)]:{_0x47e9dd={'eventID':_0x244d6f[_0x205e32(0x42f)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x48d316[_0x205e32(0x3df)][_0x205e32(0x3df)]};break;}case _0x244d6f[_0x205e32(0x42f)][_0x205e32(0x3fa)]:{_0x47e9dd={'eventID':_0x244d6f[_0x205e32(0x42f)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x48d316[_0x205e32(0x3df)][_0x205e32(0x3df)]};break;}case _0x244d6f[_0x205e32(0x42f)]['LIVESHARE_FETCH_OPERATIONS']:{_0x47e9dd={'eventID':_0x244d6f[_0x205e32(0x42f)][_0x205e32(0x31b)]};break;}default:_0x47e9dd={'eventID':_0x48d316[_0x205e32(0x3df)][_0x205e32(0x414)]};}return JSON['stringify']({'cmd':_0x48d316[_0x205e32(0x4e0)],'routeKey':_0x48d316[_0x205e32(0x397)],'collaMsg':_0x47e9dd});}case _0x4ef664[_0x205e32(0x295)]:return JSON[_0x205e32(0x47b)]({'cmd':_0x48d316[_0x205e32(0x4e0)],'routeKey':_0x48d316[_0x205e32(0x397)],'joinReq':_0x48d316['data']});case _0x4ef664[_0x205e32(0x4ce)]:return JSON[_0x205e32(0x47b)]({'cmd':_0x48d316[_0x205e32(0x4e0)],'routeKey':_0x48d316[_0x205e32(0x397)],'leaveReq':_0x48d316[_0x205e32(0x3df)]});default:throw new Error(_0x205e32(0x38f));}}var _0x52e07a=Object['defineProperty'],_0x6219ee=Object[_0xb9a23e(0x2ed)],_0x4bfd9e=(_0x5204ce,_0x525fae,_0x367c37,_0x34359a)=>{for(var _0x1c647a=_0x34359a>0x1?void 0x0:_0x34359a?_0x6219ee(_0x525fae,_0x367c37):_0x525fae,_0x1db1a0=_0x5204ce['length']-0x1,_0x356505;_0x1db1a0>=0x0;_0x1db1a0--)(_0x356505=_0x5204ce[_0x1db1a0])&&(_0x1c647a=(_0x34359a?_0x356505(_0x525fae,_0x367c37,_0x1c647a):_0x356505(_0x1c647a))||_0x1c647a);return _0x34359a&&_0x1c647a&&_0x52e07a(_0x525fae,_0x367c37,_0x1c647a),_0x1c647a;},_0xff0ece=(_0x118114,_0x91aafd)=>(_0x2b8cbc,_0x1cb0b6)=>_0x91aafd(_0x2b8cbc,_0x1cb0b6,_0x118114);const _0x3403de=_0x46d633['createIdentifier'](_0xb9a23e(0x3a0));function _0x38357b(_0x42a6b8,_0x47f09d,_0x3bb7f5){const _0x2dc129=_0xb9a23e;return _0x42a6b8+'/'+_0x47f09d+_0x2dc129(0x4d6)+_0x3bb7f5+_0x2dc129(0x4b0);}_0x2dfa89[_0xb9a23e(0x40f)]=class{constructor(_0x48417d,_0x2f3faf,_0x4652e8,_0x2b6f0a,_0x13c81e){const _0x58a153=_0xb9a23e;this[_0x58a153(0x224)]=_0x48417d,this[_0x58a153(0x532)]=_0x2f3faf,this[_0x58a153(0x1ec)]=_0x4652e8,this[_0x58a153(0x38c)]=_0x2b6f0a,this['_snapshotServerService']=_0x13c81e;}[_0xb9a23e(0x450)](_0x4d54e1){const _0x4b6815=_0xb9a23e,_0x9c6b68=this[_0x4b6815(0x532)][_0x4b6815(0x450)](_0x4d54e1);if(!_0x9c6b68)throw new Error(_0x4b6815(0x1e8));const _0x56fd9a=new _0x39562f[(_0x4b6815(0x4a1))](),_0x15e19c=new _0x1fa2ab[(_0x4b6815(0x393))]();_0x56fd9a[_0x4b6815(0x398)](_0x39562f[_0x4b6815(0x3e2)](_0x9c6b68[_0x4b6815(0x535)][_0x4b6815(0x282)](_0x1fdfcb=>_0x15e19c[_0x4b6815(0x438)](_0x1fdfcb)))),_0x56fd9a[_0x4b6815(0x398)](_0x39562f['toDisposable'](()=>_0x15e19c[_0x4b6815(0x326)]()));const _0x3b1887=new _0x1fa2ab[(_0x4b6815(0x393))]();_0x56fd9a[_0x4b6815(0x398)](_0x39562f[_0x4b6815(0x3e2)](_0x9c6b68[_0x4b6815(0x2d5)][_0x4b6815(0x282)](_0x4573dc=>_0x3b1887[_0x4b6815(0x438)](_0x4573dc)))),_0x56fd9a[_0x4b6815(0x398)](_0x39562f['toDisposable'](()=>_0x3b1887[_0x4b6815(0x326)]()));const _0x3a3046=new _0x1fa2ab[(_0x4b6815(0x393))]();_0x56fd9a[_0x4b6815(0x398)](_0x39562f['toDisposable'](_0x9c6b68['message$'][_0x4b6815(0x282)](_0x1f9ecd=>{const _0x24eae8=_0x4b6815,_0x183b03=_0x5ed143(_0x1f9ecd);_0x3a3046[_0x24eae8(0x438)](_0x183b03);}))),_0x56fd9a['add'](_0x39562f[_0x4b6815(0x3e2)](()=>_0x3a3046['complete']()));const _0x175703=()=>{const _0x47eacb=_0x4b6815;_0x3b1887[_0x47eacb(0x438)](new Event(_0x47eacb(0x340))),_0x15e19c[_0x47eacb(0x438)](new CloseEvent(_0x47eacb(0x340))),_0x18a178[_0x47eacb(0x3b8)]();},_0x18a178={'memberID':'','close$':_0x15e19c[_0x4b6815(0x4bd)](),'error$':_0x3b1887[_0x4b6815(0x4bd)](),'open$':_0x9c6b68['open$'],'message$':_0x3a3046['asObservable'](),'send':_0x412467=>{const _0x470a6a=_0x4b6815;if(_0x412467[_0x470a6a(0x4e0)]===_0x4ef664[_0x470a6a(0x1d2)]){if(_0x412467[_0x470a6a(0x3df)][_0x470a6a(0x414)]===_0x244d6f[_0x470a6a(0x42f)][_0x470a6a(0x254)]){this[_0x470a6a(0x2a8)](_0x18a178,_0x412467['data'])[_0x470a6a(0x426)](_0x415975=>{const _0x4c491b=_0x470a6a;this['_logService'][_0x4c491b(0x4f3)](_0x415975),_0x175703();});return;}if(_0x412467[_0x470a6a(0x3df)][_0x470a6a(0x414)]===_0x244d6f[_0x470a6a(0x42f)][_0x470a6a(0x1b0)]){const _0x231bd0=_0x412467[_0x470a6a(0x3df)];this[_0x470a6a(0x46b)](_0x231bd0)['then'](_0x2cc7e4=>{const _0x430882=_0x470a6a;_0x3a3046[_0x430882(0x438)]({'cmd':_0x4ef664[_0x430882(0x4ad)],'code':_0x27c7a2['OK'],'routeKey':_0x231bd0['data'][_0x430882(0x474)],'routeType':'','data':{'eventID':_0x244d6f[_0x430882(0x42f)][_0x430882(0x522)],'data':{'changesets':_0x2cc7e4}}});})['catch'](_0x1d09a1=>{const _0x1ef90e=_0x470a6a;this['_logService'][_0x1ef90e(0x4f3)](_0x1d09a1),_0x175703();});return;}}_0x9c6b68[_0x470a6a(0x428)](_0x2c67df(_0x412467));},'close':()=>{const _0xfbb014=_0x4b6815;_0x9c6b68[_0xfbb014(0x3b8)](),_0x56fd9a[_0xfbb014(0x51e)]();}};return _0x18a178;}async[_0xb9a23e(0x2a8)](_0x2002f2,_0x23ae99){const _0x443120=_0xb9a23e;var _0x4b58bf;const {unitType:_0x305ba9,unitID:_0x27a232,changeset:_0x5db213}=_0x23ae99[_0x443120(0x3df)],_0x41741f={'unitID':_0x27a232,'memberID':_0x2002f2[_0x443120(0x382)],'type':_0x305ba9,'changeset':_0x244d6f[_0x443120(0x272)](_0x5db213)},_0x4d294f=_0x38357b((_0x4b58bf=this[_0x443120(0x1ec)]['getConfig'](_0x1d614f))!=null?_0x4b58bf:_0x2e6fd4,_0x305ba9,_0x27a232);try{await this[_0x443120(0x224)][_0x443120(0x42c)](_0x4d294f,{'body':_0x41741f});}catch(_0x2b8388){throw this[_0x443120(0x38c)][_0x443120(0x4f3)](_0x443120(0x284),'submit\x20changeset\x20error!'),_0x2b8388;}}async[_0xb9a23e(0x46b)](_0x4ba688){const _0x2be621=_0xb9a23e,{unitID:_0x3db3ee,from:_0x15223f,to:_0x494b8b,unitType:_0x456200}=_0x4ba688[_0x2be621(0x3df)];return(await this[_0x2be621(0x1fb)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x3db3ee,'type':_0x456200,'from':_0x15223f,'to':_0x494b8b}))[_0x2be621(0x52b)];}},_0x2dfa89[_0xb9a23e(0x40f)]=_0x4bfd9e([_0xff0ece(0x0,_0x46d633[_0xb9a23e(0x2a5)](_0x403cff[_0xb9a23e(0x2cb)])),_0xff0ece(0x1,_0x46d633[_0xb9a23e(0x2a5)](_0x403cff[_0xb9a23e(0x4e8)])),_0xff0ece(0x2,_0x39562f['IConfigService']),_0xff0ece(0x3,_0x39562f[_0xb9a23e(0x3d4)]),_0xff0ece(0x4,_0x39562f[_0xb9a23e(0x1a9)])],_0x2dfa89[_0xb9a23e(0x40f)]);class _0x301d2e{constructor(){const _0x6a14c4=_0xb9a23e;_0x3e3dad(this,_0x6a14c4(0x3dd),new _0x1fa2ab[(_0x6a14c4(0x393))]()),_0x3e3dad(this,_0x6a14c4(0x1f4),this[_0x6a14c4(0x3dd)]['asObservable']());}[_0xb9a23e(0x545)](_0x5680a5){const _0x4740b7=_0xb9a23e;this[_0x4740b7(0x3dd)][_0x4740b7(0x438)](_0x5680a5);}}var _0x3f9d46=Object[_0xb9a23e(0x38b)],_0x659943=Object['getOwnPropertyDescriptor'],_0x1690a3=(_0x4a5817,_0x4b081e,_0x1f883d,_0x20ba70)=>{const _0x10e2d7=_0xb9a23e;for(var _0x7705ef=_0x20ba70>0x1?void 0x0:_0x20ba70?_0x659943(_0x4b081e,_0x1f883d):_0x4b081e,_0x5eee2a=_0x4a5817[_0x10e2d7(0x480)]-0x1,_0x48491d;_0x5eee2a>=0x0;_0x5eee2a--)(_0x48491d=_0x4a5817[_0x5eee2a])&&(_0x7705ef=(_0x20ba70?_0x48491d(_0x4b081e,_0x1f883d,_0x7705ef):_0x48491d(_0x7705ef))||_0x7705ef);return _0x20ba70&&_0x7705ef&&_0x3f9d46(_0x4b081e,_0x1f883d,_0x7705ef),_0x7705ef;},_0x133f8a=(_0x1b77f5,_0x974a86)=>(_0x4165c1,_0x55135f)=>_0x974a86(_0x4165c1,_0x55135f,_0x1b77f5),_0x346ac5=(_0x3c0e23=>(_0x3c0e23[_0x3c0e23[_0xb9a23e(0x528)]=0x0]=_0xb9a23e(0x528),_0x3c0e23[_0x3c0e23[_0xb9a23e(0x4ea)]=0x1]=_0xb9a23e(0x4ea),_0x3c0e23[_0x3c0e23[_0xb9a23e(0x354)]=0x2]='OFFLINE',_0x3c0e23[_0x3c0e23[_0xb9a23e(0x330)]=0x3]='ONLINE',_0x3c0e23))(_0x346ac5||{});_0x2dfa89[_0xb9a23e(0x1da)]=class extends _0x39562f['RxDisposable']{constructor(_0x26d0ba,_0x3954e5,_0x5749e4,_0x2ef82a,_0x11cd0b,_0x1b69e9,_0x50aeca,_0x1b7448,_0x74100e){const _0x465bb2=_0xb9a23e;super(),_0x3e3dad(this,_0x465bb2(0x32c),new _0x1fa2ab['BehaviorSubject'](0x0)),_0x3e3dad(this,_0x465bb2(0x35c),this[_0x465bb2(0x32c)][_0x465bb2(0x4bd)]()),_0x3e3dad(this,_0x465bb2(0x531),new _0x1fa2ab[(_0x465bb2(0x393))]()),_0x3e3dad(this,_0x465bb2(0x2bf),this[_0x465bb2(0x531)][_0x465bb2(0x4bd)]()),_0x3e3dad(this,'_socket'),_0x3e3dad(this,_0x465bb2(0x55a)),_0x3e3dad(this,_0x465bb2(0x2f0)),(this['_unitID']=_0x26d0ba,this[_0x465bb2(0x38c)]=_0x5749e4,this[_0x465bb2(0x339)]=_0x2ef82a,this[_0x465bb2(0x493)]=_0x11cd0b,this[_0x465bb2(0x1ec)]=_0x1b69e9,this[_0x465bb2(0x530)]=_0x50aeca,this['_memberService']=_0x1b7448,this[_0x465bb2(0x1d3)]=_0x74100e,_0x3954e5[_0x465bb2(0x24a)](_0x53520c[_0x465bb2(0x307)](this['dispose$']))[_0x465bb2(0x282)](_0x13b823=>{const _0x3aec5f=_0x465bb2;var _0x48f23a;typeof _0x13b823>'u'||(this[_0x3aec5f(0x23c)]=_0x13b823,_0x13b823?(this[_0x3aec5f(0x24f)](_0x13b823),this[_0x3aec5f(0x55a)]=this[_0x3aec5f(0x23c)]['message$'][_0x3aec5f(0x282)](_0x228195=>{const _0x31bdd2=_0x3aec5f;_0x228195['routeKey']===this[_0x31bdd2(0x1c5)]&&this[_0x31bdd2(0x53c)](_0x228195);})):(this[_0x3aec5f(0x32c)][_0x3aec5f(0x438)](0x2),(_0x48f23a=this['_socketMessageSubscription'])==null||_0x48f23a[_0x3aec5f(0x54c)](),this[_0x3aec5f(0x55a)]=null));}),this[_0x465bb2(0x28a)](this[_0x465bb2(0x339)]['registerOnClose'](()=>{const _0x552319=_0x465bb2;var _0x2676a7;(_0x2676a7=this[_0x552319(0x23c)])==null||_0x2676a7['send']({'cmd':_0x4ef664[_0x552319(0x4ce)],'data':{'roomID':this[_0x552319(0x1c5)]}});})));}get[_0xb9a23e(0x48c)](){return this['_sessionStatus$']['getValue']();}['getMemberID'](){const _0x330c01=_0xb9a23e;var _0xcbc002,_0x22f834;return(_0x22f834=(_0xcbc002=this[_0x330c01(0x23c)])==null?void 0x0:_0xcbc002[_0x330c01(0x382)])!=null?_0x22f834:null;}[_0xb9a23e(0x51e)](){const _0x5b4559=_0xb9a23e;super[_0x5b4559(0x51e)](),this[_0x5b4559(0x203)][_0x5b4559(0x438)](),this[_0x5b4559(0x203)][_0x5b4559(0x326)]();}[_0xb9a23e(0x53c)](_0x52028b){const _0x5a2497=_0xb9a23e;_0x52028b[_0x5a2497(0x4e0)]===_0x4ef664[_0x5a2497(0x295)]?this['_onJoinRoomEvent'](_0x52028b):_0x52028b['cmd']===_0x4ef664['RECV']&&this[_0x5a2497(0x449)](_0x52028b);}[_0xb9a23e(0x24f)](_0x166027){const _0x757339=_0xb9a23e;this[_0x757339(0x32c)][_0x757339(0x438)](0x1),_0x166027[_0x757339(0x428)]({'cmd':_0x4ef664['JOIN'],'routeKey':this[_0x757339(0x1c5)],'routeType':'','data':{'rooms':[{'roomID':this[_0x757339(0x1c5)]}]}});}[_0xb9a23e(0x1c3)](_0x288360){const _0x1031d3=_0xb9a23e;var _0x4081b6;if(_0x288360[_0x1031d3(0x47a)]===_0x27c7a2[_0x1031d3(0x1ff)]){this['_messageService'][_0x1031d3(0x46d)]({'type':_0x7ca5b0['MessageType'][_0x1031d3(0x1f9)],'content':this[_0x1031d3(0x530)]['t'](_0x1031d3(0x423))}),this[_0x1031d3(0x32c)][_0x1031d3(0x438)](0x2);return;}this[_0x1031d3(0x32c)]['next'](0x3);const _0x474495=(_0x4081b6=_0x288360[_0x1031d3(0x3df)][_0x1031d3(0x36a)][this[_0x1031d3(0x1c5)]])==null?void 0x0:_0x4081b6[_0x1031d3(0x34e)];_0x474495&&_0x474495[_0x1031d3(0x560)](_0x2697f7=>this[_0x1031d3(0x50c)]['updateMember'](this[_0x1031d3(0x1c5)],_0x2697f7));}[_0xb9a23e(0x449)](_0x562e4d){const _0x3365a5=_0xb9a23e;try{const _0x188b7e=_0x562e4d[_0x3365a5(0x3df)];switch(_0x188b7e['eventID']){case _0x244d6f[_0x3365a5(0x42f)][_0x3365a5(0x550)]:this[_0x3365a5(0x43e)](_0x188b7e),this['_event$'][_0x3365a5(0x438)](_0x188b7e);break;case _0x244d6f['CollaborationEvent'][_0x3365a5(0x345)]:this[_0x3365a5(0x4cd)](_0x188b7e),this[_0x3365a5(0x531)][_0x3365a5(0x438)](_0x188b7e);break;case _0x244d6f[_0x3365a5(0x42f)][_0x3365a5(0x2e6)]:this[_0x3365a5(0x482)](),this[_0x3365a5(0x531)][_0x3365a5(0x438)](_0x188b7e);break;case _0x244d6f['CollaborationEvent']['MSG_FOR_ERROR']:this[_0x3365a5(0x38c)][_0x3365a5(0x4f3)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x3365a5(0x47b)](_0x188b7e)),this[_0x3365a5(0x531)][_0x3365a5(0x438)](_0x188b7e);break;case _0x244d6f[_0x3365a5(0x42f)][_0x3365a5(0x210)]:this['_commentService']['onCommentUpdate'](_0x188b7e[_0x3365a5(0x3df)]),this[_0x3365a5(0x531)][_0x3365a5(0x438)](_0x188b7e);break;default:this[_0x3365a5(0x531)]['next'](_0x188b7e);}}catch(_0x2bba28){this[_0x3365a5(0x38c)][_0x3365a5(0x4f3)](_0x2bba28,_0x562e4d);}}[_0xb9a23e(0x43e)](_0x3353b4){const _0x14045c=_0xb9a23e;this[_0x14045c(0x50c)][_0x14045c(0x4b4)](this[_0x14045c(0x1c5)],_0x3353b4[_0x14045c(0x3df)]);}[_0xb9a23e(0x4cd)](_0x4f2b34){const _0x5c02eb=_0xb9a23e;this[_0x5c02eb(0x50c)][_0x5c02eb(0x562)](this['_unitID'],_0x4f2b34[_0x5c02eb(0x3df)][_0x5c02eb(0x382)]);}async[_0xb9a23e(0x428)](_0x2909bc,_0x1abd81){const _0x4d4cd4=_0xb9a23e;if(this[_0x4d4cd4(0x48c)]!==0x3||!this[_0x4d4cd4(0x23c)])throw new Error(_0x4d4cd4(0x246));try{_0x2909bc[_0x4d4cd4(0x414)]===_0x244d6f[_0x4d4cd4(0x42f)][_0x4d4cd4(0x4af)]&&this[_0x4d4cd4(0x4a4)](),this[_0x4d4cd4(0x23c)][_0x4d4cd4(0x428)]({'cmd':_0x4ef664[_0x4d4cd4(0x1d2)],'routeKey':_0x1abd81,'routeType':'','data':_0x2909bc});}catch(_0x2aaf09){this[_0x4d4cd4(0x38c)]['error'](_0x2aaf09);}}[_0xb9a23e(0x4a4)](){const _0x2c97d8=_0xb9a23e;var _0x2ef734;this[_0x2c97d8(0x2f0)]=window[_0x2c97d8(0x390)](()=>{const _0x4e1b7f=_0x2c97d8;this[_0x4e1b7f(0x2f0)]=null,this[_0x4e1b7f(0x493)][_0x4e1b7f(0x46d)]({'type':_0x7ca5b0['MessageType']['Error'],'content':this[_0x4e1b7f(0x530)]['t'](_0x4e1b7f(0x2e2))});},(_0x2ef734=this['_configService']['getConfig'](_0x74042e))!=null?_0x2ef734:0x2710);}[_0xb9a23e(0x482)](){const _0x41e28c=_0xb9a23e;this[_0x41e28c(0x2f0)]&&(clearTimeout(this[_0x41e28c(0x2f0)]),this[_0x41e28c(0x2f0)]=null);}},_0x2dfa89[_0xb9a23e(0x1da)]=_0x1690a3([_0x133f8a(0x2,_0x39562f[_0xb9a23e(0x3d4)]),_0x133f8a(0x3,_0x38d129[_0xb9a23e(0x52e)]),_0x133f8a(0x4,_0x38d129[_0xb9a23e(0x1c9)]),_0x133f8a(0x5,_0x39562f[_0xb9a23e(0x251)]),_0x133f8a(0x6,_0x46d633[_0xb9a23e(0x2a5)](_0x39562f[_0xb9a23e(0x303)])),_0x133f8a(0x7,_0x46d633[_0xb9a23e(0x2a5)](_0x3eae2a)),_0x133f8a(0x8,_0x46d633[_0xb9a23e(0x2a5)](_0x301d2e))],_0x2dfa89['CollaborationSession']),_0x2dfa89[_0xb9a23e(0x538)]=class extends _0x39562f[_0xb9a23e(0x4bf)]{constructor(_0x2adb25,_0x295397,_0xa9e70a,_0x102df4,_0x4c3377,_0x3c69e6){const _0x3564e7=_0xb9a23e;super(),_0x3e3dad(this,_0x3564e7(0x29e),new _0x1fa2ab[(_0x3564e7(0x492))](void 0x0)),_0x3e3dad(this,'_sessions',new Map()),_0x3e3dad(this,_0x3564e7(0x3c0),new _0x1fa2ab[(_0x3564e7(0x492))](0x0)),_0x3e3dad(this,_0x3564e7(0x4e7),this[_0x3564e7(0x3c0)]['asObservable']()),_0x3e3dad(this,_0x3564e7(0x2c5),!0x1),_0x3e3dad(this,'_sendHeartbeatTimer'),_0x3e3dad(this,_0x3564e7(0x32e)),_0x3e3dad(this,'_retryConnectingTimer'),_0x3e3dad(this,_0x3564e7(0x41a),0x0),(this[_0x3564e7(0x273)]=_0x2adb25,this[_0x3564e7(0x530)]=_0x295397,this[_0x3564e7(0x493)]=_0xa9e70a,this['_logService']=_0x102df4,this['_configService']=_0x4c3377,this[_0x3564e7(0x221)]=_0x3c69e6);}get[_0xb9a23e(0x23c)](){const _0x471486=_0xb9a23e;return this[_0x471486(0x29e)][_0x471486(0x1c4)]();}['dispose'](){const _0xc06520=_0xb9a23e;super['dispose'](),this[_0xc06520(0x22d)][_0xc06520(0x560)](_0x209591=>_0x209591[_0xc06520(0x51e)]()),this[_0xc06520(0x22d)][_0xc06520(0x439)](),this['_status$'][_0xc06520(0x326)]();}async[_0xb9a23e(0x3d3)](_0x57ad77){const _0x1399bc=_0xb9a23e;if(this[_0x1399bc(0x22d)]['has'](_0x57ad77))return this[_0x1399bc(0x22d)][_0x1399bc(0x3a6)](_0x57ad77);this[_0x1399bc(0x36d)]();const _0x37de9b=this[_0x1399bc(0x273)][_0x1399bc(0x4dc)](_0x2dfa89[_0x1399bc(0x1da)],_0x57ad77,this[_0x1399bc(0x29e)]['asObservable']());return this[_0x1399bc(0x22d)][_0x1399bc(0x3b1)](_0x57ad77,_0x37de9b),_0x37de9b;}[_0xb9a23e(0x35d)](){const _0x4c4c38=_0xb9a23e;var _0x3f2d91;const _0x2f643c=(_0x3f2d91=this[_0x4c4c38(0x1ec)]['getConfig'](_0x63fe38))!=null?_0x3f2d91:_0x567fd6;return this[_0x4c4c38(0x221)][_0x4c4c38(0x450)](_0x2f643c);}[_0xb9a23e(0x36d)](){const _0x4e5fdb=_0xb9a23e;try{const _0x291f67=this[_0x4e5fdb(0x35d)]();if(_0x291f67){const _0x3299b2=_0x291f67[_0x4e5fdb(0x428)];_0x291f67['send']=_0x233818=>(this[_0x4e5fdb(0x2c1)](),_0x3299b2[_0x4e5fdb(0x52c)](_0x291f67,[_0x233818])),_0x291f67[_0x4e5fdb(0x313)]['subscribe'](_0x5767fe=>this[_0x4e5fdb(0x2fa)](_0x291f67,_0x5767fe)),_0x291f67[_0x4e5fdb(0x2d5)][_0x4e5fdb(0x24a)](_0x53520c[_0x4e5fdb(0x268)](0x1))['subscribe'](_0x510de6=>this[_0x4e5fdb(0x38c)][_0x4e5fdb(0x4f3)](_0x4e5fdb(0x3d9),_0x510de6)),_0x291f67['open$'][_0x4e5fdb(0x24a)](_0x53520c['take'](0x1))[_0x4e5fdb(0x282)](()=>{const _0x535319=_0x4e5fdb;this[_0x535319(0x448)](_0x291f67);}),_0x291f67[_0x4e5fdb(0x535)][_0x4e5fdb(0x24a)](_0x53520c[_0x4e5fdb(0x268)](0x1))[_0x4e5fdb(0x282)](_0x53ac57=>{const _0x35b05f=_0x4e5fdb;this['_logService'][_0x35b05f(0x564)](_0x35b05f(0x248),_0x35b05f(0x212),_0x53ac57),this[_0x35b05f(0x519)]();});}}catch(_0x1fded1){this[_0x4e5fdb(0x38c)]['error'](_0x1fded1),this[_0x4e5fdb(0x519)]();}}['_onConnectionOpen'](_0x37c981){const _0x708143=_0xb9a23e;this[_0x708143(0x38c)][_0x708143(0x564)](_0x708143(0x248),'socket\x20open.'),_0x37c981[_0x708143(0x428)]({'cmd':_0x4ef664[_0x708143(0x4a7)]}),this[_0x708143(0x2c1)]();}[_0xb9a23e(0x519)](){const _0x24b74a=_0xb9a23e;var _0x52df08;this[_0x24b74a(0x3c0)][_0x24b74a(0x438)](0x2),this[_0x24b74a(0x29e)][_0x24b74a(0x438)](null),this[_0x24b74a(0x386)](),this[_0x24b74a(0x2f1)](),this[_0x24b74a(0x2c5)]=!0x1,this['_retryCount']<((_0x52df08=this['_configService'][_0x24b74a(0x496)](_0x21cbf5))!=null?_0x52df08:0x3)?(this[_0x24b74a(0x494)](this[_0x24b74a(0x41a)]),this[_0x24b74a(0x41a)]+=0x1):this[_0x24b74a(0x493)][_0x24b74a(0x46d)]({'type':_0x7ca5b0[_0x24b74a(0x4f7)][_0x24b74a(0x434)],'content':this[_0x24b74a(0x530)]['t'](_0x24b74a(0x3c4))});}[_0xb9a23e(0x494)](_0x520502){const _0xa9bb56=_0xb9a23e;var _0x307b5d;const _0xfd6e20=((_0x307b5d=this['_configService']['getConfig'](_0x1a300a))!=null?_0x307b5d:0x4e20)*0x2**_0x520502;this[_0xa9bb56(0x493)][_0xa9bb56(0x46d)]({'type':_0x7ca5b0[_0xa9bb56(0x4f7)][_0xa9bb56(0x1f9)],'content':this[_0xa9bb56(0x530)]['t']('session.will-retry')}),this[_0xa9bb56(0x561)]=setTimeout(()=>{const _0x1c51d2=_0xa9bb56;this[_0x1c51d2(0x36d)](),clearTimeout(this[_0x1c51d2(0x561)]),this[_0x1c51d2(0x561)]=null;},_0xfd6e20);}[_0xb9a23e(0x2c1)](){const _0x4c1eca=_0xb9a23e;var _0xa643fd;this[_0x4c1eca(0x2f1)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x4c1eca(0x4d3)](),(_0xa643fd=this[_0x4c1eca(0x1ec)][_0x4c1eca(0x496)](_0x323501))!=null?_0xa643fd:0x7530);}[_0xb9a23e(0x4d3)](){const _0x56b375=_0xb9a23e;this[_0x56b375(0x23c)]['send']({'cmd':_0x4ef664[_0x56b375(0x2b0)]}),this[_0x56b375(0x52f)]();}['_waitForHeartbeatResponse'](){const _0x52eeee=_0xb9a23e;var _0x233914;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x233914=this[_0x52eeee(0x1ec)][_0x52eeee(0x496)](_0x74042e))!=null?_0x233914:0x2710);}[_0xb9a23e(0x2fa)](_0x1e9f07,_0x2cbde6){const _0x512de4=_0xb9a23e,{cmd:_0x593b76}=_0x2cbde6;_0x593b76===_0x4ef664[_0x512de4(0x4a7)]&&!this[_0x512de4(0x2c5)]&&(_0x1e9f07['memberID']=_0x2cbde6['data'][_0x512de4(0x382)],this[_0x512de4(0x29e)][_0x512de4(0x438)](_0x1e9f07),this[_0x512de4(0x3c0)][_0x512de4(0x438)](0x3),this[_0x512de4(0x2c5)]=!0x0),_0x593b76===_0x4ef664[_0x512de4(0x2b0)]&&this[_0x512de4(0x386)](),this[_0x512de4(0x2c1)]();}[_0xb9a23e(0x2f1)](){const _0x479f59=_0xb9a23e;this[_0x479f59(0x263)]!=null&&(clearTimeout(this[_0x479f59(0x263)]),this[_0x479f59(0x263)]=null);}[_0xb9a23e(0x386)](){const _0x1c00ac=_0xb9a23e;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x1c00ac(0x32e)]),this['_timeoutTimer']=null);}},_0x2dfa89[_0xb9a23e(0x538)]=_0x1690a3([_0x133f8a(0x0,_0x46d633[_0xb9a23e(0x2a5)](_0x46d633[_0xb9a23e(0x215)])),_0x133f8a(0x1,_0x46d633[_0xb9a23e(0x2a5)](_0x39562f[_0xb9a23e(0x303)])),_0x133f8a(0x2,_0x38d129['IMessageService']),_0x133f8a(0x3,_0x39562f[_0xb9a23e(0x3d4)]),_0x133f8a(0x4,_0x39562f[_0xb9a23e(0x251)]),_0x133f8a(0x5,_0x3403de)],_0x2dfa89['CollaborationSessionService']);var _0x3c583c=Object['defineProperty'],_0x2a6455=Object[_0xb9a23e(0x2ed)],_0xab2692=(_0x5d16f2,_0x3fbbdd,_0x2ff96d,_0x212311)=>{const _0x245676=_0xb9a23e;for(var _0x3d504d=_0x212311>0x1?void 0x0:_0x212311?_0x2a6455(_0x3fbbdd,_0x2ff96d):_0x3fbbdd,_0x441e9c=_0x5d16f2[_0x245676(0x480)]-0x1,_0x3b574b;_0x441e9c>=0x0;_0x441e9c--)(_0x3b574b=_0x5d16f2[_0x441e9c])&&(_0x3d504d=(_0x212311?_0x3b574b(_0x3fbbdd,_0x2ff96d,_0x3d504d):_0x3b574b(_0x3d504d))||_0x3d504d);return _0x212311&&_0x3d504d&&_0x3c583c(_0x3fbbdd,_0x2ff96d,_0x3d504d),_0x3d504d;},_0x41471a=(_0x2ca707,_0xe60e3c)=>(_0x4bc07a,_0x23f6a0)=>_0xe60e3c(_0x4bc07a,_0x23f6a0,_0x2ca707);_0x2dfa89[_0xb9a23e(0x38a)]=class extends _0x39562f['Disposable']{constructor(_0x3d1661,_0x4a7841,_0x1a7ef0,_0x56ba22,_0x1cdb3e){const _0xbe8318=_0xb9a23e;super(),_0x3e3dad(this,_0xbe8318(0x3b5),new Map()),_0x3e3dad(this,_0xbe8318(0x28f),new Map()),_0x3e3dad(this,_0xbe8318(0x55e),!0x1),(this[_0xbe8318(0x1ec)]=_0x3d1661,this[_0xbe8318(0x3d2)]=_0x4a7841,this['_beforeCloseService']=_0x1a7ef0,this['_localeService']=_0x56ba22,this[_0xbe8318(0x3ee)]=_0x1cdb3e,this[_0xbe8318(0x379)]());}[_0xb9a23e(0x318)](){const _0x38f483=_0xb9a23e;this[_0x38f483(0x55e)]=!0x0;}[_0xb9a23e(0x344)](){const _0x2fb53c=_0xb9a23e;this[_0x2fb53c(0x55e)]=!0x1;}[_0xb9a23e(0x51e)](){const _0x1659a6=_0xb9a23e;this[_0x1659a6(0x51a)]()[_0x1659a6(0x1fd)](()=>super[_0x1659a6(0x51e)]());}async[_0xb9a23e(0x21c)](_0x50b019){const _0x44051e=_0xb9a23e;return this[_0x44051e(0x55e)]?null:this['_localStorageService'][_0x44051e(0x2c3)](_0x23216f(_0x50b019));}async[_0xb9a23e(0x4d9)](_0x508401,_0x187aa5){const _0x5a452f=_0xb9a23e;return!!this[_0x5a452f(0x3d2)][_0x5a452f(0x3d6)](_0x508401,_0x187aa5);}[_0xb9a23e(0x4f1)](_0x178520,_0x44e1d2,_0x7d48ef,_0x4da272){const _0x20ed57=_0xb9a23e,_0x39b079=this[_0x20ed57(0x3ee)][_0x20ed57(0x259)](_0x178520);this[_0x20ed57(0x3b5)]['set'](_0x178520,{'unitID':_0x178520,'type':_0x44e1d2,'awaitingChangeset':_0x7d48ef,'mutations':_0x4da272,'rev':_0x39b079}),this[_0x20ed57(0x28f)][_0x20ed57(0x1b4)](_0x178520)||this[_0x20ed57(0x3ca)](_0x178520);}['_scheduleSaving'](_0x1850a4){const _0x3ae6fd=_0xb9a23e,_0x4943c5=this[_0x3ae6fd(0x3b6)]();_0x4943c5===0x0?this[_0x3ae6fd(0x453)](_0x1850a4):this[_0x3ae6fd(0x28f)]['set'](_0x1850a4,setTimeout(()=>this['_saveCache'](_0x1850a4),_0x4943c5));}[_0xb9a23e(0x3b6)](){const _0x5452c7=_0xb9a23e;var _0x2e8494;return(_0x2e8494=this['_configService'][_0x5452c7(0x496)](_0x339ff6))!=null?_0x2e8494:0x3e8;}[_0xb9a23e(0x453)](_0x11a04c){const _0x58e769=_0xb9a23e,_0x1eac6b=this[_0x58e769(0x28f)]['get'](_0x11a04c);return _0x1eac6b!==void 0x0&&window[_0x58e769(0x267)](_0x1eac6b),this[_0x58e769(0x3d2)][_0x58e769(0x3d6)](_0x23216f(_0x11a04c),this[_0x58e769(0x3b5)][_0x58e769(0x3a6)](_0x11a04c))[_0x58e769(0x1fd)](()=>this[_0x58e769(0x28f)]['delete'](_0x11a04c));}async[_0xb9a23e(0x51a)](){const _0x20d97d=_0xb9a23e,_0x30a98b=[];this[_0x20d97d(0x28f)][_0x20d97d(0x560)]((_0x5dedcf,_0x185bd5)=>{const _0x47988d=_0x20d97d;window[_0x47988d(0x267)](_0x5dedcf),_0x30a98b[_0x47988d(0x509)](this[_0x47988d(0x453)](_0x185bd5)['then'](()=>{const _0xa453f3=_0x47988d;this[_0xa453f3(0x28f)]['delete'](_0x185bd5);}));}),await Promise[_0x20d97d(0x1a1)](_0x30a98b);}[_0xb9a23e(0x379)](){const _0x2086c9=_0xb9a23e;this['disposeWithMe'](this[_0x2086c9(0x339)][_0x2086c9(0x43d)](()=>{const _0x36112d=_0x2086c9;if(this['_saveTaskMap'][_0x36112d(0x512)])return this[_0x36112d(0x530)]['t'](_0x36112d(0x389));}));}},_0x2dfa89['LocalCacheService']=_0xab2692([_0x41471a(0x0,_0x39562f['IConfigService']),_0x41471a(0x1,_0x39562f['ILocalStorageService']),_0x41471a(0x2,_0x38d129['IBeforeCloseService']),_0x41471a(0x3,_0x46d633[_0xb9a23e(0x2a5)](_0x39562f['LocaleService'])),_0x41471a(0x4,_0x46d633[_0xb9a23e(0x2a5)](_0x244d6f[_0xb9a23e(0x2e4)]))],_0x2dfa89[_0xb9a23e(0x38a)]);function _0x23216f(_0x352345){const _0xde1fb8=_0xb9a23e;return _0xde1fb8(0x2dd)+_0x352345;}const _0x174263=_0x46d633[_0xb9a23e(0x1dd)]('univer-pro.collaboration-client.single-active-unit-service');var _0x11275d=(_0x2ee70f=>(_0x2ee70f[_0x2ee70f[_0xb9a23e(0x53d)]=0x0]=_0xb9a23e(0x53d),_0x2ee70f[_0x2ee70f[_0xb9a23e(0x373)]=0x1]=_0xb9a23e(0x373),_0x2ee70f))(_0x11275d||{});const _0x234aea=0x7530,_0x14413c=_0xb9a23e(0x1d8);class _0x2dc57e extends _0x39562f[_0xb9a23e(0x4bf)]{constructor(){const _0x5e5871=_0xb9a23e;super(),_0x3e3dad(this,_0x5e5871(0x50f),_0x39562f[_0x5e5871(0x507)][_0x5e5871(0x375)]()),_0x3e3dad(this,'_selfUnitIDs',new Set()),_0x3e3dad(this,_0x5e5871(0x3b4),new Map()),_0x3e3dad(this,_0x5e5871(0x400),null),_0x3e3dad(this,_0x5e5871(0x4bc),new Map()),_0x3e3dad(this,'_unitStatus',new Map()),this[_0x5e5871(0x3e7)]();}['dispose'](){const _0x2f502f=_0xb9a23e;super[_0x2f502f(0x51e)](),this[_0x2f502f(0x4bc)][_0x2f502f(0x560)]((_0x4e02da,_0x2db93f)=>this['_removeClearOtherTimer'](_0x2db93f)),this[_0x2f502f(0x400)]&&window[_0x2f502f(0x42d)](this[_0x2f502f(0x400)]);}[_0xb9a23e(0x36b)](_0x41c8d0){const _0x3d1234=_0xb9a23e;return this[_0x3d1234(0x4d0)](_0x41c8d0)[_0x3d1234(0x24a)](_0x1fa2ab[_0x3d1234(0x516)]());}['editingUnit'](_0x4142d7){const _0x4cd962=_0xb9a23e;this[_0x4cd962(0x222)][_0x4cd962(0x512)]===0x0&&this[_0x4cd962(0x25d)](),this[_0x4cd962(0x222)][_0x4cd962(0x398)](_0x4142d7),this[_0x4cd962(0x2a4)]({'type':0x0,'memberID':this[_0x4cd962(0x50f)],'unitIDs':[_0x4142d7],'isForwarded':!0x1});}[_0xb9a23e(0x3a3)](_0x3ebfe4){const _0x47d9b6=_0xb9a23e;this[_0x47d9b6(0x222)][_0x47d9b6(0x319)](_0x3ebfe4),this[_0x47d9b6(0x222)]['size']===0x0&&this[_0x47d9b6(0x400)]&&window['clearInterval'](this[_0x47d9b6(0x400)]);}[_0xb9a23e(0x3e7)](){const _0x120179=_0xb9a23e;this[_0x120179(0x28a)](_0x39562f[_0x120179(0x3e2)](_0x1fa2ab[_0x120179(0x497)](window,'storage')[_0x120179(0x282)](_0x22d7df=>{const _0x16c5bd=_0x120179;if(_0x22d7df[_0x16c5bd(0x521)]!==_0x14413c||!_0x22d7df[_0x16c5bd(0x41b)])return;const _0x44fc4f=JSON['parse'](_0x22d7df['newValue']);this[_0x16c5bd(0x4c3)](_0x44fc4f);}))),window[_0x120179(0x433)](_0x120179(0x2a0),()=>this[_0x120179(0x2a4)]({'type':0x1,'memberID':this[_0x120179(0x50f)],'unitIDs':Array[_0x120179(0x225)](this['_selfUnitIDs'])}));}[_0xb9a23e(0x4c3)](_0x42d0e8){const _0x175428=_0xb9a23e;switch(_0x42d0e8[_0x175428(0x2a3)]){case 0x0:this[_0x175428(0x4d2)](_0x42d0e8);break;case 0x1:this['_handleLeaveEvent'](_0x42d0e8);break;case 0x2:this['_handleHeartbeatEvent'](_0x42d0e8);break;}}['_handleJoinEvent'](_0x4aec4b){const _0x209e63=_0xb9a23e,{unitIDs:_0x5e86c3,memberID:_0x2c01e0,isForwarded:_0x2e0d2e}=_0x4aec4b;_0x5e86c3['forEach'](_0x2b7c5d=>{const _0x945615=_0x231b;if(!_0x2e0d2e&&this[_0x945615(0x3b4)][_0x945615(0x1b4)](_0x2b7c5d)&&this[_0x945615(0x4d0)](_0x2b7c5d)[_0x945615(0x438)](0x1),!this['_unitOnClients'][_0x945615(0x1b4)](_0x2b7c5d)||!this[_0x945615(0x3b4)][_0x945615(0x3a6)](_0x2b7c5d)['has'](_0x2c01e0)){const _0x2efb7d=this[_0x945615(0x3b4)][_0x945615(0x3a6)](_0x2b7c5d)||new Set();_0x2efb7d[_0x945615(0x398)](_0x2c01e0),this[_0x945615(0x3b4)][_0x945615(0x3b1)](_0x2b7c5d,_0x2efb7d),this['_scheduleClearOtherTimer'](_0x2c01e0);}}),_0x2e0d2e||this[_0x209e63(0x2a4)]({'type':0x0,'memberID':this[_0x209e63(0x50f)],'unitIDs':[...this[_0x209e63(0x222)]],'isForwarded':!0x0});}[_0xb9a23e(0x32b)](_0x180e80){const _0x1ce19a=_0xb9a23e;this['_removeClearOtherTimer'](_0x180e80);const _0x38d802=window[_0x1ce19a(0x390)](()=>{const _0x9be46a=_0x1ce19a;this[_0x9be46a(0x3b4)]['forEach'](_0x1b6a6b=>{const _0x147566=_0x9be46a;_0x1b6a6b[_0x147566(0x319)](_0x180e80);});},_0x234aea*0x2);this['_clearOtherTimers'][_0x1ce19a(0x3b1)](_0x180e80,_0x38d802);}[_0xb9a23e(0x34d)](_0x441ec4){const _0x1124bd=_0xb9a23e;if(this[_0x1124bd(0x4bc)][_0x1124bd(0x1b4)](_0x441ec4)){const _0x2cd0c=this[_0x1124bd(0x4bc)][_0x1124bd(0x3a6)](_0x441ec4);_0x2cd0c&&window[_0x1124bd(0x267)](_0x2cd0c),this['_clearOtherTimers'][_0x1124bd(0x3b1)](_0x441ec4,null);}}[_0xb9a23e(0x525)](_0x296e59){const _0x27779c=_0xb9a23e,{memberID:_0x158fb2,unitIDs:_0x41a811}=_0x296e59;_0x41a811[_0x27779c(0x560)](_0x201f94=>{const _0x386b21=_0x27779c;var _0x1e2738;const _0x1dfb64=this[_0x386b21(0x3b4)][_0x386b21(0x3a6)](_0x201f94);_0x1dfb64&&(_0x1dfb64[_0x386b21(0x319)](_0x158fb2),(_0x1e2738=this[_0x386b21(0x4d0)](_0x201f94))==null||_0x1e2738['next'](_0x1dfb64[_0x386b21(0x512)]===0x0?0x0:0x1));}),this[_0x27779c(0x34d)](_0x158fb2);}[_0xb9a23e(0x1d5)](_0x30c1d4){const _0xc2b431=_0xb9a23e;this[_0xc2b431(0x32b)](_0x30c1d4[_0xc2b431(0x382)]);}['_send'](_0xd09792){const _0x3ad1db=_0xb9a23e;localStorage[_0x3ad1db(0x3d6)](_0x14413c,JSON[_0x3ad1db(0x47b)](_0xd09792));}[_0xb9a23e(0x25d)](){const _0x4709e9=_0xb9a23e;this[_0x4709e9(0x400)]=window[_0x4709e9(0x3ed)](()=>{const _0x2aa2f8=_0x4709e9;this['_send']({'type':0x2,'memberID':this[_0x2aa2f8(0x50f)]});},_0x234aea);}[_0xb9a23e(0x4d0)](_0x1ebf9a){const _0x309070=_0xb9a23e;return this[_0x309070(0x4b7)][_0x309070(0x1b4)](_0x1ebf9a)||this[_0x309070(0x4b7)][_0x309070(0x3b1)](_0x1ebf9a,new _0x1fa2ab[(_0x309070(0x492))](0x0)),this['_unitStatus'][_0x309070(0x3a6)](_0x1ebf9a);}}var _0x48053a=Object['defineProperty'],_0x31719e=Object['getOwnPropertyDescriptor'],_0x57726c=(_0x24ff49,_0x2cf427,_0x55a450,_0x3f4b11)=>{for(var _0xa9bfe2=_0x3f4b11>0x1?void 0x0:_0x3f4b11?_0x31719e(_0x2cf427,_0x55a450):_0x2cf427,_0x59ea12=_0x24ff49['length']-0x1,_0x105d61;_0x59ea12>=0x0;_0x59ea12--)(_0x105d61=_0x24ff49[_0x59ea12])&&(_0xa9bfe2=(_0x3f4b11?_0x105d61(_0x2cf427,_0x55a450,_0xa9bfe2):_0x105d61(_0xa9bfe2))||_0xa9bfe2);return _0x3f4b11&&_0xa9bfe2&&_0x48053a(_0x2cf427,_0x55a450,_0xa9bfe2),_0xa9bfe2;},_0x5bddba=(_0x58a87e,_0x36d0b8)=>(_0x579a3e,_0x12d15f)=>_0x36d0b8(_0x579a3e,_0x12d15f,_0x58a87e);let _0x4bc2a2=class{constructor(_0x3d0596,_0x15b32e){const _0x381e79=_0xb9a23e;this[_0x381e79(0x273)]=_0x3d0596,this['_transformService']=_0x15b32e;}[_0xb9a23e(0x4ab)](_0x155ff3){const _0x3241f0=_0xb9a23e;this['_transformUndoRedoStack'](_0x155ff3),this[_0x3241f0(0x1c2)](_0x155ff3);}[_0xb9a23e(0x2eb)](_0x12a123){const _0x3b68ae=_0xb9a23e,_0x4e6ac4=this[_0x3b68ae(0x273)][_0x3b68ae(0x3a6)](_0x239a47[_0x3b68ae(0x1ce)]),{redoCache:_0x11f194}=_0x4e6ac4[_0x3b68ae(0x3c1)]();if(_0x11f194[_0x3b68ae(0x480)]===0x0)return _0x12a123;let _0x3f6fb4=_0x39562f[_0x3b68ae(0x507)][_0x3b68ae(0x2d9)](_0x12a123[_0x3b68ae(0x1bb)][0x0]);for(let _0x360122=0x0;_0x360122<_0x11f194[_0x3b68ae(0x480)];_0x360122++){const _0x39f974={'id':'doc.mutation.rich-text-editing','params':{..._0x11f194[_0x360122]}},_0x4fd928=this['_transformService'][_0x3b68ae(0x4ed)](_0x3f6fb4,_0x39f974,!0x1);if(_0x244d6f[_0x3b68ae(0x443)](_0x4fd928))throw _0x4fd928[_0x3b68ae(0x4f3)];_0x3f6fb4=_0x4fd928[_0x3b68ae(0x54e)];}return{..._0x39562f[_0x3b68ae(0x507)]['deepClone'](_0x12a123),'mutations':[_0x3f6fb4]};}[_0xb9a23e(0x4c4)](_0x926ed0){const _0x26ddc4=_0xb9a23e,_0x3d6540=this['_injector'][_0x26ddc4(0x3a6)](_0x239a47[_0x26ddc4(0x1ce)]),{undoCache:_0x1ec83f,redoCache:_0x184ab9}=_0x3d6540[_0x26ddc4(0x3c1)]();if(_0x1ec83f[_0x26ddc4(0x480)]===0x0||_0x184ab9[_0x26ddc4(0x480)]===0x0)return;const _0x4ac10e=[],_0xa51873=[];let _0x2b1780=_0x39562f[_0x26ddc4(0x507)][_0x26ddc4(0x2d9)](_0x926ed0[_0x26ddc4(0x1bb)][0x0]),_0x3fe7b0=_0x39562f[_0x26ddc4(0x507)]['deepClone'](_0x926ed0['mutations'][0x0]);for(let _0x37e7c2=_0x1ec83f[_0x26ddc4(0x480)]-0x1;_0x37e7c2>=0x0;_0x37e7c2--){const _0xe711f={'id':'doc.mutation.rich-text-editing','params':{..._0x1ec83f[_0x37e7c2]}},_0x4e57f9={'id':_0x26ddc4(0x1f2),'params':{..._0x184ab9[_0x37e7c2]}},_0x5b0092=this[_0x26ddc4(0x1e0)]['transformMutation'](_0x2b1780,_0xe711f,!0x1),_0x19b32d=this[_0x26ddc4(0x1e0)]['transformMutation'](_0x3fe7b0,_0x4e57f9,!0x1);if(_0x244d6f[_0x26ddc4(0x443)](_0x5b0092))throw _0x5b0092[_0x26ddc4(0x4f3)];if(_0x244d6f[_0x26ddc4(0x443)](_0x19b32d))throw _0x19b32d[_0x26ddc4(0x4f3)];_0x4ac10e[_0x26ddc4(0x22a)](_0x5b0092['m2Prime'][_0x26ddc4(0x1b9)]),_0xa51873['unshift'](_0x19b32d[_0x26ddc4(0x349)][_0x26ddc4(0x1b9)]),_0x2b1780=_0x5b0092[_0x26ddc4(0x54e)],_0x3fe7b0=_0x19b32d['m1Prime'];}_0x3d6540['setUndoRedoMutationParamsCache']({'undoCache':_0x4ac10e,'redoCache':_0xa51873});}[_0xb9a23e(0x1c2)](_0x45c333){const _0x2f97b2=_0xb9a23e,_0x13f447=this[_0x2f97b2(0x273)][_0x2f97b2(0x3a6)](_0x239a47['IMEInputManagerService']),_0x22de14=_0x13f447['getActiveRange']();if(_0x22de14==null)return;const _0x4d1dc6=[{'id':_0x2f97b2(0x1f2),'params':{'unitId':_0x45c333[_0x2f97b2(0x474)],'actions':null,'textRanges':[_0x22de14]}}],_0x387a88=this[_0x2f97b2(0x1e0)]['transformMutationsWithChangeset'](_0x45c333,_0x4d1dc6);if(!_0x244d6f['isTransformMutationsWithChangesetSuccess'](_0x387a88))throw _0x387a88[_0x2f97b2(0x4f3)];const _0xeee26=_0x387a88[_0x2f97b2(0x349)][0x0]['params'][_0x2f97b2(0x1e2)];Array[_0x2f97b2(0x1b3)](_0xeee26)&&_0xeee26['length']&&_0x13f447[_0x2f97b2(0x44c)](_0xeee26[0x0]);}};_0x4bc2a2=_0x57726c([_0x5bddba(0x0,_0x46d633[_0xb9a23e(0x2a5)](_0x46d633[_0xb9a23e(0x215)])),_0x5bddba(0x1,_0x244d6f[_0xb9a23e(0x444)])],_0x4bc2a2);var _0x517166=Object['defineProperty'],_0x35c94a=Object[_0xb9a23e(0x2ed)],_0x4ac5d6=(_0x406ff2,_0x2b6e2c,_0x587d72,_0x41d7ed)=>{const _0x131284=_0xb9a23e;for(var _0x494256=_0x41d7ed>0x1?void 0x0:_0x41d7ed?_0x35c94a(_0x2b6e2c,_0x587d72):_0x2b6e2c,_0x33d217=_0x406ff2[_0x131284(0x480)]-0x1,_0x49ca0b;_0x33d217>=0x0;_0x33d217--)(_0x49ca0b=_0x406ff2[_0x33d217])&&(_0x494256=(_0x41d7ed?_0x49ca0b(_0x2b6e2c,_0x587d72,_0x494256):_0x49ca0b(_0x494256))||_0x494256);return _0x41d7ed&&_0x494256&&_0x517166(_0x2b6e2c,_0x587d72,_0x494256),_0x494256;},_0x37474d=(_0x291e06,_0x1bc0bc)=>(_0x1a6ce9,_0x44d754)=>_0x1bc0bc(_0x1a6ce9,_0x44d754,_0x291e06);let _0xede299=class{constructor(_0x4cbb50,_0x37cdbc){const _0x42fdb3=_0xb9a23e;this[_0x42fdb3(0x273)]=_0x4cbb50,this[_0x42fdb3(0x1e0)]=_0x37cdbc;}[_0xb9a23e(0x429)](_0x5379e7){const _0x35c083=_0xb9a23e;var _0x544bd7;const _0x5c4fcc=this[_0x35c083(0x273)][_0x35c083(0x3a6)](_0x239a47[_0x35c083(0x3c5)]),_0x848f9c=(_0x544bd7=_0x5c4fcc[_0x35c083(0x206)]())!=null?_0x544bd7:[],_0x1b2ebd=_0x848f9c==null?void 0x0:_0x848f9c['map'](_0x239a47[_0x35c083(0x29b)]);if(_0x1b2ebd['length']===0x0)return;const _0x25a4d0=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5379e7[_0x35c083(0x474)],'actions':null,'textRanges':_0x1b2ebd}}],_0x33776f=this[_0x35c083(0x1e0)][_0x35c083(0x314)](_0x5379e7,_0x25a4d0);if(!_0x244d6f[_0x35c083(0x39c)](_0x33776f))throw _0x33776f['error'];const _0x1de98c=_0x33776f[_0x35c083(0x349)][0x0][_0x35c083(0x1b9)][_0x35c083(0x1e2)];Array[_0x35c083(0x1b3)](_0x1de98c)&&_0x1de98c[_0x35c083(0x480)]&&_0x5c4fcc[_0x35c083(0x233)](_0x1de98c,!0x1);}};_0xede299=_0x4ac5d6([_0x37474d(0x0,_0x46d633['Inject'](_0x46d633[_0xb9a23e(0x215)])),_0x37474d(0x1,_0x244d6f[_0xb9a23e(0x444)])],_0xede299);function _0xcef2fd(_0x51d8cc){const _0x13f44e=_0xb9a23e;let _0x3d4119='';for(const _0x23764e of _0x51d8cc){const {startOffset:_0x2f91d4,endOffset:_0x194d6a,isActive:_0x48bc5f}=_0x23764e;_0x3d4119[_0x13f44e(0x480)]&&(_0x3d4119+=','),_0x3d4119+=_0x2f91d4+':'+_0x194d6a+':'+(_0x48bc5f?'1':'0');}return _0x3d4119;}function _0x5ea618(_0x410c03){const _0x2f4f30=_0xb9a23e,_0x9a01c0=_0x410c03[_0x2f4f30(0x3fc)](','),_0x2a9109=[];for(const _0x9133a2 of _0x9a01c0){const [_0x43d0f6,_0x31bf10,_0x341663]=_0x9133a2[_0x2f4f30(0x3fc)](':');_0x2a9109[_0x2f4f30(0x509)]({'startOffset':Number(_0x43d0f6),'endOffset':Number(_0x31bf10),'collapsed':_0x43d0f6===_0x31bf10,'isActive':_0x341663==='1'});}return _0x2a9109[_0x2f4f30(0x2bc)](_0x56059f=>_0x56059f['isActive'])||(_0x2a9109[0x0][_0x2f4f30(0x1c1)]=!0x0),_0x2a9109;}class _0x1287ec extends _0x39562f['RxDisposable']{constructor(){const _0x482993=_0xb9a23e;super(...arguments),_0x3e3dad(this,_0x482993(0x367),new _0x1fa2ab[(_0x482993(0x492))](null)),_0x3e3dad(this,_0x482993(0x45c),this['_collabCursorState$'][_0x482993(0x4bd)]());}[_0xb9a23e(0x42b)](_0x1d043c){const _0x20aaa0=_0xb9a23e,{unitID:_0x3ddc29,memberID:_0x2f04b8,textRanges:_0x21c118}=_0x1d043c,_0x4fc9e4=_0xcef2fd(_0x21c118),_0x177317={'unitID':_0x3ddc29,'memberID':_0x2f04b8,'selection':_0x4fc9e4};this[_0x20aaa0(0x367)][_0x20aaa0(0x438)](_0x177317);}}var _0x38e1e6=Object[_0xb9a23e(0x38b)],_0x237e9a=Object[_0xb9a23e(0x2ed)],_0x416933=(_0x5bf9ce,_0x34bd43,_0x115bd0,_0xa50800)=>{const _0x5812f0=_0xb9a23e;for(var _0x54914e=_0xa50800>0x1?void 0x0:_0xa50800?_0x237e9a(_0x34bd43,_0x115bd0):_0x34bd43,_0x3e9020=_0x5bf9ce[_0x5812f0(0x480)]-0x1,_0x3e7571;_0x3e9020>=0x0;_0x3e9020--)(_0x3e7571=_0x5bf9ce[_0x3e9020])&&(_0x54914e=(_0xa50800?_0x3e7571(_0x34bd43,_0x115bd0,_0x54914e):_0x3e7571(_0x54914e))||_0x54914e);return _0xa50800&&_0x54914e&&_0x38e1e6(_0x34bd43,_0x115bd0,_0x54914e),_0x54914e;},_0x154532=(_0x19245b,_0x1fa0fb)=>(_0x4a66f3,_0x1b37d8)=>_0x1fa0fb(_0x4a66f3,_0x1b37d8,_0x19245b);let _0x4aa7fa=class{constructor(_0x57a7f1,_0x9f360){const _0x57282e=_0xb9a23e;this[_0x57282e(0x273)]=_0x57a7f1,this[_0x57282e(0x1e0)]=_0x9f360;}[_0xb9a23e(0x429)](_0x3fd716){const _0xa2531f=_0xb9a23e;var _0x3f63d1,_0x90cb6c,_0x5b1f38,_0x58dd96;const _0x2ddf04=this['_injector'][_0xa2531f(0x3a6)](_0x552a78[_0xa2531f(0x376)]),{pluginName:_0x459ffc,unitId:_0x1d3ef3,sheetId:_0x3ac1db}=_0x2ddf04['getCurrent']()||{},_0x1da4b2=(_0x3f63d1=_0x2ddf04[_0xa2531f(0x206)]())!=null?_0x3f63d1:[];if(_0x1da4b2[_0xa2531f(0x480)]===0x0||!_0x459ffc||!_0x1d3ef3||!_0x3ac1db)return;const _0x2fd3ca=[{'id':_0x552a78[_0xa2531f(0x502)]['id'],'params':{'unitId':_0x1d3ef3,'subUnitId':_0x3ac1db,'pluginName':_0x459ffc,'selections':_0x39562f['Tools'][_0xa2531f(0x2d9)](_0x1da4b2)}}],_0x41f2e2=this[_0xa2531f(0x1e0)]['transformMutationsWithChangeset'](_0x3fd716,_0x2fd3ca);if(!_0x244d6f['isTransformMutationsWithChangesetSuccess'](_0x41f2e2))throw _0x41f2e2[_0xa2531f(0x4f3)];const _0x305170=(_0x58dd96=(_0x5b1f38=(_0x90cb6c=_0x41f2e2[_0xa2531f(0x349)][0x0])==null?void 0x0:_0x90cb6c['params'])==null?void 0x0:_0x5b1f38[_0xa2531f(0x4f6)])!=null?_0x58dd96:_0x1da4b2;Array[_0xa2531f(0x1b3)](_0x305170)&&_0x305170[_0xa2531f(0x480)]&&this[_0xa2531f(0x273)][_0xa2531f(0x3a6)](_0x39562f[_0xa2531f(0x4b5)])[_0xa2531f(0x2c8)](_0x552a78[_0xa2531f(0x502)]['id'],{'unitId':_0x1d3ef3,'subUnitId':_0x3ac1db,'pluginName':_0x459ffc,'selections':_0x305170});}};_0x4aa7fa=_0x416933([_0x154532(0x0,_0x46d633[_0xb9a23e(0x2a5)](_0x46d633[_0xb9a23e(0x215)])),_0x154532(0x1,_0x244d6f[_0xb9a23e(0x444)])],_0x4aa7fa);const _0x14b690=new Set([_0x552a78['InsertSheetMutation']['id']]);function _0x414cbe(_0x5e7c7c,_0x3e3dbe,_0x38357d,_0x1d6a6c,_0x19bdc8){const _0x5719e2=_0xb9a23e;var _0x5506f4,_0x22686e,_0x3d7927,_0x544c93;const _0x28ddaa=[];for(const _0xed88ae of _0x5e7c7c)if(_0x14b690[_0x5719e2(0x1b4)](_0xed88ae['id'])){if(_0x28ddaa['length']>0x0)break;_0x28ddaa[_0x5719e2(0x509)](_0xed88ae);break;}else _0x28ddaa[_0x5719e2(0x509)](_0xed88ae);const _0x19d5b3=(_0x22686e=(_0x5506f4=_0x19bdc8[_0x5719e2(0x3f5)]())==null?void 0x0:_0x5506f4[_0x5719e2(0x515)])!=null?_0x22686e:'unknown',_0xe67ae5=(_0x544c93=(_0x3d7927=_0x19bdc8[_0x5719e2(0x3f5)]())==null?void 0x0:_0x3d7927[_0x5719e2(0x382)])!=null?_0x544c93:_0x5719e2(0x3c6);return{'changeset':{'unitID':_0x3e3dbe,'type':_0x244d6f[_0x5719e2(0x559)](_0x38357d[_0x5719e2(0x3e0)](_0x3e3dbe)),'baseRev':_0x1d6a6c[_0x5719e2(0x259)](_0x3e3dbe),'revision':0x0,'userID':_0x19d5b3,'memberID':_0xe67ae5,'mutations':_0x28ddaa},'pendingMutations':_0x5e7c7c[_0x5719e2(0x29a)](_0x28ddaa[_0x5719e2(0x480)])};}function _0x5598cf(_0x270299,_0x2ffa61,_0x2d9db4,_0x1d088a,_0x1147cd){const _0x4eaea4=_0xb9a23e;var _0xe7c33b,_0xb9dd9f,_0x3db2fc,_0x4d5f9f;const _0x5818d2=[_0x270299[_0x4eaea4(0x416)]((_0x310804,_0x2a43f3)=>{const _0x537d55=_0x4eaea4;var _0x20b04a;const {id:_0x4f5b50}=_0x310804,{id:_0x5dca2e,type:_0x4f60ab}=_0x2a43f3,_0x19b212=(_0x20b04a=_0x310804[_0x537d55(0x1b9)])!=null?_0x20b04a:{'actions':null},_0x4f87cd=_0x2a43f3[_0x537d55(0x1b9)];if(_0x4f5b50&&_0x4f5b50!==_0x5dca2e)throw new Error(_0x537d55(0x25e)+_0x4f5b50+'\x20-\x20'+_0x5dca2e+'.');return{..._0x310804,'id':_0x5dca2e,'type':_0x4f60ab,'params':{'unitId':_0x4f87cd['unitId'],'textRanges':_0x4f87cd[_0x537d55(0x1e2)],'actions':_0x39562f[_0x537d55(0x1c7)][_0x537d55(0x430)](_0x19b212[_0x537d55(0x3fb)],_0x4f87cd[_0x537d55(0x3fb)])}};},{})],_0x3a5a3c=(_0xb9dd9f=(_0xe7c33b=_0x1147cd[_0x4eaea4(0x3f5)]())==null?void 0x0:_0xe7c33b[_0x4eaea4(0x515)])!=null?_0xb9dd9f:'unknown',_0x255a21=(_0x4d5f9f=(_0x3db2fc=_0x1147cd['getCurrentUser']())==null?void 0x0:_0x3db2fc[_0x4eaea4(0x382)])!=null?_0x4d5f9f:_0x4eaea4(0x3c6);return{'changeset':{'unitID':_0x2ffa61,'type':_0x244d6f[_0x4eaea4(0x559)](_0x2d9db4[_0x4eaea4(0x3e0)](_0x2ffa61)),'baseRev':_0x1d088a[_0x4eaea4(0x259)](_0x2ffa61),'revision':0x0,'userID':_0x3a5a3c,'memberID':_0x255a21,'mutations':_0x5818d2},'pendingMutations':[]};}var _0x42bffb=Object[_0xb9a23e(0x38b)],_0x303b8d=Object[_0xb9a23e(0x2ed)],_0x215c7f=(_0x4300ec,_0x41ea0e,_0x1f02c5,_0x88731b)=>{const _0x47c3b4=_0xb9a23e;for(var _0x37c6ae=_0x88731b>0x1?void 0x0:_0x88731b?_0x303b8d(_0x41ea0e,_0x1f02c5):_0x41ea0e,_0x3a41d1=_0x4300ec[_0x47c3b4(0x480)]-0x1,_0x394b2b;_0x3a41d1>=0x0;_0x3a41d1--)(_0x394b2b=_0x4300ec[_0x3a41d1])&&(_0x37c6ae=(_0x88731b?_0x394b2b(_0x41ea0e,_0x1f02c5,_0x37c6ae):_0x394b2b(_0x37c6ae))||_0x37c6ae);return _0x88731b&&_0x37c6ae&&_0x42bffb(_0x41ea0e,_0x1f02c5,_0x37c6ae),_0x37c6ae;},_0x21f417=(_0x1c2ba9,_0x80762)=>(_0x5d23fc,_0x17ee24)=>_0x80762(_0x5d23fc,_0x17ee24,_0x1c2ba9),_0x3cde1c=(_0x3831ba=>(_0x3831ba[_0xb9a23e(0x547)]=_0xb9a23e(0x3ef),_0x3831ba['SYNCED']=_0xb9a23e(0x25c),_0x3831ba[_0xb9a23e(0x487)]=_0xb9a23e(0x2ad),_0x3831ba[_0xb9a23e(0x2ee)]=_0xb9a23e(0x412),_0x3831ba[_0xb9a23e(0x3a8)]=_0xb9a23e(0x4c8),_0x3831ba[_0xb9a23e(0x228)]=_0xb9a23e(0x51b),_0x3831ba['CONFLICT']='conflict',_0x3831ba[_0xb9a23e(0x354)]=_0xb9a23e(0x343),_0x3831ba))(_0x3cde1c||{});class _0x145db3{constructor(_0x10186a,_0x18e46e,_0x588a38,_0x4793e2,_0x4771bf,_0x3a05e2,_0x316846,_0x5a16dc,_0x126f2a){const _0x3e2cf7=_0xb9a23e;_0x3e3dad(this,_0x3e2cf7(0x457),null),_0x3e3dad(this,_0x3e2cf7(0x1e4),[]),(this[_0x3e2cf7(0x474)]=_0x10186a,this['type']=_0x18e46e,this[_0x3e2cf7(0x26f)]=_0x4771bf,this['_commandService']=_0x3a05e2,this[_0x3e2cf7(0x40d)]=_0x316846,this['_revisionService']=_0x5a16dc,this[_0x3e2cf7(0x557)]=_0x126f2a,this['_awaitingChangeset']=_0x588a38,this[_0x3e2cf7(0x1e4)]=_0x4793e2);}['_checkMissing'](_0x8aac21){const _0x4f3dd6=_0xb9a23e,_0x4e18da=this['_revisionService'][_0x4f3dd6(0x259)](this[_0x4f3dd6(0x474)]);return _0x8aac21[_0x4f3dd6(0x365)]>_0x4e18da+0x1?(this['_handler'][_0x4f3dd6(0x2e3)]({'from':_0x4e18da,'to':_0x8aac21['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x12c8f6){const _0x59863c=_0xb9a23e;this[_0x59863c(0x40d)][_0x59863c(0x461)](this['unitID'],_0x12c8f6);}[_0xb9a23e(0x42e)](_0x44bc42){const _0xa9af1e=_0xb9a23e;var _0x62a069,_0x3cf042;(_0x3cf042=(_0x62a069=this[_0xa9af1e(0x26f)])[_0xa9af1e(0x335)])==null||_0x3cf042[_0xa9af1e(0x29c)](_0x62a069,_0x44bc42);}[_0xb9a23e(0x479)](_0x578a10){const _0x4d4310=_0xb9a23e;var _0x32b3a1,_0x5a9978;return(_0x5a9978=(_0x32b3a1=this[_0x4d4310(0x26f)])['onTransformIME'])==null?void 0x0:_0x5a9978[_0x4d4310(0x29c)](_0x32b3a1,_0x578a10);}[_0xb9a23e(0x415)](_0x5ac651){const _0x5db899=_0xb9a23e;var _0x1ab866,_0x2a28a3,_0x1d8684;return(_0x1d8684=(_0x2a28a3=(_0x1ab866=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2a28a3[_0x5db899(0x29c)](_0x1ab866,_0x5ac651))!=null?_0x1d8684:_0x5ac651;}[_0xb9a23e(0x24e)](_0x2b9d4b){const _0x4f7af4=_0xb9a23e;var _0x3fb68a,_0x150ac7;if(this[_0x4f7af4(0x2a3)]===_0x55e05d[_0x4f7af4(0x49f)]){const {unitID:_0x36855c,mutations:_0x33a2ec,memberID:_0x5e3926}=_0x2b9d4b,_0x3aada7=_0x33a2ec[0x0]['params'][_0x4f7af4(0x1e2)];Array[_0x4f7af4(0x1b3)](_0x3aada7)&&_0x3aada7[_0x4f7af4(0x480)]>0x0&&((_0x150ac7=(_0x3fb68a=this[_0x4f7af4(0x26f)])['onSyncEditingCollabCursor'])==null||_0x150ac7[_0x4f7af4(0x29c)](_0x3fb68a,{'unitID':_0x36855c,'memberID':_0x5e3926,'textRanges':_0x3aada7}));}}['_updateLocalCache'](){const _0x4782e5=_0xb9a23e;this[_0x4782e5(0x557)][_0x4782e5(0x4f1)](this[_0x4782e5(0x474)],this[_0x4782e5(0x2a3)],this[_0x4782e5(0x457)],this['_pendingMutations']);}[_0xb9a23e(0x3a9)](){const _0x45fcdf=_0xb9a23e;return this[_0x45fcdf(0x3ee)][_0x45fcdf(0x259)](this['unitID']);}[_0xb9a23e(0x544)](){const _0x5e982d=_0xb9a23e;this['_revisionService']['incrementRevForDocument'](this[_0x5e982d(0x474)]);}[_0xb9a23e(0x308)](_0x5ae748){const _0x41a75c=_0xb9a23e;var _0x2286ef;const _0xf4f6fd=this[_0x41a75c(0x415)](_0x5ae748),_0x387040=_0x39562f[_0x41a75c(0x4f8)](_0xf4f6fd[_0x41a75c(0x1bb)],this[_0x41a75c(0x384)],{'fromCollab':!0x0});if(!_0x387040[_0x41a75c(0x4ae)])throw _0x387040[_0x41a75c(0x4f3)]instanceof Error?_0x387040[_0x41a75c(0x4f3)]:new Error((_0x2286ef=_0x387040[_0x41a75c(0x4f3)])!=null?_0x2286ef:_0x41a75c(0x3d1));this[_0x41a75c(0x479)](_0xf4f6fd),this[_0x41a75c(0x4e9)](_0x5ae748),this[_0x41a75c(0x42e)](_0xf4f6fd),this['_syncEditingCollabCursor'](_0xf4f6fd),this[_0x41a75c(0x544)]();}}let _0x6f1eec=class extends _0x145db3{constructor(_0xfd843f,_0x1b7934,_0x4543ec,_0x27e9f4,_0x35bbb3,_0x266cc7,_0x41c344,_0x440b0d,_0x12f8e3){const _0x5ca831=_0xb9a23e;super(_0xfd843f,_0x1b7934,null,[],_0x4543ec,_0x440b0d,_0x41c344,_0x27e9f4,_0x35bbb3),_0x3e3dad(this,_0x5ca831(0x23e),_0x5ca831(0x25c)),(this[_0x5ca831(0x273)]=_0x266cc7,this[_0x5ca831(0x38c)]=_0x12f8e3);}['appendMutation'](_0x32aa19){const _0x2f1f25=_0xb9a23e,_0x2817ef=this['_injector']['createInstance'](_0x40e168,this[_0x2f1f25(0x474)],this['type'],[_0x32aa19],this[_0x2f1f25(0x26f)]);return _0x2817ef[_0x2f1f25(0x274)](),_0x2817ef[_0x2f1f25(0x563)](),_0x2817ef;}[_0xb9a23e(0x325)](_0x19b65d){const _0x486d5c=_0xb9a23e;if(this[_0x486d5c(0x347)](_0x19b65d))return this[_0x486d5c(0x273)]['createInstance'](_0x500eaf,this[_0x486d5c(0x474)],this[_0x486d5c(0x2a3)],null,[],null,[_0x19b65d],this[_0x486d5c(0x26f)]);try{return this[_0x486d5c(0x308)](_0x19b65d),this;}catch(_0x19e279){return this[_0x486d5c(0x38c)][_0x486d5c(0x4f3)](_0x486d5c(0x370),_0x19e279),this;}}[_0xb9a23e(0x481)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0xb9a23e(0x20a)](){const _0x41c8fd=_0xb9a23e;throw new Error(_0x41c8fd(0x3ea));}[_0xb9a23e(0x296)](){const _0x998ee0=_0xb9a23e;return this['_injector'][_0x998ee0(0x4dc)](_0x5a9a82,this['unitID'],this[_0x998ee0(0x2a3)],null,[],this[_0x998ee0(0x26f)]);}[_0xb9a23e(0x1de)](){return this;}['resend'](){const _0x330648=_0xb9a23e;throw new Error(_0x330648(0x4d5));}};_0x6f1eec=_0x215c7f([_0x21f417(0x3,_0x46d633[_0xb9a23e(0x2a5)](_0x244d6f[_0xb9a23e(0x2e4)])),_0x21f417(0x4,_0x46d633['Inject'](_0x2dfa89[_0xb9a23e(0x38a)])),_0x21f417(0x5,_0x46d633['Inject'](_0x46d633[_0xb9a23e(0x215)])),_0x21f417(0x6,_0x39562f[_0xb9a23e(0x4b1)]),_0x21f417(0x7,_0x39562f[_0xb9a23e(0x4b5)]),_0x21f417(0x8,_0x39562f[_0xb9a23e(0x3d4)])],_0x6f1eec);let _0x40e168=class extends _0x145db3{constructor(_0xc75f8e,_0x19b835,_0xf80dcc,_0x12c122,_0x25cf8c,_0x195ee2,_0x4aebbd,_0x7cfc4d,_0x503169,_0x489f54,_0x1d759d,_0x4c6e51,_0x1f8f9c,_0x422671){const _0x15de00=_0xb9a23e;super(_0xc75f8e,_0x19b835,null,_0xf80dcc,_0x12c122,_0x489f54,_0x422671,_0x195ee2,_0x4aebbd),_0x3e3dad(this,_0x15de00(0x23e),_0x15de00(0x2ad)),_0x3e3dad(this,'_scheduleTimestamp',null),_0x3e3dad(this,'_sendingTimer',null),(this[_0x15de00(0x273)]=_0x25cf8c,this[_0x15de00(0x50c)]=_0x7cfc4d,this[_0x15de00(0x38c)]=_0x503169,this[_0x15de00(0x1ec)]=_0x1d759d,this[_0x15de00(0x1e0)]=_0x4c6e51,this[_0x15de00(0x328)]=_0x1f8f9c);}[_0xb9a23e(0x2b8)](_0x4e9610){const _0x2bb277=_0xb9a23e;return this['_pendingMutations']['push'](_0x4e9610),this[_0x2bb277(0x563)](),this;}[_0xb9a23e(0x325)](_0x58c9fc){const _0x5cfba0=_0xb9a23e;if(this[_0x5cfba0(0x347)](_0x58c9fc))return this[_0x5cfba0(0x266)](),this[_0x5cfba0(0x273)][_0x5cfba0(0x4dc)](_0x500eaf,this[_0x5cfba0(0x474)],this[_0x5cfba0(0x2a3)],null,this[_0x5cfba0(0x1e4)],null,[_0x58c9fc],this['_handler']);try{const _0x3e4800=this[_0x5cfba0(0x1e0)][_0x5cfba0(0x314)](_0x58c9fc,this[_0x5cfba0(0x1e4)]);if(_0x244d6f[_0x5cfba0(0x39c)](_0x3e4800)){const {c1Prime:_0x105979,m2Prime:_0x51ff3b}=_0x3e4800;this['_executeRemoteChangeset'](_0x105979);const _0x6acfdf=this['_injector'][_0x5cfba0(0x4dc)](_0x40e168,this[_0x5cfba0(0x474)],this[_0x5cfba0(0x2a3)],_0x51ff3b,this[_0x5cfba0(0x26f)]);return this[_0x5cfba0(0x266)](),_0x6acfdf[_0x5cfba0(0x274)](this[_0x5cfba0(0x329)]?Math[_0x5cfba0(0x2b5)](0x0,new Date()[_0x5cfba0(0x317)]()-this['_scheduleTimestamp']):this[_0x5cfba0(0x2f7)]()),_0x6acfdf;}throw _0x3e4800['error'];}catch(_0x28f7b8){return this['_logService'][_0x5cfba0(0x4f3)](_0x28f7b8),this['_onConflict'](!0x1);}}[_0xb9a23e(0x481)](){const _0x25f0ec=_0xb9a23e;throw new Error(_0x25f0ec(0x24d));}['onRemoteRej'](){const _0x2ba16c=_0xb9a23e;throw new Error(_0x2ba16c(0x458));}['toggleOffline'](){const _0x51b588=_0xb9a23e;return this[_0x51b588(0x266)](),this[_0x51b588(0x273)][_0x51b588(0x4dc)](_0x5a9a82,this['unitID'],this[_0x51b588(0x2a3)],null,this[_0x51b588(0x1e4)],this[_0x51b588(0x26f)]);}[_0xb9a23e(0x1de)](){return this;}[_0xb9a23e(0x274)](_0xbd4444){const _0xf9c99f=_0xb9a23e;_0xbd4444=_0xbd4444!=null?_0xbd4444:this[_0xf9c99f(0x2f7)](),this['_scheduleTimestamp']=new Date()['getTime'](),this['_sendingTimer']=setTimeout(()=>{const _0x6b48c1=_0xf9c99f;this[_0x6b48c1(0x266)]();let _0x4f5622=null;switch(this['type']){case _0x55e05d[_0x6b48c1(0x40a)]:{_0x4f5622=_0x414cbe(this[_0x6b48c1(0x1e4)],this[_0x6b48c1(0x474)],this[_0x6b48c1(0x328)],this[_0x6b48c1(0x3ee)],this[_0x6b48c1(0x50c)]);break;}case _0x55e05d[_0x6b48c1(0x49f)]:{_0x4f5622=_0x5598cf(this[_0x6b48c1(0x1e4)],this[_0x6b48c1(0x474)],this['_univerInstanceService'],this[_0x6b48c1(0x3ee)],this[_0x6b48c1(0x50c)]);break;}default:throw new Error(_0x6b48c1(0x2fe)+this[_0x6b48c1(0x2a3)]+_0x6b48c1(0x1a6));}const {changeset:_0x54eac8,pendingMutations:_0x1c1c06}=_0x4f5622;this['_handler']['onSendChangeset'](_0x54eac8);const _0x2d4c79=_0x1c1c06[_0x6b48c1(0x480)]?this[_0x6b48c1(0x273)][_0x6b48c1(0x4dc)](_0x338cb3,this[_0x6b48c1(0x474)],this['type'],_0x54eac8,_0x1c1c06,this['_handler']):this[_0x6b48c1(0x273)][_0x6b48c1(0x4dc)](_0x381722,this[_0x6b48c1(0x474)],this['type'],_0x54eac8,this[_0x6b48c1(0x26f)]);_0x2d4c79[_0x6b48c1(0x563)](),this[_0x6b48c1(0x26f)]['onStateChange'](this,_0x2d4c79);},_0xbd4444);}[_0xb9a23e(0x2f7)](){const _0x529d90=_0xb9a23e;var _0x5099d1;return(_0x5099d1=this[_0x529d90(0x1ec)][_0x529d90(0x496)](_0x477c27))!=null?_0x5099d1:0x7d0;}[_0xb9a23e(0x21b)](){const _0x425359=_0xb9a23e;throw new Error(_0x425359(0x3bc));}[_0xb9a23e(0x266)](){const _0x3e4c46=_0xb9a23e;this[_0x3e4c46(0x3e4)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0xb9a23e(0x316)](_0x3fe34a){const _0x1d02e7=_0xb9a23e;return this[_0x1d02e7(0x266)](),this[_0x1d02e7(0x273)]['createInstance'](_0x1be45e,this[_0x1d02e7(0x474)],this[_0x1d02e7(0x2a3)],null,this['_pendingMutations'],this[_0x1d02e7(0x26f)],_0x3fe34a);}};_0x40e168=_0x215c7f([_0x21f417(0x4,_0x46d633[_0xb9a23e(0x2a5)](_0x46d633[_0xb9a23e(0x215)])),_0x21f417(0x5,_0x46d633[_0xb9a23e(0x2a5)](_0x244d6f['RevisionService'])),_0x21f417(0x6,_0x46d633[_0xb9a23e(0x2a5)](_0x2dfa89['LocalCacheService'])),_0x21f417(0x7,_0x46d633[_0xb9a23e(0x2a5)](_0x3eae2a)),_0x21f417(0x8,_0x39562f[_0xb9a23e(0x3d4)]),_0x21f417(0x9,_0x39562f[_0xb9a23e(0x4b5)]),_0x21f417(0xa,_0x39562f[_0xb9a23e(0x251)]),_0x21f417(0xb,_0x244d6f['ITransformService']),_0x21f417(0xc,_0x39562f[_0xb9a23e(0x2d6)]),_0x21f417(0xd,_0x39562f[_0xb9a23e(0x4b1)])],_0x40e168);let _0x381722=class extends _0x145db3{constructor(_0x3b97f8,_0x5298e2,_0xd02ee2,_0x130dcd,_0x52bee4,_0x1dafcc,_0x33f29f,_0x4942c1,_0x5acac0,_0x201d60,_0xcc67f8){const _0x143162=_0xb9a23e;super(_0x3b97f8,_0x5298e2,_0xd02ee2,[],_0x130dcd,_0x4942c1,_0xcc67f8,_0x1dafcc,_0x33f29f),_0x3e3dad(this,_0x143162(0x23e),_0x143162(0x412)),(this[_0x143162(0x273)]=_0x52bee4,this[_0x143162(0x38c)]=_0x5acac0,this[_0x143162(0x1e0)]=_0x201d60);}[_0xb9a23e(0x2b8)](_0x1dac7c){const _0x2a1f7d=_0xb9a23e,_0x1776d3=this[_0x2a1f7d(0x273)]['createInstance'](_0x338cb3,this[_0x2a1f7d(0x474)],this['type'],this[_0x2a1f7d(0x457)],[_0x1dac7c],this[_0x2a1f7d(0x26f)]);return _0x1776d3[_0x2a1f7d(0x563)](),_0x1776d3;}['onRemoteChangeset'](_0x61c320){const _0x53f69a=_0xb9a23e;if(this['_checkMissing'](_0x61c320))return this[_0x53f69a(0x273)][_0x53f69a(0x4dc)](_0x500eaf,this[_0x53f69a(0x474)],this['type'],this[_0x53f69a(0x457)],[],null,[_0x61c320],this[_0x53f69a(0x26f)]);try{const _0x28fcec=this[_0x53f69a(0x1e0)][_0x53f69a(0x41d)]([_0x61c320],[this[_0x53f69a(0x457)]],!0x1);if(_0x244d6f[_0x53f69a(0x4d8)](_0x28fcec)){const {c1Prime:_0x575d7a,c2Prime:_0x4c03f5}=_0x28fcec;this[_0x53f69a(0x308)](_0x575d7a[0x0]),_0x4c03f5[0x0]['baseRev']=this[_0x53f69a(0x3a9)]();const _0xca8b67=this[_0x53f69a(0x273)][_0x53f69a(0x4dc)](_0x381722,this[_0x53f69a(0x474)],this['type'],_0x4c03f5[0x0],this[_0x53f69a(0x26f)]);return _0xca8b67[_0x53f69a(0x563)](),_0xca8b67;}return this[_0x53f69a(0x316)](!0x1);}catch(_0x274215){return this['_logService'][_0x53f69a(0x4f3)](_0x274215),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x86c7e2){const _0x618ff7=_0xb9a23e,_0x50f377=this['_revisionService'][_0x618ff7(0x259)](this[_0x618ff7(0x474)]);if(_0x86c7e2[_0x618ff7(0x365)]<_0x50f377-0x1)return this;if(this[_0x618ff7(0x347)](_0x86c7e2))return this[_0x618ff7(0x273)][_0x618ff7(0x4dc)](_0x500eaf,this[_0x618ff7(0x474)],this[_0x618ff7(0x2a3)],null,[],this[_0x618ff7(0x457)],[],this[_0x618ff7(0x26f)]);this[_0x618ff7(0x544)]();const _0x2f11d4=this['_injector'][_0x618ff7(0x4dc)](_0x6f1eec,this[_0x618ff7(0x474)],this[_0x618ff7(0x2a3)],this[_0x618ff7(0x26f)]);return _0x2f11d4[_0x618ff7(0x563)](),_0x2f11d4;}[_0xb9a23e(0x20a)](_0x4c2d9b){const _0x3c343f=_0xb9a23e;return this[_0x3c343f(0x316)](!!(_0x4c2d9b!=null&&_0x4c2d9b[_0x3c343f(0x288)]));}[_0xb9a23e(0x296)](){const _0x225022=_0xb9a23e;return this[_0x225022(0x273)][_0x225022(0x4dc)](_0x5a9a82,this['unitID'],this[_0x225022(0x2a3)],this[_0x225022(0x457)],[],this['_handler']);}['toggleOnline'](){return this;}[_0xb9a23e(0x21b)](){const _0x162430=_0xb9a23e;this['_handler'][_0x162430(0x478)](this[_0x162430(0x457)]);}['_onConflict'](_0x518cc0){const _0x139383=_0xb9a23e;return this[_0x139383(0x273)][_0x139383(0x4dc)](_0x1be45e,this[_0x139383(0x474)],this[_0x139383(0x2a3)],this[_0x139383(0x457)],[],this[_0x139383(0x26f)],_0x518cc0);}};_0x381722=_0x215c7f([_0x21f417(0x4,_0x46d633[_0xb9a23e(0x2a5)](_0x46d633[_0xb9a23e(0x215)])),_0x21f417(0x5,_0x46d633[_0xb9a23e(0x2a5)](_0x244d6f[_0xb9a23e(0x2e4)])),_0x21f417(0x6,_0x46d633['Inject'](_0x2dfa89[_0xb9a23e(0x38a)])),_0x21f417(0x7,_0x39562f[_0xb9a23e(0x4b5)]),_0x21f417(0x8,_0x39562f[_0xb9a23e(0x3d4)]),_0x21f417(0x9,_0x244d6f[_0xb9a23e(0x444)]),_0x21f417(0xa,_0x39562f[_0xb9a23e(0x4b1)])],_0x381722);let _0x338cb3=class extends _0x145db3{constructor(_0x292698,_0x7caab1,_0x5bb6ba,_0x5f1fc1,_0x1d531e,_0x3dc835,_0x44ec40,_0x335cfe,_0x1c11b5,_0x199d83,_0x59522f,_0x2670e9){const _0x44b1c8=_0xb9a23e;super(_0x292698,_0x7caab1,_0x5bb6ba,_0x5f1fc1,_0x1d531e,_0x1c11b5,_0x2670e9,_0x44ec40,_0x335cfe),_0x3e3dad(this,_0x44b1c8(0x23e),_0x44b1c8(0x4c8)),(this[_0x44b1c8(0x273)]=_0x3dc835,this[_0x44b1c8(0x38c)]=_0x199d83,this[_0x44b1c8(0x1e0)]=_0x59522f);}['appendMutation'](_0x3af69f){const _0x4af3df=_0xb9a23e;return this[_0x4af3df(0x1e4)][_0x4af3df(0x509)](_0x3af69f),this;}[_0xb9a23e(0x325)](_0x2d091e){const _0x1b9f73=_0xb9a23e;if(this[_0x1b9f73(0x347)](_0x2d091e))return this['_injector'][_0x1b9f73(0x4dc)](_0x500eaf,this[_0x1b9f73(0x474)],this['type'],this['_awaitingChangeset'],this[_0x1b9f73(0x1e4)],null,[_0x2d091e],this[_0x1b9f73(0x26f)]);try{const _0x3ae539=this[_0x1b9f73(0x1e0)][_0x1b9f73(0x41d)]([_0x2d091e],[this[_0x1b9f73(0x457)]],!0x1);if(_0x244d6f[_0x1b9f73(0x4d8)](_0x3ae539)){const {c1Prime:_0x112853,c2Prime:_0xa40327}=_0x3ae539,_0xb4687f=this[_0x1b9f73(0x1e0)][_0x1b9f73(0x314)](_0x112853[0x0],this[_0x1b9f73(0x1e4)]);if(_0x244d6f[_0x1b9f73(0x39c)](_0xb4687f)){const {c1Prime:_0x39d2e2,m2Prime:_0x57be4e}=_0xb4687f;return this[_0x1b9f73(0x308)](_0x39d2e2),_0xa40327[0x0][_0x1b9f73(0x27e)]=this[_0x1b9f73(0x3a9)](),this[_0x1b9f73(0x273)][_0x1b9f73(0x4dc)](_0x338cb3,this[_0x1b9f73(0x474)],this['type'],_0xa40327[0x0],_0x57be4e,this[_0x1b9f73(0x26f)]);}throw _0xb4687f[_0x1b9f73(0x4f3)];}throw _0x3ae539['error'];}catch(_0x2a7df0){return this[_0x1b9f73(0x38c)][_0x1b9f73(0x4f3)](_0x2a7df0),this[_0x1b9f73(0x316)](!0x1);}}[_0xb9a23e(0x481)](_0x2d6919){const _0x54a7e1=_0xb9a23e;if(this[_0x54a7e1(0x347)](_0x2d6919))return this[_0x54a7e1(0x273)][_0x54a7e1(0x4dc)](_0x500eaf,this['unitID'],this[_0x54a7e1(0x2a3)],null,this[_0x54a7e1(0x1e4)],this['_awaitingChangeset'],[],this[_0x54a7e1(0x26f)]);this['_incrementRevisionNumber']();const _0x240b7f=this[_0x54a7e1(0x273)][_0x54a7e1(0x4dc)](_0x40e168,this[_0x54a7e1(0x474)],this[_0x54a7e1(0x2a3)],this[_0x54a7e1(0x1e4)],this['_handler']);return _0x240b7f['_schedule'](),_0x240b7f[_0x54a7e1(0x563)](),_0x240b7f;}[_0xb9a23e(0x20a)](_0x17bb4b){const _0x16a9a3=_0xb9a23e;return this['_onConflict'](!!(_0x17bb4b!=null&&_0x17bb4b[_0x16a9a3(0x288)]));}[_0xb9a23e(0x296)](){const _0x2ebc6e=_0xb9a23e;return this[_0x2ebc6e(0x273)][_0x2ebc6e(0x4dc)](_0x5a9a82,this['unitID'],this[_0x2ebc6e(0x2a3)],this[_0x2ebc6e(0x457)],this[_0x2ebc6e(0x1e4)],this[_0x2ebc6e(0x26f)]);}[_0xb9a23e(0x1de)](){return this;}[_0xb9a23e(0x21b)](){const _0x4be5e9=_0xb9a23e;this['_handler'][_0x4be5e9(0x478)](this[_0x4be5e9(0x457)]);}[_0xb9a23e(0x316)](_0x1b555d){const _0x43977e=_0xb9a23e;return this[_0x43977e(0x273)][_0x43977e(0x4dc)](_0x1be45e,this['unitID'],this['type'],null,this['_pendingMutations'],this[_0x43977e(0x26f)],_0x1b555d);}};_0x338cb3=_0x215c7f([_0x21f417(0x5,_0x46d633[_0xb9a23e(0x2a5)](_0x46d633[_0xb9a23e(0x215)])),_0x21f417(0x6,_0x46d633[_0xb9a23e(0x2a5)](_0x244d6f[_0xb9a23e(0x2e4)])),_0x21f417(0x7,_0x46d633[_0xb9a23e(0x2a5)](_0x2dfa89[_0xb9a23e(0x38a)])),_0x21f417(0x8,_0x39562f['ICommandService']),_0x21f417(0x9,_0x39562f['ILogService']),_0x21f417(0xa,_0x244d6f[_0xb9a23e(0x444)]),_0x21f417(0xb,_0x39562f[_0xb9a23e(0x4b1)])],_0x338cb3);let _0x1be45e=class extends _0x145db3{constructor(_0x558b82,_0x3b9663,_0x2ef2ed,_0x116035,_0x107b28,_0x61f776=!0x1,_0x34df96,_0x3deff9,_0x1a0b3e,_0x48c569,_0x33c4b5,_0x5699eb,_0x49e4c9){const _0x5652ce=_0xb9a23e;super(_0x558b82,_0x3b9663,_0x2ef2ed,_0x116035,_0x107b28,_0x3deff9,_0x1a0b3e,_0x33c4b5,_0x48c569),_0x3e3dad(this,_0x5652ce(0x23e),_0x5652ce(0x41c)),(this[_0x5652ce(0x363)]=_0x61f776,this[_0x5652ce(0x2f3)]=_0x34df96,this[_0x5652ce(0x530)]=_0x5699eb,this[_0x5652ce(0x315)]=_0x49e4c9,this[_0x5652ce(0x2df)](),this[_0x5652ce(0x24b)](),this[_0x5652ce(0x552)]());}[_0xb9a23e(0x2b8)](){return this;}[_0xb9a23e(0x325)](){return this;}[_0xb9a23e(0x481)](){return this;}['onRemoteRej'](){return this;}[_0xb9a23e(0x296)](){return this;}[_0xb9a23e(0x1de)](){return this;}[_0xb9a23e(0x21b)](){const _0x5e3ca=_0xb9a23e;throw new Error(_0x5e3ca(0x1cb));}[_0xb9a23e(0x24b)](){const _0x3b84e4=_0xb9a23e;this[_0x3b84e4(0x557)][_0x3b84e4(0x4f1)](this[_0x3b84e4(0x474)],this['type'],null,[]);}['_showConflictNotification'](){const _0x37d629=_0xb9a23e;this[_0x37d629(0x363)]?this[_0x37d629(0x315)][_0x37d629(0x46d)]({'title':this[_0x37d629(0x530)]['t'](_0x37d629(0x483)),'content':this[_0x37d629(0x530)]['t'](_0x37d629(0x1cc)),'type':_0x37d629(0x4f3),'duration':0x0}):this['_notificationService'][_0x37d629(0x46d)]({'title':this[_0x37d629(0x530)]['t']('conflict.title'),'content':this[_0x37d629(0x530)]['t']('conflict.content'),'type':_0x37d629(0x4f3),'duration':0x0});}[_0xb9a23e(0x552)](){const _0x254657=_0xb9a23e;this[_0x254657(0x2f3)][_0x254657(0x331)](new _0x552a78[(_0x254657(0x39b))](this['unitID'])['id'],!0x1);}};_0x1be45e=_0x215c7f([_0x21f417(0x6,_0x46d633['Inject'](_0x39562f['IPermissionService'])),_0x21f417(0x7,_0x39562f[_0xb9a23e(0x4b5)]),_0x21f417(0x8,_0x39562f[_0xb9a23e(0x4b1)]),_0x21f417(0x9,_0x46d633[_0xb9a23e(0x2a5)](_0x2dfa89[_0xb9a23e(0x38a)])),_0x21f417(0xa,_0x46d633['Inject'](_0x244d6f[_0xb9a23e(0x2e4)])),_0x21f417(0xb,_0x46d633['Inject'](_0x39562f[_0xb9a23e(0x303)])),_0x21f417(0xc,_0x38d129['INotificationService'])],_0x1be45e);let _0x5a9a82=class extends _0x145db3{constructor(_0x4b91b2,_0x242c98,_0x16cd24,_0x5b66bc,_0x5871fe,_0x54e32f,_0x29adee,_0x3c658f,_0x5f3092,_0x185d2d){const _0x590011=_0xb9a23e;super(_0x4b91b2,_0x242c98,_0x16cd24,_0x5b66bc,_0x5871fe,_0x5f3092,_0x185d2d,_0x29adee,_0x3c658f),_0x3e3dad(this,_0x590011(0x23e),_0x590011(0x343)),this['_injector']=_0x54e32f;}['appendMutation'](_0x4bafc2){const _0xa79342=_0xb9a23e;return this['_pendingMutations']['push'](_0x4bafc2),this[_0xa79342(0x563)](),this;}[_0xb9a23e(0x325)](_0x9a6b95){const _0x233f3f=_0xb9a23e;throw new Error(_0x233f3f(0x264));}[_0xb9a23e(0x481)](){const _0x3e5af9=_0xb9a23e;throw new Error(_0x3e5af9(0x399));}[_0xb9a23e(0x20a)](){const _0x20b169=_0xb9a23e;throw new Error(_0x20b169(0x285));}[_0xb9a23e(0x296)](){return this;}[_0xb9a23e(0x1de)](){const _0x2f01be=_0xb9a23e,{_injector:_0x8654f2,_pendingMutations:_0x9359da,_awaitingChangeset:_0x4e335a,unitID:_0x79a17f,_handler:_0x44c406,type:_0x14441b}=this,_0x14e9c9=_0x2bb98a(_0x8654f2,_0x79a17f,_0x14441b,_0x4e335a,_0x9359da,_0x44c406);return _0x14e9c9 instanceof _0x40e168?_0x14e9c9[_0x2f01be(0x274)]():(_0x14e9c9 instanceof _0x338cb3||_0x14e9c9 instanceof _0x381722)&&_0x14e9c9[_0x2f01be(0x21b)](),_0x14e9c9;}[_0xb9a23e(0x21b)](){const _0x3a7c4d=_0xb9a23e;throw new Error(_0x3a7c4d(0x20e));}};_0x5a9a82=_0x215c7f([_0x21f417(0x5,_0x46d633[_0xb9a23e(0x2a5)](_0x46d633['Injector'])),_0x21f417(0x6,_0x46d633[_0xb9a23e(0x2a5)](_0x244d6f['RevisionService'])),_0x21f417(0x7,_0x46d633[_0xb9a23e(0x2a5)](_0x2dfa89[_0xb9a23e(0x38a)])),_0x21f417(0x8,_0x39562f[_0xb9a23e(0x4b5)]),_0x21f417(0x9,_0x39562f[_0xb9a23e(0x4b1)])],_0x5a9a82);let _0x500eaf=class extends _0x145db3{constructor(_0x344004,_0x2203e4,_0x18912a,_0x274e0d,_0x7dba5b,_0x2b5032,_0x1973c0,_0x4757ee,_0x4d3e07,_0x2cf3d2,_0xb2b29c,_0x393169,_0x1c2a94,_0xa7304e){const _0x61146=_0xb9a23e;super(_0x344004,_0x2203e4,_0x18912a,_0x274e0d,_0x1973c0,_0x393169,_0x1c2a94,_0x4d3e07,_0x2cf3d2),_0x3e3dad(this,'status',_0x61146(0x51b)),(this['_acknowledgedAwaitingChangeset']=_0x7dba5b,this[_0x61146(0x31a)]=_0x2b5032,this[_0x61146(0x273)]=_0x4757ee,this[_0x61146(0x38c)]=_0xb2b29c,this[_0x61146(0x1e0)]=_0xa7304e);}[_0xb9a23e(0x3ec)](_0x50ab6d){const _0x212e55=_0xb9a23e;try{const _0x332d24=[..._0x50ab6d,...this[_0x212e55(0x31a)]],_0xa69cf1=[this[_0x212e55(0x457)]||this['_acknowledgedAwaitingChangeset']][_0x212e55(0x1f0)](_0x3ce55e=>!!_0x3ce55e);let _0x494850,_0x16293a;if(_0xa69cf1[_0x212e55(0x480)]){const _0x57e102=this[_0x212e55(0x1e0)]['transformChangesets'](_0x332d24,_0xa69cf1,!0x1);if(!_0x244d6f[_0x212e55(0x4d8)](_0x57e102))throw _0x57e102[_0x212e55(0x4f3)];_0x494850=_0x57e102[_0x212e55(0x2c9)],_0x16293a=_0x57e102[_0x212e55(0x3af)];}else _0x494850=_0x332d24,_0x16293a=[];let _0x1aabf9=this[_0x212e55(0x1e4)];_0x494850[_0x212e55(0x560)](_0x24ef8d=>{const _0x479a37=_0x212e55;let _0x4c7d3e;if(_0x1aabf9[_0x479a37(0x480)]){const _0x5716d3=this[_0x479a37(0x1e0)][_0x479a37(0x314)](_0x24ef8d,_0x1aabf9);if(!_0x244d6f[_0x479a37(0x39c)](_0x5716d3))throw _0x5716d3[_0x479a37(0x4f3)];_0x4c7d3e=_0x5716d3[_0x479a37(0x2c9)],_0x1aabf9=_0x5716d3['m2Prime'];}else _0x4c7d3e=_0x24ef8d;this[_0x479a37(0x308)](_0x4c7d3e);}),this[_0x212e55(0x43a)]&&this[_0x212e55(0x544)](),this[_0x212e55(0x457)]&&_0x16293a[_0x212e55(0x480)]&&(_0x16293a[0x0][_0x212e55(0x27e)]=this[_0x212e55(0x3a9)]());let _0x19c4e6;if(this[_0x212e55(0x457)]&&_0x1aabf9['length']!==0x0)_0x19c4e6=this['_injector'][_0x212e55(0x4dc)](_0x338cb3,this[_0x212e55(0x474)],this[_0x212e55(0x2a3)],_0x16293a[0x0],_0x1aabf9,this[_0x212e55(0x26f)]);else{if(this['_awaitingChangeset']&&_0x1aabf9[_0x212e55(0x480)]===0x0)_0x16293a[0x0][_0x212e55(0x27e)]=this['_getCurrentRevision'](),_0x19c4e6=this['_injector'][_0x212e55(0x4dc)](_0x381722,this[_0x212e55(0x474)],this['type'],_0x16293a[0x0],this[_0x212e55(0x26f)]);else{if(_0x1aabf9[_0x212e55(0x480)]!==0x0){const _0x525415=this[_0x212e55(0x273)][_0x212e55(0x4dc)](_0x40e168,this['unitID'],this[_0x212e55(0x2a3)],_0x1aabf9,this[_0x212e55(0x26f)]);_0x525415['_schedule'](),_0x19c4e6=_0x525415;}else _0x19c4e6=this[_0x212e55(0x273)][_0x212e55(0x4dc)](_0x6f1eec,this['unitID'],this['type'],this[_0x212e55(0x26f)]);}}return _0x19c4e6[_0x212e55(0x563)](),_0x19c4e6;}catch(_0x36a6f2){return this[_0x212e55(0x38c)][_0x212e55(0x4f3)](_0x212e55(0x26c),_0x212e55(0x333),_0x36a6f2),this['_injector'][_0x212e55(0x4dc)](_0x1be45e,this[_0x212e55(0x474)],this[_0x212e55(0x2a3)],this[_0x212e55(0x457)],this[_0x212e55(0x1e4)],this['_handler'],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xb9a23e(0x2b8)](_0x3160c6){const _0x246bd5=_0xb9a23e;return this[_0x246bd5(0x1e4)][_0x246bd5(0x509)](_0x3160c6),this;}[_0xb9a23e(0x325)](_0x47fda8){const _0x2799f9=_0xb9a23e;return this[_0x2799f9(0x31a)][_0x2799f9(0x509)](_0x47fda8),this;}['onRemoteAck'](_0x3e72ea){const _0x349680=_0xb9a23e;if(this[_0x349680(0x457)])return this[_0x349680(0x43a)]=this['_awaitingChangeset'],this[_0x349680(0x457)]=null,this;throw new Error(_0x349680(0x34a));}[_0xb9a23e(0x20a)](_0xc781ae){const _0x57ef88=_0xb9a23e;return this[_0x57ef88(0x316)](!!(_0xc781ae!=null&&_0xc781ae[_0x57ef88(0x288)]));}[_0xb9a23e(0x296)](){const _0x2e8e53=_0xb9a23e;return this[_0x2e8e53(0x273)]['createInstance'](_0x5a9a82,this[_0x2e8e53(0x474)],this[_0x2e8e53(0x2a3)],this[_0x2e8e53(0x457)],this[_0x2e8e53(0x1e4)],this['_handler']);}[_0xb9a23e(0x1de)](){return this;}['_onConflict'](_0x4d424e){const _0x168982=_0xb9a23e;return this[_0x168982(0x273)]['createInstance'](_0x1be45e,this[_0x168982(0x474)],this[_0x168982(0x2a3)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x168982(0x26f)],_0x4d424e);}};_0x500eaf=_0x215c7f([_0x21f417(0x7,_0x46d633[_0xb9a23e(0x2a5)](_0x46d633[_0xb9a23e(0x215)])),_0x21f417(0x8,_0x46d633['Inject'](_0x244d6f[_0xb9a23e(0x2e4)])),_0x21f417(0x9,_0x46d633[_0xb9a23e(0x2a5)](_0x2dfa89['LocalCacheService'])),_0x21f417(0xa,_0x39562f[_0xb9a23e(0x3d4)]),_0x21f417(0xb,_0x39562f[_0xb9a23e(0x4b5)]),_0x21f417(0xc,_0x39562f['IUndoRedoService']),_0x21f417(0xd,_0x244d6f[_0xb9a23e(0x444)])],_0x500eaf);function _0x2bb98a(_0x2cedfe,_0x30434f,_0xfd422a,_0x4f5c60,_0x46944d,_0x393db6){const _0x32e685=_0xb9a23e;return _0x4f5c60&&_0x46944d[_0x32e685(0x480)]?_0x2cedfe[_0x32e685(0x4dc)](_0x338cb3,_0x30434f,_0xfd422a,_0x4f5c60,_0x46944d,_0x393db6):_0x4f5c60?_0x2cedfe[_0x32e685(0x4dc)](_0x381722,_0x30434f,_0xfd422a,_0x4f5c60,_0x393db6):_0x46944d[_0x32e685(0x480)]?_0x2cedfe['createInstance'](_0x40e168,_0x30434f,_0xfd422a,_0x46944d,_0x393db6):_0x2cedfe[_0x32e685(0x4dc)](_0x6f1eec,_0x30434f,_0xfd422a,_0x393db6);}var _0x5ee9ce=Object[_0xb9a23e(0x38b)],_0x208c88=Object[_0xb9a23e(0x2ed)],_0x13f658=(_0x147160,_0x37b8e7,_0x490af1,_0x45e3c8)=>{const _0x517443=_0xb9a23e;for(var _0x25831e=_0x45e3c8>0x1?void 0x0:_0x45e3c8?_0x208c88(_0x37b8e7,_0x490af1):_0x37b8e7,_0x579eda=_0x147160[_0x517443(0x480)]-0x1,_0x16e845;_0x579eda>=0x0;_0x579eda--)(_0x16e845=_0x147160[_0x579eda])&&(_0x25831e=(_0x45e3c8?_0x16e845(_0x37b8e7,_0x490af1,_0x25831e):_0x16e845(_0x25831e))||_0x25831e);return _0x45e3c8&&_0x25831e&&_0x5ee9ce(_0x37b8e7,_0x490af1,_0x25831e),_0x25831e;},_0x54deac=(_0x4523e8,_0x499f65)=>(_0x2e9ab3,_0x39a26e)=>_0x499f65(_0x2e9ab3,_0x39a26e,_0x4523e8);_0x2dfa89[_0xb9a23e(0x501)]=class extends _0x39562f[_0xb9a23e(0x298)]{constructor(_0x17a193,_0x5c7ee3,_0x181227){const _0x57f6f2=_0xb9a23e;super(),_0x3e3dad(this,_0x57f6f2(0x21d),new Map()),_0x3e3dad(this,_0x57f6f2(0x28e),new _0x1fa2ab['Subject']()),(this[_0x57f6f2(0x273)]=_0x17a193,this[_0x57f6f2(0x49e)]=_0x5c7ee3,this[_0x57f6f2(0x328)]=_0x181227,this['_init']());}['dispose'](){const _0x3af364=_0xb9a23e;super[_0x3af364(0x51e)](),this[_0x3af364(0x21d)]['forEach'](_0x5b0440=>_0x5b0440[_0x3af364(0x51e)]()),this['_entities']['clear']();}[_0xb9a23e(0x47d)](_0x30278b){const _0x3dec11=_0xb9a23e;var _0xb805e6;return(_0xb805e6=this[_0x3dec11(0x21d)][_0x3dec11(0x3a6)](_0x30278b))!=null?_0xb805e6:null;}[_0xb9a23e(0x48a)](_0x10039d){const _0x45877b=_0xb9a23e,_0x30e592=this[_0x45877b(0x47d)](_0x10039d);return _0x30e592?_0x1fa2ab['of'](_0x30e592):this[_0x45877b(0x28e)][_0x45877b(0x24a)](_0x53520c[_0x45877b(0x1f0)](_0x518068=>_0x518068[_0x45877b(0x474)]===_0x10039d));}[_0xb9a23e(0x3e7)](){const _0x1e4593=_0xb9a23e;this[_0x1e4593(0x328)][_0x1e4593(0x1e3)](_0x39562f[_0x1e4593(0x1ad)][_0x1e4593(0x40a)])[_0x1e4593(0x24a)](_0x1fa2ab[_0x1e4593(0x307)](this[_0x1e4593(0x203)]),_0x53520c['delay'](0x10))[_0x1e4593(0x282)](async _0x1bb27e=>{const _0x4f7aba=_0x1e4593,_0x40ca1e=_0x1bb27e[_0x4f7aba(0x37c)](),_0x1fc2ae=await this[_0x4f7aba(0x2e5)](_0x40ca1e,_0x55e05d[_0x4f7aba(0x40a)]);this[_0x4f7aba(0x21d)][_0x4f7aba(0x3b1)](_0x40ca1e,_0x1fc2ae);}),this[_0x1e4593(0x328)][_0x1e4593(0x1e3)](_0x39562f[_0x1e4593(0x1ad)][_0x1e4593(0x49f)])['pipe'](_0x1fa2ab['takeUntil'](this['dispose$']),_0x53520c['delay'](0x10))[_0x1e4593(0x24a)](_0x53520c['filter'](_0x45348d=>!_0x45348d[_0x1e4593(0x37c)]()['startsWith']('__')))[_0x1e4593(0x282)](async _0x30b0ec=>{const _0x3b0a89=_0x1e4593,_0x4e68b7=_0x30b0ec[_0x3b0a89(0x37c)](),_0x39656a=await this[_0x3b0a89(0x2e5)](_0x4e68b7,_0x55e05d['UNIVER_DOC']);this['_entities'][_0x3b0a89(0x3b1)](_0x4e68b7,_0x39656a);}),_0x1fa2ab[_0x1e4593(0x4dd)](this[_0x1e4593(0x328)]['getTypeOfUnitDisposed$'](_0x39562f['UniverInstanceType'][_0x1e4593(0x40a)]),this[_0x1e4593(0x328)][_0x1e4593(0x37e)](_0x39562f[_0x1e4593(0x1ad)]['UNIVER_DOC']))[_0x1e4593(0x24a)](_0x1fa2ab[_0x1e4593(0x307)](this[_0x1e4593(0x203)]))[_0x1e4593(0x282)](_0x3a44af=>{const _0x9b37c7=_0x1e4593,_0x310c56=_0x3a44af[_0x9b37c7(0x37c)](),_0x2022e3=this[_0x9b37c7(0x21d)][_0x9b37c7(0x3a6)](_0x310c56);_0x2022e3&&(_0x2022e3[_0x9b37c7(0x51e)](),this['_entities']['delete'](_0x310c56));});}async['_startCollaboration'](_0x440394,_0xa98144){const _0x496ee2=_0xb9a23e,_0x222f42=await this[_0x496ee2(0x49e)][_0x496ee2(0x3d3)](_0x440394),_0x4403b9=this['_injector'][_0x496ee2(0x4dc)](this['_getCtorByUniverType'](_0xa98144),_0x440394,_0xa98144,_0x222f42);return await _0x4403b9[_0x496ee2(0x324)](),this['_entityInit$'][_0x496ee2(0x438)](_0x4403b9),_0x4403b9;}[_0xb9a23e(0x234)](_0x27f888){const _0x8e560f=_0xb9a23e;switch(_0x27f888){case _0x55e05d['UNIVER_DOC']:return _0x2cf1e6;case _0x55e05d[_0x8e560f(0x40a)]:return _0x39b5b7;default:throw new Error(_0x8e560f(0x53b)+_0x27f888);}}},_0x2dfa89['CollaborationController']=_0x13f658([_0x39562f[_0xb9a23e(0x40c)](_0x39562f['LifecycleStages'][_0xb9a23e(0x31d)],_0x2dfa89['CollaborationController']),_0x54deac(0x0,_0x46d633[_0xb9a23e(0x2a5)](_0x46d633['Injector'])),_0x54deac(0x1,_0x46d633[_0xb9a23e(0x2a5)](_0x2dfa89[_0xb9a23e(0x538)])),_0x54deac(0x2,_0x39562f['IUniverInstanceService'])],_0x2dfa89[_0xb9a23e(0x501)]);let _0x209a4c=class extends _0x39562f['RxDisposable']{constructor(_0x1e9e9c,_0x4fb865,_0x44c946,_0x293084,_0x58d48b,_0x1cb425,_0x433d4e,_0x43574a,_0xfeda6d,_0x392f84,_0x68a14c,_0x1424ea,_0x29b450){const _0x24055d=_0xb9a23e;super(),_0x3e3dad(this,'_state$',new _0x1fa2ab[(_0x24055d(0x492))](null)),_0x3e3dad(this,_0x24055d(0x392),this[_0x24055d(0x1e7)]['asObservable']()),_0x3e3dad(this,'_state'),_0x3e3dad(this,'_collaborationPaused',!0x1),_0x3e3dad(this,_0x24055d(0x4e7),this[_0x24055d(0x392)]['pipe'](_0x53520c[_0x24055d(0x3e3)](_0x5eb1e4=>_0x5eb1e4?_0x5eb1e4[_0x24055d(0x23e)]:_0x3cde1c['OFFLINE']),_0x53520c[_0x24055d(0x2b4)](0x1))),_0x3e3dad(this,'_transitionLocked',!0x1),_0x3e3dad(this,_0x24055d(0x240),[]),(this['unitID']=_0x1e9e9c,this['_type']=_0x4fb865,this[_0x24055d(0x499)]=_0x44c946,this[_0x24055d(0x273)]=_0x293084,this[_0x24055d(0x557)]=_0x58d48b,this[_0x24055d(0x1c0)]=_0x1cb425,this['_localeService']=_0x433d4e,this[_0x24055d(0x3ee)]=_0x43574a,this[_0x24055d(0x38c)]=_0xfeda6d,this[_0x24055d(0x384)]=_0x392f84,this[_0x24055d(0x493)]=_0x68a14c,this['_permissionService']=_0x1424ea,this[_0x24055d(0x464)]=_0x29b450);}get['state'](){const _0x20284c=_0xb9a23e;return this[_0x20284c(0x275)];}async[_0xb9a23e(0x324)](){const _0x429ea4=_0xb9a23e;if(this[_0x429ea4(0x3d8)])throw new Error(_0x429ea4(0x32f));await this['_init']();}[_0xb9a23e(0x543)](){const _0x52851d=_0xb9a23e;return this[_0x52851d(0x4a9)]=!0x0,_0x39562f[_0x52851d(0x3e2)](()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0xb9a23e(0x3bd)](_0x31c4be){const _0x1d41c7=_0xb9a23e;this[_0x1d41c7(0x275)]=_0x31c4be,this[_0x1d41c7(0x1e7)][_0x1d41c7(0x438)](_0x31c4be);}async[_0xb9a23e(0x3e7)](){const _0x3aabec=_0xb9a23e;var _0x1341d0;return this[_0x3aabec(0x3bd)](await this[_0x3aabec(0x540)]()),this['_singleActiveUnitService']&&((_0x1341d0=this[_0x3aabec(0x464)])==null||_0x1341d0[_0x3aabec(0x394)](this[_0x3aabec(0x474)]),this[_0x3aabec(0x28a)](_0x39562f[_0x3aabec(0x3e2)](this[_0x3aabec(0x464)]['getUnitStatus$'](this[_0x3aabec(0x474)])['subscribe'](_0x16401a=>{const _0x5cc977=_0x3aabec;this[_0x5cc977(0x38c)][_0x5cc977(0x564)](_0x5cc977(0x378),_0x5cc977(0x456),_0x16401a),_0x16401a===_0x11275d['OTHER_CLIENTS_EDITING']?(this[_0x5cc977(0x493)][_0x5cc977(0x46d)]({'content':this[_0x5cc977(0x530)]['t'](_0x5cc977(0x55b)),'type':_0x7ca5b0['MessageType'][_0x5cc977(0x1f9)]}),this['_permissionService'][_0x5cc977(0x331)](new _0x552a78[(_0x5cc977(0x39b))](this['unitID'])['id'],!0x1)):this[_0x5cc977(0x2f3)][_0x5cc977(0x331)](new _0x552a78[(_0x5cc977(0x39b))](this['unitID'])['id'],!0x0);})))),this[_0x3aabec(0x28a)](_0x39562f[_0x3aabec(0x3e2)](this[_0x3aabec(0x499)][_0x3aabec(0x35c)][_0x3aabec(0x282)](_0x2790a9=>{const _0x34fad0=_0x3aabec;_0x2790a9===_0x346ac5[_0x34fad0(0x330)]?this['_toggleOnline']():_0x2790a9===_0x346ac5[_0x34fad0(0x354)]&&this[_0x34fad0(0x3cb)]();}))),this[_0x3aabec(0x28a)](_0x39562f[_0x3aabec(0x3e2)](this[_0x3aabec(0x499)][_0x3aabec(0x2bf)][_0x3aabec(0x282)](_0x540afd=>{const _0x43713b=_0x3aabec;try{switch(_0x540afd[_0x43713b(0x414)]){case _0x244d6f[_0x43713b(0x42f)][_0x43713b(0x4af)]:{this[_0x43713b(0x29f)](_0x244d6f[_0x43713b(0x536)](_0x540afd[_0x43713b(0x3df)]));break;}case _0x244d6f['CollaborationEvent'][_0x43713b(0x2e6)]:{this['_onRemoteACK'](_0x540afd[_0x43713b(0x3df)]);break;}case _0x244d6f[_0x43713b(0x42f)][_0x43713b(0x41e)]:{this[_0x43713b(0x362)]();break;}case _0x244d6f[_0x43713b(0x42f)][_0x43713b(0x522)]:{this['_onFetchMissResult'](_0x540afd[_0x43713b(0x3df)][_0x43713b(0x52b)][_0x43713b(0x3e3)](_0x280eeb=>_0x244d6f[_0x43713b(0x536)](_0x280eeb)));break;}case _0x244d6f['CollaborationEvent']['PERMISSION_REJ']:this[_0x43713b(0x362)]({'isPermissionRej':!0x0});}}catch(_0x58cc0f){throw console[_0x43713b(0x4f3)](_0x43713b(0x45f),_0x58cc0f),_0x58cc0f;}}))),this['_state'];}[_0xb9a23e(0x2ce)](){const _0x407f06=_0xb9a23e;this[_0x407f06(0x20c)]=!0x1;}[_0xb9a23e(0x360)](){const _0x58390f=_0xb9a23e;if(this[_0x58390f(0x20c)])throw new Error(_0x58390f(0x270));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x3f73b8){const _0x438807=_0xb9a23e;this[_0x438807(0x360)](),this[_0x438807(0x3bd)](this[_0x438807(0x275)][_0x438807(0x2b8)](_0x3f73b8)),this[_0x438807(0x2ce)]();}[_0xb9a23e(0x29f)](_0x399499){const _0x3f1484=_0xb9a23e;if(!(_0x399499[_0x3f1484(0x365)]<=this[_0x3f1484(0x3ee)][_0x3f1484(0x259)](this[_0x3f1484(0x474)]))){if(this[_0x3f1484(0x4a9)]){this['_remoteChangesetQueue']['push'](_0x399499);return;}this[_0x3f1484(0x410)](_0x399499);}}['_exhaustRemoteChangesetQueue'](){const _0x288a43=_0xb9a23e;this[_0x288a43(0x240)][_0x288a43(0x560)](_0x196c42=>this[_0x288a43(0x410)](_0x196c42)),this[_0x288a43(0x240)]=[];}['_applyRemoteChangeset'](_0x1de3dd){const _0x5a707b=_0xb9a23e,_0x2e176f=this['_compressMutationService'][_0x5a707b(0x471)]['fetchThroughInterceptors'](this[_0x5a707b(0x1c0)][_0x5a707b(0x471)][_0x5a707b(0x2fd)]()[_0x5a707b(0x1d9)])(_0x1de3dd[_0x5a707b(0x1bb)],null)||_0x1de3dd[_0x5a707b(0x1bb)],_0xd1c42d={..._0x1de3dd,'mutations':_0x2e176f};this[_0x5a707b(0x360)](),this[_0x5a707b(0x3bd)](this[_0x5a707b(0x275)][_0x5a707b(0x325)](_0xd1c42d)),this[_0x5a707b(0x2ce)]();}[_0xb9a23e(0x44e)](_0x17cfd4){const _0x4e1565=_0xb9a23e;this[_0x4e1565(0x360)](),this[_0x4e1565(0x3bd)](this[_0x4e1565(0x275)][_0x4e1565(0x481)](_0x17cfd4)),this[_0x4e1565(0x2ce)]();}[_0xb9a23e(0x362)](_0x11db4f){const _0x34665a=_0xb9a23e;this[_0x34665a(0x360)](),this[_0x34665a(0x3bd)](this[_0x34665a(0x275)]['onRemoteRej'](_0x11db4f)),this[_0x34665a(0x2ce)]();}[_0xb9a23e(0x510)](_0xa2524e){const _0x23762f=_0xb9a23e;if(!(this[_0x23762f(0x275)]instanceof _0x500eaf))throw new TypeError(_0x23762f(0x31e));const _0x2c9235=_0xa2524e[_0x23762f(0x3e3)](_0x4757b3=>{const _0x5137b4=_0x23762f,_0x21b7ad=this['_compressMutationService'][_0x5137b4(0x471)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x5137b4(0x471)][_0x5137b4(0x2fd)]()['COMPRESS_MUTATION_APPLY'])(_0x4757b3[_0x5137b4(0x1bb)],null)||_0x4757b3[_0x5137b4(0x1bb)];return{..._0x4757b3,'mutations':_0x21b7ad};});this[_0x23762f(0x360)](),this[_0x23762f(0x3bd)](this[_0x23762f(0x275)][_0x23762f(0x3ec)](_0x2c9235)),this['_unlockTransition']();}[_0xb9a23e(0x3cb)](){const _0x22c0d8=_0xb9a23e;this['_lockTransition'](),this[_0x22c0d8(0x3bd)](this[_0x22c0d8(0x275)]['toggleOffline']()),this[_0x22c0d8(0x2ce)]();}[_0xb9a23e(0x4ba)](){const _0x220529=_0xb9a23e;this[_0x220529(0x360)](),this[_0x220529(0x3bd)](this[_0x220529(0x275)][_0x220529(0x1de)]()),this[_0x220529(0x2ce)]();}async[_0xb9a23e(0x540)](){return new Promise(_0x3184c0=>{const _0x3c4805=_0x231b;this[_0x3c4805(0x499)][_0x3c4805(0x35c)][_0x3c4805(0x24a)](_0x53520c[_0x3c4805(0x268)](0x1))['subscribe'](async _0x36b4df=>{const _0x54cf3e=_0x3c4805;_0x3184c0(await this['_createInitialStateImpl'](_0x36b4df===_0x346ac5[_0x54cf3e(0x330)]));});});}[_0xb9a23e(0x235)](){const _0xd2f5f8=this['unitID'];return{'onStateChange':(_0x4b1b1c,_0x3254f3)=>{const _0x3ae531=_0x231b;if(_0x4b1b1c!==this[_0x3ae531(0x275)])throw new Error(_0x3ae531(0x2ec)+_0x4b1b1c[_0x3ae531(0x23e)]+'\x0aAfter:\x20'+_0x3254f3['status']+_0x3ae531(0x54b)+this[_0x3ae531(0x275)][_0x3ae531(0x23e)]);this['_updateState'](_0x3254f3);},'onSendChangeset':_0xf8a587=>{const _0x4a444a=_0x231b,_0x1b78e2={'eventID':_0x244d6f['CollaborationEvent'][_0x4a444a(0x254)],'data':{'unitID':_0xf8a587['unitID'],'unitType':this[_0x4a444a(0x4c5)],'changeset':_0xf8a587,'memberID':this['_session']['getMemberID']()}};this['_session'][_0x4a444a(0x428)](_0x1b78e2,this['unitID']);},'onMissingChangesets':({from:_0x4fa175,to:_0x5b5480})=>{const _0x50dcf2=_0x231b;this['_logService'][_0x50dcf2(0x564)](_0x50dcf2(0x378),'fetching\x20missing\x20changesets\x20from\x20'+_0x4fa175+_0x50dcf2(0x3ad)+_0x5b5480);const _0x443176={'eventID':_0x244d6f['CollaborationEvent']['FETCH_MISSING'],'data':{'unitID':_0xd2f5f8,'unitType':this['_type'],'from':_0x4fa175,'to':_0x5b5480}};this[_0x50dcf2(0x499)]['send'](_0x443176,this[_0x50dcf2(0x474)]);}};}async['_createInitialStateImpl'](_0x5c86b1){const _0x4b79fc=_0xb9a23e;var _0x3230f9,_0x570d57;const _0x45b951=await this[_0x4b79fc(0x557)][_0x4b79fc(0x21c)](this['unitID']),_0x5ce2ba=(_0x3230f9=_0x45b951==null?void 0x0:_0x45b951[_0x4b79fc(0x1bb)])!=null?_0x3230f9:[],_0x1512df=(_0x570d57=_0x45b951==null?void 0x0:_0x45b951['awaitingChangeset'])!=null?_0x570d57:null,_0x529bfb=this['unitID'];try{this['_replayCachedMutations'](_0x1512df,_0x5ce2ba);}catch(_0xf9873f){this[_0x4b79fc(0x38c)]['error'](_0xf9873f);}const _0x3573f4=this[_0x4b79fc(0x235)]();if(_0x5c86b1){const _0x281fe7=_0x2bb98a(this[_0x4b79fc(0x273)],_0x529bfb,this[_0x4b79fc(0x4c5)],_0x1512df,_0x5ce2ba,_0x3573f4);return _0x281fe7 instanceof _0x40e168?_0x281fe7[_0x4b79fc(0x274)]():(_0x281fe7 instanceof _0x338cb3||_0x281fe7 instanceof _0x381722)&&_0x281fe7['resend'](),_0x281fe7;}return this[_0x4b79fc(0x273)][_0x4b79fc(0x4dc)](_0x5a9a82,_0x529bfb,this[_0x4b79fc(0x4c5)],_0x1512df,_0x5ce2ba,_0x3573f4);}['_replayCachedMutations'](_0x1d33d2,_0x277094){const _0x281c27=_0xb9a23e;var _0x2e0164,_0x5d605b;const _0x48856d=this[_0x281c27(0x1c0)][_0x281c27(0x471)][_0x281c27(0x51f)](this['_compressMutationService']['interceptor'][_0x281c27(0x2fd)]()[_0x281c27(0x1d9)]);(_0x2e0164=_0x48856d((_0x1d33d2==null?void 0x0:_0x1d33d2['mutations'])||[],null))==null||_0x2e0164[_0x281c27(0x560)](_0xcb2cee=>this[_0x281c27(0x384)]['executeCommand'](_0xcb2cee['id'],_0xcb2cee[_0x281c27(0x1b9)])),(_0x5d605b=_0x48856d(_0x277094||[],null))==null||_0x5d605b[_0x281c27(0x560)](_0x9e9702=>this['_commandService'][_0x281c27(0x2c8)](_0x9e9702['id'],_0x9e9702[_0x281c27(0x1b9)]));}};_0x209a4c=_0x13f658([_0x54deac(0x3,_0x46d633['Inject'](_0x46d633[_0xb9a23e(0x215)])),_0x54deac(0x4,_0x46d633[_0xb9a23e(0x2a5)](_0x2dfa89[_0xb9a23e(0x38a)])),_0x54deac(0x5,_0x46d633[_0xb9a23e(0x2a5)](_0x244d6f[_0xb9a23e(0x355)])),_0x54deac(0x6,_0x46d633[_0xb9a23e(0x2a5)](_0x39562f['LocaleService'])),_0x54deac(0x7,_0x46d633['Inject'](_0x244d6f['RevisionService'])),_0x54deac(0x8,_0x39562f[_0xb9a23e(0x3d4)]),_0x54deac(0x9,_0x39562f[_0xb9a23e(0x4b5)]),_0x54deac(0xa,_0x38d129[_0xb9a23e(0x1c9)]),_0x54deac(0xb,_0x39562f['IPermissionService']),_0x54deac(0xc,_0x46d633[_0xb9a23e(0x4c1)](_0x174263))],_0x209a4c);let _0x2cf1e6=class extends _0x209a4c{constructor(_0xb5f0d,_0x247969,_0x1fe1a4,_0x3596ab,_0x3ca943,_0x2e52b7,_0x15d63c,_0x24e4ad,_0xe938cc,_0x24554a,_0x27b536,_0x113154,_0x1c89bf,_0x1704fb,_0x5e5ba8,_0x2e4676,_0x3b5d5d){const _0x2d1938=_0xb9a23e;super(_0xb5f0d,_0x247969,_0x1fe1a4,_0x3596ab,_0x3ca943,_0x2e52b7,_0x15d63c,_0x24e4ad,_0x1c89bf,_0x1704fb,_0x5e5ba8,_0x2e4676,_0x3b5d5d),this[_0x2d1938(0x474)]=_0xb5f0d,this[_0x2d1938(0x2a3)]=_0x247969,this[_0x2d1938(0x2ca)]=_0x1fe1a4,this[_0x2d1938(0x309)]=_0xe938cc,this[_0x2d1938(0x404)]=_0x24554a,this[_0x2d1938(0x23a)]=_0x27b536,this[_0x2d1938(0x396)]=_0x113154;}[_0xb9a23e(0x235)](){const _0x2d4fd3=_0xb9a23e,_0x20affa=super[_0x2d4fd3(0x235)]();return _0x20affa[_0x2d4fd3(0x352)]=_0x2d940f=>this['_docTransformIMECacheService'][_0x2d4fd3(0x4ab)](_0x2d940f),_0x20affa[_0x2d4fd3(0x335)]=_0x527332=>this['_docTransformSelectionsService'][_0x2d4fd3(0x429)](_0x527332),_0x20affa[_0x2d4fd3(0x54a)]=_0x43e0dc=>this[_0x2d4fd3(0x396)]['syncEditingCollabCursor'](_0x43e0dc),_0x20affa['onTransformRemoteChangesetByIMECache']=_0x458c35=>this[_0x2d4fd3(0x404)][_0x2d4fd3(0x2eb)](_0x458c35),_0x20affa;}async[_0xb9a23e(0x3e7)](){const _0x25b0e5=_0xb9a23e,_0x3c0063=await super[_0x25b0e5(0x3e7)]();return this[_0x25b0e5(0x309)][_0x25b0e5(0x1c8)][_0x25b0e5(0x24a)](_0x1fa2ab[_0x25b0e5(0x307)](this[_0x25b0e5(0x203)]))[_0x25b0e5(0x282)](_0x576143=>{const _0x3dfe81=_0x25b0e5;if(_0x576143==null)return;const {unitId:_0x1b5d36,redoState:_0x255776,commandId:_0xfb2b34}=_0x576143;if(_0x1b5d36!==this[_0x3dfe81(0x474)])return;const _0x20495e={'id':_0xfb2b34,'type':_0x39562f[_0x3dfe81(0x549)]['MUTATION'],'params':{'unitId':_0x1b5d36,'actions':_0x255776['actions'],'textRanges':null}};this[_0x3dfe81(0x49c)](_0x20495e);}),_0x3c0063;}};_0x2cf1e6=_0x13f658([_0x54deac(0x3,_0x46d633[_0xb9a23e(0x2a5)](_0x46d633['Injector'])),_0x54deac(0x4,_0x46d633[_0xb9a23e(0x2a5)](_0x2dfa89['LocalCacheService'])),_0x54deac(0x5,_0x46d633[_0xb9a23e(0x2a5)](_0x244d6f[_0xb9a23e(0x355)])),_0x54deac(0x6,_0x46d633[_0xb9a23e(0x2a5)](_0x39562f['LocaleService'])),_0x54deac(0x7,_0x46d633[_0xb9a23e(0x2a5)](_0x244d6f['RevisionService'])),_0x54deac(0x8,_0x46d633[_0xb9a23e(0x2a5)](_0x239a47[_0xb9a23e(0x336)])),_0x54deac(0x9,_0x46d633[_0xb9a23e(0x2a5)](_0x4bc2a2)),_0x54deac(0xa,_0x46d633[_0xb9a23e(0x2a5)](_0xede299)),_0x54deac(0xb,_0x46d633['Inject'](_0x1287ec)),_0x54deac(0xc,_0x39562f[_0xb9a23e(0x3d4)]),_0x54deac(0xd,_0x39562f['ICommandService']),_0x54deac(0xe,_0x38d129[_0xb9a23e(0x1c9)]),_0x54deac(0xf,_0x39562f[_0xb9a23e(0x4a2)]),_0x54deac(0x10,_0x46d633['Optional'](_0x174263))],_0x2cf1e6);let _0x39b5b7=class extends _0x209a4c{constructor(_0x1e81c2,_0x4422f2,_0x58bd6a,_0x67afd3,_0x1e0c51,_0x420c5c,_0x467952,_0x3b4849,_0x48f48d,_0x1125f7,_0x4992e7,_0x227455,_0x5cb8bd,_0x22cf49){const _0x2bfa0a=_0xb9a23e;super(_0x1e81c2,_0x4422f2,_0x58bd6a,_0x67afd3,_0x1e0c51,_0x420c5c,_0x467952,_0x3b4849,_0x1125f7,_0x4992e7,_0x227455,_0x5cb8bd,_0x22cf49),this[_0x2bfa0a(0x474)]=_0x1e81c2,this[_0x2bfa0a(0x2a3)]=_0x4422f2,this[_0x2bfa0a(0x2ca)]=_0x58bd6a,this['_sheetTransformSelectionsService']=_0x48f48d;}[_0xb9a23e(0x235)](){const _0x45c590=_0xb9a23e,_0x2f9a77=super[_0x45c590(0x235)]();return _0x2f9a77[_0x45c590(0x335)]=_0x137e68=>this[_0x45c590(0x30d)]['transformSelections'](_0x137e68),_0x2f9a77;}async[_0xb9a23e(0x3e7)](){const _0x573d60=_0xb9a23e,_0x69b17=await super[_0x573d60(0x3e7)]();return this['disposeWithMe'](this[_0x573d60(0x384)]['onCommandExecuted']((_0x5c4d00,_0x4ae4f4)=>{const _0xf7b7c3=_0x573d60;if(_0x5c4d00[_0xf7b7c3(0x2a3)]!==_0x39562f[_0xf7b7c3(0x549)]['MUTATION']||_0x4ae4f4!=null&&_0x4ae4f4[_0xf7b7c3(0x2af)]||_0x4ae4f4!=null&&_0x4ae4f4[_0xf7b7c3(0x4a6)])return;const _0x11d6e7=_0x5c4d00[_0xf7b7c3(0x1b9)];if((_0x11d6e7==null?void 0x0:_0x11d6e7['unitId'])!==this['unitID'])return;const _0x466377=_0x5c4d00,_0x469e9d=this[_0xf7b7c3(0x1c0)][_0xf7b7c3(0x471)][_0xf7b7c3(0x51f)](this[_0xf7b7c3(0x1c0)]['interceptor'][_0xf7b7c3(0x2fd)]()[_0xf7b7c3(0x2d1)])([_0x466377],null)||[_0x466377];this[_0xf7b7c3(0x49c)](_0x469e9d[0x0]);})),_0x69b17;}};_0x39b5b7=_0x13f658([_0x54deac(0x3,_0x46d633[_0xb9a23e(0x2a5)](_0x46d633[_0xb9a23e(0x215)])),_0x54deac(0x4,_0x46d633[_0xb9a23e(0x2a5)](_0x2dfa89[_0xb9a23e(0x38a)])),_0x54deac(0x5,_0x46d633[_0xb9a23e(0x2a5)](_0x244d6f[_0xb9a23e(0x355)])),_0x54deac(0x6,_0x46d633['Inject'](_0x39562f[_0xb9a23e(0x303)])),_0x54deac(0x7,_0x46d633[_0xb9a23e(0x2a5)](_0x244d6f[_0xb9a23e(0x2e4)])),_0x54deac(0x8,_0x46d633['Inject'](_0x4aa7fa)),_0x54deac(0x9,_0x39562f['ILogService']),_0x54deac(0xa,_0x39562f[_0xb9a23e(0x4b5)]),_0x54deac(0xb,_0x38d129[_0xb9a23e(0x1c9)]),_0x54deac(0xc,_0x39562f[_0xb9a23e(0x4a2)]),_0x54deac(0xd,_0x46d633[_0xb9a23e(0x4c1)](_0x174263))],_0x39b5b7);const _0x4a34f5=[_0xb9a23e(0x53a),_0xb9a23e(0x452),_0xb9a23e(0x567),_0xb9a23e(0x1fa),_0xb9a23e(0x1fe),_0xb9a23e(0x361)];class _0x274314 extends _0x39562f[_0xb9a23e(0x4bf)]{constructor(){super(...arguments),_0x3e3dad(this,'_assignedColors',new Map()),_0x3e3dad(this,'_colorIndex',0x0);}[_0xb9a23e(0x38e)](_0x150277){const _0x598bda=_0xb9a23e;if(this[_0x598bda(0x432)][_0x598bda(0x1b4)](_0x150277))return this[_0x598bda(0x432)]['get'](_0x150277);const _0x3ebe5f=_0x4a34f5[this['_colorIndex']];return this[_0x598bda(0x21f)]=(this[_0x598bda(0x21f)]+0x1)%_0x4a34f5[_0x598bda(0x480)],this[_0x598bda(0x432)][_0x598bda(0x3b1)](_0x150277,_0x3ebe5f),_0x3ebe5f;}}var _0x1a3265=Object[_0xb9a23e(0x38b)],_0x56424a=Object[_0xb9a23e(0x2ed)],_0x3631d2=(_0x24b8bb,_0x289033,_0x2228a2,_0x2741fa)=>{const _0x17de57=_0xb9a23e;for(var _0x20b304=_0x2741fa>0x1?void 0x0:_0x2741fa?_0x56424a(_0x289033,_0x2228a2):_0x289033,_0x5f25f2=_0x24b8bb[_0x17de57(0x480)]-0x1,_0x59240c;_0x5f25f2>=0x0;_0x5f25f2--)(_0x59240c=_0x24b8bb[_0x5f25f2])&&(_0x20b304=(_0x2741fa?_0x59240c(_0x289033,_0x2228a2,_0x20b304):_0x59240c(_0x20b304))||_0x20b304);return _0x2741fa&&_0x20b304&&_0x1a3265(_0x289033,_0x2228a2,_0x20b304),_0x20b304;},_0x345b15=(_0x5ea405,_0x398a74)=>(_0x246e97,_0x3f59b1)=>_0x398a74(_0x246e97,_0x3f59b1,_0x5ea405);const _0x141b9a=0x12c,_0x3bd3ed=0x64,_0x330053=()=>{let _0x423ee0=[],_0xcc97b8=!0x1;return _0x35cec5=>{const _0x57a220=_0x231b;_0x423ee0[_0x57a220(0x509)](_0x35cec5),_0xcc97b8||(_0xcc97b8=!0x0,setTimeout(()=>{_0x423ee0['forEach'](_0xf8bdb7=>_0xf8bdb7()),_0x423ee0=[],_0xcc97b8=!0x1;}));};};let _0x2fb259=class extends _0x39562f[_0xb9a23e(0x298)]{constructor(_0x2c5d58,_0x533501,_0x2218f7,_0x5a1d7a,_0x3d0412,_0x1e1c0d,_0x13bd33,_0x2faa29){const _0x3702d2=_0xb9a23e;super(),_0x3e3dad(this,_0x3702d2(0x513),!0x1),_0x3e3dad(this,_0x3702d2(0x3e7),!0x1),_0x3e3dad(this,'_cursorInfo$',new _0x1fa2ab[(_0x3702d2(0x492))](new Map())),_0x3e3dad(this,_0x3702d2(0x472),this[_0x3702d2(0x50a)]['asObservable']()),_0x3e3dad(this,_0x3702d2(0x408),new _0x1fa2ab[(_0x3702d2(0x492))]([])),_0x3e3dad(this,'roomMembers$',this['_roomMembers$'][_0x3702d2(0x24a)](_0x1fa2ab[_0x3702d2(0x334)](_0x141b9a))),_0x3e3dad(this,_0x3702d2(0x50e),_0x3a249e((_0xaddc14,_0x4e9153)=>{const _0x21e890=_0x3702d2,_0x566bd0={'eventID':_0x244d6f[_0x21e890(0x42f)][_0x21e890(0x20f)],'data':{'unitID':this[_0x21e890(0x474)],'memberID':this[_0x21e890(0x499)]['getMemberID'](),'selection':_0xcaf925[_0x21e890(0x2de)](_0xaddc14,_0x4e9153[_0x21e890(0x1dc)])}};this[_0x21e890(0x499)]['send'](_0x566bd0,this['unitID']);},_0x3bd3ed)),(this[_0x3702d2(0x474)]=_0x2c5d58,this['_session']=_0x533501,this[_0x3702d2(0x273)]=_0x2218f7,this['_colorAssignService']=_0x5a1d7a,this['_memberService']=_0x3d0412,this[_0x3702d2(0x328)]=_0x1e1c0d,this['_commandService']=_0x13bd33,this[_0x3702d2(0x2dc)]=_0x2faa29);}get[_0xb9a23e(0x4e5)](){const _0x3e3a32=_0xb9a23e;return this['_cursorInfo$'][_0x3e3a32(0x1c4)]();}get[_0xb9a23e(0x278)](){const _0x4a0458=_0xb9a23e;return this[_0x4a0458(0x408)]['getValue']();}[_0xb9a23e(0x51e)](){const _0x272119=_0xb9a23e;super[_0x272119(0x51e)](),this[_0x272119(0x50a)][_0x272119(0x438)](new Map()),this[_0x272119(0x50a)]['complete'](),this['_roomMembers$']['next']([]),this['_roomMembers$']['complete']();}[_0xb9a23e(0x324)](){const _0xda1a44=_0xb9a23e;this[_0xda1a44(0x3e7)]||(this['_init']=!0x0,this[_0xda1a44(0x499)]['sessionStatus$'][_0xda1a44(0x24a)](_0x1fa2ab[_0xda1a44(0x307)](this[_0xda1a44(0x203)]))[_0xda1a44(0x282)](_0x27161b=>{const _0xc833e6=_0xda1a44;_0x27161b===_0x346ac5['ONLINE']?this[_0xc833e6(0x4ba)]():this['_toggleOffline']();}),this[_0xda1a44(0x499)][_0xda1a44(0x2bf)][_0xda1a44(0x24a)](_0x1fa2ab['takeUntil'](this['dispose$']))[_0xda1a44(0x282)](_0x4d6a51=>{const _0x3cddd2=_0xda1a44,_0x3270e9=_0x4d6a51['eventID'];_0x3270e9===_0x244d6f[_0x3cddd2(0x42f)]['UPDATE_CURSOR']&&this[_0x3cddd2(0x45d)](_0x4d6a51),_0x3270e9===_0x244d6f[_0x3cddd2(0x42f)][_0x3cddd2(0x345)]&&this['_onCursorDelete'](_0x4d6a51);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0xda1a44(0x384)][_0xda1a44(0x223)](_0xa8e161=>{const _0x134bde=_0xda1a44;if(this[_0x134bde(0x513)]&&_0xa8e161['id']===_0x552a78['SetSelectionsOperation']['id']&&_0xa8e161[_0x134bde(0x1b9)]['unitId']===this['unitID']){const _0x232640=_0xa8e161[_0x134bde(0x1b9)];this[_0x134bde(0x50e)](_0x232640['subUnitId'],_0x232640['selections'][0x0]);}})));}[_0xb9a23e(0x45d)](_0x2c4eb1){const _0x5bfdc2=_0xb9a23e;var _0x362931,_0x4d050b;const {memberID:_0x4921fe,selection:_0x2ee7c7}=_0x2c4eb1[_0x5bfdc2(0x3df)],{sheetName:_0x328343,range:_0x5c8ad1}=_0xcaf925[_0x5bfdc2(0x3b9)](_0x2ee7c7),_0x281d01={'name':(_0x4d050b=(_0x362931=this[_0x5bfdc2(0x50c)][_0x5bfdc2(0x41f)](this[_0x5bfdc2(0x474)],_0x4921fe))==null?void 0x0:_0x362931['name'])!=null?_0x4d050b:_0x5bfdc2(0x523),'range':this[_0x5bfdc2(0x1d0)](_0x328343,_0x5c8ad1),'sheetID':_0x328343,'color':this[_0x5bfdc2(0x25b)][_0x5bfdc2(0x38e)](_0x4921fe),'selection':_0x2ee7c7},_0x408e79=this[_0x5bfdc2(0x4e5)];_0x408e79['set'](_0x4921fe,_0x281d01),this[_0x5bfdc2(0x50a)]['next'](_0x408e79);}['_onCursorDelete'](_0x2fa216){const _0x4eb07d=_0xb9a23e,{memberID:_0x1ead3b}=_0x2fa216['data'],_0x531634=this[_0x4eb07d(0x4e5)];_0x531634[_0x4eb07d(0x319)](_0x1ead3b),this[_0x4eb07d(0x50a)]['next'](_0x531634);}[_0xb9a23e(0x1d0)](_0xabbe01,_0x3fe059){const _0x211ca0=_0xb9a23e;var _0x3e0e2b,_0x2a8b16;const _0x35c6ca=(_0x2a8b16=(_0x3e0e2b=this[_0x211ca0(0x328)]['getUniverSheetInstance'](this[_0x211ca0(0x474)]))==null?void 0x0:_0x3e0e2b[_0x211ca0(0x424)](_0xabbe01))==null?void 0x0:_0x2a8b16[_0x211ca0(0x4eb)]();return(_0x35c6ca==null?void 0x0:_0x35c6ca[_0x211ca0(0x436)](_0x5886fc=>_0x39562f[_0x211ca0(0x249)]['contains'](_0x5886fc,_0x3fe059)))||_0x3fe059;}[_0xb9a23e(0x47c)](){const _0x4e533e=_0xb9a23e,_0x23f305=new _0x39562f[(_0x4e533e(0x4a1))](),_0x8dc186=_0x330053(),_0x19716f=()=>{const _0x14d178=_0x4e533e;_0x23f305[_0x14d178(0x51e)]();const _0xef6256=(_0x10d210,_0x452ac5,_0x2a908e,_0x5607ae)=>{const _0x257901=_0x14d178;let _0x21bc9f=[];switch(_0x10d210['id']){case _0x552a78[_0x257901(0x383)][_0x257901(0x437)]:{_0x21bc9f=_0x552a78[_0x257901(0x3be)](_0x10d210,_0x5607ae);break;}case _0x552a78[_0x257901(0x383)]['DeleteRangeMoveUpCommandId']:{_0x21bc9f=_0x552a78[_0x257901(0x1a2)](_0x10d210,_0x5607ae);break;}case _0x552a78[_0x257901(0x383)][_0x257901(0x366)]:{_0x21bc9f=_0x552a78[_0x257901(0x351)](_0x10d210,_0x5607ae);break;}case _0x552a78[_0x257901(0x383)][_0x257901(0x1b2)]:{_0x21bc9f=_0x552a78[_0x257901(0x2c0)](_0x10d210,_0x5607ae);break;}case _0x552a78[_0x257901(0x383)]['InsertRangeMoveRightCommandId']:{_0x21bc9f=_0x552a78['handleInsertRangeMoveRight'](_0x10d210,_0x5607ae);break;}case _0x552a78[_0x257901(0x383)][_0x257901(0x2d8)]:{_0x21bc9f=_0x552a78[_0x257901(0x3eb)](_0x10d210,_0x5607ae);break;}case _0x552a78[_0x257901(0x383)][_0x257901(0x4a0)]:{_0x21bc9f=_0x552a78['handleMoveRange'](_0x10d210,_0x5607ae);break;}case _0x552a78[_0x257901(0x383)][_0x257901(0x216)]:{_0x21bc9f=_0x552a78['handleIRemoveCol'](_0x10d210,_0x5607ae);break;}case _0x552a78[_0x257901(0x383)][_0x257901(0x1be)]:{_0x21bc9f=_0x552a78[_0x257901(0x537)](_0x10d210,_0x5607ae);break;}}const _0x198c3f=_0x552a78[_0x257901(0x289)](_0x21bc9f,_0x5607ae),_0x107aab=this[_0x257901(0x4e5)][_0x257901(0x3a6)](_0x452ac5);if(_0x107aab&&_0x198c3f){const _0x197d84={..._0x107aab,'range':_0x198c3f};this[_0x257901(0x4e5)]['set'](_0x452ac5,_0x197d84),_0x8dc186(()=>{const _0xc42d2c=_0x257901,_0x233ae1=this[_0xc42d2c(0x2dc)][_0xc42d2c(0x332)](_0x198c3f,_0x47e14a=>(_0x233ae1[_0xc42d2c(0x51e)](),_0xef6256(_0x47e14a,_0x452ac5,_0x2a908e,_0x198c3f)));_0x23f305['add'](_0x233ae1);});}return{'redos':[],'undos':[]};};this[_0x14d178(0x4e5)][_0x14d178(0x560)]((_0x386e3d,_0x51ed22)=>{const _0x54873e=_0x14d178,{range:_0x48a67b,sheetID:_0x18e7e0}=_0x386e3d,_0x134352=this[_0x54873e(0x2dc)]['registerRefRange'](_0x48a67b,_0xf3675c=>(_0x134352[_0x54873e(0x51e)](),_0xef6256(_0xf3675c,_0x51ed22,_0x18e7e0,_0x48a67b)));_0x23f305[_0x54873e(0x398)](_0x134352);});};this[_0x4e533e(0x28a)](_0x39562f['toDisposable'](this[_0x4e533e(0x50a)][_0x4e533e(0x282)](()=>{_0x19716f();})));}[_0xb9a23e(0x4ba)](){const _0x5a1264=_0xb9a23e;var _0x3b364a,_0x490f10;if(this[_0x5a1264(0x513)]=!0x0,((_0x3b364a=this[_0x5a1264(0x328)]['getFocusedUnit']())==null?void 0x0:_0x3b364a[_0x5a1264(0x37c)]())!==this['unitID'])return;const _0x225696=(_0x490f10=this['_injector']['get'](_0x552a78[_0x5a1264(0x376)])[_0x5a1264(0x206)]())==null?void 0x0:_0x490f10[0x0],_0x185b78=this[_0x5a1264(0x328)][_0x5a1264(0x33e)](_0x39562f[_0x5a1264(0x1ad)][_0x5a1264(0x40a)])[_0x5a1264(0x568)]();_0x225696&&_0x185b78&&this['_updateLocalCursor'](_0x185b78['getSheetId'](),_0x225696);}[_0xb9a23e(0x3cb)](){const _0x316af1=_0xb9a23e;this[_0x316af1(0x513)]=!0x1;}};_0x2fb259=_0x3631d2([_0x345b15(0x2,_0x46d633[_0xb9a23e(0x2a5)](_0x46d633[_0xb9a23e(0x215)])),_0x345b15(0x3,_0x46d633[_0xb9a23e(0x2a5)](_0x274314)),_0x345b15(0x4,_0x46d633[_0xb9a23e(0x2a5)](_0x3eae2a)),_0x345b15(0x5,_0x39562f[_0xb9a23e(0x2d6)]),_0x345b15(0x6,_0x39562f['ICommandService']),_0x345b15(0x7,_0x46d633[_0xb9a23e(0x2a5)](_0x552a78[_0xb9a23e(0x245)]))],_0x2fb259);var _0x3e6251=Object[_0xb9a23e(0x38b)],_0x4bfd30=Object[_0xb9a23e(0x2ed)],_0x1bdeca=(_0x2b297c,_0x2c1c9b,_0x5db856,_0x89d37a)=>{for(var _0x32cefa=_0x89d37a>0x1?void 0x0:_0x89d37a?_0x4bfd30(_0x2c1c9b,_0x5db856):_0x2c1c9b,_0x5b6381=_0x2b297c['length']-0x1,_0x41edf7;_0x5b6381>=0x0;_0x5b6381--)(_0x41edf7=_0x2b297c[_0x5b6381])&&(_0x32cefa=(_0x89d37a?_0x41edf7(_0x2c1c9b,_0x5db856,_0x32cefa):_0x41edf7(_0x32cefa))||_0x32cefa);return _0x89d37a&&_0x32cefa&&_0x3e6251(_0x2c1c9b,_0x5db856,_0x32cefa),_0x32cefa;},_0x11f267=(_0x5194e2,_0x3973bd)=>(_0x4a3579,_0x33adae)=>_0x3973bd(_0x4a3579,_0x33adae,_0x5194e2);const _0x2d75e9=0x12c,_0x1e83bc=0x64;let _0x2df3d0=class extends _0x39562f['RxDisposable']{constructor(_0xc8959e,_0xdfd120,_0x4cbaee,_0x4adb7c,_0x461d31,_0x39ea9a,_0x5aa455,_0x4ecfe1,_0x40e0bd){const _0xa96631=_0xb9a23e;super(),_0x3e3dad(this,_0xa96631(0x513),!0x1),_0x3e3dad(this,_0xa96631(0x3e7),!0x1),_0x3e3dad(this,'_cursorInfo$',new _0x1fa2ab['BehaviorSubject'](new Map())),_0x3e3dad(this,_0xa96631(0x472),this[_0xa96631(0x50a)]['asObservable']()),_0x3e3dad(this,_0xa96631(0x408),new _0x1fa2ab[(_0xa96631(0x492))]([])),_0x3e3dad(this,_0xa96631(0x348),this[_0xa96631(0x408)][_0xa96631(0x24a)](_0x1fa2ab['debounceTime'](_0x2d75e9))),_0x3e3dad(this,_0xa96631(0x50e),_0x3a249e(_0x48e789=>{const _0x2d3795=_0xa96631,_0x4bfe73={'eventID':_0x244d6f['CollaborationEvent'][_0x2d3795(0x20f)],'data':{'unitID':this[_0x2d3795(0x474)],'memberID':this[_0x2d3795(0x499)][_0x2d3795(0x4d7)](),'selection':_0xcef2fd(_0x48e789)}};this[_0x2d3795(0x499)]['send'](_0x4bfe73,this[_0x2d3795(0x474)]);},_0x1e83bc)),(this[_0xa96631(0x474)]=_0xc8959e,this[_0xa96631(0x499)]=_0xdfd120,this['_injector']=_0x4cbaee,this[_0xa96631(0x25b)]=_0x4adb7c,this[_0xa96631(0x50c)]=_0x461d31,this['_syncEditingCollabCursorService']=_0x39ea9a,this['_transformService']=_0x5aa455,this[_0xa96631(0x328)]=_0x4ecfe1,this['_commandService']=_0x40e0bd);}get[_0xb9a23e(0x4e5)](){const _0x4e3017=_0xb9a23e;return this['_cursorInfo$'][_0x4e3017(0x1c4)]();}get[_0xb9a23e(0x278)](){const _0x2e2769=_0xb9a23e;return this[_0x2e2769(0x408)][_0x2e2769(0x1c4)]();}[_0xb9a23e(0x51e)](){const _0x273e19=_0xb9a23e;super[_0x273e19(0x51e)](),this[_0x273e19(0x50a)][_0x273e19(0x438)](new Map()),this[_0x273e19(0x50a)][_0x273e19(0x326)](),this[_0x273e19(0x408)][_0x273e19(0x438)]([]),this[_0x273e19(0x408)][_0x273e19(0x326)]();}['init'](){const _0xe3c266=_0xb9a23e;this[_0xe3c266(0x3e7)]||(this[_0xe3c266(0x3e7)]=!0x0,this['_session']['sessionStatus$'][_0xe3c266(0x24a)](_0x1fa2ab[_0xe3c266(0x307)](this['dispose$']))[_0xe3c266(0x282)](_0x458111=>{const _0x1dac6c=_0xe3c266;_0x458111===_0x346ac5[_0x1dac6c(0x330)]?this[_0x1dac6c(0x4ba)]():this['_toggleOffline']();}),this[_0xe3c266(0x499)][_0xe3c266(0x2bf)][_0xe3c266(0x24a)](_0x1fa2ab[_0xe3c266(0x307)](this[_0xe3c266(0x203)]))['subscribe'](_0x3a88ff=>{const _0x3601d2=_0xe3c266,_0x1ecca3=_0x3a88ff['eventID'];_0x1ecca3===_0x244d6f[_0x3601d2(0x42f)][_0x3601d2(0x20f)]&&this[_0x3601d2(0x45d)](_0x3a88ff),_0x1ecca3===_0x244d6f[_0x3601d2(0x42f)][_0x3601d2(0x345)]&&this[_0x3601d2(0x22f)](_0x3a88ff);}),this['disposeWithMe'](this[_0xe3c266(0x384)][_0xe3c266(0x223)](_0x4da4bf=>{const _0x5c9cb4=_0xe3c266,_0x111579=_0x4da4bf[_0x5c9cb4(0x1b9)];_0x111579!=null&&this[_0x5c9cb4(0x513)]&&_0x4da4bf['id']===_0x239a47['SetTextSelectionsOperation']['id']&&_0x111579[_0x5c9cb4(0x551)]===this[_0x5c9cb4(0x474)]&&_0x111579[_0x5c9cb4(0x381)]===!0x1&&this[_0x5c9cb4(0x50e)](_0x111579[_0x5c9cb4(0x250)]);})),this[_0xe3c266(0x2ff)][_0xe3c266(0x45c)]['pipe'](_0x1fa2ab[_0xe3c266(0x307)](this[_0xe3c266(0x203)]))[_0xe3c266(0x282)](_0x50515d=>{const _0x33d306=_0xe3c266;if((_0x50515d==null?void 0x0:_0x50515d[_0x33d306(0x474)])!==this[_0x33d306(0x474)])return;const _0x51ebe1={'eventID':_0x244d6f['CollaborationEvent'][_0x33d306(0x20f)],'data':_0x50515d};this[_0x33d306(0x45d)](_0x51ebe1);}),this[_0xe3c266(0x28a)](this[_0xe3c266(0x384)][_0xe3c266(0x223)](_0x35598c=>{const _0x511312=_0xe3c266;if(_0x35598c[_0x511312(0x1b9)]==null)return;const _0x5ec5f9=_0x35598c['params'];if(_0x35598c['id']!==_0x239a47[_0x511312(0x338)]['id']||_0x5ec5f9[_0x511312(0x551)]!==this[_0x511312(0x474)])return;const _0x258796={'id':_0x511312(0x1f2),'params':_0x5ec5f9},_0x84da0=this[_0x511312(0x4e5)];for(const [_0x5c7ff1,_0x4aeb40]of _0x84da0){const _0x13bbc0={'id':_0x511312(0x1f2),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x4aeb40[_0x511312(0x250)]}},_0x409d2e=this['_transformService'][_0x511312(0x4ed)](_0x258796,_0x13bbc0,!0x1);if(_0x244d6f[_0x511312(0x443)](_0x409d2e))throw _0x409d2e[_0x511312(0x4f3)];_0x84da0[_0x511312(0x3b1)](_0x5c7ff1,{..._0x4aeb40,'ranges':_0x409d2e['m2Prime'][_0x511312(0x1b9)]['textRanges']});}queueMicrotask(()=>{const _0x264352=_0x511312;this[_0x264352(0x50a)][_0x264352(0x438)](_0x84da0);});})));}[_0xb9a23e(0x45d)](_0x17fbb6){const _0x5cf93a=_0xb9a23e;var _0x332069,_0x659d8a;const {memberID:_0x1b0e02,selection:_0x2e92e5}=_0x17fbb6['data'],_0x2c77ba=_0x5ea618(_0x2e92e5),_0x34d6d4=(_0x659d8a=(_0x332069=this['_memberService'][_0x5cf93a(0x41f)](this['unitID'],_0x1b0e02))==null?void 0x0:_0x332069[_0x5cf93a(0x50b)])!=null?_0x659d8a:'Unknown\x20user',_0x365fcc={'color':this[_0x5cf93a(0x25b)][_0x5cf93a(0x38e)](_0x1b0e02),'name':_0x34d6d4,'ranges':_0x2c77ba},_0x516423=this['cursorInfo'];_0x516423[_0x5cf93a(0x3b1)](_0x1b0e02,_0x365fcc),this[_0x5cf93a(0x50a)][_0x5cf93a(0x438)](_0x516423);}[_0xb9a23e(0x22f)](_0x43a1c7){const _0x1a3dc7=_0xb9a23e,{memberID:_0x49e329}=_0x43a1c7[_0x1a3dc7(0x3df)],_0x3b6915=this[_0x1a3dc7(0x4e5)];_0x3b6915[_0x1a3dc7(0x319)](_0x49e329),this['_cursorInfo$'][_0x1a3dc7(0x438)](_0x3b6915);}[_0xb9a23e(0x4ba)](){const _0x527d23=_0xb9a23e;var _0x1fb42e;if(this[_0x527d23(0x513)]=!0x0,((_0x1fb42e=this[_0x527d23(0x328)][_0x527d23(0x51d)]())==null?void 0x0:_0x1fb42e[_0x527d23(0x37c)]())!==this[_0x527d23(0x474)])return;const _0xc2099c=this[_0x527d23(0x273)][_0x527d23(0x3a6)](_0x239a47[_0x527d23(0x3c5)])['getSelections'](),_0x4e65e6=_0xc2099c==null?void 0x0:_0xc2099c['map'](_0x239a47[_0x527d23(0x29b)]);Array[_0x527d23(0x1b3)](_0x4e65e6)&&_0x4e65e6['length']>0x0&&this['_updateLocalCursor'](_0x4e65e6);}[_0xb9a23e(0x3cb)](){const _0xac7878=_0xb9a23e;this[_0xac7878(0x513)]=!0x1;}};_0x2df3d0=_0x1bdeca([_0x11f267(0x2,_0x46d633[_0xb9a23e(0x2a5)](_0x46d633['Injector'])),_0x11f267(0x3,_0x46d633['Inject'](_0x274314)),_0x11f267(0x4,_0x46d633[_0xb9a23e(0x2a5)](_0x3eae2a)),_0x11f267(0x5,_0x46d633['Inject'](_0x1287ec)),_0x11f267(0x6,_0x244d6f[_0xb9a23e(0x444)]),_0x11f267(0x7,_0x39562f[_0xb9a23e(0x2d6)]),_0x11f267(0x8,_0x39562f[_0xb9a23e(0x4b5)])],_0x2df3d0);var _0x45a39a=Object[_0xb9a23e(0x38b)],_0x290363=Object[_0xb9a23e(0x2ed)],_0x5ea4d8=(_0x32cfa6,_0x3ac6da,_0x583f64,_0x43b8b0)=>{for(var _0x5bef22=_0x43b8b0>0x1?void 0x0:_0x43b8b0?_0x290363(_0x3ac6da,_0x583f64):_0x3ac6da,_0x2e03ce=_0x32cfa6['length']-0x1,_0x3bc921;_0x2e03ce>=0x0;_0x2e03ce--)(_0x3bc921=_0x32cfa6[_0x2e03ce])&&(_0x5bef22=(_0x43b8b0?_0x3bc921(_0x3ac6da,_0x583f64,_0x5bef22):_0x3bc921(_0x5bef22))||_0x5bef22);return _0x43b8b0&&_0x5bef22&&_0x45a39a(_0x3ac6da,_0x583f64,_0x5bef22),_0x5bef22;},_0x5b3d36=(_0x1f3aba,_0xdbfc9e)=>(_0xc5d330,_0x23a959)=>_0xdbfc9e(_0xc5d330,_0x23a959,_0x1f3aba);let _0x120e16=class extends _0x39562f[_0xb9a23e(0x298)]{constructor(_0x1f2970,_0x514a02,_0x413fcb){const _0x18bc2=_0xb9a23e;super(),_0x3e3dad(this,_0x18bc2(0x21d),new Map()),_0x3e3dad(this,_0x18bc2(0x28e),new _0x1fa2ab['Subject']()),(this[_0x18bc2(0x328)]=_0x1f2970,this[_0x18bc2(0x273)]=_0x514a02,this[_0x18bc2(0x49e)]=_0x413fcb,this[_0x18bc2(0x3e7)]());}[_0xb9a23e(0x51e)](){const _0x923a4e=_0xb9a23e;super[_0x923a4e(0x51e)](),this[_0x923a4e(0x28e)]['complete'](),this[_0x923a4e(0x21d)][_0x923a4e(0x560)](_0x32a25f=>_0x32a25f[_0x923a4e(0x51e)]());}['getCollabCursors$'](_0x30fa07){const _0x2b1f0b=_0xb9a23e;return this[_0x2b1f0b(0x21d)][_0x2b1f0b(0x1b4)](_0x30fa07)?this[_0x2b1f0b(0x21d)]['get'](_0x30fa07)[_0x2b1f0b(0x472)]:this[_0x2b1f0b(0x28e)][_0x2b1f0b(0x24a)](_0x1fa2ab[_0x2b1f0b(0x1f0)](_0x23613f=>_0x23613f[_0x2b1f0b(0x474)]===_0x30fa07),_0x1fa2ab[_0x2b1f0b(0x2d3)](_0x5d7995=>_0x5d7995['cursorInfo$']));}[_0xb9a23e(0x3e7)](){const _0x53fd65=_0xb9a23e;this['_univerInstanceService'][_0x53fd65(0x1e3)](_0x39562f[_0x53fd65(0x1ad)][_0x53fd65(0x40a)])[_0x53fd65(0x24a)](_0x1fa2ab[_0x53fd65(0x307)](this['dispose$']))[_0x53fd65(0x282)](async _0x44d97f=>{const _0x570791=_0x53fd65,_0x52dc83=_0x44d97f[_0x570791(0x37c)](),_0x2c0fe6=await this[_0x570791(0x565)](_0x52dc83);this[_0x570791(0x28e)][_0x570791(0x438)](_0x2c0fe6),this[_0x570791(0x21d)][_0x570791(0x3b1)](_0x52dc83,_0x2c0fe6);}),this[_0x53fd65(0x328)][_0x53fd65(0x1e3)](_0x39562f[_0x53fd65(0x1ad)][_0x53fd65(0x49f)])['pipe'](_0x1fa2ab['takeUntil'](this[_0x53fd65(0x203)]))['pipe'](_0x1fa2ab[_0x53fd65(0x1f0)](_0x28b48e=>!_0x28b48e[_0x53fd65(0x37c)]()['startsWith']('__')))[_0x53fd65(0x282)](async _0x1f9b9e=>{const _0x1896bf=_0x53fd65,_0x51354d=_0x1f9b9e['getUnitId'](),_0x27aa3f=await this[_0x1896bf(0x4b6)](_0x51354d);this[_0x1896bf(0x28e)]['next'](_0x27aa3f),this[_0x1896bf(0x21d)][_0x1896bf(0x3b1)](_0x51354d,_0x27aa3f);}),_0x1fa2ab[_0x53fd65(0x4dd)](this['_univerInstanceService'][_0x53fd65(0x37e)](_0x39562f['UniverInstanceType']['UNIVER_DOC']),this[_0x53fd65(0x328)][_0x53fd65(0x37e)](_0x39562f[_0x53fd65(0x1ad)]['UNIVER_SHEET']))[_0x53fd65(0x24a)](_0x1fa2ab[_0x53fd65(0x307)](this[_0x53fd65(0x203)]))[_0x53fd65(0x282)](_0x1b23f3=>{const _0xeddc36=_0x53fd65,_0xa4ffef=_0x1b23f3['getUnitId'](),_0xa5964a=this[_0xeddc36(0x21d)]['get'](_0xa4ffef);_0xa5964a&&(_0xa5964a['dispose'](),this[_0xeddc36(0x21d)][_0xeddc36(0x319)](_0xa4ffef));});}async[_0xb9a23e(0x565)](_0x2f4246){const _0x2c0190=_0xb9a23e,_0x587c27=await this[_0x2c0190(0x49e)][_0x2c0190(0x3d3)](_0x2f4246),_0x5b4511=this['_injector'][_0x2c0190(0x4dc)](_0x2fb259,_0x2f4246,_0x587c27);return _0x5b4511[_0x2c0190(0x324)](),_0x5b4511;}async['_startDocCollabCursor'](_0x5d7a9f){const _0x89159e=_0xb9a23e,_0x5a03ad=await this[_0x89159e(0x49e)][_0x89159e(0x3d3)](_0x5d7a9f),_0x39bb6b=this['_injector'][_0x89159e(0x4dc)](_0x2df3d0,_0x5d7a9f,_0x5a03ad);return _0x39bb6b[_0x89159e(0x324)](),_0x39bb6b;}};_0x120e16=_0x5ea4d8([_0x39562f[_0xb9a23e(0x40c)](_0x39562f[_0xb9a23e(0x407)][_0xb9a23e(0x31d)],_0x120e16),_0x5b3d36(0x0,_0x39562f[_0xb9a23e(0x2d6)]),_0x5b3d36(0x1,_0x46d633['Inject'](_0x46d633['Injector'])),_0x5b3d36(0x2,_0x46d633['Inject'](_0x2dfa89[_0xb9a23e(0x538)]))],_0x120e16);const _0x3b647f=0x14,_0x5da25a=0xc8,_0x3fa08a=0x4,_0x2a1d0a=0x5;function _0x28b599(_0x4c5b06,_0x342dd3){const _0x4c3de6=_0xb9a23e;let {radius:_0x49dd13,width:_0x3abbbc,height:_0x5161c3}=_0x342dd3;_0x49dd13=_0x49dd13!=null?_0x49dd13:0x0,_0x3abbbc=_0x3abbbc!=null?_0x3abbbc:0x1e,_0x5161c3=_0x5161c3!=null?_0x5161c3:0x1e;let _0x38374c=0x0,_0x581706=0x0,_0x405e0e=0x0;_0x38374c=_0x581706=_0x405e0e=Math[_0x4c3de6(0x556)](_0x49dd13,_0x3abbbc/0x2,_0x5161c3/0x2),_0x4c5b06['beginPath'](),_0x4c5b06[_0x4c3de6(0x3f3)](_0x38374c,0x0),_0x4c5b06[_0x4c3de6(0x465)](_0x3abbbc-_0x581706,0x0),_0x4c5b06[_0x4c3de6(0x1a3)](_0x3abbbc-_0x581706,_0x581706,_0x581706,Math['PI']*0x3/0x2,0x0,!0x1),_0x4c5b06['lineTo'](_0x3abbbc,_0x5161c3-_0x405e0e),_0x4c5b06[_0x4c3de6(0x1a3)](_0x3abbbc-_0x405e0e,_0x5161c3-_0x405e0e,_0x405e0e,0x0,Math['PI']/0x2,!0x1),_0x4c5b06[_0x4c3de6(0x465)](0x0,_0x5161c3),_0x4c5b06[_0x4c3de6(0x465)](0x0,_0x38374c),_0x4c5b06[_0x4c3de6(0x1a3)](_0x38374c,_0x38374c,_0x38374c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4c5b06[_0x4c3de6(0x4c2)](),_0x342dd3[_0x4c3de6(0x27c)]&&(_0x4c5b06[_0x4c3de6(0x421)](),_0x4c5b06[_0x4c3de6(0x468)]=_0x342dd3[_0x4c3de6(0x27c)],_0x342dd3[_0x4c3de6(0x3de)]===_0x4c3de6(0x2b7)?_0x4c5b06[_0x4c3de6(0x27c)](_0x4c3de6(0x2b7)):_0x4c5b06[_0x4c3de6(0x27c)](),_0x4c5b06[_0x4c3de6(0x500)]());}class _0x42f8bc extends _0x4f56df[_0xb9a23e(0x3d7)]{constructor(_0x443e50,_0x25543b){const _0x1163c6=_0xb9a23e;super(_0x443e50,_0x25543b),_0x3e3dad(this,_0x1163c6(0x1d6)),_0x3e3dad(this,_0x1163c6(0x37f)),(this[_0x1163c6(0x1d6)]=_0x25543b==null?void 0x0:_0x25543b['color'],this['text']=_0x25543b==null?void 0x0:_0x25543b[_0x1163c6(0x37f)]);}static[_0xb9a23e(0x242)](_0x297464,_0x5e2f3d){const _0x2ef94a=_0xb9a23e,{text:_0x59a819,color:_0x3c4d38}=_0x5e2f3d;_0x297464['save'](),_0x297464[_0x2ef94a(0x4f4)]=_0x2ef94a(0x1b5);const _0x4fa540=_0x297464[_0x2ef94a(0x558)](_0x59a819)[_0x2ef94a(0x4fc)],_0x1aba30=Math[_0x2ef94a(0x556)](_0x4fa540+0x2*_0x3fa08a,_0x5da25a);_0x28b599(_0x297464,{'height':_0x3b647f,'radius':0x4,'width':_0x1aba30,'fill':_0x3c4d38,'evented':!0x1}),_0x297464['fillStyle']='#FFF';const _0x505350=_0x3fa08a,_0x2f10ae=_0x3b647f-_0x2a1d0a,_0x39d294=_0x5da25a-0x2*_0x3fa08a;if(_0x4fa540>_0x39d294){let _0x2b6548='',_0x48f276=0x0;for(const _0x24570f of _0x59a819){const _0x5c1696=_0x297464['measureText'](_0x24570f)[_0x2ef94a(0x4fc)];if(_0x48f276+_0x5c1696<=_0x39d294-_0x297464[_0x2ef94a(0x558)](_0x2ef94a(0x1a5))[_0x2ef94a(0x4fc)])_0x2b6548+=_0x24570f,_0x48f276+=_0x5c1696;else{_0x2b6548+=_0x2ef94a(0x1a5);break;}}_0x297464[_0x2ef94a(0x24c)](_0x2b6548,_0x505350,_0x2f10ae);}else _0x297464['fillText'](_0x59a819,_0x505350,_0x2f10ae);_0x297464[_0x2ef94a(0x500)]();}[_0xb9a23e(0x49d)](_0x175dcb){const _0x4576d9=_0xb9a23e;_0x42f8bc[_0x4576d9(0x242)](_0x175dcb,this);}}const _0xeda3a1=0x1,_0x236f90=1.5;class _0x1dafad extends _0x4f56df[_0xb9a23e(0x3d7)]{constructor(_0x16fbb2,_0x4d2f27){const _0x35b974=_0xb9a23e;super(_0x16fbb2,_0x4d2f27),_0x3e3dad(this,_0x35b974(0x36e)),_0x3e3dad(this,'_hovered',!0x1),_0x3e3dad(this,_0x35b974(0x388)),_0x3e3dad(this,_0x35b974(0x533),''),_0x3e3dad(this,'_labelPosition',_0x35b974(0x1f7)),(_0x4d2f27&&this[_0x35b974(0x260)](_0x4d2f27),this[_0x35b974(0x2c6)]['subscribeEvent'](()=>this[_0x35b974(0x260)]({'hovered':!0x0})),this[_0x35b974(0x290)][_0x35b974(0x27a)](()=>this[_0x35b974(0x260)]({'hovered':!0x1})));}['setShapeProps'](_0x3edc70){const _0x2f69d9=_0xb9a23e;var _0x3be91e,_0x24d968,_0x290b72,_0x344c32,_0x585b53;this[_0x2f69d9(0x36e)]=(_0x3be91e=_0x3edc70[_0x2f69d9(0x1d6)])!=null?_0x3be91e:this[_0x2f69d9(0x36e)],this[_0x2f69d9(0x320)]=(_0x24d968=_0x3edc70[_0x2f69d9(0x359)])!=null?_0x24d968:this[_0x2f69d9(0x320)],this[_0x2f69d9(0x388)]=(_0x290b72=_0x3edc70[_0x2f69d9(0x1dc)])!=null?_0x290b72:this[_0x2f69d9(0x388)],this[_0x2f69d9(0x533)]=(_0x344c32=_0x3edc70[_0x2f69d9(0x50b)])!=null?_0x344c32:this[_0x2f69d9(0x533)],this[_0x2f69d9(0x294)]=(_0x585b53=_0x3edc70[_0x2f69d9(0x200)])!=null?_0x585b53:this['_labelPosition'],this['transformByState']({'width':_0x3edc70['width'],'height':_0x3edc70[_0x2f69d9(0x47f)]});}[_0xb9a23e(0x2e0)](_0x1e8aa5){const _0x1bcbf9=_0xb9a23e,{row:_0x3a8ee9,column:_0x105993}=_0x1e8aa5;if(_0x3a8ee9>=this['_range']['startRow']&&_0x3a8ee9<=this['_range']['endRow']&&_0x105993>=this[_0x1bcbf9(0x388)][_0x1bcbf9(0x358)]&&_0x105993<=this['_range'][_0x1bcbf9(0x511)]){this[_0x1bcbf9(0x260)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x5c05b9){return!0x1;}[_0xb9a23e(0x49d)](_0x475778){const _0x9bdf34=_0xb9a23e;_0x4f56df[_0x9bdf34(0x3ce)]['drawWith'](_0x475778,{'width':this[_0x9bdf34(0x4fc)],'height':this['height'],'strokeWidth':_0x236f90,'stroke':this[_0x9bdf34(0x36e)],'evented':!0x1}),this[_0x9bdf34(0x320)]&&(_0x475778['save'](),_0x475778[_0x9bdf34(0x3e1)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']==='bottom'?0x0:-_0x3b647f),_0x42f8bc[_0x9bdf34(0x242)](_0x475778,{'text':this['_name'],'color':this['_color']}),_0x475778[_0x9bdf34(0x500)]());}}var _0x5aa900=Object[_0xb9a23e(0x38b)],_0x149459=Object[_0xb9a23e(0x2ed)],_0x2d5996=(_0x181264,_0x47f49e,_0xc60506,_0x42f1e2)=>{const _0x20763a=_0xb9a23e;for(var _0x333d45=_0x42f1e2>0x1?void 0x0:_0x42f1e2?_0x149459(_0x47f49e,_0xc60506):_0x47f49e,_0xb34538=_0x181264[_0x20763a(0x480)]-0x1,_0x4ecc1d;_0xb34538>=0x0;_0xb34538--)(_0x4ecc1d=_0x181264[_0xb34538])&&(_0x333d45=(_0x42f1e2?_0x4ecc1d(_0x47f49e,_0xc60506,_0x333d45):_0x4ecc1d(_0x333d45))||_0x333d45);return _0x42f1e2&&_0x333d45&&_0x5aa900(_0x47f49e,_0xc60506,_0x333d45),_0x333d45;},_0x5125be=(_0x524925,_0x6ef566)=>(_0x1af64d,_0x53ecf5)=>_0x6ef566(_0x1af64d,_0x53ecf5,_0x524925);const _0x10a838=0x1389;let _0x125bcc=class extends _0x39562f[_0xb9a23e(0x298)]{constructor(_0x49df97,_0x2cd69c,_0x4c2822,_0xd2c548){const _0xfa7828=_0xb9a23e;super(),_0x3e3dad(this,_0xfa7828(0x2da),new Set()),_0x3e3dad(this,_0xfa7828(0x36f),null),(this[_0xfa7828(0x33d)]=_0x49df97,this[_0xfa7828(0x328)]=_0x2cd69c,this[_0xfa7828(0x1df)]=_0x4c2822,this[_0xfa7828(0x4e4)]=_0xd2c548,this[_0xfa7828(0x3e7)]());}get[_0xb9a23e(0x418)](){const _0x15111e=_0xb9a23e;return this[_0x15111e(0x1df)][_0x15111e(0x2d0)](this[_0x15111e(0x328)][_0x15111e(0x33e)](_0x39562f[_0x15111e(0x1ad)][_0x15111e(0x40a)])[_0x15111e(0x37c)]())[_0x15111e(0x3a2)](_0x2818a9[_0x15111e(0x4ee)]);}get['_unitId'](){const _0x3626eb=_0xb9a23e;return this[_0x3626eb(0x328)][_0x3626eb(0x33e)](_0x39562f[_0x3626eb(0x1ad)][_0x3626eb(0x40a)])[_0x3626eb(0x37c)]();}[_0xb9a23e(0x3e7)](){const _0x1da96a=_0xb9a23e;this[_0x1da96a(0x418)]['currentSkeleton$'][_0x1da96a(0x24a)](_0x53520c['takeUntil'](this[_0x1da96a(0x203)]),_0x53520c[_0x1da96a(0x2d3)](_0x47797b=>{const _0x448b38=_0x1da96a;if(_0x47797b){const _0x3fa737=_0x47797b[_0x448b38(0x34c)];return _0x1fa2ab[_0x448b38(0x356)](this[_0x448b38(0x33d)]['getCollabCursors$'](this['_unitId']),this[_0x448b38(0x4e4)][_0x448b38(0x2cf)])[_0x448b38(0x24a)](_0x53520c[_0x448b38(0x3e3)](([_0x39a876,_0x4dca0f])=>{const _0x27f1ec=_0x448b38,_0x4738a7=new Map();return _0x39a876[_0x27f1ec(0x560)]((_0x332bd5,_0x257378)=>{const _0x1390c3=_0x27f1ec;if(_0x332bd5[_0x1390c3(0x342)]===_0x3fa737){const _0xf19e7b={..._0x332bd5};_0xf19e7b['color']=_0x4dca0f[_0x332bd5['color']],_0x4738a7[_0x1390c3(0x3b1)](_0x257378,_0xf19e7b);}}),{'skeleton':_0x47797b,'cursors':_0x4738a7};}));}return _0x1fa2ab['of']({'skeleton':null,'cursors':new Map()});}))[_0x1da96a(0x282)](({skeleton:_0xc001d5,cursors:_0x2db413})=>{const _0x1ee783=_0x1da96a;this['_removeCollabCursors'](),_0xc001d5&&this[_0x1ee783(0x244)](_0xc001d5,_0x2db413);}),this[_0x1da96a(0x418)]['currentSkeleton$']['subscribe'](_0x559a21=>{const _0x24d361=_0x1da96a;if(_0x559a21==null)return;const {skeleton:_0x4970ec}=_0x559a21,_0xe899c9=this[_0x24d361(0x1df)][_0x24d361(0x2d0)](this[_0x24d361(0x1bf)]),{scene:_0x27cb8c}=_0xe899c9;_0x27cb8c[_0x24d361(0x1d7)][_0x24d361(0x27a)](_0x3a249e(_0x41c5f5=>{const _0x38152d=_0x24d361;var _0x1bba09,_0x35f9eb;const {offsetX:_0x3b6240,offsetY:_0x48c8a7}=_0x41c5f5,{x:_0x1a4ad9,y:_0x168215}=_0x27cb8c[_0x38152d(0x20d)](_0x4f56df[_0x38152d(0x3dc)][_0x38152d(0x4fe)]([_0x3b6240,_0x48c8a7])),{scaleX:_0x35d3f7,scaleY:_0xe6e526}=_0x27cb8c[_0x38152d(0x23d)](),_0x4ab13f=_0x27cb8c['getViewport'](_0x2818a9[_0x38152d(0x1f5)]['VIEW_MAIN']),_0x196b11=_0x27cb8c['getScrollXYByRelativeCoords'](_0x4f56df[_0x38152d(0x3dc)][_0x38152d(0x4fe)]([_0x1a4ad9,_0x168215]),_0x4ab13f),_0x5aa2f2=_0x4970ec[_0x38152d(0x30b)](_0x3b6240,_0x48c8a7,_0x35d3f7,_0xe6e526,_0x196b11);((_0x1bba09=this[_0x38152d(0x36f)])==null?void 0x0:_0x1bba09['column'])===_0x5aa2f2[_0x38152d(0x427)]&&((_0x35f9eb=this['_lastPointer'])==null?void 0x0:_0x35f9eb[_0x38152d(0x2b2)])===_0x5aa2f2[_0x38152d(0x2b2)]||this[_0x38152d(0x2da)][_0x38152d(0x560)](_0x3c5b71=>{const _0x11adbc=_0x38152d;_0x3c5b71[_0x11adbc(0x2e0)](_0x5aa2f2);});},0x64));});}[_0xb9a23e(0x244)](_0x264fe6,_0x491c4e){const _0x10b7f9=_0xb9a23e;var _0x577fe9;const _0x6ff88d=(_0x577fe9=this[_0x10b7f9(0x418)][_0x10b7f9(0x2d2)]())==null?void 0x0:_0x577fe9[_0x10b7f9(0x48e)];if(!_0x6ff88d)return;const _0x209fab=this[_0x10b7f9(0x44f)]();if(!_0x209fab)return;this['_cursors']['forEach'](_0x2ed3bf=>{const _0x10f018=_0x10b7f9;_0x2ed3bf[_0x10f018(0x514)]();});const {scene:_0x396679}=_0x209fab,_0x2a89fc=_0xb2292c(Array[_0x10b7f9(0x225)](_0x491c4e['values']()))[_0x10b7f9(0x3e3)](_0x2be2ce=>{const _0x181357=_0x10b7f9,{color:_0x56a93e,range:_0xd21b98,name:_0x50bde9,selection:_0x1c3fb1,sheetID:_0x5282f2}=_0x2be2ce,{startColumn:_0x48d218,startRow:_0x3b0d3d,endColumn:_0x1547f1,endRow:_0x448069}=_0xd21b98,_0x50bfa4=_0x2818a9[_0x181357(0x486)](_0x3b0d3d,_0x48d218,_0x396679,_0x6ff88d),_0x5a840b=_0x2818a9['getCoordByCell'](_0x448069,_0x1547f1,_0x396679,_0x6ff88d),{columnHeaderHeightAndMarginTop:_0x9b6ed9}=_0x6ff88d,{startX:_0x5c7ffc,startY:_0x3ef760}=_0x50bfa4,{endX:_0x53ab69,endY:_0x3adddc}=_0x5a840b,_0x3be62f=_0x53ab69-_0x5c7ffc,_0x3a51d0=_0x3adddc-_0x3ef760,_0x1682e2={'labelPosition':_0x3ef760-_0x9b6ed9>=_0x3b647f?_0x181357(0x1f7):_0x181357(0x469),'sheetID':_0x5282f2,'range':_0xd21b98,'color':_0x56a93e,'name':_0x50bde9,'selection':_0x1c3fb1,'left':_0x5c7ffc,'top':_0x3ef760,'width':_0x3be62f,'height':_0x3a51d0,'evented':!0x1,'zIndex':_0x10a838};return new _0x1dafad(_0x50bde9,_0x1682e2);});_0x396679[_0x10b7f9(0x374)](_0x2a89fc,_0xeda3a1),this[_0x10b7f9(0x2da)]=new Set(_0x2a89fc);}[_0xb9a23e(0x2e1)](){const _0x37a01f=_0xb9a23e;var _0x25e79d;(_0x25e79d=this[_0x37a01f(0x2da)])==null||_0x25e79d[_0x37a01f(0x560)](_0x5a544b=>_0x5a544b['dispose']());}[_0xb9a23e(0x44f)](){const _0x1c3ca4=_0xb9a23e;return _0x2818a9[_0x1c3ca4(0x395)](this[_0x1c3ca4(0x328)],this['_renderManagerService']);}};_0x125bcc=_0x2d5996([_0x39562f[_0xb9a23e(0x40c)](_0x39562f['LifecycleStages'][_0xb9a23e(0x3f6)],_0x125bcc),_0x5125be(0x0,_0x46d633[_0xb9a23e(0x2a5)](_0x120e16)),_0x5125be(0x1,_0x39562f[_0xb9a23e(0x2d6)]),_0x5125be(0x2,_0x4f56df['IRenderManagerService']),_0x5125be(0x3,_0x46d633[_0xb9a23e(0x2a5)](_0x39562f[_0xb9a23e(0x4cc)]))],_0x125bcc);function _0xb2292c(_0x2a9b6d){const _0x7fffad=_0xb9a23e,_0x372298=new Map();return _0x2a9b6d[_0x7fffad(0x560)](_0x371011=>{const _0x52525f=_0x7fffad;if(_0x372298[_0x52525f(0x1b4)](_0x371011['selection'])){const _0x304d3c=_0x372298[_0x52525f(0x3a6)](_0x371011['selection']);_0x304d3c['name']+=',\x20'+_0x371011[_0x52525f(0x50b)];}else _0x372298[_0x52525f(0x3b1)](_0x371011[_0x52525f(0x25a)],_0x371011);}),Array[_0x7fffad(0x225)](_0x372298['values']());}var _0x5e80f1=function(){const _0x5d28f3=_0xb9a23e;return _0x5e80f1=Object[_0x5d28f3(0x489)]||function(_0x57b9c2){const _0x1b0fd1=_0x5d28f3;for(var _0x2bbcaf,_0x1bb5f5=0x1,_0x50119a=arguments[_0x1b0fd1(0x480)];_0x1bb5f5<_0x50119a;_0x1bb5f5++){_0x2bbcaf=arguments[_0x1bb5f5];for(var _0x1ff10d in _0x2bbcaf)Object[_0x1b0fd1(0x3bf)][_0x1b0fd1(0x3f1)][_0x1b0fd1(0x29c)](_0x2bbcaf,_0x1ff10d)&&(_0x57b9c2[_0x1ff10d]=_0x2bbcaf[_0x1ff10d]);}return _0x57b9c2;},_0x5e80f1[_0x5d28f3(0x52c)](this,arguments);},_0x2cd72a=function(_0x52caea,_0x3fdafc){const _0x4b85db=_0xb9a23e;var _0x3edf88={};for(var _0x5b41b0 in _0x52caea)Object[_0x4b85db(0x3bf)][_0x4b85db(0x3f1)][_0x4b85db(0x29c)](_0x52caea,_0x5b41b0)&&_0x3fdafc['indexOf'](_0x5b41b0)<0x0&&(_0x3edf88[_0x5b41b0]=_0x52caea[_0x5b41b0]);if(_0x52caea!=null&&typeof Object[_0x4b85db(0x4b3)]==_0x4b85db(0x227)){for(var _0x462f75=0x0,_0x5b41b0=Object['getOwnPropertySymbols'](_0x52caea);_0x462f75<_0x5b41b0[_0x4b85db(0x480)];_0x462f75++)_0x3fdafc[_0x4b85db(0x518)](_0x5b41b0[_0x462f75])<0x0&&Object[_0x4b85db(0x3bf)][_0x4b85db(0x4a8)][_0x4b85db(0x29c)](_0x52caea,_0x5b41b0[_0x462f75])&&(_0x3edf88[_0x5b41b0[_0x462f75]]=_0x52caea[_0x5b41b0[_0x462f75]]);}return _0x3edf88;},_0x2e0966=_0x1dd502[_0xb9a23e(0x446)](function(_0x25b5c9,_0x72c6cc){const _0x1eb699=_0xb9a23e;var _0x4b0ef7=_0x25b5c9[_0x1eb699(0x22e)],_0x2918c4=_0x25b5c9['id'],_0x1b26a9=_0x25b5c9['className'],_0x254cfd=_0x25b5c9[_0x1eb699(0x488)],_0x5ca069=_0x2cd72a(_0x25b5c9,['icon','id',_0x1eb699(0x312),_0x1eb699(0x488)]),_0x585ec7=_0x1eb699(0x2cd)[_0x1eb699(0x1ee)](_0x2918c4,'\x20')[_0x1eb699(0x1ee)](_0x1b26a9||'')[_0x1eb699(0x3b0)](),_0x2daa59=_0x1dd502[_0x1eb699(0x3f9)]('_'[_0x1eb699(0x1ee)](_0x2e4a6f()));return _0x1c6e42(_0x4b0ef7,''['concat'](_0x2918c4),{'defIds':_0x4b0ef7[_0x1eb699(0x1ca)],'idSuffix':_0x2daa59['current']},_0x5e80f1({'ref':_0x72c6cc,'className':_0x585ec7},_0x5ca069),_0x254cfd);});function _0x1c6e42(_0x2f4289,_0x4120cf,_0x25bd55,_0x1a1ba6,_0x28f76c){const _0x1b371d=_0xb9a23e;return _0x1dd502[_0x1b371d(0x44b)](_0x2f4289['tag'],_0x5e80f1(_0x5e80f1({'key':_0x4120cf},_0x55dc81(_0x2f4289,_0x25bd55,_0x28f76c)),_0x1a1ba6),(_0x53c506(_0x2f4289,_0x25bd55)[_0x1b371d(0x205)]||[])[_0x1b371d(0x3e3)](function(_0x4ce42e,_0x1c3e41){const _0xfb593a=_0x1b371d;return _0x1c6e42(_0x4ce42e,''[_0xfb593a(0x1ee)](_0x4120cf,'-')[_0xfb593a(0x1ee)](_0x2f4289['tag'],'-')[_0xfb593a(0x1ee)](_0x1c3e41),_0x25bd55,void 0x0,_0x28f76c);}));}function _0x55dc81(_0x6f60b8,_0xc978f4,_0xa7a12a){const _0xb522e7=_0xb9a23e;var _0x55eca1=_0x5e80f1({},_0x6f60b8[_0xb522e7(0x30e)]);_0xa7a12a!=null&&_0xa7a12a[_0xb522e7(0x269)]&&_0x55eca1[_0xb522e7(0x27c)]===_0xb522e7(0x269)&&(_0x55eca1[_0xb522e7(0x27c)]=_0xa7a12a[_0xb522e7(0x269)]);var _0x248611=_0xc978f4['defIds'];return!_0x248611||_0x248611['length']===0x0||(_0x6f60b8['tag']===_0xb522e7(0x281)&&_0x55eca1[_0xb522e7(0x380)]&&(_0x55eca1[_0xb522e7(0x380)]=_0x55eca1['xlink:href']+_0xc978f4[_0xb522e7(0x490)]),Object['entries'](_0x55eca1)[_0xb522e7(0x560)](function(_0x29b2bf){const _0x502129=_0xb522e7;var _0xab3f7=_0x29b2bf[0x0],_0xa3406a=_0x29b2bf[0x1];typeof _0xa3406a==_0x502129(0x327)&&(_0x55eca1[_0xab3f7]=_0xa3406a['replace'](/url\(#(.*)\)/,_0x502129(0x3f2)[_0x502129(0x1ee)](_0xc978f4[_0x502129(0x490)],')')));})),_0x55eca1;}function _0x53c506(_0x172cd5,_0x4fee06){const _0x8d965e=_0xb9a23e;var _0x466401,_0x5e4138=_0x4fee06['defIds'];return!_0x5e4138||_0x5e4138['length']===0x0?_0x172cd5:_0x172cd5[_0x8d965e(0x39f)]===_0x8d965e(0x4cb)&&(!((_0x466401=_0x172cd5['children'])===null||_0x466401===void 0x0)&&_0x466401['length'])?_0x5e80f1(_0x5e80f1({},_0x172cd5),{'children':_0x172cd5['children'][_0x8d965e(0x3e3)](function(_0x41837c){const _0x39a1a9=_0x8d965e;return typeof _0x41837c['attrs']['id']==_0x39a1a9(0x327)&&_0x5e4138&&_0x5e4138['indexOf'](_0x41837c['attrs']['id'])>-0x1?_0x5e80f1(_0x5e80f1({},_0x41837c),{'attrs':_0x5e80f1(_0x5e80f1({},_0x41837c['attrs']),{'id':_0x41837c[_0x39a1a9(0x30e)]['id']+_0x4fee06[_0x39a1a9(0x490)]})}):_0x41837c;})}):_0x172cd5;}function _0x2e4a6f(){const _0x25ca37=_0xb9a23e;return Math['random']()['toString'](0x24)[_0x25ca37(0x26e)](0x2,0x8);}_0x2e0966['displayName']=_0xb9a23e(0x526);var _0x3a03bf={'tag':_0xb9a23e(0x25f),'attrs':{'fill':_0xb9a23e(0x48f),'viewBox':_0xb9a23e(0x459),'width':_0xb9a23e(0x541),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xb9a23e(0x2be)},'children':[{'tag':_0xb9a23e(0x527),'attrs':{'stroke':_0xb9a23e(0x44a),'d':_0xb9a23e(0x4db),'strokeLinecap':_0xb9a23e(0x2f9),'strokeLinejoin':_0xb9a23e(0x2f9),'strokeWidth':1.2}}]},{'tag':_0xb9a23e(0x4cb),'attrs':{},'children':[{'tag':_0xb9a23e(0x49a),'attrs':{'id':_0xb9a23e(0x2ae)},'children':[{'tag':_0xb9a23e(0x527),'attrs':{'fill':_0xb9a23e(0x53e),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0xb9a23e(0x2ae)]},_0x3fd358=_0x1dd502[_0xb9a23e(0x446)](function(_0x3fa4a6,_0x11bd99){const _0x2ec981=_0xb9a23e;return _0x1dd502['createElement'](_0x2e0966,Object[_0x2ec981(0x489)]({},_0x3fa4a6,{'id':_0x2ec981(0x3c8),'ref':_0x11bd99,'icon':_0x3a03bf}));});_0x3fd358[_0xb9a23e(0x27d)]=_0xb9a23e(0x2a1);var _0x4ff060={'tag':'svg','attrs':{'fill':'none','viewBox':_0xb9a23e(0x520),'width':_0xb9a23e(0x541),'height':_0xb9a23e(0x541)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0xb9a23e(0x527),'attrs':{'stroke':_0xb9a23e(0x44a),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0xb9a23e(0x2f9),'strokeLinejoin':_0xb9a23e(0x2f9),'strokeWidth':1.2}}]},{'tag':_0xb9a23e(0x4cb),'attrs':{},'children':[{'tag':_0xb9a23e(0x49a),'attrs':{'id':_0xb9a23e(0x371)},'children':[{'tag':_0xb9a23e(0x527),'attrs':{'fill':_0xb9a23e(0x53e),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x78562d=_0x1dd502[_0xb9a23e(0x446)](function(_0x3b4d7f,_0x5dccea){const _0x18ad62=_0xb9a23e;return _0x1dd502['createElement'](_0x2e0966,Object[_0x18ad62(0x489)]({},_0x3b4d7f,{'id':'on-line-single','ref':_0x5dccea,'icon':_0x4ff060}));});_0x78562d[_0xb9a23e(0x27d)]=_0xb9a23e(0x21a);const _0x37ccd0={'onlineStatusIcon':_0xb9a23e(0x3f7),'onlineStatusTitle':_0xb9a23e(0x208),'onlineStatus':_0xb9a23e(0x441),'online':_0xb9a23e(0x262),'offline':_0xb9a23e(0x4e6)};function _0x5ca2c7(_0x41fdad){const _0x553a62=_0xb9a23e;switch(_0x41fdad){case _0x3cde1c[_0x553a62(0x354)]:return'collabStatus.offline';case _0x3cde1c[_0x553a62(0x2c2)]:return'collabStatus.conflict';case _0x3cde1c[_0x553a62(0x228)]:return _0x553a62(0x460);case _0x3cde1c[_0x553a62(0x547)]:return _0x553a62(0x310);case _0x3cde1c[_0x553a62(0x487)]:case _0x3cde1c[_0x553a62(0x2ee)]:case _0x3cde1c[_0x553a62(0x3a8)]:return'collabStatus.syncing';case _0x3cde1c[_0x553a62(0x504)]:return _0x553a62(0x230);}}function _0x502068(_0xe90e04){const _0x3130f3=_0xb9a23e,{status$:_0x5e7cbd}=_0xe90e04,_0x50fea4=_0x38d129['useObservable'](_0x5e7cbd,_0x3cde1c[_0x3130f3(0x547)]),_0x5bc022=_0x142e82['useDependency'](_0x39562f[_0x3130f3(0x303)]),_0x2b5b89=_0x50fea4!==_0x3cde1c[_0x3130f3(0x354)],_0x454b21=_0x5bc022['t'](_0x5ca2c7(_0x50fea4)),_0x238489=_0x2aa9a5(_0x37ccd0[_0x3130f3(0x3ae)],{[_0x37ccd0[_0x3130f3(0x2e8)]]:_0x2b5b89,[_0x37ccd0[_0x3130f3(0x343)]]:!_0x2b5b89}),_0x4c4bde=_0x2b5b89?_0x1dd502[_0x3130f3(0x44b)](_0x78562d,null):_0x1dd502['createElement'](_0x3fd358,null);return _0x1dd502[_0x3130f3(0x44b)](_0x3130f3(0x1d1),{'className':_0x238489},_0x1dd502['createElement'](_0x3130f3(0x1d1),{'className':_0x37ccd0[_0x3130f3(0x2cc)]},_0x4c4bde),_0x1dd502[_0x3130f3(0x44b)]('div',{'className':_0x37ccd0['onlineStatusTitle']},_0x454b21));}var _0x3ac89f=Object[_0xb9a23e(0x38b)],_0x3a8cdd=Object[_0xb9a23e(0x2ed)],_0x56ed21=(_0x188ade,_0x3eb140,_0x4d9685,_0x1e64e4)=>{const _0x462ce1=_0xb9a23e;for(var _0x471df2=_0x1e64e4>0x1?void 0x0:_0x1e64e4?_0x3a8cdd(_0x3eb140,_0x4d9685):_0x3eb140,_0x83bb16=_0x188ade[_0x462ce1(0x480)]-0x1,_0x2fdbff;_0x83bb16>=0x0;_0x83bb16--)(_0x2fdbff=_0x188ade[_0x83bb16])&&(_0x471df2=(_0x1e64e4?_0x2fdbff(_0x3eb140,_0x4d9685,_0x471df2):_0x2fdbff(_0x471df2))||_0x471df2);return _0x1e64e4&&_0x471df2&&_0x3ac89f(_0x3eb140,_0x4d9685,_0x471df2),_0x471df2;},_0xf007d1=(_0x4ed6bf,_0x2b4b95)=>(_0x18c2e3,_0x2cc288)=>_0x2b4b95(_0x18c2e3,_0x2cc288,_0x4ed6bf);_0x2dfa89['DesktopCollaborationStatusDisplayController']=class extends _0x39562f[_0xb9a23e(0x4bf)]{constructor(_0x4b4f81,_0x1f1083,_0x4faf0c,_0x3456fa){const _0x2b7c6f=_0xb9a23e;super(),_0x3e3dad(this,_0x2b7c6f(0x3c0),new _0x1fa2ab[(_0x2b7c6f(0x492))](_0x3cde1c[_0x2b7c6f(0x547)])),(this[_0x2b7c6f(0x328)]=_0x4b4f81,this[_0x2b7c6f(0x211)]=_0x1f1083,this[_0x2b7c6f(0x273)]=_0x4faf0c,this[_0x2b7c6f(0x301)]=_0x3456fa,this[_0x2b7c6f(0x2b9)](),this['_initStatusListener']());}[_0xb9a23e(0x2b9)](){const _0x29963f=_0xb9a23e;this['disposeWithMe'](this[_0x29963f(0x211)]['registerComponent'](_0x38d129['BuiltInUIPart']['HEADER_MENU'],()=>_0x142e82[_0x29963f(0x226)](_0x3ae9a2({'status$':this[_0x29963f(0x3c0)]['asObservable']()}),this[_0x29963f(0x273)])));}[_0xb9a23e(0x4ec)](){const _0x144265=_0xb9a23e;this[_0x144265(0x28a)](_0x39562f['toDisposable'](this[_0x144265(0x328)][_0x144265(0x239)][_0x144265(0x24a)](_0x1fa2ab['switchMap'](()=>{const _0x457226=_0x144265,_0x282f4e=this[_0x457226(0x328)][_0x457226(0x51d)]();return _0x282f4e?this[_0x457226(0x301)][_0x457226(0x48a)](_0x282f4e['getUnitId']()):_0x1fa2ab['of'](null);}),_0x1fa2ab[_0x144265(0x2d3)](_0x2b3fa4=>_0x2b3fa4?_0x2b3fa4['status$']:_0x1fa2ab['of'](_0x3cde1c['NOT_COLLAB'])))[_0x144265(0x282)](_0xe4ea9a=>{const _0x996779=_0x144265;this[_0x996779(0x3c0)]['next'](_0xe4ea9a);})));}},_0x2dfa89[_0xb9a23e(0x466)]=_0x56ed21([_0x39562f[_0xb9a23e(0x40c)](_0x39562f[_0xb9a23e(0x407)]['Starting'],_0x2dfa89[_0xb9a23e(0x466)]),_0xf007d1(0x0,_0x39562f['IUniverInstanceService']),_0xf007d1(0x1,_0x38d129[_0xb9a23e(0x1b6)]),_0xf007d1(0x2,_0x46d633['Inject'](_0x46d633[_0xb9a23e(0x215)])),_0xf007d1(0x3,_0x46d633[_0xb9a23e(0x2a5)](_0x2dfa89[_0xb9a23e(0x501)]))],_0x2dfa89['DesktopCollaborationStatusDisplayController']);function _0x3ae9a2(_0x42212a){const {status$:_0x2cd195}=_0x42212a;return function(){return _0x1dd502['createElement'](_0x502068,{'status$':_0x2cd195});};}const _0x4248a5=_0x46d633[_0xb9a23e(0x1dd)](_0xb9a23e(0x23b));var _0x50cac0=Object[_0xb9a23e(0x38b)],_0x5b1d1c=Object[_0xb9a23e(0x2ed)],_0x5d9566=(_0x43ef2c,_0xd2e1c4,_0x4b167b,_0x34e787)=>{const _0x54012b=_0xb9a23e;for(var _0x20b3f3=_0x34e787>0x1?void 0x0:_0x34e787?_0x5b1d1c(_0xd2e1c4,_0x4b167b):_0xd2e1c4,_0x2ee8af=_0x43ef2c[_0x54012b(0x480)]-0x1,_0x12f860;_0x2ee8af>=0x0;_0x2ee8af--)(_0x12f860=_0x43ef2c[_0x2ee8af])&&(_0x20b3f3=(_0x34e787?_0x12f860(_0xd2e1c4,_0x4b167b,_0x20b3f3):_0x12f860(_0x20b3f3))||_0x20b3f3);return _0x34e787&&_0x20b3f3&&_0x50cac0(_0xd2e1c4,_0x4b167b,_0x20b3f3),_0x20b3f3;},_0x2eeb00=(_0x473e75,_0x5db519)=>(_0x167626,_0x10de94)=>_0x5db519(_0x167626,_0x10de94,_0x473e75);_0x2dfa89[_0xb9a23e(0x2a9)]=class extends _0x39562f[_0xb9a23e(0x298)]{constructor(_0x47e070,_0x41033a,_0x39e236,_0x51c33e,_0x19cd4d,_0x31d79d){const _0x21e9e3=_0xb9a23e;super(),this[_0x21e9e3(0x1cd)]=_0x47e070,this[_0x21e9e3(0x38c)]=_0x41033a,this[_0x21e9e3(0x384)]=_0x39e236,this['_localCacheService']=_0x51c33e,this['_snapshotService']=_0x19cd4d,_0x31d79d?_0x31d79d==null||_0x31d79d[_0x21e9e3(0x2c7)]()[_0x21e9e3(0x1fd)](()=>this[_0x21e9e3(0x3e7)]()):(this[_0x21e9e3(0x38c)]['debug'](_0x21e9e3(0x39e),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x21e9e3(0x3e7)]());}async[_0xb9a23e(0x3e7)](){const _0x1bfbe2=_0xb9a23e,_0x3f4a4f=this[_0x1bfbe2(0x1cd)][_0x1bfbe2(0x341)](_0x1bfbe2(0x4fd)),_0x2eeb69=this['_urlService'][_0x1bfbe2(0x341)](_0x1bfbe2(0x2a3));if(!_0x3f4a4f||!_0x2eeb69){this[_0x1bfbe2(0x38c)][_0x1bfbe2(0x564)]('[DataLoaderController]',_0x1bfbe2(0x403));return;}switch(Number(_0x2eeb69)){case _0x55e05d['UNIVER_SHEET']:{const _0x47a1ea=await this[_0x1bfbe2(0x3d5)](_0x3f4a4f);this[_0x1bfbe2(0x31f)](_0x47a1ea);break;}case _0x55e05d['UNIVER_DOC']:{await this['_loadDoc'](_0x3f4a4f);break;}default:{this['_logService'][_0x1bfbe2(0x4f3)](_0x1bfbe2(0x39e),_0x1bfbe2(0x4e3));break;}}}async['_setupSubUnitSync'](_0xc562ad){const _0x192644=_0xb9a23e;await this[_0x192644(0x4b9)](_0xc562ad),_0xc562ad['activeSheet$'][_0x192644(0x24a)](_0x1fa2ab['takeUntil'](this[_0x192644(0x203)]))[_0x192644(0x282)](_0x4477ec=>{const _0x32323a=_0x192644;_0x4477ec&&this[_0x32323a(0x401)](_0x4477ec);}),this[_0x192644(0x1cd)][_0x192644(0x4c0)][_0x192644(0x24a)](_0x1fa2ab[_0x192644(0x307)](this['dispose$']))[_0x192644(0x282)](()=>this[_0x192644(0x4b9)](_0xc562ad));}[_0xb9a23e(0x401)](_0x500407,_0x521098=!0x1){const _0x336290=_0xb9a23e,_0x4cfcb4=this[_0x336290(0x1cd)][_0x336290(0x341)](_0x336290(0x28d));_0x500407[_0x336290(0x539)]()!==_0x4cfcb4&&this[_0x336290(0x1cd)]['setParam'](_0x336290(0x28d),_0x500407[_0x336290(0x539)](),_0x521098);}async['_updateSubUnitFromURLParams'](_0x20f68d){const _0x1c27a7=_0xb9a23e;var _0x486c9c;const _0x412a27=this[_0x1c27a7(0x1cd)][_0x1c27a7(0x341)]('subunit');if(!_0x412a27||!_0x20f68d['getSheetBySheetId'](_0x412a27)){const _0x17845a=_0x20f68d[_0x1c27a7(0x277)]()[0x0],_0x40386b=_0x20f68d[_0x1c27a7(0x424)](_0x17845a);if(!_0x40386b)return;this['_updateURLWithCurrentState'](_0x40386b,!0x0),await this['_commandService']['executeCommand'](_0x552a78[_0x1c27a7(0x27f)]['id'],{'unitId':_0x20f68d[_0x1c27a7(0x37c)](),'subUnitId':_0x17845a});return;}((_0x486c9c=_0x20f68d[_0x1c27a7(0x568)]())==null?void 0x0:_0x486c9c[_0x1c27a7(0x539)]())!==_0x412a27&&await this[_0x1c27a7(0x384)][_0x1c27a7(0x2c8)](_0x552a78[_0x1c27a7(0x27f)]['id'],{'unitId':_0x20f68d[_0x1c27a7(0x37c)](),'subUnitId':_0x412a27});}async[_0xb9a23e(0x3d5)](_0x56a39c){const _0x969b50=_0xb9a23e;let _0x284309=0x0;const _0x4f661e=await this[_0x969b50(0x557)][_0x969b50(0x21c)](_0x56a39c);return _0x4f661e&&(_0x4f661e[_0x969b50(0x473)]||_0x4f661e['mutations'][_0x969b50(0x480)]!==0x0)&&(_0x284309=_0x4f661e['rev']),_0x284309===0x0&&this[_0x969b50(0x38c)]['debug']('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x969b50(0x546)][_0x969b50(0x46a)](_0x56a39c,_0x284309);}async[_0xb9a23e(0x3da)](_0x1ede86){const _0xc48e08=_0xb9a23e;let _0x352694=0x0;const _0x3c1d4f=await this[_0xc48e08(0x557)][_0xc48e08(0x21c)](_0x1ede86);return _0x3c1d4f&&(_0x3c1d4f[_0xc48e08(0x473)]||_0x3c1d4f[_0xc48e08(0x1bb)][_0xc48e08(0x480)]!==0x0)&&(_0x352694=_0x3c1d4f['rev']),_0x352694===0x0&&this[_0xc48e08(0x38c)][_0xc48e08(0x564)](_0xc48e08(0x39e),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0xc48e08(0x546)][_0xc48e08(0x3c2)](_0x1ede86,_0x352694);}},_0x2dfa89[_0xb9a23e(0x2a9)]=_0x5d9566([_0x39562f[_0xb9a23e(0x40c)](_0x39562f[_0xb9a23e(0x407)][_0xb9a23e(0x31d)],_0x2dfa89['DataLoaderController']),_0x2eeb00(0x0,_0x4248a5),_0x2eeb00(0x1,_0x39562f[_0xb9a23e(0x3d4)]),_0x2eeb00(0x2,_0x39562f[_0xb9a23e(0x4b5)]),_0x2eeb00(0x3,_0x46d633[_0xb9a23e(0x2a5)](_0x2dfa89['LocalCacheService'])),_0x2eeb00(0x4,_0x46d633[_0xb9a23e(0x2a5)](_0x244d6f[_0xb9a23e(0x495)])),_0x2eeb00(0x5,_0x46d633[_0xb9a23e(0x4c1)](_0x51a864[_0xb9a23e(0x447)]))],_0x2dfa89[_0xb9a23e(0x2a9)]);var _0x10acb9=Object[_0xb9a23e(0x38b)],_0x424be9=Object['getOwnPropertyDescriptor'],_0x2aa89b=(_0x2dd533,_0x369e4a,_0x5872b9,_0x417560)=>{const _0x5e4ec4=_0xb9a23e;for(var _0x594632=_0x417560>0x1?void 0x0:_0x417560?_0x424be9(_0x369e4a,_0x5872b9):_0x369e4a,_0x597eda=_0x2dd533[_0x5e4ec4(0x480)]-0x1,_0x304ab4;_0x597eda>=0x0;_0x597eda--)(_0x304ab4=_0x2dd533[_0x597eda])&&(_0x594632=(_0x417560?_0x304ab4(_0x369e4a,_0x5872b9,_0x594632):_0x304ab4(_0x594632))||_0x594632);return _0x417560&&_0x594632&&_0x10acb9(_0x369e4a,_0x5872b9,_0x594632),_0x594632;},_0x453935=(_0x49de3b,_0x1d9304)=>(_0x41d1fc,_0x33dc03)=>_0x1d9304(_0x41d1fc,_0x33dc03,_0x49de3b);const _0x787c31=_0xb9a23e(0x2bb),_0xe1a255='Univer';let _0xe78f9f=class extends _0x39562f[_0xb9a23e(0x4bf)]{constructor(_0x36766d,_0x16dc72){const _0x1aaf97=_0xb9a23e;super(),this[_0x1aaf97(0x328)]=_0x36766d,this[_0x1aaf97(0x1ec)]=_0x16dc72,this[_0x1aaf97(0x3e7)]();}['_init'](){const _0x5afb5d=_0xb9a23e;this['disposeWithMe'](_0x39562f[_0x5afb5d(0x3e2)](this[_0x5afb5d(0x328)][_0x5afb5d(0x239)][_0x5afb5d(0x282)](()=>{const _0x2b4260=_0x5afb5d;var _0x1f3edc;const _0x4a988e=this[_0x2b4260(0x328)][_0x2b4260(0x51d)]();let _0x3a2fa3=(_0x1f3edc=this['_configService']['getConfig'](_0x787c31))!=null?_0x1f3edc:_0xe1a255;_0x4a988e instanceof _0x39562f['Workbook']&&(_0x3a2fa3=_0x4a988e[_0x2b4260(0x50b)]),document[_0x2b4260(0x4f2)]=_0x3a2fa3;})));}};_0xe78f9f=_0x2aa89b([_0x39562f['OnLifecycle'](_0x39562f['LifecycleStages'][_0xb9a23e(0x1db)],_0xe78f9f),_0x453935(0x0,_0x39562f[_0xb9a23e(0x2d6)]),_0x453935(0x1,_0x39562f[_0xb9a23e(0x251)])],_0xe78f9f);var _0x396929=Object[_0xb9a23e(0x38b)],_0x506a46=Object[_0xb9a23e(0x2ed)],_0x2e9724=(_0x633ed6,_0x2f5520,_0x551952,_0x1d327d)=>{const _0x4df5bf=_0xb9a23e;for(var _0x4d11f3=_0x1d327d>0x1?void 0x0:_0x1d327d?_0x506a46(_0x2f5520,_0x551952):_0x2f5520,_0x4b050b=_0x633ed6[_0x4df5bf(0x480)]-0x1,_0x491c24;_0x4b050b>=0x0;_0x4b050b--)(_0x491c24=_0x633ed6[_0x4b050b])&&(_0x4d11f3=(_0x1d327d?_0x491c24(_0x2f5520,_0x551952,_0x4d11f3):_0x491c24(_0x4d11f3))||_0x4d11f3);return _0x1d327d&&_0x4d11f3&&_0x396929(_0x2f5520,_0x551952,_0x4d11f3),_0x4d11f3;},_0x5d8d00=(_0xe5a54a,_0x3bedbd)=>(_0x1fb2d1,_0xfb9b33)=>_0x3bedbd(_0x1fb2d1,_0xfb9b33,_0xe5a54a);let _0x3c99f6=class{constructor(_0x844dc2,_0x3efa87){const _0x9117b8=_0xb9a23e;this[_0x9117b8(0x1ec)]=_0x844dc2,this[_0x9117b8(0x454)]=_0x3efa87;}async[_0xb9a23e(0x1b7)](_0xf3fb50,_0x5a56c9){const _0x1db2f6=_0xb9a23e;var _0x37593b;const {unitID:_0x3fa1a3,type:_0x539bd5,revision:_0x2a5a44=0x0}=_0x5a56c9,_0x35f340=this[_0x1db2f6(0x4d1)]()+'/'+_0x539bd5+_0x1db2f6(0x4d6)+_0x3fa1a3+_0x1db2f6(0x4a5)+(_0x2a5a44===0x1?0x0:_0x2a5a44),_0x35229e=(await this[_0x1db2f6(0x454)][_0x1db2f6(0x3a6)](_0x35f340))[_0x1db2f6(0x337)],_0x5ebbc5=(_0x37593b=_0x35229e[_0x1db2f6(0x255)])==null?void 0x0:_0x37593b[_0x1db2f6(0x4a3)];if(_0x5ebbc5){const _0xb5f07b=_0x5ebbc5==null?void 0x0:_0x5ebbc5[_0x1db2f6(0x276)],_0x22952b=_0x39562f[_0x1db2f6(0x305)][_0x1db2f6(0x1ed)](_0x39562f[_0x1db2f6(0x542)](_0xb5f07b));_0x5ebbc5['originalMeta']=_0x22952b,Object[_0x1db2f6(0x55f)](_0x5ebbc5[_0x1db2f6(0x26a)])['forEach'](([,_0x55ba12])=>{const _0x3aa8bf=_0x1db2f6,_0x2f2c41=_0x55ba12[_0x3aa8bf(0x276)],_0x17b6ad=_0x39562f[_0x3aa8bf(0x305)][_0x3aa8bf(0x1ed)](_0x39562f[_0x3aa8bf(0x542)](_0x2f2c41));_0x55ba12['originalMeta']=_0x17b6ad;});}return _0x35229e;}async[_0xb9a23e(0x1f6)](_0x1c3458,_0x463bd1){const _0x3721be=_0xb9a23e,{unitID:_0xdaacd1,type:_0x1759ff,blockID:_0x4da4bc}=_0x463bd1,_0x46487d=this[_0x3721be(0x3f4)]()+'/'+_0x1759ff+_0x3721be(0x4d6)+_0xdaacd1+_0x3721be(0x237)+_0x4da4bc;return(await this['_httpService'][_0x3721be(0x3a6)](_0x46487d))[_0x3721be(0x337)];}async[_0xb9a23e(0x291)](_0x125bfa,_0xe745a4){const _0x2fca05=_0xb9a23e,{unitID:_0x26732e,type:_0x14dd8c,from:_0x332410,to:_0x4d20f3}=_0xe745a4,_0x329d5b=this[_0x2fca05(0x3f4)]()+'/'+_0x14dd8c+'/unit/'+_0x26732e+_0x2fca05(0x32a)+_0x332410+_0x2fca05(0x2ef)+_0x4d20f3;return(await this['_httpService'][_0x2fca05(0x3a6)](_0x329d5b))[_0x2fca05(0x337)];}[_0xb9a23e(0x4d1)](){const _0x43ec2e=_0xb9a23e;var _0x3952ec;return(_0x3952ec=this[_0x43ec2e(0x1ec)][_0x43ec2e(0x496)](_0x3e0532))!=null?_0x3952ec:this['_getAPIPrefix']();}['_getAPIPrefix'](){const _0xd2a4a8=_0xb9a23e;var _0x406813;return(_0x406813=this['_configService'][_0xd2a4a8(0x496)](_0x91342))!=null?_0x406813:_0x4c81a9;}async['getResourcesRequest'](_0x560734,_0x1488dc){const _0xb19ea5=_0xb9a23e,_0x40526b=_0xb19ea5(0x4d4)+_0x1488dc[_0xb19ea5(0x2a3)]+_0xb19ea5(0x4d6)+_0x1488dc[_0xb19ea5(0x474)]+_0xb19ea5(0x26b);return(await this[_0xb19ea5(0x454)][_0xb19ea5(0x3a6)](_0x40526b,{'params':{'resourceId':JSON[_0xb19ea5(0x47b)](_0x1488dc['resourceIDs'])}}))['body'];}[_0xb9a23e(0x3e5)](){const _0x247a5f=_0xb9a23e;throw new Error(_0x247a5f(0x43c));}[_0xb9a23e(0x50d)](){const _0x2e5b43=_0xb9a23e;throw new Error(_0x2e5b43(0x43c));}[_0xb9a23e(0x4df)](){const _0x15136b=_0xb9a23e;throw new Error(_0x15136b(0x43c));}};_0x3c99f6=_0x2e9724([_0x5d8d00(0x0,_0x39562f[_0xb9a23e(0x251)]),_0x5d8d00(0x1,_0x46d633[_0xb9a23e(0x2a5)](_0x403cff[_0xb9a23e(0x2cb)]))],_0x3c99f6);var _0x42f9a0=Object[_0xb9a23e(0x38b)],_0xdb971c=Object[_0xb9a23e(0x2ed)],_0x5ce7e6=(_0x40c5bc,_0x4fae9b,_0x3363b6,_0x35b007)=>{for(var _0x388c78=_0x35b007>0x1?void 0x0:_0x35b007?_0xdb971c(_0x4fae9b,_0x3363b6):_0x4fae9b,_0x1836fe=_0x40c5bc['length']-0x1,_0x4e6b07;_0x1836fe>=0x0;_0x1836fe--)(_0x4e6b07=_0x40c5bc[_0x1836fe])&&(_0x388c78=(_0x35b007?_0x4e6b07(_0x4fae9b,_0x3363b6,_0x388c78):_0x4e6b07(_0x388c78))||_0x388c78);return _0x35b007&&_0x388c78&&_0x42f9a0(_0x4fae9b,_0x3363b6,_0x388c78),_0x388c78;},_0x36ee43=(_0x19550a,_0x3e452b)=>(_0x2c6fba,_0xbd4897)=>_0x3e452b(_0x2c6fba,_0xbd4897,_0x19550a);let _0x161ec1=class extends _0x39562f[_0xb9a23e(0x3cf)]{constructor(_0x57ff41,_0x4f366a,_0x39580f,_0x54a4ef,_0x3e678b){const _0x273e28=_0xb9a23e;super(_0x57ff41,_0x4f366a,_0x39580f),this[_0x273e28(0x1e0)]=_0x54a4ef,this[_0x273e28(0x38c)]=_0x3e678b;}[_0xb9a23e(0x461)](_0x164ac3,_0x3a4873){const _0x2ac539=_0xb9a23e,_0x257673=this[_0x2ac539(0x26d)](_0x164ac3);if(_0x257673)try{const _0x38e0b7=this[_0x2ac539(0x554)](_0x257673,_0x3a4873);this[_0x2ac539(0x4ef)](_0x164ac3,_0x38e0b7);}catch(_0x3afbaa){this[_0x2ac539(0x38c)]['error'](_0x2ac539(0x204),_0x3afbaa),this[_0x2ac539(0x287)](_0x164ac3);}const _0x19e6bd=this[_0x2ac539(0x47e)](_0x164ac3);if(_0x19e6bd)try{const _0x457e49=this['_transformStack'](_0x19e6bd,_0x3a4873);this['_substituteRedoStack'](_0x164ac3,_0x457e49);}catch(_0x1cf38c){this[_0x2ac539(0x38c)]['error'](_0x1cf38c),this[_0x2ac539(0x1ac)](_0x164ac3);}}['_clearUndo'](_0x33f0e3){const _0x4386af=_0xb9a23e,_0xa078f7=this[_0x4386af(0x26d)](_0x33f0e3);_0xa078f7&&(_0xa078f7[_0x4386af(0x480)]=0x0,this[_0x4386af(0x1a0)]());}[_0xb9a23e(0x1ac)](_0x5e40b0){const _0x52a241=_0xb9a23e,_0x4b512c=this[_0x52a241(0x47e)](_0x5e40b0);_0x4b512c&&(_0x4b512c[_0x52a241(0x480)]=0x0,this[_0x52a241(0x1a0)]());}[_0xb9a23e(0x4ef)](_0x17ed86,_0x1262f5){const _0x1ea106=_0xb9a23e;this['_undoStacks'][_0x1ea106(0x3b1)](_0x17ed86,_0x1262f5),this[_0x1ea106(0x1a0)]();}[_0xb9a23e(0x1e5)](_0x291978,_0x371ea2){const _0x40377f=_0xb9a23e;this[_0x40377f(0x1e9)]['set'](_0x291978,_0x371ea2),this['_updateStatus']();}[_0xb9a23e(0x554)](_0x25d7b9,_0x15c8e8){const _0x581980=_0xb9a23e,_0x475b21=[];let _0x3f347f=_0x15c8e8,_0x88e5ec=_0x15c8e8;for(let _0x299b7f=_0x25d7b9['length']-0x1;_0x299b7f>=0x0;_0x299b7f--){const {unitID:_0x4129c1,undoMutations:_0x5b6c79,redoMutations:_0x37f2da}=_0x25d7b9[_0x299b7f],_0x51b3a3=this[_0x581980(0x1e0)][_0x581980(0x314)](_0x3f347f,_0x5b6c79),_0x5d0226=this[_0x581980(0x1e0)][_0x581980(0x314)](_0x88e5ec,_0x37f2da);if(_0x244d6f[_0x581980(0x411)](_0x51b3a3)||_0x244d6f[_0x581980(0x411)](_0x5d0226)){this[_0x581980(0x38c)][_0x581980(0x4f3)](_0x581980(0x204),_0x581980(0x2fb),_0x51b3a3,_0x5d0226);break;}_0x3f347f=_0x51b3a3[_0x581980(0x2c9)],_0x88e5ec=_0x5d0226[_0x581980(0x2c9)],_0x475b21[_0x581980(0x509)]({'unitID':_0x4129c1,'undoMutations':_0x51b3a3[_0x581980(0x349)],'redoMutations':_0x5d0226[_0x581980(0x349)]});}return _0x475b21[_0x581980(0x3b7)]();}};_0x161ec1=_0x5ce7e6([_0x36ee43(0x0,_0x39562f[_0xb9a23e(0x2d6)]),_0x36ee43(0x1,_0x39562f[_0xb9a23e(0x4b5)]),_0x36ee43(0x2,_0x39562f['IContextService']),_0x36ee43(0x3,_0x244d6f[_0xb9a23e(0x444)]),_0x36ee43(0x4,_0x39562f[_0xb9a23e(0x3d4)])],_0x161ec1);class _0x1af5c6 extends _0x39562f[_0xb9a23e(0x298)]{constructor(){const _0x523b0b=_0xb9a23e;super(),_0x3e3dad(this,'urlChange$'),this[_0x523b0b(0x4c0)]=_0x1fa2ab[_0x523b0b(0x497)](window,'popstate')[_0x523b0b(0x24a)](_0x1fa2ab['takeUntil'](this[_0x523b0b(0x203)]),_0x1fa2ab[_0x523b0b(0x2b4)](0x1),_0x1fa2ab[_0x523b0b(0x231)](void 0x0));}[_0xb9a23e(0x1a4)](_0x5dcfd2,_0x36d39d,_0x1ea747=!0x1){const _0x418e35=_0xb9a23e,_0x3526ac=new URL(window[_0x418e35(0x302)]['href']);_0x3526ac[_0x418e35(0x4f9)]['set'](_0x5dcfd2,_0x36d39d),_0x1ea747?window[_0x418e35(0x43f)][_0x418e35(0x35f)]('','',_0x3526ac['toString']()):window[_0x418e35(0x43f)][_0x418e35(0x4c6)]('','',_0x3526ac['toString']());}[_0xb9a23e(0x2a7)](_0x1b98ad,_0x2d9a86=!0x1){const _0x73b786=_0xb9a23e,_0xd176e7=new URL(window['location'][_0x73b786(0x4fa)]);_0xd176e7[_0x73b786(0x4f9)][_0x73b786(0x319)](_0x1b98ad),_0x2d9a86?window[_0x73b786(0x43f)][_0x73b786(0x35f)]('','',_0xd176e7['toString']()):window[_0x73b786(0x43f)][_0x73b786(0x4c6)]('','',_0xd176e7[_0x73b786(0x238)]());}['getParam'](_0x5920ec){const _0x3d2fc9=_0xb9a23e;var _0x641126;return(_0x641126=new URL(window['location'][_0x3d2fc9(0x4fa)])[_0x3d2fc9(0x4f9)][_0x3d2fc9(0x3a6)](_0x5920ec))!=null?_0x641126:void 0x0;}}const _0x3dcda4=_0xb9a23e(0x451),_0x3dbd36=_0xb9a23e(0x30c),_0x3671a2=0x6,_0x2cf7e6=1.5,_0x56a5de=0x4,_0x4d477b=1.5,_0x59cf23=_0xb9a23e(0x470);class _0x4edd93{constructor(_0x1c1aef,_0x4fd3f0,_0x3f40be,_0x1d8395){const _0x4211b5=_0xb9a23e;_0x3e3dad(this,_0x4211b5(0x54f),[]),_0x3e3dad(this,_0x4211b5(0x3c7),null),_0x3e3dad(this,_0x4211b5(0x1a8),null),_0x3e3dad(this,_0x4211b5(0x265),null),_0x3e3dad(this,'_hideTimer',null),_0x3e3dad(this,_0x4211b5(0x33b),null),(this[_0x4211b5(0x46e)]=_0x1c1aef,this[_0x4211b5(0x202)]=_0x4fd3f0,this['_docSkeleton']=_0x3f40be,this[_0x4211b5(0x48b)]=_0x1d8395,this[_0x4211b5(0x2e7)]());}set[_0xb9a23e(0x220)](_0x22f83f){const _0x14d972=_0xb9a23e;_0x22f83f?(this['_anchorDot']&&this['_anchorDot']['hide'](),this['_textBubble']&&this[_0x14d972(0x1a8)][_0x14d972(0x46d)]()):(this[_0x14d972(0x265)]&&this[_0x14d972(0x265)][_0x14d972(0x46d)](),this[_0x14d972(0x1a8)]&&this[_0x14d972(0x1a8)]['hide']());}[_0xb9a23e(0x51e)](){const _0x539a39=_0xb9a23e;for(const _0x1a763e of this['_shapes'])_0x1a763e[_0x539a39(0x51e)]();this[_0x539a39(0x1a8)]&&this[_0x539a39(0x1a8)][_0x539a39(0x51e)](),this['_anchorDot']&&this['_anchorDot'][_0x539a39(0x51e)](),this[_0x539a39(0x3c7)]&&this['_anchor'][_0x539a39(0x51e)](),this[_0x539a39(0x33b)]&&this[_0x539a39(0x33b)]();}['_render'](){const _0x502062=_0xb9a23e,{_docSkeleton:_0x1c0a02,_document:_0x5d53f9}=this,{color:_0x550f27,name:_0x1aa2a4,ranges:_0x54fa21}=this[_0x502062(0x46e)],_0x40f9ad=_0x5d53f9[_0x502062(0x2f4)](),{docsLeft:_0x526f9d,docsTop:_0xcfb6}=_0x40f9ad,_0x4942ed=new _0x4f56df[(_0x502062(0x33a))](_0x40f9ad,_0x1c0a02);for(const {startOffset:_0x14c170,endOffset:_0x573c77,collapsed:_0x4f5dcb,isActive:_0x4af5b8}of _0x54fa21){const _0x2c2450=_0x1c0a02['findNodePositionByCharIndex'](_0x14c170),_0x1998bc=_0x1c0a02[_0x502062(0x2fc)](_0x573c77);if(_0x4af5b8){const {contentBoxPointGroup:_0x544acc}=_0x4942ed['getRangePointData'](_0x1998bc,_0x1998bc);if(_0x544acc[_0x502062(0x480)]===0x0)continue;this[_0x502062(0x55d)](_0x550f27,_0x544acc,_0x526f9d,_0xcfb6,_0x1aa2a4),this[_0x502062(0x33b)]=this['_handleHover']();}if(!_0x4f5dcb){const {contentBoxPointGroup:_0x13018d}=_0x4942ed['getRangePointData'](_0x2c2450,_0x1998bc);if(_0x13018d[_0x502062(0x480)]===0x0)continue;this['_drawRange'](_0x550f27,_0x13018d,_0x526f9d,_0xcfb6);}}}[_0xb9a23e(0x55d)](_0x22a399,_0xd62aa8,_0x5153f5,_0x28c284,_0x12dbad){const _0x4024bd=_0xb9a23e,_0x1fed5a=this['_getAnchorBounding'](_0xd62aa8),{left:_0x31c67e,top:_0x58d03c,height:_0x5eeaa3}=_0x1fed5a,_0x47bdde=this[_0x4024bd(0x350)](),_0x3cc814=_0x4d477b/_0x47bdde,_0x146a48=new _0x4f56df['Rect'](_0x3dcda4+_0x39562f[_0x4024bd(0x507)][_0x4024bd(0x375)](_0x3671a2),{'left':_0x31c67e+_0x5153f5-_0x3cc814,'top':_0x58d03c+_0x28c284,'height':_0x5eeaa3,'width':_0x2cf7e6,'fill':_0x22a399||_0x4f56df[_0x4024bd(0x252)](_0x39562f[_0x4024bd(0x297)][_0x4024bd(0x1ba)],0x0),'strokeWidth':_0x3cc814,'stroke':_0x59cf23,'evented':!0x0});this['_anchor']=_0x146a48,this[_0x4024bd(0x202)][_0x4024bd(0x42a)](_0x146a48,_0x4f56df[_0x4024bd(0x257)]);const _0x2c5751=new _0x4f56df['Rect'](_0x3dcda4+_0x39562f[_0x4024bd(0x507)][_0x4024bd(0x375)](_0x3671a2),{'left':_0x31c67e+_0x5153f5-_0x3cc814,'top':_0x58d03c+_0x28c284-_0x56a5de/0x2,'height':_0x56a5de,'width':_0x56a5de,'fill':_0x22a399||_0x4f56df[_0x4024bd(0x252)](_0x39562f[_0x4024bd(0x297)][_0x4024bd(0x1ba)],0x0),'strokeWidth':0x0,'stroke':_0x22a399||_0x4f56df['getColor'](_0x39562f[_0x4024bd(0x297)]['black'],0x0),'evented':!0x1});this[_0x4024bd(0x265)]=_0x2c5751,this[_0x4024bd(0x202)][_0x4024bd(0x42a)](_0x2c5751,_0x4f56df[_0x4024bd(0x257)]);const _0x47c8d7=new _0x42f8bc(_0x3dcda4+_0x39562f['Tools']['generateRandomId'](_0x3671a2),{'left':_0x31c67e+_0x5153f5-_0x3cc814,'top':_0x58d03c+_0x28c284-_0x3b647f,'text':_0x12dbad,'color':_0x22a399});this[_0x4024bd(0x1a8)]=_0x47c8d7,this[_0x4024bd(0x202)][_0x4024bd(0x42a)](_0x47c8d7,_0x4f56df[_0x4024bd(0x257)]),this[_0x4024bd(0x220)]=!0x1;}['_handleHover'](){const _0x48f9ad=_0xb9a23e,_0x21bc51=this[_0x48f9ad(0x3c7)][_0x48f9ad(0x2c6)][_0x48f9ad(0x27a)](()=>{const _0xebc1e7=_0x48f9ad;this[_0xebc1e7(0x220)]=!0x0;}),_0x178452=this['_anchor']['onPointerLeave$'][_0x48f9ad(0x27a)](()=>{const _0x5d91eb=_0x48f9ad;this[_0x5d91eb(0x300)]&&clearTimeout(this[_0x5d91eb(0x300)]),this['_hideTimer']=setTimeout(()=>{const _0x30d5d2=_0x5d91eb;this[_0x30d5d2(0x220)]=!0x1;},0x7d0);});return()=>{const _0xfc0ad6=_0x48f9ad;_0x21bc51[_0xfc0ad6(0x54c)](),_0x178452[_0xfc0ad6(0x54c)]();};}['_drawRange'](_0x5e8654,_0x3a6b34,_0x1f1f53,_0x100c67){const _0x16b710=_0xb9a23e,_0xf1665=new _0x39562f[(_0x16b710(0x442))](_0x5e8654)['setAlpha'](0.2)['toRgbString'](),_0x3704df=new _0x4f56df[(_0x16b710(0x4bb))](_0x3dbd36+_0x39562f[_0x16b710(0x507)][_0x16b710(0x375)](_0x3671a2),{'pointsGroup':_0x3a6b34,'fill':_0xf1665||_0x4f56df['getColor'](_0x39562f[_0x16b710(0x297)][_0x16b710(0x1ba)],0.2),'left':_0x1f1f53,'top':_0x100c67,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x16b710(0x54f)]['push'](_0x3704df),this['_scene'][_0x16b710(0x42a)](_0x3704df,_0x4f56df[_0x16b710(0x257)]);}[_0xb9a23e(0x2db)](_0x1ba5ea){const _0xd11443=_0x1ba5ea[0x0],_0xfb9659=_0xd11443[0x0],_0x4b8e5d=_0xd11443[0x2],{x:_0x114aa5,y:_0x17cdee}=_0xfb9659,{x:_0x2b4c8e,y:_0x175a3d}=_0x4b8e5d;return{'left':_0x114aa5,'top':_0x17cdee,'width':_0x2b4c8e-_0x114aa5,'height':_0x175a3d-_0x17cdee};}['_getScale'](){const _0x35856d=_0xb9a23e,{scaleX:_0x2bc32a,scaleY:_0x4a75d4}=this[_0x35856d(0x202)][_0x35856d(0x23d)]();return Math['max'](_0x2bc32a,_0x4a75d4);}}var _0x56f8ef=Object[_0xb9a23e(0x38b)],_0x2442c2=Object[_0xb9a23e(0x2ed)],_0x56bab1=(_0x4591dc,_0x21a688,_0x2e7f78,_0x4f51e7)=>{const _0x57ffb4=_0xb9a23e;for(var _0x470a8d=_0x4f51e7>0x1?void 0x0:_0x4f51e7?_0x2442c2(_0x21a688,_0x2e7f78):_0x21a688,_0x124b3f=_0x4591dc[_0x57ffb4(0x480)]-0x1,_0x349d0c;_0x124b3f>=0x0;_0x124b3f--)(_0x349d0c=_0x4591dc[_0x124b3f])&&(_0x470a8d=(_0x4f51e7?_0x349d0c(_0x21a688,_0x2e7f78,_0x470a8d):_0x349d0c(_0x470a8d))||_0x470a8d);return _0x4f51e7&&_0x470a8d&&_0x56f8ef(_0x21a688,_0x2e7f78,_0x470a8d),_0x470a8d;},_0x5a0bf5=(_0xb6fd8b,_0x1b5dd8)=>(_0x4821dc,_0x2f32f5)=>_0x1b5dd8(_0x4821dc,_0x2f32f5,_0xb6fd8b);let _0x4c5749=class extends _0x39562f[_0xb9a23e(0x298)]{constructor(_0x36d216,_0x5e392f,_0x4615b9,_0xd821ae,_0x3af465){const _0x40d6ed=_0xb9a23e;super(),_0x3e3dad(this,_0x40d6ed(0x2da),[]),(this[_0x40d6ed(0x33d)]=_0x36d216,this[_0x40d6ed(0x328)]=_0x5e392f,this['_renderManagerService']=_0x4615b9,this[_0x40d6ed(0x311)]=_0xd821ae,this['_themeService']=_0x3af465,this[_0x40d6ed(0x3e7)]());}[_0xb9a23e(0x3e7)](){const _0x2675b7=_0xb9a23e;this[_0x2675b7(0x311)][_0x2675b7(0x243)]['pipe'](_0x53520c[_0x2675b7(0x307)](this[_0x2675b7(0x203)]),_0x53520c[_0x2675b7(0x2d3)](_0x2a794c=>{const _0x3e5503=_0x2675b7;if(_0x2a794c){const _0x473522=_0x2a794c[_0x3e5503(0x3bb)]()['getDataModel']()[_0x3e5503(0x37c)]();return _0x1fa2ab[_0x3e5503(0x356)](this[_0x3e5503(0x33d)][_0x3e5503(0x51c)](_0x473522),this[_0x3e5503(0x4e4)][_0x3e5503(0x2cf)])[_0x3e5503(0x24a)](_0x53520c['map'](([_0xa8bfa1,_0x46414e])=>({'skeleton':_0x2a794c,'cursors':[..._0xa8bfa1[_0x3e5503(0x53f)]()][_0x3e5503(0x4e1)](_0xac86e1=>({..._0xac86e1,'color':_0x46414e[_0xac86e1[_0x3e5503(0x1d6)]]}))})));}return _0x1fa2ab['of']({'skeleton':null,'cursors':[]});}))[_0x2675b7(0x282)](({skeleton:_0x5c7818,cursors:_0x5a96ec})=>{const _0x50844f=_0x2675b7;this[_0x50844f(0x2e1)](),_0x5c7818&&this[_0x50844f(0x244)](_0x5c7818,_0x5a96ec);});}[_0xb9a23e(0x244)](_0x50aceb,_0x2e0be7){const _0x1f9195=_0xb9a23e,_0x314b79=this[_0x1f9195(0x241)]();if(_0x314b79==null)return;const {scene:_0x2d24f6,document:_0x2971fd}=_0x314b79,_0x1c3efc=_0x2e0be7[_0x1f9195(0x3e3)](_0x410a98=>new _0x4edd93(_0x410a98,_0x2d24f6,_0x50aceb,_0x2971fd));this[_0x1f9195(0x2da)]=_0x1c3efc;}[_0xb9a23e(0x2e1)](){const _0x17e555=_0xb9a23e;this[_0x17e555(0x2da)]['forEach'](_0x52017d=>_0x52017d[_0x17e555(0x51e)]()),this[_0x17e555(0x2da)]=[];}[_0xb9a23e(0x241)](){const _0x2e0206=_0xb9a23e;return _0x239a47['getDocObject'](this[_0x2e0206(0x328)],this[_0x2e0206(0x1df)]);}};_0x4c5749=_0x56bab1([_0x39562f[_0xb9a23e(0x40c)](_0x39562f[_0xb9a23e(0x407)][_0xb9a23e(0x3f6)],_0x4c5749),_0x5a0bf5(0x0,_0x46d633[_0xb9a23e(0x2a5)](_0x120e16)),_0x5a0bf5(0x1,_0x39562f[_0xb9a23e(0x2d6)]),_0x5a0bf5(0x2,_0x4f56df[_0xb9a23e(0x3cc)]),_0x5a0bf5(0x3,_0x46d633['Inject'](_0x239a47['DocSkeletonManagerService'])),_0x5a0bf5(0x4,_0x46d633[_0xb9a23e(0x2a5)](_0x39562f[_0xb9a23e(0x4cc)]))],_0x4c5749);var _0xac29e9=Object['defineProperty'],_0x3b0249=Object[_0xb9a23e(0x2ed)],_0x434dc7=(_0x19f568,_0x11aa1b,_0x53da4b,_0x47dcdd)=>{const _0x1bbc32=_0xb9a23e;for(var _0x534fe3=_0x47dcdd>0x1?void 0x0:_0x47dcdd?_0x3b0249(_0x11aa1b,_0x53da4b):_0x11aa1b,_0x5dd778=_0x19f568[_0x1bbc32(0x480)]-0x1,_0x1a811d;_0x5dd778>=0x0;_0x5dd778--)(_0x1a811d=_0x19f568[_0x5dd778])&&(_0x534fe3=(_0x47dcdd?_0x1a811d(_0x11aa1b,_0x53da4b,_0x534fe3):_0x1a811d(_0x534fe3))||_0x534fe3);return _0x47dcdd&&_0x534fe3&&_0xac29e9(_0x11aa1b,_0x53da4b,_0x534fe3),_0x534fe3;},_0x4178af=(_0x3719fe,_0x2012d8)=>(_0x4abfc8,_0x314697)=>_0x2012d8(_0x4abfc8,_0x314697,_0x3719fe);let _0x4d2aea=class{constructor(_0x101a7e,_0x40c9cc,_0x459a87){const _0x34ca65=_0xb9a23e;this['_configService']=_0x101a7e,this[_0x34ca65(0x454)]=_0x40c9cc,this[_0x34ca65(0x37a)]=_0x459a87,this[_0x34ca65(0x324)]();}[_0xb9a23e(0x324)](){const _0xf6ebc4=_0xb9a23e;this[_0xf6ebc4(0x454)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x28f879,_0xdd410d)=>_0xdd410d(_0x28f879)[_0xf6ebc4(0x24a)](_0x1fa2ab[_0xf6ebc4(0x2bd)](async _0x11dbdf=>{const _0x561e34=_0xf6ebc4,_0x207575=_0x11dbdf;if(_0x207575[_0x561e34(0x23e)]===0x191&&window['confirm'](this[_0x561e34(0x37a)]['t']('auth.needGotoLoginAlert'))){const _0x2c61e8=window[_0x561e34(0x3a4)](window[_0x561e34(0x302)]['href']);window[_0x561e34(0x302)][_0x561e34(0x4fa)]=this[_0x561e34(0x28b)]()+'?url='+_0x2c61e8;}return _0x207575;}))});}['_getLoginPath'](){var _0x1c206a;return(_0x1c206a=this['_configService']['getConfig'](_0x156e4d))!=null?_0x1c206a:_0x2fff92;}};_0x4d2aea=_0x434dc7([_0x4178af(0x0,_0x39562f[_0xb9a23e(0x251)]),_0x4178af(0x1,_0x46d633[_0xb9a23e(0x2a5)](_0x403cff['HTTPService'])),_0x4178af(0x2,_0x46d633[_0xb9a23e(0x2a5)](_0x39562f[_0xb9a23e(0x303)]))],_0x4d2aea);var _0x1ff8d9=Object[_0xb9a23e(0x38b)],_0x984e83=Object[_0xb9a23e(0x2ed)],_0x5b1b3a=(_0x4e6dbf,_0x46b562,_0x3c7578,_0x6a956e)=>{const _0x36874f=_0xb9a23e;for(var _0x14ff63=_0x6a956e>0x1?void 0x0:_0x6a956e?_0x984e83(_0x46b562,_0x3c7578):_0x46b562,_0x2ef6c5=_0x4e6dbf[_0x36874f(0x480)]-0x1,_0x37aef0;_0x2ef6c5>=0x0;_0x2ef6c5--)(_0x37aef0=_0x4e6dbf[_0x2ef6c5])&&(_0x14ff63=(_0x6a956e?_0x37aef0(_0x46b562,_0x3c7578,_0x14ff63):_0x37aef0(_0x14ff63))||_0x14ff63);return _0x6a956e&&_0x14ff63&&_0x1ff8d9(_0x46b562,_0x3c7578,_0x14ff63),_0x14ff63;},_0x5213db=(_0x12fdf0,_0x5b26f3)=>(_0x150e33,_0x2dd664)=>_0x5b26f3(_0x150e33,_0x2dd664,_0x12fdf0);const _0x4d8f72=_0xb9a23e(0x258),_0x3275a5=_0xb9a23e(0x4c9);_0x2dfa89['AuthzIoHttpService']=class{constructor(_0x5bfc4c,_0x1d9e1c){const _0x19031c=_0xb9a23e;this[_0x19031c(0x346)]=_0x5bfc4c,this[_0x19031c(0x1ec)]=_0x1d9e1c;}['_getAPIPrefixPath'](){const _0x23593d=_0xb9a23e;var _0x472b72;return(_0x472b72=this[_0x23593d(0x1ec)]['getConfig'](_0x4d8f72))!=null?_0x472b72:_0x3275a5;}async[_0xb9a23e(0x3e8)](_0x45bd22){const _0x5712da=_0xb9a23e,_0x560314=this[_0x5712da(0x475)]()+'/'+_0x45bd22[_0x5712da(0x2f5)]+'/object';return(await this[_0x5712da(0x346)][_0x5712da(0x42c)](_0x560314,{'body':_0x45bd22}))[_0x5712da(0x337)][_0x5712da(0x219)]||'';}async[_0xb9a23e(0x385)](_0x288a96){const _0x5ebdbb=_0xb9a23e,_0x325176=this[_0x5ebdbb(0x475)]()+_0x5ebdbb(0x1ab);return(await this['_HTTPService'][_0x5ebdbb(0x42c)](_0x325176,{'body':_0x288a96}))[_0x5ebdbb(0x337)][_0x5ebdbb(0x4de)];}async[_0xb9a23e(0x33c)](_0x1600fc){const _0x1abd21=_0xb9a23e,_0x4b2072=this[_0x1abd21(0x475)]()+'/'+_0x1600fc[_0x1abd21(0x2f5)]+_0x1abd21(0x20b)+_0x1600fc[_0x1abd21(0x219)];await this[_0x1abd21(0x346)]['put'](_0x4b2072,{'body':_0x1600fc});}async[_0xb9a23e(0x3ff)](_0x35407a){const _0xf541c3=_0xb9a23e,_0x2424a0=this[_0xf541c3(0x475)]()+'/'+_0x35407a[_0xf541c3(0x2f5)]+_0xf541c3(0x20b)+_0x35407a[_0xf541c3(0x219)]+_0xf541c3(0x391);return(await this[_0xf541c3(0x346)][_0xf541c3(0x42c)](_0x2424a0,{'body':_0x35407a}))[_0xf541c3(0x337)][_0xf541c3(0x3fb)];}async[_0xb9a23e(0x508)](_0x51913a){const _0x27b43c=_0xb9a23e,_0x25ac0d=this[_0x27b43c(0x475)]()+_0x27b43c(0x420);return(await this[_0x27b43c(0x346)]['post'](_0x25ac0d,{'body':{'requests':_0x51913a}}))[_0x27b43c(0x337)][_0x27b43c(0x280)];}async[_0xb9a23e(0x4fb)](_0x442908){const _0x4a9865=_0xb9a23e,_0x3aaa6c=this[_0x4a9865(0x475)]()+'/'+_0x442908[_0x4a9865(0x2f5)]+_0x4a9865(0x2aa),_0x1777cd=await this['_HTTPService']['post'](_0x3aaa6c,{'body':_0x442908});return{'roles':_0x1777cd[_0x4a9865(0x337)]['roles'],'actions':_0x1777cd[_0x4a9865(0x337)][_0x4a9865(0x3fb)]};}async[_0xb9a23e(0x1e1)](_0x3b53b8){const _0x36c410=_0xb9a23e,_0x1d02d8=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x36c410(0x346)][_0x36c410(0x319)](_0x1d02d8,{'params':{'collaboratorID':_0x3b53b8[_0x36c410(0x3ac)],'objectID':_0x3b53b8[_0x36c410(0x219)],'unitID':_0x3b53b8[_0x36c410(0x474)]}});}async[_0xb9a23e(0x3b3)](_0x519973){const _0x24c670=_0xb9a23e,_0x1103ef=this[_0x24c670(0x475)]()+_0x24c670(0x2e9);await this['_HTTPService']['patch'](_0x1103ef,{'body':_0x519973});}async[_0xb9a23e(0x218)](_0x4721a8){const _0x596649=_0xb9a23e,_0x1d8d6e=this['_getAPIPrefixPath']()+_0x596649(0x2e9);await this[_0x596649(0x346)][_0x596649(0x42c)](_0x1d8d6e,{'body':_0x4721a8});}async[_0xb9a23e(0x304)](_0x133517){const _0x13e2c2=_0xb9a23e,_0x26a1d8=this[_0x13e2c2(0x475)]()+_0x13e2c2(0x2e9);return(await this[_0x13e2c2(0x346)][_0x13e2c2(0x3a6)](_0x26a1d8,{'params':{'objectID':_0x133517[_0x13e2c2(0x219)],'unitID':_0x133517[_0x13e2c2(0x474)]}}))[_0x13e2c2(0x337)][_0x13e2c2(0x292)];}async[_0xb9a23e(0x35e)](_0x311b48){const _0x2b9e65=_0xb9a23e,_0x3bdb73=this[_0x2b9e65(0x475)]()+_0x2b9e65(0x2e9);await this[_0x2b9e65(0x346)]['put'](_0x3bdb73,{'body':_0x311b48});}},_0x2dfa89['AuthzIoHttpService']=_0x5b1b3a([_0x5213db(0x0,_0x46d633[_0xb9a23e(0x2a5)](_0x403cff[_0xb9a23e(0x2cb)])),_0x5213db(0x1,_0x46d633['Inject'](_0x39562f[_0xb9a23e(0x251)]))],_0x2dfa89[_0xb9a23e(0x485)]);var _0xd4cf64=Object[_0xb9a23e(0x38b)],_0x3c7ce5=Object[_0xb9a23e(0x2ed)],_0x1f3b8d=(_0x390231,_0x3cd605,_0xbb2cc8,_0x2ff038)=>{for(var _0x12caa9=_0x2ff038>0x1?void 0x0:_0x2ff038?_0x3c7ce5(_0x3cd605,_0xbb2cc8):_0x3cd605,_0x450071=_0x390231['length']-0x1,_0x4e202c;_0x450071>=0x0;_0x450071--)(_0x4e202c=_0x390231[_0x450071])&&(_0x12caa9=(_0x2ff038?_0x4e202c(_0x3cd605,_0xbb2cc8,_0x12caa9):_0x4e202c(_0x12caa9))||_0x12caa9);return _0x2ff038&&_0x12caa9&&_0xd4cf64(_0x3cd605,_0xbb2cc8,_0x12caa9),_0x12caa9;},_0x2bcf4d=(_0x1cdf00,_0x4b4362)=>(_0x4bca34,_0x427577)=>_0x4b4362(_0x4bca34,_0x427577,_0x1cdf00);const _0x3fefb3=['image/png',_0xb9a23e(0x253),_0xb9a23e(0x419),_0xb9a23e(0x462),_0xb9a23e(0x321)],_0x1890ab=0x5*0x400*0x400,_0x144b8a=_0xb9a23e(0x548),_0x2a0e6c=_0xb9a23e(0x413),_0x400474=_0xb9a23e(0x387),_0x5593f8='/universer-api/file/{fileID}/sign-url';let _0x3b7257=class{constructor(_0x171984,_0x24c873){const _0x2491bd=_0xb9a23e;_0x3e3dad(this,_0x2491bd(0x2f6),0x0),_0x3e3dad(this,'_change$',new _0x1fa2ab[(_0x2491bd(0x393))]()),_0x3e3dad(this,'change$',this[_0x2491bd(0x40e)]),_0x3e3dad(this,_0x2491bd(0x23f),new Map()),(this[_0x2491bd(0x454)]=_0x171984,this['_configService']=_0x24c873);}[_0xb9a23e(0x467)](_0x4bed5b){const _0x1aaf96=_0xb9a23e;this[_0x1aaf96(0x2f6)]=_0x4bed5b,this[_0x1aaf96(0x40e)]['next'](_0x4bed5b);}[_0xb9a23e(0x3db)](_0x27d964,_0x187380){const _0x2ae2c7=_0xb9a23e;if(_0x187380===_0x384179[_0x2ae2c7(0x463)][_0x2ae2c7(0x30a)]){const _0x4d7b25=new Image();return _0x4d7b25[_0x2ae2c7(0x214)]=_0x27d964,_0x4d7b25;}return this[_0x2ae2c7(0x23f)]['get'](_0x27d964);}[_0xb9a23e(0x2d7)](_0x38e59e,_0x3ab6fe,_0x444c67){const _0x294441=_0xb9a23e;_0x3ab6fe===_0x384179[_0x294441(0x463)][_0x294441(0x30a)]||_0x444c67==null||this[_0x294441(0x23f)]['set'](_0x38e59e,_0x444c67);}async[_0xb9a23e(0x1b8)](_0x33b15b){const _0x4412f0=_0xb9a23e;try{const _0x3f1257=this['_replaceFileID'](this[_0x4412f0(0x55c)](),''+_0x33b15b),_0xa8adc7=(await this['_httpService'][_0x4412f0(0x3a6)](_0x3f1257))[_0x4412f0(0x337)];return _0xa8adc7[_0x4412f0(0x4f3)]&&_0xa8adc7['error']['code']===_0x59b333['OK']?Promise['resolve'](_0xa8adc7[_0x4412f0(0x306)]):Promise[_0x4412f0(0x201)](_0xa8adc7['error']);}catch(_0x5b36bd){return Promise[_0x4412f0(0x201)](_0x5b36bd);}}async[_0xb9a23e(0x2d4)](_0x3610a3){const _0x29f500=_0xb9a23e;let _0x438729='';if(!_0x3fefb3[_0x29f500(0x217)](_0x3610a3[_0x29f500(0x2a3)]))return this[_0x29f500(0x524)](),Promise[_0x29f500(0x201)](new Error(_0x384179[_0x29f500(0x2ac)][_0x29f500(0x445)]));if(_0x3610a3[_0x29f500(0x512)]>_0x1890ab)return this[_0x29f500(0x524)](),Promise['reject'](new Error(_0x384179[_0x29f500(0x2ac)][_0x29f500(0x32d)]));try{const _0x2b4217=new FormData();_0x2b4217[_0x29f500(0x271)](_0x29f500(0x405),_0x3610a3);const _0x4c7f13=this['_getUploadFileURL']()+_0x29f500(0x3fd)+_0x3610a3[_0x29f500(0x512)][_0x29f500(0x238)](),_0x331f03=await(await fetch(_0x4c7f13,{'method':_0x29f500(0x1d4),'body':_0x2b4217}))[_0x29f500(0x3c9)]();if(typeof _0x331f03[_0x29f500(0x3e6)]!=_0x29f500(0x327))return this[_0x29f500(0x524)](),Promise[_0x29f500(0x201)](new Error(_0x384179['ImageUploadStatusType'][_0x29f500(0x33f)]));_0x438729=_0x331f03[_0x29f500(0x3e6)];}catch{return this[_0x29f500(0x524)](),Promise[_0x29f500(0x201)](new Error(_0x384179[_0x29f500(0x2ac)][_0x29f500(0x33f)]));}return new Promise((_0x605491,_0x545ea5)=>{const _0x4ecc13=_0x29f500,_0x51772f=new FileReader();_0x51772f[_0x4ecc13(0x229)](_0x3610a3),_0x51772f[_0x4ecc13(0x353)]=_0x3031e7=>{const _0x52f416=_0x4ecc13;var _0x11adea;const _0x25c284=(_0x11adea=_0x3031e7['target'])==null?void 0x0:_0x11adea['result'];if(_0x25c284==null){this[_0x52f416(0x524)](),_0x545ea5(new Error(_0x384179[_0x52f416(0x2ac)][_0x52f416(0x33f)]));return;}const _0x3ae8df=_0x39562f[_0x52f416(0x507)][_0x52f416(0x375)](0x6);_0x605491({'imageId':_0x3ae8df,'imageSourceType':_0x384179[_0x52f416(0x463)]['UUID'],'source':_0x438729,'base64Cache':_0x25c284,'status':_0x384179[_0x52f416(0x2ac)][_0x52f416(0x1eb)]}),this['_decreaseWaiting']();};});}[_0xb9a23e(0x1a7)](){const _0xd33a7e=_0xb9a23e;var _0x2cf77b;return(_0x2cf77b=this[_0xd33a7e(0x1ec)][_0xd33a7e(0x496)](_0x144b8a))!=null?_0x2cf77b:_0x2a0e6c;}[_0xb9a23e(0x55c)](){const _0x5724b3=_0xb9a23e;var _0x109bf4;return(_0x109bf4=this['_configService'][_0x5724b3(0x496)](_0x400474))!=null?_0x109bf4:_0x5593f8;}['_replaceFileID'](_0x54708c,_0x2a414e){return _0x54708c['replace']('{fileID}',_0x2a414e);}[_0xb9a23e(0x524)](){const _0x563b58=_0xb9a23e;this[_0x563b58(0x2f6)]-=0x1,this[_0x563b58(0x40e)][_0x563b58(0x438)](this['_waitCount']);}};_0x3b7257=_0x1f3b8d([_0x2bcf4d(0x0,_0x46d633[_0xb9a23e(0x2a5)](_0x403cff['HTTPService'])),_0x2bcf4d(0x1,_0x39562f[_0xb9a23e(0x251)])],_0x3b7257);var _0x30e400=Object['defineProperty'],_0x46d21d=Object['getOwnPropertyDescriptor'],_0x513fe0=(_0x48e185,_0x2b9ebf,_0x8caf25)=>_0x2b9ebf in _0x48e185?_0x30e400(_0x48e185,_0x2b9ebf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x8caf25}):_0x48e185[_0x2b9ebf]=_0x8caf25,_0x1a994e=(_0x273d91,_0x478084,_0x464d66,_0x6f88af)=>{for(var _0x2953b1=_0x6f88af>0x1?void 0x0:_0x6f88af?_0x46d21d(_0x478084,_0x464d66):_0x478084,_0x479760=_0x273d91['length']-0x1,_0x3b080b;_0x479760>=0x0;_0x479760--)(_0x3b080b=_0x273d91[_0x479760])&&(_0x2953b1=(_0x6f88af?_0x3b080b(_0x478084,_0x464d66,_0x2953b1):_0x3b080b(_0x2953b1))||_0x2953b1);return _0x6f88af&&_0x2953b1&&_0x30e400(_0x478084,_0x464d66,_0x2953b1),_0x2953b1;},_0x5f2b07=(_0x2d2291,_0x265e9a)=>(_0x4a3ea0,_0x279625)=>_0x265e9a(_0x4a3ea0,_0x279625,_0x2d2291),_0x4d20a1=(_0x3015ea,_0x2cc457,_0x39447a)=>_0x513fe0(_0x3015ea,_0x2cc457+'',_0x39447a);const _0x5a8b74='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x2dfa89[_0xb9a23e(0x2b1)]=class extends _0x39562f[_0xb9a23e(0x357)]{constructor(_0x2e36d9,_0x772b44,_0x27c856){const _0x2f4854=_0xb9a23e;super(),this[_0x2f4854(0x4f0)]=_0x2e36d9,this[_0x2f4854(0x38c)]=_0x772b44,this[_0x2f4854(0x273)]=_0x27c856;}[_0xb9a23e(0x45a)](_0x1baebf){const _0x3f9dad=_0xb9a23e;var _0x1d2e38,_0x3ea578,_0x11b80e,_0xb597d3,_0x3c42e3;_0x1baebf['has'](_0x39562f['IUndoRedoService'])&&this['_logService'][_0x3f9dad(0x4f3)]('[UniverCollaborationClientPlugin]',_0x3f9dad(0x236));let _0x4f8497=[[_0x39562f[_0x3f9dad(0x4b1)],{'useClass':_0x161ec1}],[_0x2dfa89[_0x3f9dad(0x538)]],[_0x274314],[_0x403cff['HTTPService']],[_0x4248a5,{'useClass':_0x1af5c6}],[_0x3eae2a],[_0x2dfa89['LocalCacheService']],[_0x403cff['WebSocketService']],[_0x4aa7fa],[_0xede299],[_0x4bc2a2],[_0x1287ec],[_0x4d2aea],[_0x301d2e],[_0x3403de,{'useClass':(_0x3ea578=(_0x1d2e38=this['_config'])==null?void 0x0:_0x1d2e38[_0x3f9dad(0x402)])!=null?_0x3ea578:_0x2dfa89[_0x3f9dad(0x40f)]}],[_0x403cff[_0x3f9dad(0x1f8)],{'useClass':_0x403cff['XHRHTTPImplementation']}],[_0x39562f[_0x3f9dad(0x1a9)],{'useClass':_0x3c99f6}],[_0x39562f['IAuthzIoService'],{'useClass':_0x2dfa89[_0x3f9dad(0x485)]}],[_0x384179[_0x3f9dad(0x28c)],{'useClass':_0x3b7257}],[_0x2dfa89['CollaborationController']],[_0x2dfa89[_0x3f9dad(0x2a9)]],[_0x2dfa89[_0x3f9dad(0x466)]],[_0xe78f9f],[_0x120e16]];(_0x11b80e=this[_0x3f9dad(0x4f0)])!=null&&_0x11b80e['enableSingleActiveInstanceLock']&&_0x4f8497['push']([_0x174263,{'useClass':_0x2dc57e}]),((_0xb597d3=this['_config'])==null?void 0x0:_0xb597d3[_0x3f9dad(0x30f)])==null||this[_0x3f9dad(0x4f0)][_0x3f9dad(0x30f)]['includes'](_0x39562f[_0x3f9dad(0x1ad)][_0x3f9dad(0x40a)])?_0x4f8497[_0x3f9dad(0x509)]([_0x125bcc]):this['_config'][_0x3f9dad(0x30f)][_0x3f9dad(0x217)](_0x39562f['UniverInstanceType']['UNIVER_DOC'])&&_0x4f8497[_0x3f9dad(0x509)]([_0x4c5749]),_0x4f8497=_0x39562f[_0x3f9dad(0x3a5)](_0x4f8497,(_0x3c42e3=this[_0x3f9dad(0x4f0)])==null?void 0x0:_0x3c42e3[_0x3f9dad(0x4c7)]),_0x4f8497['forEach'](_0x5e0b43=>_0x1baebf[_0x3f9dad(0x398)](_0x5e0b43)),_0x1baebf[_0x3f9dad(0x3a6)](_0x403cff[_0x3f9dad(0x2cb)])[_0x3f9dad(0x52a)]({'priority':0x14,'interceptor':_0x403cff[_0x3f9dad(0x1ae)]({'maxParallel':0x6})}),this['_initModules']();}[_0xb9a23e(0x4be)](){const _0x3e647f=_0xb9a23e;var _0x2b8630,_0x2013e3;(_0x2b8630=this[_0x3e647f(0x4f0)])!=null&&_0x2b8630[_0x3e647f(0x506)]||this[_0x3e647f(0x273)][_0x3e647f(0x3a6)](_0x2dfa89['LocalCacheService'])['disableLocalCache'](),(_0x2013e3=this[_0x3e647f(0x4f0)])!=null&&_0x2013e3['enableAuthServer']&&this['_injector'][_0x3e647f(0x3a6)](_0x4d2aea);}},_0x4d20a1(_0x2dfa89[_0xb9a23e(0x2b1)],_0xb9a23e(0x1e6),_0x5a8b74),_0x2dfa89[_0xb9a23e(0x2b1)]=_0x1a994e([_0x39562f['DependentOn'](_0x244d6f[_0xb9a23e(0x3fe)]),_0x5f2b07(0x1,_0x39562f[_0xb9a23e(0x3d4)]),_0x5f2b07(0x2,_0x46d633[_0xb9a23e(0x2a5)](_0x46d633['Injector']))],_0x2dfa89[_0xb9a23e(0x2b1)]),_0x2dfa89[_0xb9a23e(0x258)]=_0x4d8f72,_0x2dfa89[_0xb9a23e(0x1cf)]=_0x1d614f,_0x2dfa89[_0xb9a23e(0x38d)]=_0x63fe38,_0x2dfa89[_0xb9a23e(0x555)]=_0x3cde1c,_0x2dfa89[_0xb9a23e(0x3a7)]=_0x502068,_0x2dfa89['CommentService']=_0x301d2e,_0x2dfa89[_0xb9a23e(0x491)]=_0x323501,_0x2dfa89[_0xb9a23e(0x293)]=_0x74042e,_0x2dfa89['ICollaborationSocketService']=_0x3403de,_0x2dfa89[_0xb9a23e(0x261)]=_0x4248a5,_0x2dfa89[_0xb9a23e(0x213)]=_0x339ff6,_0x2dfa89[_0xb9a23e(0x299)]=_0x156e4d,_0x2dfa89[_0xb9a23e(0x37d)]=_0x477c27,_0x2dfa89[_0xb9a23e(0x22c)]=_0x91342,_0x2dfa89[_0xb9a23e(0x406)]=_0x3e0532,_0x2dfa89[_0xb9a23e(0x505)]=_0x346ac5,_0x2dfa89[_0xb9a23e(0x1f1)]=_0x1af5c6,_0x2dfa89['deserializeToCombResponse']=_0x5ed143,_0x2dfa89['serializeCombRequest']=_0x2c67df,Object['defineProperty'](_0x2dfa89,Symbol['toStringTag'],{'value':_0xb9a23e(0x372)});}));function _0x231b(_0x55a264,_0x2a46f5){const _0x54ee95=_0x54ee();return _0x231b=function(_0x231beb,_0x328cbb){_0x231beb=_0x231beb-0x1a0;let _0x2e6473=_0x54ee95[_0x231beb];return _0x2e6473;},_0x231b(_0x55a264,_0x2a46f5);}function _0x54ee(){const _0x13675d=['eventID','_transformRemoteChangesetByIMECache','reduce','COLLAB_WEB_SOCKET_URL','_sheetSkeletonManagerService','image/jpg','_retryCount','newValue','conflict','transformChangesets','CHANGESET_REJ','getMember','/-/object/-/batch_allowed','save','liveShareOperation','session.room-full','getSheetBySheetId','_members','catch','column','send','transformSelections','addObject','syncEditingCollabCursor','post','clearInterval','_transformSelections','CollaborationEvent','compose','setCurrentUser','_assignedColors','addEventListener','Error','@wendellhu/redi','find','DeleteRangeMoveLeftCommandId','next','clear','_acknowledgedAwaitingChangeset','YUUMI_URL_COL_OUT_OF_RANGE','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','registerBeforeClose','_onUserJoin','history','UNIVER_UNKNOWN','univer-online-status','ColorKit','isTransformMutationFailure','ITransformService','ERROR_IMAGE_TYPE','forwardRef','IRemoteInstanceService','_onConnectionOpen','_onRecvEvent','currentColor','createElement','setActiveRange','@univerjs/core','_onRemoteACK','_getSheetObject','createSocket','collab-text-anchor-','jiqing500','_saveCache','_httpService','LICENSE_IMPORT_SIZE_EXCEEDED','editing\x20status\x20changed\x20to','_awaitingChangeset','[PendingState]:\x20received\x20rejection.','0\x200\x2016\x2016','onStarting','HEARTBEAT_TIMEOUT','collabCursorState$','_onCursorUpdate','object','Error\x20on\x20receiving\x20event','collabStatus.fetchMiss','transformUndoRedo','image/gif','ImageSourceType','_singleActiveUnitService','lineTo','DesktopCollaborationStatusDisplayController','setWaitCount','fillStyle','bottom','loadSheet','_fetchMissChangesets','PERMISSION_REJ','show','_cursor','RETRY_CONNECTING_MAX_COUNT','rgba(255,\x20255,\x20255,\x200.01)','interceptor','cursorInfo$','awaitingChangeset','unitID','_getAPIPrefixPath','@univerjs/rpc','@univerjs/design','onSendChangeset','_transformIMECache','code','stringify','_onRefRangeChange','getCollabEntity','_getRedoStack','height','length','onRemoteAck','_clearCollaborationTimeoutTimer','permission.title','81760Hqlztw','AuthzIoHttpService','getCoordByCell','PENDING','extend','assign','getCollabEntity$','_document','sessionStatus','LICENSE_MAX_UNITS_EXCEEDED','skeleton','none','idSuffix','HEARTBEAT_INTERVAL_KEY','BehaviorSubject','_messageService','_scheduleReconnection','SnapshotService','getConfig','fromEvent','SNAPSHOT_HAS_BEEN_REMOVED','_session','clipPath','@univerjs/docs','_onLocalMutation','_draw','_collabSessionService','UNIVER_DOC','MoveRangeCommandId','DisposableCollection','IPermissionService','workbook','_scheduleCollaborationTimeoutTimer','/rev/','onlyLocal','HELLO','propertyIsEnumerable','_collaborationPaused','RETRY_CONNECTING_INTERVAL','transformIMECache','5989812gmwUhQ','RECV','result','NEW_CHANGESETS','/new_changes','IUndoRedoService','rxjs/operators','getOwnPropertySymbols','updateMember','ICommandService','_startDocCollabCursor','_unitStatus','permissionRejEvent','_updateSubUnitFromURLParams','_toggleOnline','RegularPolygon','_clearOtherTimers','asObservable','_initModules','Disposable','urlChange$','Optional','closePath','_handleEvent','_transformUndoRedoStack','_type','pushState','override','awaiting_with_pending','/universer-api/authz','YUUMI_UNABLE_LOAD_URL','defs','ThemeService','_onUserLeave','LEAVE','UniverCore','_ensureSubject','_getSnapshotAPIPrefix','_handleJoinEvent','_sendHeartbeat','/universer-api/snapshot/','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','/unit/','getMemberID','isTransformChangesetsSuccess','saveOfflineData','TOO_MANY_REQUESTS','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','createInstance','merge','objects','saveChangeset','cmd','flatMap','UniverRpc','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_themeService','cursorInfo','univer-offline','status$','WebSocketService','_transformUndoredo','JOINING','getMergeData','_initStatusListener','transformMutation','SheetSkeletonManagerService','_substituteUndoStack','_config','updateOfflineData','title','error','font','19PZhCKn','selections','MessageType','sequenceExecute','searchParams','href','listRoles','width','unit','FromArray','updateCursorEvent','restore','CollaborationController','SetSelectionsOperation','1425876tITrTv','SYNCED','SessionStatus','enableOfflineEditing','Tools','batchAllowed','push','_cursorInfo$','name','_memberService','saveSheetBlock','_updateLocalCursor','_id','_onFetchMissResult','endColumn','size','_online','makeDirty','userID','distinctUntilChanged','APPLY_NON_SEQUENTIAL_REVISION','indexOf','_onConnectionFailed','_exhaustSavingTask','fetch_missing','getCollabCursors$','getFocusedUnit','dispose','fetchThroughInterceptors','0\x200\x2017\x2016','key','PSEUDO_FETCH_MISSING_RESULT','Unknown\x20user','_decreaseWaiting','_handleLeaveEvent','UniverIcon','path','IDLE','/universer-api/comb','registerHTTPInterceptor','changesets','apply','clsx','IBeforeCloseService','_waitForHeartbeatResponse','_localeService','_event$','_ws','_name','collaMsg','close$','parseProtocolChangeset','handleIRemoveRow','CollaborationSessionService','getSheetId','purple300','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_onCombEvent','NO_OTHER_CLIENTS_EDITING','#fff','values','_createInitialState','1em','b64DecodeUnicode','pauseCollaboration','_incrementRevisionNumber','onCommentUpdate','_snapshotService','NOT_COLLAB','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','CommandType','onSyncEditingCollabCursor','\x0aCurrent:\x20','unsubscribe','1774367LLAqOL','m1Prime','_shapes','USERS_ENTER','unitId','_disableEditing','UniverCollaboration','_transformStack','CollaborationStatus','min','_localCacheService','measureText','mapDocumentTypeToUniverType','_socketMessageSubscription','collaboration.single-unit.warning','_getSignURL','_drawAnchor','_disabled','entries','forEach','_retryConnectingTimer','removeMember','_updateLocalCache','debug','_startSheetCollabCursor','NOT_FOUND','verdancy600','getActiveSheet','_updateStatus','all','handleDeleteRangeMoveUp','arc','setParam','...','\x20in\x20_schedule.','_getUploadFileURL','_textBubble','ISnapshotServerService','UNAUTHENTICATED','/-/object/list','_clearRedo','UniverInstanceType','ThresholdInterceptorFactory','APPLY_REJECT','FETCH_MISSING','@univerjs/sheets','InsertRangeMoveDownCommandId','isArray','has','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','IUIPartsService','getUnitOnRev','getImage','params','black','mutations','ws://127.0.0.1:8000/universer-api/comb/connect','csAckEvent','RemoveRowCommandId','_unitId','_compressMutationService','isActive','_transformPreviousActiveRange','_onJoinRoomEvent','getValue','_unitID','LIVESHARE_NEW_HOST','JSONX','docStateChange$','IMessageService','defIds','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','permission.content','_urlService','IMEInputManagerService','COLLAB_SUBMIT_CHANGESET_URL_KEY','_getMergeRange','div','INGEST','_commentService','POST','_handleHeartbeatEvent','color','onPointerMove$','ACTIVE_UNIT_EVENT_CHANNEL','COMPRESS_MUTATION_APPLY','CollaborationSession','Ready','range','createIdentifier','toggleOnline','_renderManagerService','_transformService','deleteCollaborator','textRanges','getTypeOfUnitAdded$','_pendingMutations','_substituteRedoStack','pluginName','_state$','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_redoStacks','liveShareNewHost','SUCCUSS','_configService','encode','concat','@univerjs/drawing','filter','WebURLService','doc.mutation.rich-text-editing','LICENSE_EXPORT_SIZE_EXCEEDED','commentUpdate$','VIEWPORT_KEY','getSheetBlock','top','IHTTPImplementation','Warning','red300','_snapshotServerService','exports','then','blue400','FAIL','labelPosition','reject','_scene','dispose$','[CollaborationUndoRedoService]','children','getSelections','@wendellhu/redi/react-bindings','univer-online-status-title','rxjs','onRemoteRej','/object/','_transitionLocked','getRelativeCoord','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','UPDATE_CURSOR','COMMENT_UPDATE','_uiPartsService','socket\x20close','LOCAL_CACHE_INTERVAL_KEY','src','Injector','RemoveColCommandId','includes','createCollaborator','objectID','OnLineSingle','resend','loadOfflineData','_entities','INVALID_ARGUMENT','_colorIndex','_hover','_socketService','_selfUnitIDs','onCommandExecuted','_http','from','connectInjector','function','FETCH_MISS','readAsDataURL','unshift','csRejEvent','SNAPSHOT_SERVER_URL_KEY','_sessions','icon','_onCursorDelete','collabStatus.synced','mapTo','operators','replaceTextRanges','_getCtorByUniverType','_createHandler','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','/block/','toString','focused$','_docTransformSelectionsService','uni.network.url-service','_socket','getAncestorScale','status','_imageSourceCache','_remoteChangesetQueue','_getDocObject','drawWith','currentSkeleton$','_updateCollabCursors','RefRangeService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','ALREADY_EXISTS','[CollaborationSessionService]','Rectangle','pipe','_clearLocalCache','fillText','[PendingState]:\x20received\x20acknowledgement.','_syncEditingCollabCursor','_joinRoom','ranges','IConfigService','getColor','image/jpeg','SUBMIT_CHANGESET','snapshot','parse','TEXT_RANGE_LAYER_INDEX','AUTHZ_URL_KEY','getCurrentRevForDocument','selection','_colorAssignService','synced','_scheduleHeartbeat','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','svg','setShapeProps','IURLService','univer-online','_sendHeartbeatTimer','[OfflineState]:\x20received\x20changeset.','_anchorDot','_clearScheduledTask','clearTimeout','take','colorChannel1','sheets','/resources','[FetchMissState]','_getUndoStack','substring','_handler','[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.','append','parseChangesetToProtocol','_injector','_schedule','_state','originalMeta','getUnhiddenWorksheets','roomMembers','UNIVER_SLIDE','subscribeEvent','@univerjs-pro/collaboration','fill','displayName','baseRev','SetWorksheetActivateCommand','objectActions','use','subscribe','@univerjs/engine-formula','[CollaborationSession]','[OfflineState]:\x20received\x20rejection.','UniverNetwork','_clearUndo','isPermissionRej','runRefRangeMutations','disposeWithMe','_getLoginPath','IImageIoService','subunit','_entityInit$','_saveTaskMap','onPointerLeave$','fetchMissingChangesets','collaborators','HEARTBEAT_TIMEOUT_KEY','_labelPosition','JOIN','toggleOffline','COLORS','RxDisposable','LOGIN_URL_KEY','slice','serializeTextRange','call','UNDEFINED','_socket$','_onRemoteChangeset','unload','OffLineSingle','getRoom','type','_send','Inject','@univerjs/engine-render','removeParam','_submitChangeset','DataLoaderController','/role','LICENSE_DISTRO_REJECTED','ImageUploadStatusType','pending','off-line-single_clip0_910_343','fromCollab','HEARTBEAT','UniverCollaborationClientPlugin','row','PERMISSION_DENIED','shareReplay','max','UniverSheetsUi','evenodd','appendMutation','_initStatusComponent','@univerjs/sheets-ui','DEFAULT_FILE_NAME','some','concatMap','url(#off-line-single_clip0_910_343)','event$','handleInsertRangeMoveDown','_rescheduleHeartbeatEvent','CONFLICT','getItem','/universer-api/snapshot','_socketReady','onPointerEnter$','whenReady','executeCommand','c1Prime','session','HTTPService','onlineStatusIcon','univerjs-icon\x20univerjs-icon-','_unlockTransition','currentTheme$','getRenderById','COMPRESS_MUTATION_SEND','getCurrent','switchMap','saveImage','error$','IUniverInstanceService','addImageSourceCache','InsertRowCommandId','deepClone','_cursors','_getAnchorBounding','_refRangeService','unit-cache-','serializeRangeWithSheet','_showConflictNotification','onMouseMove','_removeCollabCursors','session.collaboration-timeout','onMissingChangesets','RevisionService','_startCollaboration','CHANGESET_ACK','_render','online','/collaborator','@univerjs/ui','transformRemoteChangeset','[ClientCollaborationController]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','getOwnPropertyDescriptor','AWAITING','&to=','_collaborationTimeoutTimer','_clearHeartbeatTimer','joinRsp','_permissionService','getOffsetConfig','objectType','_waitCount','_getSendChangesetTimeout','@univerjs/network','round','_onMessage','transformStack\x20failed!','findNodePositionByCharIndex','getInterceptPoints','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_syncEditingCollabCursorService','_hideTimer','_collaborationController','location','LocaleService','listCollaborators','textEncoder','url','takeUntil','_executeRemoteChangeset','_docStateChangeManagerService','BASE64','getCellPositionByOffset','collab-text-range-','_sheetTransformSelectionsService','attrs','collaborationUniverTypes','collabStatus.notCollab','_docSkeletonManagerService','className','message$','transformMutationsWithChangeset','_notificationService','_onConflict','getTime','disableLocalCache','delete','_queuedRemoteChangesets','LIVESHARE_FETCH_OPERATIONS','UniverDesign','Starting','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_setupSubUnitSync','_hovered','image/bmp','30591126PcGhqb','10poSuEr','init','onRemoteChangeset','complete','string','_univerInstanceService','_scheduleTimestamp','/fetchmissing?from=','_scheduleClearOtherTimer','_sessionStatus$','ERROR_EXCEED_SIZE','_timeoutTimer','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','ONLINE','updatePermissionPoint','registerRefRange','failed\x20to\x20apply\x20missed\x20changesets!','debounceTime','onTransformSelections','DocStateChangeManagerService','body','RichTextEditingMutation','_beforeCloseService','NodePositionConvertToCursor','_eventUnsubscribe','update','_collabCursorController','getCurrentUnitForType','ERROR_IMAGE','connection\x20error','getParam','sheetID','offline','enableLocalCache','USERS_LEAVE','_HTTPService','_checkMissing','roomMembers$','m2Prime','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','lodash/debounce','sheetId','_removeClearOtherTimer','members','6xwpbQB','_getScale','handleInsertCol','onTransformIME','onload','OFFLINE','CompressMutationService','combineLatest','Plugin','startColumn','hovered','_userManagerService','joinEvent','sessionStatus$','_createSocket','putCollaborators','replaceState','_lockTransition','gold400','_onRemoteRejected','_isPermissionRej','react','revision','InsertColCommandId','_collabCursorState$','INTERNAL_ERROR','_removeRoom','roomInfos','getUnitStatus$','SNAPSHOT_INVALID_SNAPSHOT','_tryEnsureSocket','_color','_lastPointer','[CollaborationController]:\x20remote\x20changeset\x20applied\x20error.','on-line-single_clip0_910_349','Module','OTHER_CLIENTS_EDITING','addObjects','generateRandomId','SelectionManagerService','UniverUi','[CollaborationEntity]','_setupBeforeClosingHandler','localeService','LIVESHARE_TERMINATE','getUnitId','SEND_CHANGESET_TIMEOUT_KEY','getTypeOfUnitDisposed$','text','xlink:href','isEditing','memberID','EffectRefRangId','_commandService','list','_clearTimeoutTimer','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_range','collaboration-client.offline-data-not-saved','LocalCacheService','defineProperty','_logService','COLLAB_WEB_SOCKET_URL_KEY','assignAColorForMemberID','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','setTimeout','/allowed','state$','Subject','editingUnit','getSheetObject','_docSyncEditingCollabCursorService','routeKey','add','[OfflineState]:\x20received\x20acknowledgement.','CHANGESET_REVISION_CONFILICT','WorkbookEditablePermission','isTransformMutationsWithChangesetSuccess','6596790cCBCQx','[DataLoaderController]','tag','univer-pro.collaboration-client-socket-service','UNRECOGNIZED','with','disposeUnit','encodeURIComponent','mergeOverrideWithDependencies','get','CollaborationStatusDisplay','AWAITING_WITH_PENDING','_getCurrentRevision','UniverCollaborationClient','UNKNOWN_CMD','collaboratorID','\x20to\x20','onlineStatus','c2Prime','trim','set','LOCAL_CACHE_INTERVAL','updateCollaborator','_unitOnClients','_cachedData','_getSaveTimeout','reverse','close','deserializeRangeWithSheet','LIVESHARE_OPERATION','getViewModel','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_updateState','handleDeleteRangeMoveLeft','prototype','_status$','getUndoRedoMutationParamsCache','loadDoc','CONNECTOR_DATA_TOO_LARGE','session.connection-failed','TextSelectionManagerService','unknown','_anchor','off-line-single','json','_scheduleSaving','_toggleOffline','IRenderManagerService','_roomMembers','Rect','LocalUndoRedoService','debounce','[CollaborationState]:\x20apply\x20error!','_localStorageService','requireSession','ILogService','_loadSheet','setItem','Shape','state','[CollaborationSessionService]:\x20socket\x20error','_loadDoc','getImageSourceCache','Vector2','_commentUpdate$','fillRule','data','getUnitType','transform','toDisposable','map','_sendingTimer','saveSnapshot','FileId','_init','create','COMPLETION_FINISHED','[SyncedState]:\x20received\x20rejection.','handleInsertRow','onMissedChangesetFetched','setInterval','_revisionService','not_collab','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','hasOwnProperty','url(#$1','moveTo','_getAPIPrefix','getCurrentUser','Steady','univer-online-status-icon','UserManagerService','useRef','LIVESHARE_REQUEST_HOST','actions','split','?size=','UniverCollaborationPlugin','allowed','_heartbeatTimer','_updateURLWithCurrentState','socketService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_docTransformIMECacheService','file','SNAPSHOT_URL_KEY','LifecycleStages','_roomMembers$','750112iRRbBH','UNIVER_SHEET','UNKNOWN_CODE','OnLifecycle','_undoRedoService','_change$','CollaborationSocketService','_applyRemoteChangeset','isTransformMutationsWithChangesetFailure','awaiting','/universer-api/stream/file/upload'];_0x54ee=function(){return _0x13675d;};return _0x54ee();}
1
+ (function(_0x46c624,_0x122ac4){const _0x3c19a5=_0x18a3,_0x25bfad=_0x46c624();while(!![]){try{const _0x1f0665=-parseInt(_0x3c19a5(0x154))/0x1*(parseInt(_0x3c19a5(0x339))/0x2)+parseInt(_0x3c19a5(0x1f2))/0x3*(parseInt(_0x3c19a5(0x323))/0x4)+-parseInt(_0x3c19a5(0x18b))/0x5+parseInt(_0x3c19a5(0xb5))/0x6*(-parseInt(_0x3c19a5(0x491))/0x7)+parseInt(_0x3c19a5(0x343))/0x8+parseInt(_0x3c19a5(0x2b2))/0x9+parseInt(_0x3c19a5(0x181))/0xa*(-parseInt(_0x3c19a5(0x1ac))/0xb);if(_0x1f0665===_0x122ac4)break;else _0x25bfad['push'](_0x25bfad['shift']());}catch(_0x4ecc76){_0x25bfad['push'](_0x25bfad['shift']());}}}(_0x2b26,0xe0e39),function(_0x2c9dd5,_0x4ed45d){const _0x54f7b2=_0x18a3;typeof exports=='object'&&typeof module<'u'?_0x4ed45d(exports,require('@univerjs/core'),require(_0x54f7b2(0xf9)),require(_0x54f7b2(0x110)),require('@univerjs/ui'),require(_0x54f7b2(0x180)),require(_0x54f7b2(0x452)),require(_0x54f7b2(0x36a)),require(_0x54f7b2(0x1d1)),require(_0x54f7b2(0x158)),require('@univerjs/network'),require('@univerjs/drawing'),require(_0x54f7b2(0x454)),require(_0x54f7b2(0x125)),require('@univerjs/engine-render'),require(_0x54f7b2(0x489)),require('@wendellhu/redi/react-bindings'),require(_0x54f7b2(0x270)),require(_0x54f7b2(0xdf)),require(_0x54f7b2(0x136))):typeof define==_0x54f7b2(0x37f)&&define[_0x54f7b2(0x2a7)]?define([_0x54f7b2(0x2f4),'@univerjs/core',_0x54f7b2(0xf9),'@univerjs/design',_0x54f7b2(0x1e4),'@univerjs-pro/collaboration',_0x54f7b2(0x452),_0x54f7b2(0x36a),_0x54f7b2(0x1d1),_0x54f7b2(0x158),_0x54f7b2(0x341),'@univerjs/drawing',_0x54f7b2(0x454),_0x54f7b2(0x125),_0x54f7b2(0x196),'@univerjs/sheets-ui',_0x54f7b2(0x1e3),_0x54f7b2(0x270),_0x54f7b2(0xdf),'@univerjs/rpc'],_0x4ed45d):(_0x2c9dd5=typeof globalThis<'u'?globalThis:_0x2c9dd5||self,_0x4ed45d(_0x2c9dd5['UniverCollaborationClient']={},_0x2c9dd5[_0x54f7b2(0x3e9)],_0x2c9dd5[_0x54f7b2(0x20f)],_0x2c9dd5['UniverDesign'],_0x2c9dd5[_0x54f7b2(0xee)],_0x2c9dd5[_0x54f7b2(0x3ed)],_0x2c9dd5[_0x54f7b2(0x452)],_0x2c9dd5[_0x54f7b2(0x36a)],_0x2c9dd5[_0x54f7b2(0x36a)][_0x54f7b2(0x45e)],_0x2c9dd5[_0x54f7b2(0x1b9)],_0x2c9dd5[_0x54f7b2(0x36f)],_0x2c9dd5[_0x54f7b2(0xe3)],_0x2c9dd5[_0x54f7b2(0x473)],_0x2c9dd5[_0x54f7b2(0x2d0)][_0x54f7b2(0x30f)],_0x2c9dd5['UniverEngineRender'],_0x2c9dd5[_0x54f7b2(0xf6)],_0x2c9dd5[_0x54f7b2(0x1e3)],_0x2c9dd5[_0x54f7b2(0x471)],_0x2c9dd5[_0x54f7b2(0xdf)],_0x2c9dd5['UniverRpc']));}(this,function(_0x488928,_0x1c7e0a,_0x213e0a,_0x3ce12d,_0x1fdc42,_0x1aa573,_0x4fa573,_0xf632fb,_0x2c2667,_0x1e7311,_0x2954d5,_0xc2a4f2,_0x124410,_0x3c7f92,_0x5ae3fd,_0x15965e,_0x8de590,_0x4e1c10,_0x10fbf6,_0x3c56f8){'use strict';const _0x5d4ae1=_0x18a3;var _0x3bbb15=Object[_0x5d4ae1(0x428)],_0xa8ed25=(_0x216e6b,_0x1554c0,_0x5a9951)=>_0x1554c0 in _0x216e6b?_0x3bbb15(_0x216e6b,_0x1554c0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5a9951}):_0x216e6b[_0x1554c0]=_0x5a9951,_0x2308c9=(_0x46bf28,_0x48a213,_0x442d8e)=>_0xa8ed25(_0x46bf28,typeof _0x48a213!='symbol'?_0x48a213+'':_0x48a213,_0x442d8e);const _0x7cbdce=_0x5d4ae1(0x126),_0x1b349b=_0x5d4ae1(0xeb),_0x523aed=_0x5d4ae1(0x3f7),_0xedbb72=_0x5d4ae1(0x19e),_0x3eb7d7=_0x5d4ae1(0x34a),_0x46e52f=_0x5d4ae1(0x42a),_0x1f2c6f=_0x5d4ae1(0x221),_0x4ec6b1=_0x5d4ae1(0x44b),_0x16c186='RETRY_CONNECTING_INTERVAL',_0x4f576e=_0x5d4ae1(0x1de),_0x2d5df7='LOCAL_CACHE_INTERVAL',_0x4e8e4a=_0x5d4ae1(0x104),_0x1e2c0d=_0x5d4ae1(0x419),_0x5b8cb3='LOGIN_URL_KEY',_0x45679c=_0x5d4ae1(0x13e);var _0x104c3e=(_0x2d6aae=>(_0x2d6aae[_0x2d6aae[_0x5d4ae1(0x42b)]=0x0]='UNDEFINED',_0x2d6aae[_0x2d6aae['OK']=0x1]='OK',_0x2d6aae[_0x2d6aae[_0x5d4ae1(0x2ab)]=0x2]=_0x5d4ae1(0x2ab),_0x2d6aae[_0x2d6aae[_0x5d4ae1(0x2d6)]=0x3]=_0x5d4ae1(0x2d6),_0x2d6aae[_0x2d6aae['NOT_FOUND']=0x4]=_0x5d4ae1(0x222),_0x2d6aae[_0x2d6aae[_0x5d4ae1(0x30c)]=0x5]=_0x5d4ae1(0x30c),_0x2d6aae[_0x2d6aae[_0x5d4ae1(0x364)]=0x6]=_0x5d4ae1(0x364),_0x2d6aae[_0x2d6aae[_0x5d4ae1(0x477)]=0x7]='INVALID_ARGUMENT',_0x2d6aae[_0x2d6aae['TOO_MANY_REQUESTS']=0x8]=_0x5d4ae1(0x3c1),_0x2d6aae[_0x2d6aae['COMPLETION_FINISHED']=0x9]=_0x5d4ae1(0x367),_0x2d6aae[_0x2d6aae[_0x5d4ae1(0xf7)]=0x1389]=_0x5d4ae1(0xf7),_0x2d6aae[_0x2d6aae['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x5d4ae1(0xf8),_0x2d6aae[_0x2d6aae[_0x5d4ae1(0x35e)]=0x1772]=_0x5d4ae1(0x35e),_0x2d6aae[_0x2d6aae[_0x5d4ae1(0x1b5)]=0x1b59]=_0x5d4ae1(0x1b5),_0x2d6aae[_0x2d6aae[_0x5d4ae1(0x450)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2d6aae[_0x2d6aae[_0x5d4ae1(0x10b)]=0x1b5b]=_0x5d4ae1(0x10b),_0x2d6aae[_0x2d6aae[_0x5d4ae1(0x297)]=0x1b5c]=_0x5d4ae1(0x297),_0x2d6aae[_0x2d6aae[_0x5d4ae1(0x448)]=0x1f41]=_0x5d4ae1(0x448),_0x2d6aae[_0x2d6aae[_0x5d4ae1(0x389)]=0x2329]=_0x5d4ae1(0x389),_0x2d6aae[_0x2d6aae[_0x5d4ae1(0x2b0)]=0x232a]=_0x5d4ae1(0x2b0),_0x2d6aae[_0x2d6aae[_0x5d4ae1(0x3b8)]=0x232b]=_0x5d4ae1(0x3b8),_0x2d6aae[_0x2d6aae[_0x5d4ae1(0x239)]=0x232c]=_0x5d4ae1(0x239),_0x2d6aae[_0x2d6aae['LICENSE_DISTRO_REJECTED']=0x232d]=_0x5d4ae1(0x30a),_0x2d6aae[_0x2d6aae[_0x5d4ae1(0x35a)]=0x2711]=_0x5d4ae1(0x35a),_0x2d6aae[_0x2d6aae[_0x5d4ae1(0x24e)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2d6aae[_0x2d6aae[_0x5d4ae1(0x316)]=-0x1]=_0x5d4ae1(0x316),_0x2d6aae))(_0x104c3e||{}),_0x38246c=(_0x369d0c=>(_0x369d0c[_0x369d0c[_0x5d4ae1(0x16c)]=0x0]=_0x5d4ae1(0x16c),_0x369d0c[_0x369d0c[_0x5d4ae1(0xe0)]=0x1]=_0x5d4ae1(0xe0),_0x369d0c[_0x369d0c[_0x5d4ae1(0xfd)]=0x2]='UNIVER_SHEET',_0x369d0c[_0x369d0c[_0x5d4ae1(0x1c0)]=0x3]=_0x5d4ae1(0x1c0),_0x369d0c[_0x369d0c[_0x5d4ae1(0x316)]=-0x1]='UNRECOGNIZED',_0x369d0c))(_0x38246c||{}),_0x453a1c=(_0x281882=>(_0x281882[_0x281882['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x281882[_0x281882[_0x5d4ae1(0x23c)]=0x1]=_0x5d4ae1(0x23c),_0x281882[_0x281882[_0x5d4ae1(0x3f9)]=0x2]=_0x5d4ae1(0x3f9),_0x281882[_0x281882['LEAVE']=0x3]=_0x5d4ae1(0x318),_0x281882[_0x281882[_0x5d4ae1(0x38b)]=0x4]=_0x5d4ae1(0x38b),_0x281882[_0x281882[_0x5d4ae1(0x33f)]=0x5]=_0x5d4ae1(0x33f),_0x281882[_0x281882['RECV']=0x6]=_0x5d4ae1(0x48d),_0x281882[_0x281882[_0x5d4ae1(0x316)]=-0x1]=_0x5d4ae1(0x316),_0x281882))(_0x453a1c||{}),_0x36d3b1=(_0x2f5d17=>(_0x2f5d17[_0x2f5d17[_0x5d4ae1(0x11a)]=0x0]=_0x5d4ae1(0x11a),_0x2f5d17[_0x2f5d17['OK']=0x1]='OK',_0x2f5d17[_0x2f5d17['FAIL']=0x2]=_0x5d4ae1(0x273),_0x2f5d17[_0x2f5d17[_0x5d4ae1(0x316)]=-0x1]='UNRECOGNIZED',_0x2f5d17))(_0x36d3b1||{}),_0x19d27a=Object['defineProperty'],_0x53208a=Object['getOwnPropertyDescriptor'],_0x49a48c=(_0x50535f,_0x4ebe27,_0x41b860,_0x44054e)=>{const _0x13e71d=_0x5d4ae1;for(var _0xf254b4=_0x44054e>0x1?void 0x0:_0x44054e?_0x53208a(_0x4ebe27,_0x41b860):_0x4ebe27,_0x456bdd=_0x50535f[_0x13e71d(0x30d)]-0x1,_0x508002;_0x456bdd>=0x0;_0x456bdd--)(_0x508002=_0x50535f[_0x456bdd])&&(_0xf254b4=(_0x44054e?_0x508002(_0x4ebe27,_0x41b860,_0xf254b4):_0x508002(_0xf254b4))||_0xf254b4);return _0x44054e&&_0xf254b4&&_0x19d27a(_0x4ebe27,_0x41b860,_0xf254b4),_0xf254b4;},_0x3fc31b=(_0x2f2278,_0x2efc7a)=>(_0x4b2ea6,_0x52ab36)=>_0x2efc7a(_0x4b2ea6,_0x52ab36,_0x2f2278);let _0x1fece3=class extends _0x1c7e0a['Disposable']{constructor(_0x5884d3,_0x110f25){const _0x936ee9=_0x5d4ae1;super(),_0x2308c9(this,'_roomMembers',new Map()),(this[_0x936ee9(0x2aa)]=_0x5884d3,this[_0x936ee9(0x14c)]=_0x110f25,this[_0x936ee9(0xf2)](_0x1c7e0a['toDisposable'](_0xf632fb[_0x936ee9(0xca)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1c7e0a[_0x936ee9(0x22d)][_0x936ee9(0xfd)])['pipe'](_0x2c2667[_0x936ee9(0x324)](_0x28d173=>_0x28d173['getUnitId']())),this[_0x936ee9(0x2aa)][_0x936ee9(0x3a1)](_0x1c7e0a[_0x936ee9(0x22d)]['UNIVER_DOC'])[_0x936ee9(0x272)](_0x2c2667['map'](_0x435fbf=>_0x435fbf[_0x936ee9(0x37d)]())),this['_univerInstanceService'][_0x936ee9(0x3a1)](_0x1c7e0a[_0x936ee9(0x22d)][_0x936ee9(0x1c0)])[_0x936ee9(0x272)](_0x2c2667[_0x936ee9(0x324)](_0x39b934=>_0x39b934['getUnitId']())))[_0x936ee9(0x41c)](_0x17f3d5=>this[_0x936ee9(0x2fc)](_0x17f3d5)))));}['setCurrentUser'](_0x595724){const _0x1f72a4=_0x5d4ae1;this['_userManagerService'][_0x1f72a4(0x3c5)](_0x595724);}[_0x5d4ae1(0x46c)](){const _0x4d9ce=_0x5d4ae1;return this[_0x4d9ce(0x14c)][_0x4d9ce(0x46c)]();}[_0x5d4ae1(0x20e)](_0x4eba77,_0x433d17){const _0x2a4978=_0x5d4ae1;let _0x4b918e=this[_0x2a4978(0x3d9)][_0x2a4978(0xec)](_0x4eba77);_0x4b918e||(_0x4b918e=new _0x155fa3(),this[_0x2a4978(0x3d9)][_0x2a4978(0x36b)](_0x4eba77,_0x4b918e)),_0x4b918e[_0x2a4978(0x20e)](_0x433d17);}['removeMember'](_0x3fba9e,_0x3e4c73){const _0x3872fe=_0x5d4ae1,_0x522e97=this[_0x3872fe(0x3d9)][_0x3872fe(0xec)](_0x3fba9e);_0x522e97&&_0x522e97[_0x3872fe(0x232)](_0x3e4c73);}['getRoom'](_0x13812){const _0x5f3643=_0x5d4ae1;return this[_0x5f3643(0x3d9)][_0x5f3643(0xec)](_0x13812);}[_0x5d4ae1(0x233)](_0x1e2fda,_0x48bee3){const _0x560e3f=_0x5d4ae1,_0x52d3c8=this['_roomMembers'][_0x560e3f(0xec)](_0x1e2fda);if(_0x52d3c8)return _0x52d3c8[_0x560e3f(0x233)](_0x48bee3);}[_0x5d4ae1(0x2fc)](_0x45d512){const _0x4e27a1=_0x5d4ae1,_0x26e729=this[_0x4e27a1(0x3d9)][_0x4e27a1(0xec)](_0x45d512);_0x26e729&&(_0x26e729[_0x4e27a1(0x26d)](),this[_0x4e27a1(0x3d9)][_0x4e27a1(0x1f0)](_0x45d512));}[_0x5d4ae1(0x26d)](){const _0x2e5d85=_0x5d4ae1;this['_roomMembers'][_0x2e5d85(0x32c)](_0x17f783=>_0x17f783[_0x2e5d85(0x26d)]()),this[_0x2e5d85(0x3d9)][_0x2e5d85(0x2c6)]();}};_0x1fece3=_0x49a48c([_0x3fc31b(0x0,_0x1c7e0a[_0x5d4ae1(0x2e9)]),_0x3fc31b(0x1,_0x4fa573[_0x5d4ae1(0x274)](_0x1c7e0a[_0x5d4ae1(0x467)]))],_0x1fece3);class _0x155fa3 extends _0x1c7e0a[_0x5d4ae1(0x284)]{constructor(){const _0x4b58ac=_0x5d4ae1;super(...arguments),_0x2308c9(this,_0x4b58ac(0x478),new Map());}[_0x5d4ae1(0x26d)](){const _0x290f42=_0x5d4ae1;this[_0x290f42(0x478)][_0x290f42(0x2c6)]();}[_0x5d4ae1(0x20e)](_0x5a819f){const _0x5ae052=_0x5d4ae1;this[_0x5ae052(0x478)][_0x5ae052(0x36b)](_0x5a819f[_0x5ae052(0x2ad)],_0x5a819f);}[_0x5d4ae1(0x232)](_0x41181b){const _0x13d8be=_0x5d4ae1;this[_0x13d8be(0x478)]['delete'](_0x41181b);}[_0x5d4ae1(0x233)](_0xf94c0f){const _0x5ccdaa=_0x5d4ae1;return this[_0x5ccdaa(0x478)]['get'](_0xf94c0f);}}function _0x13c8b5(_0x23d197){const _0x149521=_0x5d4ae1;var _0xcfde16,_0x50ba6e,_0x5d9ac3,_0x1dd725;const _0x378db7=_0x23d197[_0x149521(0x12b)],_0x1a6ba1=JSON[_0x149521(0x134)](_0x378db7);switch(_0x1a6ba1[_0x149521(0x41a)]){case _0x453a1c['HEARTBEAT']:case _0x453a1c[_0x149521(0x23c)]:{const _0x4e8ec3=_0x1a6ba1['infoRsp'];return{..._0x1a6ba1,'data':_0x4e8ec3,'cmd':_0x1a6ba1['cmd']};}case _0x453a1c[_0x149521(0x3f9)]:{const _0x348df3=_0x1a6ba1['joinRsp'];return{..._0x1a6ba1,'data':_0x348df3,'cmd':_0x1a6ba1[_0x149521(0x41a)]};}case _0x453a1c['RECV']:{const _0x375676=_0x1a6ba1[_0x149521(0x317)];switch(_0x375676[_0x149521(0x2f5)]){case _0x1aa573['CollaborationEvent']['PERMISSION_REJ']:return{..._0x1a6ba1,'data':{..._0x375676,'data':(_0xcfde16=_0x375676[_0x149521(0x22e)])==null?void 0x0:_0xcfde16['cs']},'cmd':_0x1a6ba1[_0x149521(0x41a)]};case _0x1aa573[_0x149521(0x168)][_0x149521(0x485)]:return{..._0x1a6ba1,'data':{..._0x375676,'data':(_0x50ba6e=_0x375676['csAckEvent'])==null?void 0x0:_0x50ba6e['cs']},'cmd':_0x1a6ba1[_0x149521(0x41a)]};case _0x1aa573['CollaborationEvent'][_0x149521(0x214)]:return{..._0x1a6ba1,'data':{..._0x375676,'data':(_0x5d9ac3=_0x375676['newCsEvent'])==null?void 0x0:_0x5d9ac3['cs']},'cmd':_0x1a6ba1['cmd']};case _0x1aa573[_0x149521(0x168)]['CHANGESET_REJ']:return{..._0x1a6ba1,'data':{..._0x375676,'data':(_0x1dd725=_0x375676[_0x149521(0x1a3)])==null?void 0x0:_0x1dd725['cs']},'cmd':_0x1a6ba1[_0x149521(0x41a)]};case _0x1aa573['CollaborationEvent'][_0x149521(0x3d0)]:return{..._0x1a6ba1,'data':{..._0x375676,'data':_0x375676[_0x149521(0x3cf)]},'cmd':_0x1a6ba1[_0x149521(0x41a)]};case _0x1aa573['CollaborationEvent'][_0x149521(0x251)]:return{..._0x1a6ba1,'data':{..._0x375676,'data':_0x375676[_0x149521(0x45b)]},'cmd':_0x1a6ba1[_0x149521(0x41a)]};case _0x1aa573[_0x149521(0x168)][_0x149521(0xe9)]:return{..._0x1a6ba1,'data':{..._0x375676,'data':_0x375676[_0x149521(0x325)]},'cmd':_0x1a6ba1['cmd']};case _0x1aa573[_0x149521(0x168)][_0x149521(0x340)]:return{..._0x1a6ba1,'data':{..._0x375676,'data':_0x375676[_0x149521(0x3d8)]},'cmd':_0x1a6ba1[_0x149521(0x41a)]};case _0x1aa573['CollaborationEvent'][_0x149521(0x408)]:case _0x1aa573[_0x149521(0x168)][_0x149521(0x487)]:return{..._0x1a6ba1,'data':{..._0x375676,'data':_0x375676[_0x149521(0x3a5)]},'cmd':_0x1a6ba1['cmd']};case _0x1aa573['CollaborationEvent'][_0x149521(0x25d)]:return{..._0x1a6ba1,'data':{..._0x375676,'data':_0x375676[_0x149521(0x3d8)]},'cmd':_0x1a6ba1[_0x149521(0x41a)]};case _0x1aa573[_0x149521(0x168)][_0x149521(0x337)]:return{..._0x1a6ba1,'data':_0x375676,'cmd':_0x1a6ba1[_0x149521(0x41a)]};case _0x1aa573['CollaborationEvent'][_0x149521(0x130)]:return{..._0x1a6ba1,'data':{..._0x375676,'data':_0x375676[_0x149521(0x342)]},'cmd':_0x1a6ba1[_0x149521(0x41a)]};case _0x1aa573[_0x149521(0x168)]['UPDATE_PERMISSION_OBJ']:return{..._0x1a6ba1,'data':{..._0x375676,'data':_0x375676['updatePermissionObjEvent']},'cmd':_0x1a6ba1[_0x149521(0x41a)]};case _0x1aa573['CollaborationEvent']['SHOULD_CLOSE_CONN']:return{..._0x1a6ba1,'data':{..._0x375676,'data':_0x375676['shouldCloseConn']},'cmd':_0x1a6ba1['cmd']};default:return _0x1a6ba1;}}default:return _0x1a6ba1;}}function _0x27edc0(_0x425008){const _0x2d01d6=_0x5d4ae1;switch(_0x425008['cmd']){case _0x453a1c[_0x2d01d6(0x33f)]:case _0x453a1c[_0x2d01d6(0x23c)]:return JSON['stringify']({'cmd':_0x425008['cmd'],'routeKey':_0x425008[_0x2d01d6(0x345)]});case _0x453a1c[_0x2d01d6(0x38b)]:{let _0x30d405;switch(_0x425008[_0x2d01d6(0x12b)][_0x2d01d6(0x2f5)]){case _0x1aa573['CollaborationEvent'][_0x2d01d6(0x3d0)]:{_0x30d405={'eventID':_0x1aa573[_0x2d01d6(0x168)][_0x2d01d6(0x3d0)],'updateCursorEvent':_0x425008[_0x2d01d6(0x12b)][_0x2d01d6(0x12b)]};break;}case _0x1aa573['CollaborationEvent'][_0x2d01d6(0xe9)]:{_0x30d405={'eventID':_0x1aa573[_0x2d01d6(0x168)][_0x2d01d6(0xe9)],'leaveEvent':_0x425008[_0x2d01d6(0x12b)][_0x2d01d6(0x12b)]};break;}case _0x1aa573[_0x2d01d6(0x168)]['USERS_ENTER']:{_0x30d405={'eventID':_0x1aa573[_0x2d01d6(0x168)][_0x2d01d6(0x251)],'joinEvent':_0x425008[_0x2d01d6(0x12b)][_0x2d01d6(0x12b)]};break;}case _0x1aa573[_0x2d01d6(0x168)]['LIVESHARE_NEW_HOST']:{_0x30d405={'eventID':_0x1aa573['CollaborationEvent'][_0x2d01d6(0x340)],'liveShareNewHost':_0x425008[_0x2d01d6(0x12b)][_0x2d01d6(0x12b)]};break;}case _0x1aa573['CollaborationEvent'][_0x2d01d6(0x487)]:{_0x30d405={'eventID':_0x1aa573[_0x2d01d6(0x168)][_0x2d01d6(0x487)],'liveShareOperation':_0x425008[_0x2d01d6(0x12b)]['data']};break;}case _0x1aa573[_0x2d01d6(0x168)][_0x2d01d6(0x25d)]:{_0x30d405={'eventID':_0x1aa573[_0x2d01d6(0x168)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x425008[_0x2d01d6(0x12b)][_0x2d01d6(0x12b)]};break;}case _0x1aa573[_0x2d01d6(0x168)][_0x2d01d6(0xff)]:{_0x30d405={'eventID':_0x1aa573[_0x2d01d6(0x168)][_0x2d01d6(0xff)],'liveShareRequestHost':_0x425008[_0x2d01d6(0x12b)][_0x2d01d6(0x12b)]};break;}case _0x1aa573[_0x2d01d6(0x168)]['LIVESHARE_FETCH_OPERATIONS']:{_0x30d405={'eventID':_0x1aa573[_0x2d01d6(0x168)][_0x2d01d6(0x408)]};break;}default:_0x30d405={'eventID':_0x425008[_0x2d01d6(0x12b)][_0x2d01d6(0x2f5)]};}return JSON['stringify']({'cmd':_0x425008[_0x2d01d6(0x41a)],'routeKey':_0x425008[_0x2d01d6(0x345)],'collaMsg':_0x30d405});}case _0x453a1c['JOIN']:return JSON[_0x2d01d6(0x18a)]({'cmd':_0x425008[_0x2d01d6(0x41a)],'routeKey':_0x425008[_0x2d01d6(0x345)],'joinReq':_0x425008[_0x2d01d6(0x12b)]});case _0x453a1c['LEAVE']:return JSON[_0x2d01d6(0x18a)]({'cmd':_0x425008[_0x2d01d6(0x41a)],'routeKey':_0x425008[_0x2d01d6(0x345)],'leaveReq':_0x425008[_0x2d01d6(0x12b)]});default:throw new Error(_0x2d01d6(0xfa));}}var _0xbea816=Object[_0x5d4ae1(0x428)],_0x51b346=Object[_0x5d4ae1(0x23a)],_0x512eff=(_0x5486c8,_0xfdf9b1,_0x463014,_0x32c7fd)=>{for(var _0x110336=_0x32c7fd>0x1?void 0x0:_0x32c7fd?_0x51b346(_0xfdf9b1,_0x463014):_0xfdf9b1,_0x49495f=_0x5486c8['length']-0x1,_0x3e4456;_0x49495f>=0x0;_0x49495f--)(_0x3e4456=_0x5486c8[_0x49495f])&&(_0x110336=(_0x32c7fd?_0x3e4456(_0xfdf9b1,_0x463014,_0x110336):_0x3e4456(_0x110336))||_0x110336);return _0x32c7fd&&_0x110336&&_0xbea816(_0xfdf9b1,_0x463014,_0x110336),_0x110336;},_0x2dcbee=(_0x37e9e7,_0x134207)=>(_0x5d7f84,_0x3b03d5)=>_0x134207(_0x5d7f84,_0x3b03d5,_0x37e9e7);const _0x176724=_0x4fa573['createIdentifier'](_0x5d4ae1(0x288));function _0x4ba9e1(_0x48ff0c,_0x2ee216,_0x130f61){const _0x2ff0f2=_0x5d4ae1;return _0x48ff0c+'/'+_0x2ee216+_0x2ff0f2(0x144)+_0x130f61+'/new_changes';}_0x488928[_0x5d4ae1(0x35c)]=class{constructor(_0x3bae09,_0x9702c,_0x4a6f3b,_0xc84f3e,_0x57179e){const _0x381444=_0x5d4ae1;this[_0x381444(0x1f8)]=_0x3bae09,this[_0x381444(0x253)]=_0x9702c,this[_0x381444(0x432)]=_0x4a6f3b,this[_0x381444(0x38d)]=_0xc84f3e,this[_0x381444(0x483)]=_0x57179e;}[_0x5d4ae1(0x3ae)](_0x5671b4){const _0x341ea5=_0x5d4ae1,_0x55c5eb=this['_ws'][_0x341ea5(0x3ae)](_0x5671b4);if(!_0x55c5eb)throw new Error(_0x341ea5(0x258));const _0x1ef96f=new _0x1c7e0a['DisposableCollection'](),_0x54e558=new _0xf632fb[(_0x341ea5(0x1b7))]();_0x1ef96f['add'](_0x1c7e0a[_0x341ea5(0x2e6)](_0x55c5eb[_0x341ea5(0x312)][_0x341ea5(0x41c)](_0x274d1f=>_0x54e558[_0x341ea5(0x2b1)](_0x274d1f)))),_0x1ef96f['add'](_0x1c7e0a[_0x341ea5(0x2e6)](()=>_0x54e558[_0x341ea5(0x35f)]()));const _0xae8578=new _0xf632fb[(_0x341ea5(0x1b7))]();_0x1ef96f[_0x341ea5(0x3b0)](_0x1c7e0a[_0x341ea5(0x2e6)](_0x55c5eb[_0x341ea5(0x1e0)][_0x341ea5(0x41c)](_0x5a45c4=>_0xae8578[_0x341ea5(0x2b1)](_0x5a45c4)))),_0x1ef96f['add'](_0x1c7e0a[_0x341ea5(0x2e6)](()=>_0xae8578[_0x341ea5(0x35f)]()));const _0x5e0b64=new _0xf632fb['Subject']();_0x1ef96f[_0x341ea5(0x3b0)](_0x1c7e0a['toDisposable'](_0x55c5eb['message$'][_0x341ea5(0x41c)](_0x5d7789=>{const _0x2a93dd=_0x341ea5,_0x3858ad=_0x13c8b5(_0x5d7789);_0x5e0b64[_0x2a93dd(0x2b1)](_0x3858ad);}))),_0x1ef96f[_0x341ea5(0x3b0)](_0x1c7e0a[_0x341ea5(0x2e6)](()=>_0x5e0b64[_0x341ea5(0x35f)]()));const _0xe0e9d=()=>{const _0x5b2aa2=_0x341ea5;_0xae8578[_0x5b2aa2(0x2b1)](new Event(_0x5b2aa2(0x15d))),_0x54e558[_0x5b2aa2(0x2b1)](new CloseEvent(_0x5b2aa2(0x15d))),_0x504bd3[_0x5b2aa2(0x192)]();},_0x504bd3={'memberID':'','close$':_0x54e558[_0x341ea5(0x1b6)](),'error$':_0xae8578[_0x341ea5(0x1b6)](),'open$':_0x55c5eb['open$'],'message$':_0x5e0b64[_0x341ea5(0x1b6)](),'send':_0x3d569f=>{const _0x3aa95f=_0x341ea5;if(_0x3d569f[_0x3aa95f(0x41a)]===_0x453a1c['INGEST']){if(_0x3d569f['data'][_0x3aa95f(0x2f5)]===_0x1aa573['CollaborationEvent'][_0x3aa95f(0x42d)]){this[_0x3aa95f(0x26c)](_0x504bd3,_0x3d569f[_0x3aa95f(0x12b)])[_0x3aa95f(0x231)](_0x3811ca=>{const _0x60df5c=_0x3aa95f;this[_0x60df5c(0x38d)]['error'](_0x3811ca),_0xe0e9d();});return;}if(_0x3d569f[_0x3aa95f(0x12b)][_0x3aa95f(0x2f5)]===_0x1aa573[_0x3aa95f(0x168)]['FETCH_MISSING']){const _0x1af2f7=_0x3d569f[_0x3aa95f(0x12b)];this['_fetchMissChangesets'](_0x1af2f7)[_0x3aa95f(0x394)](_0x2992f5=>{const _0x47aae3=_0x3aa95f;_0x5e0b64[_0x47aae3(0x2b1)]({'cmd':_0x453a1c[_0x47aae3(0x48d)],'code':_0x36d3b1['OK'],'routeKey':_0x1af2f7[_0x47aae3(0x12b)][_0x47aae3(0x306)],'routeType':'','data':{'eventID':_0x1aa573[_0x47aae3(0x168)][_0x47aae3(0x362)],'data':{'changesets':_0x2992f5}}});})['catch'](_0x990bb6=>{const _0x109c61=_0x3aa95f;this[_0x109c61(0x38d)][_0x109c61(0x34d)](_0x990bb6),_0xe0e9d();});return;}}_0x55c5eb[_0x3aa95f(0x455)](_0x27edc0(_0x3d569f));},'close':()=>{const _0x5030cc=_0x341ea5;_0x55c5eb[_0x5030cc(0x192)](),_0x1ef96f['dispose']();}};return _0x504bd3;}async['_submitChangeset'](_0x2f8023,_0x3219cd){const _0x9c6e33=_0x5d4ae1;var _0x4e8cd3;const {unitType:_0x1af71f,unitID:_0x491afc,changeset:_0x17fd79}=_0x3219cd['data'],_0x101c88={'unitID':_0x491afc,'memberID':_0x2f8023[_0x9c6e33(0x2ad)],'type':_0x1af71f,'changeset':_0x1aa573[_0x9c6e33(0x329)](_0x17fd79)},_0x1aa1cb=_0x4ba9e1((_0x4e8cd3=this['_configService'][_0x9c6e33(0x30e)](_0x4e8e4a))!=null?_0x4e8cd3:_0x1e2c0d,_0x1af71f,_0x491afc);try{await this[_0x9c6e33(0x1f8)][_0x9c6e33(0x1ca)](_0x1aa1cb,{'body':_0x101c88});}catch(_0x3c1a9b){throw this[_0x9c6e33(0x38d)][_0x9c6e33(0x34d)](_0x9c6e33(0x289),_0x9c6e33(0x320)),_0x3c1a9b;}}async['_fetchMissChangesets'](_0x126a8b){const _0x57a7a7=_0x5d4ae1,{unitID:_0x4feafe,from:_0x150854,to:_0x339db3,unitType:_0x2dee27}=_0x126a8b[_0x57a7a7(0x12b)];return(await this[_0x57a7a7(0x483)][_0x57a7a7(0xe6)]({'metadata':void 0x0},{'unitID':_0x4feafe,'type':_0x2dee27,'from':_0x150854,'to':_0x339db3}))['changesets'];}},_0x488928['CollaborationSocketService']=_0x512eff([_0x2dcbee(0x0,_0x4fa573[_0x5d4ae1(0x274)](_0x2954d5[_0x5d4ae1(0x14e)])),_0x2dcbee(0x1,_0x4fa573[_0x5d4ae1(0x274)](_0x2954d5['WebSocketService'])),_0x2dcbee(0x2,_0x1c7e0a[_0x5d4ae1(0x13b)]),_0x2dcbee(0x3,_0x1c7e0a[_0x5d4ae1(0x3d7)]),_0x2dcbee(0x4,_0x1c7e0a[_0x5d4ae1(0x36d)])],_0x488928[_0x5d4ae1(0x35c)]);class _0x4625c2{constructor(){const _0x9fd686=_0x5d4ae1;_0x2308c9(this,_0x9fd686(0x43b),new _0xf632fb[(_0x9fd686(0x1b7))]()),_0x2308c9(this,_0x9fd686(0xce),this[_0x9fd686(0x43b)][_0x9fd686(0x1b6)]());}[_0x5d4ae1(0xda)](_0x50cae0){const _0x2dfe12=_0x5d4ae1;this[_0x2dfe12(0x43b)]['next'](_0x50cae0);}}var _0x449749=Object[_0x5d4ae1(0x428)],_0x5f2d90=Object['getOwnPropertyDescriptor'],_0x3bfb1c=(_0x267e99,_0x48dd50,_0x4a96ef,_0x2ed426)=>{const _0x3f0bf8=_0x5d4ae1;for(var _0x44a708=_0x2ed426>0x1?void 0x0:_0x2ed426?_0x5f2d90(_0x48dd50,_0x4a96ef):_0x48dd50,_0x3e0d04=_0x267e99[_0x3f0bf8(0x30d)]-0x1,_0x5eced0;_0x3e0d04>=0x0;_0x3e0d04--)(_0x5eced0=_0x267e99[_0x3e0d04])&&(_0x44a708=(_0x2ed426?_0x5eced0(_0x48dd50,_0x4a96ef,_0x44a708):_0x5eced0(_0x44a708))||_0x44a708);return _0x2ed426&&_0x44a708&&_0x449749(_0x48dd50,_0x4a96ef,_0x44a708),_0x44a708;},_0x502958=(_0x49aa44,_0x57ff8c)=>(_0x56c578,_0xcc9b2d)=>_0x57ff8c(_0x56c578,_0xcc9b2d,_0x49aa44),_0x3ea00b=(_0xd0493a=>(_0xd0493a[_0xd0493a[_0x5d4ae1(0xc5)]=0x0]=_0x5d4ae1(0xc5),_0xd0493a[_0xd0493a[_0x5d4ae1(0x42e)]=0x1]=_0x5d4ae1(0x42e),_0xd0493a[_0xd0493a[_0x5d4ae1(0x1e5)]=0x2]='OFFLINE',_0xd0493a[_0xd0493a[_0x5d4ae1(0x358)]=0x3]=_0x5d4ae1(0x358),_0xd0493a))(_0x3ea00b||{});_0x488928['CollaborationSession']=class extends _0x1c7e0a[_0x5d4ae1(0x2bb)]{constructor(_0x204a1c,_0x46975f,_0x82aa7,_0x326762,_0x5bdd12,_0x380069,_0x444367,_0x48a017,_0x556e49){const _0x559d0a=_0x5d4ae1;super(),_0x2308c9(this,_0x559d0a(0x310),new _0xf632fb[(_0x559d0a(0x195))](0x0)),_0x2308c9(this,_0x559d0a(0x407),this[_0x559d0a(0x310)][_0x559d0a(0x1b6)]()),_0x2308c9(this,_0x559d0a(0x2e8),new _0xf632fb[(_0x559d0a(0x1b7))]()),_0x2308c9(this,_0x559d0a(0xf0),this[_0x559d0a(0x2e8)][_0x559d0a(0x1b6)]()),_0x2308c9(this,'_socket'),_0x2308c9(this,_0x559d0a(0x209)),_0x2308c9(this,_0x559d0a(0x3de)),(this['_unitID']=_0x204a1c,this[_0x559d0a(0x38d)]=_0x82aa7,this[_0x559d0a(0x2db)]=_0x326762,this[_0x559d0a(0x1c9)]=_0x5bdd12,this[_0x559d0a(0x432)]=_0x380069,this[_0x559d0a(0x13a)]=_0x444367,this['_memberService']=_0x48a017,this[_0x559d0a(0x133)]=_0x556e49,_0x46975f[_0x559d0a(0x272)](_0x2c2667[_0x559d0a(0x360)](this[_0x559d0a(0x40c)]))['subscribe'](_0x1a0061=>{const _0x14df9a=_0x559d0a;var _0x7023fb;typeof _0x1a0061>'u'||(this[_0x14df9a(0x44a)]=_0x1a0061,_0x1a0061?(this['_joinRoom'](_0x1a0061),this['_socketMessageSubscription']=this[_0x14df9a(0x44a)]['message$']['subscribe'](_0x81c212=>{const _0x114f4d=_0x14df9a;_0x81c212[_0x114f4d(0x345)]===this[_0x114f4d(0x2c0)]&&this[_0x114f4d(0x234)](_0x81c212);})):(this[_0x14df9a(0x310)][_0x14df9a(0x2b1)](0x2),(_0x7023fb=this[_0x14df9a(0x209)])==null||_0x7023fb[_0x14df9a(0x21e)](),this['_socketMessageSubscription']=null));}),this['disposeWithMe'](this[_0x559d0a(0x2db)][_0x559d0a(0x44e)](()=>{const _0x7712=_0x559d0a;var _0x4ba287;(_0x4ba287=this[_0x7712(0x44a)])==null||_0x4ba287[_0x7712(0x455)]({'cmd':_0x453a1c[_0x7712(0x318)],'data':{'roomID':this[_0x7712(0x2c0)]}});})));}get[_0x5d4ae1(0x417)](){const _0x24c328=_0x5d4ae1;return this[_0x24c328(0x310)]['getValue']();}[_0x5d4ae1(0x412)](){const _0x1b3382=_0x5d4ae1;var _0x54fbe1,_0x1c62d0;return(_0x1c62d0=(_0x54fbe1=this[_0x1b3382(0x44a)])==null?void 0x0:_0x54fbe1[_0x1b3382(0x2ad)])!=null?_0x1c62d0:null;}[_0x5d4ae1(0x26d)](){const _0x1a0455=_0x5d4ae1;super[_0x1a0455(0x26d)](),this[_0x1a0455(0x40c)]['next'](),this[_0x1a0455(0x40c)][_0x1a0455(0x35f)]();}['_onCombEvent'](_0x117896){const _0x3589ab=_0x5d4ae1;_0x117896[_0x3589ab(0x41a)]===_0x453a1c[_0x3589ab(0x3f9)]?this[_0x3589ab(0x2d3)](_0x117896):_0x117896[_0x3589ab(0x41a)]===_0x453a1c[_0x3589ab(0x48d)]&&this[_0x3589ab(0x206)](_0x117896);}[_0x5d4ae1(0x285)](_0x58be44){const _0x29c4d1=_0x5d4ae1;this[_0x29c4d1(0x310)][_0x29c4d1(0x2b1)](0x1),_0x58be44[_0x29c4d1(0x455)]({'cmd':_0x453a1c['JOIN'],'routeKey':this[_0x29c4d1(0x2c0)],'routeType':'','data':{'rooms':[{'roomID':this[_0x29c4d1(0x2c0)]}]}});}[_0x5d4ae1(0x2d3)](_0x616f17){const _0x3a3469=_0x5d4ae1;var _0x5c7a92;if(_0x616f17['code']===_0x36d3b1[_0x3a3469(0x273)]){this[_0x3a3469(0x1c9)][_0x3a3469(0x3fc)]({'type':_0x3ce12d['MessageType']['Warning'],'content':this[_0x3a3469(0x13a)]['t'](_0x3a3469(0x189))}),this[_0x3a3469(0x310)]['next'](0x2);return;}this['_sessionStatus$'][_0x3a3469(0x2b1)](0x3);const _0x2cc78f=(_0x5c7a92=_0x616f17[_0x3a3469(0x12b)]['roomInfos'][this[_0x3a3469(0x2c0)]])==null?void 0x0:_0x5c7a92[_0x3a3469(0xdc)];_0x2cc78f&&_0x2cc78f[_0x3a3469(0x32c)](_0x2b06c9=>this[_0x3a3469(0xe7)][_0x3a3469(0x20e)](this['_unitID'],_0x2b06c9));}['_onRecvEvent'](_0x105784){const _0x553a48=_0x5d4ae1;try{const _0x15df01=_0x105784[_0x553a48(0x12b)];switch(_0x15df01[_0x553a48(0x2f5)]){case _0x1aa573['CollaborationEvent'][_0x553a48(0x251)]:this[_0x553a48(0x282)](_0x15df01),this[_0x553a48(0x2e8)][_0x553a48(0x2b1)](_0x15df01);break;case _0x1aa573['CollaborationEvent']['USERS_LEAVE']:this[_0x553a48(0xd9)](_0x15df01),this[_0x553a48(0x2e8)][_0x553a48(0x2b1)](_0x15df01);break;case _0x1aa573[_0x553a48(0x168)]['CHANGESET_ACK']:this[_0x553a48(0x17a)](),this[_0x553a48(0x2e8)][_0x553a48(0x2b1)](_0x15df01);break;case _0x1aa573['CollaborationEvent']['MSG_FOR_ERROR']:this['_logService']['error'](_0x553a48(0x15f)+JSON['stringify'](_0x15df01)),this[_0x553a48(0x2e8)][_0x553a48(0x2b1)](_0x15df01);break;case _0x1aa573['CollaborationEvent'][_0x553a48(0x130)]:this['_commentService'][_0x553a48(0xda)](_0x15df01[_0x553a48(0x12b)]),this['_event$']['next'](_0x15df01);break;default:this['_event$']['next'](_0x15df01);}}catch(_0x565a42){this[_0x553a48(0x38d)]['error'](_0x565a42,_0x105784);}}[_0x5d4ae1(0x282)](_0x5c39df){const _0x476dad=_0x5d4ae1;this[_0x476dad(0xe7)][_0x476dad(0x20e)](this[_0x476dad(0x2c0)],_0x5c39df[_0x476dad(0x12b)]);}['_onUserLeave'](_0x56c3ab){const _0x5764b5=_0x5d4ae1;this['_memberService']['removeMember'](this['_unitID'],_0x56c3ab[_0x5764b5(0x12b)][_0x5764b5(0x2ad)]);}async[_0x5d4ae1(0x455)](_0x5e044b,_0x4742e4){const _0x44dae0=_0x5d4ae1;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x44dae0(0x113));try{_0x5e044b['eventID']===_0x1aa573['CollaborationEvent'][_0x44dae0(0x214)]&&this[_0x44dae0(0x38c)](),this[_0x44dae0(0x44a)][_0x44dae0(0x455)]({'cmd':_0x453a1c[_0x44dae0(0x38b)],'routeKey':_0x4742e4,'routeType':'','data':_0x5e044b});}catch(_0x508da5){this[_0x44dae0(0x38d)][_0x44dae0(0x34d)](_0x508da5);}}[_0x5d4ae1(0x38c)](){const _0x4bbf31=_0x5d4ae1;var _0xc5854;this[_0x4bbf31(0x3de)]=window[_0x4bbf31(0xc9)](()=>{const _0x256bd0=_0x4bbf31;this['_collaborationTimeoutTimer']=null,this[_0x256bd0(0x1c9)][_0x256bd0(0x3fc)]({'type':_0x3ce12d['MessageType'][_0x256bd0(0x212)],'content':this[_0x256bd0(0x13a)]['t'](_0x256bd0(0x23d))});},(_0xc5854=this[_0x4bbf31(0x432)]['getConfig'](_0x4ec6b1))!=null?_0xc5854:0x2710);}[_0x5d4ae1(0x17a)](){const _0x331069=_0x5d4ae1;this[_0x331069(0x3de)]&&(clearTimeout(this[_0x331069(0x3de)]),this[_0x331069(0x3de)]=null);}},_0x488928[_0x5d4ae1(0x433)]=_0x3bfb1c([_0x502958(0x2,_0x1c7e0a[_0x5d4ae1(0x3d7)]),_0x502958(0x3,_0x1fdc42['IBeforeCloseService']),_0x502958(0x4,_0x1fdc42[_0x5d4ae1(0x350)]),_0x502958(0x5,_0x1c7e0a[_0x5d4ae1(0x13b)]),_0x502958(0x6,_0x4fa573[_0x5d4ae1(0x274)](_0x1c7e0a['LocaleService'])),_0x502958(0x7,_0x4fa573[_0x5d4ae1(0x274)](_0x1fece3)),_0x502958(0x8,_0x4fa573['Inject'](_0x4625c2))],_0x488928[_0x5d4ae1(0x433)]),_0x488928[_0x5d4ae1(0x139)]=class extends _0x1c7e0a[_0x5d4ae1(0x284)]{constructor(_0x41a8f2,_0x5315b6,_0x21021a,_0x1dbee6,_0x70fc73,_0x596dcc){const _0x53e9d5=_0x5d4ae1;super(),_0x2308c9(this,_0x53e9d5(0xde),new _0xf632fb[(_0x53e9d5(0x195))](void 0x0)),_0x2308c9(this,'_sessions',new Map()),_0x2308c9(this,_0x53e9d5(0x2a2),new _0xf632fb[(_0x53e9d5(0x195))](0x0)),_0x2308c9(this,'status$',this[_0x53e9d5(0x2a2)]['asObservable']()),_0x2308c9(this,'_socketReady',!0x1),_0x2308c9(this,_0x53e9d5(0x29c)),_0x2308c9(this,_0x53e9d5(0x1b1)),_0x2308c9(this,'_retryConnectingTimer'),_0x2308c9(this,_0x53e9d5(0x32f),0x0),(this[_0x53e9d5(0x12f)]=_0x41a8f2,this[_0x53e9d5(0x13a)]=_0x5315b6,this[_0x53e9d5(0x1c9)]=_0x21021a,this['_logService']=_0x1dbee6,this['_configService']=_0x70fc73,this['_socketService']=_0x596dcc);}get['_socket'](){const _0x8f1c75=_0x5d4ae1;return this[_0x8f1c75(0xde)][_0x8f1c75(0x3c9)]();}[_0x5d4ae1(0x26d)](){const _0x51e385=_0x5d4ae1;super[_0x51e385(0x26d)](),this[_0x51e385(0x23e)]['forEach'](_0x4a2e7a=>_0x4a2e7a['dispose']()),this[_0x51e385(0x23e)][_0x51e385(0x2c6)](),this['_status$'][_0x51e385(0x35f)]();}async[_0x5d4ae1(0x444)](_0x3fbaef){const _0x58a126=_0x5d4ae1;if(this[_0x58a126(0x23e)]['has'](_0x3fbaef))return this[_0x58a126(0x23e)][_0x58a126(0xec)](_0x3fbaef);this['_tryEnsureSocket']();const _0x5b09a6=this[_0x58a126(0x12f)]['createInstance'](_0x488928[_0x58a126(0x433)],_0x3fbaef,this[_0x58a126(0xde)][_0x58a126(0x1b6)]());return this['_sessions'][_0x58a126(0x36b)](_0x3fbaef,_0x5b09a6),_0x5b09a6;}[_0x5d4ae1(0x1b0)](){const _0x196b82=_0x5d4ae1;var _0x2c3a00;const _0x298e71=(_0x2c3a00=this[_0x196b82(0x432)][_0x196b82(0x30e)](_0x3eb7d7))!=null?_0x2c3a00:_0x46e52f;return this['_socketService'][_0x196b82(0x3ae)](_0x298e71);}[_0x5d4ae1(0x247)](){const _0x2d1c35=_0x5d4ae1;try{const _0x165d97=this[_0x2d1c35(0x1b0)]();if(_0x165d97){const _0x19afef=_0x165d97[_0x2d1c35(0x455)];_0x165d97[_0x2d1c35(0x455)]=_0x138e38=>(this['_rescheduleHeartbeatEvent'](),_0x19afef['apply'](_0x165d97,[_0x138e38])),_0x165d97[_0x2d1c35(0x2f6)]['subscribe'](_0x599238=>this[_0x2d1c35(0x47f)](_0x165d97,_0x599238)),_0x165d97['error$'][_0x2d1c35(0x272)](_0x2c2667[_0x2d1c35(0x365)](0x1))[_0x2d1c35(0x41c)](_0x4d9692=>this[_0x2d1c35(0x38d)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x4d9692)),_0x165d97[_0x2d1c35(0x405)][_0x2d1c35(0x272)](_0x2c2667[_0x2d1c35(0x365)](0x1))[_0x2d1c35(0x41c)](()=>{const _0x44d73f=_0x2d1c35;this[_0x44d73f(0x440)](_0x165d97);}),_0x165d97[_0x2d1c35(0x312)]['pipe'](_0x2c2667[_0x2d1c35(0x365)](0x1))[_0x2d1c35(0x41c)](_0x16a6a6=>{const _0x48d9d3=_0x2d1c35;this[_0x48d9d3(0x38d)][_0x48d9d3(0x248)](_0x48d9d3(0x420),'socket\x20close',_0x16a6a6),this[_0x48d9d3(0x190)]();});}}catch(_0xe314f7){this[_0x2d1c35(0x38d)]['error'](_0xe314f7),this[_0x2d1c35(0x190)]();}}[_0x5d4ae1(0x440)](_0x4af3e0){const _0x3db724=_0x5d4ae1;this['_logService'][_0x3db724(0x248)](_0x3db724(0x420),'socket\x20open.'),_0x4af3e0[_0x3db724(0x455)]({'cmd':_0x453a1c[_0x3db724(0x23c)]}),this['_rescheduleHeartbeatEvent']();}[_0x5d4ae1(0x190)](){const _0x200247=_0x5d4ae1;var _0x48342e;this['_status$'][_0x200247(0x2b1)](0x2),this['_socket$'][_0x200247(0x2b1)](null),this[_0x200247(0x218)](),this['_clearHeartbeatTimer'](),this[_0x200247(0xe1)]=!0x1,this[_0x200247(0x32f)]<((_0x48342e=this[_0x200247(0x432)][_0x200247(0x30e)](_0x4f576e))!=null?_0x48342e:0x3)?(this['_scheduleReconnection'](this[_0x200247(0x32f)]),this[_0x200247(0x32f)]+=0x1):this[_0x200247(0x1c9)][_0x200247(0x3fc)]({'type':_0x3ce12d[_0x200247(0xd7)]['Error'],'content':this['_localeService']['t'](_0x200247(0x39a))});}[_0x5d4ae1(0x3b4)](_0x321340){const _0x28e6c2=_0x5d4ae1;var _0x58b105;const _0x6ced4d=((_0x58b105=this[_0x28e6c2(0x432)][_0x28e6c2(0x30e)](_0x16c186))!=null?_0x58b105:0x4e20)*0x2**_0x321340;this[_0x28e6c2(0x1c9)][_0x28e6c2(0x3fc)]({'type':_0x3ce12d[_0x28e6c2(0xd7)]['Warning'],'content':this['_localeService']['t'](_0x28e6c2(0x11c))}),this[_0x28e6c2(0x2df)]=setTimeout(()=>{const _0x4c8dbb=_0x28e6c2;this[_0x4c8dbb(0x247)](),clearTimeout(this[_0x4c8dbb(0x2df)]),this[_0x4c8dbb(0x2df)]=null;},_0x6ced4d);}[_0x5d4ae1(0x2e1)](){const _0x3c2a6c=_0x5d4ae1;var _0x5e620e;this[_0x3c2a6c(0x372)](),this[_0x3c2a6c(0x29c)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x5e620e=this[_0x3c2a6c(0x432)]['getConfig'](_0x1f2c6f))!=null?_0x5e620e:0x7530);}[_0x5d4ae1(0x122)](){const _0x4cce78=_0x5d4ae1;this[_0x4cce78(0x44a)]['send']({'cmd':_0x453a1c[_0x4cce78(0x33f)]}),this['_waitForHeartbeatResponse']();}[_0x5d4ae1(0x2ec)](){const _0x4868ba=_0x5d4ae1;var _0x3aff42;this[_0x4868ba(0x1b1)]=setTimeout(()=>this[_0x4868ba(0x190)](),(_0x3aff42=this[_0x4868ba(0x432)]['getConfig'](_0x4ec6b1))!=null?_0x3aff42:0x2710);}['_onMessage'](_0x32deca,_0x33c260){const _0x46628a=_0x5d4ae1,{cmd:_0x36062b}=_0x33c260;_0x36062b===_0x453a1c[_0x46628a(0x23c)]&&!this[_0x46628a(0xe1)]&&(_0x32deca[_0x46628a(0x2ad)]=_0x33c260[_0x46628a(0x12b)][_0x46628a(0x2ad)],this['_socket$'][_0x46628a(0x2b1)](_0x32deca),this[_0x46628a(0x2a2)]['next'](0x3),this[_0x46628a(0xe1)]=!0x0),_0x36062b===_0x453a1c['HEARTBEAT']&&this[_0x46628a(0x218)](),this[_0x46628a(0x2e1)]();}[_0x5d4ae1(0x372)](){const _0x3bfcff=_0x5d4ae1;this[_0x3bfcff(0x29c)]!=null&&(clearTimeout(this[_0x3bfcff(0x29c)]),this[_0x3bfcff(0x29c)]=null);}[_0x5d4ae1(0x218)](){const _0x5887be=_0x5d4ae1;this[_0x5887be(0x1b1)]!=null&&(clearTimeout(this[_0x5887be(0x1b1)]),this[_0x5887be(0x1b1)]=null);}},_0x488928[_0x5d4ae1(0x139)]=_0x3bfb1c([_0x502958(0x0,_0x4fa573[_0x5d4ae1(0x274)](_0x4fa573[_0x5d4ae1(0x38e)])),_0x502958(0x1,_0x4fa573['Inject'](_0x1c7e0a[_0x5d4ae1(0x476)])),_0x502958(0x2,_0x1fdc42[_0x5d4ae1(0x350)]),_0x502958(0x3,_0x1c7e0a[_0x5d4ae1(0x3d7)]),_0x502958(0x4,_0x1c7e0a[_0x5d4ae1(0x13b)]),_0x502958(0x5,_0x176724)],_0x488928[_0x5d4ae1(0x139)]);var _0x59579e=Object[_0x5d4ae1(0x428)],_0x153558=Object['getOwnPropertyDescriptor'],_0x25b1c2=(_0x3190d1,_0x18ecb1,_0x19b716,_0xb938d6)=>{const _0x4f2035=_0x5d4ae1;for(var _0x2d8210=_0xb938d6>0x1?void 0x0:_0xb938d6?_0x153558(_0x18ecb1,_0x19b716):_0x18ecb1,_0x45f568=_0x3190d1[_0x4f2035(0x30d)]-0x1,_0x485324;_0x45f568>=0x0;_0x45f568--)(_0x485324=_0x3190d1[_0x45f568])&&(_0x2d8210=(_0xb938d6?_0x485324(_0x18ecb1,_0x19b716,_0x2d8210):_0x485324(_0x2d8210))||_0x2d8210);return _0xb938d6&&_0x2d8210&&_0x59579e(_0x18ecb1,_0x19b716,_0x2d8210),_0x2d8210;},_0x1e0d3b=(_0x5718b8,_0x1362a7)=>(_0x40a373,_0x5eed43)=>_0x1362a7(_0x40a373,_0x5eed43,_0x5718b8);_0x488928['LocalCacheService']=class extends _0x1c7e0a['Disposable']{constructor(_0x266102,_0x1f7465,_0x1b1edb,_0x41b3ed,_0x5b1ac2){const _0x3ac84e=_0x5d4ae1;super(),_0x2308c9(this,'_cachedData',new Map()),_0x2308c9(this,_0x3ac84e(0x48b),new Map()),_0x2308c9(this,_0x3ac84e(0x100),!0x1),(this['_configService']=_0x266102,this[_0x3ac84e(0x43a)]=_0x1f7465,this[_0x3ac84e(0x2db)]=_0x1b1edb,this[_0x3ac84e(0x13a)]=_0x41b3ed,this[_0x3ac84e(0x227)]=_0x5b1ac2,this['_setupBeforeClosingHandler']());}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x5d4ae1(0x39e)](){const _0x30e6ae=_0x5d4ae1;this[_0x30e6ae(0x100)]=!0x1;}[_0x5d4ae1(0x26d)](){const _0xc6a92f=_0x5d4ae1;this[_0xc6a92f(0x2a3)]()[_0xc6a92f(0x394)](()=>super[_0xc6a92f(0x26d)]());}async['loadOfflineData'](_0x517632){const _0x4bcfeb=_0x5d4ae1;return this[_0x4bcfeb(0x100)]?null:this[_0x4bcfeb(0x43a)][_0x4bcfeb(0x39f)](_0x5edd78(_0x517632));}async[_0x5d4ae1(0x304)](_0x10fbe0,_0x510a27){const _0x47de5a=_0x5d4ae1;return!!this[_0x47de5a(0x43a)]['setItem'](_0x10fbe0,_0x510a27);}['updateOfflineData'](_0x1f10e1,_0x4e5f1a,_0xbb1977,_0x2a3a76){const _0x442a36=_0x5d4ae1,_0x5a85e5=this['_revisionService'][_0x442a36(0x18e)](_0x1f10e1);this[_0x442a36(0x1f5)][_0x442a36(0x36b)](_0x1f10e1,{'unitID':_0x1f10e1,'type':_0x4e5f1a,'awaitingChangeset':_0xbb1977,'mutations':_0x2a3a76,'rev':_0x5a85e5}),this[_0x442a36(0x48b)][_0x442a36(0x3d3)](_0x1f10e1)||this[_0x442a36(0xbb)](_0x1f10e1);}[_0x5d4ae1(0xbb)](_0x5611c3){const _0x35d02a=_0x5d4ae1,_0x61f22a=this['_getSaveTimeout']();_0x61f22a===0x0?this['_saveCache'](_0x5611c3):this[_0x35d02a(0x48b)]['set'](_0x5611c3,setTimeout(()=>this[_0x35d02a(0x1bb)](_0x5611c3),_0x61f22a));}[_0x5d4ae1(0x34f)](){const _0x45c37e=_0x5d4ae1;var _0x279d4a;return(_0x279d4a=this[_0x45c37e(0x432)][_0x45c37e(0x30e)](_0x2d5df7))!=null?_0x279d4a:0x3e8;}[_0x5d4ae1(0x1bb)](_0x4d53d4){const _0x5a0c6d=_0x5d4ae1,_0x2c667d=this['_saveTaskMap'][_0x5a0c6d(0xec)](_0x4d53d4);return _0x2c667d!==void 0x0&&window[_0x5a0c6d(0x3b2)](_0x2c667d),this[_0x5a0c6d(0x43a)][_0x5a0c6d(0x250)](_0x5edd78(_0x4d53d4),this[_0x5a0c6d(0x1f5)][_0x5a0c6d(0xec)](_0x4d53d4))[_0x5a0c6d(0x394)](()=>this[_0x5a0c6d(0x48b)][_0x5a0c6d(0x1f0)](_0x4d53d4));}async['_exhaustSavingTask'](){const _0x27e366=_0x5d4ae1,_0x2bac2a=[];this['_saveTaskMap'][_0x27e366(0x32c)]((_0x4d271e,_0x75db0a)=>{const _0x289fdb=_0x27e366;window[_0x289fdb(0x3b2)](_0x4d271e),_0x2bac2a[_0x289fdb(0x21f)](this[_0x289fdb(0x1bb)](_0x75db0a)[_0x289fdb(0x394)](()=>{const _0xce59b8=_0x289fdb;this[_0xce59b8(0x48b)][_0xce59b8(0x1f0)](_0x75db0a);}));}),await Promise['all'](_0x2bac2a);}['_setupBeforeClosingHandler'](){const _0x4e2c68=_0x5d4ae1;this['disposeWithMe'](this['_beforeCloseService'][_0x4e2c68(0x1d5)](()=>{const _0x317f45=_0x4e2c68;if(this[_0x317f45(0x48b)][_0x317f45(0x2b7)])return this[_0x317f45(0x13a)]['t'](_0x317f45(0x2a9));}));}},_0x488928[_0x5d4ae1(0x296)]=_0x25b1c2([_0x1e0d3b(0x0,_0x1c7e0a[_0x5d4ae1(0x13b)]),_0x1e0d3b(0x1,_0x1c7e0a['ILocalStorageService']),_0x1e0d3b(0x2,_0x1fdc42['IBeforeCloseService']),_0x1e0d3b(0x3,_0x4fa573[_0x5d4ae1(0x274)](_0x1c7e0a['LocaleService'])),_0x1e0d3b(0x4,_0x4fa573[_0x5d4ae1(0x274)](_0x1aa573[_0x5d4ae1(0x183)]))],_0x488928[_0x5d4ae1(0x296)]);function _0x5edd78(_0x51434b){return'unit-cache-'+_0x51434b;}const _0x3a78a1=_0x4fa573['createIdentifier'](_0x5d4ae1(0x268));var _0x5d2b88=(_0x43fb99=>(_0x43fb99[_0x43fb99[_0x5d4ae1(0x226)]=0x0]=_0x5d4ae1(0x226),_0x43fb99[_0x43fb99[_0x5d4ae1(0x191)]=0x1]=_0x5d4ae1(0x191),_0x43fb99))(_0x5d2b88||{});const _0x1a92fc=0x7530,_0x4b9572=_0x5d4ae1(0x32b);class _0x1893ed extends _0x1c7e0a[_0x5d4ae1(0x284)]{constructor(){const _0x21e145=_0x5d4ae1;super(),_0x2308c9(this,_0x21e145(0x46e),_0x1c7e0a[_0x21e145(0x2de)][_0x21e145(0x331)]()),_0x2308c9(this,_0x21e145(0x1a8),new Set()),_0x2308c9(this,'_unitOnClients',new Map()),_0x2308c9(this,_0x21e145(0x3e7),null),_0x2308c9(this,'_clearOtherTimers',new Map()),_0x2308c9(this,_0x21e145(0x1ef),new Map()),this['_init']();}[_0x5d4ae1(0x26d)](){const _0x1485cc=_0x5d4ae1;super[_0x1485cc(0x26d)](),this[_0x1485cc(0x330)][_0x1485cc(0x32c)]((_0x19fcf4,_0x28f74b)=>this[_0x1485cc(0x123)](_0x28f74b)),this['_heartbeatTimer']&&window[_0x1485cc(0x24c)](this[_0x1485cc(0x3e7)]);}[_0x5d4ae1(0x308)](_0x5cb224){const _0x441f94=_0x5d4ae1;return this[_0x441f94(0x20a)](_0x5cb224)[_0x441f94(0x272)](_0xf632fb['distinctUntilChanged']());}[_0x5d4ae1(0xb4)](_0x43c734){const _0x3e05ca=_0x5d4ae1;this[_0x3e05ca(0x1a8)]['size']===0x0&&this[_0x3e05ca(0x128)](),this['_selfUnitIDs'][_0x3e05ca(0x3b0)](_0x43c734),this[_0x3e05ca(0x2f7)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x43c734],'isForwarded':!0x1});}[_0x5d4ae1(0x2ba)](_0x46a30a){const _0x53df84=_0x5d4ae1;this['_selfUnitIDs']['delete'](_0x46a30a),this[_0x53df84(0x1a8)][_0x53df84(0x2b7)]===0x0&&this['_heartbeatTimer']&&window[_0x53df84(0x24c)](this[_0x53df84(0x3e7)]);}[_0x5d4ae1(0x3c0)](){const _0x38136b=_0x5d4ae1;this[_0x38136b(0xf2)](_0x1c7e0a['toDisposable'](_0xf632fb[_0x38136b(0x41b)](window,'storage')[_0x38136b(0x41c)](_0x4d8c2f=>{const _0x210fd0=_0x38136b;if(_0x4d8c2f[_0x210fd0(0x2d9)]!==_0x4b9572||!_0x4d8c2f[_0x210fd0(0x165)])return;const _0x5da08d=JSON[_0x210fd0(0x134)](_0x4d8c2f[_0x210fd0(0x165)]);this[_0x210fd0(0x458)](_0x5da08d);}))),window[_0x38136b(0x366)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x38136b(0x46e)],'unitIDs':Array[_0x38136b(0x35b)](this[_0x38136b(0x1a8)])}));}[_0x5d4ae1(0x458)](_0x40480e){const _0x5cb9b1=_0x5d4ae1;switch(_0x40480e['type']){case 0x0:this['_handleJoinEvent'](_0x40480e);break;case 0x1:this[_0x5cb9b1(0x276)](_0x40480e);break;case 0x2:this['_handleHeartbeatEvent'](_0x40480e);break;}}['_handleJoinEvent'](_0x338fc2){const _0x5804b6=_0x5d4ae1,{unitIDs:_0x169d09,memberID:_0x251399,isForwarded:_0x17d027}=_0x338fc2;_0x169d09[_0x5804b6(0x32c)](_0x22672b=>{const _0xaa4f0f=_0x5804b6;if(!_0x17d027&&this['_unitOnClients'][_0xaa4f0f(0x3d3)](_0x22672b)&&this['_ensureSubject'](_0x22672b)[_0xaa4f0f(0x2b1)](0x1),!this[_0xaa4f0f(0x229)][_0xaa4f0f(0x3d3)](_0x22672b)||!this['_unitOnClients'][_0xaa4f0f(0xec)](_0x22672b)[_0xaa4f0f(0x3d3)](_0x251399)){const _0x43d1a9=this['_unitOnClients'][_0xaa4f0f(0xec)](_0x22672b)||new Set();_0x43d1a9[_0xaa4f0f(0x3b0)](_0x251399),this[_0xaa4f0f(0x229)][_0xaa4f0f(0x36b)](_0x22672b,_0x43d1a9),this['_scheduleClearOtherTimer'](_0x251399);}}),_0x17d027||this[_0x5804b6(0x2f7)]({'type':0x0,'memberID':this[_0x5804b6(0x46e)],'unitIDs':[...this[_0x5804b6(0x1a8)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x4a77d1){const _0xa8df54=_0x5d4ae1;this[_0xa8df54(0x123)](_0x4a77d1);const _0x2a1345=window['setTimeout'](()=>{const _0x21965b=_0xa8df54;this[_0x21965b(0x229)]['forEach'](_0x4beeb0=>{const _0x2cd4dd=_0x21965b;_0x4beeb0[_0x2cd4dd(0x1f0)](_0x4a77d1);});},_0x1a92fc*0x2);this['_clearOtherTimers']['set'](_0x4a77d1,_0x2a1345);}[_0x5d4ae1(0x123)](_0x593c7b){const _0x481b5e=_0x5d4ae1;if(this[_0x481b5e(0x330)][_0x481b5e(0x3d3)](_0x593c7b)){const _0x29da05=this[_0x481b5e(0x330)]['get'](_0x593c7b);_0x29da05&&window[_0x481b5e(0x3b2)](_0x29da05),this['_clearOtherTimers'][_0x481b5e(0x36b)](_0x593c7b,null);}}['_handleLeaveEvent'](_0x59d121){const {memberID:_0x1977e3,unitIDs:_0x3eb5eb}=_0x59d121;_0x3eb5eb['forEach'](_0x18e34b=>{const _0x5dc333=_0x18a3;var _0x15b3a3;const _0x4fb769=this['_unitOnClients'][_0x5dc333(0xec)](_0x18e34b);_0x4fb769&&(_0x4fb769[_0x5dc333(0x1f0)](_0x1977e3),(_0x15b3a3=this[_0x5dc333(0x20a)](_0x18e34b))==null||_0x15b3a3['next'](_0x4fb769[_0x5dc333(0x2b7)]===0x0?0x0:0x1));}),this['_removeClearOtherTimer'](_0x1977e3);}['_handleHeartbeatEvent'](_0x2a59a6){const _0x12c1d1=_0x5d4ae1;this['_scheduleClearOtherTimer'](_0x2a59a6[_0x12c1d1(0x2ad)]);}[_0x5d4ae1(0x2f7)](_0x1c58d7){const _0x371bea=_0x5d4ae1;localStorage[_0x371bea(0x250)](_0x4b9572,JSON[_0x371bea(0x18a)](_0x1c58d7));}['_scheduleHeartbeat'](){const _0x46c6cb=_0x5d4ae1;this['_heartbeatTimer']=window[_0x46c6cb(0x2a4)](()=>{const _0xa4534a=_0x46c6cb;this[_0xa4534a(0x2f7)]({'type':0x2,'memberID':this['_id']});},_0x1a92fc);}[_0x5d4ae1(0x20a)](_0xc9199e){const _0x15418c=_0x5d4ae1;return this[_0x15418c(0x1ef)][_0x15418c(0x3d3)](_0xc9199e)||this['_unitStatus'][_0x15418c(0x36b)](_0xc9199e,new _0xf632fb[(_0x15418c(0x195))](0x0)),this[_0x15418c(0x1ef)]['get'](_0xc9199e);}}var _0xff9ad4=Object[_0x5d4ae1(0x428)],_0x1196aa=Object[_0x5d4ae1(0x23a)],_0x5cd77b=(_0x381a74,_0x5cb42b,_0x4a6621,_0x2c0fe1)=>{const _0x398e94=_0x5d4ae1;for(var _0x314a16=_0x2c0fe1>0x1?void 0x0:_0x2c0fe1?_0x1196aa(_0x5cb42b,_0x4a6621):_0x5cb42b,_0x46334b=_0x381a74[_0x398e94(0x30d)]-0x1,_0x431c00;_0x46334b>=0x0;_0x46334b--)(_0x431c00=_0x381a74[_0x46334b])&&(_0x314a16=(_0x2c0fe1?_0x431c00(_0x5cb42b,_0x4a6621,_0x314a16):_0x431c00(_0x314a16))||_0x314a16);return _0x2c0fe1&&_0x314a16&&_0xff9ad4(_0x5cb42b,_0x4a6621,_0x314a16),_0x314a16;},_0x234d28=(_0x319c64,_0xf1e199)=>(_0x17c680,_0x4ba0a6)=>_0xf1e199(_0x17c680,_0x4ba0a6,_0x319c64);let _0x3ca91f=class{constructor(_0x1ae8b0,_0x19fde0){const _0x8e7495=_0x5d4ae1;this[_0x8e7495(0x12f)]=_0x1ae8b0,this[_0x8e7495(0x143)]=_0x19fde0;}['transformIMECache'](_0x2c0fc1){const _0x52615f=_0x5d4ae1;this[_0x52615f(0x1ed)](_0x2c0fc1),this[_0x52615f(0x167)](_0x2c0fc1);}[_0x5d4ae1(0x301)](_0x586203){const _0x2dd8df=_0x5d4ae1,_0x3f351b=this[_0x2dd8df(0x12f)][_0x2dd8df(0xec)](_0x1e7311['IMEInputManagerService']),{redoCache:_0x50a562}=_0x3f351b[_0x2dd8df(0x396)]();if(_0x50a562['length']===0x0)return _0x586203;let _0xeb6aae=_0x1c7e0a['Tools'][_0x2dd8df(0x311)](_0x586203['mutations'][0x0]);for(let _0x4a6605=0x0;_0x4a6605<_0x50a562[_0x2dd8df(0x30d)];_0x4a6605++){const _0x3c4a3e={'id':'doc.mutation.rich-text-editing','params':{..._0x50a562[_0x4a6605]}},_0x48a8f6=this['_transformService']['transformMutation'](_0xeb6aae,_0x3c4a3e,!0x1);if(_0x1aa573[_0x2dd8df(0x1ff)](_0x48a8f6))throw _0x48a8f6[_0x2dd8df(0x34d)];_0xeb6aae=_0x48a8f6['m1Prime'];}return{..._0x1c7e0a[_0x2dd8df(0x2de)][_0x2dd8df(0x311)](_0x586203),'mutations':[_0xeb6aae]};}['_transformUndoRedoStack'](_0x2d2097){const _0x15543d=_0x5d4ae1,_0x268ee0=this['_injector'][_0x15543d(0xec)](_0x1e7311[_0x15543d(0x260)]),{undoCache:_0x2c683c,redoCache:_0x58b54d}=_0x268ee0[_0x15543d(0x396)]();if(_0x2c683c['length']===0x0||_0x58b54d[_0x15543d(0x30d)]===0x0)return;const _0x1492ef=[],_0x28e46e=[];let _0x9cee47=_0x1c7e0a['Tools'][_0x15543d(0x311)](_0x2d2097[_0x15543d(0x27d)][0x0]),_0x26344c=_0x1c7e0a['Tools']['deepClone'](_0x2d2097[_0x15543d(0x27d)][0x0]);for(let _0x4547bc=_0x2c683c[_0x15543d(0x30d)]-0x1;_0x4547bc>=0x0;_0x4547bc--){const _0x15c7f5={'id':_0x15543d(0xcc),'params':{..._0x2c683c[_0x4547bc]}},_0x2d8de5={'id':'doc.mutation.rich-text-editing','params':{..._0x58b54d[_0x4547bc]}},_0x4e3e79=this[_0x15543d(0x143)][_0x15543d(0x451)](_0x9cee47,_0x15c7f5,!0x1),_0x527cfd=this[_0x15543d(0x143)][_0x15543d(0x451)](_0x26344c,_0x2d8de5,!0x1);if(_0x1aa573[_0x15543d(0x1ff)](_0x4e3e79))throw _0x4e3e79[_0x15543d(0x34d)];if(_0x1aa573[_0x15543d(0x1ff)](_0x527cfd))throw _0x527cfd[_0x15543d(0x34d)];_0x1492ef[_0x15543d(0x2e5)](_0x4e3e79['m2Prime']['params']),_0x28e46e[_0x15543d(0x2e5)](_0x527cfd[_0x15543d(0x374)]['params']),_0x9cee47=_0x4e3e79[_0x15543d(0x2a5)],_0x26344c=_0x527cfd[_0x15543d(0x2a5)];}_0x268ee0[_0x15543d(0x129)]({'undoCache':_0x1492ef,'redoCache':_0x28e46e});}[_0x5d4ae1(0x167)](_0x5528c7){const _0x2a088d=_0x5d4ae1,_0x324992=this[_0x2a088d(0x12f)][_0x2a088d(0xec)](_0x1e7311[_0x2a088d(0x260)]),_0x52ff57=_0x324992[_0x2a088d(0x150)]();if(_0x52ff57==null)return;const _0xdbf2e4=[{'id':_0x2a088d(0xcc),'params':{'unitId':_0x5528c7[_0x2a088d(0x306)],'actions':null,'textRanges':[_0x52ff57]}}],_0x5819f0=this[_0x2a088d(0x143)][_0x2a088d(0x204)](_0x5528c7,_0xdbf2e4);if(!_0x1aa573[_0x2a088d(0x37e)](_0x5819f0))throw _0x5819f0[_0x2a088d(0x34d)];const _0x4e70c5=_0x5819f0[_0x2a088d(0x374)][0x0][_0x2a088d(0x121)][_0x2a088d(0x3a9)];Array[_0x2a088d(0x31d)](_0x4e70c5)&&_0x4e70c5[_0x2a088d(0x30d)]&&_0x324992['setActiveRange'](_0x4e70c5[0x0]);}};_0x3ca91f=_0x5cd77b([_0x234d28(0x0,_0x4fa573[_0x5d4ae1(0x274)](_0x4fa573['Injector'])),_0x234d28(0x1,_0x1aa573[_0x5d4ae1(0x38a)])],_0x3ca91f);var _0xe2264e=Object[_0x5d4ae1(0x428)],_0xf9e274=Object[_0x5d4ae1(0x23a)],_0x2d9cfb=(_0x59ca08,_0x214a10,_0x2d4c34,_0x4906a3)=>{const _0x435f03=_0x5d4ae1;for(var _0x557bc=_0x4906a3>0x1?void 0x0:_0x4906a3?_0xf9e274(_0x214a10,_0x2d4c34):_0x214a10,_0x838311=_0x59ca08[_0x435f03(0x30d)]-0x1,_0x214cb6;_0x838311>=0x0;_0x838311--)(_0x214cb6=_0x59ca08[_0x838311])&&(_0x557bc=(_0x4906a3?_0x214cb6(_0x214a10,_0x2d4c34,_0x557bc):_0x214cb6(_0x557bc))||_0x557bc);return _0x4906a3&&_0x557bc&&_0xe2264e(_0x214a10,_0x2d4c34,_0x557bc),_0x557bc;},_0x33b7ec=(_0x374551,_0x4254a6)=>(_0x42cb91,_0x13a2f6)=>_0x4254a6(_0x42cb91,_0x13a2f6,_0x374551);let _0x3fe7af=class{constructor(_0x2f9e37,_0x5abbbf){const _0xf30203=_0x5d4ae1;this[_0xf30203(0x12f)]=_0x2f9e37,this[_0xf30203(0x143)]=_0x5abbbf;}[_0x5d4ae1(0x2bc)](_0x58497b){const _0x369bc7=_0x5d4ae1;var _0x3af865;const _0x525d8f=this[_0x369bc7(0x12f)][_0x369bc7(0xec)](_0x1e7311['TextSelectionManagerService']),_0x33bf1a=(_0x3af865=_0x525d8f[_0x369bc7(0x3ec)]())!=null?_0x3af865:[],_0x27170b=_0x33bf1a==null?void 0x0:_0x33bf1a[_0x369bc7(0x324)](_0x1e7311[_0x369bc7(0x107)]);if(_0x27170b[_0x369bc7(0x30d)]===0x0)return;const _0xf99895=[{'id':_0x369bc7(0xcc),'params':{'unitId':_0x58497b[_0x369bc7(0x306)],'actions':null,'textRanges':_0x27170b}}],_0x102549=this[_0x369bc7(0x143)][_0x369bc7(0x204)](_0x58497b,_0xf99895);if(!_0x1aa573[_0x369bc7(0x37e)](_0x102549))throw _0x102549[_0x369bc7(0x34d)];const _0x3e3ae1=_0x102549[_0x369bc7(0x374)][0x0]['params']['textRanges'];Array[_0x369bc7(0x31d)](_0x3e3ae1)&&_0x3e3ae1[_0x369bc7(0x30d)]&&_0x525d8f[_0x369bc7(0x27a)](_0x3e3ae1,!0x1);}};_0x3fe7af=_0x2d9cfb([_0x33b7ec(0x0,_0x4fa573[_0x5d4ae1(0x274)](_0x4fa573['Injector'])),_0x33b7ec(0x1,_0x1aa573[_0x5d4ae1(0x38a)])],_0x3fe7af);function _0x566a5f(_0xba0f7c){let _0x4dc355='';for(const _0x1e51a4 of _0xba0f7c){const {startOffset:_0x45e965,endOffset:_0x4ed7b7,isActive:_0x2176e3}=_0x1e51a4;_0x4dc355['length']&&(_0x4dc355+=','),_0x4dc355+=_0x45e965+':'+_0x4ed7b7+':'+(_0x2176e3?'1':'0');}return _0x4dc355;}function _0x4de411(_0x1b31ae){const _0x1b288e=_0x5d4ae1,_0x404c50=_0x1b31ae[_0x1b288e(0x24f)](','),_0xd6fc6b=[];for(const _0x54144b of _0x404c50){const [_0x4da322,_0x284a72,_0x42a747]=_0x54144b[_0x1b288e(0x24f)](':');_0xd6fc6b[_0x1b288e(0x21f)]({'startOffset':Number(_0x4da322),'endOffset':Number(_0x284a72),'collapsed':_0x4da322===_0x284a72,'isActive':_0x42a747==='1'});}return _0xd6fc6b['some'](_0x306b3f=>_0x306b3f[_0x1b288e(0x15a)])||(_0xd6fc6b[0x0]['isActive']=!0x0),_0xd6fc6b;}class _0x22361d extends _0x1c7e0a['RxDisposable']{constructor(){const _0x562ccf=_0x5d4ae1;super(...arguments),_0x2308c9(this,'_collabCursorState$',new _0xf632fb[(_0x562ccf(0x195))](null)),_0x2308c9(this,_0x562ccf(0x38f),this[_0x562ccf(0x42c)][_0x562ccf(0x1b6)]());}['syncEditingCollabCursor'](_0x439c60){const _0x5af614=_0x5d4ae1,{unitID:_0x4a185a,memberID:_0x590ff2,textRanges:_0x503a20}=_0x439c60,_0x245a39=_0x566a5f(_0x503a20),_0x152663={'unitID':_0x4a185a,'memberID':_0x590ff2,'selection':_0x245a39};this['_collabCursorState$'][_0x5af614(0x2b1)](_0x152663);}}var _0x4d5e9a=Object['defineProperty'],_0x50713c=Object[_0x5d4ae1(0x23a)],_0x26fd3d=(_0x50ce25,_0x1fe195,_0x50e3de,_0x514702)=>{for(var _0x2645dc=_0x514702>0x1?void 0x0:_0x514702?_0x50713c(_0x1fe195,_0x50e3de):_0x1fe195,_0x216956=_0x50ce25['length']-0x1,_0x2a41c2;_0x216956>=0x0;_0x216956--)(_0x2a41c2=_0x50ce25[_0x216956])&&(_0x2645dc=(_0x514702?_0x2a41c2(_0x1fe195,_0x50e3de,_0x2645dc):_0x2a41c2(_0x2645dc))||_0x2645dc);return _0x514702&&_0x2645dc&&_0x4d5e9a(_0x1fe195,_0x50e3de,_0x2645dc),_0x2645dc;},_0x172b3b=(_0xa233f4,_0x3c0aaa)=>(_0x4093a7,_0x2975ad)=>_0x3c0aaa(_0x4093a7,_0x2975ad,_0xa233f4);function _0x43bfdd(_0x31ef66){const _0x476ff6=_0x5d4ae1,{unitID:_0x363444,mutations:_0x4fe38d}=_0x31ef66;return{'unitId':_0x363444,'subUnitId':_0x4fe38d[0x0][_0x476ff6(0x121)][_0x476ff6(0x486)]};}let _0x54a41f=class{constructor(_0x4d50cf,_0xf4ddc0){const _0x1acc60=_0x5d4ae1;this['_injector']=_0x4d50cf,this[_0x1acc60(0x143)]=_0xf4ddc0;}[_0x5d4ae1(0x2bc)](_0x5f3948){const _0x3c604d=_0x5d4ae1;var _0x1dce75,_0x26ae38,_0x4f8b41;const _0x36edf3=this[_0x3c604d(0x12f)][_0x3c604d(0xec)](_0x213e0a['SheetsSelectionsService']),{unitId:_0x5b6a12,subUnitId:_0x37977d}=_0x43bfdd(_0x5f3948),_0x4e0fa7=_0x36edf3[_0x3c604d(0x2e2)](_0x5b6a12)[_0x3c604d(0x3ec)]();if(_0x4e0fa7[_0x3c604d(0x30d)]===0x0||!_0x5b6a12||!_0x37977d)return;const _0x2d8a1d=[{'id':_0x213e0a[_0x3c604d(0x335)]['id'],'params':{'unitId':_0x5b6a12,'subUnitId':_0x37977d,'selections':_0x1c7e0a[_0x3c604d(0x2de)][_0x3c604d(0x311)](_0x4e0fa7)}}],_0x37e5a6=this[_0x3c604d(0x143)]['transformMutationsWithChangeset'](_0x5f3948,_0x2d8a1d);if(!_0x1aa573[_0x3c604d(0x37e)](_0x37e5a6))throw _0x37e5a6['error'];const _0x5695d3=(_0x4f8b41=(_0x26ae38=(_0x1dce75=_0x37e5a6['m2Prime'][0x0])==null?void 0x0:_0x1dce75[_0x3c604d(0x121)])==null?void 0x0:_0x26ae38[_0x3c604d(0x10c)])!=null?_0x4f8b41:_0x4e0fa7;Array['isArray'](_0x5695d3)&&_0x5695d3['length']&&this[_0x3c604d(0x12f)]['get'](_0x1c7e0a[_0x3c604d(0x264)])[_0x3c604d(0x464)](_0x213e0a[_0x3c604d(0x335)]['id'],{'unitId':_0x5b6a12,'subUnitId':_0x37977d,'selections':_0x5695d3});}};_0x54a41f=_0x26fd3d([_0x172b3b(0x0,_0x4fa573[_0x5d4ae1(0x274)](_0x4fa573['Injector'])),_0x172b3b(0x1,_0x1aa573[_0x5d4ae1(0x38a)])],_0x54a41f);const _0x22e541=new Set([_0x213e0a['InsertSheetMutation']['id']]);function _0x300ae4(_0x48e513,_0x305f6f,_0x4f58f9,_0x25b294,_0x2675f0){const _0x3c498d=_0x5d4ae1;var _0xe57fe1,_0x17cfac,_0x4acc4c,_0x22f9c4;const _0x312c3d=[];for(const _0x56a886 of _0x48e513)if(_0x22e541[_0x3c498d(0x3d3)](_0x56a886['id'])){if(_0x312c3d[_0x3c498d(0x30d)]>0x0)break;_0x312c3d['push'](_0x56a886);break;}else _0x312c3d[_0x3c498d(0x21f)](_0x56a886);const _0x57984d=(_0x17cfac=(_0xe57fe1=_0x2675f0[_0x3c498d(0x46c)]())==null?void 0x0:_0xe57fe1[_0x3c498d(0x42f)])!=null?_0x17cfac:_0x3c498d(0x415),_0x42642c=(_0x22f9c4=(_0x4acc4c=_0x2675f0['getCurrentUser']())==null?void 0x0:_0x4acc4c[_0x3c498d(0x2ad)])!=null?_0x22f9c4:'unknown';return{'changeset':{'unitID':_0x305f6f,'type':_0x1aa573['mapDocumentTypeToUniverType'](_0x4f58f9[_0x3c498d(0x43f)](_0x305f6f)),'baseRev':_0x25b294[_0x3c498d(0x18e)](_0x305f6f),'revision':0x0,'userID':_0x57984d,'memberID':_0x42642c,'mutations':_0x312c3d},'pendingMutations':_0x48e513[_0x3c498d(0x3e1)](_0x312c3d['length'])};}function _0x907403(_0x2ae87e,_0x2b8e63,_0x54f478,_0xd40ad4,_0x4de2b8){const _0x21b113=_0x5d4ae1;var _0x517277,_0xca7d72,_0x2bb91f,_0x2444cd;const _0x289e2f=[_0x2ae87e[_0x21b113(0xcb)]((_0x314667,_0x420ce9)=>{const _0x1d7b5a=_0x21b113;var _0x51206f;const {id:_0x2bbce5}=_0x314667,{id:_0x583292,type:_0x18523b}=_0x420ce9,_0x59e772=(_0x51206f=_0x314667[_0x1d7b5a(0x121)])!=null?_0x51206f:{'actions':null},_0x4df866=_0x420ce9[_0x1d7b5a(0x121)];if(_0x2bbce5&&_0x2bbce5!==_0x583292)throw new Error(_0x1d7b5a(0x370)+_0x2bbce5+'\x20-\x20'+_0x583292+'.');return{..._0x314667,'id':_0x583292,'type':_0x18523b,'params':{'unitId':_0x4df866[_0x1d7b5a(0x386)],'textRanges':_0x4df866[_0x1d7b5a(0x3a9)],'actions':_0x1c7e0a['JSONX']['compose'](_0x59e772[_0x1d7b5a(0x401)],_0x4df866['actions'])}};},{})],_0x3fee7b=(_0xca7d72=(_0x517277=_0x4de2b8['getCurrentUser']())==null?void 0x0:_0x517277['userID'])!=null?_0xca7d72:_0x21b113(0x415),_0x3fd966=(_0x2444cd=(_0x2bb91f=_0x4de2b8[_0x21b113(0x46c)]())==null?void 0x0:_0x2bb91f[_0x21b113(0x2ad)])!=null?_0x2444cd:'unknown';return{'changeset':{'unitID':_0x2b8e63,'type':_0x1aa573[_0x21b113(0x3d1)](_0x54f478[_0x21b113(0x43f)](_0x2b8e63)),'baseRev':_0xd40ad4[_0x21b113(0x18e)](_0x2b8e63),'revision':0x0,'userID':_0x3fee7b,'memberID':_0x3fd966,'mutations':_0x289e2f},'pendingMutations':[]};}var _0x181c81=Object[_0x5d4ae1(0x428)],_0x2e8ac4=Object[_0x5d4ae1(0x23a)],_0x56271e=(_0x178599,_0x433c32,_0x470a66,_0x2c4bf8)=>{const _0x4699c7=_0x5d4ae1;for(var _0x2773c3=_0x2c4bf8>0x1?void 0x0:_0x2c4bf8?_0x2e8ac4(_0x433c32,_0x470a66):_0x433c32,_0x4e89ac=_0x178599[_0x4699c7(0x30d)]-0x1,_0x3a7e30;_0x4e89ac>=0x0;_0x4e89ac--)(_0x3a7e30=_0x178599[_0x4e89ac])&&(_0x2773c3=(_0x2c4bf8?_0x3a7e30(_0x433c32,_0x470a66,_0x2773c3):_0x3a7e30(_0x2773c3))||_0x2773c3);return _0x2c4bf8&&_0x2773c3&&_0x181c81(_0x433c32,_0x470a66,_0x2773c3),_0x2773c3;},_0x4baee0=(_0x586c6f,_0x24d332)=>(_0x3b2217,_0x496b5d)=>_0x24d332(_0x3b2217,_0x496b5d,_0x586c6f),_0x340600=(_0x4a9769=>(_0x4a9769[_0x5d4ae1(0x1ec)]='not_collab',_0x4a9769[_0x5d4ae1(0x3ce)]=_0x5d4ae1(0x171),_0x4a9769[_0x5d4ae1(0x135)]='pending',_0x4a9769[_0x5d4ae1(0x19a)]=_0x5d4ae1(0x112),_0x4a9769[_0x5d4ae1(0x205)]=_0x5d4ae1(0x162),_0x4a9769[_0x5d4ae1(0x22a)]=_0x5d4ae1(0x2d4),_0x4a9769[_0x5d4ae1(0x1f1)]=_0x5d4ae1(0x105),_0x4a9769[_0x5d4ae1(0x1e5)]=_0x5d4ae1(0xf5),_0x4a9769))(_0x340600||{});class _0x45334a{constructor(_0x30d2c5,_0x4d2c45,_0x418d5e,_0x37805e,_0x2715a6,_0x3209d4,_0x3b10d4,_0x70795a,_0x4c8b52){const _0xdc02=_0x5d4ae1;_0x2308c9(this,_0xdc02(0x3c7),null),_0x2308c9(this,_0xdc02(0x1b4),[]),(this[_0xdc02(0x306)]=_0x30d2c5,this[_0xdc02(0x302)]=_0x4d2c45,this[_0xdc02(0x237)]=_0x2715a6,this['_commandService']=_0x3209d4,this[_0xdc02(0x371)]=_0x3b10d4,this['_revisionService']=_0x70795a,this[_0xdc02(0x25a)]=_0x4c8b52,this[_0xdc02(0x3c7)]=_0x418d5e,this['_pendingMutations']=_0x37805e);}[_0x5d4ae1(0x314)](_0x239cd1){const _0x1ae00a=_0x5d4ae1,_0x4fc30d=this['_revisionService'][_0x1ae00a(0x18e)](this['unitID']);return _0x239cd1[_0x1ae00a(0x46f)]>_0x4fc30d+0x1?(this[_0x1ae00a(0x237)]['onMissingChangesets']({'from':_0x4fc30d,'to':_0x239cd1[_0x1ae00a(0x46f)]-0x1}),!0x0):!0x1;}[_0x5d4ae1(0x36c)](_0x28304e){const _0x280469=_0x5d4ae1;this[_0x280469(0x371)][_0x280469(0x193)](this['unitID'],_0x28304e);}[_0x5d4ae1(0x2fb)](_0x116d44){const _0x378f4e=_0x5d4ae1;var _0x5288b0,_0xbeff32;(_0xbeff32=(_0x5288b0=this['_handler'])['onTransformSelections'])==null||_0xbeff32[_0x378f4e(0xb1)](_0x5288b0,_0x116d44);}[_0x5d4ae1(0x1f4)](_0x55df50){const _0x125ca4=_0x5d4ae1;var _0x28259,_0x3b37b2;return(_0x3b37b2=(_0x28259=this['_handler'])[_0x125ca4(0x1aa)])==null?void 0x0:_0x3b37b2[_0x125ca4(0xb1)](_0x28259,_0x55df50);}['_transformRemoteChangesetByIMECache'](_0x34ce62){const _0x16ef6e=_0x5d4ae1;var _0x26621d,_0x1f647b,_0x3e25b8;return(_0x3e25b8=(_0x1f647b=(_0x26621d=this[_0x16ef6e(0x237)])[_0x16ef6e(0x1e8)])==null?void 0x0:_0x1f647b[_0x16ef6e(0xb1)](_0x26621d,_0x34ce62))!=null?_0x3e25b8:_0x34ce62;}['_syncEditingCollabCursor'](_0x33f787){const _0x4ce9b9=_0x5d4ae1;var _0x3aa7cc,_0x52bd18;if(this[_0x4ce9b9(0x302)]===_0x38246c['UNIVER_DOC']){const {unitID:_0x268672,mutations:_0x5395f0,memberID:_0x35cbd4}=_0x33f787,_0x18c5ff=_0x5395f0[0x0][_0x4ce9b9(0x121)][_0x4ce9b9(0x3a9)];Array[_0x4ce9b9(0x31d)](_0x18c5ff)&&_0x18c5ff[_0x4ce9b9(0x30d)]>0x0&&((_0x52bd18=(_0x3aa7cc=this[_0x4ce9b9(0x237)])[_0x4ce9b9(0x18d)])==null||_0x52bd18[_0x4ce9b9(0xb1)](_0x3aa7cc,{'unitID':_0x268672,'memberID':_0x35cbd4,'textRanges':_0x18c5ff}));}}[_0x5d4ae1(0x31e)](){const _0x2b3e47=_0x5d4ae1;this['_localCacheService'][_0x2b3e47(0xbd)](this[_0x2b3e47(0x306)],this['type'],this[_0x2b3e47(0x3c7)],this[_0x2b3e47(0x1b4)]);}[_0x5d4ae1(0x111)](){const _0x37bd93=_0x5d4ae1;return this['_revisionService'][_0x37bd93(0x18e)](this[_0x37bd93(0x306)]);}[_0x5d4ae1(0x41e)](){const _0xbffd0f=_0x5d4ae1;this[_0xbffd0f(0x227)][_0xbffd0f(0x442)](this['unitID']);}[_0x5d4ae1(0x21a)](_0x420eff){const _0x1d03a9=_0x5d4ae1;var _0x34b425;const _0x4225a8=this[_0x1d03a9(0x461)](_0x420eff),_0x56ed16=_0x1c7e0a[_0x1d03a9(0x34b)](_0x4225a8['mutations'],this[_0x1d03a9(0x28d)],{'fromCollab':!0x0});if(!_0x56ed16[_0x1d03a9(0x425)])throw _0x56ed16['error']instanceof Error?_0x56ed16['error']:new Error((_0x34b425=_0x56ed16[_0x1d03a9(0x34d)])!=null?_0x34b425:_0x1d03a9(0x3df));this['_transformIMECache'](_0x4225a8),this[_0x1d03a9(0x36c)](_0x420eff),this[_0x1d03a9(0x2fb)](_0x4225a8),this['_syncEditingCollabCursor'](_0x4225a8),this['_incrementRevisionNumber']();}}let _0x50ebe9=class extends _0x45334a{constructor(_0x337a57,_0x40af3a,_0x81fd31,_0x2ac967,_0x3fb9d9,_0x20c881,_0x70d33d,_0x2da05a,_0x1c574c){const _0x6cdbc2=_0x5d4ae1;super(_0x337a57,_0x40af3a,null,[],_0x81fd31,_0x2da05a,_0x70d33d,_0x2ac967,_0x3fb9d9),_0x2308c9(this,_0x6cdbc2(0x3cd),_0x6cdbc2(0x171)),(this[_0x6cdbc2(0x12f)]=_0x20c881,this[_0x6cdbc2(0x38d)]=_0x1c574c);}['appendMutation'](_0x56ead7){const _0x5e6f12=_0x5d4ae1,_0xe6490f=this[_0x5e6f12(0x12f)][_0x5e6f12(0xd0)](_0x305b7b,this[_0x5e6f12(0x306)],this[_0x5e6f12(0x302)],[_0x56ead7],this[_0x5e6f12(0x237)]);return _0xe6490f[_0x5e6f12(0x46a)](),_0xe6490f[_0x5e6f12(0x31e)](),_0xe6490f;}[_0x5d4ae1(0x40b)](_0x15252f){const _0x3d4209=_0x5d4ae1;if(this[_0x3d4209(0x314)](_0x15252f))return this['_injector'][_0x3d4209(0xd0)](_0x307304,this[_0x3d4209(0x306)],this[_0x3d4209(0x302)],null,[],null,[_0x15252f],this[_0x3d4209(0x237)]);try{return this[_0x3d4209(0x21a)](_0x15252f),this;}catch(_0x34d112){return this[_0x3d4209(0x38d)][_0x3d4209(0x34d)](_0x3d4209(0x307),_0x34d112),this;}}[_0x5d4ae1(0x102)](){const _0x105340=_0x5d4ae1;throw new Error(_0x105340(0x1fa));}['onRemoteRej'](){const _0xe94f26=_0x5d4ae1;throw new Error(_0xe94f26(0x17b));}[_0x5d4ae1(0x1ba)](){const _0x5c05a6=_0x5d4ae1;return this[_0x5c05a6(0x12f)]['createInstance'](_0x5bbdd1,this[_0x5c05a6(0x306)],this[_0x5c05a6(0x302)],null,[],this[_0x5c05a6(0x237)]);}[_0x5d4ae1(0x484)](){return this;}[_0x5d4ae1(0x1b2)](){const _0x4eb8e4=_0x5d4ae1;throw new Error(_0x4eb8e4(0x2f8));}};_0x50ebe9=_0x56271e([_0x4baee0(0x3,_0x4fa573[_0x5d4ae1(0x274)](_0x1aa573[_0x5d4ae1(0x183)])),_0x4baee0(0x4,_0x4fa573[_0x5d4ae1(0x274)](_0x488928['LocalCacheService'])),_0x4baee0(0x5,_0x4fa573[_0x5d4ae1(0x274)](_0x4fa573[_0x5d4ae1(0x38e)])),_0x4baee0(0x6,_0x1c7e0a[_0x5d4ae1(0x3ba)]),_0x4baee0(0x7,_0x1c7e0a[_0x5d4ae1(0x264)]),_0x4baee0(0x8,_0x1c7e0a[_0x5d4ae1(0x3d7)])],_0x50ebe9);let _0x305b7b=class extends _0x45334a{constructor(_0x54e68f,_0x326403,_0x9fe82e,_0x5ee3d1,_0x50a762,_0x5c62da,_0x4c3c01,_0x5210a0,_0x4f6cd1,_0x153fad,_0x18a68f,_0x4014d6,_0x4e8aaf,_0x313e0f){const _0x41c6ee=_0x5d4ae1;super(_0x54e68f,_0x326403,null,_0x9fe82e,_0x5ee3d1,_0x153fad,_0x313e0f,_0x5c62da,_0x4c3c01),_0x2308c9(this,_0x41c6ee(0x3cd),'pending'),_0x2308c9(this,'_scheduleTimestamp',null),_0x2308c9(this,_0x41c6ee(0xed),null),(this[_0x41c6ee(0x12f)]=_0x50a762,this[_0x41c6ee(0xe7)]=_0x5210a0,this[_0x41c6ee(0x38d)]=_0x4f6cd1,this[_0x41c6ee(0x432)]=_0x18a68f,this[_0x41c6ee(0x143)]=_0x4014d6,this[_0x41c6ee(0x2aa)]=_0x4e8aaf);}['appendMutation'](_0x5e622b){const _0x46be0d=_0x5d4ae1;return this[_0x46be0d(0x1b4)][_0x46be0d(0x21f)](_0x5e622b),this['_updateLocalCache'](),this;}[_0x5d4ae1(0x40b)](_0x243b70){const _0x512fa4=_0x5d4ae1;if(this[_0x512fa4(0x314)](_0x243b70))return this[_0x512fa4(0x298)](),this[_0x512fa4(0x12f)]['createInstance'](_0x307304,this['unitID'],this[_0x512fa4(0x302)],null,this[_0x512fa4(0x1b4)],null,[_0x243b70],this[_0x512fa4(0x237)]);try{const _0x26622d=this[_0x512fa4(0x143)]['transformMutationsWithChangeset'](_0x243b70,this['_pendingMutations']);if(_0x1aa573[_0x512fa4(0x37e)](_0x26622d)){const {c1Prime:_0x5959b1,m2Prime:_0x5f55db}=_0x26622d;this[_0x512fa4(0x21a)](_0x5959b1);const _0x4f93fd=this[_0x512fa4(0x12f)][_0x512fa4(0xd0)](_0x305b7b,this[_0x512fa4(0x306)],this[_0x512fa4(0x302)],_0x5f55db,this['_handler']);return this[_0x512fa4(0x298)](),_0x4f93fd[_0x512fa4(0x46a)](this[_0x512fa4(0x406)]?Math[_0x512fa4(0x347)](0x0,new Date()[_0x512fa4(0x1e2)]()-this[_0x512fa4(0x406)]):this[_0x512fa4(0xd5)]()),_0x4f93fd;}throw _0x26622d['error'];}catch(_0x23536f){return this[_0x512fa4(0x38d)][_0x512fa4(0x34d)](_0x23536f),this[_0x512fa4(0x34c)](!0x1);}}[_0x5d4ae1(0x102)](){const _0x8e41ed=_0x5d4ae1;throw new Error(_0x8e41ed(0x32d));}[_0x5d4ae1(0x1e6)](){const _0x289fa3=_0x5d4ae1;throw new Error(_0x289fa3(0x447));}[_0x5d4ae1(0x1ba)](){const _0x17e8b3=_0x5d4ae1;return this[_0x17e8b3(0x298)](),this[_0x17e8b3(0x12f)][_0x17e8b3(0xd0)](_0x5bbdd1,this[_0x17e8b3(0x306)],this[_0x17e8b3(0x302)],null,this['_pendingMutations'],this['_handler']);}[_0x5d4ae1(0x484)](){return this;}[_0x5d4ae1(0x46a)](_0x55d7df){const _0x2c7703=_0x5d4ae1;_0x55d7df=_0x55d7df!=null?_0x55d7df:this[_0x2c7703(0xd5)](),this[_0x2c7703(0x406)]=new Date()['getTime'](),this[_0x2c7703(0xed)]=setTimeout(()=>{const _0x431dc4=_0x2c7703;this[_0x431dc4(0x298)]();let _0x11340c=null;switch(this[_0x431dc4(0x302)]){case _0x38246c['UNIVER_SHEET']:{_0x11340c=_0x300ae4(this[_0x431dc4(0x1b4)],this['unitID'],this['_univerInstanceService'],this['_revisionService'],this[_0x431dc4(0xe7)]);break;}case _0x38246c['UNIVER_DOC']:{_0x11340c=_0x907403(this[_0x431dc4(0x1b4)],this['unitID'],this['_univerInstanceService'],this[_0x431dc4(0x227)],this[_0x431dc4(0xe7)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x431dc4(0x302)]+_0x431dc4(0x29b));}const {changeset:_0x3ec780,pendingMutations:_0x3b0010}=_0x11340c;this['_handler'][_0x431dc4(0x3a4)](_0x3ec780);const _0x1cfaac=_0x3b0010[_0x431dc4(0x30d)]?this[_0x431dc4(0x12f)][_0x431dc4(0xd0)](_0x5483a3,this[_0x431dc4(0x306)],this[_0x431dc4(0x302)],_0x3ec780,_0x3b0010,this[_0x431dc4(0x237)]):this[_0x431dc4(0x12f)][_0x431dc4(0xd0)](_0x51f360,this[_0x431dc4(0x306)],this[_0x431dc4(0x302)],_0x3ec780,this[_0x431dc4(0x237)]);_0x1cfaac[_0x431dc4(0x31e)](),this[_0x431dc4(0x237)][_0x431dc4(0x344)](this,_0x1cfaac);},_0x55d7df);}[_0x5d4ae1(0xd5)](){const _0x5a26ea=_0x5d4ae1;var _0x1bca3e;return(_0x1bca3e=this[_0x5a26ea(0x432)][_0x5a26ea(0x30e)](_0xedbb72))!=null?_0x1bca3e:0x7d0;}[_0x5d4ae1(0x1b2)](){const _0x499f36=_0x5d4ae1;throw new Error(_0x499f36(0x457));}[_0x5d4ae1(0x298)](){const _0x3084a6=_0x5d4ae1;this['_sendingTimer']!=null&&(clearTimeout(this[_0x3084a6(0xed)]),this[_0x3084a6(0xed)]=null);}[_0x5d4ae1(0x34c)](_0x6c8ff2){const _0x34865b=_0x5d4ae1;return this[_0x34865b(0x298)](),this[_0x34865b(0x12f)][_0x34865b(0xd0)](_0x4e84bf,this[_0x34865b(0x306)],this[_0x34865b(0x302)],null,this[_0x34865b(0x1b4)],this[_0x34865b(0x237)],_0x6c8ff2);}};_0x305b7b=_0x56271e([_0x4baee0(0x4,_0x4fa573[_0x5d4ae1(0x274)](_0x4fa573[_0x5d4ae1(0x38e)])),_0x4baee0(0x5,_0x4fa573['Inject'](_0x1aa573[_0x5d4ae1(0x183)])),_0x4baee0(0x6,_0x4fa573[_0x5d4ae1(0x274)](_0x488928[_0x5d4ae1(0x296)])),_0x4baee0(0x7,_0x4fa573[_0x5d4ae1(0x274)](_0x1fece3)),_0x4baee0(0x8,_0x1c7e0a['ILogService']),_0x4baee0(0x9,_0x1c7e0a[_0x5d4ae1(0x264)]),_0x4baee0(0xa,_0x1c7e0a[_0x5d4ae1(0x13b)]),_0x4baee0(0xb,_0x1aa573[_0x5d4ae1(0x38a)]),_0x4baee0(0xc,_0x1c7e0a['IUniverInstanceService']),_0x4baee0(0xd,_0x1c7e0a[_0x5d4ae1(0x3ba)])],_0x305b7b);let _0x51f360=class extends _0x45334a{constructor(_0x4bec87,_0x8fb1ec,_0x14b384,_0x897fa6,_0x286bdf,_0x330d7b,_0x502e91,_0x52749d,_0x499a4a,_0x1fcb10,_0x7b4c27){const _0xbc55fb=_0x5d4ae1;super(_0x4bec87,_0x8fb1ec,_0x14b384,[],_0x897fa6,_0x52749d,_0x7b4c27,_0x330d7b,_0x502e91),_0x2308c9(this,_0xbc55fb(0x3cd),_0xbc55fb(0x112)),(this[_0xbc55fb(0x12f)]=_0x286bdf,this['_logService']=_0x499a4a,this[_0xbc55fb(0x143)]=_0x1fcb10);}[_0x5d4ae1(0x287)](_0x39914e){const _0x1a94bb=_0x5d4ae1,_0x376a78=this[_0x1a94bb(0x12f)][_0x1a94bb(0xd0)](_0x5483a3,this['unitID'],this['type'],this['_awaitingChangeset'],[_0x39914e],this[_0x1a94bb(0x237)]);return _0x376a78[_0x1a94bb(0x31e)](),_0x376a78;}['onRemoteChangeset'](_0x48c164){const _0x625ed2=_0x5d4ae1;if(this['_checkMissing'](_0x48c164))return this[_0x625ed2(0x12f)][_0x625ed2(0xd0)](_0x307304,this[_0x625ed2(0x306)],this['type'],this[_0x625ed2(0x3c7)],[],null,[_0x48c164],this['_handler']);try{const _0x21e651=this[_0x625ed2(0x143)][_0x625ed2(0x3d2)]([_0x48c164],[this[_0x625ed2(0x3c7)]],!0x1);if(_0x1aa573[_0x625ed2(0x3e5)](_0x21e651)){const {c1Prime:_0x590788,c2Prime:_0xc769a7}=_0x21e651;this['_executeRemoteChangeset'](_0x590788[0x0]),_0xc769a7[0x0][_0x625ed2(0x207)]=this['_getCurrentRevision']();const _0x36ffdf=this[_0x625ed2(0x12f)][_0x625ed2(0xd0)](_0x51f360,this[_0x625ed2(0x306)],this[_0x625ed2(0x302)],_0xc769a7[0x0],this[_0x625ed2(0x237)]);return _0x36ffdf['_updateLocalCache'](),_0x36ffdf;}return this['_onConflict'](!0x1);}catch(_0x54cf13){return this[_0x625ed2(0x38d)][_0x625ed2(0x34d)](_0x54cf13),this[_0x625ed2(0x34c)](!0x1);}}[_0x5d4ae1(0x102)](_0x31af5e){const _0x4270ef=_0x5d4ae1,_0x4911be=this[_0x4270ef(0x227)][_0x4270ef(0x18e)](this[_0x4270ef(0x306)]);if(_0x31af5e[_0x4270ef(0x46f)]<_0x4911be-0x1)return this;if(this['_checkMissing'](_0x31af5e))return this[_0x4270ef(0x12f)][_0x4270ef(0xd0)](_0x307304,this[_0x4270ef(0x306)],this['type'],null,[],this[_0x4270ef(0x3c7)],[],this[_0x4270ef(0x237)]);this[_0x4270ef(0x41e)]();const _0x2ee146=this[_0x4270ef(0x12f)][_0x4270ef(0xd0)](_0x50ebe9,this['unitID'],this[_0x4270ef(0x302)],this['_handler']);return _0x2ee146[_0x4270ef(0x31e)](),_0x2ee146;}[_0x5d4ae1(0x1e6)](_0x50ad59){const _0x2bf418=_0x5d4ae1;return this[_0x2bf418(0x34c)](!!(_0x50ad59!=null&&_0x50ad59[_0x2bf418(0x294)]));}[_0x5d4ae1(0x1ba)](){const _0x149bc0=_0x5d4ae1;return this['_injector'][_0x149bc0(0xd0)](_0x5bbdd1,this[_0x149bc0(0x306)],this['type'],this[_0x149bc0(0x3c7)],[],this[_0x149bc0(0x237)]);}[_0x5d4ae1(0x484)](){return this;}['resend'](){const _0x4e9ab6=_0x5d4ae1;this[_0x4e9ab6(0x237)][_0x4e9ab6(0x3a4)](this[_0x4e9ab6(0x3c7)]);}[_0x5d4ae1(0x34c)](_0x154fdf){const _0x4d9ef3=_0x5d4ae1;return this[_0x4d9ef3(0x12f)][_0x4d9ef3(0xd0)](_0x4e84bf,this[_0x4d9ef3(0x306)],this[_0x4d9ef3(0x302)],this[_0x4d9ef3(0x3c7)],[],this['_handler'],_0x154fdf);}};_0x51f360=_0x56271e([_0x4baee0(0x4,_0x4fa573[_0x5d4ae1(0x274)](_0x4fa573[_0x5d4ae1(0x38e)])),_0x4baee0(0x5,_0x4fa573[_0x5d4ae1(0x274)](_0x1aa573['RevisionService'])),_0x4baee0(0x6,_0x4fa573[_0x5d4ae1(0x274)](_0x488928[_0x5d4ae1(0x296)])),_0x4baee0(0x7,_0x1c7e0a[_0x5d4ae1(0x264)]),_0x4baee0(0x8,_0x1c7e0a['ILogService']),_0x4baee0(0x9,_0x1aa573[_0x5d4ae1(0x38a)]),_0x4baee0(0xa,_0x1c7e0a[_0x5d4ae1(0x3ba)])],_0x51f360);let _0x5483a3=class extends _0x45334a{constructor(_0x144f19,_0x455969,_0x411a58,_0x4e3485,_0x5c37fb,_0xe5b136,_0x4209e9,_0x1820bb,_0x2e055f,_0x1c0d7f,_0x2dfe5f,_0x46c643){const _0x4d168c=_0x5d4ae1;super(_0x144f19,_0x455969,_0x411a58,_0x4e3485,_0x5c37fb,_0x2e055f,_0x46c643,_0x4209e9,_0x1820bb),_0x2308c9(this,_0x4d168c(0x3cd),_0x4d168c(0x162)),(this[_0x4d168c(0x12f)]=_0xe5b136,this['_logService']=_0x1c0d7f,this[_0x4d168c(0x143)]=_0x2dfe5f);}[_0x5d4ae1(0x287)](_0x313062){const _0x27ac9a=_0x5d4ae1;return this[_0x27ac9a(0x1b4)]['push'](_0x313062),this;}[_0x5d4ae1(0x40b)](_0x4cf550){const _0x474d71=_0x5d4ae1;if(this[_0x474d71(0x314)](_0x4cf550))return this[_0x474d71(0x12f)][_0x474d71(0xd0)](_0x307304,this[_0x474d71(0x306)],this['type'],this[_0x474d71(0x3c7)],this[_0x474d71(0x1b4)],null,[_0x4cf550],this[_0x474d71(0x237)]);try{const _0x19d5e4=this[_0x474d71(0x143)][_0x474d71(0x3d2)]([_0x4cf550],[this[_0x474d71(0x3c7)]],!0x1);if(_0x1aa573[_0x474d71(0x3e5)](_0x19d5e4)){const {c1Prime:_0x1b39b5,c2Prime:_0x302307}=_0x19d5e4,_0x2c5f3c=this['_transformService']['transformMutationsWithChangeset'](_0x1b39b5[0x0],this[_0x474d71(0x1b4)]);if(_0x1aa573[_0x474d71(0x37e)](_0x2c5f3c)){const {c1Prime:_0x163952,m2Prime:_0x30b240}=_0x2c5f3c;return this[_0x474d71(0x21a)](_0x163952),_0x302307[0x0][_0x474d71(0x207)]=this[_0x474d71(0x111)](),this[_0x474d71(0x12f)]['createInstance'](_0x5483a3,this[_0x474d71(0x306)],this[_0x474d71(0x302)],_0x302307[0x0],_0x30b240,this[_0x474d71(0x237)]);}throw _0x2c5f3c[_0x474d71(0x34d)];}throw _0x19d5e4[_0x474d71(0x34d)];}catch(_0x45198e){return this[_0x474d71(0x38d)]['error'](_0x45198e),this[_0x474d71(0x34c)](!0x1);}}['onRemoteAck'](_0x1c1e38){const _0x46f7fa=_0x5d4ae1;if(this['_checkMissing'](_0x1c1e38))return this['_injector'][_0x46f7fa(0xd0)](_0x307304,this[_0x46f7fa(0x306)],this['type'],null,this[_0x46f7fa(0x1b4)],this['_awaitingChangeset'],[],this[_0x46f7fa(0x237)]);this[_0x46f7fa(0x41e)]();const _0x46cc5d=this[_0x46f7fa(0x12f)][_0x46f7fa(0xd0)](_0x305b7b,this['unitID'],this['type'],this[_0x46f7fa(0x1b4)],this['_handler']);return _0x46cc5d[_0x46f7fa(0x46a)](),_0x46cc5d[_0x46f7fa(0x31e)](),_0x46cc5d;}['onRemoteRej'](_0x26341b){const _0x44cfc1=_0x5d4ae1;return this[_0x44cfc1(0x34c)](!!(_0x26341b!=null&&_0x26341b[_0x44cfc1(0x294)]));}[_0x5d4ae1(0x1ba)](){const _0x4b0253=_0x5d4ae1;return this[_0x4b0253(0x12f)]['createInstance'](_0x5bbdd1,this[_0x4b0253(0x306)],this[_0x4b0253(0x302)],this['_awaitingChangeset'],this[_0x4b0253(0x1b4)],this[_0x4b0253(0x237)]);}['toggleOnline'](){return this;}[_0x5d4ae1(0x1b2)](){const _0x3d7f0b=_0x5d4ae1;this[_0x3d7f0b(0x237)]['onSendChangeset'](this[_0x3d7f0b(0x3c7)]);}[_0x5d4ae1(0x34c)](_0x365a6e){const _0x3cbe0f=_0x5d4ae1;return this[_0x3cbe0f(0x12f)][_0x3cbe0f(0xd0)](_0x4e84bf,this[_0x3cbe0f(0x306)],this['type'],null,this[_0x3cbe0f(0x1b4)],this[_0x3cbe0f(0x237)],_0x365a6e);}};_0x5483a3=_0x56271e([_0x4baee0(0x5,_0x4fa573[_0x5d4ae1(0x274)](_0x4fa573[_0x5d4ae1(0x38e)])),_0x4baee0(0x6,_0x4fa573[_0x5d4ae1(0x274)](_0x1aa573[_0x5d4ae1(0x183)])),_0x4baee0(0x7,_0x4fa573['Inject'](_0x488928[_0x5d4ae1(0x296)])),_0x4baee0(0x8,_0x1c7e0a[_0x5d4ae1(0x264)]),_0x4baee0(0x9,_0x1c7e0a[_0x5d4ae1(0x3d7)]),_0x4baee0(0xa,_0x1aa573[_0x5d4ae1(0x38a)]),_0x4baee0(0xb,_0x1c7e0a[_0x5d4ae1(0x3ba)])],_0x5483a3);let _0x4e84bf=class extends _0x45334a{constructor(_0x52d047,_0x16d542,_0x10f0f3,_0x4ddac9,_0x177e14,_0x4fe24b=!0x1,_0x3708a5,_0x5c9dd9,_0x152dc0,_0x337a14,_0x2d07b0,_0x1cf28a,_0x1d84d1){const _0x1f6671=_0x5d4ae1;super(_0x52d047,_0x16d542,_0x10f0f3,_0x4ddac9,_0x177e14,_0x5c9dd9,_0x152dc0,_0x2d07b0,_0x337a14),_0x2308c9(this,_0x1f6671(0x3cd),_0x1f6671(0x105)),(this[_0x1f6671(0x416)]=_0x4fe24b,this[_0x1f6671(0x319)]=_0x3708a5,this['_localeService']=_0x1cf28a,this[_0x1f6671(0xc6)]=_0x1d84d1,this[_0x1f6671(0xd6)](),this[_0x1f6671(0x46d)](),this[_0x1f6671(0x336)]());}['appendMutation'](){return this;}[_0x5d4ae1(0x40b)](){return this;}[_0x5d4ae1(0x102)](){return this;}[_0x5d4ae1(0x1e6)](){return this;}[_0x5d4ae1(0x1ba)](){return this;}[_0x5d4ae1(0x484)](){return this;}[_0x5d4ae1(0x1b2)](){const _0x5eafa9=_0x5d4ae1;throw new Error(_0x5eafa9(0x16f));}[_0x5d4ae1(0x46d)](){const _0x5263cd=_0x5d4ae1;this[_0x5263cd(0x25a)][_0x5263cd(0xbd)](this[_0x5263cd(0x306)],this[_0x5263cd(0x302)],null,[]);}['_showConflictNotification'](){const _0x49e223=_0x5d4ae1;this[_0x49e223(0x416)]?this[_0x49e223(0xc6)][_0x49e223(0x3fc)]({'title':this[_0x49e223(0x13a)]['t']('permission.title'),'content':this[_0x49e223(0x13a)]['t'](_0x49e223(0x309)),'type':_0x49e223(0x34d),'duration':0x0}):this[_0x49e223(0xc6)][_0x49e223(0x3fc)]({'title':this[_0x49e223(0x13a)]['t'](_0x49e223(0xba)),'content':this[_0x49e223(0x13a)]['t'](_0x49e223(0x2fe)),'type':_0x49e223(0x34d),'duration':0x0});}[_0x5d4ae1(0x336)](){const _0x5af6b7=_0x5d4ae1;this[_0x5af6b7(0x319)][_0x5af6b7(0x283)](new _0x213e0a[(_0x5af6b7(0x152))](this[_0x5af6b7(0x306)])['id'],!0x1);}};_0x4e84bf=_0x56271e([_0x4baee0(0x6,_0x4fa573[_0x5d4ae1(0x274)](_0x1c7e0a[_0x5d4ae1(0x2eb)])),_0x4baee0(0x7,_0x1c7e0a[_0x5d4ae1(0x264)]),_0x4baee0(0x8,_0x1c7e0a[_0x5d4ae1(0x3ba)]),_0x4baee0(0x9,_0x4fa573[_0x5d4ae1(0x274)](_0x488928[_0x5d4ae1(0x296)])),_0x4baee0(0xa,_0x4fa573[_0x5d4ae1(0x274)](_0x1aa573[_0x5d4ae1(0x183)])),_0x4baee0(0xb,_0x4fa573[_0x5d4ae1(0x274)](_0x1c7e0a[_0x5d4ae1(0x476)])),_0x4baee0(0xc,_0x1fdc42[_0x5d4ae1(0x14a)])],_0x4e84bf);let _0x5bbdd1=class extends _0x45334a{constructor(_0x51a8ca,_0x39ab34,_0x4cb99f,_0x140521,_0x2fdf88,_0x4eff91,_0x47bd50,_0x3cac0a,_0x5f1375,_0x5e96c3){const _0x257853=_0x5d4ae1;super(_0x51a8ca,_0x39ab34,_0x4cb99f,_0x140521,_0x2fdf88,_0x5f1375,_0x5e96c3,_0x47bd50,_0x3cac0a),_0x2308c9(this,_0x257853(0x3cd),_0x257853(0xf5)),this[_0x257853(0x12f)]=_0x4eff91;}[_0x5d4ae1(0x287)](_0x1a65a5){const _0x4d21c3=_0x5d4ae1;return this[_0x4d21c3(0x1b4)][_0x4d21c3(0x21f)](_0x1a65a5),this['_updateLocalCache'](),this;}[_0x5d4ae1(0x40b)](_0x152122){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){const _0xb9c5aa=_0x5d4ae1;throw new Error(_0xb9c5aa(0x418));}['onRemoteRej'](){const _0x2a4125=_0x5d4ae1;throw new Error(_0x2a4125(0x266));}[_0x5d4ae1(0x1ba)](){return this;}[_0x5d4ae1(0x484)](){const _0x1157ba=_0x5d4ae1,{_injector:_0x182aef,_pendingMutations:_0x1d7a61,_awaitingChangeset:_0x8b0664,unitID:_0x3939e2,_handler:_0x50cf1e,type:_0x1ccfa4}=this,_0x4c40e4=_0x2c4e79(_0x182aef,_0x3939e2,_0x1ccfa4,_0x8b0664,_0x1d7a61,_0x50cf1e);return _0x4c40e4 instanceof _0x305b7b?_0x4c40e4[_0x1157ba(0x46a)]():(_0x4c40e4 instanceof _0x5483a3||_0x4c40e4 instanceof _0x51f360)&&_0x4c40e4[_0x1157ba(0x1b2)](),_0x4c40e4;}[_0x5d4ae1(0x1b2)](){const _0x157bfe=_0x5d4ae1;throw new Error(_0x157bfe(0x41d));}};_0x5bbdd1=_0x56271e([_0x4baee0(0x5,_0x4fa573[_0x5d4ae1(0x274)](_0x4fa573[_0x5d4ae1(0x38e)])),_0x4baee0(0x6,_0x4fa573[_0x5d4ae1(0x274)](_0x1aa573[_0x5d4ae1(0x183)])),_0x4baee0(0x7,_0x4fa573['Inject'](_0x488928[_0x5d4ae1(0x296)])),_0x4baee0(0x8,_0x1c7e0a[_0x5d4ae1(0x264)]),_0x4baee0(0x9,_0x1c7e0a['IUndoRedoService'])],_0x5bbdd1);let _0x307304=class extends _0x45334a{constructor(_0x11745e,_0x43c51c,_0x3550b0,_0x30b7c8,_0x1c8171,_0x26753a,_0x394dfb,_0x17a975,_0xa7e0b9,_0x11409d,_0x17efab,_0x1117ed,_0xf5a75d,_0x2c182d){const _0x531954=_0x5d4ae1;super(_0x11745e,_0x43c51c,_0x3550b0,_0x30b7c8,_0x394dfb,_0x1117ed,_0xf5a75d,_0xa7e0b9,_0x11409d),_0x2308c9(this,'status',_0x531954(0x2d4)),(this[_0x531954(0x1bf)]=_0x1c8171,this[_0x531954(0x3e0)]=_0x26753a,this['_injector']=_0x17a975,this[_0x531954(0x38d)]=_0x17efab,this[_0x531954(0x143)]=_0x2c182d);}['onMissedChangesetFetched'](_0x2d9deb){const _0x4dceaf=_0x5d4ae1;try{const _0xe7c2e1=[..._0x2d9deb,...this[_0x4dceaf(0x3e0)]],_0x1d96eb=[this[_0x4dceaf(0x3c7)]||this[_0x4dceaf(0x1bf)]]['filter'](_0x36217b=>!!_0x36217b);let _0x18b384,_0x31395f;if(_0x1d96eb[_0x4dceaf(0x30d)]){const _0x5aecf7=this[_0x4dceaf(0x143)][_0x4dceaf(0x3d2)](_0xe7c2e1,_0x1d96eb,!0x1);if(!_0x1aa573[_0x4dceaf(0x3e5)](_0x5aecf7))throw _0x5aecf7['error'];_0x18b384=_0x5aecf7[_0x4dceaf(0x292)],_0x31395f=_0x5aecf7[_0x4dceaf(0x361)];}else _0x18b384=_0xe7c2e1,_0x31395f=[];let _0x264c23=this[_0x4dceaf(0x1b4)];_0x18b384[_0x4dceaf(0x32c)](_0x4953b5=>{const _0x435809=_0x4dceaf;let _0x28363b;if(_0x264c23[_0x435809(0x30d)]){const _0x82b5b5=this[_0x435809(0x143)][_0x435809(0x204)](_0x4953b5,_0x264c23);if(!_0x1aa573['isTransformMutationsWithChangesetSuccess'](_0x82b5b5))throw _0x82b5b5[_0x435809(0x34d)];_0x28363b=_0x82b5b5[_0x435809(0x292)],_0x264c23=_0x82b5b5['m2Prime'];}else _0x28363b=_0x4953b5;this['_executeRemoteChangeset'](_0x28363b);}),this['_acknowledgedAwaitingChangeset']&&this[_0x4dceaf(0x41e)](),this[_0x4dceaf(0x3c7)]&&_0x31395f[_0x4dceaf(0x30d)]&&(_0x31395f[0x0][_0x4dceaf(0x207)]=this[_0x4dceaf(0x111)]());let _0x55f272;if(this[_0x4dceaf(0x3c7)]&&_0x264c23['length']!==0x0)_0x55f272=this['_injector']['createInstance'](_0x5483a3,this[_0x4dceaf(0x306)],this[_0x4dceaf(0x302)],_0x31395f[0x0],_0x264c23,this['_handler']);else{if(this[_0x4dceaf(0x3c7)]&&_0x264c23[_0x4dceaf(0x30d)]===0x0)_0x31395f[0x0]['baseRev']=this[_0x4dceaf(0x111)](),_0x55f272=this['_injector']['createInstance'](_0x51f360,this['unitID'],this[_0x4dceaf(0x302)],_0x31395f[0x0],this[_0x4dceaf(0x237)]);else{if(_0x264c23[_0x4dceaf(0x30d)]!==0x0){const _0x3fecf0=this[_0x4dceaf(0x12f)][_0x4dceaf(0xd0)](_0x305b7b,this[_0x4dceaf(0x306)],this[_0x4dceaf(0x302)],_0x264c23,this[_0x4dceaf(0x237)]);_0x3fecf0[_0x4dceaf(0x46a)](),_0x55f272=_0x3fecf0;}else _0x55f272=this[_0x4dceaf(0x12f)][_0x4dceaf(0xd0)](_0x50ebe9,this['unitID'],this[_0x4dceaf(0x302)],this['_handler']);}}return _0x55f272['_updateLocalCache'](),_0x55f272;}catch(_0x46164a){return this['_logService']['error'](_0x4dceaf(0x1bc),'failed\x20to\x20apply\x20missed\x20changesets!',_0x46164a),this[_0x4dceaf(0x12f)]['createInstance'](_0x4e84bf,this[_0x4dceaf(0x306)],this[_0x4dceaf(0x302)],this[_0x4dceaf(0x3c7)],this[_0x4dceaf(0x1b4)],this[_0x4dceaf(0x237)],!0x1);}}[_0x5d4ae1(0x1b2)](){const _0xc4d73a=_0x5d4ae1;throw new Error(_0xc4d73a(0x1df));}[_0x5d4ae1(0x287)](_0x4d3018){return this['_pendingMutations']['push'](_0x4d3018),this;}[_0x5d4ae1(0x40b)](_0x5f2094){const _0xbfbb15=_0x5d4ae1;return this['_queuedRemoteChangesets'][_0xbfbb15(0x21f)](_0x5f2094),this;}[_0x5d4ae1(0x102)](_0x554eff){const _0x369ed4=_0x5d4ae1;if(this[_0x369ed4(0x3c7)])return this['_acknowledgedAwaitingChangeset']=this[_0x369ed4(0x3c7)],this[_0x369ed4(0x3c7)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x5a8fc4){const _0x232ce5=_0x5d4ae1;return this['_onConflict'](!!(_0x5a8fc4!=null&&_0x5a8fc4[_0x232ce5(0x294)]));}[_0x5d4ae1(0x1ba)](){const _0xd689b8=_0x5d4ae1;return this[_0xd689b8(0x12f)][_0xd689b8(0xd0)](_0x5bbdd1,this[_0xd689b8(0x306)],this[_0xd689b8(0x302)],this[_0xd689b8(0x3c7)],this['_pendingMutations'],this[_0xd689b8(0x237)]);}[_0x5d4ae1(0x484)](){return this;}['_onConflict'](_0x2782e9){const _0x4d641f=_0x5d4ae1;return this[_0x4d641f(0x12f)][_0x4d641f(0xd0)](_0x4e84bf,this['unitID'],this[_0x4d641f(0x302)],this[_0x4d641f(0x3c7)],this[_0x4d641f(0x1b4)],this['_handler'],_0x2782e9);}};_0x307304=_0x56271e([_0x4baee0(0x7,_0x4fa573['Inject'](_0x4fa573[_0x5d4ae1(0x38e)])),_0x4baee0(0x8,_0x4fa573['Inject'](_0x1aa573[_0x5d4ae1(0x183)])),_0x4baee0(0x9,_0x4fa573[_0x5d4ae1(0x274)](_0x488928[_0x5d4ae1(0x296)])),_0x4baee0(0xa,_0x1c7e0a[_0x5d4ae1(0x3d7)]),_0x4baee0(0xb,_0x1c7e0a[_0x5d4ae1(0x264)]),_0x4baee0(0xc,_0x1c7e0a[_0x5d4ae1(0x3ba)]),_0x4baee0(0xd,_0x1aa573[_0x5d4ae1(0x38a)])],_0x307304);function _0x2c4e79(_0x5d5bd4,_0x24e2d5,_0x57384d,_0x48a14a,_0xb5983f,_0x43079f){const _0x416045=_0x5d4ae1;return _0x48a14a&&_0xb5983f[_0x416045(0x30d)]?_0x5d5bd4[_0x416045(0xd0)](_0x5483a3,_0x24e2d5,_0x57384d,_0x48a14a,_0xb5983f,_0x43079f):_0x48a14a?_0x5d5bd4[_0x416045(0xd0)](_0x51f360,_0x24e2d5,_0x57384d,_0x48a14a,_0x43079f):_0xb5983f[_0x416045(0x30d)]?_0x5d5bd4[_0x416045(0xd0)](_0x305b7b,_0x24e2d5,_0x57384d,_0xb5983f,_0x43079f):_0x5d5bd4[_0x416045(0xd0)](_0x50ebe9,_0x24e2d5,_0x57384d,_0x43079f);}var _0x2b6541=Object[_0x5d4ae1(0x428)],_0x55e70a=Object[_0x5d4ae1(0x23a)],_0x21ce2b=(_0x522ad1,_0x4aee8b,_0x36a1d1,_0xfb7004)=>{for(var _0x4d1406=_0xfb7004>0x1?void 0x0:_0xfb7004?_0x55e70a(_0x4aee8b,_0x36a1d1):_0x4aee8b,_0x35ea06=_0x522ad1['length']-0x1,_0x208980;_0x35ea06>=0x0;_0x35ea06--)(_0x208980=_0x522ad1[_0x35ea06])&&(_0x4d1406=(_0xfb7004?_0x208980(_0x4aee8b,_0x36a1d1,_0x4d1406):_0x208980(_0x4d1406))||_0x4d1406);return _0xfb7004&&_0x4d1406&&_0x2b6541(_0x4aee8b,_0x36a1d1,_0x4d1406),_0x4d1406;},_0x5802e5=(_0x1c4917,_0x502c2e)=>(_0x57aff2,_0x706228)=>_0x502c2e(_0x57aff2,_0x706228,_0x1c4917);_0x488928['CollaborationController']=class extends _0x1c7e0a[_0x5d4ae1(0x2bb)]{constructor(_0x3e212f,_0x2153ae,_0xe18b3d){const _0x2f53bf=_0x5d4ae1;super(),_0x2308c9(this,_0x2f53bf(0x3be),new Map()),_0x2308c9(this,'_entityInit$',new _0xf632fb[(_0x2f53bf(0x1b7))]()),(this['_injector']=_0x3e212f,this['_collabSessionService']=_0x2153ae,this['_univerInstanceService']=_0xe18b3d,this[_0x2f53bf(0x3c0)]());}[_0x5d4ae1(0x26d)](){const _0x33c933=_0x5d4ae1;super[_0x33c933(0x26d)](),this[_0x33c933(0x3be)][_0x33c933(0x32c)](_0x13b15f=>_0x13b15f[_0x33c933(0x26d)]()),this[_0x33c933(0x3be)]['clear']();}[_0x5d4ae1(0x2b4)](_0x59deb9){const _0x3f48e7=_0x5d4ae1;var _0x4b5fc0;return(_0x4b5fc0=this[_0x3f48e7(0x3be)][_0x3f48e7(0xec)](_0x59deb9))!=null?_0x4b5fc0:null;}[_0x5d4ae1(0x1a2)](_0x723600){const _0x2b1771=_0x5d4ae1,_0x79fc79=this[_0x2b1771(0x2b4)](_0x723600);return _0x79fc79?_0xf632fb['of'](_0x79fc79):this[_0x2b1771(0x25b)]['pipe'](_0x2c2667[_0x2b1771(0x23f)](_0x4342c4=>_0x4342c4[_0x2b1771(0x306)]===_0x723600));}[_0x5d4ae1(0x3c0)](){const _0x22be7a=_0x5d4ae1;this['_univerInstanceService'][_0x22be7a(0x17e)](_0x1c7e0a[_0x22be7a(0x22d)][_0x22be7a(0xfd)])['pipe'](_0xf632fb['takeUntil'](this[_0x22be7a(0x40c)]),_0x2c2667[_0x22be7a(0x376)](0x10))[_0x22be7a(0x41c)](async _0x1cc38c=>{const _0x103b12=_0x22be7a,_0x101bb5=_0x1cc38c['getUnitId'](),_0x5e80ba=await this[_0x103b12(0x32e)](_0x101bb5,_0x38246c[_0x103b12(0xfd)]);this[_0x103b12(0x3be)][_0x103b12(0x36b)](_0x101bb5,_0x5e80ba);}),this[_0x22be7a(0x2aa)]['getTypeOfUnitAdded$'](_0x1c7e0a[_0x22be7a(0x22d)][_0x22be7a(0xe0)])[_0x22be7a(0x272)](_0xf632fb[_0x22be7a(0x360)](this['dispose$']),_0x2c2667[_0x22be7a(0x376)](0x10))[_0x22be7a(0x272)](_0x2c2667[_0x22be7a(0x23f)](_0x3176ba=>!_0x3176ba[_0x22be7a(0x37d)]()[_0x22be7a(0x228)]('__')))['subscribe'](async _0x294994=>{const _0x240c93=_0x22be7a,_0x419099=_0x294994[_0x240c93(0x37d)](),_0x1574dd=await this[_0x240c93(0x32e)](_0x419099,_0x38246c[_0x240c93(0xe0)]);this['_entities'][_0x240c93(0x36b)](_0x419099,_0x1574dd);}),_0xf632fb[_0x22be7a(0xca)](this[_0x22be7a(0x2aa)][_0x22be7a(0x3a1)](_0x1c7e0a[_0x22be7a(0x22d)][_0x22be7a(0xfd)]),this[_0x22be7a(0x2aa)][_0x22be7a(0x3a1)](_0x1c7e0a['UniverInstanceType'][_0x22be7a(0xe0)]))['pipe'](_0xf632fb[_0x22be7a(0x360)](this[_0x22be7a(0x40c)]))[_0x22be7a(0x41c)](_0x2c0c96=>{const _0x116b4d=_0x22be7a,_0x1a32b9=_0x2c0c96[_0x116b4d(0x37d)](),_0x2c42cf=this[_0x116b4d(0x3be)]['get'](_0x1a32b9);_0x2c42cf&&(_0x2c42cf[_0x116b4d(0x26d)](),this[_0x116b4d(0x3be)][_0x116b4d(0x1f0)](_0x1a32b9));});}async[_0x5d4ae1(0x32e)](_0x110779,_0x2f1dbf){const _0x4c475=_0x5d4ae1,_0x4c8ef0=await this[_0x4c475(0x3f2)][_0x4c475(0x444)](_0x110779),_0xa496a3=this['_injector'][_0x4c475(0xd0)](this[_0x4c475(0x2e7)](_0x2f1dbf),_0x110779,_0x2f1dbf,_0x4c8ef0);return await _0xa496a3[_0x4c475(0x2d7)](),this[_0x4c475(0x25b)]['next'](_0xa496a3),_0xa496a3;}['_getCtorByUniverType'](_0x3f3ef8){const _0x30e0db=_0x5d4ae1;switch(_0x3f3ef8){case _0x38246c[_0x30e0db(0xe0)]:return _0x55aaa2;case _0x38246c[_0x30e0db(0xfd)]:return _0x1c388b;default:throw new Error(_0x30e0db(0x44c)+_0x3f3ef8);}}},_0x488928['CollaborationController']=_0x21ce2b([_0x1c7e0a[_0x5d4ae1(0x466)](_0x1c7e0a[_0x5d4ae1(0x25f)]['Starting'],_0x488928['CollaborationController']),_0x5802e5(0x0,_0x4fa573[_0x5d4ae1(0x274)](_0x4fa573[_0x5d4ae1(0x38e)])),_0x5802e5(0x1,_0x4fa573['Inject'](_0x488928['CollaborationSessionService'])),_0x5802e5(0x2,_0x1c7e0a[_0x5d4ae1(0x2e9)])],_0x488928[_0x5d4ae1(0x427)]);let _0x4e1c4a=class extends _0x1c7e0a['RxDisposable']{constructor(_0x81e823,_0x5764ad,_0x2822fa,_0x3cca34,_0x360e1c,_0x444760,_0x40019f,_0x146544,_0x5c65af,_0x19a8a4,_0x4240d9,_0x1d33d6,_0x22c225){const _0x541e5a=_0x5d4ae1;super(),_0x2308c9(this,_0x541e5a(0x210),new _0xf632fb[(_0x541e5a(0x195))](null)),_0x2308c9(this,'state$',this[_0x541e5a(0x210)][_0x541e5a(0x1b6)]()),_0x2308c9(this,_0x541e5a(0x48f)),_0x2308c9(this,_0x541e5a(0x22b),!0x1),_0x2308c9(this,_0x541e5a(0x137),this['state$'][_0x541e5a(0x272)](_0x2c2667[_0x541e5a(0x324)](_0x8468e3=>_0x8468e3?_0x8468e3[_0x541e5a(0x3cd)]:_0x340600[_0x541e5a(0x1e5)]),_0x2c2667['shareReplay'](0x1))),_0x2308c9(this,_0x541e5a(0x388),!0x1),_0x2308c9(this,_0x541e5a(0x173),[]),(this[_0x541e5a(0x306)]=_0x81e823,this[_0x541e5a(0x188)]=_0x5764ad,this[_0x541e5a(0x375)]=_0x2822fa,this[_0x541e5a(0x12f)]=_0x3cca34,this[_0x541e5a(0x25a)]=_0x360e1c,this[_0x541e5a(0x29e)]=_0x444760,this[_0x541e5a(0x13a)]=_0x40019f,this['_revisionService']=_0x146544,this[_0x541e5a(0x38d)]=_0x5c65af,this[_0x541e5a(0x28d)]=_0x19a8a4,this[_0x541e5a(0x1c9)]=_0x4240d9,this[_0x541e5a(0x319)]=_0x1d33d6,this[_0x541e5a(0x200)]=_0x22c225);}get[_0x5d4ae1(0x271)](){const _0x20cfff=_0x5d4ae1;return this[_0x20cfff(0x48f)];}async[_0x5d4ae1(0x2d7)](){const _0x24f0d4=_0x5d4ae1;if(this[_0x24f0d4(0x271)])throw new Error(_0x24f0d4(0x2bd));await this[_0x24f0d4(0x3c0)]();}[_0x5d4ae1(0x1fb)](){const _0x2cc6f9=_0x5d4ae1;return this[_0x2cc6f9(0x22b)]=!0x0,_0x1c7e0a[_0x2cc6f9(0x2e6)](()=>{const _0x505586=_0x2cc6f9;this['_collaborationPaused']=!0x1,this[_0x505586(0x3d6)]();});}[_0x5d4ae1(0x211)](_0xc3842a){const _0x267158=_0x5d4ae1;this[_0x267158(0x48f)]=_0xc3842a,this[_0x267158(0x210)]['next'](_0xc3842a);}async[_0x5d4ae1(0x3c0)](){const _0x4256e8=_0x5d4ae1;var _0x3a9c87;return this['_updateState'](await this[_0x4256e8(0x238)]()),this[_0x4256e8(0x200)]&&((_0x3a9c87=this[_0x4256e8(0x200)])==null||_0x3a9c87[_0x4256e8(0xb4)](this['unitID']),this['disposeWithMe'](_0x1c7e0a['toDisposable'](this[_0x4256e8(0x200)][_0x4256e8(0x308)](this['unitID'])[_0x4256e8(0x41c)](_0xeda2e=>{const _0x1060fc=_0x4256e8;this[_0x1060fc(0x38d)][_0x1060fc(0x248)](_0x1060fc(0x101),_0x1060fc(0x300),_0xeda2e),_0xeda2e===_0x5d2b88[_0x1060fc(0x191)]?(this['_messageService'][_0x1060fc(0x3fc)]({'content':this['_localeService']['t'](_0x1060fc(0x1a7)),'type':_0x3ce12d[_0x1060fc(0xd7)]['Warning']}),this[_0x1060fc(0x319)]['updatePermissionPoint'](new _0x213e0a[(_0x1060fc(0x152))](this[_0x1060fc(0x306)])['id'],!0x1)):this['_permissionService'][_0x1060fc(0x283)](new _0x213e0a['WorkbookEditablePermission'](this[_0x1060fc(0x306)])['id'],!0x0);})))),this[_0x4256e8(0xf2)](_0x1c7e0a[_0x4256e8(0x2e6)](this[_0x4256e8(0x375)][_0x4256e8(0x407)][_0x4256e8(0x41c)](_0x17adad=>{const _0x1d47f0=_0x4256e8;_0x17adad===_0x3ea00b['ONLINE']?this[_0x1d47f0(0x169)]():_0x17adad===_0x3ea00b['OFFLINE']&&this[_0x1d47f0(0x40f)]();}))),this[_0x4256e8(0xf2)](_0x1c7e0a[_0x4256e8(0x2e6)](this['_session'][_0x4256e8(0xf0)][_0x4256e8(0x41c)](_0x473e1d=>{const _0x3c7647=_0x4256e8;try{switch(_0x473e1d['eventID']){case _0x1aa573['CollaborationEvent'][_0x3c7647(0x214)]:{this[_0x3c7647(0x1d6)](_0x1aa573[_0x3c7647(0x352)](_0x473e1d['data']));break;}case _0x1aa573[_0x3c7647(0x168)][_0x3c7647(0x485)]:{this[_0x3c7647(0x151)](_0x473e1d[_0x3c7647(0x12b)]);break;}case _0x1aa573[_0x3c7647(0x168)][_0x3c7647(0x19f)]:{this[_0x3c7647(0x40e)]();break;}case _0x1aa573[_0x3c7647(0x168)][_0x3c7647(0x362)]:{this[_0x3c7647(0x39c)](_0x473e1d['data'][_0x3c7647(0x157)][_0x3c7647(0x324)](_0x4d89f7=>_0x1aa573[_0x3c7647(0x352)](_0x4d89f7)));break;}case _0x1aa573['CollaborationEvent'][_0x3c7647(0x11e)]:this[_0x3c7647(0x40e)]({'isPermissionRej':!0x0});}}catch(_0x27edb4){throw console[_0x3c7647(0x34d)]('Error\x20on\x20receiving\x20event',_0x27edb4),_0x27edb4;}}))),this[_0x4256e8(0x48f)];}['_unlockTransition'](){const _0x56c2cd=_0x5d4ae1;this[_0x56c2cd(0x388)]=!0x1;}[_0x5d4ae1(0x116)](){const _0x1476dd=_0x5d4ae1;if(this[_0x1476dd(0x388)])throw new Error(_0x1476dd(0x252));this[_0x1476dd(0x388)]=!0x0;}[_0x5d4ae1(0x213)](_0x45cb0c){const _0x1e6cc0=_0x5d4ae1;this[_0x1e6cc0(0x116)](),this[_0x1e6cc0(0x211)](this[_0x1e6cc0(0x48f)][_0x1e6cc0(0x287)](_0x45cb0c)),this[_0x1e6cc0(0x3f4)]();}[_0x5d4ae1(0x1d6)](_0x49dac7){const _0x1cea4f=_0x5d4ae1;if(!(_0x49dac7[_0x1cea4f(0x46f)]<=this['_revisionService'][_0x1cea4f(0x18e)](this['unitID']))){if(this[_0x1cea4f(0x22b)]){this['_remoteChangesetQueue']['push'](_0x49dac7);return;}this['_applyRemoteChangeset'](_0x49dac7);}}['_exhaustRemoteChangesetQueue'](){const _0xb235d8=_0x5d4ae1;this[_0xb235d8(0x173)][_0xb235d8(0x32c)](_0x5c0679=>this[_0xb235d8(0x223)](_0x5c0679)),this[_0xb235d8(0x173)]=[];}[_0x5d4ae1(0x223)](_0x13820a){const _0x38cdce=_0x5d4ae1,_0x5a551f=this['_compressMutationService'][_0x38cdce(0x17c)][_0x38cdce(0x456)](this[_0x38cdce(0x29e)][_0x38cdce(0x17c)]['getInterceptPoints']()[_0x38cdce(0x262)])(_0x13820a[_0x38cdce(0x27d)],null)||_0x13820a['mutations'],_0x1687af={..._0x13820a,'mutations':_0x5a551f};this[_0x38cdce(0x116)](),this[_0x38cdce(0x211)](this[_0x38cdce(0x48f)][_0x38cdce(0x40b)](_0x1687af)),this[_0x38cdce(0x3f4)]();}[_0x5d4ae1(0x151)](_0x2c8783){const _0x992763=_0x5d4ae1;this[_0x992763(0x116)](),this[_0x992763(0x211)](this[_0x992763(0x48f)][_0x992763(0x102)](_0x2c8783)),this[_0x992763(0x3f4)]();}[_0x5d4ae1(0x40e)](_0x2728a4){const _0x2c7397=_0x5d4ae1;this['_lockTransition'](),this[_0x2c7397(0x211)](this[_0x2c7397(0x48f)][_0x2c7397(0x1e6)](_0x2728a4)),this[_0x2c7397(0x3f4)]();}['_onFetchMissResult'](_0x59489d){const _0x4babf7=_0x5d4ae1;if(!(this['_state']instanceof _0x307304))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x5ce774=_0x59489d[_0x4babf7(0x324)](_0x4d17e7=>{const _0x2ac208=_0x4babf7,_0xb58b21=this['_compressMutationService'][_0x2ac208(0x17c)]['fetchThroughInterceptors'](this[_0x2ac208(0x29e)][_0x2ac208(0x17c)]['getInterceptPoints']()[_0x2ac208(0x262)])(_0x4d17e7[_0x2ac208(0x27d)],null)||_0x4d17e7['mutations'];return{..._0x4d17e7,'mutations':_0xb58b21};});this[_0x4babf7(0x116)](),this[_0x4babf7(0x211)](this['_state'][_0x4babf7(0x355)](_0x5ce774)),this['_unlockTransition']();}['_toggleOffline'](){const _0x416167=_0x5d4ae1;this[_0x416167(0x116)](),this[_0x416167(0x211)](this[_0x416167(0x48f)]['toggleOffline']()),this['_unlockTransition']();}[_0x5d4ae1(0x169)](){const _0x4afae1=_0x5d4ae1;this[_0x4afae1(0x116)](),this[_0x4afae1(0x211)](this[_0x4afae1(0x48f)][_0x4afae1(0x484)]()),this[_0x4afae1(0x3f4)]();}async['_createInitialState'](){return new Promise(_0x9ea54=>{const _0x4842c6=_0x18a3;this['_session'][_0x4842c6(0x407)]['pipe'](_0x2c2667[_0x4842c6(0x365)](0x1))[_0x4842c6(0x41c)](async _0x4c44d5=>{const _0x3dbe17=_0x4842c6;_0x9ea54(await this[_0x3dbe17(0x1c7)](_0x4c44d5===_0x3ea00b[_0x3dbe17(0x358)]));});});}[_0x5d4ae1(0x2cb)](){const _0x1b078e=this['unitID'];return{'onStateChange':(_0x555c1d,_0xff8cef)=>{const _0x4773ea=_0x18a3;if(_0x555c1d!==this['_state'])throw new Error('[ClientCollaborationController]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x555c1d[_0x4773ea(0x3cd)]+_0x4773ea(0x278)+_0xff8cef['status']+_0x4773ea(0x215)+this[_0x4773ea(0x48f)][_0x4773ea(0x3cd)]);this[_0x4773ea(0x211)](_0xff8cef);},'onSendChangeset':_0x315b21=>{const _0x4389a5=_0x18a3,_0xb26a4d={'eventID':_0x1aa573[_0x4389a5(0x168)][_0x4389a5(0x42d)],'data':{'unitID':_0x315b21['unitID'],'unitType':this[_0x4389a5(0x188)],'changeset':_0x315b21,'memberID':this[_0x4389a5(0x375)][_0x4389a5(0x412)]()}};this['_session'][_0x4389a5(0x455)](_0xb26a4d,this['unitID']);},'onMissingChangesets':({from:_0x34a290,to:_0x4cf7cf})=>{const _0x481876=_0x18a3;this[_0x481876(0x38d)]['debug'](_0x481876(0x101),'fetching\x20missing\x20changesets\x20from\x20'+_0x34a290+'\x20to\x20'+_0x4cf7cf);const _0xdb5d20={'eventID':_0x1aa573[_0x481876(0x168)][_0x481876(0x2c8)],'data':{'unitID':_0x1b078e,'unitType':this['_type'],'from':_0x34a290,'to':_0x4cf7cf}};this[_0x481876(0x375)][_0x481876(0x455)](_0xdb5d20,this[_0x481876(0x306)]);}};}async[_0x5d4ae1(0x1c7)](_0x2abf74){const _0x42e249=_0x5d4ae1;var _0x456731,_0x5237d7;const _0x2d8cbc=await this['_localCacheService']['loadOfflineData'](this[_0x42e249(0x306)]),_0x579d67=(_0x456731=_0x2d8cbc==null?void 0x0:_0x2d8cbc[_0x42e249(0x27d)])!=null?_0x456731:[],_0x3ea4a7=(_0x5237d7=_0x2d8cbc==null?void 0x0:_0x2d8cbc[_0x42e249(0x2ef)])!=null?_0x5237d7:null,_0x34ceea=this[_0x42e249(0x306)];try{this[_0x42e249(0x277)](_0x3ea4a7,_0x579d67);}catch(_0xfd1da0){this['_logService']['error'](_0xfd1da0);}const _0x3cf351=this[_0x42e249(0x2cb)]();if(_0x2abf74){const _0x103277=_0x2c4e79(this[_0x42e249(0x12f)],_0x34ceea,this[_0x42e249(0x188)],_0x3ea4a7,_0x579d67,_0x3cf351);return _0x103277 instanceof _0x305b7b?_0x103277[_0x42e249(0x46a)]():(_0x103277 instanceof _0x5483a3||_0x103277 instanceof _0x51f360)&&_0x103277['resend'](),_0x103277;}return this['_injector'][_0x42e249(0xd0)](_0x5bbdd1,_0x34ceea,this[_0x42e249(0x188)],_0x3ea4a7,_0x579d67,_0x3cf351);}[_0x5d4ae1(0x277)](_0x9a7213,_0x2d4246){const _0x5dfb8b=_0x5d4ae1;var _0x2298ff,_0x29ea8d;const _0x25a2ba=this[_0x5dfb8b(0x29e)][_0x5dfb8b(0x17c)]['fetchThroughInterceptors'](this[_0x5dfb8b(0x29e)]['interceptor'][_0x5dfb8b(0x145)]()[_0x5dfb8b(0x262)]);(_0x2298ff=_0x25a2ba((_0x9a7213==null?void 0x0:_0x9a7213[_0x5dfb8b(0x27d)])||[],null))==null||_0x2298ff[_0x5dfb8b(0x32c)](_0x2e12fc=>this[_0x5dfb8b(0x28d)]['executeCommand'](_0x2e12fc['id'],_0x2e12fc[_0x5dfb8b(0x121)])),(_0x29ea8d=_0x25a2ba(_0x2d4246||[],null))==null||_0x29ea8d[_0x5dfb8b(0x32c)](_0x28937f=>this[_0x5dfb8b(0x28d)][_0x5dfb8b(0x464)](_0x28937f['id'],_0x28937f[_0x5dfb8b(0x121)]));}};_0x4e1c4a=_0x21ce2b([_0x5802e5(0x3,_0x4fa573[_0x5d4ae1(0x274)](_0x4fa573['Injector'])),_0x5802e5(0x4,_0x4fa573['Inject'](_0x488928['LocalCacheService'])),_0x5802e5(0x5,_0x4fa573[_0x5d4ae1(0x274)](_0x1aa573[_0x5d4ae1(0x1d4)])),_0x5802e5(0x6,_0x4fa573[_0x5d4ae1(0x274)](_0x1c7e0a[_0x5d4ae1(0x476)])),_0x5802e5(0x7,_0x4fa573[_0x5d4ae1(0x274)](_0x1aa573['RevisionService'])),_0x5802e5(0x8,_0x1c7e0a[_0x5d4ae1(0x3d7)]),_0x5802e5(0x9,_0x1c7e0a[_0x5d4ae1(0x264)]),_0x5802e5(0xa,_0x1fdc42['IMessageService']),_0x5802e5(0xb,_0x1c7e0a[_0x5d4ae1(0x2eb)]),_0x5802e5(0xc,_0x4fa573[_0x5d4ae1(0x468)](_0x3a78a1))],_0x4e1c4a);let _0x55aaa2=class extends _0x4e1c4a{constructor(_0x3ed6c0,_0x3cf116,_0x191673,_0x2875a1,_0x47c28b,_0x12c389,_0x157130,_0x281f51,_0x68e7a2,_0x508a6d,_0x1b8b6b,_0xdf057c,_0xf9ffd9,_0x448a1e,_0x533a79,_0x4dec32,_0x14987e){const _0x4c4b66=_0x5d4ae1;super(_0x3ed6c0,_0x3cf116,_0x191673,_0x2875a1,_0x47c28b,_0x12c389,_0x157130,_0x281f51,_0xf9ffd9,_0x448a1e,_0x533a79,_0x4dec32,_0x14987e),this[_0x4c4b66(0x306)]=_0x3ed6c0,this[_0x4c4b66(0x302)]=_0x3cf116,this[_0x4c4b66(0x1af)]=_0x191673,this['_docStateChangeManagerService']=_0x68e7a2,this[_0x4c4b66(0xcf)]=_0x508a6d,this[_0x4c4b66(0x3c3)]=_0x1b8b6b,this[_0x4c4b66(0x28f)]=_0xdf057c;}[_0x5d4ae1(0x2cb)](){const _0x4b8810=_0x5d4ae1,_0xd7fdc0=super[_0x4b8810(0x2cb)]();return _0xd7fdc0[_0x4b8810(0x1aa)]=_0x20b5a7=>this[_0x4b8810(0xcf)]['transformIMECache'](_0x20b5a7),_0xd7fdc0[_0x4b8810(0x198)]=_0x5d3244=>this['_docTransformSelectionsService']['transformSelections'](_0x5d3244),_0xd7fdc0['onSyncEditingCollabCursor']=_0x322377=>this['_docSyncEditingCollabCursorService'][_0x4b8810(0x1e9)](_0x322377),_0xd7fdc0[_0x4b8810(0x1e8)]=_0x4e092a=>this['_docTransformIMECacheService'][_0x4b8810(0x301)](_0x4e092a),_0xd7fdc0;}async[_0x5d4ae1(0x3c0)](){const _0x404646=_0x5d4ae1,_0x5e62fb=await super[_0x404646(0x3c0)]();return this['_docStateChangeManagerService']['docStateChange$'][_0x404646(0x272)](_0xf632fb[_0x404646(0x360)](this[_0x404646(0x40c)]))[_0x404646(0x41c)](_0x581200=>{const _0x56e522=_0x404646;if(_0x581200==null)return;const {unitId:_0x45b257,redoState:_0x2e92aa,commandId:_0x1f1085}=_0x581200;if(_0x45b257!==this[_0x56e522(0x306)])return;const _0x2d2e14={'id':_0x1f1085,'type':_0x1c7e0a[_0x56e522(0x16b)][_0x56e522(0x16e)],'params':{'unitId':_0x45b257,'actions':_0x2e92aa[_0x56e522(0x401)],'textRanges':null}};this['_onLocalMutation'](_0x2d2e14);}),_0x5e62fb;}};_0x55aaa2=_0x21ce2b([_0x5802e5(0x3,_0x4fa573['Inject'](_0x4fa573[_0x5d4ae1(0x38e)])),_0x5802e5(0x4,_0x4fa573[_0x5d4ae1(0x274)](_0x488928[_0x5d4ae1(0x296)])),_0x5802e5(0x5,_0x4fa573[_0x5d4ae1(0x274)](_0x1aa573[_0x5d4ae1(0x1d4)])),_0x5802e5(0x6,_0x4fa573[_0x5d4ae1(0x274)](_0x1c7e0a[_0x5d4ae1(0x476)])),_0x5802e5(0x7,_0x4fa573['Inject'](_0x1aa573[_0x5d4ae1(0x183)])),_0x5802e5(0x8,_0x4fa573[_0x5d4ae1(0x274)](_0x1e7311[_0x5d4ae1(0x326)])),_0x5802e5(0x9,_0x4fa573['Inject'](_0x3ca91f)),_0x5802e5(0xa,_0x4fa573[_0x5d4ae1(0x274)](_0x3fe7af)),_0x5802e5(0xb,_0x4fa573[_0x5d4ae1(0x274)](_0x22361d)),_0x5802e5(0xc,_0x1c7e0a[_0x5d4ae1(0x3d7)]),_0x5802e5(0xd,_0x1c7e0a[_0x5d4ae1(0x264)]),_0x5802e5(0xe,_0x1fdc42[_0x5d4ae1(0x350)]),_0x5802e5(0xf,_0x1c7e0a[_0x5d4ae1(0x2eb)]),_0x5802e5(0x10,_0x4fa573[_0x5d4ae1(0x468)](_0x3a78a1))],_0x55aaa2);let _0x1c388b=class extends _0x4e1c4a{constructor(_0x344554,_0x3d798b,_0x176ca4,_0x2857d2,_0x27eca7,_0xf781ae,_0x338f39,_0x26c4c7,_0x13435e,_0x4f392e,_0x395bf0,_0x3fe539,_0x3b920c,_0xa7361b){const _0x5edff9=_0x5d4ae1;super(_0x344554,_0x3d798b,_0x176ca4,_0x2857d2,_0x27eca7,_0xf781ae,_0x338f39,_0x26c4c7,_0x4f392e,_0x395bf0,_0x3fe539,_0x3b920c,_0xa7361b),this[_0x5edff9(0x306)]=_0x344554,this['type']=_0x3d798b,this['session']=_0x176ca4,this[_0x5edff9(0x153)]=_0x13435e;}[_0x5d4ae1(0x2cb)](){const _0x10aca0=_0x5d4ae1,_0x11b194=super[_0x10aca0(0x2cb)]();return _0x11b194[_0x10aca0(0x198)]=_0x4763b8=>this[_0x10aca0(0x153)][_0x10aca0(0x2bc)](_0x4763b8),_0x11b194;}async[_0x5d4ae1(0x3c0)](){const _0x303df4=_0x5d4ae1,_0x6f2f4=await super[_0x303df4(0x3c0)]();return this[_0x303df4(0xf2)](this['_commandService'][_0x303df4(0x281)]((_0xb571a4,_0x36a51f)=>{const _0x2c1960=_0x303df4;if(_0xb571a4[_0x2c1960(0x302)]!==_0x1c7e0a[_0x2c1960(0x16b)][_0x2c1960(0x16e)]||_0x36a51f!=null&&_0x36a51f[_0x2c1960(0xc3)]||_0x36a51f!=null&&_0x36a51f['onlyLocal'])return;const _0x4d345b=_0xb571a4['params'];if((_0x4d345b==null?void 0x0:_0x4d345b[_0x2c1960(0x386)])!==this['unitID'])return;const _0x472c4f=_0xb571a4,_0x4a769c=this[_0x2c1960(0x29e)][_0x2c1960(0x17c)]['fetchThroughInterceptors'](this[_0x2c1960(0x29e)]['interceptor'][_0x2c1960(0x145)]()[_0x2c1960(0x3f6)])([_0x472c4f],null)||[_0x472c4f];this[_0x2c1960(0x213)](_0x4a769c[0x0]);})),_0x6f2f4;}};_0x1c388b=_0x21ce2b([_0x5802e5(0x3,_0x4fa573[_0x5d4ae1(0x274)](_0x4fa573[_0x5d4ae1(0x38e)])),_0x5802e5(0x4,_0x4fa573[_0x5d4ae1(0x274)](_0x488928[_0x5d4ae1(0x296)])),_0x5802e5(0x5,_0x4fa573[_0x5d4ae1(0x274)](_0x1aa573['CompressMutationService'])),_0x5802e5(0x6,_0x4fa573[_0x5d4ae1(0x274)](_0x1c7e0a[_0x5d4ae1(0x476)])),_0x5802e5(0x7,_0x4fa573[_0x5d4ae1(0x274)](_0x1aa573[_0x5d4ae1(0x183)])),_0x5802e5(0x8,_0x4fa573['Inject'](_0x54a41f)),_0x5802e5(0x9,_0x1c7e0a[_0x5d4ae1(0x3d7)]),_0x5802e5(0xa,_0x1c7e0a['ICommandService']),_0x5802e5(0xb,_0x1fdc42['IMessageService']),_0x5802e5(0xc,_0x1c7e0a[_0x5d4ae1(0x2eb)]),_0x5802e5(0xd,_0x4fa573[_0x5d4ae1(0x468)](_0x3a78a1))],_0x1c388b);const _0x48e81a=[_0x5d4ae1(0x108),_0x5d4ae1(0x470),_0x5d4ae1(0x2cd),_0x5d4ae1(0x11f),_0x5d4ae1(0x313),_0x5d4ae1(0x3db)];class _0x1157e2 extends _0x1c7e0a[_0x5d4ae1(0x284)]{constructor(){const _0x1364f5=_0x5d4ae1;super(...arguments),_0x2308c9(this,_0x1364f5(0x429),new Map()),_0x2308c9(this,_0x1364f5(0x349),0x0);}[_0x5d4ae1(0x124)](_0x9b2447){const _0x46e552=_0x5d4ae1;if(this['_assignedColors'][_0x46e552(0x3d3)](_0x9b2447))return this[_0x46e552(0x429)][_0x46e552(0xec)](_0x9b2447);const _0x160902=_0x48e81a[this[_0x46e552(0x349)]];return this[_0x46e552(0x349)]=(this[_0x46e552(0x349)]+0x1)%_0x48e81a[_0x46e552(0x30d)],this[_0x46e552(0x429)][_0x46e552(0x36b)](_0x9b2447,_0x160902),_0x160902;}}var _0x178422=Object['defineProperty'],_0x69f779=Object[_0x5d4ae1(0x23a)],_0x3b6c51=(_0x30f7ca,_0x183e47,_0x10bda2,_0x1f682e)=>{const _0x3c4869=_0x5d4ae1;for(var _0x2983a3=_0x1f682e>0x1?void 0x0:_0x1f682e?_0x69f779(_0x183e47,_0x10bda2):_0x183e47,_0x2e5ce4=_0x30f7ca[_0x3c4869(0x30d)]-0x1,_0x1529e0;_0x2e5ce4>=0x0;_0x2e5ce4--)(_0x1529e0=_0x30f7ca[_0x2e5ce4])&&(_0x2983a3=(_0x1f682e?_0x1529e0(_0x183e47,_0x10bda2,_0x2983a3):_0x1529e0(_0x2983a3))||_0x2983a3);return _0x1f682e&&_0x2983a3&&_0x178422(_0x183e47,_0x10bda2,_0x2983a3),_0x2983a3;},_0x2e03ec=(_0x5f3e4f,_0x451186)=>(_0x694114,_0x2f80ea)=>_0x451186(_0x694114,_0x2f80ea,_0x5f3e4f);const _0x927347=0x12c,_0x52a863=0x64,_0x17549d=()=>{let _0x314e94=[],_0x33954c=!0x1;return _0x3d0ac8=>{const _0x5dc5d4=_0x18a3;_0x314e94[_0x5dc5d4(0x21f)](_0x3d0ac8),_0x33954c||(_0x33954c=!0x0,setTimeout(()=>{const _0x346127=_0x5dc5d4;_0x314e94[_0x346127(0x32c)](_0x14e5f7=>_0x14e5f7()),_0x314e94=[],_0x33954c=!0x1;}));};};let _0x5dd597=class extends _0x1c7e0a[_0x5d4ae1(0x2bb)]{constructor(_0x46b61a,_0x253a10,_0x1a2b2a,_0xd6355a,_0x235b6c,_0x417883,_0x41fd0d,_0x2172d2){const _0x164c92=_0x5d4ae1;super(),_0x2308c9(this,_0x164c92(0x2ff),!0x1),_0x2308c9(this,_0x164c92(0x3c0),!0x1),_0x2308c9(this,_0x164c92(0x15c),new _0xf632fb['BehaviorSubject'](new Map())),_0x2308c9(this,_0x164c92(0x244),this[_0x164c92(0x15c)][_0x164c92(0x1b6)]()),_0x2308c9(this,_0x164c92(0x184),new _0xf632fb[(_0x164c92(0x195))]([])),_0x2308c9(this,_0x164c92(0xbe),this['_roomMembers$']['pipe'](_0xf632fb[_0x164c92(0x441)](_0x927347))),_0x2308c9(this,'_updateLocalCursor',_0x3c7f92((_0xb6e208,_0x2d98b4)=>{const _0x2581e8=_0x164c92,_0x36fa30={'eventID':_0x1aa573['CollaborationEvent'][_0x2581e8(0x3d0)],'data':{'unitID':this[_0x2581e8(0x306)],'memberID':this['_session'][_0x2581e8(0x412)](),'selection':_0x124410[_0x2581e8(0xc7)](_0xb6e208,_0x2d98b4[_0x2581e8(0x1d9)])}};this[_0x2581e8(0x375)][_0x2581e8(0x455)](_0x36fa30,this['unitID']);},_0x52a863)),(this['unitID']=_0x46b61a,this[_0x164c92(0x375)]=_0x253a10,this[_0x164c92(0x12f)]=_0x1a2b2a,this[_0x164c92(0xfe)]=_0xd6355a,this[_0x164c92(0xe7)]=_0x235b6c,this[_0x164c92(0x2aa)]=_0x417883,this[_0x164c92(0x28d)]=_0x41fd0d,this[_0x164c92(0x436)]=_0x2172d2);}get[_0x5d4ae1(0x27c)](){const _0x2c6692=_0x5d4ae1;return this[_0x2c6692(0x15c)][_0x2c6692(0x3c9)]();}get['roomMembers'](){const _0x4bb13e=_0x5d4ae1;return this['_roomMembers$'][_0x4bb13e(0x3c9)]();}['dispose'](){const _0x62e7c0=_0x5d4ae1;super[_0x62e7c0(0x26d)](),this['_cursorInfo$'][_0x62e7c0(0x2b1)](new Map()),this['_cursorInfo$']['complete'](),this[_0x62e7c0(0x184)][_0x62e7c0(0x2b1)]([]),this[_0x62e7c0(0x184)]['complete']();}['init'](){const _0x33b177=_0x5d4ae1;this[_0x33b177(0x3c0)]||(this[_0x33b177(0x3c0)]=!0x0,this[_0x33b177(0x375)]['sessionStatus$'][_0x33b177(0x272)](_0xf632fb['takeUntil'](this[_0x33b177(0x40c)]))['subscribe'](_0x5ea7ad=>{const _0x2f59c8=_0x33b177;_0x5ea7ad===_0x3ea00b[_0x2f59c8(0x358)]?this[_0x2f59c8(0x169)]():this[_0x2f59c8(0x40f)]();}),this[_0x33b177(0x375)][_0x33b177(0xf0)][_0x33b177(0x272)](_0xf632fb[_0x33b177(0x360)](this[_0x33b177(0x40c)]))[_0x33b177(0x41c)](_0x547776=>{const _0x28f1b0=_0x33b177,_0x2b647e=_0x547776[_0x28f1b0(0x2f5)];_0x2b647e===_0x1aa573['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x28f1b0(0x24d)](_0x547776),_0x2b647e===_0x1aa573[_0x28f1b0(0x168)][_0x28f1b0(0xe9)]&&this[_0x28f1b0(0x3f8)](_0x547776);}),this[_0x33b177(0x411)](),this['disposeWithMe'](this['_commandService'][_0x33b177(0x281)](_0x153928=>{const _0x2818ac=_0x33b177;if(this[_0x2818ac(0x2ff)]&&_0x153928['id']===_0x213e0a[_0x2818ac(0x335)]['id']&&_0x153928[_0x2818ac(0x121)][_0x2818ac(0x386)]===this[_0x2818ac(0x306)]){const _0x732950=_0x153928[_0x2818ac(0x121)];this[_0x2818ac(0x334)](_0x732950[_0x2818ac(0x486)],_0x732950[_0x2818ac(0x10c)][0x0]);}})));}[_0x5d4ae1(0x24d)](_0x132226){const _0x32f2ac=_0x5d4ae1;var _0x2407ae,_0x449781;const {memberID:_0x542627,selection:_0x228835}=_0x132226['data'],{sheetName:_0x5b72d8,range:_0x504707}=_0x124410[_0x32f2ac(0x1dd)](_0x228835),_0x22011b={'name':(_0x449781=(_0x2407ae=this[_0x32f2ac(0xe7)][_0x32f2ac(0x233)](this['unitID'],_0x542627))==null?void 0x0:_0x2407ae[_0x32f2ac(0x295)])!=null?_0x449781:'Unknown\x20user','range':this[_0x32f2ac(0x459)](_0x5b72d8,_0x504707),'sheetID':_0x5b72d8,'color':this[_0x32f2ac(0xfe)]['assignAColorForMemberID'](_0x542627),'selection':_0x228835},_0x52ef0f=this[_0x32f2ac(0x27c)];_0x52ef0f[_0x32f2ac(0x36b)](_0x542627,_0x22011b),this[_0x32f2ac(0x15c)][_0x32f2ac(0x2b1)](_0x52ef0f);}[_0x5d4ae1(0x3f8)](_0x297029){const _0x440614=_0x5d4ae1,{memberID:_0xfb0864}=_0x297029[_0x440614(0x12b)],_0x511db4=this[_0x440614(0x27c)];_0x511db4['delete'](_0xfb0864),this[_0x440614(0x15c)][_0x440614(0x2b1)](_0x511db4);}['_getMergeRange'](_0x43f9b8,_0x5323c8){const _0x17b1c9=_0x5d4ae1;var _0x116a10,_0x2d58b9;const _0x6339bb=(_0x2d58b9=(_0x116a10=this[_0x17b1c9(0x2aa)][_0x17b1c9(0x3b7)](this[_0x17b1c9(0x306)]))==null?void 0x0:_0x116a10[_0x17b1c9(0x230)](_0x43f9b8))==null?void 0x0:_0x2d58b9['getMergeData']();return(_0x6339bb==null?void 0x0:_0x6339bb[_0x17b1c9(0x481)](_0x4f9703=>_0x1c7e0a['Rectangle'][_0x17b1c9(0x197)](_0x4f9703,_0x5323c8)))||_0x5323c8;}['_onRefRangeChange'](){const _0x5e4a1d=_0x5d4ae1,_0x5a3a4f=new _0x1c7e0a[(_0x5e4a1d(0x2da))](),_0x3d3bee=_0x17549d(),_0x1320f7=()=>{const _0x478159=_0x5e4a1d;_0x5a3a4f[_0x478159(0x26d)]();const _0x52571f=(_0x300b9,_0xcdeb48,_0x494135,_0x516470)=>{const _0x49236a=_0x478159;let _0x3762ff=[];switch(_0x300b9['id']){case _0x213e0a[_0x49236a(0xef)][_0x49236a(0x242)]:{_0x3762ff=_0x213e0a[_0x49236a(0x241)](_0x300b9,_0x516470);break;}case _0x213e0a[_0x49236a(0xef)][_0x49236a(0x26f)]:{_0x3762ff=_0x213e0a[_0x49236a(0x1c5)](_0x300b9,_0x516470);break;}case _0x213e0a[_0x49236a(0xef)][_0x49236a(0x138)]:{_0x3762ff=_0x213e0a[_0x49236a(0x18f)](_0x300b9,_0x516470);break;}case _0x213e0a[_0x49236a(0xef)][_0x49236a(0x482)]:{_0x3762ff=_0x213e0a[_0x49236a(0x2c2)](_0x300b9,_0x516470);break;}case _0x213e0a[_0x49236a(0xef)][_0x49236a(0x22c)]:{_0x3762ff=_0x213e0a['handleInsertRangeMoveRight'](_0x300b9,_0x516470);break;}case _0x213e0a[_0x49236a(0xef)][_0x49236a(0x2ee)]:{_0x3762ff=_0x213e0a[_0x49236a(0x245)](_0x300b9,_0x516470);break;}case _0x213e0a[_0x49236a(0xef)]['MoveRangeCommandId']:{_0x3762ff=_0x213e0a[_0x49236a(0x2ed)](_0x300b9,_0x516470);break;}case _0x213e0a[_0x49236a(0xef)][_0x49236a(0x1cd)]:{_0x3762ff=_0x213e0a[_0x49236a(0x32a)](_0x300b9,_0x516470);break;}case _0x213e0a['EffectRefRangId'][_0x49236a(0x398)]:{_0x3762ff=_0x213e0a['handleIRemoveRow'](_0x300b9,_0x516470);break;}}const _0x3bd6cd=_0x213e0a['runRefRangeMutations'](_0x3762ff,_0x516470),_0x249579=this[_0x49236a(0x27c)][_0x49236a(0xec)](_0xcdeb48);if(_0x249579&&_0x3bd6cd){const _0x202af3={..._0x249579,'range':_0x3bd6cd};this[_0x49236a(0x27c)][_0x49236a(0x36b)](_0xcdeb48,_0x202af3),_0x3d3bee(()=>{const _0x2fc874=_0x49236a,_0x442384=this[_0x2fc874(0x436)][_0x2fc874(0x460)](_0x3bd6cd,_0x1d6e32=>(_0x442384[_0x2fc874(0x26d)](),_0x52571f(_0x1d6e32,_0xcdeb48,_0x494135,_0x3bd6cd)));_0x5a3a4f[_0x2fc874(0x3b0)](_0x442384);});}return{'redos':[],'undos':[]};};this[_0x478159(0x27c)][_0x478159(0x32c)]((_0x159d4d,_0x18ffa1)=>{const _0x2d5dd9=_0x478159,{range:_0x15f65d,sheetID:_0xec1173}=_0x159d4d,_0x24b075=this[_0x2d5dd9(0x436)][_0x2d5dd9(0x460)](_0x15f65d,_0x2b3d7c=>(_0x24b075[_0x2d5dd9(0x26d)](),_0x52571f(_0x2b3d7c,_0x18ffa1,_0xec1173,_0x15f65d)));_0x5a3a4f['add'](_0x24b075);});};this[_0x5e4a1d(0xf2)](_0x1c7e0a[_0x5e4a1d(0x2e6)](this[_0x5e4a1d(0x15c)][_0x5e4a1d(0x41c)](()=>{_0x1320f7();})));}[_0x5d4ae1(0x169)](){const _0x10ad67=_0x5d4ae1;var _0x2819cb,_0x3155c9;if(this[_0x10ad67(0x2ff)]=!0x0,((_0x2819cb=this[_0x10ad67(0x2aa)]['getFocusedUnit']())==null?void 0x0:_0x2819cb[_0x10ad67(0x37d)]())!==this[_0x10ad67(0x306)])return;const _0x498e46=(_0x3155c9=this[_0x10ad67(0x12f)][_0x10ad67(0xec)](_0x213e0a['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x3155c9[0x0],_0x3205dd=this[_0x10ad67(0x2aa)]['getCurrentUnitForType'](_0x1c7e0a[_0x10ad67(0x22d)]['UNIVER_SHEET'])[_0x10ad67(0x48e)]();_0x498e46&&_0x3205dd&&this[_0x10ad67(0x334)](_0x3205dd[_0x10ad67(0x1ad)](),_0x498e46);}[_0x5d4ae1(0x40f)](){const _0x55d56a=_0x5d4ae1;this[_0x55d56a(0x2ff)]=!0x1;}};_0x5dd597=_0x3b6c51([_0x2e03ec(0x2,_0x4fa573[_0x5d4ae1(0x274)](_0x4fa573[_0x5d4ae1(0x38e)])),_0x2e03ec(0x3,_0x4fa573[_0x5d4ae1(0x274)](_0x1157e2)),_0x2e03ec(0x4,_0x4fa573[_0x5d4ae1(0x274)](_0x1fece3)),_0x2e03ec(0x5,_0x1c7e0a[_0x5d4ae1(0x2e9)]),_0x2e03ec(0x6,_0x1c7e0a[_0x5d4ae1(0x264)]),_0x2e03ec(0x7,_0x4fa573['Inject'](_0x213e0a[_0x5d4ae1(0x3fa)]))],_0x5dd597);var _0x166380=Object[_0x5d4ae1(0x428)],_0x737cef=Object['getOwnPropertyDescriptor'],_0x11e617=(_0x2deaf1,_0x1453ea,_0x32aedd,_0x3b7b6a)=>{const _0x111ec9=_0x5d4ae1;for(var _0x3658f7=_0x3b7b6a>0x1?void 0x0:_0x3b7b6a?_0x737cef(_0x1453ea,_0x32aedd):_0x1453ea,_0x1575de=_0x2deaf1[_0x111ec9(0x30d)]-0x1,_0x7508a2;_0x1575de>=0x0;_0x1575de--)(_0x7508a2=_0x2deaf1[_0x1575de])&&(_0x3658f7=(_0x3b7b6a?_0x7508a2(_0x1453ea,_0x32aedd,_0x3658f7):_0x7508a2(_0x3658f7))||_0x3658f7);return _0x3b7b6a&&_0x3658f7&&_0x166380(_0x1453ea,_0x32aedd,_0x3658f7),_0x3658f7;},_0x2ef89c=(_0xdf9cf5,_0xb8e713)=>(_0x134d22,_0x1046a9)=>_0xb8e713(_0x134d22,_0x1046a9,_0xdf9cf5);const _0xf12456=0x12c,_0x45c084=0x64;let _0x53f585=class extends _0x1c7e0a[_0x5d4ae1(0x2bb)]{constructor(_0x4e14ed,_0xb0a48,_0x3e4785,_0x1578b2,_0x4a652d,_0x2876c1,_0x3dae39,_0x4732bf,_0x246c31){const _0x56a7fb=_0x5d4ae1;super(),_0x2308c9(this,_0x56a7fb(0x2ff),!0x1),_0x2308c9(this,_0x56a7fb(0x3c0),!0x1),_0x2308c9(this,_0x56a7fb(0x15c),new _0xf632fb[(_0x56a7fb(0x195))](new Map())),_0x2308c9(this,'cursorInfo$',this[_0x56a7fb(0x15c)][_0x56a7fb(0x1b6)]()),_0x2308c9(this,_0x56a7fb(0x184),new _0xf632fb[(_0x56a7fb(0x195))]([])),_0x2308c9(this,_0x56a7fb(0xbe),this[_0x56a7fb(0x184)][_0x56a7fb(0x272)](_0xf632fb[_0x56a7fb(0x441)](_0xf12456))),_0x2308c9(this,_0x56a7fb(0x334),_0x3c7f92(_0x69d68e=>{const _0x1ec312=_0x56a7fb,_0x1ae93a={'eventID':_0x1aa573[_0x1ec312(0x168)][_0x1ec312(0x3d0)],'data':{'unitID':this[_0x1ec312(0x306)],'memberID':this['_session'][_0x1ec312(0x412)](),'selection':_0x566a5f(_0x69d68e)}};this[_0x1ec312(0x375)]['send'](_0x1ae93a,this[_0x1ec312(0x306)]);},_0x45c084)),(this['unitID']=_0x4e14ed,this['_session']=_0xb0a48,this[_0x56a7fb(0x12f)]=_0x3e4785,this[_0x56a7fb(0xfe)]=_0x1578b2,this['_memberService']=_0x4a652d,this['_syncEditingCollabCursorService']=_0x2876c1,this[_0x56a7fb(0x143)]=_0x3dae39,this['_univerInstanceService']=_0x4732bf,this[_0x56a7fb(0x28d)]=_0x246c31);}get[_0x5d4ae1(0x27c)](){const _0x4b0d6e=_0x5d4ae1;return this[_0x4b0d6e(0x15c)]['getValue']();}get[_0x5d4ae1(0x31c)](){const _0x28fc6e=_0x5d4ae1;return this[_0x28fc6e(0x184)][_0x28fc6e(0x3c9)]();}['dispose'](){const _0x4fc00b=_0x5d4ae1;super['dispose'](),this[_0x4fc00b(0x15c)][_0x4fc00b(0x2b1)](new Map()),this[_0x4fc00b(0x15c)]['complete'](),this[_0x4fc00b(0x184)][_0x4fc00b(0x2b1)]([]),this[_0x4fc00b(0x184)][_0x4fc00b(0x35f)]();}[_0x5d4ae1(0x2d7)](){const _0x1d5194=_0x5d4ae1;this[_0x1d5194(0x3c0)]||(this[_0x1d5194(0x3c0)]=!0x0,this[_0x1d5194(0x375)]['sessionStatus$'][_0x1d5194(0x272)](_0xf632fb['takeUntil'](this['dispose$']))[_0x1d5194(0x41c)](_0x21ae68=>{const _0x5d5e67=_0x1d5194;_0x21ae68===_0x3ea00b[_0x5d5e67(0x358)]?this[_0x5d5e67(0x169)]():this[_0x5d5e67(0x40f)]();}),this[_0x1d5194(0x375)]['event$']['pipe'](_0xf632fb[_0x1d5194(0x360)](this['dispose$']))[_0x1d5194(0x41c)](_0x3c90d5=>{const _0x1d0ee2=_0x1d5194,_0x9ace35=_0x3c90d5[_0x1d0ee2(0x2f5)];_0x9ace35===_0x1aa573[_0x1d0ee2(0x168)]['UPDATE_CURSOR']&&this[_0x1d0ee2(0x24d)](_0x3c90d5),_0x9ace35===_0x1aa573[_0x1d0ee2(0x168)][_0x1d0ee2(0xe9)]&&this[_0x1d0ee2(0x3f8)](_0x3c90d5);}),this['disposeWithMe'](this[_0x1d5194(0x28d)][_0x1d5194(0x281)](_0x4076ec=>{const _0x197edf=_0x1d5194,_0x4ae540=_0x4076ec[_0x197edf(0x121)];_0x4ae540!=null&&this[_0x197edf(0x2ff)]&&_0x4076ec['id']===_0x1e7311[_0x197edf(0x3ca)]['id']&&_0x4ae540[_0x197edf(0x386)]===this['unitID']&&_0x4ae540[_0x197edf(0x141)]===!0x1&&this['_updateLocalCursor'](_0x4ae540[_0x197edf(0x446)]);})),this[_0x1d5194(0x224)][_0x1d5194(0x38f)][_0x1d5194(0x272)](_0xf632fb[_0x1d5194(0x360)](this['dispose$']))[_0x1d5194(0x41c)](_0x10897d=>{const _0x2cc422=_0x1d5194;if((_0x10897d==null?void 0x0:_0x10897d[_0x2cc422(0x306)])!==this[_0x2cc422(0x306)])return;const _0x3e928c={'eventID':_0x1aa573[_0x2cc422(0x168)][_0x2cc422(0x3d0)],'data':_0x10897d};this[_0x2cc422(0x24d)](_0x3e928c);}),this['disposeWithMe'](this[_0x1d5194(0x28d)][_0x1d5194(0x281)](_0x22794c=>{const _0xd624fb=_0x1d5194;if(_0x22794c[_0xd624fb(0x121)]==null)return;const _0x42a773=_0x22794c[_0xd624fb(0x121)];if(_0x22794c['id']!==_0x1e7311['RichTextEditingMutation']['id']||_0x42a773[_0xd624fb(0x386)]!==this[_0xd624fb(0x306)])return;const _0x5c3d07={'id':_0xd624fb(0xcc),'params':_0x42a773},_0x358498=this['cursorInfo'];for(const [_0x5b164e,_0x2feaf6]of _0x358498){const _0x5a408f={'id':_0xd624fb(0xcc),'params':{'unitId':this[_0xd624fb(0x306)],'actions':null,'textRanges':_0x2feaf6[_0xd624fb(0x446)]}},_0x5e338d=this[_0xd624fb(0x143)][_0xd624fb(0x451)](_0x5c3d07,_0x5a408f,!0x1);if(_0x1aa573[_0xd624fb(0x1ff)](_0x5e338d))throw _0x5e338d['error'];_0x358498[_0xd624fb(0x36b)](_0x5b164e,{..._0x2feaf6,'ranges':_0x5e338d[_0xd624fb(0x374)]['params']['textRanges']});}queueMicrotask(()=>{const _0x3ab901=_0xd624fb;this[_0x3ab901(0x15c)][_0x3ab901(0x2b1)](_0x358498);});})));}[_0x5d4ae1(0x24d)](_0x5abbbb){const _0x2db8f0=_0x5d4ae1;var _0x52fad9,_0xe765d5;const {memberID:_0x2f1492,selection:_0x438bc5}=_0x5abbbb[_0x2db8f0(0x12b)],_0x7b0c4c=_0x4de411(_0x438bc5),_0x2ee1a5=(_0xe765d5=(_0x52fad9=this[_0x2db8f0(0xe7)][_0x2db8f0(0x233)](this[_0x2db8f0(0x306)],_0x2f1492))==null?void 0x0:_0x52fad9[_0x2db8f0(0x295)])!=null?_0xe765d5:'Unknown\x20user',_0x1ad624={'color':this[_0x2db8f0(0xfe)]['assignAColorForMemberID'](_0x2f1492),'name':_0x2ee1a5,'ranges':_0x7b0c4c},_0x753ef5=this['cursorInfo'];_0x753ef5['set'](_0x2f1492,_0x1ad624),this[_0x2db8f0(0x15c)][_0x2db8f0(0x2b1)](_0x753ef5);}[_0x5d4ae1(0x3f8)](_0x2dfea5){const _0x540752=_0x5d4ae1,{memberID:_0x45929a}=_0x2dfea5[_0x540752(0x12b)],_0x325ae0=this[_0x540752(0x27c)];_0x325ae0[_0x540752(0x1f0)](_0x45929a),this[_0x540752(0x15c)][_0x540752(0x2b1)](_0x325ae0);}[_0x5d4ae1(0x169)](){const _0x1c5471=_0x5d4ae1;var _0x3dd90a;if(this[_0x1c5471(0x2ff)]=!0x0,((_0x3dd90a=this[_0x1c5471(0x2aa)][_0x1c5471(0x1cc)]())==null?void 0x0:_0x3dd90a['getUnitId']())!==this[_0x1c5471(0x306)])return;const _0x4977ce=this['_injector'][_0x1c5471(0xec)](_0x1e7311[_0x1c5471(0x1b8)])[_0x1c5471(0x3ec)](),_0x7f99be=_0x4977ce==null?void 0x0:_0x4977ce[_0x1c5471(0x324)](_0x1e7311[_0x1c5471(0x107)]);Array[_0x1c5471(0x31d)](_0x7f99be)&&_0x7f99be['length']>0x0&&this['_updateLocalCursor'](_0x7f99be);}[_0x5d4ae1(0x40f)](){const _0x33c564=_0x5d4ae1;this[_0x33c564(0x2ff)]=!0x1;}};_0x53f585=_0x11e617([_0x2ef89c(0x2,_0x4fa573[_0x5d4ae1(0x274)](_0x4fa573[_0x5d4ae1(0x38e)])),_0x2ef89c(0x3,_0x4fa573['Inject'](_0x1157e2)),_0x2ef89c(0x4,_0x4fa573['Inject'](_0x1fece3)),_0x2ef89c(0x5,_0x4fa573['Inject'](_0x22361d)),_0x2ef89c(0x6,_0x1aa573[_0x5d4ae1(0x38a)]),_0x2ef89c(0x7,_0x1c7e0a[_0x5d4ae1(0x2e9)]),_0x2ef89c(0x8,_0x1c7e0a[_0x5d4ae1(0x264)])],_0x53f585);var _0x543cdd=Object[_0x5d4ae1(0x428)],_0x4a12f4=Object['getOwnPropertyDescriptor'],_0x3e9dbc=(_0x434c7b,_0x5c62fc,_0x294ade,_0x4ed261)=>{const _0x4cfd66=_0x5d4ae1;for(var _0x90a997=_0x4ed261>0x1?void 0x0:_0x4ed261?_0x4a12f4(_0x5c62fc,_0x294ade):_0x5c62fc,_0x309c7e=_0x434c7b[_0x4cfd66(0x30d)]-0x1,_0x2d4d46;_0x309c7e>=0x0;_0x309c7e--)(_0x2d4d46=_0x434c7b[_0x309c7e])&&(_0x90a997=(_0x4ed261?_0x2d4d46(_0x5c62fc,_0x294ade,_0x90a997):_0x2d4d46(_0x90a997))||_0x90a997);return _0x4ed261&&_0x90a997&&_0x543cdd(_0x5c62fc,_0x294ade,_0x90a997),_0x90a997;},_0x291f21=(_0x5ce5ad,_0x2feb86)=>(_0x105228,_0x5ad5da)=>_0x2feb86(_0x105228,_0x5ad5da,_0x5ce5ad);let _0x4a2232=class extends _0x1c7e0a['RxDisposable']{constructor(_0x2c7be8,_0x1b0833,_0x5ecfa6){const _0x55aff2=_0x5d4ae1;super(),_0x2308c9(this,'_entities',new Map()),_0x2308c9(this,_0x55aff2(0x25b),new _0xf632fb[(_0x55aff2(0x1b7))]()),(this['_univerInstanceService']=_0x2c7be8,this[_0x55aff2(0x12f)]=_0x1b0833,this[_0x55aff2(0x3f2)]=_0x5ecfa6,this[_0x55aff2(0x3c0)]());}['dispose'](){const _0x5d3401=_0x5d4ae1;super[_0x5d3401(0x26d)](),this[_0x5d3401(0x25b)][_0x5d3401(0x35f)](),this[_0x5d3401(0x3be)]['forEach'](_0x16c494=>_0x16c494[_0x5d3401(0x26d)]());}[_0x5d4ae1(0x14b)](_0x5ac35f){const _0x1013e2=_0x5d4ae1;return this[_0x1013e2(0x3be)][_0x1013e2(0x3d3)](_0x5ac35f)?this[_0x1013e2(0x3be)][_0x1013e2(0xec)](_0x5ac35f)['cursorInfo$']:this[_0x1013e2(0x25b)][_0x1013e2(0x272)](_0xf632fb[_0x1013e2(0x23f)](_0x32546a=>_0x32546a['unitID']===_0x5ac35f),_0xf632fb['switchMap'](_0x40025f=>_0x40025f[_0x1013e2(0x244)]));}[_0x5d4ae1(0x3c0)](){const _0xf0a351=_0x5d4ae1;this[_0xf0a351(0x2aa)]['getTypeOfUnitAdded$'](_0x1c7e0a[_0xf0a351(0x22d)]['UNIVER_SHEET'])['pipe'](_0xf632fb[_0xf0a351(0x360)](this['dispose$']))[_0xf0a351(0x41c)](async _0x5456ba=>{const _0x15dcc5=_0xf0a351,_0xf33230=_0x5456ba[_0x15dcc5(0x37d)](),_0xd49d63=await this['_startSheetCollabCursor'](_0xf33230);this['_entityInit$'][_0x15dcc5(0x2b1)](_0xd49d63),this['_entities'][_0x15dcc5(0x36b)](_0xf33230,_0xd49d63);}),this[_0xf0a351(0x2aa)][_0xf0a351(0x17e)](_0x1c7e0a[_0xf0a351(0x22d)][_0xf0a351(0xe0)])[_0xf0a351(0x272)](_0xf632fb[_0xf0a351(0x360)](this[_0xf0a351(0x40c)]))[_0xf0a351(0x272)](_0xf632fb[_0xf0a351(0x23f)](_0x58987a=>!_0x58987a[_0xf0a351(0x37d)]()[_0xf0a351(0x228)]('__')))['subscribe'](async _0x1bdaeb=>{const _0x4f4160=_0xf0a351,_0x20476d=_0x1bdaeb[_0x4f4160(0x37d)](),_0x25ff42=await this[_0x4f4160(0x472)](_0x20476d);this[_0x4f4160(0x25b)][_0x4f4160(0x2b1)](_0x25ff42),this[_0x4f4160(0x3be)]['set'](_0x20476d,_0x25ff42);}),_0xf632fb[_0xf0a351(0xca)](this[_0xf0a351(0x2aa)][_0xf0a351(0x3a1)](_0x1c7e0a[_0xf0a351(0x22d)]['UNIVER_DOC']),this[_0xf0a351(0x2aa)][_0xf0a351(0x3a1)](_0x1c7e0a[_0xf0a351(0x22d)]['UNIVER_SHEET']))[_0xf0a351(0x272)](_0xf632fb[_0xf0a351(0x360)](this[_0xf0a351(0x40c)]))['subscribe'](_0x4fb312=>{const _0x412c8d=_0xf0a351,_0x4a32bf=_0x4fb312['getUnitId'](),_0x27cc89=this['_entities'][_0x412c8d(0xec)](_0x4a32bf);_0x27cc89&&(_0x27cc89[_0x412c8d(0x26d)](),this[_0x412c8d(0x3be)][_0x412c8d(0x1f0)](_0x4a32bf));});}async[_0x5d4ae1(0x332)](_0x5e8940){const _0x1daab0=_0x5d4ae1,_0x31a04e=await this[_0x1daab0(0x3f2)][_0x1daab0(0x444)](_0x5e8940),_0x2897a1=this[_0x1daab0(0x12f)][_0x1daab0(0xd0)](_0x5dd597,_0x5e8940,_0x31a04e);return _0x2897a1[_0x1daab0(0x2d7)](),_0x2897a1;}async[_0x5d4ae1(0x472)](_0x28de2b){const _0x19cedc=_0x5d4ae1,_0x5e540b=await this['_collabSessionService'][_0x19cedc(0x444)](_0x28de2b),_0x52e42c=this[_0x19cedc(0x12f)]['createInstance'](_0x53f585,_0x28de2b,_0x5e540b);return _0x52e42c['init'](),_0x52e42c;}};_0x4a2232=_0x3e9dbc([_0x1c7e0a[_0x5d4ae1(0x466)](_0x1c7e0a['LifecycleStages'][_0x5d4ae1(0xf4)],_0x4a2232),_0x291f21(0x0,_0x1c7e0a[_0x5d4ae1(0x2e9)]),_0x291f21(0x1,_0x4fa573[_0x5d4ae1(0x274)](_0x4fa573['Injector'])),_0x291f21(0x2,_0x4fa573['Inject'](_0x488928[_0x5d4ae1(0x139)]))],_0x4a2232);const _0x77a5c9=0x14,_0x132292=0xc8,_0x5d2668=0x4,_0x18fadf=0x5;function _0x1a7970(_0x21e47d,_0x12ca1b){const _0x2df847=_0x5d4ae1;let {radius:_0x45cb87,width:_0x13e01a,height:_0x33f965}=_0x12ca1b;_0x45cb87=_0x45cb87!=null?_0x45cb87:0x0,_0x13e01a=_0x13e01a!=null?_0x13e01a:0x1e,_0x33f965=_0x33f965!=null?_0x33f965:0x1e;let _0xb2ab9f=0x0,_0x42f693=0x0,_0x215614=0x0;_0xb2ab9f=_0x42f693=_0x215614=Math[_0x2df847(0x194)](_0x45cb87,_0x13e01a/0x2,_0x33f965/0x2),_0x21e47d[_0x2df847(0x40a)](),_0x21e47d[_0x2df847(0x2c3)](_0xb2ab9f,0x0),_0x21e47d[_0x2df847(0x43e)](_0x13e01a-_0x42f693,0x0),_0x21e47d['arc'](_0x13e01a-_0x42f693,_0x42f693,_0x42f693,Math['PI']*0x3/0x2,0x0,!0x1),_0x21e47d[_0x2df847(0x43e)](_0x13e01a,_0x33f965-_0x215614),_0x21e47d[_0x2df847(0x15e)](_0x13e01a-_0x215614,_0x33f965-_0x215614,_0x215614,0x0,Math['PI']/0x2,!0x1),_0x21e47d[_0x2df847(0x43e)](0x0,_0x33f965),_0x21e47d[_0x2df847(0x43e)](0x0,_0xb2ab9f),_0x21e47d[_0x2df847(0x15e)](_0xb2ab9f,_0xb2ab9f,_0xb2ab9f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x21e47d[_0x2df847(0x267)](),_0x12ca1b[_0x2df847(0xd2)]&&(_0x21e47d[_0x2df847(0xea)](),_0x21e47d['fillStyle']=_0x12ca1b[_0x2df847(0xd2)],_0x12ca1b[_0x2df847(0x47a)]===_0x2df847(0xd4)?_0x21e47d['fill'](_0x2df847(0xd4)):_0x21e47d[_0x2df847(0xd2)](),_0x21e47d[_0x2df847(0x1a4)]());}class _0x278a01 extends _0x5ae3fd[_0x5d4ae1(0x351)]{constructor(_0x2c2de8,_0x3b388b){const _0x3a4f96=_0x5d4ae1;super(_0x2c2de8,_0x3b388b),_0x2308c9(this,'color'),_0x2308c9(this,'text'),(this[_0x3a4f96(0x1b3)]=_0x3b388b==null?void 0x0:_0x3b388b[_0x3a4f96(0x1b3)],this['text']=_0x3b388b==null?void 0x0:_0x3b388b[_0x3a4f96(0x3f1)]);}static[_0x5d4ae1(0x2d2)](_0x40dce4,_0x59d27){const _0x126fd1=_0x5d4ae1,{text:_0x4f096d,color:_0x2d2d2b}=_0x59d27;_0x40dce4['save'](),_0x40dce4[_0x126fd1(0x235)]=_0x126fd1(0x424);const _0x4aa0c5=_0x40dce4[_0x126fd1(0x44f)](_0x4f096d)['width'],_0x5e7090=Math[_0x126fd1(0x194)](_0x4aa0c5+0x2*_0x5d2668,_0x132292);_0x1a7970(_0x40dce4,{'height':_0x77a5c9,'radius':0x4,'width':_0x5e7090,'fill':_0x2d2d2b,'evented':!0x1}),_0x40dce4['fillStyle']=_0x126fd1(0x3c4);const _0x5b7ebe=_0x5d2668,_0xc68c5f=_0x77a5c9-_0x18fadf,_0x485c65=_0x132292-0x2*_0x5d2668;if(_0x4aa0c5>_0x485c65){let _0x423158='',_0x2a61e4=0x0;for(const _0xa30bd1 of _0x4f096d){const _0x6f0e8e=_0x40dce4[_0x126fd1(0x44f)](_0xa30bd1)['width'];if(_0x2a61e4+_0x6f0e8e<=_0x485c65-_0x40dce4[_0x126fd1(0x44f)](_0x126fd1(0x305))[_0x126fd1(0x172)])_0x423158+=_0xa30bd1,_0x2a61e4+=_0x6f0e8e;else{_0x423158+=_0x126fd1(0x305);break;}}_0x40dce4[_0x126fd1(0x3c8)](_0x423158,_0x5b7ebe,_0xc68c5f);}else _0x40dce4[_0x126fd1(0x3c8)](_0x4f096d,_0x5b7ebe,_0xc68c5f);_0x40dce4[_0x126fd1(0x1a4)]();}[_0x5d4ae1(0x1c4)](_0x2aa0a7){const _0x163673=_0x5d4ae1;_0x278a01[_0x163673(0x2d2)](_0x2aa0a7,this);}}const _0x34928e=0x1,_0x1feebb=1.5;class _0x47a450 extends _0x5ae3fd[_0x5d4ae1(0x351)]{constructor(_0x4be9fa,_0x53988e){const _0xabe596=_0x5d4ae1;super(_0x4be9fa,_0x53988e),_0x2308c9(this,_0xabe596(0x469)),_0x2308c9(this,'_hovered',!0x1),_0x2308c9(this,'_range'),_0x2308c9(this,_0xabe596(0x40d),''),_0x2308c9(this,_0xabe596(0x431),_0xabe596(0x45c)),(_0x53988e&&this[_0xabe596(0x474)](_0x53988e),this['onPointerEnter$'][_0xabe596(0x39d)](()=>this[_0xabe596(0x474)]({'hovered':!0x0})),this[_0xabe596(0x10e)][_0xabe596(0x39d)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x5d4ae1(0x474)](_0x4cf777){const _0x1d5cbd=_0x5d4ae1;var _0x534d26,_0x21b1bf,_0x4dbdc5,_0x4f0d5b,_0x369d6e;this['_color']=(_0x534d26=_0x4cf777[_0x1d5cbd(0x1b3)])!=null?_0x534d26:this[_0x1d5cbd(0x469)],this['_hovered']=(_0x21b1bf=_0x4cf777[_0x1d5cbd(0x25c)])!=null?_0x21b1bf:this[_0x1d5cbd(0x2a1)],this['_range']=(_0x4dbdc5=_0x4cf777[_0x1d5cbd(0x1d9)])!=null?_0x4dbdc5:this['_range'],this[_0x1d5cbd(0x40d)]=(_0x4f0d5b=_0x4cf777[_0x1d5cbd(0x295)])!=null?_0x4f0d5b:this['_name'],this[_0x1d5cbd(0x431)]=(_0x369d6e=_0x4cf777[_0x1d5cbd(0x142)])!=null?_0x369d6e:this['_labelPosition'],this[_0x1d5cbd(0x465)]({'width':_0x4cf777[_0x1d5cbd(0x172)],'height':_0x4cf777[_0x1d5cbd(0x3eb)]});}['onMouseMove'](_0xf7e4f9){const _0x2771f9=_0x5d4ae1,{row:_0x3c50f3,column:_0x4c4ebf}=_0xf7e4f9;if(_0x3c50f3>=this[_0x2771f9(0xdd)][_0x2771f9(0x479)]&&_0x3c50f3<=this[_0x2771f9(0xdd)][_0x2771f9(0x356)]&&_0x4c4ebf>=this[_0x2771f9(0xdd)][_0x2771f9(0x3bd)]&&_0x4c4ebf<=this[_0x2771f9(0xdd)][_0x2771f9(0x3b3)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x2771f9(0x474)]({'hovered':!0x1});}[_0x5d4ae1(0x333)](_0x50ad02){return!0x1;}[_0x5d4ae1(0x1c4)](_0x2c94e4){const _0x240995=_0x5d4ae1;_0x5ae3fd[_0x240995(0x146)]['drawWith'](_0x2c94e4,{'width':this[_0x240995(0x172)],'height':this[_0x240995(0x3eb)],'strokeWidth':_0x1feebb,'stroke':this['_color'],'evented':!0x1}),this['_hovered']&&(_0x2c94e4[_0x240995(0xea)](),_0x2c94e4[_0x240995(0x3b6)](0x1,0x0,0x0,0x1,this[_0x240995(0x172)],this['_labelPosition']===_0x240995(0x426)?0x0:-_0x77a5c9),_0x278a01[_0x240995(0x2d2)](_0x2c94e4,{'text':this[_0x240995(0x40d)],'color':this['_color']}),_0x2c94e4[_0x240995(0x1a4)]());}}var _0x3efec7=Object['defineProperty'],_0x441970=Object[_0x5d4ae1(0x23a)],_0x12c2e2=(_0x19a9ae,_0x353224,_0x4098cc,_0x5da552)=>{const _0x4ddaa7=_0x5d4ae1;for(var _0xf58cab=_0x5da552>0x1?void 0x0:_0x5da552?_0x441970(_0x353224,_0x4098cc):_0x353224,_0xf17375=_0x19a9ae[_0x4ddaa7(0x30d)]-0x1,_0x3fb166;_0xf17375>=0x0;_0xf17375--)(_0x3fb166=_0x19a9ae[_0xf17375])&&(_0xf58cab=(_0x5da552?_0x3fb166(_0x353224,_0x4098cc,_0xf58cab):_0x3fb166(_0xf58cab))||_0xf58cab);return _0x5da552&&_0xf58cab&&_0x3efec7(_0x353224,_0x4098cc,_0xf58cab),_0xf58cab;},_0x34f3fb=(_0x3d6e4b,_0x43b361)=>(_0x45df90,_0x135362)=>_0x43b361(_0x45df90,_0x135362,_0x3d6e4b);const _0x38c7a6=0x1389;let _0x4c0615=class extends _0x1c7e0a[_0x5d4ae1(0x2bb)]{constructor(_0x549b22,_0x1fcaf5,_0x2fc93b,_0x42134e){const _0x2835f8=_0x5d4ae1;super(),_0x2308c9(this,_0x2835f8(0x421),new Set()),_0x2308c9(this,_0x2835f8(0x208),null),(this[_0x2835f8(0x1f6)]=_0x549b22,this[_0x2835f8(0x2aa)]=_0x1fcaf5,this[_0x2835f8(0x2ce)]=_0x2fc93b,this[_0x2835f8(0x27e)]=_0x42134e,this[_0x2835f8(0x3c0)]());}get['_sheetSkeletonManagerService'](){const _0xd5062c=_0x5d4ae1;return this[_0xd5062c(0x2ce)][_0xd5062c(0x203)](this[_0xd5062c(0x2aa)][_0xd5062c(0x15b)](_0x1c7e0a['UniverInstanceType'][_0xd5062c(0xfd)])[_0xd5062c(0x37d)]())[_0xd5062c(0x3a7)](_0x15965e[_0xd5062c(0x31f)]);}get[_0x5d4ae1(0x106)](){const _0x523eb8=_0x5d4ae1;return this[_0x523eb8(0x2aa)][_0x523eb8(0x15b)](_0x1c7e0a[_0x523eb8(0x22d)]['UNIVER_SHEET'])[_0x523eb8(0x37d)]();}[_0x5d4ae1(0x3c0)](){const _0x4db126=_0x5d4ae1;this[_0x4db126(0x393)][_0x4db126(0x3a0)][_0x4db126(0x272)](_0x2c2667['takeUntil'](this[_0x4db126(0x40c)]),_0x2c2667['switchMap'](_0x381525=>{const _0x16ecea=_0x4db126;if(_0x381525){const _0x31a723=_0x381525[_0x16ecea(0x127)];return _0xf632fb[_0x16ecea(0x3e3)](this[_0x16ecea(0x1f6)]['getCollabCursors$'](this[_0x16ecea(0x106)]),this[_0x16ecea(0x27e)]['currentTheme$'])['pipe'](_0x2c2667[_0x16ecea(0x324)](([_0x17c3ea,_0x3bff40])=>{const _0x4f6b40=_0x16ecea,_0x4569b4=new Map();return _0x17c3ea[_0x4f6b40(0x32c)]((_0x40ee63,_0x2cfdef)=>{const _0x1fa511=_0x4f6b40;if(_0x40ee63[_0x1fa511(0x400)]===_0x31a723){const _0x3e87ea={..._0x40ee63};_0x3e87ea[_0x1fa511(0x1b3)]=_0x3bff40[_0x40ee63['color']],_0x4569b4[_0x1fa511(0x36b)](_0x2cfdef,_0x3e87ea);}}),{'skeleton':_0x381525,'cursors':_0x4569b4};}));}return _0xf632fb['of']({'skeleton':null,'cursors':new Map()});}))[_0x4db126(0x41c)](({skeleton:_0x2920a5,cursors:_0x22b1d4})=>{const _0x2653f7=_0x4db126;this[_0x2653f7(0x1eb)](),_0x2920a5&&this['_updateCollabCursors'](_0x2920a5,_0x22b1d4);}),this['_sheetSkeletonManagerService'][_0x4db126(0x3a0)][_0x4db126(0x41c)](_0x44f626=>{const _0x1b597e=_0x4db126;if(_0x44f626==null)return;const {skeleton:_0x6f4ea8}=_0x44f626,_0x173f7b=this['_renderManagerService']['getRenderById'](this[_0x1b597e(0x106)]),{scene:_0x2f0757}=_0x173f7b;_0x2f0757[_0x1b597e(0x33c)][_0x1b597e(0x39d)](_0x3c7f92(_0x3a62ea=>{const _0x438bda=_0x1b597e;var _0x4e1827,_0xaf7b12;const {offsetX:_0x5830b5,offsetY:_0x23aa45}=_0x3a62ea,{x:_0x1b8012,y:_0x440391}=_0x2f0757[_0x438bda(0x12c)](_0x5ae3fd[_0x438bda(0x48c)][_0x438bda(0x2fd)]([_0x5830b5,_0x23aa45])),{scaleX:_0x234259,scaleY:_0x148b3e}=_0x2f0757['getAncestorScale'](),_0x4469dc=_0x2f0757[_0x438bda(0x148)](_0x15965e[_0x438bda(0x1ea)][_0x438bda(0x3dd)]),_0x433122=_0x2f0757[_0x438bda(0x346)](_0x5ae3fd[_0x438bda(0x48c)][_0x438bda(0x2fd)]([_0x1b8012,_0x440391]),_0x4469dc),_0x29d5be=_0x6f4ea8[_0x438bda(0x161)](_0x5830b5,_0x23aa45,_0x234259,_0x148b3e,_0x433122);((_0x4e1827=this[_0x438bda(0x208)])==null?void 0x0:_0x4e1827[_0x438bda(0x387)])===_0x29d5be[_0x438bda(0x387)]&&((_0xaf7b12=this['_lastPointer'])==null?void 0x0:_0xaf7b12['row'])===_0x29d5be[_0x438bda(0xc4)]||this[_0x438bda(0x421)]['forEach'](_0x16af62=>{const _0x8cddc=_0x438bda;_0x16af62[_0x8cddc(0x3bb)](_0x29d5be);});},0x64));});}['_updateCollabCursors'](_0x2e73e5,_0x4466e7){const _0x43aa8d=_0x5d4ae1;var _0x183d00;const _0x2dc53b=(_0x183d00=this[_0x43aa8d(0x393)]['getCurrent']())==null?void 0x0:_0x183d00[_0x43aa8d(0x3af)];if(!_0x2dc53b)return;const _0x430944=this[_0x43aa8d(0x488)]();if(!_0x430944)return;this['_cursors'][_0x43aa8d(0x32c)](_0xb0688a=>{const _0x55b2f4=_0x43aa8d;_0xb0688a[_0x55b2f4(0x3ab)]();});const {scene:_0x488b18}=_0x430944,_0x26293e=_0x312def(Array[_0x43aa8d(0x35b)](_0x4466e7['values']()))[_0x43aa8d(0x324)](_0x15b108=>{const _0x4c5ecf=_0x43aa8d,{color:_0x1438a2,range:_0x19a26b,name:_0x548320,selection:_0x2d7dd0,sheetID:_0x223f1c}=_0x15b108,{startColumn:_0x24a24c,startRow:_0x295fb8,endColumn:_0x1f756e,endRow:_0x22db25}=_0x19a26b,_0x2aae1b=_0x15965e['getCoordByCell'](_0x295fb8,_0x24a24c,_0x488b18,_0x2dc53b),_0x1cb99d=_0x15965e['getCoordByCell'](_0x22db25,_0x1f756e,_0x488b18,_0x2dc53b),{columnHeaderHeightAndMarginTop:_0x4aa81f}=_0x2dc53b,{startX:_0x5ada48,startY:_0x35997e}=_0x2aae1b,{endX:_0x49bca8,endY:_0x5de041}=_0x1cb99d,_0x4f939b=_0x49bca8-_0x5ada48,_0x70d64c=_0x5de041-_0x35997e,_0x142362={'labelPosition':_0x35997e-_0x4aa81f>=_0x77a5c9?_0x4c5ecf(0x45c):_0x4c5ecf(0x426),'sheetID':_0x223f1c,'range':_0x19a26b,'color':_0x1438a2,'name':_0x548320,'selection':_0x2d7dd0,'left':_0x5ada48,'top':_0x35997e,'width':_0x4f939b,'height':_0x70d64c,'evented':!0x1,'zIndex':_0x38c7a6};return new _0x47a450(_0x548320,_0x142362);});_0x488b18[_0x43aa8d(0x219)](_0x26293e,_0x34928e),this[_0x43aa8d(0x421)]=new Set(_0x26293e);}[_0x5d4ae1(0x1eb)](){const _0x2b7dd8=_0x5d4ae1;var _0xb9fbaa;(_0xb9fbaa=this[_0x2b7dd8(0x421)])==null||_0xb9fbaa[_0x2b7dd8(0x32c)](_0x2631e6=>_0x2631e6[_0x2b7dd8(0x26d)]());}[_0x5d4ae1(0x488)](){const _0x3619ba=_0x5d4ae1;return _0x15965e[_0x3619ba(0x3fd)](this['_univerInstanceService'],this[_0x3619ba(0x2ce)]);}};_0x4c0615=_0x12c2e2([_0x1c7e0a[_0x5d4ae1(0x466)](_0x1c7e0a['LifecycleStages'][_0x5d4ae1(0x290)],_0x4c0615),_0x34f3fb(0x0,_0x4fa573[_0x5d4ae1(0x274)](_0x4a2232)),_0x34f3fb(0x1,_0x1c7e0a[_0x5d4ae1(0x2e9)]),_0x34f3fb(0x2,_0x5ae3fd['IRenderManagerService']),_0x34f3fb(0x3,_0x4fa573['Inject'](_0x1c7e0a[_0x5d4ae1(0x12d)]))],_0x4c0615);function _0x312def(_0x4cd686){const _0x56c27f=_0x5d4ae1,_0x4399c7=new Map();return _0x4cd686[_0x56c27f(0x32c)](_0x3380a6=>{const _0x25ec86=_0x56c27f;if(_0x4399c7[_0x25ec86(0x3d3)](_0x3380a6[_0x25ec86(0x2f2)])){const _0x2e0b20=_0x4399c7[_0x25ec86(0xec)](_0x3380a6[_0x25ec86(0x2f2)]);_0x2e0b20[_0x25ec86(0x295)]+=',\x20'+_0x3380a6[_0x25ec86(0x295)];}else _0x4399c7[_0x25ec86(0x36b)](_0x3380a6[_0x25ec86(0x2f2)],_0x3380a6);}),Array[_0x56c27f(0x35b)](_0x4399c7[_0x56c27f(0x275)]());}var _0x4e0d09=function(){const _0x287976=_0x5d4ae1;return _0x4e0d09=Object[_0x287976(0x2dc)]||function(_0x1e1659){const _0x33c099=_0x287976;for(var _0x9181ef,_0x3eea26=0x1,_0xbad8c=arguments['length'];_0x3eea26<_0xbad8c;_0x3eea26++){_0x9181ef=arguments[_0x3eea26];for(var _0x13d77f in _0x9181ef)Object['prototype'][_0x33c099(0x2d8)][_0x33c099(0xb1)](_0x9181ef,_0x13d77f)&&(_0x1e1659[_0x13d77f]=_0x9181ef[_0x13d77f]);}return _0x1e1659;},_0x4e0d09[_0x287976(0x249)](this,arguments);},_0x24e9a0=function(_0x179e7b,_0x210384){const _0x612b7d=_0x5d4ae1;var _0x4e8e23={};for(var _0x1c881f in _0x179e7b)Object[_0x612b7d(0x321)][_0x612b7d(0x2d8)][_0x612b7d(0xb1)](_0x179e7b,_0x1c881f)&&_0x210384[_0x612b7d(0x3d4)](_0x1c881f)<0x0&&(_0x4e8e23[_0x1c881f]=_0x179e7b[_0x1c881f]);if(_0x179e7b!=null&&typeof Object[_0x612b7d(0x43d)]==_0x612b7d(0x37f)){for(var _0x4c099a=0x0,_0x1c881f=Object[_0x612b7d(0x43d)](_0x179e7b);_0x4c099a<_0x1c881f[_0x612b7d(0x30d)];_0x4c099a++)_0x210384['indexOf'](_0x1c881f[_0x4c099a])<0x0&&Object[_0x612b7d(0x321)]['propertyIsEnumerable']['call'](_0x179e7b,_0x1c881f[_0x4c099a])&&(_0x4e8e23[_0x1c881f[_0x4c099a]]=_0x179e7b[_0x1c881f[_0x4c099a]]);}return _0x4e8e23;},_0x33e1ca=_0x4e1c10['forwardRef'](function(_0x2a4550,_0x5ae4d1){const _0x59d0e3=_0x5d4ae1;var _0x4cea34=_0x2a4550[_0x59d0e3(0x199)],_0x515cad=_0x2a4550['id'],_0x3457ce=_0x2a4550[_0x59d0e3(0x2b8)],_0x504c6c=_0x2a4550[_0x59d0e3(0x47c)],_0x48ab5f=_0x24e9a0(_0x2a4550,[_0x59d0e3(0x199),'id',_0x59d0e3(0x2b8),'extend']),_0x10eaf0='univerjs-icon\x20univerjs-icon-'['concat'](_0x515cad,'\x20')[_0x59d0e3(0x109)](_0x3457ce||'')[_0x59d0e3(0x373)](),_0x240481=_0x4e1c10[_0x59d0e3(0x2e4)]('_'['concat'](_0x50cb67()));return _0x4e5600(_0x4cea34,''[_0x59d0e3(0x109)](_0x515cad),{'defIds':_0x4cea34['defIds'],'idSuffix':_0x240481[_0x59d0e3(0x246)]},_0x4e0d09({'ref':_0x5ae4d1,'className':_0x10eaf0},_0x48ab5f),_0x504c6c);});function _0x4e5600(_0x29ab5c,_0x5a0101,_0x324f93,_0x29acb9,_0x4d1e64){const _0x57da6e=_0x5d4ae1;return _0x4e1c10[_0x57da6e(0x177)](_0x29ab5c[_0x57da6e(0x1a9)],_0x4e0d09(_0x4e0d09({'key':_0x5a0101},_0x32234d(_0x29ab5c,_0x324f93,_0x4d1e64)),_0x29acb9),(_0x4407d2(_0x29ab5c,_0x324f93)[_0x57da6e(0x33a)]||[])[_0x57da6e(0x324)](function(_0x3b0c4f,_0x7074cc){const _0x2d5dfc=_0x57da6e;return _0x4e5600(_0x3b0c4f,''[_0x2d5dfc(0x109)](_0x5a0101,'-')['concat'](_0x29ab5c['tag'],'-')[_0x2d5dfc(0x109)](_0x7074cc),_0x324f93,void 0x0,_0x4d1e64);}));}function _0x32234d(_0x124617,_0xc4e85d,_0x465dcb){const _0x5f3a5a=_0x5d4ae1;var _0x2db806=_0x4e0d09({},_0x124617[_0x5f3a5a(0x119)]);_0x465dcb!=null&&_0x465dcb[_0x5f3a5a(0xb8)]&&_0x2db806[_0x5f3a5a(0xd2)]===_0x5f3a5a(0xb8)&&(_0x2db806['fill']=_0x465dcb[_0x5f3a5a(0xb8)]);var _0xc04a6b=_0xc4e85d[_0x5f3a5a(0x1dc)];return!_0xc04a6b||_0xc04a6b['length']===0x0||(_0x124617[_0x5f3a5a(0x1a9)]===_0x5f3a5a(0x359)&&_0x2db806[_0x5f3a5a(0x397)]&&(_0x2db806[_0x5f3a5a(0x397)]=_0x2db806[_0x5f3a5a(0x397)]+_0xc4e85d['idSuffix']),Object[_0x5f3a5a(0x1d2)](_0x2db806)[_0x5f3a5a(0x32c)](function(_0x308dff){const _0x431b7a=_0x5f3a5a;var _0x3e82eb=_0x308dff[0x0],_0x388d82=_0x308dff[0x1];typeof _0x388d82==_0x431b7a(0xbf)&&(_0x2db806[_0x3e82eb]=_0x388d82[_0x431b7a(0x257)](/url\(#(.*)\)/,_0x431b7a(0x13c)[_0x431b7a(0x109)](_0xc4e85d['idSuffix'],')')));})),_0x2db806;}function _0x4407d2(_0x3f8d1d,_0x2694ba){const _0x6d71f9=_0x5d4ae1;var _0x5178d2,_0x190e01=_0x2694ba[_0x6d71f9(0x1dc)];return!_0x190e01||_0x190e01['length']===0x0?_0x3f8d1d:_0x3f8d1d['tag']===_0x6d71f9(0x117)&&(!((_0x5178d2=_0x3f8d1d[_0x6d71f9(0x33a)])===null||_0x5178d2===void 0x0)&&_0x5178d2[_0x6d71f9(0x30d)])?_0x4e0d09(_0x4e0d09({},_0x3f8d1d),{'children':_0x3f8d1d['children'][_0x6d71f9(0x324)](function(_0x59ddf0){const _0x373f68=_0x6d71f9;return typeof _0x59ddf0[_0x373f68(0x119)]['id']=='string'&&_0x190e01&&_0x190e01[_0x373f68(0x3d4)](_0x59ddf0[_0x373f68(0x119)]['id'])>-0x1?_0x4e0d09(_0x4e0d09({},_0x59ddf0),{'attrs':_0x4e0d09(_0x4e0d09({},_0x59ddf0[_0x373f68(0x119)]),{'id':_0x59ddf0[_0x373f68(0x119)]['id']+_0x2694ba[_0x373f68(0x385)]})}):_0x59ddf0;})}):_0x3f8d1d;}function _0x50cb67(){const _0xf34818=_0x5d4ae1;return Math[_0xf34818(0x357)]()['toString'](0x24)['substring'](0x2,0x8);}_0x33e1ca['displayName']=_0x5d4ae1(0x265);var _0x1bef9f={'tag':_0x5d4ae1(0x2f0),'attrs':{'fill':_0x5d4ae1(0x315),'viewBox':_0x5d4ae1(0x115),'width':_0x5d4ae1(0x3f5),'height':_0x5d4ae1(0x3f5)},'children':[{'tag':'g','attrs':{'clipPath':_0x5d4ae1(0x3b1)},'children':[{'tag':_0x5d4ae1(0x445),'attrs':{'stroke':_0x5d4ae1(0x163),'d':_0x5d4ae1(0x291),'strokeLinecap':_0x5d4ae1(0x33e),'strokeLinejoin':_0x5d4ae1(0x33e),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x5d4ae1(0x395),'attrs':{'id':_0x5d4ae1(0x11d)},'children':[{'tag':_0x5d4ae1(0x445),'attrs':{'fill':_0x5d4ae1(0x45d),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x5d4ae1(0x11d)]},_0x356e22=_0x4e1c10[_0x5d4ae1(0xfb)](function(_0x23c7c9,_0x1579b7){const _0xe99320=_0x5d4ae1;return _0x4e1c10[_0xe99320(0x177)](_0x33e1ca,Object[_0xe99320(0x2dc)]({},_0x23c7c9,{'id':_0xe99320(0x22f),'ref':_0x1579b7,'icon':_0x1bef9f}));});_0x356e22[_0x5d4ae1(0x383)]=_0x5d4ae1(0x1da);var _0x2f0ff7={'tag':'svg','attrs':{'fill':'none','viewBox':_0x5d4ae1(0x37c),'width':_0x5d4ae1(0x3f5),'height':_0x5d4ae1(0x3f5)},'children':[{'tag':'g','attrs':{'clipPath':_0x5d4ae1(0xf1)},'children':[{'tag':_0x5d4ae1(0x445),'attrs':{'stroke':_0x5d4ae1(0x163),'d':_0x5d4ae1(0xbc),'strokeLinecap':_0x5d4ae1(0x33e),'strokeLinejoin':_0x5d4ae1(0x33e),'strokeWidth':1.2}}]},{'tag':_0x5d4ae1(0x117),'attrs':{},'children':[{'tag':_0x5d4ae1(0x395),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x5d4ae1(0x445),'attrs':{'fill':_0x5d4ae1(0x45d),'d':_0x5d4ae1(0xd8),'transform':_0x5d4ae1(0x12a)}}]}]}],'defIds':[_0x5d4ae1(0x18c)]},_0x478f43=_0x4e1c10[_0x5d4ae1(0xfb)](function(_0x390204,_0x5669cf){const _0x256947=_0x5d4ae1;return _0x4e1c10[_0x256947(0x177)](_0x33e1ca,Object[_0x256947(0x2dc)]({},_0x390204,{'id':'on-line-single','ref':_0x5669cf,'icon':_0x2f0ff7}));});_0x478f43[_0x5d4ae1(0x383)]=_0x5d4ae1(0x175);const _0x44897b={'onlineStatusIcon':_0x5d4ae1(0x2c9),'onlineStatusTitle':_0x5d4ae1(0x2f1),'onlineStatus':_0x5d4ae1(0x1d8),'online':_0x5d4ae1(0x391),'offline':'univer-offline'};function _0x585ce5(_0x25ef61){const _0x8c46fd=_0x5d4ae1;switch(_0x25ef61){case _0x340600[_0x8c46fd(0x1e5)]:return _0x8c46fd(0x3ff);case _0x340600['CONFLICT']:return _0x8c46fd(0x348);case _0x340600['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x340600[_0x8c46fd(0x1ec)]:return _0x8c46fd(0xb7);case _0x340600[_0x8c46fd(0x135)]:case _0x340600['AWAITING']:case _0x340600[_0x8c46fd(0x205)]:return _0x8c46fd(0x27f);case _0x340600[_0x8c46fd(0x3ce)]:return _0x8c46fd(0xb3);}}function _0x925375(_0x53c672){const _0x2ce40a=_0x5d4ae1,{status$:_0x46775f}=_0x53c672,_0x32225e=_0x1fdc42[_0x2ce40a(0x1c3)](_0x46775f,_0x340600[_0x2ce40a(0x1ec)]),_0x37a508=_0x8de590[_0x2ce40a(0x1ab)](_0x1c7e0a[_0x2ce40a(0x476)]),_0x19bc0c=_0x32225e!==_0x340600[_0x2ce40a(0x1e5)],_0x5461e8=_0x37a508['t'](_0x585ce5(_0x32225e)),_0x1ebb38=_0x10fbf6(_0x44897b[_0x2ce40a(0x368)],{[_0x44897b[_0x2ce40a(0x216)]]:_0x19bc0c,[_0x44897b[_0x2ce40a(0xf5)]]:!_0x19bc0c}),_0x528f76=_0x19bc0c?_0x4e1c10[_0x2ce40a(0x177)](_0x478f43,null):_0x4e1c10['createElement'](_0x356e22,null);return _0x4e1c10[_0x2ce40a(0x177)](_0x2ce40a(0x103),{'className':_0x1ebb38},_0x4e1c10[_0x2ce40a(0x177)]('div',{'className':_0x44897b[_0x2ce40a(0x399)]},_0x528f76),_0x4e1c10[_0x2ce40a(0x177)](_0x2ce40a(0x103),{'className':_0x44897b[_0x2ce40a(0x280)]},_0x5461e8));}var _0x542489=Object[_0x5d4ae1(0x428)],_0x3abbc2=Object[_0x5d4ae1(0x23a)],_0x4efe60=(_0x4f2933,_0x5a4486,_0x29be38,_0x515d46)=>{const _0x24ac6b=_0x5d4ae1;for(var _0x1f9328=_0x515d46>0x1?void 0x0:_0x515d46?_0x3abbc2(_0x5a4486,_0x29be38):_0x5a4486,_0x2baf76=_0x4f2933[_0x24ac6b(0x30d)]-0x1,_0x74185a;_0x2baf76>=0x0;_0x2baf76--)(_0x74185a=_0x4f2933[_0x2baf76])&&(_0x1f9328=(_0x515d46?_0x74185a(_0x5a4486,_0x29be38,_0x1f9328):_0x74185a(_0x1f9328))||_0x1f9328);return _0x515d46&&_0x1f9328&&_0x542489(_0x5a4486,_0x29be38,_0x1f9328),_0x1f9328;},_0x1bee0f=(_0x544994,_0x123f4d)=>(_0x483984,_0x179da9)=>_0x123f4d(_0x483984,_0x179da9,_0x544994);_0x488928[_0x5d4ae1(0x1c8)]=class extends _0x1c7e0a[_0x5d4ae1(0x284)]{constructor(_0x11657d,_0x359962,_0x24c79d,_0x35cf1d){const _0x1abb62=_0x5d4ae1;super(),_0x2308c9(this,'_status$',new _0xf632fb[(_0x1abb62(0x195))](_0x340600[_0x1abb62(0x1ec)])),(this['_univerInstanceService']=_0x11657d,this[_0x1abb62(0x453)]=_0x359962,this[_0x1abb62(0x12f)]=_0x24c79d,this[_0x1abb62(0x1ce)]=_0x35cf1d,this[_0x1abb62(0x28b)](),this['_initStatusListener']());}[_0x5d4ae1(0x28b)](){const _0x41d2a1=_0x5d4ae1;this['disposeWithMe'](this['_uiPartsService'][_0x41d2a1(0x377)](_0x1fdc42[_0x41d2a1(0x31b)][_0x41d2a1(0x14f)],()=>_0x8de590[_0x41d2a1(0x3e8)](_0x38e0a4({'status$':this[_0x41d2a1(0x2a2)]['asObservable']()}),this[_0x41d2a1(0x12f)])));}[_0x5d4ae1(0xe8)](){const _0x115e02=_0x5d4ae1;this[_0x115e02(0xf2)](_0x1c7e0a[_0x115e02(0x2e6)](this['_univerInstanceService'][_0x115e02(0x114)]['pipe'](_0xf632fb[_0x115e02(0x384)](()=>{const _0x14d482=_0x115e02,_0xde39d7=this[_0x14d482(0x2aa)]['getFocusedUnit']();return _0xde39d7?this[_0x14d482(0x1ce)][_0x14d482(0x1a2)](_0xde39d7[_0x14d482(0x37d)]()):_0xf632fb['of'](null);}),_0xf632fb['switchMap'](_0x52cab1=>_0x52cab1?_0x52cab1[_0x115e02(0x137)]:_0xf632fb['of'](_0x340600[_0x115e02(0x1ec)])))[_0x115e02(0x41c)](_0x4dd995=>{const _0x268821=_0x115e02;this[_0x268821(0x2a2)]['next'](_0x4dd995);})));}},_0x488928[_0x5d4ae1(0x1c8)]=_0x4efe60([_0x1c7e0a['OnLifecycle'](_0x1c7e0a['LifecycleStages'][_0x5d4ae1(0xf4)],_0x488928[_0x5d4ae1(0x1c8)]),_0x1bee0f(0x0,_0x1c7e0a[_0x5d4ae1(0x2e9)]),_0x1bee0f(0x1,_0x1fdc42[_0x5d4ae1(0x327)]),_0x1bee0f(0x2,_0x4fa573[_0x5d4ae1(0x274)](_0x4fa573['Injector'])),_0x1bee0f(0x3,_0x4fa573[_0x5d4ae1(0x274)](_0x488928[_0x5d4ae1(0x427)]))],_0x488928['DesktopCollaborationStatusDisplayController']);function _0x38e0a4(_0x26541b){const {status$:_0xa3d11}=_0x26541b;return function(){const _0x1db36e=_0x18a3;return _0x4e1c10[_0x1db36e(0x177)](_0x925375,{'status$':_0xa3d11});};}const _0x6ad376=_0x4fa573[_0x5d4ae1(0x160)](_0x5d4ae1(0x3e4));var _0x546918=Object[_0x5d4ae1(0x428)],_0x4bb036=Object[_0x5d4ae1(0x23a)],_0x2e139e=(_0x4eb0ae,_0x3b24e4,_0x5083ec,_0x4619cc)=>{for(var _0x410a30=_0x4619cc>0x1?void 0x0:_0x4619cc?_0x4bb036(_0x3b24e4,_0x5083ec):_0x3b24e4,_0x10cd80=_0x4eb0ae['length']-0x1,_0x5e9d08;_0x10cd80>=0x0;_0x10cd80--)(_0x5e9d08=_0x4eb0ae[_0x10cd80])&&(_0x410a30=(_0x4619cc?_0x5e9d08(_0x3b24e4,_0x5083ec,_0x410a30):_0x5e9d08(_0x410a30))||_0x410a30);return _0x4619cc&&_0x410a30&&_0x546918(_0x3b24e4,_0x5083ec,_0x410a30),_0x410a30;},_0x8f1551=(_0x2a21c7,_0x13cda9)=>(_0x336b23,_0x5393a2)=>_0x13cda9(_0x336b23,_0x5393a2,_0x2a21c7);_0x488928['DataLoaderController']=class extends _0x1c7e0a['RxDisposable']{constructor(_0x591747,_0x1f5040,_0x1bda38,_0x3d2663,_0x564ad5,_0x2d19b9){const _0x31a4c6=_0x5d4ae1;super(),this[_0x31a4c6(0x3cb)]=_0x591747,this[_0x31a4c6(0x38d)]=_0x1f5040,this[_0x31a4c6(0x28d)]=_0x1bda38,this[_0x31a4c6(0x25a)]=_0x3d2663,this['_snapshotService']=_0x564ad5,_0x2d19b9?_0x2d19b9==null||_0x2d19b9[_0x31a4c6(0x25e)]()[_0x31a4c6(0x394)](()=>this[_0x31a4c6(0x3c0)]()):(this[_0x31a4c6(0x38d)][_0x31a4c6(0x248)](_0x31a4c6(0x3cc),_0x31a4c6(0x26e)),this[_0x31a4c6(0x3c0)]());}async[_0x5d4ae1(0x3c0)](){const _0x51a161=_0x5d4ae1,_0x595d0a=this[_0x51a161(0x3cb)][_0x51a161(0x3b5)](_0x51a161(0x422)),_0x360537=this[_0x51a161(0x3cb)]['getParam']('type');if(!_0x595d0a||!_0x360537){this[_0x51a161(0x38d)][_0x51a161(0x248)]('[DataLoaderController]',_0x51a161(0x155));return;}switch(Number(_0x360537)){case _0x38246c[_0x51a161(0xfd)]:{const _0x4f2dc4=await this['_loadSheet'](_0x595d0a);this[_0x51a161(0x225)](_0x4f2dc4);break;}case _0x38246c[_0x51a161(0xe0)]:{await this['_loadDoc'](_0x595d0a);break;}default:{this[_0x51a161(0x38d)][_0x51a161(0x34d)](_0x51a161(0x3cc),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async[_0x5d4ae1(0x225)](_0x3e42e2){const _0x134748=_0x5d4ae1;await this[_0x134748(0x149)](_0x3e42e2),_0x3e42e2[_0x134748(0x2ca)][_0x134748(0x272)](_0xf632fb[_0x134748(0x360)](this[_0x134748(0x40c)]))['subscribe'](_0x2114ee=>{const _0x13cf05=_0x134748;_0x2114ee&&this[_0x13cf05(0x2dd)](_0x2114ee);}),this[_0x134748(0x3cb)][_0x134748(0x118)][_0x134748(0x272)](_0xf632fb[_0x134748(0x360)](this[_0x134748(0x40c)]))[_0x134748(0x41c)](()=>this[_0x134748(0x149)](_0x3e42e2));}['_updateURLWithCurrentState'](_0x3eb885,_0x3aa918=!0x1){const _0x54f0d5=_0x5d4ae1,_0x45a650=this[_0x54f0d5(0x3cb)]['getParam'](_0x54f0d5(0x2be));_0x3eb885[_0x54f0d5(0x1ad)]()!==_0x45a650&&this['_urlService'][_0x54f0d5(0x1e7)](_0x54f0d5(0x2be),_0x3eb885[_0x54f0d5(0x1ad)](),_0x3aa918);}async[_0x5d4ae1(0x149)](_0x57e7a0){const _0x22c1da=_0x5d4ae1;var _0x18e92d;const _0x2c7f89=this[_0x22c1da(0x3cb)][_0x22c1da(0x3b5)](_0x22c1da(0x2be));if(!_0x2c7f89||!_0x57e7a0[_0x22c1da(0x230)](_0x2c7f89)){const _0xb0550=_0x57e7a0['getUnhiddenWorksheets']()[0x0],_0x32785e=_0x57e7a0[_0x22c1da(0x230)](_0xb0550);if(!_0x32785e)return;this[_0x22c1da(0x2dd)](_0x32785e,!0x0),await this[_0x22c1da(0x28d)][_0x22c1da(0x464)](_0x213e0a['SetWorksheetActivateCommand']['id'],{'unitId':_0x57e7a0[_0x22c1da(0x37d)](),'subUnitId':_0xb0550});return;}((_0x18e92d=_0x57e7a0[_0x22c1da(0x48e)]())==null?void 0x0:_0x18e92d[_0x22c1da(0x1ad)]())!==_0x2c7f89&&await this[_0x22c1da(0x28d)][_0x22c1da(0x464)](_0x213e0a[_0x22c1da(0x13d)]['id'],{'unitId':_0x57e7a0[_0x22c1da(0x37d)](),'subUnitId':_0x2c7f89});}async['_loadSheet'](_0x44514d){const _0x52afca=_0x5d4ae1;let _0x1e6235=0x0;const _0x8e32af=await this['_localCacheService']['loadOfflineData'](_0x44514d);return _0x8e32af&&(_0x8e32af['awaitingChangeset']||_0x8e32af[_0x52afca(0x27d)][_0x52afca(0x30d)]!==0x0)&&(_0x1e6235=_0x8e32af[_0x52afca(0x1e1)]),_0x1e6235===0x0&&this['_logService'][_0x52afca(0x248)](_0x52afca(0x3cc),_0x52afca(0x3fb)),this[_0x52afca(0x10f)]['loadSheet'](_0x44514d,_0x1e6235);}async[_0x5d4ae1(0x3b9)](_0x41c0c2){const _0x3ca279=_0x5d4ae1;let _0x4a664d=0x0;const _0x545150=await this[_0x3ca279(0x25a)][_0x3ca279(0x185)](_0x41c0c2);return _0x545150&&(_0x545150[_0x3ca279(0x2ef)]||_0x545150[_0x3ca279(0x27d)]['length']!==0x0)&&(_0x4a664d=_0x545150[_0x3ca279(0x1e1)]),_0x4a664d===0x0&&this['_logService'][_0x3ca279(0x248)](_0x3ca279(0x3cc),_0x3ca279(0x3fb)),this['_snapshotService'][_0x3ca279(0x10a)](_0x41c0c2,_0x4a664d);}},_0x488928[_0x5d4ae1(0x2b6)]=_0x2e139e([_0x1c7e0a['OnLifecycle'](_0x1c7e0a[_0x5d4ae1(0x25f)][_0x5d4ae1(0xf4)],_0x488928[_0x5d4ae1(0x2b6)]),_0x8f1551(0x0,_0x6ad376),_0x8f1551(0x1,_0x1c7e0a[_0x5d4ae1(0x3d7)]),_0x8f1551(0x2,_0x1c7e0a[_0x5d4ae1(0x264)]),_0x8f1551(0x3,_0x4fa573[_0x5d4ae1(0x274)](_0x488928[_0x5d4ae1(0x296)])),_0x8f1551(0x4,_0x4fa573[_0x5d4ae1(0x274)](_0x1aa573[_0x5d4ae1(0x28a)])),_0x8f1551(0x5,_0x4fa573[_0x5d4ae1(0x468)](_0x3c56f8['IRemoteInstanceService']))],_0x488928[_0x5d4ae1(0x2b6)]);var _0xb98cb0=Object[_0x5d4ae1(0x428)],_0x519f14=Object[_0x5d4ae1(0x23a)],_0x2e4d22=(_0x2ee406,_0x52c402,_0x225e6c,_0x45ed6e)=>{const _0x3f67cd=_0x5d4ae1;for(var _0x45fddf=_0x45ed6e>0x1?void 0x0:_0x45ed6e?_0x519f14(_0x52c402,_0x225e6c):_0x52c402,_0x1a406f=_0x2ee406[_0x3f67cd(0x30d)]-0x1,_0x949e3d;_0x1a406f>=0x0;_0x1a406f--)(_0x949e3d=_0x2ee406[_0x1a406f])&&(_0x45fddf=(_0x45ed6e?_0x949e3d(_0x52c402,_0x225e6c,_0x45fddf):_0x949e3d(_0x45fddf))||_0x45fddf);return _0x45ed6e&&_0x45fddf&&_0xb98cb0(_0x52c402,_0x225e6c,_0x45fddf),_0x45fddf;},_0x5a56c5=(_0x5bb76a,_0x14232c)=>(_0x3c3dbc,_0x80d0a2)=>_0x14232c(_0x3c3dbc,_0x80d0a2,_0x5bb76a);const _0x215c68=_0x5d4ae1(0x1ee),_0x207855=_0x5d4ae1(0x437);let _0x38f41e=class extends _0x1c7e0a[_0x5d4ae1(0x284)]{constructor(_0x5e8d40,_0x1625a8){const _0x985495=_0x5d4ae1;super(),this[_0x985495(0x2aa)]=_0x5e8d40,this['_configService']=_0x1625a8,this[_0x985495(0x3c0)]();}['_init'](){const _0xae62e4=_0x5d4ae1;this[_0xae62e4(0xf2)](_0x1c7e0a[_0xae62e4(0x2e6)](this[_0xae62e4(0x2aa)][_0xae62e4(0x114)][_0xae62e4(0x41c)](()=>{const _0x42845f=_0xae62e4;var _0x79afb6;const _0xe94ca9=this[_0x42845f(0x2aa)][_0x42845f(0x1cc)]();let _0x3108d8=(_0x79afb6=this['_configService'][_0x42845f(0x30e)](_0x215c68))!=null?_0x79afb6:_0x207855;_0xe94ca9 instanceof _0x1c7e0a[_0x42845f(0x255)]&&(_0x3108d8=_0xe94ca9[_0x42845f(0x295)]),document['title']=_0x3108d8;})));}};_0x38f41e=_0x2e4d22([_0x1c7e0a[_0x5d4ae1(0x466)](_0x1c7e0a[_0x5d4ae1(0x25f)]['Ready'],_0x38f41e),_0x5a56c5(0x0,_0x1c7e0a[_0x5d4ae1(0x2e9)]),_0x5a56c5(0x1,_0x1c7e0a[_0x5d4ae1(0x13b)])],_0x38f41e);var _0x2dbc5d=Object[_0x5d4ae1(0x428)],_0x235635=Object[_0x5d4ae1(0x23a)],_0x1692bb=(_0x344e55,_0x3396bf,_0x1556e9,_0x3e3636)=>{const _0x6963a5=_0x5d4ae1;for(var _0x10f07b=_0x3e3636>0x1?void 0x0:_0x3e3636?_0x235635(_0x3396bf,_0x1556e9):_0x3396bf,_0x32fcba=_0x344e55[_0x6963a5(0x30d)]-0x1,_0x346136;_0x32fcba>=0x0;_0x32fcba--)(_0x346136=_0x344e55[_0x32fcba])&&(_0x10f07b=(_0x3e3636?_0x346136(_0x3396bf,_0x1556e9,_0x10f07b):_0x346136(_0x10f07b))||_0x10f07b);return _0x3e3636&&_0x10f07b&&_0x2dbc5d(_0x3396bf,_0x1556e9,_0x10f07b),_0x10f07b;},_0x3fc4f5=(_0x3b36,_0x45636a)=>(_0x4839bf,_0x22d2ab)=>_0x45636a(_0x4839bf,_0x22d2ab,_0x3b36);let _0x48a2d0=class{constructor(_0xfaa31a,_0x7aedd0){const _0x53339a=_0x5d4ae1;this[_0x53339a(0x432)]=_0xfaa31a,this[_0x53339a(0x2b9)]=_0x7aedd0;}async[_0x5d4ae1(0x1d0)](_0x362a68,_0x38691f){const _0x458dbb=_0x5d4ae1;var _0x2379f8;const {unitID:_0x5babed,type:_0x5ba38d,revision:_0xf6249f=0x0}=_0x38691f,_0x26a2df=this[_0x458dbb(0x147)]()+'/'+_0x5ba38d+_0x458dbb(0x144)+_0x5babed+_0x458dbb(0x256)+(_0xf6249f===0x1?0x0:_0xf6249f),_0xee58eb=(await this[_0x458dbb(0x2b9)][_0x458dbb(0xec)](_0x26a2df))[_0x458dbb(0x201)],_0x1ea88e=(_0x2379f8=_0xee58eb[_0x458dbb(0xfc)])==null?void 0x0:_0x2379f8[_0x458dbb(0x269)];if(_0x1ea88e){const _0x4044e7=_0x1ea88e==null?void 0x0:_0x1ea88e[_0x458dbb(0xb6)],_0x4d6d26=_0x1c7e0a[_0x458dbb(0x1f3)][_0x458dbb(0x480)](_0x1c7e0a[_0x458dbb(0x41f)](_0x4044e7));_0x1ea88e[_0x458dbb(0xb6)]=_0x4d6d26,Object[_0x458dbb(0x1d2)](_0x1ea88e[_0x458dbb(0xc0)])[_0x458dbb(0x32c)](([,_0x3e290f])=>{const _0x328dcc=_0x458dbb,_0x2769e5=_0x3e290f[_0x328dcc(0xb6)],_0x5e707f=_0x1c7e0a['textEncoder']['encode'](_0x1c7e0a[_0x328dcc(0x41f)](_0x2769e5));_0x3e290f[_0x328dcc(0xb6)]=_0x5e707f;});}return _0xee58eb;}async[_0x5d4ae1(0x3fe)](_0x4bf52f,_0x2d884c){const _0x227a0e=_0x5d4ae1,{unitID:_0x4b5547,type:_0xef4886,blockID:_0x27b21e}=_0x2d884c,_0x2fbdea=this['_getAPIPrefix']()+'/'+_0xef4886+'/unit/'+_0x4b5547+_0x227a0e(0x3e6)+_0x27b21e;return(await this[_0x227a0e(0x2b9)][_0x227a0e(0xec)](_0x2fbdea))['body'];}async[_0x5d4ae1(0xe6)](_0x22b972,_0x593a81){const _0x30d323=_0x5d4ae1,{unitID:_0x3fe3d6,type:_0x12f90b,from:_0x22d1ee,to:_0x3346ef}=_0x593a81,_0x2ec996=this[_0x30d323(0x392)]()+'/'+_0x12f90b+_0x30d323(0x144)+_0x3fe3d6+'/fetchmissing?from='+_0x22d1ee+_0x30d323(0x47d)+_0x3346ef;return(await this[_0x30d323(0x2b9)][_0x30d323(0xec)](_0x2ec996))[_0x30d323(0x201)];}['_getSnapshotAPIPrefix'](){const _0x5209cb=_0x5d4ae1;var _0x59fb6e;return(_0x59fb6e=this[_0x5209cb(0x432)][_0x5209cb(0x30e)](_0x523aed))!=null?_0x59fb6e:this[_0x5209cb(0x392)]();}[_0x5d4ae1(0x392)](){const _0x319265=_0x5d4ae1;var _0x576154;return(_0x576154=this['_configService'][_0x319265(0x30e)](_0x7cbdce))!=null?_0x576154:_0x1b349b;}async[_0x5d4ae1(0x3a6)](_0x485722,_0x5ababa){const _0x40960e=_0x5d4ae1,_0x2844d4=_0x40960e(0x3ad)+_0x5ababa[_0x40960e(0x302)]+_0x40960e(0x144)+_0x5ababa['unitID']+_0x40960e(0x179);return(await this[_0x40960e(0x2b9)][_0x40960e(0xec)](_0x2844d4,{'params':{'resourceId':JSON['stringify'](_0x5ababa[_0x40960e(0x3f3)])}}))[_0x40960e(0x201)];}[_0x5d4ae1(0x303)](){const _0x1128d8=_0x5d4ae1;throw new Error(_0x1128d8(0x443));}[_0x5d4ae1(0x17f)](){const _0x262e29=_0x5d4ae1;throw new Error(_0x262e29(0x443));}[_0x5d4ae1(0x1f7)](){const _0x4aa4ab=_0x5d4ae1;throw new Error(_0x4aa4ab(0x443));}};_0x48a2d0=_0x1692bb([_0x3fc4f5(0x0,_0x1c7e0a[_0x5d4ae1(0x13b)]),_0x3fc4f5(0x1,_0x4fa573[_0x5d4ae1(0x274)](_0x2954d5['HTTPService']))],_0x48a2d0);var _0x562e31=Object['defineProperty'],_0x405d26=Object[_0x5d4ae1(0x23a)],_0x24a5f8=(_0x3c28a1,_0x2e360f,_0x3ae231,_0x13cfa0)=>{const _0x39b3af=_0x5d4ae1;for(var _0x14b91f=_0x13cfa0>0x1?void 0x0:_0x13cfa0?_0x405d26(_0x2e360f,_0x3ae231):_0x2e360f,_0x4f8788=_0x3c28a1[_0x39b3af(0x30d)]-0x1,_0x59c1ea;_0x4f8788>=0x0;_0x4f8788--)(_0x59c1ea=_0x3c28a1[_0x4f8788])&&(_0x14b91f=(_0x13cfa0?_0x59c1ea(_0x2e360f,_0x3ae231,_0x14b91f):_0x59c1ea(_0x14b91f))||_0x14b91f);return _0x13cfa0&&_0x14b91f&&_0x562e31(_0x2e360f,_0x3ae231,_0x14b91f),_0x14b91f;},_0x294599=(_0x364676,_0x398b3a)=>(_0x2f10ee,_0x3497f2)=>_0x398b3a(_0x2f10ee,_0x3497f2,_0x364676);let _0x3b3fce=class extends _0x1c7e0a['LocalUndoRedoService']{constructor(_0x446efc,_0x1a131c,_0x46ae25,_0x1690ed,_0x4407bc){const _0x17e06c=_0x5d4ae1;super(_0x446efc,_0x1a131c,_0x46ae25),this['_transformService']=_0x1690ed,this[_0x17e06c(0x38d)]=_0x4407bc;}[_0x5d4ae1(0x193)](_0x169b18,_0x470c53){const _0x387f03=_0x5d4ae1,_0x433863=this['_getUndoStack'](_0x169b18);if(_0x433863)try{const _0x101270=this[_0x387f03(0x2cf)](_0x433863,_0x470c53);this[_0x387f03(0xd1)](_0x169b18,_0x101270);}catch(_0x2c7369){this[_0x387f03(0x38d)][_0x387f03(0x34d)](_0x387f03(0x3bc),_0x2c7369),this[_0x387f03(0x2bf)](_0x169b18);}const _0x440dc2=this[_0x387f03(0x2c5)](_0x169b18);if(_0x440dc2)try{const _0x324b2b=this[_0x387f03(0x2cf)](_0x440dc2,_0x470c53);this[_0x387f03(0x164)](_0x169b18,_0x324b2b);}catch(_0x7353f6){this[_0x387f03(0x38d)][_0x387f03(0x34d)](_0x7353f6),this[_0x387f03(0x43c)](_0x169b18);}}['_clearUndo'](_0x22f71d){const _0x3b2dec=_0x5d4ae1,_0xcd129a=this['_getUndoStack'](_0x22f71d);_0xcd129a&&(_0xcd129a[_0x3b2dec(0x30d)]=0x0,this['_updateStatus']());}[_0x5d4ae1(0x43c)](_0x4cdfbc){const _0x5a77ce=_0x5d4ae1,_0x50b04c=this[_0x5a77ce(0x2c5)](_0x4cdfbc);_0x50b04c&&(_0x50b04c['length']=0x0,this['_updateStatus']());}[_0x5d4ae1(0xd1)](_0x227feb,_0x450403){const _0x218eeb=_0x5d4ae1;this[_0x218eeb(0x21b)][_0x218eeb(0x36b)](_0x227feb,_0x450403),this[_0x218eeb(0x380)]();}[_0x5d4ae1(0x164)](_0x224b44,_0x422b87){const _0x1101e9=_0x5d4ae1;this[_0x1101e9(0x2b3)][_0x1101e9(0x36b)](_0x224b44,_0x422b87),this[_0x1101e9(0x380)]();}[_0x5d4ae1(0x2cf)](_0x2793e3,_0x1b517f){const _0x37864f=_0x5d4ae1,_0x34e195=[];let _0x4e95f1=_0x1b517f,_0x58f2da=_0x1b517f;for(let _0x151ab6=_0x2793e3[_0x37864f(0x30d)]-0x1;_0x151ab6>=0x0;_0x151ab6--){const {unitID:_0x111ac2,undoMutations:_0x3aec2b,redoMutations:_0x5b7ee5}=_0x2793e3[_0x151ab6],_0x307ba2=this[_0x37864f(0x143)][_0x37864f(0x204)](_0x4e95f1,_0x3aec2b),_0x228c35=this[_0x37864f(0x143)][_0x37864f(0x204)](_0x58f2da,_0x5b7ee5);if(_0x1aa573[_0x37864f(0x166)](_0x307ba2)||_0x1aa573[_0x37864f(0x166)](_0x228c35)){this[_0x37864f(0x38d)]['error']('[CollaborationUndoRedoService]',_0x37864f(0x1d7),_0x307ba2,_0x228c35);break;}_0x4e95f1=_0x307ba2[_0x37864f(0x292)],_0x58f2da=_0x228c35[_0x37864f(0x292)],_0x34e195[_0x37864f(0x21f)]({'unitID':_0x111ac2,'undoMutations':_0x307ba2[_0x37864f(0x374)],'redoMutations':_0x228c35[_0x37864f(0x374)]});}return _0x34e195['reverse']();}};_0x3b3fce=_0x24a5f8([_0x294599(0x0,_0x1c7e0a[_0x5d4ae1(0x2e9)]),_0x294599(0x1,_0x1c7e0a[_0x5d4ae1(0x264)]),_0x294599(0x2,_0x1c7e0a[_0x5d4ae1(0xf3)]),_0x294599(0x3,_0x1aa573[_0x5d4ae1(0x38a)]),_0x294599(0x4,_0x1c7e0a[_0x5d4ae1(0x3d7)])],_0x3b3fce);class _0x5a1c14 extends _0x1c7e0a['RxDisposable']{constructor(){const _0x536882=_0x5d4ae1;super(),_0x2308c9(this,_0x536882(0x118)),this[_0x536882(0x118)]=_0xf632fb[_0x536882(0x41b)](window,_0x536882(0x120))['pipe'](_0xf632fb[_0x536882(0x360)](this['dispose$']),_0xf632fb[_0x536882(0x28c)](0x1),_0xf632fb[_0x536882(0x19c)](void 0x0));}[_0x5d4ae1(0x1e7)](_0x10b2c9,_0x34ccbf,_0x4780fd=!0x1){const _0x24e1fb=_0x5d4ae1,_0x314dec=new URL(window[_0x24e1fb(0x29a)][_0x24e1fb(0x2e0)]);_0x314dec[_0x24e1fb(0x21c)][_0x24e1fb(0x36b)](_0x10b2c9,_0x34ccbf),_0x4780fd?window['history']['replaceState']('','',_0x314dec[_0x24e1fb(0x35d)]()):window[_0x24e1fb(0x254)][_0x24e1fb(0x423)]('','',_0x314dec['toString']());}['removeParam'](_0x33fe8a,_0x1a6a3d=!0x1){const _0x302899=_0x5d4ae1,_0x4124ec=new URL(window['location'][_0x302899(0x2e0)]);_0x4124ec[_0x302899(0x21c)][_0x302899(0x1f0)](_0x33fe8a),_0x1a6a3d?window[_0x302899(0x254)]['replaceState']('','',_0x4124ec[_0x302899(0x35d)]()):window[_0x302899(0x254)]['pushState']('','',_0x4124ec['toString']());}[_0x5d4ae1(0x3b5)](_0x173d42){const _0x27d414=_0x5d4ae1;var _0x3ab93d;return(_0x3ab93d=new URL(window[_0x27d414(0x29a)]['href'])[_0x27d414(0x21c)]['get'](_0x173d42))!=null?_0x3ab93d:void 0x0;}}const _0x49ed5d=_0x5d4ae1(0x2c4),_0x45bb06='collab-text-range-',_0x4c81b3=0x6,_0x136bd8=1.5,_0x57e301=0x4,_0x4f03b9=1.5,_0x3fe9f4=_0x5d4ae1(0x322);class _0x3be62d{constructor(_0x1eef9a,_0x43d5ec,_0x1ac486,_0x43cfc0){const _0x4b8ffc=_0x5d4ae1;_0x2308c9(this,'_shapes',[]),_0x2308c9(this,_0x4b8ffc(0x439),null),_0x2308c9(this,'_textBubble',null),_0x2308c9(this,_0x4b8ffc(0x338),null),_0x2308c9(this,_0x4b8ffc(0x21d),null),_0x2308c9(this,_0x4b8ffc(0x2d1),null),(this[_0x4b8ffc(0x279)]=_0x1eef9a,this['_scene']=_0x43d5ec,this[_0x4b8ffc(0x1fc)]=_0x1ac486,this[_0x4b8ffc(0xb2)]=_0x43cfc0,this[_0x4b8ffc(0x390)]());}set[_0x5d4ae1(0x13f)](_0x577897){const _0x260e85=_0x5d4ae1;_0x577897?(this[_0x260e85(0x338)]&&this[_0x260e85(0x338)]['hide'](),this[_0x260e85(0x19b)]&&this[_0x260e85(0x19b)][_0x260e85(0x3fc)]()):(this[_0x260e85(0x338)]&&this[_0x260e85(0x338)][_0x260e85(0x3fc)](),this[_0x260e85(0x19b)]&&this[_0x260e85(0x19b)]['hide']());}[_0x5d4ae1(0x26d)](){const _0xf86dea=_0x5d4ae1;for(const _0x4ac514 of this[_0xf86dea(0x369)])_0x4ac514[_0xf86dea(0x26d)]();this[_0xf86dea(0x19b)]&&this[_0xf86dea(0x19b)][_0xf86dea(0x26d)](),this[_0xf86dea(0x338)]&&this[_0xf86dea(0x338)]['dispose'](),this[_0xf86dea(0x439)]&&this['_anchor'][_0xf86dea(0x26d)](),this[_0xf86dea(0x2d1)]&&this[_0xf86dea(0x2d1)]();}[_0x5d4ae1(0x390)](){const _0x4f767e=_0x5d4ae1,{_docSkeleton:_0x47b132,_document:_0x2bf7bb}=this,{color:_0x12bfc9,name:_0x162eac,ranges:_0x46fc86}=this[_0x4f767e(0x279)],_0x5bdac4=_0x2bf7bb[_0x4f767e(0x45f)](),{docsLeft:_0x131275,docsTop:_0x2e2694}=_0x5bdac4,_0x16c7f0=new _0x5ae3fd[(_0x4f767e(0x202))](_0x5bdac4,_0x47b132);for(const {startOffset:_0x1c8bb0,endOffset:_0x8c6480,collapsed:_0x4b120c,isActive:_0x1c2b7b}of _0x46fc86){const _0x5b9f68=_0x47b132[_0x4f767e(0x462)](_0x1c8bb0),_0x3ae28d=_0x47b132[_0x4f767e(0x462)](_0x8c6480);if(_0x1c2b7b){const {contentBoxPointGroup:_0x1d8f95}=_0x16c7f0[_0x4f767e(0x11b)](_0x3ae28d,_0x3ae28d);if(_0x1d8f95[_0x4f767e(0x30d)]===0x0)continue;this[_0x4f767e(0x33b)](_0x12bfc9,_0x1d8f95,_0x131275,_0x2e2694,_0x162eac),this[_0x4f767e(0x2d1)]=this[_0x4f767e(0x403)]();}if(!_0x4b120c){const {contentBoxPointGroup:_0x4254ee}=_0x16c7f0['getRangePointData'](_0x5b9f68,_0x3ae28d);if(_0x4254ee['length']===0x0)continue;this['_drawRange'](_0x12bfc9,_0x4254ee,_0x131275,_0x2e2694);}}}[_0x5d4ae1(0x33b)](_0x4cc37e,_0x2c4450,_0x4a2122,_0x58836f,_0x4b4d30){const _0x21f49c=_0x5d4ae1,_0x475b75=this[_0x21f49c(0x404)](_0x2c4450),{left:_0x12d558,top:_0x1ede85,height:_0x340f14}=_0x475b75,_0x261b75=this[_0x21f49c(0x2ac)](),_0x451eec=_0x4f03b9/_0x261b75,_0x466d97=new _0x5ae3fd[(_0x21f49c(0x146))](_0x49ed5d+_0x1c7e0a[_0x21f49c(0x2de)][_0x21f49c(0x331)](_0x4c81b3),{'left':_0x12d558+_0x4a2122-_0x451eec,'top':_0x1ede85+_0x58836f,'height':_0x340f14,'width':_0x136bd8,'fill':_0x4cc37e||_0x5ae3fd[_0x21f49c(0x2d5)](_0x1c7e0a['COLORS'][_0x21f49c(0x463)],0x0),'strokeWidth':_0x451eec,'stroke':_0x3fe9f4,'evented':!0x0});this['_anchor']=_0x466d97,this['_scene']['addObject'](_0x466d97,_0x5ae3fd[_0x21f49c(0x1a5)]);const _0x42c6ca=new _0x5ae3fd['Rect'](_0x49ed5d+_0x1c7e0a[_0x21f49c(0x2de)][_0x21f49c(0x331)](_0x4c81b3),{'left':_0x12d558+_0x4a2122-_0x451eec,'top':_0x1ede85+_0x58836f-_0x57e301/0x2,'height':_0x57e301,'width':_0x57e301,'fill':_0x4cc37e||_0x5ae3fd[_0x21f49c(0x2d5)](_0x1c7e0a['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x4cc37e||_0x5ae3fd['getColor'](_0x1c7e0a['COLORS']['black'],0x0),'evented':!0x1});this[_0x21f49c(0x338)]=_0x42c6ca,this['_scene'][_0x21f49c(0x3ea)](_0x42c6ca,_0x5ae3fd[_0x21f49c(0x1a5)]);const _0x2fcfbf=new _0x278a01(_0x49ed5d+_0x1c7e0a[_0x21f49c(0x2de)][_0x21f49c(0x331)](_0x4c81b3),{'left':_0x12d558+_0x4a2122-_0x451eec,'top':_0x1ede85+_0x58836f-_0x77a5c9,'text':_0x4b4d30,'color':_0x4cc37e});this[_0x21f49c(0x19b)]=_0x2fcfbf,this['_scene']['addObject'](_0x2fcfbf,_0x5ae3fd[_0x21f49c(0x1a5)]),this['_hover']=!0x1;}[_0x5d4ae1(0x403)](){const _0x2d1145=_0x5d4ae1,_0x503d03=this[_0x2d1145(0x439)][_0x2d1145(0x220)][_0x2d1145(0x39d)](()=>{const _0x48bdf1=_0x2d1145;this[_0x48bdf1(0x13f)]=!0x0;}),_0x383412=this[_0x2d1145(0x439)][_0x2d1145(0x10e)][_0x2d1145(0x39d)](()=>{const _0x4550a4=_0x2d1145;this[_0x4550a4(0x21d)]&&clearTimeout(this[_0x4550a4(0x21d)]),this['_hideTimer']=setTimeout(()=>{const _0x59aa22=_0x4550a4;this[_0x59aa22(0x13f)]=!0x1;},0x7d0);});return()=>{const _0x27c47e=_0x2d1145;_0x503d03[_0x27c47e(0x21e)](),_0x383412['unsubscribe']();};}[_0x5d4ae1(0x293)](_0x36dd80,_0x5eb0ef,_0x5c75ca,_0x5679ab){const _0x4a578c=_0x5d4ae1,_0xceea3a=new _0x1c7e0a[(_0x4a578c(0x16a))](_0x36dd80)[_0x4a578c(0xe2)](0.2)['toRgbString'](),_0x183fff=new _0x5ae3fd['RegularPolygon'](_0x45bb06+_0x1c7e0a[_0x4a578c(0x2de)][_0x4a578c(0x331)](_0x4c81b3),{'pointsGroup':_0x5eb0ef,'fill':_0xceea3a||_0x5ae3fd[_0x4a578c(0x2d5)](_0x1c7e0a['COLORS']['black'],0.2),'left':_0x5c75ca,'top':_0x5679ab,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4a578c(0x369)][_0x4a578c(0x21f)](_0x183fff),this[_0x4a578c(0x2a8)][_0x4a578c(0x3ea)](_0x183fff,_0x5ae3fd['TEXT_RANGE_LAYER_INDEX']);}[_0x5d4ae1(0x404)](_0x11839a){const _0x34384f=_0x11839a[0x0],_0x597aee=_0x34384f[0x0],_0x470b0c=_0x34384f[0x2],{x:_0x44cf31,y:_0x46f318}=_0x597aee,{x:_0x281794,y:_0x24bd00}=_0x470b0c;return{'left':_0x44cf31,'top':_0x46f318,'width':_0x281794-_0x44cf31,'height':_0x24bd00-_0x46f318};}[_0x5d4ae1(0x2ac)](){const _0x196df7=_0x5d4ae1,{scaleX:_0x5efe8b,scaleY:_0x3f03a6}=this[_0x196df7(0x2a8)][_0x196df7(0x217)]();return Math['max'](_0x5efe8b,_0x3f03a6);}}var _0x321fa8=Object[_0x5d4ae1(0x428)],_0x7ae790=Object[_0x5d4ae1(0x23a)],_0x1bd6c3=(_0x8c6014,_0x24f772,_0x1a4e87,_0x38bb5d)=>{const _0x3ea033=_0x5d4ae1;for(var _0x450c4a=_0x38bb5d>0x1?void 0x0:_0x38bb5d?_0x7ae790(_0x24f772,_0x1a4e87):_0x24f772,_0x163a70=_0x8c6014[_0x3ea033(0x30d)]-0x1,_0x45932e;_0x163a70>=0x0;_0x163a70--)(_0x45932e=_0x8c6014[_0x163a70])&&(_0x450c4a=(_0x38bb5d?_0x45932e(_0x24f772,_0x1a4e87,_0x450c4a):_0x45932e(_0x450c4a))||_0x450c4a);return _0x38bb5d&&_0x450c4a&&_0x321fa8(_0x24f772,_0x1a4e87,_0x450c4a),_0x450c4a;},_0x47b9=(_0x163218,_0x36f5d0)=>(_0x4f85a0,_0x26d6a2)=>_0x36f5d0(_0x4f85a0,_0x26d6a2,_0x163218);let _0x2b66dd=class extends _0x1c7e0a[_0x5d4ae1(0x2bb)]{constructor(_0x482b4f,_0x2f2486,_0x38de59,_0x30a13e,_0x20c2ee){const _0x430757=_0x5d4ae1;super(),_0x2308c9(this,_0x430757(0x421),[]),(this[_0x430757(0x1f6)]=_0x482b4f,this[_0x430757(0x2aa)]=_0x2f2486,this[_0x430757(0x2ce)]=_0x38de59,this['_docSkeletonManagerService']=_0x30a13e,this[_0x430757(0x27e)]=_0x20c2ee,this[_0x430757(0x3c0)]());}[_0x5d4ae1(0x3c0)](){const _0x5297b4=_0x5d4ae1;this['_docSkeletonManagerService'][_0x5297b4(0x3a0)][_0x5297b4(0x272)](_0x2c2667[_0x5297b4(0x360)](this['dispose$']),_0x2c2667[_0x5297b4(0x384)](_0x156126=>{const _0x2a4f39=_0x5297b4;if(_0x156126){const _0x3be868=_0x156126[_0x2a4f39(0x187)]()[_0x2a4f39(0x3aa)]()[_0x2a4f39(0x37d)]();return _0xf632fb[_0x2a4f39(0x3e3)](this['_collabCursorController'][_0x2a4f39(0x14b)](_0x3be868),this['_themeService'][_0x2a4f39(0xc1)])[_0x2a4f39(0x272)](_0x2c2667[_0x2a4f39(0x324)](([_0x284f3b,_0x107544])=>({'skeleton':_0x156126,'cursors':[..._0x284f3b['values']()][_0x2a4f39(0xe5)](_0x2bfb7b=>({..._0x2bfb7b,'color':_0x107544[_0x2bfb7b['color']]}))})));}return _0xf632fb['of']({'skeleton':null,'cursors':[]});}))[_0x5297b4(0x41c)](({skeleton:_0x3e7251,cursors:_0x165e2f})=>{this['_removeCollabCursors'](),_0x3e7251&&this['_updateCollabCursors'](_0x3e7251,_0x165e2f);});}[_0x5d4ae1(0x402)](_0x44792b,_0x3b8115){const _0x2e34de=_0x5d4ae1,_0xda18f2=this[_0x2e34de(0x430)]();if(_0xda18f2==null)return;const {scene:_0x46d758,document:_0x1b8224}=_0xda18f2,_0x59b02a=_0x3b8115[_0x2e34de(0x324)](_0x5a2a16=>new _0x3be62d(_0x5a2a16,_0x46d758,_0x44792b,_0x1b8224));this['_cursors']=_0x59b02a;}[_0x5d4ae1(0x1eb)](){const _0x270703=_0x5d4ae1;this['_cursors'][_0x270703(0x32c)](_0x4f03d7=>_0x4f03d7[_0x270703(0x26d)]()),this['_cursors']=[];}[_0x5d4ae1(0x430)](){const _0x24059c=_0x5d4ae1;return _0x1e7311[_0x24059c(0x1cb)](this[_0x24059c(0x2aa)],this[_0x24059c(0x2ce)]);}};_0x2b66dd=_0x1bd6c3([_0x1c7e0a[_0x5d4ae1(0x466)](_0x1c7e0a[_0x5d4ae1(0x25f)][_0x5d4ae1(0x290)],_0x2b66dd),_0x47b9(0x0,_0x4fa573['Inject'](_0x4a2232)),_0x47b9(0x1,_0x1c7e0a['IUniverInstanceService']),_0x47b9(0x2,_0x5ae3fd['IRenderManagerService']),_0x47b9(0x3,_0x4fa573[_0x5d4ae1(0x274)](_0x1e7311[_0x5d4ae1(0x409)])),_0x47b9(0x4,_0x4fa573[_0x5d4ae1(0x274)](_0x1c7e0a[_0x5d4ae1(0x12d)]))],_0x2b66dd);var _0x39f3e3=Object[_0x5d4ae1(0x428)],_0x594e51=Object[_0x5d4ae1(0x23a)],_0x47eeca=(_0x1460ce,_0x6d9422,_0x575c0b,_0xd1309)=>{const _0x3c9802=_0x5d4ae1;for(var _0x125a4d=_0xd1309>0x1?void 0x0:_0xd1309?_0x594e51(_0x6d9422,_0x575c0b):_0x6d9422,_0x545e3b=_0x1460ce[_0x3c9802(0x30d)]-0x1,_0x43d375;_0x545e3b>=0x0;_0x545e3b--)(_0x43d375=_0x1460ce[_0x545e3b])&&(_0x125a4d=(_0xd1309?_0x43d375(_0x6d9422,_0x575c0b,_0x125a4d):_0x43d375(_0x125a4d))||_0x125a4d);return _0xd1309&&_0x125a4d&&_0x39f3e3(_0x6d9422,_0x575c0b,_0x125a4d),_0x125a4d;},_0x579356=(_0x22f392,_0xa17a9f)=>(_0x50264a,_0x1bd1b3)=>_0xa17a9f(_0x50264a,_0x1bd1b3,_0x22f392);let _0x3b6526=class{constructor(_0x5c9219,_0x404805,_0x4a64e8){const _0x44dc44=_0x5d4ae1;this[_0x44dc44(0x432)]=_0x5c9219,this['_httpService']=_0x404805,this[_0x44dc44(0x1c6)]=_0x4a64e8,this[_0x44dc44(0x2d7)]();}[_0x5d4ae1(0x2d7)](){const _0x185e12=_0x5d4ae1;this[_0x185e12(0x2b9)][_0x185e12(0x1c1)]({'priority':0x1,'interceptor':(_0x3549c8,_0x44e7b8)=>_0x44e7b8(_0x3549c8)[_0x185e12(0x272)](_0xf632fb[_0x185e12(0x381)](async _0x160c64=>{const _0x19ad69=_0x185e12,_0x290a4e=_0x160c64;if(_0x290a4e['status']===0x191&&window[_0x19ad69(0x140)](this[_0x19ad69(0x1c6)]['t']('auth.needGotoLoginAlert'))){const _0x31c59e=window[_0x19ad69(0x31a)](window[_0x19ad69(0x29a)][_0x19ad69(0x2e0)]);window[_0x19ad69(0x29a)][_0x19ad69(0x2e0)]=this[_0x19ad69(0x30b)]()+_0x19ad69(0x379)+_0x31c59e;}return _0x290a4e;}))});}[_0x5d4ae1(0x30b)](){const _0x389eac=_0x5d4ae1;var _0x6df650;return(_0x6df650=this[_0x389eac(0x432)]['getConfig'](_0x5b8cb3))!=null?_0x6df650:_0x45679c;}};_0x3b6526=_0x47eeca([_0x579356(0x0,_0x1c7e0a[_0x5d4ae1(0x13b)]),_0x579356(0x1,_0x4fa573[_0x5d4ae1(0x274)](_0x2954d5['HTTPService'])),_0x579356(0x2,_0x4fa573[_0x5d4ae1(0x274)](_0x1c7e0a[_0x5d4ae1(0x476)]))],_0x3b6526);var _0x587145=Object[_0x5d4ae1(0x428)],_0x3fefe2=Object[_0x5d4ae1(0x23a)],_0x30f645=(_0x52a232,_0x3249f1,_0x59ab56,_0x118044)=>{const _0x29b88f=_0x5d4ae1;for(var _0x47db9d=_0x118044>0x1?void 0x0:_0x118044?_0x3fefe2(_0x3249f1,_0x59ab56):_0x3249f1,_0x322df5=_0x52a232[_0x29b88f(0x30d)]-0x1,_0x44ded6;_0x322df5>=0x0;_0x322df5--)(_0x44ded6=_0x52a232[_0x322df5])&&(_0x47db9d=(_0x118044?_0x44ded6(_0x3249f1,_0x59ab56,_0x47db9d):_0x44ded6(_0x47db9d))||_0x47db9d);return _0x118044&&_0x47db9d&&_0x587145(_0x3249f1,_0x59ab56,_0x47db9d),_0x47db9d;},_0xf0a4d2=(_0x22bb48,_0x59d086)=>(_0x156f40,_0x4c8ac0)=>_0x59d086(_0x156f40,_0x4c8ac0,_0x22bb48);const _0x2a9272=_0x5d4ae1(0xd3),_0x24bb12=_0x5d4ae1(0x414);_0x488928[_0x5d4ae1(0x3ee)]=class{constructor(_0x20621f,_0x46030e){const _0x2034c0=_0x5d4ae1;this[_0x2034c0(0x3ef)]=_0x20621f,this[_0x2034c0(0x432)]=_0x46030e;}[_0x5d4ae1(0x413)](){const _0x39b269=_0x5d4ae1;var _0x1c0cbb;return(_0x1c0cbb=this[_0x39b269(0x432)][_0x39b269(0x30e)](_0x2a9272))!=null?_0x1c0cbb:_0x24bb12;}async[_0x5d4ae1(0xdb)](_0x29f0df){const _0xbbd796=_0x5d4ae1,_0x7c5a01=this[_0xbbd796(0x413)]()+'/'+_0x29f0df['objectType']+_0xbbd796(0x435);return(await this['_HTTPService'][_0xbbd796(0x1ca)](_0x7c5a01,{'body':_0x29f0df}))[_0xbbd796(0x201)]['objectID']||'';}async[_0x5d4ae1(0x1cf)](_0x4b10e2){const _0x2f816f=_0x5d4ae1,_0x6725c6=this[_0x2f816f(0x413)]()+_0x2f816f(0x3c2);return(await this['_HTTPService'][_0x2f816f(0x1ca)](_0x6725c6,{'body':_0x4b10e2}))[_0x2f816f(0x201)][_0x2f816f(0x47b)];}async[_0x5d4ae1(0xcd)](_0x386c21){const _0x4d474c=_0x5d4ae1,_0x647abe=this[_0x4d474c(0x413)]()+'/'+_0x386c21[_0x4d474c(0x24a)]+_0x4d474c(0x29f)+_0x386c21[_0x4d474c(0x2c7)];await this[_0x4d474c(0x3ef)][_0x4d474c(0x1a0)](_0x647abe,{'body':_0x386c21});}async[_0x5d4ae1(0x27b)](_0x521bc4){const _0x3ba7af=_0x5d4ae1,_0x4d724d=this[_0x3ba7af(0x413)]()+'/'+_0x521bc4['objectType']+_0x3ba7af(0x29f)+_0x521bc4['objectID']+_0x3ba7af(0x354);return(await this['_HTTPService']['post'](_0x4d724d,{'body':_0x521bc4}))[_0x3ba7af(0x201)]['actions'];}async[_0x5d4ae1(0x2a0)](_0x3a9955){const _0x1d3adf=_0x5d4ae1,_0x15530d=this[_0x1d3adf(0x413)]()+_0x1d3adf(0x46b);return(await this['_HTTPService'][_0x1d3adf(0x1ca)](_0x15530d,{'body':{'requests':_0x3a9955}}))[_0x1d3adf(0x201)][_0x1d3adf(0x1bd)];}async['listRoles'](_0x48e93c){const _0xa2fb8c=_0x5d4ae1,_0x33a346=this[_0xa2fb8c(0x413)]()+'/'+_0x48e93c[_0xa2fb8c(0x24a)]+'/role',_0x5153e0=await this['_HTTPService'][_0xa2fb8c(0x1ca)](_0x33a346,{'body':_0x48e93c});return{'roles':_0x5153e0[_0xa2fb8c(0x201)][_0xa2fb8c(0x3c6)],'actions':_0x5153e0['body'][_0xa2fb8c(0x401)]};}async[_0x5d4ae1(0x240)](_0x49dc72){const _0x4255db=_0x5d4ae1,_0x8df552=this[_0x4255db(0x413)]()+_0x4255db(0x44d);await this['_HTTPService']['delete'](_0x8df552,{'params':{'collaboratorID':_0x49dc72[_0x4255db(0xe4)],'objectID':_0x49dc72[_0x4255db(0x2c7)],'unitID':_0x49dc72[_0x4255db(0x306)]}});}async[_0x5d4ae1(0x1db)](_0x11dfa1){const _0x180657=_0x5d4ae1,_0x54f3e9=this['_getAPIPrefixPath']()+_0x180657(0x44d);await this['_HTTPService'][_0x180657(0x1c2)](_0x54f3e9,{'body':_0x11dfa1});}async[_0x5d4ae1(0x261)](_0x372afa){const _0x190c02=_0x5d4ae1,_0x31e49f=this[_0x190c02(0x413)]()+'/collaborator';await this[_0x190c02(0x3ef)][_0x190c02(0x1ca)](_0x31e49f,{'body':_0x372afa});}async[_0x5d4ae1(0xc2)](_0x1730e8){const _0x1b39e3=_0x5d4ae1,_0x2e7c66=this[_0x1b39e3(0x413)]()+_0x1b39e3(0x44d);return(await this[_0x1b39e3(0x3ef)][_0x1b39e3(0xec)](_0x2e7c66,{'params':{'objectID':_0x1730e8[_0x1b39e3(0x2c7)],'unitID':_0x1730e8[_0x1b39e3(0x306)]}}))[_0x1b39e3(0x201)][_0x1b39e3(0x299)];}async['putCollaborators'](_0x37be96){const _0x3240be=_0x5d4ae1,_0x4a13bb=this[_0x3240be(0x413)]()+_0x3240be(0x44d);await this[_0x3240be(0x3ef)]['put'](_0x4a13bb,{'body':_0x37be96});}},_0x488928[_0x5d4ae1(0x3ee)]=_0x30f645([_0xf0a4d2(0x0,_0x4fa573['Inject'](_0x2954d5[_0x5d4ae1(0x14e)])),_0xf0a4d2(0x1,_0x4fa573['Inject'](_0x1c7e0a[_0x5d4ae1(0x13b)]))],_0x488928[_0x5d4ae1(0x3ee)]);var _0x4129fc=Object[_0x5d4ae1(0x428)],_0x1577d5=Object[_0x5d4ae1(0x23a)],_0x4fc6e2=(_0x21a4f6,_0x1dee23,_0xad3b61,_0x247b80)=>{const _0x35bfa1=_0x5d4ae1;for(var _0x25c4ac=_0x247b80>0x1?void 0x0:_0x247b80?_0x1577d5(_0x1dee23,_0xad3b61):_0x1dee23,_0x1dc379=_0x21a4f6[_0x35bfa1(0x30d)]-0x1,_0x1a768b;_0x1dc379>=0x0;_0x1dc379--)(_0x1a768b=_0x21a4f6[_0x1dc379])&&(_0x25c4ac=(_0x247b80?_0x1a768b(_0x1dee23,_0xad3b61,_0x25c4ac):_0x1a768b(_0x25c4ac))||_0x25c4ac);return _0x247b80&&_0x25c4ac&&_0x4129fc(_0x1dee23,_0xad3b61,_0x25c4ac),_0x25c4ac;},_0x1382fe=(_0x1aec4c,_0x4866ed)=>(_0x347321,_0x3dadb3)=>_0x4866ed(_0x347321,_0x3dadb3,_0x1aec4c);const _0xc5476e=['image/png',_0x5d4ae1(0x39b),_0x5d4ae1(0x186),_0x5d4ae1(0xb0),_0x5d4ae1(0x3dc)],_0x43b5ac=0x5*0x400*0x400,_0x47902a=_0x5d4ae1(0x132),_0x32a16e=_0x5d4ae1(0x3ac),_0x41d3b9=_0x5d4ae1(0x2ae),_0x5a5ae1=_0x5d4ae1(0x24b);let _0x4945fc=class{constructor(_0x363bee,_0x230575){const _0x599e27=_0x5d4ae1;_0x2308c9(this,_0x599e27(0x1f9),0x0),_0x2308c9(this,'_change$',new _0xf632fb[(_0x599e27(0x1b7))]()),_0x2308c9(this,'change$',this[_0x599e27(0x47e)]),_0x2308c9(this,'_imageSourceCache',new Map()),(this[_0x599e27(0x2b9)]=_0x363bee,this[_0x599e27(0x432)]=_0x230575);}[_0x5d4ae1(0x178)](_0x2dd993){const _0xdd9f83=_0x5d4ae1;this[_0xdd9f83(0x1f9)]=_0x2dd993,this[_0xdd9f83(0x47e)]['next'](_0x2dd993);}[_0x5d4ae1(0x490)](_0x4ee811,_0x42c766){const _0x236450=_0x5d4ae1;if(_0x42c766===_0xc2a4f2[_0x236450(0x3d5)][_0x236450(0x14d)]){const _0x4b428f=new Image();return _0x4b428f[_0x236450(0x3a8)]=_0x4ee811,_0x4b428f;}return this[_0x236450(0x328)]['get'](_0x4ee811);}[_0x5d4ae1(0x1a1)](_0x3c6905,_0x7c0eca,_0x5e41c2){const _0xd3fc1e=_0x5d4ae1;_0x7c0eca===_0xc2a4f2[_0xd3fc1e(0x3d5)][_0xd3fc1e(0x14d)]||_0x5e41c2==null||this['_imageSourceCache'][_0xd3fc1e(0x36b)](_0x3c6905,_0x5e41c2);}async[_0x5d4ae1(0xb9)](_0xcb6edc){const _0x1a9d9a=_0x5d4ae1;try{const _0x4fcf7e=this[_0x1a9d9a(0x3bf)](this[_0x1a9d9a(0x263)](),''+_0xcb6edc),_0x42be2a=(await this['_httpService'][_0x1a9d9a(0xec)](_0x4fcf7e))[_0x1a9d9a(0x201)];return _0x42be2a[_0x1a9d9a(0x34d)]&&_0x42be2a[_0x1a9d9a(0x34d)][_0x1a9d9a(0x17d)]===_0x104c3e['OK']?Promise[_0x1a9d9a(0x434)](_0x42be2a[_0x1a9d9a(0x170)]):Promise['reject'](_0x42be2a[_0x1a9d9a(0x34d)]);}catch(_0x255377){return Promise[_0x1a9d9a(0x182)](_0x255377);}}async[_0x5d4ae1(0x45a)](_0x3e0773){const _0x138de5=_0x5d4ae1;let _0x26e864='';if(!_0xc5476e[_0x138de5(0x29d)](_0x3e0773[_0x138de5(0x302)]))return this[_0x138de5(0x37b)](),Promise['reject'](new Error(_0xc2a4f2[_0x138de5(0x286)][_0x138de5(0x1fd)]));if(_0x3e0773[_0x138de5(0x2b7)]>_0x43b5ac)return this[_0x138de5(0x37b)](),Promise[_0x138de5(0x182)](new Error(_0xc2a4f2[_0x138de5(0x286)]['ERROR_EXCEED_SIZE']));try{const _0xdf2e66=new FormData();_0xdf2e66[_0x138de5(0x28e)](_0x138de5(0x382),_0x3e0773);const _0xdb3429=this['_getUploadFileURL']()+_0x138de5(0x3f0)+_0x3e0773[_0x138de5(0x2b7)][_0x138de5(0x35d)](),_0x263978=await(await fetch(_0xdb3429,{'method':_0x138de5(0x259),'body':_0xdf2e66}))['json']();if(typeof _0x263978[_0x138de5(0x176)]!='string')return this['_decreaseWaiting'](),Promise[_0x138de5(0x182)](new Error(_0xc2a4f2[_0x138de5(0x286)]['ERROR_IMAGE']));_0x26e864=_0x263978[_0x138de5(0x176)];}catch{return this[_0x138de5(0x37b)](),Promise[_0x138de5(0x182)](new Error(_0xc2a4f2['ImageUploadStatusType'][_0x138de5(0x36e)]));}return new Promise((_0x539b39,_0x531964)=>{const _0x2d2b22=new FileReader();_0x2d2b22['readAsDataURL'](_0x3e0773),_0x2d2b22['onload']=_0x48b6a7=>{const _0x14c8f8=_0x18a3;var _0x3fe64d;const _0x1a2385=(_0x3fe64d=_0x48b6a7[_0x14c8f8(0x3e2)])==null?void 0x0:_0x3fe64d[_0x14c8f8(0x425)];if(_0x1a2385==null){this[_0x14c8f8(0x37b)](),_0x531964(new Error(_0xc2a4f2[_0x14c8f8(0x286)][_0x14c8f8(0x36e)]));return;}const _0x48272c=_0x1c7e0a['Tools']['generateRandomId'](0x6);_0x539b39({'imageId':_0x48272c,'imageSourceType':_0xc2a4f2[_0x14c8f8(0x3d5)][_0x14c8f8(0x2c1)],'source':_0x26e864,'base64Cache':_0x1a2385,'status':_0xc2a4f2['ImageUploadStatusType'][_0x14c8f8(0x26b)]}),this[_0x14c8f8(0x37b)]();};});}[_0x5d4ae1(0x1fe)](){const _0x453c08=_0x5d4ae1;var _0x378bda;return(_0x378bda=this[_0x453c08(0x432)]['getConfig'](_0x47902a))!=null?_0x378bda:_0x32a16e;}[_0x5d4ae1(0x263)](){const _0x265a7d=_0x5d4ae1;var _0x46df7c;return(_0x46df7c=this[_0x265a7d(0x432)]['getConfig'](_0x41d3b9))!=null?_0x46df7c:_0x5a5ae1;}[_0x5d4ae1(0x3bf)](_0x5e8651,_0x4c9824){const _0x2443b0=_0x5d4ae1;return _0x5e8651[_0x2443b0(0x257)](_0x2443b0(0xc8),_0x4c9824);}[_0x5d4ae1(0x37b)](){const _0x16cc8b=_0x5d4ae1;this[_0x16cc8b(0x1f9)]-=0x1,this['_change$'][_0x16cc8b(0x2b1)](this[_0x16cc8b(0x1f9)]);}};_0x4945fc=_0x4fc6e2([_0x1382fe(0x0,_0x4fa573[_0x5d4ae1(0x274)](_0x2954d5['HTTPService'])),_0x1382fe(0x1,_0x1c7e0a[_0x5d4ae1(0x13b)])],_0x4945fc);var _0x57e6dc=Object[_0x5d4ae1(0x428)],_0x26e48f=Object[_0x5d4ae1(0x23a)],_0x4e12e0=(_0x369323,_0x4dbd0e,_0x8f46bf,_0x94bc91)=>{const _0x1213f1=_0x5d4ae1;for(var _0x36d1d1=_0x94bc91>0x1?void 0x0:_0x94bc91?_0x26e48f(_0x4dbd0e,_0x8f46bf):_0x4dbd0e,_0x3549b1=_0x369323[_0x1213f1(0x30d)]-0x1,_0x67063d;_0x3549b1>=0x0;_0x3549b1--)(_0x67063d=_0x369323[_0x3549b1])&&(_0x36d1d1=(_0x94bc91?_0x67063d(_0x4dbd0e,_0x8f46bf,_0x36d1d1):_0x67063d(_0x36d1d1))||_0x36d1d1);return _0x94bc91&&_0x36d1d1&&_0x57e6dc(_0x4dbd0e,_0x8f46bf,_0x36d1d1),_0x36d1d1;},_0x377f24=(_0x2e0917,_0x1ed39e)=>(_0x23e7b6,_0x5d48ce)=>_0x1ed39e(_0x23e7b6,_0x5d48ce,_0x2e0917);let _0x2905bb=class extends _0x1c7e0a[_0x5d4ae1(0x2bb)]{constructor(_0x4fa2b6,_0xab7edf,_0x2c0c23,_0x50630f,_0x3788fa){const _0x14831f=_0x5d4ae1;super(),this[_0x14831f(0x12f)]=_0x4fa2b6,this[_0x14831f(0x2aa)]=_0xab7edf,this['_permissionService']=_0x2c0c23,this['_collaborationSessionService']=_0x50630f,this[_0x14831f(0x13a)]=_0x3788fa,this[_0x14831f(0x1ae)](),this[_0x14831f(0x2fa)]();}['_initCloseConn'](){const _0x5417bf=_0x5d4ae1,_0x5337d5=async _0x4a58e2=>{const _0x2a5bd6=_0x18a3;(await this[_0x2a5bd6(0x2f3)][_0x2a5bd6(0x444)](_0x4a58e2))[_0x2a5bd6(0xf0)][_0x2a5bd6(0x272)](_0x2c2667[_0x2a5bd6(0x23f)](_0x4641f2=>_0x4641f2[_0x2a5bd6(0x2f5)]===_0x1aa573[_0x2a5bd6(0x168)][_0x2a5bd6(0x363)]),_0x2c2667[_0x2a5bd6(0x360)](this[_0x2a5bd6(0x40c)]))[_0x2a5bd6(0x41c)](_0x5d79b5=>{const _0x244362=_0x2a5bd6,_0x4aee3f=_0x5d79b5,{reason:_0x51b601}=_0x4aee3f[_0x244362(0x12b)];this[_0x244362(0x12f)][_0x244362(0xec)](_0x1fdc42[_0x244362(0x350)])[_0x244362(0x3fc)]({'type':_0x3ce12d[_0x244362(0xd7)][_0x244362(0x212)],'content':this[_0x244362(0x13a)]['t'](_0x244362(0x3da))+'('+_0x51b601+')'}),this[_0x244362(0x319)][_0x244362(0x283)](new _0x213e0a[(_0x244362(0x152))](_0x4a58e2)['id'],!0x1);});};_0xf632fb[_0x5417bf(0xca)](this[_0x5417bf(0x2aa)][_0x5417bf(0x17e)](_0x1c7e0a[_0x5417bf(0x22d)][_0x5417bf(0xfd)]),this[_0x5417bf(0x2aa)][_0x5417bf(0x17e)](_0x1c7e0a[_0x5417bf(0x22d)][_0x5417bf(0xe0)]))[_0x5417bf(0x272)](_0x2c2667[_0x5417bf(0x324)](_0x227c72=>_0x227c72[_0x5417bf(0x37d)]()),_0x2c2667['filter'](_0x37f8f5=>!_0x1c7e0a[_0x5417bf(0x2af)](_0x37f8f5)),_0x2c2667[_0x5417bf(0x360)](this['dispose$']))[_0x5417bf(0x41c)](_0x265097=>{_0x5337d5(_0x265097);});}[_0x5d4ae1(0x1ae)](){const _0x58040d=_0x5d4ae1,_0x5d466f=async _0x56c880=>{const _0x14abc4=_0x18a3;(await this[_0x14abc4(0x2f3)]['requireSession'](_0x56c880))[_0x14abc4(0xf0)][_0x14abc4(0x272)](_0x2c2667[_0x14abc4(0x23f)](_0x44e28c=>_0x44e28c[_0x14abc4(0x2f5)]===_0x1aa573['CollaborationEvent'][_0x14abc4(0x33d)]),_0x2c2667[_0x14abc4(0x360)](this['dispose$']))[_0x14abc4(0x41c)](_0x18a100=>{const _0x8e13d8=_0x14abc4,_0x29d3f8=_0x18a100,{objectId:_0x57e0fb}=_0x29d3f8[_0x8e13d8(0x12b)];_0x57e0fb===_0x56c880&&this[_0x8e13d8(0x12f)][_0x8e13d8(0xec)](_0x15965e[_0x8e13d8(0x23b)])['initWorkbookPermissionChange'](_0x56c880);});};_0xf632fb[_0x58040d(0xca)](this[_0x58040d(0x2aa)][_0x58040d(0x17e)](_0x1c7e0a[_0x58040d(0x22d)][_0x58040d(0xfd)]),this[_0x58040d(0x2aa)][_0x58040d(0x17e)](_0x1c7e0a['UniverInstanceType']['UNIVER_DOC']))[_0x58040d(0x272)](_0x2c2667[_0x58040d(0x324)](_0x3e6c01=>_0x3e6c01['getUnitId']()),_0x2c2667[_0x58040d(0x23f)](_0x8fcbfa=>!_0x1c7e0a[_0x58040d(0x2af)](_0x8fcbfa)),_0x2c2667[_0x58040d(0x360)](this[_0x58040d(0x40c)]))['subscribe'](_0x2fe4b=>{_0x5d466f(_0x2fe4b);});}};_0x2905bb=_0x4e12e0([_0x1c7e0a[_0x5d4ae1(0x466)](_0x1c7e0a[_0x5d4ae1(0x25f)]['Starting'],_0x2905bb),_0x377f24(0x0,_0x4fa573[_0x5d4ae1(0x274)](_0x4fa573['Injector'])),_0x377f24(0x1,_0x1c7e0a[_0x5d4ae1(0x2e9)]),_0x377f24(0x2,_0x1c7e0a[_0x5d4ae1(0x2eb)]),_0x377f24(0x3,_0x4fa573['Inject'](_0x488928[_0x5d4ae1(0x139)])),_0x377f24(0x4,_0x4fa573[_0x5d4ae1(0x274)](_0x1c7e0a['LocaleService']))],_0x2905bb);var _0x5dfbc0=Object['defineProperty'],_0x47995d=Object[_0x5d4ae1(0x23a)],_0x7cb40d=(_0x4a1b84,_0x5e19d5,_0x5a230)=>_0x5e19d5 in _0x4a1b84?_0x5dfbc0(_0x4a1b84,_0x5e19d5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5a230}):_0x4a1b84[_0x5e19d5]=_0x5a230,_0x47b0e5=(_0x1c3be7,_0x54222a,_0x40f238,_0x22fc2b)=>{const _0x408ed6=_0x5d4ae1;for(var _0x39f17a=_0x22fc2b>0x1?void 0x0:_0x22fc2b?_0x47995d(_0x54222a,_0x40f238):_0x54222a,_0x199ae8=_0x1c3be7[_0x408ed6(0x30d)]-0x1,_0x3c1253;_0x199ae8>=0x0;_0x199ae8--)(_0x3c1253=_0x1c3be7[_0x199ae8])&&(_0x39f17a=(_0x22fc2b?_0x3c1253(_0x54222a,_0x40f238,_0x39f17a):_0x3c1253(_0x39f17a))||_0x39f17a);return _0x22fc2b&&_0x39f17a&&_0x5dfbc0(_0x54222a,_0x40f238,_0x39f17a),_0x39f17a;},_0x536a78=(_0x325f1b,_0x2a4343)=>(_0x38d41b,_0x1d2684)=>_0x2a4343(_0x38d41b,_0x1d2684,_0x325f1b),_0x396e7d=(_0x109fcd,_0x5c6820,_0x526b02)=>_0x7cb40d(_0x109fcd,_0x5c6820+'',_0x526b02);const _0x1c47f6='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x488928[_0x5d4ae1(0x243)]=class extends _0x1c7e0a[_0x5d4ae1(0x159)]{constructor(_0x38ee53,_0x8b9162,_0x470a8e){const _0x202827=_0x5d4ae1;super(),this['_config']=_0x38ee53,this['_logService']=_0x8b9162,this[_0x202827(0x12f)]=_0x470a8e;}[_0x5d4ae1(0x16d)](_0x26fae4){const _0x1dfd9a=_0x5d4ae1;var _0x217c33,_0x5e276f,_0x5ac4f3,_0x203890,_0x38afcd;_0x26fae4[_0x1dfd9a(0x3d3)](_0x1c7e0a[_0x1dfd9a(0x3ba)])&&this[_0x1dfd9a(0x38d)][_0x1dfd9a(0x34d)](_0x1dfd9a(0x1a6),_0x1dfd9a(0x438));let _0x62e8ef=[[_0x1c7e0a[_0x1dfd9a(0x3ba)],{'useClass':_0x3b3fce}],[_0x488928['CollaborationSessionService']],[_0x1157e2],[_0x2954d5[_0x1dfd9a(0x14e)]],[_0x6ad376,{'useClass':_0x5a1c14}],[_0x1fece3],[_0x488928[_0x1dfd9a(0x296)]],[_0x2954d5['WebSocketService']],[_0x54a41f],[_0x3fe7af],[_0x3ca91f],[_0x22361d],[_0x3b6526],[_0x4625c2],[_0x2905bb],[_0x176724,{'useClass':(_0x5e276f=(_0x217c33=this[_0x1dfd9a(0x3a2)])==null?void 0x0:_0x217c33[_0x1dfd9a(0x37a)])!=null?_0x5e276f:_0x488928[_0x1dfd9a(0x35c)]}],[_0x2954d5[_0x1dfd9a(0x20b)],{'useClass':_0x2954d5['XHRHTTPImplementation']}],[_0x1c7e0a[_0x1dfd9a(0x36d)],{'useClass':_0x48a2d0}],[_0x1c7e0a[_0x1dfd9a(0x1be)],{'useClass':_0x488928[_0x1dfd9a(0x3ee)]}],[_0xc2a4f2[_0x1dfd9a(0x12e)],{'useClass':_0x4945fc}],[_0x488928[_0x1dfd9a(0x427)]],[_0x488928[_0x1dfd9a(0x2b6)]],[_0x488928['DesktopCollaborationStatusDisplayController']],[_0x38f41e],[_0x4a2232]];(_0x5ac4f3=this[_0x1dfd9a(0x3a2)])!=null&&_0x5ac4f3[_0x1dfd9a(0x26a)]&&_0x62e8ef['push']([_0x3a78a1,{'useClass':_0x1893ed}]),((_0x203890=this['_config'])==null?void 0x0:_0x203890[_0x1dfd9a(0x2b5)])==null||this[_0x1dfd9a(0x3a2)]['collaborationUniverTypes'][_0x1dfd9a(0x29d)](_0x1c7e0a[_0x1dfd9a(0x22d)][_0x1dfd9a(0xfd)])?_0x62e8ef[_0x1dfd9a(0x21f)]([_0x4c0615]):this[_0x1dfd9a(0x3a2)][_0x1dfd9a(0x2b5)][_0x1dfd9a(0x29d)](_0x1c7e0a[_0x1dfd9a(0x22d)][_0x1dfd9a(0xe0)])&&_0x62e8ef[_0x1dfd9a(0x21f)]([_0x2b66dd]),_0x62e8ef=_0x1c7e0a[_0x1dfd9a(0x2a6)](_0x62e8ef,(_0x38afcd=this[_0x1dfd9a(0x3a2)])==null?void 0x0:_0x38afcd[_0x1dfd9a(0x20d)]),_0x62e8ef['forEach'](_0x1862fb=>_0x26fae4[_0x1dfd9a(0x3b0)](_0x1862fb)),_0x26fae4[_0x1dfd9a(0xec)](_0x2954d5[_0x1dfd9a(0x14e)])[_0x1dfd9a(0x1c1)]({'priority':0x14,'interceptor':_0x2954d5[_0x1dfd9a(0x19d)]({'maxParallel':0x6})}),this['_initModules']();}[_0x5d4ae1(0x174)](){const _0x18c7ae=_0x5d4ae1;var _0x28f9a7,_0x4cb96c;(_0x28f9a7=this[_0x18c7ae(0x3a2)])!=null&&_0x28f9a7[_0x18c7ae(0x48a)]||this['_injector'][_0x18c7ae(0xec)](_0x488928[_0x18c7ae(0x296)])[_0x18c7ae(0x236)](),(_0x4cb96c=this[_0x18c7ae(0x3a2)])!=null&&_0x4cb96c[_0x18c7ae(0x2ea)]&&this['_injector']['get'](_0x3b6526);}},_0x396e7d(_0x488928['UniverCollaborationClientPlugin'],_0x5d4ae1(0x449),_0x1c47f6),_0x488928[_0x5d4ae1(0x243)]=_0x47b0e5([_0x1c7e0a[_0x5d4ae1(0x131)](_0x1aa573[_0x5d4ae1(0x2cc)]),_0x536a78(0x1,_0x1c7e0a[_0x5d4ae1(0x3d7)]),_0x536a78(0x2,_0x4fa573[_0x5d4ae1(0x274)](_0x4fa573[_0x5d4ae1(0x38e)]))],_0x488928['UniverCollaborationClientPlugin']),_0x488928[_0x5d4ae1(0xd3)]=_0x2a9272,_0x488928['COLLAB_SUBMIT_CHANGESET_URL_KEY']=_0x4e8e4a,_0x488928['COLLAB_WEB_SOCKET_URL_KEY']=_0x3eb7d7,_0x488928[_0x5d4ae1(0x20c)]=_0x340600,_0x488928[_0x5d4ae1(0x2e3)]=_0x925375,_0x488928['CommentService']=_0x4625c2,_0x488928['HEARTBEAT_INTERVAL_KEY']=_0x1f2c6f,_0x488928[_0x5d4ae1(0x2f9)]=_0x4ec6b1,_0x488928[_0x5d4ae1(0x353)]=_0x176724,_0x488928['IURLService']=_0x6ad376,_0x488928[_0x5d4ae1(0x156)]=_0x2d5df7,_0x488928['LOGIN_URL_KEY']=_0x5b8cb3,_0x488928[_0x5d4ae1(0x410)]=_0xedbb72,_0x488928[_0x5d4ae1(0x126)]=_0x7cbdce,_0x488928[_0x5d4ae1(0x3f7)]=_0x523aed,_0x488928[_0x5d4ae1(0x475)]=_0x3ea00b,_0x488928[_0x5d4ae1(0x10d)]=_0x5a1c14,_0x488928[_0x5d4ae1(0x1d3)]=_0x13c8b5,_0x488928[_0x5d4ae1(0x34e)]=_0x27edc0,Object[_0x5d4ae1(0x428)](_0x488928,Symbol[_0x5d4ae1(0x378)],{'value':_0x5d4ae1(0x3a3)});}));function _0x18a3(_0x4583fc,_0x35950d){const _0x2b26a2=_0x2b26();return _0x18a3=function(_0x18a310,_0x24a2bf){_0x18a310=_0x18a310-0xb0;let _0x1d4c83=_0x2b26a2[_0x18a310];return _0x1d4c83;},_0x18a3(_0x4583fc,_0x35950d);}function _0x2b26(){const _0x5e7d50=['onPointerMove$','UPDATE_PERMISSION_OBJ','round','HEARTBEAT','LIVESHARE_NEW_HOST','@univerjs/network','commentUpdateEvent','10540544LFfXiD','onStateChange','routeKey','getVpScrollXYInfoByPosToVp','max','collabStatus.conflict','_colorIndex','COLLAB_WEB_SOCKET_URL','sequenceExecute','_onConflict','error','serializeCombRequest','_getSaveTimeout','IMessageService','Shape','parseProtocolChangeset','ICollaborationSocketService','/allowed','onMissedChangesetFetched','endRow','random','ONLINE','use','YUUMI_UNABLE_LOAD_URL','from','CollaborationSocketService','toString','SNAPSHOT_HAS_BEEN_REMOVED','complete','takeUntil','c2Prime','PSEUDO_FETCH_MISSING_RESULT','SHOULD_CLOSE_CONN','ALREADY_EXISTS','take','addEventListener','COMPLETION_FINISHED','onlineStatus','_shapes','rxjs','set','_transformUndoredo','ISnapshotServerService','ERROR_IMAGE','UniverNetwork','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_undoRedoService','_clearHeartbeatTimer','trim','m2Prime','_session','delay','registerComponent','toStringTag','?url=','socketService','_decreaseWaiting','0\x200\x2017\x2016','getUnitId','isTransformMutationsWithChangesetSuccess','function','_updateStatus','concatMap','file','displayName','switchMap','idSuffix','unitId','column','_transitionLocked','LICENSE_MAX_UNITS_EXCEEDED','ITransformService','INGEST','_scheduleCollaborationTimeoutTimer','_logService','Injector','collabCursorState$','_render','univer-online','_getAPIPrefix','_sheetSkeletonManagerService','then','clipPath','getUndoRedoMutationParamsCache','xlink:href','RemoveRowCommandId','onlineStatusIcon','session.connection-failed','image/jpeg','_onFetchMissResult','subscribeEvent','enableLocalCache','getItem','currentSkeleton$','getTypeOfUnitDisposed$','_config','Module','onSendChangeset','liveShareOperation','getResourcesRequest','with','src','textRanges','getDataModel','makeDirty','/universer-api/stream/file/upload','/universer-api/snapshot/','createSocket','skeleton','add','url(#off-line-single_clip0_910_343)','clearTimeout','endColumn','_scheduleReconnection','getParam','transform','getUniverSheetInstance','LICENSE_IMPORT_SIZE_EXCEEDED','_loadDoc','IUndoRedoService','onMouseMove','[CollaborationUndoRedoService]','startColumn','_entities','_replaceFileID','_init','TOO_MANY_REQUESTS','/-/object/list','_docTransformSelectionsService','#FFF','setCurrentUser','roles','_awaitingChangeset','fillText','getValue','SetTextSelectionsOperation','_urlService','[DataLoaderController]','status','SYNCED','updateCursorEvent','UPDATE_CURSOR','mapDocumentTypeToUniverType','transformChangesets','has','indexOf','ImageSourceType','_exhaustRemoteChangesetQueue','ILogService','liveShareNewHost','_roomMembers','collaboration.closeRoom','gold400','image/bmp','VIEW_MAIN','_collaborationTimeoutTimer','[CollaborationState]:\x20apply\x20error!','_queuedRemoteChangesets','slice','target','combineLatest','uni.network.url-service','isTransformChangesetsSuccess','/block/','_heartbeatTimer','connectInjector','UniverCore','addObject','height','getCurrentSelections','UniverCollaboration','AuthzIoHttpService','_HTTPService','?size=','text','_collabSessionService','resourceIDs','_unlockTransition','1em','COMPRESS_MUTATION_SEND','SNAPSHOT_URL_KEY','_onCursorDelete','JOIN','RefRangeService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','show','getSheetObject','getSheetBlock','collabStatus.offline','sheetID','actions','_updateCollabCursors','_handleHover','_getAnchorBounding','open$','_scheduleTimestamp','sessionStatus$','LIVESHARE_FETCH_OPERATIONS','DocSkeletonManagerService','beginPath','onRemoteChangeset','dispose$','_name','_onRemoteRejected','_toggleOffline','SEND_CHANGESET_TIMEOUT_KEY','_onRefRangeChange','getMemberID','_getAPIPrefixPath','/universer-api/authz','unknown','_isPermissionRej','sessionStatus','[OfflineState]:\x20received\x20acknowledgement.','/universer-api/comb','cmd','fromEvent','subscribe','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_incrementRevisionNumber','b64DecodeUnicode','[CollaborationSessionService]','_cursors','unit','pushState','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','result','bottom','CollaborationController','defineProperty','_assignedColors','ws://127.0.0.1:8000/universer-api/comb/connect','UNDEFINED','_collabCursorState$','SUBMIT_CHANGESET','JOINING','userID','_getDocObject','_labelPosition','_configService','CollaborationSession','resolve','/object','_refRangeService','Univer','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_anchor','_localStorageService','_commentUpdate$','_clearRedo','getOwnPropertySymbols','lineTo','getUnitType','_onConnectionOpen','debounceTime','incrementRevForDocument','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','requireSession','path','ranges','[PendingState]:\x20received\x20rejection.','CONNECTOR_DATA_TOO_LARGE','pluginName','_socket','HEARTBEAT_TIMEOUT','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','/collaborator','registerOnClose','measureText','APPLY_NON_SEQUENTIAL_REVISION','transformMutation','@wendellhu/redi','_uiPartsService','@univerjs/engine-formula','send','fetchThroughInterceptors','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_handleEvent','_getMergeRange','saveImage','joinEvent','top','#fff','operators','getOffsetConfig','registerRefRange','_transformRemoteChangesetByIMECache','findNodePositionByCharIndex','black','executeCommand','transformByState','OnLifecycle','UserManagerService','Optional','_color','_schedule','/-/object/-/batch_allowed','getCurrentUser','_clearLocalCache','_id','revision','jiqing500','React','_startDocCollabCursor','UniverEngineFormula','setShapeProps','SessionStatus','LocaleService','INVALID_ARGUMENT','_members','startRow','fillRule','objects','extend','&to=','_change$','_onMessage','encode','find','InsertRangeMoveDownCommandId','_snapshotServerService','toggleOnline','CHANGESET_ACK','subUnitId','LIVESHARE_OPERATION','_getSheetObject','@univerjs/sheets-ui','enableOfflineEditing','_saveTaskMap','Vector2','RECV','getActiveSheet','_state','getImageSourceCache','7756oWWHmz','image/gif','call','_document','collabStatus.synced','editingUnit','726lZKaVc','originalMeta','collabStatus.notCollab','colorChannel1','getImage','conflict.title','_scheduleSaving','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','updateOfflineData','roomMembers$','string','sheets','currentTheme$','listCollaborators','fromCollab','row','IDLE','_notificationService','serializeRangeWithSheet','{fileID}','setTimeout','merge','reduce','doc.mutation.rich-text-editing','update','commentUpdate$','_docTransformIMECacheService','createInstance','_substituteUndoStack','fill','AUTHZ_URL_KEY','evenodd','_getSendChangesetTimeout','_showConflictNotification','MessageType','M0\x200H16V16H0z','_onUserLeave','onCommentUpdate','create','members','_range','_socket$','clsx','UNIVER_DOC','_socketReady','setAlpha','UniverDrawing','collaboratorID','flatMap','fetchMissingChangesets','_memberService','_initStatusListener','USERS_LEAVE','save','/universer-api/snapshot','get','_sendingTimer','UniverUi','EffectRefRangId','event$','url(#on-line-single_clip0_910_349)','disposeWithMe','IContextService','Starting','offline','UniverSheetsUi','CHANGESET_REVISION_CONFILICT','SNAPSHOT_INVALID_SNAPSHOT','@univerjs/sheets','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','forwardRef','snapshot','UNIVER_SHEET','_colorAssignService','LIVESHARE_REQUEST_HOST','_disabled','[CollaborationEntity]','onRemoteAck','div','COLLAB_SUBMIT_CHANGESET_URL','conflict','_unitId','serializeTextRange','purple300','concat','loadDoc','APPLY_REVISION_CONFILICT','selections','WebURLService','onPointerLeave$','_snapshotService','@univerjs/design','_getCurrentRevision','awaiting','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','focused$','0\x200\x2016\x2016','_lockTransition','defs','urlChange$','attrs','UNKNOWN_CODE','getRangePointData','session.will-retry','off-line-single_clip0_910_343','PERMISSION_REJ','red300','popstate','params','_sendHeartbeat','_removeClearOtherTimer','assignAColorForMemberID','lodash/debounce','SNAPSHOT_SERVER_URL_KEY','sheetId','_scheduleHeartbeat','setUndoRedoMutationParamsCache','translate(.97)','data','getRelativeToViewportCoord','ThemeService','IImageIoService','_injector','COMMENT_UPDATE','DependentOn','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_commentService','parse','PENDING','@univerjs/rpc','status$','InsertColCommandId','CollaborationSessionService','_localeService','IConfigService','url(#$1','SetWorksheetActivateCommand','/universer-api/oidc/authpage','_hover','confirm','isEditing','labelPosition','_transformService','/unit/','getInterceptPoints','Rect','_getSnapshotAPIPrefix','getViewport','_updateSubUnitFromURLParams','INotificationService','getCollabCursors$','_userManagerService','BASE64','HTTPService','HEADER_MENU','getActiveRange','_onRemoteACK','WorkbookEditablePermission','_sheetTransformSelectionsService','195746tWYfOf','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','LOCAL_CACHE_INTERVAL_KEY','changesets','@univerjs/docs','Plugin','isActive','getCurrentUnitForType','_cursorInfo$','connection\x20error','arc','save\x20fail\x20reason\x20is\x20','createIdentifier','getCellPositionByOffset','awaiting_with_pending','currentColor','_substituteRedoStack','newValue','isTransformMutationsWithChangesetFailure','_transformPreviousActiveRange','CollaborationEvent','_toggleOnline','ColorKit','CommandType','UNIVER_UNKNOWN','onStarting','MUTATION','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','url','synced','width','_remoteChangesetQueue','_initModules','OnLineSingle','FileId','createElement','setWaitCount','/resources','_clearCollaborationTimeoutTimer','[SyncedState]:\x20received\x20rejection.','interceptor','code','getTypeOfUnitAdded$','saveSheetBlock','@univerjs-pro/collaboration','2318350FCmnNc','reject','RevisionService','_roomMembers$','loadOfflineData','image/jpg','getViewModel','_type','session.room-full','stringify','2075395lZOpMb','on-line-single_clip0_910_349','onSyncEditingCollabCursor','getCurrentRevForDocument','handleInsertCol','_onConnectionFailed','OTHER_CLIENTS_EDITING','close','transformUndoRedo','min','BehaviorSubject','@univerjs/engine-render','contains','onTransformSelections','icon','AWAITING','_textBubble','mapTo','ThresholdInterceptorFactory','SEND_CHANGESET_TIMEOUT','CHANGESET_REJ','put','addImageSourceCache','getCollabEntity$','csRejEvent','restore','TEXT_RANGE_LAYER_INDEX','[UniverCollaborationClientPlugin]','collaboration.single-unit.warning','_selfUnitIDs','tag','onTransformIME','useDependency','11ezAlvP','getSheetId','_initUnitPermissionChange','session','_createSocket','_timeoutTimer','resend','color','_pendingMutations','APPLY_REJECT','asObservable','Subject','TextSelectionManagerService','UniverDocs','toggleOffline','_saveCache','[FetchMissState]','objectActions','IAuthzIoService','_acknowledgedAwaitingChangeset','UNIVER_SLIDE','registerHTTPInterceptor','patch','useObservable','_draw','handleDeleteRangeMoveUp','localeService','_createInitialStateImpl','DesktopCollaborationStatusDisplayController','_messageService','post','getDocObject','getFocusedUnit','RemoveColCommandId','_collaborationController','list','getUnitOnRev','rxjs/operators','entries','deserializeToCombResponse','CompressMutationService','registerBeforeClose','_onRemoteChangeset','transformStack\x20failed!','univer-online-status','range','OffLineSingle','updateCollaborator','defIds','deserializeRangeWithSheet','RETRY_CONNECTING_MAX_COUNT','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','error$','rev','getTime','@wendellhu/redi/react-bindings','@univerjs/ui','OFFLINE','onRemoteRej','setParam','onTransformRemoteChangesetByIMECache','syncEditingCollabCursor','VIEWPORT_KEY','_removeCollabCursors','NOT_COLLAB','_transformUndoRedoStack','DEFAULT_FILE_NAME','_unitStatus','delete','CONFLICT','3052821zrVxjj','textEncoder','_transformIMECache','_cachedData','_collabCursorController','saveChangeset','_http','_waitCount','[SyncedState]:\x20received\x20acknowledgement.','pauseCollaboration','_docSkeleton','ERROR_IMAGE_TYPE','_getUploadFileURL','isTransformMutationFailure','_singleActiveUnitService','body','NodePositionConvertToCursor','getRenderById','transformMutationsWithChangeset','AWAITING_WITH_PENDING','_onRecvEvent','baseRev','_lastPointer','_socketMessageSubscription','_ensureSubject','IHTTPImplementation','CollaborationStatus','override','updateMember','UniverSheets','_state$','_updateState','Error','_onLocalMutation','NEW_CHANGESETS','\x0aCurrent:\x20','online','getAncestorScale','_clearTimeoutTimer','addObjects','_executeRemoteChangeset','_undoStacks','searchParams','_hideTimer','unsubscribe','push','onPointerEnter$','HEARTBEAT_INTERVAL','NOT_FOUND','_applyRemoteChangeset','_syncEditingCollabCursorService','_setupSubUnitSync','NO_OTHER_CLIENTS_EDITING','_revisionService','startsWith','_unitOnClients','FETCH_MISS','_collaborationPaused','InsertRangeMoveRightCommandId','UniverInstanceType','permissionRejEvent','off-line-single','getSheetBySheetId','catch','removeMember','getMember','_onCombEvent','font','disableLocalCache','_handler','_createInitialState','LICENSE_EXPORT_SIZE_EXCEEDED','getOwnPropertyDescriptor','SheetPermissionInitController','HELLO','session.collaboration-timeout','_sessions','filter','deleteCollaborator','handleDeleteRangeMoveLeft','DeleteRangeMoveLeftCommandId','UniverCollaborationClientPlugin','cursorInfo$','handleInsertRow','current','_tryEnsureSocket','debug','apply','objectType','/universer-api/file/{fileID}/sign-url','clearInterval','_onCursorUpdate','YUUMI_URL_COL_OUT_OF_RANGE','split','setItem','USERS_ENTER','[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.','_ws','history','Workbook','/rev/','replace','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','POST','_localCacheService','_entityInit$','hovered','LIVESHARE_TERMINATE','whenReady','LifecycleStages','IMEInputManagerService','createCollaborator','COMPRESS_MUTATION_APPLY','_getSignURL','ICommandService','UniverIcon','[OfflineState]:\x20received\x20rejection.','closePath','univer-pro.collaboration-client.single-active-unit-service','workbook','enableSingleActiveInstanceLock','SUCCUSS','_submitChangeset','dispose','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','DeleteRangeMoveUpCommandId','react','state','pipe','FAIL','Inject','values','_handleLeaveEvent','_replayCachedMutations','\x0aAfter:\x20','_cursor','replaceTextRanges','allowed','cursorInfo','mutations','_themeService','collabStatus.syncing','onlineStatusTitle','onCommandExecuted','_onUserJoin','updatePermissionPoint','Disposable','_joinRoom','ImageUploadStatusType','appendMutation','univer-pro.collaboration-client-socket-service','[CollaborationSession]','SnapshotService','_initStatusComponent','shareReplay','_commandService','append','_docSyncEditingCollabCursorService','Steady','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','c1Prime','_drawRange','isPermissionRej','name','LocalCacheService','APPLY_PERMISSION_DENIED','_clearScheduledTask','collaborators','location','\x20in\x20_schedule.','_sendHeartbeatTimer','includes','_compressMutationService','/object/','batchAllowed','_hovered','_status$','_exhaustSavingTask','setInterval','m1Prime','mergeOverrideWithDependencies','amd','_scene','collaboration-client.offline-data-not-saved','_univerInstanceService','INTERNAL_ERROR','_getScale','memberID','EXCHANGE_SIGN_URL_SERVER_URL_KEY','isInternalEditorID','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','next','8396280foXcPg','_redoStacks','getCollabEntity','collaborationUniverTypes','DataLoaderController','size','className','_httpService','disposeUnit','RxDisposable','transformSelections','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','subunit','_clearUndo','_unitID','UUID','handleInsertRangeMoveDown','moveTo','collab-text-anchor-','_getRedoStack','clear','objectID','FETCH_MISSING','univer-online-status-icon','activeSheet$','_createHandler','UniverCollaborationPlugin','verdancy600','_renderManagerService','_transformStack','lodash','_eventUnsubscribe','drawWith','_onJoinRoomEvent','fetch_missing','getColor','PERMISSION_DENIED','init','hasOwnProperty','key','DisposableCollection','_beforeCloseService','assign','_updateURLWithCurrentState','Tools','_retryConnectingTimer','href','_rescheduleHeartbeatEvent','getWorkbookSelections','CollaborationStatusDisplay','useRef','unshift','toDisposable','_getCtorByUniverType','_event$','IUniverInstanceService','enableAuthServer','IPermissionService','_waitForHeartbeatResponse','handleMoveRange','InsertRowCommandId','awaitingChangeset','svg','univer-online-status-title','selection','_collaborationSessionService','exports','eventID','message$','_send','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','HEARTBEAT_TIMEOUT_KEY','_initCloseConn','_transformSelections','_removeRoom','FromArray','conflict.content','_online','editing\x20status\x20changed\x20to','transformRemoteChangeset','type','saveSnapshot','saveOfflineData','...','unitID','[CollaborationController]:\x20remote\x20changeset\x20applied\x20error.','getUnitStatus$','permission.content','LICENSE_DISTRO_REJECTED','_getLoginPath','UNAUTHENTICATED','length','getConfig','debounce','_sessionStatus$','deepClone','close$','blue400','_checkMissing','none','UNRECOGNIZED','collaMsg','LEAVE','_permissionService','encodeURIComponent','BuiltInUIPart','roomMembers','isArray','_updateLocalCache','SheetSkeletonManagerService','submit\x20changeset\x20error!','prototype','rgba(255,\x20255,\x20255,\x200.01)','4hrQSQZ','map','leaveEvent','DocStateChangeManagerService','IUIPartsService','_imageSourceCache','parseChangesetToProtocol','handleIRemoveCol','ACTIVE_UNIT_EVENT_CHANNEL','forEach','[PendingState]:\x20received\x20acknowledgement.','_startCollaboration','_retryCount','_clearOtherTimers','generateRandomId','_startSheetCollabCursor','triggerDblclick','_updateLocalCursor','SetSelectionsOperation','_disableEditing','MSG_FOR_ERROR','_anchorDot','16YstyzG','children','_drawAnchor'];_0x2b26=function(){return _0x5e7d50;};return _0x2b26();}