@univerjs-pro/collaboration-client 0.4.0-nightly.202410121605 → 0.4.0-nightly.202410131605

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(_0x11ac8a,_0x3ebd38){const _0x15daca=_0x5025,_0x340e5e=_0x11ac8a();while(!![]){try{const _0x13e629=-parseInt(_0x15daca(0x4f7))/0x1*(parseInt(_0x15daca(0x2fa))/0x2)+-parseInt(_0x15daca(0x59e))/0x3+parseInt(_0x15daca(0x416))/0x4*(parseInt(_0x15daca(0x4d7))/0x5)+parseInt(_0x15daca(0x4d5))/0x6+parseInt(_0x15daca(0x305))/0x7*(parseInt(_0x15daca(0x5a3))/0x8)+-parseInt(_0x15daca(0x320))/0x9*(parseInt(_0x15daca(0x4d6))/0xa)+parseInt(_0x15daca(0x1b5))/0xb;if(_0x13e629===_0x3ebd38)break;else _0x340e5e['push'](_0x340e5e['shift']());}catch(_0x29b747){_0x340e5e['push'](_0x340e5e['shift']());}}}(_0x4c12,0xb6ad2),function(_0xccc25,_0x5ba8d4){const _0x5f38f6=_0x5025;typeof exports==_0x5f38f6(0x232)&&typeof module<'u'?_0x5ba8d4(exports,require('@univerjs/core'),require(_0x5f38f6(0x2c8)),require('rxjs/operators'),require('@univerjs/design'),require('@univerjs/ui'),require(_0x5f38f6(0x201)),require(_0x5f38f6(0x4a5)),require(_0x5f38f6(0x285)),require(_0x5f38f6(0x470)),require('@univerjs/docs-ui'),require(_0x5f38f6(0x34a)),require('@univerjs/engine-render'),require(_0x5f38f6(0x4e0)),require(_0x5f38f6(0x2c2)),require(_0x5f38f6(0x3f2)),require('react'),require(_0x5f38f6(0x200)),require(_0x5f38f6(0x335))):typeof define==_0x5f38f6(0x574)&&define[_0x5f38f6(0x399)]?define([_0x5f38f6(0x5ac),_0x5f38f6(0x334),'rxjs','rxjs/operators','@univerjs/design',_0x5f38f6(0x3c5),_0x5f38f6(0x201),_0x5f38f6(0x4a5),_0x5f38f6(0x285),_0x5f38f6(0x470),_0x5f38f6(0x1ff),_0x5f38f6(0x34a),_0x5f38f6(0x5bd),_0x5f38f6(0x4e0),'@univerjs/engine-formula','@univerjs/sheets-ui',_0x5f38f6(0x1fc),'@univerjs/rpc',_0x5f38f6(0x335)],_0x5ba8d4):(_0xccc25=typeof globalThis<'u'?globalThis:_0xccc25||self,_0x5ba8d4(_0xccc25['UniverCollaborationClient']={},_0xccc25[_0x5f38f6(0x44f)],_0xccc25[_0x5f38f6(0x2c8)],_0xccc25[_0x5f38f6(0x2c8)][_0x5f38f6(0x221)],_0xccc25['UniverDesign'],_0xccc25[_0x5f38f6(0x267)],_0xccc25[_0x5f38f6(0x4c1)],_0xccc25[_0x5f38f6(0x253)],_0xccc25['UniverTelemetry'],_0xccc25[_0x5f38f6(0x3a2)],_0xccc25[_0x5f38f6(0x542)],_0xccc25['UniverSheets'],_0xccc25[_0x5f38f6(0x55f)],_0xccc25[_0x5f38f6(0x4c2)],_0xccc25[_0x5f38f6(0x4ee)],_0xccc25[_0x5f38f6(0x455)],_0xccc25[_0x5f38f6(0x202)],_0xccc25[_0x5f38f6(0x5a2)],_0xccc25[_0x5f38f6(0x2b4)]));}(this,function(_0x119e5f,_0x42e035,_0x40c8d9,_0xfd004d,_0x25691d,_0x576301,_0x45f1e1,_0x1a2c53,_0x14d311,_0x50c98c,_0x43047a,_0x2d44ec,_0x7f7413,_0x54b8f5,_0x4f7175,_0x29357b,_0xe67cb,_0x22d03b,_0x3ed312){'use strict';const _0x2a4c41=_0x5025;var _0x51994b=Object[_0x2a4c41(0x38e)],_0x234c80=(_0x1b40d6,_0x5193da,_0x6e8839)=>_0x5193da in _0x1b40d6?_0x51994b(_0x1b40d6,_0x5193da,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x6e8839}):_0x1b40d6[_0x5193da]=_0x6e8839,_0x3a0856=(_0x535590,_0x12569e,_0x1e985a)=>_0x234c80(_0x535590,typeof _0x12569e!='symbol'?_0x12569e+'':_0x12569e,_0x1e985a);const _0x29e843=_0x2a4c41(0x2af),_0x3d76bf=_0x2a4c41(0x21f),_0x3fe4ba=_0x2a4c41(0x1f5),_0x37e430=_0x2a4c41(0x1f4),_0x1c4bb5='COLLAB_WEB_SOCKET_URL',_0x449381='ws://127.0.0.1:8000/universer-api/comb/connect',_0x300f15=_0x2a4c41(0x331),_0x5824fe='HEARTBEAT_TIMEOUT',_0x5d1651=_0x2a4c41(0x55c),_0x37a242=_0x2a4c41(0x4a8),_0x1f5d13=_0x2a4c41(0x4fb),_0x15c816=_0x2a4c41(0x550),_0x47525d=_0x2a4c41(0x5d2),_0x41dfd9=_0x2a4c41(0x4e8);var _0x2b70c1=(_0x6225ad=>(_0x6225ad[_0x6225ad[_0x2a4c41(0x482)]=0x0]=_0x2a4c41(0x482),_0x6225ad[_0x6225ad['OK']=0x1]='OK',_0x6225ad[_0x6225ad[_0x2a4c41(0x247)]=0x2]=_0x2a4c41(0x247),_0x6225ad[_0x6225ad['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x6225ad[_0x6225ad[_0x2a4c41(0x33f)]=0x4]=_0x2a4c41(0x33f),_0x6225ad[_0x6225ad[_0x2a4c41(0x1ef)]=0x5]=_0x2a4c41(0x1ef),_0x6225ad[_0x6225ad['ALREADY_EXISTS']=0x6]=_0x2a4c41(0x518),_0x6225ad[_0x6225ad['INVALID_ARGUMENT']=0x7]=_0x2a4c41(0x39b),_0x6225ad[_0x6225ad[_0x2a4c41(0x599)]=0x8]=_0x2a4c41(0x599),_0x6225ad[_0x6225ad[_0x2a4c41(0x1a3)]=0x9]=_0x2a4c41(0x1a3),_0x6225ad[_0x6225ad[_0x2a4c41(0x338)]=0x1389]=_0x2a4c41(0x338),_0x6225ad[_0x6225ad[_0x2a4c41(0x1e4)]=0x1771]=_0x2a4c41(0x1e4),_0x6225ad[_0x6225ad[_0x2a4c41(0x4b6)]=0x1772]=_0x2a4c41(0x4b6),_0x6225ad[_0x6225ad[_0x2a4c41(0x2b9)]=0x1b59]='APPLY_REJECT',_0x6225ad[_0x6225ad[_0x2a4c41(0x5b4)]=0x1b5a]=_0x2a4c41(0x5b4),_0x6225ad[_0x6225ad[_0x2a4c41(0x3af)]=0x1b5b]=_0x2a4c41(0x3af),_0x6225ad[_0x6225ad[_0x2a4c41(0x263)]=0x1b5c]=_0x2a4c41(0x263),_0x6225ad[_0x6225ad[_0x2a4c41(0x3b5)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x6225ad[_0x6225ad[_0x2a4c41(0x1cf)]=0x2329]=_0x2a4c41(0x1cf),_0x6225ad[_0x6225ad[_0x2a4c41(0x58c)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x6225ad[_0x6225ad[_0x2a4c41(0x57c)]=0x232b]=_0x2a4c41(0x57c),_0x6225ad[_0x6225ad['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x6225ad[_0x6225ad[_0x2a4c41(0x417)]=0x232d]=_0x2a4c41(0x417),_0x6225ad[_0x6225ad[_0x2a4c41(0x236)]=0x2711]=_0x2a4c41(0x236),_0x6225ad[_0x6225ad[_0x2a4c41(0x233)]=0x2712]=_0x2a4c41(0x233),_0x6225ad[_0x6225ad[_0x2a4c41(0x2b5)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x6225ad[_0x6225ad[_0x2a4c41(0x329)]=0x2714]=_0x2a4c41(0x329),_0x6225ad[_0x6225ad[_0x2a4c41(0x59c)]=-0x1]=_0x2a4c41(0x59c),_0x6225ad))(_0x2b70c1||{}),_0x2a3e17=(_0x3699fa=>(_0x3699fa[_0x3699fa[_0x2a4c41(0x44d)]=0x0]='UNIVER_UNKNOWN',_0x3699fa[_0x3699fa['UNIVER_DOC']=0x1]='UNIVER_DOC',_0x3699fa[_0x3699fa[_0x2a4c41(0x56a)]=0x2]=_0x2a4c41(0x56a),_0x3699fa[_0x3699fa[_0x2a4c41(0x54f)]=0x3]=_0x2a4c41(0x54f),_0x3699fa[_0x3699fa[_0x2a4c41(0x590)]=0x4]=_0x2a4c41(0x590),_0x3699fa[_0x3699fa[_0x2a4c41(0x59c)]=-0x1]=_0x2a4c41(0x59c),_0x3699fa))(_0x2a3e17||{}),_0x4efcf2=(_0x39d2c3=>(_0x39d2c3[_0x39d2c3['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x39d2c3[_0x39d2c3[_0x2a4c41(0x39e)]=0x1]=_0x2a4c41(0x39e),_0x39d2c3[_0x39d2c3[_0x2a4c41(0x35f)]=0x2]=_0x2a4c41(0x35f),_0x39d2c3[_0x39d2c3[_0x2a4c41(0x519)]=0x3]=_0x2a4c41(0x519),_0x39d2c3[_0x39d2c3[_0x2a4c41(0x2ea)]=0x4]='INGEST',_0x39d2c3[_0x39d2c3[_0x2a4c41(0x1df)]=0x5]='HEARTBEAT',_0x39d2c3[_0x39d2c3[_0x2a4c41(0x4de)]=0x6]=_0x2a4c41(0x4de),_0x39d2c3[_0x39d2c3['UNRECOGNIZED']=-0x1]=_0x2a4c41(0x59c),_0x39d2c3))(_0x4efcf2||{}),_0x1d1888=(_0x29ed77=>(_0x29ed77[_0x29ed77[_0x2a4c41(0x513)]=0x0]=_0x2a4c41(0x513),_0x29ed77[_0x29ed77['OK']=0x1]='OK',_0x29ed77[_0x29ed77['FAIL']=0x2]=_0x2a4c41(0x418),_0x29ed77[_0x29ed77[_0x2a4c41(0x59c)]=-0x1]=_0x2a4c41(0x59c),_0x29ed77))(_0x1d1888||{}),_0x2f5255=(_0x470e09=>(_0x470e09[_0x470e09['Undefined']=0x0]='Undefined',_0x470e09[_0x470e09[_0x2a4c41(0x412)]=0x1]=_0x2a4c41(0x412),_0x470e09[_0x470e09[_0x2a4c41(0x517)]=0x2]='HttpExport',_0x470e09[_0x470e09[_0x2a4c41(0x1a4)]=0x3]=_0x2a4c41(0x1a4),_0x470e09[_0x470e09['UnitSnapshot']=0x4]=_0x2a4c41(0x1ea),_0x470e09[_0x470e09[_0x2a4c41(0x59c)]=-0x1]=_0x2a4c41(0x59c),_0x470e09))(_0x2f5255||{});const _0x576146=_0x2a4c41(0x480),_0x4caf99={};function _0x40c376(_0x5af43a){const _0x442df2=_0x2a4c41;var _0x35e3ed,_0x3ee92d,_0x3ec300,_0x5d3a09;const _0x43c124=_0x5af43a[_0x442df2(0x5c8)],_0xcf9655=JSON[_0x442df2(0x3d0)](_0x43c124);switch(_0xcf9655[_0x442df2(0x1d9)]){case _0x4efcf2[_0x442df2(0x1df)]:case _0x4efcf2['HELLO']:{const _0x220aae=_0xcf9655[_0x442df2(0x504)];return{..._0xcf9655,'data':_0x220aae,'cmd':_0xcf9655[_0x442df2(0x1d9)]};}case _0x4efcf2[_0x442df2(0x35f)]:{const _0x4cdfe6=_0xcf9655['joinRsp'];return{..._0xcf9655,'data':_0x4cdfe6,'cmd':_0xcf9655[_0x442df2(0x1d9)]};}case _0x4efcf2[_0x442df2(0x4de)]:{const _0x4730d0=_0xcf9655[_0x442df2(0x554)];switch(_0x4730d0[_0x442df2(0x36d)]){case _0x1a2c53[_0x442df2(0x292)][_0x442df2(0x228)]:return{..._0xcf9655,'data':{..._0x4730d0,'data':(_0x35e3ed=_0x4730d0['permissionRejEvent'])==null?void 0x0:_0x35e3ed['cs']},'cmd':_0xcf9655['cmd']};case _0x1a2c53['CollaborationEvent'][_0x442df2(0x3ce)]:return{..._0xcf9655,'data':{..._0x4730d0,'data':(_0x3ee92d=_0x4730d0[_0x442df2(0x549)])==null?void 0x0:_0x3ee92d['cs']},'cmd':_0xcf9655[_0x442df2(0x1d9)]};case _0x1a2c53[_0x442df2(0x292)]['NEW_CHANGESETS']:return{..._0xcf9655,'data':{..._0x4730d0,'data':(_0x3ec300=_0x4730d0[_0x442df2(0x25f)])==null?void 0x0:_0x3ec300['cs']},'cmd':_0xcf9655[_0x442df2(0x1d9)]};case _0x1a2c53[_0x442df2(0x292)][_0x442df2(0x1b9)]:return{..._0xcf9655,'data':{..._0x4730d0,'data':(_0x5d3a09=_0x4730d0['csRejEvent'])==null?void 0x0:_0x5d3a09['cs']},'cmd':_0xcf9655[_0x442df2(0x1d9)]};case _0x1a2c53['CollaborationEvent']['UPDATE_CURSOR']:return{..._0xcf9655,'data':{..._0x4730d0,'data':_0x4730d0[_0x442df2(0x33a)]},'cmd':_0xcf9655[_0x442df2(0x1d9)]};case _0x1a2c53['CollaborationEvent'][_0x442df2(0x4ac)]:return{..._0xcf9655,'data':{..._0x4730d0,'data':_0x4730d0['joinEvent']},'cmd':_0xcf9655[_0x442df2(0x1d9)]};case _0x1a2c53[_0x442df2(0x292)]['USERS_LEAVE']:return{..._0xcf9655,'data':{..._0x4730d0,'data':_0x4730d0[_0x442df2(0x1bd)]},'cmd':_0xcf9655['cmd']};case _0x1a2c53['CollaborationEvent'][_0x442df2(0x589)]:return{..._0xcf9655,'data':{..._0x4730d0,'data':_0x4730d0['liveShareNewHost']},'cmd':_0xcf9655['cmd']};case _0x1a2c53[_0x442df2(0x292)][_0x442df2(0x24a)]:case _0x1a2c53['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0xcf9655,'data':{..._0x4730d0,'data':_0x4730d0[_0x442df2(0x269)]},'cmd':_0xcf9655[_0x442df2(0x1d9)]};case _0x1a2c53[_0x442df2(0x292)][_0x442df2(0x345)]:return{..._0xcf9655,'data':{..._0x4730d0,'data':_0x4730d0[_0x442df2(0x224)]},'cmd':_0xcf9655['cmd']};case _0x1a2c53[_0x442df2(0x292)][_0x442df2(0x361)]:return{..._0xcf9655,'data':_0x4730d0,'cmd':_0xcf9655['cmd']};case _0x1a2c53[_0x442df2(0x292)]['COMMENT_UPDATE']:return{..._0xcf9655,'data':{..._0x4730d0,'data':_0x4730d0[_0x442df2(0x2a1)]},'cmd':_0xcf9655[_0x442df2(0x1d9)]};case _0x1a2c53[_0x442df2(0x292)][_0x442df2(0x446)]:return{..._0xcf9655,'data':{..._0x4730d0,'data':_0x4730d0[_0x442df2(0x3fc)]},'cmd':_0xcf9655[_0x442df2(0x1d9)]};case _0x1a2c53[_0x442df2(0x292)][_0x442df2(0x557)]:return{..._0xcf9655,'data':{..._0x4730d0,'data':_0x4730d0['shouldCloseConn']},'cmd':_0xcf9655[_0x442df2(0x1d9)]};default:return _0xcf9655;}}default:return _0xcf9655;}}function _0xf1fd71(_0x57270e){const _0x36c4e7=_0x2a4c41;switch(_0x57270e[_0x36c4e7(0x1d9)]){case _0x4efcf2[_0x36c4e7(0x1df)]:case _0x4efcf2[_0x36c4e7(0x39e)]:return JSON['stringify']({'cmd':_0x57270e['cmd'],'routeKey':_0x57270e['routeKey']});case _0x4efcf2[_0x36c4e7(0x2ea)]:{let _0x100c7d;switch(_0x57270e[_0x36c4e7(0x5c8)][_0x36c4e7(0x36d)]){case _0x1a2c53[_0x36c4e7(0x292)][_0x36c4e7(0x383)]:{_0x100c7d={'eventID':_0x1a2c53[_0x36c4e7(0x292)][_0x36c4e7(0x383)],'updateCursorEvent':_0x57270e['data'][_0x36c4e7(0x5c8)]};break;}case _0x1a2c53[_0x36c4e7(0x292)][_0x36c4e7(0x1ba)]:{_0x100c7d={'eventID':_0x1a2c53[_0x36c4e7(0x292)][_0x36c4e7(0x1ba)],'leaveEvent':_0x57270e[_0x36c4e7(0x5c8)][_0x36c4e7(0x5c8)]};break;}case _0x1a2c53['CollaborationEvent'][_0x36c4e7(0x4ac)]:{_0x100c7d={'eventID':_0x1a2c53[_0x36c4e7(0x292)][_0x36c4e7(0x4ac)],'joinEvent':_0x57270e[_0x36c4e7(0x5c8)][_0x36c4e7(0x5c8)]};break;}case _0x1a2c53[_0x36c4e7(0x292)]['LIVESHARE_NEW_HOST']:{_0x100c7d={'eventID':_0x1a2c53[_0x36c4e7(0x292)][_0x36c4e7(0x589)],'liveShareNewHost':_0x57270e[_0x36c4e7(0x5c8)]['data']};break;}case _0x1a2c53[_0x36c4e7(0x292)][_0x36c4e7(0x21e)]:{_0x100c7d={'eventID':_0x1a2c53['CollaborationEvent']['LIVESHARE_OPERATION'],'liveShareOperation':_0x57270e[_0x36c4e7(0x5c8)]['data']};break;}case _0x1a2c53[_0x36c4e7(0x292)][_0x36c4e7(0x345)]:{_0x100c7d={'eventID':_0x1a2c53['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x57270e[_0x36c4e7(0x5c8)][_0x36c4e7(0x5c8)]};break;}case _0x1a2c53[_0x36c4e7(0x292)][_0x36c4e7(0x59d)]:{_0x100c7d={'eventID':_0x1a2c53[_0x36c4e7(0x292)][_0x36c4e7(0x59d)],'liveShareRequestHost':_0x57270e[_0x36c4e7(0x5c8)][_0x36c4e7(0x5c8)]};break;}case _0x1a2c53['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0x100c7d={'eventID':_0x1a2c53[_0x36c4e7(0x292)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x100c7d={'eventID':_0x57270e[_0x36c4e7(0x5c8)][_0x36c4e7(0x36d)]};}return JSON[_0x36c4e7(0x2a9)]({'cmd':_0x57270e['cmd'],'routeKey':_0x57270e[_0x36c4e7(0x539)],'collaMsg':_0x100c7d});}case _0x4efcf2['JOIN']:return JSON[_0x36c4e7(0x2a9)]({'cmd':_0x57270e[_0x36c4e7(0x1d9)],'routeKey':_0x57270e[_0x36c4e7(0x539)],'joinReq':_0x57270e[_0x36c4e7(0x5c8)]});case _0x4efcf2[_0x36c4e7(0x519)]:return JSON[_0x36c4e7(0x2a9)]({'cmd':_0x57270e[_0x36c4e7(0x1d9)],'routeKey':_0x57270e[_0x36c4e7(0x539)],'leaveReq':_0x57270e[_0x36c4e7(0x5c8)]});default:throw new Error(_0x36c4e7(0x3c3));}}var _0xbd17f7=Object[_0x2a4c41(0x38e)],_0xfadbcb=Object[_0x2a4c41(0x317)],_0x36b86a=(_0x28beb0,_0x3b90af,_0x72618c,_0x1b6496)=>{const _0x956d42=_0x2a4c41;for(var _0x45ee87=_0x1b6496>0x1?void 0x0:_0x1b6496?_0xfadbcb(_0x3b90af,_0x72618c):_0x3b90af,_0x23ca19=_0x28beb0[_0x956d42(0x250)]-0x1,_0x1b9442;_0x23ca19>=0x0;_0x23ca19--)(_0x1b9442=_0x28beb0[_0x23ca19])&&(_0x45ee87=(_0x1b6496?_0x1b9442(_0x3b90af,_0x72618c,_0x45ee87):_0x1b9442(_0x45ee87))||_0x45ee87);return _0x1b6496&&_0x45ee87&&_0xbd17f7(_0x3b90af,_0x72618c,_0x45ee87),_0x45ee87;},_0x3876a=(_0x9ba0b8,_0x58d8b1)=>(_0x471241,_0x6a69af)=>_0x58d8b1(_0x471241,_0x6a69af,_0x9ba0b8);const _0x3a65c4=_0x42e035[_0x2a4c41(0x2c9)]('univer-pro.collaboration-client-socket-service');function _0x1eb640(_0x6185e4,_0x4528c4,_0x86cd10){const _0x6bf16d=_0x2a4c41;return _0x6185e4+'/'+_0x4528c4+_0x6bf16d(0x1f3)+_0x86cd10+_0x6bf16d(0x299);}_0x119e5f[_0x2a4c41(0x1b7)]=class extends _0x42e035[_0x2a4c41(0x5ab)]{constructor(_0x42dbb6,_0x135b81,_0x3a30f7,_0x3d3842,_0x1842e2){const _0x1796c4=_0x2a4c41;super(),this[_0x1796c4(0x53a)]=_0x42dbb6,this['_ws']=_0x135b81,this[_0x1796c4(0x1ec)]=_0x3a30f7,this['_logService']=_0x3d3842,this[_0x1796c4(0x48f)]=_0x1842e2;}[_0x2a4c41(0x3c0)](_0x558c3e){const _0x6f92e7=_0x2a4c41,_0x557e3c=this[_0x6f92e7(0x1d7)]['createSocket'](_0x558c3e);if(!_0x557e3c)throw new Error(_0x6f92e7(0x3cb));const _0x287c66=new _0x42e035[(_0x6f92e7(0x5d7))](),_0x26d60e=new _0x40c8d9[(_0x6f92e7(0x4cb))]();_0x287c66['add'](_0x557e3c[_0x6f92e7(0x3c7)][_0x6f92e7(0x543)](_0x4e7da2=>_0x26d60e['next'](_0x4e7da2))),_0x287c66[_0x6f92e7(0x1ca)](_0x42e035['toDisposable'](()=>_0x26d60e[_0x6f92e7(0x523)]()));const _0xaae1d8=new _0x40c8d9[(_0x6f92e7(0x4cb))]();_0x287c66[_0x6f92e7(0x1ca)](_0x557e3c[_0x6f92e7(0x410)][_0x6f92e7(0x543)](_0x1f7701=>_0xaae1d8[_0x6f92e7(0x380)](_0x1f7701))),_0x287c66['add'](_0x42e035[_0x6f92e7(0x4b5)](()=>_0xaae1d8[_0x6f92e7(0x523)]()));const _0x937d28=new _0x40c8d9[(_0x6f92e7(0x4cb))]();_0x287c66[_0x6f92e7(0x1ca)](_0x557e3c[_0x6f92e7(0x387)][_0x6f92e7(0x543)](_0x13a487=>{const _0x595bd9=_0x6f92e7,_0x4e12a1=_0x40c376(_0x13a487);_0x937d28[_0x595bd9(0x380)](_0x4e12a1);})),_0x287c66[_0x6f92e7(0x1ca)](_0x42e035[_0x6f92e7(0x4b5)](()=>_0x937d28[_0x6f92e7(0x523)]()));let _0x520b9f;const _0x458b1f=()=>{const _0x1ddada=_0x6f92e7;_0xaae1d8[_0x1ddada(0x380)](new Event(_0x1ddada(0x2c5))),_0x26d60e[_0x1ddada(0x380)](new CloseEvent(_0x1ddada(0x2c5))),_0x520b9f[_0x1ddada(0x36e)]();};return _0x520b9f={'memberID':'','close$':_0x26d60e[_0x6f92e7(0x2dd)](),'error$':_0xaae1d8[_0x6f92e7(0x2dd)](),'open$':_0x557e3c[_0x6f92e7(0x21a)],'message$':_0x937d28[_0x6f92e7(0x2dd)](),'send':_0x2f9a6f=>{const _0x11c500=_0x6f92e7;if(_0x2f9a6f['cmd']===_0x4efcf2[_0x11c500(0x2ea)]){if(_0x2f9a6f[_0x11c500(0x5c8)][_0x11c500(0x36d)]===_0x1a2c53[_0x11c500(0x292)][_0x11c500(0x3a3)]){this['_submitChangeset'](_0x520b9f,_0x2f9a6f[_0x11c500(0x5c8)])['catch'](_0xc01a31=>{const _0x28b297=_0x11c500;this[_0x28b297(0x1ae)][_0x28b297(0x432)](_0xc01a31),_0x458b1f();});return;}if(_0x2f9a6f['data'][_0x11c500(0x36d)]===_0x1a2c53['CollaborationEvent'][_0x11c500(0x238)]){const _0x42ff6d=_0x2f9a6f[_0x11c500(0x5c8)];this[_0x11c500(0x5bf)](_0x42ff6d)[_0x11c500(0x4c6)](_0x4b7487=>{const _0x423fb6=_0x11c500;_0x937d28[_0x423fb6(0x380)]({'cmd':_0x4efcf2[_0x423fb6(0x4de)],'code':_0x1d1888['OK'],'routeKey':_0x42ff6d[_0x423fb6(0x5c8)]['unitID'],'routeType':'','data':{'eventID':_0x1a2c53[_0x423fb6(0x292)][_0x423fb6(0x57f)],'data':{'changesets':_0x4b7487}}});})[_0x11c500(0x26e)](_0x3b5036=>{this['_logService']['error'](_0x3b5036),_0x458b1f();});return;}}_0x557e3c[_0x11c500(0x212)](_0xf1fd71(_0x2f9a6f));},'close':()=>{const _0x5bbcbd=_0x6f92e7;_0x557e3c[_0x5bbcbd(0x36e)](),_0x287c66[_0x5bbcbd(0x4f9)]();}},_0x520b9f;}async['_submitChangeset'](_0x3eeb54,_0x4fee1c){const _0x575366=_0x2a4c41;var _0x156fca,_0x4cb042;const {unitType:_0x4a7602,unitID:_0x5a0f79,changeset:_0x35eb54}=_0x4fee1c[_0x575366(0x5c8)],_0x568f03={'unitID':_0x5a0f79,'memberID':_0x3eeb54['memberID'],'type':_0x4a7602,'changeset':_0x1a2c53[_0x575366(0x294)](_0x35eb54)},_0x3048e2=this['_configService']['getConfig'](_0x1f5d13),_0xb1a07=this[_0x575366(0x1ec)][_0x575366(0x53c)](_0x576146),_0x409d9c=_0x1eb640((_0x4cb042=(_0x156fca=_0xb1a07==null?void 0x0:_0xb1a07[_0x575366(0x342)])!=null?_0x156fca:_0x3048e2)!=null?_0x4cb042:_0x15c816,_0x4a7602,_0x5a0f79);try{await this[_0x575366(0x53a)]['post'](_0x409d9c,{'body':_0x568f03});}catch(_0x5d8059){throw this[_0x575366(0x1ae)][_0x575366(0x432)](_0x575366(0x59a),_0x575366(0x46a)),_0x5d8059;}}async[_0x2a4c41(0x5bf)](_0x500def){const _0x5d3dd1=_0x2a4c41,{unitID:_0x1a34cb,from:_0x123786,to:_0x1b394b,unitType:_0x5dd704}=_0x500def[_0x5d3dd1(0x5c8)];return(await this[_0x5d3dd1(0x48f)][_0x5d3dd1(0x48c)]({'metadata':void 0x0},{'unitID':_0x1a34cb,'type':_0x5dd704,'from':_0x123786,'to':_0x1b394b}))[_0x5d3dd1(0x2e0)];}},_0x119e5f['CollaborationSocketService']=_0x36b86a([_0x3876a(0x0,_0x42e035[_0x2a4c41(0x29d)](_0x45f1e1['HTTPService'])),_0x3876a(0x1,_0x42e035[_0x2a4c41(0x29d)](_0x45f1e1[_0x2a4c41(0x4bc)])),_0x3876a(0x2,_0x42e035[_0x2a4c41(0x25b)]),_0x3876a(0x3,_0x42e035['ILogService']),_0x3876a(0x4,_0x1a2c53[_0x2a4c41(0x4bf)])],_0x119e5f[_0x2a4c41(0x1b7)]);const _0xe1a36='collaboration_new_changeset';function _0x2e67df(_0x548f89){const _0x1c82a5=_0x2a4c41;return JSON[_0x1c82a5(0x2a9)](_0x548f89)[_0x1c82a5(0x250)];}class _0x4ae63a{constructor(){const _0x33dc80=_0x2a4c41;_0x3a0856(this,_0x33dc80(0x1d5),new _0x40c8d9[(_0x33dc80(0x4cb))]()),_0x3a0856(this,_0x33dc80(0x372),this['_commentUpdate$']['asObservable']());}[_0x2a4c41(0x20e)](_0x4fd878){const _0x41e780=_0x2a4c41;this[_0x41e780(0x1d5)][_0x41e780(0x380)](_0x4fd878);}}var _0x52ae5c=Object[_0x2a4c41(0x38e)],_0x31248c=Object[_0x2a4c41(0x317)],_0x4c2bb9=(_0x2f03d2,_0x28a672,_0x434828,_0x4ef79c)=>{const _0x2217b8=_0x2a4c41;for(var _0x488b4e=_0x4ef79c>0x1?void 0x0:_0x4ef79c?_0x31248c(_0x28a672,_0x434828):_0x28a672,_0x4499d4=_0x2f03d2[_0x2217b8(0x250)]-0x1,_0x437461;_0x4499d4>=0x0;_0x4499d4--)(_0x437461=_0x2f03d2[_0x4499d4])&&(_0x488b4e=(_0x4ef79c?_0x437461(_0x28a672,_0x434828,_0x488b4e):_0x437461(_0x488b4e))||_0x488b4e);return _0x4ef79c&&_0x488b4e&&_0x52ae5c(_0x28a672,_0x434828,_0x488b4e),_0x488b4e;},_0x27ab1e=(_0x11ccef,_0xa38dd3)=>(_0x4ea47e,_0x434346)=>_0xa38dd3(_0x4ea47e,_0x434346,_0x11ccef);let _0x4c4596=class extends _0x42e035[_0x2a4c41(0x5ab)]{constructor(_0x5e2b1a,_0x24ed21){const _0x404ff7=_0x2a4c41;super(),_0x3a0856(this,'_roomMembers',new Map()),(this[_0x404ff7(0x3b9)]=_0x5e2b1a,this[_0x404ff7(0x51c)]=_0x24ed21,this[_0x404ff7(0x594)](_0x42e035['toDisposable'](_0x40c8d9[_0x404ff7(0x1fe)](this[_0x404ff7(0x3b9)][_0x404ff7(0x5a5)](_0x42e035['UniverInstanceType']['UNIVER_SHEET'])[_0x404ff7(0x4b4)](_0xfd004d[_0x404ff7(0x3bc)](_0x2e3629=>_0x2e3629[_0x404ff7(0x506)]())),this[_0x404ff7(0x3b9)]['getTypeOfUnitDisposed$'](_0x42e035['UniverInstanceType'][_0x404ff7(0x441)])['pipe'](_0xfd004d[_0x404ff7(0x3bc)](_0x4f3366=>_0x4f3366['getUnitId']())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x42e035[_0x404ff7(0x373)][_0x404ff7(0x54f)])['pipe'](_0xfd004d['map'](_0x57ab68=>_0x57ab68[_0x404ff7(0x506)]())))[_0x404ff7(0x543)](_0x4f7313=>this[_0x404ff7(0x5d6)](_0x4f7313)))));}['setCurrentUser'](_0x1af921){const _0x1e4ec1=_0x2a4c41;this[_0x1e4ec1(0x51c)]['setCurrentUser'](_0x1af921);}[_0x2a4c41(0x32c)](){const _0x391dcc=_0x2a4c41;return this[_0x391dcc(0x51c)][_0x391dcc(0x32c)]();}[_0x2a4c41(0x1a5)](_0x54b000,_0x2e61ab){const _0xe6d5e3=_0x2a4c41;let _0x1a3ea3=this[_0xe6d5e3(0x505)][_0xe6d5e3(0x3ae)](_0x54b000);_0x1a3ea3||(_0x1a3ea3=new _0x549912(),this[_0xe6d5e3(0x505)][_0xe6d5e3(0x1c0)](_0x54b000,_0x1a3ea3)),_0x1a3ea3[_0xe6d5e3(0x1a5)](_0x2e61ab);}[_0x2a4c41(0x346)](_0x3dbb7c,_0x39c8f7){const _0x130f24=_0x2a4c41,_0x55171f=this['_roomMembers'][_0x130f24(0x3ae)](_0x3dbb7c);_0x55171f&&_0x55171f[_0x130f24(0x346)](_0x39c8f7);}[_0x2a4c41(0x5bc)](_0x4c6a21){const _0x3b50fd=_0x2a4c41;return this[_0x3b50fd(0x505)][_0x3b50fd(0x3ae)](_0x4c6a21);}[_0x2a4c41(0x3bd)](_0x5d91a6,_0x2269b3){const _0x557d3b=_0x2a4c41,_0x2cdbf7=this['_roomMembers'][_0x557d3b(0x3ae)](_0x5d91a6);if(_0x2cdbf7)return _0x2cdbf7[_0x557d3b(0x3bd)](_0x2269b3);}['_removeRoom'](_0x546d2a){const _0x47729c=_0x2a4c41,_0xca7705=this[_0x47729c(0x505)]['get'](_0x546d2a);_0xca7705&&(_0xca7705[_0x47729c(0x4f9)](),this['_roomMembers'][_0x47729c(0x536)](_0x546d2a));}[_0x2a4c41(0x4f9)](){const _0x176f1e=_0x2a4c41;this[_0x176f1e(0x505)]['forEach'](_0x3f6450=>_0x3f6450[_0x176f1e(0x4f9)]()),this[_0x176f1e(0x505)][_0x176f1e(0x3a7)]();}};_0x4c4596=_0x4c2bb9([_0x27ab1e(0x0,_0x42e035['IUniverInstanceService']),_0x27ab1e(0x1,_0x42e035[_0x2a4c41(0x29d)](_0x42e035[_0x2a4c41(0x249)]))],_0x4c4596);class _0x549912 extends _0x42e035['Disposable']{constructor(){super(...arguments),_0x3a0856(this,'_members',new Map());}['dispose'](){const _0x4bb0a3=_0x2a4c41;this[_0x4bb0a3(0x315)][_0x4bb0a3(0x3a7)]();}[_0x2a4c41(0x1a5)](_0x431d15){const _0x354a24=_0x2a4c41;this[_0x354a24(0x315)][_0x354a24(0x1c0)](_0x431d15[_0x354a24(0x454)],_0x431d15);}[_0x2a4c41(0x346)](_0x5f0937){const _0x810e36=_0x2a4c41;this[_0x810e36(0x315)][_0x810e36(0x536)](_0x5f0937);}[_0x2a4c41(0x3bd)](_0x54a166){const _0x17559a=_0x2a4c41;return this[_0x17559a(0x315)]['get'](_0x54a166);}}var _0x41fd0c=Object[_0x2a4c41(0x38e)],_0xd56690=Object[_0x2a4c41(0x317)],_0x533614=(_0x250c36,_0x4436e2,_0x3f4a64,_0x52c57b)=>{const _0x115cd8=_0x2a4c41;for(var _0x41dc7a=_0x52c57b>0x1?void 0x0:_0x52c57b?_0xd56690(_0x4436e2,_0x3f4a64):_0x4436e2,_0x47c5c0=_0x250c36[_0x115cd8(0x250)]-0x1,_0x3b27fa;_0x47c5c0>=0x0;_0x47c5c0--)(_0x3b27fa=_0x250c36[_0x47c5c0])&&(_0x41dc7a=(_0x52c57b?_0x3b27fa(_0x4436e2,_0x3f4a64,_0x41dc7a):_0x3b27fa(_0x41dc7a))||_0x41dc7a);return _0x52c57b&&_0x41dc7a&&_0x41fd0c(_0x4436e2,_0x3f4a64,_0x41dc7a),_0x41dc7a;},_0x11ee50=(_0x3f8af5,_0x21c5df)=>(_0x516195,_0x57c33b)=>_0x21c5df(_0x516195,_0x57c33b,_0x3f8af5),_0x4246bc=(_0x54d102=>(_0x54d102[_0x54d102[_0x2a4c41(0x23e)]=0x0]=_0x2a4c41(0x23e),_0x54d102[_0x54d102['JOINING']=0x1]='JOINING',_0x54d102[_0x54d102[_0x2a4c41(0x31c)]=0x2]=_0x2a4c41(0x31c),_0x54d102[_0x54d102[_0x2a4c41(0x424)]=0x3]=_0x2a4c41(0x424),_0x54d102))(_0x4246bc||{});_0x119e5f[_0x2a4c41(0x1f6)]=class extends _0x42e035['RxDisposable']{constructor(_0x3d5c52,_0x202aff,_0x4bbfcd,_0x4c9935,_0xaa496d,_0x4cb110,_0x435287,_0x5c5632,_0x53df79,_0x518f70){const _0x119bc2=_0x2a4c41;super(),_0x3a0856(this,'_sessionStatus$',new _0x40c8d9['BehaviorSubject'](0x0)),_0x3a0856(this,_0x119bc2(0x587),this[_0x119bc2(0x4b3)][_0x119bc2(0x2dd)]()),_0x3a0856(this,'_event$',new _0x40c8d9[(_0x119bc2(0x4cb))]()),_0x3a0856(this,_0x119bc2(0x239),this[_0x119bc2(0x1a9)][_0x119bc2(0x2dd)]()),_0x3a0856(this,'_socket'),_0x3a0856(this,_0x119bc2(0x2b2)),_0x3a0856(this,_0x119bc2(0x2b0)),_0x3a0856(this,'_shouldReportTelemetry',!0x1),_0x3a0856(this,_0x119bc2(0x493),null),(this['_unitID']=_0x3d5c52,this[_0x119bc2(0x1ae)]=_0x4bbfcd,this[_0x119bc2(0x208)]=_0x4c9935,this[_0x119bc2(0x319)]=_0xaa496d,this[_0x119bc2(0x1ec)]=_0x4cb110,this[_0x119bc2(0x2b1)]=_0x435287,this[_0x119bc2(0x534)]=_0x5c5632,this[_0x119bc2(0x5c1)]=_0x53df79,this['_telemetryService']=_0x518f70,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x202aff[_0x119bc2(0x4b4)](_0x40c8d9[_0x119bc2(0x1ed)](this['dispose$']))['subscribe'](_0x535c37=>{const _0x500735=_0x119bc2;var _0x5e4e92;typeof _0x535c37>'u'||(this['_socket']=_0x535c37,_0x535c37?(this[_0x500735(0x43b)](_0x535c37),this[_0x500735(0x2b2)]=_0x535c37[_0x500735(0x387)][_0x500735(0x543)](_0x5916cd=>{const _0x1d9e5=_0x500735;_0x5916cd[_0x1d9e5(0x539)]===this['_unitID']&&this[_0x1d9e5(0x2d8)](_0x5916cd);})):(this[_0x500735(0x1bc)](),this['_sessionStatus$']['next'](0x2),(_0x5e4e92=this[_0x500735(0x2b2)])==null||_0x5e4e92[_0x500735(0x490)](),this['_socketMessageSubscription']=null));}),this[_0x119bc2(0x594)](this[_0x119bc2(0x208)][_0x119bc2(0x23c)](()=>{const _0x150804=_0x119bc2;var _0x4d493a;(_0x4d493a=this[_0x150804(0x31e)])==null||_0x4d493a[_0x150804(0x212)]({'cmd':_0x4efcf2[_0x150804(0x519)],'data':{'roomID':this[_0x150804(0x4f5)]}});})));}get[_0x2a4c41(0x464)](){const _0x3421ce=_0x2a4c41;return this['_sessionStatus$'][_0x3421ce(0x37f)]();}[_0x2a4c41(0x4f1)](){const _0x4e8eaa=_0x2a4c41;var _0x2b8961,_0x351f1a;return(_0x351f1a=(_0x2b8961=this['_socket'])==null?void 0x0:_0x2b8961[_0x4e8eaa(0x454)])!=null?_0x351f1a:null;}[_0x2a4c41(0x4f9)](){const _0x4d8900=_0x2a4c41;super['dispose'](),this[_0x4d8900(0x311)]['next'](),this[_0x4d8900(0x311)][_0x4d8900(0x523)]();}[_0x2a4c41(0x36e)](){const _0x1f25db=_0x2a4c41;var _0xb89180,_0x3490a2;this[_0x1f25db(0x1bc)](),(_0xb89180=this[_0x1f25db(0x31e)])==null||_0xb89180[_0x1f25db(0x212)]({'cmd':_0x4efcf2[_0x1f25db(0x519)],'data':{'roomID':this[_0x1f25db(0x4f5)]}}),(_0x3490a2=this[_0x1f25db(0x31e)])==null||_0x3490a2[_0x1f25db(0x36e)](),this[_0x1f25db(0x1a9)][_0x1f25db(0x523)](),this[_0x1f25db(0x4b3)][_0x1f25db(0x523)](),this[_0x1f25db(0x4f9)]();}[_0x2a4c41(0x2d8)](_0x38ab61){const _0x447f78=_0x2a4c41;_0x38ab61['cmd']===_0x4efcf2[_0x447f78(0x35f)]?this[_0x447f78(0x438)](_0x38ab61):_0x38ab61[_0x447f78(0x1d9)]===_0x4efcf2['RECV']&&this[_0x447f78(0x50a)](_0x38ab61);}['_joinRoom'](_0x4abd6e){const _0x25f25c=_0x2a4c41;this[_0x25f25c(0x4b3)][_0x25f25c(0x380)](0x1),_0x4abd6e['send']({'cmd':_0x4efcf2['JOIN'],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x25f25c(0x4f5)]}]}});}[_0x2a4c41(0x438)](_0x1bf54c){const _0x11a343=_0x2a4c41;var _0x1eeb2a;if(_0x1bf54c['code']===_0x1d1888[_0x11a343(0x418)]){this[_0x11a343(0x319)][_0x11a343(0x451)]({'type':_0x25691d[_0x11a343(0x2ee)][_0x11a343(0x496)],'content':this['_localeService']['t']('session.room-full')}),this[_0x11a343(0x4b3)][_0x11a343(0x380)](0x2);return;}this[_0x11a343(0x4b3)]['next'](0x3);const _0x5220a0=(_0x1eeb2a=_0x1bf54c[_0x11a343(0x5c8)][_0x11a343(0x1a0)][this['_unitID']])==null?void 0x0:_0x1eeb2a['members'];_0x5220a0&&_0x5220a0['forEach'](_0x42ae2e=>this['_memberService']['updateMember'](this[_0x11a343(0x4f5)],_0x42ae2e));}[_0x2a4c41(0x50a)](_0x488824){const _0x830a6e=_0x2a4c41;try{const _0x9d035=_0x488824[_0x830a6e(0x5c8)];switch(_0x9d035[_0x830a6e(0x36d)]){case _0x1a2c53[_0x830a6e(0x292)][_0x830a6e(0x4ac)]:this[_0x830a6e(0x568)](_0x9d035),this[_0x830a6e(0x1a9)][_0x830a6e(0x380)](_0x9d035);break;case _0x1a2c53[_0x830a6e(0x292)][_0x830a6e(0x1ba)]:this['_onUserLeave'](_0x9d035),this[_0x830a6e(0x1a9)][_0x830a6e(0x380)](_0x9d035);break;case _0x1a2c53[_0x830a6e(0x292)][_0x830a6e(0x3ce)]:this[_0x830a6e(0x1de)](),this[_0x830a6e(0x29f)](),this['_event$'][_0x830a6e(0x380)](_0x9d035);break;case _0x1a2c53['CollaborationEvent'][_0x830a6e(0x361)]:this['_logService'][_0x830a6e(0x432)](_0x830a6e(0x260)+JSON[_0x830a6e(0x2a9)](_0x9d035)),this[_0x830a6e(0x1a9)][_0x830a6e(0x380)](_0x9d035);break;case _0x1a2c53[_0x830a6e(0x292)][_0x830a6e(0x46c)]:this[_0x830a6e(0x5c1)][_0x830a6e(0x20e)](_0x9d035[_0x830a6e(0x5c8)]),this[_0x830a6e(0x1a9)][_0x830a6e(0x380)](_0x9d035);break;default:this['_event$']['next'](_0x9d035);}}catch(_0x491ca5){this[_0x830a6e(0x1ae)]['error'](_0x491ca5,_0x488824);}}[_0x2a4c41(0x568)](_0x586207){const _0x5703e7=_0x2a4c41;this['_memberService'][_0x5703e7(0x1a5)](this[_0x5703e7(0x4f5)],_0x586207[_0x5703e7(0x5c8)]);}[_0x2a4c41(0x278)](_0x396c80){const _0x3bc1f9=_0x2a4c41;this[_0x3bc1f9(0x534)][_0x3bc1f9(0x346)](this[_0x3bc1f9(0x4f5)],_0x396c80['data']['memberID']);}async[_0x2a4c41(0x212)](_0x1ec972,_0xeedc46){const _0x283462=_0x2a4c41;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x283462(0x354));try{_0x1ec972[_0x283462(0x36d)]===_0x1a2c53[_0x283462(0x292)][_0x283462(0x3a3)]&&(this[_0x283462(0x328)](),this[_0x283462(0x33b)](_0x1ec972)),this[_0x283462(0x31e)][_0x283462(0x212)]({'cmd':_0x4efcf2[_0x283462(0x2ea)],'routeKey':_0xeedc46,'routeType':'','data':_0x1ec972});}catch(_0xb113bf){this['_logService']['error'](_0xb113bf);}}[_0x2a4c41(0x328)](){const _0x198ddc=_0x2a4c41;var _0x3bcc4d;this['_collaborationTimeoutTimer']=window[_0x198ddc(0x40f)](()=>{const _0x4ccb18=_0x198ddc;this[_0x4ccb18(0x2b0)]=null,this['_messageService'][_0x4ccb18(0x451)]({'type':_0x25691d[_0x4ccb18(0x2ee)][_0x4ccb18(0x3d6)],'content':this[_0x4ccb18(0x2b1)]['t']('session.collaboration-timeout')});},(_0x3bcc4d=this[_0x198ddc(0x1ec)][_0x198ddc(0x53c)](_0x5824fe))!=null?_0x3bcc4d:0x4e20);}[_0x2a4c41(0x29f)](){const _0x418565=_0x2a4c41;this['_collaborationTimeoutTimer']&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x418565(0x2b0)]=null);}[_0x2a4c41(0x33b)](_0x2852be){const _0x4d9157=_0x2a4c41;if(!this['_shouldReportTelemetry'])return;const {data:_0x849b37}=_0x2852be,{unitID:_0x14c0e9,changeset:_0x4413db}=_0x849b37,{mutations:_0x21c3df,type:_0x1a78a7}=_0x4413db;this[_0x4d9157(0x493)]={'unitId':_0x14c0e9,'type':_0x1a78a7,'startTime':performance[_0x4d9157(0x5b3)](),'stopTime':0x0,'duration':0x0,'size':_0x2e67df(_0x21c3df)};}[_0x2a4c41(0x1de)](){const _0x4c531f=_0x2a4c41;if(this[_0x4c531f(0x30e)]){if(!this[_0x4c531f(0x493)]){this[_0x4c531f(0x1ae)][_0x4c531f(0x432)]('[CollaborationSession]',_0x4c531f(0x4b2));return;}this[_0x4c531f(0x493)][_0x4c531f(0x4ba)]=performance[_0x4c531f(0x5b3)](),this[_0x4c531f(0x493)][_0x4c531f(0x1a6)]=this[_0x4c531f(0x493)]['stopTime']-this[_0x4c531f(0x493)][_0x4c531f(0x33c)],this[_0x4c531f(0x301)][_0x4c531f(0x3da)](_0xe1a36,this[_0x4c531f(0x493)]),this[_0x4c531f(0x493)]=null;}}[_0x2a4c41(0x1bc)](){this['_telemetryInfo']=null;}},_0x119e5f['CollaborationSession']=_0x533614([_0x11ee50(0x2,_0x42e035[_0x2a4c41(0x5ae)]),_0x11ee50(0x3,_0x576301[_0x2a4c41(0x42c)]),_0x11ee50(0x4,_0x576301['IMessageService']),_0x11ee50(0x5,_0x42e035[_0x2a4c41(0x25b)]),_0x11ee50(0x6,_0x42e035[_0x2a4c41(0x29d)](_0x42e035['LocaleService'])),_0x11ee50(0x7,_0x42e035['Inject'](_0x4c4596)),_0x11ee50(0x8,_0x42e035[_0x2a4c41(0x29d)](_0x4ae63a)),_0x11ee50(0x9,_0x42e035[_0x2a4c41(0x569)](_0x14d311[_0x2a4c41(0x541)]))],_0x119e5f[_0x2a4c41(0x1f6)]);var _0x49c399=Object[_0x2a4c41(0x38e)],_0x16356e=Object[_0x2a4c41(0x317)],_0x269a50=(_0x5754a3,_0x393e6d,_0x56cabc,_0x41c681)=>{const _0x27802e=_0x2a4c41;for(var _0x575c85=_0x41c681>0x1?void 0x0:_0x41c681?_0x16356e(_0x393e6d,_0x56cabc):_0x393e6d,_0x304705=_0x5754a3[_0x27802e(0x250)]-0x1,_0x295b98;_0x304705>=0x0;_0x304705--)(_0x295b98=_0x5754a3[_0x304705])&&(_0x575c85=(_0x41c681?_0x295b98(_0x393e6d,_0x56cabc,_0x575c85):_0x295b98(_0x575c85))||_0x575c85);return _0x41c681&&_0x575c85&&_0x49c399(_0x393e6d,_0x56cabc,_0x575c85),_0x575c85;},_0x19c919=(_0x47409d,_0x42d9a8)=>(_0x39ae65,_0x35be72)=>_0x42d9a8(_0x39ae65,_0x35be72,_0x47409d);_0x119e5f[_0x2a4c41(0x56d)]=class extends _0x42e035[_0x2a4c41(0x5ab)]{constructor(_0x7b39cc,_0x4d7dc3,_0x2c4a9e,_0xefde60,_0x26b16b,_0x1b0eb4){const _0x1f2eaf=_0x2a4c41;super(),_0x3a0856(this,_0x1f2eaf(0x22d),new _0x40c8d9[(_0x1f2eaf(0x54d))](void 0x0)),_0x3a0856(this,_0x1f2eaf(0x340),this[_0x1f2eaf(0x22d)][_0x1f2eaf(0x2dd)]()),_0x3a0856(this,_0x1f2eaf(0x1b0),null),_0x3a0856(this,_0x1f2eaf(0x528),new Map()),_0x3a0856(this,_0x1f2eaf(0x592),new _0x40c8d9['BehaviorSubject'](_0x4246bc[_0x1f2eaf(0x23e)])),_0x3a0856(this,'status$',this[_0x1f2eaf(0x592)][_0x1f2eaf(0x2dd)]()),_0x3a0856(this,_0x1f2eaf(0x4c5),!0x1),_0x3a0856(this,_0x1f2eaf(0x360)),_0x3a0856(this,'_retryCount',0x0),_0x3a0856(this,_0x1f2eaf(0x379)),_0x3a0856(this,_0x1f2eaf(0x29a)),(this['_injector']=_0x7b39cc,this[_0x1f2eaf(0x2b1)]=_0x4d7dc3,this[_0x1f2eaf(0x319)]=_0x2c4a9e,this[_0x1f2eaf(0x1ae)]=_0xefde60,this[_0x1f2eaf(0x1ec)]=_0x26b16b,this['_socketService']=_0x1b0eb4,this[_0x1f2eaf(0x4a4)]());}get['_socket'](){const _0x53bff4=_0x2a4c41;return this[_0x53bff4(0x22d)]['getValue']();}[_0x2a4c41(0x4a4)](){const _0x57e549=_0x2a4c41;this[_0x57e549(0x1db)](),this[_0x57e549(0x355)]();}[_0x2a4c41(0x4f9)](){const _0x1e00c6=_0x2a4c41;super[_0x1e00c6(0x4f9)](),this[_0x1e00c6(0x528)][_0x1e00c6(0x3f5)](_0x292f1e=>_0x292f1e[_0x1e00c6(0x4f9)]()),this[_0x1e00c6(0x528)][_0x1e00c6(0x3a7)](),this['_status$'][_0x1e00c6(0x523)]();}async[_0x2a4c41(0x532)](_0x1e5df2){const _0x93941=_0x2a4c41;if(this['_sessions'][_0x93941(0x471)](_0x1e5df2))return this['_sessions'][_0x93941(0x3ae)](_0x1e5df2);this[_0x93941(0x510)]();const _0x36c42e=this['_injector'][_0x93941(0x2fd)](_0x119e5f[_0x93941(0x1f6)],_0x1e5df2,this[_0x93941(0x22d)][_0x93941(0x2dd)]());return this[_0x93941(0x528)][_0x93941(0x1c0)](_0x1e5df2,_0x36c42e),_0x36c42e;}['closeSession'](_0x4bb83f){const _0x556e6e=_0x2a4c41;var _0x239b38;const _0x528270=this[_0x556e6e(0x528)][_0x556e6e(0x3ae)](_0x4bb83f);_0x528270&&(this[_0x556e6e(0x528)][_0x556e6e(0x536)](_0x4bb83f),_0x528270[_0x556e6e(0x36e)]()),this[_0x556e6e(0x528)]['size']||(_0x239b38=this['_socket'])==null||_0x239b38[_0x556e6e(0x36e)]();}[_0x2a4c41(0x1bb)](){const _0x3132b8=_0x2a4c41;this['_retryCount']=0x0,this[_0x3132b8(0x360)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x3132b8(0x360)]=null),this[_0x3132b8(0x4a0)]();}[_0x2a4c41(0x4cd)](){const _0x471b9b=_0x2a4c41;var _0x2b4daa,_0x4159e7;const _0xbd4abd=this[_0x471b9b(0x1ec)]['getConfig'](_0x1c4bb5),_0xfbd44=this[_0x471b9b(0x1ec)][_0x471b9b(0x53c)](_0x576146),_0x190067=(_0x4159e7=(_0x2b4daa=_0xfbd44==null?void 0x0:_0xfbd44[_0x471b9b(0x2b3)])!=null?_0x2b4daa:_0xbd4abd)!=null?_0x4159e7:_0x449381,_0x38007b=this[_0x471b9b(0x36b)]['createSocket'](_0x190067);return this[_0x471b9b(0x1b0)]=_0x38007b,_0x38007b;}[_0x2a4c41(0x510)](){const _0x1f5959=_0x2a4c41;var _0x35add2,_0x2903bf;try{const _0x2b6162=(_0x2903bf=(_0x35add2=this[_0x1f5959(0x31e)])!=null?_0x35add2:this[_0x1f5959(0x1b0)])!=null?_0x2903bf:this['_createSocket']();if(_0x2b6162){const _0x510ede=_0x2b6162['send'];_0x2b6162[_0x1f5959(0x212)]=_0x483179=>(this[_0x1f5959(0x30c)](),_0x510ede['apply'](_0x2b6162,[_0x483179])),_0x2b6162[_0x1f5959(0x387)][_0x1f5959(0x543)](_0x5eefba=>this[_0x1f5959(0x514)](_0x2b6162,_0x5eefba)),_0x2b6162[_0x1f5959(0x410)][_0x1f5959(0x4b4)](_0xfd004d[_0x1f5959(0x35b)](0x1))[_0x1f5959(0x543)](_0x298317=>this[_0x1f5959(0x1ae)]['error'](_0x1f5959(0x1ce),_0x298317)),_0x2b6162[_0x1f5959(0x21a)][_0x1f5959(0x4b4)](_0xfd004d['take'](0x1))[_0x1f5959(0x543)](()=>{const _0x129bf9=_0x1f5959;this[_0x129bf9(0x330)](_0x2b6162);}),_0x2b6162['close$'][_0x1f5959(0x4b4)](_0xfd004d['take'](0x1))['subscribe'](_0x35d2ef=>{const _0x30a559=_0x1f5959;this['_logService']['debug'](_0x30a559(0x3d8),_0x30a559(0x240),_0x35d2ef),this['_onConnectionFailed']();});}}catch(_0x4abead){this[_0x1f5959(0x1ae)][_0x1f5959(0x432)](_0x4abead),this[_0x1f5959(0x3cc)]();}}['_onConnectionOpen'](_0x32123b){const _0xb5d457=_0x2a4c41;this['_logService'][_0xb5d457(0x4b7)](_0xb5d457(0x3d8),_0xb5d457(0x49b)),_0x32123b[_0xb5d457(0x212)]({'cmd':_0x4efcf2['HELLO']}),this[_0xb5d457(0x30c)]();}['_listenToOfflineEvent'](){const _0x4a892d=_0x2a4c41;window[_0x4a892d(0x57d)](_0x4a892d(0x497),()=>this[_0x4a892d(0x577)]());}[_0x2a4c41(0x577)](){const _0x2fe32c=_0x2a4c41;this[_0x2fe32c(0x4c5)]=!0x1,this[_0x2fe32c(0x1b0)]=null,this[_0x2fe32c(0x592)][_0x2fe32c(0x380)](_0x4246bc[_0x2fe32c(0x31c)]),this['_socket$'][_0x2fe32c(0x380)](null),this[_0x2fe32c(0x1e8)](),this['_clearHeartbeatTimer']();}[_0x2a4c41(0x3cc)](){const _0xdbca85=_0x2a4c41;var _0x176eac;this[_0xdbca85(0x577)](),this['_retryCount']<((_0x176eac=this['_configService'][_0xdbca85(0x53c)](_0x5d1651))!=null?_0x176eac:0x3)?(this['_messageService'][_0xdbca85(0x451)]({'key':_0xdbca85(0x3e8),'type':_0x25691d[_0xdbca85(0x2ee)][_0xdbca85(0x496)],'content':this['_localeService']['t'](_0xdbca85(0x51b))}),this[_0xdbca85(0x4a0)]()):this[_0xdbca85(0x319)][_0xdbca85(0x451)]({'key':_0xdbca85(0x3e8),'type':_0x25691d[_0xdbca85(0x2ee)]['Error'],'content':this['_localeService']['t'](_0xdbca85(0x475))});}[_0x2a4c41(0x355)](){const _0x366e09=_0x2a4c41,_0x5a839a=()=>{const _0x3c1f01=_0x5025;this[_0x3c1f01(0x31e)]||this[_0x3c1f01(0x1bb)]();},_0x1569de=()=>{const _0x2691ed=_0x5025;this['_socket']||document[_0x2691ed(0x2f7)]===_0x2691ed(0x38a)||this[_0x2691ed(0x1bb)]();};window[_0x366e09(0x57d)]('online',_0x5a839a),document[_0x366e09(0x57d)](_0x366e09(0x4f3),_0x1569de);}[_0x2a4c41(0x4a0)](){const _0x1836ec=_0x2a4c41;var _0x15425c;const _0xca4fce=this[_0x1836ec(0x290)],_0x1ed681=this[_0x1836ec(0x1ec)][_0x1836ec(0x53c)](_0x576146),_0x10de36=_0xca4fce===0x0?0x0:((_0x15425c=_0x1ed681==null?void 0x0:_0x1ed681[_0x1836ec(0x57a)])!=null?_0x15425c:0x4e20)*0x2**_0xca4fce;this[_0x1836ec(0x360)]=window[_0x1836ec(0x40f)](()=>{const _0x45eb35=_0x1836ec;clearTimeout(this[_0x45eb35(0x360)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x10de36),this[_0x1836ec(0x290)]+=0x1;}[_0x2a4c41(0x514)](_0x149403,_0x891ebc){const _0x48a2a5=_0x2a4c41,{cmd:_0xeb25b6}=_0x891ebc;_0xeb25b6===_0x4efcf2[_0x48a2a5(0x39e)]&&!this[_0x48a2a5(0x4c5)]&&(_0x149403[_0x48a2a5(0x454)]=_0x891ebc['data']['memberID'],this[_0x48a2a5(0x22d)][_0x48a2a5(0x380)](_0x149403),this[_0x48a2a5(0x592)][_0x48a2a5(0x380)](_0x4246bc[_0x48a2a5(0x424)]),this['_socketReady']=!0x0,this[_0x48a2a5(0x1b0)]=null),_0xeb25b6===_0x4efcf2[_0x48a2a5(0x1df)]&&this['_clearTimeoutTimer'](),this[_0x48a2a5(0x30c)]();}[_0x2a4c41(0x30c)](){const _0x330235=_0x2a4c41;var _0x1650b2;this[_0x330235(0x474)](),this['_sendHeartbeatTimer']=window['setTimeout'](()=>this['_sendHeartbeat'](),(_0x1650b2=this[_0x330235(0x1ec)][_0x330235(0x53c)](_0x300f15))!=null?_0x1650b2:0x7530);}['_sendHeartbeat'](){const _0x456cf0=_0x2a4c41;this['_socket']['send']({'cmd':_0x4efcf2['HEARTBEAT']}),this[_0x456cf0(0x283)]();}[_0x2a4c41(0x283)](){const _0xd0817c=_0x2a4c41;var _0x186af5;this[_0xd0817c(0x29a)]=window['setTimeout'](()=>this['_onConnectionFailed'](),(_0x186af5=this['_configService'][_0xd0817c(0x53c)](_0x5824fe))!=null?_0x186af5:0x4e20);}['_clearHeartbeatTimer'](){const _0x17311f=_0x2a4c41;this[_0x17311f(0x379)]!=null&&(clearTimeout(this[_0x17311f(0x379)]),this[_0x17311f(0x379)]=null);}['_clearTimeoutTimer'](){const _0x3ca582=_0x2a4c41;this[_0x3ca582(0x29a)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x3ca582(0x29a)]=null);}},_0x119e5f['CollaborationSessionService']=_0x269a50([_0x19c919(0x0,_0x42e035['Inject'](_0x42e035['Injector'])),_0x19c919(0x1,_0x42e035['Inject'](_0x42e035[_0x2a4c41(0x39c)])),_0x19c919(0x2,_0x576301[_0x2a4c41(0x214)]),_0x19c919(0x3,_0x42e035[_0x2a4c41(0x5ae)]),_0x19c919(0x4,_0x42e035[_0x2a4c41(0x25b)]),_0x19c919(0x5,_0x3a65c4)],_0x119e5f[_0x2a4c41(0x56d)]);var _0x16cc8f=Object[_0x2a4c41(0x38e)],_0x53abca=Object[_0x2a4c41(0x317)],_0x1e35d6=(_0x4dce76,_0xc26756,_0x1df3ea,_0x58202a)=>{const _0x4cef6f=_0x2a4c41;for(var _0x30cd65=_0x58202a>0x1?void 0x0:_0x58202a?_0x53abca(_0xc26756,_0x1df3ea):_0xc26756,_0x391dad=_0x4dce76[_0x4cef6f(0x250)]-0x1,_0x48927a;_0x391dad>=0x0;_0x391dad--)(_0x48927a=_0x4dce76[_0x391dad])&&(_0x30cd65=(_0x58202a?_0x48927a(_0xc26756,_0x1df3ea,_0x30cd65):_0x48927a(_0x30cd65))||_0x30cd65);return _0x58202a&&_0x30cd65&&_0x16cc8f(_0xc26756,_0x1df3ea,_0x30cd65),_0x30cd65;},_0xf08aa6=(_0x3164a0,_0x2d5d60)=>(_0x46fee4,_0x21e365)=>_0x2d5d60(_0x46fee4,_0x21e365,_0x3164a0);let _0x3f2c42=class{constructor(_0x4eaff3,_0x10348b,_0x34bd71){const _0x54e6a0=_0x2a4c41;this[_0x54e6a0(0x1a2)]=_0x4eaff3,this[_0x54e6a0(0x421)]=_0x10348b,this[_0x54e6a0(0x347)]=_0x34bd71;}[_0x2a4c41(0x3eb)](_0x18ea70){const _0x1956b2=_0x2a4c41;this[_0x1956b2(0x2da)](_0x18ea70),this[_0x1956b2(0x1d8)](_0x18ea70);}[_0x2a4c41(0x3d3)](_0xbef812){const _0x21435b=_0x2a4c41,{unitID:_0xd68c55}=_0xbef812,_0x49bc27=this[_0x21435b(0x347)][_0x21435b(0x297)](_0xd68c55)[_0x21435b(0x390)](_0x43047a[_0x21435b(0x4b9)]),{redoCache:_0x52da9d}=_0x49bc27[_0x21435b(0x1cb)]();if(_0x52da9d['length']===0x0)return _0xbef812;let _0x3938f5=_0x42e035['Tools'][_0x21435b(0x2f8)](_0xbef812['mutations'][0x0]);for(let _0x596e78=0x0;_0x596e78<_0x52da9d['length'];_0x596e78++){const _0x589c66={'id':'doc.mutation.rich-text-editing','params':{..._0x52da9d[_0x596e78]}},_0x2d70bc=this[_0x21435b(0x421)][_0x21435b(0x1e6)](_0x3938f5,_0x589c66,!0x1);if(_0x1a2c53['isTransformMutationFailure'](_0x2d70bc))throw _0x2d70bc[_0x21435b(0x432)];_0x3938f5=_0x2d70bc[_0x21435b(0x435)];}return{..._0x42e035[_0x21435b(0x34c)][_0x21435b(0x2f8)](_0xbef812),'mutations':[_0x3938f5]};}[_0x2a4c41(0x2da)](_0x5681d2){const _0x13379f=_0x2a4c41,{unitID:_0xfec102}=_0x5681d2,_0x4816bc=this['_renderManagerService']['getRenderById'](_0xfec102)[_0x13379f(0x390)](_0x43047a[_0x13379f(0x4b9)]),{undoCache:_0x3d0707,redoCache:_0x115e6c}=_0x4816bc[_0x13379f(0x1cb)]();if(_0x3d0707['length']===0x0||_0x115e6c[_0x13379f(0x250)]===0x0)return;const _0x1db3cc=[],_0xe67f1b=[];let _0x449b27=_0x42e035[_0x13379f(0x34c)][_0x13379f(0x2f8)](_0x5681d2[_0x13379f(0x23d)][0x0]),_0x14bfb6=_0x42e035[_0x13379f(0x34c)][_0x13379f(0x2f8)](_0x5681d2['mutations'][0x0]);for(let _0x407317=_0x3d0707[_0x13379f(0x250)]-0x1;_0x407317>=0x0;_0x407317--){const _0x49c927={'id':'doc.mutation.rich-text-editing','params':{..._0x3d0707[_0x407317]}},_0x540f1a={'id':'doc.mutation.rich-text-editing','params':{..._0x115e6c[_0x407317]}},_0xb310e8=this[_0x13379f(0x421)]['transformMutation'](_0x449b27,_0x49c927,!0x1),_0x557bf7=this[_0x13379f(0x421)][_0x13379f(0x1e6)](_0x14bfb6,_0x540f1a,!0x1);if(_0x1a2c53[_0x13379f(0x203)](_0xb310e8))throw _0xb310e8['error'];if(_0x1a2c53[_0x13379f(0x203)](_0x557bf7))throw _0x557bf7['error'];_0x1db3cc[_0x13379f(0x564)](_0xb310e8[_0x13379f(0x492)][_0x13379f(0x44a)]),_0xe67f1b[_0x13379f(0x564)](_0x557bf7[_0x13379f(0x492)][_0x13379f(0x44a)]),_0x449b27=_0xb310e8[_0x13379f(0x435)],_0x14bfb6=_0x557bf7[_0x13379f(0x435)];}_0x4816bc[_0x13379f(0x4ed)]({'undoCache':_0x1db3cc,'redoCache':_0xe67f1b});}[_0x2a4c41(0x1d8)](_0x43361a){const _0x5c6a68=_0x2a4c41,{unitID:_0x11ffd1}=_0x43361a,_0x5390b0=this[_0x5c6a68(0x347)][_0x5c6a68(0x297)](_0x11ffd1)[_0x5c6a68(0x390)](_0x43047a['DocIMEInputManagerService']),_0x1e1627=_0x5390b0[_0x5c6a68(0x507)]();if(_0x1e1627==null)return;const _0x435d2d=[{'id':_0x5c6a68(0x50e),'params':{'unitId':_0x43361a[_0x5c6a68(0x3a4)],'actions':null,'textRanges':[_0x1e1627]}}],_0x441b69=this['_transformService'][_0x5c6a68(0x211)](_0x43361a,_0x435d2d);if(!_0x1a2c53[_0x5c6a68(0x24c)](_0x441b69))throw _0x441b69[_0x5c6a68(0x432)];const _0x5a599b=_0x441b69[_0x5c6a68(0x492)][0x0][_0x5c6a68(0x44a)][_0x5c6a68(0x298)];Array[_0x5c6a68(0x1a8)](_0x5a599b)&&_0x5a599b[_0x5c6a68(0x250)]&&_0x5390b0[_0x5c6a68(0x558)](_0x5a599b[0x0]);}};_0x3f2c42=_0x1e35d6([_0xf08aa6(0x0,_0x42e035[_0x2a4c41(0x29d)](_0x42e035[_0x2a4c41(0x2bf)])),_0xf08aa6(0x1,_0x1a2c53[_0x2a4c41(0x41f)]),_0xf08aa6(0x2,_0x7f7413[_0x2a4c41(0x318)])],_0x3f2c42);var _0x533740=Object[_0x2a4c41(0x38e)],_0x593e3a=Object[_0x2a4c41(0x317)],_0x38914f=(_0x1395cc,_0x36d6af,_0x231ecd,_0x1ab1c7)=>{for(var _0x2f5b77=_0x1ab1c7>0x1?void 0x0:_0x1ab1c7?_0x593e3a(_0x36d6af,_0x231ecd):_0x36d6af,_0xf5fa6=_0x1395cc['length']-0x1,_0x8cfb93;_0xf5fa6>=0x0;_0xf5fa6--)(_0x8cfb93=_0x1395cc[_0xf5fa6])&&(_0x2f5b77=(_0x1ab1c7?_0x8cfb93(_0x36d6af,_0x231ecd,_0x2f5b77):_0x8cfb93(_0x2f5b77))||_0x2f5b77);return _0x1ab1c7&&_0x2f5b77&&_0x533740(_0x36d6af,_0x231ecd,_0x2f5b77),_0x2f5b77;},_0x2af4ae=(_0x35d994,_0xa19ad4)=>(_0x4caa84,_0x39fcef)=>_0xa19ad4(_0x4caa84,_0x39fcef,_0x35d994);_0x119e5f[_0x2a4c41(0x36c)]=class extends _0x42e035[_0x2a4c41(0x5ab)]{constructor(_0x305c99,_0x4b06b6,_0x74ef2c,_0x22b3a6,_0x1c366f){const _0x32996c=_0x2a4c41;super(),_0x3a0856(this,'_cachedData',new Map()),_0x3a0856(this,_0x32996c(0x41e),new Map()),_0x3a0856(this,_0x32996c(0x316),!0x1),(this[_0x32996c(0x1ec)]=_0x305c99,this[_0x32996c(0x5c9)]=_0x4b06b6,this[_0x32996c(0x208)]=_0x74ef2c,this[_0x32996c(0x2b1)]=_0x22b3a6,this['_revisionService']=_0x1c366f,this[_0x32996c(0x2c1)]());}['disableLocalCache'](){const _0x470e03=_0x2a4c41;this[_0x470e03(0x316)]=!0x0;}['enableLocalCache'](){const _0x135097=_0x2a4c41;this[_0x135097(0x316)]=!0x1;}['dispose'](){const _0x1ca359=_0x2a4c41;this['exhaustSavingTask']()['then'](()=>super[_0x1ca359(0x4f9)]());}async[_0x2a4c41(0x365)](_0x1a0ca8){const _0x56c80f=_0x2a4c41;return this[_0x56c80f(0x316)]?null:this[_0x56c80f(0x5c9)][_0x56c80f(0x1c3)](_0x279a07(_0x1a0ca8));}async[_0x2a4c41(0x38c)](_0x4be2af,_0x1d1a12){const _0x44b019=_0x2a4c41;return!!this[_0x44b019(0x5c9)][_0x44b019(0x415)](_0x4be2af,_0x1d1a12);}[_0x2a4c41(0x265)](_0x1e2cc9,_0x1ae9fb,_0x1ddecb,_0x573e18){const _0x23794e=_0x2a4c41,_0x14adb4=this[_0x23794e(0x3d7)][_0x23794e(0x234)](_0x1e2cc9);this[_0x23794e(0x584)][_0x23794e(0x1c0)](_0x1e2cc9,{'unitID':_0x1e2cc9,'type':_0x1ae9fb,'awaitingChangeset':_0x1ddecb,'mutations':_0x573e18,'rev':_0x14adb4}),this[_0x23794e(0x41e)][_0x23794e(0x471)](_0x1e2cc9)||this['_scheduleSaving'](_0x1e2cc9);}[_0x2a4c41(0x426)](_0x4fc102){const _0x18c95f=_0x2a4c41,_0x265f99=this[_0x18c95f(0x501)]();_0x265f99===0x0?this[_0x18c95f(0x2a0)](_0x4fc102):this[_0x18c95f(0x41e)][_0x18c95f(0x1c0)](_0x4fc102,setTimeout(()=>this[_0x18c95f(0x2a0)](_0x4fc102),_0x265f99));}[_0x2a4c41(0x501)](){const _0x285792=_0x2a4c41;var _0x3225c0;return(_0x3225c0=this[_0x285792(0x1ec)][_0x285792(0x53c)](_0x37a242))!=null?_0x3225c0:0x3e8;}['_saveCache'](_0x2410dd){const _0x3bd135=_0x2a4c41,_0x4b601b=this[_0x3bd135(0x41e)][_0x3bd135(0x3ae)](_0x2410dd);return _0x4b601b!==void 0x0&&window['clearTimeout'](_0x4b601b),this[_0x3bd135(0x5c9)][_0x3bd135(0x415)](_0x279a07(_0x2410dd),this[_0x3bd135(0x584)][_0x3bd135(0x3ae)](_0x2410dd))[_0x3bd135(0x4c6)](()=>this[_0x3bd135(0x41e)][_0x3bd135(0x536)](_0x2410dd));}async['exhaustSavingTask'](){const _0x5946a0=_0x2a4c41,_0x390c09=[];this[_0x5946a0(0x41e)][_0x5946a0(0x3f5)]((_0xf81115,_0x1de6f8)=>{const _0x4c2166=_0x5946a0;window[_0x4c2166(0x350)](_0xf81115),_0x390c09['push'](this['_saveCache'](_0x1de6f8)[_0x4c2166(0x4c6)](()=>{const _0x39139a=_0x4c2166;this[_0x39139a(0x41e)][_0x39139a(0x536)](_0x1de6f8);}));}),await Promise[_0x5946a0(0x4e7)](_0x390c09);}[_0x2a4c41(0x2c1)](){const _0x2d12ab=_0x2a4c41;this[_0x2d12ab(0x594)](this[_0x2d12ab(0x208)][_0x2d12ab(0x495)](()=>{const _0x13a3b1=_0x2d12ab;if(this[_0x13a3b1(0x41e)]['size'])return this[_0x13a3b1(0x2b1)]['t']('collaboration-client.offline-data-not-saved');}));}},_0x119e5f['LocalCacheService']=_0x38914f([_0x2af4ae(0x0,_0x42e035[_0x2a4c41(0x25b)]),_0x2af4ae(0x1,_0x42e035[_0x2a4c41(0x271)]),_0x2af4ae(0x2,_0x576301[_0x2a4c41(0x42c)]),_0x2af4ae(0x3,_0x42e035[_0x2a4c41(0x29d)](_0x42e035[_0x2a4c41(0x39c)])),_0x2af4ae(0x4,_0x42e035[_0x2a4c41(0x29d)](_0x1a2c53[_0x2a4c41(0x46f)]))],_0x119e5f[_0x2a4c41(0x36c)]);function _0x279a07(_0x244d45){const _0x40cc00=_0x2a4c41;return _0x40cc00(0x28d)+_0x244d45;}var _0x14dd1b=Object['defineProperty'],_0x4d95ad=Object['getOwnPropertyDescriptor'],_0xe0776a=(_0x43a72e,_0x13140e,_0x198445,_0x30226c)=>{const _0x1084a7=_0x2a4c41;for(var _0x4911bf=_0x30226c>0x1?void 0x0:_0x30226c?_0x4d95ad(_0x13140e,_0x198445):_0x13140e,_0x9e810=_0x43a72e[_0x1084a7(0x250)]-0x1,_0x796494;_0x9e810>=0x0;_0x9e810--)(_0x796494=_0x43a72e[_0x9e810])&&(_0x4911bf=(_0x30226c?_0x796494(_0x13140e,_0x198445,_0x4911bf):_0x796494(_0x4911bf))||_0x4911bf);return _0x30226c&&_0x4911bf&&_0x14dd1b(_0x13140e,_0x198445,_0x4911bf),_0x4911bf;},_0x506e6d=(_0x21c39e,_0x486294)=>(_0x1049ef,_0x554e65)=>_0x486294(_0x1049ef,_0x554e65,_0x21c39e);function _0x18e371(_0x1bb03b){const _0x16b866=_0x2a4c41,{unitID:_0x435be3,mutations:_0x56025d}=_0x1bb03b;return{'unitId':_0x435be3,'subUnitId':_0x56025d[0x0][_0x16b866(0x44a)][_0x16b866(0x277)]};}let _0x17ff71=class{constructor(_0x1d5ba1,_0x3f4e5d,_0x312b8e){const _0x546aba=_0x2a4c41;this[_0x546aba(0x1a2)]=_0x1d5ba1,this[_0x546aba(0x421)]=_0x3f4e5d,this['_instanceService']=_0x312b8e;}['transformSelections'](_0x555407){const _0xf351b1=_0x2a4c41;var _0x388967,_0x4daa28,_0x2a625e,_0x103123;const _0x36096a=this[_0xf351b1(0x1a2)][_0xf351b1(0x3ae)](_0x2d44ec[_0xf351b1(0x3bf)]),{unitId:_0x27e767,subUnitId:_0x4e9b17}=_0x18e371(_0x555407),_0x43c2b5=_0x36096a[_0xf351b1(0x1f9)](_0x27e767)[_0xf351b1(0x242)](),_0x187743=(_0x4daa28=(_0x388967=this[_0xf351b1(0x42d)][_0xf351b1(0x425)](_0x27e767))==null?void 0x0:_0x388967[_0xf351b1(0x531)]())==null?void 0x0:_0x4daa28[_0xf351b1(0x4d0)]();if(_0x43c2b5['length']===0x0||!_0x27e767||!_0x4e9b17)return;const _0x2ae609=[{'id':_0x2d44ec[_0xf351b1(0x44b)]['id'],'params':{'unitId':_0x27e767,'subUnitId':_0x187743,'selections':_0x42e035['Tools']['deepClone'](_0x43c2b5)}}],_0x4336f0=this[_0xf351b1(0x421)][_0xf351b1(0x211)](_0x555407,_0x2ae609);if(!_0x1a2c53[_0xf351b1(0x24c)](_0x4336f0))throw _0x4336f0[_0xf351b1(0x432)];const _0x544439=(_0x103123=(_0x2a625e=_0x4336f0[_0xf351b1(0x492)][0x0])==null?void 0x0:_0x2a625e['params'])==null?void 0x0:_0x103123['selections'];Array[_0xf351b1(0x1a8)](_0x544439)&&_0x544439[_0xf351b1(0x250)]&&this[_0xf351b1(0x1a2)][_0xf351b1(0x3ae)](_0x42e035['ICommandService'])[_0xf351b1(0x3e0)](_0x2d44ec['SetSelectionsOperation']['id'],{'unitId':_0x27e767,'subUnitId':_0x187743,'selections':_0x544439});}};_0x17ff71=_0xe0776a([_0x506e6d(0x0,_0x42e035[_0x2a4c41(0x29d)](_0x42e035['Injector'])),_0x506e6d(0x1,_0x1a2c53[_0x2a4c41(0x41f)]),_0x506e6d(0x2,_0x42e035[_0x2a4c41(0x281)])],_0x17ff71);const _0x506d1b=_0x42e035[_0x2a4c41(0x2c9)](_0x2a4c41(0x5cf));var _0xe4fb0e=(_0x3fc015=>(_0x3fc015[_0x3fc015[_0x2a4c41(0x40d)]=0x0]=_0x2a4c41(0x40d),_0x3fc015[_0x3fc015[_0x2a4c41(0x3fe)]=0x1]='OTHER_CLIENTS_EDITING',_0x3fc015))(_0xe4fb0e||{});const _0x3b4f1a=0x7530,_0x35407d=_0x2a4c41(0x28e);class _0x2ade6a extends _0x42e035[_0x2a4c41(0x5ab)]{constructor(){const _0xcf893d=_0x2a4c41;super(),_0x3a0856(this,_0xcf893d(0x5c5),_0x42e035[_0xcf893d(0x34c)][_0xcf893d(0x430)]()),_0x3a0856(this,_0xcf893d(0x44e),new Set()),_0x3a0856(this,_0xcf893d(0x4bd),new Map()),_0x3a0856(this,_0xcf893d(0x31f),null),_0x3a0856(this,_0xcf893d(0x1e0),new Map()),_0x3a0856(this,_0xcf893d(0x3f1),new Map()),this[_0xcf893d(0x40a)]();}[_0x2a4c41(0x4f9)](){const _0x55da32=_0x2a4c41;super[_0x55da32(0x4f9)](),this[_0x55da32(0x1e0)][_0x55da32(0x3f5)]((_0x5b7e9b,_0x820b1a)=>this['_removeClearOtherTimer'](_0x820b1a)),this[_0x55da32(0x31f)]&&window[_0x55da32(0x489)](this['_heartbeatTimer']);}[_0x2a4c41(0x2ef)](_0x46a692){const _0x50471e=_0x2a4c41;return this[_0x50471e(0x3b0)](_0x46a692)[_0x50471e(0x4b4)](_0x40c8d9[_0x50471e(0x23f)]());}[_0x2a4c41(0x2c0)](_0x59c0d0){const _0x375bba=_0x2a4c41;this[_0x375bba(0x44e)][_0x375bba(0x306)]===0x0&&this[_0x375bba(0x509)](),this['_selfUnitIDs'][_0x375bba(0x1ca)](_0x59c0d0),this[_0x375bba(0x503)]({'type':0x0,'memberID':this[_0x375bba(0x5c5)],'unitIDs':[_0x59c0d0],'isForwarded':!0x1});}[_0x2a4c41(0x34f)](_0x26dc95){const _0x1d2bae=_0x2a4c41;this[_0x1d2bae(0x44e)]['delete'](_0x26dc95),this[_0x1d2bae(0x44e)][_0x1d2bae(0x306)]===0x0&&this[_0x1d2bae(0x31f)]&&window['clearInterval'](this[_0x1d2bae(0x31f)]);}['_init'](){const _0x3c36f9=_0x2a4c41;this[_0x3c36f9(0x594)](_0x42e035[_0x3c36f9(0x4b5)](_0x40c8d9[_0x3c36f9(0x310)](window,_0x3c36f9(0x434))[_0x3c36f9(0x543)](_0x5174b4=>{const _0x19f9fa=_0x3c36f9;if(_0x5174b4[_0x19f9fa(0x456)]!==_0x35407d||!_0x5174b4[_0x19f9fa(0x3e3)])return;const _0x52dbfe=JSON[_0x19f9fa(0x3d0)](_0x5174b4[_0x19f9fa(0x3e3)]);this[_0x19f9fa(0x370)](_0x52dbfe);}))),window[_0x3c36f9(0x57d)](_0x3c36f9(0x49f),()=>this['_send']({'type':0x1,'memberID':this[_0x3c36f9(0x5c5)],'unitIDs':Array[_0x3c36f9(0x27e)](this['_selfUnitIDs'])}));}[_0x2a4c41(0x370)](_0x5a241b){const _0x3ce0f7=_0x2a4c41;switch(_0x5a241b['type']){case 0x0:this[_0x3ce0f7(0x58d)](_0x5a241b);break;case 0x1:this[_0x3ce0f7(0x436)](_0x5a241b);break;case 0x2:this['_handleHeartbeatEvent'](_0x5a241b);break;}}[_0x2a4c41(0x58d)](_0x572bfd){const _0x53fed1=_0x2a4c41,{unitIDs:_0x2c1ebc,memberID:_0x42f8a6,isForwarded:_0x2f5cc5}=_0x572bfd;_0x2c1ebc['forEach'](_0x21915a=>{const _0x372b70=_0x5025;if(!_0x2f5cc5&&this['_unitOnClients'][_0x372b70(0x471)](_0x21915a)&&this[_0x372b70(0x3b0)](_0x21915a)['next'](0x1),!this[_0x372b70(0x4bd)][_0x372b70(0x471)](_0x21915a)||!this['_unitOnClients'][_0x372b70(0x3ae)](_0x21915a)[_0x372b70(0x471)](_0x42f8a6)){const _0x5b8fdd=this[_0x372b70(0x4bd)][_0x372b70(0x3ae)](_0x21915a)||new Set();_0x5b8fdd[_0x372b70(0x1ca)](_0x42f8a6),this[_0x372b70(0x4bd)][_0x372b70(0x1c0)](_0x21915a,_0x5b8fdd),this['_scheduleClearOtherTimer'](_0x42f8a6);}}),_0x2f5cc5||this[_0x53fed1(0x503)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x53fed1(0x44e)]],'isForwarded':!0x0});}[_0x2a4c41(0x52a)](_0x554595){const _0x1416b7=_0x2a4c41;this[_0x1416b7(0x5b7)](_0x554595);const _0x5b98a4=window[_0x1416b7(0x40f)](()=>{const _0x1a72c2=_0x1416b7;this[_0x1a72c2(0x4bd)][_0x1a72c2(0x3f5)](_0x41ceab=>{const _0x1424c9=_0x1a72c2;_0x41ceab[_0x1424c9(0x536)](_0x554595);});},_0x3b4f1a*0x2);this[_0x1416b7(0x1e0)][_0x1416b7(0x1c0)](_0x554595,_0x5b98a4);}[_0x2a4c41(0x5b7)](_0x360901){const _0x22d6e6=_0x2a4c41;if(this[_0x22d6e6(0x1e0)][_0x22d6e6(0x471)](_0x360901)){const _0x1adb15=this[_0x22d6e6(0x1e0)][_0x22d6e6(0x3ae)](_0x360901);_0x1adb15&&window[_0x22d6e6(0x350)](_0x1adb15),this[_0x22d6e6(0x1e0)][_0x22d6e6(0x1c0)](_0x360901,null);}}['_handleLeaveEvent'](_0x4c1593){const _0x598a02=_0x2a4c41,{memberID:_0x547401,unitIDs:_0x331ea7}=_0x4c1593;_0x331ea7[_0x598a02(0x3f5)](_0x372753=>{const _0x594205=_0x598a02;var _0x3cc539;const _0xdfd54a=this[_0x594205(0x4bd)][_0x594205(0x3ae)](_0x372753);_0xdfd54a&&(_0xdfd54a['delete'](_0x547401),(_0x3cc539=this[_0x594205(0x3b0)](_0x372753))==null||_0x3cc539[_0x594205(0x380)](_0xdfd54a[_0x594205(0x306)]===0x0?0x0:0x1));}),this[_0x598a02(0x5b7)](_0x547401);}['_handleHeartbeatEvent'](_0x5b90b1){this['_scheduleClearOtherTimer'](_0x5b90b1['memberID']);}[_0x2a4c41(0x503)](_0x4b8039){const _0x388fea=_0x2a4c41;localStorage[_0x388fea(0x415)](_0x35407d,JSON[_0x388fea(0x2a9)](_0x4b8039));}[_0x2a4c41(0x509)](){const _0x6623d2=_0x2a4c41;this[_0x6623d2(0x31f)]=window[_0x6623d2(0x567)](()=>{const _0x50a400=_0x6623d2;this[_0x50a400(0x503)]({'type':0x2,'memberID':this['_id']});},_0x3b4f1a);}[_0x2a4c41(0x3b0)](_0xdcf71b){const _0x15e839=_0x2a4c41;return this[_0x15e839(0x3f1)][_0x15e839(0x471)](_0xdcf71b)||this[_0x15e839(0x3f1)][_0x15e839(0x1c0)](_0xdcf71b,new _0x40c8d9[(_0x15e839(0x54d))](0x0)),this[_0x15e839(0x3f1)][_0x15e839(0x3ae)](_0xdcf71b);}}function _0x2058ed(_0x28c043){const _0x3548b0=_0x2a4c41;let _0x4cb9ed='';for(const _0x5afa6a of _0x28c043){const {startOffset:_0x2f9cc4,endOffset:_0x1bc005,isActive:_0x2133df}=_0x5afa6a;_0x4cb9ed[_0x3548b0(0x250)]&&(_0x4cb9ed+=','),_0x4cb9ed+=_0x2f9cc4+':'+_0x1bc005+':'+(_0x2133df?'1':'0');}return _0x4cb9ed;}function _0x2f3f46(_0x405e21){const _0x21e597=_0x2a4c41,_0x303200=_0x405e21[_0x21e597(0x5b2)](','),_0x4bf510=[];for(const _0x2d8396 of _0x303200){const [_0x4f6bb9,_0x2aa29c,_0x186a7a]=_0x2d8396[_0x21e597(0x5b2)](':');_0x4bf510[_0x21e597(0x408)]({'startOffset':Number(_0x4f6bb9),'endOffset':Number(_0x2aa29c),'collapsed':_0x4f6bb9===_0x2aa29c,'isActive':_0x186a7a==='1'});}return _0x4bf510[_0x21e597(0x447)](_0x57e659=>_0x57e659[_0x21e597(0x2e6)])||(_0x4bf510[0x0][_0x21e597(0x2e6)]=!0x0),_0x4bf510;}class _0x293121 extends _0x42e035[_0x2a4c41(0x43e)]{constructor(){const _0x550635=_0x2a4c41;super(...arguments),_0x3a0856(this,_0x550635(0x25d),new _0x40c8d9['BehaviorSubject'](null)),_0x3a0856(this,_0x550635(0x572),this[_0x550635(0x25d)]['asObservable']());}[_0x2a4c41(0x262)](_0x2529e4){const _0x3fb432=_0x2a4c41,{unitID:_0x4acc38,memberID:_0x4479e6,textRanges:_0x2f8947}=_0x2529e4,_0x16bcec=_0x2058ed(_0x2f8947),_0x375834={'unitID':_0x4acc38,'memberID':_0x4479e6,'selection':_0x16bcec};this[_0x3fb432(0x25d)][_0x3fb432(0x380)](_0x375834);}}var _0x35608f=Object[_0x2a4c41(0x38e)],_0x1f1db4=Object[_0x2a4c41(0x317)],_0x432524=(_0x1c65e8,_0x46f16d,_0x5222e7,_0x486e43)=>{const _0x3716ef=_0x2a4c41;for(var _0x570948=_0x486e43>0x1?void 0x0:_0x486e43?_0x1f1db4(_0x46f16d,_0x5222e7):_0x46f16d,_0x5bdbd6=_0x1c65e8[_0x3716ef(0x250)]-0x1,_0x126c74;_0x5bdbd6>=0x0;_0x5bdbd6--)(_0x126c74=_0x1c65e8[_0x5bdbd6])&&(_0x570948=(_0x486e43?_0x126c74(_0x46f16d,_0x5222e7,_0x570948):_0x126c74(_0x570948))||_0x570948);return _0x486e43&&_0x570948&&_0x35608f(_0x46f16d,_0x5222e7,_0x570948),_0x570948;},_0x5b9055=(_0x436490,_0x8446b1)=>(_0x32cc55,_0x5cccc2)=>_0x8446b1(_0x32cc55,_0x5cccc2,_0x436490);let _0x1957db=class{constructor(_0x5df46f,_0x1a3a69){const _0x3ac9db=_0x2a4c41;this[_0x3ac9db(0x1a2)]=_0x5df46f,this[_0x3ac9db(0x421)]=_0x1a3a69;}['transformSelections'](_0x6541a){const _0x51deb7=_0x2a4c41;var _0x45601a;const _0x3d7cb8=this['_injector'][_0x51deb7(0x3ae)](_0x50c98c[_0x51deb7(0x4e3)]),_0x42092d=(_0x45601a=_0x3d7cb8['getDocRanges']())!=null?_0x45601a:[];if(_0x42092d[_0x51deb7(0x250)]===0x0)return;const _0x1b52fc=[{'id':_0x51deb7(0x50e),'params':{'unitId':_0x6541a[_0x51deb7(0x3a4)],'actions':null,'textRanges':_0x42092d}}],_0x9e4e55=this[_0x51deb7(0x421)]['transformMutationsWithChangeset'](_0x6541a,_0x1b52fc);if(!_0x1a2c53['isTransformMutationsWithChangesetSuccess'](_0x9e4e55))throw _0x9e4e55['error'];const _0x10ed37=_0x9e4e55[_0x51deb7(0x492)][0x0]['params'][_0x51deb7(0x298)];Array[_0x51deb7(0x1a8)](_0x10ed37)&&_0x10ed37['length']&&_0x3d7cb8[_0x51deb7(0x279)](_0x10ed37,!0x1);}};_0x1957db=_0x432524([_0x5b9055(0x0,_0x42e035[_0x2a4c41(0x29d)](_0x42e035['Injector'])),_0x5b9055(0x1,_0x1a2c53['ITransformService'])],_0x1957db);const _0xc2e82a=new Set([_0x2d44ec[_0x2a4c41(0x336)]['id']]);function _0x518b9d(_0x44f4c7,_0x17310d,_0x48b859,_0xe18a27,_0x366744){const _0x2e9647=_0x2a4c41;var _0x31e6e,_0x164bf6,_0x4164a6,_0x31fbc3;const _0x51bcfb=[];for(const _0x179a22 of _0x44f4c7)if(_0xc2e82a[_0x2e9647(0x471)](_0x179a22['id'])){if(_0x51bcfb['length']>0x0)break;_0x51bcfb[_0x2e9647(0x408)](_0x179a22);break;}else _0x51bcfb[_0x2e9647(0x408)](_0x179a22);const _0xab380=(_0x164bf6=(_0x31e6e=_0x366744['getCurrentUser']())==null?void 0x0:_0x31e6e[_0x2e9647(0x51f)])!=null?_0x164bf6:_0x2e9647(0x4f2),_0x560e9d=(_0x31fbc3=(_0x4164a6=_0x366744[_0x2e9647(0x32c)]())==null?void 0x0:_0x4164a6[_0x2e9647(0x454)])!=null?_0x31fbc3:_0x2e9647(0x4f2);return{'changeset':{'unitID':_0x17310d,'type':_0x1a2c53['mapDocumentTypeToUniverType'](_0x48b859[_0x2e9647(0x289)](_0x17310d)),'baseRev':_0xe18a27['getCurrentRevOfUnit'](_0x17310d),'revision':0x0,'userID':_0xab380,'memberID':_0x560e9d,'mutations':_0x51bcfb},'pendingMutations':_0x44f4c7[_0x2e9647(0x2eb)](_0x51bcfb[_0x2e9647(0x250)])};}function _0x1c630a(_0x36c017,_0x31ae1a,_0x206270,_0x185fb7,_0x1d8454){const _0x485984=_0x2a4c41;var _0x3d0786,_0x15c7af,_0x283dc6,_0x121cf2;const _0x58740e=[_0x36c017[_0x485984(0x2f5)]((_0x52db42,_0x2bd2de)=>{const _0x3e146d=_0x485984;var _0x3fe9da;const {id:_0x5601bd}=_0x52db42,{id:_0x3b7883,type:_0x3b4186}=_0x2bd2de,_0x5ca289=(_0x3fe9da=_0x52db42['params'])!=null?_0x3fe9da:{'actions':null},_0x135ef1=_0x2bd2de[_0x3e146d(0x44a)];if(_0x5601bd&&_0x5601bd!==_0x3b7883)throw new Error(_0x3e146d(0x4c8)+_0x5601bd+_0x3e146d(0x560)+_0x3b7883+'.');return{..._0x52db42,'id':_0x3b7883,'type':_0x3b4186,'params':{'unitId':_0x135ef1['unitId'],'textRanges':_0x135ef1[_0x3e146d(0x298)],'actions':_0x42e035[_0x3e146d(0x2dc)][_0x3e146d(0x209)](_0x5ca289['actions'],_0x135ef1[_0x3e146d(0x3de)])}};},{})],_0x3b5791=(_0x15c7af=(_0x3d0786=_0x1d8454[_0x485984(0x32c)]())==null?void 0x0:_0x3d0786[_0x485984(0x51f)])!=null?_0x15c7af:_0x485984(0x4f2),_0x5e9897=(_0x121cf2=(_0x283dc6=_0x1d8454[_0x485984(0x32c)]())==null?void 0x0:_0x283dc6['memberID'])!=null?_0x121cf2:_0x485984(0x4f2);return{'changeset':{'unitID':_0x31ae1a,'type':_0x1a2c53[_0x485984(0x29c)](_0x206270['getUnitType'](_0x31ae1a)),'baseRev':_0x185fb7[_0x485984(0x234)](_0x31ae1a),'revision':0x0,'userID':_0x3b5791,'memberID':_0x5e9897,'mutations':_0x58740e},'pendingMutations':[]};}const _0x5c8f09={'id':_0x2d44ec[_0x2a4c41(0x1c6)]['id'],'type':_0x42e035['CommandType'][_0x2a4c41(0x55e)],'params':{}};var _0x86b646=Object[_0x2a4c41(0x38e)],_0x286600=Object[_0x2a4c41(0x317)],_0x1dde43=(_0x5d4a05,_0x481c17,_0x1e73b5,_0x18de71)=>{const _0x2282db=_0x2a4c41;for(var _0x5a0541=_0x18de71>0x1?void 0x0:_0x18de71?_0x286600(_0x481c17,_0x1e73b5):_0x481c17,_0x159c20=_0x5d4a05[_0x2282db(0x250)]-0x1,_0x47babf;_0x159c20>=0x0;_0x159c20--)(_0x47babf=_0x5d4a05[_0x159c20])&&(_0x5a0541=(_0x18de71?_0x47babf(_0x481c17,_0x1e73b5,_0x5a0541):_0x47babf(_0x5a0541))||_0x5a0541);return _0x18de71&&_0x5a0541&&_0x86b646(_0x481c17,_0x1e73b5,_0x5a0541),_0x5a0541;},_0x3d5e47=(_0x4a5c81,_0x2ab038)=>(_0x3df0c5,_0x166877)=>_0x2ab038(_0x3df0c5,_0x166877,_0x4a5c81),_0x115871=(_0x36a088=>(_0x36a088['NOT_COLLAB']=_0x2a4c41(0x226),_0x36a088[_0x2a4c41(0x4d1)]='synced',_0x36a088[_0x2a4c41(0x55d)]='pending',_0x36a088[_0x2a4c41(0x3c9)]=_0x2a4c41(0x2ca),_0x36a088[_0x2a4c41(0x40e)]=_0x2a4c41(0x583),_0x36a088[_0x2a4c41(0x51a)]=_0x2a4c41(0x206),_0x36a088[_0x2a4c41(0x332)]=_0x2a4c41(0x56f),_0x36a088['OFFLINE']='offline',_0x36a088))(_0x115871||{});class _0x1a334d{constructor(_0x4817b6,_0x26b53f,_0x46cbd8,_0x19cdb4,_0x37df18,_0x52589a,_0x498fc3,_0xf41c43,_0xb7f854){const _0x351db8=_0x2a4c41;_0x3a0856(this,_0x351db8(0x51d),null),_0x3a0856(this,_0x351db8(0x35d),[]),(this[_0x351db8(0x3a4)]=_0x4817b6,this['type']=_0x26b53f,this['_handler']=_0x37df18,this[_0x351db8(0x369)]=_0x52589a,this[_0x351db8(0x20d)]=_0x498fc3,this['_revisionService']=_0xf41c43,this[_0x351db8(0x52f)]=_0xb7f854,this[_0x351db8(0x51d)]=_0x46cbd8,this[_0x351db8(0x35d)]=_0x19cdb4);}[_0x2a4c41(0x47e)](_0xc9f3d4){const _0x128f2b=_0x2a4c41,_0x7b3165=this[_0x128f2b(0x3d7)][_0x128f2b(0x234)](this[_0x128f2b(0x3a4)]);return _0xc9f3d4[_0x128f2b(0x488)]>_0x7b3165+0x1?(this[_0x128f2b(0x5c2)][_0x128f2b(0x576)]({'from':_0x7b3165,'to':_0xc9f3d4[_0x128f2b(0x488)]-0x1}),!0x0):!0x1;}[_0x2a4c41(0x5be)](_0x2e5bb3){const _0x577fde=_0x2a4c41;this[_0x577fde(0x20d)][_0x577fde(0x4a3)](this['unitID'],_0x2e5bb3);}[_0x2a4c41(0x287)](_0x3b7912){const _0x25a70b=_0x2a4c41;var _0x545b88,_0x195fff;(_0x195fff=(_0x545b88=this[_0x25a70b(0x5c2)])[_0x25a70b(0x5aa)])==null||_0x195fff[_0x25a70b(0x27a)](_0x545b88,_0x3b7912);}[_0x2a4c41(0x352)](_0x3eeb68){const _0x1ace08=_0x2a4c41;var _0x8bb1e4,_0xfa6bc5;return(_0xfa6bc5=(_0x8bb1e4=this[_0x1ace08(0x5c2)])[_0x1ace08(0x2a6)])==null?void 0x0:_0xfa6bc5[_0x1ace08(0x27a)](_0x8bb1e4,_0x3eeb68);}['_transformRemoteChangesetByIMECache'](_0x5c988b){const _0x560158=_0x2a4c41;var _0x56e45b,_0x13dfcd,_0x4a528e;return(_0x4a528e=(_0x13dfcd=(_0x56e45b=this[_0x560158(0x5c2)])[_0x560158(0x395)])==null?void 0x0:_0x13dfcd['call'](_0x56e45b,_0x5c988b))!=null?_0x4a528e:_0x5c988b;}[_0x2a4c41(0x591)](_0x12b945){const _0x403b55=_0x2a4c41;var _0x23cff2,_0x139b57;if(this[_0x403b55(0x348)]===_0x2a3e17[_0x403b55(0x441)]){const {unitID:_0x210f9a,mutations:_0x2fd77a,memberID:_0x78eb05}=_0x12b945,_0x35479a=_0x2fd77a[0x0][_0x403b55(0x44a)]['textRanges'];Array[_0x403b55(0x1a8)](_0x35479a)&&_0x35479a[_0x403b55(0x250)]>0x0&&((_0x139b57=(_0x23cff2=this[_0x403b55(0x5c2)])[_0x403b55(0x4ca)])==null||_0x139b57['call'](_0x23cff2,{'unitID':_0x210f9a,'memberID':_0x78eb05,'textRanges':_0x35479a}));}}[_0x2a4c41(0x275)](){const _0xaab242=_0x2a4c41;this[_0xaab242(0x52f)]['updateOfflineData'](this[_0xaab242(0x3a4)],this['type'],this['_awaitingChangeset'],this[_0xaab242(0x35d)]);}[_0x2a4c41(0x293)](){const _0x2f3328=_0x2a4c41;return this[_0x2f3328(0x3d7)][_0x2f3328(0x234)](this[_0x2f3328(0x3a4)]);}[_0x2a4c41(0x472)](){const _0x2c91b9=_0x2a4c41;this[_0x2c91b9(0x3d7)][_0x2c91b9(0x3fa)](this[_0x2c91b9(0x3a4)]);}[_0x2a4c41(0x339)](_0x10357a){const _0x410465=_0x2a4c41;var _0x1e3276;const _0x2a0132=this[_0x410465(0x213)](_0x10357a),_0x34dad6=_0x42e035['sequenceExecute'](_0x2a0132[_0x410465(0x23d)],this[_0x410465(0x369)],{'fromCollab':!0x0});if(!_0x34dad6['result'])throw _0x34dad6[_0x410465(0x432)]instanceof Error?_0x34dad6[_0x410465(0x432)]:new Error((_0x1e3276=_0x34dad6['error'])!=null?_0x1e3276:_0x410465(0x35a));this[_0x410465(0x352)](_0x2a0132),this[_0x410465(0x5be)](_0x10357a),this['_transformSelections'](_0x2a0132),this[_0x410465(0x591)](_0x2a0132),this[_0x410465(0x472)]();}}let _0x2b5b26=class extends _0x1a334d{constructor(_0x4aa495,_0x299497,_0x170c2b,_0xb3e380,_0x8254ab,_0x2ebaac,_0x87334e,_0x277cbb,_0x145a85,_0x168fb4){const _0x240fe7=_0x2a4c41;super(_0x4aa495,_0x299497,null,[],_0x170c2b,_0x277cbb,_0x87334e,_0xb3e380,_0x8254ab),_0x3a0856(this,_0x240fe7(0x469),_0x240fe7(0x37b)),(this['_injector']=_0x2ebaac,this[_0x240fe7(0x1ae)]=_0x145a85,this['_transformService']=_0x168fb4);}[_0x2a4c41(0x3e4)](_0x454f1a){const _0x571783=_0x2a4c41,_0x4f462e=this[_0x571783(0x1a2)][_0x571783(0x2fd)](_0x5c8afb,this[_0x571783(0x3a4)],this[_0x571783(0x348)],[_0x454f1a],this[_0x571783(0x5c2)]);return _0x4f462e['_schedule'](),_0x4f462e[_0x571783(0x275)](),_0x4f462e;}[_0x2a4c41(0x30f)](_0x39502c){const _0x14a286=_0x2a4c41;if(this['_checkMissing'](_0x39502c))return this[_0x14a286(0x1a2)][_0x14a286(0x2fd)](_0x560a30,this[_0x14a286(0x3a4)],this[_0x14a286(0x348)],null,[],null,[_0x39502c],this[_0x14a286(0x5c2)]);try{const _0x4779e9=this[_0x14a286(0x421)][_0x14a286(0x211)](_0x39502c,[_0x5c8f09]);if(_0x1a2c53[_0x14a286(0x24c)](_0x4779e9)){const {c1Prime:_0x4348d5}=_0x4779e9;return this['_executeRemoteChangeset'](_0x4348d5),this;}throw _0x4779e9[_0x14a286(0x432)];}catch(_0x1982d4){return this[_0x14a286(0x1ae)]['error'](_0x1982d4),this['_onConflict'](!0x1);}}[_0x2a4c41(0x4b8)](_0x1d771e){const _0x18b019=_0x2a4c41;return this[_0x18b019(0x1a2)][_0x18b019(0x2fd)](_0x147121,this[_0x18b019(0x3a4)],this[_0x18b019(0x348)],null,[],this[_0x18b019(0x5c2)],_0x1d771e);}['onRemoteAck'](){const _0x5c65cc=_0x2a4c41;throw new Error(_0x5c65cc(0x5a9));}[_0x2a4c41(0x295)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x2a4c41(0x3c6)](){const _0xf1c891=_0x2a4c41;return this[_0xf1c891(0x1a2)][_0xf1c891(0x2fd)](_0x24bff7,this[_0xf1c891(0x3a4)],this[_0xf1c891(0x348)],null,[],this[_0xf1c891(0x5c2)]);}[_0x2a4c41(0x3e5)](){return this;}['resend'](){const _0x2897b4=_0x2a4c41;throw new Error(_0x2897b4(0x43d));}['fetchMiss'](){const _0x4de744=_0x2a4c41,_0x906ff=this['_revisionService']['getCurrentRevOfUnit'](this[_0x4de744(0x3a4)]);return this['_handler'][_0x4de744(0x576)]({'from':_0x906ff,'to':0x0}),this[_0x4de744(0x1a2)][_0x4de744(0x2fd)](_0x560a30,this[_0x4de744(0x3a4)],this[_0x4de744(0x348)],null,[],null,[],this[_0x4de744(0x5c2)]);}};_0x2b5b26=_0x1dde43([_0x3d5e47(0x3,_0x42e035[_0x2a4c41(0x29d)](_0x1a2c53[_0x2a4c41(0x46f)])),_0x3d5e47(0x4,_0x42e035[_0x2a4c41(0x29d)](_0x119e5f[_0x2a4c41(0x36c)])),_0x3d5e47(0x5,_0x42e035['Inject'](_0x42e035[_0x2a4c41(0x2bf)])),_0x3d5e47(0x6,_0x42e035['IUndoRedoService']),_0x3d5e47(0x7,_0x42e035[_0x2a4c41(0x219)]),_0x3d5e47(0x8,_0x42e035[_0x2a4c41(0x5ae)]),_0x3d5e47(0x9,_0x1a2c53['ITransformService'])],_0x2b5b26);let _0x5c8afb=class extends _0x1a334d{constructor(_0x491d80,_0x248529,_0x17bf86,_0x567e13,_0x50d212,_0x5d361b,_0x4dd505,_0x4980a1,_0x1f5a69,_0xea63ef,_0x12d010,_0x3b6d72,_0x1760ef,_0x5450f0){const _0xb13aac=_0x2a4c41;super(_0x491d80,_0x248529,null,_0x17bf86,_0x567e13,_0xea63ef,_0x5450f0,_0x5d361b,_0x4dd505),_0x3a0856(this,'status',_0xb13aac(0x4c4)),_0x3a0856(this,'_scheduleTimestamp',null),_0x3a0856(this,_0xb13aac(0x2a2),null),(this[_0xb13aac(0x1a2)]=_0x50d212,this['_memberService']=_0x4980a1,this['_logService']=_0x1f5a69,this[_0xb13aac(0x1ec)]=_0x12d010,this[_0xb13aac(0x421)]=_0x3b6d72,this[_0xb13aac(0x3b9)]=_0x1760ef);}[_0x2a4c41(0x3e4)](_0x5ec7be){const _0x327183=_0x2a4c41;return this['_pendingMutations'][_0x327183(0x408)](_0x5ec7be),this[_0x327183(0x275)](),this;}[_0x2a4c41(0x30f)](_0x1d0ae4){const _0xb2e55e=_0x2a4c41;if(this[_0xb2e55e(0x47e)](_0x1d0ae4))return this[_0xb2e55e(0x52d)](),this[_0xb2e55e(0x1a2)][_0xb2e55e(0x2fd)](_0x560a30,this['unitID'],this[_0xb2e55e(0x348)],null,this[_0xb2e55e(0x35d)],null,[_0x1d0ae4],this['_handler']);try{const _0x44e4c0=this['_transformService'][_0xb2e55e(0x211)](_0x1d0ae4,this[_0xb2e55e(0x35d)]);if(_0x1a2c53['isTransformMutationsWithChangesetSuccess'](_0x44e4c0)){const {c1Prime:_0x17b7ff,m2Prime:_0x4249fd}=_0x44e4c0;this['_executeRemoteChangeset'](_0x17b7ff);const _0x33a281=this[_0xb2e55e(0x1a2)][_0xb2e55e(0x2fd)](_0x5c8afb,this[_0xb2e55e(0x3a4)],this[_0xb2e55e(0x348)],_0x4249fd,this['_handler']);return this[_0xb2e55e(0x52d)](),_0x33a281[_0xb2e55e(0x1b1)](this[_0xb2e55e(0x333)]?Math['max'](0x0,new Date()[_0xb2e55e(0x25a)]()-this[_0xb2e55e(0x333)]):this[_0xb2e55e(0x2be)]()),_0x33a281;}throw _0x44e4c0[_0xb2e55e(0x432)];}catch(_0x180a5e){return this[_0xb2e55e(0x1ae)][_0xb2e55e(0x432)](_0x180a5e),this[_0xb2e55e(0x4b8)](!0x1);}}['onRemoteAck'](){const _0x2d93b8=_0x2a4c41;throw new Error(_0x2d93b8(0x21b));}['onRemoteRej'](){const _0x4c241e=_0x2a4c41;throw new Error(_0x4c241e(0x27d));}[_0x2a4c41(0x3c6)](){const _0x5aee15=_0x2a4c41;return this['_clearScheduledTask'](),this[_0x5aee15(0x1a2)][_0x5aee15(0x2fd)](_0x24bff7,this[_0x5aee15(0x3a4)],this[_0x5aee15(0x348)],null,this[_0x5aee15(0x35d)],this[_0x5aee15(0x5c2)]);}[_0x2a4c41(0x3e5)](){return this;}['_schedule'](_0x3dd670){const _0x4779f5=_0x2a4c41,_0x2401c5=_0x3dd670!=null?_0x3dd670:this['_getSendChangesetTimeout']();this[_0x4779f5(0x333)]=new Date()['getTime'](),this['_sendingTimer']=window[_0x4779f5(0x40f)](()=>{const _0x3981a8=_0x4779f5;this[_0x3981a8(0x52d)]();let _0xea7447=null;switch(this['type']){case _0x2a3e17[_0x3981a8(0x56a)]:{_0xea7447=_0x518b9d(this['_pendingMutations'],this[_0x3981a8(0x3a4)],this[_0x3981a8(0x3b9)],this[_0x3981a8(0x3d7)],this[_0x3981a8(0x534)]);break;}case _0x2a3e17[_0x3981a8(0x441)]:{this[_0x3981a8(0x35d)][_0x3981a8(0x270)](_0x32ebc6=>_0x32ebc6['id']===_0x50c98c[_0x3981a8(0x5b1)]['id'])?_0xea7447=_0x1c630a(this[_0x3981a8(0x35d)],this[_0x3981a8(0x3a4)],this[_0x3981a8(0x3b9)],this[_0x3981a8(0x3d7)],this[_0x3981a8(0x534)]):_0xea7447=_0x518b9d(this[_0x3981a8(0x35d)],this['unitID'],this[_0x3981a8(0x3b9)],this[_0x3981a8(0x3d7)],this[_0x3981a8(0x534)]);break;}default:throw new Error(_0x3981a8(0x377)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x4f954f,pendingMutations:_0x5d8355}=_0xea7447;this[_0x3981a8(0x5c2)][_0x3981a8(0x402)](_0x4f954f);const _0x27ba6b=_0x5d8355[_0x3981a8(0x250)]?this[_0x3981a8(0x1a2)]['createInstance'](_0x126d11,this[_0x3981a8(0x3a4)],this[_0x3981a8(0x348)],_0x4f954f,_0x5d8355,this[_0x3981a8(0x5c2)]):this[_0x3981a8(0x1a2)][_0x3981a8(0x2fd)](_0x329e72,this[_0x3981a8(0x3a4)],this['type'],_0x4f954f,this[_0x3981a8(0x5c2)]);_0x27ba6b[_0x3981a8(0x275)](),this['_handler'][_0x3981a8(0x4f6)](this,_0x27ba6b);},_0x2401c5);}[_0x2a4c41(0x2be)](){const _0x49f390=_0x2a4c41;var _0x1e93b8;const _0x349ced=this[_0x49f390(0x1ec)][_0x49f390(0x53c)](_0x576146);return(_0x1e93b8=_0x349ced==null?void 0x0:_0x349ced[_0x49f390(0x2e9)])!=null?_0x1e93b8:0x7d0;}[_0x2a4c41(0x375)](){const _0x169ecd=_0x2a4c41;throw new Error(_0x169ecd(0x5b8));}['_clearScheduledTask'](){const _0x1f0195=_0x2a4c41;this[_0x1f0195(0x2a2)]!=null&&(clearTimeout(this[_0x1f0195(0x2a2)]),this[_0x1f0195(0x2a2)]=null);}[_0x2a4c41(0x4b8)](_0x43d09f){const _0x1a5d98=_0x2a4c41;return this[_0x1a5d98(0x52d)](),this[_0x1a5d98(0x1a2)][_0x1a5d98(0x2fd)](_0x147121,this['unitID'],this[_0x1a5d98(0x348)],null,this[_0x1a5d98(0x35d)],this[_0x1a5d98(0x5c2)],_0x43d09f);}};_0x5c8afb=_0x1dde43([_0x3d5e47(0x4,_0x42e035[_0x2a4c41(0x29d)](_0x42e035['Injector'])),_0x3d5e47(0x5,_0x42e035[_0x2a4c41(0x29d)](_0x1a2c53[_0x2a4c41(0x46f)])),_0x3d5e47(0x6,_0x42e035['Inject'](_0x119e5f['LocalCacheService'])),_0x3d5e47(0x7,_0x42e035[_0x2a4c41(0x29d)](_0x4c4596)),_0x3d5e47(0x8,_0x42e035[_0x2a4c41(0x5ae)]),_0x3d5e47(0x9,_0x42e035[_0x2a4c41(0x219)]),_0x3d5e47(0xa,_0x42e035['IConfigService']),_0x3d5e47(0xb,_0x1a2c53[_0x2a4c41(0x41f)]),_0x3d5e47(0xc,_0x42e035['IUniverInstanceService']),_0x3d5e47(0xd,_0x42e035[_0x2a4c41(0x598)])],_0x5c8afb);let _0x329e72=class extends _0x1a334d{constructor(_0x575290,_0x4e91b1,_0x550d99,_0x464f6c,_0x177ef1,_0x311c3e,_0x2ba107,_0x3c2299,_0x19e84d,_0x6bcf28,_0x3fa611){const _0x4080a6=_0x2a4c41;super(_0x575290,_0x4e91b1,_0x550d99,[],_0x464f6c,_0x3c2299,_0x3fa611,_0x311c3e,_0x2ba107),_0x3a0856(this,'status',_0x4080a6(0x2ca)),(this[_0x4080a6(0x1a2)]=_0x177ef1,this[_0x4080a6(0x1ae)]=_0x19e84d,this[_0x4080a6(0x421)]=_0x6bcf28);}[_0x2a4c41(0x3e4)](_0x4967d4){const _0x1ed63b=_0x2a4c41,_0x19e0cb=this[_0x1ed63b(0x1a2)][_0x1ed63b(0x2fd)](_0x126d11,this[_0x1ed63b(0x3a4)],this[_0x1ed63b(0x348)],this[_0x1ed63b(0x51d)],[_0x4967d4],this[_0x1ed63b(0x5c2)]);return _0x19e0cb[_0x1ed63b(0x275)](),_0x19e0cb;}[_0x2a4c41(0x30f)](_0x39e4bd){const _0x3a41f2=_0x2a4c41;if(this[_0x3a41f2(0x47e)](_0x39e4bd))return this['_injector'][_0x3a41f2(0x2fd)](_0x560a30,this[_0x3a41f2(0x3a4)],this[_0x3a41f2(0x348)],this[_0x3a41f2(0x51d)],[],null,[_0x39e4bd],this[_0x3a41f2(0x5c2)]);try{const _0x1ca956=this[_0x3a41f2(0x421)][_0x3a41f2(0x1a7)]([_0x39e4bd],[this[_0x3a41f2(0x51d)]],!0x1);if(_0x1a2c53[_0x3a41f2(0x546)](_0x1ca956)){const {c1Prime:_0x768905,c2Prime:_0x585cac}=_0x1ca956;this[_0x3a41f2(0x339)](_0x768905[0x0]),_0x585cac[0x0]['baseRev']=this[_0x3a41f2(0x293)]();const _0x45403c=this[_0x3a41f2(0x1a2)][_0x3a41f2(0x2fd)](_0x329e72,this[_0x3a41f2(0x3a4)],this[_0x3a41f2(0x348)],_0x585cac[0x0],this[_0x3a41f2(0x5c2)]);return _0x45403c[_0x3a41f2(0x275)](),_0x45403c;}return this['_onConflict'](!0x1);}catch(_0x4ce779){return this[_0x3a41f2(0x1ae)]['error'](_0x4ce779),this['_onConflict'](!0x1);}}[_0x2a4c41(0x548)](_0x12700c){const _0x122964=_0x2a4c41,_0x450a61=this[_0x122964(0x3d7)][_0x122964(0x234)](this[_0x122964(0x3a4)]);if(_0x12700c[_0x122964(0x488)]<_0x450a61-0x1)return this;if(this['_checkMissing'](_0x12700c))return this[_0x122964(0x1a2)][_0x122964(0x2fd)](_0x560a30,this['unitID'],this[_0x122964(0x348)],null,[],this[_0x122964(0x51d)],[],this[_0x122964(0x5c2)]);this[_0x122964(0x472)]();const _0x2f8592=this['_injector'][_0x122964(0x2fd)](_0x2b5b26,this[_0x122964(0x3a4)],this[_0x122964(0x348)],this[_0x122964(0x5c2)]);return _0x2f8592[_0x122964(0x275)](),_0x2f8592;}[_0x2a4c41(0x295)](_0x3718cc){const _0x55057b=_0x2a4c41;return this[_0x55057b(0x4b8)](!!(_0x3718cc!=null&&_0x3718cc[_0x55057b(0x423)]));}[_0x2a4c41(0x3c6)](){const _0x3f4377=_0x2a4c41;return this[_0x3f4377(0x1a2)][_0x3f4377(0x2fd)](_0x24bff7,this['unitID'],this[_0x3f4377(0x348)],this[_0x3f4377(0x51d)],[],this[_0x3f4377(0x5c2)]);}[_0x2a4c41(0x3e5)](){return this;}[_0x2a4c41(0x375)](){const _0x587b97=_0x2a4c41;this[_0x587b97(0x5c2)][_0x587b97(0x402)](this['_awaitingChangeset']);}[_0x2a4c41(0x4b8)](_0x5452a1){const _0x177273=_0x2a4c41;return this[_0x177273(0x1a2)]['createInstance'](_0x147121,this['unitID'],this[_0x177273(0x348)],this[_0x177273(0x51d)],[],this[_0x177273(0x5c2)],_0x5452a1);}};_0x329e72=_0x1dde43([_0x3d5e47(0x4,_0x42e035['Inject'](_0x42e035[_0x2a4c41(0x2bf)])),_0x3d5e47(0x5,_0x42e035['Inject'](_0x1a2c53[_0x2a4c41(0x46f)])),_0x3d5e47(0x6,_0x42e035[_0x2a4c41(0x29d)](_0x119e5f[_0x2a4c41(0x36c)])),_0x3d5e47(0x7,_0x42e035[_0x2a4c41(0x219)]),_0x3d5e47(0x8,_0x42e035[_0x2a4c41(0x5ae)]),_0x3d5e47(0x9,_0x1a2c53[_0x2a4c41(0x41f)]),_0x3d5e47(0xa,_0x42e035['IUndoRedoService'])],_0x329e72);let _0x126d11=class extends _0x1a334d{constructor(_0x265939,_0x66aefe,_0x45254b,_0x1ec147,_0x5050f9,_0x4d8d4e,_0x5ccaca,_0x1e40a8,_0x337ecc,_0x2c5825,_0x29a27a,_0x58658a){const _0x277706=_0x2a4c41;super(_0x265939,_0x66aefe,_0x45254b,_0x1ec147,_0x5050f9,_0x337ecc,_0x58658a,_0x5ccaca,_0x1e40a8),_0x3a0856(this,_0x277706(0x469),_0x277706(0x583)),(this[_0x277706(0x1a2)]=_0x4d8d4e,this['_logService']=_0x2c5825,this[_0x277706(0x421)]=_0x29a27a);}[_0x2a4c41(0x3e4)](_0x46376a){const _0x348e56=_0x2a4c41;return this[_0x348e56(0x35d)][_0x348e56(0x408)](_0x46376a),this;}[_0x2a4c41(0x30f)](_0x3c276a){const _0x4a3b63=_0x2a4c41;if(this['_checkMissing'](_0x3c276a))return this[_0x4a3b63(0x1a2)][_0x4a3b63(0x2fd)](_0x560a30,this['unitID'],this[_0x4a3b63(0x348)],this[_0x4a3b63(0x51d)],this[_0x4a3b63(0x35d)],null,[_0x3c276a],this[_0x4a3b63(0x5c2)]);try{const _0x40f25b=this[_0x4a3b63(0x421)][_0x4a3b63(0x1a7)]([_0x3c276a],[this[_0x4a3b63(0x51d)]],!0x1);if(_0x1a2c53[_0x4a3b63(0x546)](_0x40f25b)){const {c1Prime:_0x1cac5e,c2Prime:_0x53c641}=_0x40f25b,_0x28bb64=this[_0x4a3b63(0x421)][_0x4a3b63(0x211)](_0x1cac5e[0x0],this[_0x4a3b63(0x35d)]);if(_0x1a2c53[_0x4a3b63(0x24c)](_0x28bb64)){const {c1Prime:_0x4b2d12,m2Prime:_0x589a49}=_0x28bb64;return this[_0x4a3b63(0x339)](_0x4b2d12),_0x53c641[0x0][_0x4a3b63(0x25c)]=this['_getCurrentRevision'](),this['_injector']['createInstance'](_0x126d11,this[_0x4a3b63(0x3a4)],this[_0x4a3b63(0x348)],_0x53c641[0x0],_0x589a49,this[_0x4a3b63(0x5c2)]);}throw _0x28bb64['error'];}throw _0x40f25b[_0x4a3b63(0x432)];}catch(_0x40ab7a){return this[_0x4a3b63(0x1ae)][_0x4a3b63(0x432)](_0x40ab7a),this[_0x4a3b63(0x4b8)](!0x1);}}['onRemoteAck'](_0x544c68){const _0x2efe6f=_0x2a4c41;if(this[_0x2efe6f(0x47e)](_0x544c68))return this[_0x2efe6f(0x1a2)][_0x2efe6f(0x2fd)](_0x560a30,this['unitID'],this['type'],null,this[_0x2efe6f(0x35d)],this[_0x2efe6f(0x51d)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x263add=this['_injector']['createInstance'](_0x5c8afb,this[_0x2efe6f(0x3a4)],this['type'],this[_0x2efe6f(0x35d)],this[_0x2efe6f(0x5c2)]);return _0x263add[_0x2efe6f(0x1b1)](),_0x263add[_0x2efe6f(0x275)](),_0x263add;}[_0x2a4c41(0x295)](_0x4e2a12){const _0x210400=_0x2a4c41;return this['_onConflict'](!!(_0x4e2a12!=null&&_0x4e2a12[_0x210400(0x423)]));}[_0x2a4c41(0x3c6)](){const _0x329b1d=_0x2a4c41;return this[_0x329b1d(0x1a2)][_0x329b1d(0x2fd)](_0x24bff7,this[_0x329b1d(0x3a4)],this['type'],this[_0x329b1d(0x51d)],this[_0x329b1d(0x35d)],this[_0x329b1d(0x5c2)]);}[_0x2a4c41(0x3e5)](){return this;}[_0x2a4c41(0x375)](){const _0x4116d1=_0x2a4c41;this['_handler'][_0x4116d1(0x402)](this['_awaitingChangeset']);}[_0x2a4c41(0x4b8)](_0x29bd26){const _0x48ed0c=_0x2a4c41;return this[_0x48ed0c(0x1a2)][_0x48ed0c(0x2fd)](_0x147121,this[_0x48ed0c(0x3a4)],this['type'],null,this[_0x48ed0c(0x35d)],this[_0x48ed0c(0x5c2)],_0x29bd26);}};_0x126d11=_0x1dde43([_0x3d5e47(0x5,_0x42e035[_0x2a4c41(0x29d)](_0x42e035[_0x2a4c41(0x2bf)])),_0x3d5e47(0x6,_0x42e035['Inject'](_0x1a2c53[_0x2a4c41(0x46f)])),_0x3d5e47(0x7,_0x42e035[_0x2a4c41(0x29d)](_0x119e5f[_0x2a4c41(0x36c)])),_0x3d5e47(0x8,_0x42e035['ICommandService']),_0x3d5e47(0x9,_0x42e035['ILogService']),_0x3d5e47(0xa,_0x1a2c53[_0x2a4c41(0x41f)]),_0x3d5e47(0xb,_0x42e035[_0x2a4c41(0x598)])],_0x126d11);let _0x147121=class extends _0x1a334d{constructor(_0x553bdc,_0x5d7581,_0x5f3cf9,_0x4ad905,_0x3579af,_0x2d687c=!0x1,_0x483152,_0x54c4eb,_0x1bf7fd,_0x27cebd,_0x3f1565,_0x39ab66,_0xa43eff){const _0x3e4071=_0x2a4c41;super(_0x553bdc,_0x5d7581,_0x5f3cf9,_0x4ad905,_0x3579af,_0x54c4eb,_0x1bf7fd,_0x3f1565,_0x27cebd),_0x3a0856(this,'status','conflict'),(this['_isPermissionRej']=_0x2d687c,this[_0x3e4071(0x411)]=_0x483152,this['_localeService']=_0x39ab66,this['_notificationService']=_0xa43eff,this[_0x3e4071(0x2ba)](),this[_0x3e4071(0x4df)](),this[_0x3e4071(0x30b)]());}[_0x2a4c41(0x3e4)](){return this;}['onRemoteChangeset'](){return this;}[_0x2a4c41(0x548)](){return this;}[_0x2a4c41(0x295)](){return this;}[_0x2a4c41(0x3c6)](){return this;}[_0x2a4c41(0x3e5)](){return this;}[_0x2a4c41(0x375)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){const _0x1fe275=_0x2a4c41;this[_0x1fe275(0x52f)][_0x1fe275(0x265)](this[_0x1fe275(0x3a4)],this[_0x1fe275(0x348)],null,[]);}[_0x2a4c41(0x2ba)](){const _0x569569=_0x2a4c41;this[_0x569569(0x467)]?this[_0x569569(0x27b)][_0x569569(0x451)]({'title':this[_0x569569(0x2b1)]['t'](_0x569569(0x2cd)),'content':this[_0x569569(0x2b1)]['t']('permission.content'),'type':'error','duration':0x0}):this[_0x569569(0x27b)][_0x569569(0x451)]({'title':this[_0x569569(0x2b1)]['t']('conflict.title'),'content':this[_0x569569(0x2b1)]['t']('conflict.content'),'type':_0x569569(0x432),'duration':0x0});}[_0x2a4c41(0x30b)](){const _0x102760=_0x2a4c41;this[_0x102760(0x411)][_0x102760(0x524)](new _0x2d44ec[(_0x102760(0x2bb))](this[_0x102760(0x3a4)])['id'],!0x1);}};_0x147121=_0x1dde43([_0x3d5e47(0x6,_0x42e035['Inject'](_0x42e035[_0x2a4c41(0x378)])),_0x3d5e47(0x7,_0x42e035['ICommandService']),_0x3d5e47(0x8,_0x42e035['IUndoRedoService']),_0x3d5e47(0x9,_0x42e035[_0x2a4c41(0x29d)](_0x119e5f[_0x2a4c41(0x36c)])),_0x3d5e47(0xa,_0x42e035['Inject'](_0x1a2c53[_0x2a4c41(0x46f)])),_0x3d5e47(0xb,_0x42e035['Inject'](_0x42e035[_0x2a4c41(0x39c)])),_0x3d5e47(0xc,_0x576301[_0x2a4c41(0x24e)])],_0x147121);let _0x24bff7=class extends _0x1a334d{constructor(_0x24cc28,_0x10f7b2,_0x3e75c4,_0x9c35f8,_0x2be510,_0x42942f,_0x3b341f,_0x433c3d,_0x8fc3a,_0x3f223d){const _0x56c3bc=_0x2a4c41;super(_0x24cc28,_0x10f7b2,_0x3e75c4,_0x9c35f8,_0x2be510,_0x8fc3a,_0x3f223d,_0x3b341f,_0x433c3d),_0x3a0856(this,'status','offline'),this[_0x56c3bc(0x1a2)]=_0x42942f;}['appendMutation'](_0x307d10){const _0x266a9a=_0x2a4c41;return this[_0x266a9a(0x35d)][_0x266a9a(0x408)](_0x307d10),this[_0x266a9a(0x275)](),this;}['onRemoteChangeset'](_0x31d3f3){const _0x7a36b=_0x2a4c41;throw new Error(_0x7a36b(0x35c));}[_0x2a4c41(0x548)](){const _0x5942f3=_0x2a4c41;throw new Error(_0x5942f3(0x25e));}[_0x2a4c41(0x295)](){const _0xf85dc7=_0x2a4c41;throw new Error(_0xf85dc7(0x54c));}[_0x2a4c41(0x3c6)](){return this;}[_0x2a4c41(0x3e5)](){const _0x225a2c=_0x2a4c41,{_injector:_0x4e0e06,_pendingMutations:_0x50c084,_awaitingChangeset:_0x8307fd,unitID:_0x392c3e,_handler:_0x138c19,type:_0x5e337f}=this,_0x5bb0be=_0x26c498(_0x4e0e06,_0x392c3e,_0x5e337f,_0x8307fd,_0x50c084,_0x138c19);return _0x5bb0be instanceof _0x5c8afb?_0x5bb0be[_0x225a2c(0x1b1)]():(_0x5bb0be instanceof _0x126d11||_0x5bb0be instanceof _0x329e72)&&_0x5bb0be[_0x225a2c(0x375)](),_0x5bb0be;}[_0x2a4c41(0x375)](){const _0x150ef2=_0x2a4c41;throw new Error(_0x150ef2(0x264));}};_0x24bff7=_0x1dde43([_0x3d5e47(0x5,_0x42e035['Inject'](_0x42e035[_0x2a4c41(0x2bf)])),_0x3d5e47(0x6,_0x42e035[_0x2a4c41(0x29d)](_0x1a2c53['RevisionService'])),_0x3d5e47(0x7,_0x42e035[_0x2a4c41(0x29d)](_0x119e5f[_0x2a4c41(0x36c)])),_0x3d5e47(0x8,_0x42e035[_0x2a4c41(0x219)]),_0x3d5e47(0x9,_0x42e035[_0x2a4c41(0x598)])],_0x24bff7);let _0x560a30=class extends _0x1a334d{constructor(_0x5ec02c,_0x24ac24,_0x106c8c,_0x21a469,_0x4da084,_0x2f103e,_0x52a010,_0x115861,_0x5eb312,_0x16cd3d,_0x39cb7f,_0x5bac35,_0x5a0676,_0x2b89b2){const _0x5d5c72=_0x2a4c41;super(_0x5ec02c,_0x24ac24,_0x106c8c,_0x21a469,_0x52a010,_0x5bac35,_0x5a0676,_0x5eb312,_0x16cd3d),_0x3a0856(this,_0x5d5c72(0x469),_0x5d5c72(0x206)),(this['_acknowledgedAwaitingChangeset']=_0x4da084,this[_0x5d5c72(0x26c)]=_0x2f103e,this[_0x5d5c72(0x1a2)]=_0x115861,this[_0x5d5c72(0x1ae)]=_0x39cb7f,this['_transformService']=_0x2b89b2);}['onMissedChangesetFetched'](_0x46dd65){const _0x1bf439=_0x2a4c41;try{const _0x3c2083=[..._0x46dd65,...this['_queuedRemoteChangesets']],_0x22147d=[this[_0x1bf439(0x51d)]||this[_0x1bf439(0x47c)]][_0x1bf439(0x45c)](_0x4d3dc0=>!!_0x4d3dc0);let _0xd900b0,_0xd31c90;if(_0x22147d[_0x1bf439(0x250)]){const _0x497f3c=this[_0x1bf439(0x421)][_0x1bf439(0x1a7)](_0x3c2083,_0x22147d,!0x1);if(!_0x1a2c53[_0x1bf439(0x546)](_0x497f3c))throw _0x497f3c[_0x1bf439(0x432)];_0xd900b0=_0x497f3c[_0x1bf439(0x1b3)],_0xd31c90=_0x497f3c['c2Prime'];}else _0xd900b0=_0x3c2083,_0xd31c90=[];let _0x1ea5e8=this[_0x1bf439(0x35d)];_0xd900b0[_0x1bf439(0x3f5)](_0x1489da=>{const _0x32d184=_0x1bf439;let _0x159ba2;if(_0x1ea5e8[_0x32d184(0x250)]){const _0x3f02a7=this[_0x32d184(0x421)][_0x32d184(0x211)](_0x1489da,_0x1ea5e8);if(!_0x1a2c53[_0x32d184(0x24c)](_0x3f02a7))throw _0x3f02a7[_0x32d184(0x432)];_0x159ba2=_0x3f02a7[_0x32d184(0x1b3)],_0x1ea5e8=_0x3f02a7[_0x32d184(0x492)];}else _0x159ba2=_0x1489da;this[_0x32d184(0x339)](_0x159ba2);}),this['_acknowledgedAwaitingChangeset']&&this[_0x1bf439(0x472)](),this[_0x1bf439(0x51d)]&&_0xd31c90[_0x1bf439(0x250)]&&(_0xd31c90[0x0][_0x1bf439(0x25c)]=this[_0x1bf439(0x293)]());let _0x29d0e0;if(this[_0x1bf439(0x51d)]&&_0x1ea5e8[_0x1bf439(0x250)]!==0x0)_0x29d0e0=this[_0x1bf439(0x1a2)][_0x1bf439(0x2fd)](_0x126d11,this[_0x1bf439(0x3a4)],this['type'],_0xd31c90[0x0],_0x1ea5e8,this[_0x1bf439(0x5c2)]);else{if(this[_0x1bf439(0x51d)]&&_0x1ea5e8[_0x1bf439(0x250)]===0x0)_0xd31c90[0x0][_0x1bf439(0x25c)]=this[_0x1bf439(0x293)](),_0x29d0e0=this[_0x1bf439(0x1a2)][_0x1bf439(0x2fd)](_0x329e72,this[_0x1bf439(0x3a4)],this[_0x1bf439(0x348)],_0xd31c90[0x0],this['_handler']);else{if(_0x1ea5e8[_0x1bf439(0x250)]!==0x0){const _0x5a6bd7=this[_0x1bf439(0x1a2)][_0x1bf439(0x2fd)](_0x5c8afb,this[_0x1bf439(0x3a4)],this['type'],_0x1ea5e8,this[_0x1bf439(0x5c2)]);_0x5a6bd7[_0x1bf439(0x1b1)](),_0x29d0e0=_0x5a6bd7;}else _0x29d0e0=this[_0x1bf439(0x1a2)][_0x1bf439(0x2fd)](_0x2b5b26,this['unitID'],this[_0x1bf439(0x348)],this[_0x1bf439(0x5c2)]);}}return _0x29d0e0[_0x1bf439(0x275)](),_0x29d0e0;}catch(_0x393717){return this[_0x1bf439(0x1ae)][_0x1bf439(0x432)](_0x1bf439(0x3cf),'failed\x20to\x20apply\x20missed\x20changesets!',_0x393717),this[_0x1bf439(0x1a2)][_0x1bf439(0x2fd)](_0x147121,this[_0x1bf439(0x3a4)],this[_0x1bf439(0x348)],this[_0x1bf439(0x51d)],this[_0x1bf439(0x35d)],this[_0x1bf439(0x5c2)],!0x1);}}[_0x2a4c41(0x375)](){const _0x1e9195=_0x2a4c41;throw new Error(_0x1e9195(0x3e2));}[_0x2a4c41(0x3e4)](_0x4b5eb8){const _0x268fba=_0x2a4c41;return this[_0x268fba(0x35d)]['push'](_0x4b5eb8),this;}[_0x2a4c41(0x30f)](_0x4c1219){const _0x14d08a=_0x2a4c41;return this[_0x14d08a(0x26c)][_0x14d08a(0x408)](_0x4c1219),this;}[_0x2a4c41(0x548)](_0x2ef4f5){const _0x58555c=_0x2a4c41;if(this['_awaitingChangeset'])return this[_0x58555c(0x47c)]=this[_0x58555c(0x51d)],this[_0x58555c(0x51d)]=null,this;throw new Error(_0x58555c(0x59b));}[_0x2a4c41(0x295)](_0x1a7aa6){const _0x3abba4=_0x2a4c41;return this[_0x3abba4(0x4b8)](!!(_0x1a7aa6!=null&&_0x1a7aa6[_0x3abba4(0x423)]));}[_0x2a4c41(0x3c6)](){const _0x1600c9=_0x2a4c41;return this['_injector'][_0x1600c9(0x2fd)](_0x24bff7,this[_0x1600c9(0x3a4)],this['type'],this[_0x1600c9(0x51d)],this['_pendingMutations'],this['_handler']);}[_0x2a4c41(0x3e5)](){return this;}[_0x2a4c41(0x4b8)](_0x140a9a){const _0x2e83b3=_0x2a4c41;return this['_injector'][_0x2e83b3(0x2fd)](_0x147121,this[_0x2e83b3(0x3a4)],this['type'],this[_0x2e83b3(0x51d)],this[_0x2e83b3(0x35d)],this['_handler'],_0x140a9a);}};_0x560a30=_0x1dde43([_0x3d5e47(0x7,_0x42e035[_0x2a4c41(0x29d)](_0x42e035['Injector'])),_0x3d5e47(0x8,_0x42e035[_0x2a4c41(0x29d)](_0x1a2c53[_0x2a4c41(0x46f)])),_0x3d5e47(0x9,_0x42e035['Inject'](_0x119e5f[_0x2a4c41(0x36c)])),_0x3d5e47(0xa,_0x42e035['ILogService']),_0x3d5e47(0xb,_0x42e035[_0x2a4c41(0x219)]),_0x3d5e47(0xc,_0x42e035[_0x2a4c41(0x598)]),_0x3d5e47(0xd,_0x1a2c53[_0x2a4c41(0x41f)])],_0x560a30);function _0x26c498(_0x52dd39,_0x521e63,_0x2dd9d2,_0x137c1f,_0x474097,_0x157b68){const _0x4d94a5=_0x2a4c41;return _0x137c1f&&_0x474097[_0x4d94a5(0x250)]?_0x52dd39[_0x4d94a5(0x2fd)](_0x126d11,_0x521e63,_0x2dd9d2,_0x137c1f,_0x474097,_0x157b68):_0x137c1f?_0x52dd39[_0x4d94a5(0x2fd)](_0x329e72,_0x521e63,_0x2dd9d2,_0x137c1f,_0x157b68):_0x474097[_0x4d94a5(0x250)]?_0x52dd39[_0x4d94a5(0x2fd)](_0x5c8afb,_0x521e63,_0x2dd9d2,_0x474097,_0x157b68):_0x52dd39[_0x4d94a5(0x2fd)](_0x2b5b26,_0x521e63,_0x2dd9d2,_0x157b68);}var _0x3777c5=Object['defineProperty'],_0x117d1e=Object[_0x2a4c41(0x317)],_0x2de724=(_0x22b1c9,_0x4b2e5e,_0x30b9b7,_0x481b11)=>{const _0x35ab67=_0x2a4c41;for(var _0x4ff375=_0x481b11>0x1?void 0x0:_0x481b11?_0x117d1e(_0x4b2e5e,_0x30b9b7):_0x4b2e5e,_0x375770=_0x22b1c9[_0x35ab67(0x250)]-0x1,_0x2d4552;_0x375770>=0x0;_0x375770--)(_0x2d4552=_0x22b1c9[_0x375770])&&(_0x4ff375=(_0x481b11?_0x2d4552(_0x4b2e5e,_0x30b9b7,_0x4ff375):_0x2d4552(_0x4ff375))||_0x4ff375);return _0x481b11&&_0x4ff375&&_0x3777c5(_0x4b2e5e,_0x30b9b7,_0x4ff375),_0x4ff375;},_0x5782a4=(_0x5f3667,_0x2939c4)=>(_0x3ad7e7,_0x514548)=>_0x2939c4(_0x3ad7e7,_0x514548,_0x5f3667);_0x119e5f[_0x2a4c41(0x1d0)]=class extends _0x42e035[_0x2a4c41(0x43e)]{constructor(_0x2f7d26,_0x40779c,_0x186010,_0x55ef94,_0x2f574a,_0x26dbd3,_0x40d5c3,_0xed47d8,_0x36e453,_0x32bd1c,_0x141266,_0x129c34,_0x243d08){const _0xb82a0a=_0x2a4c41;super(),_0x3a0856(this,_0xb82a0a(0x32a),new _0x40c8d9[(_0xb82a0a(0x54d))](null)),_0x3a0856(this,_0xb82a0a(0x2df),this[_0xb82a0a(0x32a)][_0xb82a0a(0x2dd)]()),_0x3a0856(this,_0xb82a0a(0x4fe)),_0x3a0856(this,_0xb82a0a(0x255),!0x1),_0x3a0856(this,_0xb82a0a(0x50b),this[_0xb82a0a(0x2df)][_0xb82a0a(0x4b4)](_0x40c8d9[_0xb82a0a(0x3bc)](_0x43a991=>_0x43a991?_0x43a991[_0xb82a0a(0x469)]:_0x115871['OFFLINE']),_0x40c8d9[_0xb82a0a(0x1e7)](0x1))),_0x3a0856(this,'_transitionLocked',!0x1),_0x3a0856(this,_0xb82a0a(0x397),[]),(this[_0xb82a0a(0x3a4)]=_0x2f7d26,this['session']=_0x40779c,this['_type']=_0x186010,this[_0xb82a0a(0x1a2)]=_0x55ef94,this['_localCacheService']=_0x2f574a,this['_compressMutationService']=_0x26dbd3,this[_0xb82a0a(0x2b1)]=_0x40d5c3,this['_revisionService']=_0xed47d8,this[_0xb82a0a(0x1ae)]=_0x36e453,this[_0xb82a0a(0x369)]=_0x32bd1c,this['_messageService']=_0x141266,this['_permissionService']=_0x129c34,this[_0xb82a0a(0x27f)]=_0x243d08);}get[_0x2a4c41(0x2ec)](){const _0x23ba7e=_0x2a4c41;return this[_0x23ba7e(0x4fe)];}async[_0x2a4c41(0x223)](){const _0x3eb433=_0x2a4c41;if(this[_0x3eb433(0x2ec)])throw new Error(_0x3eb433(0x4ad));await this['_init']();}[_0x2a4c41(0x256)](){const _0x239cde=_0x2a4c41;return this[_0x239cde(0x255)]=!0x0,_0x42e035['toDisposable'](()=>{const _0xcfd924=_0x239cde;this[_0xcfd924(0x255)]=!0x1,this[_0xcfd924(0x533)]();});}[_0x2a4c41(0x313)](_0xe7fb48){const _0xe00b9e=_0x2a4c41;this['_state']=_0xe7fb48,this['_state$'][_0xe00b9e(0x380)](_0xe7fb48);}async[_0x2a4c41(0x40a)](){const _0x202c30=_0x2a4c41;var _0x29c12f;this[_0x202c30(0x313)](await this[_0x202c30(0x1fb)]()),this['_singleActiveUnitService']&&((_0x29c12f=this['_singleActiveUnitService'])==null||_0x29c12f[_0x202c30(0x2c0)](this[_0x202c30(0x3a4)]),this[_0x202c30(0x594)](this[_0x202c30(0x27f)][_0x202c30(0x2ef)](this[_0x202c30(0x3a4)])['subscribe'](_0x2c38b4=>{const _0x56c1ad=_0x202c30;this[_0x56c1ad(0x1ae)][_0x56c1ad(0x4b7)](_0x56c1ad(0x1c2),'editing\x20status\x20changed\x20to',_0x2c38b4),_0x2c38b4===_0xe4fb0e[_0x56c1ad(0x3fe)]?(this[_0x56c1ad(0x319)][_0x56c1ad(0x451)]({'content':this[_0x56c1ad(0x2b1)]['t'](_0x56c1ad(0x3aa)),'type':_0x25691d[_0x56c1ad(0x2ee)][_0x56c1ad(0x496)]}),this['_permissionService'][_0x56c1ad(0x524)](new _0x2d44ec[(_0x56c1ad(0x2bb))](this['unitID'])['id'],!0x1)):this[_0x56c1ad(0x411)][_0x56c1ad(0x524)](new _0x2d44ec['WorkbookEditablePermission'](this[_0x56c1ad(0x3a4)])['id'],!0x0);})));let _0x577324=!0x1;return this[_0x202c30(0x594)](this[_0x202c30(0x4b1)]['sessionStatus$'][_0x202c30(0x543)](_0x2fbcb5=>{const _0x3b92ed=_0x202c30;_0x2fbcb5===_0x4246bc[_0x3b92ed(0x424)]?this['_toggleOnline'](_0x577324):_0x2fbcb5===_0x4246bc[_0x3b92ed(0x31c)]&&(_0x577324=!0x0,this['_toggleOffline']());})),this[_0x202c30(0x594)](this[_0x202c30(0x4b1)]['event$'][_0x202c30(0x543)](_0x4be48a=>{const _0x41e232=_0x202c30;try{switch(_0x4be48a[_0x41e232(0x36d)]){case _0x1a2c53[_0x41e232(0x292)]['NEW_CHANGESETS']:{this['_onRemoteChangeset'](_0x1a2c53[_0x41e232(0x384)](_0x4be48a[_0x41e232(0x5c8)]));break;}case _0x1a2c53[_0x41e232(0x292)]['CHANGESET_ACK']:{this['_onRemoteACK'](_0x4be48a['data']);break;}case _0x1a2c53[_0x41e232(0x292)][_0x41e232(0x1b9)]:{this['_onRemoteRejected']();break;}case _0x1a2c53[_0x41e232(0x292)][_0x41e232(0x57f)]:{this['_onFetchMissResult'](_0x4be48a[_0x41e232(0x5c8)][_0x41e232(0x2e0)]['map'](_0x3e75d3=>_0x1a2c53['parseProtocolChangeset'](_0x3e75d3)));break;}case _0x1a2c53[_0x41e232(0x292)]['PERMISSION_REJ']:this[_0x41e232(0x33e)]({'isPermissionRej':!0x0});}}catch(_0x3261b6){throw console[_0x41e232(0x432)](_0x41e232(0x4fa),_0x3261b6),_0x3261b6;}})),this[_0x202c30(0x4fe)];}['_unlockTransition'](){const _0x3a2d29=_0x2a4c41;this[_0x3a2d29(0x5b5)]=!0x1;}[_0x2a4c41(0x427)](){const _0x21aa5e=_0x2a4c41;if(this[_0x21aa5e(0x5b5)])throw new Error(_0x21aa5e(0x1e1));this[_0x21aa5e(0x5b5)]=!0x0;}[_0x2a4c41(0x4e1)](_0x531d12){const _0x583a77=_0x2a4c41;this['_lockTransition'](),this[_0x583a77(0x313)](this['_state']['appendMutation'](_0x531d12)),this[_0x583a77(0x34b)]();}[_0x2a4c41(0x4f0)](_0xbf4848){const _0xee4c86=_0x2a4c41;if(!(_0xbf4848['revision']<=this[_0xee4c86(0x3d7)]['getCurrentRevOfUnit'](this[_0xee4c86(0x3a4)]))){if(this[_0xee4c86(0x255)]){this[_0xee4c86(0x397)][_0xee4c86(0x408)](_0xbf4848);return;}this[_0xee4c86(0x2d9)](_0xbf4848);}}[_0x2a4c41(0x533)](){const _0x20fb4c=_0x2a4c41;this[_0x20fb4c(0x397)]['forEach'](_0x2a8cf8=>this[_0x20fb4c(0x2d9)](_0x2a8cf8)),this['_remoteChangesetQueue']=[];}[_0x2a4c41(0x2d9)](_0x13a236){const _0x25dea4=_0x2a4c41,_0x16d330=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x25dea4(0x252)][_0x25dea4(0x35e)][_0x25dea4(0x356)]()[_0x25dea4(0x1a1)])(_0x13a236[_0x25dea4(0x23d)],null)||_0x13a236['mutations'],_0x1916ed={..._0x13a236,'mutations':_0x16d330};this[_0x25dea4(0x427)](),this[_0x25dea4(0x313)](this[_0x25dea4(0x4fe)][_0x25dea4(0x30f)](_0x1916ed)),this['_unlockTransition']();}[_0x2a4c41(0x41a)](_0x2104da){const _0x5a2e20=_0x2a4c41;this[_0x5a2e20(0x427)](),this[_0x5a2e20(0x313)](this[_0x5a2e20(0x4fe)][_0x5a2e20(0x548)](_0x2104da)),this[_0x5a2e20(0x34b)]();}[_0x2a4c41(0x33e)](_0x262df5){const _0x2d8f33=_0x2a4c41;this[_0x2d8f33(0x427)](),this[_0x2d8f33(0x313)](this['_state']['onRemoteRej'](_0x262df5)),this['_unlockTransition']();}['_onFetchMissResult'](_0x1f67d3){const _0x18b4b7=_0x2a4c41;if(!(this[_0x18b4b7(0x4fe)]instanceof _0x560a30))throw new TypeError(_0x18b4b7(0x559));const _0x1083ed=_0x1f67d3[_0x18b4b7(0x3bc)](_0x1d8539=>{const _0x424d90=_0x18b4b7,_0xd5e8fb=this['_compressMutationService']['interceptor'][_0x424d90(0x4cf)](this[_0x424d90(0x252)][_0x424d90(0x35e)][_0x424d90(0x356)]()[_0x424d90(0x1a1)])(_0x1d8539[_0x424d90(0x23d)],null)||_0x1d8539[_0x424d90(0x23d)];return{..._0x1d8539,'mutations':_0xd5e8fb};});this[_0x18b4b7(0x427)](),this['_updateState'](this[_0x18b4b7(0x4fe)][_0x18b4b7(0x58f)](_0x1083ed)),this[_0x18b4b7(0x34b)]();}[_0x2a4c41(0x4ef)](){const _0x397b39=_0x2a4c41;this[_0x397b39(0x427)](),this['_updateState'](this[_0x397b39(0x4fe)][_0x397b39(0x3c6)]()),this[_0x397b39(0x34b)]();}[_0x2a4c41(0x54a)](_0xb5ba1c=!0x1){const _0x850965=_0x2a4c41;this[_0x850965(0x427)](),this[_0x850965(0x313)](this['_state'][_0x850965(0x3e5)]()),this[_0x850965(0x34b)]();const _0x4c30b4=this[_0x850965(0x4fe)];_0xb5ba1c&&_0x4c30b4 instanceof _0x2b5b26&&(this[_0x850965(0x427)](),this[_0x850965(0x313)](_0x4c30b4[_0x850965(0x5af)]()),this[_0x850965(0x34b)]());}async['_createInitialState'](){return new Promise(_0x5d7d2e=>{const _0x4a5482=_0x5025;this[_0x4a5482(0x4b1)]['sessionStatus$'][_0x4a5482(0x4b4)](_0x40c8d9[_0x4a5482(0x35b)](0x1))[_0x4a5482(0x543)](async _0x43320a=>{const _0x1d9ef5=_0x4a5482;_0x5d7d2e(await this[_0x1d9ef5(0x2b8)](_0x43320a===_0x4246bc[_0x1d9ef5(0x424)]));});});}[_0x2a4c41(0x2f2)](){const _0x4fd619=_0x2a4c41,_0xae393f=this[_0x4fd619(0x3a4)];return{'onStateChange':(_0x4e8b81,_0x491d1a)=>{const _0x254c5a=_0x4fd619;if(_0x4e8b81!==this[_0x254c5a(0x4fe)])throw new Error(_0x254c5a(0x53d)+_0x4e8b81[_0x254c5a(0x469)]+_0x254c5a(0x500)+_0x491d1a['status']+'\x0aCurrent:\x20'+this['_state'][_0x254c5a(0x469)]);this[_0x254c5a(0x313)](_0x491d1a);},'onSendChangeset':_0x165b50=>{const _0x3a4ccb=_0x4fd619,_0x41e4a2={'eventID':_0x1a2c53['CollaborationEvent']['SUBMIT_CHANGESET'],'data':{'unitID':_0x165b50['unitID'],'unitType':this['_type'],'changeset':_0x165b50,'memberID':this[_0x3a4ccb(0x4b1)]['getMemberID']()}};this[_0x3a4ccb(0x4b1)][_0x3a4ccb(0x212)](_0x41e4a2,this[_0x3a4ccb(0x3a4)]);},'onMissingChangesets':({from:_0x4393e5,to:_0x358d92})=>{const _0x15fdcb=_0x4fd619;this[_0x15fdcb(0x1ae)][_0x15fdcb(0x4b7)]('[CollaborationEntity]',_0x15fdcb(0x3dc)+_0x4393e5+_0x15fdcb(0x32f)+_0x358d92);const _0x420cfd={'eventID':_0x1a2c53[_0x15fdcb(0x292)][_0x15fdcb(0x238)],'data':{'unitID':_0xae393f,'unitType':this[_0x15fdcb(0x257)],'from':_0x4393e5,'to':_0x358d92}};this[_0x15fdcb(0x4b1)][_0x15fdcb(0x212)](_0x420cfd,this[_0x15fdcb(0x3a4)]);}};}async[_0x2a4c41(0x2b8)](_0x46dc52){const _0x5551b3=_0x2a4c41;var _0x56d0e3,_0x36cc62;const _0x41addc=await this[_0x5551b3(0x52f)][_0x5551b3(0x365)](this[_0x5551b3(0x3a4)]),_0x577666=(_0x56d0e3=_0x41addc==null?void 0x0:_0x41addc[_0x5551b3(0x23d)])!=null?_0x56d0e3:[],_0x3f2a61=(_0x36cc62=_0x41addc==null?void 0x0:_0x41addc['awaitingChangeset'])!=null?_0x36cc62:null,_0x69b5e8=this[_0x5551b3(0x3a4)];try{this['_replayCachedMutations'](_0x3f2a61,_0x577666);}catch(_0x4a8ce7){this[_0x5551b3(0x1ae)]['error'](_0x4a8ce7);}const _0x4f4b39=this[_0x5551b3(0x2f2)]();if(_0x46dc52){const _0x491b92=_0x26c498(this[_0x5551b3(0x1a2)],_0x69b5e8,this[_0x5551b3(0x257)],_0x3f2a61,_0x577666,_0x4f4b39);return _0x491b92 instanceof _0x5c8afb?_0x491b92[_0x5551b3(0x1b1)]():(_0x491b92 instanceof _0x126d11||_0x491b92 instanceof _0x329e72)&&_0x491b92['resend'](),_0x491b92;}return this[_0x5551b3(0x1a2)]['createInstance'](_0x24bff7,_0x69b5e8,this[_0x5551b3(0x257)],_0x3f2a61,_0x577666,_0x4f4b39);}[_0x2a4c41(0x4da)](_0x4548e3,_0x2064ed){const _0x4d2ec1=_0x2a4c41;var _0x40ce39,_0xa0fc1b;const _0x1d41c4=this[_0x4d2ec1(0x252)][_0x4d2ec1(0x35e)][_0x4d2ec1(0x4cf)](this[_0x4d2ec1(0x252)][_0x4d2ec1(0x35e)][_0x4d2ec1(0x356)]()['COMPRESS_MUTATION_APPLY']);(_0x40ce39=_0x1d41c4((_0x4548e3==null?void 0x0:_0x4548e3[_0x4d2ec1(0x23d)])||[],null))==null||_0x40ce39['forEach'](_0x3d40be=>this[_0x4d2ec1(0x369)][_0x4d2ec1(0x3e0)](_0x3d40be['id'],_0x3d40be[_0x4d2ec1(0x44a)])),(_0xa0fc1b=_0x1d41c4(_0x2064ed||[],null))==null||_0xa0fc1b[_0x4d2ec1(0x3f5)](_0x352f77=>this[_0x4d2ec1(0x369)][_0x4d2ec1(0x3e0)](_0x352f77['id'],_0x352f77[_0x4d2ec1(0x44a)]));}},_0x119e5f['CollaborationEntity']=_0x2de724([_0x5782a4(0x3,_0x42e035[_0x2a4c41(0x29d)](_0x42e035[_0x2a4c41(0x2bf)])),_0x5782a4(0x4,_0x42e035[_0x2a4c41(0x29d)](_0x119e5f[_0x2a4c41(0x36c)])),_0x5782a4(0x5,_0x42e035[_0x2a4c41(0x29d)](_0x1a2c53[_0x2a4c41(0x43c)])),_0x5782a4(0x6,_0x42e035[_0x2a4c41(0x29d)](_0x42e035['LocaleService'])),_0x5782a4(0x7,_0x42e035[_0x2a4c41(0x29d)](_0x1a2c53[_0x2a4c41(0x46f)])),_0x5782a4(0x8,_0x42e035[_0x2a4c41(0x5ae)]),_0x5782a4(0x9,_0x42e035[_0x2a4c41(0x219)]),_0x5782a4(0xa,_0x576301[_0x2a4c41(0x214)]),_0x5782a4(0xb,_0x42e035[_0x2a4c41(0x378)]),_0x5782a4(0xc,_0x42e035[_0x2a4c41(0x569)](_0x506d1b))],_0x119e5f[_0x2a4c41(0x1d0)]),_0x119e5f[_0x2a4c41(0x4a1)]=class extends _0x119e5f[_0x2a4c41(0x1d0)]{constructor(_0x54f413,_0x201198,_0x3429cf,_0x37a032,_0x580605,_0x3d7f0d,_0x22b72c,_0x8947eb,_0x493a09,_0x452880,_0x139964,_0x5e433d,_0x259fcb,_0x32bf0a,_0x30129a,_0x4ab6d0,_0x10ddcc){const _0x3eb499=_0x2a4c41;super(_0x54f413,_0x3429cf,_0x201198,_0x37a032,_0x580605,_0x3d7f0d,_0x22b72c,_0x8947eb,_0x259fcb,_0x32bf0a,_0x30129a,_0x4ab6d0,_0x10ddcc),this[_0x3eb499(0x3a4)]=_0x54f413,this[_0x3eb499(0x348)]=_0x201198,this[_0x3eb499(0x37d)]=_0x493a09,this[_0x3eb499(0x5c4)]=_0x452880,this[_0x3eb499(0x286)]=_0x139964,this['_docSyncEditingCollabCursorService']=_0x5e433d;}[_0x2a4c41(0x2f2)](){const _0x1d3b38=_0x2a4c41,_0x42b19d=super[_0x1d3b38(0x2f2)]();return _0x42b19d[_0x1d3b38(0x2a6)]=_0x4e9e56=>this[_0x1d3b38(0x5c4)][_0x1d3b38(0x3eb)](_0x4e9e56),_0x42b19d[_0x1d3b38(0x5aa)]=_0x4c6082=>this[_0x1d3b38(0x286)]['transformSelections'](_0x4c6082),_0x42b19d[_0x1d3b38(0x4ca)]=_0x1db9ed=>this[_0x1d3b38(0x1bf)][_0x1d3b38(0x262)](_0x1db9ed),_0x42b19d[_0x1d3b38(0x395)]=_0x28668a=>this[_0x1d3b38(0x5c4)]['transformRemoteChangeset'](_0x28668a),_0x42b19d;}async[_0x2a4c41(0x40a)](){const _0x427922=_0x2a4c41,_0x4d6a61=await super[_0x427922(0x40a)]();return this[_0x427922(0x594)](this['_commandService']['onCommandExecuted']((_0x2a86aa,_0x3f814e)=>{const _0x49c6cc=_0x427922;if(_0x2a86aa[_0x49c6cc(0x348)]!==_0x42e035[_0x49c6cc(0x302)][_0x49c6cc(0x55e)]||_0x3f814e!=null&&_0x3f814e[_0x49c6cc(0x597)]||_0x3f814e!=null&&_0x3f814e[_0x49c6cc(0x344)])return;const _0x47e8d0=_0x2a86aa['params'];if((_0x47e8d0==null?void 0x0:_0x47e8d0[_0x49c6cc(0x222)])!==this[_0x49c6cc(0x3a4)])return;let _0x27bb1b=_0x2a86aa;if(_0x27bb1b['id']===_0x50c98c[_0x49c6cc(0x5b1)]['id']){const _0x249c1d=_0x27bb1b[_0x49c6cc(0x44a)];_0x27bb1b={'id':_0x50c98c[_0x49c6cc(0x5b1)]['id'],'type':_0x42e035['CommandType']['MUTATION'],'params':{'unitId':_0x249c1d[_0x49c6cc(0x222)],'actions':_0x249c1d[_0x49c6cc(0x3de)],'textRanges':null}};}const _0x1c9762=this[_0x49c6cc(0x252)][_0x49c6cc(0x35e)][_0x49c6cc(0x4cf)](this[_0x49c6cc(0x252)][_0x49c6cc(0x35e)]['getInterceptPoints']()[_0x49c6cc(0x4a9)])([_0x27bb1b],null)||[_0x27bb1b];this['_onLocalMutation'](_0x1c9762[0x0]);})),_0x4d6a61;}},_0x119e5f[_0x2a4c41(0x4a1)]=_0x2de724([_0x5782a4(0x3,_0x42e035[_0x2a4c41(0x29d)](_0x42e035[_0x2a4c41(0x2bf)])),_0x5782a4(0x4,_0x42e035[_0x2a4c41(0x29d)](_0x119e5f[_0x2a4c41(0x36c)])),_0x5782a4(0x5,_0x42e035[_0x2a4c41(0x29d)](_0x1a2c53[_0x2a4c41(0x43c)])),_0x5782a4(0x6,_0x42e035[_0x2a4c41(0x29d)](_0x42e035[_0x2a4c41(0x39c)])),_0x5782a4(0x7,_0x42e035[_0x2a4c41(0x29d)](_0x1a2c53[_0x2a4c41(0x46f)])),_0x5782a4(0x8,_0x42e035[_0x2a4c41(0x29d)](_0x43047a[_0x2a4c41(0x5c0)])),_0x5782a4(0x9,_0x42e035[_0x2a4c41(0x29d)](_0x3f2c42)),_0x5782a4(0xa,_0x42e035[_0x2a4c41(0x29d)](_0x1957db)),_0x5782a4(0xb,_0x42e035['Inject'](_0x293121)),_0x5782a4(0xc,_0x42e035['ILogService']),_0x5782a4(0xd,_0x42e035[_0x2a4c41(0x219)]),_0x5782a4(0xe,_0x576301[_0x2a4c41(0x214)]),_0x5782a4(0xf,_0x42e035[_0x2a4c41(0x378)]),_0x5782a4(0x10,_0x42e035[_0x2a4c41(0x569)](_0x506d1b))],_0x119e5f[_0x2a4c41(0x4a1)]),_0x119e5f['SheetCollaborationEntity']=class extends _0x119e5f[_0x2a4c41(0x1d0)]{constructor(_0x4475d3,_0x181a1c,_0x3f982b,_0xcb48e5,_0x2ee288,_0x490e2e,_0x486b59,_0x171692,_0x1f8132,_0x4fd01a,_0x19b910,_0x420337,_0x1bac86,_0x9c2449){const _0x41e9c4=_0x2a4c41;super(_0x4475d3,_0x3f982b,_0x181a1c,_0xcb48e5,_0x2ee288,_0x490e2e,_0x486b59,_0x171692,_0x4fd01a,_0x19b910,_0x420337,_0x1bac86,_0x9c2449),this[_0x41e9c4(0x3a4)]=_0x4475d3,this[_0x41e9c4(0x348)]=_0x181a1c,this['_sheetTransformSelectionsService']=_0x1f8132;}[_0x2a4c41(0x2f2)](){const _0x2b21f8=_0x2a4c41,_0xc9bb65=super[_0x2b21f8(0x2f2)]();return _0xc9bb65[_0x2b21f8(0x5aa)]=_0x569902=>this[_0x2b21f8(0x2c3)][_0x2b21f8(0x2f4)](_0x569902),_0xc9bb65;}async['_init'](){const _0x157961=_0x2a4c41,_0x342804=await super['_init']();return this[_0x157961(0x594)](this['_commandService'][_0x157961(0x5d4)]((_0x4fed98,_0x559c76)=>{const _0x2008ee=_0x157961;if(_0x4fed98[_0x2008ee(0x348)]!==_0x42e035[_0x2008ee(0x302)][_0x2008ee(0x55e)]||_0x559c76!=null&&_0x559c76[_0x2008ee(0x597)]||_0x559c76!=null&&_0x559c76[_0x2008ee(0x344)])return;const _0x42d5bc=_0x4fed98[_0x2008ee(0x44a)];if((_0x42d5bc==null?void 0x0:_0x42d5bc[_0x2008ee(0x222)])!==this[_0x2008ee(0x3a4)])return;const _0x5adfb2=_0x4fed98,_0x178cc7=this[_0x2008ee(0x252)]['interceptor'][_0x2008ee(0x4cf)](this['_compressMutationService'][_0x2008ee(0x35e)][_0x2008ee(0x356)]()['COMPRESS_MUTATION_SEND'])([_0x5adfb2],null)||[_0x5adfb2];this[_0x2008ee(0x4e1)](_0x178cc7[0x0]);})),_0x342804;}},_0x119e5f[_0x2a4c41(0x324)]=_0x2de724([_0x5782a4(0x3,_0x42e035['Inject'](_0x42e035[_0x2a4c41(0x2bf)])),_0x5782a4(0x4,_0x42e035[_0x2a4c41(0x29d)](_0x119e5f[_0x2a4c41(0x36c)])),_0x5782a4(0x5,_0x42e035[_0x2a4c41(0x29d)](_0x1a2c53[_0x2a4c41(0x43c)])),_0x5782a4(0x6,_0x42e035[_0x2a4c41(0x29d)](_0x42e035[_0x2a4c41(0x39c)])),_0x5782a4(0x7,_0x42e035[_0x2a4c41(0x29d)](_0x1a2c53['RevisionService'])),_0x5782a4(0x8,_0x42e035[_0x2a4c41(0x29d)](_0x17ff71)),_0x5782a4(0x9,_0x42e035[_0x2a4c41(0x5ae)]),_0x5782a4(0xa,_0x42e035[_0x2a4c41(0x219)]),_0x5782a4(0xb,_0x576301[_0x2a4c41(0x214)]),_0x5782a4(0xc,_0x42e035[_0x2a4c41(0x378)]),_0x5782a4(0xd,_0x42e035[_0x2a4c41(0x569)](_0x506d1b))],_0x119e5f['SheetCollaborationEntity']);var _0x4f39d2=Object[_0x2a4c41(0x38e)],_0x1c3eb6=Object[_0x2a4c41(0x317)],_0x106f6e=(_0x9612ad,_0x4b8c1d,_0x4b9d7f,_0x3763e4)=>{const _0x28a168=_0x2a4c41;for(var _0x45aae0=_0x3763e4>0x1?void 0x0:_0x3763e4?_0x1c3eb6(_0x4b8c1d,_0x4b9d7f):_0x4b8c1d,_0x2e841c=_0x9612ad[_0x28a168(0x250)]-0x1,_0x41d40f;_0x2e841c>=0x0;_0x2e841c--)(_0x41d40f=_0x9612ad[_0x2e841c])&&(_0x45aae0=(_0x3763e4?_0x41d40f(_0x4b8c1d,_0x4b9d7f,_0x45aae0):_0x41d40f(_0x45aae0))||_0x45aae0);return _0x3763e4&&_0x45aae0&&_0x4f39d2(_0x4b8c1d,_0x4b9d7f,_0x45aae0),_0x45aae0;},_0x3b3a19=(_0x262d10,_0x32a7a2)=>(_0x40b6b6,_0x362b68)=>_0x32a7a2(_0x40b6b6,_0x362b68,_0x262d10);_0x119e5f[_0x2a4c41(0x284)]=class extends _0x42e035[_0x2a4c41(0x43e)]{constructor(_0x12e970,_0x57acf6,_0x468c99){const _0x140f66=_0x2a4c41;super(),_0x3a0856(this,'_entities',new Map()),_0x3a0856(this,_0x140f66(0x530),new _0x40c8d9['Subject']()),(this[_0x140f66(0x1a2)]=_0x12e970,this[_0x140f66(0x2a5)]=_0x57acf6,this[_0x140f66(0x3b9)]=_0x468c99,this[_0x140f66(0x40a)]());}[_0x2a4c41(0x4f9)](){const _0x4929f3=_0x2a4c41;super[_0x4929f3(0x4f9)](),this[_0x4929f3(0x2fe)][_0x4929f3(0x3f5)](_0x1f472f=>_0x1f472f[_0x4929f3(0x4f9)]()),this[_0x4929f3(0x2fe)][_0x4929f3(0x3a7)]();}['getCollabEntity'](_0x55388f){const _0x1ab2e2=_0x2a4c41;var _0x22a6a6;return(_0x22a6a6=this[_0x1ab2e2(0x2fe)][_0x1ab2e2(0x3ae)](_0x55388f))!=null?_0x22a6a6:null;}[_0x2a4c41(0x4bb)](_0x2af407){const _0x3b1346=_0x2a4c41,_0x107fad=this[_0x3b1346(0x47d)](_0x2af407);return _0x107fad?_0x40c8d9['of'](_0x107fad):this['_entityInit$'][_0x3b1346(0x4b4)](_0xfd004d['filter'](_0x19f29e=>_0x19f29e[_0x3b1346(0x3a4)]===_0x2af407));}['_init'](){const _0x2c5040=_0x2a4c41;this[_0x2c5040(0x3b9)][_0x2c5040(0x26d)](_0x42e035['UniverInstanceType'][_0x2c5040(0x56a)])[_0x2c5040(0x4b4)](_0x40c8d9[_0x2c5040(0x1ed)](this['dispose$']),_0xfd004d[_0x2c5040(0x254)](0x10))[_0x2c5040(0x543)](async _0x4f977b=>{const _0x4a2136=_0x2c5040,_0x5d51d7=_0x4f977b[_0x4a2136(0x506)](),_0x4254d2=await this[_0x4a2136(0x3a9)](_0x5d51d7,_0x2a3e17[_0x4a2136(0x56a)]);this[_0x4a2136(0x2fe)][_0x4a2136(0x1c0)](_0x5d51d7,_0x4254d2);}),this[_0x2c5040(0x3b9)][_0x2c5040(0x26d)](_0x42e035['UniverInstanceType']['UNIVER_DOC'])[_0x2c5040(0x4b4)](_0x40c8d9[_0x2c5040(0x1ed)](this['dispose$']),_0xfd004d[_0x2c5040(0x254)](0x10))['pipe'](_0xfd004d['filter'](_0x1fbedc=>!_0x1fbedc[_0x2c5040(0x506)]()[_0x2c5040(0x349)]('__')))[_0x2c5040(0x543)](async _0x466e05=>{const _0x4a5795=_0x2c5040,_0x49b53a=_0x466e05[_0x4a5795(0x506)](),_0x20800b=await this['_startCollaboration'](_0x49b53a,_0x2a3e17[_0x4a5795(0x441)]);this[_0x4a5795(0x2fe)]['set'](_0x49b53a,_0x20800b);}),_0x40c8d9[_0x2c5040(0x1fe)](this[_0x2c5040(0x3b9)][_0x2c5040(0x5a5)](_0x42e035[_0x2c5040(0x373)][_0x2c5040(0x56a)]),this[_0x2c5040(0x3b9)][_0x2c5040(0x5a5)](_0x42e035[_0x2c5040(0x373)][_0x2c5040(0x441)]))[_0x2c5040(0x4b4)](_0x40c8d9[_0x2c5040(0x1ed)](this[_0x2c5040(0x311)]))[_0x2c5040(0x543)](_0x5d414a=>{const _0x2ecc36=_0x2c5040,_0xbc8eb1=_0x5d414a[_0x2ecc36(0x506)](),_0x791c63=this[_0x2ecc36(0x2fe)][_0x2ecc36(0x3ae)](_0xbc8eb1);_0x791c63&&(_0x791c63['dispose'](),this[_0x2ecc36(0x2fe)][_0x2ecc36(0x536)](_0xbc8eb1));});}async[_0x2a4c41(0x3a9)](_0x31df38,_0x148897){const _0x33d7d9=_0x2a4c41,_0x5b46ea=await this[_0x33d7d9(0x2a5)][_0x33d7d9(0x532)](_0x31df38),_0x3f0a54=this[_0x33d7d9(0x1a2)][_0x33d7d9(0x2fd)](this[_0x33d7d9(0x2d2)](_0x148897),_0x31df38,_0x148897,_0x5b46ea);return await _0x3f0a54['init'](),this[_0x33d7d9(0x530)][_0x33d7d9(0x380)](_0x3f0a54),_0x3f0a54;}[_0x2a4c41(0x2d2)](_0x190f47){const _0x251822=_0x2a4c41;switch(_0x190f47){case _0x2a3e17[_0x251822(0x441)]:return _0x119e5f[_0x251822(0x4a1)];case _0x2a3e17['UNIVER_SHEET']:return _0x119e5f[_0x251822(0x324)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x190f47);}}},_0x119e5f['CollaborationController']=_0x106f6e([_0x3b3a19(0x0,_0x42e035[_0x2a4c41(0x29d)](_0x42e035[_0x2a4c41(0x2bf)])),_0x3b3a19(0x1,_0x42e035[_0x2a4c41(0x29d)](_0x119e5f['CollaborationSessionService'])),_0x3b3a19(0x2,_0x42e035[_0x2a4c41(0x281)])],_0x119e5f['CollaborationController']);const _0x127722=[_0x2a4c41(0x1fd),'jiqing500',_0x2a4c41(0x520),_0x2a4c41(0x400),_0x2a4c41(0x58e),'gold400'];class _0x23d026 extends _0x42e035[_0x2a4c41(0x5ab)]{constructor(){const _0x1f62c4=_0x2a4c41;super(...arguments),_0x3a0856(this,_0x1f62c4(0x282),new Map()),_0x3a0856(this,_0x1f62c4(0x1e9),0x0);}['assignAColorForMemberID'](_0x7f630b){const _0x4da17a=_0x2a4c41;if(this[_0x4da17a(0x282)][_0x4da17a(0x471)](_0x7f630b))return this[_0x4da17a(0x282)][_0x4da17a(0x3ae)](_0x7f630b);const _0x4fb08e=_0x127722[this[_0x4da17a(0x1e9)]];return this['_colorIndex']=(this[_0x4da17a(0x1e9)]+0x1)%_0x127722[_0x4da17a(0x250)],this[_0x4da17a(0x282)][_0x4da17a(0x1c0)](_0x7f630b,_0x4fb08e),_0x4fb08e;}}var _0x2834bb=Object[_0x2a4c41(0x38e)],_0x1a4565=Object[_0x2a4c41(0x317)],_0x1215bc=(_0x3574ab,_0x86e120,_0xcefea5,_0xb853a6)=>{const _0x2b59f8=_0x2a4c41;for(var _0x4d757d=_0xb853a6>0x1?void 0x0:_0xb853a6?_0x1a4565(_0x86e120,_0xcefea5):_0x86e120,_0x3c84f1=_0x3574ab[_0x2b59f8(0x250)]-0x1,_0x25d6a8;_0x3c84f1>=0x0;_0x3c84f1--)(_0x25d6a8=_0x3574ab[_0x3c84f1])&&(_0x4d757d=(_0xb853a6?_0x25d6a8(_0x86e120,_0xcefea5,_0x4d757d):_0x25d6a8(_0x4d757d))||_0x4d757d);return _0xb853a6&&_0x4d757d&&_0x2834bb(_0x86e120,_0xcefea5,_0x4d757d),_0x4d757d;},_0x5642e3=(_0x4b88a5,_0x4a499d)=>(_0x25a8f1,_0xf53021)=>_0x4a499d(_0x25a8f1,_0xf53021,_0x4b88a5);const _0x4642be=0x12c,_0x2f5edc=0x64;let _0x213548=class extends _0x42e035[_0x2a4c41(0x43e)]{constructor(_0x30e786,_0x5f0132,_0x3866f1,_0x12f6be,_0x50a0b3,_0x1fe987,_0x241231,_0x5b35fe,_0x30cd6b){const _0x455e72=_0x2a4c41;super(),_0x3a0856(this,_0x455e72(0x291),!0x1),_0x3a0856(this,'_init',!0x1),_0x3a0856(this,_0x455e72(0x413),new _0x40c8d9[(_0x455e72(0x54d))](new Map())),_0x3a0856(this,_0x455e72(0x2a4),this[_0x455e72(0x413)][_0x455e72(0x2dd)]()),_0x3a0856(this,_0x455e72(0x218),new _0x40c8d9[(_0x455e72(0x54d))]([])),_0x3a0856(this,_0x455e72(0x45d),this[_0x455e72(0x218)][_0x455e72(0x4b4)](_0x40c8d9['debounceTime'](_0x4642be))),_0x3a0856(this,_0x455e72(0x42e),_0x42e035[_0x455e72(0x3ad)](_0x1158ca=>{const _0x2c0722=_0x455e72,_0x40d30e={'eventID':_0x1a2c53[_0x2c0722(0x292)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x2058ed(_0x1158ca)}};this['_session'][_0x2c0722(0x212)](_0x40d30e,this[_0x2c0722(0x3a4)]);},_0x2f5edc)),(this[_0x455e72(0x3a4)]=_0x30e786,this[_0x455e72(0x53e)]=_0x5f0132,this[_0x455e72(0x1a2)]=_0x3866f1,this[_0x455e72(0x3b4)]=_0x12f6be,this[_0x455e72(0x534)]=_0x50a0b3,this[_0x455e72(0x273)]=_0x1fe987,this['_transformService']=_0x241231,this[_0x455e72(0x3b9)]=_0x5b35fe,this[_0x455e72(0x369)]=_0x30cd6b);}get[_0x2a4c41(0x296)](){const _0x37b768=_0x2a4c41;return this['_cursorInfo$'][_0x37b768(0x37f)]();}get[_0x2a4c41(0x26b)](){const _0x259fb4=_0x2a4c41;return this[_0x259fb4(0x218)][_0x259fb4(0x37f)]();}[_0x2a4c41(0x4f9)](){const _0x4edcd9=_0x2a4c41;super['dispose'](),this['_cursorInfo$'][_0x4edcd9(0x380)](new Map()),this['_cursorInfo$'][_0x4edcd9(0x523)](),this['_roomMembers$'][_0x4edcd9(0x380)]([]),this[_0x4edcd9(0x218)][_0x4edcd9(0x523)]();}[_0x2a4c41(0x223)](){const _0x37a621=_0x2a4c41;this[_0x37a621(0x40a)]||(this[_0x37a621(0x40a)]=!0x0,this[_0x37a621(0x53e)][_0x37a621(0x587)][_0x37a621(0x4b4)](_0x40c8d9['takeUntil'](this[_0x37a621(0x311)]))['subscribe'](_0x18e903=>{const _0xbdcda0=_0x37a621;_0x18e903===_0x4246bc[_0xbdcda0(0x424)]?this[_0xbdcda0(0x54a)]():this[_0xbdcda0(0x4ef)]();}),this[_0x37a621(0x53e)][_0x37a621(0x239)]['pipe'](_0x40c8d9[_0x37a621(0x1ed)](this[_0x37a621(0x311)]))['subscribe'](_0x218f99=>{const _0x2bb484=_0x37a621,_0x2afbc0=_0x218f99[_0x2bb484(0x36d)];_0x2afbc0===_0x1a2c53[_0x2bb484(0x292)][_0x2bb484(0x383)]&&this[_0x2bb484(0x393)](_0x218f99),_0x2afbc0===_0x1a2c53[_0x2bb484(0x292)][_0x2bb484(0x1ba)]&&this[_0x2bb484(0x502)](_0x218f99);}),this[_0x37a621(0x594)](this['_commandService'][_0x37a621(0x5d4)](_0x34d1a0=>{const _0x366b50=_0x37a621,_0x5b25f1=_0x34d1a0[_0x366b50(0x44a)];_0x5b25f1!=null&&this[_0x366b50(0x291)]&&_0x34d1a0['id']===_0x50c98c[_0x366b50(0x304)]['id']&&_0x5b25f1[_0x366b50(0x222)]===this[_0x366b50(0x3a4)]&&_0x5b25f1['isEditing']===!0x1&&this[_0x366b50(0x42e)](_0x5b25f1[_0x366b50(0x5b0)]);})),this[_0x37a621(0x273)]['collabCursorState$'][_0x37a621(0x4b4)](_0x40c8d9['takeUntil'](this[_0x37a621(0x311)]))['subscribe'](_0x4fadba=>{const _0x116284=_0x37a621;if((_0x4fadba==null?void 0x0:_0x4fadba[_0x116284(0x3a4)])!==this[_0x116284(0x3a4)])return;const _0x5e5848={'eventID':_0x1a2c53[_0x116284(0x292)][_0x116284(0x383)],'data':_0x4fadba};this[_0x116284(0x393)](_0x5e5848);}),this[_0x37a621(0x594)](this[_0x37a621(0x369)][_0x37a621(0x5d4)](_0x15f988=>{const _0x490b0f=_0x37a621;if(_0x15f988['params']==null)return;const _0x27940f=_0x15f988[_0x490b0f(0x44a)];if(_0x15f988['id']!==_0x50c98c[_0x490b0f(0x5b1)]['id']||_0x27940f['unitId']!==this[_0x490b0f(0x3a4)])return;const _0x3a88e5={'id':_0x490b0f(0x50e),'params':_0x27940f},_0x3fde10=this[_0x490b0f(0x296)];for(const [_0x15f1a3,_0x31f70f]of _0x3fde10){const _0x5ab161={'id':_0x490b0f(0x50e),'params':{'unitId':this[_0x490b0f(0x3a4)],'actions':null,'textRanges':_0x31f70f['ranges']}},_0x374ab9=this[_0x490b0f(0x421)][_0x490b0f(0x1e6)](_0x3a88e5,_0x5ab161,!0x1);if(_0x1a2c53[_0x490b0f(0x203)](_0x374ab9))throw _0x374ab9['error'];_0x3fde10[_0x490b0f(0x1c0)](_0x15f1a3,{..._0x31f70f,'ranges':_0x374ab9[_0x490b0f(0x492)][_0x490b0f(0x44a)][_0x490b0f(0x298)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x3fde10);});})));}[_0x2a4c41(0x393)](_0x36640e){const _0x1ab07f=_0x2a4c41;var _0x5db854,_0x56858e;const {memberID:_0x2576ea,selection:_0x4f61a0}=_0x36640e[_0x1ab07f(0x5c8)],_0x271103=_0x2f3f46(_0x4f61a0),_0x525889=(_0x56858e=(_0x5db854=this[_0x1ab07f(0x534)][_0x1ab07f(0x3bd)](this['unitID'],_0x2576ea))==null?void 0x0:_0x5db854[_0x1ab07f(0x362)])!=null?_0x56858e:'Unknown\x20user',_0x457f03={'color':this[_0x1ab07f(0x3b4)][_0x1ab07f(0x4a7)](_0x2576ea),'name':_0x525889,'ranges':_0x271103},_0x462771=this[_0x1ab07f(0x296)];_0x462771[_0x1ab07f(0x1c0)](_0x2576ea,_0x457f03),this['_cursorInfo$'][_0x1ab07f(0x380)](_0x462771);}[_0x2a4c41(0x502)](_0x4b1019){const _0x5afeee=_0x2a4c41,{memberID:_0x34e599}=_0x4b1019[_0x5afeee(0x5c8)],_0xef09a6=this['cursorInfo'];_0xef09a6[_0x5afeee(0x536)](_0x34e599),this['_cursorInfo$'][_0x5afeee(0x380)](_0xef09a6);}[_0x2a4c41(0x54a)](){const _0x9fed30=_0x2a4c41;var _0x5620ba;if(this['_online']=!0x0,((_0x5620ba=this['_univerInstanceService'][_0x9fed30(0x5ce)]())==null?void 0x0:_0x5620ba[_0x9fed30(0x506)]())!==this['unitID'])return;const _0x357552=this[_0x9fed30(0x1a2)][_0x9fed30(0x3ae)](_0x50c98c[_0x9fed30(0x4e3)])[_0x9fed30(0x4b0)]();Array[_0x9fed30(0x1a8)](_0x357552)&&_0x357552[_0x9fed30(0x250)]>0x0&&this[_0x9fed30(0x42e)](_0x357552);}['_toggleOffline'](){const _0x25a993=_0x2a4c41;this[_0x25a993(0x291)]=!0x1;}};_0x213548=_0x1215bc([_0x5642e3(0x2,_0x42e035[_0x2a4c41(0x29d)](_0x42e035[_0x2a4c41(0x2bf)])),_0x5642e3(0x3,_0x42e035[_0x2a4c41(0x29d)](_0x23d026)),_0x5642e3(0x4,_0x42e035[_0x2a4c41(0x29d)](_0x4c4596)),_0x5642e3(0x5,_0x42e035['Inject'](_0x293121)),_0x5642e3(0x6,_0x1a2c53[_0x2a4c41(0x41f)]),_0x5642e3(0x7,_0x42e035[_0x2a4c41(0x281)]),_0x5642e3(0x8,_0x42e035[_0x2a4c41(0x219)])],_0x213548);var _0x20d2b9=Object[_0x2a4c41(0x38e)],_0x407b7a=Object[_0x2a4c41(0x317)],_0x46c629=(_0x438127,_0xe700f,_0x833f68,_0xbf2ce8)=>{for(var _0x3e7eae=_0xbf2ce8>0x1?void 0x0:_0xbf2ce8?_0x407b7a(_0xe700f,_0x833f68):_0xe700f,_0x4ec832=_0x438127['length']-0x1,_0x4d1d5f;_0x4ec832>=0x0;_0x4ec832--)(_0x4d1d5f=_0x438127[_0x4ec832])&&(_0x3e7eae=(_0xbf2ce8?_0x4d1d5f(_0xe700f,_0x833f68,_0x3e7eae):_0x4d1d5f(_0x3e7eae))||_0x3e7eae);return _0xbf2ce8&&_0x3e7eae&&_0x20d2b9(_0xe700f,_0x833f68,_0x3e7eae),_0x3e7eae;},_0x3f253a=(_0x47dd97,_0xcf57a4)=>(_0x36a4da,_0x32b521)=>_0xcf57a4(_0x36a4da,_0x32b521,_0x47dd97);const _0x2006a7=0x12c,_0x3872c0=0x64,_0x416618=()=>{let _0x578123=[],_0x50979e=!0x1;return _0x3403e0=>{const _0x5e1c6d=_0x5025;_0x578123[_0x5e1c6d(0x408)](_0x3403e0),_0x50979e||(_0x50979e=!0x0,setTimeout(()=>{_0x578123['forEach'](_0x2b67ed=>_0x2b67ed()),_0x578123=[],_0x50979e=!0x1;}));};};let _0x116aaa=class extends _0x42e035[_0x2a4c41(0x43e)]{constructor(_0xf3572a,_0xb4e4e6,_0x2c38fd,_0x3c8ff7,_0x4977c5,_0x117996,_0x449948,_0x35ab18){const _0x1c6aa0=_0x2a4c41;super(),_0x3a0856(this,'_online',!0x1),_0x3a0856(this,_0x1c6aa0(0x40a),!0x1),_0x3a0856(this,_0x1c6aa0(0x413),new _0x40c8d9[(_0x1c6aa0(0x54d))](new Map())),_0x3a0856(this,_0x1c6aa0(0x2a4),this[_0x1c6aa0(0x413)][_0x1c6aa0(0x2dd)]()),_0x3a0856(this,_0x1c6aa0(0x218),new _0x40c8d9[(_0x1c6aa0(0x54d))]([])),_0x3a0856(this,_0x1c6aa0(0x45d),this[_0x1c6aa0(0x218)][_0x1c6aa0(0x4b4)](_0x40c8d9[_0x1c6aa0(0x484)](_0x2006a7))),_0x3a0856(this,'_updateLocalCursor',_0x42e035['debounce']((_0x58569d,_0x522e26)=>{const _0x28f0a6=_0x1c6aa0,_0x117447={'eventID':_0x1a2c53['CollaborationEvent'][_0x28f0a6(0x383)],'data':{'unitID':this[_0x28f0a6(0x3a4)],'memberID':this['_session'][_0x28f0a6(0x4f1)](),'selection':_0x4f7175[_0x28f0a6(0x538)](_0x58569d,_0x522e26['range'])}};this['_session'][_0x28f0a6(0x212)](_0x117447,this['unitID']);},_0x3872c0)),(this[_0x1c6aa0(0x3a4)]=_0xf3572a,this[_0x1c6aa0(0x53e)]=_0xb4e4e6,this[_0x1c6aa0(0x1a2)]=_0x2c38fd,this[_0x1c6aa0(0x3b4)]=_0x3c8ff7,this[_0x1c6aa0(0x534)]=_0x4977c5,this[_0x1c6aa0(0x3b9)]=_0x117996,this['_commandService']=_0x449948,this['_refRangeService']=_0x35ab18);}get[_0x2a4c41(0x296)](){const _0x1e16aa=_0x2a4c41;return this['_cursorInfo$'][_0x1e16aa(0x37f)]();}get[_0x2a4c41(0x26b)](){const _0x369ac7=_0x2a4c41;return this[_0x369ac7(0x218)]['getValue']();}[_0x2a4c41(0x4f9)](){const _0x3b73fc=_0x2a4c41;super[_0x3b73fc(0x4f9)](),this[_0x3b73fc(0x413)]['next'](new Map()),this[_0x3b73fc(0x413)]['complete'](),this[_0x3b73fc(0x218)][_0x3b73fc(0x380)]([]),this['_roomMembers$']['complete']();}[_0x2a4c41(0x223)](){const _0xb25fa9=_0x2a4c41;this[_0xb25fa9(0x40a)]||(this['_init']=!0x0,this[_0xb25fa9(0x53e)]['sessionStatus$'][_0xb25fa9(0x4b4)](_0x40c8d9[_0xb25fa9(0x1ed)](this[_0xb25fa9(0x311)]))[_0xb25fa9(0x543)](_0x2f7ee1=>{const _0x415a8a=_0xb25fa9;_0x2f7ee1===_0x4246bc['ONLINE']?this['_toggleOnline']():this[_0x415a8a(0x4ef)]();}),this[_0xb25fa9(0x53e)][_0xb25fa9(0x239)]['pipe'](_0x40c8d9['takeUntil'](this[_0xb25fa9(0x311)]))['subscribe'](_0x281c39=>{const _0x5a00d0=_0xb25fa9,_0x4120e6=_0x281c39[_0x5a00d0(0x36d)];_0x4120e6===_0x1a2c53['CollaborationEvent'][_0x5a00d0(0x383)]&&this['_onCursorUpdate'](_0x281c39),_0x4120e6===_0x1a2c53['CollaborationEvent'][_0x5a00d0(0x1ba)]&&this[_0x5a00d0(0x502)](_0x281c39);}),this[_0xb25fa9(0x3b1)](),this['disposeWithMe'](this['_commandService'][_0xb25fa9(0x5d4)](_0x15c22c=>{const _0x30ff9e=_0xb25fa9;if(this[_0x30ff9e(0x291)]&&_0x15c22c['id']===_0x2d44ec[_0x30ff9e(0x44b)]['id']&&_0x15c22c[_0x30ff9e(0x44a)]['unitId']===this[_0x30ff9e(0x3a4)]){const _0x393d78=_0x15c22c[_0x30ff9e(0x44a)];this[_0x30ff9e(0x42e)](_0x393d78[_0x30ff9e(0x277)],_0x393d78[_0x30ff9e(0x4dc)][0x0]);}})));}['_onCursorUpdate'](_0x4a1727){const _0x297a57=_0x2a4c41;var _0x4a9997,_0xebdcff;const {memberID:_0x3efce5,selection:_0x6540bb}=_0x4a1727[_0x297a57(0x5c8)],{sheetName:_0x31290d,range:_0x206742}=_0x4f7175[_0x297a57(0x1af)](_0x6540bb),_0x14d281={'name':(_0xebdcff=(_0x4a9997=this[_0x297a57(0x534)][_0x297a57(0x3bd)](this[_0x297a57(0x3a4)],_0x3efce5))==null?void 0x0:_0x4a9997[_0x297a57(0x362)])!=null?_0xebdcff:'Unknown\x20user','range':this[_0x297a57(0x325)](_0x31290d,_0x206742),'sheetID':_0x31290d,'color':this[_0x297a57(0x3b4)][_0x297a57(0x4a7)](_0x3efce5),'selection':_0x6540bb},_0x18f129=this[_0x297a57(0x296)];_0x18f129[_0x297a57(0x1c0)](_0x3efce5,_0x14d281),this[_0x297a57(0x413)][_0x297a57(0x380)](_0x18f129);}[_0x2a4c41(0x502)](_0x13e086){const _0x340920=_0x2a4c41,{memberID:_0x52f2a2}=_0x13e086['data'],_0x3cf627=this[_0x340920(0x296)];_0x3cf627[_0x340920(0x536)](_0x52f2a2),this[_0x340920(0x413)][_0x340920(0x380)](_0x3cf627);}[_0x2a4c41(0x325)](_0x1c61ef,_0x2cf6a6){const _0x3e660e=_0x2a4c41;var _0x2867c2,_0x2a5f8c;const _0x1c869c=(_0x2a5f8c=(_0x2867c2=this['_univerInstanceService'][_0x3e660e(0x2ce)](this[_0x3e660e(0x3a4)]))==null?void 0x0:_0x2867c2[_0x3e660e(0x463)](_0x1c61ef))==null?void 0x0:_0x2a5f8c['getMergeData']();return(_0x1c869c==null?void 0x0:_0x1c869c[_0x3e660e(0x4fc)](_0xbbd5b4=>_0x42e035['Rectangle'][_0x3e660e(0x444)](_0xbbd5b4,_0x2cf6a6)))||_0x2cf6a6;}[_0x2a4c41(0x3b1)](){const _0x2d3cca=_0x2a4c41,_0x15fb56=new _0x42e035[(_0x2d3cca(0x5d7))](),_0x45093b=_0x416618(),_0x2b2d43=()=>{_0x15fb56['dispose']();const _0x25c924=(_0x3e1085,_0x5eba33,_0x4c63ee,_0x11623f)=>{const _0x5b0ffb=_0x5025;let _0x349575=[];switch(_0x3e1085['id']){case _0x2d44ec[_0x5b0ffb(0x1dd)][_0x5b0ffb(0x266)]:{_0x349575=_0x2d44ec[_0x5b0ffb(0x46d)](_0x3e1085,_0x11623f);break;}case _0x2d44ec[_0x5b0ffb(0x1dd)][_0x5b0ffb(0x2ac)]:{_0x349575=_0x2d44ec['handleDeleteRangeMoveUp'](_0x3e1085,_0x11623f);break;}case _0x2d44ec[_0x5b0ffb(0x1dd)][_0x5b0ffb(0x48e)]:{_0x349575=_0x2d44ec['handleInsertCol'](_0x3e1085,_0x11623f);break;}case _0x2d44ec['EffectRefRangId'][_0x5b0ffb(0x34e)]:{_0x349575=_0x2d44ec[_0x5b0ffb(0x479)](_0x3e1085,_0x11623f);break;}case _0x2d44ec[_0x5b0ffb(0x1dd)][_0x5b0ffb(0x1ab)]:{_0x349575=_0x2d44ec['handleInsertRangeMoveRight'](_0x3e1085,_0x11623f);break;}case _0x2d44ec[_0x5b0ffb(0x1dd)][_0x5b0ffb(0x38d)]:{_0x349575=_0x2d44ec[_0x5b0ffb(0x4ae)](_0x3e1085,_0x11623f);break;}case _0x2d44ec[_0x5b0ffb(0x1dd)]['MoveRangeCommandId']:{_0x349575=_0x2d44ec[_0x5b0ffb(0x54b)](_0x3e1085,_0x11623f);break;}case _0x2d44ec[_0x5b0ffb(0x1dd)][_0x5b0ffb(0x540)]:{_0x349575=_0x2d44ec['handleIRemoveCol'](_0x3e1085,_0x11623f);break;}case _0x2d44ec['EffectRefRangId'][_0x5b0ffb(0x499)]:{_0x349575=_0x2d44ec[_0x5b0ffb(0x3ed)](_0x3e1085,_0x11623f);break;}}const _0x491032=_0x2d44ec[_0x5b0ffb(0x55a)](_0x349575,_0x11623f),_0x4106b8=this[_0x5b0ffb(0x296)][_0x5b0ffb(0x3ae)](_0x5eba33);if(_0x4106b8&&_0x491032){const _0x4a5ad8={..._0x4106b8,'range':_0x491032};this[_0x5b0ffb(0x296)][_0x5b0ffb(0x1c0)](_0x5eba33,_0x4a5ad8),_0x45093b(()=>{const _0x3c2d27=_0x5b0ffb,_0x588335=this[_0x3c2d27(0x51e)]['registerRefRange'](_0x491032,_0x24bd24=>(_0x588335[_0x3c2d27(0x4f9)](),_0x25c924(_0x24bd24,_0x5eba33,_0x4c63ee,_0x491032)));_0x15fb56['add'](_0x588335);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x4d8e8d,_0x473d7f)=>{const _0x4a8deb=_0x5025,{range:_0x26ce75,sheetID:_0x31138e}=_0x4d8e8d,_0x2fa529=this[_0x4a8deb(0x51e)][_0x4a8deb(0x22f)](_0x26ce75,_0x4c54f1=>(_0x2fa529['dispose'](),_0x25c924(_0x4c54f1,_0x473d7f,_0x31138e,_0x26ce75)));_0x15fb56[_0x4a8deb(0x1ca)](_0x2fa529);});};this[_0x2d3cca(0x594)](_0x42e035[_0x2d3cca(0x4b5)](this[_0x2d3cca(0x413)][_0x2d3cca(0x543)](()=>{_0x2b2d43();})));}['_toggleOnline'](){const _0x515176=_0x2a4c41;var _0x50a77e,_0x5b5395;if(this[_0x515176(0x291)]=!0x0,((_0x50a77e=this[_0x515176(0x3b9)][_0x515176(0x5ce)]())==null?void 0x0:_0x50a77e[_0x515176(0x506)]())!==this[_0x515176(0x3a4)])return;const _0x4a80a0=(_0x5b5395=this['_injector'][_0x515176(0x3ae)](_0x2d44ec[_0x515176(0x3bf)])[_0x515176(0x242)]())==null?void 0x0:_0x5b5395[0x0],_0x2fb69e=this[_0x515176(0x3b9)]['getCurrentUnitForType'](_0x42e035[_0x515176(0x373)][_0x515176(0x56a)])[_0x515176(0x531)]();_0x4a80a0&&_0x2fb69e&&this[_0x515176(0x42e)](_0x2fb69e[_0x515176(0x4d0)](),_0x4a80a0);}[_0x2a4c41(0x4ef)](){const _0xca7d=_0x2a4c41;this[_0xca7d(0x291)]=!0x1;}};_0x116aaa=_0x46c629([_0x3f253a(0x2,_0x42e035['Inject'](_0x42e035['Injector'])),_0x3f253a(0x3,_0x42e035['Inject'](_0x23d026)),_0x3f253a(0x4,_0x42e035['Inject'](_0x4c4596)),_0x3f253a(0x5,_0x42e035['IUniverInstanceService']),_0x3f253a(0x6,_0x42e035['ICommandService']),_0x3f253a(0x7,_0x42e035[_0x2a4c41(0x29d)](_0x2d44ec['RefRangeService']))],_0x116aaa);var _0x568789=Object[_0x2a4c41(0x38e)],_0x129a47=Object[_0x2a4c41(0x317)],_0x4eac51=(_0x2830d5,_0x1eae2a,_0x24588b,_0x462321)=>{const _0x33eef3=_0x2a4c41;for(var _0x6e7cb4=_0x462321>0x1?void 0x0:_0x462321?_0x129a47(_0x1eae2a,_0x24588b):_0x1eae2a,_0x4bd138=_0x2830d5[_0x33eef3(0x250)]-0x1,_0x9aa1f3;_0x4bd138>=0x0;_0x4bd138--)(_0x9aa1f3=_0x2830d5[_0x4bd138])&&(_0x6e7cb4=(_0x462321?_0x9aa1f3(_0x1eae2a,_0x24588b,_0x6e7cb4):_0x9aa1f3(_0x6e7cb4))||_0x6e7cb4);return _0x462321&&_0x6e7cb4&&_0x568789(_0x1eae2a,_0x24588b,_0x6e7cb4),_0x6e7cb4;},_0x299bba=(_0x1a1e55,_0xb6597)=>(_0x91a4a7,_0x43d200)=>_0xb6597(_0x91a4a7,_0x43d200,_0x1a1e55);let _0x16fe18=class extends _0x42e035[_0x2a4c41(0x43e)]{constructor(_0x3e4410,_0x3b6bc7,_0x2ed6f4){const _0x4a2991=_0x2a4c41;super(),_0x3a0856(this,'_entities',new Map()),_0x3a0856(this,_0x4a2991(0x530),new _0x40c8d9['Subject']()),(this[_0x4a2991(0x3b9)]=_0x3e4410,this[_0x4a2991(0x1a2)]=_0x3b6bc7,this[_0x4a2991(0x2a5)]=_0x2ed6f4,this[_0x4a2991(0x40a)]());}[_0x2a4c41(0x4f9)](){const _0x3c363d=_0x2a4c41;super[_0x3c363d(0x4f9)](),this[_0x3c363d(0x530)][_0x3c363d(0x523)](),this[_0x3c363d(0x2fe)][_0x3c363d(0x3f5)](_0xe1560d=>_0xe1560d[_0x3c363d(0x4f9)]());}[_0x2a4c41(0x2f6)](_0xee0769){const _0x4df272=_0x2a4c41;return this[_0x4df272(0x2fe)][_0x4df272(0x471)](_0xee0769)?this[_0x4df272(0x2fe)][_0x4df272(0x3ae)](_0xee0769)[_0x4df272(0x2a4)]:this['_entityInit$'][_0x4df272(0x4b4)](_0x40c8d9[_0x4df272(0x45c)](_0x2f7a84=>_0x2f7a84[_0x4df272(0x3a4)]===_0xee0769),_0x40c8d9[_0x4df272(0x57b)](_0x264047=>_0x264047[_0x4df272(0x2a4)]));}['_init'](){const _0x4341f7=_0x2a4c41;this['_univerInstanceService'][_0x4341f7(0x26d)](_0x42e035[_0x4341f7(0x373)]['UNIVER_SHEET'])[_0x4341f7(0x4b4)](_0x40c8d9[_0x4341f7(0x1ed)](this[_0x4341f7(0x311)]))[_0x4341f7(0x543)](async _0x362254=>{const _0xce6848=_0x4341f7,_0x493b16=_0x362254[_0xce6848(0x506)](),_0x28cde0=await this['_startSheetCollabCursor'](_0x493b16);this[_0xce6848(0x530)][_0xce6848(0x380)](_0x28cde0),this[_0xce6848(0x2fe)][_0xce6848(0x1c0)](_0x493b16,_0x28cde0);}),this[_0x4341f7(0x3b9)][_0x4341f7(0x26d)](_0x42e035[_0x4341f7(0x373)][_0x4341f7(0x441)])['pipe'](_0x40c8d9[_0x4341f7(0x1ed)](this[_0x4341f7(0x311)]))[_0x4341f7(0x4b4)](_0x40c8d9[_0x4341f7(0x45c)](_0x810268=>!_0x810268[_0x4341f7(0x506)]()[_0x4341f7(0x349)]('__')))['subscribe'](async _0x2d7488=>{const _0x317284=_0x4341f7,_0x1938e6=_0x2d7488[_0x317284(0x506)](),_0x20a81a=await this[_0x317284(0x49d)](_0x1938e6);this[_0x317284(0x530)][_0x317284(0x380)](_0x20a81a),this['_entities'][_0x317284(0x1c0)](_0x1938e6,_0x20a81a);}),_0x40c8d9[_0x4341f7(0x1fe)](this['_univerInstanceService'][_0x4341f7(0x5a5)](_0x42e035[_0x4341f7(0x373)]['UNIVER_DOC']),this[_0x4341f7(0x3b9)]['getTypeOfUnitDisposed$'](_0x42e035['UniverInstanceType'][_0x4341f7(0x56a)]))[_0x4341f7(0x4b4)](_0x40c8d9[_0x4341f7(0x1ed)](this[_0x4341f7(0x311)]))[_0x4341f7(0x543)](_0x1f3c5b=>{const _0x1df6e5=_0x4341f7,_0x1c1aa1=_0x1f3c5b[_0x1df6e5(0x506)](),_0x5c00fb=this['_entities'][_0x1df6e5(0x3ae)](_0x1c1aa1);_0x5c00fb&&(_0x5c00fb['dispose'](),this[_0x1df6e5(0x2fe)]['delete'](_0x1c1aa1));});}async[_0x2a4c41(0x241)](_0x10b742){const _0x466e8c=_0x2a4c41,_0xe22a0d=await this[_0x466e8c(0x2a5)][_0x466e8c(0x532)](_0x10b742),_0x3c92c0=this[_0x466e8c(0x1a2)][_0x466e8c(0x2fd)](_0x116aaa,_0x10b742,_0xe22a0d);return _0x3c92c0[_0x466e8c(0x223)](),_0x3c92c0;}async[_0x2a4c41(0x49d)](_0xe3b338){const _0x41e18a=_0x2a4c41,_0x4b96c4=await this[_0x41e18a(0x2a5)][_0x41e18a(0x532)](_0xe3b338),_0x120ca2=this[_0x41e18a(0x1a2)][_0x41e18a(0x2fd)](_0x213548,_0xe3b338,_0x4b96c4);return _0x120ca2['init'](),_0x120ca2;}};_0x16fe18=_0x4eac51([_0x299bba(0x0,_0x42e035[_0x2a4c41(0x281)]),_0x299bba(0x1,_0x42e035[_0x2a4c41(0x29d)](_0x42e035[_0x2a4c41(0x2bf)])),_0x299bba(0x2,_0x42e035['Inject'](_0x119e5f[_0x2a4c41(0x56d)]))],_0x16fe18);const _0x327dd2=0x14,_0x57f7d8=0xc8,_0x308b0e=0x4,_0x5ebbd6=0x5;function _0x3937ea(_0x43f3d9,_0x2d9861){const _0x4ed556=_0x2a4c41;let {radius:_0x12c5a1,width:_0x525a81,height:_0xfc37ad}=_0x2d9861;_0x12c5a1=_0x12c5a1!=null?_0x12c5a1:0x0,_0x525a81=_0x525a81!=null?_0x525a81:0x1e,_0xfc37ad=_0xfc37ad!=null?_0xfc37ad:0x1e;let _0x39770c=0x0,_0xc54e9c=0x0,_0x1d506e=0x0;_0x39770c=_0xc54e9c=_0x1d506e=Math['min'](_0x12c5a1,_0x525a81/0x2,_0xfc37ad/0x2),_0x43f3d9[_0x4ed556(0x274)](),_0x43f3d9[_0x4ed556(0x2b7)](_0x39770c,0x0),_0x43f3d9[_0x4ed556(0x205)](_0x525a81-_0xc54e9c,0x0),_0x43f3d9['arc'](_0x525a81-_0xc54e9c,_0xc54e9c,_0xc54e9c,Math['PI']*0x3/0x2,0x0,!0x1),_0x43f3d9[_0x4ed556(0x205)](_0x525a81,_0xfc37ad-_0x1d506e),_0x43f3d9[_0x4ed556(0x561)](_0x525a81-_0x1d506e,_0xfc37ad-_0x1d506e,_0x1d506e,0x0,Math['PI']/0x2,!0x1),_0x43f3d9[_0x4ed556(0x205)](0x0,_0xfc37ad),_0x43f3d9[_0x4ed556(0x205)](0x0,_0x39770c),_0x43f3d9[_0x4ed556(0x561)](_0x39770c,_0x39770c,_0x39770c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x43f3d9[_0x4ed556(0x31d)](),_0x2d9861[_0x4ed556(0x547)]&&(_0x43f3d9[_0x4ed556(0x4e2)](),_0x43f3d9[_0x4ed556(0x258)]=_0x2d9861[_0x4ed556(0x547)],_0x2d9861[_0x4ed556(0x56e)]==='evenodd'?_0x43f3d9[_0x4ed556(0x547)](_0x4ed556(0x448)):_0x43f3d9['fill'](),_0x43f3d9[_0x4ed556(0x382)]());}class _0x26d1ac extends _0x7f7413[_0x2a4c41(0x498)]{constructor(_0x22df23,_0x6c4161){const _0x180eec=_0x2a4c41;super(_0x22df23,_0x6c4161),_0x3a0856(this,_0x180eec(0x3f9)),_0x3a0856(this,_0x180eec(0x3d5)),(this[_0x180eec(0x3f9)]=_0x6c4161==null?void 0x0:_0x6c4161[_0x180eec(0x3f9)],this[_0x180eec(0x3d5)]=_0x6c4161==null?void 0x0:_0x6c4161['text']);}static[_0x2a4c41(0x4fd)](_0x437cba,_0xdc1480){const _0x4fb9af=_0x2a4c41,{text:_0x4c2de0,color:_0x1d2715}=_0xdc1480;_0x437cba[_0x4fb9af(0x4e2)](),_0x437cba['font']=_0x4fb9af(0x512);const _0x52448c=_0x437cba[_0x4fb9af(0x309)](_0x4c2de0)[_0x4fb9af(0x450)],_0x580b1f=Math['min'](_0x52448c+0x2*_0x308b0e,_0x57f7d8);_0x3937ea(_0x437cba,{'height':_0x327dd2,'radius':0x4,'width':_0x580b1f,'fill':_0x1d2715,'evented':!0x1}),_0x437cba[_0x4fb9af(0x258)]=_0x4fb9af(0x21c);const _0x4fb5fe=_0x308b0e,_0xa66637=_0x327dd2-_0x5ebbd6,_0x2ef2f5=_0x57f7d8-0x2*_0x308b0e;if(_0x52448c>_0x2ef2f5){let _0x57b569='',_0x3fbca=0x0;for(const _0x2546ea of _0x4c2de0){const _0x3806e7=_0x437cba['measureText'](_0x2546ea)[_0x4fb9af(0x450)];if(_0x3fbca+_0x3806e7<=_0x2ef2f5-_0x437cba[_0x4fb9af(0x309)](_0x4fb9af(0x237))[_0x4fb9af(0x450)])_0x57b569+=_0x2546ea,_0x3fbca+=_0x3806e7;else{_0x57b569+=_0x4fb9af(0x237);break;}}_0x437cba[_0x4fb9af(0x537)](_0x57b569,_0x4fb5fe,_0xa66637);}else _0x437cba[_0x4fb9af(0x537)](_0x4c2de0,_0x4fb5fe,_0xa66637);_0x437cba[_0x4fb9af(0x382)]();}[_0x2a4c41(0x1fa)](_0x34c769){_0x26d1ac['drawWith'](_0x34c769,this);}}const _0x217b9b='collab-text-anchor-',_0x5424ea=_0x2a4c41(0x366),_0x212547='collab-rect-range-',_0x219e72=0x6,_0x3f1c81=1.5,_0x20d159=0x4,_0x5734c1=1.5,_0x2c556a='rgba(255,\x20255,\x20255,\x200.01)';class _0x1f900c{constructor(_0x46913f,_0x415cb6,_0x51870a,_0x121d02){const _0x5e59a9=_0x2a4c41;_0x3a0856(this,_0x5e59a9(0x419),[]),_0x3a0856(this,_0x5e59a9(0x527),null),_0x3a0856(this,_0x5e59a9(0x2f1),null),_0x3a0856(this,'_anchorDot',null),_0x3a0856(this,_0x5e59a9(0x2bd),null),_0x3a0856(this,_0x5e59a9(0x3df),null),(this[_0x5e59a9(0x314)]=_0x46913f,this[_0x5e59a9(0x42b)]=_0x415cb6,this[_0x5e59a9(0x2d7)]=_0x51870a,this[_0x5e59a9(0x3ee)]=_0x121d02,this[_0x5e59a9(0x5a8)]());}set['_hover'](_0x11725b){const _0x412dea=_0x2a4c41;_0x11725b?(this[_0x412dea(0x45b)]&&this[_0x412dea(0x45b)]['hide'](),this[_0x412dea(0x2f1)]&&this['_textBubble'][_0x412dea(0x451)]()):(this[_0x412dea(0x45b)]&&this[_0x412dea(0x45b)][_0x412dea(0x451)](),this[_0x412dea(0x2f1)]&&this[_0x412dea(0x2f1)][_0x412dea(0x2b6)]());}[_0x2a4c41(0x4f9)](){const _0x4eb92a=_0x2a4c41;for(const _0xc20613 of this[_0x4eb92a(0x419)])_0xc20613[_0x4eb92a(0x4f9)]();this['_textBubble']&&this[_0x4eb92a(0x2f1)][_0x4eb92a(0x4f9)](),this[_0x4eb92a(0x45b)]&&this[_0x4eb92a(0x45b)][_0x4eb92a(0x4f9)](),this['_anchor']&&this[_0x4eb92a(0x527)][_0x4eb92a(0x4f9)](),this[_0x4eb92a(0x3df)]&&this[_0x4eb92a(0x3df)]();}['_render'](){const _0x5bbfb8=_0x2a4c41;var _0x5efd73;const {_docSkeleton:_0x1f40e7,_document:_0x332901}=this,{color:_0x4ff892,name:_0x530c64,ranges:_0x5cb444}=this[_0x5bbfb8(0x314)],_0x157c9f=_0x332901[_0x5bbfb8(0x37c)](),{docsLeft:_0x38597a,docsTop:_0x3f368b}=_0x157c9f,_0x3f3287=new _0x43047a[(_0x5bbfb8(0x358))](_0x157c9f,_0x1f40e7);for(const {startOffset:_0x1410bf,endOffset:_0x3eb483,collapsed:_0x132133,isActive:_0x38641a}of _0x5cb444){const _0x2f4d3a=_0x1f40e7[_0x5bbfb8(0x3b8)](_0x1410bf),_0x9b858c=_0x1f40e7[_0x5bbfb8(0x3b8)](_0x3eb483);if(_0x38641a){const {contentBoxPointGroup:_0xa7b310}=_0x3f3287[_0x5bbfb8(0x32d)](_0x9b858c,_0x9b858c);if(_0xa7b310[_0x5bbfb8(0x250)]===0x0)continue;this[_0x5bbfb8(0x1c9)](_0x4ff892,_0xa7b310,_0x38597a,_0x3f368b,_0x530c64),this[_0x5bbfb8(0x3df)]=this[_0x5bbfb8(0x2d3)]();}if(!_0x132133&&_0x2f4d3a&&_0x9b858c){if(_0x43047a['isValidRectRange'](_0x2f4d3a,_0x9b858c)){const _0x227d05=new _0x43047a[(_0x5bbfb8(0x49c))](_0x157c9f,_0x1f40e7),{pointGroup:_0x18194f}=(_0x5efd73=_0x227d05[_0x5bbfb8(0x32d)](_0x2f4d3a,_0x9b858c))!=null?_0x5efd73:{};if(_0x18194f==null||_0x18194f['length']===0x0)continue;this['_drawRectRange'](_0x4ff892,_0x18194f,_0x38597a,_0x3f368b);}else{const {contentBoxPointGroup:_0x831759}=_0x3f3287['getRangePointData'](_0x2f4d3a,_0x9b858c);if(_0x831759[_0x5bbfb8(0x250)]===0x0)continue;this[_0x5bbfb8(0x343)](_0x4ff892,_0x831759,_0x38597a,_0x3f368b);}}}}[_0x2a4c41(0x1c9)](_0x4966e6,_0x41ccd8,_0x1e776a,_0x44c2da,_0xe3361a){const _0x226f40=_0x2a4c41,_0x17a013=this[_0x226f40(0x2fc)](_0x41ccd8),{left:_0x36582e,top:_0x40dd78,height:_0x370217}=_0x17a013,_0xa219b5=this[_0x226f40(0x3c2)](),_0x2e4ef9=_0x5734c1/_0xa219b5,_0x561bd7=new _0x7f7413[(_0x226f40(0x1c4))](_0x217b9b+_0x42e035['Tools'][_0x226f40(0x430)](_0x219e72),{'left':_0x36582e+_0x1e776a-_0x2e4ef9,'top':_0x40dd78+_0x44c2da,'height':_0x370217,'width':_0x3f1c81,'fill':_0x4966e6||_0x7f7413['getColor'](_0x42e035[_0x226f40(0x486)]['black'],0x0),'strokeWidth':_0x2e4ef9,'stroke':_0x2c556a,'evented':!0x0});this[_0x226f40(0x527)]=_0x561bd7,this[_0x226f40(0x42b)][_0x226f40(0x307)](_0x561bd7,_0x43047a[_0x226f40(0x207)]);const _0x1111e4=new _0x7f7413[(_0x226f40(0x1c4))](_0x217b9b+_0x42e035[_0x226f40(0x34c)]['generateRandomId'](_0x219e72),{'left':_0x36582e+_0x1e776a-_0x2e4ef9,'top':_0x40dd78+_0x44c2da-_0x20d159/0x2,'height':_0x20d159,'width':_0x20d159,'fill':_0x4966e6||_0x7f7413['getColor'](_0x42e035[_0x226f40(0x486)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x4966e6||_0x7f7413['getColor'](_0x42e035['COLORS']['black'],0x0),'evented':!0x1});this[_0x226f40(0x45b)]=_0x1111e4,this[_0x226f40(0x42b)][_0x226f40(0x307)](_0x1111e4,_0x43047a[_0x226f40(0x207)]);const _0x17f6b7=new _0x26d1ac(_0x217b9b+_0x42e035[_0x226f40(0x34c)][_0x226f40(0x430)](_0x219e72),{'left':_0x36582e+_0x1e776a-_0x2e4ef9,'top':_0x40dd78+_0x44c2da-_0x327dd2,'text':_0xe3361a,'color':_0x4966e6});this[_0x226f40(0x2f1)]=_0x17f6b7,this[_0x226f40(0x42b)][_0x226f40(0x307)](_0x17f6b7,_0x43047a[_0x226f40(0x207)]),this[_0x226f40(0x4c7)]=!0x1;}['_handleHover'](){const _0x21426f=_0x2a4c41,_0x27a65b=this[_0x21426f(0x527)][_0x21426f(0x55b)]['subscribeEvent'](()=>{const _0x205115=_0x21426f;this[_0x205115(0x4c7)]=!0x0;}),_0x2f8aa2=this[_0x21426f(0x527)][_0x21426f(0x1c1)][_0x21426f(0x1ac)](()=>{const _0x2da837=_0x21426f;this[_0x2da837(0x2bd)]&&clearTimeout(this['_hideTimer']),this[_0x2da837(0x2bd)]=setTimeout(()=>{const _0x4c4509=_0x2da837;this[_0x4c4509(0x4c7)]=!0x1;},0x7d0);});return()=>{const _0x4b40cd=_0x21426f;_0x27a65b['unsubscribe'](),_0x2f8aa2[_0x4b40cd(0x490)]();};}[_0x2a4c41(0x343)](_0x4327f4,_0x291b7f,_0x2a9329,_0x43e050){const _0x1faf45=_0x2a4c41,_0x34fa0f=new _0x42e035['ColorKit'](_0x4327f4)[_0x1faf45(0x326)](0.2)[_0x1faf45(0x321)](),_0x436a97=new _0x7f7413['RegularPolygon'](_0x5424ea+_0x42e035[_0x1faf45(0x34c)]['generateRandomId'](_0x219e72),{'pointsGroup':_0x291b7f,'fill':_0x34fa0f||_0x7f7413['getColor'](_0x42e035[_0x1faf45(0x486)][_0x1faf45(0x217)],0.2),'left':_0x2a9329,'top':_0x43e050,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1faf45(0x419)]['push'](_0x436a97),this[_0x1faf45(0x42b)][_0x1faf45(0x307)](_0x436a97,_0x43047a[_0x1faf45(0x207)]);}['_drawRectRange'](_0x52b3be,_0x5b4f35,_0xa976e7,_0x204be9){const _0x4cba24=_0x2a4c41,_0x5c9f93=new _0x42e035[(_0x4cba24(0x4aa))](_0x52b3be)[_0x4cba24(0x326)](0.2)[_0x4cba24(0x321)](),_0x1bd0b5=new _0x7f7413[(_0x4cba24(0x1f1))](_0x212547+_0x42e035[_0x4cba24(0x34c)]['generateRandomId'](_0x219e72),{'pointsGroup':_0x5b4f35,'fill':_0x5c9f93||_0x7f7413[_0x4cba24(0x439)](_0x42e035[_0x4cba24(0x486)][_0x4cba24(0x217)],0.2),'left':_0xa976e7,'top':_0x204be9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4cba24(0x419)][_0x4cba24(0x408)](_0x1bd0b5),this['_scene'][_0x4cba24(0x307)](_0x1bd0b5,_0x43047a[_0x4cba24(0x207)]);}['_getAnchorBounding'](_0x99a8df){const _0xa12012=_0x99a8df[0x0],_0x37e93d=_0xa12012[0x0],_0x25fc01=_0xa12012[0x2],{x:_0x1b58df,y:_0x312aea}=_0x37e93d,{x:_0x8c140a,y:_0x46adaf}=_0x25fc01;return{'left':_0x1b58df,'top':_0x312aea,'width':_0x8c140a-_0x1b58df,'height':_0x46adaf-_0x312aea};}[_0x2a4c41(0x3c2)](){const _0x391dbb=_0x2a4c41,{scaleX:_0x3543a1,scaleY:_0x56196d}=this[_0x391dbb(0x42b)][_0x391dbb(0x50d)]();return Math[_0x391dbb(0x235)](_0x3543a1,_0x56196d);}}var _0xd6dc47=Object[_0x2a4c41(0x38e)],_0x27710f=Object[_0x2a4c41(0x317)],_0x444e80=(_0x170a2f,_0x48be67,_0x3ffd55,_0x416f2b)=>{const _0x5d3420=_0x2a4c41;for(var _0x3a02c0=_0x416f2b>0x1?void 0x0:_0x416f2b?_0x27710f(_0x48be67,_0x3ffd55):_0x48be67,_0x111e79=_0x170a2f[_0x5d3420(0x250)]-0x1,_0x24ccc1;_0x111e79>=0x0;_0x111e79--)(_0x24ccc1=_0x170a2f[_0x111e79])&&(_0x3a02c0=(_0x416f2b?_0x24ccc1(_0x48be67,_0x3ffd55,_0x3a02c0):_0x24ccc1(_0x3a02c0))||_0x3a02c0);return _0x416f2b&&_0x3a02c0&&_0xd6dc47(_0x48be67,_0x3ffd55,_0x3a02c0),_0x3a02c0;},_0x44ea6d=(_0x1a82b1,_0x515d85)=>(_0x380899,_0x59a4b1)=>_0x515d85(_0x380899,_0x59a4b1,_0x1a82b1);let _0x5b426f=class extends _0x42e035['RxDisposable']{constructor(_0x228a1c,_0x136dc1,_0x5342fa,_0x49d273,_0x4fd61b){const _0x36f54d=_0x2a4c41;super(),_0x3a0856(this,'_cursorShapes',[]),_0x3a0856(this,_0x36f54d(0x4eb),[]),(this[_0x36f54d(0x522)]=_0x228a1c,this['_docSkeletonManagerService']=_0x136dc1,this[_0x36f54d(0x409)]=_0x5342fa,this[_0x36f54d(0x369)]=_0x49d273,this[_0x36f54d(0x481)]=_0x4fd61b,this['_init']());}[_0x2a4c41(0x40a)](){const _0x505ee1=_0x2a4c41,_0x1360c1=this['_context'][_0x505ee1(0x222)],_0x538ae2=this[_0x505ee1(0x24b)];this['disposeWithMe'](_0x40c8d9[_0x505ee1(0x45f)]([this[_0x505ee1(0x409)][_0x505ee1(0x2f6)](_0x1360c1),this[_0x505ee1(0x481)]['currentTheme$']])[_0x505ee1(0x4b4)](_0xfd004d[_0x505ee1(0x3bc)](([_0x2ad2b5,_0x7a24e6])=>({'skeleton':_0x538ae2['getSkeleton'](),'cursors':[..._0x2ad2b5[_0x505ee1(0x4ce)]()][_0x505ee1(0x5b9)](_0x283184=>({..._0x283184,'color':_0x7a24e6[_0x283184['color']]}))})))[_0x505ee1(0x543)](_0x12289a=>{const _0x543b74=_0x505ee1;if(this[_0x543b74(0x251)](),_0x12289a){const {skeleton:_0x5d3ecd,cursors:_0x4d4ee8}=_0x12289a;this[_0x543b74(0x3b2)](_0x5d3ecd,_0x4d4ee8);}})),this[_0x505ee1(0x2f0)](),this[_0x505ee1(0x3ec)]();}['_updateCollabCursors'](_0x4ff5a4,_0x2c5316){const _0x1ac990=_0x2a4c41,{scene:_0x33220b,mainComponent:_0x4bd2b8}=this[_0x1ac990(0x522)],_0x1b7937=_0x2c5316[_0x1ac990(0x3bc)](_0x18f9a2=>new _0x1f900c(_0x18f9a2,_0x33220b,_0x4ff5a4,_0x4bd2b8));this[_0x1ac990(0x357)]=_0x1b7937,this[_0x1ac990(0x4eb)]=_0x2c5316;}['_refreshCollabCursors'](){const _0x3094b4=_0x2a4c41;this[_0x3094b4(0x251)]();const {scene:_0x197232,mainComponent:_0x206b95}=this[_0x3094b4(0x522)],_0x21ea0c=this['_docSkeletonManagerService']['getSkeleton'](),_0x5cfcf2=this['_cursors'][_0x3094b4(0x3bc)](_0x3ac2c3=>new _0x1f900c(_0x3ac2c3,_0x197232,_0x21ea0c,_0x206b95));this['_cursorShapes']=_0x5cfcf2;}[_0x2a4c41(0x251)](){const _0x209693=_0x2a4c41;this['_cursorShapes'][_0x209693(0x3f5)](_0xb7ae02=>_0xb7ae02['dispose']()),this['_cursorShapes']=[];}[_0x2a4c41(0x3ec)](){const _0x136e4b=_0x2a4c41,_0x2d5e76=[_0x43047a[_0x136e4b(0x582)]['id']];this['disposeWithMe'](this['_commandService'][_0x136e4b(0x5d4)](_0x215ac7=>{const _0xf5d1be=_0x136e4b;_0x2d5e76[_0xf5d1be(0x2db)](_0x215ac7['id'])&&_0x215ac7[_0xf5d1be(0x44a)][_0xf5d1be(0x222)]===this[_0xf5d1be(0x522)]['unitId']&&this[_0xf5d1be(0x2fb)]();}));}[_0x2a4c41(0x2f0)](){const _0x5f21cf=_0x2a4c41;this[_0x5f21cf(0x594)](_0x42e035['fromEventSubject'](this['_context'][_0x5f21cf(0x452)][_0x5f21cf(0x364)])[_0x5f21cf(0x4b4)](_0xfd004d[_0x5f21cf(0x45c)](_0x25d47a=>_0x25d47a[_0x5f21cf(0x348)]===_0x7f7413[_0x5f21cf(0x5b6)]['resize']),_0xfd004d[_0x5f21cf(0x1cd)](0x10))[_0x5f21cf(0x543)](()=>{const _0x1f5748=_0x5f21cf;this[_0x1f5748(0x2fb)]();}));}};_0x5b426f=_0x444e80([_0x44ea6d(0x1,_0x42e035[_0x2a4c41(0x29d)](_0x50c98c[_0x2a4c41(0x23a)])),_0x44ea6d(0x2,_0x42e035[_0x2a4c41(0x29d)](_0x16fe18)),_0x44ea6d(0x3,_0x42e035[_0x2a4c41(0x219)]),_0x44ea6d(0x4,_0x42e035[_0x2a4c41(0x29d)](_0x42e035[_0x2a4c41(0x2e8)]))],_0x5b426f);const _0x2ed4d5=0x1,_0x1fef48=1.5;class _0x34d446 extends _0x7f7413[_0x2a4c41(0x498)]{constructor(_0x124eaa,_0x593494){const _0x2ff4ec=_0x2a4c41;super(_0x124eaa,_0x593494),_0x3a0856(this,_0x2ff4ec(0x5ba)),_0x3a0856(this,_0x2ff4ec(0x2ae),!0x1),_0x3a0856(this,_0x2ff4ec(0x571)),_0x3a0856(this,_0x2ff4ec(0x204),''),_0x3a0856(this,_0x2ff4ec(0x53b),_0x2ff4ec(0x563)),_0x3a0856(this,_0x2ff4ec(0x552)),(_0x593494&&this['setShapeProps'](_0x593494),this['onPointerEnter$'][_0x2ff4ec(0x1ac)](()=>this[_0x2ff4ec(0x404)]({'hovered':!0x0})),this[_0x2ff4ec(0x1c1)]['subscribeEvent'](()=>this[_0x2ff4ec(0x404)]({'hovered':!0x1})));}[_0x2a4c41(0x404)](_0x50a10a){const _0x1b8c28=_0x2a4c41;var _0x3dfb23,_0x1b2dbb,_0x4c48b2,_0x4a3c16,_0x467f37,_0x24d732;this['_color']=(_0x3dfb23=_0x50a10a[_0x1b8c28(0x3f9)])!=null?_0x3dfb23:this[_0x1b8c28(0x5ba)],this['_hovered']=(_0x1b2dbb=_0x50a10a[_0x1b8c28(0x4af)])!=null?_0x1b2dbb:this[_0x1b8c28(0x2ae)],this[_0x1b8c28(0x571)]=(_0x4c48b2=_0x50a10a[_0x1b8c28(0x58a)])!=null?_0x4c48b2:this[_0x1b8c28(0x571)],this[_0x1b8c28(0x204)]=(_0x4a3c16=_0x50a10a[_0x1b8c28(0x362)])!=null?_0x4a3c16:this[_0x1b8c28(0x204)],this[_0x1b8c28(0x53b)]=(_0x467f37=_0x50a10a[_0x1b8c28(0x30d)])!=null?_0x467f37:this[_0x1b8c28(0x53b)],this[_0x1b8c28(0x552)]=(_0x24d732=_0x50a10a[_0x1b8c28(0x414)])!=null?_0x24d732:this[_0x1b8c28(0x552)],this[_0x1b8c28(0x3e7)]({'width':_0x50a10a[_0x1b8c28(0x450)],'height':_0x50a10a['height']});}[_0x2a4c41(0x244)](_0x2c338a){const _0x9f96c5=_0x2a4c41,{row:_0x427bf9,column:_0x490945}=_0x2c338a;if(_0x427bf9>=this[_0x9f96c5(0x571)][_0x9f96c5(0x44c)]&&_0x427bf9<=this[_0x9f96c5(0x571)][_0x9f96c5(0x433)]&&_0x490945>=this[_0x9f96c5(0x571)][_0x9f96c5(0x41c)]&&_0x490945<=this[_0x9f96c5(0x571)]['endColumn']){this[_0x9f96c5(0x404)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x2a4c41(0x39f)](_0xd5f8a4){return!0x1;}[_0x2a4c41(0x1fa)](_0x3bf4c5){const _0x1078a9=_0x2a4c41;_0x7f7413['Rect'][_0x1078a9(0x4fd)](_0x3bf4c5,{'width':this['width'],'height':this[_0x1078a9(0x521)],'strokeWidth':_0x1fef48,'stroke':this[_0x1078a9(0x5ba)],'evented':!0x1,'fill':this[_0x1078a9(0x552)]}),this[_0x1078a9(0x2ae)]&&(_0x3bf4c5['save'](),_0x3bf4c5[_0x1078a9(0x47f)](0x1,0x0,0x0,0x1,this[_0x1078a9(0x450)],this[_0x1078a9(0x53b)]==='bottom'?0x0:-_0x327dd2),_0x26d1ac[_0x1078a9(0x4fd)](_0x3bf4c5,{'text':this[_0x1078a9(0x204)],'color':this['_color']}),_0x3bf4c5[_0x1078a9(0x382)]());}}var _0x191d7c=Object[_0x2a4c41(0x38e)],_0x21e277=Object[_0x2a4c41(0x317)],_0x1fe64f=(_0x49047b,_0x41e24b,_0x319455,_0x1a2d99)=>{const _0x2ee95c=_0x2a4c41;for(var _0x36e356=_0x1a2d99>0x1?void 0x0:_0x1a2d99?_0x21e277(_0x41e24b,_0x319455):_0x41e24b,_0x147f21=_0x49047b[_0x2ee95c(0x250)]-0x1,_0x427080;_0x147f21>=0x0;_0x147f21--)(_0x427080=_0x49047b[_0x147f21])&&(_0x36e356=(_0x1a2d99?_0x427080(_0x41e24b,_0x319455,_0x36e356):_0x427080(_0x36e356))||_0x36e356);return _0x1a2d99&&_0x36e356&&_0x191d7c(_0x41e24b,_0x319455,_0x36e356),_0x36e356;},_0x47c633=(_0x27e1e5,_0x1219a7)=>(_0x501b7e,_0x4a3112)=>_0x1219a7(_0x501b7e,_0x4a3112,_0x27e1e5);const _0xe6c380=0x1389;let _0x1d618f=class extends _0x42e035[_0x2a4c41(0x43e)]{constructor(_0x592a61,_0x1873c0,_0x4967dd,_0x1260ef){const _0x506b56=_0x2a4c41;super(),_0x3a0856(this,_0x506b56(0x4eb),new Set()),_0x3a0856(this,_0x506b56(0x593),null),(this[_0x506b56(0x522)]=_0x592a61,this[_0x506b56(0x353)]=_0x1873c0,this['_collabCursorController']=_0x4967dd,this[_0x506b56(0x481)]=_0x1260ef,this['_init']());}['_init'](){const _0x24a861=_0x2a4c41;this['_sheetSkeletonManagerService'][_0x24a861(0x215)][_0x24a861(0x4b4)](_0xfd004d[_0x24a861(0x1ed)](this[_0x24a861(0x311)]),_0xfd004d['switchMap'](_0x1552ea=>{const _0x4bab9d=_0x24a861;if(_0x1552ea){const _0xe03872=_0x1552ea['sheetId'];return _0x40c8d9[_0x4bab9d(0x45f)](this[_0x4bab9d(0x409)]['getCollabCursors$'](this[_0x4bab9d(0x522)]['unitId']),this[_0x4bab9d(0x481)][_0x4bab9d(0x5a1)])['pipe'](_0xfd004d[_0x4bab9d(0x3bc)](([_0x4d2ded,_0x4bcd1e])=>{const _0x36259d=_0x4bab9d,_0x2ea456=new Map();return _0x4d2ded[_0x36259d(0x3f5)]((_0x367a36,_0x1a7545)=>{const _0x132c93=_0x36259d;if(_0x367a36[_0x132c93(0x483)]===_0xe03872){const _0x2fade1={..._0x367a36};_0x2fade1[_0x132c93(0x3f9)]=_0x4bcd1e[_0x367a36[_0x132c93(0x3f9)]],_0x2ea456[_0x132c93(0x1c0)](_0x1a7545,_0x2fade1);}}),{'skeleton':_0x1552ea,'cursors':_0x2ea456};}));}return _0x40c8d9['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x177730,cursors:_0x32b34e})=>{const _0x36e911=_0x24a861;this['_removeCollabCursors'](),_0x177730&&this[_0x36e911(0x3b2)](_0x177730,_0x32b34e);}),this[_0x24a861(0x353)][_0x24a861(0x215)][_0x24a861(0x543)](_0x38fc83=>{const _0x5623e6=_0x24a861;if(_0x38fc83==null)return;const {skeleton:_0x396989}=_0x38fc83,{scene:_0x52a2ab}=this[_0x5623e6(0x522)];_0x52a2ab[_0x5623e6(0x22c)][_0x5623e6(0x1ac)](_0x42e035['debounce'](_0x1e2c7f=>{const _0x13e3e2=_0x5623e6;var _0x4722b7,_0x2e9467;const {offsetX:_0x334071,offsetY:_0x21eb15}=_0x1e2c7f,{x:_0x62fa76,y:_0x50ca47}=_0x52a2ab[_0x13e3e2(0x3b6)](_0x7f7413[_0x13e3e2(0x40c)][_0x13e3e2(0x4f8)]([_0x334071,_0x21eb15])),{scaleX:_0x442f88,scaleY:_0x4c79bd}=_0x52a2ab['getAncestorScale'](),_0x17cefb=_0x52a2ab[_0x13e3e2(0x401)](_0x29357b[_0x13e3e2(0x40b)][_0x13e3e2(0x1b2)]),_0x37d33e=_0x52a2ab[_0x13e3e2(0x491)](_0x7f7413[_0x13e3e2(0x40c)][_0x13e3e2(0x4f8)]([_0x62fa76,_0x50ca47]),_0x17cefb),_0x26a689=_0x396989[_0x13e3e2(0x4c3)](_0x334071,_0x21eb15,_0x442f88,_0x4c79bd,_0x37d33e);((_0x4722b7=this[_0x13e3e2(0x593)])==null?void 0x0:_0x4722b7[_0x13e3e2(0x1d1)])===_0x26a689[_0x13e3e2(0x1d1)]&&((_0x2e9467=this['_lastPointer'])==null?void 0x0:_0x2e9467[_0x13e3e2(0x1b6)])===_0x26a689[_0x13e3e2(0x1b6)]||this['_cursors']['forEach'](_0x55dd43=>{_0x55dd43['onMouseMove'](_0x26a689);});},0x64));});}[_0x2a4c41(0x3b2)](_0xe6e190,_0x6a775e){const _0x2c4ad8=_0x2a4c41;var _0x2863c7;const _0x3f595a=(_0x2863c7=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x2863c7['skeleton'];if(!_0x3f595a)return;const _0x7e1090=this[_0x2c4ad8(0x32e)]();if(!_0x7e1090)return;this[_0x2c4ad8(0x4eb)][_0x2c4ad8(0x3f5)](_0x4bd817=>{const _0x126a53=_0x2c4ad8;_0x4bd817[_0x126a53(0x56b)]();});const {scene:_0xd8af}=_0x7e1090,_0x5f0167=_0x21c437(Array[_0x2c4ad8(0x27e)](_0x6a775e[_0x2c4ad8(0x4ce)]()))[_0x2c4ad8(0x3bc)](_0x83f59e=>{const _0x2b4e87=_0x2c4ad8,{color:_0x3f6401,range:_0x45e9ed,name:_0x555259,selection:_0x62285f,sheetID:_0x387305}=_0x83f59e,{startColumn:_0x4be348,startRow:_0x4a0017,endColumn:_0x40f55e,endRow:_0x485eed}=_0x45e9ed,_0x582088=_0x29357b[_0x2b4e87(0x367)](_0x4a0017,_0x4be348,_0xd8af,_0x3f595a),_0x597876=_0x29357b['getCoordByCell'](_0x485eed,_0x40f55e,_0xd8af,_0x3f595a),{columnHeaderHeightAndMarginTop:_0x5993fd}=_0x3f595a,{startX:_0x1fc7b4,startY:_0x543610}=_0x582088,{endX:_0x1b4963,endY:_0x4cf3d0}=_0x597876,_0x1fe5d0=_0x1b4963-_0x1fc7b4,_0x494ff8=_0x4cf3d0-_0x543610,_0x4040d3={'labelPosition':_0x543610-_0x5993fd>=_0x327dd2?_0x2b4e87(0x563):_0x2b4e87(0x544),'sheetID':_0x387305,'range':_0x45e9ed,'color':_0x3f6401,'name':_0x555259,'selection':_0x62285f,'left':_0x1fc7b4,'top':_0x543610,'width':_0x1fe5d0,'height':_0x494ff8,'evented':!0x1,'zIndex':_0xe6c380};return new _0x34d446(_0x555259,_0x4040d3);});_0xd8af[_0x2c4ad8(0x5d3)](_0x5f0167,_0x2ed4d5),this[_0x2c4ad8(0x4eb)]=new Set(_0x5f0167);}[_0x2a4c41(0x251)](){const _0x4ecd68=_0x2a4c41;var _0x14db6e;(_0x14db6e=this[_0x4ecd68(0x4eb)])==null||_0x14db6e[_0x4ecd68(0x3f5)](_0x464830=>_0x464830[_0x4ecd68(0x4f9)]());}[_0x2a4c41(0x32e)](){const _0xbbcaa=_0x2a4c41;return _0x29357b[_0xbbcaa(0x359)](this[_0xbbcaa(0x522)]['unit'],this[_0xbbcaa(0x522)]);}};_0x1d618f=_0x1fe64f([_0x47c633(0x1,_0x42e035[_0x2a4c41(0x29d)](_0x29357b['SheetSkeletonManagerService'])),_0x47c633(0x2,_0x42e035[_0x2a4c41(0x29d)](_0x16fe18)),_0x47c633(0x3,_0x42e035[_0x2a4c41(0x29d)](_0x42e035[_0x2a4c41(0x2e8)]))],_0x1d618f);function _0x21c437(_0x2696d2){const _0xc31ba3=_0x2a4c41,_0x429d2d=new Map();return _0x2696d2[_0xc31ba3(0x3f5)](_0x26345b=>{const _0x473708=_0xc31ba3;if(_0x429d2d['has'](_0x26345b[_0x473708(0x2e7)])){const _0x1396e5=_0x429d2d['get'](_0x26345b[_0x473708(0x2e7)]);_0x1396e5[_0x473708(0x362)]+=',\x20'+_0x26345b[_0x473708(0x362)];}else _0x429d2d[_0x473708(0x1c0)](_0x26345b[_0x473708(0x2e7)],_0x26345b);}),Array[_0xc31ba3(0x27e)](_0x429d2d['values']());}var _0x215076=function(){const _0x2093a6=_0x2a4c41;return _0x215076=Object['assign']||function(_0x2db52b){const _0x1655fa=_0x5025;for(var _0x33f728,_0x203d79=0x1,_0x45bbdb=arguments[_0x1655fa(0x250)];_0x203d79<_0x45bbdb;_0x203d79++){_0x33f728=arguments[_0x203d79];for(var _0xd7101e in _0x33f728)Object[_0x1655fa(0x38f)][_0x1655fa(0x3be)][_0x1655fa(0x27a)](_0x33f728,_0xd7101e)&&(_0x2db52b[_0xd7101e]=_0x33f728[_0xd7101e]);}return _0x2db52b;},_0x215076[_0x2093a6(0x5cc)](this,arguments);},_0x542182=function(_0x38c738,_0x27d297){const _0x5eecdc=_0x2a4c41;var _0x2b7c2d={};for(var _0x5744c1 in _0x38c738)Object['prototype'][_0x5eecdc(0x3be)]['call'](_0x38c738,_0x5744c1)&&_0x27d297['indexOf'](_0x5744c1)<0x0&&(_0x2b7c2d[_0x5744c1]=_0x38c738[_0x5744c1]);if(_0x38c738!=null&&typeof Object[_0x5eecdc(0x398)]==_0x5eecdc(0x574)){for(var _0x3a6f29=0x0,_0x5744c1=Object['getOwnPropertySymbols'](_0x38c738);_0x3a6f29<_0x5744c1[_0x5eecdc(0x250)];_0x3a6f29++)_0x27d297['indexOf'](_0x5744c1[_0x3a6f29])<0x0&&Object[_0x5eecdc(0x38f)][_0x5eecdc(0x20f)][_0x5eecdc(0x27a)](_0x38c738,_0x5744c1[_0x3a6f29])&&(_0x2b7c2d[_0x5744c1[_0x3a6f29]]=_0x38c738[_0x5744c1[_0x3a6f29]]);}return _0x2b7c2d;},_0x1c62ec=_0xe67cb[_0x2a4c41(0x42f)](function(_0x25f1d6,_0x58e792){const _0x2acadc=_0x2a4c41;var _0x2b0bf0=_0x25f1d6[_0x2acadc(0x27c)],_0x265534=_0x25f1d6['id'],_0x13f931=_0x25f1d6[_0x2acadc(0x261)],_0x597e5=_0x25f1d6[_0x2acadc(0x268)],_0x29d468=_0x542182(_0x25f1d6,[_0x2acadc(0x27c),'id',_0x2acadc(0x261),'extend']),_0x575e2b=_0x2acadc(0x2d1)[_0x2acadc(0x31b)](_0x265534,'\x20')[_0x2acadc(0x31b)](_0x13f931||'')[_0x2acadc(0x2d4)](),_0x5b4085=_0xe67cb[_0x2acadc(0x453)]('_'[_0x2acadc(0x31b)](_0x2d8d6e()));return _0x2dae6d(_0x2b0bf0,''[_0x2acadc(0x31b)](_0x265534),{'defIds':_0x2b0bf0[_0x2acadc(0x1cc)],'idSuffix':_0x5b4085[_0x2acadc(0x1b8)]},_0x215076({'ref':_0x58e792,'className':_0x575e2b},_0x29d468),_0x597e5);});function _0x2dae6d(_0x3e4653,_0x177ed7,_0x2097bb,_0x3940ad,_0x41ed50){const _0x2deddc=_0x2a4c41;return _0xe67cb['createElement'](_0x3e4653[_0x2deddc(0x3d1)],_0x215076(_0x215076({'key':_0x177ed7},_0x372d0f(_0x3e4653,_0x2097bb,_0x41ed50)),_0x3940ad),(_0x159402(_0x3e4653,_0x2097bb)[_0x2deddc(0x2ad)]||[])[_0x2deddc(0x3bc)](function(_0x101fad,_0x3160c2){const _0x58f753=_0x2deddc;return _0x2dae6d(_0x101fad,''['concat'](_0x177ed7,'-')[_0x58f753(0x31b)](_0x3e4653[_0x58f753(0x3d1)],'-')[_0x58f753(0x31b)](_0x3160c2),_0x2097bb,void 0x0,_0x41ed50);}));}function _0x372d0f(_0xfbd6b8,_0x2b3661,_0x48972f){const _0x4b6c06=_0x2a4c41;var _0x2b3c4e=_0x215076({},_0xfbd6b8[_0x4b6c06(0x225)]);_0x48972f!=null&&_0x48972f[_0x4b6c06(0x1aa)]&&_0x2b3c4e[_0x4b6c06(0x547)]==='colorChannel1'&&(_0x2b3c4e[_0x4b6c06(0x547)]=_0x48972f['colorChannel1']);var _0x1b1185=_0x2b3661[_0x4b6c06(0x1cc)];return!_0x1b1185||_0x1b1185[_0x4b6c06(0x250)]===0x0||(_0xfbd6b8[_0x4b6c06(0x3d1)]===_0x4b6c06(0x24d)&&_0x2b3c4e['xlink:href']&&(_0x2b3c4e[_0x4b6c06(0x36a)]=_0x2b3c4e[_0x4b6c06(0x36a)]+_0x2b3661[_0x4b6c06(0x477)]),Object[_0x4b6c06(0x595)](_0x2b3c4e)[_0x4b6c06(0x3f5)](function(_0x540aaa){const _0x5b6843=_0x4b6c06;var _0x40d354=_0x540aaa[0x0],_0x509a6f=_0x540aaa[0x1];typeof _0x509a6f==_0x5b6843(0x391)&&(_0x2b3c4e[_0x40d354]=_0x509a6f[_0x5b6843(0x24f)](/url\(#(.*)\)/,_0x5b6843(0x3e1)[_0x5b6843(0x31b)](_0x2b3661[_0x5b6843(0x477)],')')));})),_0x2b3c4e;}function _0x159402(_0x232743,_0x42202){const _0x31a63e=_0x2a4c41;var _0x383260,_0xb0d3c5=_0x42202[_0x31a63e(0x1cc)];return!_0xb0d3c5||_0xb0d3c5['length']===0x0?_0x232743:_0x232743[_0x31a63e(0x3d1)]===_0x31a63e(0x23b)&&(!((_0x383260=_0x232743[_0x31a63e(0x2ad)])===null||_0x383260===void 0x0)&&_0x383260[_0x31a63e(0x250)])?_0x215076(_0x215076({},_0x232743),{'children':_0x232743[_0x31a63e(0x2ad)]['map'](function(_0x1ff013){const _0x45afd5=_0x31a63e;return typeof _0x1ff013[_0x45afd5(0x225)]['id']=='string'&&_0xb0d3c5&&_0xb0d3c5[_0x45afd5(0x437)](_0x1ff013['attrs']['id'])>-0x1?_0x215076(_0x215076({},_0x1ff013),{'attrs':_0x215076(_0x215076({},_0x1ff013[_0x45afd5(0x225)]),{'id':_0x1ff013[_0x45afd5(0x225)]['id']+_0x42202[_0x45afd5(0x477)]})}):_0x1ff013;})}):_0x232743;}function _0x2d8d6e(){const _0x452c64=_0x2a4c41;return Math[_0x452c64(0x280)]()[_0x452c64(0x3ef)](0x24)[_0x452c64(0x4ab)](0x2,0x8);}_0x1c62ec[_0x2a4c41(0x43a)]=_0x2a4c41(0x1c8);var _0x43f381={'tag':_0x2a4c41(0x389),'attrs':{'fill':'none','viewBox':_0x2a4c41(0x429),'width':_0x2a4c41(0x1f2),'height':_0x2a4c41(0x1f2)},'children':[{'tag':'g','attrs':{'clipPath':_0x2a4c41(0x588)},'children':[{'tag':_0x2a4c41(0x231),'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':_0x2a4c41(0x5c6),'strokeLinejoin':_0x2a4c41(0x5c6),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2a4c41(0x4ec),'attrs':{'id':_0x2a4c41(0x2c6)},'children':[{'tag':_0x2a4c41(0x231),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x2a4c41(0x2c6)]},_0x26d5e6=_0xe67cb[_0x2a4c41(0x42f)](function(_0x519c84,_0x565409){const _0x2ba3bf=_0x2a4c41;return _0xe67cb[_0x2ba3bf(0x5ad)](_0x1c62ec,Object[_0x2ba3bf(0x556)]({},_0x519c84,{'id':_0x2ba3bf(0x396),'ref':_0x565409,'icon':_0x43f381}));});_0x26d5e6[_0x2a4c41(0x43a)]=_0x2a4c41(0x2e5);var _0x46925f={'tag':_0x2a4c41(0x389),'attrs':{'fill':_0x2a4c41(0x3d2),'viewBox':_0x2a4c41(0x3fd),'width':_0x2a4c41(0x1f2),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2a4c41(0x3b3)},'children':[{'tag':'path','attrs':{'stroke':_0x2a4c41(0x478),'d':_0x2a4c41(0x4d2),'strokeLinecap':_0x2a4c41(0x5c6),'strokeLinejoin':_0x2a4c41(0x5c6),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2a4c41(0x4ec),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x2a4c41(0x48a),'d':'M0\x200H16V16H0z','transform':_0x2a4c41(0x52e)}}]}]}],'defIds':[_0x2a4c41(0x29e)]},_0x288c67=_0xe67cb['forwardRef'](function(_0x3e824b,_0x42378a){const _0x399956=_0x2a4c41;return _0xe67cb[_0x399956(0x5ad)](_0x1c62ec,Object[_0x399956(0x556)]({},_0x3e824b,{'id':_0x399956(0x4d3),'ref':_0x42378a,'icon':_0x46925f}));});_0x288c67['displayName']=_0x2a4c41(0x220);function _0x67ec3a(_0x250bd1){const _0x459e72=_0x2a4c41;var _0x32e628,_0x132c99,_0x5a3112='';if(typeof _0x250bd1==_0x459e72(0x391)||typeof _0x250bd1==_0x459e72(0x57e))_0x5a3112+=_0x250bd1;else{if(typeof _0x250bd1=='object'){if(Array[_0x459e72(0x1a8)](_0x250bd1)){var _0x18f48a=_0x250bd1[_0x459e72(0x250)];for(_0x32e628=0x0;_0x32e628<_0x18f48a;_0x32e628++)_0x250bd1[_0x32e628]&&(_0x132c99=_0x67ec3a(_0x250bd1[_0x32e628]))&&(_0x5a3112&&(_0x5a3112+='\x20'),_0x5a3112+=_0x132c99);}else{for(_0x132c99 in _0x250bd1)_0x250bd1[_0x132c99]&&(_0x5a3112&&(_0x5a3112+='\x20'),_0x5a3112+=_0x132c99);}}}return _0x5a3112;}function _0x415f17(){const _0x426e2c=_0x2a4c41;for(var _0x28dd41,_0x19edf1,_0xbe81c3=0x0,_0x54899c='',_0x36b448=arguments[_0x426e2c(0x250)];_0xbe81c3<_0x36b448;_0xbe81c3++)(_0x28dd41=arguments[_0xbe81c3])&&(_0x19edf1=_0x67ec3a(_0x28dd41))&&(_0x54899c&&(_0x54899c+='\x20'),_0x54899c+=_0x19edf1);return _0x54899c;}const _0x26f3c9={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x2a4c41(0x1d6),'onlineStatus':_0x2a4c41(0x48d),'online':'univer-online','offline':_0x2a4c41(0x2c4)};function _0x425411(_0x5ab3f9){const _0x141be6=_0x2a4c41;switch(_0x5ab3f9){case _0x115871[_0x141be6(0x31c)]:return _0x141be6(0x3d4);case _0x115871['CONFLICT']:return _0x141be6(0x2c7);case _0x115871['FETCH_MISS']:return _0x141be6(0x3db);case _0x115871[_0x141be6(0x485)]:return'collabStatus.notCollab';case _0x115871['PENDING']:case _0x115871[_0x141be6(0x3c9)]:case _0x115871[_0x141be6(0x40e)]:return _0x141be6(0x442);case _0x115871[_0x141be6(0x4d1)]:return _0x141be6(0x210);}}function _0x354f89(_0xed460b){const _0x182657=_0x2a4c41,{status$:_0x2e4f83}=_0xed460b,_0x3732e4=_0x576301[_0x182657(0x2aa)](_0x2e4f83,_0x115871[_0x182657(0x485)]),_0x315f8e=_0x42e035[_0x182657(0x3f3)](_0x42e035[_0x182657(0x39c)]),_0x12ffde=_0x42e035['useDependency'](_0x119e5f['CollaborationSessionService']),_0x925eea=_0x3732e4!==_0x115871['OFFLINE'],_0x3f0121=_0x315f8e['t'](_0x425411(_0x3732e4)),_0x81726d=_0x415f17(_0x26f3c9['onlineStatus'],{[_0x26f3c9[_0x182657(0x1eb)]]:_0x925eea,[_0x26f3c9[_0x182657(0x497)]]:!_0x925eea}),_0x6a3dd7=_0x925eea?_0xe67cb[_0x182657(0x5ad)](_0x288c67,null):_0xe67cb[_0x182657(0x5ad)](_0x26d5e6,null),_0x284e23=_0xe67cb[_0x182657(0x487)](()=>{const _0xd15661=_0x182657;_0x925eea||_0x12ffde[_0xd15661(0x1bb)]();},[_0x925eea,_0x12ffde]);function _0x5601a3(){const _0x5a1ec8=_0x182657;return _0xe67cb[_0x5a1ec8(0x5ad)]('div',{'className':_0x81726d,'onClick':_0x284e23},_0xe67cb[_0x5a1ec8(0x5ad)](_0x5a1ec8(0x4ea),{'className':_0x26f3c9[_0x5a1ec8(0x1f8)]},_0x6a3dd7),_0xe67cb[_0x5a1ec8(0x5ad)](_0x5a1ec8(0x4ea),{'className':_0x26f3c9[_0x5a1ec8(0x525)]},_0x3f0121));}return _0x925eea?_0x5601a3():_0xe67cb[_0x182657(0x5ad)](_0x25691d['Tooltip'],{'title':_0x315f8e['t'](_0x182657(0x428))},_0x5601a3());}var _0x3ddaf0=Object[_0x2a4c41(0x38e)],_0x301553=Object['getOwnPropertyDescriptor'],_0x13b803=(_0x20aa47,_0x1aeaba,_0x25ab26,_0x57da35)=>{const _0x22e3fe=_0x2a4c41;for(var _0x2890c2=_0x57da35>0x1?void 0x0:_0x57da35?_0x301553(_0x1aeaba,_0x25ab26):_0x1aeaba,_0x287a7e=_0x20aa47[_0x22e3fe(0x250)]-0x1,_0x5d093f;_0x287a7e>=0x0;_0x287a7e--)(_0x5d093f=_0x20aa47[_0x287a7e])&&(_0x2890c2=(_0x57da35?_0x5d093f(_0x1aeaba,_0x25ab26,_0x2890c2):_0x5d093f(_0x2890c2))||_0x2890c2);return _0x57da35&&_0x2890c2&&_0x3ddaf0(_0x1aeaba,_0x25ab26,_0x2890c2),_0x2890c2;},_0x303e91=(_0x47ef8d,_0xe4c08a)=>(_0xbf9a82,_0x4a56d0)=>_0xe4c08a(_0xbf9a82,_0x4a56d0,_0x47ef8d);_0x119e5f['DesktopCollaborationStatusDisplayController']=class extends _0x42e035['Disposable']{constructor(_0x434a92,_0x5c273a,_0x3ebb64,_0x310c12){const _0x31281f=_0x2a4c41;super(),_0x3a0856(this,_0x31281f(0x592),new _0x40c8d9['BehaviorSubject'](_0x115871[_0x31281f(0x485)])),(this[_0x31281f(0x3b9)]=_0x434a92,this[_0x31281f(0x575)]=_0x5c273a,this[_0x31281f(0x1a2)]=_0x3ebb64,this[_0x31281f(0x4ff)]=_0x310c12,this[_0x31281f(0x1dc)](),this[_0x31281f(0x394)]());}[_0x2a4c41(0x394)](){const _0x44b6d4=_0x2a4c41;this[_0x44b6d4(0x594)](this[_0x44b6d4(0x3b9)][_0x44b6d4(0x3e6)][_0x44b6d4(0x4b4)](_0x40c8d9[_0x44b6d4(0x57b)](()=>{const _0x3108f2=_0x44b6d4,_0x43ea42=this[_0x3108f2(0x3b9)][_0x3108f2(0x5ce)]();return _0x43ea42?this[_0x3108f2(0x4ff)][_0x3108f2(0x4bb)](_0x43ea42[_0x3108f2(0x506)]()):_0x40c8d9['of'](null);}),_0x40c8d9['switchMap'](_0x1c48d5=>_0x1c48d5?_0x1c48d5[_0x44b6d4(0x50b)]:_0x40c8d9['of'](_0x115871[_0x44b6d4(0x485)])))[_0x44b6d4(0x543)](_0x491163=>{const _0x26913f=_0x44b6d4;this[_0x26913f(0x592)]['next'](_0x491163);}));}['_initStatusComponent'](){const _0xf779c2=_0x2a4c41;this[_0xf779c2(0x594)](this[_0xf779c2(0x575)][_0xf779c2(0x3ba)](_0x576301[_0xf779c2(0x460)][_0xf779c2(0x3c8)],()=>_0x42e035['connectInjector'](_0x2be817({'status$':this['_status$'][_0xf779c2(0x2dd)]()}),this['_injector'])));}},_0x119e5f['DesktopCollaborationStatusDisplayController']=_0x13b803([_0x303e91(0x0,_0x42e035[_0x2a4c41(0x281)]),_0x303e91(0x1,_0x576301['IUIPartsService']),_0x303e91(0x2,_0x42e035['Inject'](_0x42e035['Injector'])),_0x303e91(0x3,_0x42e035[_0x2a4c41(0x29d)](_0x119e5f['CollaborationController']))],_0x119e5f[_0x2a4c41(0x529)]);function _0x2be817(_0x428e8e){const {status$:_0x1f2d73}=_0x428e8e;return function(){const _0xbe4c49=_0x5025;return _0xe67cb[_0xbe4c49(0x5ad)](_0x354f89,{'status$':_0x1f2d73});};}const _0x462fee=_0x42e035[_0x2a4c41(0x2c9)](_0x2a4c41(0x30a));var _0x31baf3=Object[_0x2a4c41(0x38e)],_0x360190=Object[_0x2a4c41(0x317)],_0x4ce711=(_0x494a03,_0x592512,_0x555d65,_0x479932)=>{for(var _0x361ece=_0x479932>0x1?void 0x0:_0x479932?_0x360190(_0x592512,_0x555d65):_0x592512,_0x5d506b=_0x494a03['length']-0x1,_0x499d36;_0x5d506b>=0x0;_0x5d506b--)(_0x499d36=_0x494a03[_0x5d506b])&&(_0x361ece=(_0x479932?_0x499d36(_0x592512,_0x555d65,_0x361ece):_0x499d36(_0x361ece))||_0x361ece);return _0x479932&&_0x361ece&&_0x31baf3(_0x592512,_0x555d65,_0x361ece),_0x361ece;},_0x1479e8=(_0x41720f,_0x1bb918)=>(_0x2a149d,_0x3c2f03)=>_0x1bb918(_0x2a149d,_0x3c2f03,_0x41720f);_0x119e5f['DataLoaderController']=class extends _0x42e035[_0x2a4c41(0x43e)]{constructor(_0x3053e1,_0x6e98a,_0x243a3b,_0x574639,_0x5ef049,_0x66e811){const _0x43d25b=_0x2a4c41;super(),this[_0x43d25b(0x49a)]=_0x3053e1,this['_logService']=_0x6e98a,this[_0x43d25b(0x369)]=_0x243a3b,this[_0x43d25b(0x52f)]=_0x574639,this[_0x43d25b(0x2f3)]=_0x5ef049,_0x66e811?_0x66e811==null||_0x66e811[_0x43d25b(0x1c7)]()[_0x43d25b(0x4c6)](()=>this[_0x43d25b(0x40a)]()):(this[_0x43d25b(0x1ae)][_0x43d25b(0x4b7)](_0x43d25b(0x22a),_0x43d25b(0x2d5)),this['_init']());}async['_init'](){const _0x26413e=_0x2a4c41,_0x46f15b=this['_urlService'][_0x26413e(0x53f)](_0x26413e(0x363)),_0x329f92=this[_0x26413e(0x49a)][_0x26413e(0x53f)](_0x26413e(0x348));if(!_0x46f15b||!_0x329f92){this[_0x26413e(0x1ae)][_0x26413e(0x4b7)](_0x26413e(0x22a),_0x26413e(0x573));return;}switch(Number(_0x329f92)){case _0x2a3e17[_0x26413e(0x56a)]:{const _0x12deec=await this[_0x26413e(0x312)](_0x46f15b);this[_0x26413e(0x553)](_0x12deec);break;}case _0x2a3e17[_0x26413e(0x441)]:{await this['_loadDoc'](_0x46f15b);break;}default:{this[_0x26413e(0x1ae)]['error']('[DataLoaderController]',_0x26413e(0x31a));break;}}}async[_0x2a4c41(0x553)](_0x2bbd70){const _0x430712=_0x2a4c41;await this[_0x430712(0x466)](_0x2bbd70),_0x2bbd70[_0x430712(0x2f9)][_0x430712(0x4b4)](_0x40c8d9[_0x430712(0x1ed)](this[_0x430712(0x311)]))[_0x430712(0x543)](_0x2d63f8=>{const _0x4ee10b=_0x430712;_0x2d63f8&&this[_0x4ee10b(0x458)](_0x2d63f8);}),this[_0x430712(0x49a)][_0x430712(0x459)]['pipe'](_0x40c8d9['takeUntil'](this[_0x430712(0x311)]))['subscribe'](()=>this[_0x430712(0x466)](_0x2bbd70));}[_0x2a4c41(0x458)](_0x2430a7,_0x4ae011=!0x1){const _0x31aba5=_0x2a4c41,_0x33eb26=this[_0x31aba5(0x49a)][_0x31aba5(0x53f)](_0x31aba5(0x3f7));_0x2430a7[_0x31aba5(0x4d0)]()!==_0x33eb26&&this[_0x31aba5(0x49a)][_0x31aba5(0x457)](_0x31aba5(0x3f7),_0x2430a7['getSheetId'](),_0x4ae011);}async['_updateSubUnitFromURLParams'](_0x3527c9){const _0x2b6d6f=_0x2a4c41;var _0x7a5b96;const _0x49fbe7=this[_0x2b6d6f(0x49a)][_0x2b6d6f(0x53f)](_0x2b6d6f(0x3f7));if(!_0x49fbe7||!_0x3527c9[_0x2b6d6f(0x463)](_0x49fbe7)){const _0x3ba16f=_0x3527c9[_0x2b6d6f(0x1e2)]()[0x0],_0x2e65e2=_0x3527c9[_0x2b6d6f(0x463)](_0x3ba16f);if(!_0x2e65e2)return;this['_updateURLWithCurrentState'](_0x2e65e2,!0x0),await this[_0x2b6d6f(0x369)][_0x2b6d6f(0x3e0)](_0x2d44ec[_0x2b6d6f(0x5a4)]['id'],{'unitId':_0x3527c9[_0x2b6d6f(0x506)](),'subUnitId':_0x3ba16f});return;}((_0x7a5b96=_0x3527c9[_0x2b6d6f(0x531)]())==null?void 0x0:_0x7a5b96['getSheetId']())!==_0x49fbe7&&await this['_commandService'][_0x2b6d6f(0x3e0)](_0x2d44ec[_0x2b6d6f(0x5a4)]['id'],{'unitId':_0x3527c9[_0x2b6d6f(0x506)](),'subUnitId':_0x49fbe7});}async[_0x2a4c41(0x312)](_0x2bd4be){const _0x3b6884=_0x2a4c41;let _0x4eb00e=0x0;const _0x3f78b2=await this['_localCacheService'][_0x3b6884(0x365)](_0x2bd4be);return _0x3f78b2&&(_0x3f78b2[_0x3b6884(0x555)]||_0x3f78b2['mutations'][_0x3b6884(0x250)]!==0x0)&&(_0x4eb00e=_0x3f78b2[_0x3b6884(0x272)]),_0x4eb00e===0x0&&this['_logService'][_0x3b6884(0x4b7)](_0x3b6884(0x22a),_0x3b6884(0x385)),this[_0x3b6884(0x2f3)]['loadSheet'](_0x2bd4be,_0x4eb00e);}async[_0x2a4c41(0x229)](_0x375e55){const _0x1d1f77=_0x2a4c41;let _0x226c64=0x0;const _0x50a68f=await this['_localCacheService'][_0x1d1f77(0x365)](_0x375e55);return _0x50a68f&&(_0x50a68f['awaitingChangeset']||_0x50a68f[_0x1d1f77(0x23d)][_0x1d1f77(0x250)]!==0x0)&&(_0x226c64=_0x50a68f[_0x1d1f77(0x272)]),_0x226c64===0x0&&this[_0x1d1f77(0x1ae)][_0x1d1f77(0x4b7)]('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x1d1f77(0x2f3)][_0x1d1f77(0x303)](_0x375e55,_0x226c64);}},_0x119e5f[_0x2a4c41(0x54e)]=_0x4ce711([_0x1479e8(0x0,_0x462fee),_0x1479e8(0x1,_0x42e035[_0x2a4c41(0x5ae)]),_0x1479e8(0x2,_0x42e035[_0x2a4c41(0x219)]),_0x1479e8(0x3,_0x42e035[_0x2a4c41(0x29d)](_0x119e5f[_0x2a4c41(0x36c)])),_0x1479e8(0x4,_0x42e035[_0x2a4c41(0x29d)](_0x1a2c53[_0x2a4c41(0x59f)])),_0x1479e8(0x5,_0x42e035[_0x2a4c41(0x569)](_0x22d03b['IRemoteInstanceService']))],_0x119e5f[_0x2a4c41(0x54e)]);var _0x3366f2=Object[_0x2a4c41(0x38e)],_0x36267f=Object[_0x2a4c41(0x317)],_0x4626d7=(_0x47e363,_0x2c8f01,_0x5dda00,_0xa418e0)=>{for(var _0x4914e4=_0xa418e0>0x1?void 0x0:_0xa418e0?_0x36267f(_0x2c8f01,_0x5dda00):_0x2c8f01,_0x577261=_0x47e363['length']-0x1,_0x485a46;_0x577261>=0x0;_0x577261--)(_0x485a46=_0x47e363[_0x577261])&&(_0x4914e4=(_0xa418e0?_0x485a46(_0x2c8f01,_0x5dda00,_0x4914e4):_0x485a46(_0x4914e4))||_0x4914e4);return _0xa418e0&&_0x4914e4&&_0x3366f2(_0x2c8f01,_0x5dda00,_0x4914e4),_0x4914e4;},_0x56c1f7=(_0x2b4ee3,_0xb05a1b)=>(_0x557472,_0x18b8e6)=>_0xb05a1b(_0x557472,_0x18b8e6,_0x2b4ee3);const _0x5a2dfe=_0x2a4c41(0x1d3),_0x426912=_0x2a4c41(0x570);let _0x36737d=class extends _0x42e035[_0x2a4c41(0x5ab)]{constructor(_0x57ef1e,_0x26e5b6){const _0x248438=_0x2a4c41;super(),this['_univerInstanceService']=_0x57ef1e,this['_configService']=_0x26e5b6,this[_0x248438(0x40a)]();}[_0x2a4c41(0x40a)](){const _0x1953e1=_0x2a4c41;this[_0x1953e1(0x594)](this[_0x1953e1(0x3b9)][_0x1953e1(0x3e6)][_0x1953e1(0x543)](()=>{const _0x1c7fb7=_0x1953e1;var _0x13bbd7;const _0x359834=this[_0x1c7fb7(0x3b9)][_0x1c7fb7(0x5ce)]();let _0x11a87c=(_0x13bbd7=this[_0x1c7fb7(0x1ec)]['getConfig'](_0x5a2dfe))!=null?_0x13bbd7:_0x426912;_0x359834 instanceof _0x42e035['Workbook']&&(_0x11a87c=_0x359834['name']),document[_0x1c7fb7(0x431)]=_0x11a87c;}));}};_0x36737d=_0x4626d7([_0x56c1f7(0x0,_0x42e035[_0x2a4c41(0x281)]),_0x56c1f7(0x1,_0x42e035[_0x2a4c41(0x25b)])],_0x36737d);var _0x596985=Object[_0x2a4c41(0x38e)],_0x1135c3=Object[_0x2a4c41(0x317)],_0x111b92=(_0x5c5d4a,_0x46dbf4,_0x6bff66,_0x1a9e82)=>{const _0x1093f0=_0x2a4c41;for(var _0x259b4d=_0x1a9e82>0x1?void 0x0:_0x1a9e82?_0x1135c3(_0x46dbf4,_0x6bff66):_0x46dbf4,_0x1366eb=_0x5c5d4a[_0x1093f0(0x250)]-0x1,_0xb86cf6;_0x1366eb>=0x0;_0x1366eb--)(_0xb86cf6=_0x5c5d4a[_0x1366eb])&&(_0x259b4d=(_0x1a9e82?_0xb86cf6(_0x46dbf4,_0x6bff66,_0x259b4d):_0xb86cf6(_0x259b4d))||_0x259b4d);return _0x1a9e82&&_0x259b4d&&_0x596985(_0x46dbf4,_0x6bff66,_0x259b4d),_0x259b4d;},_0x436ed4=(_0x1972a9,_0x14e4eb)=>(_0x37d7fb,_0x10b7e5)=>_0x14e4eb(_0x37d7fb,_0x10b7e5,_0x1972a9);let _0x1a57cc=class{constructor(_0x2f5d78,_0x11d859,_0x24c654){const _0x52ef88=_0x2a4c41;this[_0x52ef88(0x1ec)]=_0x2f5d78,this[_0x52ef88(0x34d)]=_0x11d859,this[_0x52ef88(0x4c0)]=_0x24c654,this[_0x52ef88(0x223)]();}[_0x2a4c41(0x223)](){const _0x3ad823=_0x2a4c41;this[_0x3ad823(0x34d)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x5db587,_0x35cf75)=>_0x35cf75(_0x5db587)[_0x3ad823(0x4b4)](_0x40c8d9[_0x3ad823(0x476)](async _0x521029=>{const _0x4e23b0=_0x3ad823,_0x4dcc0d=_0x521029;if(_0x4dcc0d[_0x4e23b0(0x469)]===0x191&&window[_0x4e23b0(0x3ac)](this['localeService']['t'](_0x4e23b0(0x3f6)))){const _0x589138=window['encodeURIComponent'](window[_0x4e23b0(0x39d)][_0x4e23b0(0x288)]);window[_0x4e23b0(0x39d)]['href']=this[_0x4e23b0(0x3dd)]()+'?url='+_0x589138;}return _0x4dcc0d;}))});}[_0x2a4c41(0x3dd)](){const _0x48eb58=_0x2a4c41;var _0x548f2b,_0x4f11ef;const _0x5d74c6=this['_configService']['getConfig'](_0x47525d),_0x131d7d=this[_0x48eb58(0x1ec)]['getConfig'](_0x576146);return(_0x4f11ef=(_0x548f2b=_0x131d7d==null?void 0x0:_0x131d7d[_0x48eb58(0x2e4)])!=null?_0x548f2b:_0x5d74c6)!=null?_0x4f11ef:_0x41dfd9;}};_0x1a57cc=_0x111b92([_0x436ed4(0x0,_0x42e035[_0x2a4c41(0x25b)]),_0x436ed4(0x1,_0x42e035[_0x2a4c41(0x29d)](_0x45f1e1[_0x2a4c41(0x216)])),_0x436ed4(0x2,_0x42e035['Inject'](_0x42e035[_0x2a4c41(0x39c)]))],_0x1a57cc);var _0x310d57=Object[_0x2a4c41(0x38e)],_0x3bec2f=Object[_0x2a4c41(0x317)],_0x20ad47=(_0x1ebd26,_0x1355ee,_0x28d1da,_0x5f0b9b)=>{const _0x27beca=_0x2a4c41;for(var _0x39dc3c=_0x5f0b9b>0x1?void 0x0:_0x5f0b9b?_0x3bec2f(_0x1355ee,_0x28d1da):_0x1355ee,_0x30dcc0=_0x1ebd26[_0x27beca(0x250)]-0x1,_0x156bb0;_0x30dcc0>=0x0;_0x30dcc0--)(_0x156bb0=_0x1ebd26[_0x30dcc0])&&(_0x39dc3c=(_0x5f0b9b?_0x156bb0(_0x1355ee,_0x28d1da,_0x39dc3c):_0x156bb0(_0x39dc3c))||_0x39dc3c);return _0x5f0b9b&&_0x39dc3c&&_0x310d57(_0x1355ee,_0x28d1da,_0x39dc3c),_0x39dc3c;},_0x2b2941=(_0x54cb16,_0x31209f)=>(_0x3d9ee8,_0x55a135)=>_0x31209f(_0x3d9ee8,_0x55a135,_0x54cb16);const _0x17182c='AUTHZ_URL_KEY',_0x554cd5=_0x2a4c41(0x4a6);_0x119e5f[_0x2a4c41(0x322)]=class extends _0x42e035[_0x2a4c41(0x5ab)]{constructor(_0x36e44b,_0x44ce0d){const _0x5f2883=_0x2a4c41;super(),this[_0x5f2883(0x4d9)]=_0x36e44b,this[_0x5f2883(0x1ec)]=_0x44ce0d,this[_0x5f2883(0x46b)]();}[_0x2a4c41(0x46b)](){const _0x53ecfe=_0x2a4c41,_0x35b4a5=this;this[_0x53ecfe(0x594)](this['_HTTPService'][_0x53ecfe(0x28f)]({'priority':0x3e7,'interceptor':_0x45f1e1['MergeInterceptorFactory']({'isMatch'(_0x3bff68){const _0x13c7b9=_0x53ecfe;var _0x1c45f4;if(_0x3bff68[_0x13c7b9(0x4cc)]===_0x13c7b9(0x5c3)&&((_0x1c45f4=_0x3bff68['requestParams'])!=null&&_0x1c45f4[_0x13c7b9(0x566)])){const {objectID:_0x5f168d,objectType:_0x520f7d}=_0x3bff68[_0x13c7b9(0x1b4)]['body']||{};if(!_0x5f168d||_0x520f7d===void 0x0)return!0x1;const _0xae3085=_0x35b4a5[_0x13c7b9(0x5c7)]()+'/'+_0x520f7d+_0x13c7b9(0x52b)+_0x5f168d+_0x13c7b9(0x327);if(_0x3bff68[_0x13c7b9(0x580)]===_0xae3085)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x69b8a7){const _0xab7ae0=_0x53ecfe;var _0x1c6383;return(_0x1c6383=_0x69b8a7['requestParams'])==null?void 0x0:_0x1c6383[_0xab7ae0(0x566)];},'mergeParamsToRequest'(_0x1bbfbb,_0x5109f0){const _0x396e4a=_0x53ecfe,_0x49e597=_0x35b4a5[_0x396e4a(0x5c7)]()+_0x396e4a(0x46e),_0x40d066=_0x1bbfbb[_0x396e4a(0x2f5)]((_0x598d37,_0x5ca8f2)=>{const _0x5fdfe2=_0x396e4a,{unitID:_0x4c3376,objectID:_0x23881d,objectType:_0x449dce,actions:_0x4c5fdc}=_0x5ca8f2;return _0x598d37[_0x4c3376]||(_0x598d37[_0x4c3376]={}),_0x598d37[_0x4c3376][_0x23881d]||(_0x598d37[_0x4c3376][_0x23881d]={'objectID':_0x23881d,'objectType':_0x449dce,'actions':[]}),_0x598d37[_0x4c3376][_0x23881d][_0x5fdfe2(0x3de)][_0x5fdfe2(0x408)](..._0x4c5fdc),_0x598d37;},{}),_0x9dc7dd=[];for(const _0x5b9549 in _0x40d066)for(const _0x4e2dec in _0x40d066[_0x5b9549]){const {actions:_0x1816e3,objectType:_0x396941}=_0x40d066[_0x5b9549][_0x4e2dec],_0x2f5ae7=[...new Set(_0x1816e3)];_0x9dc7dd[_0x396e4a(0x408)]({'unitID':_0x5b9549,'objectID':_0x4e2dec,'objectType':_0x396941,'actions':_0x2f5ae7});}return new _0x45f1e1[(_0x396e4a(0x36f))](_0x396e4a(0x5c3),_0x49e597,{'headers':_0x5109f0[_0x396e4a(0x47a)],'withCredentials':_0x5109f0[_0x396e4a(0x4c9)],'responseType':_0x5109f0[_0x396e4a(0x2ff)],'body':{'requests':_0x9dc7dd}});}},{'distributeResult'(_0xe8e558,_0x20e2fa){const _0x1cdb65=_0x53ecfe,{objectActions:_0x22276b}=_0xe8e558;return _0x20e2fa[_0x1cdb65(0x3bc)](_0x140357=>{const _0x53b2c2=_0x1cdb65,{unitID:_0x4bfced,objectID:_0x5d660d,actions:_0x1a1efd}=_0x140357,_0x5d8f52=_0x22276b[_0x53b2c2(0x4fc)](_0x1e32e7=>_0x1e32e7[_0x53b2c2(0x3a4)]===_0x4bfced&&_0x1e32e7[_0x53b2c2(0x308)]===_0x5d660d),_0x717439=_0x1a1efd[_0x53b2c2(0x3bc)](_0x9dabd0=>_0x5d8f52==null?void 0x0:_0x5d8f52[_0x53b2c2(0x3de)][_0x53b2c2(0x4fc)](_0x5506bf=>_0x5506bf[_0x53b2c2(0x596)]===_0x9dabd0))[_0x53b2c2(0x45c)](_0x5472dd=>!!_0x5472dd);return{'config':_0x140357,'result':{'actions':_0x717439,'error':_0xe8e558[_0x53b2c2(0x432)]}};});}})}));}[_0x2a4c41(0x5c7)](){const _0x16030d=_0x2a4c41;var _0x193afa,_0x2a5bc3;const _0x24f43b=this['_configService'][_0x16030d(0x53c)](_0x17182c),_0x5db6a5=this[_0x16030d(0x1ec)]['getConfig'](_0x576146);return(_0x2a5bc3=(_0x193afa=_0x5db6a5==null?void 0x0:_0x5db6a5[_0x16030d(0x2de)])!=null?_0x193afa:_0x24f43b)!=null?_0x2a5bc3:_0x554cd5;}async['create'](_0x25d187){const _0x3399be=_0x2a4c41,_0x517123=this[_0x3399be(0x5c7)]()+'/'+_0x25d187[_0x3399be(0x4f4)]+_0x3399be(0x41d);return(await this[_0x3399be(0x4d9)][_0x3399be(0x3fb)](_0x517123,{'body':_0x25d187}))['body'][_0x3399be(0x308)]||'';}async[_0x2a4c41(0x511)](_0x5b0e5b){const _0x1aa034=_0x2a4c41,_0x680eea=this[_0x1aa034(0x5c7)]()+'/-/object/list';return(await this[_0x1aa034(0x4d9)]['post'](_0x680eea,{'body':_0x5b0e5b}))[_0x1aa034(0x566)]['objects'];}async[_0x2a4c41(0x388)](_0x174735){const _0x128cfe=_0x2a4c41,_0x4f1f45=this[_0x128cfe(0x5c7)]()+'/'+_0x174735[_0x128cfe(0x4f4)]+'/object/'+_0x174735['objectID'];await this[_0x128cfe(0x4d9)][_0x128cfe(0x1da)](_0x4f1f45,{'body':_0x174735});}async[_0x2a4c41(0x3e9)](_0x3c52d8){const _0x5a248c=_0x2a4c41,_0x4f9568=this[_0x5a248c(0x5c7)]()+'/'+_0x3c52d8[_0x5a248c(0x4f4)]+_0x5a248c(0x52b)+_0x3c52d8[_0x5a248c(0x308)]+_0x5a248c(0x327);return(await this[_0x5a248c(0x4d9)][_0x5a248c(0x3fb)](_0x4f9568,{'body':_0x3c52d8}))[_0x5a248c(0x566)][_0x5a248c(0x3de)];}async[_0x2a4c41(0x1c5)](_0x1a3e91){const _0x32e3d3=_0x2a4c41,_0x3a81e1=this['_getAPIPrefixPath']()+_0x32e3d3(0x46e);return(await this[_0x32e3d3(0x4d9)]['post'](_0x3a81e1,{'body':{'requests':_0x1a3e91}}))[_0x32e3d3(0x566)][_0x32e3d3(0x20a)];}async['listRoles'](_0xf3a21){const _0x56adb4=_0x2a4c41,_0x153282=this[_0x56adb4(0x5c7)]()+'/'+_0xf3a21[_0x56adb4(0x4f4)]+'/role',_0x2f3950=await this['_HTTPService']['post'](_0x153282,{'body':_0xf3a21});return{'roles':_0x2f3950[_0x56adb4(0x566)]['roles'],'actions':_0x2f3950['body'][_0x56adb4(0x3de)]};}async['deleteCollaborator'](_0x326c21){const _0x382977=_0x2a4c41,_0x4f805d=this[_0x382977(0x5c7)]()+'/collaborator';await this[_0x382977(0x4d9)][_0x382977(0x536)](_0x4f805d,{'params':{'collaboratorID':_0x326c21[_0x382977(0x33d)],'objectID':_0x326c21[_0x382977(0x308)],'unitID':_0x326c21['unitID']}});}async[_0x2a4c41(0x2e3)](_0xdee7dd){const _0x13176f=_0x2a4c41,_0x17f5e3=this['_getAPIPrefixPath']()+_0x13176f(0x300);await this[_0x13176f(0x4d9)][_0x13176f(0x443)](_0x17f5e3,{'body':_0xdee7dd});}async[_0x2a4c41(0x38b)](_0x2a5f6e){const _0x433905=_0x2a4c41,_0x444fba=this[_0x433905(0x5c7)]()+_0x433905(0x300);await this[_0x433905(0x4d9)][_0x433905(0x3fb)](_0x444fba,{'body':_0x2a5f6e});}async[_0x2a4c41(0x551)](_0x5d8f42){const _0x4368c8=_0x2a4c41,_0xce263a=this[_0x4368c8(0x5c7)]()+_0x4368c8(0x300);return(await this[_0x4368c8(0x4d9)][_0x4368c8(0x3ae)](_0xce263a,{'params':{'objectID':_0x5d8f42['objectID'],'unitID':_0x5d8f42[_0x4368c8(0x3a4)]}}))[_0x4368c8(0x566)][_0x4368c8(0x3c1)];}async[_0x2a4c41(0x3a8)](_0x9def0e){const _0x20bbfb=_0x2a4c41,_0x17011b=this[_0x20bbfb(0x5c7)]()+'/collaborator';await this[_0x20bbfb(0x4d9)][_0x20bbfb(0x1da)](_0x17011b,{'body':_0x9def0e});}},_0x119e5f[_0x2a4c41(0x322)]=_0x20ad47([_0x2b2941(0x0,_0x42e035[_0x2a4c41(0x29d)](_0x45f1e1[_0x2a4c41(0x216)])),_0x2b2941(0x1,_0x42e035[_0x2a4c41(0x29d)](_0x42e035[_0x2a4c41(0x25b)]))],_0x119e5f[_0x2a4c41(0x322)]);var _0xd9fb20=Object[_0x2a4c41(0x38e)],_0xcb88a0=Object[_0x2a4c41(0x317)],_0x28df36=(_0x25663d,_0x5bdec4,_0xf379be,_0x534979)=>{const _0x437bce=_0x2a4c41;for(var _0x130fad=_0x534979>0x1?void 0x0:_0x534979?_0xcb88a0(_0x5bdec4,_0xf379be):_0x5bdec4,_0x4f828e=_0x25663d[_0x437bce(0x250)]-0x1,_0x26bed8;_0x4f828e>=0x0;_0x4f828e--)(_0x26bed8=_0x25663d[_0x4f828e])&&(_0x130fad=(_0x534979?_0x26bed8(_0x5bdec4,_0xf379be,_0x130fad):_0x26bed8(_0x130fad))||_0x130fad);return _0x534979&&_0x130fad&&_0xd9fb20(_0x5bdec4,_0xf379be,_0x130fad),_0x130fad;},_0x1c18b8=(_0x4633f5,_0x521d6f)=>(_0x1e3c3a,_0x452180)=>_0x521d6f(_0x1e3c3a,_0x452180,_0x4633f5);let _0x59b952=class{constructor(_0x5b6a0f){const _0x1e3841=_0x2a4c41;this[_0x1e3841(0x34d)]=_0x5b6a0f,this[_0x1e3841(0x445)]();}['_initRequestHeader'](){const _0x5d16d7=_0x2a4c41;this['_httpService'][_0x5d16d7(0x28f)]({'interceptor':(_0x221857,_0x5670dc)=>{const _0x2a49b7=_0x5d16d7,_0x4b80cf=_0x221857[_0x2a49b7(0x47a)],_0x5b8d26=_0x3ed312['getAttachHeader']();return _0x5b8d26&&_0x4b80cf[_0x2a49b7(0x1c0)](_0x2a49b7(0x422),_0x5b8d26),_0x5670dc(_0x221857);}});}};_0x59b952=_0x28df36([_0x1c18b8(0x0,_0x42e035[_0x2a4c41(0x29d)](_0x45f1e1[_0x2a4c41(0x216)]))],_0x59b952);var _0x6fa373=Object[_0x2a4c41(0x38e)],_0xfe2fa3=Object[_0x2a4c41(0x317)],_0x471a66=(_0x17caa2,_0x442784,_0x5dc007,_0x5aa986)=>{const _0x440704=_0x2a4c41;for(var _0x261c7b=_0x5aa986>0x1?void 0x0:_0x5aa986?_0xfe2fa3(_0x442784,_0x5dc007):_0x442784,_0x3adabc=_0x17caa2[_0x440704(0x250)]-0x1,_0x59b51e;_0x3adabc>=0x0;_0x3adabc--)(_0x59b51e=_0x17caa2[_0x3adabc])&&(_0x261c7b=(_0x5aa986?_0x59b51e(_0x442784,_0x5dc007,_0x261c7b):_0x59b51e(_0x261c7b))||_0x261c7b);return _0x5aa986&&_0x261c7b&&_0x6fa373(_0x442784,_0x5dc007,_0x261c7b),_0x261c7b;},_0x1141b9=(_0x1b35aa,_0x1052c0)=>(_0x39113a,_0x32fc34)=>_0x1052c0(_0x39113a,_0x32fc34,_0x1b35aa);const _0x53f276=['image/png',_0x2a4c41(0x579),'image/jpg',_0x2a4c41(0x407),_0x2a4c41(0x3a0)],_0x587d3e=0x5*0x400*0x400,_0x387588=_0x2a4c41(0x562),_0x421810=_0x2a4c41(0x2ed),_0x4a68fd=_0x2a4c41(0x494),_0xee8059='/universer-api/file/{fileID}/sign-url';_0x119e5f['ImageIoService']=class{constructor(_0x5253e5,_0x1eafe8,_0x37d7d5){const _0x57928b=_0x2a4c41;_0x3a0856(this,_0x57928b(0x473),0x0),_0x3a0856(this,'_change$',new _0x40c8d9[(_0x57928b(0x4cb))]()),_0x3a0856(this,_0x57928b(0x48b),this[_0x57928b(0x1be)]),_0x3a0856(this,_0x57928b(0x1e5),new Map()),(this[_0x57928b(0x34d)]=_0x5253e5,this[_0x57928b(0x1ec)]=_0x1eafe8,this[_0x57928b(0x3b9)]=_0x37d7d5);}[_0x2a4c41(0x581)](_0x315956){const _0x2b73ba=_0x2a4c41;this['_waitCount']=_0x315956,this[_0x2b73ba(0x1be)][_0x2b73ba(0x380)](_0x315956);}[_0x2a4c41(0x276)](_0x2f9fa1,_0x24c088){const _0x37a55a=_0x2a4c41;if(_0x24c088===_0x54b8f5[_0x37a55a(0x20b)][_0x37a55a(0x5cd)]){const _0x2bf56a=new Image();return _0x2bf56a[_0x37a55a(0x5d5)]=_0x2f9fa1,_0x2bf56a;}return this[_0x37a55a(0x1e5)][_0x37a55a(0x3ae)](_0x2f9fa1);}[_0x2a4c41(0x32b)](_0x49ab31,_0xd15226,_0x4fd368){const _0x4fc05f=_0x2a4c41;_0xd15226===_0x54b8f5[_0x4fc05f(0x20b)][_0x4fc05f(0x5cd)]||_0x4fd368==null||this['_imageSourceCache'][_0x4fc05f(0x1c0)](_0x49ab31,_0x4fd368);}async[_0x2a4c41(0x3c4)](_0xf9377e){const _0x725067=_0x2a4c41;try{const _0x273868=this[_0x725067(0x2ab)](this[_0x725067(0x4db)](),''+_0xf9377e),_0x1ef0fc=(await this[_0x725067(0x34d)]['get'](_0x273868))['body'];if(_0x1ef0fc['error']&&_0x1ef0fc[_0x725067(0x432)][_0x725067(0x2e2)]===_0x2b70c1['OK']){const _0xa6a822=new URL(_0x1ef0fc[_0x725067(0x580)],this['_getDownloadEndpointURL']())[_0x725067(0x3ef)]();return Promise[_0x725067(0x246)](_0xa6a822);}return Promise[_0x725067(0x29b)](_0x1ef0fc[_0x725067(0x432)]);}catch(_0x4a78bf){return Promise[_0x725067(0x29b)](_0x4a78bf);}}async[_0x2a4c41(0x4dd)](_0x29e83b){const _0x3d8e27=_0x2a4c41;let _0x5e4fcb='';if(!_0x53f276[_0x3d8e27(0x2db)](_0x29e83b[_0x3d8e27(0x348)]))return this[_0x3d8e27(0x5a0)](),Promise['reject'](new Error(_0x54b8f5[_0x3d8e27(0x5ca)][_0x3d8e27(0x2a3)]));if(_0x29e83b[_0x3d8e27(0x306)]>_0x587d3e)return this['_decreaseWaiting'](),Promise[_0x3d8e27(0x29b)](new Error(_0x54b8f5[_0x3d8e27(0x5ca)][_0x3d8e27(0x2bc)]));try{const _0x297e55=new FormData();_0x297e55[_0x3d8e27(0x227)](_0x3d8e27(0x381),_0x29e83b);const _0x4b663e=this['_univerInstanceService'][_0x3d8e27(0x5ce)](),_0x23d211=_0x4b663e==null?void 0x0:_0x4b663e[_0x3d8e27(0x506)]();if(!_0x23d211)throw new Error(_0x3d8e27(0x3d9));const _0x249b50=this[_0x3d8e27(0x1ee)]()+_0x3d8e27(0x3cd)+_0x29e83b['size'][_0x3d8e27(0x3ef)]()+_0x3d8e27(0x4e5)+_0x2f5255['UnitEmbedded']+_0x3d8e27(0x3a6)+encodeURIComponent(_0x23d211),_0x3f6e5d=await(await fetch(_0x249b50,{'method':'POST','body':_0x297e55}))['json']();if(typeof _0x3f6e5d[_0x3d8e27(0x28a)]!=_0x3d8e27(0x391))return this[_0x3d8e27(0x5a0)](),Promise[_0x3d8e27(0x29b)](new Error(_0x54b8f5[_0x3d8e27(0x5ca)][_0x3d8e27(0x39a)]));_0x5e4fcb=_0x3f6e5d[_0x3d8e27(0x28a)];}catch{return this[_0x3d8e27(0x5a0)](),Promise[_0x3d8e27(0x29b)](new Error(_0x54b8f5[_0x3d8e27(0x5ca)][_0x3d8e27(0x39a)]));}return new Promise((_0x4c07a,_0x454ddd)=>{const _0x112df1=_0x3d8e27,_0xfde30e=new FileReader();_0xfde30e[_0x112df1(0x5a7)](_0x29e83b),_0xfde30e['onload']=_0xbb4b83=>{const _0x49568f=_0x112df1;var _0xa4e4cf;const _0x19ab06=(_0xa4e4cf=_0xbb4b83[_0x49568f(0x5cb)])==null?void 0x0:_0xa4e4cf[_0x49568f(0x449)];if(_0x19ab06==null){this['_decreaseWaiting'](),_0x454ddd(new Error(_0x54b8f5[_0x49568f(0x5ca)]['ERROR_IMAGE']));return;}const _0x4e2b40=_0x42e035[_0x49568f(0x34c)][_0x49568f(0x430)](0x6);_0x4c07a({'imageId':_0x4e2b40,'imageSourceType':_0x54b8f5['ImageSourceType'][_0x49568f(0x28c)],'source':_0x5e4fcb,'base64Cache':_0x19ab06,'status':_0x54b8f5[_0x49568f(0x5ca)]['SUCCUSS']}),this[_0x49568f(0x5a0)]();};});}[_0x2a4c41(0x1ee)](){const _0xbe35ce=_0x2a4c41;var _0x4e2b6b,_0x160b6f;const _0x55c1b4=this[_0xbe35ce(0x1ec)][_0xbe35ce(0x53c)](_0x387588),_0xd5a548=this[_0xbe35ce(0x1ec)][_0xbe35ce(0x53c)](_0x576146);return(_0x160b6f=(_0x4e2b6b=_0xd5a548==null?void 0x0:_0xd5a548[_0xbe35ce(0x420)])!=null?_0x4e2b6b:_0x55c1b4)!=null?_0x160b6f:_0x421810;}[_0x2a4c41(0x4db)](){const _0x309cca=_0x2a4c41;var _0x441123,_0x4a50ef;const _0x4afb3e=this[_0x309cca(0x1ec)][_0x309cca(0x53c)](_0x4a68fd),_0x466981=this[_0x309cca(0x1ec)][_0x309cca(0x53c)](_0x576146);return(_0x4a50ef=(_0x441123=_0x466981==null?void 0x0:_0x466981[_0x309cca(0x259)])!=null?_0x441123:_0x4afb3e)!=null?_0x4a50ef:_0xee8059;}[_0x2a4c41(0x56c)](){const _0x5c6714=_0x2a4c41;var _0x14239c;const _0x5c52c4=this['_configService'][_0x5c6714(0x53c)](_0x576146);return(_0x14239c=_0x5c52c4==null?void 0x0:_0x5c52c4['downloadEndpointUrl'])!=null?_0x14239c:location['origin'];}[_0x2a4c41(0x2ab)](_0xc90f5e,_0x167b1d){const _0x3b0011=_0x2a4c41;return _0xc90f5e[_0x3b0011(0x24f)](_0x3b0011(0x386),_0x167b1d);}[_0x2a4c41(0x5a0)](){const _0x40a31b=_0x2a4c41;this[_0x40a31b(0x473)]-=0x1,this[_0x40a31b(0x1be)][_0x40a31b(0x380)](this[_0x40a31b(0x473)]);}},_0x119e5f[_0x2a4c41(0x368)]=_0x471a66([_0x1141b9(0x0,_0x42e035[_0x2a4c41(0x29d)](_0x45f1e1[_0x2a4c41(0x216)])),_0x1141b9(0x1,_0x42e035[_0x2a4c41(0x25b)]),_0x1141b9(0x2,_0x42e035['Inject'](_0x42e035[_0x2a4c41(0x281)]))],_0x119e5f[_0x2a4c41(0x368)]);var _0x295096=Object[_0x2a4c41(0x38e)],_0x12d737=Object['getOwnPropertyDescriptor'],_0x150f22=(_0x5d1fb9,_0x5b5537,_0x4782b4,_0x2adee5)=>{const _0x539e78=_0x2a4c41;for(var _0x517d7c=_0x2adee5>0x1?void 0x0:_0x2adee5?_0x12d737(_0x5b5537,_0x4782b4):_0x5b5537,_0x149683=_0x5d1fb9[_0x539e78(0x250)]-0x1,_0x3793a9;_0x149683>=0x0;_0x149683--)(_0x3793a9=_0x5d1fb9[_0x149683])&&(_0x517d7c=(_0x2adee5?_0x3793a9(_0x5b5537,_0x4782b4,_0x517d7c):_0x3793a9(_0x517d7c))||_0x517d7c);return _0x2adee5&&_0x517d7c&&_0x295096(_0x5b5537,_0x4782b4,_0x517d7c),_0x517d7c;},_0x2a7500=(_0x381492,_0x7664cf)=>(_0x1c4cf8,_0x4c6204)=>_0x7664cf(_0x1c4cf8,_0x4c6204,_0x381492);let _0x2b37a6=class extends _0x42e035['RxDisposable']{constructor(_0x9f861c,_0xa0372d,_0x33ad92,_0x377909,_0x334847){const _0x231438=_0x2a4c41;super(),this[_0x231438(0x1a2)]=_0x9f861c,this[_0x231438(0x3b9)]=_0xa0372d,this['_permissionService']=_0x33ad92,this[_0x231438(0x2d6)]=_0x377909,this[_0x231438(0x2b1)]=_0x334847,this[_0x231438(0x1e3)](),this[_0x231438(0x440)]();}[_0x2a4c41(0x440)](){const _0x59bd3a=_0x2a4c41,_0x4c2df7=async _0x536b86=>{const _0x34373d=_0x5025;(await this['_collaborationSessionService']['requireSession'](_0x536b86))[_0x34373d(0x239)]['pipe'](_0xfd004d[_0x34373d(0x45c)](_0x58ab04=>_0x58ab04[_0x34373d(0x36d)]===_0x1a2c53[_0x34373d(0x292)]['SHOULD_CLOSE_CONN']),_0xfd004d[_0x34373d(0x1ed)](this[_0x34373d(0x311)]))[_0x34373d(0x543)](_0x19edf3=>{const _0x4fc9cb=_0x34373d,_0x2d9f40=_0x19edf3,{reason:_0x214df7}=_0x2d9f40[_0x4fc9cb(0x5c8)];this[_0x4fc9cb(0x1a2)][_0x4fc9cb(0x3ae)](_0x576301[_0x4fc9cb(0x214)])[_0x4fc9cb(0x451)]({'type':_0x25691d[_0x4fc9cb(0x2ee)][_0x4fc9cb(0x3d6)],'content':this[_0x4fc9cb(0x2b1)]['t'](_0x4fc9cb(0x3b7))+'('+_0x214df7+')'}),this[_0x4fc9cb(0x411)][_0x4fc9cb(0x524)](new _0x2d44ec[(_0x4fc9cb(0x2bb))](_0x536b86)['id'],!0x1),this[_0x4fc9cb(0x2d6)][_0x4fc9cb(0x19f)](_0x536b86);});};_0x40c8d9[_0x59bd3a(0x1fe)](this[_0x59bd3a(0x3b9)][_0x59bd3a(0x26d)](_0x42e035[_0x59bd3a(0x373)]['UNIVER_SHEET']),this['_univerInstanceService'][_0x59bd3a(0x26d)](_0x42e035[_0x59bd3a(0x373)]['UNIVER_DOC']))[_0x59bd3a(0x4b4)](_0xfd004d['map'](_0x30f5db=>_0x30f5db['getUnitId']()),_0xfd004d[_0x59bd3a(0x45c)](_0x42b053=>!_0x42e035[_0x59bd3a(0x2d0)](_0x42b053)),_0xfd004d[_0x59bd3a(0x1ed)](this['dispose$']))[_0x59bd3a(0x543)](_0xc1fecb=>{_0x4c2df7(_0xc1fecb);});}[_0x2a4c41(0x1e3)](){const _0x225296=_0x2a4c41,_0x265cdc=async _0x473354=>{const _0x23c07a=_0x5025;(await this[_0x23c07a(0x2d6)][_0x23c07a(0x532)](_0x473354))[_0x23c07a(0x239)][_0x23c07a(0x4b4)](_0xfd004d[_0x23c07a(0x45c)](_0x34cc6d=>_0x34cc6d[_0x23c07a(0x36d)]===_0x1a2c53[_0x23c07a(0x292)]['UPDATE_PERMISSION_OBJ']),_0xfd004d['takeUntil'](this['dispose$']))['subscribe'](_0x7b67b8=>{const _0x584632=_0x23c07a,_0x43b1cf=_0x7b67b8,{objectId:_0x56abf7}=_0x43b1cf[_0x584632(0x5c8)],_0x165951=this[_0x584632(0x1a2)][_0x584632(0x3ae)](_0x29357b[_0x584632(0x351)]);_0x56abf7===_0x473354?_0x165951[_0x584632(0x462)](_0x473354):_0x165951['refreshPermission'](_0x473354,_0x56abf7);});};_0x40c8d9[_0x225296(0x1fe)](this[_0x225296(0x3b9)][_0x225296(0x26d)](_0x42e035[_0x225296(0x373)]['UNIVER_SHEET']),this['_univerInstanceService'][_0x225296(0x26d)](_0x42e035[_0x225296(0x373)][_0x225296(0x441)]))[_0x225296(0x4b4)](_0xfd004d[_0x225296(0x3bc)](_0x1dd085=>_0x1dd085[_0x225296(0x506)]()),_0xfd004d[_0x225296(0x45c)](_0x1078e4=>!_0x42e035[_0x225296(0x2d0)](_0x1078e4)),_0xfd004d['takeUntil'](this[_0x225296(0x311)]))[_0x225296(0x543)](_0x43bcca=>{_0x265cdc(_0x43bcca);});}};_0x2b37a6=_0x150f22([_0x2a7500(0x0,_0x42e035['Inject'](_0x42e035[_0x2a4c41(0x2bf)])),_0x2a7500(0x1,_0x42e035[_0x2a4c41(0x281)]),_0x2a7500(0x2,_0x42e035[_0x2a4c41(0x378)]),_0x2a7500(0x3,_0x42e035['Inject'](_0x119e5f[_0x2a4c41(0x56d)])),_0x2a7500(0x4,_0x42e035[_0x2a4c41(0x29d)](_0x42e035[_0x2a4c41(0x39c)]))],_0x2b37a6);var _0x337e0a=Object[_0x2a4c41(0x38e)],_0x117ea2=Object[_0x2a4c41(0x317)],_0x41b8f2=(_0x43727d,_0x4c959e,_0x278303,_0x3a33be)=>{const _0x15bc20=_0x2a4c41;for(var _0x2438d3=_0x3a33be>0x1?void 0x0:_0x3a33be?_0x117ea2(_0x4c959e,_0x278303):_0x4c959e,_0x519a4c=_0x43727d[_0x15bc20(0x250)]-0x1,_0xae839f;_0x519a4c>=0x0;_0x519a4c--)(_0xae839f=_0x43727d[_0x519a4c])&&(_0x2438d3=(_0x3a33be?_0xae839f(_0x4c959e,_0x278303,_0x2438d3):_0xae839f(_0x2438d3))||_0x2438d3);return _0x3a33be&&_0x2438d3&&_0x337e0a(_0x4c959e,_0x278303,_0x2438d3),_0x2438d3;},_0xf3fcf4=(_0x19e303,_0x6698aa)=>(_0x66992a,_0x362161)=>_0x6698aa(_0x66992a,_0x362161,_0x19e303);_0x119e5f[_0x2a4c41(0x21d)]=class{constructor(_0x1dbd02,_0x558e13){const _0x26c774=_0x2a4c41;this[_0x26c774(0x1ec)]=_0x1dbd02,this[_0x26c774(0x34d)]=_0x558e13;}async[_0x2a4c41(0x565)](_0x425201,_0x416dcf){const _0x18b86e=_0x2a4c41;var _0x1a52c4;const {unitID:_0x4404da,type:_0x35e48f,revision:_0x55bbcd=0x0}=_0x416dcf,_0x7b3cce=this[_0x18b86e(0x5a6)]()+'/'+_0x35e48f+_0x18b86e(0x1f3)+_0x4404da+'/rev/'+_0x55bbcd,_0x5157c3=(await this[_0x18b86e(0x34d)]['get'](_0x7b3cce))[_0x18b86e(0x566)],_0x4666e7=(_0x1a52c4=_0x5157c3[_0x18b86e(0x403)])==null?void 0x0:_0x1a52c4['workbook'];if(_0x4666e7){const _0x4d2264=_0x4666e7==null?void 0x0:_0x4666e7['originalMeta'],_0x4b6cc6=_0x1a2c53['textEncoder'][_0x18b86e(0x3ff)](_0x1a2c53['b64DecodeUnicode'](_0x4d2264));_0x4666e7[_0x18b86e(0x50f)]=_0x4b6cc6,Object['entries'](_0x4666e7['sheets'])[_0x18b86e(0x3f5)](([,_0x19cd32])=>{const _0x9f0ed9=_0x18b86e,_0x49d365=_0x19cd32[_0x9f0ed9(0x50f)],_0x425e0e=_0x1a2c53[_0x9f0ed9(0x508)][_0x9f0ed9(0x3ff)](_0x1a2c53['b64DecodeUnicode'](_0x49d365));_0x19cd32[_0x9f0ed9(0x50f)]=_0x425e0e;});}return _0x5157c3;}async[_0x2a4c41(0x516)](_0x1c4919,_0x58704f){const _0x5d28ae=_0x2a4c41,{unitID:_0x1ceacb,type:_0x1f603d,blockID:_0x909162}=_0x58704f,_0x95c9a2=this[_0x5d28ae(0x45a)]()+'/'+_0x1f603d+_0x5d28ae(0x1f3)+_0x1ceacb+'/block/'+_0x909162;return(await this[_0x5d28ae(0x34d)][_0x5d28ae(0x3ae)](_0x95c9a2))['body'];}async['getDeserializedSheetBlock'](_0x117d59,_0x2cc595){const _0x4b0f37=_0x2a4c41,{unitID:_0xd43d0d,type:_0x4f148a,blockID:_0x239be7}=_0x2cc595,_0x26554d=this['_getAPIPrefix']()+'/block/'+_0x4f148a+_0x4b0f37(0x1f3)+_0xd43d0d+_0x4b0f37(0x392)+_0x239be7;return(await this[_0x4b0f37(0x34d)]['get'](_0x26554d))[_0x4b0f37(0x566)];}async['fetchMissingChangesets'](_0x8147e7,_0x1e722e){const _0x54d1cd=_0x2a4c41,{unitID:_0x52edfe,type:_0x1f0868,from:_0x58c52f,to:_0x4fe5bb}=_0x1e722e,_0x59bc84=this['_getAPIPrefix']()+'/'+_0x1f0868+_0x54d1cd(0x1f3)+_0x52edfe+'/fetchmissing?from='+_0x58c52f+_0x54d1cd(0x545)+_0x4fe5bb;return(await this[_0x54d1cd(0x34d)]['get'](_0x59bc84))[_0x54d1cd(0x566)];}[_0x2a4c41(0x5a6)](){const _0x2ab389=_0x2a4c41;var _0x15292c;return(_0x15292c=this[_0x2ab389(0x1ec)][_0x2ab389(0x53c)](_0x3fe4ba))!=null?_0x15292c:this[_0x2ab389(0x45a)]();}['_getAPIPrefix'](){const _0x42f865=_0x2a4c41;var _0x5359ca,_0x21b44b;const _0xb63601=this[_0x42f865(0x1ec)][_0x42f865(0x53c)](_0x29e843),_0x6a420f=this['_configService'][_0x42f865(0x53c)](_0x576146);return(_0x21b44b=(_0x5359ca=_0x6a420f==null?void 0x0:_0x6a420f['snapshotServerUrl'])!=null?_0x5359ca:_0xb63601)!=null?_0x21b44b:_0x3d76bf;}async[_0x2a4c41(0x49e)](_0x1acbbf,_0x43e98b){const _0xb2ca2d=_0x2a4c41,_0x18a921=_0xb2ca2d(0x578)+_0x43e98b['type']+_0xb2ca2d(0x1f3)+_0x43e98b[_0xb2ca2d(0x3a4)]+'/resources';return(await this['_httpService'][_0xb2ca2d(0x3ae)](_0x18a921,{'params':{'resourceId':JSON[_0xb2ca2d(0x2a9)](_0x43e98b[_0xb2ca2d(0x323)])}}))[_0xb2ca2d(0x566)];}['saveSnapshot'](){const _0x44bf57=_0x2a4c41;throw new Error(_0x44bf57(0x4a2));}[_0x2a4c41(0x243)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2a4c41(0x3a1)](){const _0x3b695e=_0x2a4c41;throw new Error(_0x3b695e(0x4a2));}[_0x2a4c41(0x1ad)](){const _0xe8ea47=_0x2a4c41;throw new Error(_0xe8ea47(0x4a2));}},_0x119e5f[_0x2a4c41(0x21d)]=_0x41b8f2([_0xf3fcf4(0x0,_0x42e035['IConfigService']),_0xf3fcf4(0x1,_0x42e035['Inject'](_0x45f1e1['HTTPService']))],_0x119e5f[_0x2a4c41(0x21d)]);var _0x7ae60b=Object[_0x2a4c41(0x38e)],_0x204985=Object[_0x2a4c41(0x317)],_0x48521c=(_0x1241bd,_0x2ba384,_0x1f4a12,_0x59fe12)=>{const _0x2289a5=_0x2a4c41;for(var _0x569275=_0x59fe12>0x1?void 0x0:_0x59fe12?_0x204985(_0x2ba384,_0x1f4a12):_0x2ba384,_0x18cabc=_0x1241bd[_0x2289a5(0x250)]-0x1,_0xe24050;_0x18cabc>=0x0;_0x18cabc--)(_0xe24050=_0x1241bd[_0x18cabc])&&(_0x569275=(_0x59fe12?_0xe24050(_0x2ba384,_0x1f4a12,_0x569275):_0xe24050(_0x569275))||_0x569275);return _0x59fe12&&_0x569275&&_0x7ae60b(_0x2ba384,_0x1f4a12,_0x569275),_0x569275;},_0x5c334b=(_0x24a051,_0x168d41)=>(_0x238060,_0x10175b)=>_0x168d41(_0x238060,_0x10175b,_0x24a051);let _0x234682=class extends _0x42e035[_0x2a4c41(0x1f0)]{constructor(_0x46cacf,_0x110f4d,_0x5241c7,_0x5648c0,_0x578b25){const _0x4e770f=_0x2a4c41;super(_0x46cacf,_0x110f4d,_0x5241c7),this[_0x4e770f(0x421)]=_0x5648c0,this['_logService']=_0x578b25;}[_0x2a4c41(0x4a3)](_0x4bed59,_0x3540e7){const _0x24cbbd=_0x2a4c41,_0x4b1312=this[_0x24cbbd(0x4e9)](_0x4bed59);if(_0x4b1312)try{const _0x12f7c2=this[_0x24cbbd(0x4e4)](_0x4b1312,_0x3540e7);this['_substituteUndoStack'](_0x4bed59,_0x12f7c2);}catch(_0x118333){this['_logService'][_0x24cbbd(0x432)](_0x24cbbd(0x20c),_0x118333),this[_0x24cbbd(0x3ea)](_0x4bed59);}const _0x14fe1c=this[_0x24cbbd(0x2a8)](_0x4bed59);if(_0x14fe1c)try{const _0x3d090a=this[_0x24cbbd(0x4e4)](_0x14fe1c,_0x3540e7);this['_substituteRedoStack'](_0x4bed59,_0x3d090a);}catch(_0x257ca7){this['_logService'][_0x24cbbd(0x432)](_0x257ca7),this[_0x24cbbd(0x28b)](_0x4bed59);}}[_0x2a4c41(0x3ea)](_0x184ca0){const _0xadcc4a=_0x2a4c41,_0x226aaa=this[_0xadcc4a(0x4e9)](_0x184ca0);_0x226aaa&&(_0x226aaa[_0xadcc4a(0x250)]=0x0,this['_updateStatus']());}['_clearRedo'](_0xd87657){const _0x308cc4=_0x2a4c41,_0x120746=this['_getRedoStack'](_0xd87657);_0x120746&&(_0x120746[_0x308cc4(0x250)]=0x0,this[_0x308cc4(0x585)]());}[_0x2a4c41(0x371)](_0x2d6547,_0x535809){const _0x39a721=_0x2a4c41;this[_0x39a721(0x3f0)][_0x39a721(0x1c0)](_0x2d6547,_0x535809),this[_0x39a721(0x585)]();}['_substituteRedoStack'](_0x41824b,_0x5380f0){const _0x28f5f5=_0x2a4c41;this['_redoStacks'][_0x28f5f5(0x1c0)](_0x41824b,_0x5380f0),this[_0x28f5f5(0x585)]();}[_0x2a4c41(0x4e4)](_0x4e7997,_0x31b2a1){const _0x3293d4=_0x2a4c41,_0x3f80af=[];let _0x1b1a7d=_0x31b2a1,_0x5d181c=_0x31b2a1;for(let _0x19eae2=_0x4e7997[_0x3293d4(0x250)]-0x1;_0x19eae2>=0x0;_0x19eae2--){const {unitID:_0x5cc13e,undoMutations:_0x503faa,redoMutations:_0x54b111}=_0x4e7997[_0x19eae2],_0x230fb9=this[_0x3293d4(0x421)][_0x3293d4(0x211)](_0x1b1a7d,_0x503faa),_0x5694a3=this[_0x3293d4(0x421)]['transformMutationsWithChangeset'](_0x5d181c,_0x54b111);if(_0x1a2c53['isTransformMutationsWithChangesetFailure'](_0x230fb9)||_0x1a2c53[_0x3293d4(0x4d4)](_0x5694a3)){this[_0x3293d4(0x1ae)][_0x3293d4(0x432)](_0x3293d4(0x20c),_0x3293d4(0x26a),_0x230fb9,_0x5694a3);break;}_0x1b1a7d=_0x230fb9['c1Prime'],_0x5d181c=_0x5694a3[_0x3293d4(0x1b3)],_0x3f80af[_0x3293d4(0x408)]({'unitID':_0x5cc13e,'undoMutations':_0x230fb9['m2Prime'],'redoMutations':_0x5694a3[_0x3293d4(0x492)]});}return _0x3f80af[_0x3293d4(0x42a)]();}};_0x234682=_0x48521c([_0x5c334b(0x0,_0x42e035[_0x2a4c41(0x281)]),_0x5c334b(0x1,_0x42e035[_0x2a4c41(0x219)]),_0x5c334b(0x2,_0x42e035[_0x2a4c41(0x2cf)]),_0x5c334b(0x3,_0x1a2c53[_0x2a4c41(0x41f)]),_0x5c334b(0x4,_0x42e035[_0x2a4c41(0x5ae)])],_0x234682);class _0x220af0 extends _0x42e035[_0x2a4c41(0x43e)]{constructor(){const _0x411348=_0x2a4c41;super(),_0x3a0856(this,_0x411348(0x459)),this[_0x411348(0x459)]=_0x40c8d9[_0x411348(0x310)](window,_0x411348(0x405))[_0x411348(0x4b4)](_0x40c8d9[_0x411348(0x1ed)](this[_0x411348(0x311)]),_0x40c8d9['shareReplay'](0x1),_0x40c8d9[_0x411348(0x3f4)](void 0x0));}[_0x2a4c41(0x457)](_0x476f60,_0x630d05,_0x326de6=!0x1){const _0x30c2aa=_0x2a4c41,_0xbc4bcc=new URL(window[_0x30c2aa(0x39d)][_0x30c2aa(0x288)]);_0xbc4bcc['searchParams'][_0x30c2aa(0x1c0)](_0x476f60,_0x630d05),_0x326de6?window[_0x30c2aa(0x58b)]['replaceState']('','',_0xbc4bcc[_0x30c2aa(0x3ef)]()):window[_0x30c2aa(0x58b)]['pushState']('','',_0xbc4bcc['toString']());}[_0x2a4c41(0x248)](_0x1d736e,_0x5f1270=!0x1){const _0x2fd232=_0x2a4c41,_0x16e69b=new URL(window[_0x2fd232(0x39d)][_0x2fd232(0x288)]);_0x16e69b['searchParams'][_0x2fd232(0x536)](_0x1d736e),_0x5f1270?window[_0x2fd232(0x58b)][_0x2fd232(0x1f7)]('','',_0x16e69b[_0x2fd232(0x3ef)]()):window[_0x2fd232(0x58b)]['pushState']('','',_0x16e69b[_0x2fd232(0x3ef)]());}[_0x2a4c41(0x53f)](_0xdecf04){const _0x42c508=_0x2a4c41;var _0x48721e;return(_0x48721e=new URL(window[_0x42c508(0x39d)][_0x42c508(0x288)])[_0x42c508(0x26f)][_0x42c508(0x3ae)](_0xdecf04))!=null?_0x48721e:void 0x0;}}var _0x3dd7bb=Object[_0x2a4c41(0x38e)],_0x32f2a5=Object['getOwnPropertyDescriptor'],_0x46f0d0=(_0x41b88e,_0x4dcf34,_0x505a86)=>_0x4dcf34 in _0x41b88e?_0x3dd7bb(_0x41b88e,_0x4dcf34,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x505a86}):_0x41b88e[_0x4dcf34]=_0x505a86,_0x351506=(_0x279b66,_0x4b6169,_0x222b3b,_0x4fed9d)=>{const _0x55bff4=_0x2a4c41;for(var _0x17da22=_0x4fed9d>0x1?void 0x0:_0x4fed9d?_0x32f2a5(_0x4b6169,_0x222b3b):_0x4b6169,_0xd10cf4=_0x279b66[_0x55bff4(0x250)]-0x1,_0x45d48c;_0xd10cf4>=0x0;_0xd10cf4--)(_0x45d48c=_0x279b66[_0xd10cf4])&&(_0x17da22=(_0x4fed9d?_0x45d48c(_0x4b6169,_0x222b3b,_0x17da22):_0x45d48c(_0x17da22))||_0x17da22);return _0x4fed9d&&_0x17da22&&_0x3dd7bb(_0x4b6169,_0x222b3b,_0x17da22),_0x17da22;},_0x2ba8d6=(_0x28166f,_0x3b74d1)=>(_0x118877,_0x34bfc8)=>_0x3b74d1(_0x118877,_0x34bfc8,_0x28166f),_0x1b114d=(_0x46cd58,_0x91a3be,_0x57ea6e)=>_0x46f0d0(_0x46cd58,_0x91a3be+'',_0x57ea6e);const _0x2d15aa='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x119e5f[_0x2a4c41(0x2a7)]=class extends _0x42e035[_0x2a4c41(0x245)]{constructor(_0x527bdb=_0x4caf99,_0x6de407,_0x36d82b,_0x177295,_0x299412){const _0x320eac=_0x2a4c41;super(),this[_0x320eac(0x461)]=_0x527bdb,this['_logService']=_0x6de407,this[_0x320eac(0x347)]=_0x36d82b,this[_0x320eac(0x1a2)]=_0x177295,this[_0x320eac(0x1ec)]=_0x299412;const {..._0x2e1d73}=this[_0x320eac(0x461)];this[_0x320eac(0x1ec)][_0x320eac(0x535)](_0x576146,_0x2e1d73);}[_0x2a4c41(0x337)](){const _0x398758=_0x2a4c41;this[_0x398758(0x52c)](),_0x42e035[_0x398758(0x526)](this[_0x398758(0x1a2)],[[_0x16fe18],[_0x119e5f['DataLoaderController']],[_0x2b37a6]]);}[_0x2a4c41(0x2e1)](){const _0x1a584d=_0x2a4c41;_0x42e035[_0x1a584d(0x526)](this[_0x1a584d(0x1a2)],[[_0x36737d]]);}[_0x2a4c41(0x37a)](){const _0x35c076=_0x2a4c41;this[_0x35c076(0x374)]();}[_0x2a4c41(0x52c)](){const _0x556d6b=_0x2a4c41;var _0x307731,_0x3a76fc,_0x1ac7e2,_0x2571c2;this[_0x556d6b(0x1a2)]['has'](_0x42e035['IUndoRedoService'])&&this[_0x556d6b(0x1ae)][_0x556d6b(0x432)]('[UniverCollaborationClientPlugin]',_0x556d6b(0x3f8));let _0x501c25=[[_0x42e035[_0x556d6b(0x598)],{'useClass':_0x234682}],[_0x119e5f['CollaborationSessionService']],[_0x23d026],[_0x45f1e1[_0x556d6b(0x216)]],[_0x462fee,{'useClass':_0x220af0}],[_0x4c4596],[_0x119e5f[_0x556d6b(0x36c)]],[_0x45f1e1[_0x556d6b(0x4bc)]],[_0x17ff71],[_0x1957db],[_0x3f2c42],[_0x293121],[_0x1a57cc],[_0x59b952],[_0x4ae63a],[_0x2b37a6],[_0x3a65c4,{'useClass':(_0x3a76fc=(_0x307731=this[_0x556d6b(0x461)])==null?void 0x0:_0x307731[_0x556d6b(0x468)])!=null?_0x3a76fc:_0x119e5f['CollaborationSocketService']}],[_0x45f1e1[_0x556d6b(0x3a5)],{'useClass':_0x45f1e1['XHRHTTPImplementation']}],[_0x1a2c53['ISnapshotServerService'],{'useClass':_0x119e5f[_0x556d6b(0x21d)]}],[_0x42e035[_0x556d6b(0x50c)],{'useClass':_0x119e5f['AuthzIoHttpService']}],[_0x54b8f5[_0x556d6b(0x3ca)],{'useClass':_0x119e5f['ImageIoService']}],[_0x119e5f[_0x556d6b(0x284)]],[_0x119e5f[_0x556d6b(0x54e)]],[_0x119e5f['DesktopCollaborationStatusDisplayController']],[_0x36737d],[_0x16fe18]];(_0x1ac7e2=this[_0x556d6b(0x461)])!=null&&_0x1ac7e2[_0x556d6b(0x515)]&&_0x501c25[_0x556d6b(0x408)]([_0x506d1b,{'useClass':_0x2ade6a}]),_0x501c25=_0x42e035[_0x556d6b(0x230)](_0x501c25,(_0x2571c2=this[_0x556d6b(0x461)])==null?void 0x0:_0x2571c2[_0x556d6b(0x341)]),_0x501c25['forEach'](_0x333591=>this[_0x556d6b(0x1a2)]['add'](_0x333591)),this[_0x556d6b(0x586)]();}[_0x2a4c41(0x374)](){const _0x4314d3=_0x2a4c41;this[_0x4314d3(0x594)](this[_0x4314d3(0x347)][_0x4314d3(0x4d8)](_0x42e035[_0x4314d3(0x373)][_0x4314d3(0x441)],[_0x5b426f])),this[_0x4314d3(0x594)](this['_renderManagerService'][_0x4314d3(0x4d8)](_0x42e035[_0x4314d3(0x373)][_0x4314d3(0x56a)],[_0x1d618f]));}['_initModules'](){const _0x44bb64=_0x2a4c41;var _0x387142,_0xbab8dd;this[_0x44bb64(0x1a2)][_0x44bb64(0x3ae)](_0x45f1e1[_0x44bb64(0x216)])[_0x44bb64(0x28f)]({'priority':0x14,'interceptor':_0x45f1e1[_0x44bb64(0x4be)]({'maxParallel':0x6})}),this[_0x44bb64(0x1a2)][_0x44bb64(0x3ae)](_0x59b952),(_0x387142=this['_config'])!=null&&_0x387142[_0x44bb64(0x406)]||this['_injector']['get'](_0x119e5f['LocalCacheService'])[_0x44bb64(0x2cc)](),(_0xbab8dd=this[_0x44bb64(0x461)])!=null&&_0xbab8dd['enableAuthServer']&&this['_injector'][_0x44bb64(0x3ae)](_0x1a57cc),this[_0x44bb64(0x1a2)][_0x44bb64(0x3ae)](_0x119e5f['CollaborationController']),this[_0x44bb64(0x1a2)][_0x44bb64(0x471)](_0x119e5f[_0x44bb64(0x529)])&&this[_0x44bb64(0x1a2)]['get'](_0x119e5f[_0x44bb64(0x529)]);}},_0x1b114d(_0x119e5f[_0x2a4c41(0x2a7)],_0x2a4c41(0x1d4),_0x2d15aa),_0x119e5f[_0x2a4c41(0x2a7)]=_0x351506([_0x42e035[_0x2a4c41(0x376)](_0x1a2c53[_0x2a4c41(0x1d2)]),_0x2ba8d6(0x1,_0x42e035[_0x2a4c41(0x5ae)]),_0x2ba8d6(0x2,_0x7f7413['IRenderManagerService']),_0x2ba8d6(0x3,_0x42e035['Inject'](_0x42e035[_0x2a4c41(0x2bf)])),_0x2ba8d6(0x4,_0x42e035[_0x2a4c41(0x25b)])],_0x119e5f[_0x2a4c41(0x2a7)]),_0x119e5f[_0x2a4c41(0x3ab)]=_0x17182c,_0x119e5f[_0x2a4c41(0x37e)]=_0x1f5d13,_0x119e5f['COLLAB_WEB_SOCKET_URL_KEY']=_0x1c4bb5,_0x119e5f[_0x2a4c41(0x22e)]=_0x115871,_0x119e5f[_0x2a4c41(0x4e6)]=_0x354f89,_0x119e5f[_0x2a4c41(0x5d1)]=_0x4ae63a,_0x119e5f[_0x2a4c41(0x2cb)]=_0x300f15,_0x119e5f[_0x2a4c41(0x22b)]=_0x5824fe,_0x119e5f[_0x2a4c41(0x43f)]=_0x3a65c4,_0x119e5f[_0x2a4c41(0x45e)]=_0x462fee,_0x119e5f[_0x2a4c41(0x3bb)]=_0x37a242,_0x119e5f[_0x2a4c41(0x5d2)]=_0x47525d,_0x119e5f[_0x2a4c41(0x41b)]=_0x5d1651,_0x119e5f['SEND_CHANGESET_TIMEOUT_KEY']=_0x37e430,_0x119e5f[_0x2a4c41(0x2af)]=_0x29e843,_0x119e5f['SNAPSHOT_URL_KEY']=_0x3fe4ba,_0x119e5f['SessionStatus']=_0x4246bc,_0x119e5f['SheetCollabCursorShape']=_0x34d446,_0x119e5f[_0x2a4c41(0x465)]=_0x220af0,_0x119e5f['deserializeToCombResponse']=_0x40c376,_0x119e5f[_0x2a4c41(0x5bb)]=_0xf1fd71,Object[_0x2a4c41(0x38e)](_0x119e5f,Symbol[_0x2a4c41(0x47b)],{'value':_0x2a4c41(0x5d0)});}));function _0x5025(_0x5ddb1b,_0x4ccde5){const _0x4c1212=_0x4c12();return _0x5025=function(_0x502514,_0x45e526){_0x502514=_0x502514-0x19f;let _0x4b6259=_0x4c1212[_0x502514];return _0x4b6259;},_0x5025(_0x5ddb1b,_0x4ccde5);}function _0x4c12(){const _0x397fdd=['_unitOnClients','ThresholdInterceptorFactory','ISnapshotServerService','localeService','UniverNetwork','UniverDrawing','getCellPositionByOffset','pending','_socketReady','then','_hover','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','withCredentials','onSyncEditingCollabCursor','Subject','method','_createSocket','values','fetchThroughInterceptors','getSheetId','SYNCED','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','on-line-single','isTransformMutationsWithChangesetFailure','3728112nXKRzO','10MkLzwC','10HLVvGI','registerRenderModule','_HTTPService','_replayCachedMutations','_getSignURL','selections','saveImage','RECV','_clearLocalCache','@univerjs/drawing','_onLocalMutation','save','DocSelectionManagerService','_transformStack','&source=','CollaborationStatusDisplay','all','/universer-api/oidc/authpage','_getUndoStack','div','_cursors','clipPath','setUndoRedoMutationParamsCache','UniverEngineFormula','_toggleOffline','_onRemoteChangeset','getMemberID','unknown','visibilitychange','objectType','_unitID','onStateChange','26603XVtpTB','FromArray','dispose','Error\x20on\x20receiving\x20event','COLLAB_SUBMIT_CHANGESET_URL','find','drawWith','_state','_collaborationController','\x0aAfter:\x20','_getSaveTimeout','_onCursorDelete','_send','infoRsp','_roomMembers','getUnitId','getActiveRange','textEncoder','_scheduleHeartbeat','_onRecvEvent','status$','IAuthzIoService','getAncestorScale','doc.mutation.rich-text-editing','originalMeta','_tryEnsureSocket','list','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','UNKNOWN_CODE','_onMessage','enableSingleActiveInstanceLock','getSheetBlock','HttpExport','ALREADY_EXISTS','LEAVE','FETCH_MISS','session.will-retry','_userManagerService','_awaitingChangeset','_refRangeService','userID','verdancy600','height','_context','complete','updatePermissionPoint','onlineStatusTitle','touchDependencies','_anchor','_sessions','DesktopCollaborationStatusDisplayController','_scheduleClearOtherTimer','/object/','_registerDependencies','_clearScheduledTask','translate(.97)','_localCacheService','_entityInit$','getActiveSheet','requireSession','_exhaustRemoteChangesetQueue','_memberService','setConfig','delete','fillText','serializeRangeWithSheet','routeKey','_http','_labelPosition','getConfig','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_session','getParam','RemoveColCommandId','ITelemetryService','UniverDocsUi','subscribe','bottom','&to=','isTransformChangesetsSuccess','fill','onRemoteAck','csAckEvent','_toggleOnline','handleMoveRange','[OfflineState]:\x20received\x20rejection.','BehaviorSubject','DataLoaderController','UNIVER_SLIDE','/universer-api/comb','listCollaborators','_backgroundColor','_setupSubUnitSync','collaMsg','awaitingChangeset','assign','SHOULD_CLOSE_CONN','setActiveRange','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','runRefRangeMutations','onPointerEnter$','RETRY_CONNECTING_MAX_COUNT','PENDING','MUTATION','UniverEngineRender','\x20-\x20','arc','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','top','unshift','getUnitOnRev','body','setInterval','_onUserJoin','Optional','UNIVER_SHEET','makeDirty','_getDownloadEndpointURL','CollaborationSessionService','fillRule','conflict','Univer','_range','collabCursorState$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','function','_uiPartsService','onMissingChangesets','_onOffline','/universer-api/snapshot/','image/jpeg','retryConnectingInterval','switchMap','LICENSE_IMPORT_SIZE_EXCEEDED','addEventListener','number','PSEUDO_FETCH_MISSING_RESULT','url','setWaitCount','SetDocZoomRatioOperation','awaiting_with_pending','_cachedData','_updateStatus','_initModules','sessionStatus$','url(#off-line-single_clip0_910_343)','LIVESHARE_NEW_HOST','range','history','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_handleJoinEvent','blue400','onMissedChangesetFetched','UNIVER_PROJECT','_syncEditingCollabCursor','_status$','_lastPointer','disposeWithMe','entries','action','fromCollab','IUndoRedoService','TOO_MANY_REQUESTS','[CollaborationSession]','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','UNRECOGNIZED','LIVESHARE_REQUEST_HOST','649506hVXleG','SnapshotService','_decreaseWaiting','currentTheme$','UniverRpc','1088sFvQfW','SetWorksheetActivateCommand','getTypeOfUnitDisposed$','_getSnapshotAPIPrefix','readAsDataURL','_render','[SyncedState]:\x20received\x20acknowledgement.','onTransformSelections','Disposable','exports','createElement','ILogService','fetchMiss','ranges','RichTextEditingMutation','split','now','APPLY_NON_SEQUENTIAL_REVISION','_transitionLocked','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_removeClearOtherTimer','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','flatMap','_color','serializeCombRequest','getRoom','@univerjs/engine-render','_transformUndoredo','_fetchMissChangesets','DocStateChangeManagerService','_commentService','_handler','POST','_docTransformIMECacheService','_id','round','_getAPIPrefixPath','data','_localStorageService','ImageUploadStatusType','target','apply','BASE64','getFocusedUnit','univer-pro.collaboration-client.single-active-unit-service','Module','CommentService','LOGIN_URL_KEY','addObjects','onCommandExecuted','src','_removeRoom','DisposableCollection','closeSession','roomInfos','COMPRESS_MUTATION_APPLY','_injector','COMPLETION_FINISHED','UnitEmbedded','updateMember','duration','transformChangesets','isArray','_event$','colorChannel1','InsertRangeMoveRightCommandId','subscribeEvent','copyFileMeta','_logService','deserializeRangeWithSheet','_candidateSocket','_schedule','VIEW_MAIN','c1Prime','requestParams','6866024EkbDuZ','row','CollaborationSocketService','current','CHANGESET_REJ','USERS_LEAVE','reconnect','_throwTelemetryCollaborationNewChangeset','leaveEvent','_change$','_docSyncEditingCollabCursorService','set','onPointerLeave$','[CollaborationEntity]','getItem','Rect','batchAllowed','EmptyMutation','whenReady','UniverIcon','_drawAnchor','add','getUndoRedoMutationParamsCache','defIds','throttleTime','[CollaborationSessionService]:\x20socket\x20error','LICENSE_MAX_UNITS_EXCEEDED','CollaborationEntity','column','UniverCollaborationPlugin','DEFAULT_FILE_NAME','pluginName','_commentUpdate$','univer-online-status-title','_ws','_transformPreviousActiveRange','cmd','put','_listenToOfflineEvent','_initStatusComponent','EffectRefRangId','_stopTelemetryCollaborationNewChangeset','HEARTBEAT','_clearOtherTimers','[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.','getUnhiddenWorksheets','_initUnitPermissionChange','SNAPSHOT_INVALID_SNAPSHOT','_imageSourceCache','transformMutation','shareReplay','_clearTimeoutTimer','_colorIndex','UnitSnapshot','online','_configService','takeUntil','_getUploadFileURL','UNAUTHENTICATED','LocalUndoRedoService','RegularPolygon','1em','/unit/','SEND_CHANGESET_TIMEOUT','SNAPSHOT_URL_KEY','CollaborationSession','replaceState','onlineStatusIcon','getWorkbookSelections','_draw','_createInitialState','react','purple300','merge','@univerjs/docs-ui','@univerjs/rpc','@univerjs/network','React','isTransformMutationFailure','_name','lineTo','fetch_missing','TEXT_RANGE_LAYER_INDEX','_beforeCloseService','compose','objectActions','ImageSourceType','[CollaborationUndoRedoService]','_undoRedoService','onCommentUpdate','propertyIsEnumerable','collabStatus.synced','transformMutationsWithChangeset','send','_transformRemoteChangesetByIMECache','IMessageService','currentSkeleton$','HTTPService','black','_roomMembers$','ICommandService','open$','[PendingState]:\x20received\x20acknowledgement.','#FFF','SnapshotServerOverHTTPService','LIVESHARE_OPERATION','/universer-api/snapshot','OnLineSingle','operators','unitId','init','liveShareNewHost','attrs','not_collab','append','PERMISSION_REJ','_loadDoc','[DataLoaderController]','HEARTBEAT_TIMEOUT_KEY','onPointerMove$','_socket$','CollaborationStatus','registerRefRange','mergeOverrideWithDependencies','path','object','YUUMI_URL_COL_OUT_OF_RANGE','getCurrentRevOfUnit','max','YUUMI_UNABLE_LOAD_URL','...','FETCH_MISSING','event$','DocSkeletonManagerService','defs','registerOnClose','mutations','IDLE','distinctUntilChanged','socket\x20close','_startSheetCollabCursor','getCurrentSelections','saveSheetBlock','onMouseMove','Plugin','resolve','INTERNAL_ERROR','removeParam','UserManagerService','LIVESHARE_FETCH_OPERATIONS','_docSkeletonManagerService','isTransformMutationsWithChangesetSuccess','use','INotificationService','replace','length','_removeCollabCursors','_compressMutationService','UniverCollaboration','delay','_collaborationPaused','pauseCollaboration','_type','fillStyle','signUrlServerUrl','getTime','IConfigService','baseRev','_collabCursorState$','[OfflineState]:\x20received\x20acknowledgement.','newCsEvent','save\x20fail\x20reason\x20is\x20','className','syncEditingCollabCursor','APPLY_PERMISSION_DENIED','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','updateOfflineData','DeleteRangeMoveLeftCommandId','UniverUi','extend','liveShareOperation','transformStack\x20failed!','roomMembers','_queuedRemoteChangesets','getTypeOfUnitAdded$','catch','searchParams','every','ILocalStorageService','rev','_syncEditingCollabCursorService','beginPath','_updateLocalCache','getImageSourceCache','subUnitId','_onUserLeave','replaceTextRanges','call','_notificationService','icon','[PendingState]:\x20received\x20rejection.','from','_singleActiveUnitService','random','IUniverInstanceService','_assignedColors','_waitForHeartbeatResponse','CollaborationController','@univerjs/telemetry','_docTransformSelectionsService','_transformSelections','href','getUnitType','FileId','_clearRedo','UUID','unit-cache-','ACTIVE_UNIT_EVENT_CHANNEL','registerHTTPInterceptor','_retryCount','_online','CollaborationEvent','_getCurrentRevision','parseChangesetToProtocol','onRemoteRej','cursorInfo','getRenderById','textRanges','/new_changes','_timeoutTimer','reject','mapDocumentTypeToUniverType','Inject','on-line-single_clip0_910_349','_clearCollaborationTimeoutTimer','_saveCache','commentUpdateEvent','_sendingTimer','ERROR_IMAGE_TYPE','cursorInfo$','_collabSessionService','onTransformIME','UniverCollaborationClientPlugin','_getRedoStack','stringify','useObservable','_replaceFileID','DeleteRangeMoveUpCommandId','children','_hovered','SNAPSHOT_SERVER_URL_KEY','_collaborationTimeoutTimer','_localeService','_socketMessageSubscription','collabWebSocketUrl','UniverLicense','YUUMI_RATE_OVER_LIMIT','hide','moveTo','_createInitialStateImpl','APPLY_REJECT','_showConflictNotification','WorkbookEditablePermission','ERROR_EXCEED_SIZE','_hideTimer','_getSendChangesetTimeout','Injector','editingUnit','_setupBeforeClosingHandler','@univerjs/engine-formula','_sheetTransformSelectionsService','univer-offline','connection\x20error','off-line-single_clip0_910_343','collabStatus.conflict','rxjs','createIdentifier','awaiting','HEARTBEAT_INTERVAL_KEY','disableLocalCache','permission.title','getUniverSheetInstance','IContextService','isInternalEditorID','univerjs-icon\x20univerjs-icon-','_getCtorByUniverType','_handleHover','trim','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_collaborationSessionService','_docSkeleton','_onCombEvent','_applyRemoteChangeset','_transformUndoRedoStack','includes','JSONX','asObservable','authzUrl','state$','changesets','onReady','code','updateCollaborator','loginUrlKey','OffLineSingle','isActive','selection','ThemeService','sendChangesetTimeout','INGEST','slice','state','/universer-api/stream/file/upload','MessageType','getUnitStatus$','_initResize','_textBubble','_createHandler','_snapshotService','transformSelections','reduce','getCollabCursors$','visibilityState','deepClone','activeSheet$','74gcZRuZ','_refreshCollabCursors','_getAnchorBounding','createInstance','_entities','responseType','/collaborator','_telemetryService','CommandType','loadDoc','SetTextSelectionsOperation','40124PDUnHs','size','addObject','objectID','measureText','uni.network.url-service','_disableEditing','_rescheduleHeartbeat','labelPosition','_shouldReportTelemetry','onRemoteChangeset','fromEvent','dispose$','_loadSheet','_updateState','_cursor','_members','_disabled','getOwnPropertyDescriptor','IRenderManagerService','_messageService','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','concat','OFFLINE','closePath','_socket','_heartbeatTimer','1374003QAKIFQ','toRgbString','AuthzIoHttpService','resourceIDs','SheetCollaborationEntity','_getMergeRange','setAlpha','/allowed','_scheduleCollaborationTimeoutTimer','YUUMI_SUBSCRIPTION_NOT_FOUND','_state$','addImageSourceCache','getCurrentUser','getRangePointData','_getSheetObject','\x20to\x20','_onConnectionOpen','HEARTBEAT_INTERVAL','CONFLICT','_scheduleTimestamp','@univerjs/core','@univerjs-pro/license','InsertSheetMutation','onStarting','CHANGESET_REVISION_CONFILICT','_executeRemoteChangeset','updateCursorEvent','_startTelemetryCollaborationNewChangeset','startTime','collaboratorID','_onRemoteRejected','NOT_FOUND','socket$','override','collabSubmitChangesetUrl','_drawTextRange','onlyLocal','LIVESHARE_TERMINATE','removeMember','_renderManagerService','type','startsWith','@univerjs/sheets','_unlockTransition','Tools','_httpService','InsertRangeMoveDownCommandId','disposeUnit','clearTimeout','SheetPermissionInitController','_transformIMECache','_sheetSkeletonManagerService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_listenToOnlineEvent','getInterceptPoints','_cursorShapes','NodePositionConvertToCursor','getSheetObject','[CollaborationState]:\x20apply\x20error!','take','[OfflineState]:\x20received\x20changeset.','_pendingMutations','interceptor','JOIN','_retryConnectingTimer','MSG_FOR_ERROR','name','unit','onTransformChange$','loadOfflineData','collab-text-range-','getCoordByCell','ImageIoService','_commandService','xlink:href','_socketService','LocalCacheService','eventID','close','HTTPRequest','_handleEvent','_substituteUndoStack','commentUpdate$','UniverInstanceType','_registerRenderDependencies','resend','DependentOn','[PendingState]:\x20unhandled\x20univer\x20type:\x20','IPermissionService','_sendHeartbeatTimer','onRendered','synced','getOffsetConfig','_docStateChangeManagerService','COLLAB_SUBMIT_CHANGESET_URL_KEY','getValue','next','file','restore','UPDATE_CURSOR','parseProtocolChangeset','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','{fileID}','message$','update','svg','hidden','createCollaborator','saveOfflineData','InsertRowCommandId','defineProperty','prototype','with','string','/block/','_onCursorUpdate','_initStatusListener','onTransformRemoteChangesetByIMECache','off-line-single','_remoteChangesetQueue','getOwnPropertySymbols','amd','ERROR_IMAGE','INVALID_ARGUMENT','LocaleService','location','HELLO','triggerDblclick','image/bmp','saveChangeset','UniverDocs','SUBMIT_CHANGESET','unitID','IHTTPImplementation','&assign=','clear','putCollaborators','_startCollaboration','collaboration.single-unit.warning','AUTHZ_URL_KEY','confirm','debounce','get','APPLY_REVISION_CONFILICT','_ensureSubject','_onRefRangeChange','_updateCollabCursors','url(#on-line-single_clip0_910_349)','_colorAssignService','CONNECTOR_DATA_TOO_LARGE','getRelativeToViewportCoord','collaboration.closeRoom','findNodePositionByCharIndex','_univerInstanceService','registerComponent','LOCAL_CACHE_INTERVAL_KEY','map','getMember','hasOwnProperty','SheetsSelectionsService','createSocket','collaborators','_getScale','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','getImage','@univerjs/ui','toggleOffline','close$','HEADER_MENU','AWAITING','IImageIoService','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_onConnectionFailed','?size=','CHANGESET_ACK','[FetchMissState]','parse','tag','none','transformRemoteChangeset','collabStatus.offline','text','Error','_revisionService','[CollaborationSessionService]','unitId\x20is\x20not\x20found','capture','collabStatus.fetchMiss','fetching\x20missing\x20changesets\x20from\x20','_getLoginPath','actions','_eventUnsubscribe','executeCommand','url(#$1','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','newValue','appendMutation','toggleOnline','focused$','transformByState','collaboration-session-retry','allowed','_clearUndo','transformIMECache','_initCommandExecutedListener','handleIRemoveRow','_document','toString','_undoStacks','_unitStatus','@univerjs/sheets-ui','useDependency','mapTo','forEach','auth.needGotoLoginAlert','subunit','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','color','incrementRevOfUnit','post','updatePermissionObjEvent','0\x200\x2017\x2016','OTHER_CLIENTS_EDITING','encode','red300','getViewport','onSendChangeset','snapshot','setShapeProps','popstate','enableOfflineEditing','image/gif','push','_collabCursorController','_init','VIEWPORT_KEY','Vector2','NO_OTHER_CLIENTS_EDITING','AWAITING_WITH_PENDING','setTimeout','error$','_permissionService','HttpImport','_cursorInfo$','backgroundColor','setItem','153268veUGWY','LICENSE_DISTRO_REJECTED','FAIL','_shapes','_onRemoteACK','RETRY_CONNECTING_MAX_COUNT_KEY','startColumn','/object','_saveTaskMap','ITransformService','uploadFileServerUrl','_transformService','x-univer-host','isPermissionRej','ONLINE','getUnit','_scheduleSaving','_lockTransition','collab-client.tooltip.reconnect','0\x200\x2016\x2016','reverse','_scene','IBeforeCloseService','_instanceService','_updateLocalCursor','forwardRef','generateRandomId','title','error','endRow','storage','m1Prime','_handleLeaveEvent','indexOf','_onJoinRoomEvent','getColor','displayName','_joinRoom','CompressMutationService','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','RxDisposable','ICollaborationSocketService','_initCloseConn','UNIVER_DOC','collabStatus.syncing','patch','contains','_initRequestHeader','UPDATE_PERMISSION_OBJ','some','evenodd','result','params','SetSelectionsOperation','startRow','UNIVER_UNKNOWN','_selfUnitIDs','UniverCore','width','show','engine','useRef','memberID','UniverSheetsUi','key','setParam','_updateURLWithCurrentState','urlChange$','_getAPIPrefix','_anchorDot','filter','roomMembers$','IURLService','combineLatest','BuiltInUIPart','_config','initWorkbookPermissionChange','getSheetBySheetId','sessionStatus','WebURLService','_updateSubUnitFromURLParams','_isPermissionRej','socketService','status','submit\x20changeset\x20error!','_initMergeInterceptor','COMMENT_UPDATE','handleDeleteRangeMoveLeft','/-/object/-/batch_allowed','RevisionService','@univerjs/docs','has','_incrementRevisionNumber','_waitCount','_clearHeartbeatTimer','session.connection-failed','concatMap','idSuffix','currentColor','handleInsertRangeMoveDown','headers','toStringTag','_acknowledgedAwaitingChangeset','getCollabEntity','_checkMissing','transform','collaboration-client.config','_themeService','UNDEFINED','sheetID','debounceTime','NOT_COLLAB','COLORS','useCallback','revision','clearInterval','#fff','change$','fetchMissingChangesets','univer-online-status','InsertColCommandId','_snapshotServerService','unsubscribe','getVpScrollXYInfoByPosToVp','m2Prime','_telemetryInfo','EXCHANGE_SIGN_URL_SERVER_URL_KEY','registerBeforeClose','Warning','offline','Shape','RemoveRowCommandId','_urlService','socket\x20open.','NodePositionConvertToRectRange','_startDocCollabCursor','getResourcesRequest','unload','_tryReconnect','DocCollaborationEntity','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','transformUndoRedo','_initEventListeners','@univerjs-pro/collaboration','/universer-api/authz','assignAColorForMemberID','LOCAL_CACHE_INTERVAL','COMPRESS_MUTATION_SEND','ColorKit','substring','USERS_ENTER','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','handleInsertRow','hovered','getDocRanges','session','telemetry\x20info\x20is\x20not\x20initialized','_sessionStatus$','pipe','toDisposable','SNAPSHOT_HAS_BEEN_REMOVED','debug','_onConflict','DocIMEInputManagerService','stopTime','getCollabEntity$','WebSocketService'];_0x4c12=function(){return _0x397fdd;};return _0x4c12();}
1
+ function _0x3463(_0x12ed79,_0x4339f2){const _0x16cc7b=_0x16cc();return _0x3463=function(_0x3463e9,_0x57db22){_0x3463e9=_0x3463e9-0x13c;let _0xfb4f46=_0x16cc7b[_0x3463e9];return _0xfb4f46;},_0x3463(_0x12ed79,_0x4339f2);}function _0x16cc(){const _0x3eb3eb=['LocaleService','backgroundColor','mapTo','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','url','setUndoRedoMutationParamsCache','width','_collaborationPaused','_handleHeartbeatEvent','substring','transformMutationsWithChangeset','getSheetId','getCellPositionByOffset','UniverDrawing','now','_initUnitPermissionChange','YUUMI_RATE_OVER_LIMIT','@univerjs/sheets','fetchThroughInterceptors','UPDATE_PERMISSION_OBJ','putCollaborators','NEW_CHANGESETS','handleInsertRow','toggleOnline','moveTo','_undoRedoService','addObject','object','LICENSE_DISTRO_REJECTED','authzUrl','_memberService','_onRefRangeChange','/resources','restore','method','reconnect','_socketReady','_name','loginUrlKey','fillRule','transformUndoRedo','_ensureSubject','_clearHeartbeatTimer','_disableEditing','_backgroundColor','disposeUnit','getRoom','HTTPService','transformChangesets','_removeCollabCursors','transformMutation','_exhaustRemoteChangesetQueue','_lockTransition','saveSnapshot','_substituteRedoStack','[OfflineState]:\x20received\x20rejection.','Undefined','_joinRoom','allowed','JOINING','_init','_cachedData','WebSocketService','DisposableCollection','getAttachHeader','awaitingChangeset','onlineStatusTitle','sessionStatus','getTypeOfUnitDisposed$','_onConnectionOpen','message$','_schedule','handleIRemoveCol','univer-online-status','generateRandomId','_drawRectRange','_loadDoc','location','roomMembers$','onCommandExecuted','UniverEngineFormula','createSocket','asObservable','BASE64','_createInitialStateImpl','SEND_CHANGESET_TIMEOUT_KEY','triggerDblclick','getCollabCursors$','setCurrentUser','update','CollaborationSession','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_syncEditingCollabCursorService','YUUMI_URL_COL_OUT_OF_RANGE','_clearRedo','compose','_getSheetObject','getUnhiddenWorksheets','params','2980744jDRyzg','unitID','_handleEvent','CHANGESET_REVISION_CONFILICT','children','collaboration-session-retry','ILocalStorageService','_initEventListeners','x-univer-host','_onRecvEvent','3077315xHIbnx','_transformSelections','addObjects','row','_updateLocalCursor','setWaitCount','\x0aCurrent:\x20','COMPRESS_MUTATION_SEND','_onConflict','not_collab','stopTime','loadOfflineData','mapDocumentTypeToUniverType','_context','attrs','_initStatusComponent','saveChangeset','SNAPSHOT_SERVER_URL_KEY','univer-online','createIdentifier','values','objectID','_getSnapshotAPIPrefix','Error','exhaustSavingTask','/universer-api/file/{fileID}/sign-url','_scheduleClearOtherTimer','displayName','_shapes','_anchor','_startDocCollabCursor','createElement','@univerjs/core','HttpExport','ISnapshotServerService','_onRemoteRejected','onStarting','COLLAB_WEB_SOCKET_URL_KEY','bottom','_telemetryInfo','_univerInstanceService','transformRemoteChangeset','DeleteRangeMoveUpCommandId','_collaborationController','collab-text-anchor-','type','ranges','_imageSourceCache','NodePositionConvertToRectRange','permissionRejEvent','_collaborationTimeoutTimer','[CollaborationEntity]','EmptyMutation','80384lJULjW','_removeClearOtherTimer','setShapeProps','getMemberID','getCollabEntity','/block/','ICommandService','CommandType','_disabled','ColorKit','COLLAB_SUBMIT_CHANGESET_URL','baseRev','updateCollaborator','_docSyncEditingCollabCursorService','unit','147pvHdzR','MoveRangeCommandId','_getSendChangesetTimeout','assignAColorForMemberID','_showConflictNotification','COLLAB_SUBMIT_CHANGESET_URL_KEY','removeMember','isEditing','onRemoteAck','defIds','uni.network.url-service','getUnitStatus$','font','clear','INGEST','round','getOwnPropertySymbols','SEND_CHANGESET_TIMEOUT','listRoles','_initResize','rxjs/operators','CHANGESET_REJ','_createHandler','/-/object/-/batch_allowed','_type','SHOULD_CLOSE_CONN','className','endColumn','IContextService','_toggleOffline','collaboration-client.offline-data-not-saved','/object/','handleInsertCol','_commentService','fetchMiss','_timeoutTimer','collab-client.tooltip.reconnect','switchMap','hovered','signUrlServerUrl','cursorInfo','saveImage','_labelPosition','currentColor','DocCollaborationEntity','InsertColCommandId','_onConnectionFailed','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','SnapshotService','_getMergeRange','_uiPartsService','_clearOtherTimers','CHANGESET_ACK','startRow','FETCH_MISS','clearInterval','COMPLETION_FINISHED','filter','ImageSourceType','subunit','_refreshCollabCursors','_lastPointer','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','capture','COLORS','@univerjs/engine-formula','getTypeOfUnitAdded$','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','connection\x20error','_socketService','LICENSE_EXPORT_SIZE_EXCEEDED','_scheduleSaving','purple300','range','focused$','c1Prime','_updateLocalCache','IConfigService','SheetCollaborationEntity','SNAPSHOT_HAS_BEEN_REMOVED','XHRHTTPImplementation','_pendingMutations','IDLE','encode','_shouldReportTelemetry','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','/universer-api/comb','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_eventUnsubscribe','registerOnClose','fromEventSubject','_handler','_cursors','_transformUndoredo','UniverUi','setTimeout','handleIRemoveRow','@univerjs/network','UNKNOWN_CODE','_registerDependencies','_onFetchMissResult','/universer-api/snapshot/','onMissedChangesetFetched','_getAnchorBounding','requestParams','localeService','awaiting_with_pending','post','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','idSuffix','@univerjs/engine-render','interceptor','registerRefRange','touchDependencies','resolve','/universer-api/snapshot','snapshotServerUrl','resend','UPDATE_CURSOR','m2Prime','_getUndoStack','UNKNOWN_CMD','red300','saveSheetBlock','_http','9641995QVUzVc','_collabSessionService','defs','objectActions','workbook','_session','collabStatus.conflict','ITransformService','UNIVER_SHEET','svg','BehaviorSubject','NOT_FOUND','WorkbookEditablePermission','_heartbeatTimer','CollaborationSessionService','get','merge','useDependency','storage','@univerjs/telemetry','getCollabEntity$','isPermissionRej','onlyLocal','send','getRelativeToViewportCoord','random','throttleTime','_listenToOnlineEvent','_status$','_permissionService','fromCollab','UNRECOGNIZED','listCollaborators','_handleJoinEvent','ImageUploadStatusType','getParam','onPointerMove$','?url=','_themeService','_textBubble','_initCommandExecutedListener','getUnit','CollaborationController','body','HELLO','_updateStatus','isActive','FileId','_initStatusListener','prototype','pushState','#FFF','resize','csRejEvent','/unit/','online','Warning','_getScale','fillText','unsubscribe','[CollaborationUndoRedoService]','appendMutation','colorChannel1','isTransformMutationsWithChangesetFailure','_listenToOfflineEvent','IBeforeCloseService','_transformIMECache','LICENSE_MAX_UNITS_EXCEEDED','28iCRiiH','getSkeleton','@univerjs/docs-ui','InsertRangeMoveDownCommandId','number','getVpScrollXYInfoByPosToVp','_rescheduleHeartbeat','_notificationService','beginPath','/universer-api/stream/file/upload','@univerjs-pro/license','_tryEnsureSocket','_fetchMissChangesets','getFocusedUnit','APPLY_REVISION_CONFILICT','UNIVER_UNKNOWN','userID','AuthzIoHttpService','_applyRemoteChangeset','SetSelectionsOperation','_transformStack','INVALID_ARGUMENT','icon','[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.','code','_getUploadFileURL','fetching\x20missing\x20changesets\x20from\x20','onSyncEditingCollabCursor','DataLoaderController','put','RevisionService','_injector','state$','getCurrentRevOfUnit','with','collaboration.single-unit.warning','_getSaveTimeout','split','Error\x20on\x20receiving\x20event','state','LIVESHARE_OPERATION','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_getCurrentRevision','SNAPSHOT_URL_KEY','visibilitychange','length','RegularPolygon','_saveCache','_draw','forEach','_HTTPService','onload','session.connection-failed','_userManagerService','collaMsg','EffectRefRangId','\x0aAfter:\x20','show','commentUpdate$','_initRequestHeader','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_scheduleHeartbeat','_anchorDot','474813XvGOFZ','session.will-retry','ONLINE','skeleton','[CollaborationSession]','_hideTimer','ERROR_IMAGE','endRow','@univerjs/sheets-ui','NO_OTHER_CLIENTS_EDITING','CollaborationEvent','key','react','_registerRenderDependencies','updateOfflineData','top','createInstance','contains','create','_unlockTransition','debounce','pluginName','_getCtorByUniverType','LIVESHARE_REQUEST_HOST','complete','_singleActiveUnitService','_socket$','setItem','deepClone','textRanges','image/jpeg','image/jpg','url(#on-line-single_clip0_910_349)','_initMergeInterceptor','COMMENT_UPDATE','extend','take','div','handleMoveRange','combineLatest','session','DeleteRangeMoveLeftCommandId','USERS_LEAVE','ThemeService','[CollaborationSessionService]:\x20socket\x20error','INTERNAL_ERROR','_colorIndex','_onCursorDelete','_hovered','unload','TOO_MANY_REQUESTS','useObservable','actions','[OfflineState]:\x20received\x20acknowledgement.','verdancy600','_colorAssignService','_configService','_getLoginPath','getCurrent','awaiting','apply','history','_sessions','toggleOffline','{fileID}','getCurrentSelections','/universer-api/authz','_waitCount','registerHTTPInterceptor','getAncestorScale','fromEvent','_sessionStatus$','result','_checkMissing','concat','transformSelections','_removeRoom','_transitionLocked','FETCH_MISSING','list','eventID','[DataLoaderController]','IPermissionService','_retryCount','LIVESHARE_NEW_HOST','failed\x20to\x20apply\x20missed\x20changesets!','headers','HTTPRequest','IUIPartsService','HEARTBEAT_INTERVAL','getOwnPropertyDescriptor','evenodd','UniverDesign','size','uploadFileServerUrl','univer-pro.collaboration-client-socket-service','onPointerLeave$','objectType','Injector','roomMembers','JSONX','onStateChange','_transformService','_onUserLeave','_socket','save','[SyncedState]:\x20received\x20rejection.','_onJoinRoomEvent','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','IImageIoService','liveShareNewHost','MSG_FOR_ERROR','_candidateSocket','TRANSFORM_CHANGE_OBSERVABLE_TYPE','members','enableAuthServer','TEXT_RANGE_LAYER_INDEX','defineProperty','Tools','getActiveRange','every','cmd','labelPosition','map','socket$','AWAITING','_event$','_localCacheService','_remoteChangesetQueue','change$','UniverCore','close','_localeService','memberID','_tryReconnect','_updateState','init','toString','UserManagerService','HttpImport','saveOfflineData','collaboration_new_changeset','max','some','LEAVE','onTransformSelections','_retryConnectingTimer','_urlService','DocIMEInputManagerService','current','VIEW_MAIN','_decreaseWaiting','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','sessionStatus$','UNAUTHENTICATED','toDisposable','toStringTag','USERS_ENTER','onReady','Workbook','BuiltInUIPart','offline','clearTimeout','_snapshotServerService','drawWith','takeUntil','m1Prime','selections','ACTIVE_UNIT_EVENT_CHANNEL','SheetCollabCursorShape','routeKey','isArray','_online','transformStack\x20failed!','_clearCollaborationTimeoutTimer','isTransformMutationFailure','CONNECTOR_DATA_TOO_LARGE','UNDEFINED','_collabCursorState$','isTransformChangesetsSuccess','_commentUpdate$','error$','Tooltip','replaceState','engine','collabStatus.fetchMiss','getUndoRedoMutationParamsCache','_docTransformIMECacheService','roles','retryConnectingInterval','_setupSubUnitSync','cursorInfo$','data','add','OTHER_CLIENTS_EDITING','collabStatus.synced','dispose','reverse','SheetSkeletonManagerService','onRemoteRej','getUnitOnRev','3822kjFlxl','CompressMutationService','_range','getUnitId','disableLocalCache','_transformPreviousActiveRange','unitId\x20is\x20not\x20found','withCredentials','getCoordByCell','_socketMessageSubscription','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','assign','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','visibilityState','_sendingTimer','fillStyle','jiqing500','_createSocket','toRgbString','_state','HEARTBEAT_INTERVAL_KEY','RxDisposable','whenReady','UniverNetwork','makeDirty','slice','1em','SetWorksheetActivateCommand','concatMap','sheetID','roomInfos','requireSession','PSEUDO_FETCH_MISSING_RESULT','getOffsetConfig','subscribe','_saveTaskMap','ILogService','FromArray','SheetPermissionInitController','LIVESHARE_FETCH_OPERATIONS','syncEditingCollabCursor','SYNCED','collab-rect-range-','height','status','@univerjs/drawing','_initModules','onRendered','updateMember','SnapshotServerOverHTTPService','error','HEARTBEAT_TIMEOUT','RECV','doc.mutation.rich-text-editing','fill','_revisionService','UnitSnapshot','NOT_COLLAB','deserializeToCombResponse','useRef','APPLY_NON_SEQUENTIAL_REVISION','catch','isInternalEditorID','changesets','liveShareOperation','_commandService','Vector2','originalMeta','onlineStatus','COMPRESS_MUTATION_APPLY','setConfig','PERMISSION_DENIED','_telemetryService','conflict','title','129696mtiAeC','delay','includes','findNodePositionByCharIndex','_state$','DependentOn','collaboration.closeRoom','UniverDocs','color','[OfflineState]:\x20received\x20changeset.','setParam','startsWith','createCollaborator','@univerjs-pro/collaboration','shouldCloseConn','_awaitingChangeset','getMergeData','urlChange$','_assignedColors','call','removeParam','_onUserJoin','_renderManagerService','_collabCursorController','LOCAL_CACHE_INTERVAL_KEY','SUBMIT_CHANGESET','univer-pro.collaboration-client.single-active-unit-service','selection','textEncoder','ws://127.0.0.1:8000/universer-api/comb/connect','conflict.title','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','YUUMI_UNABLE_LOAD_URL','_getAPIPrefixPath','_httpService','event$','/object','UniverInstanceType','YUUMI_SUBSCRIPTION_NOT_FOUND','operators','fetch_missing','sheets','b64DecodeUnicode','UniverCollaboration','_roomMembers','MessageType','_onCombEvent','UniverSheets','getWorkbookSelections','_transformUndoRedoStack','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_updateURLWithCurrentState','initWorkbookPermissionChange','CommentService','getTime','deleteCollaborator','reduce','getActiveSheet','_cursor','blue400','shareReplay','ITelemetryService','_getDownloadEndpointURL','_sendHeartbeatTimer','getValue','socketService','ImageIoService','batchAllowed','\x20-\x20','/role','RichTextEditingMutation','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','_replayCachedMutations','_updateCollabCursors','M0\x200H16V16H0z','getColor','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','@univerjs/ui','getUnitType','duration','10GzphqC','_submitChangeset','pending','_config','_docTransformSelectionsService','_getSignURL','hasOwnProperty','_clearTimeoutTimer','url(#$1','delete','_ws','status$','getImageSourceCache','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','IRenderManagerService','confirm','_cursorShapes','NodePositionConvertToCursor','connectInjector','LocalCacheService','Shape','SheetsSelectionsService','startColumn','getSheetObject','PENDING','IURLService','rxjs','editing\x20status\x20changed\x20to','clipPath','onTransformChange$','on-line-single_clip0_910_349','getDocRanges','IMessageService','\x20to\x20','pipe','MUTATION','handleInsertRangeMoveDown','getRenderById','_setupBeforeClosingHandler','use','_handleLeaveEvent','ERROR_EXCEED_SIZE','subscribeEvent','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','executeCommand','_syncEditingCollabCursor','session.collaboration-timeout','href','deserializeRangeWithSheet','#fff','Rect','unshift','revision','_docSkeleton','isValidRectRange','_clearScheduledTask','UNIVER_PROJECT','_handleHover','Inject','parse','&to=','_send','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','then','closeSession','APPLY_REJECT','telemetry\x20info\x20is\x20not\x20initialized','registerComponent','/fetchmissing?from=','IUniverInstanceService','Rectangle','UNIVER_SLIDE','session.room-full','/universer-api/oidc/authpage','FAIL','from','_roomMembers$','indexOf','commentUpdateEvent','stringify','VIEWPORT_KEY','InsertSheetMutation','AWAITING_WITH_PENDING','handleInsertRangeMoveRight','univer-offline','setInterval','collabCursorState$','_unitOnClients','transform','onSendChangeset','Subject','isTransformMutationsWithChangesetSuccess','collaboratorID','getViewport','image/bmp','registerBeforeClose','_entityInit$','text','synced','function','/collaborator','mergeOverrideWithDependencies','downloadEndpointUrl','unknown','getSheetBySheetId','Optional','getInterceptPoints','parseProtocolChangeset','JOIN','off-line-single_clip0_910_343','getSheetBlock','auth.needGotoLoginAlert','_beforeCloseService','_cursorInfo$','HEARTBEAT','&assign=','_transformRemoteChangesetByIMECache','IHTTPImplementation','_onCursorUpdate','_getRedoStack','startTime','UnitEmbedded','activeSheet$','incrementRevOfUnit','currentTheme$','set','_sheetSkeletonManagerService','tag','_queuedRemoteChangesets','none','_acknowledgedAwaitingChangeset','ThresholdInterceptorFactory','name','unit-cache-','path','DocSelectionManagerService','_id','CollaborationSocketService','ALREADY_EXISTS','entries','_onLocalMutation','/rev/','updatePermissionPoint','_toggleOnline','next','_throwTelemetryCollaborationNewChangeset','_isPermissionRej','ERROR_IMAGE_TYPE','OffLineSingle','permission.content','getImage','image/gif','_initCloseConn','_startTelemetryCollaborationNewChangeset','[CollaborationSessionService]','_compressMutationService','APPLY_PERMISSION_DENIED','loadDoc','debounceTime','translate(.97)','closePath','_unitID','UNIVER_COLLABORATION_CLIENT_PLUGIN','_logService','infoRsp','setAlpha','DEFAULT_FILE_NAME','enableLocalCache','CollaborationStatusDisplay','SUCCUSS','collaboration-client.config','SNAPSHOT_INVALID_SNAPSHOT','sequenceExecute','forwardRef','reject','UniverTelemetry','_stopTelemetryCollaborationNewChangeset','SetDocZoomRatioOperation','disposeWithMe','_onMessage','onRemoteChangeset','_messageService','onlineStatusIcon','[PendingState]:\x20received\x20rejection.','_hover','INotificationService','RETRY_CONNECTING_MAX_COUNT','_scheduleCollaborationTimeoutTimer','_scheduleTimestamp','univer-online-status-title','_sheetTransformSelectionsService','transformByState','onPointerEnter$','_getAPIPrefix','UniverCollaborationClientPlugin','trim','push','_createInitialState','append','_drawAnchor','replace','src','LOGIN_URL_KEY','newValue','...','url(#off-line-single_clip0_910_343)','xlink:href','MergeInterceptorFactory','_snapshotService','onCommentUpdate','univerjs-icon\x20univerjs-icon-','3mQQAug','Univer','IUndoRedoService','getRangePointData','_selfUnitIDs','SetTextSelectionsOperation','DesktopCollaborationStatusDisplayController','_executeRemoteChangeset','_color','_waitForHeartbeatResponse','_onOffline','_members','getMember','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','OFFLINE','UNIVER_DOC','_startCollaboration','_entities','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getConfig','string','rev','6pGrTgg','SessionStatus','_collaborationSessionService','dispose$','_scene','handleDeleteRangeMoveLeft','find','open$','EXCHANGE_SIGN_URL_SERVER_URL_KEY','RemoveRowCommandId','mutations','[SyncedState]:\x20received\x20acknowledgement.','updateCursorEvent','_updateSubUnitFromURLParams','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','unitId','lineTo','@univerjs/design','\x20in\x20_schedule.','searchParams','_drawTextRange','UniverIcon','Plugin','_substituteUndoStack','readAsDataURL','onMissingChangesets','debug','@univerjs/rpc','column','popstate','CollaborationEntity','getCurrentUser','_incrementRevisionNumber','_replaceFileID','c2Prime','has','editingUnit','LIVESHARE_TERMINATE','measureText','min','parseChangesetToProtocol','override','_redoStacks','black','_sendHeartbeat','0\x200\x2016\x2016','Disposable','_onRemoteACK','POST','onTransformIME','_unitStatus','currentSkeleton$','DocSkeletonManagerService','UniverSheetsUi','setActiveRange','getItem','AUTHZ_URL_KEY','loadSheet','transformIMECache','getCurrentUnitForType','close$','target','onMouseMove','DocStateChangeManagerService','_localStorageService','_docSkeletonManagerService','patch','addEventListener','2050RhxoSD','PERMISSION_REJ','registerRenderModule','save\x20fail\x20reason\x20is\x20','action','HEARTBEAT_TIMEOUT_KEY','ICollaborationSocketService','enableSingleActiveInstanceLock'];_0x16cc=function(){return _0x3eb3eb;};return _0x16cc();}(function(_0x3b504b,_0x3586fb){const _0x367c3b=_0x3463,_0xb4b1c7=_0x3b504b();while(!![]){try{const _0x5d3769=-parseInt(_0x367c3b(0x477))/0x1*(-parseInt(_0x367c3b(0x3be))/0x2)+-parseInt(_0x367c3b(0x364))/0x3*(parseInt(_0x367c3b(0x429))/0x4)+parseInt(_0x367c3b(0x433))/0x5*(-parseInt(_0x367c3b(0x37a))/0x6)+-parseInt(_0x367c3b(0x538))/0x7*(parseInt(_0x367c3b(0x468))/0x8)+-parseInt(_0x367c3b(0x577))/0x9*(parseInt(_0x367c3b(0x291))/0xa)+-parseInt(_0x367c3b(0x4f4))/0xb+-parseInt(_0x367c3b(0x241))/0xc*(-parseInt(_0x367c3b(0x1f6))/0xd);if(_0x5d3769===_0x3586fb)break;else _0xb4b1c7['push'](_0xb4b1c7['shift']());}catch(_0x231890){_0xb4b1c7['push'](_0xb4b1c7['shift']());}}}(_0x16cc,0xf3ac4),function(_0xa76bb4,_0x72181b){const _0x7c7dec=_0x3463;typeof exports==_0x7c7dec(0x3e1)&&typeof module<'u'?_0x72181b(exports,require(_0x7c7dec(0x453)),require(_0x7c7dec(0x2ab)),require(_0x7c7dec(0x48b)),require(_0x7c7dec(0x38b)),require(_0x7c7dec(0x28e)),require(_0x7c7dec(0x4d8)),require(_0x7c7dec(0x24e)),require(_0x7c7dec(0x507)),require('@univerjs/docs'),require('@univerjs/docs-ui'),require(_0x7c7dec(0x3d7)),require(_0x7c7dec(0x4e5)),require(_0x7c7dec(0x223)),require(_0x7c7dec(0x4b8)),require('@univerjs/sheets-ui'),require('react'),require(_0x7c7dec(0x395)),require(_0x7c7dec(0x542))):typeof define=='function'&&define['amd']?define(['exports',_0x7c7dec(0x453),'rxjs',_0x7c7dec(0x48b),_0x7c7dec(0x38b),'@univerjs/ui',_0x7c7dec(0x4d8),'@univerjs-pro/collaboration','@univerjs/telemetry','@univerjs/docs',_0x7c7dec(0x53a),'@univerjs/sheets',_0x7c7dec(0x4e5),_0x7c7dec(0x223),_0x7c7dec(0x4b8),_0x7c7dec(0x57f),_0x7c7dec(0x583),_0x7c7dec(0x395),_0x7c7dec(0x542)],_0x72181b):(_0xa76bb4=typeof globalThis<'u'?globalThis:_0xa76bb4||self,_0x72181b(_0xa76bb4['UniverCollaborationClient']={},_0xa76bb4[_0x7c7dec(0x1af)],_0xa76bb4[_0x7c7dec(0x2ab)],_0xa76bb4[_0x7c7dec(0x2ab)][_0x7c7dec(0x268)],_0xa76bb4[_0x7c7dec(0x189)],_0xa76bb4[_0x7c7dec(0x4d5)],_0xa76bb4[_0x7c7dec(0x20d)],_0xa76bb4[_0x7c7dec(0x26c)],_0xa76bb4[_0x7c7dec(0x340)],_0xa76bb4[_0x7c7dec(0x248)],_0xa76bb4['UniverDocsUi'],_0xa76bb4[_0x7c7dec(0x270)],_0xa76bb4['UniverEngineRender'],_0xa76bb4[_0x7c7dec(0x3d3)],_0xa76bb4[_0x7c7dec(0x416)],_0xa76bb4[_0x7c7dec(0x3af)],_0xa76bb4['React'],_0xa76bb4['UniverRpc'],_0xa76bb4['UniverLicense']));}(this,function(_0x121304,_0x278695,_0x34a6cc,_0x3753b5,_0x381d1f,_0x42b7fc,_0x166997,_0x5d08,_0x3c7262,_0x3435c3,_0x107653,_0x30bfa9,_0x363b07,_0x2d0385,_0x44d111,_0xd83a71,_0x2625ca,_0x363acd,_0x44e17b){'use strict';const _0x406fa3=_0x3463;var _0x324a4d=Object['defineProperty'],_0x4275aa=(_0x20e91e,_0x37124f,_0x2d9afd)=>_0x37124f in _0x20e91e?_0x324a4d(_0x20e91e,_0x37124f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d9afd}):_0x20e91e[_0x37124f]=_0x2d9afd,_0x175777=(_0x30d024,_0x17070e,_0x2c8c09)=>_0x4275aa(_0x30d024,typeof _0x17070e!='symbol'?_0x17070e+'':_0x17070e,_0x2c8c09);const _0x4ab17e='SNAPSHOT_SERVER_URL_KEY',_0x22141f=_0x406fa3(0x4ea),_0x653581='SNAPSHOT_URL_KEY',_0x10395e=_0x406fa3(0x488),_0xc7bdf9='COLLAB_WEB_SOCKET_URL',_0x30d5cc=_0x406fa3(0x25e),_0x268833=_0x406fa3(0x186),_0x52d634=_0x406fa3(0x229),_0x249b8f=_0x406fa3(0x34b),_0x5d6c68='LOCAL_CACHE_INTERVAL',_0x41e0fd=_0x406fa3(0x472),_0x4dbff3=_0x406fa3(0x4cd),_0x103765=_0x406fa3(0x35b),_0x59d6a=_0x406fa3(0x2da);var _0x5cfd1e=(_0x55d0b1=>(_0x55d0b1[_0x55d0b1['UNDEFINED']=0x0]=_0x406fa3(0x1de),_0x55d0b1[_0x55d0b1['OK']=0x1]='OK',_0x55d0b1[_0x55d0b1[_0x406fa3(0x15a)]=0x2]=_0x406fa3(0x15a),_0x55d0b1[_0x55d0b1[_0x406fa3(0x23d)]=0x3]=_0x406fa3(0x23d),_0x55d0b1[_0x55d0b1['NOT_FOUND']=0x4]=_0x406fa3(0x4ff),_0x55d0b1[_0x55d0b1[_0x406fa3(0x1c7)]=0x5]=_0x406fa3(0x1c7),_0x55d0b1[_0x55d0b1['ALREADY_EXISTS']=0x6]=_0x406fa3(0x31b),_0x55d0b1[_0x55d0b1['INVALID_ARGUMENT']=0x7]=_0x406fa3(0x54d),_0x55d0b1[_0x55d0b1[_0x406fa3(0x15f)]=0x8]=_0x406fa3(0x15f),_0x55d0b1[_0x55d0b1[_0x406fa3(0x4af)]=0x9]=_0x406fa3(0x4af),_0x55d0b1[_0x55d0b1[_0x406fa3(0x42c)]=0x1389]=_0x406fa3(0x42c),_0x55d0b1[_0x55d0b1['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x406fa3(0x33c),_0x55d0b1[_0x55d0b1[_0x406fa3(0x4c6)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x55d0b1[_0x55d0b1['APPLY_REJECT']=0x1b59]=_0x406fa3(0x2d2),_0x55d0b1[_0x55d0b1[_0x406fa3(0x232)]=0x1b5a]=_0x406fa3(0x232),_0x55d0b1[_0x55d0b1[_0x406fa3(0x546)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x55d0b1[_0x55d0b1[_0x406fa3(0x32d)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x55d0b1[_0x55d0b1[_0x406fa3(0x1dd)]=0x1f41]=_0x406fa3(0x1dd),_0x55d0b1[_0x55d0b1['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x406fa3(0x537),_0x55d0b1[_0x55d0b1[_0x406fa3(0x200)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x55d0b1[_0x55d0b1['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x55d0b1[_0x55d0b1[_0x406fa3(0x4bd)]=0x232c]=_0x406fa3(0x4bd),_0x55d0b1[_0x55d0b1[_0x406fa3(0x3e2)]=0x232d]=_0x406fa3(0x3e2),_0x55d0b1[_0x55d0b1[_0x406fa3(0x261)]=0x2711]=_0x406fa3(0x261),_0x55d0b1[_0x55d0b1[_0x406fa3(0x423)]=0x2712]=_0x406fa3(0x423),_0x55d0b1[_0x55d0b1[_0x406fa3(0x3d6)]=0x2713]=_0x406fa3(0x3d6),_0x55d0b1[_0x55d0b1[_0x406fa3(0x267)]=0x2714]=_0x406fa3(0x267),_0x55d0b1[_0x55d0b1[_0x406fa3(0x513)]=-0x1]='UNRECOGNIZED',_0x55d0b1))(_0x5cfd1e||{}),_0x5b1b3b=(_0x3d76df=>(_0x3d76df[_0x3d76df[_0x406fa3(0x547)]=0x0]='UNIVER_UNKNOWN',_0x3d76df[_0x3d76df[_0x406fa3(0x373)]=0x1]=_0x406fa3(0x373),_0x3d76df[_0x3d76df[_0x406fa3(0x4fc)]=0x2]=_0x406fa3(0x4fc),_0x3d76df[_0x3d76df[_0x406fa3(0x2d8)]=0x3]=_0x406fa3(0x2d8),_0x3d76df[_0x3d76df[_0x406fa3(0x2c9)]=0x4]=_0x406fa3(0x2c9),_0x3d76df[_0x3d76df[_0x406fa3(0x513)]=-0x1]=_0x406fa3(0x513),_0x3d76df))(_0x5b1b3b||{}),_0x4ca514=(_0x49dd80=>(_0x49dd80[_0x49dd80[_0x406fa3(0x4f0)]=0x0]=_0x406fa3(0x4f0),_0x49dd80[_0x49dd80[_0x406fa3(0x520)]=0x1]=_0x406fa3(0x520),_0x49dd80[_0x49dd80[_0x406fa3(0x2fd)]=0x2]=_0x406fa3(0x2fd),_0x49dd80[_0x49dd80[_0x406fa3(0x1bd)]=0x3]=_0x406fa3(0x1bd),_0x49dd80[_0x49dd80[_0x406fa3(0x485)]=0x4]=_0x406fa3(0x485),_0x49dd80[_0x49dd80['HEARTBEAT']=0x5]=_0x406fa3(0x303),_0x49dd80[_0x49dd80[_0x406fa3(0x22a)]=0x6]=_0x406fa3(0x22a),_0x49dd80[_0x49dd80[_0x406fa3(0x513)]=-0x1]='UNRECOGNIZED',_0x49dd80))(_0x4ca514||{}),_0x5ba4cf=(_0x5bfb46=>(_0x5bfb46[_0x5bfb46[_0x406fa3(0x4d9)]=0x0]=_0x406fa3(0x4d9),_0x5bfb46[_0x5bfb46['OK']=0x1]='OK',_0x5bfb46[_0x5bfb46[_0x406fa3(0x2db)]=0x2]=_0x406fa3(0x2db),_0x5bfb46[_0x5bfb46[_0x406fa3(0x513)]=-0x1]='UNRECOGNIZED',_0x5bfb46))(_0x5ba4cf||{}),_0x373aca=(_0x116df7=>(_0x116df7[_0x116df7['Undefined']=0x0]=_0x406fa3(0x3fe),_0x116df7[_0x116df7[_0x406fa3(0x1b8)]=0x1]='HttpImport',_0x116df7[_0x116df7[_0x406fa3(0x454)]=0x2]=_0x406fa3(0x454),_0x116df7[_0x116df7[_0x406fa3(0x30a)]=0x3]=_0x406fa3(0x30a),_0x116df7[_0x116df7[_0x406fa3(0x22e)]=0x4]=_0x406fa3(0x22e),_0x116df7[_0x116df7[_0x406fa3(0x513)]=-0x1]=_0x406fa3(0x513),_0x116df7))(_0x373aca||{});const _0x41c87a=_0x406fa3(0x33b),_0xe8dc9c={};function _0x47c5f1(_0x3663b2){const _0x2e31f9=_0x406fa3;var _0x4c1afc,_0x3e6995,_0x2f6a7b,_0x3d97a6;const _0x2d29c3=_0x3663b2[_0x2e31f9(0x1ed)],_0x2b11cd=JSON[_0x2e31f9(0x2cc)](_0x2d29c3);switch(_0x2b11cd[_0x2e31f9(0x1a6)]){case _0x4ca514[_0x2e31f9(0x303)]:case _0x4ca514['HELLO']:{const _0x1aa14d=_0x2b11cd[_0x2e31f9(0x335)];return{..._0x2b11cd,'data':_0x1aa14d,'cmd':_0x2b11cd[_0x2e31f9(0x1a6)]};}case _0x4ca514[_0x2e31f9(0x2fd)]:{const _0x328c29=_0x2b11cd['joinRsp'];return{..._0x2b11cd,'data':_0x328c29,'cmd':_0x2b11cd[_0x2e31f9(0x1a6)]};}case _0x4ca514[_0x2e31f9(0x22a)]:{const _0x33c3b4=_0x2b11cd[_0x2e31f9(0x56e)];switch(_0x33c3b4['eventID']){case _0x5d08[_0x2e31f9(0x581)][_0x2e31f9(0x3bf)]:return{..._0x2b11cd,'data':{..._0x33c3b4,'data':(_0x4c1afc=_0x33c3b4[_0x2e31f9(0x464)])==null?void 0x0:_0x4c1afc['cs']},'cmd':_0x2b11cd[_0x2e31f9(0x1a6)]};case _0x5d08[_0x2e31f9(0x581)][_0x2e31f9(0x4ab)]:return{..._0x2b11cd,'data':{..._0x33c3b4,'data':(_0x3e6995=_0x33c3b4['csAckEvent'])==null?void 0x0:_0x3e6995['cs']},'cmd':_0x2b11cd[_0x2e31f9(0x1a6)]};case _0x5d08[_0x2e31f9(0x581)][_0x2e31f9(0x3db)]:return{..._0x2b11cd,'data':{..._0x33c3b4,'data':(_0x2f6a7b=_0x33c3b4['newCsEvent'])==null?void 0x0:_0x2f6a7b['cs']},'cmd':_0x2b11cd[_0x2e31f9(0x1a6)]};case _0x5d08[_0x2e31f9(0x581)]['CHANGESET_REJ']:return{..._0x2b11cd,'data':{..._0x33c3b4,'data':(_0x3d97a6=_0x33c3b4[_0x2e31f9(0x529)])==null?void 0x0:_0x3d97a6['cs']},'cmd':_0x2b11cd[_0x2e31f9(0x1a6)]};case _0x5d08['CollaborationEvent'][_0x2e31f9(0x4ed)]:return{..._0x2b11cd,'data':{..._0x33c3b4,'data':_0x33c3b4[_0x2e31f9(0x386)]},'cmd':_0x2b11cd[_0x2e31f9(0x1a6)]};case _0x5d08[_0x2e31f9(0x581)][_0x2e31f9(0x1ca)]:return{..._0x2b11cd,'data':{..._0x33c3b4,'data':_0x33c3b4['joinEvent']},'cmd':_0x2b11cd[_0x2e31f9(0x1a6)]};case _0x5d08[_0x2e31f9(0x581)][_0x2e31f9(0x157)]:return{..._0x2b11cd,'data':{..._0x33c3b4,'data':_0x33c3b4['leaveEvent']},'cmd':_0x2b11cd['cmd']};case _0x5d08[_0x2e31f9(0x581)][_0x2e31f9(0x181)]:return{..._0x2b11cd,'data':{..._0x33c3b4,'data':_0x33c3b4[_0x2e31f9(0x19b)]},'cmd':_0x2b11cd[_0x2e31f9(0x1a6)]};case _0x5d08[_0x2e31f9(0x581)][_0x2e31f9(0x21d)]:case _0x5d08[_0x2e31f9(0x581)]['LIVESHARE_OPERATION']:return{..._0x2b11cd,'data':{..._0x33c3b4,'data':_0x33c3b4[_0x2e31f9(0x236)]},'cmd':_0x2b11cd[_0x2e31f9(0x1a6)]};case _0x5d08[_0x2e31f9(0x581)][_0x2e31f9(0x39f)]:return{..._0x2b11cd,'data':{..._0x33c3b4,'data':_0x33c3b4[_0x2e31f9(0x19b)]},'cmd':_0x2b11cd[_0x2e31f9(0x1a6)]};case _0x5d08[_0x2e31f9(0x581)][_0x2e31f9(0x19c)]:return{..._0x2b11cd,'data':_0x33c3b4,'cmd':_0x2b11cd[_0x2e31f9(0x1a6)]};case _0x5d08[_0x2e31f9(0x581)][_0x2e31f9(0x14f)]:return{..._0x2b11cd,'data':{..._0x33c3b4,'data':_0x33c3b4[_0x2e31f9(0x2df)]},'cmd':_0x2b11cd[_0x2e31f9(0x1a6)]};case _0x5d08['CollaborationEvent'][_0x2e31f9(0x3d9)]:return{..._0x2b11cd,'data':{..._0x33c3b4,'data':_0x33c3b4['updatePermissionObjEvent']},'cmd':_0x2b11cd[_0x2e31f9(0x1a6)]};case _0x5d08[_0x2e31f9(0x581)][_0x2e31f9(0x490)]:return{..._0x2b11cd,'data':{..._0x33c3b4,'data':_0x33c3b4[_0x2e31f9(0x24f)]},'cmd':_0x2b11cd['cmd']};default:return _0x2b11cd;}}default:return _0x2b11cd;}}function _0xd73f22(_0xdeffc3){const _0x26ef1d=_0x406fa3;switch(_0xdeffc3[_0x26ef1d(0x1a6)]){case _0x4ca514[_0x26ef1d(0x303)]:case _0x4ca514[_0x26ef1d(0x520)]:return JSON[_0x26ef1d(0x2e0)]({'cmd':_0xdeffc3['cmd'],'routeKey':_0xdeffc3['routeKey']});case _0x4ca514[_0x26ef1d(0x485)]:{let _0x354200;switch(_0xdeffc3[_0x26ef1d(0x1ed)][_0x26ef1d(0x17d)]){case _0x5d08['CollaborationEvent'][_0x26ef1d(0x4ed)]:{_0x354200={'eventID':_0x5d08[_0x26ef1d(0x581)][_0x26ef1d(0x4ed)],'updateCursorEvent':_0xdeffc3[_0x26ef1d(0x1ed)][_0x26ef1d(0x1ed)]};break;}case _0x5d08[_0x26ef1d(0x581)][_0x26ef1d(0x157)]:{_0x354200={'eventID':_0x5d08[_0x26ef1d(0x581)]['USERS_LEAVE'],'leaveEvent':_0xdeffc3[_0x26ef1d(0x1ed)][_0x26ef1d(0x1ed)]};break;}case _0x5d08[_0x26ef1d(0x581)][_0x26ef1d(0x1ca)]:{_0x354200={'eventID':_0x5d08['CollaborationEvent'][_0x26ef1d(0x1ca)],'joinEvent':_0xdeffc3[_0x26ef1d(0x1ed)][_0x26ef1d(0x1ed)]};break;}case _0x5d08['CollaborationEvent'][_0x26ef1d(0x181)]:{_0x354200={'eventID':_0x5d08[_0x26ef1d(0x581)][_0x26ef1d(0x181)],'liveShareNewHost':_0xdeffc3[_0x26ef1d(0x1ed)][_0x26ef1d(0x1ed)]};break;}case _0x5d08['CollaborationEvent'][_0x26ef1d(0x560)]:{_0x354200={'eventID':_0x5d08[_0x26ef1d(0x581)]['LIVESHARE_OPERATION'],'liveShareOperation':_0xdeffc3[_0x26ef1d(0x1ed)]['data']};break;}case _0x5d08[_0x26ef1d(0x581)]['LIVESHARE_TERMINATE']:{_0x354200={'eventID':_0x5d08[_0x26ef1d(0x581)][_0x26ef1d(0x39f)],'liveShareTerminate':_0xdeffc3[_0x26ef1d(0x1ed)][_0x26ef1d(0x1ed)]};break;}case _0x5d08[_0x26ef1d(0x581)][_0x26ef1d(0x144)]:{_0x354200={'eventID':_0x5d08[_0x26ef1d(0x581)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0xdeffc3[_0x26ef1d(0x1ed)]['data']};break;}case _0x5d08[_0x26ef1d(0x581)]['LIVESHARE_FETCH_OPERATIONS']:{_0x354200={'eventID':_0x5d08[_0x26ef1d(0x581)][_0x26ef1d(0x21d)]};break;}default:_0x354200={'eventID':_0xdeffc3[_0x26ef1d(0x1ed)][_0x26ef1d(0x17d)]};}return JSON[_0x26ef1d(0x2e0)]({'cmd':_0xdeffc3[_0x26ef1d(0x1a6)],'routeKey':_0xdeffc3[_0x26ef1d(0x1d7)],'collaMsg':_0x354200});}case _0x4ca514['JOIN']:return JSON['stringify']({'cmd':_0xdeffc3[_0x26ef1d(0x1a6)],'routeKey':_0xdeffc3[_0x26ef1d(0x1d7)],'joinReq':_0xdeffc3['data']});case _0x4ca514[_0x26ef1d(0x1bd)]:return JSON[_0x26ef1d(0x2e0)]({'cmd':_0xdeffc3[_0x26ef1d(0x1a6)],'routeKey':_0xdeffc3[_0x26ef1d(0x1d7)],'leaveReq':_0xdeffc3[_0x26ef1d(0x1ed)]});default:throw new Error(_0x26ef1d(0x2cf));}}var _0x3b5591=Object['defineProperty'],_0x5ee28b=Object['getOwnPropertyDescriptor'],_0xaabf8f=(_0x4b68ca,_0x4e2eec,_0x4d34ca,_0x191e0a)=>{const _0x30e393=_0x406fa3;for(var _0x42f37e=_0x191e0a>0x1?void 0x0:_0x191e0a?_0x5ee28b(_0x4e2eec,_0x4d34ca):_0x4e2eec,_0x5c3c9e=_0x4b68ca[_0x30e393(0x565)]-0x1,_0x27fb7e;_0x5c3c9e>=0x0;_0x5c3c9e--)(_0x27fb7e=_0x4b68ca[_0x5c3c9e])&&(_0x42f37e=(_0x191e0a?_0x27fb7e(_0x4e2eec,_0x4d34ca,_0x42f37e):_0x27fb7e(_0x42f37e))||_0x42f37e);return _0x191e0a&&_0x42f37e&&_0x3b5591(_0x4e2eec,_0x4d34ca,_0x42f37e),_0x42f37e;},_0x49125e=(_0x455128,_0x3f08f3)=>(_0x45741a,_0x32d073)=>_0x3f08f3(_0x45741a,_0x32d073,_0x455128);const _0x441b2a=_0x278695[_0x406fa3(0x446)](_0x406fa3(0x18c));function _0x38942a(_0x2e03e6,_0x4e003c,_0x1a05d8){const _0x3e447d=_0x406fa3;return _0x2e03e6+'/'+_0x4e003c+_0x3e447d(0x52a)+_0x1a05d8+'/new_changes';}_0x121304[_0x406fa3(0x31a)]=class extends _0x278695[_0x406fa3(0x3a8)]{constructor(_0x4072db,_0x3b69ae,_0x1b1f48,_0x3975bb,_0x5f18ee){const _0x355b9d=_0x406fa3;super(),this[_0x355b9d(0x4f3)]=_0x4072db,this[_0x355b9d(0x29b)]=_0x3b69ae,this[_0x355b9d(0x165)]=_0x1b1f48,this[_0x355b9d(0x334)]=_0x3975bb,this[_0x355b9d(0x1d0)]=_0x5f18ee;}[_0x406fa3(0x417)](_0x3512f0){const _0x38dc1c=_0x406fa3,_0x53128f=this[_0x38dc1c(0x29b)]['createSocket'](_0x3512f0);if(!_0x53128f)throw new Error(_0x38dc1c(0x3c9));const _0x574a7b=new _0x278695[(_0x38dc1c(0x405))](),_0x3cd129=new _0x34a6cc[(_0x38dc1c(0x2eb))]();_0x574a7b[_0x38dc1c(0x1ee)](_0x53128f[_0x38dc1c(0x3b6)][_0x38dc1c(0x218)](_0x235ad7=>_0x3cd129['next'](_0x235ad7))),_0x574a7b[_0x38dc1c(0x1ee)](_0x278695['toDisposable'](()=>_0x3cd129['complete']()));const _0x382948=new _0x34a6cc[(_0x38dc1c(0x2eb))]();_0x574a7b['add'](_0x53128f['error$'][_0x38dc1c(0x218)](_0xd4c4e5=>_0x382948['next'](_0xd4c4e5))),_0x574a7b[_0x38dc1c(0x1ee)](_0x278695[_0x38dc1c(0x1c8)](()=>_0x382948[_0x38dc1c(0x145)]()));const _0x3d8194=new _0x34a6cc['Subject']();_0x574a7b[_0x38dc1c(0x1ee)](_0x53128f[_0x38dc1c(0x40c)]['subscribe'](_0x57d5b3=>{const _0x42bd21=_0x38dc1c,_0x26896e=_0x47c5f1(_0x57d5b3);_0x3d8194[_0x42bd21(0x321)](_0x26896e);})),_0x574a7b[_0x38dc1c(0x1ee)](_0x278695[_0x38dc1c(0x1c8)](()=>_0x3d8194['complete']()));let _0x2422cb;const _0x48fbd6=()=>{const _0x227051=_0x38dc1c;_0x382948[_0x227051(0x321)](new Event(_0x227051(0x4bb))),_0x3cd129[_0x227051(0x321)](new CloseEvent(_0x227051(0x4bb))),_0x2422cb[_0x227051(0x1b0)]();};return _0x2422cb={'memberID':'','close$':_0x3cd129[_0x38dc1c(0x418)](),'error$':_0x382948[_0x38dc1c(0x418)](),'open$':_0x53128f[_0x38dc1c(0x381)],'message$':_0x3d8194[_0x38dc1c(0x418)](),'send':_0x2da1fb=>{const _0x1f8c3b=_0x38dc1c;if(_0x2da1fb[_0x1f8c3b(0x1a6)]===_0x4ca514['INGEST']){if(_0x2da1fb['data'][_0x1f8c3b(0x17d)]===_0x5d08[_0x1f8c3b(0x581)][_0x1f8c3b(0x25a)]){this['_submitChangeset'](_0x2422cb,_0x2da1fb[_0x1f8c3b(0x1ed)])[_0x1f8c3b(0x233)](_0x4f5be5=>{const _0x1bf14a=_0x1f8c3b;this[_0x1bf14a(0x334)][_0x1bf14a(0x228)](_0x4f5be5),_0x48fbd6();});return;}if(_0x2da1fb[_0x1f8c3b(0x1ed)][_0x1f8c3b(0x17d)]===_0x5d08[_0x1f8c3b(0x581)]['FETCH_MISSING']){const _0x5bd36a=_0x2da1fb[_0x1f8c3b(0x1ed)];this[_0x1f8c3b(0x544)](_0x5bd36a)['then'](_0x40f4e2=>{const _0x27c0a3=_0x1f8c3b;_0x3d8194['next']({'cmd':_0x4ca514[_0x27c0a3(0x22a)],'code':_0x5ba4cf['OK'],'routeKey':_0x5bd36a[_0x27c0a3(0x1ed)]['unitID'],'routeType':'','data':{'eventID':_0x5d08[_0x27c0a3(0x581)][_0x27c0a3(0x216)],'data':{'changesets':_0x40f4e2}}});})['catch'](_0x992a20=>{const _0x168762=_0x1f8c3b;this['_logService'][_0x168762(0x228)](_0x992a20),_0x48fbd6();});return;}}_0x53128f[_0x1f8c3b(0x50b)](_0xd73f22(_0x2da1fb));},'close':()=>{const _0x3eac8c=_0x38dc1c;_0x53128f[_0x3eac8c(0x1b0)](),_0x574a7b[_0x3eac8c(0x1f1)]();}},_0x2422cb;}async[_0x406fa3(0x292)](_0x265472,_0x2a7749){const _0x5ca8b4=_0x406fa3;var _0x5bd661,_0x33e484;const {unitType:_0x444cca,unitID:_0x18f4ce,changeset:_0xcf1529}=_0x2a7749['data'],_0x2957e7={'unitID':_0x18f4ce,'memberID':_0x265472[_0x5ca8b4(0x1b2)],'type':_0x444cca,'changeset':_0x5d08[_0x5ca8b4(0x3a2)](_0xcf1529)},_0x4aa11f=this[_0x5ca8b4(0x165)][_0x5ca8b4(0x377)](_0x41e0fd),_0x2cbec9=this['_configService'][_0x5ca8b4(0x377)](_0x41c87a),_0x3232a6=_0x38942a((_0x33e484=(_0x5bd661=_0x2cbec9==null?void 0x0:_0x2cbec9['collabSubmitChangesetUrl'])!=null?_0x5bd661:_0x4aa11f)!=null?_0x33e484:_0x4dbff3,_0x444cca,_0x18f4ce);try{await this['_http'][_0x5ca8b4(0x4e2)](_0x3232a6,{'body':_0x2957e7});}catch(_0x248c7b){throw this[_0x5ca8b4(0x334)]['error'](_0x5ca8b4(0x57b),'submit\x20changeset\x20error!'),_0x248c7b;}}async[_0x406fa3(0x544)](_0x1ad6a4){const _0x12fe09=_0x406fa3,{unitID:_0x2439cd,from:_0x4ee3fa,to:_0x3fdcb0,unitType:_0x82f58b}=_0x1ad6a4['data'];return(await this[_0x12fe09(0x1d0)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x2439cd,'type':_0x82f58b,'from':_0x4ee3fa,'to':_0x3fdcb0}))['changesets'];}},_0x121304[_0x406fa3(0x31a)]=_0xaabf8f([_0x49125e(0x0,_0x278695['Inject'](_0x166997[_0x406fa3(0x3f5)])),_0x49125e(0x1,_0x278695[_0x406fa3(0x2cb)](_0x166997[_0x406fa3(0x404)])),_0x49125e(0x2,_0x278695[_0x406fa3(0x4c4)]),_0x49125e(0x3,_0x278695[_0x406fa3(0x21a)]),_0x49125e(0x4,_0x5d08[_0x406fa3(0x455)])],_0x121304[_0x406fa3(0x31a)]);const _0x5beeee=_0x406fa3(0x1ba);function _0xd7a35b(_0x53fc7a){const _0x388c86=_0x406fa3;return JSON[_0x388c86(0x2e0)](_0x53fc7a)['length'];}class _0x646873{constructor(){const _0xf9f956=_0x406fa3;_0x175777(this,'_commentUpdate$',new _0x34a6cc[(_0xf9f956(0x2eb))]()),_0x175777(this,_0xf9f956(0x572),this[_0xf9f956(0x1e1)]['asObservable']());}[_0x406fa3(0x362)](_0x71c565){const _0x15a463=_0x406fa3;this[_0x15a463(0x1e1)][_0x15a463(0x321)](_0x71c565);}}var _0x424c7b=Object[_0x406fa3(0x1a2)],_0x42dcb9=Object[_0x406fa3(0x187)],_0x4b076f=(_0x33ff12,_0x3f9484,_0x5925ec,_0x3120c0)=>{const _0x181f6d=_0x406fa3;for(var _0x4f49b2=_0x3120c0>0x1?void 0x0:_0x3120c0?_0x42dcb9(_0x3f9484,_0x5925ec):_0x3f9484,_0x11cf74=_0x33ff12[_0x181f6d(0x565)]-0x1,_0x3f5735;_0x11cf74>=0x0;_0x11cf74--)(_0x3f5735=_0x33ff12[_0x11cf74])&&(_0x4f49b2=(_0x3120c0?_0x3f5735(_0x3f9484,_0x5925ec,_0x4f49b2):_0x3f5735(_0x4f49b2))||_0x4f49b2);return _0x3120c0&&_0x4f49b2&&_0x424c7b(_0x3f9484,_0x5925ec,_0x4f49b2),_0x4f49b2;},_0x518011=(_0xeb2e18,_0x4d7b1e)=>(_0x3f8809,_0x4a4e69)=>_0x4d7b1e(_0x3f8809,_0x4a4e69,_0xeb2e18);let _0x76bc39=class extends _0x278695['Disposable']{constructor(_0x396794,_0x2ea80e){const _0x395ccc=_0x406fa3;super(),_0x175777(this,_0x395ccc(0x26d),new Map()),(this['_univerInstanceService']=_0x396794,this['_userManagerService']=_0x2ea80e,this[_0x395ccc(0x343)](_0x278695[_0x395ccc(0x1c8)](_0x34a6cc[_0x395ccc(0x504)](this[_0x395ccc(0x45b)]['getTypeOfUnitDisposed$'](_0x278695[_0x395ccc(0x266)]['UNIVER_SHEET'])[_0x395ccc(0x2b3)](_0x3753b5[_0x395ccc(0x1a8)](_0x5259c4=>_0x5259c4[_0x395ccc(0x1f9)]())),this[_0x395ccc(0x45b)][_0x395ccc(0x40a)](_0x278695[_0x395ccc(0x266)][_0x395ccc(0x373)])[_0x395ccc(0x2b3)](_0x3753b5[_0x395ccc(0x1a8)](_0x33671b=>_0x33671b[_0x395ccc(0x1f9)]())),this[_0x395ccc(0x45b)][_0x395ccc(0x40a)](_0x278695[_0x395ccc(0x266)][_0x395ccc(0x2d8)])['pipe'](_0x3753b5[_0x395ccc(0x1a8)](_0x5f1ffd=>_0x5f1ffd['getUnitId']())))[_0x395ccc(0x218)](_0x4e1be5=>this[_0x395ccc(0x179)](_0x4e1be5)))));}[_0x406fa3(0x41e)](_0x769e31){const _0x20bde1=_0x406fa3;this[_0x20bde1(0x56d)][_0x20bde1(0x41e)](_0x769e31);}[_0x406fa3(0x399)](){const _0x5e2a49=_0x406fa3;return this[_0x5e2a49(0x56d)][_0x5e2a49(0x399)]();}[_0x406fa3(0x226)](_0x3e4110,_0x6bac96){const _0x77082d=_0x406fa3;let _0x4c0aad=this[_0x77082d(0x26d)][_0x77082d(0x503)](_0x3e4110);_0x4c0aad||(_0x4c0aad=new _0x50ca97(),this[_0x77082d(0x26d)][_0x77082d(0x30e)](_0x3e4110,_0x4c0aad)),_0x4c0aad[_0x77082d(0x226)](_0x6bac96);}[_0x406fa3(0x47d)](_0x119ed8,_0x51c12f){const _0xe0ba6a=_0x406fa3,_0x45f910=this[_0xe0ba6a(0x26d)]['get'](_0x119ed8);_0x45f910&&_0x45f910[_0xe0ba6a(0x47d)](_0x51c12f);}[_0x406fa3(0x3f4)](_0x2d445e){const _0x4d58f9=_0x406fa3;return this['_roomMembers'][_0x4d58f9(0x503)](_0x2d445e);}['getMember'](_0x1c05e1,_0x379a05){const _0xc89c14=_0x406fa3,_0x20100f=this[_0xc89c14(0x26d)][_0xc89c14(0x503)](_0x1c05e1);if(_0x20100f)return _0x20100f['getMember'](_0x379a05);}[_0x406fa3(0x179)](_0x1a3d19){const _0xd7013d=_0x406fa3,_0x3b4dac=this[_0xd7013d(0x26d)]['get'](_0x1a3d19);_0x3b4dac&&(_0x3b4dac[_0xd7013d(0x1f1)](),this[_0xd7013d(0x26d)]['delete'](_0x1a3d19));}[_0x406fa3(0x1f1)](){const _0x506a86=_0x406fa3;this['_roomMembers'][_0x506a86(0x569)](_0x4df856=>_0x4df856[_0x506a86(0x1f1)]()),this['_roomMembers']['clear']();}};_0x76bc39=_0x4b076f([_0x518011(0x0,_0x278695[_0x406fa3(0x2d6)]),_0x518011(0x1,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x1b7)]))],_0x76bc39);class _0x50ca97 extends _0x278695[_0x406fa3(0x3a8)]{constructor(){const _0xe3ca2b=_0x406fa3;super(...arguments),_0x175777(this,_0xe3ca2b(0x36f),new Map());}[_0x406fa3(0x1f1)](){const _0x5e7de5=_0x406fa3;this[_0x5e7de5(0x36f)]['clear']();}['updateMember'](_0x5ac559){const _0x1ec6c8=_0x406fa3;this[_0x1ec6c8(0x36f)]['set'](_0x5ac559['memberID'],_0x5ac559);}[_0x406fa3(0x47d)](_0x4b9a03){const _0x4ed7b5=_0x406fa3;this[_0x4ed7b5(0x36f)]['delete'](_0x4b9a03);}[_0x406fa3(0x370)](_0xac4041){const _0x278941=_0x406fa3;return this[_0x278941(0x36f)][_0x278941(0x503)](_0xac4041);}}var _0x14e57d=Object[_0x406fa3(0x1a2)],_0x5af8e9=Object['getOwnPropertyDescriptor'],_0x44dd77=(_0x376cf4,_0x4c72a6,_0x1a4618,_0x343188)=>{for(var _0x1c2541=_0x343188>0x1?void 0x0:_0x343188?_0x5af8e9(_0x4c72a6,_0x1a4618):_0x4c72a6,_0x114c4e=_0x376cf4['length']-0x1,_0x238e8c;_0x114c4e>=0x0;_0x114c4e--)(_0x238e8c=_0x376cf4[_0x114c4e])&&(_0x1c2541=(_0x343188?_0x238e8c(_0x4c72a6,_0x1a4618,_0x1c2541):_0x238e8c(_0x1c2541))||_0x1c2541);return _0x343188&&_0x1c2541&&_0x14e57d(_0x4c72a6,_0x1a4618,_0x1c2541),_0x1c2541;},_0x50d97d=(_0x20d6be,_0x33a84e)=>(_0xc105e9,_0x2b2118)=>_0x33a84e(_0xc105e9,_0x2b2118,_0x20d6be),_0xc1ac50=(_0x4a131f=>(_0x4a131f[_0x4a131f[_0x406fa3(0x4c9)]=0x0]=_0x406fa3(0x4c9),_0x4a131f[_0x4a131f[_0x406fa3(0x401)]=0x1]=_0x406fa3(0x401),_0x4a131f[_0x4a131f[_0x406fa3(0x372)]=0x2]=_0x406fa3(0x372),_0x4a131f[_0x4a131f[_0x406fa3(0x579)]=0x3]=_0x406fa3(0x579),_0x4a131f))(_0xc1ac50||{});_0x121304[_0x406fa3(0x420)]=class extends _0x278695[_0x406fa3(0x20b)]{constructor(_0x208977,_0x330bc1,_0x6c0400,_0x505a54,_0xba8f61,_0x3aa6b1,_0x1dbba7,_0x4c848e,_0x218333,_0x1d92e9){const _0x26f3ea=_0x406fa3;super(),_0x175777(this,_0x26f3ea(0x174),new _0x34a6cc['BehaviorSubject'](0x0)),_0x175777(this,_0x26f3ea(0x1c6),this[_0x26f3ea(0x174)]['asObservable']()),_0x175777(this,'_event$',new _0x34a6cc[(_0x26f3ea(0x2eb))]()),_0x175777(this,'event$',this[_0x26f3ea(0x1ab)][_0x26f3ea(0x418)]()),_0x175777(this,'_socket'),_0x175777(this,_0x26f3ea(0x1ff)),_0x175777(this,_0x26f3ea(0x465)),_0x175777(this,_0x26f3ea(0x4cb),!0x1),_0x175777(this,_0x26f3ea(0x45a),null),(this[_0x26f3ea(0x332)]=_0x208977,this[_0x26f3ea(0x334)]=_0x6c0400,this['_beforeCloseService']=_0x505a54,this[_0x26f3ea(0x346)]=_0xba8f61,this[_0x26f3ea(0x165)]=_0x3aa6b1,this[_0x26f3ea(0x1b1)]=_0x1dbba7,this[_0x26f3ea(0x3e4)]=_0x4c848e,this[_0x26f3ea(0x498)]=_0x218333,this['_telemetryService']=_0x1d92e9,this[_0x26f3ea(0x4cb)]=!!this[_0x26f3ea(0x23e)],_0x330bc1['pipe'](_0x34a6cc['takeUntil'](this[_0x26f3ea(0x37d)]))[_0x26f3ea(0x218)](_0x477bcc=>{const _0x125b32=_0x26f3ea;var _0x37225e;typeof _0x477bcc>'u'||(this['_socket']=_0x477bcc,_0x477bcc?(this['_joinRoom'](_0x477bcc),this['_socketMessageSubscription']=_0x477bcc[_0x125b32(0x40c)][_0x125b32(0x218)](_0x5ac06c=>{const _0x1da434=_0x125b32;_0x5ac06c[_0x1da434(0x1d7)]===this['_unitID']&&this[_0x1da434(0x26f)](_0x5ac06c);})):(this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$'][_0x125b32(0x321)](0x2),(_0x37225e=this['_socketMessageSubscription'])==null||_0x37225e['unsubscribe'](),this[_0x125b32(0x1ff)]=null));}),this[_0x26f3ea(0x343)](this[_0x26f3ea(0x301)][_0x26f3ea(0x4d0)](()=>{const _0x614ff8=_0x26f3ea;var _0x4faa8e;(_0x4faa8e=this[_0x614ff8(0x195)])==null||_0x4faa8e['send']({'cmd':_0x4ca514[_0x614ff8(0x1bd)],'data':{'roomID':this[_0x614ff8(0x332)]}});})));}get[_0x406fa3(0x409)](){const _0x28a502=_0x406fa3;return this[_0x28a502(0x174)][_0x28a502(0x281)]();}[_0x406fa3(0x46b)](){const _0x3db6fb=_0x406fa3;var _0x28de38,_0x5cf9dd;return(_0x5cf9dd=(_0x28de38=this[_0x3db6fb(0x195)])==null?void 0x0:_0x28de38[_0x3db6fb(0x1b2)])!=null?_0x5cf9dd:null;}[_0x406fa3(0x1f1)](){const _0x2b4983=_0x406fa3;super['dispose'](),this[_0x2b4983(0x37d)][_0x2b4983(0x321)](),this['dispose$'][_0x2b4983(0x145)]();}['close'](){const _0x3ed104=_0x406fa3;var _0x432add,_0x2b7823;this[_0x3ed104(0x322)](),(_0x432add=this['_socket'])==null||_0x432add[_0x3ed104(0x50b)]({'cmd':_0x4ca514[_0x3ed104(0x1bd)],'data':{'roomID':this[_0x3ed104(0x332)]}}),(_0x2b7823=this[_0x3ed104(0x195)])==null||_0x2b7823[_0x3ed104(0x1b0)](),this[_0x3ed104(0x1ab)][_0x3ed104(0x145)](),this['_sessionStatus$'][_0x3ed104(0x145)](),this[_0x3ed104(0x1f1)]();}[_0x406fa3(0x26f)](_0x5d9f8d){const _0x1eb23d=_0x406fa3;_0x5d9f8d[_0x1eb23d(0x1a6)]===_0x4ca514['JOIN']?this[_0x1eb23d(0x198)](_0x5d9f8d):_0x5d9f8d['cmd']===_0x4ca514[_0x1eb23d(0x22a)]&&this[_0x1eb23d(0x432)](_0x5d9f8d);}[_0x406fa3(0x3ff)](_0x350490){const _0x28c627=_0x406fa3;this[_0x28c627(0x174)][_0x28c627(0x321)](0x1),_0x350490[_0x28c627(0x50b)]({'cmd':_0x4ca514[_0x28c627(0x2fd)],'routeKey':this[_0x28c627(0x332)],'routeType':'','data':{'rooms':[{'roomID':this[_0x28c627(0x332)]}]}});}[_0x406fa3(0x198)](_0x5ea0f4){const _0x320ac4=_0x406fa3;var _0x2f7230;if(_0x5ea0f4[_0x320ac4(0x550)]===_0x5ba4cf[_0x320ac4(0x2db)]){this[_0x320ac4(0x346)][_0x320ac4(0x571)]({'type':_0x381d1f['MessageType'][_0x320ac4(0x52c)],'content':this[_0x320ac4(0x1b1)]['t'](_0x320ac4(0x2d9))}),this[_0x320ac4(0x174)]['next'](0x2);return;}this['_sessionStatus$'][_0x320ac4(0x321)](0x3);const _0x1391fd=(_0x2f7230=_0x5ea0f4['data'][_0x320ac4(0x214)][this[_0x320ac4(0x332)]])==null?void 0x0:_0x2f7230[_0x320ac4(0x19f)];_0x1391fd&&_0x1391fd[_0x320ac4(0x569)](_0xc415d7=>this[_0x320ac4(0x3e4)][_0x320ac4(0x226)](this[_0x320ac4(0x332)],_0xc415d7));}[_0x406fa3(0x432)](_0x3b70c4){const _0x2797ca=_0x406fa3;try{const _0x57be6f=_0x3b70c4[_0x2797ca(0x1ed)];switch(_0x57be6f[_0x2797ca(0x17d)]){case _0x5d08[_0x2797ca(0x581)][_0x2797ca(0x1ca)]:this[_0x2797ca(0x256)](_0x57be6f),this['_event$'][_0x2797ca(0x321)](_0x57be6f);break;case _0x5d08[_0x2797ca(0x581)]['USERS_LEAVE']:this[_0x2797ca(0x194)](_0x57be6f),this[_0x2797ca(0x1ab)][_0x2797ca(0x321)](_0x57be6f);break;case _0x5d08['CollaborationEvent'][_0x2797ca(0x4ab)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x2797ca(0x1db)](),this[_0x2797ca(0x1ab)][_0x2797ca(0x321)](_0x57be6f);break;case _0x5d08[_0x2797ca(0x581)][_0x2797ca(0x19c)]:this[_0x2797ca(0x334)][_0x2797ca(0x228)](_0x2797ca(0x3c1)+JSON['stringify'](_0x57be6f)),this[_0x2797ca(0x1ab)][_0x2797ca(0x321)](_0x57be6f);break;case _0x5d08[_0x2797ca(0x581)][_0x2797ca(0x14f)]:this['_commentService'][_0x2797ca(0x362)](_0x57be6f[_0x2797ca(0x1ed)]),this['_event$'][_0x2797ca(0x321)](_0x57be6f);break;default:this['_event$']['next'](_0x57be6f);}}catch(_0xb0adfb){this[_0x2797ca(0x334)]['error'](_0xb0adfb,_0x3b70c4);}}[_0x406fa3(0x256)](_0x1b69b4){const _0x55b841=_0x406fa3;this[_0x55b841(0x3e4)][_0x55b841(0x226)](this['_unitID'],_0x1b69b4['data']);}[_0x406fa3(0x194)](_0x46b177){const _0x31c541=_0x406fa3;this[_0x31c541(0x3e4)][_0x31c541(0x47d)](this[_0x31c541(0x332)],_0x46b177[_0x31c541(0x1ed)][_0x31c541(0x1b2)]);}async[_0x406fa3(0x50b)](_0x4c717f,_0x571d2c){const _0x2cbc00=_0x406fa3;if(this[_0x2cbc00(0x409)]!==0x3||!this[_0x2cbc00(0x195)])throw new Error(_0x2cbc00(0x2bc));try{_0x4c717f[_0x2cbc00(0x17d)]===_0x5d08[_0x2cbc00(0x581)][_0x2cbc00(0x25a)]&&(this[_0x2cbc00(0x34c)](),this['_startTelemetryCollaborationNewChangeset'](_0x4c717f)),this[_0x2cbc00(0x195)][_0x2cbc00(0x50b)]({'cmd':_0x4ca514[_0x2cbc00(0x485)],'routeKey':_0x571d2c,'routeType':'','data':_0x4c717f});}catch(_0x244baa){this[_0x2cbc00(0x334)]['error'](_0x244baa);}}['_scheduleCollaborationTimeoutTimer'](){const _0x35fcd8=_0x406fa3;var _0x17dbd4;this[_0x35fcd8(0x465)]=window[_0x35fcd8(0x4d6)](()=>{const _0x36d0fa=_0x35fcd8;this[_0x36d0fa(0x465)]=null,this[_0x36d0fa(0x346)][_0x36d0fa(0x571)]({'type':_0x381d1f[_0x36d0fa(0x26e)][_0x36d0fa(0x44a)],'content':this[_0x36d0fa(0x1b1)]['t'](_0x36d0fa(0x2bf))});},(_0x17dbd4=this[_0x35fcd8(0x165)][_0x35fcd8(0x377)](_0x52d634))!=null?_0x17dbd4:0x4e20);}[_0x406fa3(0x1db)](){const _0x28c768=_0x406fa3;this[_0x28c768(0x465)]&&(clearTimeout(this[_0x28c768(0x465)]),this['_collaborationTimeoutTimer']=null);}[_0x406fa3(0x32a)](_0x463de8){const _0x2cb8f3=_0x406fa3;if(!this[_0x2cb8f3(0x4cb)])return;const {data:_0xd32258}=_0x463de8,{unitID:_0x69699b,changeset:_0xbbc5a1}=_0xd32258,{mutations:_0x28a063,type:_0x17e333}=_0xbbc5a1;this[_0x2cb8f3(0x45a)]={'unitId':_0x69699b,'type':_0x17e333,'startTime':performance[_0x2cb8f3(0x3d4)](),'stopTime':0x0,'duration':0x0,'size':_0xd7a35b(_0x28a063)};}[_0x406fa3(0x341)](){const _0x2d082d=_0x406fa3;if(this[_0x2d082d(0x4cb)]){if(!this[_0x2d082d(0x45a)]){this[_0x2d082d(0x334)]['error'](_0x2d082d(0x57b),_0x2d082d(0x2d3));return;}this[_0x2d082d(0x45a)][_0x2d082d(0x43d)]=performance['now'](),this[_0x2d082d(0x45a)][_0x2d082d(0x290)]=this[_0x2d082d(0x45a)][_0x2d082d(0x43d)]-this[_0x2d082d(0x45a)][_0x2d082d(0x309)],this['_telemetryService'][_0x2d082d(0x4b6)](_0x5beeee,this[_0x2d082d(0x45a)]),this[_0x2d082d(0x45a)]=null;}}[_0x406fa3(0x322)](){const _0x55aa6c=_0x406fa3;this[_0x55aa6c(0x45a)]=null;}},_0x121304[_0x406fa3(0x420)]=_0x44dd77([_0x50d97d(0x2,_0x278695['ILogService']),_0x50d97d(0x3,_0x42b7fc[_0x406fa3(0x535)]),_0x50d97d(0x4,_0x42b7fc[_0x406fa3(0x2b1)]),_0x50d97d(0x5,_0x278695[_0x406fa3(0x4c4)]),_0x50d97d(0x6,_0x278695['Inject'](_0x278695[_0x406fa3(0x3c6)])),_0x50d97d(0x7,_0x278695[_0x406fa3(0x2cb)](_0x76bc39)),_0x50d97d(0x8,_0x278695[_0x406fa3(0x2cb)](_0x646873)),_0x50d97d(0x9,_0x278695[_0x406fa3(0x2fa)](_0x3c7262[_0x406fa3(0x27e)]))],_0x121304[_0x406fa3(0x420)]);var _0x215076=Object[_0x406fa3(0x1a2)],_0x4251ae=Object[_0x406fa3(0x187)],_0x180cca=(_0x3ff964,_0x514f03,_0x33d873,_0x49c17d)=>{const _0xcc4694=_0x406fa3;for(var _0x6ea580=_0x49c17d>0x1?void 0x0:_0x49c17d?_0x4251ae(_0x514f03,_0x33d873):_0x514f03,_0x1eca5e=_0x3ff964[_0xcc4694(0x565)]-0x1,_0x5b43b4;_0x1eca5e>=0x0;_0x1eca5e--)(_0x5b43b4=_0x3ff964[_0x1eca5e])&&(_0x6ea580=(_0x49c17d?_0x5b43b4(_0x514f03,_0x33d873,_0x6ea580):_0x5b43b4(_0x6ea580))||_0x6ea580);return _0x49c17d&&_0x6ea580&&_0x215076(_0x514f03,_0x33d873,_0x6ea580),_0x6ea580;},_0x2491ef=(_0x1ec5c4,_0x5aba41)=>(_0x12dc05,_0x54d6ad)=>_0x5aba41(_0x12dc05,_0x54d6ad,_0x1ec5c4);_0x121304['CollaborationSessionService']=class extends _0x278695['Disposable']{constructor(_0x55e232,_0x518be0,_0x7d80ec,_0x26f617,_0x5c6cbb,_0x911423){const _0x169e50=_0x406fa3;super(),_0x175777(this,_0x169e50(0x147),new _0x34a6cc[(_0x169e50(0x4fe))](void 0x0)),_0x175777(this,_0x169e50(0x1a9),this['_socket$'][_0x169e50(0x418)]()),_0x175777(this,_0x169e50(0x19d),null),_0x175777(this,_0x169e50(0x16b),new Map()),_0x175777(this,_0x169e50(0x510),new _0x34a6cc[(_0x169e50(0x4fe))](_0xc1ac50['IDLE'])),_0x175777(this,_0x169e50(0x29c),this[_0x169e50(0x510)][_0x169e50(0x418)]()),_0x175777(this,_0x169e50(0x3ea),!0x1),_0x175777(this,_0x169e50(0x1bf)),_0x175777(this,_0x169e50(0x180),0x0),_0x175777(this,_0x169e50(0x280)),_0x175777(this,_0x169e50(0x49a)),(this[_0x169e50(0x557)]=_0x55e232,this['_localeService']=_0x518be0,this['_messageService']=_0x7d80ec,this['_logService']=_0x26f617,this['_configService']=_0x5c6cbb,this['_socketService']=_0x911423,this[_0x169e50(0x430)]());}get[_0x406fa3(0x195)](){const _0x4ebb8a=_0x406fa3;return this['_socket$'][_0x4ebb8a(0x281)]();}['_initEventListeners'](){this['_listenToOfflineEvent'](),this['_listenToOnlineEvent']();}[_0x406fa3(0x1f1)](){const _0x54bd63=_0x406fa3;super[_0x54bd63(0x1f1)](),this[_0x54bd63(0x16b)][_0x54bd63(0x569)](_0xd0be97=>_0xd0be97[_0x54bd63(0x1f1)]()),this[_0x54bd63(0x16b)][_0x54bd63(0x484)](),this[_0x54bd63(0x510)][_0x54bd63(0x145)]();}async['requireSession'](_0x17576c){const _0x4d5903=_0x406fa3;if(this[_0x4d5903(0x16b)][_0x4d5903(0x39d)](_0x17576c))return this[_0x4d5903(0x16b)][_0x4d5903(0x503)](_0x17576c);this[_0x4d5903(0x543)]();const _0x3fd897=this[_0x4d5903(0x557)][_0x4d5903(0x13d)](_0x121304[_0x4d5903(0x420)],_0x17576c,this[_0x4d5903(0x147)]['asObservable']());return this['_sessions'][_0x4d5903(0x30e)](_0x17576c,_0x3fd897),_0x3fd897;}[_0x406fa3(0x2d1)](_0x5c9983){const _0x97ba9f=_0x406fa3;var _0x54ce61;const _0x448f0b=this['_sessions']['get'](_0x5c9983);_0x448f0b&&(this['_sessions']['delete'](_0x5c9983),_0x448f0b[_0x97ba9f(0x1b0)]()),this[_0x97ba9f(0x16b)][_0x97ba9f(0x18a)]||(_0x54ce61=this['_socket'])==null||_0x54ce61[_0x97ba9f(0x1b0)]();}[_0x406fa3(0x3e9)](){const _0xd923a3=_0x406fa3;this[_0xd923a3(0x180)]=0x0,this[_0xd923a3(0x1bf)]!=null&&(clearTimeout(this[_0xd923a3(0x1bf)]),this[_0xd923a3(0x1bf)]=null),this[_0xd923a3(0x1b3)]();}[_0x406fa3(0x207)](){const _0x343b95=_0x406fa3;var _0x501222,_0x2a4a51;const _0x202582=this[_0x343b95(0x165)][_0x343b95(0x377)](_0xc7bdf9),_0x2f57f3=this[_0x343b95(0x165)][_0x343b95(0x377)](_0x41c87a),_0x8514a=(_0x2a4a51=(_0x501222=_0x2f57f3==null?void 0x0:_0x2f57f3['collabWebSocketUrl'])!=null?_0x501222:_0x202582)!=null?_0x2a4a51:_0x30d5cc,_0x4e78ef=this[_0x343b95(0x4bc)]['createSocket'](_0x8514a);return this['_candidateSocket']=_0x4e78ef,_0x4e78ef;}['_tryEnsureSocket'](){const _0xdcce54=_0x406fa3;var _0x450392,_0x1ee695;try{const _0x2fd663=(_0x1ee695=(_0x450392=this['_socket'])!=null?_0x450392:this[_0xdcce54(0x19d)])!=null?_0x1ee695:this[_0xdcce54(0x207)]();if(_0x2fd663){const _0xb0366e=_0x2fd663['send'];_0x2fd663['send']=_0x12aa25=>(this[_0xdcce54(0x53e)](),_0xb0366e[_0xdcce54(0x169)](_0x2fd663,[_0x12aa25])),_0x2fd663['message$'][_0xdcce54(0x218)](_0x4ec025=>this[_0xdcce54(0x344)](_0x2fd663,_0x4ec025)),_0x2fd663[_0xdcce54(0x1e2)][_0xdcce54(0x2b3)](_0x3753b5[_0xdcce54(0x151)](0x1))['subscribe'](_0x53db31=>this[_0xdcce54(0x334)][_0xdcce54(0x228)](_0xdcce54(0x159),_0x53db31)),_0x2fd663[_0xdcce54(0x381)][_0xdcce54(0x2b3)](_0x3753b5[_0xdcce54(0x151)](0x1))[_0xdcce54(0x218)](()=>{const _0x4e342b=_0xdcce54;this[_0x4e342b(0x40b)](_0x2fd663);}),_0x2fd663['close$'][_0xdcce54(0x2b3)](_0x3753b5[_0xdcce54(0x151)](0x1))['subscribe'](_0x2fd231=>{const _0x34e337=_0xdcce54;this[_0x34e337(0x334)]['debug'](_0x34e337(0x32b),'socket\x20close',_0x2fd231),this['_onConnectionFailed']();});}}catch(_0x4fc37d){this[_0xdcce54(0x334)]['error'](_0x4fc37d),this['_onConnectionFailed']();}}[_0x406fa3(0x40b)](_0x31e96a){const _0x470d81=_0x406fa3;this[_0x470d81(0x334)][_0x470d81(0x394)](_0x470d81(0x32b),'socket\x20open.'),_0x31e96a[_0x470d81(0x50b)]({'cmd':_0x4ca514[_0x470d81(0x520)]}),this[_0x470d81(0x53e)]();}[_0x406fa3(0x534)](){const _0x10dd6f=_0x406fa3;window[_0x10dd6f(0x3bd)](_0x10dd6f(0x1ce),()=>this['_onOffline']());}[_0x406fa3(0x36e)](){const _0x12638c=_0x406fa3;this[_0x12638c(0x3ea)]=!0x1,this[_0x12638c(0x19d)]=null,this[_0x12638c(0x510)][_0x12638c(0x321)](_0xc1ac50[_0x12638c(0x372)]),this[_0x12638c(0x147)]['next'](null),this[_0x12638c(0x298)](),this[_0x12638c(0x3f0)]();}['_onConnectionFailed'](){const _0x2d6719=_0x406fa3;var _0x274516;this[_0x2d6719(0x36e)](),this[_0x2d6719(0x180)]<((_0x274516=this['_configService'][_0x2d6719(0x377)](_0x249b8f))!=null?_0x274516:0x3)?(this[_0x2d6719(0x346)][_0x2d6719(0x571)]({'key':_0x2d6719(0x42e),'type':_0x381d1f[_0x2d6719(0x26e)][_0x2d6719(0x52c)],'content':this['_localeService']['t'](_0x2d6719(0x578))}),this[_0x2d6719(0x1b3)]()):this[_0x2d6719(0x346)][_0x2d6719(0x571)]({'key':_0x2d6719(0x42e),'type':_0x381d1f[_0x2d6719(0x26e)][_0x2d6719(0x44a)],'content':this[_0x2d6719(0x1b1)]['t'](_0x2d6719(0x56c))});}[_0x406fa3(0x50f)](){const _0x3a8545=_0x406fa3,_0x10e05f=()=>{const _0x10e9ed=_0x3463;this[_0x10e9ed(0x195)]||this[_0x10e9ed(0x3e9)]();},_0x2a393a=()=>{const _0x3f2e69=_0x3463;this['_socket']||document[_0x3f2e69(0x203)]==='hidden'||this[_0x3f2e69(0x3e9)]();};window[_0x3a8545(0x3bd)](_0x3a8545(0x52b),_0x10e05f),document[_0x3a8545(0x3bd)](_0x3a8545(0x564),_0x2a393a);}['_tryReconnect'](){const _0x119e72=_0x406fa3;var _0x5b5efa;const _0x5e13a8=this[_0x119e72(0x180)],_0x5f1d10=this[_0x119e72(0x165)]['getConfig'](_0x41c87a),_0x4a6933=_0x5e13a8===0x0?0x0:((_0x5b5efa=_0x5f1d10==null?void 0x0:_0x5f1d10[_0x119e72(0x1ea)])!=null?_0x5b5efa:0x4e20)*0x2**_0x5e13a8;this[_0x119e72(0x1bf)]=window['setTimeout'](()=>{const _0x5cee59=_0x119e72;clearTimeout(this[_0x5cee59(0x1bf)]),this[_0x5cee59(0x1bf)]=null,this[_0x5cee59(0x543)]();},_0x4a6933),this[_0x119e72(0x180)]+=0x1;}[_0x406fa3(0x344)](_0x2a276f,_0x44f2f8){const _0x306fbd=_0x406fa3,{cmd:_0x30557c}=_0x44f2f8;_0x30557c===_0x4ca514[_0x306fbd(0x520)]&&!this[_0x306fbd(0x3ea)]&&(_0x2a276f['memberID']=_0x44f2f8[_0x306fbd(0x1ed)][_0x306fbd(0x1b2)],this['_socket$']['next'](_0x2a276f),this[_0x306fbd(0x510)][_0x306fbd(0x321)](_0xc1ac50[_0x306fbd(0x579)]),this[_0x306fbd(0x3ea)]=!0x0,this['_candidateSocket']=null),_0x30557c===_0x4ca514[_0x306fbd(0x303)]&&this[_0x306fbd(0x298)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){const _0x469ab3=_0x406fa3;var _0x19b2de;this[_0x469ab3(0x3f0)](),this[_0x469ab3(0x280)]=window[_0x469ab3(0x4d6)](()=>this['_sendHeartbeat'](),(_0x19b2de=this['_configService'][_0x469ab3(0x377)](_0x268833))!=null?_0x19b2de:0x7530);}[_0x406fa3(0x3a6)](){const _0x2c5949=_0x406fa3;this[_0x2c5949(0x195)]['send']({'cmd':_0x4ca514[_0x2c5949(0x303)]}),this[_0x2c5949(0x36d)]();}['_waitForHeartbeatResponse'](){const _0x1a5787=_0x406fa3;var _0x6a405e;this['_timeoutTimer']=window[_0x1a5787(0x4d6)](()=>this[_0x1a5787(0x4a5)](),(_0x6a405e=this['_configService'][_0x1a5787(0x377)](_0x52d634))!=null?_0x6a405e:0x4e20);}[_0x406fa3(0x3f0)](){const _0x358954=_0x406fa3;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x358954(0x280)]),this[_0x358954(0x280)]=null);}[_0x406fa3(0x298)](){const _0x1cd4d6=_0x406fa3;this[_0x1cd4d6(0x49a)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x1cd4d6(0x49a)]=null);}},_0x121304['CollaborationSessionService']=_0x180cca([_0x2491ef(0x0,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x18f)])),_0x2491ef(0x1,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x3c6)])),_0x2491ef(0x2,_0x42b7fc[_0x406fa3(0x2b1)]),_0x2491ef(0x3,_0x278695[_0x406fa3(0x21a)]),_0x2491ef(0x4,_0x278695[_0x406fa3(0x4c4)]),_0x2491ef(0x5,_0x441b2a)],_0x121304[_0x406fa3(0x502)]);var _0x373f93=Object['defineProperty'],_0x257301=Object['getOwnPropertyDescriptor'],_0x38181f=(_0x2047e5,_0x345789,_0x1321b6,_0x2e1fea)=>{const _0x1ed837=_0x406fa3;for(var _0x49cf0c=_0x2e1fea>0x1?void 0x0:_0x2e1fea?_0x257301(_0x345789,_0x1321b6):_0x345789,_0x5509ae=_0x2047e5[_0x1ed837(0x565)]-0x1,_0x2bb659;_0x5509ae>=0x0;_0x5509ae--)(_0x2bb659=_0x2047e5[_0x5509ae])&&(_0x49cf0c=(_0x2e1fea?_0x2bb659(_0x345789,_0x1321b6,_0x49cf0c):_0x2bb659(_0x49cf0c))||_0x49cf0c);return _0x2e1fea&&_0x49cf0c&&_0x373f93(_0x345789,_0x1321b6,_0x49cf0c),_0x49cf0c;},_0x408bc4=(_0x6766c9,_0x11facb)=>(_0x184a40,_0x359346)=>_0x11facb(_0x184a40,_0x359346,_0x6766c9);let _0x4b08e2=class{constructor(_0x1a7245,_0x2375a2,_0x11e015){const _0x34687b=_0x406fa3;this[_0x34687b(0x557)]=_0x1a7245,this['_transformService']=_0x2375a2,this[_0x34687b(0x257)]=_0x11e015;}[_0x406fa3(0x3b4)](_0x1c5ea7){const _0x562dba=_0x406fa3;this[_0x562dba(0x272)](_0x1c5ea7),this[_0x562dba(0x1fb)](_0x1c5ea7);}[_0x406fa3(0x45c)](_0x57d0a7){const _0x12185f=_0x406fa3,{unitID:_0x38377f}=_0x57d0a7,_0x4dacf4=this[_0x12185f(0x257)][_0x12185f(0x2b6)](_0x38377f)[_0x12185f(0x55a)](_0x107653[_0x12185f(0x1c1)]),{redoCache:_0x30378e}=_0x4dacf4[_0x12185f(0x1e7)]();if(_0x30378e['length']===0x0)return _0x57d0a7;let _0x2846bd=_0x278695[_0x12185f(0x1a3)][_0x12185f(0x149)](_0x57d0a7[_0x12185f(0x384)][0x0]);for(let _0x494e15=0x0;_0x494e15<_0x30378e[_0x12185f(0x565)];_0x494e15++){const _0x41d6f2={'id':'doc.mutation.rich-text-editing','params':{..._0x30378e[_0x494e15]}},_0x4db80b=this[_0x12185f(0x193)][_0x12185f(0x3f8)](_0x2846bd,_0x41d6f2,!0x1);if(_0x5d08[_0x12185f(0x1dc)](_0x4db80b))throw _0x4db80b[_0x12185f(0x228)];_0x2846bd=_0x4db80b['m1Prime'];}return{..._0x278695[_0x12185f(0x1a3)][_0x12185f(0x149)](_0x57d0a7),'mutations':[_0x2846bd]};}[_0x406fa3(0x272)](_0x14b683){const _0xf2bee=_0x406fa3,{unitID:_0x1f89e5}=_0x14b683,_0x36c7de=this['_renderManagerService']['getRenderById'](_0x1f89e5)['with'](_0x107653[_0xf2bee(0x1c1)]),{undoCache:_0x1b291f,redoCache:_0x4c1f1f}=_0x36c7de[_0xf2bee(0x1e7)]();if(_0x1b291f[_0xf2bee(0x565)]===0x0||_0x4c1f1f['length']===0x0)return;const _0x96e859=[],_0x112590=[];let _0x5b9712=_0x278695[_0xf2bee(0x1a3)][_0xf2bee(0x149)](_0x14b683['mutations'][0x0]),_0x802d63=_0x278695[_0xf2bee(0x1a3)][_0xf2bee(0x149)](_0x14b683[_0xf2bee(0x384)][0x0]);for(let _0x39a011=_0x1b291f[_0xf2bee(0x565)]-0x1;_0x39a011>=0x0;_0x39a011--){const _0x2f6588={'id':'doc.mutation.rich-text-editing','params':{..._0x1b291f[_0x39a011]}},_0x22d00e={'id':'doc.mutation.rich-text-editing','params':{..._0x4c1f1f[_0x39a011]}},_0x3d1e13=this[_0xf2bee(0x193)]['transformMutation'](_0x5b9712,_0x2f6588,!0x1),_0x45cba3=this['_transformService'][_0xf2bee(0x3f8)](_0x802d63,_0x22d00e,!0x1);if(_0x5d08['isTransformMutationFailure'](_0x3d1e13))throw _0x3d1e13[_0xf2bee(0x228)];if(_0x5d08[_0xf2bee(0x1dc)](_0x45cba3))throw _0x45cba3[_0xf2bee(0x228)];_0x96e859[_0xf2bee(0x2c4)](_0x3d1e13['m2Prime'][_0xf2bee(0x428)]),_0x112590[_0xf2bee(0x2c4)](_0x45cba3[_0xf2bee(0x4ee)]['params']),_0x5b9712=_0x3d1e13[_0xf2bee(0x1d3)],_0x802d63=_0x45cba3[_0xf2bee(0x1d3)];}_0x36c7de[_0xf2bee(0x3cb)]({'undoCache':_0x96e859,'redoCache':_0x112590});}[_0x406fa3(0x1fb)](_0x11c455){const _0x5d8459=_0x406fa3,{unitID:_0x4027cc}=_0x11c455,_0x2f11e=this[_0x5d8459(0x257)][_0x5d8459(0x2b6)](_0x4027cc)['with'](_0x107653['DocIMEInputManagerService']),_0x1ceb84=_0x2f11e[_0x5d8459(0x1a4)]();if(_0x1ceb84==null)return;const _0x1a0eb7=[{'id':_0x5d8459(0x22b),'params':{'unitId':_0x11c455[_0x5d8459(0x42a)],'actions':null,'textRanges':[_0x1ceb84]}}],_0x172133=this[_0x5d8459(0x193)][_0x5d8459(0x3d0)](_0x11c455,_0x1a0eb7);if(!_0x5d08[_0x5d8459(0x2ec)](_0x172133))throw _0x172133[_0x5d8459(0x228)];const _0x555248=_0x172133['m2Prime'][0x0]['params'][_0x5d8459(0x14a)];Array[_0x5d8459(0x1d8)](_0x555248)&&_0x555248['length']&&_0x2f11e[_0x5d8459(0x3b0)](_0x555248[0x0]);}};_0x4b08e2=_0x38181f([_0x408bc4(0x0,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x18f)])),_0x408bc4(0x1,_0x5d08['ITransformService']),_0x408bc4(0x2,_0x363b07[_0x406fa3(0x29f)])],_0x4b08e2);var _0x4a23a8=Object['defineProperty'],_0x24848b=Object['getOwnPropertyDescriptor'],_0x4f8679=(_0x496d8d,_0x4de21a,_0x213e22,_0x14b516)=>{const _0x179ca3=_0x406fa3;for(var _0x1ac17b=_0x14b516>0x1?void 0x0:_0x14b516?_0x24848b(_0x4de21a,_0x213e22):_0x4de21a,_0x1bb879=_0x496d8d[_0x179ca3(0x565)]-0x1,_0xec0f44;_0x1bb879>=0x0;_0x1bb879--)(_0xec0f44=_0x496d8d[_0x1bb879])&&(_0x1ac17b=(_0x14b516?_0xec0f44(_0x4de21a,_0x213e22,_0x1ac17b):_0xec0f44(_0x1ac17b))||_0x1ac17b);return _0x14b516&&_0x1ac17b&&_0x4a23a8(_0x4de21a,_0x213e22,_0x1ac17b),_0x1ac17b;},_0x397c38=(_0x59dcc4,_0x5a333a)=>(_0x2c21ac,_0x2afea3)=>_0x5a333a(_0x2c21ac,_0x2afea3,_0x59dcc4);_0x121304['LocalCacheService']=class extends _0x278695[_0x406fa3(0x3a8)]{constructor(_0x41d899,_0x4d5e33,_0x6e91a9,_0x49566d,_0x582c24){const _0x5718e7=_0x406fa3;super(),_0x175777(this,_0x5718e7(0x403),new Map()),_0x175777(this,'_saveTaskMap',new Map()),_0x175777(this,_0x5718e7(0x470),!0x1),(this[_0x5718e7(0x165)]=_0x41d899,this[_0x5718e7(0x3ba)]=_0x4d5e33,this[_0x5718e7(0x301)]=_0x6e91a9,this[_0x5718e7(0x1b1)]=_0x49566d,this[_0x5718e7(0x22d)]=_0x582c24,this[_0x5718e7(0x2b7)]());}[_0x406fa3(0x1fa)](){const _0xb15fc6=_0x406fa3;this[_0xb15fc6(0x470)]=!0x0;}[_0x406fa3(0x338)](){const _0x256ec7=_0x406fa3;this[_0x256ec7(0x470)]=!0x1;}[_0x406fa3(0x1f1)](){const _0x136f59=_0x406fa3;this[_0x136f59(0x44b)]()[_0x136f59(0x2d0)](()=>super['dispose']());}async[_0x406fa3(0x43e)](_0x1813ce){const _0xc6e9cc=_0x406fa3;return this[_0xc6e9cc(0x470)]?null:this[_0xc6e9cc(0x3ba)][_0xc6e9cc(0x3b1)](_0x163403(_0x1813ce));}async[_0x406fa3(0x1b9)](_0x508a79,_0x242d14){const _0x2e0b46=_0x406fa3;return!!this[_0x2e0b46(0x3ba)][_0x2e0b46(0x148)](_0x508a79,_0x242d14);}[_0x406fa3(0x585)](_0x5876e4,_0xb741f9,_0x8e8457,_0x1868f4){const _0x56c29d=_0x406fa3,_0x469a5a=this[_0x56c29d(0x22d)]['getCurrentRevOfUnit'](_0x5876e4);this[_0x56c29d(0x403)][_0x56c29d(0x30e)](_0x5876e4,{'unitID':_0x5876e4,'type':_0xb741f9,'awaitingChangeset':_0x8e8457,'mutations':_0x1868f4,'rev':_0x469a5a}),this[_0x56c29d(0x219)][_0x56c29d(0x39d)](_0x5876e4)||this[_0x56c29d(0x4be)](_0x5876e4);}[_0x406fa3(0x4be)](_0x576cbf){const _0x395669=_0x406fa3,_0x22952d=this[_0x395669(0x55c)]();_0x22952d===0x0?this[_0x395669(0x567)](_0x576cbf):this['_saveTaskMap'][_0x395669(0x30e)](_0x576cbf,setTimeout(()=>this[_0x395669(0x567)](_0x576cbf),_0x22952d));}[_0x406fa3(0x55c)](){const _0xfc09ed=_0x406fa3;var _0x408c05;return(_0x408c05=this['_configService'][_0xfc09ed(0x377)](_0x5d6c68))!=null?_0x408c05:0x3e8;}[_0x406fa3(0x567)](_0xb0e79){const _0x24bb31=_0x406fa3,_0x19f16c=this['_saveTaskMap'][_0x24bb31(0x503)](_0xb0e79);return _0x19f16c!==void 0x0&&window[_0x24bb31(0x1cf)](_0x19f16c),this[_0x24bb31(0x3ba)]['setItem'](_0x163403(_0xb0e79),this[_0x24bb31(0x403)]['get'](_0xb0e79))[_0x24bb31(0x2d0)](()=>this[_0x24bb31(0x219)][_0x24bb31(0x29a)](_0xb0e79));}async[_0x406fa3(0x44b)](){const _0x5df8c0=_0x406fa3,_0x549978=[];this[_0x5df8c0(0x219)]['forEach']((_0x523d89,_0x215568)=>{const _0x4819f0=_0x5df8c0;window[_0x4819f0(0x1cf)](_0x523d89),_0x549978[_0x4819f0(0x355)](this[_0x4819f0(0x567)](_0x215568)[_0x4819f0(0x2d0)](()=>{const _0x6e403d=_0x4819f0;this[_0x6e403d(0x219)]['delete'](_0x215568);}));}),await Promise['all'](_0x549978);}['_setupBeforeClosingHandler'](){const _0x1acb70=_0x406fa3;this['disposeWithMe'](this[_0x1acb70(0x301)][_0x1acb70(0x2f0)](()=>{const _0x5e29e1=_0x1acb70;if(this['_saveTaskMap'][_0x5e29e1(0x18a)])return this['_localeService']['t'](_0x5e29e1(0x495));}));}},_0x121304[_0x406fa3(0x2a4)]=_0x4f8679([_0x397c38(0x0,_0x278695['IConfigService']),_0x397c38(0x1,_0x278695[_0x406fa3(0x42f)]),_0x397c38(0x2,_0x42b7fc[_0x406fa3(0x535)]),_0x397c38(0x3,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x3c6)])),_0x397c38(0x4,_0x278695['Inject'](_0x5d08[_0x406fa3(0x556)]))],_0x121304[_0x406fa3(0x2a4)]);function _0x163403(_0x319d2b){const _0x167198=_0x406fa3;return _0x167198(0x316)+_0x319d2b;}var _0x500f9b=Object[_0x406fa3(0x1a2)],_0x3fe162=Object['getOwnPropertyDescriptor'],_0x3b09a9=(_0x23c905,_0x4ddefe,_0x265492,_0x2c7338)=>{for(var _0x342279=_0x2c7338>0x1?void 0x0:_0x2c7338?_0x3fe162(_0x4ddefe,_0x265492):_0x4ddefe,_0x334cd5=_0x23c905['length']-0x1,_0x111cd8;_0x334cd5>=0x0;_0x334cd5--)(_0x111cd8=_0x23c905[_0x334cd5])&&(_0x342279=(_0x2c7338?_0x111cd8(_0x4ddefe,_0x265492,_0x342279):_0x111cd8(_0x342279))||_0x342279);return _0x2c7338&&_0x342279&&_0x500f9b(_0x4ddefe,_0x265492,_0x342279),_0x342279;},_0x238b65=(_0x39c724,_0x48bfbf)=>(_0x33478c,_0x2baa02)=>_0x48bfbf(_0x33478c,_0x2baa02,_0x39c724);function _0xfe131a(_0x2fd88a){const _0xd94ac6=_0x406fa3,{unitID:_0xd39995,mutations:_0x2b84a3}=_0x2fd88a;return{'unitId':_0xd39995,'subUnitId':_0x2b84a3[0x0][_0xd94ac6(0x428)]['subUnitId']};}let _0x3cacd1=class{constructor(_0x1cb412,_0x1f0a2e,_0x11c04c){const _0x608f7a=_0x406fa3;this[_0x608f7a(0x557)]=_0x1cb412,this['_transformService']=_0x1f0a2e,this['_instanceService']=_0x11c04c;}['transformSelections'](_0x3d353c){const _0x53463f=_0x406fa3;var _0x57542b,_0x506ad5,_0x42ec1d,_0x34d641;const _0x5c4f2f=this[_0x53463f(0x557)][_0x53463f(0x503)](_0x30bfa9[_0x53463f(0x2a6)]),{unitId:_0x2c96d0,subUnitId:_0x2233d3}=_0xfe131a(_0x3d353c),_0x5f5350=_0x5c4f2f[_0x53463f(0x271)](_0x2c96d0)[_0x53463f(0x16e)](),_0x20aeef=(_0x506ad5=(_0x57542b=this['_instanceService'][_0x53463f(0x51d)](_0x2c96d0))==null?void 0x0:_0x57542b[_0x53463f(0x27a)]())==null?void 0x0:_0x506ad5[_0x53463f(0x3d1)]();if(_0x5f5350[_0x53463f(0x565)]===0x0||!_0x2c96d0||!_0x2233d3)return;const _0x254acc=[{'id':_0x30bfa9['SetSelectionsOperation']['id'],'params':{'unitId':_0x2c96d0,'subUnitId':_0x20aeef,'selections':_0x278695[_0x53463f(0x1a3)][_0x53463f(0x149)](_0x5f5350)}}],_0x1cfce6=this[_0x53463f(0x193)][_0x53463f(0x3d0)](_0x3d353c,_0x254acc);if(!_0x5d08[_0x53463f(0x2ec)](_0x1cfce6))throw _0x1cfce6['error'];const _0x5c5d9f=(_0x34d641=(_0x42ec1d=_0x1cfce6[_0x53463f(0x4ee)][0x0])==null?void 0x0:_0x42ec1d[_0x53463f(0x428)])==null?void 0x0:_0x34d641[_0x53463f(0x1d4)];Array[_0x53463f(0x1d8)](_0x5c5d9f)&&_0x5c5d9f['length']&&this[_0x53463f(0x557)]['get'](_0x278695[_0x53463f(0x46e)])[_0x53463f(0x2bd)](_0x30bfa9[_0x53463f(0x54b)]['id'],{'unitId':_0x2c96d0,'subUnitId':_0x20aeef,'selections':_0x5c5d9f});}};_0x3cacd1=_0x3b09a9([_0x238b65(0x0,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x18f)])),_0x238b65(0x1,_0x5d08[_0x406fa3(0x4fb)]),_0x238b65(0x2,_0x278695[_0x406fa3(0x2d6)])],_0x3cacd1);const _0x3af33e=_0x278695['createIdentifier'](_0x406fa3(0x25b));var _0x2f7073=(_0xf0a1f4=>(_0xf0a1f4[_0xf0a1f4[_0x406fa3(0x580)]=0x0]=_0x406fa3(0x580),_0xf0a1f4[_0xf0a1f4[_0x406fa3(0x1ef)]=0x1]=_0x406fa3(0x1ef),_0xf0a1f4))(_0x2f7073||{});const _0x597be9=0x7530,_0x58f6a8=_0x406fa3(0x1d5);class _0x898983 extends _0x278695['Disposable']{constructor(){const _0x1ccab8=_0x406fa3;super(),_0x175777(this,'_id',_0x278695['Tools'][_0x1ccab8(0x410)]()),_0x175777(this,_0x1ccab8(0x368),new Set()),_0x175777(this,_0x1ccab8(0x2e8),new Map()),_0x175777(this,_0x1ccab8(0x501),null),_0x175777(this,_0x1ccab8(0x4aa),new Map()),_0x175777(this,_0x1ccab8(0x3ac),new Map()),this[_0x1ccab8(0x402)]();}[_0x406fa3(0x1f1)](){const _0x4eed42=_0x406fa3;super[_0x4eed42(0x1f1)](),this[_0x4eed42(0x4aa)][_0x4eed42(0x569)]((_0x88dcf2,_0x236bc3)=>this[_0x4eed42(0x469)](_0x236bc3)),this[_0x4eed42(0x501)]&&window[_0x4eed42(0x4ae)](this['_heartbeatTimer']);}[_0x406fa3(0x482)](_0x6ba6a4){const _0x192b7f=_0x406fa3;return this[_0x192b7f(0x3ef)](_0x6ba6a4)[_0x192b7f(0x2b3)](_0x34a6cc['distinctUntilChanged']());}[_0x406fa3(0x39e)](_0x42d00c){const _0x3f4459=_0x406fa3;this[_0x3f4459(0x368)][_0x3f4459(0x18a)]===0x0&&this[_0x3f4459(0x575)](),this[_0x3f4459(0x368)]['add'](_0x42d00c),this['_send']({'type':0x0,'memberID':this[_0x3f4459(0x319)],'unitIDs':[_0x42d00c],'isForwarded':!0x1});}[_0x406fa3(0x3f3)](_0x33d55c){const _0x4bf96e=_0x406fa3;this[_0x4bf96e(0x368)][_0x4bf96e(0x29a)](_0x33d55c),this[_0x4bf96e(0x368)][_0x4bf96e(0x18a)]===0x0&&this[_0x4bf96e(0x501)]&&window[_0x4bf96e(0x4ae)](this[_0x4bf96e(0x501)]);}[_0x406fa3(0x402)](){const _0x2edc1c=_0x406fa3;this[_0x2edc1c(0x343)](_0x278695[_0x2edc1c(0x1c8)](_0x34a6cc[_0x2edc1c(0x173)](window,_0x2edc1c(0x506))['subscribe'](_0x3501ba=>{const _0x481715=_0x2edc1c;if(_0x3501ba[_0x481715(0x582)]!==_0x58f6a8||!_0x3501ba[_0x481715(0x35c)])return;const _0x1bae3f=JSON[_0x481715(0x2cc)](_0x3501ba['newValue']);this[_0x481715(0x42b)](_0x1bae3f);}))),window[_0x2edc1c(0x3bd)](_0x2edc1c(0x15e),()=>this[_0x2edc1c(0x2ce)]({'type':0x1,'memberID':this[_0x2edc1c(0x319)],'unitIDs':Array[_0x2edc1c(0x2dc)](this[_0x2edc1c(0x368)])}));}['_handleEvent'](_0x21a14e){const _0x248641=_0x406fa3;switch(_0x21a14e[_0x248641(0x460)]){case 0x0:this[_0x248641(0x515)](_0x21a14e);break;case 0x1:this[_0x248641(0x2b9)](_0x21a14e);break;case 0x2:this[_0x248641(0x3ce)](_0x21a14e);break;}}['_handleJoinEvent'](_0x59059c){const _0x5bbe37=_0x406fa3,{unitIDs:_0x181362,memberID:_0x224d98,isForwarded:_0x5b3057}=_0x59059c;_0x181362['forEach'](_0x358d86=>{const _0x5d5084=_0x3463;if(!_0x5b3057&&this[_0x5d5084(0x2e8)][_0x5d5084(0x39d)](_0x358d86)&&this[_0x5d5084(0x3ef)](_0x358d86)['next'](0x1),!this[_0x5d5084(0x2e8)][_0x5d5084(0x39d)](_0x358d86)||!this[_0x5d5084(0x2e8)]['get'](_0x358d86)['has'](_0x224d98)){const _0x1e8770=this[_0x5d5084(0x2e8)][_0x5d5084(0x503)](_0x358d86)||new Set();_0x1e8770[_0x5d5084(0x1ee)](_0x224d98),this[_0x5d5084(0x2e8)][_0x5d5084(0x30e)](_0x358d86,_0x1e8770),this['_scheduleClearOtherTimer'](_0x224d98);}}),_0x5b3057||this['_send']({'type':0x0,'memberID':this[_0x5bbe37(0x319)],'unitIDs':[...this[_0x5bbe37(0x368)]],'isForwarded':!0x0});}[_0x406fa3(0x44d)](_0x4a63ac){const _0x22ac6d=_0x406fa3;this[_0x22ac6d(0x469)](_0x4a63ac);const _0x2f61ed=window[_0x22ac6d(0x4d6)](()=>{const _0x4bcba9=_0x22ac6d;this[_0x4bcba9(0x2e8)][_0x4bcba9(0x569)](_0x7ffd43=>{_0x7ffd43['delete'](_0x4a63ac);});},_0x597be9*0x2);this[_0x22ac6d(0x4aa)][_0x22ac6d(0x30e)](_0x4a63ac,_0x2f61ed);}['_removeClearOtherTimer'](_0x1474d5){const _0x4684cb=_0x406fa3;if(this[_0x4684cb(0x4aa)][_0x4684cb(0x39d)](_0x1474d5)){const _0x1793a4=this['_clearOtherTimers'][_0x4684cb(0x503)](_0x1474d5);_0x1793a4&&window[_0x4684cb(0x1cf)](_0x1793a4),this[_0x4684cb(0x4aa)]['set'](_0x1474d5,null);}}[_0x406fa3(0x2b9)](_0x502152){const _0x119e64=_0x406fa3,{memberID:_0x30b166,unitIDs:_0x2840a8}=_0x502152;_0x2840a8[_0x119e64(0x569)](_0x803f1c=>{const _0x328fe5=_0x119e64;var _0x4a2f9a;const _0x2e0ecb=this['_unitOnClients'][_0x328fe5(0x503)](_0x803f1c);_0x2e0ecb&&(_0x2e0ecb[_0x328fe5(0x29a)](_0x30b166),(_0x4a2f9a=this[_0x328fe5(0x3ef)](_0x803f1c))==null||_0x4a2f9a[_0x328fe5(0x321)](_0x2e0ecb['size']===0x0?0x0:0x1));}),this[_0x119e64(0x469)](_0x30b166);}['_handleHeartbeatEvent'](_0x510bb2){const _0x48bb81=_0x406fa3;this[_0x48bb81(0x44d)](_0x510bb2[_0x48bb81(0x1b2)]);}[_0x406fa3(0x2ce)](_0x8f8650){const _0x3bfb41=_0x406fa3;localStorage[_0x3bfb41(0x148)](_0x58f6a8,JSON[_0x3bfb41(0x2e0)](_0x8f8650));}[_0x406fa3(0x575)](){const _0x37075d=_0x406fa3;this['_heartbeatTimer']=window[_0x37075d(0x2e6)](()=>{const _0xccd3a0=_0x37075d;this['_send']({'type':0x2,'memberID':this[_0xccd3a0(0x319)]});},_0x597be9);}[_0x406fa3(0x3ef)](_0x277dde){const _0x1bbad6=_0x406fa3;return this[_0x1bbad6(0x3ac)][_0x1bbad6(0x39d)](_0x277dde)||this[_0x1bbad6(0x3ac)][_0x1bbad6(0x30e)](_0x277dde,new _0x34a6cc[(_0x1bbad6(0x4fe))](0x0)),this['_unitStatus'][_0x1bbad6(0x503)](_0x277dde);}}function _0x25ccab(_0x3741fa){const _0x190a7e=_0x406fa3;let _0x57f752='';for(const _0x1b1eac of _0x3741fa){const {startOffset:_0x114270,endOffset:_0x6d9a27,isActive:_0x5c1483}=_0x1b1eac;_0x57f752[_0x190a7e(0x565)]&&(_0x57f752+=','),_0x57f752+=_0x114270+':'+_0x6d9a27+':'+(_0x5c1483?'1':'0');}return _0x57f752;}function _0xbd178f(_0x3471cc){const _0x9fc63d=_0x406fa3,_0x57b1fc=_0x3471cc['split'](','),_0x1b5660=[];for(const _0x541567 of _0x57b1fc){const [_0x48d659,_0x570af8,_0x51cb5c]=_0x541567[_0x9fc63d(0x55d)](':');_0x1b5660[_0x9fc63d(0x355)]({'startOffset':Number(_0x48d659),'endOffset':Number(_0x570af8),'collapsed':_0x48d659===_0x570af8,'isActive':_0x51cb5c==='1'});}return _0x1b5660[_0x9fc63d(0x1bc)](_0x5b1efc=>_0x5b1efc[_0x9fc63d(0x522)])||(_0x1b5660[0x0][_0x9fc63d(0x522)]=!0x0),_0x1b5660;}class _0x5a7762 extends _0x278695[_0x406fa3(0x20b)]{constructor(){const _0xad62ea=_0x406fa3;super(...arguments),_0x175777(this,'_collabCursorState$',new _0x34a6cc[(_0xad62ea(0x4fe))](null)),_0x175777(this,_0xad62ea(0x2e7),this[_0xad62ea(0x1df)][_0xad62ea(0x418)]());}[_0x406fa3(0x21e)](_0x1a180d){const _0x49d814=_0x406fa3,{unitID:_0x4341b7,memberID:_0x2b6e17,textRanges:_0x4dff28}=_0x1a180d,_0x2132ea=_0x25ccab(_0x4dff28),_0x2aadd2={'unitID':_0x4341b7,'memberID':_0x2b6e17,'selection':_0x2132ea};this[_0x49d814(0x1df)][_0x49d814(0x321)](_0x2aadd2);}}var _0x3ad9d3=Object['defineProperty'],_0x119a5e=Object[_0x406fa3(0x187)],_0x5ed732=(_0x42c247,_0xcc8f82,_0x56f99a,_0x4406e9)=>{const _0x10e2f0=_0x406fa3;for(var _0x2f65fc=_0x4406e9>0x1?void 0x0:_0x4406e9?_0x119a5e(_0xcc8f82,_0x56f99a):_0xcc8f82,_0x3e19b2=_0x42c247[_0x10e2f0(0x565)]-0x1,_0x141177;_0x3e19b2>=0x0;_0x3e19b2--)(_0x141177=_0x42c247[_0x3e19b2])&&(_0x2f65fc=(_0x4406e9?_0x141177(_0xcc8f82,_0x56f99a,_0x2f65fc):_0x141177(_0x2f65fc))||_0x2f65fc);return _0x4406e9&&_0x2f65fc&&_0x3ad9d3(_0xcc8f82,_0x56f99a,_0x2f65fc),_0x2f65fc;},_0x2a2e3a=(_0x59a958,_0x5e3fc7)=>(_0x4c9812,_0xedc500)=>_0x5e3fc7(_0x4c9812,_0xedc500,_0x59a958);let _0x5c3f94=class{constructor(_0x470f44,_0x112638){const _0x12a200=_0x406fa3;this[_0x12a200(0x557)]=_0x470f44,this[_0x12a200(0x193)]=_0x112638;}[_0x406fa3(0x178)](_0x56bca1){const _0xc2d813=_0x406fa3;var _0x2c8f2b;const _0x516d07=this[_0xc2d813(0x557)][_0xc2d813(0x503)](_0x3435c3[_0xc2d813(0x318)]),_0x301ebf=(_0x2c8f2b=_0x516d07[_0xc2d813(0x2b0)]())!=null?_0x2c8f2b:[];if(_0x301ebf[_0xc2d813(0x565)]===0x0)return;const _0x39b671=[{'id':_0xc2d813(0x22b),'params':{'unitId':_0x56bca1[_0xc2d813(0x42a)],'actions':null,'textRanges':_0x301ebf}}],_0x5c3e79=this[_0xc2d813(0x193)][_0xc2d813(0x3d0)](_0x56bca1,_0x39b671);if(!_0x5d08[_0xc2d813(0x2ec)](_0x5c3e79))throw _0x5c3e79[_0xc2d813(0x228)];const _0x2cbf95=_0x5c3e79[_0xc2d813(0x4ee)][0x0][_0xc2d813(0x428)][_0xc2d813(0x14a)];Array[_0xc2d813(0x1d8)](_0x2cbf95)&&_0x2cbf95[_0xc2d813(0x565)]&&_0x516d07['replaceTextRanges'](_0x2cbf95,!0x1);}};_0x5c3f94=_0x5ed732([_0x2a2e3a(0x0,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x18f)])),_0x2a2e3a(0x1,_0x5d08[_0x406fa3(0x4fb)])],_0x5c3f94);const _0x2f6433=new Set([_0x30bfa9[_0x406fa3(0x2e2)]['id']]);function _0xf0ee43(_0xca3a7c,_0x3a806c,_0xc9a68f,_0x4c378e,_0x3496ed){const _0x580b4a=_0x406fa3;var _0x28d194,_0x946ff9,_0x4b3b9f,_0x1c6b10;const _0x430303=[];for(const _0x1fa055 of _0xca3a7c)if(_0x2f6433[_0x580b4a(0x39d)](_0x1fa055['id'])){if(_0x430303[_0x580b4a(0x565)]>0x0)break;_0x430303[_0x580b4a(0x355)](_0x1fa055);break;}else _0x430303[_0x580b4a(0x355)](_0x1fa055);const _0x20dfff=(_0x946ff9=(_0x28d194=_0x3496ed[_0x580b4a(0x399)]())==null?void 0x0:_0x28d194[_0x580b4a(0x548)])!=null?_0x946ff9:_0x580b4a(0x2f8),_0x549f00=(_0x1c6b10=(_0x4b3b9f=_0x3496ed['getCurrentUser']())==null?void 0x0:_0x4b3b9f[_0x580b4a(0x1b2)])!=null?_0x1c6b10:_0x580b4a(0x2f8);return{'changeset':{'unitID':_0x3a806c,'type':_0x5d08[_0x580b4a(0x43f)](_0xc9a68f[_0x580b4a(0x28f)](_0x3a806c)),'baseRev':_0x4c378e[_0x580b4a(0x559)](_0x3a806c),'revision':0x0,'userID':_0x20dfff,'memberID':_0x549f00,'mutations':_0x430303},'pendingMutations':_0xca3a7c[_0x580b4a(0x20f)](_0x430303['length'])};}function _0x23dedd(_0x62abc5,_0x4a54e1,_0x5454f0,_0x1a9361,_0x413ccb){const _0x1d9bbf=_0x406fa3;var _0x4ca1bd,_0xc690aa,_0x354831,_0x17d56e;const _0x9b8f1c=[_0x62abc5[_0x1d9bbf(0x279)]((_0x1d5974,_0x45147b)=>{const _0x101357=_0x1d9bbf;var _0x3b2ef6;const {id:_0x27b801}=_0x1d5974,{id:_0x1a88e3,type:_0x880c5d}=_0x45147b,_0x529e3a=(_0x3b2ef6=_0x1d5974[_0x101357(0x428)])!=null?_0x3b2ef6:{'actions':null},_0x449f25=_0x45147b[_0x101357(0x428)];if(_0x27b801&&_0x27b801!==_0x1a88e3)throw new Error(_0x101357(0x29e)+_0x27b801+_0x101357(0x285)+_0x1a88e3+'.');return{..._0x1d5974,'id':_0x1a88e3,'type':_0x880c5d,'params':{'unitId':_0x449f25['unitId'],'textRanges':_0x449f25[_0x101357(0x14a)],'actions':_0x278695[_0x101357(0x191)][_0x101357(0x425)](_0x529e3a[_0x101357(0x161)],_0x449f25[_0x101357(0x161)])}};},{})],_0x4cdf40=(_0xc690aa=(_0x4ca1bd=_0x413ccb[_0x1d9bbf(0x399)]())==null?void 0x0:_0x4ca1bd[_0x1d9bbf(0x548)])!=null?_0xc690aa:_0x1d9bbf(0x2f8),_0x5051e7=(_0x17d56e=(_0x354831=_0x413ccb[_0x1d9bbf(0x399)]())==null?void 0x0:_0x354831[_0x1d9bbf(0x1b2)])!=null?_0x17d56e:_0x1d9bbf(0x2f8);return{'changeset':{'unitID':_0x4a54e1,'type':_0x5d08[_0x1d9bbf(0x43f)](_0x5454f0[_0x1d9bbf(0x28f)](_0x4a54e1)),'baseRev':_0x1a9361[_0x1d9bbf(0x559)](_0x4a54e1),'revision':0x0,'userID':_0x4cdf40,'memberID':_0x5051e7,'mutations':_0x9b8f1c},'pendingMutations':[]};}const _0x521383={'id':_0x30bfa9[_0x406fa3(0x467)]['id'],'type':_0x278695[_0x406fa3(0x46f)][_0x406fa3(0x2b4)],'params':{}};var _0x8c4180=Object[_0x406fa3(0x1a2)],_0x11121b=Object[_0x406fa3(0x187)],_0x10fc10=(_0xb809a2,_0x3246f1,_0x8039ed,_0x58a359)=>{const _0x4676c3=_0x406fa3;for(var _0x231280=_0x58a359>0x1?void 0x0:_0x58a359?_0x11121b(_0x3246f1,_0x8039ed):_0x3246f1,_0x228d06=_0xb809a2[_0x4676c3(0x565)]-0x1,_0x692a13;_0x228d06>=0x0;_0x228d06--)(_0x692a13=_0xb809a2[_0x228d06])&&(_0x231280=(_0x58a359?_0x692a13(_0x3246f1,_0x8039ed,_0x231280):_0x692a13(_0x231280))||_0x231280);return _0x58a359&&_0x231280&&_0x8c4180(_0x3246f1,_0x8039ed,_0x231280),_0x231280;},_0x4b9d23=(_0x2211da,_0x310c59)=>(_0x535c74,_0x372216)=>_0x310c59(_0x535c74,_0x372216,_0x2211da),_0x59cf14=(_0x4e2bf1=>(_0x4e2bf1[_0x406fa3(0x22f)]=_0x406fa3(0x43c),_0x4e2bf1[_0x406fa3(0x21f)]=_0x406fa3(0x2f3),_0x4e2bf1[_0x406fa3(0x2a9)]=_0x406fa3(0x293),_0x4e2bf1[_0x406fa3(0x1aa)]=_0x406fa3(0x168),_0x4e2bf1[_0x406fa3(0x2e3)]=_0x406fa3(0x4e1),_0x4e2bf1[_0x406fa3(0x4ad)]=_0x406fa3(0x269),_0x4e2bf1['CONFLICT']=_0x406fa3(0x23f),_0x4e2bf1[_0x406fa3(0x372)]=_0x406fa3(0x1ce),_0x4e2bf1))(_0x59cf14||{});class _0x35779b{constructor(_0x3dcb36,_0x201753,_0x5a1fc5,_0x141b24,_0x43dad9,_0xa9362e,_0x454b97,_0x373d09,_0x444bb0){const _0x4e3247=_0x406fa3;_0x175777(this,_0x4e3247(0x250),null),_0x175777(this,'_pendingMutations',[]),(this[_0x4e3247(0x42a)]=_0x3dcb36,this['type']=_0x201753,this['_handler']=_0x43dad9,this['_commandService']=_0xa9362e,this[_0x4e3247(0x3df)]=_0x454b97,this[_0x4e3247(0x22d)]=_0x373d09,this[_0x4e3247(0x1ac)]=_0x444bb0,this[_0x4e3247(0x250)]=_0x5a1fc5,this['_pendingMutations']=_0x141b24);}[_0x406fa3(0x176)](_0x550afe){const _0x3c2441=_0x406fa3,_0x1ef549=this[_0x3c2441(0x22d)]['getCurrentRevOfUnit'](this[_0x3c2441(0x42a)]);return _0x550afe[_0x3c2441(0x2c5)]>_0x1ef549+0x1?(this[_0x3c2441(0x4d2)][_0x3c2441(0x393)]({'from':_0x1ef549,'to':_0x550afe[_0x3c2441(0x2c5)]-0x1}),!0x0):!0x1;}[_0x406fa3(0x4d4)](_0x5d3329){const _0x284cea=_0x406fa3;this[_0x284cea(0x3df)][_0x284cea(0x3ee)](this[_0x284cea(0x42a)],_0x5d3329);}[_0x406fa3(0x434)](_0x51e3c1){const _0x514832=_0x406fa3;var _0x4d5e4a,_0x254daf;(_0x254daf=(_0x4d5e4a=this[_0x514832(0x4d2)])['onTransformSelections'])==null||_0x254daf[_0x514832(0x254)](_0x4d5e4a,_0x51e3c1);}[_0x406fa3(0x536)](_0x28a8c3){const _0x7abeda=_0x406fa3;var _0x2249fe,_0x16b7e1;return(_0x16b7e1=(_0x2249fe=this[_0x7abeda(0x4d2)])['onTransformIME'])==null?void 0x0:_0x16b7e1['call'](_0x2249fe,_0x28a8c3);}['_transformRemoteChangesetByIMECache'](_0x59f532){const _0x30a2cd=_0x406fa3;var _0x40d3a7,_0x2edba2,_0x4479b0;return(_0x4479b0=(_0x2edba2=(_0x40d3a7=this[_0x30a2cd(0x4d2)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2edba2[_0x30a2cd(0x254)](_0x40d3a7,_0x59f532))!=null?_0x4479b0:_0x59f532;}[_0x406fa3(0x2be)](_0x4e0f9b){const _0x51768d=_0x406fa3;var _0x594094,_0x2279c4;if(this['type']===_0x5b1b3b[_0x51768d(0x373)]){const {unitID:_0x461f23,mutations:_0x1d65a0,memberID:_0x42a6d5}=_0x4e0f9b,_0xc18ad4=_0x1d65a0[0x0]['params'][_0x51768d(0x14a)];Array[_0x51768d(0x1d8)](_0xc18ad4)&&_0xc18ad4[_0x51768d(0x565)]>0x0&&((_0x2279c4=(_0x594094=this[_0x51768d(0x4d2)])[_0x51768d(0x553)])==null||_0x2279c4[_0x51768d(0x254)](_0x594094,{'unitID':_0x461f23,'memberID':_0x42a6d5,'textRanges':_0xc18ad4}));}}[_0x406fa3(0x4c3)](){const _0x561618=_0x406fa3;this[_0x561618(0x1ac)][_0x561618(0x585)](this[_0x561618(0x42a)],this[_0x561618(0x460)],this[_0x561618(0x250)],this[_0x561618(0x4c8)]);}['_getCurrentRevision'](){const _0x55d59e=_0x406fa3;return this[_0x55d59e(0x22d)][_0x55d59e(0x559)](this[_0x55d59e(0x42a)]);}[_0x406fa3(0x39a)](){const _0x3e180e=_0x406fa3;this[_0x3e180e(0x22d)][_0x3e180e(0x30c)](this[_0x3e180e(0x42a)]);}[_0x406fa3(0x36b)](_0x19df0e){const _0x41a5be=_0x406fa3;var _0x53e49b;const _0x25a01f=this[_0x41a5be(0x305)](_0x19df0e),_0x274310=_0x278695[_0x41a5be(0x33d)](_0x25a01f[_0x41a5be(0x384)],this[_0x41a5be(0x237)],{'fromCollab':!0x0});if(!_0x274310[_0x41a5be(0x175)])throw _0x274310[_0x41a5be(0x228)]instanceof Error?_0x274310[_0x41a5be(0x228)]:new Error((_0x53e49b=_0x274310['error'])!=null?_0x53e49b:'[CollaborationState]:\x20apply\x20error!');this['_transformIMECache'](_0x25a01f),this[_0x41a5be(0x4d4)](_0x19df0e),this['_transformSelections'](_0x25a01f),this[_0x41a5be(0x2be)](_0x25a01f),this['_incrementRevisionNumber']();}}let _0x1305ec=class extends _0x35779b{constructor(_0x50d52d,_0x197777,_0x50682b,_0x3f9c47,_0x8fe115,_0x10a381,_0x14250d,_0x1529df,_0xdca6a8,_0x2fbb81){const _0x3741a8=_0x406fa3;super(_0x50d52d,_0x197777,null,[],_0x50682b,_0x1529df,_0x14250d,_0x3f9c47,_0x8fe115),_0x175777(this,_0x3741a8(0x222),'synced'),(this[_0x3741a8(0x557)]=_0x10a381,this[_0x3741a8(0x334)]=_0xdca6a8,this['_transformService']=_0x2fbb81);}[_0x406fa3(0x531)](_0x2d6dfb){const _0x4b686e=_0x406fa3,_0x417e1c=this[_0x4b686e(0x557)][_0x4b686e(0x13d)](_0xcac224,this[_0x4b686e(0x42a)],this['type'],[_0x2d6dfb],this[_0x4b686e(0x4d2)]);return _0x417e1c[_0x4b686e(0x40d)](),_0x417e1c[_0x4b686e(0x4c3)](),_0x417e1c;}[_0x406fa3(0x345)](_0x218345){const _0x441d81=_0x406fa3;if(this[_0x441d81(0x176)](_0x218345))return this[_0x441d81(0x557)]['createInstance'](_0x4c7e44,this[_0x441d81(0x42a)],this['type'],null,[],null,[_0x218345],this[_0x441d81(0x4d2)]);try{const _0x488efe=this[_0x441d81(0x193)][_0x441d81(0x3d0)](_0x218345,[_0x521383]);if(_0x5d08[_0x441d81(0x2ec)](_0x488efe)){const {c1Prime:_0x450909}=_0x488efe;return this[_0x441d81(0x36b)](_0x450909),this;}throw _0x488efe[_0x441d81(0x228)];}catch(_0x385436){return this['_logService'][_0x441d81(0x228)](_0x385436),this['_onConflict'](!0x1);}}[_0x406fa3(0x43b)](_0x99ee49){const _0x180822=_0x406fa3;return this[_0x180822(0x557)][_0x180822(0x13d)](_0x560f8f,this[_0x180822(0x42a)],this['type'],null,[],this[_0x180822(0x4d2)],_0x99ee49);}[_0x406fa3(0x47f)](){const _0x11f877=_0x406fa3;throw new Error(_0x11f877(0x385));}[_0x406fa3(0x1f4)](){const _0x266324=_0x406fa3;throw new Error(_0x266324(0x197));}[_0x406fa3(0x16c)](){const _0x3808e2=_0x406fa3;return this[_0x3808e2(0x557)][_0x3808e2(0x13d)](_0x347fdb,this[_0x3808e2(0x42a)],this[_0x3808e2(0x460)],null,[],this[_0x3808e2(0x4d2)]);}[_0x406fa3(0x3dd)](){return this;}[_0x406fa3(0x4ec)](){const _0x171e24=_0x406fa3;throw new Error(_0x171e24(0x4cc));}[_0x406fa3(0x499)](){const _0xfcc1d=_0x406fa3,_0x1e8797=this[_0xfcc1d(0x22d)][_0xfcc1d(0x559)](this['unitID']);return this[_0xfcc1d(0x4d2)][_0xfcc1d(0x393)]({'from':_0x1e8797,'to':0x0}),this[_0xfcc1d(0x557)][_0xfcc1d(0x13d)](_0x4c7e44,this[_0xfcc1d(0x42a)],this['type'],null,[],null,[],this[_0xfcc1d(0x4d2)]);}};_0x1305ec=_0x10fc10([_0x4b9d23(0x3,_0x278695[_0x406fa3(0x2cb)](_0x5d08[_0x406fa3(0x556)])),_0x4b9d23(0x4,_0x278695[_0x406fa3(0x2cb)](_0x121304[_0x406fa3(0x2a4)])),_0x4b9d23(0x5,_0x278695['Inject'](_0x278695['Injector'])),_0x4b9d23(0x6,_0x278695[_0x406fa3(0x366)]),_0x4b9d23(0x7,_0x278695[_0x406fa3(0x46e)]),_0x4b9d23(0x8,_0x278695[_0x406fa3(0x21a)]),_0x4b9d23(0x9,_0x5d08[_0x406fa3(0x4fb)])],_0x1305ec);let _0xcac224=class extends _0x35779b{constructor(_0xc9b75a,_0x1a0572,_0x481747,_0xfacfd1,_0xf9cda2,_0x2bf47b,_0x1413a1,_0x633444,_0x47892d,_0x1dfa78,_0x5d749a,_0x3079da,_0x2c5a45,_0x104cb7){const _0x53b2af=_0x406fa3;super(_0xc9b75a,_0x1a0572,null,_0x481747,_0xfacfd1,_0x1dfa78,_0x104cb7,_0x2bf47b,_0x1413a1),_0x175777(this,_0x53b2af(0x222),_0x53b2af(0x293)),_0x175777(this,_0x53b2af(0x34d),null),_0x175777(this,_0x53b2af(0x204),null),(this[_0x53b2af(0x557)]=_0xf9cda2,this['_memberService']=_0x633444,this[_0x53b2af(0x334)]=_0x47892d,this['_configService']=_0x5d749a,this['_transformService']=_0x3079da,this[_0x53b2af(0x45b)]=_0x2c5a45);}['appendMutation'](_0x70c065){const _0x22720b=_0x406fa3;return this[_0x22720b(0x4c8)][_0x22720b(0x355)](_0x70c065),this[_0x22720b(0x4c3)](),this;}[_0x406fa3(0x345)](_0x42cad9){const _0x2d02a4=_0x406fa3;if(this['_checkMissing'](_0x42cad9))return this[_0x2d02a4(0x2c8)](),this[_0x2d02a4(0x557)][_0x2d02a4(0x13d)](_0x4c7e44,this[_0x2d02a4(0x42a)],this[_0x2d02a4(0x460)],null,this[_0x2d02a4(0x4c8)],null,[_0x42cad9],this[_0x2d02a4(0x4d2)]);try{const _0x45a514=this['_transformService'][_0x2d02a4(0x3d0)](_0x42cad9,this[_0x2d02a4(0x4c8)]);if(_0x5d08[_0x2d02a4(0x2ec)](_0x45a514)){const {c1Prime:_0x92b7b7,m2Prime:_0x42e1db}=_0x45a514;this[_0x2d02a4(0x36b)](_0x92b7b7);const _0xb3895d=this['_injector'][_0x2d02a4(0x13d)](_0xcac224,this[_0x2d02a4(0x42a)],this[_0x2d02a4(0x460)],_0x42e1db,this[_0x2d02a4(0x4d2)]);return this[_0x2d02a4(0x2c8)](),_0xb3895d[_0x2d02a4(0x40d)](this['_scheduleTimestamp']?Math[_0x2d02a4(0x1bb)](0x0,new Date()[_0x2d02a4(0x277)]()-this[_0x2d02a4(0x34d)]):this[_0x2d02a4(0x479)]()),_0xb3895d;}throw _0x45a514['error'];}catch(_0x515d7a){return this[_0x2d02a4(0x334)]['error'](_0x515d7a),this[_0x2d02a4(0x43b)](!0x1);}}[_0x406fa3(0x47f)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x246629=_0x406fa3;throw new Error(_0x246629(0x348));}[_0x406fa3(0x16c)](){const _0x7eb8b2=_0x406fa3;return this[_0x7eb8b2(0x2c8)](),this[_0x7eb8b2(0x557)][_0x7eb8b2(0x13d)](_0x347fdb,this['unitID'],this['type'],null,this[_0x7eb8b2(0x4c8)],this[_0x7eb8b2(0x4d2)]);}[_0x406fa3(0x3dd)](){return this;}[_0x406fa3(0x40d)](_0x21b832){const _0x2b3ddf=_0x406fa3,_0x229a56=_0x21b832!=null?_0x21b832:this['_getSendChangesetTimeout']();this[_0x2b3ddf(0x34d)]=new Date()[_0x2b3ddf(0x277)](),this['_sendingTimer']=window[_0x2b3ddf(0x4d6)](()=>{const _0x3beabc=_0x2b3ddf;this[_0x3beabc(0x2c8)]();let _0x504854=null;switch(this['type']){case _0x5b1b3b['UNIVER_SHEET']:{_0x504854=_0xf0ee43(this['_pendingMutations'],this['unitID'],this[_0x3beabc(0x45b)],this[_0x3beabc(0x22d)],this[_0x3beabc(0x3e4)]);break;}case _0x5b1b3b[_0x3beabc(0x373)]:{this[_0x3beabc(0x4c8)][_0x3beabc(0x1a5)](_0x41031a=>_0x41031a['id']===_0x3435c3[_0x3beabc(0x287)]['id'])?_0x504854=_0x23dedd(this[_0x3beabc(0x4c8)],this[_0x3beabc(0x42a)],this[_0x3beabc(0x45b)],this[_0x3beabc(0x22d)],this[_0x3beabc(0x3e4)]):_0x504854=_0xf0ee43(this[_0x3beabc(0x4c8)],this[_0x3beabc(0x42a)],this[_0x3beabc(0x45b)],this['_revisionService'],this[_0x3beabc(0x3e4)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x3beabc(0x460)]+_0x3beabc(0x38c));}const {changeset:_0x1b44fa,pendingMutations:_0xe49e4d}=_0x504854;this[_0x3beabc(0x4d2)]['onSendChangeset'](_0x1b44fa);const _0x593e0c=_0xe49e4d['length']?this[_0x3beabc(0x557)][_0x3beabc(0x13d)](_0x2b71f7,this[_0x3beabc(0x42a)],this['type'],_0x1b44fa,_0xe49e4d,this[_0x3beabc(0x4d2)]):this[_0x3beabc(0x557)][_0x3beabc(0x13d)](_0x257a72,this[_0x3beabc(0x42a)],this['type'],_0x1b44fa,this[_0x3beabc(0x4d2)]);_0x593e0c['_updateLocalCache'](),this[_0x3beabc(0x4d2)][_0x3beabc(0x192)](this,_0x593e0c);},_0x229a56);}[_0x406fa3(0x479)](){const _0x46164a=_0x406fa3;var _0x2b07db;const _0xdf9072=this['_configService'][_0x46164a(0x377)](_0x41c87a);return(_0x2b07db=_0xdf9072==null?void 0x0:_0xdf9072['sendChangesetTimeout'])!=null?_0x2b07db:0x7d0;}[_0x406fa3(0x4ec)](){const _0x249092=_0x406fa3;throw new Error(_0x249092(0x4b5));}['_clearScheduledTask'](){const _0x2d7fbc=_0x406fa3;this[_0x2d7fbc(0x204)]!=null&&(clearTimeout(this[_0x2d7fbc(0x204)]),this[_0x2d7fbc(0x204)]=null);}[_0x406fa3(0x43b)](_0x29da74){const _0x37a965=_0x406fa3;return this[_0x37a965(0x2c8)](),this['_injector']['createInstance'](_0x560f8f,this[_0x37a965(0x42a)],this['type'],null,this[_0x37a965(0x4c8)],this[_0x37a965(0x4d2)],_0x29da74);}};_0xcac224=_0x10fc10([_0x4b9d23(0x4,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x18f)])),_0x4b9d23(0x5,_0x278695[_0x406fa3(0x2cb)](_0x5d08[_0x406fa3(0x556)])),_0x4b9d23(0x6,_0x278695['Inject'](_0x121304[_0x406fa3(0x2a4)])),_0x4b9d23(0x7,_0x278695[_0x406fa3(0x2cb)](_0x76bc39)),_0x4b9d23(0x8,_0x278695[_0x406fa3(0x21a)]),_0x4b9d23(0x9,_0x278695[_0x406fa3(0x46e)]),_0x4b9d23(0xa,_0x278695['IConfigService']),_0x4b9d23(0xb,_0x5d08[_0x406fa3(0x4fb)]),_0x4b9d23(0xc,_0x278695[_0x406fa3(0x2d6)]),_0x4b9d23(0xd,_0x278695['IUndoRedoService'])],_0xcac224);let _0x257a72=class extends _0x35779b{constructor(_0x570f95,_0xe94ec3,_0x437395,_0x41d8f5,_0x237368,_0x518070,_0x25d940,_0x1c979c,_0x39a4d2,_0x157f42,_0x10c1a0){const _0x22e98f=_0x406fa3;super(_0x570f95,_0xe94ec3,_0x437395,[],_0x41d8f5,_0x1c979c,_0x10c1a0,_0x518070,_0x25d940),_0x175777(this,_0x22e98f(0x222),'awaiting'),(this[_0x22e98f(0x557)]=_0x237368,this['_logService']=_0x39a4d2,this[_0x22e98f(0x193)]=_0x157f42);}[_0x406fa3(0x531)](_0x398797){const _0xcae25f=_0x406fa3,_0x15034e=this[_0xcae25f(0x557)][_0xcae25f(0x13d)](_0x2b71f7,this[_0xcae25f(0x42a)],this[_0xcae25f(0x460)],this[_0xcae25f(0x250)],[_0x398797],this[_0xcae25f(0x4d2)]);return _0x15034e[_0xcae25f(0x4c3)](),_0x15034e;}[_0x406fa3(0x345)](_0x3f8456){const _0x2f9211=_0x406fa3;if(this[_0x2f9211(0x176)](_0x3f8456))return this[_0x2f9211(0x557)]['createInstance'](_0x4c7e44,this[_0x2f9211(0x42a)],this[_0x2f9211(0x460)],this[_0x2f9211(0x250)],[],null,[_0x3f8456],this[_0x2f9211(0x4d2)]);try{const _0x1b2259=this[_0x2f9211(0x193)][_0x2f9211(0x3f6)]([_0x3f8456],[this[_0x2f9211(0x250)]],!0x1);if(_0x5d08[_0x2f9211(0x1e0)](_0x1b2259)){const {c1Prime:_0x3fd141,c2Prime:_0x2e7b24}=_0x1b2259;this[_0x2f9211(0x36b)](_0x3fd141[0x0]),_0x2e7b24[0x0]['baseRev']=this['_getCurrentRevision']();const _0x592e01=this['_injector'][_0x2f9211(0x13d)](_0x257a72,this[_0x2f9211(0x42a)],this[_0x2f9211(0x460)],_0x2e7b24[0x0],this[_0x2f9211(0x4d2)]);return _0x592e01[_0x2f9211(0x4c3)](),_0x592e01;}return this[_0x2f9211(0x43b)](!0x1);}catch(_0x1e963b){return this[_0x2f9211(0x334)][_0x2f9211(0x228)](_0x1e963b),this['_onConflict'](!0x1);}}[_0x406fa3(0x47f)](_0x23dbff){const _0x41bae7=_0x406fa3,_0x321c20=this['_revisionService']['getCurrentRevOfUnit'](this[_0x41bae7(0x42a)]);if(_0x23dbff[_0x41bae7(0x2c5)]<_0x321c20-0x1)return this;if(this[_0x41bae7(0x176)](_0x23dbff))return this[_0x41bae7(0x557)][_0x41bae7(0x13d)](_0x4c7e44,this['unitID'],this['type'],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x41bae7(0x39a)]();const _0x22aa18=this['_injector'][_0x41bae7(0x13d)](_0x1305ec,this[_0x41bae7(0x42a)],this[_0x41bae7(0x460)],this[_0x41bae7(0x4d2)]);return _0x22aa18[_0x41bae7(0x4c3)](),_0x22aa18;}[_0x406fa3(0x1f4)](_0x582020){const _0x1b4fab=_0x406fa3;return this[_0x1b4fab(0x43b)](!!(_0x582020!=null&&_0x582020[_0x1b4fab(0x509)]));}['toggleOffline'](){const _0x2cf012=_0x406fa3;return this[_0x2cf012(0x557)]['createInstance'](_0x347fdb,this[_0x2cf012(0x42a)],this[_0x2cf012(0x460)],this[_0x2cf012(0x250)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x406fa3(0x4ec)](){const _0x2cc73e=_0x406fa3;this[_0x2cc73e(0x4d2)][_0x2cc73e(0x2ea)](this[_0x2cc73e(0x250)]);}[_0x406fa3(0x43b)](_0x346946){const _0x2001e1=_0x406fa3;return this[_0x2001e1(0x557)][_0x2001e1(0x13d)](_0x560f8f,this[_0x2001e1(0x42a)],this['type'],this[_0x2001e1(0x250)],[],this[_0x2001e1(0x4d2)],_0x346946);}};_0x257a72=_0x10fc10([_0x4b9d23(0x4,_0x278695[_0x406fa3(0x2cb)](_0x278695['Injector'])),_0x4b9d23(0x5,_0x278695[_0x406fa3(0x2cb)](_0x5d08[_0x406fa3(0x556)])),_0x4b9d23(0x6,_0x278695[_0x406fa3(0x2cb)](_0x121304[_0x406fa3(0x2a4)])),_0x4b9d23(0x7,_0x278695[_0x406fa3(0x46e)]),_0x4b9d23(0x8,_0x278695[_0x406fa3(0x21a)]),_0x4b9d23(0x9,_0x5d08['ITransformService']),_0x4b9d23(0xa,_0x278695[_0x406fa3(0x366)])],_0x257a72);let _0x2b71f7=class extends _0x35779b{constructor(_0x3256b6,_0xb79828,_0x3d2ead,_0xcd1e63,_0x5a4310,_0x1bd60e,_0x51f624,_0x21bcba,_0x1b7d32,_0x455c5c,_0x5197db,_0x512590){const _0x377ee5=_0x406fa3;super(_0x3256b6,_0xb79828,_0x3d2ead,_0xcd1e63,_0x5a4310,_0x1b7d32,_0x512590,_0x51f624,_0x21bcba),_0x175777(this,_0x377ee5(0x222),'awaiting_with_pending'),(this[_0x377ee5(0x557)]=_0x1bd60e,this[_0x377ee5(0x334)]=_0x455c5c,this[_0x377ee5(0x193)]=_0x5197db);}[_0x406fa3(0x531)](_0x3b6de4){return this['_pendingMutations']['push'](_0x3b6de4),this;}[_0x406fa3(0x345)](_0xc0a1b8){const _0x5f571d=_0x406fa3;if(this[_0x5f571d(0x176)](_0xc0a1b8))return this['_injector'][_0x5f571d(0x13d)](_0x4c7e44,this[_0x5f571d(0x42a)],this['type'],this[_0x5f571d(0x250)],this['_pendingMutations'],null,[_0xc0a1b8],this[_0x5f571d(0x4d2)]);try{const _0x26e1a6=this[_0x5f571d(0x193)][_0x5f571d(0x3f6)]([_0xc0a1b8],[this[_0x5f571d(0x250)]],!0x1);if(_0x5d08[_0x5f571d(0x1e0)](_0x26e1a6)){const {c1Prime:_0x2d94d6,c2Prime:_0x42276a}=_0x26e1a6,_0x1bb54a=this['_transformService'][_0x5f571d(0x3d0)](_0x2d94d6[0x0],this[_0x5f571d(0x4c8)]);if(_0x5d08[_0x5f571d(0x2ec)](_0x1bb54a)){const {c1Prime:_0x188a37,m2Prime:_0x25bc05}=_0x1bb54a;return this[_0x5f571d(0x36b)](_0x188a37),_0x42276a[0x0][_0x5f571d(0x473)]=this[_0x5f571d(0x562)](),this[_0x5f571d(0x557)][_0x5f571d(0x13d)](_0x2b71f7,this['unitID'],this[_0x5f571d(0x460)],_0x42276a[0x0],_0x25bc05,this[_0x5f571d(0x4d2)]);}throw _0x1bb54a[_0x5f571d(0x228)];}throw _0x26e1a6[_0x5f571d(0x228)];}catch(_0x3c2fb7){return this[_0x5f571d(0x334)][_0x5f571d(0x228)](_0x3c2fb7),this[_0x5f571d(0x43b)](!0x1);}}[_0x406fa3(0x47f)](_0x269c33){const _0x4c2195=_0x406fa3;if(this[_0x4c2195(0x176)](_0x269c33))return this[_0x4c2195(0x557)][_0x4c2195(0x13d)](_0x4c7e44,this[_0x4c2195(0x42a)],this[_0x4c2195(0x460)],null,this[_0x4c2195(0x4c8)],this[_0x4c2195(0x250)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x2fed8f=this[_0x4c2195(0x557)]['createInstance'](_0xcac224,this[_0x4c2195(0x42a)],this[_0x4c2195(0x460)],this[_0x4c2195(0x4c8)],this[_0x4c2195(0x4d2)]);return _0x2fed8f[_0x4c2195(0x40d)](),_0x2fed8f[_0x4c2195(0x4c3)](),_0x2fed8f;}[_0x406fa3(0x1f4)](_0x508db0){return this['_onConflict'](!!(_0x508db0!=null&&_0x508db0['isPermissionRej']));}[_0x406fa3(0x16c)](){const _0x4695ae=_0x406fa3;return this['_injector'][_0x4695ae(0x13d)](_0x347fdb,this[_0x4695ae(0x42a)],this[_0x4695ae(0x460)],this[_0x4695ae(0x250)],this[_0x4695ae(0x4c8)],this[_0x4695ae(0x4d2)]);}[_0x406fa3(0x3dd)](){return this;}[_0x406fa3(0x4ec)](){const _0x3e966c=_0x406fa3;this[_0x3e966c(0x4d2)][_0x3e966c(0x2ea)](this[_0x3e966c(0x250)]);}['_onConflict'](_0x15c97c){const _0x3c9b3f=_0x406fa3;return this[_0x3c9b3f(0x557)][_0x3c9b3f(0x13d)](_0x560f8f,this[_0x3c9b3f(0x42a)],this[_0x3c9b3f(0x460)],null,this[_0x3c9b3f(0x4c8)],this[_0x3c9b3f(0x4d2)],_0x15c97c);}};_0x2b71f7=_0x10fc10([_0x4b9d23(0x5,_0x278695[_0x406fa3(0x2cb)](_0x278695['Injector'])),_0x4b9d23(0x6,_0x278695['Inject'](_0x5d08[_0x406fa3(0x556)])),_0x4b9d23(0x7,_0x278695[_0x406fa3(0x2cb)](_0x121304[_0x406fa3(0x2a4)])),_0x4b9d23(0x8,_0x278695[_0x406fa3(0x46e)]),_0x4b9d23(0x9,_0x278695[_0x406fa3(0x21a)]),_0x4b9d23(0xa,_0x5d08[_0x406fa3(0x4fb)]),_0x4b9d23(0xb,_0x278695[_0x406fa3(0x366)])],_0x2b71f7);let _0x560f8f=class extends _0x35779b{constructor(_0x3a1c86,_0x38dba0,_0x1204a1,_0x30bde8,_0x2be73c,_0x5270a9=!0x1,_0x38373f,_0x4ad4b3,_0x1c1d69,_0x4e29dc,_0x286b3b,_0x18bb16,_0x1a9f99){const _0x456ee0=_0x406fa3;super(_0x3a1c86,_0x38dba0,_0x1204a1,_0x30bde8,_0x2be73c,_0x4ad4b3,_0x1c1d69,_0x286b3b,_0x4e29dc),_0x175777(this,_0x456ee0(0x222),_0x456ee0(0x23f)),(this[_0x456ee0(0x323)]=_0x5270a9,this[_0x456ee0(0x511)]=_0x38373f,this[_0x456ee0(0x1b1)]=_0x18bb16,this[_0x456ee0(0x53f)]=_0x1a9f99,this[_0x456ee0(0x47b)](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x406fa3(0x531)](){return this;}['onRemoteChangeset'](){return this;}[_0x406fa3(0x47f)](){return this;}['onRemoteRej'](){return this;}['toggleOffline'](){return this;}[_0x406fa3(0x3dd)](){return this;}[_0x406fa3(0x4ec)](){const _0x1267a5=_0x406fa3;throw new Error(_0x1267a5(0x4a6));}['_clearLocalCache'](){const _0x5c0bab=_0x406fa3;this['_localCacheService'][_0x5c0bab(0x585)](this[_0x5c0bab(0x42a)],this[_0x5c0bab(0x460)],null,[]);}[_0x406fa3(0x47b)](){const _0x2cd0ce=_0x406fa3;this[_0x2cd0ce(0x323)]?this[_0x2cd0ce(0x53f)]['show']({'title':this[_0x2cd0ce(0x1b1)]['t']('permission.title'),'content':this['_localeService']['t'](_0x2cd0ce(0x326)),'type':'error','duration':0x0}):this['_notificationService']['show']({'title':this[_0x2cd0ce(0x1b1)]['t'](_0x2cd0ce(0x25f)),'content':this[_0x2cd0ce(0x1b1)]['t']('conflict.content'),'type':'error','duration':0x0});}[_0x406fa3(0x3f1)](){const _0x258fb2=_0x406fa3;this[_0x258fb2(0x511)][_0x258fb2(0x31f)](new _0x30bfa9[(_0x258fb2(0x500))](this['unitID'])['id'],!0x1);}};_0x560f8f=_0x10fc10([_0x4b9d23(0x6,_0x278695[_0x406fa3(0x2cb)](_0x278695['IPermissionService'])),_0x4b9d23(0x7,_0x278695[_0x406fa3(0x46e)]),_0x4b9d23(0x8,_0x278695['IUndoRedoService']),_0x4b9d23(0x9,_0x278695['Inject'](_0x121304[_0x406fa3(0x2a4)])),_0x4b9d23(0xa,_0x278695[_0x406fa3(0x2cb)](_0x5d08[_0x406fa3(0x556)])),_0x4b9d23(0xb,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x3c6)])),_0x4b9d23(0xc,_0x42b7fc[_0x406fa3(0x34a)])],_0x560f8f);let _0x347fdb=class extends _0x35779b{constructor(_0x1a0d95,_0x2aa018,_0x98aa8d,_0x444405,_0x542466,_0x3fcf63,_0x2b3db0,_0x59a95b,_0x3ad35f,_0x5d245a){const _0x321208=_0x406fa3;super(_0x1a0d95,_0x2aa018,_0x98aa8d,_0x444405,_0x542466,_0x3ad35f,_0x5d245a,_0x2b3db0,_0x59a95b),_0x175777(this,_0x321208(0x222),_0x321208(0x1ce)),this['_injector']=_0x3fcf63;}[_0x406fa3(0x531)](_0x1528ff){const _0x472164=_0x406fa3;return this[_0x472164(0x4c8)][_0x472164(0x355)](_0x1528ff),this[_0x472164(0x4c3)](),this;}['onRemoteChangeset'](_0x4ea75a){const _0x4f4e39=_0x406fa3;throw new Error(_0x4f4e39(0x24a));}[_0x406fa3(0x47f)](){const _0x12b864=_0x406fa3;throw new Error(_0x12b864(0x162));}['onRemoteRej'](){const _0x578a60=_0x406fa3;throw new Error(_0x578a60(0x3fd));}[_0x406fa3(0x16c)](){return this;}[_0x406fa3(0x3dd)](){const _0x4aa01c=_0x406fa3,{_injector:_0xa68f17,_pendingMutations:_0x489a26,_awaitingChangeset:_0x5de55a,unitID:_0x24ba12,_handler:_0x39d595,type:_0x1a39a8}=this,_0x1faa58=_0x4963ac(_0xa68f17,_0x24ba12,_0x1a39a8,_0x5de55a,_0x489a26,_0x39d595);return _0x1faa58 instanceof _0xcac224?_0x1faa58[_0x4aa01c(0x40d)]():(_0x1faa58 instanceof _0x2b71f7||_0x1faa58 instanceof _0x257a72)&&_0x1faa58['resend'](),_0x1faa58;}[_0x406fa3(0x4ec)](){const _0x5f2614=_0x406fa3;throw new Error(_0x5f2614(0x561));}};_0x347fdb=_0x10fc10([_0x4b9d23(0x5,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x18f)])),_0x4b9d23(0x6,_0x278695['Inject'](_0x5d08[_0x406fa3(0x556)])),_0x4b9d23(0x7,_0x278695[_0x406fa3(0x2cb)](_0x121304['LocalCacheService'])),_0x4b9d23(0x8,_0x278695[_0x406fa3(0x46e)]),_0x4b9d23(0x9,_0x278695[_0x406fa3(0x366)])],_0x347fdb);let _0x4c7e44=class extends _0x35779b{constructor(_0x57c8d5,_0x1bea53,_0x13d176,_0x2d9b05,_0x105cc5,_0x4472cf,_0x54fba1,_0x332b8a,_0x3b81e7,_0x7d4215,_0x219a85,_0x42698f,_0x3b4640,_0x502e69){const _0x56309a=_0x406fa3;super(_0x57c8d5,_0x1bea53,_0x13d176,_0x2d9b05,_0x54fba1,_0x42698f,_0x3b4640,_0x3b81e7,_0x7d4215),_0x175777(this,_0x56309a(0x222),_0x56309a(0x269)),(this['_acknowledgedAwaitingChangeset']=_0x105cc5,this['_queuedRemoteChangesets']=_0x4472cf,this[_0x56309a(0x557)]=_0x332b8a,this['_logService']=_0x219a85,this[_0x56309a(0x193)]=_0x502e69);}['onMissedChangesetFetched'](_0x4833c6){const _0x480769=_0x406fa3;try{const _0x5b131b=[..._0x4833c6,...this[_0x480769(0x311)]],_0x57c7ce=[this[_0x480769(0x250)]||this[_0x480769(0x313)]]['filter'](_0x3dd0ce=>!!_0x3dd0ce);let _0x5b84bb,_0x47b428;if(_0x57c7ce['length']){const _0x31f671=this[_0x480769(0x193)][_0x480769(0x3f6)](_0x5b131b,_0x57c7ce,!0x1);if(!_0x5d08[_0x480769(0x1e0)](_0x31f671))throw _0x31f671[_0x480769(0x228)];_0x5b84bb=_0x31f671[_0x480769(0x4c2)],_0x47b428=_0x31f671[_0x480769(0x39c)];}else _0x5b84bb=_0x5b131b,_0x47b428=[];let _0x385e06=this[_0x480769(0x4c8)];_0x5b84bb[_0x480769(0x569)](_0x1c0e2e=>{const _0x455e10=_0x480769;let _0x36df34;if(_0x385e06['length']){const _0x5ebee0=this[_0x455e10(0x193)][_0x455e10(0x3d0)](_0x1c0e2e,_0x385e06);if(!_0x5d08['isTransformMutationsWithChangesetSuccess'](_0x5ebee0))throw _0x5ebee0['error'];_0x36df34=_0x5ebee0[_0x455e10(0x4c2)],_0x385e06=_0x5ebee0[_0x455e10(0x4ee)];}else _0x36df34=_0x1c0e2e;this[_0x455e10(0x36b)](_0x36df34);}),this[_0x480769(0x313)]&&this['_incrementRevisionNumber'](),this[_0x480769(0x250)]&&_0x47b428[_0x480769(0x565)]&&(_0x47b428[0x0][_0x480769(0x473)]=this[_0x480769(0x562)]());let _0x31f585;if(this[_0x480769(0x250)]&&_0x385e06[_0x480769(0x565)]!==0x0)_0x31f585=this[_0x480769(0x557)][_0x480769(0x13d)](_0x2b71f7,this[_0x480769(0x42a)],this[_0x480769(0x460)],_0x47b428[0x0],_0x385e06,this[_0x480769(0x4d2)]);else{if(this['_awaitingChangeset']&&_0x385e06['length']===0x0)_0x47b428[0x0][_0x480769(0x473)]=this['_getCurrentRevision'](),_0x31f585=this[_0x480769(0x557)][_0x480769(0x13d)](_0x257a72,this[_0x480769(0x42a)],this[_0x480769(0x460)],_0x47b428[0x0],this[_0x480769(0x4d2)]);else{if(_0x385e06[_0x480769(0x565)]!==0x0){const _0x546e19=this[_0x480769(0x557)][_0x480769(0x13d)](_0xcac224,this[_0x480769(0x42a)],this['type'],_0x385e06,this['_handler']);_0x546e19[_0x480769(0x40d)](),_0x31f585=_0x546e19;}else _0x31f585=this['_injector'][_0x480769(0x13d)](_0x1305ec,this[_0x480769(0x42a)],this[_0x480769(0x460)],this['_handler']);}}return _0x31f585[_0x480769(0x4c3)](),_0x31f585;}catch(_0x495992){return this[_0x480769(0x334)]['error']('[FetchMissState]',_0x480769(0x182),_0x495992),this['_injector'][_0x480769(0x13d)](_0x560f8f,this[_0x480769(0x42a)],this[_0x480769(0x460)],this[_0x480769(0x250)],this[_0x480769(0x4c8)],this[_0x480769(0x4d2)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x406fa3(0x531)](_0x17db3b){const _0x42d4ab=_0x406fa3;return this[_0x42d4ab(0x4c8)][_0x42d4ab(0x355)](_0x17db3b),this;}[_0x406fa3(0x345)](_0x24c186){const _0x2b2907=_0x406fa3;return this[_0x2b2907(0x311)][_0x2b2907(0x355)](_0x24c186),this;}[_0x406fa3(0x47f)](_0x241629){const _0x2bbcbf=_0x406fa3;if(this[_0x2bbcbf(0x250)])return this[_0x2bbcbf(0x313)]=this[_0x2bbcbf(0x250)],this[_0x2bbcbf(0x250)]=null,this;throw new Error(_0x2bbcbf(0x4ba));}[_0x406fa3(0x1f4)](_0x1d866b){const _0x1345dd=_0x406fa3;return this[_0x1345dd(0x43b)](!!(_0x1d866b!=null&&_0x1d866b[_0x1345dd(0x509)]));}[_0x406fa3(0x16c)](){const _0x1c1d98=_0x406fa3;return this[_0x1c1d98(0x557)][_0x1c1d98(0x13d)](_0x347fdb,this[_0x1c1d98(0x42a)],this[_0x1c1d98(0x460)],this['_awaitingChangeset'],this[_0x1c1d98(0x4c8)],this[_0x1c1d98(0x4d2)]);}[_0x406fa3(0x3dd)](){return this;}[_0x406fa3(0x43b)](_0x2d4947){const _0xcdb427=_0x406fa3;return this[_0xcdb427(0x557)][_0xcdb427(0x13d)](_0x560f8f,this[_0xcdb427(0x42a)],this[_0xcdb427(0x460)],this[_0xcdb427(0x250)],this[_0xcdb427(0x4c8)],this[_0xcdb427(0x4d2)],_0x2d4947);}};_0x4c7e44=_0x10fc10([_0x4b9d23(0x7,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x18f)])),_0x4b9d23(0x8,_0x278695['Inject'](_0x5d08['RevisionService'])),_0x4b9d23(0x9,_0x278695[_0x406fa3(0x2cb)](_0x121304[_0x406fa3(0x2a4)])),_0x4b9d23(0xa,_0x278695['ILogService']),_0x4b9d23(0xb,_0x278695[_0x406fa3(0x46e)]),_0x4b9d23(0xc,_0x278695[_0x406fa3(0x366)]),_0x4b9d23(0xd,_0x5d08[_0x406fa3(0x4fb)])],_0x4c7e44);function _0x4963ac(_0x4ed937,_0x422a06,_0xb07e4,_0xbc0867,_0x538eea,_0x48d949){const _0x205d61=_0x406fa3;return _0xbc0867&&_0x538eea[_0x205d61(0x565)]?_0x4ed937[_0x205d61(0x13d)](_0x2b71f7,_0x422a06,_0xb07e4,_0xbc0867,_0x538eea,_0x48d949):_0xbc0867?_0x4ed937[_0x205d61(0x13d)](_0x257a72,_0x422a06,_0xb07e4,_0xbc0867,_0x48d949):_0x538eea[_0x205d61(0x565)]?_0x4ed937[_0x205d61(0x13d)](_0xcac224,_0x422a06,_0xb07e4,_0x538eea,_0x48d949):_0x4ed937[_0x205d61(0x13d)](_0x1305ec,_0x422a06,_0xb07e4,_0x48d949);}var _0x56ef3b=Object[_0x406fa3(0x1a2)],_0x387787=Object[_0x406fa3(0x187)],_0x4d81b2=(_0x2fd679,_0xbacd52,_0x5e8e56,_0x4aca6f)=>{const _0x42d9a5=_0x406fa3;for(var _0x5e210d=_0x4aca6f>0x1?void 0x0:_0x4aca6f?_0x387787(_0xbacd52,_0x5e8e56):_0xbacd52,_0x3f3515=_0x2fd679[_0x42d9a5(0x565)]-0x1,_0x2225cf;_0x3f3515>=0x0;_0x3f3515--)(_0x2225cf=_0x2fd679[_0x3f3515])&&(_0x5e210d=(_0x4aca6f?_0x2225cf(_0xbacd52,_0x5e8e56,_0x5e210d):_0x2225cf(_0x5e210d))||_0x5e210d);return _0x4aca6f&&_0x5e210d&&_0x56ef3b(_0xbacd52,_0x5e8e56,_0x5e210d),_0x5e210d;},_0x379f85=(_0x4617a5,_0x5cb7bd)=>(_0x505e86,_0x31fae8)=>_0x5cb7bd(_0x505e86,_0x31fae8,_0x4617a5);_0x121304[_0x406fa3(0x398)]=class extends _0x278695[_0x406fa3(0x20b)]{constructor(_0x55bfa1,_0x41f602,_0x2e69d6,_0x301dec,_0xc12443,_0x5224bd,_0x2f0ac4,_0x240b7b,_0x2ff146,_0x583c42,_0x22d975,_0x4fdbc1,_0x4db5c0){const _0x5aa20d=_0x406fa3;super(),_0x175777(this,_0x5aa20d(0x245),new _0x34a6cc[(_0x5aa20d(0x4fe))](null)),_0x175777(this,_0x5aa20d(0x558),this[_0x5aa20d(0x245)][_0x5aa20d(0x418)]()),_0x175777(this,_0x5aa20d(0x209)),_0x175777(this,_0x5aa20d(0x3cd),!0x1),_0x175777(this,_0x5aa20d(0x29c),this[_0x5aa20d(0x558)][_0x5aa20d(0x2b3)](_0x34a6cc[_0x5aa20d(0x1a8)](_0xdb14af=>_0xdb14af?_0xdb14af[_0x5aa20d(0x222)]:_0x59cf14[_0x5aa20d(0x372)]),_0x34a6cc[_0x5aa20d(0x27d)](0x1))),_0x175777(this,_0x5aa20d(0x17a),!0x1),_0x175777(this,_0x5aa20d(0x1ad),[]),(this[_0x5aa20d(0x42a)]=_0x55bfa1,this[_0x5aa20d(0x155)]=_0x41f602,this[_0x5aa20d(0x48f)]=_0x2e69d6,this['_injector']=_0x301dec,this[_0x5aa20d(0x1ac)]=_0xc12443,this[_0x5aa20d(0x32c)]=_0x5224bd,this[_0x5aa20d(0x1b1)]=_0x2f0ac4,this[_0x5aa20d(0x22d)]=_0x240b7b,this[_0x5aa20d(0x334)]=_0x2ff146,this[_0x5aa20d(0x237)]=_0x583c42,this['_messageService']=_0x22d975,this[_0x5aa20d(0x511)]=_0x4fdbc1,this[_0x5aa20d(0x146)]=_0x4db5c0);}get[_0x406fa3(0x55f)](){const _0x4b6a25=_0x406fa3;return this[_0x4b6a25(0x209)];}async[_0x406fa3(0x1b5)](){const _0x426f58=_0x406fa3;if(this[_0x426f58(0x55f)])throw new Error(_0x426f58(0x4e3));await this[_0x426f58(0x402)]();}['pauseCollaboration'](){const _0xf1740f=_0x406fa3;return this[_0xf1740f(0x3cd)]=!0x0,_0x278695['toDisposable'](()=>{const _0xae64c=_0xf1740f;this[_0xae64c(0x3cd)]=!0x1,this[_0xae64c(0x3f9)]();});}[_0x406fa3(0x1b4)](_0x106551){const _0x535229=_0x406fa3;this['_state']=_0x106551,this['_state$'][_0x535229(0x321)](_0x106551);}async[_0x406fa3(0x402)](){const _0x298a6c=_0x406fa3;var _0x5cfb3b;this['_updateState'](await this[_0x298a6c(0x356)]()),this[_0x298a6c(0x146)]&&((_0x5cfb3b=this['_singleActiveUnitService'])==null||_0x5cfb3b['editingUnit'](this[_0x298a6c(0x42a)]),this['disposeWithMe'](this[_0x298a6c(0x146)][_0x298a6c(0x482)](this[_0x298a6c(0x42a)])[_0x298a6c(0x218)](_0xf86b59=>{const _0x485bf2=_0x298a6c;this[_0x485bf2(0x334)][_0x485bf2(0x394)](_0x485bf2(0x466),_0x485bf2(0x2ac),_0xf86b59),_0xf86b59===_0x2f7073[_0x485bf2(0x1ef)]?(this['_messageService']['show']({'content':this['_localeService']['t'](_0x485bf2(0x55b)),'type':_0x381d1f['MessageType'][_0x485bf2(0x52c)]}),this['_permissionService'][_0x485bf2(0x31f)](new _0x30bfa9[(_0x485bf2(0x500))](this[_0x485bf2(0x42a)])['id'],!0x1)):this['_permissionService'][_0x485bf2(0x31f)](new _0x30bfa9[(_0x485bf2(0x500))](this[_0x485bf2(0x42a)])['id'],!0x0);})));let _0xd91390=!0x1;return this[_0x298a6c(0x343)](this[_0x298a6c(0x155)]['sessionStatus$'][_0x298a6c(0x218)](_0x11d0f5=>{const _0x82d487=_0x298a6c;_0x11d0f5===_0xc1ac50[_0x82d487(0x579)]?this[_0x82d487(0x320)](_0xd91390):_0x11d0f5===_0xc1ac50[_0x82d487(0x372)]&&(_0xd91390=!0x0,this['_toggleOffline']());})),this[_0x298a6c(0x343)](this[_0x298a6c(0x155)]['event$']['subscribe'](_0x467f0f=>{const _0x2951d1=_0x298a6c;try{switch(_0x467f0f[_0x2951d1(0x17d)]){case _0x5d08['CollaborationEvent']['NEW_CHANGESETS']:{this['_onRemoteChangeset'](_0x5d08[_0x2951d1(0x2fc)](_0x467f0f['data']));break;}case _0x5d08['CollaborationEvent'][_0x2951d1(0x4ab)]:{this[_0x2951d1(0x3a9)](_0x467f0f[_0x2951d1(0x1ed)]);break;}case _0x5d08[_0x2951d1(0x581)][_0x2951d1(0x48c)]:{this[_0x2951d1(0x456)]();break;}case _0x5d08[_0x2951d1(0x581)][_0x2951d1(0x216)]:{this[_0x2951d1(0x4db)](_0x467f0f[_0x2951d1(0x1ed)][_0x2951d1(0x235)]['map'](_0x19548c=>_0x5d08['parseProtocolChangeset'](_0x19548c)));break;}case _0x5d08[_0x2951d1(0x581)][_0x2951d1(0x3bf)]:this[_0x2951d1(0x456)]({'isPermissionRej':!0x0});}}catch(_0x2fef04){throw console[_0x2951d1(0x228)](_0x2951d1(0x55e),_0x2fef04),_0x2fef04;}})),this[_0x298a6c(0x209)];}[_0x406fa3(0x140)](){const _0x2e2c66=_0x406fa3;this[_0x2e2c66(0x17a)]=!0x1;}['_lockTransition'](){const _0x357b62=_0x406fa3;if(this[_0x357b62(0x17a)])throw new Error(_0x357b62(0x54f));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x7670b1){const _0x4c11e7=_0x406fa3;this[_0x4c11e7(0x3fa)](),this[_0x4c11e7(0x1b4)](this['_state'][_0x4c11e7(0x531)](_0x7670b1)),this[_0x4c11e7(0x140)]();}['_onRemoteChangeset'](_0x469d17){const _0x18b535=_0x406fa3;if(!(_0x469d17[_0x18b535(0x2c5)]<=this[_0x18b535(0x22d)][_0x18b535(0x559)](this[_0x18b535(0x42a)]))){if(this[_0x18b535(0x3cd)]){this['_remoteChangesetQueue'][_0x18b535(0x355)](_0x469d17);return;}this[_0x18b535(0x54a)](_0x469d17);}}[_0x406fa3(0x3f9)](){const _0xf9825a=_0x406fa3;this['_remoteChangesetQueue'][_0xf9825a(0x569)](_0xda4301=>this[_0xf9825a(0x54a)](_0xda4301)),this[_0xf9825a(0x1ad)]=[];}[_0x406fa3(0x54a)](_0x2484d0){const _0x46b9e6=_0x406fa3,_0x399bf6=this[_0x46b9e6(0x32c)]['interceptor'][_0x46b9e6(0x3d8)](this[_0x46b9e6(0x32c)][_0x46b9e6(0x4e6)][_0x46b9e6(0x2fb)]()[_0x46b9e6(0x23b)])(_0x2484d0[_0x46b9e6(0x384)],null)||_0x2484d0['mutations'],_0x650877={..._0x2484d0,'mutations':_0x399bf6};this['_lockTransition'](),this[_0x46b9e6(0x1b4)](this[_0x46b9e6(0x209)][_0x46b9e6(0x345)](_0x650877)),this['_unlockTransition']();}[_0x406fa3(0x3a9)](_0x2b80a5){const _0x424afe=_0x406fa3;this[_0x424afe(0x3fa)](),this['_updateState'](this[_0x424afe(0x209)][_0x424afe(0x47f)](_0x2b80a5)),this['_unlockTransition']();}[_0x406fa3(0x456)](_0x5cfff3){const _0x3c9149=_0x406fa3;this[_0x3c9149(0x3fa)](),this['_updateState'](this[_0x3c9149(0x209)][_0x3c9149(0x1f4)](_0x5cfff3)),this[_0x3c9149(0x140)]();}['_onFetchMissResult'](_0x801517){const _0x5632dc=_0x406fa3;if(!(this[_0x5632dc(0x209)]instanceof _0x4c7e44))throw new TypeError(_0x5632dc(0x421));const _0x24a140=_0x801517[_0x5632dc(0x1a8)](_0x44215c=>{const _0x2e1e56=_0x5632dc,_0x21531c=this[_0x2e1e56(0x32c)][_0x2e1e56(0x4e6)][_0x2e1e56(0x3d8)](this[_0x2e1e56(0x32c)][_0x2e1e56(0x4e6)]['getInterceptPoints']()[_0x2e1e56(0x23b)])(_0x44215c[_0x2e1e56(0x384)],null)||_0x44215c[_0x2e1e56(0x384)];return{..._0x44215c,'mutations':_0x21531c};});this[_0x5632dc(0x3fa)](),this[_0x5632dc(0x1b4)](this['_state'][_0x5632dc(0x4dd)](_0x24a140)),this[_0x5632dc(0x140)]();}[_0x406fa3(0x494)](){const _0x45152f=_0x406fa3;this[_0x45152f(0x3fa)](),this[_0x45152f(0x1b4)](this[_0x45152f(0x209)]['toggleOffline']()),this[_0x45152f(0x140)]();}[_0x406fa3(0x320)](_0x11b588=!0x1){const _0x5954d8=_0x406fa3;this[_0x5954d8(0x3fa)](),this[_0x5954d8(0x1b4)](this[_0x5954d8(0x209)]['toggleOnline']()),this['_unlockTransition']();const _0x480ea9=this['_state'];_0x11b588&&_0x480ea9 instanceof _0x1305ec&&(this[_0x5954d8(0x3fa)](),this['_updateState'](_0x480ea9[_0x5954d8(0x499)]()),this[_0x5954d8(0x140)]());}async[_0x406fa3(0x356)](){return new Promise(_0x62dbc0=>{const _0x56f26b=_0x3463;this[_0x56f26b(0x155)][_0x56f26b(0x1c6)][_0x56f26b(0x2b3)](_0x34a6cc[_0x56f26b(0x151)](0x1))['subscribe'](async _0x51b084=>{const _0x3ed86a=_0x56f26b;_0x62dbc0(await this['_createInitialStateImpl'](_0x51b084===_0xc1ac50[_0x3ed86a(0x579)]));});});}[_0x406fa3(0x48d)](){const _0x119052=_0x406fa3,_0x423bde=this[_0x119052(0x42a)];return{'onStateChange':(_0x48e70f,_0x3bfae4)=>{const _0x28d30d=_0x119052;if(_0x48e70f!==this['_state'])throw new Error(_0x28d30d(0x388)+_0x48e70f[_0x28d30d(0x222)]+_0x28d30d(0x570)+_0x3bfae4['status']+_0x28d30d(0x439)+this[_0x28d30d(0x209)][_0x28d30d(0x222)]);this[_0x28d30d(0x1b4)](_0x3bfae4);},'onSendChangeset':_0x2a32fe=>{const _0x464839=_0x119052,_0x465eaa={'eventID':_0x5d08[_0x464839(0x581)][_0x464839(0x25a)],'data':{'unitID':_0x2a32fe['unitID'],'unitType':this[_0x464839(0x48f)],'changeset':_0x2a32fe,'memberID':this[_0x464839(0x155)][_0x464839(0x46b)]()}};this[_0x464839(0x155)][_0x464839(0x50b)](_0x465eaa,this[_0x464839(0x42a)]);},'onMissingChangesets':({from:_0x59b2bd,to:_0x51f865})=>{const _0x2b508b=_0x119052;this[_0x2b508b(0x334)][_0x2b508b(0x394)](_0x2b508b(0x466),_0x2b508b(0x552)+_0x59b2bd+_0x2b508b(0x2b2)+_0x51f865);const _0x185025={'eventID':_0x5d08[_0x2b508b(0x581)][_0x2b508b(0x17b)],'data':{'unitID':_0x423bde,'unitType':this[_0x2b508b(0x48f)],'from':_0x59b2bd,'to':_0x51f865}};this[_0x2b508b(0x155)]['send'](_0x185025,this[_0x2b508b(0x42a)]);}};}async[_0x406fa3(0x41a)](_0x2c5002){const _0x1095e8=_0x406fa3;var _0x334bdc,_0x31440b;const _0x3468f1=await this[_0x1095e8(0x1ac)][_0x1095e8(0x43e)](this[_0x1095e8(0x42a)]),_0x46a852=(_0x334bdc=_0x3468f1==null?void 0x0:_0x3468f1[_0x1095e8(0x384)])!=null?_0x334bdc:[],_0x5128d1=(_0x31440b=_0x3468f1==null?void 0x0:_0x3468f1[_0x1095e8(0x407)])!=null?_0x31440b:null,_0xbb82f4=this[_0x1095e8(0x42a)];try{this[_0x1095e8(0x289)](_0x5128d1,_0x46a852);}catch(_0x3f24ec){this['_logService'][_0x1095e8(0x228)](_0x3f24ec);}const _0xb8372a=this['_createHandler']();if(_0x2c5002){const _0x513081=_0x4963ac(this[_0x1095e8(0x557)],_0xbb82f4,this[_0x1095e8(0x48f)],_0x5128d1,_0x46a852,_0xb8372a);return _0x513081 instanceof _0xcac224?_0x513081[_0x1095e8(0x40d)]():(_0x513081 instanceof _0x2b71f7||_0x513081 instanceof _0x257a72)&&_0x513081[_0x1095e8(0x4ec)](),_0x513081;}return this['_injector'][_0x1095e8(0x13d)](_0x347fdb,_0xbb82f4,this[_0x1095e8(0x48f)],_0x5128d1,_0x46a852,_0xb8372a);}[_0x406fa3(0x289)](_0x920e8d,_0xb28e05){const _0x1bf0ce=_0x406fa3;var _0x405f59,_0x2f1c23;const _0x141e2d=this['_compressMutationService'][_0x1bf0ce(0x4e6)][_0x1bf0ce(0x3d8)](this['_compressMutationService'][_0x1bf0ce(0x4e6)][_0x1bf0ce(0x2fb)]()['COMPRESS_MUTATION_APPLY']);(_0x405f59=_0x141e2d((_0x920e8d==null?void 0x0:_0x920e8d[_0x1bf0ce(0x384)])||[],null))==null||_0x405f59[_0x1bf0ce(0x569)](_0x24c6ce=>this[_0x1bf0ce(0x237)][_0x1bf0ce(0x2bd)](_0x24c6ce['id'],_0x24c6ce[_0x1bf0ce(0x428)])),(_0x2f1c23=_0x141e2d(_0xb28e05||[],null))==null||_0x2f1c23[_0x1bf0ce(0x569)](_0x31359c=>this[_0x1bf0ce(0x237)]['executeCommand'](_0x31359c['id'],_0x31359c[_0x1bf0ce(0x428)]));}},_0x121304[_0x406fa3(0x398)]=_0x4d81b2([_0x379f85(0x3,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x18f)])),_0x379f85(0x4,_0x278695[_0x406fa3(0x2cb)](_0x121304[_0x406fa3(0x2a4)])),_0x379f85(0x5,_0x278695['Inject'](_0x5d08['CompressMutationService'])),_0x379f85(0x6,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x3c6)])),_0x379f85(0x7,_0x278695['Inject'](_0x5d08['RevisionService'])),_0x379f85(0x8,_0x278695[_0x406fa3(0x21a)]),_0x379f85(0x9,_0x278695[_0x406fa3(0x46e)]),_0x379f85(0xa,_0x42b7fc[_0x406fa3(0x2b1)]),_0x379f85(0xb,_0x278695[_0x406fa3(0x17f)]),_0x379f85(0xc,_0x278695[_0x406fa3(0x2fa)](_0x3af33e))],_0x121304[_0x406fa3(0x398)]),_0x121304[_0x406fa3(0x4a3)]=class extends _0x121304[_0x406fa3(0x398)]{constructor(_0x451b3e,_0x13982c,_0x45b021,_0x1366cc,_0x1fbc39,_0x33eec1,_0x367431,_0x249167,_0x2e0c9a,_0x2fa0bc,_0x59ed19,_0x3c0251,_0x5498bc,_0x388c09,_0x5d9392,_0x249c5b,_0x444185){const _0x517b29=_0x406fa3;super(_0x451b3e,_0x45b021,_0x13982c,_0x1366cc,_0x1fbc39,_0x33eec1,_0x367431,_0x249167,_0x5498bc,_0x388c09,_0x5d9392,_0x249c5b,_0x444185),this['unitID']=_0x451b3e,this['type']=_0x13982c,this['_docStateChangeManagerService']=_0x2e0c9a,this[_0x517b29(0x1e8)]=_0x2fa0bc,this['_docTransformSelectionsService']=_0x59ed19,this[_0x517b29(0x475)]=_0x3c0251;}['_createHandler'](){const _0xf6913b=_0x406fa3,_0x1f41f2=super[_0xf6913b(0x48d)]();return _0x1f41f2[_0xf6913b(0x3ab)]=_0x861451=>this['_docTransformIMECacheService']['transformIMECache'](_0x861451),_0x1f41f2[_0xf6913b(0x1be)]=_0x290a64=>this[_0xf6913b(0x295)][_0xf6913b(0x178)](_0x290a64),_0x1f41f2[_0xf6913b(0x553)]=_0x24f718=>this['_docSyncEditingCollabCursorService'][_0xf6913b(0x21e)](_0x24f718),_0x1f41f2['onTransformRemoteChangesetByIMECache']=_0x46718c=>this[_0xf6913b(0x1e8)]['transformRemoteChangeset'](_0x46718c),_0x1f41f2;}async[_0x406fa3(0x402)](){const _0x18a143=_0x406fa3,_0x38d7bd=await super[_0x18a143(0x402)]();return this[_0x18a143(0x343)](this[_0x18a143(0x237)][_0x18a143(0x415)]((_0x21ab86,_0x3b03a3)=>{const _0x4a9071=_0x18a143;if(_0x21ab86[_0x4a9071(0x460)]!==_0x278695[_0x4a9071(0x46f)]['MUTATION']||_0x3b03a3!=null&&_0x3b03a3[_0x4a9071(0x512)]||_0x3b03a3!=null&&_0x3b03a3[_0x4a9071(0x50a)])return;const _0x5649fb=_0x21ab86[_0x4a9071(0x428)];if((_0x5649fb==null?void 0x0:_0x5649fb[_0x4a9071(0x389)])!==this[_0x4a9071(0x42a)])return;let _0x3b3ebe=_0x21ab86;if(_0x3b3ebe['id']===_0x3435c3[_0x4a9071(0x287)]['id']){const _0xa931b4=_0x3b3ebe['params'];_0x3b3ebe={'id':_0x3435c3['RichTextEditingMutation']['id'],'type':_0x278695[_0x4a9071(0x46f)][_0x4a9071(0x2b4)],'params':{'unitId':_0xa931b4[_0x4a9071(0x389)],'actions':_0xa931b4[_0x4a9071(0x161)],'textRanges':null}};}const _0x194f72=this[_0x4a9071(0x32c)][_0x4a9071(0x4e6)]['fetchThroughInterceptors'](this[_0x4a9071(0x32c)][_0x4a9071(0x4e6)][_0x4a9071(0x2fb)]()['COMPRESS_MUTATION_SEND'])([_0x3b3ebe],null)||[_0x3b3ebe];this[_0x4a9071(0x31d)](_0x194f72[0x0]);})),_0x38d7bd;}},_0x121304[_0x406fa3(0x4a3)]=_0x4d81b2([_0x379f85(0x3,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x18f)])),_0x379f85(0x4,_0x278695['Inject'](_0x121304[_0x406fa3(0x2a4)])),_0x379f85(0x5,_0x278695[_0x406fa3(0x2cb)](_0x5d08[_0x406fa3(0x1f7)])),_0x379f85(0x6,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x3c6)])),_0x379f85(0x7,_0x278695[_0x406fa3(0x2cb)](_0x5d08['RevisionService'])),_0x379f85(0x8,_0x278695[_0x406fa3(0x2cb)](_0x107653[_0x406fa3(0x3b9)])),_0x379f85(0x9,_0x278695[_0x406fa3(0x2cb)](_0x4b08e2)),_0x379f85(0xa,_0x278695['Inject'](_0x5c3f94)),_0x379f85(0xb,_0x278695['Inject'](_0x5a7762)),_0x379f85(0xc,_0x278695[_0x406fa3(0x21a)]),_0x379f85(0xd,_0x278695[_0x406fa3(0x46e)]),_0x379f85(0xe,_0x42b7fc[_0x406fa3(0x2b1)]),_0x379f85(0xf,_0x278695['IPermissionService']),_0x379f85(0x10,_0x278695[_0x406fa3(0x2fa)](_0x3af33e))],_0x121304['DocCollaborationEntity']),_0x121304[_0x406fa3(0x4c5)]=class extends _0x121304[_0x406fa3(0x398)]{constructor(_0x43b864,_0x50170f,_0x3bc7e1,_0x45b4bc,_0x22db52,_0xba520a,_0xc13027,_0xdc87ea,_0x4b6ad0,_0x127873,_0x2c2897,_0x500b42,_0x114e51,_0x2c76aa){const _0x5bff34=_0x406fa3;super(_0x43b864,_0x3bc7e1,_0x50170f,_0x45b4bc,_0x22db52,_0xba520a,_0xc13027,_0xdc87ea,_0x127873,_0x2c2897,_0x500b42,_0x114e51,_0x2c76aa),this['unitID']=_0x43b864,this[_0x5bff34(0x460)]=_0x50170f,this[_0x5bff34(0x34f)]=_0x4b6ad0;}[_0x406fa3(0x48d)](){const _0xc96e08=_0x406fa3,_0x4dec90=super[_0xc96e08(0x48d)]();return _0x4dec90[_0xc96e08(0x1be)]=_0x4a03f0=>this[_0xc96e08(0x34f)]['transformSelections'](_0x4a03f0),_0x4dec90;}async[_0x406fa3(0x402)](){const _0x57f8a1=_0x406fa3,_0xed85ed=await super['_init']();return this[_0x57f8a1(0x343)](this[_0x57f8a1(0x237)][_0x57f8a1(0x415)]((_0x33e173,_0x5432e3)=>{const _0x861078=_0x57f8a1;if(_0x33e173[_0x861078(0x460)]!==_0x278695['CommandType'][_0x861078(0x2b4)]||_0x5432e3!=null&&_0x5432e3[_0x861078(0x512)]||_0x5432e3!=null&&_0x5432e3[_0x861078(0x50a)])return;const _0xde5abb=_0x33e173['params'];if((_0xde5abb==null?void 0x0:_0xde5abb[_0x861078(0x389)])!==this[_0x861078(0x42a)])return;const _0x321bf6=_0x33e173,_0x3bb4fd=this[_0x861078(0x32c)]['interceptor'][_0x861078(0x3d8)](this['_compressMutationService'][_0x861078(0x4e6)][_0x861078(0x2fb)]()[_0x861078(0x43a)])([_0x321bf6],null)||[_0x321bf6];this[_0x861078(0x31d)](_0x3bb4fd[0x0]);})),_0xed85ed;}},_0x121304['SheetCollaborationEntity']=_0x4d81b2([_0x379f85(0x3,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x18f)])),_0x379f85(0x4,_0x278695[_0x406fa3(0x2cb)](_0x121304[_0x406fa3(0x2a4)])),_0x379f85(0x5,_0x278695[_0x406fa3(0x2cb)](_0x5d08[_0x406fa3(0x1f7)])),_0x379f85(0x6,_0x278695[_0x406fa3(0x2cb)](_0x278695['LocaleService'])),_0x379f85(0x7,_0x278695[_0x406fa3(0x2cb)](_0x5d08['RevisionService'])),_0x379f85(0x8,_0x278695[_0x406fa3(0x2cb)](_0x3cacd1)),_0x379f85(0x9,_0x278695[_0x406fa3(0x21a)]),_0x379f85(0xa,_0x278695[_0x406fa3(0x46e)]),_0x379f85(0xb,_0x42b7fc[_0x406fa3(0x2b1)]),_0x379f85(0xc,_0x278695[_0x406fa3(0x17f)]),_0x379f85(0xd,_0x278695[_0x406fa3(0x2fa)](_0x3af33e))],_0x121304[_0x406fa3(0x4c5)]);var _0x46d221=Object[_0x406fa3(0x1a2)],_0x2629e6=Object[_0x406fa3(0x187)],_0x3eced3=(_0x5c1205,_0x5cc317,_0x1929d9,_0x4014c0)=>{for(var _0x7cc2ba=_0x4014c0>0x1?void 0x0:_0x4014c0?_0x2629e6(_0x5cc317,_0x1929d9):_0x5cc317,_0x597887=_0x5c1205['length']-0x1,_0x573ba2;_0x597887>=0x0;_0x597887--)(_0x573ba2=_0x5c1205[_0x597887])&&(_0x7cc2ba=(_0x4014c0?_0x573ba2(_0x5cc317,_0x1929d9,_0x7cc2ba):_0x573ba2(_0x7cc2ba))||_0x7cc2ba);return _0x4014c0&&_0x7cc2ba&&_0x46d221(_0x5cc317,_0x1929d9,_0x7cc2ba),_0x7cc2ba;},_0x5002a3=(_0x1e1027,_0x5b0a8f)=>(_0x5a47d0,_0x3560a0)=>_0x5b0a8f(_0x5a47d0,_0x3560a0,_0x1e1027);_0x121304[_0x406fa3(0x51e)]=class extends _0x278695[_0x406fa3(0x20b)]{constructor(_0x4a5580,_0x2ddb2e,_0x1a7ea2){const _0x164794=_0x406fa3;super(),_0x175777(this,_0x164794(0x375),new Map()),_0x175777(this,_0x164794(0x2f1),new _0x34a6cc[(_0x164794(0x2eb))]()),(this[_0x164794(0x557)]=_0x4a5580,this[_0x164794(0x4f5)]=_0x2ddb2e,this[_0x164794(0x45b)]=_0x1a7ea2,this[_0x164794(0x402)]());}[_0x406fa3(0x1f1)](){const _0x2669b2=_0x406fa3;super['dispose'](),this[_0x2669b2(0x375)]['forEach'](_0x4a50c7=>_0x4a50c7[_0x2669b2(0x1f1)]()),this[_0x2669b2(0x375)][_0x2669b2(0x484)]();}['getCollabEntity'](_0x4fe0a3){const _0x565e73=_0x406fa3;var _0x2b848f;return(_0x2b848f=this[_0x565e73(0x375)][_0x565e73(0x503)](_0x4fe0a3))!=null?_0x2b848f:null;}[_0x406fa3(0x508)](_0x47a470){const _0x203350=_0x406fa3,_0x290ec7=this[_0x203350(0x46c)](_0x47a470);return _0x290ec7?_0x34a6cc['of'](_0x290ec7):this['_entityInit$'][_0x203350(0x2b3)](_0x3753b5[_0x203350(0x4b0)](_0x2dea76=>_0x2dea76[_0x203350(0x42a)]===_0x47a470));}[_0x406fa3(0x402)](){const _0x51df05=_0x406fa3;this[_0x51df05(0x45b)][_0x51df05(0x4b9)](_0x278695[_0x51df05(0x266)][_0x51df05(0x4fc)])['pipe'](_0x34a6cc[_0x51df05(0x1d2)](this[_0x51df05(0x37d)]),_0x3753b5[_0x51df05(0x242)](0x10))[_0x51df05(0x218)](async _0x394ec8=>{const _0x384853=_0x51df05,_0x130c5d=_0x394ec8[_0x384853(0x1f9)](),_0x1cca0d=await this['_startCollaboration'](_0x130c5d,_0x5b1b3b[_0x384853(0x4fc)]);this[_0x384853(0x375)][_0x384853(0x30e)](_0x130c5d,_0x1cca0d);}),this[_0x51df05(0x45b)][_0x51df05(0x4b9)](_0x278695['UniverInstanceType'][_0x51df05(0x373)])[_0x51df05(0x2b3)](_0x34a6cc[_0x51df05(0x1d2)](this[_0x51df05(0x37d)]),_0x3753b5['delay'](0x10))[_0x51df05(0x2b3)](_0x3753b5['filter'](_0x38c59c=>!_0x38c59c['getUnitId']()[_0x51df05(0x24c)]('__')))['subscribe'](async _0x392d1d=>{const _0x17a031=_0x51df05,_0x3c3f88=_0x392d1d[_0x17a031(0x1f9)](),_0x1792fd=await this['_startCollaboration'](_0x3c3f88,_0x5b1b3b[_0x17a031(0x373)]);this[_0x17a031(0x375)][_0x17a031(0x30e)](_0x3c3f88,_0x1792fd);}),_0x34a6cc['merge'](this[_0x51df05(0x45b)]['getTypeOfUnitDisposed$'](_0x278695['UniverInstanceType'][_0x51df05(0x4fc)]),this[_0x51df05(0x45b)]['getTypeOfUnitDisposed$'](_0x278695['UniverInstanceType'][_0x51df05(0x373)]))[_0x51df05(0x2b3)](_0x34a6cc[_0x51df05(0x1d2)](this[_0x51df05(0x37d)]))[_0x51df05(0x218)](_0x2a4c9b=>{const _0x48eb5d=_0x51df05,_0x1abcd2=_0x2a4c9b[_0x48eb5d(0x1f9)](),_0x317570=this[_0x48eb5d(0x375)][_0x48eb5d(0x503)](_0x1abcd2);_0x317570&&(_0x317570[_0x48eb5d(0x1f1)](),this[_0x48eb5d(0x375)][_0x48eb5d(0x29a)](_0x1abcd2));});}async[_0x406fa3(0x374)](_0x3c26e3,_0x1f06e0){const _0x2ce9a3=_0x406fa3,_0x1dd24e=await this[_0x2ce9a3(0x4f5)]['requireSession'](_0x3c26e3),_0x1270f8=this[_0x2ce9a3(0x557)][_0x2ce9a3(0x13d)](this[_0x2ce9a3(0x143)](_0x1f06e0),_0x3c26e3,_0x1f06e0,_0x1dd24e);return await _0x1270f8['init'](),this[_0x2ce9a3(0x2f1)][_0x2ce9a3(0x321)](_0x1270f8),_0x1270f8;}[_0x406fa3(0x143)](_0x557072){const _0x2401a1=_0x406fa3;switch(_0x557072){case _0x5b1b3b['UNIVER_DOC']:return _0x121304['DocCollaborationEntity'];case _0x5b1b3b[_0x2401a1(0x4fc)]:return _0x121304[_0x2401a1(0x4c5)];default:throw new Error(_0x2401a1(0x273)+_0x557072);}}},_0x121304[_0x406fa3(0x51e)]=_0x3eced3([_0x5002a3(0x0,_0x278695['Inject'](_0x278695[_0x406fa3(0x18f)])),_0x5002a3(0x1,_0x278695['Inject'](_0x121304[_0x406fa3(0x502)])),_0x5002a3(0x2,_0x278695[_0x406fa3(0x2d6)])],_0x121304['CollaborationController']);const _0xdbc1be=[_0x406fa3(0x4bf),_0x406fa3(0x206),_0x406fa3(0x163),_0x406fa3(0x4f1),_0x406fa3(0x27c),'gold400'];class _0x3e1517 extends _0x278695[_0x406fa3(0x3a8)]{constructor(){const _0x1a7df6=_0x406fa3;super(...arguments),_0x175777(this,'_assignedColors',new Map()),_0x175777(this,_0x1a7df6(0x15b),0x0);}[_0x406fa3(0x47a)](_0x13ed0a){const _0x5bd00c=_0x406fa3;if(this[_0x5bd00c(0x253)][_0x5bd00c(0x39d)](_0x13ed0a))return this[_0x5bd00c(0x253)][_0x5bd00c(0x503)](_0x13ed0a);const _0x31466f=_0xdbc1be[this['_colorIndex']];return this[_0x5bd00c(0x15b)]=(this[_0x5bd00c(0x15b)]+0x1)%_0xdbc1be['length'],this['_assignedColors'][_0x5bd00c(0x30e)](_0x13ed0a,_0x31466f),_0x31466f;}}var _0x47e39b=Object['defineProperty'],_0x549f60=Object['getOwnPropertyDescriptor'],_0x15b1f8=(_0x18d179,_0x565f6d,_0x102c81,_0x5bc90e)=>{const _0x4e43ec=_0x406fa3;for(var _0xb82ba4=_0x5bc90e>0x1?void 0x0:_0x5bc90e?_0x549f60(_0x565f6d,_0x102c81):_0x565f6d,_0x32b6e0=_0x18d179[_0x4e43ec(0x565)]-0x1,_0x4c640c;_0x32b6e0>=0x0;_0x32b6e0--)(_0x4c640c=_0x18d179[_0x32b6e0])&&(_0xb82ba4=(_0x5bc90e?_0x4c640c(_0x565f6d,_0x102c81,_0xb82ba4):_0x4c640c(_0xb82ba4))||_0xb82ba4);return _0x5bc90e&&_0xb82ba4&&_0x47e39b(_0x565f6d,_0x102c81,_0xb82ba4),_0xb82ba4;},_0x521f5c=(_0x230283,_0x8290a0)=>(_0x315bc6,_0x299376)=>_0x8290a0(_0x315bc6,_0x299376,_0x230283);const _0x4660e0=0x12c,_0x2bde12=0x64;let _0x3f93ba=class extends _0x278695[_0x406fa3(0x20b)]{constructor(_0x3403da,_0x33c858,_0x1c900a,_0x4fa7c6,_0x1dc5d0,_0x549d65,_0x1750a0,_0x2a8e4f,_0x51a2fd){const _0x5a4375=_0x406fa3;super(),_0x175777(this,_0x5a4375(0x1d9),!0x1),_0x175777(this,_0x5a4375(0x402),!0x1),_0x175777(this,_0x5a4375(0x302),new _0x34a6cc[(_0x5a4375(0x4fe))](new Map())),_0x175777(this,_0x5a4375(0x1ec),this[_0x5a4375(0x302)][_0x5a4375(0x418)]()),_0x175777(this,'_roomMembers$',new _0x34a6cc[(_0x5a4375(0x4fe))]([])),_0x175777(this,'roomMembers$',this[_0x5a4375(0x2dd)][_0x5a4375(0x2b3)](_0x34a6cc[_0x5a4375(0x32f)](_0x4660e0))),_0x175777(this,_0x5a4375(0x437),_0x278695[_0x5a4375(0x141)](_0x3331dc=>{const _0x50f14a=_0x5a4375,_0x5d41a7={'eventID':_0x5d08['CollaborationEvent'][_0x50f14a(0x4ed)],'data':{'unitID':this[_0x50f14a(0x42a)],'memberID':this['_session']['getMemberID'](),'selection':_0x25ccab(_0x3331dc)}};this[_0x50f14a(0x4f9)][_0x50f14a(0x50b)](_0x5d41a7,this[_0x50f14a(0x42a)]);},_0x2bde12)),(this[_0x5a4375(0x42a)]=_0x3403da,this[_0x5a4375(0x4f9)]=_0x33c858,this[_0x5a4375(0x557)]=_0x1c900a,this[_0x5a4375(0x164)]=_0x4fa7c6,this[_0x5a4375(0x3e4)]=_0x1dc5d0,this['_syncEditingCollabCursorService']=_0x549d65,this[_0x5a4375(0x193)]=_0x1750a0,this['_univerInstanceService']=_0x2a8e4f,this[_0x5a4375(0x237)]=_0x51a2fd);}get['cursorInfo'](){const _0x294db3=_0x406fa3;return this[_0x294db3(0x302)]['getValue']();}get[_0x406fa3(0x190)](){const _0x562d57=_0x406fa3;return this[_0x562d57(0x2dd)][_0x562d57(0x281)]();}['dispose'](){const _0x3b954b=_0x406fa3;super[_0x3b954b(0x1f1)](),this[_0x3b954b(0x302)][_0x3b954b(0x321)](new Map()),this[_0x3b954b(0x302)][_0x3b954b(0x145)](),this[_0x3b954b(0x2dd)]['next']([]),this[_0x3b954b(0x2dd)][_0x3b954b(0x145)]();}[_0x406fa3(0x1b5)](){const _0x4746dd=_0x406fa3;this[_0x4746dd(0x402)]||(this[_0x4746dd(0x402)]=!0x0,this[_0x4746dd(0x4f9)]['sessionStatus$'][_0x4746dd(0x2b3)](_0x34a6cc[_0x4746dd(0x1d2)](this[_0x4746dd(0x37d)]))[_0x4746dd(0x218)](_0x462b01=>{const _0x2b2590=_0x4746dd;_0x462b01===_0xc1ac50[_0x2b2590(0x579)]?this[_0x2b2590(0x320)]():this[_0x2b2590(0x494)]();}),this[_0x4746dd(0x4f9)]['event$']['pipe'](_0x34a6cc[_0x4746dd(0x1d2)](this[_0x4746dd(0x37d)]))[_0x4746dd(0x218)](_0x50420a=>{const _0x17b109=_0x4746dd,_0x2c4a5a=_0x50420a[_0x17b109(0x17d)];_0x2c4a5a===_0x5d08[_0x17b109(0x581)][_0x17b109(0x4ed)]&&this[_0x17b109(0x307)](_0x50420a),_0x2c4a5a===_0x5d08['CollaborationEvent']['USERS_LEAVE']&&this[_0x17b109(0x15c)](_0x50420a);}),this[_0x4746dd(0x343)](this[_0x4746dd(0x237)][_0x4746dd(0x415)](_0x178046=>{const _0x300ea9=_0x4746dd,_0x1dd929=_0x178046[_0x300ea9(0x428)];_0x1dd929!=null&&this[_0x300ea9(0x1d9)]&&_0x178046['id']===_0x3435c3[_0x300ea9(0x369)]['id']&&_0x1dd929[_0x300ea9(0x389)]===this[_0x300ea9(0x42a)]&&_0x1dd929[_0x300ea9(0x47e)]===!0x1&&this['_updateLocalCursor'](_0x1dd929[_0x300ea9(0x461)]);})),this[_0x4746dd(0x422)][_0x4746dd(0x2e7)][_0x4746dd(0x2b3)](_0x34a6cc['takeUntil'](this['dispose$']))[_0x4746dd(0x218)](_0x2891c3=>{const _0x4ca9c8=_0x4746dd;if((_0x2891c3==null?void 0x0:_0x2891c3[_0x4ca9c8(0x42a)])!==this[_0x4ca9c8(0x42a)])return;const _0x1eb74b={'eventID':_0x5d08[_0x4ca9c8(0x581)][_0x4ca9c8(0x4ed)],'data':_0x2891c3};this['_onCursorUpdate'](_0x1eb74b);}),this[_0x4746dd(0x343)](this[_0x4746dd(0x237)][_0x4746dd(0x415)](_0x53e7fb=>{const _0x3041ed=_0x4746dd;if(_0x53e7fb[_0x3041ed(0x428)]==null)return;const _0x48b794=_0x53e7fb[_0x3041ed(0x428)];if(_0x53e7fb['id']!==_0x3435c3['RichTextEditingMutation']['id']||_0x48b794['unitId']!==this[_0x3041ed(0x42a)])return;const _0x47cc81={'id':'doc.mutation.rich-text-editing','params':_0x48b794},_0x454949=this[_0x3041ed(0x49f)];for(const [_0x51163f,_0x4a1651]of _0x454949){const _0x120b70={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x3041ed(0x42a)],'actions':null,'textRanges':_0x4a1651[_0x3041ed(0x461)]}},_0x41d3de=this['_transformService'][_0x3041ed(0x3f8)](_0x47cc81,_0x120b70,!0x1);if(_0x5d08[_0x3041ed(0x1dc)](_0x41d3de))throw _0x41d3de[_0x3041ed(0x228)];_0x454949[_0x3041ed(0x30e)](_0x51163f,{..._0x4a1651,'ranges':_0x41d3de['m2Prime'][_0x3041ed(0x428)][_0x3041ed(0x14a)]});}queueMicrotask(()=>{const _0x543b1d=_0x3041ed;this[_0x543b1d(0x302)]['next'](_0x454949);});})));}['_onCursorUpdate'](_0x4b118c){const _0xe69a80=_0x406fa3;var _0x27c456,_0x56a33e;const {memberID:_0x44356c,selection:_0x38affc}=_0x4b118c[_0xe69a80(0x1ed)],_0x1385b5=_0xbd178f(_0x38affc),_0x1b330d=(_0x56a33e=(_0x27c456=this[_0xe69a80(0x3e4)]['getMember'](this['unitID'],_0x44356c))==null?void 0x0:_0x27c456[_0xe69a80(0x315)])!=null?_0x56a33e:'Unknown\x20user',_0x49e9bf={'color':this[_0xe69a80(0x164)]['assignAColorForMemberID'](_0x44356c),'name':_0x1b330d,'ranges':_0x1385b5},_0x33b422=this[_0xe69a80(0x49f)];_0x33b422[_0xe69a80(0x30e)](_0x44356c,_0x49e9bf),this['_cursorInfo$'][_0xe69a80(0x321)](_0x33b422);}[_0x406fa3(0x15c)](_0x369bec){const _0x115943=_0x406fa3,{memberID:_0x5f2355}=_0x369bec[_0x115943(0x1ed)],_0x1e234e=this[_0x115943(0x49f)];_0x1e234e['delete'](_0x5f2355),this[_0x115943(0x302)][_0x115943(0x321)](_0x1e234e);}[_0x406fa3(0x320)](){const _0x1aaad9=_0x406fa3;var _0x2479d0;if(this['_online']=!0x0,((_0x2479d0=this['_univerInstanceService'][_0x1aaad9(0x545)]())==null?void 0x0:_0x2479d0[_0x1aaad9(0x1f9)]())!==this['unitID'])return;const _0x471635=this[_0x1aaad9(0x557)][_0x1aaad9(0x503)](_0x3435c3[_0x1aaad9(0x318)])[_0x1aaad9(0x2b0)]();Array[_0x1aaad9(0x1d8)](_0x471635)&&_0x471635[_0x1aaad9(0x565)]>0x0&&this['_updateLocalCursor'](_0x471635);}[_0x406fa3(0x494)](){const _0x95db87=_0x406fa3;this[_0x95db87(0x1d9)]=!0x1;}};_0x3f93ba=_0x15b1f8([_0x521f5c(0x2,_0x278695['Inject'](_0x278695[_0x406fa3(0x18f)])),_0x521f5c(0x3,_0x278695['Inject'](_0x3e1517)),_0x521f5c(0x4,_0x278695[_0x406fa3(0x2cb)](_0x76bc39)),_0x521f5c(0x5,_0x278695[_0x406fa3(0x2cb)](_0x5a7762)),_0x521f5c(0x6,_0x5d08[_0x406fa3(0x4fb)]),_0x521f5c(0x7,_0x278695[_0x406fa3(0x2d6)]),_0x521f5c(0x8,_0x278695[_0x406fa3(0x46e)])],_0x3f93ba);var _0x259435=Object['defineProperty'],_0x120394=Object[_0x406fa3(0x187)],_0x375160=(_0x26297f,_0x376904,_0x507469,_0x2a4e88)=>{const _0x1e5177=_0x406fa3;for(var _0x2a4fba=_0x2a4e88>0x1?void 0x0:_0x2a4e88?_0x120394(_0x376904,_0x507469):_0x376904,_0x5a4444=_0x26297f[_0x1e5177(0x565)]-0x1,_0x58eb74;_0x5a4444>=0x0;_0x5a4444--)(_0x58eb74=_0x26297f[_0x5a4444])&&(_0x2a4fba=(_0x2a4e88?_0x58eb74(_0x376904,_0x507469,_0x2a4fba):_0x58eb74(_0x2a4fba))||_0x2a4fba);return _0x2a4e88&&_0x2a4fba&&_0x259435(_0x376904,_0x507469,_0x2a4fba),_0x2a4fba;},_0x1a8bcf=(_0x8dde98,_0x4710f8)=>(_0x2e26f1,_0x1d8d3a)=>_0x4710f8(_0x2e26f1,_0x1d8d3a,_0x8dde98);const _0x448fc4=0x12c,_0x2db73c=0x64,_0x454d98=()=>{let _0xc46503=[],_0x2b274a=!0x1;return _0x426449=>{const _0x139b7f=_0x3463;_0xc46503[_0x139b7f(0x355)](_0x426449),_0x2b274a||(_0x2b274a=!0x0,setTimeout(()=>{_0xc46503['forEach'](_0x4a98e9=>_0x4a98e9()),_0xc46503=[],_0x2b274a=!0x1;}));};};let _0x400f10=class extends _0x278695[_0x406fa3(0x20b)]{constructor(_0x3612f7,_0x222a4d,_0x2b6bef,_0x71c720,_0x391749,_0x129aa6,_0x5d4ce0,_0x4f16d3){const _0x45db77=_0x406fa3;super(),_0x175777(this,'_online',!0x1),_0x175777(this,_0x45db77(0x402),!0x1),_0x175777(this,'_cursorInfo$',new _0x34a6cc[(_0x45db77(0x4fe))](new Map())),_0x175777(this,_0x45db77(0x1ec),this['_cursorInfo$'][_0x45db77(0x418)]()),_0x175777(this,_0x45db77(0x2dd),new _0x34a6cc['BehaviorSubject']([])),_0x175777(this,_0x45db77(0x414),this[_0x45db77(0x2dd)][_0x45db77(0x2b3)](_0x34a6cc['debounceTime'](_0x448fc4))),_0x175777(this,_0x45db77(0x437),_0x278695[_0x45db77(0x141)]((_0x15080e,_0x46c250)=>{const _0x431d53=_0x45db77,_0x18541b={'eventID':_0x5d08[_0x431d53(0x581)][_0x431d53(0x4ed)],'data':{'unitID':this[_0x431d53(0x42a)],'memberID':this[_0x431d53(0x4f9)][_0x431d53(0x46b)](),'selection':_0x44d111['serializeRangeWithSheet'](_0x15080e,_0x46c250[_0x431d53(0x4c0)])}};this[_0x431d53(0x4f9)]['send'](_0x18541b,this[_0x431d53(0x42a)]);},_0x2db73c)),(this[_0x45db77(0x42a)]=_0x3612f7,this[_0x45db77(0x4f9)]=_0x222a4d,this['_injector']=_0x2b6bef,this[_0x45db77(0x164)]=_0x71c720,this[_0x45db77(0x3e4)]=_0x391749,this[_0x45db77(0x45b)]=_0x129aa6,this[_0x45db77(0x237)]=_0x5d4ce0,this['_refRangeService']=_0x4f16d3);}get[_0x406fa3(0x49f)](){const _0x7465d1=_0x406fa3;return this[_0x7465d1(0x302)][_0x7465d1(0x281)]();}get[_0x406fa3(0x190)](){const _0x253402=_0x406fa3;return this[_0x253402(0x2dd)][_0x253402(0x281)]();}['dispose'](){const _0x4811bd=_0x406fa3;super['dispose'](),this[_0x4811bd(0x302)]['next'](new Map()),this[_0x4811bd(0x302)][_0x4811bd(0x145)](),this[_0x4811bd(0x2dd)]['next']([]),this[_0x4811bd(0x2dd)]['complete']();}[_0x406fa3(0x1b5)](){const _0x4861cf=_0x406fa3;this['_init']||(this[_0x4861cf(0x402)]=!0x0,this['_session']['sessionStatus$'][_0x4861cf(0x2b3)](_0x34a6cc['takeUntil'](this['dispose$']))[_0x4861cf(0x218)](_0x49a569=>{const _0x519795=_0x4861cf;_0x49a569===_0xc1ac50[_0x519795(0x579)]?this[_0x519795(0x320)]():this['_toggleOffline']();}),this[_0x4861cf(0x4f9)][_0x4861cf(0x264)]['pipe'](_0x34a6cc[_0x4861cf(0x1d2)](this[_0x4861cf(0x37d)]))[_0x4861cf(0x218)](_0x29bbc0=>{const _0x9f701d=_0x4861cf,_0x4e0ed5=_0x29bbc0[_0x9f701d(0x17d)];_0x4e0ed5===_0x5d08[_0x9f701d(0x581)][_0x9f701d(0x4ed)]&&this[_0x9f701d(0x307)](_0x29bbc0),_0x4e0ed5===_0x5d08[_0x9f701d(0x581)]['USERS_LEAVE']&&this[_0x9f701d(0x15c)](_0x29bbc0);}),this[_0x4861cf(0x3e5)](),this[_0x4861cf(0x343)](this[_0x4861cf(0x237)]['onCommandExecuted'](_0x298c12=>{const _0x177d6d=_0x4861cf;if(this[_0x177d6d(0x1d9)]&&_0x298c12['id']===_0x30bfa9[_0x177d6d(0x54b)]['id']&&_0x298c12[_0x177d6d(0x428)][_0x177d6d(0x389)]===this[_0x177d6d(0x42a)]){const _0x39d255=_0x298c12['params'];this['_updateLocalCursor'](_0x39d255['subUnitId'],_0x39d255[_0x177d6d(0x1d4)][0x0]);}})));}[_0x406fa3(0x307)](_0x234e27){const _0x561378=_0x406fa3;var _0x39042f,_0x491ede;const {memberID:_0x271020,selection:_0x362951}=_0x234e27['data'],{sheetName:_0x5baf69,range:_0x4f42d1}=_0x44d111[_0x561378(0x2c1)](_0x362951),_0x448917={'name':(_0x491ede=(_0x39042f=this[_0x561378(0x3e4)]['getMember'](this[_0x561378(0x42a)],_0x271020))==null?void 0x0:_0x39042f['name'])!=null?_0x491ede:'Unknown\x20user','range':this[_0x561378(0x4a8)](_0x5baf69,_0x4f42d1),'sheetID':_0x5baf69,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x271020),'selection':_0x362951},_0x458622=this['cursorInfo'];_0x458622[_0x561378(0x30e)](_0x271020,_0x448917),this[_0x561378(0x302)][_0x561378(0x321)](_0x458622);}['_onCursorDelete'](_0x4f04fb){const _0x8f98a0=_0x406fa3,{memberID:_0x578492}=_0x4f04fb['data'],_0x367807=this[_0x8f98a0(0x49f)];_0x367807[_0x8f98a0(0x29a)](_0x578492),this['_cursorInfo$'][_0x8f98a0(0x321)](_0x367807);}['_getMergeRange'](_0x15f9dc,_0x3798ab){const _0x4e9dd7=_0x406fa3;var _0x1431a4,_0x2f9ac8;const _0x405277=(_0x2f9ac8=(_0x1431a4=this[_0x4e9dd7(0x45b)]['getUniverSheetInstance'](this[_0x4e9dd7(0x42a)]))==null?void 0x0:_0x1431a4[_0x4e9dd7(0x2f9)](_0x15f9dc))==null?void 0x0:_0x2f9ac8[_0x4e9dd7(0x251)]();return(_0x405277==null?void 0x0:_0x405277['find'](_0xe22c33=>_0x278695[_0x4e9dd7(0x2d7)][_0x4e9dd7(0x13e)](_0xe22c33,_0x3798ab)))||_0x3798ab;}[_0x406fa3(0x3e5)](){const _0x33f230=_0x406fa3,_0x1754cf=new _0x278695[(_0x33f230(0x405))](),_0x3d48c0=_0x454d98(),_0x2b3f94=()=>{const _0x406f41=_0x33f230;_0x1754cf['dispose']();const _0x52fb3a=(_0x48a01d,_0x3b284e,_0x56ea86,_0x1d8886)=>{const _0x477ab2=_0x3463;let _0x4cfc9b=[];switch(_0x48a01d['id']){case _0x30bfa9['EffectRefRangId'][_0x477ab2(0x156)]:{_0x4cfc9b=_0x30bfa9[_0x477ab2(0x37f)](_0x48a01d,_0x1d8886);break;}case _0x30bfa9[_0x477ab2(0x56f)][_0x477ab2(0x45d)]:{_0x4cfc9b=_0x30bfa9['handleDeleteRangeMoveUp'](_0x48a01d,_0x1d8886);break;}case _0x30bfa9[_0x477ab2(0x56f)][_0x477ab2(0x4a4)]:{_0x4cfc9b=_0x30bfa9[_0x477ab2(0x497)](_0x48a01d,_0x1d8886);break;}case _0x30bfa9[_0x477ab2(0x56f)][_0x477ab2(0x53b)]:{_0x4cfc9b=_0x30bfa9[_0x477ab2(0x2b5)](_0x48a01d,_0x1d8886);break;}case _0x30bfa9[_0x477ab2(0x56f)]['InsertRangeMoveRightCommandId']:{_0x4cfc9b=_0x30bfa9[_0x477ab2(0x2e4)](_0x48a01d,_0x1d8886);break;}case _0x30bfa9[_0x477ab2(0x56f)]['InsertRowCommandId']:{_0x4cfc9b=_0x30bfa9[_0x477ab2(0x3dc)](_0x48a01d,_0x1d8886);break;}case _0x30bfa9['EffectRefRangId'][_0x477ab2(0x478)]:{_0x4cfc9b=_0x30bfa9[_0x477ab2(0x153)](_0x48a01d,_0x1d8886);break;}case _0x30bfa9[_0x477ab2(0x56f)]['RemoveColCommandId']:{_0x4cfc9b=_0x30bfa9[_0x477ab2(0x40e)](_0x48a01d,_0x1d8886);break;}case _0x30bfa9[_0x477ab2(0x56f)][_0x477ab2(0x383)]:{_0x4cfc9b=_0x30bfa9[_0x477ab2(0x4d7)](_0x48a01d,_0x1d8886);break;}}const _0x76145e=_0x30bfa9['runRefRangeMutations'](_0x4cfc9b,_0x1d8886),_0x4bcc97=this[_0x477ab2(0x49f)]['get'](_0x3b284e);if(_0x4bcc97&&_0x76145e){const _0x44738e={..._0x4bcc97,'range':_0x76145e};this[_0x477ab2(0x49f)][_0x477ab2(0x30e)](_0x3b284e,_0x44738e),_0x3d48c0(()=>{const _0x120424=_0x477ab2,_0x3169b2=this['_refRangeService']['registerRefRange'](_0x76145e,_0x246142=>(_0x3169b2[_0x120424(0x1f1)](),_0x52fb3a(_0x246142,_0x3b284e,_0x56ea86,_0x76145e)));_0x1754cf[_0x120424(0x1ee)](_0x3169b2);});}return{'redos':[],'undos':[]};};this[_0x406f41(0x49f)][_0x406f41(0x569)]((_0x2a24e8,_0x4391a7)=>{const _0x45ca23=_0x406f41,{range:_0x4000c5,sheetID:_0x4ef5b7}=_0x2a24e8,_0x361dcc=this['_refRangeService'][_0x45ca23(0x4e7)](_0x4000c5,_0x512db0=>(_0x361dcc[_0x45ca23(0x1f1)](),_0x52fb3a(_0x512db0,_0x4391a7,_0x4ef5b7,_0x4000c5)));_0x1754cf[_0x45ca23(0x1ee)](_0x361dcc);});};this[_0x33f230(0x343)](_0x278695[_0x33f230(0x1c8)](this[_0x33f230(0x302)][_0x33f230(0x218)](()=>{_0x2b3f94();})));}[_0x406fa3(0x320)](){const _0x188705=_0x406fa3;var _0xd5ed10,_0xbb5187;if(this[_0x188705(0x1d9)]=!0x0,((_0xd5ed10=this[_0x188705(0x45b)]['getFocusedUnit']())==null?void 0x0:_0xd5ed10['getUnitId']())!==this[_0x188705(0x42a)])return;const _0x31d6ad=(_0xbb5187=this['_injector']['get'](_0x30bfa9[_0x188705(0x2a6)])[_0x188705(0x16e)]())==null?void 0x0:_0xbb5187[0x0],_0x45b867=this[_0x188705(0x45b)][_0x188705(0x3b5)](_0x278695[_0x188705(0x266)]['UNIVER_SHEET'])[_0x188705(0x27a)]();_0x31d6ad&&_0x45b867&&this[_0x188705(0x437)](_0x45b867['getSheetId'](),_0x31d6ad);}[_0x406fa3(0x494)](){const _0x51157a=_0x406fa3;this[_0x51157a(0x1d9)]=!0x1;}};_0x400f10=_0x375160([_0x1a8bcf(0x2,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x18f)])),_0x1a8bcf(0x3,_0x278695[_0x406fa3(0x2cb)](_0x3e1517)),_0x1a8bcf(0x4,_0x278695[_0x406fa3(0x2cb)](_0x76bc39)),_0x1a8bcf(0x5,_0x278695['IUniverInstanceService']),_0x1a8bcf(0x6,_0x278695[_0x406fa3(0x46e)]),_0x1a8bcf(0x7,_0x278695[_0x406fa3(0x2cb)](_0x30bfa9['RefRangeService']))],_0x400f10);var _0x5b1028=Object['defineProperty'],_0x37b24a=Object[_0x406fa3(0x187)],_0x4544d2=(_0x5f45db,_0x5d7ba4,_0x22ad79,_0x295f95)=>{const _0x223325=_0x406fa3;for(var _0x11724a=_0x295f95>0x1?void 0x0:_0x295f95?_0x37b24a(_0x5d7ba4,_0x22ad79):_0x5d7ba4,_0x8b3d02=_0x5f45db[_0x223325(0x565)]-0x1,_0x179189;_0x8b3d02>=0x0;_0x8b3d02--)(_0x179189=_0x5f45db[_0x8b3d02])&&(_0x11724a=(_0x295f95?_0x179189(_0x5d7ba4,_0x22ad79,_0x11724a):_0x179189(_0x11724a))||_0x11724a);return _0x295f95&&_0x11724a&&_0x5b1028(_0x5d7ba4,_0x22ad79,_0x11724a),_0x11724a;},_0x50aaed=(_0x5eb8f6,_0x3020c7)=>(_0x3cb67c,_0x5895ef)=>_0x3020c7(_0x3cb67c,_0x5895ef,_0x5eb8f6);let _0x18b6d9=class extends _0x278695[_0x406fa3(0x20b)]{constructor(_0x4a1974,_0x1444bc,_0x97b12e){const _0x13390e=_0x406fa3;super(),_0x175777(this,_0x13390e(0x375),new Map()),_0x175777(this,'_entityInit$',new _0x34a6cc[(_0x13390e(0x2eb))]()),(this[_0x13390e(0x45b)]=_0x4a1974,this[_0x13390e(0x557)]=_0x1444bc,this[_0x13390e(0x4f5)]=_0x97b12e,this[_0x13390e(0x402)]());}[_0x406fa3(0x1f1)](){const _0x342f36=_0x406fa3;super[_0x342f36(0x1f1)](),this['_entityInit$'][_0x342f36(0x145)](),this[_0x342f36(0x375)]['forEach'](_0x28feb5=>_0x28feb5[_0x342f36(0x1f1)]());}[_0x406fa3(0x41d)](_0x28e7fa){const _0x3a488a=_0x406fa3;return this[_0x3a488a(0x375)][_0x3a488a(0x39d)](_0x28e7fa)?this[_0x3a488a(0x375)][_0x3a488a(0x503)](_0x28e7fa)[_0x3a488a(0x1ec)]:this[_0x3a488a(0x2f1)]['pipe'](_0x34a6cc[_0x3a488a(0x4b0)](_0x43c503=>_0x43c503['unitID']===_0x28e7fa),_0x34a6cc[_0x3a488a(0x49c)](_0x2aec40=>_0x2aec40[_0x3a488a(0x1ec)]));}[_0x406fa3(0x402)](){const _0x1d8f3d=_0x406fa3;this[_0x1d8f3d(0x45b)][_0x1d8f3d(0x4b9)](_0x278695[_0x1d8f3d(0x266)][_0x1d8f3d(0x4fc)])[_0x1d8f3d(0x2b3)](_0x34a6cc[_0x1d8f3d(0x1d2)](this[_0x1d8f3d(0x37d)]))[_0x1d8f3d(0x218)](async _0x31a380=>{const _0x547bb1=_0x1d8f3d,_0x4652f9=_0x31a380['getUnitId'](),_0x1d00cd=await this['_startSheetCollabCursor'](_0x4652f9);this['_entityInit$'][_0x547bb1(0x321)](_0x1d00cd),this['_entities'][_0x547bb1(0x30e)](_0x4652f9,_0x1d00cd);}),this[_0x1d8f3d(0x45b)][_0x1d8f3d(0x4b9)](_0x278695[_0x1d8f3d(0x266)][_0x1d8f3d(0x373)])[_0x1d8f3d(0x2b3)](_0x34a6cc[_0x1d8f3d(0x1d2)](this[_0x1d8f3d(0x37d)]))[_0x1d8f3d(0x2b3)](_0x34a6cc[_0x1d8f3d(0x4b0)](_0x17ae56=>!_0x17ae56[_0x1d8f3d(0x1f9)]()[_0x1d8f3d(0x24c)]('__')))[_0x1d8f3d(0x218)](async _0x23b740=>{const _0x51d506=_0x1d8f3d,_0x4d5668=_0x23b740[_0x51d506(0x1f9)](),_0xd98ec0=await this['_startDocCollabCursor'](_0x4d5668);this['_entityInit$'][_0x51d506(0x321)](_0xd98ec0),this[_0x51d506(0x375)][_0x51d506(0x30e)](_0x4d5668,_0xd98ec0);}),_0x34a6cc[_0x1d8f3d(0x504)](this[_0x1d8f3d(0x45b)][_0x1d8f3d(0x40a)](_0x278695[_0x1d8f3d(0x266)][_0x1d8f3d(0x373)]),this[_0x1d8f3d(0x45b)][_0x1d8f3d(0x40a)](_0x278695[_0x1d8f3d(0x266)]['UNIVER_SHEET']))['pipe'](_0x34a6cc[_0x1d8f3d(0x1d2)](this[_0x1d8f3d(0x37d)]))['subscribe'](_0x2fef37=>{const _0x2a75a3=_0x1d8f3d,_0x20f931=_0x2fef37[_0x2a75a3(0x1f9)](),_0x48f7af=this['_entities'][_0x2a75a3(0x503)](_0x20f931);_0x48f7af&&(_0x48f7af[_0x2a75a3(0x1f1)](),this['_entities'][_0x2a75a3(0x29a)](_0x20f931));});}async['_startSheetCollabCursor'](_0xf96988){const _0x5a806a=_0x406fa3,_0x343c8e=await this[_0x5a806a(0x4f5)][_0x5a806a(0x215)](_0xf96988),_0xdcabd8=this['_injector'][_0x5a806a(0x13d)](_0x400f10,_0xf96988,_0x343c8e);return _0xdcabd8[_0x5a806a(0x1b5)](),_0xdcabd8;}async[_0x406fa3(0x451)](_0xc9cefe){const _0x4d67fb=_0x406fa3,_0x35658f=await this[_0x4d67fb(0x4f5)][_0x4d67fb(0x215)](_0xc9cefe),_0x511a52=this[_0x4d67fb(0x557)][_0x4d67fb(0x13d)](_0x3f93ba,_0xc9cefe,_0x35658f);return _0x511a52[_0x4d67fb(0x1b5)](),_0x511a52;}};_0x18b6d9=_0x4544d2([_0x50aaed(0x0,_0x278695[_0x406fa3(0x2d6)]),_0x50aaed(0x1,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x18f)])),_0x50aaed(0x2,_0x278695[_0x406fa3(0x2cb)](_0x121304[_0x406fa3(0x502)]))],_0x18b6d9);const _0x3fa5ac=0x14,_0x3013ba=0xc8,_0x1083e9=0x4,_0x5ce537=0x5;function _0x3c2376(_0x30a6e8,_0x5ea2d8){const _0x135872=_0x406fa3;let {radius:_0x47dff1,width:_0x3daacc,height:_0x5696f7}=_0x5ea2d8;_0x47dff1=_0x47dff1!=null?_0x47dff1:0x0,_0x3daacc=_0x3daacc!=null?_0x3daacc:0x1e,_0x5696f7=_0x5696f7!=null?_0x5696f7:0x1e;let _0x2059f0=0x0,_0x5e51dd=0x0,_0x1e826a=0x0;_0x2059f0=_0x5e51dd=_0x1e826a=Math[_0x135872(0x3a1)](_0x47dff1,_0x3daacc/0x2,_0x5696f7/0x2),_0x30a6e8[_0x135872(0x540)](),_0x30a6e8[_0x135872(0x3de)](_0x2059f0,0x0),_0x30a6e8['lineTo'](_0x3daacc-_0x5e51dd,0x0),_0x30a6e8['arc'](_0x3daacc-_0x5e51dd,_0x5e51dd,_0x5e51dd,Math['PI']*0x3/0x2,0x0,!0x1),_0x30a6e8[_0x135872(0x38a)](_0x3daacc,_0x5696f7-_0x1e826a),_0x30a6e8['arc'](_0x3daacc-_0x1e826a,_0x5696f7-_0x1e826a,_0x1e826a,0x0,Math['PI']/0x2,!0x1),_0x30a6e8[_0x135872(0x38a)](0x0,_0x5696f7),_0x30a6e8['lineTo'](0x0,_0x2059f0),_0x30a6e8['arc'](_0x2059f0,_0x2059f0,_0x2059f0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x30a6e8[_0x135872(0x331)](),_0x5ea2d8[_0x135872(0x22c)]&&(_0x30a6e8[_0x135872(0x196)](),_0x30a6e8['fillStyle']=_0x5ea2d8[_0x135872(0x22c)],_0x5ea2d8[_0x135872(0x3ed)]==='evenodd'?_0x30a6e8[_0x135872(0x22c)](_0x135872(0x188)):_0x30a6e8[_0x135872(0x22c)](),_0x30a6e8['restore']());}class _0x39f910 extends _0x363b07[_0x406fa3(0x2a5)]{constructor(_0x4b4914,_0x51d2fa){const _0x13f08b=_0x406fa3;super(_0x4b4914,_0x51d2fa),_0x175777(this,_0x13f08b(0x249)),_0x175777(this,_0x13f08b(0x2f2)),(this['color']=_0x51d2fa==null?void 0x0:_0x51d2fa['color'],this[_0x13f08b(0x2f2)]=_0x51d2fa==null?void 0x0:_0x51d2fa[_0x13f08b(0x2f2)]);}static[_0x406fa3(0x1d1)](_0x3b6f8f,_0x222126){const _0xc3949f=_0x406fa3,{text:_0x290cac,color:_0x5a0304}=_0x222126;_0x3b6f8f[_0xc3949f(0x196)](),_0x3b6f8f[_0xc3949f(0x483)]=_0xc3949f(0x4ce);const _0x5b7e0c=_0x3b6f8f[_0xc3949f(0x3a0)](_0x290cac)[_0xc3949f(0x3cc)],_0xde5dee=Math['min'](_0x5b7e0c+0x2*_0x1083e9,_0x3013ba);_0x3c2376(_0x3b6f8f,{'height':_0x3fa5ac,'radius':0x4,'width':_0xde5dee,'fill':_0x5a0304,'evented':!0x1}),_0x3b6f8f[_0xc3949f(0x205)]=_0xc3949f(0x527);const _0xe1ec38=_0x1083e9,_0x433678=_0x3fa5ac-_0x5ce537,_0x35cdd4=_0x3013ba-0x2*_0x1083e9;if(_0x5b7e0c>_0x35cdd4){let _0x35aafa='',_0x1546cd=0x0;for(const _0x27605f of _0x290cac){const _0x12cf2c=_0x3b6f8f['measureText'](_0x27605f)['width'];if(_0x1546cd+_0x12cf2c<=_0x35cdd4-_0x3b6f8f[_0xc3949f(0x3a0)](_0xc3949f(0x35d))[_0xc3949f(0x3cc)])_0x35aafa+=_0x27605f,_0x1546cd+=_0x12cf2c;else{_0x35aafa+=_0xc3949f(0x35d);break;}}_0x3b6f8f[_0xc3949f(0x52e)](_0x35aafa,_0xe1ec38,_0x433678);}else _0x3b6f8f['fillText'](_0x290cac,_0xe1ec38,_0x433678);_0x3b6f8f[_0xc3949f(0x3e7)]();}[_0x406fa3(0x568)](_0x1125c4){const _0xe9048e=_0x406fa3;_0x39f910[_0xe9048e(0x1d1)](_0x1125c4,this);}}const _0x28f728=_0x406fa3(0x45f),_0x2c4149='collab-text-range-',_0x13c1e9=_0x406fa3(0x220),_0x473c3c=0x6,_0x43f25c=1.5,_0x4dcbc5=0x4,_0x179757=1.5,_0x198978='rgba(255,\x20255,\x20255,\x200.01)';class _0x1e3fa9{constructor(_0x4b41ba,_0x3b8eff,_0x5da3eb,_0x3b462e){const _0x1a5070=_0x406fa3;_0x175777(this,'_shapes',[]),_0x175777(this,_0x1a5070(0x450),null),_0x175777(this,_0x1a5070(0x51b),null),_0x175777(this,'_anchorDot',null),_0x175777(this,_0x1a5070(0x57c),null),_0x175777(this,_0x1a5070(0x4cf),null),(this[_0x1a5070(0x27b)]=_0x4b41ba,this[_0x1a5070(0x37e)]=_0x3b8eff,this[_0x1a5070(0x2c6)]=_0x5da3eb,this['_document']=_0x3b462e,this['_render']());}set[_0x406fa3(0x349)](_0x511996){const _0x4057b5=_0x406fa3;_0x511996?(this[_0x4057b5(0x576)]&&this[_0x4057b5(0x576)]['hide'](),this[_0x4057b5(0x51b)]&&this['_textBubble'][_0x4057b5(0x571)]()):(this[_0x4057b5(0x576)]&&this[_0x4057b5(0x576)]['show'](),this['_textBubble']&&this['_textBubble']['hide']());}[_0x406fa3(0x1f1)](){const _0x2ee543=_0x406fa3;for(const _0x50fc90 of this['_shapes'])_0x50fc90[_0x2ee543(0x1f1)]();this['_textBubble']&&this[_0x2ee543(0x51b)][_0x2ee543(0x1f1)](),this['_anchorDot']&&this[_0x2ee543(0x576)][_0x2ee543(0x1f1)](),this[_0x2ee543(0x450)]&&this[_0x2ee543(0x450)][_0x2ee543(0x1f1)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}['_render'](){const _0x28ac2f=_0x406fa3;var _0x2b731a;const {_docSkeleton:_0x2ff612,_document:_0x4fe058}=this,{color:_0x1f28f3,name:_0x28838d,ranges:_0x5d8192}=this[_0x28ac2f(0x27b)],_0x1485af=_0x4fe058[_0x28ac2f(0x217)](),{docsLeft:_0xd91c96,docsTop:_0x5dff07}=_0x1485af,_0x1892f6=new _0x107653[(_0x28ac2f(0x2a2))](_0x1485af,_0x2ff612);for(const {startOffset:_0x93a144,endOffset:_0x427485,collapsed:_0x12e761,isActive:_0x2522c3}of _0x5d8192){const _0x3d1354=_0x2ff612[_0x28ac2f(0x244)](_0x93a144),_0x2a06c0=_0x2ff612[_0x28ac2f(0x244)](_0x427485);if(_0x2522c3){const {contentBoxPointGroup:_0x3ecfb4}=_0x1892f6[_0x28ac2f(0x367)](_0x2a06c0,_0x2a06c0);if(_0x3ecfb4['length']===0x0)continue;this['_drawAnchor'](_0x1f28f3,_0x3ecfb4,_0xd91c96,_0x5dff07,_0x28838d),this[_0x28ac2f(0x4cf)]=this[_0x28ac2f(0x2ca)]();}if(!_0x12e761&&_0x3d1354&&_0x2a06c0){if(_0x107653[_0x28ac2f(0x2c7)](_0x3d1354,_0x2a06c0)){const _0x243dba=new _0x107653[(_0x28ac2f(0x463))](_0x1485af,_0x2ff612),{pointGroup:_0x29d57c}=(_0x2b731a=_0x243dba[_0x28ac2f(0x367)](_0x3d1354,_0x2a06c0))!=null?_0x2b731a:{};if(_0x29d57c==null||_0x29d57c[_0x28ac2f(0x565)]===0x0)continue;this[_0x28ac2f(0x411)](_0x1f28f3,_0x29d57c,_0xd91c96,_0x5dff07);}else{const {contentBoxPointGroup:_0x785da1}=_0x1892f6[_0x28ac2f(0x367)](_0x3d1354,_0x2a06c0);if(_0x785da1[_0x28ac2f(0x565)]===0x0)continue;this[_0x28ac2f(0x38e)](_0x1f28f3,_0x785da1,_0xd91c96,_0x5dff07);}}}}[_0x406fa3(0x358)](_0x46346f,_0x1c70f3,_0x1ada00,_0x17aa9e,_0x417f82){const _0x3634dd=_0x406fa3,_0x9d0371=this['_getAnchorBounding'](_0x1c70f3),{left:_0x59ab3c,top:_0x951b80,height:_0x44bc00}=_0x9d0371,_0x906dfb=this[_0x3634dd(0x52d)](),_0xcf533b=_0x179757/_0x906dfb,_0x40fd5d=new _0x363b07[(_0x3634dd(0x2c3))](_0x28f728+_0x278695['Tools'][_0x3634dd(0x410)](_0x473c3c),{'left':_0x59ab3c+_0x1ada00-_0xcf533b,'top':_0x951b80+_0x17aa9e,'height':_0x44bc00,'width':_0x43f25c,'fill':_0x46346f||_0x363b07[_0x3634dd(0x28c)](_0x278695[_0x3634dd(0x4b7)][_0x3634dd(0x3a5)],0x0),'strokeWidth':_0xcf533b,'stroke':_0x198978,'evented':!0x0});this['_anchor']=_0x40fd5d,this[_0x3634dd(0x37e)]['addObject'](_0x40fd5d,_0x107653[_0x3634dd(0x1a1)]);const _0x3dbbcc=new _0x363b07[(_0x3634dd(0x2c3))](_0x28f728+_0x278695[_0x3634dd(0x1a3)][_0x3634dd(0x410)](_0x473c3c),{'left':_0x59ab3c+_0x1ada00-_0xcf533b,'top':_0x951b80+_0x17aa9e-_0x4dcbc5/0x2,'height':_0x4dcbc5,'width':_0x4dcbc5,'fill':_0x46346f||_0x363b07['getColor'](_0x278695[_0x3634dd(0x4b7)][_0x3634dd(0x3a5)],0x0),'strokeWidth':0x0,'stroke':_0x46346f||_0x363b07[_0x3634dd(0x28c)](_0x278695[_0x3634dd(0x4b7)][_0x3634dd(0x3a5)],0x0),'evented':!0x1});this[_0x3634dd(0x576)]=_0x3dbbcc,this[_0x3634dd(0x37e)][_0x3634dd(0x3e0)](_0x3dbbcc,_0x107653[_0x3634dd(0x1a1)]);const _0x1a0bf4=new _0x39f910(_0x28f728+_0x278695[_0x3634dd(0x1a3)][_0x3634dd(0x410)](_0x473c3c),{'left':_0x59ab3c+_0x1ada00-_0xcf533b,'top':_0x951b80+_0x17aa9e-_0x3fa5ac,'text':_0x417f82,'color':_0x46346f});this[_0x3634dd(0x51b)]=_0x1a0bf4,this[_0x3634dd(0x37e)]['addObject'](_0x1a0bf4,_0x107653[_0x3634dd(0x1a1)]),this[_0x3634dd(0x349)]=!0x1;}[_0x406fa3(0x2ca)](){const _0x243f13=_0x406fa3,_0xbe4aea=this['_anchor'][_0x243f13(0x351)][_0x243f13(0x2bb)](()=>{const _0x19ef5c=_0x243f13;this[_0x19ef5c(0x349)]=!0x0;}),_0x5c7330=this[_0x243f13(0x450)][_0x243f13(0x18d)][_0x243f13(0x2bb)](()=>{const _0x3554fd=_0x243f13;this[_0x3554fd(0x57c)]&&clearTimeout(this[_0x3554fd(0x57c)]),this[_0x3554fd(0x57c)]=setTimeout(()=>{const _0x113f6c=_0x3554fd;this[_0x113f6c(0x349)]=!0x1;},0x7d0);});return()=>{const _0x44cbea=_0x243f13;_0xbe4aea[_0x44cbea(0x52f)](),_0x5c7330[_0x44cbea(0x52f)]();};}['_drawTextRange'](_0x2cc01f,_0x283140,_0x5e009d,_0x584d7a){const _0x18e6e5=_0x406fa3,_0x3b7eaa=new _0x278695[(_0x18e6e5(0x471))](_0x2cc01f)[_0x18e6e5(0x336)](0.2)[_0x18e6e5(0x208)](),_0x4986b0=new _0x363b07[(_0x18e6e5(0x566))](_0x2c4149+_0x278695[_0x18e6e5(0x1a3)]['generateRandomId'](_0x473c3c),{'pointsGroup':_0x283140,'fill':_0x3b7eaa||_0x363b07[_0x18e6e5(0x28c)](_0x278695[_0x18e6e5(0x4b7)][_0x18e6e5(0x3a5)],0.2),'left':_0x5e009d,'top':_0x584d7a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x18e6e5(0x44f)][_0x18e6e5(0x355)](_0x4986b0),this['_scene'][_0x18e6e5(0x3e0)](_0x4986b0,_0x107653[_0x18e6e5(0x1a1)]);}[_0x406fa3(0x411)](_0x51b0bc,_0x4c8ca8,_0x46e668,_0x548f64){const _0x26c42d=_0x406fa3,_0x160e18=new _0x278695[(_0x26c42d(0x471))](_0x51b0bc)['setAlpha'](0.2)[_0x26c42d(0x208)](),_0x4c68df=new _0x363b07['RegularPolygon'](_0x13c1e9+_0x278695[_0x26c42d(0x1a3)][_0x26c42d(0x410)](_0x473c3c),{'pointsGroup':_0x4c8ca8,'fill':_0x160e18||_0x363b07[_0x26c42d(0x28c)](_0x278695[_0x26c42d(0x4b7)][_0x26c42d(0x3a5)],0.2),'left':_0x46e668,'top':_0x548f64,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x26c42d(0x44f)][_0x26c42d(0x355)](_0x4c68df),this['_scene']['addObject'](_0x4c68df,_0x107653[_0x26c42d(0x1a1)]);}[_0x406fa3(0x4de)](_0x579b29){const _0x5a8613=_0x579b29[0x0],_0x2a2467=_0x5a8613[0x0],_0x2f1d8e=_0x5a8613[0x2],{x:_0x26914e,y:_0x578c10}=_0x2a2467,{x:_0x537095,y:_0x53f321}=_0x2f1d8e;return{'left':_0x26914e,'top':_0x578c10,'width':_0x537095-_0x26914e,'height':_0x53f321-_0x578c10};}[_0x406fa3(0x52d)](){const _0x42571c=_0x406fa3,{scaleX:_0xfd478e,scaleY:_0x431861}=this[_0x42571c(0x37e)][_0x42571c(0x172)]();return Math[_0x42571c(0x1bb)](_0xfd478e,_0x431861);}}var _0x314081=Object[_0x406fa3(0x1a2)],_0x3a0a2f=Object[_0x406fa3(0x187)],_0xd0b50d=(_0x3e06c0,_0x40a0dd,_0x7c6685,_0x3b31bd)=>{const _0x388b13=_0x406fa3;for(var _0x4e71e2=_0x3b31bd>0x1?void 0x0:_0x3b31bd?_0x3a0a2f(_0x40a0dd,_0x7c6685):_0x40a0dd,_0x293c59=_0x3e06c0[_0x388b13(0x565)]-0x1,_0x43339b;_0x293c59>=0x0;_0x293c59--)(_0x43339b=_0x3e06c0[_0x293c59])&&(_0x4e71e2=(_0x3b31bd?_0x43339b(_0x40a0dd,_0x7c6685,_0x4e71e2):_0x43339b(_0x4e71e2))||_0x4e71e2);return _0x3b31bd&&_0x4e71e2&&_0x314081(_0x40a0dd,_0x7c6685,_0x4e71e2),_0x4e71e2;},_0x1d9792=(_0x39e387,_0x159008)=>(_0x412321,_0x425419)=>_0x159008(_0x412321,_0x425419,_0x39e387);let _0x2a6ae4=class extends _0x278695[_0x406fa3(0x20b)]{constructor(_0x3f4193,_0x1bb92b,_0xd8c62f,_0x5ab462,_0x4ee54c){const _0x51ae5e=_0x406fa3;super(),_0x175777(this,_0x51ae5e(0x2a1),[]),_0x175777(this,_0x51ae5e(0x4d3),[]),(this['_context']=_0x3f4193,this[_0x51ae5e(0x3bb)]=_0x1bb92b,this['_collabCursorController']=_0xd8c62f,this[_0x51ae5e(0x237)]=_0x5ab462,this[_0x51ae5e(0x51a)]=_0x4ee54c,this[_0x51ae5e(0x402)]());}['_init'](){const _0x452ec2=_0x406fa3,_0x44fdeb=this[_0x452ec2(0x440)][_0x452ec2(0x389)],_0x266002=this[_0x452ec2(0x3bb)];this['disposeWithMe'](_0x34a6cc[_0x452ec2(0x154)]([this[_0x452ec2(0x258)]['getCollabCursors$'](_0x44fdeb),this[_0x452ec2(0x51a)][_0x452ec2(0x30d)]])[_0x452ec2(0x2b3)](_0x3753b5[_0x452ec2(0x1a8)](([_0x535a71,_0x42ffa6])=>({'skeleton':_0x266002[_0x452ec2(0x539)](),'cursors':[..._0x535a71[_0x452ec2(0x447)]()]['flatMap'](_0x589354=>({..._0x589354,'color':_0x42ffa6[_0x589354[_0x452ec2(0x249)]]}))})))['subscribe'](_0x31bd38=>{const _0x1726fa=_0x452ec2;if(this[_0x1726fa(0x3f7)](),_0x31bd38){const {skeleton:_0x820bed,cursors:_0x5f4034}=_0x31bd38;this['_updateCollabCursors'](_0x820bed,_0x5f4034);}})),this[_0x452ec2(0x48a)](),this[_0x452ec2(0x51c)]();}[_0x406fa3(0x28a)](_0x47b2ae,_0x23dacf){const _0x2f65fe=_0x406fa3,{scene:_0x1b8d1c,mainComponent:_0x45c0c0}=this['_context'],_0x52e2a2=_0x23dacf['map'](_0x3be220=>new _0x1e3fa9(_0x3be220,_0x1b8d1c,_0x47b2ae,_0x45c0c0));this[_0x2f65fe(0x2a1)]=_0x52e2a2,this[_0x2f65fe(0x4d3)]=_0x23dacf;}[_0x406fa3(0x4b3)](){const _0x42abbc=_0x406fa3;this[_0x42abbc(0x3f7)]();const {scene:_0x25be79,mainComponent:_0x13312b}=this[_0x42abbc(0x440)],_0x1e7e81=this[_0x42abbc(0x3bb)]['getSkeleton'](),_0x45ee28=this[_0x42abbc(0x4d3)]['map'](_0x398745=>new _0x1e3fa9(_0x398745,_0x25be79,_0x1e7e81,_0x13312b));this['_cursorShapes']=_0x45ee28;}[_0x406fa3(0x3f7)](){const _0x31209f=_0x406fa3;this[_0x31209f(0x2a1)][_0x31209f(0x569)](_0x35aaa6=>_0x35aaa6[_0x31209f(0x1f1)]()),this['_cursorShapes']=[];}[_0x406fa3(0x51c)](){const _0x2ca060=_0x406fa3,_0x3024ed=[_0x107653[_0x2ca060(0x342)]['id']];this[_0x2ca060(0x343)](this['_commandService'][_0x2ca060(0x415)](_0x1bc6fb=>{const _0x322215=_0x2ca060;_0x3024ed[_0x322215(0x243)](_0x1bc6fb['id'])&&_0x1bc6fb['params']['unitId']===this[_0x322215(0x440)]['unitId']&&this[_0x322215(0x4b3)]();}));}[_0x406fa3(0x48a)](){const _0x2da2e4=_0x406fa3;this[_0x2da2e4(0x343)](_0x278695[_0x2da2e4(0x4d1)](this[_0x2da2e4(0x440)][_0x2da2e4(0x1e5)][_0x2da2e4(0x2ae)])[_0x2da2e4(0x2b3)](_0x3753b5[_0x2da2e4(0x4b0)](_0x4faa41=>_0x4faa41[_0x2da2e4(0x460)]===_0x363b07[_0x2da2e4(0x19e)][_0x2da2e4(0x528)]),_0x3753b5[_0x2da2e4(0x50e)](0x10))[_0x2da2e4(0x218)](()=>{const _0x3ad670=_0x2da2e4;this[_0x3ad670(0x4b3)]();}));}};_0x2a6ae4=_0xd0b50d([_0x1d9792(0x1,_0x278695[_0x406fa3(0x2cb)](_0x3435c3[_0x406fa3(0x3ae)])),_0x1d9792(0x2,_0x278695[_0x406fa3(0x2cb)](_0x18b6d9)),_0x1d9792(0x3,_0x278695[_0x406fa3(0x46e)]),_0x1d9792(0x4,_0x278695['Inject'](_0x278695[_0x406fa3(0x158)]))],_0x2a6ae4);const _0x4d3219=0x1,_0x199d03=1.5;class _0x17af96 extends _0x363b07[_0x406fa3(0x2a5)]{constructor(_0x13867c,_0x3a0bd7){const _0x7c9e36=_0x406fa3;super(_0x13867c,_0x3a0bd7),_0x175777(this,_0x7c9e36(0x36c)),_0x175777(this,_0x7c9e36(0x15d),!0x1),_0x175777(this,_0x7c9e36(0x1f8)),_0x175777(this,_0x7c9e36(0x3eb),''),_0x175777(this,_0x7c9e36(0x4a1),'top'),_0x175777(this,_0x7c9e36(0x3f2)),(_0x3a0bd7&&this['setShapeProps'](_0x3a0bd7),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x7c9e36(0x46a)]({'hovered':!0x0})),this[_0x7c9e36(0x18d)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x5ba2e8){const _0x35840e=_0x406fa3;var _0x3c8148,_0x30cfc3,_0x77f76e,_0x2ce318,_0xdc39e6,_0x4ad153;this[_0x35840e(0x36c)]=(_0x3c8148=_0x5ba2e8['color'])!=null?_0x3c8148:this[_0x35840e(0x36c)],this[_0x35840e(0x15d)]=(_0x30cfc3=_0x5ba2e8[_0x35840e(0x49d)])!=null?_0x30cfc3:this[_0x35840e(0x15d)],this[_0x35840e(0x1f8)]=(_0x77f76e=_0x5ba2e8[_0x35840e(0x4c0)])!=null?_0x77f76e:this['_range'],this[_0x35840e(0x3eb)]=(_0x2ce318=_0x5ba2e8[_0x35840e(0x315)])!=null?_0x2ce318:this[_0x35840e(0x3eb)],this[_0x35840e(0x4a1)]=(_0xdc39e6=_0x5ba2e8[_0x35840e(0x1a7)])!=null?_0xdc39e6:this['_labelPosition'],this[_0x35840e(0x3f2)]=(_0x4ad153=_0x5ba2e8[_0x35840e(0x3c7)])!=null?_0x4ad153:this[_0x35840e(0x3f2)],this[_0x35840e(0x350)]({'width':_0x5ba2e8[_0x35840e(0x3cc)],'height':_0x5ba2e8[_0x35840e(0x221)]});}['onMouseMove'](_0x188aeb){const _0x30544f=_0x406fa3,{row:_0x29c0c9,column:_0x451a9b}=_0x188aeb;if(_0x29c0c9>=this['_range'][_0x30544f(0x4ac)]&&_0x29c0c9<=this[_0x30544f(0x1f8)][_0x30544f(0x57e)]&&_0x451a9b>=this['_range'][_0x30544f(0x2a7)]&&_0x451a9b<=this[_0x30544f(0x1f8)][_0x30544f(0x492)]){this[_0x30544f(0x46a)]({'hovered':!0x0});return;}this[_0x30544f(0x46a)]({'hovered':!0x1});}[_0x406fa3(0x41c)](_0xeed284){return!0x1;}['_draw'](_0x3f6636){const _0x5e7a1c=_0x406fa3;_0x363b07[_0x5e7a1c(0x2c3)][_0x5e7a1c(0x1d1)](_0x3f6636,{'width':this[_0x5e7a1c(0x3cc)],'height':this[_0x5e7a1c(0x221)],'strokeWidth':_0x199d03,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x5e7a1c(0x3f2)]}),this['_hovered']&&(_0x3f6636['save'](),_0x3f6636[_0x5e7a1c(0x2e9)](0x1,0x0,0x0,0x1,this[_0x5e7a1c(0x3cc)],this[_0x5e7a1c(0x4a1)]===_0x5e7a1c(0x459)?0x0:-_0x3fa5ac),_0x39f910['drawWith'](_0x3f6636,{'text':this[_0x5e7a1c(0x3eb)],'color':this[_0x5e7a1c(0x36c)]}),_0x3f6636[_0x5e7a1c(0x3e7)]());}}var _0x33e6bb=Object[_0x406fa3(0x1a2)],_0x1effc3=Object['getOwnPropertyDescriptor'],_0x268909=(_0x42a894,_0x28fb9d,_0x13b7a9,_0x134768)=>{const _0x5b6b87=_0x406fa3;for(var _0x544be1=_0x134768>0x1?void 0x0:_0x134768?_0x1effc3(_0x28fb9d,_0x13b7a9):_0x28fb9d,_0x29b8a5=_0x42a894[_0x5b6b87(0x565)]-0x1,_0x9dfb8d;_0x29b8a5>=0x0;_0x29b8a5--)(_0x9dfb8d=_0x42a894[_0x29b8a5])&&(_0x544be1=(_0x134768?_0x9dfb8d(_0x28fb9d,_0x13b7a9,_0x544be1):_0x9dfb8d(_0x544be1))||_0x544be1);return _0x134768&&_0x544be1&&_0x33e6bb(_0x28fb9d,_0x13b7a9,_0x544be1),_0x544be1;},_0xb3aea5=(_0x63f27c,_0x39d339)=>(_0x4754fd,_0x4af108)=>_0x39d339(_0x4754fd,_0x4af108,_0x63f27c);const _0x3ddfe9=0x1389;let _0xdd3747=class extends _0x278695[_0x406fa3(0x20b)]{constructor(_0x213344,_0x7131ee,_0x1a6c3b,_0x7c8f90){const _0x3284f3=_0x406fa3;super(),_0x175777(this,_0x3284f3(0x4d3),new Set()),_0x175777(this,'_lastPointer',null),(this['_context']=_0x213344,this[_0x3284f3(0x30f)]=_0x7131ee,this[_0x3284f3(0x258)]=_0x1a6c3b,this[_0x3284f3(0x51a)]=_0x7c8f90,this['_init']());}[_0x406fa3(0x402)](){const _0x38f4c0=_0x406fa3;this['_sheetSkeletonManagerService'][_0x38f4c0(0x3ad)][_0x38f4c0(0x2b3)](_0x3753b5[_0x38f4c0(0x1d2)](this[_0x38f4c0(0x37d)]),_0x3753b5[_0x38f4c0(0x49c)](_0x2a1c1d=>{const _0x2586d9=_0x38f4c0;if(_0x2a1c1d){const _0x197e06=_0x2a1c1d['sheetId'];return _0x34a6cc['combineLatest'](this['_collabCursorController']['getCollabCursors$'](this[_0x2586d9(0x440)][_0x2586d9(0x389)]),this[_0x2586d9(0x51a)][_0x2586d9(0x30d)])[_0x2586d9(0x2b3)](_0x3753b5[_0x2586d9(0x1a8)](([_0x65227c,_0x58ae05])=>{const _0x11f99a=_0x2586d9,_0xbf7a97=new Map();return _0x65227c[_0x11f99a(0x569)]((_0x5b5ec0,_0x2d57b3)=>{const _0xd552c5=_0x11f99a;if(_0x5b5ec0[_0xd552c5(0x213)]===_0x197e06){const _0x3199f8={..._0x5b5ec0};_0x3199f8[_0xd552c5(0x249)]=_0x58ae05[_0x5b5ec0[_0xd552c5(0x249)]],_0xbf7a97[_0xd552c5(0x30e)](_0x2d57b3,_0x3199f8);}}),{'skeleton':_0x2a1c1d,'cursors':_0xbf7a97};}));}return _0x34a6cc['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x2cc94e,cursors:_0x3b8e9f})=>{this['_removeCollabCursors'](),_0x2cc94e&&this['_updateCollabCursors'](_0x2cc94e,_0x3b8e9f);}),this[_0x38f4c0(0x30f)]['currentSkeleton$'][_0x38f4c0(0x218)](_0x44e49b=>{const _0x260e9a=_0x38f4c0;if(_0x44e49b==null)return;const {skeleton:_0x5c80b2}=_0x44e49b,{scene:_0x22c030}=this[_0x260e9a(0x440)];_0x22c030[_0x260e9a(0x518)][_0x260e9a(0x2bb)](_0x278695[_0x260e9a(0x141)](_0x4e1008=>{const _0x48a17d=_0x260e9a;var _0x1695f7,_0x47c85c;const {offsetX:_0x5b04aa,offsetY:_0x2fd15f}=_0x4e1008,{x:_0x3f322b,y:_0x1f3a30}=_0x22c030[_0x48a17d(0x50c)](_0x363b07[_0x48a17d(0x238)]['FromArray']([_0x5b04aa,_0x2fd15f])),{scaleX:_0x36bcad,scaleY:_0x5493e3}=_0x22c030[_0x48a17d(0x172)](),_0x4a4409=_0x22c030[_0x48a17d(0x2ee)](_0xd83a71[_0x48a17d(0x2e1)][_0x48a17d(0x1c3)]),_0xc6fd73=_0x22c030[_0x48a17d(0x53d)](_0x363b07[_0x48a17d(0x238)][_0x48a17d(0x21b)]([_0x3f322b,_0x1f3a30]),_0x4a4409),_0x33cc5a=_0x5c80b2[_0x48a17d(0x3d2)](_0x5b04aa,_0x2fd15f,_0x36bcad,_0x5493e3,_0xc6fd73);((_0x1695f7=this['_lastPointer'])==null?void 0x0:_0x1695f7[_0x48a17d(0x396)])===_0x33cc5a[_0x48a17d(0x396)]&&((_0x47c85c=this[_0x48a17d(0x4b4)])==null?void 0x0:_0x47c85c[_0x48a17d(0x436)])===_0x33cc5a['row']||this[_0x48a17d(0x4d3)][_0x48a17d(0x569)](_0x409fc9=>{const _0x3ca247=_0x48a17d;_0x409fc9[_0x3ca247(0x3b8)](_0x33cc5a);});},0x64));});}[_0x406fa3(0x28a)](_0xc4306e,_0x3f5df7){const _0x461ccf=_0x406fa3;var _0x4d1475;const _0x12a844=(_0x4d1475=this[_0x461ccf(0x30f)][_0x461ccf(0x167)]())==null?void 0x0:_0x4d1475[_0x461ccf(0x57a)];if(!_0x12a844)return;const _0x195d93=this[_0x461ccf(0x426)]();if(!_0x195d93)return;this[_0x461ccf(0x4d3)][_0x461ccf(0x569)](_0xdeaf8d=>{const _0x355483=_0x461ccf;_0xdeaf8d[_0x355483(0x20e)]();});const {scene:_0x4d6ca9}=_0x195d93,_0x1d7480=_0x1f0df0(Array['from'](_0x3f5df7['values']()))['map'](_0xdd6e81=>{const _0xdf6a9f=_0x461ccf,{color:_0x53e360,range:_0x242189,name:_0x230b65,selection:_0x1fef7d,sheetID:_0x2aa917}=_0xdd6e81,{startColumn:_0x23f887,startRow:_0x4579eb,endColumn:_0x1bc547,endRow:_0xaa806b}=_0x242189,_0x41434b=_0xd83a71[_0xdf6a9f(0x1fe)](_0x4579eb,_0x23f887,_0x4d6ca9,_0x12a844),_0x3f80d0=_0xd83a71[_0xdf6a9f(0x1fe)](_0xaa806b,_0x1bc547,_0x4d6ca9,_0x12a844),{columnHeaderHeightAndMarginTop:_0x83a582}=_0x12a844,{startX:_0x2bb147,startY:_0x216eff}=_0x41434b,{endX:_0x8bc94a,endY:_0x2c050b}=_0x3f80d0,_0x5d8f59=_0x8bc94a-_0x2bb147,_0x5ca4f7=_0x2c050b-_0x216eff,_0x4c7caa={'labelPosition':_0x216eff-_0x83a582>=_0x3fa5ac?_0xdf6a9f(0x13c):_0xdf6a9f(0x459),'sheetID':_0x2aa917,'range':_0x242189,'color':_0x53e360,'name':_0x230b65,'selection':_0x1fef7d,'left':_0x2bb147,'top':_0x216eff,'width':_0x5d8f59,'height':_0x5ca4f7,'evented':!0x1,'zIndex':_0x3ddfe9};return new _0x17af96(_0x230b65,_0x4c7caa);});_0x4d6ca9[_0x461ccf(0x435)](_0x1d7480,_0x4d3219),this['_cursors']=new Set(_0x1d7480);}['_removeCollabCursors'](){const _0x20d1bc=_0x406fa3;var _0x417fb5;(_0x417fb5=this[_0x20d1bc(0x4d3)])==null||_0x417fb5['forEach'](_0x23fe80=>_0x23fe80[_0x20d1bc(0x1f1)]());}[_0x406fa3(0x426)](){const _0x1bb515=_0x406fa3;return _0xd83a71[_0x1bb515(0x2a8)](this[_0x1bb515(0x440)][_0x1bb515(0x476)],this[_0x1bb515(0x440)]);}};_0xdd3747=_0x268909([_0xb3aea5(0x1,_0x278695[_0x406fa3(0x2cb)](_0xd83a71[_0x406fa3(0x1f3)])),_0xb3aea5(0x2,_0x278695[_0x406fa3(0x2cb)](_0x18b6d9)),_0xb3aea5(0x3,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x158)]))],_0xdd3747);function _0x1f0df0(_0x207743){const _0x221049=_0x406fa3,_0x2d9743=new Map();return _0x207743['forEach'](_0x330b02=>{const _0x3b47a9=_0x3463;if(_0x2d9743['has'](_0x330b02[_0x3b47a9(0x25c)])){const _0x49335f=_0x2d9743[_0x3b47a9(0x503)](_0x330b02[_0x3b47a9(0x25c)]);_0x49335f[_0x3b47a9(0x315)]+=',\x20'+_0x330b02[_0x3b47a9(0x315)];}else _0x2d9743[_0x3b47a9(0x30e)](_0x330b02['selection'],_0x330b02);}),Array['from'](_0x2d9743[_0x221049(0x447)]());}var _0x379fe3=function(){const _0x20c4ed=_0x406fa3;return _0x379fe3=Object[_0x20c4ed(0x201)]||function(_0x1d9253){const _0x20ebde=_0x20c4ed;for(var _0x32e523,_0x4b8fcb=0x1,_0x9bc27b=arguments['length'];_0x4b8fcb<_0x9bc27b;_0x4b8fcb++){_0x32e523=arguments[_0x4b8fcb];for(var _0x433ce2 in _0x32e523)Object[_0x20ebde(0x525)][_0x20ebde(0x297)][_0x20ebde(0x254)](_0x32e523,_0x433ce2)&&(_0x1d9253[_0x433ce2]=_0x32e523[_0x433ce2]);}return _0x1d9253;},_0x379fe3['apply'](this,arguments);},_0x447b1e=function(_0x532edd,_0x598966){const _0x15940e=_0x406fa3;var _0x202254={};for(var _0x1493ff in _0x532edd)Object['prototype'][_0x15940e(0x297)][_0x15940e(0x254)](_0x532edd,_0x1493ff)&&_0x598966[_0x15940e(0x2de)](_0x1493ff)<0x0&&(_0x202254[_0x1493ff]=_0x532edd[_0x1493ff]);if(_0x532edd!=null&&typeof Object[_0x15940e(0x487)]==_0x15940e(0x2f4)){for(var _0x4c068c=0x0,_0x1493ff=Object[_0x15940e(0x487)](_0x532edd);_0x4c068c<_0x1493ff[_0x15940e(0x565)];_0x4c068c++)_0x598966[_0x15940e(0x2de)](_0x1493ff[_0x4c068c])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x15940e(0x254)](_0x532edd,_0x1493ff[_0x4c068c])&&(_0x202254[_0x1493ff[_0x4c068c]]=_0x532edd[_0x1493ff[_0x4c068c]]);}return _0x202254;},_0x27d2f5=_0x2625ca[_0x406fa3(0x33e)](function(_0x4b7cd7,_0x4815fd){const _0x526d1e=_0x406fa3;var _0x44f19a=_0x4b7cd7['icon'],_0x1668ce=_0x4b7cd7['id'],_0x2c00b6=_0x4b7cd7[_0x526d1e(0x491)],_0x1dba01=_0x4b7cd7[_0x526d1e(0x150)],_0x2b79c1=_0x447b1e(_0x4b7cd7,[_0x526d1e(0x54e),'id',_0x526d1e(0x491),_0x526d1e(0x150)]),_0x219f87=_0x526d1e(0x363)[_0x526d1e(0x177)](_0x1668ce,'\x20')[_0x526d1e(0x177)](_0x2c00b6||'')[_0x526d1e(0x354)](),_0xf7e3d3=_0x2625ca[_0x526d1e(0x231)]('_'['concat'](_0x3e2a52()));return _0x428b82(_0x44f19a,''['concat'](_0x1668ce),{'defIds':_0x44f19a[_0x526d1e(0x480)],'idSuffix':_0xf7e3d3[_0x526d1e(0x1c2)]},_0x379fe3({'ref':_0x4815fd,'className':_0x219f87},_0x2b79c1),_0x1dba01);});function _0x428b82(_0x3ca6b4,_0x3804a4,_0x576683,_0x662ef4,_0xbcd309){const _0x49aa39=_0x406fa3;return _0x2625ca[_0x49aa39(0x452)](_0x3ca6b4[_0x49aa39(0x310)],_0x379fe3(_0x379fe3({'key':_0x3804a4},_0x80be9b(_0x3ca6b4,_0x576683,_0xbcd309)),_0x662ef4),(_0x2509fc(_0x3ca6b4,_0x576683)[_0x49aa39(0x42d)]||[])[_0x49aa39(0x1a8)](function(_0x1762c1,_0x3d3906){const _0xbb7853=_0x49aa39;return _0x428b82(_0x1762c1,''['concat'](_0x3804a4,'-')[_0xbb7853(0x177)](_0x3ca6b4[_0xbb7853(0x310)],'-')['concat'](_0x3d3906),_0x576683,void 0x0,_0xbcd309);}));}function _0x80be9b(_0x20e19d,_0x54faa1,_0x3998cd){const _0x210385=_0x406fa3;var _0x4be343=_0x379fe3({},_0x20e19d[_0x210385(0x441)]);_0x3998cd!=null&&_0x3998cd[_0x210385(0x532)]&&_0x4be343[_0x210385(0x22c)]===_0x210385(0x532)&&(_0x4be343[_0x210385(0x22c)]=_0x3998cd[_0x210385(0x532)]);var _0x4fc089=_0x54faa1[_0x210385(0x480)];return!_0x4fc089||_0x4fc089[_0x210385(0x565)]===0x0||(_0x20e19d[_0x210385(0x310)]===_0x210385(0x2b8)&&_0x4be343[_0x210385(0x35f)]&&(_0x4be343[_0x210385(0x35f)]=_0x4be343[_0x210385(0x35f)]+_0x54faa1[_0x210385(0x4e4)]),Object[_0x210385(0x31c)](_0x4be343)['forEach'](function(_0x262bfc){const _0xab6cd4=_0x210385;var _0x2f81c1=_0x262bfc[0x0],_0x25a49b=_0x262bfc[0x1];typeof _0x25a49b=='string'&&(_0x4be343[_0x2f81c1]=_0x25a49b[_0xab6cd4(0x359)](/url\(#(.*)\)/,_0xab6cd4(0x299)[_0xab6cd4(0x177)](_0x54faa1[_0xab6cd4(0x4e4)],')')));})),_0x4be343;}function _0x2509fc(_0xa0a910,_0x304036){const _0x2bb350=_0x406fa3;var _0x3717f7,_0x1e0bb2=_0x304036['defIds'];return!_0x1e0bb2||_0x1e0bb2['length']===0x0?_0xa0a910:_0xa0a910['tag']==='defs'&&(!((_0x3717f7=_0xa0a910[_0x2bb350(0x42d)])===null||_0x3717f7===void 0x0)&&_0x3717f7[_0x2bb350(0x565)])?_0x379fe3(_0x379fe3({},_0xa0a910),{'children':_0xa0a910[_0x2bb350(0x42d)][_0x2bb350(0x1a8)](function(_0x20808b){const _0xe7047=_0x2bb350;return typeof _0x20808b[_0xe7047(0x441)]['id']=='string'&&_0x1e0bb2&&_0x1e0bb2[_0xe7047(0x2de)](_0x20808b[_0xe7047(0x441)]['id'])>-0x1?_0x379fe3(_0x379fe3({},_0x20808b),{'attrs':_0x379fe3(_0x379fe3({},_0x20808b[_0xe7047(0x441)]),{'id':_0x20808b['attrs']['id']+_0x304036[_0xe7047(0x4e4)]})}):_0x20808b;})}):_0xa0a910;}function _0x3e2a52(){const _0x2ff9b6=_0x406fa3;return Math[_0x2ff9b6(0x50d)]()['toString'](0x24)[_0x2ff9b6(0x3cf)](0x2,0x8);}_0x27d2f5[_0x406fa3(0x44e)]=_0x406fa3(0x38f);var _0x158eff={'tag':'svg','attrs':{'fill':_0x406fa3(0x312),'viewBox':_0x406fa3(0x3a7),'width':'1em','height':_0x406fa3(0x210)},'children':[{'tag':'g','attrs':{'clipPath':_0x406fa3(0x35e)},'children':[{'tag':_0x406fa3(0x317),'attrs':{'stroke':_0x406fa3(0x4a2),'d':_0x406fa3(0x371),'strokeLinecap':_0x406fa3(0x486),'strokeLinejoin':_0x406fa3(0x486),'strokeWidth':1.2}}]},{'tag':_0x406fa3(0x4f6),'attrs':{},'children':[{'tag':_0x406fa3(0x2ad),'attrs':{'id':_0x406fa3(0x2fe)},'children':[{'tag':'path','attrs':{'fill':_0x406fa3(0x2c2),'d':_0x406fa3(0x28b)}}]}]}],'defIds':[_0x406fa3(0x2fe)]},_0x8ef6dc=_0x2625ca[_0x406fa3(0x33e)](function(_0x24245f,_0x560599){const _0x5d255f=_0x406fa3;return _0x2625ca[_0x5d255f(0x452)](_0x27d2f5,Object[_0x5d255f(0x201)]({},_0x24245f,{'id':'off-line-single','ref':_0x560599,'icon':_0x158eff}));});_0x8ef6dc[_0x406fa3(0x44e)]=_0x406fa3(0x325);var _0x4a624f={'tag':_0x406fa3(0x4fd),'attrs':{'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x406fa3(0x210),'height':_0x406fa3(0x210)},'children':[{'tag':'g','attrs':{'clipPath':_0x406fa3(0x14d)},'children':[{'tag':_0x406fa3(0x317),'attrs':{'stroke':_0x406fa3(0x4a2),'d':_0x406fa3(0x288),'strokeLinecap':_0x406fa3(0x486),'strokeLinejoin':_0x406fa3(0x486),'strokeWidth':1.2}}]},{'tag':_0x406fa3(0x4f6),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x406fa3(0x317),'attrs':{'fill':_0x406fa3(0x2c2),'d':_0x406fa3(0x28b),'transform':_0x406fa3(0x330)}}]}]}],'defIds':[_0x406fa3(0x2af)]},_0x392065=_0x2625ca[_0x406fa3(0x33e)](function(_0x287dec,_0x15fbc1){const _0xf2eb79=_0x406fa3;return _0x2625ca[_0xf2eb79(0x452)](_0x27d2f5,Object[_0xf2eb79(0x201)]({},_0x287dec,{'id':'on-line-single','ref':_0x15fbc1,'icon':_0x4a624f}));});_0x392065['displayName']='OnLineSingle';function _0x54e0b0(_0x31818e){const _0x20b5f8=_0x406fa3;var _0x34ebb4,_0x34620e,_0x3059aa='';if(typeof _0x31818e==_0x20b5f8(0x378)||typeof _0x31818e==_0x20b5f8(0x53c))_0x3059aa+=_0x31818e;else{if(typeof _0x31818e==_0x20b5f8(0x3e1)){if(Array[_0x20b5f8(0x1d8)](_0x31818e)){var _0x11d4ee=_0x31818e['length'];for(_0x34ebb4=0x0;_0x34ebb4<_0x11d4ee;_0x34ebb4++)_0x31818e[_0x34ebb4]&&(_0x34620e=_0x54e0b0(_0x31818e[_0x34ebb4]))&&(_0x3059aa&&(_0x3059aa+='\x20'),_0x3059aa+=_0x34620e);}else{for(_0x34620e in _0x31818e)_0x31818e[_0x34620e]&&(_0x3059aa&&(_0x3059aa+='\x20'),_0x3059aa+=_0x34620e);}}}return _0x3059aa;}function _0x358866(){const _0x4882b6=_0x406fa3;for(var _0x216072,_0x3fcc20,_0x1bd719=0x0,_0x5916da='',_0x182eb0=arguments[_0x4882b6(0x565)];_0x1bd719<_0x182eb0;_0x1bd719++)(_0x216072=arguments[_0x1bd719])&&(_0x3fcc20=_0x54e0b0(_0x216072))&&(_0x5916da&&(_0x5916da+='\x20'),_0x5916da+=_0x3fcc20);return _0x5916da;}const _0xcd30e1={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x406fa3(0x34e),'onlineStatus':_0x406fa3(0x40f),'online':_0x406fa3(0x445),'offline':_0x406fa3(0x2e5)};function _0x343e44(_0x4b780b){const _0x2ff4cf=_0x406fa3;switch(_0x4b780b){case _0x59cf14[_0x2ff4cf(0x372)]:return'collabStatus.offline';case _0x59cf14['CONFLICT']:return _0x2ff4cf(0x4fa);case _0x59cf14['FETCH_MISS']:return _0x2ff4cf(0x1e6);case _0x59cf14['NOT_COLLAB']:return'collabStatus.notCollab';case _0x59cf14[_0x2ff4cf(0x2a9)]:case _0x59cf14[_0x2ff4cf(0x1aa)]:case _0x59cf14['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x59cf14[_0x2ff4cf(0x21f)]:return _0x2ff4cf(0x1f0);}}function _0x158ac5(_0x17f42e){const _0x586599=_0x406fa3,{status$:_0x448aa1}=_0x17f42e,_0x292ce7=_0x42b7fc[_0x586599(0x160)](_0x448aa1,_0x59cf14['NOT_COLLAB']),_0x32bc03=_0x278695[_0x586599(0x505)](_0x278695['LocaleService']),_0x1382c8=_0x278695['useDependency'](_0x121304['CollaborationSessionService']),_0x10cddf=_0x292ce7!==_0x59cf14['OFFLINE'],_0x5232ce=_0x32bc03['t'](_0x343e44(_0x292ce7)),_0x1a54b4=_0x358866(_0xcd30e1[_0x586599(0x23a)],{[_0xcd30e1[_0x586599(0x52b)]]:_0x10cddf,[_0xcd30e1[_0x586599(0x1ce)]]:!_0x10cddf}),_0x237f19=_0x10cddf?_0x2625ca[_0x586599(0x452)](_0x392065,null):_0x2625ca[_0x586599(0x452)](_0x8ef6dc,null),_0x5f153a=_0x2625ca['useCallback'](()=>{const _0x3681b2=_0x586599;_0x10cddf||_0x1382c8[_0x3681b2(0x3e9)]();},[_0x10cddf,_0x1382c8]);function _0x2962a5(){const _0x10544e=_0x586599;return _0x2625ca[_0x10544e(0x452)](_0x10544e(0x152),{'className':_0x1a54b4,'onClick':_0x5f153a},_0x2625ca['createElement']('div',{'className':_0xcd30e1[_0x10544e(0x347)]},_0x237f19),_0x2625ca[_0x10544e(0x452)]('div',{'className':_0xcd30e1[_0x10544e(0x408)]},_0x5232ce));}return _0x10cddf?_0x2962a5():_0x2625ca['createElement'](_0x381d1f[_0x586599(0x1e3)],{'title':_0x32bc03['t'](_0x586599(0x49b))},_0x2962a5());}var _0x20c4eb=Object['defineProperty'],_0x4f7d97=Object[_0x406fa3(0x187)],_0x4d41d5=(_0x30ee5d,_0x177702,_0x56fa96,_0x25c1ef)=>{const _0x38ea9e=_0x406fa3;for(var _0x291b5a=_0x25c1ef>0x1?void 0x0:_0x25c1ef?_0x4f7d97(_0x177702,_0x56fa96):_0x177702,_0x4f38e6=_0x30ee5d[_0x38ea9e(0x565)]-0x1,_0x13659f;_0x4f38e6>=0x0;_0x4f38e6--)(_0x13659f=_0x30ee5d[_0x4f38e6])&&(_0x291b5a=(_0x25c1ef?_0x13659f(_0x177702,_0x56fa96,_0x291b5a):_0x13659f(_0x291b5a))||_0x291b5a);return _0x25c1ef&&_0x291b5a&&_0x20c4eb(_0x177702,_0x56fa96,_0x291b5a),_0x291b5a;},_0x397269=(_0x5b872c,_0x313954)=>(_0x1d8d88,_0x13554f)=>_0x313954(_0x1d8d88,_0x13554f,_0x5b872c);_0x121304[_0x406fa3(0x36a)]=class extends _0x278695[_0x406fa3(0x3a8)]{constructor(_0x4f4d01,_0x174934,_0x319bf7,_0x378aa7){const _0x2251ba=_0x406fa3;super(),_0x175777(this,_0x2251ba(0x510),new _0x34a6cc['BehaviorSubject'](_0x59cf14['NOT_COLLAB'])),(this[_0x2251ba(0x45b)]=_0x4f4d01,this[_0x2251ba(0x4a9)]=_0x174934,this['_injector']=_0x319bf7,this[_0x2251ba(0x45e)]=_0x378aa7,this[_0x2251ba(0x442)](),this[_0x2251ba(0x524)]());}[_0x406fa3(0x524)](){const _0x22abde=_0x406fa3;this[_0x22abde(0x343)](this[_0x22abde(0x45b)][_0x22abde(0x4c1)]['pipe'](_0x34a6cc[_0x22abde(0x49c)](()=>{const _0x227fcb=_0x22abde,_0x4d6b72=this[_0x227fcb(0x45b)][_0x227fcb(0x545)]();return _0x4d6b72?this['_collaborationController'][_0x227fcb(0x508)](_0x4d6b72[_0x227fcb(0x1f9)]()):_0x34a6cc['of'](null);}),_0x34a6cc[_0x22abde(0x49c)](_0x52f144=>_0x52f144?_0x52f144['status$']:_0x34a6cc['of'](_0x59cf14['NOT_COLLAB'])))[_0x22abde(0x218)](_0x1b04cf=>{const _0x298682=_0x22abde;this[_0x298682(0x510)][_0x298682(0x321)](_0x1b04cf);}));}[_0x406fa3(0x442)](){const _0x12710e=_0x406fa3;this[_0x12710e(0x343)](this[_0x12710e(0x4a9)][_0x12710e(0x2d4)](_0x42b7fc[_0x12710e(0x1cd)]['HEADER_MENU'],()=>_0x278695[_0x12710e(0x2a3)](_0x50d44e({'status$':this[_0x12710e(0x510)]['asObservable']()}),this[_0x12710e(0x557)])));}},_0x121304[_0x406fa3(0x36a)]=_0x4d41d5([_0x397269(0x0,_0x278695['IUniverInstanceService']),_0x397269(0x1,_0x42b7fc[_0x406fa3(0x185)]),_0x397269(0x2,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x18f)])),_0x397269(0x3,_0x278695[_0x406fa3(0x2cb)](_0x121304[_0x406fa3(0x51e)]))],_0x121304['DesktopCollaborationStatusDisplayController']);function _0x50d44e(_0x3ac90c){const {status$:_0x2d661a}=_0x3ac90c;return function(){const _0x5b8271=_0x3463;return _0x2625ca[_0x5b8271(0x452)](_0x158ac5,{'status$':_0x2d661a});};}const _0xe2ca99=_0x278695[_0x406fa3(0x446)](_0x406fa3(0x481));var _0x3c7f89=Object[_0x406fa3(0x1a2)],_0x273ea1=Object[_0x406fa3(0x187)],_0x4adfaf=(_0x39a4bd,_0x29c76d,_0x369ffa,_0x13d744)=>{const _0x554d6f=_0x406fa3;for(var _0x159a3c=_0x13d744>0x1?void 0x0:_0x13d744?_0x273ea1(_0x29c76d,_0x369ffa):_0x29c76d,_0x1af979=_0x39a4bd[_0x554d6f(0x565)]-0x1,_0x1d9bdf;_0x1af979>=0x0;_0x1af979--)(_0x1d9bdf=_0x39a4bd[_0x1af979])&&(_0x159a3c=(_0x13d744?_0x1d9bdf(_0x29c76d,_0x369ffa,_0x159a3c):_0x1d9bdf(_0x159a3c))||_0x159a3c);return _0x13d744&&_0x159a3c&&_0x3c7f89(_0x29c76d,_0x369ffa,_0x159a3c),_0x159a3c;},_0x31d663=(_0x829c16,_0x54381d)=>(_0x55457f,_0x315aa5)=>_0x54381d(_0x55457f,_0x315aa5,_0x829c16);_0x121304[_0x406fa3(0x554)]=class extends _0x278695[_0x406fa3(0x20b)]{constructor(_0x293904,_0x5cd601,_0xd95e42,_0x33bfed,_0x3dcdff,_0x5d99ee){const _0x45b79c=_0x406fa3;super(),this['_urlService']=_0x293904,this[_0x45b79c(0x334)]=_0x5cd601,this[_0x45b79c(0x237)]=_0xd95e42,this['_localCacheService']=_0x33bfed,this[_0x45b79c(0x361)]=_0x3dcdff,_0x5d99ee?_0x5d99ee==null||_0x5d99ee[_0x45b79c(0x20c)]()[_0x45b79c(0x2d0)](()=>this['_init']()):(this[_0x45b79c(0x334)][_0x45b79c(0x394)](_0x45b79c(0x17e),_0x45b79c(0x260)),this[_0x45b79c(0x402)]());}async[_0x406fa3(0x402)](){const _0x2e22bc=_0x406fa3,_0x491a89=this[_0x2e22bc(0x1c0)][_0x2e22bc(0x517)](_0x2e22bc(0x476)),_0x48c548=this['_urlService'][_0x2e22bc(0x517)](_0x2e22bc(0x460));if(!_0x491a89||!_0x48c548){this[_0x2e22bc(0x334)][_0x2e22bc(0x394)]('[DataLoaderController]',_0x2e22bc(0x199));return;}switch(Number(_0x48c548)){case _0x5b1b3b[_0x2e22bc(0x4fc)]:{const _0x31fffc=await this['_loadSheet'](_0x491a89);this[_0x2e22bc(0x1eb)](_0x31fffc);break;}case _0x5b1b3b[_0x2e22bc(0x373)]:{await this['_loadDoc'](_0x491a89);break;}default:{this['_logService'][_0x2e22bc(0x228)]('[DataLoaderController]',_0x2e22bc(0x574));break;}}}async[_0x406fa3(0x1eb)](_0x37c79a){const _0x4b7f25=_0x406fa3;await this[_0x4b7f25(0x387)](_0x37c79a),_0x37c79a[_0x4b7f25(0x30b)][_0x4b7f25(0x2b3)](_0x34a6cc['takeUntil'](this['dispose$']))['subscribe'](_0x174fa2=>{const _0x57abf0=_0x4b7f25;_0x174fa2&&this[_0x57abf0(0x274)](_0x174fa2);}),this[_0x4b7f25(0x1c0)][_0x4b7f25(0x252)][_0x4b7f25(0x2b3)](_0x34a6cc['takeUntil'](this['dispose$']))[_0x4b7f25(0x218)](()=>this['_updateSubUnitFromURLParams'](_0x37c79a));}[_0x406fa3(0x274)](_0x4148cf,_0x3640b4=!0x1){const _0x3dc858=_0x406fa3,_0x575c32=this[_0x3dc858(0x1c0)][_0x3dc858(0x517)](_0x3dc858(0x4b2));_0x4148cf[_0x3dc858(0x3d1)]()!==_0x575c32&&this['_urlService'][_0x3dc858(0x24b)](_0x3dc858(0x4b2),_0x4148cf[_0x3dc858(0x3d1)](),_0x3640b4);}async[_0x406fa3(0x387)](_0x2dae9d){const _0x3823d1=_0x406fa3;var _0x6b46c3;const _0x172130=this['_urlService'][_0x3823d1(0x517)](_0x3823d1(0x4b2));if(!_0x172130||!_0x2dae9d[_0x3823d1(0x2f9)](_0x172130)){const _0x5c707a=_0x2dae9d[_0x3823d1(0x427)]()[0x0],_0x4ee2a4=_0x2dae9d['getSheetBySheetId'](_0x5c707a);if(!_0x4ee2a4)return;this[_0x3823d1(0x274)](_0x4ee2a4,!0x0),await this[_0x3823d1(0x237)][_0x3823d1(0x2bd)](_0x30bfa9[_0x3823d1(0x211)]['id'],{'unitId':_0x2dae9d[_0x3823d1(0x1f9)](),'subUnitId':_0x5c707a});return;}((_0x6b46c3=_0x2dae9d[_0x3823d1(0x27a)]())==null?void 0x0:_0x6b46c3[_0x3823d1(0x3d1)]())!==_0x172130&&await this[_0x3823d1(0x237)]['executeCommand'](_0x30bfa9['SetWorksheetActivateCommand']['id'],{'unitId':_0x2dae9d[_0x3823d1(0x1f9)](),'subUnitId':_0x172130});}async['_loadSheet'](_0x4223dd){const _0x12eaa5=_0x406fa3;let _0x40b211=0x0;const _0x4199da=await this['_localCacheService']['loadOfflineData'](_0x4223dd);return _0x4199da&&(_0x4199da[_0x12eaa5(0x407)]||_0x4199da[_0x12eaa5(0x384)][_0x12eaa5(0x565)]!==0x0)&&(_0x40b211=_0x4199da[_0x12eaa5(0x379)]),_0x40b211===0x0&&this[_0x12eaa5(0x334)][_0x12eaa5(0x394)](_0x12eaa5(0x17e),_0x12eaa5(0x202)),this[_0x12eaa5(0x361)][_0x12eaa5(0x3b3)](_0x4223dd,_0x40b211);}async[_0x406fa3(0x412)](_0x5a02ac){const _0xa99ff9=_0x406fa3;let _0x272539=0x0;const _0x40ce92=await this[_0xa99ff9(0x1ac)]['loadOfflineData'](_0x5a02ac);return _0x40ce92&&(_0x40ce92[_0xa99ff9(0x407)]||_0x40ce92[_0xa99ff9(0x384)][_0xa99ff9(0x565)]!==0x0)&&(_0x272539=_0x40ce92[_0xa99ff9(0x379)]),_0x272539===0x0&&this[_0xa99ff9(0x334)]['debug'](_0xa99ff9(0x17e),_0xa99ff9(0x202)),this[_0xa99ff9(0x361)][_0xa99ff9(0x32e)](_0x5a02ac,_0x272539);}},_0x121304[_0x406fa3(0x554)]=_0x4adfaf([_0x31d663(0x0,_0xe2ca99),_0x31d663(0x1,_0x278695[_0x406fa3(0x21a)]),_0x31d663(0x2,_0x278695['ICommandService']),_0x31d663(0x3,_0x278695['Inject'](_0x121304[_0x406fa3(0x2a4)])),_0x31d663(0x4,_0x278695[_0x406fa3(0x2cb)](_0x5d08[_0x406fa3(0x4a7)])),_0x31d663(0x5,_0x278695['Optional'](_0x363acd['IRemoteInstanceService']))],_0x121304['DataLoaderController']);var _0x14c908=Object[_0x406fa3(0x1a2)],_0x4eb793=Object[_0x406fa3(0x187)],_0x3f0655=(_0x5aaa59,_0x4061ba,_0x295574,_0x3817e3)=>{const _0x204370=_0x406fa3;for(var _0x116be2=_0x3817e3>0x1?void 0x0:_0x3817e3?_0x4eb793(_0x4061ba,_0x295574):_0x4061ba,_0x4d6485=_0x5aaa59[_0x204370(0x565)]-0x1,_0x1efa89;_0x4d6485>=0x0;_0x4d6485--)(_0x1efa89=_0x5aaa59[_0x4d6485])&&(_0x116be2=(_0x3817e3?_0x1efa89(_0x4061ba,_0x295574,_0x116be2):_0x1efa89(_0x116be2))||_0x116be2);return _0x3817e3&&_0x116be2&&_0x14c908(_0x4061ba,_0x295574,_0x116be2),_0x116be2;},_0x3527d1=(_0x3ff78c,_0x43829b)=>(_0x581faa,_0x15c844)=>_0x43829b(_0x581faa,_0x15c844,_0x3ff78c);const _0x48ee39=_0x406fa3(0x337),_0x1ff61c=_0x406fa3(0x365);let _0x5cd4f4=class extends _0x278695[_0x406fa3(0x3a8)]{constructor(_0x40d27a,_0x158e9d){const _0x421f54=_0x406fa3;super(),this[_0x421f54(0x45b)]=_0x40d27a,this[_0x421f54(0x165)]=_0x158e9d,this[_0x421f54(0x402)]();}[_0x406fa3(0x402)](){const _0x4311d5=_0x406fa3;this[_0x4311d5(0x343)](this[_0x4311d5(0x45b)][_0x4311d5(0x4c1)][_0x4311d5(0x218)](()=>{const _0x288d14=_0x4311d5;var _0x549624;const _0x3091dd=this[_0x288d14(0x45b)][_0x288d14(0x545)]();let _0x9e9743=(_0x549624=this[_0x288d14(0x165)]['getConfig'](_0x48ee39))!=null?_0x549624:_0x1ff61c;_0x3091dd instanceof _0x278695[_0x288d14(0x1cc)]&&(_0x9e9743=_0x3091dd[_0x288d14(0x315)]),document[_0x288d14(0x240)]=_0x9e9743;}));}};_0x5cd4f4=_0x3f0655([_0x3527d1(0x0,_0x278695[_0x406fa3(0x2d6)]),_0x3527d1(0x1,_0x278695[_0x406fa3(0x4c4)])],_0x5cd4f4);var _0x329302=Object[_0x406fa3(0x1a2)],_0x39d121=Object[_0x406fa3(0x187)],_0x5df385=(_0x2fa318,_0x165c3b,_0x37925e,_0x21ade9)=>{const _0x246131=_0x406fa3;for(var _0x58d788=_0x21ade9>0x1?void 0x0:_0x21ade9?_0x39d121(_0x165c3b,_0x37925e):_0x165c3b,_0x13dc94=_0x2fa318[_0x246131(0x565)]-0x1,_0x693d05;_0x13dc94>=0x0;_0x13dc94--)(_0x693d05=_0x2fa318[_0x13dc94])&&(_0x58d788=(_0x21ade9?_0x693d05(_0x165c3b,_0x37925e,_0x58d788):_0x693d05(_0x58d788))||_0x58d788);return _0x21ade9&&_0x58d788&&_0x329302(_0x165c3b,_0x37925e,_0x58d788),_0x58d788;},_0x548d03=(_0x388fdc,_0x51f7d6)=>(_0x216c6a,_0x3bea8d)=>_0x51f7d6(_0x216c6a,_0x3bea8d,_0x388fdc);let _0x4e78f1=class{constructor(_0x4793c4,_0x1ee565,_0x1fdd53){const _0x171255=_0x406fa3;this[_0x171255(0x165)]=_0x4793c4,this[_0x171255(0x263)]=_0x1ee565,this[_0x171255(0x4e0)]=_0x1fdd53,this[_0x171255(0x1b5)]();}['init'](){const _0x2a6dee=_0x406fa3;this[_0x2a6dee(0x263)][_0x2a6dee(0x171)]({'priority':0x1,'interceptor':(_0x52cad3,_0x9d914f)=>_0x9d914f(_0x52cad3)['pipe'](_0x34a6cc[_0x2a6dee(0x212)](async _0x54bb9c=>{const _0x1225f4=_0x2a6dee,_0x12cd35=_0x54bb9c;if(_0x12cd35[_0x1225f4(0x222)]===0x191&&window[_0x1225f4(0x2a0)](this[_0x1225f4(0x4e0)]['t'](_0x1225f4(0x300)))){const _0x3d451f=window['encodeURIComponent'](window[_0x1225f4(0x413)][_0x1225f4(0x2c0)]);window[_0x1225f4(0x413)][_0x1225f4(0x2c0)]=this[_0x1225f4(0x166)]()+_0x1225f4(0x519)+_0x3d451f;}return _0x12cd35;}))});}[_0x406fa3(0x166)](){const _0x50148f=_0x406fa3;var _0x345dd1,_0x513ebf;const _0x496cc5=this[_0x50148f(0x165)]['getConfig'](_0x103765),_0x23059b=this[_0x50148f(0x165)]['getConfig'](_0x41c87a);return(_0x513ebf=(_0x345dd1=_0x23059b==null?void 0x0:_0x23059b[_0x50148f(0x3ec)])!=null?_0x345dd1:_0x496cc5)!=null?_0x513ebf:_0x59d6a;}};_0x4e78f1=_0x5df385([_0x548d03(0x0,_0x278695[_0x406fa3(0x4c4)]),_0x548d03(0x1,_0x278695['Inject'](_0x166997[_0x406fa3(0x3f5)])),_0x548d03(0x2,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x3c6)]))],_0x4e78f1);var _0x40ca2a=Object['defineProperty'],_0x27739d=Object['getOwnPropertyDescriptor'],_0x1a4586=(_0x2eef3d,_0x52d685,_0x3c4b0b,_0x1a3ae2)=>{const _0xbc37b1=_0x406fa3;for(var _0x544c44=_0x1a3ae2>0x1?void 0x0:_0x1a3ae2?_0x27739d(_0x52d685,_0x3c4b0b):_0x52d685,_0x2ec0a2=_0x2eef3d[_0xbc37b1(0x565)]-0x1,_0x5b4f77;_0x2ec0a2>=0x0;_0x2ec0a2--)(_0x5b4f77=_0x2eef3d[_0x2ec0a2])&&(_0x544c44=(_0x1a3ae2?_0x5b4f77(_0x52d685,_0x3c4b0b,_0x544c44):_0x5b4f77(_0x544c44))||_0x544c44);return _0x1a3ae2&&_0x544c44&&_0x40ca2a(_0x52d685,_0x3c4b0b,_0x544c44),_0x544c44;},_0x53f175=(_0x474fb8,_0x3cdef4)=>(_0x16700e,_0x25e271)=>_0x3cdef4(_0x16700e,_0x25e271,_0x474fb8);const _0x488b7c=_0x406fa3(0x3b2),_0x54a149=_0x406fa3(0x16f);_0x121304['AuthzIoHttpService']=class extends _0x278695[_0x406fa3(0x3a8)]{constructor(_0x4eb845,_0x2e8db1){const _0x4cbe8a=_0x406fa3;super(),this[_0x4cbe8a(0x56a)]=_0x4eb845,this['_configService']=_0x2e8db1,this[_0x4cbe8a(0x14e)]();}[_0x406fa3(0x14e)](){const _0x488a53=_0x406fa3,_0x886372=this;this[_0x488a53(0x343)](this[_0x488a53(0x56a)][_0x488a53(0x171)]({'priority':0x3e7,'interceptor':_0x166997[_0x488a53(0x360)]({'isMatch'(_0x4ec999){const _0x24a7c5=_0x488a53;var _0x5e40fd;if(_0x4ec999[_0x24a7c5(0x3e8)]==='POST'&&((_0x5e40fd=_0x4ec999[_0x24a7c5(0x4df)])!=null&&_0x5e40fd['body'])){const {objectID:_0x5d7d37,objectType:_0x30fad5}=_0x4ec999[_0x24a7c5(0x4df)][_0x24a7c5(0x51f)]||{};if(!_0x5d7d37||_0x30fad5===void 0x0)return!0x1;const _0x28407a=_0x886372[_0x24a7c5(0x262)]()+'/'+_0x30fad5+'/object/'+_0x5d7d37+'/allowed';if(_0x4ec999['url']===_0x28407a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x17ccaa){const _0x13afb1=_0x488a53;var _0x4e60d2;return(_0x4e60d2=_0x17ccaa['requestParams'])==null?void 0x0:_0x4e60d2[_0x13afb1(0x51f)];},'mergeParamsToRequest'(_0x54ec2b,_0x1f59db){const _0x1b7778=_0x488a53,_0x4449f9=_0x886372[_0x1b7778(0x262)]()+'/-/object/-/batch_allowed',_0x565ce9=_0x54ec2b[_0x1b7778(0x279)]((_0x52f3bc,_0x50c2ad)=>{const _0x4d4024=_0x1b7778,{unitID:_0x49e489,objectID:_0x41c469,objectType:_0x5093af,actions:_0x4d432f}=_0x50c2ad;return _0x52f3bc[_0x49e489]||(_0x52f3bc[_0x49e489]={}),_0x52f3bc[_0x49e489][_0x41c469]||(_0x52f3bc[_0x49e489][_0x41c469]={'objectID':_0x41c469,'objectType':_0x5093af,'actions':[]}),_0x52f3bc[_0x49e489][_0x41c469][_0x4d4024(0x161)][_0x4d4024(0x355)](..._0x4d432f),_0x52f3bc;},{}),_0x1324d4=[];for(const _0x483474 in _0x565ce9)for(const _0x537ecf in _0x565ce9[_0x483474]){const {actions:_0x17bda8,objectType:_0x34cd48}=_0x565ce9[_0x483474][_0x537ecf],_0x496fdd=[...new Set(_0x17bda8)];_0x1324d4[_0x1b7778(0x355)]({'unitID':_0x483474,'objectID':_0x537ecf,'objectType':_0x34cd48,'actions':_0x496fdd});}return new _0x166997[(_0x1b7778(0x184))]('POST',_0x4449f9,{'headers':_0x1f59db[_0x1b7778(0x183)],'withCredentials':_0x1f59db[_0x1b7778(0x1fd)],'responseType':_0x1f59db['responseType'],'body':{'requests':_0x1324d4}});}},{'distributeResult'(_0x3d23da,_0x5a7a8a){const {objectActions:_0x225708}=_0x3d23da;return _0x5a7a8a['map'](_0x3b023e=>{const _0x3a8df5=_0x3463,{unitID:_0x3f4eb4,objectID:_0x3c6a4e,actions:_0x1ccc76}=_0x3b023e,_0x1f0ae8=_0x225708['find'](_0x47adb3=>_0x47adb3[_0x3a8df5(0x42a)]===_0x3f4eb4&&_0x47adb3[_0x3a8df5(0x448)]===_0x3c6a4e),_0x68b587=_0x1ccc76[_0x3a8df5(0x1a8)](_0x50bd2a=>_0x1f0ae8==null?void 0x0:_0x1f0ae8[_0x3a8df5(0x161)][_0x3a8df5(0x380)](_0x33182f=>_0x33182f[_0x3a8df5(0x3c2)]===_0x50bd2a))[_0x3a8df5(0x4b0)](_0x594b90=>!!_0x594b90);return{'config':_0x3b023e,'result':{'actions':_0x68b587,'error':_0x3d23da[_0x3a8df5(0x228)]}};});}})}));}[_0x406fa3(0x262)](){const _0x2fd2f1=_0x406fa3;var _0x57fa2a,_0x95c786;const _0x5a176d=this[_0x2fd2f1(0x165)][_0x2fd2f1(0x377)](_0x488b7c),_0x36f774=this[_0x2fd2f1(0x165)][_0x2fd2f1(0x377)](_0x41c87a);return(_0x95c786=(_0x57fa2a=_0x36f774==null?void 0x0:_0x36f774[_0x2fd2f1(0x3e3)])!=null?_0x57fa2a:_0x5a176d)!=null?_0x95c786:_0x54a149;}async[_0x406fa3(0x13f)](_0x3373fb){const _0xcd523a=_0x406fa3,_0x116f04=this[_0xcd523a(0x262)]()+'/'+_0x3373fb['objectType']+_0xcd523a(0x265);return(await this[_0xcd523a(0x56a)][_0xcd523a(0x4e2)](_0x116f04,{'body':_0x3373fb}))[_0xcd523a(0x51f)][_0xcd523a(0x448)]||'';}async[_0x406fa3(0x17c)](_0x541ce9){const _0x519ebe=_0x406fa3,_0x20c0af=this[_0x519ebe(0x262)]()+'/-/object/list';return(await this[_0x519ebe(0x56a)]['post'](_0x20c0af,{'body':_0x541ce9}))[_0x519ebe(0x51f)]['objects'];}async[_0x406fa3(0x41f)](_0x478123){const _0xfd6394=_0x406fa3,_0x22b171=this[_0xfd6394(0x262)]()+'/'+_0x478123['objectType']+_0xfd6394(0x496)+_0x478123[_0xfd6394(0x448)];await this[_0xfd6394(0x56a)][_0xfd6394(0x555)](_0x22b171,{'body':_0x478123});}async[_0x406fa3(0x400)](_0x5c3ecb){const _0x172b27=_0x406fa3,_0x519661=this['_getAPIPrefixPath']()+'/'+_0x5c3ecb[_0x172b27(0x18e)]+_0x172b27(0x496)+_0x5c3ecb['objectID']+'/allowed';return(await this['_HTTPService']['post'](_0x519661,{'body':_0x5c3ecb}))[_0x172b27(0x51f)][_0x172b27(0x161)];}async[_0x406fa3(0x284)](_0x453a1e){const _0x193901=_0x406fa3,_0x5e5038=this[_0x193901(0x262)]()+_0x193901(0x48e);return(await this[_0x193901(0x56a)][_0x193901(0x4e2)](_0x5e5038,{'body':{'requests':_0x453a1e}}))['body'][_0x193901(0x4f7)];}async[_0x406fa3(0x489)](_0x227e91){const _0x21f5f3=_0x406fa3,_0x1d527a=this[_0x21f5f3(0x262)]()+'/'+_0x227e91[_0x21f5f3(0x18e)]+_0x21f5f3(0x286),_0xb2c778=await this[_0x21f5f3(0x56a)][_0x21f5f3(0x4e2)](_0x1d527a,{'body':_0x227e91});return{'roles':_0xb2c778[_0x21f5f3(0x51f)][_0x21f5f3(0x1e9)],'actions':_0xb2c778[_0x21f5f3(0x51f)][_0x21f5f3(0x161)]};}async[_0x406fa3(0x278)](_0x39a8c0){const _0x4416d9=_0x406fa3,_0x312000=this[_0x4416d9(0x262)]()+'/collaborator';await this['_HTTPService'][_0x4416d9(0x29a)](_0x312000,{'params':{'collaboratorID':_0x39a8c0[_0x4416d9(0x2ed)],'objectID':_0x39a8c0[_0x4416d9(0x448)],'unitID':_0x39a8c0[_0x4416d9(0x42a)]}});}async[_0x406fa3(0x474)](_0x2d1c53){const _0x5bcdf5=_0x406fa3,_0x2bdead=this[_0x5bcdf5(0x262)]()+'/collaborator';await this[_0x5bcdf5(0x56a)][_0x5bcdf5(0x3bc)](_0x2bdead,{'body':_0x2d1c53});}async[_0x406fa3(0x24d)](_0x225210){const _0x213304=_0x406fa3,_0x36bcec=this['_getAPIPrefixPath']()+_0x213304(0x2f5);await this[_0x213304(0x56a)][_0x213304(0x4e2)](_0x36bcec,{'body':_0x225210});}async[_0x406fa3(0x514)](_0x5af5d0){const _0x3260b2=_0x406fa3,_0x5c0ca8=this[_0x3260b2(0x262)]()+_0x3260b2(0x2f5);return(await this[_0x3260b2(0x56a)][_0x3260b2(0x503)](_0x5c0ca8,{'params':{'objectID':_0x5af5d0[_0x3260b2(0x448)],'unitID':_0x5af5d0[_0x3260b2(0x42a)]}}))['body']['collaborators'];}async[_0x406fa3(0x3da)](_0x31eb4e){const _0x11ae39=_0x406fa3,_0x1a5967=this[_0x11ae39(0x262)]()+_0x11ae39(0x2f5);await this['_HTTPService'][_0x11ae39(0x555)](_0x1a5967,{'body':_0x31eb4e});}},_0x121304['AuthzIoHttpService']=_0x1a4586([_0x53f175(0x0,_0x278695[_0x406fa3(0x2cb)](_0x166997[_0x406fa3(0x3f5)])),_0x53f175(0x1,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x4c4)]))],_0x121304['AuthzIoHttpService']);var _0x33aed9=Object[_0x406fa3(0x1a2)],_0x2d765c=Object[_0x406fa3(0x187)],_0x1ebb09=(_0x17d3b8,_0xadd319,_0x2f4a67,_0x58e378)=>{const _0x30b43d=_0x406fa3;for(var _0x197308=_0x58e378>0x1?void 0x0:_0x58e378?_0x2d765c(_0xadd319,_0x2f4a67):_0xadd319,_0x4ac588=_0x17d3b8[_0x30b43d(0x565)]-0x1,_0x273934;_0x4ac588>=0x0;_0x4ac588--)(_0x273934=_0x17d3b8[_0x4ac588])&&(_0x197308=(_0x58e378?_0x273934(_0xadd319,_0x2f4a67,_0x197308):_0x273934(_0x197308))||_0x197308);return _0x58e378&&_0x197308&&_0x33aed9(_0xadd319,_0x2f4a67,_0x197308),_0x197308;},_0x1cc010=(_0x65bc27,_0x49ac18)=>(_0x505348,_0x57e94f)=>_0x49ac18(_0x505348,_0x57e94f,_0x65bc27);let _0x4f26e5=class{constructor(_0x371fdb){const _0x4f61a7=_0x406fa3;this[_0x4f61a7(0x263)]=_0x371fdb,this['_initRequestHeader']();}[_0x406fa3(0x573)](){const _0x36489d=_0x406fa3;this[_0x36489d(0x263)]['registerHTTPInterceptor']({'interceptor':(_0x265d35,_0x2af344)=>{const _0x4bb9d5=_0x36489d,_0x7e9fdc=_0x265d35[_0x4bb9d5(0x183)],_0x2ec767=_0x44e17b[_0x4bb9d5(0x406)]();return _0x2ec767&&_0x7e9fdc[_0x4bb9d5(0x30e)](_0x4bb9d5(0x431),_0x2ec767),_0x2af344(_0x265d35);}});}};_0x4f26e5=_0x1ebb09([_0x1cc010(0x0,_0x278695[_0x406fa3(0x2cb)](_0x166997[_0x406fa3(0x3f5)]))],_0x4f26e5);var _0x32aee5=Object[_0x406fa3(0x1a2)],_0x4ee135=Object['getOwnPropertyDescriptor'],_0x3305f5=(_0x36abe5,_0x1dfd69,_0x3055a2,_0x1fcc28)=>{const _0x18bf70=_0x406fa3;for(var _0xb30d93=_0x1fcc28>0x1?void 0x0:_0x1fcc28?_0x4ee135(_0x1dfd69,_0x3055a2):_0x1dfd69,_0x3b1c00=_0x36abe5[_0x18bf70(0x565)]-0x1,_0x1fb367;_0x3b1c00>=0x0;_0x3b1c00--)(_0x1fb367=_0x36abe5[_0x3b1c00])&&(_0xb30d93=(_0x1fcc28?_0x1fb367(_0x1dfd69,_0x3055a2,_0xb30d93):_0x1fb367(_0xb30d93))||_0xb30d93);return _0x1fcc28&&_0xb30d93&&_0x32aee5(_0x1dfd69,_0x3055a2,_0xb30d93),_0xb30d93;},_0x42955a=(_0x53b408,_0x3640c3)=>(_0x34d81a,_0x48cbe5)=>_0x3640c3(_0x34d81a,_0x48cbe5,_0x53b408);const _0x2f0dbb=['image/png',_0x406fa3(0x14b),_0x406fa3(0x14c),_0x406fa3(0x328),_0x406fa3(0x2ef)],_0x5c18da=0x5*0x400*0x400,_0x2cae74=_0x406fa3(0x28d),_0x2938a8=_0x406fa3(0x541),_0x44e903=_0x406fa3(0x382),_0x1adf4c=_0x406fa3(0x44c);_0x121304['ImageIoService']=class{constructor(_0x896235,_0x2c19a2,_0x18a54e){const _0x1a04a3=_0x406fa3;_0x175777(this,_0x1a04a3(0x170),0x0),_0x175777(this,'_change$',new _0x34a6cc[(_0x1a04a3(0x2eb))]()),_0x175777(this,_0x1a04a3(0x1ae),this['_change$']),_0x175777(this,_0x1a04a3(0x462),new Map()),(this[_0x1a04a3(0x263)]=_0x896235,this[_0x1a04a3(0x165)]=_0x2c19a2,this[_0x1a04a3(0x45b)]=_0x18a54e);}[_0x406fa3(0x438)](_0x1296a2){const _0x32c566=_0x406fa3;this[_0x32c566(0x170)]=_0x1296a2,this['_change$'][_0x32c566(0x321)](_0x1296a2);}[_0x406fa3(0x29d)](_0x42aa49,_0x50a2b4){const _0x5c10c8=_0x406fa3;if(_0x50a2b4===_0x2d0385[_0x5c10c8(0x4b1)]['BASE64']){const _0x7ce317=new Image();return _0x7ce317[_0x5c10c8(0x35a)]=_0x42aa49,_0x7ce317;}return this[_0x5c10c8(0x462)]['get'](_0x42aa49);}['addImageSourceCache'](_0x21b909,_0xd6ef1d,_0x3d0ad7){const _0x1987f8=_0x406fa3;_0xd6ef1d===_0x2d0385[_0x1987f8(0x4b1)][_0x1987f8(0x419)]||_0x3d0ad7==null||this['_imageSourceCache'][_0x1987f8(0x30e)](_0x21b909,_0x3d0ad7);}async[_0x406fa3(0x327)](_0x60a819){const _0xbd630f=_0x406fa3;try{const _0x3e618f=this[_0xbd630f(0x39b)](this['_getSignURL'](),''+_0x60a819),_0x4d2859=(await this['_httpService'][_0xbd630f(0x503)](_0x3e618f))[_0xbd630f(0x51f)];if(_0x4d2859[_0xbd630f(0x228)]&&_0x4d2859[_0xbd630f(0x228)]['code']===_0x5cfd1e['OK']){const _0x11c8ce=new URL(_0x4d2859[_0xbd630f(0x3ca)],this[_0xbd630f(0x27f)]())[_0xbd630f(0x1b6)]();return Promise[_0xbd630f(0x4e9)](_0x11c8ce);}return Promise[_0xbd630f(0x33f)](_0x4d2859['error']);}catch(_0xa42e6){return Promise[_0xbd630f(0x33f)](_0xa42e6);}}async[_0x406fa3(0x4a0)](_0x590e06){const _0x5b058d=_0x406fa3;let _0x2cc82f='';if(!_0x2f0dbb[_0x5b058d(0x243)](_0x590e06['type']))return this[_0x5b058d(0x1c4)](),Promise[_0x5b058d(0x33f)](new Error(_0x2d0385['ImageUploadStatusType'][_0x5b058d(0x324)]));if(_0x590e06[_0x5b058d(0x18a)]>_0x5c18da)return this[_0x5b058d(0x1c4)](),Promise[_0x5b058d(0x33f)](new Error(_0x2d0385[_0x5b058d(0x516)][_0x5b058d(0x2ba)]));try{const _0x988db2=new FormData();_0x988db2[_0x5b058d(0x357)]('file',_0x590e06);const _0xed29fc=this[_0x5b058d(0x45b)][_0x5b058d(0x545)](),_0x283639=_0xed29fc==null?void 0x0:_0xed29fc[_0x5b058d(0x1f9)]();if(!_0x283639)throw new Error(_0x5b058d(0x1fc));const _0xd0547=this[_0x5b058d(0x551)]()+'?size='+_0x590e06['size'][_0x5b058d(0x1b6)]()+'&source='+_0x373aca['UnitEmbedded']+_0x5b058d(0x304)+encodeURIComponent(_0x283639),_0xb06e9f=await(await fetch(_0xd0547,{'method':_0x5b058d(0x3aa),'body':_0x988db2}))['json']();if(typeof _0xb06e9f[_0x5b058d(0x523)]!=_0x5b058d(0x378))return this[_0x5b058d(0x1c4)](),Promise['reject'](new Error(_0x2d0385['ImageUploadStatusType'][_0x5b058d(0x57d)]));_0x2cc82f=_0xb06e9f[_0x5b058d(0x523)];}catch{return this['_decreaseWaiting'](),Promise[_0x5b058d(0x33f)](new Error(_0x2d0385[_0x5b058d(0x516)][_0x5b058d(0x57d)]));}return new Promise((_0x79eeb2,_0x45caa3)=>{const _0x200e1e=_0x5b058d,_0x399889=new FileReader();_0x399889[_0x200e1e(0x392)](_0x590e06),_0x399889[_0x200e1e(0x56b)]=_0x2a09a5=>{const _0x4f84f5=_0x200e1e;var _0x28d543;const _0xe1d6e7=(_0x28d543=_0x2a09a5[_0x4f84f5(0x3b7)])==null?void 0x0:_0x28d543[_0x4f84f5(0x175)];if(_0xe1d6e7==null){this[_0x4f84f5(0x1c4)](),_0x45caa3(new Error(_0x2d0385['ImageUploadStatusType'][_0x4f84f5(0x57d)]));return;}const _0x4fa552=_0x278695[_0x4f84f5(0x1a3)][_0x4f84f5(0x410)](0x6);_0x79eeb2({'imageId':_0x4fa552,'imageSourceType':_0x2d0385[_0x4f84f5(0x4b1)]['UUID'],'source':_0x2cc82f,'base64Cache':_0xe1d6e7,'status':_0x2d0385[_0x4f84f5(0x516)][_0x4f84f5(0x33a)]}),this[_0x4f84f5(0x1c4)]();};});}[_0x406fa3(0x551)](){const _0x5be9cf=_0x406fa3;var _0x4f4839,_0x399c54;const _0xf11b0e=this[_0x5be9cf(0x165)][_0x5be9cf(0x377)](_0x2cae74),_0x440653=this['_configService'][_0x5be9cf(0x377)](_0x41c87a);return(_0x399c54=(_0x4f4839=_0x440653==null?void 0x0:_0x440653[_0x5be9cf(0x18b)])!=null?_0x4f4839:_0xf11b0e)!=null?_0x399c54:_0x2938a8;}[_0x406fa3(0x296)](){const _0x12e792=_0x406fa3;var _0x3d725b,_0x2d2b52;const _0x37e499=this[_0x12e792(0x165)][_0x12e792(0x377)](_0x44e903),_0x84c4f7=this[_0x12e792(0x165)]['getConfig'](_0x41c87a);return(_0x2d2b52=(_0x3d725b=_0x84c4f7==null?void 0x0:_0x84c4f7[_0x12e792(0x49e)])!=null?_0x3d725b:_0x37e499)!=null?_0x2d2b52:_0x1adf4c;}['_getDownloadEndpointURL'](){const _0x220fc6=_0x406fa3;var _0x5d81dd;const _0x35368b=this[_0x220fc6(0x165)][_0x220fc6(0x377)](_0x41c87a);return(_0x5d81dd=_0x35368b==null?void 0x0:_0x35368b[_0x220fc6(0x2f7)])!=null?_0x5d81dd:location['origin'];}[_0x406fa3(0x39b)](_0xf7cec3,_0x51d902){const _0xc28b5b=_0x406fa3;return _0xf7cec3[_0xc28b5b(0x359)](_0xc28b5b(0x16d),_0x51d902);}['_decreaseWaiting'](){const _0x9da8a5=_0x406fa3;this['_waitCount']-=0x1,this['_change$'][_0x9da8a5(0x321)](this['_waitCount']);}},_0x121304[_0x406fa3(0x283)]=_0x3305f5([_0x42955a(0x0,_0x278695[_0x406fa3(0x2cb)](_0x166997[_0x406fa3(0x3f5)])),_0x42955a(0x1,_0x278695[_0x406fa3(0x4c4)]),_0x42955a(0x2,_0x278695[_0x406fa3(0x2cb)](_0x278695[_0x406fa3(0x2d6)]))],_0x121304['ImageIoService']);var _0x3f2474=Object[_0x406fa3(0x1a2)],_0x23d3d2=Object[_0x406fa3(0x187)],_0x423ff4=(_0x51cb2f,_0x5ea15a,_0x5e6629,_0x359d75)=>{const _0x143266=_0x406fa3;for(var _0x4020d4=_0x359d75>0x1?void 0x0:_0x359d75?_0x23d3d2(_0x5ea15a,_0x5e6629):_0x5ea15a,_0xec9034=_0x51cb2f[_0x143266(0x565)]-0x1,_0x325bf9;_0xec9034>=0x0;_0xec9034--)(_0x325bf9=_0x51cb2f[_0xec9034])&&(_0x4020d4=(_0x359d75?_0x325bf9(_0x5ea15a,_0x5e6629,_0x4020d4):_0x325bf9(_0x4020d4))||_0x4020d4);return _0x359d75&&_0x4020d4&&_0x3f2474(_0x5ea15a,_0x5e6629,_0x4020d4),_0x4020d4;},_0x78d973=(_0x1fac24,_0x11c3d0)=>(_0x2fdf54,_0x55904c)=>_0x11c3d0(_0x2fdf54,_0x55904c,_0x1fac24);let _0x26f263=class extends _0x278695[_0x406fa3(0x20b)]{constructor(_0xc4460b,_0x1d85f5,_0x10b4fb,_0x49aeec,_0x39e541){const _0x1d771d=_0x406fa3;super(),this['_injector']=_0xc4460b,this['_univerInstanceService']=_0x1d85f5,this[_0x1d771d(0x511)]=_0x10b4fb,this[_0x1d771d(0x37c)]=_0x49aeec,this[_0x1d771d(0x1b1)]=_0x39e541,this[_0x1d771d(0x3d5)](),this[_0x1d771d(0x329)]();}[_0x406fa3(0x329)](){const _0x344905=_0x406fa3,_0x40fa6c=async _0x1dd106=>{const _0x223df7=_0x3463;(await this[_0x223df7(0x37c)]['requireSession'](_0x1dd106))[_0x223df7(0x264)]['pipe'](_0x3753b5[_0x223df7(0x4b0)](_0x30b81a=>_0x30b81a[_0x223df7(0x17d)]===_0x5d08[_0x223df7(0x581)]['SHOULD_CLOSE_CONN']),_0x3753b5[_0x223df7(0x1d2)](this[_0x223df7(0x37d)]))[_0x223df7(0x218)](_0x53cdad=>{const _0x3afb17=_0x223df7,_0x218fc6=_0x53cdad,{reason:_0x399c17}=_0x218fc6['data'];this[_0x3afb17(0x557)][_0x3afb17(0x503)](_0x42b7fc[_0x3afb17(0x2b1)])[_0x3afb17(0x571)]({'type':_0x381d1f[_0x3afb17(0x26e)][_0x3afb17(0x44a)],'content':this['_localeService']['t'](_0x3afb17(0x247))+'('+_0x399c17+')'}),this[_0x3afb17(0x511)][_0x3afb17(0x31f)](new _0x30bfa9[(_0x3afb17(0x500))](_0x1dd106)['id'],!0x1),this['_collaborationSessionService'][_0x3afb17(0x2d1)](_0x1dd106);});};_0x34a6cc[_0x344905(0x504)](this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x278695[_0x344905(0x266)][_0x344905(0x4fc)]),this[_0x344905(0x45b)]['getTypeOfUnitAdded$'](_0x278695['UniverInstanceType']['UNIVER_DOC']))['pipe'](_0x3753b5[_0x344905(0x1a8)](_0x4673ac=>_0x4673ac[_0x344905(0x1f9)]()),_0x3753b5[_0x344905(0x4b0)](_0x2b9224=>!_0x278695[_0x344905(0x234)](_0x2b9224)),_0x3753b5[_0x344905(0x1d2)](this['dispose$']))[_0x344905(0x218)](_0x38c8a0=>{_0x40fa6c(_0x38c8a0);});}[_0x406fa3(0x3d5)](){const _0x23c78e=_0x406fa3,_0x4a56db=async _0x3b27ca=>{const _0x38bacb=_0x3463;(await this[_0x38bacb(0x37c)][_0x38bacb(0x215)](_0x3b27ca))[_0x38bacb(0x264)][_0x38bacb(0x2b3)](_0x3753b5[_0x38bacb(0x4b0)](_0x471695=>_0x471695[_0x38bacb(0x17d)]===_0x5d08[_0x38bacb(0x581)]['UPDATE_PERMISSION_OBJ']),_0x3753b5['takeUntil'](this[_0x38bacb(0x37d)]))[_0x38bacb(0x218)](_0x2f5f8b=>{const _0x3896a4=_0x38bacb,_0xa290a0=_0x2f5f8b,{objectId:_0x41a194}=_0xa290a0['data'],_0x1a4545=this['_injector'][_0x3896a4(0x503)](_0xd83a71[_0x3896a4(0x21c)]);_0x41a194===_0x3b27ca?_0x1a4545[_0x3896a4(0x275)](_0x3b27ca):_0x1a4545['refreshPermission'](_0x3b27ca,_0x41a194);});};_0x34a6cc[_0x23c78e(0x504)](this[_0x23c78e(0x45b)][_0x23c78e(0x4b9)](_0x278695[_0x23c78e(0x266)][_0x23c78e(0x4fc)]),this[_0x23c78e(0x45b)]['getTypeOfUnitAdded$'](_0x278695['UniverInstanceType'][_0x23c78e(0x373)]))[_0x23c78e(0x2b3)](_0x3753b5[_0x23c78e(0x1a8)](_0xe2d731=>_0xe2d731[_0x23c78e(0x1f9)]()),_0x3753b5[_0x23c78e(0x4b0)](_0x109c05=>!_0x278695[_0x23c78e(0x234)](_0x109c05)),_0x3753b5[_0x23c78e(0x1d2)](this[_0x23c78e(0x37d)]))[_0x23c78e(0x218)](_0x3a3327=>{_0x4a56db(_0x3a3327);});}};_0x26f263=_0x423ff4([_0x78d973(0x0,_0x278695[_0x406fa3(0x2cb)](_0x278695['Injector'])),_0x78d973(0x1,_0x278695[_0x406fa3(0x2d6)]),_0x78d973(0x2,_0x278695['IPermissionService']),_0x78d973(0x3,_0x278695[_0x406fa3(0x2cb)](_0x121304[_0x406fa3(0x502)])),_0x78d973(0x4,_0x278695[_0x406fa3(0x2cb)](_0x278695['LocaleService']))],_0x26f263);var _0xb96bdb=Object[_0x406fa3(0x1a2)],_0x9e5e74=Object[_0x406fa3(0x187)],_0x53da0c=(_0x2ef8b5,_0x299bf0,_0x8531b7,_0x1c3c89)=>{for(var _0x2ffa70=_0x1c3c89>0x1?void 0x0:_0x1c3c89?_0x9e5e74(_0x299bf0,_0x8531b7):_0x299bf0,_0x440460=_0x2ef8b5['length']-0x1,_0x530470;_0x440460>=0x0;_0x440460--)(_0x530470=_0x2ef8b5[_0x440460])&&(_0x2ffa70=(_0x1c3c89?_0x530470(_0x299bf0,_0x8531b7,_0x2ffa70):_0x530470(_0x2ffa70))||_0x2ffa70);return _0x1c3c89&&_0x2ffa70&&_0xb96bdb(_0x299bf0,_0x8531b7,_0x2ffa70),_0x2ffa70;},_0x495d9a=(_0x1b60be,_0x428db8)=>(_0x4e6044,_0x108719)=>_0x428db8(_0x4e6044,_0x108719,_0x1b60be);_0x121304[_0x406fa3(0x227)]=class{constructor(_0x528562,_0x263d91){const _0x1eed7a=_0x406fa3;this[_0x1eed7a(0x165)]=_0x528562,this[_0x1eed7a(0x263)]=_0x263d91;}async[_0x406fa3(0x1f5)](_0x3db728,_0x5be707){const _0x353fd2=_0x406fa3;var _0x193629;const {unitID:_0xb16c01,type:_0x1b84be,revision:_0x4f8637=0x0}=_0x5be707,_0x25afc9=this[_0x353fd2(0x449)]()+'/'+_0x1b84be+_0x353fd2(0x52a)+_0xb16c01+_0x353fd2(0x31e)+_0x4f8637,_0x384444=(await this[_0x353fd2(0x263)][_0x353fd2(0x503)](_0x25afc9))['body'],_0xbedf79=(_0x193629=_0x384444['snapshot'])==null?void 0x0:_0x193629[_0x353fd2(0x4f8)];if(_0xbedf79){const _0x519bc1=_0xbedf79==null?void 0x0:_0xbedf79[_0x353fd2(0x239)],_0x557ee3=_0x5d08[_0x353fd2(0x25d)][_0x353fd2(0x4ca)](_0x5d08[_0x353fd2(0x26b)](_0x519bc1));_0xbedf79[_0x353fd2(0x239)]=_0x557ee3,Object[_0x353fd2(0x31c)](_0xbedf79[_0x353fd2(0x26a)])[_0x353fd2(0x569)](([,_0x17bbfb])=>{const _0xc0571=_0x353fd2,_0x20f648=_0x17bbfb[_0xc0571(0x239)],_0x36b93d=_0x5d08['textEncoder']['encode'](_0x5d08['b64DecodeUnicode'](_0x20f648));_0x17bbfb[_0xc0571(0x239)]=_0x36b93d;});}return _0x384444;}async[_0x406fa3(0x2ff)](_0x2b5bc8,_0x432b6f){const _0x295ba9=_0x406fa3,{unitID:_0x36802c,type:_0x39e351,blockID:_0x537765}=_0x432b6f,_0x5170f0=this['_getAPIPrefix']()+'/'+_0x39e351+_0x295ba9(0x52a)+_0x36802c+'/block/'+_0x537765;return(await this['_httpService'][_0x295ba9(0x503)](_0x5170f0))[_0x295ba9(0x51f)];}async['getDeserializedSheetBlock'](_0x3c9e18,_0x17b2d9){const _0x514af0=_0x406fa3,{unitID:_0x1aa280,type:_0x41ccfc,blockID:_0xb35eee}=_0x17b2d9,_0x45c46e=this[_0x514af0(0x352)]()+_0x514af0(0x46d)+_0x41ccfc+_0x514af0(0x52a)+_0x1aa280+_0x514af0(0x46d)+_0xb35eee;return(await this[_0x514af0(0x263)][_0x514af0(0x503)](_0x45c46e))[_0x514af0(0x51f)];}async['fetchMissingChangesets'](_0x207886,_0x118868){const _0x644733=_0x406fa3,{unitID:_0x74f89a,type:_0x12e896,from:_0x3bef5d,to:_0x597330}=_0x118868,_0xbc8557=this[_0x644733(0x352)]()+'/'+_0x12e896+_0x644733(0x52a)+_0x74f89a+_0x644733(0x2d5)+_0x3bef5d+_0x644733(0x2cd)+_0x597330;return(await this[_0x644733(0x263)]['get'](_0xbc8557))['body'];}[_0x406fa3(0x449)](){const _0x356089=_0x406fa3;var _0x4e6b8a;return(_0x4e6b8a=this['_configService'][_0x356089(0x377)](_0x653581))!=null?_0x4e6b8a:this['_getAPIPrefix']();}['_getAPIPrefix'](){const _0x22a7fc=_0x406fa3;var _0xb4ed94,_0x24a7c2;const _0x553be3=this[_0x22a7fc(0x165)][_0x22a7fc(0x377)](_0x4ab17e),_0x3b2087=this['_configService'][_0x22a7fc(0x377)](_0x41c87a);return(_0x24a7c2=(_0xb4ed94=_0x3b2087==null?void 0x0:_0x3b2087[_0x22a7fc(0x4eb)])!=null?_0xb4ed94:_0x553be3)!=null?_0x24a7c2:_0x22141f;}async['getResourcesRequest'](_0x118b49,_0x3b6825){const _0x3d86cb=_0x406fa3,_0x1701ad=_0x3d86cb(0x4dc)+_0x3b6825[_0x3d86cb(0x460)]+_0x3d86cb(0x52a)+_0x3b6825[_0x3d86cb(0x42a)]+_0x3d86cb(0x3e6);return(await this[_0x3d86cb(0x263)][_0x3d86cb(0x503)](_0x1701ad,{'params':{'resourceId':JSON['stringify'](_0x3b6825['resourceIDs'])}}))[_0x3d86cb(0x51f)];}[_0x406fa3(0x3fb)](){const _0x2615ce=_0x406fa3;throw new Error(_0x2615ce(0x376));}[_0x406fa3(0x4f2)](){const _0x5a9e57=_0x406fa3;throw new Error(_0x5a9e57(0x376));}[_0x406fa3(0x443)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x121304[_0x406fa3(0x227)]=_0x53da0c([_0x495d9a(0x0,_0x278695['IConfigService']),_0x495d9a(0x1,_0x278695['Inject'](_0x166997[_0x406fa3(0x3f5)]))],_0x121304[_0x406fa3(0x227)]);var _0x3e3d7a=Object[_0x406fa3(0x1a2)],_0x27f84e=Object[_0x406fa3(0x187)],_0x3f93eb=(_0x3353f1,_0xb5e1d4,_0x1f1a33,_0x12e420)=>{const _0x1d4a48=_0x406fa3;for(var _0x4ddc46=_0x12e420>0x1?void 0x0:_0x12e420?_0x27f84e(_0xb5e1d4,_0x1f1a33):_0xb5e1d4,_0x46348b=_0x3353f1[_0x1d4a48(0x565)]-0x1,_0x4f0bd6;_0x46348b>=0x0;_0x46348b--)(_0x4f0bd6=_0x3353f1[_0x46348b])&&(_0x4ddc46=(_0x12e420?_0x4f0bd6(_0xb5e1d4,_0x1f1a33,_0x4ddc46):_0x4f0bd6(_0x4ddc46))||_0x4ddc46);return _0x12e420&&_0x4ddc46&&_0x3e3d7a(_0xb5e1d4,_0x1f1a33,_0x4ddc46),_0x4ddc46;},_0x1d509a=(_0x1adc80,_0x39afd6)=>(_0x116e86,_0x305d5c)=>_0x39afd6(_0x116e86,_0x305d5c,_0x1adc80);let _0x441313=class extends _0x278695['LocalUndoRedoService']{constructor(_0x5ce94d,_0x574e5c,_0x33f7e4,_0x44c5c0,_0x55080c){const _0x505331=_0x406fa3;super(_0x5ce94d,_0x574e5c,_0x33f7e4),this['_transformService']=_0x44c5c0,this[_0x505331(0x334)]=_0x55080c;}[_0x406fa3(0x3ee)](_0xd484a3,_0x1e952e){const _0x3ee6d9=_0x406fa3,_0x1100fc=this[_0x3ee6d9(0x4ef)](_0xd484a3);if(_0x1100fc)try{const _0x3fb445=this[_0x3ee6d9(0x54c)](_0x1100fc,_0x1e952e);this[_0x3ee6d9(0x391)](_0xd484a3,_0x3fb445);}catch(_0x564f53){this[_0x3ee6d9(0x334)][_0x3ee6d9(0x228)](_0x3ee6d9(0x530),_0x564f53),this['_clearUndo'](_0xd484a3);}const _0x17c33f=this['_getRedoStack'](_0xd484a3);if(_0x17c33f)try{const _0x11000f=this['_transformStack'](_0x17c33f,_0x1e952e);this[_0x3ee6d9(0x3fc)](_0xd484a3,_0x11000f);}catch(_0xef8e03){this[_0x3ee6d9(0x334)][_0x3ee6d9(0x228)](_0xef8e03),this[_0x3ee6d9(0x424)](_0xd484a3);}}['_clearUndo'](_0x40b1a9){const _0x28c793=_0x406fa3,_0x8cff68=this[_0x28c793(0x4ef)](_0x40b1a9);_0x8cff68&&(_0x8cff68['length']=0x0,this[_0x28c793(0x521)]());}[_0x406fa3(0x424)](_0x1093e3){const _0x11bcc9=_0x406fa3,_0x26c809=this[_0x11bcc9(0x308)](_0x1093e3);_0x26c809&&(_0x26c809[_0x11bcc9(0x565)]=0x0,this[_0x11bcc9(0x521)]());}['_substituteUndoStack'](_0x4d58c5,_0x21f2e5){const _0x1c8c5c=_0x406fa3;this['_undoStacks'][_0x1c8c5c(0x30e)](_0x4d58c5,_0x21f2e5),this[_0x1c8c5c(0x521)]();}['_substituteRedoStack'](_0x13e86b,_0x41f1e4){const _0x560cdc=_0x406fa3;this[_0x560cdc(0x3a4)]['set'](_0x13e86b,_0x41f1e4),this[_0x560cdc(0x521)]();}[_0x406fa3(0x54c)](_0x42d9e0,_0x5650a1){const _0x19e6e1=_0x406fa3,_0x1dbeda=[];let _0x5b99f8=_0x5650a1,_0x15aefd=_0x5650a1;for(let _0x8ac2dd=_0x42d9e0[_0x19e6e1(0x565)]-0x1;_0x8ac2dd>=0x0;_0x8ac2dd--){const {unitID:_0x186c4d,undoMutations:_0x1eb13d,redoMutations:_0x20de4f}=_0x42d9e0[_0x8ac2dd],_0x808036=this[_0x19e6e1(0x193)][_0x19e6e1(0x3d0)](_0x5b99f8,_0x1eb13d),_0x139948=this[_0x19e6e1(0x193)]['transformMutationsWithChangeset'](_0x15aefd,_0x20de4f);if(_0x5d08[_0x19e6e1(0x533)](_0x808036)||_0x5d08[_0x19e6e1(0x533)](_0x139948)){this[_0x19e6e1(0x334)][_0x19e6e1(0x228)](_0x19e6e1(0x530),_0x19e6e1(0x1da),_0x808036,_0x139948);break;}_0x5b99f8=_0x808036[_0x19e6e1(0x4c2)],_0x15aefd=_0x139948[_0x19e6e1(0x4c2)],_0x1dbeda[_0x19e6e1(0x355)]({'unitID':_0x186c4d,'undoMutations':_0x808036['m2Prime'],'redoMutations':_0x139948['m2Prime']});}return _0x1dbeda[_0x19e6e1(0x1f2)]();}};_0x441313=_0x3f93eb([_0x1d509a(0x0,_0x278695[_0x406fa3(0x2d6)]),_0x1d509a(0x1,_0x278695['ICommandService']),_0x1d509a(0x2,_0x278695[_0x406fa3(0x493)]),_0x1d509a(0x3,_0x5d08[_0x406fa3(0x4fb)]),_0x1d509a(0x4,_0x278695[_0x406fa3(0x21a)])],_0x441313);class _0x1c38ad extends _0x278695[_0x406fa3(0x20b)]{constructor(){const _0x54b490=_0x406fa3;super(),_0x175777(this,_0x54b490(0x252)),this['urlChange$']=_0x34a6cc[_0x54b490(0x173)](window,_0x54b490(0x397))['pipe'](_0x34a6cc[_0x54b490(0x1d2)](this[_0x54b490(0x37d)]),_0x34a6cc['shareReplay'](0x1),_0x34a6cc[_0x54b490(0x3c8)](void 0x0));}[_0x406fa3(0x24b)](_0x5d0823,_0x52f440,_0x5d4ea6=!0x1){const _0x4b5620=_0x406fa3,_0x470a15=new URL(window[_0x4b5620(0x413)][_0x4b5620(0x2c0)]);_0x470a15[_0x4b5620(0x38d)][_0x4b5620(0x30e)](_0x5d0823,_0x52f440),_0x5d4ea6?window[_0x4b5620(0x16a)][_0x4b5620(0x1e4)]('','',_0x470a15[_0x4b5620(0x1b6)]()):window[_0x4b5620(0x16a)][_0x4b5620(0x526)]('','',_0x470a15[_0x4b5620(0x1b6)]());}[_0x406fa3(0x255)](_0xda1802,_0x5b1391=!0x1){const _0x39e774=_0x406fa3,_0x172c6f=new URL(window[_0x39e774(0x413)]['href']);_0x172c6f['searchParams']['delete'](_0xda1802),_0x5b1391?window['history'][_0x39e774(0x1e4)]('','',_0x172c6f[_0x39e774(0x1b6)]()):window['history'][_0x39e774(0x526)]('','',_0x172c6f['toString']());}[_0x406fa3(0x517)](_0x7c0a6a){const _0x566029=_0x406fa3;var _0x25e69e;return(_0x25e69e=new URL(window[_0x566029(0x413)][_0x566029(0x2c0)])['searchParams']['get'](_0x7c0a6a))!=null?_0x25e69e:void 0x0;}}var _0x56171e=Object['defineProperty'],_0x1f54da=Object[_0x406fa3(0x187)],_0x4e6892=(_0x381b08,_0x8fcae,_0x5340a7)=>_0x8fcae in _0x381b08?_0x56171e(_0x381b08,_0x8fcae,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5340a7}):_0x381b08[_0x8fcae]=_0x5340a7,_0x2a0ccb=(_0x4715bc,_0x33f16f,_0x42431b,_0x58bed3)=>{const _0x64f4a=_0x406fa3;for(var _0x3af9de=_0x58bed3>0x1?void 0x0:_0x58bed3?_0x1f54da(_0x33f16f,_0x42431b):_0x33f16f,_0x471c09=_0x4715bc[_0x64f4a(0x565)]-0x1,_0x212a8e;_0x471c09>=0x0;_0x471c09--)(_0x212a8e=_0x4715bc[_0x471c09])&&(_0x3af9de=(_0x58bed3?_0x212a8e(_0x33f16f,_0x42431b,_0x3af9de):_0x212a8e(_0x3af9de))||_0x3af9de);return _0x58bed3&&_0x3af9de&&_0x56171e(_0x33f16f,_0x42431b,_0x3af9de),_0x3af9de;},_0x1d62d9=(_0x41c10f,_0x370984)=>(_0x2534b3,_0x1080c9)=>_0x370984(_0x2534b3,_0x1080c9,_0x41c10f),_0x1d728e=(_0x253816,_0x548a9d,_0x1c5ef9)=>_0x4e6892(_0x253816,_0x548a9d+'',_0x1c5ef9);const _0x4a147c=_0x406fa3(0x333);_0x121304['UniverCollaborationClientPlugin']=class extends _0x278695[_0x406fa3(0x390)]{constructor(_0xece751=_0xe8dc9c,_0x10937d,_0x3b0487,_0x513996,_0xaccc90){const _0x32b041=_0x406fa3;super(),this[_0x32b041(0x294)]=_0xece751,this[_0x32b041(0x334)]=_0x10937d,this['_renderManagerService']=_0x3b0487,this[_0x32b041(0x557)]=_0x513996,this['_configService']=_0xaccc90;const {..._0x3847ee}=this[_0x32b041(0x294)];this[_0x32b041(0x165)][_0x32b041(0x23c)](_0x41c87a,_0x3847ee);}[_0x406fa3(0x457)](){const _0x41757d=_0x406fa3;this[_0x41757d(0x4da)](),_0x278695[_0x41757d(0x4e8)](this[_0x41757d(0x557)],[[_0x18b6d9],[_0x121304[_0x41757d(0x554)]],[_0x26f263]]);}[_0x406fa3(0x1cb)](){const _0x3c9b09=_0x406fa3;_0x278695[_0x3c9b09(0x4e8)](this[_0x3c9b09(0x557)],[[_0x5cd4f4]]);}[_0x406fa3(0x225)](){const _0xaee22b=_0x406fa3;this[_0xaee22b(0x584)]();}['_registerDependencies'](){const _0x1ee68f=_0x406fa3;var _0xa4e74f,_0x2dc55d,_0x53500d,_0x3ee9bf;this['_injector'][_0x1ee68f(0x39d)](_0x278695[_0x1ee68f(0x366)])&&this['_logService'][_0x1ee68f(0x228)]('[UniverCollaborationClientPlugin]',_0x1ee68f(0x1c5));let _0x4f8107=[[_0x278695[_0x1ee68f(0x366)],{'useClass':_0x441313}],[_0x121304[_0x1ee68f(0x502)]],[_0x3e1517],[_0x166997[_0x1ee68f(0x3f5)]],[_0xe2ca99,{'useClass':_0x1c38ad}],[_0x76bc39],[_0x121304[_0x1ee68f(0x2a4)]],[_0x166997[_0x1ee68f(0x404)]],[_0x3cacd1],[_0x5c3f94],[_0x4b08e2],[_0x5a7762],[_0x4e78f1],[_0x4f26e5],[_0x646873],[_0x26f263],[_0x441b2a,{'useClass':(_0x2dc55d=(_0xa4e74f=this[_0x1ee68f(0x294)])==null?void 0x0:_0xa4e74f[_0x1ee68f(0x282)])!=null?_0x2dc55d:_0x121304[_0x1ee68f(0x31a)]}],[_0x166997[_0x1ee68f(0x306)],{'useClass':_0x166997[_0x1ee68f(0x4c7)]}],[_0x5d08[_0x1ee68f(0x455)],{'useClass':_0x121304['SnapshotServerOverHTTPService']}],[_0x278695['IAuthzIoService'],{'useClass':_0x121304[_0x1ee68f(0x549)]}],[_0x2d0385[_0x1ee68f(0x19a)],{'useClass':_0x121304['ImageIoService']}],[_0x121304[_0x1ee68f(0x51e)]],[_0x121304['DataLoaderController']],[_0x121304[_0x1ee68f(0x36a)]],[_0x5cd4f4],[_0x18b6d9]];(_0x53500d=this[_0x1ee68f(0x294)])!=null&&_0x53500d[_0x1ee68f(0x3c5)]&&_0x4f8107[_0x1ee68f(0x355)]([_0x3af33e,{'useClass':_0x898983}]),_0x4f8107=_0x278695[_0x1ee68f(0x2f6)](_0x4f8107,(_0x3ee9bf=this[_0x1ee68f(0x294)])==null?void 0x0:_0x3ee9bf[_0x1ee68f(0x3a3)]),_0x4f8107[_0x1ee68f(0x569)](_0x4668eb=>this[_0x1ee68f(0x557)][_0x1ee68f(0x1ee)](_0x4668eb)),this[_0x1ee68f(0x224)]();}[_0x406fa3(0x584)](){const _0x50b745=_0x406fa3;this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](_0x278695['UniverInstanceType'][_0x50b745(0x373)],[_0x2a6ae4])),this[_0x50b745(0x343)](this[_0x50b745(0x257)][_0x50b745(0x3c0)](_0x278695[_0x50b745(0x266)][_0x50b745(0x4fc)],[_0xdd3747]));}[_0x406fa3(0x224)](){const _0x58be54=_0x406fa3;var _0x272b85,_0xff4944;this[_0x58be54(0x557)][_0x58be54(0x503)](_0x166997['HTTPService'])[_0x58be54(0x171)]({'priority':0x14,'interceptor':_0x166997[_0x58be54(0x314)]({'maxParallel':0x6})}),this[_0x58be54(0x557)]['get'](_0x4f26e5),(_0x272b85=this['_config'])!=null&&_0x272b85['enableOfflineEditing']||this[_0x58be54(0x557)][_0x58be54(0x503)](_0x121304[_0x58be54(0x2a4)])['disableLocalCache'](),(_0xff4944=this[_0x58be54(0x294)])!=null&&_0xff4944[_0x58be54(0x1a0)]&&this[_0x58be54(0x557)][_0x58be54(0x503)](_0x4e78f1),this[_0x58be54(0x557)][_0x58be54(0x503)](_0x121304[_0x58be54(0x51e)]),this[_0x58be54(0x557)][_0x58be54(0x39d)](_0x121304[_0x58be54(0x36a)])&&this[_0x58be54(0x557)][_0x58be54(0x503)](_0x121304[_0x58be54(0x36a)]);}},_0x1d728e(_0x121304[_0x406fa3(0x353)],_0x406fa3(0x142),_0x4a147c),_0x121304[_0x406fa3(0x353)]=_0x2a0ccb([_0x278695[_0x406fa3(0x246)](_0x5d08['UniverCollaborationPlugin']),_0x1d62d9(0x1,_0x278695['ILogService']),_0x1d62d9(0x2,_0x363b07['IRenderManagerService']),_0x1d62d9(0x3,_0x278695['Inject'](_0x278695[_0x406fa3(0x18f)])),_0x1d62d9(0x4,_0x278695[_0x406fa3(0x4c4)])],_0x121304[_0x406fa3(0x353)]),_0x121304[_0x406fa3(0x3b2)]=_0x488b7c,_0x121304[_0x406fa3(0x47c)]=_0x41e0fd,_0x121304[_0x406fa3(0x458)]=_0xc7bdf9,_0x121304['CollaborationStatus']=_0x59cf14,_0x121304[_0x406fa3(0x339)]=_0x158ac5,_0x121304[_0x406fa3(0x276)]=_0x646873,_0x121304[_0x406fa3(0x20a)]=_0x268833,_0x121304[_0x406fa3(0x3c3)]=_0x52d634,_0x121304[_0x406fa3(0x3c4)]=_0x441b2a,_0x121304[_0x406fa3(0x2aa)]=_0xe2ca99,_0x121304[_0x406fa3(0x259)]=_0x5d6c68,_0x121304['LOGIN_URL_KEY']=_0x103765,_0x121304['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x249b8f,_0x121304[_0x406fa3(0x41b)]=_0x10395e,_0x121304[_0x406fa3(0x444)]=_0x4ab17e,_0x121304[_0x406fa3(0x563)]=_0x653581,_0x121304[_0x406fa3(0x37b)]=_0xc1ac50,_0x121304[_0x406fa3(0x1d6)]=_0x17af96,_0x121304['WebURLService']=_0x1c38ad,_0x121304[_0x406fa3(0x230)]=_0x47c5f1,_0x121304['serializeCombRequest']=_0xd73f22,Object[_0x406fa3(0x1a2)](_0x121304,Symbol[_0x406fa3(0x1c9)],{'value':'Module'});}));