@univerjs-pro/collaboration-client 0.4.0-nightly.202410161605 → 0.4.0-nightly.202410290723

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 _0x5cc9(_0x17be38,_0x137c8d){const _0x27214c=_0x2721();return _0x5cc9=function(_0x5cc98e,_0x36b5a5){_0x5cc98e=_0x5cc98e-0xcf;let _0x7010d2=_0x27214c[_0x5cc98e];return _0x7010d2;},_0x5cc9(_0x17be38,_0x137c8d);}(function(_0xb3099c,_0x21763c){const _0x4faf7b=_0x5cc9,_0x2b85f7=_0xb3099c();while(!![]){try{const _0x154591=-parseInt(_0x4faf7b(0x2cd))/0x1*(-parseInt(_0x4faf7b(0x3bd))/0x2)+-parseInt(_0x4faf7b(0x3c2))/0x3*(parseInt(_0x4faf7b(0x1a8))/0x4)+-parseInt(_0x4faf7b(0x210))/0x5+-parseInt(_0x4faf7b(0x274))/0x6*(parseInt(_0x4faf7b(0x267))/0x7)+parseInt(_0x4faf7b(0x2c2))/0x8+-parseInt(_0x4faf7b(0xf9))/0x9+-parseInt(_0x4faf7b(0x214))/0xa*(-parseInt(_0x4faf7b(0x25c))/0xb);if(_0x154591===_0x21763c)break;else _0x2b85f7['push'](_0x2b85f7['shift']());}catch(_0x48cf76){_0x2b85f7['push'](_0x2b85f7['shift']());}}}(_0x2721,0x5ed8d),function(_0x726100,_0x8de996){const _0x52f6d1=_0x5cc9;typeof exports==_0x52f6d1(0x4d3)&&typeof module<'u'?_0x8de996(exports,require('@univerjs/core'),require('rxjs'),require(_0x52f6d1(0x306)),require('@univerjs/design'),require(_0x52f6d1(0x1b1)),require(_0x52f6d1(0x179)),require(_0x52f6d1(0x232)),require(_0x52f6d1(0x192)),require(_0x52f6d1(0x3e7)),require('@univerjs/sheets'),require(_0x52f6d1(0x433)),require(_0x52f6d1(0x1e9)),require('@univerjs/drawing'),require('@univerjs/engine-formula'),require(_0x52f6d1(0x185)),require(_0x52f6d1(0x449)),require(_0x52f6d1(0x3b1)),require(_0x52f6d1(0x487))):typeof define==_0x52f6d1(0x176)&&define[_0x52f6d1(0x1e2)]?define([_0x52f6d1(0x165),'@univerjs/core',_0x52f6d1(0x255),_0x52f6d1(0x306),_0x52f6d1(0x2de),_0x52f6d1(0x1b1),_0x52f6d1(0x179),'@univerjs-pro/collaboration',_0x52f6d1(0x192),_0x52f6d1(0x3e7),_0x52f6d1(0x18f),_0x52f6d1(0x433),_0x52f6d1(0x1e9),_0x52f6d1(0x1a4),'@univerjs/engine-formula',_0x52f6d1(0x185),_0x52f6d1(0x449),_0x52f6d1(0x3b1),_0x52f6d1(0x487)],_0x8de996):(_0x726100=typeof globalThis<'u'?globalThis:_0x726100||self,_0x8de996(_0x726100[_0x52f6d1(0x258)]={},_0x726100[_0x52f6d1(0x407)],_0x726100[_0x52f6d1(0x255)],_0x726100[_0x52f6d1(0x255)]['operators'],_0x726100[_0x52f6d1(0x39e)],_0x726100[_0x52f6d1(0x181)],_0x726100[_0x52f6d1(0x1b5)],_0x726100[_0x52f6d1(0x39b)],_0x726100['UniverTelemetry'],_0x726100[_0x52f6d1(0x444)],_0x726100[_0x52f6d1(0x1d9)],_0x726100[_0x52f6d1(0x4f0)],_0x726100[_0x52f6d1(0x18e)],_0x726100[_0x52f6d1(0x250)],_0x726100[_0x52f6d1(0x3a2)],_0x726100[_0x52f6d1(0x19e)],_0x726100[_0x52f6d1(0x387)],_0x726100['UniverRpc'],_0x726100[_0x52f6d1(0x191)]));}(this,function(_0x43f096,_0x146bad,_0x4926fb,_0x2d4b5d,_0x32a032,_0x55f67a,_0x4e82ba,_0x5e3529,_0x4f755a,_0x582f5a,_0x36eda5,_0x502efe,_0x2d7433,_0xc7125f,_0x4d0975,_0x354d6d,_0x2ba1fa,_0x372951,_0x3538f7){'use strict';const _0x195815=_0x5cc9;var _0x17e790=Object['defineProperty'],_0x20d69c=(_0x55b1bc,_0x4422a9,_0x14daec)=>_0x4422a9 in _0x55b1bc?_0x17e790(_0x55b1bc,_0x4422a9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x14daec}):_0x55b1bc[_0x4422a9]=_0x14daec,_0x4e6809=(_0x4d11dc,_0x276bc3,_0x1948d1)=>_0x20d69c(_0x4d11dc,typeof _0x276bc3!=_0x195815(0x149)?_0x276bc3+'':_0x276bc3,_0x1948d1);const _0x51a295=_0x195815(0xfe),_0x575cb6=_0x195815(0x39c),_0x14eb62=_0x195815(0x471),_0x3bb2bb=_0x195815(0x2e1),_0x7d2a8d=_0x195815(0x116),_0x491670='ws://127.0.0.1:8000/universer-api/comb/connect',_0x1882e9='HEARTBEAT_INTERVAL',_0x505d92='HEARTBEAT_TIMEOUT',_0x41257b='RETRY_CONNECTING_MAX_COUNT',_0x54a43=_0x195815(0x24e),_0x4db597=_0x195815(0x2f0),_0x5d3115=_0x195815(0x227),_0x5b6adf=_0x195815(0x4a1),_0x14385d=_0x195815(0x2b7);var _0x295d5e=(_0x30e649=>(_0x30e649[_0x30e649[_0x195815(0x119)]=0x0]=_0x195815(0x119),_0x30e649[_0x30e649['OK']=0x1]='OK',_0x30e649[_0x30e649[_0x195815(0x3f5)]=0x2]=_0x195815(0x3f5),_0x30e649[_0x30e649['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x30e649[_0x30e649[_0x195815(0x406)]=0x4]=_0x195815(0x406),_0x30e649[_0x30e649[_0x195815(0x236)]=0x5]='UNAUTHENTICATED',_0x30e649[_0x30e649['ALREADY_EXISTS']=0x6]=_0x195815(0x32a),_0x30e649[_0x30e649[_0x195815(0x2d5)]=0x7]='INVALID_ARGUMENT',_0x30e649[_0x30e649[_0x195815(0x1c3)]=0x8]=_0x195815(0x1c3),_0x30e649[_0x30e649[_0x195815(0x28f)]=0x9]='COMPLETION_FINISHED',_0x30e649[_0x30e649['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x195815(0x338),_0x30e649[_0x30e649[_0x195815(0x208)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x30e649[_0x30e649['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x30e649[_0x30e649[_0x195815(0x2d3)]=0x1773]=_0x195815(0x2d3),_0x30e649[_0x30e649[_0x195815(0x2bf)]=0x1b59]=_0x195815(0x2bf),_0x30e649[_0x30e649[_0x195815(0x319)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x30e649[_0x30e649[_0x195815(0x351)]=0x1b5b]=_0x195815(0x351),_0x30e649[_0x30e649[_0x195815(0x45e)]=0x1b5c]=_0x195815(0x45e),_0x30e649[_0x30e649['APPLY_DUPLICATED']=0x1b5d]=_0x195815(0x1cb),_0x30e649[_0x30e649['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x30e649[_0x30e649[_0x195815(0xcf)]=0x2329]=_0x195815(0xcf),_0x30e649[_0x30e649[_0x195815(0x268)]=0x232a]=_0x195815(0x268),_0x30e649[_0x30e649[_0x195815(0xe2)]=0x232b]=_0x195815(0xe2),_0x30e649[_0x30e649[_0x195815(0x48d)]=0x232c]=_0x195815(0x48d),_0x30e649[_0x30e649['LICENSE_DISTRO_REJECTED']=0x232d]=_0x195815(0x2c7),_0x30e649[_0x30e649[_0x195815(0xed)]=0x2711]=_0x195815(0xed),_0x30e649[_0x30e649[_0x195815(0x198)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x30e649[_0x30e649[_0x195815(0x39f)]=0x2713]=_0x195815(0x39f),_0x30e649[_0x30e649[_0x195815(0x19c)]=0x2714]=_0x195815(0x19c),_0x30e649[_0x30e649['UNRECOGNIZED']=-0x1]=_0x195815(0x3bb),_0x30e649))(_0x295d5e||{}),_0x14e27b=(_0x4f4888=>(_0x4f4888[_0x4f4888[_0x195815(0x326)]=0x0]='UNIVER_UNKNOWN',_0x4f4888[_0x4f4888['UNIVER_DOC']=0x1]=_0x195815(0x262),_0x4f4888[_0x4f4888[_0x195815(0x496)]=0x2]=_0x195815(0x496),_0x4f4888[_0x4f4888['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x4f4888[_0x4f4888['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x4f4888[_0x4f4888['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4f4888))(_0x14e27b||{}),_0x55ec24=(_0x594bf7=>(_0x594bf7[_0x594bf7[_0x195815(0x324)]=0x0]=_0x195815(0x324),_0x594bf7[_0x594bf7[_0x195815(0x293)]=0x1]=_0x195815(0x293),_0x594bf7[_0x594bf7[_0x195815(0x3e9)]=0x2]='JOIN',_0x594bf7[_0x594bf7[_0x195815(0x334)]=0x3]='LEAVE',_0x594bf7[_0x594bf7[_0x195815(0x34a)]=0x4]=_0x195815(0x34a),_0x594bf7[_0x594bf7[_0x195815(0x1ac)]=0x5]=_0x195815(0x1ac),_0x594bf7[_0x594bf7[_0x195815(0x332)]=0x6]='RECV',_0x594bf7[_0x594bf7[_0x195815(0x3bb)]=-0x1]=_0x195815(0x3bb),_0x594bf7))(_0x55ec24||{}),_0x12eaf7=(_0x16f48f=>(_0x16f48f[_0x16f48f[_0x195815(0x27d)]=0x0]=_0x195815(0x27d),_0x16f48f[_0x16f48f['OK']=0x1]='OK',_0x16f48f[_0x16f48f[_0x195815(0x493)]=0x2]=_0x195815(0x493),_0x16f48f[_0x16f48f[_0x195815(0x3bb)]=-0x1]=_0x195815(0x3bb),_0x16f48f))(_0x12eaf7||{}),_0x326491=(_0x1891b1=>(_0x1891b1[_0x1891b1[_0x195815(0x301)]=0x0]='Undefined',_0x1891b1[_0x1891b1[_0x195815(0x2a9)]=0x1]=_0x195815(0x2a9),_0x1891b1[_0x1891b1[_0x195815(0x22b)]=0x2]=_0x195815(0x22b),_0x1891b1[_0x1891b1[_0x195815(0x1b8)]=0x3]=_0x195815(0x1b8),_0x1891b1[_0x1891b1[_0x195815(0x47e)]=0x4]=_0x195815(0x47e),_0x1891b1[_0x1891b1[_0x195815(0x3bb)]=-0x1]=_0x195815(0x3bb),_0x1891b1))(_0x326491||{});const _0x2cb813=_0x195815(0x1c2),_0x5971bd={};function _0x29af60(_0x4e4a01){const _0x2a0af1=_0x195815;var _0x26200f,_0x458b20,_0x351d07,_0x30b044;const _0x298595=_0x4e4a01['data'],_0x59f382=JSON[_0x2a0af1(0x2e4)](_0x298595);switch(_0x59f382[_0x2a0af1(0x279)]){case _0x55ec24['HEARTBEAT']:case _0x55ec24[_0x2a0af1(0x293)]:{const _0x3e1e0f=_0x59f382[_0x2a0af1(0x2e7)];return{..._0x59f382,'data':_0x3e1e0f,'cmd':_0x59f382[_0x2a0af1(0x279)]};}case _0x55ec24['JOIN']:{const _0x527622=_0x59f382[_0x2a0af1(0x2ee)];return{..._0x59f382,'data':_0x527622,'cmd':_0x59f382[_0x2a0af1(0x279)]};}case _0x55ec24[_0x2a0af1(0x332)]:{const _0x31a03a=_0x59f382['collaMsg'];switch(_0x31a03a['eventID']){case _0x5e3529['CollaborationEvent'][_0x2a0af1(0x20a)]:return{..._0x59f382,'data':{..._0x31a03a,'data':(_0x26200f=_0x31a03a['permissionRejEvent'])==null?void 0x0:_0x26200f['cs']},'cmd':_0x59f382[_0x2a0af1(0x279)]};case _0x5e3529['CollaborationEvent'][_0x2a0af1(0x44f)]:return{..._0x59f382,'data':{..._0x31a03a,'data':(_0x458b20=_0x31a03a[_0x2a0af1(0x49a)])==null?void 0x0:_0x458b20['cs']},'cmd':_0x59f382[_0x2a0af1(0x279)]};case _0x5e3529[_0x2a0af1(0x46f)]['NEW_CHANGESETS']:return{..._0x59f382,'data':{..._0x31a03a,'data':(_0x351d07=_0x31a03a[_0x2a0af1(0x188)])==null?void 0x0:_0x351d07['cs']},'cmd':_0x59f382[_0x2a0af1(0x279)]};case _0x5e3529[_0x2a0af1(0x46f)][_0x2a0af1(0x2d0)]:return{..._0x59f382,'data':{..._0x31a03a,'data':(_0x30b044=_0x31a03a[_0x2a0af1(0x3d8)])==null?void 0x0:_0x30b044['cs']},'cmd':_0x59f382[_0x2a0af1(0x279)]};case _0x5e3529[_0x2a0af1(0x46f)]['UPDATE_CURSOR']:return{..._0x59f382,'data':{..._0x31a03a,'data':_0x31a03a[_0x2a0af1(0x35e)]},'cmd':_0x59f382[_0x2a0af1(0x279)]};case _0x5e3529['CollaborationEvent'][_0x2a0af1(0x37e)]:return{..._0x59f382,'data':{..._0x31a03a,'data':_0x31a03a[_0x2a0af1(0x25e)]},'cmd':_0x59f382[_0x2a0af1(0x279)]};case _0x5e3529[_0x2a0af1(0x46f)]['USERS_LEAVE']:return{..._0x59f382,'data':{..._0x31a03a,'data':_0x31a03a[_0x2a0af1(0x14a)]},'cmd':_0x59f382[_0x2a0af1(0x279)]};case _0x5e3529[_0x2a0af1(0x46f)][_0x2a0af1(0x299)]:return{..._0x59f382,'data':{..._0x31a03a,'data':_0x31a03a[_0x2a0af1(0x484)]},'cmd':_0x59f382[_0x2a0af1(0x279)]};case _0x5e3529[_0x2a0af1(0x46f)]['LIVESHARE_FETCH_OPERATIONS']:case _0x5e3529[_0x2a0af1(0x46f)][_0x2a0af1(0x39a)]:return{..._0x59f382,'data':{..._0x31a03a,'data':_0x31a03a['liveShareOperation']},'cmd':_0x59f382[_0x2a0af1(0x279)]};case _0x5e3529[_0x2a0af1(0x46f)]['LIVESHARE_TERMINATE']:return{..._0x59f382,'data':{..._0x31a03a,'data':_0x31a03a[_0x2a0af1(0x484)]},'cmd':_0x59f382[_0x2a0af1(0x279)]};case _0x5e3529[_0x2a0af1(0x46f)]['MSG_FOR_ERROR']:return{..._0x59f382,'data':_0x31a03a,'cmd':_0x59f382['cmd']};case _0x5e3529[_0x2a0af1(0x46f)][_0x2a0af1(0x390)]:return{..._0x59f382,'data':{..._0x31a03a,'data':_0x31a03a[_0x2a0af1(0x1ed)]},'cmd':_0x59f382[_0x2a0af1(0x279)]};case _0x5e3529['CollaborationEvent'][_0x2a0af1(0x2ef)]:return{..._0x59f382,'data':{..._0x31a03a,'data':_0x31a03a[_0x2a0af1(0x400)]},'cmd':_0x59f382[_0x2a0af1(0x279)]};case _0x5e3529['CollaborationEvent'][_0x2a0af1(0x140)]:return{..._0x59f382,'data':{..._0x31a03a,'data':_0x31a03a[_0x2a0af1(0x34f)]},'cmd':_0x59f382[_0x2a0af1(0x279)]};default:return _0x59f382;}}default:return _0x59f382;}}function _0x4ba999(_0xa9567a){const _0x4b7444=_0x195815;switch(_0xa9567a[_0x4b7444(0x279)]){case _0x55ec24[_0x4b7444(0x1ac)]:case _0x55ec24['HELLO']:return JSON[_0x4b7444(0x32b)]({'cmd':_0xa9567a[_0x4b7444(0x279)],'routeKey':_0xa9567a[_0x4b7444(0x152)]});case _0x55ec24[_0x4b7444(0x34a)]:{let _0x49494d;switch(_0xa9567a['data'][_0x4b7444(0x1fa)]){case _0x5e3529['CollaborationEvent'][_0x4b7444(0x3d2)]:{_0x49494d={'eventID':_0x5e3529[_0x4b7444(0x46f)][_0x4b7444(0x3d2)],'updateCursorEvent':_0xa9567a[_0x4b7444(0x1ad)][_0x4b7444(0x1ad)]};break;}case _0x5e3529[_0x4b7444(0x46f)][_0x4b7444(0x2d8)]:{_0x49494d={'eventID':_0x5e3529[_0x4b7444(0x46f)][_0x4b7444(0x2d8)],'leaveEvent':_0xa9567a[_0x4b7444(0x1ad)][_0x4b7444(0x1ad)]};break;}case _0x5e3529[_0x4b7444(0x46f)][_0x4b7444(0x37e)]:{_0x49494d={'eventID':_0x5e3529[_0x4b7444(0x46f)][_0x4b7444(0x37e)],'joinEvent':_0xa9567a[_0x4b7444(0x1ad)][_0x4b7444(0x1ad)]};break;}case _0x5e3529[_0x4b7444(0x46f)][_0x4b7444(0x299)]:{_0x49494d={'eventID':_0x5e3529['CollaborationEvent'][_0x4b7444(0x299)],'liveShareNewHost':_0xa9567a['data'][_0x4b7444(0x1ad)]};break;}case _0x5e3529[_0x4b7444(0x46f)][_0x4b7444(0x39a)]:{_0x49494d={'eventID':_0x5e3529[_0x4b7444(0x46f)]['LIVESHARE_OPERATION'],'liveShareOperation':_0xa9567a[_0x4b7444(0x1ad)][_0x4b7444(0x1ad)]};break;}case _0x5e3529[_0x4b7444(0x46f)][_0x4b7444(0x440)]:{_0x49494d={'eventID':_0x5e3529['CollaborationEvent'][_0x4b7444(0x440)],'liveShareTerminate':_0xa9567a[_0x4b7444(0x1ad)][_0x4b7444(0x1ad)]};break;}case _0x5e3529[_0x4b7444(0x46f)]['LIVESHARE_REQUEST_HOST']:{_0x49494d={'eventID':_0x5e3529[_0x4b7444(0x46f)][_0x4b7444(0xe4)],'liveShareRequestHost':_0xa9567a['data']['data']};break;}case _0x5e3529[_0x4b7444(0x46f)][_0x4b7444(0x320)]:{_0x49494d={'eventID':_0x5e3529[_0x4b7444(0x46f)][_0x4b7444(0x320)]};break;}default:_0x49494d={'eventID':_0xa9567a[_0x4b7444(0x1ad)][_0x4b7444(0x1fa)]};}return JSON['stringify']({'cmd':_0xa9567a['cmd'],'routeKey':_0xa9567a['routeKey'],'collaMsg':_0x49494d});}case _0x55ec24['JOIN']:return JSON['stringify']({'cmd':_0xa9567a[_0x4b7444(0x279)],'routeKey':_0xa9567a['routeKey'],'joinReq':_0xa9567a[_0x4b7444(0x1ad)]});case _0x55ec24[_0x4b7444(0x334)]:return JSON[_0x4b7444(0x32b)]({'cmd':_0xa9567a[_0x4b7444(0x279)],'routeKey':_0xa9567a[_0x4b7444(0x152)],'leaveReq':_0xa9567a['data']});default:throw new Error(_0x4b7444(0x128));}}var _0x45021a=Object['defineProperty'],_0x35c1e3=Object[_0x195815(0x49c)],_0x1f2ae8=(_0x473770,_0x18e5f4,_0x2ff6c2,_0x98f816)=>{const _0x571635=_0x195815;for(var _0xc0c234=_0x98f816>0x1?void 0x0:_0x98f816?_0x35c1e3(_0x18e5f4,_0x2ff6c2):_0x18e5f4,_0x3f2cf2=_0x473770[_0x571635(0x249)]-0x1,_0x1449bf;_0x3f2cf2>=0x0;_0x3f2cf2--)(_0x1449bf=_0x473770[_0x3f2cf2])&&(_0xc0c234=(_0x98f816?_0x1449bf(_0x18e5f4,_0x2ff6c2,_0xc0c234):_0x1449bf(_0xc0c234))||_0xc0c234);return _0x98f816&&_0xc0c234&&_0x45021a(_0x18e5f4,_0x2ff6c2,_0xc0c234),_0xc0c234;},_0x3d82b9=(_0x2b06e7,_0x2c5ce5)=>(_0x5d605a,_0x4b8015)=>_0x2c5ce5(_0x5d605a,_0x4b8015,_0x2b06e7);const _0x1016ab=_0x146bad['createIdentifier'](_0x195815(0x3f3));function _0x55844b(_0x177311,_0x41856c,_0x203aff){const _0x24289e=_0x195815;return _0x177311+'/'+_0x41856c+'/unit/'+_0x203aff+_0x24289e(0x240);}_0x43f096[_0x195815(0x1c5)]=class extends _0x146bad['Disposable']{constructor(_0x35acd2,_0x3e2d89,_0x172e12,_0x2824cd,_0x272a30){const _0x6832a6=_0x195815;super(),this[_0x6832a6(0x3d0)]=_0x35acd2,this[_0x6832a6(0x21a)]=_0x3e2d89,this[_0x6832a6(0x11f)]=_0x172e12,this['_logService']=_0x2824cd,this[_0x6832a6(0x446)]=_0x272a30;}['createSocket'](_0x54b429){const _0x2cbe12=_0x195815,_0x2cbf38=this[_0x2cbe12(0x21a)][_0x2cbe12(0x4d7)](_0x54b429);if(!_0x2cbf38)throw new Error(_0x2cbe12(0x478));const _0x2ea763=new _0x146bad['DisposableCollection'](),_0x4e9006=new _0x4926fb[(_0x2cbe12(0x328))]();_0x2ea763[_0x2cbe12(0x2ba)](_0x2cbf38[_0x2cbe12(0x458)][_0x2cbe12(0x384)](_0x51af02=>_0x4e9006['next'](_0x51af02))),_0x2ea763[_0x2cbe12(0x2ba)](_0x146bad[_0x2cbe12(0x3ee)](()=>_0x4e9006[_0x2cbe12(0x45c)]()));const _0x559669=new _0x4926fb[(_0x2cbe12(0x328))]();_0x2ea763['add'](_0x2cbf38[_0x2cbe12(0x1d1)][_0x2cbe12(0x384)](_0x31d593=>_0x559669[_0x2cbe12(0x225)](_0x31d593))),_0x2ea763[_0x2cbe12(0x2ba)](_0x146bad[_0x2cbe12(0x3ee)](()=>_0x559669[_0x2cbe12(0x45c)]()));const _0x502c6a=new _0x4926fb[(_0x2cbe12(0x328))]();_0x2ea763[_0x2cbe12(0x2ba)](_0x2cbf38['message$'][_0x2cbe12(0x384)](_0xffb6a2=>{const _0x1930a1=_0x2cbe12,_0x438ae2=_0x29af60(_0xffb6a2);_0x502c6a[_0x1930a1(0x225)](_0x438ae2);})),_0x2ea763['add'](_0x146bad['toDisposable'](()=>_0x502c6a['complete']()));let _0x4baec1;const _0x56d991=()=>{const _0x441449=_0x2cbe12;_0x559669[_0x441449(0x225)](new Event(_0x441449(0x2aa))),_0x4e9006['next'](new CloseEvent(_0x441449(0x2aa))),_0x4baec1[_0x441449(0xfb)]();};return _0x4baec1={'memberID':'','close$':_0x4e9006[_0x2cbe12(0x161)](),'error$':_0x559669[_0x2cbe12(0x161)](),'open$':_0x2cbf38['open$'],'message$':_0x502c6a[_0x2cbe12(0x161)](),'send':_0x69c2a9=>{const _0x55fae5=_0x2cbe12;if(_0x69c2a9[_0x55fae5(0x279)]===_0x55ec24['INGEST']){if(_0x69c2a9[_0x55fae5(0x1ad)][_0x55fae5(0x1fa)]===_0x5e3529[_0x55fae5(0x46f)][_0x55fae5(0x3df)]){this[_0x55fae5(0x402)](_0x4baec1,_0x69c2a9['data'])[_0x55fae5(0x207)](_0x5f2043=>{const _0x2aeead=_0x55fae5;this[_0x2aeead(0x443)][_0x2aeead(0x4c4)](_0x5f2043),_0x56d991();});return;}if(_0x69c2a9['data'][_0x55fae5(0x1fa)]===_0x5e3529[_0x55fae5(0x46f)]['FETCH_MISSING']){const _0x2812e4=_0x69c2a9['data'];this[_0x55fae5(0x3c7)](_0x2812e4)[_0x55fae5(0x297)](_0x5544b6=>{const _0x1fe60a=_0x55fae5;_0x502c6a[_0x1fe60a(0x225)]({'cmd':_0x55ec24[_0x1fe60a(0x332)],'code':_0x12eaf7['OK'],'routeKey':_0x2812e4[_0x1fe60a(0x1ad)][_0x1fe60a(0x2f7)],'routeType':'','data':{'eventID':_0x5e3529[_0x1fe60a(0x46f)][_0x1fe60a(0x48a)],'data':{'changesets':_0x5544b6}}});})[_0x55fae5(0x207)](_0x2788c8=>{const _0x1ed99e=_0x55fae5;this[_0x1ed99e(0x443)][_0x1ed99e(0x4c4)](_0x2788c8),_0x56d991();});return;}}_0x2cbf38[_0x55fae5(0x35c)](_0x4ba999(_0x69c2a9));},'close':()=>{const _0x369511=_0x2cbe12;_0x2cbf38[_0x369511(0xfb)](),_0x2ea763['dispose']();}},_0x4baec1;}async[_0x195815(0x402)](_0x173a90,_0x1f57b3){const _0x2a296d=_0x195815;var _0x951384,_0x2763fd;const {unitType:_0x512ea2,unitID:_0x4466a3,changeset:_0x52aa01}=_0x1f57b3[_0x2a296d(0x1ad)],_0x3c1027={'unitID':_0x4466a3,'memberID':_0x173a90[_0x2a296d(0x40f)],'type':_0x512ea2,'changeset':_0x5e3529['parseChangesetToProtocol'](_0x52aa01)},_0x130941=this[_0x2a296d(0x11f)][_0x2a296d(0x43e)](_0x4db597),_0x94bf18=this[_0x2a296d(0x11f)][_0x2a296d(0x43e)](_0x2cb813),_0x30c86f=_0x55844b((_0x2763fd=(_0x951384=_0x94bf18==null?void 0x0:_0x94bf18[_0x2a296d(0x40a)])!=null?_0x951384:_0x130941)!=null?_0x2763fd:_0x5d3115,_0x512ea2,_0x4466a3);try{await this['_http']['post'](_0x30c86f,{'body':_0x3c1027});}catch(_0xbbc989){throw this[_0x2a296d(0x443)]['error']('[CollaborationSession]',_0x2a296d(0x482)),_0xbbc989;}}async[_0x195815(0x3c7)](_0x3f20cd){const _0x320cf0=_0x195815,{unitID:_0x249ce5,from:_0x360f72,to:_0x3525f5,unitType:_0x30bd47}=_0x3f20cd[_0x320cf0(0x1ad)];return(await this[_0x320cf0(0x446)][_0x320cf0(0x44b)]({'metadata':void 0x0},{'unitID':_0x249ce5,'type':_0x30bd47,'from':_0x360f72,'to':_0x3525f5}))[_0x320cf0(0x107)];}},_0x43f096[_0x195815(0x1c5)]=_0x1f2ae8([_0x3d82b9(0x0,_0x146bad[_0x195815(0x49b)](_0x4e82ba['HTTPService'])),_0x3d82b9(0x1,_0x146bad['Inject'](_0x4e82ba[_0x195815(0x38e)])),_0x3d82b9(0x2,_0x146bad[_0x195815(0x339)]),_0x3d82b9(0x3,_0x146bad['ILogService']),_0x3d82b9(0x4,_0x5e3529[_0x195815(0x167)])],_0x43f096['CollaborationSocketService']);const _0x4a7f64='collaboration_new_changeset';function _0x352bcd(_0x470c12){const _0x58f6ab=_0x195815;return JSON[_0x58f6ab(0x32b)](_0x470c12)[_0x58f6ab(0x249)];}class _0x560a31{constructor(){const _0x29f45b=_0x195815;_0x4e6809(this,_0x29f45b(0x35a),new _0x4926fb[(_0x29f45b(0x328))]()),_0x4e6809(this,_0x29f45b(0x213),this[_0x29f45b(0x35a)][_0x29f45b(0x161)]());}[_0x195815(0x420)](_0x1f7ee5){const _0x292483=_0x195815;this[_0x292483(0x35a)][_0x292483(0x225)](_0x1f7ee5);}}var _0x4eab87=Object[_0x195815(0x42d)],_0x29c4d7=Object[_0x195815(0x49c)],_0x4b15f9=(_0x51f2e3,_0x2c6468,_0x5c8317,_0x520369)=>{const _0x8bd472=_0x195815;for(var _0x1caccb=_0x520369>0x1?void 0x0:_0x520369?_0x29c4d7(_0x2c6468,_0x5c8317):_0x2c6468,_0x2ea14c=_0x51f2e3[_0x8bd472(0x249)]-0x1,_0x1c85e3;_0x2ea14c>=0x0;_0x2ea14c--)(_0x1c85e3=_0x51f2e3[_0x2ea14c])&&(_0x1caccb=(_0x520369?_0x1c85e3(_0x2c6468,_0x5c8317,_0x1caccb):_0x1c85e3(_0x1caccb))||_0x1caccb);return _0x520369&&_0x1caccb&&_0x4eab87(_0x2c6468,_0x5c8317,_0x1caccb),_0x1caccb;},_0x5ecf2f=(_0x4e87cb,_0x3f4525)=>(_0xd2555f,_0x3a1e63)=>_0x3f4525(_0xd2555f,_0x3a1e63,_0x4e87cb);let _0x31c535=class extends _0x146bad[_0x195815(0x1cc)]{constructor(_0x45d4ee,_0x3b6a56){const _0x19123a=_0x195815;super(),_0x4e6809(this,_0x19123a(0x212),new Map()),(this['_univerInstanceService']=_0x45d4ee,this['_userManagerService']=_0x3b6a56,this[_0x19123a(0x124)](_0x146bad[_0x19123a(0x3ee)](_0x4926fb[_0x19123a(0x104)](this[_0x19123a(0x151)][_0x19123a(0x186)](_0x146bad[_0x19123a(0x350)][_0x19123a(0x496)])[_0x19123a(0x424)](_0x2d4b5d[_0x19123a(0x371)](_0x30f8a7=>_0x30f8a7[_0x19123a(0x17b)]())),this[_0x19123a(0x151)][_0x19123a(0x186)](_0x146bad['UniverInstanceType'][_0x19123a(0x262)])[_0x19123a(0x424)](_0x2d4b5d[_0x19123a(0x371)](_0x4db78d=>_0x4db78d[_0x19123a(0x17b)]())),this[_0x19123a(0x151)][_0x19123a(0x186)](_0x146bad[_0x19123a(0x350)][_0x19123a(0x389)])[_0x19123a(0x424)](_0x2d4b5d['map'](_0x418d66=>_0x418d66[_0x19123a(0x17b)]())))[_0x19123a(0x384)](_0x5db771=>this[_0x19123a(0x1fb)](_0x5db771)))));}[_0x195815(0x1ca)](_0x4bdd8b){const _0x2b867c=_0x195815;this[_0x2b867c(0x3e3)][_0x2b867c(0x1ca)](_0x4bdd8b);}[_0x195815(0x28d)](){const _0x44c0a2=_0x195815;return this[_0x44c0a2(0x3e3)][_0x44c0a2(0x28d)]();}[_0x195815(0x41b)](_0x3e5184,_0x61fb6e){const _0x50de89=_0x195815;let _0x26d518=this[_0x50de89(0x212)]['get'](_0x3e5184);_0x26d518||(_0x26d518=new _0x550075(),this[_0x50de89(0x212)][_0x50de89(0x1fc)](_0x3e5184,_0x26d518)),_0x26d518['updateMember'](_0x61fb6e);}[_0x195815(0x42b)](_0x427c82,_0x3272ce){const _0xfd81bf=_0x195815,_0x3cda4b=this[_0xfd81bf(0x212)][_0xfd81bf(0x499)](_0x427c82);_0x3cda4b&&_0x3cda4b['removeMember'](_0x3272ce);}[_0x195815(0x329)](_0x295f3d){const _0x4ad4d1=_0x195815;return this[_0x4ad4d1(0x212)][_0x4ad4d1(0x499)](_0x295f3d);}[_0x195815(0x2c8)](_0x231195,_0x5262a4){const _0x2a6733=_0x195815,_0x4bab5d=this[_0x2a6733(0x212)][_0x2a6733(0x499)](_0x231195);if(_0x4bab5d)return _0x4bab5d[_0x2a6733(0x2c8)](_0x5262a4);}[_0x195815(0x1fb)](_0x528a38){const _0x121ac3=_0x195815,_0x3a7945=this['_roomMembers'][_0x121ac3(0x499)](_0x528a38);_0x3a7945&&(_0x3a7945[_0x121ac3(0x1d0)](),this[_0x121ac3(0x212)]['delete'](_0x528a38));}[_0x195815(0x1d0)](){const _0x551d58=_0x195815;this[_0x551d58(0x212)][_0x551d58(0x1d8)](_0x746f1a=>_0x746f1a[_0x551d58(0x1d0)]()),this['_roomMembers']['clear']();}};_0x31c535=_0x4b15f9([_0x5ecf2f(0x0,_0x146bad[_0x195815(0x40e)]),_0x5ecf2f(0x1,_0x146bad[_0x195815(0x49b)](_0x146bad['UserManagerService']))],_0x31c535);class _0x550075 extends _0x146bad[_0x195815(0x1cc)]{constructor(){const _0x318817=_0x195815;super(...arguments),_0x4e6809(this,_0x318817(0x456),new Map());}['dispose'](){const _0x4ff7e7=_0x195815;this[_0x4ff7e7(0x456)][_0x4ff7e7(0x2e6)]();}[_0x195815(0x41b)](_0x2516b4){const _0x1d5a73=_0x195815;this[_0x1d5a73(0x456)]['set'](_0x2516b4[_0x1d5a73(0x40f)],_0x2516b4);}['removeMember'](_0x2ebec5){const _0x18bbf8=_0x195815;this[_0x18bbf8(0x456)][_0x18bbf8(0x4c5)](_0x2ebec5);}['getMember'](_0x3521d6){const _0x10eb50=_0x195815;return this['_members'][_0x10eb50(0x499)](_0x3521d6);}}var _0x1094f5=Object[_0x195815(0x42d)],_0x2057b6=Object[_0x195815(0x49c)],_0x216015=(_0x7920a,_0x2c764e,_0x41a7b7,_0x18e46a)=>{const _0x525637=_0x195815;for(var _0x5cb52e=_0x18e46a>0x1?void 0x0:_0x18e46a?_0x2057b6(_0x2c764e,_0x41a7b7):_0x2c764e,_0x350c34=_0x7920a[_0x525637(0x249)]-0x1,_0xe27788;_0x350c34>=0x0;_0x350c34--)(_0xe27788=_0x7920a[_0x350c34])&&(_0x5cb52e=(_0x18e46a?_0xe27788(_0x2c764e,_0x41a7b7,_0x5cb52e):_0xe27788(_0x5cb52e))||_0x5cb52e);return _0x18e46a&&_0x5cb52e&&_0x1094f5(_0x2c764e,_0x41a7b7,_0x5cb52e),_0x5cb52e;},_0x13a6da=(_0x3e9338,_0x34cd24)=>(_0x59d831,_0xb0957)=>_0x34cd24(_0x59d831,_0xb0957,_0x3e9338),_0x4c15a4=(_0x62cc21=>(_0x62cc21[_0x62cc21[_0x195815(0x226)]=0x0]=_0x195815(0x226),_0x62cc21[_0x62cc21[_0x195815(0x23c)]=0x1]=_0x195815(0x23c),_0x62cc21[_0x62cc21[_0x195815(0x106)]=0x2]=_0x195815(0x106),_0x62cc21[_0x62cc21[_0x195815(0xee)]=0x3]=_0x195815(0xee),_0x62cc21))(_0x4c15a4||{});_0x43f096[_0x195815(0x42a)]=class extends _0x146bad[_0x195815(0x25a)]{constructor(_0x5b25de,_0x46f37f,_0x3d05be,_0x1e57fd,_0x135950,_0x47a17e,_0x3b2fbd,_0x1a6fbe,_0xd772a2,_0x52502){const _0x5e0157=_0x195815;super(),_0x4e6809(this,_0x5e0157(0x422),new _0x4926fb[(_0x5e0157(0x164))](0x0)),_0x4e6809(this,_0x5e0157(0x2c1),this[_0x5e0157(0x422)][_0x5e0157(0x161)]()),_0x4e6809(this,_0x5e0157(0x4a3),new _0x4926fb['Subject']()),_0x4e6809(this,_0x5e0157(0x476),this[_0x5e0157(0x4a3)][_0x5e0157(0x161)]()),_0x4e6809(this,_0x5e0157(0x4c9)),_0x4e6809(this,'_socketMessageSubscription'),_0x4e6809(this,_0x5e0157(0x3f2)),_0x4e6809(this,_0x5e0157(0x378),!0x1),_0x4e6809(this,'_telemetryInfo',null),(this['_unitID']=_0x5b25de,this['_logService']=_0x3d05be,this[_0x5e0157(0x409)]=_0x1e57fd,this['_messageService']=_0x135950,this[_0x5e0157(0x11f)]=_0x47a17e,this[_0x5e0157(0x175)]=_0x3b2fbd,this['_memberService']=_0x1a6fbe,this[_0x5e0157(0x311)]=_0xd772a2,this[_0x5e0157(0x1e3)]=_0x52502,this[_0x5e0157(0x378)]=!!this[_0x5e0157(0x1e3)],_0x46f37f['pipe'](_0x4926fb[_0x5e0157(0x2e3)](this[_0x5e0157(0xfa)]))[_0x5e0157(0x384)](_0x546599=>{const _0x2f39b3=_0x5e0157;var _0x5ee805;typeof _0x546599>'u'||(this[_0x2f39b3(0x4c9)]=_0x546599,_0x546599?(this[_0x2f39b3(0x345)](_0x546599),this[_0x2f39b3(0x15e)]=_0x546599[_0x2f39b3(0x3a5)][_0x2f39b3(0x384)](_0x598124=>{const _0x2e83c4=_0x2f39b3;_0x598124['routeKey']===this['_unitID']&&this[_0x2e83c4(0x1da)](_0x598124);})):(this[_0x2f39b3(0x187)](),this[_0x2f39b3(0x422)][_0x2f39b3(0x225)](0x2),(_0x5ee805=this[_0x2f39b3(0x15e)])==null||_0x5ee805['unsubscribe'](),this['_socketMessageSubscription']=null));}),this[_0x5e0157(0x124)](this[_0x5e0157(0x409)][_0x5e0157(0x3ed)](()=>{const _0x2ad72a=_0x5e0157;var _0x150d30;(_0x150d30=this[_0x2ad72a(0x4c9)])==null||_0x150d30[_0x2ad72a(0x35c)]({'cmd':_0x55ec24[_0x2ad72a(0x334)],'data':{'roomID':this[_0x2ad72a(0x202)]}});})));}get['sessionStatus'](){const _0x59a007=_0x195815;return this[_0x59a007(0x422)]['getValue']();}['getMemberID'](){const _0xbd3927=_0x195815;var _0x560ef3,_0x244096;return(_0x244096=(_0x560ef3=this[_0xbd3927(0x4c9)])==null?void 0x0:_0x560ef3[_0xbd3927(0x40f)])!=null?_0x244096:null;}[_0x195815(0x1d0)](){const _0xf50b5f=_0x195815;super['dispose'](),this['dispose$'][_0xf50b5f(0x225)](),this['dispose$']['complete']();}[_0x195815(0xfb)](){const _0x304d4d=_0x195815;var _0x3bb546,_0x499561;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3bb546=this['_socket'])==null||_0x3bb546[_0x304d4d(0x35c)]({'cmd':_0x55ec24[_0x304d4d(0x334)],'data':{'roomID':this['_unitID']}}),(_0x499561=this[_0x304d4d(0x4c9)])==null||_0x499561[_0x304d4d(0xfb)](),this[_0x304d4d(0x4a3)][_0x304d4d(0x45c)](),this[_0x304d4d(0x422)][_0x304d4d(0x45c)](),this['dispose']();}['_onCombEvent'](_0xcdabb4){const _0x1e022b=_0x195815;_0xcdabb4['cmd']===_0x55ec24[_0x1e022b(0x3e9)]?this['_onJoinRoomEvent'](_0xcdabb4):_0xcdabb4['cmd']===_0x55ec24[_0x1e022b(0x332)]&&this[_0x1e022b(0x1de)](_0xcdabb4);}['_joinRoom'](_0x5f58c1){const _0x5d580e=_0x195815;this['_sessionStatus$'][_0x5d580e(0x225)](0x1),_0x5f58c1[_0x5d580e(0x35c)]({'cmd':_0x55ec24[_0x5d580e(0x3e9)],'routeKey':this[_0x5d580e(0x202)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x195815(0x4a9)](_0x2cdfcd){const _0x57fcd4=_0x195815;var _0x281d22;if(_0x2cdfcd[_0x57fcd4(0xd1)]===_0x12eaf7[_0x57fcd4(0x493)]){this['_messageService']['show']({'type':_0x32a032[_0x57fcd4(0x38f)]['Warning'],'content':this[_0x57fcd4(0x175)]['t'](_0x57fcd4(0x49d))}),this[_0x57fcd4(0x422)]['next'](0x2);return;}this[_0x57fcd4(0x422)]['next'](0x3);const _0x21b491=(_0x281d22=_0x2cdfcd[_0x57fcd4(0x1ad)][_0x57fcd4(0x3ad)][this[_0x57fcd4(0x202)]])==null?void 0x0:_0x281d22[_0x57fcd4(0x30a)];_0x21b491&&_0x21b491[_0x57fcd4(0x1d8)](_0x47c1da=>this[_0x57fcd4(0x4f7)][_0x57fcd4(0x41b)](this[_0x57fcd4(0x202)],_0x47c1da));}[_0x195815(0x1de)](_0x4bea9e){const _0x1b6e9f=_0x195815;try{const _0x3ee5fb=_0x4bea9e[_0x1b6e9f(0x1ad)];switch(_0x3ee5fb['eventID']){case _0x5e3529['CollaborationEvent'][_0x1b6e9f(0x37e)]:this[_0x1b6e9f(0x16b)](_0x3ee5fb),this[_0x1b6e9f(0x4a3)]['next'](_0x3ee5fb);break;case _0x5e3529[_0x1b6e9f(0x46f)][_0x1b6e9f(0x2d8)]:this[_0x1b6e9f(0x467)](_0x3ee5fb),this['_event$'][_0x1b6e9f(0x225)](_0x3ee5fb);break;case _0x5e3529[_0x1b6e9f(0x46f)][_0x1b6e9f(0x44f)]:this[_0x1b6e9f(0x18d)](),this[_0x1b6e9f(0x48b)](),this[_0x1b6e9f(0x4a3)][_0x1b6e9f(0x225)](_0x3ee5fb);break;case _0x5e3529[_0x1b6e9f(0x46f)][_0x1b6e9f(0x434)]:this[_0x1b6e9f(0x443)]['error'](_0x1b6e9f(0x431)+JSON['stringify'](_0x3ee5fb)),this[_0x1b6e9f(0x4a3)]['next'](_0x3ee5fb);break;case _0x5e3529['CollaborationEvent'][_0x1b6e9f(0x390)]:this['_commentService'][_0x1b6e9f(0x420)](_0x3ee5fb[_0x1b6e9f(0x1ad)]),this[_0x1b6e9f(0x4a3)][_0x1b6e9f(0x225)](_0x3ee5fb);break;default:this[_0x1b6e9f(0x4a3)][_0x1b6e9f(0x225)](_0x3ee5fb);}}catch(_0xf746ed){this['_logService']['error'](_0xf746ed,_0x4bea9e);}}[_0x195815(0x16b)](_0x11058f){const _0x1f5d86=_0x195815;this[_0x1f5d86(0x4f7)][_0x1f5d86(0x41b)](this[_0x1f5d86(0x202)],_0x11058f[_0x1f5d86(0x1ad)]);}[_0x195815(0x467)](_0x5dc6fb){const _0x3b535e=_0x195815;this[_0x3b535e(0x4f7)][_0x3b535e(0x42b)](this[_0x3b535e(0x202)],_0x5dc6fb[_0x3b535e(0x1ad)][_0x3b535e(0x40f)]);}async[_0x195815(0x35c)](_0x4890c2,_0x50d317){const _0x3c87f5=_0x195815;if(this[_0x3c87f5(0x34e)]!==0x3||!this[_0x3c87f5(0x4c9)])throw new Error(_0x3c87f5(0x14b));try{_0x4890c2[_0x3c87f5(0x1fa)]===_0x5e3529[_0x3c87f5(0x46f)][_0x3c87f5(0x3df)]&&(this[_0x3c87f5(0x38c)](),this['_startTelemetryCollaborationNewChangeset'](_0x4890c2)),this[_0x3c87f5(0x4c9)]['send']({'cmd':_0x55ec24[_0x3c87f5(0x34a)],'routeKey':_0x50d317,'routeType':'','data':_0x4890c2});}catch(_0x404c59){this[_0x3c87f5(0x443)][_0x3c87f5(0x4c4)](_0x404c59);}}['_scheduleCollaborationTimeoutTimer'](){const _0x45ee28=_0x195815;var _0x17c79b;this[_0x45ee28(0x3f2)]=window['setTimeout'](()=>{const _0x333e85=_0x45ee28;this[_0x333e85(0x3f2)]=null,this[_0x333e85(0x115)][_0x333e85(0x1c6)]({'type':_0x32a032[_0x333e85(0x38f)][_0x333e85(0x2fb)],'content':this[_0x333e85(0x175)]['t']('session.collaboration-timeout')});},(_0x17c79b=this[_0x45ee28(0x11f)][_0x45ee28(0x43e)](_0x505d92))!=null?_0x17c79b:0x4e20);}[_0x195815(0x48b)](){const _0x10ed10=_0x195815;this[_0x10ed10(0x3f2)]&&(clearTimeout(this[_0x10ed10(0x3f2)]),this[_0x10ed10(0x3f2)]=null);}[_0x195815(0x341)](_0x1f5f59){const _0x2e0ec5=_0x195815;if(!this['_shouldReportTelemetry'])return;const {data:_0x46d595}=_0x1f5f59,{unitID:_0x40cc52,changeset:_0x1d5d97}=_0x46d595,{mutations:_0x1453de,type:_0xee7966}=_0x1d5d97;this['_telemetryInfo']={'unitId':_0x40cc52,'type':_0xee7966,'startTime':performance[_0x2e0ec5(0x170)](),'stopTime':0x0,'duration':0x0,'size':_0x352bcd(_0x1453de)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x2f9594=_0x195815;if(this[_0x2f9594(0x378)]){if(!this[_0x2f9594(0x2dd)]){this[_0x2f9594(0x443)][_0x2f9594(0x4c4)](_0x2f9594(0x42f),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo']['stopTime']=performance['now'](),this[_0x2f9594(0x2dd)][_0x2f9594(0x36a)]=this[_0x2f9594(0x2dd)][_0x2f9594(0x354)]-this[_0x2f9594(0x2dd)][_0x2f9594(0x1a2)],this['_telemetryService'][_0x2f9594(0x35f)](_0x4a7f64,this['_telemetryInfo']),this[_0x2f9594(0x2dd)]=null;}}[_0x195815(0x187)](){const _0x9bb84f=_0x195815;this[_0x9bb84f(0x2dd)]=null;}},_0x43f096[_0x195815(0x42a)]=_0x216015([_0x13a6da(0x2,_0x146bad[_0x195815(0x40d)]),_0x13a6da(0x3,_0x55f67a['IBeforeCloseService']),_0x13a6da(0x4,_0x55f67a[_0x195815(0x362)]),_0x13a6da(0x5,_0x146bad[_0x195815(0x339)]),_0x13a6da(0x6,_0x146bad[_0x195815(0x49b)](_0x146bad[_0x195815(0x295)])),_0x13a6da(0x7,_0x146bad[_0x195815(0x49b)](_0x31c535)),_0x13a6da(0x8,_0x146bad[_0x195815(0x49b)](_0x560a31)),_0x13a6da(0x9,_0x146bad['Optional'](_0x4f755a[_0x195815(0x131)]))],_0x43f096[_0x195815(0x42a)]);var _0x5974c7=Object[_0x195815(0x42d)],_0x1f2840=Object[_0x195815(0x49c)],_0xdb4375=(_0x3d4ef3,_0x1517b5,_0x5f0b7a,_0x42a1d6)=>{const _0x503daa=_0x195815;for(var _0x300647=_0x42a1d6>0x1?void 0x0:_0x42a1d6?_0x1f2840(_0x1517b5,_0x5f0b7a):_0x1517b5,_0x2ffd40=_0x3d4ef3[_0x503daa(0x249)]-0x1,_0x3320ab;_0x2ffd40>=0x0;_0x2ffd40--)(_0x3320ab=_0x3d4ef3[_0x2ffd40])&&(_0x300647=(_0x42a1d6?_0x3320ab(_0x1517b5,_0x5f0b7a,_0x300647):_0x3320ab(_0x300647))||_0x300647);return _0x42a1d6&&_0x300647&&_0x5974c7(_0x1517b5,_0x5f0b7a,_0x300647),_0x300647;},_0xa68cf3=(_0x25ae63,_0x37fcf4)=>(_0x2b656d,_0x4fe872)=>_0x37fcf4(_0x2b656d,_0x4fe872,_0x25ae63);_0x43f096[_0x195815(0x2ac)]=class extends _0x146bad['Disposable']{constructor(_0x7a25db,_0x25567f,_0x435684,_0x30938c,_0x2a0a3,_0x9441c1){const _0x4c034c=_0x195815;super(),_0x4e6809(this,_0x4c034c(0x450),new _0x4926fb[(_0x4c034c(0x164))](void 0x0)),_0x4e6809(this,_0x4c034c(0x31e),this[_0x4c034c(0x450)][_0x4c034c(0x161)]()),_0x4e6809(this,_0x4c034c(0x459),null),_0x4e6809(this,'_sessions',new Map()),_0x4e6809(this,_0x4c034c(0x199),new _0x4926fb[(_0x4c034c(0x164))](_0x4c15a4['IDLE'])),_0x4e6809(this,_0x4c034c(0x4bf),this[_0x4c034c(0x199)][_0x4c034c(0x161)]()),_0x4e6809(this,_0x4c034c(0x21c),!0x1),_0x4e6809(this,'_retryConnectingTimer'),_0x4e6809(this,_0x4c034c(0x411),0x0),_0x4e6809(this,'_sendHeartbeatTimer'),_0x4e6809(this,_0x4c034c(0x4e9)),(this[_0x4c034c(0x3bf)]=_0x7a25db,this[_0x4c034c(0x175)]=_0x25567f,this[_0x4c034c(0x115)]=_0x435684,this[_0x4c034c(0x443)]=_0x30938c,this[_0x4c034c(0x11f)]=_0x2a0a3,this[_0x4c034c(0x38b)]=_0x9441c1,this['_initEventListeners']());}get[_0x195815(0x4c9)](){const _0x60b3a4=_0x195815;return this[_0x60b3a4(0x450)]['getValue']();}['_initEventListeners'](){const _0x490246=_0x195815;this['_listenToOfflineEvent'](),this[_0x490246(0x1b0)]();}[_0x195815(0x1d0)](){const _0x57aa95=_0x195815;super[_0x57aa95(0x1d0)](),this['_sessions']['forEach'](_0xa81c50=>_0xa81c50[_0x57aa95(0x1d0)]()),this[_0x57aa95(0x2f5)]['clear'](),this[_0x57aa95(0x199)][_0x57aa95(0x45c)]();}async[_0x195815(0x46d)](_0x4d3a3f){const _0x156e8f=_0x195815;if(this['_sessions']['has'](_0x4d3a3f))return this[_0x156e8f(0x2f5)][_0x156e8f(0x499)](_0x4d3a3f);this[_0x156e8f(0x277)]();const _0x363bfa=this[_0x156e8f(0x3bf)][_0x156e8f(0x26e)](_0x43f096[_0x156e8f(0x42a)],_0x4d3a3f,this['_socket$'][_0x156e8f(0x161)]());return this['_sessions'][_0x156e8f(0x1fc)](_0x4d3a3f,_0x363bfa),_0x363bfa;}['closeSession'](_0x49c050){const _0x1c4ccb=_0x195815;var _0x3ff5ee;const _0x2f9a6c=this['_sessions'][_0x1c4ccb(0x499)](_0x49c050);_0x2f9a6c&&(this[_0x1c4ccb(0x2f5)][_0x1c4ccb(0x4c5)](_0x49c050),_0x2f9a6c[_0x1c4ccb(0xfb)]()),this[_0x1c4ccb(0x2f5)][_0x1c4ccb(0x4c2)]||(_0x3ff5ee=this['_socket'])==null||_0x3ff5ee[_0x1c4ccb(0xfb)]();}[_0x195815(0x468)](){const _0x1f188c=_0x195815;this[_0x1f188c(0x411)]=0x0,this[_0x1f188c(0x2a6)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x1f188c(0x2a6)]=null),this[_0x1f188c(0x260)]();}['_createSocket'](){const _0x1b628d=_0x195815;var _0x56756a,_0x205aa8;const _0x3da3f6=this['_configService'][_0x1b628d(0x43e)](_0x7d2a8d),_0x1ecc30=this[_0x1b628d(0x11f)][_0x1b628d(0x43e)](_0x2cb813),_0x4f27a2=(_0x205aa8=(_0x56756a=_0x1ecc30==null?void 0x0:_0x1ecc30[_0x1b628d(0x219)])!=null?_0x56756a:_0x3da3f6)!=null?_0x205aa8:_0x491670,_0x1e42fa=this[_0x1b628d(0x38b)][_0x1b628d(0x4d7)](_0x4f27a2);return this['_candidateSocket']=_0x1e42fa,_0x1e42fa;}[_0x195815(0x277)](){const _0x259ff1=_0x195815;var _0x147910,_0x3a1fa3;try{const _0x4756f0=(_0x3a1fa3=(_0x147910=this['_socket'])!=null?_0x147910:this['_candidateSocket'])!=null?_0x3a1fa3:this[_0x259ff1(0x1f6)]();if(_0x4756f0){const _0xb94ca3=_0x4756f0[_0x259ff1(0x35c)];_0x4756f0[_0x259ff1(0x35c)]=_0x28ffcc=>(this[_0x259ff1(0x2e2)](),_0xb94ca3[_0x259ff1(0x3eb)](_0x4756f0,[_0x28ffcc])),_0x4756f0[_0x259ff1(0x3a5)][_0x259ff1(0x384)](_0x1646ce=>this[_0x259ff1(0x1e5)](_0x4756f0,_0x1646ce)),_0x4756f0[_0x259ff1(0x1d1)][_0x259ff1(0x424)](_0x2d4b5d[_0x259ff1(0x2a3)](0x1))[_0x259ff1(0x384)](_0x28497e=>this[_0x259ff1(0x443)]['error'](_0x259ff1(0x270),_0x28497e)),_0x4756f0['open$'][_0x259ff1(0x424)](_0x2d4b5d['take'](0x1))[_0x259ff1(0x384)](()=>{const _0x29c7e6=_0x259ff1;this[_0x29c7e6(0x34b)](_0x4756f0);}),_0x4756f0['close$'][_0x259ff1(0x424)](_0x2d4b5d[_0x259ff1(0x2a3)](0x1))['subscribe'](_0x22941=>{const _0x3febfb=_0x259ff1;this[_0x3febfb(0x443)]['debug'](_0x3febfb(0x451),_0x3febfb(0x481),_0x22941),this['_onConnectionFailed']();});}}catch(_0x54eeb2){this[_0x259ff1(0x443)][_0x259ff1(0x4c4)](_0x54eeb2),this[_0x259ff1(0x337)]();}}['_onConnectionOpen'](_0x19dd46){const _0x22765b=_0x195815;this[_0x22765b(0x443)][_0x22765b(0x1fe)](_0x22765b(0x451),_0x22765b(0x1a0)),_0x19dd46[_0x22765b(0x35c)]({'cmd':_0x55ec24[_0x22765b(0x293)]}),this[_0x22765b(0x2e2)]();}[_0x195815(0x13d)](){const _0x18c472=_0x195815;window[_0x18c472(0x19d)](_0x18c472(0x448),()=>this['_onOffline']());}[_0x195815(0x117)](){const _0x5a082b=_0x195815;this[_0x5a082b(0x21c)]=!0x1,this['_candidateSocket']=null,this[_0x5a082b(0x199)][_0x5a082b(0x225)](_0x4c15a4[_0x5a082b(0x106)]),this[_0x5a082b(0x450)]['next'](null),this[_0x5a082b(0x1f8)](),this[_0x5a082b(0x38d)]();}['_onConnectionFailed'](){const _0x31e6f6=_0x195815;var _0x549de2;this[_0x31e6f6(0x117)](),this[_0x31e6f6(0x411)]<((_0x549de2=this[_0x31e6f6(0x11f)]['getConfig'](_0x41257b))!=null?_0x549de2:0x3)?(this[_0x31e6f6(0x115)][_0x31e6f6(0x1c6)]({'key':_0x31e6f6(0x4ab),'type':_0x32a032[_0x31e6f6(0x38f)]['Warning'],'content':this['_localeService']['t'](_0x31e6f6(0x364))}),this[_0x31e6f6(0x260)]()):this['_messageService'][_0x31e6f6(0x1c6)]({'key':_0x31e6f6(0x4ab),'type':_0x32a032[_0x31e6f6(0x38f)][_0x31e6f6(0x2fb)],'content':this[_0x31e6f6(0x175)]['t']('session.connection-failed')});}['_listenToOnlineEvent'](){const _0xaeda9c=_0x195815,_0x1caa05=()=>{const _0x3773b3=_0x5cc9;this['_socket']||this[_0x3773b3(0x468)]();},_0x33cd64=()=>{const _0x2c6973=_0x5cc9;this[_0x2c6973(0x4c9)]||document['visibilityState']===_0x2c6973(0x1e1)||this['reconnect']();};window['addEventListener'](_0xaeda9c(0x3fa),_0x1caa05),document[_0xaeda9c(0x19d)](_0xaeda9c(0x3c0),_0x33cd64);}[_0x195815(0x260)](){const _0xa1833a=_0x195815;var _0x2be25d;const _0x53f742=this['_retryCount'],_0xc3e920=this[_0xa1833a(0x11f)][_0xa1833a(0x43e)](_0x2cb813),_0x10cdd6=_0x53f742===0x0?0x0:((_0x2be25d=_0xc3e920==null?void 0x0:_0xc3e920['retryConnectingInterval'])!=null?_0x2be25d:0x4e20)*0x2**_0x53f742;this[_0xa1833a(0x2a6)]=window['setTimeout'](()=>{const _0x520cd4=_0xa1833a;clearTimeout(this[_0x520cd4(0x2a6)]),this[_0x520cd4(0x2a6)]=null,this['_tryEnsureSocket']();},_0x10cdd6),this[_0xa1833a(0x411)]+=0x1;}[_0x195815(0x1e5)](_0x1c2402,_0x64a009){const _0x54a443=_0x195815,{cmd:_0x16b2a3}=_0x64a009;_0x16b2a3===_0x55ec24[_0x54a443(0x293)]&&!this[_0x54a443(0x21c)]&&(_0x1c2402[_0x54a443(0x40f)]=_0x64a009[_0x54a443(0x1ad)][_0x54a443(0x40f)],this[_0x54a443(0x450)][_0x54a443(0x225)](_0x1c2402),this[_0x54a443(0x199)][_0x54a443(0x225)](_0x4c15a4['ONLINE']),this[_0x54a443(0x21c)]=!0x0,this['_candidateSocket']=null),_0x16b2a3===_0x55ec24[_0x54a443(0x1ac)]&&this[_0x54a443(0x1f8)](),this[_0x54a443(0x2e2)]();}[_0x195815(0x2e2)](){const _0x3ec652=_0x195815;var _0x3669bc;this[_0x3ec652(0x38d)](),this['_sendHeartbeatTimer']=window[_0x3ec652(0x223)](()=>this[_0x3ec652(0x3ca)](),(_0x3669bc=this[_0x3ec652(0x11f)][_0x3ec652(0x43e)](_0x1882e9))!=null?_0x3669bc:0x7530);}[_0x195815(0x3ca)](){const _0x21b8f5=_0x195815;this[_0x21b8f5(0x4c9)][_0x21b8f5(0x35c)]({'cmd':_0x55ec24[_0x21b8f5(0x1ac)]}),this[_0x21b8f5(0x3f6)]();}['_waitForHeartbeatResponse'](){const _0x3dc3ce=_0x195815;var _0x469c65;this[_0x3dc3ce(0x4e9)]=window[_0x3dc3ce(0x223)](()=>this[_0x3dc3ce(0x337)](),(_0x469c65=this[_0x3dc3ce(0x11f)][_0x3dc3ce(0x43e)](_0x505d92))!=null?_0x469c65:0x4e20);}[_0x195815(0x38d)](){const _0x5d326a=_0x195815;this[_0x5d326a(0xdd)]!=null&&(clearTimeout(this[_0x5d326a(0xdd)]),this[_0x5d326a(0xdd)]=null);}[_0x195815(0x1f8)](){const _0x1eb8cf=_0x195815;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x1eb8cf(0x4e9)]),this[_0x1eb8cf(0x4e9)]=null);}},_0x43f096[_0x195815(0x2ac)]=_0xdb4375([_0xa68cf3(0x0,_0x146bad['Inject'](_0x146bad[_0x195815(0x3de)])),_0xa68cf3(0x1,_0x146bad[_0x195815(0x49b)](_0x146bad[_0x195815(0x295)])),_0xa68cf3(0x2,_0x55f67a[_0x195815(0x362)]),_0xa68cf3(0x3,_0x146bad[_0x195815(0x40d)]),_0xa68cf3(0x4,_0x146bad[_0x195815(0x339)]),_0xa68cf3(0x5,_0x1016ab)],_0x43f096[_0x195815(0x2ac)]);for(var _0x13eea3=[],_0x58375a=0x0;_0x58375a<0x100;++_0x58375a)_0x13eea3[_0x195815(0x4ce)]((_0x58375a+0x100)['toString'](0x10)[_0x195815(0x2cb)](0x1));function _0x53af9d(_0xf2c485,_0x1b0c5a=0x0){return(_0x13eea3[_0xf2c485[_0x1b0c5a+0x0]]+_0x13eea3[_0xf2c485[_0x1b0c5a+0x1]]+_0x13eea3[_0xf2c485[_0x1b0c5a+0x2]]+_0x13eea3[_0xf2c485[_0x1b0c5a+0x3]]+'-'+_0x13eea3[_0xf2c485[_0x1b0c5a+0x4]]+_0x13eea3[_0xf2c485[_0x1b0c5a+0x5]]+'-'+_0x13eea3[_0xf2c485[_0x1b0c5a+0x6]]+_0x13eea3[_0xf2c485[_0x1b0c5a+0x7]]+'-'+_0x13eea3[_0xf2c485[_0x1b0c5a+0x8]]+_0x13eea3[_0xf2c485[_0x1b0c5a+0x9]]+'-'+_0x13eea3[_0xf2c485[_0x1b0c5a+0xa]]+_0x13eea3[_0xf2c485[_0x1b0c5a+0xb]]+_0x13eea3[_0xf2c485[_0x1b0c5a+0xc]]+_0x13eea3[_0xf2c485[_0x1b0c5a+0xd]]+_0x13eea3[_0xf2c485[_0x1b0c5a+0xe]]+_0x13eea3[_0xf2c485[_0x1b0c5a+0xf]])['toLowerCase']();}var _0x5a230a,_0x8c93d3=new Uint8Array(0x10);function _0x57021(){const _0x3f1007=_0x195815;if(!_0x5a230a&&(_0x5a230a=typeof crypto<'u'&&crypto[_0x3f1007(0x265)]&&crypto[_0x3f1007(0x265)][_0x3f1007(0x139)](crypto),!_0x5a230a))throw new Error(_0x3f1007(0x27c));return _0x5a230a(_0x8c93d3);}var _0x50e32c=typeof crypto<'u'&&crypto[_0x195815(0x3ea)]&&crypto[_0x195815(0x3ea)]['bind'](crypto);const _0x5137ea={'randomUUID':_0x50e32c};function _0xd85ee0(_0x4780b8,_0x2544b0,_0x222e63){const _0x44ed48=_0x195815;if(_0x5137ea[_0x44ed48(0x3ea)]&&!_0x2544b0&&!_0x4780b8)return _0x5137ea[_0x44ed48(0x3ea)]();_0x4780b8=_0x4780b8||{};var _0x459451=_0x4780b8[_0x44ed48(0x4e0)]||(_0x4780b8['rng']||_0x57021)();return _0x459451[0x6]=_0x459451[0x6]&0xf|0x40,_0x459451[0x8]=_0x459451[0x8]&0x3f|0x80,_0x53af9d(_0x459451);}var _0x478b85=Object[_0x195815(0x42d)],_0x1a9e1e=Object[_0x195815(0x49c)],_0x1061e9=(_0x23c784,_0x3ef412,_0xdcba9c,_0x3782ed)=>{const _0x103c69=_0x195815;for(var _0x34d98b=_0x3782ed>0x1?void 0x0:_0x3782ed?_0x1a9e1e(_0x3ef412,_0xdcba9c):_0x3ef412,_0x369721=_0x23c784[_0x103c69(0x249)]-0x1,_0x3a2b46;_0x369721>=0x0;_0x369721--)(_0x3a2b46=_0x23c784[_0x369721])&&(_0x34d98b=(_0x3782ed?_0x3a2b46(_0x3ef412,_0xdcba9c,_0x34d98b):_0x3a2b46(_0x34d98b))||_0x34d98b);return _0x3782ed&&_0x34d98b&&_0x478b85(_0x3ef412,_0xdcba9c,_0x34d98b),_0x34d98b;},_0x39fc53=(_0x57aec6,_0x50516e)=>(_0xe58376,_0x4b914a)=>_0x50516e(_0xe58376,_0x4b914a,_0x57aec6);let _0x362332=class{constructor(_0xa65b85,_0x5273c6,_0x5f3501){const _0x3723b8=_0x195815;this['_injector']=_0xa65b85,this[_0x3723b8(0x172)]=_0x5273c6,this[_0x3723b8(0x4a2)]=_0x5f3501;}['transformIMECache'](_0x283860){const _0x11c92f=_0x195815;this[_0x11c92f(0x4ca)](_0x283860),this[_0x11c92f(0x445)](_0x283860);}['transformRemoteChangeset'](_0x1e72f7){const _0x36b041=_0x195815,{unitID:_0x497557}=_0x1e72f7,_0xa02b25=this[_0x36b041(0x4a2)][_0x36b041(0x1cf)](_0x497557)[_0x36b041(0x3a4)](_0x582f5a[_0x36b041(0x348)]),{redoCache:_0x8200b2}=_0xa02b25[_0x36b041(0x333)]();if(_0x8200b2[_0x36b041(0x249)]===0x0)return _0x1e72f7;let _0x4c0538=_0x146bad[_0x36b041(0x3c8)][_0x36b041(0x47b)](_0x1e72f7['mutations'][0x0]);for(let _0x273cef=0x0;_0x273cef<_0x8200b2[_0x36b041(0x249)];_0x273cef++){const _0x56a6fa={'id':_0x36b041(0x12a),'params':{..._0x8200b2[_0x273cef]}},_0xd2dae5=this[_0x36b041(0x172)][_0x36b041(0x447)](_0x4c0538,_0x56a6fa,!0x1);if(_0x5e3529[_0x36b041(0x261)](_0xd2dae5))throw _0xd2dae5['error'];_0x4c0538=_0xd2dae5['m1Prime'];}return{..._0x146bad[_0x36b041(0x3c8)][_0x36b041(0x47b)](_0x1e72f7),'mutations':[_0x4c0538]};}[_0x195815(0x4ca)](_0x2faa36){const _0x2479d1=_0x195815,{unitID:_0xedfeb5}=_0x2faa36,_0xdd6c35=this[_0x2479d1(0x4a2)][_0x2479d1(0x1cf)](_0xedfeb5)[_0x2479d1(0x3a4)](_0x582f5a['DocIMEInputManagerService']),{undoCache:_0x3714c2,redoCache:_0x5b9194}=_0xdd6c35[_0x2479d1(0x333)]();if(_0x3714c2['length']===0x0||_0x5b9194[_0x2479d1(0x249)]===0x0)return;const _0x42972d=[],_0x30b193=[];let _0x59a985=_0x146bad['Tools'][_0x2479d1(0x47b)](_0x2faa36['mutations'][0x0]),_0x594555=_0x146bad[_0x2479d1(0x3c8)][_0x2479d1(0x47b)](_0x2faa36[_0x2479d1(0x44e)][0x0]);for(let _0xadd806=_0x3714c2[_0x2479d1(0x249)]-0x1;_0xadd806>=0x0;_0xadd806--){const _0x174ad2={'id':_0x2479d1(0x12a),'params':{..._0x3714c2[_0xadd806]}},_0x41eccc={'id':'doc.mutation.rich-text-editing','params':{..._0x5b9194[_0xadd806]}},_0x198f5f=this[_0x2479d1(0x172)][_0x2479d1(0x447)](_0x59a985,_0x174ad2,!0x1),_0x5a074e=this[_0x2479d1(0x172)][_0x2479d1(0x447)](_0x594555,_0x41eccc,!0x1);if(_0x5e3529[_0x2479d1(0x261)](_0x198f5f))throw _0x198f5f['error'];if(_0x5e3529[_0x2479d1(0x261)](_0x5a074e))throw _0x5a074e['error'];_0x42972d['unshift'](_0x198f5f[_0x2479d1(0x246)][_0x2479d1(0x24f)]),_0x30b193[_0x2479d1(0x428)](_0x5a074e[_0x2479d1(0x246)]['params']),_0x59a985=_0x198f5f['m1Prime'],_0x594555=_0x5a074e['m1Prime'];}_0xdd6c35[_0x2479d1(0x495)]({'undoCache':_0x42972d,'redoCache':_0x30b193});}[_0x195815(0x445)](_0x35ee6a){const _0x285238=_0x195815,{unitID:_0x96eb65}=_0x35ee6a,_0x555f05=this['_renderManagerService'][_0x285238(0x1cf)](_0x96eb65)[_0x285238(0x3a4)](_0x582f5a[_0x285238(0x348)]),_0x11cdba=_0x555f05[_0x285238(0x29b)]();if(_0x11cdba==null)return;const _0x5769a3=[{'id':_0x285238(0x12a),'params':{'unitId':_0x35ee6a[_0x285238(0x2f7)],'actions':null,'textRanges':[_0x11cdba]}}],_0x22ccde=this['_transformService'][_0x285238(0x15c)](_0x35ee6a,_0x5769a3);if(!_0x5e3529['isTransformMutationsWithChangesetSuccess'](_0x22ccde))throw _0x22ccde[_0x285238(0x4c4)];const _0x590d43=_0x22ccde['m2Prime'][0x0][_0x285238(0x24f)][_0x285238(0x2d1)];Array[_0x285238(0x44d)](_0x590d43)&&_0x590d43[_0x285238(0x249)]&&_0x555f05[_0x285238(0xe3)](_0x590d43[0x0]);}};_0x362332=_0x1061e9([_0x39fc53(0x0,_0x146bad['Inject'](_0x146bad['Injector'])),_0x39fc53(0x1,_0x5e3529[_0x195815(0x3d3)]),_0x39fc53(0x2,_0x502efe[_0x195815(0x1f5)])],_0x362332);var _0x557571=Object[_0x195815(0x42d)],_0x21ad5f=Object[_0x195815(0x49c)],_0x4c12d0=(_0x313c19,_0x597313,_0x916bbd,_0x3ab1ca)=>{const _0x4afef7=_0x195815;for(var _0x5d66dc=_0x3ab1ca>0x1?void 0x0:_0x3ab1ca?_0x21ad5f(_0x597313,_0x916bbd):_0x597313,_0x3ec5bc=_0x313c19[_0x4afef7(0x249)]-0x1,_0x3879bd;_0x3ec5bc>=0x0;_0x3ec5bc--)(_0x3879bd=_0x313c19[_0x3ec5bc])&&(_0x5d66dc=(_0x3ab1ca?_0x3879bd(_0x597313,_0x916bbd,_0x5d66dc):_0x3879bd(_0x5d66dc))||_0x5d66dc);return _0x3ab1ca&&_0x5d66dc&&_0x557571(_0x597313,_0x916bbd,_0x5d66dc),_0x5d66dc;},_0x466b44=(_0x4605fc,_0x185294)=>(_0xe7e790,_0x2a4b28)=>_0x185294(_0xe7e790,_0x2a4b28,_0x4605fc);_0x43f096['LocalCacheService']=class extends _0x146bad['Disposable']{constructor(_0x4321d0,_0x237f38,_0x50f3d2,_0x2a9a51,_0x6d3f07){const _0x19e0d5=_0x195815;super(),_0x4e6809(this,_0x19e0d5(0x1e8),new Map()),_0x4e6809(this,_0x19e0d5(0x243),new Map()),_0x4e6809(this,_0x19e0d5(0x2a5),!0x1),(this[_0x19e0d5(0x11f)]=_0x4321d0,this[_0x19e0d5(0x386)]=_0x237f38,this['_beforeCloseService']=_0x50f3d2,this[_0x19e0d5(0x175)]=_0x2a9a51,this[_0x19e0d5(0x10b)]=_0x6d3f07,this[_0x19e0d5(0x109)]());}[_0x195815(0x415)](){const _0x3cacb6=_0x195815;this[_0x3cacb6(0x2a5)]=!0x0;}[_0x195815(0x292)](){this['_disabled']=!0x1;}[_0x195815(0x1d0)](){const _0x2e3e13=_0x195815;this[_0x2e3e13(0x13c)]()[_0x2e3e13(0x297)](()=>super['dispose']());}async[_0x195815(0x2d9)](_0x7d2e2a){const _0xcdd12a=_0x195815;return this[_0xcdd12a(0x2a5)]?null:this[_0xcdd12a(0x386)][_0xcdd12a(0x180)](_0x2ac9cc(_0x7d2e2a));}async[_0x195815(0xea)](_0x1353a9,_0x29b8e5){const _0x18b7ab=_0x195815;return!!this[_0x18b7ab(0x386)][_0x18b7ab(0x29e)](_0x1353a9,_0x29b8e5);}[_0x195815(0x4ed)](_0x336df1,_0x1cd128,_0x4fbdc6,_0x570352){const _0xb73e86=_0x195815,_0x152407=this[_0xb73e86(0x10b)]['getCurrentRevOfUnit'](_0x336df1);this['_cachedData'][_0xb73e86(0x1fc)](_0x336df1,{'unitID':_0x336df1,'type':_0x1cd128,'awaitingChangeset':_0x4fbdc6,'mutations':_0x570352,'rev':_0x152407}),this[_0xb73e86(0x243)][_0xb73e86(0xef)](_0x336df1)||this['_scheduleSaving'](_0x336df1);}['_scheduleSaving'](_0x286856){const _0x35cab0=_0x195815,_0x4b5843=this[_0x35cab0(0x408)]();_0x4b5843===0x0?this[_0x35cab0(0x1db)](_0x286856):this['_saveTaskMap']['set'](_0x286856,setTimeout(()=>this[_0x35cab0(0x1db)](_0x286856),_0x4b5843));}[_0x195815(0x408)](){const _0x5a76d2=_0x195815;var _0x389990;return(_0x389990=this[_0x5a76d2(0x11f)][_0x5a76d2(0x43e)](_0x54a43))!=null?_0x389990:0x3e8;}[_0x195815(0x1db)](_0x339d3c){const _0x1457ab=_0x195815,_0x4136a5=this[_0x1457ab(0x243)][_0x1457ab(0x499)](_0x339d3c);return _0x4136a5!==void 0x0&&window[_0x1457ab(0x404)](_0x4136a5),this[_0x1457ab(0x386)][_0x1457ab(0x29e)](_0x2ac9cc(_0x339d3c),this[_0x1457ab(0x1e8)][_0x1457ab(0x499)](_0x339d3c))[_0x1457ab(0x297)](()=>this[_0x1457ab(0x243)][_0x1457ab(0x4c5)](_0x339d3c));}async['exhaustSavingTask'](){const _0x76078a=_0x195815,_0x585779=[];this[_0x76078a(0x243)][_0x76078a(0x1d8)]((_0x2119a2,_0x166cb6)=>{const _0x3bef8d=_0x76078a;window[_0x3bef8d(0x404)](_0x2119a2),_0x585779[_0x3bef8d(0x4ce)](this[_0x3bef8d(0x1db)](_0x166cb6)[_0x3bef8d(0x297)](()=>{const _0x227b3c=_0x3bef8d;this[_0x227b3c(0x243)][_0x227b3c(0x4c5)](_0x166cb6);}));}),await Promise[_0x76078a(0x4d5)](_0x585779);}[_0x195815(0x109)](){const _0x54fe3b=_0x195815;this[_0x54fe3b(0x124)](this['_beforeCloseService'][_0x54fe3b(0x1a7)](()=>{const _0x953711=_0x54fe3b;if(this[_0x953711(0x243)][_0x953711(0x4c2)])return this[_0x953711(0x175)]['t'](_0x953711(0x2bb));}));}},_0x43f096[_0x195815(0x314)]=_0x4c12d0([_0x466b44(0x0,_0x146bad[_0x195815(0x339)]),_0x466b44(0x1,_0x146bad[_0x195815(0x2ae)]),_0x466b44(0x2,_0x55f67a[_0x195815(0x47f)]),_0x466b44(0x3,_0x146bad['Inject'](_0x146bad[_0x195815(0x295)])),_0x466b44(0x4,_0x146bad['Inject'](_0x5e3529[_0x195815(0x22d)]))],_0x43f096['LocalCacheService']);function _0x2ac9cc(_0x957998){const _0x1eba95=_0x195815;return _0x1eba95(0x24c)+_0x957998;}var _0x36c8ba=Object['defineProperty'],_0x1b47b8=Object[_0x195815(0x49c)],_0x3838f8=(_0x2c98e2,_0x1d815a,_0x914734,_0x322aef)=>{const _0x2c5686=_0x195815;for(var _0x263a85=_0x322aef>0x1?void 0x0:_0x322aef?_0x1b47b8(_0x1d815a,_0x914734):_0x1d815a,_0x2f7a3a=_0x2c98e2[_0x2c5686(0x249)]-0x1,_0x5a29f7;_0x2f7a3a>=0x0;_0x2f7a3a--)(_0x5a29f7=_0x2c98e2[_0x2f7a3a])&&(_0x263a85=(_0x322aef?_0x5a29f7(_0x1d815a,_0x914734,_0x263a85):_0x5a29f7(_0x263a85))||_0x263a85);return _0x322aef&&_0x263a85&&_0x36c8ba(_0x1d815a,_0x914734,_0x263a85),_0x263a85;},_0x26cd7f=(_0x199f6c,_0x2e57e8)=>(_0x213abc,_0x4cc731)=>_0x2e57e8(_0x213abc,_0x4cc731,_0x199f6c);function _0x1c061f(_0x3931b2){const _0x2095aa=_0x195815,{unitID:_0x4ee240,mutations:_0x360417}=_0x3931b2;return{'unitId':_0x4ee240,'subUnitId':_0x360417[0x0]['params'][_0x2095aa(0x269)]};}let _0x5c19c5=class{constructor(_0x3747e2,_0x58fae6,_0x4bed14){const _0x1a8fa1=_0x195815;this[_0x1a8fa1(0x3bf)]=_0x3747e2,this[_0x1a8fa1(0x172)]=_0x58fae6,this[_0x1a8fa1(0x352)]=_0x4bed14;}[_0x195815(0x374)](_0x46a9a8){const _0x2ffd93=_0x195815;var _0x5ac829,_0x2c4896,_0x327871,_0x1c923a;const _0x5da696=this[_0x2ffd93(0x3bf)]['get'](_0x36eda5[_0x2ffd93(0x33d)]),{unitId:_0x17d973,subUnitId:_0x161242}=_0x1c061f(_0x46a9a8),_0x126946=_0x5da696['getWorkbookSelections'](_0x17d973)[_0x2ffd93(0x4b8)](),_0x224913=(_0x2c4896=(_0x5ac829=this[_0x2ffd93(0x352)][_0x2ffd93(0x36c)](_0x17d973))==null?void 0x0:_0x5ac829['getActiveSheet']())==null?void 0x0:_0x2c4896[_0x2ffd93(0x1d4)]();if(_0x126946['length']===0x0||!_0x17d973||!_0x161242)return;const _0x388d10=[{'id':_0x36eda5[_0x2ffd93(0x3d6)]['id'],'params':{'unitId':_0x17d973,'subUnitId':_0x224913,'selections':_0x146bad['Tools'][_0x2ffd93(0x47b)](_0x126946)}}],_0x130483=this[_0x2ffd93(0x172)]['transformMutationsWithChangeset'](_0x46a9a8,_0x388d10);if(!_0x5e3529['isTransformMutationsWithChangesetSuccess'](_0x130483))throw _0x130483[_0x2ffd93(0x4c4)];const _0x51dfc3=(_0x1c923a=(_0x327871=_0x130483[_0x2ffd93(0x246)][0x0])==null?void 0x0:_0x327871[_0x2ffd93(0x24f)])==null?void 0x0:_0x1c923a[_0x2ffd93(0x25b)];Array['isArray'](_0x51dfc3)&&_0x51dfc3[_0x2ffd93(0x249)]&&this['_injector'][_0x2ffd93(0x499)](_0x146bad[_0x2ffd93(0xfc)])[_0x2ffd93(0x313)](_0x36eda5[_0x2ffd93(0x3d6)]['id'],{'unitId':_0x17d973,'subUnitId':_0x224913,'selections':_0x51dfc3});}};_0x5c19c5=_0x3838f8([_0x26cd7f(0x0,_0x146bad[_0x195815(0x49b)](_0x146bad[_0x195815(0x3de)])),_0x26cd7f(0x1,_0x5e3529[_0x195815(0x3d3)]),_0x26cd7f(0x2,_0x146bad[_0x195815(0x40e)])],_0x5c19c5);const _0x5e5bc8=_0x146bad[_0x195815(0x156)](_0x195815(0x399));var _0xf6d629=(_0x405c8c=>(_0x405c8c[_0x405c8c['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x195815(0x282),_0x405c8c[_0x405c8c['OTHER_CLIENTS_EDITING']=0x1]=_0x195815(0x4ad),_0x405c8c))(_0xf6d629||{});const _0x44c33e=0x7530,_0x5ce346=_0x195815(0x3cb);class _0x3b0b97 extends _0x146bad[_0x195815(0x1cc)]{constructor(){const _0x1094cc=_0x195815;super(),_0x4e6809(this,'_id',_0x146bad[_0x1094cc(0x3c8)][_0x1094cc(0x162)]()),_0x4e6809(this,_0x1094cc(0x4b5),new Set()),_0x4e6809(this,'_unitOnClients',new Map()),_0x4e6809(this,_0x1094cc(0x330),null),_0x4e6809(this,'_clearOtherTimers',new Map()),_0x4e6809(this,_0x1094cc(0x31a),new Map()),this[_0x1094cc(0xf2)]();}[_0x195815(0x1d0)](){const _0x109ad9=_0x195815;super[_0x109ad9(0x1d0)](),this[_0x109ad9(0x2d7)][_0x109ad9(0x1d8)]((_0x1b56fb,_0x304f50)=>this[_0x109ad9(0x465)](_0x304f50)),this[_0x109ad9(0x330)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x195815(0x4cc)](_0x34105f){const _0x1ec73e=_0x195815;return this['_ensureSubject'](_0x34105f)[_0x1ec73e(0x424)](_0x4926fb[_0x1ec73e(0x204)]());}[_0x195815(0x4b9)](_0x34b2c1){const _0xcadd5c=_0x195815;this[_0xcadd5c(0x4b5)][_0xcadd5c(0x4c2)]===0x0&&this['_scheduleHeartbeat'](),this[_0xcadd5c(0x4b5)][_0xcadd5c(0x2ba)](_0x34b2c1),this[_0xcadd5c(0x4f8)]({'type':0x0,'memberID':this[_0xcadd5c(0x147)],'unitIDs':[_0x34b2c1],'isForwarded':!0x1});}['disposeUnit'](_0x3e00e4){const _0x4fd0e6=_0x195815;this[_0x4fd0e6(0x4b5)][_0x4fd0e6(0x4c5)](_0x3e00e4),this['_selfUnitIDs']['size']===0x0&&this[_0x4fd0e6(0x330)]&&window[_0x4fd0e6(0x4e4)](this[_0x4fd0e6(0x330)]);}[_0x195815(0xf2)](){const _0x1043df=_0x195815;this[_0x1043df(0x124)](_0x146bad['toDisposable'](_0x4926fb[_0x1043df(0x2df)](window,'storage')[_0x1043df(0x384)](_0x2901f5=>{const _0x14357b=_0x1043df;if(_0x2901f5[_0x14357b(0x473)]!==_0x5ce346||!_0x2901f5[_0x14357b(0x474)])return;const _0xd0ad68=JSON['parse'](_0x2901f5[_0x14357b(0x474)]);this[_0x14357b(0x14f)](_0xd0ad68);}))),window[_0x1043df(0x19d)](_0x1043df(0x28e),()=>this[_0x1043df(0x4f8)]({'type':0x1,'memberID':this[_0x1043df(0x147)],'unitIDs':Array[_0x1043df(0x4d9)](this[_0x1043df(0x4b5)])}));}[_0x195815(0x14f)](_0x459bef){const _0x1a044b=_0x195815;switch(_0x459bef[_0x1a044b(0x3f9)]){case 0x0:this['_handleJoinEvent'](_0x459bef);break;case 0x1:this[_0x1a044b(0x2eb)](_0x459bef);break;case 0x2:this[_0x1a044b(0x2b1)](_0x459bef);break;}}[_0x195815(0x4a0)](_0x21e14e){const _0x49d9f3=_0x195815,{unitIDs:_0x231382,memberID:_0x37c9a2,isForwarded:_0x2cb56b}=_0x21e14e;_0x231382[_0x49d9f3(0x1d8)](_0x52fd02=>{const _0x435ee8=_0x49d9f3;if(!_0x2cb56b&&this[_0x435ee8(0x3ec)][_0x435ee8(0xef)](_0x52fd02)&&this[_0x435ee8(0x1b3)](_0x52fd02)['next'](0x1),!this[_0x435ee8(0x3ec)][_0x435ee8(0xef)](_0x52fd02)||!this[_0x435ee8(0x3ec)][_0x435ee8(0x499)](_0x52fd02)['has'](_0x37c9a2)){const _0x3be103=this['_unitOnClients'][_0x435ee8(0x499)](_0x52fd02)||new Set();_0x3be103[_0x435ee8(0x2ba)](_0x37c9a2),this['_unitOnClients'][_0x435ee8(0x1fc)](_0x52fd02,_0x3be103),this[_0x435ee8(0x16e)](_0x37c9a2);}}),_0x2cb56b||this[_0x49d9f3(0x4f8)]({'type':0x0,'memberID':this[_0x49d9f3(0x147)],'unitIDs':[...this[_0x49d9f3(0x4b5)]],'isForwarded':!0x0});}[_0x195815(0x16e)](_0x23f187){const _0x3c04ea=_0x195815;this[_0x3c04ea(0x465)](_0x23f187);const _0x324a5d=window['setTimeout'](()=>{const _0x2a2459=_0x3c04ea;this[_0x2a2459(0x3ec)][_0x2a2459(0x1d8)](_0x3a7524=>{const _0x3e91fd=_0x2a2459;_0x3a7524[_0x3e91fd(0x4c5)](_0x23f187);});},_0x44c33e*0x2);this[_0x3c04ea(0x2d7)][_0x3c04ea(0x1fc)](_0x23f187,_0x324a5d);}[_0x195815(0x465)](_0x460e9b){const _0x131614=_0x195815;if(this[_0x131614(0x2d7)][_0x131614(0xef)](_0x460e9b)){const _0x1075fd=this['_clearOtherTimers'][_0x131614(0x499)](_0x460e9b);_0x1075fd&&window['clearTimeout'](_0x1075fd),this[_0x131614(0x2d7)]['set'](_0x460e9b,null);}}[_0x195815(0x2eb)](_0x3915b1){const _0xee734c=_0x195815,{memberID:_0x395ded,unitIDs:_0x36f0fa}=_0x3915b1;_0x36f0fa['forEach'](_0x2e2abf=>{const _0x21fa30=_0x5cc9;var _0x77f0cc;const _0x49da97=this['_unitOnClients'][_0x21fa30(0x499)](_0x2e2abf);_0x49da97&&(_0x49da97[_0x21fa30(0x4c5)](_0x395ded),(_0x77f0cc=this[_0x21fa30(0x1b3)](_0x2e2abf))==null||_0x77f0cc['next'](_0x49da97[_0x21fa30(0x4c2)]===0x0?0x0:0x1));}),this[_0xee734c(0x465)](_0x395ded);}[_0x195815(0x2b1)](_0x27aac8){const _0x19c6da=_0x195815;this[_0x19c6da(0x16e)](_0x27aac8[_0x19c6da(0x40f)]);}['_send'](_0x4ff5a6){const _0x3dd8a4=_0x195815;localStorage[_0x3dd8a4(0x29e)](_0x5ce346,JSON['stringify'](_0x4ff5a6));}['_scheduleHeartbeat'](){const _0x1fe43a=_0x195815;this[_0x1fe43a(0x330)]=window[_0x1fe43a(0xda)](()=>{const _0x44c37d=_0x1fe43a;this['_send']({'type':0x2,'memberID':this[_0x44c37d(0x147)]});},_0x44c33e);}[_0x195815(0x1b3)](_0x1f9c04){const _0x4e5ac0=_0x195815;return this['_unitStatus'][_0x4e5ac0(0xef)](_0x1f9c04)||this[_0x4e5ac0(0x31a)][_0x4e5ac0(0x1fc)](_0x1f9c04,new _0x4926fb['BehaviorSubject'](0x0)),this[_0x4e5ac0(0x31a)][_0x4e5ac0(0x499)](_0x1f9c04);}}function _0x2ed549(_0x2818c5){const _0x5138e0=_0x195815;let _0x5d2846='';for(const _0x427fc9 of _0x2818c5){const {startOffset:_0x4cd538,endOffset:_0x327096,isActive:_0x1fbbdd}=_0x427fc9;_0x5d2846[_0x5138e0(0x249)]&&(_0x5d2846+=','),_0x5d2846+=_0x4cd538+':'+_0x327096+':'+(_0x1fbbdd?'1':'0');}return _0x5d2846;}function _0x402167(_0x3196cd){const _0x2d2849=_0x195815,_0x11f923=_0x3196cd[_0x2d2849(0x41f)](','),_0x1d8d57=[];for(const _0xf99d7 of _0x11f923){const [_0x53b7df,_0x21ce95,_0x5c1f52]=_0xf99d7[_0x2d2849(0x41f)](':');_0x1d8d57[_0x2d2849(0x4ce)]({'startOffset':Number(_0x53b7df),'endOffset':Number(_0x21ce95),'collapsed':_0x53b7df===_0x21ce95,'isActive':_0x5c1f52==='1'});}return _0x1d8d57[_0x2d2849(0x169)](_0x14264a=>_0x14264a['isActive'])||(_0x1d8d57[0x0][_0x2d2849(0x113)]=!0x0),_0x1d8d57;}class _0x477fa9 extends _0x146bad[_0x195815(0x25a)]{constructor(){const _0x12241e=_0x195815;super(...arguments),_0x4e6809(this,'_collabCursorState$',new _0x4926fb[(_0x12241e(0x164))](null)),_0x4e6809(this,_0x12241e(0x288),this[_0x12241e(0x4e6)][_0x12241e(0x161)]());}[_0x195815(0x1fd)](_0xf63add){const _0xec70b9=_0x195815,{unitID:_0xdd8e07,memberID:_0x3d3016,textRanges:_0x20471a}=_0xf63add,_0x1b3325=_0x2ed549(_0x20471a),_0x31f26f={'unitID':_0xdd8e07,'memberID':_0x3d3016,'selection':_0x1b3325};this['_collabCursorState$'][_0xec70b9(0x225)](_0x31f26f);}}var _0x467821=Object['defineProperty'],_0x28d5bc=Object[_0x195815(0x49c)],_0x231d6d=(_0x5a60c6,_0x521af9,_0xe822c3,_0x1ee0e7)=>{const _0x33185d=_0x195815;for(var _0x4dad=_0x1ee0e7>0x1?void 0x0:_0x1ee0e7?_0x28d5bc(_0x521af9,_0xe822c3):_0x521af9,_0x59b615=_0x5a60c6[_0x33185d(0x249)]-0x1,_0x725431;_0x59b615>=0x0;_0x59b615--)(_0x725431=_0x5a60c6[_0x59b615])&&(_0x4dad=(_0x1ee0e7?_0x725431(_0x521af9,_0xe822c3,_0x4dad):_0x725431(_0x4dad))||_0x4dad);return _0x1ee0e7&&_0x4dad&&_0x467821(_0x521af9,_0xe822c3,_0x4dad),_0x4dad;},_0x5a8618=(_0x359c3d,_0x297fa1)=>(_0x31896f,_0x47db8a)=>_0x297fa1(_0x31896f,_0x47db8a,_0x359c3d);let _0x54f7a1=class{constructor(_0x456585,_0x13d9d2){const _0x18eff7=_0x195815;this[_0x18eff7(0x3bf)]=_0x456585,this[_0x18eff7(0x172)]=_0x13d9d2;}[_0x195815(0x374)](_0x21f584){const _0x4e072c=_0x195815;var _0xcf7954;const _0x23a85e=this[_0x4e072c(0x3bf)][_0x4e072c(0x499)](_0x2d7433[_0x4e072c(0x363)]),_0x32499d=(_0xcf7954=_0x23a85e[_0x4e072c(0x154)]())!=null?_0xcf7954:[];if(_0x32499d[_0x4e072c(0x249)]===0x0)return;const _0x21fddc=[{'id':_0x4e072c(0x12a),'params':{'unitId':_0x21f584['unitID'],'actions':null,'textRanges':_0x32499d}}],_0x8ea245=this[_0x4e072c(0x172)][_0x4e072c(0x15c)](_0x21f584,_0x21fddc);if(!_0x5e3529[_0x4e072c(0x48f)](_0x8ea245))throw _0x8ea245[_0x4e072c(0x4c4)];const _0x3504be=_0x8ea245[_0x4e072c(0x246)][0x0][_0x4e072c(0x24f)][_0x4e072c(0x2d1)];Array[_0x4e072c(0x44d)](_0x3504be)&&_0x3504be[_0x4e072c(0x249)]&&_0x23a85e[_0x4e072c(0x4b7)](_0x3504be,!0x1);}};_0x54f7a1=_0x231d6d([_0x5a8618(0x0,_0x146bad[_0x195815(0x49b)](_0x146bad[_0x195815(0x3de)])),_0x5a8618(0x1,_0x5e3529[_0x195815(0x3d3)])],_0x54f7a1);const _0x8901ff=new Set([_0x36eda5[_0x195815(0x148)]['id']]);function _0x3bb28c(_0x46098f,_0x59b24f,_0x2fc2fe,_0x36324e,_0xda0e70){const _0xad5d2e=_0x195815;var _0x2642df,_0x3674a7,_0x39782b,_0x25d688;const _0x1201e5=[];for(const _0x36a946 of _0x46098f)if(_0x8901ff[_0xad5d2e(0xef)](_0x36a946['id'])){if(_0x1201e5['length']>0x0)break;_0x1201e5[_0xad5d2e(0x4ce)](_0x36a946);break;}else _0x1201e5[_0xad5d2e(0x4ce)](_0x36a946);const _0x1edfa6=(_0x3674a7=(_0x2642df=_0xda0e70['getCurrentUser']())==null?void 0x0:_0x2642df[_0xad5d2e(0x23b)])!=null?_0x3674a7:'unknown',_0x22cf33=(_0x25d688=(_0x39782b=_0xda0e70['getCurrentUser']())==null?void 0x0:_0x39782b[_0xad5d2e(0x40f)])!=null?_0x25d688:_0xad5d2e(0x380);return{'changeset':{'unitID':_0x59b24f,'type':_0x5e3529[_0xad5d2e(0x4dd)](_0x2fc2fe[_0xad5d2e(0x31c)](_0x59b24f)),'baseRev':_0x36324e[_0xad5d2e(0x32f)](_0x59b24f),'revision':0x0,'userID':_0x1edfa6,'memberID':_0x22cf33,'mutations':_0x1201e5},'pendingMutations':_0x46098f['slice'](_0x1201e5[_0xad5d2e(0x249)])};}function _0x1f021f(_0xb77a31,_0x537417,_0x5a19e9,_0x2c97be,_0x55792e){const _0x1d2599=_0x195815;var _0x1128f2,_0x5e629f,_0x500193,_0x5a4e36;const _0x1c864f=[_0xb77a31['reduce']((_0x1e5f62,_0x210a40)=>{const _0x50c4f2=_0x5cc9;var _0x3ecf3a;const {id:_0x430952}=_0x1e5f62,{id:_0x5e5596,type:_0x4f94cf}=_0x210a40,_0x357a53=(_0x3ecf3a=_0x1e5f62[_0x50c4f2(0x24f)])!=null?_0x3ecf3a:{'actions':null},_0x51fb84=_0x210a40[_0x50c4f2(0x24f)];if(_0x430952&&_0x430952!==_0x5e5596)throw new Error(_0x50c4f2(0x401)+_0x430952+_0x50c4f2(0x416)+_0x5e5596+'.');return{..._0x1e5f62,'id':_0x5e5596,'type':_0x4f94cf,'params':{'unitId':_0x51fb84[_0x50c4f2(0x494)],'textRanges':_0x51fb84[_0x50c4f2(0x2d1)],'actions':_0x146bad[_0x50c4f2(0x283)]['compose'](_0x357a53['actions'],_0x51fb84[_0x50c4f2(0x438)])}};},{})],_0x8f18cc=(_0x5e629f=(_0x1128f2=_0x55792e[_0x1d2599(0x28d)]())==null?void 0x0:_0x1128f2[_0x1d2599(0x23b)])!=null?_0x5e629f:_0x1d2599(0x380),_0x3c038a=(_0x5a4e36=(_0x500193=_0x55792e[_0x1d2599(0x28d)]())==null?void 0x0:_0x500193[_0x1d2599(0x40f)])!=null?_0x5a4e36:_0x1d2599(0x380);return{'changeset':{'unitID':_0x537417,'type':_0x5e3529[_0x1d2599(0x4dd)](_0x5a19e9['getUnitType'](_0x537417)),'baseRev':_0x2c97be[_0x1d2599(0x32f)](_0x537417),'revision':0x0,'userID':_0x8f18cc,'memberID':_0x3c038a,'mutations':_0x1c864f},'pendingMutations':[]};}const _0x203117={'id':_0x36eda5[_0x195815(0x4d1)]['id'],'type':_0x146bad[_0x195815(0xde)]['MUTATION'],'params':{}};var _0x1e9a13=Object['defineProperty'],_0x3cafdd=Object[_0x195815(0x49c)],_0x3fed40=(_0x10b153,_0x4069a1,_0xf90f30,_0x5978c8)=>{const _0x2f2b70=_0x195815;for(var _0x5280fb=_0x5978c8>0x1?void 0x0:_0x5978c8?_0x3cafdd(_0x4069a1,_0xf90f30):_0x4069a1,_0x51ad15=_0x10b153[_0x2f2b70(0x249)]-0x1,_0x9276e8;_0x51ad15>=0x0;_0x51ad15--)(_0x9276e8=_0x10b153[_0x51ad15])&&(_0x5280fb=(_0x5978c8?_0x9276e8(_0x4069a1,_0xf90f30,_0x5280fb):_0x9276e8(_0x5280fb))||_0x5280fb);return _0x5978c8&&_0x5280fb&&_0x1e9a13(_0x4069a1,_0xf90f30,_0x5280fb),_0x5280fb;},_0x4cd88b=(_0xaed37c,_0x5d3ab7)=>(_0x440875,_0x511d72)=>_0x5d3ab7(_0x440875,_0x511d72,_0xaed37c),_0x458b2a=(_0x39a343=>(_0x39a343[_0x195815(0x357)]=_0x195815(0x245),_0x39a343[_0x195815(0x26f)]=_0x195815(0x4df),_0x39a343[_0x195815(0x342)]=_0x195815(0x391),_0x39a343['AWAITING']=_0x195815(0x4c3),_0x39a343[_0x195815(0x272)]=_0x195815(0x327),_0x39a343['FETCH_MISS']=_0x195815(0x439),_0x39a343['CONFLICT']='conflict',_0x39a343['OFFLINE']=_0x195815(0x448),_0x39a343))(_0x458b2a||{});class _0x4eea31{constructor(_0x45fdcc,_0x32ab80,_0x23aaf1,_0x2377f4,_0x20db1c,_0x55ca53,_0xe2f987,_0x3f2ca2,_0x2ba4b5){const _0x5d5017=_0x195815;_0x4e6809(this,'_awaitingChangeset',null),_0x4e6809(this,_0x5d5017(0xd8),[]),(this[_0x5d5017(0x2f7)]=_0x45fdcc,this[_0x5d5017(0x3f9)]=_0x32ab80,this['_handler']=_0x20db1c,this['_commandService']=_0x55ca53,this['_undoRedoService']=_0xe2f987,this[_0x5d5017(0x10b)]=_0x3f2ca2,this[_0x5d5017(0x46c)]=_0x2ba4b5,this[_0x5d5017(0x312)]=_0x23aaf1,this['_pendingMutations']=_0x2377f4);}[_0x195815(0x233)](_0x4a62b3){const _0x5c7265=_0x195815,_0x9b374d=this['_revisionService']['getCurrentRevOfUnit'](this[_0x5c7265(0x2f7)]);return _0x4a62b3['revision']>_0x9b374d+0x1?(this[_0x5c7265(0x383)][_0x5c7265(0x13f)]({'from':_0x9b374d,'to':_0x4a62b3[_0x5c7265(0x3e8)]-0x1}),!0x0):!0x1;}[_0x195815(0x16a)](_0x20192c){const _0x36723d=_0x195815;this[_0x36723d(0x3a0)]['transformUndoRedo'](this[_0x36723d(0x2f7)],_0x20192c);}[_0x195815(0x3a3)](_0x3a01ff){const _0x30b659=_0x195815;var _0x24f2ed,_0x58fd64;(_0x58fd64=(_0x24f2ed=this[_0x30b659(0x383)])['onTransformSelections'])==null||_0x58fd64['call'](_0x24f2ed,_0x3a01ff);}[_0x195815(0x490)](_0x55d532){const _0x58b4d2=_0x195815;var _0x2efac3,_0x39eef2;return(_0x39eef2=(_0x2efac3=this['_handler'])[_0x58b4d2(0x3c3)])==null?void 0x0:_0x39eef2['call'](_0x2efac3,_0x55d532);}[_0x195815(0x2fc)](_0x117a1c){const _0x4d1e8d=_0x195815;var _0x50ffc3,_0x49aa9b,_0x4c4a96;return(_0x4c4a96=(_0x49aa9b=(_0x50ffc3=this['_handler'])[_0x4d1e8d(0x4c1)])==null?void 0x0:_0x49aa9b['call'](_0x50ffc3,_0x117a1c))!=null?_0x4c4a96:_0x117a1c;}['_syncEditingCollabCursor'](_0x1a3ab0){const _0x2f32a0=_0x195815;var _0x3251d9,_0x4598a3;if(this['type']===_0x14e27b[_0x2f32a0(0x262)]){const {unitID:_0x570e1e,mutations:_0x40ad92,memberID:_0x16f9f1}=_0x1a3ab0,_0x323148=_0x40ad92[0x0][_0x2f32a0(0x24f)]['textRanges'];Array[_0x2f32a0(0x44d)](_0x323148)&&_0x323148[_0x2f32a0(0x249)]>0x0&&((_0x4598a3=(_0x3251d9=this[_0x2f32a0(0x383)])['onSyncEditingCollabCursor'])==null||_0x4598a3[_0x2f32a0(0x230)](_0x3251d9,{'unitID':_0x570e1e,'memberID':_0x16f9f1,'textRanges':_0x323148}));}}[_0x195815(0x453)](){const _0x413fc8=_0x195815;this[_0x413fc8(0x46c)][_0x413fc8(0x4ed)](this[_0x413fc8(0x2f7)],this[_0x413fc8(0x3f9)],this[_0x413fc8(0x312)],this[_0x413fc8(0xd8)]);}[_0x195815(0x1df)](){const _0x25fdfa=_0x195815;return this[_0x25fdfa(0x10b)][_0x25fdfa(0x32f)](this['unitID']);}[_0x195815(0x1f3)](){const _0x38c1dc=_0x195815;this[_0x38c1dc(0x10b)][_0x38c1dc(0x373)](this[_0x38c1dc(0x2f7)]);}['_executeRemoteChangeset'](_0x5eb295){const _0x4f0eae=_0x195815;var _0x53bd6a;const _0x46fec9=this['_transformRemoteChangesetByIMECache'](_0x5eb295),_0x3c9e58=_0x146bad[_0x4f0eae(0x3cf)](_0x46fec9[_0x4f0eae(0x44e)],this[_0x4f0eae(0x193)],{'fromCollab':!0x0});if(!_0x3c9e58[_0x4f0eae(0x30e)])throw _0x3c9e58[_0x4f0eae(0x4c4)]instanceof Error?_0x3c9e58[_0x4f0eae(0x4c4)]:new Error((_0x53bd6a=_0x3c9e58[_0x4f0eae(0x4c4)])!=null?_0x53bd6a:_0x4f0eae(0x346));this[_0x4f0eae(0x490)](_0x46fec9),this[_0x4f0eae(0x16a)](_0x5eb295),this['_transformSelections'](_0x46fec9),this['_syncEditingCollabCursor'](_0x46fec9),this[_0x4f0eae(0x1f3)]();}}let _0x1e99c3=class extends _0x4eea31{constructor(_0x1f19c6,_0x24e694,_0x4ffd21,_0x33d72b,_0x30c3ec,_0x1b8e21,_0x12f91c,_0x2a81c9,_0x43d61a,_0x5d6658){const _0x35218e=_0x195815;super(_0x1f19c6,_0x24e694,null,[],_0x4ffd21,_0x2a81c9,_0x12f91c,_0x33d72b,_0x30c3ec),_0x4e6809(this,'status',_0x35218e(0x4df)),(this[_0x35218e(0x3bf)]=_0x1b8e21,this[_0x35218e(0x443)]=_0x43d61a,this[_0x35218e(0x172)]=_0x5d6658);}['appendMutation'](_0x15c8db){const _0x418835=_0x195815,_0x4f5727=this[_0x418835(0x3bf)][_0x418835(0x26e)](_0xba9abf,this['unitID'],this['type'],[_0x15c8db],this[_0x418835(0x383)]);return _0x4f5727[_0x418835(0x2c4)](),_0x4f5727[_0x418835(0x453)](),_0x4f5727;}[_0x195815(0x4a5)](_0x463aa7){const _0x5d4de1=_0x195815;if(this[_0x5d4de1(0x233)](_0x463aa7))return this[_0x5d4de1(0x3bf)][_0x5d4de1(0x26e)](_0x334624,this['unitID'],this[_0x5d4de1(0x3f9)],null,[],null,[_0x463aa7],this[_0x5d4de1(0x383)]);try{const _0x12b774=this[_0x5d4de1(0x172)][_0x5d4de1(0x15c)](_0x463aa7,[_0x203117]);if(_0x5e3529['isTransformMutationsWithChangesetSuccess'](_0x12b774)){const {c1Prime:_0x338cfd}=_0x12b774;return this[_0x5d4de1(0x16d)](_0x338cfd),this;}throw _0x12b774[_0x5d4de1(0x4c4)];}catch(_0x5d630c){return this[_0x5d4de1(0x443)][_0x5d4de1(0x4c4)](_0x5d630c),this['_onConflict'](!0x1);}}[_0x195815(0x34d)](_0x221738){const _0x3571e1=_0x195815;return this['_injector']['createInstance'](_0x38316c,this[_0x3571e1(0x2f7)],this[_0x3571e1(0x3f9)],null,[],this['_handler'],_0x221738);}[_0x195815(0x321)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x195815(0x136)](){const _0x25c56f=_0x195815;throw new Error(_0x25c56f(0x1c7));}[_0x195815(0x1f2)](){const _0x28d1e0=_0x195815;return this[_0x28d1e0(0x3bf)][_0x28d1e0(0x26e)](_0x503b4b,this[_0x28d1e0(0x2f7)],this[_0x28d1e0(0x3f9)],null,[],this[_0x28d1e0(0x383)]);}[_0x195815(0x105)](){return this;}[_0x195815(0x414)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x195815(0x1a1)](){const _0x39436a=_0x195815,_0x3ce1bc=this['_revisionService'][_0x39436a(0x32f)](this[_0x39436a(0x2f7)]);return this[_0x39436a(0x383)][_0x39436a(0x13f)]({'from':_0x3ce1bc,'to':0x0}),this['_injector'][_0x39436a(0x26e)](_0x334624,this[_0x39436a(0x2f7)],this[_0x39436a(0x3f9)],null,[],null,[],this[_0x39436a(0x383)]);}};_0x1e99c3=_0x3fed40([_0x4cd88b(0x3,_0x146bad[_0x195815(0x49b)](_0x5e3529[_0x195815(0x22d)])),_0x4cd88b(0x4,_0x146bad['Inject'](_0x43f096[_0x195815(0x314)])),_0x4cd88b(0x5,_0x146bad[_0x195815(0x49b)](_0x146bad[_0x195815(0x3de)])),_0x4cd88b(0x6,_0x146bad[_0x195815(0x27e)]),_0x4cd88b(0x7,_0x146bad[_0x195815(0xfc)]),_0x4cd88b(0x8,_0x146bad[_0x195815(0x40d)]),_0x4cd88b(0x9,_0x5e3529['ITransformService'])],_0x1e99c3);let _0xba9abf=class extends _0x4eea31{constructor(_0x2096dd,_0x412d3d,_0x1d1d76,_0x4cac1f,_0x3fb032,_0x57e111,_0x3e18c5,_0x162d85,_0x3803c5,_0xa26bec,_0x39b40a,_0x45bc07,_0xfdee24,_0x48526f){const _0x116480=_0x195815;super(_0x2096dd,_0x412d3d,null,_0x1d1d76,_0x4cac1f,_0xa26bec,_0x48526f,_0x57e111,_0x3e18c5),_0x4e6809(this,_0x116480(0x497),'pending'),_0x4e6809(this,'_scheduleTimestamp',null),_0x4e6809(this,'_sendingTimer',null),(this[_0x116480(0x3bf)]=_0x3fb032,this[_0x116480(0x4f7)]=_0x162d85,this[_0x116480(0x443)]=_0x3803c5,this[_0x116480(0x11f)]=_0x39b40a,this['_transformService']=_0x45bc07,this[_0x116480(0x151)]=_0xfdee24);}[_0x195815(0x220)](_0x320ec8){const _0x31bbf9=_0x195815;return this[_0x31bbf9(0xd8)][_0x31bbf9(0x4ce)](_0x320ec8),this[_0x31bbf9(0x453)](),this;}[_0x195815(0x4a5)](_0x5c3656){const _0x5ae0e4=_0x195815;if(this[_0x5ae0e4(0x233)](_0x5c3656))return this[_0x5ae0e4(0x24a)](),this['_injector']['createInstance'](_0x334624,this[_0x5ae0e4(0x2f7)],this[_0x5ae0e4(0x3f9)],null,this[_0x5ae0e4(0xd8)],null,[_0x5c3656],this[_0x5ae0e4(0x383)]);try{const _0x57fefe=this['_transformService']['transformMutationsWithChangeset'](_0x5c3656,this[_0x5ae0e4(0xd8)]);if(_0x5e3529['isTransformMutationsWithChangesetSuccess'](_0x57fefe)){const {c1Prime:_0x56784e,m2Prime:_0x1d5da9}=_0x57fefe;this[_0x5ae0e4(0x16d)](_0x56784e);const _0x2761f6=this['_injector'][_0x5ae0e4(0x26e)](_0xba9abf,this['unitID'],this[_0x5ae0e4(0x3f9)],_0x1d5da9,this[_0x5ae0e4(0x383)]);return this['_clearScheduledTask'](),_0x2761f6[_0x5ae0e4(0x2c4)](this['_scheduleTimestamp']?Math['max'](0x0,new Date()['getTime']()-this[_0x5ae0e4(0x195)]):this[_0x5ae0e4(0x46e)]()),_0x2761f6;}throw _0x57fefe[_0x5ae0e4(0x4c4)];}catch(_0xb6c468){return this[_0x5ae0e4(0x443)][_0x5ae0e4(0x4c4)](_0xb6c468),this['_onConflict'](!0x1);}}[_0x195815(0x321)](){const _0x1c35bb=_0x195815;throw new Error(_0x1c35bb(0x398));}[_0x195815(0x136)](){const _0xcfcb09=_0x195815;throw new Error(_0xcfcb09(0x360));}[_0x195815(0x1f2)](){const _0x7fbd57=_0x195815;return this[_0x7fbd57(0x24a)](),this[_0x7fbd57(0x3bf)]['createInstance'](_0x503b4b,this[_0x7fbd57(0x2f7)],this[_0x7fbd57(0x3f9)],null,this['_pendingMutations'],this[_0x7fbd57(0x383)]);}[_0x195815(0x105)](){return this;}[_0x195815(0x2c4)](_0x22207b){const _0x705d0=_0x195815,_0x2aee5e=_0x22207b!=null?_0x22207b:this['_getSendChangesetTimeout']();this[_0x705d0(0x195)]=new Date()[_0x705d0(0x2cc)](),this['_sendingTimer']=window[_0x705d0(0x223)](()=>{const _0x521d32=_0x705d0;this['_clearScheduledTask']();let _0x424700=null;switch(this['type']){case _0x14e27b[_0x521d32(0x496)]:{_0x424700=_0x3bb28c(this['_pendingMutations'],this['unitID'],this[_0x521d32(0x151)],this['_revisionService'],this[_0x521d32(0x4f7)]);break;}case _0x14e27b[_0x521d32(0x262)]:{this['_pendingMutations']['every'](_0x5b1054=>_0x5b1054['id']===_0x2d7433[_0x521d32(0x2fa)]['id'])?_0x424700=_0x1f021f(this['_pendingMutations'],this[_0x521d32(0x2f7)],this[_0x521d32(0x151)],this[_0x521d32(0x10b)],this['_memberService']):_0x424700=_0x3bb28c(this[_0x521d32(0xd8)],this[_0x521d32(0x2f7)],this[_0x521d32(0x151)],this[_0x521d32(0x10b)],this['_memberService']);break;}default:throw new Error(_0x521d32(0x4a4)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x203ce4,pendingMutations:_0x64281d}=_0x424700;this[_0x521d32(0x383)][_0x521d32(0x376)](_0x203ce4);const _0x159205=_0x64281d[_0x521d32(0x249)]?this['_injector'][_0x521d32(0x26e)](_0x5b55d4,this['unitID'],this[_0x521d32(0x3f9)],_0x203ce4,_0x64281d,this[_0x521d32(0x383)]):this['_injector'][_0x521d32(0x26e)](_0x14a236,this['unitID'],this[_0x521d32(0x3f9)],_0x203ce4,this[_0x521d32(0x383)]);_0x159205['_updateLocalCache'](),this[_0x521d32(0x383)]['onStateChange'](this,_0x159205);},_0x2aee5e);}['_getSendChangesetTimeout'](){const _0x1cebb1=_0x195815;var _0x1fe3bc;const _0x5edb13=this['_configService'][_0x1cebb1(0x43e)](_0x2cb813);return(_0x1fe3bc=_0x5edb13==null?void 0x0:_0x5edb13[_0x1cebb1(0x2b4)])!=null?_0x1fe3bc:0x7d0;}[_0x195815(0x414)](){const _0xdce5c0=_0x195815;throw new Error(_0xdce5c0(0xe0));}[_0x195815(0x24a)](){const _0x3f4ff8=_0x195815;this['_sendingTimer']!=null&&(clearTimeout(this[_0x3f4ff8(0x33e)]),this[_0x3f4ff8(0x33e)]=null);}['_onConflict'](_0x51aac8){const _0xd3cd15=_0x195815;return this[_0xd3cd15(0x24a)](),this[_0xd3cd15(0x3bf)][_0xd3cd15(0x26e)](_0x38316c,this['unitID'],this[_0xd3cd15(0x3f9)],null,this[_0xd3cd15(0xd8)],this[_0xd3cd15(0x383)],_0x51aac8);}};_0xba9abf=_0x3fed40([_0x4cd88b(0x4,_0x146bad[_0x195815(0x49b)](_0x146bad[_0x195815(0x3de)])),_0x4cd88b(0x5,_0x146bad[_0x195815(0x49b)](_0x5e3529[_0x195815(0x22d)])),_0x4cd88b(0x6,_0x146bad['Inject'](_0x43f096[_0x195815(0x314)])),_0x4cd88b(0x7,_0x146bad['Inject'](_0x31c535)),_0x4cd88b(0x8,_0x146bad[_0x195815(0x40d)]),_0x4cd88b(0x9,_0x146bad[_0x195815(0xfc)]),_0x4cd88b(0xa,_0x146bad[_0x195815(0x339)]),_0x4cd88b(0xb,_0x5e3529['ITransformService']),_0x4cd88b(0xc,_0x146bad[_0x195815(0x40e)]),_0x4cd88b(0xd,_0x146bad[_0x195815(0x27e)])],_0xba9abf);let _0x14a236=class extends _0x4eea31{constructor(_0x51de68,_0x36b7cd,_0x1cd3a5,_0x400429,_0xc5548a,_0x2dcffa,_0x35c0a9,_0x4082d0,_0x45797a,_0x4f1955,_0x594604){const _0x5dcbfd=_0x195815;super(_0x51de68,_0x36b7cd,_0x1cd3a5,[],_0x400429,_0x4082d0,_0x594604,_0x2dcffa,_0x35c0a9),_0x4e6809(this,'status',_0x5dcbfd(0x4c3)),(this[_0x5dcbfd(0x3bf)]=_0xc5548a,this['_logService']=_0x45797a,this[_0x5dcbfd(0x172)]=_0x4f1955);}[_0x195815(0x220)](_0x2d2508){const _0x7678d9=_0x195815,_0x2bd41b=this[_0x7678d9(0x3bf)]['createInstance'](_0x5b55d4,this[_0x7678d9(0x2f7)],this['type'],this[_0x7678d9(0x312)],[_0x2d2508],this['_handler']);return _0x2bd41b[_0x7678d9(0x453)](),_0x2bd41b;}[_0x195815(0x4a5)](_0x520925){const _0x446261=_0x195815;if(this[_0x446261(0x233)](_0x520925))return this[_0x446261(0x3bf)]['createInstance'](_0x334624,this[_0x446261(0x2f7)],this[_0x446261(0x3f9)],this[_0x446261(0x312)],[],null,[_0x520925],this['_handler']);try{const _0xbbf2d0=this[_0x446261(0x172)]['transformChangesets']([_0x520925],[this[_0x446261(0x312)]],!0x1);if(_0x5e3529['isTransformChangesetsSuccess'](_0xbbf2d0)){const {c1Prime:_0x36a40e,c2Prime:_0x1d3ff5}=_0xbbf2d0;this['_executeRemoteChangeset'](_0x36a40e[0x0]),_0x1d3ff5[0x0][_0x446261(0x2db)]=this[_0x446261(0x1df)]();const _0x545737=this['_injector'][_0x446261(0x26e)](_0x14a236,this[_0x446261(0x2f7)],this['type'],_0x1d3ff5[0x0],this[_0x446261(0x383)]);return _0x545737[_0x446261(0x453)](),_0x545737;}return this[_0x446261(0x34d)](!0x1);}catch(_0x17acbb){return this[_0x446261(0x443)][_0x446261(0x4c4)](_0x17acbb),this[_0x446261(0x34d)](!0x1);}}[_0x195815(0x321)](_0x3b4859){const _0x4c4de5=_0x195815,_0x146f3a=this[_0x4c4de5(0x10b)][_0x4c4de5(0x32f)](this[_0x4c4de5(0x2f7)]);if(_0x3b4859[_0x4c4de5(0x3e8)]<_0x146f3a-0x1)return this;if(this[_0x4c4de5(0x233)](_0x3b4859))return this[_0x4c4de5(0x3bf)][_0x4c4de5(0x26e)](_0x334624,this[_0x4c4de5(0x2f7)],this[_0x4c4de5(0x3f9)],null,[],this[_0x4c4de5(0x312)],[],this['_handler']);this[_0x4c4de5(0x1f3)]();const _0x305db4=this[_0x4c4de5(0x3bf)]['createInstance'](_0x1e99c3,this[_0x4c4de5(0x2f7)],this[_0x4c4de5(0x3f9)],this[_0x4c4de5(0x383)]);return _0x305db4[_0x4c4de5(0x453)](),_0x305db4;}['onRemoteRej'](_0x457147){const _0x1f569b=_0x195815;return this['_onConflict'](!!(_0x457147!=null&&_0x457147[_0x1f569b(0x1e4)]));}[_0x195815(0x1f2)](){const _0x58aa5a=_0x195815;return this[_0x58aa5a(0x3bf)][_0x58aa5a(0x26e)](_0x503b4b,this[_0x58aa5a(0x2f7)],this[_0x58aa5a(0x3f9)],this[_0x58aa5a(0x312)],[],this['_handler']);}[_0x195815(0x105)](){return this;}[_0x195815(0x414)](){const _0x3e051a=_0x195815;this['_handler'][_0x3e051a(0x376)](this['_awaitingChangeset']);}[_0x195815(0x34d)](_0x394dbb){const _0x439e76=_0x195815;return this[_0x439e76(0x3bf)][_0x439e76(0x26e)](_0x38316c,this[_0x439e76(0x2f7)],this[_0x439e76(0x3f9)],this[_0x439e76(0x312)],[],this['_handler'],_0x394dbb);}};_0x14a236=_0x3fed40([_0x4cd88b(0x4,_0x146bad[_0x195815(0x49b)](_0x146bad[_0x195815(0x3de)])),_0x4cd88b(0x5,_0x146bad[_0x195815(0x49b)](_0x5e3529['RevisionService'])),_0x4cd88b(0x6,_0x146bad[_0x195815(0x49b)](_0x43f096[_0x195815(0x314)])),_0x4cd88b(0x7,_0x146bad[_0x195815(0xfc)]),_0x4cd88b(0x8,_0x146bad[_0x195815(0x40d)]),_0x4cd88b(0x9,_0x5e3529[_0x195815(0x3d3)]),_0x4cd88b(0xa,_0x146bad[_0x195815(0x27e)])],_0x14a236);let _0x5b55d4=class extends _0x4eea31{constructor(_0x132f12,_0xd77035,_0x4ee84e,_0x2caf6e,_0x581c41,_0xa5850,_0x1f6d8b,_0x3f0da4,_0x59507c,_0x1a3cfb,_0x1d9f03,_0xf34edd){const _0x2d4cf8=_0x195815;super(_0x132f12,_0xd77035,_0x4ee84e,_0x2caf6e,_0x581c41,_0x59507c,_0xf34edd,_0x1f6d8b,_0x3f0da4),_0x4e6809(this,_0x2d4cf8(0x497),_0x2d4cf8(0x327)),(this[_0x2d4cf8(0x3bf)]=_0xa5850,this['_logService']=_0x1a3cfb,this['_transformService']=_0x1d9f03);}[_0x195815(0x220)](_0x5d3765){const _0x1d2bfb=_0x195815;return this[_0x1d2bfb(0xd8)][_0x1d2bfb(0x4ce)](_0x5d3765),this;}[_0x195815(0x4a5)](_0x420137){const _0x590aa5=_0x195815;if(this[_0x590aa5(0x233)](_0x420137))return this[_0x590aa5(0x3bf)][_0x590aa5(0x26e)](_0x334624,this[_0x590aa5(0x2f7)],this[_0x590aa5(0x3f9)],this[_0x590aa5(0x312)],this['_pendingMutations'],null,[_0x420137],this[_0x590aa5(0x383)]);try{const _0x5e3667=this[_0x590aa5(0x172)]['transformChangesets']([_0x420137],[this[_0x590aa5(0x312)]],!0x1);if(_0x5e3529[_0x590aa5(0x42e)](_0x5e3667)){const {c1Prime:_0x1b35e5,c2Prime:_0x49b47d}=_0x5e3667,_0x11e21b=this[_0x590aa5(0x172)][_0x590aa5(0x15c)](_0x1b35e5[0x0],this[_0x590aa5(0xd8)]);if(_0x5e3529[_0x590aa5(0x48f)](_0x11e21b)){const {c1Prime:_0x1fbd10,m2Prime:_0x675152}=_0x11e21b;return this[_0x590aa5(0x16d)](_0x1fbd10),_0x49b47d[0x0][_0x590aa5(0x2db)]=this['_getCurrentRevision'](),this[_0x590aa5(0x3bf)][_0x590aa5(0x26e)](_0x5b55d4,this[_0x590aa5(0x2f7)],this[_0x590aa5(0x3f9)],_0x49b47d[0x0],_0x675152,this[_0x590aa5(0x383)]);}throw _0x11e21b[_0x590aa5(0x4c4)];}throw _0x5e3667[_0x590aa5(0x4c4)];}catch(_0x1c86f9){return this['_logService'][_0x590aa5(0x4c4)](_0x1c86f9),this['_onConflict'](!0x1);}}[_0x195815(0x321)](_0xd21e11){const _0x4bd298=_0x195815;if(this[_0x4bd298(0x233)](_0xd21e11))return this[_0x4bd298(0x3bf)]['createInstance'](_0x334624,this[_0x4bd298(0x2f7)],this[_0x4bd298(0x3f9)],null,this[_0x4bd298(0xd8)],this[_0x4bd298(0x312)],[],this['_handler']);this[_0x4bd298(0x1f3)]();const _0x3d4169=this[_0x4bd298(0x3bf)][_0x4bd298(0x26e)](_0xba9abf,this[_0x4bd298(0x2f7)],this[_0x4bd298(0x3f9)],this[_0x4bd298(0xd8)],this[_0x4bd298(0x383)]);return _0x3d4169[_0x4bd298(0x2c4)](),_0x3d4169[_0x4bd298(0x453)](),_0x3d4169;}[_0x195815(0x136)](_0x573db3){const _0x28b214=_0x195815;return this[_0x28b214(0x34d)](!!(_0x573db3!=null&&_0x573db3[_0x28b214(0x1e4)]));}['toggleOffline'](){const _0x5b8fdb=_0x195815;return this[_0x5b8fdb(0x3bf)][_0x5b8fdb(0x26e)](_0x503b4b,this[_0x5b8fdb(0x2f7)],this[_0x5b8fdb(0x3f9)],this[_0x5b8fdb(0x312)],this[_0x5b8fdb(0xd8)],this['_handler']);}[_0x195815(0x105)](){return this;}[_0x195815(0x414)](){const _0xe7a1f8=_0x195815;this[_0xe7a1f8(0x383)][_0xe7a1f8(0x376)](this[_0xe7a1f8(0x312)]);}[_0x195815(0x34d)](_0x10c6de){const _0xa2300c=_0x195815;return this[_0xa2300c(0x3bf)][_0xa2300c(0x26e)](_0x38316c,this[_0xa2300c(0x2f7)],this[_0xa2300c(0x3f9)],null,this['_pendingMutations'],this[_0xa2300c(0x383)],_0x10c6de);}};_0x5b55d4=_0x3fed40([_0x4cd88b(0x5,_0x146bad[_0x195815(0x49b)](_0x146bad['Injector'])),_0x4cd88b(0x6,_0x146bad[_0x195815(0x49b)](_0x5e3529['RevisionService'])),_0x4cd88b(0x7,_0x146bad['Inject'](_0x43f096[_0x195815(0x314)])),_0x4cd88b(0x8,_0x146bad[_0x195815(0xfc)]),_0x4cd88b(0x9,_0x146bad[_0x195815(0x40d)]),_0x4cd88b(0xa,_0x5e3529[_0x195815(0x3d3)]),_0x4cd88b(0xb,_0x146bad['IUndoRedoService'])],_0x5b55d4);let _0x38316c=class extends _0x4eea31{constructor(_0x3fdac9,_0x380aaa,_0x317eda,_0x405f2c,_0x5c976b,_0x5a4759=!0x1,_0x553d39,_0x4ceb6c,_0x140709,_0x2aa8d5,_0x59a13f,_0x193d75,_0x456f8e){const _0x42a797=_0x195815;super(_0x3fdac9,_0x380aaa,_0x317eda,_0x405f2c,_0x5c976b,_0x4ceb6c,_0x140709,_0x59a13f,_0x2aa8d5),_0x4e6809(this,_0x42a797(0x497),_0x42a797(0x14c)),(this[_0x42a797(0x323)]=_0x5a4759,this['_permissionService']=_0x553d39,this[_0x42a797(0x175)]=_0x193d75,this[_0x42a797(0x17f)]=_0x456f8e,this[_0x42a797(0x3e4)](),this[_0x42a797(0x1d7)](),this['_disableEditing']());}[_0x195815(0x220)](){return this;}['onRemoteChangeset'](){return this;}[_0x195815(0x321)](){return this;}[_0x195815(0x136)](){return this;}[_0x195815(0x1f2)](){return this;}[_0x195815(0x105)](){return this;}['resend'](){const _0x2039e3=_0x195815;throw new Error(_0x2039e3(0x3cd));}[_0x195815(0x1d7)](){const _0xca7efb=_0x195815;this['_localCacheService'][_0xca7efb(0x4ed)](this[_0xca7efb(0x2f7)],this[_0xca7efb(0x3f9)],null,[]);}['_showConflictNotification'](){const _0x1ca222=_0x195815;this['_isPermissionRej']?this['_notificationService'][_0x1ca222(0x1c6)]({'title':this['_localeService']['t'](_0x1ca222(0x3dd)),'content':this[_0x1ca222(0x175)]['t'](_0x1ca222(0x37f)),'type':_0x1ca222(0x4c4),'duration':0x0}):this[_0x1ca222(0x17f)][_0x1ca222(0x1c6)]({'title':this[_0x1ca222(0x175)]['t']('conflict.title'),'content':this[_0x1ca222(0x175)]['t'](_0x1ca222(0x1b2)),'type':_0x1ca222(0x4c4),'duration':0x0});}[_0x195815(0x11b)](){const _0x2a032d=_0x195815;this[_0x2a032d(0x336)]['updatePermissionPoint'](new _0x36eda5[(_0x2a032d(0x3c6))](this['unitID'])['id'],!0x1);}};_0x38316c=_0x3fed40([_0x4cd88b(0x6,_0x146bad[_0x195815(0x49b)](_0x146bad[_0x195815(0x4fa)])),_0x4cd88b(0x7,_0x146bad[_0x195815(0xfc)]),_0x4cd88b(0x8,_0x146bad[_0x195815(0x27e)]),_0x4cd88b(0x9,_0x146bad[_0x195815(0x49b)](_0x43f096['LocalCacheService'])),_0x4cd88b(0xa,_0x146bad[_0x195815(0x49b)](_0x5e3529['RevisionService'])),_0x4cd88b(0xb,_0x146bad['Inject'](_0x146bad[_0x195815(0x295)])),_0x4cd88b(0xc,_0x55f67a[_0x195815(0x43d)])],_0x38316c);let _0x503b4b=class extends _0x4eea31{constructor(_0x5a9a5d,_0x4ac5e0,_0x412df5,_0x3aa043,_0x1392b0,_0xfc33a2,_0x155aa7,_0x169f9c,_0x50ac91,_0x3d2e19){const _0x10e7e0=_0x195815;super(_0x5a9a5d,_0x4ac5e0,_0x412df5,_0x3aa043,_0x1392b0,_0x50ac91,_0x3d2e19,_0x155aa7,_0x169f9c),_0x4e6809(this,_0x10e7e0(0x497),_0x10e7e0(0x448)),this[_0x10e7e0(0x3bf)]=_0xfc33a2;}[_0x195815(0x220)](_0x5eee4d){const _0x6ab041=_0x195815;return this[_0x6ab041(0xd8)][_0x6ab041(0x4ce)](_0x5eee4d),this[_0x6ab041(0x453)](),this;}[_0x195815(0x4a5)](_0x2a33f1){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x195815(0x321)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x120b9a=_0x195815;throw new Error(_0x120b9a(0x492));}[_0x195815(0x1f2)](){return this;}[_0x195815(0x105)](){const _0x56e793=_0x195815,{_injector:_0x1ad85f,_pendingMutations:_0x175c6d,_awaitingChangeset:_0x59f3cd,unitID:_0x4760eb,_handler:_0x3d226c,type:_0x4c8dd8}=this,_0x595239=_0x27d217(_0x1ad85f,_0x4760eb,_0x4c8dd8,_0x59f3cd,_0x175c6d,_0x3d226c);return _0x595239 instanceof _0xba9abf?_0x595239[_0x56e793(0x2c4)]():(_0x595239 instanceof _0x5b55d4||_0x595239 instanceof _0x14a236)&&_0x595239[_0x56e793(0x414)](),_0x595239;}[_0x195815(0x414)](){const _0x545ef9=_0x195815;throw new Error(_0x545ef9(0x2af));}};_0x503b4b=_0x3fed40([_0x4cd88b(0x5,_0x146bad['Inject'](_0x146bad[_0x195815(0x3de)])),_0x4cd88b(0x6,_0x146bad['Inject'](_0x5e3529[_0x195815(0x22d)])),_0x4cd88b(0x7,_0x146bad[_0x195815(0x49b)](_0x43f096[_0x195815(0x314)])),_0x4cd88b(0x8,_0x146bad[_0x195815(0xfc)]),_0x4cd88b(0x9,_0x146bad[_0x195815(0x27e)])],_0x503b4b);let _0x334624=class extends _0x4eea31{constructor(_0x23644d,_0x3548e3,_0x2c8a43,_0x2303cf,_0xc1e9d,_0x49e09f,_0x368096,_0x3b3fed,_0x4f985d,_0x522c1f,_0x1a02cd,_0x562250,_0x2aa276,_0x4c63da){const _0x2aa06f=_0x195815;super(_0x23644d,_0x3548e3,_0x2c8a43,_0x2303cf,_0x368096,_0x562250,_0x2aa276,_0x4f985d,_0x522c1f),_0x4e6809(this,_0x2aa06f(0x497),_0x2aa06f(0x439)),(this[_0x2aa06f(0x33a)]=_0xc1e9d,this[_0x2aa06f(0x3ab)]=_0x49e09f,this[_0x2aa06f(0x3bf)]=_0x3b3fed,this['_logService']=_0x1a02cd,this['_transformService']=_0x4c63da);}[_0x195815(0x103)](_0x487adb){const _0x133b74=_0x195815;try{const _0x1c2bf4=[..._0x487adb,...this[_0x133b74(0x3ab)]],_0x58a54a=[this[_0x133b74(0x312)]||this[_0x133b74(0x33a)]][_0x133b74(0x289)](_0x3c7018=>!!_0x3c7018);let _0x8f39a,_0x327d31;if(_0x58a54a[_0x133b74(0x249)]){const _0x3bd2a4=this[_0x133b74(0x172)][_0x133b74(0x127)](_0x1c2bf4,_0x58a54a,!0x1);if(!_0x5e3529[_0x133b74(0x42e)](_0x3bd2a4))throw _0x3bd2a4[_0x133b74(0x4c4)];_0x8f39a=_0x3bd2a4[_0x133b74(0x477)],_0x327d31=_0x3bd2a4[_0x133b74(0x316)];}else _0x8f39a=_0x1c2bf4,_0x327d31=[];let _0x2fd904=this[_0x133b74(0xd8)];_0x8f39a['forEach'](_0x2bbc9d=>{const _0x29718f=_0x133b74;let _0x279883;if(_0x2fd904['length']){const _0x7a95a7=this[_0x29718f(0x172)][_0x29718f(0x15c)](_0x2bbc9d,_0x2fd904);if(!_0x5e3529[_0x29718f(0x48f)](_0x7a95a7))throw _0x7a95a7[_0x29718f(0x4c4)];_0x279883=_0x7a95a7[_0x29718f(0x477)],_0x2fd904=_0x7a95a7[_0x29718f(0x246)];}else _0x279883=_0x2bbc9d;this['_executeRemoteChangeset'](_0x279883);}),this[_0x133b74(0x33a)]&&this[_0x133b74(0x1f3)](),this[_0x133b74(0x312)]&&_0x327d31[_0x133b74(0x249)]&&(_0x327d31[0x0][_0x133b74(0x2db)]=this[_0x133b74(0x1df)]());let _0x2ce33f;if(this[_0x133b74(0x312)]&&_0x2fd904[_0x133b74(0x249)]!==0x0)_0x2ce33f=this['_injector'][_0x133b74(0x26e)](_0x5b55d4,this[_0x133b74(0x2f7)],this['type'],_0x327d31[0x0],_0x2fd904,this[_0x133b74(0x383)]);else{if(this[_0x133b74(0x312)]&&_0x2fd904[_0x133b74(0x249)]===0x0)_0x327d31[0x0][_0x133b74(0x2db)]=this[_0x133b74(0x1df)](),_0x2ce33f=this[_0x133b74(0x3bf)][_0x133b74(0x26e)](_0x14a236,this[_0x133b74(0x2f7)],this[_0x133b74(0x3f9)],_0x327d31[0x0],this[_0x133b74(0x383)]);else{if(_0x2fd904[_0x133b74(0x249)]!==0x0){const _0x3d039b=this[_0x133b74(0x3bf)][_0x133b74(0x26e)](_0xba9abf,this[_0x133b74(0x2f7)],this[_0x133b74(0x3f9)],_0x2fd904,this['_handler']);_0x3d039b[_0x133b74(0x2c4)](),_0x2ce33f=_0x3d039b;}else _0x2ce33f=this[_0x133b74(0x3bf)]['createInstance'](_0x1e99c3,this[_0x133b74(0x2f7)],this[_0x133b74(0x3f9)],this[_0x133b74(0x383)]);}}return _0x2ce33f[_0x133b74(0x453)](),_0x2ce33f;}catch(_0xbb919a){return this[_0x133b74(0x443)]['error']('[FetchMissState]',_0x133b74(0x276),_0xbb919a),this['_injector'][_0x133b74(0x26e)](_0x38316c,this[_0x133b74(0x2f7)],this['type'],this[_0x133b74(0x312)],this['_pendingMutations'],this[_0x133b74(0x383)],!0x1);}}[_0x195815(0x414)](){const _0x2eecfe=_0x195815;throw new Error(_0x2eecfe(0x163));}['appendMutation'](_0x1167c2){const _0x2bc015=_0x195815;return this[_0x2bc015(0xd8)][_0x2bc015(0x4ce)](_0x1167c2),this;}[_0x195815(0x4a5)](_0x182d14){const _0x5f5af0=_0x195815;return this[_0x5f5af0(0x3ab)][_0x5f5af0(0x4ce)](_0x182d14),this;}['onRemoteAck'](_0x74432){const _0x5a5ced=_0x195815;if(this[_0x5a5ced(0x312)])return this[_0x5a5ced(0x33a)]=this[_0x5a5ced(0x312)],this[_0x5a5ced(0x312)]=null,this;throw new Error(_0x5a5ced(0x201));}['onRemoteRej'](_0x34259e){const _0x2a4e46=_0x195815;return this[_0x2a4e46(0x34d)](!!(_0x34259e!=null&&_0x34259e[_0x2a4e46(0x1e4)]));}['toggleOffline'](){const _0x3054ad=_0x195815;return this['_injector'][_0x3054ad(0x26e)](_0x503b4b,this['unitID'],this[_0x3054ad(0x3f9)],this[_0x3054ad(0x312)],this[_0x3054ad(0xd8)],this[_0x3054ad(0x383)]);}[_0x195815(0x105)](){return this;}[_0x195815(0x34d)](_0x571741){const _0x1f9dd1=_0x195815;return this[_0x1f9dd1(0x3bf)][_0x1f9dd1(0x26e)](_0x38316c,this[_0x1f9dd1(0x2f7)],this[_0x1f9dd1(0x3f9)],this['_awaitingChangeset'],this[_0x1f9dd1(0xd8)],this[_0x1f9dd1(0x383)],_0x571741);}};_0x334624=_0x3fed40([_0x4cd88b(0x7,_0x146bad[_0x195815(0x49b)](_0x146bad[_0x195815(0x3de)])),_0x4cd88b(0x8,_0x146bad[_0x195815(0x49b)](_0x5e3529[_0x195815(0x22d)])),_0x4cd88b(0x9,_0x146bad[_0x195815(0x49b)](_0x43f096[_0x195815(0x314)])),_0x4cd88b(0xa,_0x146bad[_0x195815(0x40d)]),_0x4cd88b(0xb,_0x146bad[_0x195815(0xfc)]),_0x4cd88b(0xc,_0x146bad[_0x195815(0x27e)]),_0x4cd88b(0xd,_0x5e3529[_0x195815(0x3d3)])],_0x334624);function _0x27d217(_0x37fbb4,_0xab8342,_0x2a6e2c,_0x18761b,_0x588b97,_0x125f87){const _0x10ce0c=_0x195815;return _0x18761b&&_0x588b97[_0x10ce0c(0x249)]?_0x37fbb4[_0x10ce0c(0x26e)](_0x5b55d4,_0xab8342,_0x2a6e2c,_0x18761b,_0x588b97,_0x125f87):_0x18761b?_0x37fbb4[_0x10ce0c(0x26e)](_0x14a236,_0xab8342,_0x2a6e2c,_0x18761b,_0x125f87):_0x588b97[_0x10ce0c(0x249)]?_0x37fbb4[_0x10ce0c(0x26e)](_0xba9abf,_0xab8342,_0x2a6e2c,_0x588b97,_0x125f87):_0x37fbb4[_0x10ce0c(0x26e)](_0x1e99c3,_0xab8342,_0x2a6e2c,_0x125f87);}var _0x57af1d=Object[_0x195815(0x42d)],_0x13772e=Object[_0x195815(0x49c)],_0x2abb65=(_0x25103a,_0x2933e1,_0x4349d0,_0x3caa95)=>{const _0x587236=_0x195815;for(var _0x554a73=_0x3caa95>0x1?void 0x0:_0x3caa95?_0x13772e(_0x2933e1,_0x4349d0):_0x2933e1,_0x1df056=_0x25103a[_0x587236(0x249)]-0x1,_0x4bf993;_0x1df056>=0x0;_0x1df056--)(_0x4bf993=_0x25103a[_0x1df056])&&(_0x554a73=(_0x3caa95?_0x4bf993(_0x2933e1,_0x4349d0,_0x554a73):_0x4bf993(_0x554a73))||_0x554a73);return _0x3caa95&&_0x554a73&&_0x57af1d(_0x2933e1,_0x4349d0,_0x554a73),_0x554a73;},_0x472721=(_0x421d8e,_0x2d51ce)=>(_0x209d69,_0x32192a)=>_0x2d51ce(_0x209d69,_0x32192a,_0x421d8e);_0x43f096['CollaborationEntity']=class extends _0x146bad['RxDisposable']{constructor(_0x42cf44,_0x4def3d,_0x1e5c5e,_0x2a30f7,_0x26dfa5,_0x5cbf2e,_0xba177c,_0x48825b,_0x274827,_0x4e2794,_0x1724ec,_0x3dd85b,_0x4a2e25){const _0x31ee1c=_0x195815;super(),_0x4e6809(this,'_state$',new _0x4926fb['BehaviorSubject'](null)),_0x4e6809(this,_0x31ee1c(0xf1),this['_state$'][_0x31ee1c(0x161)]()),_0x4e6809(this,_0x31ee1c(0x4bb)),_0x4e6809(this,_0x31ee1c(0x20e),!0x1),_0x4e6809(this,_0x31ee1c(0x2e5),''),_0x4e6809(this,_0x31ee1c(0x31d),0x0),_0x4e6809(this,'status$',this[_0x31ee1c(0xf1)][_0x31ee1c(0x424)](_0x4926fb[_0x31ee1c(0x371)](_0x263cbe=>_0x263cbe?_0x263cbe[_0x31ee1c(0x497)]:_0x458b2a[_0x31ee1c(0x106)]),_0x4926fb[_0x31ee1c(0x41a)](0x1))),_0x4e6809(this,'_transitionLocked',!0x1),_0x4e6809(this,_0x31ee1c(0x2a1),[]),(this[_0x31ee1c(0x2f7)]=_0x42cf44,this[_0x31ee1c(0x1ee)]=_0x4def3d,this[_0x31ee1c(0x237)]=_0x1e5c5e,this[_0x31ee1c(0x3bf)]=_0x2a30f7,this[_0x31ee1c(0x46c)]=_0x26dfa5,this[_0x31ee1c(0x10c)]=_0x5cbf2e,this[_0x31ee1c(0x175)]=_0xba177c,this['_revisionService']=_0x48825b,this[_0x31ee1c(0x443)]=_0x274827,this[_0x31ee1c(0x193)]=_0x4e2794,this[_0x31ee1c(0x115)]=_0x1724ec,this['_permissionService']=_0x3dd85b,this[_0x31ee1c(0x418)]=_0x4a2e25);}get[_0x195815(0x417)](){return this['_state'];}async[_0x195815(0x23d)](){const _0x5d2ccc=_0x195815;if(this['state'])throw new Error(_0x5d2ccc(0x2e0));await this[_0x5d2ccc(0xf2)]();}['pauseCollaboration'](){const _0x111c04=_0x195815;return this[_0x111c04(0x20e)]=!0x0,_0x146bad[_0x111c04(0x3ee)](()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x195815(0x22e)](_0x1e0812){const _0x3c6d5a=_0x195815;this['_state']=_0x1e0812,this[_0x3c6d5a(0x4b2)][_0x3c6d5a(0x225)](_0x1e0812);}async[_0x195815(0xf2)](){const _0x5c5e8f=_0x195815;var _0xcb137b;this[_0x5c5e8f(0x22e)](await this['_createInitialState']()),this[_0x5c5e8f(0x418)]&&((_0xcb137b=this[_0x5c5e8f(0x418)])==null||_0xcb137b[_0x5c5e8f(0x4b9)](this[_0x5c5e8f(0x2f7)]),this[_0x5c5e8f(0x124)](this['_singleActiveUnitService'][_0x5c5e8f(0x4cc)](this['unitID'])[_0x5c5e8f(0x384)](_0x41cfe8=>{const _0x24d316=_0x5c5e8f;this[_0x24d316(0x443)][_0x24d316(0x1fe)](_0x24d316(0x4f6),_0x24d316(0x130),_0x41cfe8),_0x41cfe8===_0xf6d629[_0x24d316(0x4ad)]?(this['_messageService']['show']({'content':this[_0x24d316(0x175)]['t'](_0x24d316(0x366)),'type':_0x32a032['MessageType'][_0x24d316(0x18b)]}),this[_0x24d316(0x336)][_0x24d316(0x379)](new _0x36eda5[(_0x24d316(0x3c6))](this['unitID'])['id'],!0x1)):this[_0x24d316(0x336)][_0x24d316(0x379)](new _0x36eda5['WorkbookEditablePermission'](this[_0x24d316(0x2f7)])['id'],!0x0);})));let _0x41bcbb=!0x1;return this['disposeWithMe'](this[_0x5c5e8f(0x1ee)][_0x5c5e8f(0x2c1)][_0x5c5e8f(0x384)](_0x2c5910=>{const _0x6d96e8=_0x5c5e8f;_0x2c5910===_0x4c15a4[_0x6d96e8(0xee)]?this[_0x6d96e8(0x26b)](_0x41bcbb):_0x2c5910===_0x4c15a4[_0x6d96e8(0x106)]&&(_0x41bcbb=!0x0,this[_0x6d96e8(0x125)]());})),this['disposeWithMe'](this[_0x5c5e8f(0x1ee)][_0x5c5e8f(0x476)]['subscribe'](_0x23ff5b=>{const _0x3a4894=_0x5c5e8f;try{switch(_0x23ff5b[_0x3a4894(0x1fa)]){case _0x5e3529['CollaborationEvent']['NEW_CHANGESETS']:{this['_onRemoteChangeset'](_0x5e3529[_0x3a4894(0xeb)](_0x23ff5b[_0x3a4894(0x1ad)]));break;}case _0x5e3529['CollaborationEvent'][_0x3a4894(0x44f)]:{this[_0x3a4894(0x287)](_0x23ff5b['data']);break;}case _0x5e3529[_0x3a4894(0x46f)]['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x5e3529[_0x3a4894(0x46f)][_0x3a4894(0x48a)]:{this['_onFetchMissResult'](_0x23ff5b[_0x3a4894(0x1ad)][_0x3a4894(0x107)][_0x3a4894(0x371)](_0x546234=>_0x5e3529[_0x3a4894(0xeb)](_0x546234)));break;}case _0x5e3529[_0x3a4894(0x46f)]['PERMISSION_REJ']:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x1eaa58){throw console[_0x3a4894(0x4c4)](_0x3a4894(0x2fd),_0x1eaa58),_0x1eaa58;}})),this['_state'];}['_unlockTransition'](){const _0x3e65e3=_0x195815;this[_0x3e65e3(0x242)]=!0x1;}[_0x195815(0x12e)](){const _0x126e76=_0x195815;if(this[_0x126e76(0x242)])throw new Error(_0x126e76(0x22f));this[_0x126e76(0x242)]=!0x0;}[_0x195815(0x1f7)](_0x2b3d70){const _0x2daf18=_0x195815;this[_0x2daf18(0x12e)](),this[_0x2daf18(0x22e)](this[_0x2daf18(0x4bb)][_0x2daf18(0x220)](_0x2b3d70)),this[_0x2daf18(0x331)]();}[_0x195815(0x44c)](_0x232f63){const _0x4a944f=_0x195815;if(!(_0x232f63[_0x4a944f(0x3e8)]<=this[_0x4a944f(0x10b)][_0x4a944f(0x32f)](this[_0x4a944f(0x2f7)]))){if(this[_0x4a944f(0x20e)]){this[_0x4a944f(0x2a1)][_0x4a944f(0x4ce)](_0x232f63);return;}this[_0x4a944f(0x3e6)](_0x232f63);}}[_0x195815(0x122)](){const _0x345701=_0x195815;this[_0x345701(0x2a1)]['forEach'](_0x510070=>this[_0x345701(0x3e6)](_0x510070)),this[_0x345701(0x2a1)]=[];}[_0x195815(0x3e6)](_0x45fe4c){const _0x5e67cf=_0x195815,_0x59c25c=this[_0x5e67cf(0x10c)][_0x5e67cf(0x138)]['fetchThroughInterceptors'](this[_0x5e67cf(0x10c)][_0x5e67cf(0x138)][_0x5e67cf(0x216)]()['COMPRESS_MUTATION_APPLY'])(_0x45fe4c[_0x5e67cf(0x44e)],null)||_0x45fe4c[_0x5e67cf(0x44e)],_0x2344f3={..._0x45fe4c,'mutations':_0x59c25c};this[_0x5e67cf(0x12e)](),this[_0x5e67cf(0x22e)](this[_0x5e67cf(0x4bb)]['onRemoteChangeset'](_0x2344f3)),this[_0x5e67cf(0x331)]();}['_onRemoteACK'](_0x403505){const _0xa16c09=_0x195815;this[_0xa16c09(0x12e)](),this[_0xa16c09(0x22e)](this[_0xa16c09(0x4bb)]['onRemoteAck'](_0x403505)),this[_0xa16c09(0x331)]();}[_0x195815(0x491)](_0x11a3d8){const _0x21b92e=_0x195815;this['_lockTransition'](),this[_0x21b92e(0x22e)](this[_0x21b92e(0x4bb)]['onRemoteRej'](_0x11a3d8)),this[_0x21b92e(0x331)]();}['_onFetchMissResult'](_0x3deece){const _0x1c2a54=_0x195815;if(!(this[_0x1c2a54(0x4bb)]instanceof _0x334624))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x3e8b5e=_0x3deece[_0x1c2a54(0x371)](_0x7a9b06=>{const _0x40c9b1=_0x1c2a54,_0x147d1=this[_0x40c9b1(0x10c)][_0x40c9b1(0x138)][_0x40c9b1(0xf5)](this[_0x40c9b1(0x10c)][_0x40c9b1(0x138)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x7a9b06[_0x40c9b1(0x44e)],null)||_0x7a9b06[_0x40c9b1(0x44e)];return{..._0x7a9b06,'mutations':_0x147d1};});this[_0x1c2a54(0x12e)](),this[_0x1c2a54(0x22e)](this[_0x1c2a54(0x4bb)][_0x1c2a54(0x103)](_0x3e8b5e)),this['_unlockTransition']();}['_toggleOffline'](){const _0x5b7cba=_0x195815;this['_lockTransition'](),this[_0x5b7cba(0x22e)](this[_0x5b7cba(0x4bb)][_0x5b7cba(0x1f2)]()),this[_0x5b7cba(0x331)]();}[_0x195815(0x26b)](_0x11d7f0=!0x1){const _0x3dc131=_0x195815;this[_0x3dc131(0x12e)](),this[_0x3dc131(0x22e)](this['_state'][_0x3dc131(0x105)]()),this[_0x3dc131(0x331)]();const _0xf8f508=this['_state'];_0x11d7f0&&_0xf8f508 instanceof _0x1e99c3&&(this[_0x3dc131(0x12e)](),this[_0x3dc131(0x22e)](_0xf8f508['fetchMiss']()),this[_0x3dc131(0x331)]());}async[_0x195815(0x4f5)](){return new Promise(_0x2fbbfc=>{const _0x274731=_0x5cc9;this['session'][_0x274731(0x2c1)][_0x274731(0x424)](_0x4926fb[_0x274731(0x2a3)](0x1))[_0x274731(0x384)](async _0x54b224=>{const _0xd5a3e4=_0x274731;_0x2fbbfc(await this['_createInitialStateImpl'](_0x54b224===_0x4c15a4[_0xd5a3e4(0xee)]));});});}['_createHandler'](){const _0x5f17cc=_0x195815,_0x18a1f2=this[_0x5f17cc(0x2f7)];return{'onStateChange':(_0x4e402e,_0x4e2b74)=>{const _0x848fba=_0x5f17cc;if(_0x4e402e!==this[_0x848fba(0x4bb)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x4e402e[_0x848fba(0x497)]+'\x0aAfter:\x20'+_0x4e2b74[_0x848fba(0x497)]+_0x848fba(0x27b)+this[_0x848fba(0x4bb)][_0x848fba(0x497)]);this[_0x848fba(0x22e)](_0x4e2b74);},'onSendChangeset':_0x281cb9=>{const _0x14020f=_0x5f17cc;_0x281cb9['sid']||(_0x281cb9[_0x14020f(0x257)]=this[_0x14020f(0x2e5)],_0x281cb9['reqId']=++this[_0x14020f(0x31d)]);const _0x2ca3e3={'eventID':_0x5e3529[_0x14020f(0x46f)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x281cb9[_0x14020f(0x2f7)],'unitType':this['_type'],'changeset':_0x281cb9,'memberID':this[_0x14020f(0x1ee)]['getMemberID']()}};this['session'][_0x14020f(0x35c)](_0x2ca3e3,this[_0x14020f(0x2f7)]);},'onMissingChangesets':({from:_0x8ef0c9,to:_0x3a8ae6})=>{const _0x56d5c7=_0x5f17cc;this[_0x56d5c7(0x443)]['debug'](_0x56d5c7(0x4f6),_0x56d5c7(0x16c)+_0x8ef0c9+_0x56d5c7(0x367)+_0x3a8ae6);const _0x363cf0={'eventID':_0x5e3529[_0x56d5c7(0x46f)][_0x56d5c7(0x3b0)],'data':{'unitID':_0x18a1f2,'unitType':this[_0x56d5c7(0x237)],'from':_0x8ef0c9,'to':_0x3a8ae6}};this[_0x56d5c7(0x1ee)]['send'](_0x363cf0,this[_0x56d5c7(0x2f7)]);}};}async['_createInitialStateImpl'](_0x1143b8){const _0x188717=_0x195815;var _0xc60799,_0xeaa299;const _0x31bfde=await this[_0x188717(0x46c)][_0x188717(0x2d9)](this[_0x188717(0x2f7)]),_0x2ac935=(_0xc60799=_0x31bfde==null?void 0x0:_0x31bfde[_0x188717(0x44e)])!=null?_0xc60799:[],_0x3a1eda=(_0xeaa299=_0x31bfde==null?void 0x0:_0x31bfde['awaitingChangeset'])!=null?_0xeaa299:null,_0x864ee=!!(_0x3a1eda!=null&&_0x3a1eda[_0x188717(0x257)])&&!!(_0x3a1eda!=null&&_0x3a1eda[_0x188717(0x41d)]);this[_0x188717(0x2e5)]=_0x864ee?_0x3a1eda[_0x188717(0x257)]:_0xd85ee0(),this[_0x188717(0x31d)]=_0x864ee?_0x3a1eda['reqId']:0x0;const _0x31359f=this['unitID'];try{this[_0x188717(0x31b)](_0x3a1eda,_0x2ac935);}catch(_0x39a1c7){this[_0x188717(0x443)][_0x188717(0x4c4)](_0x39a1c7);}const _0x9a33da=this[_0x188717(0x1b6)]();if(_0x1143b8){const _0x11e73b=_0x27d217(this['_injector'],_0x31359f,this[_0x188717(0x237)],_0x3a1eda,_0x2ac935,_0x9a33da);return _0x11e73b instanceof _0xba9abf?_0x11e73b['_schedule']():(_0x11e73b instanceof _0x5b55d4||_0x11e73b instanceof _0x14a236)&&_0x11e73b[_0x188717(0x414)](),_0x11e73b;}return this[_0x188717(0x3bf)][_0x188717(0x26e)](_0x503b4b,_0x31359f,this[_0x188717(0x237)],_0x3a1eda,_0x2ac935,_0x9a33da);}['_replayCachedMutations'](_0x571a93,_0x1fb3e0){const _0x501c1c=_0x195815;var _0x1e838e,_0x146f3f;const _0x2e3222=this['_compressMutationService'][_0x501c1c(0x138)][_0x501c1c(0xf5)](this[_0x501c1c(0x10c)][_0x501c1c(0x138)][_0x501c1c(0x216)]()[_0x501c1c(0x285)]);(_0x1e838e=_0x2e3222((_0x571a93==null?void 0x0:_0x571a93[_0x501c1c(0x44e)])||[],null))==null||_0x1e838e[_0x501c1c(0x1d8)](_0x3c4523=>this[_0x501c1c(0x193)][_0x501c1c(0x313)](_0x3c4523['id'],_0x3c4523[_0x501c1c(0x24f)])),(_0x146f3f=_0x2e3222(_0x1fb3e0||[],null))==null||_0x146f3f[_0x501c1c(0x1d8)](_0x2285ac=>this[_0x501c1c(0x193)][_0x501c1c(0x313)](_0x2285ac['id'],_0x2285ac['params']));}},_0x43f096[_0x195815(0x4b1)]=_0x2abb65([_0x472721(0x3,_0x146bad['Inject'](_0x146bad[_0x195815(0x3de)])),_0x472721(0x4,_0x146bad['Inject'](_0x43f096[_0x195815(0x314)])),_0x472721(0x5,_0x146bad[_0x195815(0x49b)](_0x5e3529[_0x195815(0x4be)])),_0x472721(0x6,_0x146bad[_0x195815(0x49b)](_0x146bad['LocaleService'])),_0x472721(0x7,_0x146bad[_0x195815(0x49b)](_0x5e3529[_0x195815(0x22d)])),_0x472721(0x8,_0x146bad[_0x195815(0x40d)]),_0x472721(0x9,_0x146bad[_0x195815(0xfc)]),_0x472721(0xa,_0x55f67a[_0x195815(0x362)]),_0x472721(0xb,_0x146bad[_0x195815(0x4fa)]),_0x472721(0xc,_0x146bad[_0x195815(0x45d)](_0x5e5bc8))],_0x43f096['CollaborationEntity']),_0x43f096[_0x195815(0x3a8)]=class extends _0x43f096[_0x195815(0x4b1)]{constructor(_0x3aeca7,_0x4cdb1e,_0x3b3f75,_0x6c2aa0,_0x581c04,_0x44e54c,_0x1563a7,_0x240024,_0x188908,_0x34e8eb,_0x3609ea,_0x386988,_0x4ed853,_0x3e3a40,_0x163564,_0x1ff498,_0x198377){const _0x3c0fb3=_0x195815;super(_0x3aeca7,_0x3b3f75,_0x4cdb1e,_0x6c2aa0,_0x581c04,_0x44e54c,_0x1563a7,_0x240024,_0x4ed853,_0x3e3a40,_0x163564,_0x1ff498,_0x198377),this[_0x3c0fb3(0x2f7)]=_0x3aeca7,this['type']=_0x4cdb1e,this[_0x3c0fb3(0x252)]=_0x188908,this['_docTransformIMECacheService']=_0x34e8eb,this[_0x3c0fb3(0x10d)]=_0x3609ea,this[_0x3c0fb3(0x17e)]=_0x386988;}[_0x195815(0x1b6)](){const _0x14550d=_0x195815,_0x2e412e=super[_0x14550d(0x1b6)]();return _0x2e412e[_0x14550d(0x3c3)]=_0x11bf65=>this[_0x14550d(0x43a)][_0x14550d(0x3fe)](_0x11bf65),_0x2e412e[_0x14550d(0x4e2)]=_0x37c6e0=>this[_0x14550d(0x10d)][_0x14550d(0x374)](_0x37c6e0),_0x2e412e['onSyncEditingCollabCursor']=_0x263efc=>this[_0x14550d(0x17e)][_0x14550d(0x1fd)](_0x263efc),_0x2e412e[_0x14550d(0x4c1)]=_0x10e2dc=>this[_0x14550d(0x43a)][_0x14550d(0x462)](_0x10e2dc),_0x2e412e;}async[_0x195815(0xf2)](){const _0x43aa2c=_0x195815,_0x33fcaf=await super['_init']();return this[_0x43aa2c(0x252)][_0x43aa2c(0x29c)][_0x43aa2c(0x424)](_0x4926fb[_0x43aa2c(0x2e3)](this[_0x43aa2c(0xfa)]))[_0x43aa2c(0x384)](_0x31b2f7=>{const _0xbbfb01=_0x43aa2c;if(_0x31b2f7==null)return;const {unitId:_0x442f0d,redoState:_0x1a2d18,commandId:_0x1fc410}=_0x31b2f7;if(_0x442f0d!==this[_0xbbfb01(0x2f7)])return;const _0x102784={'id':_0x1fc410,'type':_0x146bad[_0xbbfb01(0xde)][_0xbbfb01(0xe6)],'params':{'unitId':_0x442f0d,'actions':_0x1a2d18['actions'],'textRanges':null}};this[_0xbbfb01(0x1f7)](_0x102784);}),_0x33fcaf;}},_0x43f096['DocCollaborationEntity']=_0x2abb65([_0x472721(0x3,_0x146bad[_0x195815(0x49b)](_0x146bad['Injector'])),_0x472721(0x4,_0x146bad[_0x195815(0x49b)](_0x43f096['LocalCacheService'])),_0x472721(0x5,_0x146bad[_0x195815(0x49b)](_0x5e3529[_0x195815(0x4be)])),_0x472721(0x6,_0x146bad[_0x195815(0x49b)](_0x146bad[_0x195815(0x295)])),_0x472721(0x7,_0x146bad['Inject'](_0x5e3529[_0x195815(0x22d)])),_0x472721(0x8,_0x146bad['Inject'](_0x582f5a[_0x195815(0x126)])),_0x472721(0x9,_0x146bad['Inject'](_0x362332)),_0x472721(0xa,_0x146bad[_0x195815(0x49b)](_0x54f7a1)),_0x472721(0xb,_0x146bad['Inject'](_0x477fa9)),_0x472721(0xc,_0x146bad[_0x195815(0x40d)]),_0x472721(0xd,_0x146bad['ICommandService']),_0x472721(0xe,_0x55f67a[_0x195815(0x362)]),_0x472721(0xf,_0x146bad[_0x195815(0x4fa)]),_0x472721(0x10,_0x146bad['Optional'](_0x5e5bc8))],_0x43f096[_0x195815(0x3a8)]),_0x43f096[_0x195815(0x368)]=class extends _0x43f096[_0x195815(0x4b1)]{constructor(_0x496671,_0x449e1a,_0x3d24e1,_0x245315,_0x3e48eb,_0x2f371e,_0x2139e0,_0x352794,_0x35d1a0,_0x2b90f5,_0x310961,_0x1afb0c,_0xd0d690,_0x2e651b){const _0xa209b7=_0x195815;super(_0x496671,_0x3d24e1,_0x449e1a,_0x245315,_0x3e48eb,_0x2f371e,_0x2139e0,_0x352794,_0x2b90f5,_0x310961,_0x1afb0c,_0xd0d690,_0x2e651b),this[_0xa209b7(0x2f7)]=_0x496671,this[_0xa209b7(0x3f9)]=_0x449e1a,this[_0xa209b7(0x3c5)]=_0x35d1a0;}['_createHandler'](){const _0x51d34e=_0x195815,_0x67ffef=super[_0x51d34e(0x1b6)]();return _0x67ffef[_0x51d34e(0x4e2)]=_0x45a312=>this[_0x51d34e(0x3c5)]['transformSelections'](_0x45a312),_0x67ffef;}async[_0x195815(0xf2)](){const _0x47e5b1=_0x195815,_0x118381=await super[_0x47e5b1(0xf2)]();return this[_0x47e5b1(0x124)](this[_0x47e5b1(0x193)][_0x47e5b1(0x24d)]((_0x5a5d7c,_0x3bf474)=>{const _0x16dc82=_0x47e5b1;if(_0x5a5d7c[_0x16dc82(0x3f9)]!==_0x146bad['CommandType'][_0x16dc82(0xe6)]||_0x3bf474!=null&&_0x3bf474['fromCollab']||_0x3bf474!=null&&_0x3bf474[_0x16dc82(0x177)])return;const _0x573a3d=_0x5a5d7c[_0x16dc82(0x24f)];if((_0x573a3d==null?void 0x0:_0x573a3d['unitId'])!==this['unitID'])return;const _0x202a6f=_0x5a5d7c,_0x4bbff0=this[_0x16dc82(0x10c)][_0x16dc82(0x138)][_0x16dc82(0xf5)](this[_0x16dc82(0x10c)][_0x16dc82(0x138)][_0x16dc82(0x216)]()[_0x16dc82(0x132)])([_0x202a6f],null)||[_0x202a6f];this[_0x16dc82(0x1f7)](_0x4bbff0[0x0]);})),_0x118381;}},_0x43f096['SheetCollaborationEntity']=_0x2abb65([_0x472721(0x3,_0x146bad[_0x195815(0x49b)](_0x146bad['Injector'])),_0x472721(0x4,_0x146bad[_0x195815(0x49b)](_0x43f096[_0x195815(0x314)])),_0x472721(0x5,_0x146bad['Inject'](_0x5e3529[_0x195815(0x4be)])),_0x472721(0x6,_0x146bad['Inject'](_0x146bad[_0x195815(0x295)])),_0x472721(0x7,_0x146bad['Inject'](_0x5e3529['RevisionService'])),_0x472721(0x8,_0x146bad[_0x195815(0x49b)](_0x5c19c5)),_0x472721(0x9,_0x146bad[_0x195815(0x40d)]),_0x472721(0xa,_0x146bad[_0x195815(0xfc)]),_0x472721(0xb,_0x55f67a['IMessageService']),_0x472721(0xc,_0x146bad[_0x195815(0x4fa)]),_0x472721(0xd,_0x146bad['Optional'](_0x5e5bc8))],_0x43f096[_0x195815(0x368)]);var _0x4c089a=Object[_0x195815(0x42d)],_0x2dc4e5=Object[_0x195815(0x49c)],_0x255ba7=(_0x2262cf,_0x3fbf07,_0x212749,_0x46416c)=>{for(var _0x33934b=_0x46416c>0x1?void 0x0:_0x46416c?_0x2dc4e5(_0x3fbf07,_0x212749):_0x3fbf07,_0x2c7176=_0x2262cf['length']-0x1,_0x4954a3;_0x2c7176>=0x0;_0x2c7176--)(_0x4954a3=_0x2262cf[_0x2c7176])&&(_0x33934b=(_0x46416c?_0x4954a3(_0x3fbf07,_0x212749,_0x33934b):_0x4954a3(_0x33934b))||_0x33934b);return _0x46416c&&_0x33934b&&_0x4c089a(_0x3fbf07,_0x212749,_0x33934b),_0x33934b;},_0x2c8502=(_0x51567c,_0x3c4b13)=>(_0x360796,_0x277be6)=>_0x3c4b13(_0x360796,_0x277be6,_0x51567c);_0x43f096[_0x195815(0x45b)]=class extends _0x146bad['RxDisposable']{constructor(_0x1b43f3,_0x43ee7d,_0x53f4de){const _0xfbb55a=_0x195815;super(),_0x4e6809(this,_0xfbb55a(0x254),new Map()),_0x4e6809(this,_0xfbb55a(0x2f1),new _0x4926fb[(_0xfbb55a(0x328))]()),(this['_injector']=_0x1b43f3,this['_collabSessionService']=_0x43ee7d,this['_univerInstanceService']=_0x53f4de,this[_0xfbb55a(0xf2)]());}['dispose'](){const _0x543bc2=_0x195815;super[_0x543bc2(0x1d0)](),this[_0x543bc2(0x254)][_0x543bc2(0x1d8)](_0xe3f4cf=>_0xe3f4cf[_0x543bc2(0x1d0)]()),this[_0x543bc2(0x254)][_0x543bc2(0x2e6)]();}[_0x195815(0x2ca)](_0x4e2054){const _0xffde98=_0x195815;var _0x123849;return(_0x123849=this[_0xffde98(0x254)]['get'](_0x4e2054))!=null?_0x123849:null;}[_0x195815(0x2dc)](_0x1760e3){const _0x1055a7=_0x195815,_0x54f518=this[_0x1055a7(0x2ca)](_0x1760e3);return _0x54f518?_0x4926fb['of'](_0x54f518):this[_0x1055a7(0x2f1)][_0x1055a7(0x424)](_0x2d4b5d['filter'](_0x5ad5de=>_0x5ad5de[_0x1055a7(0x2f7)]===_0x1760e3));}[_0x195815(0xf2)](){const _0x1aaccb=_0x195815;this['_univerInstanceService'][_0x1aaccb(0x4bd)](_0x146bad['UniverInstanceType'][_0x1aaccb(0x496)])[_0x1aaccb(0x424)](_0x4926fb[_0x1aaccb(0x2e3)](this['dispose$']),_0x2d4b5d[_0x1aaccb(0x160)](0x10))[_0x1aaccb(0x384)](async _0x367cd9=>{const _0x447fc9=_0x1aaccb,_0x18dd42=_0x367cd9[_0x447fc9(0x17b)](),_0x385029=await this[_0x447fc9(0x397)](_0x18dd42,_0x14e27b['UNIVER_SHEET']);this[_0x447fc9(0x254)]['set'](_0x18dd42,_0x385029);}),this[_0x1aaccb(0x151)][_0x1aaccb(0x4bd)](_0x146bad[_0x1aaccb(0x350)][_0x1aaccb(0x262)])['pipe'](_0x4926fb[_0x1aaccb(0x2e3)](this[_0x1aaccb(0xfa)]),_0x2d4b5d[_0x1aaccb(0x160)](0x10))['pipe'](_0x2d4b5d['filter'](_0x494621=>!_0x494621['getUnitId']()[_0x1aaccb(0xd9)]('__')))[_0x1aaccb(0x384)](async _0x34bf31=>{const _0x29d7f3=_0x1aaccb,_0x28e5c8=_0x34bf31[_0x29d7f3(0x17b)](),_0x4efcc8=await this[_0x29d7f3(0x397)](_0x28e5c8,_0x14e27b[_0x29d7f3(0x262)]);this[_0x29d7f3(0x254)][_0x29d7f3(0x1fc)](_0x28e5c8,_0x4efcc8);}),_0x4926fb[_0x1aaccb(0x104)](this[_0x1aaccb(0x151)]['getTypeOfUnitDisposed$'](_0x146bad[_0x1aaccb(0x350)][_0x1aaccb(0x496)]),this[_0x1aaccb(0x151)][_0x1aaccb(0x186)](_0x146bad[_0x1aaccb(0x350)]['UNIVER_DOC']))[_0x1aaccb(0x424)](_0x4926fb['takeUntil'](this[_0x1aaccb(0xfa)]))[_0x1aaccb(0x384)](_0x32d2bb=>{const _0x178783=_0x1aaccb,_0x2cf444=_0x32d2bb['getUnitId'](),_0x123f78=this['_entities'][_0x178783(0x499)](_0x2cf444);_0x123f78&&(_0x123f78[_0x178783(0x1d0)](),this[_0x178783(0x254)][_0x178783(0x4c5)](_0x2cf444));});}async[_0x195815(0x397)](_0x46266b,_0x4589e7){const _0x1c3866=_0x195815,_0x59e3f8=await this[_0x1c3866(0x432)]['requireSession'](_0x46266b),_0x3d7ccb=this[_0x1c3866(0x3bf)][_0x1c3866(0x26e)](this[_0x1c3866(0x353)](_0x4589e7),_0x46266b,_0x4589e7,_0x59e3f8);return await _0x3d7ccb[_0x1c3866(0x23d)](),this['_entityInit$']['next'](_0x3d7ccb),_0x3d7ccb;}['_getCtorByUniverType'](_0x6093b1){const _0x5614f5=_0x195815;switch(_0x6093b1){case _0x14e27b[_0x5614f5(0x262)]:return _0x43f096['DocCollaborationEntity'];case _0x14e27b[_0x5614f5(0x496)]:return _0x43f096['SheetCollaborationEntity'];default:throw new Error(_0x5614f5(0x173)+_0x6093b1);}}},_0x43f096[_0x195815(0x45b)]=_0x255ba7([_0x2c8502(0x0,_0x146bad[_0x195815(0x49b)](_0x146bad[_0x195815(0x3de)])),_0x2c8502(0x1,_0x146bad['Inject'](_0x43f096['CollaborationSessionService'])),_0x2c8502(0x2,_0x146bad[_0x195815(0x40e)])],_0x43f096[_0x195815(0x45b)]);const _0x30cac0=[_0x195815(0x40c),'jiqing500',_0x195815(0x21f),_0x195815(0x174),_0x195815(0x1ba),_0x195815(0x4fc)];class _0x3284dd extends _0x146bad[_0x195815(0x1cc)]{constructor(){const _0x244bc3=_0x195815;super(...arguments),_0x4e6809(this,'_assignedColors',new Map()),_0x4e6809(this,_0x244bc3(0x278),0x0);}[_0x195815(0x271)](_0x22cebc){const _0x5786ec=_0x195815;if(this[_0x5786ec(0x4cf)][_0x5786ec(0xef)](_0x22cebc))return this[_0x5786ec(0x4cf)][_0x5786ec(0x499)](_0x22cebc);const _0x149154=_0x30cac0[this[_0x5786ec(0x278)]];return this[_0x5786ec(0x278)]=(this[_0x5786ec(0x278)]+0x1)%_0x30cac0[_0x5786ec(0x249)],this[_0x5786ec(0x4cf)][_0x5786ec(0x1fc)](_0x22cebc,_0x149154),_0x149154;}}var _0x61ed44=Object[_0x195815(0x42d)],_0x5ce9e4=Object['getOwnPropertyDescriptor'],_0x225862=(_0x2fb077,_0x25577f,_0x35f000,_0x23a36b)=>{for(var _0x1686f5=_0x23a36b>0x1?void 0x0:_0x23a36b?_0x5ce9e4(_0x25577f,_0x35f000):_0x25577f,_0x14c615=_0x2fb077['length']-0x1,_0x531283;_0x14c615>=0x0;_0x14c615--)(_0x531283=_0x2fb077[_0x14c615])&&(_0x1686f5=(_0x23a36b?_0x531283(_0x25577f,_0x35f000,_0x1686f5):_0x531283(_0x1686f5))||_0x1686f5);return _0x23a36b&&_0x1686f5&&_0x61ed44(_0x25577f,_0x35f000,_0x1686f5),_0x1686f5;},_0xadd2d8=(_0x468e94,_0x3960ad)=>(_0x5cb590,_0x26803f)=>_0x3960ad(_0x5cb590,_0x26803f,_0x468e94);const _0x16fedb=0x12c,_0x87fcaf=0x64;let _0x30834c=class extends _0x146bad['RxDisposable']{constructor(_0x44449e,_0x3b0572,_0x3e8e73,_0x515b4f,_0x453da5,_0x15f94a,_0x4f33b1,_0x9e21d9,_0x39fefb){const _0x173b95=_0x195815;super(),_0x4e6809(this,_0x173b95(0x37a),!0x1),_0x4e6809(this,_0x173b95(0xf2),!0x1),_0x4e6809(this,'_cursorInfo$',new _0x4926fb[(_0x173b95(0x164))](new Map())),_0x4e6809(this,_0x173b95(0x32d),this[_0x173b95(0x2da)]['asObservable']()),_0x4e6809(this,_0x173b95(0x1c1),new _0x4926fb[(_0x173b95(0x164))]([])),_0x4e6809(this,_0x173b95(0x190),this[_0x173b95(0x1c1)]['pipe'](_0x4926fb['debounceTime'](_0x16fedb))),_0x4e6809(this,_0x173b95(0x33b),_0x146bad[_0x173b95(0x2e9)](_0x490939=>{const _0x33b85f=_0x173b95,_0x4c846c={'eventID':_0x5e3529[_0x33b85f(0x46f)][_0x33b85f(0x3d2)],'data':{'unitID':this[_0x33b85f(0x2f7)],'memberID':this[_0x33b85f(0x4ea)][_0x33b85f(0x36d)](),'selection':_0x2ed549(_0x490939)}};this[_0x33b85f(0x4ea)][_0x33b85f(0x35c)](_0x4c846c,this['unitID']);},_0x87fcaf)),(this[_0x173b95(0x2f7)]=_0x44449e,this[_0x173b95(0x4ea)]=_0x3b0572,this[_0x173b95(0x3bf)]=_0x3e8e73,this['_colorAssignService']=_0x515b4f,this[_0x173b95(0x4f7)]=_0x453da5,this['_syncEditingCollabCursorService']=_0x15f94a,this[_0x173b95(0x172)]=_0x4f33b1,this[_0x173b95(0x151)]=_0x9e21d9,this[_0x173b95(0x193)]=_0x39fefb);}get[_0x195815(0x22c)](){const _0x46e44c=_0x195815;return this['_cursorInfo$'][_0x46e44c(0x21b)]();}get['roomMembers'](){const _0x1dd6c5=_0x195815;return this[_0x1dd6c5(0x1c1)][_0x1dd6c5(0x21b)]();}[_0x195815(0x1d0)](){const _0x32c8b9=_0x195815;super[_0x32c8b9(0x1d0)](),this[_0x32c8b9(0x2da)][_0x32c8b9(0x225)](new Map()),this[_0x32c8b9(0x2da)][_0x32c8b9(0x45c)](),this[_0x32c8b9(0x1c1)][_0x32c8b9(0x225)]([]),this['_roomMembers$'][_0x32c8b9(0x45c)]();}[_0x195815(0x23d)](){const _0x243a32=_0x195815;this[_0x243a32(0xf2)]||(this[_0x243a32(0xf2)]=!0x0,this[_0x243a32(0x4ea)]['sessionStatus$'][_0x243a32(0x424)](_0x4926fb[_0x243a32(0x2e3)](this['dispose$']))[_0x243a32(0x384)](_0x46094a=>{const _0x1e5785=_0x243a32;_0x46094a===_0x4c15a4[_0x1e5785(0xee)]?this[_0x1e5785(0x26b)]():this[_0x1e5785(0x125)]();}),this['_session'][_0x243a32(0x476)][_0x243a32(0x424)](_0x4926fb['takeUntil'](this[_0x243a32(0xfa)]))['subscribe'](_0xf14f6b=>{const _0xfdc364=_0x243a32,_0x19466f=_0xf14f6b[_0xfdc364(0x1fa)];_0x19466f===_0x5e3529['CollaborationEvent']['UPDATE_CURSOR']&&this[_0xfdc364(0x26a)](_0xf14f6b),_0x19466f===_0x5e3529[_0xfdc364(0x46f)]['USERS_LEAVE']&&this[_0xfdc364(0x146)](_0xf14f6b);}),this[_0x243a32(0x124)](this[_0x243a32(0x193)][_0x243a32(0x24d)](_0x1fece2=>{const _0x234b59=_0x243a32,_0x23a8dc=_0x1fece2[_0x234b59(0x24f)];_0x23a8dc!=null&&this['_online']&&_0x1fece2['id']===_0x2d7433[_0x234b59(0x108)]['id']&&_0x23a8dc[_0x234b59(0x494)]===this[_0x234b59(0x2f7)]&&_0x23a8dc[_0x234b59(0x244)]===!0x1&&this[_0x234b59(0x33b)](_0x23a8dc[_0x234b59(0x4f1)]);})),this[_0x243a32(0x291)]['collabCursorState$']['pipe'](_0x4926fb[_0x243a32(0x2e3)](this[_0x243a32(0xfa)]))[_0x243a32(0x384)](_0x5a5c2d=>{const _0x384dc3=_0x243a32;if((_0x5a5c2d==null?void 0x0:_0x5a5c2d[_0x384dc3(0x2f7)])!==this[_0x384dc3(0x2f7)])return;const _0x3605ab={'eventID':_0x5e3529['CollaborationEvent'][_0x384dc3(0x3d2)],'data':_0x5a5c2d};this['_onCursorUpdate'](_0x3605ab);}),this['disposeWithMe'](this[_0x243a32(0x193)][_0x243a32(0x24d)](_0x19f3d2=>{const _0x497b3a=_0x243a32;if(_0x19f3d2['params']==null)return;const _0x59845a=_0x19f3d2[_0x497b3a(0x24f)];if(_0x19f3d2['id']!==_0x2d7433['RichTextEditingMutation']['id']||_0x59845a[_0x497b3a(0x494)]!==this[_0x497b3a(0x2f7)])return;const _0x1046e8={'id':_0x497b3a(0x12a),'params':_0x59845a},_0x3c2a6f=this[_0x497b3a(0x22c)];for(const [_0x54a848,_0x4e8fdd]of _0x3c2a6f){const _0x24757c={'id':_0x497b3a(0x12a),'params':{'unitId':this[_0x497b3a(0x2f7)],'actions':null,'textRanges':_0x4e8fdd['ranges']}},_0x56f7c6=this[_0x497b3a(0x172)][_0x497b3a(0x447)](_0x1046e8,_0x24757c,!0x1);if(_0x5e3529[_0x497b3a(0x261)](_0x56f7c6))throw _0x56f7c6[_0x497b3a(0x4c4)];_0x3c2a6f[_0x497b3a(0x1fc)](_0x54a848,{..._0x4e8fdd,'ranges':_0x56f7c6[_0x497b3a(0x246)][_0x497b3a(0x24f)][_0x497b3a(0x2d1)]});}queueMicrotask(()=>{const _0x544155=_0x497b3a;this[_0x544155(0x2da)][_0x544155(0x225)](_0x3c2a6f);});})));}[_0x195815(0x26a)](_0x213e2d){const _0x2beb38=_0x195815;var _0x46ac46,_0x1b2ec7;const {memberID:_0x523b51,selection:_0x2e9001}=_0x213e2d[_0x2beb38(0x1ad)],_0x2ab051=_0x402167(_0x2e9001),_0x4ff767=(_0x1b2ec7=(_0x46ac46=this[_0x2beb38(0x4f7)][_0x2beb38(0x2c8)](this[_0x2beb38(0x2f7)],_0x523b51))==null?void 0x0:_0x46ac46[_0x2beb38(0x137)])!=null?_0x1b2ec7:_0x2beb38(0x48e),_0x140a8d={'color':this['_colorAssignService'][_0x2beb38(0x271)](_0x523b51),'name':_0x4ff767,'ranges':_0x2ab051},_0x15dd24=this[_0x2beb38(0x22c)];_0x15dd24[_0x2beb38(0x1fc)](_0x523b51,_0x140a8d),this[_0x2beb38(0x2da)]['next'](_0x15dd24);}[_0x195815(0x146)](_0x529892){const _0x33361e=_0x195815,{memberID:_0x316502}=_0x529892[_0x33361e(0x1ad)],_0x26c7c0=this[_0x33361e(0x22c)];_0x26c7c0[_0x33361e(0x4c5)](_0x316502),this[_0x33361e(0x2da)][_0x33361e(0x225)](_0x26c7c0);}['_toggleOnline'](){const _0x142a9b=_0x195815;var _0x54ea88;if(this[_0x142a9b(0x37a)]=!0x0,((_0x54ea88=this[_0x142a9b(0x151)][_0x142a9b(0x2b6)]())==null?void 0x0:_0x54ea88[_0x142a9b(0x17b)]())!==this[_0x142a9b(0x2f7)])return;const _0x5e557c=this['_injector'][_0x142a9b(0x499)](_0x2d7433[_0x142a9b(0x363)])['getDocRanges']();Array[_0x142a9b(0x44d)](_0x5e557c)&&_0x5e557c[_0x142a9b(0x249)]>0x0&&this[_0x142a9b(0x33b)](_0x5e557c);}[_0x195815(0x125)](){const _0x3a7942=_0x195815;this[_0x3a7942(0x37a)]=!0x1;}};_0x30834c=_0x225862([_0xadd2d8(0x2,_0x146bad[_0x195815(0x49b)](_0x146bad[_0x195815(0x3de)])),_0xadd2d8(0x3,_0x146bad[_0x195815(0x49b)](_0x3284dd)),_0xadd2d8(0x4,_0x146bad[_0x195815(0x49b)](_0x31c535)),_0xadd2d8(0x5,_0x146bad[_0x195815(0x49b)](_0x477fa9)),_0xadd2d8(0x6,_0x5e3529[_0x195815(0x3d3)]),_0xadd2d8(0x7,_0x146bad['IUniverInstanceService']),_0xadd2d8(0x8,_0x146bad[_0x195815(0xfc)])],_0x30834c);var _0x2fe850=Object[_0x195815(0x42d)],_0x12bebb=Object[_0x195815(0x49c)],_0x902ca8=(_0x328cea,_0x3681d5,_0x157092,_0x426a90)=>{const _0x3dc6ee=_0x195815;for(var _0xd1a5c2=_0x426a90>0x1?void 0x0:_0x426a90?_0x12bebb(_0x3681d5,_0x157092):_0x3681d5,_0x2a6dc3=_0x328cea[_0x3dc6ee(0x249)]-0x1,_0x371268;_0x2a6dc3>=0x0;_0x2a6dc3--)(_0x371268=_0x328cea[_0x2a6dc3])&&(_0xd1a5c2=(_0x426a90?_0x371268(_0x3681d5,_0x157092,_0xd1a5c2):_0x371268(_0xd1a5c2))||_0xd1a5c2);return _0x426a90&&_0xd1a5c2&&_0x2fe850(_0x3681d5,_0x157092,_0xd1a5c2),_0xd1a5c2;},_0x2b87cc=(_0x8c0a78,_0x1db132)=>(_0x5d5590,_0x1cab3c)=>_0x1db132(_0x5d5590,_0x1cab3c,_0x8c0a78);const _0x27fda7=0x12c,_0x3f2e17=0x64,_0x461a37=()=>{let _0x27b287=[],_0x5d99f7=!0x1;return _0x4303fe=>{_0x27b287['push'](_0x4303fe),_0x5d99f7||(_0x5d99f7=!0x0,setTimeout(()=>{_0x27b287['forEach'](_0x376fdf=>_0x376fdf()),_0x27b287=[],_0x5d99f7=!0x1;}));};};let _0x3d9a4e=class extends _0x146bad[_0x195815(0x25a)]{constructor(_0x57e878,_0x551c72,_0x59ae3f,_0x42ec90,_0x374411,_0x297c7a,_0x260363,_0x56d5e9){const _0x139d0c=_0x195815;super(),_0x4e6809(this,_0x139d0c(0x37a),!0x1),_0x4e6809(this,_0x139d0c(0xf2),!0x1),_0x4e6809(this,_0x139d0c(0x2da),new _0x4926fb[(_0x139d0c(0x164))](new Map())),_0x4e6809(this,_0x139d0c(0x32d),this[_0x139d0c(0x2da)]['asObservable']()),_0x4e6809(this,_0x139d0c(0x1c1),new _0x4926fb[(_0x139d0c(0x164))]([])),_0x4e6809(this,_0x139d0c(0x190),this[_0x139d0c(0x1c1)][_0x139d0c(0x424)](_0x4926fb['debounceTime'](_0x27fda7))),_0x4e6809(this,'_updateLocalCursor',_0x146bad['debounce']((_0x13095b,_0x581c74)=>{const _0x32fd33=_0x139d0c,_0xc54a45={'eventID':_0x5e3529[_0x32fd33(0x46f)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x32fd33(0x2f7)],'memberID':this[_0x32fd33(0x4ea)][_0x32fd33(0x36d)](),'selection':_0x4d0975['serializeRangeWithSheet'](_0x13095b,_0x581c74['range'])}};this[_0x32fd33(0x4ea)][_0x32fd33(0x35c)](_0xc54a45,this[_0x32fd33(0x2f7)]);},_0x3f2e17)),(this[_0x139d0c(0x2f7)]=_0x57e878,this[_0x139d0c(0x4ea)]=_0x551c72,this[_0x139d0c(0x3bf)]=_0x59ae3f,this[_0x139d0c(0x239)]=_0x42ec90,this['_memberService']=_0x374411,this[_0x139d0c(0x151)]=_0x297c7a,this[_0x139d0c(0x193)]=_0x260363,this[_0x139d0c(0x112)]=_0x56d5e9);}get[_0x195815(0x22c)](){const _0x151103=_0x195815;return this['_cursorInfo$'][_0x151103(0x21b)]();}get[_0x195815(0x3fc)](){const _0x2c73c9=_0x195815;return this[_0x2c73c9(0x1c1)][_0x2c73c9(0x21b)]();}[_0x195815(0x1d0)](){const _0x30313b=_0x195815;super[_0x30313b(0x1d0)](),this[_0x30313b(0x2da)][_0x30313b(0x225)](new Map()),this[_0x30313b(0x2da)][_0x30313b(0x45c)](),this[_0x30313b(0x1c1)]['next']([]),this['_roomMembers$'][_0x30313b(0x45c)]();}[_0x195815(0x23d)](){const _0x46fda0=_0x195815;this[_0x46fda0(0xf2)]||(this['_init']=!0x0,this[_0x46fda0(0x4ea)][_0x46fda0(0x2c1)][_0x46fda0(0x424)](_0x4926fb[_0x46fda0(0x2e3)](this[_0x46fda0(0xfa)]))[_0x46fda0(0x384)](_0x3f7161=>{const _0x2c07f9=_0x46fda0;_0x3f7161===_0x4c15a4[_0x2c07f9(0xee)]?this[_0x2c07f9(0x26b)]():this[_0x2c07f9(0x125)]();}),this[_0x46fda0(0x4ea)][_0x46fda0(0x476)][_0x46fda0(0x424)](_0x4926fb[_0x46fda0(0x2e3)](this[_0x46fda0(0xfa)]))[_0x46fda0(0x384)](_0x352685=>{const _0x3a5603=_0x46fda0,_0x46e214=_0x352685[_0x3a5603(0x1fa)];_0x46e214===_0x5e3529['CollaborationEvent'][_0x3a5603(0x3d2)]&&this[_0x3a5603(0x26a)](_0x352685),_0x46e214===_0x5e3529[_0x3a5603(0x46f)]['USERS_LEAVE']&&this[_0x3a5603(0x146)](_0x352685);}),this[_0x46fda0(0x30b)](),this[_0x46fda0(0x124)](this[_0x46fda0(0x193)][_0x46fda0(0x24d)](_0x377872=>{const _0x3f0312=_0x46fda0;if(this[_0x3f0312(0x37a)]&&_0x377872['id']===_0x36eda5[_0x3f0312(0x3d6)]['id']&&_0x377872[_0x3f0312(0x24f)][_0x3f0312(0x494)]===this[_0x3f0312(0x2f7)]){const _0x52f1d2=_0x377872[_0x3f0312(0x24f)];this['_updateLocalCursor'](_0x52f1d2[_0x3f0312(0x269)],_0x52f1d2[_0x3f0312(0x25b)][0x0]);}})));}[_0x195815(0x26a)](_0x24c2c7){const _0x5a19af=_0x195815;var _0x50cf70,_0x4b9fb7;const {memberID:_0x1ef0ab,selection:_0x25965b}=_0x24c2c7['data'],{sheetName:_0x4af638,range:_0x5daa52}=_0x4d0975[_0x5a19af(0x2bc)](_0x25965b),_0x5b474a={'name':(_0x4b9fb7=(_0x50cf70=this[_0x5a19af(0x4f7)][_0x5a19af(0x2c8)](this[_0x5a19af(0x2f7)],_0x1ef0ab))==null?void 0x0:_0x50cf70[_0x5a19af(0x137)])!=null?_0x4b9fb7:'Unknown\x20user','range':this['_getMergeRange'](_0x4af638,_0x5daa52),'sheetID':_0x4af638,'color':this[_0x5a19af(0x239)][_0x5a19af(0x271)](_0x1ef0ab),'selection':_0x25965b},_0x3e53bd=this[_0x5a19af(0x22c)];_0x3e53bd[_0x5a19af(0x1fc)](_0x1ef0ab,_0x5b474a),this[_0x5a19af(0x2da)][_0x5a19af(0x225)](_0x3e53bd);}[_0x195815(0x146)](_0x11e4f5){const _0xf99bf8=_0x195815,{memberID:_0xb98e3a}=_0x11e4f5[_0xf99bf8(0x1ad)],_0x58fc6b=this[_0xf99bf8(0x22c)];_0x58fc6b[_0xf99bf8(0x4c5)](_0xb98e3a),this[_0xf99bf8(0x2da)][_0xf99bf8(0x225)](_0x58fc6b);}[_0x195815(0x4d6)](_0x1adc15,_0x3f0edb){const _0x55ca2d=_0x195815;var _0x1c339a,_0x7faa5;const _0x3601ef=(_0x7faa5=(_0x1c339a=this[_0x55ca2d(0x151)][_0x55ca2d(0x4d0)](this[_0x55ca2d(0x2f7)]))==null?void 0x0:_0x1c339a[_0x55ca2d(0x460)](_0x1adc15))==null?void 0x0:_0x7faa5['getMergeData']();return(_0x3601ef==null?void 0x0:_0x3601ef['find'](_0x31ad34=>_0x146bad[_0x55ca2d(0x392)][_0x55ca2d(0x4ef)](_0x31ad34,_0x3f0edb)))||_0x3f0edb;}[_0x195815(0x30b)](){const _0x2073a1=_0x195815,_0x3bfd54=new _0x146bad[(_0x2073a1(0x4a7))](),_0x339f66=_0x461a37(),_0xa21cc9=()=>{const _0x2df197=_0x2073a1;_0x3bfd54[_0x2df197(0x1d0)]();const _0x27654f=(_0xe2f3be,_0x2df324,_0x1314a4,_0x4d2c86)=>{const _0xff75fe=_0x2df197;let _0x398b81=[];switch(_0xe2f3be['id']){case _0x36eda5['EffectRefRangId'][_0xff75fe(0x135)]:{_0x398b81=_0x36eda5['handleDeleteRangeMoveLeft'](_0xe2f3be,_0x4d2c86);break;}case _0x36eda5['EffectRefRangId'][_0xff75fe(0x4f9)]:{_0x398b81=_0x36eda5[_0xff75fe(0x158)](_0xe2f3be,_0x4d2c86);break;}case _0x36eda5[_0xff75fe(0x209)][_0xff75fe(0x4e1)]:{_0x398b81=_0x36eda5[_0xff75fe(0x349)](_0xe2f3be,_0x4d2c86);break;}case _0x36eda5['EffectRefRangId'][_0xff75fe(0x441)]:{_0x398b81=_0x36eda5['handleInsertRangeMoveDown'](_0xe2f3be,_0x4d2c86);break;}case _0x36eda5['EffectRefRangId'][_0xff75fe(0x4da)]:{_0x398b81=_0x36eda5[_0xff75fe(0x17c)](_0xe2f3be,_0x4d2c86);break;}case _0x36eda5[_0xff75fe(0x209)][_0xff75fe(0x372)]:{_0x398b81=_0x36eda5[_0xff75fe(0x3e1)](_0xe2f3be,_0x4d2c86);break;}case _0x36eda5[_0xff75fe(0x209)]['MoveRangeCommandId']:{_0x398b81=_0x36eda5[_0xff75fe(0x49e)](_0xe2f3be,_0x4d2c86);break;}case _0x36eda5['EffectRefRangId']['RemoveColCommandId']:{_0x398b81=_0x36eda5['handleIRemoveCol'](_0xe2f3be,_0x4d2c86);break;}case _0x36eda5[_0xff75fe(0x209)][_0xff75fe(0x49f)]:{_0x398b81=_0x36eda5[_0xff75fe(0x23a)](_0xe2f3be,_0x4d2c86);break;}}const _0x3e5784=_0x36eda5[_0xff75fe(0x4cb)](_0x398b81,_0x4d2c86),_0x398d93=this['cursorInfo'][_0xff75fe(0x499)](_0x2df324);if(_0x398d93&&_0x3e5784){const _0x55c958={..._0x398d93,'range':_0x3e5784};this[_0xff75fe(0x22c)][_0xff75fe(0x1fc)](_0x2df324,_0x55c958),_0x339f66(()=>{const _0x923e83=_0xff75fe,_0xf8ef76=this[_0x923e83(0x112)][_0x923e83(0x388)](_0x3e5784,_0x593d7b=>(_0xf8ef76['dispose'](),_0x27654f(_0x593d7b,_0x2df324,_0x1314a4,_0x3e5784)));_0x3bfd54[_0x923e83(0x2ba)](_0xf8ef76);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x4411cd,_0x558469)=>{const _0x53be44=_0x2df197,{range:_0x3ec9a6,sheetID:_0x2ed1ca}=_0x4411cd,_0x285012=this[_0x53be44(0x112)][_0x53be44(0x388)](_0x3ec9a6,_0x189d71=>(_0x285012[_0x53be44(0x1d0)](),_0x27654f(_0x189d71,_0x558469,_0x2ed1ca,_0x3ec9a6)));_0x3bfd54[_0x53be44(0x2ba)](_0x285012);});};this[_0x2073a1(0x124)](_0x146bad[_0x2073a1(0x3ee)](this[_0x2073a1(0x2da)][_0x2073a1(0x384)](()=>{_0xa21cc9();})));}['_toggleOnline'](){const _0x437a08=_0x195815;var _0x3e2999,_0x4383ac;if(this[_0x437a08(0x37a)]=!0x0,((_0x3e2999=this[_0x437a08(0x151)][_0x437a08(0x2b6)]())==null?void 0x0:_0x3e2999[_0x437a08(0x17b)]())!==this['unitID'])return;const _0x250bd8=(_0x4383ac=this[_0x437a08(0x3bf)]['get'](_0x36eda5[_0x437a08(0x33d)])[_0x437a08(0x4b8)]())==null?void 0x0:_0x4383ac[0x0],_0x2477a0=this['_univerInstanceService']['getCurrentUnitForType'](_0x146bad[_0x437a08(0x350)]['UNIVER_SHEET'])[_0x437a08(0x150)]();_0x250bd8&&_0x2477a0&&this[_0x437a08(0x33b)](_0x2477a0[_0x437a08(0x1d4)](),_0x250bd8);}[_0x195815(0x125)](){const _0x143ce3=_0x195815;this[_0x143ce3(0x37a)]=!0x1;}};_0x3d9a4e=_0x902ca8([_0x2b87cc(0x2,_0x146bad[_0x195815(0x49b)](_0x146bad[_0x195815(0x3de)])),_0x2b87cc(0x3,_0x146bad[_0x195815(0x49b)](_0x3284dd)),_0x2b87cc(0x4,_0x146bad[_0x195815(0x49b)](_0x31c535)),_0x2b87cc(0x5,_0x146bad[_0x195815(0x40e)]),_0x2b87cc(0x6,_0x146bad[_0x195815(0xfc)]),_0x2b87cc(0x7,_0x146bad['Inject'](_0x36eda5[_0x195815(0x11d)]))],_0x3d9a4e);var _0x524ab5=Object[_0x195815(0x42d)],_0x31b646=Object[_0x195815(0x49c)],_0x289201=(_0x51cc93,_0x2310bc,_0x6bbf36,_0x15e514)=>{const _0xa8810f=_0x195815;for(var _0x237a0c=_0x15e514>0x1?void 0x0:_0x15e514?_0x31b646(_0x2310bc,_0x6bbf36):_0x2310bc,_0x4c1e9b=_0x51cc93[_0xa8810f(0x249)]-0x1,_0x522b20;_0x4c1e9b>=0x0;_0x4c1e9b--)(_0x522b20=_0x51cc93[_0x4c1e9b])&&(_0x237a0c=(_0x15e514?_0x522b20(_0x2310bc,_0x6bbf36,_0x237a0c):_0x522b20(_0x237a0c))||_0x237a0c);return _0x15e514&&_0x237a0c&&_0x524ab5(_0x2310bc,_0x6bbf36,_0x237a0c),_0x237a0c;},_0x171f24=(_0x3ffcc0,_0x1682ee)=>(_0x211782,_0xdf5dc8)=>_0x1682ee(_0x211782,_0xdf5dc8,_0x3ffcc0);let _0x235136=class extends _0x146bad[_0x195815(0x25a)]{constructor(_0x2b7bc1,_0x31596f,_0x161ad4){const _0xf2ca29=_0x195815;super(),_0x4e6809(this,_0xf2ca29(0x254),new Map()),_0x4e6809(this,_0xf2ca29(0x2f1),new _0x4926fb[(_0xf2ca29(0x328))]()),(this['_univerInstanceService']=_0x2b7bc1,this[_0xf2ca29(0x3bf)]=_0x31596f,this[_0xf2ca29(0x432)]=_0x161ad4,this[_0xf2ca29(0xf2)]());}[_0x195815(0x1d0)](){const _0x37a457=_0x195815;super[_0x37a457(0x1d0)](),this[_0x37a457(0x2f1)][_0x37a457(0x45c)](),this[_0x37a457(0x254)]['forEach'](_0x1bf31c=>_0x1bf31c[_0x37a457(0x1d0)]());}[_0x195815(0x145)](_0x4cd415){const _0x55f92b=_0x195815;return this[_0x55f92b(0x254)][_0x55f92b(0xef)](_0x4cd415)?this[_0x55f92b(0x254)][_0x55f92b(0x499)](_0x4cd415)['cursorInfo$']:this['_entityInit$'][_0x55f92b(0x424)](_0x4926fb[_0x55f92b(0x289)](_0x47945d=>_0x47945d['unitID']===_0x4cd415),_0x4926fb['switchMap'](_0x501e3e=>_0x501e3e['cursorInfo$']));}['_init'](){const _0x487be2=_0x195815;this[_0x487be2(0x151)][_0x487be2(0x4bd)](_0x146bad['UniverInstanceType'][_0x487be2(0x496)])['pipe'](_0x4926fb['takeUntil'](this[_0x487be2(0xfa)]))[_0x487be2(0x384)](async _0x1369c1=>{const _0x20e1d2=_0x487be2,_0x3d28df=_0x1369c1['getUnitId'](),_0x2d40d7=await this[_0x20e1d2(0x1b4)](_0x3d28df);this['_entityInit$']['next'](_0x2d40d7),this[_0x20e1d2(0x254)]['set'](_0x3d28df,_0x2d40d7);}),this[_0x487be2(0x151)][_0x487be2(0x4bd)](_0x146bad[_0x487be2(0x350)][_0x487be2(0x262)])['pipe'](_0x4926fb[_0x487be2(0x2e3)](this[_0x487be2(0xfa)]))[_0x487be2(0x424)](_0x4926fb['filter'](_0x2abe90=>!_0x2abe90['getUnitId']()[_0x487be2(0xd9)]('__')))[_0x487be2(0x384)](async _0x3f6091=>{const _0x448122=_0x487be2,_0x2ad236=_0x3f6091[_0x448122(0x17b)](),_0x4f6331=await this['_startDocCollabCursor'](_0x2ad236);this[_0x448122(0x2f1)][_0x448122(0x225)](_0x4f6331),this[_0x448122(0x254)][_0x448122(0x1fc)](_0x2ad236,_0x4f6331);}),_0x4926fb[_0x487be2(0x104)](this[_0x487be2(0x151)][_0x487be2(0x186)](_0x146bad[_0x487be2(0x350)][_0x487be2(0x262)]),this[_0x487be2(0x151)][_0x487be2(0x186)](_0x146bad[_0x487be2(0x350)][_0x487be2(0x496)]))[_0x487be2(0x424)](_0x4926fb[_0x487be2(0x2e3)](this[_0x487be2(0xfa)]))[_0x487be2(0x384)](_0x530177=>{const _0x297a65=_0x487be2,_0x3d26bf=_0x530177['getUnitId'](),_0x3af21f=this['_entities'][_0x297a65(0x499)](_0x3d26bf);_0x3af21f&&(_0x3af21f[_0x297a65(0x1d0)](),this[_0x297a65(0x254)][_0x297a65(0x4c5)](_0x3d26bf));});}async[_0x195815(0x1b4)](_0xf3fd09){const _0xea8fdb=_0x195815,_0x387a45=await this[_0xea8fdb(0x432)]['requireSession'](_0xf3fd09),_0x2bcedd=this[_0xea8fdb(0x3bf)][_0xea8fdb(0x26e)](_0x3d9a4e,_0xf3fd09,_0x387a45);return _0x2bcedd['init'](),_0x2bcedd;}async[_0x195815(0x469)](_0x1a0c42){const _0x523a58=_0x195815,_0x24a5fa=await this[_0x523a58(0x432)]['requireSession'](_0x1a0c42),_0x2abea3=this[_0x523a58(0x3bf)][_0x523a58(0x26e)](_0x30834c,_0x1a0c42,_0x24a5fa);return _0x2abea3[_0x523a58(0x23d)](),_0x2abea3;}};_0x235136=_0x289201([_0x171f24(0x0,_0x146bad['IUniverInstanceService']),_0x171f24(0x1,_0x146bad[_0x195815(0x49b)](_0x146bad[_0x195815(0x3de)])),_0x171f24(0x2,_0x146bad[_0x195815(0x49b)](_0x43f096['CollaborationSessionService']))],_0x235136);const _0x470238=0x14,_0x21cd48=0xc8,_0x1a7b31=0x4,_0x715f09=0x5;function _0x252e80(_0x145fd1,_0x4c3771){const _0x150e1a=_0x195815;let {radius:_0x162019,width:_0x2f9633,height:_0x384197}=_0x4c3771;_0x162019=_0x162019!=null?_0x162019:0x0,_0x2f9633=_0x2f9633!=null?_0x2f9633:0x1e,_0x384197=_0x384197!=null?_0x384197:0x1e;let _0x34b40f=0x0,_0xffcaa0=0x0,_0x23bcd2=0x0;_0x34b40f=_0xffcaa0=_0x23bcd2=Math[_0x150e1a(0x38a)](_0x162019,_0x2f9633/0x2,_0x384197/0x2),_0x145fd1[_0x150e1a(0x315)](),_0x145fd1[_0x150e1a(0x32c)](_0x34b40f,0x0),_0x145fd1['lineTo'](_0x2f9633-_0xffcaa0,0x0),_0x145fd1[_0x150e1a(0x218)](_0x2f9633-_0xffcaa0,_0xffcaa0,_0xffcaa0,Math['PI']*0x3/0x2,0x0,!0x1),_0x145fd1['lineTo'](_0x2f9633,_0x384197-_0x23bcd2),_0x145fd1[_0x150e1a(0x218)](_0x2f9633-_0x23bcd2,_0x384197-_0x23bcd2,_0x23bcd2,0x0,Math['PI']/0x2,!0x1),_0x145fd1[_0x150e1a(0x429)](0x0,_0x384197),_0x145fd1['lineTo'](0x0,_0x34b40f),_0x145fd1[_0x150e1a(0x218)](_0x34b40f,_0x34b40f,_0x34b40f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x145fd1['closePath'](),_0x4c3771[_0x150e1a(0x247)]&&(_0x145fd1['save'](),_0x145fd1[_0x150e1a(0x43f)]=_0x4c3771[_0x150e1a(0x247)],_0x4c3771[_0x150e1a(0x13e)]===_0x150e1a(0x2b3)?_0x145fd1[_0x150e1a(0x247)](_0x150e1a(0x2b3)):_0x145fd1[_0x150e1a(0x247)](),_0x145fd1[_0x150e1a(0x20d)]());}class _0x313d9b extends _0x502efe[_0x195815(0xe5)]{constructor(_0xdeddf7,_0x4ac0cf){const _0x3fe954=_0x195815;super(_0xdeddf7,_0x4ac0cf),_0x4e6809(this,_0x3fe954(0x480)),_0x4e6809(this,'text'),(this[_0x3fe954(0x480)]=_0x4ac0cf==null?void 0x0:_0x4ac0cf[_0x3fe954(0x480)],this[_0x3fe954(0x1ef)]=_0x4ac0cf==null?void 0x0:_0x4ac0cf[_0x3fe954(0x1ef)]);}static[_0x195815(0x475)](_0x4c63f5,_0x578aa6){const _0x580a4a=_0x195815,{text:_0x473a6c,color:_0x480b61}=_0x578aa6;_0x4c63f5[_0x580a4a(0x4ec)](),_0x4c63f5[_0x580a4a(0x11e)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x11a933=_0x4c63f5[_0x580a4a(0x159)](_0x473a6c)[_0x580a4a(0x4b6)],_0x2b4ad5=Math[_0x580a4a(0x38a)](_0x11a933+0x2*_0x1a7b31,_0x21cd48);_0x252e80(_0x4c63f5,{'height':_0x470238,'radius':0x4,'width':_0x2b4ad5,'fill':_0x480b61,'evented':!0x1}),_0x4c63f5[_0x580a4a(0x43f)]=_0x580a4a(0x4db);const _0x28e15d=_0x1a7b31,_0x3f45af=_0x470238-_0x715f09,_0x1d6ef3=_0x21cd48-0x2*_0x1a7b31;if(_0x11a933>_0x1d6ef3){let _0x197d08='',_0x5c0c13=0x0;for(const _0x1b5a7b of _0x473a6c){const _0x3c3a24=_0x4c63f5[_0x580a4a(0x159)](_0x1b5a7b)[_0x580a4a(0x4b6)];if(_0x5c0c13+_0x3c3a24<=_0x1d6ef3-_0x4c63f5[_0x580a4a(0x159)]('...')[_0x580a4a(0x4b6)])_0x197d08+=_0x1b5a7b,_0x5c0c13+=_0x3c3a24;else{_0x197d08+='...';break;}}_0x4c63f5[_0x580a4a(0x425)](_0x197d08,_0x28e15d,_0x3f45af);}else _0x4c63f5[_0x580a4a(0x425)](_0x473a6c,_0x28e15d,_0x3f45af);_0x4c63f5[_0x580a4a(0x20d)]();}[_0x195815(0x155)](_0x4ef49b){const _0x520c8a=_0x195815;_0x313d9b[_0x520c8a(0x475)](_0x4ef49b,this);}}const _0x520f3c=_0x195815(0x1ab),_0x4f64b9=_0x195815(0x3a6),_0x3f22cd=_0x195815(0x2c5),_0x4dfae=0x6,_0x18f874=1.5,_0x74a70e=0x4,_0x20dec1=1.5,_0x5ff8ed=_0x195815(0x43c);class _0x32510c{constructor(_0xd9de4c,_0x5e1e1d,_0x5e59a9,_0x32f0f1){const _0x3d7b57=_0x195815;_0x4e6809(this,'_shapes',[]),_0x4e6809(this,'_anchor',null),_0x4e6809(this,_0x3d7b57(0x238),null),_0x4e6809(this,_0x3d7b57(0x1eb),null),_0x4e6809(this,_0x3d7b57(0x2b5),null),_0x4e6809(this,'_eventUnsubscribe',null),(this['_cursor']=_0xd9de4c,this[_0x3d7b57(0x36f)]=_0x5e1e1d,this['_docSkeleton']=_0x5e59a9,this[_0x3d7b57(0x489)]=_0x32f0f1,this[_0x3d7b57(0x41c)]());}set[_0x195815(0x1c9)](_0x375bae){const _0x3e6c43=_0x195815;_0x375bae?(this[_0x3e6c43(0x1eb)]&&this[_0x3e6c43(0x1eb)][_0x3e6c43(0x206)](),this[_0x3e6c43(0x238)]&&this[_0x3e6c43(0x238)]['show']()):(this['_anchorDot']&&this['_anchorDot'][_0x3e6c43(0x1c6)](),this[_0x3e6c43(0x238)]&&this[_0x3e6c43(0x238)][_0x3e6c43(0x206)]());}['dispose'](){const _0x35008b=_0x195815;for(const _0x431905 of this['_shapes'])_0x431905['dispose']();this[_0x35008b(0x238)]&&this[_0x35008b(0x238)][_0x35008b(0x1d0)](),this[_0x35008b(0x1eb)]&&this[_0x35008b(0x1eb)][_0x35008b(0x1d0)](),this[_0x35008b(0x28c)]&&this['_anchor'][_0x35008b(0x1d0)](),this['_eventUnsubscribe']&&this[_0x35008b(0x2a7)]();}['_render'](){const _0x22b54a=_0x195815;var _0x122789;const {_docSkeleton:_0xc59f4d,_document:_0x2a20ad}=this,{color:_0xef44bf,name:_0x4fcd5a,ranges:_0x320f33}=this[_0x22b54a(0x3d9)],_0x2f0dae=_0x2a20ad[_0x22b54a(0x396)](),{docsLeft:_0x45e1d9,docsTop:_0xd828a2}=_0x2f0dae,_0x5dce7c=new _0x582f5a['NodePositionConvertToCursor'](_0x2f0dae,_0xc59f4d);for(const {startOffset:_0x1ee918,endOffset:_0x404ec5,collapsed:_0x31b8e6,isActive:_0x4c1903}of _0x320f33){const _0x2abc33=_0xc59f4d[_0x22b54a(0x47c)](_0x1ee918),_0x55ebc0=_0xc59f4d['findNodePositionByCharIndex'](_0x404ec5);if(_0x4c1903){const {contentBoxPointGroup:_0x3d401b}=_0x5dce7c[_0x22b54a(0x423)](_0x55ebc0,_0x55ebc0);if(_0x3d401b[_0x22b54a(0x249)]===0x0)continue;this[_0x22b54a(0x4e5)](_0xef44bf,_0x3d401b,_0x45e1d9,_0xd828a2,_0x4fcd5a),this['_eventUnsubscribe']=this['_handleHover']();}if(!_0x31b8e6&&_0x2abc33&&_0x55ebc0){if(_0x582f5a[_0x22b54a(0x430)](_0x2abc33,_0x55ebc0)){const _0x338f9f=new _0x582f5a[(_0x22b54a(0x24b))](_0x2f0dae,_0xc59f4d),{pointGroup:_0x4d5906}=(_0x122789=_0x338f9f[_0x22b54a(0x423)](_0x2abc33,_0x55ebc0))!=null?_0x122789:{};if(_0x4d5906==null||_0x4d5906['length']===0x0)continue;this[_0x22b54a(0x10e)](_0xef44bf,_0x4d5906,_0x45e1d9,_0xd828a2);}else{const {contentBoxPointGroup:_0xdf6fd3}=_0x5dce7c[_0x22b54a(0x423)](_0x2abc33,_0x55ebc0);if(_0xdf6fd3[_0x22b54a(0x249)]===0x0)continue;this[_0x22b54a(0x3a7)](_0xef44bf,_0xdf6fd3,_0x45e1d9,_0xd828a2);}}}}[_0x195815(0x4e5)](_0x389418,_0x41af5b,_0x2239f4,_0x3229c9,_0x26ab9a){const _0x1cccf0=_0x195815,_0x17ee86=this[_0x1cccf0(0x3ff)](_0x41af5b),{left:_0x2fc28e,top:_0x27e99e,height:_0x1987d1}=_0x17ee86,_0x51fe01=this[_0x1cccf0(0x4a8)](),_0x1b64b5=_0x20dec1/_0x51fe01,_0x13e711=new _0x502efe['Rect'](_0x520f3c+_0x146bad[_0x1cccf0(0x3c8)][_0x1cccf0(0x162)](_0x4dfae),{'left':_0x2fc28e+_0x2239f4-_0x1b64b5,'top':_0x27e99e+_0x3229c9,'height':_0x1987d1,'width':_0x18f874,'fill':_0x389418||_0x502efe[_0x1cccf0(0x412)](_0x146bad[_0x1cccf0(0x17d)][_0x1cccf0(0x4dc)],0x0),'strokeWidth':_0x1b64b5,'stroke':_0x5ff8ed,'evented':!0x0});this[_0x1cccf0(0x28c)]=_0x13e711,this[_0x1cccf0(0x36f)][_0x1cccf0(0x307)](_0x13e711,_0x582f5a[_0x1cccf0(0x1e6)]);const _0x33d2c2=new _0x502efe[(_0x1cccf0(0x4d4))](_0x520f3c+_0x146bad['Tools'][_0x1cccf0(0x162)](_0x4dfae),{'left':_0x2fc28e+_0x2239f4-_0x1b64b5,'top':_0x27e99e+_0x3229c9-_0x74a70e/0x2,'height':_0x74a70e,'width':_0x74a70e,'fill':_0x389418||_0x502efe[_0x1cccf0(0x412)](_0x146bad[_0x1cccf0(0x17d)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x389418||_0x502efe[_0x1cccf0(0x412)](_0x146bad[_0x1cccf0(0x17d)][_0x1cccf0(0x4dc)],0x0),'evented':!0x1});this[_0x1cccf0(0x1eb)]=_0x33d2c2,this[_0x1cccf0(0x36f)][_0x1cccf0(0x307)](_0x33d2c2,_0x582f5a['TEXT_RANGE_LAYER_INDEX']);const _0x584d9f=new _0x313d9b(_0x520f3c+_0x146bad[_0x1cccf0(0x3c8)][_0x1cccf0(0x162)](_0x4dfae),{'left':_0x2fc28e+_0x2239f4-_0x1b64b5,'top':_0x27e99e+_0x3229c9-_0x470238,'text':_0x26ab9a,'color':_0x389418});this['_textBubble']=_0x584d9f,this[_0x1cccf0(0x36f)][_0x1cccf0(0x307)](_0x584d9f,_0x582f5a[_0x1cccf0(0x1e6)]),this[_0x1cccf0(0x1c9)]=!0x1;}[_0x195815(0x2b0)](){const _0x5a8b37=_0x195815,_0x11814d=this[_0x5a8b37(0x28c)]['onPointerEnter$'][_0x5a8b37(0x305)](()=>{const _0x3e0c81=_0x5a8b37;this[_0x3e0c81(0x1c9)]=!0x0;}),_0xdd0adc=this[_0x5a8b37(0x28c)][_0x5a8b37(0x4aa)][_0x5a8b37(0x305)](()=>{const _0x2c5f35=_0x5a8b37;this[_0x2c5f35(0x2b5)]&&clearTimeout(this['_hideTimer']),this[_0x2c5f35(0x2b5)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x2eb371=_0x5a8b37;_0x11814d[_0x2eb371(0x205)](),_0xdd0adc['unsubscribe']();};}[_0x195815(0x3a7)](_0x212619,_0x22f970,_0x4fa8a8,_0x117e88){const _0xb4e56a=_0x195815,_0x3e5eb4=new _0x146bad[(_0xb4e56a(0x2c0))](_0x212619)[_0xb4e56a(0x248)](0.2)[_0xb4e56a(0x286)](),_0xc1c690=new _0x502efe[(_0xb4e56a(0x2c9))](_0x4f64b9+_0x146bad[_0xb4e56a(0x3c8)]['generateRandomId'](_0x4dfae),{'pointsGroup':_0x22f970,'fill':_0x3e5eb4||_0x502efe[_0xb4e56a(0x412)](_0x146bad[_0xb4e56a(0x17d)]['black'],0.2),'left':_0x4fa8a8,'top':_0x117e88,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0xc1c690),this[_0xb4e56a(0x36f)][_0xb4e56a(0x307)](_0xc1c690,_0x582f5a[_0xb4e56a(0x1e6)]);}[_0x195815(0x10e)](_0x3c9831,_0x4562b,_0xed163c,_0x328742){const _0x3eadcb=_0x195815,_0x143d41=new _0x146bad[(_0x3eadcb(0x2c0))](_0x3c9831)[_0x3eadcb(0x248)](0.2)[_0x3eadcb(0x286)](),_0x37f925=new _0x502efe[(_0x3eadcb(0x2c9))](_0x3f22cd+_0x146bad[_0x3eadcb(0x3c8)][_0x3eadcb(0x162)](_0x4dfae),{'pointsGroup':_0x4562b,'fill':_0x143d41||_0x502efe[_0x3eadcb(0x412)](_0x146bad['COLORS'][_0x3eadcb(0x4dc)],0.2),'left':_0xed163c,'top':_0x328742,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3eadcb(0x4b4)][_0x3eadcb(0x4ce)](_0x37f925),this[_0x3eadcb(0x36f)][_0x3eadcb(0x307)](_0x37f925,_0x582f5a['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x10b809){const _0x4688e9=_0x10b809[0x0],_0x129f7b=_0x4688e9[0x0],_0x33d8ee=_0x4688e9[0x2],{x:_0x1ea5f1,y:_0x54ba4f}=_0x129f7b,{x:_0x2fb2d3,y:_0x2b350b}=_0x33d8ee;return{'left':_0x1ea5f1,'top':_0x54ba4f,'width':_0x2fb2d3-_0x1ea5f1,'height':_0x2b350b-_0x54ba4f};}[_0x195815(0x4a8)](){const _0x555a59=_0x195815,{scaleX:_0x3c1dc7,scaleY:_0x568864}=this[_0x555a59(0x36f)][_0x555a59(0x196)]();return Math[_0x555a59(0x1d3)](_0x3c1dc7,_0x568864);}}var _0x192ade=Object[_0x195815(0x42d)],_0x40a7f0=Object[_0x195815(0x49c)],_0x2ec173=(_0x4f3719,_0x36841d,_0x1cb2f0,_0x47f43b)=>{const _0x21dd5f=_0x195815;for(var _0x7e9433=_0x47f43b>0x1?void 0x0:_0x47f43b?_0x40a7f0(_0x36841d,_0x1cb2f0):_0x36841d,_0x36f7d2=_0x4f3719[_0x21dd5f(0x249)]-0x1,_0x4803b6;_0x36f7d2>=0x0;_0x36f7d2--)(_0x4803b6=_0x4f3719[_0x36f7d2])&&(_0x7e9433=(_0x47f43b?_0x4803b6(_0x36841d,_0x1cb2f0,_0x7e9433):_0x4803b6(_0x7e9433))||_0x7e9433);return _0x47f43b&&_0x7e9433&&_0x192ade(_0x36841d,_0x1cb2f0,_0x7e9433),_0x7e9433;},_0x119bde=(_0x5c4f12,_0x26a75c)=>(_0x42d3a9,_0x627dbb)=>_0x26a75c(_0x42d3a9,_0x627dbb,_0x5c4f12);let _0x725cea=class extends _0x146bad['RxDisposable']{constructor(_0x5f09aa,_0xeea62d,_0x27da2d,_0x22c33c,_0x566d3f){const _0x21d87b=_0x195815;super(),_0x4e6809(this,_0x21d87b(0x410),[]),_0x4e6809(this,'_cursors',[]),(this[_0x21d87b(0x479)]=_0x5f09aa,this[_0x21d87b(0x3d7)]=_0xeea62d,this[_0x21d87b(0x3a1)]=_0x27da2d,this[_0x21d87b(0x193)]=_0x22c33c,this['_themeService']=_0x566d3f,this[_0x21d87b(0xf2)]());}[_0x195815(0xf2)](){const _0x2d06a1=_0x195815,_0x5ef7c3=this[_0x2d06a1(0x479)][_0x2d06a1(0x494)],_0x4f950d=this[_0x2d06a1(0x3d7)];this[_0x2d06a1(0x124)](_0x4926fb[_0x2d06a1(0x296)]([this['_collabCursorController']['getCollabCursors$'](_0x5ef7c3),this['_themeService'][_0x2d06a1(0x46a)]])['pipe'](_0x2d4b5d[_0x2d06a1(0x371)](([_0x12f274,_0x54415c])=>({'skeleton':_0x4f950d[_0x2d06a1(0x29a)](),'cursors':[..._0x12f274[_0x2d06a1(0x463)]()]['flatMap'](_0x341847=>({..._0x341847,'color':_0x54415c[_0x341847['color']]}))})))[_0x2d06a1(0x384)](_0x25441d=>{const _0x19bbc0=_0x2d06a1;if(this['_removeCollabCursors'](),_0x25441d){const {skeleton:_0x45e98a,cursors:_0x4330c9}=_0x25441d;this[_0x19bbc0(0x488)](_0x45e98a,_0x4330c9);}})),this[_0x2d06a1(0x3ba)](),this[_0x2d06a1(0x1b7)]();}['_updateCollabCursors'](_0x269f98,_0x3224f8){const _0x249423=_0x195815,{scene:_0x2fca65,mainComponent:_0x52c695}=this['_context'],_0x1fa27b=_0x3224f8['map'](_0x95af02=>new _0x32510c(_0x95af02,_0x2fca65,_0x269f98,_0x52c695));this[_0x249423(0x410)]=_0x1fa27b,this[_0x249423(0x222)]=_0x3224f8;}[_0x195815(0x304)](){const _0x3b244c=_0x195815;this[_0x3b244c(0x36e)]();const {scene:_0x3a16b2,mainComponent:_0x469732}=this[_0x3b244c(0x479)],_0x40c06e=this[_0x3b244c(0x3d7)][_0x3b244c(0x29a)](),_0x456ca1=this['_cursors'][_0x3b244c(0x371)](_0x3d077d=>new _0x32510c(_0x3d077d,_0x3a16b2,_0x40c06e,_0x469732));this['_cursorShapes']=_0x456ca1;}['_removeCollabCursors'](){const _0x2c060e=_0x195815;this[_0x2c060e(0x410)][_0x2c060e(0x1d8)](_0x5eea55=>_0x5eea55['dispose']()),this[_0x2c060e(0x410)]=[];}[_0x195815(0x1b7)](){const _0x4b2bec=_0x195815,_0x36c968=[_0x582f5a['SetDocZoomRatioOperation']['id']];this[_0x4b2bec(0x124)](this[_0x4b2bec(0x193)][_0x4b2bec(0x24d)](_0x2364d4=>{const _0x2ed42a=_0x4b2bec;_0x36c968[_0x2ed42a(0x4bc)](_0x2364d4['id'])&&_0x2364d4[_0x2ed42a(0x24f)][_0x2ed42a(0x494)]===this[_0x2ed42a(0x479)][_0x2ed42a(0x494)]&&this['_refreshCollabCursors']();}));}[_0x195815(0x3ba)](){const _0x8b01e8=_0x195815;this[_0x8b01e8(0x124)](_0x146bad['fromEventSubject'](this[_0x8b01e8(0x479)]['engine'][_0x8b01e8(0xd3)])[_0x8b01e8(0x424)](_0x2d4b5d['filter'](_0x7818af=>_0x7818af[_0x8b01e8(0x3f9)]===_0x502efe['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x8b01e8(0x2ad)]),_0x2d4b5d[_0x8b01e8(0x2b8)](0x10))[_0x8b01e8(0x384)](()=>{const _0x23bbfe=_0x8b01e8;this[_0x23bbfe(0x304)]();}));}};_0x725cea=_0x2ec173([_0x119bde(0x1,_0x146bad[_0x195815(0x49b)](_0x2d7433['DocSkeletonManagerService'])),_0x119bde(0x2,_0x146bad[_0x195815(0x49b)](_0x235136)),_0x119bde(0x3,_0x146bad[_0x195815(0xfc)]),_0x119bde(0x4,_0x146bad[_0x195815(0x49b)](_0x146bad[_0x195815(0x2f2)]))],_0x725cea);const _0x1a7da4=0x1,_0x32b027=1.5;class _0x5bb06f extends _0x502efe['Shape']{constructor(_0x42b930,_0x50d55c){const _0x5cbbff=_0x195815;super(_0x42b930,_0x50d55c),_0x4e6809(this,_0x5cbbff(0x280)),_0x4e6809(this,_0x5cbbff(0xd4),!0x1),_0x4e6809(this,_0x5cbbff(0x3ac)),_0x4e6809(this,_0x5cbbff(0x111),''),_0x4e6809(this,_0x5cbbff(0x45a),'top'),_0x4e6809(this,'_backgroundColor'),(_0x50d55c&&this[_0x5cbbff(0x1d6)](_0x50d55c),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x5cbbff(0x1d6)]({'hovered':!0x0})),this[_0x5cbbff(0x4aa)]['subscribeEvent'](()=>this[_0x5cbbff(0x1d6)]({'hovered':!0x1})));}[_0x195815(0x1d6)](_0x10c343){const _0x224535=_0x195815;var _0x1976d2,_0x522ea6,_0x41dd22,_0x5a352d,_0x1e5b3c,_0x528d32;this['_color']=(_0x1976d2=_0x10c343['color'])!=null?_0x1976d2:this[_0x224535(0x280)],this['_hovered']=(_0x522ea6=_0x10c343['hovered'])!=null?_0x522ea6:this[_0x224535(0xd4)],this[_0x224535(0x3ac)]=(_0x41dd22=_0x10c343[_0x224535(0x1b9)])!=null?_0x41dd22:this[_0x224535(0x3ac)],this[_0x224535(0x111)]=(_0x5a352d=_0x10c343[_0x224535(0x137)])!=null?_0x5a352d:this[_0x224535(0x111)],this[_0x224535(0x45a)]=(_0x1e5b3c=_0x10c343[_0x224535(0x33f)])!=null?_0x1e5b3c:this[_0x224535(0x45a)],this[_0x224535(0x12b)]=(_0x528d32=_0x10c343['backgroundColor'])!=null?_0x528d32:this[_0x224535(0x12b)],this[_0x224535(0x228)]({'width':_0x10c343[_0x224535(0x4b6)],'height':_0x10c343['height']});}['onMouseMove'](_0x4778a6){const _0x322db9=_0x195815,{row:_0x24cf21,column:_0x2dc7e3}=_0x4778a6;if(_0x24cf21>=this[_0x322db9(0x3ac)]['startRow']&&_0x24cf21<=this[_0x322db9(0x3ac)][_0x322db9(0xfd)]&&_0x2dc7e3>=this[_0x322db9(0x3ac)][_0x322db9(0x2ce)]&&_0x2dc7e3<=this[_0x322db9(0x3ac)]['endColumn']){this[_0x322db9(0x1d6)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x195815(0x3c9)](_0x417d87){return!0x1;}['_draw'](_0x238715){const _0x40ef33=_0x195815;_0x502efe[_0x40ef33(0x4d4)][_0x40ef33(0x475)](_0x238715,{'width':this['width'],'height':this[_0x40ef33(0x421)],'strokeWidth':_0x32b027,'stroke':this[_0x40ef33(0x280)],'evented':!0x1,'fill':this[_0x40ef33(0x12b)]}),this[_0x40ef33(0xd4)]&&(_0x238715[_0x40ef33(0x4ec)](),_0x238715[_0x40ef33(0x3cc)](0x1,0x0,0x0,0x1,this[_0x40ef33(0x4b6)],this[_0x40ef33(0x45a)]==='bottom'?0x0:-_0x470238),_0x313d9b['drawWith'](_0x238715,{'text':this[_0x40ef33(0x111)],'color':this[_0x40ef33(0x280)]}),_0x238715['restore']());}}var _0x45e4a3=Object['defineProperty'],_0x48fd91=Object[_0x195815(0x49c)],_0x3d6c4d=(_0x5b5470,_0x3373d0,_0x2d2ae9,_0x40b8f6)=>{const _0x47e34d=_0x195815;for(var _0xfe385=_0x40b8f6>0x1?void 0x0:_0x40b8f6?_0x48fd91(_0x3373d0,_0x2d2ae9):_0x3373d0,_0x1fb239=_0x5b5470[_0x47e34d(0x249)]-0x1,_0x36d060;_0x1fb239>=0x0;_0x1fb239--)(_0x36d060=_0x5b5470[_0x1fb239])&&(_0xfe385=(_0x40b8f6?_0x36d060(_0x3373d0,_0x2d2ae9,_0xfe385):_0x36d060(_0xfe385))||_0xfe385);return _0x40b8f6&&_0xfe385&&_0x45e4a3(_0x3373d0,_0x2d2ae9,_0xfe385),_0xfe385;},_0x37dce7=(_0x7b2327,_0x224a1c)=>(_0x44ffa0,_0xcd53ad)=>_0x224a1c(_0x44ffa0,_0xcd53ad,_0x7b2327);const _0x2f9f0f=0x1389;let _0x3ffc05=class extends _0x146bad[_0x195815(0x25a)]{constructor(_0x2851d7,_0x3e3a44,_0x3696da,_0x30bb65){const _0x7ec059=_0x195815;super(),_0x4e6809(this,_0x7ec059(0x222),new Set()),_0x4e6809(this,_0x7ec059(0x2a4),null),(this[_0x7ec059(0x479)]=_0x2851d7,this[_0x7ec059(0xe7)]=_0x3e3a44,this['_collabCursorController']=_0x3696da,this[_0x7ec059(0x3ce)]=_0x30bb65,this[_0x7ec059(0xf2)]());}[_0x195815(0xf2)](){const _0x401832=_0x195815;this['_sheetSkeletonManagerService'][_0x401832(0x3f4)]['pipe'](_0x2d4b5d[_0x401832(0x2e3)](this['dispose$']),_0x2d4b5d[_0x401832(0x12f)](_0x17c667=>{const _0x27215d=_0x401832;if(_0x17c667){const _0x44f14d=_0x17c667[_0x27215d(0x442)];return _0x4926fb[_0x27215d(0x296)](this[_0x27215d(0x3a1)]['getCollabCursors$'](this[_0x27215d(0x479)][_0x27215d(0x494)]),this['_themeService'][_0x27215d(0x46a)])[_0x27215d(0x424)](_0x2d4b5d[_0x27215d(0x371)](([_0x5e794c,_0x1d73f6])=>{const _0x4feca1=_0x27215d,_0x22e6b4=new Map();return _0x5e794c[_0x4feca1(0x1d8)]((_0x7959bf,_0x183ec2)=>{const _0xd81908=_0x4feca1;if(_0x7959bf[_0xd81908(0x470)]===_0x44f14d){const _0x802fef={..._0x7959bf};_0x802fef[_0xd81908(0x480)]=_0x1d73f6[_0x7959bf[_0xd81908(0x480)]],_0x22e6b4[_0xd81908(0x1fc)](_0x183ec2,_0x802fef);}}),{'skeleton':_0x17c667,'cursors':_0x22e6b4};}));}return _0x4926fb['of']({'skeleton':null,'cursors':new Map()});}))[_0x401832(0x384)](({skeleton:_0x15f0b1,cursors:_0x2924d1})=>{const _0x3829c9=_0x401832;this[_0x3829c9(0x36e)](),_0x15f0b1&&this[_0x3829c9(0x488)](_0x15f0b1,_0x2924d1);}),this['_sheetSkeletonManagerService'][_0x401832(0x3f4)][_0x401832(0x384)](_0x39647a=>{const _0x54a4c2=_0x401832;if(_0x39647a==null)return;const {skeleton:_0x288d3b}=_0x39647a,{scene:_0x539cf1}=this[_0x54a4c2(0x479)];_0x539cf1[_0x54a4c2(0x12c)][_0x54a4c2(0x305)](_0x146bad['debounce'](_0x28ee92=>{const _0x4ed1c5=_0x54a4c2;var _0x573a58,_0x3dde3c;const {offsetX:_0x35b50a,offsetY:_0x47f45b}=_0x28ee92,{x:_0x1e9067,y:_0x463bf0}=_0x539cf1[_0x4ed1c5(0x4ac)](_0x502efe[_0x4ed1c5(0x29f)][_0x4ed1c5(0x3d4)]([_0x35b50a,_0x47f45b])),{scaleX:_0x463ec3,scaleY:_0x7c2c83}=_0x539cf1[_0x4ed1c5(0x196)](),_0x5e8b62=_0x539cf1[_0x4ed1c5(0x241)](_0x354d6d[_0x4ed1c5(0x1bb)]['VIEW_MAIN']),_0x3c30f0=_0x539cf1[_0x4ed1c5(0x4b3)](_0x502efe[_0x4ed1c5(0x29f)][_0x4ed1c5(0x3d4)]([_0x1e9067,_0x463bf0]),_0x5e8b62),_0x215bec=_0x288d3b[_0x4ed1c5(0x26c)](_0x35b50a,_0x47f45b,_0x463ec3,_0x7c2c83,_0x3c30f0);((_0x573a58=this[_0x4ed1c5(0x2a4)])==null?void 0x0:_0x573a58['column'])===_0x215bec[_0x4ed1c5(0x3db)]&&((_0x3dde3c=this[_0x4ed1c5(0x2a4)])==null?void 0x0:_0x3dde3c['row'])===_0x215bec[_0x4ed1c5(0x47a)]||this[_0x4ed1c5(0x222)][_0x4ed1c5(0x1d8)](_0x23e769=>{const _0x39a8d2=_0x4ed1c5;_0x23e769[_0x39a8d2(0x18c)](_0x215bec);});},0x64));});}['_updateCollabCursors'](_0x58f3cb,_0x4c0f74){const _0x4f40ed=_0x195815;var _0x193309;const _0x36f393=(_0x193309=this['_sheetSkeletonManagerService'][_0x4f40ed(0x4af)]())==null?void 0x0:_0x193309[_0x4f40ed(0x485)];if(!_0x36f393)return;const _0x113e5b=this[_0x4f40ed(0x1ea)]();if(!_0x113e5b)return;this[_0x4f40ed(0x222)][_0x4f40ed(0x1d8)](_0x422d31=>{const _0x34afc1=_0x4f40ed;_0x422d31[_0x34afc1(0x1bc)]();});const {scene:_0x2aa449}=_0x113e5b,_0x1ba6f9=_0x184502(Array['from'](_0x4c0f74[_0x4f40ed(0x463)]()))[_0x4f40ed(0x371)](_0x58d8c7=>{const _0x118958=_0x4f40ed,{color:_0x791786,range:_0x5e2965,name:_0x81a6dc,selection:_0x39c901,sheetID:_0x320692}=_0x58d8c7,{startColumn:_0x56f36a,startRow:_0xe549c4,endColumn:_0x2a20b4,endRow:_0x1a07ae}=_0x5e2965,_0xb3aad8=_0x354d6d[_0x118958(0x10a)](_0xe549c4,_0x56f36a,_0x2aa449,_0x36f393),_0x5ab9a4=_0x354d6d[_0x118958(0x10a)](_0x1a07ae,_0x2a20b4,_0x2aa449,_0x36f393),{columnHeaderHeightAndMarginTop:_0x58d5fb}=_0x36f393,{startX:_0x2cbb1d,startY:_0xae902e}=_0xb3aad8,{endX:_0xdf6de4,endY:_0x2461ca}=_0x5ab9a4,_0x255e4a=_0xdf6de4-_0x2cbb1d,_0x36ee22=_0x2461ca-_0xae902e,_0x411e54={'labelPosition':_0xae902e-_0x58d5fb>=_0x470238?_0x118958(0x15d):'bottom','sheetID':_0x320692,'range':_0x5e2965,'color':_0x791786,'name':_0x81a6dc,'selection':_0x39c901,'left':_0x2cbb1d,'top':_0xae902e,'width':_0x255e4a,'height':_0x36ee22,'evented':!0x1,'zIndex':_0x2f9f0f};return new _0x5bb06f(_0x81a6dc,_0x411e54);});_0x2aa449[_0x4f40ed(0x31f)](_0x1ba6f9,_0x1a7da4),this['_cursors']=new Set(_0x1ba6f9);}['_removeCollabCursors'](){const _0xef8179=_0x195815;var _0x431208;(_0x431208=this[_0xef8179(0x222)])==null||_0x431208['forEach'](_0x41cfe7=>_0x41cfe7[_0xef8179(0x1d0)]());}[_0x195815(0x1ea)](){const _0x4659ab=_0x195815;return _0x354d6d['getSheetObject'](this['_context'][_0x4659ab(0x2a2)],this[_0x4659ab(0x479)]);}};_0x3ffc05=_0x3d6c4d([_0x37dce7(0x1,_0x146bad[_0x195815(0x49b)](_0x354d6d[_0x195815(0x1d5)])),_0x37dce7(0x2,_0x146bad['Inject'](_0x235136)),_0x37dce7(0x3,_0x146bad[_0x195815(0x49b)](_0x146bad[_0x195815(0x2f2)]))],_0x3ffc05);function _0x184502(_0x30b1ea){const _0x1c174c=_0x195815,_0x3dfce9=new Map();return _0x30b1ea[_0x1c174c(0x1d8)](_0x315293=>{const _0xb89b70=_0x1c174c;if(_0x3dfce9[_0xb89b70(0xef)](_0x315293[_0xb89b70(0x395)])){const _0x3e41d2=_0x3dfce9[_0xb89b70(0x499)](_0x315293[_0xb89b70(0x395)]);_0x3e41d2[_0xb89b70(0x137)]+=',\x20'+_0x315293[_0xb89b70(0x137)];}else _0x3dfce9[_0xb89b70(0x1fc)](_0x315293[_0xb89b70(0x395)],_0x315293);}),Array[_0x1c174c(0x4d9)](_0x3dfce9[_0x1c174c(0x463)]());}var _0x367551=function(){const _0x1c7301=_0x195815;return _0x367551=Object[_0x1c7301(0x3b6)]||function(_0x7a73e6){const _0xcfdfce=_0x1c7301;for(var _0x4dda04,_0x2d892c=0x1,_0xdf9560=arguments[_0xcfdfce(0x249)];_0x2d892c<_0xdf9560;_0x2d892c++){_0x4dda04=arguments[_0x2d892c];for(var _0x25de3a in _0x4dda04)Object[_0xcfdfce(0x1dd)]['hasOwnProperty']['call'](_0x4dda04,_0x25de3a)&&(_0x7a73e6[_0x25de3a]=_0x4dda04[_0x25de3a]);}return _0x7a73e6;},_0x367551['apply'](this,arguments);},_0x32ad7b=function(_0x1a83f3,_0x2d0526){const _0x477601=_0x195815;var _0xd39f67={};for(var _0x1ece29 in _0x1a83f3)Object['prototype'][_0x477601(0x1af)][_0x477601(0x230)](_0x1a83f3,_0x1ece29)&&_0x2d0526[_0x477601(0x13b)](_0x1ece29)<0x0&&(_0xd39f67[_0x1ece29]=_0x1a83f3[_0x1ece29]);if(_0x1a83f3!=null&&typeof Object[_0x477601(0x1f9)]==_0x477601(0x176)){for(var _0x30b1b5=0x0,_0x1ece29=Object['getOwnPropertySymbols'](_0x1a83f3);_0x30b1b5<_0x1ece29[_0x477601(0x249)];_0x30b1b5++)_0x2d0526[_0x477601(0x13b)](_0x1ece29[_0x30b1b5])<0x0&&Object[_0x477601(0x1dd)][_0x477601(0x266)]['call'](_0x1a83f3,_0x1ece29[_0x30b1b5])&&(_0xd39f67[_0x1ece29[_0x30b1b5]]=_0x1a83f3[_0x1ece29[_0x30b1b5]]);}return _0xd39f67;},_0x41b8c5=_0x2ba1fa[_0x195815(0x385)](function(_0x925937,_0x5608ba){const _0x236702=_0x195815;var _0x43b936=_0x925937['icon'],_0x17f661=_0x925937['id'],_0x3fe0e8=_0x925937[_0x236702(0x2ea)],_0x561aba=_0x925937['extend'],_0x29717=_0x32ad7b(_0x925937,[_0x236702(0x2c6),'id',_0x236702(0x2ea),_0x236702(0x27a)]),_0x5a7a0b='univerjs-icon\x20univerjs-icon-'[_0x236702(0x2a8)](_0x17f661,'\x20')[_0x236702(0x2a8)](_0x3fe0e8||'')['trim'](),_0x38e5ff=_0x2ba1fa[_0x236702(0x1e7)]('_'[_0x236702(0x2a8)](_0x39a9db()));return _0x69b5b6(_0x43b936,''['concat'](_0x17f661),{'defIds':_0x43b936['defIds'],'idSuffix':_0x38e5ff[_0x236702(0x102)]},_0x367551({'ref':_0x5608ba,'className':_0x5a7a0b},_0x29717),_0x561aba);});function _0x69b5b6(_0xbe9e43,_0x137fa9,_0x5398b1,_0x1f5fef,_0x30fc7c){const _0x30e3a9=_0x195815;return _0x2ba1fa[_0x30e3a9(0x1bf)](_0xbe9e43[_0x30e3a9(0x4f4)],_0x367551(_0x367551({'key':_0x137fa9},_0x220ee9(_0xbe9e43,_0x5398b1,_0x30fc7c)),_0x1f5fef),(_0x1ee1ab(_0xbe9e43,_0x5398b1)['children']||[])[_0x30e3a9(0x371)](function(_0x10dbd4,_0x775c2d){const _0x10ecd2=_0x30e3a9;return _0x69b5b6(_0x10dbd4,''[_0x10ecd2(0x2a8)](_0x137fa9,'-')[_0x10ecd2(0x2a8)](_0xbe9e43[_0x10ecd2(0x4f4)],'-')[_0x10ecd2(0x2a8)](_0x775c2d),_0x5398b1,void 0x0,_0x30fc7c);}));}function _0x220ee9(_0x6bb45b,_0x393d81,_0x31a1b2){const _0x35e211=_0x195815;var _0x591f65=_0x367551({},_0x6bb45b[_0x35e211(0x264)]);_0x31a1b2!=null&&_0x31a1b2[_0x35e211(0x3e0)]&&_0x591f65[_0x35e211(0x247)]==='colorChannel1'&&(_0x591f65[_0x35e211(0x247)]=_0x31a1b2[_0x35e211(0x3e0)]);var _0x3525d6=_0x393d81['defIds'];return!_0x3525d6||_0x3525d6['length']===0x0||(_0x6bb45b[_0x35e211(0x4f4)]===_0x35e211(0x33c)&&_0x591f65[_0x35e211(0x3b4)]&&(_0x591f65[_0x35e211(0x3b4)]=_0x591f65['xlink:href']+_0x393d81[_0x35e211(0x298)]),Object[_0x35e211(0x370)](_0x591f65)[_0x35e211(0x1d8)](function(_0x14d1c7){const _0x43f9ce=_0x35e211;var _0x427c64=_0x14d1c7[0x0],_0x42186a=_0x14d1c7[0x1];typeof _0x42186a==_0x43f9ce(0x382)&&(_0x591f65[_0x427c64]=_0x42186a[_0x43f9ce(0x2b2)](/url\(#(.*)\)/,_0x43f9ce(0x3fd)['concat'](_0x393d81[_0x43f9ce(0x298)],')')));})),_0x591f65;}function _0x1ee1ab(_0x1b3a93,_0x58c1ff){const _0x488beb=_0x195815;var _0x4429de,_0x407f6b=_0x58c1ff[_0x488beb(0x168)];return!_0x407f6b||_0x407f6b['length']===0x0?_0x1b3a93:_0x1b3a93['tag']===_0x488beb(0x19a)&&(!((_0x4429de=_0x1b3a93['children'])===null||_0x4429de===void 0x0)&&_0x4429de[_0x488beb(0x249)])?_0x367551(_0x367551({},_0x1b3a93),{'children':_0x1b3a93[_0x488beb(0x3be)][_0x488beb(0x371)](function(_0x54e730){const _0x59cafc=_0x488beb;return typeof _0x54e730[_0x59cafc(0x264)]['id']==_0x59cafc(0x382)&&_0x407f6b&&_0x407f6b[_0x59cafc(0x13b)](_0x54e730[_0x59cafc(0x264)]['id'])>-0x1?_0x367551(_0x367551({},_0x54e730),{'attrs':_0x367551(_0x367551({},_0x54e730[_0x59cafc(0x264)]),{'id':_0x54e730[_0x59cafc(0x264)]['id']+_0x58c1ff[_0x59cafc(0x298)]})}):_0x54e730;})}):_0x1b3a93;}function _0x39a9db(){const _0x2c7051=_0x195815;return Math['random']()[_0x2c7051(0x356)](0x24)[_0x2c7051(0x200)](0x2,0x8);}_0x41b8c5[_0x195815(0x3aa)]='UniverIcon';var _0x3b6585={'tag':_0x195815(0x25d),'attrs':{'fill':'none','viewBox':_0x195815(0x498),'width':_0x195815(0x4e7),'height':_0x195815(0x4e7)},'children':[{'tag':'g','attrs':{'clipPath':_0x195815(0x2d6)},'children':[{'tag':_0x195815(0xe9),'attrs':{'stroke':'currentColor','d':'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','strokeLinecap':_0x195815(0x2ed),'strokeLinejoin':_0x195815(0x2ed),'strokeWidth':1.2}}]},{'tag':_0x195815(0x19a),'attrs':{},'children':[{'tag':_0x195815(0x46b),'attrs':{'id':_0x195815(0xd2)},'children':[{'tag':'path','attrs':{'fill':_0x195815(0x34c),'d':_0x195815(0x294)}}]}]}],'defIds':[_0x195815(0xd2)]},_0xdd4946=_0x2ba1fa['forwardRef'](function(_0x28e118,_0x567e5e){const _0x3fca43=_0x195815;return _0x2ba1fa[_0x3fca43(0x1bf)](_0x41b8c5,Object[_0x3fca43(0x3b6)]({},_0x28e118,{'id':_0x3fca43(0x118),'ref':_0x567e5e,'icon':_0x3b6585}));});_0xdd4946[_0x195815(0x3aa)]=_0x195815(0x2fe);var _0x176d3e={'tag':_0x195815(0x25d),'attrs':{'fill':_0x195815(0x4cd),'viewBox':_0x195815(0x302),'width':_0x195815(0x4e7),'height':_0x195815(0x4e7)},'children':[{'tag':'g','attrs':{'clipPath':_0x195815(0x464)},'children':[{'tag':'path','attrs':{'stroke':_0x195815(0x231),'d':_0x195815(0x142),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x195815(0x19a),'attrs':{},'children':[{'tag':_0x195815(0x46b),'attrs':{'id':_0x195815(0x310)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0x195815(0x294),'transform':_0x195815(0xdf)}}]}]}],'defIds':[_0x195815(0x310)]},_0x523ac2=_0x2ba1fa['forwardRef'](function(_0x763796,_0x2d0d34){const _0x2dce29=_0x195815;return _0x2ba1fa[_0x2dce29(0x1bf)](_0x41b8c5,Object[_0x2dce29(0x3b6)]({},_0x763796,{'id':_0x2dce29(0x1a6),'ref':_0x2d0d34,'icon':_0x176d3e}));});_0x523ac2[_0x195815(0x3aa)]=_0x195815(0x454);function _0x54de17(_0x5f3ce7){const _0x442b90=_0x195815;var _0x462537,_0x134059,_0x5dc022='';if(typeof _0x5f3ce7==_0x442b90(0x382)||typeof _0x5f3ce7==_0x442b90(0x3b3))_0x5dc022+=_0x5f3ce7;else{if(typeof _0x5f3ce7==_0x442b90(0x4d3)){if(Array[_0x442b90(0x44d)](_0x5f3ce7)){var _0x24c1f2=_0x5f3ce7['length'];for(_0x462537=0x0;_0x462537<_0x24c1f2;_0x462537++)_0x5f3ce7[_0x462537]&&(_0x134059=_0x54de17(_0x5f3ce7[_0x462537]))&&(_0x5dc022&&(_0x5dc022+='\x20'),_0x5dc022+=_0x134059);}else{for(_0x134059 in _0x5f3ce7)_0x5f3ce7[_0x134059]&&(_0x5dc022&&(_0x5dc022+='\x20'),_0x5dc022+=_0x134059);}}}return _0x5dc022;}function _0x3c17ba(){const _0x2fc8d8=_0x195815;for(var _0x91a309,_0xbadd94,_0x14febf=0x0,_0x2f3a57='',_0x2fb84d=arguments[_0x2fc8d8(0x249)];_0x14febf<_0x2fb84d;_0x14febf++)(_0x91a309=arguments[_0x14febf])&&(_0xbadd94=_0x54de17(_0x91a309))&&(_0x2f3a57&&(_0x2f3a57+='\x20'),_0x2f3a57+=_0xbadd94);return _0x2f3a57;}const _0x4b517a={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x195815(0x483),'onlineStatus':_0x195815(0x16f),'online':_0x195815(0x27f),'offline':'univer-offline'};function _0x44683f(_0x4f8ea4){const _0x4a203b=_0x195815;switch(_0x4f8ea4){case _0x458b2a[_0x4a203b(0x106)]:return _0x4a203b(0x461);case _0x458b2a['CONFLICT']:return _0x4a203b(0x4d2);case _0x458b2a[_0x4a203b(0x183)]:return'collabStatus.fetchMiss';case _0x458b2a[_0x4a203b(0x357)]:return _0x4a203b(0x10f);case _0x458b2a[_0x4a203b(0x342)]:case _0x458b2a['AWAITING']:case _0x458b2a['AWAITING_WITH_PENDING']:return _0x4a203b(0x3dc);case _0x458b2a[_0x4a203b(0x26f)]:return _0x4a203b(0x3b5);}}function _0x4ee760(_0x2f2dbd){const _0x52f3b3=_0x195815,{status$:_0x14214e}=_0x2f2dbd,_0x13ea72=_0x55f67a['useObservable'](_0x14214e,_0x458b2a[_0x52f3b3(0x357)]),_0x137cce=_0x146bad['useDependency'](_0x146bad[_0x52f3b3(0x295)]),_0x1ae298=_0x146bad[_0x52f3b3(0x40b)](_0x43f096[_0x52f3b3(0x2ac)]),_0x1ec11f=_0x13ea72!==_0x458b2a['OFFLINE'],_0x41bf5d=_0x137cce['t'](_0x44683f(_0x13ea72)),_0xe8ddf5=_0x3c17ba(_0x4b517a[_0x52f3b3(0x121)],{[_0x4b517a[_0x52f3b3(0x3fa)]]:_0x1ec11f,[_0x4b517a[_0x52f3b3(0x448)]]:!_0x1ec11f}),_0xd62cb0=_0x1ec11f?_0x2ba1fa[_0x52f3b3(0x1bf)](_0x523ac2,null):_0x2ba1fa[_0x52f3b3(0x1bf)](_0xdd4946,null),_0x3ff318=_0x2ba1fa[_0x52f3b3(0x4e8)](()=>{const _0x178f81=_0x52f3b3;_0x1ec11f||_0x1ae298[_0x178f81(0x468)]();},[_0x1ec11f,_0x1ae298]);function _0xe5f762(){const _0x534c9f=_0x52f3b3;return _0x2ba1fa[_0x534c9f(0x1bf)](_0x534c9f(0x153),{'className':_0xe8ddf5,'onClick':_0x3ff318},_0x2ba1fa[_0x534c9f(0x1bf)](_0x534c9f(0x153),{'className':_0x4b517a[_0x534c9f(0x3b7)]},_0xd62cb0),_0x2ba1fa[_0x534c9f(0x1bf)](_0x534c9f(0x153),{'className':_0x4b517a[_0x534c9f(0xd7)]},_0x41bf5d));}return _0x1ec11f?_0xe5f762():_0x2ba1fa['createElement'](_0x32a032['Tooltip'],{'title':_0x137cce['t'](_0x52f3b3(0x347))},_0xe5f762());}var _0x162948=Object['defineProperty'],_0x411ca1=Object['getOwnPropertyDescriptor'],_0x4f611a=(_0x11c76c,_0x4b1b5a,_0x4b7eaf,_0x3f3b44)=>{for(var _0x49b17e=_0x3f3b44>0x1?void 0x0:_0x3f3b44?_0x411ca1(_0x4b1b5a,_0x4b7eaf):_0x4b1b5a,_0x1bf2de=_0x11c76c['length']-0x1,_0x23a709;_0x1bf2de>=0x0;_0x1bf2de--)(_0x23a709=_0x11c76c[_0x1bf2de])&&(_0x49b17e=(_0x3f3b44?_0x23a709(_0x4b1b5a,_0x4b7eaf,_0x49b17e):_0x23a709(_0x49b17e))||_0x49b17e);return _0x3f3b44&&_0x49b17e&&_0x162948(_0x4b1b5a,_0x4b7eaf,_0x49b17e),_0x49b17e;},_0x376284=(_0x93bba3,_0x292f1a)=>(_0x165453,_0x2e938a)=>_0x292f1a(_0x165453,_0x2e938a,_0x93bba3);_0x43f096[_0x195815(0x4c6)]=class extends _0x146bad['Disposable']{constructor(_0x29a94a,_0x69762c,_0x35f374,_0x4b542e){const _0x2f7d7f=_0x195815;super(),_0x4e6809(this,'_status$',new _0x4926fb['BehaviorSubject'](_0x458b2a[_0x2f7d7f(0x357)])),(this[_0x2f7d7f(0x151)]=_0x29a94a,this[_0x2f7d7f(0x42c)]=_0x69762c,this[_0x2f7d7f(0x3bf)]=_0x35f374,this[_0x2f7d7f(0x25f)]=_0x4b542e,this['_initStatusComponent'](),this[_0x2f7d7f(0x32e)]());}[_0x195815(0x32e)](){const _0x7f43fe=_0x195815;this[_0x7f43fe(0x124)](this[_0x7f43fe(0x151)][_0x7f43fe(0x221)]['pipe'](_0x4926fb['switchMap'](()=>{const _0x24d2d6=_0x7f43fe,_0x1f6c86=this['_univerInstanceService']['getFocusedUnit']();return _0x1f6c86?this[_0x24d2d6(0x25f)][_0x24d2d6(0x2dc)](_0x1f6c86[_0x24d2d6(0x17b)]()):_0x4926fb['of'](null);}),_0x4926fb['switchMap'](_0x3a4622=>_0x3a4622?_0x3a4622[_0x7f43fe(0x4bf)]:_0x4926fb['of'](_0x458b2a[_0x7f43fe(0x357)])))[_0x7f43fe(0x384)](_0x162c18=>{const _0x4ab98d=_0x7f43fe;this[_0x4ab98d(0x199)][_0x4ab98d(0x225)](_0x162c18);}));}[_0x195815(0xec)](){const _0x3a39de=_0x195815;this['disposeWithMe'](this[_0x3a39de(0x42c)][_0x3a39de(0x2ab)](_0x55f67a[_0x3a39de(0x4ba)][_0x3a39de(0x15b)],()=>_0x146bad['connectInjector'](_0x800157({'status$':this[_0x3a39de(0x199)][_0x3a39de(0x161)]()}),this['_injector'])));}},_0x43f096[_0x195815(0x4c6)]=_0x4f611a([_0x376284(0x0,_0x146bad[_0x195815(0x40e)]),_0x376284(0x1,_0x55f67a[_0x195815(0x123)]),_0x376284(0x2,_0x146bad[_0x195815(0x49b)](_0x146bad['Injector'])),_0x376284(0x3,_0x146bad[_0x195815(0x49b)](_0x43f096[_0x195815(0x45b)]))],_0x43f096['DesktopCollaborationStatusDisplayController']);function _0x800157(_0x52e2fc){const {status$:_0x2366d1}=_0x52e2fc;return function(){const _0x412abd=_0x5cc9;return _0x2ba1fa[_0x412abd(0x1bf)](_0x4ee760,{'status$':_0x2366d1});};}const _0x15fc1b=_0x146bad[_0x195815(0x156)](_0x195815(0x343));var _0x4c676a=Object[_0x195815(0x42d)],_0x3ad0e8=Object[_0x195815(0x49c)],_0x19e07d=(_0x33b7ab,_0xb64fd3,_0x57552e,_0x1bb794)=>{const _0x5429fb=_0x195815;for(var _0x1993f1=_0x1bb794>0x1?void 0x0:_0x1bb794?_0x3ad0e8(_0xb64fd3,_0x57552e):_0xb64fd3,_0x973fc0=_0x33b7ab[_0x5429fb(0x249)]-0x1,_0x3ddfce;_0x973fc0>=0x0;_0x973fc0--)(_0x3ddfce=_0x33b7ab[_0x973fc0])&&(_0x1993f1=(_0x1bb794?_0x3ddfce(_0xb64fd3,_0x57552e,_0x1993f1):_0x3ddfce(_0x1993f1))||_0x1993f1);return _0x1bb794&&_0x1993f1&&_0x4c676a(_0xb64fd3,_0x57552e,_0x1993f1),_0x1993f1;},_0x23dcff=(_0xd6b19a,_0x9ed2fa)=>(_0x5bbfba,_0x5e4242)=>_0x9ed2fa(_0x5bbfba,_0x5e4242,_0xd6b19a);_0x43f096['DataLoaderController']=class extends _0x146bad[_0x195815(0x25a)]{constructor(_0x3b40e5,_0x564d45,_0x1bcd43,_0x178363,_0x5c130f,_0x31249e){const _0x394d7e=_0x195815;super(),this[_0x394d7e(0x45f)]=_0x3b40e5,this[_0x394d7e(0x443)]=_0x564d45,this['_commandService']=_0x1bcd43,this['_localCacheService']=_0x178363,this[_0x394d7e(0x3f8)]=_0x5c130f,_0x31249e?_0x31249e==null||_0x31249e[_0x394d7e(0x4eb)]()[_0x394d7e(0x297)](()=>this[_0x394d7e(0xf2)]()):(this[_0x394d7e(0x443)][_0x394d7e(0x1fe)](_0x394d7e(0x1d2),_0x394d7e(0x4c0)),this[_0x394d7e(0xf2)]());}async[_0x195815(0xf2)](){const _0x679f28=_0x195815,_0x4b7e89=this[_0x679f28(0x45f)][_0x679f28(0x30c)](_0x679f28(0x2a2)),_0x445667=this[_0x679f28(0x45f)][_0x679f28(0x30c)](_0x679f28(0x3f9));if(!_0x4b7e89||!_0x445667){this['_logService'][_0x679f28(0x1fe)]('[DataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x445667)){case _0x14e27b['UNIVER_SHEET']:{const _0x3f59ec=await this[_0x679f28(0x2f4)](_0x4b7e89);this['_setupSubUnitSync'](_0x3f59ec);break;}case _0x14e27b[_0x679f28(0x262)]:{await this[_0x679f28(0x322)](_0x4b7e89);break;}default:{this['_logService'][_0x679f28(0x4c4)](_0x679f28(0x1d2),_0x679f28(0x11a));break;}}}async[_0x195815(0x452)](_0x4dd486){const _0x332050=_0x195815;await this[_0x332050(0x1ae)](_0x4dd486),_0x4dd486[_0x332050(0x375)][_0x332050(0x424)](_0x4926fb[_0x332050(0x2e3)](this[_0x332050(0xfa)]))['subscribe'](_0x3ba4a6=>{const _0x2a00ef=_0x332050;_0x3ba4a6&&this[_0x2a00ef(0x4fb)](_0x3ba4a6);}),this[_0x332050(0x45f)]['urlChange$'][_0x332050(0x424)](_0x4926fb['takeUntil'](this[_0x332050(0xfa)]))[_0x332050(0x384)](()=>this['_updateSubUnitFromURLParams'](_0x4dd486));}[_0x195815(0x4fb)](_0x323f70,_0x35b0ca=!0x1){const _0x329387=_0x195815,_0x3b2daa=this[_0x329387(0x45f)][_0x329387(0x30c)]('subunit');_0x323f70['getSheetId']()!==_0x3b2daa&&this[_0x329387(0x45f)]['setParam']('subunit',_0x323f70['getSheetId'](),_0x35b0ca);}async[_0x195815(0x1ae)](_0x2ecfee){const _0x82d12a=_0x195815;var _0x397fb6;const _0x4e8c00=this[_0x82d12a(0x45f)][_0x82d12a(0x30c)](_0x82d12a(0x133));if(!_0x4e8c00||!_0x2ecfee[_0x82d12a(0x460)](_0x4e8c00)){const _0xfe1b6d=_0x2ecfee[_0x82d12a(0x35d)]()[0x0],_0x5c9e2a=_0x2ecfee[_0x82d12a(0x460)](_0xfe1b6d);if(!_0x5c9e2a)return;this[_0x82d12a(0x4fb)](_0x5c9e2a,!0x0),await this['_commandService'][_0x82d12a(0x313)](_0x36eda5[_0x82d12a(0x178)]['id'],{'unitId':_0x2ecfee[_0x82d12a(0x17b)](),'subUnitId':_0xfe1b6d});return;}((_0x397fb6=_0x2ecfee[_0x82d12a(0x150)]())==null?void 0x0:_0x397fb6[_0x82d12a(0x1d4)]())!==_0x4e8c00&&await this[_0x82d12a(0x193)][_0x82d12a(0x313)](_0x36eda5['SetWorksheetActivateCommand']['id'],{'unitId':_0x2ecfee[_0x82d12a(0x17b)](),'subUnitId':_0x4e8c00});}async[_0x195815(0x2f4)](_0x2642e9){const _0x4440ee=_0x195815;let _0x3ae8f0=0x0;const _0x1460f0=await this[_0x4440ee(0x46c)]['loadOfflineData'](_0x2642e9);return _0x1460f0&&(_0x1460f0[_0x4440ee(0x359)]||_0x1460f0[_0x4440ee(0x44e)]['length']!==0x0)&&(_0x3ae8f0=_0x1460f0['rev']),_0x3ae8f0===0x0&&this[_0x4440ee(0x443)]['debug']('[DataLoaderController]',_0x4440ee(0x340)),this[_0x4440ee(0x3f8)]['loadSheet'](_0x2642e9,_0x3ae8f0);}async[_0x195815(0x322)](_0xc82e10){const _0xb6299d=_0x195815;let _0x447a71=0x0;const _0x41ce35=await this['_localCacheService'][_0xb6299d(0x2d9)](_0xc82e10);return _0x41ce35&&(_0x41ce35['awaitingChangeset']||_0x41ce35['mutations'][_0xb6299d(0x249)]!==0x0)&&(_0x447a71=_0x41ce35[_0xb6299d(0x3c1)]),_0x447a71===0x0&&this[_0xb6299d(0x443)]['debug'](_0xb6299d(0x1d2),_0xb6299d(0x340)),this[_0xb6299d(0x3f8)]['loadDoc'](_0xc82e10,_0x447a71);}},_0x43f096[_0x195815(0x100)]=_0x19e07d([_0x23dcff(0x0,_0x15fc1b),_0x23dcff(0x1,_0x146bad[_0x195815(0x40d)]),_0x23dcff(0x2,_0x146bad[_0x195815(0xfc)]),_0x23dcff(0x3,_0x146bad['Inject'](_0x43f096[_0x195815(0x314)])),_0x23dcff(0x4,_0x146bad[_0x195815(0x49b)](_0x5e3529['SnapshotService'])),_0x23dcff(0x5,_0x146bad['Optional'](_0x372951['IRemoteInstanceService']))],_0x43f096[_0x195815(0x100)]);var _0x28b80c=Object[_0x195815(0x42d)],_0x5cfa9e=Object[_0x195815(0x49c)],_0xeb1bc8=(_0x3f75e6,_0x5a7d5b,_0x3b60c3,_0xa35cf7)=>{const _0x5008f7=_0x195815;for(var _0x23b708=_0xa35cf7>0x1?void 0x0:_0xa35cf7?_0x5cfa9e(_0x5a7d5b,_0x3b60c3):_0x5a7d5b,_0x2b7019=_0x3f75e6[_0x5008f7(0x249)]-0x1,_0x3b35ab;_0x2b7019>=0x0;_0x2b7019--)(_0x3b35ab=_0x3f75e6[_0x2b7019])&&(_0x23b708=(_0xa35cf7?_0x3b35ab(_0x5a7d5b,_0x3b60c3,_0x23b708):_0x3b35ab(_0x23b708))||_0x23b708);return _0xa35cf7&&_0x23b708&&_0x28b80c(_0x5a7d5b,_0x3b60c3,_0x23b708),_0x23b708;},_0x59ab69=(_0x14743c,_0x569b5e)=>(_0x65ad8c,_0xb64b2d)=>_0x569b5e(_0x65ad8c,_0xb64b2d,_0x14743c);const _0x1ff6d4='DEFAULT_FILE_NAME',_0xd0d5e7=_0x195815(0x166);let _0x23e01e=class extends _0x146bad[_0x195815(0x1cc)]{constructor(_0x255ce2,_0x3aad4c){const _0x1abc7a=_0x195815;super(),this[_0x1abc7a(0x151)]=_0x255ce2,this[_0x1abc7a(0x11f)]=_0x3aad4c,this[_0x1abc7a(0xf2)]();}[_0x195815(0xf2)](){const _0x18f4de=_0x195815;this[_0x18f4de(0x124)](this[_0x18f4de(0x151)][_0x18f4de(0x221)][_0x18f4de(0x384)](()=>{const _0x4982f7=_0x18f4de;var _0x17af5f;const _0x4a7331=this['_univerInstanceService'][_0x4982f7(0x2b6)]();let _0x2c23df=(_0x17af5f=this[_0x4982f7(0x11f)][_0x4982f7(0x43e)](_0x1ff6d4))!=null?_0x17af5f:_0xd0d5e7;_0x4a7331 instanceof _0x146bad[_0x4982f7(0x4ee)]&&(_0x2c23df=_0x4a7331[_0x4982f7(0x137)]),document['title']=_0x2c23df;}));}};_0x23e01e=_0xeb1bc8([_0x59ab69(0x0,_0x146bad['IUniverInstanceService']),_0x59ab69(0x1,_0x146bad[_0x195815(0x339)])],_0x23e01e);var _0x1f68a2=Object[_0x195815(0x42d)],_0x23d0e2=Object[_0x195815(0x49c)],_0x4fb696=(_0x5cdbf1,_0x1d84e3,_0x3d05f3,_0x3198c2)=>{const _0x288abf=_0x195815;for(var _0x51f50d=_0x3198c2>0x1?void 0x0:_0x3198c2?_0x23d0e2(_0x1d84e3,_0x3d05f3):_0x1d84e3,_0x553f57=_0x5cdbf1[_0x288abf(0x249)]-0x1,_0x1c4f83;_0x553f57>=0x0;_0x553f57--)(_0x1c4f83=_0x5cdbf1[_0x553f57])&&(_0x51f50d=(_0x3198c2?_0x1c4f83(_0x1d84e3,_0x3d05f3,_0x51f50d):_0x1c4f83(_0x51f50d))||_0x51f50d);return _0x3198c2&&_0x51f50d&&_0x1f68a2(_0x1d84e3,_0x3d05f3,_0x51f50d),_0x51f50d;},_0x5c2c5e=(_0x3595e2,_0x2483d0)=>(_0x39c43b,_0x3124ac)=>_0x2483d0(_0x39c43b,_0x3124ac,_0x3595e2);let _0x63ff31=class{constructor(_0x11d94b,_0x392d8d,_0xe4e38c){const _0x312ea8=_0x195815;this[_0x312ea8(0x11f)]=_0x11d94b,this[_0x312ea8(0x2cf)]=_0x392d8d,this['localeService']=_0xe4e38c,this['init']();}['init'](){const _0x5bd63f=_0x195815;this[_0x5bd63f(0x2cf)][_0x5bd63f(0x290)]({'priority':0x1,'interceptor':(_0x7865c6,_0x13b87c)=>_0x13b87c(_0x7865c6)[_0x5bd63f(0x424)](_0x4926fb[_0x5bd63f(0x2be)](async _0x37a338=>{const _0xe2f8f0=_0x5bd63f,_0x429aa0=_0x37a338;if(_0x429aa0['status']===0x191&&window[_0xe2f8f0(0x4f2)](this[_0xe2f8f0(0x317)]['t']('auth.needGotoLoginAlert'))){const _0xfd7b2d=window[_0xe2f8f0(0x15a)](window[_0xe2f8f0(0x120)]['href']);window[_0xe2f8f0(0x120)][_0xe2f8f0(0x369)]=this[_0xe2f8f0(0x3bc)]()+'?url='+_0xfd7b2d;}return _0x429aa0;}))});}[_0x195815(0x3bc)](){const _0x2431a7=_0x195815;var _0x5b2e44,_0x1324a9;const _0x528445=this[_0x2431a7(0x11f)][_0x2431a7(0x43e)](_0x5b6adf),_0xb17a21=this[_0x2431a7(0x11f)]['getConfig'](_0x2cb813);return(_0x1324a9=(_0x5b2e44=_0xb17a21==null?void 0x0:_0xb17a21[_0x2431a7(0x23e)])!=null?_0x5b2e44:_0x528445)!=null?_0x1324a9:_0x14385d;}};_0x63ff31=_0x4fb696([_0x5c2c5e(0x0,_0x146bad[_0x195815(0x339)]),_0x5c2c5e(0x1,_0x146bad[_0x195815(0x49b)](_0x4e82ba[_0x195815(0x229)])),_0x5c2c5e(0x2,_0x146bad[_0x195815(0x49b)](_0x146bad[_0x195815(0x295)]))],_0x63ff31);var _0x3db8cc=Object[_0x195815(0x42d)],_0xb05301=Object[_0x195815(0x49c)],_0x23a2a5=(_0x11c26f,_0x44c7a6,_0xe7e4f0,_0xbb9256)=>{const _0xb455de=_0x195815;for(var _0x133281=_0xbb9256>0x1?void 0x0:_0xbb9256?_0xb05301(_0x44c7a6,_0xe7e4f0):_0x44c7a6,_0x1bf445=_0x11c26f[_0xb455de(0x249)]-0x1,_0x424e71;_0x1bf445>=0x0;_0x1bf445--)(_0x424e71=_0x11c26f[_0x1bf445])&&(_0x133281=(_0xbb9256?_0x424e71(_0x44c7a6,_0xe7e4f0,_0x133281):_0x424e71(_0x133281))||_0x133281);return _0xbb9256&&_0x133281&&_0x3db8cc(_0x44c7a6,_0xe7e4f0,_0x133281),_0x133281;},_0x18cab8=(_0x3065d7,_0x5f3749)=>(_0x423832,_0xb51c15)=>_0x5f3749(_0x423832,_0xb51c15,_0x3065d7);const _0x3aaf42=_0x195815(0x1f1),_0x24ec34='/universer-api/authz';_0x43f096[_0x195815(0x405)]=class extends _0x146bad[_0x195815(0x1cc)]{constructor(_0x5eee81,_0x333575){const _0xbdbd2=_0x195815;super(),this[_0xbdbd2(0xf6)]=_0x5eee81,this[_0xbdbd2(0x11f)]=_0x333575,this['_initMergeInterceptor']();}[_0x195815(0x3d5)](){const _0x55c92b=_0x195815,_0x161e12=this;this['disposeWithMe'](this[_0x55c92b(0xf6)][_0x55c92b(0x290)]({'priority':0x3e7,'interceptor':_0x4e82ba['MergeInterceptorFactory']({'isMatch'(_0x9a557e){const _0x3257fb=_0x55c92b;var _0x3378d5;if(_0x9a557e[_0x3257fb(0xe1)]==='POST'&&((_0x3378d5=_0x9a557e[_0x3257fb(0x1c0)])!=null&&_0x3378d5[_0x3257fb(0x365)])){const {objectID:_0x514ad3,objectType:_0x3d9098}=_0x9a557e[_0x3257fb(0x1c0)][_0x3257fb(0x365)]||{};if(!_0x514ad3||_0x3d9098===void 0x0)return!0x1;const _0x26dd53=_0x161e12[_0x3257fb(0x13a)]()+'/'+_0x3d9098+_0x3257fb(0x44a)+_0x514ad3+_0x3257fb(0x14d);if(_0x9a557e[_0x3257fb(0x4c8)]===_0x26dd53)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xb793e0){const _0x3c8821=_0x55c92b;var _0xa597a8;return(_0xa597a8=_0xb793e0[_0x3c8821(0x1c0)])==null?void 0x0:_0xa597a8[_0x3c8821(0x365)];},'mergeParamsToRequest'(_0xdf1ef3,_0x4c833c){const _0x4d8600=_0x55c92b,_0x5c9860=_0x161e12[_0x4d8600(0x13a)]()+_0x4d8600(0x1ff),_0x97f836=_0xdf1ef3[_0x4d8600(0x47d)]((_0x1aa599,_0x54d59b)=>{const {unitID:_0x143f2a,objectID:_0x7ad725,objectType:_0x31ba45,actions:_0x4a1496}=_0x54d59b;return _0x1aa599[_0x143f2a]||(_0x1aa599[_0x143f2a]={}),_0x1aa599[_0x143f2a][_0x7ad725]||(_0x1aa599[_0x143f2a][_0x7ad725]={'objectID':_0x7ad725,'objectType':_0x31ba45,'actions':[]}),_0x1aa599[_0x143f2a][_0x7ad725]['actions']['push'](..._0x4a1496),_0x1aa599;},{}),_0x4e7e63=[];for(const _0x57d79f in _0x97f836)for(const _0x3b839f in _0x97f836[_0x57d79f]){const {actions:_0x18d32b,objectType:_0x4736d5}=_0x97f836[_0x57d79f][_0x3b839f],_0x27166c=[...new Set(_0x18d32b)];_0x4e7e63['push']({'unitID':_0x57d79f,'objectID':_0x3b839f,'objectType':_0x4736d5,'actions':_0x27166c});}return new _0x4e82ba['HTTPRequest'](_0x4d8600(0x143),_0x5c9860,{'headers':_0x4c833c[_0x4d8600(0x284)],'withCredentials':_0x4c833c[_0x4d8600(0xd5)],'responseType':_0x4c833c[_0x4d8600(0x251)],'body':{'requests':_0x4e7e63}});}},{'distributeResult'(_0x3a14f0,_0x1331fe){const _0x50aa61=_0x55c92b,{objectActions:_0x3d2c2e}=_0x3a14f0;return _0x1331fe[_0x50aa61(0x371)](_0x137339=>{const _0x191dfe=_0x50aa61,{unitID:_0x25be8d,objectID:_0xc571eb,actions:_0x318ba7}=_0x137339,_0x13243b=_0x3d2c2e[_0x191dfe(0x37d)](_0x1d356e=>_0x1d356e[_0x191dfe(0x2f7)]===_0x25be8d&&_0x1d356e[_0x191dfe(0x3c4)]===_0xc571eb),_0xaae7dd=_0x318ba7[_0x191dfe(0x371)](_0x47d841=>_0x13243b==null?void 0x0:_0x13243b[_0x191dfe(0x438)][_0x191dfe(0x37d)](_0x164fc9=>_0x164fc9[_0x191dfe(0x37c)]===_0x47d841))['filter'](_0x575e3c=>!!_0x575e3c);return{'config':_0x137339,'result':{'actions':_0xaae7dd,'error':_0x3a14f0[_0x191dfe(0x4c4)]}};});}})}));}[_0x195815(0x13a)](){const _0x587238=_0x195815;var _0x9da78f,_0x191b64;const _0x1941b6=this[_0x587238(0x11f)][_0x587238(0x43e)](_0x3aaf42),_0x5df331=this['_configService'][_0x587238(0x43e)](_0x2cb813);return(_0x191b64=(_0x9da78f=_0x5df331==null?void 0x0:_0x5df331['authzUrl'])!=null?_0x9da78f:_0x1941b6)!=null?_0x191b64:_0x24ec34;}async['create'](_0x5aca01){const _0x44621c=_0x195815,_0x5b4f56=this['_getAPIPrefixPath']()+'/'+_0x5aca01[_0x44621c(0x263)]+_0x44621c(0x253);return(await this['_HTTPService'][_0x44621c(0x2e8)](_0x5b4f56,{'body':_0x5aca01}))[_0x44621c(0x365)][_0x44621c(0x3c4)]||'';}async['list'](_0x3f0b65){const _0x577848=_0x195815,_0x4419fa=this[_0x577848(0x13a)]()+_0x577848(0x435);return(await this[_0x577848(0xf6)][_0x577848(0x2e8)](_0x4419fa,{'body':_0x3f0b65}))[_0x577848(0x365)]['objects'];}async['update'](_0x3fe956){const _0x1bdcfb=_0x195815,_0x3e95a6=this[_0x1bdcfb(0x13a)]()+'/'+_0x3fe956[_0x1bdcfb(0x263)]+_0x1bdcfb(0x44a)+_0x3fe956['objectID'];await this[_0x1bdcfb(0xf6)][_0x1bdcfb(0x2c3)](_0x3e95a6,{'body':_0x3fe956});}async[_0x195815(0x303)](_0xd47c65){const _0x4d6927=_0x195815,_0x29bea6=this[_0x4d6927(0x13a)]()+'/'+_0xd47c65[_0x4d6927(0x263)]+'/object/'+_0xd47c65[_0x4d6927(0x3c4)]+_0x4d6927(0x14d);return(await this[_0x4d6927(0xf6)][_0x4d6927(0x2e8)](_0x29bea6,{'body':_0xd47c65}))['body'][_0x4d6927(0x438)];}async[_0x195815(0x4f3)](_0x27a187){const _0x23b906=_0x195815,_0x2cfee3=this[_0x23b906(0x13a)]()+_0x23b906(0x1ff);return(await this[_0x23b906(0xf6)]['post'](_0x2cfee3,{'body':{'requests':_0x27a187}}))[_0x23b906(0x365)]['objectActions'];}async[_0x195815(0x1f0)](_0x55d848){const _0x3e63b0=_0x195815,_0x1e3b61=this[_0x3e63b0(0x13a)]()+'/'+_0x55d848[_0x3e63b0(0x263)]+_0x3e63b0(0x275),_0x2d3b9f=await this[_0x3e63b0(0xf6)]['post'](_0x1e3b61,{'body':_0x55d848});return{'roles':_0x2d3b9f['body'][_0x3e63b0(0x189)],'actions':_0x2d3b9f[_0x3e63b0(0x365)]['actions']};}async[_0x195815(0x235)](_0x51e3d8){const _0x178fa6=_0x195815,_0x5abe9=this['_getAPIPrefixPath']()+_0x178fa6(0x2f9);await this[_0x178fa6(0xf6)][_0x178fa6(0x4c5)](_0x5abe9,{'params':{'collaboratorID':_0x51e3d8[_0x178fa6(0x184)],'objectID':_0x51e3d8[_0x178fa6(0x3c4)],'unitID':_0x51e3d8[_0x178fa6(0x2f7)]}});}async[_0x195815(0x211)](_0x15ad80){const _0x4d0458=_0x195815,_0x4aea73=this[_0x4d0458(0x13a)]()+_0x4d0458(0x2f9);await this[_0x4d0458(0xf6)][_0x4d0458(0x1dc)](_0x4aea73,{'body':_0x15ad80});}async[_0x195815(0x403)](_0x563bf6){const _0x26e535=_0x195815,_0x35e6e6=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x26e535(0xf6)]['post'](_0x35e6e6,{'body':_0x563bf6});}async['listCollaborators'](_0x35ee22){const _0x2b7c46=_0x195815,_0x412653=this[_0x2b7c46(0x13a)]()+_0x2b7c46(0x2f9);return(await this[_0x2b7c46(0xf6)]['get'](_0x412653,{'params':{'objectID':_0x35ee22[_0x2b7c46(0x3c4)],'unitID':_0x35ee22[_0x2b7c46(0x2f7)]}}))[_0x2b7c46(0x365)][_0x2b7c46(0x101)];}async['putCollaborators'](_0x4bb325){const _0x42b31f=_0x195815,_0x26a413=this[_0x42b31f(0x13a)]()+'/collaborator';await this[_0x42b31f(0xf6)][_0x42b31f(0x2c3)](_0x26a413,{'body':_0x4bb325});}},_0x43f096[_0x195815(0x405)]=_0x23a2a5([_0x18cab8(0x0,_0x146bad[_0x195815(0x49b)](_0x4e82ba[_0x195815(0x229)])),_0x18cab8(0x1,_0x146bad[_0x195815(0x49b)](_0x146bad[_0x195815(0x339)]))],_0x43f096[_0x195815(0x405)]);var _0xc36bee=Object[_0x195815(0x42d)],_0x525a95=Object[_0x195815(0x49c)],_0x17eb32=(_0xc8e2ac,_0x5e0cc6,_0x5c938e,_0x2e53bf)=>{const _0x200a13=_0x195815;for(var _0x5aaa3a=_0x2e53bf>0x1?void 0x0:_0x2e53bf?_0x525a95(_0x5e0cc6,_0x5c938e):_0x5e0cc6,_0x116729=_0xc8e2ac[_0x200a13(0x249)]-0x1,_0x51de91;_0x116729>=0x0;_0x116729--)(_0x51de91=_0xc8e2ac[_0x116729])&&(_0x5aaa3a=(_0x2e53bf?_0x51de91(_0x5e0cc6,_0x5c938e,_0x5aaa3a):_0x51de91(_0x5aaa3a))||_0x5aaa3a);return _0x2e53bf&&_0x5aaa3a&&_0xc36bee(_0x5e0cc6,_0x5c938e,_0x5aaa3a),_0x5aaa3a;},_0x707b79=(_0x55071e,_0x25f3eb)=>(_0x3b9188,_0x20bdb4)=>_0x25f3eb(_0x3b9188,_0x20bdb4,_0x55071e);let _0x5f5a72=class{constructor(_0x5a4a5d){const _0x4ecd53=_0x195815;this['_httpService']=_0x5a4a5d,this[_0x4ecd53(0x3d1)]();}[_0x195815(0x3d1)](){const _0x35c2f5=_0x195815;this[_0x35c2f5(0x2cf)][_0x35c2f5(0x290)]({'interceptor':(_0x17d631,_0x52fc10)=>{const _0x5c8553=_0x35c2f5,_0x13bb67=_0x17d631['headers'],_0x3008c2=_0x3538f7[_0x5c8553(0x20c)]();return _0x3008c2&&_0x13bb67['set'](_0x5c8553(0x20f),_0x3008c2),_0x52fc10(_0x17d631);}});}};_0x5f5a72=_0x17eb32([_0x707b79(0x0,_0x146bad[_0x195815(0x49b)](_0x4e82ba[_0x195815(0x229)]))],_0x5f5a72);var _0x5488bd=Object[_0x195815(0x42d)],_0xb4cd4d=Object['getOwnPropertyDescriptor'],_0x3dc3fb=(_0xc441dd,_0x29f82e,_0x1fc20c,_0x1c57d2)=>{const _0x20e3ad=_0x195815;for(var _0x4a3159=_0x1c57d2>0x1?void 0x0:_0x1c57d2?_0xb4cd4d(_0x29f82e,_0x1fc20c):_0x29f82e,_0x50d76d=_0xc441dd[_0x20e3ad(0x249)]-0x1,_0x504ac3;_0x50d76d>=0x0;_0x50d76d--)(_0x504ac3=_0xc441dd[_0x50d76d])&&(_0x4a3159=(_0x1c57d2?_0x504ac3(_0x29f82e,_0x1fc20c,_0x4a3159):_0x504ac3(_0x4a3159))||_0x4a3159);return _0x1c57d2&&_0x4a3159&&_0x5488bd(_0x29f82e,_0x1fc20c,_0x4a3159),_0x4a3159;},_0x462f25=(_0x1ebf0f,_0x3161d7)=>(_0x351ef9,_0x162692)=>_0x3161d7(_0x351ef9,_0x162692,_0x1ebf0f);const _0x498a90=['image/png','image/jpeg',_0x195815(0x457),'image/gif',_0x195815(0x3e5)],_0x31fe42=0x5*0x400*0x400,_0x3e3216=_0x195815(0x2f3),_0x10899c='/universer-api/stream/file/upload',_0xd0b29=_0x195815(0x3fb),_0x150175=_0x195815(0x2f6);_0x43f096[_0x195815(0x3af)]=class{constructor(_0x13553f,_0x347c84,_0x1c79ad){const _0x24592a=_0x195815;_0x4e6809(this,_0x24592a(0x3b8),0x0),_0x4e6809(this,_0x24592a(0x308),new _0x4926fb[(_0x24592a(0x328))]()),_0x4e6809(this,_0x24592a(0x1c4),this[_0x24592a(0x308)]),_0x4e6809(this,'_imageSourceCache',new Map()),(this[_0x24592a(0x2cf)]=_0x13553f,this['_configService']=_0x347c84,this[_0x24592a(0x151)]=_0x1c79ad);}[_0x195815(0x1e0)](_0xd930bd){this['_waitCount']=_0xd930bd,this['_change$']['next'](_0xd930bd);}[_0x195815(0x1a9)](_0x265da3,_0x208ccc){const _0x1d598a=_0x195815;if(_0x208ccc===_0xc7125f[_0x1d598a(0x466)]['BASE64']){const _0x1b366f=new Image();return _0x1b366f['src']=_0x265da3,_0x1b366f;}return this[_0x1d598a(0x281)][_0x1d598a(0x499)](_0x265da3);}[_0x195815(0x1ce)](_0x2640b7,_0x2c9e41,_0x1a56ce){const _0x596be5=_0x195815;_0x2c9e41===_0xc7125f[_0x596be5(0x466)][_0x596be5(0x3e2)]||_0x1a56ce==null||this[_0x596be5(0x281)][_0x596be5(0x1fc)](_0x2640b7,_0x1a56ce);}async[_0x195815(0x361)](_0xa32c71){const _0x339391=_0x195815;try{const _0x4270e2=this['_replaceFileID'](this['_getSignURL'](),''+_0xa32c71),_0x30cc23=(await this[_0x339391(0x2cf)]['get'](_0x4270e2))[_0x339391(0x365)];if(_0x30cc23['error']&&_0x30cc23[_0x339391(0x4c4)][_0x339391(0xd1)]===_0x295d5e['OK']){const _0x1af08b=new URL(_0x30cc23[_0x339391(0x4c8)],this[_0x339391(0x436)]())['toString']();return Promise[_0x339391(0x3f7)](_0x1af08b);}return Promise['reject'](_0x30cc23['error']);}catch(_0x56d5b8){return Promise['reject'](_0x56d5b8);}}async[_0x195815(0x215)](_0x2de708){const _0x241f8a=_0x195815;let _0x1c8dd0='';if(!_0x498a90[_0x241f8a(0x4bc)](_0x2de708['type']))return this[_0x241f8a(0x37b)](),Promise[_0x241f8a(0x194)](new Error(_0xc7125f['ImageUploadStatusType'][_0x241f8a(0xf3)]));if(_0x2de708['size']>_0x31fe42)return this[_0x241f8a(0x37b)](),Promise['reject'](new Error(_0xc7125f['ImageUploadStatusType'][_0x241f8a(0x1f4)]));try{const _0x1efc6a=new FormData();_0x1efc6a[_0x241f8a(0x4c7)](_0x241f8a(0x110),_0x2de708);const _0xf78573=this[_0x241f8a(0x151)]['getFocusedUnit'](),_0x21a220=_0xf78573==null?void 0x0:_0xf78573[_0x241f8a(0x17b)]();if(!_0x21a220)throw new Error(_0x241f8a(0x437));const _0x5b8a93=this[_0x241f8a(0x455)]()+'?size='+_0x2de708[_0x241f8a(0x4c2)]['toString']()+_0x241f8a(0x30f)+_0x326491[_0x241f8a(0x1b8)]+_0x241f8a(0xdb)+encodeURIComponent(_0x21a220),_0x4d9d6a=await(await fetch(_0x5b8a93,{'method':_0x241f8a(0x143),'body':_0x1efc6a}))['json']();if(typeof _0x4d9d6a[_0x241f8a(0x259)]!=_0x241f8a(0x382))return this[_0x241f8a(0x37b)](),Promise['reject'](new Error(_0xc7125f[_0x241f8a(0x26d)][_0x241f8a(0x427)]));_0x1c8dd0=_0x4d9d6a[_0x241f8a(0x259)];}catch{return this[_0x241f8a(0x37b)](),Promise[_0x241f8a(0x194)](new Error(_0xc7125f[_0x241f8a(0x26d)][_0x241f8a(0x427)]));}return new Promise((_0x49fb93,_0x4ef0a5)=>{const _0x34a356=_0x241f8a,_0x3d0311=new FileReader();_0x3d0311[_0x34a356(0x318)](_0x2de708),_0x3d0311['onload']=_0x34bda1=>{const _0x7b955f=_0x34a356;var _0x201b81;const _0xa56132=(_0x201b81=_0x34bda1['target'])==null?void 0x0:_0x201b81[_0x7b955f(0x30e)];if(_0xa56132==null){this[_0x7b955f(0x37b)](),_0x4ef0a5(new Error(_0xc7125f[_0x7b955f(0x26d)][_0x7b955f(0x427)]));return;}const _0x40361b=_0x146bad[_0x7b955f(0x3c8)][_0x7b955f(0x162)](0x6);_0x49fb93({'imageId':_0x40361b,'imageSourceType':_0xc7125f[_0x7b955f(0x466)][_0x7b955f(0x28b)],'source':_0x1c8dd0,'base64Cache':_0xa56132,'status':_0xc7125f[_0x7b955f(0x26d)][_0x7b955f(0x43b)]}),this['_decreaseWaiting']();};});}[_0x195815(0x455)](){const _0x3a9afb=_0x195815;var _0xbd67ad,_0x567f7a;const _0x37e329=this['_configService'][_0x3a9afb(0x43e)](_0x3e3216),_0x4ba5aa=this[_0x3a9afb(0x11f)][_0x3a9afb(0x43e)](_0x2cb813);return(_0x567f7a=(_0xbd67ad=_0x4ba5aa==null?void 0x0:_0x4ba5aa['uploadFileServerUrl'])!=null?_0xbd67ad:_0x37e329)!=null?_0x567f7a:_0x10899c;}[_0x195815(0x3da)](){const _0x24135a=_0x195815;var _0x5c9bd0,_0x58d9b3;const _0x5719a8=this['_configService']['getConfig'](_0xd0b29),_0x3720a4=this[_0x24135a(0x11f)]['getConfig'](_0x2cb813);return(_0x58d9b3=(_0x5c9bd0=_0x3720a4==null?void 0x0:_0x3720a4[_0x24135a(0x4fe)])!=null?_0x5c9bd0:_0x5719a8)!=null?_0x58d9b3:_0x150175;}[_0x195815(0x436)](){const _0x503bc3=_0x195815;var _0x423cd1;const _0x4a981f=this[_0x503bc3(0x11f)][_0x503bc3(0x43e)](_0x2cb813);return(_0x423cd1=_0x4a981f==null?void 0x0:_0x4a981f['downloadEndpointUrl'])!=null?_0x423cd1:location[_0x503bc3(0x256)];}['_replaceFileID'](_0x2fc372,_0x2bd53d){const _0x1526df=_0x195815;return _0x2fc372[_0x1526df(0x2b2)]('{fileID}',_0x2bd53d);}[_0x195815(0x37b)](){const _0x2b38a3=_0x195815;this[_0x2b38a3(0x3b8)]-=0x1,this[_0x2b38a3(0x308)]['next'](this[_0x2b38a3(0x3b8)]);}},_0x43f096[_0x195815(0x3af)]=_0x3dc3fb([_0x462f25(0x0,_0x146bad['Inject'](_0x4e82ba[_0x195815(0x229)])),_0x462f25(0x1,_0x146bad[_0x195815(0x339)]),_0x462f25(0x2,_0x146bad[_0x195815(0x49b)](_0x146bad[_0x195815(0x40e)]))],_0x43f096['ImageIoService']);var _0xa5ec9d=Object[_0x195815(0x42d)],_0x136a1c=Object[_0x195815(0x49c)],_0x3da4be=(_0x21fb48,_0x2975c4,_0x39e7f0,_0x2c0cfd)=>{const _0x541c30=_0x195815;for(var _0x525da1=_0x2c0cfd>0x1?void 0x0:_0x2c0cfd?_0x136a1c(_0x2975c4,_0x39e7f0):_0x2975c4,_0x4b67a3=_0x21fb48[_0x541c30(0x249)]-0x1,_0x59066a;_0x4b67a3>=0x0;_0x4b67a3--)(_0x59066a=_0x21fb48[_0x4b67a3])&&(_0x525da1=(_0x2c0cfd?_0x59066a(_0x2975c4,_0x39e7f0,_0x525da1):_0x59066a(_0x525da1))||_0x525da1);return _0x2c0cfd&&_0x525da1&&_0xa5ec9d(_0x2975c4,_0x39e7f0,_0x525da1),_0x525da1;},_0x10df6a=(_0x2ec048,_0x8ec67)=>(_0x2722a3,_0x4a9fdf)=>_0x8ec67(_0x2722a3,_0x4a9fdf,_0x2ec048);let _0x2a9433=class extends _0x146bad[_0x195815(0x25a)]{constructor(_0x2318ad,_0x30312a,_0x3f83c0,_0xca710a,_0x4979bc){const _0x4ca6d8=_0x195815;super(),this[_0x4ca6d8(0x3bf)]=_0x2318ad,this[_0x4ca6d8(0x151)]=_0x30312a,this[_0x4ca6d8(0x336)]=_0x3f83c0,this[_0x4ca6d8(0x182)]=_0xca710a,this[_0x4ca6d8(0x175)]=_0x4979bc,this[_0x4ca6d8(0x17a)](),this[_0x4ca6d8(0x4ae)]();}[_0x195815(0x4ae)](){const _0x18364c=_0x195815,_0x4b99f0=async _0x4a7797=>{const _0x342cfe=_0x5cc9;(await this[_0x342cfe(0x182)][_0x342cfe(0x46d)](_0x4a7797))[_0x342cfe(0x476)]['pipe'](_0x2d4b5d[_0x342cfe(0x289)](_0x407a4e=>_0x407a4e[_0x342cfe(0x1fa)]===_0x5e3529[_0x342cfe(0x46f)][_0x342cfe(0x140)]),_0x2d4b5d[_0x342cfe(0x2e3)](this[_0x342cfe(0xfa)]))[_0x342cfe(0x384)](_0x217eb9=>{const _0x349dbd=_0x342cfe,_0x3ba65b=_0x217eb9,{reason:_0x5006d0}=_0x3ba65b[_0x349dbd(0x1ad)];this['_injector'][_0x349dbd(0x499)](_0x55f67a[_0x349dbd(0x362)])['show']({'type':_0x32a032[_0x349dbd(0x38f)][_0x349dbd(0x2fb)],'content':this[_0x349dbd(0x175)]['t'](_0x349dbd(0x35b))+'('+_0x5006d0+')'}),this[_0x349dbd(0x336)][_0x349dbd(0x379)](new _0x36eda5[(_0x349dbd(0x3c6))](_0x4a7797)['id'],!0x1),this['_collaborationSessionService'][_0x349dbd(0x419)](_0x4a7797);});};_0x4926fb[_0x18364c(0x104)](this[_0x18364c(0x151)][_0x18364c(0x4bd)](_0x146bad['UniverInstanceType']['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x146bad[_0x18364c(0x350)][_0x18364c(0x262)]))[_0x18364c(0x424)](_0x2d4b5d[_0x18364c(0x371)](_0x446267=>_0x446267[_0x18364c(0x17b)]()),_0x2d4b5d[_0x18364c(0x289)](_0x5ce36d=>!_0x146bad[_0x18364c(0x273)](_0x5ce36d)),_0x2d4b5d['takeUntil'](this['dispose$']))[_0x18364c(0x384)](_0x4f392e=>{_0x4b99f0(_0x4f392e);});}['_initUnitPermissionChange'](){const _0x3391ac=_0x195815,_0x81f8e2=async _0x2dcf82=>{const _0x291cee=_0x5cc9;(await this[_0x291cee(0x182)][_0x291cee(0x46d)](_0x2dcf82))[_0x291cee(0x476)]['pipe'](_0x2d4b5d[_0x291cee(0x289)](_0x582a9c=>_0x582a9c['eventID']===_0x5e3529[_0x291cee(0x46f)]['UPDATE_PERMISSION_OBJ']),_0x2d4b5d['takeUntil'](this[_0x291cee(0xfa)]))[_0x291cee(0x384)](_0x5d43a5=>{const _0x290a67=_0x291cee,_0x57bef2=_0x5d43a5,{objectId:_0x1c6e32}=_0x57bef2['data'],_0x3678a2=this['_injector']['get'](_0x354d6d[_0x290a67(0x1bd)]);_0x1c6e32===_0x2dcf82?_0x3678a2[_0x290a67(0x355)](_0x2dcf82):_0x3678a2[_0x290a67(0x171)](_0x2dcf82,_0x1c6e32);});};_0x4926fb[_0x3391ac(0x104)](this['_univerInstanceService'][_0x3391ac(0x4bd)](_0x146bad[_0x3391ac(0x350)][_0x3391ac(0x496)]),this['_univerInstanceService'][_0x3391ac(0x4bd)](_0x146bad[_0x3391ac(0x350)][_0x3391ac(0x262)]))[_0x3391ac(0x424)](_0x2d4b5d[_0x3391ac(0x371)](_0x295749=>_0x295749[_0x3391ac(0x17b)]()),_0x2d4b5d[_0x3391ac(0x289)](_0x207432=>!_0x146bad[_0x3391ac(0x273)](_0x207432)),_0x2d4b5d[_0x3391ac(0x2e3)](this[_0x3391ac(0xfa)]))[_0x3391ac(0x384)](_0x31d84b=>{_0x81f8e2(_0x31d84b);});}};_0x2a9433=_0x3da4be([_0x10df6a(0x0,_0x146bad['Inject'](_0x146bad[_0x195815(0x3de)])),_0x10df6a(0x1,_0x146bad[_0x195815(0x40e)]),_0x10df6a(0x2,_0x146bad[_0x195815(0x4fa)]),_0x10df6a(0x3,_0x146bad[_0x195815(0x49b)](_0x43f096[_0x195815(0x2ac)])),_0x10df6a(0x4,_0x146bad[_0x195815(0x49b)](_0x146bad[_0x195815(0x295)]))],_0x2a9433);var _0x342603=Object[_0x195815(0x42d)],_0x7366a2=Object['getOwnPropertyDescriptor'],_0x287b51=(_0x5025b9,_0x32c9cf,_0x33e0be,_0x34c40d)=>{const _0x3b3b5b=_0x195815;for(var _0x1bae3d=_0x34c40d>0x1?void 0x0:_0x34c40d?_0x7366a2(_0x32c9cf,_0x33e0be):_0x32c9cf,_0x6cc0be=_0x5025b9[_0x3b3b5b(0x249)]-0x1,_0x3b5b5e;_0x6cc0be>=0x0;_0x6cc0be--)(_0x3b5b5e=_0x5025b9[_0x6cc0be])&&(_0x1bae3d=(_0x34c40d?_0x3b5b5e(_0x32c9cf,_0x33e0be,_0x1bae3d):_0x3b5b5e(_0x1bae3d))||_0x1bae3d);return _0x34c40d&&_0x1bae3d&&_0x342603(_0x32c9cf,_0x33e0be,_0x1bae3d),_0x1bae3d;},_0x4fa25e=(_0x1f7ddf,_0x547daf)=>(_0x567678,_0x5c6df3)=>_0x547daf(_0x567678,_0x5c6df3,_0x1f7ddf);_0x43f096[_0x195815(0x3a9)]=class{constructor(_0x281223,_0x36017e){this['_configService']=_0x281223,this['_httpService']=_0x36017e;}async[_0x195815(0x486)](_0x3ccd7e,_0x3db244){const _0x25cfca=_0x195815;var _0x57e171;const {unitID:_0x431709,type:_0x2fe262,revision:_0x3716ba=0x0}=_0x3db244,_0x222282=this[_0x25cfca(0x217)]()+'/'+_0x2fe262+'/unit/'+_0x431709+'/rev/'+_0x3716ba,_0x41963f=(await this['_httpService'][_0x25cfca(0x499)](_0x222282))[_0x25cfca(0x365)],_0x5d22a2=(_0x57e171=_0x41963f[_0x25cfca(0x335)])==null?void 0x0:_0x57e171['workbook'];if(_0x5d22a2){const _0x5c032b=_0x5d22a2==null?void 0x0:_0x5d22a2['originalMeta'],_0x5cbd8c=_0x5e3529[_0x25cfca(0x3b2)][_0x25cfca(0x2ec)](_0x5e3529[_0x25cfca(0x39d)](_0x5c032b));_0x5d22a2['originalMeta']=_0x5cbd8c,Object[_0x25cfca(0x370)](_0x5d22a2[_0x25cfca(0x426)])[_0x25cfca(0x1d8)](([,_0x5bff4b])=>{const _0x896515=_0x25cfca,_0x5d31f6=_0x5bff4b[_0x896515(0x19f)],_0x5f39b3=_0x5e3529[_0x896515(0x3b2)][_0x896515(0x2ec)](_0x5e3529[_0x896515(0x39d)](_0x5d31f6));_0x5bff4b[_0x896515(0x19f)]=_0x5f39b3;});}return _0x41963f;}async['getSheetBlock'](_0x724c09,_0x35fd4b){const _0x10699f=_0x195815,{unitID:_0x44d424,type:_0x30fa22,blockID:_0x494c72}=_0x35fd4b,_0xa85da2=this[_0x10699f(0x2a0)]()+'/'+_0x30fa22+'/unit/'+_0x44d424+_0x10699f(0x1a5)+_0x494c72;return(await this[_0x10699f(0x2cf)][_0x10699f(0x499)](_0xa85da2))[_0x10699f(0x365)];}async[_0x195815(0xff)](_0x1940d3,_0x27a9a2){const _0x734f61=_0x195815,{unitID:_0x20ea10,type:_0x339c81,blockID:_0x21f9bd}=_0x27a9a2,_0x3aaa3e=this['_getAPIPrefix']()+_0x734f61(0x1a5)+_0x339c81+'/unit/'+_0x20ea10+_0x734f61(0x1a5)+_0x21f9bd;return(await this['_httpService']['get'](_0x3aaa3e))[_0x734f61(0x365)];}async[_0x195815(0x44b)](_0x48d3ed,_0x488290){const _0x580f59=_0x195815,{unitID:_0xa1d29a,type:_0x57a93d,from:_0x37096b,to:_0x553f3d}=_0x488290,_0x10dc14=this['_getAPIPrefix']()+'/'+_0x57a93d+_0x580f59(0x4de)+_0xa1d29a+'/fetchmissing?from='+_0x37096b+_0x580f59(0x2d4)+_0x553f3d;return(await this[_0x580f59(0x2cf)]['get'](_0x10dc14))[_0x580f59(0x365)];}[_0x195815(0x217)](){const _0x262b7d=_0x195815;var _0x1487bd;return(_0x1487bd=this[_0x262b7d(0x11f)]['getConfig'](_0x14eb62))!=null?_0x1487bd:this[_0x262b7d(0x2a0)]();}[_0x195815(0x2a0)](){const _0x33aa59=_0x195815;var _0x3d974e,_0x55658f;const _0x5842f2=this['_configService'][_0x33aa59(0x43e)](_0x51a295),_0x512786=this[_0x33aa59(0x11f)][_0x33aa59(0x43e)](_0x2cb813);return(_0x55658f=(_0x3d974e=_0x512786==null?void 0x0:_0x512786[_0x33aa59(0x3ae)])!=null?_0x3d974e:_0x5842f2)!=null?_0x55658f:_0x575cb6;}async['getResourcesRequest'](_0x5d2b11,_0xc55b7e){const _0x36c15a=_0x195815,_0x11d5e5=_0x36c15a(0x4e3)+_0xc55b7e[_0x36c15a(0x3f9)]+_0x36c15a(0x4de)+_0xc55b7e[_0x36c15a(0x2f7)]+_0x36c15a(0x3ef);return(await this[_0x36c15a(0x2cf)]['get'](_0x11d5e5,{'params':{'resourceId':JSON[_0x36c15a(0x32b)](_0xc55b7e[_0x36c15a(0x21d)])}}))[_0x36c15a(0x365)];}['saveSnapshot'](){const _0x524163=_0x195815;throw new Error(_0x524163(0x18a));}['saveSheetBlock'](){const _0x21ab47=_0x195815;throw new Error(_0x21ab47(0x18a));}[_0x195815(0x14e)](){const _0x3f2c1c=_0x195815;throw new Error(_0x3f2c1c(0x18a));}[_0x195815(0x2b9)](){const _0x480f85=_0x195815;throw new Error(_0x480f85(0x18a));}[_0x195815(0x23f)](){const _0x20a537=_0x195815;throw new Error(_0x20a537(0x18a));}},_0x43f096[_0x195815(0x3a9)]=_0x287b51([_0x4fa25e(0x0,_0x146bad[_0x195815(0x339)]),_0x4fa25e(0x1,_0x146bad[_0x195815(0x49b)](_0x4e82ba['HTTPService']))],_0x43f096[_0x195815(0x3a9)]);var _0x6dc37=Object[_0x195815(0x42d)],_0x3fc6f0=Object[_0x195815(0x49c)],_0xdd200=(_0x1d0a86,_0x4b7194,_0x3bce00,_0x4bea5b)=>{const _0x54af7e=_0x195815;for(var _0x1f108a=_0x4bea5b>0x1?void 0x0:_0x4bea5b?_0x3fc6f0(_0x4b7194,_0x3bce00):_0x4b7194,_0x2a108a=_0x1d0a86[_0x54af7e(0x249)]-0x1,_0x41a677;_0x2a108a>=0x0;_0x2a108a--)(_0x41a677=_0x1d0a86[_0x2a108a])&&(_0x1f108a=(_0x4bea5b?_0x41a677(_0x4b7194,_0x3bce00,_0x1f108a):_0x41a677(_0x1f108a))||_0x1f108a);return _0x4bea5b&&_0x1f108a&&_0x6dc37(_0x4b7194,_0x3bce00,_0x1f108a),_0x1f108a;},_0x442a24=(_0x251eed,_0x5e6095)=>(_0xb64381,_0x576a02)=>_0x5e6095(_0xb64381,_0x576a02,_0x251eed);let _0x48f86f=class extends _0x146bad[_0x195815(0x12d)]{constructor(_0x429c34,_0xc95464,_0x4169b2,_0x5883a7,_0x42465e){super(_0x429c34,_0xc95464,_0x4169b2),this['_transformService']=_0x5883a7,this['_logService']=_0x42465e;}[_0x195815(0xe8)](_0x2dddec,_0x2ea638){const _0x37742c=_0x195815,_0x3797cd=this[_0x37742c(0x203)](_0x2dddec);if(_0x3797cd)try{const _0x17ee32=this[_0x37742c(0x15f)](_0x3797cd,_0x2ea638);this['_substituteUndoStack'](_0x2dddec,_0x17ee32);}catch(_0x343ba2){this[_0x37742c(0x443)]['error'](_0x37742c(0xd6),_0x343ba2),this['_clearUndo'](_0x2dddec);}const _0x5d432b=this[_0x37742c(0x197)](_0x2dddec);if(_0x5d432b)try{const _0x3b901c=this[_0x37742c(0x15f)](_0x5d432b,_0x2ea638);this[_0x37742c(0x129)](_0x2dddec,_0x3b901c);}catch(_0x3bcf5a){this[_0x37742c(0x443)]['error'](_0x3bcf5a),this['_clearRedo'](_0x2dddec);}}[_0x195815(0x22a)](_0x1793dd){const _0x28b070=_0x195815,_0x3a53c8=this[_0x28b070(0x203)](_0x1793dd);_0x3a53c8&&(_0x3a53c8['length']=0x0,this['_updateStatus']());}[_0x195815(0x157)](_0x22eb5f){const _0x432584=this['_getRedoStack'](_0x22eb5f);_0x432584&&(_0x432584['length']=0x0,this['_updateStatus']());}[_0x195815(0x381)](_0x51406d,_0x2be097){const _0x9d21b0=_0x195815;this[_0x9d21b0(0x344)][_0x9d21b0(0x1fc)](_0x51406d,_0x2be097),this['_updateStatus']();}[_0x195815(0x129)](_0x2da30d,_0x3a1219){const _0x1e33db=_0x195815;this[_0x1e33db(0x325)][_0x1e33db(0x1fc)](_0x2da30d,_0x3a1219),this['_updateStatus']();}[_0x195815(0x15f)](_0x4b507d,_0x1b2357){const _0x11c36a=_0x195815,_0x369818=[];let _0x410cc8=_0x1b2357,_0x203b2e=_0x1b2357;for(let _0x5648b1=_0x4b507d['length']-0x1;_0x5648b1>=0x0;_0x5648b1--){const {unitID:_0xde494f,undoMutations:_0x157b37,redoMutations:_0x36a740}=_0x4b507d[_0x5648b1],_0x15bfcf=this['_transformService'][_0x11c36a(0x15c)](_0x410cc8,_0x157b37),_0x4f6a46=this[_0x11c36a(0x172)][_0x11c36a(0x15c)](_0x203b2e,_0x36a740);if(_0x5e3529[_0x11c36a(0x2f8)](_0x15bfcf)||_0x5e3529[_0x11c36a(0x2f8)](_0x4f6a46)){this[_0x11c36a(0x443)][_0x11c36a(0x4c4)](_0x11c36a(0xd6),'transformStack\x20failed!',_0x15bfcf,_0x4f6a46);break;}_0x410cc8=_0x15bfcf[_0x11c36a(0x477)],_0x203b2e=_0x4f6a46[_0x11c36a(0x477)],_0x369818[_0x11c36a(0x4ce)]({'unitID':_0xde494f,'undoMutations':_0x15bfcf['m2Prime'],'redoMutations':_0x4f6a46[_0x11c36a(0x246)]});}return _0x369818[_0x11c36a(0x144)]();}};_0x48f86f=_0xdd200([_0x442a24(0x0,_0x146bad[_0x195815(0x40e)]),_0x442a24(0x1,_0x146bad[_0x195815(0xfc)]),_0x442a24(0x2,_0x146bad[_0x195815(0x4d8)]),_0x442a24(0x3,_0x5e3529[_0x195815(0x3d3)]),_0x442a24(0x4,_0x146bad[_0x195815(0x40d)])],_0x48f86f);class _0x37aa0b extends _0x146bad[_0x195815(0x25a)]{constructor(){const _0x212cb5=_0x195815;super(),_0x4e6809(this,'urlChange$'),this[_0x212cb5(0x30d)]=_0x4926fb[_0x212cb5(0x2df)](window,_0x212cb5(0x472))[_0x212cb5(0x424)](_0x4926fb[_0x212cb5(0x2e3)](this[_0x212cb5(0xfa)]),_0x4926fb['shareReplay'](0x1),_0x4926fb[_0x212cb5(0xf0)](void 0x0));}[_0x195815(0x2d2)](_0x341b49,_0x41a404,_0x1c0aba=!0x1){const _0x4b049e=_0x195815,_0x3c9bdd=new URL(window['location'][_0x4b049e(0x369)]);_0x3c9bdd['searchParams'][_0x4b049e(0x1fc)](_0x341b49,_0x41a404),_0x1c0aba?window['history'][_0x4b049e(0xf8)]('','',_0x3c9bdd[_0x4b049e(0x356)]()):window[_0x4b049e(0x1c8)][_0x4b049e(0x114)]('','',_0x3c9bdd[_0x4b049e(0x356)]());}[_0x195815(0x309)](_0x1dd576,_0x51ddc9=!0x1){const _0x4750ba=_0x195815,_0x2be0c6=new URL(window['location']['href']);_0x2be0c6[_0x4750ba(0x224)]['delete'](_0x1dd576),_0x51ddc9?window[_0x4750ba(0x1c8)][_0x4750ba(0xf8)]('','',_0x2be0c6[_0x4750ba(0x356)]()):window['history'][_0x4750ba(0x114)]('','',_0x2be0c6[_0x4750ba(0x356)]());}[_0x195815(0x30c)](_0x2b2d0d){const _0x555ed5=_0x195815;var _0x2c483d;return(_0x2c483d=new URL(window[_0x555ed5(0x120)]['href'])[_0x555ed5(0x224)][_0x555ed5(0x499)](_0x2b2d0d))!=null?_0x2c483d:void 0x0;}}var _0x2b2ed8=Object[_0x195815(0x42d)],_0x17db13=Object[_0x195815(0x49c)],_0x28e549=(_0x1f7966,_0x547604,_0xf627f4)=>_0x547604 in _0x1f7966?_0x2b2ed8(_0x1f7966,_0x547604,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xf627f4}):_0x1f7966[_0x547604]=_0xf627f4,_0x10ce66=(_0x388917,_0x3f6713,_0x250ddb,_0x15c064)=>{for(var _0x33bca6=_0x15c064>0x1?void 0x0:_0x15c064?_0x17db13(_0x3f6713,_0x250ddb):_0x3f6713,_0x3b34db=_0x388917['length']-0x1,_0x572b3c;_0x3b34db>=0x0;_0x3b34db--)(_0x572b3c=_0x388917[_0x3b34db])&&(_0x33bca6=(_0x15c064?_0x572b3c(_0x3f6713,_0x250ddb,_0x33bca6):_0x572b3c(_0x33bca6))||_0x33bca6);return _0x15c064&&_0x33bca6&&_0x2b2ed8(_0x3f6713,_0x250ddb,_0x33bca6),_0x33bca6;},_0x6012a=(_0x1a6075,_0x4862c7)=>(_0x2d1be8,_0x418323)=>_0x4862c7(_0x2d1be8,_0x418323,_0x1a6075),_0x23b22f=(_0x4d04ef,_0x350fce,_0x384664)=>_0x28e549(_0x4d04ef,_0x350fce+'',_0x384664);const _0xfdb69c=_0x195815(0x2ff);_0x43f096['UniverCollaborationClientPlugin']=class extends _0x146bad['Plugin']{constructor(_0x47c32c=_0x5971bd,_0x24cf10,_0x5324b0,_0x5acfc9,_0x5ce7af){const _0x4b5acc=_0x195815;super(),this[_0x4b5acc(0x3f1)]=_0x47c32c,this[_0x4b5acc(0x443)]=_0x24cf10,this[_0x4b5acc(0x4a2)]=_0x5324b0,this[_0x4b5acc(0x3bf)]=_0x5acfc9,this[_0x4b5acc(0x11f)]=_0x5ce7af;const {..._0x3b8583}=this[_0x4b5acc(0x3f1)];this[_0x4b5acc(0x11f)][_0x4b5acc(0x28a)](_0x2cb813,_0x3b8583);}['onStarting'](){const _0x5ad56b=_0x195815;this['_registerDependencies'](),_0x146bad[_0x5ad56b(0x36b)](this[_0x5ad56b(0x3bf)],[[_0x235136],[_0x43f096['DataLoaderController']],[_0x2a9433]]);}[_0x195815(0x29d)](){const _0x2ddf8b=_0x195815;_0x146bad['touchDependencies'](this[_0x2ddf8b(0x3bf)],[[_0x23e01e]]);}[_0x195815(0x4a6)](){const _0x58e704=_0x195815;this[_0x58e704(0x2bd)]();}[_0x195815(0x3b9)](){const _0x173eb8=_0x195815;var _0xa49442,_0x533eb5,_0x569068,_0x6d6ad9;this[_0x173eb8(0x3bf)][_0x173eb8(0xef)](_0x146bad[_0x173eb8(0x27e)])&&this[_0x173eb8(0x443)][_0x173eb8(0x4c4)](_0x173eb8(0xdc),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');let _0x97220c=[[_0x146bad[_0x173eb8(0x27e)],{'useClass':_0x48f86f}],[_0x43f096[_0x173eb8(0x2ac)]],[_0x3284dd],[_0x4e82ba[_0x173eb8(0x229)]],[_0x15fc1b,{'useClass':_0x37aa0b}],[_0x31c535],[_0x43f096[_0x173eb8(0x314)]],[_0x4e82ba[_0x173eb8(0x38e)]],[_0x5c19c5],[_0x54f7a1],[_0x362332],[_0x477fa9],[_0x63ff31],[_0x5f5a72],[_0x560a31],[_0x2a9433],[_0x1016ab,{'useClass':(_0x533eb5=(_0xa49442=this['_config'])==null?void 0x0:_0xa49442[_0x173eb8(0xf7)])!=null?_0x533eb5:_0x43f096[_0x173eb8(0x1c5)]}],[_0x4e82ba[_0x173eb8(0x19b)],{'useClass':_0x4e82ba[_0x173eb8(0x393)]}],[_0x5e3529[_0x173eb8(0x167)],{'useClass':_0x43f096[_0x173eb8(0x3a9)]}],[_0x146bad['IAuthzIoService'],{'useClass':_0x43f096[_0x173eb8(0x405)]}],[_0xc7125f[_0x173eb8(0x234)],{'useClass':_0x43f096['ImageIoService']}],[_0x43f096[_0x173eb8(0x45b)]],[_0x43f096[_0x173eb8(0x100)]],[_0x43f096[_0x173eb8(0x4c6)]],[_0x23e01e],[_0x235136]];(_0x569068=this[_0x173eb8(0x3f1)])!=null&&_0x569068[_0x173eb8(0x1a3)]&&_0x97220c[_0x173eb8(0x4ce)]([_0x5e5bc8,{'useClass':_0x3b0b97}]),_0x97220c=_0x146bad[_0x173eb8(0xd0)](_0x97220c,(_0x6d6ad9=this[_0x173eb8(0x3f1)])==null?void 0x0:_0x6d6ad9['override']),_0x97220c['forEach'](_0x4e65b0=>this[_0x173eb8(0x3bf)][_0x173eb8(0x2ba)](_0x4e65b0)),this['_initModules']();}['_registerRenderDependencies'](){const _0x3cd17d=_0x195815;this[_0x3cd17d(0x124)](this['_renderManagerService']['registerRenderModule'](_0x146bad['UniverInstanceType'][_0x3cd17d(0x262)],[_0x725cea])),this['disposeWithMe'](this[_0x3cd17d(0x4a2)][_0x3cd17d(0x1be)](_0x146bad[_0x3cd17d(0x350)][_0x3cd17d(0x496)],[_0x3ffc05]));}[_0x195815(0x300)](){const _0x2f8faa=_0x195815;var _0x51634f,_0xea03eb;this[_0x2f8faa(0x3bf)]['get'](_0x4e82ba[_0x2f8faa(0x229)])[_0x2f8faa(0x290)]({'priority':0x14,'interceptor':_0x4e82ba[_0x2f8faa(0x41e)]({'maxParallel':0x6})}),this[_0x2f8faa(0x3bf)][_0x2f8faa(0x499)](_0x5f5a72),(_0x51634f=this[_0x2f8faa(0x3f1)])!=null&&_0x51634f[_0x2f8faa(0x3f0)]||this[_0x2f8faa(0x3bf)][_0x2f8faa(0x499)](_0x43f096[_0x2f8faa(0x314)])[_0x2f8faa(0x415)](),(_0xea03eb=this[_0x2f8faa(0x3f1)])!=null&&_0xea03eb[_0x2f8faa(0x1ec)]&&this[_0x2f8faa(0x3bf)]['get'](_0x63ff31),this[_0x2f8faa(0x3bf)][_0x2f8faa(0x499)](_0x43f096[_0x2f8faa(0x45b)]),this[_0x2f8faa(0x3bf)][_0x2f8faa(0xef)](_0x43f096['DesktopCollaborationStatusDisplayController'])&&this['_injector'][_0x2f8faa(0x499)](_0x43f096[_0x2f8faa(0x4c6)]);}},_0x23b22f(_0x43f096[_0x195815(0x11c)],_0x195815(0x20b),_0xfdb69c),_0x43f096[_0x195815(0x11c)]=_0x10ce66([_0x146bad[_0x195815(0x4b0)](_0x5e3529[_0x195815(0x413)]),_0x6012a(0x1,_0x146bad[_0x195815(0x40d)]),_0x6012a(0x2,_0x502efe['IRenderManagerService']),_0x6012a(0x3,_0x146bad[_0x195815(0x49b)](_0x146bad[_0x195815(0x3de)])),_0x6012a(0x4,_0x146bad[_0x195815(0x339)])],_0x43f096[_0x195815(0x11c)]),_0x43f096[_0x195815(0x1f1)]=_0x3aaf42,_0x43f096['COLLAB_SUBMIT_CHANGESET_URL_KEY']=_0x4db597,_0x43f096[_0x195815(0x377)]=_0x7d2a8d,_0x43f096['CollaborationStatus']=_0x458b2a,_0x43f096['CollaborationStatusDisplay']=_0x4ee760,_0x43f096[_0x195815(0x1aa)]=_0x560a31,_0x43f096[_0x195815(0x358)]=_0x1882e9,_0x43f096[_0x195815(0xf4)]=_0x505d92,_0x43f096['ICollaborationSocketService']=_0x1016ab,_0x43f096[_0x195815(0x134)]=_0x15fc1b,_0x43f096['LOCAL_CACHE_INTERVAL_KEY']=_0x54a43,_0x43f096[_0x195815(0x4a1)]=_0x5b6adf,_0x43f096[_0x195815(0x4fd)]=_0x41257b,_0x43f096['SEND_CHANGESET_TIMEOUT_KEY']=_0x3bb2bb,_0x43f096[_0x195815(0xfe)]=_0x51a295,_0x43f096[_0x195815(0x471)]=_0x14eb62,_0x43f096[_0x195815(0x1cd)]=_0x4c15a4,_0x43f096[_0x195815(0x394)]=_0x5bb06f,_0x43f096[_0x195815(0x48c)]=_0x37aa0b,_0x43f096[_0x195815(0x141)]=_0x29af60,_0x43f096['serializeCombRequest']=_0x4ba999,Object[_0x195815(0x42d)](_0x43f096,Symbol['toStringTag'],{'value':_0x195815(0x21e)});}));function _0x2721(){const _0x23d47d=['isTransformChangesetsSuccess','[CollaborationSession]','isValidRectRange','save\x20fail\x20reason\x20is\x20','_collabSessionService','@univerjs/engine-render','MSG_FOR_ERROR','/-/object/list','_getDownloadEndpointURL','unitId\x20is\x20not\x20found','actions','fetch_missing','_docTransformIMECacheService','SUCCUSS','rgba(255,\x20255,\x20255,\x200.01)','INotificationService','getConfig','fillStyle','LIVESHARE_TERMINATE','InsertRangeMoveDownCommandId','sheetId','_logService','UniverDocsUi','_transformPreviousActiveRange','_snapshotServerService','transformMutation','offline','react','/object/','fetchMissingChangesets','_onRemoteChangeset','isArray','mutations','CHANGESET_ACK','_socket$','[CollaborationSessionService]','_setupSubUnitSync','_updateLocalCache','OnLineSingle','_getUploadFileURL','_members','image/jpg','close$','_candidateSocket','_labelPosition','CollaborationController','complete','Optional','APPLY_PERMISSION_DENIED','_urlService','getSheetBySheetId','collabStatus.offline','transformRemoteChangeset','values','url(#on-line-single_clip0_910_349)','_removeClearOtherTimer','ImageSourceType','_onUserLeave','reconnect','_startDocCollabCursor','currentTheme$','clipPath','_localCacheService','requireSession','_getSendChangesetTimeout','CollaborationEvent','sheetID','SNAPSHOT_URL_KEY','popstate','key','newValue','drawWith','event$','c1Prime','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_context','row','deepClone','findNodePositionByCharIndex','reduce','UnitSnapshot','IBeforeCloseService','color','socket\x20close','submit\x20changeset\x20error!','univer-online-status-title','liveShareNewHost','skeleton','getUnitOnRev','@univerjs-pro/license','_updateCollabCursors','_document','PSEUDO_FETCH_MISSING_RESULT','_clearCollaborationTimeoutTimer','WebURLService','LICENSE_EXPORT_SIZE_EXCEEDED','Unknown\x20user','isTransformMutationsWithChangesetSuccess','_transformIMECache','_onRemoteRejected','[OfflineState]:\x20received\x20rejection.','FAIL','unitId','setUndoRedoMutationParamsCache','UNIVER_SHEET','status','0\x200\x2016\x2016','get','csAckEvent','Inject','getOwnPropertyDescriptor','session.room-full','handleMoveRange','RemoveRowCommandId','_handleJoinEvent','LOGIN_URL_KEY','_renderManagerService','_event$','[PendingState]:\x20unhandled\x20univer\x20type:\x20','onRemoteChangeset','onRendered','DisposableCollection','_getScale','_onJoinRoomEvent','onPointerLeave$','collaboration-session-retry','getRelativeToViewportCoord','OTHER_CLIENTS_EDITING','_initCloseConn','getCurrent','DependentOn','CollaborationEntity','_state$','getVpScrollXYInfoByPosToVp','_shapes','_selfUnitIDs','width','replaceTextRanges','getCurrentSelections','editingUnit','BuiltInUIPart','_state','includes','getTypeOfUnitAdded$','CompressMutationService','status$','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','onTransformRemoteChangesetByIMECache','size','awaiting','error','delete','DesktopCollaborationStatusDisplayController','append','url','_socket','_transformUndoRedoStack','runRefRangeMutations','getUnitStatus$','none','push','_assignedColors','getUniverSheetInstance','EmptyMutation','collabStatus.conflict','object','Rect','all','_getMergeRange','createSocket','IContextService','from','InsertRangeMoveRightCommandId','#FFF','black','mapDocumentTypeToUniverType','/unit/','synced','random','InsertColCommandId','onTransformSelections','/universer-api/snapshot/','clearInterval','_drawAnchor','_collabCursorState$','1em','useCallback','_timeoutTimer','_session','whenReady','save','updateOfflineData','Workbook','contains','UniverEngineRender','ranges','confirm','batchAllowed','tag','_createInitialState','[CollaborationEntity]','_memberService','_send','DeleteRangeMoveUpCommandId','IPermissionService','_updateURLWithCurrentState','gold400','RETRY_CONNECTING_MAX_COUNT_KEY','signUrlServerUrl','LICENSE_MAX_UNITS_EXCEEDED','mergeOverrideWithDependencies','code','off-line-single_clip0_910_343','onTransformChange$','_hovered','withCredentials','[CollaborationUndoRedoService]','onlineStatusTitle','_pendingMutations','startsWith','setInterval','&assign=','[UniverCollaborationClientPlugin]','_sendHeartbeatTimer','CommandType','translate(.97)','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','method','LICENSE_IMPORT_SIZE_EXCEEDED','setActiveRange','LIVESHARE_REQUEST_HOST','Shape','MUTATION','_sheetSkeletonManagerService','transformUndoRedo','path','saveOfflineData','parseProtocolChangeset','_initStatusComponent','YUUMI_UNABLE_LOAD_URL','ONLINE','has','mapTo','state$','_init','ERROR_IMAGE_TYPE','HEARTBEAT_TIMEOUT_KEY','fetchThroughInterceptors','_HTTPService','socketService','replaceState','6726087hZoXqn','dispose$','close','ICommandService','endRow','SNAPSHOT_SERVER_URL_KEY','getDeserializedSheetBlock','DataLoaderController','collaborators','current','onMissedChangesetFetched','merge','toggleOnline','OFFLINE','changesets','SetTextSelectionsOperation','_setupBeforeClosingHandler','getCoordByCell','_revisionService','_compressMutationService','_docTransformSelectionsService','_drawRectRange','collabStatus.notCollab','file','_name','_refRangeService','isActive','pushState','_messageService','COLLAB_WEB_SOCKET_URL','_onOffline','off-line-single','UNDEFINED','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_disableEditing','UniverCollaborationClientPlugin','RefRangeService','font','_configService','location','onlineStatus','_exhaustRemoteChangesetQueue','IUIPartsService','disposeWithMe','_toggleOffline','DocStateChangeManagerService','transformChangesets','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_substituteRedoStack','doc.mutation.rich-text-editing','_backgroundColor','onPointerMove$','LocalUndoRedoService','_lockTransition','switchMap','editing\x20status\x20changed\x20to','ITelemetryService','COMPRESS_MUTATION_SEND','subunit','IURLService','DeleteRangeMoveLeftCommandId','onRemoteRej','name','interceptor','bind','_getAPIPrefixPath','indexOf','exhaustSavingTask','_listenToOfflineEvent','fillRule','onMissingChangesets','SHOULD_CLOSE_CONN','deserializeToCombResponse','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','POST','reverse','getCollabCursors$','_onCursorDelete','_id','InsertSheetMutation','symbol','leaveEvent','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','conflict','/allowed','saveChangeset','_handleEvent','getActiveSheet','_univerInstanceService','routeKey','div','getDocRanges','_draw','createIdentifier','_clearRedo','handleDeleteRangeMoveUp','measureText','encodeURIComponent','HEADER_MENU','transformMutationsWithChangeset','top','_socketMessageSubscription','_transformStack','delay','asObservable','generateRandomId','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','BehaviorSubject','exports','Univer','ISnapshotServerService','defIds','some','_transformUndoredo','_onUserJoin','fetching\x20missing\x20changesets\x20from\x20','_executeRemoteChangeset','_scheduleClearOtherTimer','univer-online-status','now','refreshPermission','_transformService','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','red300','_localeService','function','onlyLocal','SetWorksheetActivateCommand','@univerjs/network','_initUnitPermissionChange','getUnitId','handleInsertRangeMoveRight','COLORS','_docSyncEditingCollabCursorService','_notificationService','getItem','UniverUi','_collaborationSessionService','FETCH_MISS','collaboratorID','@univerjs/sheets-ui','getTypeOfUnitDisposed$','_throwTelemetryCollaborationNewChangeset','newCsEvent','roles','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','Warning','onMouseMove','_stopTelemetryCollaborationNewChangeset','UniverDocs','@univerjs/sheets','roomMembers$','UniverLicense','@univerjs/telemetry','_commandService','reject','_scheduleTimestamp','getAncestorScale','_getRedoStack','YUUMI_URL_COL_OUT_OF_RANGE','_status$','defs','IHTTPImplementation','YUUMI_SUBSCRIPTION_NOT_FOUND','addEventListener','UniverSheetsUi','originalMeta','socket\x20open.','fetchMiss','startTime','enableSingleActiveInstanceLock','@univerjs/drawing','/block/','on-line-single','registerBeforeClose','2677292bMwAbB','getImageSourceCache','CommentService','collab-text-anchor-','HEARTBEAT','data','_updateSubUnitFromURLParams','hasOwnProperty','_listenToOnlineEvent','@univerjs/ui','conflict.content','_ensureSubject','_startSheetCollabCursor','UniverNetwork','_createHandler','_initCommandExecutedListener','UnitEmbedded','range','blue400','VIEWPORT_KEY','makeDirty','SheetPermissionInitController','registerRenderModule','createElement','requestParams','_roomMembers$','collaboration-client.config','TOO_MANY_REQUESTS','change$','CollaborationSocketService','show','[SyncedState]:\x20received\x20rejection.','history','_hover','setCurrentUser','APPLY_DUPLICATED','Disposable','SessionStatus','addImageSourceCache','getRenderById','dispose','error$','[DataLoaderController]','max','getSheetId','SheetSkeletonManagerService','setShapeProps','_clearLocalCache','forEach','UniverSheets','_onCombEvent','_saveCache','patch','prototype','_onRecvEvent','_getCurrentRevision','setWaitCount','hidden','amd','_telemetryService','isPermissionRej','_onMessage','TEXT_RANGE_LAYER_INDEX','useRef','_cachedData','@univerjs/docs','_getSheetObject','_anchorDot','enableAuthServer','commentUpdateEvent','session','text','listRoles','AUTHZ_URL_KEY','toggleOffline','_incrementRevisionNumber','ERROR_EXCEED_SIZE','IRenderManagerService','_createSocket','_onLocalMutation','_clearTimeoutTimer','getOwnPropertySymbols','eventID','_removeRoom','set','syncEditingCollabCursor','debug','/-/object/-/batch_allowed','substring','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_unitID','_getUndoStack','distinctUntilChanged','unsubscribe','hide','catch','SNAPSHOT_INVALID_SNAPSHOT','EffectRefRangId','PERMISSION_REJ','pluginName','getAttachHeader','restore','_collaborationPaused','x-univer-host','567945ZidFWE','updateCollaborator','_roomMembers','commentUpdate$','7700WYwRTd','saveImage','getInterceptPoints','_getSnapshotAPIPrefix','arc','collabWebSocketUrl','_ws','getValue','_socketReady','resourceIDs','Module','verdancy600','appendMutation','focused$','_cursors','setTimeout','searchParams','next','IDLE','/universer-api/comb','transformByState','HTTPService','_clearUndo','HttpExport','cursorInfo','RevisionService','_updateState','[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.','call','currentColor','@univerjs-pro/collaboration','_checkMissing','IImageIoService','deleteCollaborator','UNAUTHENTICATED','_type','_textBubble','_colorAssignService','handleIRemoveRow','userID','JOINING','init','loginUrlKey','getLatestCsReqIdBySid','/new_changes','getViewport','_transitionLocked','_saveTaskMap','isEditing','not_collab','m2Prime','fill','setAlpha','length','_clearScheduledTask','NodePositionConvertToRectRange','unit-cache-','onCommandExecuted','LOCAL_CACHE_INTERVAL','params','UniverDrawing','responseType','_docStateChangeManagerService','/object','_entities','rxjs','origin','sid','UniverCollaborationClient','FileId','RxDisposable','selections','17105ZGdOcT','svg','joinEvent','_collaborationController','_tryReconnect','isTransformMutationFailure','UNIVER_DOC','objectType','attrs','getRandomValues','propertyIsEnumerable','4473MtKyYN','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','subUnitId','_onCursorUpdate','_toggleOnline','getCellPositionByOffset','ImageUploadStatusType','createInstance','SYNCED','[CollaborationSessionService]:\x20socket\x20error','assignAColorForMemberID','AWAITING_WITH_PENDING','isInternalEditorID','4734DZTRko','/role','failed\x20to\x20apply\x20missed\x20changesets!','_tryEnsureSocket','_colorIndex','cmd','extend','\x0aCurrent:\x20','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','UNKNOWN_CODE','IUndoRedoService','univer-online','_color','_imageSourceCache','NO_OTHER_CLIENTS_EDITING','JSONX','headers','COMPRESS_MUTATION_APPLY','toRgbString','_onRemoteACK','collabCursorState$','filter','setConfig','UUID','_anchor','getCurrentUser','unload','COMPLETION_FINISHED','registerHTTPInterceptor','_syncEditingCollabCursorService','enableLocalCache','HELLO','M0\x200H16V16H0z','LocaleService','combineLatest','then','idSuffix','LIVESHARE_NEW_HOST','getSkeleton','getActiveRange','docStateChange$','onReady','setItem','Vector2','_getAPIPrefix','_remoteChangesetQueue','unit','take','_lastPointer','_disabled','_retryConnectingTimer','_eventUnsubscribe','concat','HttpImport','connection\x20error','registerComponent','CollaborationSessionService','resize','ILocalStorageService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_handleHover','_handleHeartbeatEvent','replace','evenodd','sendChangesetTimeout','_hideTimer','getFocusedUnit','/universer-api/oidc/authpage','throttleTime','copyFileMeta','add','collaboration-client.offline-data-not-saved','deserializeRangeWithSheet','_registerRenderDependencies','concatMap','APPLY_REJECT','ColorKit','sessionStatus$','4033344cpzBCQ','put','_schedule','collab-rect-range-','icon','LICENSE_DISTRO_REJECTED','getMember','RegularPolygon','getCollabEntity','slice','getTime','7757Iyetkz','startColumn','_httpService','CHANGESET_REJ','textRanges','setParam','ENSURE_SNAPSHOT_EXECUTION','&to=','INVALID_ARGUMENT','url(#off-line-single_clip0_910_343)','_clearOtherTimers','USERS_LEAVE','loadOfflineData','_cursorInfo$','baseRev','getCollabEntity$','_telemetryInfo','@univerjs/design','fromEvent','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','SEND_CHANGESET_TIMEOUT','_rescheduleHeartbeat','takeUntil','parse','_changesetSessionId','clear','infoRsp','post','debounce','className','_handleLeaveEvent','encode','round','joinRsp','UPDATE_PERMISSION_OBJ','COLLAB_SUBMIT_CHANGESET_URL','_entityInit$','ThemeService','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_loadSheet','_sessions','/universer-api/file/{fileID}/sign-url','unitID','isTransformMutationsWithChangesetFailure','/collaborator','RichTextEditingMutation','Error','_transformRemoteChangesetByIMECache','Error\x20on\x20receiving\x20event','OffLineSingle','UNIVER_COLLABORATION_CLIENT_PLUGIN','_initModules','Undefined','0\x200\x2017\x2016','allowed','_refreshCollabCursors','subscribeEvent','rxjs/operators','addObject','_change$','removeParam','members','_onRefRangeChange','getParam','urlChange$','result','&source=','on-line-single_clip0_910_349','_commentService','_awaitingChangeset','executeCommand','LocalCacheService','beginPath','c2Prime','localeService','readAsDataURL','APPLY_NON_SEQUENTIAL_REVISION','_unitStatus','_replayCachedMutations','getUnitType','_changesetReqId','socket$','addObjects','LIVESHARE_FETCH_OPERATIONS','onRemoteAck','_loadDoc','_isPermissionRej','UNKNOWN_CMD','_redoStacks','UNIVER_UNKNOWN','awaiting_with_pending','Subject','getRoom','ALREADY_EXISTS','stringify','moveTo','cursorInfo$','_initStatusListener','getCurrentRevOfUnit','_heartbeatTimer','_unlockTransition','RECV','getUndoRedoMutationParamsCache','LEAVE','snapshot','_permissionService','_onConnectionFailed','CHANGESET_REVISION_CONFILICT','IConfigService','_acknowledgedAwaitingChangeset','_updateLocalCursor','use','SheetsSelectionsService','_sendingTimer','labelPosition','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_startTelemetryCollaborationNewChangeset','PENDING','uni.network.url-service','_undoStacks','_joinRoom','[CollaborationState]:\x20apply\x20error!','collab-client.tooltip.reconnect','DocIMEInputManagerService','handleInsertCol','INGEST','_onConnectionOpen','#fff','_onConflict','sessionStatus','shouldCloseConn','UniverInstanceType','APPLY_REVISION_CONFILICT','_instanceService','_getCtorByUniverType','stopTime','initWorkbookPermissionChange','toString','NOT_COLLAB','HEARTBEAT_INTERVAL_KEY','awaitingChangeset','_commentUpdate$','collaboration.closeRoom','send','getUnhiddenWorksheets','updateCursorEvent','capture','[PendingState]:\x20received\x20rejection.','getImage','IMessageService','DocSelectionManagerService','session.will-retry','body','collaboration.single-unit.warning','\x20to\x20','SheetCollaborationEntity','href','duration','touchDependencies','getUnit','getMemberID','_removeCollabCursors','_scene','entries','map','InsertRowCommandId','incrementRevOfUnit','transformSelections','activeSheet$','onSendChangeset','COLLAB_WEB_SOCKET_URL_KEY','_shouldReportTelemetry','updatePermissionPoint','_online','_decreaseWaiting','action','find','USERS_ENTER','permission.content','unknown','_substituteUndoStack','string','_handler','subscribe','forwardRef','_localStorageService','React','registerRefRange','UNIVER_SLIDE','min','_socketService','_scheduleCollaborationTimeoutTimer','_clearHeartbeatTimer','WebSocketService','MessageType','COMMENT_UPDATE','pending','Rectangle','XHRHTTPImplementation','SheetCollabCursorShape','selection','getOffsetConfig','_startCollaboration','[PendingState]:\x20received\x20acknowledgement.','univer-pro.collaboration-client.single-active-unit-service','LIVESHARE_OPERATION','UniverCollaboration','/universer-api/snapshot','b64DecodeUnicode','UniverDesign','YUUMI_RATE_OVER_LIMIT','_undoRedoService','_collabCursorController','UniverEngineFormula','_transformSelections','with','message$','collab-text-range-','_drawTextRange','DocCollaborationEntity','SnapshotServerOverHTTPService','displayName','_queuedRemoteChangesets','_range','roomInfos','snapshotServerUrl','ImageIoService','FETCH_MISSING','@univerjs/rpc','textEncoder','number','xlink:href','collabStatus.synced','assign','onlineStatusIcon','_waitCount','_registerDependencies','_initResize','UNRECOGNIZED','_getLoginPath','186ZwqnTm','children','_injector','visibilitychange','rev','3zkQvRD','onTransformIME','objectID','_sheetTransformSelectionsService','WorkbookEditablePermission','_fetchMissChangesets','Tools','triggerDblclick','_sendHeartbeat','ACTIVE_UNIT_EVENT_CHANNEL','transform','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_themeService','sequenceExecute','_http','_initRequestHeader','UPDATE_CURSOR','ITransformService','FromArray','_initMergeInterceptor','SetSelectionsOperation','_docSkeletonManagerService','csRejEvent','_cursor','_getSignURL','column','collabStatus.syncing','permission.title','Injector','SUBMIT_CHANGESET','colorChannel1','handleInsertRow','BASE64','_userManagerService','_showConflictNotification','image/bmp','_applyRemoteChangeset','@univerjs/docs-ui','revision','JOIN','randomUUID','apply','_unitOnClients','registerOnClose','toDisposable','/resources','enableOfflineEditing','_config','_collaborationTimeoutTimer','univer-pro.collaboration-client-socket-service','currentSkeleton$','INTERNAL_ERROR','_waitForHeartbeatResponse','resolve','_snapshotService','type','online','EXCHANGE_SIGN_URL_SERVER_URL_KEY','roomMembers','url(#$1','transformIMECache','_getAnchorBounding','updatePermissionObjEvent','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_submitChangeset','createCollaborator','clearTimeout','AuthzIoHttpService','NOT_FOUND','UniverCore','_getSaveTimeout','_beforeCloseService','collabSubmitChangesetUrl','useDependency','purple300','ILogService','IUniverInstanceService','memberID','_cursorShapes','_retryCount','getColor','UniverCollaborationPlugin','resend','disableLocalCache','\x20-\x20','state','_singleActiveUnitService','closeSession','shareReplay','updateMember','_render','reqId','ThresholdInterceptorFactory','split','onCommentUpdate','height','_sessionStatus$','getRangePointData','pipe','fillText','sheets','ERROR_IMAGE','unshift','lineTo','CollaborationSession','removeMember','_uiPartsService','defineProperty'];_0x2721=function(){return _0x23d47d;};return _0x2721();}
1
+ function _0x16a9(_0x2e4add,_0x58d02b){const _0x7cbde7=_0x7cbd();return _0x16a9=function(_0x16a9bc,_0x260cdb){_0x16a9bc=_0x16a9bc-0x152;let _0x55d352=_0x7cbde7[_0x16a9bc];return _0x55d352;},_0x16a9(_0x2e4add,_0x58d02b);}function _0x7cbd(){const _0x4658c3=['updatePermissionObjEvent','handleInsertRow','SEND_CHANGESET_TIMEOUT_KEY','state$','isTransformChangesetsSuccess','snapshotServerUrl','_waitCount','JSONX','SetWorksheetActivateCommand','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','?url=','path','isTransformMutationsWithChangesetFailure','COLLAB_WEB_SOCKET_URL_KEY','_unlockTransition','UnitEmbedded','collabStatus.syncing','onRemoteRej','eventID','isActive','_stopTelemetryCollaborationNewChangeset','toggleOnline','getTime','saveOfflineData','_drawRectRange','pushState','getUniverSheetInstance','getOffsetConfig','LIVESHARE_REQUEST_HOST','AuthzIoHttpService','COMPRESS_MUTATION_APPLY','EXCHANGE_SIGN_URL_SERVER_URL_KEY','CollaborationEntity','number','idSuffix','_socket$','catch','AWAITING_WITH_PENDING','prototype','SEND_CHANGESET_TIMEOUT','onTransformSelections','stringify','_singleActiveUnitService','_saveTaskMap','rxjs','_schedule','set','body','defs','_transformUndoRedoStack','YUUMI_SUBSCRIPTION_NOT_FOUND','2275194cjGPuf','onSendChangeset','downloadEndpointUrl','_removeCollabCursors','_disabled','UniverDrawing','_changesetReqId','RichTextEditingMutation','APPLY_PERMISSION_DENIED','updatePermissionPoint','currentTheme$','signUrlServerUrl','rgba(255,\x20255,\x20255,\x200.01)','subscribeEvent','_sheetSkeletonManagerService','SUBMIT_CHANGESET','_init','_ws','disableLocalCache','YUUMI_UNABLE_LOAD_URL','_initCloseConn','_state','FileId','_onRemoteRejected','Vector2','text','popstate','_isPermissionRej','&assign=','closeSession','isTransformMutationsWithChangesetSuccess','key','type','ICommandService','online','revision','_snapshotService','makeDirty','isPermissionRej','map','@univerjs/telemetry','LocaleService','/universer-api/file/{fileID}/sign-url','split','_docSkeletonManagerService','joinEvent','flatMap','endRow','_hovered','_setupBeforeClosingHandler','UPDATE_CURSOR','substring','event$','_collabCursorState$','collabStatus.fetchMiss','image/bmp','visibilityState','IPermissionService','COLLAB_WEB_SOCKET_URL','SheetSkeletonManagerService','_renderManagerService','_removeRoom','open$','INVALID_ARGUMENT','string','SUCCUSS','SheetPermissionInitController','/resources','isArray','UniverDocsUi','operators','_candidateSocket','children','Injector','@univerjs/ui','socket\x20open.','_removeClearOtherTimer','react','YUUMI_URL_COL_OUT_OF_RANGE','#FFF','onMissingChangesets','getColor','IUIPartsService','liveShareNewHost','measureText','INGEST','_labelPosition','onPointerEnter$','UniverIcon','/object','onRendered','permissionRejEvent','put','backgroundColor','Inject','IBeforeCloseService','UniverInstanceType','location','/universer-api/comb','[UniverCollaborationClientPlugin]','getActiveSheet','triggerDblclick','LIVESHARE_NEW_HOST','_scheduleSaving','SHOULD_CLOSE_CONN','concatMap','Unknown\x20user','_createHandler','WorkbookEditablePermission','throttleTime','HttpImport','_handleJoinEvent','OnLineSingle','setShapeProps','jiqing500','row','fromEventSubject','[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.','_logService','@univerjs/engine-formula','CONFLICT','_transformUndoredo','save','_cachedData','conflict.title','Workbook','_initUnitPermissionChange','SheetCollabCursorShape','_updateLocalCursor','_revisionService','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','getFocusedUnit','uploadFileServerUrl','conflict.content','onTransformRemoteChangesetByIMECache','getMemberID','@univerjs/design','/fetchmissing?from=','parse','awaiting','status$','PSEUDO_FETCH_MISSING_RESULT','has','getItem','UniverCore','InsertSheetMutation','TRANSFORM_CHANGE_OBSERVABLE_TYPE','APPLY_DUPLICATED','UniverCollaborationClient','DEFAULT_FILE_NAME','getSheetBlock','NOT_FOUND','handleDeleteRangeMoveUp','_unitOnClients','_commentUpdate$','RegularPolygon','_shouldReportTelemetry','_replayCachedMutations','transformUndoRedo','IConfigService','updateCollaborator','1932710vkVAde','transformSelections','UniverDocs','json','merge','SnapshotService','_setupSubUnitSync','cursorInfo','_collaborationPaused','_clearRedo','_docTransformIMECacheService','_getCurrentRevision','COMPLETION_FINISHED','[OfflineState]:\x20received\x20rejection.','HTTPRequest','_unitID','OFFLINE','ranges','_compressMutationService','touchDependencies','SheetCollaborationEntity','CollaborationController','column','3063264udXlhX','_session','image/jpg','UNIVER_SHEET','getViewport','_uiPartsService','getDocRanges','getUnitId','_localStorageService','setTimeout','textEncoder','objects','capture','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','telemetry\x20info\x20is\x20not\x20initialized','useObservable','_onOffline','loginUrlKey','getInterceptPoints','switchMap','UniverNetwork','fetchThroughInterceptors','onlyLocal','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_instanceService','assign','setCurrentUser','_onRefRangeChange','now','evenodd','_redoStacks','snapshot','[CollaborationSession]','init','_httpService','MSG_FOR_ERROR','_userManagerService','@univerjs/drawing','_clearScheduledTask','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_listenToOnlineEvent','beginPath','Rect','collaboratorID','unitId\x20is\x20not\x20found','function','localeService','setParam','fillText','ColorKit','handleIRemoveRow','lineTo','conflict','RevisionService','_send','add','actions','url(#$1','collabStatus.synced','send','Error\x20on\x20receiving\x20event','_registerDependencies','reverse','some','permission.content','socket$','createElement','@univerjs/docs-ui','/new_changes','awaiting_with_pending','@univerjs/core','hide','948399qycuKe','close','encode','CollaborationStatus','&source=','_initStatusComponent','VIEWPORT_KEY','_scheduleClearOtherTimer','routeKey','_colorAssignService','handleMoveRange','fill','collaborators','clearTimeout','push','_throwTelemetryCollaborationNewChangeset','toDisposable','disposeWithMe','mergeOverrideWithDependencies','_hideTimer','roomMembers$','clipPath','_onJoinRoomEvent','toLowerCase','runRefRangeMutations','UniverTelemetry','_pendingMutations','LIVESHARE_OPERATION','socket\x20close','concat','getMember','_drawAnchor','_shapes','focused$','syncEditingCollabCursor','newCsEvent','failed\x20to\x20apply\x20missed\x20changesets!','startColumn','0\x200\x2016\x2016','[SyncedState]:\x20received\x20rejection.','COMPRESS_MUTATION_SEND','_type','url','INTERNAL_ERROR','symbol','_members','WebSocketService','UniverCollaboration','getUnit','reqId','_tryReconnect','FETCH_MISS','createSocket','awaitingChangeset','collab-text-anchor-','HEARTBEAT_INTERVAL_KEY','#fff','onStateChange','collaboration_new_changeset','18btzsNa','subUnitId','registerRenderModule','updateMember','UNAUTHENTICATED','randomUUID','getTypeOfUnitAdded$','selection','_updateSubUnitFromURLParams','onTransformChange$','_id','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_http','USERS_ENTER','black','_clearUndo','infoRsp','_onUserLeave','_cursor','_HTTPService','_onConflict','addObject','removeParam','HEARTBEAT','PENDING','changesets','{fileID}','result','memberID','DisposableCollection','deserializeToCombResponse','currentColor','listRoles','fillRule','getConfig','getTypeOfUnitDisposed$','CollaborationSession','_transformSelections','_assignedColors','getCollabCursors$','getSheetObject','_getSaveTimeout','uni.network.url-service','DocSkeletonManagerService','onMissedChangesetFetched','SNAPSHOT_INVALID_SNAPSHOT','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','removeMember','leaveEvent','pipe','round','/role','_eventUnsubscribe','getAncestorScale','cursorInfo$','RefRangeService','/allowed','CompressMutationService','arc','m2Prime','ImageUploadStatusType','[CollaborationSessionService]:\x20socket\x20error','_toggleOnline','onlineStatus','enableOfflineEditing','_hover','indexOf','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','Warning','TOO_MANY_REQUESTS','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_textBubble','deserializeRangeWithSheet','_lockTransition','_socketService','_createInitialState','M0\x200H16V16H0z','_docTransformSelectionsService','collabStatus.notCollab','color','tag','name','ImageIoService','UNIVER_UNKNOWN','SnapshotServerOverHTTPService','getParam','_substituteRedoStack','CHANGESET_ACK','getMergeData','collab-client.tooltip.reconnect','OTHER_CLIENTS_EDITING','reconnect','LOCAL_CACHE_INTERVAL_KEY','selections','generateRandomId','asObservable','setAlpha','_range','_configService','_state$','listCollaborators','univer-online-status-title','width','random','\x20-\x20','UNIVER_PROJECT','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','getCollabEntity','interceptor','sessionStatus$','2912063DSdYAK','distinctUntilChanged','[PendingState]:\x20received\x20acknowledgement.','registerComponent','ONLINE','href','fetchMissingChangesets','_socket','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','getRelativeToViewportCoord','LEAVE','_getRedoStack','className','editing\x20status\x20changed\x20to','_getSnapshotAPIPrefix','univer-pro.collaboration-client.single-active-unit-service','setItem','ws://127.0.0.1:8000/universer-api/comb/connect','collabStatus.conflict','workbook','debounce','[CollaborationState]:\x20apply\x20error!','APPLY_REVISION_CONFILICT','unsubscribe','1em','_colorIndex','retryConnectingInterval','registerRefRange','svg','_getDownloadEndpointURL','_changesetSessionId','_transformService','docStateChange$','APPLY_REJECT','collabStatus.offline','_telemetryService','Univer','origin','_collabSessionService','_clearCollaborationTimeoutTimer','requireSession','UniverUi','getRandomValues','commentUpdate$','getCollabEntity$','transformRemoteChangeset','[SyncedState]:\x20received\x20acknowledgement.','@univerjs/docs','duration','DocCollaborationEntity','UNKNOWN_CMD','JOIN','get','_checkMissing','DataLoaderController','parseProtocolChangeset','_lastPointer','SheetsSelectionsService','_rescheduleHeartbeat','_onConnectionFailed','COLLAB_SUBMIT_CHANGESET_URL_KEY','patch','fetch_missing','[DataLoaderController]','DocSelectionManagerService','IUndoRedoService','_initRequestHeader','_onCombEvent','close$','LICENSE_DISTRO_REJECTED','_sessionStatus$','resize','_memberService','image/png','Shape','top','getCurrentUser','BASE64','[CollaborationUndoRedoService]','roomMembers','onCommandExecuted','serializeCombRequest','_incrementRevisionNumber','UniverEngineRender','font','getUnhiddenWorksheets','_drawTextRange','every','_substituteUndoStack','BehaviorSubject','verdancy600','getRoom','HTTPService','handleIRemoveCol','LICENSE_EXPORT_SIZE_EXCEEDED','x-univer-host','@univerjs/network','_executeRemoteChangeset','RETRY_CONNECTING_MAX_COUNT_KEY','toStringTag','@univerjs/sheets-ui','_sendingTimer','clear','mapTo','_univerInstanceService','slice','onload','univerjs-icon\x20univerjs-icon-','IUniverInstanceService','unitId','encodeURIComponent','collaboration.single-unit.warning','_clearTimeoutTimer','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_commandService','refreshPermission','history','addEventListener','session.room-full','getCurrentSelections','moveTo','_registerRenderDependencies','PERMISSION_DENIED','ERROR_IMAGE_TYPE','CommandType','Undefined','FETCH_MISSING','replaceTextRanges','combineLatest','enableSingleActiveInstanceLock','PERMISSION_REJ','LICENSE_MAX_UNITS_EXCEEDED','replaceState','defIds','_getUndoStack','_toggleOffline','_render','doc.mutation.rich-text-editing','_startCollaboration','parseChangesetToProtocol','isTransformMutationFailure','height','displayName','handleInsertRangeMoveDown','hasOwnProperty','Tooltip','rxjs/operators','CollaborationSessionService','_handleLeaveEvent','attrs','setActiveRange','enableLocalCache','members','_replaceFileID','_scheduleCollaborationTimeoutTimer','UniverDesign','_retryConnectingTimer','UNRECOGNIZED','collaMsg','filter','startsWith','UnitSnapshot','responseType','[CollaborationSessionService]','SetSelectionsOperation','dispose$','off-line-single_clip0_910_343','show','unitID','_initResize','LICENSE_IMPORT_SIZE_EXCEEDED','onRemoteAck','onlineStatusTitle','_clearLocalCache','_entityInit$','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','baseRev','_telemetryInfo','toRgbString','icon','_startTelemetryCollaborationNewChangeset','state','append','_collaborationSessionService','CollaborationSocketService','_refreshCollabCursors','RECV','sheetId','_sessions','registerHTTPInterceptor','USERS_LEAVE','_submitChangeset','MUTATION','CollaborationEvent','debounceTime','_onRecvEvent','univer-offline','exhaustSavingTask','IRenderManagerService','_fetchMissChangesets','_collaborationTimeoutTimer','_context','InsertRangeMoveRightCommandId','error$','startRow','6sjPOec','commentUpdateEvent','allowed','UNIVER_SLIDE','object','_roomMembers','save\x20fail\x20reason\x20is\x20','Tools','setUndoRedoMutationParamsCache','deepClone','_transformStack','newValue','appendMutation','replace','UNKNOWN_CODE','_waitForHeartbeatResponse','getUnitStatus$','_beforeCloseService','resend','collabSubmitChangesetUrl','_getScale','connection\x20error','_acknowledgedAwaitingChangeset','readAsDataURL','CONNECTOR_DATA_TOO_LARGE','_saveCache','_name','UniverSheetsUi','fromEvent','deleteCollaborator','_joinRoom','reject','objectType','_imageSourceCache','div','enableAuthServer','_decreaseWaiting','/block/','_cursorShapes','/unit/','length','serializeRangeWithSheet','\x20to\x20','@univerjs/sheets','_heartbeatTimer','univer-online-status-icon','_queuedRemoteChangesets','on-line-single_clip0_910_349','_color','error','urlChange$','MergeInterceptorFactory','restore','_updateState','DesktopCollaborationStatusDisplayController','sheets','HELLO','csAckEvent','_onLocalMutation','APPLY_NON_SEQUENTIAL_REVISION','_showConflictNotification','onPointerLeave$','_document','getOwnPropertySymbols','_cursors','_onMessage','UniverEngineFormula','update','trim','then','_onCursorUpdate','_docStateChangeManagerService','fromCollab','_getSignURL','colorChannel1','_handleHover','_notificationService','[PendingState]:\x20received\x20rejection.','_sendHeartbeatTimer','createIdentifier','_syncEditingCollabCursor','authzUrl','ACTIVE_UNIT_EVENT_CHANNEL','_status$','_onRemoteACK','_awaitingChangeset','COLORS','Module','closePath','_ensureSubject','headers','size','_transformIMECache','JOINING','InsertRowCommandId','getValue','propertyIsEnumerable','range','_onCursorDelete','ISnapshotServerService','ERROR_EXCEED_SIZE','url(#off-line-single_clip0_910_343)','DeleteRangeMoveUpCommandId','drawWith','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','SYNCED','editingUnit','stopTime','defineProperty','min','_docSyncEditingCollabCursorService','ILocalStorageService','transformMutationsWithChangeset','FromArray','onRemoteChangeset','_localCacheService','loadOfflineData','_createInitialStateImpl','complete','SNAPSHOT_HAS_BEEN_REMOVED','&to=','_syncEditingCollabCursorService','joinRsp','executeCommand','YUUMI_RATE_OVER_LIMIT','_collabCursorController','_timeoutTimer','transformChangesets','[OfflineState]:\x20received\x20acknowledgement.','_initEventListeners','find','_socketReady','onCommentUpdate','onTransformIME','_getAnchorBounding','_socketMessageSubscription','HttpExport','_draw','IURLService','_cursorInfo$','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','cmd','Rectangle','IDLE','status','_onUserJoin','getUnitType','forEach','engine','confirm','NEW_CHANGESETS','from','synced','debug','UNIVER_DOC','_injector','saveChangeset','NOT_COLLAB','_getLoginPath','_localeService','_getAPIPrefixPath','ENSURE_SNAPSHOT_EXECUTION','_onRemoteChangeset','collaboration-session-retry','toString','@univerjs/rpc','getCurrentRevOfUnit','UUID','clearInterval','offline','_selfUnitIDs','onStarting','SNAPSHOT_URL_KEY','_clearOtherTimers','_sheetTransformSelectionsService','_getCtorByUniverType','/collaborator','_permissionService','mutations','LOCAL_CACHE_INTERVAL','unknown','/-/object/-/batch_allowed','UniverSheets','_retryCount','InsertColCommandId','FAIL','off-line-single','_onFetchMissResult','transformMutation','image/jpeg','14366Koqbcc','_online','_applyRemoteChangeset','session.collaboration-timeout','sequenceExecute','originalMeta','sheetID','useCallback','rev','change$','_themeService','[CollaborationEntity]','csRejEvent','LOGIN_URL_KEY','getCurrentUnitForType','ALREADY_EXISTS','Error','searchParams','EffectRefRangId','_transitionLocked','_listenToOfflineEvent','getRangePointData','call','InsertRangeMoveDownCommandId','c2Prime','_config','file','resourceIDs','forwardRef','getOwnPropertyDescriptor','session.will-retry','@univerjs-pro/license','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','univer-online-status','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','0\x200\x2017\x2016','_getSendChangesetTimeout','HEARTBEAT_INTERVAL','objectID','_loadDoc','m1Prime','resolve','_handleEvent','/universer-api/oidc/authpage','xlink:href','textRanges','_exhaustRemoteChangesetQueue','getDeserializedSheetBlock','method','visibilitychange','_docSkeleton','TEXT_RANGE_LAYER_INDEX','params','sid','shareReplay','_handler','getImageSourceCache','saveImage','AWAITING','OffLineSingle','with','_backgroundColor','_messageService','useDependency','ILogService','handleInsertCol','SNAPSHOT_SERVER_URL_KEY','_updateStatus','max','UniverNetworkPlugin','delay','_collaborationController','toggleOffline','getSheetBySheetId','addObjects','fetchMiss','UNIVER_COLLABORATION_CLIENT_PLUGIN','bottom','next','_initStatusListener','_undoStacks','DependentOn','transform','_remoteChangesetQueue','_tryEnsureSocket','loadDoc','dispose','registerOnClose','ImageSourceType','Subject','ERROR_IMAGE','whenReady','DocIMEInputManagerService','_clearHeartbeatTimer','_scheduleHeartbeat','_commentService','IAuthzIoService','_initMergeInterceptor','univer-pro.collaboration-client-socket-service','Plugin','getSheetId','assignAColorForMemberID','IMessageService','LIVESHARE_TERMINATE','_anchorDot','collab-rect-range-','sessionStatus','univer-online','Disposable','HEADER_MENU','HEARTBEAT_TIMEOUT_KEY','UPDATE_PERMISSION_OBJ','getSkeleton','extend','_transformPreviousActiveRange','CHANGESET_REVISION_CONFILICT','saveSnapshot','fillStyle','_updateURLWithCurrentState','post','pending','_change$','MessageType','collaboration-client.config','UniverRpc','setConfig','_initCommandExecutedListener','getUnitOnRev','_onConnectionOpen','2600JsLIGh','_undoRedoService','UniverCollaborationClientPlugin','isInternalEditorID','/object/','ThresholdInterceptorFactory','Optional','batchAllowed','SetDocZoomRatioOperation','SetTextSelectionsOperation','code','getUndoRedoMutationParamsCache','RxDisposable','_getMergeRange','_sendHeartbeat','collaboration-client.offline-data-not-saved','updateOfflineData','getCoordByCell','_createSocket','/universer-api/stream/file/upload','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_roomMembers$','_snapshotServerService','createInstance','subscribe','LocalCacheService','_urlService','take','transformIMECache','takeUntil','roomInfos','session','_entities','...','[FetchMissState]','requestParams','data','values','list','title','AUTHZ_URL_KEY','message$','@univerjs/engine-render','\x0aCurrent:\x20','@univerjs-pro/collaboration','POST','UniverLicense','create','_refRangeService','CHANGESET_REJ','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','url(#on-line-single_clip0_910_349)','_disableEditing','4ffFcAm','entries','ThemeService','_event$','getActiveRange','subunit','_anchor','LIVESHARE_FETCH_OPERATIONS','findNodePositionByCharIndex','none','_updateLocalCache','123290TInNlu','UNDEFINED','NO_OTHER_CLIENTS_EDITING','copyFileMeta','all','_unitStatus','ITransformService','skeleton','_scene','_updateCollabCursors','onMouseMove','delete','_getAPIPrefix','c1Prime'];_0x7cbd=function(){return _0x4658c3;};return _0x7cbd();}(function(_0x172b30,_0x3665c2){const _0x3029d3=_0x16a9,_0x4a1d01=_0x172b30();while(!![]){try{const _0x2a28d0=parseInt(_0x3029d3(0x392))/0x1+-parseInt(_0x3029d3(0x3d3))/0x2+parseInt(_0x3029d3(0x4d3))/0x3*(-parseInt(_0x3029d3(0x387))/0x4)+parseInt(_0x3029d3(0x474))/0x5+parseInt(_0x3029d3(0x213))/0x6*(parseInt(_0x3029d3(0x57c))/0x7)+parseInt(_0x3029d3(0x48b))/0x8*(parseInt(_0x3029d3(0x50e))/0x9)+parseInt(_0x3029d3(0x352))/0xa*(parseInt(_0x3029d3(0x2d1))/0xb);if(_0x2a28d0===_0x3665c2)break;else _0x4a1d01['push'](_0x4a1d01['shift']());}catch(_0x462be8){_0x4a1d01['push'](_0x4a1d01['shift']());}}}(_0x7cbd,0x8cfcf),function(_0x4f76f1,_0x1c49b5){const _0x50c960=_0x16a9;typeof exports=='object'&&typeof module<'u'?_0x1c49b5(exports,require(_0x50c960(0x4d1)),require(_0x50c960(0x3cc)),require(_0x50c960(0x1d8)),require(_0x50c960(0x45b)),require(_0x50c960(0x41d)),require(_0x50c960(0x1a6)),require(_0x50c960(0x37e)),require(_0x50c960(0x3fb)),require(_0x50c960(0x4ce)),require(_0x50c960(0x23e)),require('@univerjs/engine-render'),require(_0x50c960(0x175)),require('@univerjs/drawing'),require(_0x50c960(0x44a)),require(_0x50c960(0x1aa)),require('react'),require('@univerjs/rpc'),require(_0x50c960(0x2f0))):typeof define==_0x50c960(0x4b8)&&define['amd']?define(['exports',_0x50c960(0x4d1),_0x50c960(0x3cc),'rxjs/operators',_0x50c960(0x45b),_0x50c960(0x41d),_0x50c960(0x1a6),_0x50c960(0x37e),'@univerjs/telemetry',_0x50c960(0x4ce),_0x50c960(0x23e),_0x50c960(0x37c),'@univerjs/docs',_0x50c960(0x4b0),_0x50c960(0x44a),'@univerjs/sheets-ui',_0x50c960(0x420),_0x50c960(0x2b8),_0x50c960(0x2f0)],_0x1c49b5):(_0x4f76f1=typeof globalThis<'u'?globalThis:_0x4f76f1||self,_0x1c49b5(_0x4f76f1[_0x50c960(0x467)]={},_0x4f76f1[_0x50c960(0x463)],_0x4f76f1[_0x50c960(0x3cc)],_0x4f76f1[_0x50c960(0x3cc)][_0x50c960(0x419)],_0x4f76f1[_0x50c960(0x1e1)],_0x4f76f1[_0x50c960(0x16f)],_0x4f76f1[_0x50c960(0x49f)],_0x4f76f1[_0x50c960(0x502)],_0x4f76f1[_0x50c960(0x4ec)],_0x4f76f1[_0x50c960(0x418)],_0x4f76f1[_0x50c960(0x2c9)],_0x4f76f1[_0x50c960(0x199)],_0x4f76f1[_0x50c960(0x476)],_0x4f76f1[_0x50c960(0x3d8)],_0x4f76f1[_0x50c960(0x255)],_0x4f76f1[_0x50c960(0x22e)],_0x4f76f1['React'],_0x4f76f1[_0x50c960(0x34d)],_0x4f76f1[_0x50c960(0x380)]));}(this,function(_0x3ad279,_0x19baed,_0x5a8f79,_0x555af6,_0x101c11,_0x6ef540,_0x1dcccd,_0x21fd1d,_0x5aaffd,_0x542e88,_0x360913,_0xc3fdc,_0x40db1c,_0x322314,_0x5affaa,_0x164cf7,_0x621d91,_0x3750ee,_0x15b3d6){'use strict';const _0x235839=_0x16a9;var _0x3b46ff=Object['defineProperty'],_0x38302e=(_0x5276f4,_0x38c7ba,_0x4d9aa1)=>_0x38c7ba in _0x5276f4?_0x3b46ff(_0x5276f4,_0x38c7ba,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d9aa1}):_0x5276f4[_0x38c7ba]=_0x4d9aa1,_0x4ab372=(_0xdee40d,_0x558ecb,_0x115de4)=>_0x38302e(_0xdee40d,typeof _0x558ecb!=_0x235839(0x4ff)?_0x558ecb+'':_0x558ecb,_0x115de4);const _0x58f027=_0x235839(0x313),_0x1b5c83='/universer-api/snapshot',_0x43b4aa=_0x235839(0x2bf),_0x283fc6=_0x235839(0x3c7),_0x25dbd0=_0x235839(0x40d),_0x2770a6=_0x235839(0x157),_0x29d731=_0x235839(0x2f6),_0xf0a6fc='HEARTBEAT_TIMEOUT',_0x691c04='RETRY_CONNECTING_MAX_COUNT',_0x189453=_0x235839(0x2c6),_0x442d3a='COLLAB_SUBMIT_CHANGESET_URL',_0x50a9ac=_0x235839(0x435),_0x147fb0=_0x235839(0x2de),_0x3b013b=_0x235839(0x2fc);var _0x458efe=(_0x19203b=>(_0x19203b[_0x19203b['UNDEFINED']=0x0]=_0x235839(0x393),_0x19203b[_0x19203b['OK']=0x1]='OK',_0x19203b[_0x19203b[_0x235839(0x4fe)]=0x2]=_0x235839(0x4fe),_0x19203b[_0x19203b['PERMISSION_DENIED']=0x3]=_0x235839(0x1c0),_0x19203b[_0x19203b[_0x235839(0x46a)]=0x4]=_0x235839(0x46a),_0x19203b[_0x19203b[_0x235839(0x512)]=0x5]=_0x235839(0x512),_0x19203b[_0x19203b[_0x235839(0x2e0)]=0x6]=_0x235839(0x2e0),_0x19203b[_0x19203b['INVALID_ARGUMENT']=0x7]=_0x235839(0x412),_0x19203b[_0x19203b['TOO_MANY_REQUESTS']=0x8]=_0x235839(0x553),_0x19203b[_0x19203b[_0x235839(0x480)]=0x9]=_0x235839(0x480),_0x19203b[_0x19203b[_0x235839(0x344)]=0x1389]=_0x235839(0x344),_0x19203b[_0x19203b[_0x235839(0x53b)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x19203b[_0x19203b[_0x235839(0x28a)]=0x1772]=_0x235839(0x28a),_0x19203b[_0x19203b[_0x235839(0x2b4)]=0x1773]=_0x235839(0x2b4),_0x19203b[_0x19203b[_0x235839(0x167)]=0x1b59]=_0x235839(0x167),_0x19203b[_0x19203b[_0x235839(0x24e)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x19203b[_0x19203b[_0x235839(0x15c)]=0x1b5b]=_0x235839(0x15c),_0x19203b[_0x19203b[_0x235839(0x3db)]=0x1b5c]=_0x235839(0x3db),_0x19203b[_0x19203b[_0x235839(0x466)]=0x1b5d]='APPLY_DUPLICATED',_0x19203b[_0x19203b[_0x235839(0x22b)]=0x1f41]=_0x235839(0x22b),_0x19203b[_0x19203b['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x235839(0x1c9),_0x19203b[_0x19203b[_0x235839(0x519)]=0x232a]=_0x235839(0x519),_0x19203b[_0x19203b[_0x235839(0x1f0)]=0x232b]=_0x235839(0x1f0),_0x19203b[_0x19203b[_0x235839(0x1a4)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x19203b[_0x19203b[_0x235839(0x18b)]=0x232d]=_0x235839(0x18b),_0x19203b[_0x19203b[_0x235839(0x3e6)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x19203b[_0x19203b[_0x235839(0x421)]=0x2712]=_0x235839(0x421),_0x19203b[_0x19203b[_0x235839(0x28f)]=0x2713]=_0x235839(0x28f),_0x19203b[_0x19203b[_0x235839(0x3d2)]=0x2714]=_0x235839(0x3d2),_0x19203b[_0x19203b[_0x235839(0x1e3)]=-0x1]='UNRECOGNIZED',_0x19203b))(_0x458efe||{}),_0x4e8930=(_0x1b6bb5=>(_0x1b6bb5[_0x1b6bb5[_0x235839(0x561)]=0x0]=_0x235839(0x561),_0x1b6bb5[_0x1b6bb5['UNIVER_DOC']=0x1]=_0x235839(0x2ad),_0x1b6bb5[_0x1b6bb5[_0x235839(0x48e)]=0x2]=_0x235839(0x48e),_0x1b6bb5[_0x1b6bb5[_0x235839(0x216)]=0x3]=_0x235839(0x216),_0x1b6bb5[_0x1b6bb5[_0x235839(0x577)]=0x4]=_0x235839(0x577),_0x1b6bb5[_0x1b6bb5[_0x235839(0x1e3)]=-0x1]=_0x235839(0x1e3),_0x1b6bb5))(_0x4e8930||{}),_0x3c3412=(_0x197d71=>(_0x197d71[_0x197d71[_0x235839(0x178)]=0x0]=_0x235839(0x178),_0x197d71[_0x197d71[_0x235839(0x24b)]=0x1]='HELLO',_0x197d71[_0x197d71[_0x235839(0x179)]=0x2]=_0x235839(0x179),_0x197d71[_0x197d71[_0x235839(0x586)]=0x3]='LEAVE',_0x197d71[_0x197d71[_0x235839(0x428)]=0x4]=_0x235839(0x428),_0x197d71[_0x197d71[_0x235839(0x525)]=0x5]=_0x235839(0x525),_0x197d71[_0x197d71[_0x235839(0x200)]=0x6]=_0x235839(0x200),_0x197d71[_0x197d71[_0x235839(0x1e3)]=-0x1]='UNRECOGNIZED',_0x197d71))(_0x3c3412||{}),_0x1c5055=(_0x59690b=>(_0x59690b[_0x59690b['UNKNOWN_CODE']=0x0]=_0x235839(0x221),_0x59690b[_0x59690b['OK']=0x1]='OK',_0x59690b[_0x59690b['FAIL']=0x2]=_0x235839(0x2cc),_0x59690b[_0x59690b['UNRECOGNIZED']=-0x1]=_0x235839(0x1e3),_0x59690b))(_0x1c5055||{}),_0x3e62ac=(_0x4f7db6=>(_0x4f7db6[_0x4f7db6[_0x235839(0x1c3)]=0x0]='Undefined',_0x4f7db6[_0x4f7db6['HttpImport']=0x1]=_0x235839(0x441),_0x4f7db6[_0x4f7db6[_0x235839(0x29b)]=0x2]=_0x235839(0x29b),_0x4f7db6[_0x4f7db6['UnitEmbedded']=0x3]='UnitEmbedded',_0x4f7db6[_0x4f7db6['UnitSnapshot']=0x4]=_0x235839(0x1e7),_0x4f7db6[_0x4f7db6[_0x235839(0x1e3)]=-0x1]='UNRECOGNIZED',_0x4f7db6))(_0x3e62ac||{});const _0x5d0897=_0x235839(0x34c),_0x4bcf79={};function _0x2018e4(_0x214581){const _0x5c5e4f=_0x235839;var _0x3e882c,_0x187d55,_0x299f61,_0x23fa9c;const _0x45a5cc=_0x214581[_0x5c5e4f(0x376)],_0x4dcbfb=JSON[_0x5c5e4f(0x45d)](_0x45a5cc);switch(_0x4dcbfb[_0x5c5e4f(0x2a0)]){case _0x3c3412[_0x5c5e4f(0x525)]:case _0x3c3412[_0x5c5e4f(0x24b)]:{const _0x1bcf46=_0x4dcbfb[_0x5c5e4f(0x51e)];return{..._0x4dcbfb,'data':_0x1bcf46,'cmd':_0x4dcbfb['cmd']};}case _0x3c3412[_0x5c5e4f(0x179)]:{const _0x1db919=_0x4dcbfb[_0x5c5e4f(0x28d)];return{..._0x4dcbfb,'data':_0x1db919,'cmd':_0x4dcbfb[_0x5c5e4f(0x2a0)]};}case _0x3c3412[_0x5c5e4f(0x200)]:{const _0x2c7314=_0x4dcbfb[_0x5c5e4f(0x1e4)];switch(_0x2c7314[_0x5c5e4f(0x3b2)]){case _0x21fd1d[_0x5c5e4f(0x207)][_0x5c5e4f(0x1c8)]:return{..._0x4dcbfb,'data':{..._0x2c7314,'data':(_0x3e882c=_0x2c7314[_0x5c5e4f(0x42e)])==null?void 0x0:_0x3e882c['cs']},'cmd':_0x4dcbfb['cmd']};case _0x21fd1d[_0x5c5e4f(0x207)][_0x5c5e4f(0x565)]:return{..._0x4dcbfb,'data':{..._0x2c7314,'data':(_0x187d55=_0x2c7314[_0x5c5e4f(0x24c)])==null?void 0x0:_0x187d55['cs']},'cmd':_0x4dcbfb[_0x5c5e4f(0x2a0)]};case _0x21fd1d['CollaborationEvent'][_0x5c5e4f(0x2a9)]:return{..._0x4dcbfb,'data':{..._0x2c7314,'data':(_0x299f61=_0x2c7314[_0x5c5e4f(0x4f6)])==null?void 0x0:_0x299f61['cs']},'cmd':_0x4dcbfb[_0x5c5e4f(0x2a0)]};case _0x21fd1d[_0x5c5e4f(0x207)][_0x5c5e4f(0x383)]:return{..._0x4dcbfb,'data':{..._0x2c7314,'data':(_0x23fa9c=_0x2c7314[_0x5c5e4f(0x2dd)])==null?void 0x0:_0x23fa9c['cs']},'cmd':_0x4dcbfb[_0x5c5e4f(0x2a0)]};case _0x21fd1d['CollaborationEvent'][_0x5c5e4f(0x405)]:return{..._0x4dcbfb,'data':{..._0x2c7314,'data':_0x2c7314['updateCursorEvent']},'cmd':_0x4dcbfb['cmd']};case _0x21fd1d[_0x5c5e4f(0x207)][_0x5c5e4f(0x51b)]:return{..._0x4dcbfb,'data':{..._0x2c7314,'data':_0x2c7314[_0x5c5e4f(0x400)]},'cmd':_0x4dcbfb[_0x5c5e4f(0x2a0)]};case _0x21fd1d[_0x5c5e4f(0x207)][_0x5c5e4f(0x204)]:return{..._0x4dcbfb,'data':{..._0x2c7314,'data':_0x2c7314[_0x5c5e4f(0x53e)]},'cmd':_0x4dcbfb[_0x5c5e4f(0x2a0)]};case _0x21fd1d['CollaborationEvent'][_0x5c5e4f(0x439)]:return{..._0x4dcbfb,'data':{..._0x2c7314,'data':_0x2c7314[_0x5c5e4f(0x426)]},'cmd':_0x4dcbfb['cmd']};case _0x21fd1d[_0x5c5e4f(0x207)]['LIVESHARE_FETCH_OPERATIONS']:case _0x21fd1d[_0x5c5e4f(0x207)][_0x5c5e4f(0x4ee)]:return{..._0x4dcbfb,'data':{..._0x2c7314,'data':_0x2c7314['liveShareOperation']},'cmd':_0x4dcbfb[_0x5c5e4f(0x2a0)]};case _0x21fd1d[_0x5c5e4f(0x207)][_0x5c5e4f(0x338)]:return{..._0x4dcbfb,'data':{..._0x2c7314,'data':_0x2c7314[_0x5c5e4f(0x426)]},'cmd':_0x4dcbfb[_0x5c5e4f(0x2a0)]};case _0x21fd1d['CollaborationEvent'][_0x5c5e4f(0x4ae)]:return{..._0x4dcbfb,'data':_0x2c7314,'cmd':_0x4dcbfb[_0x5c5e4f(0x2a0)]};case _0x21fd1d[_0x5c5e4f(0x207)]['COMMENT_UPDATE']:return{..._0x4dcbfb,'data':{..._0x2c7314,'data':_0x2c7314[_0x5c5e4f(0x214)]},'cmd':_0x4dcbfb['cmd']};case _0x21fd1d[_0x5c5e4f(0x207)][_0x5c5e4f(0x340)]:return{..._0x4dcbfb,'data':{..._0x2c7314,'data':_0x2c7314[_0x5c5e4f(0x3a0)]},'cmd':_0x4dcbfb[_0x5c5e4f(0x2a0)]};case _0x21fd1d['CollaborationEvent'][_0x5c5e4f(0x43b)]:return{..._0x4dcbfb,'data':{..._0x2c7314,'data':_0x2c7314['shouldCloseConn']},'cmd':_0x4dcbfb[_0x5c5e4f(0x2a0)]};default:return _0x4dcbfb;}}default:return _0x4dcbfb;}}function _0x5aa134(_0x844e32){const _0x321efb=_0x235839;switch(_0x844e32[_0x321efb(0x2a0)]){case _0x3c3412[_0x321efb(0x525)]:case _0x3c3412[_0x321efb(0x24b)]:return JSON['stringify']({'cmd':_0x844e32[_0x321efb(0x2a0)],'routeKey':_0x844e32[_0x321efb(0x4db)]});case _0x3c3412[_0x321efb(0x428)]:{let _0x8389b4;switch(_0x844e32['data'][_0x321efb(0x3b2)]){case _0x21fd1d[_0x321efb(0x207)]['UPDATE_CURSOR']:{_0x8389b4={'eventID':_0x21fd1d[_0x321efb(0x207)][_0x321efb(0x405)],'updateCursorEvent':_0x844e32[_0x321efb(0x376)][_0x321efb(0x376)]};break;}case _0x21fd1d[_0x321efb(0x207)]['USERS_LEAVE']:{_0x8389b4={'eventID':_0x21fd1d[_0x321efb(0x207)][_0x321efb(0x204)],'leaveEvent':_0x844e32['data'][_0x321efb(0x376)]};break;}case _0x21fd1d[_0x321efb(0x207)]['USERS_ENTER']:{_0x8389b4={'eventID':_0x21fd1d[_0x321efb(0x207)]['USERS_ENTER'],'joinEvent':_0x844e32[_0x321efb(0x376)][_0x321efb(0x376)]};break;}case _0x21fd1d[_0x321efb(0x207)][_0x321efb(0x439)]:{_0x8389b4={'eventID':_0x21fd1d[_0x321efb(0x207)][_0x321efb(0x439)],'liveShareNewHost':_0x844e32[_0x321efb(0x376)]['data']};break;}case _0x21fd1d[_0x321efb(0x207)][_0x321efb(0x4ee)]:{_0x8389b4={'eventID':_0x21fd1d['CollaborationEvent'][_0x321efb(0x4ee)],'liveShareOperation':_0x844e32[_0x321efb(0x376)][_0x321efb(0x376)]};break;}case _0x21fd1d['CollaborationEvent'][_0x321efb(0x338)]:{_0x8389b4={'eventID':_0x21fd1d[_0x321efb(0x207)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x844e32['data'][_0x321efb(0x376)]};break;}case _0x21fd1d[_0x321efb(0x207)][_0x321efb(0x3bc)]:{_0x8389b4={'eventID':_0x21fd1d[_0x321efb(0x207)][_0x321efb(0x3bc)],'liveShareRequestHost':_0x844e32['data'][_0x321efb(0x376)]};break;}case _0x21fd1d[_0x321efb(0x207)][_0x321efb(0x38e)]:{_0x8389b4={'eventID':_0x21fd1d[_0x321efb(0x207)][_0x321efb(0x38e)]};break;}default:_0x8389b4={'eventID':_0x844e32[_0x321efb(0x376)][_0x321efb(0x3b2)]};}return JSON[_0x321efb(0x3c9)]({'cmd':_0x844e32[_0x321efb(0x2a0)],'routeKey':_0x844e32[_0x321efb(0x4db)],'collaMsg':_0x8389b4});}case _0x3c3412[_0x321efb(0x179)]:return JSON[_0x321efb(0x3c9)]({'cmd':_0x844e32[_0x321efb(0x2a0)],'routeKey':_0x844e32[_0x321efb(0x4db)],'joinReq':_0x844e32['data']});case _0x3c3412[_0x321efb(0x586)]:return JSON['stringify']({'cmd':_0x844e32[_0x321efb(0x2a0)],'routeKey':_0x844e32['routeKey'],'leaveReq':_0x844e32[_0x321efb(0x376)]});default:throw new Error(_0x321efb(0x366));}}var _0x3cfd7a=Object[_0x235839(0x27f)],_0x82b1bb=Object[_0x235839(0x2ee)],_0x361ae2=(_0xe11c49,_0x5c62e2,_0x209809,_0x3480c9)=>{const _0x3ee695=_0x235839;for(var _0xc4be18=_0x3480c9>0x1?void 0x0:_0x3480c9?_0x82b1bb(_0x5c62e2,_0x209809):_0x5c62e2,_0x5c5194=_0xe11c49[_0x3ee695(0x23b)]-0x1,_0x2fd759;_0x5c5194>=0x0;_0x5c5194--)(_0x2fd759=_0xe11c49[_0x5c5194])&&(_0xc4be18=(_0x3480c9?_0x2fd759(_0x5c62e2,_0x209809,_0xc4be18):_0x2fd759(_0xc4be18))||_0xc4be18);return _0x3480c9&&_0xc4be18&&_0x3cfd7a(_0x5c62e2,_0x209809,_0xc4be18),_0xc4be18;},_0x515a31=(_0x503163,_0x13094d)=>(_0x5203c9,_0x479f86)=>_0x13094d(_0x5203c9,_0x479f86,_0x503163);const _0x6eb43=_0x19baed[_0x235839(0x262)](_0x235839(0x333));function _0x1f5709(_0x1dd1ba,_0x21eef7,_0x5c0d42){const _0x5d3000=_0x235839;return _0x1dd1ba+'/'+_0x21eef7+_0x5d3000(0x23a)+_0x5c0d42+_0x5d3000(0x4cf);}_0x3ad279[_0x235839(0x1fe)]=class extends _0x19baed[_0x235839(0x33d)]{constructor(_0x84ef86,_0x10dc07,_0x47f07d,_0x1a90fb,_0x8d49e2){const _0x4ab417=_0x235839;super(),this['_http']=_0x84ef86,this[_0x4ab417(0x3e4)]=_0x10dc07,this['_configService']=_0x47f07d,this[_0x4ab417(0x449)]=_0x1a90fb,this[_0x4ab417(0x368)]=_0x8d49e2;}[_0x235839(0x507)](_0x27f48c){const _0x41020c=_0x235839,_0x275335=this[_0x41020c(0x3e4)]['createSocket'](_0x27f48c);if(!_0x275335)throw new Error(_0x41020c(0x2f3));const _0x463779=new _0x19baed[(_0x41020c(0x52b))](),_0x19e513=new _0x5a8f79['Subject']();_0x463779[_0x41020c(0x4c2)](_0x275335[_0x41020c(0x18a)][_0x41020c(0x36a)](_0x4d83a9=>_0x19e513['next'](_0x4d83a9))),_0x463779[_0x41020c(0x4c2)](_0x19baed[_0x41020c(0x4e3)](()=>_0x19e513[_0x41020c(0x289)]()));const _0x58dbb2=new _0x5a8f79[(_0x41020c(0x32a))]();_0x463779['add'](_0x275335[_0x41020c(0x211)]['subscribe'](_0x1e62da=>_0x58dbb2['next'](_0x1e62da))),_0x463779['add'](_0x19baed['toDisposable'](()=>_0x58dbb2[_0x41020c(0x289)]()));const _0x2d54a6=new _0x5a8f79[(_0x41020c(0x32a))]();_0x463779[_0x41020c(0x4c2)](_0x275335[_0x41020c(0x37b)][_0x41020c(0x36a)](_0x44df79=>{const _0x2db7a7=_0x41020c,_0x6b2c50=_0x2018e4(_0x44df79);_0x2d54a6[_0x2db7a7(0x31f)](_0x6b2c50);})),_0x463779['add'](_0x19baed[_0x41020c(0x4e3)](()=>_0x2d54a6[_0x41020c(0x289)]()));let _0x56b3b4;const _0x525eb1=()=>{const _0x12a16b=_0x41020c;_0x58dbb2[_0x12a16b(0x31f)](new Event(_0x12a16b(0x228))),_0x19e513[_0x12a16b(0x31f)](new CloseEvent(_0x12a16b(0x228))),_0x56b3b4[_0x12a16b(0x4d4)]();};return _0x56b3b4={'memberID':'','close$':_0x19e513['asObservable'](),'error$':_0x58dbb2[_0x41020c(0x56d)](),'open$':_0x275335[_0x41020c(0x411)],'message$':_0x2d54a6['asObservable'](),'send':_0x39c281=>{const _0x1ac8d2=_0x41020c;if(_0x39c281[_0x1ac8d2(0x2a0)]===_0x3c3412[_0x1ac8d2(0x428)]){if(_0x39c281['data']['eventID']===_0x21fd1d['CollaborationEvent'][_0x1ac8d2(0x3e2)]){this[_0x1ac8d2(0x205)](_0x56b3b4,_0x39c281[_0x1ac8d2(0x376)])[_0x1ac8d2(0x3c4)](_0x1420e1=>{const _0x409e28=_0x1ac8d2;this[_0x409e28(0x449)][_0x409e28(0x244)](_0x1420e1),_0x525eb1();});return;}if(_0x39c281[_0x1ac8d2(0x376)]['eventID']===_0x21fd1d['CollaborationEvent'][_0x1ac8d2(0x1c4)]){const _0x10b668=_0x39c281['data'];this[_0x1ac8d2(0x20d)](_0x10b668)['then'](_0xc37354=>{const _0x404d83=_0x1ac8d2;_0x2d54a6[_0x404d83(0x31f)]({'cmd':_0x3c3412[_0x404d83(0x200)],'code':_0x1c5055['OK'],'routeKey':_0x10b668['data'][_0x404d83(0x1ee)],'routeType':'','data':{'eventID':_0x21fd1d[_0x404d83(0x207)][_0x404d83(0x460)],'data':{'changesets':_0xc37354}}});})[_0x1ac8d2(0x3c4)](_0x16fe0d=>{const _0x5f0ce6=_0x1ac8d2;this[_0x5f0ce6(0x449)][_0x5f0ce6(0x244)](_0x16fe0d),_0x525eb1();});return;}}_0x275335[_0x1ac8d2(0x4c6)](_0x5aa134(_0x39c281));},'close':()=>{const _0x3627bc=_0x41020c;_0x275335[_0x3627bc(0x4d4)](),_0x463779[_0x3627bc(0x327)]();}},_0x56b3b4;}async[_0x235839(0x205)](_0x31933e,_0x581fdb){const _0x97e4c1=_0x235839;var _0x79dbbc,_0x4d0a55;const {unitType:_0x475db8,unitID:_0x31b321,changeset:_0x15ec8a}=_0x581fdb[_0x97e4c1(0x376)],_0x4de596={'unitID':_0x31b321,'memberID':_0x31933e['memberID'],'type':_0x475db8,'changeset':_0x21fd1d[_0x97e4c1(0x1d1)](_0x15ec8a)},_0x121774=this['_configService'][_0x97e4c1(0x530)](_0x442d3a),_0x2dcbda=this[_0x97e4c1(0x570)][_0x97e4c1(0x530)](_0x5d0897),_0x9d57f8=_0x1f5709((_0x4d0a55=(_0x79dbbc=_0x2dcbda==null?void 0x0:_0x2dcbda[_0x97e4c1(0x226)])!=null?_0x79dbbc:_0x121774)!=null?_0x4d0a55:_0x50a9ac,_0x475db8,_0x31b321);try{await this[_0x97e4c1(0x51a)][_0x97e4c1(0x348)](_0x9d57f8,{'body':_0x4de596});}catch(_0x3dcf70){throw this[_0x97e4c1(0x449)]['error'](_0x97e4c1(0x4ab),'submit\x20changeset\x20error!'),_0x3dcf70;}}async[_0x235839(0x20d)](_0x19ef1e){const _0x5c4f6f=_0x235839,{unitID:_0x46708f,from:_0x715571,to:_0x476f32,unitType:_0x299d2c}=_0x19ef1e['data'];return(await this[_0x5c4f6f(0x368)][_0x5c4f6f(0x582)]({'metadata':void 0x0},{'unitID':_0x46708f,'type':_0x299d2c,'from':_0x715571,'to':_0x476f32}))[_0x5c4f6f(0x527)];}},_0x3ad279[_0x235839(0x1fe)]=_0x361ae2([_0x515a31(0x0,_0x19baed['Inject'](_0x1dcccd['HTTPService'])),_0x515a31(0x1,_0x19baed[_0x235839(0x431)](_0x1dcccd[_0x235839(0x501)])),_0x515a31(0x2,_0x19baed[_0x235839(0x472)]),_0x515a31(0x3,_0x19baed[_0x235839(0x311)]),_0x515a31(0x4,_0x21fd1d[_0x235839(0x276)])],_0x3ad279[_0x235839(0x1fe)]);const _0x281c8a=_0x235839(0x50d);function _0x249cb2(_0x3386ff){const _0xd42fb4=_0x235839;return JSON[_0xd42fb4(0x3c9)](_0x3386ff)[_0xd42fb4(0x23b)];}class _0x585ce3{constructor(){const _0x11276c=_0x235839;_0x4ab372(this,_0x11276c(0x46d),new _0x5a8f79[(_0x11276c(0x32a))]()),_0x4ab372(this,_0x11276c(0x171),this[_0x11276c(0x46d)]['asObservable']());}[_0x235839(0x297)](_0x5799a6){const _0x4c5f6a=_0x235839;this[_0x4c5f6a(0x46d)][_0x4c5f6a(0x31f)](_0x5799a6);}}var _0x46f51a=Object[_0x235839(0x27f)],_0x3ddd97=Object[_0x235839(0x2ee)],_0x34ad42=(_0x550d8a,_0x4b3c68,_0x4f4fda,_0x41083a)=>{const _0x4160b2=_0x235839;for(var _0x18d519=_0x41083a>0x1?void 0x0:_0x41083a?_0x3ddd97(_0x4b3c68,_0x4f4fda):_0x4b3c68,_0x4e9b2b=_0x550d8a[_0x4160b2(0x23b)]-0x1,_0x456d0c;_0x4e9b2b>=0x0;_0x4e9b2b--)(_0x456d0c=_0x550d8a[_0x4e9b2b])&&(_0x18d519=(_0x41083a?_0x456d0c(_0x4b3c68,_0x4f4fda,_0x18d519):_0x456d0c(_0x18d519))||_0x18d519);return _0x41083a&&_0x18d519&&_0x46f51a(_0x4b3c68,_0x4f4fda,_0x18d519),_0x18d519;},_0x190db2=(_0x43ebe8,_0x4f85ee)=>(_0x246d6a,_0x1c5c72)=>_0x4f85ee(_0x246d6a,_0x1c5c72,_0x43ebe8);let _0x219e5c=class extends _0x19baed[_0x235839(0x33d)]{constructor(_0x6a0959,_0xfcba8d){const _0x3b4c0c=_0x235839;super(),_0x4ab372(this,'_roomMembers',new Map()),(this['_univerInstanceService']=_0x6a0959,this[_0x3b4c0c(0x4af)]=_0xfcba8d,this[_0x3b4c0c(0x4e4)](_0x19baed['toDisposable'](_0x5a8f79[_0x3b4c0c(0x478)](this['_univerInstanceService'][_0x3b4c0c(0x531)](_0x19baed[_0x3b4c0c(0x433)][_0x3b4c0c(0x48e)])[_0x3b4c0c(0x53f)](_0x555af6[_0x3b4c0c(0x3fa)](_0x1b1ea1=>_0x1b1ea1[_0x3b4c0c(0x492)]())),this[_0x3b4c0c(0x1ae)][_0x3b4c0c(0x531)](_0x19baed[_0x3b4c0c(0x433)]['UNIVER_DOC'])['pipe'](_0x555af6[_0x3b4c0c(0x3fa)](_0x33b375=>_0x33b375[_0x3b4c0c(0x492)]())),this[_0x3b4c0c(0x1ae)][_0x3b4c0c(0x531)](_0x19baed[_0x3b4c0c(0x433)][_0x3b4c0c(0x216)])[_0x3b4c0c(0x53f)](_0x555af6[_0x3b4c0c(0x3fa)](_0x8c2c80=>_0x8c2c80[_0x3b4c0c(0x492)]())))[_0x3b4c0c(0x36a)](_0x24705a=>this[_0x3b4c0c(0x410)](_0x24705a)))));}['setCurrentUser'](_0x2183dd){const _0x28eab4=_0x235839;this[_0x28eab4(0x4af)][_0x28eab4(0x4a5)](_0x2183dd);}[_0x235839(0x192)](){const _0x4171ab=_0x235839;return this[_0x4171ab(0x4af)][_0x4171ab(0x192)]();}[_0x235839(0x511)](_0x5a166d,_0x5e4789){const _0x2b5fa0=_0x235839;let _0x357d0e=this[_0x2b5fa0(0x218)][_0x2b5fa0(0x17a)](_0x5a166d);_0x357d0e||(_0x357d0e=new _0x1a6cc6(),this['_roomMembers'][_0x2b5fa0(0x3ce)](_0x5a166d,_0x357d0e)),_0x357d0e['updateMember'](_0x5e4789);}[_0x235839(0x53d)](_0x36e622,_0x1ced63){const _0x13523b=_0x235839,_0x913d3f=this['_roomMembers'][_0x13523b(0x17a)](_0x36e622);_0x913d3f&&_0x913d3f[_0x13523b(0x53d)](_0x1ced63);}[_0x235839(0x1a1)](_0x264dab){const _0x190dfb=_0x235839;return this[_0x190dfb(0x218)]['get'](_0x264dab);}[_0x235839(0x4f1)](_0x45e4b0,_0x28cd25){const _0x5e59a8=_0x235839,_0x554cbe=this[_0x5e59a8(0x218)][_0x5e59a8(0x17a)](_0x45e4b0);if(_0x554cbe)return _0x554cbe[_0x5e59a8(0x4f1)](_0x28cd25);}[_0x235839(0x410)](_0x449395){const _0x54636c=_0x235839,_0x313000=this[_0x54636c(0x218)][_0x54636c(0x17a)](_0x449395);_0x313000&&(_0x313000[_0x54636c(0x327)](),this[_0x54636c(0x218)][_0x54636c(0x39d)](_0x449395));}[_0x235839(0x327)](){const _0x5d9ebe=_0x235839;this[_0x5d9ebe(0x218)]['forEach'](_0x10ad3c=>_0x10ad3c['dispose']()),this[_0x5d9ebe(0x218)][_0x5d9ebe(0x1ac)]();}};_0x219e5c=_0x34ad42([_0x190db2(0x0,_0x19baed[_0x235839(0x1b2)]),_0x190db2(0x1,_0x19baed[_0x235839(0x431)](_0x19baed['UserManagerService']))],_0x219e5c);class _0x1a6cc6 extends _0x19baed['Disposable']{constructor(){const _0x4f166e=_0x235839;super(...arguments),_0x4ab372(this,_0x4f166e(0x500),new Map());}['dispose'](){const _0x1d856b=_0x235839;this['_members'][_0x1d856b(0x1ac)]();}[_0x235839(0x511)](_0x18614a){const _0x317088=_0x235839;this[_0x317088(0x500)][_0x317088(0x3ce)](_0x18614a[_0x317088(0x52a)],_0x18614a);}[_0x235839(0x53d)](_0x10c2e5){const _0x50ccc8=_0x235839;this[_0x50ccc8(0x500)][_0x50ccc8(0x39d)](_0x10c2e5);}[_0x235839(0x4f1)](_0xdc1023){const _0x9db13=_0x235839;return this[_0x9db13(0x500)][_0x9db13(0x17a)](_0xdc1023);}}var _0x5ce9d8=Object[_0x235839(0x27f)],_0x39c619=Object[_0x235839(0x2ee)],_0x27d5a5=(_0x373c74,_0x382bb4,_0x2c0491,_0x42e460)=>{const _0x12437c=_0x235839;for(var _0x4b811f=_0x42e460>0x1?void 0x0:_0x42e460?_0x39c619(_0x382bb4,_0x2c0491):_0x382bb4,_0x4cdb3d=_0x373c74[_0x12437c(0x23b)]-0x1,_0xb1cd05;_0x4cdb3d>=0x0;_0x4cdb3d--)(_0xb1cd05=_0x373c74[_0x4cdb3d])&&(_0x4b811f=(_0x42e460?_0xb1cd05(_0x382bb4,_0x2c0491,_0x4b811f):_0xb1cd05(_0x4b811f))||_0x4b811f);return _0x42e460&&_0x4b811f&&_0x5ce9d8(_0x382bb4,_0x2c0491,_0x4b811f),_0x4b811f;},_0x67f419=(_0x877675,_0x2a2ce4)=>(_0x273ede,_0x2e4802)=>_0x2a2ce4(_0x273ede,_0x2e4802,_0x877675),_0x417e84=(_0x118d16=>(_0x118d16[_0x118d16[_0x235839(0x2a2)]=0x0]=_0x235839(0x2a2),_0x118d16[_0x118d16[_0x235839(0x270)]=0x1]=_0x235839(0x270),_0x118d16[_0x118d16[_0x235839(0x484)]=0x2]=_0x235839(0x484),_0x118d16[_0x118d16[_0x235839(0x580)]=0x3]=_0x235839(0x580),_0x118d16))(_0x417e84||{});_0x3ad279['CollaborationSession']=class extends _0x19baed['RxDisposable']{constructor(_0x42d09e,_0x1f812e,_0x3cd3b7,_0x33abf6,_0xe4495e,_0x350577,_0x4b08a1,_0x2e7dc6,_0x417418,_0x2366ba){const _0x1690df=_0x235839;super(),_0x4ab372(this,_0x1690df(0x18c),new _0x5a8f79[(_0x1690df(0x19f))](0x0)),_0x4ab372(this,'sessionStatus$',this[_0x1690df(0x18c)][_0x1690df(0x56d)]()),_0x4ab372(this,'_event$',new _0x5a8f79[(_0x1690df(0x32a))]()),_0x4ab372(this,_0x1690df(0x407),this[_0x1690df(0x38a)]['asObservable']()),_0x4ab372(this,_0x1690df(0x583)),_0x4ab372(this,_0x1690df(0x29a)),_0x4ab372(this,_0x1690df(0x20e)),_0x4ab372(this,'_shouldReportTelemetry',!0x1),_0x4ab372(this,_0x1690df(0x1f7),null),(this[_0x1690df(0x483)]=_0x42d09e,this['_logService']=_0x3cd3b7,this['_beforeCloseService']=_0x33abf6,this['_messageService']=_0xe4495e,this[_0x1690df(0x570)]=_0x350577,this[_0x1690df(0x2b2)]=_0x4b08a1,this['_memberService']=_0x2e7dc6,this[_0x1690df(0x330)]=_0x417418,this[_0x1690df(0x169)]=_0x2366ba,this[_0x1690df(0x46f)]=!!this[_0x1690df(0x169)],_0x1f812e[_0x1690df(0x53f)](_0x5a8f79[_0x1690df(0x36f)](this[_0x1690df(0x1eb)]))[_0x1690df(0x36a)](_0x1afaa9=>{const _0x4e8e64=_0x1690df;var _0x284f06;typeof _0x1afaa9>'u'||(this['_socket']=_0x1afaa9,_0x1afaa9?(this[_0x4e8e64(0x231)](_0x1afaa9),this[_0x4e8e64(0x29a)]=_0x1afaa9['message$'][_0x4e8e64(0x36a)](_0x211272=>{const _0x5dd831=_0x4e8e64;_0x211272['routeKey']===this['_unitID']&&this[_0x5dd831(0x189)](_0x211272);})):(this[_0x4e8e64(0x4e2)](),this[_0x4e8e64(0x18c)][_0x4e8e64(0x31f)](0x2),(_0x284f06=this[_0x4e8e64(0x29a)])==null||_0x284f06[_0x4e8e64(0x15d)](),this[_0x4e8e64(0x29a)]=null));}),this[_0x1690df(0x4e4)](this[_0x1690df(0x224)][_0x1690df(0x328)](()=>{const _0x509efb=_0x1690df;var _0x54e8dc;(_0x54e8dc=this[_0x509efb(0x583)])==null||_0x54e8dc['send']({'cmd':_0x3c3412[_0x509efb(0x586)],'data':{'roomID':this['_unitID']}});})));}get[_0x235839(0x33b)](){const _0x2225f3=_0x235839;return this[_0x2225f3(0x18c)][_0x2225f3(0x272)]();}[_0x235839(0x45a)](){var _0x342a2d,_0x320365;return(_0x320365=(_0x342a2d=this['_socket'])==null?void 0x0:_0x342a2d['memberID'])!=null?_0x320365:null;}[_0x235839(0x327)](){const _0xb606f1=_0x235839;super[_0xb606f1(0x327)](),this['dispose$'][_0xb606f1(0x31f)](),this[_0xb606f1(0x1eb)]['complete']();}['close'](){const _0x5571ab=_0x235839;var _0x212cf3,_0xb922ed;this[_0x5571ab(0x4e2)](),(_0x212cf3=this[_0x5571ab(0x583)])==null||_0x212cf3[_0x5571ab(0x4c6)]({'cmd':_0x3c3412[_0x5571ab(0x586)],'data':{'roomID':this['_unitID']}}),(_0xb922ed=this['_socket'])==null||_0xb922ed['close'](),this[_0x5571ab(0x38a)]['complete'](),this[_0x5571ab(0x18c)]['complete'](),this['dispose']();}[_0x235839(0x189)](_0x14bb12){const _0x5bb897=_0x235839;_0x14bb12[_0x5bb897(0x2a0)]===_0x3c3412[_0x5bb897(0x179)]?this[_0x5bb897(0x4e9)](_0x14bb12):_0x14bb12[_0x5bb897(0x2a0)]===_0x3c3412['RECV']&&this['_onRecvEvent'](_0x14bb12);}[_0x235839(0x231)](_0x27b484){const _0x3bf081=_0x235839;this[_0x3bf081(0x18c)][_0x3bf081(0x31f)](0x1),_0x27b484[_0x3bf081(0x4c6)]({'cmd':_0x3c3412[_0x3bf081(0x179)],'routeKey':this[_0x3bf081(0x483)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3bf081(0x483)]}]}});}[_0x235839(0x4e9)](_0x1e0b36){const _0x201788=_0x235839;var _0x1b7461;if(_0x1e0b36[_0x201788(0x35c)]===_0x1c5055[_0x201788(0x2cc)]){this['_messageService']['show']({'type':_0x101c11[_0x201788(0x34b)][_0x201788(0x552)],'content':this[_0x201788(0x2b2)]['t'](_0x201788(0x1bc))}),this[_0x201788(0x18c)][_0x201788(0x31f)](0x2);return;}this[_0x201788(0x18c)][_0x201788(0x31f)](0x3);const _0x5be316=(_0x1b7461=_0x1e0b36[_0x201788(0x376)][_0x201788(0x370)][this[_0x201788(0x483)]])==null?void 0x0:_0x1b7461[_0x201788(0x1de)];_0x5be316&&_0x5be316[_0x201788(0x2a6)](_0x43fa6e=>this[_0x201788(0x18e)][_0x201788(0x511)](this[_0x201788(0x483)],_0x43fa6e));}[_0x235839(0x209)](_0x522dd7){const _0x2795b2=_0x235839;try{const _0x5a24cc=_0x522dd7[_0x2795b2(0x376)];switch(_0x5a24cc['eventID']){case _0x21fd1d[_0x2795b2(0x207)]['USERS_ENTER']:this[_0x2795b2(0x2a4)](_0x5a24cc),this[_0x2795b2(0x38a)][_0x2795b2(0x31f)](_0x5a24cc);break;case _0x21fd1d['CollaborationEvent'][_0x2795b2(0x204)]:this[_0x2795b2(0x51f)](_0x5a24cc),this[_0x2795b2(0x38a)][_0x2795b2(0x31f)](_0x5a24cc);break;case _0x21fd1d[_0x2795b2(0x207)][_0x2795b2(0x565)]:this[_0x2795b2(0x3b4)](),this['_clearCollaborationTimeoutTimer'](),this[_0x2795b2(0x38a)][_0x2795b2(0x31f)](_0x5a24cc);break;case _0x21fd1d[_0x2795b2(0x207)][_0x2795b2(0x4ae)]:this[_0x2795b2(0x449)]['error'](_0x2795b2(0x219)+JSON['stringify'](_0x5a24cc)),this[_0x2795b2(0x38a)][_0x2795b2(0x31f)](_0x5a24cc);break;case _0x21fd1d[_0x2795b2(0x207)]['COMMENT_UPDATE']:this[_0x2795b2(0x330)][_0x2795b2(0x297)](_0x5a24cc['data']),this[_0x2795b2(0x38a)]['next'](_0x5a24cc);break;default:this[_0x2795b2(0x38a)][_0x2795b2(0x31f)](_0x5a24cc);}}catch(_0x2762df){this[_0x2795b2(0x449)]['error'](_0x2762df,_0x522dd7);}}[_0x235839(0x2a4)](_0x44aedd){const _0x3bca32=_0x235839;this[_0x3bca32(0x18e)][_0x3bca32(0x511)](this[_0x3bca32(0x483)],_0x44aedd[_0x3bca32(0x376)]);}['_onUserLeave'](_0x467be6){const _0x137ca0=_0x235839;this[_0x137ca0(0x18e)][_0x137ca0(0x53d)](this[_0x137ca0(0x483)],_0x467be6[_0x137ca0(0x376)]['memberID']);}async[_0x235839(0x4c6)](_0x2d6ab4,_0x4f4f28){const _0x47a38b=_0x235839;if(this[_0x47a38b(0x33b)]!==0x3||!this[_0x47a38b(0x583)])throw new Error(_0x47a38b(0x53c));try{_0x2d6ab4['eventID']===_0x21fd1d['CollaborationEvent']['SUBMIT_CHANGESET']&&(this[_0x47a38b(0x1e0)](),this[_0x47a38b(0x1fa)](_0x2d6ab4)),this[_0x47a38b(0x583)]['send']({'cmd':_0x3c3412['INGEST'],'routeKey':_0x4f4f28,'routeType':'','data':_0x2d6ab4});}catch(_0x2e9f51){this[_0x47a38b(0x449)][_0x47a38b(0x244)](_0x2e9f51);}}[_0x235839(0x1e0)](){const _0x1180cf=_0x235839;var _0x8195c;this[_0x1180cf(0x20e)]=window[_0x1180cf(0x494)](()=>{const _0x1e7676=_0x1180cf;this[_0x1e7676(0x20e)]=null,this[_0x1e7676(0x30f)]['show']({'type':_0x101c11[_0x1e7676(0x34b)][_0x1e7676(0x2e1)],'content':this[_0x1e7676(0x2b2)]['t'](_0x1e7676(0x2d4))});},(_0x8195c=this['_configService'][_0x1180cf(0x530)](_0xf0a6fc))!=null?_0x8195c:0x4e20);}[_0x235839(0x16d)](){const _0x5d94b1=_0x235839;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x5d94b1(0x20e)]),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0x15c227){const _0x586d50=_0x235839;if(!this[_0x586d50(0x46f)])return;const {data:_0x1be3be}=_0x15c227,{unitID:_0x3ffae3,changeset:_0x82f23f}=_0x1be3be,{mutations:_0x38748d,type:_0x23d56e}=_0x82f23f;this[_0x586d50(0x1f7)]={'unitId':_0x3ffae3,'type':_0x23d56e,'startTime':performance[_0x586d50(0x4a7)](),'stopTime':0x0,'duration':0x0,'size':_0x249cb2(_0x38748d)};}[_0x235839(0x3b4)](){const _0x308e0b=_0x235839;if(this[_0x308e0b(0x46f)]){if(!this[_0x308e0b(0x1f7)]){this[_0x308e0b(0x449)]['error']('[CollaborationSession]',_0x308e0b(0x499));return;}this['_telemetryInfo']['stopTime']=performance[_0x308e0b(0x4a7)](),this[_0x308e0b(0x1f7)][_0x308e0b(0x176)]=this[_0x308e0b(0x1f7)][_0x308e0b(0x27e)]-this['_telemetryInfo']['startTime'],this['_telemetryService'][_0x308e0b(0x497)](_0x281c8a,this[_0x308e0b(0x1f7)]),this[_0x308e0b(0x1f7)]=null;}}[_0x235839(0x4e2)](){const _0x4ee0db=_0x235839;this[_0x4ee0db(0x1f7)]=null;}},_0x3ad279['CollaborationSession']=_0x27d5a5([_0x67f419(0x2,_0x19baed['ILogService']),_0x67f419(0x3,_0x6ef540[_0x235839(0x432)]),_0x67f419(0x4,_0x6ef540[_0x235839(0x337)]),_0x67f419(0x5,_0x19baed['IConfigService']),_0x67f419(0x6,_0x19baed[_0x235839(0x431)](_0x19baed['LocaleService'])),_0x67f419(0x7,_0x19baed[_0x235839(0x431)](_0x219e5c)),_0x67f419(0x8,_0x19baed[_0x235839(0x431)](_0x585ce3)),_0x67f419(0x9,_0x19baed[_0x235839(0x358)](_0x5aaffd['ITelemetryService']))],_0x3ad279[_0x235839(0x532)]);var _0x2b88b6=Object[_0x235839(0x27f)],_0x3425d3=Object['getOwnPropertyDescriptor'],_0x36238b=(_0x571482,_0x180e12,_0x18c7c1,_0x202634)=>{const _0x205f56=_0x235839;for(var _0x270291=_0x202634>0x1?void 0x0:_0x202634?_0x3425d3(_0x180e12,_0x18c7c1):_0x180e12,_0x4216dd=_0x571482[_0x205f56(0x23b)]-0x1,_0x4e4ada;_0x4216dd>=0x0;_0x4216dd--)(_0x4e4ada=_0x571482[_0x4216dd])&&(_0x270291=(_0x202634?_0x4e4ada(_0x180e12,_0x18c7c1,_0x270291):_0x4e4ada(_0x270291))||_0x270291);return _0x202634&&_0x270291&&_0x2b88b6(_0x180e12,_0x18c7c1,_0x270291),_0x270291;},_0x558dde=(_0x639ea5,_0x58621f)=>(_0x260c47,_0xba1145)=>_0x58621f(_0x260c47,_0xba1145,_0x639ea5);_0x3ad279[_0x235839(0x1d9)]=class extends _0x19baed[_0x235839(0x33d)]{constructor(_0x5e73f2,_0x3fcd48,_0x3cbc3b,_0x5d0f62,_0x120975,_0x60d31d){const _0x435334=_0x235839;super(),_0x4ab372(this,_0x435334(0x3c3),new _0x5a8f79['BehaviorSubject'](void 0x0)),_0x4ab372(this,_0x435334(0x4cc),this['_socket$'][_0x435334(0x56d)]()),_0x4ab372(this,'_candidateSocket',null),_0x4ab372(this,_0x435334(0x202),new Map()),_0x4ab372(this,_0x435334(0x266),new _0x5a8f79[(_0x435334(0x19f))](_0x417e84[_0x435334(0x2a2)])),_0x4ab372(this,_0x435334(0x45f),this[_0x435334(0x266)][_0x435334(0x56d)]()),_0x4ab372(this,'_socketReady',!0x1),_0x4ab372(this,_0x435334(0x1e2)),_0x4ab372(this,'_retryCount',0x0),_0x4ab372(this,'_sendHeartbeatTimer'),_0x4ab372(this,_0x435334(0x291)),(this[_0x435334(0x2ae)]=_0x5e73f2,this['_localeService']=_0x3fcd48,this['_messageService']=_0x3cbc3b,this['_logService']=_0x5d0f62,this[_0x435334(0x570)]=_0x120975,this[_0x435334(0x558)]=_0x60d31d,this[_0x435334(0x294)]());}get[_0x235839(0x583)](){const _0x41faa7=_0x235839;return this[_0x41faa7(0x3c3)][_0x41faa7(0x272)]();}[_0x235839(0x294)](){const _0x52941d=_0x235839;this[_0x52941d(0x2e5)](),this[_0x52941d(0x4b3)]();}[_0x235839(0x327)](){const _0xc85f58=_0x235839;super[_0xc85f58(0x327)](),this['_sessions'][_0xc85f58(0x2a6)](_0x26f4ba=>_0x26f4ba['dispose']()),this[_0xc85f58(0x202)][_0xc85f58(0x1ac)](),this[_0xc85f58(0x266)]['complete']();}async[_0x235839(0x16e)](_0x3c8d30){const _0x42eea4=_0x235839;if(this[_0x42eea4(0x202)][_0x42eea4(0x461)](_0x3c8d30))return this['_sessions'][_0x42eea4(0x17a)](_0x3c8d30);this[_0x42eea4(0x325)]();const _0x265d13=this[_0x42eea4(0x2ae)][_0x42eea4(0x369)](_0x3ad279[_0x42eea4(0x532)],_0x3c8d30,this['_socket$'][_0x42eea4(0x56d)]());return this[_0x42eea4(0x202)]['set'](_0x3c8d30,_0x265d13),_0x265d13;}[_0x235839(0x3f0)](_0x4237da){const _0x45c76d=_0x235839;var _0x507233;const _0xd29c8d=this[_0x45c76d(0x202)][_0x45c76d(0x17a)](_0x4237da);_0xd29c8d&&(this[_0x45c76d(0x202)][_0x45c76d(0x39d)](_0x4237da),_0xd29c8d[_0x45c76d(0x4d4)]()),this[_0x45c76d(0x202)][_0x45c76d(0x26e)]||(_0x507233=this[_0x45c76d(0x583)])==null||_0x507233[_0x45c76d(0x4d4)]();}[_0x235839(0x569)](){const _0x479d82=_0x235839;this['_retryCount']=0x0,this[_0x479d82(0x1e2)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x479d82(0x1e2)]=null),this['_tryReconnect']();}[_0x235839(0x364)](){const _0x349c6d=_0x235839;var _0x12b627,_0xb20664;const _0x506e4e=this[_0x349c6d(0x570)][_0x349c6d(0x530)](_0x25dbd0),_0x51709c=this['_configService']['getConfig'](_0x5d0897),_0x38467e=(_0xb20664=(_0x12b627=_0x51709c==null?void 0x0:_0x51709c['collabWebSocketUrl'])!=null?_0x12b627:_0x506e4e)!=null?_0xb20664:_0x2770a6,_0x534327=this[_0x349c6d(0x558)][_0x349c6d(0x507)](_0x38467e);return this[_0x349c6d(0x41a)]=_0x534327,_0x534327;}[_0x235839(0x325)](){const _0x99b071=_0x235839;var _0x3af3c6,_0x501410;try{const _0x1e8a8e=(_0x501410=(_0x3af3c6=this[_0x99b071(0x583)])!=null?_0x3af3c6:this[_0x99b071(0x41a)])!=null?_0x501410:this['_createSocket']();if(_0x1e8a8e){const _0xa5c14e=_0x1e8a8e[_0x99b071(0x4c6)];_0x1e8a8e[_0x99b071(0x4c6)]=_0x432748=>(this[_0x99b071(0x180)](),_0xa5c14e['apply'](_0x1e8a8e,[_0x432748])),_0x1e8a8e[_0x99b071(0x37b)][_0x99b071(0x36a)](_0x152f21=>this['_onMessage'](_0x1e8a8e,_0x152f21)),_0x1e8a8e[_0x99b071(0x211)][_0x99b071(0x53f)](_0x555af6[_0x99b071(0x36d)](0x1))[_0x99b071(0x36a)](_0x10e7ac=>this[_0x99b071(0x449)]['error'](_0x99b071(0x54b),_0x10e7ac)),_0x1e8a8e[_0x99b071(0x411)][_0x99b071(0x53f)](_0x555af6[_0x99b071(0x36d)](0x1))[_0x99b071(0x36a)](()=>{const _0x17d5ca=_0x99b071;this[_0x17d5ca(0x351)](_0x1e8a8e);}),_0x1e8a8e[_0x99b071(0x18a)][_0x99b071(0x53f)](_0x555af6[_0x99b071(0x36d)](0x1))[_0x99b071(0x36a)](_0x2e64c6=>{const _0x5de3f0=_0x99b071;this[_0x5de3f0(0x449)][_0x5de3f0(0x2ac)](_0x5de3f0(0x1e9),_0x5de3f0(0x4ef),_0x2e64c6),this['_onConnectionFailed']();});}}catch(_0x1ad0fe){this[_0x99b071(0x449)][_0x99b071(0x244)](_0x1ad0fe),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0xd65d32){const _0x4921c6=_0x235839;this[_0x4921c6(0x449)][_0x4921c6(0x2ac)](_0x4921c6(0x1e9),_0x4921c6(0x41e)),_0xd65d32[_0x4921c6(0x4c6)]({'cmd':_0x3c3412[_0x4921c6(0x24b)]}),this[_0x4921c6(0x180)]();}[_0x235839(0x2e5)](){const _0x2aa1e6=_0x235839;window[_0x2aa1e6(0x1bb)](_0x2aa1e6(0x2bc),()=>this[_0x2aa1e6(0x49b)]());}['_onOffline'](){const _0x50756e=_0x235839;this['_socketReady']=!0x1,this[_0x50756e(0x41a)]=null,this[_0x50756e(0x266)][_0x50756e(0x31f)](_0x417e84['OFFLINE']),this[_0x50756e(0x3c3)]['next'](null),this[_0x50756e(0x1b6)](),this[_0x50756e(0x32e)]();}[_0x235839(0x181)](){const _0x1ddea4=_0x235839;var _0x3a78ce;this[_0x1ddea4(0x49b)](),this[_0x1ddea4(0x2ca)]<((_0x3a78ce=this[_0x1ddea4(0x570)][_0x1ddea4(0x530)](_0x691c04))!=null?_0x3a78ce:0x3)?(this[_0x1ddea4(0x30f)][_0x1ddea4(0x1ed)]({'key':'collaboration-session-retry','type':_0x101c11[_0x1ddea4(0x34b)][_0x1ddea4(0x552)],'content':this[_0x1ddea4(0x2b2)]['t'](_0x1ddea4(0x2ef))}),this['_tryReconnect']()):this['_messageService'][_0x1ddea4(0x1ed)]({'key':_0x1ddea4(0x2b6),'type':_0x101c11[_0x1ddea4(0x34b)][_0x1ddea4(0x2e1)],'content':this[_0x1ddea4(0x2b2)]['t']('session.connection-failed')});}[_0x235839(0x4b3)](){const _0x571c1c=_0x235839,_0x4186b0=()=>{const _0x51ee36=_0x16a9;this[_0x51ee36(0x583)]||this['reconnect']();},_0x106048=()=>{const _0x5d1543=_0x16a9;this[_0x5d1543(0x583)]||document[_0x5d1543(0x40b)]==='hidden'||this[_0x5d1543(0x569)]();};window[_0x571c1c(0x1bb)](_0x571c1c(0x3f5),_0x4186b0),document[_0x571c1c(0x1bb)](_0x571c1c(0x302),_0x106048);}[_0x235839(0x505)](){const _0x1d7199=_0x235839;var _0x1c8a67;const _0x493bcc=this[_0x1d7199(0x2ca)],_0x585b9a=this[_0x1d7199(0x570)][_0x1d7199(0x530)](_0x5d0897),_0x3ff2a7=_0x493bcc===0x0?0x0:((_0x1c8a67=_0x585b9a==null?void 0x0:_0x585b9a[_0x1d7199(0x160)])!=null?_0x1c8a67:0x4e20)*0x2**_0x493bcc;this['_retryConnectingTimer']=window[_0x1d7199(0x494)](()=>{const _0x3445aa=_0x1d7199;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x3445aa(0x325)]();},_0x3ff2a7),this[_0x1d7199(0x2ca)]+=0x1;}[_0x235839(0x254)](_0x4dc1f7,_0x4c5db6){const _0x334512=_0x235839,{cmd:_0x3b7011}=_0x4c5db6;_0x3b7011===_0x3c3412[_0x334512(0x24b)]&&!this['_socketReady']&&(_0x4dc1f7['memberID']=_0x4c5db6['data'][_0x334512(0x52a)],this[_0x334512(0x3c3)][_0x334512(0x31f)](_0x4dc1f7),this[_0x334512(0x266)]['next'](_0x417e84[_0x334512(0x580)]),this[_0x334512(0x296)]=!0x0,this[_0x334512(0x41a)]=null),_0x3b7011===_0x3c3412[_0x334512(0x525)]&&this[_0x334512(0x1b6)](),this[_0x334512(0x180)]();}[_0x235839(0x180)](){const _0x3e17f3=_0x235839;var _0x3148e9;this[_0x3e17f3(0x32e)](),this['_sendHeartbeatTimer']=window['setTimeout'](()=>this[_0x3e17f3(0x360)](),(_0x3148e9=this[_0x3e17f3(0x570)][_0x3e17f3(0x530)](_0x29d731))!=null?_0x3148e9:0x7530);}[_0x235839(0x360)](){const _0x2b6a05=_0x235839;this['_socket'][_0x2b6a05(0x4c6)]({'cmd':_0x3c3412[_0x2b6a05(0x525)]}),this['_waitForHeartbeatResponse']();}[_0x235839(0x222)](){const _0x1768c6=_0x235839;var _0x1017e0;this['_timeoutTimer']=window['setTimeout'](()=>this[_0x1768c6(0x181)](),(_0x1017e0=this['_configService'][_0x1768c6(0x530)](_0xf0a6fc))!=null?_0x1017e0:0x4e20);}[_0x235839(0x32e)](){const _0x415af8=_0x235839;this[_0x415af8(0x261)]!=null&&(clearTimeout(this[_0x415af8(0x261)]),this[_0x415af8(0x261)]=null);}[_0x235839(0x1b6)](){const _0x11b0b1=_0x235839;this[_0x11b0b1(0x291)]!=null&&(clearTimeout(this[_0x11b0b1(0x291)]),this[_0x11b0b1(0x291)]=null);}},_0x3ad279['CollaborationSessionService']=_0x36238b([_0x558dde(0x0,_0x19baed[_0x235839(0x431)](_0x19baed[_0x235839(0x41c)])),_0x558dde(0x1,_0x19baed['Inject'](_0x19baed[_0x235839(0x3fc)])),_0x558dde(0x2,_0x6ef540['IMessageService']),_0x558dde(0x3,_0x19baed['ILogService']),_0x558dde(0x4,_0x19baed['IConfigService']),_0x558dde(0x5,_0x6eb43)],_0x3ad279['CollaborationSessionService']);for(var _0x3db792=[],_0xbd0715=0x0;_0xbd0715<0x100;++_0xbd0715)_0x3db792['push']((_0xbd0715+0x100)[_0x235839(0x2b7)](0x10)[_0x235839(0x1af)](0x1));function _0xdc2a95(_0x1fa367,_0x3a9205=0x0){const _0x28a368=_0x235839;return(_0x3db792[_0x1fa367[_0x3a9205+0x0]]+_0x3db792[_0x1fa367[_0x3a9205+0x1]]+_0x3db792[_0x1fa367[_0x3a9205+0x2]]+_0x3db792[_0x1fa367[_0x3a9205+0x3]]+'-'+_0x3db792[_0x1fa367[_0x3a9205+0x4]]+_0x3db792[_0x1fa367[_0x3a9205+0x5]]+'-'+_0x3db792[_0x1fa367[_0x3a9205+0x6]]+_0x3db792[_0x1fa367[_0x3a9205+0x7]]+'-'+_0x3db792[_0x1fa367[_0x3a9205+0x8]]+_0x3db792[_0x1fa367[_0x3a9205+0x9]]+'-'+_0x3db792[_0x1fa367[_0x3a9205+0xa]]+_0x3db792[_0x1fa367[_0x3a9205+0xb]]+_0x3db792[_0x1fa367[_0x3a9205+0xc]]+_0x3db792[_0x1fa367[_0x3a9205+0xd]]+_0x3db792[_0x1fa367[_0x3a9205+0xe]]+_0x3db792[_0x1fa367[_0x3a9205+0xf]])[_0x28a368(0x4ea)]();}var _0x4db24d,_0x15d2b9=new Uint8Array(0x10);function _0x82aecc(){const _0x40c2ca=_0x235839;if(!_0x4db24d&&(_0x4db24d=typeof crypto<'u'&&crypto[_0x40c2ca(0x170)]&&crypto['getRandomValues']['bind'](crypto),!_0x4db24d))throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');return _0x4db24d(_0x15d2b9);}var _0x1a66e2=typeof crypto<'u'&&crypto[_0x235839(0x513)]&&crypto['randomUUID']['bind'](crypto);const _0x195a6a={'randomUUID':_0x1a66e2};function _0x5b133(_0x348990,_0x11ab93,_0x3a4db7){const _0x32897c=_0x235839;if(_0x195a6a['randomUUID']&&!_0x11ab93&&!_0x348990)return _0x195a6a['randomUUID']();_0x348990=_0x348990||{};var _0x217625=_0x348990[_0x32897c(0x575)]||(_0x348990['rng']||_0x82aecc)();return _0x217625[0x6]=_0x217625[0x6]&0xf|0x40,_0x217625[0x8]=_0x217625[0x8]&0x3f|0x80,_0xdc2a95(_0x217625);}var _0x5c9b31=Object['defineProperty'],_0x4a4e38=Object['getOwnPropertyDescriptor'],_0x5c4b76=(_0x34f931,_0x1fc4f7,_0x4e4f34,_0x504100)=>{const _0x205e06=_0x235839;for(var _0x580a36=_0x504100>0x1?void 0x0:_0x504100?_0x4a4e38(_0x1fc4f7,_0x4e4f34):_0x1fc4f7,_0x1c85e0=_0x34f931[_0x205e06(0x23b)]-0x1,_0x5ec297;_0x1c85e0>=0x0;_0x1c85e0--)(_0x5ec297=_0x34f931[_0x1c85e0])&&(_0x580a36=(_0x504100?_0x5ec297(_0x1fc4f7,_0x4e4f34,_0x580a36):_0x5ec297(_0x580a36))||_0x580a36);return _0x504100&&_0x580a36&&_0x5c9b31(_0x1fc4f7,_0x4e4f34,_0x580a36),_0x580a36;},_0x3a3a75=(_0x188583,_0x57e173)=>(_0x3150aa,_0x538fb2)=>_0x57e173(_0x3150aa,_0x538fb2,_0x188583);let _0x4ceb7a=class{constructor(_0x41a679,_0x387c57,_0x41d819){const _0x6418c7=_0x235839;this[_0x6418c7(0x2ae)]=_0x41a679,this[_0x6418c7(0x165)]=_0x387c57,this[_0x6418c7(0x40f)]=_0x41d819;}[_0x235839(0x36e)](_0xc2d32e){const _0x4d902f=_0x235839;this[_0x4d902f(0x3d1)](_0xc2d32e),this[_0x4d902f(0x343)](_0xc2d32e);}['transformRemoteChangeset'](_0x48ee01){const _0x24f61f=_0x235839,{unitID:_0x4bfe28}=_0x48ee01,_0x35a338=this['_renderManagerService']['getRenderById'](_0x4bfe28)[_0x24f61f(0x30d)](_0x542e88[_0x24f61f(0x32d)]),{redoCache:_0x35d862}=_0x35a338[_0x24f61f(0x35d)]();if(_0x35d862[_0x24f61f(0x23b)]===0x0)return _0x48ee01;let _0x5cfcf2=_0x19baed[_0x24f61f(0x21a)][_0x24f61f(0x21c)](_0x48ee01[_0x24f61f(0x2c5)][0x0]);for(let _0xf2453f=0x0;_0xf2453f<_0x35d862[_0x24f61f(0x23b)];_0xf2453f++){const _0x25e520={'id':_0x24f61f(0x1cf),'params':{..._0x35d862[_0xf2453f]}},_0x3188b2=this[_0x24f61f(0x165)][_0x24f61f(0x2cf)](_0x5cfcf2,_0x25e520,!0x1);if(_0x21fd1d['isTransformMutationFailure'](_0x3188b2))throw _0x3188b2['error'];_0x5cfcf2=_0x3188b2['m1Prime'];}return{..._0x19baed[_0x24f61f(0x21a)]['deepClone'](_0x48ee01),'mutations':[_0x5cfcf2]};}[_0x235839(0x3d1)](_0x148c08){const _0x456654=_0x235839,{unitID:_0x37323a}=_0x148c08,_0x4f791c=this[_0x456654(0x40f)]['getRenderById'](_0x37323a)[_0x456654(0x30d)](_0x542e88[_0x456654(0x32d)]),{undoCache:_0x45394d,redoCache:_0x3e982b}=_0x4f791c[_0x456654(0x35d)]();if(_0x45394d[_0x456654(0x23b)]===0x0||_0x3e982b[_0x456654(0x23b)]===0x0)return;const _0x3fb66e=[],_0x1d417e=[];let _0x54a87c=_0x19baed[_0x456654(0x21a)][_0x456654(0x21c)](_0x148c08['mutations'][0x0]),_0x769de9=_0x19baed['Tools']['deepClone'](_0x148c08[_0x456654(0x2c5)][0x0]);for(let _0x1a801b=_0x45394d['length']-0x1;_0x1a801b>=0x0;_0x1a801b--){const _0x24690c={'id':'doc.mutation.rich-text-editing','params':{..._0x45394d[_0x1a801b]}},_0x5f123e={'id':_0x456654(0x1cf),'params':{..._0x3e982b[_0x1a801b]}},_0x1fd361=this['_transformService'][_0x456654(0x2cf)](_0x54a87c,_0x24690c,!0x1),_0x59db82=this[_0x456654(0x165)][_0x456654(0x2cf)](_0x769de9,_0x5f123e,!0x1);if(_0x21fd1d['isTransformMutationFailure'](_0x1fd361))throw _0x1fd361[_0x456654(0x244)];if(_0x21fd1d['isTransformMutationFailure'](_0x59db82))throw _0x59db82[_0x456654(0x244)];_0x3fb66e['unshift'](_0x1fd361[_0x456654(0x549)][_0x456654(0x305)]),_0x1d417e['unshift'](_0x59db82[_0x456654(0x549)][_0x456654(0x305)]),_0x54a87c=_0x1fd361['m1Prime'],_0x769de9=_0x59db82[_0x456654(0x2f9)];}_0x4f791c[_0x456654(0x21b)]({'undoCache':_0x3fb66e,'redoCache':_0x1d417e});}['_transformPreviousActiveRange'](_0x54726f){const _0xaf9036=_0x235839,{unitID:_0x2e8224}=_0x54726f,_0x3df48b=this['_renderManagerService']['getRenderById'](_0x2e8224)['with'](_0x542e88[_0xaf9036(0x32d)]),_0x1f6f79=_0x3df48b[_0xaf9036(0x38b)]();if(_0x1f6f79==null)return;const _0x5996a6=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x54726f[_0xaf9036(0x1ee)],'actions':null,'textRanges':[_0x1f6f79]}}],_0x5f4647=this[_0xaf9036(0x165)]['transformMutationsWithChangeset'](_0x54726f,_0x5996a6);if(!_0x21fd1d[_0xaf9036(0x3f1)](_0x5f4647))throw _0x5f4647[_0xaf9036(0x244)];const _0x52e778=_0x5f4647[_0xaf9036(0x549)][0x0][_0xaf9036(0x305)][_0xaf9036(0x2fe)];Array[_0xaf9036(0x417)](_0x52e778)&&_0x52e778[_0xaf9036(0x23b)]&&_0x3df48b[_0xaf9036(0x1dc)](_0x52e778[0x0]);}};_0x4ceb7a=_0x5c4b76([_0x3a3a75(0x0,_0x19baed['Inject'](_0x19baed[_0x235839(0x41c)])),_0x3a3a75(0x1,_0x21fd1d[_0x235839(0x398)]),_0x3a3a75(0x2,_0xc3fdc[_0x235839(0x20c)])],_0x4ceb7a);var _0x3fa5d7=Object[_0x235839(0x27f)],_0x3983dd=Object[_0x235839(0x2ee)],_0x1311f0=(_0x27c09f,_0x567e91,_0x208433,_0x329c0f)=>{const _0x2a8e23=_0x235839;for(var _0x2f5954=_0x329c0f>0x1?void 0x0:_0x329c0f?_0x3983dd(_0x567e91,_0x208433):_0x567e91,_0x423d9a=_0x27c09f[_0x2a8e23(0x23b)]-0x1,_0x22ee99;_0x423d9a>=0x0;_0x423d9a--)(_0x22ee99=_0x27c09f[_0x423d9a])&&(_0x2f5954=(_0x329c0f?_0x22ee99(_0x567e91,_0x208433,_0x2f5954):_0x22ee99(_0x2f5954))||_0x2f5954);return _0x329c0f&&_0x2f5954&&_0x3fa5d7(_0x567e91,_0x208433,_0x2f5954),_0x2f5954;},_0x4926a1=(_0x19adc3,_0x389d92)=>(_0x4ee1db,_0x3d82b6)=>_0x389d92(_0x4ee1db,_0x3d82b6,_0x19adc3);_0x3ad279[_0x235839(0x36b)]=class extends _0x19baed[_0x235839(0x33d)]{constructor(_0x1a7311,_0x294ade,_0x239bb9,_0xe8bd2d,_0x167b9c){const _0x46bee7=_0x235839;super(),_0x4ab372(this,_0x46bee7(0x44e),new Map()),_0x4ab372(this,'_saveTaskMap',new Map()),_0x4ab372(this,_0x46bee7(0x3d7),!0x1),(this[_0x46bee7(0x570)]=_0x1a7311,this[_0x46bee7(0x493)]=_0x294ade,this[_0x46bee7(0x224)]=_0x239bb9,this[_0x46bee7(0x2b2)]=_0xe8bd2d,this[_0x46bee7(0x454)]=_0x167b9c,this['_setupBeforeClosingHandler']());}['disableLocalCache'](){const _0x2dbebb=_0x235839;this[_0x2dbebb(0x3d7)]=!0x0;}[_0x235839(0x1dd)](){const _0x683396=_0x235839;this[_0x683396(0x3d7)]=!0x1;}[_0x235839(0x327)](){const _0x4c8855=_0x235839;this['exhaustSavingTask']()[_0x4c8855(0x258)](()=>super['dispose']());}async[_0x235839(0x287)](_0x3d2051){const _0x5371bc=_0x235839;return this['_disabled']?null:this[_0x5371bc(0x493)][_0x5371bc(0x462)](_0xc358a3(_0x3d2051));}async[_0x235839(0x3b7)](_0x56755c,_0x369646){const _0x35b9b6=_0x235839;return!!this['_localStorageService'][_0x35b9b6(0x156)](_0x56755c,_0x369646);}[_0x235839(0x362)](_0xe5af51,_0x33c3c7,_0x1ee118,_0x21563d){const _0x4a1894=_0x235839,_0x1065ab=this[_0x4a1894(0x454)][_0x4a1894(0x2b9)](_0xe5af51);this['_cachedData']['set'](_0xe5af51,{'unitID':_0xe5af51,'type':_0x33c3c7,'awaitingChangeset':_0x1ee118,'mutations':_0x21563d,'rev':_0x1065ab}),this[_0x4a1894(0x3cb)][_0x4a1894(0x461)](_0xe5af51)||this[_0x4a1894(0x43a)](_0xe5af51);}[_0x235839(0x43a)](_0x3bdddf){const _0x1b4daf=_0x235839,_0x28c9ae=this[_0x1b4daf(0x537)]();_0x28c9ae===0x0?this[_0x1b4daf(0x22c)](_0x3bdddf):this['_saveTaskMap'][_0x1b4daf(0x3ce)](_0x3bdddf,setTimeout(()=>this[_0x1b4daf(0x22c)](_0x3bdddf),_0x28c9ae));}[_0x235839(0x537)](){const _0xf35f89=_0x235839;var _0x4a532e;return(_0x4a532e=this[_0xf35f89(0x570)][_0xf35f89(0x530)](_0x189453))!=null?_0x4a532e:0x3e8;}[_0x235839(0x22c)](_0x3f65af){const _0x20f75f=_0x235839,_0x187d81=this[_0x20f75f(0x3cb)][_0x20f75f(0x17a)](_0x3f65af);return _0x187d81!==void 0x0&&window['clearTimeout'](_0x187d81),this[_0x20f75f(0x493)][_0x20f75f(0x156)](_0xc358a3(_0x3f65af),this[_0x20f75f(0x44e)][_0x20f75f(0x17a)](_0x3f65af))[_0x20f75f(0x258)](()=>this[_0x20f75f(0x3cb)][_0x20f75f(0x39d)](_0x3f65af));}async[_0x235839(0x20b)](){const _0x2c866a=_0x235839,_0x119506=[];this[_0x2c866a(0x3cb)][_0x2c866a(0x2a6)]((_0x52ec9e,_0x514f2b)=>{const _0x202e7f=_0x2c866a;window[_0x202e7f(0x4e0)](_0x52ec9e),_0x119506[_0x202e7f(0x4e1)](this[_0x202e7f(0x22c)](_0x514f2b)[_0x202e7f(0x258)](()=>{const _0x161947=_0x202e7f;this[_0x161947(0x3cb)][_0x161947(0x39d)](_0x514f2b);}));}),await Promise[_0x2c866a(0x396)](_0x119506);}[_0x235839(0x404)](){const _0xd4795e=_0x235839;this[_0xd4795e(0x4e4)](this[_0xd4795e(0x224)]['registerBeforeClose'](()=>{const _0x3793b1=_0xd4795e;if(this['_saveTaskMap'][_0x3793b1(0x26e)])return this[_0x3793b1(0x2b2)]['t'](_0x3793b1(0x361));}));}},_0x3ad279[_0x235839(0x36b)]=_0x1311f0([_0x4926a1(0x0,_0x19baed[_0x235839(0x472)]),_0x4926a1(0x1,_0x19baed[_0x235839(0x282)]),_0x4926a1(0x2,_0x6ef540[_0x235839(0x432)]),_0x4926a1(0x3,_0x19baed['Inject'](_0x19baed[_0x235839(0x3fc)])),_0x4926a1(0x4,_0x19baed[_0x235839(0x431)](_0x21fd1d['RevisionService']))],_0x3ad279[_0x235839(0x36b)]);function _0xc358a3(_0x4ebe0d){return'unit-cache-'+_0x4ebe0d;}var _0x466fed=Object[_0x235839(0x27f)],_0xe7f158=Object[_0x235839(0x2ee)],_0x330bc3=(_0x1adf97,_0x4672b9,_0x3f6818,_0x1a5749)=>{const _0x4289ee=_0x235839;for(var _0x2b7817=_0x1a5749>0x1?void 0x0:_0x1a5749?_0xe7f158(_0x4672b9,_0x3f6818):_0x4672b9,_0x19e883=_0x1adf97[_0x4289ee(0x23b)]-0x1,_0x5dfc19;_0x19e883>=0x0;_0x19e883--)(_0x5dfc19=_0x1adf97[_0x19e883])&&(_0x2b7817=(_0x1a5749?_0x5dfc19(_0x4672b9,_0x3f6818,_0x2b7817):_0x5dfc19(_0x2b7817))||_0x2b7817);return _0x1a5749&&_0x2b7817&&_0x466fed(_0x4672b9,_0x3f6818,_0x2b7817),_0x2b7817;},_0x245802=(_0x204fb6,_0x3379dd)=>(_0x11d089,_0x58797f)=>_0x3379dd(_0x11d089,_0x58797f,_0x204fb6);function _0x4c8563(_0x1bef06){const _0x307f2b=_0x235839,{unitID:_0x4188d9,mutations:_0x444888}=_0x1bef06;return{'unitId':_0x4188d9,'subUnitId':_0x444888[0x0][_0x307f2b(0x305)][_0x307f2b(0x50f)]};}let _0x132bd7=class{constructor(_0x5144cc,_0x285325,_0x49e19b){const _0x1379b1=_0x235839;this['_injector']=_0x5144cc,this[_0x1379b1(0x165)]=_0x285325,this['_instanceService']=_0x49e19b;}[_0x235839(0x475)](_0x11f2ab){const _0x9c0afb=_0x235839;var _0x38a29e,_0x5456b6,_0x33e9b6,_0x47c6b7;const _0x41b4bb=this[_0x9c0afb(0x2ae)][_0x9c0afb(0x17a)](_0x360913[_0x9c0afb(0x17f)]),{unitId:_0x4800e7,subUnitId:_0x175243}=_0x4c8563(_0x11f2ab),_0x578ec2=_0x41b4bb['getWorkbookSelections'](_0x4800e7)[_0x9c0afb(0x1bd)](),_0x2f1ba2=(_0x5456b6=(_0x38a29e=this[_0x9c0afb(0x4a3)][_0x9c0afb(0x503)](_0x4800e7))==null?void 0x0:_0x38a29e[_0x9c0afb(0x437)]())==null?void 0x0:_0x5456b6[_0x9c0afb(0x335)]();if(_0x578ec2[_0x9c0afb(0x23b)]===0x0||!_0x4800e7||!_0x175243)return;const _0x21fb17=[{'id':_0x360913[_0x9c0afb(0x1ea)]['id'],'params':{'unitId':_0x4800e7,'subUnitId':_0x2f1ba2,'selections':_0x19baed[_0x9c0afb(0x21a)][_0x9c0afb(0x21c)](_0x578ec2)}}],_0x48cc8c=this[_0x9c0afb(0x165)][_0x9c0afb(0x283)](_0x11f2ab,_0x21fb17);if(!_0x21fd1d[_0x9c0afb(0x3f1)](_0x48cc8c))throw _0x48cc8c[_0x9c0afb(0x244)];const _0x13e430=(_0x47c6b7=(_0x33e9b6=_0x48cc8c[_0x9c0afb(0x549)][0x0])==null?void 0x0:_0x33e9b6[_0x9c0afb(0x305)])==null?void 0x0:_0x47c6b7[_0x9c0afb(0x56b)];Array['isArray'](_0x13e430)&&_0x13e430[_0x9c0afb(0x23b)]&&this[_0x9c0afb(0x2ae)][_0x9c0afb(0x17a)](_0x19baed[_0x9c0afb(0x3f4)])[_0x9c0afb(0x28e)](_0x360913[_0x9c0afb(0x1ea)]['id'],{'unitId':_0x4800e7,'subUnitId':_0x2f1ba2,'selections':_0x13e430});}};_0x132bd7=_0x330bc3([_0x245802(0x0,_0x19baed[_0x235839(0x431)](_0x19baed['Injector'])),_0x245802(0x1,_0x21fd1d[_0x235839(0x398)]),_0x245802(0x2,_0x19baed[_0x235839(0x1b2)])],_0x132bd7);const _0x34c426=_0x19baed[_0x235839(0x262)](_0x235839(0x155));var _0x205b04=(_0x592309=>(_0x592309[_0x592309['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x235839(0x394),_0x592309[_0x592309[_0x235839(0x568)]=0x1]=_0x235839(0x568),_0x592309))(_0x205b04||{});const _0x4837a7=0x7530,_0x5e6dc1=_0x235839(0x265);class _0x70b79a extends _0x19baed[_0x235839(0x33d)]{constructor(){const _0x44dfc0=_0x235839;super(),_0x4ab372(this,_0x44dfc0(0x518),_0x19baed['Tools'][_0x44dfc0(0x56c)]()),_0x4ab372(this,_0x44dfc0(0x2bd),new Set()),_0x4ab372(this,'_unitOnClients',new Map()),_0x4ab372(this,_0x44dfc0(0x23f),null),_0x4ab372(this,'_clearOtherTimers',new Map()),_0x4ab372(this,'_unitStatus',new Map()),this[_0x44dfc0(0x3e3)]();}[_0x235839(0x327)](){const _0x6d9ee6=_0x235839;super[_0x6d9ee6(0x327)](),this[_0x6d9ee6(0x2c0)][_0x6d9ee6(0x2a6)]((_0xa9a366,_0x514676)=>this[_0x6d9ee6(0x41f)](_0x514676)),this[_0x6d9ee6(0x23f)]&&window[_0x6d9ee6(0x2bb)](this[_0x6d9ee6(0x23f)]);}[_0x235839(0x223)](_0x31b0ac){const _0x5e43ef=_0x235839;return this[_0x5e43ef(0x26c)](_0x31b0ac)[_0x5e43ef(0x53f)](_0x5a8f79[_0x5e43ef(0x57d)]());}[_0x235839(0x27d)](_0x285a8e){const _0x341630=_0x235839;this[_0x341630(0x2bd)][_0x341630(0x26e)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x341630(0x4c2)](_0x285a8e),this[_0x341630(0x4c1)]({'type':0x0,'memberID':this[_0x341630(0x518)],'unitIDs':[_0x285a8e],'isForwarded':!0x1});}['disposeUnit'](_0x3ad664){const _0x3b56db=_0x235839;this[_0x3b56db(0x2bd)][_0x3b56db(0x39d)](_0x3ad664),this[_0x3b56db(0x2bd)][_0x3b56db(0x26e)]===0x0&&this[_0x3b56db(0x23f)]&&window[_0x3b56db(0x2bb)](this[_0x3b56db(0x23f)]);}['_init'](){const _0xa8571b=_0x235839;this[_0xa8571b(0x4e4)](_0x19baed[_0xa8571b(0x4e3)](_0x5a8f79[_0xa8571b(0x22f)](window,'storage')['subscribe'](_0x8a60c4=>{const _0x3e0b05=_0xa8571b;if(_0x8a60c4[_0x3e0b05(0x3f2)]!==_0x5e6dc1||!_0x8a60c4[_0x3e0b05(0x21e)])return;const _0x29fea6=JSON[_0x3e0b05(0x45d)](_0x8a60c4[_0x3e0b05(0x21e)]);this[_0x3e0b05(0x2fb)](_0x29fea6);}))),window[_0xa8571b(0x1bb)]('unload',()=>this[_0xa8571b(0x4c1)]({'type':0x1,'memberID':this[_0xa8571b(0x518)],'unitIDs':Array[_0xa8571b(0x2aa)](this[_0xa8571b(0x2bd)])}));}[_0x235839(0x2fb)](_0x565683){const _0x1c8589=_0x235839;switch(_0x565683['type']){case 0x0:this[_0x1c8589(0x442)](_0x565683);break;case 0x1:this[_0x1c8589(0x1da)](_0x565683);break;case 0x2:this['_handleHeartbeatEvent'](_0x565683);break;}}[_0x235839(0x442)](_0x1d54a8){const _0x2f2c4b=_0x235839,{unitIDs:_0x4282da,memberID:_0x51a9c1,isForwarded:_0x50434d}=_0x1d54a8;_0x4282da[_0x2f2c4b(0x2a6)](_0x3bccb2=>{const _0x4ee159=_0x2f2c4b;if(!_0x50434d&&this[_0x4ee159(0x46c)][_0x4ee159(0x461)](_0x3bccb2)&&this[_0x4ee159(0x26c)](_0x3bccb2)['next'](0x1),!this[_0x4ee159(0x46c)][_0x4ee159(0x461)](_0x3bccb2)||!this[_0x4ee159(0x46c)][_0x4ee159(0x17a)](_0x3bccb2)[_0x4ee159(0x461)](_0x51a9c1)){const _0x4efdfa=this[_0x4ee159(0x46c)][_0x4ee159(0x17a)](_0x3bccb2)||new Set();_0x4efdfa['add'](_0x51a9c1),this[_0x4ee159(0x46c)]['set'](_0x3bccb2,_0x4efdfa),this['_scheduleClearOtherTimer'](_0x51a9c1);}}),_0x50434d||this[_0x2f2c4b(0x4c1)]({'type':0x0,'memberID':this[_0x2f2c4b(0x518)],'unitIDs':[...this[_0x2f2c4b(0x2bd)]],'isForwarded':!0x0});}[_0x235839(0x4da)](_0x344e42){const _0x20520f=_0x235839;this[_0x20520f(0x41f)](_0x344e42);const _0x53b1b2=window['setTimeout'](()=>{const _0x39b61f=_0x20520f;this[_0x39b61f(0x46c)]['forEach'](_0x2bcbaf=>{const _0x415af6=_0x39b61f;_0x2bcbaf[_0x415af6(0x39d)](_0x344e42);});},_0x4837a7*0x2);this['_clearOtherTimers'][_0x20520f(0x3ce)](_0x344e42,_0x53b1b2);}['_removeClearOtherTimer'](_0x1f038b){const _0x4d376c=_0x235839;if(this['_clearOtherTimers']['has'](_0x1f038b)){const _0x4a3e6d=this['_clearOtherTimers'][_0x4d376c(0x17a)](_0x1f038b);_0x4a3e6d&&window[_0x4d376c(0x4e0)](_0x4a3e6d),this[_0x4d376c(0x2c0)][_0x4d376c(0x3ce)](_0x1f038b,null);}}[_0x235839(0x1da)](_0x336eb6){const _0x371278=_0x235839,{memberID:_0x3cf360,unitIDs:_0x354b4f}=_0x336eb6;_0x354b4f[_0x371278(0x2a6)](_0x4e2c9a=>{const _0x527fda=_0x371278;var _0x1194c2;const _0x4ec52b=this['_unitOnClients'][_0x527fda(0x17a)](_0x4e2c9a);_0x4ec52b&&(_0x4ec52b[_0x527fda(0x39d)](_0x3cf360),(_0x1194c2=this[_0x527fda(0x26c)](_0x4e2c9a))==null||_0x1194c2[_0x527fda(0x31f)](_0x4ec52b[_0x527fda(0x26e)]===0x0?0x0:0x1));}),this[_0x371278(0x41f)](_0x3cf360);}['_handleHeartbeatEvent'](_0x511c35){const _0x51bbb5=_0x235839;this[_0x51bbb5(0x4da)](_0x511c35[_0x51bbb5(0x52a)]);}[_0x235839(0x4c1)](_0x29fa50){const _0x13d088=_0x235839;localStorage['setItem'](_0x5e6dc1,JSON[_0x13d088(0x3c9)](_0x29fa50));}[_0x235839(0x32f)](){const _0x401234=_0x235839;this[_0x401234(0x23f)]=window['setInterval'](()=>{const _0x2b93a8=_0x401234;this[_0x2b93a8(0x4c1)]({'type':0x2,'memberID':this[_0x2b93a8(0x518)]});},_0x4837a7);}[_0x235839(0x26c)](_0x313ff5){const _0x1ad270=_0x235839;return this[_0x1ad270(0x397)][_0x1ad270(0x461)](_0x313ff5)||this[_0x1ad270(0x397)]['set'](_0x313ff5,new _0x5a8f79['BehaviorSubject'](0x0)),this[_0x1ad270(0x397)][_0x1ad270(0x17a)](_0x313ff5);}}function _0x38bb41(_0x5cc90a){const _0xdbfe6e=_0x235839;let _0x2552b1='';for(const _0x396423 of _0x5cc90a){const {startOffset:_0x52d700,endOffset:_0x79e5d,isActive:_0xff2042}=_0x396423;_0x2552b1[_0xdbfe6e(0x23b)]&&(_0x2552b1+=','),_0x2552b1+=_0x52d700+':'+_0x79e5d+':'+(_0xff2042?'1':'0');}return _0x2552b1;}function _0x14db3e(_0x1651c5){const _0x2101c1=_0x235839,_0x56f942=_0x1651c5[_0x2101c1(0x3fe)](','),_0x5487cd=[];for(const _0x3f5b84 of _0x56f942){const [_0x52e673,_0x5f2377,_0x355b59]=_0x3f5b84[_0x2101c1(0x3fe)](':');_0x5487cd['push']({'startOffset':Number(_0x52e673),'endOffset':Number(_0x5f2377),'collapsed':_0x52e673===_0x5f2377,'isActive':_0x355b59==='1'});}return _0x5487cd[_0x2101c1(0x4ca)](_0x28b8a2=>_0x28b8a2['isActive'])||(_0x5487cd[0x0][_0x2101c1(0x3b3)]=!0x0),_0x5487cd;}class _0x37b8a8 extends _0x19baed['RxDisposable']{constructor(){const _0x1739f4=_0x235839;super(...arguments),_0x4ab372(this,'_collabCursorState$',new _0x5a8f79[(_0x1739f4(0x19f))](null)),_0x4ab372(this,'collabCursorState$',this['_collabCursorState$']['asObservable']());}[_0x235839(0x4f5)](_0x377608){const _0x3ae648=_0x235839,{unitID:_0x41f616,memberID:_0x4328e4,textRanges:_0x225d9c}=_0x377608,_0x4294d0=_0x38bb41(_0x225d9c),_0x1c1b8f={'unitID':_0x41f616,'memberID':_0x4328e4,'selection':_0x4294d0};this[_0x3ae648(0x408)][_0x3ae648(0x31f)](_0x1c1b8f);}}var _0x32d0b3=Object[_0x235839(0x27f)],_0x55a1a4=Object[_0x235839(0x2ee)],_0x5ef5ba=(_0x41068a,_0x4769a7,_0x4272cf,_0xb827ca)=>{const _0x89a0ba=_0x235839;for(var _0x2d9a9f=_0xb827ca>0x1?void 0x0:_0xb827ca?_0x55a1a4(_0x4769a7,_0x4272cf):_0x4769a7,_0x1f909b=_0x41068a[_0x89a0ba(0x23b)]-0x1,_0xaaa8d1;_0x1f909b>=0x0;_0x1f909b--)(_0xaaa8d1=_0x41068a[_0x1f909b])&&(_0x2d9a9f=(_0xb827ca?_0xaaa8d1(_0x4769a7,_0x4272cf,_0x2d9a9f):_0xaaa8d1(_0x2d9a9f))||_0x2d9a9f);return _0xb827ca&&_0x2d9a9f&&_0x32d0b3(_0x4769a7,_0x4272cf,_0x2d9a9f),_0x2d9a9f;},_0x1fc0f4=(_0x3c4849,_0xd3f770)=>(_0x4faf69,_0x3d2e30)=>_0xd3f770(_0x4faf69,_0x3d2e30,_0x3c4849);let _0x43e69a=class{constructor(_0x350c8e,_0x588310){const _0xa85f5d=_0x235839;this[_0xa85f5d(0x2ae)]=_0x350c8e,this[_0xa85f5d(0x165)]=_0x588310;}['transformSelections'](_0x249ac7){const _0x4d014e=_0x235839;var _0x3b77e6;const _0x1a5c37=this[_0x4d014e(0x2ae)][_0x4d014e(0x17a)](_0x40db1c[_0x4d014e(0x186)]),_0x3e8bb1=(_0x3b77e6=_0x1a5c37[_0x4d014e(0x491)]())!=null?_0x3b77e6:[];if(_0x3e8bb1[_0x4d014e(0x23b)]===0x0)return;const _0x29163d=[{'id':_0x4d014e(0x1cf),'params':{'unitId':_0x249ac7[_0x4d014e(0x1ee)],'actions':null,'textRanges':_0x3e8bb1}}],_0x24cbc2=this['_transformService'][_0x4d014e(0x283)](_0x249ac7,_0x29163d);if(!_0x21fd1d[_0x4d014e(0x3f1)](_0x24cbc2))throw _0x24cbc2[_0x4d014e(0x244)];const _0x148b80=_0x24cbc2[_0x4d014e(0x549)][0x0][_0x4d014e(0x305)][_0x4d014e(0x2fe)];Array[_0x4d014e(0x417)](_0x148b80)&&_0x148b80[_0x4d014e(0x23b)]&&_0x1a5c37[_0x4d014e(0x1c5)](_0x148b80,!0x1);}};_0x43e69a=_0x5ef5ba([_0x1fc0f4(0x0,_0x19baed[_0x235839(0x431)](_0x19baed[_0x235839(0x41c)])),_0x1fc0f4(0x1,_0x21fd1d['ITransformService'])],_0x43e69a);const _0x1c07d2=new Set([_0x360913[_0x235839(0x464)]['id']]);function _0x217e5d(_0x5b7998,_0x8c2f3b,_0x338477,_0x21c40c,_0x365c3c){const _0x45127a=_0x235839;var _0x235b94,_0x1a4d2f,_0x5a7e0e,_0x263bd1;const _0x11ec02=[];for(const _0x4ac4f2 of _0x5b7998)if(_0x1c07d2[_0x45127a(0x461)](_0x4ac4f2['id'])){if(_0x11ec02[_0x45127a(0x23b)]>0x0)break;_0x11ec02[_0x45127a(0x4e1)](_0x4ac4f2);break;}else _0x11ec02['push'](_0x4ac4f2);const _0x43c73b=(_0x1a4d2f=(_0x235b94=_0x365c3c[_0x45127a(0x192)]())==null?void 0x0:_0x235b94['userID'])!=null?_0x1a4d2f:_0x45127a(0x2c7),_0x5e8de4=(_0x263bd1=(_0x5a7e0e=_0x365c3c[_0x45127a(0x192)]())==null?void 0x0:_0x5a7e0e[_0x45127a(0x52a)])!=null?_0x263bd1:_0x45127a(0x2c7);return{'changeset':{'unitID':_0x8c2f3b,'type':_0x21fd1d['mapDocumentTypeToUniverType'](_0x338477['getUnitType'](_0x8c2f3b)),'baseRev':_0x21c40c[_0x45127a(0x2b9)](_0x8c2f3b),'revision':0x0,'userID':_0x43c73b,'memberID':_0x5e8de4,'mutations':_0x11ec02},'pendingMutations':_0x5b7998[_0x45127a(0x1af)](_0x11ec02['length'])};}function _0x377d23(_0x202590,_0x54eed1,_0x3f5e60,_0x440e97,_0x300ccb){const _0x5b0084=_0x235839;var _0x240390,_0x50dd69,_0x4bdd2e,_0x1e9576;const _0xa0ad87=[_0x202590['reduce']((_0x53f654,_0x432a9f)=>{const _0x3522e4=_0x16a9;var _0x1d1ef9;const {id:_0x1be597}=_0x53f654,{id:_0x5cb14a,type:_0x51f192}=_0x432a9f,_0x59a9ce=(_0x1d1ef9=_0x53f654[_0x3522e4(0x305)])!=null?_0x1d1ef9:{'actions':null},_0x349c8d=_0x432a9f[_0x3522e4(0x305)];if(_0x1be597&&_0x1be597!==_0x5cb14a)throw new Error(_0x3522e4(0x455)+_0x1be597+_0x3522e4(0x576)+_0x5cb14a+'.');return{..._0x53f654,'id':_0x5cb14a,'type':_0x51f192,'params':{'unitId':_0x349c8d[_0x3522e4(0x1b3)],'textRanges':_0x349c8d['textRanges'],'actions':_0x19baed[_0x3522e4(0x3a7)]['compose'](_0x59a9ce[_0x3522e4(0x4c3)],_0x349c8d['actions'])}};},{})],_0x8374a9=(_0x50dd69=(_0x240390=_0x300ccb[_0x5b0084(0x192)]())==null?void 0x0:_0x240390['userID'])!=null?_0x50dd69:_0x5b0084(0x2c7),_0x39e345=(_0x1e9576=(_0x4bdd2e=_0x300ccb[_0x5b0084(0x192)]())==null?void 0x0:_0x4bdd2e[_0x5b0084(0x52a)])!=null?_0x1e9576:_0x5b0084(0x2c7);return{'changeset':{'unitID':_0x54eed1,'type':_0x21fd1d['mapDocumentTypeToUniverType'](_0x3f5e60[_0x5b0084(0x2a5)](_0x54eed1)),'baseRev':_0x440e97[_0x5b0084(0x2b9)](_0x54eed1),'revision':0x0,'userID':_0x8374a9,'memberID':_0x39e345,'mutations':_0xa0ad87},'pendingMutations':[]};}const _0x5beb83={'id':_0x360913['EmptyMutation']['id'],'type':_0x19baed[_0x235839(0x1c2)][_0x235839(0x206)],'params':{}};var _0x3aa9e0=Object[_0x235839(0x27f)],_0xd06f30=Object['getOwnPropertyDescriptor'],_0x371eea=(_0x4cb0e8,_0x54bbd5,_0x233c1a,_0x155796)=>{const _0x2dfc15=_0x235839;for(var _0x2b8d9e=_0x155796>0x1?void 0x0:_0x155796?_0xd06f30(_0x54bbd5,_0x233c1a):_0x54bbd5,_0x5d442a=_0x4cb0e8[_0x2dfc15(0x23b)]-0x1,_0x14220b;_0x5d442a>=0x0;_0x5d442a--)(_0x14220b=_0x4cb0e8[_0x5d442a])&&(_0x2b8d9e=(_0x155796?_0x14220b(_0x54bbd5,_0x233c1a,_0x2b8d9e):_0x14220b(_0x2b8d9e))||_0x2b8d9e);return _0x155796&&_0x2b8d9e&&_0x3aa9e0(_0x54bbd5,_0x233c1a,_0x2b8d9e),_0x2b8d9e;},_0x47eade=(_0xb22d3a,_0x22c4d1)=>(_0x30d334,_0x12bdd4)=>_0x22c4d1(_0x30d334,_0x12bdd4,_0xb22d3a),_0x7cfec2=(_0x44f2a3=>(_0x44f2a3['NOT_COLLAB']='not_collab',_0x44f2a3[_0x235839(0x27c)]=_0x235839(0x2ab),_0x44f2a3['PENDING']=_0x235839(0x349),_0x44f2a3[_0x235839(0x30b)]=_0x235839(0x45e),_0x44f2a3[_0x235839(0x3c5)]=_0x235839(0x4d0),_0x44f2a3['FETCH_MISS']='fetch_missing',_0x44f2a3[_0x235839(0x44b)]=_0x235839(0x4bf),_0x44f2a3[_0x235839(0x484)]=_0x235839(0x2bc),_0x44f2a3))(_0x7cfec2||{});class _0x21bc0a{constructor(_0x44b1a0,_0x502890,_0x322ef5,_0x550e2e,_0x5f484e,_0x1f196d,_0x27980f,_0x5db7c8,_0x48bc58){const _0xdd09fc=_0x235839;_0x4ab372(this,_0xdd09fc(0x268),null),_0x4ab372(this,'_pendingMutations',[]),(this[_0xdd09fc(0x1ee)]=_0x44b1a0,this[_0xdd09fc(0x3f3)]=_0x502890,this[_0xdd09fc(0x308)]=_0x5f484e,this[_0xdd09fc(0x1b8)]=_0x1f196d,this[_0xdd09fc(0x353)]=_0x27980f,this[_0xdd09fc(0x454)]=_0x5db7c8,this[_0xdd09fc(0x286)]=_0x48bc58,this[_0xdd09fc(0x268)]=_0x322ef5,this[_0xdd09fc(0x4ed)]=_0x550e2e);}[_0x235839(0x17b)](_0x5dd146){const _0x458327=_0x235839,_0x1d330b=this[_0x458327(0x454)][_0x458327(0x2b9)](this[_0x458327(0x1ee)]);return _0x5dd146[_0x458327(0x3f6)]>_0x1d330b+0x1?(this['_handler']['onMissingChangesets']({'from':_0x1d330b,'to':_0x5dd146['revision']-0x1}),!0x0):!0x1;}[_0x235839(0x44c)](_0x976537){const _0x11d3a1=_0x235839;this['_undoRedoService'][_0x11d3a1(0x471)](this[_0x11d3a1(0x1ee)],_0x976537);}[_0x235839(0x533)](_0x4ba6ca){const _0x51b7f6=_0x235839;var _0x10c378,_0x2d7ef8;(_0x2d7ef8=(_0x10c378=this[_0x51b7f6(0x308)])[_0x51b7f6(0x3c8)])==null||_0x2d7ef8['call'](_0x10c378,_0x4ba6ca);}[_0x235839(0x26f)](_0x4af118){const _0x212511=_0x235839;var _0x5e14e8,_0x4dc6c2;return(_0x4dc6c2=(_0x5e14e8=this[_0x212511(0x308)])[_0x212511(0x298)])==null?void 0x0:_0x4dc6c2['call'](_0x5e14e8,_0x4af118);}['_transformRemoteChangesetByIMECache'](_0x4e7228){const _0x409212=_0x235839;var _0x40e5f5,_0x5b332f,_0x3e0555;return(_0x3e0555=(_0x5b332f=(_0x40e5f5=this[_0x409212(0x308)])[_0x409212(0x459)])==null?void 0x0:_0x5b332f['call'](_0x40e5f5,_0x4e7228))!=null?_0x3e0555:_0x4e7228;}[_0x235839(0x263)](_0x209e39){const _0xbf8ae=_0x235839;var _0x27efb7,_0x4519f9;if(this['type']===_0x4e8930[_0xbf8ae(0x2ad)]){const {unitID:_0x5181a5,mutations:_0x4985ba,memberID:_0x30ed98}=_0x209e39,_0x4c4a3a=_0x4985ba[0x0][_0xbf8ae(0x305)][_0xbf8ae(0x2fe)];Array['isArray'](_0x4c4a3a)&&_0x4c4a3a['length']>0x0&&((_0x4519f9=(_0x27efb7=this[_0xbf8ae(0x308)])['onSyncEditingCollabCursor'])==null||_0x4519f9['call'](_0x27efb7,{'unitID':_0x5181a5,'memberID':_0x30ed98,'textRanges':_0x4c4a3a}));}}[_0x235839(0x391)](){const _0x31731c=_0x235839;this['_localCacheService'][_0x31731c(0x362)](this[_0x31731c(0x1ee)],this['type'],this[_0x31731c(0x268)],this[_0x31731c(0x4ed)]);}[_0x235839(0x47f)](){const _0x3ce4c3=_0x235839;return this[_0x3ce4c3(0x454)]['getCurrentRevOfUnit'](this[_0x3ce4c3(0x1ee)]);}[_0x235839(0x198)](){const _0x5445db=_0x235839;this['_revisionService']['incrementRevOfUnit'](this[_0x5445db(0x1ee)]);}[_0x235839(0x1a7)](_0x340b5e){const _0xd79df7=_0x235839;var _0x29a461;const _0x333db4=this['_transformRemoteChangesetByIMECache'](_0x340b5e),_0x34c58d=_0x19baed[_0xd79df7(0x2d5)](_0x333db4['mutations'],this[_0xd79df7(0x1b8)],{'fromCollab':!0x0});if(!_0x34c58d[_0xd79df7(0x529)])throw _0x34c58d[_0xd79df7(0x244)]instanceof Error?_0x34c58d['error']:new Error((_0x29a461=_0x34c58d[_0xd79df7(0x244)])!=null?_0x29a461:_0xd79df7(0x15b));this['_transformIMECache'](_0x333db4),this['_transformUndoredo'](_0x340b5e),this[_0xd79df7(0x533)](_0x333db4),this['_syncEditingCollabCursor'](_0x333db4),this[_0xd79df7(0x198)]();}}let _0x85b93a=class extends _0x21bc0a{constructor(_0x5c6b4e,_0x379241,_0x23138c,_0x386bf2,_0x5a1129,_0x58df13,_0x484f33,_0x3415c7,_0x18d651,_0x4cb795){const _0x485e20=_0x235839;super(_0x5c6b4e,_0x379241,null,[],_0x23138c,_0x3415c7,_0x484f33,_0x386bf2,_0x5a1129),_0x4ab372(this,_0x485e20(0x2a3),_0x485e20(0x2ab)),(this[_0x485e20(0x2ae)]=_0x58df13,this[_0x485e20(0x449)]=_0x18d651,this[_0x485e20(0x165)]=_0x4cb795);}[_0x235839(0x21f)](_0x366622){const _0x5a6b64=_0x235839,_0x469327=this['_injector'][_0x5a6b64(0x369)](_0x34da52,this[_0x5a6b64(0x1ee)],this[_0x5a6b64(0x3f3)],[_0x366622],this[_0x5a6b64(0x308)]);return _0x469327[_0x5a6b64(0x3cd)](),_0x469327[_0x5a6b64(0x391)](),_0x469327;}['onRemoteChangeset'](_0x40c3bf){const _0x1f1320=_0x235839;if(this[_0x1f1320(0x17b)](_0x40c3bf))return this[_0x1f1320(0x2ae)][_0x1f1320(0x369)](_0xad4d23,this[_0x1f1320(0x1ee)],this[_0x1f1320(0x3f3)],null,[],null,[_0x40c3bf],this[_0x1f1320(0x308)]);try{const _0x2bf6f5=this[_0x1f1320(0x165)][_0x1f1320(0x283)](_0x40c3bf,[_0x5beb83]);if(_0x21fd1d['isTransformMutationsWithChangesetSuccess'](_0x2bf6f5)){const {c1Prime:_0x37335a}=_0x2bf6f5;return this[_0x1f1320(0x1a7)](_0x37335a),this;}throw _0x2bf6f5[_0x1f1320(0x244)];}catch(_0xaa4c2d){return this[_0x1f1320(0x449)][_0x1f1320(0x244)](_0xaa4c2d),this[_0x1f1320(0x522)](!0x1);}}[_0x235839(0x522)](_0x23b9e8){const _0x40dd8b=_0x235839;return this[_0x40dd8b(0x2ae)]['createInstance'](_0x3ee7bd,this[_0x40dd8b(0x1ee)],this['type'],null,[],this[_0x40dd8b(0x308)],_0x23b9e8);}[_0x235839(0x1f1)](){const _0x2d069a=_0x235839;throw new Error(_0x2d069a(0x174));}[_0x235839(0x3b1)](){const _0xb0cb84=_0x235839;throw new Error(_0xb0cb84(0x4fa));}['toggleOffline'](){const _0x4d4dbd=_0x235839;return this[_0x4d4dbd(0x2ae)][_0x4d4dbd(0x369)](_0x1dbe19,this['unitID'],this[_0x4d4dbd(0x3f3)],null,[],this[_0x4d4dbd(0x308)]);}[_0x235839(0x3b5)](){return this;}[_0x235839(0x225)](){const _0x22ed8f=_0x235839;throw new Error(_0x22ed8f(0x3a9));}[_0x235839(0x31c)](){const _0x48ec37=_0x235839,_0x41c400=this[_0x48ec37(0x454)][_0x48ec37(0x2b9)](this[_0x48ec37(0x1ee)]);return this['_handler'][_0x48ec37(0x423)]({'from':_0x41c400,'to':0x0}),this['_injector'][_0x48ec37(0x369)](_0xad4d23,this[_0x48ec37(0x1ee)],this['type'],null,[],null,[],this[_0x48ec37(0x308)]);}};_0x85b93a=_0x371eea([_0x47eade(0x3,_0x19baed[_0x235839(0x431)](_0x21fd1d[_0x235839(0x4c0)])),_0x47eade(0x4,_0x19baed[_0x235839(0x431)](_0x3ad279[_0x235839(0x36b)])),_0x47eade(0x5,_0x19baed['Inject'](_0x19baed[_0x235839(0x41c)])),_0x47eade(0x6,_0x19baed[_0x235839(0x187)]),_0x47eade(0x7,_0x19baed[_0x235839(0x3f4)]),_0x47eade(0x8,_0x19baed[_0x235839(0x311)]),_0x47eade(0x9,_0x21fd1d[_0x235839(0x398)])],_0x85b93a);let _0x34da52=class extends _0x21bc0a{constructor(_0x1ca7a7,_0x1d8a33,_0x1796d3,_0x2ec27e,_0x16c80d,_0x171a88,_0x1761f6,_0x428856,_0x3c2bce,_0x3ee094,_0x34ba35,_0x34c151,_0x3fa8cc,_0x2a7390){const _0x2cc3fa=_0x235839;super(_0x1ca7a7,_0x1d8a33,null,_0x1796d3,_0x2ec27e,_0x3ee094,_0x2a7390,_0x171a88,_0x1761f6),_0x4ab372(this,'status',_0x2cc3fa(0x349)),_0x4ab372(this,'_scheduleTimestamp',null),_0x4ab372(this,_0x2cc3fa(0x1ab),null),(this[_0x2cc3fa(0x2ae)]=_0x16c80d,this[_0x2cc3fa(0x18e)]=_0x428856,this[_0x2cc3fa(0x449)]=_0x3c2bce,this[_0x2cc3fa(0x570)]=_0x34ba35,this[_0x2cc3fa(0x165)]=_0x34c151,this[_0x2cc3fa(0x1ae)]=_0x3fa8cc);}['appendMutation'](_0x3777df){const _0x54b668=_0x235839;return this[_0x54b668(0x4ed)]['push'](_0x3777df),this['_updateLocalCache'](),this;}[_0x235839(0x285)](_0x1a8aed){const _0x3de55b=_0x235839;if(this[_0x3de55b(0x17b)](_0x1a8aed))return this[_0x3de55b(0x4b1)](),this['_injector'][_0x3de55b(0x369)](_0xad4d23,this[_0x3de55b(0x1ee)],this['type'],null,this[_0x3de55b(0x4ed)],null,[_0x1a8aed],this['_handler']);try{const _0x4ab09f=this[_0x3de55b(0x165)]['transformMutationsWithChangeset'](_0x1a8aed,this[_0x3de55b(0x4ed)]);if(_0x21fd1d[_0x3de55b(0x3f1)](_0x4ab09f)){const {c1Prime:_0x579030,m2Prime:_0x1b6f2e}=_0x4ab09f;this['_executeRemoteChangeset'](_0x579030);const _0xb86194=this[_0x3de55b(0x2ae)][_0x3de55b(0x369)](_0x34da52,this[_0x3de55b(0x1ee)],this['type'],_0x1b6f2e,this[_0x3de55b(0x308)]);return this[_0x3de55b(0x4b1)](),_0xb86194[_0x3de55b(0x3cd)](this['_scheduleTimestamp']?Math['max'](0x0,new Date()['getTime']()-this['_scheduleTimestamp']):this[_0x3de55b(0x2f5)]()),_0xb86194;}throw _0x4ab09f[_0x3de55b(0x244)];}catch(_0x3c4279){return this[_0x3de55b(0x449)]['error'](_0x3c4279),this['_onConflict'](!0x1);}}[_0x235839(0x1f1)](){const _0x29900c=_0x235839;throw new Error(_0x29900c(0x57e));}[_0x235839(0x3b1)](){const _0x47bab7=_0x235839;throw new Error(_0x47bab7(0x260));}[_0x235839(0x319)](){const _0x375612=_0x235839;return this['_clearScheduledTask'](),this['_injector'][_0x375612(0x369)](_0x1dbe19,this[_0x375612(0x1ee)],this['type'],null,this[_0x375612(0x4ed)],this[_0x375612(0x308)]);}['toggleOnline'](){return this;}[_0x235839(0x3cd)](_0x429dee){const _0x985eeb=_0x235839,_0x4856ea=_0x429dee!=null?_0x429dee:this[_0x985eeb(0x2f5)]();this['_scheduleTimestamp']=new Date()[_0x985eeb(0x3b6)](),this[_0x985eeb(0x1ab)]=window['setTimeout'](()=>{const _0x401b28=_0x985eeb;this[_0x401b28(0x4b1)]();let _0x12a402=null;switch(this['type']){case _0x4e8930[_0x401b28(0x48e)]:{_0x12a402=_0x217e5d(this[_0x401b28(0x4ed)],this[_0x401b28(0x1ee)],this[_0x401b28(0x1ae)],this[_0x401b28(0x454)],this['_memberService']);break;}case _0x4e8930[_0x401b28(0x2ad)]:{this[_0x401b28(0x4ed)][_0x401b28(0x19d)](_0x12bbdd=>_0x12bbdd['id']===_0x40db1c[_0x401b28(0x3da)]['id'])?_0x12a402=_0x377d23(this[_0x401b28(0x4ed)],this[_0x401b28(0x1ee)],this[_0x401b28(0x1ae)],this[_0x401b28(0x454)],this[_0x401b28(0x18e)]):_0x12a402=_0x217e5d(this[_0x401b28(0x4ed)],this[_0x401b28(0x1ee)],this[_0x401b28(0x1ae)],this[_0x401b28(0x454)],this[_0x401b28(0x18e)]);break;}default:throw new Error(_0x401b28(0x4a2)+this[_0x401b28(0x3f3)]+'\x20in\x20_schedule.');}const {changeset:_0x207b05,pendingMutations:_0x2bab3b}=_0x12a402;this[_0x401b28(0x308)][_0x401b28(0x3d4)](_0x207b05);const _0x2c3b71=_0x2bab3b['length']?this[_0x401b28(0x2ae)][_0x401b28(0x369)](_0x2a4e48,this[_0x401b28(0x1ee)],this[_0x401b28(0x3f3)],_0x207b05,_0x2bab3b,this[_0x401b28(0x308)]):this[_0x401b28(0x2ae)][_0x401b28(0x369)](_0xc87f0a,this[_0x401b28(0x1ee)],this[_0x401b28(0x3f3)],_0x207b05,this[_0x401b28(0x308)]);_0x2c3b71[_0x401b28(0x391)](),this[_0x401b28(0x308)][_0x401b28(0x50c)](this,_0x2c3b71);},_0x4856ea);}[_0x235839(0x2f5)](){const _0xc03a40=_0x235839;var _0x4ff688;const _0x4cdd63=this[_0xc03a40(0x570)][_0xc03a40(0x530)](_0x5d0897);return(_0x4ff688=_0x4cdd63==null?void 0x0:_0x4cdd63['sendChangesetTimeout'])!=null?_0x4ff688:0x7d0;}['resend'](){const _0x415cec=_0x235839;throw new Error(_0x415cec(0x27b));}[_0x235839(0x4b1)](){const _0x202740=_0x235839;this[_0x202740(0x1ab)]!=null&&(clearTimeout(this[_0x202740(0x1ab)]),this[_0x202740(0x1ab)]=null);}[_0x235839(0x522)](_0x582341){const _0x162528=_0x235839;return this[_0x162528(0x4b1)](),this[_0x162528(0x2ae)][_0x162528(0x369)](_0x3ee7bd,this[_0x162528(0x1ee)],this[_0x162528(0x3f3)],null,this[_0x162528(0x4ed)],this[_0x162528(0x308)],_0x582341);}};_0x34da52=_0x371eea([_0x47eade(0x4,_0x19baed[_0x235839(0x431)](_0x19baed[_0x235839(0x41c)])),_0x47eade(0x5,_0x19baed[_0x235839(0x431)](_0x21fd1d[_0x235839(0x4c0)])),_0x47eade(0x6,_0x19baed['Inject'](_0x3ad279['LocalCacheService'])),_0x47eade(0x7,_0x19baed[_0x235839(0x431)](_0x219e5c)),_0x47eade(0x8,_0x19baed[_0x235839(0x311)]),_0x47eade(0x9,_0x19baed[_0x235839(0x3f4)]),_0x47eade(0xa,_0x19baed[_0x235839(0x472)]),_0x47eade(0xb,_0x21fd1d['ITransformService']),_0x47eade(0xc,_0x19baed['IUniverInstanceService']),_0x47eade(0xd,_0x19baed[_0x235839(0x187)])],_0x34da52);let _0xc87f0a=class extends _0x21bc0a{constructor(_0x1114fb,_0xde3a1b,_0x3fd92a,_0x4ee1cf,_0x405420,_0x35d1b5,_0x1c5e8a,_0x5500aa,_0x2600c4,_0x3dfe1b,_0x4ddfc8){const _0x6f100d=_0x235839;super(_0x1114fb,_0xde3a1b,_0x3fd92a,[],_0x4ee1cf,_0x5500aa,_0x4ddfc8,_0x35d1b5,_0x1c5e8a),_0x4ab372(this,_0x6f100d(0x2a3),_0x6f100d(0x45e)),(this['_injector']=_0x405420,this[_0x6f100d(0x449)]=_0x2600c4,this[_0x6f100d(0x165)]=_0x3dfe1b);}[_0x235839(0x21f)](_0x2e5801){const _0x56d6b9=_0x235839,_0x4a4f6f=this[_0x56d6b9(0x2ae)][_0x56d6b9(0x369)](_0x2a4e48,this[_0x56d6b9(0x1ee)],this[_0x56d6b9(0x3f3)],this[_0x56d6b9(0x268)],[_0x2e5801],this[_0x56d6b9(0x308)]);return _0x4a4f6f['_updateLocalCache'](),_0x4a4f6f;}[_0x235839(0x285)](_0x491e5c){const _0x4c6c04=_0x235839;if(this[_0x4c6c04(0x17b)](_0x491e5c))return this[_0x4c6c04(0x2ae)][_0x4c6c04(0x369)](_0xad4d23,this[_0x4c6c04(0x1ee)],this[_0x4c6c04(0x3f3)],this['_awaitingChangeset'],[],null,[_0x491e5c],this['_handler']);try{const _0x30bd1f=this['_transformService'][_0x4c6c04(0x292)]([_0x491e5c],[this[_0x4c6c04(0x268)]],!0x1);if(_0x21fd1d[_0x4c6c04(0x3a4)](_0x30bd1f)){const {c1Prime:_0x727492,c2Prime:_0x547a6a}=_0x30bd1f;this['_executeRemoteChangeset'](_0x727492[0x0]),_0x547a6a[0x0][_0x4c6c04(0x1f6)]=this['_getCurrentRevision']();const _0x39b663=this[_0x4c6c04(0x2ae)][_0x4c6c04(0x369)](_0xc87f0a,this[_0x4c6c04(0x1ee)],this[_0x4c6c04(0x3f3)],_0x547a6a[0x0],this[_0x4c6c04(0x308)]);return _0x39b663['_updateLocalCache'](),_0x39b663;}return this[_0x4c6c04(0x522)](!0x1);}catch(_0x41ccd2){return this[_0x4c6c04(0x449)][_0x4c6c04(0x244)](_0x41ccd2),this['_onConflict'](!0x1);}}['onRemoteAck'](_0xa5ee00){const _0x36d156=_0x235839,_0x324cab=this[_0x36d156(0x454)][_0x36d156(0x2b9)](this['unitID']);if(_0xa5ee00[_0x36d156(0x3f6)]<_0x324cab-0x1)return this;if(this['_checkMissing'](_0xa5ee00))return this['_injector'][_0x36d156(0x369)](_0xad4d23,this[_0x36d156(0x1ee)],this[_0x36d156(0x3f3)],null,[],this[_0x36d156(0x268)],[],this[_0x36d156(0x308)]);this['_incrementRevisionNumber']();const _0x2c09cc=this['_injector'][_0x36d156(0x369)](_0x85b93a,this[_0x36d156(0x1ee)],this[_0x36d156(0x3f3)],this[_0x36d156(0x308)]);return _0x2c09cc[_0x36d156(0x391)](),_0x2c09cc;}[_0x235839(0x3b1)](_0x402a29){const _0x5efef8=_0x235839;return this[_0x5efef8(0x522)](!!(_0x402a29!=null&&_0x402a29[_0x5efef8(0x3f9)]));}[_0x235839(0x319)](){const _0x534325=_0x235839;return this[_0x534325(0x2ae)]['createInstance'](_0x1dbe19,this[_0x534325(0x1ee)],this[_0x534325(0x3f3)],this[_0x534325(0x268)],[],this['_handler']);}[_0x235839(0x3b5)](){return this;}[_0x235839(0x225)](){const _0x368c5b=_0x235839;this[_0x368c5b(0x308)]['onSendChangeset'](this[_0x368c5b(0x268)]);}['_onConflict'](_0x18ff38){const _0xcf6e76=_0x235839;return this['_injector']['createInstance'](_0x3ee7bd,this[_0xcf6e76(0x1ee)],this[_0xcf6e76(0x3f3)],this['_awaitingChangeset'],[],this[_0xcf6e76(0x308)],_0x18ff38);}};_0xc87f0a=_0x371eea([_0x47eade(0x4,_0x19baed[_0x235839(0x431)](_0x19baed[_0x235839(0x41c)])),_0x47eade(0x5,_0x19baed[_0x235839(0x431)](_0x21fd1d[_0x235839(0x4c0)])),_0x47eade(0x6,_0x19baed[_0x235839(0x431)](_0x3ad279['LocalCacheService'])),_0x47eade(0x7,_0x19baed[_0x235839(0x3f4)]),_0x47eade(0x8,_0x19baed[_0x235839(0x311)]),_0x47eade(0x9,_0x21fd1d[_0x235839(0x398)]),_0x47eade(0xa,_0x19baed[_0x235839(0x187)])],_0xc87f0a);let _0x2a4e48=class extends _0x21bc0a{constructor(_0x5eea9a,_0x14b8b6,_0x24ba69,_0x3b24f1,_0x2baf3b,_0x3fa97f,_0x1a968c,_0x5a81ec,_0x39f369,_0x377f5b,_0x583df9,_0x28e3e0){const _0x2d3807=_0x235839;super(_0x5eea9a,_0x14b8b6,_0x24ba69,_0x3b24f1,_0x2baf3b,_0x39f369,_0x28e3e0,_0x1a968c,_0x5a81ec),_0x4ab372(this,_0x2d3807(0x2a3),_0x2d3807(0x4d0)),(this['_injector']=_0x3fa97f,this['_logService']=_0x377f5b,this['_transformService']=_0x583df9);}[_0x235839(0x21f)](_0x5a75e3){const _0x4fb42d=_0x235839;return this[_0x4fb42d(0x4ed)][_0x4fb42d(0x4e1)](_0x5a75e3),this;}[_0x235839(0x285)](_0x7a033){const _0x29bc87=_0x235839;if(this['_checkMissing'](_0x7a033))return this[_0x29bc87(0x2ae)]['createInstance'](_0xad4d23,this[_0x29bc87(0x1ee)],this[_0x29bc87(0x3f3)],this[_0x29bc87(0x268)],this[_0x29bc87(0x4ed)],null,[_0x7a033],this[_0x29bc87(0x308)]);try{const _0x121122=this[_0x29bc87(0x165)][_0x29bc87(0x292)]([_0x7a033],[this[_0x29bc87(0x268)]],!0x1);if(_0x21fd1d[_0x29bc87(0x3a4)](_0x121122)){const {c1Prime:_0x5e0141,c2Prime:_0x22d2ef}=_0x121122,_0x1a4f91=this['_transformService'][_0x29bc87(0x283)](_0x5e0141[0x0],this[_0x29bc87(0x4ed)]);if(_0x21fd1d[_0x29bc87(0x3f1)](_0x1a4f91)){const {c1Prime:_0x286ff2,m2Prime:_0x304692}=_0x1a4f91;return this[_0x29bc87(0x1a7)](_0x286ff2),_0x22d2ef[0x0][_0x29bc87(0x1f6)]=this[_0x29bc87(0x47f)](),this[_0x29bc87(0x2ae)][_0x29bc87(0x369)](_0x2a4e48,this[_0x29bc87(0x1ee)],this[_0x29bc87(0x3f3)],_0x22d2ef[0x0],_0x304692,this[_0x29bc87(0x308)]);}throw _0x1a4f91[_0x29bc87(0x244)];}throw _0x121122[_0x29bc87(0x244)];}catch(_0x55fcd2){return this[_0x29bc87(0x449)][_0x29bc87(0x244)](_0x55fcd2),this[_0x29bc87(0x522)](!0x1);}}[_0x235839(0x1f1)](_0x3a3985){const _0x143105=_0x235839;if(this['_checkMissing'](_0x3a3985))return this[_0x143105(0x2ae)]['createInstance'](_0xad4d23,this['unitID'],this[_0x143105(0x3f3)],null,this['_pendingMutations'],this[_0x143105(0x268)],[],this[_0x143105(0x308)]);this[_0x143105(0x198)]();const _0x42e07f=this[_0x143105(0x2ae)][_0x143105(0x369)](_0x34da52,this[_0x143105(0x1ee)],this['type'],this['_pendingMutations'],this[_0x143105(0x308)]);return _0x42e07f[_0x143105(0x3cd)](),_0x42e07f[_0x143105(0x391)](),_0x42e07f;}[_0x235839(0x3b1)](_0x52728f){const _0x33e8a1=_0x235839;return this[_0x33e8a1(0x522)](!!(_0x52728f!=null&&_0x52728f['isPermissionRej']));}['toggleOffline'](){const _0x67467e=_0x235839;return this['_injector'][_0x67467e(0x369)](_0x1dbe19,this[_0x67467e(0x1ee)],this[_0x67467e(0x3f3)],this['_awaitingChangeset'],this[_0x67467e(0x4ed)],this[_0x67467e(0x308)]);}[_0x235839(0x3b5)](){return this;}[_0x235839(0x225)](){const _0x59c4a3=_0x235839;this[_0x59c4a3(0x308)][_0x59c4a3(0x3d4)](this[_0x59c4a3(0x268)]);}[_0x235839(0x522)](_0x17df90){const _0x81feb7=_0x235839;return this[_0x81feb7(0x2ae)]['createInstance'](_0x3ee7bd,this['unitID'],this[_0x81feb7(0x3f3)],null,this[_0x81feb7(0x4ed)],this[_0x81feb7(0x308)],_0x17df90);}};_0x2a4e48=_0x371eea([_0x47eade(0x5,_0x19baed[_0x235839(0x431)](_0x19baed[_0x235839(0x41c)])),_0x47eade(0x6,_0x19baed['Inject'](_0x21fd1d['RevisionService'])),_0x47eade(0x7,_0x19baed[_0x235839(0x431)](_0x3ad279[_0x235839(0x36b)])),_0x47eade(0x8,_0x19baed[_0x235839(0x3f4)]),_0x47eade(0x9,_0x19baed['ILogService']),_0x47eade(0xa,_0x21fd1d[_0x235839(0x398)]),_0x47eade(0xb,_0x19baed['IUndoRedoService'])],_0x2a4e48);let _0x3ee7bd=class extends _0x21bc0a{constructor(_0x1ca0dd,_0x1c2516,_0x1b1d92,_0x431038,_0x5a8e3f,_0x1f852f=!0x1,_0x8737db,_0x326c3c,_0x5f112e,_0x2aaa3f,_0x593727,_0x254535,_0x2460b9){const _0x47dc5c=_0x235839;super(_0x1ca0dd,_0x1c2516,_0x1b1d92,_0x431038,_0x5a8e3f,_0x326c3c,_0x5f112e,_0x593727,_0x2aaa3f),_0x4ab372(this,_0x47dc5c(0x2a3),_0x47dc5c(0x4bf)),(this[_0x47dc5c(0x3ee)]=_0x1f852f,this[_0x47dc5c(0x2c4)]=_0x8737db,this[_0x47dc5c(0x2b2)]=_0x254535,this[_0x47dc5c(0x25f)]=_0x2460b9,this[_0x47dc5c(0x24f)](),this[_0x47dc5c(0x1f3)](),this[_0x47dc5c(0x386)]());}[_0x235839(0x21f)](){return this;}['onRemoteChangeset'](){return this;}[_0x235839(0x1f1)](){return this;}[_0x235839(0x3b1)](){return this;}[_0x235839(0x319)](){return this;}[_0x235839(0x3b5)](){return this;}[_0x235839(0x225)](){const _0x4bac80=_0x235839;throw new Error(_0x4bac80(0x384));}['_clearLocalCache'](){const _0x4a31c0=_0x235839;this[_0x4a31c0(0x286)][_0x4a31c0(0x362)](this['unitID'],this[_0x4a31c0(0x3f3)],null,[]);}['_showConflictNotification'](){const _0x56d27d=_0x235839;this[_0x56d27d(0x3ee)]?this['_notificationService'][_0x56d27d(0x1ed)]({'title':this[_0x56d27d(0x2b2)]['t']('permission.title'),'content':this[_0x56d27d(0x2b2)]['t'](_0x56d27d(0x4cb)),'type':_0x56d27d(0x244),'duration':0x0}):this[_0x56d27d(0x25f)][_0x56d27d(0x1ed)]({'title':this[_0x56d27d(0x2b2)]['t'](_0x56d27d(0x44f)),'content':this[_0x56d27d(0x2b2)]['t'](_0x56d27d(0x458)),'type':'error','duration':0x0});}[_0x235839(0x386)](){const _0x24ab05=_0x235839;this[_0x24ab05(0x2c4)]['updatePermissionPoint'](new _0x360913[(_0x24ab05(0x43f))](this[_0x24ab05(0x1ee)])['id'],!0x1);}};_0x3ee7bd=_0x371eea([_0x47eade(0x6,_0x19baed[_0x235839(0x431)](_0x19baed[_0x235839(0x40c)])),_0x47eade(0x7,_0x19baed[_0x235839(0x3f4)]),_0x47eade(0x8,_0x19baed[_0x235839(0x187)]),_0x47eade(0x9,_0x19baed[_0x235839(0x431)](_0x3ad279['LocalCacheService'])),_0x47eade(0xa,_0x19baed[_0x235839(0x431)](_0x21fd1d[_0x235839(0x4c0)])),_0x47eade(0xb,_0x19baed[_0x235839(0x431)](_0x19baed[_0x235839(0x3fc)])),_0x47eade(0xc,_0x6ef540['INotificationService'])],_0x3ee7bd);let _0x1dbe19=class extends _0x21bc0a{constructor(_0xeb3249,_0x29e43f,_0x5083bc,_0x2623ed,_0x3d5ca0,_0x2d4736,_0x532825,_0x4aafca,_0x409453,_0xb634b3){const _0x1a17b3=_0x235839;super(_0xeb3249,_0x29e43f,_0x5083bc,_0x2623ed,_0x3d5ca0,_0x409453,_0xb634b3,_0x532825,_0x4aafca),_0x4ab372(this,_0x1a17b3(0x2a3),_0x1a17b3(0x2bc)),this[_0x1a17b3(0x2ae)]=_0x2d4736;}['appendMutation'](_0xb9fd17){const _0x3a8e3d=_0x235839;return this[_0x3a8e3d(0x4ed)][_0x3a8e3d(0x4e1)](_0xb9fd17),this[_0x3a8e3d(0x391)](),this;}[_0x235839(0x285)](_0x242e7d){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){const _0x2353ef=_0x235839;throw new Error(_0x2353ef(0x293));}[_0x235839(0x3b1)](){const _0x45b4c9=_0x235839;throw new Error(_0x45b4c9(0x481));}[_0x235839(0x319)](){return this;}[_0x235839(0x3b5)](){const {_injector:_0x5bcef5,_pendingMutations:_0x40769e,_awaitingChangeset:_0x5ba3bf,unitID:_0x556206,_handler:_0x2b460f,type:_0xfd8eca}=this,_0x2917e5=_0x4ec5b2(_0x5bcef5,_0x556206,_0xfd8eca,_0x5ba3bf,_0x40769e,_0x2b460f);return _0x2917e5 instanceof _0x34da52?_0x2917e5['_schedule']():(_0x2917e5 instanceof _0x2a4e48||_0x2917e5 instanceof _0xc87f0a)&&_0x2917e5['resend'](),_0x2917e5;}[_0x235839(0x225)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};_0x1dbe19=_0x371eea([_0x47eade(0x5,_0x19baed['Inject'](_0x19baed[_0x235839(0x41c)])),_0x47eade(0x6,_0x19baed[_0x235839(0x431)](_0x21fd1d[_0x235839(0x4c0)])),_0x47eade(0x7,_0x19baed[_0x235839(0x431)](_0x3ad279[_0x235839(0x36b)])),_0x47eade(0x8,_0x19baed[_0x235839(0x3f4)]),_0x47eade(0x9,_0x19baed[_0x235839(0x187)])],_0x1dbe19);let _0xad4d23=class extends _0x21bc0a{constructor(_0x4f1096,_0x200028,_0x280767,_0xfbbcfb,_0x5edc83,_0x3db0bc,_0x461641,_0x1bb511,_0x3eb7c9,_0x474951,_0x19398f,_0x1089f8,_0x14bf1b,_0x808104){const _0x142b4a=_0x235839;super(_0x4f1096,_0x200028,_0x280767,_0xfbbcfb,_0x461641,_0x1089f8,_0x14bf1b,_0x3eb7c9,_0x474951),_0x4ab372(this,_0x142b4a(0x2a3),_0x142b4a(0x184)),(this[_0x142b4a(0x229)]=_0x5edc83,this['_queuedRemoteChangesets']=_0x3db0bc,this[_0x142b4a(0x2ae)]=_0x1bb511,this[_0x142b4a(0x449)]=_0x19398f,this['_transformService']=_0x808104);}[_0x235839(0x53a)](_0x11a6ab){const _0x23dd1f=_0x235839;try{const _0x3dbaa9=[..._0x11a6ab,...this[_0x23dd1f(0x241)]],_0x2b6c05=[this[_0x23dd1f(0x268)]||this[_0x23dd1f(0x229)]]['filter'](_0x296dc1=>!!_0x296dc1);let _0x346799,_0x21b4ce;if(_0x2b6c05['length']){const _0x9e7b7b=this[_0x23dd1f(0x165)][_0x23dd1f(0x292)](_0x3dbaa9,_0x2b6c05,!0x1);if(!_0x21fd1d[_0x23dd1f(0x3a4)](_0x9e7b7b))throw _0x9e7b7b[_0x23dd1f(0x244)];_0x346799=_0x9e7b7b[_0x23dd1f(0x39f)],_0x21b4ce=_0x9e7b7b[_0x23dd1f(0x2e9)];}else _0x346799=_0x3dbaa9,_0x21b4ce=[];let _0xa3653f=this['_pendingMutations'];_0x346799['forEach'](_0x1e76b8=>{const _0x27c478=_0x23dd1f;let _0x2e0b32;if(_0xa3653f[_0x27c478(0x23b)]){const _0x26f24d=this[_0x27c478(0x165)][_0x27c478(0x283)](_0x1e76b8,_0xa3653f);if(!_0x21fd1d['isTransformMutationsWithChangesetSuccess'](_0x26f24d))throw _0x26f24d[_0x27c478(0x244)];_0x2e0b32=_0x26f24d[_0x27c478(0x39f)],_0xa3653f=_0x26f24d[_0x27c478(0x549)];}else _0x2e0b32=_0x1e76b8;this[_0x27c478(0x1a7)](_0x2e0b32);}),this[_0x23dd1f(0x229)]&&this[_0x23dd1f(0x198)](),this[_0x23dd1f(0x268)]&&_0x21b4ce[_0x23dd1f(0x23b)]&&(_0x21b4ce[0x0][_0x23dd1f(0x1f6)]=this[_0x23dd1f(0x47f)]());let _0x4a4acc;if(this[_0x23dd1f(0x268)]&&_0xa3653f[_0x23dd1f(0x23b)]!==0x0)_0x4a4acc=this[_0x23dd1f(0x2ae)][_0x23dd1f(0x369)](_0x2a4e48,this[_0x23dd1f(0x1ee)],this[_0x23dd1f(0x3f3)],_0x21b4ce[0x0],_0xa3653f,this[_0x23dd1f(0x308)]);else{if(this[_0x23dd1f(0x268)]&&_0xa3653f[_0x23dd1f(0x23b)]===0x0)_0x21b4ce[0x0][_0x23dd1f(0x1f6)]=this[_0x23dd1f(0x47f)](),_0x4a4acc=this['_injector']['createInstance'](_0xc87f0a,this[_0x23dd1f(0x1ee)],this[_0x23dd1f(0x3f3)],_0x21b4ce[0x0],this[_0x23dd1f(0x308)]);else{if(_0xa3653f[_0x23dd1f(0x23b)]!==0x0){const _0x903ee3=this[_0x23dd1f(0x2ae)][_0x23dd1f(0x369)](_0x34da52,this[_0x23dd1f(0x1ee)],this['type'],_0xa3653f,this[_0x23dd1f(0x308)]);_0x903ee3[_0x23dd1f(0x3cd)](),_0x4a4acc=_0x903ee3;}else _0x4a4acc=this[_0x23dd1f(0x2ae)][_0x23dd1f(0x369)](_0x85b93a,this[_0x23dd1f(0x1ee)],this[_0x23dd1f(0x3f3)],this['_handler']);}}return _0x4a4acc[_0x23dd1f(0x391)](),_0x4a4acc;}catch(_0x5e32aa){return this[_0x23dd1f(0x449)][_0x23dd1f(0x244)](_0x23dd1f(0x374),_0x23dd1f(0x4f7),_0x5e32aa),this[_0x23dd1f(0x2ae)][_0x23dd1f(0x369)](_0x3ee7bd,this[_0x23dd1f(0x1ee)],this['type'],this[_0x23dd1f(0x268)],this[_0x23dd1f(0x4ed)],this[_0x23dd1f(0x308)],!0x1);}}['resend'](){const _0x33f426=_0x235839;throw new Error(_0x33f426(0x2f1));}[_0x235839(0x21f)](_0x1f19f5){const _0x6d55e7=_0x235839;return this[_0x6d55e7(0x4ed)][_0x6d55e7(0x4e1)](_0x1f19f5),this;}[_0x235839(0x285)](_0x29b05f){const _0x3894b9=_0x235839;return this[_0x3894b9(0x241)][_0x3894b9(0x4e1)](_0x29b05f),this;}['onRemoteAck'](_0x3d67ff){const _0x28a3c3=_0x235839;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this[_0x28a3c3(0x268)]=null,this;throw new Error(_0x28a3c3(0x498));}[_0x235839(0x3b1)](_0x347ab9){const _0xc822a2=_0x235839;return this[_0xc822a2(0x522)](!!(_0x347ab9!=null&&_0x347ab9[_0xc822a2(0x3f9)]));}[_0x235839(0x319)](){const _0x3d6964=_0x235839;return this[_0x3d6964(0x2ae)]['createInstance'](_0x1dbe19,this['unitID'],this[_0x3d6964(0x3f3)],this[_0x3d6964(0x268)],this[_0x3d6964(0x4ed)],this[_0x3d6964(0x308)]);}[_0x235839(0x3b5)](){return this;}[_0x235839(0x522)](_0xc6abee){const _0x55a2dd=_0x235839;return this[_0x55a2dd(0x2ae)]['createInstance'](_0x3ee7bd,this[_0x55a2dd(0x1ee)],this[_0x55a2dd(0x3f3)],this[_0x55a2dd(0x268)],this[_0x55a2dd(0x4ed)],this[_0x55a2dd(0x308)],_0xc6abee);}};_0xad4d23=_0x371eea([_0x47eade(0x7,_0x19baed[_0x235839(0x431)](_0x19baed[_0x235839(0x41c)])),_0x47eade(0x8,_0x19baed[_0x235839(0x431)](_0x21fd1d[_0x235839(0x4c0)])),_0x47eade(0x9,_0x19baed[_0x235839(0x431)](_0x3ad279['LocalCacheService'])),_0x47eade(0xa,_0x19baed[_0x235839(0x311)]),_0x47eade(0xb,_0x19baed[_0x235839(0x3f4)]),_0x47eade(0xc,_0x19baed[_0x235839(0x187)]),_0x47eade(0xd,_0x21fd1d[_0x235839(0x398)])],_0xad4d23);function _0x4ec5b2(_0x36cfd8,_0x54c43d,_0x4941e2,_0x47b8bd,_0xf98c20,_0x2bdfc3){const _0x2194f3=_0x235839;return _0x47b8bd&&_0xf98c20[_0x2194f3(0x23b)]?_0x36cfd8[_0x2194f3(0x369)](_0x2a4e48,_0x54c43d,_0x4941e2,_0x47b8bd,_0xf98c20,_0x2bdfc3):_0x47b8bd?_0x36cfd8[_0x2194f3(0x369)](_0xc87f0a,_0x54c43d,_0x4941e2,_0x47b8bd,_0x2bdfc3):_0xf98c20[_0x2194f3(0x23b)]?_0x36cfd8['createInstance'](_0x34da52,_0x54c43d,_0x4941e2,_0xf98c20,_0x2bdfc3):_0x36cfd8['createInstance'](_0x85b93a,_0x54c43d,_0x4941e2,_0x2bdfc3);}var _0xa4fd53=Object[_0x235839(0x27f)],_0x462cc0=Object[_0x235839(0x2ee)],_0xd3beb7=(_0x3dce5f,_0x4a3c2e,_0x5bf9d6,_0x59b952)=>{for(var _0x1d3978=_0x59b952>0x1?void 0x0:_0x59b952?_0x462cc0(_0x4a3c2e,_0x5bf9d6):_0x4a3c2e,_0x50985f=_0x3dce5f['length']-0x1,_0x236ba6;_0x50985f>=0x0;_0x50985f--)(_0x236ba6=_0x3dce5f[_0x50985f])&&(_0x1d3978=(_0x59b952?_0x236ba6(_0x4a3c2e,_0x5bf9d6,_0x1d3978):_0x236ba6(_0x1d3978))||_0x1d3978);return _0x59b952&&_0x1d3978&&_0xa4fd53(_0x4a3c2e,_0x5bf9d6,_0x1d3978),_0x1d3978;},_0x3b850c=(_0x298327,_0x1de501)=>(_0x2ba606,_0x36e781)=>_0x1de501(_0x2ba606,_0x36e781,_0x298327);_0x3ad279['CollaborationEntity']=class extends _0x19baed[_0x235839(0x35e)]{constructor(_0x313560,_0x3a4c8a,_0x627e7c,_0x30ccf9,_0x56a2df,_0x18f076,_0x5f0219,_0x4d1b5a,_0x1ef03e,_0x58f3c4,_0x154cf1,_0x46933a,_0x119686){const _0x59706b=_0x235839;super(),_0x4ab372(this,_0x59706b(0x571),new _0x5a8f79[(_0x59706b(0x19f))](null)),_0x4ab372(this,'state$',this[_0x59706b(0x571)]['asObservable']()),_0x4ab372(this,_0x59706b(0x3e8)),_0x4ab372(this,_0x59706b(0x47c),!0x1),_0x4ab372(this,_0x59706b(0x164),''),_0x4ab372(this,_0x59706b(0x3d9),0x0),_0x4ab372(this,_0x59706b(0x45f),this[_0x59706b(0x3a3)][_0x59706b(0x53f)](_0x5a8f79[_0x59706b(0x3fa)](_0x1a64c4=>_0x1a64c4?_0x1a64c4[_0x59706b(0x2a3)]:_0x7cfec2[_0x59706b(0x484)]),_0x5a8f79['shareReplay'](0x1))),_0x4ab372(this,_0x59706b(0x2e4),!0x1),_0x4ab372(this,_0x59706b(0x324),[]),(this[_0x59706b(0x1ee)]=_0x313560,this['session']=_0x3a4c8a,this[_0x59706b(0x4fc)]=_0x627e7c,this['_injector']=_0x30ccf9,this[_0x59706b(0x286)]=_0x56a2df,this[_0x59706b(0x486)]=_0x18f076,this[_0x59706b(0x2b2)]=_0x5f0219,this[_0x59706b(0x454)]=_0x4d1b5a,this['_logService']=_0x1ef03e,this[_0x59706b(0x1b8)]=_0x58f3c4,this[_0x59706b(0x30f)]=_0x154cf1,this[_0x59706b(0x2c4)]=_0x46933a,this['_singleActiveUnitService']=_0x119686);}get['state'](){const _0x2aaff5=_0x235839;return this[_0x2aaff5(0x3e8)];}async[_0x235839(0x4ac)](){const _0x2b867f=_0x235839;if(this[_0x2b867f(0x1fb)])throw new Error(_0x2b867f(0x584));await this[_0x2b867f(0x3e3)]();}['pauseCollaboration'](){return this['_collaborationPaused']=!0x0,_0x19baed['toDisposable'](()=>{const _0xb239c8=_0x16a9;this[_0xb239c8(0x47c)]=!0x1,this[_0xb239c8(0x2ff)]();});}['_updateState'](_0x9f97d7){const _0x127e63=_0x235839;this['_state']=_0x9f97d7,this[_0x127e63(0x571)][_0x127e63(0x31f)](_0x9f97d7);}async['_init'](){const _0x434e5f=_0x235839;var _0x5479bf;this[_0x434e5f(0x248)](await this[_0x434e5f(0x559)]()),this[_0x434e5f(0x3ca)]&&((_0x5479bf=this[_0x434e5f(0x3ca)])==null||_0x5479bf[_0x434e5f(0x27d)](this['unitID']),this[_0x434e5f(0x4e4)](this['_singleActiveUnitService'][_0x434e5f(0x223)](this[_0x434e5f(0x1ee)])[_0x434e5f(0x36a)](_0x2f6dd6=>{const _0x2c2619=_0x434e5f;this[_0x2c2619(0x449)][_0x2c2619(0x2ac)](_0x2c2619(0x2dc),_0x2c2619(0x153),_0x2f6dd6),_0x2f6dd6===_0x205b04[_0x2c2619(0x568)]?(this['_messageService'][_0x2c2619(0x1ed)]({'content':this['_localeService']['t'](_0x2c2619(0x1b5)),'type':_0x101c11[_0x2c2619(0x34b)][_0x2c2619(0x552)]}),this['_permissionService'][_0x2c2619(0x3dc)](new _0x360913[(_0x2c2619(0x43f))](this[_0x2c2619(0x1ee)])['id'],!0x1)):this[_0x2c2619(0x2c4)][_0x2c2619(0x3dc)](new _0x360913['WorkbookEditablePermission'](this[_0x2c2619(0x1ee)])['id'],!0x0);})));let _0x3b0d7a=!0x1;return this[_0x434e5f(0x4e4)](this[_0x434e5f(0x371)][_0x434e5f(0x57b)]['subscribe'](_0x1e87dc=>{const _0x18e42b=_0x434e5f;_0x1e87dc===_0x417e84[_0x18e42b(0x580)]?this[_0x18e42b(0x54c)](_0x3b0d7a):_0x1e87dc===_0x417e84[_0x18e42b(0x484)]&&(_0x3b0d7a=!0x0,this[_0x18e42b(0x1cd)]());})),this[_0x434e5f(0x4e4)](this[_0x434e5f(0x371)]['event$'][_0x434e5f(0x36a)](_0x27f196=>{const _0xb905a2=_0x434e5f;try{switch(_0x27f196[_0xb905a2(0x3b2)]){case _0x21fd1d['CollaborationEvent'][_0xb905a2(0x2a9)]:{this[_0xb905a2(0x2b5)](_0x21fd1d[_0xb905a2(0x17d)](_0x27f196[_0xb905a2(0x376)]));break;}case _0x21fd1d[_0xb905a2(0x207)][_0xb905a2(0x565)]:{this[_0xb905a2(0x267)](_0x27f196[_0xb905a2(0x376)]);break;}case _0x21fd1d[_0xb905a2(0x207)][_0xb905a2(0x383)]:{this[_0xb905a2(0x3ea)]();break;}case _0x21fd1d['CollaborationEvent'][_0xb905a2(0x460)]:{this[_0xb905a2(0x2ce)](_0x27f196[_0xb905a2(0x376)][_0xb905a2(0x527)][_0xb905a2(0x3fa)](_0x4cbd49=>_0x21fd1d[_0xb905a2(0x17d)](_0x4cbd49)));break;}case _0x21fd1d['CollaborationEvent']['PERMISSION_REJ']:this[_0xb905a2(0x3ea)]({'isPermissionRej':!0x0});}}catch(_0x5a0d27){throw console[_0xb905a2(0x244)](_0xb905a2(0x4c7),_0x5a0d27),_0x5a0d27;}})),this[_0x434e5f(0x3e8)];}[_0x235839(0x3ae)](){const _0x133fc9=_0x235839;this[_0x133fc9(0x2e4)]=!0x1;}[_0x235839(0x557)](){const _0x5f508c=_0x235839;if(this[_0x5f508c(0x2e4)])throw new Error(_0x5f508c(0x448));this[_0x5f508c(0x2e4)]=!0x0;}[_0x235839(0x24d)](_0x53751f){const _0x3ab16f=_0x235839;this['_lockTransition'](),this[_0x3ab16f(0x248)](this[_0x3ab16f(0x3e8)][_0x3ab16f(0x21f)](_0x53751f)),this['_unlockTransition']();}[_0x235839(0x2b5)](_0x2e6c07){const _0x5e761c=_0x235839;if(!(_0x2e6c07[_0x5e761c(0x3f6)]<=this[_0x5e761c(0x454)][_0x5e761c(0x2b9)](this[_0x5e761c(0x1ee)]))){if(this[_0x5e761c(0x47c)]){this[_0x5e761c(0x324)][_0x5e761c(0x4e1)](_0x2e6c07);return;}this[_0x5e761c(0x2d3)](_0x2e6c07);}}[_0x235839(0x2ff)](){const _0x3cd1a0=_0x235839;this['_remoteChangesetQueue'][_0x3cd1a0(0x2a6)](_0x572f01=>this[_0x3cd1a0(0x2d3)](_0x572f01)),this[_0x3cd1a0(0x324)]=[];}[_0x235839(0x2d3)](_0x16fade){const _0x282a03=_0x235839,_0x559ca6=this['_compressMutationService'][_0x282a03(0x57a)][_0x282a03(0x4a0)](this[_0x282a03(0x486)][_0x282a03(0x57a)][_0x282a03(0x49d)]()[_0x282a03(0x3be)])(_0x16fade['mutations'],null)||_0x16fade[_0x282a03(0x2c5)],_0x42c2fa={..._0x16fade,'mutations':_0x559ca6};this[_0x282a03(0x557)](),this['_updateState'](this['_state'][_0x282a03(0x285)](_0x42c2fa)),this['_unlockTransition']();}[_0x235839(0x267)](_0x5483c3){const _0x40d6ea=_0x235839;this['_lockTransition'](),this[_0x40d6ea(0x248)](this[_0x40d6ea(0x3e8)][_0x40d6ea(0x1f1)](_0x5483c3)),this[_0x40d6ea(0x3ae)]();}[_0x235839(0x3ea)](_0x2c58e1){const _0x58cd9b=_0x235839;this[_0x58cd9b(0x557)](),this[_0x58cd9b(0x248)](this[_0x58cd9b(0x3e8)][_0x58cd9b(0x3b1)](_0x2c58e1)),this[_0x58cd9b(0x3ae)]();}[_0x235839(0x2ce)](_0x66f554){const _0x557152=_0x235839;if(!(this['_state']instanceof _0xad4d23))throw new TypeError(_0x557152(0x29f));const _0x395dc5=_0x66f554[_0x557152(0x3fa)](_0x39f953=>{const _0x2fd7c7=_0x557152,_0x917138=this[_0x2fd7c7(0x486)][_0x2fd7c7(0x57a)][_0x2fd7c7(0x4a0)](this[_0x2fd7c7(0x486)][_0x2fd7c7(0x57a)][_0x2fd7c7(0x49d)]()[_0x2fd7c7(0x3be)])(_0x39f953[_0x2fd7c7(0x2c5)],null)||_0x39f953[_0x2fd7c7(0x2c5)];return{..._0x39f953,'mutations':_0x917138};});this[_0x557152(0x557)](),this[_0x557152(0x248)](this[_0x557152(0x3e8)][_0x557152(0x53a)](_0x395dc5)),this[_0x557152(0x3ae)]();}['_toggleOffline'](){const _0x4bbe6a=_0x235839;this[_0x4bbe6a(0x557)](),this['_updateState'](this[_0x4bbe6a(0x3e8)][_0x4bbe6a(0x319)]()),this[_0x4bbe6a(0x3ae)]();}[_0x235839(0x54c)](_0x155a6f=!0x1){const _0x10c023=_0x235839;this[_0x10c023(0x557)](),this[_0x10c023(0x248)](this[_0x10c023(0x3e8)][_0x10c023(0x3b5)]()),this[_0x10c023(0x3ae)]();const _0x299faa=this['_state'];_0x155a6f&&_0x299faa instanceof _0x85b93a&&(this[_0x10c023(0x557)](),this[_0x10c023(0x248)](_0x299faa[_0x10c023(0x31c)]()),this[_0x10c023(0x3ae)]());}async[_0x235839(0x559)](){return new Promise(_0x7a5da9=>{const _0x5103fe=_0x16a9;this[_0x5103fe(0x371)][_0x5103fe(0x57b)][_0x5103fe(0x53f)](_0x5a8f79[_0x5103fe(0x36d)](0x1))['subscribe'](async _0x281d5f=>{const _0x5e4b06=_0x5103fe;_0x7a5da9(await this[_0x5e4b06(0x288)](_0x281d5f===_0x417e84[_0x5e4b06(0x580)]));});});}[_0x235839(0x43e)](){const _0x58e3ef=_0x235839,_0x31b624=this[_0x58e3ef(0x1ee)];return{'onStateChange':(_0x31a3e4,_0x39c8a1)=>{const _0xd6ca2c=_0x58e3ef;if(_0x31a3e4!==this[_0xd6ca2c(0x3e8)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x31a3e4[_0xd6ca2c(0x2a3)]+'\x0aAfter:\x20'+_0x39c8a1['status']+_0xd6ca2c(0x37d)+this['_state'][_0xd6ca2c(0x2a3)]);this['_updateState'](_0x39c8a1);},'onSendChangeset':_0x3e900f=>{const _0x5b42fd=_0x58e3ef;_0x3e900f[_0x5b42fd(0x306)]||(_0x3e900f[_0x5b42fd(0x306)]=this[_0x5b42fd(0x164)],_0x3e900f['reqId']=++this['_changesetReqId']);const _0x402c79={'eventID':_0x21fd1d['CollaborationEvent'][_0x5b42fd(0x3e2)],'data':{'unitID':_0x3e900f[_0x5b42fd(0x1ee)],'unitType':this['_type'],'changeset':_0x3e900f,'memberID':this[_0x5b42fd(0x371)][_0x5b42fd(0x45a)]()}};this[_0x5b42fd(0x371)][_0x5b42fd(0x4c6)](_0x402c79,this['unitID']);},'onMissingChangesets':({from:_0x3dce3a,to:_0x2caa29})=>{const _0x5ecd25=_0x58e3ef;this[_0x5ecd25(0x449)][_0x5ecd25(0x2ac)](_0x5ecd25(0x2dc),'fetching\x20missing\x20changesets\x20from\x20'+_0x3dce3a+_0x5ecd25(0x23d)+_0x2caa29);const _0x327540={'eventID':_0x21fd1d[_0x5ecd25(0x207)][_0x5ecd25(0x1c4)],'data':{'unitID':_0x31b624,'unitType':this['_type'],'from':_0x3dce3a,'to':_0x2caa29}};this[_0x5ecd25(0x371)]['send'](_0x327540,this[_0x5ecd25(0x1ee)]);}};}async[_0x235839(0x288)](_0x3d6d41){const _0x382d08=_0x235839;var _0x326212,_0xabd641;const _0x3dffb4=await this[_0x382d08(0x286)][_0x382d08(0x287)](this[_0x382d08(0x1ee)]),_0x3c4d93=(_0x326212=_0x3dffb4==null?void 0x0:_0x3dffb4[_0x382d08(0x2c5)])!=null?_0x326212:[],_0xd36a35=(_0xabd641=_0x3dffb4==null?void 0x0:_0x3dffb4[_0x382d08(0x508)])!=null?_0xabd641:null,_0x11b869=!!(_0xd36a35!=null&&_0xd36a35[_0x382d08(0x306)])&&!!(_0xd36a35!=null&&_0xd36a35[_0x382d08(0x504)]);this[_0x382d08(0x164)]=_0x11b869?_0xd36a35[_0x382d08(0x306)]:_0x5b133(),this[_0x382d08(0x3d9)]=_0x11b869?_0xd36a35[_0x382d08(0x504)]:0x0;const _0x101767=this[_0x382d08(0x1ee)];try{this[_0x382d08(0x470)](_0xd36a35,_0x3c4d93);}catch(_0xb67df2){this['_logService'][_0x382d08(0x244)](_0xb67df2);}const _0x5d79f3=this[_0x382d08(0x43e)]();if(_0x3d6d41){const _0x2b42c7=_0x4ec5b2(this[_0x382d08(0x2ae)],_0x101767,this['_type'],_0xd36a35,_0x3c4d93,_0x5d79f3);return _0x2b42c7 instanceof _0x34da52?_0x2b42c7['_schedule']():(_0x2b42c7 instanceof _0x2a4e48||_0x2b42c7 instanceof _0xc87f0a)&&_0x2b42c7['resend'](),_0x2b42c7;}return this[_0x382d08(0x2ae)]['createInstance'](_0x1dbe19,_0x101767,this['_type'],_0xd36a35,_0x3c4d93,_0x5d79f3);}[_0x235839(0x470)](_0x5b9b84,_0x42ee06){const _0x4923cb=_0x235839;var _0x2968d9,_0x1e1cf9;const _0x438bc3=this[_0x4923cb(0x486)][_0x4923cb(0x57a)][_0x4923cb(0x4a0)](this[_0x4923cb(0x486)][_0x4923cb(0x57a)][_0x4923cb(0x49d)]()[_0x4923cb(0x3be)]);(_0x2968d9=_0x438bc3((_0x5b9b84==null?void 0x0:_0x5b9b84[_0x4923cb(0x2c5)])||[],null))==null||_0x2968d9['forEach'](_0x23c319=>this[_0x4923cb(0x1b8)]['executeCommand'](_0x23c319['id'],_0x23c319[_0x4923cb(0x305)])),(_0x1e1cf9=_0x438bc3(_0x42ee06||[],null))==null||_0x1e1cf9['forEach'](_0xa16284=>this[_0x4923cb(0x1b8)][_0x4923cb(0x28e)](_0xa16284['id'],_0xa16284[_0x4923cb(0x305)]));}},_0x3ad279['CollaborationEntity']=_0xd3beb7([_0x3b850c(0x3,_0x19baed['Inject'](_0x19baed[_0x235839(0x41c)])),_0x3b850c(0x4,_0x19baed[_0x235839(0x431)](_0x3ad279[_0x235839(0x36b)])),_0x3b850c(0x5,_0x19baed[_0x235839(0x431)](_0x21fd1d[_0x235839(0x547)])),_0x3b850c(0x6,_0x19baed[_0x235839(0x431)](_0x19baed[_0x235839(0x3fc)])),_0x3b850c(0x7,_0x19baed['Inject'](_0x21fd1d[_0x235839(0x4c0)])),_0x3b850c(0x8,_0x19baed[_0x235839(0x311)]),_0x3b850c(0x9,_0x19baed['ICommandService']),_0x3b850c(0xa,_0x6ef540[_0x235839(0x337)]),_0x3b850c(0xb,_0x19baed['IPermissionService']),_0x3b850c(0xc,_0x19baed[_0x235839(0x358)](_0x34c426))],_0x3ad279[_0x235839(0x3c0)]),_0x3ad279['DocCollaborationEntity']=class extends _0x3ad279[_0x235839(0x3c0)]{constructor(_0x240423,_0x3fb9d2,_0x4e3098,_0x468166,_0x192478,_0x3733eb,_0x259052,_0x5cf098,_0x106600,_0x298f50,_0x2e649d,_0x5ec94d,_0x34a1fb,_0x29c15a,_0x1819d7,_0x106a4c,_0x5e961d){const _0x20efcb=_0x235839;super(_0x240423,_0x4e3098,_0x3fb9d2,_0x468166,_0x192478,_0x3733eb,_0x259052,_0x5cf098,_0x34a1fb,_0x29c15a,_0x1819d7,_0x106a4c,_0x5e961d),this[_0x20efcb(0x1ee)]=_0x240423,this[_0x20efcb(0x3f3)]=_0x3fb9d2,this['_docStateChangeManagerService']=_0x106600,this[_0x20efcb(0x47e)]=_0x298f50,this[_0x20efcb(0x55b)]=_0x2e649d,this[_0x20efcb(0x281)]=_0x5ec94d;}[_0x235839(0x43e)](){const _0x13a074=_0x235839,_0x4f7eeb=super[_0x13a074(0x43e)]();return _0x4f7eeb[_0x13a074(0x298)]=_0x24cdb8=>this[_0x13a074(0x47e)][_0x13a074(0x36e)](_0x24cdb8),_0x4f7eeb['onTransformSelections']=_0x2a9d62=>this[_0x13a074(0x55b)]['transformSelections'](_0x2a9d62),_0x4f7eeb['onSyncEditingCollabCursor']=_0x1fc5c5=>this[_0x13a074(0x281)][_0x13a074(0x4f5)](_0x1fc5c5),_0x4f7eeb[_0x13a074(0x459)]=_0x500618=>this[_0x13a074(0x47e)][_0x13a074(0x173)](_0x500618),_0x4f7eeb;}async[_0x235839(0x3e3)](){const _0x70871f=_0x235839,_0x1a9f5f=await super['_init']();return this[_0x70871f(0x25a)][_0x70871f(0x166)][_0x70871f(0x53f)](_0x5a8f79[_0x70871f(0x36f)](this[_0x70871f(0x1eb)]))[_0x70871f(0x36a)](_0x3cdd20=>{const _0x3bcc64=_0x70871f;if(_0x3cdd20==null)return;const {unitId:_0x15b52c,redoState:_0x45ecbe,commandId:_0x135793}=_0x3cdd20;if(_0x15b52c!==this[_0x3bcc64(0x1ee)])return;const _0x31a4ff={'id':_0x135793,'type':_0x19baed[_0x3bcc64(0x1c2)][_0x3bcc64(0x206)],'params':{'unitId':_0x15b52c,'actions':_0x45ecbe[_0x3bcc64(0x4c3)],'textRanges':null}};this[_0x3bcc64(0x24d)](_0x31a4ff);}),_0x1a9f5f;}},_0x3ad279[_0x235839(0x177)]=_0xd3beb7([_0x3b850c(0x3,_0x19baed[_0x235839(0x431)](_0x19baed['Injector'])),_0x3b850c(0x4,_0x19baed[_0x235839(0x431)](_0x3ad279[_0x235839(0x36b)])),_0x3b850c(0x5,_0x19baed[_0x235839(0x431)](_0x21fd1d[_0x235839(0x547)])),_0x3b850c(0x6,_0x19baed[_0x235839(0x431)](_0x19baed[_0x235839(0x3fc)])),_0x3b850c(0x7,_0x19baed[_0x235839(0x431)](_0x21fd1d[_0x235839(0x4c0)])),_0x3b850c(0x8,_0x19baed[_0x235839(0x431)](_0x542e88['DocStateChangeManagerService'])),_0x3b850c(0x9,_0x19baed['Inject'](_0x4ceb7a)),_0x3b850c(0xa,_0x19baed[_0x235839(0x431)](_0x43e69a)),_0x3b850c(0xb,_0x19baed[_0x235839(0x431)](_0x37b8a8)),_0x3b850c(0xc,_0x19baed[_0x235839(0x311)]),_0x3b850c(0xd,_0x19baed[_0x235839(0x3f4)]),_0x3b850c(0xe,_0x6ef540[_0x235839(0x337)]),_0x3b850c(0xf,_0x19baed[_0x235839(0x40c)]),_0x3b850c(0x10,_0x19baed[_0x235839(0x358)](_0x34c426))],_0x3ad279[_0x235839(0x177)]),_0x3ad279['SheetCollaborationEntity']=class extends _0x3ad279[_0x235839(0x3c0)]{constructor(_0x5dc567,_0x5a851d,_0x15e26c,_0x287cb7,_0x161de5,_0x544380,_0x107c5e,_0x506bf6,_0x42fd01,_0x51c636,_0x485787,_0x48c17f,_0x577b76,_0x30986c){const _0x5cc00c=_0x235839;super(_0x5dc567,_0x15e26c,_0x5a851d,_0x287cb7,_0x161de5,_0x544380,_0x107c5e,_0x506bf6,_0x51c636,_0x485787,_0x48c17f,_0x577b76,_0x30986c),this['unitID']=_0x5dc567,this[_0x5cc00c(0x3f3)]=_0x5a851d,this[_0x5cc00c(0x2c1)]=_0x42fd01;}[_0x235839(0x43e)](){const _0x39898a=_0x235839,_0xc44400=super[_0x39898a(0x43e)]();return _0xc44400[_0x39898a(0x3c8)]=_0x41e026=>this['_sheetTransformSelectionsService']['transformSelections'](_0x41e026),_0xc44400;}async[_0x235839(0x3e3)](){const _0x17db02=_0x235839,_0x2703d6=await super[_0x17db02(0x3e3)]();return this[_0x17db02(0x4e4)](this[_0x17db02(0x1b8)][_0x17db02(0x196)]((_0x35e93b,_0x2728dc)=>{const _0x55cf85=_0x17db02;if(_0x35e93b[_0x55cf85(0x3f3)]!==_0x19baed[_0x55cf85(0x1c2)]['MUTATION']||_0x2728dc!=null&&_0x2728dc[_0x55cf85(0x25b)]||_0x2728dc!=null&&_0x2728dc[_0x55cf85(0x4a1)])return;const _0x2dbbfe=_0x35e93b['params'];if((_0x2dbbfe==null?void 0x0:_0x2dbbfe['unitId'])!==this[_0x55cf85(0x1ee)])return;const _0x4b2e5c=_0x35e93b,_0x1a2e9c=this[_0x55cf85(0x486)]['interceptor'][_0x55cf85(0x4a0)](this[_0x55cf85(0x486)][_0x55cf85(0x57a)][_0x55cf85(0x49d)]()[_0x55cf85(0x4fb)])([_0x4b2e5c],null)||[_0x4b2e5c];this[_0x55cf85(0x24d)](_0x1a2e9c[0x0]);})),_0x2703d6;}},_0x3ad279[_0x235839(0x488)]=_0xd3beb7([_0x3b850c(0x3,_0x19baed['Inject'](_0x19baed[_0x235839(0x41c)])),_0x3b850c(0x4,_0x19baed[_0x235839(0x431)](_0x3ad279['LocalCacheService'])),_0x3b850c(0x5,_0x19baed[_0x235839(0x431)](_0x21fd1d[_0x235839(0x547)])),_0x3b850c(0x6,_0x19baed['Inject'](_0x19baed[_0x235839(0x3fc)])),_0x3b850c(0x7,_0x19baed[_0x235839(0x431)](_0x21fd1d[_0x235839(0x4c0)])),_0x3b850c(0x8,_0x19baed[_0x235839(0x431)](_0x132bd7)),_0x3b850c(0x9,_0x19baed[_0x235839(0x311)]),_0x3b850c(0xa,_0x19baed['ICommandService']),_0x3b850c(0xb,_0x6ef540[_0x235839(0x337)]),_0x3b850c(0xc,_0x19baed['IPermissionService']),_0x3b850c(0xd,_0x19baed['Optional'](_0x34c426))],_0x3ad279['SheetCollaborationEntity']);var _0x36c40b=Object[_0x235839(0x27f)],_0x4cba37=Object[_0x235839(0x2ee)],_0x10b045=(_0x6752ca,_0x4472e2,_0x32c12e,_0x2d013b)=>{for(var _0x1f8e4c=_0x2d013b>0x1?void 0x0:_0x2d013b?_0x4cba37(_0x4472e2,_0x32c12e):_0x4472e2,_0x4872d7=_0x6752ca['length']-0x1,_0x4fbb83;_0x4872d7>=0x0;_0x4872d7--)(_0x4fbb83=_0x6752ca[_0x4872d7])&&(_0x1f8e4c=(_0x2d013b?_0x4fbb83(_0x4472e2,_0x32c12e,_0x1f8e4c):_0x4fbb83(_0x1f8e4c))||_0x1f8e4c);return _0x2d013b&&_0x1f8e4c&&_0x36c40b(_0x4472e2,_0x32c12e,_0x1f8e4c),_0x1f8e4c;},_0x5352e2=(_0xbc5ebf,_0x4d9627)=>(_0x454649,_0x45108f)=>_0x4d9627(_0x454649,_0x45108f,_0xbc5ebf);_0x3ad279[_0x235839(0x489)]=class extends _0x19baed[_0x235839(0x35e)]{constructor(_0x2b833d,_0x301203,_0x1c680d){const _0x2f37bd=_0x235839;super(),_0x4ab372(this,_0x2f37bd(0x372),new Map()),_0x4ab372(this,_0x2f37bd(0x1f4),new _0x5a8f79[(_0x2f37bd(0x32a))]()),(this[_0x2f37bd(0x2ae)]=_0x2b833d,this['_collabSessionService']=_0x301203,this['_univerInstanceService']=_0x1c680d,this[_0x2f37bd(0x3e3)]());}['dispose'](){const _0x1b692a=_0x235839;super[_0x1b692a(0x327)](),this['_entities'][_0x1b692a(0x2a6)](_0x460e7e=>_0x460e7e[_0x1b692a(0x327)]()),this[_0x1b692a(0x372)][_0x1b692a(0x1ac)]();}[_0x235839(0x579)](_0x28aa9e){const _0xf1abf3=_0x235839;var _0x2ac80d;return(_0x2ac80d=this[_0xf1abf3(0x372)]['get'](_0x28aa9e))!=null?_0x2ac80d:null;}[_0x235839(0x172)](_0x1fe28c){const _0x15cccd=_0x235839,_0x17d862=this['getCollabEntity'](_0x1fe28c);return _0x17d862?_0x5a8f79['of'](_0x17d862):this['_entityInit$'][_0x15cccd(0x53f)](_0x555af6[_0x15cccd(0x1e5)](_0x3a2474=>_0x3a2474[_0x15cccd(0x1ee)]===_0x1fe28c));}[_0x235839(0x3e3)](){const _0x37d270=_0x235839;this[_0x37d270(0x1ae)]['getTypeOfUnitAdded$'](_0x19baed[_0x37d270(0x433)][_0x37d270(0x48e)])[_0x37d270(0x53f)](_0x5a8f79[_0x37d270(0x36f)](this['dispose$']),_0x555af6[_0x37d270(0x317)](0x10))[_0x37d270(0x36a)](async _0x146bc0=>{const _0x27bf37=_0x37d270,_0x1a5895=_0x146bc0[_0x27bf37(0x492)](),_0x47ae29=await this[_0x27bf37(0x1d0)](_0x1a5895,_0x4e8930[_0x27bf37(0x48e)]);this['_entities'][_0x27bf37(0x3ce)](_0x1a5895,_0x47ae29);}),this[_0x37d270(0x1ae)]['getTypeOfUnitAdded$'](_0x19baed[_0x37d270(0x433)][_0x37d270(0x2ad)])[_0x37d270(0x53f)](_0x5a8f79[_0x37d270(0x36f)](this[_0x37d270(0x1eb)]),_0x555af6['delay'](0x10))[_0x37d270(0x53f)](_0x555af6['filter'](_0x4ca411=>!_0x4ca411[_0x37d270(0x492)]()[_0x37d270(0x1e6)]('__')))['subscribe'](async _0x1bc5f0=>{const _0x213305=_0x37d270,_0x410e8a=_0x1bc5f0['getUnitId'](),_0x3a869d=await this['_startCollaboration'](_0x410e8a,_0x4e8930[_0x213305(0x2ad)]);this['_entities']['set'](_0x410e8a,_0x3a869d);}),_0x5a8f79[_0x37d270(0x478)](this[_0x37d270(0x1ae)][_0x37d270(0x531)](_0x19baed[_0x37d270(0x433)][_0x37d270(0x48e)]),this['_univerInstanceService'][_0x37d270(0x531)](_0x19baed[_0x37d270(0x433)][_0x37d270(0x2ad)]))[_0x37d270(0x53f)](_0x5a8f79[_0x37d270(0x36f)](this[_0x37d270(0x1eb)]))[_0x37d270(0x36a)](_0x421a08=>{const _0x338427=_0x37d270,_0x4ebaa3=_0x421a08['getUnitId'](),_0x5399cd=this[_0x338427(0x372)][_0x338427(0x17a)](_0x4ebaa3);_0x5399cd&&(_0x5399cd[_0x338427(0x327)](),this['_entities']['delete'](_0x4ebaa3));});}async[_0x235839(0x1d0)](_0x16b86b,_0xdb4865){const _0x63489c=_0x235839,_0x32cd97=await this[_0x63489c(0x16c)][_0x63489c(0x16e)](_0x16b86b),_0x55a059=this['_injector'][_0x63489c(0x369)](this[_0x63489c(0x2c2)](_0xdb4865),_0x16b86b,_0xdb4865,_0x32cd97);return await _0x55a059[_0x63489c(0x4ac)](),this['_entityInit$']['next'](_0x55a059),_0x55a059;}[_0x235839(0x2c2)](_0x31ed73){const _0xbb3608=_0x235839;switch(_0x31ed73){case _0x4e8930[_0xbb3608(0x2ad)]:return _0x3ad279[_0xbb3608(0x177)];case _0x4e8930[_0xbb3608(0x48e)]:return _0x3ad279[_0xbb3608(0x488)];default:throw new Error(_0xbb3608(0x578)+_0x31ed73);}}},_0x3ad279[_0x235839(0x489)]=_0x10b045([_0x5352e2(0x0,_0x19baed[_0x235839(0x431)](_0x19baed[_0x235839(0x41c)])),_0x5352e2(0x1,_0x19baed[_0x235839(0x431)](_0x3ad279['CollaborationSessionService'])),_0x5352e2(0x2,_0x19baed[_0x235839(0x1b2)])],_0x3ad279[_0x235839(0x489)]);const _0x120b45=['purple300',_0x235839(0x445),_0x235839(0x1a0),'red300','blue400','gold400'];class _0x2012fa extends _0x19baed[_0x235839(0x33d)]{constructor(){const _0x596a07=_0x235839;super(...arguments),_0x4ab372(this,_0x596a07(0x534),new Map()),_0x4ab372(this,_0x596a07(0x15f),0x0);}[_0x235839(0x336)](_0xccbd4e){const _0x2cd819=_0x235839;if(this['_assignedColors'][_0x2cd819(0x461)](_0xccbd4e))return this[_0x2cd819(0x534)][_0x2cd819(0x17a)](_0xccbd4e);const _0x52d89d=_0x120b45[this[_0x2cd819(0x15f)]];return this[_0x2cd819(0x15f)]=(this[_0x2cd819(0x15f)]+0x1)%_0x120b45[_0x2cd819(0x23b)],this[_0x2cd819(0x534)][_0x2cd819(0x3ce)](_0xccbd4e,_0x52d89d),_0x52d89d;}}var _0x3bb08=Object[_0x235839(0x27f)],_0x56acfa=Object[_0x235839(0x2ee)],_0x2479c1=(_0x4ecd36,_0x5037cb,_0x1d4253,_0x5009a2)=>{const _0x5d8af0=_0x235839;for(var _0x3999ed=_0x5009a2>0x1?void 0x0:_0x5009a2?_0x56acfa(_0x5037cb,_0x1d4253):_0x5037cb,_0x5142d7=_0x4ecd36[_0x5d8af0(0x23b)]-0x1,_0x6c17f5;_0x5142d7>=0x0;_0x5142d7--)(_0x6c17f5=_0x4ecd36[_0x5142d7])&&(_0x3999ed=(_0x5009a2?_0x6c17f5(_0x5037cb,_0x1d4253,_0x3999ed):_0x6c17f5(_0x3999ed))||_0x3999ed);return _0x5009a2&&_0x3999ed&&_0x3bb08(_0x5037cb,_0x1d4253,_0x3999ed),_0x3999ed;},_0x20d206=(_0x22a6c7,_0x40700b)=>(_0x9a28cb,_0x126ead)=>_0x40700b(_0x9a28cb,_0x126ead,_0x22a6c7);const _0x278f3e=0x12c,_0x175aca=0x64;let _0x347c34=class extends _0x19baed[_0x235839(0x35e)]{constructor(_0x41e8bc,_0x1bbd7b,_0x58426a,_0x306169,_0x299e51,_0x3256c9,_0x53c4,_0x2b9511,_0x1e073e){const _0x2a0dfa=_0x235839;super(),_0x4ab372(this,_0x2a0dfa(0x2d2),!0x1),_0x4ab372(this,'_init',!0x1),_0x4ab372(this,'_cursorInfo$',new _0x5a8f79[(_0x2a0dfa(0x19f))](new Map())),_0x4ab372(this,_0x2a0dfa(0x544),this[_0x2a0dfa(0x29e)][_0x2a0dfa(0x56d)]()),_0x4ab372(this,_0x2a0dfa(0x367),new _0x5a8f79[(_0x2a0dfa(0x19f))]([])),_0x4ab372(this,_0x2a0dfa(0x4e7),this['_roomMembers$'][_0x2a0dfa(0x53f)](_0x5a8f79['debounceTime'](_0x278f3e))),_0x4ab372(this,_0x2a0dfa(0x453),_0x19baed[_0x2a0dfa(0x15a)](_0x279564=>{const _0x18c651=_0x2a0dfa,_0x354d0d={'eventID':_0x21fd1d[_0x18c651(0x207)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x18c651(0x45a)](),'selection':_0x38bb41(_0x279564)}};this[_0x18c651(0x48c)][_0x18c651(0x4c6)](_0x354d0d,this[_0x18c651(0x1ee)]);},_0x175aca)),(this['unitID']=_0x41e8bc,this['_session']=_0x1bbd7b,this[_0x2a0dfa(0x2ae)]=_0x58426a,this[_0x2a0dfa(0x4dc)]=_0x306169,this[_0x2a0dfa(0x18e)]=_0x299e51,this[_0x2a0dfa(0x28c)]=_0x3256c9,this[_0x2a0dfa(0x165)]=_0x53c4,this[_0x2a0dfa(0x1ae)]=_0x2b9511,this[_0x2a0dfa(0x1b8)]=_0x1e073e);}get['cursorInfo'](){const _0x33bbd8=_0x235839;return this[_0x33bbd8(0x29e)]['getValue']();}get[_0x235839(0x195)](){const _0x20a7ea=_0x235839;return this[_0x20a7ea(0x367)][_0x20a7ea(0x272)]();}[_0x235839(0x327)](){const _0x10a6af=_0x235839;super[_0x10a6af(0x327)](),this[_0x10a6af(0x29e)][_0x10a6af(0x31f)](new Map()),this[_0x10a6af(0x29e)][_0x10a6af(0x289)](),this[_0x10a6af(0x367)][_0x10a6af(0x31f)]([]),this['_roomMembers$'][_0x10a6af(0x289)]();}['init'](){const _0x4f5309=_0x235839;this['_init']||(this[_0x4f5309(0x3e3)]=!0x0,this[_0x4f5309(0x48c)][_0x4f5309(0x57b)][_0x4f5309(0x53f)](_0x5a8f79[_0x4f5309(0x36f)](this[_0x4f5309(0x1eb)]))['subscribe'](_0xae911d=>{const _0x51d449=_0x4f5309;_0xae911d===_0x417e84[_0x51d449(0x580)]?this[_0x51d449(0x54c)]():this[_0x51d449(0x1cd)]();}),this['_session'][_0x4f5309(0x407)]['pipe'](_0x5a8f79['takeUntil'](this[_0x4f5309(0x1eb)]))[_0x4f5309(0x36a)](_0x952258=>{const _0x199d82=_0x4f5309,_0x3baaa6=_0x952258[_0x199d82(0x3b2)];_0x3baaa6===_0x21fd1d['CollaborationEvent'][_0x199d82(0x405)]&&this[_0x199d82(0x259)](_0x952258),_0x3baaa6===_0x21fd1d[_0x199d82(0x207)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x952258);}),this[_0x4f5309(0x4e4)](this[_0x4f5309(0x1b8)]['onCommandExecuted'](_0x433d86=>{const _0x167470=_0x4f5309,_0x5208e7=_0x433d86[_0x167470(0x305)];_0x5208e7!=null&&this['_online']&&_0x433d86['id']===_0x40db1c[_0x167470(0x35b)]['id']&&_0x5208e7['unitId']===this['unitID']&&_0x5208e7['isEditing']===!0x1&&this[_0x167470(0x453)](_0x5208e7[_0x167470(0x485)]);})),this[_0x4f5309(0x28c)]['collabCursorState$'][_0x4f5309(0x53f)](_0x5a8f79[_0x4f5309(0x36f)](this['dispose$']))['subscribe'](_0x313293=>{const _0x1169e4=_0x4f5309;if((_0x313293==null?void 0x0:_0x313293['unitID'])!==this[_0x1169e4(0x1ee)])return;const _0x249921={'eventID':_0x21fd1d[_0x1169e4(0x207)][_0x1169e4(0x405)],'data':_0x313293};this['_onCursorUpdate'](_0x249921);}),this[_0x4f5309(0x4e4)](this['_commandService'][_0x4f5309(0x196)](_0x1b6584=>{const _0x2c7798=_0x4f5309;if(_0x1b6584[_0x2c7798(0x305)]==null)return;const _0x417f0d=_0x1b6584['params'];if(_0x1b6584['id']!==_0x40db1c[_0x2c7798(0x3da)]['id']||_0x417f0d[_0x2c7798(0x1b3)]!==this[_0x2c7798(0x1ee)])return;const _0xe5e73d={'id':_0x2c7798(0x1cf),'params':_0x417f0d},_0x331a25=this['cursorInfo'];for(const [_0x5bc7bd,_0x67d756]of _0x331a25){const _0x367aa5={'id':_0x2c7798(0x1cf),'params':{'unitId':this[_0x2c7798(0x1ee)],'actions':null,'textRanges':_0x67d756[_0x2c7798(0x485)]}},_0x4addee=this[_0x2c7798(0x165)]['transformMutation'](_0xe5e73d,_0x367aa5,!0x1);if(_0x21fd1d[_0x2c7798(0x1d2)](_0x4addee))throw _0x4addee['error'];_0x331a25[_0x2c7798(0x3ce)](_0x5bc7bd,{..._0x67d756,'ranges':_0x4addee[_0x2c7798(0x549)][_0x2c7798(0x305)][_0x2c7798(0x2fe)]});}queueMicrotask(()=>{const _0x426a53=_0x2c7798;this['_cursorInfo$'][_0x426a53(0x31f)](_0x331a25);});})));}[_0x235839(0x259)](_0x275cd0){const _0x1bf484=_0x235839;var _0x280c72,_0x8eacaf;const {memberID:_0x438a57,selection:_0x19a3c3}=_0x275cd0[_0x1bf484(0x376)],_0x38249a=_0x14db3e(_0x19a3c3),_0xf54003=(_0x8eacaf=(_0x280c72=this[_0x1bf484(0x18e)][_0x1bf484(0x4f1)](this[_0x1bf484(0x1ee)],_0x438a57))==null?void 0x0:_0x280c72[_0x1bf484(0x55f)])!=null?_0x8eacaf:_0x1bf484(0x43d),_0x36dcb9={'color':this[_0x1bf484(0x4dc)]['assignAColorForMemberID'](_0x438a57),'name':_0xf54003,'ranges':_0x38249a},_0x5a36da=this[_0x1bf484(0x47b)];_0x5a36da[_0x1bf484(0x3ce)](_0x438a57,_0x36dcb9),this['_cursorInfo$'][_0x1bf484(0x31f)](_0x5a36da);}[_0x235839(0x275)](_0x50c27d){const _0x558cc8=_0x235839,{memberID:_0x50cf34}=_0x50c27d[_0x558cc8(0x376)],_0x521251=this['cursorInfo'];_0x521251[_0x558cc8(0x39d)](_0x50cf34),this[_0x558cc8(0x29e)][_0x558cc8(0x31f)](_0x521251);}[_0x235839(0x54c)](){const _0x2e673a=_0x235839;var _0x1c51da;if(this[_0x2e673a(0x2d2)]=!0x0,((_0x1c51da=this[_0x2e673a(0x1ae)][_0x2e673a(0x456)]())==null?void 0x0:_0x1c51da['getUnitId']())!==this[_0x2e673a(0x1ee)])return;const _0x2f2a0f=this[_0x2e673a(0x2ae)][_0x2e673a(0x17a)](_0x40db1c[_0x2e673a(0x186)])[_0x2e673a(0x491)]();Array[_0x2e673a(0x417)](_0x2f2a0f)&&_0x2f2a0f['length']>0x0&&this[_0x2e673a(0x453)](_0x2f2a0f);}[_0x235839(0x1cd)](){this['_online']=!0x1;}};_0x347c34=_0x2479c1([_0x20d206(0x2,_0x19baed['Inject'](_0x19baed[_0x235839(0x41c)])),_0x20d206(0x3,_0x19baed[_0x235839(0x431)](_0x2012fa)),_0x20d206(0x4,_0x19baed[_0x235839(0x431)](_0x219e5c)),_0x20d206(0x5,_0x19baed[_0x235839(0x431)](_0x37b8a8)),_0x20d206(0x6,_0x21fd1d[_0x235839(0x398)]),_0x20d206(0x7,_0x19baed[_0x235839(0x1b2)]),_0x20d206(0x8,_0x19baed[_0x235839(0x3f4)])],_0x347c34);var _0x583bd6=Object['defineProperty'],_0x457d49=Object['getOwnPropertyDescriptor'],_0xf93b1d=(_0x5cc2c2,_0x136b66,_0x4e9f7c,_0x127972)=>{const _0x1ce701=_0x235839;for(var _0x21d0d6=_0x127972>0x1?void 0x0:_0x127972?_0x457d49(_0x136b66,_0x4e9f7c):_0x136b66,_0x3c2054=_0x5cc2c2[_0x1ce701(0x23b)]-0x1,_0x1030e1;_0x3c2054>=0x0;_0x3c2054--)(_0x1030e1=_0x5cc2c2[_0x3c2054])&&(_0x21d0d6=(_0x127972?_0x1030e1(_0x136b66,_0x4e9f7c,_0x21d0d6):_0x1030e1(_0x21d0d6))||_0x21d0d6);return _0x127972&&_0x21d0d6&&_0x583bd6(_0x136b66,_0x4e9f7c,_0x21d0d6),_0x21d0d6;},_0x2e69c3=(_0x1b522e,_0x3b6542)=>(_0x5b7042,_0x21bc55)=>_0x3b6542(_0x5b7042,_0x21bc55,_0x1b522e);const _0x4b95bb=0x12c,_0x12c8b1=0x64,_0x123045=()=>{let _0x38552b=[],_0x46d9f5=!0x1;return _0x4c2c9a=>{const _0x5c8ce7=_0x16a9;_0x38552b[_0x5c8ce7(0x4e1)](_0x4c2c9a),_0x46d9f5||(_0x46d9f5=!0x0,setTimeout(()=>{const _0x1589a1=_0x5c8ce7;_0x38552b[_0x1589a1(0x2a6)](_0xe881b5=>_0xe881b5()),_0x38552b=[],_0x46d9f5=!0x1;}));};};let _0x17a2e8=class extends _0x19baed[_0x235839(0x35e)]{constructor(_0x1168d8,_0xb3dfd4,_0x2e2734,_0x262801,_0x222ee6,_0xb4a09b,_0x41c83e,_0x40de9f){const _0x454a44=_0x235839;super(),_0x4ab372(this,_0x454a44(0x2d2),!0x1),_0x4ab372(this,_0x454a44(0x3e3),!0x1),_0x4ab372(this,_0x454a44(0x29e),new _0x5a8f79[(_0x454a44(0x19f))](new Map())),_0x4ab372(this,_0x454a44(0x544),this[_0x454a44(0x29e)][_0x454a44(0x56d)]()),_0x4ab372(this,_0x454a44(0x367),new _0x5a8f79[(_0x454a44(0x19f))]([])),_0x4ab372(this,_0x454a44(0x4e7),this[_0x454a44(0x367)][_0x454a44(0x53f)](_0x5a8f79[_0x454a44(0x208)](_0x4b95bb))),_0x4ab372(this,'_updateLocalCursor',_0x19baed[_0x454a44(0x15a)]((_0x5cf51c,_0x1cc6ce)=>{const _0x22e148=_0x454a44,_0x43af96={'eventID':_0x21fd1d[_0x22e148(0x207)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x22e148(0x48c)][_0x22e148(0x45a)](),'selection':_0x5affaa[_0x22e148(0x23c)](_0x5cf51c,_0x1cc6ce['range'])}};this['_session'][_0x22e148(0x4c6)](_0x43af96,this[_0x22e148(0x1ee)]);},_0x12c8b1)),(this[_0x454a44(0x1ee)]=_0x1168d8,this[_0x454a44(0x48c)]=_0xb3dfd4,this[_0x454a44(0x2ae)]=_0x2e2734,this[_0x454a44(0x4dc)]=_0x262801,this[_0x454a44(0x18e)]=_0x222ee6,this[_0x454a44(0x1ae)]=_0xb4a09b,this['_commandService']=_0x41c83e,this[_0x454a44(0x382)]=_0x40de9f);}get[_0x235839(0x47b)](){const _0x239581=_0x235839;return this[_0x239581(0x29e)][_0x239581(0x272)]();}get[_0x235839(0x195)](){const _0x1fb612=_0x235839;return this['_roomMembers$'][_0x1fb612(0x272)]();}[_0x235839(0x327)](){const _0x2e373c=_0x235839;super['dispose'](),this[_0x2e373c(0x29e)][_0x2e373c(0x31f)](new Map()),this['_cursorInfo$']['complete'](),this[_0x2e373c(0x367)]['next']([]),this[_0x2e373c(0x367)][_0x2e373c(0x289)]();}[_0x235839(0x4ac)](){const _0x5cc558=_0x235839;this[_0x5cc558(0x3e3)]||(this['_init']=!0x0,this['_session']['sessionStatus$'][_0x5cc558(0x53f)](_0x5a8f79[_0x5cc558(0x36f)](this[_0x5cc558(0x1eb)]))[_0x5cc558(0x36a)](_0x585c0e=>{const _0x3960e3=_0x5cc558;_0x585c0e===_0x417e84[_0x3960e3(0x580)]?this[_0x3960e3(0x54c)]():this[_0x3960e3(0x1cd)]();}),this[_0x5cc558(0x48c)]['event$'][_0x5cc558(0x53f)](_0x5a8f79[_0x5cc558(0x36f)](this[_0x5cc558(0x1eb)]))[_0x5cc558(0x36a)](_0x36f7b0=>{const _0x38611a=_0x5cc558,_0x1f62c2=_0x36f7b0[_0x38611a(0x3b2)];_0x1f62c2===_0x21fd1d[_0x38611a(0x207)][_0x38611a(0x405)]&&this[_0x38611a(0x259)](_0x36f7b0),_0x1f62c2===_0x21fd1d[_0x38611a(0x207)][_0x38611a(0x204)]&&this['_onCursorDelete'](_0x36f7b0);}),this[_0x5cc558(0x4a6)](),this['disposeWithMe'](this[_0x5cc558(0x1b8)][_0x5cc558(0x196)](_0x5d39c3=>{const _0x2b6ab4=_0x5cc558;if(this[_0x2b6ab4(0x2d2)]&&_0x5d39c3['id']===_0x360913[_0x2b6ab4(0x1ea)]['id']&&_0x5d39c3[_0x2b6ab4(0x305)][_0x2b6ab4(0x1b3)]===this[_0x2b6ab4(0x1ee)]){const _0x50aec7=_0x5d39c3[_0x2b6ab4(0x305)];this[_0x2b6ab4(0x453)](_0x50aec7['subUnitId'],_0x50aec7[_0x2b6ab4(0x56b)][0x0]);}})));}[_0x235839(0x259)](_0x31a9b6){const _0x44f789=_0x235839;var _0x8f31ba,_0xd12e05;const {memberID:_0x183473,selection:_0x3187fa}=_0x31a9b6['data'],{sheetName:_0x565e6c,range:_0x11e109}=_0x5affaa[_0x44f789(0x556)](_0x3187fa),_0x365467={'name':(_0xd12e05=(_0x8f31ba=this[_0x44f789(0x18e)][_0x44f789(0x4f1)](this[_0x44f789(0x1ee)],_0x183473))==null?void 0x0:_0x8f31ba[_0x44f789(0x55f)])!=null?_0xd12e05:'Unknown\x20user','range':this[_0x44f789(0x35f)](_0x565e6c,_0x11e109),'sheetID':_0x565e6c,'color':this[_0x44f789(0x4dc)][_0x44f789(0x336)](_0x183473),'selection':_0x3187fa},_0x37add6=this[_0x44f789(0x47b)];_0x37add6[_0x44f789(0x3ce)](_0x183473,_0x365467),this[_0x44f789(0x29e)]['next'](_0x37add6);}[_0x235839(0x275)](_0x2fef4f){const _0x478289=_0x235839,{memberID:_0x4948f1}=_0x2fef4f[_0x478289(0x376)],_0x413794=this['cursorInfo'];_0x413794[_0x478289(0x39d)](_0x4948f1),this[_0x478289(0x29e)][_0x478289(0x31f)](_0x413794);}[_0x235839(0x35f)](_0x39a9cf,_0x2695e6){const _0x5b2460=_0x235839;var _0x24c2b8,_0x33b0dc;const _0x4140d3=(_0x33b0dc=(_0x24c2b8=this['_univerInstanceService'][_0x5b2460(0x3ba)](this['unitID']))==null?void 0x0:_0x24c2b8[_0x5b2460(0x31a)](_0x39a9cf))==null?void 0x0:_0x33b0dc[_0x5b2460(0x566)]();return(_0x4140d3==null?void 0x0:_0x4140d3[_0x5b2460(0x295)](_0xd96e73=>_0x19baed[_0x5b2460(0x2a1)]['contains'](_0xd96e73,_0x2695e6)))||_0x2695e6;}[_0x235839(0x4a6)](){const _0x153d1f=_0x235839,_0x2979ba=new _0x19baed[(_0x153d1f(0x52b))](),_0x1c6b7e=_0x123045(),_0x5285ed=()=>{const _0x43755c=_0x153d1f;_0x2979ba['dispose']();const _0x39eff3=(_0x33edb3,_0x4c460,_0x4fa99e,_0x4febd0)=>{const _0x1a2a39=_0x16a9;let _0x57bc99=[];switch(_0x33edb3['id']){case _0x360913[_0x1a2a39(0x2e3)]['DeleteRangeMoveLeftCommandId']:{_0x57bc99=_0x360913['handleDeleteRangeMoveLeft'](_0x33edb3,_0x4febd0);break;}case _0x360913[_0x1a2a39(0x2e3)][_0x1a2a39(0x279)]:{_0x57bc99=_0x360913[_0x1a2a39(0x46b)](_0x33edb3,_0x4febd0);break;}case _0x360913['EffectRefRangId'][_0x1a2a39(0x2cb)]:{_0x57bc99=_0x360913[_0x1a2a39(0x312)](_0x33edb3,_0x4febd0);break;}case _0x360913[_0x1a2a39(0x2e3)][_0x1a2a39(0x2e8)]:{_0x57bc99=_0x360913[_0x1a2a39(0x1d5)](_0x33edb3,_0x4febd0);break;}case _0x360913[_0x1a2a39(0x2e3)][_0x1a2a39(0x210)]:{_0x57bc99=_0x360913['handleInsertRangeMoveRight'](_0x33edb3,_0x4febd0);break;}case _0x360913[_0x1a2a39(0x2e3)][_0x1a2a39(0x271)]:{_0x57bc99=_0x360913[_0x1a2a39(0x3a1)](_0x33edb3,_0x4febd0);break;}case _0x360913['EffectRefRangId']['MoveRangeCommandId']:{_0x57bc99=_0x360913[_0x1a2a39(0x4dd)](_0x33edb3,_0x4febd0);break;}case _0x360913[_0x1a2a39(0x2e3)]['RemoveColCommandId']:{_0x57bc99=_0x360913[_0x1a2a39(0x1a3)](_0x33edb3,_0x4febd0);break;}case _0x360913['EffectRefRangId']['RemoveRowCommandId']:{_0x57bc99=_0x360913[_0x1a2a39(0x4bd)](_0x33edb3,_0x4febd0);break;}}const _0x5e3a10=_0x360913[_0x1a2a39(0x4eb)](_0x57bc99,_0x4febd0),_0x192f1d=this[_0x1a2a39(0x47b)][_0x1a2a39(0x17a)](_0x4c460);if(_0x192f1d&&_0x5e3a10){const _0xc7e16={..._0x192f1d,'range':_0x5e3a10};this[_0x1a2a39(0x47b)][_0x1a2a39(0x3ce)](_0x4c460,_0xc7e16),_0x1c6b7e(()=>{const _0x250759=_0x1a2a39,_0xdfd2e0=this[_0x250759(0x382)][_0x250759(0x161)](_0x5e3a10,_0x5921ce=>(_0xdfd2e0['dispose'](),_0x39eff3(_0x5921ce,_0x4c460,_0x4fa99e,_0x5e3a10)));_0x2979ba[_0x250759(0x4c2)](_0xdfd2e0);});}return{'redos':[],'undos':[]};};this[_0x43755c(0x47b)][_0x43755c(0x2a6)]((_0x373096,_0x36c994)=>{const _0x4f4487=_0x43755c,{range:_0xb52491,sheetID:_0x3a5c84}=_0x373096,_0x339861=this[_0x4f4487(0x382)]['registerRefRange'](_0xb52491,_0x750e2=>(_0x339861['dispose'](),_0x39eff3(_0x750e2,_0x36c994,_0x3a5c84,_0xb52491)));_0x2979ba[_0x4f4487(0x4c2)](_0x339861);});};this[_0x153d1f(0x4e4)](_0x19baed['toDisposable'](this[_0x153d1f(0x29e)][_0x153d1f(0x36a)](()=>{_0x5285ed();})));}[_0x235839(0x54c)](){const _0x1ac32e=_0x235839;var _0x5dffcb,_0x38c00d;if(this[_0x1ac32e(0x2d2)]=!0x0,((_0x5dffcb=this['_univerInstanceService'][_0x1ac32e(0x456)]())==null?void 0x0:_0x5dffcb[_0x1ac32e(0x492)]())!==this[_0x1ac32e(0x1ee)])return;const _0x58c381=(_0x38c00d=this[_0x1ac32e(0x2ae)]['get'](_0x360913[_0x1ac32e(0x17f)])[_0x1ac32e(0x1bd)]())==null?void 0x0:_0x38c00d[0x0],_0x3f75f3=this[_0x1ac32e(0x1ae)][_0x1ac32e(0x2df)](_0x19baed[_0x1ac32e(0x433)][_0x1ac32e(0x48e)])[_0x1ac32e(0x437)]();_0x58c381&&_0x3f75f3&&this['_updateLocalCursor'](_0x3f75f3[_0x1ac32e(0x335)](),_0x58c381);}[_0x235839(0x1cd)](){const _0x2df1e5=_0x235839;this[_0x2df1e5(0x2d2)]=!0x1;}};_0x17a2e8=_0xf93b1d([_0x2e69c3(0x2,_0x19baed['Inject'](_0x19baed[_0x235839(0x41c)])),_0x2e69c3(0x3,_0x19baed['Inject'](_0x2012fa)),_0x2e69c3(0x4,_0x19baed['Inject'](_0x219e5c)),_0x2e69c3(0x5,_0x19baed[_0x235839(0x1b2)]),_0x2e69c3(0x6,_0x19baed[_0x235839(0x3f4)]),_0x2e69c3(0x7,_0x19baed[_0x235839(0x431)](_0x360913[_0x235839(0x545)]))],_0x17a2e8);var _0x5dde6a=Object[_0x235839(0x27f)],_0x20203f=Object[_0x235839(0x2ee)],_0x41e087=(_0x4339ec,_0x5e516f,_0x4a004c,_0x388814)=>{for(var _0x2cff85=_0x388814>0x1?void 0x0:_0x388814?_0x20203f(_0x5e516f,_0x4a004c):_0x5e516f,_0x124bc3=_0x4339ec['length']-0x1,_0x5718dc;_0x124bc3>=0x0;_0x124bc3--)(_0x5718dc=_0x4339ec[_0x124bc3])&&(_0x2cff85=(_0x388814?_0x5718dc(_0x5e516f,_0x4a004c,_0x2cff85):_0x5718dc(_0x2cff85))||_0x2cff85);return _0x388814&&_0x2cff85&&_0x5dde6a(_0x5e516f,_0x4a004c,_0x2cff85),_0x2cff85;},_0xba8c88=(_0xdf6b14,_0x441e09)=>(_0x4b6bb8,_0x59313d)=>_0x441e09(_0x4b6bb8,_0x59313d,_0xdf6b14);let _0x1b12fb=class extends _0x19baed['RxDisposable']{constructor(_0x5d3e60,_0x53c722,_0x4bdb7f){const _0x2276d7=_0x235839;super(),_0x4ab372(this,_0x2276d7(0x372),new Map()),_0x4ab372(this,_0x2276d7(0x1f4),new _0x5a8f79['Subject']()),(this['_univerInstanceService']=_0x5d3e60,this[_0x2276d7(0x2ae)]=_0x53c722,this[_0x2276d7(0x16c)]=_0x4bdb7f,this[_0x2276d7(0x3e3)]());}['dispose'](){const _0x5af7a5=_0x235839;super[_0x5af7a5(0x327)](),this['_entityInit$'][_0x5af7a5(0x289)](),this[_0x5af7a5(0x372)][_0x5af7a5(0x2a6)](_0x82c965=>_0x82c965[_0x5af7a5(0x327)]());}[_0x235839(0x535)](_0x3c310d){const _0x1de572=_0x235839;return this[_0x1de572(0x372)][_0x1de572(0x461)](_0x3c310d)?this[_0x1de572(0x372)][_0x1de572(0x17a)](_0x3c310d)['cursorInfo$']:this[_0x1de572(0x1f4)][_0x1de572(0x53f)](_0x5a8f79[_0x1de572(0x1e5)](_0xbd182b=>_0xbd182b[_0x1de572(0x1ee)]===_0x3c310d),_0x5a8f79[_0x1de572(0x49e)](_0x1429d8=>_0x1429d8[_0x1de572(0x544)]));}[_0x235839(0x3e3)](){const _0x5a4cb8=_0x235839;this[_0x5a4cb8(0x1ae)][_0x5a4cb8(0x514)](_0x19baed[_0x5a4cb8(0x433)][_0x5a4cb8(0x48e)])[_0x5a4cb8(0x53f)](_0x5a8f79[_0x5a4cb8(0x36f)](this[_0x5a4cb8(0x1eb)]))[_0x5a4cb8(0x36a)](async _0x4e9ebe=>{const _0xe57500=_0x5a4cb8,_0x280911=_0x4e9ebe[_0xe57500(0x492)](),_0x4a147a=await this['_startSheetCollabCursor'](_0x280911);this[_0xe57500(0x1f4)][_0xe57500(0x31f)](_0x4a147a),this[_0xe57500(0x372)]['set'](_0x280911,_0x4a147a);}),this[_0x5a4cb8(0x1ae)][_0x5a4cb8(0x514)](_0x19baed['UniverInstanceType'][_0x5a4cb8(0x2ad)])['pipe'](_0x5a8f79[_0x5a4cb8(0x36f)](this[_0x5a4cb8(0x1eb)]))[_0x5a4cb8(0x53f)](_0x5a8f79['filter'](_0x32b1e9=>!_0x32b1e9[_0x5a4cb8(0x492)]()[_0x5a4cb8(0x1e6)]('__')))[_0x5a4cb8(0x36a)](async _0x43c7dd=>{const _0x1a80ca=_0x5a4cb8,_0x3e649a=_0x43c7dd[_0x1a80ca(0x492)](),_0x557ab2=await this['_startDocCollabCursor'](_0x3e649a);this[_0x1a80ca(0x1f4)][_0x1a80ca(0x31f)](_0x557ab2),this['_entities']['set'](_0x3e649a,_0x557ab2);}),_0x5a8f79['merge'](this[_0x5a4cb8(0x1ae)][_0x5a4cb8(0x531)](_0x19baed[_0x5a4cb8(0x433)]['UNIVER_DOC']),this[_0x5a4cb8(0x1ae)][_0x5a4cb8(0x531)](_0x19baed[_0x5a4cb8(0x433)][_0x5a4cb8(0x48e)]))['pipe'](_0x5a8f79[_0x5a4cb8(0x36f)](this[_0x5a4cb8(0x1eb)]))[_0x5a4cb8(0x36a)](_0x471c7c=>{const _0x395340=_0x5a4cb8,_0x3e5c1e=_0x471c7c[_0x395340(0x492)](),_0x1087e8=this[_0x395340(0x372)][_0x395340(0x17a)](_0x3e5c1e);_0x1087e8&&(_0x1087e8[_0x395340(0x327)](),this[_0x395340(0x372)][_0x395340(0x39d)](_0x3e5c1e));});}async['_startSheetCollabCursor'](_0x2f8948){const _0x5bf487=_0x235839,_0x366ee9=await this['_collabSessionService'][_0x5bf487(0x16e)](_0x2f8948),_0x23ce5e=this['_injector']['createInstance'](_0x17a2e8,_0x2f8948,_0x366ee9);return _0x23ce5e['init'](),_0x23ce5e;}async['_startDocCollabCursor'](_0x351593){const _0x1be94e=_0x235839,_0x78d01=await this[_0x1be94e(0x16c)][_0x1be94e(0x16e)](_0x351593),_0xc55567=this[_0x1be94e(0x2ae)]['createInstance'](_0x347c34,_0x351593,_0x78d01);return _0xc55567[_0x1be94e(0x4ac)](),_0xc55567;}};_0x1b12fb=_0x41e087([_0xba8c88(0x0,_0x19baed[_0x235839(0x1b2)]),_0xba8c88(0x1,_0x19baed['Inject'](_0x19baed['Injector'])),_0xba8c88(0x2,_0x19baed[_0x235839(0x431)](_0x3ad279[_0x235839(0x1d9)]))],_0x1b12fb);const _0x54de90=0x14,_0x201956=0xc8,_0x38fab6=0x4,_0x84f19e=0x5;function _0x5cdc87(_0x5e902b,_0x4bf053){const _0x46b597=_0x235839;let {radius:_0x5cc27f,width:_0x564c6d,height:_0x4c5b62}=_0x4bf053;_0x5cc27f=_0x5cc27f!=null?_0x5cc27f:0x0,_0x564c6d=_0x564c6d!=null?_0x564c6d:0x1e,_0x4c5b62=_0x4c5b62!=null?_0x4c5b62:0x1e;let _0x4c91d7=0x0,_0x3c964d=0x0,_0x38449d=0x0;_0x4c91d7=_0x3c964d=_0x38449d=Math[_0x46b597(0x280)](_0x5cc27f,_0x564c6d/0x2,_0x4c5b62/0x2),_0x5e902b[_0x46b597(0x4b4)](),_0x5e902b[_0x46b597(0x1be)](_0x4c91d7,0x0),_0x5e902b[_0x46b597(0x4be)](_0x564c6d-_0x3c964d,0x0),_0x5e902b[_0x46b597(0x548)](_0x564c6d-_0x3c964d,_0x3c964d,_0x3c964d,Math['PI']*0x3/0x2,0x0,!0x1),_0x5e902b[_0x46b597(0x4be)](_0x564c6d,_0x4c5b62-_0x38449d),_0x5e902b['arc'](_0x564c6d-_0x38449d,_0x4c5b62-_0x38449d,_0x38449d,0x0,Math['PI']/0x2,!0x1),_0x5e902b[_0x46b597(0x4be)](0x0,_0x4c5b62),_0x5e902b[_0x46b597(0x4be)](0x0,_0x4c91d7),_0x5e902b['arc'](_0x4c91d7,_0x4c91d7,_0x4c91d7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5e902b[_0x46b597(0x26b)](),_0x4bf053['fill']&&(_0x5e902b['save'](),_0x5e902b[_0x46b597(0x346)]=_0x4bf053[_0x46b597(0x4de)],_0x4bf053[_0x46b597(0x52f)]===_0x46b597(0x4a8)?_0x5e902b[_0x46b597(0x4de)]('evenodd'):_0x5e902b[_0x46b597(0x4de)](),_0x5e902b[_0x46b597(0x247)]());}class _0x508bde extends _0xc3fdc[_0x235839(0x190)]{constructor(_0x4832c4,_0x5ab6f1){const _0x3b7c79=_0x235839;super(_0x4832c4,_0x5ab6f1),_0x4ab372(this,_0x3b7c79(0x55d)),_0x4ab372(this,_0x3b7c79(0x3ec)),(this['color']=_0x5ab6f1==null?void 0x0:_0x5ab6f1[_0x3b7c79(0x55d)],this[_0x3b7c79(0x3ec)]=_0x5ab6f1==null?void 0x0:_0x5ab6f1['text']);}static[_0x235839(0x27a)](_0x36551e,_0x3de22a){const _0x82463=_0x235839,{text:_0x5ef53e,color:_0x1dca0d}=_0x3de22a;_0x36551e[_0x82463(0x44d)](),_0x36551e[_0x82463(0x19a)]=_0x82463(0x551);const _0x285842=_0x36551e[_0x82463(0x427)](_0x5ef53e)[_0x82463(0x574)],_0x3d4b66=Math[_0x82463(0x280)](_0x285842+0x2*_0x38fab6,_0x201956);_0x5cdc87(_0x36551e,{'height':_0x54de90,'radius':0x4,'width':_0x3d4b66,'fill':_0x1dca0d,'evented':!0x1}),_0x36551e[_0x82463(0x346)]=_0x82463(0x422);const _0x375d94=_0x38fab6,_0x95fb45=_0x54de90-_0x84f19e,_0x25306d=_0x201956-0x2*_0x38fab6;if(_0x285842>_0x25306d){let _0x24a96a='',_0x27938a=0x0;for(const _0x43095b of _0x5ef53e){const _0x1e2965=_0x36551e[_0x82463(0x427)](_0x43095b)['width'];if(_0x27938a+_0x1e2965<=_0x25306d-_0x36551e[_0x82463(0x427)](_0x82463(0x373))[_0x82463(0x574)])_0x24a96a+=_0x43095b,_0x27938a+=_0x1e2965;else{_0x24a96a+=_0x82463(0x373);break;}}_0x36551e['fillText'](_0x24a96a,_0x375d94,_0x95fb45);}else _0x36551e[_0x82463(0x4bb)](_0x5ef53e,_0x375d94,_0x95fb45);_0x36551e[_0x82463(0x247)]();}['_draw'](_0x4ef167){_0x508bde['drawWith'](_0x4ef167,this);}}const _0x53121e=_0x235839(0x509),_0x53e97f='collab-text-range-',_0x4dfe33=_0x235839(0x33a),_0x14c497=0x6,_0x22f6d0=1.5,_0x2a5b50=0x4,_0x5c7b3e=1.5,_0x47c827=_0x235839(0x3df);class _0x2ce531{constructor(_0x5d1c3a,_0x56524a,_0x843361,_0x5574cf){const _0x1dbca4=_0x235839;_0x4ab372(this,'_shapes',[]),_0x4ab372(this,_0x1dbca4(0x38d),null),_0x4ab372(this,_0x1dbca4(0x555),null),_0x4ab372(this,_0x1dbca4(0x339),null),_0x4ab372(this,_0x1dbca4(0x4e6),null),_0x4ab372(this,_0x1dbca4(0x542),null),(this['_cursor']=_0x5d1c3a,this['_scene']=_0x56524a,this[_0x1dbca4(0x303)]=_0x843361,this[_0x1dbca4(0x251)]=_0x5574cf,this[_0x1dbca4(0x1ce)]());}set[_0x235839(0x54f)](_0x2ee65e){const _0x5d2203=_0x235839;_0x2ee65e?(this[_0x5d2203(0x339)]&&this[_0x5d2203(0x339)][_0x5d2203(0x4d2)](),this['_textBubble']&&this[_0x5d2203(0x555)][_0x5d2203(0x1ed)]()):(this[_0x5d2203(0x339)]&&this['_anchorDot']['show'](),this[_0x5d2203(0x555)]&&this[_0x5d2203(0x555)][_0x5d2203(0x4d2)]());}[_0x235839(0x327)](){const _0x430b92=_0x235839;for(const _0x4f26d8 of this['_shapes'])_0x4f26d8[_0x430b92(0x327)]();this[_0x430b92(0x555)]&&this[_0x430b92(0x555)][_0x430b92(0x327)](),this[_0x430b92(0x339)]&&this[_0x430b92(0x339)][_0x430b92(0x327)](),this[_0x430b92(0x38d)]&&this[_0x430b92(0x38d)][_0x430b92(0x327)](),this[_0x430b92(0x542)]&&this['_eventUnsubscribe']();}[_0x235839(0x1ce)](){const _0x5516f9=_0x235839;var _0x426953;const {_docSkeleton:_0x3e08e2,_document:_0x2ce168}=this,{color:_0x8369f0,name:_0x40f6a2,ranges:_0xdacc5c}=this[_0x5516f9(0x520)],_0x888625=_0x2ce168[_0x5516f9(0x3bb)](),{docsLeft:_0x4ea648,docsTop:_0x317471}=_0x888625,_0x249c7e=new _0x542e88['NodePositionConvertToCursor'](_0x888625,_0x3e08e2);for(const {startOffset:_0x2d14f9,endOffset:_0x3fd5f1,collapsed:_0x5c8ba1,isActive:_0x5ed64a}of _0xdacc5c){const _0xd040af=_0x3e08e2['findNodePositionByCharIndex'](_0x2d14f9),_0x532d15=_0x3e08e2[_0x5516f9(0x38f)](_0x3fd5f1);if(_0x5ed64a){const {contentBoxPointGroup:_0x5a8944}=_0x249c7e['getRangePointData'](_0x532d15,_0x532d15);if(_0x5a8944[_0x5516f9(0x23b)]===0x0)continue;this[_0x5516f9(0x4f2)](_0x8369f0,_0x5a8944,_0x4ea648,_0x317471,_0x40f6a2),this[_0x5516f9(0x542)]=this[_0x5516f9(0x25e)]();}if(!_0x5c8ba1&&_0xd040af&&_0x532d15){if(_0x542e88['isValidRectRange'](_0xd040af,_0x532d15)){const _0x30a545=new _0x542e88['NodePositionConvertToRectRange'](_0x888625,_0x3e08e2),{pointGroup:_0x3afaa3}=(_0x426953=_0x30a545[_0x5516f9(0x2e6)](_0xd040af,_0x532d15))!=null?_0x426953:{};if(_0x3afaa3==null||_0x3afaa3[_0x5516f9(0x23b)]===0x0)continue;this['_drawRectRange'](_0x8369f0,_0x3afaa3,_0x4ea648,_0x317471);}else{const {contentBoxPointGroup:_0x32d1b9}=_0x249c7e[_0x5516f9(0x2e6)](_0xd040af,_0x532d15);if(_0x32d1b9[_0x5516f9(0x23b)]===0x0)continue;this[_0x5516f9(0x19c)](_0x8369f0,_0x32d1b9,_0x4ea648,_0x317471);}}}}[_0x235839(0x4f2)](_0xa529c6,_0x26cf13,_0x6b5619,_0x52a1e5,_0x22d439){const _0x395565=_0x235839,_0x5bd9f4=this[_0x395565(0x299)](_0x26cf13),{left:_0x1ad9a5,top:_0x370fea,height:_0x202635}=_0x5bd9f4,_0x979bb0=this[_0x395565(0x227)](),_0x2f35fc=_0x5c7b3e/_0x979bb0,_0x27beda=new _0xc3fdc['Rect'](_0x53121e+_0x19baed[_0x395565(0x21a)][_0x395565(0x56c)](_0x14c497),{'left':_0x1ad9a5+_0x6b5619-_0x2f35fc,'top':_0x370fea+_0x52a1e5,'height':_0x202635,'width':_0x22f6d0,'fill':_0xa529c6||_0xc3fdc[_0x395565(0x424)](_0x19baed['COLORS']['black'],0x0),'strokeWidth':_0x2f35fc,'stroke':_0x47c827,'evented':!0x0});this['_anchor']=_0x27beda,this[_0x395565(0x39a)][_0x395565(0x523)](_0x27beda,_0x542e88[_0x395565(0x304)]);const _0x1cf854=new _0xc3fdc[(_0x395565(0x4b5))](_0x53121e+_0x19baed[_0x395565(0x21a)][_0x395565(0x56c)](_0x14c497),{'left':_0x1ad9a5+_0x6b5619-_0x2f35fc,'top':_0x370fea+_0x52a1e5-_0x2a5b50/0x2,'height':_0x2a5b50,'width':_0x2a5b50,'fill':_0xa529c6||_0xc3fdc['getColor'](_0x19baed[_0x395565(0x269)][_0x395565(0x51c)],0x0),'strokeWidth':0x0,'stroke':_0xa529c6||_0xc3fdc[_0x395565(0x424)](_0x19baed[_0x395565(0x269)][_0x395565(0x51c)],0x0),'evented':!0x1});this['_anchorDot']=_0x1cf854,this[_0x395565(0x39a)][_0x395565(0x523)](_0x1cf854,_0x542e88[_0x395565(0x304)]);const _0x52d6d9=new _0x508bde(_0x53121e+_0x19baed['Tools']['generateRandomId'](_0x14c497),{'left':_0x1ad9a5+_0x6b5619-_0x2f35fc,'top':_0x370fea+_0x52a1e5-_0x54de90,'text':_0x22d439,'color':_0xa529c6});this[_0x395565(0x555)]=_0x52d6d9,this[_0x395565(0x39a)][_0x395565(0x523)](_0x52d6d9,_0x542e88['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}[_0x235839(0x25e)](){const _0x410d58=_0x235839,_0x315b4b=this[_0x410d58(0x38d)][_0x410d58(0x42a)][_0x410d58(0x3e0)](()=>{this['_hover']=!0x0;}),_0x272208=this[_0x410d58(0x38d)][_0x410d58(0x250)][_0x410d58(0x3e0)](()=>{const _0x34c773=_0x410d58;this[_0x34c773(0x4e6)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0xec3e7=_0x34c773;this[_0xec3e7(0x54f)]=!0x1;},0x7d0);});return()=>{const _0x312950=_0x410d58;_0x315b4b[_0x312950(0x15d)](),_0x272208[_0x312950(0x15d)]();};}[_0x235839(0x19c)](_0x430309,_0x29e9bc,_0x540f94,_0x45928d){const _0x3dcb10=_0x235839,_0x3f9b04=new _0x19baed[(_0x3dcb10(0x4bc))](_0x430309)['setAlpha'](0.2)[_0x3dcb10(0x1f8)](),_0x5a3116=new _0xc3fdc[(_0x3dcb10(0x46e))](_0x53e97f+_0x19baed['Tools']['generateRandomId'](_0x14c497),{'pointsGroup':_0x29e9bc,'fill':_0x3f9b04||_0xc3fdc[_0x3dcb10(0x424)](_0x19baed[_0x3dcb10(0x269)][_0x3dcb10(0x51c)],0.2),'left':_0x540f94,'top':_0x45928d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3dcb10(0x4f3)][_0x3dcb10(0x4e1)](_0x5a3116),this[_0x3dcb10(0x39a)][_0x3dcb10(0x523)](_0x5a3116,_0x542e88[_0x3dcb10(0x304)]);}[_0x235839(0x3b8)](_0x56dca2,_0x4a6bed,_0x58fbec,_0x3efe05){const _0x4f14c6=_0x235839,_0x63cb50=new _0x19baed[(_0x4f14c6(0x4bc))](_0x56dca2)[_0x4f14c6(0x56e)](0.2)[_0x4f14c6(0x1f8)](),_0x3cd922=new _0xc3fdc[(_0x4f14c6(0x46e))](_0x4dfe33+_0x19baed[_0x4f14c6(0x21a)][_0x4f14c6(0x56c)](_0x14c497),{'pointsGroup':_0x4a6bed,'fill':_0x63cb50||_0xc3fdc[_0x4f14c6(0x424)](_0x19baed[_0x4f14c6(0x269)][_0x4f14c6(0x51c)],0.2),'left':_0x58fbec,'top':_0x3efe05,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4f14c6(0x4f3)][_0x4f14c6(0x4e1)](_0x3cd922),this[_0x4f14c6(0x39a)]['addObject'](_0x3cd922,_0x542e88[_0x4f14c6(0x304)]);}[_0x235839(0x299)](_0x4f62dc){const _0xa2fcec=_0x4f62dc[0x0],_0x5be847=_0xa2fcec[0x0],_0x1b3387=_0xa2fcec[0x2],{x:_0x450837,y:_0x10ac75}=_0x5be847,{x:_0x1f944c,y:_0x4bfd16}=_0x1b3387;return{'left':_0x450837,'top':_0x10ac75,'width':_0x1f944c-_0x450837,'height':_0x4bfd16-_0x10ac75};}[_0x235839(0x227)](){const _0x17d847=_0x235839,{scaleX:_0x595a38,scaleY:_0x406114}=this[_0x17d847(0x39a)][_0x17d847(0x543)]();return Math[_0x17d847(0x315)](_0x595a38,_0x406114);}}var _0x4e91f8=Object[_0x235839(0x27f)],_0x1f0fb5=Object['getOwnPropertyDescriptor'],_0x415c45=(_0x185ea7,_0x186711,_0x12f6ee,_0x1d2005)=>{const _0x3c2f63=_0x235839;for(var _0x59dfbd=_0x1d2005>0x1?void 0x0:_0x1d2005?_0x1f0fb5(_0x186711,_0x12f6ee):_0x186711,_0x5781de=_0x185ea7[_0x3c2f63(0x23b)]-0x1,_0x33d577;_0x5781de>=0x0;_0x5781de--)(_0x33d577=_0x185ea7[_0x5781de])&&(_0x59dfbd=(_0x1d2005?_0x33d577(_0x186711,_0x12f6ee,_0x59dfbd):_0x33d577(_0x59dfbd))||_0x59dfbd);return _0x1d2005&&_0x59dfbd&&_0x4e91f8(_0x186711,_0x12f6ee,_0x59dfbd),_0x59dfbd;},_0x3f762b=(_0x2f0558,_0x447984)=>(_0x23b1f3,_0x5b8e3e)=>_0x447984(_0x23b1f3,_0x5b8e3e,_0x2f0558);let _0x53ab8c=class extends _0x19baed[_0x235839(0x35e)]{constructor(_0x2c2fd3,_0x2a3e22,_0x5daa0c,_0x2d9af0,_0x1acb23){const _0xf20e6=_0x235839;super(),_0x4ab372(this,_0xf20e6(0x239),[]),_0x4ab372(this,_0xf20e6(0x253),[]),(this[_0xf20e6(0x20f)]=_0x2c2fd3,this[_0xf20e6(0x3ff)]=_0x2a3e22,this[_0xf20e6(0x290)]=_0x5daa0c,this['_commandService']=_0x2d9af0,this[_0xf20e6(0x2db)]=_0x1acb23,this[_0xf20e6(0x3e3)]());}[_0x235839(0x3e3)](){const _0x3529ab=_0x235839,_0x32e0a5=this[_0x3529ab(0x20f)][_0x3529ab(0x1b3)],_0x167c16=this[_0x3529ab(0x3ff)];this[_0x3529ab(0x4e4)](_0x5a8f79[_0x3529ab(0x1c6)]([this[_0x3529ab(0x290)][_0x3529ab(0x535)](_0x32e0a5),this['_themeService']['currentTheme$']])[_0x3529ab(0x53f)](_0x555af6[_0x3529ab(0x3fa)](([_0x4b00c2,_0x14451e])=>({'skeleton':_0x167c16['getSkeleton'](),'cursors':[..._0x4b00c2[_0x3529ab(0x377)]()][_0x3529ab(0x401)](_0x26f4ed=>({..._0x26f4ed,'color':_0x14451e[_0x26f4ed['color']]}))})))[_0x3529ab(0x36a)](_0x4f0003=>{const _0x38950c=_0x3529ab;if(this[_0x38950c(0x3d6)](),_0x4f0003){const {skeleton:_0x3a2893,cursors:_0x70f0f6}=_0x4f0003;this[_0x38950c(0x39b)](_0x3a2893,_0x70f0f6);}})),this[_0x3529ab(0x1ef)](),this[_0x3529ab(0x34f)]();}['_updateCollabCursors'](_0x4e501f,_0x138737){const _0x61048f=_0x235839,{scene:_0x5be06d,mainComponent:_0x558cce}=this['_context'],_0xf147a3=_0x138737['map'](_0x3275f4=>new _0x2ce531(_0x3275f4,_0x5be06d,_0x4e501f,_0x558cce));this[_0x61048f(0x239)]=_0xf147a3,this[_0x61048f(0x253)]=_0x138737;}['_refreshCollabCursors'](){const _0x5a8574=_0x235839;this[_0x5a8574(0x3d6)]();const {scene:_0x1a7683,mainComponent:_0xb68f51}=this[_0x5a8574(0x20f)],_0x4d3caf=this[_0x5a8574(0x3ff)][_0x5a8574(0x341)](),_0x26f764=this[_0x5a8574(0x253)]['map'](_0x1cbf20=>new _0x2ce531(_0x1cbf20,_0x1a7683,_0x4d3caf,_0xb68f51));this[_0x5a8574(0x239)]=_0x26f764;}[_0x235839(0x3d6)](){const _0x44bbb5=_0x235839;this[_0x44bbb5(0x239)][_0x44bbb5(0x2a6)](_0x1560b4=>_0x1560b4['dispose']()),this[_0x44bbb5(0x239)]=[];}[_0x235839(0x34f)](){const _0x4b3acc=_0x235839,_0x378cb1=[_0x542e88[_0x4b3acc(0x35a)]['id']];this[_0x4b3acc(0x4e4)](this[_0x4b3acc(0x1b8)][_0x4b3acc(0x196)](_0x41c042=>{const _0x5d41bc=_0x4b3acc;_0x378cb1['includes'](_0x41c042['id'])&&_0x41c042[_0x5d41bc(0x305)][_0x5d41bc(0x1b3)]===this['_context']['unitId']&&this[_0x5d41bc(0x1ff)]();}));}['_initResize'](){const _0x20d9d8=_0x235839;this[_0x20d9d8(0x4e4)](_0x19baed[_0x20d9d8(0x447)](this[_0x20d9d8(0x20f)][_0x20d9d8(0x2a7)][_0x20d9d8(0x517)])[_0x20d9d8(0x53f)](_0x555af6[_0x20d9d8(0x1e5)](_0x404c39=>_0x404c39[_0x20d9d8(0x3f3)]===_0xc3fdc[_0x20d9d8(0x465)][_0x20d9d8(0x18d)]),_0x555af6[_0x20d9d8(0x440)](0x10))[_0x20d9d8(0x36a)](()=>{const _0x204cf0=_0x20d9d8;this[_0x204cf0(0x1ff)]();}));}};_0x53ab8c=_0x415c45([_0x3f762b(0x1,_0x19baed['Inject'](_0x40db1c[_0x235839(0x539)])),_0x3f762b(0x2,_0x19baed[_0x235839(0x431)](_0x1b12fb)),_0x3f762b(0x3,_0x19baed['ICommandService']),_0x3f762b(0x4,_0x19baed[_0x235839(0x431)](_0x19baed[_0x235839(0x389)]))],_0x53ab8c);const _0x1dbec7=0x1,_0x4129e6=1.5;class _0x53e7d3 extends _0xc3fdc[_0x235839(0x190)]{constructor(_0xef58d9,_0x22cc6a){const _0x2e7cc2=_0x235839;super(_0xef58d9,_0x22cc6a),_0x4ab372(this,_0x2e7cc2(0x243)),_0x4ab372(this,'_hovered',!0x1),_0x4ab372(this,_0x2e7cc2(0x56f)),_0x4ab372(this,'_name',''),_0x4ab372(this,'_labelPosition',_0x2e7cc2(0x191)),_0x4ab372(this,_0x2e7cc2(0x30e)),(_0x22cc6a&&this['setShapeProps'](_0x22cc6a),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x2e7cc2(0x444)]({'hovered':!0x0})),this[_0x2e7cc2(0x250)][_0x2e7cc2(0x3e0)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x235839(0x444)](_0x249a92){const _0x57ff01=_0x235839;var _0x121633,_0x5b8513,_0xc7440d,_0x327e68,_0x1607f8,_0x50a164;this[_0x57ff01(0x243)]=(_0x121633=_0x249a92['color'])!=null?_0x121633:this[_0x57ff01(0x243)],this[_0x57ff01(0x403)]=(_0x5b8513=_0x249a92['hovered'])!=null?_0x5b8513:this[_0x57ff01(0x403)],this[_0x57ff01(0x56f)]=(_0xc7440d=_0x249a92[_0x57ff01(0x274)])!=null?_0xc7440d:this['_range'],this[_0x57ff01(0x22d)]=(_0x327e68=_0x249a92[_0x57ff01(0x55f)])!=null?_0x327e68:this[_0x57ff01(0x22d)],this[_0x57ff01(0x429)]=(_0x1607f8=_0x249a92['labelPosition'])!=null?_0x1607f8:this[_0x57ff01(0x429)],this['_backgroundColor']=(_0x50a164=_0x249a92[_0x57ff01(0x430)])!=null?_0x50a164:this[_0x57ff01(0x30e)],this['transformByState']({'width':_0x249a92[_0x57ff01(0x574)],'height':_0x249a92[_0x57ff01(0x1d3)]});}[_0x235839(0x39c)](_0x18f3c8){const _0x4ce4ee=_0x235839,{row:_0x65051b,column:_0x109cff}=_0x18f3c8;if(_0x65051b>=this[_0x4ce4ee(0x56f)][_0x4ce4ee(0x212)]&&_0x65051b<=this[_0x4ce4ee(0x56f)][_0x4ce4ee(0x402)]&&_0x109cff>=this[_0x4ce4ee(0x56f)][_0x4ce4ee(0x4f8)]&&_0x109cff<=this[_0x4ce4ee(0x56f)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x4ce4ee(0x444)]({'hovered':!0x1});}[_0x235839(0x438)](_0x2afdbb){return!0x1;}[_0x235839(0x29c)](_0x473334){const _0x1c48f0=_0x235839;_0xc3fdc['Rect']['drawWith'](_0x473334,{'width':this[_0x1c48f0(0x574)],'height':this[_0x1c48f0(0x1d3)],'strokeWidth':_0x4129e6,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x1c48f0(0x30e)]}),this[_0x1c48f0(0x403)]&&(_0x473334['save'](),_0x473334[_0x1c48f0(0x323)](0x1,0x0,0x0,0x1,this['width'],this[_0x1c48f0(0x429)]===_0x1c48f0(0x31e)?0x0:-_0x54de90),_0x508bde['drawWith'](_0x473334,{'text':this[_0x1c48f0(0x22d)],'color':this[_0x1c48f0(0x243)]}),_0x473334['restore']());}}var _0x507e58=Object[_0x235839(0x27f)],_0x11e7c2=Object[_0x235839(0x2ee)],_0x4cb1cd=(_0x26b9e0,_0x8f77f9,_0x2af749,_0x58cb60)=>{const _0x3f26f8=_0x235839;for(var _0xff1d2b=_0x58cb60>0x1?void 0x0:_0x58cb60?_0x11e7c2(_0x8f77f9,_0x2af749):_0x8f77f9,_0x16f5a7=_0x26b9e0[_0x3f26f8(0x23b)]-0x1,_0x47bbe4;_0x16f5a7>=0x0;_0x16f5a7--)(_0x47bbe4=_0x26b9e0[_0x16f5a7])&&(_0xff1d2b=(_0x58cb60?_0x47bbe4(_0x8f77f9,_0x2af749,_0xff1d2b):_0x47bbe4(_0xff1d2b))||_0xff1d2b);return _0x58cb60&&_0xff1d2b&&_0x507e58(_0x8f77f9,_0x2af749,_0xff1d2b),_0xff1d2b;},_0x147237=(_0x17ffd4,_0x8c31db)=>(_0x34dc58,_0x517361)=>_0x8c31db(_0x34dc58,_0x517361,_0x17ffd4);const _0xa75c81=0x1389;let _0x1d6de5=class extends _0x19baed[_0x235839(0x35e)]{constructor(_0x3bff72,_0x3c7d97,_0x4553bc,_0x350fc6){const _0x12caa3=_0x235839;super(),_0x4ab372(this,_0x12caa3(0x253),new Set()),_0x4ab372(this,_0x12caa3(0x17e),null),(this[_0x12caa3(0x20f)]=_0x3bff72,this[_0x12caa3(0x3e1)]=_0x3c7d97,this[_0x12caa3(0x290)]=_0x4553bc,this['_themeService']=_0x350fc6,this['_init']());}[_0x235839(0x3e3)](){const _0x347b7b=_0x235839;this[_0x347b7b(0x3e1)]['currentSkeleton$'][_0x347b7b(0x53f)](_0x555af6[_0x347b7b(0x36f)](this[_0x347b7b(0x1eb)]),_0x555af6[_0x347b7b(0x49e)](_0x141ac8=>{const _0xd50418=_0x347b7b;if(_0x141ac8){const _0x2036d3=_0x141ac8[_0xd50418(0x201)];return _0x5a8f79['combineLatest'](this[_0xd50418(0x290)][_0xd50418(0x535)](this[_0xd50418(0x20f)][_0xd50418(0x1b3)]),this[_0xd50418(0x2db)][_0xd50418(0x3dd)])['pipe'](_0x555af6[_0xd50418(0x3fa)](([_0xe7bc83,_0x14d57c])=>{const _0x2c79c5=new Map();return _0xe7bc83['forEach']((_0x490ae6,_0x2d40d5)=>{const _0x5eac32=_0x16a9;if(_0x490ae6[_0x5eac32(0x2d7)]===_0x2036d3){const _0x5685ef={..._0x490ae6};_0x5685ef['color']=_0x14d57c[_0x490ae6[_0x5eac32(0x55d)]],_0x2c79c5[_0x5eac32(0x3ce)](_0x2d40d5,_0x5685ef);}}),{'skeleton':_0x141ac8,'cursors':_0x2c79c5};}));}return _0x5a8f79['of']({'skeleton':null,'cursors':new Map()});}))[_0x347b7b(0x36a)](({skeleton:_0x430049,cursors:_0x57df63})=>{const _0x177c6b=_0x347b7b;this[_0x177c6b(0x3d6)](),_0x430049&&this['_updateCollabCursors'](_0x430049,_0x57df63);}),this[_0x347b7b(0x3e1)]['currentSkeleton$']['subscribe'](_0x3d587a=>{const _0x2fc21b=_0x347b7b;if(_0x3d587a==null)return;const {skeleton:_0xbb7ebb}=_0x3d587a,{scene:_0x1a4633}=this[_0x2fc21b(0x20f)];_0x1a4633['onPointerMove$']['subscribeEvent'](_0x19baed['debounce'](_0x4e43a5=>{const _0x2c1769=_0x2fc21b;var _0x2e3385,_0x41a98e;const {offsetX:_0xe1f4fc,offsetY:_0x445b2c}=_0x4e43a5,{x:_0x191dd9,y:_0x5dcb06}=_0x1a4633[_0x2c1769(0x585)](_0xc3fdc[_0x2c1769(0x3eb)][_0x2c1769(0x284)]([_0xe1f4fc,_0x445b2c])),{scaleX:_0x41b4f1,scaleY:_0x79b44a}=_0x1a4633[_0x2c1769(0x543)](),_0x5dd98e=_0x1a4633[_0x2c1769(0x48f)](_0x164cf7[_0x2c1769(0x4d9)]['VIEW_MAIN']),_0xc5c8b1=_0x1a4633['getVpScrollXYInfoByPosToVp'](_0xc3fdc[_0x2c1769(0x3eb)][_0x2c1769(0x284)]([_0x191dd9,_0x5dcb06]),_0x5dd98e),_0x49e756=_0xbb7ebb['getCellPositionByOffset'](_0xe1f4fc,_0x445b2c,_0x41b4f1,_0x79b44a,_0xc5c8b1);((_0x2e3385=this[_0x2c1769(0x17e)])==null?void 0x0:_0x2e3385[_0x2c1769(0x48a)])===_0x49e756['column']&&((_0x41a98e=this[_0x2c1769(0x17e)])==null?void 0x0:_0x41a98e['row'])===_0x49e756[_0x2c1769(0x446)]||this[_0x2c1769(0x253)]['forEach'](_0x455998=>{const _0x3f7299=_0x2c1769;_0x455998[_0x3f7299(0x39c)](_0x49e756);});},0x64));});}[_0x235839(0x39b)](_0x51d297,_0x2f1a9d){const _0x503d34=_0x235839;var _0x546d15;const _0x49aeee=(_0x546d15=this[_0x503d34(0x3e1)]['getCurrent']())==null?void 0x0:_0x546d15[_0x503d34(0x399)];if(!_0x49aeee)return;const _0xcfa898=this['_getSheetObject']();if(!_0xcfa898)return;this[_0x503d34(0x253)][_0x503d34(0x2a6)](_0x2e4fb4=>{const _0x16a772=_0x503d34;_0x2e4fb4[_0x16a772(0x3f8)]();});const {scene:_0x3129f6}=_0xcfa898,_0x598f36=_0x16c44b(Array[_0x503d34(0x2aa)](_0x2f1a9d['values']()))[_0x503d34(0x3fa)](_0xe9c3ea=>{const _0x5538c1=_0x503d34,{color:_0x3cd96d,range:_0x4c90fa,name:_0x4aec27,selection:_0x3a5a73,sheetID:_0x32ef84}=_0xe9c3ea,{startColumn:_0x4c763d,startRow:_0x3a8e6f,endColumn:_0x1dcb07,endRow:_0x13d71f}=_0x4c90fa,_0x4a4892=_0x164cf7['getCoordByCell'](_0x3a8e6f,_0x4c763d,_0x3129f6,_0x49aeee),_0x37b6e8=_0x164cf7[_0x5538c1(0x363)](_0x13d71f,_0x1dcb07,_0x3129f6,_0x49aeee),{columnHeaderHeightAndMarginTop:_0x237384}=_0x49aeee,{startX:_0x47ec03,startY:_0x330fd6}=_0x4a4892,{endX:_0x1e6bb6,endY:_0x32c489}=_0x37b6e8,_0x552602=_0x1e6bb6-_0x47ec03,_0x58918c=_0x32c489-_0x330fd6,_0x5535ff={'labelPosition':_0x330fd6-_0x237384>=_0x54de90?'top':_0x5538c1(0x31e),'sheetID':_0x32ef84,'range':_0x4c90fa,'color':_0x3cd96d,'name':_0x4aec27,'selection':_0x3a5a73,'left':_0x47ec03,'top':_0x330fd6,'width':_0x552602,'height':_0x58918c,'evented':!0x1,'zIndex':_0xa75c81};return new _0x53e7d3(_0x4aec27,_0x5535ff);});_0x3129f6[_0x503d34(0x31b)](_0x598f36,_0x1dbec7),this[_0x503d34(0x253)]=new Set(_0x598f36);}[_0x235839(0x3d6)](){const _0x109f60=_0x235839;var _0x1b491d;(_0x1b491d=this[_0x109f60(0x253)])==null||_0x1b491d[_0x109f60(0x2a6)](_0x143a73=>_0x143a73['dispose']());}['_getSheetObject'](){const _0xa9cf81=_0x235839;return _0x164cf7[_0xa9cf81(0x536)](this[_0xa9cf81(0x20f)]['unit'],this[_0xa9cf81(0x20f)]);}};_0x1d6de5=_0x4cb1cd([_0x147237(0x1,_0x19baed[_0x235839(0x431)](_0x164cf7[_0x235839(0x40e)])),_0x147237(0x2,_0x19baed[_0x235839(0x431)](_0x1b12fb)),_0x147237(0x3,_0x19baed[_0x235839(0x431)](_0x19baed['ThemeService']))],_0x1d6de5);function _0x16c44b(_0x39c0fb){const _0x59b787=_0x235839,_0x510376=new Map();return _0x39c0fb[_0x59b787(0x2a6)](_0x24c54a=>{const _0x28dcad=_0x59b787;if(_0x510376[_0x28dcad(0x461)](_0x24c54a[_0x28dcad(0x515)])){const _0x2c8485=_0x510376[_0x28dcad(0x17a)](_0x24c54a[_0x28dcad(0x515)]);_0x2c8485[_0x28dcad(0x55f)]+=',\x20'+_0x24c54a[_0x28dcad(0x55f)];}else _0x510376['set'](_0x24c54a[_0x28dcad(0x515)],_0x24c54a);}),Array['from'](_0x510376['values']());}var _0x4c0d74=function(){return _0x4c0d74=Object['assign']||function(_0x5e6ca3){const _0x2e1bc3=_0x16a9;for(var _0x4ba5bb,_0x2a21f3=0x1,_0x394807=arguments[_0x2e1bc3(0x23b)];_0x2a21f3<_0x394807;_0x2a21f3++){_0x4ba5bb=arguments[_0x2a21f3];for(var _0x569e4d in _0x4ba5bb)Object[_0x2e1bc3(0x3c6)][_0x2e1bc3(0x1d6)][_0x2e1bc3(0x2e7)](_0x4ba5bb,_0x569e4d)&&(_0x5e6ca3[_0x569e4d]=_0x4ba5bb[_0x569e4d]);}return _0x5e6ca3;},_0x4c0d74['apply'](this,arguments);},_0x34ff1d=function(_0x55156b,_0x4b0128){const _0x2765a1=_0x235839;var _0x4c85d7={};for(var _0x594948 in _0x55156b)Object[_0x2765a1(0x3c6)][_0x2765a1(0x1d6)]['call'](_0x55156b,_0x594948)&&_0x4b0128['indexOf'](_0x594948)<0x0&&(_0x4c85d7[_0x594948]=_0x55156b[_0x594948]);if(_0x55156b!=null&&typeof Object[_0x2765a1(0x252)]==_0x2765a1(0x4b8)){for(var _0x1c9abe=0x0,_0x594948=Object[_0x2765a1(0x252)](_0x55156b);_0x1c9abe<_0x594948[_0x2765a1(0x23b)];_0x1c9abe++)_0x4b0128[_0x2765a1(0x550)](_0x594948[_0x1c9abe])<0x0&&Object[_0x2765a1(0x3c6)][_0x2765a1(0x273)][_0x2765a1(0x2e7)](_0x55156b,_0x594948[_0x1c9abe])&&(_0x4c85d7[_0x594948[_0x1c9abe]]=_0x55156b[_0x594948[_0x1c9abe]]);}return _0x4c85d7;},_0x10f8e9=_0x621d91['forwardRef'](function(_0x31b1ff,_0x2cf4e8){const _0x167a44=_0x235839;var _0x3fa8f8=_0x31b1ff[_0x167a44(0x1f9)],_0x4bcfeb=_0x31b1ff['id'],_0x2a674e=_0x31b1ff[_0x167a44(0x152)],_0x2bdd3f=_0x31b1ff[_0x167a44(0x342)],_0x33023c=_0x34ff1d(_0x31b1ff,[_0x167a44(0x1f9),'id',_0x167a44(0x152),_0x167a44(0x342)]),_0x4a40d4=_0x167a44(0x1b1)[_0x167a44(0x4f0)](_0x4bcfeb,'\x20')['concat'](_0x2a674e||'')[_0x167a44(0x257)](),_0x55faf8=_0x621d91['useRef']('_'[_0x167a44(0x4f0)](_0x2f48c9()));return _0x2d8a49(_0x3fa8f8,''[_0x167a44(0x4f0)](_0x4bcfeb),{'defIds':_0x3fa8f8[_0x167a44(0x1cb)],'idSuffix':_0x55faf8['current']},_0x4c0d74({'ref':_0x2cf4e8,'className':_0x4a40d4},_0x33023c),_0x2bdd3f);});function _0x2d8a49(_0x2d872c,_0x34a18a,_0x4ec32f,_0x288d1a,_0x395a20){const _0x1457c2=_0x235839;return _0x621d91[_0x1457c2(0x4cd)](_0x2d872c[_0x1457c2(0x55e)],_0x4c0d74(_0x4c0d74({'key':_0x34a18a},_0x24dcb5(_0x2d872c,_0x4ec32f,_0x395a20)),_0x288d1a),(_0x59141d(_0x2d872c,_0x4ec32f)[_0x1457c2(0x41b)]||[])[_0x1457c2(0x3fa)](function(_0x38f90a,_0x15934a){const _0x55a055=_0x1457c2;return _0x2d8a49(_0x38f90a,''[_0x55a055(0x4f0)](_0x34a18a,'-')[_0x55a055(0x4f0)](_0x2d872c[_0x55a055(0x55e)],'-')[_0x55a055(0x4f0)](_0x15934a),_0x4ec32f,void 0x0,_0x395a20);}));}function _0x24dcb5(_0x364fe0,_0x263cac,_0x1adb88){const _0x59894d=_0x235839;var _0x2e7376=_0x4c0d74({},_0x364fe0['attrs']);_0x1adb88!=null&&_0x1adb88[_0x59894d(0x25d)]&&_0x2e7376[_0x59894d(0x4de)]===_0x59894d(0x25d)&&(_0x2e7376['fill']=_0x1adb88[_0x59894d(0x25d)]);var _0x117947=_0x263cac[_0x59894d(0x1cb)];return!_0x117947||_0x117947[_0x59894d(0x23b)]===0x0||(_0x364fe0[_0x59894d(0x55e)]==='use'&&_0x2e7376[_0x59894d(0x2fd)]&&(_0x2e7376[_0x59894d(0x2fd)]=_0x2e7376['xlink:href']+_0x263cac[_0x59894d(0x3c2)]),Object[_0x59894d(0x388)](_0x2e7376)[_0x59894d(0x2a6)](function(_0x3d254d){const _0x1457fb=_0x59894d;var _0x2b8b36=_0x3d254d[0x0],_0x53b88a=_0x3d254d[0x1];typeof _0x53b88a==_0x1457fb(0x413)&&(_0x2e7376[_0x2b8b36]=_0x53b88a[_0x1457fb(0x220)](/url\(#(.*)\)/,_0x1457fb(0x4c4)['concat'](_0x263cac['idSuffix'],')')));})),_0x2e7376;}function _0x59141d(_0x483574,_0x443fdc){const _0x1482cb=_0x235839;var _0x41f1ef,_0x214054=_0x443fdc['defIds'];return!_0x214054||_0x214054[_0x1482cb(0x23b)]===0x0?_0x483574:_0x483574[_0x1482cb(0x55e)]===_0x1482cb(0x3d0)&&(!((_0x41f1ef=_0x483574[_0x1482cb(0x41b)])===null||_0x41f1ef===void 0x0)&&_0x41f1ef[_0x1482cb(0x23b)])?_0x4c0d74(_0x4c0d74({},_0x483574),{'children':_0x483574['children'][_0x1482cb(0x3fa)](function(_0x39cdf3){const _0xb7f594=_0x1482cb;return typeof _0x39cdf3[_0xb7f594(0x1db)]['id']==_0xb7f594(0x413)&&_0x214054&&_0x214054[_0xb7f594(0x550)](_0x39cdf3['attrs']['id'])>-0x1?_0x4c0d74(_0x4c0d74({},_0x39cdf3),{'attrs':_0x4c0d74(_0x4c0d74({},_0x39cdf3['attrs']),{'id':_0x39cdf3[_0xb7f594(0x1db)]['id']+_0x443fdc[_0xb7f594(0x3c2)]})}):_0x39cdf3;})}):_0x483574;}function _0x2f48c9(){const _0x116f62=_0x235839;return Math[_0x116f62(0x575)]()[_0x116f62(0x2b7)](0x24)[_0x116f62(0x406)](0x2,0x8);}_0x10f8e9[_0x235839(0x1d4)]=_0x235839(0x42b);var _0x13268f={'tag':_0x235839(0x162),'attrs':{'fill':_0x235839(0x390),'viewBox':_0x235839(0x4f9),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x235839(0x278)},'children':[{'tag':_0x235839(0x3ab),'attrs':{'stroke':_0x235839(0x52d),'d':'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','strokeLinecap':_0x235839(0x540),'strokeLinejoin':_0x235839(0x540),'strokeWidth':1.2}}]},{'tag':_0x235839(0x3d0),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x235839(0x1ec)},'children':[{'tag':_0x235839(0x3ab),'attrs':{'fill':_0x235839(0x50b),'d':_0x235839(0x55a)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x59c404=_0x621d91[_0x235839(0x2ed)](function(_0x476f51,_0x31f79b){const _0x44caa6=_0x235839;return _0x621d91[_0x44caa6(0x4cd)](_0x10f8e9,Object[_0x44caa6(0x4a4)]({},_0x476f51,{'id':_0x44caa6(0x2cd),'ref':_0x31f79b,'icon':_0x13268f}));});_0x59c404[_0x235839(0x1d4)]=_0x235839(0x30c);var _0xb19854={'tag':'svg','attrs':{'fill':_0x235839(0x390),'viewBox':_0x235839(0x2f4),'width':_0x235839(0x15e),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x235839(0x385)},'children':[{'tag':'path','attrs':{'stroke':_0x235839(0x52d),'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':_0x235839(0x540),'strokeLinejoin':_0x235839(0x540),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x235839(0x4e8),'attrs':{'id':_0x235839(0x242)},'children':[{'tag':_0x235839(0x3ab),'attrs':{'fill':_0x235839(0x50b),'d':_0x235839(0x55a),'transform':'translate(.97)'}}]}]}],'defIds':[_0x235839(0x242)]},_0x1de11e=_0x621d91['forwardRef'](function(_0x18eaa5,_0x247112){const _0x487564=_0x235839;return _0x621d91['createElement'](_0x10f8e9,Object[_0x487564(0x4a4)]({},_0x18eaa5,{'id':'on-line-single','ref':_0x247112,'icon':_0xb19854}));});_0x1de11e[_0x235839(0x1d4)]=_0x235839(0x443);function _0xd9f9a7(_0x1a3d0b){const _0x186305=_0x235839;var _0x21b104,_0x23c944,_0x3498bb='';if(typeof _0x1a3d0b==_0x186305(0x413)||typeof _0x1a3d0b==_0x186305(0x3c1))_0x3498bb+=_0x1a3d0b;else{if(typeof _0x1a3d0b==_0x186305(0x217)){if(Array[_0x186305(0x417)](_0x1a3d0b)){var _0x588bb7=_0x1a3d0b[_0x186305(0x23b)];for(_0x21b104=0x0;_0x21b104<_0x588bb7;_0x21b104++)_0x1a3d0b[_0x21b104]&&(_0x23c944=_0xd9f9a7(_0x1a3d0b[_0x21b104]))&&(_0x3498bb&&(_0x3498bb+='\x20'),_0x3498bb+=_0x23c944);}else{for(_0x23c944 in _0x1a3d0b)_0x1a3d0b[_0x23c944]&&(_0x3498bb&&(_0x3498bb+='\x20'),_0x3498bb+=_0x23c944);}}}return _0x3498bb;}function _0x2b7611(){const _0x1c6da4=_0x235839;for(var _0x179e91,_0x4af828,_0x4257da=0x0,_0x46f6be='',_0x337d56=arguments[_0x1c6da4(0x23b)];_0x4257da<_0x337d56;_0x4257da++)(_0x179e91=arguments[_0x4257da])&&(_0x4af828=_0xd9f9a7(_0x179e91))&&(_0x46f6be&&(_0x46f6be+='\x20'),_0x46f6be+=_0x4af828);return _0x46f6be;}const _0x3a2e80={'onlineStatusIcon':_0x235839(0x240),'onlineStatusTitle':_0x235839(0x573),'onlineStatus':_0x235839(0x2f2),'online':_0x235839(0x33c),'offline':_0x235839(0x20a)};function _0x3542a5(_0x25f0bb){const _0x2ef7ac=_0x235839;switch(_0x25f0bb){case _0x7cfec2[_0x2ef7ac(0x484)]:return _0x2ef7ac(0x168);case _0x7cfec2['CONFLICT']:return _0x2ef7ac(0x158);case _0x7cfec2[_0x2ef7ac(0x506)]:return _0x2ef7ac(0x409);case _0x7cfec2[_0x2ef7ac(0x2b0)]:return _0x2ef7ac(0x55c);case _0x7cfec2[_0x2ef7ac(0x526)]:case _0x7cfec2['AWAITING']:case _0x7cfec2[_0x2ef7ac(0x3c5)]:return _0x2ef7ac(0x3b0);case _0x7cfec2['SYNCED']:return _0x2ef7ac(0x4c5);}}function _0x44851c(_0x1c9637){const _0x2b529e=_0x235839,{status$:_0x533b9d}=_0x1c9637,_0x4d7c44=_0x6ef540[_0x2b529e(0x49a)](_0x533b9d,_0x7cfec2[_0x2b529e(0x2b0)]),_0x458961=_0x19baed[_0x2b529e(0x310)](_0x19baed[_0x2b529e(0x3fc)]),_0x4dbb14=_0x19baed[_0x2b529e(0x310)](_0x3ad279[_0x2b529e(0x1d9)]),_0x419e71=_0x4d7c44!==_0x7cfec2[_0x2b529e(0x484)],_0x2ca662=_0x458961['t'](_0x3542a5(_0x4d7c44)),_0x31a7ab=_0x2b7611(_0x3a2e80[_0x2b529e(0x54d)],{[_0x3a2e80[_0x2b529e(0x3f5)]]:_0x419e71,[_0x3a2e80['offline']]:!_0x419e71}),_0x463a48=_0x419e71?_0x621d91[_0x2b529e(0x4cd)](_0x1de11e,null):_0x621d91['createElement'](_0x59c404,null),_0x7405c5=_0x621d91[_0x2b529e(0x2d8)](()=>{_0x419e71||_0x4dbb14['reconnect']();},[_0x419e71,_0x4dbb14]);function _0x39ba60(){const _0x76e7fb=_0x2b529e;return _0x621d91[_0x76e7fb(0x4cd)](_0x76e7fb(0x235),{'className':_0x31a7ab,'onClick':_0x7405c5},_0x621d91[_0x76e7fb(0x4cd)](_0x76e7fb(0x235),{'className':_0x3a2e80['onlineStatusIcon']},_0x463a48),_0x621d91['createElement'](_0x76e7fb(0x235),{'className':_0x3a2e80[_0x76e7fb(0x1f2)]},_0x2ca662));}return _0x419e71?_0x39ba60():_0x621d91[_0x2b529e(0x4cd)](_0x101c11[_0x2b529e(0x1d7)],{'title':_0x458961['t'](_0x2b529e(0x567))},_0x39ba60());}var _0x344f4c=Object['defineProperty'],_0x32e8fa=Object[_0x235839(0x2ee)],_0x43c723=(_0x1ce88d,_0x17e1e8,_0x4ea268,_0x3679c0)=>{for(var _0x10dbeb=_0x3679c0>0x1?void 0x0:_0x3679c0?_0x32e8fa(_0x17e1e8,_0x4ea268):_0x17e1e8,_0xc33338=_0x1ce88d['length']-0x1,_0x311bbf;_0xc33338>=0x0;_0xc33338--)(_0x311bbf=_0x1ce88d[_0xc33338])&&(_0x10dbeb=(_0x3679c0?_0x311bbf(_0x17e1e8,_0x4ea268,_0x10dbeb):_0x311bbf(_0x10dbeb))||_0x10dbeb);return _0x3679c0&&_0x10dbeb&&_0x344f4c(_0x17e1e8,_0x4ea268,_0x10dbeb),_0x10dbeb;},_0x1c6f1b=(_0x309d73,_0x2e0b4a)=>(_0x7254b3,_0x55a6ec)=>_0x2e0b4a(_0x7254b3,_0x55a6ec,_0x309d73);_0x3ad279[_0x235839(0x249)]=class extends _0x19baed[_0x235839(0x33d)]{constructor(_0x1eb3a3,_0x1825bd,_0xd469b4,_0x1a9b8c){const _0x8e0c5e=_0x235839;super(),_0x4ab372(this,_0x8e0c5e(0x266),new _0x5a8f79['BehaviorSubject'](_0x7cfec2[_0x8e0c5e(0x2b0)])),(this['_univerInstanceService']=_0x1eb3a3,this[_0x8e0c5e(0x490)]=_0x1825bd,this['_injector']=_0xd469b4,this[_0x8e0c5e(0x318)]=_0x1a9b8c,this['_initStatusComponent'](),this[_0x8e0c5e(0x320)]());}[_0x235839(0x320)](){const _0x58755d=_0x235839;this[_0x58755d(0x4e4)](this[_0x58755d(0x1ae)][_0x58755d(0x4f4)]['pipe'](_0x5a8f79['switchMap'](()=>{const _0x10755b=_0x58755d,_0x470b61=this['_univerInstanceService'][_0x10755b(0x456)]();return _0x470b61?this[_0x10755b(0x318)][_0x10755b(0x172)](_0x470b61['getUnitId']()):_0x5a8f79['of'](null);}),_0x5a8f79['switchMap'](_0x1a5f7c=>_0x1a5f7c?_0x1a5f7c[_0x58755d(0x45f)]:_0x5a8f79['of'](_0x7cfec2['NOT_COLLAB'])))[_0x58755d(0x36a)](_0x492e42=>{const _0x3bdb81=_0x58755d;this['_status$'][_0x3bdb81(0x31f)](_0x492e42);}));}[_0x235839(0x4d8)](){const _0x25d7db=_0x235839;this[_0x25d7db(0x4e4)](this[_0x25d7db(0x490)][_0x25d7db(0x57f)](_0x6ef540['BuiltInUIPart'][_0x25d7db(0x33e)],()=>_0x19baed['connectInjector'](_0x165f1b({'status$':this['_status$'][_0x25d7db(0x56d)]()}),this['_injector'])));}},_0x3ad279['DesktopCollaborationStatusDisplayController']=_0x43c723([_0x1c6f1b(0x0,_0x19baed['IUniverInstanceService']),_0x1c6f1b(0x1,_0x6ef540[_0x235839(0x425)]),_0x1c6f1b(0x2,_0x19baed[_0x235839(0x431)](_0x19baed[_0x235839(0x41c)])),_0x1c6f1b(0x3,_0x19baed['Inject'](_0x3ad279[_0x235839(0x489)]))],_0x3ad279[_0x235839(0x249)]);function _0x165f1b(_0x1eb3dd){const {status$:_0x2df293}=_0x1eb3dd;return function(){const _0x3468c1=_0x16a9;return _0x621d91[_0x3468c1(0x4cd)](_0x44851c,{'status$':_0x2df293});};}const _0x2b4687=_0x19baed[_0x235839(0x262)](_0x235839(0x538));var _0x8cc101=Object['defineProperty'],_0x4d51b1=Object['getOwnPropertyDescriptor'],_0x32411=(_0xe94244,_0x4243f9,_0x343c44,_0x5f4281)=>{const _0x3ddcd5=_0x235839;for(var _0x31a6e7=_0x5f4281>0x1?void 0x0:_0x5f4281?_0x4d51b1(_0x4243f9,_0x343c44):_0x4243f9,_0x312105=_0xe94244[_0x3ddcd5(0x23b)]-0x1,_0x2bbacb;_0x312105>=0x0;_0x312105--)(_0x2bbacb=_0xe94244[_0x312105])&&(_0x31a6e7=(_0x5f4281?_0x2bbacb(_0x4243f9,_0x343c44,_0x31a6e7):_0x2bbacb(_0x31a6e7))||_0x31a6e7);return _0x5f4281&&_0x31a6e7&&_0x8cc101(_0x4243f9,_0x343c44,_0x31a6e7),_0x31a6e7;},_0x55e6f1=(_0x5b5593,_0x2c52f3)=>(_0x2bdf59,_0x5f3caa)=>_0x2c52f3(_0x2bdf59,_0x5f3caa,_0x5b5593);_0x3ad279[_0x235839(0x17c)]=class extends _0x19baed[_0x235839(0x35e)]{constructor(_0x3e3f4c,_0x4673f9,_0xabf628,_0x214584,_0x42a6c9,_0x19ae78){const _0x453ed7=_0x235839;super(),this[_0x453ed7(0x36c)]=_0x3e3f4c,this['_logService']=_0x4673f9,this[_0x453ed7(0x1b8)]=_0xabf628,this[_0x453ed7(0x286)]=_0x214584,this[_0x453ed7(0x3f7)]=_0x42a6c9,_0x19ae78?_0x19ae78==null||_0x19ae78[_0x453ed7(0x32c)]()[_0x453ed7(0x258)](()=>this[_0x453ed7(0x3e3)]()):(this[_0x453ed7(0x449)][_0x453ed7(0x2ac)](_0x453ed7(0x185),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x453ed7(0x3e3)]());}async[_0x235839(0x3e3)](){const _0x15d014=_0x235839,_0x1396f1=this[_0x15d014(0x36c)][_0x15d014(0x563)]('unit'),_0x56b13e=this[_0x15d014(0x36c)][_0x15d014(0x563)]('type');if(!_0x1396f1||!_0x56b13e){this[_0x15d014(0x449)][_0x15d014(0x2ac)](_0x15d014(0x185),_0x15d014(0x4b2));return;}switch(Number(_0x56b13e)){case _0x4e8930[_0x15d014(0x48e)]:{const _0x29ea50=await this['_loadSheet'](_0x1396f1);this[_0x15d014(0x47a)](_0x29ea50);break;}case _0x4e8930[_0x15d014(0x2ad)]:{await this[_0x15d014(0x2f8)](_0x1396f1);break;}default:{this['_logService']['error']('[DataLoaderController]',_0x15d014(0x1f5));break;}}}async[_0x235839(0x47a)](_0xa3c64e){const _0x3e0708=_0x235839;await this[_0x3e0708(0x516)](_0xa3c64e),_0xa3c64e['activeSheet$'][_0x3e0708(0x53f)](_0x5a8f79[_0x3e0708(0x36f)](this[_0x3e0708(0x1eb)]))['subscribe'](_0x271e71=>{const _0x5a1e1b=_0x3e0708;_0x271e71&&this[_0x5a1e1b(0x347)](_0x271e71);}),this[_0x3e0708(0x36c)][_0x3e0708(0x245)]['pipe'](_0x5a8f79[_0x3e0708(0x36f)](this['dispose$']))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0xa3c64e));}[_0x235839(0x347)](_0x5831a0,_0x123e15=!0x1){const _0x596ca7=_0x235839,_0x2f1fb0=this[_0x596ca7(0x36c)][_0x596ca7(0x563)](_0x596ca7(0x38c));_0x5831a0[_0x596ca7(0x335)]()!==_0x2f1fb0&&this[_0x596ca7(0x36c)]['setParam'](_0x596ca7(0x38c),_0x5831a0[_0x596ca7(0x335)](),_0x123e15);}async[_0x235839(0x516)](_0x509c14){const _0x3665b8=_0x235839;var _0xadf7d4;const _0x229ca4=this['_urlService'][_0x3665b8(0x563)](_0x3665b8(0x38c));if(!_0x229ca4||!_0x509c14[_0x3665b8(0x31a)](_0x229ca4)){const _0x1e6ba7=_0x509c14[_0x3665b8(0x19b)]()[0x0],_0x23ffd4=_0x509c14[_0x3665b8(0x31a)](_0x1e6ba7);if(!_0x23ffd4)return;this[_0x3665b8(0x347)](_0x23ffd4,!0x0),await this[_0x3665b8(0x1b8)][_0x3665b8(0x28e)](_0x360913[_0x3665b8(0x3a8)]['id'],{'unitId':_0x509c14[_0x3665b8(0x492)](),'subUnitId':_0x1e6ba7});return;}((_0xadf7d4=_0x509c14['getActiveSheet']())==null?void 0x0:_0xadf7d4['getSheetId']())!==_0x229ca4&&await this['_commandService'][_0x3665b8(0x28e)](_0x360913[_0x3665b8(0x3a8)]['id'],{'unitId':_0x509c14[_0x3665b8(0x492)](),'subUnitId':_0x229ca4});}async['_loadSheet'](_0x69f4fc){const _0x30577a=_0x235839;let _0x4d3c0e=0x0;const _0x2a74a6=await this[_0x30577a(0x286)][_0x30577a(0x287)](_0x69f4fc);return _0x2a74a6&&(_0x2a74a6[_0x30577a(0x508)]||_0x2a74a6[_0x30577a(0x2c5)][_0x30577a(0x23b)]!==0x0)&&(_0x4d3c0e=_0x2a74a6[_0x30577a(0x2d9)]),_0x4d3c0e===0x0&&this[_0x30577a(0x449)][_0x30577a(0x2ac)](_0x30577a(0x185),_0x30577a(0x554)),this[_0x30577a(0x3f7)]['loadSheet'](_0x69f4fc,_0x4d3c0e);}async[_0x235839(0x2f8)](_0x3bb412){const _0x1088f0=_0x235839;let _0x1afcf4=0x0;const _0x2b0d2e=await this[_0x1088f0(0x286)][_0x1088f0(0x287)](_0x3bb412);return _0x2b0d2e&&(_0x2b0d2e['awaitingChangeset']||_0x2b0d2e['mutations'][_0x1088f0(0x23b)]!==0x0)&&(_0x1afcf4=_0x2b0d2e['rev']),_0x1afcf4===0x0&&this[_0x1088f0(0x449)][_0x1088f0(0x2ac)]('[DataLoaderController]',_0x1088f0(0x554)),this[_0x1088f0(0x3f7)][_0x1088f0(0x326)](_0x3bb412,_0x1afcf4);}},_0x3ad279[_0x235839(0x17c)]=_0x32411([_0x55e6f1(0x0,_0x2b4687),_0x55e6f1(0x1,_0x19baed[_0x235839(0x311)]),_0x55e6f1(0x2,_0x19baed[_0x235839(0x3f4)]),_0x55e6f1(0x3,_0x19baed[_0x235839(0x431)](_0x3ad279[_0x235839(0x36b)])),_0x55e6f1(0x4,_0x19baed['Inject'](_0x21fd1d[_0x235839(0x479)])),_0x55e6f1(0x5,_0x19baed[_0x235839(0x358)](_0x3750ee['IRemoteInstanceService']))],_0x3ad279[_0x235839(0x17c)]);var _0x126291=Object[_0x235839(0x27f)],_0x283aa8=Object[_0x235839(0x2ee)],_0x3ab5a0=(_0x35cc3d,_0xb09ce0,_0x45592e,_0x429e0b)=>{for(var _0x1a9758=_0x429e0b>0x1?void 0x0:_0x429e0b?_0x283aa8(_0xb09ce0,_0x45592e):_0xb09ce0,_0x2ac9bd=_0x35cc3d['length']-0x1,_0x1faf13;_0x2ac9bd>=0x0;_0x2ac9bd--)(_0x1faf13=_0x35cc3d[_0x2ac9bd])&&(_0x1a9758=(_0x429e0b?_0x1faf13(_0xb09ce0,_0x45592e,_0x1a9758):_0x1faf13(_0x1a9758))||_0x1a9758);return _0x429e0b&&_0x1a9758&&_0x126291(_0xb09ce0,_0x45592e,_0x1a9758),_0x1a9758;},_0x4c812f=(_0x20cf0b,_0x273776)=>(_0x3e4b62,_0x26fb57)=>_0x273776(_0x3e4b62,_0x26fb57,_0x20cf0b);const _0x9108c6=_0x235839(0x468),_0x231f20=_0x235839(0x16a);let _0xa0fd45=class extends _0x19baed['Disposable']{constructor(_0x20eb90,_0x33cff1){const _0x5c2506=_0x235839;super(),this[_0x5c2506(0x1ae)]=_0x20eb90,this['_configService']=_0x33cff1,this[_0x5c2506(0x3e3)]();}[_0x235839(0x3e3)](){const _0x43137d=_0x235839;this['disposeWithMe'](this[_0x43137d(0x1ae)][_0x43137d(0x4f4)][_0x43137d(0x36a)](()=>{const _0x52df71=_0x43137d;var _0x3df26d;const _0x26b506=this[_0x52df71(0x1ae)][_0x52df71(0x456)]();let _0x262784=(_0x3df26d=this['_configService'][_0x52df71(0x530)](_0x9108c6))!=null?_0x3df26d:_0x231f20;_0x26b506 instanceof _0x19baed[_0x52df71(0x450)]&&(_0x262784=_0x26b506[_0x52df71(0x55f)]),document[_0x52df71(0x379)]=_0x262784;}));}};_0xa0fd45=_0x3ab5a0([_0x4c812f(0x0,_0x19baed[_0x235839(0x1b2)]),_0x4c812f(0x1,_0x19baed[_0x235839(0x472)])],_0xa0fd45);var _0x25c239=Object['defineProperty'],_0x5a047e=Object[_0x235839(0x2ee)],_0x88f9a8=(_0x2f2f55,_0x2c573e,_0x1ff3bf,_0x493f0a)=>{const _0xe49961=_0x235839;for(var _0x43ad19=_0x493f0a>0x1?void 0x0:_0x493f0a?_0x5a047e(_0x2c573e,_0x1ff3bf):_0x2c573e,_0x51373b=_0x2f2f55[_0xe49961(0x23b)]-0x1,_0x5f3679;_0x51373b>=0x0;_0x51373b--)(_0x5f3679=_0x2f2f55[_0x51373b])&&(_0x43ad19=(_0x493f0a?_0x5f3679(_0x2c573e,_0x1ff3bf,_0x43ad19):_0x5f3679(_0x43ad19))||_0x43ad19);return _0x493f0a&&_0x43ad19&&_0x25c239(_0x2c573e,_0x1ff3bf,_0x43ad19),_0x43ad19;},_0x54d044=(_0x5db292,_0x468829)=>(_0x5104f6,_0x14eb3b)=>_0x468829(_0x5104f6,_0x14eb3b,_0x5db292);let _0x1fb0de=class{constructor(_0x2f8b,_0x5cca52,_0x1cba1a){const _0x45a0ec=_0x235839;this[_0x45a0ec(0x570)]=_0x2f8b,this[_0x45a0ec(0x4ad)]=_0x5cca52,this[_0x45a0ec(0x4b9)]=_0x1cba1a,this['init']();}[_0x235839(0x4ac)](){const _0x8b4b08=_0x235839;this['_httpService'][_0x8b4b08(0x203)]({'priority':0x1,'interceptor':(_0x17525a,_0x3cd6bc)=>_0x3cd6bc(_0x17525a)['pipe'](_0x5a8f79[_0x8b4b08(0x43c)](async _0x307d6e=>{const _0x34df69=_0x8b4b08,_0x51a9db=_0x307d6e;if(_0x51a9db[_0x34df69(0x2a3)]===0x191&&window[_0x34df69(0x2a8)](this[_0x34df69(0x4b9)]['t']('auth.needGotoLoginAlert'))){const _0x5523b8=window[_0x34df69(0x1b4)](window['location'][_0x34df69(0x581)]);window[_0x34df69(0x434)][_0x34df69(0x581)]=this[_0x34df69(0x2b1)]()+_0x34df69(0x3aa)+_0x5523b8;}return _0x51a9db;}))});}[_0x235839(0x2b1)](){const _0x2ef819=_0x235839;var _0x233c83,_0x45d5fd;const _0x571d5e=this[_0x2ef819(0x570)][_0x2ef819(0x530)](_0x147fb0),_0x50f243=this[_0x2ef819(0x570)][_0x2ef819(0x530)](_0x5d0897);return(_0x45d5fd=(_0x233c83=_0x50f243==null?void 0x0:_0x50f243[_0x2ef819(0x49c)])!=null?_0x233c83:_0x571d5e)!=null?_0x45d5fd:_0x3b013b;}};_0x1fb0de=_0x88f9a8([_0x54d044(0x0,_0x19baed['IConfigService']),_0x54d044(0x1,_0x19baed[_0x235839(0x431)](_0x1dcccd['HTTPService'])),_0x54d044(0x2,_0x19baed[_0x235839(0x431)](_0x19baed[_0x235839(0x3fc)]))],_0x1fb0de);var _0x1ee2fb=Object[_0x235839(0x27f)],_0xcaec2e=Object[_0x235839(0x2ee)],_0x3f3d34=(_0x126418,_0x2a0368,_0x2e5c8d,_0x4b47b8)=>{const _0x37920d=_0x235839;for(var _0x3e46ed=_0x4b47b8>0x1?void 0x0:_0x4b47b8?_0xcaec2e(_0x2a0368,_0x2e5c8d):_0x2a0368,_0x53a38b=_0x126418[_0x37920d(0x23b)]-0x1,_0x37adc6;_0x53a38b>=0x0;_0x53a38b--)(_0x37adc6=_0x126418[_0x53a38b])&&(_0x3e46ed=(_0x4b47b8?_0x37adc6(_0x2a0368,_0x2e5c8d,_0x3e46ed):_0x37adc6(_0x3e46ed))||_0x3e46ed);return _0x4b47b8&&_0x3e46ed&&_0x1ee2fb(_0x2a0368,_0x2e5c8d,_0x3e46ed),_0x3e46ed;},_0x32c4ee=(_0xa3b4c,_0x52841d)=>(_0x21e47a,_0xbd374d)=>_0x52841d(_0x21e47a,_0xbd374d,_0xa3b4c);const _0x506edd=_0x235839(0x37a),_0x1cc7e9='/universer-api/authz';_0x3ad279[_0x235839(0x3bd)]=class extends _0x19baed[_0x235839(0x33d)]{constructor(_0x44fb79,_0x2d12b8){const _0x59fbcb=_0x235839;super(),this[_0x59fbcb(0x521)]=_0x44fb79,this[_0x59fbcb(0x570)]=_0x2d12b8,this[_0x59fbcb(0x332)]();}[_0x235839(0x332)](){const _0x2841ab=_0x235839,_0x55ca1f=this;this['disposeWithMe'](this[_0x2841ab(0x521)][_0x2841ab(0x203)]({'priority':0x3e7,'interceptor':_0x1dcccd[_0x2841ab(0x246)]({'isMatch'(_0x1975b1){const _0x19e3fa=_0x2841ab;var _0x43b155;if(_0x1975b1[_0x19e3fa(0x301)]===_0x19e3fa(0x37f)&&((_0x43b155=_0x1975b1[_0x19e3fa(0x375)])!=null&&_0x43b155[_0x19e3fa(0x3cf)])){const {objectID:_0xb41739,objectType:_0x521cf6}=_0x1975b1[_0x19e3fa(0x375)][_0x19e3fa(0x3cf)]||{};if(!_0xb41739||_0x521cf6===void 0x0)return!0x1;const _0x3abf49=_0x55ca1f[_0x19e3fa(0x2b3)]()+'/'+_0x521cf6+'/object/'+_0xb41739+_0x19e3fa(0x546);if(_0x1975b1[_0x19e3fa(0x4fd)]===_0x3abf49)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x20fc08){const _0x4f6353=_0x2841ab;var _0x1e9180;return(_0x1e9180=_0x20fc08[_0x4f6353(0x375)])==null?void 0x0:_0x1e9180[_0x4f6353(0x3cf)];},'mergeParamsToRequest'(_0x45bedb,_0x438ba1){const _0x5c0bc6=_0x2841ab,_0x1c7a65=_0x55ca1f[_0x5c0bc6(0x2b3)]()+_0x5c0bc6(0x2c8),_0x439aa6=_0x45bedb['reduce']((_0x3aa6a5,_0xee3de7)=>{const _0x5f4d03=_0x5c0bc6,{unitID:_0x24c3b3,objectID:_0x5ef5a3,objectType:_0x41af83,actions:_0x668fc8}=_0xee3de7;return _0x3aa6a5[_0x24c3b3]||(_0x3aa6a5[_0x24c3b3]={}),_0x3aa6a5[_0x24c3b3][_0x5ef5a3]||(_0x3aa6a5[_0x24c3b3][_0x5ef5a3]={'objectID':_0x5ef5a3,'objectType':_0x41af83,'actions':[]}),_0x3aa6a5[_0x24c3b3][_0x5ef5a3][_0x5f4d03(0x4c3)]['push'](..._0x668fc8),_0x3aa6a5;},{}),_0x344740=[];for(const _0x5ccbd3 in _0x439aa6)for(const _0x103732 in _0x439aa6[_0x5ccbd3]){const {actions:_0x4e4148,objectType:_0x38dc74}=_0x439aa6[_0x5ccbd3][_0x103732],_0x24308d=[...new Set(_0x4e4148)];_0x344740[_0x5c0bc6(0x4e1)]({'unitID':_0x5ccbd3,'objectID':_0x103732,'objectType':_0x38dc74,'actions':_0x24308d});}return new _0x1dcccd[(_0x5c0bc6(0x482))]('POST',_0x1c7a65,{'headers':_0x438ba1[_0x5c0bc6(0x26d)],'withCredentials':_0x438ba1['withCredentials'],'responseType':_0x438ba1[_0x5c0bc6(0x1e8)],'body':{'requests':_0x344740}});}},{'distributeResult'(_0x4ddb55,_0x25fde1){const {objectActions:_0x129ae0}=_0x4ddb55;return _0x25fde1['map'](_0x59e165=>{const _0x203f39=_0x16a9,{unitID:_0x27b7a0,objectID:_0x5b84f7,actions:_0x47955b}=_0x59e165,_0x4a8956=_0x129ae0[_0x203f39(0x295)](_0x48cc8f=>_0x48cc8f[_0x203f39(0x1ee)]===_0x27b7a0&&_0x48cc8f[_0x203f39(0x2f7)]===_0x5b84f7),_0x2a0b55=_0x47955b[_0x203f39(0x3fa)](_0xdaedff=>_0x4a8956==null?void 0x0:_0x4a8956['actions'][_0x203f39(0x295)](_0x441c5f=>_0x441c5f['action']===_0xdaedff))['filter'](_0x4b1a65=>!!_0x4b1a65);return{'config':_0x59e165,'result':{'actions':_0x2a0b55,'error':_0x4ddb55[_0x203f39(0x244)]}};});}})}));}['_getAPIPrefixPath'](){const _0x219a0a=_0x235839;var _0xbafee8,_0x1f0faa;const _0x113191=this[_0x219a0a(0x570)][_0x219a0a(0x530)](_0x506edd),_0xfda5a5=this[_0x219a0a(0x570)][_0x219a0a(0x530)](_0x5d0897);return(_0x1f0faa=(_0xbafee8=_0xfda5a5==null?void 0x0:_0xfda5a5[_0x219a0a(0x264)])!=null?_0xbafee8:_0x113191)!=null?_0x1f0faa:_0x1cc7e9;}async[_0x235839(0x381)](_0x3c0851){const _0x1bfdd7=_0x235839,_0x5a4849=this['_getAPIPrefixPath']()+'/'+_0x3c0851['objectType']+_0x1bfdd7(0x42c);return(await this[_0x1bfdd7(0x521)][_0x1bfdd7(0x348)](_0x5a4849,{'body':_0x3c0851}))[_0x1bfdd7(0x3cf)][_0x1bfdd7(0x2f7)]||'';}async[_0x235839(0x378)](_0x5ab280){const _0x8fdcb6=_0x235839,_0x2ffff2=this[_0x8fdcb6(0x2b3)]()+'/-/object/list';return(await this[_0x8fdcb6(0x521)]['post'](_0x2ffff2,{'body':_0x5ab280}))[_0x8fdcb6(0x3cf)][_0x8fdcb6(0x496)];}async[_0x235839(0x256)](_0x2df07e){const _0x9d92cd=_0x235839,_0xa6aece=this[_0x9d92cd(0x2b3)]()+'/'+_0x2df07e[_0x9d92cd(0x233)]+_0x9d92cd(0x356)+_0x2df07e[_0x9d92cd(0x2f7)];await this['_HTTPService'][_0x9d92cd(0x42f)](_0xa6aece,{'body':_0x2df07e});}async[_0x235839(0x215)](_0xb34a51){const _0xbfbccb=_0x235839,_0x384a26=this[_0xbfbccb(0x2b3)]()+'/'+_0xb34a51['objectType']+'/object/'+_0xb34a51['objectID']+_0xbfbccb(0x546);return(await this[_0xbfbccb(0x521)][_0xbfbccb(0x348)](_0x384a26,{'body':_0xb34a51}))['body']['actions'];}async[_0x235839(0x359)](_0x560b69){const _0x2f4152=_0x235839,_0x57c5e8=this['_getAPIPrefixPath']()+_0x2f4152(0x2c8);return(await this[_0x2f4152(0x521)][_0x2f4152(0x348)](_0x57c5e8,{'body':{'requests':_0x560b69}}))[_0x2f4152(0x3cf)]['objectActions'];}async[_0x235839(0x52e)](_0x4a4af4){const _0xeb2e35=_0x235839,_0x52e1c1=this['_getAPIPrefixPath']()+'/'+_0x4a4af4['objectType']+_0xeb2e35(0x541),_0x254f28=await this[_0xeb2e35(0x521)][_0xeb2e35(0x348)](_0x52e1c1,{'body':_0x4a4af4});return{'roles':_0x254f28['body']['roles'],'actions':_0x254f28[_0xeb2e35(0x3cf)]['actions']};}async[_0x235839(0x230)](_0x190823){const _0x32b9b0=_0x235839,_0x58de82=this[_0x32b9b0(0x2b3)]()+'/collaborator';await this[_0x32b9b0(0x521)][_0x32b9b0(0x39d)](_0x58de82,{'params':{'collaboratorID':_0x190823[_0x32b9b0(0x4b6)],'objectID':_0x190823[_0x32b9b0(0x2f7)],'unitID':_0x190823[_0x32b9b0(0x1ee)]}});}async[_0x235839(0x473)](_0x4a94ef){const _0x5e34b4=_0x235839,_0x194867=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x5e34b4(0x521)][_0x5e34b4(0x183)](_0x194867,{'body':_0x4a94ef});}async['createCollaborator'](_0x3c395c){const _0x5b6531=_0x235839,_0x14c8c2=this[_0x5b6531(0x2b3)]()+_0x5b6531(0x2c3);await this['_HTTPService']['post'](_0x14c8c2,{'body':_0x3c395c});}async[_0x235839(0x572)](_0x17f8a7){const _0x4e048a=_0x235839,_0x379260=this[_0x4e048a(0x2b3)]()+_0x4e048a(0x2c3);return(await this[_0x4e048a(0x521)][_0x4e048a(0x17a)](_0x379260,{'params':{'objectID':_0x17f8a7[_0x4e048a(0x2f7)],'unitID':_0x17f8a7[_0x4e048a(0x1ee)]}}))['body'][_0x4e048a(0x4df)];}async['putCollaborators'](_0x63d088){const _0x293897=_0x235839,_0x1ed163=this[_0x293897(0x2b3)]()+_0x293897(0x2c3);await this[_0x293897(0x521)]['put'](_0x1ed163,{'body':_0x63d088});}},_0x3ad279[_0x235839(0x3bd)]=_0x3f3d34([_0x32c4ee(0x0,_0x19baed['Inject'](_0x1dcccd[_0x235839(0x1a2)])),_0x32c4ee(0x1,_0x19baed[_0x235839(0x431)](_0x19baed['IConfigService']))],_0x3ad279[_0x235839(0x3bd)]);var _0x4cbdf1=Object['defineProperty'],_0xfea22=Object[_0x235839(0x2ee)],_0x2c72e1=(_0x2e38ce,_0x7e8b07,_0x380565,_0x11f454)=>{const _0x59ba4c=_0x235839;for(var _0x23a24c=_0x11f454>0x1?void 0x0:_0x11f454?_0xfea22(_0x7e8b07,_0x380565):_0x7e8b07,_0x1d4123=_0x2e38ce[_0x59ba4c(0x23b)]-0x1,_0x2afd42;_0x1d4123>=0x0;_0x1d4123--)(_0x2afd42=_0x2e38ce[_0x1d4123])&&(_0x23a24c=(_0x11f454?_0x2afd42(_0x7e8b07,_0x380565,_0x23a24c):_0x2afd42(_0x23a24c))||_0x23a24c);return _0x11f454&&_0x23a24c&&_0x4cbdf1(_0x7e8b07,_0x380565,_0x23a24c),_0x23a24c;},_0xe3b230=(_0x53b686,_0x14726b)=>(_0x36a29e,_0x30d4d8)=>_0x14726b(_0x36a29e,_0x30d4d8,_0x53b686);let _0x2c038a=class{constructor(_0x5990a1){const _0x87a5bb=_0x235839;this[_0x87a5bb(0x4ad)]=_0x5990a1,this[_0x87a5bb(0x188)]();}['_initRequestHeader'](){const _0x274c3e=_0x235839;this[_0x274c3e(0x4ad)][_0x274c3e(0x203)]({'interceptor':(_0x5efd34,_0x214958)=>{const _0x37c6ad=_0x274c3e,_0x235c96=_0x5efd34[_0x37c6ad(0x26d)],_0x296a7e=_0x15b3d6['getAttachHeader']();return _0x296a7e&&_0x235c96[_0x37c6ad(0x3ce)](_0x37c6ad(0x1a5),_0x296a7e),_0x214958(_0x5efd34);}});}};_0x2c038a=_0x2c72e1([_0xe3b230(0x0,_0x19baed[_0x235839(0x431)](_0x1dcccd[_0x235839(0x1a2)]))],_0x2c038a);var _0xf94751=Object[_0x235839(0x27f)],_0x1113cb=Object[_0x235839(0x2ee)],_0x306479=(_0x526cb9,_0x4c78ad,_0x3e853c,_0x592886)=>{const _0xca45d4=_0x235839;for(var _0x188d2e=_0x592886>0x1?void 0x0:_0x592886?_0x1113cb(_0x4c78ad,_0x3e853c):_0x4c78ad,_0x3130cb=_0x526cb9[_0xca45d4(0x23b)]-0x1,_0xbab56a;_0x3130cb>=0x0;_0x3130cb--)(_0xbab56a=_0x526cb9[_0x3130cb])&&(_0x188d2e=(_0x592886?_0xbab56a(_0x4c78ad,_0x3e853c,_0x188d2e):_0xbab56a(_0x188d2e))||_0x188d2e);return _0x592886&&_0x188d2e&&_0xf94751(_0x4c78ad,_0x3e853c,_0x188d2e),_0x188d2e;},_0x378a87=(_0xe3f8a1,_0x1ee327)=>(_0x54f394,_0x4dc535)=>_0x1ee327(_0x54f394,_0x4dc535,_0xe3f8a1);const _0x278648=[_0x235839(0x18f),_0x235839(0x2d0),_0x235839(0x48d),'image/gif',_0x235839(0x40a)],_0x44163d=0x5*0x400*0x400,_0x4cafd8='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x1ba0e1=_0x235839(0x365),_0x96f42b=_0x235839(0x3bf),_0x481540=_0x235839(0x3fd);_0x3ad279[_0x235839(0x560)]=class{constructor(_0x121ee2,_0x2fb9f3,_0x416cd){const _0x27ab78=_0x235839;_0x4ab372(this,'_waitCount',0x0),_0x4ab372(this,'_change$',new _0x5a8f79['Subject']()),_0x4ab372(this,_0x27ab78(0x2da),this[_0x27ab78(0x34a)]),_0x4ab372(this,_0x27ab78(0x234),new Map()),(this[_0x27ab78(0x4ad)]=_0x121ee2,this['_configService']=_0x2fb9f3,this[_0x27ab78(0x1ae)]=_0x416cd);}['setWaitCount'](_0x19ee76){const _0x11e547=_0x235839;this[_0x11e547(0x3a6)]=_0x19ee76,this[_0x11e547(0x34a)][_0x11e547(0x31f)](_0x19ee76);}[_0x235839(0x309)](_0x1e420d,_0x35f0b9){const _0x5f2b52=_0x235839;if(_0x35f0b9===_0x322314[_0x5f2b52(0x329)][_0x5f2b52(0x193)]){const _0x35c42f=new Image();return _0x35c42f['src']=_0x1e420d,_0x35c42f;}return this[_0x5f2b52(0x234)][_0x5f2b52(0x17a)](_0x1e420d);}['addImageSourceCache'](_0x3de059,_0x530114,_0x4b84be){const _0x385360=_0x235839;_0x530114===_0x322314['ImageSourceType'][_0x385360(0x193)]||_0x4b84be==null||this[_0x385360(0x234)][_0x385360(0x3ce)](_0x3de059,_0x4b84be);}async['getImage'](_0x4c5f86){const _0x5d953b=_0x235839;try{const _0x2c0416=this[_0x5d953b(0x1df)](this['_getSignURL'](),''+_0x4c5f86),_0x79459c=(await this[_0x5d953b(0x4ad)][_0x5d953b(0x17a)](_0x2c0416))[_0x5d953b(0x3cf)];if(_0x79459c[_0x5d953b(0x244)]&&_0x79459c[_0x5d953b(0x244)][_0x5d953b(0x35c)]===_0x458efe['OK']){const _0x1f2a70=new URL(_0x79459c[_0x5d953b(0x4fd)],this[_0x5d953b(0x163)]())['toString']();return Promise[_0x5d953b(0x2fa)](_0x1f2a70);}return Promise[_0x5d953b(0x232)](_0x79459c['error']);}catch(_0x2d8c4f){return Promise[_0x5d953b(0x232)](_0x2d8c4f);}}async[_0x235839(0x30a)](_0x191d70){const _0xbe24a5=_0x235839;let _0x20f045='';if(!_0x278648['includes'](_0x191d70[_0xbe24a5(0x3f3)]))return this[_0xbe24a5(0x237)](),Promise['reject'](new Error(_0x322314[_0xbe24a5(0x54a)][_0xbe24a5(0x1c1)]));if(_0x191d70['size']>_0x44163d)return this[_0xbe24a5(0x237)](),Promise['reject'](new Error(_0x322314[_0xbe24a5(0x54a)][_0xbe24a5(0x277)]));try{const _0x3bb4f9=new FormData();_0x3bb4f9[_0xbe24a5(0x1fc)](_0xbe24a5(0x2eb),_0x191d70);const _0x35bf44=this[_0xbe24a5(0x1ae)][_0xbe24a5(0x456)](),_0x33d553=_0x35bf44==null?void 0x0:_0x35bf44[_0xbe24a5(0x492)]();if(!_0x33d553)throw new Error(_0xbe24a5(0x4b7));const _0x133a33=this['_getUploadFileURL']()+'?size='+_0x191d70[_0xbe24a5(0x26e)]['toString']()+_0xbe24a5(0x4d7)+_0x3e62ac[_0xbe24a5(0x3af)]+_0xbe24a5(0x3ef)+encodeURIComponent(_0x33d553),_0x389b5d=await(await fetch(_0x133a33,{'method':_0xbe24a5(0x37f),'body':_0x3bb4f9}))[_0xbe24a5(0x477)]();if(typeof _0x389b5d[_0xbe24a5(0x3e9)]!='string')return this[_0xbe24a5(0x237)](),Promise[_0xbe24a5(0x232)](new Error(_0x322314['ImageUploadStatusType'][_0xbe24a5(0x32b)]));_0x20f045=_0x389b5d[_0xbe24a5(0x3e9)];}catch{return this[_0xbe24a5(0x237)](),Promise[_0xbe24a5(0x232)](new Error(_0x322314[_0xbe24a5(0x54a)][_0xbe24a5(0x32b)]));}return new Promise((_0x24a32a,_0x3c8507)=>{const _0x3525dc=_0xbe24a5,_0x5bff5d=new FileReader();_0x5bff5d[_0x3525dc(0x22a)](_0x191d70),_0x5bff5d[_0x3525dc(0x1b0)]=_0x1b4bd1=>{const _0x183d60=_0x3525dc;var _0x3df892;const _0x1ee215=(_0x3df892=_0x1b4bd1['target'])==null?void 0x0:_0x3df892[_0x183d60(0x529)];if(_0x1ee215==null){this[_0x183d60(0x237)](),_0x3c8507(new Error(_0x322314[_0x183d60(0x54a)][_0x183d60(0x32b)]));return;}const _0x3defb4=_0x19baed[_0x183d60(0x21a)][_0x183d60(0x56c)](0x6);_0x24a32a({'imageId':_0x3defb4,'imageSourceType':_0x322314[_0x183d60(0x329)][_0x183d60(0x2ba)],'source':_0x20f045,'base64Cache':_0x1ee215,'status':_0x322314['ImageUploadStatusType'][_0x183d60(0x414)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){const _0x4c70f0=_0x235839;var _0x49a6c5,_0x545d23;const _0x583463=this[_0x4c70f0(0x570)][_0x4c70f0(0x530)](_0x4cafd8),_0x56752e=this[_0x4c70f0(0x570)][_0x4c70f0(0x530)](_0x5d0897);return(_0x545d23=(_0x49a6c5=_0x56752e==null?void 0x0:_0x56752e[_0x4c70f0(0x457)])!=null?_0x49a6c5:_0x583463)!=null?_0x545d23:_0x1ba0e1;}[_0x235839(0x25c)](){const _0x562a81=_0x235839;var _0x53ad08,_0x21f58c;const _0x24a302=this['_configService']['getConfig'](_0x96f42b),_0x25cba2=this[_0x562a81(0x570)]['getConfig'](_0x5d0897);return(_0x21f58c=(_0x53ad08=_0x25cba2==null?void 0x0:_0x25cba2[_0x562a81(0x3de)])!=null?_0x53ad08:_0x24a302)!=null?_0x21f58c:_0x481540;}[_0x235839(0x163)](){const _0x251bb5=_0x235839;var _0xe8897f;const _0x63eb16=this['_configService'][_0x251bb5(0x530)](_0x5d0897);return(_0xe8897f=_0x63eb16==null?void 0x0:_0x63eb16[_0x251bb5(0x3d5)])!=null?_0xe8897f:location[_0x251bb5(0x16b)];}['_replaceFileID'](_0x38f9df,_0x155f17){const _0x12957f=_0x235839;return _0x38f9df['replace'](_0x12957f(0x528),_0x155f17);}[_0x235839(0x237)](){const _0x12d6af=_0x235839;this[_0x12d6af(0x3a6)]-=0x1,this[_0x12d6af(0x34a)][_0x12d6af(0x31f)](this[_0x12d6af(0x3a6)]);}},_0x3ad279['ImageIoService']=_0x306479([_0x378a87(0x0,_0x19baed['Inject'](_0x1dcccd[_0x235839(0x1a2)])),_0x378a87(0x1,_0x19baed[_0x235839(0x472)]),_0x378a87(0x2,_0x19baed[_0x235839(0x431)](_0x19baed['IUniverInstanceService']))],_0x3ad279['ImageIoService']);var _0x52a432=Object[_0x235839(0x27f)],_0x512331=Object['getOwnPropertyDescriptor'],_0xb4222e=(_0x42f159,_0x214373,_0x2f33bf,_0x7681b6)=>{const _0x2fe50c=_0x235839;for(var _0x2fc235=_0x7681b6>0x1?void 0x0:_0x7681b6?_0x512331(_0x214373,_0x2f33bf):_0x214373,_0x1c20bd=_0x42f159[_0x2fe50c(0x23b)]-0x1,_0x1430b3;_0x1c20bd>=0x0;_0x1c20bd--)(_0x1430b3=_0x42f159[_0x1c20bd])&&(_0x2fc235=(_0x7681b6?_0x1430b3(_0x214373,_0x2f33bf,_0x2fc235):_0x1430b3(_0x2fc235))||_0x2fc235);return _0x7681b6&&_0x2fc235&&_0x52a432(_0x214373,_0x2f33bf,_0x2fc235),_0x2fc235;},_0x374622=(_0x43d164,_0x20a498)=>(_0x4797d0,_0x5d6ca8)=>_0x20a498(_0x4797d0,_0x5d6ca8,_0x43d164);let _0x1c23d7=class extends _0x19baed[_0x235839(0x35e)]{constructor(_0x4b74b9,_0x53c4e4,_0x220f85,_0x5a3fc4,_0x576508){const _0x3efeb6=_0x235839;super(),this[_0x3efeb6(0x2ae)]=_0x4b74b9,this['_univerInstanceService']=_0x53c4e4,this['_permissionService']=_0x220f85,this['_collaborationSessionService']=_0x5a3fc4,this[_0x3efeb6(0x2b2)]=_0x576508,this['_initUnitPermissionChange'](),this[_0x3efeb6(0x3e7)]();}[_0x235839(0x3e7)](){const _0x961e7d=_0x235839,_0x28b79b=async _0x2c7234=>{const _0x230eff=_0x16a9;(await this[_0x230eff(0x1fd)][_0x230eff(0x16e)](_0x2c7234))[_0x230eff(0x407)][_0x230eff(0x53f)](_0x555af6[_0x230eff(0x1e5)](_0x36d850=>_0x36d850['eventID']===_0x21fd1d[_0x230eff(0x207)][_0x230eff(0x43b)]),_0x555af6['takeUntil'](this['dispose$']))[_0x230eff(0x36a)](_0x74da8c=>{const _0x106503=_0x230eff,_0x5f11e8=_0x74da8c,{reason:_0xecfaba}=_0x5f11e8['data'];this['_injector'][_0x106503(0x17a)](_0x6ef540[_0x106503(0x337)])[_0x106503(0x1ed)]({'type':_0x101c11[_0x106503(0x34b)]['Error'],'content':this[_0x106503(0x2b2)]['t']('collaboration.closeRoom')+'('+_0xecfaba+')'}),this[_0x106503(0x2c4)]['updatePermissionPoint'](new _0x360913[(_0x106503(0x43f))](_0x2c7234)['id'],!0x1),this[_0x106503(0x1fd)]['closeSession'](_0x2c7234);});};_0x5a8f79[_0x961e7d(0x478)](this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x19baed[_0x961e7d(0x433)][_0x961e7d(0x48e)]),this[_0x961e7d(0x1ae)][_0x961e7d(0x514)](_0x19baed[_0x961e7d(0x433)][_0x961e7d(0x2ad)]))[_0x961e7d(0x53f)](_0x555af6[_0x961e7d(0x3fa)](_0x23c8ee=>_0x23c8ee['getUnitId']()),_0x555af6['filter'](_0x4a8556=>!_0x19baed[_0x961e7d(0x355)](_0x4a8556)),_0x555af6['takeUntil'](this[_0x961e7d(0x1eb)]))[_0x961e7d(0x36a)](_0x337bc6=>{_0x28b79b(_0x337bc6);});}[_0x235839(0x451)](){const _0x66910b=_0x235839,_0x3bb641=async _0x3c07cc=>{const _0x124ce6=_0x16a9;(await this[_0x124ce6(0x1fd)][_0x124ce6(0x16e)](_0x3c07cc))[_0x124ce6(0x407)][_0x124ce6(0x53f)](_0x555af6['filter'](_0x2f0690=>_0x2f0690[_0x124ce6(0x3b2)]===_0x21fd1d[_0x124ce6(0x207)]['UPDATE_PERMISSION_OBJ']),_0x555af6[_0x124ce6(0x36f)](this[_0x124ce6(0x1eb)]))[_0x124ce6(0x36a)](_0x2157ce=>{const _0x75ed13=_0x124ce6,_0x2dd06a=_0x2157ce,{objectId:_0x29354f}=_0x2dd06a[_0x75ed13(0x376)],_0x7eafee=this[_0x75ed13(0x2ae)][_0x75ed13(0x17a)](_0x164cf7[_0x75ed13(0x415)]);_0x29354f===_0x3c07cc?_0x7eafee['initWorkbookPermissionChange'](_0x3c07cc):_0x7eafee[_0x75ed13(0x1b9)](_0x3c07cc,_0x29354f);});};_0x5a8f79['merge'](this[_0x66910b(0x1ae)][_0x66910b(0x514)](_0x19baed[_0x66910b(0x433)][_0x66910b(0x48e)]),this[_0x66910b(0x1ae)]['getTypeOfUnitAdded$'](_0x19baed[_0x66910b(0x433)]['UNIVER_DOC']))[_0x66910b(0x53f)](_0x555af6[_0x66910b(0x3fa)](_0x562dc4=>_0x562dc4['getUnitId']()),_0x555af6[_0x66910b(0x1e5)](_0x2ba289=>!_0x19baed[_0x66910b(0x355)](_0x2ba289)),_0x555af6[_0x66910b(0x36f)](this[_0x66910b(0x1eb)]))[_0x66910b(0x36a)](_0x138b14=>{_0x3bb641(_0x138b14);});}};_0x1c23d7=_0xb4222e([_0x374622(0x0,_0x19baed['Inject'](_0x19baed[_0x235839(0x41c)])),_0x374622(0x1,_0x19baed[_0x235839(0x1b2)]),_0x374622(0x2,_0x19baed[_0x235839(0x40c)]),_0x374622(0x3,_0x19baed[_0x235839(0x431)](_0x3ad279['CollaborationSessionService'])),_0x374622(0x4,_0x19baed[_0x235839(0x431)](_0x19baed['LocaleService']))],_0x1c23d7);var _0x544d1e=Object[_0x235839(0x27f)],_0x3100d6=Object[_0x235839(0x2ee)],_0x394c4b=(_0x5b96f8,_0x2d8dc8,_0x3601f8,_0x106a20)=>{for(var _0x4ac64f=_0x106a20>0x1?void 0x0:_0x106a20?_0x3100d6(_0x2d8dc8,_0x3601f8):_0x2d8dc8,_0x1ad711=_0x5b96f8['length']-0x1,_0x1f525b;_0x1ad711>=0x0;_0x1ad711--)(_0x1f525b=_0x5b96f8[_0x1ad711])&&(_0x4ac64f=(_0x106a20?_0x1f525b(_0x2d8dc8,_0x3601f8,_0x4ac64f):_0x1f525b(_0x4ac64f))||_0x4ac64f);return _0x106a20&&_0x4ac64f&&_0x544d1e(_0x2d8dc8,_0x3601f8,_0x4ac64f),_0x4ac64f;},_0x436426=(_0x312d8a,_0x48704f)=>(_0x2ab850,_0x367ea0)=>_0x48704f(_0x2ab850,_0x367ea0,_0x312d8a);_0x3ad279[_0x235839(0x562)]=class{constructor(_0x1f8223,_0x5d7dc4){const _0x267e28=_0x235839;this['_configService']=_0x1f8223,this[_0x267e28(0x4ad)]=_0x5d7dc4;}async[_0x235839(0x350)](_0x21ff67,_0x14ac5d){const _0x54954e=_0x235839;var _0x1ab19b;const {unitID:_0x2c5c5b,type:_0x20c05f,revision:_0x472087=0x0}=_0x14ac5d,_0xb12113=this[_0x54954e(0x154)]()+'/'+_0x20c05f+_0x54954e(0x23a)+_0x2c5c5b+'/rev/'+_0x472087,_0x3a49e7=(await this[_0x54954e(0x4ad)][_0x54954e(0x17a)](_0xb12113))[_0x54954e(0x3cf)],_0x38cf01=(_0x1ab19b=_0x3a49e7[_0x54954e(0x4aa)])==null?void 0x0:_0x1ab19b[_0x54954e(0x159)];if(_0x38cf01){const _0xba0464=_0x38cf01==null?void 0x0:_0x38cf01[_0x54954e(0x2d6)],_0x446751=_0x21fd1d[_0x54954e(0x495)][_0x54954e(0x4d5)](_0x21fd1d['b64DecodeUnicode'](_0xba0464));_0x38cf01[_0x54954e(0x2d6)]=_0x446751,Object[_0x54954e(0x388)](_0x38cf01[_0x54954e(0x24a)])['forEach'](([,_0x5875e3])=>{const _0x212fdd=_0x54954e,_0x149ce2=_0x5875e3[_0x212fdd(0x2d6)],_0x716bf5=_0x21fd1d[_0x212fdd(0x495)][_0x212fdd(0x4d5)](_0x21fd1d['b64DecodeUnicode'](_0x149ce2));_0x5875e3['originalMeta']=_0x716bf5;});}return _0x3a49e7;}async[_0x235839(0x469)](_0x11724f,_0x14aea2){const _0x4d77f7=_0x235839,{unitID:_0x249cde,type:_0x2dc833,blockID:_0x4e0324}=_0x14aea2,_0x4ba630=this[_0x4d77f7(0x39e)]()+'/'+_0x2dc833+_0x4d77f7(0x23a)+_0x249cde+_0x4d77f7(0x238)+_0x4e0324;return(await this[_0x4d77f7(0x4ad)][_0x4d77f7(0x17a)](_0x4ba630))[_0x4d77f7(0x3cf)];}async[_0x235839(0x300)](_0x159a0f,_0x3970d4){const _0x1bf273=_0x235839,{unitID:_0x5aabb2,type:_0xa116bd,blockID:_0x25fcd4}=_0x3970d4,_0x483b75=this[_0x1bf273(0x39e)]()+_0x1bf273(0x238)+_0xa116bd+'/unit/'+_0x5aabb2+_0x1bf273(0x238)+_0x25fcd4;return(await this[_0x1bf273(0x4ad)][_0x1bf273(0x17a)](_0x483b75))['body'];}async['fetchMissingChangesets'](_0x277b60,_0x3e7939){const _0x1dbf82=_0x235839,{unitID:_0x3a7d32,type:_0x44ab5a,from:_0x43dc2d,to:_0x3fd527}=_0x3e7939,_0x498ad8=this[_0x1dbf82(0x39e)]()+'/'+_0x44ab5a+'/unit/'+_0x3a7d32+_0x1dbf82(0x45c)+_0x43dc2d+_0x1dbf82(0x28b)+_0x3fd527;return(await this[_0x1dbf82(0x4ad)][_0x1dbf82(0x17a)](_0x498ad8))['body'];}[_0x235839(0x154)](){const _0x271eb2=_0x235839;var _0x2d61d2;return(_0x2d61d2=this[_0x271eb2(0x570)]['getConfig'](_0x43b4aa))!=null?_0x2d61d2:this[_0x271eb2(0x39e)]();}[_0x235839(0x39e)](){const _0x3723bb=_0x235839;var _0x41ec73,_0x4e0e37;const _0x4944ab=this['_configService'][_0x3723bb(0x530)](_0x58f027),_0x14b890=this['_configService'][_0x3723bb(0x530)](_0x5d0897);return(_0x4e0e37=(_0x41ec73=_0x14b890==null?void 0x0:_0x14b890[_0x3723bb(0x3a5)])!=null?_0x41ec73:_0x4944ab)!=null?_0x4e0e37:_0x1b5c83;}async['getResourcesRequest'](_0x25794e,_0x25743a){const _0x2608c8=_0x235839,_0x4e04c0='/universer-api/snapshot/'+_0x25743a[_0x2608c8(0x3f3)]+'/unit/'+_0x25743a[_0x2608c8(0x1ee)]+_0x2608c8(0x416);return(await this[_0x2608c8(0x4ad)]['get'](_0x4e04c0,{'params':{'resourceId':JSON[_0x2608c8(0x3c9)](_0x25743a[_0x2608c8(0x2ec)])}}))[_0x2608c8(0x3cf)];}[_0x235839(0x345)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){const _0x4b764d=_0x235839;throw new Error(_0x4b764d(0x1b7));}[_0x235839(0x2af)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x235839(0x395)](){const _0x3fb3cb=_0x235839;throw new Error(_0x3fb3cb(0x1b7));}['getLatestCsReqIdBySid'](){const _0x1d02b9=_0x235839;throw new Error(_0x1d02b9(0x1b7));}},_0x3ad279['SnapshotServerOverHTTPService']=_0x394c4b([_0x436426(0x0,_0x19baed[_0x235839(0x472)]),_0x436426(0x1,_0x19baed[_0x235839(0x431)](_0x1dcccd[_0x235839(0x1a2)]))],_0x3ad279[_0x235839(0x562)]);var _0x19b87a=Object[_0x235839(0x27f)],_0x538bc5=Object[_0x235839(0x2ee)],_0x1bc914=(_0x540eb7,_0x7428e,_0x268108,_0x9740f3)=>{const _0xf91da9=_0x235839;for(var _0x536199=_0x9740f3>0x1?void 0x0:_0x9740f3?_0x538bc5(_0x7428e,_0x268108):_0x7428e,_0x1914d7=_0x540eb7[_0xf91da9(0x23b)]-0x1,_0x30a108;_0x1914d7>=0x0;_0x1914d7--)(_0x30a108=_0x540eb7[_0x1914d7])&&(_0x536199=(_0x9740f3?_0x30a108(_0x7428e,_0x268108,_0x536199):_0x30a108(_0x536199))||_0x536199);return _0x9740f3&&_0x536199&&_0x19b87a(_0x7428e,_0x268108,_0x536199),_0x536199;},_0x33cb4f=(_0x52c6ef,_0x531245)=>(_0x254025,_0x1806c6)=>_0x531245(_0x254025,_0x1806c6,_0x52c6ef);let _0xf5c44f=class extends _0x19baed['LocalUndoRedoService']{constructor(_0x1b3434,_0x58c115,_0x8fa808,_0xc937f7,_0x2f7144){const _0x3f7ee7=_0x235839;super(_0x1b3434,_0x58c115,_0x8fa808),this[_0x3f7ee7(0x165)]=_0xc937f7,this[_0x3f7ee7(0x449)]=_0x2f7144;}[_0x235839(0x471)](_0x5d5dfe,_0x2852a7){const _0x3e95cf=_0x235839,_0x355e5e=this[_0x3e95cf(0x1cc)](_0x5d5dfe);if(_0x355e5e)try{const _0xde8d60=this[_0x3e95cf(0x21d)](_0x355e5e,_0x2852a7);this[_0x3e95cf(0x19e)](_0x5d5dfe,_0xde8d60);}catch(_0x4347d1){this['_logService'][_0x3e95cf(0x244)](_0x3e95cf(0x194),_0x4347d1),this['_clearUndo'](_0x5d5dfe);}const _0x73d26=this[_0x3e95cf(0x587)](_0x5d5dfe);if(_0x73d26)try{const _0x65d83f=this[_0x3e95cf(0x21d)](_0x73d26,_0x2852a7);this[_0x3e95cf(0x564)](_0x5d5dfe,_0x65d83f);}catch(_0x14a888){this[_0x3e95cf(0x449)][_0x3e95cf(0x244)](_0x14a888),this[_0x3e95cf(0x47d)](_0x5d5dfe);}}[_0x235839(0x51d)](_0x676ae7){const _0x4de77e=_0x235839,_0x4441f6=this[_0x4de77e(0x1cc)](_0x676ae7);_0x4441f6&&(_0x4441f6[_0x4de77e(0x23b)]=0x0,this[_0x4de77e(0x314)]());}['_clearRedo'](_0x3d7fce){const _0x27a021=_0x235839,_0x504ce2=this[_0x27a021(0x587)](_0x3d7fce);_0x504ce2&&(_0x504ce2[_0x27a021(0x23b)]=0x0,this[_0x27a021(0x314)]());}['_substituteUndoStack'](_0x55e0ec,_0x48d257){const _0x499297=_0x235839;this[_0x499297(0x321)][_0x499297(0x3ce)](_0x55e0ec,_0x48d257),this[_0x499297(0x314)]();}[_0x235839(0x564)](_0x14592a,_0x19b5eb){const _0xcee6cd=_0x235839;this[_0xcee6cd(0x4a9)][_0xcee6cd(0x3ce)](_0x14592a,_0x19b5eb),this[_0xcee6cd(0x314)]();}[_0x235839(0x21d)](_0x42d86c,_0xcab466){const _0x2a33c4=_0x235839,_0x113bab=[];let _0x43cdf8=_0xcab466,_0x5b17bc=_0xcab466;for(let _0x2bb9b0=_0x42d86c[_0x2a33c4(0x23b)]-0x1;_0x2bb9b0>=0x0;_0x2bb9b0--){const {unitID:_0x2e1507,undoMutations:_0x3878ba,redoMutations:_0x5d75ef}=_0x42d86c[_0x2bb9b0],_0x5c80ce=this[_0x2a33c4(0x165)][_0x2a33c4(0x283)](_0x43cdf8,_0x3878ba),_0x33b586=this[_0x2a33c4(0x165)]['transformMutationsWithChangeset'](_0x5b17bc,_0x5d75ef);if(_0x21fd1d['isTransformMutationsWithChangesetFailure'](_0x5c80ce)||_0x21fd1d[_0x2a33c4(0x3ac)](_0x33b586)){this[_0x2a33c4(0x449)][_0x2a33c4(0x244)](_0x2a33c4(0x194),'transformStack\x20failed!',_0x5c80ce,_0x33b586);break;}_0x43cdf8=_0x5c80ce[_0x2a33c4(0x39f)],_0x5b17bc=_0x33b586[_0x2a33c4(0x39f)],_0x113bab['push']({'unitID':_0x2e1507,'undoMutations':_0x5c80ce[_0x2a33c4(0x549)],'redoMutations':_0x33b586[_0x2a33c4(0x549)]});}return _0x113bab[_0x2a33c4(0x4c9)]();}};_0xf5c44f=_0x1bc914([_0x33cb4f(0x0,_0x19baed[_0x235839(0x1b2)]),_0x33cb4f(0x1,_0x19baed[_0x235839(0x3f4)]),_0x33cb4f(0x2,_0x19baed['IContextService']),_0x33cb4f(0x3,_0x21fd1d['ITransformService']),_0x33cb4f(0x4,_0x19baed[_0x235839(0x311)])],_0xf5c44f);class _0x24361b extends _0x19baed['RxDisposable']{constructor(){const _0x899c91=_0x235839;super(),_0x4ab372(this,_0x899c91(0x245)),this['urlChange$']=_0x5a8f79['fromEvent'](window,_0x899c91(0x3ed))['pipe'](_0x5a8f79[_0x899c91(0x36f)](this[_0x899c91(0x1eb)]),_0x5a8f79[_0x899c91(0x307)](0x1),_0x5a8f79[_0x899c91(0x1ad)](void 0x0));}[_0x235839(0x4ba)](_0x45929d,_0x40d5e2,_0x3a3638=!0x1){const _0x468e84=_0x235839,_0x49060d=new URL(window['location'][_0x468e84(0x581)]);_0x49060d[_0x468e84(0x2e2)][_0x468e84(0x3ce)](_0x45929d,_0x40d5e2),_0x3a3638?window['history'][_0x468e84(0x1ca)]('','',_0x49060d[_0x468e84(0x2b7)]()):window[_0x468e84(0x1ba)][_0x468e84(0x3b9)]('','',_0x49060d[_0x468e84(0x2b7)]());}[_0x235839(0x524)](_0x2b583c,_0x25fb5b=!0x1){const _0x2d4df3=_0x235839,_0x25cc9e=new URL(window[_0x2d4df3(0x434)]['href']);_0x25cc9e[_0x2d4df3(0x2e2)][_0x2d4df3(0x39d)](_0x2b583c),_0x25fb5b?window[_0x2d4df3(0x1ba)][_0x2d4df3(0x1ca)]('','',_0x25cc9e[_0x2d4df3(0x2b7)]()):window[_0x2d4df3(0x1ba)][_0x2d4df3(0x3b9)]('','',_0x25cc9e[_0x2d4df3(0x2b7)]());}['getParam'](_0xfe95ad){const _0x5c6439=_0x235839;var _0x45eb04;return(_0x45eb04=new URL(window[_0x5c6439(0x434)]['href'])['searchParams'][_0x5c6439(0x17a)](_0xfe95ad))!=null?_0x45eb04:void 0x0;}}var _0x1a2eb6=Object[_0x235839(0x27f)],_0x30b47c=Object[_0x235839(0x2ee)],_0x5877ce=(_0x1342f5,_0x209d23,_0x604fac)=>_0x209d23 in _0x1342f5?_0x1a2eb6(_0x1342f5,_0x209d23,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x604fac}):_0x1342f5[_0x209d23]=_0x604fac,_0xf9b092=(_0x5102da,_0x260221,_0x275ab1,_0x5d8da5)=>{const _0x5aeebf=_0x235839;for(var _0xc599e3=_0x5d8da5>0x1?void 0x0:_0x5d8da5?_0x30b47c(_0x260221,_0x275ab1):_0x260221,_0x42b4d9=_0x5102da[_0x5aeebf(0x23b)]-0x1,_0x3210ac;_0x42b4d9>=0x0;_0x42b4d9--)(_0x3210ac=_0x5102da[_0x42b4d9])&&(_0xc599e3=(_0x5d8da5?_0x3210ac(_0x260221,_0x275ab1,_0xc599e3):_0x3210ac(_0xc599e3))||_0xc599e3);return _0x5d8da5&&_0xc599e3&&_0x1a2eb6(_0x260221,_0x275ab1,_0xc599e3),_0xc599e3;},_0x5424a0=(_0x274e48,_0x2e0f2b)=>(_0x492826,_0x28a84e)=>_0x2e0f2b(_0x492826,_0x28a84e,_0x274e48),_0x363f4f=(_0xe3c365,_0x4ee521,_0x29b6a5)=>_0x5877ce(_0xe3c365,_0x4ee521+'',_0x29b6a5);const _0x44f95d=_0x235839(0x31d);_0x3ad279[_0x235839(0x354)]=class extends _0x19baed[_0x235839(0x334)]{constructor(_0xbf2815=_0x4bcf79,_0x1b4ae8,_0x20164b,_0x5cde54,_0xe83ea8){const _0x33d179=_0x235839;super(),this[_0x33d179(0x2ea)]=_0xbf2815,this[_0x33d179(0x449)]=_0x1b4ae8,this[_0x33d179(0x40f)]=_0x20164b,this['_injector']=_0x5cde54,this[_0x33d179(0x570)]=_0xe83ea8;const {..._0x36291b}=this[_0x33d179(0x2ea)];this[_0x33d179(0x570)][_0x33d179(0x34e)](_0x5d0897,_0x36291b);}[_0x235839(0x2be)](){const _0x378944=_0x235839;this[_0x378944(0x4c8)](),_0x19baed['touchDependencies'](this[_0x378944(0x2ae)],[[_0x1b12fb],[_0x3ad279[_0x378944(0x17c)]],[_0x1c23d7]]);}['onReady'](){const _0x2f6978=_0x235839;_0x19baed[_0x2f6978(0x487)](this[_0x2f6978(0x2ae)],[[_0xa0fd45]]);}[_0x235839(0x42d)](){const _0x4068f3=_0x235839;this[_0x4068f3(0x1bf)]();}['_registerDependencies'](){const _0x2dbfe1=_0x235839;var _0x13eb19,_0x384f15,_0x145317,_0x336b4e;this[_0x2dbfe1(0x2ae)]['has'](_0x19baed['IUndoRedoService'])&&this[_0x2dbfe1(0x449)][_0x2dbfe1(0x244)](_0x2dbfe1(0x436),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');let _0x3eef96=[[_0x19baed[_0x2dbfe1(0x187)],{'useClass':_0xf5c44f}],[_0x3ad279[_0x2dbfe1(0x1d9)]],[_0x2012fa],[_0x2b4687,{'useClass':_0x24361b}],[_0x219e5c],[_0x3ad279[_0x2dbfe1(0x36b)]],[_0x1dcccd['WebSocketService']],[_0x132bd7],[_0x43e69a],[_0x4ceb7a],[_0x37b8a8],[_0x1fb0de],[_0x2c038a],[_0x585ce3],[_0x1c23d7],[_0x6eb43,{'useClass':(_0x384f15=(_0x13eb19=this[_0x2dbfe1(0x2ea)])==null?void 0x0:_0x13eb19['socketService'])!=null?_0x384f15:_0x3ad279[_0x2dbfe1(0x1fe)]}],[_0x21fd1d[_0x2dbfe1(0x276)],{'useClass':_0x3ad279[_0x2dbfe1(0x562)]}],[_0x19baed[_0x2dbfe1(0x331)],{'useClass':_0x3ad279['AuthzIoHttpService']}],[_0x322314['IImageIoService'],{'useClass':_0x3ad279[_0x2dbfe1(0x560)]}],[_0x3ad279[_0x2dbfe1(0x489)]],[_0x3ad279['DataLoaderController']],[_0x3ad279['DesktopCollaborationStatusDisplayController']],[_0xa0fd45],[_0x1b12fb]];(_0x145317=this[_0x2dbfe1(0x2ea)])!=null&&_0x145317[_0x2dbfe1(0x1c7)]&&_0x3eef96['push']([_0x34c426,{'useClass':_0x70b79a}]),_0x3eef96=_0x19baed[_0x2dbfe1(0x4e5)](_0x3eef96,(_0x336b4e=this[_0x2dbfe1(0x2ea)])==null?void 0x0:_0x336b4e['override']),_0x3eef96[_0x2dbfe1(0x2a6)](_0x34b4ff=>this['_injector'][_0x2dbfe1(0x4c2)](_0x34b4ff)),this['_initModules']();}[_0x235839(0x1bf)](){const _0x139741=_0x235839;this[_0x139741(0x4e4)](this['_renderManagerService'][_0x139741(0x510)](_0x19baed[_0x139741(0x433)][_0x139741(0x2ad)],[_0x53ab8c])),this['disposeWithMe'](this['_renderManagerService'][_0x139741(0x510)](_0x19baed[_0x139741(0x433)][_0x139741(0x48e)],[_0x1d6de5]));}['_initModules'](){const _0x75c8d5=_0x235839;var _0x638243,_0x3daa31;this[_0x75c8d5(0x2ae)][_0x75c8d5(0x17a)](_0x1dcccd[_0x75c8d5(0x1a2)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x1dcccd[_0x75c8d5(0x357)]({'maxParallel':0x6})}),this[_0x75c8d5(0x2ae)]['get'](_0x2c038a),(_0x638243=this[_0x75c8d5(0x2ea)])!=null&&_0x638243[_0x75c8d5(0x54e)]||this[_0x75c8d5(0x2ae)][_0x75c8d5(0x17a)](_0x3ad279[_0x75c8d5(0x36b)])[_0x75c8d5(0x3e5)](),(_0x3daa31=this['_config'])!=null&&_0x3daa31[_0x75c8d5(0x236)]&&this[_0x75c8d5(0x2ae)][_0x75c8d5(0x17a)](_0x1fb0de),this['_injector'][_0x75c8d5(0x17a)](_0x3ad279[_0x75c8d5(0x489)]),this['_injector'][_0x75c8d5(0x461)](_0x3ad279[_0x75c8d5(0x249)])&&this[_0x75c8d5(0x2ae)]['get'](_0x3ad279[_0x75c8d5(0x249)]);}},_0x363f4f(_0x3ad279[_0x235839(0x354)],'pluginName',_0x44f95d),_0x3ad279[_0x235839(0x354)]=_0xf9b092([_0x19baed[_0x235839(0x322)](_0x21fd1d['UniverCollaborationPlugin'],_0x1dcccd[_0x235839(0x316)]),_0x5424a0(0x1,_0x19baed['ILogService']),_0x5424a0(0x2,_0xc3fdc['IRenderManagerService']),_0x5424a0(0x3,_0x19baed[_0x235839(0x431)](_0x19baed[_0x235839(0x41c)])),_0x5424a0(0x4,_0x19baed[_0x235839(0x472)])],_0x3ad279['UniverCollaborationClientPlugin']),_0x3ad279['AUTHZ_URL_KEY']=_0x506edd,_0x3ad279[_0x235839(0x182)]=_0x442d3a,_0x3ad279[_0x235839(0x3ad)]=_0x25dbd0,_0x3ad279[_0x235839(0x4d6)]=_0x7cfec2,_0x3ad279['CollaborationStatusDisplay']=_0x44851c,_0x3ad279['CommentService']=_0x585ce3,_0x3ad279[_0x235839(0x50a)]=_0x29d731,_0x3ad279[_0x235839(0x33f)]=_0xf0a6fc,_0x3ad279['ICollaborationSocketService']=_0x6eb43,_0x3ad279[_0x235839(0x29d)]=_0x2b4687,_0x3ad279[_0x235839(0x56a)]=_0x189453,_0x3ad279[_0x235839(0x2de)]=_0x147fb0,_0x3ad279[_0x235839(0x1a8)]=_0x691c04,_0x3ad279[_0x235839(0x3a2)]=_0x283fc6,_0x3ad279[_0x235839(0x313)]=_0x58f027,_0x3ad279[_0x235839(0x2bf)]=_0x43b4aa,_0x3ad279['SessionStatus']=_0x417e84,_0x3ad279[_0x235839(0x452)]=_0x53e7d3,_0x3ad279['WebURLService']=_0x24361b,_0x3ad279[_0x235839(0x52c)]=_0x2018e4,_0x3ad279[_0x235839(0x197)]=_0x5aa134,Object[_0x235839(0x27f)](_0x3ad279,Symbol[_0x235839(0x1a9)],{'value':_0x235839(0x26a)});}));