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

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(_0x2119ff,_0x65f700){const _0x1ac192=_0x3ba2,_0x1d2411=_0x2119ff();while(!![]){try{const _0x561f5b=-parseInt(_0x1ac192(0x2a6))/0x1+parseInt(_0x1ac192(0x3cb))/0x2*(-parseInt(_0x1ac192(0x28c))/0x3)+parseInt(_0x1ac192(0x1c1))/0x4*(parseInt(_0x1ac192(0x473))/0x5)+-parseInt(_0x1ac192(0x4c7))/0x6*(parseInt(_0x1ac192(0x28f))/0x7)+-parseInt(_0x1ac192(0x542))/0x8*(-parseInt(_0x1ac192(0x424))/0x9)+parseInt(_0x1ac192(0x2ea))/0xa+parseInt(_0x1ac192(0x36a))/0xb*(parseInt(_0x1ac192(0x260))/0xc);if(_0x561f5b===_0x65f700)break;else _0x1d2411['push'](_0x1d2411['shift']());}catch(_0x3d792b){_0x1d2411['push'](_0x1d2411['shift']());}}}(_0x5047,0x953dd),function(_0x5b2c3c,_0x18a961){const _0x427118=_0x3ba2;typeof exports==_0x427118(0x452)&&typeof module<'u'?_0x18a961(exports,require('@univerjs/core'),require('rxjs'),require(_0x427118(0x370)),require(_0x427118(0x414)),require(_0x427118(0x1f3)),require(_0x427118(0x343)),require(_0x427118(0x2c2)),require(_0x427118(0x32a)),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require(_0x427118(0x2dd)),require('@univerjs/engine-formula'),require(_0x427118(0x1d9)),require(_0x427118(0x1e9)),require(_0x427118(0x4ae)),require(_0x427118(0x22d))):typeof define==_0x427118(0x2d2)&&define['amd']?define(['exports',_0x427118(0x364),_0x427118(0x2bf),_0x427118(0x370),'@univerjs/design',_0x427118(0x1f3),_0x427118(0x343),_0x427118(0x2c2),_0x427118(0x32a),_0x427118(0x2d7),_0x427118(0x2d6),_0x427118(0x45e),_0x427118(0x2f0),'@univerjs/drawing',_0x427118(0x38a),_0x427118(0x1d9),_0x427118(0x1e9),_0x427118(0x4ae),_0x427118(0x22d)],_0x18a961):(_0x5b2c3c=typeof globalThis<'u'?globalThis:_0x5b2c3c||self,_0x18a961(_0x5b2c3c[_0x427118(0x48f)]={},_0x5b2c3c[_0x427118(0x213)],_0x5b2c3c['rxjs'],_0x5b2c3c[_0x427118(0x2bf)][_0x427118(0x2ad)],_0x5b2c3c[_0x427118(0x37c)],_0x5b2c3c['UniverUi'],_0x5b2c3c[_0x427118(0x403)],_0x5b2c3c[_0x427118(0x31e)],_0x5b2c3c[_0x427118(0x1aa)],_0x5b2c3c[_0x427118(0x169)],_0x5b2c3c[_0x427118(0x192)],_0x5b2c3c[_0x427118(0x4e4)],_0x5b2c3c[_0x427118(0x3aa)],_0x5b2c3c[_0x427118(0x48b)],_0x5b2c3c[_0x427118(0x153)],_0x5b2c3c['UniverSheetsUi'],_0x5b2c3c[_0x427118(0x3d2)],_0x5b2c3c['UniverRpc'],_0x5b2c3c['UniverLicense']));}(this,function(_0x5c4621,_0x511a8d,_0x1fcaf6,_0x5e0e9a,_0x278c7c,_0x2fad45,_0x1ebb7f,_0xa51b04,_0x2d71be,_0x106b3c,_0x457ad5,_0x11a28e,_0x47232b,_0x59f075,_0x29616f,_0x3beb13,_0x3eadf5,_0x412353,_0x42f0df){'use strict';const _0x2d2308=_0x3ba2;var _0x18d7ab=Object['defineProperty'],_0x207598=(_0x33fb82,_0x572ffc,_0x551dfe)=>_0x572ffc in _0x33fb82?_0x18d7ab(_0x33fb82,_0x572ffc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x551dfe}):_0x33fb82[_0x572ffc]=_0x551dfe,_0x3d9158=(_0x53799d,_0x3c8dcb,_0x3cbd9e)=>_0x207598(_0x53799d,typeof _0x3c8dcb!=_0x2d2308(0x514)?_0x3c8dcb+'':_0x3c8dcb,_0x3cbd9e);const _0x336d9b=_0x2d2308(0x200),_0x466325=_0x2d2308(0x1f9),_0x72d972='SNAPSHOT_URL_KEY',_0x531fe2=_0x2d2308(0x1f5),_0x54e241='COLLAB_WEB_SOCKET_URL',_0x320452=_0x2d2308(0x326),_0x10436f=_0x2d2308(0x369),_0x5c3ac2=_0x2d2308(0x4b0),_0x4afa7a=_0x2d2308(0x389),_0x4bff9a='LOCAL_CACHE_INTERVAL',_0xea8175=_0x2d2308(0x41c),_0x5dacd0=_0x2d2308(0x24b),_0x2a4af3=_0x2d2308(0x52c),_0x245c8e=_0x2d2308(0x1b4);var _0x1c3ffd=(_0x828181=>(_0x828181[_0x828181['UNDEFINED']=0x0]='UNDEFINED',_0x828181[_0x828181['OK']=0x1]='OK',_0x828181[_0x828181[_0x2d2308(0x50a)]=0x2]=_0x2d2308(0x50a),_0x828181[_0x828181[_0x2d2308(0x53a)]=0x3]=_0x2d2308(0x53a),_0x828181[_0x828181[_0x2d2308(0x38f)]=0x4]=_0x2d2308(0x38f),_0x828181[_0x828181[_0x2d2308(0x3e0)]=0x5]=_0x2d2308(0x3e0),_0x828181[_0x828181['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x828181[_0x828181[_0x2d2308(0x43c)]=0x7]=_0x2d2308(0x43c),_0x828181[_0x828181[_0x2d2308(0x1f8)]=0x8]=_0x2d2308(0x1f8),_0x828181[_0x828181[_0x2d2308(0x450)]=0x9]='COMPLETION_FINISHED',_0x828181[_0x828181['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x2d2308(0x51f),_0x828181[_0x828181[_0x2d2308(0x4b7)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x828181[_0x828181['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x2d2308(0x2f5),_0x828181[_0x828181[_0x2d2308(0x374)]=0x1b59]=_0x2d2308(0x374),_0x828181[_0x828181[_0x2d2308(0x1c6)]=0x1b5a]=_0x2d2308(0x1c6),_0x828181[_0x828181[_0x2d2308(0x4bd)]=0x1b5b]=_0x2d2308(0x4bd),_0x828181[_0x828181[_0x2d2308(0x204)]=0x1b5c]=_0x2d2308(0x204),_0x828181[_0x828181['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x2d2308(0x25a),_0x828181[_0x828181[_0x2d2308(0x38e)]=0x2329]=_0x2d2308(0x38e),_0x828181[_0x828181[_0x2d2308(0x432)]=0x232a]=_0x2d2308(0x432),_0x828181[_0x828181[_0x2d2308(0x316)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x828181[_0x828181['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x2d2308(0x538),_0x828181[_0x828181['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2d2308(0x145),_0x828181[_0x828181[_0x2d2308(0x498)]=0x2711]=_0x2d2308(0x498),_0x828181[_0x828181[_0x2d2308(0x54a)]=0x2712]=_0x2d2308(0x54a),_0x828181[_0x828181[_0x2d2308(0x505)]=0x2713]=_0x2d2308(0x505),_0x828181[_0x828181[_0x2d2308(0x3ba)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x828181[_0x828181[_0x2d2308(0x4ac)]=-0x1]='UNRECOGNIZED',_0x828181))(_0x1c3ffd||{}),_0x469253=(_0x5e0946=>(_0x5e0946[_0x5e0946['UNIVER_UNKNOWN']=0x0]=_0x2d2308(0x384),_0x5e0946[_0x5e0946[_0x2d2308(0x183)]=0x1]='UNIVER_DOC',_0x5e0946[_0x5e0946[_0x2d2308(0x1b5)]=0x2]=_0x2d2308(0x1b5),_0x5e0946[_0x5e0946[_0x2d2308(0x151)]=0x3]=_0x2d2308(0x151),_0x5e0946[_0x5e0946[_0x2d2308(0x3dc)]=0x4]=_0x2d2308(0x3dc),_0x5e0946[_0x5e0946['UNRECOGNIZED']=-0x1]=_0x2d2308(0x4ac),_0x5e0946))(_0x469253||{}),_0x308b32=(_0x3c483a=>(_0x3c483a[_0x3c483a[_0x2d2308(0x339)]=0x0]=_0x2d2308(0x339),_0x3c483a[_0x3c483a['HELLO']=0x1]='HELLO',_0x3c483a[_0x3c483a[_0x2d2308(0x1ba)]=0x2]=_0x2d2308(0x1ba),_0x3c483a[_0x3c483a[_0x2d2308(0x207)]=0x3]=_0x2d2308(0x207),_0x3c483a[_0x3c483a[_0x2d2308(0x540)]=0x4]=_0x2d2308(0x540),_0x3c483a[_0x3c483a[_0x2d2308(0x393)]=0x5]=_0x2d2308(0x393),_0x3c483a[_0x3c483a['RECV']=0x6]=_0x2d2308(0x1f4),_0x3c483a[_0x3c483a['UNRECOGNIZED']=-0x1]=_0x2d2308(0x4ac),_0x3c483a))(_0x308b32||{}),_0x3ba7cd=(_0x39ab10=>(_0x39ab10[_0x39ab10['UNKNOWN_CODE']=0x0]=_0x2d2308(0x222),_0x39ab10[_0x39ab10['OK']=0x1]='OK',_0x39ab10[_0x39ab10[_0x2d2308(0x1db)]=0x2]='FAIL',_0x39ab10[_0x39ab10[_0x2d2308(0x4ac)]=-0x1]=_0x2d2308(0x4ac),_0x39ab10))(_0x3ba7cd||{}),_0x344737=(_0x1c8069=>(_0x1c8069[_0x1c8069[_0x2d2308(0x52d)]=0x0]=_0x2d2308(0x52d),_0x1c8069[_0x1c8069[_0x2d2308(0x4ff)]=0x1]='HttpImport',_0x1c8069[_0x1c8069[_0x2d2308(0x13a)]=0x2]=_0x2d2308(0x13a),_0x1c8069[_0x1c8069[_0x2d2308(0x231)]=0x3]=_0x2d2308(0x231),_0x1c8069[_0x1c8069[_0x2d2308(0x559)]=0x4]=_0x2d2308(0x559),_0x1c8069[_0x1c8069[_0x2d2308(0x4ac)]=-0x1]='UNRECOGNIZED',_0x1c8069))(_0x344737||{});const _0x29065d=_0x2d2308(0x379),_0x3a5c9a={};function _0x5718d6(_0x56e0a2){const _0x256f16=_0x2d2308;var _0x2425dc,_0xee3a0e,_0x368a8a,_0x39ef8e;const _0x5d480e=_0x56e0a2[_0x256f16(0x142)],_0x3cf1ef=JSON['parse'](_0x5d480e);switch(_0x3cf1ef['cmd']){case _0x308b32[_0x256f16(0x393)]:case _0x308b32[_0x256f16(0x521)]:{const _0x5112f9=_0x3cf1ef['infoRsp'];return{..._0x3cf1ef,'data':_0x5112f9,'cmd':_0x3cf1ef['cmd']};}case _0x308b32[_0x256f16(0x1ba)]:{const _0x34bb0e=_0x3cf1ef[_0x256f16(0x1c5)];return{..._0x3cf1ef,'data':_0x34bb0e,'cmd':_0x3cf1ef['cmd']};}case _0x308b32[_0x256f16(0x1f4)]:{const _0x1aa230=_0x3cf1ef[_0x256f16(0x2eb)];switch(_0x1aa230[_0x256f16(0x175)]){case _0xa51b04['CollaborationEvent'][_0x256f16(0x157)]:return{..._0x3cf1ef,'data':{..._0x1aa230,'data':(_0x2425dc=_0x1aa230['permissionRejEvent'])==null?void 0x0:_0x2425dc['cs']},'cmd':_0x3cf1ef[_0x256f16(0x484)]};case _0xa51b04[_0x256f16(0x3fa)][_0x256f16(0x24e)]:return{..._0x3cf1ef,'data':{..._0x1aa230,'data':(_0xee3a0e=_0x1aa230[_0x256f16(0x46b)])==null?void 0x0:_0xee3a0e['cs']},'cmd':_0x3cf1ef[_0x256f16(0x484)]};case _0xa51b04[_0x256f16(0x3fa)][_0x256f16(0x23c)]:return{..._0x3cf1ef,'data':{..._0x1aa230,'data':(_0x368a8a=_0x1aa230[_0x256f16(0x218)])==null?void 0x0:_0x368a8a['cs']},'cmd':_0x3cf1ef[_0x256f16(0x484)]};case _0xa51b04['CollaborationEvent'][_0x256f16(0x2a4)]:return{..._0x3cf1ef,'data':{..._0x1aa230,'data':(_0x39ef8e=_0x1aa230[_0x256f16(0x2bd)])==null?void 0x0:_0x39ef8e['cs']},'cmd':_0x3cf1ef['cmd']};case _0xa51b04[_0x256f16(0x3fa)][_0x256f16(0x4c9)]:return{..._0x3cf1ef,'data':{..._0x1aa230,'data':_0x1aa230[_0x256f16(0x277)]},'cmd':_0x3cf1ef[_0x256f16(0x484)]};case _0xa51b04[_0x256f16(0x3fa)][_0x256f16(0x502)]:return{..._0x3cf1ef,'data':{..._0x1aa230,'data':_0x1aa230[_0x256f16(0x550)]},'cmd':_0x3cf1ef['cmd']};case _0xa51b04[_0x256f16(0x3fa)]['USERS_LEAVE']:return{..._0x3cf1ef,'data':{..._0x1aa230,'data':_0x1aa230[_0x256f16(0x52a)]},'cmd':_0x3cf1ef[_0x256f16(0x484)]};case _0xa51b04['CollaborationEvent'][_0x256f16(0x224)]:return{..._0x3cf1ef,'data':{..._0x1aa230,'data':_0x1aa230[_0x256f16(0x44c)]},'cmd':_0x3cf1ef['cmd']};case _0xa51b04['CollaborationEvent'][_0x256f16(0x31c)]:case _0xa51b04[_0x256f16(0x3fa)][_0x256f16(0x330)]:return{..._0x3cf1ef,'data':{..._0x1aa230,'data':_0x1aa230[_0x256f16(0x528)]},'cmd':_0x3cf1ef['cmd']};case _0xa51b04[_0x256f16(0x3fa)][_0x256f16(0x1de)]:return{..._0x3cf1ef,'data':{..._0x1aa230,'data':_0x1aa230[_0x256f16(0x44c)]},'cmd':_0x3cf1ef['cmd']};case _0xa51b04[_0x256f16(0x3fa)][_0x256f16(0x19a)]:return{..._0x3cf1ef,'data':_0x1aa230,'cmd':_0x3cf1ef[_0x256f16(0x484)]};case _0xa51b04[_0x256f16(0x3fa)][_0x256f16(0x300)]:return{..._0x3cf1ef,'data':{..._0x1aa230,'data':_0x1aa230[_0x256f16(0x131)]},'cmd':_0x3cf1ef[_0x256f16(0x484)]};case _0xa51b04[_0x256f16(0x3fa)]['UPDATE_PERMISSION_OBJ']:return{..._0x3cf1ef,'data':{..._0x1aa230,'data':_0x1aa230[_0x256f16(0x335)]},'cmd':_0x3cf1ef[_0x256f16(0x484)]};case _0xa51b04[_0x256f16(0x3fa)][_0x256f16(0x2c7)]:return{..._0x3cf1ef,'data':{..._0x1aa230,'data':_0x1aa230['shouldCloseConn']},'cmd':_0x3cf1ef[_0x256f16(0x484)]};default:return _0x3cf1ef;}}default:return _0x3cf1ef;}}function _0x4b39ba(_0x14273c){const _0x11b297=_0x2d2308;switch(_0x14273c[_0x11b297(0x484)]){case _0x308b32[_0x11b297(0x393)]:case _0x308b32[_0x11b297(0x521)]:return JSON[_0x11b297(0x26b)]({'cmd':_0x14273c[_0x11b297(0x484)],'routeKey':_0x14273c[_0x11b297(0x4a8)]});case _0x308b32[_0x11b297(0x540)]:{let _0x1b7005;switch(_0x14273c[_0x11b297(0x142)]['eventID']){case _0xa51b04[_0x11b297(0x3fa)][_0x11b297(0x4c9)]:{_0x1b7005={'eventID':_0xa51b04[_0x11b297(0x3fa)]['UPDATE_CURSOR'],'updateCursorEvent':_0x14273c[_0x11b297(0x142)][_0x11b297(0x142)]};break;}case _0xa51b04[_0x11b297(0x3fa)][_0x11b297(0x4ba)]:{_0x1b7005={'eventID':_0xa51b04[_0x11b297(0x3fa)][_0x11b297(0x4ba)],'leaveEvent':_0x14273c[_0x11b297(0x142)][_0x11b297(0x142)]};break;}case _0xa51b04[_0x11b297(0x3fa)]['USERS_ENTER']:{_0x1b7005={'eventID':_0xa51b04[_0x11b297(0x3fa)][_0x11b297(0x502)],'joinEvent':_0x14273c[_0x11b297(0x142)][_0x11b297(0x142)]};break;}case _0xa51b04[_0x11b297(0x3fa)]['LIVESHARE_NEW_HOST']:{_0x1b7005={'eventID':_0xa51b04[_0x11b297(0x3fa)][_0x11b297(0x224)],'liveShareNewHost':_0x14273c[_0x11b297(0x142)][_0x11b297(0x142)]};break;}case _0xa51b04[_0x11b297(0x3fa)][_0x11b297(0x330)]:{_0x1b7005={'eventID':_0xa51b04[_0x11b297(0x3fa)][_0x11b297(0x330)],'liveShareOperation':_0x14273c['data']['data']};break;}case _0xa51b04[_0x11b297(0x3fa)]['LIVESHARE_TERMINATE']:{_0x1b7005={'eventID':_0xa51b04[_0x11b297(0x3fa)][_0x11b297(0x1de)],'liveShareTerminate':_0x14273c[_0x11b297(0x142)][_0x11b297(0x142)]};break;}case _0xa51b04[_0x11b297(0x3fa)][_0x11b297(0x268)]:{_0x1b7005={'eventID':_0xa51b04[_0x11b297(0x3fa)][_0x11b297(0x268)],'liveShareRequestHost':_0x14273c[_0x11b297(0x142)]['data']};break;}case _0xa51b04[_0x11b297(0x3fa)]['LIVESHARE_FETCH_OPERATIONS']:{_0x1b7005={'eventID':_0xa51b04[_0x11b297(0x3fa)][_0x11b297(0x31c)]};break;}default:_0x1b7005={'eventID':_0x14273c[_0x11b297(0x142)][_0x11b297(0x175)]};}return JSON[_0x11b297(0x26b)]({'cmd':_0x14273c[_0x11b297(0x484)],'routeKey':_0x14273c['routeKey'],'collaMsg':_0x1b7005});}case _0x308b32[_0x11b297(0x1ba)]:return JSON[_0x11b297(0x26b)]({'cmd':_0x14273c[_0x11b297(0x484)],'routeKey':_0x14273c[_0x11b297(0x4a8)],'joinReq':_0x14273c[_0x11b297(0x142)]});case _0x308b32[_0x11b297(0x207)]:return JSON[_0x11b297(0x26b)]({'cmd':_0x14273c[_0x11b297(0x484)],'routeKey':_0x14273c['routeKey'],'leaveReq':_0x14273c[_0x11b297(0x142)]});default:throw new Error(_0x11b297(0x1af));}}var _0x437d42=Object[_0x2d2308(0x210)],_0x2f4a48=Object['getOwnPropertyDescriptor'],_0x116d67=(_0xdf5394,_0xbe810a,_0x4815ea,_0x5d9363)=>{const _0x4b17de=_0x2d2308;for(var _0x471083=_0x5d9363>0x1?void 0x0:_0x5d9363?_0x2f4a48(_0xbe810a,_0x4815ea):_0xbe810a,_0x4af3a4=_0xdf5394[_0x4b17de(0x1e3)]-0x1,_0x17bb5c;_0x4af3a4>=0x0;_0x4af3a4--)(_0x17bb5c=_0xdf5394[_0x4af3a4])&&(_0x471083=(_0x5d9363?_0x17bb5c(_0xbe810a,_0x4815ea,_0x471083):_0x17bb5c(_0x471083))||_0x471083);return _0x5d9363&&_0x471083&&_0x437d42(_0xbe810a,_0x4815ea,_0x471083),_0x471083;},_0x1b295e=(_0x2b8449,_0x59c92a)=>(_0x29d1e0,_0x4c119b)=>_0x59c92a(_0x29d1e0,_0x4c119b,_0x2b8449);const _0x2c20a1=_0x511a8d[_0x2d2308(0x4be)]('univer-pro.collaboration-client-socket-service');function _0x17b48a(_0x3806ba,_0x45a426,_0x4630af){const _0x5be707=_0x2d2308;return _0x3806ba+'/'+_0x45a426+_0x5be707(0x232)+_0x4630af+_0x5be707(0x560);}_0x5c4621['CollaborationSocketService']=class extends _0x511a8d['Disposable']{constructor(_0xad72de,_0x5e84a6,_0x39cb1e,_0x5b017d,_0x5439e5){const _0x2ac9bb=_0x2d2308;super(),this[_0x2ac9bb(0x4b5)]=_0xad72de,this[_0x2ac9bb(0x2f1)]=_0x5e84a6,this[_0x2ac9bb(0x366)]=_0x39cb1e,this['_logService']=_0x5b017d,this[_0x2ac9bb(0x4af)]=_0x5439e5;}['createSocket'](_0x3de3da){const _0x3b7250=_0x2d2308,_0x5be244=this[_0x3b7250(0x2f1)][_0x3b7250(0x28e)](_0x3de3da);if(!_0x5be244)throw new Error(_0x3b7250(0x52e));const _0x4372a5=new _0x511a8d[(_0x3b7250(0x51b))](),_0x47bf17=new _0x1fcaf6[(_0x3b7250(0x36d))]();_0x4372a5['add'](_0x5be244[_0x3b7250(0x39a)][_0x3b7250(0x2a1)](_0x226690=>_0x47bf17[_0x3b7250(0x535)](_0x226690))),_0x4372a5[_0x3b7250(0x2fc)](_0x511a8d[_0x3b7250(0x529)](()=>_0x47bf17['complete']()));const _0xe246f7=new _0x1fcaf6[(_0x3b7250(0x36d))]();_0x4372a5[_0x3b7250(0x2fc)](_0x5be244[_0x3b7250(0x44f)][_0x3b7250(0x2a1)](_0x45792a=>_0xe246f7['next'](_0x45792a))),_0x4372a5[_0x3b7250(0x2fc)](_0x511a8d['toDisposable'](()=>_0xe246f7['complete']()));const _0x589748=new _0x1fcaf6[(_0x3b7250(0x36d))]();_0x4372a5[_0x3b7250(0x2fc)](_0x5be244['message$'][_0x3b7250(0x2a1)](_0x5e7e1d=>{const _0x178563=_0x5718d6(_0x5e7e1d);_0x589748['next'](_0x178563);})),_0x4372a5['add'](_0x511a8d['toDisposable'](()=>_0x589748[_0x3b7250(0x33d)]()));let _0x59226d;const _0x390a75=()=>{const _0x235154=_0x3b7250;_0xe246f7[_0x235154(0x535)](new Event(_0x235154(0x43e))),_0x47bf17[_0x235154(0x535)](new CloseEvent(_0x235154(0x43e))),_0x59226d['close']();};return _0x59226d={'memberID':'','close$':_0x47bf17['asObservable'](),'error$':_0xe246f7['asObservable'](),'open$':_0x5be244[_0x3b7250(0x398)],'message$':_0x589748[_0x3b7250(0x1d7)](),'send':_0x4bf36c=>{const _0x594b20=_0x3b7250;if(_0x4bf36c[_0x594b20(0x484)]===_0x308b32[_0x594b20(0x540)]){if(_0x4bf36c['data'][_0x594b20(0x175)]===_0xa51b04[_0x594b20(0x3fa)][_0x594b20(0x287)]){this['_submitChangeset'](_0x59226d,_0x4bf36c['data'])['catch'](_0x490ebe=>{const _0x2571a8=_0x594b20;this[_0x2571a8(0x54c)][_0x2571a8(0x269)](_0x490ebe),_0x390a75();});return;}if(_0x4bf36c[_0x594b20(0x142)]['eventID']===_0xa51b04[_0x594b20(0x3fa)][_0x594b20(0x23e)]){const _0x3c10d4=_0x4bf36c[_0x594b20(0x142)];this['_fetchMissChangesets'](_0x3c10d4)['then'](_0x45e9c2=>{const _0x5738e3=_0x594b20;_0x589748[_0x5738e3(0x535)]({'cmd':_0x308b32[_0x5738e3(0x1f4)],'code':_0x3ba7cd['OK'],'routeKey':_0x3c10d4[_0x5738e3(0x142)][_0x5738e3(0x14c)],'routeType':'','data':{'eventID':_0xa51b04[_0x5738e3(0x3fa)][_0x5738e3(0x4ed)],'data':{'changesets':_0x45e9c2}}});})[_0x594b20(0x3ea)](_0x5c76a1=>{const _0x5ec647=_0x594b20;this[_0x5ec647(0x54c)][_0x5ec647(0x269)](_0x5c76a1),_0x390a75();});return;}}_0x5be244[_0x594b20(0x363)](_0x4b39ba(_0x4bf36c));},'close':()=>{const _0x4c4fd5=_0x3b7250;_0x5be244[_0x4c4fd5(0x1a8)](),_0x4372a5[_0x4c4fd5(0x2fb)]();}},_0x59226d;}async[_0x2d2308(0x2b0)](_0x25af36,_0x571c57){const _0x1ea673=_0x2d2308;var _0x4b5300,_0x4a029a;const {unitType:_0x1ad91a,unitID:_0x51ba96,changeset:_0x5ad6cc}=_0x571c57[_0x1ea673(0x142)],_0xac5794={'unitID':_0x51ba96,'memberID':_0x25af36[_0x1ea673(0x469)],'type':_0x1ad91a,'changeset':_0xa51b04[_0x1ea673(0x3a9)](_0x5ad6cc)},_0x1200f2=this[_0x1ea673(0x366)][_0x1ea673(0x12f)](_0xea8175),_0x391999=this[_0x1ea673(0x366)][_0x1ea673(0x12f)](_0x29065d),_0x47fd90=_0x17b48a((_0x4a029a=(_0x4b5300=_0x391999==null?void 0x0:_0x391999['collabSubmitChangesetUrl'])!=null?_0x4b5300:_0x1200f2)!=null?_0x4a029a:_0x5dacd0,_0x1ad91a,_0x51ba96);try{await this[_0x1ea673(0x4b5)][_0x1ea673(0x3ec)](_0x47fd90,{'body':_0xac5794});}catch(_0x374b28){throw this[_0x1ea673(0x54c)][_0x1ea673(0x269)](_0x1ea673(0x251),'submit\x20changeset\x20error!'),_0x374b28;}}async['_fetchMissChangesets'](_0x5eaab6){const _0x1156f5=_0x2d2308,{unitID:_0x184295,from:_0x4aaa92,to:_0x21a7e2,unitType:_0x3f9f3b}=_0x5eaab6[_0x1156f5(0x142)];return(await this[_0x1156f5(0x4af)][_0x1156f5(0x2fa)]({'metadata':void 0x0},{'unitID':_0x184295,'type':_0x3f9f3b,'from':_0x4aaa92,'to':_0x21a7e2}))[_0x1156f5(0x1bc)];}},_0x5c4621[_0x2d2308(0x21c)]=_0x116d67([_0x1b295e(0x0,_0x511a8d['Inject'](_0x1ebb7f[_0x2d2308(0x3c2)])),_0x1b295e(0x1,_0x511a8d['Inject'](_0x1ebb7f['WebSocketService'])),_0x1b295e(0x2,_0x511a8d[_0x2d2308(0x202)]),_0x1b295e(0x3,_0x511a8d['ILogService']),_0x1b295e(0x4,_0xa51b04[_0x2d2308(0x21e)])],_0x5c4621[_0x2d2308(0x21c)]);const _0x2aef1a=_0x2d2308(0x39d);function _0x4fc860(_0x1bae7d){const _0x48b530=_0x2d2308;return JSON[_0x48b530(0x26b)](_0x1bae7d)['length'];}class _0x27c664{constructor(){const _0x2813c4=_0x2d2308;_0x3d9158(this,_0x2813c4(0x126),new _0x1fcaf6[(_0x2813c4(0x36d))]()),_0x3d9158(this,_0x2813c4(0x1fb),this[_0x2813c4(0x126)][_0x2813c4(0x1d7)]());}[_0x2d2308(0x4aa)](_0x2748c0){this['_commentUpdate$']['next'](_0x2748c0);}}var _0x28bed4=Object['defineProperty'],_0x5cd67c=Object[_0x2d2308(0x475)],_0x58cc43=(_0x3e6318,_0x4ef749,_0x398838,_0x2bef22)=>{for(var _0x16259e=_0x2bef22>0x1?void 0x0:_0x2bef22?_0x5cd67c(_0x4ef749,_0x398838):_0x4ef749,_0x7ab64c=_0x3e6318['length']-0x1,_0x24cdc4;_0x7ab64c>=0x0;_0x7ab64c--)(_0x24cdc4=_0x3e6318[_0x7ab64c])&&(_0x16259e=(_0x2bef22?_0x24cdc4(_0x4ef749,_0x398838,_0x16259e):_0x24cdc4(_0x16259e))||_0x16259e);return _0x2bef22&&_0x16259e&&_0x28bed4(_0x4ef749,_0x398838,_0x16259e),_0x16259e;},_0x2cb68b=(_0x1ec8ec,_0x508d48)=>(_0x511aab,_0x2cf57a)=>_0x508d48(_0x511aab,_0x2cf57a,_0x1ec8ec);let _0x301ed0=class extends _0x511a8d['Disposable']{constructor(_0x4128bf,_0x2d28d7){const _0x12afd6=_0x2d2308;super(),_0x3d9158(this,_0x12afd6(0x234),new Map()),(this[_0x12afd6(0x245)]=_0x4128bf,this[_0x12afd6(0x13f)]=_0x2d28d7,this[_0x12afd6(0x2c8)](_0x511a8d[_0x12afd6(0x529)](_0x1fcaf6[_0x12afd6(0x240)](this[_0x12afd6(0x245)][_0x12afd6(0x2f2)](_0x511a8d['UniverInstanceType']['UNIVER_SHEET'])[_0x12afd6(0x47e)](_0x5e0e9a[_0x12afd6(0x4fc)](_0x57d262=>_0x57d262[_0x12afd6(0x28d)]())),this['_univerInstanceService'][_0x12afd6(0x2f2)](_0x511a8d[_0x12afd6(0x3bf)][_0x12afd6(0x183)])[_0x12afd6(0x47e)](_0x5e0e9a[_0x12afd6(0x4fc)](_0x5abe0e=>_0x5abe0e['getUnitId']())),this[_0x12afd6(0x245)]['getTypeOfUnitDisposed$'](_0x511a8d[_0x12afd6(0x3bf)][_0x12afd6(0x151)])[_0x12afd6(0x47e)](_0x5e0e9a[_0x12afd6(0x4fc)](_0xa1cca9=>_0xa1cca9[_0x12afd6(0x28d)]())))[_0x12afd6(0x2a1)](_0x5da5eb=>this['_removeRoom'](_0x5da5eb)))));}[_0x2d2308(0x332)](_0xfacef0){const _0x4d518d=_0x2d2308;this['_userManagerService'][_0x4d518d(0x332)](_0xfacef0);}['getCurrentUser'](){const _0x1ec2ea=_0x2d2308;return this[_0x1ec2ea(0x13f)][_0x1ec2ea(0x430)]();}[_0x2d2308(0x22e)](_0x969ea7,_0x8fd849){const _0x2dcd3e=_0x2d2308;let _0x578a23=this['_roomMembers'][_0x2dcd3e(0x3bb)](_0x969ea7);_0x578a23||(_0x578a23=new _0x1a97f2(),this[_0x2dcd3e(0x234)][_0x2dcd3e(0x445)](_0x969ea7,_0x578a23)),_0x578a23[_0x2dcd3e(0x22e)](_0x8fd849);}['removeMember'](_0xa9364f,_0x9f3369){const _0x596f00=_0x2d2308,_0x40f056=this['_roomMembers'][_0x596f00(0x3bb)](_0xa9364f);_0x40f056&&_0x40f056[_0x596f00(0x34a)](_0x9f3369);}['getRoom'](_0x51b169){const _0x4e7770=_0x2d2308;return this['_roomMembers'][_0x4e7770(0x3bb)](_0x51b169);}[_0x2d2308(0x1e8)](_0x58ba1c,_0x44cb7e){const _0x5ece20=_0x2d2308,_0x4312fb=this[_0x5ece20(0x234)][_0x5ece20(0x3bb)](_0x58ba1c);if(_0x4312fb)return _0x4312fb[_0x5ece20(0x1e8)](_0x44cb7e);}[_0x2d2308(0x2f4)](_0xdf901c){const _0x5d1bd6=_0x2d2308,_0x42f4aa=this['_roomMembers'][_0x5d1bd6(0x3bb)](_0xdf901c);_0x42f4aa&&(_0x42f4aa[_0x5d1bd6(0x2fb)](),this[_0x5d1bd6(0x234)][_0x5d1bd6(0x444)](_0xdf901c));}[_0x2d2308(0x2fb)](){const _0x386dff=_0x2d2308;this['_roomMembers']['forEach'](_0x31937a=>_0x31937a[_0x386dff(0x2fb)]()),this['_roomMembers'][_0x386dff(0x48e)]();}};_0x301ed0=_0x58cc43([_0x2cb68b(0x0,_0x511a8d[_0x2d2308(0x3ed)]),_0x2cb68b(0x1,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x46d)]))],_0x301ed0);class _0x1a97f2 extends _0x511a8d[_0x2d2308(0x3d6)]{constructor(){const _0x4b7b2d=_0x2d2308;super(...arguments),_0x3d9158(this,_0x4b7b2d(0x41f),new Map());}[_0x2d2308(0x2fb)](){const _0x5cb1c9=_0x2d2308;this[_0x5cb1c9(0x41f)][_0x5cb1c9(0x48e)]();}[_0x2d2308(0x22e)](_0x225d18){const _0x21af69=_0x2d2308;this[_0x21af69(0x41f)][_0x21af69(0x445)](_0x225d18[_0x21af69(0x469)],_0x225d18);}['removeMember'](_0x4ea1f7){const _0x26575d=_0x2d2308;this['_members'][_0x26575d(0x444)](_0x4ea1f7);}[_0x2d2308(0x1e8)](_0x4412ea){const _0x7c4eb8=_0x2d2308;return this['_members'][_0x7c4eb8(0x3bb)](_0x4412ea);}}var _0x56c0ba=Object[_0x2d2308(0x210)],_0x1d5f46=Object['getOwnPropertyDescriptor'],_0x30bf64=(_0x3f745d,_0x4ca493,_0x1f52b2,_0x2804f2)=>{const _0x58b153=_0x2d2308;for(var _0x234753=_0x2804f2>0x1?void 0x0:_0x2804f2?_0x1d5f46(_0x4ca493,_0x1f52b2):_0x4ca493,_0xdf1443=_0x3f745d[_0x58b153(0x1e3)]-0x1,_0x18d0a8;_0xdf1443>=0x0;_0xdf1443--)(_0x18d0a8=_0x3f745d[_0xdf1443])&&(_0x234753=(_0x2804f2?_0x18d0a8(_0x4ca493,_0x1f52b2,_0x234753):_0x18d0a8(_0x234753))||_0x234753);return _0x2804f2&&_0x234753&&_0x56c0ba(_0x4ca493,_0x1f52b2,_0x234753),_0x234753;},_0x887976=(_0x973cfc,_0x30b630)=>(_0x41c3e1,_0xe08dbb)=>_0x30b630(_0x41c3e1,_0xe08dbb,_0x973cfc),_0x3c28c2=(_0x36bd5d=>(_0x36bd5d[_0x36bd5d['IDLE']=0x0]=_0x2d2308(0x506),_0x36bd5d[_0x36bd5d[_0x2d2308(0x382)]=0x1]='JOINING',_0x36bd5d[_0x36bd5d[_0x2d2308(0x264)]=0x2]=_0x2d2308(0x264),_0x36bd5d[_0x36bd5d[_0x2d2308(0x3b6)]=0x3]=_0x2d2308(0x3b6),_0x36bd5d))(_0x3c28c2||{});_0x5c4621[_0x2d2308(0x3fb)]=class extends _0x511a8d[_0x2d2308(0x53d)]{constructor(_0xe459a3,_0x59a265,_0x3a44b7,_0x2a005e,_0x1aa3b8,_0x223bb7,_0xecaa0c,_0x1fe33a,_0x17d6dd,_0x5b1fda){const _0x1c6b1f=_0x2d2308;super(),_0x3d9158(this,_0x1c6b1f(0x1be),new _0x1fcaf6[(_0x1c6b1f(0x24c))](0x0)),_0x3d9158(this,_0x1c6b1f(0x1b7),this[_0x1c6b1f(0x1be)][_0x1c6b1f(0x1d7)]()),_0x3d9158(this,_0x1c6b1f(0x1a7),new _0x1fcaf6[(_0x1c6b1f(0x36d))]()),_0x3d9158(this,_0x1c6b1f(0x531),this[_0x1c6b1f(0x1a7)][_0x1c6b1f(0x1d7)]()),_0x3d9158(this,_0x1c6b1f(0x2a7)),_0x3d9158(this,_0x1c6b1f(0x495)),_0x3d9158(this,_0x1c6b1f(0x43b)),_0x3d9158(this,'_shouldReportTelemetry',!0x1),_0x3d9158(this,_0x1c6b1f(0x1da),null),(this[_0x1c6b1f(0x45b)]=_0xe459a3,this[_0x1c6b1f(0x54c)]=_0x3a44b7,this[_0x1c6b1f(0x13b)]=_0x2a005e,this[_0x1c6b1f(0x217)]=_0x1aa3b8,this[_0x1c6b1f(0x366)]=_0x223bb7,this['_localeService']=_0xecaa0c,this[_0x1c6b1f(0x361)]=_0x1fe33a,this[_0x1c6b1f(0x51e)]=_0x17d6dd,this[_0x1c6b1f(0x29d)]=_0x5b1fda,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x59a265[_0x1c6b1f(0x47e)](_0x1fcaf6[_0x1c6b1f(0x13e)](this[_0x1c6b1f(0x3af)]))['subscribe'](_0x53fcd2=>{const _0x2a49ea=_0x1c6b1f;var _0x76d187;typeof _0x53fcd2>'u'||(this[_0x2a49ea(0x2a7)]=_0x53fcd2,_0x53fcd2?(this[_0x2a49ea(0x297)](_0x53fcd2),this['_socketMessageSubscription']=_0x53fcd2[_0x2a49ea(0x49e)][_0x2a49ea(0x2a1)](_0x5ba3b6=>{const _0x2542af=_0x2a49ea;_0x5ba3b6[_0x2542af(0x4a8)]===this[_0x2542af(0x45b)]&&this[_0x2542af(0x279)](_0x5ba3b6);})):(this[_0x2a49ea(0x3d4)](),this['_sessionStatus$'][_0x2a49ea(0x535)](0x2),(_0x76d187=this[_0x2a49ea(0x495)])==null||_0x76d187[_0x2a49ea(0x281)](),this[_0x2a49ea(0x495)]=null));}),this[_0x1c6b1f(0x2c8)](this[_0x1c6b1f(0x13b)][_0x1c6b1f(0x45c)](()=>{const _0x1352f9=_0x1c6b1f;var _0x307d2d;(_0x307d2d=this[_0x1352f9(0x2a7)])==null||_0x307d2d[_0x1352f9(0x363)]({'cmd':_0x308b32[_0x1352f9(0x207)],'data':{'roomID':this[_0x1352f9(0x45b)]}});})));}get[_0x2d2308(0x42e)](){const _0x59618e=_0x2d2308;return this[_0x59618e(0x1be)][_0x59618e(0x24f)]();}[_0x2d2308(0x41d)](){var _0x2e0511,_0x182b82;return(_0x182b82=(_0x2e0511=this['_socket'])==null?void 0x0:_0x2e0511['memberID'])!=null?_0x182b82:null;}[_0x2d2308(0x2fb)](){const _0x5266b8=_0x2d2308;super[_0x5266b8(0x2fb)](),this['dispose$']['next'](),this[_0x5266b8(0x3af)]['complete']();}[_0x2d2308(0x1a8)](){const _0x2fcfd0=_0x2d2308;var _0x3adf19,_0xab4634;this[_0x2fcfd0(0x3d4)](),(_0x3adf19=this[_0x2fcfd0(0x2a7)])==null||_0x3adf19[_0x2fcfd0(0x363)]({'cmd':_0x308b32['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0xab4634=this[_0x2fcfd0(0x2a7)])==null||_0xab4634[_0x2fcfd0(0x1a8)](),this[_0x2fcfd0(0x1a7)][_0x2fcfd0(0x33d)](),this[_0x2fcfd0(0x1be)][_0x2fcfd0(0x33d)](),this[_0x2fcfd0(0x2fb)]();}[_0x2d2308(0x279)](_0x13f3a7){const _0x15fc74=_0x2d2308;_0x13f3a7[_0x15fc74(0x484)]===_0x308b32[_0x15fc74(0x1ba)]?this[_0x15fc74(0x51d)](_0x13f3a7):_0x13f3a7[_0x15fc74(0x484)]===_0x308b32['RECV']&&this[_0x15fc74(0x1a0)](_0x13f3a7);}[_0x2d2308(0x297)](_0x2ece0f){const _0x1aef44=_0x2d2308;this['_sessionStatus$'][_0x1aef44(0x535)](0x1),_0x2ece0f['send']({'cmd':_0x308b32[_0x1aef44(0x1ba)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x1aef44(0x45b)]}]}});}['_onJoinRoomEvent'](_0x1567e8){const _0x5c7d9f=_0x2d2308;var _0x54d7df;if(_0x1567e8[_0x5c7d9f(0x309)]===_0x3ba7cd[_0x5c7d9f(0x1db)]){this['_messageService']['show']({'type':_0x278c7c[_0x5c7d9f(0x33f)]['Warning'],'content':this['_localeService']['t'](_0x5c7d9f(0x552))}),this[_0x5c7d9f(0x1be)][_0x5c7d9f(0x535)](0x2);return;}this[_0x5c7d9f(0x1be)][_0x5c7d9f(0x535)](0x3);const _0xe2f4fe=(_0x54d7df=_0x1567e8[_0x5c7d9f(0x142)][_0x5c7d9f(0x18b)][this[_0x5c7d9f(0x45b)]])==null?void 0x0:_0x54d7df[_0x5c7d9f(0x449)];_0xe2f4fe&&_0xe2f4fe[_0x5c7d9f(0x20c)](_0x1a359c=>this['_memberService']['updateMember'](this['_unitID'],_0x1a359c));}[_0x2d2308(0x1a0)](_0x54d642){const _0x254992=_0x2d2308;try{const _0x1a5dcb=_0x54d642[_0x254992(0x142)];switch(_0x1a5dcb[_0x254992(0x175)]){case _0xa51b04[_0x254992(0x3fa)]['USERS_ENTER']:this['_onUserJoin'](_0x1a5dcb),this[_0x254992(0x1a7)]['next'](_0x1a5dcb);break;case _0xa51b04[_0x254992(0x3fa)][_0x254992(0x4ba)]:this[_0x254992(0x429)](_0x1a5dcb),this[_0x254992(0x1a7)][_0x254992(0x535)](_0x1a5dcb);break;case _0xa51b04[_0x254992(0x3fa)][_0x254992(0x24e)]:this[_0x254992(0x453)](),this[_0x254992(0x229)](),this[_0x254992(0x1a7)][_0x254992(0x535)](_0x1a5dcb);break;case _0xa51b04[_0x254992(0x3fa)][_0x254992(0x19a)]:this[_0x254992(0x54c)][_0x254992(0x269)](_0x254992(0x438)+JSON[_0x254992(0x26b)](_0x1a5dcb)),this['_event$']['next'](_0x1a5dcb);break;case _0xa51b04[_0x254992(0x3fa)]['COMMENT_UPDATE']:this['_commentService'][_0x254992(0x4aa)](_0x1a5dcb['data']),this[_0x254992(0x1a7)]['next'](_0x1a5dcb);break;default:this[_0x254992(0x1a7)]['next'](_0x1a5dcb);}}catch(_0x2b55cc){this[_0x254992(0x54c)]['error'](_0x2b55cc,_0x54d642);}}[_0x2d2308(0x45a)](_0x248c84){const _0x417b6c=_0x2d2308;this[_0x417b6c(0x361)]['updateMember'](this[_0x417b6c(0x45b)],_0x248c84['data']);}[_0x2d2308(0x429)](_0x1f220a){const _0x5c4857=_0x2d2308;this[_0x5c4857(0x361)][_0x5c4857(0x34a)](this[_0x5c4857(0x45b)],_0x1f220a[_0x5c4857(0x142)]['memberID']);}async[_0x2d2308(0x363)](_0x298f1c,_0x5413c7){const _0x82886=_0x2d2308;if(this[_0x82886(0x42e)]!==0x3||!this['_socket'])throw new Error(_0x82886(0x367));try{_0x298f1c['eventID']===_0xa51b04[_0x82886(0x3fa)][_0x82886(0x287)]&&(this[_0x82886(0x399)](),this[_0x82886(0x4ec)](_0x298f1c)),this['_socket'][_0x82886(0x363)]({'cmd':_0x308b32['INGEST'],'routeKey':_0x5413c7,'routeType':'','data':_0x298f1c});}catch(_0x5985c4){this[_0x82886(0x54c)]['error'](_0x5985c4);}}[_0x2d2308(0x399)](){const _0x426a73=_0x2d2308;var _0x2112d2;this['_collaborationTimeoutTimer']=window[_0x426a73(0x2ac)](()=>{const _0x46581d=_0x426a73;this[_0x46581d(0x43b)]=null,this[_0x46581d(0x217)][_0x46581d(0x1f7)]({'type':_0x278c7c[_0x46581d(0x33f)]['Error'],'content':this['_localeService']['t'](_0x46581d(0x459))});},(_0x2112d2=this['_configService']['getConfig'](_0x5c3ac2))!=null?_0x2112d2:0x4e20);}[_0x2d2308(0x229)](){const _0x2a94e8=_0x2d2308;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x2a94e8(0x43b)]),this[_0x2a94e8(0x43b)]=null);}[_0x2d2308(0x4ec)](_0xfa6027){const _0x20db2f=_0x2d2308;if(!this[_0x20db2f(0x295)])return;const {data:_0x18be2c}=_0xfa6027,{unitID:_0x13b4a3,changeset:_0x2078d4}=_0x18be2c,{mutations:_0x2666f5,type:_0x51f6fa}=_0x2078d4;this[_0x20db2f(0x1da)]={'unitId':_0x13b4a3,'type':_0x51f6fa,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':_0x4fc860(_0x2666f5)};}[_0x2d2308(0x453)](){const _0x3104d8=_0x2d2308;if(this[_0x3104d8(0x295)]){if(!this['_telemetryInfo']){this['_logService'][_0x3104d8(0x269)](_0x3104d8(0x251),_0x3104d8(0x1fe));return;}this[_0x3104d8(0x1da)][_0x3104d8(0x405)]=performance[_0x3104d8(0x328)](),this[_0x3104d8(0x1da)][_0x3104d8(0x35f)]=this[_0x3104d8(0x1da)][_0x3104d8(0x405)]-this['_telemetryInfo']['startTime'],this[_0x3104d8(0x29d)]['capture'](_0x2aef1a,this[_0x3104d8(0x1da)]),this[_0x3104d8(0x1da)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x31ad4d=_0x2d2308;this[_0x31ad4d(0x1da)]=null;}},_0x5c4621[_0x2d2308(0x3fb)]=_0x30bf64([_0x887976(0x2,_0x511a8d['ILogService']),_0x887976(0x3,_0x2fad45[_0x2d2308(0x283)]),_0x887976(0x4,_0x2fad45['IMessageService']),_0x887976(0x5,_0x511a8d[_0x2d2308(0x202)]),_0x887976(0x6,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x390)])),_0x887976(0x7,_0x511a8d[_0x2d2308(0x4dc)](_0x301ed0)),_0x887976(0x8,_0x511a8d[_0x2d2308(0x4dc)](_0x27c664)),_0x887976(0x9,_0x511a8d[_0x2d2308(0x2bb)](_0x2d71be[_0x2d2308(0x3f0)]))],_0x5c4621[_0x2d2308(0x3fb)]);var _0x1dda1c=Object['defineProperty'],_0x322f50=Object['getOwnPropertyDescriptor'],_0x109441=(_0x2fa03f,_0x424cc3,_0xfd191e,_0x4d49fd)=>{const _0x168e9f=_0x2d2308;for(var _0x9880b0=_0x4d49fd>0x1?void 0x0:_0x4d49fd?_0x322f50(_0x424cc3,_0xfd191e):_0x424cc3,_0xa9ee21=_0x2fa03f[_0x168e9f(0x1e3)]-0x1,_0x4c7c83;_0xa9ee21>=0x0;_0xa9ee21--)(_0x4c7c83=_0x2fa03f[_0xa9ee21])&&(_0x9880b0=(_0x4d49fd?_0x4c7c83(_0x424cc3,_0xfd191e,_0x9880b0):_0x4c7c83(_0x9880b0))||_0x9880b0);return _0x4d49fd&&_0x9880b0&&_0x1dda1c(_0x424cc3,_0xfd191e,_0x9880b0),_0x9880b0;},_0x1d68a6=(_0x17b5da,_0x625c7a)=>(_0x4d0a49,_0x236ecb)=>_0x625c7a(_0x4d0a49,_0x236ecb,_0x17b5da);_0x5c4621['CollaborationSessionService']=class extends _0x511a8d['Disposable']{constructor(_0x59fd1f,_0x4c3839,_0x5f60c5,_0x4f97e0,_0x3e258c,_0xdd50e9){const _0x36003f=_0x2d2308;super(),_0x3d9158(this,_0x36003f(0x2b5),new _0x1fcaf6[(_0x36003f(0x24c))](void 0x0)),_0x3d9158(this,_0x36003f(0x431),this[_0x36003f(0x2b5)]['asObservable']()),_0x3d9158(this,_0x36003f(0x408),null),_0x3d9158(this,_0x36003f(0x50e),new Map()),_0x3d9158(this,_0x36003f(0x311),new _0x1fcaf6[(_0x36003f(0x24c))](_0x3c28c2['IDLE'])),_0x3d9158(this,_0x36003f(0x223),this['_status$'][_0x36003f(0x1d7)]()),_0x3d9158(this,_0x36003f(0x48a),!0x1),_0x3d9158(this,'_retryConnectingTimer'),_0x3d9158(this,_0x36003f(0x182),0x0),_0x3d9158(this,_0x36003f(0x4f3)),_0x3d9158(this,'_timeoutTimer'),(this[_0x36003f(0x510)]=_0x59fd1f,this[_0x36003f(0x239)]=_0x4c3839,this['_messageService']=_0x5f60c5,this[_0x36003f(0x54c)]=_0x4f97e0,this[_0x36003f(0x366)]=_0x3e258c,this['_socketService']=_0xdd50e9,this[_0x36003f(0x312)]());}get['_socket'](){const _0x1b72f4=_0x2d2308;return this[_0x1b72f4(0x2b5)][_0x1b72f4(0x24f)]();}[_0x2d2308(0x312)](){const _0x320908=_0x2d2308;this[_0x320908(0x225)](),this[_0x320908(0x1cd)]();}[_0x2d2308(0x2fb)](){const _0x3334c7=_0x2d2308;super[_0x3334c7(0x2fb)](),this[_0x3334c7(0x50e)][_0x3334c7(0x20c)](_0x4b7c65=>_0x4b7c65['dispose']()),this[_0x3334c7(0x50e)][_0x3334c7(0x48e)](),this[_0x3334c7(0x311)][_0x3334c7(0x33d)]();}async[_0x2d2308(0x137)](_0x1d2a3b){const _0x9249f3=_0x2d2308;if(this[_0x9249f3(0x50e)][_0x9249f3(0x1e0)](_0x1d2a3b))return this[_0x9249f3(0x50e)]['get'](_0x1d2a3b);this[_0x9249f3(0x340)]();const _0x46c59b=this['_injector'][_0x9249f3(0x558)](_0x5c4621[_0x9249f3(0x3fb)],_0x1d2a3b,this[_0x9249f3(0x2b5)][_0x9249f3(0x1d7)]());return this[_0x9249f3(0x50e)]['set'](_0x1d2a3b,_0x46c59b),_0x46c59b;}['closeSession'](_0x19fffe){const _0x2f40b0=_0x2d2308;var _0x300ef3;const _0x161c92=this['_sessions'][_0x2f40b0(0x3bb)](_0x19fffe);_0x161c92&&(this[_0x2f40b0(0x50e)][_0x2f40b0(0x444)](_0x19fffe),_0x161c92['close']()),this[_0x2f40b0(0x50e)][_0x2f40b0(0x195)]||(_0x300ef3=this['_socket'])==null||_0x300ef3[_0x2f40b0(0x1a8)]();}['reconnect'](){const _0x3a6d10=_0x2d2308;this[_0x3a6d10(0x182)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x3a6d10(0x159)]),this[_0x3a6d10(0x159)]=null),this[_0x3a6d10(0x27c)]();}[_0x2d2308(0x1f1)](){const _0x2c0f27=_0x2d2308;var _0x575ad5,_0x14cd17;const _0x1a7f5d=this[_0x2c0f27(0x366)][_0x2c0f27(0x12f)](_0x54e241),_0x5c50b5=this['_configService'][_0x2c0f27(0x12f)](_0x29065d),_0x1168f9=(_0x14cd17=(_0x575ad5=_0x5c50b5==null?void 0x0:_0x5c50b5[_0x2c0f27(0x129)])!=null?_0x575ad5:_0x1a7f5d)!=null?_0x14cd17:_0x320452,_0x1e5487=this['_socketService']['createSocket'](_0x1168f9);return this[_0x2c0f27(0x408)]=_0x1e5487,_0x1e5487;}[_0x2d2308(0x340)](){const _0x47ce87=_0x2d2308;var _0xb47960,_0x14e0a2;try{const _0x5772fe=(_0x14e0a2=(_0xb47960=this[_0x47ce87(0x2a7)])!=null?_0xb47960:this[_0x47ce87(0x408)])!=null?_0x14e0a2:this[_0x47ce87(0x1f1)]();if(_0x5772fe){const _0xf9daba=_0x5772fe['send'];_0x5772fe[_0x47ce87(0x363)]=_0x36fe34=>(this[_0x47ce87(0x49f)](),_0xf9daba[_0x47ce87(0x132)](_0x5772fe,[_0x36fe34])),_0x5772fe[_0x47ce87(0x49e)][_0x47ce87(0x2a1)](_0x592cd1=>this['_onMessage'](_0x5772fe,_0x592cd1)),_0x5772fe[_0x47ce87(0x44f)][_0x47ce87(0x47e)](_0x5e0e9a[_0x47ce87(0x1ad)](0x1))[_0x47ce87(0x2a1)](_0x4bd3ec=>this['_logService'][_0x47ce87(0x269)](_0x47ce87(0x33c),_0x4bd3ec)),_0x5772fe['open$'][_0x47ce87(0x47e)](_0x5e0e9a[_0x47ce87(0x1ad)](0x1))[_0x47ce87(0x2a1)](()=>{const _0xf7355a=_0x47ce87;this[_0xf7355a(0x12c)](_0x5772fe);}),_0x5772fe[_0x47ce87(0x39a)][_0x47ce87(0x47e)](_0x5e0e9a[_0x47ce87(0x1ad)](0x1))['subscribe'](_0x2fe114=>{const _0x43c209=_0x47ce87;this['_logService']['debug'](_0x43c209(0x30d),_0x43c209(0x2af),_0x2fe114),this['_onConnectionFailed']();});}}catch(_0x51a248){this[_0x47ce87(0x54c)][_0x47ce87(0x269)](_0x51a248),this[_0x47ce87(0x454)]();}}[_0x2d2308(0x12c)](_0x29b90b){const _0x1c883d=_0x2d2308;this[_0x1c883d(0x54c)]['debug'](_0x1c883d(0x30d),_0x1c883d(0x2e1)),_0x29b90b[_0x1c883d(0x363)]({'cmd':_0x308b32['HELLO']}),this[_0x1c883d(0x49f)]();}[_0x2d2308(0x225)](){const _0x17ea95=_0x2d2308;window[_0x17ea95(0x248)](_0x17ea95(0x1c9),()=>this[_0x17ea95(0x4da)]());}[_0x2d2308(0x4da)](){const _0x209820=_0x2d2308;this[_0x209820(0x48a)]=!0x1,this[_0x209820(0x408)]=null,this['_status$'][_0x209820(0x535)](_0x3c28c2['OFFLINE']),this[_0x209820(0x2b5)][_0x209820(0x535)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x2d2308(0x454)](){const _0x47732a=_0x2d2308;var _0x5638ed;this[_0x47732a(0x4da)](),this['_retryCount']<((_0x5638ed=this[_0x47732a(0x366)][_0x47732a(0x12f)](_0x4afa7a))!=null?_0x5638ed:0x3)?(this[_0x47732a(0x217)][_0x47732a(0x1f7)]({'key':_0x47732a(0x197),'type':_0x278c7c['MessageType'][_0x47732a(0x30e)],'content':this[_0x47732a(0x239)]['t'](_0x47732a(0x513))}),this[_0x47732a(0x27c)]()):this['_messageService'][_0x47732a(0x1f7)]({'key':_0x47732a(0x197),'type':_0x278c7c[_0x47732a(0x33f)][_0x47732a(0x136)],'content':this[_0x47732a(0x239)]['t']('session.connection-failed')});}[_0x2d2308(0x1cd)](){const _0x159dab=_0x2d2308,_0x1b564d=()=>{const _0x470611=_0x3ba2;this['_socket']||this[_0x470611(0x1dc)]();},_0x36154f=()=>{const _0xe68e3=_0x3ba2;this[_0xe68e3(0x2a7)]||document[_0xe68e3(0x252)]==='hidden'||this['reconnect']();};window[_0x159dab(0x248)](_0x159dab(0x219),_0x1b564d),document[_0x159dab(0x248)]('visibilitychange',_0x36154f);}[_0x2d2308(0x27c)](){const _0x3b0e52=_0x2d2308;var _0xe77de6;const _0x4856b1=this[_0x3b0e52(0x182)],_0x41f159=this[_0x3b0e52(0x366)]['getConfig'](_0x29065d),_0x2183f5=_0x4856b1===0x0?0x0:((_0xe77de6=_0x41f159==null?void 0x0:_0x41f159[_0x3b0e52(0x46c)])!=null?_0xe77de6:0x4e20)*0x2**_0x4856b1;this[_0x3b0e52(0x159)]=window[_0x3b0e52(0x2ac)](()=>{const _0x313c9c=_0x3b0e52;clearTimeout(this[_0x313c9c(0x159)]),this['_retryConnectingTimer']=null,this[_0x313c9c(0x340)]();},_0x2183f5),this['_retryCount']+=0x1;}[_0x2d2308(0x230)](_0x320f75,_0x5ec2a7){const _0xe982f1=_0x2d2308,{cmd:_0x4042ad}=_0x5ec2a7;_0x4042ad===_0x308b32[_0xe982f1(0x521)]&&!this[_0xe982f1(0x48a)]&&(_0x320f75[_0xe982f1(0x469)]=_0x5ec2a7[_0xe982f1(0x142)][_0xe982f1(0x469)],this['_socket$']['next'](_0x320f75),this[_0xe982f1(0x311)]['next'](_0x3c28c2[_0xe982f1(0x3b6)]),this['_socketReady']=!0x0,this[_0xe982f1(0x408)]=null),_0x4042ad===_0x308b32[_0xe982f1(0x393)]&&this[_0xe982f1(0x19e)](),this[_0xe982f1(0x49f)]();}[_0x2d2308(0x49f)](){const _0x2b92f2=_0x2d2308;var _0x3c0f6e;this['_clearHeartbeatTimer'](),this[_0x2b92f2(0x4f3)]=window[_0x2b92f2(0x2ac)](()=>this[_0x2b92f2(0x404)](),(_0x3c0f6e=this[_0x2b92f2(0x366)][_0x2b92f2(0x12f)](_0x10436f))!=null?_0x3c0f6e:0x7530);}[_0x2d2308(0x404)](){const _0x41c651=_0x2d2308;this[_0x41c651(0x2a7)][_0x41c651(0x363)]({'cmd':_0x308b32['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x2d2308(0x486)](){const _0x332c16=_0x2d2308;var _0x188a70;this[_0x332c16(0x381)]=window[_0x332c16(0x2ac)](()=>this[_0x332c16(0x454)](),(_0x188a70=this[_0x332c16(0x366)][_0x332c16(0x12f)](_0x5c3ac2))!=null?_0x188a70:0x4e20);}['_clearHeartbeatTimer'](){const _0x1ffea0=_0x2d2308;this[_0x1ffea0(0x4f3)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x1ffea0(0x4f3)]=null);}[_0x2d2308(0x19e)](){const _0x6bb061=_0x2d2308;this[_0x6bb061(0x381)]!=null&&(clearTimeout(this[_0x6bb061(0x381)]),this[_0x6bb061(0x381)]=null);}},_0x5c4621[_0x2d2308(0x12a)]=_0x109441([_0x1d68a6(0x0,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x3b2)])),_0x1d68a6(0x1,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x390)])),_0x1d68a6(0x2,_0x2fad45[_0x2d2308(0x29a)]),_0x1d68a6(0x3,_0x511a8d[_0x2d2308(0x446)]),_0x1d68a6(0x4,_0x511a8d[_0x2d2308(0x202)]),_0x1d68a6(0x5,_0x2c20a1)],_0x5c4621[_0x2d2308(0x12a)]);var _0x1a42d7=Object[_0x2d2308(0x210)],_0x2b7349=Object['getOwnPropertyDescriptor'],_0x1bdbaf=(_0x2537f5,_0x59d7a9,_0x160dc0,_0x4ddc92)=>{const _0x11efc4=_0x2d2308;for(var _0x1b7873=_0x4ddc92>0x1?void 0x0:_0x4ddc92?_0x2b7349(_0x59d7a9,_0x160dc0):_0x59d7a9,_0x55bb2e=_0x2537f5[_0x11efc4(0x1e3)]-0x1,_0x22360e;_0x55bb2e>=0x0;_0x55bb2e--)(_0x22360e=_0x2537f5[_0x55bb2e])&&(_0x1b7873=(_0x4ddc92?_0x22360e(_0x59d7a9,_0x160dc0,_0x1b7873):_0x22360e(_0x1b7873))||_0x1b7873);return _0x4ddc92&&_0x1b7873&&_0x1a42d7(_0x59d7a9,_0x160dc0,_0x1b7873),_0x1b7873;},_0x1579a8=(_0x24672b,_0x4d2f76)=>(_0x1c0f64,_0x40eb8a)=>_0x4d2f76(_0x1c0f64,_0x40eb8a,_0x24672b);let _0x4b8bdd=class{constructor(_0x568afd,_0x2431fd,_0x27a7bd){const _0x137bb4=_0x2d2308;this['_injector']=_0x568afd,this[_0x137bb4(0x541)]=_0x2431fd,this[_0x137bb4(0x16d)]=_0x27a7bd;}[_0x2d2308(0x4a2)](_0x2bd966){const _0x1f4888=_0x2d2308;this[_0x1f4888(0x4c8)](_0x2bd966),this[_0x1f4888(0x162)](_0x2bd966);}[_0x2d2308(0x19c)](_0x5039cf){const _0x38982e=_0x2d2308,{unitID:_0x36e8af}=_0x5039cf,_0x5632e5=this[_0x38982e(0x16d)][_0x38982e(0x148)](_0x36e8af)[_0x38982e(0x501)](_0x457ad5[_0x38982e(0x42b)]),{redoCache:_0x4e4a2b}=_0x5632e5[_0x38982e(0x4a0)]();if(_0x4e4a2b[_0x38982e(0x1e3)]===0x0)return _0x5039cf;let _0x5b96a2=_0x511a8d[_0x38982e(0x344)][_0x38982e(0x3a0)](_0x5039cf[_0x38982e(0x1ae)][0x0]);for(let _0x7dcfd5=0x0;_0x7dcfd5<_0x4e4a2b['length'];_0x7dcfd5++){const _0x4813dc={'id':_0x38982e(0x124),'params':{..._0x4e4a2b[_0x7dcfd5]}},_0x25c2a0=this[_0x38982e(0x541)][_0x38982e(0x555)](_0x5b96a2,_0x4813dc,!0x1);if(_0xa51b04[_0x38982e(0x2a8)](_0x25c2a0))throw _0x25c2a0[_0x38982e(0x269)];_0x5b96a2=_0x25c2a0[_0x38982e(0x3b8)];}return{..._0x511a8d['Tools']['deepClone'](_0x5039cf),'mutations':[_0x5b96a2]};}[_0x2d2308(0x4c8)](_0x24ec28){const _0xc05600=_0x2d2308,{unitID:_0x3afe7a}=_0x24ec28,_0x35b32e=this['_renderManagerService'][_0xc05600(0x148)](_0x3afe7a)[_0xc05600(0x501)](_0x457ad5[_0xc05600(0x42b)]),{undoCache:_0x32d617,redoCache:_0x2970b3}=_0x35b32e[_0xc05600(0x4a0)]();if(_0x32d617[_0xc05600(0x1e3)]===0x0||_0x2970b3[_0xc05600(0x1e3)]===0x0)return;const _0x513d8b=[],_0x2cfe3b=[];let _0x9e795=_0x511a8d[_0xc05600(0x344)][_0xc05600(0x3a0)](_0x24ec28[_0xc05600(0x1ae)][0x0]),_0x539cca=_0x511a8d[_0xc05600(0x344)][_0xc05600(0x3a0)](_0x24ec28[_0xc05600(0x1ae)][0x0]);for(let _0x1a5a49=_0x32d617[_0xc05600(0x1e3)]-0x1;_0x1a5a49>=0x0;_0x1a5a49--){const _0x28d215={'id':_0xc05600(0x124),'params':{..._0x32d617[_0x1a5a49]}},_0x523c3e={'id':_0xc05600(0x124),'params':{..._0x2970b3[_0x1a5a49]}},_0x1af8c0=this[_0xc05600(0x541)][_0xc05600(0x555)](_0x9e795,_0x28d215,!0x1),_0x33cb2d=this[_0xc05600(0x541)]['transformMutation'](_0x539cca,_0x523c3e,!0x1);if(_0xa51b04[_0xc05600(0x2a8)](_0x1af8c0))throw _0x1af8c0[_0xc05600(0x269)];if(_0xa51b04[_0xc05600(0x2a8)](_0x33cb2d))throw _0x33cb2d['error'];_0x513d8b['unshift'](_0x1af8c0['m2Prime'][_0xc05600(0x2b8)]),_0x2cfe3b[_0xc05600(0x2bc)](_0x33cb2d[_0xc05600(0x12b)]['params']),_0x9e795=_0x1af8c0[_0xc05600(0x3b8)],_0x539cca=_0x33cb2d[_0xc05600(0x3b8)];}_0x35b32e[_0xc05600(0x395)]({'undoCache':_0x513d8b,'redoCache':_0x2cfe3b});}['_transformPreviousActiveRange'](_0x4f3149){const _0x283890=_0x2d2308,{unitID:_0x38dcbf}=_0x4f3149,_0xe0f5fb=this['_renderManagerService'][_0x283890(0x148)](_0x38dcbf)[_0x283890(0x501)](_0x457ad5[_0x283890(0x42b)]),_0x94d3e=_0xe0f5fb[_0x283890(0x1bb)]();if(_0x94d3e==null)return;const _0x2edb5d=[{'id':_0x283890(0x124),'params':{'unitId':_0x4f3149[_0x283890(0x14c)],'actions':null,'textRanges':[_0x94d3e]}}],_0x2f7cc6=this['_transformService']['transformMutationsWithChangeset'](_0x4f3149,_0x2edb5d);if(!_0xa51b04[_0x283890(0x30c)](_0x2f7cc6))throw _0x2f7cc6[_0x283890(0x269)];const _0x503e79=_0x2f7cc6['m2Prime'][0x0]['params']['textRanges'];Array[_0x283890(0x4cb)](_0x503e79)&&_0x503e79['length']&&_0xe0f5fb[_0x283890(0x1ab)](_0x503e79[0x0]);}};_0x4b8bdd=_0x1bdbaf([_0x1579a8(0x0,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x3b2)])),_0x1579a8(0x1,_0xa51b04[_0x2d2308(0x2a2)]),_0x1579a8(0x2,_0x47232b['IRenderManagerService'])],_0x4b8bdd);var _0x3b8bc4=Object[_0x2d2308(0x210)],_0xe0a89f=Object[_0x2d2308(0x475)],_0x227db9=(_0x2f1d21,_0x5810a3,_0x1bdf1b,_0x2f060e)=>{for(var _0x1cfeeb=_0x2f060e>0x1?void 0x0:_0x2f060e?_0xe0a89f(_0x5810a3,_0x1bdf1b):_0x5810a3,_0x17ef5d=_0x2f1d21['length']-0x1,_0x3ea425;_0x17ef5d>=0x0;_0x17ef5d--)(_0x3ea425=_0x2f1d21[_0x17ef5d])&&(_0x1cfeeb=(_0x2f060e?_0x3ea425(_0x5810a3,_0x1bdf1b,_0x1cfeeb):_0x3ea425(_0x1cfeeb))||_0x1cfeeb);return _0x2f060e&&_0x1cfeeb&&_0x3b8bc4(_0x5810a3,_0x1bdf1b,_0x1cfeeb),_0x1cfeeb;},_0xefc015=(_0x511ce6,_0x25757c)=>(_0x47cb26,_0x3bdada)=>_0x25757c(_0x47cb26,_0x3bdada,_0x511ce6);_0x5c4621[_0x2d2308(0x23d)]=class extends _0x511a8d[_0x2d2308(0x3d6)]{constructor(_0x3e548c,_0x2a9e86,_0x5e3d89,_0x1a03be,_0x4edcdf){const _0x18c7d2=_0x2d2308;super(),_0x3d9158(this,_0x18c7d2(0x483),new Map()),_0x3d9158(this,'_saveTaskMap',new Map()),_0x3d9158(this,'_disabled',!0x1),(this['_configService']=_0x3e548c,this[_0x18c7d2(0x478)]=_0x2a9e86,this[_0x18c7d2(0x13b)]=_0x5e3d89,this['_localeService']=_0x1a03be,this[_0x18c7d2(0x342)]=_0x4edcdf,this[_0x18c7d2(0x32d)]());}[_0x2d2308(0x368)](){const _0x18b84c=_0x2d2308;this[_0x18b84c(0x1bd)]=!0x0;}['enableLocalCache'](){const _0x47fbe0=_0x2d2308;this[_0x47fbe0(0x1bd)]=!0x1;}['dispose'](){const _0x2772bd=_0x2d2308;this[_0x2772bd(0x433)]()[_0x2772bd(0x14f)](()=>super[_0x2772bd(0x2fb)]());}async[_0x2d2308(0x152)](_0x29968c){const _0x27fc98=_0x2d2308;return this[_0x27fc98(0x1bd)]?null:this[_0x27fc98(0x478)]['getItem'](_0x4f5da9(_0x29968c));}async[_0x2d2308(0x26c)](_0x1bc34d,_0x3b7f72){const _0x52565c=_0x2d2308;return!!this[_0x52565c(0x478)][_0x52565c(0x4f6)](_0x1bc34d,_0x3b7f72);}[_0x2d2308(0x1d8)](_0x4f5296,_0x4d317a,_0x1c8737,_0x2beee7){const _0xffce5b=_0x2d2308,_0x2ea4ef=this['_revisionService'][_0xffce5b(0x4b9)](_0x4f5296);this[_0xffce5b(0x483)][_0xffce5b(0x445)](_0x4f5296,{'unitID':_0x4f5296,'type':_0x4d317a,'awaitingChangeset':_0x1c8737,'mutations':_0x2beee7,'rev':_0x2ea4ef}),this[_0xffce5b(0x323)][_0xffce5b(0x1e0)](_0x4f5296)||this[_0xffce5b(0x1f6)](_0x4f5296);}[_0x2d2308(0x1f6)](_0xee8d81){const _0x5f013d=_0x2d2308,_0x1d6d34=this[_0x5f013d(0x4b8)]();_0x1d6d34===0x0?this[_0x5f013d(0x3e9)](_0xee8d81):this['_saveTaskMap'][_0x5f013d(0x445)](_0xee8d81,setTimeout(()=>this[_0x5f013d(0x3e9)](_0xee8d81),_0x1d6d34));}['_getSaveTimeout'](){const _0x2f036d=_0x2d2308;var _0x2e93fd;return(_0x2e93fd=this[_0x2f036d(0x366)][_0x2f036d(0x12f)](_0x4bff9a))!=null?_0x2e93fd:0x3e8;}[_0x2d2308(0x3e9)](_0x42903c){const _0x36fde1=_0x2d2308,_0x545709=this[_0x36fde1(0x323)]['get'](_0x42903c);return _0x545709!==void 0x0&&window[_0x36fde1(0x3a3)](_0x545709),this[_0x36fde1(0x478)][_0x36fde1(0x4f6)](_0x4f5da9(_0x42903c),this[_0x36fde1(0x483)][_0x36fde1(0x3bb)](_0x42903c))[_0x36fde1(0x14f)](()=>this[_0x36fde1(0x323)]['delete'](_0x42903c));}async[_0x2d2308(0x433)](){const _0x2275c4=_0x2d2308,_0x32b535=[];this[_0x2275c4(0x323)]['forEach']((_0x32ce07,_0x32d335)=>{const _0x217bd4=_0x2275c4;window[_0x217bd4(0x3a3)](_0x32ce07),_0x32b535['push'](this['_saveCache'](_0x32d335)['then'](()=>{const _0x3c50aa=_0x217bd4;this[_0x3c50aa(0x323)]['delete'](_0x32d335);}));}),await Promise[_0x2275c4(0x13c)](_0x32b535);}[_0x2d2308(0x32d)](){const _0xed9341=_0x2d2308;this[_0xed9341(0x2c8)](this[_0xed9341(0x13b)][_0xed9341(0x1cf)](()=>{const _0x1a860b=_0xed9341;if(this[_0x1a860b(0x323)]['size'])return this[_0x1a860b(0x239)]['t'](_0x1a860b(0x451));}));}},_0x5c4621[_0x2d2308(0x23d)]=_0x227db9([_0xefc015(0x0,_0x511a8d[_0x2d2308(0x202)]),_0xefc015(0x1,_0x511a8d[_0x2d2308(0x3ff)]),_0xefc015(0x2,_0x2fad45['IBeforeCloseService']),_0xefc015(0x3,_0x511a8d['Inject'](_0x511a8d[_0x2d2308(0x390)])),_0xefc015(0x4,_0x511a8d[_0x2d2308(0x4dc)](_0xa51b04[_0x2d2308(0x355)]))],_0x5c4621[_0x2d2308(0x23d)]);function _0x4f5da9(_0x3fb619){const _0x6190cc=_0x2d2308;return _0x6190cc(0x437)+_0x3fb619;}var _0x4219a6=Object['defineProperty'],_0xf49cb1=Object[_0x2d2308(0x475)],_0x2dbf71=(_0x112d7b,_0x42384c,_0x8a4818,_0x34cb65)=>{const _0x41c011=_0x2d2308;for(var _0x5020e5=_0x34cb65>0x1?void 0x0:_0x34cb65?_0xf49cb1(_0x42384c,_0x8a4818):_0x42384c,_0x37f799=_0x112d7b[_0x41c011(0x1e3)]-0x1,_0x53fb2d;_0x37f799>=0x0;_0x37f799--)(_0x53fb2d=_0x112d7b[_0x37f799])&&(_0x5020e5=(_0x34cb65?_0x53fb2d(_0x42384c,_0x8a4818,_0x5020e5):_0x53fb2d(_0x5020e5))||_0x5020e5);return _0x34cb65&&_0x5020e5&&_0x4219a6(_0x42384c,_0x8a4818,_0x5020e5),_0x5020e5;},_0x27aba1=(_0x64e11d,_0x11cbc9)=>(_0x6fa5a0,_0x354d12)=>_0x11cbc9(_0x6fa5a0,_0x354d12,_0x64e11d);function _0x31edaa(_0x483753){const _0x50185a=_0x2d2308,{unitID:_0x5f373a,mutations:_0x12568e}=_0x483753;return{'unitId':_0x5f373a,'subUnitId':_0x12568e[0x0]['params'][_0x50185a(0x536)]};}let _0x319bda=class{constructor(_0x4a8756,_0x47d9dc,_0x1cbe97){const _0x58d570=_0x2d2308;this['_injector']=_0x4a8756,this['_transformService']=_0x47d9dc,this[_0x58d570(0x336)]=_0x1cbe97;}[_0x2d2308(0x49c)](_0x2aea7a){const _0x342790=_0x2d2308;var _0x3ae9d2,_0x145720,_0x2bdc28,_0x4d0925;const _0x372ccf=this['_injector'][_0x342790(0x3bb)](_0x11a28e[_0x342790(0x480)]),{unitId:_0x73c2bf,subUnitId:_0x5ce047}=_0x31edaa(_0x2aea7a),_0xf7d841=_0x372ccf[_0x342790(0x171)](_0x73c2bf)[_0x342790(0x25e)](),_0x44a33a=(_0x145720=(_0x3ae9d2=this[_0x342790(0x336)][_0x342790(0x467)](_0x73c2bf))==null?void 0x0:_0x3ae9d2['getActiveSheet']())==null?void 0x0:_0x145720['getSheetId']();if(_0xf7d841['length']===0x0||!_0x73c2bf||!_0x5ce047)return;const _0x4cf080=[{'id':_0x11a28e[_0x342790(0x500)]['id'],'params':{'unitId':_0x73c2bf,'subUnitId':_0x44a33a,'selections':_0x511a8d[_0x342790(0x344)][_0x342790(0x3a0)](_0xf7d841)}}],_0x656ea2=this[_0x342790(0x541)][_0x342790(0x242)](_0x2aea7a,_0x4cf080);if(!_0xa51b04[_0x342790(0x30c)](_0x656ea2))throw _0x656ea2['error'];const _0xaf92b1=(_0x4d0925=(_0x2bdc28=_0x656ea2[_0x342790(0x12b)][0x0])==null?void 0x0:_0x2bdc28['params'])==null?void 0x0:_0x4d0925[_0x342790(0x2e7)];Array[_0x342790(0x4cb)](_0xaf92b1)&&_0xaf92b1[_0x342790(0x1e3)]&&this[_0x342790(0x510)][_0x342790(0x3bb)](_0x511a8d[_0x342790(0x23a)])[_0x342790(0x26a)](_0x11a28e['SetSelectionsOperation']['id'],{'unitId':_0x73c2bf,'subUnitId':_0x44a33a,'selections':_0xaf92b1});}};_0x319bda=_0x2dbf71([_0x27aba1(0x0,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x3b2)])),_0x27aba1(0x1,_0xa51b04[_0x2d2308(0x2a2)]),_0x27aba1(0x2,_0x511a8d[_0x2d2308(0x3ed)])],_0x319bda);const _0x484b6f=_0x511a8d[_0x2d2308(0x4be)](_0x2d2308(0x1a1));var _0x2423c4=(_0xf81578=>(_0xf81578[_0xf81578[_0x2d2308(0x4f5)]=0x0]=_0x2d2308(0x4f5),_0xf81578[_0xf81578['OTHER_CLIENTS_EDITING']=0x1]=_0x2d2308(0x329),_0xf81578))(_0x2423c4||{});const _0x3e0220=0x7530,_0x3d1fa6=_0x2d2308(0x20b);class _0xdbad05 extends _0x511a8d['Disposable']{constructor(){const _0x16b47f=_0x2d2308;super(),_0x3d9158(this,'_id',_0x511a8d[_0x16b47f(0x344)]['generateRandomId']()),_0x3d9158(this,_0x16b47f(0x383),new Set()),_0x3d9158(this,_0x16b47f(0x3d1),new Map()),_0x3d9158(this,'_heartbeatTimer',null),_0x3d9158(this,_0x16b47f(0x396),new Map()),_0x3d9158(this,'_unitStatus',new Map()),this[_0x16b47f(0x3e6)]();}[_0x2d2308(0x2fb)](){const _0x5897fd=_0x2d2308;super[_0x5897fd(0x2fb)](),this[_0x5897fd(0x396)][_0x5897fd(0x20c)]((_0xa08b15,_0xb08633)=>this[_0x5897fd(0x2f6)](_0xb08633)),this['_heartbeatTimer']&&window[_0x5897fd(0x4f9)](this['_heartbeatTimer']);}[_0x2d2308(0x4a5)](_0x278294){const _0x12f6f0=_0x2d2308;return this[_0x12f6f0(0x236)](_0x278294)[_0x12f6f0(0x47e)](_0x1fcaf6[_0x12f6f0(0x4d7)]());}[_0x2d2308(0x334)](_0x293383){const _0x347758=_0x2d2308;this[_0x347758(0x383)]['size']===0x0&&this[_0x347758(0x348)](),this[_0x347758(0x383)]['add'](_0x293383),this[_0x347758(0x463)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x293383],'isForwarded':!0x1});}['disposeUnit'](_0x2624cd){const _0x41cbf2=_0x2d2308;this['_selfUnitIDs'][_0x41cbf2(0x444)](_0x2624cd),this[_0x41cbf2(0x383)][_0x41cbf2(0x195)]===0x0&&this['_heartbeatTimer']&&window[_0x41cbf2(0x4f9)](this[_0x41cbf2(0x4a1)]);}[_0x2d2308(0x3e6)](){const _0xfad4df=_0x2d2308;this[_0xfad4df(0x2c8)](_0x511a8d[_0xfad4df(0x529)](_0x1fcaf6[_0xfad4df(0x409)](window,'storage')[_0xfad4df(0x2a1)](_0x3fe6b0=>{const _0x11c02b=_0xfad4df;if(_0x3fe6b0[_0x11c02b(0x3c0)]!==_0x3d1fa6||!_0x3fe6b0[_0x11c02b(0x46a)])return;const _0xd133f2=JSON[_0x11c02b(0x352)](_0x3fe6b0[_0x11c02b(0x46a)]);this[_0x11c02b(0x412)](_0xd133f2);}))),window[_0xfad4df(0x248)](_0xfad4df(0x276),()=>this[_0xfad4df(0x463)]({'type':0x1,'memberID':this[_0xfad4df(0x302)],'unitIDs':Array[_0xfad4df(0x52f)](this['_selfUnitIDs'])}));}[_0x2d2308(0x412)](_0x24fd46){const _0x5b39be=_0x2d2308;switch(_0x24fd46['type']){case 0x0:this[_0x5b39be(0x1bf)](_0x24fd46);break;case 0x1:this[_0x5b39be(0x2ab)](_0x24fd46);break;case 0x2:this[_0x5b39be(0x282)](_0x24fd46);break;}}[_0x2d2308(0x1bf)](_0x15f80a){const _0x5946d7=_0x2d2308,{unitIDs:_0x2ec387,memberID:_0x5d1bea,isForwarded:_0x51ca48}=_0x15f80a;_0x2ec387[_0x5946d7(0x20c)](_0xbdac64=>{const _0x47a1a0=_0x5946d7;if(!_0x51ca48&&this['_unitOnClients'][_0x47a1a0(0x1e0)](_0xbdac64)&&this[_0x47a1a0(0x236)](_0xbdac64)['next'](0x1),!this[_0x47a1a0(0x3d1)][_0x47a1a0(0x1e0)](_0xbdac64)||!this[_0x47a1a0(0x3d1)][_0x47a1a0(0x3bb)](_0xbdac64)['has'](_0x5d1bea)){const _0x1ed98f=this[_0x47a1a0(0x3d1)][_0x47a1a0(0x3bb)](_0xbdac64)||new Set();_0x1ed98f['add'](_0x5d1bea),this[_0x47a1a0(0x3d1)]['set'](_0xbdac64,_0x1ed98f),this[_0x47a1a0(0x4dd)](_0x5d1bea);}}),_0x51ca48||this[_0x5946d7(0x463)]({'type':0x0,'memberID':this[_0x5946d7(0x302)],'unitIDs':[...this[_0x5946d7(0x383)]],'isForwarded':!0x0});}[_0x2d2308(0x4dd)](_0x43e137){const _0x1583f0=_0x2d2308;this[_0x1583f0(0x2f6)](_0x43e137);const _0xd74e33=window['setTimeout'](()=>{const _0x2f62ab=_0x1583f0;this[_0x2f62ab(0x3d1)][_0x2f62ab(0x20c)](_0x406409=>{const _0x322e57=_0x2f62ab;_0x406409[_0x322e57(0x444)](_0x43e137);});},_0x3e0220*0x2);this[_0x1583f0(0x396)][_0x1583f0(0x445)](_0x43e137,_0xd74e33);}[_0x2d2308(0x2f6)](_0x3e7c98){const _0x5c3b4b=_0x2d2308;if(this['_clearOtherTimers'][_0x5c3b4b(0x1e0)](_0x3e7c98)){const _0x241fe4=this[_0x5c3b4b(0x396)][_0x5c3b4b(0x3bb)](_0x3e7c98);_0x241fe4&&window['clearTimeout'](_0x241fe4),this['_clearOtherTimers']['set'](_0x3e7c98,null);}}[_0x2d2308(0x2ab)](_0x2e69f4){const _0xc69738=_0x2d2308,{memberID:_0x5e7b79,unitIDs:_0x1aeb50}=_0x2e69f4;_0x1aeb50['forEach'](_0x37fbbf=>{const _0x228b8c=_0x3ba2;var _0x416c63;const _0x50bea5=this[_0x228b8c(0x3d1)][_0x228b8c(0x3bb)](_0x37fbbf);_0x50bea5&&(_0x50bea5['delete'](_0x5e7b79),(_0x416c63=this[_0x228b8c(0x236)](_0x37fbbf))==null||_0x416c63[_0x228b8c(0x535)](_0x50bea5['size']===0x0?0x0:0x1));}),this[_0xc69738(0x2f6)](_0x5e7b79);}[_0x2d2308(0x282)](_0x35c592){const _0x49b957=_0x2d2308;this[_0x49b957(0x4dd)](_0x35c592['memberID']);}['_send'](_0x462424){const _0x4e54a8=_0x2d2308;localStorage[_0x4e54a8(0x4f6)](_0x3d1fa6,JSON[_0x4e54a8(0x26b)](_0x462424));}[_0x2d2308(0x348)](){const _0x30e46e=_0x2d2308;this['_heartbeatTimer']=window[_0x30e46e(0x238)](()=>{const _0x37ddbb=_0x30e46e;this['_send']({'type':0x2,'memberID':this[_0x37ddbb(0x302)]});},_0x3e0220);}[_0x2d2308(0x236)](_0x2fec3a){const _0x406b57=_0x2d2308;return this[_0x406b57(0x4fb)]['has'](_0x2fec3a)||this[_0x406b57(0x4fb)]['set'](_0x2fec3a,new _0x1fcaf6[(_0x406b57(0x24c))](0x0)),this[_0x406b57(0x4fb)][_0x406b57(0x3bb)](_0x2fec3a);}}function _0x3df83b(_0xaf0dbe){const _0x4fffb6=_0x2d2308;let _0x11922a='';for(const _0x209f2a of _0xaf0dbe){const {startOffset:_0x1efff7,endOffset:_0x59a875,isActive:_0x35b67b}=_0x209f2a;_0x11922a[_0x4fffb6(0x1e3)]&&(_0x11922a+=','),_0x11922a+=_0x1efff7+':'+_0x59a875+':'+(_0x35b67b?'1':'0');}return _0x11922a;}function _0xfc242c(_0x4c4fc6){const _0x53bd0c=_0x2d2308,_0x4d5de8=_0x4c4fc6[_0x53bd0c(0x4d1)](','),_0x448026=[];for(const _0x3eecab of _0x4d5de8){const [_0x4b130f,_0x29ca40,_0x34360b]=_0x3eecab['split'](':');_0x448026[_0x53bd0c(0x4c4)]({'startOffset':Number(_0x4b130f),'endOffset':Number(_0x29ca40),'collapsed':_0x4b130f===_0x29ca40,'isActive':_0x34360b==='1'});}return _0x448026[_0x53bd0c(0x285)](_0x27a51c=>_0x27a51c[_0x53bd0c(0x125)])||(_0x448026[0x0]['isActive']=!0x0),_0x448026;}class _0x57cbd1 extends _0x511a8d[_0x2d2308(0x53d)]{constructor(){const _0x5eb5ef=_0x2d2308;super(...arguments),_0x3d9158(this,'_collabCursorState$',new _0x1fcaf6[(_0x5eb5ef(0x24c))](null)),_0x3d9158(this,_0x5eb5ef(0x29b),this[_0x5eb5ef(0x17d)][_0x5eb5ef(0x1d7)]());}['syncEditingCollabCursor'](_0x58b2d6){const _0xf8ce1f=_0x2d2308,{unitID:_0x32c72c,memberID:_0x5717a7,textRanges:_0x5b7389}=_0x58b2d6,_0x25bae3=_0x3df83b(_0x5b7389),_0x3bb233={'unitID':_0x32c72c,'memberID':_0x5717a7,'selection':_0x25bae3};this[_0xf8ce1f(0x17d)]['next'](_0x3bb233);}}var _0x272410=Object[_0x2d2308(0x210)],_0x2015b5=Object[_0x2d2308(0x475)],_0x21cb86=(_0x2313b2,_0xe22157,_0x54a6c0,_0xceb6b0)=>{for(var _0x5bc260=_0xceb6b0>0x1?void 0x0:_0xceb6b0?_0x2015b5(_0xe22157,_0x54a6c0):_0xe22157,_0x4e6b3d=_0x2313b2['length']-0x1,_0xc0b8fa;_0x4e6b3d>=0x0;_0x4e6b3d--)(_0xc0b8fa=_0x2313b2[_0x4e6b3d])&&(_0x5bc260=(_0xceb6b0?_0xc0b8fa(_0xe22157,_0x54a6c0,_0x5bc260):_0xc0b8fa(_0x5bc260))||_0x5bc260);return _0xceb6b0&&_0x5bc260&&_0x272410(_0xe22157,_0x54a6c0,_0x5bc260),_0x5bc260;},_0x216e38=(_0x5f2286,_0x344e41)=>(_0x34f9e3,_0x3c6852)=>_0x344e41(_0x34f9e3,_0x3c6852,_0x5f2286);let _0x319bd7=class{constructor(_0x55a1c6,_0x3de9ad){const _0x12fe43=_0x2d2308;this['_injector']=_0x55a1c6,this[_0x12fe43(0x541)]=_0x3de9ad;}[_0x2d2308(0x49c)](_0xa37e18){const _0x30d1b4=_0x2d2308;var _0x32b137;const _0x38d2e2=this[_0x30d1b4(0x510)][_0x30d1b4(0x3bb)](_0x106b3c[_0x30d1b4(0x286)]),_0x50cfbe=(_0x32b137=_0x38d2e2[_0x30d1b4(0x3f7)]())!=null?_0x32b137:[];if(_0x50cfbe['length']===0x0)return;const _0x341289=[{'id':_0x30d1b4(0x124),'params':{'unitId':_0xa37e18['unitID'],'actions':null,'textRanges':_0x50cfbe}}],_0x2a161a=this[_0x30d1b4(0x541)][_0x30d1b4(0x242)](_0xa37e18,_0x341289);if(!_0xa51b04[_0x30d1b4(0x30c)](_0x2a161a))throw _0x2a161a[_0x30d1b4(0x269)];const _0x2c0b0e=_0x2a161a[_0x30d1b4(0x12b)][0x0][_0x30d1b4(0x2b8)]['textRanges'];Array[_0x30d1b4(0x4cb)](_0x2c0b0e)&&_0x2c0b0e['length']&&_0x38d2e2['replaceTextRanges'](_0x2c0b0e,!0x1);}};_0x319bd7=_0x21cb86([_0x216e38(0x0,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x3b2)])),_0x216e38(0x1,_0xa51b04[_0x2d2308(0x2a2)])],_0x319bd7);const _0x4c0b3a=new Set([_0x11a28e['InsertSheetMutation']['id']]);function _0x16dcbb(_0x3143eb,_0x594721,_0x2d973e,_0x32a43a,_0x350564){const _0x17030d=_0x2d2308;var _0x219817,_0x56f4c5,_0x4db9c5,_0xc2c006;const _0x129766=[];for(const _0x4d6cc9 of _0x3143eb)if(_0x4c0b3a['has'](_0x4d6cc9['id'])){if(_0x129766[_0x17030d(0x1e3)]>0x0)break;_0x129766[_0x17030d(0x4c4)](_0x4d6cc9);break;}else _0x129766[_0x17030d(0x4c4)](_0x4d6cc9);const _0x384c87=(_0x56f4c5=(_0x219817=_0x350564[_0x17030d(0x430)]())==null?void 0x0:_0x219817[_0x17030d(0x22a)])!=null?_0x56f4c5:_0x17030d(0x301),_0x50c8e4=(_0xc2c006=(_0x4db9c5=_0x350564[_0x17030d(0x430)]())==null?void 0x0:_0x4db9c5['memberID'])!=null?_0xc2c006:_0x17030d(0x301);return{'changeset':{'unitID':_0x594721,'type':_0xa51b04[_0x17030d(0x15b)](_0x2d973e[_0x17030d(0x485)](_0x594721)),'baseRev':_0x32a43a[_0x17030d(0x4b9)](_0x594721),'revision':0x0,'userID':_0x384c87,'memberID':_0x50c8e4,'mutations':_0x129766},'pendingMutations':_0x3143eb[_0x17030d(0x4d9)](_0x129766[_0x17030d(0x1e3)])};}function _0x88f6a4(_0x25e531,_0x192878,_0xd22057,_0x50a1e1,_0x580c3f){const _0x2ad1a6=_0x2d2308;var _0x5908fe,_0x227ce9,_0x25abed,_0x2dd126;const _0x523834=[_0x25e531['reduce']((_0x1ac9f9,_0x21d814)=>{const _0x30195a=_0x3ba2;var _0x51b5bf;const {id:_0x54f8f9}=_0x1ac9f9,{id:_0xc1bca3,type:_0xb7b152}=_0x21d814,_0x4ad470=(_0x51b5bf=_0x1ac9f9['params'])!=null?_0x51b5bf:{'actions':null},_0x31fcaf=_0x21d814['params'];if(_0x54f8f9&&_0x54f8f9!==_0xc1bca3)throw new Error(_0x30195a(0x509)+_0x54f8f9+_0x30195a(0x146)+_0xc1bca3+'.');return{..._0x1ac9f9,'id':_0xc1bca3,'type':_0xb7b152,'params':{'unitId':_0x31fcaf[_0x30195a(0x4bf)],'textRanges':_0x31fcaf[_0x30195a(0x512)],'actions':_0x511a8d['JSONX'][_0x30195a(0x1d4)](_0x4ad470[_0x30195a(0x479)],_0x31fcaf['actions'])}};},{})],_0x559a51=(_0x227ce9=(_0x5908fe=_0x580c3f[_0x2ad1a6(0x430)]())==null?void 0x0:_0x5908fe['userID'])!=null?_0x227ce9:'unknown',_0x16c892=(_0x2dd126=(_0x25abed=_0x580c3f[_0x2ad1a6(0x430)]())==null?void 0x0:_0x25abed[_0x2ad1a6(0x469)])!=null?_0x2dd126:_0x2ad1a6(0x301);return{'changeset':{'unitID':_0x192878,'type':_0xa51b04[_0x2ad1a6(0x15b)](_0xd22057[_0x2ad1a6(0x485)](_0x192878)),'baseRev':_0x50a1e1[_0x2ad1a6(0x4b9)](_0x192878),'revision':0x0,'userID':_0x559a51,'memberID':_0x16c892,'mutations':_0x523834},'pendingMutations':[]};}const _0x351057={'id':_0x11a28e['EmptyMutation']['id'],'type':_0x511a8d[_0x2d2308(0x350)][_0x2d2308(0x4d3)],'params':{}};var _0x24f4df=Object[_0x2d2308(0x210)],_0x3ec1d3=Object[_0x2d2308(0x475)],_0x2ef1f0=(_0x3256da,_0x2f64e0,_0x2f5180,_0x43438e)=>{const _0x113f66=_0x2d2308;for(var _0x564510=_0x43438e>0x1?void 0x0:_0x43438e?_0x3ec1d3(_0x2f64e0,_0x2f5180):_0x2f64e0,_0x55e3d0=_0x3256da[_0x113f66(0x1e3)]-0x1,_0x4e7bc8;_0x55e3d0>=0x0;_0x55e3d0--)(_0x4e7bc8=_0x3256da[_0x55e3d0])&&(_0x564510=(_0x43438e?_0x4e7bc8(_0x2f64e0,_0x2f5180,_0x564510):_0x4e7bc8(_0x564510))||_0x564510);return _0x43438e&&_0x564510&&_0x24f4df(_0x2f64e0,_0x2f5180,_0x564510),_0x564510;},_0x23216c=(_0x39d5ad,_0x4d2e75)=>(_0x5aa027,_0x144927)=>_0x4d2e75(_0x5aa027,_0x144927,_0x39d5ad),_0x437a54=(_0x224436=>(_0x224436[_0x2d2308(0x3f4)]='not_collab',_0x224436[_0x2d2308(0x388)]=_0x2d2308(0x147),_0x224436[_0x2d2308(0x4cc)]='pending',_0x224436[_0x2d2308(0x40e)]=_0x2d2308(0x3ca),_0x224436[_0x2d2308(0x306)]=_0x2d2308(0x15a),_0x224436[_0x2d2308(0x402)]=_0x2d2308(0x4a4),_0x224436[_0x2d2308(0x262)]=_0x2d2308(0x530),_0x224436[_0x2d2308(0x264)]=_0x2d2308(0x1c9),_0x224436))(_0x437a54||{});class _0xbdd3b{constructor(_0x18f0b6,_0xe9bbdb,_0x316429,_0x44a33f,_0x1681ff,_0x3db6b4,_0x32c6b3,_0x4f6717,_0x28ece5){const _0x2590fd=_0x2d2308;_0x3d9158(this,_0x2590fd(0x3d0),null),_0x3d9158(this,_0x2590fd(0x4e7),[]),(this[_0x2590fd(0x14c)]=_0x18f0b6,this[_0x2590fd(0x4bb)]=_0xe9bbdb,this[_0x2590fd(0x272)]=_0x1681ff,this[_0x2590fd(0x4c3)]=_0x3db6b4,this[_0x2590fd(0x1b8)]=_0x32c6b3,this[_0x2590fd(0x342)]=_0x4f6717,this[_0x2590fd(0x354)]=_0x28ece5,this[_0x2590fd(0x3d0)]=_0x316429,this[_0x2590fd(0x4e7)]=_0x44a33f);}['_checkMissing'](_0x27d47a){const _0x425869=_0x2d2308,_0x4d2979=this['_revisionService'][_0x425869(0x4b9)](this[_0x425869(0x14c)]);return _0x27d47a[_0x425869(0x2e9)]>_0x4d2979+0x1?(this[_0x425869(0x272)][_0x425869(0x26d)]({'from':_0x4d2979,'to':_0x27d47a[_0x425869(0x2e9)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x4f8fdd){const _0x85a903=_0x2d2308;this['_undoRedoService'][_0x85a903(0x50c)](this['unitID'],_0x4f8fdd);}[_0x2d2308(0x4f4)](_0x310126){const _0x310e86=_0x2d2308;var _0xfc15ec,_0x1bdf8a;(_0x1bdf8a=(_0xfc15ec=this[_0x310e86(0x272)])[_0x310e86(0x346)])==null||_0x1bdf8a[_0x310e86(0x2a9)](_0xfc15ec,_0x310126);}[_0x2d2308(0x51c)](_0xf02b0c){const _0x104ccb=_0x2d2308;var _0x157c3e,_0x3bfe4c;return(_0x3bfe4c=(_0x157c3e=this[_0x104ccb(0x272)])['onTransformIME'])==null?void 0x0:_0x3bfe4c[_0x104ccb(0x2a9)](_0x157c3e,_0xf02b0c);}[_0x2d2308(0x15c)](_0xbad09f){const _0x5a928c=_0x2d2308;var _0x10ffb0,_0x3d4c84,_0x502354;return(_0x502354=(_0x3d4c84=(_0x10ffb0=this[_0x5a928c(0x272)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x3d4c84['call'](_0x10ffb0,_0xbad09f))!=null?_0x502354:_0xbad09f;}[_0x2d2308(0x353)](_0xfab4cb){const _0x2d2e17=_0x2d2308;var _0x10cdd5,_0x5c5c6d;if(this['type']===_0x469253['UNIVER_DOC']){const {unitID:_0x3f6d22,mutations:_0x525c3a,memberID:_0x8ca996}=_0xfab4cb,_0x234a1d=_0x525c3a[0x0]['params']['textRanges'];Array[_0x2d2e17(0x4cb)](_0x234a1d)&&_0x234a1d[_0x2d2e17(0x1e3)]>0x0&&((_0x5c5c6d=(_0x10cdd5=this[_0x2d2e17(0x272)])[_0x2d2e17(0x1c2)])==null||_0x5c5c6d['call'](_0x10cdd5,{'unitID':_0x3f6d22,'memberID':_0x8ca996,'textRanges':_0x234a1d}));}}[_0x2d2308(0x270)](){const _0x1e4b36=_0x2d2308;this[_0x1e4b36(0x354)]['updateOfflineData'](this[_0x1e4b36(0x14c)],this['type'],this[_0x1e4b36(0x3d0)],this[_0x1e4b36(0x4e7)]);}[_0x2d2308(0x387)](){const _0xd761e5=_0x2d2308;return this[_0xd761e5(0x342)][_0xd761e5(0x4b9)](this[_0xd761e5(0x14c)]);}['_incrementRevisionNumber'](){const _0x403ee8=_0x2d2308;this[_0x403ee8(0x342)][_0x403ee8(0x305)](this[_0x403ee8(0x14c)]);}[_0x2d2308(0x3b9)](_0x962a3c){const _0x146db6=_0x2d2308;var _0x480f05;const _0x4e61a5=this[_0x146db6(0x15c)](_0x962a3c),_0x2b1b4d=_0x511a8d['sequenceExecute'](_0x4e61a5[_0x146db6(0x1ae)],this[_0x146db6(0x4c3)],{'fromCollab':!0x0});if(!_0x2b1b4d[_0x146db6(0x3ae)])throw _0x2b1b4d['error']instanceof Error?_0x2b1b4d[_0x146db6(0x269)]:new Error((_0x480f05=_0x2b1b4d[_0x146db6(0x269)])!=null?_0x480f05:_0x146db6(0x4d5));this[_0x146db6(0x51c)](_0x4e61a5),this[_0x146db6(0x48d)](_0x962a3c),this[_0x146db6(0x4f4)](_0x4e61a5),this[_0x146db6(0x353)](_0x4e61a5),this[_0x146db6(0x164)]();}}let _0xa3a636=class extends _0xbdd3b{constructor(_0x13cc62,_0x412b5a,_0x575bd9,_0x2e6a9b,_0x18f422,_0x5a0f52,_0xdbd85f,_0x3b96dc,_0x232ca7,_0x23eccf){const _0x2248b3=_0x2d2308;super(_0x13cc62,_0x412b5a,null,[],_0x575bd9,_0x3b96dc,_0xdbd85f,_0x2e6a9b,_0x18f422),_0x3d9158(this,_0x2248b3(0x166),_0x2248b3(0x147)),(this[_0x2248b3(0x510)]=_0x5a0f52,this[_0x2248b3(0x54c)]=_0x232ca7,this[_0x2248b3(0x541)]=_0x23eccf);}[_0x2d2308(0x184)](_0x4884e3){const _0x4713fa=_0x2d2308,_0x56cf7e=this[_0x4713fa(0x510)][_0x4713fa(0x558)](_0x1b95cb,this[_0x4713fa(0x14c)],this['type'],[_0x4884e3],this['_handler']);return _0x56cf7e[_0x4713fa(0x18a)](),_0x56cf7e[_0x4713fa(0x270)](),_0x56cf7e;}[_0x2d2308(0x47b)](_0x411aa7){const _0x319eb2=_0x2d2308;if(this['_checkMissing'](_0x411aa7))return this[_0x319eb2(0x510)][_0x319eb2(0x558)](_0x51a99b,this[_0x319eb2(0x14c)],this['type'],null,[],null,[_0x411aa7],this[_0x319eb2(0x272)]);try{const _0x9e633a=this['_transformService'][_0x319eb2(0x242)](_0x411aa7,[_0x351057]);if(_0xa51b04[_0x319eb2(0x30c)](_0x9e633a)){const {c1Prime:_0x1a6033}=_0x9e633a;return this[_0x319eb2(0x3b9)](_0x1a6033),this;}throw _0x9e633a[_0x319eb2(0x269)];}catch(_0xd9488f){return this['_logService']['error'](_0xd9488f),this[_0x319eb2(0x21a)](!0x1);}}[_0x2d2308(0x21a)](_0xd469c0){const _0x149cb7=_0x2d2308;return this['_injector'][_0x149cb7(0x558)](_0x1f4004,this[_0x149cb7(0x14c)],this[_0x149cb7(0x4bb)],null,[],this[_0x149cb7(0x272)],_0xd469c0);}[_0x2d2308(0x4df)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x2d2308(0x199)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x2d2308(0x55e)](){const _0x265e50=_0x2d2308;return this['_injector'][_0x265e50(0x558)](_0x30313b,this[_0x265e50(0x14c)],this[_0x265e50(0x4bb)],null,[],this[_0x265e50(0x272)]);}[_0x2d2308(0x2c1)](){return this;}[_0x2d2308(0x4c6)](){const _0x19857e=_0x2d2308;throw new Error(_0x19857e(0x3e4));}[_0x2d2308(0x2b6)](){const _0x2b1a78=_0x2d2308,_0x53bdab=this[_0x2b1a78(0x342)][_0x2b1a78(0x4b9)](this[_0x2b1a78(0x14c)]);return this['_handler'][_0x2b1a78(0x26d)]({'from':_0x53bdab,'to':0x0}),this[_0x2b1a78(0x510)][_0x2b1a78(0x558)](_0x51a99b,this[_0x2b1a78(0x14c)],this['type'],null,[],null,[],this[_0x2b1a78(0x272)]);}};_0xa3a636=_0x2ef1f0([_0x23216c(0x3,_0x511a8d['Inject'](_0xa51b04[_0x2d2308(0x355)])),_0x23216c(0x4,_0x511a8d[_0x2d2308(0x4dc)](_0x5c4621['LocalCacheService'])),_0x23216c(0x5,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x3b2)])),_0x23216c(0x6,_0x511a8d[_0x2d2308(0x2ff)]),_0x23216c(0x7,_0x511a8d[_0x2d2308(0x23a)]),_0x23216c(0x8,_0x511a8d[_0x2d2308(0x446)]),_0x23216c(0x9,_0xa51b04[_0x2d2308(0x2a2)])],_0xa3a636);let _0x1b95cb=class extends _0xbdd3b{constructor(_0x284e64,_0x442b75,_0x518da4,_0x1bc4f1,_0x139e91,_0x2b83e8,_0x50fb22,_0x5f2ae3,_0x2925db,_0x5bc261,_0x47313a,_0x4c7bd7,_0x342659,_0x2dc238){const _0x669111=_0x2d2308;super(_0x284e64,_0x442b75,null,_0x518da4,_0x1bc4f1,_0x5bc261,_0x2dc238,_0x2b83e8,_0x50fb22),_0x3d9158(this,_0x669111(0x166),_0x669111(0x4ef)),_0x3d9158(this,_0x669111(0x2b3),null),_0x3d9158(this,_0x669111(0x160),null),(this['_injector']=_0x139e91,this['_memberService']=_0x5f2ae3,this['_logService']=_0x2925db,this[_0x669111(0x366)]=_0x47313a,this['_transformService']=_0x4c7bd7,this[_0x669111(0x245)]=_0x342659);}[_0x2d2308(0x184)](_0x3af412){const _0x3aa5a6=_0x2d2308;return this[_0x3aa5a6(0x4e7)][_0x3aa5a6(0x4c4)](_0x3af412),this['_updateLocalCache'](),this;}[_0x2d2308(0x47b)](_0x2134d2){const _0x4dc961=_0x2d2308;if(this[_0x4dc961(0x327)](_0x2134d2))return this[_0x4dc961(0x2e6)](),this['_injector'][_0x4dc961(0x558)](_0x51a99b,this[_0x4dc961(0x14c)],this[_0x4dc961(0x4bb)],null,this[_0x4dc961(0x4e7)],null,[_0x2134d2],this[_0x4dc961(0x272)]);try{const _0x50a018=this[_0x4dc961(0x541)][_0x4dc961(0x242)](_0x2134d2,this[_0x4dc961(0x4e7)]);if(_0xa51b04[_0x4dc961(0x30c)](_0x50a018)){const {c1Prime:_0x1d7d57,m2Prime:_0x4775c9}=_0x50a018;this[_0x4dc961(0x3b9)](_0x1d7d57);const _0x567162=this[_0x4dc961(0x510)]['createInstance'](_0x1b95cb,this[_0x4dc961(0x14c)],this['type'],_0x4775c9,this[_0x4dc961(0x272)]);return this[_0x4dc961(0x2e6)](),_0x567162[_0x4dc961(0x18a)](this[_0x4dc961(0x2b3)]?Math[_0x4dc961(0x256)](0x0,new Date()['getTime']()-this[_0x4dc961(0x2b3)]):this[_0x4dc961(0x4e2)]()),_0x567162;}throw _0x50a018[_0x4dc961(0x269)];}catch(_0x26aa6d){return this['_logService'][_0x4dc961(0x269)](_0x26aa6d),this[_0x4dc961(0x21a)](!0x1);}}['onRemoteAck'](){const _0x165355=_0x2d2308;throw new Error(_0x165355(0x50d));}[_0x2d2308(0x199)](){const _0x2e36e1=_0x2d2308;throw new Error(_0x2e36e1(0x4a7));}['toggleOffline'](){const _0x3eebf4=_0x2d2308;return this['_clearScheduledTask'](),this[_0x3eebf4(0x510)][_0x3eebf4(0x558)](_0x30313b,this[_0x3eebf4(0x14c)],this['type'],null,this[_0x3eebf4(0x4e7)],this[_0x3eebf4(0x272)]);}['toggleOnline'](){return this;}[_0x2d2308(0x18a)](_0x4853a9){const _0x57ded0=_0x2d2308,_0xee36e9=_0x4853a9!=null?_0x4853a9:this[_0x57ded0(0x4e2)]();this[_0x57ded0(0x2b3)]=new Date()['getTime'](),this[_0x57ded0(0x160)]=window[_0x57ded0(0x2ac)](()=>{const _0x5c8a72=_0x57ded0;this['_clearScheduledTask']();let _0x222213=null;switch(this[_0x5c8a72(0x4bb)]){case _0x469253[_0x5c8a72(0x1b5)]:{_0x222213=_0x16dcbb(this['_pendingMutations'],this['unitID'],this[_0x5c8a72(0x245)],this[_0x5c8a72(0x342)],this[_0x5c8a72(0x361)]);break;}case _0x469253[_0x5c8a72(0x183)]:{this[_0x5c8a72(0x4e7)][_0x5c8a72(0x2c6)](_0x206ec1=>_0x206ec1['id']===_0x106b3c['RichTextEditingMutation']['id'])?_0x222213=_0x88f6a4(this['_pendingMutations'],this[_0x5c8a72(0x14c)],this[_0x5c8a72(0x245)],this['_revisionService'],this[_0x5c8a72(0x361)]):_0x222213=_0x16dcbb(this['_pendingMutations'],this['unitID'],this[_0x5c8a72(0x245)],this['_revisionService'],this[_0x5c8a72(0x361)]);break;}default:throw new Error(_0x5c8a72(0x4c0)+this[_0x5c8a72(0x4bb)]+'\x20in\x20_schedule.');}const {changeset:_0x4aeff2,pendingMutations:_0x2c7b52}=_0x222213;this['_handler']['onSendChangeset'](_0x4aeff2);const _0x4e6269=_0x2c7b52[_0x5c8a72(0x1e3)]?this[_0x5c8a72(0x510)][_0x5c8a72(0x558)](_0x20e964,this[_0x5c8a72(0x14c)],this[_0x5c8a72(0x4bb)],_0x4aeff2,_0x2c7b52,this[_0x5c8a72(0x272)]):this[_0x5c8a72(0x510)][_0x5c8a72(0x558)](_0x42f5a6,this['unitID'],this[_0x5c8a72(0x4bb)],_0x4aeff2,this[_0x5c8a72(0x272)]);_0x4e6269[_0x5c8a72(0x270)](),this[_0x5c8a72(0x272)]['onStateChange'](this,_0x4e6269);},_0xee36e9);}[_0x2d2308(0x4e2)](){const _0x2cc36c=_0x2d2308;var _0x44238f;const _0x110709=this[_0x2cc36c(0x366)][_0x2cc36c(0x12f)](_0x29065d);return(_0x44238f=_0x110709==null?void 0x0:_0x110709['sendChangesetTimeout'])!=null?_0x44238f:0x7d0;}[_0x2d2308(0x4c6)](){const _0x34d3ab=_0x2d2308;throw new Error(_0x34d3ab(0x3c1));}[_0x2d2308(0x2e6)](){const _0x2c6ec4=_0x2d2308;this['_sendingTimer']!=null&&(clearTimeout(this[_0x2c6ec4(0x160)]),this[_0x2c6ec4(0x160)]=null);}['_onConflict'](_0x1885b8){const _0x32c795=_0x2d2308;return this['_clearScheduledTask'](),this[_0x32c795(0x510)]['createInstance'](_0x1f4004,this[_0x32c795(0x14c)],this[_0x32c795(0x4bb)],null,this[_0x32c795(0x4e7)],this[_0x32c795(0x272)],_0x1885b8);}};_0x1b95cb=_0x2ef1f0([_0x23216c(0x4,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x3b2)])),_0x23216c(0x5,_0x511a8d['Inject'](_0xa51b04[_0x2d2308(0x355)])),_0x23216c(0x6,_0x511a8d[_0x2d2308(0x4dc)](_0x5c4621['LocalCacheService'])),_0x23216c(0x7,_0x511a8d['Inject'](_0x301ed0)),_0x23216c(0x8,_0x511a8d[_0x2d2308(0x446)]),_0x23216c(0x9,_0x511a8d[_0x2d2308(0x23a)]),_0x23216c(0xa,_0x511a8d['IConfigService']),_0x23216c(0xb,_0xa51b04[_0x2d2308(0x2a2)]),_0x23216c(0xc,_0x511a8d['IUniverInstanceService']),_0x23216c(0xd,_0x511a8d[_0x2d2308(0x2ff)])],_0x1b95cb);let _0x42f5a6=class extends _0xbdd3b{constructor(_0x90970c,_0x422c26,_0x12aca9,_0x45a9a8,_0x8b98d,_0x2276fb,_0x13dcb4,_0x1e5761,_0x2e124b,_0x1a79b2,_0x1dd9fa){const _0x524fe0=_0x2d2308;super(_0x90970c,_0x422c26,_0x12aca9,[],_0x45a9a8,_0x1e5761,_0x1dd9fa,_0x2276fb,_0x13dcb4),_0x3d9158(this,_0x524fe0(0x166),_0x524fe0(0x3ca)),(this[_0x524fe0(0x510)]=_0x8b98d,this[_0x524fe0(0x54c)]=_0x2e124b,this[_0x524fe0(0x541)]=_0x1a79b2);}[_0x2d2308(0x184)](_0x465826){const _0x49c08f=_0x2d2308,_0x35996c=this[_0x49c08f(0x510)][_0x49c08f(0x558)](_0x20e964,this[_0x49c08f(0x14c)],this[_0x49c08f(0x4bb)],this[_0x49c08f(0x3d0)],[_0x465826],this['_handler']);return _0x35996c[_0x49c08f(0x270)](),_0x35996c;}[_0x2d2308(0x47b)](_0x5a54d6){const _0x4dd89c=_0x2d2308;if(this['_checkMissing'](_0x5a54d6))return this[_0x4dd89c(0x510)][_0x4dd89c(0x558)](_0x51a99b,this[_0x4dd89c(0x14c)],this[_0x4dd89c(0x4bb)],this[_0x4dd89c(0x3d0)],[],null,[_0x5a54d6],this[_0x4dd89c(0x272)]);try{const _0x37cd64=this[_0x4dd89c(0x541)]['transformChangesets']([_0x5a54d6],[this[_0x4dd89c(0x3d0)]],!0x1);if(_0xa51b04[_0x4dd89c(0x1b0)](_0x37cd64)){const {c1Prime:_0x323ff6,c2Prime:_0x151065}=_0x37cd64;this[_0x4dd89c(0x3b9)](_0x323ff6[0x0]),_0x151065[0x0][_0x4dd89c(0x1c0)]=this[_0x4dd89c(0x387)]();const _0x5a5e15=this[_0x4dd89c(0x510)][_0x4dd89c(0x558)](_0x42f5a6,this[_0x4dd89c(0x14c)],this[_0x4dd89c(0x4bb)],_0x151065[0x0],this[_0x4dd89c(0x272)]);return _0x5a5e15[_0x4dd89c(0x270)](),_0x5a5e15;}return this[_0x4dd89c(0x21a)](!0x1);}catch(_0x1f4f87){return this[_0x4dd89c(0x54c)][_0x4dd89c(0x269)](_0x1f4f87),this[_0x4dd89c(0x21a)](!0x1);}}[_0x2d2308(0x4df)](_0x3953c5){const _0x555626=_0x2d2308,_0x58ece4=this[_0x555626(0x342)][_0x555626(0x4b9)](this['unitID']);if(_0x3953c5[_0x555626(0x2e9)]<_0x58ece4-0x1)return this;if(this[_0x555626(0x327)](_0x3953c5))return this[_0x555626(0x510)][_0x555626(0x558)](_0x51a99b,this[_0x555626(0x14c)],this[_0x555626(0x4bb)],null,[],this[_0x555626(0x3d0)],[],this[_0x555626(0x272)]);this[_0x555626(0x164)]();const _0x72ace7=this[_0x555626(0x510)][_0x555626(0x558)](_0xa3a636,this['unitID'],this['type'],this[_0x555626(0x272)]);return _0x72ace7['_updateLocalCache'](),_0x72ace7;}[_0x2d2308(0x199)](_0x22f6d5){const _0x15d5ab=_0x2d2308;return this[_0x15d5ab(0x21a)](!!(_0x22f6d5!=null&&_0x22f6d5[_0x15d5ab(0x255)]));}[_0x2d2308(0x55e)](){const _0x29eb44=_0x2d2308;return this[_0x29eb44(0x510)]['createInstance'](_0x30313b,this[_0x29eb44(0x14c)],this[_0x29eb44(0x4bb)],this[_0x29eb44(0x3d0)],[],this['_handler']);}[_0x2d2308(0x2c1)](){return this;}['resend'](){const _0x390c59=_0x2d2308;this[_0x390c59(0x272)][_0x390c59(0x325)](this['_awaitingChangeset']);}[_0x2d2308(0x21a)](_0xd84bf3){const _0x346f55=_0x2d2308;return this['_injector'][_0x346f55(0x558)](_0x1f4004,this[_0x346f55(0x14c)],this['type'],this[_0x346f55(0x3d0)],[],this[_0x346f55(0x272)],_0xd84bf3);}};_0x42f5a6=_0x2ef1f0([_0x23216c(0x4,_0x511a8d['Inject'](_0x511a8d[_0x2d2308(0x3b2)])),_0x23216c(0x5,_0x511a8d[_0x2d2308(0x4dc)](_0xa51b04[_0x2d2308(0x355)])),_0x23216c(0x6,_0x511a8d[_0x2d2308(0x4dc)](_0x5c4621['LocalCacheService'])),_0x23216c(0x7,_0x511a8d[_0x2d2308(0x23a)]),_0x23216c(0x8,_0x511a8d[_0x2d2308(0x446)]),_0x23216c(0x9,_0xa51b04['ITransformService']),_0x23216c(0xa,_0x511a8d[_0x2d2308(0x2ff)])],_0x42f5a6);let _0x20e964=class extends _0xbdd3b{constructor(_0x40026b,_0x290c80,_0x1b1fa5,_0x3d4483,_0x3d948f,_0x156215,_0x23fe91,_0x10c029,_0x64ce,_0x3d2caa,_0x983fdd,_0x3b9a4b){const _0x57ca3e=_0x2d2308;super(_0x40026b,_0x290c80,_0x1b1fa5,_0x3d4483,_0x3d948f,_0x64ce,_0x3b9a4b,_0x23fe91,_0x10c029),_0x3d9158(this,'status',_0x57ca3e(0x15a)),(this[_0x57ca3e(0x510)]=_0x156215,this[_0x57ca3e(0x54c)]=_0x3d2caa,this['_transformService']=_0x983fdd);}['appendMutation'](_0x1ec5da){const _0x446565=_0x2d2308;return this['_pendingMutations'][_0x446565(0x4c4)](_0x1ec5da),this;}['onRemoteChangeset'](_0x138ea6){const _0x4ab857=_0x2d2308;if(this[_0x4ab857(0x327)](_0x138ea6))return this[_0x4ab857(0x510)][_0x4ab857(0x558)](_0x51a99b,this['unitID'],this[_0x4ab857(0x4bb)],this[_0x4ab857(0x3d0)],this['_pendingMutations'],null,[_0x138ea6],this[_0x4ab857(0x272)]);try{const _0x349673=this[_0x4ab857(0x541)]['transformChangesets']([_0x138ea6],[this[_0x4ab857(0x3d0)]],!0x1);if(_0xa51b04['isTransformChangesetsSuccess'](_0x349673)){const {c1Prime:_0x3f7e04,c2Prime:_0x1d31c8}=_0x349673,_0x719802=this[_0x4ab857(0x541)][_0x4ab857(0x242)](_0x3f7e04[0x0],this[_0x4ab857(0x4e7)]);if(_0xa51b04[_0x4ab857(0x30c)](_0x719802)){const {c1Prime:_0x57fa17,m2Prime:_0x3095fa}=_0x719802;return this['_executeRemoteChangeset'](_0x57fa17),_0x1d31c8[0x0]['baseRev']=this[_0x4ab857(0x387)](),this[_0x4ab857(0x510)][_0x4ab857(0x558)](_0x20e964,this[_0x4ab857(0x14c)],this[_0x4ab857(0x4bb)],_0x1d31c8[0x0],_0x3095fa,this[_0x4ab857(0x272)]);}throw _0x719802[_0x4ab857(0x269)];}throw _0x349673[_0x4ab857(0x269)];}catch(_0x632795){return this[_0x4ab857(0x54c)][_0x4ab857(0x269)](_0x632795),this['_onConflict'](!0x1);}}[_0x2d2308(0x4df)](_0x1803c2){const _0x55a5c5=_0x2d2308;if(this['_checkMissing'](_0x1803c2))return this['_injector'][_0x55a5c5(0x558)](_0x51a99b,this[_0x55a5c5(0x14c)],this['type'],null,this['_pendingMutations'],this[_0x55a5c5(0x3d0)],[],this[_0x55a5c5(0x272)]);this[_0x55a5c5(0x164)]();const _0x38bed1=this[_0x55a5c5(0x510)][_0x55a5c5(0x558)](_0x1b95cb,this[_0x55a5c5(0x14c)],this[_0x55a5c5(0x4bb)],this[_0x55a5c5(0x4e7)],this[_0x55a5c5(0x272)]);return _0x38bed1[_0x55a5c5(0x18a)](),_0x38bed1[_0x55a5c5(0x270)](),_0x38bed1;}[_0x2d2308(0x199)](_0x110e77){const _0x3af47f=_0x2d2308;return this['_onConflict'](!!(_0x110e77!=null&&_0x110e77[_0x3af47f(0x255)]));}['toggleOffline'](){const _0x123167=_0x2d2308;return this[_0x123167(0x510)]['createInstance'](_0x30313b,this[_0x123167(0x14c)],this[_0x123167(0x4bb)],this[_0x123167(0x3d0)],this[_0x123167(0x4e7)],this[_0x123167(0x272)]);}[_0x2d2308(0x2c1)](){return this;}[_0x2d2308(0x4c6)](){const _0x6de627=_0x2d2308;this[_0x6de627(0x272)][_0x6de627(0x325)](this[_0x6de627(0x3d0)]);}[_0x2d2308(0x21a)](_0x10dcde){const _0x5da8d8=_0x2d2308;return this[_0x5da8d8(0x510)][_0x5da8d8(0x558)](_0x1f4004,this[_0x5da8d8(0x14c)],this['type'],null,this['_pendingMutations'],this[_0x5da8d8(0x272)],_0x10dcde);}};_0x20e964=_0x2ef1f0([_0x23216c(0x5,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x3b2)])),_0x23216c(0x6,_0x511a8d[_0x2d2308(0x4dc)](_0xa51b04[_0x2d2308(0x355)])),_0x23216c(0x7,_0x511a8d[_0x2d2308(0x4dc)](_0x5c4621[_0x2d2308(0x23d)])),_0x23216c(0x8,_0x511a8d[_0x2d2308(0x23a)]),_0x23216c(0x9,_0x511a8d['ILogService']),_0x23216c(0xa,_0xa51b04[_0x2d2308(0x2a2)]),_0x23216c(0xb,_0x511a8d[_0x2d2308(0x2ff)])],_0x20e964);let _0x1f4004=class extends _0xbdd3b{constructor(_0x28b8c3,_0x48f292,_0x56fbe5,_0x348819,_0x25b785,_0x193007=!0x1,_0xf43f5,_0x4cc804,_0x2cef2c,_0x4ba27a,_0x3ffcaf,_0x3158fe,_0x31ce1){const _0x152d2e=_0x2d2308;super(_0x28b8c3,_0x48f292,_0x56fbe5,_0x348819,_0x25b785,_0x4cc804,_0x2cef2c,_0x3ffcaf,_0x4ba27a),_0x3d9158(this,_0x152d2e(0x166),_0x152d2e(0x530)),(this[_0x152d2e(0x16b)]=_0x193007,this[_0x152d2e(0x154)]=_0xf43f5,this['_localeService']=_0x3158fe,this['_notificationService']=_0x31ce1,this[_0x152d2e(0x3b1)](),this[_0x152d2e(0x47d)](),this[_0x152d2e(0x3a5)]());}[_0x2d2308(0x184)](){return this;}[_0x2d2308(0x47b)](){return this;}[_0x2d2308(0x4df)](){return this;}[_0x2d2308(0x199)](){return this;}[_0x2d2308(0x55e)](){return this;}[_0x2d2308(0x2c1)](){return this;}[_0x2d2308(0x4c6)](){const _0x391ee2=_0x2d2308;throw new Error(_0x391ee2(0x2b4));}[_0x2d2308(0x47d)](){const _0x4a5888=_0x2d2308;this[_0x4a5888(0x354)][_0x4a5888(0x1d8)](this['unitID'],this[_0x4a5888(0x4bb)],null,[]);}[_0x2d2308(0x3b1)](){const _0x4a04c2=_0x2d2308;this[_0x4a04c2(0x16b)]?this[_0x4a04c2(0x3ee)][_0x4a04c2(0x1f7)]({'title':this[_0x4a04c2(0x239)]['t'](_0x4a04c2(0x461)),'content':this[_0x4a04c2(0x239)]['t']('permission.content'),'type':'error','duration':0x0}):this['_notificationService'][_0x4a04c2(0x1f7)]({'title':this['_localeService']['t'](_0x4a04c2(0x235)),'content':this[_0x4a04c2(0x239)]['t'](_0x4a04c2(0x499)),'type':_0x4a04c2(0x269),'duration':0x0});}[_0x2d2308(0x3a5)](){const _0x574e78=_0x2d2308;this[_0x574e78(0x154)][_0x574e78(0x3b4)](new _0x11a28e[(_0x574e78(0x3c8))](this['unitID'])['id'],!0x1);}};_0x1f4004=_0x2ef1f0([_0x23216c(0x6,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x3d5)])),_0x23216c(0x7,_0x511a8d[_0x2d2308(0x23a)]),_0x23216c(0x8,_0x511a8d['IUndoRedoService']),_0x23216c(0x9,_0x511a8d[_0x2d2308(0x4dc)](_0x5c4621[_0x2d2308(0x23d)])),_0x23216c(0xa,_0x511a8d['Inject'](_0xa51b04[_0x2d2308(0x355)])),_0x23216c(0xb,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x390)])),_0x23216c(0xc,_0x2fad45['INotificationService'])],_0x1f4004);let _0x30313b=class extends _0xbdd3b{constructor(_0x41aaf5,_0x20242e,_0x5f102b,_0x36d948,_0x3766ea,_0x5800d5,_0x3bd5bc,_0x1727f5,_0x165d5f,_0x27fb5f){const _0x152619=_0x2d2308;super(_0x41aaf5,_0x20242e,_0x5f102b,_0x36d948,_0x3766ea,_0x165d5f,_0x27fb5f,_0x3bd5bc,_0x1727f5),_0x3d9158(this,'status',_0x152619(0x1c9)),this[_0x152619(0x510)]=_0x5800d5;}[_0x2d2308(0x184)](_0x9d622f){const _0x3df199=_0x2d2308;return this[_0x3df199(0x4e7)][_0x3df199(0x4c4)](_0x9d622f),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x573637){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x2d2308(0x4df)](){const _0x5d476f=_0x2d2308;throw new Error(_0x5d476f(0x227));}['onRemoteRej'](){const _0x532f29=_0x2d2308;throw new Error(_0x532f29(0x3b3));}['toggleOffline'](){return this;}[_0x2d2308(0x2c1)](){const _0x3ed931=_0x2d2308,{_injector:_0x2de1db,_pendingMutations:_0x2b5144,_awaitingChangeset:_0x5987dd,unitID:_0x269235,_handler:_0xbcd3ea,type:_0x4d5046}=this,_0x205ec8=_0x200933(_0x2de1db,_0x269235,_0x4d5046,_0x5987dd,_0x2b5144,_0xbcd3ea);return _0x205ec8 instanceof _0x1b95cb?_0x205ec8['_schedule']():(_0x205ec8 instanceof _0x20e964||_0x205ec8 instanceof _0x42f5a6)&&_0x205ec8[_0x3ed931(0x4c6)](),_0x205ec8;}['resend'](){const _0x34e616=_0x2d2308;throw new Error(_0x34e616(0x1f0));}};_0x30313b=_0x2ef1f0([_0x23216c(0x5,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x3b2)])),_0x23216c(0x6,_0x511a8d[_0x2d2308(0x4dc)](_0xa51b04['RevisionService'])),_0x23216c(0x7,_0x511a8d[_0x2d2308(0x4dc)](_0x5c4621[_0x2d2308(0x23d)])),_0x23216c(0x8,_0x511a8d[_0x2d2308(0x23a)]),_0x23216c(0x9,_0x511a8d[_0x2d2308(0x2ff)])],_0x30313b);let _0x51a99b=class extends _0xbdd3b{constructor(_0x19af3e,_0x4141f4,_0x541752,_0x37e0f0,_0x432b99,_0x40791c,_0x5cd48e,_0x475909,_0xedd1a0,_0x2ac6b0,_0x4d11a7,_0x31ef36,_0x3193f4,_0x277f2c){const _0x9f76cc=_0x2d2308;super(_0x19af3e,_0x4141f4,_0x541752,_0x37e0f0,_0x5cd48e,_0x31ef36,_0x3193f4,_0xedd1a0,_0x2ac6b0),_0x3d9158(this,_0x9f76cc(0x166),_0x9f76cc(0x4a4)),(this[_0x9f76cc(0x26e)]=_0x432b99,this[_0x9f76cc(0x411)]=_0x40791c,this[_0x9f76cc(0x510)]=_0x475909,this['_logService']=_0x4d11a7,this[_0x9f76cc(0x541)]=_0x277f2c);}[_0x2d2308(0x347)](_0x446d9c){const _0x4ecd1d=_0x2d2308;try{const _0x2f53c1=[..._0x446d9c,...this[_0x4ecd1d(0x411)]],_0x1e7ed5=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x4ecd1d(0x44e)](_0x3b0b62=>!!_0x3b0b62);let _0x1be6da,_0x3a6e9e;if(_0x1e7ed5[_0x4ecd1d(0x1e3)]){const _0x5deed6=this[_0x4ecd1d(0x541)][_0x4ecd1d(0x186)](_0x2f53c1,_0x1e7ed5,!0x1);if(!_0xa51b04['isTransformChangesetsSuccess'](_0x5deed6))throw _0x5deed6[_0x4ecd1d(0x269)];_0x1be6da=_0x5deed6[_0x4ecd1d(0x1ff)],_0x3a6e9e=_0x5deed6[_0x4ecd1d(0x487)];}else _0x1be6da=_0x2f53c1,_0x3a6e9e=[];let _0x115660=this[_0x4ecd1d(0x4e7)];_0x1be6da[_0x4ecd1d(0x20c)](_0x44f4b5=>{const _0x988e00=_0x4ecd1d;let _0x5615e;if(_0x115660[_0x988e00(0x1e3)]){const _0x104f24=this[_0x988e00(0x541)][_0x988e00(0x242)](_0x44f4b5,_0x115660);if(!_0xa51b04['isTransformMutationsWithChangesetSuccess'](_0x104f24))throw _0x104f24[_0x988e00(0x269)];_0x5615e=_0x104f24[_0x988e00(0x1ff)],_0x115660=_0x104f24['m2Prime'];}else _0x5615e=_0x44f4b5;this[_0x988e00(0x3b9)](_0x5615e);}),this[_0x4ecd1d(0x26e)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x3a6e9e[_0x4ecd1d(0x1e3)]&&(_0x3a6e9e[0x0][_0x4ecd1d(0x1c0)]=this[_0x4ecd1d(0x387)]());let _0x204bcd;if(this['_awaitingChangeset']&&_0x115660[_0x4ecd1d(0x1e3)]!==0x0)_0x204bcd=this[_0x4ecd1d(0x510)][_0x4ecd1d(0x558)](_0x20e964,this[_0x4ecd1d(0x14c)],this[_0x4ecd1d(0x4bb)],_0x3a6e9e[0x0],_0x115660,this['_handler']);else{if(this[_0x4ecd1d(0x3d0)]&&_0x115660[_0x4ecd1d(0x1e3)]===0x0)_0x3a6e9e[0x0][_0x4ecd1d(0x1c0)]=this[_0x4ecd1d(0x387)](),_0x204bcd=this[_0x4ecd1d(0x510)][_0x4ecd1d(0x558)](_0x42f5a6,this[_0x4ecd1d(0x14c)],this['type'],_0x3a6e9e[0x0],this[_0x4ecd1d(0x272)]);else{if(_0x115660[_0x4ecd1d(0x1e3)]!==0x0){const _0x3f13fd=this['_injector'][_0x4ecd1d(0x558)](_0x1b95cb,this[_0x4ecd1d(0x14c)],this[_0x4ecd1d(0x4bb)],_0x115660,this[_0x4ecd1d(0x272)]);_0x3f13fd[_0x4ecd1d(0x18a)](),_0x204bcd=_0x3f13fd;}else _0x204bcd=this[_0x4ecd1d(0x510)]['createInstance'](_0xa3a636,this[_0x4ecd1d(0x14c)],this[_0x4ecd1d(0x4bb)],this['_handler']);}}return _0x204bcd[_0x4ecd1d(0x270)](),_0x204bcd;}catch(_0x247549){return this['_logService']['error']('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x247549),this[_0x4ecd1d(0x510)][_0x4ecd1d(0x558)](_0x1f4004,this[_0x4ecd1d(0x14c)],this[_0x4ecd1d(0x4bb)],this[_0x4ecd1d(0x3d0)],this[_0x4ecd1d(0x4e7)],this['_handler'],!0x1);}}[_0x2d2308(0x4c6)](){const _0xee5853=_0x2d2308;throw new Error(_0xee5853(0x1a2));}[_0x2d2308(0x184)](_0x34ad77){const _0x53fc30=_0x2d2308;return this[_0x53fc30(0x4e7)][_0x53fc30(0x4c4)](_0x34ad77),this;}[_0x2d2308(0x47b)](_0x1e78e0){const _0x21dffb=_0x2d2308;return this[_0x21dffb(0x411)][_0x21dffb(0x4c4)](_0x1e78e0),this;}['onRemoteAck'](_0x2111c7){const _0xbd4c08=_0x2d2308;if(this[_0xbd4c08(0x3d0)])return this['_acknowledgedAwaitingChangeset']=this[_0xbd4c08(0x3d0)],this[_0xbd4c08(0x3d0)]=null,this;throw new Error(_0xbd4c08(0x249));}['onRemoteRej'](_0x10ae77){const _0x5e6b32=_0x2d2308;return this['_onConflict'](!!(_0x10ae77!=null&&_0x10ae77[_0x5e6b32(0x255)]));}[_0x2d2308(0x55e)](){const _0x3acd1a=_0x2d2308;return this['_injector'][_0x3acd1a(0x558)](_0x30313b,this['unitID'],this[_0x3acd1a(0x4bb)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x3acd1a(0x272)]);}[_0x2d2308(0x2c1)](){return this;}[_0x2d2308(0x21a)](_0x416bad){const _0x116860=_0x2d2308;return this[_0x116860(0x510)][_0x116860(0x558)](_0x1f4004,this[_0x116860(0x14c)],this[_0x116860(0x4bb)],this[_0x116860(0x3d0)],this[_0x116860(0x4e7)],this['_handler'],_0x416bad);}};_0x51a99b=_0x2ef1f0([_0x23216c(0x7,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x3b2)])),_0x23216c(0x8,_0x511a8d['Inject'](_0xa51b04[_0x2d2308(0x355)])),_0x23216c(0x9,_0x511a8d['Inject'](_0x5c4621[_0x2d2308(0x23d)])),_0x23216c(0xa,_0x511a8d[_0x2d2308(0x446)]),_0x23216c(0xb,_0x511a8d[_0x2d2308(0x23a)]),_0x23216c(0xc,_0x511a8d['IUndoRedoService']),_0x23216c(0xd,_0xa51b04[_0x2d2308(0x2a2)])],_0x51a99b);function _0x200933(_0x2afdb8,_0x3c6b7a,_0x48b87b,_0x3b10c9,_0x2ebe59,_0x5346f5){const _0x4e2e91=_0x2d2308;return _0x3b10c9&&_0x2ebe59[_0x4e2e91(0x1e3)]?_0x2afdb8[_0x4e2e91(0x558)](_0x20e964,_0x3c6b7a,_0x48b87b,_0x3b10c9,_0x2ebe59,_0x5346f5):_0x3b10c9?_0x2afdb8[_0x4e2e91(0x558)](_0x42f5a6,_0x3c6b7a,_0x48b87b,_0x3b10c9,_0x5346f5):_0x2ebe59['length']?_0x2afdb8[_0x4e2e91(0x558)](_0x1b95cb,_0x3c6b7a,_0x48b87b,_0x2ebe59,_0x5346f5):_0x2afdb8[_0x4e2e91(0x558)](_0xa3a636,_0x3c6b7a,_0x48b87b,_0x5346f5);}var _0x5634c5=Object[_0x2d2308(0x210)],_0x279db5=Object['getOwnPropertyDescriptor'],_0x312e71=(_0x53a401,_0x31c024,_0x4f2978,_0x4a2694)=>{const _0x30f3c1=_0x2d2308;for(var _0x24f30f=_0x4a2694>0x1?void 0x0:_0x4a2694?_0x279db5(_0x31c024,_0x4f2978):_0x31c024,_0x3dbe81=_0x53a401[_0x30f3c1(0x1e3)]-0x1,_0xa4ae8d;_0x3dbe81>=0x0;_0x3dbe81--)(_0xa4ae8d=_0x53a401[_0x3dbe81])&&(_0x24f30f=(_0x4a2694?_0xa4ae8d(_0x31c024,_0x4f2978,_0x24f30f):_0xa4ae8d(_0x24f30f))||_0x24f30f);return _0x4a2694&&_0x24f30f&&_0x5634c5(_0x31c024,_0x4f2978,_0x24f30f),_0x24f30f;},_0xadaafa=(_0x3f9b6d,_0x14191f)=>(_0x1b4d14,_0x100bf1)=>_0x14191f(_0x1b4d14,_0x100bf1,_0x3f9b6d);_0x5c4621['CollaborationEntity']=class extends _0x511a8d['RxDisposable']{constructor(_0x5f32c8,_0x2dbeee,_0x41dfec,_0x30aa1f,_0x58f530,_0x42c7a4,_0x205d55,_0x4400f9,_0x5c4233,_0x3547fb,_0x283b6d,_0x4fd0ed,_0x41a636){const _0x3a73f8=_0x2d2308;super(),_0x3d9158(this,_0x3a73f8(0x35e),new _0x1fcaf6['BehaviorSubject'](null)),_0x3d9158(this,_0x3a73f8(0x16e),this[_0x3a73f8(0x35e)][_0x3a73f8(0x1d7)]()),_0x3d9158(this,_0x3a73f8(0x523)),_0x3d9158(this,_0x3a73f8(0x25c),!0x1),_0x3d9158(this,'status$',this[_0x3a73f8(0x16e)][_0x3a73f8(0x47e)](_0x1fcaf6['map'](_0x589e7a=>_0x589e7a?_0x589e7a[_0x3a73f8(0x166)]:_0x437a54[_0x3a73f8(0x264)]),_0x1fcaf6[_0x3a73f8(0x17a)](0x1))),_0x3d9158(this,_0x3a73f8(0x3de),!0x1),_0x3d9158(this,_0x3a73f8(0x1eb),[]),(this['unitID']=_0x5f32c8,this[_0x3a73f8(0x544)]=_0x2dbeee,this[_0x3a73f8(0x1e4)]=_0x41dfec,this[_0x3a73f8(0x510)]=_0x30aa1f,this[_0x3a73f8(0x354)]=_0x58f530,this[_0x3a73f8(0x244)]=_0x42c7a4,this[_0x3a73f8(0x239)]=_0x205d55,this[_0x3a73f8(0x342)]=_0x4400f9,this[_0x3a73f8(0x54c)]=_0x5c4233,this[_0x3a73f8(0x4c3)]=_0x3547fb,this[_0x3a73f8(0x217)]=_0x283b6d,this[_0x3a73f8(0x154)]=_0x4fd0ed,this['_singleActiveUnitService']=_0x41a636);}get[_0x2d2308(0x41a)](){const _0x30a120=_0x2d2308;return this[_0x30a120(0x523)];}async['init'](){const _0x122234=_0x2d2308;if(this['state'])throw new Error(_0x122234(0x27e));await this[_0x122234(0x3e6)]();}['pauseCollaboration'](){return this['_collaborationPaused']=!0x0,_0x511a8d['toDisposable'](()=>{const _0x852e54=_0x3ba2;this['_collaborationPaused']=!0x1,this[_0x852e54(0x2b2)]();});}[_0x2d2308(0x434)](_0x2f8d6b){const _0x1f79d9=_0x2d2308;this[_0x1f79d9(0x523)]=_0x2f8d6b,this[_0x1f79d9(0x35e)][_0x1f79d9(0x535)](_0x2f8d6b);}async[_0x2d2308(0x3e6)](){const _0x5eb02d=_0x2d2308;var _0x49e5a5;this[_0x5eb02d(0x434)](await this[_0x5eb02d(0x3cf)]()),this[_0x5eb02d(0x418)]&&((_0x49e5a5=this[_0x5eb02d(0x418)])==null||_0x49e5a5[_0x5eb02d(0x334)](this[_0x5eb02d(0x14c)]),this['disposeWithMe'](this['_singleActiveUnitService']['getUnitStatus$'](this['unitID'])[_0x5eb02d(0x2a1)](_0x25eeb7=>{const _0x27aab7=_0x5eb02d;this[_0x27aab7(0x54c)][_0x27aab7(0x3f5)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x25eeb7),_0x25eeb7===_0x2423c4[_0x27aab7(0x329)]?(this[_0x27aab7(0x217)][_0x27aab7(0x1f7)]({'content':this[_0x27aab7(0x239)]['t'](_0x27aab7(0x394)),'type':_0x278c7c['MessageType'][_0x27aab7(0x30e)]}),this[_0x27aab7(0x154)][_0x27aab7(0x3b4)](new _0x11a28e['WorkbookEditablePermission'](this[_0x27aab7(0x14c)])['id'],!0x1)):this[_0x27aab7(0x154)]['updatePermissionPoint'](new _0x11a28e[(_0x27aab7(0x3c8))](this[_0x27aab7(0x14c)])['id'],!0x0);})));let _0x481563=!0x1;return this[_0x5eb02d(0x2c8)](this[_0x5eb02d(0x544)][_0x5eb02d(0x1b7)][_0x5eb02d(0x2a1)](_0x30597e=>{const _0x399beb=_0x5eb02d;_0x30597e===_0x3c28c2[_0x399beb(0x3b6)]?this[_0x399beb(0x237)](_0x481563):_0x30597e===_0x3c28c2[_0x399beb(0x264)]&&(_0x481563=!0x0,this[_0x399beb(0x4e0)]());})),this[_0x5eb02d(0x2c8)](this['session']['event$']['subscribe'](_0x28ab1c=>{const _0x2b44ee=_0x5eb02d;try{switch(_0x28ab1c[_0x2b44ee(0x175)]){case _0xa51b04[_0x2b44ee(0x3fa)]['NEW_CHANGESETS']:{this[_0x2b44ee(0x2e0)](_0xa51b04[_0x2b44ee(0x29c)](_0x28ab1c['data']));break;}case _0xa51b04[_0x2b44ee(0x3fa)][_0x2b44ee(0x24e)]:{this[_0x2b44ee(0x2be)](_0x28ab1c[_0x2b44ee(0x142)]);break;}case _0xa51b04['CollaborationEvent']['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0xa51b04[_0x2b44ee(0x3fa)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x2b44ee(0x25d)](_0x28ab1c[_0x2b44ee(0x142)][_0x2b44ee(0x1bc)][_0x2b44ee(0x4fc)](_0x4a8259=>_0xa51b04['parseProtocolChangeset'](_0x4a8259)));break;}case _0xa51b04['CollaborationEvent'][_0x2b44ee(0x157)]:this[_0x2b44ee(0x476)]({'isPermissionRej':!0x0});}}catch(_0x193739){throw console[_0x2b44ee(0x269)]('Error\x20on\x20receiving\x20event',_0x193739),_0x193739;}})),this['_state'];}[_0x2d2308(0x1df)](){const _0x7bbd04=_0x2d2308;this[_0x7bbd04(0x3de)]=!0x1;}['_lockTransition'](){const _0x4f1c57=_0x2d2308;if(this['_transitionLocked'])throw new Error(_0x4f1c57(0x25b));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x451cc8){const _0x5b5ac8=_0x2d2308;this[_0x5b5ac8(0x462)](),this[_0x5b5ac8(0x434)](this[_0x5b5ac8(0x523)]['appendMutation'](_0x451cc8)),this[_0x5b5ac8(0x1df)]();}[_0x2d2308(0x2e0)](_0x47f479){const _0x25cc47=_0x2d2308;if(!(_0x47f479['revision']<=this['_revisionService']['getCurrentRevOfUnit'](this[_0x25cc47(0x14c)]))){if(this[_0x25cc47(0x25c)]){this[_0x25cc47(0x1eb)]['push'](_0x47f479);return;}this['_applyRemoteChangeset'](_0x47f479);}}[_0x2d2308(0x2b2)](){const _0xfe2d93=_0x2d2308;this[_0xfe2d93(0x1eb)][_0xfe2d93(0x20c)](_0x18b74a=>this[_0xfe2d93(0x267)](_0x18b74a)),this['_remoteChangesetQueue']=[];}[_0x2d2308(0x267)](_0xbb4538){const _0x36743b=_0x2d2308,_0x198414=this[_0x36743b(0x244)]['interceptor'][_0x36743b(0x357)](this[_0x36743b(0x244)]['interceptor'][_0x36743b(0x2c5)]()[_0x36743b(0x1ee)])(_0xbb4538[_0x36743b(0x1ae)],null)||_0xbb4538[_0x36743b(0x1ae)],_0x1cbf9e={..._0xbb4538,'mutations':_0x198414};this[_0x36743b(0x462)](),this[_0x36743b(0x434)](this[_0x36743b(0x523)][_0x36743b(0x47b)](_0x1cbf9e)),this['_unlockTransition']();}[_0x2d2308(0x2be)](_0x1534c5){const _0x8c0e02=_0x2d2308;this['_lockTransition'](),this[_0x8c0e02(0x434)](this[_0x8c0e02(0x523)]['onRemoteAck'](_0x1534c5)),this['_unlockTransition']();}[_0x2d2308(0x476)](_0x2b4131){const _0x3e10a5=_0x2d2308;this[_0x3e10a5(0x462)](),this[_0x3e10a5(0x434)](this['_state']['onRemoteRej'](_0x2b4131)),this[_0x3e10a5(0x1df)]();}['_onFetchMissResult'](_0x172356){const _0x10c1fb=_0x2d2308;if(!(this[_0x10c1fb(0x523)]instanceof _0x51a99b))throw new TypeError(_0x10c1fb(0x14b));const _0x340c5a=_0x172356['map'](_0x5567d2=>{const _0x3653f5=_0x10c1fb,_0x52e464=this[_0x3653f5(0x244)][_0x3653f5(0x385)][_0x3653f5(0x357)](this[_0x3653f5(0x244)]['interceptor']['getInterceptPoints']()[_0x3653f5(0x1ee)])(_0x5567d2['mutations'],null)||_0x5567d2['mutations'];return{..._0x5567d2,'mutations':_0x52e464};});this[_0x10c1fb(0x462)](),this[_0x10c1fb(0x434)](this['_state'][_0x10c1fb(0x347)](_0x340c5a)),this[_0x10c1fb(0x1df)]();}['_toggleOffline'](){const _0x215b1f=_0x2d2308;this['_lockTransition'](),this[_0x215b1f(0x434)](this[_0x215b1f(0x523)][_0x215b1f(0x55e)]()),this[_0x215b1f(0x1df)]();}[_0x2d2308(0x237)](_0x4b592e=!0x1){const _0x21fcda=_0x2d2308;this[_0x21fcda(0x462)](),this['_updateState'](this[_0x21fcda(0x523)][_0x21fcda(0x2c1)]()),this[_0x21fcda(0x1df)]();const _0x10bbd0=this[_0x21fcda(0x523)];_0x4b592e&&_0x10bbd0 instanceof _0xa3a636&&(this[_0x21fcda(0x462)](),this[_0x21fcda(0x434)](_0x10bbd0[_0x21fcda(0x2b6)]()),this[_0x21fcda(0x1df)]());}async[_0x2d2308(0x3cf)](){return new Promise(_0xa42037=>{const _0x127046=_0x3ba2;this[_0x127046(0x544)][_0x127046(0x1b7)][_0x127046(0x47e)](_0x1fcaf6['take'](0x1))[_0x127046(0x2a1)](async _0x3fd7ed=>{const _0x23c0f3=_0x127046;_0xa42037(await this['_createInitialStateImpl'](_0x3fd7ed===_0x3c28c2[_0x23c0f3(0x3b6)]));});});}['_createHandler'](){const _0x34027c=_0x2d2308,_0x545734=this[_0x34027c(0x14c)];return{'onStateChange':(_0x33a2ec,_0xb9ae29)=>{const _0x5a7698=_0x34027c;if(_0x33a2ec!==this[_0x5a7698(0x523)])throw new Error(_0x5a7698(0x43d)+_0x33a2ec[_0x5a7698(0x166)]+'\x0aAfter:\x20'+_0xb9ae29[_0x5a7698(0x166)]+'\x0aCurrent:\x20'+this[_0x5a7698(0x523)][_0x5a7698(0x166)]);this['_updateState'](_0xb9ae29);},'onSendChangeset':_0x5e68d4=>{const _0x2d58dd=_0x34027c,_0x29ca00={'eventID':_0xa51b04['CollaborationEvent'][_0x2d58dd(0x287)],'data':{'unitID':_0x5e68d4[_0x2d58dd(0x14c)],'unitType':this['_type'],'changeset':_0x5e68d4,'memberID':this[_0x2d58dd(0x544)][_0x2d58dd(0x41d)]()}};this['session'][_0x2d58dd(0x363)](_0x29ca00,this[_0x2d58dd(0x14c)]);},'onMissingChangesets':({from:_0x20715d,to:_0x148d35})=>{const _0x3bff48=_0x34027c;this[_0x3bff48(0x54c)][_0x3bff48(0x3f5)](_0x3bff48(0x3f2),_0x3bff48(0x298)+_0x20715d+_0x3bff48(0x351)+_0x148d35);const _0x2e864c={'eventID':_0xa51b04[_0x3bff48(0x3fa)][_0x3bff48(0x23e)],'data':{'unitID':_0x545734,'unitType':this[_0x3bff48(0x1e4)],'from':_0x20715d,'to':_0x148d35}};this[_0x3bff48(0x544)]['send'](_0x2e864c,this[_0x3bff48(0x14c)]);}};}async[_0x2d2308(0x127)](_0x118513){const _0x16c075=_0x2d2308;var _0x5c06dc,_0x1ed8ed;const _0xb61e9f=await this[_0x16c075(0x354)]['loadOfflineData'](this[_0x16c075(0x14c)]),_0x34099a=(_0x5c06dc=_0xb61e9f==null?void 0x0:_0xb61e9f[_0x16c075(0x1ae)])!=null?_0x5c06dc:[],_0x540de4=(_0x1ed8ed=_0xb61e9f==null?void 0x0:_0xb61e9f['awaitingChangeset'])!=null?_0x1ed8ed:null,_0x3755a3=this[_0x16c075(0x14c)];try{this[_0x16c075(0x3ab)](_0x540de4,_0x34099a);}catch(_0x3ccc4b){this['_logService'][_0x16c075(0x269)](_0x3ccc4b);}const _0x5ee1ef=this[_0x16c075(0x3cd)]();if(_0x118513){const _0x32ce2e=_0x200933(this[_0x16c075(0x510)],_0x3755a3,this[_0x16c075(0x1e4)],_0x540de4,_0x34099a,_0x5ee1ef);return _0x32ce2e instanceof _0x1b95cb?_0x32ce2e['_schedule']():(_0x32ce2e instanceof _0x20e964||_0x32ce2e instanceof _0x42f5a6)&&_0x32ce2e[_0x16c075(0x4c6)](),_0x32ce2e;}return this[_0x16c075(0x510)][_0x16c075(0x558)](_0x30313b,_0x3755a3,this[_0x16c075(0x1e4)],_0x540de4,_0x34099a,_0x5ee1ef);}[_0x2d2308(0x3ab)](_0xca6103,_0x234df7){const _0x384333=_0x2d2308;var _0x46c1f1,_0x18da62;const _0x5bad42=this['_compressMutationService'][_0x384333(0x385)][_0x384333(0x357)](this['_compressMutationService']['interceptor'][_0x384333(0x2c5)]()[_0x384333(0x1ee)]);(_0x46c1f1=_0x5bad42((_0xca6103==null?void 0x0:_0xca6103['mutations'])||[],null))==null||_0x46c1f1[_0x384333(0x20c)](_0x2d50e0=>this[_0x384333(0x4c3)]['executeCommand'](_0x2d50e0['id'],_0x2d50e0['params'])),(_0x18da62=_0x5bad42(_0x234df7||[],null))==null||_0x18da62[_0x384333(0x20c)](_0x4681f5=>this[_0x384333(0x4c3)][_0x384333(0x26a)](_0x4681f5['id'],_0x4681f5[_0x384333(0x2b8)]));}},_0x5c4621['CollaborationEntity']=_0x312e71([_0xadaafa(0x3,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x3b2)])),_0xadaafa(0x4,_0x511a8d['Inject'](_0x5c4621[_0x2d2308(0x23d)])),_0xadaafa(0x5,_0x511a8d['Inject'](_0xa51b04['CompressMutationService'])),_0xadaafa(0x6,_0x511a8d['Inject'](_0x511a8d['LocaleService'])),_0xadaafa(0x7,_0x511a8d[_0x2d2308(0x4dc)](_0xa51b04[_0x2d2308(0x355)])),_0xadaafa(0x8,_0x511a8d[_0x2d2308(0x446)]),_0xadaafa(0x9,_0x511a8d[_0x2d2308(0x23a)]),_0xadaafa(0xa,_0x2fad45[_0x2d2308(0x29a)]),_0xadaafa(0xb,_0x511a8d[_0x2d2308(0x3d5)]),_0xadaafa(0xc,_0x511a8d['Optional'](_0x484b6f))],_0x5c4621[_0x2d2308(0x30f)]),_0x5c4621[_0x2d2308(0x4f1)]=class extends _0x5c4621['CollaborationEntity']{constructor(_0x643f35,_0x12fc3a,_0x6195bc,_0xc06683,_0x53d7bf,_0x41c51b,_0x1d4f4b,_0x211fbb,_0x30c542,_0x8a6459,_0x578a11,_0x28afae,_0x595066,_0x5b62d6,_0x35cf29,_0xe8aa61,_0x130e1d){const _0x1e6134=_0x2d2308;super(_0x643f35,_0x6195bc,_0x12fc3a,_0xc06683,_0x53d7bf,_0x41c51b,_0x1d4f4b,_0x211fbb,_0x595066,_0x5b62d6,_0x35cf29,_0xe8aa61,_0x130e1d),this[_0x1e6134(0x14c)]=_0x643f35,this[_0x1e6134(0x4bb)]=_0x12fc3a,this[_0x1e6134(0x284)]=_0x30c542,this[_0x1e6134(0x4ea)]=_0x8a6459,this['_docTransformSelectionsService']=_0x578a11,this['_docSyncEditingCollabCursorService']=_0x28afae;}['_createHandler'](){const _0x1e38be=_0x2d2308,_0x184618=super[_0x1e38be(0x3cd)]();return _0x184618[_0x1e38be(0x228)]=_0x361081=>this[_0x1e38be(0x4ea)][_0x1e38be(0x4a2)](_0x361081),_0x184618[_0x1e38be(0x346)]=_0x253e2c=>this[_0x1e38be(0x246)]['transformSelections'](_0x253e2c),_0x184618['onSyncEditingCollabCursor']=_0x475dfa=>this[_0x1e38be(0x31f)][_0x1e38be(0x4de)](_0x475dfa),_0x184618[_0x1e38be(0x4f0)]=_0x462148=>this[_0x1e38be(0x4ea)][_0x1e38be(0x19c)](_0x462148),_0x184618;}async['_init'](){const _0x5dae27=_0x2d2308,_0x19820d=await super['_init']();return this['disposeWithMe'](this[_0x5dae27(0x4c3)][_0x5dae27(0x2c4)]((_0x2d0aa1,_0x41e9ec)=>{const _0xd78f48=_0x5dae27;if(_0x2d0aa1['type']!==_0x511a8d['CommandType'][_0xd78f48(0x4d3)]||_0x41e9ec!=null&&_0x41e9ec['fromCollab']||_0x41e9ec!=null&&_0x41e9ec[_0xd78f48(0x34d)])return;const _0x563359=_0x2d0aa1[_0xd78f48(0x2b8)];if((_0x563359==null?void 0x0:_0x563359[_0xd78f48(0x4bf)])!==this[_0xd78f48(0x14c)])return;let _0x2892b1=_0x2d0aa1;if(_0x2892b1['id']===_0x106b3c[_0xd78f48(0x474)]['id']){const _0x2696e0=_0x2892b1['params'];_0x2892b1={'id':_0x106b3c['RichTextEditingMutation']['id'],'type':_0x511a8d[_0xd78f48(0x350)][_0xd78f48(0x4d3)],'params':{'unitId':_0x2696e0[_0xd78f48(0x4bf)],'actions':_0x2696e0[_0xd78f48(0x479)],'textRanges':null}};}const _0x5ab08d=this[_0xd78f48(0x244)]['interceptor'][_0xd78f48(0x357)](this['_compressMutationService'][_0xd78f48(0x385)][_0xd78f48(0x2c5)]()[_0xd78f48(0x17b)])([_0x2892b1],null)||[_0x2892b1];this[_0xd78f48(0x482)](_0x5ab08d[0x0]);})),_0x19820d;}},_0x5c4621[_0x2d2308(0x4f1)]=_0x312e71([_0xadaafa(0x3,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x3b2)])),_0xadaafa(0x4,_0x511a8d[_0x2d2308(0x4dc)](_0x5c4621[_0x2d2308(0x23d)])),_0xadaafa(0x5,_0x511a8d['Inject'](_0xa51b04[_0x2d2308(0x3a4)])),_0xadaafa(0x6,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x390)])),_0xadaafa(0x7,_0x511a8d[_0x2d2308(0x4dc)](_0xa51b04[_0x2d2308(0x355)])),_0xadaafa(0x8,_0x511a8d[_0x2d2308(0x4dc)](_0x457ad5[_0x2d2308(0x2cd)])),_0xadaafa(0x9,_0x511a8d['Inject'](_0x4b8bdd)),_0xadaafa(0xa,_0x511a8d[_0x2d2308(0x4dc)](_0x319bd7)),_0xadaafa(0xb,_0x511a8d['Inject'](_0x57cbd1)),_0xadaafa(0xc,_0x511a8d[_0x2d2308(0x446)]),_0xadaafa(0xd,_0x511a8d[_0x2d2308(0x23a)]),_0xadaafa(0xe,_0x2fad45[_0x2d2308(0x29a)]),_0xadaafa(0xf,_0x511a8d[_0x2d2308(0x3d5)]),_0xadaafa(0x10,_0x511a8d['Optional'](_0x484b6f))],_0x5c4621[_0x2d2308(0x4f1)]),_0x5c4621['SheetCollaborationEntity']=class extends _0x5c4621[_0x2d2308(0x30f)]{constructor(_0x364be5,_0x49a84c,_0x495c69,_0x2e47b6,_0x488031,_0xaccef5,_0x179dc9,_0x526af1,_0x1e8216,_0x579e69,_0x41c1a0,_0x89b711,_0x23c077,_0x1a9fe0){const _0x5f59fd=_0x2d2308;super(_0x364be5,_0x495c69,_0x49a84c,_0x2e47b6,_0x488031,_0xaccef5,_0x179dc9,_0x526af1,_0x579e69,_0x41c1a0,_0x89b711,_0x23c077,_0x1a9fe0),this[_0x5f59fd(0x14c)]=_0x364be5,this[_0x5f59fd(0x4bb)]=_0x49a84c,this['_sheetTransformSelectionsService']=_0x1e8216;}['_createHandler'](){const _0xdf490a=_0x2d2308,_0x2c38bf=super[_0xdf490a(0x3cd)]();return _0x2c38bf[_0xdf490a(0x346)]=_0x42ba5c=>this[_0xdf490a(0x3b5)][_0xdf490a(0x49c)](_0x42ba5c),_0x2c38bf;}async[_0x2d2308(0x3e6)](){const _0x1e5f31=_0x2d2308,_0x54535c=await super[_0x1e5f31(0x3e6)]();return this[_0x1e5f31(0x2c8)](this[_0x1e5f31(0x4c3)][_0x1e5f31(0x2c4)]((_0x472bdd,_0x2b7552)=>{const _0x375bbe=_0x1e5f31;if(_0x472bdd[_0x375bbe(0x4bb)]!==_0x511a8d[_0x375bbe(0x350)][_0x375bbe(0x4d3)]||_0x2b7552!=null&&_0x2b7552[_0x375bbe(0x2b7)]||_0x2b7552!=null&&_0x2b7552[_0x375bbe(0x34d)])return;const _0x4f4975=_0x472bdd[_0x375bbe(0x2b8)];if((_0x4f4975==null?void 0x0:_0x4f4975[_0x375bbe(0x4bf)])!==this['unitID'])return;const _0x12ae38=_0x472bdd,_0x4b4c6d=this[_0x375bbe(0x244)][_0x375bbe(0x385)][_0x375bbe(0x357)](this['_compressMutationService'][_0x375bbe(0x385)][_0x375bbe(0x2c5)]()['COMPRESS_MUTATION_SEND'])([_0x12ae38],null)||[_0x12ae38];this['_onLocalMutation'](_0x4b4c6d[0x0]);})),_0x54535c;}},_0x5c4621[_0x2d2308(0x54b)]=_0x312e71([_0xadaafa(0x3,_0x511a8d['Inject'](_0x511a8d[_0x2d2308(0x3b2)])),_0xadaafa(0x4,_0x511a8d[_0x2d2308(0x4dc)](_0x5c4621[_0x2d2308(0x23d)])),_0xadaafa(0x5,_0x511a8d[_0x2d2308(0x4dc)](_0xa51b04[_0x2d2308(0x3a4)])),_0xadaafa(0x6,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x390)])),_0xadaafa(0x7,_0x511a8d[_0x2d2308(0x4dc)](_0xa51b04[_0x2d2308(0x355)])),_0xadaafa(0x8,_0x511a8d[_0x2d2308(0x4dc)](_0x319bda)),_0xadaafa(0x9,_0x511a8d[_0x2d2308(0x446)]),_0xadaafa(0xa,_0x511a8d[_0x2d2308(0x23a)]),_0xadaafa(0xb,_0x2fad45[_0x2d2308(0x29a)]),_0xadaafa(0xc,_0x511a8d[_0x2d2308(0x3d5)]),_0xadaafa(0xd,_0x511a8d[_0x2d2308(0x2bb)](_0x484b6f))],_0x5c4621[_0x2d2308(0x54b)]);var _0x3ca1a5=Object[_0x2d2308(0x210)],_0x481bd9=Object['getOwnPropertyDescriptor'],_0x205972=(_0x512430,_0x40b83e,_0x1a782e,_0x4ef0a1)=>{for(var _0x4f6a7c=_0x4ef0a1>0x1?void 0x0:_0x4ef0a1?_0x481bd9(_0x40b83e,_0x1a782e):_0x40b83e,_0x3d39e3=_0x512430['length']-0x1,_0x26e63e;_0x3d39e3>=0x0;_0x3d39e3--)(_0x26e63e=_0x512430[_0x3d39e3])&&(_0x4f6a7c=(_0x4ef0a1?_0x26e63e(_0x40b83e,_0x1a782e,_0x4f6a7c):_0x26e63e(_0x4f6a7c))||_0x4f6a7c);return _0x4ef0a1&&_0x4f6a7c&&_0x3ca1a5(_0x40b83e,_0x1a782e,_0x4f6a7c),_0x4f6a7c;},_0x35c117=(_0x4bd7ce,_0x1d0cbe)=>(_0x9db883,_0x1476a3)=>_0x1d0cbe(_0x9db883,_0x1476a3,_0x4bd7ce);_0x5c4621[_0x2d2308(0x21b)]=class extends _0x511a8d[_0x2d2308(0x53d)]{constructor(_0x77f12c,_0xc550c6,_0x1a4f38){const _0x30fbea=_0x2d2308;super(),_0x3d9158(this,'_entities',new Map()),_0x3d9158(this,_0x30fbea(0x546),new _0x1fcaf6[(_0x30fbea(0x36d))]()),(this['_injector']=_0x77f12c,this[_0x30fbea(0x406)]=_0xc550c6,this[_0x30fbea(0x245)]=_0x1a4f38,this[_0x30fbea(0x3e6)]());}[_0x2d2308(0x2fb)](){const _0x1a3882=_0x2d2308;super['dispose'](),this['_entities'][_0x1a3882(0x20c)](_0x3b4cfa=>_0x3b4cfa[_0x1a3882(0x2fb)]()),this[_0x1a3882(0x2aa)][_0x1a3882(0x48e)]();}['getCollabEntity'](_0x537589){var _0x275fd7;return(_0x275fd7=this['_entities']['get'](_0x537589))!=null?_0x275fd7:null;}[_0x2d2308(0x1c4)](_0x2a18ed){const _0x4a9e53=_0x2d2308,_0x10458d=this[_0x4a9e53(0x2cc)](_0x2a18ed);return _0x10458d?_0x1fcaf6['of'](_0x10458d):this[_0x4a9e53(0x546)][_0x4a9e53(0x47e)](_0x5e0e9a[_0x4a9e53(0x44e)](_0x2cdd71=>_0x2cdd71[_0x4a9e53(0x14c)]===_0x2a18ed));}['_init'](){const _0xc821c0=_0x2d2308;this[_0xc821c0(0x245)]['getTypeOfUnitAdded$'](_0x511a8d[_0xc821c0(0x3bf)][_0xc821c0(0x1b5)])[_0xc821c0(0x47e)](_0x1fcaf6[_0xc821c0(0x13e)](this[_0xc821c0(0x3af)]),_0x5e0e9a[_0xc821c0(0x2ba)](0x10))[_0xc821c0(0x2a1)](async _0x5eddd6=>{const _0x139566=_0xc821c0,_0x307a64=_0x5eddd6[_0x139566(0x28d)](),_0x45deaa=await this[_0x139566(0x39e)](_0x307a64,_0x469253[_0x139566(0x1b5)]);this[_0x139566(0x2aa)][_0x139566(0x445)](_0x307a64,_0x45deaa);}),this[_0xc821c0(0x245)]['getTypeOfUnitAdded$'](_0x511a8d['UniverInstanceType'][_0xc821c0(0x183)])[_0xc821c0(0x47e)](_0x1fcaf6[_0xc821c0(0x13e)](this[_0xc821c0(0x3af)]),_0x5e0e9a['delay'](0x10))[_0xc821c0(0x47e)](_0x5e0e9a[_0xc821c0(0x44e)](_0x4f01ab=>!_0x4f01ab['getUnitId']()['startsWith']('__')))[_0xc821c0(0x2a1)](async _0x589a0c=>{const _0x9e9835=_0xc821c0,_0x418bde=_0x589a0c[_0x9e9835(0x28d)](),_0x13b8b1=await this['_startCollaboration'](_0x418bde,_0x469253['UNIVER_DOC']);this['_entities'][_0x9e9835(0x445)](_0x418bde,_0x13b8b1);}),_0x1fcaf6[_0xc821c0(0x240)](this[_0xc821c0(0x245)]['getTypeOfUnitDisposed$'](_0x511a8d['UniverInstanceType'][_0xc821c0(0x1b5)]),this[_0xc821c0(0x245)][_0xc821c0(0x2f2)](_0x511a8d[_0xc821c0(0x3bf)]['UNIVER_DOC']))['pipe'](_0x1fcaf6[_0xc821c0(0x13e)](this[_0xc821c0(0x3af)]))['subscribe'](_0x17a2a2=>{const _0x38ce08=_0xc821c0,_0x2c7cfa=_0x17a2a2['getUnitId'](),_0x15f07e=this[_0x38ce08(0x2aa)][_0x38ce08(0x3bb)](_0x2c7cfa);_0x15f07e&&(_0x15f07e['dispose'](),this[_0x38ce08(0x2aa)]['delete'](_0x2c7cfa));});}async['_startCollaboration'](_0x7ad709,_0x1d1588){const _0x408f17=_0x2d2308,_0x5d1e23=await this[_0x408f17(0x406)][_0x408f17(0x137)](_0x7ad709),_0x2ae6dc=this['_injector']['createInstance'](this[_0x408f17(0x3c9)](_0x1d1588),_0x7ad709,_0x1d1588,_0x5d1e23);return await _0x2ae6dc[_0x408f17(0x41e)](),this[_0x408f17(0x546)]['next'](_0x2ae6dc),_0x2ae6dc;}[_0x2d2308(0x3c9)](_0x12e801){const _0x4a5f05=_0x2d2308;switch(_0x12e801){case _0x469253[_0x4a5f05(0x183)]:return _0x5c4621['DocCollaborationEntity'];case _0x469253[_0x4a5f05(0x1b5)]:return _0x5c4621[_0x4a5f05(0x54b)];default:throw new Error(_0x4a5f05(0x23f)+_0x12e801);}}},_0x5c4621['CollaborationController']=_0x205972([_0x35c117(0x0,_0x511a8d['Inject'](_0x511a8d[_0x2d2308(0x3b2)])),_0x35c117(0x1,_0x511a8d[_0x2d2308(0x4dc)](_0x5c4621[_0x2d2308(0x12a)])),_0x35c117(0x2,_0x511a8d[_0x2d2308(0x3ed)])],_0x5c4621[_0x2d2308(0x21b)]);const _0xd1fd9f=[_0x2d2308(0x315),_0x2d2308(0x37a),_0x2d2308(0x3a8),_0x2d2308(0x319),_0x2d2308(0x337),_0x2d2308(0x426)];class _0x239f11 extends _0x511a8d[_0x2d2308(0x3d6)]{constructor(){const _0x2e37a4=_0x2d2308;super(...arguments),_0x3d9158(this,_0x2e37a4(0x38d),new Map()),_0x3d9158(this,_0x2e37a4(0x397),0x0);}[_0x2d2308(0x4b2)](_0x1e47e2){const _0x58be94=_0x2d2308;if(this['_assignedColors'][_0x58be94(0x1e0)](_0x1e47e2))return this[_0x58be94(0x38d)][_0x58be94(0x3bb)](_0x1e47e2);const _0x5e8f3e=_0xd1fd9f[this[_0x58be94(0x397)]];return this[_0x58be94(0x397)]=(this[_0x58be94(0x397)]+0x1)%_0xd1fd9f[_0x58be94(0x1e3)],this[_0x58be94(0x38d)]['set'](_0x1e47e2,_0x5e8f3e),_0x5e8f3e;}}var _0x545c8f=Object['defineProperty'],_0x4268d3=Object[_0x2d2308(0x475)],_0x5977f9=(_0x40eade,_0x463ba5,_0x18a0d9,_0x54e352)=>{for(var _0x2a121c=_0x54e352>0x1?void 0x0:_0x54e352?_0x4268d3(_0x463ba5,_0x18a0d9):_0x463ba5,_0x254e23=_0x40eade['length']-0x1,_0x5678f5;_0x254e23>=0x0;_0x254e23--)(_0x5678f5=_0x40eade[_0x254e23])&&(_0x2a121c=(_0x54e352?_0x5678f5(_0x463ba5,_0x18a0d9,_0x2a121c):_0x5678f5(_0x2a121c))||_0x2a121c);return _0x54e352&&_0x2a121c&&_0x545c8f(_0x463ba5,_0x18a0d9,_0x2a121c),_0x2a121c;},_0x50341d=(_0xaa1aae,_0x28a73e)=>(_0x3a4ccb,_0x16de7f)=>_0x28a73e(_0x3a4ccb,_0x16de7f,_0xaa1aae);const _0x108a5a=0x12c,_0x44c0f1=0x64;let _0x313e53=class extends _0x511a8d[_0x2d2308(0x53d)]{constructor(_0x3a67bb,_0x4e008c,_0x2e9c44,_0x468a9d,_0x3758cf,_0x37a1b9,_0x270b7d,_0x333538,_0xe98410){const _0x320b55=_0x2d2308;super(),_0x3d9158(this,_0x320b55(0x2f3),!0x1),_0x3d9158(this,_0x320b55(0x3e6),!0x1),_0x3d9158(this,_0x320b55(0x4b1),new _0x1fcaf6[(_0x320b55(0x24c))](new Map())),_0x3d9158(this,_0x320b55(0x141),this[_0x320b55(0x4b1)][_0x320b55(0x1d7)]()),_0x3d9158(this,_0x320b55(0x167),new _0x1fcaf6[(_0x320b55(0x24c))]([])),_0x3d9158(this,_0x320b55(0x2d5),this[_0x320b55(0x167)]['pipe'](_0x1fcaf6['debounceTime'](_0x108a5a))),_0x3d9158(this,_0x320b55(0x557),_0x511a8d['debounce'](_0xe92860=>{const _0xba12dd=_0x320b55,_0x133ebc={'eventID':_0xa51b04[_0xba12dd(0x3fa)]['UPDATE_CURSOR'],'data':{'unitID':this[_0xba12dd(0x14c)],'memberID':this[_0xba12dd(0x3cc)][_0xba12dd(0x41d)](),'selection':_0x3df83b(_0xe92860)}};this['_session'][_0xba12dd(0x363)](_0x133ebc,this[_0xba12dd(0x14c)]);},_0x44c0f1)),(this[_0x320b55(0x14c)]=_0x3a67bb,this[_0x320b55(0x3cc)]=_0x4e008c,this[_0x320b55(0x510)]=_0x2e9c44,this['_colorAssignService']=_0x468a9d,this['_memberService']=_0x3758cf,this[_0x320b55(0x318)]=_0x37a1b9,this[_0x320b55(0x541)]=_0x270b7d,this[_0x320b55(0x245)]=_0x333538,this[_0x320b55(0x4c3)]=_0xe98410);}get['cursorInfo'](){const _0x33dbe7=_0x2d2308;return this['_cursorInfo$'][_0x33dbe7(0x24f)]();}get[_0x2d2308(0x3ac)](){const _0x152133=_0x2d2308;return this[_0x152133(0x167)][_0x152133(0x24f)]();}[_0x2d2308(0x2fb)](){const _0xb7b7e=_0x2d2308;super['dispose'](),this[_0xb7b7e(0x4b1)][_0xb7b7e(0x535)](new Map()),this[_0xb7b7e(0x4b1)][_0xb7b7e(0x33d)](),this[_0xb7b7e(0x167)][_0xb7b7e(0x535)]([]),this[_0xb7b7e(0x167)][_0xb7b7e(0x33d)]();}[_0x2d2308(0x41e)](){const _0x5045a5=_0x2d2308;this[_0x5045a5(0x3e6)]||(this[_0x5045a5(0x3e6)]=!0x0,this['_session']['sessionStatus$'][_0x5045a5(0x47e)](_0x1fcaf6[_0x5045a5(0x13e)](this[_0x5045a5(0x3af)]))[_0x5045a5(0x2a1)](_0x258eab=>{const _0x5f4e58=_0x5045a5;_0x258eab===_0x3c28c2[_0x5f4e58(0x3b6)]?this[_0x5f4e58(0x237)]():this['_toggleOffline']();}),this[_0x5045a5(0x3cc)][_0x5045a5(0x531)]['pipe'](_0x1fcaf6[_0x5045a5(0x13e)](this['dispose$']))[_0x5045a5(0x2a1)](_0x36f790=>{const _0x487fe5=_0x5045a5,_0x34d0b6=_0x36f790['eventID'];_0x34d0b6===_0xa51b04['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x487fe5(0x4ad)](_0x36f790),_0x34d0b6===_0xa51b04[_0x487fe5(0x3fa)][_0x487fe5(0x4ba)]&&this['_onCursorDelete'](_0x36f790);}),this[_0x5045a5(0x2c8)](this[_0x5045a5(0x4c3)][_0x5045a5(0x2c4)](_0x1c0902=>{const _0x9b1b83=_0x5045a5,_0x4d67cd=_0x1c0902[_0x9b1b83(0x2b8)];_0x4d67cd!=null&&this[_0x9b1b83(0x2f3)]&&_0x1c0902['id']===_0x106b3c[_0x9b1b83(0x265)]['id']&&_0x4d67cd[_0x9b1b83(0x4bf)]===this[_0x9b1b83(0x14c)]&&_0x4d67cd[_0x9b1b83(0x314)]===!0x1&&this[_0x9b1b83(0x557)](_0x4d67cd[_0x9b1b83(0x440)]);})),this[_0x5045a5(0x318)]['collabCursorState$'][_0x5045a5(0x47e)](_0x1fcaf6[_0x5045a5(0x13e)](this[_0x5045a5(0x3af)]))[_0x5045a5(0x2a1)](_0x1c8339=>{const _0xc1c15=_0x5045a5;if((_0x1c8339==null?void 0x0:_0x1c8339[_0xc1c15(0x14c)])!==this[_0xc1c15(0x14c)])return;const _0x2703a1={'eventID':_0xa51b04[_0xc1c15(0x3fa)][_0xc1c15(0x4c9)],'data':_0x1c8339};this[_0xc1c15(0x4ad)](_0x2703a1);}),this['disposeWithMe'](this['_commandService'][_0x5045a5(0x2c4)](_0x473c10=>{const _0x55fba2=_0x5045a5;if(_0x473c10['params']==null)return;const _0xac50aa=_0x473c10[_0x55fba2(0x2b8)];if(_0x473c10['id']!==_0x106b3c[_0x55fba2(0x474)]['id']||_0xac50aa['unitId']!==this[_0x55fba2(0x14c)])return;const _0x1a8af0={'id':_0x55fba2(0x124),'params':_0xac50aa},_0x1b7dca=this[_0x55fba2(0x4eb)];for(const [_0x553fa2,_0x4b59f9]of _0x1b7dca){const _0x5b9314={'id':_0x55fba2(0x124),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x4b59f9[_0x55fba2(0x440)]}},_0x2fceb7=this['_transformService']['transformMutation'](_0x1a8af0,_0x5b9314,!0x1);if(_0xa51b04[_0x55fba2(0x2a8)](_0x2fceb7))throw _0x2fceb7['error'];_0x1b7dca['set'](_0x553fa2,{..._0x4b59f9,'ranges':_0x2fceb7[_0x55fba2(0x12b)][_0x55fba2(0x2b8)][_0x55fba2(0x512)]});}queueMicrotask(()=>{const _0x5bc2cd=_0x55fba2;this[_0x5bc2cd(0x4b1)]['next'](_0x1b7dca);});})));}[_0x2d2308(0x4ad)](_0x3d8d67){const _0x58d037=_0x2d2308;var _0x1ae15c,_0x1e0c81;const {memberID:_0x5cefa8,selection:_0x1590ba}=_0x3d8d67[_0x58d037(0x142)],_0x3b19d7=_0xfc242c(_0x1590ba),_0x2a8781=(_0x1e0c81=(_0x1ae15c=this[_0x58d037(0x361)]['getMember'](this['unitID'],_0x5cefa8))==null?void 0x0:_0x1ae15c[_0x58d037(0x2e3)])!=null?_0x1e0c81:_0x58d037(0x539),_0x2f3e34={'color':this[_0x58d037(0x448)][_0x58d037(0x4b2)](_0x5cefa8),'name':_0x2a8781,'ranges':_0x3b19d7},_0x23796e=this['cursorInfo'];_0x23796e['set'](_0x5cefa8,_0x2f3e34),this['_cursorInfo$'][_0x58d037(0x535)](_0x23796e);}[_0x2d2308(0x3bc)](_0x2e0381){const _0xbf5dc6=_0x2d2308,{memberID:_0x3faa38}=_0x2e0381[_0xbf5dc6(0x142)],_0x212491=this[_0xbf5dc6(0x4eb)];_0x212491[_0xbf5dc6(0x444)](_0x3faa38),this['_cursorInfo$'][_0xbf5dc6(0x535)](_0x212491);}[_0x2d2308(0x237)](){const _0xca0895=_0x2d2308;var _0x30c627;if(this[_0xca0895(0x2f3)]=!0x0,((_0x30c627=this[_0xca0895(0x245)]['getFocusedUnit']())==null?void 0x0:_0x30c627[_0xca0895(0x28d)]())!==this['unitID'])return;const _0x17661b=this[_0xca0895(0x510)][_0xca0895(0x3bb)](_0x106b3c[_0xca0895(0x286)])['getDocRanges']();Array['isArray'](_0x17661b)&&_0x17661b[_0xca0895(0x1e3)]>0x0&&this['_updateLocalCursor'](_0x17661b);}['_toggleOffline'](){const _0x4712db=_0x2d2308;this[_0x4712db(0x2f3)]=!0x1;}};_0x313e53=_0x5977f9([_0x50341d(0x2,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x3b2)])),_0x50341d(0x3,_0x511a8d[_0x2d2308(0x4dc)](_0x239f11)),_0x50341d(0x4,_0x511a8d['Inject'](_0x301ed0)),_0x50341d(0x5,_0x511a8d['Inject'](_0x57cbd1)),_0x50341d(0x6,_0xa51b04[_0x2d2308(0x2a2)]),_0x50341d(0x7,_0x511a8d['IUniverInstanceService']),_0x50341d(0x8,_0x511a8d[_0x2d2308(0x23a)])],_0x313e53);var _0x173168=Object[_0x2d2308(0x210)],_0x1c3829=Object[_0x2d2308(0x475)],_0x142be2=(_0x20251e,_0x16da1c,_0x426ed8,_0x38c5ae)=>{const _0x33f3dd=_0x2d2308;for(var _0x480182=_0x38c5ae>0x1?void 0x0:_0x38c5ae?_0x1c3829(_0x16da1c,_0x426ed8):_0x16da1c,_0x323002=_0x20251e[_0x33f3dd(0x1e3)]-0x1,_0x29a19f;_0x323002>=0x0;_0x323002--)(_0x29a19f=_0x20251e[_0x323002])&&(_0x480182=(_0x38c5ae?_0x29a19f(_0x16da1c,_0x426ed8,_0x480182):_0x29a19f(_0x480182))||_0x480182);return _0x38c5ae&&_0x480182&&_0x173168(_0x16da1c,_0x426ed8,_0x480182),_0x480182;},_0x59105a=(_0x4724c2,_0x19d556)=>(_0x3bc0bf,_0x124617)=>_0x19d556(_0x3bc0bf,_0x124617,_0x4724c2);const _0x21c18c=0x12c,_0x3d3c10=0x64,_0x17f343=()=>{let _0x37ccd6=[],_0xd7d788=!0x1;return _0x2fed48=>{const _0xb4b373=_0x3ba2;_0x37ccd6[_0xb4b373(0x4c4)](_0x2fed48),_0xd7d788||(_0xd7d788=!0x0,setTimeout(()=>{const _0x1a3005=_0xb4b373;_0x37ccd6[_0x1a3005(0x20c)](_0x466da0=>_0x466da0()),_0x37ccd6=[],_0xd7d788=!0x1;}));};};let _0x2e3e67=class extends _0x511a8d[_0x2d2308(0x53d)]{constructor(_0x386137,_0x5cdf2c,_0x39aba8,_0x24269a,_0xeb6f80,_0x54b8a7,_0x44ec22,_0x213fb2){const _0x5c315a=_0x2d2308;super(),_0x3d9158(this,'_online',!0x1),_0x3d9158(this,_0x5c315a(0x3e6),!0x1),_0x3d9158(this,_0x5c315a(0x4b1),new _0x1fcaf6[(_0x5c315a(0x24c))](new Map())),_0x3d9158(this,'cursorInfo$',this[_0x5c315a(0x4b1)][_0x5c315a(0x1d7)]()),_0x3d9158(this,_0x5c315a(0x167),new _0x1fcaf6[(_0x5c315a(0x24c))]([])),_0x3d9158(this,_0x5c315a(0x2d5),this[_0x5c315a(0x167)]['pipe'](_0x1fcaf6[_0x5c315a(0x3c5)](_0x21c18c))),_0x3d9158(this,_0x5c315a(0x557),_0x511a8d['debounce']((_0x570fc6,_0x29b385)=>{const _0x2c2225=_0x5c315a,_0x47dbaf={'eventID':_0xa51b04[_0x2c2225(0x3fa)][_0x2c2225(0x4c9)],'data':{'unitID':this[_0x2c2225(0x14c)],'memberID':this[_0x2c2225(0x3cc)]['getMemberID'](),'selection':_0x29616f[_0x2c2225(0x3e1)](_0x570fc6,_0x29b385[_0x2c2225(0x172)])}};this[_0x2c2225(0x3cc)][_0x2c2225(0x363)](_0x47dbaf,this[_0x2c2225(0x14c)]);},_0x3d3c10)),(this['unitID']=_0x386137,this[_0x5c315a(0x3cc)]=_0x5cdf2c,this['_injector']=_0x39aba8,this[_0x5c315a(0x448)]=_0x24269a,this[_0x5c315a(0x361)]=_0xeb6f80,this[_0x5c315a(0x245)]=_0x54b8a7,this[_0x5c315a(0x4c3)]=_0x44ec22,this[_0x5c315a(0x2ce)]=_0x213fb2);}get['cursorInfo'](){const _0x88df31=_0x2d2308;return this[_0x88df31(0x4b1)][_0x88df31(0x24f)]();}get[_0x2d2308(0x3ac)](){const _0x1f6b76=_0x2d2308;return this[_0x1f6b76(0x167)][_0x1f6b76(0x24f)]();}[_0x2d2308(0x2fb)](){const _0x357466=_0x2d2308;super[_0x357466(0x2fb)](),this[_0x357466(0x4b1)][_0x357466(0x535)](new Map()),this[_0x357466(0x4b1)]['complete'](),this['_roomMembers$'][_0x357466(0x535)]([]),this[_0x357466(0x167)]['complete']();}['init'](){const _0x16681f=_0x2d2308;this[_0x16681f(0x3e6)]||(this[_0x16681f(0x3e6)]=!0x0,this['_session']['sessionStatus$'][_0x16681f(0x47e)](_0x1fcaf6['takeUntil'](this[_0x16681f(0x3af)]))[_0x16681f(0x2a1)](_0xf35ac5=>{const _0x457e0a=_0x16681f;_0xf35ac5===_0x3c28c2[_0x457e0a(0x3b6)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x16681f(0x3cc)][_0x16681f(0x531)]['pipe'](_0x1fcaf6[_0x16681f(0x13e)](this['dispose$']))[_0x16681f(0x2a1)](_0x26524c=>{const _0x21e616=_0x16681f,_0x5aae66=_0x26524c[_0x21e616(0x175)];_0x5aae66===_0xa51b04[_0x21e616(0x3fa)][_0x21e616(0x4c9)]&&this[_0x21e616(0x4ad)](_0x26524c),_0x5aae66===_0xa51b04['CollaborationEvent'][_0x21e616(0x4ba)]&&this['_onCursorDelete'](_0x26524c);}),this['_onRefRangeChange'](),this['disposeWithMe'](this['_commandService'][_0x16681f(0x2c4)](_0x419ad9=>{const _0x30cc2e=_0x16681f;if(this['_online']&&_0x419ad9['id']===_0x11a28e[_0x30cc2e(0x500)]['id']&&_0x419ad9[_0x30cc2e(0x2b8)][_0x30cc2e(0x4bf)]===this[_0x30cc2e(0x14c)]){const _0x5aef48=_0x419ad9[_0x30cc2e(0x2b8)];this[_0x30cc2e(0x557)](_0x5aef48[_0x30cc2e(0x536)],_0x5aef48[_0x30cc2e(0x2e7)][0x0]);}})));}[_0x2d2308(0x4ad)](_0x50203a){const _0x40d3b0=_0x2d2308;var _0x45d742,_0x441d0e;const {memberID:_0x47e6e2,selection:_0x10d440}=_0x50203a[_0x40d3b0(0x142)],{sheetName:_0x36d37e,range:_0x3e77ca}=_0x29616f[_0x40d3b0(0x3ce)](_0x10d440),_0x5020ac={'name':(_0x441d0e=(_0x45d742=this[_0x40d3b0(0x361)]['getMember'](this[_0x40d3b0(0x14c)],_0x47e6e2))==null?void 0x0:_0x45d742[_0x40d3b0(0x2e3)])!=null?_0x441d0e:_0x40d3b0(0x539),'range':this['_getMergeRange'](_0x36d37e,_0x3e77ca),'sheetID':_0x36d37e,'color':this[_0x40d3b0(0x448)][_0x40d3b0(0x4b2)](_0x47e6e2),'selection':_0x10d440},_0x3519bc=this[_0x40d3b0(0x4eb)];_0x3519bc[_0x40d3b0(0x445)](_0x47e6e2,_0x5020ac),this[_0x40d3b0(0x4b1)][_0x40d3b0(0x535)](_0x3519bc);}['_onCursorDelete'](_0x1167f0){const _0xa069f0=_0x2d2308,{memberID:_0x345fe4}=_0x1167f0[_0xa069f0(0x142)],_0x557089=this[_0xa069f0(0x4eb)];_0x557089[_0xa069f0(0x444)](_0x345fe4),this[_0xa069f0(0x4b1)][_0xa069f0(0x535)](_0x557089);}[_0x2d2308(0x322)](_0x3b2d19,_0x3456b6){const _0x267e02=_0x2d2308;var _0xfdb891,_0x442f8e;const _0x1f19c3=(_0x442f8e=(_0xfdb891=this[_0x267e02(0x245)][_0x267e02(0x1ac)](this[_0x267e02(0x14c)]))==null?void 0x0:_0xfdb891[_0x267e02(0x30b)](_0x3b2d19))==null?void 0x0:_0x442f8e['getMergeData']();return(_0x1f19c3==null?void 0x0:_0x1f19c3[_0x267e02(0x38c)](_0xe1242d=>_0x511a8d[_0x267e02(0x32f)][_0x267e02(0x308)](_0xe1242d,_0x3456b6)))||_0x3456b6;}['_onRefRangeChange'](){const _0x4f578d=_0x2d2308,_0x5f3ff1=new _0x511a8d[(_0x4f578d(0x51b))](),_0x62bf0f=_0x17f343(),_0x212c82=()=>{const _0x370d17=_0x4f578d;_0x5f3ff1['dispose']();const _0x38d707=(_0x5af8be,_0x327c72,_0x8ab399,_0x154557)=>{const _0x2db346=_0x3ba2;let _0x42872a=[];switch(_0x5af8be['id']){case _0x11a28e['EffectRefRangId'][_0x2db346(0x527)]:{_0x42872a=_0x11a28e[_0x2db346(0x2e2)](_0x5af8be,_0x154557);break;}case _0x11a28e[_0x2db346(0x561)]['DeleteRangeMoveUpCommandId']:{_0x42872a=_0x11a28e[_0x2db346(0x1a6)](_0x5af8be,_0x154557);break;}case _0x11a28e[_0x2db346(0x561)][_0x2db346(0x310)]:{_0x42872a=_0x11a28e[_0x2db346(0x46e)](_0x5af8be,_0x154557);break;}case _0x11a28e[_0x2db346(0x561)]['InsertRangeMoveDownCommandId']:{_0x42872a=_0x11a28e[_0x2db346(0x19d)](_0x5af8be,_0x154557);break;}case _0x11a28e['EffectRefRangId'][_0x2db346(0x2cb)]:{_0x42872a=_0x11a28e[_0x2db346(0x35d)](_0x5af8be,_0x154557);break;}case _0x11a28e[_0x2db346(0x561)][_0x2db346(0x3dd)]:{_0x42872a=_0x11a28e[_0x2db346(0x392)](_0x5af8be,_0x154557);break;}case _0x11a28e['EffectRefRangId'][_0x2db346(0x443)]:{_0x42872a=_0x11a28e[_0x2db346(0x189)](_0x5af8be,_0x154557);break;}case _0x11a28e[_0x2db346(0x561)][_0x2db346(0x37b)]:{_0x42872a=_0x11a28e[_0x2db346(0x362)](_0x5af8be,_0x154557);break;}case _0x11a28e[_0x2db346(0x561)]['RemoveRowCommandId']:{_0x42872a=_0x11a28e['handleIRemoveRow'](_0x5af8be,_0x154557);break;}}const _0x341b99=_0x11a28e[_0x2db346(0x4f2)](_0x42872a,_0x154557),_0x328095=this[_0x2db346(0x4eb)][_0x2db346(0x3bb)](_0x327c72);if(_0x328095&&_0x341b99){const _0x57583e={..._0x328095,'range':_0x341b99};this[_0x2db346(0x4eb)][_0x2db346(0x445)](_0x327c72,_0x57583e),_0x62bf0f(()=>{const _0x4c02f1=_0x2db346,_0x4aca8a=this[_0x4c02f1(0x2ce)]['registerRefRange'](_0x341b99,_0x38d742=>(_0x4aca8a[_0x4c02f1(0x2fb)](),_0x38d707(_0x38d742,_0x327c72,_0x8ab399,_0x341b99)));_0x5f3ff1[_0x4c02f1(0x2fc)](_0x4aca8a);});}return{'redos':[],'undos':[]};};this[_0x370d17(0x4eb)][_0x370d17(0x20c)]((_0x3c1bf0,_0x403eaa)=>{const _0x4d7259=_0x370d17,{range:_0x1e6bb1,sheetID:_0x87b37a}=_0x3c1bf0,_0x56a570=this[_0x4d7259(0x2ce)][_0x4d7259(0x338)](_0x1e6bb1,_0x5dc0ea=>(_0x56a570[_0x4d7259(0x2fb)](),_0x38d707(_0x5dc0ea,_0x403eaa,_0x87b37a,_0x1e6bb1)));_0x5f3ff1[_0x4d7259(0x2fc)](_0x56a570);});};this[_0x4f578d(0x2c8)](_0x511a8d[_0x4f578d(0x529)](this[_0x4f578d(0x4b1)]['subscribe'](()=>{_0x212c82();})));}[_0x2d2308(0x237)](){const _0x559ac6=_0x2d2308;var _0x43cbef,_0x33e0f1;if(this[_0x559ac6(0x2f3)]=!0x0,((_0x43cbef=this[_0x559ac6(0x245)]['getFocusedUnit']())==null?void 0x0:_0x43cbef['getUnitId']())!==this['unitID'])return;const _0x3c1e0c=(_0x33e0f1=this[_0x559ac6(0x510)][_0x559ac6(0x3bb)](_0x11a28e[_0x559ac6(0x480)])[_0x559ac6(0x25e)]())==null?void 0x0:_0x33e0f1[0x0],_0x5c4391=this[_0x559ac6(0x245)][_0x559ac6(0x519)](_0x511a8d[_0x559ac6(0x3bf)][_0x559ac6(0x1b5)])[_0x559ac6(0x317)]();_0x3c1e0c&&_0x5c4391&&this[_0x559ac6(0x557)](_0x5c4391[_0x559ac6(0x3df)](),_0x3c1e0c);}[_0x2d2308(0x4e0)](){const _0x356026=_0x2d2308;this[_0x356026(0x2f3)]=!0x1;}};_0x2e3e67=_0x142be2([_0x59105a(0x2,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d['Injector'])),_0x59105a(0x3,_0x511a8d[_0x2d2308(0x4dc)](_0x239f11)),_0x59105a(0x4,_0x511a8d[_0x2d2308(0x4dc)](_0x301ed0)),_0x59105a(0x5,_0x511a8d[_0x2d2308(0x3ed)]),_0x59105a(0x6,_0x511a8d['ICommandService']),_0x59105a(0x7,_0x511a8d[_0x2d2308(0x4dc)](_0x11a28e[_0x2d2308(0x2d0)]))],_0x2e3e67);var _0x34a2f4=Object[_0x2d2308(0x210)],_0x339e57=Object['getOwnPropertyDescriptor'],_0x4d18e9=(_0x33c6f5,_0x279fcf,_0x59be07,_0x4cef28)=>{for(var _0xc3c98e=_0x4cef28>0x1?void 0x0:_0x4cef28?_0x339e57(_0x279fcf,_0x59be07):_0x279fcf,_0x587312=_0x33c6f5['length']-0x1,_0x3b9edd;_0x587312>=0x0;_0x587312--)(_0x3b9edd=_0x33c6f5[_0x587312])&&(_0xc3c98e=(_0x4cef28?_0x3b9edd(_0x279fcf,_0x59be07,_0xc3c98e):_0x3b9edd(_0xc3c98e))||_0xc3c98e);return _0x4cef28&&_0xc3c98e&&_0x34a2f4(_0x279fcf,_0x59be07,_0xc3c98e),_0xc3c98e;},_0x377079=(_0x3e76fa,_0x2b9a14)=>(_0x297ca9,_0xb0ea8e)=>_0x2b9a14(_0x297ca9,_0xb0ea8e,_0x3e76fa);let _0x49b326=class extends _0x511a8d['RxDisposable']{constructor(_0x314597,_0x7db788,_0x1feebe){const _0x22f3bb=_0x2d2308;super(),_0x3d9158(this,'_entities',new Map()),_0x3d9158(this,_0x22f3bb(0x546),new _0x1fcaf6[(_0x22f3bb(0x36d))]()),(this[_0x22f3bb(0x245)]=_0x314597,this[_0x22f3bb(0x510)]=_0x7db788,this[_0x22f3bb(0x406)]=_0x1feebe,this[_0x22f3bb(0x3e6)]());}[_0x2d2308(0x2fb)](){const _0x384aaa=_0x2d2308;super[_0x384aaa(0x2fb)](),this[_0x384aaa(0x546)][_0x384aaa(0x33d)](),this[_0x384aaa(0x2aa)][_0x384aaa(0x20c)](_0x27191f=>_0x27191f['dispose']());}[_0x2d2308(0x22b)](_0x373c83){const _0x46b67d=_0x2d2308;return this[_0x46b67d(0x2aa)][_0x46b67d(0x1e0)](_0x373c83)?this[_0x46b67d(0x2aa)]['get'](_0x373c83)[_0x46b67d(0x141)]:this[_0x46b67d(0x546)][_0x46b67d(0x47e)](_0x1fcaf6[_0x46b67d(0x44e)](_0x2bd400=>_0x2bd400[_0x46b67d(0x14c)]===_0x373c83),_0x1fcaf6['switchMap'](_0x4992d0=>_0x4992d0[_0x46b67d(0x141)]));}[_0x2d2308(0x3e6)](){const _0x15235d=_0x2d2308;this['_univerInstanceService'][_0x15235d(0x2c3)](_0x511a8d[_0x15235d(0x3bf)][_0x15235d(0x1b5)])['pipe'](_0x1fcaf6[_0x15235d(0x13e)](this[_0x15235d(0x3af)]))[_0x15235d(0x2a1)](async _0x361dd7=>{const _0x510911=_0x15235d,_0x3793a2=_0x361dd7['getUnitId'](),_0x98538f=await this[_0x510911(0x532)](_0x3793a2);this[_0x510911(0x546)][_0x510911(0x535)](_0x98538f),this['_entities']['set'](_0x3793a2,_0x98538f);}),this[_0x15235d(0x245)][_0x15235d(0x2c3)](_0x511a8d['UniverInstanceType'][_0x15235d(0x183)])['pipe'](_0x1fcaf6[_0x15235d(0x13e)](this['dispose$']))[_0x15235d(0x47e)](_0x1fcaf6[_0x15235d(0x44e)](_0x39be00=>!_0x39be00[_0x15235d(0x28d)]()[_0x15235d(0x53c)]('__')))[_0x15235d(0x2a1)](async _0x20b56d=>{const _0x226415=_0x15235d,_0x3cb207=_0x20b56d[_0x226415(0x28d)](),_0x116c8c=await this[_0x226415(0x333)](_0x3cb207);this[_0x226415(0x546)][_0x226415(0x535)](_0x116c8c),this['_entities']['set'](_0x3cb207,_0x116c8c);}),_0x1fcaf6[_0x15235d(0x240)](this[_0x15235d(0x245)][_0x15235d(0x2f2)](_0x511a8d[_0x15235d(0x3bf)][_0x15235d(0x183)]),this[_0x15235d(0x245)][_0x15235d(0x2f2)](_0x511a8d['UniverInstanceType'][_0x15235d(0x1b5)]))['pipe'](_0x1fcaf6['takeUntil'](this['dispose$']))[_0x15235d(0x2a1)](_0x23b580=>{const _0x4912e6=_0x15235d,_0xbae0ae=_0x23b580[_0x4912e6(0x28d)](),_0x29df6b=this[_0x4912e6(0x2aa)]['get'](_0xbae0ae);_0x29df6b&&(_0x29df6b[_0x4912e6(0x2fb)](),this[_0x4912e6(0x2aa)]['delete'](_0xbae0ae));});}async[_0x2d2308(0x532)](_0x567ea2){const _0x23ac06=_0x2d2308,_0x103493=await this[_0x23ac06(0x406)][_0x23ac06(0x137)](_0x567ea2),_0x31e0c7=this['_injector']['createInstance'](_0x2e3e67,_0x567ea2,_0x103493);return _0x31e0c7[_0x23ac06(0x41e)](),_0x31e0c7;}async[_0x2d2308(0x333)](_0x15a7db){const _0xeb9741=_0x2d2308,_0x47727d=await this['_collabSessionService']['requireSession'](_0x15a7db),_0xbbfb46=this['_injector']['createInstance'](_0x313e53,_0x15a7db,_0x47727d);return _0xbbfb46[_0xeb9741(0x41e)](),_0xbbfb46;}};_0x49b326=_0x4d18e9([_0x377079(0x0,_0x511a8d['IUniverInstanceService']),_0x377079(0x1,_0x511a8d['Inject'](_0x511a8d[_0x2d2308(0x3b2)])),_0x377079(0x2,_0x511a8d[_0x2d2308(0x4dc)](_0x5c4621['CollaborationSessionService']))],_0x49b326);const _0x196038=0x14,_0x26b796=0xc8,_0x637ddc=0x4,_0x3ec417=0x5;function _0x116112(_0x29ce61,_0x5463ae){const _0x396622=_0x2d2308;let {radius:_0x3f745f,width:_0x1c08ff,height:_0x1d3eea}=_0x5463ae;_0x3f745f=_0x3f745f!=null?_0x3f745f:0x0,_0x1c08ff=_0x1c08ff!=null?_0x1c08ff:0x1e,_0x1d3eea=_0x1d3eea!=null?_0x1d3eea:0x1e;let _0x597333=0x0,_0xff03c7=0x0,_0x4ebe7d=0x0;_0x597333=_0xff03c7=_0x4ebe7d=Math['min'](_0x3f745f,_0x1c08ff/0x2,_0x1d3eea/0x2),_0x29ce61[_0x396622(0x52b)](),_0x29ce61[_0x396622(0x2f9)](_0x597333,0x0),_0x29ce61[_0x396622(0x33b)](_0x1c08ff-_0xff03c7,0x0),_0x29ce61[_0x396622(0x1dd)](_0x1c08ff-_0xff03c7,_0xff03c7,_0xff03c7,Math['PI']*0x3/0x2,0x0,!0x1),_0x29ce61[_0x396622(0x33b)](_0x1c08ff,_0x1d3eea-_0x4ebe7d),_0x29ce61[_0x396622(0x1dd)](_0x1c08ff-_0x4ebe7d,_0x1d3eea-_0x4ebe7d,_0x4ebe7d,0x0,Math['PI']/0x2,!0x1),_0x29ce61['lineTo'](0x0,_0x1d3eea),_0x29ce61[_0x396622(0x33b)](0x0,_0x597333),_0x29ce61[_0x396622(0x1dd)](_0x597333,_0x597333,_0x597333,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x29ce61[_0x396622(0x2db)](),_0x5463ae[_0x396622(0x34b)]&&(_0x29ce61[_0x396622(0x435)](),_0x29ce61['fillStyle']=_0x5463ae[_0x396622(0x34b)],_0x5463ae[_0x396622(0x35b)]===_0x396622(0x180)?_0x29ce61[_0x396622(0x34b)](_0x396622(0x180)):_0x29ce61[_0x396622(0x34b)](),_0x29ce61[_0x396622(0x47a)]());}class _0x2545cb extends _0x47232b[_0x2d2308(0x18e)]{constructor(_0x50a043,_0x4b223b){const _0x3dda89=_0x2d2308;super(_0x50a043,_0x4b223b),_0x3d9158(this,_0x3dda89(0x208)),_0x3d9158(this,_0x3dda89(0x17f)),(this[_0x3dda89(0x208)]=_0x4b223b==null?void 0x0:_0x4b223b['color'],this[_0x3dda89(0x17f)]=_0x4b223b==null?void 0x0:_0x4b223b[_0x3dda89(0x17f)]);}static[_0x2d2308(0x4d8)](_0x3f671f,_0x164357){const _0x53804d=_0x2d2308,{text:_0x5e73e1,color:_0x45bd2c}=_0x164357;_0x3f671f['save'](),_0x3f671f[_0x53804d(0x150)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x5eadce=_0x3f671f[_0x53804d(0x55d)](_0x5e73e1)[_0x53804d(0x439)],_0x1943b1=Math[_0x53804d(0x40c)](_0x5eadce+0x2*_0x637ddc,_0x26b796);_0x116112(_0x3f671f,{'height':_0x196038,'radius':0x4,'width':_0x1943b1,'fill':_0x45bd2c,'evented':!0x1}),_0x3f671f[_0x53804d(0x471)]='#FFF';const _0x4b2477=_0x637ddc,_0x420b54=_0x196038-_0x3ec417,_0x5476db=_0x26b796-0x2*_0x637ddc;if(_0x5eadce>_0x5476db){let _0x5d470c='',_0x3b4246=0x0;for(const _0x318f3d of _0x5e73e1){const _0x44c853=_0x3f671f[_0x53804d(0x55d)](_0x318f3d)[_0x53804d(0x439)];if(_0x3b4246+_0x44c853<=_0x5476db-_0x3f671f['measureText'](_0x53804d(0x133))[_0x53804d(0x439)])_0x5d470c+=_0x318f3d,_0x3b4246+=_0x44c853;else{_0x5d470c+=_0x53804d(0x133);break;}}_0x3f671f[_0x53804d(0x3d8)](_0x5d470c,_0x4b2477,_0x420b54);}else _0x3f671f[_0x53804d(0x3d8)](_0x5e73e1,_0x4b2477,_0x420b54);_0x3f671f[_0x53804d(0x47a)]();}['_draw'](_0x132e27){const _0x3e79b2=_0x2d2308;_0x2545cb[_0x3e79b2(0x4d8)](_0x132e27,this);}}const _0x262582=_0x2d2308(0x2a5),_0x56ba03=_0x2d2308(0x410),_0x12e065='collab-rect-range-',_0x1f67ed=0x6,_0x7b7431=1.5,_0x4eb200=0x4,_0x3f00e4=1.5,_0x43aac8=_0x2d2308(0x1d1);class _0x546d53{constructor(_0x10dc4e,_0x464891,_0x221b0a,_0x434133){const _0x2e1117=_0x2d2308;_0x3d9158(this,'_shapes',[]),_0x3d9158(this,_0x2e1117(0x359),null),_0x3d9158(this,'_textBubble',null),_0x3d9158(this,_0x2e1117(0x422),null),_0x3d9158(this,_0x2e1117(0x1ea),null),_0x3d9158(this,_0x2e1117(0x493),null),(this[_0x2e1117(0x2d9)]=_0x10dc4e,this['_scene']=_0x464891,this[_0x2e1117(0x226)]=_0x221b0a,this[_0x2e1117(0x1b3)]=_0x434133,this[_0x2e1117(0x247)]());}set[_0x2d2308(0x21d)](_0x93a46){const _0x1b0909=_0x2d2308;_0x93a46?(this[_0x1b0909(0x422)]&&this[_0x1b0909(0x422)][_0x1b0909(0x2da)](),this[_0x1b0909(0x31b)]&&this['_textBubble'][_0x1b0909(0x1f7)]()):(this[_0x1b0909(0x422)]&&this[_0x1b0909(0x422)][_0x1b0909(0x1f7)](),this[_0x1b0909(0x31b)]&&this[_0x1b0909(0x31b)][_0x1b0909(0x2da)]());}[_0x2d2308(0x2fb)](){const _0x437f06=_0x2d2308;for(const _0x1d15dc of this['_shapes'])_0x1d15dc[_0x437f06(0x2fb)]();this[_0x437f06(0x31b)]&&this['_textBubble'][_0x437f06(0x2fb)](),this[_0x437f06(0x422)]&&this['_anchorDot'][_0x437f06(0x2fb)](),this[_0x437f06(0x359)]&&this[_0x437f06(0x359)][_0x437f06(0x2fb)](),this[_0x437f06(0x493)]&&this[_0x437f06(0x493)]();}[_0x2d2308(0x247)](){const _0x3132aa=_0x2d2308;var _0x21f0d0;const {_docSkeleton:_0x5430d8,_document:_0x3d0da1}=this,{color:_0xdf57a1,name:_0x6aea65,ranges:_0x1c7e1c}=this[_0x3132aa(0x2d9)],_0x4ce666=_0x3d0da1[_0x3132aa(0x1a3)](),{docsLeft:_0x522613,docsTop:_0x4d409d}=_0x4ce666,_0x1d3974=new _0x457ad5[(_0x3132aa(0x496))](_0x4ce666,_0x5430d8);for(const {startOffset:_0x21d33a,endOffset:_0x42f09e,collapsed:_0x53ca4c,isActive:_0x3ecdd8}of _0x1c7e1c){const _0x12c937=_0x5430d8[_0x3132aa(0x378)](_0x21d33a),_0x347da6=_0x5430d8[_0x3132aa(0x378)](_0x42f09e);if(_0x3ecdd8){const {contentBoxPointGroup:_0x4a2100}=_0x1d3974[_0x3132aa(0x294)](_0x347da6,_0x347da6);if(_0x4a2100['length']===0x0)continue;this[_0x3132aa(0x522)](_0xdf57a1,_0x4a2100,_0x522613,_0x4d409d,_0x6aea65),this[_0x3132aa(0x493)]=this['_handleHover']();}if(!_0x53ca4c&&_0x12c937&&_0x347da6){if(_0x457ad5['isValidRectRange'](_0x12c937,_0x347da6)){const _0x5aaa6f=new _0x457ad5[(_0x3132aa(0x457))](_0x4ce666,_0x5430d8),{pointGroup:_0x3756e0}=(_0x21f0d0=_0x5aaa6f[_0x3132aa(0x294)](_0x12c937,_0x347da6))!=null?_0x21f0d0:{};if(_0x3756e0==null||_0x3756e0[_0x3132aa(0x1e3)]===0x0)continue;this[_0x3132aa(0x2e8)](_0xdf57a1,_0x3756e0,_0x522613,_0x4d409d);}else{const {contentBoxPointGroup:_0x162ced}=_0x1d3974[_0x3132aa(0x294)](_0x12c937,_0x347da6);if(_0x162ced[_0x3132aa(0x1e3)]===0x0)continue;this[_0x3132aa(0x211)](_0xdf57a1,_0x162ced,_0x522613,_0x4d409d);}}}}[_0x2d2308(0x522)](_0x2e8dd3,_0x11dd1f,_0x426e67,_0x266dbf,_0x2f10f9){const _0x48e6de=_0x2d2308,_0x4c0099=this[_0x48e6de(0x26f)](_0x11dd1f),{left:_0x2320c1,top:_0x4af804,height:_0x138e93}=_0x4c0099,_0x3a69be=this['_getScale'](),_0x1164bd=_0x3f00e4/_0x3a69be,_0x1b625c=new _0x47232b['Rect'](_0x262582+_0x511a8d['Tools'][_0x48e6de(0x447)](_0x1f67ed),{'left':_0x2320c1+_0x426e67-_0x1164bd,'top':_0x4af804+_0x266dbf,'height':_0x138e93,'width':_0x7b7431,'fill':_0x2e8dd3||_0x47232b[_0x48e6de(0x291)](_0x511a8d[_0x48e6de(0x419)][_0x48e6de(0x489)],0x0),'strokeWidth':_0x1164bd,'stroke':_0x43aac8,'evented':!0x0});this[_0x48e6de(0x359)]=_0x1b625c,this['_scene'][_0x48e6de(0x345)](_0x1b625c,_0x457ad5[_0x48e6de(0x134)]);const _0x27109b=new _0x47232b[(_0x48e6de(0x1e6))](_0x262582+_0x511a8d[_0x48e6de(0x344)]['generateRandomId'](_0x1f67ed),{'left':_0x2320c1+_0x426e67-_0x1164bd,'top':_0x4af804+_0x266dbf-_0x4eb200/0x2,'height':_0x4eb200,'width':_0x4eb200,'fill':_0x2e8dd3||_0x47232b[_0x48e6de(0x291)](_0x511a8d[_0x48e6de(0x419)][_0x48e6de(0x489)],0x0),'strokeWidth':0x0,'stroke':_0x2e8dd3||_0x47232b[_0x48e6de(0x291)](_0x511a8d[_0x48e6de(0x419)][_0x48e6de(0x489)],0x0),'evented':!0x1});this[_0x48e6de(0x422)]=_0x27109b,this[_0x48e6de(0x358)]['addObject'](_0x27109b,_0x457ad5[_0x48e6de(0x134)]);const _0x4e5697=new _0x2545cb(_0x262582+_0x511a8d[_0x48e6de(0x344)][_0x48e6de(0x447)](_0x1f67ed),{'left':_0x2320c1+_0x426e67-_0x1164bd,'top':_0x4af804+_0x266dbf-_0x196038,'text':_0x2f10f9,'color':_0x2e8dd3});this[_0x48e6de(0x31b)]=_0x4e5697,this['_scene']['addObject'](_0x4e5697,_0x457ad5[_0x48e6de(0x134)]),this['_hover']=!0x1;}[_0x2d2308(0x41b)](){const _0x30b521=_0x2d2308,_0x3f322b=this[_0x30b521(0x359)][_0x30b521(0x54e)][_0x30b521(0x1ef)](()=>{const _0x5dd320=_0x30b521;this[_0x5dd320(0x21d)]=!0x0;}),_0x20b92a=this['_anchor'][_0x30b521(0x524)][_0x30b521(0x1ef)](()=>{const _0xb2aeb4=_0x30b521;this[_0xb2aeb4(0x1ea)]&&clearTimeout(this[_0xb2aeb4(0x1ea)]),this[_0xb2aeb4(0x1ea)]=setTimeout(()=>{const _0x1bfa7d=_0xb2aeb4;this[_0x1bfa7d(0x21d)]=!0x1;},0x7d0);});return()=>{const _0x20a91b=_0x30b521;_0x3f322b[_0x20a91b(0x281)](),_0x20b92a['unsubscribe']();};}[_0x2d2308(0x211)](_0x26ee2a,_0x27ac78,_0x2d8c3f,_0x2f903a){const _0x38f4ff=_0x2d2308,_0x4c2e86=new _0x511a8d[(_0x38f4ff(0x261))](_0x26ee2a)[_0x38f4ff(0x2fe)](0.2)[_0x38f4ff(0x292)](),_0x4fd858=new _0x47232b[(_0x38f4ff(0x214))](_0x56ba03+_0x511a8d[_0x38f4ff(0x344)][_0x38f4ff(0x447)](_0x1f67ed),{'pointsGroup':_0x27ac78,'fill':_0x4c2e86||_0x47232b[_0x38f4ff(0x291)](_0x511a8d[_0x38f4ff(0x419)][_0x38f4ff(0x489)],0.2),'left':_0x2d8c3f,'top':_0x2f903a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x38f4ff(0x3e5)][_0x38f4ff(0x4c4)](_0x4fd858),this[_0x38f4ff(0x358)][_0x38f4ff(0x345)](_0x4fd858,_0x457ad5[_0x38f4ff(0x134)]);}[_0x2d2308(0x2e8)](_0x2288db,_0x157e27,_0x2c3050,_0x55a938){const _0xe479fd=_0x2d2308,_0x84c365=new _0x511a8d[(_0xe479fd(0x261))](_0x2288db)[_0xe479fd(0x2fe)](0.2)['toRgbString'](),_0x17d17a=new _0x47232b[(_0xe479fd(0x214))](_0x12e065+_0x511a8d[_0xe479fd(0x344)][_0xe479fd(0x447)](_0x1f67ed),{'pointsGroup':_0x157e27,'fill':_0x84c365||_0x47232b[_0xe479fd(0x291)](_0x511a8d['COLORS'][_0xe479fd(0x489)],0.2),'left':_0x2c3050,'top':_0x55a938,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xe479fd(0x3e5)][_0xe479fd(0x4c4)](_0x17d17a),this[_0xe479fd(0x358)][_0xe479fd(0x345)](_0x17d17a,_0x457ad5['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x14e865){const _0x16a212=_0x14e865[0x0],_0x1fca7f=_0x16a212[0x0],_0x451c7b=_0x16a212[0x2],{x:_0x169f25,y:_0x2c91dc}=_0x1fca7f,{x:_0x47e586,y:_0x149b33}=_0x451c7b;return{'left':_0x169f25,'top':_0x2c91dc,'width':_0x47e586-_0x169f25,'height':_0x149b33-_0x2c91dc};}[_0x2d2308(0x209)](){const _0x2a4e0c=_0x2d2308,{scaleX:_0x3cf788,scaleY:_0x4fcaec}=this['_scene'][_0x2a4e0c(0x4a9)]();return Math[_0x2a4e0c(0x256)](_0x3cf788,_0x4fcaec);}}var _0x2c1e3e=Object['defineProperty'],_0x4fe49c=Object[_0x2d2308(0x475)],_0x145335=(_0x42546e,_0x3bd607,_0x463093,_0x47754a)=>{const _0x2e5eb9=_0x2d2308;for(var _0x304c46=_0x47754a>0x1?void 0x0:_0x47754a?_0x4fe49c(_0x3bd607,_0x463093):_0x3bd607,_0x257820=_0x42546e[_0x2e5eb9(0x1e3)]-0x1,_0x4b3b4e;_0x257820>=0x0;_0x257820--)(_0x4b3b4e=_0x42546e[_0x257820])&&(_0x304c46=(_0x47754a?_0x4b3b4e(_0x3bd607,_0x463093,_0x304c46):_0x4b3b4e(_0x304c46))||_0x304c46);return _0x47754a&&_0x304c46&&_0x2c1e3e(_0x3bd607,_0x463093,_0x304c46),_0x304c46;},_0x558514=(_0x17ca2d,_0x433464)=>(_0x49c189,_0x2f5f0f)=>_0x433464(_0x49c189,_0x2f5f0f,_0x17ca2d);let _0x159580=class extends _0x511a8d[_0x2d2308(0x53d)]{constructor(_0x2f0b97,_0x5a625d,_0x307b09,_0x43e5de,_0xb5c0f0){const _0xe06635=_0x2d2308;super(),_0x3d9158(this,_0xe06635(0x4a6),[]),_0x3d9158(this,'_cursors',[]),(this[_0xe06635(0x289)]=_0x2f0b97,this['_docSkeletonManagerService']=_0x5a625d,this[_0xe06635(0x2ef)]=_0x307b09,this[_0xe06635(0x4c3)]=_0x43e5de,this[_0xe06635(0x1d0)]=_0xb5c0f0,this[_0xe06635(0x3e6)]());}[_0x2d2308(0x3e6)](){const _0x1d8bb0=_0x2d2308,_0x4558de=this['_context']['unitId'],_0xc6e1cf=this[_0x1d8bb0(0x2a3)];this[_0x1d8bb0(0x2c8)](_0x1fcaf6[_0x1d8bb0(0x4cf)]([this[_0x1d8bb0(0x2ef)][_0x1d8bb0(0x22b)](_0x4558de),this[_0x1d8bb0(0x1d0)][_0x1d8bb0(0x472)]])[_0x1d8bb0(0x47e)](_0x5e0e9a['map'](([_0x9ddaf7,_0x1f715f])=>({'skeleton':_0xc6e1cf[_0x1d8bb0(0x468)](),'cursors':[..._0x9ddaf7[_0x1d8bb0(0x220)]()][_0x1d8bb0(0x13d)](_0x86cef6=>({..._0x86cef6,'color':_0x1f715f[_0x86cef6[_0x1d8bb0(0x208)]]}))})))[_0x1d8bb0(0x2a1)](_0x2827f3=>{const _0x3d5b6f=_0x1d8bb0;if(this[_0x3d5b6f(0x1f2)](),_0x2827f3){const {skeleton:_0x336b02,cursors:_0x231a43}=_0x2827f3;this[_0x3d5b6f(0x15e)](_0x336b02,_0x231a43);}})),this['_initResize'](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x5374e1,_0x4ed344){const _0x20ea39=_0x2d2308,{scene:_0x2f29f9,mainComponent:_0x1c8f4f}=this[_0x20ea39(0x289)],_0x535ec3=_0x4ed344[_0x20ea39(0x4fc)](_0x405bb4=>new _0x546d53(_0x405bb4,_0x2f29f9,_0x5374e1,_0x1c8f4f));this[_0x20ea39(0x4a6)]=_0x535ec3,this[_0x20ea39(0x490)]=_0x4ed344;}[_0x2d2308(0x2f7)](){const _0x3a2517=_0x2d2308;this[_0x3a2517(0x1f2)]();const {scene:_0x423f88,mainComponent:_0xf0ed9b}=this[_0x3a2517(0x289)],_0x24af47=this[_0x3a2517(0x2a3)]['getSkeleton'](),_0xd8da26=this[_0x3a2517(0x490)][_0x3a2517(0x4fc)](_0x16dd99=>new _0x546d53(_0x16dd99,_0x423f88,_0x24af47,_0xf0ed9b));this[_0x3a2517(0x4a6)]=_0xd8da26;}[_0x2d2308(0x1f2)](){const _0x2f20f0=_0x2d2308;this[_0x2f20f0(0x4a6)][_0x2f20f0(0x20c)](_0x2cad04=>_0x2cad04[_0x2f20f0(0x2fb)]()),this[_0x2f20f0(0x4a6)]=[];}[_0x2d2308(0x274)](){const _0x23105a=_0x2d2308,_0x3fe4e7=[_0x457ad5['SetDocZoomRatioOperation']['id']];this[_0x23105a(0x2c8)](this[_0x23105a(0x4c3)][_0x23105a(0x2c4)](_0x53e333=>{const _0x469908=_0x23105a;_0x3fe4e7['includes'](_0x53e333['id'])&&_0x53e333['params'][_0x469908(0x4bf)]===this[_0x469908(0x289)][_0x469908(0x4bf)]&&this['_refreshCollabCursors']();}));}[_0x2d2308(0x2ed)](){const _0x1f1da3=_0x2d2308;this[_0x1f1da3(0x2c8)](_0x511a8d[_0x1f1da3(0x4db)](this[_0x1f1da3(0x289)][_0x1f1da3(0x507)][_0x1f1da3(0x4ce)])[_0x1f1da3(0x47e)](_0x5e0e9a[_0x1f1da3(0x44e)](_0x539e17=>_0x539e17['type']===_0x47232b[_0x1f1da3(0x271)]['resize']),_0x5e0e9a[_0x1f1da3(0x549)](0x10))[_0x1f1da3(0x2a1)](()=>{const _0x29dc82=_0x1f1da3;this[_0x29dc82(0x2f7)]();}));}};_0x159580=_0x145335([_0x558514(0x1,_0x511a8d[_0x2d2308(0x4dc)](_0x106b3c[_0x2d2308(0x163)])),_0x558514(0x2,_0x511a8d['Inject'](_0x49b326)),_0x558514(0x3,_0x511a8d[_0x2d2308(0x23a)]),_0x558514(0x4,_0x511a8d['Inject'](_0x511a8d[_0x2d2308(0x3da)]))],_0x159580);const _0x45cdab=0x1,_0x2d7c88=1.5;class _0x2263ad extends _0x47232b['Shape']{constructor(_0x4b0eab,_0x2b38c8){const _0x4e9cb8=_0x2d2308;super(_0x4b0eab,_0x2b38c8),_0x3d9158(this,'_color'),_0x3d9158(this,_0x4e9cb8(0x3f6),!0x1),_0x3d9158(this,_0x4e9cb8(0x54d)),_0x3d9158(this,_0x4e9cb8(0x14e),''),_0x3d9158(this,_0x4e9cb8(0x371),_0x4e9cb8(0x36e)),_0x3d9158(this,_0x4e9cb8(0x168)),(_0x2b38c8&&this['setShapeProps'](_0x2b38c8),this[_0x4e9cb8(0x54e)][_0x4e9cb8(0x1ef)](()=>this[_0x4e9cb8(0x241)]({'hovered':!0x0})),this[_0x4e9cb8(0x524)][_0x4e9cb8(0x1ef)](()=>this[_0x4e9cb8(0x241)]({'hovered':!0x1})));}['setShapeProps'](_0x4c5b2d){const _0x4561b8=_0x2d2308;var _0x4eec4a,_0x27621a,_0x4e4f10,_0x272c04,_0x39a07c,_0x741c8b;this[_0x4561b8(0x2dc)]=(_0x4eec4a=_0x4c5b2d[_0x4561b8(0x208)])!=null?_0x4eec4a:this[_0x4561b8(0x2dc)],this['_hovered']=(_0x27621a=_0x4c5b2d['hovered'])!=null?_0x27621a:this[_0x4561b8(0x3f6)],this[_0x4561b8(0x54d)]=(_0x4e4f10=_0x4c5b2d[_0x4561b8(0x172)])!=null?_0x4e4f10:this['_range'],this[_0x4561b8(0x14e)]=(_0x272c04=_0x4c5b2d[_0x4561b8(0x2e3)])!=null?_0x272c04:this['_name'],this[_0x4561b8(0x371)]=(_0x39a07c=_0x4c5b2d[_0x4561b8(0x198)])!=null?_0x39a07c:this[_0x4561b8(0x371)],this[_0x4561b8(0x168)]=(_0x741c8b=_0x4c5b2d['backgroundColor'])!=null?_0x741c8b:this[_0x4561b8(0x168)],this[_0x4561b8(0x18f)]({'width':_0x4c5b2d[_0x4561b8(0x439)],'height':_0x4c5b2d[_0x4561b8(0x38b)]});}[_0x2d2308(0x161)](_0xe5067b){const _0x157ea3=_0x2d2308,{row:_0x273f7f,column:_0x48f565}=_0xe5067b;if(_0x273f7f>=this['_range']['startRow']&&_0x273f7f<=this['_range']['endRow']&&_0x48f565>=this[_0x157ea3(0x54d)][_0x157ea3(0x44a)]&&_0x48f565<=this['_range']['endColumn']){this[_0x157ea3(0x241)]({'hovered':!0x0});return;}this[_0x157ea3(0x241)]({'hovered':!0x1});}[_0x2d2308(0x1ce)](_0x4e2c82){return!0x1;}[_0x2d2308(0x296)](_0x15a32a){const _0x25f9e4=_0x2d2308;_0x47232b[_0x25f9e4(0x1e6)][_0x25f9e4(0x4d8)](_0x15a32a,{'width':this[_0x25f9e4(0x439)],'height':this[_0x25f9e4(0x38b)],'strokeWidth':_0x2d7c88,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x25f9e4(0x3f6)]&&(_0x15a32a[_0x25f9e4(0x435)](),_0x15a32a[_0x25f9e4(0x4bc)](0x1,0x0,0x0,0x1,this[_0x25f9e4(0x439)],this[_0x25f9e4(0x371)]===_0x25f9e4(0x31d)?0x0:-_0x196038),_0x2545cb[_0x25f9e4(0x4d8)](_0x15a32a,{'text':this[_0x25f9e4(0x14e)],'color':this[_0x25f9e4(0x2dc)]}),_0x15a32a[_0x25f9e4(0x47a)]());}}var _0x3a7446=Object[_0x2d2308(0x210)],_0x4bc42d=Object[_0x2d2308(0x475)],_0x3c82c5=(_0x1ef5ac,_0x45f6a6,_0x1bdf2b,_0x540af8)=>{const _0x3115e1=_0x2d2308;for(var _0x4f9dd8=_0x540af8>0x1?void 0x0:_0x540af8?_0x4bc42d(_0x45f6a6,_0x1bdf2b):_0x45f6a6,_0x3a68fb=_0x1ef5ac[_0x3115e1(0x1e3)]-0x1,_0x5198b6;_0x3a68fb>=0x0;_0x3a68fb--)(_0x5198b6=_0x1ef5ac[_0x3a68fb])&&(_0x4f9dd8=(_0x540af8?_0x5198b6(_0x45f6a6,_0x1bdf2b,_0x4f9dd8):_0x5198b6(_0x4f9dd8))||_0x4f9dd8);return _0x540af8&&_0x4f9dd8&&_0x3a7446(_0x45f6a6,_0x1bdf2b,_0x4f9dd8),_0x4f9dd8;},_0x43abdb=(_0x1ea8b1,_0xe68afa)=>(_0x35b413,_0x3c1158)=>_0xe68afa(_0x35b413,_0x3c1158,_0x1ea8b1);const _0x42c218=0x1389;let _0x3cbad9=class extends _0x511a8d[_0x2d2308(0x53d)]{constructor(_0x170757,_0x39bd21,_0x8efe83,_0x1cc8cb){const _0x46f485=_0x2d2308;super(),_0x3d9158(this,_0x46f485(0x490),new Set()),_0x3d9158(this,'_lastPointer',null),(this[_0x46f485(0x289)]=_0x170757,this[_0x46f485(0x2e4)]=_0x39bd21,this['_collabCursorController']=_0x8efe83,this['_themeService']=_0x1cc8cb,this[_0x46f485(0x3e6)]());}['_init'](){const _0x2110d8=_0x2d2308;this[_0x2110d8(0x2e4)]['currentSkeleton$'][_0x2110d8(0x47e)](_0x5e0e9a['takeUntil'](this[_0x2110d8(0x3af)]),_0x5e0e9a[_0x2110d8(0x138)](_0x2fa758=>{const _0x294ce5=_0x2110d8;if(_0x2fa758){const _0x31d207=_0x2fa758[_0x294ce5(0x413)];return _0x1fcaf6[_0x294ce5(0x4cf)](this[_0x294ce5(0x2ef)][_0x294ce5(0x22b)](this[_0x294ce5(0x289)][_0x294ce5(0x4bf)]),this[_0x294ce5(0x1d0)][_0x294ce5(0x472)])[_0x294ce5(0x47e)](_0x5e0e9a['map'](([_0x2c5898,_0x1a7cbe])=>{const _0x5541ad=_0x294ce5,_0x49ee2a=new Map();return _0x2c5898[_0x5541ad(0x20c)]((_0x21432e,_0x37c9a1)=>{const _0x156250=_0x5541ad;if(_0x21432e[_0x156250(0x21f)]===_0x31d207){const _0x5443e7={..._0x21432e};_0x5443e7['color']=_0x1a7cbe[_0x21432e[_0x156250(0x208)]],_0x49ee2a[_0x156250(0x445)](_0x37c9a1,_0x5443e7);}}),{'skeleton':_0x2fa758,'cursors':_0x49ee2a};}));}return _0x1fcaf6['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x45df7c,cursors:_0xfb5fef})=>{const _0x7bf1ed=_0x2110d8;this[_0x7bf1ed(0x1f2)](),_0x45df7c&&this['_updateCollabCursors'](_0x45df7c,_0xfb5fef);}),this[_0x2110d8(0x2e4)][_0x2110d8(0x143)][_0x2110d8(0x2a1)](_0xa180db=>{const _0x3717ee=_0x2110d8;if(_0xa180db==null)return;const {skeleton:_0x2030d2}=_0xa180db,{scene:_0x52dde2}=this['_context'];_0x52dde2[_0x3717ee(0x2d4)][_0x3717ee(0x1ef)](_0x511a8d[_0x3717ee(0x53f)](_0x25d83e=>{const _0x35ed53=_0x3717ee;var _0x3763d2,_0x3d83ad;const {offsetX:_0x38296a,offsetY:_0x4df0e8}=_0x25d83e,{x:_0x5e2bc3,y:_0x2b7193}=_0x52dde2[_0x35ed53(0x293)](_0x47232b[_0x35ed53(0x140)][_0x35ed53(0x170)]([_0x38296a,_0x4df0e8])),{scaleX:_0x507f79,scaleY:_0x1a810f}=_0x52dde2['getAncestorScale'](),_0x1a8c3d=_0x52dde2[_0x35ed53(0x373)](_0x3beb13[_0x35ed53(0x135)][_0x35ed53(0x55f)]),_0x4e17e2=_0x52dde2[_0x35ed53(0x477)](_0x47232b[_0x35ed53(0x140)][_0x35ed53(0x170)]([_0x5e2bc3,_0x2b7193]),_0x1a8c3d),_0x53ac69=_0x2030d2['getCellPositionByOffset'](_0x38296a,_0x4df0e8,_0x507f79,_0x1a810f,_0x4e17e2);((_0x3763d2=this['_lastPointer'])==null?void 0x0:_0x3763d2[_0x35ed53(0x2c0)])===_0x53ac69[_0x35ed53(0x2c0)]&&((_0x3d83ad=this['_lastPointer'])==null?void 0x0:_0x3d83ad['row'])===_0x53ac69[_0x35ed53(0x15d)]||this[_0x35ed53(0x490)]['forEach'](_0x3f9c1c=>{_0x3f9c1c['onMouseMove'](_0x53ac69);});},0x64));});}[_0x2d2308(0x15e)](_0x2a518d,_0x422ad4){const _0x314906=_0x2d2308;var _0x51153b;const _0x18f929=(_0x51153b=this[_0x314906(0x2e4)][_0x314906(0x27f)]())==null?void 0x0:_0x51153b[_0x314906(0x31a)];if(!_0x18f929)return;const _0x4c7427=this[_0x314906(0x55c)]();if(!_0x4c7427)return;this[_0x314906(0x490)][_0x314906(0x20c)](_0xd873b6=>{_0xd873b6['makeDirty']();});const {scene:_0x16e8c5}=_0x4c7427,_0x4279f7=_0x2074fb(Array['from'](_0x422ad4[_0x314906(0x220)]()))[_0x314906(0x4fc)](_0x11e169=>{const _0x3ea4c5=_0x314906,{color:_0x3dc05e,range:_0x3381e2,name:_0x1afc3a,selection:_0x179411,sheetID:_0x3a552c}=_0x11e169,{startColumn:_0x4eb27b,startRow:_0x36f1b3,endColumn:_0x306bc6,endRow:_0x4b109c}=_0x3381e2,_0x5a04cf=_0x3beb13[_0x3ea4c5(0x2a0)](_0x36f1b3,_0x4eb27b,_0x16e8c5,_0x18f929),_0x594c02=_0x3beb13[_0x3ea4c5(0x2a0)](_0x4b109c,_0x306bc6,_0x16e8c5,_0x18f929),{columnHeaderHeightAndMarginTop:_0x30113e}=_0x18f929,{startX:_0x15395a,startY:_0x11305b}=_0x5a04cf,{endX:_0x38e7b4,endY:_0x3ddc1d}=_0x594c02,_0x70848f=_0x38e7b4-_0x15395a,_0x1e5adf=_0x3ddc1d-_0x11305b,_0x188410={'labelPosition':_0x11305b-_0x30113e>=_0x196038?_0x3ea4c5(0x36e):'bottom','sheetID':_0x3a552c,'range':_0x3381e2,'color':_0x3dc05e,'name':_0x1afc3a,'selection':_0x179411,'left':_0x15395a,'top':_0x11305b,'width':_0x70848f,'height':_0x1e5adf,'evented':!0x1,'zIndex':_0x42c218};return new _0x2263ad(_0x1afc3a,_0x188410);});_0x16e8c5['addObjects'](_0x4279f7,_0x45cdab),this[_0x314906(0x490)]=new Set(_0x4279f7);}[_0x2d2308(0x1f2)](){const _0x4418b2=_0x2d2308;var _0x46c818;(_0x46c818=this['_cursors'])==null||_0x46c818['forEach'](_0x3982be=>_0x3982be[_0x4418b2(0x2fb)]());}[_0x2d2308(0x55c)](){const _0x4f0aec=_0x2d2308;return _0x3beb13[_0x4f0aec(0x534)](this[_0x4f0aec(0x289)][_0x4f0aec(0x3e3)],this[_0x4f0aec(0x289)]);}};_0x3cbad9=_0x3c82c5([_0x43abdb(0x1,_0x511a8d['Inject'](_0x3beb13[_0x2d2308(0x2b1)])),_0x43abdb(0x2,_0x511a8d[_0x2d2308(0x4dc)](_0x49b326)),_0x43abdb(0x3,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d['ThemeService']))],_0x3cbad9);function _0x2074fb(_0x291170){const _0x5ca513=_0x2d2308,_0x3cc3ce=new Map();return _0x291170[_0x5ca513(0x20c)](_0x14418d=>{const _0x501042=_0x5ca513;if(_0x3cc3ce[_0x501042(0x1e0)](_0x14418d[_0x501042(0x1b1)])){const _0x1e3ad2=_0x3cc3ce['get'](_0x14418d['selection']);_0x1e3ad2[_0x501042(0x2e3)]+=',\x20'+_0x14418d[_0x501042(0x2e3)];}else _0x3cc3ce[_0x501042(0x445)](_0x14418d[_0x501042(0x1b1)],_0x14418d);}),Array[_0x5ca513(0x52f)](_0x3cc3ce[_0x5ca513(0x220)]());}var _0x5dcc70=function(){return _0x5dcc70=Object['assign']||function(_0x79acc0){const _0x3481a2=_0x3ba2;for(var _0x205b4e,_0x315f66=0x1,_0xdf60ee=arguments['length'];_0x315f66<_0xdf60ee;_0x315f66++){_0x205b4e=arguments[_0x315f66];for(var _0x42582a in _0x205b4e)Object[_0x3481a2(0x525)][_0x3481a2(0x216)][_0x3481a2(0x2a9)](_0x205b4e,_0x42582a)&&(_0x79acc0[_0x42582a]=_0x205b4e[_0x42582a]);}return _0x79acc0;},_0x5dcc70['apply'](this,arguments);},_0x105884=function(_0x5580f6,_0x20e52c){const _0x1ea473=_0x2d2308;var _0x3fa20d={};for(var _0x266cb3 in _0x5580f6)Object['prototype'][_0x1ea473(0x216)][_0x1ea473(0x2a9)](_0x5580f6,_0x266cb3)&&_0x20e52c[_0x1ea473(0x3db)](_0x266cb3)<0x0&&(_0x3fa20d[_0x266cb3]=_0x5580f6[_0x266cb3]);if(_0x5580f6!=null&&typeof Object[_0x1ea473(0x49a)]==_0x1ea473(0x2d2)){for(var _0x4c94d0=0x0,_0x266cb3=Object[_0x1ea473(0x49a)](_0x5580f6);_0x4c94d0<_0x266cb3[_0x1ea473(0x1e3)];_0x4c94d0++)_0x20e52c[_0x1ea473(0x3db)](_0x266cb3[_0x4c94d0])<0x0&&Object['prototype'][_0x1ea473(0x356)][_0x1ea473(0x2a9)](_0x5580f6,_0x266cb3[_0x4c94d0])&&(_0x3fa20d[_0x266cb3[_0x4c94d0]]=_0x5580f6[_0x266cb3[_0x4c94d0]]);}return _0x3fa20d;},_0x452006=_0x3eadf5['forwardRef'](function(_0x5da351,_0x2abb72){const _0x3695e2=_0x2d2308;var _0x2a7d62=_0x5da351[_0x3695e2(0x20f)],_0x2d0d3f=_0x5da351['id'],_0x3c5b55=_0x5da351[_0x3695e2(0x416)],_0x5b395c=_0x5da351[_0x3695e2(0x263)],_0x41eb03=_0x105884(_0x5da351,[_0x3695e2(0x20f),'id',_0x3695e2(0x416),_0x3695e2(0x263)]),_0x2e0aee=_0x3695e2(0x465)['concat'](_0x2d0d3f,'\x20')[_0x3695e2(0x1b9)](_0x3c5b55||'')[_0x3695e2(0x165)](),_0x3da049=_0x3eadf5[_0x3695e2(0x3ef)]('_'[_0x3695e2(0x1b9)](_0x32a485()));return _0x3a3e09(_0x2a7d62,''[_0x3695e2(0x1b9)](_0x2d0d3f),{'defIds':_0x2a7d62[_0x3695e2(0x3f8)],'idSuffix':_0x3da049[_0x3695e2(0x4d0)]},_0x5dcc70({'ref':_0x2abb72,'className':_0x2e0aee},_0x41eb03),_0x5b395c);});function _0x3a3e09(_0xb6f9e,_0x5ce2f6,_0x2e61a3,_0x3f9e7e,_0x57d04b){const _0x3a7589=_0x2d2308;return _0x3eadf5[_0x3a7589(0x19f)](_0xb6f9e[_0x3a7589(0x533)],_0x5dcc70(_0x5dcc70({'key':_0x5ce2f6},_0x368e79(_0xb6f9e,_0x2e61a3,_0x57d04b)),_0x3f9e7e),(_0x5c9342(_0xb6f9e,_0x2e61a3)[_0x3a7589(0x28b)]||[])[_0x3a7589(0x4fc)](function(_0x194fac,_0x5107f0){const _0x842b3b=_0x3a7589;return _0x3a3e09(_0x194fac,''[_0x842b3b(0x1b9)](_0x5ce2f6,'-')[_0x842b3b(0x1b9)](_0xb6f9e[_0x842b3b(0x533)],'-')[_0x842b3b(0x1b9)](_0x5107f0),_0x2e61a3,void 0x0,_0x57d04b);}));}function _0x368e79(_0x570ae0,_0x34bbb2,_0x427641){const _0x2b90f9=_0x2d2308;var _0x4619ea=_0x5dcc70({},_0x570ae0[_0x2b90f9(0x553)]);_0x427641!=null&&_0x427641[_0x2b90f9(0x40a)]&&_0x4619ea[_0x2b90f9(0x34b)]===_0x2b90f9(0x40a)&&(_0x4619ea['fill']=_0x427641[_0x2b90f9(0x40a)]);var _0x4732f6=_0x34bbb2[_0x2b90f9(0x3f8)];return!_0x4732f6||_0x4732f6[_0x2b90f9(0x1e3)]===0x0||(_0x570ae0[_0x2b90f9(0x533)]===_0x2b90f9(0x4c2)&&_0x4619ea[_0x2b90f9(0x3a6)]&&(_0x4619ea[_0x2b90f9(0x3a6)]=_0x4619ea[_0x2b90f9(0x3a6)]+_0x34bbb2[_0x2b90f9(0x548)]),Object[_0x2b90f9(0x28a)](_0x4619ea)[_0x2b90f9(0x20c)](function(_0x205d56){const _0x8fd0b0=_0x2b90f9;var _0x4e3aa0=_0x205d56[0x0],_0x8eacbf=_0x205d56[0x1];typeof _0x8eacbf==_0x8fd0b0(0x29f)&&(_0x4619ea[_0x4e3aa0]=_0x8eacbf[_0x8fd0b0(0x456)](/url\(#(.*)\)/,_0x8fd0b0(0x420)[_0x8fd0b0(0x1b9)](_0x34bbb2[_0x8fd0b0(0x548)],')')));})),_0x4619ea;}function _0x5c9342(_0x2e0521,_0x96f77d){const _0x243b61=_0x2d2308;var _0x3e0fac,_0xe2709b=_0x96f77d[_0x243b61(0x3f8)];return!_0xe2709b||_0xe2709b[_0x243b61(0x1e3)]===0x0?_0x2e0521:_0x2e0521[_0x243b61(0x533)]==='defs'&&(!((_0x3e0fac=_0x2e0521[_0x243b61(0x28b)])===null||_0x3e0fac===void 0x0)&&_0x3e0fac[_0x243b61(0x1e3)])?_0x5dcc70(_0x5dcc70({},_0x2e0521),{'children':_0x2e0521[_0x243b61(0x28b)][_0x243b61(0x4fc)](function(_0x18a35a){const _0xe67083=_0x243b61;return typeof _0x18a35a[_0xe67083(0x553)]['id']==_0xe67083(0x29f)&&_0xe2709b&&_0xe2709b[_0xe67083(0x3db)](_0x18a35a['attrs']['id'])>-0x1?_0x5dcc70(_0x5dcc70({},_0x18a35a),{'attrs':_0x5dcc70(_0x5dcc70({},_0x18a35a[_0xe67083(0x553)]),{'id':_0x18a35a[_0xe67083(0x553)]['id']+_0x96f77d[_0xe67083(0x548)]})}):_0x18a35a;})}):_0x2e0521;}function _0x32a485(){const _0xcf6427=_0x2d2308;return Math[_0xcf6427(0x3e7)]()[_0xcf6427(0x20d)](0x24)[_0xcf6427(0x34f)](0x2,0x8);}_0x452006[_0x2d2308(0x266)]=_0x2d2308(0x4d4);var _0x26272f={'tag':_0x2d2308(0x421),'attrs':{'fill':_0x2d2308(0x176),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x2d2308(0x191)},'children':[{'tag':'g','attrs':{'clipPath':_0x2d2308(0x3a1)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x2d2308(0x43a),'strokeLinecap':_0x2d2308(0x1c7),'strokeLinejoin':_0x2d2308(0x1c7),'strokeWidth':1.2}}]},{'tag':_0x2d2308(0x3b0),'attrs':{},'children':[{'tag':_0x2d2308(0x24a),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x2d2308(0x427),'d':_0x2d2308(0x221)}}]}]}],'defIds':[_0x2d2308(0x39c)]},_0x19eaa8=_0x3eadf5[_0x2d2308(0x45f)](function(_0x2b6b25,_0x33c341){const _0x1a46ce=_0x2d2308;return _0x3eadf5[_0x1a46ce(0x19f)](_0x452006,Object[_0x1a46ce(0x2e5)]({},_0x2b6b25,{'id':_0x1a46ce(0x504),'ref':_0x33c341,'icon':_0x26272f}));});_0x19eaa8[_0x2d2308(0x266)]='OffLineSingle';var _0x236b57={'tag':_0x2d2308(0x421),'attrs':{'fill':_0x2d2308(0x176),'viewBox':_0x2d2308(0x543),'width':_0x2d2308(0x191),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2d2308(0x1d3)},'children':[{'tag':_0x2d2308(0x331),'attrs':{'stroke':_0x2d2308(0x1d6),'d':_0x2d2308(0x436),'strokeLinecap':_0x2d2308(0x1c7),'strokeLinejoin':_0x2d2308(0x1c7),'strokeWidth':1.2}}]},{'tag':_0x2d2308(0x3b0),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x2d2308(0x331),'attrs':{'fill':'#fff','d':_0x2d2308(0x221),'transform':_0x2d2308(0x181)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x353867=_0x3eadf5[_0x2d2308(0x45f)](function(_0x527833,_0x1067bd){const _0x38f534=_0x2d2308;return _0x3eadf5[_0x38f534(0x19f)](_0x452006,Object[_0x38f534(0x2e5)]({},_0x527833,{'id':_0x38f534(0x470),'ref':_0x1067bd,'icon':_0x236b57}));});_0x353867[_0x2d2308(0x266)]=_0x2d2308(0x43f);function _0x103bcd(_0x5d78e3){const _0x9c6f34=_0x2d2308;var _0x9cdf54,_0x916beb,_0x540dc0='';if(typeof _0x5d78e3==_0x9c6f34(0x29f)||typeof _0x5d78e3==_0x9c6f34(0x303))_0x540dc0+=_0x5d78e3;else{if(typeof _0x5d78e3==_0x9c6f34(0x452)){if(Array['isArray'](_0x5d78e3)){var _0x21254b=_0x5d78e3[_0x9c6f34(0x1e3)];for(_0x9cdf54=0x0;_0x9cdf54<_0x21254b;_0x9cdf54++)_0x5d78e3[_0x9cdf54]&&(_0x916beb=_0x103bcd(_0x5d78e3[_0x9cdf54]))&&(_0x540dc0&&(_0x540dc0+='\x20'),_0x540dc0+=_0x916beb);}else{for(_0x916beb in _0x5d78e3)_0x5d78e3[_0x916beb]&&(_0x540dc0&&(_0x540dc0+='\x20'),_0x540dc0+=_0x916beb);}}}return _0x540dc0;}function _0x53a47e(){const _0x4ce360=_0x2d2308;for(var _0x44e255,_0x2282e7,_0x449a2b=0x0,_0x5efbf6='',_0x9e9b7=arguments[_0x4ce360(0x1e3)];_0x449a2b<_0x9e9b7;_0x449a2b++)(_0x44e255=arguments[_0x449a2b])&&(_0x2282e7=_0x103bcd(_0x44e255))&&(_0x5efbf6&&(_0x5efbf6+='\x20'),_0x5efbf6+=_0x2282e7);return _0x5efbf6;}const _0x239669={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x2d2308(0x205),'onlineStatus':'univer-online-status','online':_0x2d2308(0x4d2),'offline':'univer-offline'};function _0x5e7a02(_0x1956d6){const _0x5193d5=_0x2d2308;switch(_0x1956d6){case _0x437a54[_0x5193d5(0x264)]:return _0x5193d5(0x3e8);case _0x437a54[_0x5193d5(0x262)]:return _0x5193d5(0x144);case _0x437a54[_0x5193d5(0x402)]:return _0x5193d5(0x158);case _0x437a54['NOT_COLLAB']:return _0x5193d5(0x39b);case _0x437a54[_0x5193d5(0x4cc)]:case _0x437a54[_0x5193d5(0x40e)]:case _0x437a54[_0x5193d5(0x306)]:return _0x5193d5(0x3d7);case _0x437a54[_0x5193d5(0x388)]:return _0x5193d5(0x139);}}function _0x572c1f(_0x12ea17){const _0x406f88=_0x2d2308,{status$:_0x3073b5}=_0x12ea17,_0x1c1d23=_0x2fad45[_0x406f88(0x257)](_0x3073b5,_0x437a54['NOT_COLLAB']),_0xfca4b4=_0x511a8d[_0x406f88(0x215)](_0x511a8d[_0x406f88(0x390)]),_0x257eb2=_0x511a8d[_0x406f88(0x215)](_0x5c4621['CollaborationSessionService']),_0x1b1938=_0x1c1d23!==_0x437a54['OFFLINE'],_0x177509=_0xfca4b4['t'](_0x5e7a02(_0x1c1d23)),_0x3953f6=_0x53a47e(_0x239669['onlineStatus'],{[_0x239669[_0x406f88(0x219)]]:_0x1b1938,[_0x239669[_0x406f88(0x1c9)]]:!_0x1b1938}),_0x5a64de=_0x1b1938?_0x3eadf5['createElement'](_0x353867,null):_0x3eadf5[_0x406f88(0x19f)](_0x19eaa8,null),_0x42325c=_0x3eadf5[_0x406f88(0x1e5)](()=>{const _0xdc42e0=_0x406f88;_0x1b1938||_0x257eb2[_0xdc42e0(0x1dc)]();},[_0x1b1938,_0x257eb2]);function _0x3d5412(){const _0x4aa5d9=_0x406f88;return _0x3eadf5[_0x4aa5d9(0x19f)](_0x4aa5d9(0x34c),{'className':_0x3953f6,'onClick':_0x42325c},_0x3eadf5['createElement'](_0x4aa5d9(0x34c),{'className':_0x239669[_0x4aa5d9(0x1a4)]},_0x5a64de),_0x3eadf5['createElement']('div',{'className':_0x239669['onlineStatusTitle']},_0x177509));}return _0x1b1938?_0x3d5412():_0x3eadf5['createElement'](_0x278c7c['Tooltip'],{'title':_0xfca4b4['t'](_0x406f88(0x518))},_0x3d5412());}var _0x57c9a0=Object[_0x2d2308(0x210)],_0x353e8e=Object[_0x2d2308(0x475)],_0x549649=(_0x260198,_0x33e95b,_0x38ea56,_0x4638ce)=>{for(var _0x52d0f3=_0x4638ce>0x1?void 0x0:_0x4638ce?_0x353e8e(_0x33e95b,_0x38ea56):_0x33e95b,_0x38ed50=_0x260198['length']-0x1,_0x4305e3;_0x38ed50>=0x0;_0x38ed50--)(_0x4305e3=_0x260198[_0x38ed50])&&(_0x52d0f3=(_0x4638ce?_0x4305e3(_0x33e95b,_0x38ea56,_0x52d0f3):_0x4305e3(_0x52d0f3))||_0x52d0f3);return _0x4638ce&&_0x52d0f3&&_0x57c9a0(_0x33e95b,_0x38ea56,_0x52d0f3),_0x52d0f3;},_0x51a6c4=(_0x74a8ff,_0x187936)=>(_0x2fb0d4,_0x16a948)=>_0x187936(_0x2fb0d4,_0x16a948,_0x74a8ff);_0x5c4621['DesktopCollaborationStatusDisplayController']=class extends _0x511a8d[_0x2d2308(0x3d6)]{constructor(_0x2cd438,_0x266cc5,_0x2cd0c6,_0x5ee310){const _0x49eb5a=_0x2d2308;super(),_0x3d9158(this,_0x49eb5a(0x311),new _0x1fcaf6['BehaviorSubject'](_0x437a54[_0x49eb5a(0x3f4)])),(this[_0x49eb5a(0x245)]=_0x2cd438,this[_0x49eb5a(0x4fd)]=_0x266cc5,this[_0x49eb5a(0x510)]=_0x2cd0c6,this[_0x49eb5a(0x2df)]=_0x5ee310,this['_initStatusComponent'](),this[_0x49eb5a(0x1ca)]());}['_initStatusListener'](){const _0x169716=_0x2d2308;this['disposeWithMe'](this[_0x169716(0x245)][_0x169716(0x3eb)]['pipe'](_0x1fcaf6[_0x169716(0x138)](()=>{const _0x4441a1=_0x169716,_0x1ce9ad=this[_0x4441a1(0x245)]['getFocusedUnit']();return _0x1ce9ad?this[_0x4441a1(0x2df)]['getCollabEntity$'](_0x1ce9ad[_0x4441a1(0x28d)]()):_0x1fcaf6['of'](null);}),_0x1fcaf6['switchMap'](_0x464803=>_0x464803?_0x464803[_0x169716(0x223)]:_0x1fcaf6['of'](_0x437a54[_0x169716(0x3f4)])))['subscribe'](_0xcee990=>{const _0x3b39f1=_0x169716;this[_0x3b39f1(0x311)][_0x3b39f1(0x535)](_0xcee990);}));}[_0x2d2308(0x494)](){const _0x2b320b=_0x2d2308;this[_0x2b320b(0x2c8)](this[_0x2b320b(0x4fd)][_0x2b320b(0x488)](_0x2fad45[_0x2b320b(0x259)][_0x2b320b(0x4e5)],()=>_0x511a8d[_0x2b320b(0x273)](_0x21e881({'status$':this['_status$']['asObservable']()}),this[_0x2b320b(0x510)])));}},_0x5c4621[_0x2d2308(0x455)]=_0x549649([_0x51a6c4(0x0,_0x511a8d['IUniverInstanceService']),_0x51a6c4(0x1,_0x2fad45[_0x2d2308(0x4ab)]),_0x51a6c4(0x2,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x3b2)])),_0x51a6c4(0x3,_0x511a8d[_0x2d2308(0x4dc)](_0x5c4621[_0x2d2308(0x21b)]))],_0x5c4621['DesktopCollaborationStatusDisplayController']);function _0x21e881(_0x5a3572){const {status$:_0x4a827f}=_0x5a3572;return function(){return _0x3eadf5['createElement'](_0x572c1f,{'status$':_0x4a827f});};}const _0x42f2bb=_0x511a8d[_0x2d2308(0x4be)](_0x2d2308(0x47f));var _0x469143=Object['defineProperty'],_0x2f026f=Object[_0x2d2308(0x475)],_0x2f21f4=(_0x2daceb,_0xf9ba48,_0x444714,_0x4bd688)=>{const _0x99a4be=_0x2d2308;for(var _0x4b169f=_0x4bd688>0x1?void 0x0:_0x4bd688?_0x2f026f(_0xf9ba48,_0x444714):_0xf9ba48,_0x3d9c29=_0x2daceb[_0x99a4be(0x1e3)]-0x1,_0x356b0e;_0x3d9c29>=0x0;_0x3d9c29--)(_0x356b0e=_0x2daceb[_0x3d9c29])&&(_0x4b169f=(_0x4bd688?_0x356b0e(_0xf9ba48,_0x444714,_0x4b169f):_0x356b0e(_0x4b169f))||_0x4b169f);return _0x4bd688&&_0x4b169f&&_0x469143(_0xf9ba48,_0x444714,_0x4b169f),_0x4b169f;},_0x1b9eaa=(_0x2cd46a,_0x43ea02)=>(_0x479b66,_0x3e8582)=>_0x43ea02(_0x479b66,_0x3e8582,_0x2cd46a);_0x5c4621[_0x2d2308(0x280)]=class extends _0x511a8d[_0x2d2308(0x53d)]{constructor(_0x51333c,_0x286ed3,_0x186c30,_0x438535,_0x2f52d2,_0x1ee185){const _0x2c7792=_0x2d2308;super(),this[_0x2c7792(0x25f)]=_0x51333c,this[_0x2c7792(0x54c)]=_0x286ed3,this['_commandService']=_0x186c30,this[_0x2c7792(0x354)]=_0x438535,this[_0x2c7792(0x2ec)]=_0x2f52d2,_0x1ee185?_0x1ee185==null||_0x1ee185[_0x2c7792(0x32e)]()[_0x2c7792(0x14f)](()=>this[_0x2c7792(0x3e6)]()):(this[_0x2c7792(0x54c)][_0x2c7792(0x3f5)]('[DataLoaderController]',_0x2c7792(0x481)),this[_0x2c7792(0x3e6)]());}async[_0x2d2308(0x3e6)](){const _0x2b401b=_0x2d2308,_0x36b4c2=this[_0x2b401b(0x25f)][_0x2b401b(0x128)]('unit'),_0x5cab3c=this[_0x2b401b(0x25f)]['getParam'](_0x2b401b(0x4bb));if(!_0x36b4c2||!_0x5cab3c){this[_0x2b401b(0x54c)][_0x2b401b(0x3f5)](_0x2b401b(0x508),_0x2b401b(0x2b9));return;}switch(Number(_0x5cab3c)){case _0x469253[_0x2b401b(0x1b5)]:{const _0x4d819b=await this['_loadSheet'](_0x36b4c2);this[_0x2b401b(0x36c)](_0x4d819b);break;}case _0x469253['UNIVER_DOC']:{await this[_0x2b401b(0x19b)](_0x36b4c2);break;}default:{this['_logService'][_0x2b401b(0x269)](_0x2b401b(0x508),'Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}}async['_setupSubUnitSync'](_0xf8ff98){const _0x26ad79=_0x2d2308;await this['_updateSubUnitFromURLParams'](_0xf8ff98),_0xf8ff98[_0x26ad79(0x556)][_0x26ad79(0x47e)](_0x1fcaf6['takeUntil'](this[_0x26ad79(0x3af)]))['subscribe'](_0x5c3b32=>{_0x5c3b32&&this['_updateURLWithCurrentState'](_0x5c3b32);}),this['_urlService'][_0x26ad79(0x196)]['pipe'](_0x1fcaf6['takeUntil'](this[_0x26ad79(0x3af)]))[_0x26ad79(0x2a1)](()=>this['_updateSubUnitFromURLParams'](_0xf8ff98));}[_0x2d2308(0x27b)](_0x4f048c,_0x2ce6d0=!0x1){const _0x41c81e=_0x2d2308,_0x309206=this[_0x41c81e(0x25f)]['getParam'](_0x41c81e(0x1d2));_0x4f048c[_0x41c81e(0x3df)]()!==_0x309206&&this[_0x41c81e(0x25f)][_0x41c81e(0x233)](_0x41c81e(0x1d2),_0x4f048c[_0x41c81e(0x3df)](),_0x2ce6d0);}async['_updateSubUnitFromURLParams'](_0x2f5125){const _0x280cf6=_0x2d2308;var _0x23f4f9;const _0x3ebad0=this['_urlService'][_0x280cf6(0x128)](_0x280cf6(0x1d2));if(!_0x3ebad0||!_0x2f5125[_0x280cf6(0x30b)](_0x3ebad0)){const _0x22a52a=_0x2f5125[_0x280cf6(0x3a7)]()[0x0],_0x393fd4=_0x2f5125[_0x280cf6(0x30b)](_0x22a52a);if(!_0x393fd4)return;this['_updateURLWithCurrentState'](_0x393fd4,!0x0),await this['_commandService'][_0x280cf6(0x26a)](_0x11a28e['SetWorksheetActivateCommand']['id'],{'unitId':_0x2f5125['getUnitId'](),'subUnitId':_0x22a52a});return;}((_0x23f4f9=_0x2f5125[_0x280cf6(0x317)]())==null?void 0x0:_0x23f4f9[_0x280cf6(0x3df)]())!==_0x3ebad0&&await this[_0x280cf6(0x4c3)][_0x280cf6(0x26a)](_0x11a28e[_0x280cf6(0x36f)]['id'],{'unitId':_0x2f5125[_0x280cf6(0x28d)](),'subUnitId':_0x3ebad0});}async['_loadSheet'](_0x19a21a){const _0x3f48d3=_0x2d2308;let _0x42c7c9=0x0;const _0x45f829=await this['_localCacheService'][_0x3f48d3(0x152)](_0x19a21a);return _0x45f829&&(_0x45f829['awaitingChangeset']||_0x45f829['mutations'][_0x3f48d3(0x1e3)]!==0x0)&&(_0x42c7c9=_0x45f829[_0x3f48d3(0x22f)]),_0x42c7c9===0x0&&this[_0x3f48d3(0x54c)]['debug'](_0x3f48d3(0x508),_0x3f48d3(0x36b)),this[_0x3f48d3(0x2ec)]['loadSheet'](_0x19a21a,_0x42c7c9);}async[_0x2d2308(0x19b)](_0x38c806){const _0x3808de=_0x2d2308;let _0x1098b3=0x0;const _0x2f0327=await this['_localCacheService'][_0x3808de(0x152)](_0x38c806);return _0x2f0327&&(_0x2f0327['awaitingChangeset']||_0x2f0327[_0x3808de(0x1ae)]['length']!==0x0)&&(_0x1098b3=_0x2f0327[_0x3808de(0x22f)]),_0x1098b3===0x0&&this['_logService'][_0x3808de(0x3f5)](_0x3808de(0x508),_0x3808de(0x36b)),this[_0x3808de(0x2ec)][_0x3808de(0x3e2)](_0x38c806,_0x1098b3);}},_0x5c4621[_0x2d2308(0x280)]=_0x2f21f4([_0x1b9eaa(0x0,_0x42f2bb),_0x1b9eaa(0x1,_0x511a8d[_0x2d2308(0x446)]),_0x1b9eaa(0x2,_0x511a8d['ICommandService']),_0x1b9eaa(0x3,_0x511a8d[_0x2d2308(0x4dc)](_0x5c4621[_0x2d2308(0x23d)])),_0x1b9eaa(0x4,_0x511a8d[_0x2d2308(0x4dc)](_0xa51b04[_0x2d2308(0x44b)])),_0x1b9eaa(0x5,_0x511a8d[_0x2d2308(0x2bb)](_0x412353[_0x2d2308(0x48c)]))],_0x5c4621[_0x2d2308(0x280)]);var _0x2ec7c6=Object[_0x2d2308(0x210)],_0xd46654=Object[_0x2d2308(0x475)],_0x453634=(_0x17c9e7,_0x360d35,_0x2158bc,_0x1a84f0)=>{for(var _0x16606b=_0x1a84f0>0x1?void 0x0:_0x1a84f0?_0xd46654(_0x360d35,_0x2158bc):_0x360d35,_0x1d0fb6=_0x17c9e7['length']-0x1,_0x55041d;_0x1d0fb6>=0x0;_0x1d0fb6--)(_0x55041d=_0x17c9e7[_0x1d0fb6])&&(_0x16606b=(_0x1a84f0?_0x55041d(_0x360d35,_0x2158bc,_0x16606b):_0x55041d(_0x16606b))||_0x16606b);return _0x1a84f0&&_0x16606b&&_0x2ec7c6(_0x360d35,_0x2158bc,_0x16606b),_0x16606b;},_0x26f164=(_0x2bcb50,_0x1f95c7)=>(_0x4f8e6f,_0x57a8db)=>_0x1f95c7(_0x4f8e6f,_0x57a8db,_0x2bcb50);const _0x5148c9=_0x2d2308(0x324),_0x304679=_0x2d2308(0x212);let _0x514412=class extends _0x511a8d[_0x2d2308(0x3d6)]{constructor(_0x487ef5,_0x12d285){const _0x1aafca=_0x2d2308;super(),this[_0x1aafca(0x245)]=_0x487ef5,this[_0x1aafca(0x366)]=_0x12d285,this['_init']();}[_0x2d2308(0x3e6)](){const _0x59a40a=_0x2d2308;this[_0x59a40a(0x2c8)](this[_0x59a40a(0x245)][_0x59a40a(0x3eb)][_0x59a40a(0x2a1)](()=>{const _0x380860=_0x59a40a;var _0x522918;const _0x508bd3=this[_0x380860(0x245)]['getFocusedUnit']();let _0x244ef6=(_0x522918=this[_0x380860(0x366)]['getConfig'](_0x5148c9))!=null?_0x522918:_0x304679;_0x508bd3 instanceof _0x511a8d[_0x380860(0x497)]&&(_0x244ef6=_0x508bd3[_0x380860(0x2e3)]),document[_0x380860(0x187)]=_0x244ef6;}));}};_0x514412=_0x453634([_0x26f164(0x0,_0x511a8d[_0x2d2308(0x3ed)]),_0x26f164(0x1,_0x511a8d[_0x2d2308(0x202)])],_0x514412);var _0x5301dd=Object['defineProperty'],_0x5e4cf9=Object[_0x2d2308(0x475)],_0x35827c=(_0x431dc4,_0x10201d,_0x3c1c4c,_0x1df7c3)=>{const _0x3c88f7=_0x2d2308;for(var _0x42239e=_0x1df7c3>0x1?void 0x0:_0x1df7c3?_0x5e4cf9(_0x10201d,_0x3c1c4c):_0x10201d,_0x415d1a=_0x431dc4[_0x3c88f7(0x1e3)]-0x1,_0x366c34;_0x415d1a>=0x0;_0x415d1a--)(_0x366c34=_0x431dc4[_0x415d1a])&&(_0x42239e=(_0x1df7c3?_0x366c34(_0x10201d,_0x3c1c4c,_0x42239e):_0x366c34(_0x42239e))||_0x42239e);return _0x1df7c3&&_0x42239e&&_0x5301dd(_0x10201d,_0x3c1c4c,_0x42239e),_0x42239e;},_0x48b0c2=(_0x211175,_0x40fa51)=>(_0x5955f1,_0x169afc)=>_0x40fa51(_0x5955f1,_0x169afc,_0x211175);let _0x2aa182=class{constructor(_0x497495,_0x43c60c,_0x40e57e){const _0x139328=_0x2d2308;this[_0x139328(0x366)]=_0x497495,this[_0x139328(0x201)]=_0x43c60c,this[_0x139328(0x1b6)]=_0x40e57e,this['init']();}[_0x2d2308(0x41e)](){const _0x2b1c50=_0x2d2308;this[_0x2b1c50(0x201)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x3920be,_0x56cf38)=>_0x56cf38(_0x3920be)[_0x2b1c50(0x47e)](_0x1fcaf6[_0x2b1c50(0x492)](async _0x406492=>{const _0x57823e=_0x2b1c50,_0x487f6f=_0x406492;if(_0x487f6f[_0x57823e(0x166)]===0x191&&window[_0x57823e(0x526)](this[_0x57823e(0x1b6)]['t'](_0x57823e(0x4f7)))){const _0x4131cc=window[_0x57823e(0x178)](window[_0x57823e(0x2ae)]['href']);window[_0x57823e(0x2ae)][_0x57823e(0x14a)]=this[_0x57823e(0x517)]()+_0x57823e(0x425)+_0x4131cc;}return _0x487f6f;}))});}['_getLoginPath'](){const _0x444c0c=_0x2d2308;var _0x594204,_0x24b3a3;const _0x22b416=this[_0x444c0c(0x366)][_0x444c0c(0x12f)](_0x2a4af3),_0x12d239=this[_0x444c0c(0x366)]['getConfig'](_0x29065d);return(_0x24b3a3=(_0x594204=_0x12d239==null?void 0x0:_0x12d239['loginUrlKey'])!=null?_0x594204:_0x22b416)!=null?_0x24b3a3:_0x245c8e;}};_0x2aa182=_0x35827c([_0x48b0c2(0x0,_0x511a8d[_0x2d2308(0x202)]),_0x48b0c2(0x1,_0x511a8d[_0x2d2308(0x4dc)](_0x1ebb7f[_0x2d2308(0x3c2)])),_0x48b0c2(0x2,_0x511a8d['Inject'](_0x511a8d[_0x2d2308(0x390)]))],_0x2aa182);var _0x97814=Object[_0x2d2308(0x210)],_0x469dd5=Object[_0x2d2308(0x475)],_0x1968b6=(_0x1710b8,_0x181878,_0x2853ec,_0x290edb)=>{const _0xa922fd=_0x2d2308;for(var _0x5808b4=_0x290edb>0x1?void 0x0:_0x290edb?_0x469dd5(_0x181878,_0x2853ec):_0x181878,_0x3a21de=_0x1710b8[_0xa922fd(0x1e3)]-0x1,_0x1acf9a;_0x3a21de>=0x0;_0x3a21de--)(_0x1acf9a=_0x1710b8[_0x3a21de])&&(_0x5808b4=(_0x290edb?_0x1acf9a(_0x181878,_0x2853ec,_0x5808b4):_0x1acf9a(_0x5808b4))||_0x5808b4);return _0x290edb&&_0x5808b4&&_0x97814(_0x181878,_0x2853ec,_0x5808b4),_0x5808b4;},_0x235d6f=(_0x5d3b23,_0x3ac755)=>(_0x48b8f1,_0x25a057)=>_0x3ac755(_0x48b8f1,_0x25a057,_0x5d3b23);const _0x50435e='AUTHZ_URL_KEY',_0x290448=_0x2d2308(0x1fc);_0x5c4621[_0x2d2308(0x179)]=class extends _0x511a8d['Disposable']{constructor(_0x284942,_0x486daf){const _0x570ed4=_0x2d2308;super(),this[_0x570ed4(0x428)]=_0x284942,this[_0x570ed4(0x366)]=_0x486daf,this[_0x570ed4(0x2d1)]();}['_initMergeInterceptor'](){const _0x1223b0=_0x2d2308,_0x4681c4=this;this['disposeWithMe'](this[_0x1223b0(0x428)][_0x1223b0(0x1cc)]({'priority':0x3e7,'interceptor':_0x1ebb7f[_0x1223b0(0x516)]({'isMatch'(_0x3eaef0){const _0x3ba710=_0x1223b0;var _0x255a5f;if(_0x3eaef0['method']==='POST'&&((_0x255a5f=_0x3eaef0[_0x3ba710(0x34e)])!=null&&_0x255a5f[_0x3ba710(0x4f8)])){const {objectID:_0x550f63,objectType:_0x25e585}=_0x3eaef0[_0x3ba710(0x34e)][_0x3ba710(0x4f8)]||{};if(!_0x550f63||_0x25e585===void 0x0)return!0x1;const _0xc2bf3=_0x4681c4[_0x3ba710(0x156)]()+'/'+_0x25e585+_0x3ba710(0x360)+_0x550f63+_0x3ba710(0x49b);if(_0x3eaef0['url']===_0xc2bf3)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x42ce3d){const _0x4bbebd=_0x1223b0;var _0x4c3a82;return(_0x4c3a82=_0x42ce3d[_0x4bbebd(0x34e)])==null?void 0x0:_0x4c3a82[_0x4bbebd(0x4f8)];},'mergeParamsToRequest'(_0x2f696b,_0x1d2121){const _0x46f4be=_0x1223b0,_0x1f64fe=_0x4681c4[_0x46f4be(0x156)]()+_0x46f4be(0x2fd),_0x38df01=_0x2f696b[_0x46f4be(0x1fd)]((_0x4d4446,_0x260642)=>{const _0x1a2508=_0x46f4be,{unitID:_0x3ac1de,objectID:_0x25ed38,objectType:_0x2a7480,actions:_0x47c674}=_0x260642;return _0x4d4446[_0x3ac1de]||(_0x4d4446[_0x3ac1de]={}),_0x4d4446[_0x3ac1de][_0x25ed38]||(_0x4d4446[_0x3ac1de][_0x25ed38]={'objectID':_0x25ed38,'objectType':_0x2a7480,'actions':[]}),_0x4d4446[_0x3ac1de][_0x25ed38][_0x1a2508(0x479)][_0x1a2508(0x4c4)](..._0x47c674),_0x4d4446;},{}),_0x6a5653=[];for(const _0x4b7560 in _0x38df01)for(const _0x311605 in _0x38df01[_0x4b7560]){const {actions:_0x1c44e0,objectType:_0x4daa1b}=_0x38df01[_0x4b7560][_0x311605],_0x261e2f=[...new Set(_0x1c44e0)];_0x6a5653[_0x46f4be(0x4c4)]({'unitID':_0x4b7560,'objectID':_0x311605,'objectType':_0x4daa1b,'actions':_0x261e2f});}return new _0x1ebb7f[(_0x46f4be(0x37d))](_0x46f4be(0x33a),_0x1f64fe,{'headers':_0x1d2121[_0x46f4be(0x401)],'withCredentials':_0x1d2121['withCredentials'],'responseType':_0x1d2121[_0x46f4be(0x1d5)],'body':{'requests':_0x6a5653}});}},{'distributeResult'(_0x55eb92,_0x4df1cc){const _0x2020c9=_0x1223b0,{objectActions:_0x253d00}=_0x55eb92;return _0x4df1cc[_0x2020c9(0x4fc)](_0x2056aa=>{const _0x5e475b=_0x2020c9,{unitID:_0x56e000,objectID:_0x4ccf38,actions:_0x5e39f1}=_0x2056aa,_0xa61a64=_0x253d00['find'](_0x4f500d=>_0x4f500d[_0x5e475b(0x14c)]===_0x56e000&&_0x4f500d['objectID']===_0x4ccf38),_0x8b370d=_0x5e39f1[_0x5e475b(0x4fc)](_0x2747a5=>_0xa61a64==null?void 0x0:_0xa61a64['actions'][_0x5e475b(0x38c)](_0x28d949=>_0x28d949[_0x5e475b(0x20e)]===_0x2747a5))[_0x5e475b(0x44e)](_0x4e3d57=>!!_0x4e3d57);return{'config':_0x2056aa,'result':{'actions':_0x8b370d,'error':_0x55eb92['error']}};});}})}));}[_0x2d2308(0x156)](){const _0x5df325=_0x2d2308;var _0x15a7eb,_0x2985ea;const _0x2eccf1=this['_configService'][_0x5df325(0x12f)](_0x50435e),_0x42d4b6=this[_0x5df325(0x366)]['getConfig'](_0x29065d);return(_0x2985ea=(_0x15a7eb=_0x42d4b6==null?void 0x0:_0x42d4b6[_0x5df325(0x4b3)])!=null?_0x15a7eb:_0x2eccf1)!=null?_0x2985ea:_0x290448;}async[_0x2d2308(0x173)](_0x1dacdc){const _0x1bc2f7=_0x2d2308,_0x3bd22f=this[_0x1bc2f7(0x156)]()+'/'+_0x1dacdc[_0x1bc2f7(0x491)]+_0x1bc2f7(0x45d);return(await this[_0x1bc2f7(0x428)][_0x1bc2f7(0x3ec)](_0x3bd22f,{'body':_0x1dacdc}))['body'][_0x1bc2f7(0x2cf)]||'';}async['list'](_0x255d3e){const _0x44f920=_0x2d2308,_0x437de5=this['_getAPIPrefixPath']()+_0x44f920(0x4ca);return(await this[_0x44f920(0x428)][_0x44f920(0x3ec)](_0x437de5,{'body':_0x255d3e}))['body'][_0x44f920(0x4e6)];}async[_0x2d2308(0x4e1)](_0x42510a){const _0x1791c3=_0x2d2308,_0x3d5e48=this['_getAPIPrefixPath']()+'/'+_0x42510a[_0x1791c3(0x491)]+_0x1791c3(0x360)+_0x42510a[_0x1791c3(0x2cf)];await this[_0x1791c3(0x428)][_0x1791c3(0x54f)](_0x3d5e48,{'body':_0x42510a});}async[_0x2d2308(0x4c1)](_0x1391a9){const _0x225213=_0x2d2308,_0x4430ea=this[_0x225213(0x156)]()+'/'+_0x1391a9['objectType']+'/object/'+_0x1391a9[_0x225213(0x2cf)]+_0x225213(0x49b);return(await this[_0x225213(0x428)][_0x225213(0x3ec)](_0x4430ea,{'body':_0x1391a9}))[_0x225213(0x4f8)]['actions'];}async[_0x2d2308(0x307)](_0x205522){const _0xa34cd1=_0x2d2308,_0x108169=this[_0xa34cd1(0x156)]()+_0xa34cd1(0x2fd);return(await this[_0xa34cd1(0x428)][_0xa34cd1(0x3ec)](_0x108169,{'body':{'requests':_0x205522}}))[_0xa34cd1(0x4f8)]['objectActions'];}async[_0x2d2308(0x203)](_0x56669c){const _0xceec82=_0x2d2308,_0x17a652=this[_0xceec82(0x156)]()+'/'+_0x56669c[_0xceec82(0x491)]+'/role',_0xdaebb9=await this[_0xceec82(0x428)][_0xceec82(0x3ec)](_0x17a652,{'body':_0x56669c});return{'roles':_0xdaebb9[_0xceec82(0x4f8)][_0xceec82(0x380)],'actions':_0xdaebb9['body']['actions']};}async[_0x2d2308(0x503)](_0x3e31a9){const _0x87c07f=_0x2d2308,_0x3fca1b=this[_0x87c07f(0x156)]()+_0x87c07f(0x442);await this[_0x87c07f(0x428)][_0x87c07f(0x444)](_0x3fca1b,{'params':{'collaboratorID':_0x3e31a9[_0x87c07f(0x14d)],'objectID':_0x3e31a9[_0x87c07f(0x2cf)],'unitID':_0x3e31a9[_0x87c07f(0x14c)]}});}async[_0x2d2308(0x193)](_0x416c29){const _0x346744=_0x2d2308,_0x578be8=this[_0x346744(0x156)]()+'/collaborator';await this['_HTTPService'][_0x346744(0x53b)](_0x578be8,{'body':_0x416c29});}async['createCollaborator'](_0x458230){const _0x2e2bf7=_0x2d2308,_0x27f335=this[_0x2e2bf7(0x156)]()+_0x2e2bf7(0x442);await this['_HTTPService'][_0x2e2bf7(0x3ec)](_0x27f335,{'body':_0x458230});}async[_0x2d2308(0x2f8)](_0x22ca0b){const _0x3b9173=_0x2d2308,_0x5e8c9d=this[_0x3b9173(0x156)]()+_0x3b9173(0x442);return(await this[_0x3b9173(0x428)][_0x3b9173(0x3bb)](_0x5e8c9d,{'params':{'objectID':_0x22ca0b['objectID'],'unitID':_0x22ca0b['unitID']}}))[_0x3b9173(0x4f8)]['collaborators'];}async[_0x2d2308(0x40b)](_0x4786b7){const _0x37128b=_0x2d2308,_0x460ea9=this['_getAPIPrefixPath']()+_0x37128b(0x442);await this[_0x37128b(0x428)][_0x37128b(0x54f)](_0x460ea9,{'body':_0x4786b7});}},_0x5c4621['AuthzIoHttpService']=_0x1968b6([_0x235d6f(0x0,_0x511a8d[_0x2d2308(0x4dc)](_0x1ebb7f['HTTPService'])),_0x235d6f(0x1,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d['IConfigService']))],_0x5c4621['AuthzIoHttpService']);var _0x339ad7=Object[_0x2d2308(0x210)],_0x37634e=Object['getOwnPropertyDescriptor'],_0x31613e=(_0x327ea8,_0x1628e6,_0x24932b,_0x38123a)=>{const _0x76352=_0x2d2308;for(var _0x285430=_0x38123a>0x1?void 0x0:_0x38123a?_0x37634e(_0x1628e6,_0x24932b):_0x1628e6,_0x547c77=_0x327ea8[_0x76352(0x1e3)]-0x1,_0x5c44f0;_0x547c77>=0x0;_0x547c77--)(_0x5c44f0=_0x327ea8[_0x547c77])&&(_0x285430=(_0x38123a?_0x5c44f0(_0x1628e6,_0x24932b,_0x285430):_0x5c44f0(_0x285430))||_0x285430);return _0x38123a&&_0x285430&&_0x339ad7(_0x1628e6,_0x24932b,_0x285430),_0x285430;},_0x34d565=(_0x38bc7e,_0x4a8fc1)=>(_0x23e2c0,_0x4c8c5e)=>_0x4a8fc1(_0x23e2c0,_0x4c8c5e,_0x38bc7e);let _0x573d34=class{constructor(_0x3745ed){const _0xcb398c=_0x2d2308;this[_0xcb398c(0x201)]=_0x3745ed,this[_0xcb398c(0x278)]();}[_0x2d2308(0x278)](){const _0x5bae97=_0x2d2308;this[_0x5bae97(0x201)][_0x5bae97(0x1cc)]({'interceptor':(_0x378fe5,_0x3b15cc)=>{const _0x3ee2c4=_0x5bae97,_0x16c97c=_0x378fe5[_0x3ee2c4(0x401)],_0x4d7118=_0x42f0df[_0x3ee2c4(0x407)]();return _0x4d7118&&_0x16c97c[_0x3ee2c4(0x445)](_0x3ee2c4(0x1e2),_0x4d7118),_0x3b15cc(_0x378fe5);}});}};_0x573d34=_0x31613e([_0x34d565(0x0,_0x511a8d[_0x2d2308(0x4dc)](_0x1ebb7f[_0x2d2308(0x3c2)]))],_0x573d34);var _0x2d393d=Object[_0x2d2308(0x210)],_0x3de2fb=Object[_0x2d2308(0x475)],_0x396f84=(_0x2177b5,_0x84f058,_0x45f79c,_0x14cd48)=>{const _0x214fde=_0x2d2308;for(var _0x57f759=_0x14cd48>0x1?void 0x0:_0x14cd48?_0x3de2fb(_0x84f058,_0x45f79c):_0x84f058,_0x37cb71=_0x2177b5[_0x214fde(0x1e3)]-0x1,_0x1b6023;_0x37cb71>=0x0;_0x37cb71--)(_0x1b6023=_0x2177b5[_0x37cb71])&&(_0x57f759=(_0x14cd48?_0x1b6023(_0x84f058,_0x45f79c,_0x57f759):_0x1b6023(_0x57f759))||_0x57f759);return _0x14cd48&&_0x57f759&&_0x2d393d(_0x84f058,_0x45f79c,_0x57f759),_0x57f759;},_0x11435c=(_0x17d483,_0x421f3b)=>(_0x247e50,_0x223af4)=>_0x421f3b(_0x247e50,_0x223af4,_0x17d483);const _0x533cb4=['image/png',_0x2d2308(0x4e3),_0x2d2308(0x545),_0x2d2308(0x1b2),_0x2d2308(0x3d9)],_0x3a1b63=0x5*0x400*0x400,_0x1835dd='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0x3578fb=_0x2d2308(0x464),_0x1436a3=_0x2d2308(0x3fc),_0x429b74=_0x2d2308(0x27a);_0x5c4621[_0x2d2308(0x3be)]=class{constructor(_0x43a7c7,_0x9e9c70,_0x472a54){const _0x2d6f79=_0x2d2308;_0x3d9158(this,_0x2d6f79(0x1a5),0x0),_0x3d9158(this,_0x2d6f79(0x27d),new _0x1fcaf6['Subject']()),_0x3d9158(this,'change$',this['_change$']),_0x3d9158(this,_0x2d6f79(0x185),new Map()),(this['_httpService']=_0x43a7c7,this[_0x2d6f79(0x366)]=_0x9e9c70,this[_0x2d6f79(0x245)]=_0x472a54);}[_0x2d2308(0x37f)](_0x7e079){const _0x1c160d=_0x2d2308;this[_0x1c160d(0x1a5)]=_0x7e079,this[_0x1c160d(0x27d)][_0x1c160d(0x535)](_0x7e079);}[_0x2d2308(0x3bd)](_0x348d45,_0x4a114f){const _0x2a5ff3=_0x2d2308;if(_0x4a114f===_0x59f075[_0x2a5ff3(0x3fe)][_0x2a5ff3(0x1c8)]){const _0x51ae70=new Image();return _0x51ae70[_0x2a5ff3(0x42c)]=_0x348d45,_0x51ae70;}return this[_0x2a5ff3(0x185)]['get'](_0x348d45);}[_0x2d2308(0x554)](_0x4a833f,_0x46977f,_0x27032){const _0x460ca6=_0x2d2308;_0x46977f===_0x59f075[_0x460ca6(0x3fe)][_0x460ca6(0x1c8)]||_0x27032==null||this['_imageSourceCache'][_0x460ca6(0x445)](_0x4a833f,_0x27032);}async[_0x2d2308(0x372)](_0xcecd3e){const _0x80ce9c=_0x2d2308;try{const _0x22d0ba=this[_0x80ce9c(0x2de)](this[_0x80ce9c(0x511)](),''+_0xcecd3e),_0x4455e6=(await this[_0x80ce9c(0x201)][_0x80ce9c(0x3bb)](_0x22d0ba))[_0x80ce9c(0x4f8)];if(_0x4455e6['error']&&_0x4455e6[_0x80ce9c(0x269)][_0x80ce9c(0x309)]===_0x1c3ffd['OK']){const _0x10725a=new URL(_0x4455e6['url'],this['_getDownloadEndpointURL']())[_0x80ce9c(0x20d)]();return Promise[_0x80ce9c(0x49d)](_0x10725a);}return Promise[_0x80ce9c(0x460)](_0x4455e6[_0x80ce9c(0x269)]);}catch(_0x5e6258){return Promise['reject'](_0x5e6258);}}async[_0x2d2308(0x365)](_0x304425){const _0xcf241=_0x2d2308;let _0x24f79c='';if(!_0x533cb4[_0xcf241(0x3f3)](_0x304425[_0xcf241(0x4bb)]))return this['_decreaseWaiting'](),Promise[_0xcf241(0x460)](new Error(_0x59f075[_0xcf241(0x320)][_0xcf241(0x39f)]));if(_0x304425[_0xcf241(0x195)]>_0x3a1b63)return this['_decreaseWaiting'](),Promise[_0xcf241(0x460)](new Error(_0x59f075[_0xcf241(0x320)][_0xcf241(0x458)]));try{const _0x43706b=new FormData();_0x43706b[_0xcf241(0x4d6)]('file',_0x304425);const _0x2d8867=this[_0xcf241(0x245)][_0xcf241(0x4e8)](),_0x5eb4ac=_0x2d8867==null?void 0x0:_0x2d8867[_0xcf241(0x28d)]();if(!_0x5eb4ac)throw new Error(_0xcf241(0x24d));const _0x13da31=this[_0xcf241(0x4c5)]()+_0xcf241(0x254)+_0x304425['size'][_0xcf241(0x20d)]()+_0xcf241(0x1c3)+_0x344737[_0xcf241(0x231)]+_0xcf241(0x50b)+encodeURIComponent(_0x5eb4ac),_0x1ad197=await(await fetch(_0x13da31,{'method':_0xcf241(0x33a),'body':_0x43706b}))['json']();if(typeof _0x1ad197[_0xcf241(0x377)]!=_0xcf241(0x29f))return this[_0xcf241(0x177)](),Promise['reject'](new Error(_0x59f075['ImageUploadStatusType']['ERROR_IMAGE']));_0x24f79c=_0x1ad197[_0xcf241(0x377)];}catch{return this[_0xcf241(0x177)](),Promise[_0xcf241(0x460)](new Error(_0x59f075[_0xcf241(0x320)][_0xcf241(0x3a2)]));}return new Promise((_0x1750df,_0x95c48)=>{const _0x566b6d=_0xcf241,_0xc02703=new FileReader();_0xc02703[_0x566b6d(0x551)](_0x304425),_0xc02703[_0x566b6d(0x149)]=_0x119a41=>{const _0x13d20e=_0x566b6d;var _0x5b4241;const _0x1f447d=(_0x5b4241=_0x119a41[_0x13d20e(0x1ed)])==null?void 0x0:_0x5b4241[_0x13d20e(0x3ae)];if(_0x1f447d==null){this['_decreaseWaiting'](),_0x95c48(new Error(_0x59f075[_0x13d20e(0x320)]['ERROR_IMAGE']));return;}const _0x309a9f=_0x511a8d[_0x13d20e(0x344)]['generateRandomId'](0x6);_0x1750df({'imageId':_0x309a9f,'imageSourceType':_0x59f075[_0x13d20e(0x3fe)][_0x13d20e(0x47c)],'source':_0x24f79c,'base64Cache':_0x1f447d,'status':_0x59f075[_0x13d20e(0x320)][_0x13d20e(0x547)]}),this['_decreaseWaiting']();};});}[_0x2d2308(0x4c5)](){const _0x153852=_0x2d2308;var _0x515265,_0x4f4316;const _0x19f767=this[_0x153852(0x366)][_0x153852(0x12f)](_0x1835dd),_0x5c1695=this[_0x153852(0x366)]['getConfig'](_0x29065d);return(_0x4f4316=(_0x515265=_0x5c1695==null?void 0x0:_0x5c1695[_0x153852(0x1a9)])!=null?_0x515265:_0x19f767)!=null?_0x4f4316:_0x3578fb;}[_0x2d2308(0x511)](){const _0x2dc6b1=_0x2d2308;var _0x1c64f5,_0x407d8b;const _0x20756b=this[_0x2dc6b1(0x366)][_0x2dc6b1(0x12f)](_0x1436a3),_0x3ea7dd=this[_0x2dc6b1(0x366)][_0x2dc6b1(0x12f)](_0x29065d);return(_0x407d8b=(_0x1c64f5=_0x3ea7dd==null?void 0x0:_0x3ea7dd['signUrlServerUrl'])!=null?_0x1c64f5:_0x20756b)!=null?_0x407d8b:_0x429b74;}[_0x2d2308(0x258)](){const _0x22b555=_0x2d2308;var _0x2d5180;const _0x4c6ec4=this[_0x22b555(0x366)][_0x22b555(0x12f)](_0x29065d);return(_0x2d5180=_0x4c6ec4==null?void 0x0:_0x4c6ec4[_0x22b555(0x1fa)])!=null?_0x2d5180:location['origin'];}['_replaceFileID'](_0x3e9b6d,_0x202b3d){const _0x3067b1=_0x2d2308;return _0x3e9b6d[_0x3067b1(0x456)]('{fileID}',_0x202b3d);}[_0x2d2308(0x177)](){const _0x30be4e=_0x2d2308;this[_0x30be4e(0x1a5)]-=0x1,this[_0x30be4e(0x27d)][_0x30be4e(0x535)](this[_0x30be4e(0x1a5)]);}},_0x5c4621[_0x2d2308(0x3be)]=_0x396f84([_0x11435c(0x0,_0x511a8d['Inject'](_0x1ebb7f[_0x2d2308(0x3c2)])),_0x11435c(0x1,_0x511a8d['IConfigService']),_0x11435c(0x2,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x3ed)]))],_0x5c4621[_0x2d2308(0x3be)]);var _0x4c5131=Object['defineProperty'],_0x986a03=Object[_0x2d2308(0x475)],_0x4ba039=(_0x4a33ef,_0x1dbfc5,_0x269b97,_0x19eb55)=>{const _0x4cb85f=_0x2d2308;for(var _0x4c8109=_0x19eb55>0x1?void 0x0:_0x19eb55?_0x986a03(_0x1dbfc5,_0x269b97):_0x1dbfc5,_0x452fac=_0x4a33ef[_0x4cb85f(0x1e3)]-0x1,_0x2fcf9f;_0x452fac>=0x0;_0x452fac--)(_0x2fcf9f=_0x4a33ef[_0x452fac])&&(_0x4c8109=(_0x19eb55?_0x2fcf9f(_0x1dbfc5,_0x269b97,_0x4c8109):_0x2fcf9f(_0x4c8109))||_0x4c8109);return _0x19eb55&&_0x4c8109&&_0x4c5131(_0x1dbfc5,_0x269b97,_0x4c8109),_0x4c8109;},_0x2a4a72=(_0x4f4a3f,_0x26990b)=>(_0x54695b,_0x60dfde)=>_0x26990b(_0x54695b,_0x60dfde,_0x4f4a3f);let _0x45d885=class extends _0x511a8d[_0x2d2308(0x53d)]{constructor(_0x1e9659,_0x49ae74,_0x345f70,_0x26b3ae,_0x2068d1){const _0x2e01df=_0x2d2308;super(),this[_0x2e01df(0x510)]=_0x1e9659,this[_0x2e01df(0x245)]=_0x49ae74,this[_0x2e01df(0x154)]=_0x345f70,this[_0x2e01df(0x4a3)]=_0x26b3ae,this[_0x2e01df(0x239)]=_0x2068d1,this['_initUnitPermissionChange'](),this[_0x2e01df(0x55a)]();}['_initCloseConn'](){const _0x5e9e14=_0x2d2308,_0x4e6153=async _0x347cf1=>{const _0x578f4b=_0x3ba2;(await this[_0x578f4b(0x4a3)][_0x578f4b(0x137)](_0x347cf1))[_0x578f4b(0x531)][_0x578f4b(0x47e)](_0x5e0e9a[_0x578f4b(0x44e)](_0x43ea56=>_0x43ea56[_0x578f4b(0x175)]===_0xa51b04[_0x578f4b(0x3fa)]['SHOULD_CLOSE_CONN']),_0x5e0e9a[_0x578f4b(0x13e)](this['dispose$']))[_0x578f4b(0x2a1)](_0x230d8b=>{const _0x160f92=_0x578f4b,_0x21af65=_0x230d8b,{reason:_0x250d02}=_0x21af65[_0x160f92(0x142)];this['_injector'][_0x160f92(0x3bb)](_0x2fad45[_0x160f92(0x29a)])[_0x160f92(0x1f7)]({'type':_0x278c7c[_0x160f92(0x33f)][_0x160f92(0x136)],'content':this[_0x160f92(0x239)]['t']('collaboration.closeRoom')+'('+_0x250d02+')'}),this[_0x160f92(0x154)][_0x160f92(0x3b4)](new _0x11a28e['WorkbookEditablePermission'](_0x347cf1)['id'],!0x1),this[_0x160f92(0x4a3)][_0x160f92(0x190)](_0x347cf1);});};_0x1fcaf6['merge'](this[_0x5e9e14(0x245)]['getTypeOfUnitAdded$'](_0x511a8d[_0x5e9e14(0x3bf)][_0x5e9e14(0x1b5)]),this[_0x5e9e14(0x245)][_0x5e9e14(0x2c3)](_0x511a8d['UniverInstanceType'][_0x5e9e14(0x183)]))[_0x5e9e14(0x47e)](_0x5e0e9a[_0x5e9e14(0x4fc)](_0xeb49cf=>_0xeb49cf[_0x5e9e14(0x28d)]()),_0x5e0e9a[_0x5e9e14(0x44e)](_0x46707c=>!_0x511a8d[_0x5e9e14(0x3c6)](_0x46707c)),_0x5e0e9a[_0x5e9e14(0x13e)](this[_0x5e9e14(0x3af)]))[_0x5e9e14(0x2a1)](_0x40ecb0=>{_0x4e6153(_0x40ecb0);});}[_0x2d2308(0x4b4)](){const _0x15a448=_0x2d2308,_0x4909d3=async _0x1abfb3=>{const _0x362bbf=_0x3ba2;(await this[_0x362bbf(0x4a3)]['requireSession'](_0x1abfb3))['event$'][_0x362bbf(0x47e)](_0x5e0e9a[_0x362bbf(0x44e)](_0xdae62a=>_0xdae62a[_0x362bbf(0x175)]===_0xa51b04[_0x362bbf(0x3fa)][_0x362bbf(0x44d)]),_0x5e0e9a[_0x362bbf(0x13e)](this[_0x362bbf(0x3af)]))[_0x362bbf(0x2a1)](_0x5cb4cd=>{const _0x17701f=_0x362bbf,_0x8a9fc7=_0x5cb4cd,{objectId:_0x27df7d}=_0x8a9fc7['data'],_0x1dd343=this['_injector'][_0x17701f(0x3bb)](_0x3beb13[_0x17701f(0x35a)]);_0x27df7d===_0x1abfb3?_0x1dd343[_0x17701f(0x304)](_0x1abfb3):_0x1dd343[_0x17701f(0x40d)](_0x1abfb3,_0x27df7d);});};_0x1fcaf6[_0x15a448(0x240)](this[_0x15a448(0x245)][_0x15a448(0x2c3)](_0x511a8d['UniverInstanceType'][_0x15a448(0x1b5)]),this[_0x15a448(0x245)][_0x15a448(0x2c3)](_0x511a8d['UniverInstanceType']['UNIVER_DOC']))[_0x15a448(0x47e)](_0x5e0e9a[_0x15a448(0x4fc)](_0x5302f4=>_0x5302f4[_0x15a448(0x28d)]()),_0x5e0e9a[_0x15a448(0x44e)](_0x598a7c=>!_0x511a8d[_0x15a448(0x3c6)](_0x598a7c)),_0x5e0e9a[_0x15a448(0x13e)](this[_0x15a448(0x3af)]))[_0x15a448(0x2a1)](_0xbe665e=>{_0x4909d3(_0xbe665e);});}};_0x45d885=_0x4ba039([_0x2a4a72(0x0,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d['Injector'])),_0x2a4a72(0x1,_0x511a8d[_0x2d2308(0x3ed)]),_0x2a4a72(0x2,_0x511a8d[_0x2d2308(0x3d5)]),_0x2a4a72(0x3,_0x511a8d[_0x2d2308(0x4dc)](_0x5c4621[_0x2d2308(0x12a)])),_0x2a4a72(0x4,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d[_0x2d2308(0x390)]))],_0x45d885);var _0x10dff5=Object['defineProperty'],_0x29682c=Object[_0x2d2308(0x475)],_0x7e1e0c=(_0x5f5ccc,_0x3a8abf,_0x16440f,_0xf8f283)=>{const _0x3697a0=_0x2d2308;for(var _0x1b5ad1=_0xf8f283>0x1?void 0x0:_0xf8f283?_0x29682c(_0x3a8abf,_0x16440f):_0x3a8abf,_0x3bfced=_0x5f5ccc[_0x3697a0(0x1e3)]-0x1,_0x5f24ed;_0x3bfced>=0x0;_0x3bfced--)(_0x5f24ed=_0x5f5ccc[_0x3bfced])&&(_0x1b5ad1=(_0xf8f283?_0x5f24ed(_0x3a8abf,_0x16440f,_0x1b5ad1):_0x5f24ed(_0x1b5ad1))||_0x1b5ad1);return _0xf8f283&&_0x1b5ad1&&_0x10dff5(_0x3a8abf,_0x16440f,_0x1b5ad1),_0x1b5ad1;},_0x1769ab=(_0x5ed7ba,_0x34a59c)=>(_0x1cd0a8,_0x1c4322)=>_0x34a59c(_0x1cd0a8,_0x1c4322,_0x5ed7ba);_0x5c4621[_0x2d2308(0x37e)]=class{constructor(_0x404669,_0x542866){const _0x54d7f0=_0x2d2308;this['_configService']=_0x404669,this[_0x54d7f0(0x201)]=_0x542866;}async[_0x2d2308(0x155)](_0xf9ced0,_0x19ed1e){const _0x319ca4=_0x2d2308;var _0x495a5b;const {unitID:_0x2b0771,type:_0x21f3b5,revision:_0x2f0cf7=0x0}=_0x19ed1e,_0x48be11=this[_0x319ca4(0x174)]()+'/'+_0x21f3b5+'/unit/'+_0x2b0771+_0x319ca4(0x12d)+_0x2f0cf7,_0x18a47e=(await this[_0x319ca4(0x201)]['get'](_0x48be11))[_0x319ca4(0x4f8)],_0x112eaa=(_0x495a5b=_0x18a47e[_0x319ca4(0x53e)])==null?void 0x0:_0x495a5b[_0x319ca4(0x3c7)];if(_0x112eaa){const _0x301b0e=_0x112eaa==null?void 0x0:_0x112eaa[_0x319ca4(0x40f)],_0x457e01=_0xa51b04[_0x319ca4(0x29e)]['encode'](_0xa51b04['b64DecodeUnicode'](_0x301b0e));_0x112eaa[_0x319ca4(0x40f)]=_0x457e01,Object['entries'](_0x112eaa[_0x319ca4(0x299)])[_0x319ca4(0x20c)](([,_0x36415c])=>{const _0x21798a=_0x319ca4,_0x3b6280=_0x36415c[_0x21798a(0x40f)],_0x23c74e=_0xa51b04[_0x21798a(0x29e)]['encode'](_0xa51b04[_0x21798a(0x290)](_0x3b6280));_0x36415c['originalMeta']=_0x23c74e;});}return _0x18a47e;}async['getSheetBlock'](_0x79e210,_0x172086){const _0x266bd2=_0x2d2308,{unitID:_0x307094,type:_0x152070,blockID:_0x3501b1}=_0x172086,_0x1f1f37=this[_0x266bd2(0x321)]()+'/'+_0x152070+_0x266bd2(0x232)+_0x307094+_0x266bd2(0x46f)+_0x3501b1;return(await this[_0x266bd2(0x201)]['get'](_0x1f1f37))[_0x266bd2(0x4f8)];}async[_0x2d2308(0x30a)](_0x4b21f3,_0x53483d){const _0x22c417=_0x2d2308,{unitID:_0x249155,type:_0x3697ba,blockID:_0x2ce420}=_0x53483d,_0x3cd3af=this[_0x22c417(0x321)]()+_0x22c417(0x46f)+_0x3697ba+_0x22c417(0x232)+_0x249155+_0x22c417(0x46f)+_0x2ce420;return(await this[_0x22c417(0x201)]['get'](_0x3cd3af))['body'];}async[_0x2d2308(0x2fa)](_0x27dce8,_0x3c1c57){const _0x5995b6=_0x2d2308,{unitID:_0x3115fc,type:_0x369d59,from:_0x3e464b,to:_0x6b72ab}=_0x3c1c57,_0x1cb56e=this[_0x5995b6(0x321)]()+'/'+_0x369d59+_0x5995b6(0x232)+_0x3115fc+_0x5995b6(0x17c)+_0x3e464b+'&to='+_0x6b72ab;return(await this[_0x5995b6(0x201)]['get'](_0x1cb56e))[_0x5995b6(0x4f8)];}[_0x2d2308(0x174)](){const _0x56edbf=_0x2d2308;var _0x4adb8;return(_0x4adb8=this['_configService'][_0x56edbf(0x12f)](_0x72d972))!=null?_0x4adb8:this['_getAPIPrefix']();}[_0x2d2308(0x321)](){const _0x58f0f8=_0x2d2308;var _0x700043,_0x1d05b0;const _0x172ca7=this['_configService']['getConfig'](_0x336d9b),_0x49ba65=this[_0x58f0f8(0x366)]['getConfig'](_0x29065d);return(_0x1d05b0=(_0x700043=_0x49ba65==null?void 0x0:_0x49ba65[_0x58f0f8(0x42d)])!=null?_0x700043:_0x172ca7)!=null?_0x1d05b0:_0x466325;}async[_0x2d2308(0x18d)](_0x5c5d33,_0x12fdb5){const _0x5405b=_0x2d2308,_0xbbb801=_0x5405b(0x188)+_0x12fdb5[_0x5405b(0x4bb)]+'/unit/'+_0x12fdb5[_0x5405b(0x14c)]+_0x5405b(0x16a);return(await this['_httpService'][_0x5405b(0x3bb)](_0xbbb801,{'params':{'resourceId':JSON['stringify'](_0x12fdb5[_0x5405b(0x2d8)])}}))[_0x5405b(0x4f8)];}[_0x2d2308(0x123)](){const _0x18d725=_0x2d2308;throw new Error(_0x18d725(0x400));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){const _0x11b9ed=_0x2d2308;throw new Error(_0x11b9ed(0x400));}[_0x2d2308(0x391)](){const _0xdcec2e=_0x2d2308;throw new Error(_0xdcec2e(0x400));}},_0x5c4621[_0x2d2308(0x37e)]=_0x7e1e0c([_0x1769ab(0x0,_0x511a8d[_0x2d2308(0x202)]),_0x1769ab(0x1,_0x511a8d[_0x2d2308(0x4dc)](_0x1ebb7f[_0x2d2308(0x3c2)]))],_0x5c4621[_0x2d2308(0x37e)]);var _0x1153dd=Object['defineProperty'],_0x21f090=Object['getOwnPropertyDescriptor'],_0x3d2870=(_0x479e24,_0x51d72f,_0x37d780,_0x35fcd9)=>{const _0x1c6ca9=_0x2d2308;for(var _0xca1a87=_0x35fcd9>0x1?void 0x0:_0x35fcd9?_0x21f090(_0x51d72f,_0x37d780):_0x51d72f,_0x3970cb=_0x479e24[_0x1c6ca9(0x1e3)]-0x1,_0x495032;_0x3970cb>=0x0;_0x3970cb--)(_0x495032=_0x479e24[_0x3970cb])&&(_0xca1a87=(_0x35fcd9?_0x495032(_0x51d72f,_0x37d780,_0xca1a87):_0x495032(_0xca1a87))||_0xca1a87);return _0x35fcd9&&_0xca1a87&&_0x1153dd(_0x51d72f,_0x37d780,_0xca1a87),_0xca1a87;},_0x1f102c=(_0xcb20cd,_0xb50420)=>(_0x10896a,_0x2a561e)=>_0xb50420(_0x10896a,_0x2a561e,_0xcb20cd);let _0x37b1cd=class extends _0x511a8d[_0x2d2308(0x2c9)]{constructor(_0x22fb53,_0x2910d8,_0x6b2eb3,_0x348343,_0xa24e0b){const _0x2aa89f=_0x2d2308;super(_0x22fb53,_0x2910d8,_0x6b2eb3),this['_transformService']=_0x348343,this[_0x2aa89f(0x54c)]=_0xa24e0b;}['transformUndoRedo'](_0x399748,_0x54666d){const _0x3c7b18=_0x2d2308,_0x517aff=this['_getUndoStack'](_0x399748);if(_0x517aff)try{const _0x331b37=this['_transformStack'](_0x517aff,_0x54666d);this[_0x3c7b18(0x1cb)](_0x399748,_0x331b37);}catch(_0x30ead1){this['_logService'][_0x3c7b18(0x269)]('[CollaborationUndoRedoService]',_0x30ead1),this['_clearUndo'](_0x399748);}const _0x326993=this['_getRedoStack'](_0x399748);if(_0x326993)try{const _0x296945=this[_0x3c7b18(0x194)](_0x326993,_0x54666d);this[_0x3c7b18(0x130)](_0x399748,_0x296945);}catch(_0x5a2c80){this[_0x3c7b18(0x54c)]['error'](_0x5a2c80),this[_0x3c7b18(0x3f1)](_0x399748);}}[_0x2d2308(0x16c)](_0x1720ae){const _0x5a5b05=_0x2d2308,_0x3343bc=this[_0x5a5b05(0x16f)](_0x1720ae);_0x3343bc&&(_0x3343bc[_0x5a5b05(0x1e3)]=0x0,this[_0x5a5b05(0x417)]());}[_0x2d2308(0x3f1)](_0x4de766){const _0x1aba89=_0x2d2308,_0x43d2c8=this[_0x1aba89(0x12e)](_0x4de766);_0x43d2c8&&(_0x43d2c8[_0x1aba89(0x1e3)]=0x0,this[_0x1aba89(0x417)]());}[_0x2d2308(0x1cb)](_0x168a2,_0x7ca403){const _0x42742f=_0x2d2308;this[_0x42742f(0x4ee)][_0x42742f(0x445)](_0x168a2,_0x7ca403),this[_0x42742f(0x417)]();}[_0x2d2308(0x130)](_0x597a58,_0x446a38){const _0x2cd68e=_0x2d2308;this[_0x2cd68e(0x51a)][_0x2cd68e(0x445)](_0x597a58,_0x446a38),this['_updateStatus']();}[_0x2d2308(0x194)](_0x32f460,_0x150281){const _0x3e8330=_0x2d2308,_0x1f5c9e=[];let _0x4c64e3=_0x150281,_0x53e4f1=_0x150281;for(let _0x249df2=_0x32f460[_0x3e8330(0x1e3)]-0x1;_0x249df2>=0x0;_0x249df2--){const {unitID:_0x2877e3,undoMutations:_0x3b9c3c,redoMutations:_0x1cdd0e}=_0x32f460[_0x249df2],_0x404709=this['_transformService'][_0x3e8330(0x242)](_0x4c64e3,_0x3b9c3c),_0x1b9152=this['_transformService'][_0x3e8330(0x242)](_0x53e4f1,_0x1cdd0e);if(_0xa51b04[_0x3e8330(0x4cd)](_0x404709)||_0xa51b04[_0x3e8330(0x4cd)](_0x1b9152)){this[_0x3e8330(0x54c)][_0x3e8330(0x269)](_0x3e8330(0x250),'transformStack\x20failed!',_0x404709,_0x1b9152);break;}_0x4c64e3=_0x404709[_0x3e8330(0x1ff)],_0x53e4f1=_0x1b9152['c1Prime'],_0x1f5c9e[_0x3e8330(0x4c4)]({'unitID':_0x2877e3,'undoMutations':_0x404709['m2Prime'],'redoMutations':_0x1b9152[_0x3e8330(0x12b)]});}return _0x1f5c9e[_0x3e8330(0x520)]();}};_0x37b1cd=_0x3d2870([_0x1f102c(0x0,_0x511a8d[_0x2d2308(0x3ed)]),_0x1f102c(0x1,_0x511a8d[_0x2d2308(0x23a)]),_0x1f102c(0x2,_0x511a8d[_0x2d2308(0x466)]),_0x1f102c(0x3,_0xa51b04[_0x2d2308(0x2a2)]),_0x1f102c(0x4,_0x511a8d[_0x2d2308(0x446)])],_0x37b1cd);class _0x41bbd2 extends _0x511a8d[_0x2d2308(0x53d)]{constructor(){const _0x8c1398=_0x2d2308;super(),_0x3d9158(this,'urlChange$'),this[_0x8c1398(0x196)]=_0x1fcaf6[_0x8c1398(0x409)](window,_0x8c1398(0x50f))[_0x8c1398(0x47e)](_0x1fcaf6[_0x8c1398(0x13e)](this[_0x8c1398(0x3af)]),_0x1fcaf6[_0x8c1398(0x17a)](0x1),_0x1fcaf6[_0x8c1398(0x3c3)](void 0x0));}['setParam'](_0x386f5d,_0x59bbe7,_0x3c029d=!0x1){const _0x570564=_0x2d2308,_0x332eeb=new URL(window[_0x570564(0x2ae)][_0x570564(0x14a)]);_0x332eeb['searchParams'][_0x570564(0x445)](_0x386f5d,_0x59bbe7),_0x3c029d?window['history']['replaceState']('','',_0x332eeb['toString']()):window[_0x570564(0x423)][_0x570564(0x1e7)]('','',_0x332eeb[_0x570564(0x20d)]());}[_0x2d2308(0x375)](_0x40e52a,_0x1c24ab=!0x1){const _0x1caeff=_0x2d2308,_0x30ea1f=new URL(window['location'][_0x1caeff(0x14a)]);_0x30ea1f[_0x1caeff(0x122)][_0x1caeff(0x444)](_0x40e52a),_0x1c24ab?window[_0x1caeff(0x423)][_0x1caeff(0x1ec)]('','',_0x30ea1f[_0x1caeff(0x20d)]()):window[_0x1caeff(0x423)][_0x1caeff(0x1e7)]('','',_0x30ea1f[_0x1caeff(0x20d)]());}[_0x2d2308(0x128)](_0x30ec23){const _0x162e89=_0x2d2308;var _0x51f526;return(_0x51f526=new URL(window['location']['href'])[_0x162e89(0x122)]['get'](_0x30ec23))!=null?_0x51f526:void 0x0;}}var _0x401616=Object[_0x2d2308(0x210)],_0x2ebab4=Object[_0x2d2308(0x475)],_0x334f51=(_0x4fec1a,_0x32a788,_0x42f849)=>_0x32a788 in _0x4fec1a?_0x401616(_0x4fec1a,_0x32a788,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x42f849}):_0x4fec1a[_0x32a788]=_0x42f849,_0x54455c=(_0x24536f,_0x1f620e,_0x3f3461,_0x404a18)=>{for(var _0x3a45c6=_0x404a18>0x1?void 0x0:_0x404a18?_0x2ebab4(_0x1f620e,_0x3f3461):_0x1f620e,_0x4cab20=_0x24536f['length']-0x1,_0x1e78e8;_0x4cab20>=0x0;_0x4cab20--)(_0x1e78e8=_0x24536f[_0x4cab20])&&(_0x3a45c6=(_0x404a18?_0x1e78e8(_0x1f620e,_0x3f3461,_0x3a45c6):_0x1e78e8(_0x3a45c6))||_0x3a45c6);return _0x404a18&&_0x3a45c6&&_0x401616(_0x1f620e,_0x3f3461,_0x3a45c6),_0x3a45c6;},_0x30d3e7=(_0x3be3de,_0x17431e)=>(_0x4840aa,_0x13f5f0)=>_0x17431e(_0x4840aa,_0x13f5f0,_0x3be3de),_0x21a741=(_0x47be1c,_0x5c90ca,_0xb2ba)=>_0x334f51(_0x47be1c,_0x5c90ca+'',_0xb2ba);const _0x36a621=_0x2d2308(0x4e9);_0x5c4621[_0x2d2308(0x313)]=class extends _0x511a8d['Plugin']{constructor(_0x227d35=_0x3a5c9a,_0x3aa2bc,_0x1fcfe0,_0x325a7c,_0x4236eb){const _0x3397f8=_0x2d2308;super(),this[_0x3397f8(0x537)]=_0x227d35,this[_0x3397f8(0x54c)]=_0x3aa2bc,this[_0x3397f8(0x16d)]=_0x1fcfe0,this[_0x3397f8(0x510)]=_0x325a7c,this['_configService']=_0x4236eb;const {..._0x42ec15}=this[_0x3397f8(0x537)];this[_0x3397f8(0x366)]['setConfig'](_0x29065d,_0x42ec15);}[_0x2d2308(0x42a)](){const _0x509afa=_0x2d2308;this[_0x509afa(0x33e)](),_0x511a8d[_0x509afa(0x32b)](this[_0x509afa(0x510)],[[_0x49b326],[_0x5c4621[_0x509afa(0x280)]],[_0x45d885]]);}[_0x2d2308(0x22c)](){const _0x5569f3=_0x2d2308;_0x511a8d[_0x5569f3(0x32b)](this[_0x5569f3(0x510)],[[_0x514412]]);}[_0x2d2308(0x55b)](){const _0x2a9244=_0x2d2308;this[_0x2a9244(0x3d3)]();}[_0x2d2308(0x33e)](){const _0x14433a=_0x2d2308;var _0x3f8524,_0x167fb5,_0x74d491,_0x441231;this[_0x14433a(0x510)][_0x14433a(0x1e0)](_0x511a8d['IUndoRedoService'])&&this[_0x14433a(0x54c)][_0x14433a(0x269)](_0x14433a(0x3fd),_0x14433a(0x341));let _0x15be73=[[_0x511a8d[_0x14433a(0x2ff)],{'useClass':_0x37b1cd}],[_0x5c4621[_0x14433a(0x12a)]],[_0x239f11],[_0x1ebb7f['HTTPService']],[_0x42f2bb,{'useClass':_0x41bbd2}],[_0x301ed0],[_0x5c4621['LocalCacheService']],[_0x1ebb7f['WebSocketService']],[_0x319bda],[_0x319bd7],[_0x4b8bdd],[_0x57cbd1],[_0x2aa182],[_0x573d34],[_0x27c664],[_0x45d885],[_0x2c20a1,{'useClass':(_0x167fb5=(_0x3f8524=this[_0x14433a(0x537)])==null?void 0x0:_0x3f8524['socketService'])!=null?_0x167fb5:_0x5c4621[_0x14433a(0x21c)]}],[_0x1ebb7f[_0x14433a(0x32c)],{'useClass':_0x1ebb7f['XHRHTTPImplementation']}],[_0xa51b04['ISnapshotServerService'],{'useClass':_0x5c4621[_0x14433a(0x37e)]}],[_0x511a8d['IAuthzIoService'],{'useClass':_0x5c4621['AuthzIoHttpService']}],[_0x59f075[_0x14433a(0x3ad)],{'useClass':_0x5c4621['ImageIoService']}],[_0x5c4621['CollaborationController']],[_0x5c4621[_0x14433a(0x280)]],[_0x5c4621[_0x14433a(0x455)]],[_0x514412],[_0x49b326]];(_0x74d491=this[_0x14433a(0x537)])!=null&&_0x74d491[_0x14433a(0x42f)]&&_0x15be73[_0x14433a(0x4c4)]([_0x484b6f,{'useClass':_0xdbad05}]),_0x15be73=_0x511a8d[_0x14433a(0x2d3)](_0x15be73,(_0x441231=this[_0x14433a(0x537)])==null?void 0x0:_0x441231['override']),_0x15be73[_0x14433a(0x20c)](_0xf4e848=>this[_0x14433a(0x510)][_0x14433a(0x2fc)](_0xf4e848)),this[_0x14433a(0x288)]();}[_0x2d2308(0x3d3)](){const _0x31ead2=_0x2d2308;this['disposeWithMe'](this[_0x31ead2(0x16d)][_0x31ead2(0x275)](_0x511a8d['UniverInstanceType'][_0x31ead2(0x183)],[_0x159580])),this[_0x31ead2(0x2c8)](this['_renderManagerService']['registerRenderModule'](_0x511a8d['UniverInstanceType'][_0x31ead2(0x1b5)],[_0x3cbad9]));}[_0x2d2308(0x288)](){const _0x544fee=_0x2d2308;var _0x33cfc4,_0x48b443;this[_0x544fee(0x510)][_0x544fee(0x3bb)](_0x1ebb7f[_0x544fee(0x3c2)])[_0x544fee(0x1cc)]({'priority':0x14,'interceptor':_0x1ebb7f[_0x544fee(0x3c4)]({'maxParallel':0x6})}),this[_0x544fee(0x510)]['get'](_0x573d34),(_0x33cfc4=this[_0x544fee(0x537)])!=null&&_0x33cfc4[_0x544fee(0x35c)]||this[_0x544fee(0x510)][_0x544fee(0x3bb)](_0x5c4621['LocalCacheService'])['disableLocalCache'](),(_0x48b443=this[_0x544fee(0x537)])!=null&&_0x48b443[_0x544fee(0x4fa)]&&this[_0x544fee(0x510)][_0x544fee(0x3bb)](_0x2aa182),this['_injector']['get'](_0x5c4621['CollaborationController']),this[_0x544fee(0x510)][_0x544fee(0x1e0)](_0x5c4621['DesktopCollaborationStatusDisplayController'])&&this[_0x544fee(0x510)][_0x544fee(0x3bb)](_0x5c4621['DesktopCollaborationStatusDisplayController']);}},_0x21a741(_0x5c4621[_0x2d2308(0x313)],_0x2d2308(0x2ca),_0x36a621),_0x5c4621[_0x2d2308(0x313)]=_0x54455c([_0x511a8d[_0x2d2308(0x415)](_0xa51b04[_0x2d2308(0x243)]),_0x30d3e7(0x1,_0x511a8d[_0x2d2308(0x446)]),_0x30d3e7(0x2,_0x47232b['IRenderManagerService']),_0x30d3e7(0x3,_0x511a8d[_0x2d2308(0x4dc)](_0x511a8d['Injector'])),_0x30d3e7(0x4,_0x511a8d[_0x2d2308(0x202)])],_0x5c4621[_0x2d2308(0x313)]),_0x5c4621[_0x2d2308(0x23b)]=_0x50435e,_0x5c4621[_0x2d2308(0x1e1)]=_0xea8175,_0x5c4621[_0x2d2308(0x20a)]=_0x54e241,_0x5c4621[_0x2d2308(0x15f)]=_0x437a54,_0x5c4621[_0x2d2308(0x349)]=_0x572c1f,_0x5c4621['CommentService']=_0x27c664,_0x5c4621[_0x2d2308(0x3f9)]=_0x10436f,_0x5c4621[_0x2d2308(0x4b6)]=_0x5c3ac2,_0x5c4621[_0x2d2308(0x386)]=_0x2c20a1,_0x5c4621[_0x2d2308(0x206)]=_0x42f2bb,_0x5c4621[_0x2d2308(0x18c)]=_0x4bff9a,_0x5c4621['LOGIN_URL_KEY']=_0x2a4af3,_0x5c4621[_0x2d2308(0x441)]=_0x4afa7a,_0x5c4621['SEND_CHANGESET_TIMEOUT_KEY']=_0x531fe2,_0x5c4621[_0x2d2308(0x200)]=_0x336d9b,_0x5c4621[_0x2d2308(0x2ee)]=_0x72d972,_0x5c4621[_0x2d2308(0x376)]=_0x3c28c2,_0x5c4621[_0x2d2308(0x17e)]=_0x2263ad,_0x5c4621[_0x2d2308(0x3b7)]=_0x41bbd2,_0x5c4621[_0x2d2308(0x4fe)]=_0x5718d6,_0x5c4621['serializeCombRequest']=_0x4b39ba,Object['defineProperty'](_0x5c4621,Symbol[_0x2d2308(0x253)],{'value':_0x2d2308(0x515)});}));function _0x3ba2(_0x257304,_0x47d538){const _0x504727=_0x5047();return _0x3ba2=function(_0x3ba272,_0x107d4a){_0x3ba272=_0x3ba272-0x122;let _0x134160=_0x504727[_0x3ba272];return _0x134160;},_0x3ba2(_0x257304,_0x47d538);}function _0x5047(){const _0x977508=['min','refreshPermission','AWAITING','originalMeta','collab-text-range-','_queuedRemoteChangesets','_handleEvent','sheetId','@univerjs/design','DependentOn','className','_updateStatus','_singleActiveUnitService','COLORS','state','_handleHover','COLLAB_SUBMIT_CHANGESET_URL','getMemberID','init','_members','url(#$1','svg','_anchorDot','history','217863pjlRXZ','?url=','gold400','#fff','_HTTPService','_onUserLeave','onStarting','DocIMEInputManagerService','src','snapshotServerUrl','sessionStatus','enableSingleActiveInstanceLock','getCurrentUser','socket$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','exhaustSavingTask','_updateState','save','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','unit-cache-','save\x20fail\x20reason\x20is\x20','width','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','_collaborationTimeoutTimer','INVALID_ARGUMENT','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','connection\x20error','OnLineSingle','ranges','RETRY_CONNECTING_MAX_COUNT_KEY','/collaborator','MoveRangeCommandId','delete','set','ILogService','generateRandomId','_colorAssignService','members','startColumn','SnapshotService','liveShareNewHost','UPDATE_PERMISSION_OBJ','filter','error$','COMPLETION_FINISHED','collaboration-client.offline-data-not-saved','object','_stopTelemetryCollaborationNewChangeset','_onConnectionFailed','DesktopCollaborationStatusDisplayController','replace','NodePositionConvertToRectRange','ERROR_EXCEED_SIZE','session.collaboration-timeout','_onUserJoin','_unitID','registerOnClose','/object','@univerjs/sheets','forwardRef','reject','permission.title','_lockTransition','_send','/universer-api/stream/file/upload','univerjs-icon\x20univerjs-icon-','IContextService','getUnit','getSkeleton','memberID','newValue','csAckEvent','retryConnectingInterval','UserManagerService','handleInsertCol','/block/','on-line-single','fillStyle','currentTheme$','175ZllSWs','RichTextEditingMutation','getOwnPropertyDescriptor','_onRemoteRejected','getVpScrollXYInfoByPosToVp','_localStorageService','actions','restore','onRemoteChangeset','UUID','_clearLocalCache','pipe','uni.network.url-service','SheetsSelectionsService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_onLocalMutation','_cachedData','cmd','getUnitType','_waitForHeartbeatResponse','c2Prime','registerComponent','black','_socketReady','UniverDrawing','IRemoteInstanceService','_transformUndoredo','clear','UniverCollaborationClient','_cursors','objectType','concatMap','_eventUnsubscribe','_initStatusComponent','_socketMessageSubscription','NodePositionConvertToCursor','Workbook','YUUMI_UNABLE_LOAD_URL','conflict.content','getOwnPropertySymbols','/allowed','transformSelections','resolve','message$','_rescheduleHeartbeat','getUndoRedoMutationParamsCache','_heartbeatTimer','transformIMECache','_collaborationSessionService','fetch_missing','getUnitStatus$','_cursorShapes','[PendingState]:\x20received\x20rejection.','routeKey','getAncestorScale','onCommentUpdate','IUIPartsService','UNRECOGNIZED','_onCursorUpdate','@univerjs/rpc','_snapshotServerService','HEARTBEAT_TIMEOUT','_cursorInfo$','assignAColorForMemberID','authzUrl','_initUnitPermissionChange','_http','HEARTBEAT_TIMEOUT_KEY','SNAPSHOT_INVALID_SNAPSHOT','_getSaveTimeout','getCurrentRevOfUnit','USERS_LEAVE','type','transform','APPLY_REVISION_CONFILICT','createIdentifier','unitId','[PendingState]:\x20unhandled\x20univer\x20type:\x20','allowed','use','_commandService','push','_getUploadFileURL','resend','811836zzODUc','_transformUndoRedoStack','UPDATE_CURSOR','/-/object/list','isArray','PENDING','isTransformMutationsWithChangesetFailure','onTransformChange$','combineLatest','current','split','univer-online','MUTATION','UniverIcon','[CollaborationState]:\x20apply\x20error!','append','distinctUntilChanged','drawWith','slice','_onOffline','fromEventSubject','Inject','_scheduleClearOtherTimer','syncEditingCollabCursor','onRemoteAck','_toggleOffline','update','_getSendChangesetTimeout','image/jpeg','UniverSheets','HEADER_MENU','objects','_pendingMutations','getFocusedUnit','UNIVER_COLLABORATION_CLIENT_PLUGIN','_docTransformIMECacheService','cursorInfo','_startTelemetryCollaborationNewChangeset','PSEUDO_FETCH_MISSING_RESULT','_undoStacks','pending','onTransformRemoteChangesetByIMECache','DocCollaborationEntity','runRefRangeMutations','_sendHeartbeatTimer','_transformSelections','NO_OTHER_CLIENTS_EDITING','setItem','auth.needGotoLoginAlert','body','clearInterval','enableAuthServer','_unitStatus','map','_uiPartsService','deserializeToCombResponse','HttpImport','SetSelectionsOperation','with','USERS_ENTER','deleteCollaborator','off-line-single','YUUMI_RATE_OVER_LIMIT','IDLE','engine','[DataLoaderController]','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','INTERNAL_ERROR','&assign=','transformUndoRedo','[PendingState]:\x20received\x20acknowledgement.','_sessions','popstate','_injector','_getSignURL','textRanges','session.will-retry','symbol','Module','MergeInterceptorFactory','_getLoginPath','collab-client.tooltip.reconnect','getCurrentUnitForType','_redoStacks','DisposableCollection','_transformIMECache','_onJoinRoomEvent','_commentService','CHANGESET_REVISION_CONFILICT','reverse','HELLO','_drawAnchor','_state','onPointerLeave$','prototype','confirm','DeleteRangeMoveLeftCommandId','liveShareOperation','toDisposable','leaveEvent','beginPath','LOGIN_URL_KEY','Undefined','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','from','conflict','event$','_startSheetCollabCursor','tag','getSheetObject','next','subUnitId','_config','LICENSE_EXPORT_SIZE_EXCEEDED','Unknown\x20user','PERMISSION_DENIED','patch','startsWith','RxDisposable','snapshot','debounce','INGEST','_transformService','192UldgTN','0\x200\x2017\x2016','session','image/jpg','_entityInit$','SUCCUSS','idSuffix','throttleTime','YUUMI_URL_COL_OUT_OF_RANGE','SheetCollaborationEntity','_logService','_range','onPointerEnter$','put','joinEvent','readAsDataURL','session.room-full','attrs','addImageSourceCache','transformMutation','activeSheet$','_updateLocalCursor','createInstance','UnitSnapshot','_initCloseConn','onRendered','_getSheetObject','measureText','toggleOffline','VIEW_MAIN','/new_changes','EffectRefRangId','searchParams','saveSnapshot','doc.mutation.rich-text-editing','isActive','_commentUpdate$','_createInitialStateImpl','getParam','collabWebSocketUrl','CollaborationSessionService','m2Prime','_onConnectionOpen','/rev/','_getRedoStack','getConfig','_substituteRedoStack','commentUpdateEvent','apply','...','TEXT_RANGE_LAYER_INDEX','VIEWPORT_KEY','Error','requireSession','switchMap','collabStatus.synced','HttpExport','_beforeCloseService','all','flatMap','takeUntil','_userManagerService','Vector2','cursorInfo$','data','currentSkeleton$','collabStatus.conflict','LICENSE_DISTRO_REJECTED','\x20-\x20','synced','getRenderById','onload','href','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','unitID','collaboratorID','_name','then','font','UNIVER_SLIDE','loadOfflineData','UniverEngineFormula','_permissionService','getUnitOnRev','_getAPIPrefixPath','PERMISSION_REJ','collabStatus.fetchMiss','_retryConnectingTimer','awaiting_with_pending','mapDocumentTypeToUniverType','_transformRemoteChangesetByIMECache','row','_updateCollabCursors','CollaborationStatus','_sendingTimer','onMouseMove','_transformPreviousActiveRange','DocSkeletonManagerService','_incrementRevisionNumber','trim','status','_roomMembers$','_backgroundColor','UniverDocs','/resources','_isPermissionRej','_clearUndo','_renderManagerService','state$','_getUndoStack','FromArray','getWorkbookSelections','range','create','_getSnapshotAPIPrefix','eventID','none','_decreaseWaiting','encodeURIComponent','AuthzIoHttpService','shareReplay','COMPRESS_MUTATION_SEND','/fetchmissing?from=','_collabCursorState$','SheetCollabCursorShape','text','evenodd','translate(.97)','_retryCount','UNIVER_DOC','appendMutation','_imageSourceCache','transformChangesets','title','/universer-api/snapshot/','handleMoveRange','_schedule','roomInfos','LOCAL_CACHE_INTERVAL_KEY','getResourcesRequest','Shape','transformByState','closeSession','1em','UniverDocsUi','updateCollaborator','_transformStack','size','urlChange$','collaboration-session-retry','labelPosition','onRemoteRej','MSG_FOR_ERROR','_loadDoc','transformRemoteChangeset','handleInsertRangeMoveDown','_clearTimeoutTimer','createElement','_onRecvEvent','univer-pro.collaboration-client.single-active-unit-service','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','getOffsetConfig','onlineStatusIcon','_waitCount','handleDeleteRangeMoveUp','_event$','close','uploadFileServerUrl','UniverTelemetry','setActiveRange','getUniverSheetInstance','take','mutations','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','isTransformChangesetsSuccess','selection','image/gif','_document','/universer-api/oidc/authpage','UNIVER_SHEET','localeService','sessionStatus$','_undoRedoService','concat','JOIN','getActiveRange','changesets','_disabled','_sessionStatus$','_handleJoinEvent','baseRev','97124loCUml','onSyncEditingCollabCursor','&source=','getCollabEntity$','joinRsp','APPLY_NON_SEQUENTIAL_REVISION','round','BASE64','offline','_initStatusListener','_substituteUndoStack','registerHTTPInterceptor','_listenToOnlineEvent','triggerDblclick','registerBeforeClose','_themeService','rgba(255,\x20255,\x20255,\x200.01)','subunit','url(#on-line-single_clip0_910_349)','compose','responseType','currentColor','asObservable','updateOfflineData','@univerjs/sheets-ui','_telemetryInfo','FAIL','reconnect','arc','LIVESHARE_TERMINATE','_unlockTransition','has','COLLAB_SUBMIT_CHANGESET_URL_KEY','x-univer-host','length','_type','useCallback','Rect','pushState','getMember','react','_hideTimer','_remoteChangesetQueue','replaceState','target','COMPRESS_MUTATION_APPLY','subscribeEvent','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_createSocket','_removeCollabCursors','@univerjs/ui','RECV','SEND_CHANGESET_TIMEOUT','_scheduleSaving','show','TOO_MANY_REQUESTS','/universer-api/snapshot','downloadEndpointUrl','commentUpdate$','/universer-api/authz','reduce','telemetry\x20info\x20is\x20not\x20initialized','c1Prime','SNAPSHOT_SERVER_URL_KEY','_httpService','IConfigService','listRoles','APPLY_PERMISSION_DENIED','univer-online-status-title','IURLService','LEAVE','color','_getScale','COLLAB_WEB_SOCKET_URL_KEY','ACTIVE_UNIT_EVENT_CHANNEL','forEach','toString','action','icon','defineProperty','_drawTextRange','Univer','UniverCore','RegularPolygon','useDependency','hasOwnProperty','_messageService','newCsEvent','online','_onConflict','CollaborationController','CollaborationSocketService','_hover','ISnapshotServerService','sheetID','values','M0\x200H16V16H0z','UNKNOWN_CODE','status$','LIVESHARE_NEW_HOST','_listenToOfflineEvent','_docSkeleton','[OfflineState]:\x20received\x20acknowledgement.','onTransformIME','_clearCollaborationTimeoutTimer','userID','getCollabCursors$','onReady','@univerjs-pro/license','updateMember','rev','_onMessage','UnitEmbedded','/unit/','setParam','_roomMembers','conflict.title','_ensureSubject','_toggleOnline','setInterval','_localeService','ICommandService','AUTHZ_URL_KEY','NEW_CHANGESETS','LocalCacheService','FETCH_MISSING','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','merge','setShapeProps','transformMutationsWithChangeset','UniverCollaborationPlugin','_compressMutationService','_univerInstanceService','_docTransformSelectionsService','_render','addEventListener','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','clipPath','/universer-api/comb','BehaviorSubject','unitId\x20is\x20not\x20found','CHANGESET_ACK','getValue','[CollaborationUndoRedoService]','[CollaborationSession]','visibilityState','toStringTag','?size=','isPermissionRej','max','useObservable','_getDownloadEndpointURL','BuiltInUIPart','CONNECTOR_DATA_TOO_LARGE','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','_collaborationPaused','_onFetchMissResult','getCurrentSelections','_urlService','12vDalfR','ColorKit','CONFLICT','extend','OFFLINE','SetTextSelectionsOperation','displayName','_applyRemoteChangeset','LIVESHARE_REQUEST_HOST','error','executeCommand','stringify','saveOfflineData','onMissingChangesets','_acknowledgedAwaitingChangeset','_getAnchorBounding','_updateLocalCache','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_handler','connectInjector','_initCommandExecutedListener','registerRenderModule','unload','updateCursorEvent','_initRequestHeader','_onCombEvent','/universer-api/file/{fileID}/sign-url','_updateURLWithCurrentState','_tryReconnect','_change$','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','getCurrent','DataLoaderController','unsubscribe','_handleHeartbeatEvent','IBeforeCloseService','_docStateChangeManagerService','some','DocSelectionManagerService','SUBMIT_CHANGESET','_initModules','_context','entries','children','6AEslpG','getUnitId','createSocket','14ZnzazL','b64DecodeUnicode','getColor','toRgbString','getRelativeToViewportCoord','getRangePointData','_shouldReportTelemetry','_draw','_joinRoom','fetching\x20missing\x20changesets\x20from\x20','sheets','IMessageService','collabCursorState$','parseProtocolChangeset','_telemetryService','textEncoder','string','getCoordByCell','subscribe','ITransformService','_docSkeletonManagerService','CHANGESET_REJ','collab-text-anchor-','698491BByOeg','_socket','isTransformMutationFailure','call','_entities','_handleLeaveEvent','setTimeout','operators','location','socket\x20close','_submitChangeset','SheetSkeletonManagerService','_exhaustRemoteChangesetQueue','_scheduleTimestamp','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_socket$','fetchMiss','fromCollab','params','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','delay','Optional','unshift','csRejEvent','_onRemoteACK','rxjs','column','toggleOnline','@univerjs-pro/collaboration','getTypeOfUnitAdded$','onCommandExecuted','getInterceptPoints','every','SHOULD_CLOSE_CONN','disposeWithMe','LocalUndoRedoService','pluginName','InsertRangeMoveRightCommandId','getCollabEntity','DocStateChangeManagerService','_refRangeService','objectID','RefRangeService','_initMergeInterceptor','function','mergeOverrideWithDependencies','onPointerMove$','roomMembers$','@univerjs/docs-ui','@univerjs/docs','resourceIDs','_cursor','hide','closePath','_color','@univerjs/drawing','_replaceFileID','_collaborationController','_onRemoteChangeset','socket\x20open.','handleDeleteRangeMoveLeft','name','_sheetSkeletonManagerService','assign','_clearScheduledTask','selections','_drawRectRange','revision','3619780NBrTeL','collaMsg','_snapshotService','_initResize','SNAPSHOT_URL_KEY','_collabCursorController','@univerjs/engine-render','_ws','getTypeOfUnitDisposed$','_online','_removeRoom','SNAPSHOT_HAS_BEEN_REMOVED','_removeClearOtherTimer','_refreshCollabCursors','listCollaborators','moveTo','fetchMissingChangesets','dispose','add','/-/object/-/batch_allowed','setAlpha','IUndoRedoService','COMMENT_UPDATE','unknown','_id','number','initWorkbookPermissionChange','incrementRevOfUnit','AWAITING_WITH_PENDING','batchAllowed','contains','code','getDeserializedSheetBlock','getSheetBySheetId','isTransformMutationsWithChangesetSuccess','[CollaborationSessionService]','Warning','CollaborationEntity','InsertColCommandId','_status$','_initEventListeners','UniverCollaborationClientPlugin','isEditing','purple300','LICENSE_IMPORT_SIZE_EXCEEDED','getActiveSheet','_syncEditingCollabCursorService','red300','skeleton','_textBubble','LIVESHARE_FETCH_OPERATIONS','bottom','UniverCollaboration','_docSyncEditingCollabCursorService','ImageUploadStatusType','_getAPIPrefix','_getMergeRange','_saveTaskMap','DEFAULT_FILE_NAME','onSendChangeset','ws://127.0.0.1:8000/universer-api/comb/connect','_checkMissing','now','OTHER_CLIENTS_EDITING','@univerjs/telemetry','touchDependencies','IHTTPImplementation','_setupBeforeClosingHandler','whenReady','Rectangle','LIVESHARE_OPERATION','path','setCurrentUser','_startDocCollabCursor','editingUnit','updatePermissionObjEvent','_instanceService','blue400','registerRefRange','UNKNOWN_CMD','POST','lineTo','[CollaborationSessionService]:\x20socket\x20error','complete','_registerDependencies','MessageType','_tryEnsureSocket','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_revisionService','@univerjs/network','Tools','addObject','onTransformSelections','onMissedChangesetFetched','_scheduleHeartbeat','CollaborationStatusDisplay','removeMember','fill','div','onlyLocal','requestParams','substring','CommandType','\x20to\x20','parse','_syncEditingCollabCursor','_localCacheService','RevisionService','propertyIsEnumerable','fetchThroughInterceptors','_scene','_anchor','SheetPermissionInitController','fillRule','enableOfflineEditing','handleInsertRangeMoveRight','_state$','duration','/object/','_memberService','handleIRemoveCol','send','@univerjs/core','saveImage','_configService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','disableLocalCache','HEARTBEAT_INTERVAL','3386405pWxgCj','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_setupSubUnitSync','Subject','top','SetWorksheetActivateCommand','rxjs/operators','_labelPosition','getImage','getViewport','APPLY_REJECT','removeParam','SessionStatus','FileId','findNodePositionByCharIndex','collaboration-client.config','jiqing500','RemoveColCommandId','UniverDesign','HTTPRequest','SnapshotServerOverHTTPService','setWaitCount','roles','_timeoutTimer','JOINING','_selfUnitIDs','UNIVER_UNKNOWN','interceptor','ICollaborationSocketService','_getCurrentRevision','SYNCED','RETRY_CONNECTING_MAX_COUNT','@univerjs/engine-formula','height','find','_assignedColors','LICENSE_MAX_UNITS_EXCEEDED','NOT_FOUND','LocaleService','copyFileMeta','handleInsertRow','HEARTBEAT','collaboration.single-unit.warning','setUndoRedoMutationParamsCache','_clearOtherTimers','_colorIndex','open$','_scheduleCollaborationTimeoutTimer','close$','collabStatus.notCollab','off-line-single_clip0_910_343','collaboration_new_changeset','_startCollaboration','ERROR_IMAGE_TYPE','deepClone','url(#off-line-single_clip0_910_343)','ERROR_IMAGE','clearTimeout','CompressMutationService','_disableEditing','xlink:href','getUnhiddenWorksheets','verdancy600','parseChangesetToProtocol','UniverEngineRender','_replayCachedMutations','roomMembers','IImageIoService','result','dispose$','defs','_showConflictNotification','Injector','[OfflineState]:\x20received\x20rejection.','updatePermissionPoint','_sheetTransformSelectionsService','ONLINE','WebURLService','m1Prime','_executeRemoteChangeset','YUUMI_SUBSCRIPTION_NOT_FOUND','get','_onCursorDelete','getImageSourceCache','ImageIoService','UniverInstanceType','key','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','HTTPService','mapTo','ThresholdInterceptorFactory','debounceTime','isInternalEditorID','workbook','WorkbookEditablePermission','_getCtorByUniverType','awaiting','520240lBHzwG','_session','_createHandler','deserializeRangeWithSheet','_createInitialState','_awaitingChangeset','_unitOnClients','React','_registerRenderDependencies','_throwTelemetryCollaborationNewChangeset','IPermissionService','Disposable','collabStatus.syncing','fillText','image/bmp','ThemeService','indexOf','UNIVER_PROJECT','InsertRowCommandId','_transitionLocked','getSheetId','UNAUTHENTICATED','serializeRangeWithSheet','loadDoc','unit','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_shapes','_init','random','collabStatus.offline','_saveCache','catch','focused$','post','IUniverInstanceService','_notificationService','useRef','ITelemetryService','_clearRedo','[CollaborationEntity]','includes','NOT_COLLAB','debug','_hovered','getDocRanges','defIds','HEARTBEAT_INTERVAL_KEY','CollaborationEvent','CollaborationSession','EXCHANGE_SIGN_URL_SERVER_URL_KEY','[UniverCollaborationClientPlugin]','ImageSourceType','ILocalStorageService','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','headers','FETCH_MISS','UniverNetwork','_sendHeartbeat','stopTime','_collabSessionService','getAttachHeader','_candidateSocket','fromEvent','colorChannel1','putCollaborators'];_0x5047=function(){return _0x977508;};return _0x5047();}