@univerjs-pro/collaboration-client 0.4.2-nightly.202411051606 → 0.4.2-nightly.202411061606

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 _0x5275(_0x50a680,_0x426de0){const _0x2a28c9=_0x2a28();return _0x5275=function(_0x527586,_0x49d632){_0x527586=_0x527586-0x16d;let _0x55acbd=_0x2a28c9[_0x527586];return _0x55acbd;},_0x5275(_0x50a680,_0x426de0);}(function(_0x175c0a,_0x38cf0f){const _0x5f337c=_0x5275,_0x3368c3=_0x175c0a();while(!![]){try{const _0x459650=parseInt(_0x5f337c(0x2e8))/0x1*(-parseInt(_0x5f337c(0x4c9))/0x2)+parseInt(_0x5f337c(0x586))/0x3*(-parseInt(_0x5f337c(0x228))/0x4)+parseInt(_0x5f337c(0x4d4))/0x5*(parseInt(_0x5f337c(0x283))/0x6)+parseInt(_0x5f337c(0x1a7))/0x7*(parseInt(_0x5f337c(0x339))/0x8)+parseInt(_0x5f337c(0x537))/0x9*(parseInt(_0x5f337c(0x32d))/0xa)+-parseInt(_0x5f337c(0x4aa))/0xb*(parseInt(_0x5f337c(0x2a3))/0xc)+parseInt(_0x5f337c(0x5b3))/0xd*(parseInt(_0x5f337c(0x5e9))/0xe);if(_0x459650===_0x38cf0f)break;else _0x3368c3['push'](_0x3368c3['shift']());}catch(_0x11f248){_0x3368c3['push'](_0x3368c3['shift']());}}}(_0x2a28,0xab96a),function(_0x44b8cd,_0xd37cc4){const _0x69c7f5=_0x5275;typeof exports==_0x69c7f5(0x427)&&typeof module<'u'?_0xd37cc4(exports,require(_0x69c7f5(0x608)),require('rxjs'),require(_0x69c7f5(0x54f)),require(_0x69c7f5(0x2ea)),require(_0x69c7f5(0x275)),require(_0x69c7f5(0x4db)),require(_0x69c7f5(0x4d1)),require(_0x69c7f5(0x35c)),require(_0x69c7f5(0x264)),require(_0x69c7f5(0x248)),require(_0x69c7f5(0x1d0)),require('@univerjs/docs'),require(_0x69c7f5(0x1f0)),require(_0x69c7f5(0x35a)),require(_0x69c7f5(0x5a5)),require(_0x69c7f5(0x623)),require('@univerjs/rpc')):typeof define==_0x69c7f5(0x2e3)&&define['amd']?define(['exports',_0x69c7f5(0x608),'rxjs',_0x69c7f5(0x54f),_0x69c7f5(0x2ea),_0x69c7f5(0x275),_0x69c7f5(0x4db),_0x69c7f5(0x4d1),_0x69c7f5(0x35c),_0x69c7f5(0x264),_0x69c7f5(0x248),_0x69c7f5(0x1d0),'@univerjs/docs','@univerjs/drawing','@univerjs/engine-formula',_0x69c7f5(0x5a5),_0x69c7f5(0x623),_0x69c7f5(0x58a)],_0xd37cc4):(_0x44b8cd=typeof globalThis<'u'?globalThis:_0x44b8cd||self,_0xd37cc4(_0x44b8cd[_0x69c7f5(0x43d)]={},_0x44b8cd[_0x69c7f5(0x1ac)],_0x44b8cd[_0x69c7f5(0x366)],_0x44b8cd[_0x69c7f5(0x366)][_0x69c7f5(0x443)],_0x44b8cd[_0x69c7f5(0x28e)],_0x44b8cd['UniverUi'],_0x44b8cd[_0x69c7f5(0x3fd)],_0x44b8cd[_0x69c7f5(0x20a)],_0x44b8cd['UniverTelemetry'],_0x44b8cd[_0x69c7f5(0x26c)],_0x44b8cd[_0x69c7f5(0x581)],_0x44b8cd['UniverEngineRender'],_0x44b8cd[_0x69c7f5(0x20f)],_0x44b8cd[_0x69c7f5(0x17d)],_0x44b8cd[_0x69c7f5(0x1fe)],_0x44b8cd['UniverSheetsUi'],_0x44b8cd[_0x69c7f5(0x303)],_0x44b8cd[_0x69c7f5(0x32c)]));}(this,function(_0x539c7e,_0x4587e1,_0x3eec93,_0x18f07e,_0x40b71f,_0x3163bd,_0x108d2c,_0x215e4a,_0x5efb10,_0x28eee7,_0x27d820,_0x25d31a,_0x4844e7,_0x4fc574,_0x5c9de5,_0x23bfa7,_0x1e411a,_0x15b024){'use strict';const _0x2fa915=_0x5275;var _0x21a895=Object[_0x2fa915(0x44e)],_0x240df5=(_0x576a41,_0x53b34c,_0x32cd14)=>_0x53b34c in _0x576a41?_0x21a895(_0x576a41,_0x53b34c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x32cd14}):_0x576a41[_0x53b34c]=_0x32cd14,_0x339ceb=(_0x244049,_0x6665a5,_0x5d685a)=>_0x240df5(_0x244049,typeof _0x6665a5!=_0x2fa915(0x1d4)?_0x6665a5+'':_0x6665a5,_0x5d685a);const _0x1b173d=_0x2fa915(0x2c4),_0x425cf9=_0x2fa915(0x61a),_0xda4d44=_0x2fa915(0x20d),_0x434cfe=_0x2fa915(0x63d),_0x58836a=_0x2fa915(0x17b),_0x2e309e=_0x2fa915(0x2cf),_0x4a8a98=_0x2fa915(0x4cd),_0xa4064f='HEARTBEAT_TIMEOUT',_0xceef47='RETRY_CONNECTING_MAX_COUNT',_0x4c60f6=_0x2fa915(0x24c),_0xecaf7c=_0x2fa915(0x1c6),_0x5e7146=_0x2fa915(0x28f),_0x456ae0=_0x2fa915(0x332),_0x55ef78=_0x2fa915(0x2bf);var _0x58d884=(_0x4e257b=>(_0x4e257b[_0x4e257b[_0x2fa915(0x48a)]=0x0]=_0x2fa915(0x48a),_0x4e257b[_0x4e257b['OK']=0x1]='OK',_0x4e257b[_0x4e257b[_0x2fa915(0x496)]=0x2]=_0x2fa915(0x496),_0x4e257b[_0x4e257b[_0x2fa915(0x242)]=0x3]=_0x2fa915(0x242),_0x4e257b[_0x4e257b['NOT_FOUND']=0x4]=_0x2fa915(0x4b2),_0x4e257b[_0x4e257b[_0x2fa915(0x3a6)]=0x5]='UNAUTHENTICATED',_0x4e257b[_0x4e257b['ALREADY_EXISTS']=0x6]=_0x2fa915(0x499),_0x4e257b[_0x4e257b['INVALID_ARGUMENT']=0x7]=_0x2fa915(0x3d0),_0x4e257b[_0x4e257b[_0x2fa915(0x2ec)]=0x8]=_0x2fa915(0x2ec),_0x4e257b[_0x4e257b['COMPLETION_FINISHED']=0x9]=_0x2fa915(0x323),_0x4e257b[_0x4e257b[_0x2fa915(0x340)]=0x1389]=_0x2fa915(0x340),_0x4e257b[_0x4e257b[_0x2fa915(0x5d4)]=0x1771]=_0x2fa915(0x5d4),_0x4e257b[_0x4e257b[_0x2fa915(0x1ec)]=0x1772]=_0x2fa915(0x1ec),_0x4e257b[_0x4e257b[_0x2fa915(0x4a5)]=0x1773]=_0x2fa915(0x4a5),_0x4e257b[_0x4e257b[_0x2fa915(0x5f4)]=0x1b59]=_0x2fa915(0x5f4),_0x4e257b[_0x4e257b[_0x2fa915(0x454)]=0x1b5a]=_0x2fa915(0x454),_0x4e257b[_0x4e257b['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x2fa915(0x378),_0x4e257b[_0x4e257b[_0x2fa915(0x58d)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4e257b[_0x4e257b[_0x2fa915(0x5ac)]=0x1b5d]=_0x2fa915(0x5ac),_0x4e257b[_0x4e257b['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4e257b[_0x4e257b[_0x2fa915(0x451)]=0x2329]=_0x2fa915(0x451),_0x4e257b[_0x4e257b[_0x2fa915(0x39f)]=0x232a]=_0x2fa915(0x39f),_0x4e257b[_0x4e257b['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2fa915(0x216),_0x4e257b[_0x4e257b[_0x2fa915(0x481)]=0x232c]=_0x2fa915(0x481),_0x4e257b[_0x4e257b['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2fa915(0x38b),_0x4e257b[_0x4e257b[_0x2fa915(0x425)]=0x2711]=_0x2fa915(0x425),_0x4e257b[_0x4e257b[_0x2fa915(0x324)]=0x2712]=_0x2fa915(0x324),_0x4e257b[_0x4e257b[_0x2fa915(0x1b3)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4e257b[_0x4e257b[_0x2fa915(0x42f)]=0x2714]=_0x2fa915(0x42f),_0x4e257b[_0x4e257b['UNRECOGNIZED']=-0x1]=_0x2fa915(0x2dd),_0x4e257b))(_0x58d884||{}),_0xad4019=(_0x17c330=>(_0x17c330[_0x17c330['UNIVER_UNKNOWN']=0x0]=_0x2fa915(0x3fc),_0x17c330[_0x17c330[_0x2fa915(0x27b)]=0x1]=_0x2fa915(0x27b),_0x17c330[_0x17c330[_0x2fa915(0x3ee)]=0x2]=_0x2fa915(0x3ee),_0x17c330[_0x17c330[_0x2fa915(0x5a3)]=0x3]=_0x2fa915(0x5a3),_0x17c330[_0x17c330[_0x2fa915(0x4a6)]=0x4]=_0x2fa915(0x4a6),_0x17c330[_0x17c330[_0x2fa915(0x2dd)]=-0x1]='UNRECOGNIZED',_0x17c330))(_0xad4019||{}),_0x56802b=(_0x227c7a=>(_0x227c7a[_0x227c7a[_0x2fa915(0x57e)]=0x0]=_0x2fa915(0x57e),_0x227c7a[_0x227c7a[_0x2fa915(0x416)]=0x1]='HELLO',_0x227c7a[_0x227c7a[_0x2fa915(0x5a6)]=0x2]=_0x2fa915(0x5a6),_0x227c7a[_0x227c7a[_0x2fa915(0x38c)]=0x3]=_0x2fa915(0x38c),_0x227c7a[_0x227c7a[_0x2fa915(0x218)]=0x4]=_0x2fa915(0x218),_0x227c7a[_0x227c7a[_0x2fa915(0x359)]=0x5]=_0x2fa915(0x359),_0x227c7a[_0x227c7a[_0x2fa915(0x471)]=0x6]=_0x2fa915(0x471),_0x227c7a[_0x227c7a['UNRECOGNIZED']=-0x1]=_0x2fa915(0x2dd),_0x227c7a))(_0x56802b||{}),_0x247109=(_0x5e92dd=>(_0x5e92dd[_0x5e92dd[_0x2fa915(0x483)]=0x0]=_0x2fa915(0x483),_0x5e92dd[_0x5e92dd['OK']=0x1]='OK',_0x5e92dd[_0x5e92dd[_0x2fa915(0x5ad)]=0x2]=_0x2fa915(0x5ad),_0x5e92dd[_0x5e92dd['UNRECOGNIZED']=-0x1]=_0x2fa915(0x2dd),_0x5e92dd))(_0x247109||{}),_0x2ec092=(_0x525af4=>(_0x525af4[_0x525af4[_0x2fa915(0x542)]=0x0]='Undefined',_0x525af4[_0x525af4[_0x2fa915(0x377)]=0x1]=_0x2fa915(0x377),_0x525af4[_0x525af4[_0x2fa915(0x1f4)]=0x2]=_0x2fa915(0x1f4),_0x525af4[_0x525af4[_0x2fa915(0x1eb)]=0x3]='UnitEmbedded',_0x525af4[_0x525af4[_0x2fa915(0x23c)]=0x4]='UnitSnapshot',_0x525af4[_0x525af4[_0x2fa915(0x2dd)]=-0x1]=_0x2fa915(0x2dd),_0x525af4))(_0x2ec092||{});const _0x152bb8=_0x2fa915(0x192),_0x486456={};function _0x99cd90(_0xd97a1b){const _0x5538dd=_0x2fa915;var _0x4532b3,_0x2d883e,_0x547ce8,_0x2f6866,_0x29ca80;const _0x3d1250=_0xd97a1b[_0x5538dd(0x273)],_0x338001=JSON[_0x5538dd(0x3bf)](_0x3d1250);switch(_0x338001[_0x5538dd(0x281)]){case _0x56802b[_0x5538dd(0x359)]:case _0x56802b[_0x5538dd(0x416)]:{const _0x4268d7=_0x338001[_0x5538dd(0x2eb)];return{..._0x338001,'data':_0x4268d7,'cmd':_0x338001[_0x5538dd(0x281)]};}case _0x56802b[_0x5538dd(0x5a6)]:{const _0x111195=_0x338001[_0x5538dd(0x1c1)];return{..._0x338001,'data':_0x111195,'cmd':_0x338001[_0x5538dd(0x281)]};}case _0x56802b['RECV']:{const _0x3d30cc=_0x338001['collaMsg'];switch(_0x3d30cc['eventID']){case _0x215e4a[_0x5538dd(0x27c)][_0x5538dd(0x48f)]:return{..._0x338001,'data':{..._0x3d30cc,'data':(_0x4532b3=_0x3d30cc[_0x5538dd(0x5c0)])==null?void 0x0:_0x4532b3['cs']},'cmd':_0x338001['cmd']};case _0x215e4a[_0x5538dd(0x27c)][_0x5538dd(0x19e)]:return{..._0x338001,'data':{..._0x3d30cc,'data':(_0x2d883e=_0x3d30cc[_0x5538dd(0x32a)])==null?void 0x0:_0x2d883e['cs']},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a['CollaborationEvent'][_0x5538dd(0x4e7)]:return{..._0x338001,'data':{..._0x3d30cc,'data':(_0x547ce8=_0x3d30cc[_0x5538dd(0x5fc)])==null?void 0x0:_0x547ce8['cs']},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a[_0x5538dd(0x27c)][_0x5538dd(0x605)]:return{..._0x338001,'data':{..._0x3d30cc,'data':(_0x2f6866=_0x3d30cc[_0x5538dd(0x43c)])==null?void 0x0:_0x2f6866['cs']},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a[_0x5538dd(0x27c)][_0x5538dd(0x195)]:return{..._0x338001,'data':{..._0x3d30cc,'data':(_0x29ca80=_0x3d30cc['csShouldRetryEvent'])==null?void 0x0:_0x29ca80['cs']},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a[_0x5538dd(0x27c)][_0x5538dd(0x354)]:return{..._0x338001,'data':{..._0x3d30cc,'data':_0x3d30cc[_0x5538dd(0x5d5)]},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a['CollaborationEvent']['USERS_ENTER']:return{..._0x338001,'data':{..._0x3d30cc,'data':_0x3d30cc['joinEvent']},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a[_0x5538dd(0x27c)][_0x5538dd(0x614)]:return{..._0x338001,'data':{..._0x3d30cc,'data':_0x3d30cc[_0x5538dd(0x31f)]},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a[_0x5538dd(0x27c)]['LIVESHARE_NEW_HOST']:return{..._0x338001,'data':{..._0x3d30cc,'data':_0x3d30cc[_0x5538dd(0x310)]},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a['CollaborationEvent'][_0x5538dd(0x469)]:case _0x215e4a[_0x5538dd(0x27c)]['LIVESHARE_OPERATION']:return{..._0x338001,'data':{..._0x3d30cc,'data':_0x3d30cc[_0x5538dd(0x3bc)]},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a['CollaborationEvent'][_0x5538dd(0x53a)]:return{..._0x338001,'data':{..._0x3d30cc,'data':_0x3d30cc[_0x5538dd(0x310)]},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a[_0x5538dd(0x27c)]['MSG_FOR_ERROR']:return{..._0x338001,'data':_0x3d30cc,'cmd':_0x338001['cmd']};case _0x215e4a[_0x5538dd(0x27c)][_0x5538dd(0x55b)]:return{..._0x338001,'data':{..._0x3d30cc,'data':_0x3d30cc[_0x5538dd(0x3d4)]},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a[_0x5538dd(0x27c)]['UPDATE_PERMISSION_OBJ']:return{..._0x338001,'data':{..._0x3d30cc,'data':_0x3d30cc['updatePermissionObjEvent']},'cmd':_0x338001[_0x5538dd(0x281)]};case _0x215e4a[_0x5538dd(0x27c)][_0x5538dd(0x616)]:return{..._0x338001,'data':{..._0x3d30cc,'data':_0x3d30cc[_0x5538dd(0x46f)]},'cmd':_0x338001[_0x5538dd(0x281)]};default:return _0x338001;}}default:return _0x338001;}}function _0x40533c(_0xf537cb){const _0x28483c=_0x2fa915;switch(_0xf537cb[_0x28483c(0x281)]){case _0x56802b[_0x28483c(0x359)]:case _0x56802b[_0x28483c(0x416)]:return JSON[_0x28483c(0x621)]({'cmd':_0xf537cb['cmd'],'routeKey':_0xf537cb[_0x28483c(0x457)]});case _0x56802b[_0x28483c(0x218)]:{let _0x736dde;switch(_0xf537cb[_0x28483c(0x273)][_0x28483c(0x526)]){case _0x215e4a[_0x28483c(0x27c)][_0x28483c(0x354)]:{_0x736dde={'eventID':_0x215e4a[_0x28483c(0x27c)]['UPDATE_CURSOR'],'updateCursorEvent':_0xf537cb[_0x28483c(0x273)]['data']};break;}case _0x215e4a[_0x28483c(0x27c)][_0x28483c(0x614)]:{_0x736dde={'eventID':_0x215e4a['CollaborationEvent'][_0x28483c(0x614)],'leaveEvent':_0xf537cb[_0x28483c(0x273)][_0x28483c(0x273)]};break;}case _0x215e4a[_0x28483c(0x27c)]['USERS_ENTER']:{_0x736dde={'eventID':_0x215e4a['CollaborationEvent'][_0x28483c(0x352)],'joinEvent':_0xf537cb[_0x28483c(0x273)][_0x28483c(0x273)]};break;}case _0x215e4a[_0x28483c(0x27c)][_0x28483c(0x3e5)]:{_0x736dde={'eventID':_0x215e4a[_0x28483c(0x27c)][_0x28483c(0x3e5)],'liveShareNewHost':_0xf537cb[_0x28483c(0x273)]['data']};break;}case _0x215e4a[_0x28483c(0x27c)][_0x28483c(0x5b9)]:{_0x736dde={'eventID':_0x215e4a['CollaborationEvent'][_0x28483c(0x5b9)],'liveShareOperation':_0xf537cb[_0x28483c(0x273)][_0x28483c(0x273)]};break;}case _0x215e4a[_0x28483c(0x27c)][_0x28483c(0x53a)]:{_0x736dde={'eventID':_0x215e4a[_0x28483c(0x27c)][_0x28483c(0x53a)],'liveShareTerminate':_0xf537cb[_0x28483c(0x273)]['data']};break;}case _0x215e4a['CollaborationEvent'][_0x28483c(0x4e9)]:{_0x736dde={'eventID':_0x215e4a['CollaborationEvent'][_0x28483c(0x4e9)],'liveShareRequestHost':_0xf537cb[_0x28483c(0x273)][_0x28483c(0x273)]};break;}case _0x215e4a['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0x736dde={'eventID':_0x215e4a[_0x28483c(0x27c)][_0x28483c(0x469)]};break;}default:_0x736dde={'eventID':_0xf537cb[_0x28483c(0x273)][_0x28483c(0x526)]};}return JSON[_0x28483c(0x621)]({'cmd':_0xf537cb[_0x28483c(0x281)],'routeKey':_0xf537cb['routeKey'],'collaMsg':_0x736dde});}case _0x56802b[_0x28483c(0x5a6)]:return JSON['stringify']({'cmd':_0xf537cb['cmd'],'routeKey':_0xf537cb['routeKey'],'joinReq':_0xf537cb[_0x28483c(0x273)]});case _0x56802b['LEAVE']:return JSON['stringify']({'cmd':_0xf537cb['cmd'],'routeKey':_0xf537cb[_0x28483c(0x457)],'leaveReq':_0xf537cb[_0x28483c(0x273)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x24f25a=Object[_0x2fa915(0x44e)],_0x45ab47=Object[_0x2fa915(0x569)],_0x1c3a1d=(_0x262e67,_0x4e1d85,_0xac4b9,_0x23fc85)=>{for(var _0x1f933d=_0x23fc85>0x1?void 0x0:_0x23fc85?_0x45ab47(_0x4e1d85,_0xac4b9):_0x4e1d85,_0x50a17f=_0x262e67['length']-0x1,_0x52ed42;_0x50a17f>=0x0;_0x50a17f--)(_0x52ed42=_0x262e67[_0x50a17f])&&(_0x1f933d=(_0x23fc85?_0x52ed42(_0x4e1d85,_0xac4b9,_0x1f933d):_0x52ed42(_0x1f933d))||_0x1f933d);return _0x23fc85&&_0x1f933d&&_0x24f25a(_0x4e1d85,_0xac4b9,_0x1f933d),_0x1f933d;},_0x2d36f9=(_0x333109,_0x427b3a)=>(_0x223b5,_0xc8f112)=>_0x427b3a(_0x223b5,_0xc8f112,_0x333109);const _0x5a365e=_0x4587e1[_0x2fa915(0x22c)]('univer-pro.collaboration-client-socket-service');function _0x3671c0(_0x1b50bf,_0x3053d4,_0x521c9b){const _0x2c7cbc=_0x2fa915;return _0x1b50bf+'/'+_0x3053d4+_0x2c7cbc(0x2f8)+_0x521c9b+'/new_changes';}_0x539c7e[_0x2fa915(0x629)]=class extends _0x4587e1[_0x2fa915(0x552)]{constructor(_0x4d5547,_0x4090d7,_0x18f7ae,_0x4f1576,_0x5e1b1c){const _0x4a2ae0=_0x2fa915;super(),this[_0x4a2ae0(0x331)]=_0x4d5547,this[_0x4a2ae0(0x5da)]=_0x4090d7,this['_configService']=_0x18f7ae,this[_0x4a2ae0(0x43a)]=_0x4f1576,this[_0x4a2ae0(0x3d1)]=_0x5e1b1c;}[_0x2fa915(0x452)](_0x367e16){const _0x27e409=_0x2fa915,_0x483380=this[_0x27e409(0x5da)]['createSocket'](_0x367e16);if(!_0x483380)throw new Error(_0x27e409(0x198));const _0x738fe9=new _0x4587e1[(_0x27e409(0x36f))](),_0x4b2ec5=new _0x3eec93[(_0x27e409(0x5c5))]();_0x738fe9[_0x27e409(0x1db)](_0x483380['close$']['subscribe'](_0x401d80=>_0x4b2ec5[_0x27e409(0x1c9)](_0x401d80))),_0x738fe9[_0x27e409(0x1db)](_0x4587e1[_0x27e409(0x2a6)](()=>_0x4b2ec5[_0x27e409(0x2e2)]()));const _0x1dc4df=new _0x3eec93[(_0x27e409(0x5c5))]();_0x738fe9[_0x27e409(0x1db)](_0x483380[_0x27e409(0x56f)][_0x27e409(0x447)](_0x16e7df=>_0x1dc4df[_0x27e409(0x1c9)](_0x16e7df))),_0x738fe9[_0x27e409(0x1db)](_0x4587e1[_0x27e409(0x2a6)](()=>_0x1dc4df['complete']()));const _0x5ed8dc=new _0x3eec93[(_0x27e409(0x5c5))]();_0x738fe9[_0x27e409(0x1db)](_0x483380[_0x27e409(0x1c0)][_0x27e409(0x447)](_0x11a9b5=>{const _0x57adc5=_0x99cd90(_0x11a9b5);_0x5ed8dc['next'](_0x57adc5);})),_0x738fe9[_0x27e409(0x1db)](_0x4587e1[_0x27e409(0x2a6)](()=>_0x5ed8dc[_0x27e409(0x2e2)]()));let _0x6f5c87;const _0x5ab00b=()=>{const _0x5ddc8a=_0x27e409;_0x1dc4df[_0x5ddc8a(0x1c9)](new Event('connection\x20error')),_0x4b2ec5[_0x5ddc8a(0x1c9)](new CloseEvent(_0x5ddc8a(0x260))),_0x6f5c87['close']();};return _0x6f5c87={'memberID':'','close$':_0x4b2ec5['asObservable'](),'error$':_0x1dc4df[_0x27e409(0x630)](),'open$':_0x483380['open$'],'message$':_0x5ed8dc[_0x27e409(0x630)](),'send':_0x30c3e8=>{const _0x43f547=_0x27e409;if(_0x30c3e8['cmd']===_0x56802b[_0x43f547(0x218)]){if(_0x30c3e8['data'][_0x43f547(0x526)]===_0x215e4a[_0x43f547(0x27c)][_0x43f547(0x1a1)]){this[_0x43f547(0x3d9)](_0x6f5c87,_0x30c3e8[_0x43f547(0x273)])[_0x43f547(0x5cf)](_0x530497=>{const _0x589f73=_0x43f547;this[_0x589f73(0x43a)]['error'](_0x530497),_0x5ab00b();});return;}if(_0x30c3e8[_0x43f547(0x273)][_0x43f547(0x526)]===_0x215e4a[_0x43f547(0x27c)][_0x43f547(0x468)]){const _0x181ef9=_0x30c3e8[_0x43f547(0x273)];this[_0x43f547(0x2b9)](_0x181ef9)['then'](_0x44dc81=>{const _0x2ff868=_0x43f547;_0x5ed8dc['next']({'cmd':_0x56802b['RECV'],'code':_0x247109['OK'],'routeKey':_0x181ef9[_0x2ff868(0x273)][_0x2ff868(0x2d1)],'routeType':'','data':{'eventID':_0x215e4a[_0x2ff868(0x27c)][_0x2ff868(0x478)],'data':{'changesets':_0x44dc81}}});})[_0x43f547(0x5cf)](_0x36ac19=>{const _0x40a980=_0x43f547;this[_0x40a980(0x43a)][_0x40a980(0x3a9)](_0x36ac19),_0x5ab00b();});return;}}_0x483380['send'](_0x40533c(_0x30c3e8));},'close':()=>{const _0x3f2d75=_0x27e409;_0x483380[_0x3f2d75(0x33c)](),_0x738fe9['dispose']();}},_0x6f5c87;}async[_0x2fa915(0x3d9)](_0x43a99a,_0x17702c){const _0x253659=_0x2fa915;var _0x5e3384,_0x1d91dd;const {unitType:_0x42dee0,unitID:_0x4bd580,changeset:_0x555ccf}=_0x17702c[_0x253659(0x273)],_0x584fcc={'unitID':_0x4bd580,'memberID':_0x43a99a[_0x253659(0x59f)],'type':_0x42dee0,'changeset':_0x215e4a[_0x253659(0x57a)](_0x555ccf)},_0x5ec258=this[_0x253659(0x4e4)][_0x253659(0x185)](_0xecaf7c),_0xd3f6fa=this[_0x253659(0x4e4)][_0x253659(0x185)](_0x152bb8),_0x1e5fe8=_0x3671c0((_0x1d91dd=(_0x5e3384=_0xd3f6fa==null?void 0x0:_0xd3f6fa[_0x253659(0x4b8)])!=null?_0x5e3384:_0x5ec258)!=null?_0x1d91dd:_0x5e7146,_0x42dee0,_0x4bd580);try{await this[_0x253659(0x331)][_0x253659(0x321)](_0x1e5fe8,{'body':_0x584fcc});}catch(_0x359b03){throw this[_0x253659(0x43a)][_0x253659(0x3a9)](_0x253659(0x1ea),'submit\x20changeset\x20error!'),_0x359b03;}}async['_fetchMissChangesets'](_0x5a84e6){const _0xa99e2d=_0x2fa915,{unitID:_0x3bbe5e,from:_0x415e64,to:_0x5ed20a,unitType:_0x471aa7}=_0x5a84e6['data'];return(await this['_snapshotServerService'][_0xa99e2d(0x4ef)]({'metadata':void 0x0},{'unitID':_0x3bbe5e,'type':_0x471aa7,'from':_0x415e64,'to':_0x5ed20a}))[_0xa99e2d(0x3d7)];}},_0x539c7e[_0x2fa915(0x629)]=_0x1c3a1d([_0x2d36f9(0x0,_0x4587e1[_0x2fa915(0x42b)](_0x108d2c[_0x2fa915(0x49f)])),_0x2d36f9(0x1,_0x4587e1[_0x2fa915(0x42b)](_0x108d2c[_0x2fa915(0x436)])),_0x2d36f9(0x2,_0x4587e1['IConfigService']),_0x2d36f9(0x3,_0x4587e1[_0x2fa915(0x62b)]),_0x2d36f9(0x4,_0x215e4a['ISnapshotServerService'])],_0x539c7e[_0x2fa915(0x629)]);const _0x5a4a34=_0x2fa915(0x2ab);function _0x21d7a0(_0x28e0c8){const _0x274097=_0x2fa915;return JSON[_0x274097(0x621)](_0x28e0c8)[_0x274097(0x4d9)];}class _0x2707ce{constructor(){const _0x83603c=_0x2fa915;_0x339ceb(this,'_commentUpdate$',new _0x3eec93[(_0x83603c(0x5c5))]()),_0x339ceb(this,'commentUpdate$',this[_0x83603c(0x26f)][_0x83603c(0x630)]());}[_0x2fa915(0x448)](_0x431986){const _0x328ab2=_0x2fa915;this[_0x328ab2(0x26f)][_0x328ab2(0x1c9)](_0x431986);}}var _0x2cbb12=Object[_0x2fa915(0x44e)],_0x36930b=Object[_0x2fa915(0x569)],_0x1f1db8=(_0x1ee003,_0x21c276,_0x1ee03a,_0x9f66eb)=>{const _0x5aa6b6=_0x2fa915;for(var _0x1edafb=_0x9f66eb>0x1?void 0x0:_0x9f66eb?_0x36930b(_0x21c276,_0x1ee03a):_0x21c276,_0x540715=_0x1ee003[_0x5aa6b6(0x4d9)]-0x1,_0x1361c0;_0x540715>=0x0;_0x540715--)(_0x1361c0=_0x1ee003[_0x540715])&&(_0x1edafb=(_0x9f66eb?_0x1361c0(_0x21c276,_0x1ee03a,_0x1edafb):_0x1361c0(_0x1edafb))||_0x1edafb);return _0x9f66eb&&_0x1edafb&&_0x2cbb12(_0x21c276,_0x1ee03a,_0x1edafb),_0x1edafb;},_0x5db39b=(_0x9da61b,_0x44d342)=>(_0x30249e,_0x377ac3)=>_0x44d342(_0x30249e,_0x377ac3,_0x9da61b);_0x539c7e[_0x2fa915(0x1d1)]=class extends _0x4587e1[_0x2fa915(0x552)]{constructor(_0x18377c,_0xccca06){const _0x4eb843=_0x2fa915;super(),_0x339ceb(this,'_roomMembers',new Map()),(this[_0x4eb843(0x3c1)]=_0x18377c,this[_0x4eb843(0x41d)]=_0xccca06,this['disposeWithMe'](_0x4587e1[_0x4eb843(0x2a6)](_0x3eec93[_0x4eb843(0x538)](this['_univerInstanceService'][_0x4eb843(0x267)](_0x4587e1[_0x4eb843(0x637)][_0x4eb843(0x3ee)])[_0x4eb843(0x276)](_0x18f07e[_0x4eb843(0x252)](_0x1ce9a3=>_0x1ce9a3[_0x4eb843(0x1d9)]())),this['_univerInstanceService'][_0x4eb843(0x267)](_0x4587e1[_0x4eb843(0x637)][_0x4eb843(0x27b)])[_0x4eb843(0x276)](_0x18f07e[_0x4eb843(0x252)](_0x5a60a6=>_0x5a60a6[_0x4eb843(0x1d9)]())),this[_0x4eb843(0x3c1)]['getTypeOfUnitDisposed$'](_0x4587e1[_0x4eb843(0x637)][_0x4eb843(0x5a3)])['pipe'](_0x18f07e[_0x4eb843(0x252)](_0x32b294=>_0x32b294[_0x4eb843(0x1d9)]())))[_0x4eb843(0x447)](_0x31e5ba=>this[_0x4eb843(0x45e)](_0x31e5ba)))));}[_0x2fa915(0x249)](_0x193945){const _0x283607=_0x2fa915;this[_0x283607(0x41d)][_0x283607(0x249)](_0x193945);}['getCurrentUser'](){const _0x456e23=_0x2fa915;return this[_0x456e23(0x41d)]['getCurrentUser']();}[_0x2fa915(0x57b)](_0x3c1251,_0x313de9){const _0x1d8c4f=_0x2fa915;let _0x2b917d=this[_0x1d8c4f(0x426)][_0x1d8c4f(0x4a0)](_0x3c1251);_0x2b917d||(_0x2b917d=new _0x27d680(),this[_0x1d8c4f(0x426)][_0x1d8c4f(0x498)](_0x3c1251,_0x2b917d)),_0x2b917d[_0x1d8c4f(0x57b)](_0x313de9);}[_0x2fa915(0x258)](_0x54df90,_0x32af1d){const _0x37b929=_0x2fa915,_0xc13c0a=this[_0x37b929(0x426)][_0x37b929(0x4a0)](_0x54df90);_0xc13c0a&&_0xc13c0a[_0x37b929(0x258)](_0x32af1d);}['getRoom'](_0x14b4e8){const _0x290d9a=_0x2fa915;return this[_0x290d9a(0x426)][_0x290d9a(0x4a0)](_0x14b4e8);}[_0x2fa915(0x438)](_0x3e5cc6,_0x23e76c){const _0x6cddc1=_0x2fa915,_0x31d286=this['_roomMembers']['get'](_0x3e5cc6);if(_0x31d286)return _0x31d286[_0x6cddc1(0x438)](_0x23e76c);}['_removeRoom'](_0x2ca70c){const _0x52a8d=_0x2fa915,_0x3bb366=this['_roomMembers'][_0x52a8d(0x4a0)](_0x2ca70c);_0x3bb366&&(_0x3bb366[_0x52a8d(0x3ea)](),this[_0x52a8d(0x426)]['delete'](_0x2ca70c));}[_0x2fa915(0x3ea)](){const _0x229123=_0x2fa915;this[_0x229123(0x426)]['forEach'](_0x4969e0=>_0x4969e0[_0x229123(0x3ea)]()),this[_0x229123(0x426)][_0x229123(0x385)]();}},_0x539c7e[_0x2fa915(0x1d1)]=_0x1f1db8([_0x5db39b(0x0,_0x4587e1[_0x2fa915(0x53b)]),_0x5db39b(0x1,_0x4587e1['Inject'](_0x4587e1['UserManagerService']))],_0x539c7e[_0x2fa915(0x1d1)]);class _0x27d680 extends _0x4587e1['Disposable']{constructor(){const _0x3e266d=_0x2fa915;super(...arguments),_0x339ceb(this,_0x3e266d(0x45b),new Map());}[_0x2fa915(0x3ea)](){const _0x42d128=_0x2fa915;this[_0x42d128(0x45b)]['clear']();}[_0x2fa915(0x57b)](_0x50d120){const _0xda6176=_0x2fa915;this[_0xda6176(0x45b)][_0xda6176(0x498)](_0x50d120[_0xda6176(0x59f)],_0x50d120);}[_0x2fa915(0x258)](_0x46e09e){const _0x1495fd=_0x2fa915;this[_0x1495fd(0x45b)][_0x1495fd(0x4e2)](_0x46e09e);}[_0x2fa915(0x438)](_0x56ae5e){const _0x3a9dc2=_0x2fa915;return this[_0x3a9dc2(0x45b)][_0x3a9dc2(0x4a0)](_0x56ae5e);}['getAllMembers'](){const _0x368d14=_0x2fa915;return Array[_0x368d14(0x3e0)](this['_members'][_0x368d14(0x291)]());}}var _0x4ad358=Object[_0x2fa915(0x44e)],_0x218a35=Object[_0x2fa915(0x569)],_0x3865de=(_0xb44740,_0x5205c7,_0xa24894,_0x471f08)=>{const _0x26422c=_0x2fa915;for(var _0x3594a2=_0x471f08>0x1?void 0x0:_0x471f08?_0x218a35(_0x5205c7,_0xa24894):_0x5205c7,_0xc81536=_0xb44740[_0x26422c(0x4d9)]-0x1,_0x3e4524;_0xc81536>=0x0;_0xc81536--)(_0x3e4524=_0xb44740[_0xc81536])&&(_0x3594a2=(_0x471f08?_0x3e4524(_0x5205c7,_0xa24894,_0x3594a2):_0x3e4524(_0x3594a2))||_0x3594a2);return _0x471f08&&_0x3594a2&&_0x4ad358(_0x5205c7,_0xa24894,_0x3594a2),_0x3594a2;},_0x1be4d5=(_0x1aa5dd,_0x2c32b7)=>(_0x540f5b,_0x3e3283)=>_0x2c32b7(_0x540f5b,_0x3e3283,_0x1aa5dd),_0x474ede=(_0x2d6e82=>(_0x2d6e82[_0x2d6e82[_0x2fa915(0x3d5)]=0x0]='IDLE',_0x2d6e82[_0x2d6e82['JOINING']=0x1]=_0x2fa915(0x1da),_0x2d6e82[_0x2d6e82[_0x2fa915(0x3c4)]=0x2]=_0x2fa915(0x3c4),_0x2d6e82[_0x2d6e82[_0x2fa915(0x36e)]=0x3]=_0x2fa915(0x36e),_0x2d6e82))(_0x474ede||{});_0x539c7e['CollaborationSession']=class extends _0x4587e1['RxDisposable']{constructor(_0x2e8a32,_0x3c67d7,_0x5835da,_0x528688,_0x1a4f92,_0x518958,_0x27705e,_0x70d335,_0x10c9cc,_0x1f23e4){const _0x403fac=_0x2fa915;super(),_0x339ceb(this,_0x403fac(0x304),new _0x3eec93['BehaviorSubject'](0x0)),_0x339ceb(this,_0x403fac(0x376),this[_0x403fac(0x304)]['asObservable']()),_0x339ceb(this,_0x403fac(0x20c),new _0x3eec93[(_0x403fac(0x5c5))]()),_0x339ceb(this,_0x403fac(0x4ca),this[_0x403fac(0x20c)][_0x403fac(0x630)]()),_0x339ceb(this,'_socket'),_0x339ceb(this,_0x403fac(0x285)),_0x339ceb(this,_0x403fac(0x463)),_0x339ceb(this,'_shouldReportTelemetry',!0x1),_0x339ceb(this,_0x403fac(0x488),null),(this[_0x403fac(0x42e)]=_0x2e8a32,this[_0x403fac(0x43a)]=_0x5835da,this['_beforeCloseService']=_0x528688,this[_0x403fac(0x1c4)]=_0x1a4f92,this[_0x403fac(0x4e4)]=_0x518958,this[_0x403fac(0x497)]=_0x27705e,this[_0x403fac(0x226)]=_0x70d335,this[_0x403fac(0x1a4)]=_0x10c9cc,this[_0x403fac(0x38d)]=_0x1f23e4,this[_0x403fac(0x3b6)]=!!this[_0x403fac(0x38d)],_0x3c67d7[_0x403fac(0x276)](_0x3eec93[_0x403fac(0x2b3)](this[_0x403fac(0x1ad)]))['subscribe'](_0x23aebc=>{const _0x42e131=_0x403fac;var _0x507006;typeof _0x23aebc>'u'||(this[_0x42e131(0x533)]=_0x23aebc,_0x23aebc?(this['_joinRoom'](_0x23aebc),this[_0x42e131(0x285)]=_0x23aebc[_0x42e131(0x1c0)][_0x42e131(0x447)](_0x1bf445=>{const _0x273750=_0x42e131;_0x1bf445[_0x273750(0x457)]===this[_0x273750(0x42e)]&&this[_0x273750(0x3f7)](_0x1bf445);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x42e131(0x304)][_0x42e131(0x1c9)](0x2),(_0x507006=this[_0x42e131(0x285)])==null||_0x507006['unsubscribe'](),this['_socketMessageSubscription']=null));}),this[_0x403fac(0x211)](this[_0x403fac(0x28d)][_0x403fac(0x519)](()=>{const _0x552d62=_0x403fac;var _0xe10d5b;(_0xe10d5b=this[_0x552d62(0x533)])==null||_0xe10d5b[_0x552d62(0x5aa)]({'cmd':_0x56802b[_0x552d62(0x38c)],'data':{'roomID':this[_0x552d62(0x42e)]}});})));}get[_0x2fa915(0x1b2)](){const _0xfc3f92=_0x2fa915;return this[_0xfc3f92(0x304)][_0xfc3f92(0x262)]();}[_0x2fa915(0x4c8)](){const _0x557a24=_0x2fa915;var _0x1ae03f,_0x31218e;return(_0x31218e=(_0x1ae03f=this['_socket'])==null?void 0x0:_0x1ae03f[_0x557a24(0x59f)])!=null?_0x31218e:null;}[_0x2fa915(0x3ea)](){const _0x57c5e2=_0x2fa915;super[_0x57c5e2(0x3ea)](),this['dispose$'][_0x57c5e2(0x1c9)](),this[_0x57c5e2(0x1ad)]['complete']();}[_0x2fa915(0x33c)](){const _0x3ec766=_0x2fa915;var _0x1ea514,_0x32d139;this['_throwTelemetryCollaborationNewChangeset'](),(_0x1ea514=this[_0x3ec766(0x533)])==null||_0x1ea514['send']({'cmd':_0x56802b[_0x3ec766(0x38c)],'data':{'roomID':this['_unitID']}}),(_0x32d139=this['_socket'])==null||_0x32d139[_0x3ec766(0x33c)](),this['_event$'][_0x3ec766(0x2e2)](),this[_0x3ec766(0x304)][_0x3ec766(0x2e2)](),this[_0x3ec766(0x3ea)]();}[_0x2fa915(0x3f7)](_0x290e68){const _0x5a3ef5=_0x2fa915;_0x290e68[_0x5a3ef5(0x281)]===_0x56802b['JOIN']?this[_0x5a3ef5(0x2de)](_0x290e68):_0x290e68[_0x5a3ef5(0x281)]===_0x56802b['RECV']&&this[_0x5a3ef5(0x49e)](_0x290e68);}[_0x2fa915(0x3e4)](_0x2533fe){const _0x3c3dce=_0x2fa915;this['_sessionStatus$'][_0x3c3dce(0x1c9)](0x1),_0x2533fe['send']({'cmd':_0x56802b['JOIN'],'routeKey':this[_0x3c3dce(0x42e)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3c3dce(0x42e)]}]}});}['_onJoinRoomEvent'](_0xfeabc0){const _0x2a2f22=_0x2fa915;var _0x23ae36;if(_0xfeabc0[_0x2a2f22(0x55e)]===_0x247109['FAIL']){this['_messageService'][_0x2a2f22(0x1ca)]({'type':_0x40b71f[_0x2a2f22(0x219)][_0x2a2f22(0x415)],'content':this[_0x2a2f22(0x497)]['t'](_0x2a2f22(0x4e0))}),this[_0x2a2f22(0x304)][_0x2a2f22(0x1c9)](0x2);return;}this['_sessionStatus$'][_0x2a2f22(0x1c9)](0x3);const _0x21a275=(_0x23ae36=_0xfeabc0[_0x2a2f22(0x273)]['roomInfos'][this[_0x2a2f22(0x42e)]])==null?void 0x0:_0x23ae36[_0x2a2f22(0x580)];_0x21a275&&_0x21a275[_0x2a2f22(0x34b)](_0x47f556=>this[_0x2a2f22(0x226)][_0x2a2f22(0x57b)](this[_0x2a2f22(0x42e)],_0x47f556));}['_onRecvEvent'](_0x4feae3){const _0x19e98d=_0x2fa915;try{const _0x238960=_0x4feae3[_0x19e98d(0x273)];switch(_0x238960[_0x19e98d(0x526)]){case _0x215e4a[_0x19e98d(0x27c)][_0x19e98d(0x352)]:this['_onUserJoin'](_0x238960),this[_0x19e98d(0x20c)]['next'](_0x238960);break;case _0x215e4a[_0x19e98d(0x27c)][_0x19e98d(0x614)]:this[_0x19e98d(0x357)](_0x238960),this[_0x19e98d(0x20c)][_0x19e98d(0x1c9)](_0x238960);break;case _0x215e4a['CollaborationEvent'][_0x19e98d(0x19e)]:case _0x215e4a[_0x19e98d(0x27c)][_0x19e98d(0x195)]:this[_0x19e98d(0x544)](),this[_0x19e98d(0x1f5)](),this[_0x19e98d(0x20c)][_0x19e98d(0x1c9)](_0x238960);break;case _0x215e4a[_0x19e98d(0x27c)][_0x19e98d(0x1a9)]:this['_logService'][_0x19e98d(0x3a9)](_0x19e98d(0x33b)+JSON[_0x19e98d(0x621)](_0x238960)),this[_0x19e98d(0x20c)]['next'](_0x238960);break;case _0x215e4a[_0x19e98d(0x27c)][_0x19e98d(0x55b)]:this[_0x19e98d(0x1a4)][_0x19e98d(0x448)](_0x238960[_0x19e98d(0x273)]),this['_event$'][_0x19e98d(0x1c9)](_0x238960);break;default:this[_0x19e98d(0x20c)][_0x19e98d(0x1c9)](_0x238960);}}catch(_0x8435e9){this[_0x19e98d(0x43a)]['error'](_0x8435e9,_0x4feae3);}}[_0x2fa915(0x274)](_0x53dc53){const _0x23270b=_0x2fa915;this[_0x23270b(0x226)][_0x23270b(0x57b)](this[_0x23270b(0x42e)],_0x53dc53[_0x23270b(0x273)]);}[_0x2fa915(0x357)](_0x54064d){const _0x2db3e7=_0x2fa915;this[_0x2db3e7(0x226)]['removeMember'](this[_0x2db3e7(0x42e)],_0x54064d['data']['memberID']);}async[_0x2fa915(0x5aa)](_0x8f789e,_0x3a7892){const _0x3e0376=_0x2fa915;if(this[_0x3e0376(0x1b2)]!==0x3||!this[_0x3e0376(0x533)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x8f789e['eventID']===_0x215e4a[_0x3e0376(0x27c)][_0x3e0376(0x1a1)]&&(this[_0x3e0376(0x17f)](),this[_0x3e0376(0x35f)](_0x8f789e)),this[_0x3e0376(0x533)][_0x3e0376(0x5aa)]({'cmd':_0x56802b[_0x3e0376(0x218)],'routeKey':_0x3a7892,'routeType':'','data':_0x8f789e});}catch(_0x54d130){this[_0x3e0376(0x43a)]['error'](_0x54d130);}}[_0x2fa915(0x17f)](){const _0x52bd00=_0x2fa915;var _0x172555;this[_0x52bd00(0x463)]=window[_0x52bd00(0x5fa)](()=>{const _0x16ba52=_0x52bd00;this[_0x16ba52(0x463)]=null,this[_0x16ba52(0x1c4)][_0x16ba52(0x1ca)]({'type':_0x40b71f[_0x16ba52(0x219)][_0x16ba52(0x490)],'content':this[_0x16ba52(0x497)]['t']('session.collaboration-timeout')});},(_0x172555=this['_configService'][_0x52bd00(0x185)](_0xa4064f))!=null?_0x172555:0x4e20);}['_clearCollaborationTimeoutTimer'](){const _0x310f9b=_0x2fa915;this[_0x310f9b(0x463)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x310f9b(0x463)]=null);}[_0x2fa915(0x35f)](_0x56937f){const _0x2d09ca=_0x2fa915;if(!this[_0x2d09ca(0x3b6)])return;const {data:_0x4f56a9}=_0x56937f,{unitID:_0x362ec7,changeset:_0x5c04fc}=_0x4f56a9,{mutations:_0x2c826f,type:_0x22e361}=_0x5c04fc;this[_0x2d09ca(0x488)]={'unitId':_0x362ec7,'type':_0x22e361,'startTime':performance[_0x2d09ca(0x24a)](),'stopTime':0x0,'duration':0x0,'size':_0x21d7a0(_0x2c826f)};}[_0x2fa915(0x544)](){const _0x40a955=_0x2fa915;if(this[_0x40a955(0x3b6)]){if(!this[_0x40a955(0x488)]){this['_logService'][_0x40a955(0x3a9)](_0x40a955(0x1ea),_0x40a955(0x1d7));return;}this['_telemetryInfo'][_0x40a955(0x627)]=performance[_0x40a955(0x24a)](),this['_telemetryInfo'][_0x40a955(0x494)]=this[_0x40a955(0x488)]['stopTime']-this[_0x40a955(0x488)][_0x40a955(0x512)],this[_0x40a955(0x38d)][_0x40a955(0x61e)](_0x5a4a34,this[_0x40a955(0x488)]),this[_0x40a955(0x488)]=null;}}[_0x2fa915(0x170)](){const _0xf76a59=_0x2fa915;this[_0xf76a59(0x488)]=null;}},_0x539c7e['CollaborationSession']=_0x3865de([_0x1be4d5(0x2,_0x4587e1['ILogService']),_0x1be4d5(0x3,_0x3163bd['IBeforeCloseService']),_0x1be4d5(0x4,_0x3163bd['IMessageService']),_0x1be4d5(0x5,_0x4587e1[_0x2fa915(0x628)]),_0x1be4d5(0x6,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x1e2)])),_0x1be4d5(0x7,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e['MemberService'])),_0x1be4d5(0x8,_0x4587e1[_0x2fa915(0x42b)](_0x2707ce)),_0x1be4d5(0x9,_0x4587e1['Optional'](_0x5efb10['ITelemetryService']))],_0x539c7e[_0x2fa915(0x21c)]);var _0x3e83aa=Object[_0x2fa915(0x44e)],_0x5bd6e5=Object[_0x2fa915(0x569)],_0x1f432a=(_0x26232f,_0x391d20,_0x510e48,_0x2df9cb)=>{const _0x540678=_0x2fa915;for(var _0xcd187a=_0x2df9cb>0x1?void 0x0:_0x2df9cb?_0x5bd6e5(_0x391d20,_0x510e48):_0x391d20,_0x43937f=_0x26232f[_0x540678(0x4d9)]-0x1,_0x4091bd;_0x43937f>=0x0;_0x43937f--)(_0x4091bd=_0x26232f[_0x43937f])&&(_0xcd187a=(_0x2df9cb?_0x4091bd(_0x391d20,_0x510e48,_0xcd187a):_0x4091bd(_0xcd187a))||_0xcd187a);return _0x2df9cb&&_0xcd187a&&_0x3e83aa(_0x391d20,_0x510e48,_0xcd187a),_0xcd187a;},_0x39b388=(_0x76808,_0x18f0da)=>(_0x290deb,_0x1f5642)=>_0x18f0da(_0x290deb,_0x1f5642,_0x76808);_0x539c7e[_0x2fa915(0x240)]=class extends _0x4587e1['Disposable']{constructor(_0x27bf5b,_0x4d57f4,_0x100be7,_0x2333af,_0x10e94d,_0x37b935){const _0x34964e=_0x2fa915;super(),_0x339ceb(this,_0x34964e(0x541),new _0x3eec93[(_0x34964e(0x29b))](void 0x0)),_0x339ceb(this,'socket$',this[_0x34964e(0x541)][_0x34964e(0x630)]()),_0x339ceb(this,_0x34964e(0x1ce),null),_0x339ceb(this,_0x34964e(0x3ec),new Map()),_0x339ceb(this,'_status$',new _0x3eec93[(_0x34964e(0x29b))](_0x474ede[_0x34964e(0x3d5)])),_0x339ceb(this,_0x34964e(0x361),this[_0x34964e(0x1aa)]['asObservable']()),_0x339ceb(this,_0x34964e(0x392),!0x1),_0x339ceb(this,_0x34964e(0x271)),_0x339ceb(this,_0x34964e(0x349),0x0),_0x339ceb(this,_0x34964e(0x375)),_0x339ceb(this,_0x34964e(0x458)),(this['_injector']=_0x27bf5b,this[_0x34964e(0x497)]=_0x4d57f4,this['_messageService']=_0x100be7,this[_0x34964e(0x43a)]=_0x2333af,this['_configService']=_0x10e94d,this[_0x34964e(0x43f)]=_0x37b935,this[_0x34964e(0x502)]());}get['_socket'](){const _0x3ded98=_0x2fa915;return this[_0x3ded98(0x541)]['getValue']();}[_0x2fa915(0x502)](){const _0x1e224d=_0x2fa915;this[_0x1e224d(0x34c)](),this[_0x1e224d(0x17a)]();}[_0x2fa915(0x3ea)](){const _0x36fb09=_0x2fa915;super['dispose'](),this[_0x36fb09(0x3ec)][_0x36fb09(0x34b)](_0x19382c=>_0x19382c[_0x36fb09(0x3ea)]()),this[_0x36fb09(0x3ec)][_0x36fb09(0x385)](),this[_0x36fb09(0x1aa)][_0x36fb09(0x2e2)]();}async['requireSession'](_0x2f22a7){const _0x499da2=_0x2fa915;if(this['_sessions'][_0x499da2(0x364)](_0x2f22a7))return this[_0x499da2(0x3ec)][_0x499da2(0x4a0)](_0x2f22a7);this[_0x499da2(0x3b7)]();const _0x80be98=this[_0x499da2(0x60e)][_0x499da2(0x489)](_0x539c7e[_0x499da2(0x21c)],_0x2f22a7,this[_0x499da2(0x541)][_0x499da2(0x630)]());return this[_0x499da2(0x3ec)][_0x499da2(0x498)](_0x2f22a7,_0x80be98),_0x80be98;}['closeSession'](_0x31dd6e){const _0x4cf565=_0x2fa915;var _0x2a2090;const _0x21c430=this[_0x4cf565(0x3ec)][_0x4cf565(0x4a0)](_0x31dd6e);_0x21c430&&(this['_sessions'][_0x4cf565(0x4e2)](_0x31dd6e),_0x21c430[_0x4cf565(0x33c)]()),this['_sessions'][_0x4cf565(0x18b)]||(_0x2a2090=this[_0x4cf565(0x533)])==null||_0x2a2090[_0x4cf565(0x33c)]();}[_0x2fa915(0x424)](){const _0xb4938c=_0x2fa915;this[_0xb4938c(0x349)]=0x0,this[_0xb4938c(0x271)]!=null&&(clearTimeout(this[_0xb4938c(0x271)]),this[_0xb4938c(0x271)]=null),this[_0xb4938c(0x455)]();}['_createSocket'](){const _0xbce5f0=_0x2fa915;var _0x529ea3,_0x5eb4db;const _0x196699=this[_0xbce5f0(0x4e4)]['getConfig'](_0x58836a),_0x607946=this['_configService'][_0xbce5f0(0x185)](_0x152bb8),_0x232b7c=(_0x5eb4db=(_0x529ea3=_0x607946==null?void 0x0:_0x607946[_0xbce5f0(0x257)])!=null?_0x529ea3:_0x196699)!=null?_0x5eb4db:_0x2e309e,_0x2d297c=this[_0xbce5f0(0x43f)][_0xbce5f0(0x452)](_0x232b7c);return this[_0xbce5f0(0x1ce)]=_0x2d297c,_0x2d297c;}[_0x2fa915(0x3b7)](){const _0x1aaa5d=_0x2fa915;var _0x59a4cf,_0xf1f99f;try{const _0x291b41=(_0xf1f99f=(_0x59a4cf=this[_0x1aaa5d(0x533)])!=null?_0x59a4cf:this['_candidateSocket'])!=null?_0xf1f99f:this[_0x1aaa5d(0x39a)]();if(_0x291b41){const _0x2735e8=_0x291b41[_0x1aaa5d(0x5aa)];_0x291b41['send']=_0x54b4fa=>(this[_0x1aaa5d(0x222)](),_0x2735e8[_0x1aaa5d(0x54c)](_0x291b41,[_0x54b4fa])),_0x291b41[_0x1aaa5d(0x1c0)][_0x1aaa5d(0x447)](_0x19cc82=>this[_0x1aaa5d(0x60d)](_0x291b41,_0x19cc82)),_0x291b41[_0x1aaa5d(0x56f)]['pipe'](_0x18f07e[_0x1aaa5d(0x44f)](0x1))['subscribe'](_0x2c8419=>this[_0x1aaa5d(0x43a)][_0x1aaa5d(0x3a9)](_0x1aaa5d(0x440),_0x2c8419)),_0x291b41[_0x1aaa5d(0x52d)][_0x1aaa5d(0x276)](_0x18f07e[_0x1aaa5d(0x44f)](0x1))[_0x1aaa5d(0x447)](()=>{const _0x28dcaf=_0x1aaa5d;this[_0x28dcaf(0x58b)](_0x291b41);}),_0x291b41[_0x1aaa5d(0x48d)][_0x1aaa5d(0x276)](_0x18f07e[_0x1aaa5d(0x44f)](0x1))['subscribe'](_0x1fceea=>{const _0x56a4ec=_0x1aaa5d;this[_0x56a4ec(0x43a)][_0x56a4ec(0x472)](_0x56a4ec(0x486),_0x56a4ec(0x5ce),_0x1fceea),this[_0x56a4ec(0x500)]();});}}catch(_0x158aa1){this[_0x1aaa5d(0x43a)][_0x1aaa5d(0x3a9)](_0x158aa1),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x2a6b52){const _0x7bfa16=_0x2fa915;this[_0x7bfa16(0x43a)][_0x7bfa16(0x472)](_0x7bfa16(0x486),'socket\x20open.'),_0x2a6b52['send']({'cmd':_0x56802b[_0x7bfa16(0x416)]}),this['_rescheduleHeartbeat']();}[_0x2fa915(0x34c)](){const _0x3ff5c2=_0x2fa915;window[_0x3ff5c2(0x4fa)](_0x3ff5c2(0x2e5),()=>this[_0x3ff5c2(0x1f9)]());}['_onOffline'](){const _0x39dca5=_0x2fa915;this[_0x39dca5(0x392)]=!0x1,this[_0x39dca5(0x1ce)]=null,this[_0x39dca5(0x1aa)][_0x39dca5(0x1c9)](_0x474ede[_0x39dca5(0x3c4)]),this[_0x39dca5(0x541)][_0x39dca5(0x1c9)](null),this[_0x39dca5(0x59d)](),this[_0x39dca5(0x565)]();}[_0x2fa915(0x500)](){const _0x40a43c=_0x2fa915;var _0x2dd8a6;this['_onOffline'](),this[_0x40a43c(0x349)]<((_0x2dd8a6=this[_0x40a43c(0x4e4)][_0x40a43c(0x185)](_0xceef47))!=null?_0x2dd8a6:0x3)?(this[_0x40a43c(0x1c4)][_0x40a43c(0x1ca)]({'key':_0x40a43c(0x294),'type':_0x40b71f[_0x40a43c(0x219)]['Warning'],'content':this[_0x40a43c(0x497)]['t']('session.will-retry')}),this[_0x40a43c(0x455)]()):this[_0x40a43c(0x1c4)][_0x40a43c(0x1ca)]({'key':'collaboration-session-retry','type':_0x40b71f[_0x40a43c(0x219)][_0x40a43c(0x490)],'content':this[_0x40a43c(0x497)]['t'](_0x40a43c(0x1d2))});}['_listenToOnlineEvent'](){const _0x2a1ff1=_0x2fa915,_0x3817c7=()=>{const _0x398249=_0x5275;this[_0x398249(0x533)]||this[_0x398249(0x424)]();},_0x166f86=()=>{const _0x3eea05=_0x5275;this[_0x3eea05(0x533)]||document[_0x3eea05(0x532)]===_0x3eea05(0x587)||this['reconnect']();};window['addEventListener'](_0x2a1ff1(0x17c),_0x3817c7),document[_0x2a1ff1(0x4fa)](_0x2a1ff1(0x27d),_0x166f86);}[_0x2fa915(0x455)](){const _0x2e8d56=_0x2fa915;var _0x2d412c;const _0x4a3d55=this[_0x2e8d56(0x349)],_0x172c86=this[_0x2e8d56(0x4e4)]['getConfig'](_0x152bb8),_0x46417d=_0x4a3d55===0x0?0x0:((_0x2d412c=_0x172c86==null?void 0x0:_0x172c86[_0x2e8d56(0x3a5)])!=null?_0x2d412c:0x4e20)*0x2**_0x4a3d55;this[_0x2e8d56(0x271)]=window['setTimeout'](()=>{const _0x439e3b=_0x2e8d56;clearTimeout(this[_0x439e3b(0x271)]),this[_0x439e3b(0x271)]=null,this[_0x439e3b(0x3b7)]();},_0x46417d),this['_retryCount']+=0x1;}[_0x2fa915(0x60d)](_0x2509c5,_0x3de46e){const _0x5502a3=_0x2fa915,{cmd:_0x28722d}=_0x3de46e;_0x28722d===_0x56802b[_0x5502a3(0x416)]&&!this[_0x5502a3(0x392)]&&(_0x2509c5[_0x5502a3(0x59f)]=_0x3de46e[_0x5502a3(0x273)][_0x5502a3(0x59f)],this[_0x5502a3(0x541)][_0x5502a3(0x1c9)](_0x2509c5),this[_0x5502a3(0x1aa)]['next'](_0x474ede['ONLINE']),this[_0x5502a3(0x392)]=!0x0,this['_candidateSocket']=null),_0x28722d===_0x56802b[_0x5502a3(0x359)]&&this[_0x5502a3(0x59d)](),this[_0x5502a3(0x222)]();}[_0x2fa915(0x222)](){const _0x625fe3=_0x2fa915;var _0x43e343;this['_clearHeartbeatTimer'](),this[_0x625fe3(0x375)]=window[_0x625fe3(0x5fa)](()=>this[_0x625fe3(0x387)](),(_0x43e343=this['_configService']['getConfig'](_0x4a8a98))!=null?_0x43e343:0x7530);}[_0x2fa915(0x387)](){const _0x535f7f=_0x2fa915;this['_socket'][_0x535f7f(0x5aa)]({'cmd':_0x56802b['HEARTBEAT']}),this[_0x535f7f(0x172)]();}[_0x2fa915(0x172)](){const _0x44d95e=_0x2fa915;var _0x3fa9a2;this[_0x44d95e(0x458)]=window[_0x44d95e(0x5fa)](()=>this[_0x44d95e(0x500)](),(_0x3fa9a2=this[_0x44d95e(0x4e4)][_0x44d95e(0x185)](_0xa4064f))!=null?_0x3fa9a2:0x4e20);}[_0x2fa915(0x565)](){const _0x55363e=_0x2fa915;this[_0x55363e(0x375)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x55363e(0x375)]=null);}[_0x2fa915(0x59d)](){const _0x3f5337=_0x2fa915;this[_0x3f5337(0x458)]!=null&&(clearTimeout(this[_0x3f5337(0x458)]),this[_0x3f5337(0x458)]=null);}},_0x539c7e[_0x2fa915(0x240)]=_0x1f432a([_0x39b388(0x0,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x39b388(0x1,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1['LocaleService'])),_0x39b388(0x2,_0x3163bd[_0x2fa915(0x259)]),_0x39b388(0x3,_0x4587e1[_0x2fa915(0x62b)]),_0x39b388(0x4,_0x4587e1[_0x2fa915(0x628)]),_0x39b388(0x5,_0x5a365e)],_0x539c7e['CollaborationSessionService']);const _0x1dab81=[];for(let _0x2c5d61=0x0;_0x2c5d61<0x100;++_0x2c5d61)_0x1dab81['push']((_0x2c5d61+0x100)[_0x2fa915(0x38a)](0x10)[_0x2fa915(0x57d)](0x1));function _0x3d18d1(_0x113a5b,_0x5c10a8=0x0){return(_0x1dab81[_0x113a5b[_0x5c10a8+0x0]]+_0x1dab81[_0x113a5b[_0x5c10a8+0x1]]+_0x1dab81[_0x113a5b[_0x5c10a8+0x2]]+_0x1dab81[_0x113a5b[_0x5c10a8+0x3]]+'-'+_0x1dab81[_0x113a5b[_0x5c10a8+0x4]]+_0x1dab81[_0x113a5b[_0x5c10a8+0x5]]+'-'+_0x1dab81[_0x113a5b[_0x5c10a8+0x6]]+_0x1dab81[_0x113a5b[_0x5c10a8+0x7]]+'-'+_0x1dab81[_0x113a5b[_0x5c10a8+0x8]]+_0x1dab81[_0x113a5b[_0x5c10a8+0x9]]+'-'+_0x1dab81[_0x113a5b[_0x5c10a8+0xa]]+_0x1dab81[_0x113a5b[_0x5c10a8+0xb]]+_0x1dab81[_0x113a5b[_0x5c10a8+0xc]]+_0x1dab81[_0x113a5b[_0x5c10a8+0xd]]+_0x1dab81[_0x113a5b[_0x5c10a8+0xe]]+_0x1dab81[_0x113a5b[_0x5c10a8+0xf]])['toLowerCase']();}let _0x4d7a17;const _0x2d13c7=new Uint8Array(0x10);function _0xa70342(){const _0x4e5bf7=_0x2fa915;if(!_0x4d7a17){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x4e5bf7(0x3f0));_0x4d7a17=crypto['getRandomValues'][_0x4e5bf7(0x2c7)](crypto);}return _0x4d7a17(_0x2d13c7);}const _0x121df7={'randomUUID':typeof crypto<'u'&&crypto[_0x2fa915(0x37e)]&&crypto['randomUUID'][_0x2fa915(0x2c7)](crypto)};function _0x5c1a92(_0x193548,_0x34781e,_0x409dea){const _0xff3566=_0x2fa915;if(_0x121df7[_0xff3566(0x37e)]&&!_0x34781e&&!_0x193548)return _0x121df7[_0xff3566(0x37e)]();_0x193548=_0x193548||{};const _0x5dd5d2=_0x193548[_0xff3566(0x29a)]||(_0x193548[_0xff3566(0x522)]||_0xa70342)();return _0x5dd5d2[0x6]=_0x5dd5d2[0x6]&0xf|0x40,_0x5dd5d2[0x8]=_0x5dd5d2[0x8]&0x3f|0x80,_0x3d18d1(_0x5dd5d2);}var _0x37b9cd=Object[_0x2fa915(0x44e)],_0x20db5b=Object['getOwnPropertyDescriptor'],_0x479be4=(_0x5b3015,_0x4ccb49,_0x33dc4d,_0x31d1c0)=>{for(var _0x3886aa=_0x31d1c0>0x1?void 0x0:_0x31d1c0?_0x20db5b(_0x4ccb49,_0x33dc4d):_0x4ccb49,_0xecc3dc=_0x5b3015['length']-0x1,_0x569570;_0xecc3dc>=0x0;_0xecc3dc--)(_0x569570=_0x5b3015[_0xecc3dc])&&(_0x3886aa=(_0x31d1c0?_0x569570(_0x4ccb49,_0x33dc4d,_0x3886aa):_0x569570(_0x3886aa))||_0x3886aa);return _0x31d1c0&&_0x3886aa&&_0x37b9cd(_0x4ccb49,_0x33dc4d,_0x3886aa),_0x3886aa;},_0x363057=(_0x3ca02a,_0x2e96dc)=>(_0x644779,_0x1029d7)=>_0x2e96dc(_0x644779,_0x1029d7,_0x3ca02a);let _0xf435ee=class{constructor(_0x402a2c,_0x2ac7f2,_0x79e045){const _0x105a01=_0x2fa915;this[_0x105a01(0x60e)]=_0x402a2c,this['_transformService']=_0x2ac7f2,this['_renderManagerService']=_0x79e045;}['transformIMECache'](_0x51803f){const _0x48d049=_0x2fa915;this[_0x48d049(0x632)](_0x51803f),this[_0x48d049(0x442)](_0x51803f);}['transformRemoteChangeset'](_0xa7029a){const _0x205cdb=_0x2fa915,{unitID:_0x3febb8}=_0xa7029a,_0xe644b7=this[_0x205cdb(0x476)][_0x205cdb(0x5b6)](_0x3febb8)['with'](_0x28eee7[_0x205cdb(0x5b4)]),{redoCache:_0x1a62e1}=_0xe644b7[_0x205cdb(0x335)]();if(_0x1a62e1[_0x205cdb(0x4d9)]===0x0)return _0xa7029a;let _0x484bb6=_0x4587e1['Tools'][_0x205cdb(0x3f4)](_0xa7029a[_0x205cdb(0x4d3)][0x0]);for(let _0x1a7d42=0x0;_0x1a7d42<_0x1a62e1[_0x205cdb(0x4d9)];_0x1a7d42++){const _0x5a39da={'id':_0x205cdb(0x50a),'params':{..._0x1a62e1[_0x1a7d42]}},_0x2b9c8c=this['_transformService']['transformMutation'](_0x484bb6,_0x5a39da,!0x1);if(_0x215e4a[_0x205cdb(0x3de)](_0x2b9c8c))throw _0x2b9c8c[_0x205cdb(0x3a9)];_0x484bb6=_0x2b9c8c['m1Prime'];}return{..._0x4587e1['Tools']['deepClone'](_0xa7029a),'mutations':[_0x484bb6]};}[_0x2fa915(0x632)](_0x678c58){const _0x4340f2=_0x2fa915,{unitID:_0x459d18}=_0x678c58,_0x4f56fa=this[_0x4340f2(0x476)]['getRenderById'](_0x459d18)['with'](_0x28eee7['DocIMEInputManagerService']),{undoCache:_0x50b895,redoCache:_0x427ec9}=_0x4f56fa['getUndoRedoMutationParamsCache']();if(_0x50b895[_0x4340f2(0x4d9)]===0x0||_0x427ec9[_0x4340f2(0x4d9)]===0x0)return;const _0x111a3e=[],_0x548bf7=[];let _0xb3d46d=_0x4587e1[_0x4340f2(0x5f7)][_0x4340f2(0x3f4)](_0x678c58[_0x4340f2(0x4d3)][0x0]),_0xfb21f3=_0x4587e1['Tools']['deepClone'](_0x678c58['mutations'][0x0]);for(let _0x10100f=_0x50b895[_0x4340f2(0x4d9)]-0x1;_0x10100f>=0x0;_0x10100f--){const _0x48600f={'id':_0x4340f2(0x50a),'params':{..._0x50b895[_0x10100f]}},_0x42eae9={'id':'doc.mutation.rich-text-editing','params':{..._0x427ec9[_0x10100f]}},_0x3fd645=this[_0x4340f2(0x493)][_0x4340f2(0x2cb)](_0xb3d46d,_0x48600f,!0x1),_0x434113=this[_0x4340f2(0x493)][_0x4340f2(0x2cb)](_0xfb21f3,_0x42eae9,!0x1);if(_0x215e4a[_0x4340f2(0x3de)](_0x3fd645))throw _0x3fd645[_0x4340f2(0x3a9)];if(_0x215e4a[_0x4340f2(0x3de)](_0x434113))throw _0x434113[_0x4340f2(0x3a9)];_0x111a3e[_0x4340f2(0x2a1)](_0x3fd645['m2Prime']['params']),_0x548bf7[_0x4340f2(0x2a1)](_0x434113[_0x4340f2(0x239)][_0x4340f2(0x548)]),_0xb3d46d=_0x3fd645[_0x4340f2(0x50c)],_0xfb21f3=_0x434113['m1Prime'];}_0x4f56fa[_0x4340f2(0x33f)]({'undoCache':_0x111a3e,'redoCache':_0x548bf7});}[_0x2fa915(0x442)](_0x5db01e){const _0x18d818=_0x2fa915,{unitID:_0x23f9ad}=_0x5db01e,_0x12cbd9=this[_0x18d818(0x476)]['getRenderById'](_0x23f9ad)[_0x18d818(0x492)](_0x28eee7[_0x18d818(0x5b4)]),_0x305905=_0x12cbd9[_0x18d818(0x40b)]();if(_0x305905==null)return;const _0x2eefa6=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5db01e[_0x18d818(0x2d1)],'actions':null,'textRanges':[_0x305905]}}],_0x63d192=this[_0x18d818(0x493)][_0x18d818(0x439)](_0x5db01e,_0x2eefa6);if(!_0x215e4a[_0x18d818(0x539)](_0x63d192))throw _0x63d192[_0x18d818(0x3a9)];const _0x201405=_0x63d192[_0x18d818(0x239)][0x0]['params'][_0x18d818(0x1a8)];Array[_0x18d818(0x330)](_0x201405)&&_0x201405[_0x18d818(0x4d9)]&&_0x12cbd9[_0x18d818(0x27a)](_0x201405[0x0]);}};_0xf435ee=_0x479be4([_0x363057(0x0,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x363057(0x1,_0x215e4a[_0x2fa915(0x34d)]),_0x363057(0x2,_0x25d31a[_0x2fa915(0x372)])],_0xf435ee);var _0x3d5c13=Object['defineProperty'],_0x1a29ee=Object['getOwnPropertyDescriptor'],_0x2b5316=(_0x356f24,_0x309a8b,_0x7ac1fc,_0x493c66)=>{const _0x35c985=_0x2fa915;for(var _0x3ef47d=_0x493c66>0x1?void 0x0:_0x493c66?_0x1a29ee(_0x309a8b,_0x7ac1fc):_0x309a8b,_0x52d9b2=_0x356f24[_0x35c985(0x4d9)]-0x1,_0x41bc04;_0x52d9b2>=0x0;_0x52d9b2--)(_0x41bc04=_0x356f24[_0x52d9b2])&&(_0x3ef47d=(_0x493c66?_0x41bc04(_0x309a8b,_0x7ac1fc,_0x3ef47d):_0x41bc04(_0x3ef47d))||_0x3ef47d);return _0x493c66&&_0x3ef47d&&_0x3d5c13(_0x309a8b,_0x7ac1fc,_0x3ef47d),_0x3ef47d;},_0x431831=(_0x378816,_0x5202bb)=>(_0xe257ff,_0x35dde3)=>_0x5202bb(_0xe257ff,_0x35dde3,_0x378816);_0x539c7e['LocalCacheService']=class extends _0x4587e1[_0x2fa915(0x552)]{constructor(_0x3ad1fc,_0x5c9489,_0x341f26,_0x250427,_0xa40bdb){const _0x1b29f6=_0x2fa915;super(),_0x339ceb(this,'_cachedData',new Map()),_0x339ceb(this,_0x1b29f6(0x638),new Map()),_0x339ceb(this,_0x1b29f6(0x174),!0x1),(this[_0x1b29f6(0x4e4)]=_0x3ad1fc,this[_0x1b29f6(0x44b)]=_0x5c9489,this[_0x1b29f6(0x28d)]=_0x341f26,this[_0x1b29f6(0x497)]=_0x250427,this['_revisionService']=_0xa40bdb,this[_0x1b29f6(0x289)]());}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x2fa915(0x3bb)](){const _0x23d758=_0x2fa915;this[_0x23d758(0x174)]=!0x1;}[_0x2fa915(0x3ea)](){const _0x2549c=_0x2fa915;this[_0x2549c(0x2a9)]()[_0x2549c(0x20e)](()=>super['dispose']());}async['loadOfflineData'](_0x55a30e){const _0x8da5b6=_0x2fa915;return this[_0x8da5b6(0x174)]?null:this[_0x8da5b6(0x44b)]['getItem'](_0x446c6b(_0x55a30e));}async['saveOfflineData'](_0x57940c,_0x4b1786){const _0x1036a2=_0x2fa915;return!!this[_0x1036a2(0x44b)][_0x1036a2(0x5ea)](_0x57940c,_0x4b1786);}['updateOfflineData'](_0x483a7b,_0x2f5ceb,_0x3f7a81,_0x2f8ff9){const _0x5d7421=_0x2fa915,_0x41b14f=this[_0x5d7421(0x24d)][_0x5d7421(0x592)](_0x483a7b);this[_0x5d7421(0x1ff)][_0x5d7421(0x498)](_0x483a7b,{'unitID':_0x483a7b,'type':_0x2f5ceb,'awaitingChangeset':_0x3f7a81,'mutations':_0x2f8ff9,'rev':_0x41b14f}),this['_saveTaskMap'][_0x5d7421(0x364)](_0x483a7b)||this[_0x5d7421(0x54d)](_0x483a7b);}['_scheduleSaving'](_0x5057c9){const _0x9a17b9=_0x2fa915,_0x1873ab=this[_0x9a17b9(0x3c9)]();_0x1873ab===0x0?this[_0x9a17b9(0x1f2)](_0x5057c9):this[_0x9a17b9(0x638)][_0x9a17b9(0x498)](_0x5057c9,setTimeout(()=>this[_0x9a17b9(0x1f2)](_0x5057c9),_0x1873ab));}[_0x2fa915(0x3c9)](){const _0xa52d2c=_0x2fa915;var _0x364a9;return(_0x364a9=this[_0xa52d2c(0x4e4)][_0xa52d2c(0x185)](_0x4c60f6))!=null?_0x364a9:0x3e8;}[_0x2fa915(0x1f2)](_0x292dd4){const _0x32a2c5=_0x2fa915,_0x3dce40=this[_0x32a2c5(0x638)][_0x32a2c5(0x4a0)](_0x292dd4);return _0x3dce40!==void 0x0&&window[_0x32a2c5(0x622)](_0x3dce40),this[_0x32a2c5(0x44b)][_0x32a2c5(0x5ea)](_0x446c6b(_0x292dd4),this['_cachedData']['get'](_0x292dd4))['then'](()=>this[_0x32a2c5(0x638)][_0x32a2c5(0x4e2)](_0x292dd4));}async[_0x2fa915(0x2a9)](){const _0x49885e=_0x2fa915,_0x5a1bd8=[];this[_0x49885e(0x638)][_0x49885e(0x34b)]((_0x31c742,_0x13e017)=>{const _0x2b6e38=_0x49885e;window[_0x2b6e38(0x622)](_0x31c742),_0x5a1bd8[_0x2b6e38(0x367)](this[_0x2b6e38(0x1f2)](_0x13e017)[_0x2b6e38(0x20e)](()=>{const _0x29fd76=_0x2b6e38;this[_0x29fd76(0x638)][_0x29fd76(0x4e2)](_0x13e017);}));}),await Promise['all'](_0x5a1bd8);}[_0x2fa915(0x289)](){const _0x10eb49=_0x2fa915;this[_0x10eb49(0x211)](this['_beforeCloseService'][_0x10eb49(0x19d)](()=>{const _0x523156=_0x10eb49;if(this[_0x523156(0x638)][_0x523156(0x18b)])return this[_0x523156(0x497)]['t'](_0x523156(0x2fe));}));}},_0x539c7e['LocalCacheService']=_0x2b5316([_0x431831(0x0,_0x4587e1['IConfigService']),_0x431831(0x1,_0x4587e1[_0x2fa915(0x2ff)]),_0x431831(0x2,_0x3163bd[_0x2fa915(0x2d0)]),_0x431831(0x3,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1['LocaleService'])),_0x431831(0x4,_0x4587e1['Inject'](_0x215e4a[_0x2fa915(0x518)]))],_0x539c7e[_0x2fa915(0x408)]);function _0x446c6b(_0x4dae1e){const _0x3236d5=_0x2fa915;return _0x3236d5(0x254)+_0x4dae1e;}var _0x4f7137=Object[_0x2fa915(0x44e)],_0x32e7e4=Object[_0x2fa915(0x569)],_0x23a35e=(_0xb8913e,_0x4a5a40,_0x328be5,_0x5c06c9)=>{const _0xfe0d4d=_0x2fa915;for(var _0xd4efcb=_0x5c06c9>0x1?void 0x0:_0x5c06c9?_0x32e7e4(_0x4a5a40,_0x328be5):_0x4a5a40,_0x303d4c=_0xb8913e[_0xfe0d4d(0x4d9)]-0x1,_0x1e28ad;_0x303d4c>=0x0;_0x303d4c--)(_0x1e28ad=_0xb8913e[_0x303d4c])&&(_0xd4efcb=(_0x5c06c9?_0x1e28ad(_0x4a5a40,_0x328be5,_0xd4efcb):_0x1e28ad(_0xd4efcb))||_0xd4efcb);return _0x5c06c9&&_0xd4efcb&&_0x4f7137(_0x4a5a40,_0x328be5,_0xd4efcb),_0xd4efcb;},_0x292f32=(_0x171511,_0x149433)=>(_0x3551ee,_0x3116a0)=>_0x149433(_0x3551ee,_0x3116a0,_0x171511);function _0x4e14fd(_0x1f4703){const _0x4db9d5=_0x2fa915,{unitID:_0x323203,mutations:_0x3f9c27}=_0x1f4703;return{'unitId':_0x323203,'subUnitId':_0x3f9c27[0x0][_0x4db9d5(0x548)]['subUnitId']};}let _0x2a0fa4=class{constructor(_0x51d67f,_0x4e7b65,_0x4a92c8){const _0x40d49e=_0x2fa915;this['_injector']=_0x51d67f,this['_transformService']=_0x4e7b65,this[_0x40d49e(0x43b)]=_0x4a92c8;}['transformSelections'](_0x48a258){const _0x1b9a0c=_0x2fa915;var _0x8b872c,_0x1bf20e,_0x573a8d,_0xcf19f9;const _0xaefc0f=this['_injector'][_0x1b9a0c(0x4a0)](_0x27d820[_0x1b9a0c(0x201)]),{unitId:_0x4de7b2,subUnitId:_0x93bd0d}=_0x4e14fd(_0x48a258),_0x681a37=_0xaefc0f[_0x1b9a0c(0x223)](_0x4de7b2)[_0x1b9a0c(0x272)](),_0xd2d980=(_0x1bf20e=(_0x8b872c=this[_0x1b9a0c(0x43b)]['getUnit'](_0x4de7b2))==null?void 0x0:_0x8b872c[_0x1b9a0c(0x5ee)]())==null?void 0x0:_0x1bf20e[_0x1b9a0c(0x2f7)]();if(_0x681a37[_0x1b9a0c(0x4d9)]===0x0||!_0x4de7b2||!_0x93bd0d)return;const _0x259bfc=[{'id':_0x27d820[_0x1b9a0c(0x171)]['id'],'params':{'unitId':_0x4de7b2,'subUnitId':_0xd2d980,'selections':_0x4587e1[_0x1b9a0c(0x5f7)][_0x1b9a0c(0x3f4)](_0x681a37)}}],_0x20db32=this['_transformService'][_0x1b9a0c(0x439)](_0x48a258,_0x259bfc);if(!_0x215e4a[_0x1b9a0c(0x539)](_0x20db32))throw _0x20db32['error'];const _0x35e634=(_0xcf19f9=(_0x573a8d=_0x20db32[_0x1b9a0c(0x239)][0x0])==null?void 0x0:_0x573a8d[_0x1b9a0c(0x548)])==null?void 0x0:_0xcf19f9[_0x1b9a0c(0x2bd)];if(Array[_0x1b9a0c(0x330)](_0x35e634)&&_0x35e634[_0x1b9a0c(0x4d9)]){if(_0x35e634[_0x1b9a0c(0x4d9)]===_0x259bfc[0x0]['params'][_0x1b9a0c(0x2bd)][_0x1b9a0c(0x4d9)]&&_0x35e634['every']((_0x289819,_0x1a64f4)=>_0x4587e1[_0x1b9a0c(0x563)][_0x1b9a0c(0x346)](_0x289819[_0x1b9a0c(0x307)],_0x259bfc[0x0]['params'][_0x1b9a0c(0x2bd)][_0x1a64f4]['range'])))return;this[_0x1b9a0c(0x60e)][_0x1b9a0c(0x4a0)](_0x4587e1[_0x1b9a0c(0x60b)])[_0x1b9a0c(0x3c6)](_0x27d820[_0x1b9a0c(0x171)]['id'],{'unitId':_0x4de7b2,'subUnitId':_0xd2d980,'selections':_0x35e634});}}};_0x2a0fa4=_0x23a35e([_0x292f32(0x0,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x292f32(0x1,_0x215e4a['ITransformService']),_0x292f32(0x2,_0x4587e1[_0x2fa915(0x53b)])],_0x2a0fa4);const _0x426f76=_0x4587e1[_0x2fa915(0x22c)]('univer-pro.collaboration-client.single-active-unit-service');var _0x3ce0bf=(_0x58d627=>(_0x58d627[_0x58d627['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x2fa915(0x51b),_0x58d627[_0x58d627[_0x2fa915(0x3e1)]=0x1]=_0x2fa915(0x3e1),_0x58d627))(_0x3ce0bf||{});const _0x4a802e=0x7530,_0x2b0805=_0x2fa915(0x191);class _0x707295 extends _0x4587e1[_0x2fa915(0x552)]{constructor(){const _0x5ae2a9=_0x2fa915;super(),_0x339ceb(this,_0x5ae2a9(0x2d9),_0x4587e1[_0x5ae2a9(0x5f7)][_0x5ae2a9(0x334)]()),_0x339ceb(this,_0x5ae2a9(0x50d),new Set()),_0x339ceb(this,_0x5ae2a9(0x603),new Map()),_0x339ceb(this,'_heartbeatTimer',null),_0x339ceb(this,_0x5ae2a9(0x320),new Map()),_0x339ceb(this,_0x5ae2a9(0x46d),new Map()),this[_0x5ae2a9(0x16f)]();}['dispose'](){const _0x5623ff=_0x2fa915;super['dispose'](),this['_clearOtherTimers']['forEach']((_0x12ed2b,_0x4de2f9)=>this['_removeClearOtherTimer'](_0x4de2f9)),this[_0x5623ff(0x4f2)]&&window['clearInterval'](this[_0x5623ff(0x4f2)]);}[_0x2fa915(0x4ea)](_0x48c88b){const _0x3cb988=_0x2fa915;return this[_0x3cb988(0x322)](_0x48c88b)['pipe'](_0x3eec93[_0x3cb988(0x30d)]());}[_0x2fa915(0x316)](_0x1a59eb){const _0x49bba=_0x2fa915;this[_0x49bba(0x50d)][_0x49bba(0x18b)]===0x0&&this[_0x49bba(0x561)](),this[_0x49bba(0x50d)][_0x49bba(0x1db)](_0x1a59eb),this[_0x49bba(0x235)]({'type':0x0,'memberID':this[_0x49bba(0x2d9)],'unitIDs':[_0x1a59eb],'isForwarded':!0x1});}[_0x2fa915(0x47e)](_0xf8e175){const _0x10e693=_0x2fa915;this['_selfUnitIDs'][_0x10e693(0x4e2)](_0xf8e175),this[_0x10e693(0x50d)][_0x10e693(0x18b)]===0x0&&this['_heartbeatTimer']&&window[_0x10e693(0x4ae)](this['_heartbeatTimer']);}['_init'](){const _0x3b4b8f=_0x2fa915;this['disposeWithMe'](_0x4587e1[_0x3b4b8f(0x2a6)](_0x3eec93[_0x3b4b8f(0x639)](window,_0x3b4b8f(0x530))[_0x3b4b8f(0x447)](_0x3dcf9a=>{const _0x5f0003=_0x3b4b8f;if(_0x3dcf9a[_0x5f0003(0x391)]!==_0x2b0805||!_0x3dcf9a[_0x5f0003(0x2cc)])return;const _0x4d88cd=JSON[_0x5f0003(0x3bf)](_0x3dcf9a['newValue']);this[_0x5f0003(0x529)](_0x4d88cd);}))),window[_0x3b4b8f(0x4fa)]('unload',()=>this[_0x3b4b8f(0x235)]({'type':0x1,'memberID':this[_0x3b4b8f(0x2d9)],'unitIDs':Array[_0x3b4b8f(0x3e0)](this[_0x3b4b8f(0x50d)])}));}[_0x2fa915(0x529)](_0x528bf6){const _0x16e663=_0x2fa915;switch(_0x528bf6[_0x16e663(0x178)]){case 0x0:this[_0x16e663(0x520)](_0x528bf6);break;case 0x1:this[_0x16e663(0x546)](_0x528bf6);break;case 0x2:this['_handleHeartbeatEvent'](_0x528bf6);break;}}['_handleJoinEvent'](_0x5cb46a){const _0x17b744=_0x2fa915,{unitIDs:_0x2c2393,memberID:_0x371c9f,isForwarded:_0x401576}=_0x5cb46a;_0x2c2393[_0x17b744(0x34b)](_0x5dd5a8=>{const _0x30f319=_0x17b744;if(!_0x401576&&this[_0x30f319(0x603)][_0x30f319(0x364)](_0x5dd5a8)&&this[_0x30f319(0x322)](_0x5dd5a8)['next'](0x1),!this[_0x30f319(0x603)][_0x30f319(0x364)](_0x5dd5a8)||!this[_0x30f319(0x603)][_0x30f319(0x4a0)](_0x5dd5a8)[_0x30f319(0x364)](_0x371c9f)){const _0x355809=this['_unitOnClients'][_0x30f319(0x4a0)](_0x5dd5a8)||new Set();_0x355809[_0x30f319(0x1db)](_0x371c9f),this[_0x30f319(0x603)]['set'](_0x5dd5a8,_0x355809),this['_scheduleClearOtherTimer'](_0x371c9f);}}),_0x401576||this[_0x17b744(0x235)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x17b744(0x50d)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x107076){const _0x3168cc=_0x2fa915;this[_0x3168cc(0x20b)](_0x107076);const _0x58cb4c=window[_0x3168cc(0x5fa)](()=>{const _0x5f185f=_0x3168cc;this[_0x5f185f(0x603)][_0x5f185f(0x34b)](_0x3e5e34=>{const _0x249865=_0x5f185f;_0x3e5e34[_0x249865(0x4e2)](_0x107076);});},_0x4a802e*0x2);this['_clearOtherTimers'][_0x3168cc(0x498)](_0x107076,_0x58cb4c);}[_0x2fa915(0x20b)](_0x53a627){const _0x29f4c8=_0x2fa915;if(this[_0x29f4c8(0x320)][_0x29f4c8(0x364)](_0x53a627)){const _0x444b9e=this['_clearOtherTimers'][_0x29f4c8(0x4a0)](_0x53a627);_0x444b9e&&window[_0x29f4c8(0x622)](_0x444b9e),this[_0x29f4c8(0x320)][_0x29f4c8(0x498)](_0x53a627,null);}}['_handleLeaveEvent'](_0x43f253){const _0x7e0c83=_0x2fa915,{memberID:_0x5dcb43,unitIDs:_0x2f7d96}=_0x43f253;_0x2f7d96['forEach'](_0x245308=>{const _0x1c8d17=_0x5275;var _0x32489e;const _0x343902=this[_0x1c8d17(0x603)][_0x1c8d17(0x4a0)](_0x245308);_0x343902&&(_0x343902[_0x1c8d17(0x4e2)](_0x5dcb43),(_0x32489e=this['_ensureSubject'](_0x245308))==null||_0x32489e[_0x1c8d17(0x1c9)](_0x343902[_0x1c8d17(0x18b)]===0x0?0x0:0x1));}),this[_0x7e0c83(0x20b)](_0x5dcb43);}[_0x2fa915(0x631)](_0x1a40c2){const _0x44f4a7=_0x2fa915;this[_0x44f4a7(0x3b4)](_0x1a40c2[_0x44f4a7(0x59f)]);}['_send'](_0x6426b7){const _0x3c4c1a=_0x2fa915;localStorage[_0x3c4c1a(0x5ea)](_0x2b0805,JSON['stringify'](_0x6426b7));}[_0x2fa915(0x561)](){const _0x952ba4=_0x2fa915;this['_heartbeatTimer']=window[_0x952ba4(0x1ed)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x4a802e);}[_0x2fa915(0x322)](_0x2b4a77){const _0x257509=_0x2fa915;return this[_0x257509(0x46d)][_0x257509(0x364)](_0x2b4a77)||this['_unitStatus'][_0x257509(0x498)](_0x2b4a77,new _0x3eec93[(_0x257509(0x29b))](0x0)),this[_0x257509(0x46d)][_0x257509(0x4a0)](_0x2b4a77);}}var _0x57b38a=Object['defineProperty'],_0x8935b8=Object[_0x2fa915(0x569)],_0x3172eb=(_0x375cab,_0x54d26c,_0x4868ef,_0x3dc6e0)=>{const _0x2dcbe4=_0x2fa915;for(var _0x7cb39a=_0x3dc6e0>0x1?void 0x0:_0x3dc6e0?_0x8935b8(_0x54d26c,_0x4868ef):_0x54d26c,_0x30ed57=_0x375cab[_0x2dcbe4(0x4d9)]-0x1,_0x2585e8;_0x30ed57>=0x0;_0x30ed57--)(_0x2585e8=_0x375cab[_0x30ed57])&&(_0x7cb39a=(_0x3dc6e0?_0x2585e8(_0x54d26c,_0x4868ef,_0x7cb39a):_0x2585e8(_0x7cb39a))||_0x7cb39a);return _0x3dc6e0&&_0x7cb39a&&_0x57b38a(_0x54d26c,_0x4868ef,_0x7cb39a),_0x7cb39a;},_0x798b02=(_0x33ae65,_0x47558f)=>(_0x1f1cce,_0x477d0d)=>_0x47558f(_0x1f1cce,_0x477d0d,_0x33ae65);let _0x952708=class{constructor(_0x1c2e4d,_0x2e0bac,_0x497d28){const _0x271845=_0x2fa915;this[_0x271845(0x60e)]=_0x1c2e4d,this[_0x271845(0x493)]=_0x2e0bac,this['_docStateChangeManagerService']=_0x497d28;}[_0x2fa915(0x52a)](_0x2ac5fe){this['_transformHistoryAndStateStack'](_0x2ac5fe);}[_0x2fa915(0x543)](_0x20747d){const _0x55003b=_0x2fa915,{unitID:_0x1a18dc}=_0x20747d,{collaboration:_0x309a0a}=this[_0x55003b(0x16d)][_0x55003b(0x19c)](_0x1a18dc);if(_0x309a0a[_0x55003b(0x4d9)]===0x0)return _0x20747d;let _0x58339f=_0x4587e1['Tools'][_0x55003b(0x3f4)](_0x20747d[_0x55003b(0x4d3)][0x0]);for(let _0x175418=0x0;_0x175418<_0x309a0a['length'];_0x175418++){const _0x1314e0={'id':_0x55003b(0x50a),'params':{'unitId':_0x309a0a[_0x175418][_0x55003b(0x4f8)],..._0x309a0a[_0x175418]['redoState']}},_0x3e9087=this[_0x55003b(0x493)][_0x55003b(0x2cb)](_0x58339f,_0x1314e0,!0x1);if(_0x215e4a[_0x55003b(0x3de)](_0x3e9087))throw _0x3e9087[_0x55003b(0x3a9)];_0x58339f=_0x3e9087['m1Prime'];}return{..._0x4587e1[_0x55003b(0x5f7)]['deepClone'](_0x20747d),'mutations':[_0x58339f]};}['_transformHistoryAndStateStack'](_0x3a7166){const _0xd1237e=_0x2fa915,{unitID:_0x12e665}=_0x3a7166,{history:_0x1bd033,collaboration:_0x3bf0b2}=this[_0xd1237e(0x16d)][_0xd1237e(0x19c)](_0x12e665);if(_0x1bd033[_0xd1237e(0x4d9)]===0x0&&_0x3bf0b2[_0xd1237e(0x4d9)]===0x0)return;const _0x551cd2=[],_0x32bfff=[];let _0x1648c4=_0x4587e1[_0xd1237e(0x5f7)]['deepClone'](_0x3a7166[_0xd1237e(0x4d3)][0x0]),_0x27cd55=_0x4587e1['Tools'][_0xd1237e(0x3f4)](_0x3a7166['mutations'][0x0]);for(let _0x378f08=_0x1bd033[_0xd1237e(0x4d9)]-0x1;_0x378f08>=0x0;_0x378f08--){const _0x3c3eb0={'id':_0xd1237e(0x50a),'params':{'unitId':_0x1bd033[_0x378f08][_0xd1237e(0x4f8)],..._0x1bd033[_0x378f08][_0xd1237e(0x41e)]}},_0x5b2b2d={'id':_0xd1237e(0x50a),'params':{'unitId':_0x1bd033[_0x378f08][_0xd1237e(0x4f8)],..._0x1bd033[_0x378f08][_0xd1237e(0x410)]}},_0x33369e=this[_0xd1237e(0x493)][_0xd1237e(0x2cb)](_0x1648c4,_0x3c3eb0,!0x1),_0x1efc5d=this['_transformService'][_0xd1237e(0x2cb)](_0x27cd55,_0x5b2b2d,!0x1);if(_0x215e4a[_0xd1237e(0x3de)](_0x33369e))throw _0x33369e[_0xd1237e(0x3a9)];if(_0x215e4a[_0xd1237e(0x3de)](_0x1efc5d))throw _0x1efc5d['error'];_0x551cd2[_0xd1237e(0x2a1)]({..._0x1bd033[_0x378f08],'undoState':_0x33369e[_0xd1237e(0x239)]['params'],'redoState':_0x1efc5d[_0xd1237e(0x239)][_0xd1237e(0x548)]}),_0x1648c4=_0x33369e[_0xd1237e(0x50c)],_0x27cd55=_0x1efc5d['m1Prime'];}_0x1648c4=_0x4587e1[_0xd1237e(0x5f7)][_0xd1237e(0x3f4)](_0x3a7166[_0xd1237e(0x4d3)][0x0]),_0x27cd55=_0x4587e1[_0xd1237e(0x5f7)]['deepClone'](_0x3a7166['mutations'][0x0]);for(let _0x3fe4d6=_0x3bf0b2[_0xd1237e(0x4d9)]-0x1;_0x3fe4d6>=0x0;_0x3fe4d6--){const _0x8cc4f5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3bf0b2[_0x3fe4d6]['unitId'],..._0x3bf0b2[_0x3fe4d6]['undoState']}},_0x3a2a65={'id':_0xd1237e(0x50a),'params':{'unitId':_0x3bf0b2[_0x3fe4d6][_0xd1237e(0x4f8)],..._0x3bf0b2[_0x3fe4d6][_0xd1237e(0x410)]}},_0x276ba6=this[_0xd1237e(0x493)]['transformMutation'](_0x1648c4,_0x8cc4f5,!0x1),_0x4b6655=this[_0xd1237e(0x493)][_0xd1237e(0x2cb)](_0x27cd55,_0x3a2a65,!0x1);if(_0x215e4a['isTransformMutationFailure'](_0x276ba6))throw _0x276ba6[_0xd1237e(0x3a9)];if(_0x215e4a[_0xd1237e(0x3de)](_0x4b6655))throw _0x4b6655[_0xd1237e(0x3a9)];_0x32bfff['unshift']({..._0x3bf0b2[_0x3fe4d6],'undoState':_0x276ba6[_0xd1237e(0x239)][_0xd1237e(0x548)],'redoState':_0x4b6655[_0xd1237e(0x239)][_0xd1237e(0x548)]}),_0x1648c4=_0x276ba6['m1Prime'],_0x27cd55=_0x4b6655[_0xd1237e(0x50c)];}this[_0xd1237e(0x16d)][_0xd1237e(0x5dc)](_0x12e665,{'history':_0x551cd2,'collaboration':_0x32bfff});}};_0x952708=_0x3172eb([_0x798b02(0x0,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x798b02(0x1,_0x215e4a['ITransformService']),_0x798b02(0x2,_0x4587e1[_0x2fa915(0x42b)](_0x28eee7[_0x2fa915(0x1c7)]))],_0x952708);function _0xfb0b4(_0x146e7d){const _0x3cb512=_0x2fa915;let _0x1db032='';for(const _0x329383 of _0x146e7d){const {startOffset:_0x472699,endOffset:_0x4d1f51,isActive:_0x48e76d,rangeType:_0x31e7fe,segmentId:_0xa31df5,segmentPage:_0x2ae851}=_0x329383;_0x1db032[_0x3cb512(0x4d9)]&&(_0x1db032+=','),_0x1db032+=_0x472699+':'+_0x4d1f51+':'+(_0x48e76d?'1':'0')+':'+_0x31e7fe+':'+_0xa31df5+':'+_0x2ae851;}return _0x1db032;}function _0x4169a4(_0x12095f){const _0x4ca167=_0x2fa915,_0x2fd588=_0x12095f[_0x4ca167(0x491)](','),_0x43ac68=[];for(const _0x4ff85e of _0x2fd588){const [_0xfbae6d,_0x5df9f3,_0x3c1918,_0x3e5aac,_0x2bd35b,_0x187a62]=_0x4ff85e[_0x4ca167(0x491)](':');_0x43ac68[_0x4ca167(0x367)]({'startOffset':Number(_0xfbae6d),'endOffset':Number(_0x5df9f3),'collapsed':_0xfbae6d===_0x5df9f3,'isActive':_0x3c1918==='1','rangeType':_0x3e5aac===_0x4587e1[_0x4ca167(0x383)]['TEXT']?_0x4587e1[_0x4ca167(0x383)][_0x4ca167(0x3df)]:_0x4587e1[_0x4ca167(0x383)][_0x4ca167(0x4a1)],'segmentId':typeof _0x2bd35b==_0x4ca167(0x241)?String(_0x2bd35b):'','segmentPage':Number(_0x187a62!=null?_0x187a62:-0x1)});}return _0x43ac68[_0x4ca167(0x16e)](_0x308b7f=>_0x308b7f[_0x4ca167(0x1c2)])||(_0x43ac68[0x0][_0x4ca167(0x1c2)]=!0x0),_0x43ac68;}class _0x54132e extends _0x4587e1[_0x2fa915(0x5b2)]{constructor(){const _0x43a5de=_0x2fa915;super(...arguments),_0x339ceb(this,'_collabCursorState$',new _0x3eec93[(_0x43a5de(0x29b))](null)),_0x339ceb(this,'collabCursorState$',this[_0x43a5de(0x32f)][_0x43a5de(0x630)]());}[_0x2fa915(0x475)](_0x5980e2){const {unitID:_0xd2d23c,memberID:_0x207342,textRanges:_0x21b9ad}=_0x5980e2,_0x13a91c=_0xfb0b4(_0x21b9ad);if(_0x13a91c==='')return;const _0x51b848={'unitID':_0xd2d23c,'memberID':_0x207342,'selection':_0x13a91c};this['_collabCursorState$']['next'](_0x51b848);}}var _0xe8ec2e=Object[_0x2fa915(0x44e)],_0x30a35b=Object['getOwnPropertyDescriptor'],_0x28246d=(_0x2428a7,_0x1a8ee0,_0x17ccd4,_0x2bcec2)=>{const _0x86c1f5=_0x2fa915;for(var _0x47d08f=_0x2bcec2>0x1?void 0x0:_0x2bcec2?_0x30a35b(_0x1a8ee0,_0x17ccd4):_0x1a8ee0,_0x3ef7f2=_0x2428a7[_0x86c1f5(0x4d9)]-0x1,_0x15f69f;_0x3ef7f2>=0x0;_0x3ef7f2--)(_0x15f69f=_0x2428a7[_0x3ef7f2])&&(_0x47d08f=(_0x2bcec2?_0x15f69f(_0x1a8ee0,_0x17ccd4,_0x47d08f):_0x15f69f(_0x47d08f))||_0x47d08f);return _0x2bcec2&&_0x47d08f&&_0xe8ec2e(_0x1a8ee0,_0x17ccd4,_0x47d08f),_0x47d08f;},_0x3fddb8=(_0x3e0fea,_0x2a3059)=>(_0x4f0f4b,_0x495161)=>_0x2a3059(_0x4f0f4b,_0x495161,_0x3e0fea);let _0x2e0132=class{constructor(_0x2621dc,_0x2af065){const _0x1d859c=_0x2fa915;this[_0x1d859c(0x60e)]=_0x2621dc,this[_0x1d859c(0x493)]=_0x2af065;}['transformSelections'](_0x1ca779){const _0x27338b=_0x2fa915;var _0x2d299a;const _0x2b6790=this['_injector'][_0x27338b(0x4a0)](_0x4844e7[_0x27338b(0x2f2)]),_0x11a2d4=(_0x2d299a=_0x2b6790['getDocRanges']())!=null?_0x2d299a:[];if(_0x11a2d4[_0x27338b(0x4d9)]===0x0)return;const _0x3996a7=_0x1ca779[_0x27338b(0x2d1)],_0x57c70a=[{'id':_0x27338b(0x50a),'params':{'unitId':_0x3996a7,'actions':null,'textRanges':_0x11a2d4}}],_0x366acb=this[_0x27338b(0x493)][_0x27338b(0x439)](_0x1ca779,_0x57c70a);if(!_0x215e4a[_0x27338b(0x539)](_0x366acb))throw _0x366acb[_0x27338b(0x3a9)];const _0x5172d2=_0x366acb[_0x27338b(0x239)][0x0]['params'][_0x27338b(0x1a8)];Array[_0x27338b(0x330)](_0x5172d2)&&_0x5172d2[_0x27338b(0x4d9)]&&_0x2b6790[_0x27338b(0x2a4)](_0x5172d2,{'unitId':_0x3996a7,'subUnitId':_0x3996a7},!0x1);}};_0x2e0132=_0x28246d([_0x3fddb8(0x0,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x3fddb8(0x1,_0x215e4a[_0x2fa915(0x34d)])],_0x2e0132);const _0x49a596=new Set([_0x27d820[_0x2fa915(0x58f)]['id']]);function _0x146bdf(_0x3cabf1,_0x3cb84c,_0x4a22f2,_0x52f2cb,_0x19e05b){const _0x366ebb=_0x2fa915;var _0x548f8e,_0x12dd98,_0x2c2ec7,_0x511cd6;const _0x1e1996=[];for(const _0x12032c of _0x3cabf1)if(_0x49a596[_0x366ebb(0x364)](_0x12032c['id'])){if(_0x1e1996[_0x366ebb(0x4d9)]>0x0)break;_0x1e1996[_0x366ebb(0x367)](_0x12032c);break;}else _0x1e1996[_0x366ebb(0x367)](_0x12032c);const _0x1da2a6=(_0x12dd98=(_0x548f8e=_0x19e05b[_0x366ebb(0x23d)]())==null?void 0x0:_0x548f8e['userID'])!=null?_0x12dd98:_0x366ebb(0x3c3),_0x106c92=(_0x511cd6=(_0x2c2ec7=_0x19e05b[_0x366ebb(0x23d)]())==null?void 0x0:_0x2c2ec7[_0x366ebb(0x59f)])!=null?_0x511cd6:_0x366ebb(0x3c3);return{'changeset':{'unitID':_0x3cb84c,'type':_0x215e4a[_0x366ebb(0x1e3)](_0x4a22f2['getUnitType'](_0x3cb84c)),'baseRev':_0x52f2cb['getCurrentRevOfUnit'](_0x3cb84c),'revision':0x0,'userID':_0x1da2a6,'memberID':_0x106c92,'mutations':_0x1e1996},'pendingMutations':_0x3cabf1[_0x366ebb(0x57d)](_0x1e1996[_0x366ebb(0x4d9)])};}function _0x18e44b(_0x52e639,_0x549ed6,_0xcd841,_0x578b9f,_0x36270c){const _0x1daa81=_0x2fa915;var _0xb911e6,_0x30cc00,_0x1f225d,_0x566ee8;const _0x1a936d=[_0x52e639[_0x1daa81(0x4f7)]((_0x5eee96,_0x127cea)=>{const _0x39afb7=_0x1daa81;var _0x4f4d2f;const {id:_0x4eb425}=_0x5eee96,{id:_0x51c8bf,type:_0x5cff48}=_0x127cea,_0xa40033=(_0x4f4d2f=_0x5eee96[_0x39afb7(0x548)])!=null?_0x4f4d2f:{'actions':null},_0x40a7e7=_0x127cea[_0x39afb7(0x548)];if(_0x4eb425&&_0x4eb425!==_0x51c8bf)throw new Error(_0x39afb7(0x4a7)+_0x4eb425+_0x39afb7(0x290)+_0x51c8bf+'.');return{..._0x5eee96,'id':_0x51c8bf,'type':_0x5cff48,'params':{'unitId':_0x40a7e7[_0x39afb7(0x4f8)],'textRanges':_0x40a7e7['textRanges'],'actions':_0x4587e1[_0x39afb7(0x26b)][_0x39afb7(0x60a)](_0xa40033[_0x39afb7(0x515)],_0x40a7e7[_0x39afb7(0x515)])}};},{})],_0x2d3a72=(_0x30cc00=(_0xb911e6=_0x36270c[_0x1daa81(0x23d)]())==null?void 0x0:_0xb911e6[_0x1daa81(0x215)])!=null?_0x30cc00:_0x1daa81(0x3c3),_0x111d87=(_0x566ee8=(_0x1f225d=_0x36270c[_0x1daa81(0x23d)]())==null?void 0x0:_0x1f225d['memberID'])!=null?_0x566ee8:'unknown';return{'changeset':{'unitID':_0x549ed6,'type':_0x215e4a[_0x1daa81(0x1e3)](_0xcd841['getUnitType'](_0x549ed6)),'baseRev':_0x578b9f[_0x1daa81(0x592)](_0x549ed6),'revision':0x0,'userID':_0x2d3a72,'memberID':_0x111d87,'mutations':_0x1a936d},'pendingMutations':[]};}function _0x1128e0(_0x2b61e5,_0x36e197){const _0x16f821=_0x2fa915,_0x4d767e=new _0x3eec93['ReplaySubject'](0x1);return setTimeout(()=>_0x4d767e[_0x16f821(0x1c9)](_0x36e197),_0x2b61e5),_0x4d767e[_0x16f821(0x630)]()[_0x16f821(0x276)](_0x3eec93['take'](0x1));}const _0x1cf697={'id':_0x27d820[_0x2fa915(0x4bd)]['id'],'type':_0x4587e1['CommandType'][_0x2fa915(0x5c9)],'params':{}};var _0x4d9329=Object[_0x2fa915(0x44e)],_0x3d9eeb=Object[_0x2fa915(0x569)],_0x5ce8d8=(_0x38eaf8,_0x4c5cc6,_0x148796,_0x117a31)=>{const _0x409e22=_0x2fa915;for(var _0x5c3143=_0x117a31>0x1?void 0x0:_0x117a31?_0x3d9eeb(_0x4c5cc6,_0x148796):_0x4c5cc6,_0xe0b605=_0x38eaf8[_0x409e22(0x4d9)]-0x1,_0x2170f1;_0xe0b605>=0x0;_0xe0b605--)(_0x2170f1=_0x38eaf8[_0xe0b605])&&(_0x5c3143=(_0x117a31?_0x2170f1(_0x4c5cc6,_0x148796,_0x5c3143):_0x2170f1(_0x5c3143))||_0x5c3143);return _0x117a31&&_0x5c3143&&_0x4d9329(_0x4c5cc6,_0x148796,_0x5c3143),_0x5c3143;},_0x5153ff=(_0x58a6d7,_0x10037f)=>(_0x3c3b76,_0x727776)=>_0x10037f(_0x3c3b76,_0x727776,_0x58a6d7),_0x3b904c=(_0x513f2d=>(_0x513f2d[_0x2fa915(0x5d0)]='not_collab',_0x513f2d[_0x2fa915(0x431)]='synced',_0x513f2d[_0x2fa915(0x177)]=_0x2fa915(0x4fb),_0x513f2d[_0x2fa915(0x3bd)]=_0x2fa915(0x5f3),_0x513f2d[_0x2fa915(0x50b)]=_0x2fa915(0x318),_0x513f2d[_0x2fa915(0x3b5)]='fetch_missing',_0x513f2d[_0x2fa915(0x360)]='conflict',_0x513f2d[_0x2fa915(0x3c4)]=_0x2fa915(0x2e5),_0x513f2d))(_0x3b904c||{});const _0x32517a=0xea60;class _0x3b18d0{constructor(_0x2f2334,_0xe5f945,_0x1d3804,_0x57b47a,_0x1ce9ea,_0x1e71c7,_0x3674fd,_0x287d4d,_0x1d8167){const _0x5540fc=_0x2fa915;_0x339ceb(this,'_awaitingChangeset',null),_0x339ceb(this,_0x5540fc(0x2f4),[]),(this[_0x5540fc(0x2d1)]=_0x2f2334,this[_0x5540fc(0x178)]=_0xe5f945,this[_0x5540fc(0x5d2)]=_0x1ce9ea,this[_0x5540fc(0x1a3)]=_0x1e71c7,this[_0x5540fc(0x217)]=_0x3674fd,this[_0x5540fc(0x24d)]=_0x287d4d,this[_0x5540fc(0x473)]=_0x1d8167,this[_0x5540fc(0x54e)]=_0x1d3804,this['_pendingMutations']=_0x57b47a);}[_0x2fa915(0x3c7)](_0x1d2bd5){const _0x4b557a=_0x2fa915,_0x825920=this[_0x4b557a(0x24d)][_0x4b557a(0x592)](this[_0x4b557a(0x2d1)]);return _0x1d2bd5[_0x4b557a(0x521)]>_0x825920+0x1?(this[_0x4b557a(0x5d2)]['onMissingChangesets']({'from':_0x825920,'to':_0x1d2bd5[_0x4b557a(0x521)]-0x1}),!0x0):!0x1;}[_0x2fa915(0x460)](_0x31a32b){const _0x15aa55=_0x2fa915;this[_0x15aa55(0x217)]['transformUndoRedo'](this[_0x15aa55(0x2d1)],_0x31a32b);}['_transformSelections'](_0x7a7d96){const _0x3cac2=_0x2fa915;var _0x4876d6,_0x1e6b52;(_0x1e6b52=(_0x4876d6=this[_0x3cac2(0x5d2)])[_0x3cac2(0x247)])==null||_0x1e6b52[_0x3cac2(0x246)](_0x4876d6,_0x7a7d96);}[_0x2fa915(0x60f)](_0x2f3ef7){const _0x25d34c=_0x2fa915;var _0x3571fe,_0x3ad734;return(_0x3ad734=(_0x3571fe=this['_handler'])[_0x25d34c(0x3ce)])==null?void 0x0:_0x3ad734['call'](_0x3571fe,_0x2f3ef7);}[_0x2fa915(0x5a0)](_0x1d9874){const _0x5cb025=_0x2fa915;var _0x31e825,_0x4197c6;return(_0x4197c6=(_0x31e825=this[_0x5cb025(0x5d2)])[_0x5cb025(0x314)])==null?void 0x0:_0x4197c6[_0x5cb025(0x246)](_0x31e825,_0x1d9874);}['_transformRemoteChangesetByIMECache'](_0x28597c){const _0x54af87=_0x2fa915;var _0xc2b7cb,_0x2bcaa7,_0x3bd3d6;return(_0x3bd3d6=(_0x2bcaa7=(_0xc2b7cb=this[_0x54af87(0x5d2)])[_0x54af87(0x39b)])==null?void 0x0:_0x2bcaa7[_0x54af87(0x246)](_0xc2b7cb,_0x28597c))!=null?_0x3bd3d6:_0x28597c;}[_0x2fa915(0x4b7)](_0x2e4239){const _0x5ba78b=_0x2fa915;var _0x1dd4ea,_0x499615,_0x495c3d;return(_0x495c3d=(_0x499615=(_0x1dd4ea=this['_handler'])[_0x5ba78b(0x3aa)])==null?void 0x0:_0x499615[_0x5ba78b(0x246)](_0x1dd4ea,_0x2e4239))!=null?_0x495c3d:_0x2e4239;}[_0x2fa915(0x61b)](_0x5af1b6){const _0x472032=_0x2fa915;var _0x3e1ce0,_0x2ae01e;if(this[_0x472032(0x178)]===_0xad4019[_0x472032(0x27b)]){const {unitID:_0x2a649e,mutations:_0x689a8e,memberID:_0x174aaa}=_0x5af1b6,_0x43ce02=_0x689a8e[0x0][_0x472032(0x548)][_0x472032(0x1a8)];Array[_0x472032(0x330)](_0x43ce02)&&_0x43ce02[_0x472032(0x4d9)]>0x0&&((_0x2ae01e=(_0x3e1ce0=this['_handler'])[_0x472032(0x3ae)])==null||_0x2ae01e[_0x472032(0x246)](_0x3e1ce0,{'unitID':_0x2a649e,'memberID':_0x174aaa,'textRanges':_0x43ce02}));}}['_updateLocalCache'](){const _0x5f4781=_0x2fa915;this['_localCacheService'][_0x5f4781(0x25b)](this[_0x5f4781(0x2d1)],this[_0x5f4781(0x178)],this[_0x5f4781(0x54e)],this['_pendingMutations']);}['_getCurrentRevision'](){const _0x53dc21=_0x2fa915;return this[_0x53dc21(0x24d)][_0x53dc21(0x592)](this[_0x53dc21(0x2d1)]);}[_0x2fa915(0x612)](){const _0x4f61d2=_0x2fa915;this[_0x4f61d2(0x24d)][_0x4f61d2(0x24b)](this[_0x4f61d2(0x2d1)]);}[_0x2fa915(0x1ae)](_0x342527){const _0x278836=_0x2fa915;var _0x26424e;let _0x29c73e=this[_0x278836(0x1a5)](_0x342527);_0x29c73e=this[_0x278836(0x4b7)](_0x29c73e);const _0x474e03=_0x4587e1[_0x278836(0x18e)](_0x29c73e['mutations'],this[_0x278836(0x1a3)],{'fromCollab':!0x0});if(!_0x474e03[_0x278836(0x4bb)])throw _0x474e03['error']instanceof Error?_0x474e03[_0x278836(0x3a9)]:new Error((_0x26424e=_0x474e03['error'])!=null?_0x26424e:_0x278836(0x504));this[_0x278836(0x60f)](_0x29c73e),this['_transformStateCache'](_0x29c73e),this['_transformUndoredo'](_0x342527),this['_transformSelections'](_0x29c73e),this[_0x278836(0x61b)](_0x29c73e),this[_0x278836(0x612)]();}}let _0x5eefa=class extends _0x3b18d0{constructor(_0x32661d,_0x5dc25e,_0x43887e,_0xab4200,_0x300bc5,_0x5b2cdd,_0x863dc1,_0x196161,_0x16608a,_0x4c9262){const _0x317074=_0x2fa915;super(_0x32661d,_0x5dc25e,null,[],_0x43887e,_0x196161,_0x863dc1,_0xab4200,_0x300bc5),_0x339ceb(this,_0x317074(0x37c),_0x317074(0x3a0)),(this[_0x317074(0x60e)]=_0x5b2cdd,this[_0x317074(0x43a)]=_0x16608a,this[_0x317074(0x493)]=_0x4c9262);}[_0x2fa915(0x62c)](_0x364372){const _0xf9314c=_0x2fa915,_0x85273f=this[_0xf9314c(0x60e)][_0xf9314c(0x489)](_0x1fcb0c,this[_0xf9314c(0x2d1)],this[_0xf9314c(0x178)],[_0x364372],this['_handler']);return _0x85273f[_0xf9314c(0x1d3)](),_0x85273f[_0xf9314c(0x300)](),_0x85273f;}[_0x2fa915(0x41c)](_0x32965d){const _0x306627=_0x2fa915;if(this['_checkMissing'](_0x32965d))return this[_0x306627(0x60e)][_0x306627(0x489)](_0x39decc,this[_0x306627(0x2d1)],this[_0x306627(0x178)],null,[],null,[_0x32965d],this[_0x306627(0x5d2)]);try{const _0x1d4055=this[_0x306627(0x493)][_0x306627(0x439)](_0x32965d,[_0x1cf697]);if(_0x215e4a[_0x306627(0x539)](_0x1d4055)){const {c1Prime:_0x3c9b6e}=_0x1d4055;return this[_0x306627(0x1ae)](_0x3c9b6e),this;}throw _0x1d4055[_0x306627(0x3a9)];}catch(_0x5e1023){return this[_0x306627(0x43a)][_0x306627(0x3a9)](_0x5e1023),this[_0x306627(0x193)](!0x1);}}[_0x2fa915(0x193)](_0x2781ae){const _0x547d94=_0x2fa915;return this[_0x547d94(0x60e)]['createInstance'](_0x1c7d65,this[_0x547d94(0x2d1)],this[_0x547d94(0x178)],null,[],this[_0x547d94(0x5d2)],_0x2781ae);}[_0x2fa915(0x450)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){const _0x3fb984=_0x2fa915;throw new Error(_0x3fb984(0x4c5));}['onRemoteRetry'](){return this;}[_0x2fa915(0x3ba)](){const _0x351f60=_0x2fa915;return this[_0x351f60(0x60e)]['createInstance'](_0x1ccc4c,this['unitID'],this['type'],null,[],this['_handler']);}[_0x2fa915(0x508)](){return this;}[_0x2fa915(0x2d4)](){const _0x444fb5=_0x2fa915;throw new Error(_0x444fb5(0x39c));}[_0x2fa915(0x487)](){const _0x2de6bb=_0x2fa915,_0x3096f9=this[_0x2de6bb(0x24d)][_0x2de6bb(0x592)](this[_0x2de6bb(0x2d1)]);return this[_0x2de6bb(0x5d2)][_0x2de6bb(0x4ce)]({'from':_0x3096f9,'to':0x0}),this[_0x2de6bb(0x60e)][_0x2de6bb(0x489)](_0x39decc,this[_0x2de6bb(0x2d1)],this[_0x2de6bb(0x178)],null,[],null,[],this[_0x2de6bb(0x5d2)]);}};_0x5eefa=_0x5ce8d8([_0x5153ff(0x3,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a[_0x2fa915(0x518)])),_0x5153ff(0x4,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x408)])),_0x5153ff(0x5,_0x4587e1['Inject'](_0x4587e1[_0x2fa915(0x403)])),_0x5153ff(0x6,_0x4587e1[_0x2fa915(0x428)]),_0x5153ff(0x7,_0x4587e1[_0x2fa915(0x60b)]),_0x5153ff(0x8,_0x4587e1['ILogService']),_0x5153ff(0x9,_0x215e4a[_0x2fa915(0x34d)])],_0x5eefa);let _0x1fcb0c=class extends _0x3b18d0{constructor(_0x50d9b1,_0x5ae67c,_0x4a79df,_0x4e33bd,_0x16f8a5,_0x8da3fe,_0x35b41b,_0x5397f1,_0x2c8a69,_0x13e103,_0x5729e4,_0x2f6251,_0x496605,_0x505965){const _0x37fd30=_0x2fa915;super(_0x50d9b1,_0x5ae67c,null,_0x4a79df,_0x4e33bd,_0x13e103,_0x505965,_0x8da3fe,_0x35b41b),_0x339ceb(this,_0x37fd30(0x37c),'pending'),_0x339ceb(this,_0x37fd30(0x531),null),_0x339ceb(this,_0x37fd30(0x30f),null),(this['_injector']=_0x16f8a5,this['_memberService']=_0x5397f1,this['_logService']=_0x2c8a69,this[_0x37fd30(0x4e4)]=_0x5729e4,this['_transformService']=_0x2f6251,this['_univerInstanceService']=_0x496605);}[_0x2fa915(0x62c)](_0x3b2ed8){const _0x459f13=_0x2fa915;return this['_pendingMutations'][_0x459f13(0x367)](_0x3b2ed8),this[_0x459f13(0x300)](),this;}[_0x2fa915(0x41c)](_0x5f03d0){const _0x2848f1=_0x2fa915;if(this[_0x2848f1(0x3c7)](_0x5f03d0))return this[_0x2848f1(0x243)](),this[_0x2848f1(0x60e)]['createInstance'](_0x39decc,this[_0x2848f1(0x2d1)],this[_0x2848f1(0x178)],null,this[_0x2848f1(0x2f4)],null,[_0x5f03d0],this[_0x2848f1(0x5d2)]);try{const _0x1b776e=this['_transformService'][_0x2848f1(0x439)](_0x5f03d0,this[_0x2848f1(0x2f4)]);if(_0x215e4a[_0x2848f1(0x539)](_0x1b776e)){const {c1Prime:_0x4ba702,m2Prime:_0x5ace21}=_0x1b776e;this[_0x2848f1(0x1ae)](_0x4ba702);const _0x478fcc=this['_injector'][_0x2848f1(0x489)](_0x1fcb0c,this[_0x2848f1(0x2d1)],this[_0x2848f1(0x178)],_0x5ace21,this[_0x2848f1(0x5d2)]);return this[_0x2848f1(0x243)](),_0x478fcc[_0x2848f1(0x1d3)](this[_0x2848f1(0x531)]?Math[_0x2848f1(0x433)](0x0,new Date()['getTime']()-this[_0x2848f1(0x531)]):this[_0x2848f1(0x29d)]()),_0x478fcc;}throw _0x1b776e[_0x2848f1(0x3a9)];}catch(_0x350e87){return this[_0x2848f1(0x43a)][_0x2848f1(0x3a9)](_0x350e87),this['_onConflict'](!0x1);}}['onRemoteAck'](){const _0x2ebe4f=_0x2fa915;throw new Error(_0x2ebe4f(0x399));}[_0x2fa915(0x524)](){const _0x24b83c=_0x2fa915;throw new Error(_0x24b83c(0x4d6));}['onRemoteRetry'](){return this;}[_0x2fa915(0x3ba)](){const _0x261c90=_0x2fa915;return this[_0x261c90(0x243)](),this[_0x261c90(0x60e)][_0x261c90(0x489)](_0x1ccc4c,this[_0x261c90(0x2d1)],this[_0x261c90(0x178)],null,this[_0x261c90(0x2f4)],this['_handler']);}[_0x2fa915(0x508)](){return this;}[_0x2fa915(0x1d3)](_0x20c00e){const _0x26dba5=_0x2fa915,_0x551142=_0x20c00e!=null?_0x20c00e:this[_0x26dba5(0x29d)]();this[_0x26dba5(0x531)]=new Date()[_0x26dba5(0x421)](),this[_0x26dba5(0x30f)]=window['setTimeout'](()=>{const _0x41f60a=_0x26dba5;this[_0x41f60a(0x243)]();let _0x461f19=null;switch(this[_0x41f60a(0x178)]){case _0xad4019[_0x41f60a(0x3ee)]:{_0x461f19=_0x146bdf(this[_0x41f60a(0x2f4)],this[_0x41f60a(0x2d1)],this[_0x41f60a(0x3c1)],this['_revisionService'],this[_0x41f60a(0x226)]);break;}case _0xad4019[_0x41f60a(0x27b)]:{this[_0x41f60a(0x2f4)][_0x41f60a(0x4e3)](_0x3fe896=>_0x3fe896['id']===_0x4844e7[_0x41f60a(0x5c4)]['id'])?_0x461f19=_0x18e44b(this[_0x41f60a(0x2f4)],this[_0x41f60a(0x2d1)],this[_0x41f60a(0x3c1)],this[_0x41f60a(0x24d)],this[_0x41f60a(0x226)]):_0x461f19=_0x146bdf(this[_0x41f60a(0x2f4)],this[_0x41f60a(0x2d1)],this[_0x41f60a(0x3c1)],this[_0x41f60a(0x24d)],this[_0x41f60a(0x226)]);break;}default:throw new Error(_0x41f60a(0x45a)+this['type']+_0x41f60a(0x251));}const {changeset:_0x5731cc,pendingMutations:_0x3663d4}=_0x461f19;this[_0x41f60a(0x5d2)][_0x41f60a(0x2b7)](_0x5731cc);const _0x1cf2e2=_0x3663d4[_0x41f60a(0x4d9)]?this[_0x41f60a(0x60e)][_0x41f60a(0x489)](_0x471081,this['unitID'],this[_0x41f60a(0x178)],_0x5731cc,_0x3663d4,this['_handler'],void 0x0):this[_0x41f60a(0x60e)][_0x41f60a(0x489)](_0x38c50b,this['unitID'],this['type'],_0x5731cc,this[_0x41f60a(0x5d2)]);_0x1cf2e2[_0x41f60a(0x300)](),this[_0x41f60a(0x5d2)]['onStateChange'](this,_0x1cf2e2);},_0x551142);}['_getSendChangesetTimeout'](){const _0x42aada=_0x2fa915;var _0x4bdf40;const _0x68fe69=this[_0x42aada(0x4e4)][_0x42aada(0x185)](_0x152bb8);return(_0x4bdf40=_0x68fe69==null?void 0x0:_0x68fe69[_0x42aada(0x560)])!=null?_0x4bdf40:0x7d0;}[_0x2fa915(0x2d4)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2fa915(0x243)](){this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}['_onConflict'](_0x50b3f3){const _0x110cf0=_0x2fa915;return this['_clearScheduledTask'](),this[_0x110cf0(0x60e)][_0x110cf0(0x489)](_0x1c7d65,this[_0x110cf0(0x2d1)],this[_0x110cf0(0x178)],null,this[_0x110cf0(0x2f4)],this[_0x110cf0(0x5d2)],_0x50b3f3);}};_0x1fcb0c=_0x5ce8d8([_0x5153ff(0x4,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1['Injector'])),_0x5153ff(0x5,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a['RevisionService'])),_0x5153ff(0x6,_0x4587e1['Inject'](_0x539c7e[_0x2fa915(0x408)])),_0x5153ff(0x7,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x1d1)])),_0x5153ff(0x8,_0x4587e1[_0x2fa915(0x62b)]),_0x5153ff(0x9,_0x4587e1[_0x2fa915(0x60b)]),_0x5153ff(0xa,_0x4587e1[_0x2fa915(0x628)]),_0x5153ff(0xb,_0x215e4a[_0x2fa915(0x34d)]),_0x5153ff(0xc,_0x4587e1[_0x2fa915(0x53b)]),_0x5153ff(0xd,_0x4587e1[_0x2fa915(0x428)])],_0x1fcb0c);let _0x38c50b=class extends _0x3b18d0{constructor(_0x4b150c,_0x2af04e,_0x34d900,_0x14c08d,_0x1fb49c,_0x15792e,_0x3d74ca,_0x597853,_0xc1a05a,_0x235bdc,_0x5d7723){const _0x524f4e=_0x2fa915;super(_0x4b150c,_0x2af04e,_0x34d900,[],_0x14c08d,_0x597853,_0x5d7723,_0x15792e,_0x3d74ca),_0x339ceb(this,_0x524f4e(0x37c),'awaiting'),_0x339ceb(this,_0x524f4e(0x5e1),0x0),_0x339ceb(this,_0x524f4e(0x5be)),_0x339ceb(this,_0x524f4e(0x417)),(this[_0x524f4e(0x60e)]=_0x1fb49c,this[_0x524f4e(0x43a)]=_0xc1a05a,this['_transformService']=_0x235bdc);}[_0x2fa915(0x62c)](_0x217be6){const _0x2c6a18=_0x2fa915;this[_0x2c6a18(0x243)]();const _0x1c985c=this['_injector'][_0x2c6a18(0x489)](_0x471081,this[_0x2c6a18(0x2d1)],this['type'],this[_0x2c6a18(0x54e)],[_0x217be6],this[_0x2c6a18(0x5d2)],this[_0x2c6a18(0x5be)]);return _0x1c985c[_0x2c6a18(0x300)](),_0x1c985c;}[_0x2fa915(0x41c)](_0x2d371c){const _0x3f4b37=_0x2fa915;if(this[_0x3f4b37(0x3c7)](_0x2d371c))return this[_0x3f4b37(0x243)](),this[_0x3f4b37(0x60e)][_0x3f4b37(0x489)](_0x39decc,this[_0x3f4b37(0x2d1)],this['type'],this[_0x3f4b37(0x54e)],[],null,[_0x2d371c],this[_0x3f4b37(0x5d2)]);try{const _0xe17062=this['_transformService']['transformChangesets']([_0x2d371c],[this[_0x3f4b37(0x54e)]],!0x1);if(_0x215e4a['isTransformChangesetsSuccess'](_0xe17062)){const {c1Prime:_0x30b43b,c2Prime:_0x1c15eb}=_0xe17062;this[_0x3f4b37(0x1ae)](_0x30b43b[0x0]),_0x1c15eb[0x0]['baseRev']=this[_0x3f4b37(0x47d)](),this[_0x3f4b37(0x243)]();const _0x31ec33=this[_0x3f4b37(0x60e)][_0x3f4b37(0x489)](_0x38c50b,this[_0x3f4b37(0x2d1)],this['type'],_0x1c15eb[0x0],this[_0x3f4b37(0x5d2)]);return _0x31ec33[_0x3f4b37(0x300)](),_0x31ec33;}return this[_0x3f4b37(0x193)](!0x1);}catch(_0x8b20ef){return this[_0x3f4b37(0x43a)][_0x3f4b37(0x3a9)](_0x8b20ef),this[_0x3f4b37(0x193)](!0x1);}}[_0x2fa915(0x450)](_0x215b54){const _0x265d00=_0x2fa915;this['_clearScheduledTask']();const _0x11c376=this[_0x265d00(0x24d)][_0x265d00(0x592)](this[_0x265d00(0x2d1)]);if(_0x215b54[_0x265d00(0x521)]<_0x11c376-0x1)return this;if(this[_0x265d00(0x3c7)](_0x215b54))return this[_0x265d00(0x60e)][_0x265d00(0x489)](_0x39decc,this[_0x265d00(0x2d1)],this[_0x265d00(0x178)],null,[],this['_awaitingChangeset'],[],this[_0x265d00(0x5d2)]);this[_0x265d00(0x612)]();const _0x9a376b=this['_injector'][_0x265d00(0x489)](_0x5eefa,this[_0x265d00(0x2d1)],this['type'],this['_handler']);return _0x9a376b[_0x265d00(0x300)](),_0x9a376b;}[_0x2fa915(0x524)](_0x35e8df){const _0x26f82d=_0x2fa915;return this[_0x26f82d(0x193)](!!(_0x35e8df!=null&&_0x35e8df[_0x26f82d(0x5df)]));}[_0x2fa915(0x611)](_0x419ca9){const _0x198634=_0x2fa915;return this[_0x198634(0x5e1)]>_0x32517a?this[_0x198634(0x3ba)]():(this[_0x198634(0x5be)]=_0x1128e0(this[_0x198634(0x5e1)],{'timeout':this[_0x198634(0x5e1)],'reqId':_0x419ca9[_0x198634(0x31e)]}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0xda7194,timeout:_0x5d87f7})=>{this['_resendWithTimeout'](_0xda7194,_0x5d87f7);}),this);}[_0x2fa915(0x3ba)](){const _0x1f54f8=_0x2fa915;return this[_0x1f54f8(0x243)](),this[_0x1f54f8(0x60e)][_0x1f54f8(0x489)](_0x1ccc4c,this[_0x1f54f8(0x2d1)],this[_0x1f54f8(0x178)],this[_0x1f54f8(0x54e)],[],this[_0x1f54f8(0x5d2)]);}[_0x2fa915(0x508)](){return this;}[_0x2fa915(0x2d4)](){const _0x30a321=_0x2fa915;this[_0x30a321(0x5d2)][_0x30a321(0x2b7)](this[_0x30a321(0x54e)]);}[_0x2fa915(0x193)](_0x1f3497){const _0xfeef21=_0x2fa915;return this[_0xfeef21(0x243)](),this[_0xfeef21(0x60e)][_0xfeef21(0x489)](_0x1c7d65,this['unitID'],this['type'],this['_awaitingChangeset'],[],this[_0xfeef21(0x5d2)],_0x1f3497);}[_0x2fa915(0x2c6)](_0xd48730,_0x377d1c){const _0x22724d=_0x2fa915;var _0xa6a0c1;_0xd48730===((_0xa6a0c1=this[_0x22724d(0x54e)])==null?void 0x0:_0xa6a0c1[_0x22724d(0x31e)])&&(this[_0x22724d(0x2d4)](),this[_0x22724d(0x5e1)]=_0x377d1c===0x0?0x3e8:_0x377d1c*0x2);}[_0x2fa915(0x243)](){const _0x11c1dc=_0x2fa915;var _0xa3f339;(_0xa3f339=this[_0x11c1dc(0x417)])==null||_0xa3f339[_0x11c1dc(0x2ce)](),this['_resendTimeout']=0x0;}};_0x38c50b=_0x5ce8d8([_0x5153ff(0x4,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x5153ff(0x5,_0x4587e1['Inject'](_0x215e4a['RevisionService'])),_0x5153ff(0x6,_0x4587e1['Inject'](_0x539c7e[_0x2fa915(0x408)])),_0x5153ff(0x7,_0x4587e1[_0x2fa915(0x60b)]),_0x5153ff(0x8,_0x4587e1['ILogService']),_0x5153ff(0x9,_0x215e4a[_0x2fa915(0x34d)]),_0x5153ff(0xa,_0x4587e1[_0x2fa915(0x428)])],_0x38c50b);let _0x471081=class extends _0x3b18d0{constructor(_0x3843e7,_0x5c01db,_0x5b8bcc,_0x37db43,_0x1ab61c,_0x4393b9,_0x501e86,_0x552f41,_0x4d4570,_0x5718e5,_0xd279ec,_0x261004,_0x3c4b88){const _0x2eb713=_0x2fa915;super(_0x3843e7,_0x5c01db,_0x5b8bcc,_0x37db43,_0x1ab61c,_0x5718e5,_0x3c4b88,_0x552f41,_0x4d4570),_0x339ceb(this,_0x2eb713(0x37c),_0x2eb713(0x318)),_0x339ceb(this,_0x2eb713(0x5e1),0x0),_0x339ceb(this,'_resendTimer'),_0x339ceb(this,'_sender'),(this[_0x2eb713(0x60e)]=_0x501e86,this[_0x2eb713(0x43a)]=_0xd279ec,this['_transformService']=_0x261004,_0x4393b9&&(this['_resendTimer']=_0x4393b9,this[_0x2eb713(0x417)]=this[_0x2eb713(0x5be)]['subscribe'](({reqId:_0x200b28,timeout:_0x698c87})=>{const _0x219958=_0x2eb713;this[_0x219958(0x2c6)](_0x200b28,_0x698c87);})));}['appendMutation'](_0xc97637){const _0x92a59d=_0x2fa915;return this[_0x92a59d(0x2f4)][_0x92a59d(0x367)](_0xc97637),this;}[_0x2fa915(0x41c)](_0x5063ed){const _0xc948b=_0x2fa915;if(this[_0xc948b(0x3c7)](_0x5063ed))return this[_0xc948b(0x243)](),this[_0xc948b(0x60e)]['createInstance'](_0x39decc,this[_0xc948b(0x2d1)],this[_0xc948b(0x178)],this[_0xc948b(0x54e)],this[_0xc948b(0x2f4)],null,[_0x5063ed],this[_0xc948b(0x5d2)]);try{const _0x38b489=this['_transformService']['transformChangesets']([_0x5063ed],[this['_awaitingChangeset']],!0x1);if(_0x215e4a[_0xc948b(0x288)](_0x38b489)){const {c1Prime:_0x1ea712,c2Prime:_0xc199ee}=_0x38b489,_0x48296d=this['_transformService'][_0xc948b(0x439)](_0x1ea712[0x0],this[_0xc948b(0x2f4)]);if(_0x215e4a[_0xc948b(0x539)](_0x48296d)){const {c1Prime:_0x2293df,m2Prime:_0x73386f}=_0x48296d;return this[_0xc948b(0x1ae)](_0x2293df),_0xc199ee[0x0]['baseRev']=this[_0xc948b(0x47d)](),this['_clearScheduledTask'](),this[_0xc948b(0x60e)][_0xc948b(0x489)](_0x471081,this[_0xc948b(0x2d1)],this[_0xc948b(0x178)],_0xc199ee[0x0],_0x73386f,this[_0xc948b(0x5d2)],void 0x0);}throw _0x48296d['error'];}throw _0x38b489[_0xc948b(0x3a9)];}catch(_0x3b671d){return this['_logService'][_0xc948b(0x3a9)](_0x3b671d),this[_0xc948b(0x193)](!0x1);}}['onRemoteAck'](_0xf14810){const _0x529f9d=_0x2fa915;if(this[_0x529f9d(0x243)](),this[_0x529f9d(0x3c7)](_0xf14810))return this['_injector'][_0x529f9d(0x489)](_0x39decc,this['unitID'],this[_0x529f9d(0x178)],null,this[_0x529f9d(0x2f4)],this['_awaitingChangeset'],[],this[_0x529f9d(0x5d2)]);this[_0x529f9d(0x612)]();const _0x26088e=this[_0x529f9d(0x60e)][_0x529f9d(0x489)](_0x1fcb0c,this[_0x529f9d(0x2d1)],this[_0x529f9d(0x178)],this[_0x529f9d(0x2f4)],this[_0x529f9d(0x5d2)]);return _0x26088e[_0x529f9d(0x1d3)](),_0x26088e[_0x529f9d(0x300)](),_0x26088e;}[_0x2fa915(0x524)](_0x4b1cca){const _0x55ff57=_0x2fa915;return this['_onConflict'](!!(_0x4b1cca!=null&&_0x4b1cca[_0x55ff57(0x5df)]));}['onRemoteRetry'](_0x17d527){const _0x467572=_0x2fa915;return this[_0x467572(0x5e1)]>_0x32517a?this[_0x467572(0x3ba)]():(this[_0x467572(0x5be)]=_0x1128e0(this[_0x467572(0x5e1)],{'timeout':this[_0x467572(0x5e1)],'reqId':_0x17d527['reqId']}),this['_sender']=this[_0x467572(0x5be)]['subscribe'](({reqId:_0x40d93c,timeout:_0x1b5013})=>{const _0x106126=_0x467572;this[_0x106126(0x2c6)](_0x40d93c,_0x1b5013);}),this);}[_0x2fa915(0x3ba)](){const _0x4ba20f=_0x2fa915;return this[_0x4ba20f(0x243)](),this[_0x4ba20f(0x60e)][_0x4ba20f(0x489)](_0x1ccc4c,this[_0x4ba20f(0x2d1)],this['type'],this[_0x4ba20f(0x54e)],this[_0x4ba20f(0x2f4)],this[_0x4ba20f(0x5d2)]);}[_0x2fa915(0x508)](){return this;}['resend'](){const _0x544437=_0x2fa915;this[_0x544437(0x5d2)]['onSendChangeset'](this[_0x544437(0x54e)]);}[_0x2fa915(0x193)](_0x37abfc){const _0x35b34d=_0x2fa915;return this[_0x35b34d(0x243)](),this[_0x35b34d(0x60e)][_0x35b34d(0x489)](_0x1c7d65,this[_0x35b34d(0x2d1)],this[_0x35b34d(0x178)],null,this[_0x35b34d(0x2f4)],this[_0x35b34d(0x5d2)],_0x37abfc);}[_0x2fa915(0x2c6)](_0x13a45a,_0x18ed8d){const _0x4b1676=_0x2fa915;var _0x216c5e;_0x13a45a===((_0x216c5e=this[_0x4b1676(0x54e)])==null?void 0x0:_0x216c5e[_0x4b1676(0x31e)])&&(this[_0x4b1676(0x2d4)](),this['_resendTimeout']=_0x18ed8d===0x0?0x3e8:_0x18ed8d*0x2);}[_0x2fa915(0x243)](){const _0x225564=_0x2fa915;var _0x513c46;(_0x513c46=this[_0x225564(0x417)])==null||_0x513c46[_0x225564(0x2ce)](),this[_0x225564(0x5e1)]=0x0;}};_0x471081=_0x5ce8d8([_0x5153ff(0x6,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x5153ff(0x7,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a['RevisionService'])),_0x5153ff(0x8,_0x4587e1['Inject'](_0x539c7e[_0x2fa915(0x408)])),_0x5153ff(0x9,_0x4587e1[_0x2fa915(0x60b)]),_0x5153ff(0xa,_0x4587e1[_0x2fa915(0x62b)]),_0x5153ff(0xb,_0x215e4a['ITransformService']),_0x5153ff(0xc,_0x4587e1[_0x2fa915(0x428)])],_0x471081);let _0x1c7d65=class extends _0x3b18d0{constructor(_0x14aaa8,_0x54e9b4,_0x53572a,_0x263237,_0x32f346,_0x11b708=!0x1,_0x1a84b6,_0xe22da2,_0x22d6ee,_0x2dcbd3,_0x32620e,_0x57ec33,_0xba7cdb){const _0x54cece=_0x2fa915;super(_0x14aaa8,_0x54e9b4,_0x53572a,_0x263237,_0x32f346,_0xe22da2,_0x22d6ee,_0x32620e,_0x2dcbd3),_0x339ceb(this,_0x54cece(0x37c),_0x54cece(0x1de)),(this[_0x54cece(0x1fc)]=_0x11b708,this[_0x54cece(0x27f)]=_0x1a84b6,this[_0x54cece(0x497)]=_0x57ec33,this[_0x54cece(0x398)]=_0xba7cdb,this[_0x54cece(0x27e)](),this[_0x54cece(0x313)](),this[_0x54cece(0x2c9)]());}[_0x2fa915(0x62c)](){return this;}[_0x2fa915(0x41c)](){return this;}['onRemoteAck'](){return this;}[_0x2fa915(0x524)](){return this;}[_0x2fa915(0x611)](){return this;}[_0x2fa915(0x3ba)](){return this;}[_0x2fa915(0x508)](){return this;}[_0x2fa915(0x2d4)](){const _0x2b6a08=_0x2fa915;throw new Error(_0x2b6a08(0x4f6));}[_0x2fa915(0x313)](){const _0x2f2ef6=_0x2fa915;this[_0x2f2ef6(0x473)]['updateOfflineData'](this[_0x2f2ef6(0x2d1)],this[_0x2f2ef6(0x178)],null,[]);}[_0x2fa915(0x27e)](){const _0x4b27a8=_0x2fa915;this[_0x4b27a8(0x1fc)]?this[_0x4b27a8(0x398)][_0x4b27a8(0x1ca)]({'title':this[_0x4b27a8(0x497)]['t']('permission.title'),'content':this[_0x4b27a8(0x497)]['t']('permission.content'),'type':_0x4b27a8(0x3a9),'duration':0x0}):this['_notificationService'][_0x4b27a8(0x1ca)]({'title':this[_0x4b27a8(0x497)]['t']('conflict.title'),'content':this[_0x4b27a8(0x497)]['t'](_0x4b27a8(0x636)),'type':'error','duration':0x0});}[_0x2fa915(0x2c9)](){const _0x4f44c6=_0x2fa915;this['_permissionService'][_0x4f44c6(0x22b)](new _0x27d820[(_0x4f44c6(0x3da))](this[_0x4f44c6(0x2d1)])['id'],!0x1);}};_0x1c7d65=_0x5ce8d8([_0x5153ff(0x6,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x220)])),_0x5153ff(0x7,_0x4587e1['ICommandService']),_0x5153ff(0x8,_0x4587e1[_0x2fa915(0x428)]),_0x5153ff(0x9,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x408)])),_0x5153ff(0xa,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a[_0x2fa915(0x518)])),_0x5153ff(0xb,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x1e2)])),_0x5153ff(0xc,_0x3163bd[_0x2fa915(0x49b)])],_0x1c7d65);let _0x1ccc4c=class extends _0x3b18d0{constructor(_0x438878,_0x1ede1c,_0x56d918,_0x246090,_0x17771d,_0x33e1a9,_0xfca56b,_0x469aa3,_0xb43266,_0x1afd40){const _0x1d4487=_0x2fa915;super(_0x438878,_0x1ede1c,_0x56d918,_0x246090,_0x17771d,_0xb43266,_0x1afd40,_0xfca56b,_0x469aa3),_0x339ceb(this,'status',_0x1d4487(0x2e5)),this[_0x1d4487(0x60e)]=_0x33e1a9;}[_0x2fa915(0x62c)](_0x50888d){const _0x1c5253=_0x2fa915;return this[_0x1c5253(0x2f4)][_0x1c5253(0x367)](_0x50888d),this[_0x1c5253(0x300)](),this;}[_0x2fa915(0x41c)](_0x208f04){const _0x35d52d=_0x2fa915;throw new Error(_0x35d52d(0x597));}[_0x2fa915(0x450)](){const _0x1d0db2=_0x2fa915;throw new Error(_0x1d0db2(0x337));}[_0x2fa915(0x524)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x2fa915(0x3ba)](){return this;}[_0x2fa915(0x508)](){const _0x18efd4=_0x2fa915,{_injector:_0x51e5ca,_pendingMutations:_0x598a05,_awaitingChangeset:_0x4f24b2,unitID:_0x48b330,_handler:_0x2726c4,type:_0x288b4d}=this,_0xc7353d=_0x35d86a(_0x51e5ca,_0x48b330,_0x288b4d,_0x4f24b2,_0x598a05,_0x2726c4);return _0xc7353d instanceof _0x1fcb0c?_0xc7353d[_0x18efd4(0x1d3)]():(_0xc7353d instanceof _0x471081||_0xc7353d instanceof _0x38c50b)&&_0xc7353d['resend'](),_0xc7353d;}[_0x2fa915(0x2d4)](){const _0xffa350=_0x2fa915;throw new Error(_0xffa350(0x554));}};_0x1ccc4c=_0x5ce8d8([_0x5153ff(0x5,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x5153ff(0x6,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a[_0x2fa915(0x518)])),_0x5153ff(0x7,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x408)])),_0x5153ff(0x8,_0x4587e1[_0x2fa915(0x60b)]),_0x5153ff(0x9,_0x4587e1[_0x2fa915(0x428)])],_0x1ccc4c);let _0x39decc=class extends _0x3b18d0{constructor(_0x145ef4,_0x4bb8cd,_0x2a3bff,_0x51309b,_0x8a6771,_0x385d0d,_0xee4dc8,_0x31527b,_0x290e85,_0x554423,_0x4e016b,_0x65d0c6,_0x468295,_0x50e8cf){const _0xc28ec8=_0x2fa915;super(_0x145ef4,_0x4bb8cd,_0x2a3bff,_0x51309b,_0xee4dc8,_0x65d0c6,_0x468295,_0x290e85,_0x554423),_0x339ceb(this,_0xc28ec8(0x37c),_0xc28ec8(0x2fb)),(this[_0xc28ec8(0x2bb)]=_0x8a6771,this[_0xc28ec8(0x371)]=_0x385d0d,this[_0xc28ec8(0x60e)]=_0x31527b,this[_0xc28ec8(0x43a)]=_0x4e016b,this[_0xc28ec8(0x493)]=_0x50e8cf);}[_0x2fa915(0x1e7)](_0x4ff6f3){const _0x5d431a=_0x2fa915;try{const _0x22feb7=[..._0x4ff6f3,...this[_0x5d431a(0x371)]],_0x2d4bb5=[this[_0x5d431a(0x54e)]||this[_0x5d431a(0x2bb)]][_0x5d431a(0x333)](_0x4e3596=>!!_0x4e3596);let _0x48300d,_0x12755f;if(_0x2d4bb5[_0x5d431a(0x4d9)]){const _0x38ea6a=this[_0x5d431a(0x493)][_0x5d431a(0x4b3)](_0x22feb7,_0x2d4bb5,!0x1);if(!_0x215e4a['isTransformChangesetsSuccess'](_0x38ea6a))throw _0x38ea6a['error'];_0x48300d=_0x38ea6a['c1Prime'],_0x12755f=_0x38ea6a[_0x5d431a(0x434)];}else _0x48300d=_0x22feb7,_0x12755f=[];let _0x2f8885=this[_0x5d431a(0x2f4)];_0x48300d[_0x5d431a(0x34b)](_0x31dbbe=>{const _0xeb3f12=_0x5d431a;let _0x2affaa;if(_0x2f8885[_0xeb3f12(0x4d9)]){const _0x2e6cfe=this['_transformService'][_0xeb3f12(0x439)](_0x31dbbe,_0x2f8885);if(!_0x215e4a[_0xeb3f12(0x539)](_0x2e6cfe))throw _0x2e6cfe['error'];_0x2affaa=_0x2e6cfe['c1Prime'],_0x2f8885=_0x2e6cfe[_0xeb3f12(0x239)];}else _0x2affaa=_0x31dbbe;this['_executeRemoteChangeset'](_0x2affaa);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x5d431a(0x54e)]&&_0x12755f[_0x5d431a(0x4d9)]&&(_0x12755f[0x0]['baseRev']=this[_0x5d431a(0x47d)]());let _0x401994;if(this[_0x5d431a(0x54e)]&&_0x2f8885[_0x5d431a(0x4d9)]!==0x0)_0x401994=this[_0x5d431a(0x60e)]['createInstance'](_0x471081,this[_0x5d431a(0x2d1)],this[_0x5d431a(0x178)],_0x12755f[0x0],_0x2f8885,this[_0x5d431a(0x5d2)],void 0x0);else{if(this['_awaitingChangeset']&&_0x2f8885[_0x5d431a(0x4d9)]===0x0)_0x12755f[0x0]['baseRev']=this[_0x5d431a(0x47d)](),_0x401994=this[_0x5d431a(0x60e)][_0x5d431a(0x489)](_0x38c50b,this['unitID'],this[_0x5d431a(0x178)],_0x12755f[0x0],this['_handler']);else{if(_0x2f8885[_0x5d431a(0x4d9)]!==0x0){const _0x4ba6da=this['_injector'][_0x5d431a(0x489)](_0x1fcb0c,this['unitID'],this[_0x5d431a(0x178)],_0x2f8885,this[_0x5d431a(0x5d2)]);_0x4ba6da[_0x5d431a(0x1d3)](),_0x401994=_0x4ba6da;}else _0x401994=this[_0x5d431a(0x60e)]['createInstance'](_0x5eefa,this[_0x5d431a(0x2d1)],this['type'],this[_0x5d431a(0x5d2)]);}}return _0x401994[_0x5d431a(0x300)](),_0x401994;}catch(_0xa5a3e2){return this['_logService'][_0x5d431a(0x3a9)]('[FetchMissState]',_0x5d431a(0x2e1),_0xa5a3e2),this[_0x5d431a(0x60e)]['createInstance'](_0x1c7d65,this[_0x5d431a(0x2d1)],this[_0x5d431a(0x178)],this['_awaitingChangeset'],this[_0x5d431a(0x2f4)],this[_0x5d431a(0x5d2)],!0x1);}}['resend'](){const _0x55751b=_0x2fa915;throw new Error(_0x55751b(0x47f));}[_0x2fa915(0x62c)](_0x573be5){const _0x11cd68=_0x2fa915;return this[_0x11cd68(0x2f4)][_0x11cd68(0x367)](_0x573be5),this;}['onRemoteChangeset'](_0x1efe2e){const _0x355968=_0x2fa915;return this['_queuedRemoteChangesets'][_0x355968(0x367)](_0x1efe2e),this;}['onRemoteAck'](_0x350d20){const _0x4fd898=_0x2fa915;if(this[_0x4fd898(0x54e)])return this[_0x4fd898(0x2bb)]=this[_0x4fd898(0x54e)],this[_0x4fd898(0x54e)]=null,this;throw new Error(_0x4fd898(0x525));}[_0x2fa915(0x524)](_0x3bc6b3){const _0x3464d9=_0x2fa915;return this[_0x3464d9(0x193)](!!(_0x3bc6b3!=null&&_0x3bc6b3[_0x3464d9(0x5df)]));}['onRemoteRetry'](){return this;}[_0x2fa915(0x3ba)](){const _0x220d64=_0x2fa915;return this[_0x220d64(0x60e)][_0x220d64(0x489)](_0x1ccc4c,this['unitID'],this[_0x220d64(0x178)],this[_0x220d64(0x54e)],this['_pendingMutations'],this['_handler']);}[_0x2fa915(0x508)](){return this;}[_0x2fa915(0x193)](_0x5ea434){const _0x472ae8=_0x2fa915;return this['_injector'][_0x472ae8(0x489)](_0x1c7d65,this['unitID'],this[_0x472ae8(0x178)],this['_awaitingChangeset'],this[_0x472ae8(0x2f4)],this[_0x472ae8(0x5d2)],_0x5ea434);}};_0x39decc=_0x5ce8d8([_0x5153ff(0x7,_0x4587e1['Inject'](_0x4587e1[_0x2fa915(0x403)])),_0x5153ff(0x8,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a[_0x2fa915(0x518)])),_0x5153ff(0x9,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x408)])),_0x5153ff(0xa,_0x4587e1[_0x2fa915(0x62b)]),_0x5153ff(0xb,_0x4587e1['ICommandService']),_0x5153ff(0xc,_0x4587e1['IUndoRedoService']),_0x5153ff(0xd,_0x215e4a[_0x2fa915(0x34d)])],_0x39decc);function _0x35d86a(_0x1b7124,_0x29aa53,_0x534640,_0x578ebf,_0x374411,_0x3910a3){const _0x24ce9b=_0x2fa915;return _0x578ebf&&_0x374411[_0x24ce9b(0x4d9)]?_0x1b7124[_0x24ce9b(0x489)](_0x471081,_0x29aa53,_0x534640,_0x578ebf,_0x374411,_0x3910a3,void 0x0):_0x578ebf?_0x1b7124[_0x24ce9b(0x489)](_0x38c50b,_0x29aa53,_0x534640,_0x578ebf,_0x3910a3):_0x374411[_0x24ce9b(0x4d9)]?_0x1b7124[_0x24ce9b(0x489)](_0x1fcb0c,_0x29aa53,_0x534640,_0x374411,_0x3910a3):_0x1b7124['createInstance'](_0x5eefa,_0x29aa53,_0x534640,_0x3910a3);}var _0x55e14d=Object[_0x2fa915(0x44e)],_0x4ef38e=Object['getOwnPropertyDescriptor'],_0x1fb106=(_0x40e39a,_0x2a8f1f,_0xa4bae9,_0x1455c9)=>{for(var _0x2cbb5b=_0x1455c9>0x1?void 0x0:_0x1455c9?_0x4ef38e(_0x2a8f1f,_0xa4bae9):_0x2a8f1f,_0x3cdd71=_0x40e39a['length']-0x1,_0x44a534;_0x3cdd71>=0x0;_0x3cdd71--)(_0x44a534=_0x40e39a[_0x3cdd71])&&(_0x2cbb5b=(_0x1455c9?_0x44a534(_0x2a8f1f,_0xa4bae9,_0x2cbb5b):_0x44a534(_0x2cbb5b))||_0x2cbb5b);return _0x1455c9&&_0x2cbb5b&&_0x55e14d(_0x2a8f1f,_0xa4bae9,_0x2cbb5b),_0x2cbb5b;},_0x419db5=(_0x172685,_0x14f98f)=>(_0x35d8ed,_0x5e3ccb)=>_0x14f98f(_0x35d8ed,_0x5e3ccb,_0x172685);_0x539c7e[_0x2fa915(0x270)]=class extends _0x4587e1[_0x2fa915(0x5b2)]{constructor(_0x51cd3c,_0x17abbb,_0x1f50fe,_0x20c7f6,_0x3b7d1f,_0x1dd94d,_0x2f6716,_0x337c6d,_0xa1676b,_0x4890e5,_0x32915f,_0x11e3e2,_0xf24b3){const _0x31b02b=_0x2fa915;super(),_0x339ceb(this,_0x31b02b(0x598),new _0x3eec93[(_0x31b02b(0x29b))](null)),_0x339ceb(this,_0x31b02b(0x348),this[_0x31b02b(0x598)][_0x31b02b(0x630)]()),_0x339ceb(this,'_state'),_0x339ceb(this,'_collaborationPaused',!0x1),_0x339ceb(this,_0x31b02b(0x3be),''),_0x339ceb(this,_0x31b02b(0x5d9),0x0),_0x339ceb(this,_0x31b02b(0x361),this[_0x31b02b(0x348)]['pipe'](_0x3eec93['map'](_0x28fce6=>_0x28fce6?_0x28fce6[_0x31b02b(0x37c)]:_0x3b904c[_0x31b02b(0x3c4)]),_0x3eec93['shareReplay'](0x1))),_0x339ceb(this,_0x31b02b(0x5d8),!0x1),_0x339ceb(this,'_remoteChangesetQueue',[]),(this[_0x31b02b(0x2d1)]=_0x51cd3c,this[_0x31b02b(0x593)]=_0x17abbb,this['_type']=_0x1f50fe,this[_0x31b02b(0x60e)]=_0x20c7f6,this[_0x31b02b(0x473)]=_0x3b7d1f,this[_0x31b02b(0x576)]=_0x1dd94d,this[_0x31b02b(0x497)]=_0x2f6716,this[_0x31b02b(0x24d)]=_0x337c6d,this['_logService']=_0xa1676b,this[_0x31b02b(0x1a3)]=_0x4890e5,this['_messageService']=_0x32915f,this[_0x31b02b(0x27f)]=_0x11e3e2,this['_singleActiveUnitService']=_0xf24b3);}get[_0x2fa915(0x4ec)](){const _0x4d3e21=_0x2fa915;return this[_0x4d3e21(0x618)];}async[_0x2fa915(0x558)](){const _0x5c74a5=_0x2fa915;if(this[_0x5c74a5(0x4ec)])throw new Error(_0x5c74a5(0x2f0));await this[_0x5c74a5(0x16f)]();}[_0x2fa915(0x197)](){const _0x4fff7a=_0x2fa915;return this[_0x4fff7a(0x55a)]=!0x0,_0x4587e1[_0x4fff7a(0x2a6)](()=>{const _0x1b9f0f=_0x4fff7a;this[_0x1b9f0f(0x55a)]=!0x1,this[_0x1b9f0f(0x5f1)]();});}[_0x2fa915(0x2a2)](_0x157945){const _0x521125=_0x2fa915;this[_0x521125(0x618)]=_0x157945,this['_state$'][_0x521125(0x1c9)](_0x157945);}async['_init'](){const _0x1abc30=_0x2fa915;var _0x5dd3c0;this[_0x1abc30(0x2a2)](await this[_0x1abc30(0x203)]()),this[_0x1abc30(0x1e4)]&&((_0x5dd3c0=this[_0x1abc30(0x1e4)])==null||_0x5dd3c0['editingUnit'](this[_0x1abc30(0x2d1)]),this[_0x1abc30(0x211)](this['_singleActiveUnitService'][_0x1abc30(0x4ea)](this[_0x1abc30(0x2d1)])['subscribe'](_0x1fe1c2=>{const _0x2d8b47=_0x1abc30;this['_logService'][_0x2d8b47(0x472)]('[CollaborationEntity]',_0x2d8b47(0x29e),_0x1fe1c2),_0x1fe1c2===_0x3ce0bf[_0x2d8b47(0x3e1)]?(this[_0x2d8b47(0x1c4)]['show']({'content':this[_0x2d8b47(0x497)]['t']('collaboration.single-unit.warning'),'type':_0x40b71f[_0x2d8b47(0x219)][_0x2d8b47(0x415)]}),this[_0x2d8b47(0x27f)][_0x2d8b47(0x22b)](new _0x27d820['WorkbookEditablePermission'](this[_0x2d8b47(0x2d1)])['id'],!0x1),this[_0x2d8b47(0x27f)][_0x2d8b47(0x3d8)](!0x1)):(this[_0x2d8b47(0x27f)][_0x2d8b47(0x22b)](new _0x27d820['WorkbookEditablePermission'](this[_0x2d8b47(0x2d1)])['id'],!0x0),this[_0x2d8b47(0x27f)][_0x2d8b47(0x3d8)](!0x0));})));let _0x55353f=!0x1;return this[_0x1abc30(0x211)](this[_0x1abc30(0x593)]['sessionStatus$'][_0x1abc30(0x447)](_0x198890=>{const _0x37551f=_0x1abc30;_0x198890===_0x474ede[_0x37551f(0x36e)]?this['_toggleOnline'](_0x55353f):_0x198890===_0x474ede[_0x37551f(0x3c4)]&&(_0x55353f=!0x0,this[_0x37551f(0x183)]());})),this[_0x1abc30(0x211)](this[_0x1abc30(0x593)]['event$']['subscribe'](_0xa610cf=>{const _0x544b2d=_0x1abc30;try{switch(_0xa610cf[_0x544b2d(0x526)]){case _0x215e4a[_0x544b2d(0x27c)][_0x544b2d(0x4e7)]:{this['_onRemoteChangeset'](_0x215e4a['parseProtocolChangeset'](_0xa610cf[_0x544b2d(0x273)]));break;}case _0x215e4a[_0x544b2d(0x27c)]['CHANGESET_ACK']:{this['_onRemoteACK'](_0xa610cf[_0x544b2d(0x273)]);break;}case _0x215e4a[_0x544b2d(0x27c)]['CHANGESET_REJ']:{this[_0x544b2d(0x3b9)]();break;}case _0x215e4a['CollaborationEvent'][_0x544b2d(0x195)]:{this[_0x544b2d(0x432)](_0xa610cf[_0x544b2d(0x273)]);break;}case _0x215e4a[_0x544b2d(0x27c)]['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0xa610cf[_0x544b2d(0x273)][_0x544b2d(0x3d7)][_0x544b2d(0x252)](_0xf961a8=>_0x215e4a['parseProtocolChangeset'](_0xf961a8)));break;}case _0x215e4a[_0x544b2d(0x27c)][_0x544b2d(0x48f)]:this[_0x544b2d(0x3b9)]({'isPermissionRej':!0x0});}}catch(_0x46bf34){throw console[_0x544b2d(0x3a9)](_0x544b2d(0x382),_0x46bf34),_0x46bf34;}})),this[_0x1abc30(0x618)];}[_0x2fa915(0x5a9)](){const _0x1f3d4f=_0x2fa915;this[_0x1f3d4f(0x5d8)]=!0x1;}['_lockTransition'](){const _0x18f94=_0x2fa915;if(this['_transitionLocked'])throw new Error(_0x18f94(0x33d));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x51aab5){const _0x4a822a=_0x2fa915;this[_0x4a822a(0x317)](),this[_0x4a822a(0x2a2)](this[_0x4a822a(0x618)][_0x4a822a(0x62c)](_0x51aab5)),this[_0x4a822a(0x5a9)]();}[_0x2fa915(0x562)](_0x2dc4d1){const _0x2d2e9f=_0x2fa915;if(!(_0x2dc4d1['revision']<=this[_0x2d2e9f(0x24d)][_0x2d2e9f(0x592)](this[_0x2d2e9f(0x2d1)]))){if(this[_0x2d2e9f(0x55a)]){this[_0x2d2e9f(0x4f3)]['push'](_0x2dc4d1);return;}this[_0x2d2e9f(0x423)](_0x2dc4d1);}}['_exhaustRemoteChangesetQueue'](){const _0x2a95c7=_0x2fa915;this['_remoteChangesetQueue'][_0x2a95c7(0x34b)](_0x4fe88f=>this[_0x2a95c7(0x423)](_0x4fe88f)),this['_remoteChangesetQueue']=[];}[_0x2fa915(0x423)](_0x3827c2){const _0x36fd15=_0x2fa915,_0x23054e=this['_compressMutationService'][_0x36fd15(0x36c)][_0x36fd15(0x606)](this[_0x36fd15(0x576)][_0x36fd15(0x36c)][_0x36fd15(0x51d)]()[_0x36fd15(0x32e)])(_0x3827c2[_0x36fd15(0x4d3)],null)||_0x3827c2[_0x36fd15(0x4d3)],_0x134442={..._0x3827c2,'mutations':_0x23054e};this['_lockTransition'](),this[_0x36fd15(0x2a2)](this[_0x36fd15(0x618)][_0x36fd15(0x41c)](_0x134442)),this['_unlockTransition']();}[_0x2fa915(0x5f9)](_0x5da6b4){const _0x255062=_0x2fa915;this[_0x255062(0x317)](),this[_0x255062(0x2a2)](this[_0x255062(0x618)][_0x255062(0x450)](_0x5da6b4)),this['_unlockTransition']();}[_0x2fa915(0x3b9)](_0x234d30){const _0x7c5fe1=_0x2fa915;this[_0x7c5fe1(0x317)](),this[_0x7c5fe1(0x2a2)](this[_0x7c5fe1(0x618)][_0x7c5fe1(0x524)](_0x234d30)),this[_0x7c5fe1(0x5a9)]();}[_0x2fa915(0x432)](_0x440c40){const _0x18ee1e=_0x2fa915;this[_0x18ee1e(0x317)](),this[_0x18ee1e(0x2a2)](this[_0x18ee1e(0x618)]['onRemoteRetry'](_0x440c40)),this[_0x18ee1e(0x5a9)]();}[_0x2fa915(0x602)](_0x35ef5d){const _0x2b3610=_0x2fa915;if(!(this[_0x2b3610(0x618)]instanceof _0x39decc))throw new TypeError(_0x2b3610(0x21e));const _0x3119eb=_0x35ef5d['map'](_0x1870a2=>{const _0x4520a8=_0x2b3610,_0x115ab1=this[_0x4520a8(0x576)][_0x4520a8(0x36c)][_0x4520a8(0x606)](this[_0x4520a8(0x576)][_0x4520a8(0x36c)][_0x4520a8(0x51d)]()['COMPRESS_MUTATION_APPLY'])(_0x1870a2['mutations'],null)||_0x1870a2['mutations'];return{..._0x1870a2,'mutations':_0x115ab1};});this['_lockTransition'](),this['_updateState'](this[_0x2b3610(0x618)][_0x2b3610(0x1e7)](_0x3119eb)),this[_0x2b3610(0x5a9)]();}['_toggleOffline'](){const _0x3b1caf=_0x2fa915;this['_lockTransition'](),this[_0x3b1caf(0x2a2)](this[_0x3b1caf(0x618)]['toggleOffline']()),this['_unlockTransition']();}[_0x2fa915(0x549)](_0x1fc893=!0x1){const _0x2e4f14=_0x2fa915;this[_0x2e4f14(0x317)](),this['_updateState'](this[_0x2e4f14(0x618)][_0x2e4f14(0x508)]()),this[_0x2e4f14(0x5a9)]();const _0x247da5=this[_0x2e4f14(0x618)];_0x1fc893&&_0x247da5 instanceof _0x5eefa&&(this['_lockTransition'](),this['_updateState'](_0x247da5[_0x2e4f14(0x487)]()),this['_unlockTransition']());}async[_0x2fa915(0x203)](){return new Promise(_0x4ff91b=>{const _0x11783e=_0x5275;this['session']['sessionStatus$'][_0x11783e(0x276)](_0x3eec93[_0x11783e(0x44f)](0x1))[_0x11783e(0x447)](async _0x5ec588=>{const _0x51aa72=_0x11783e;_0x4ff91b(await this[_0x51aa72(0x28b)](_0x5ec588===_0x474ede['ONLINE']));});});}[_0x2fa915(0x50f)](){const _0x11b3e9=_0x2fa915,_0x3d2b0e=this[_0x11b3e9(0x2d1)];return{'onStateChange':(_0x22c58e,_0x9d2944)=>{const _0x2886d7=_0x11b3e9;if(_0x22c58e!==this[_0x2886d7(0x618)])throw new Error(_0x2886d7(0x2ae)+_0x22c58e['status']+_0x2886d7(0x365)+_0x9d2944[_0x2886d7(0x37c)]+_0x2886d7(0x509)+this['_state']['status']);this[_0x2886d7(0x2a2)](_0x9d2944);},'onSendChangeset':_0x385832=>{const _0x5d05f2=_0x11b3e9;_0x385832['sid']||(_0x385832[_0x5d05f2(0x2af)]=this[_0x5d05f2(0x3be)],_0x385832[_0x5d05f2(0x31e)]=++this[_0x5d05f2(0x5d9)]);const _0x2ff368={'eventID':_0x215e4a[_0x5d05f2(0x27c)][_0x5d05f2(0x1a1)],'data':{'unitID':_0x385832[_0x5d05f2(0x2d1)],'unitType':this[_0x5d05f2(0x57f)],'changeset':_0x385832,'memberID':this[_0x5d05f2(0x593)]['getMemberID']()}};this[_0x5d05f2(0x593)][_0x5d05f2(0x5aa)](_0x2ff368,this[_0x5d05f2(0x2d1)]);},'onMissingChangesets':({from:_0x3cd0d3,to:_0x1b4e53})=>{const _0x43e8c7=_0x11b3e9;this['_logService'][_0x43e8c7(0x472)]('[CollaborationEntity]',_0x43e8c7(0x3fb)+_0x3cd0d3+_0x43e8c7(0x1f6)+_0x1b4e53);const _0x4c61d6={'eventID':_0x215e4a[_0x43e8c7(0x27c)][_0x43e8c7(0x468)],'data':{'unitID':_0x3d2b0e,'unitType':this['_type'],'from':_0x3cd0d3,'to':_0x1b4e53}};this[_0x43e8c7(0x593)][_0x43e8c7(0x5aa)](_0x4c61d6,this[_0x43e8c7(0x2d1)]);}};}async[_0x2fa915(0x28b)](_0x493ade){const _0x2affd3=_0x2fa915;var _0x3c817e,_0x65ec46;const _0x550062=await this[_0x2affd3(0x473)]['loadOfflineData'](this['unitID']),_0x23325f=(_0x3c817e=_0x550062==null?void 0x0:_0x550062[_0x2affd3(0x4d3)])!=null?_0x3c817e:[],_0x28e1ca=(_0x65ec46=_0x550062==null?void 0x0:_0x550062[_0x2affd3(0x32b)])!=null?_0x65ec46:null,_0x7e3219=!!(_0x28e1ca!=null&&_0x28e1ca[_0x2affd3(0x2af)])&&!!(_0x28e1ca!=null&&_0x28e1ca['reqId']);this[_0x2affd3(0x3be)]=_0x7e3219?_0x28e1ca['sid']:_0x5c1a92(),this[_0x2affd3(0x5d9)]=_0x7e3219?_0x28e1ca['reqId']:0x0;const _0x5f1928=this['unitID'];try{this[_0x2affd3(0x571)](_0x28e1ca,_0x23325f);}catch(_0x3a35d2){this[_0x2affd3(0x43a)]['error'](_0x3a35d2);}const _0x227079=this['_createHandler']();if(_0x493ade){const _0x359e0f=_0x35d86a(this[_0x2affd3(0x60e)],_0x5f1928,this[_0x2affd3(0x57f)],_0x28e1ca,_0x23325f,_0x227079);return _0x359e0f instanceof _0x1fcb0c?_0x359e0f['_schedule']():(_0x359e0f instanceof _0x471081||_0x359e0f instanceof _0x38c50b)&&_0x359e0f['resend'](),_0x359e0f;}return this[_0x2affd3(0x60e)][_0x2affd3(0x489)](_0x1ccc4c,_0x5f1928,this[_0x2affd3(0x57f)],_0x28e1ca,_0x23325f,_0x227079);}[_0x2fa915(0x571)](_0xd8f2fb,_0x58644c){const _0x22df37=_0x2fa915;var _0x3d5b62,_0x4fa3c1;const _0x3a59e3=this[_0x22df37(0x576)]['interceptor'][_0x22df37(0x606)](this[_0x22df37(0x576)][_0x22df37(0x36c)][_0x22df37(0x51d)]()[_0x22df37(0x32e)]);(_0x3d5b62=_0x3a59e3((_0xd8f2fb==null?void 0x0:_0xd8f2fb['mutations'])||[],null))==null||_0x3d5b62['forEach'](_0x30a71a=>this[_0x22df37(0x1a3)]['executeCommand'](_0x30a71a['id'],_0x30a71a[_0x22df37(0x548)])),(_0x4fa3c1=_0x3a59e3(_0x58644c||[],null))==null||_0x4fa3c1[_0x22df37(0x34b)](_0x434145=>this[_0x22df37(0x1a3)][_0x22df37(0x3c6)](_0x434145['id'],_0x434145[_0x22df37(0x548)]));}},_0x539c7e[_0x2fa915(0x270)]=_0x1fb106([_0x419db5(0x3,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x419db5(0x4,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x408)])),_0x419db5(0x5,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a[_0x2fa915(0x2d5)])),_0x419db5(0x6,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x1e2)])),_0x419db5(0x7,_0x4587e1['Inject'](_0x215e4a[_0x2fa915(0x518)])),_0x419db5(0x8,_0x4587e1['ILogService']),_0x419db5(0x9,_0x4587e1['ICommandService']),_0x419db5(0xa,_0x3163bd[_0x2fa915(0x259)]),_0x419db5(0xb,_0x4587e1[_0x2fa915(0x220)]),_0x419db5(0xc,_0x4587e1['Optional'](_0x426f76))],_0x539c7e[_0x2fa915(0x270)]),_0x539c7e[_0x2fa915(0x381)]=class extends _0x539c7e[_0x2fa915(0x270)]{constructor(_0x257a5d,_0x53e77d,_0x411073,_0x2f9c71,_0x1d7c6b,_0x2bdc60,_0x55ec36,_0x2e9477,_0x5231ca,_0x17b84c,_0xa665b0,_0x419e3a,_0x34ac59,_0x5d1717,_0x48cf8d,_0x3d7fa8,_0x38d977,_0x465550){const _0x14bf0b=_0x2fa915;super(_0x257a5d,_0x411073,_0x53e77d,_0x2f9c71,_0x1d7c6b,_0x2bdc60,_0x55ec36,_0x2e9477,_0x5d1717,_0x48cf8d,_0x3d7fa8,_0x38d977,_0x465550),this[_0x14bf0b(0x2d1)]=_0x257a5d,this[_0x14bf0b(0x178)]=_0x53e77d,this['_docStateChangeManagerService']=_0x5231ca,this[_0x14bf0b(0x284)]=_0x17b84c,this[_0x14bf0b(0x362)]=_0xa665b0,this[_0x14bf0b(0x4df)]=_0x419e3a,this[_0x14bf0b(0x5e4)]=_0x34ac59;}[_0x2fa915(0x50f)](){const _0x33391a=_0x2fa915,_0x480f09=super[_0x33391a(0x50f)]();return _0x480f09[_0x33391a(0x3ce)]=_0x4f15a1=>this[_0x33391a(0x284)][_0x33391a(0x5cd)](_0x4f15a1),_0x480f09['onTransformState']=_0x4ac715=>this[_0x33391a(0x362)][_0x33391a(0x52a)](_0x4ac715),_0x480f09[_0x33391a(0x247)]=_0x31271d=>this['_docTransformSelectionsService'][_0x33391a(0x282)](_0x31271d),_0x480f09[_0x33391a(0x3ae)]=_0x456f31=>this[_0x33391a(0x5e4)][_0x33391a(0x475)](_0x456f31),_0x480f09[_0x33391a(0x39b)]=_0x367545=>this[_0x33391a(0x284)][_0x33391a(0x543)](_0x367545),_0x480f09[_0x33391a(0x3aa)]=_0x319238=>this['_docTransformStateCacheService'][_0x33391a(0x543)](_0x319238),_0x480f09;}async['_init'](){const _0x4f6925=_0x2fa915,_0x461cf8=await super[_0x4f6925(0x16f)]();return this[_0x4f6925(0x16d)]['docStateChange$'][_0x4f6925(0x276)](_0x3eec93[_0x4f6925(0x2b3)](this[_0x4f6925(0x1ad)]))[_0x4f6925(0x447)](_0x1e6746=>{const _0x4869e9=_0x4f6925;if(_0x1e6746==null)return;const {unitId:_0xdd242b,redoState:_0x8362fe,commandId:_0x279766}=_0x1e6746;if(_0xdd242b!==this['unitID'])return;const _0xe07940={'id':_0x279766,'type':_0x4587e1['CommandType'][_0x4869e9(0x5c9)],'params':{'unitId':_0xdd242b,'actions':_0x8362fe[_0x4869e9(0x515)],'textRanges':null}};this[_0x4869e9(0x30a)](_0xe07940);}),_0x461cf8;}},_0x539c7e[_0x2fa915(0x381)]=_0x1fb106([_0x419db5(0x3,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x419db5(0x4,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x408)])),_0x419db5(0x5,_0x4587e1['Inject'](_0x215e4a[_0x2fa915(0x2d5)])),_0x419db5(0x6,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x1e2)])),_0x419db5(0x7,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a[_0x2fa915(0x518)])),_0x419db5(0x8,_0x4587e1[_0x2fa915(0x42b)](_0x28eee7[_0x2fa915(0x1c7)])),_0x419db5(0x9,_0x4587e1[_0x2fa915(0x42b)](_0xf435ee)),_0x419db5(0xa,_0x4587e1[_0x2fa915(0x42b)](_0x952708)),_0x419db5(0xb,_0x4587e1[_0x2fa915(0x42b)](_0x2e0132)),_0x419db5(0xc,_0x4587e1[_0x2fa915(0x42b)](_0x54132e)),_0x419db5(0xd,_0x4587e1[_0x2fa915(0x62b)]),_0x419db5(0xe,_0x4587e1[_0x2fa915(0x60b)]),_0x419db5(0xf,_0x3163bd[_0x2fa915(0x259)]),_0x419db5(0x10,_0x4587e1[_0x2fa915(0x220)]),_0x419db5(0x11,_0x4587e1[_0x2fa915(0x412)](_0x426f76))],_0x539c7e[_0x2fa915(0x381)]),_0x539c7e['SheetCollaborationEntity']=class extends _0x539c7e[_0x2fa915(0x270)]{constructor(_0x1a0d9b,_0x3c27c4,_0x1e6706,_0x360db0,_0x2d2682,_0x609ac0,_0x5202d3,_0x3bca6e,_0x38e18b,_0x19b401,_0x1586ca,_0x290d3c,_0x25d25f,_0x1f8c5f){const _0x437358=_0x2fa915;super(_0x1a0d9b,_0x1e6706,_0x3c27c4,_0x360db0,_0x2d2682,_0x609ac0,_0x5202d3,_0x3bca6e,_0x19b401,_0x1586ca,_0x290d3c,_0x25d25f,_0x1f8c5f),this[_0x437358(0x2d1)]=_0x1a0d9b,this[_0x437358(0x178)]=_0x3c27c4,this[_0x437358(0x470)]=_0x38e18b;}[_0x2fa915(0x50f)](){const _0x34c665=_0x2fa915,_0x22e247=super[_0x34c665(0x50f)]();return _0x22e247[_0x34c665(0x247)]=_0x4d4697=>this[_0x34c665(0x470)][_0x34c665(0x282)](_0x4d4697),_0x22e247;}async['_init'](){const _0x3bad4b=_0x2fa915,_0x40698d=await super[_0x3bad4b(0x16f)]();return this[_0x3bad4b(0x211)](this[_0x3bad4b(0x1a3)][_0x3bad4b(0x1b5)]((_0x271f8b,_0x4e99a6)=>{const _0x482f98=_0x3bad4b;if(_0x271f8b[_0x482f98(0x178)]!==_0x4587e1[_0x482f98(0x2b1)][_0x482f98(0x5c9)]||_0x4e99a6!=null&&_0x4e99a6['fromCollab']||_0x4e99a6!=null&&_0x4e99a6['onlyLocal'])return;const _0x341115=_0x271f8b[_0x482f98(0x548)];if((_0x341115==null?void 0x0:_0x341115[_0x482f98(0x4f8)])!==this[_0x482f98(0x2d1)])return;const _0x181224=_0x271f8b,_0x31ef09=this[_0x482f98(0x576)][_0x482f98(0x36c)][_0x482f98(0x606)](this[_0x482f98(0x576)][_0x482f98(0x36c)]['getInterceptPoints']()[_0x482f98(0x41b)])([_0x181224],null)||[_0x181224];this[_0x482f98(0x30a)](_0x31ef09[0x0]);})),_0x40698d;}},_0x539c7e[_0x2fa915(0x2ba)]=_0x1fb106([_0x419db5(0x3,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x419db5(0x4,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x408)])),_0x419db5(0x5,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a[_0x2fa915(0x2d5)])),_0x419db5(0x6,_0x4587e1['Inject'](_0x4587e1[_0x2fa915(0x1e2)])),_0x419db5(0x7,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a[_0x2fa915(0x518)])),_0x419db5(0x8,_0x4587e1[_0x2fa915(0x42b)](_0x2a0fa4)),_0x419db5(0x9,_0x4587e1[_0x2fa915(0x62b)]),_0x419db5(0xa,_0x4587e1['ICommandService']),_0x419db5(0xb,_0x3163bd[_0x2fa915(0x259)]),_0x419db5(0xc,_0x4587e1[_0x2fa915(0x220)]),_0x419db5(0xd,_0x4587e1[_0x2fa915(0x412)](_0x426f76))],_0x539c7e[_0x2fa915(0x2ba)]);var _0x445614=Object[_0x2fa915(0x44e)],_0x444049=Object['getOwnPropertyDescriptor'],_0x12e233=(_0x1722c3,_0x273efd,_0xf2fc86,_0x5cf9dd)=>{const _0xa2348=_0x2fa915;for(var _0x3f0b22=_0x5cf9dd>0x1?void 0x0:_0x5cf9dd?_0x444049(_0x273efd,_0xf2fc86):_0x273efd,_0x4a3798=_0x1722c3[_0xa2348(0x4d9)]-0x1,_0x37318e;_0x4a3798>=0x0;_0x4a3798--)(_0x37318e=_0x1722c3[_0x4a3798])&&(_0x3f0b22=(_0x5cf9dd?_0x37318e(_0x273efd,_0xf2fc86,_0x3f0b22):_0x37318e(_0x3f0b22))||_0x3f0b22);return _0x5cf9dd&&_0x3f0b22&&_0x445614(_0x273efd,_0xf2fc86,_0x3f0b22),_0x3f0b22;},_0x474c4f=(_0xedd5f7,_0x3a7556)=>(_0x223c6b,_0x24122e)=>_0x3a7556(_0x223c6b,_0x24122e,_0xedd5f7);_0x539c7e[_0x2fa915(0x38e)]=class extends _0x4587e1[_0x2fa915(0x5b2)]{constructor(_0xf8f32b,_0x33b0db,_0x2fc08d){const _0x21551a=_0x2fa915;super(),_0x339ceb(this,'_entities',new Map()),_0x339ceb(this,_0x21551a(0x308),new _0x3eec93['Subject']()),(this[_0x21551a(0x60e)]=_0xf8f32b,this[_0x21551a(0x23a)]=_0x33b0db,this['_univerInstanceService']=_0x2fc08d,this[_0x21551a(0x16f)]());}['dispose'](){const _0x5d7655=_0x2fa915;super['dispose'](),this[_0x5d7655(0x21f)]['forEach'](_0x20c942=>_0x20c942[_0x5d7655(0x3ea)]()),this[_0x5d7655(0x21f)]['clear']();}[_0x2fa915(0x379)](_0xfd2f40){const _0x2b286e=_0x2fa915;var _0x363315;return(_0x363315=this[_0x2b286e(0x21f)][_0x2b286e(0x4a0)](_0xfd2f40))!=null?_0x363315:null;}[_0x2fa915(0x3e6)](_0x3c110c){const _0xf68c3e=_0x2fa915,_0x282e9f=this[_0xf68c3e(0x379)](_0x3c110c);return _0x282e9f?_0x3eec93['of'](_0x282e9f):this['_entityInit$']['pipe'](_0x18f07e[_0xf68c3e(0x333)](_0x40fc7b=>_0x40fc7b[_0xf68c3e(0x2d1)]===_0x3c110c));}[_0x2fa915(0x16f)](){const _0x42dea5=_0x2fa915;this[_0x42dea5(0x3c1)][_0x42dea5(0x39e)](_0x4587e1['UniverInstanceType'][_0x42dea5(0x3ee)])['pipe'](_0x3eec93['takeUntil'](this[_0x42dea5(0x1ad)]),_0x18f07e[_0x42dea5(0x4d0)](0x10))[_0x42dea5(0x447)](async _0x51442b=>{const _0x3b8be8=_0x42dea5,_0x1d25c4=_0x51442b[_0x3b8be8(0x1d9)](),_0x2b3ec6=await this[_0x3b8be8(0x4cf)](_0x1d25c4,_0xad4019[_0x3b8be8(0x3ee)]);this[_0x3b8be8(0x21f)][_0x3b8be8(0x498)](_0x1d25c4,_0x2b3ec6);}),this[_0x42dea5(0x3c1)]['getTypeOfUnitAdded$'](_0x4587e1[_0x42dea5(0x637)]['UNIVER_DOC'])[_0x42dea5(0x276)](_0x3eec93['takeUntil'](this[_0x42dea5(0x1ad)]),_0x18f07e['delay'](0x10))[_0x42dea5(0x276)](_0x18f07e[_0x42dea5(0x333)](_0x1ace69=>!_0x1ace69[_0x42dea5(0x1d9)]()['startsWith']('__')))[_0x42dea5(0x447)](async _0x2f488b=>{const _0x3a1181=_0x42dea5,_0x3ccb4c=_0x2f488b['getUnitId'](),_0x1cc6eb=await this[_0x3a1181(0x4cf)](_0x3ccb4c,_0xad4019[_0x3a1181(0x27b)]);this[_0x3a1181(0x21f)][_0x3a1181(0x498)](_0x3ccb4c,_0x1cc6eb);}),_0x3eec93[_0x42dea5(0x538)](this[_0x42dea5(0x3c1)][_0x42dea5(0x267)](_0x4587e1['UniverInstanceType']['UNIVER_SHEET']),this[_0x42dea5(0x3c1)][_0x42dea5(0x267)](_0x4587e1[_0x42dea5(0x637)]['UNIVER_DOC']))[_0x42dea5(0x276)](_0x3eec93[_0x42dea5(0x2b3)](this[_0x42dea5(0x1ad)]))[_0x42dea5(0x447)](_0x3a8d6c=>{const _0xd03768=_0x42dea5,_0x22de57=_0x3a8d6c[_0xd03768(0x1d9)](),_0x2d53e5=this['_entities'][_0xd03768(0x4a0)](_0x22de57);_0x2d53e5&&(_0x2d53e5[_0xd03768(0x3ea)](),this[_0xd03768(0x21f)][_0xd03768(0x4e2)](_0x22de57));});}async[_0x2fa915(0x4cf)](_0xcf79d8,_0x4a5bcf){const _0x2a8f4f=_0x2fa915,_0x123cc2=await this[_0x2a8f4f(0x23a)][_0x2a8f4f(0x3ef)](_0xcf79d8),_0x5ba1bb=this[_0x2a8f4f(0x60e)][_0x2a8f4f(0x489)](this['_getCtorByUniverType'](_0x4a5bcf),_0xcf79d8,_0x4a5bcf,_0x123cc2);return await _0x5ba1bb['init'](),this[_0x2a8f4f(0x308)]['next'](_0x5ba1bb),_0x5ba1bb;}['_getCtorByUniverType'](_0x50274d){const _0x36bfd6=_0x2fa915;switch(_0x50274d){case _0xad4019[_0x36bfd6(0x27b)]:return _0x539c7e['DocCollaborationEntity'];case _0xad4019[_0x36bfd6(0x3ee)]:return _0x539c7e[_0x36bfd6(0x2ba)];default:throw new Error(_0x36bfd6(0x31c)+_0x50274d);}}},_0x539c7e[_0x2fa915(0x38e)]=_0x12e233([_0x474c4f(0x0,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1['Injector'])),_0x474c4f(0x1,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x240)])),_0x474c4f(0x2,_0x4587e1[_0x2fa915(0x53b)])],_0x539c7e[_0x2fa915(0x38e)]);const _0x48a2d0=[_0x2fa915(0x224),_0x2fa915(0x400),_0x2fa915(0x18f),_0x2fa915(0x4a4),_0x2fa915(0x4e1),'gold400'];class _0x1938ad extends _0x4587e1[_0x2fa915(0x552)]{constructor(){const _0x8147b9=_0x2fa915;super(...arguments),_0x339ceb(this,_0x8147b9(0x37d),new Map()),_0x339ceb(this,_0x8147b9(0x269),0x0);}[_0x2fa915(0x3ac)](_0xc9eb0f){const _0x4c95d1=_0x2fa915;if(this['_assignedColors'][_0x4c95d1(0x364)](_0xc9eb0f))return this['_assignedColors'][_0x4c95d1(0x4a0)](_0xc9eb0f);const _0x16af2d=_0x48a2d0[this[_0x4c95d1(0x269)]];return this[_0x4c95d1(0x269)]=(this[_0x4c95d1(0x269)]+0x1)%_0x48a2d0['length'],this['_assignedColors'][_0x4c95d1(0x498)](_0xc9eb0f,_0x16af2d),_0x16af2d;}}var _0x5efd2e=Object[_0x2fa915(0x44e)],_0x22fc1c=Object['getOwnPropertyDescriptor'],_0x1ff821=(_0xd20d63,_0x4ba2b8,_0x17663b,_0x512c63)=>{const _0x311e25=_0x2fa915;for(var _0x154c50=_0x512c63>0x1?void 0x0:_0x512c63?_0x22fc1c(_0x4ba2b8,_0x17663b):_0x4ba2b8,_0x249ac6=_0xd20d63[_0x311e25(0x4d9)]-0x1,_0x437473;_0x249ac6>=0x0;_0x249ac6--)(_0x437473=_0xd20d63[_0x249ac6])&&(_0x154c50=(_0x512c63?_0x437473(_0x4ba2b8,_0x17663b,_0x154c50):_0x437473(_0x154c50))||_0x154c50);return _0x512c63&&_0x154c50&&_0x5efd2e(_0x4ba2b8,_0x17663b,_0x154c50),_0x154c50;},_0x40bee8=(_0x585283,_0xbfcc36)=>(_0x33dbc6,_0x15018d)=>_0xbfcc36(_0x33dbc6,_0x15018d,_0x585283);const _0x1f44d4=0x12c,_0x2ea8e0=0x64;let _0x534f53=class extends _0x4587e1[_0x2fa915(0x5b2)]{constructor(_0x4313c2,_0x86c976,_0x8f27e0,_0x564150,_0x2e06b6,_0x3cb10c,_0x416fe6,_0x4fe48c,_0x45235c){const _0x488469=_0x2fa915;super(),_0x339ceb(this,_0x488469(0x2a7),!0x1),_0x339ceb(this,'_init',!0x1),_0x339ceb(this,_0x488469(0x406),new _0x3eec93['BehaviorSubject'](new Map())),_0x339ceb(this,'cursorInfo$',this[_0x488469(0x406)][_0x488469(0x630)]()),_0x339ceb(this,_0x488469(0x5de),new _0x3eec93['BehaviorSubject']([])),_0x339ceb(this,_0x488469(0x237),this[_0x488469(0x5de)]['pipe'](_0x3eec93['debounceTime'](_0x1f44d4))),_0x339ceb(this,'_updateLocalCursor',_0x4587e1[_0x488469(0x625)](_0x5cdeff=>{const _0x5f1ed5=_0x488469,_0x12e138={'eventID':_0x215e4a[_0x5f1ed5(0x27c)][_0x5f1ed5(0x354)],'data':{'unitID':this['unitID'],'memberID':this[_0x5f1ed5(0x286)][_0x5f1ed5(0x4c8)](),'selection':_0xfb0b4(_0x5cdeff)}};this[_0x5f1ed5(0x286)]['send'](_0x12e138,this['unitID']);},_0x2ea8e0)),(this[_0x488469(0x2d1)]=_0x4313c2,this[_0x488469(0x286)]=_0x86c976,this[_0x488469(0x60e)]=_0x8f27e0,this['_colorAssignService']=_0x564150,this[_0x488469(0x226)]=_0x2e06b6,this['_syncEditingCollabCursorService']=_0x3cb10c,this[_0x488469(0x493)]=_0x416fe6,this[_0x488469(0x3c1)]=_0x4fe48c,this['_commandService']=_0x45235c);}get['cursorInfo'](){const _0x1c5a17=_0x2fa915;return this[_0x1c5a17(0x406)][_0x1c5a17(0x262)]();}get[_0x2fa915(0x28c)](){const _0x4a6a14=_0x2fa915;return this[_0x4a6a14(0x5de)][_0x4a6a14(0x262)]();}[_0x2fa915(0x3ea)](){const _0x57bb4b=_0x2fa915;super[_0x57bb4b(0x3ea)](),this[_0x57bb4b(0x406)][_0x57bb4b(0x1c9)](new Map()),this[_0x57bb4b(0x406)][_0x57bb4b(0x2e2)](),this[_0x57bb4b(0x5de)][_0x57bb4b(0x1c9)]([]),this[_0x57bb4b(0x5de)]['complete']();}[_0x2fa915(0x558)](){const _0x2f888c=_0x2fa915;this[_0x2f888c(0x16f)]||(this[_0x2f888c(0x16f)]=!0x0,this[_0x2f888c(0x286)]['sessionStatus$'][_0x2f888c(0x276)](_0x3eec93['takeUntil'](this[_0x2f888c(0x1ad)]))['subscribe'](_0x23994a=>{const _0x546a8e=_0x2f888c;_0x23994a===_0x474ede[_0x546a8e(0x36e)]?this[_0x546a8e(0x549)]():this[_0x546a8e(0x183)]();}),this[_0x2f888c(0x286)][_0x2f888c(0x4ca)]['pipe'](_0x3eec93[_0x2f888c(0x2b3)](this[_0x2f888c(0x1ad)]))[_0x2f888c(0x447)](_0x242c16=>{const _0x14ef30=_0x2f888c,_0x561468=_0x242c16[_0x14ef30(0x526)];_0x561468===_0x215e4a['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x14ef30(0x624)](_0x242c16),_0x561468===_0x215e4a[_0x14ef30(0x27c)][_0x14ef30(0x614)]&&this['_onCursorDelete'](_0x242c16);}),this[_0x2f888c(0x211)](this[_0x2f888c(0x1a3)]['onCommandExecuted'](_0x13ca99=>{const _0x157aeb=_0x2f888c,_0x979f3a=_0x13ca99['params'];_0x979f3a!=null&&this[_0x157aeb(0x2a7)]&&_0x13ca99['id']===_0x4844e7[_0x157aeb(0x21d)]['id']&&_0x979f3a[_0x157aeb(0x4f8)]===this[_0x157aeb(0x2d1)]&&_0x979f3a['isEditing']===!0x1&&_0x979f3a['ranges'][_0x157aeb(0x4d9)]>0x0&&this[_0x157aeb(0x3f5)](_0x979f3a[_0x157aeb(0x5dd)]);})),this[_0x2f888c(0x40c)]['collabCursorState$'][_0x2f888c(0x276)](_0x3eec93[_0x2f888c(0x2b3)](this['dispose$']))[_0x2f888c(0x447)](_0x11dc63=>{const _0x15f180=_0x2f888c;if((_0x11dc63==null?void 0x0:_0x11dc63[_0x15f180(0x2d1)])!==this[_0x15f180(0x2d1)])return;const _0x3286e6={'eventID':_0x215e4a[_0x15f180(0x27c)][_0x15f180(0x354)],'data':_0x11dc63};this[_0x15f180(0x624)](_0x3286e6);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x250194=>{const _0x1a6761=_0x2f888c;if(_0x250194['params']==null)return;const _0x2a9894=_0x250194[_0x1a6761(0x548)];if(_0x250194['id']!==_0x4844e7['RichTextEditingMutation']['id']||_0x2a9894[_0x1a6761(0x4f8)]!==this[_0x1a6761(0x2d1)])return;const _0x4a800c={'id':'doc.mutation.rich-text-editing','params':_0x2a9894},_0x4fe1c7=this[_0x1a6761(0x3c2)];for(const [_0x3f6889,_0x167a27]of _0x4fe1c7){const _0x42c960={'id':_0x1a6761(0x50a),'params':{'unitId':this[_0x1a6761(0x2d1)],'actions':null,'textRanges':_0x167a27[_0x1a6761(0x5dd)]}},_0x488af8=this[_0x1a6761(0x493)][_0x1a6761(0x2cb)](_0x4a800c,_0x42c960,!0x1);if(_0x215e4a[_0x1a6761(0x3de)](_0x488af8))throw _0x488af8[_0x1a6761(0x3a9)];_0x4fe1c7[_0x1a6761(0x498)](_0x3f6889,{..._0x167a27,'ranges':_0x488af8['m2Prime'][_0x1a6761(0x548)][_0x1a6761(0x1a8)]});}queueMicrotask(()=>{const _0x4c0176=_0x1a6761;this[_0x4c0176(0x406)][_0x4c0176(0x1c9)](_0x4fe1c7);});})));}[_0x2fa915(0x624)](_0x25fa04){const _0x8e5298=_0x2fa915;var _0x198d4b,_0x54a690;const {memberID:_0x3bc192,selection:_0x66ffd4}=_0x25fa04[_0x8e5298(0x273)],_0x3b7567=_0x4169a4(_0x66ffd4),_0xceafd6=(_0x54a690=(_0x198d4b=this[_0x8e5298(0x226)][_0x8e5298(0x438)](this[_0x8e5298(0x2d1)],_0x3bc192))==null?void 0x0:_0x198d4b[_0x8e5298(0x59e)])!=null?_0x54a690:_0x8e5298(0x35d),_0x45a09c={'color':this[_0x8e5298(0x474)][_0x8e5298(0x3ac)](_0x3bc192),'name':_0xceafd6,'ranges':_0x3b7567},_0x4815cc=this[_0x8e5298(0x3c2)];_0x4815cc['set'](_0x3bc192,_0x45a09c),this[_0x8e5298(0x406)][_0x8e5298(0x1c9)](_0x4815cc);}['_onCursorDelete'](_0x766da7){const _0x55a560=_0x2fa915,{memberID:_0x1246ce}=_0x766da7[_0x55a560(0x273)],_0x21a537=this[_0x55a560(0x3c2)];_0x21a537[_0x55a560(0x4e2)](_0x1246ce),this[_0x55a560(0x406)][_0x55a560(0x1c9)](_0x21a537);}[_0x2fa915(0x549)](){const _0x103691=_0x2fa915;var _0x51c284;if(this['_online']=!0x0,((_0x51c284=this[_0x103691(0x3c1)]['getFocusedUnit']())==null?void 0x0:_0x51c284['getUnitId']())!==this['unitID'])return;const _0x55d607=this['_injector'][_0x103691(0x4a0)](_0x4844e7[_0x103691(0x2f2)])[_0x103691(0x52f)]();Array[_0x103691(0x330)](_0x55d607)&&_0x55d607[_0x103691(0x4d9)]>0x0&&this[_0x103691(0x3f5)](_0x55d607);}[_0x2fa915(0x183)](){const _0x3da7e3=_0x2fa915;this[_0x3da7e3(0x2a7)]=!0x1;}};_0x534f53=_0x1ff821([_0x40bee8(0x2,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x40bee8(0x3,_0x4587e1['Inject'](_0x1938ad)),_0x40bee8(0x4,_0x4587e1['Inject'](_0x539c7e['MemberService'])),_0x40bee8(0x5,_0x4587e1[_0x2fa915(0x42b)](_0x54132e)),_0x40bee8(0x6,_0x215e4a[_0x2fa915(0x34d)]),_0x40bee8(0x7,_0x4587e1[_0x2fa915(0x53b)]),_0x40bee8(0x8,_0x4587e1[_0x2fa915(0x60b)])],_0x534f53);var _0x2d96c8=Object[_0x2fa915(0x44e)],_0x26284d=Object['getOwnPropertyDescriptor'],_0x57ec7f=(_0x574dbb,_0x150d3d,_0x47a101,_0x2b4283)=>{const _0x5cbc09=_0x2fa915;for(var _0x1bf225=_0x2b4283>0x1?void 0x0:_0x2b4283?_0x26284d(_0x150d3d,_0x47a101):_0x150d3d,_0x1e3047=_0x574dbb[_0x5cbc09(0x4d9)]-0x1,_0x2a25e7;_0x1e3047>=0x0;_0x1e3047--)(_0x2a25e7=_0x574dbb[_0x1e3047])&&(_0x1bf225=(_0x2b4283?_0x2a25e7(_0x150d3d,_0x47a101,_0x1bf225):_0x2a25e7(_0x1bf225))||_0x1bf225);return _0x2b4283&&_0x1bf225&&_0x2d96c8(_0x150d3d,_0x47a101,_0x1bf225),_0x1bf225;},_0x3111b8=(_0x420337,_0xb89561)=>(_0x23624c,_0x3d441d)=>_0xb89561(_0x23624c,_0x3d441d,_0x420337);const _0x539670=0x12c,_0x10d62e=0x64,_0x12b657=()=>{let _0x27954c=[],_0x15baba=!0x1;return _0x1c23f3=>{_0x27954c['push'](_0x1c23f3),_0x15baba||(_0x15baba=!0x0,setTimeout(()=>{const _0x3e94c3=_0x5275;_0x27954c[_0x3e94c3(0x34b)](_0x2d0fd3=>_0x2d0fd3()),_0x27954c=[],_0x15baba=!0x1;}));};};let _0x369727=class extends _0x4587e1['RxDisposable']{constructor(_0x4c2941,_0x4c3b15,_0x35e79f,_0x5dd89d,_0x2de684,_0x19c720,_0x40661e,_0x363eec){const _0x4043a2=_0x2fa915;super(),_0x339ceb(this,_0x4043a2(0x2a7),!0x1),_0x339ceb(this,_0x4043a2(0x16f),!0x1),_0x339ceb(this,_0x4043a2(0x406),new _0x3eec93[(_0x4043a2(0x29b))](new Map())),_0x339ceb(this,'cursorInfo$',this[_0x4043a2(0x406)][_0x4043a2(0x630)]()),_0x339ceb(this,'_roomMembers$',new _0x3eec93['BehaviorSubject']([])),_0x339ceb(this,'roomMembers$',this[_0x4043a2(0x5de)]['pipe'](_0x3eec93[_0x4043a2(0x579)](_0x539670))),_0x339ceb(this,_0x4043a2(0x3f5),_0x4587e1[_0x4043a2(0x625)]((_0x5447c2,_0x2118f1)=>{const _0x30dab6=_0x4043a2,_0xc7c260={'eventID':_0x215e4a[_0x30dab6(0x27c)][_0x30dab6(0x354)],'data':{'unitID':this[_0x30dab6(0x2d1)],'memberID':this['_session']['getMemberID'](),'selection':_0x5c9de5[_0x30dab6(0x386)](_0x5447c2,_0x2118f1[_0x30dab6(0x307)])}};this[_0x30dab6(0x286)][_0x30dab6(0x5aa)](_0xc7c260,this['unitID']);},_0x10d62e)),(this[_0x4043a2(0x2d1)]=_0x4c2941,this[_0x4043a2(0x286)]=_0x4c3b15,this[_0x4043a2(0x60e)]=_0x35e79f,this[_0x4043a2(0x474)]=_0x5dd89d,this[_0x4043a2(0x226)]=_0x2de684,this[_0x4043a2(0x3c1)]=_0x19c720,this[_0x4043a2(0x1a3)]=_0x40661e,this[_0x4043a2(0x4e8)]=_0x363eec);}get[_0x2fa915(0x3c2)](){const _0x1bbdc4=_0x2fa915;return this[_0x1bbdc4(0x406)][_0x1bbdc4(0x262)]();}get[_0x2fa915(0x28c)](){const _0x537695=_0x2fa915;return this[_0x537695(0x5de)]['getValue']();}[_0x2fa915(0x3ea)](){const _0xdf02b7=_0x2fa915;super[_0xdf02b7(0x3ea)](),this[_0xdf02b7(0x406)][_0xdf02b7(0x1c9)](new Map()),this[_0xdf02b7(0x406)][_0xdf02b7(0x2e2)](),this[_0xdf02b7(0x5de)][_0xdf02b7(0x1c9)]([]),this[_0xdf02b7(0x5de)][_0xdf02b7(0x2e2)]();}[_0x2fa915(0x558)](){const _0x398d08=_0x2fa915;this[_0x398d08(0x16f)]||(this[_0x398d08(0x16f)]=!0x0,this[_0x398d08(0x286)]['sessionStatus$']['pipe'](_0x3eec93[_0x398d08(0x2b3)](this[_0x398d08(0x1ad)]))['subscribe'](_0x4f6263=>{const _0x3a5eb6=_0x398d08;_0x4f6263===_0x474ede[_0x3a5eb6(0x36e)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x398d08(0x286)][_0x398d08(0x4ca)]['pipe'](_0x3eec93['takeUntil'](this[_0x398d08(0x1ad)]))[_0x398d08(0x447)](_0x3f58bc=>{const _0x43a788=_0x398d08,_0x34f8a5=_0x3f58bc[_0x43a788(0x526)];_0x34f8a5===_0x215e4a['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x43a788(0x624)](_0x3f58bc),_0x34f8a5===_0x215e4a['CollaborationEvent'][_0x43a788(0x614)]&&this[_0x43a788(0x44c)](_0x3f58bc);}),this['_onRefRangeChange'](),this[_0x398d08(0x211)](this[_0x398d08(0x1a3)][_0x398d08(0x1b5)](_0xf7b0b6=>{const _0xa079a6=_0x398d08;if(this[_0xa079a6(0x2a7)]&&_0xf7b0b6['id']===_0x27d820[_0xa079a6(0x171)]['id']&&_0xf7b0b6['params'][_0xa079a6(0x4f8)]===this[_0xa079a6(0x2d1)]){const _0x38b8ec=_0xf7b0b6['params'];this[_0xa079a6(0x3f5)](_0x38b8ec[_0xa079a6(0x3f1)],_0x38b8ec[_0xa079a6(0x2bd)][0x0]);}})));}[_0x2fa915(0x624)](_0x3dab1c){const _0x403373=_0x2fa915;var _0x1f1209,_0x2ff2fd;const {memberID:_0xcf4613,selection:_0x3fb387}=_0x3dab1c[_0x403373(0x273)],{sheetName:_0x3c0c49,range:_0x51ee5b}=_0x5c9de5[_0x403373(0x1e8)](_0x3fb387),_0x2f493f={'name':(_0x2ff2fd=(_0x1f1209=this[_0x403373(0x226)]['getMember'](this[_0x403373(0x2d1)],_0xcf4613))==null?void 0x0:_0x1f1209[_0x403373(0x59e)])!=null?_0x2ff2fd:_0x403373(0x35d),'range':this[_0x403373(0x4c3)](_0x3c0c49,_0x51ee5b),'sheetID':_0x3c0c49,'color':this[_0x403373(0x474)][_0x403373(0x3ac)](_0xcf4613),'selection':_0x3fb387},_0x409dee=this[_0x403373(0x3c2)];_0x409dee['set'](_0xcf4613,_0x2f493f),this[_0x403373(0x406)][_0x403373(0x1c9)](_0x409dee);}[_0x2fa915(0x44c)](_0xc1034d){const _0x2328af=_0x2fa915,{memberID:_0x412f7f}=_0xc1034d[_0x2328af(0x273)],_0x32d10d=this[_0x2328af(0x3c2)];_0x32d10d[_0x2328af(0x4e2)](_0x412f7f),this[_0x2328af(0x406)][_0x2328af(0x1c9)](_0x32d10d);}[_0x2fa915(0x4c3)](_0x416cd4,_0x1e1f45){const _0x4987dd=_0x2fa915;var _0x5d04c2,_0x594db2;const _0x3b9ea3=(_0x594db2=(_0x5d04c2=this[_0x4987dd(0x3c1)][_0x4987dd(0x4b1)](this[_0x4987dd(0x2d1)]))==null?void 0x0:_0x5d04c2['getSheetBySheetId'](_0x416cd4))==null?void 0x0:_0x594db2[_0x4987dd(0x1cc)]();return(_0x3b9ea3==null?void 0x0:_0x3b9ea3['find'](_0x3f0c56=>_0x4587e1[_0x4987dd(0x563)][_0x4987dd(0x41a)](_0x3f0c56,_0x1e1f45)))||_0x1e1f45;}[_0x2fa915(0x2be)](){const _0x2d1d3a=_0x2fa915,_0x394a1d=new _0x4587e1[(_0x2d1d3a(0x36f))](),_0x40f3c2=_0x12b657(),_0x7cffdd=()=>{const _0x2125e8=_0x2d1d3a;_0x394a1d[_0x2125e8(0x3ea)]();const _0xa6382d=(_0x4ac610,_0x13b94d,_0x27a64d,_0x20b392)=>{const _0x46a76d=_0x2125e8;let _0x51adce=[];switch(_0x4ac610['id']){case _0x27d820['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x51adce=_0x27d820[_0x46a76d(0x2a8)](_0x4ac610,_0x20b392);break;}case _0x27d820[_0x46a76d(0x1f3)]['DeleteRangeMoveUpCommandId']:{_0x51adce=_0x27d820[_0x46a76d(0x4c2)](_0x4ac610,_0x20b392);break;}case _0x27d820['EffectRefRangId']['InsertColCommandId']:{_0x51adce=_0x27d820[_0x46a76d(0x4d7)](_0x4ac610,_0x20b392);break;}case _0x27d820[_0x46a76d(0x1f3)][_0x46a76d(0x19a)]:{_0x51adce=_0x27d820['handleInsertRangeMoveDown'](_0x4ac610,_0x20b392);break;}case _0x27d820[_0x46a76d(0x1f3)]['InsertRangeMoveRightCommandId']:{_0x51adce=_0x27d820[_0x46a76d(0x4c0)](_0x4ac610,_0x20b392);break;}case _0x27d820['EffectRefRangId'][_0x46a76d(0x5d3)]:{_0x51adce=_0x27d820[_0x46a76d(0x305)](_0x4ac610,_0x20b392);break;}case _0x27d820['EffectRefRangId'][_0x46a76d(0x49d)]:{_0x51adce=_0x27d820['handleMoveRange'](_0x4ac610,_0x20b392);break;}case _0x27d820['EffectRefRangId'][_0x46a76d(0x5e0)]:{_0x51adce=_0x27d820[_0x46a76d(0x540)](_0x4ac610,_0x20b392);break;}case _0x27d820['EffectRefRangId'][_0x46a76d(0x5ec)]:{_0x51adce=_0x27d820[_0x46a76d(0x57c)](_0x4ac610,_0x20b392);break;}}const _0x3440d2=_0x27d820[_0x46a76d(0x4f1)](_0x51adce,_0x20b392),_0x385603=this[_0x46a76d(0x3c2)][_0x46a76d(0x4a0)](_0x13b94d);if(_0x385603&&_0x3440d2){const _0x54e5d4={..._0x385603,'range':_0x3440d2};this[_0x46a76d(0x3c2)][_0x46a76d(0x498)](_0x13b94d,_0x54e5d4),_0x40f3c2(()=>{const _0x4828de=_0x46a76d,_0x198457=this[_0x4828de(0x4e8)][_0x4828de(0x575)](_0x3440d2,_0x3e8671=>(_0x198457[_0x4828de(0x3ea)](),_0xa6382d(_0x3e8671,_0x13b94d,_0x27a64d,_0x3440d2)));_0x394a1d[_0x4828de(0x1db)](_0x198457);});}return{'redos':[],'undos':[]};};this[_0x2125e8(0x3c2)]['forEach']((_0x4789a4,_0x4330c9)=>{const _0x9dfd59=_0x2125e8,{range:_0x22aea1,sheetID:_0x3227d5}=_0x4789a4,_0x41aa82=this[_0x9dfd59(0x4e8)][_0x9dfd59(0x575)](_0x22aea1,_0x407c7e=>(_0x41aa82[_0x9dfd59(0x3ea)](),_0xa6382d(_0x407c7e,_0x4330c9,_0x3227d5,_0x22aea1)));_0x394a1d[_0x9dfd59(0x1db)](_0x41aa82);});};this[_0x2d1d3a(0x211)](_0x4587e1[_0x2d1d3a(0x2a6)](this[_0x2d1d3a(0x406)]['subscribe'](()=>{_0x7cffdd();})));}[_0x2fa915(0x549)](){const _0x15010a=_0x2fa915;var _0x534cbb,_0x2b4d33;if(this[_0x15010a(0x2a7)]=!0x0,((_0x534cbb=this['_univerInstanceService'][_0x15010a(0x2fd)]())==null?void 0x0:_0x534cbb[_0x15010a(0x1d9)]())!==this['unitID'])return;const _0xc4b795=(_0x2b4d33=this[_0x15010a(0x60e)]['get'](_0x27d820[_0x15010a(0x201)])[_0x15010a(0x272)]())==null?void 0x0:_0x2b4d33[0x0],_0x2fcaff=this['_univerInstanceService']['getCurrentUnitForType'](_0x4587e1[_0x15010a(0x637)]['UNIVER_SHEET'])[_0x15010a(0x5ee)]();_0xc4b795&&_0x2fcaff&&this[_0x15010a(0x3f5)](_0x2fcaff[_0x15010a(0x2f7)](),_0xc4b795);}[_0x2fa915(0x183)](){this['_online']=!0x1;}};_0x369727=_0x57ec7f([_0x3111b8(0x2,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x3111b8(0x3,_0x4587e1['Inject'](_0x1938ad)),_0x3111b8(0x4,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x1d1)])),_0x3111b8(0x5,_0x4587e1['IUniverInstanceService']),_0x3111b8(0x6,_0x4587e1['ICommandService']),_0x3111b8(0x7,_0x4587e1[_0x2fa915(0x42b)](_0x27d820[_0x2fa915(0x186)]))],_0x369727);var _0x30ca30=Object[_0x2fa915(0x44e)],_0x27a5f3=Object['getOwnPropertyDescriptor'],_0x1c4b37=(_0x3e14ab,_0x5669b3,_0x2b88be,_0xb45329)=>{const _0x431e68=_0x2fa915;for(var _0x15f226=_0xb45329>0x1?void 0x0:_0xb45329?_0x27a5f3(_0x5669b3,_0x2b88be):_0x5669b3,_0x16dd8d=_0x3e14ab[_0x431e68(0x4d9)]-0x1,_0x1a4e27;_0x16dd8d>=0x0;_0x16dd8d--)(_0x1a4e27=_0x3e14ab[_0x16dd8d])&&(_0x15f226=(_0xb45329?_0x1a4e27(_0x5669b3,_0x2b88be,_0x15f226):_0x1a4e27(_0x15f226))||_0x15f226);return _0xb45329&&_0x15f226&&_0x30ca30(_0x5669b3,_0x2b88be,_0x15f226),_0x15f226;},_0x5a520e=(_0x57d86f,_0x5d1618)=>(_0x1fc65a,_0x3112e3)=>_0x5d1618(_0x1fc65a,_0x3112e3,_0x57d86f);let _0x49f33=class extends _0x4587e1[_0x2fa915(0x5b2)]{constructor(_0x2073e9,_0x146af0,_0x23554d){const _0x5067c3=_0x2fa915;super(),_0x339ceb(this,_0x5067c3(0x21f),new Map()),_0x339ceb(this,'_entityInit$',new _0x3eec93[(_0x5067c3(0x5c5))]()),(this['_univerInstanceService']=_0x2073e9,this[_0x5067c3(0x60e)]=_0x146af0,this[_0x5067c3(0x23a)]=_0x23554d,this[_0x5067c3(0x16f)]());}[_0x2fa915(0x3ea)](){const _0x172693=_0x2fa915;super['dispose'](),this['_entityInit$']['complete'](),this[_0x172693(0x21f)][_0x172693(0x34b)](_0x3de66a=>_0x3de66a[_0x172693(0x3ea)]());}[_0x2fa915(0x55f)](_0x5e741b){const _0x43ac5d=_0x2fa915;return this['_entities'][_0x43ac5d(0x364)](_0x5e741b)?this['_entities']['get'](_0x5e741b)[_0x43ac5d(0x63b)]:this[_0x43ac5d(0x308)]['pipe'](_0x3eec93[_0x43ac5d(0x333)](_0x36dd45=>_0x36dd45[_0x43ac5d(0x2d1)]===_0x5e741b),_0x3eec93[_0x43ac5d(0x42a)](_0x21cfa3=>_0x21cfa3[_0x43ac5d(0x63b)]));}[_0x2fa915(0x16f)](){const _0x5e1318=_0x2fa915;this[_0x5e1318(0x3c1)][_0x5e1318(0x39e)](_0x4587e1[_0x5e1318(0x637)][_0x5e1318(0x3ee)])[_0x5e1318(0x276)](_0x3eec93[_0x5e1318(0x2b3)](this['dispose$']))['subscribe'](async _0x5544f1=>{const _0x2d114c=_0x5e1318,_0x5eee5b=_0x5544f1['getUnitId'](),_0x2fb3ae=await this[_0x2d114c(0x547)](_0x5eee5b);this['_entityInit$']['next'](_0x2fb3ae),this[_0x2d114c(0x21f)][_0x2d114c(0x498)](_0x5eee5b,_0x2fb3ae);}),this[_0x5e1318(0x3c1)][_0x5e1318(0x39e)](_0x4587e1[_0x5e1318(0x637)][_0x5e1318(0x27b)])[_0x5e1318(0x276)](_0x3eec93[_0x5e1318(0x2b3)](this[_0x5e1318(0x1ad)]))[_0x5e1318(0x276)](_0x3eec93['filter'](_0x2d5667=>!_0x2d5667[_0x5e1318(0x1d9)]()[_0x5e1318(0x3cd)]('__')))[_0x5e1318(0x447)](async _0xa138ba=>{const _0x8aa87c=_0x5e1318,_0x599462=_0xa138ba[_0x8aa87c(0x1d9)](),_0x186269=await this['_startDocCollabCursor'](_0x599462);this[_0x8aa87c(0x308)]['next'](_0x186269),this[_0x8aa87c(0x21f)][_0x8aa87c(0x498)](_0x599462,_0x186269);}),_0x3eec93['merge'](this[_0x5e1318(0x3c1)][_0x5e1318(0x267)](_0x4587e1['UniverInstanceType']['UNIVER_DOC']),this[_0x5e1318(0x3c1)]['getTypeOfUnitDisposed$'](_0x4587e1[_0x5e1318(0x637)][_0x5e1318(0x3ee)]))[_0x5e1318(0x276)](_0x3eec93[_0x5e1318(0x2b3)](this[_0x5e1318(0x1ad)]))['subscribe'](_0x627d1c=>{const _0x3bd385=_0x5e1318,_0xe1700a=_0x627d1c['getUnitId'](),_0x35f72c=this['_entities'][_0x3bd385(0x4a0)](_0xe1700a);_0x35f72c&&(_0x35f72c[_0x3bd385(0x3ea)](),this[_0x3bd385(0x21f)]['delete'](_0xe1700a));});}async[_0x2fa915(0x547)](_0x532d9a){const _0xa0405a=_0x2fa915,_0x479195=await this['_collabSessionService']['requireSession'](_0x532d9a),_0x24fc11=this['_injector'][_0xa0405a(0x489)](_0x369727,_0x532d9a,_0x479195);return _0x24fc11['init'](),_0x24fc11;}async[_0x2fa915(0x327)](_0xb532fd){const _0x542164=_0x2fa915,_0x243622=await this['_collabSessionService'][_0x542164(0x3ef)](_0xb532fd),_0x28fc10=this['_injector'][_0x542164(0x489)](_0x534f53,_0xb532fd,_0x243622);return _0x28fc10['init'](),_0x28fc10;}};_0x49f33=_0x1c4b37([_0x5a520e(0x0,_0x4587e1['IUniverInstanceService']),_0x5a520e(0x1,_0x4587e1['Inject'](_0x4587e1[_0x2fa915(0x403)])),_0x5a520e(0x2,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x240)]))],_0x49f33);const _0x474958=0x14,_0x49ca54=0xc8,_0x345858=0x4,_0x241ce8=0x5;function _0x43c737(_0x365e92,_0x19b4a1){const _0x5b03ce=_0x2fa915;let {radius:_0x565354,width:_0x6483c9,height:_0x1188d7}=_0x19b4a1;_0x565354=_0x565354!=null?_0x565354:0x0,_0x6483c9=_0x6483c9!=null?_0x6483c9:0x1e,_0x1188d7=_0x1188d7!=null?_0x1188d7:0x1e;let _0x20c076=0x0,_0x43a374=0x0,_0x1ae651=0x0;_0x20c076=_0x43a374=_0x1ae651=Math[_0x5b03ce(0x5bc)](_0x565354,_0x6483c9/0x2,_0x1188d7/0x2),_0x365e92[_0x5b03ce(0x2f6)](),_0x365e92[_0x5b03ce(0x229)](_0x20c076,0x0),_0x365e92[_0x5b03ce(0x210)](_0x6483c9-_0x43a374,0x0),_0x365e92['arc'](_0x6483c9-_0x43a374,_0x43a374,_0x43a374,Math['PI']*0x3/0x2,0x0,!0x1),_0x365e92['lineTo'](_0x6483c9,_0x1188d7-_0x1ae651),_0x365e92[_0x5b03ce(0x411)](_0x6483c9-_0x1ae651,_0x1188d7-_0x1ae651,_0x1ae651,0x0,Math['PI']/0x2,!0x1),_0x365e92[_0x5b03ce(0x210)](0x0,_0x1188d7),_0x365e92[_0x5b03ce(0x210)](0x0,_0x20c076),_0x365e92[_0x5b03ce(0x411)](_0x20c076,_0x20c076,_0x20c076,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x365e92['closePath'](),_0x19b4a1['fill']&&(_0x365e92[_0x5b03ce(0x528)](),_0x365e92[_0x5b03ce(0x2fc)]=_0x19b4a1[_0x5b03ce(0x3dc)],_0x19b4a1[_0x5b03ce(0x5ef)]==='evenodd'?_0x365e92[_0x5b03ce(0x3dc)](_0x5b03ce(0x422)):_0x365e92['fill'](),_0x365e92[_0x5b03ce(0x59b)]());}class _0x3f182a extends _0x25d31a[_0x2fa915(0x59a)]{constructor(_0x3a4fe3,_0x5d7a90){const _0x2d42dd=_0x2fa915;super(_0x3a4fe3,_0x5d7a90),_0x339ceb(this,_0x2d42dd(0x5f2)),_0x339ceb(this,_0x2d42dd(0x1b8)),(this[_0x2d42dd(0x5f2)]=_0x5d7a90==null?void 0x0:_0x5d7a90['color'],this['text']=_0x5d7a90==null?void 0x0:_0x5d7a90[_0x2d42dd(0x1b8)]);}static['drawWith'](_0x275358,_0x4f2f15){const _0x97908e=_0x2fa915,{text:_0x1580b3,color:_0x4c7f3e}=_0x4f2f15;_0x275358[_0x97908e(0x528)](),_0x275358['font']=_0x97908e(0x514);const _0x2ffe56=_0x275358['measureText'](_0x1580b3)['width'],_0x668eb2=Math[_0x97908e(0x5bc)](_0x2ffe56+0x2*_0x345858,_0x49ca54);_0x43c737(_0x275358,{'height':_0x474958,'radius':0x4,'width':_0x668eb2,'fill':_0x4c7f3e,'evented':!0x1}),_0x275358[_0x97908e(0x2fc)]=_0x97908e(0x444);const _0x52d4c0=_0x345858,_0x4c7643=_0x474958-_0x241ce8,_0x1e3f04=_0x49ca54-0x2*_0x345858;if(_0x2ffe56>_0x1e3f04){let _0x87cbb2='',_0x4995c1=0x0;for(const _0x457e19 of _0x1580b3){const _0x258ec6=_0x275358[_0x97908e(0x22f)](_0x457e19)['width'];if(_0x4995c1+_0x258ec6<=_0x1e3f04-_0x275358['measureText'](_0x97908e(0x535))[_0x97908e(0x207)])_0x87cbb2+=_0x457e19,_0x4995c1+=_0x258ec6;else{_0x87cbb2+='...';break;}}_0x275358[_0x97908e(0x4b9)](_0x87cbb2,_0x52d4c0,_0x4c7643);}else _0x275358['fillText'](_0x1580b3,_0x52d4c0,_0x4c7643);_0x275358[_0x97908e(0x59b)]();}[_0x2fa915(0x1b7)](_0x5c07f0){const _0xb4a133=_0x2fa915;_0x3f182a[_0xb4a133(0x3fa)](_0x5c07f0,this);}}const _0x445438='collab-text-anchor-',_0x409c7e=_0x2fa915(0x54b),_0x588149=_0x2fa915(0x395),_0x4436db=0x6,_0x507225=1.5,_0x368b9b=0x4,_0x26c071=1.5,_0x4ed7eb=_0x2fa915(0x534);class _0x2705b0{constructor(_0x491831,_0x23a541,_0x46acbf,_0x53a9ec){const _0xb72011=_0x2fa915;_0x339ceb(this,_0xb72011(0x47c),[]),_0x339ceb(this,_0xb72011(0x3b1),null),_0x339ceb(this,'_textBubble',null),_0x339ceb(this,_0xb72011(0x3cb),null),_0x339ceb(this,'_hideTimer',null),_0x339ceb(this,_0xb72011(0x309),null),(this['_cursor']=_0x491831,this[_0xb72011(0x619)]=_0x23a541,this[_0xb72011(0x413)]=_0x46acbf,this[_0xb72011(0x315)]=_0x53a9ec,this[_0xb72011(0x299)]());}set[_0x2fa915(0x52b)](_0x2e4aee){const _0x5877a6=_0x2fa915;_0x2e4aee?(this[_0x5877a6(0x3cb)]&&this['_anchorDot'][_0x5877a6(0x527)](),this[_0x5877a6(0x5fb)]&&this['_textBubble'][_0x5877a6(0x1ca)]()):(this['_anchorDot']&&this['_anchorDot']['show'](),this[_0x5877a6(0x5fb)]&&this['_textBubble'][_0x5877a6(0x527)]());}[_0x2fa915(0x3ea)](){const _0x1ff7cc=_0x2fa915;for(const _0x5d5959 of this['_shapes'])_0x5d5959[_0x1ff7cc(0x3ea)]();this['_textBubble']&&this['_textBubble'][_0x1ff7cc(0x3ea)](),this[_0x1ff7cc(0x3cb)]&&this['_anchorDot'][_0x1ff7cc(0x3ea)](),this[_0x1ff7cc(0x3b1)]&&this['_anchor'][_0x1ff7cc(0x3ea)](),this['_eventUnsubscribe']&&this[_0x1ff7cc(0x309)]();}[_0x2fa915(0x299)](){const _0x346c43=_0x2fa915;var _0x41910e;const {_docSkeleton:_0x4808d3,_document:_0x112f7c}=this,{color:_0x457496,name:_0x354d66,ranges:_0x2cc29a}=this['_cursor'],_0x4bf54c=_0x112f7c[_0x346c43(0x2d2)](),{docsLeft:_0x4d340c,docsTop:_0x46731e}=_0x4bf54c,_0x28fd3b=new _0x28eee7[(_0x346c43(0x5e2))](_0x4bf54c,_0x4808d3);for(const {startOffset:_0x30dc5a,endOffset:_0x34c349,rangeType:_0x41c889,segmentId:_0x9a2c2b,segmentPage:_0x1310dd,collapsed:_0x2fd691,isActive:_0x1c6184}of _0x2cc29a){const _0xb8ebf3=_0x4808d3[_0x346c43(0x44d)](_0x30dc5a,!0x0,_0x9a2c2b,_0x1310dd);let _0x2f7550=_0x4808d3[_0x346c43(0x44d)](_0x34c349,!0x0,_0x9a2c2b,_0x1310dd);if(_0x2f7550==null&&(_0x2f7550=_0x4808d3[_0x346c43(0x44d)](_0x34c349-0x1,!0x1,_0x9a2c2b,_0x1310dd)),_0x1c6184){const {contentBoxPointGroup:_0x474462}=_0x28fd3b[_0x346c43(0x204)](_0x2f7550,_0x2f7550);if(_0x474462[_0x346c43(0x4d9)]===0x0)continue;this[_0x346c43(0x3b8)](_0x457496,_0x474462,_0x4d340c,_0x46731e,_0x354d66),this[_0x346c43(0x309)]=this['_handleHover']();}if(!_0x2fd691&&_0xb8ebf3&&_0x2f7550){if(_0x41c889===_0x4587e1[_0x346c43(0x383)][_0x346c43(0x4a1)]){const _0x5adb07=new _0x28eee7[(_0x346c43(0x574))](_0x4bf54c,_0x4808d3),{pointGroup:_0x3d5b2}=(_0x41910e=_0x5adb07['getRangePointData'](_0xb8ebf3,_0x2f7550))!=null?_0x41910e:{};if(_0x3d5b2==null||_0x3d5b2['length']===0x0)continue;this[_0x346c43(0x266)](_0x457496,_0x3d5b2,_0x4d340c,_0x46731e);}else{const {borderBoxPointGroup:_0x1dc958}=_0x28fd3b[_0x346c43(0x204)](_0xb8ebf3,_0x2f7550);if(_0x1dc958[_0x346c43(0x4d9)]===0x0)continue;this[_0x346c43(0x3ad)](_0x457496,_0x1dc958,_0x4d340c,_0x46731e);}}}}[_0x2fa915(0x3b8)](_0x21c175,_0x5173ec,_0x4c7dce,_0x3d1c97,_0x52547f){const _0x4f6d84=_0x2fa915,_0x2f9043=this[_0x4f6d84(0x1b4)](_0x5173ec),{left:_0x9f4e9b,top:_0x4ca0db,height:_0x13390d}=_0x2f9043,_0x296fc9=this['_getScale'](),_0x5979d9=_0x26c071/_0x296fc9,_0xa60324=new _0x25d31a['Rect'](_0x445438+_0x4587e1[_0x4f6d84(0x5f7)][_0x4f6d84(0x334)](_0x4436db),{'left':_0x9f4e9b+_0x4c7dce-_0x5979d9,'top':_0x4ca0db+_0x3d1c97,'height':_0x13390d,'width':_0x507225,'fill':_0x21c175||_0x25d31a[_0x4f6d84(0x58c)](_0x4587e1[_0x4f6d84(0x24e)][_0x4f6d84(0x51a)],0x0),'strokeWidth':_0x5979d9,'stroke':_0x4ed7eb,'evented':!0x0});this[_0x4f6d84(0x3b1)]=_0xa60324,this['_scene']['addObject'](_0xa60324,_0x28eee7[_0x4f6d84(0x1ba)]);const _0x1382fb=new _0x25d31a['Rect'](_0x445438+_0x4587e1[_0x4f6d84(0x5f7)][_0x4f6d84(0x334)](_0x4436db),{'left':_0x9f4e9b+_0x4c7dce-_0x5979d9,'top':_0x4ca0db+_0x3d1c97-_0x368b9b/0x2,'height':_0x368b9b,'width':_0x368b9b,'fill':_0x21c175||_0x25d31a[_0x4f6d84(0x58c)](_0x4587e1[_0x4f6d84(0x24e)][_0x4f6d84(0x51a)],0x0),'strokeWidth':0x0,'stroke':_0x21c175||_0x25d31a['getColor'](_0x4587e1[_0x4f6d84(0x24e)][_0x4f6d84(0x51a)],0x0),'evented':!0x1});this['_anchorDot']=_0x1382fb,this[_0x4f6d84(0x619)][_0x4f6d84(0x2e4)](_0x1382fb,_0x28eee7['TEXT_RANGE_LAYER_INDEX']);const _0x3ca187=new _0x3f182a(_0x445438+_0x4587e1['Tools'][_0x4f6d84(0x334)](_0x4436db),{'left':_0x9f4e9b+_0x4c7dce-_0x5979d9,'top':_0x4ca0db+_0x3d1c97-_0x474958,'text':_0x52547f,'color':_0x21c175});this[_0x4f6d84(0x5fb)]=_0x3ca187,this['_scene'][_0x4f6d84(0x2e4)](_0x3ca187,_0x28eee7[_0x4f6d84(0x1ba)]),this[_0x4f6d84(0x52b)]=!0x1;}['_handleHover'](){const _0x17d268=_0x2fa915,_0x426b54=this[_0x17d268(0x3b1)][_0x17d268(0x34a)][_0x17d268(0x374)](()=>{const _0x2944a9=_0x17d268;this[_0x2944a9(0x52b)]=!0x0;}),_0x4ee122=this[_0x17d268(0x3b1)][_0x17d268(0x420)][_0x17d268(0x374)](()=>{const _0x11405e=_0x17d268;this['_hideTimer']&&clearTimeout(this[_0x11405e(0x5ae)]),this[_0x11405e(0x5ae)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x23b6ff=_0x17d268;_0x426b54[_0x23b6ff(0x2ce)](),_0x4ee122['unsubscribe']();};}[_0x2fa915(0x3ad)](_0x45516a,_0x4961d7,_0xb9f584,_0x173dd1){const _0x20030e=_0x2fa915,_0x419704=new _0x4587e1[(_0x20030e(0x1bb))](_0x45516a)[_0x20030e(0x5e6)](0.2)['toRgbString'](),_0x4e8c61=new _0x25d31a['RegularPolygon'](_0x409c7e+_0x4587e1['Tools'][_0x20030e(0x334)](_0x4436db),{'pointsGroup':_0x4961d7,'fill':_0x419704||_0x25d31a['getColor'](_0x4587e1[_0x20030e(0x24e)][_0x20030e(0x51a)],0.2),'left':_0xb9f584,'top':_0x173dd1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x20030e(0x47c)][_0x20030e(0x367)](_0x4e8c61),this[_0x20030e(0x619)][_0x20030e(0x2e4)](_0x4e8c61,_0x28eee7[_0x20030e(0x1ba)]);}[_0x2fa915(0x266)](_0x582d61,_0x2500b2,_0x49e0cd,_0x6a0d18){const _0x41b8c7=_0x2fa915,_0x1eafc5=new _0x4587e1[(_0x41b8c7(0x1bb))](_0x582d61)[_0x41b8c7(0x5e6)](0.2)[_0x41b8c7(0x601)](),_0x274bd2=new _0x25d31a[(_0x41b8c7(0x51e))](_0x588149+_0x4587e1['Tools'][_0x41b8c7(0x334)](_0x4436db),{'pointsGroup':_0x2500b2,'fill':_0x1eafc5||_0x25d31a[_0x41b8c7(0x58c)](_0x4587e1[_0x41b8c7(0x24e)][_0x41b8c7(0x51a)],0.2),'left':_0x49e0cd,'top':_0x6a0d18,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x41b8c7(0x367)](_0x274bd2),this[_0x41b8c7(0x619)][_0x41b8c7(0x2e4)](_0x274bd2,_0x28eee7[_0x41b8c7(0x1ba)]);}[_0x2fa915(0x1b4)](_0x108a5f){const _0x3b22bc=_0x108a5f[0x0],_0x39c89c=_0x3b22bc[0x0],_0x518d5f=_0x3b22bc[0x2],{x:_0x2abfce,y:_0x4205a8}=_0x39c89c,{x:_0x5e3945,y:_0x1eaeee}=_0x518d5f;return{'left':_0x2abfce,'top':_0x4205a8,'width':_0x5e3945-_0x2abfce,'height':_0x1eaeee-_0x4205a8};}['_getScale'](){const _0x303c47=_0x2fa915,{scaleX:_0x5da447,scaleY:_0x24b828}=this['_scene']['getAncestorScale']();return Math[_0x303c47(0x433)](_0x5da447,_0x24b828);}}var _0x107807=Object[_0x2fa915(0x44e)],_0x422bf8=Object[_0x2fa915(0x569)],_0x3b4f48=(_0xdaa5e4,_0x3174f6,_0x83a4a9,_0x36675e)=>{const _0x489ebc=_0x2fa915;for(var _0x5acf2b=_0x36675e>0x1?void 0x0:_0x36675e?_0x422bf8(_0x3174f6,_0x83a4a9):_0x3174f6,_0x33a8b4=_0xdaa5e4[_0x489ebc(0x4d9)]-0x1,_0x3b9ccb;_0x33a8b4>=0x0;_0x33a8b4--)(_0x3b9ccb=_0xdaa5e4[_0x33a8b4])&&(_0x5acf2b=(_0x36675e?_0x3b9ccb(_0x3174f6,_0x83a4a9,_0x5acf2b):_0x3b9ccb(_0x5acf2b))||_0x5acf2b);return _0x36675e&&_0x5acf2b&&_0x107807(_0x3174f6,_0x83a4a9,_0x5acf2b),_0x5acf2b;},_0x34b871=(_0x554af2,_0xa111a2)=>(_0x21203a,_0x3289d1)=>_0xa111a2(_0x21203a,_0x3289d1,_0x554af2);let _0x33787c=class extends _0x4587e1['RxDisposable']{constructor(_0x392d19,_0x2672c3,_0x1cd875,_0x386034,_0x35937a){const _0x524e30=_0x2fa915;super(),_0x339ceb(this,_0x524e30(0x380),[]),_0x339ceb(this,_0x524e30(0x2db),[]),(this['_context']=_0x392d19,this[_0x524e30(0x355)]=_0x2672c3,this[_0x524e30(0x4af)]=_0x1cd875,this['_commandService']=_0x386034,this[_0x524e30(0x22d)]=_0x35937a,this[_0x524e30(0x16f)]());}[_0x2fa915(0x16f)](){const _0x4ec579=_0x2fa915,_0x4aa8f0=this[_0x4ec579(0x52e)][_0x4ec579(0x4f8)],_0x37742c=this[_0x4ec579(0x355)];this['disposeWithMe'](_0x3eec93[_0x4ec579(0x4eb)]([this['_collabCursorController']['getCollabCursors$'](_0x4aa8f0),this['_themeService'][_0x4ec579(0x4fe)]])[_0x4ec579(0x276)](_0x18f07e[_0x4ec579(0x252)](([_0x25262d,_0x5b7c48])=>({'skeleton':_0x37742c['getSkeleton'](),'cursors':[..._0x25262d[_0x4ec579(0x291)]()][_0x4ec579(0x510)](_0x339970=>({..._0x339970,'color':_0x5b7c48[_0x339970[_0x4ec579(0x5f2)]]}))})))[_0x4ec579(0x447)](_0x2b1209=>{const _0x23605d=_0x4ec579;if(this[_0x23605d(0x609)](),_0x2b1209){const {skeleton:_0x2d6990,cursors:_0x56e72c}=_0x2b1209;this[_0x23605d(0x295)](_0x2d6990,_0x56e72c);}})),this[_0x4ec579(0x368)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0xfff1ee,_0x283975){const _0x1cc87d=_0x2fa915,{scene:_0x32c5ba,mainComponent:_0x18956f}=this['_context'],_0x5bf942=_0x283975[_0x1cc87d(0x252)](_0x5399e5=>new _0x2705b0(_0x5399e5,_0x32c5ba,_0xfff1ee,_0x18956f));this[_0x1cc87d(0x380)]=_0x5bf942,this[_0x1cc87d(0x2db)]=_0x283975;}['_refreshCollabCursors'](){const _0x287559=_0x2fa915;this[_0x287559(0x609)]();const {scene:_0x55a643,mainComponent:_0x793d83}=this[_0x287559(0x52e)],_0x5e2f80=this[_0x287559(0x355)][_0x287559(0x38f)](),_0x293c78=this[_0x287559(0x2db)][_0x287559(0x252)](_0x58f994=>new _0x2705b0(_0x58f994,_0x55a643,_0x5e2f80,_0x793d83));this['_cursorShapes']=_0x293c78;}['_removeCollabCursors'](){const _0x118cd2=_0x2fa915;this[_0x118cd2(0x380)][_0x118cd2(0x34b)](_0x198dcd=>_0x198dcd[_0x118cd2(0x3ea)]()),this[_0x118cd2(0x380)]=[];}[_0x2fa915(0x25f)](){const _0x49d20f=_0x2fa915,_0x5838cc=[_0x28eee7[_0x49d20f(0x461)]['id']];this['disposeWithMe'](this[_0x49d20f(0x1a3)][_0x49d20f(0x1b5)](_0x8e6c15=>{const _0x54fc2f=_0x49d20f;_0x5838cc[_0x54fc2f(0x5c3)](_0x8e6c15['id'])&&_0x8e6c15['params'][_0x54fc2f(0x4f8)]===this['_context'][_0x54fc2f(0x4f8)]&&this['_refreshCollabCursors']();}));}[_0x2fa915(0x368)](){const _0x25aa63=_0x2fa915;this[_0x25aa63(0x211)](_0x4587e1[_0x25aa63(0x342)](this[_0x25aa63(0x52e)][_0x25aa63(0x5b8)][_0x25aa63(0x484)])['pipe'](_0x18f07e['filter'](_0x14b4b8=>_0x14b4b8[_0x25aa63(0x178)]===_0x25d31a['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x25aa63(0x293)]),_0x18f07e['throttleTime'](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x33787c=_0x3b4f48([_0x34b871(0x1,_0x4587e1[_0x2fa915(0x42b)](_0x4844e7[_0x2fa915(0x56d)])),_0x34b871(0x2,_0x4587e1[_0x2fa915(0x42b)](_0x49f33)),_0x34b871(0x3,_0x4587e1['ICommandService']),_0x34b871(0x4,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x4e5)]))],_0x33787c);const _0x2d885c=0x1,_0x1c1233=1.5;class _0x257c8d extends _0x25d31a[_0x2fa915(0x59a)]{constructor(_0x102dc1,_0x33efd6){const _0x5c2a63=_0x2fa915;super(_0x102dc1,_0x33efd6),_0x339ceb(this,_0x5c2a63(0x296)),_0x339ceb(this,_0x5c2a63(0x23e),!0x1),_0x339ceb(this,'_range'),_0x339ceb(this,_0x5c2a63(0x4d8),''),_0x339ceb(this,'_labelPosition',_0x5c2a63(0x5b1)),_0x339ceb(this,_0x5c2a63(0x402)),(_0x33efd6&&this['setShapeProps'](_0x33efd6),this[_0x5c2a63(0x34a)][_0x5c2a63(0x374)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x5c2a63(0x420)][_0x5c2a63(0x374)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x2fa915(0x5f6)](_0x418ba5){const _0x170c1e=_0x2fa915;var _0x52bd0c,_0xd9c107,_0x555e22,_0x5dffd9,_0x3a6e90,_0x919afc;this[_0x170c1e(0x296)]=(_0x52bd0c=_0x418ba5['color'])!=null?_0x52bd0c:this[_0x170c1e(0x296)],this['_hovered']=(_0xd9c107=_0x418ba5['hovered'])!=null?_0xd9c107:this[_0x170c1e(0x23e)],this['_range']=(_0x555e22=_0x418ba5[_0x170c1e(0x307)])!=null?_0x555e22:this[_0x170c1e(0x24f)],this[_0x170c1e(0x4d8)]=(_0x5dffd9=_0x418ba5['name'])!=null?_0x5dffd9:this[_0x170c1e(0x4d8)],this[_0x170c1e(0x620)]=(_0x3a6e90=_0x418ba5['labelPosition'])!=null?_0x3a6e90:this['_labelPosition'],this[_0x170c1e(0x402)]=(_0x919afc=_0x418ba5['backgroundColor'])!=null?_0x919afc:this['_backgroundColor'],this[_0x170c1e(0x4b0)]({'width':_0x418ba5[_0x170c1e(0x207)],'height':_0x418ba5[_0x170c1e(0x599)]});}[_0x2fa915(0x453)](_0x48cdc2){const _0xa57ece=_0x2fa915,{row:_0x19c28a,column:_0x23a9ff}=_0x48cdc2;if(_0x19c28a>=this[_0xa57ece(0x24f)][_0xa57ece(0x2b4)]&&_0x19c28a<=this[_0xa57ece(0x24f)][_0xa57ece(0x572)]&&_0x23a9ff>=this['_range'][_0xa57ece(0x325)]&&_0x23a9ff<=this[_0xa57ece(0x24f)]['endColumn']){this[_0xa57ece(0x5f6)]({'hovered':!0x0});return;}this[_0xa57ece(0x5f6)]({'hovered':!0x1});}['triggerDblclick'](_0x47bd0e){return!0x1;}[_0x2fa915(0x1b7)](_0x171a7c){const _0x379e5b=_0x2fa915;_0x25d31a[_0x379e5b(0x298)][_0x379e5b(0x3fa)](_0x171a7c,{'width':this[_0x379e5b(0x207)],'height':this[_0x379e5b(0x599)],'strokeWidth':_0x1c1233,'stroke':this[_0x379e5b(0x296)],'evented':!0x1,'fill':this[_0x379e5b(0x402)]}),this[_0x379e5b(0x23e)]&&(_0x171a7c['save'](),_0x171a7c[_0x379e5b(0x60c)](0x1,0x0,0x0,0x1,this[_0x379e5b(0x207)],this[_0x379e5b(0x620)]===_0x379e5b(0x54a)?0x0:-_0x474958),_0x3f182a[_0x379e5b(0x3fa)](_0x171a7c,{'text':this[_0x379e5b(0x4d8)],'color':this[_0x379e5b(0x296)]}),_0x171a7c[_0x379e5b(0x59b)]());}}var _0x62d9df=Object['defineProperty'],_0xfeed03=Object[_0x2fa915(0x569)],_0x3d481f=(_0x34d1ba,_0xe4dbd,_0x3b2b36,_0x5c51ed)=>{const _0x406eaa=_0x2fa915;for(var _0x52c2b3=_0x5c51ed>0x1?void 0x0:_0x5c51ed?_0xfeed03(_0xe4dbd,_0x3b2b36):_0xe4dbd,_0xa871b9=_0x34d1ba[_0x406eaa(0x4d9)]-0x1,_0xc8b7d8;_0xa871b9>=0x0;_0xa871b9--)(_0xc8b7d8=_0x34d1ba[_0xa871b9])&&(_0x52c2b3=(_0x5c51ed?_0xc8b7d8(_0xe4dbd,_0x3b2b36,_0x52c2b3):_0xc8b7d8(_0x52c2b3))||_0x52c2b3);return _0x5c51ed&&_0x52c2b3&&_0x62d9df(_0xe4dbd,_0x3b2b36,_0x52c2b3),_0x52c2b3;},_0x4490e6=(_0x5e1362,_0x5ed2f5)=>(_0x492a04,_0x5b4168)=>_0x5ed2f5(_0x492a04,_0x5b4168,_0x5e1362);const _0x45ddc0=0x1389;let _0x40b948=class extends _0x4587e1[_0x2fa915(0x5b2)]{constructor(_0x3432cd,_0x8528b5,_0x542529,_0x309edd){const _0x70e80c=_0x2fa915;super(),_0x339ceb(this,_0x70e80c(0x2db),new Set()),_0x339ceb(this,_0x70e80c(0x2dc),null),(this[_0x70e80c(0x52e)]=_0x3432cd,this[_0x70e80c(0x3d2)]=_0x8528b5,this[_0x70e80c(0x4af)]=_0x542529,this[_0x70e80c(0x22d)]=_0x309edd,this[_0x70e80c(0x16f)]());}[_0x2fa915(0x16f)](){const _0x452486=_0x2fa915;this['_sheetSkeletonManagerService'][_0x452486(0x4a9)][_0x452486(0x276)](_0x18f07e[_0x452486(0x2b3)](this[_0x452486(0x1ad)]),_0x18f07e[_0x452486(0x42a)](_0xf82e1b=>{const _0xae86af=_0x452486;if(_0xf82e1b){const _0x216f1a=_0xf82e1b[_0xae86af(0x1e9)];return _0x3eec93[_0xae86af(0x4eb)](this[_0xae86af(0x4af)][_0xae86af(0x55f)](this[_0xae86af(0x52e)][_0xae86af(0x4f8)]),this[_0xae86af(0x22d)][_0xae86af(0x4fe)])[_0xae86af(0x276)](_0x18f07e[_0xae86af(0x252)](([_0x91092a,_0x4e0b04])=>{const _0x5540db=_0xae86af,_0x272851=new Map();return _0x91092a[_0x5540db(0x34b)]((_0x10cb1b,_0x5b0926)=>{const _0x5c6f8b=_0x5540db;if(_0x10cb1b['sheetID']===_0x216f1a){const _0x3cab1d={..._0x10cb1b};_0x3cab1d[_0x5c6f8b(0x5f2)]=_0x4e0b04[_0x10cb1b[_0x5c6f8b(0x5f2)]],_0x272851[_0x5c6f8b(0x498)](_0x5b0926,_0x3cab1d);}}),{'skeleton':_0xf82e1b,'cursors':_0x272851};}));}return _0x3eec93['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x5e0f50,cursors:_0x4aac77})=>{const _0x3c6fce=_0x452486;this[_0x3c6fce(0x609)](),_0x5e0f50&&this[_0x3c6fce(0x295)](_0x5e0f50,_0x4aac77);}),this[_0x452486(0x3d2)][_0x452486(0x4a9)][_0x452486(0x447)](_0x3e7610=>{const _0xa37c42=_0x452486;if(_0x3e7610==null)return;const {skeleton:_0x2cbf18}=_0x3e7610,{scene:_0x22e38f}=this[_0xa37c42(0x52e)];_0x22e38f['onPointerMove$'][_0xa37c42(0x374)](_0x4587e1[_0xa37c42(0x625)](_0x286187=>{const _0x4725aa=_0xa37c42;var _0x31febc,_0x5dffe3;const {offsetX:_0x4fe350,offsetY:_0x38cd10}=_0x286187,{x:_0x29fb7a,y:_0x9f1802}=_0x22e38f['getRelativeToViewportCoord'](_0x25d31a['Vector2'][_0x4725aa(0x5ff)]([_0x4fe350,_0x38cd10])),{scaleX:_0xefbaf1,scaleY:_0x565530}=_0x22e38f[_0x4725aa(0x591)](),_0x4c76ad=_0x22e38f[_0x4725aa(0x564)](_0x23bfa7[_0x4725aa(0x31b)][_0x4725aa(0x3db)]),_0x5886ed=_0x22e38f[_0x4725aa(0x40e)](_0x25d31a[_0x4725aa(0x511)][_0x4725aa(0x5ff)]([_0x29fb7a,_0x9f1802]),_0x4c76ad),_0x23914f=_0x2cbf18[_0x4725aa(0x225)](_0x4fe350,_0x38cd10,_0xefbaf1,_0x565530,_0x5886ed);((_0x31febc=this[_0x4725aa(0x2dc)])==null?void 0x0:_0x31febc[_0x4725aa(0x5f8)])===_0x23914f['column']&&((_0x5dffe3=this[_0x4725aa(0x2dc)])==null?void 0x0:_0x5dffe3['row'])===_0x23914f['row']||this[_0x4725aa(0x2db)][_0x4725aa(0x34b)](_0x1cf983=>{const _0x255018=_0x4725aa;_0x1cf983[_0x255018(0x453)](_0x23914f);});},0x64));});}[_0x2fa915(0x295)](_0x42a833,_0x505729){const _0x369af2=_0x2fa915;var _0x245490;const _0x2397a8=(_0x245490=this[_0x369af2(0x3d2)]['getCurrent']())==null?void 0x0:_0x245490[_0x369af2(0x187)];if(!_0x2397a8)return;const _0x3b2b65=this['_getSheetObject']();if(!_0x3b2b65)return;this[_0x369af2(0x2db)][_0x369af2(0x34b)](_0x344bf2=>{const _0x51fe4d=_0x369af2;_0x344bf2[_0x51fe4d(0x5a7)]();});const {scene:_0x318a4e}=_0x3b2b65,_0x26da04=_0x4bb0f0(Array[_0x369af2(0x3e0)](_0x505729[_0x369af2(0x291)]()))['map'](_0x249da2=>{const _0x2ed6e1=_0x369af2,{color:_0x15fbf6,range:_0x1c99b8,name:_0x53b45d,selection:_0x2a7929,sheetID:_0x273cca}=_0x249da2,{startColumn:_0x598a4a,startRow:_0x1d587d,endColumn:_0x1bbfbb,endRow:_0x48cb28}=_0x1c99b8,_0x44a823=_0x23bfa7[_0x2ed6e1(0x196)](_0x1d587d,_0x598a4a,_0x318a4e,_0x2397a8),_0x39fc4c=_0x23bfa7[_0x2ed6e1(0x196)](_0x48cb28,_0x1bbfbb,_0x318a4e,_0x2397a8),{columnHeaderHeightAndMarginTop:_0x2e0bd7}=_0x2397a8,{startX:_0x269e4c,startY:_0x41d841}=_0x44a823,{endX:_0x256b31,endY:_0x1380ab}=_0x39fc4c,_0x1b3fa2=_0x256b31-_0x269e4c,_0x22e410=_0x1380ab-_0x41d841,_0xe950a1={'labelPosition':_0x41d841-_0x2e0bd7>=_0x474958?'top':'bottom','sheetID':_0x273cca,'range':_0x1c99b8,'color':_0x15fbf6,'name':_0x53b45d,'selection':_0x2a7929,'left':_0x269e4c,'top':_0x41d841,'width':_0x1b3fa2,'height':_0x22e410,'evented':!0x1,'zIndex':_0x45ddc0};return new _0x257c8d(_0x53b45d,_0xe950a1);});_0x318a4e[_0x369af2(0x190)](_0x26da04,_0x2d885c),this[_0x369af2(0x2db)]=new Set(_0x26da04);}['_removeCollabCursors'](){const _0x1daf86=_0x2fa915;var _0x51fbc5;(_0x51fbc5=this[_0x1daf86(0x2db)])==null||_0x51fbc5['forEach'](_0x405868=>_0x405868[_0x1daf86(0x3ea)]());}[_0x2fa915(0x35b)](){const _0x53b504=_0x2fa915;return _0x23bfa7[_0x53b504(0x35e)](this[_0x53b504(0x52e)][_0x53b504(0x4d5)],this[_0x53b504(0x52e)]);}};_0x40b948=_0x3d481f([_0x4490e6(0x1,_0x4587e1[_0x2fa915(0x42b)](_0x23bfa7[_0x2fa915(0x26d)])),_0x4490e6(0x2,_0x4587e1[_0x2fa915(0x42b)](_0x49f33)),_0x4490e6(0x3,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x4e5)]))],_0x40b948);function _0x4bb0f0(_0x322819){const _0x210249=_0x2fa915,_0x5a5701=new Map();return _0x322819[_0x210249(0x34b)](_0x27a4bf=>{const _0xc023ec=_0x210249;if(_0x5a5701[_0xc023ec(0x364)](_0x27a4bf[_0xc023ec(0x634)])){const _0x78512a=_0x5a5701[_0xc023ec(0x4a0)](_0x27a4bf[_0xc023ec(0x634)]);_0x78512a[_0xc023ec(0x59e)]+=',\x20'+_0x27a4bf[_0xc023ec(0x59e)];}else _0x5a5701['set'](_0x27a4bf[_0xc023ec(0x634)],_0x27a4bf);}),Array[_0x210249(0x3e0)](_0x5a5701['values']());}var _0x46cbc6=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x1de184(_0x29b088){const _0xfeb262=_0x2fa915;return _0x29b088&&_0x29b088[_0xfeb262(0x4ee)]&&Object[_0xfeb262(0x62d)][_0xfeb262(0x507)][_0xfeb262(0x246)](_0x29b088,_0xfeb262(0x33a))?_0x29b088['default']:_0x29b088;}var _0x12944c={'exports':{}},_0x5297da={},_0x421400=_0x1e411a,_0x52912c=Symbol[_0x2fa915(0x4ad)]('react.element'),_0x39af82=Symbol[_0x2fa915(0x4ad)](_0x2fa915(0x3ed)),_0x5d448f=Object[_0x2fa915(0x62d)][_0x2fa915(0x507)],_0x5cefc9=_0x421400[_0x2fa915(0x2ca)][_0x2fa915(0x18a)],_0x60d199={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x1b54dc(_0x24a85c,_0x222d9d,_0x135494){const _0x5ae702=_0x2fa915;var _0x461418,_0x588dbe={},_0x55608d=null,_0x3d2c15=null;_0x135494!==void 0x0&&(_0x55608d=''+_0x135494),_0x222d9d[_0x5ae702(0x391)]!==void 0x0&&(_0x55608d=''+_0x222d9d[_0x5ae702(0x391)]),_0x222d9d[_0x5ae702(0x578)]!==void 0x0&&(_0x3d2c15=_0x222d9d['ref']);for(_0x461418 in _0x222d9d)_0x5d448f[_0x5ae702(0x246)](_0x222d9d,_0x461418)&&!_0x60d199[_0x5ae702(0x507)](_0x461418)&&(_0x588dbe[_0x461418]=_0x222d9d[_0x461418]);if(_0x24a85c&&_0x24a85c[_0x5ae702(0x63c)]){for(_0x461418 in(_0x222d9d=_0x24a85c[_0x5ae702(0x63c)],_0x222d9d))_0x588dbe[_0x461418]===void 0x0&&(_0x588dbe[_0x461418]=_0x222d9d[_0x461418]);}return{'$$typeof':_0x52912c,'type':_0x24a85c,'key':_0x55608d,'ref':_0x3d2c15,'props':_0x588dbe,'_owner':_0x5cefc9[_0x5ae702(0x4b6)]};}_0x5297da['Fragment']=_0x39af82,_0x5297da[_0x2fa915(0x179)]=_0x1b54dc,_0x5297da[_0x2fa915(0x5c6)]=_0x1b54dc,_0x12944c[_0x2fa915(0x3a4)]=_0x5297da;var _0x30998c=_0x12944c['exports'],_0x4985f3=function(){const _0xf0f597=_0x2fa915;return _0x4985f3=Object[_0xf0f597(0x596)]||function(_0x4bb4a7){const _0x4f9ccb=_0xf0f597;for(var _0x4dea38,_0x438995=0x1,_0xb1196d=arguments[_0x4f9ccb(0x4d9)];_0x438995<_0xb1196d;_0x438995++){_0x4dea38=arguments[_0x438995];for(var _0x14302f in _0x4dea38)Object[_0x4f9ccb(0x62d)][_0x4f9ccb(0x507)][_0x4f9ccb(0x246)](_0x4dea38,_0x14302f)&&(_0x4bb4a7[_0x14302f]=_0x4dea38[_0x14302f]);}return _0x4bb4a7;},_0x4985f3[_0xf0f597(0x54c)](this,arguments);},_0x29a0cc=function(_0x232aee,_0x4e9690){const _0xef222d=_0x2fa915;var _0x3e3aea={};for(var _0xb4e968 in _0x232aee)Object[_0xef222d(0x62d)][_0xef222d(0x507)][_0xef222d(0x246)](_0x232aee,_0xb4e968)&&_0x4e9690[_0xef222d(0x1dc)](_0xb4e968)<0x0&&(_0x3e3aea[_0xb4e968]=_0x232aee[_0xb4e968]);if(_0x232aee!=null&&typeof Object['getOwnPropertySymbols']==_0xef222d(0x2e3)){for(var _0x30a1e7=0x0,_0xb4e968=Object[_0xef222d(0x1bc)](_0x232aee);_0x30a1e7<_0xb4e968[_0xef222d(0x4d9)];_0x30a1e7++)_0x4e9690[_0xef222d(0x1dc)](_0xb4e968[_0x30a1e7])<0x0&&Object['prototype'][_0xef222d(0x5e3)][_0xef222d(0x246)](_0x232aee,_0xb4e968[_0x30a1e7])&&(_0x3e3aea[_0xb4e968[_0x30a1e7]]=_0x232aee[_0xb4e968[_0x30a1e7]]);}return _0x3e3aea;},_0x22b915=_0x1e411a['forwardRef'](function(_0x2c45c3,_0x1ec5fb){const _0x55204c=_0x2fa915;var _0x160ccd=_0x2c45c3[_0x55204c(0x600)],_0x5712e9=_0x2c45c3['id'],_0x200990=_0x2c45c3[_0x55204c(0x4a8)],_0x4cbd1a=_0x2c45c3[_0x55204c(0x44a)],_0x2ef039=_0x29a0cc(_0x2c45c3,[_0x55204c(0x600),'id','className',_0x55204c(0x44a)]),_0x27fb19=_0x55204c(0x56b)[_0x55204c(0x227)](_0x5712e9,'\x20')[_0x55204c(0x227)](_0x200990||'')[_0x55204c(0x3eb)](),_0x47ce58=_0x1e411a[_0x55204c(0x347)]('_'[_0x55204c(0x227)](_0x3eb1cf()));return _0x2b0a5c(_0x160ccd,''[_0x55204c(0x227)](_0x5712e9),{'defIds':_0x160ccd[_0x55204c(0x5c7)],'idSuffix':_0x47ce58['current']},_0x4985f3({'ref':_0x1ec5fb,'className':_0x27fb19},_0x2ef039),_0x4cbd1a);});function _0x2b0a5c(_0x1de1e9,_0x3722c7,_0x45940b,_0x51a5f7,_0x23924a){const _0xfd32f8=_0x2fa915;return _0x1e411a['createElement'](_0x1de1e9[_0xfd32f8(0x329)],_0x4985f3(_0x4985f3({'key':_0x3722c7},_0x288f2d(_0x1de1e9,_0x45940b,_0x23924a)),_0x51a5f7),(_0x37987a(_0x1de1e9,_0x45940b)[_0xfd32f8(0x3d6)]||[])['map'](function(_0x48dbf9,_0x5be11c){const _0x6d12b2=_0xfd32f8;return _0x2b0a5c(_0x48dbf9,''['concat'](_0x3722c7,'-')[_0x6d12b2(0x227)](_0x1de1e9[_0x6d12b2(0x329)],'-')[_0x6d12b2(0x227)](_0x5be11c),_0x45940b,void 0x0,_0x23924a);}));}function _0x288f2d(_0x187568,_0x5d502f,_0x33362c){const _0x192340=_0x2fa915;var _0x3e379f=_0x4985f3({},_0x187568[_0x192340(0x2ac)]);_0x33362c!=null&&_0x33362c[_0x192340(0x62f)]&&_0x3e379f['fill']==='colorChannel1'&&(_0x3e379f[_0x192340(0x3dc)]=_0x33362c[_0x192340(0x62f)]);var _0x1c49d5=_0x5d502f[_0x192340(0x5c7)];return!_0x1c49d5||_0x1c49d5['length']===0x0||(_0x187568[_0x192340(0x329)]===_0x192340(0x47a)&&_0x3e379f[_0x192340(0x429)]&&(_0x3e379f[_0x192340(0x429)]=_0x3e379f['xlink:href']+_0x5d502f['idSuffix']),Object[_0x192340(0x175)](_0x3e379f)[_0x192340(0x34b)](function(_0x4483c9){const _0x5695ed=_0x192340;var _0x576174=_0x4483c9[0x0],_0x362c74=_0x4483c9[0x1];typeof _0x362c74==_0x5695ed(0x241)&&(_0x3e379f[_0x576174]=_0x362c74['replace'](/url\(#(.*)\)/,_0x5695ed(0x3b0)['concat'](_0x5d502f[_0x5695ed(0x449)],')')));})),_0x3e379f;}function _0x37987a(_0x397fc4,_0x52d956){const _0x576bc0=_0x2fa915;var _0x140f0f,_0x4866c9=_0x52d956['defIds'];return!_0x4866c9||_0x4866c9[_0x576bc0(0x4d9)]===0x0?_0x397fc4:_0x397fc4[_0x576bc0(0x329)]===_0x576bc0(0x5b5)&&(!((_0x140f0f=_0x397fc4[_0x576bc0(0x3d6)])===null||_0x140f0f===void 0x0)&&_0x140f0f[_0x576bc0(0x4d9)])?_0x4985f3(_0x4985f3({},_0x397fc4),{'children':_0x397fc4[_0x576bc0(0x3d6)][_0x576bc0(0x252)](function(_0x27b2a9){const _0x32f754=_0x576bc0;return typeof _0x27b2a9[_0x32f754(0x2ac)]['id']==_0x32f754(0x241)&&_0x4866c9&&_0x4866c9[_0x32f754(0x1dc)](_0x27b2a9['attrs']['id'])>-0x1?_0x4985f3(_0x4985f3({},_0x27b2a9),{'attrs':_0x4985f3(_0x4985f3({},_0x27b2a9['attrs']),{'id':_0x27b2a9[_0x32f754(0x2ac)]['id']+_0x52d956[_0x32f754(0x449)]})}):_0x27b2a9;})}):_0x397fc4;}function _0x3eb1cf(){const _0x2444c3=_0x2fa915;return Math['random']()[_0x2444c3(0x38a)](0x24)[_0x2444c3(0x1d8)](0x2,0x8);}_0x22b915[_0x2fa915(0x265)]=_0x2fa915(0x200);var _0x3fdcc1={'tag':_0x2fa915(0x336),'attrs':{'fill':_0x2fa915(0x312),'viewBox':_0x2fa915(0x194),'width':_0x2fa915(0x181),'height':_0x2fa915(0x181)},'children':[{'tag':'g','attrs':{'clipPath':_0x2fa915(0x4ed)},'children':[{'tag':_0x2fa915(0x501),'attrs':{'stroke':_0x2fa915(0x418),'d':_0x2fa915(0x205),'strokeLinecap':_0x2fa915(0x319),'strokeLinejoin':_0x2fa915(0x319),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2fa915(0x466),'attrs':{'id':_0x2fa915(0x221)},'children':[{'tag':'path','attrs':{'fill':_0x2fa915(0x287),'d':_0x2fa915(0x577)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x2369dc=_0x1e411a['forwardRef'](function(_0x47bbc8,_0xde7000){const _0x19864b=_0x2fa915;return _0x1e411a[_0x19864b(0x3a2)](_0x22b915,Object[_0x19864b(0x596)]({},_0x47bbc8,{'id':_0x19864b(0x3fe),'ref':_0xde7000,'icon':_0x3fdcc1}));});_0x2369dc['displayName']=_0x2fa915(0x25e);var _0x4e7126={'tag':'svg','attrs':{'fill':_0x2fa915(0x312),'viewBox':_0x2fa915(0x556),'width':_0x2fa915(0x181),'height':_0x2fa915(0x181)},'children':[{'tag':'g','attrs':{'clipPath':_0x2fa915(0x467)},'children':[{'tag':'path','attrs':{'stroke':_0x2fa915(0x418),'d':_0x2fa915(0x25d),'strokeLinecap':'round','strokeLinejoin':_0x2fa915(0x319),'strokeWidth':1.2}}]},{'tag':_0x2fa915(0x5b5),'attrs':{},'children':[{'tag':_0x2fa915(0x466),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x2fa915(0x501),'attrs':{'fill':_0x2fa915(0x287),'d':_0x2fa915(0x577),'transform':'translate(.97)'}}]}]}],'defIds':[_0x2fa915(0x61f)]},_0x4ef947=_0x1e411a[_0x2fa915(0x256)](function(_0x96961,_0x2499c6){const _0x4c03a7=_0x2fa915;return _0x1e411a[_0x4c03a7(0x3a2)](_0x22b915,Object[_0x4c03a7(0x596)]({},_0x96961,{'id':_0x4c03a7(0x53f),'ref':_0x2499c6,'icon':_0x4e7126}));});_0x4ef947['displayName']='OnLineSingle';function _0x306fba(_0x561517){const _0x7d682c=_0x2fa915;var _0x29a1b7,_0x11df01,_0x54e779='';if(typeof _0x561517=='string'||typeof _0x561517==_0x7d682c(0x280))_0x54e779+=_0x561517;else{if(typeof _0x561517=='object'){if(Array[_0x7d682c(0x330)](_0x561517)){var _0x2114cb=_0x561517[_0x7d682c(0x4d9)];for(_0x29a1b7=0x0;_0x29a1b7<_0x2114cb;_0x29a1b7++)_0x561517[_0x29a1b7]&&(_0x11df01=_0x306fba(_0x561517[_0x29a1b7]))&&(_0x54e779&&(_0x54e779+='\x20'),_0x54e779+=_0x11df01);}else{for(_0x11df01 in _0x561517)_0x561517[_0x11df01]&&(_0x54e779&&(_0x54e779+='\x20'),_0x54e779+=_0x11df01);}}}return _0x54e779;}function _0x52690d(){const _0x326cd1=_0x2fa915;for(var _0x4ee86d,_0x2872ff,_0x5925be=0x0,_0xf191b5='',_0x912d04=arguments[_0x326cd1(0x4d9)];_0x5925be<_0x912d04;_0x5925be++)(_0x4ee86d=arguments[_0x5925be])&&(_0x2872ff=_0x306fba(_0x4ee86d))&&(_0xf191b5&&(_0xf191b5+='\x20'),_0xf191b5+=_0x2872ff);return _0xf191b5;}const _0x4a9af7={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x2fa915(0x3e2),'onlineStatus':_0x2fa915(0x1e5),'online':_0x2fa915(0x43e),'offline':_0x2fa915(0x63a)};function _0x41f090(_0x4b6191){const _0x480044=_0x2fa915;switch(_0x4b6191){case _0x3b904c[_0x480044(0x3c4)]:return'collabStatus.offline';case _0x3b904c['CONFLICT']:return _0x480044(0x1fb);case _0x3b904c[_0x480044(0x3b5)]:return _0x480044(0x37f);case _0x3b904c[_0x480044(0x5d0)]:return _0x480044(0x389);case _0x3b904c['AWAITING']:case _0x3b904c['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x3b904c[_0x480044(0x431)]:case _0x3b904c[_0x480044(0x177)]:return'collabStatus.synced';}}function _0x2e49a0(_0x3a71f3){const _0x20dfff=_0x2fa915,{status$:_0x29214e}=_0x3a71f3,_0x4fd9b6=_0x3163bd[_0x20dfff(0x231)](_0x29214e,_0x3b904c['NOT_COLLAB']),_0x179984=_0x4587e1[_0x20dfff(0x430)](_0x4587e1[_0x20dfff(0x1e2)]),_0x5f0c8d=_0x4587e1[_0x20dfff(0x430)](_0x539c7e[_0x20dfff(0x240)]),_0x89f14d=_0x4fd9b6!==_0x3b904c[_0x20dfff(0x3c4)],_0x142d34=_0x179984['t'](_0x41f090(_0x4fd9b6)),_0xb7ef5=_0x52690d(_0x4a9af7[_0x20dfff(0x1dd)],{[_0x4a9af7[_0x20dfff(0x17c)]]:_0x89f14d,[_0x4a9af7['offline']]:!_0x89f14d}),_0x173a6d=_0x89f14d?_0x30998c[_0x20dfff(0x179)](_0x4ef947,{}):_0x30998c[_0x20dfff(0x179)](_0x2369dc,{}),_0x52f224=_0x1e411a[_0x20dfff(0x188)](()=>{const _0x478591=_0x20dfff;_0x89f14d||_0x5f0c8d[_0x478591(0x424)]();},[_0x89f14d,_0x5f0c8d]);function _0x1f8c5d(){const _0x31b114=_0x20dfff;return _0x30998c['jsxs']('div',{'className':_0xb7ef5,'onClick':_0x52f224,'children':[_0x30998c[_0x31b114(0x179)]('div',{'className':_0x4a9af7['onlineStatusIcon'],'children':_0x173a6d}),_0x30998c['jsx'](_0x31b114(0x356),{'className':_0x4a9af7[_0x31b114(0x2b8)],'children':_0x142d34})]});}return _0x89f14d?_0x1f8c5d():_0x30998c[_0x20dfff(0x179)](_0x40b71f[_0x20dfff(0x5b0)],{'title':_0x179984['t']('collab-client.tooltip.reconnect'),'children':_0x1f8c5d()});}var _0x23de9e=Object[_0x2fa915(0x44e)],_0x124619=Object[_0x2fa915(0x569)],_0x35294c=(_0x40f0df,_0x33e5f1,_0x194c8a,_0x45770a)=>{const _0x3c293c=_0x2fa915;for(var _0x121b1f=_0x45770a>0x1?void 0x0:_0x45770a?_0x124619(_0x33e5f1,_0x194c8a):_0x33e5f1,_0x310ff8=_0x40f0df[_0x3c293c(0x4d9)]-0x1,_0x4bd6df;_0x310ff8>=0x0;_0x310ff8--)(_0x4bd6df=_0x40f0df[_0x310ff8])&&(_0x121b1f=(_0x45770a?_0x4bd6df(_0x33e5f1,_0x194c8a,_0x121b1f):_0x4bd6df(_0x121b1f))||_0x121b1f);return _0x45770a&&_0x121b1f&&_0x23de9e(_0x33e5f1,_0x194c8a,_0x121b1f),_0x121b1f;},_0x155a97=(_0x4c86dc,_0x498a4d)=>(_0x35caa5,_0x9483a3)=>_0x498a4d(_0x35caa5,_0x9483a3,_0x4c86dc);_0x539c7e['DesktopCollaborationStatusDisplayController']=class extends _0x4587e1[_0x2fa915(0x552)]{constructor(_0x3e2109,_0x4322cb,_0xead232,_0x1b20e2){const _0x528b79=_0x2fa915;super(),_0x339ceb(this,_0x528b79(0x1aa),new _0x3eec93[(_0x528b79(0x29b))](_0x3b904c[_0x528b79(0x5d0)])),(this['_univerInstanceService']=_0x3e2109,this[_0x528b79(0x61c)]=_0x4322cb,this[_0x528b79(0x60e)]=_0xead232,this['_collaborationController']=_0x1b20e2,this['_initStatusComponent'](),this[_0x528b79(0x53c)]());}[_0x2fa915(0x53c)](){const _0x451f85=_0x2fa915;this[_0x451f85(0x211)](this[_0x451f85(0x3c1)][_0x451f85(0x18c)][_0x451f85(0x276)](_0x3eec93[_0x451f85(0x42a)](()=>{const _0x46c4d8=_0x451f85,_0x2eec34=this[_0x46c4d8(0x3c1)]['getFocusedUnit']();return _0x2eec34?this[_0x46c4d8(0x573)][_0x46c4d8(0x3e6)](_0x2eec34[_0x46c4d8(0x1d9)]()):_0x3eec93['of'](null);}),_0x3eec93[_0x451f85(0x42a)](_0xb1738f=>_0xb1738f?_0xb1738f[_0x451f85(0x361)]:_0x3eec93['of'](_0x3b904c['NOT_COLLAB'])))[_0x451f85(0x447)](_0x1ac98c=>{const _0x31d231=_0x451f85;this['_status$'][_0x31d231(0x1c9)](_0x1ac98c);}));}[_0x2fa915(0x595)](){const _0x2b1c52=_0x2fa915;this[_0x2b1c52(0x211)](this['_uiPartsService']['registerComponent'](_0x3163bd['BuiltInUIPart'][_0x2b1c52(0x4ab)],()=>_0x4587e1[_0x2b1c52(0x390)](_0x380786({'status$':this['_status$'][_0x2b1c52(0x630)]()}),this[_0x2b1c52(0x60e)])));}},_0x539c7e[_0x2fa915(0x59c)]=_0x35294c([_0x155a97(0x0,_0x4587e1[_0x2fa915(0x53b)]),_0x155a97(0x1,_0x3163bd[_0x2fa915(0x2e0)]),_0x155a97(0x2,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x403)])),_0x155a97(0x3,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x38e)]))],_0x539c7e[_0x2fa915(0x59c)]);function _0x380786(_0x1e40c){const {status$:_0x4c619e}=_0x1e40c;return function(){const _0x1a9ac4=_0x5275;return _0x30998c[_0x1a9ac4(0x179)](_0x2e49a0,{'status$':_0x4c619e});};}const _0x4791ca=_0x4587e1[_0x2fa915(0x22c)](_0x2fa915(0x3e9));var _0xb4718d=Object['defineProperty'],_0x3685e3=Object[_0x2fa915(0x569)],_0x2d0b38=(_0x224069,_0x32780a,_0x56e6ed,_0x88c3f5)=>{for(var _0xef053=_0x88c3f5>0x1?void 0x0:_0x88c3f5?_0x3685e3(_0x32780a,_0x56e6ed):_0x32780a,_0x56003d=_0x224069['length']-0x1,_0x2a7fd6;_0x56003d>=0x0;_0x56003d--)(_0x2a7fd6=_0x224069[_0x56003d])&&(_0xef053=(_0x88c3f5?_0x2a7fd6(_0x32780a,_0x56e6ed,_0xef053):_0x2a7fd6(_0xef053))||_0xef053);return _0x88c3f5&&_0xef053&&_0xb4718d(_0x32780a,_0x56e6ed,_0xef053),_0xef053;},_0x1c989f=(_0x1cea9f,_0x56a772)=>(_0xaf81f0,_0x4a46be)=>_0x56a772(_0xaf81f0,_0x4a46be,_0x1cea9f);_0x539c7e[_0x2fa915(0x19b)]=class extends _0x4587e1['RxDisposable']{constructor(_0x283855,_0x12eadc,_0x351d58,_0x4cbd95,_0x13b49d,_0x1a07b8){const _0xa66081=_0x2fa915;super(),this[_0xa66081(0x480)]=_0x283855,this['_logService']=_0x12eadc,this['_commandService']=_0x351d58,this['_localCacheService']=_0x4cbd95,this['_snapshotService']=_0x13b49d,_0x1a07b8?_0x1a07b8==null||_0x1a07b8['whenReady']()[_0xa66081(0x20e)](()=>this[_0xa66081(0x16f)]()):(this[_0xa66081(0x43a)][_0xa66081(0x472)](_0xa66081(0x4f0),_0xa66081(0x5ca)),this[_0xa66081(0x16f)]());}async[_0x2fa915(0x16f)](){const _0x412f32=_0x2fa915,_0x790562=this[_0x412f32(0x480)][_0x412f32(0x559)](_0x412f32(0x4d5)),_0x29583a=this['_urlService']['getParam'](_0x412f32(0x178));if(!_0x790562||!_0x29583a){this[_0x412f32(0x43a)][_0x412f32(0x472)](_0x412f32(0x4f0),_0x412f32(0x4a2));return;}switch(Number(_0x29583a)){case _0xad4019[_0x412f32(0x3ee)]:{const _0x4a8b73=await this['_loadSheet'](_0x790562);this[_0x412f32(0x3c8)](_0x4a8b73);break;}case _0xad4019[_0x412f32(0x27b)]:{await this[_0x412f32(0x3cc)](_0x790562);break;}default:{this[_0x412f32(0x43a)]['error'](_0x412f32(0x4f0),_0x412f32(0x209));break;}}}async[_0x2fa915(0x3c8)](_0x5063b9){const _0x2a918a=_0x2fa915;await this[_0x2a918a(0x459)](_0x5063b9),_0x5063b9[_0x2a918a(0x3ff)][_0x2a918a(0x276)](_0x3eec93[_0x2a918a(0x2b3)](this['dispose$']))['subscribe'](_0x3501aa=>{const _0x43e8d1=_0x2a918a;_0x3501aa&&this[_0x43e8d1(0x5f5)](_0x3501aa);}),this[_0x2a918a(0x480)][_0x2a918a(0x568)]['pipe'](_0x3eec93['takeUntil'](this[_0x2a918a(0x1ad)]))[_0x2a918a(0x447)](()=>this[_0x2a918a(0x459)](_0x5063b9));}[_0x2fa915(0x5f5)](_0x329e08,_0x499bda=!0x1){const _0x3706db=_0x2fa915,_0x517c0f=this[_0x3706db(0x480)]['getParam'](_0x3706db(0x590));_0x329e08[_0x3706db(0x2f7)]()!==_0x517c0f&&this[_0x3706db(0x480)][_0x3706db(0x4c4)]('subunit',_0x329e08[_0x3706db(0x2f7)](),_0x499bda);}async[_0x2fa915(0x459)](_0x5161e4){const _0x5989a1=_0x2fa915;var _0x42616c;const _0x2c55e5=this[_0x5989a1(0x480)][_0x5989a1(0x559)](_0x5989a1(0x590));if(!_0x2c55e5||!_0x5161e4['getSheetBySheetId'](_0x2c55e5)){const _0x6b61d2=_0x5161e4[_0x5989a1(0x2c0)]()[0x0],_0x6488b6=_0x5161e4[_0x5989a1(0x5c1)](_0x6b61d2);if(!_0x6488b6)return;this[_0x5989a1(0x5f5)](_0x6488b6,!0x0),await this[_0x5989a1(0x1a3)][_0x5989a1(0x3c6)](_0x27d820[_0x5989a1(0x244)]['id'],{'unitId':_0x5161e4[_0x5989a1(0x1d9)](),'subUnitId':_0x6b61d2});return;}((_0x42616c=_0x5161e4['getActiveSheet']())==null?void 0x0:_0x42616c['getSheetId']())!==_0x2c55e5&&await this[_0x5989a1(0x1a3)]['executeCommand'](_0x27d820[_0x5989a1(0x244)]['id'],{'unitId':_0x5161e4[_0x5989a1(0x1d9)](),'subUnitId':_0x2c55e5});}async[_0x2fa915(0x345)](_0x46b1c5){const _0xc856a9=_0x2fa915;let _0x4d3c57=0x0;const _0x4e4c87=await this[_0xc856a9(0x473)][_0xc856a9(0x5eb)](_0x46b1c5);return _0x4e4c87&&(_0x4e4c87[_0xc856a9(0x32b)]||_0x4e4c87[_0xc856a9(0x4d3)][_0xc856a9(0x4d9)]!==0x0)&&(_0x4d3c57=_0x4e4c87[_0xc856a9(0x189)]),_0x4d3c57===0x0&&this[_0xc856a9(0x43a)]['debug'](_0xc856a9(0x4f0),_0xc856a9(0x34e)),this[_0xc856a9(0x370)]['loadSheet'](_0x46b1c5,_0x4d3c57);}async[_0x2fa915(0x3cc)](_0x2f46d2){const _0x24d215=_0x2fa915;let _0x2166d1=0x0;const _0x23a93b=await this[_0x24d215(0x473)][_0x24d215(0x5eb)](_0x2f46d2);return _0x23a93b&&(_0x23a93b[_0x24d215(0x32b)]||_0x23a93b[_0x24d215(0x4d3)][_0x24d215(0x4d9)]!==0x0)&&(_0x2166d1=_0x23a93b[_0x24d215(0x189)]),_0x2166d1===0x0&&this['_logService'][_0x24d215(0x472)](_0x24d215(0x4f0),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x24d215(0x2d3)](_0x2f46d2,_0x2166d1);}},_0x539c7e[_0x2fa915(0x19b)]=_0x2d0b38([_0x1c989f(0x0,_0x4791ca),_0x1c989f(0x1,_0x4587e1['ILogService']),_0x1c989f(0x2,_0x4587e1[_0x2fa915(0x60b)]),_0x1c989f(0x3,_0x4587e1[_0x2fa915(0x42b)](_0x539c7e[_0x2fa915(0x408)])),_0x1c989f(0x4,_0x4587e1[_0x2fa915(0x42b)](_0x215e4a['SnapshotService'])),_0x1c989f(0x5,_0x4587e1[_0x2fa915(0x412)](_0x15b024[_0x2fa915(0x4bc)]))],_0x539c7e[_0x2fa915(0x19b)]);var _0x35a800=Object['defineProperty'],_0x27375b=Object[_0x2fa915(0x569)],_0x437941=(_0x403fa1,_0x2b48e1,_0x418588,_0x5cfa43)=>{const _0x351654=_0x2fa915;for(var _0x1ebde3=_0x5cfa43>0x1?void 0x0:_0x5cfa43?_0x27375b(_0x2b48e1,_0x418588):_0x2b48e1,_0x2bf46a=_0x403fa1[_0x351654(0x4d9)]-0x1,_0x8728dd;_0x2bf46a>=0x0;_0x2bf46a--)(_0x8728dd=_0x403fa1[_0x2bf46a])&&(_0x1ebde3=(_0x5cfa43?_0x8728dd(_0x2b48e1,_0x418588,_0x1ebde3):_0x8728dd(_0x1ebde3))||_0x1ebde3);return _0x5cfa43&&_0x1ebde3&&_0x35a800(_0x2b48e1,_0x418588,_0x1ebde3),_0x1ebde3;},_0x5d147b=(_0x23b49c,_0x37d954)=>(_0x413980,_0x16f050)=>_0x37d954(_0x413980,_0x16f050,_0x23b49c);const _0x5f4aed='DEFAULT_FILE_NAME',_0x17a5a6=_0x2fa915(0x3f3);let _0x4a666c=class extends _0x4587e1['Disposable']{constructor(_0x373df3,_0x583a1d){const _0x510a79=_0x2fa915;super(),this[_0x510a79(0x3c1)]=_0x373df3,this['_configService']=_0x583a1d,this['_init']();}[_0x2fa915(0x16f)](){const _0x5d92f4=_0x2fa915;this[_0x5d92f4(0x211)](this[_0x5d92f4(0x3c1)][_0x5d92f4(0x18c)][_0x5d92f4(0x447)](()=>{const _0x19c973=_0x5d92f4;var _0x4a8cb1;const _0x52c307=this[_0x19c973(0x3c1)][_0x19c973(0x2fd)]();let _0x1b794b=(_0x4a8cb1=this[_0x19c973(0x4e4)][_0x19c973(0x185)](_0x5f4aed))!=null?_0x4a8cb1:_0x17a5a6;_0x52c307 instanceof _0x4587e1[_0x19c973(0x1b9)]&&(_0x1b794b=_0x52c307['name']),document[_0x19c973(0x2c5)]=_0x1b794b;}));}};_0x4a666c=_0x437941([_0x5d147b(0x0,_0x4587e1[_0x2fa915(0x53b)]),_0x5d147b(0x1,_0x4587e1['IConfigService'])],_0x4a666c);var _0x228f97=Object[_0x2fa915(0x44e)],_0x5dcf6e=Object[_0x2fa915(0x569)],_0x35552d=(_0x42563c,_0x35bf59,_0x461d5b,_0x5bda14)=>{const _0x40ef50=_0x2fa915;for(var _0x360022=_0x5bda14>0x1?void 0x0:_0x5bda14?_0x5dcf6e(_0x35bf59,_0x461d5b):_0x35bf59,_0x207823=_0x42563c[_0x40ef50(0x4d9)]-0x1,_0x569011;_0x207823>=0x0;_0x207823--)(_0x569011=_0x42563c[_0x207823])&&(_0x360022=(_0x5bda14?_0x569011(_0x35bf59,_0x461d5b,_0x360022):_0x569011(_0x360022))||_0x360022);return _0x5bda14&&_0x360022&&_0x228f97(_0x35bf59,_0x461d5b,_0x360022),_0x360022;},_0xc151b7=(_0x4284c4,_0x447e91)=>(_0x121334,_0x16d91b)=>_0x447e91(_0x121334,_0x16d91b,_0x4284c4);let _0x4c6e52=class{constructor(_0x190dc6,_0x3bb541,_0x1f1c83){const _0x5cf1d0=_0x2fa915;this[_0x5cf1d0(0x4e4)]=_0x190dc6,this['_httpService']=_0x3bb541,this[_0x5cf1d0(0x441)]=_0x1f1c83,this[_0x5cf1d0(0x558)]();}[_0x2fa915(0x558)](){const _0x3e97ba=_0x2fa915;this[_0x3e97ba(0x62e)][_0x3e97ba(0x5ab)]({'priority':0x1,'interceptor':(_0x419930,_0x12d6c8)=>_0x12d6c8(_0x419930)['pipe'](_0x3eec93['concatMap'](async _0x498f97=>{const _0x40b1a1=_0x3e97ba,_0x5ece7f=_0x498f97;if(_0x5ece7f[_0x40b1a1(0x37c)]===0x191&&window[_0x40b1a1(0x2c8)](this[_0x40b1a1(0x441)]['t'](_0x40b1a1(0x5af)))){const _0x149c63=window[_0x40b1a1(0x344)](window[_0x40b1a1(0x26a)][_0x40b1a1(0x1cf)]);window['location'][_0x40b1a1(0x1cf)]=this['_getLoginPath']()+'?url='+_0x149c63;}return _0x5ece7f;}))});}['_getLoginPath'](){const _0x1c6b9e=_0x2fa915;var _0x42cdfa,_0x442e9a;const _0x3eb205=this[_0x1c6b9e(0x4e4)][_0x1c6b9e(0x185)](_0x456ae0),_0x36551c=this[_0x1c6b9e(0x4e4)][_0x1c6b9e(0x185)](_0x152bb8);return(_0x442e9a=(_0x42cdfa=_0x36551c==null?void 0x0:_0x36551c[_0x1c6b9e(0x4cb)])!=null?_0x42cdfa:_0x3eb205)!=null?_0x442e9a:_0x55ef78;}};_0x4c6e52=_0x35552d([_0xc151b7(0x0,_0x4587e1[_0x2fa915(0x628)]),_0xc151b7(0x1,_0x4587e1['Inject'](_0x108d2c[_0x2fa915(0x49f)])),_0xc151b7(0x2,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x1e2)]))],_0x4c6e52);var _0x472a66=Object['defineProperty'],_0x30c76a=Object[_0x2fa915(0x569)],_0x24a831=(_0x21b1de,_0x1e7b7b,_0x255eda,_0x171710)=>{const _0x269688=_0x2fa915;for(var _0x34053d=_0x171710>0x1?void 0x0:_0x171710?_0x30c76a(_0x1e7b7b,_0x255eda):_0x1e7b7b,_0x589d39=_0x21b1de[_0x269688(0x4d9)]-0x1,_0x3853aa;_0x589d39>=0x0;_0x589d39--)(_0x3853aa=_0x21b1de[_0x589d39])&&(_0x34053d=(_0x171710?_0x3853aa(_0x1e7b7b,_0x255eda,_0x34053d):_0x3853aa(_0x34053d))||_0x34053d);return _0x171710&&_0x34053d&&_0x472a66(_0x1e7b7b,_0x255eda,_0x34053d),_0x34053d;},_0x30a053=(_0x47b683,_0x3d913c)=>(_0x1e4bf4,_0x568a0a)=>_0x3d913c(_0x1e4bf4,_0x568a0a,_0x47b683);const _0x4594be=_0x2fa915(0x3f9),_0x525064=_0x2fa915(0x3b2);_0x539c7e[_0x2fa915(0x1c5)]=class extends _0x4587e1[_0x2fa915(0x552)]{constructor(_0x2cca34,_0x3b8b0c){const _0xb47823=_0x2fa915;super(),this[_0xb47823(0x3e7)]=_0x2cca34,this[_0xb47823(0x4e4)]=_0x3b8b0c,this[_0xb47823(0x1ab)]();}[_0x2fa915(0x1ab)](){const _0x3dbdc5=_0x2fa915,_0x34a39a=this;this[_0x3dbdc5(0x211)](this[_0x3dbdc5(0x3e7)][_0x3dbdc5(0x5ab)]({'priority':0x3e7,'interceptor':_0x108d2c[_0x3dbdc5(0x30b)]({'isMatch'(_0x5419c9){const _0x4667dd=_0x3dbdc5;var _0x357f71;if(_0x5419c9['method']===_0x4667dd(0x1ee)&&((_0x357f71=_0x5419c9[_0x4667dd(0x1f7)])!=null&&_0x357f71[_0x4667dd(0x2e6)])){const {objectID:_0x433a9f,objectType:_0x1baa5c}=_0x5419c9[_0x4667dd(0x1f7)]['body']||{};if(!_0x433a9f||_0x1baa5c===void 0x0)return!0x1;const _0x56b795=_0x34a39a['_getAPIPrefixPath']()+'/'+_0x1baa5c+_0x4667dd(0x1d6)+_0x433a9f+_0x4667dd(0x250);if(_0x5419c9[_0x4667dd(0x1a6)]===_0x56b795)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x39ead7){const _0x4ccc90=_0x3dbdc5;var _0x4f40c4;return(_0x4f40c4=_0x39ead7[_0x4ccc90(0x1f7)])==null?void 0x0:_0x4f40c4['body'];},'mergeParamsToRequest'(_0x4abfea,_0x3e44c7){const _0x5a89eb=_0x3dbdc5,_0x33c95c=_0x34a39a[_0x5a89eb(0x1c8)]()+'/-/object/-/batch_allowed',_0xa9fba7=_0x4abfea[_0x5a89eb(0x4f7)]((_0x1a0281,_0xee875f)=>{const _0x591d88=_0x5a89eb,{unitID:_0x9170cc,objectID:_0x47be26,objectType:_0xa24006,actions:_0x59a947}=_0xee875f;return _0x1a0281[_0x9170cc]||(_0x1a0281[_0x9170cc]={}),_0x1a0281[_0x9170cc][_0x47be26]||(_0x1a0281[_0x9170cc][_0x47be26]={'objectID':_0x47be26,'objectType':_0xa24006,'actions':[]}),_0x1a0281[_0x9170cc][_0x47be26][_0x591d88(0x515)]['push'](..._0x59a947),_0x1a0281;},{}),_0x29f57b=[];for(const _0x326980 in _0xa9fba7)for(const _0x2aeb18 in _0xa9fba7[_0x326980]){const {actions:_0x114d55,objectType:_0x14246c}=_0xa9fba7[_0x326980][_0x2aeb18],_0x5ca455=[...new Set(_0x114d55)];_0x29f57b[_0x5a89eb(0x367)]({'unitID':_0x326980,'objectID':_0x2aeb18,'objectType':_0x14246c,'actions':_0x5ca455});}return new _0x108d2c[(_0x5a89eb(0x4bf))](_0x5a89eb(0x1ee),_0x33c95c,{'headers':_0x3e44c7[_0x5a89eb(0x5e7)],'withCredentials':_0x3e44c7['withCredentials'],'responseType':_0x3e44c7[_0x5a89eb(0x238)],'body':{'requests':_0x29f57b}});}},{'distributeResult'(_0x8aa20b,_0x3f9a18){const _0x4ad3ec=_0x3dbdc5,{objectActions:_0x35d324}=_0x8aa20b;return _0x3f9a18[_0x4ad3ec(0x252)](_0x2e4002=>{const _0x12d4cf=_0x4ad3ec,{unitID:_0x534ca3,objectID:_0x257ae3,actions:_0x4d5fc3}=_0x2e4002,_0x4ade68=_0x35d324['find'](_0x360434=>_0x360434[_0x12d4cf(0x2d1)]===_0x534ca3&&_0x360434[_0x12d4cf(0x3f2)]===_0x257ae3),_0x528278=_0x4d5fc3['map'](_0x581f0a=>_0x4ade68==null?void 0x0:_0x4ade68[_0x12d4cf(0x515)][_0x12d4cf(0x545)](_0x1bf37d=>_0x1bf37d[_0x12d4cf(0x51c)]===_0x581f0a))[_0x12d4cf(0x333)](_0x1216d6=>!!_0x1216d6);return{'config':_0x2e4002,'result':{'actions':_0x528278,'error':_0x8aa20b[_0x12d4cf(0x3a9)]}};});}})}));}['_getAPIPrefixPath'](){const _0x15c3e7=_0x2fa915;var _0x276544,_0x3f60a4;const _0x43101d=this[_0x15c3e7(0x4e4)]['getConfig'](_0x4594be),_0x90dd7=this[_0x15c3e7(0x4e4)][_0x15c3e7(0x185)](_0x152bb8);return(_0x3f60a4=(_0x276544=_0x90dd7==null?void 0x0:_0x90dd7[_0x15c3e7(0x213)])!=null?_0x276544:_0x43101d)!=null?_0x3f60a4:_0x525064;}async[_0x2fa915(0x5e5)](_0x50805c){const _0x3324f8=_0x2fa915,_0x2b6f3c=this[_0x3324f8(0x1c8)]()+'/'+_0x50805c[_0x3324f8(0x584)]+_0x3324f8(0x3a1);return(await this[_0x3324f8(0x3e7)][_0x3324f8(0x321)](_0x2b6f3c,{'body':_0x50805c}))['body']['objectID']||'';}async[_0x2fa915(0x268)](_0x219612){const _0xfc61f7=_0x2fa915,_0x59aa8d=this[_0xfc61f7(0x1c8)]()+_0xfc61f7(0x46e);return(await this[_0xfc61f7(0x3e7)][_0xfc61f7(0x321)](_0x59aa8d,{'body':_0x219612}))[_0xfc61f7(0x2e6)][_0xfc61f7(0x39d)];}async[_0x2fa915(0x3ab)](_0x125bb4){const _0x401fd7=_0x2fa915,_0xd11e5a=this[_0x401fd7(0x1c8)]()+'/'+_0x125bb4['objectType']+_0x401fd7(0x1d6)+_0x125bb4['objectID'];await this[_0x401fd7(0x3e7)]['put'](_0xd11e5a,{'body':_0x125bb4});}async['allowed'](_0xa26971){const _0x307cf5=_0x2fa915,_0x567969=this['_getAPIPrefixPath']()+'/'+_0xa26971[_0x307cf5(0x584)]+_0x307cf5(0x1d6)+_0xa26971[_0x307cf5(0x3f2)]+_0x307cf5(0x250);return(await this[_0x307cf5(0x3e7)][_0x307cf5(0x321)](_0x567969,{'body':_0xa26971}))[_0x307cf5(0x2e6)][_0x307cf5(0x515)];}async['batchAllowed'](_0xfef7d4){const _0x3734a7=_0x2fa915,_0x297314=this[_0x3734a7(0x1c8)]()+_0x3734a7(0x49c);return(await this['_HTTPService'][_0x3734a7(0x321)](_0x297314,{'body':{'requests':_0xfef7d4}}))['body'][_0x3734a7(0x405)];}async[_0x2fa915(0x61d)](_0x2fb60b){const _0x31deb5=_0x2fa915,_0x310837=this[_0x31deb5(0x1c8)]()+'/'+_0x2fb60b[_0x31deb5(0x584)]+'/role',_0x3fcf6c=await this[_0x31deb5(0x3e7)]['post'](_0x310837,{'body':_0x2fb60b});return{'roles':_0x3fcf6c[_0x31deb5(0x2e6)]['roles'],'actions':_0x3fcf6c[_0x31deb5(0x2e6)][_0x31deb5(0x515)]};}async[_0x2fa915(0x41f)](_0x407fcc){const _0x2cdf95=_0x2fa915,_0x5aeaf6=this[_0x2cdf95(0x1c8)]()+_0x2cdf95(0x338);await this['_HTTPService'][_0x2cdf95(0x4e2)](_0x5aeaf6,{'params':{'collaboratorID':_0x407fcc[_0x2cdf95(0x445)],'objectID':_0x407fcc['objectID'],'unitID':_0x407fcc[_0x2cdf95(0x2d1)]}});}async[_0x2fa915(0x633)](_0x592f5c){const _0x305cc7=_0x2fa915,_0x495bf0=this[_0x305cc7(0x1c8)]()+_0x305cc7(0x338);await this['_HTTPService'][_0x305cc7(0x1fd)](_0x495bf0,{'body':_0x592f5c});}async[_0x2fa915(0x236)](_0x5495c2){const _0x8637b7=_0x2fa915,_0x15280c=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x8637b7(0x3e7)][_0x8637b7(0x321)](_0x15280c,{'body':_0x5495c2});}async[_0x2fa915(0x1b6)](_0x157109){const _0x156e92=_0x2fa915,_0x304452=this[_0x156e92(0x1c8)]()+_0x156e92(0x338);return(await this[_0x156e92(0x3e7)][_0x156e92(0x4a0)](_0x304452,{'params':{'objectID':_0x157109[_0x156e92(0x3f2)],'unitID':_0x157109[_0x156e92(0x2d1)]}}))[_0x156e92(0x2e6)][_0x156e92(0x34f)];}async['putCollaborators'](_0x5d8d0e){const _0x113d75=_0x2fa915,_0x46cb9b=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x113d75(0x3e7)]['put'](_0x46cb9b,{'body':_0x5d8d0e});}},_0x539c7e[_0x2fa915(0x1c5)]=_0x24a831([_0x30a053(0x0,_0x4587e1[_0x2fa915(0x42b)](_0x108d2c['HTTPService'])),_0x30a053(0x1,_0x4587e1['Inject'](_0x4587e1[_0x2fa915(0x628)]))],_0x539c7e['AuthzIoHttpService']);var _0x1b376e={'exports':{}};function _0x545d15(_0x3d6534){const _0x57b4f3=_0x2fa915;throw new Error(_0x57b4f3(0x214)+_0x3d6534+_0x57b4f3(0x5ba));}var _0x144296={'exports':{}},_0x375615;function _0x5ce923(){const _0xffb2ed=_0x2fa915;return _0x375615||(_0x375615=0x1,function(_0x373a6c,_0x2ec9fb){(function(_0x4a7837,_0x58422a){_0x373a6c['exports']=_0x58422a();}(_0x46cbc6,function(){var _0x1776af=_0x1776af||function(_0x1df658,_0x1c843a){const _0x594f2d=_0x5275;var _0x5b8486;if(typeof window<'u'&&window[_0x594f2d(0x5b7)]&&(_0x5b8486=window[_0x594f2d(0x5b7)]),typeof self<'u'&&self[_0x594f2d(0x5b7)]&&(_0x5b8486=self[_0x594f2d(0x5b7)]),typeof globalThis<'u'&&globalThis[_0x594f2d(0x5b7)]&&(_0x5b8486=globalThis['crypto']),!_0x5b8486&&typeof window<'u'&&window['msCrypto']&&(_0x5b8486=window['msCrypto']),!_0x5b8486&&typeof _0x46cbc6<'u'&&_0x46cbc6['crypto']&&(_0x5b8486=_0x46cbc6[_0x594f2d(0x5b7)]),!_0x5b8486&&typeof _0x545d15==_0x594f2d(0x2e3))try{_0x5b8486=require('crypto');}catch{}var _0x5cfb8f=function(){const _0x7b61b2=_0x594f2d;if(_0x5b8486){if(typeof _0x5b8486[_0x7b61b2(0x585)]==_0x7b61b2(0x2e3))try{return _0x5b8486[_0x7b61b2(0x585)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5b8486[_0x7b61b2(0x58e)]==_0x7b61b2(0x2e3))try{return _0x5b8486['randomBytes'](0x4)[_0x7b61b2(0x40a)]();}catch{}}throw new Error(_0x7b61b2(0x279));},_0x44ba17=Object[_0x594f2d(0x5e5)]||(function(){function _0x534325(){}return function(_0xbbb072){const _0x1a8987=_0x5275;var _0x54cd77;return _0x534325[_0x1a8987(0x62d)]=_0xbbb072,_0x54cd77=new _0x534325(),_0x534325[_0x1a8987(0x62d)]=null,_0x54cd77;};}()),_0x58e63b={},_0x76329=_0x58e63b[_0x594f2d(0x33e)]={},_0x34b640=_0x76329[_0x594f2d(0x50e)]=(function(){return{'extend':function(_0x38e896){const _0x539288=_0x5275;var _0x2aabe1=_0x44ba17(this);return _0x38e896&&_0x2aabe1[_0x539288(0x566)](_0x38e896),(!_0x2aabe1[_0x539288(0x507)]('init')||this[_0x539288(0x558)]===_0x2aabe1['init'])&&(_0x2aabe1[_0x539288(0x558)]=function(){const _0x222e35=_0x539288;_0x2aabe1[_0x222e35(0x5bd)][_0x222e35(0x558)][_0x222e35(0x54c)](this,arguments);}),_0x2aabe1[_0x539288(0x558)][_0x539288(0x62d)]=_0x2aabe1,_0x2aabe1['$super']=this,_0x2aabe1;},'create':function(){const _0x32306c=_0x5275;var _0x4f6a8c=this[_0x32306c(0x44a)]();return _0x4f6a8c[_0x32306c(0x558)][_0x32306c(0x54c)](_0x4f6a8c,arguments),_0x4f6a8c;},'init':function(){},'mixIn':function(_0xbbbb8c){const _0x5adff4=_0x5275;for(var _0x2d42f9 in _0xbbbb8c)_0xbbbb8c['hasOwnProperty'](_0x2d42f9)&&(this[_0x2d42f9]=_0xbbbb8c[_0x2d42f9]);_0xbbbb8c['hasOwnProperty']('toString')&&(this[_0x5adff4(0x38a)]=_0xbbbb8c[_0x5adff4(0x38a)]);},'clone':function(){const _0x1e0022=_0x5275;return this[_0x1e0022(0x558)][_0x1e0022(0x62d)][_0x1e0022(0x44a)](this);}};}()),_0x528a13=_0x76329['WordArray']=_0x34b640['extend']({'init':function(_0x20c7b7,_0x5b1ebf){const _0x168927=_0x594f2d;_0x20c7b7=this[_0x168927(0x1e6)]=_0x20c7b7||[],_0x5b1ebf!=_0x1c843a?this[_0x168927(0x396)]=_0x5b1ebf:this[_0x168927(0x396)]=_0x20c7b7['length']*0x4;},'toString':function(_0x496658){const _0x5f3311=_0x594f2d;return(_0x496658||_0x2cf854)[_0x5f3311(0x621)](this);},'concat':function(_0x3f5f44){const _0x46887b=_0x594f2d;var _0x313ca9=this[_0x46887b(0x1e6)],_0x6993c6=_0x3f5f44[_0x46887b(0x1e6)],_0x12843e=this[_0x46887b(0x396)],_0x481d85=_0x3f5f44[_0x46887b(0x396)];if(this[_0x46887b(0x2f9)](),_0x12843e%0x4)for(var _0x3ccc62=0x0;_0x3ccc62<_0x481d85;_0x3ccc62++){var _0x3a71fa=_0x6993c6[_0x3ccc62>>>0x2]>>>0x18-_0x3ccc62%0x4*0x8&0xff;_0x313ca9[_0x12843e+_0x3ccc62>>>0x2]|=_0x3a71fa<<0x18-(_0x12843e+_0x3ccc62)%0x4*0x8;}else{for(var _0x52ea32=0x0;_0x52ea32<_0x481d85;_0x52ea32+=0x4)_0x313ca9[_0x12843e+_0x52ea32>>>0x2]=_0x6993c6[_0x52ea32>>>0x2];}return this[_0x46887b(0x396)]+=_0x481d85,this;},'clamp':function(){const _0x5c09dd=_0x594f2d;var _0x2c2d4b=this[_0x5c09dd(0x1e6)],_0x2eaa9d=this[_0x5c09dd(0x396)];_0x2c2d4b[_0x2eaa9d>>>0x2]&=0xffffffff<<0x20-_0x2eaa9d%0x4*0x8,_0x2c2d4b[_0x5c09dd(0x4d9)]=_0x1df658[_0x5c09dd(0x49a)](_0x2eaa9d/0x4);},'clone':function(){const _0x45b218=_0x594f2d;var _0x515449=_0x34b640[_0x45b218(0x230)][_0x45b218(0x246)](this);return _0x515449['words']=this['words']['slice'](0x0),_0x515449;},'random':function(_0x50ac20){for(var _0x580d56=[],_0x1c376d=0x0;_0x1c376d<_0x50ac20;_0x1c376d+=0x4)_0x580d56['push'](_0x5cfb8f());return new _0x528a13['init'](_0x580d56,_0x50ac20);}}),_0x4e6e3b=_0x58e63b[_0x594f2d(0x297)]={},_0x2cf854=_0x4e6e3b[_0x594f2d(0x2a5)]={'stringify':function(_0x14be9b){const _0x352804=_0x594f2d;for(var _0x873eb0=_0x14be9b[_0x352804(0x1e6)],_0x336a76=_0x14be9b[_0x352804(0x396)],_0x2ab0d9=[],_0x12146b=0x0;_0x12146b<_0x336a76;_0x12146b++){var _0x4e6871=_0x873eb0[_0x12146b>>>0x2]>>>0x18-_0x12146b%0x4*0x8&0xff;_0x2ab0d9[_0x352804(0x367)]((_0x4e6871>>>0x4)['toString'](0x10)),_0x2ab0d9[_0x352804(0x367)]((_0x4e6871&0xf)['toString'](0x10));}return _0x2ab0d9[_0x352804(0x4ba)]('');},'parse':function(_0x5b5f75){const _0x2eabe3=_0x594f2d;for(var _0x334305=_0x5b5f75[_0x2eabe3(0x4d9)],_0x19f67a=[],_0x1e40f9=0x0;_0x1e40f9<_0x334305;_0x1e40f9+=0x2)_0x19f67a[_0x1e40f9>>>0x3]|=parseInt(_0x5b5f75['substr'](_0x1e40f9,0x2),0x10)<<0x18-_0x1e40f9%0x8*0x4;return new _0x528a13[(_0x2eabe3(0x558))](_0x19f67a,_0x334305/0x2);}},_0x54a9cc=_0x4e6e3b['Latin1']={'stringify':function(_0x20571c){const _0x1597b3=_0x594f2d;for(var _0x430c67=_0x20571c[_0x1597b3(0x1e6)],_0x26e4e4=_0x20571c['sigBytes'],_0x4a9615=[],_0x3b7b24=0x0;_0x3b7b24<_0x26e4e4;_0x3b7b24++){var _0x5cc51c=_0x430c67[_0x3b7b24>>>0x2]>>>0x18-_0x3b7b24%0x4*0x8&0xff;_0x4a9615['push'](String[_0x1597b3(0x1b0)](_0x5cc51c));}return _0x4a9615[_0x1597b3(0x4ba)]('');},'parse':function(_0x1b9864){const _0x52a2a8=_0x594f2d;for(var _0x429483=_0x1b9864[_0x52a2a8(0x4d9)],_0xe3bed5=[],_0x4a99a6=0x0;_0x4a99a6<_0x429483;_0x4a99a6++)_0xe3bed5[_0x4a99a6>>>0x2]|=(_0x1b9864['charCodeAt'](_0x4a99a6)&0xff)<<0x18-_0x4a99a6%0x4*0x8;return new _0x528a13[(_0x52a2a8(0x558))](_0xe3bed5,_0x429483);}},_0x257c49=_0x4e6e3b[_0x594f2d(0x36a)]={'stringify':function(_0x462add){const _0x262ae3=_0x594f2d;try{return decodeURIComponent(escape(_0x54a9cc['stringify'](_0x462add)));}catch{throw new Error(_0x262ae3(0x4b4));}},'parse':function(_0x144f8d){const _0x143c9e=_0x594f2d;return _0x54a9cc[_0x143c9e(0x3bf)](unescape(encodeURIComponent(_0x144f8d)));}},_0x43a5f7=_0x76329[_0x594f2d(0x234)]=_0x34b640[_0x594f2d(0x44a)]({'reset':function(){const _0xebb15f=_0x594f2d;this[_0xebb15f(0x4fc)]=new _0x528a13[(_0xebb15f(0x558))](),this['_nDataBytes']=0x0;},'_append':function(_0x3a47eb){const _0x559591=_0x594f2d;typeof _0x3a47eb==_0x559591(0x241)&&(_0x3a47eb=_0x257c49[_0x559591(0x3bf)](_0x3a47eb)),this[_0x559591(0x4fc)][_0x559591(0x227)](_0x3a47eb),this[_0x559591(0x613)]+=_0x3a47eb[_0x559591(0x396)];},'_process':function(_0x30d1f1){const _0x18352f=_0x594f2d;var _0x4ea041,_0x48436d=this['_data'],_0x49a2fe=_0x48436d[_0x18352f(0x1e6)],_0x5b109a=_0x48436d[_0x18352f(0x396)],_0x3b5bf7=this[_0x18352f(0x414)],_0x1de42a=_0x3b5bf7*0x4,_0x8ffd8=_0x5b109a/_0x1de42a;_0x30d1f1?_0x8ffd8=_0x1df658[_0x18352f(0x49a)](_0x8ffd8):_0x8ffd8=_0x1df658[_0x18352f(0x433)]((_0x8ffd8|0x0)-this[_0x18352f(0x1df)],0x0);var _0x423b42=_0x8ffd8*_0x3b5bf7,_0x45d605=_0x1df658[_0x18352f(0x5bc)](_0x423b42*0x4,_0x5b109a);if(_0x423b42){for(var _0x230ca8=0x0;_0x230ca8<_0x423b42;_0x230ca8+=_0x3b5bf7)this[_0x18352f(0x464)](_0x49a2fe,_0x230ca8);_0x4ea041=_0x49a2fe['splice'](0x0,_0x423b42),_0x48436d['sigBytes']-=_0x45d605;}return new _0x528a13['init'](_0x4ea041,_0x45d605);},'clone':function(){const _0x4cfb21=_0x594f2d;var _0x198181=_0x34b640[_0x4cfb21(0x230)]['call'](this);return _0x198181[_0x4cfb21(0x4fc)]=this[_0x4cfb21(0x4fc)]['clone'](),_0x198181;},'_minBufferSize':0x0});_0x76329[_0x594f2d(0x1f8)]=_0x43a5f7[_0x594f2d(0x44a)]({'cfg':_0x34b640[_0x594f2d(0x44a)](),'init':function(_0x250663){const _0x513321=_0x594f2d;this[_0x513321(0x353)]=this[_0x513321(0x353)][_0x513321(0x44a)](_0x250663),this[_0x513321(0x233)]();},'reset':function(){const _0xedc5c9=_0x594f2d;_0x43a5f7[_0xedc5c9(0x233)][_0xedc5c9(0x246)](this),this[_0xedc5c9(0x607)]();},'update':function(_0x4112ab){const _0x3f2817=_0x594f2d;return this[_0x3f2817(0x1e0)](_0x4112ab),this['_process'](),this;},'finalize':function(_0x3fd799){const _0x57f2b7=_0x594f2d;_0x3fd799&&this[_0x57f2b7(0x1e0)](_0x3fd799);var _0x1f3ab8=this[_0x57f2b7(0x278)]();return _0x1f3ab8;},'blockSize':0x10,'_createHelper':function(_0x17ac50){return function(_0x5025ff,_0x3fe315){const _0x275ee9=_0x5275;return new _0x17ac50['init'](_0x3fe315)[_0x275ee9(0x277)](_0x5025ff);};},'_createHmacHelper':function(_0x4a6210){return function(_0x5806fc,_0x1d9244){const _0x7655c5=_0x5275;return new _0xb547f8[(_0x7655c5(0x302))][(_0x7655c5(0x558))](_0x4a6210,_0x1d9244)[_0x7655c5(0x277)](_0x5806fc);};}});var _0xb547f8=_0x58e63b[_0x594f2d(0x4dd)]={};return _0x58e63b;}(Math);return _0x1776af;}));}(_0x144296)),_0x144296[_0xffb2ed(0x3a4)];}var _0x1c9bc4={'exports':{}},_0x50dd25;function _0x235b13(){const _0x1f54e2=_0x2fa915;return _0x50dd25||(_0x50dd25=0x1,function(_0x1ce4d1,_0x50c7f9){(function(_0x38a44a,_0x28d853){const _0x22d475=_0x5275;_0x1ce4d1[_0x22d475(0x3a4)]=_0x28d853(_0x5ce923());}(_0x46cbc6,function(_0x469a53){const _0x5791fc=_0x5275;return(function(){const _0x519e0d=_0x5275;var _0x370017=_0x469a53,_0x394c18=_0x370017['lib'],_0x27c388=_0x394c18['WordArray'],_0x18ae1a=_0x370017[_0x519e0d(0x297)];_0x18ae1a['Base64']={'stringify':function(_0x438b14){const _0x256a99=_0x519e0d;var _0x264f1f=_0x438b14['words'],_0x2b8cfe=_0x438b14[_0x256a99(0x396)],_0xf0982=this['_map'];_0x438b14[_0x256a99(0x2f9)]();for(var _0x42be10=[],_0x1424cd=0x0;_0x1424cd<_0x2b8cfe;_0x1424cd+=0x3)for(var _0x194e1d=_0x264f1f[_0x1424cd>>>0x2]>>>0x18-_0x1424cd%0x4*0x8&0xff,_0x4043d0=_0x264f1f[_0x1424cd+0x1>>>0x2]>>>0x18-(_0x1424cd+0x1)%0x4*0x8&0xff,_0x13063f=_0x264f1f[_0x1424cd+0x2>>>0x2]>>>0x18-(_0x1424cd+0x2)%0x4*0x8&0xff,_0xa0c6cd=_0x194e1d<<0x10|_0x4043d0<<0x8|_0x13063f,_0xce360c=0x0;_0xce360c<0x4&&_0x1424cd+_0xce360c*0.75<_0x2b8cfe;_0xce360c++)_0x42be10['push'](_0xf0982[_0x256a99(0x45c)](_0xa0c6cd>>>0x6*(0x3-_0xce360c)&0x3f));var _0x77ffb=_0xf0982[_0x256a99(0x45c)](0x40);if(_0x77ffb){for(;_0x42be10[_0x256a99(0x4d9)]%0x4;)_0x42be10[_0x256a99(0x367)](_0x77ffb);}return _0x42be10[_0x256a99(0x4ba)]('');},'parse':function(_0xbc87b0){const _0x23a312=_0x519e0d;var _0x3c1213=_0xbc87b0['length'],_0x42db40=this[_0x23a312(0x245)],_0xe05172=this[_0x23a312(0x4c1)];if(!_0xe05172){_0xe05172=this[_0x23a312(0x4c1)]=[];for(var _0x52e8e6=0x0;_0x52e8e6<_0x42db40[_0x23a312(0x4d9)];_0x52e8e6++)_0xe05172[_0x42db40[_0x23a312(0x37a)](_0x52e8e6)]=_0x52e8e6;}var _0x22de93=_0x42db40['charAt'](0x40);if(_0x22de93){var _0x5101e1=_0xbc87b0[_0x23a312(0x1dc)](_0x22de93);_0x5101e1!==-0x1&&(_0x3c1213=_0x5101e1);}return _0x3c4f8f(_0xbc87b0,_0x3c1213,_0xe05172);},'_map':_0x519e0d(0x5e8)};function _0x3c4f8f(_0x190911,_0x1c3d4c,_0x37ad93){const _0x2569e8=_0x519e0d;for(var _0x4586b4=[],_0x5aa11f=0x0,_0x2b047c=0x0;_0x2b047c<_0x1c3d4c;_0x2b047c++)if(_0x2b047c%0x4){var _0x5da855=_0x37ad93[_0x190911[_0x2569e8(0x37a)](_0x2b047c-0x1)]<<_0x2b047c%0x4*0x2,_0x4905c9=_0x37ad93[_0x190911[_0x2569e8(0x37a)](_0x2b047c)]>>>0x6-_0x2b047c%0x4*0x2,_0x2c1f12=_0x5da855|_0x4905c9;_0x4586b4[_0x5aa11f>>>0x2]|=_0x2c1f12<<0x18-_0x5aa11f%0x4*0x8,_0x5aa11f++;}return _0x27c388[_0x2569e8(0x5e5)](_0x4586b4,_0x5aa11f);}}()),_0x469a53['enc'][_0x5791fc(0x1cb)];}));}(_0x1c9bc4)),_0x1c9bc4[_0x1f54e2(0x3a4)];}var _0xcd9ab0={'exports':{}},_0x4b5c59;function _0x12bb34(){const _0x3e0e25=_0x2fa915;return _0x4b5c59||(_0x4b5c59=0x1,function(_0x50213f,_0x59b4d1){(function(_0x3e8342,_0x49361d){const _0x45e09f=_0x5275;_0x50213f[_0x45e09f(0x3a4)]=_0x49361d(_0x5ce923());}(_0x46cbc6,function(_0x5da221){const _0x13a716=_0x5275;return function(_0x2e351e){const _0x125fa3=_0x5275;var _0x2a579c=_0x5da221,_0x694c7b=_0x2a579c[_0x125fa3(0x33e)],_0x582889=_0x694c7b[_0x125fa3(0x232)],_0x369171=_0x694c7b[_0x125fa3(0x1f8)],_0xb7d8c7=_0x2a579c['algo'],_0x1f40ab=[];(function(){const _0x232be2=_0x125fa3;for(var _0x2b83da=0x0;_0x2b83da<0x40;_0x2b83da++)_0x1f40ab[_0x2b83da]=_0x2e351e[_0x232be2(0x29f)](_0x2e351e[_0x232be2(0x5cc)](_0x2b83da+0x1))*0x100000000|0x0;}());var _0x35cca5=_0xb7d8c7['MD5']=_0x369171[_0x125fa3(0x44a)]({'_doReset':function(){this['_hash']=new _0x582889['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4eaed2,_0xae8cab){const _0x12087d=_0x125fa3;for(var _0x489cf0=0x0;_0x489cf0<0x10;_0x489cf0++){var _0x1d2119=_0xae8cab+_0x489cf0,_0x4aa599=_0x4eaed2[_0x1d2119];_0x4eaed2[_0x1d2119]=(_0x4aa599<<0x8|_0x4aa599>>>0x18)&0xff00ff|(_0x4aa599<<0x18|_0x4aa599>>>0x8)&0xff00ff00;}var _0x54fe01=this[_0x12087d(0x253)][_0x12087d(0x1e6)],_0x4a05a5=_0x4eaed2[_0xae8cab+0x0],_0x5b217c=_0x4eaed2[_0xae8cab+0x1],_0x323be7=_0x4eaed2[_0xae8cab+0x2],_0x3af8be=_0x4eaed2[_0xae8cab+0x3],_0x180863=_0x4eaed2[_0xae8cab+0x4],_0x16212b=_0x4eaed2[_0xae8cab+0x5],_0x46de68=_0x4eaed2[_0xae8cab+0x6],_0x8fe88b=_0x4eaed2[_0xae8cab+0x7],_0x51e417=_0x4eaed2[_0xae8cab+0x8],_0x4dfd6a=_0x4eaed2[_0xae8cab+0x9],_0xf1e70a=_0x4eaed2[_0xae8cab+0xa],_0x49c7cf=_0x4eaed2[_0xae8cab+0xb],_0x195b6a=_0x4eaed2[_0xae8cab+0xc],_0xef0cc=_0x4eaed2[_0xae8cab+0xd],_0x535766=_0x4eaed2[_0xae8cab+0xe],_0x31f527=_0x4eaed2[_0xae8cab+0xf],_0x1191c6=_0x54fe01[0x0],_0x48e650=_0x54fe01[0x1],_0x59f9e4=_0x54fe01[0x2],_0x438d55=_0x54fe01[0x3];_0x1191c6=_0x2bc214(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x4a05a5,0x7,_0x1f40ab[0x0]),_0x438d55=_0x2bc214(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x5b217c,0xc,_0x1f40ab[0x1]),_0x59f9e4=_0x2bc214(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x323be7,0x11,_0x1f40ab[0x2]),_0x48e650=_0x2bc214(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x3af8be,0x16,_0x1f40ab[0x3]),_0x1191c6=_0x2bc214(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x180863,0x7,_0x1f40ab[0x4]),_0x438d55=_0x2bc214(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x16212b,0xc,_0x1f40ab[0x5]),_0x59f9e4=_0x2bc214(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x46de68,0x11,_0x1f40ab[0x6]),_0x48e650=_0x2bc214(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x8fe88b,0x16,_0x1f40ab[0x7]),_0x1191c6=_0x2bc214(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x51e417,0x7,_0x1f40ab[0x8]),_0x438d55=_0x2bc214(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x4dfd6a,0xc,_0x1f40ab[0x9]),_0x59f9e4=_0x2bc214(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0xf1e70a,0x11,_0x1f40ab[0xa]),_0x48e650=_0x2bc214(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x49c7cf,0x16,_0x1f40ab[0xb]),_0x1191c6=_0x2bc214(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x195b6a,0x7,_0x1f40ab[0xc]),_0x438d55=_0x2bc214(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0xef0cc,0xc,_0x1f40ab[0xd]),_0x59f9e4=_0x2bc214(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x535766,0x11,_0x1f40ab[0xe]),_0x48e650=_0x2bc214(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x31f527,0x16,_0x1f40ab[0xf]),_0x1191c6=_0x1a7a11(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x5b217c,0x5,_0x1f40ab[0x10]),_0x438d55=_0x1a7a11(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x46de68,0x9,_0x1f40ab[0x11]),_0x59f9e4=_0x1a7a11(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x49c7cf,0xe,_0x1f40ab[0x12]),_0x48e650=_0x1a7a11(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x4a05a5,0x14,_0x1f40ab[0x13]),_0x1191c6=_0x1a7a11(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x16212b,0x5,_0x1f40ab[0x14]),_0x438d55=_0x1a7a11(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0xf1e70a,0x9,_0x1f40ab[0x15]),_0x59f9e4=_0x1a7a11(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x31f527,0xe,_0x1f40ab[0x16]),_0x48e650=_0x1a7a11(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x180863,0x14,_0x1f40ab[0x17]),_0x1191c6=_0x1a7a11(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x4dfd6a,0x5,_0x1f40ab[0x18]),_0x438d55=_0x1a7a11(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x535766,0x9,_0x1f40ab[0x19]),_0x59f9e4=_0x1a7a11(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x3af8be,0xe,_0x1f40ab[0x1a]),_0x48e650=_0x1a7a11(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x51e417,0x14,_0x1f40ab[0x1b]),_0x1191c6=_0x1a7a11(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0xef0cc,0x5,_0x1f40ab[0x1c]),_0x438d55=_0x1a7a11(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x323be7,0x9,_0x1f40ab[0x1d]),_0x59f9e4=_0x1a7a11(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x8fe88b,0xe,_0x1f40ab[0x1e]),_0x48e650=_0x1a7a11(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x195b6a,0x14,_0x1f40ab[0x1f]),_0x1191c6=_0x230ac0(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x16212b,0x4,_0x1f40ab[0x20]),_0x438d55=_0x230ac0(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x51e417,0xb,_0x1f40ab[0x21]),_0x59f9e4=_0x230ac0(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x49c7cf,0x10,_0x1f40ab[0x22]),_0x48e650=_0x230ac0(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x535766,0x17,_0x1f40ab[0x23]),_0x1191c6=_0x230ac0(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x5b217c,0x4,_0x1f40ab[0x24]),_0x438d55=_0x230ac0(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x180863,0xb,_0x1f40ab[0x25]),_0x59f9e4=_0x230ac0(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x8fe88b,0x10,_0x1f40ab[0x26]),_0x48e650=_0x230ac0(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0xf1e70a,0x17,_0x1f40ab[0x27]),_0x1191c6=_0x230ac0(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0xef0cc,0x4,_0x1f40ab[0x28]),_0x438d55=_0x230ac0(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x4a05a5,0xb,_0x1f40ab[0x29]),_0x59f9e4=_0x230ac0(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x3af8be,0x10,_0x1f40ab[0x2a]),_0x48e650=_0x230ac0(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x46de68,0x17,_0x1f40ab[0x2b]),_0x1191c6=_0x230ac0(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x4dfd6a,0x4,_0x1f40ab[0x2c]),_0x438d55=_0x230ac0(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x195b6a,0xb,_0x1f40ab[0x2d]),_0x59f9e4=_0x230ac0(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x31f527,0x10,_0x1f40ab[0x2e]),_0x48e650=_0x230ac0(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x323be7,0x17,_0x1f40ab[0x2f]),_0x1191c6=_0x3f86af(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x4a05a5,0x6,_0x1f40ab[0x30]),_0x438d55=_0x3f86af(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x8fe88b,0xa,_0x1f40ab[0x31]),_0x59f9e4=_0x3f86af(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x535766,0xf,_0x1f40ab[0x32]),_0x48e650=_0x3f86af(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x16212b,0x15,_0x1f40ab[0x33]),_0x1191c6=_0x3f86af(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x195b6a,0x6,_0x1f40ab[0x34]),_0x438d55=_0x3f86af(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x3af8be,0xa,_0x1f40ab[0x35]),_0x59f9e4=_0x3f86af(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0xf1e70a,0xf,_0x1f40ab[0x36]),_0x48e650=_0x3f86af(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x5b217c,0x15,_0x1f40ab[0x37]),_0x1191c6=_0x3f86af(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x51e417,0x6,_0x1f40ab[0x38]),_0x438d55=_0x3f86af(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x31f527,0xa,_0x1f40ab[0x39]),_0x59f9e4=_0x3f86af(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x46de68,0xf,_0x1f40ab[0x3a]),_0x48e650=_0x3f86af(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0xef0cc,0x15,_0x1f40ab[0x3b]),_0x1191c6=_0x3f86af(_0x1191c6,_0x48e650,_0x59f9e4,_0x438d55,_0x180863,0x6,_0x1f40ab[0x3c]),_0x438d55=_0x3f86af(_0x438d55,_0x1191c6,_0x48e650,_0x59f9e4,_0x49c7cf,0xa,_0x1f40ab[0x3d]),_0x59f9e4=_0x3f86af(_0x59f9e4,_0x438d55,_0x1191c6,_0x48e650,_0x323be7,0xf,_0x1f40ab[0x3e]),_0x48e650=_0x3f86af(_0x48e650,_0x59f9e4,_0x438d55,_0x1191c6,_0x4dfd6a,0x15,_0x1f40ab[0x3f]),_0x54fe01[0x0]=_0x54fe01[0x0]+_0x1191c6|0x0,_0x54fe01[0x1]=_0x54fe01[0x1]+_0x48e650|0x0,_0x54fe01[0x2]=_0x54fe01[0x2]+_0x59f9e4|0x0,_0x54fe01[0x3]=_0x54fe01[0x3]+_0x438d55|0x0;},'_doFinalize':function(){const _0x15a530=_0x125fa3;var _0x34b28e=this[_0x15a530(0x4fc)],_0x5633ac=_0x34b28e[_0x15a530(0x1e6)],_0x33bae8=this['_nDataBytes']*0x8,_0x4ac85=_0x34b28e[_0x15a530(0x396)]*0x8;_0x5633ac[_0x4ac85>>>0x5]|=0x80<<0x18-_0x4ac85%0x20;var _0x39f133=_0x2e351e[_0x15a530(0x482)](_0x33bae8/0x100000000),_0x1bf850=_0x33bae8;_0x5633ac[(_0x4ac85+0x40>>>0x9<<0x4)+0xf]=(_0x39f133<<0x8|_0x39f133>>>0x18)&0xff00ff|(_0x39f133<<0x18|_0x39f133>>>0x8)&0xff00ff00,_0x5633ac[(_0x4ac85+0x40>>>0x9<<0x4)+0xe]=(_0x1bf850<<0x8|_0x1bf850>>>0x18)&0xff00ff|(_0x1bf850<<0x18|_0x1bf850>>>0x8)&0xff00ff00,_0x34b28e[_0x15a530(0x396)]=(_0x5633ac[_0x15a530(0x4d9)]+0x1)*0x4,this['_process']();for(var _0x249a56=this['_hash'],_0x3b7bdf=_0x249a56[_0x15a530(0x1e6)],_0x5bf882=0x0;_0x5bf882<0x4;_0x5bf882++){var _0x3b9a55=_0x3b7bdf[_0x5bf882];_0x3b7bdf[_0x5bf882]=(_0x3b9a55<<0x8|_0x3b9a55>>>0x18)&0xff00ff|(_0x3b9a55<<0x18|_0x3b9a55>>>0x8)&0xff00ff00;}return _0x249a56;},'clone':function(){const _0x45dbc5=_0x125fa3;var _0x1a48a3=_0x369171[_0x45dbc5(0x230)][_0x45dbc5(0x246)](this);return _0x1a48a3[_0x45dbc5(0x253)]=this['_hash']['clone'](),_0x1a48a3;}});function _0x2bc214(_0x5e163d,_0x34e695,_0x546796,_0x402bd9,_0x55ddb2,_0x28e73a,_0xc7f368){var _0x2d21c7=_0x5e163d+(_0x34e695&_0x546796|~_0x34e695&_0x402bd9)+_0x55ddb2+_0xc7f368;return(_0x2d21c7<<_0x28e73a|_0x2d21c7>>>0x20-_0x28e73a)+_0x34e695;}function _0x1a7a11(_0x43dd35,_0x47e0d6,_0x55c43c,_0x3ef68c,_0x4ccdb6,_0x27d55c,_0x14ef8c){var _0x533b86=_0x43dd35+(_0x47e0d6&_0x3ef68c|_0x55c43c&~_0x3ef68c)+_0x4ccdb6+_0x14ef8c;return(_0x533b86<<_0x27d55c|_0x533b86>>>0x20-_0x27d55c)+_0x47e0d6;}function _0x230ac0(_0x5eaabb,_0x17eb0d,_0x399f6f,_0x2a89fe,_0x2d8999,_0x125617,_0x44170a){var _0x2f1387=_0x5eaabb+(_0x17eb0d^_0x399f6f^_0x2a89fe)+_0x2d8999+_0x44170a;return(_0x2f1387<<_0x125617|_0x2f1387>>>0x20-_0x125617)+_0x17eb0d;}function _0x3f86af(_0x387a48,_0x321589,_0x286ef2,_0xefb38d,_0x17ad62,_0x116694,_0x242e3d){var _0x4f12b4=_0x387a48+(_0x286ef2^(_0x321589|~_0xefb38d))+_0x17ad62+_0x242e3d;return(_0x4f12b4<<_0x116694|_0x4f12b4>>>0x20-_0x116694)+_0x321589;}_0x2a579c['MD5']=_0x369171['_createHelper'](_0x35cca5),_0x2a579c['HmacMD5']=_0x369171[_0x125fa3(0x3c5)](_0x35cca5);}(Math),_0x5da221[_0x13a716(0x2c2)];}));}(_0xcd9ab0)),_0xcd9ab0[_0x3e0e25(0x3a4)];}var _0x475f5d={'exports':{}},_0x4855a3={'exports':{}},_0x27b85d;function _0x36bbf4(){const _0x4075b8=_0x2fa915;return _0x27b85d||(_0x27b85d=0x1,function(_0xdbbe5c,_0x2e4402){(function(_0xde69c4,_0x3380c6){const _0x5a095f=_0x5275;_0xdbbe5c[_0x5a095f(0x3a4)]=_0x3380c6(_0x5ce923());}(_0x46cbc6,function(_0x500f3d){const _0x370b8e=_0x5275;return(function(){const _0x5e7325=_0x5275;var _0x207c23=_0x500f3d,_0x3ed765=_0x207c23['lib'],_0x443a13=_0x3ed765['WordArray'],_0x50d9c0=_0x3ed765[_0x5e7325(0x1f8)],_0x337aa2=_0x207c23[_0x5e7325(0x4dd)],_0x13ae6f=[],_0x492df9=_0x337aa2['SHA1']=_0x50d9c0[_0x5e7325(0x44a)]({'_doReset':function(){const _0x23516f=_0x5e7325;this[_0x23516f(0x253)]=new _0x443a13[(_0x23516f(0x558))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5bbd81,_0x272955){const _0x1e28f6=_0x5e7325;for(var _0x2f57b2=this['_hash'][_0x1e28f6(0x1e6)],_0x2af73e=_0x2f57b2[0x0],_0x2b06e2=_0x2f57b2[0x1],_0x3d381a=_0x2f57b2[0x2],_0x3189b1=_0x2f57b2[0x3],_0x32138f=_0x2f57b2[0x4],_0x4b8cbe=0x0;_0x4b8cbe<0x50;_0x4b8cbe++){if(_0x4b8cbe<0x10)_0x13ae6f[_0x4b8cbe]=_0x5bbd81[_0x272955+_0x4b8cbe]|0x0;else{var _0x654dd5=_0x13ae6f[_0x4b8cbe-0x3]^_0x13ae6f[_0x4b8cbe-0x8]^_0x13ae6f[_0x4b8cbe-0xe]^_0x13ae6f[_0x4b8cbe-0x10];_0x13ae6f[_0x4b8cbe]=_0x654dd5<<0x1|_0x654dd5>>>0x1f;}var _0x8f7e67=(_0x2af73e<<0x5|_0x2af73e>>>0x1b)+_0x32138f+_0x13ae6f[_0x4b8cbe];_0x4b8cbe<0x14?_0x8f7e67+=(_0x2b06e2&_0x3d381a|~_0x2b06e2&_0x3189b1)+0x5a827999:_0x4b8cbe<0x28?_0x8f7e67+=(_0x2b06e2^_0x3d381a^_0x3189b1)+0x6ed9eba1:_0x4b8cbe<0x3c?_0x8f7e67+=(_0x2b06e2&_0x3d381a|_0x2b06e2&_0x3189b1|_0x3d381a&_0x3189b1)-0x70e44324:_0x8f7e67+=(_0x2b06e2^_0x3d381a^_0x3189b1)-0x359d3e2a,_0x32138f=_0x3189b1,_0x3189b1=_0x3d381a,_0x3d381a=_0x2b06e2<<0x1e|_0x2b06e2>>>0x2,_0x2b06e2=_0x2af73e,_0x2af73e=_0x8f7e67;}_0x2f57b2[0x0]=_0x2f57b2[0x0]+_0x2af73e|0x0,_0x2f57b2[0x1]=_0x2f57b2[0x1]+_0x2b06e2|0x0,_0x2f57b2[0x2]=_0x2f57b2[0x2]+_0x3d381a|0x0,_0x2f57b2[0x3]=_0x2f57b2[0x3]+_0x3189b1|0x0,_0x2f57b2[0x4]=_0x2f57b2[0x4]+_0x32138f|0x0;},'_doFinalize':function(){const _0x1f080e=_0x5e7325;var _0x56cba3=this[_0x1f080e(0x4fc)],_0x29ebc3=_0x56cba3['words'],_0x52117f=this[_0x1f080e(0x613)]*0x8,_0x3730eb=_0x56cba3[_0x1f080e(0x396)]*0x8;return _0x29ebc3[_0x3730eb>>>0x5]|=0x80<<0x18-_0x3730eb%0x20,_0x29ebc3[(_0x3730eb+0x40>>>0x9<<0x4)+0xe]=Math[_0x1f080e(0x482)](_0x52117f/0x100000000),_0x29ebc3[(_0x3730eb+0x40>>>0x9<<0x4)+0xf]=_0x52117f,_0x56cba3[_0x1f080e(0x396)]=_0x29ebc3[_0x1f080e(0x4d9)]*0x4,this[_0x1f080e(0x3f6)](),this[_0x1f080e(0x253)];},'clone':function(){const _0x1b92c3=_0x5e7325;var _0x3dcfc2=_0x50d9c0[_0x1b92c3(0x230)][_0x1b92c3(0x246)](this);return _0x3dcfc2[_0x1b92c3(0x253)]=this[_0x1b92c3(0x253)][_0x1b92c3(0x230)](),_0x3dcfc2;}});_0x207c23[_0x5e7325(0x5f0)]=_0x50d9c0[_0x5e7325(0x5fe)](_0x492df9),_0x207c23['HmacSHA1']=_0x50d9c0[_0x5e7325(0x3c5)](_0x492df9);}()),_0x500f3d[_0x370b8e(0x5f0)];}));}(_0x4855a3)),_0x4855a3[_0x4075b8(0x3a4)];}var _0x481a78={'exports':{}},_0x227b55;function _0x3612e4(){const _0x452591=_0x2fa915;return _0x227b55||(_0x227b55=0x1,function(_0x228023,_0x487a67){(function(_0x33450c,_0x2c48f5){_0x228023['exports']=_0x2c48f5(_0x5ce923());}(_0x46cbc6,function(_0x119a2b){(function(){const _0x27fb53=_0x5275;var _0x18dd02=_0x119a2b,_0x5f07ad=_0x18dd02['lib'],_0x272581=_0x5f07ad[_0x27fb53(0x50e)],_0x398a09=_0x18dd02[_0x27fb53(0x297)],_0x436f00=_0x398a09[_0x27fb53(0x36a)],_0x425ef8=_0x18dd02[_0x27fb53(0x4dd)];_0x425ef8[_0x27fb53(0x302)]=_0x272581[_0x27fb53(0x44a)]({'init':function(_0x2bdf89,_0x274f4d){const _0x3bd78b=_0x27fb53;_0x2bdf89=this[_0x3bd78b(0x37b)]=new _0x2bdf89[(_0x3bd78b(0x558))](),typeof _0x274f4d==_0x3bd78b(0x241)&&(_0x274f4d=_0x436f00[_0x3bd78b(0x3bf)](_0x274f4d));var _0x426e01=_0x2bdf89[_0x3bd78b(0x414)],_0x3d3d70=_0x426e01*0x4;_0x274f4d[_0x3bd78b(0x396)]>_0x3d3d70&&(_0x274f4d=_0x2bdf89[_0x3bd78b(0x277)](_0x274f4d)),_0x274f4d[_0x3bd78b(0x2f9)]();for(var _0x578d92=this[_0x3bd78b(0x45d)]=_0x274f4d[_0x3bd78b(0x230)](),_0x4cb655=this['_iKey']=_0x274f4d['clone'](),_0x26e634=_0x578d92[_0x3bd78b(0x1e6)],_0x566c08=_0x4cb655['words'],_0x53b83b=0x0;_0x53b83b<_0x426e01;_0x53b83b++)_0x26e634[_0x53b83b]^=0x5c5c5c5c,_0x566c08[_0x53b83b]^=0x36363636;_0x578d92[_0x3bd78b(0x396)]=_0x4cb655['sigBytes']=_0x3d3d70,this[_0x3bd78b(0x233)]();},'reset':function(){const _0x36bce7=_0x27fb53;var _0x5b8d2e=this['_hasher'];_0x5b8d2e[_0x36bce7(0x233)](),_0x5b8d2e[_0x36bce7(0x3ab)](this[_0x36bce7(0x28a)]);},'update':function(_0x2bab0b){const _0x4468cb=_0x27fb53;return this[_0x4468cb(0x37b)][_0x4468cb(0x3ab)](_0x2bab0b),this;},'finalize':function(_0x42f222){const _0x26befd=_0x27fb53;var _0x4b6310=this[_0x26befd(0x37b)],_0x34a282=_0x4b6310[_0x26befd(0x277)](_0x42f222);_0x4b6310[_0x26befd(0x233)]();var _0x593913=_0x4b6310[_0x26befd(0x277)](this[_0x26befd(0x45d)][_0x26befd(0x230)]()[_0x26befd(0x227)](_0x34a282));return _0x593913;}});}());}));}(_0x481a78)),_0x481a78[_0x452591(0x3a4)];}var _0x792574;function _0x39a2d6(){const _0x30ea3a=_0x2fa915;return _0x792574||(_0x792574=0x1,function(_0x370c42,_0x55d645){(function(_0x3466d7,_0x28b3e5,_0x5bcf69){const _0x32febc=_0x5275;_0x370c42[_0x32febc(0x3a4)]=_0x28b3e5(_0x5ce923(),_0x36bbf4(),_0x3612e4());}(_0x46cbc6,function(_0x477d2c){const _0x4a78a7=_0x5275;return(function(){const _0x264ebc=_0x5275;var _0x1a986e=_0x477d2c,_0x4fb7d8=_0x1a986e[_0x264ebc(0x33e)],_0x559b49=_0x4fb7d8[_0x264ebc(0x50e)],_0x34f9fa=_0x4fb7d8[_0x264ebc(0x232)],_0x555d4d=_0x1a986e[_0x264ebc(0x4dd)],_0x5280b5=_0x555d4d['MD5'],_0x2b30f8=_0x555d4d['EvpKDF']=_0x559b49[_0x264ebc(0x44a)]({'cfg':_0x559b49['extend']({'keySize':0x80/0x20,'hasher':_0x5280b5,'iterations':0x1}),'init':function(_0x15c32b){const _0x5a9c2c=_0x264ebc;this[_0x5a9c2c(0x353)]=this['cfg']['extend'](_0x15c32b);},'compute':function(_0x564b8f,_0x2726d3){const _0x1587d8=_0x264ebc;for(var _0x54d04c,_0x7cdf6c=this[_0x1587d8(0x353)],_0x516977=_0x7cdf6c[_0x1587d8(0x4ff)][_0x1587d8(0x5e5)](),_0x487e58=_0x34f9fa['create'](),_0x5a07e1=_0x487e58[_0x1587d8(0x1e6)],_0x3c9e98=_0x7cdf6c[_0x1587d8(0x394)],_0x4a7dd7=_0x7cdf6c[_0x1587d8(0x582)];_0x5a07e1[_0x1587d8(0x4d9)]<_0x3c9e98;){_0x54d04c&&_0x516977['update'](_0x54d04c),_0x54d04c=_0x516977['update'](_0x564b8f)['finalize'](_0x2726d3),_0x516977['reset']();for(var _0x579846=0x1;_0x579846<_0x4a7dd7;_0x579846++)_0x54d04c=_0x516977['finalize'](_0x54d04c),_0x516977[_0x1587d8(0x233)]();_0x487e58[_0x1587d8(0x227)](_0x54d04c);}return _0x487e58[_0x1587d8(0x396)]=_0x3c9e98*0x4,_0x487e58;}});_0x1a986e['EvpKDF']=function(_0x4e4d2e,_0x2352d0,_0xb3f30a){const _0x375b24=_0x264ebc;return _0x2b30f8[_0x375b24(0x5e5)](_0xb3f30a)[_0x375b24(0x2d8)](_0x4e4d2e,_0x2352d0);};}()),_0x477d2c[_0x4a78a7(0x409)];}));}(_0x475f5d)),_0x475f5d[_0x30ea3a(0x3a4)];}var _0x38182b={'exports':{}},_0x265ab6;function _0x4781fa(){return _0x265ab6||(_0x265ab6=0x1,function(_0x29cf12,_0x1a4c2a){(function(_0x80f77f,_0x5a2fab,_0x17a444){const _0x33a20b=_0x5275;_0x29cf12[_0x33a20b(0x3a4)]=_0x5a2fab(_0x5ce923(),_0x39a2d6());}(_0x46cbc6,function(_0xe88261){const _0x2197c6=_0x5275;_0xe88261[_0x2197c6(0x33e)]['Cipher']||function(_0x2fc046){const _0xe9db09=_0x2197c6;var _0x389b37=_0xe88261,_0x160b6e=_0x389b37[_0xe9db09(0x33e)],_0xe6e624=_0x160b6e[_0xe9db09(0x50e)],_0x2fda32=_0x160b6e[_0xe9db09(0x232)],_0x13e673=_0x160b6e[_0xe9db09(0x234)],_0x1478dc=_0x389b37[_0xe9db09(0x297)];_0x1478dc['Utf8'];var _0x106218=_0x1478dc[_0xe9db09(0x1cb)],_0x5b419c=_0x389b37[_0xe9db09(0x4dd)],_0xaaebf6=_0x5b419c[_0xe9db09(0x409)],_0x4f4819=_0x160b6e[_0xe9db09(0x536)]=_0x13e673[_0xe9db09(0x44a)]({'cfg':_0xe6e624[_0xe9db09(0x44a)](),'createEncryptor':function(_0x424d8c,_0xdb0c99){const _0x476105=_0xe9db09;return this[_0x476105(0x5e5)](this[_0x476105(0x36d)],_0x424d8c,_0xdb0c99);},'createDecryptor':function(_0x1376ed,_0x34570d){const _0x564c86=_0xe9db09;return this[_0x564c86(0x5e5)](this[_0x564c86(0x513)],_0x1376ed,_0x34570d);},'init':function(_0x1c90eb,_0x5f2a23,_0x4bf762){const _0x271309=_0xe9db09;this['cfg']=this[_0x271309(0x353)]['extend'](_0x4bf762),this[_0x271309(0x5bf)]=_0x1c90eb,this['_key']=_0x5f2a23,this[_0x271309(0x233)]();},'reset':function(){_0x13e673['reset']['call'](this),this['_doReset']();},'process':function(_0x23d4b2){const _0x44d0c4=_0xe9db09;return this['_append'](_0x23d4b2),this[_0x44d0c4(0x3f6)]();},'finalize':function(_0x165195){const _0x2f13f4=_0xe9db09;_0x165195&&this[_0x2f13f4(0x1e0)](_0x165195);var _0x3ae25a=this[_0x2f13f4(0x278)]();return _0x3ae25a;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2e0878(_0x183162){const _0x3bde50=_0x5275;return typeof _0x183162==_0x3bde50(0x241)?_0x2b8b01:_0x56c5f2;}return function(_0x10561b){return{'encrypt':function(_0x22399f,_0x3fc47d,_0x26226a){const _0x468614=_0x5275;return _0x2e0878(_0x3fc47d)[_0x468614(0x635)](_0x10561b,_0x22399f,_0x3fc47d,_0x26226a);},'decrypt':function(_0x2695e5,_0x13fbed,_0x47707e){const _0x419393=_0x5275;return _0x2e0878(_0x13fbed)[_0x419393(0x5a1)](_0x10561b,_0x2695e5,_0x13fbed,_0x47707e);}};};}())});_0x160b6e[_0xe9db09(0x2a0)]=_0x4f4819['extend']({'_doFinalize':function(){var _0x3ff466=this['_process'](!0x0);return _0x3ff466;},'blockSize':0x1});var _0x5d763c=_0x389b37[_0xe9db09(0x1bf)]={},_0x4ac964=_0x160b6e[_0xe9db09(0x182)]=_0xe6e624[_0xe9db09(0x44a)]({'createEncryptor':function(_0xc91e15,_0x3c462a){const _0x49c706=_0xe9db09;return this[_0x49c706(0x1c3)]['create'](_0xc91e15,_0x3c462a);},'createDecryptor':function(_0x4784be,_0x97218){const _0xa29862=_0xe9db09;return this['Decryptor'][_0xa29862(0x5e5)](_0x4784be,_0x97218);},'init':function(_0x486fa7,_0x362cbb){const _0x47909f=_0xe9db09;this[_0x47909f(0x47b)]=_0x486fa7,this['_iv']=_0x362cbb;}}),_0x763217=_0x5d763c[_0xe9db09(0x477)]=(function(){const _0x4f95ac=_0xe9db09;var _0x23b2e2=_0x4ac964['extend']();_0x23b2e2[_0x4f95ac(0x1c3)]=_0x23b2e2[_0x4f95ac(0x44a)]({'processBlock':function(_0x1d477f,_0x2a9e41){const _0x8f178=_0x4f95ac;var _0x869dc6=this[_0x8f178(0x47b)],_0x1ce20a=_0x869dc6['blockSize'];_0xbe3b04[_0x8f178(0x246)](this,_0x1d477f,_0x2a9e41,_0x1ce20a),_0x869dc6[_0x8f178(0x495)](_0x1d477f,_0x2a9e41),this['_prevBlock']=_0x1d477f[_0x8f178(0x57d)](_0x2a9e41,_0x2a9e41+_0x1ce20a);}}),_0x23b2e2[_0x4f95ac(0x5fd)]=_0x23b2e2[_0x4f95ac(0x44a)]({'processBlock':function(_0x52ac7c,_0x1f5fd0){const _0x3b4a19=_0x4f95ac;var _0x576ffa=this[_0x3b4a19(0x47b)],_0x1cb037=_0x576ffa[_0x3b4a19(0x414)],_0x3eab62=_0x52ac7c['slice'](_0x1f5fd0,_0x1f5fd0+_0x1cb037);_0x576ffa[_0x3b4a19(0x557)](_0x52ac7c,_0x1f5fd0),_0xbe3b04[_0x3b4a19(0x246)](this,_0x52ac7c,_0x1f5fd0,_0x1cb037),this[_0x3b4a19(0x4d2)]=_0x3eab62;}});function _0xbe3b04(_0x23a080,_0x207f92,_0x1270db){const _0x3b5e43=_0x4f95ac;var _0x3b8e9d,_0x841666=this[_0x3b5e43(0x1ef)];_0x841666?(_0x3b8e9d=_0x841666,this['_iv']=_0x2fc046):_0x3b8e9d=this[_0x3b5e43(0x4d2)];for(var _0x1f3300=0x0;_0x1f3300<_0x1270db;_0x1f3300++)_0x23a080[_0x207f92+_0x1f3300]^=_0x3b8e9d[_0x1f3300];}return _0x23b2e2;}()),_0x42d0fc=_0x389b37[_0xe9db09(0x212)]={},_0x5e93d3=_0x42d0fc['Pkcs7']={'pad':function(_0x45e271,_0x666a17){const _0x928cb4=_0xe9db09;for(var _0x457fd5=_0x666a17*0x4,_0x3e7633=_0x457fd5-_0x45e271[_0x928cb4(0x396)]%_0x457fd5,_0x4704bb=_0x3e7633<<0x18|_0x3e7633<<0x10|_0x3e7633<<0x8|_0x3e7633,_0x1cff91=[],_0x4c32b0=0x0;_0x4c32b0<_0x3e7633;_0x4c32b0+=0x4)_0x1cff91[_0x928cb4(0x367)](_0x4704bb);var _0x273d35=_0x2fda32[_0x928cb4(0x5e5)](_0x1cff91,_0x3e7633);_0x45e271['concat'](_0x273d35);},'unpad':function(_0x1f97a5){const _0xce16e3=_0xe9db09;var _0x3ef483=_0x1f97a5['words'][_0x1f97a5['sigBytes']-0x1>>>0x2]&0xff;_0x1f97a5[_0xce16e3(0x396)]-=_0x3ef483;}};_0x160b6e[_0xe9db09(0x4a3)]=_0x4f4819['extend']({'cfg':_0x4f4819[_0xe9db09(0x353)][_0xe9db09(0x44a)]({'mode':_0x763217,'padding':_0x5e93d3}),'reset':function(){const _0x264fe3=_0xe9db09;var _0x2a9828;_0x4f4819[_0x264fe3(0x233)][_0x264fe3(0x246)](this);var _0x33e6da=this[_0x264fe3(0x353)],_0x51d4e3=_0x33e6da['iv'],_0x5d0060=_0x33e6da[_0x264fe3(0x1bf)];this[_0x264fe3(0x5bf)]==this[_0x264fe3(0x36d)]?_0x2a9828=_0x5d0060[_0x264fe3(0x3c0)]:(_0x2a9828=_0x5d0060['createDecryptor'],this[_0x264fe3(0x1df)]=0x1),this['_mode']&&this['_mode'][_0x264fe3(0x3ca)]==_0x2a9828?this[_0x264fe3(0x56a)][_0x264fe3(0x558)](this,_0x51d4e3&&_0x51d4e3[_0x264fe3(0x1e6)]):(this[_0x264fe3(0x56a)]=_0x2a9828[_0x264fe3(0x246)](_0x5d0060,this,_0x51d4e3&&_0x51d4e3[_0x264fe3(0x1e6)]),this[_0x264fe3(0x56a)]['__creator']=_0x2a9828);},'_doProcessBlock':function(_0x1034d8,_0x5783ab){const _0x229906=_0xe9db09;this[_0x229906(0x56a)][_0x229906(0x2c3)](_0x1034d8,_0x5783ab);},'_doFinalize':function(){const _0x2a5867=_0xe9db09;var _0x335dfa,_0x59b12f=this['cfg'][_0x2a5867(0x40f)];return this[_0x2a5867(0x5bf)]==this[_0x2a5867(0x36d)]?(_0x59b12f['pad'](this[_0x2a5867(0x4fc)],this['blockSize']),_0x335dfa=this[_0x2a5867(0x3f6)](!0x0)):(_0x335dfa=this[_0x2a5867(0x3f6)](!0x0),_0x59b12f[_0x2a5867(0x4dc)](_0x335dfa)),_0x335dfa;},'blockSize':0x80/0x20});var _0x37d67b=_0x160b6e[_0xe9db09(0x1d5)]=_0xe6e624[_0xe9db09(0x44a)]({'init':function(_0x3bcbc2){const _0x4acb8f=_0xe9db09;this[_0x4acb8f(0x566)](_0x3bcbc2);},'toString':function(_0x47809c){const _0x393255=_0xe9db09;return(_0x47809c||this[_0x393255(0x446)])[_0x393255(0x621)](this);}}),_0x34b758=_0x389b37['format']={},_0x3b9dfe=_0x34b758[_0xe9db09(0x1af)]={'stringify':function(_0x2512fe){const _0x188a8d=_0xe9db09;var _0xac1128,_0xdb593e=_0x2512fe['ciphertext'],_0x2172f0=_0x2512fe[_0x188a8d(0x3a3)];return _0x2172f0?_0xac1128=_0x2fda32[_0x188a8d(0x5e5)]([0x53616c74,0x65645f5f])[_0x188a8d(0x227)](_0x2172f0)[_0x188a8d(0x227)](_0xdb593e):_0xac1128=_0xdb593e,_0xac1128[_0x188a8d(0x38a)](_0x106218);},'parse':function(_0x36000d){const _0x50dbf4=_0xe9db09;var _0x29f241,_0x4c19df=_0x106218[_0x50dbf4(0x3bf)](_0x36000d),_0x143f7e=_0x4c19df[_0x50dbf4(0x1e6)];return _0x143f7e[0x0]==0x53616c74&&_0x143f7e[0x1]==0x65645f5f&&(_0x29f241=_0x2fda32['create'](_0x143f7e[_0x50dbf4(0x57d)](0x2,0x4)),_0x143f7e[_0x50dbf4(0x21a)](0x0,0x4),_0x4c19df['sigBytes']-=0x10),_0x37d67b[_0x50dbf4(0x5e5)]({'ciphertext':_0x4c19df,'salt':_0x29f241});}},_0x56c5f2=_0x160b6e['SerializableCipher']=_0xe6e624[_0xe9db09(0x44a)]({'cfg':_0xe6e624['extend']({'format':_0x3b9dfe}),'encrypt':function(_0x55f210,_0x50ee2b,_0x1138d1,_0x14a36a){const _0x5933b2=_0xe9db09;_0x14a36a=this[_0x5933b2(0x353)]['extend'](_0x14a36a);var _0x5bd855=_0x55f210['createEncryptor'](_0x1138d1,_0x14a36a),_0x5d9f90=_0x5bd855[_0x5933b2(0x277)](_0x50ee2b),_0x541647=_0x5bd855[_0x5933b2(0x353)];return _0x37d67b[_0x5933b2(0x5e5)]({'ciphertext':_0x5d9f90,'key':_0x1138d1,'iv':_0x541647['iv'],'algorithm':_0x55f210,'mode':_0x541647[_0x5933b2(0x1bf)],'padding':_0x541647[_0x5933b2(0x40f)],'blockSize':_0x55f210[_0x5933b2(0x414)],'formatter':_0x14a36a[_0x5933b2(0x350)]});},'decrypt':function(_0x4370f1,_0x1d14a5,_0x97dab5,_0x416eb8){const _0x5b7cce=_0xe9db09;_0x416eb8=this[_0x5b7cce(0x353)]['extend'](_0x416eb8),_0x1d14a5=this[_0x5b7cce(0x2ad)](_0x1d14a5,_0x416eb8[_0x5b7cce(0x350)]);var _0x2f06b3=_0x4370f1[_0x5b7cce(0x3d3)](_0x97dab5,_0x416eb8)[_0x5b7cce(0x277)](_0x1d14a5[_0x5b7cce(0x589)]);return _0x2f06b3;},'_parse':function(_0x426cf4,_0x4ede1b){const _0x4d0932=_0xe9db09;return typeof _0x426cf4==_0x4d0932(0x241)?_0x4ede1b['parse'](_0x426cf4,this):_0x426cf4;}}),_0x5787d3=_0x389b37[_0xe9db09(0x4de)]={},_0xc077a1=_0x5787d3[_0xe9db09(0x1af)]={'execute':function(_0x3e3579,_0x379422,_0x676f5,_0x2be62a,_0x579f01){const _0x21e083=_0xe9db09;if(_0x2be62a||(_0x2be62a=_0x2fda32[_0x21e083(0x29a)](0x40/0x8)),_0x579f01)var _0x17d922=_0xaaebf6[_0x21e083(0x5e5)]({'keySize':_0x379422+_0x676f5,'hasher':_0x579f01})[_0x21e083(0x2d8)](_0x3e3579,_0x2be62a);else var _0x17d922=_0xaaebf6[_0x21e083(0x5e5)]({'keySize':_0x379422+_0x676f5})[_0x21e083(0x2d8)](_0x3e3579,_0x2be62a);var _0x2864ca=_0x2fda32[_0x21e083(0x5e5)](_0x17d922['words'][_0x21e083(0x57d)](_0x379422),_0x676f5*0x4);return _0x17d922[_0x21e083(0x396)]=_0x379422*0x4,_0x37d67b[_0x21e083(0x5e5)]({'key':_0x17d922,'iv':_0x2864ca,'salt':_0x2be62a});}},_0x2b8b01=_0x160b6e[_0xe9db09(0x306)]=_0x56c5f2[_0xe9db09(0x44a)]({'cfg':_0x56c5f2[_0xe9db09(0x353)]['extend']({'kdf':_0xc077a1}),'encrypt':function(_0x54b132,_0x697a93,_0x4415d8,_0x1e2185){const _0x4d1cad=_0xe9db09;_0x1e2185=this['cfg'][_0x4d1cad(0x44a)](_0x1e2185);var _0x1c9356=_0x1e2185[_0x4d1cad(0x4de)][_0x4d1cad(0x5d1)](_0x4415d8,_0x54b132['keySize'],_0x54b132[_0x4d1cad(0x4f9)],_0x1e2185['salt'],_0x1e2185[_0x4d1cad(0x4ff)]);_0x1e2185['iv']=_0x1c9356['iv'];var _0x3be22d=_0x56c5f2[_0x4d1cad(0x635)][_0x4d1cad(0x246)](this,_0x54b132,_0x697a93,_0x1c9356['key'],_0x1e2185);return _0x3be22d[_0x4d1cad(0x566)](_0x1c9356),_0x3be22d;},'decrypt':function(_0x141adc,_0x5a48f9,_0x4fe29d,_0x602136){const _0x17d11d=_0xe9db09;_0x602136=this['cfg'][_0x17d11d(0x44a)](_0x602136),_0x5a48f9=this[_0x17d11d(0x2ad)](_0x5a48f9,_0x602136[_0x17d11d(0x350)]);var _0x40b223=_0x602136['kdf']['execute'](_0x4fe29d,_0x141adc[_0x17d11d(0x394)],_0x141adc[_0x17d11d(0x4f9)],_0x5a48f9[_0x17d11d(0x3a3)],_0x602136[_0x17d11d(0x4ff)]);_0x602136['iv']=_0x40b223['iv'];var _0x20a76b=_0x56c5f2[_0x17d11d(0x5a1)][_0x17d11d(0x246)](this,_0x141adc,_0x5a48f9,_0x40b223['key'],_0x602136);return _0x20a76b;}});}();}));}(_0x38182b)),_0x38182b['exports'];}(function(_0x2caf85,_0x488cd9){(function(_0x5961cd,_0x104276,_0x46be28){const _0x1d81c6=_0x5275;_0x2caf85[_0x1d81c6(0x3a4)]=_0x104276(_0x5ce923(),_0x235b13(),_0x12bb34(),_0x39a2d6(),_0x4781fa());}(_0x46cbc6,function(_0x52988a){const _0x4dddde=_0x5275;return(function(){const _0x17d265=_0x5275;var _0x57c35c=_0x52988a,_0x5bdd7c=_0x57c35c['lib'],_0x16934a=_0x5bdd7c['BlockCipher'],_0x112d8c=_0x57c35c['algo'],_0xeb711a=[],_0x40d11f=[],_0x5dd973=[],_0x465c9e=[],_0x218ee5=[],_0x42a7be=[],_0x427f37=[],_0x325dc0=[],_0xe46ad6=[],_0x96caff=[];(function(){for(var _0x518968=[],_0x489a27=0x0;_0x489a27<0x100;_0x489a27++)_0x489a27<0x80?_0x518968[_0x489a27]=_0x489a27<<0x1:_0x518968[_0x489a27]=_0x489a27<<0x1^0x11b;for(var _0x39a4dc=0x0,_0x22984e=0x0,_0x489a27=0x0;_0x489a27<0x100;_0x489a27++){var _0x343ccc=_0x22984e^_0x22984e<<0x1^_0x22984e<<0x2^_0x22984e<<0x3^_0x22984e<<0x4;_0x343ccc=_0x343ccc>>>0x8^_0x343ccc&0xff^0x63,_0xeb711a[_0x39a4dc]=_0x343ccc,_0x40d11f[_0x343ccc]=_0x39a4dc;var _0x1f29a0=_0x518968[_0x39a4dc],_0x45bd48=_0x518968[_0x1f29a0],_0x1ee0ac=_0x518968[_0x45bd48],_0x7275eb=_0x518968[_0x343ccc]*0x101^_0x343ccc*0x1010100;_0x5dd973[_0x39a4dc]=_0x7275eb<<0x18|_0x7275eb>>>0x8,_0x465c9e[_0x39a4dc]=_0x7275eb<<0x10|_0x7275eb>>>0x10,_0x218ee5[_0x39a4dc]=_0x7275eb<<0x8|_0x7275eb>>>0x18,_0x42a7be[_0x39a4dc]=_0x7275eb;var _0x7275eb=_0x1ee0ac*0x1010101^_0x45bd48*0x10001^_0x1f29a0*0x101^_0x39a4dc*0x1010100;_0x427f37[_0x343ccc]=_0x7275eb<<0x18|_0x7275eb>>>0x8,_0x325dc0[_0x343ccc]=_0x7275eb<<0x10|_0x7275eb>>>0x10,_0xe46ad6[_0x343ccc]=_0x7275eb<<0x8|_0x7275eb>>>0x18,_0x96caff[_0x343ccc]=_0x7275eb,_0x39a4dc?(_0x39a4dc=_0x1f29a0^_0x518968[_0x518968[_0x518968[_0x1ee0ac^_0x1f29a0]]],_0x22984e^=_0x518968[_0x518968[_0x22984e]]):_0x39a4dc=_0x22984e=0x1;}}());var _0x4da3bb=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4e2b22=_0x112d8c['AES']=_0x16934a[_0x17d265(0x44a)]({'_doReset':function(){const _0x435255=_0x17d265;var _0x543ef9;if(!(this[_0x435255(0x19f)]&&this[_0x435255(0x55c)]===this[_0x435255(0x506)])){for(var _0x46d92e=this[_0x435255(0x55c)]=this['_key'],_0x405f1f=_0x46d92e[_0x435255(0x1e6)],_0x52e696=_0x46d92e[_0x435255(0x396)]/0x4,_0xc7d14e=this[_0x435255(0x19f)]=_0x52e696+0x6,_0x486c40=(_0xc7d14e+0x1)*0x4,_0xbe9544=this[_0x435255(0x2da)]=[],_0x27c52a=0x0;_0x27c52a<_0x486c40;_0x27c52a++)_0x27c52a<_0x52e696?_0xbe9544[_0x27c52a]=_0x405f1f[_0x27c52a]:(_0x543ef9=_0xbe9544[_0x27c52a-0x1],_0x27c52a%_0x52e696?_0x52e696>0x6&&_0x27c52a%_0x52e696==0x4&&(_0x543ef9=_0xeb711a[_0x543ef9>>>0x18]<<0x18|_0xeb711a[_0x543ef9>>>0x10&0xff]<<0x10|_0xeb711a[_0x543ef9>>>0x8&0xff]<<0x8|_0xeb711a[_0x543ef9&0xff]):(_0x543ef9=_0x543ef9<<0x8|_0x543ef9>>>0x18,_0x543ef9=_0xeb711a[_0x543ef9>>>0x18]<<0x18|_0xeb711a[_0x543ef9>>>0x10&0xff]<<0x10|_0xeb711a[_0x543ef9>>>0x8&0xff]<<0x8|_0xeb711a[_0x543ef9&0xff],_0x543ef9^=_0x4da3bb[_0x27c52a/_0x52e696|0x0]<<0x18),_0xbe9544[_0x27c52a]=_0xbe9544[_0x27c52a-_0x52e696]^_0x543ef9);for(var _0x2a0650=this['_invKeySchedule']=[],_0x13001f=0x0;_0x13001f<_0x486c40;_0x13001f++){var _0x27c52a=_0x486c40-_0x13001f;if(_0x13001f%0x4)var _0x543ef9=_0xbe9544[_0x27c52a];else var _0x543ef9=_0xbe9544[_0x27c52a-0x4];_0x13001f<0x4||_0x27c52a<=0x4?_0x2a0650[_0x13001f]=_0x543ef9:_0x2a0650[_0x13001f]=_0x427f37[_0xeb711a[_0x543ef9>>>0x18]]^_0x325dc0[_0xeb711a[_0x543ef9>>>0x10&0xff]]^_0xe46ad6[_0xeb711a[_0x543ef9>>>0x8&0xff]]^_0x96caff[_0xeb711a[_0x543ef9&0xff]];}}},'encryptBlock':function(_0x2c9da9,_0x3ae94a){const _0x384dd3=_0x17d265;this[_0x384dd3(0x184)](_0x2c9da9,_0x3ae94a,this[_0x384dd3(0x2da)],_0x5dd973,_0x465c9e,_0x218ee5,_0x42a7be,_0xeb711a);},'decryptBlock':function(_0x4076a0,_0x138aea){const _0x42fb95=_0x17d265;var _0x2ad0b9=_0x4076a0[_0x138aea+0x1];_0x4076a0[_0x138aea+0x1]=_0x4076a0[_0x138aea+0x3],_0x4076a0[_0x138aea+0x3]=_0x2ad0b9,this[_0x42fb95(0x184)](_0x4076a0,_0x138aea,this[_0x42fb95(0x176)],_0x427f37,_0x325dc0,_0xe46ad6,_0x96caff,_0x40d11f);var _0x2ad0b9=_0x4076a0[_0x138aea+0x1];_0x4076a0[_0x138aea+0x1]=_0x4076a0[_0x138aea+0x3],_0x4076a0[_0x138aea+0x3]=_0x2ad0b9;},'_doCryptBlock':function(_0x49f6f9,_0x264dd4,_0x3d2e19,_0x55e33e,_0x3ed41d,_0x4373eb,_0x34f790,_0x3e156d){const _0x28de7f=_0x17d265;for(var _0x45519a=this[_0x28de7f(0x19f)],_0x39258f=_0x49f6f9[_0x264dd4]^_0x3d2e19[0x0],_0x47c62a=_0x49f6f9[_0x264dd4+0x1]^_0x3d2e19[0x1],_0x5d70a1=_0x49f6f9[_0x264dd4+0x2]^_0x3d2e19[0x2],_0x53c2d1=_0x49f6f9[_0x264dd4+0x3]^_0x3d2e19[0x3],_0x14c435=0x4,_0x5bbf89=0x1;_0x5bbf89<_0x45519a;_0x5bbf89++){var _0x2e7e79=_0x55e33e[_0x39258f>>>0x18]^_0x3ed41d[_0x47c62a>>>0x10&0xff]^_0x4373eb[_0x5d70a1>>>0x8&0xff]^_0x34f790[_0x53c2d1&0xff]^_0x3d2e19[_0x14c435++],_0x3aa851=_0x55e33e[_0x47c62a>>>0x18]^_0x3ed41d[_0x5d70a1>>>0x10&0xff]^_0x4373eb[_0x53c2d1>>>0x8&0xff]^_0x34f790[_0x39258f&0xff]^_0x3d2e19[_0x14c435++],_0x4c69f2=_0x55e33e[_0x5d70a1>>>0x18]^_0x3ed41d[_0x53c2d1>>>0x10&0xff]^_0x4373eb[_0x39258f>>>0x8&0xff]^_0x34f790[_0x47c62a&0xff]^_0x3d2e19[_0x14c435++],_0x8aade2=_0x55e33e[_0x53c2d1>>>0x18]^_0x3ed41d[_0x39258f>>>0x10&0xff]^_0x4373eb[_0x47c62a>>>0x8&0xff]^_0x34f790[_0x5d70a1&0xff]^_0x3d2e19[_0x14c435++];_0x39258f=_0x2e7e79,_0x47c62a=_0x3aa851,_0x5d70a1=_0x4c69f2,_0x53c2d1=_0x8aade2;}var _0x2e7e79=(_0x3e156d[_0x39258f>>>0x18]<<0x18|_0x3e156d[_0x47c62a>>>0x10&0xff]<<0x10|_0x3e156d[_0x5d70a1>>>0x8&0xff]<<0x8|_0x3e156d[_0x53c2d1&0xff])^_0x3d2e19[_0x14c435++],_0x3aa851=(_0x3e156d[_0x47c62a>>>0x18]<<0x18|_0x3e156d[_0x5d70a1>>>0x10&0xff]<<0x10|_0x3e156d[_0x53c2d1>>>0x8&0xff]<<0x8|_0x3e156d[_0x39258f&0xff])^_0x3d2e19[_0x14c435++],_0x4c69f2=(_0x3e156d[_0x5d70a1>>>0x18]<<0x18|_0x3e156d[_0x53c2d1>>>0x10&0xff]<<0x10|_0x3e156d[_0x39258f>>>0x8&0xff]<<0x8|_0x3e156d[_0x47c62a&0xff])^_0x3d2e19[_0x14c435++],_0x8aade2=(_0x3e156d[_0x53c2d1>>>0x18]<<0x18|_0x3e156d[_0x39258f>>>0x10&0xff]<<0x10|_0x3e156d[_0x47c62a>>>0x8&0xff]<<0x8|_0x3e156d[_0x5d70a1&0xff])^_0x3d2e19[_0x14c435++];_0x49f6f9[_0x264dd4]=_0x2e7e79,_0x49f6f9[_0x264dd4+0x1]=_0x3aa851,_0x49f6f9[_0x264dd4+0x2]=_0x4c69f2,_0x49f6f9[_0x264dd4+0x3]=_0x8aade2;},'keySize':0x100/0x20});_0x57c35c[_0x17d265(0x551)]=_0x16934a['_createHelper'](_0x4e2b22);}()),_0x52988a[_0x4dddde(0x551)];}));}(_0x1b376e));var _0x4142d9=_0x1b376e[_0x2fa915(0x3a4)];const _0x29fbe7=_0x1de184(_0x4142d9);var _0x522b49=_0x235b13();const _0x22975f=_0x1de184(_0x522b49);var _0x243f1d={'exports':{}};(function(_0x4198b6,_0x572df4){(function(_0x5cca92,_0x216364){const _0x5a4753=_0x5275;_0x4198b6[_0x5a4753(0x3a4)]=_0x216364(_0x5ce923());}(_0x46cbc6,function(_0x50b6de){const _0x74286e=_0x5275;return _0x50b6de[_0x74286e(0x297)][_0x74286e(0x36a)];}));}(_0x243f1d));var _0x1babdf=_0x243f1d['exports'];const _0x300a70=_0x1de184(_0x1babdf);var _0x38c494={'exports':{}};(function(_0x39529e,_0x40c1f8){(function(_0x2833cc,_0x2ed984){const _0xbda200=_0x5275;_0x39529e[_0xbda200(0x3a4)]=_0x2ed984(_0x5ce923());}(_0x46cbc6,function(_0x1c4d7a){const _0x2d6004=_0x5275;return(function(){const _0x3c0127=_0x5275;if(typeof ArrayBuffer=='function'){var _0x209f4a=_0x1c4d7a,_0x300513=_0x209f4a[_0x3c0127(0x33e)],_0xc8fa71=_0x300513[_0x3c0127(0x232)],_0x4ed322=_0xc8fa71[_0x3c0127(0x558)],_0x331692=_0xc8fa71['init']=function(_0x305c60){const _0x27173b=_0x3c0127;if(_0x305c60 instanceof ArrayBuffer&&(_0x305c60=new Uint8Array(_0x305c60)),(_0x305c60 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x305c60 instanceof Uint8ClampedArray||_0x305c60 instanceof Int16Array||_0x305c60 instanceof Uint16Array||_0x305c60 instanceof Int32Array||_0x305c60 instanceof Uint32Array||_0x305c60 instanceof Float32Array||_0x305c60 instanceof Float64Array)&&(_0x305c60=new Uint8Array(_0x305c60['buffer'],_0x305c60[_0x27173b(0x46a)],_0x305c60[_0x27173b(0x2ee)])),_0x305c60 instanceof Uint8Array){for(var _0x1c6c71=_0x305c60[_0x27173b(0x2ee)],_0x1ca525=[],_0x4429ec=0x0;_0x4429ec<_0x1c6c71;_0x4429ec++)_0x1ca525[_0x4429ec>>>0x2]|=_0x305c60[_0x4429ec]<<0x18-_0x4429ec%0x4*0x8;_0x4ed322['call'](this,_0x1ca525,_0x1c6c71);}else _0x4ed322['apply'](this,arguments);};_0x331692['prototype']=_0xc8fa71;}}()),_0x1c4d7a[_0x2d6004(0x33e)]['WordArray'];}));}(_0x38c494));var _0x1021a1=_0x38c494[_0x2fa915(0x3a4)];const _0x225d16=_0x1de184(_0x1021a1);var _0x15aaac={'exports':{}};(function(_0x23a258,_0x42886c){(function(_0x74160c,_0x379e9b,_0x505d74){const _0x22d5f6=_0x5275;_0x23a258[_0x22d5f6(0x3a4)]=_0x379e9b(_0x5ce923(),_0x4781fa());}(_0x46cbc6,function(_0x2eeab9){const _0x2b5c7f=_0x5275;return _0x2eeab9['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x2eeab9[_0x2b5c7f(0x212)][_0x2b5c7f(0x52c)];}));}(_0x15aaac));var _0x4c22d0=_0x15aaac[_0x2fa915(0x3a4)];const _0x4bfa9d=_0x1de184(_0x4c22d0);function _0x102ce0(_0x4357b1,_0xde0691){const _0x464816=_0x2fa915,_0x55f1e8=_0xde0691-_0x4357b1[_0x464816(0x4d9)]%_0xde0691,_0x112bcc=String[_0x464816(0x1b0)](_0x55f1e8)[_0x464816(0x31d)](_0x55f1e8);return _0x4357b1+_0x112bcc;}function _0x4d11ef(_0x38b515,_0x303cba){const _0x5908d3=_0x2fa915,_0x5f13e4=_0x225d16[_0x5908d3(0x29a)](0x10),_0x5661a4=_0x102ce0(_0x38b515,0x10),_0xe03350=_0x29fbe7[_0x5908d3(0x635)](_0x300a70[_0x5908d3(0x3bf)](_0x5661a4),_0x22975f[_0x5908d3(0x3bf)](_0x303cba),{'iv':_0x5f13e4,'padding':_0x4bfa9d});return _0x5f13e4[_0x5908d3(0x227)](_0xe03350[_0x5908d3(0x589)])['toString'](_0x22975f);}function _0x307c74(){const _0x5773f7=_0x2fa915,_0x4e31e4=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x5773f7(0x617)];if(_0x4e31e4){const _0x5d5843={'time':Math[_0x5773f7(0x482)](Date[_0x5773f7(0x24a)]()/0x3e8),'domain':location[_0x5773f7(0x2aa)]};return _0x4d11ef(JSON[_0x5773f7(0x621)](_0x5d5843),_0x4e31e4);}}var _0x296731=Object[_0x2fa915(0x44e)],_0x372998=Object[_0x2fa915(0x569)],_0x4922ed=(_0x9a0b68,_0x368c1a,_0xea9357,_0x36d022)=>{const _0x1d33fb=_0x2fa915;for(var _0x26403c=_0x36d022>0x1?void 0x0:_0x36d022?_0x372998(_0x368c1a,_0xea9357):_0x368c1a,_0x275920=_0x9a0b68[_0x1d33fb(0x4d9)]-0x1,_0x3e0f21;_0x275920>=0x0;_0x275920--)(_0x3e0f21=_0x9a0b68[_0x275920])&&(_0x26403c=(_0x36d022?_0x3e0f21(_0x368c1a,_0xea9357,_0x26403c):_0x3e0f21(_0x26403c))||_0x26403c);return _0x36d022&&_0x26403c&&_0x296731(_0x368c1a,_0xea9357,_0x26403c),_0x26403c;},_0x205a57=(_0x281b24,_0x3c6c16)=>(_0x5e1eee,_0x37de2f)=>_0x3c6c16(_0x5e1eee,_0x37de2f,_0x281b24);let _0x10d588=class{constructor(_0x43fe92){const _0x5b88d4=_0x2fa915;this[_0x5b88d4(0x62e)]=_0x43fe92,this[_0x5b88d4(0x202)]();}['_initRequestHeader'](){const _0x182067=_0x2fa915;this[_0x182067(0x62e)][_0x182067(0x5ab)]({'interceptor':(_0x155ea4,_0x10590c)=>{const _0x5463aa=_0x182067,_0x31b1e2=_0x155ea4[_0x5463aa(0x5e7)],_0x24a9dc=_0x307c74();return _0x24a9dc&&_0x31b1e2['set']('x-univer-host',_0x24a9dc),_0x10590c(_0x155ea4);}});}};_0x10d588=_0x4922ed([_0x205a57(0x0,_0x4587e1[_0x2fa915(0x42b)](_0x108d2c['HTTPService']))],_0x10d588);var _0x5788f6=Object[_0x2fa915(0x44e)],_0x3abb61=Object[_0x2fa915(0x569)],_0x5b8e0a=(_0x35a865,_0x2f5148,_0x5a9d2e,_0x141439)=>{const _0x333374=_0x2fa915;for(var _0xe1f40e=_0x141439>0x1?void 0x0:_0x141439?_0x3abb61(_0x2f5148,_0x5a9d2e):_0x2f5148,_0x6adb0a=_0x35a865[_0x333374(0x4d9)]-0x1,_0x5006e8;_0x6adb0a>=0x0;_0x6adb0a--)(_0x5006e8=_0x35a865[_0x6adb0a])&&(_0xe1f40e=(_0x141439?_0x5006e8(_0x2f5148,_0x5a9d2e,_0xe1f40e):_0x5006e8(_0xe1f40e))||_0xe1f40e);return _0x141439&&_0xe1f40e&&_0x5788f6(_0x2f5148,_0x5a9d2e,_0xe1f40e),_0xe1f40e;},_0x28870c=(_0xebf081,_0x571bc4)=>(_0x34b36e,_0x580c19)=>_0x571bc4(_0x34b36e,_0x580c19,_0xebf081);const _0x567576=['image/png','image/jpeg','image/jpg',_0x2fa915(0x4ac),_0x2fa915(0x435)],_0x5dc1af=0x5*0x400*0x400,_0x3ef7d1=_0x2fa915(0x479),_0x340bfb=_0x2fa915(0x2b6),_0x2ed414=_0x2fa915(0x62a),_0x153c07=_0x2fa915(0x485);_0x539c7e['ImageIoService']=class{constructor(_0x151ab6,_0x30025f,_0x19288f){const _0x5a0ad5=_0x2fa915;_0x339ceb(this,_0x5a0ad5(0x55d),0x0),_0x339ceb(this,_0x5a0ad5(0x2b0),new _0x3eec93['Subject']()),_0x339ceb(this,_0x5a0ad5(0x388),this[_0x5a0ad5(0x2b0)]),_0x339ceb(this,_0x5a0ad5(0x570),new Map()),(this[_0x5a0ad5(0x62e)]=_0x151ab6,this[_0x5a0ad5(0x4e4)]=_0x30025f,this[_0x5a0ad5(0x3c1)]=_0x19288f);}[_0x2fa915(0x517)](_0xc1d466){const _0x4cb9c8=_0x2fa915;this[_0x4cb9c8(0x55d)]=_0xc1d466,this[_0x4cb9c8(0x2b0)][_0x4cb9c8(0x1c9)](_0xc1d466);}['getImageSourceCache'](_0x2d2f71,_0x4edfb7){const _0x5e8492=_0x2fa915;if(_0x4edfb7===_0x4fc574['ImageSourceType'][_0x5e8492(0x173)]){const _0x3bbc7f=new Image();return _0x3bbc7f[_0x5e8492(0x2df)]=_0x2d2f71,_0x3bbc7f;}return this[_0x5e8492(0x570)][_0x5e8492(0x4a0)](_0x2d2f71);}['addImageSourceCache'](_0x14a94d,_0x305c9a,_0x5a4f61){const _0x3dd3f3=_0x2fa915;_0x305c9a===_0x4fc574[_0x3dd3f3(0x180)][_0x3dd3f3(0x173)]||_0x5a4f61==null||this[_0x3dd3f3(0x570)][_0x3dd3f3(0x498)](_0x14a94d,_0x5a4f61);}async[_0x2fa915(0x567)](_0x5a8301){const _0x335d41=_0x2fa915;try{const _0x2bd59a=this[_0x335d41(0x56c)](this[_0x335d41(0x503)](),''+_0x5a8301),_0x4166f9=(await this['_httpService'][_0x335d41(0x4a0)](_0x2bd59a))[_0x335d41(0x2e6)];if(_0x4166f9[_0x335d41(0x3a9)]&&_0x4166f9['error']['code']===_0x58d884['OK']){const _0x272bc8=new URL(_0x4166f9[_0x335d41(0x1a6)],this[_0x335d41(0x5a2)]())['toString']();return Promise['resolve'](_0x272bc8);}return Promise['reject'](_0x4166f9[_0x335d41(0x3a9)]);}catch(_0x540070){return Promise[_0x335d41(0x351)](_0x540070);}}async['saveImage'](_0x3c247e){const _0x1cb818=_0x2fa915;let _0xe664cd='';if(!_0x567576[_0x1cb818(0x5c3)](_0x3c247e['type']))return this['_decreaseWaiting'](),Promise[_0x1cb818(0x351)](new Error(_0x4fc574[_0x1cb818(0x326)]['ERROR_IMAGE_TYPE']));if(_0x3c247e['size']>_0x5dc1af)return this['_decreaseWaiting'](),Promise[_0x1cb818(0x351)](new Error(_0x4fc574[_0x1cb818(0x326)][_0x1cb818(0x21b)]));try{const _0x34d9ce=new FormData();_0x34d9ce[_0x1cb818(0x594)](_0x1cb818(0x3af),_0x3c247e);const _0x3267a5=this[_0x1cb818(0x3c1)]['getFocusedUnit'](),_0x2154cd=_0x3267a5==null?void 0x0:_0x3267a5[_0x1cb818(0x1d9)]();if(!_0x2154cd)throw new Error(_0x1cb818(0x4be));const _0xb692c1=this[_0x1cb818(0x3b3)]()+_0x1cb818(0x45f)+_0x3c247e[_0x1cb818(0x18b)][_0x1cb818(0x38a)]()+_0x1cb818(0x261)+_0x2ec092[_0x1cb818(0x1eb)]+_0x1cb818(0x40d)+encodeURIComponent(_0x2154cd),_0x5bc606=await(await fetch(_0xb692c1,{'method':'POST','body':_0x34d9ce}))['json']();if(typeof _0x5bc606[_0x1cb818(0x626)]!=_0x1cb818(0x241))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x4fc574[_0x1cb818(0x326)]['ERROR_IMAGE']));_0xe664cd=_0x5bc606[_0x1cb818(0x626)];}catch{return this[_0x1cb818(0x3dd)](),Promise['reject'](new Error(_0x4fc574[_0x1cb818(0x326)]['ERROR_IMAGE']));}return new Promise((_0x4b1396,_0x465f09)=>{const _0x4de934=_0x1cb818,_0x516214=new FileReader();_0x516214[_0x4de934(0x4da)](_0x3c247e),_0x516214[_0x4de934(0x5bb)]=_0x19b0b4=>{const _0x5cf87e=_0x4de934;var _0x3b4577;const _0x581640=(_0x3b4577=_0x19b0b4[_0x5cf87e(0x22a)])==null?void 0x0:_0x3b4577['result'];if(_0x581640==null){this[_0x5cf87e(0x3dd)](),_0x465f09(new Error(_0x4fc574[_0x5cf87e(0x326)][_0x5cf87e(0x46c)]));return;}const _0x5cc93f=_0x4587e1[_0x5cf87e(0x5f7)][_0x5cf87e(0x334)](0x6);_0x4b1396({'imageId':_0x5cc93f,'imageSourceType':_0x4fc574['ImageSourceType'][_0x5cf87e(0x2cd)],'source':_0xe664cd,'base64Cache':_0x581640,'status':_0x4fc574[_0x5cf87e(0x326)]['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x2fa915(0x3b3)](){const _0x1b3eb3=_0x2fa915;var _0x4fe6f6,_0x414958;const _0x1ebb0c=this[_0x1b3eb3(0x4e4)][_0x1b3eb3(0x185)](_0x3ef7d1),_0xa95247=this[_0x1b3eb3(0x4e4)][_0x1b3eb3(0x185)](_0x152bb8);return(_0x414958=(_0x4fe6f6=_0xa95247==null?void 0x0:_0xa95247[_0x1b3eb3(0x555)])!=null?_0x4fe6f6:_0x1ebb0c)!=null?_0x414958:_0x340bfb;}[_0x2fa915(0x503)](){const _0x42af0d=_0x2fa915;var _0xc36b3d,_0x58e650;const _0x11682e=this[_0x42af0d(0x4e4)][_0x42af0d(0x185)](_0x2ed414),_0x3b59fd=this[_0x42af0d(0x4e4)][_0x42af0d(0x185)](_0x152bb8);return(_0x58e650=(_0xc36b3d=_0x3b59fd==null?void 0x0:_0x3b59fd['signUrlServerUrl'])!=null?_0xc36b3d:_0x11682e)!=null?_0x58e650:_0x153c07;}[_0x2fa915(0x5a2)](){const _0x5f07c7=_0x2fa915;var _0x1b1549;const _0x3d53a6=this[_0x5f07c7(0x4e4)][_0x5f07c7(0x185)](_0x152bb8);return(_0x1b1549=_0x3d53a6==null?void 0x0:_0x3d53a6['downloadEndpointUrl'])!=null?_0x1b1549:location[_0x5f07c7(0x505)];}[_0x2fa915(0x56c)](_0x181001,_0x53101c){const _0x2133f4=_0x2fa915;return _0x181001[_0x2133f4(0x1a2)]('{fileID}',_0x53101c);}[_0x2fa915(0x3dd)](){const _0x23daaa=_0x2fa915;this['_waitCount']-=0x1,this['_change$']['next'](this[_0x23daaa(0x55d)]);}},_0x539c7e[_0x2fa915(0x53e)]=_0x5b8e0a([_0x28870c(0x0,_0x4587e1[_0x2fa915(0x42b)](_0x108d2c['HTTPService'])),_0x28870c(0x1,_0x4587e1[_0x2fa915(0x628)]),_0x28870c(0x2,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x53b)]))],_0x539c7e[_0x2fa915(0x53e)]);var _0x567f8d=Object[_0x2fa915(0x44e)],_0x8d5c61=Object[_0x2fa915(0x569)],_0xea8fb6=(_0x5d7a44,_0x28000a,_0x3e29bc,_0x2fd83c)=>{const _0x5bbb39=_0x2fa915;for(var _0x1ecce4=_0x2fd83c>0x1?void 0x0:_0x2fd83c?_0x8d5c61(_0x28000a,_0x3e29bc):_0x28000a,_0x5269d0=_0x5d7a44[_0x5bbb39(0x4d9)]-0x1,_0x22e7ca;_0x5269d0>=0x0;_0x5269d0--)(_0x22e7ca=_0x5d7a44[_0x5269d0])&&(_0x1ecce4=(_0x2fd83c?_0x22e7ca(_0x28000a,_0x3e29bc,_0x1ecce4):_0x22e7ca(_0x1ecce4))||_0x1ecce4);return _0x2fd83c&&_0x1ecce4&&_0x567f8d(_0x28000a,_0x3e29bc,_0x1ecce4),_0x1ecce4;},_0x2ae8b5=(_0x54e134,_0x3084ef)=>(_0x3fdebf,_0x2d585b)=>_0x3084ef(_0x3fdebf,_0x2d585b,_0x54e134);let _0x571cf0=class extends _0x4587e1[_0x2fa915(0x5b2)]{constructor(_0x286427,_0x43aeca,_0x4b5508,_0x27492c,_0x2943f3){const _0x1c3fbe=_0x2fa915;super(),this['_injector']=_0x286427,this[_0x1c3fbe(0x3c1)]=_0x43aeca,this[_0x1c3fbe(0x27f)]=_0x4b5508,this[_0x1c3fbe(0x31a)]=_0x27492c,this[_0x1c3fbe(0x497)]=_0x2943f3,this[_0x1c3fbe(0x2f5)](),this['_initCloseConn']();}[_0x2fa915(0x4f5)](){const _0x252312=_0x2fa915,_0x5c126c=async _0xd08fc=>{const _0xeda032=_0x5275;(await this[_0xeda032(0x31a)][_0xeda032(0x3ef)](_0xd08fc))[_0xeda032(0x4ca)][_0xeda032(0x276)](_0x18f07e['filter'](_0x4685a4=>_0x4685a4[_0xeda032(0x526)]===_0x215e4a[_0xeda032(0x27c)][_0xeda032(0x616)]),_0x18f07e['takeUntil'](this[_0xeda032(0x1ad)]))[_0xeda032(0x447)](_0x4e9eb9=>{const _0x32a947=_0xeda032,_0x360054=_0x4e9eb9,{reason:_0x103fbb}=_0x360054[_0x32a947(0x273)];this['_injector']['get'](_0x3163bd[_0x32a947(0x259)])[_0x32a947(0x1ca)]({'type':_0x40b71f['MessageType'][_0x32a947(0x490)],'content':this[_0x32a947(0x497)]['t'](_0x32a947(0x341))+'('+_0x103fbb+')'}),this[_0x32a947(0x27f)]['updatePermissionPoint'](new _0x27d820[(_0x32a947(0x3da))](_0xd08fc)['id'],!0x1),this[_0x32a947(0x31a)][_0x32a947(0x465)](_0xd08fc);});};_0x3eec93[_0x252312(0x538)](this[_0x252312(0x3c1)][_0x252312(0x39e)](_0x4587e1[_0x252312(0x637)][_0x252312(0x3ee)]),this[_0x252312(0x3c1)][_0x252312(0x39e)](_0x4587e1[_0x252312(0x637)][_0x252312(0x27b)]))[_0x252312(0x276)](_0x18f07e[_0x252312(0x252)](_0x24e8a6=>_0x24e8a6[_0x252312(0x1d9)]()),_0x18f07e[_0x252312(0x333)](_0x45fb42=>!_0x4587e1[_0x252312(0x4e6)](_0x45fb42)),_0x18f07e['takeUntil'](this['dispose$']))[_0x252312(0x447)](_0x532894=>{_0x5c126c(_0x532894);});}['_initUnitPermissionChange'](){const _0x27645b=_0x2fa915,_0x4f6bca=async _0x41da18=>{const _0x59d092=_0x5275;(await this[_0x59d092(0x31a)][_0x59d092(0x3ef)](_0x41da18))[_0x59d092(0x4ca)]['pipe'](_0x18f07e[_0x59d092(0x333)](_0x71a5af=>_0x71a5af[_0x59d092(0x526)]===_0x215e4a[_0x59d092(0x27c)][_0x59d092(0x401)]),_0x18f07e[_0x59d092(0x2b3)](this[_0x59d092(0x1ad)]))[_0x59d092(0x447)](_0xe5a0f=>{const _0x477f2f=_0x59d092,_0x31947a=_0xe5a0f,{objectId:_0x35b59b}=_0x31947a[_0x477f2f(0x273)],_0x1a9fe0=this[_0x477f2f(0x60e)][_0x477f2f(0x4a0)](_0x23bfa7[_0x477f2f(0x604)]);_0x35b59b===_0x41da18?_0x1a9fe0[_0x477f2f(0x3a7)](_0x41da18):_0x1a9fe0['refreshPermission'](_0x41da18,_0x35b59b);});};_0x3eec93[_0x27645b(0x538)](this[_0x27645b(0x3c1)][_0x27645b(0x39e)](_0x4587e1[_0x27645b(0x637)][_0x27645b(0x3ee)]),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x4587e1[_0x27645b(0x637)][_0x27645b(0x27b)]))[_0x27645b(0x276)](_0x18f07e['map'](_0x18f7e7=>_0x18f7e7[_0x27645b(0x1d9)]()),_0x18f07e[_0x27645b(0x333)](_0x2174aa=>!_0x4587e1['isInternalEditorID'](_0x2174aa)),_0x18f07e[_0x27645b(0x2b3)](this[_0x27645b(0x1ad)]))[_0x27645b(0x447)](_0x439828=>{_0x4f6bca(_0x439828);});}};_0x571cf0=_0xea8fb6([_0x2ae8b5(0x0,_0x4587e1['Inject'](_0x4587e1[_0x2fa915(0x403)])),_0x2ae8b5(0x1,_0x4587e1[_0x2fa915(0x53b)]),_0x2ae8b5(0x2,_0x4587e1[_0x2fa915(0x220)]),_0x2ae8b5(0x3,_0x4587e1['Inject'](_0x539c7e['CollaborationSessionService'])),_0x2ae8b5(0x4,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1[_0x2fa915(0x1e2)]))],_0x571cf0);var _0x3dda2d=Object[_0x2fa915(0x44e)],_0x5b3c46=Object[_0x2fa915(0x569)],_0x5df394=(_0x4149d9,_0x6d566,_0x26887e,_0x131342)=>{const _0x4c79d5=_0x2fa915;for(var _0x110026=_0x131342>0x1?void 0x0:_0x131342?_0x5b3c46(_0x6d566,_0x26887e):_0x6d566,_0x114ba3=_0x4149d9[_0x4c79d5(0x4d9)]-0x1,_0x43338e;_0x114ba3>=0x0;_0x114ba3--)(_0x43338e=_0x4149d9[_0x114ba3])&&(_0x110026=(_0x131342?_0x43338e(_0x6d566,_0x26887e,_0x110026):_0x43338e(_0x110026))||_0x110026);return _0x131342&&_0x110026&&_0x3dda2d(_0x6d566,_0x26887e,_0x110026),_0x110026;},_0x24d55a=(_0x844141,_0x4c181a)=>(_0x426efc,_0x507c52)=>_0x4c181a(_0x426efc,_0x507c52,_0x844141);_0x539c7e[_0x2fa915(0x311)]=class{constructor(_0x4dd186,_0xb59c54){const _0x1db16f=_0x2fa915;this[_0x1db16f(0x4e4)]=_0x4dd186,this[_0x1db16f(0x62e)]=_0xb59c54;}async[_0x2fa915(0x1e1)](_0x2a58ff,_0x34cd49){const _0x34efe9=_0x2fa915;var _0x11736b;const {unitID:_0x541814,type:_0x175110,revision:_0x5316a1=0x0}=_0x34cd49,_0x46d3eb=this[_0x34efe9(0x2bc)]()+'/'+_0x175110+_0x34efe9(0x2f8)+_0x541814+_0x34efe9(0x36b)+_0x5316a1,_0x46ecc3=(await this[_0x34efe9(0x62e)][_0x34efe9(0x4a0)](_0x46d3eb))[_0x34efe9(0x2e6)],_0x23ccc2=(_0x11736b=_0x46ecc3[_0x34efe9(0x393)])==null?void 0x0:_0x11736b[_0x34efe9(0x343)];if(_0x23ccc2){const _0x322351=_0x23ccc2==null?void 0x0:_0x23ccc2[_0x34efe9(0x199)],_0x22fada=_0x215e4a[_0x34efe9(0x373)][_0x34efe9(0x610)](_0x215e4a[_0x34efe9(0x5db)](_0x322351));_0x23ccc2[_0x34efe9(0x199)]=_0x22fada,Object[_0x34efe9(0x175)](_0x23ccc2[_0x34efe9(0x2ef)])[_0x34efe9(0x34b)](([,_0x83ae30])=>{const _0x3eeb6e=_0x34efe9,_0x3fc76c=_0x83ae30[_0x3eeb6e(0x199)],_0x3312f1=_0x215e4a[_0x3eeb6e(0x373)]['encode'](_0x215e4a[_0x3eeb6e(0x5db)](_0x3fc76c));_0x83ae30[_0x3eeb6e(0x199)]=_0x3312f1;});}return _0x46ecc3;}async['getSheetBlock'](_0x238f15,_0xcd93a5){const _0x5252f2=_0x2fa915,{unitID:_0x52fe68,type:_0x5be0de,blockID:_0xdce8ca}=_0xcd93a5,_0x6761f7=this[_0x5252f2(0x26e)]()+'/'+_0x5be0de+'/unit/'+_0x52fe68+_0x5252f2(0x4c6)+_0xdce8ca;return(await this['_httpService'][_0x5252f2(0x4a0)](_0x6761f7))[_0x5252f2(0x2e6)];}async[_0x2fa915(0x437)](_0x33fdc3,_0x5e0c37){const _0x42c969=_0x2fa915,{unitID:_0x547972,type:_0x77e5f3,blockID:_0x32f21a}=_0x5e0c37,_0x45523d=this['_getAPIPrefix']()+_0x42c969(0x4c6)+_0x77e5f3+_0x42c969(0x2f8)+_0x547972+'/block/'+_0x32f21a;return(await this[_0x42c969(0x62e)][_0x42c969(0x4a0)](_0x45523d))['body'];}async[_0x2fa915(0x4ef)](_0x2c8900,_0x4bdcb5){const _0xffa5b6=_0x2fa915,{unitID:_0x4cd7b6,type:_0x11bf59,from:_0x4fddd4,to:_0x1e46d2}=_0x4bdcb5,_0x3ddfda=this[_0xffa5b6(0x26e)]()+'/'+_0x11bf59+_0xffa5b6(0x2f8)+_0x4cd7b6+_0xffa5b6(0x255)+_0x4fddd4+'&to='+_0x1e46d2;return(await this[_0xffa5b6(0x62e)]['get'](_0x3ddfda))['body'];}[_0x2fa915(0x2bc)](){const _0x208786=_0x2fa915;var _0x42caf1;return(_0x42caf1=this[_0x208786(0x4e4)]['getConfig'](_0xda4d44))!=null?_0x42caf1:this['_getAPIPrefix']();}['_getAPIPrefix'](){const _0x14984c=_0x2fa915;var _0x173a7a,_0x2da3fd;const _0x12e057=this[_0x14984c(0x4e4)][_0x14984c(0x185)](_0x1b173d),_0x394f47=this['_configService'][_0x14984c(0x185)](_0x152bb8);return(_0x2da3fd=(_0x173a7a=_0x394f47==null?void 0x0:_0x394f47[_0x14984c(0x516)])!=null?_0x173a7a:_0x12e057)!=null?_0x2da3fd:_0x425cf9;}async[_0x2fa915(0x523)](_0x3050ae,_0x49f8e0){const _0x56c26a=_0x2fa915,_0x420c9f=_0x56c26a(0x5cb)+_0x49f8e0['type']+'/unit/'+_0x49f8e0[_0x56c26a(0x2d1)]+_0x56c26a(0x46b);return(await this[_0x56c26a(0x62e)]['get'](_0x420c9f,{'params':{'resourceId':JSON['stringify'](_0x49f8e0[_0x56c26a(0x2e7)])}}))[_0x56c26a(0x2e6)];}['saveSnapshot'](){const _0x269546=_0x2fa915;throw new Error(_0x269546(0x5a8));}['saveSheetBlock'](){const _0x50b94f=_0x2fa915;throw new Error(_0x50b94f(0x5a8));}[_0x2fa915(0x3cf)](){const _0x170e65=_0x2fa915;throw new Error(_0x170e65(0x5a8));}[_0x2fa915(0x2f3)](){const _0x36152e=_0x2fa915;throw new Error(_0x36152e(0x5a8));}[_0x2fa915(0x42c)](){const _0x163f01=_0x2fa915;throw new Error(_0x163f01(0x5a8));}},_0x539c7e[_0x2fa915(0x311)]=_0x5df394([_0x24d55a(0x0,_0x4587e1[_0x2fa915(0x628)]),_0x24d55a(0x1,_0x4587e1[_0x2fa915(0x42b)](_0x108d2c[_0x2fa915(0x49f)]))],_0x539c7e[_0x2fa915(0x311)]);var _0x6555e=Object[_0x2fa915(0x44e)],_0x4867e4=Object[_0x2fa915(0x569)],_0x1b3672=(_0x6d8ac9,_0x104f26,_0x4ffe3f,_0x22037b)=>{const _0x3c5007=_0x2fa915;for(var _0x527180=_0x22037b>0x1?void 0x0:_0x22037b?_0x4867e4(_0x104f26,_0x4ffe3f):_0x104f26,_0x47d6d1=_0x6d8ac9[_0x3c5007(0x4d9)]-0x1,_0x194602;_0x47d6d1>=0x0;_0x47d6d1--)(_0x194602=_0x6d8ac9[_0x47d6d1])&&(_0x527180=(_0x22037b?_0x194602(_0x104f26,_0x4ffe3f,_0x527180):_0x194602(_0x527180))||_0x527180);return _0x22037b&&_0x527180&&_0x6555e(_0x104f26,_0x4ffe3f,_0x527180),_0x527180;},_0x16feb4=(_0x4f306a,_0x597e0e)=>(_0x1d3170,_0x269ab1)=>_0x597e0e(_0x1d3170,_0x269ab1,_0x4f306a);let _0x5295d9=class extends _0x4587e1[_0x2fa915(0x3e8)]{constructor(_0x1f06b6,_0x5edd0c,_0x596192,_0xbd8aaa,_0x3ade55){const _0x1ac2b=_0x2fa915;super(_0x1f06b6,_0x5edd0c,_0x596192),this[_0x1ac2b(0x493)]=_0xbd8aaa,this[_0x1ac2b(0x43a)]=_0x3ade55;}[_0x2fa915(0x397)](_0x4b09ad,_0x1c512d){const _0xa42b07=_0x2fa915,_0xfb5a67=this[_0xa42b07(0x48c)](_0x4b09ad);if(_0xfb5a67)try{const _0x24fc8b=this[_0xa42b07(0x30e)](_0xfb5a67,_0x1c512d);this[_0xa42b07(0x328)](_0x4b09ad,_0x24fc8b);}catch(_0x292c6d){this[_0xa42b07(0x43a)][_0xa42b07(0x3a9)](_0xa42b07(0x25c),_0x292c6d),this[_0xa42b07(0x407)](_0x4b09ad);}const _0x429a93=this[_0xa42b07(0x2f1)](_0x4b09ad);if(_0x429a93)try{const _0x501b2a=this['_transformStack'](_0x429a93,_0x1c512d);this[_0xa42b07(0x404)](_0x4b09ad,_0x501b2a);}catch(_0x44457f){this[_0xa42b07(0x43a)]['error'](_0x44457f),this[_0xa42b07(0x4c7)](_0x4b09ad);}}[_0x2fa915(0x407)](_0x415f42){const _0x44abc9=_0x2fa915,_0x1f2adb=this[_0x44abc9(0x48c)](_0x415f42);_0x1f2adb&&(_0x1f2adb['length']=0x0,this[_0x44abc9(0x550)]());}[_0x2fa915(0x4c7)](_0x53aff2){const _0xc82f11=_0x2fa915,_0x1f11b6=this[_0xc82f11(0x2f1)](_0x53aff2);_0x1f11b6&&(_0x1f11b6[_0xc82f11(0x4d9)]=0x0,this[_0xc82f11(0x550)]());}['_substituteUndoStack'](_0x209d75,_0x31894c){const _0x983b5c=_0x2fa915;this[_0x983b5c(0x4f4)][_0x983b5c(0x498)](_0x209d75,_0x31894c),this[_0x983b5c(0x550)]();}[_0x2fa915(0x404)](_0x463498,_0x4028c8){const _0x4e0ef6=_0x2fa915;this[_0x4e0ef6(0x1be)]['set'](_0x463498,_0x4028c8),this[_0x4e0ef6(0x550)]();}[_0x2fa915(0x30e)](_0x5e18d3,_0xcaa65b){const _0x22d73a=_0x2fa915,_0x96a209=[];let _0xf76f6d=_0xcaa65b,_0x58a46e=_0xcaa65b;for(let _0x536a39=_0x5e18d3[_0x22d73a(0x4d9)]-0x1;_0x536a39>=0x0;_0x536a39--){const {unitID:_0x1aa3af,undoMutations:_0x4d19f0,redoMutations:_0x20994e}=_0x5e18d3[_0x536a39],_0x294176=this[_0x22d73a(0x493)][_0x22d73a(0x439)](_0xf76f6d,_0x4d19f0),_0x5c0419=this[_0x22d73a(0x493)][_0x22d73a(0x439)](_0x58a46e,_0x20994e);if(_0x215e4a[_0x22d73a(0x301)](_0x294176)||_0x215e4a[_0x22d73a(0x301)](_0x5c0419)){this[_0x22d73a(0x43a)][_0x22d73a(0x3a9)](_0x22d73a(0x25c),'transformStack\x20failed!',_0x294176,_0x5c0419);break;}_0xf76f6d=_0x294176[_0x22d73a(0x17e)],_0x58a46e=_0x5c0419[_0x22d73a(0x17e)],_0x96a209[_0x22d73a(0x367)]({'unitID':_0x1aa3af,'undoMutations':_0x294176['m2Prime'],'redoMutations':_0x5c0419['m2Prime']});}return _0x96a209[_0x22d73a(0x358)]();}};_0x5295d9=_0x1b3672([_0x16feb4(0x0,_0x4587e1[_0x2fa915(0x53b)]),_0x16feb4(0x1,_0x4587e1[_0x2fa915(0x60b)]),_0x16feb4(0x2,_0x4587e1[_0x2fa915(0x5c2)]),_0x16feb4(0x3,_0x215e4a[_0x2fa915(0x34d)]),_0x16feb4(0x4,_0x4587e1[_0x2fa915(0x62b)])],_0x5295d9);class _0x333183 extends _0x4587e1[_0x2fa915(0x5b2)]{constructor(){const _0x5bae60=_0x2fa915;super(),_0x339ceb(this,'urlChange$'),this[_0x5bae60(0x568)]=_0x3eec93['fromEvent'](window,_0x5bae60(0x18d))[_0x5bae60(0x276)](_0x3eec93[_0x5bae60(0x2b3)](this['dispose$']),_0x3eec93[_0x5bae60(0x23f)](0x1),_0x3eec93['mapTo'](void 0x0));}[_0x2fa915(0x4c4)](_0x33ce8f,_0x25bdd8,_0x4e6dc9=!0x1){const _0x4fc4ce=_0x2fa915,_0x23b7d2=new URL(window['location'][_0x4fc4ce(0x1cf)]);_0x23b7d2['searchParams']['set'](_0x33ce8f,_0x25bdd8),_0x4e6dc9?window[_0x4fc4ce(0x2d6)][_0x4fc4ce(0x48b)]('','',_0x23b7d2[_0x4fc4ce(0x38a)]()):window[_0x4fc4ce(0x2d6)][_0x4fc4ce(0x588)]('','',_0x23b7d2[_0x4fc4ce(0x38a)]());}[_0x2fa915(0x456)](_0x487d14,_0x22be18=!0x1){const _0x512730=_0x2fa915,_0x3403d4=new URL(window['location'][_0x512730(0x1cf)]);_0x3403d4[_0x512730(0x51f)][_0x512730(0x4e2)](_0x487d14),_0x22be18?window[_0x512730(0x2d6)][_0x512730(0x48b)]('','',_0x3403d4[_0x512730(0x38a)]()):window[_0x512730(0x2d6)][_0x512730(0x588)]('','',_0x3403d4[_0x512730(0x38a)]());}['getParam'](_0x260efc){const _0x443b4f=_0x2fa915;var _0x495fcc;return(_0x495fcc=new URL(window['location'][_0x443b4f(0x1cf)])['searchParams'][_0x443b4f(0x4a0)](_0x260efc))!=null?_0x495fcc:void 0x0;}}var _0x31f8ad=Object[_0x2fa915(0x44e)],_0xa0ba4c=Object[_0x2fa915(0x569)],_0x421898=(_0x2f338f,_0x5976a2,_0x840841)=>_0x5976a2 in _0x2f338f?_0x31f8ad(_0x2f338f,_0x5976a2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x840841}):_0x2f338f[_0x5976a2]=_0x840841,_0x1071e9=(_0x882ef,_0x1f4eb3,_0x460978,_0x4d572f)=>{const _0x138a5c=_0x2fa915;for(var _0x533437=_0x4d572f>0x1?void 0x0:_0x4d572f?_0xa0ba4c(_0x1f4eb3,_0x460978):_0x1f4eb3,_0xa31ea4=_0x882ef[_0x138a5c(0x4d9)]-0x1,_0x5c4cd7;_0xa31ea4>=0x0;_0xa31ea4--)(_0x5c4cd7=_0x882ef[_0xa31ea4])&&(_0x533437=(_0x4d572f?_0x5c4cd7(_0x1f4eb3,_0x460978,_0x533437):_0x5c4cd7(_0x533437))||_0x533437);return _0x4d572f&&_0x533437&&_0x31f8ad(_0x1f4eb3,_0x460978,_0x533437),_0x533437;},_0x3d6f5e=(_0x4c5238,_0xcf1816)=>(_0x494da6,_0x5c4fb1)=>_0xcf1816(_0x494da6,_0x5c4fb1,_0x4c5238),_0x3ca693=(_0x193c45,_0x1697b9,_0x14bfbb)=>_0x421898(_0x193c45,_0x1697b9+'',_0x14bfbb);const _0x86a8fd=_0x2fa915(0x363);_0x539c7e['UniverCollaborationClientPlugin']=class extends _0x4587e1[_0x2fa915(0x5ed)]{constructor(_0xe429dd=_0x486456,_0x4a5d4f,_0x3602a8,_0x31e33d,_0x4c5870){const _0x48d40f=_0x2fa915;super(),this[_0x48d40f(0x2b5)]=_0xe429dd,this[_0x48d40f(0x43a)]=_0x4a5d4f,this[_0x48d40f(0x476)]=_0x3602a8,this[_0x48d40f(0x60e)]=_0x31e33d,this[_0x48d40f(0x4e4)]=_0x4c5870;const {..._0x336396}=this[_0x48d40f(0x2b5)];this['_configService'][_0x48d40f(0x23b)](_0x152bb8,_0x336396);}[_0x2fa915(0x4b5)](){const _0x3e6894=_0x2fa915;this[_0x3e6894(0x419)](),this[_0x3e6894(0x2fa)]();}['onReady'](){const _0x1219c2=_0x2fa915;_0x4587e1['touchDependencies'](this[_0x1219c2(0x60e)],[[_0x4a666c]]);}['onRendered'](){const _0x319d19=_0x2fa915;this[_0x319d19(0x1b1)]();}[_0x2fa915(0x419)](){const _0x30a591=_0x2fa915;var _0xbda497,_0x4856ad,_0x1e2bac,_0x368129;this['_injector'][_0x30a591(0x364)](_0x4587e1[_0x30a591(0x428)])&&this[_0x30a591(0x43a)][_0x30a591(0x3a9)](_0x30a591(0x2c1),_0x30a591(0x5c8));const _0x126c8e=[[_0x4587e1[_0x30a591(0x428)],{'useClass':_0x5295d9}],[_0x539c7e[_0x30a591(0x240)]],[_0x1938ad],[_0x4791ca,{'useClass':_0x333183}],[_0x539c7e[_0x30a591(0x1d1)]],[_0x539c7e['LocalCacheService']],[_0x108d2c['WebSocketService']],[_0x2a0fa4],[_0x2e0132],[_0xf435ee],[_0x952708],[_0x54132e],[_0x4c6e52],[_0x10d588],[_0x2707ce],[_0x571cf0],[_0x5a365e,{'useClass':(_0x4856ad=(_0xbda497=this['_config'])==null?void 0x0:_0xbda497[_0x30a591(0x30c)])!=null?_0x4856ad:_0x539c7e[_0x30a591(0x629)]}],[_0x215e4a[_0x30a591(0x53d)],{'useClass':_0x539c7e['SnapshotServerOverHTTPService']}],[_0x4587e1[_0x30a591(0x1a0)],{'useClass':_0x539c7e[_0x30a591(0x1c5)]}],[_0x4fc574[_0x30a591(0x615)],{'useClass':_0x539c7e[_0x30a591(0x53e)]}],[_0x539c7e[_0x30a591(0x38e)]],[_0x539c7e['DataLoaderController']],[_0x539c7e[_0x30a591(0x59c)]],[_0x4a666c],[_0x49f33]];(_0x1e2bac=this[_0x30a591(0x2b5)])!=null&&_0x1e2bac[_0x30a591(0x5d6)]&&_0x126c8e[_0x30a591(0x367)]([_0x426f76,{'useClass':_0x707295}]),_0x4587e1['registerDependencies'](this[_0x30a591(0x60e)],_0x4587e1[_0x30a591(0x48e)](_0x126c8e,(_0x368129=this[_0x30a591(0x2b5)])==null?void 0x0:_0x368129[_0x30a591(0x3e3)]));}[_0x2fa915(0x1b1)](){const _0x63fde=_0x2fa915;this[_0x63fde(0x211)](this['_renderManagerService'][_0x63fde(0x25a)](_0x4587e1[_0x63fde(0x637)][_0x63fde(0x27b)],[_0x33787c])),this[_0x63fde(0x211)](this[_0x63fde(0x476)][_0x63fde(0x25a)](_0x4587e1[_0x63fde(0x637)][_0x63fde(0x3ee)],[_0x40b948]));}[_0x2fa915(0x2fa)](){const _0x555092=_0x2fa915;var _0x37a2a3,_0x124041;this[_0x555092(0x60e)][_0x555092(0x4a0)](_0x108d2c[_0x555092(0x49f)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x108d2c[_0x555092(0x5a4)]({'maxParallel':0x6})}),(_0x37a2a3=this['_config'])!=null&&_0x37a2a3[_0x555092(0x4cc)]||this[_0x555092(0x60e)][_0x555092(0x4a0)](_0x539c7e[_0x555092(0x408)])[_0x555092(0x42d)](),(_0x124041=this[_0x555092(0x2b5)])!=null&&_0x124041[_0x555092(0x5d7)]&&_0x4587e1[_0x555092(0x2ed)](this[_0x555092(0x60e)],[[_0x4c6e52]]),_0x4587e1[_0x555092(0x2ed)](this[_0x555092(0x60e)],[[_0x10d588],[_0x49f33],[_0x539c7e[_0x555092(0x19b)]],[_0x539c7e[_0x555092(0x38e)]],[_0x539c7e['DesktopCollaborationStatusDisplayController']],[_0x571cf0]]);}},_0x3ca693(_0x539c7e[_0x2fa915(0x3f8)],_0x2fa915(0x369),_0x86a8fd),_0x539c7e[_0x2fa915(0x3f8)]=_0x1071e9([_0x4587e1[_0x2fa915(0x553)](_0x215e4a[_0x2fa915(0x22e)],_0x108d2c[_0x2fa915(0x3a8)]),_0x3d6f5e(0x1,_0x4587e1[_0x2fa915(0x62b)]),_0x3d6f5e(0x2,_0x25d31a['IRenderManagerService']),_0x3d6f5e(0x3,_0x4587e1[_0x2fa915(0x42b)](_0x4587e1['Injector'])),_0x3d6f5e(0x4,_0x4587e1[_0x2fa915(0x628)])],_0x539c7e[_0x2fa915(0x3f8)]),_0x539c7e[_0x2fa915(0x3f9)]=_0x4594be,_0x539c7e[_0x2fa915(0x462)]=_0xecaf7c,_0x539c7e[_0x2fa915(0x2b2)]=_0x58836a,_0x539c7e[_0x2fa915(0x29c)]=_0x3b904c,_0x539c7e[_0x2fa915(0x206)]=_0x2e49a0,_0x539c7e[_0x2fa915(0x384)]=_0x2707ce,_0x539c7e['HEARTBEAT_INTERVAL_KEY']=_0x4a8a98,_0x539c7e['HEARTBEAT_TIMEOUT_KEY']=_0xa4064f,_0x539c7e[_0x2fa915(0x292)]=_0x5a365e,_0x539c7e[_0x2fa915(0x208)]=_0x4791ca,_0x539c7e[_0x2fa915(0x1bd)]=_0x4c60f6,_0x539c7e[_0x2fa915(0x332)]=_0x456ae0,_0x539c7e[_0x2fa915(0x263)]=_0xceef47,_0x539c7e[_0x2fa915(0x1fa)]=_0x434cfe,_0x539c7e['SNAPSHOT_SERVER_URL_KEY']=_0x1b173d,_0x539c7e[_0x2fa915(0x20d)]=_0xda4d44,_0x539c7e[_0x2fa915(0x4fd)]=_0x474ede,_0x539c7e[_0x2fa915(0x1f1)]=_0x257c8d,_0x539c7e[_0x2fa915(0x2e9)]=_0x333183,_0x539c7e[_0x2fa915(0x2d7)]=_0x99cd90,_0x539c7e[_0x2fa915(0x56e)]=_0x40533c,Object['defineProperty'](_0x539c7e,Symbol[_0x2fa915(0x583)],{'value':_0x2fa915(0x1cd)});}));function _0x2a28(){const _0x219b78=['univerjs-icon\x20univerjs-icon-','_replaceFileID','DocSkeletonManagerService','serializeCombRequest','error$','_imageSourceCache','_replayCachedMutations','endRow','_collaborationController','NodePositionConvertToRectRange','registerRefRange','_compressMutationService','M0\x200H16V16H0z','ref','debounceTime','parseChangesetToProtocol','updateMember','handleIRemoveRow','slice','UNKNOWN_CMD','_type','members','UniverSheets','iterations','toStringTag','objectType','getRandomValues','21cHzRel','hidden','pushState','ciphertext','@univerjs/rpc','_onConnectionOpen','getColor','APPLY_PERMISSION_DENIED','randomBytes','InsertSheetMutation','subunit','getAncestorScale','getCurrentRevOfUnit','session','append','_initStatusComponent','assign','[OfflineState]:\x20received\x20changeset.','_state$','height','Shape','restore','DesktopCollaborationStatusDisplayController','_clearTimeoutTimer','name','memberID','_transformStateCache','decrypt','_getDownloadEndpointURL','UNIVER_SLIDE','ThresholdInterceptorFactory','@univerjs/sheets-ui','JOIN','makeDirty','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_unlockTransition','send','registerHTTPInterceptor','APPLY_DUPLICATED','FAIL','_hideTimer','auth.needGotoLoginAlert','Tooltip','top','RxDisposable','13PUghyO','DocIMEInputManagerService','defs','getRenderById','crypto','engine','LIVESHARE_OPERATION','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','onload','min','$super','_resendTimer','_xformMode','permissionRejEvent','getSheetBySheetId','IContextService','includes','RichTextEditingMutation','Subject','jsxs','defIds','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','MUTATION','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','/universer-api/snapshot/','sin','transformIMECache','socket\x20close','catch','NOT_COLLAB','execute','_handler','InsertRowCommandId','SNAPSHOT_INVALID_SNAPSHOT','updateCursorEvent','enableSingleActiveInstanceLock','enableAuthServer','_transitionLocked','_changesetReqId','_ws','b64DecodeUnicode','setStateCache','ranges','_roomMembers$','isPermissionRej','RemoveColCommandId','_resendTimeout','NodePositionConvertToCursor','propertyIsEnumerable','_docSyncEditingCollabCursorService','create','setAlpha','headers','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','20945680ocfxWP','setItem','loadOfflineData','RemoveRowCommandId','Plugin','getActiveSheet','fillRule','SHA1','_exhaustRemoteChangesetQueue','color','awaiting','APPLY_REJECT','_updateURLWithCurrentState','setShapeProps','Tools','column','_onRemoteACK','setTimeout','_textBubble','newCsEvent','Decryptor','_createHelper','FromArray','icon','toRgbString','_onFetchMissResult','_unitOnClients','SheetPermissionInitController','CHANGESET_REJ','fetchThroughInterceptors','_doReset','@univerjs/core','_removeCollabCursors','compose','ICommandService','transform','_onMessage','_injector','_transformIMECache','encode','onRemoteRetry','_incrementRevisionNumber','_nDataBytes','USERS_LEAVE','IImageIoService','SHOULD_CLOSE_CONN','__Key__','_state','_scene','/universer-api/snapshot','_syncEditingCollabCursor','_uiPartsService','listRoles','capture','on-line-single_clip0_910_349','_labelPosition','stringify','clearTimeout','react','_onCursorUpdate','debounce','FileId','stopTime','IConfigService','CollaborationSocketService','EXCHANGE_SIGN_URL_SERVER_URL_KEY','ILogService','appendMutation','prototype','_httpService','colorChannel1','asObservable','_handleHeartbeatEvent','_transformUndoRedoStack','updateCollaborator','selection','encrypt','conflict.content','UniverInstanceType','_saveTaskMap','fromEvent','univer-offline','cursorInfo$','defaultProps','SEND_CHANGESET_TIMEOUT','_docStateChangeManagerService','some','_init','_throwTelemetryCollaborationNewChangeset','SetSelectionsOperation','_waitForHeartbeatResponse','BASE64','_disabled','entries','_invKeySchedule','PENDING','type','jsx','_listenToOnlineEvent','COLLAB_WEB_SOCKET_URL','online','UniverDrawing','c1Prime','_scheduleCollaborationTimeoutTimer','ImageSourceType','1em','BlockCipherMode','_toggleOffline','_doCryptBlock','getConfig','RefRangeService','skeleton','useCallback','rev','ReactCurrentOwner','size','focused$','popstate','sequenceExecute','verdancy600','addObjects','ACTIVE_UNIT_EVENT_CHANNEL','collaboration-client.config','_onConflict','0\x200\x2016\x2016','CHANGESET_SHOULD_RETRY','getCoordByCell','pauseCollaboration','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','originalMeta','InsertRangeMoveDownCommandId','DataLoaderController','getStateCache','registerBeforeClose','CHANGESET_ACK','_nRounds','IAuthzIoService','SUBMIT_CHANGESET','replace','_commandService','_commentService','_transformRemoteChangesetByIMECache','url','886641dARYXk','textRanges','MSG_FOR_ERROR','_status$','_initMergeInterceptor','UniverCore','dispose$','_executeRemoteChangeset','OpenSSL','fromCharCode','_registerRenderDependencies','sessionStatus','YUUMI_RATE_OVER_LIMIT','_getAnchorBounding','onCommandExecuted','listCollaborators','_draw','text','Workbook','TEXT_RANGE_LAYER_INDEX','ColorKit','getOwnPropertySymbols','LOCAL_CACHE_INTERVAL_KEY','_redoStacks','mode','message$','joinRsp','isActive','Encryptor','_messageService','AuthzIoHttpService','COLLAB_SUBMIT_CHANGESET_URL','DocStateChangeManagerService','_getAPIPrefixPath','next','show','Base64','getMergeData','Module','_candidateSocket','href','@univerjs/engine-render','MemberService','session.connection-failed','_schedule','symbol','CipherParams','/object/','telemetry\x20info\x20is\x20not\x20initialized','substring','getUnitId','JOINING','add','indexOf','onlineStatus','conflict','_minBufferSize','_append','getUnitOnRev','LocaleService','mapDocumentTypeToUniverType','_singleActiveUnitService','univer-online-status','words','onMissedChangesetFetched','deserializeRangeWithSheet','sheetId','[CollaborationSession]','UnitEmbedded','SNAPSHOT_HAS_BEEN_REMOVED','setInterval','POST','_iv','@univerjs/drawing','SheetCollabCursorShape','_saveCache','EffectRefRangId','HttpExport','_clearCollaborationTimeoutTimer','\x20to\x20','requestParams','Hasher','_onOffline','SEND_CHANGESET_TIMEOUT_KEY','collabStatus.conflict','_isPermissionRej','patch','UniverEngineFormula','_cachedData','UniverIcon','SheetsSelectionsService','_initRequestHeader','_createInitialState','getRangePointData','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','CollaborationStatusDisplay','width','IURLService','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','UniverCollaboration','_removeClearOtherTimer','_event$','SNAPSHOT_URL_KEY','then','UniverDocs','lineTo','disposeWithMe','pad','authzUrl','Could\x20not\x20dynamically\x20require\x20\x22','userID','LICENSE_IMPORT_SIZE_EXCEEDED','_undoRedoService','INGEST','MessageType','splice','ERROR_EXCEED_SIZE','CollaborationSession','SetTextSelectionsOperation','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_entities','IPermissionService','off-line-single_clip0_910_343','_rescheduleHeartbeat','getWorkbookSelections','purple300','getCellPositionByOffset','_memberService','concat','681224ZFAQtj','moveTo','target','updatePermissionPoint','createIdentifier','_themeService','UniverCollaborationPlugin','measureText','clone','useObservable','WordArray','reset','BufferedBlockAlgorithm','_send','createCollaborator','roomMembers$','responseType','m2Prime','_collabSessionService','setConfig','UnitSnapshot','getCurrentUser','_hovered','shareReplay','CollaborationSessionService','string','PERMISSION_DENIED','_clearScheduledTask','SetWorksheetActivateCommand','_map','call','onTransformSelections','@univerjs/sheets','setCurrentUser','now','incrementRevOfUnit','LOCAL_CACHE_INTERVAL','_revisionService','COLORS','_range','/allowed','\x20in\x20_schedule.','map','_hash','unit-cache-','/fetchmissing?from=','forwardRef','collabWebSocketUrl','removeMember','IMessageService','registerRenderModule','updateOfflineData','[CollaborationUndoRedoService]','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','OffLineSingle','_initCommandExecutedListener','connection\x20error','&source=','getValue','RETRY_CONNECTING_MAX_COUNT_KEY','@univerjs/docs-ui','displayName','_drawRectRange','getTypeOfUnitDisposed$','list','_colorIndex','location','JSONX','UniverDocsUi','SheetSkeletonManagerService','_getAPIPrefix','_commentUpdate$','CollaborationEntity','_retryConnectingTimer','getCurrentSelections','data','_onUserJoin','@univerjs/ui','pipe','finalize','_doFinalize','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','setActiveRange','UNIVER_DOC','CollaborationEvent','visibilitychange','_showConflictNotification','_permissionService','number','cmd','transformSelections','12XxyvMC','_docTransformIMECacheService','_socketMessageSubscription','_session','#fff','isTransformChangesetsSuccess','_setupBeforeClosingHandler','_iKey','_createInitialStateImpl','roomMembers','_beforeCloseService','UniverDesign','/universer-api/comb','\x20-\x20','values','ICollaborationSocketService','resize','collaboration-session-retry','_updateCollabCursors','_color','enc','Rect','_render','random','BehaviorSubject','CollaborationStatus','_getSendChangesetTimeout','editing\x20status\x20changed\x20to','abs','StreamCipher','unshift','_updateState','684mIdGxl','replaceDocRanges','Hex','toDisposable','_online','handleDeleteRangeMoveLeft','exhaustSavingTask','hostname','collaboration_new_changeset','attrs','_parse','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','sid','_change$','CommandType','COLLAB_WEB_SOCKET_URL_KEY','takeUntil','startRow','_config','/universer-api/stream/file/upload','onSendChangeset','onlineStatusTitle','_fetchMissChangesets','SheetCollaborationEntity','_acknowledgedAwaitingChangeset','_getSnapshotAPIPrefix','selections','_onRefRangeChange','/universer-api/oidc/authpage','getUnhiddenWorksheets','[UniverCollaborationClientPlugin]','MD5','processBlock','SNAPSHOT_SERVER_URL_KEY','title','_resendWithTimeout','bind','confirm','_disableEditing','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','transformMutation','newValue','UUID','unsubscribe','ws://127.0.0.1:8000/universer-api/comb/connect','IBeforeCloseService','unitID','getOffsetConfig','loadDoc','resend','CompressMutationService','history','deserializeToCombResponse','compute','_id','_keySchedule','_cursors','_lastPointer','UNRECOGNIZED','_onJoinRoomEvent','src','IUIPartsService','failed\x20to\x20apply\x20missed\x20changesets!','complete','function','addObject','offline','body','resourceIDs','4718uPVRXM','WebURLService','@univerjs/design','infoRsp','TOO_MANY_REQUESTS','touchDependencies','byteLength','sheets','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_getRedoStack','DocSelectionManagerService','copyFileMeta','_pendingMutations','_initUnitPermissionChange','beginPath','getSheetId','/unit/','clamp','_initDependencies','fetch_missing','fillStyle','getFocusedUnit','collaboration-client.offline-data-not-saved','ILocalStorageService','_updateLocalCache','isTransformMutationsWithChangesetFailure','HMAC','React','_sessionStatus$','handleInsertRow','PasswordBasedCipher','range','_entityInit$','_eventUnsubscribe','_onLocalMutation','MergeInterceptorFactory','socketService','distinctUntilChanged','_transformStack','_sendingTimer','liveShareNewHost','SnapshotServerOverHTTPService','none','_clearLocalCache','onTransformState','_document','editingUnit','_lockTransition','awaiting_with_pending','round','_collaborationSessionService','VIEWPORT_KEY','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','repeat','reqId','leaveEvent','_clearOtherTimers','post','_ensureSubject','COMPLETION_FINISHED','YUUMI_URL_COL_OUT_OF_RANGE','startColumn','ImageUploadStatusType','_startDocCollabCursor','_substituteUndoStack','tag','csAckEvent','awaitingChangeset','UniverRpc','9270XTnhDg','COMPRESS_MUTATION_APPLY','_collabCursorState$','isArray','_http','LOGIN_URL_KEY','filter','generateRandomId','getUndoRedoMutationParamsCache','svg','[OfflineState]:\x20received\x20acknowledgement.','/collaborator','80aqcBzi','default','save\x20fail\x20reason\x20is\x20','close','[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.','lib','setUndoRedoMutationParamsCache','CHANGESET_REVISION_CONFILICT','collaboration.closeRoom','fromEventSubject','workbook','encodeURIComponent','_loadSheet','equals','useRef','state$','_retryCount','onPointerEnter$','forEach','_listenToOfflineEvent','ITransformService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','collaborators','format','reject','USERS_ENTER','cfg','UPDATE_CURSOR','_docSkeletonManagerService','div','_onUserLeave','reverse','HEARTBEAT','@univerjs/engine-formula','_getSheetObject','@univerjs/telemetry','Unknown\x20user','getSheetObject','_startTelemetryCollaborationNewChangeset','CONFLICT','status$','_docTransformStateCacheService','UNIVER_COLLABORATION_CLIENT_PLUGIN','has','\x0aAfter:\x20','rxjs','push','_initResize','pluginName','Utf8','/rev/','interceptor','_ENC_XFORM_MODE','ONLINE','DisposableCollection','_snapshotService','_queuedRemoteChangesets','IRenderManagerService','textEncoder','subscribeEvent','_sendHeartbeatTimer','sessionStatus$','HttpImport','APPLY_REVISION_CONFILICT','getCollabEntity','charCodeAt','_hasher','status','_assignedColors','randomUUID','collabStatus.fetchMiss','_cursorShapes','DocCollaborationEntity','Error\x20on\x20receiving\x20event','DOC_RANGE_TYPE','CommentService','clear','serializeRangeWithSheet','_sendHeartbeat','change$','collabStatus.notCollab','toString','LICENSE_DISTRO_REJECTED','LEAVE','_telemetryService','CollaborationController','getSkeleton','connectInjector','key','_socketReady','snapshot','keySize','collab-rect-range-','sigBytes','transformUndoRedo','_notificationService','[PendingState]:\x20received\x20acknowledgement.','_createSocket','onTransformRemoteChangesetByIMECache','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','objects','getTypeOfUnitAdded$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','synced','/object','createElement','salt','exports','retryConnectingInterval','UNAUTHENTICATED','initWorkbookPermissionChange','UniverNetworkPlugin','error','onTransformRemoteChangesetByStateCache','update','assignAColorForMemberID','_drawTextRange','onSyncEditingCollabCursor','file','url(#$1','_anchor','/universer-api/authz','_getUploadFileURL','_scheduleClearOtherTimer','FETCH_MISS','_shouldReportTelemetry','_tryEnsureSocket','_drawAnchor','_onRemoteRejected','toggleOffline','enableLocalCache','liveShareOperation','AWAITING','_changesetSessionId','parse','createEncryptor','_univerInstanceService','cursorInfo','unknown','OFFLINE','_createHmacHelper','executeCommand','_checkMissing','_setupSubUnitSync','_getSaveTimeout','__creator','_anchorDot','_loadDoc','startsWith','onTransformIME','saveChangeset','INVALID_ARGUMENT','_snapshotServerService','_sheetSkeletonManagerService','createDecryptor','commentUpdateEvent','IDLE','children','changesets','setShowComponents','_submitChangeset','WorkbookEditablePermission','VIEW_MAIN','fill','_decreaseWaiting','isTransformMutationFailure','TEXT','from','OTHER_CLIENTS_EDITING','univer-online-status-title','override','_joinRoom','LIVESHARE_NEW_HOST','getCollabEntity$','_HTTPService','LocalUndoRedoService','uni.network.url-service','dispose','trim','_sessions','react.fragment','UNIVER_SHEET','requireSession','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','subUnitId','objectID','Univer','deepClone','_updateLocalCursor','_process','_onCombEvent','UniverCollaborationClientPlugin','AUTHZ_URL_KEY','drawWith','fetching\x20missing\x20changesets\x20from\x20','UNIVER_UNKNOWN','UniverNetwork','off-line-single','activeSheet$','jiqing500','UPDATE_PERMISSION_OBJ','_backgroundColor','Injector','_substituteRedoStack','objectActions','_cursorInfo$','_clearUndo','LocalCacheService','EvpKDF','readInt32LE','getActiveRange','_syncEditingCollabCursorService','&assign=','getVpScrollXYInfoByPosToVp','padding','redoState','arc','Optional','_docSkeleton','blockSize','Warning','HELLO','_sender','currentColor','_registerDependencies','contains','COMPRESS_MUTATION_SEND','onRemoteChangeset','_userManagerService','undoState','deleteCollaborator','onPointerLeave$','getTime','evenodd','_applyRemoteChangeset','reconnect','YUUMI_UNABLE_LOAD_URL','_roomMembers','object','IUndoRedoService','xlink:href','switchMap','Inject','getLatestCsReqIdBySid','disableLocalCache','_unitID','YUUMI_SUBSCRIPTION_NOT_FOUND','useDependency','SYNCED','_onRemoteRetry','max','c2Prime','image/bmp','WebSocketService','getDeserializedSheetBlock','getMember','transformMutationsWithChangeset','_logService','_instanceService','csRejEvent','UniverCollaborationClient','univer-online','_socketService','[CollaborationSessionService]:\x20socket\x20error','localeService','_transformPreviousActiveRange','operators','#FFF','collaboratorID','formatter','subscribe','onCommentUpdate','idSuffix','extend','_localStorageService','_onCursorDelete','findNodePositionByCharIndex','defineProperty','take','onRemoteAck','LICENSE_MAX_UNITS_EXCEEDED','createSocket','onMouseMove','APPLY_NON_SEQUENTIAL_REVISION','_tryReconnect','removeParam','routeKey','_timeoutTimer','_updateSubUnitFromURLParams','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_members','charAt','_oKey','_removeRoom','?size=','_transformUndoredo','SetDocZoomRatioOperation','COLLAB_SUBMIT_CHANGESET_URL_KEY','_collaborationTimeoutTimer','_doProcessBlock','closeSession','clipPath','url(#on-line-single_clip0_910_349)','FETCH_MISSING','LIVESHARE_FETCH_OPERATIONS','byteOffset','/resources','ERROR_IMAGE','_unitStatus','/-/object/list','shouldCloseConn','_sheetTransformSelectionsService','RECV','debug','_localCacheService','_colorAssignService','syncEditingCollabCursor','_renderManagerService','CBC','PSEUDO_FETCH_MISSING_RESULT','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','use','_cipher','_shapes','_getCurrentRevision','disposeUnit','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_urlService','LICENSE_EXPORT_SIZE_EXCEEDED','floor','UNKNOWN_CODE','onTransformChange$','/universer-api/file/{fileID}/sign-url','[CollaborationSessionService]','fetchMiss','_telemetryInfo','createInstance','UNDEFINED','replaceState','_getUndoStack','close$','mergeOverrideWithDependencies','PERMISSION_REJ','Error','split','with','_transformService','duration','encryptBlock','INTERNAL_ERROR','_localeService','set','ALREADY_EXISTS','ceil','INotificationService','/-/object/-/batch_allowed','MoveRangeCommandId','_onRecvEvent','HTTPService','get','RECT','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','BlockCipher','red300','ENSURE_SNAPSHOT_EXECUTION','UNIVER_PROJECT','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','className','currentSkeleton$','122441QDXLGv','HEADER_MENU','image/gif','for','clearInterval','_collabCursorController','transformByState','getUniverSheetInstance','NOT_FOUND','transformChangesets','Malformed\x20UTF-8\x20data','onStarting','current','_transformRemoteChangesetByStateCache','collabSubmitChangesetUrl','fillText','join','result','IRemoteInstanceService','EmptyMutation','unitId\x20is\x20not\x20found','HTTPRequest','handleInsertRangeMoveRight','_reverseMap','handleDeleteRangeMoveUp','_getMergeRange','setParam','[SyncedState]:\x20received\x20rejection.','/block/','_clearRedo','getMemberID','478MmICDk','event$','loginUrlKey','enableOfflineEditing','HEARTBEAT_INTERVAL','onMissingChangesets','_startCollaboration','delay','@univerjs-pro/collaboration','_prevBlock','mutations','1779170IEBcvZ','unit','[PendingState]:\x20received\x20rejection.','handleInsertCol','_name','length','readAsDataURL','@univerjs/network','unpad','algo','kdf','_docTransformSelectionsService','session.room-full','blue400','delete','every','_configService','ThemeService','isInternalEditorID','NEW_CHANGESETS','_refRangeService','LIVESHARE_REQUEST_HOST','getUnitStatus$','combineLatest','state','url(#off-line-single_clip0_910_343)','__esModule','fetchMissingChangesets','[DataLoaderController]','runRefRangeMutations','_heartbeatTimer','_remoteChangesetQueue','_undoStacks','_initCloseConn','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','reduce','unitId','ivSize','addEventListener','pending','_data','SessionStatus','currentTheme$','hasher','_onConnectionFailed','path','_initEventListeners','_getSignURL','[CollaborationState]:\x20apply\x20error!','origin','_key','hasOwnProperty','toggleOnline','\x0aCurrent:\x20','doc.mutation.rich-text-editing','AWAITING_WITH_PENDING','m1Prime','_selfUnitIDs','Base','_createHandler','flatMap','Vector2','startTime','_DEC_XFORM_MODE','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','actions','snapshotServerUrl','setWaitCount','RevisionService','registerOnClose','black','NO_OTHER_CLIENTS_EDITING','action','getInterceptPoints','RegularPolygon','searchParams','_handleJoinEvent','revision','rng','getResourcesRequest','onRemoteRej','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','eventID','hide','save','_handleEvent','transformStateCache','_hover','NoPadding','open$','_context','getDocRanges','storage','_scheduleTimestamp','visibilityState','_socket','rgba(255,\x20255,\x20255,\x200.01)','...','Cipher','1773ARrVee','merge','isTransformMutationsWithChangesetSuccess','LIVESHARE_TERMINATE','IUniverInstanceService','_initStatusListener','ISnapshotServerService','ImageIoService','on-line-single','handleIRemoveCol','_socket$','Undefined','transformRemoteChangeset','_stopTelemetryCollaborationNewChangeset','find','_handleLeaveEvent','_startSheetCollabCursor','params','_toggleOnline','bottom','collab-text-range-','apply','_scheduleSaving','_awaitingChangeset','rxjs/operators','_updateStatus','AES','Disposable','DependentOn','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','uploadFileServerUrl','0\x200\x2017\x2016','decryptBlock','init','getParam','_collaborationPaused','COMMENT_UPDATE','_keyPriorReset','_waitCount','code','getCollabCursors$','sendChangesetTimeout','_scheduleHeartbeat','_onRemoteChangeset','Rectangle','getViewport','_clearHeartbeatTimer','mixIn','getImage','urlChange$','getOwnPropertyDescriptor','_mode'];_0x2a28=function(){return _0x219b78;};return _0x2a28();}
1
+ function _0x5645(_0x5b7307,_0x585e8d){const _0x554620=_0x5546();return _0x5645=function(_0x56453c,_0x1493cc){_0x56453c=_0x56453c-0x1d0;let _0x10a46e=_0x554620[_0x56453c];return _0x10a46e;},_0x5645(_0x5b7307,_0x585e8d);}function _0x5546(){const _0x19b308=['_localeService','UNIVER_PROJECT','@univerjs/telemetry','_transformService','create','svg','_renderManagerService','_createHelper','ref','close','offline','_collaborationSessionService','createSocket','Hasher','liveShareOperation','sheetID','DocIMEInputManagerService','HTTPRequest','ivSize','_getUploadFileURL','downloadEndpointUrl','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','min','ERROR_IMAGE','/universer-api/oidc/authpage','4707115SSVpFj','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','awaiting_with_pending','PERMISSION_DENIED','1em','pad','extend','redoState','Latin1','responseType','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','getActiveSheet','enableAuthServer','RichTextEditingMutation','get','subUnitId','newValue','/collaborator','sequenceExecute','$super','_loadSheet','__creator','restore','reduce','getValue','takeUntil','_startCollaboration','startColumn','labelPosition','cfg','session.collaboration-timeout','max','userID','confirm','getRandomValues','collabStatus.syncing','_transformHistoryAndStateStack','isEditing','@univerjs/sheets-ui','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_initStatusComponent','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','COLORS','updateOfflineData','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','ColorKit','_getUndoStack','_uiPartsService','univer-online-status-icon','HEARTBEAT_INTERVAL','_waitCount','@univerjs/core','clearTimeout','rxjs','onPointerLeave$','LOGIN_URL_KEY','incrementRevOfUnit','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','_docTransformSelectionsService','_handleHover','FETCH_MISSING','updatePermissionPoint','socket$','session.will-retry','onMissedChangesetFetched','OffLineSingle','_localCacheService','backgroundColor','saveImage','_draw','HttpImport','_online','_saveCache','has','_sheetTransformSelectionsService','getCollabEntity','_cachedData','CollaborationSessionService','top','RevisionService','onTransformSelections','_disableEditing','_hideTimer','@univerjs/docs','transformRemoteChangeset','for','_refreshCollabCursors','UniverDrawing','submit\x20changeset\x20error!','parseProtocolChangeset','INVALID_ARGUMENT','_resendTimeout','interceptor','UniverCollaboration','unit','useDependency','contains','round','UserManagerService','_clearLocalCache','react.fragment','_registerRenderDependencies','Inject','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_imageSourceCache','JOIN','_backgroundColor','/allowed','getOffsetConfig','debounce','?size=','getMergeData','enableOfflineEditing','_getAPIPrefix','file','OTHER_CLIENTS_EDITING','exhaustSavingTask','onRemoteChangeset','_getAPIPrefixPath','ACTIVE_UNIT_EVENT_CHANNEL','_HTTPService','collaboration_new_changeset','NOT_COLLAB','currentSkeleton$','_socketMessageSubscription','\x0aCurrent:\x20','/unit/','ReplaySubject','/block/','onTransformRemoteChangesetByStateCache','encrypt','@univerjs/docs-ui','error$','PasswordBasedCipher','getSheetBySheetId','CollaborationStatusDisplay','_ENC_XFORM_MODE','@univerjs/engine-formula','getSkeleton','_lockTransition','setParam','throttleTime','DocSkeletonManagerService','InsertRangeMoveDownCommandId','getConfig','_members','ERROR_IMAGE_TYPE','AWAITING_WITH_PENDING','SnapshotService','sessionStatus','Disposable','_updateLocalCursor','symbol','/object','_collaborationTimeoutTimer','textEncoder','InsertColCommandId','_cursors','combineLatest','none','some','sheetId','handleIRemoveCol','resize','telemetry\x20info\x20is\x20not\x20initialized','#fff','add','Shape','onPointerMove$','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_memberService','UNKNOWN_CMD','concatMap','commentUpdateEvent','map','MemberService','size','_transformStateCache','Error','[DataLoaderController]','pending','_startTelemetryCollaborationNewChangeset','translate(.97)','@univerjs/rpc','37190duhTZJ','compute','SUCCUSS','_httpService','words','objectID','_sender','undoState','OpenSSL','_doProcessBlock','startsWith','createInstance','_listenToOfflineEvent','LOCAL_CACHE_INTERVAL','replace','InsertRowCommandId','on-line-single_clip0_910_349','_xformMode','CompressMutationService','LIVESHARE_NEW_HOST','_transformSelections','sid','_socketReady','_sessions','_doFinalize','liveShareNewHost','ISnapshotServerService','UNIVER_SLIDE','IConfigService','awaitingChangeset','ImageSourceType','toString','AuthzIoHttpService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','UNAUTHENTICATED','revision','send','_sessionStatus$','DeleteRangeMoveUpCommandId','UniverSheetsUi','random','abs','deleteCollaborator','asObservable','NO_OTHER_CLIENTS_EDITING','RemoveRowCommandId','_stopTelemetryCollaborationNewChangeset','handleInsertCol','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','loadDoc','CollaborationSession','_transformRemoteChangesetByStateCache','3440574LjLOZK','message$','touchDependencies','_compressMutationService','_socket$','_http','USERS_ENTER','updatePermissionObjEvent','@univerjs/sheets','_toggleOnline','UPDATE_CURSOR','m1Prime','HEARTBEAT_TIMEOUT_KEY','YUUMI_URL_COL_OUT_OF_RANGE','BehaviorSubject','handleIRemoveRow','transformByState','fillRule','src','0\x200\x2016\x2016','makeDirty','CommentService','getRelativeToViewportCoord','_onRemoteRetry','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','transform','onlineStatusTitle','clamp','Cipher','fetchThroughInterceptors','_isPermissionRej','_drawTextRange','history','onReady','image/gif','randomUUID','...','_doCryptBlock','activeSheet$','_textBubble','connection\x20error','reqId','COMMENT_UPDATE','collabStatus.offline','_getSheetObject','_syncEditingCollabCursor','WebSocketService','IImageIoService','dispose','_oKey','_onLocalMutation','searchParams','m2Prime','_refRangeService','processBlock','getParam','INTERNAL_ERROR','MergeInterceptorFactory','closeSession','resolve','NOT_FOUND','url(#off-line-single_clip0_910_343)','_candidateSocket','includes','Vector2','msCrypto','@univerjs/drawing','UPDATE_PERMISSION_OBJ','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','DocSelectionManagerService','syncEditingCollabCursor','_scheduleCollaborationTimeoutTimer','_remoteChangesetQueue','_resendTimer','result','onStarting','Subject','jsxs','memberID','ERROR_EXCEED_SIZE','_selfUnitIDs','_cursorShapes','repeat','getTypeOfUnitDisposed$','_initDependencies','InsertSheetMutation','getCurrentUser','/universer-api/authz','_throwTelemetryCollaborationNewChangeset','retryConnectingInterval','CipherParams','Plugin','LICENSE_EXPORT_SIZE_EXCEEDED','onlyLocal','ICommandService','[CollaborationState]:\x20apply\x20error!','PSEUDO_FETCH_MISSING_RESULT','createIdentifier','selections','colorChannel1','resend','collabStatus.fetchMiss','_change$','unpad','_setupBeforeClosingHandler','IUndoRedoService','mode','hovered','rxjs/operators','getTime','clone','IRemoteInstanceService','JOINING','_state$','_sendHeartbeatTimer','LOCAL_CACHE_INTERVAL_KEY','ranges','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_replaceFileID','merge','_status$','_getAnchorBounding','DocStateChangeManagerService','_onCombEvent','substr','NodePositionConvertToRectRange','toggleOffline','_entities','RECT','format','IUniverInstanceService','onTransformState','disposeWithMe','addObjects','assignAColorForMemberID','row','actions','COLLAB_SUBMIT_CHANGESET_URL_KEY','key','deepClone','_range','_updateURLWithCurrentState','findNodePositionByCharIndex','split','workbook','onStateChange','_createHmacHelper','YUUMI_UNABLE_LOAD_URL','useCallback','splice','react','attrs','snapshotServerUrl','CHANGESET_ACK','on-line-single','type','SEND_CHANGESET_TIMEOUT','textRanges','editingUnit','_createInitialState','parse','BuiltInUIPart','unitID','726EFNAml','UnitEmbedded','decryptBlock','Base','getCurrentUnitForType','setCurrentUser','CHANGESET_REJ','VIEWPORT_KEY','floor','_context','fromCollab','WebURLService','unitId\x20is\x20not\x20found','image/bmp','_state','SnapshotServerOverHTTPService','HMAC','transformMutationsWithChangeset','_scheduleTimestamp','/object/','_onRemoteChangeset','json','measureText','BlockCipherMode','urlChange$','bind','width','collabStatus.notCollab','_hash','evenodd','_schedule','COLLAB_SUBMIT_CHANGESET_URL','_map','M0\x200H16V16H0z','EvpKDF','url','signUrlServerUrl','_undoStacks','_saveTaskMap','isInternalEditorID','Optional','_socket','init','APPLY_PERMISSION_DENIED','_queuedRemoteChangesets','VIEW_MAIN','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','stringify','getOwnPropertyDescriptor','_permissionService','_onConnectionFailed','SUBMIT_CHANGESET','editing\x20status\x20changed\x20to','ciphertext','LEAVE','list','&to=','DependentOn','algo','react.element','getCoordByCell','keySize','_transformPreviousActiveRange','LIVESHARE_FETCH_OPERATIONS','reconnect','DOC_RANGE_TYPE','UniverCollaborationClientPlugin','/universer-api/stream/file/upload','collaboration-client.config','shareReplay','getDocRanges','_process','sigBytes','AES','transformChangesets','amd','transformSelections','_telemetryInfo','_showConflictNotification','_removeCollabCursors','_handleJoinEvent','_removeClearOtherTimer','collabStatus.synced','ILocalStorageService','getUnitOnRev','SheetCollabCursorShape','verdancy600','prototype','encodeURIComponent','name','call','_listenToOnlineEvent','APPLY_NON_SEQUENTIAL_REVISION','encryptBlock','_collaborationController','executeCommand','now','objectType','with','updateCollaborator','_getCurrentRevision','compose','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','SetWorksheetActivateCommand','replaceState','AUTHZ_URL_KEY','push','mergeOverrideWithDependencies','?url=','selection','_snapshotServerService','loadOfflineData','crypto','_registerDependencies','readInt32LE','setTimeout','next','getViewport','_onRemoteRejected','getImageSourceCache','defineProperty','ONLINE','_urlService','getUnit','joinRsp','{fileID}','routeKey','createEncryptor','getDeserializedSheetBlock','_data','COMPRESS_MUTATION_APPLY','_beforeCloseService','propertyIsEnumerable','_keyPriorReset','_substituteRedoStack','_cipher','_onConflict','_updateState','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_document','image/png','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_colorIndex','isTransformChangesetsSuccess','url(#$1','NodePositionConvertToCursor','_transformStack','tag','/-/object/list','off-line-single_clip0_910_343','synced','_unlockTransition','allowed','_notificationService','UniverTelemetry','CHANGESET_SHOULD_RETRY','/universer-api/comb','_docSkeleton','formatter','setAlpha','TRANSFORM_CHANGE_OBSERVABLE_TYPE','DesktopCollaborationStatusDisplayController','LocalCacheService','finalize','text','_getSignURL','location','roomMembers','_handleEvent','_send','fillText','transformStateCache','onSendChangeset','enableSingleActiveInstanceLock','_replayCachedMutations','IDLE','baseRev','permission.title','loginUrlKey','ThemeService','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','UNRECOGNIZED','current','entries','collaboratorID','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','length','_transformUndoredo','refreshPermission','_ensureSubject','method','getOwnPropertySymbols','4476664UkHsRb','_docSkeletonManagerService','getUnitType','setShapeProps','loadSheet','session','forwardRef','image/jpeg','operators','_cursorInfo$','lineTo','save\x20fail\x20reason\x20is\x20','_cursor','setStateCache','OFFLINE','serializeRangeWithSheet','collabCursorState$','status$','switchMap','getRoom','_waitForHeartbeatResponse','_docSyncEditingCollabCursorService','onRemoteAck','getCurrentSelections','collaMsg','authzUrl','WorkbookEditablePermission','defs','permissionRejEvent','getUndoRedoMutationParamsCache','_snapshotService','xlink:href','toDisposable','_anchorDot','_handler','_onJoinRoomEvent','Warning','USERS_LEAVE','[CollaborationUndoRedoService]','Unknown\x20user','div','_clearTimeoutTimer','every','currentTheme$','_drawAnchor','_append','leaveEvent','SNAPSHOT_SERVER_URL_KEY','delay','indexOf','#FFF','_ws','_nDataBytes','Undefined','_initRequestHeader','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','univer-online-status-title','_updateCollabCursors','unknown','isPermissionRej','COMPLETION_FINISHED','originalMeta','ITelemetryService','@univerjs/network','ws://127.0.0.1:8000/universer-api/comb/connect','url(#on-line-single_clip0_910_349)','padding','_redoStacks','MUTATION','range','[FetchMissState]','SheetPermissionInitController','concat','_updateLocalCache','onCommandExecuted','isTransformMutationFailure','onlineStatus','RxDisposable','onlineStatusIcon','event$','find','fromEvent','getUnitId','TOO_MANY_REQUESTS','getSheetBlock','hasOwnProperty','UniverSheets','RECV','_anchor','collaboration.single-unit.warning','handleMoveRange','_substituteUndoStack','cursorInfo','sessionStatus$','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','_sheetSkeletonManagerService','jsx','_rescheduleHeartbeat','onRemoteRej','UniverInstanceType','arc','focused$','MD5','UniverUi','_changesetSessionId','_id','ceil','registerOnClose','_commentUpdate$','children','distinctUntilChanged','_scheduleSaving','disposeUnit','listCollaborators','HELLO','_injector','HmacSHA1','engine','getAncestorScale','_prevBlock','_clearRedo','equals','unload','object','useObservable','registerHTTPInterceptor','_timeoutTimer','_collabCursorController','_unitID','auth.needGotoLoginAlert','_unitStatus','_removeRoom','roomMembers$','_decreaseWaiting','SessionStatus','show','conflict','mapDocumentTypeToUniverType','isTransformMutationsWithChangesetFailure','_transformIMECache','error','action','[CollaborationSession]','charCodeAt','BlockCipher','substring','_reverseMap','_getRedoStack','save','function','_hasher','hasher','_lastPointer','SheetSkeletonManagerService','_createSocket','IPermissionService','toggleOnline','EffectRefRangId','POST','univer-online','_getSnapshotAPIPrefix','_exhaustRemoteChangesetQueue','isActive','_updateSubUnitFromURLParams','setConfig','requireSession','roles','[CollaborationEntity]','code','Hex','CollaborationStatus','IRenderManagerService','fetchMissingChangesets','bottom','toLowerCase','unshift','apply','onload','getColor','join','reset','color','toRgbString','_session','getInterceptPoints','saveChangeset','_key','_retryCount','subscribeEvent','pauseCollaboration','HEARTBEAT','_instanceService','createElement','LICENSE_MAX_UNITS_EXCEEDED','idSuffix','RefRangeService','target','trim','exports','DeleteRangeMoveLeftCommandId','WordArray','_getCtorByUniverType','_scheduleClearOtherTimer','MessageType','_disabled','from','requestParams','doc.mutation.rich-text-editing','kdf','BASE64','MSG_FOR_ERROR','cmd','triggerDblclick','getLatestCsReqIdBySid','_checkMissing','override','SNAPSHOT_URL_KEY','_onCursorUpdate','Tools','sendChangesetTimeout','_fetchMissChangesets','collab-rect-range-','_resendWithTimeout','Utf8','_transformRemoteChangesetByIMECache','_incrementRevisionNumber','getSheetId','mixIn','_userManagerService','startRow','_onRecvEvent','getTypeOfUnitAdded$','createDecryptor','drawWith','image/jpg','getUnitStatus$','_clearCollaborationTimeoutTimer','withCredentials','unitId','HTTPService','SEND_CHANGESET_TIMEOUT_KEY','socket\x20open.','_univerInstanceService','RETRY_CONNECTING_MAX_COUNT_KEY','ITransformService','/new_changes','SNAPSHOT_INVALID_SNAPSHOT','isArray','UniverDocs','update','_localStorageService','BufferedBlockAlgorithm','default','__esModule','all','execute','_setupSubUnitSync','_applyRemoteChangeset','collab-text-range-','@univerjs-pro/collaboration','1536648QIOFGV','CONNECTOR_DATA_TOO_LARGE','uploadFileServerUrl','_DEC_XFORM_MODE','setShowComponents','_getLoginPath','skeleton','getStateCache','_invKeySchedule','Pkcs7','setActiveRange','_initEventListeners','_shapes','_acknowledgedAwaitingChangeset','column','LIVESHARE_REQUEST_HOST','DEFAULT_FILE_NAME','defaultProps','pipe','append','getImage','font','getCurrentRevOfUnit','open$','hostname','_sendingTimer','[OfflineState]:\x20received\x20acknowledgement.','number','getCollabCursors$','ENSURE_SNAPSHOT_EXECUTION','getSheetObject','IMessageService','ICollaborationSocketService','[PendingState]:\x20received\x20acknowledgement.','COLLAB_WEB_SOCKET_URL','clear','mapTo','values','subscribe','x-univer-host','/universer-api/snapshot/','/rev/','IAuthzIoService','UNIVER_DOC','_clearUndo','conflict.title','_colorAssignService','onMouseMove','generateRandomId','debug','NoPadding','DataLoaderController','_startDocCollabCursor','encode','_onRemoteACK','SYNCED','_minBufferSize','_onCursorDelete','OnLineSingle','_changesetReqId','isTransformMutationsWithChangesetSuccess','_sendHeartbeat','removeMember','753507JergKt','onTransformChange$','newCsEvent','CBC','LocaleService','[OfflineState]:\x20received\x20rejection.','CollaborationSocketService','_commentService','enc','awaiting','put','_render','IContextService','getCollabEntity$','_retryConnectingTimer','clipPath','getAllMembers','LICENSE_DISTRO_REJECTED','HEADER_MENU','mutations','subunit','_toggleOffline','registerBeforeClose','catch','path','_getSaveTimeout','setInterval','then','patch','UnitSnapshot','getFocusedUnit','ImageIoService','__Key__','addObject','updateMember','decrypt','_mode','fetchMiss','TEXT_RANGE_LAYER_INDEX','_event$','[SyncedState]:\x20received\x20acknowledgement.','string','CONFLICT','DisposableCollection','onRendered','_drawRectRange','_roomMembers$','CHANGESET_REVISION_CONFILICT','_roomMembers','className','_clearHeartbeatTimer','disableLocalCache','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','byteLength','_tryEnsureSocket','closePath','_keySchedule','_heartbeatTimer','CommandType','_iv','registerComponent','Rectangle','_socketService','randomBytes','charAt','_unitOnClients','_createInitialStateImpl','LIVESHARE_OPERATION','onPointerEnter$','salt','status','_init','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','members','set','_hovered','DocCollaborationEntity','_doReset','transformMutation','_logService','changesets','complete','_awaitingChangeset','_docTransformStateCacheService','_singleActiveUnitService','_scheduleHeartbeat','SetDocZoomRatioOperation','LIVESHARE_TERMINATE','roomInfos','fillStyle','_handleHeartbeatEvent','_assignedColors','addEventListener','univer-online-status','lib','_getSendChangesetTimeout','dispose$','objects','getRangePointData','_joinRoom','_clearOtherTimers','delete','/role','collabSubmitChangesetUrl','ImageUploadStatusType','_shouldReportTelemetry','listRoles','HttpExport','/-/object/-/batch_allowed','_themeService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_telemetryService','fill','_transitionLocked','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','storage','snapshot','sheets','FromArray','saveSnapshot','rev','unit-cache-','_collabCursorState$','href','SHA1','_onMessage','SheetCollaborationEntity','fetch_missing','190587GQVKnj','LICENSE_IMPORT_SIZE_EXCEEDED','setItem','APPLY_REVISION_CONFILICT','slice','CollaborationController','black','NEW_CHANGESETS','_initMergeInterceptor','YUUMI_RATE_OVER_LIMIT','body','fetching\x20missing\x20changesets\x20from\x20','UniverCore','replaceDocRanges','_getDownloadEndpointURL','fromCharCode','onCommentUpdate','post','startTime','collaboration-client.offline-data-not-saved','StreamCipher','forEach','@univerjs/design','SNAPSHOT_HAS_BEEN_REMOVED','onRemoteRetry','appendMutation','[CollaborationSessionService]','byteOffset','COLLAB_WEB_SOCKET_URL_KEY','_tryReconnect','&source=','saveSheetBlock','_onConnectionOpen','_getScale','CollaborationEntity','_revisionService','CollaborationEvent','take','_commandService','transformIMECache','filter','unsubscribe','getRenderById','_startSheetCollabCursor','close$','UniverDesign','React','ILogService','SetTextSelectionsOperation','endColumn','csRejEvent','FAIL','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_configService','stopTime','6NdJoij','registerRefRange','FETCH_MISS','IBeforeCloseService','_onOffline','onTransformRemoteChangesetByIMECache','visibilityState','_parse','_name','_messageService','UNIVER_SHEET','debounceTime','_nRounds','_iKey','/resources','_updateStatus','params','reverse','_transformUndoRedoStack','assign','_handleLeaveEvent','UNDEFINED','hide','_undoRedoService','state$','_config','PERMISSION_REJ','_scene','csShouldRetryEvent','_docStateChangeManagerService','hidden','cursorInfo$','_clearScheduledTask','EmptyMutation','_submitChangeset','Tooltip','_syncEditingCollabCursorService','UNKNOWN_CODE','onSyncEditingCollabCursor','Univer','transformUndoRedo','onMissingChangesets','headers','jiqing500','_initCommandExecutedListener','socketService','SetSelectionsOperation','getMemberID','_collabSessionService','_pendingMutations','_hover','MoveRangeCommandId','_eventUnsubscribe','Base64','parseChangesetToProtocol','origin','clearInterval','APPLY_DUPLICATED','moveTo','univerjs-icon\x20univerjs-icon-','collaboration-session-retry','visibilitychange','YUUMI_SUBSCRIPTION_NOT_FOUND','UniverNetworkPlugin','readAsDataURL','session.room-full','blockSize','_type','[PendingState]:\x20received\x20rejection.','SheetsSelectionsService','_executeRemoteChangeset','_initCloseConn','pushState','FileId','off-line-single','_loadDoc','data','defIds','_getMergeRange','ThresholdInterceptorFactory','UniverDocsUi','_onFetchMissResult','_labelPosition','ALREADY_EXISTS','_initUnitPermissionChange','APPLY_REJECT','sin','reject','\x0aAfter:\x20','_onUserLeave','getMember','Injector','displayName','PENDING','eventID','_entityInit$','[UniverCollaborationClientPlugin]','_initStatusListener','height','_createHandler','_collaborationPaused','registerDependencies','_onRefRangeChange','_color','@univerjs/engine-render'];_0x5546=function(){return _0x19b308;};return _0x5546();}(function(_0x560e19,_0x2ed353){const _0x130552=_0x5645,_0x20b73e=_0x560e19();while(!![]){try{const _0x583765=parseInt(_0x130552(0x4a8))/0x1+parseInt(_0x130552(0x4df))/0x2*(parseInt(_0x130552(0x428))/0x3)+parseInt(_0x130552(0x3e9))/0x4+parseInt(_0x130552(0x619))/0x5*(parseInt(_0x130552(0x225))/0x6)+-parseInt(_0x130552(0x561))/0x7+-parseInt(_0x130552(0x2e5))/0x8+-parseInt(_0x130552(0x64e))/0x9;if(_0x583765===_0x2ed353)break;else _0x20b73e['push'](_0x20b73e['shift']());}catch(_0xa85b7d){_0x20b73e['push'](_0x20b73e['shift']());}}}(_0x5546,0x95e34),function(_0xb472b0,_0x2627b0){const _0x37c060=_0x5645;typeof exports==_0x37c060(0x360)&&typeof module<'u'?_0x2627b0(exports,require(_0x37c060(0x594)),require('rxjs'),require(_0x37c060(0x1ee)),require(_0x37c060(0x4be)),require('@univerjs/ui'),require(_0x37c060(0x324)),require(_0x37c060(0x3e8)),require('@univerjs/telemetry'),require(_0x37c060(0x5e4)),require(_0x37c060(0x656)),require(_0x37c060(0x547)),require(_0x37c060(0x5b4)),require(_0x37c060(0x690)),require('@univerjs/engine-formula'),require(_0x37c060(0x587)),require(_0x37c060(0x218)),require(_0x37c060(0x618))):typeof define==_0x37c060(0x37a)&&define[_0x37c060(0x270)]?define([_0x37c060(0x3ab),_0x37c060(0x594),'rxjs',_0x37c060(0x1ee),_0x37c060(0x4be),'@univerjs/ui',_0x37c060(0x324),_0x37c060(0x3e8),_0x37c060(0x54a),_0x37c060(0x5e4),'@univerjs/sheets',_0x37c060(0x547),'@univerjs/docs',_0x37c060(0x690),_0x37c060(0x5ea),'@univerjs/sheets-ui',_0x37c060(0x218),_0x37c060(0x618)],_0x2627b0):(_0xb472b0=typeof globalThis<'u'?globalThis:_0xb472b0||self,_0x2627b0(_0xb472b0['UniverCollaborationClient']={},_0xb472b0[_0x37c060(0x4b4)],_0xb472b0[_0x37c060(0x596)],_0xb472b0['rxjs'][_0x37c060(0x2ed)],_0xb472b0[_0x37c060(0x4d5)],_0xb472b0[_0x37c060(0x34c)],_0xb472b0['UniverNetwork'],_0xb472b0[_0x37c060(0x5be)],_0xb472b0[_0x37c060(0x2bf)],_0xb472b0[_0x37c060(0x52f)],_0xb472b0[_0x37c060(0x33b)],_0xb472b0['UniverEngineRender'],_0xb472b0[_0x37c060(0x3dd)],_0xb472b0[_0x37c060(0x5b8)],_0xb472b0['UniverEngineFormula'],_0xb472b0[_0x37c060(0x640)],_0xb472b0[_0x37c060(0x4d6)],_0xb472b0['UniverRpc']));}(this,function(_0x3ef0c0,_0x10122e,_0x43beed,_0x107fd5,_0x4811a0,_0x3421c5,_0xbfbac5,_0x434c76,_0x1db2f7,_0x427cca,_0x43d50e,_0x3d8481,_0x48121f,_0x104985,_0x7655c5,_0x4a1dc3,_0x32ddec,_0x5a9b55){'use strict';const _0x270b48=_0x5645;var _0x1172a9=Object['defineProperty'],_0x8b1c32=(_0x4c58af,_0x387643,_0x8d13ac)=>_0x387643 in _0x4c58af?_0x1172a9(_0x4c58af,_0x387643,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x8d13ac}):_0x4c58af[_0x387643]=_0x8d13ac,_0x11da04=(_0x10bdee,_0x1fcae1,_0x6ea4f7)=>_0x8b1c32(_0x10bdee,typeof _0x1fcae1!=_0x270b48(0x5f9)?_0x1fcae1+'':_0x1fcae1,_0x6ea4f7);const _0x22bdd1='SNAPSHOT_SERVER_URL_KEY',_0x15f70a='/universer-api/snapshot',_0x34146a=_0x270b48(0x3bd),_0x453e31=_0x270b48(0x21e),_0x4b9331=_0x270b48(0x40b),_0x391104=_0x270b48(0x325),_0x413eda=_0x270b48(0x592),_0x4e1a95='HEARTBEAT_TIMEOUT',_0x57f6b8='RETRY_CONNECTING_MAX_COUNT',_0x42267c=_0x270b48(0x626),_0x162ce8=_0x270b48(0x244),_0x177b6e=_0x270b48(0x2c1),_0x4600e2=_0x270b48(0x598),_0x57c0a3=_0x270b48(0x560);var _0x44c59=(_0xfc9136=>(_0xfc9136[_0xfc9136[_0x270b48(0x4f4)]=0x0]=_0x270b48(0x4f4),_0xfc9136[_0xfc9136['OK']=0x1]='OK',_0xfc9136[_0xfc9136['INTERNAL_ERROR']=0x2]=_0x270b48(0x686),_0xfc9136[_0xfc9136['PERMISSION_DENIED']=0x3]=_0x270b48(0x564),_0xfc9136[_0xfc9136[_0x270b48(0x68a)]=0x4]=_0x270b48(0x68a),_0xfc9136[_0xfc9136[_0x270b48(0x63b)]=0x5]='UNAUTHENTICATED',_0xfc9136[_0xfc9136[_0x270b48(0x532)]=0x6]=_0x270b48(0x532),_0xfc9136[_0xfc9136[_0x270b48(0x5bb)]=0x7]=_0x270b48(0x5bb),_0xfc9136[_0xfc9136[_0x270b48(0x338)]=0x8]='TOO_MANY_REQUESTS',_0xfc9136[_0xfc9136[_0x270b48(0x321)]=0x9]='COMPLETION_FINISHED',_0xfc9136[_0xfc9136[_0x270b48(0x457)]=0x1389]=_0x270b48(0x457),_0xfc9136[_0xfc9136[_0x270b48(0x3db)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xfc9136[_0xfc9136[_0x270b48(0x4bf)]=0x1772]=_0x270b48(0x4bf),_0xfc9136[_0xfc9136[_0x270b48(0x406)]=0x1773]=_0x270b48(0x406),_0xfc9136[_0xfc9136[_0x270b48(0x534)]=0x1b59]=_0x270b48(0x534),_0xfc9136[_0xfc9136[_0x270b48(0x281)]=0x1b5a]=_0x270b48(0x281),_0xfc9136[_0xfc9136[_0x270b48(0x4ab)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0xfc9136[_0xfc9136[_0x270b48(0x250)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0xfc9136[_0xfc9136[_0x270b48(0x518)]=0x1b5d]='APPLY_DUPLICATED',_0xfc9136[_0xfc9136[_0x270b48(0x3ea)]=0x1f41]=_0x270b48(0x3ea),_0xfc9136[_0xfc9136['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x270b48(0x3a6),_0xfc9136[_0xfc9136[_0x270b48(0x2af)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xfc9136[_0xfc9136[_0x270b48(0x4a9)]=0x232b]=_0x270b48(0x4a9),_0xfc9136[_0xfc9136['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x270b48(0x1de),_0xfc9136[_0xfc9136[_0x270b48(0x439)]=0x232d]=_0x270b48(0x439),_0xfc9136[_0xfc9136[_0x270b48(0x215)]=0x2711]=_0x270b48(0x215),_0xfc9136[_0xfc9136[_0x270b48(0x65b)]=0x2712]=_0x270b48(0x65b),_0xfc9136[_0xfc9136[_0x270b48(0x4b1)]=0x2713]=_0x270b48(0x4b1),_0xfc9136[_0xfc9136[_0x270b48(0x51d)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xfc9136[_0xfc9136['UNRECOGNIZED']=-0x1]=_0x270b48(0x2da),_0xfc9136))(_0x44c59||{}),_0x8439e8=(_0x31e553=>(_0x31e553[_0x31e553['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x31e553[_0x31e553[_0x270b48(0x414)]=0x1]=_0x270b48(0x414),_0x31e553[_0x31e553[_0x270b48(0x4e9)]=0x2]='UNIVER_SHEET',_0x31e553[_0x31e553[_0x270b48(0x634)]=0x3]=_0x270b48(0x634),_0x31e553[_0x31e553[_0x270b48(0x549)]=0x4]=_0x270b48(0x549),_0x31e553[_0x31e553[_0x270b48(0x2da)]=-0x1]='UNRECOGNIZED',_0x31e553))(_0x8439e8||{}),_0x341a2a=(_0x498e59=>(_0x498e59[_0x498e59[_0x270b48(0x60c)]=0x0]=_0x270b48(0x60c),_0x498e59[_0x498e59[_0x270b48(0x357)]=0x1]=_0x270b48(0x357),_0x498e59[_0x498e59[_0x270b48(0x5ca)]=0x2]='JOIN',_0x498e59[_0x498e59[_0x270b48(0x25b)]=0x3]=_0x270b48(0x25b),_0x498e59[_0x498e59['INGEST']=0x4]='INGEST',_0x498e59[_0x498e59['HEARTBEAT']=0x5]=_0x270b48(0x3a3),_0x498e59[_0x498e59['RECV']=0x6]=_0x270b48(0x33c),_0x498e59[_0x498e59['UNRECOGNIZED']=-0x1]=_0x270b48(0x2da),_0x498e59))(_0x341a2a||{}),_0x479490=(_0x159a25=>(_0x159a25[_0x159a25[_0x270b48(0x504)]=0x0]=_0x270b48(0x504),_0x159a25[_0x159a25['OK']=0x1]='OK',_0x159a25[_0x159a25[_0x270b48(0x4db)]=0x2]='FAIL',_0x159a25[_0x159a25[_0x270b48(0x2da)]=-0x1]=_0x270b48(0x2da),_0x159a25))(_0x479490||{}),_0x1b022a=(_0x430341=>(_0x430341[_0x430341[_0x270b48(0x31a)]=0x0]='Undefined',_0x430341[_0x430341['HttpImport']=0x1]=_0x270b48(0x5a7),_0x430341[_0x430341[_0x270b48(0x493)]=0x2]=_0x270b48(0x493),_0x430341[_0x430341[_0x270b48(0x226)]=0x3]=_0x270b48(0x226),_0x430341[_0x430341[_0x270b48(0x445)]=0x4]=_0x270b48(0x445),_0x430341[_0x430341[_0x270b48(0x2da)]=-0x1]=_0x270b48(0x2da),_0x430341))(_0x1b022a||{});const _0x100cc6=_0x270b48(0x269),_0x3d48e6={};function _0x10f4c5(_0x2d815b){const _0x16ace0=_0x270b48;var _0xc1be16,_0x480a34,_0x1408ae,_0x267d45,_0x2ea108;const _0x49742e=_0x2d815b[_0x16ace0(0x52b)],_0x591935=JSON[_0x16ace0(0x222)](_0x49742e);switch(_0x591935[_0x16ace0(0x3b8)]){case _0x341a2a['HEARTBEAT']:case _0x341a2a['HELLO']:{const _0x219682=_0x591935['infoRsp'];return{..._0x591935,'data':_0x219682,'cmd':_0x591935['cmd']};}case _0x341a2a['JOIN']:{const _0x1f8c30=_0x591935[_0x16ace0(0x2a1)];return{..._0x591935,'data':_0x1f8c30,'cmd':_0x591935[_0x16ace0(0x3b8)]};}case _0x341a2a['RECV']:{const _0xb5491d=_0x591935[_0x16ace0(0x2fd)];switch(_0xb5491d[_0x16ace0(0x53d)]){case _0x434c76[_0x16ace0(0x4cc)]['PERMISSION_REJ']:return{..._0x591935,'data':{..._0xb5491d,'data':(_0xc1be16=_0xb5491d[_0x16ace0(0x301)])==null?void 0x0:_0xc1be16['cs']},'cmd':_0x591935['cmd']};case _0x434c76[_0x16ace0(0x4cc)][_0x16ace0(0x21b)]:return{..._0x591935,'data':{..._0xb5491d,'data':(_0x480a34=_0xb5491d['csAckEvent'])==null?void 0x0:_0x480a34['cs']},'cmd':_0x591935[_0x16ace0(0x3b8)]};case _0x434c76[_0x16ace0(0x4cc)]['NEW_CHANGESETS']:return{..._0x591935,'data':{..._0xb5491d,'data':(_0x1408ae=_0xb5491d[_0x16ace0(0x42a)])==null?void 0x0:_0x1408ae['cs']},'cmd':_0x591935[_0x16ace0(0x3b8)]};case _0x434c76[_0x16ace0(0x4cc)][_0x16ace0(0x22b)]:return{..._0x591935,'data':{..._0xb5491d,'data':(_0x267d45=_0xb5491d[_0x16ace0(0x4da)])==null?void 0x0:_0x267d45['cs']},'cmd':_0x591935[_0x16ace0(0x3b8)]};case _0x434c76[_0x16ace0(0x4cc)]['CHANGESET_SHOULD_RETRY']:return{..._0x591935,'data':{..._0xb5491d,'data':(_0x2ea108=_0xb5491d[_0x16ace0(0x4fb)])==null?void 0x0:_0x2ea108['cs']},'cmd':_0x591935[_0x16ace0(0x3b8)]};case _0x434c76[_0x16ace0(0x4cc)][_0x16ace0(0x658)]:return{..._0x591935,'data':{..._0xb5491d,'data':_0xb5491d['updateCursorEvent']},'cmd':_0x591935[_0x16ace0(0x3b8)]};case _0x434c76[_0x16ace0(0x4cc)][_0x16ace0(0x654)]:return{..._0x591935,'data':{..._0xb5491d,'data':_0xb5491d['joinEvent']},'cmd':_0x591935[_0x16ace0(0x3b8)]};case _0x434c76['CollaborationEvent'][_0x16ace0(0x30a)]:return{..._0x591935,'data':{..._0xb5491d,'data':_0xb5491d[_0x16ace0(0x313)]},'cmd':_0x591935['cmd']};case _0x434c76[_0x16ace0(0x4cc)][_0x16ace0(0x62c)]:return{..._0x591935,'data':{..._0xb5491d,'data':_0xb5491d['liveShareNewHost']},'cmd':_0x591935['cmd']};case _0x434c76[_0x16ace0(0x4cc)]['LIVESHARE_FETCH_OPERATIONS']:case _0x434c76[_0x16ace0(0x4cc)][_0x16ace0(0x46b)]:return{..._0x591935,'data':{..._0xb5491d,'data':_0xb5491d[_0x16ace0(0x556)]},'cmd':_0x591935['cmd']};case _0x434c76[_0x16ace0(0x4cc)]['LIVESHARE_TERMINATE']:return{..._0x591935,'data':{..._0xb5491d,'data':_0xb5491d[_0x16ace0(0x632)]},'cmd':_0x591935[_0x16ace0(0x3b8)]};case _0x434c76[_0x16ace0(0x4cc)]['MSG_FOR_ERROR']:return{..._0x591935,'data':_0xb5491d,'cmd':_0x591935[_0x16ace0(0x3b8)]};case _0x434c76[_0x16ace0(0x4cc)][_0x16ace0(0x678)]:return{..._0x591935,'data':{..._0xb5491d,'data':_0xb5491d[_0x16ace0(0x60e)]},'cmd':_0x591935[_0x16ace0(0x3b8)]};case _0x434c76['CollaborationEvent'][_0x16ace0(0x691)]:return{..._0x591935,'data':{..._0xb5491d,'data':_0xb5491d[_0x16ace0(0x655)]},'cmd':_0x591935['cmd']};case _0x434c76['CollaborationEvent']['SHOULD_CLOSE_CONN']:return{..._0x591935,'data':{..._0xb5491d,'data':_0xb5491d['shouldCloseConn']},'cmd':_0x591935[_0x16ace0(0x3b8)]};default:return _0x591935;}}default:return _0x591935;}}function _0x34a15b(_0x411505){const _0x1a95fe=_0x270b48;switch(_0x411505[_0x1a95fe(0x3b8)]){case _0x341a2a[_0x1a95fe(0x3a3)]:case _0x341a2a[_0x1a95fe(0x357)]:return JSON[_0x1a95fe(0x254)]({'cmd':_0x411505[_0x1a95fe(0x3b8)],'routeKey':_0x411505[_0x1a95fe(0x2a3)]});case _0x341a2a['INGEST']:{let _0x11b0e2;switch(_0x411505['data'][_0x1a95fe(0x53d)]){case _0x434c76['CollaborationEvent']['UPDATE_CURSOR']:{_0x11b0e2={'eventID':_0x434c76[_0x1a95fe(0x4cc)]['UPDATE_CURSOR'],'updateCursorEvent':_0x411505[_0x1a95fe(0x52b)][_0x1a95fe(0x52b)]};break;}case _0x434c76['CollaborationEvent'][_0x1a95fe(0x30a)]:{_0x11b0e2={'eventID':_0x434c76[_0x1a95fe(0x4cc)][_0x1a95fe(0x30a)],'leaveEvent':_0x411505[_0x1a95fe(0x52b)][_0x1a95fe(0x52b)]};break;}case _0x434c76[_0x1a95fe(0x4cc)][_0x1a95fe(0x654)]:{_0x11b0e2={'eventID':_0x434c76[_0x1a95fe(0x4cc)]['USERS_ENTER'],'joinEvent':_0x411505[_0x1a95fe(0x52b)][_0x1a95fe(0x52b)]};break;}case _0x434c76[_0x1a95fe(0x4cc)][_0x1a95fe(0x62c)]:{_0x11b0e2={'eventID':_0x434c76[_0x1a95fe(0x4cc)][_0x1a95fe(0x62c)],'liveShareNewHost':_0x411505['data'][_0x1a95fe(0x52b)]};break;}case _0x434c76[_0x1a95fe(0x4cc)]['LIVESHARE_OPERATION']:{_0x11b0e2={'eventID':_0x434c76[_0x1a95fe(0x4cc)][_0x1a95fe(0x46b)],'liveShareOperation':_0x411505[_0x1a95fe(0x52b)][_0x1a95fe(0x52b)]};break;}case _0x434c76[_0x1a95fe(0x4cc)][_0x1a95fe(0x47f)]:{_0x11b0e2={'eventID':_0x434c76['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x411505['data'][_0x1a95fe(0x52b)]};break;}case _0x434c76['CollaborationEvent'][_0x1a95fe(0x3f8)]:{_0x11b0e2={'eventID':_0x434c76[_0x1a95fe(0x4cc)][_0x1a95fe(0x3f8)],'liveShareRequestHost':_0x411505[_0x1a95fe(0x52b)][_0x1a95fe(0x52b)]};break;}case _0x434c76[_0x1a95fe(0x4cc)][_0x1a95fe(0x264)]:{_0x11b0e2={'eventID':_0x434c76[_0x1a95fe(0x4cc)][_0x1a95fe(0x264)]};break;}default:_0x11b0e2={'eventID':_0x411505['data'][_0x1a95fe(0x53d)]};}return JSON[_0x1a95fe(0x254)]({'cmd':_0x411505[_0x1a95fe(0x3b8)],'routeKey':_0x411505[_0x1a95fe(0x2a3)],'collaMsg':_0x11b0e2});}case _0x341a2a['JOIN']:return JSON[_0x1a95fe(0x254)]({'cmd':_0x411505[_0x1a95fe(0x3b8)],'routeKey':_0x411505[_0x1a95fe(0x2a3)],'joinReq':_0x411505[_0x1a95fe(0x52b)]});case _0x341a2a['LEAVE']:return JSON[_0x1a95fe(0x254)]({'cmd':_0x411505[_0x1a95fe(0x3b8)],'routeKey':_0x411505[_0x1a95fe(0x2a3)],'leaveReq':_0x411505[_0x1a95fe(0x52b)]});default:throw new Error(_0x1a95fe(0x28b));}}var _0x6fe076=Object[_0x270b48(0x29d)],_0x491fc6=Object[_0x270b48(0x255)],_0x35aca7=(_0x23087c,_0x21681d,_0x4a76b4,_0x484e96)=>{const _0x2efe4b=_0x270b48;for(var _0x201d5d=_0x484e96>0x1?void 0x0:_0x484e96?_0x491fc6(_0x21681d,_0x4a76b4):_0x21681d,_0x4506dc=_0x23087c[_0x2efe4b(0x2df)]-0x1,_0x456cea;_0x4506dc>=0x0;_0x4506dc--)(_0x456cea=_0x23087c[_0x4506dc])&&(_0x201d5d=(_0x484e96?_0x456cea(_0x21681d,_0x4a76b4,_0x201d5d):_0x456cea(_0x201d5d))||_0x201d5d);return _0x484e96&&_0x201d5d&&_0x6fe076(_0x21681d,_0x4a76b4,_0x201d5d),_0x201d5d;},_0x551c66=(_0x2120d3,_0x569211)=>(_0x3021e7,_0x21a023)=>_0x569211(_0x3021e7,_0x21a023,_0x2120d3);const _0x10766f=_0x10122e[_0x270b48(0x1e3)]('univer-pro.collaboration-client-socket-service');function _0x19d92a(_0x1b9dfd,_0xa27f00,_0x2ce9be){const _0x3ac1a9=_0x270b48;return _0x1b9dfd+'/'+_0xa27f00+_0x3ac1a9(0x5df)+_0x2ce9be+_0x3ac1a9(0x3da);}_0x3ef0c0[_0x270b48(0x42e)]=class extends _0x10122e['Disposable']{constructor(_0x5d1c97,_0x3ac03c,_0x3d23d4,_0x2934a4,_0x2256f9){const _0x235761=_0x270b48;super(),this['_http']=_0x5d1c97,this[_0x235761(0x318)]=_0x3ac03c,this[_0x235761(0x4dd)]=_0x3d23d4,this[_0x235761(0x477)]=_0x2934a4,this[_0x235761(0x293)]=_0x2256f9;}[_0x270b48(0x554)](_0x2f1872){const _0x56ba9a=_0x270b48,_0x112168=this[_0x56ba9a(0x318)]['createSocket'](_0x2f1872);if(!_0x112168)throw new Error(_0x56ba9a(0x1f7));const _0x2b169e=new _0x10122e[(_0x56ba9a(0x453))](),_0x475ca6=new _0x43beed[(_0x56ba9a(0x69a))]();_0x2b169e[_0x56ba9a(0x607)](_0x112168[_0x56ba9a(0x4d4)][_0x56ba9a(0x40f)](_0x4594ef=>_0x475ca6[_0x56ba9a(0x299)](_0x4594ef))),_0x2b169e['add'](_0x10122e[_0x56ba9a(0x305)](()=>_0x475ca6['complete']()));const _0xb0e0bf=new _0x43beed[(_0x56ba9a(0x69a))]();_0x2b169e[_0x56ba9a(0x607)](_0x112168[_0x56ba9a(0x5e5)][_0x56ba9a(0x40f)](_0x138263=>_0xb0e0bf[_0x56ba9a(0x299)](_0x138263))),_0x2b169e['add'](_0x10122e[_0x56ba9a(0x305)](()=>_0xb0e0bf['complete']()));const _0x143e48=new _0x43beed[(_0x56ba9a(0x69a))]();_0x2b169e[_0x56ba9a(0x607)](_0x112168[_0x56ba9a(0x64f)][_0x56ba9a(0x40f)](_0x4fca1c=>{const _0x54c773=_0x56ba9a,_0x515669=_0x10f4c5(_0x4fca1c);_0x143e48[_0x54c773(0x299)](_0x515669);})),_0x2b169e[_0x56ba9a(0x607)](_0x10122e[_0x56ba9a(0x305)](()=>_0x143e48[_0x56ba9a(0x479)]()));let _0x12667c;const _0x47a94d=()=>{const _0x23afb6=_0x56ba9a;_0xb0e0bf[_0x23afb6(0x299)](new Event(_0x23afb6(0x676))),_0x475ca6['next'](new CloseEvent(_0x23afb6(0x676))),_0x12667c[_0x23afb6(0x551)]();};return _0x12667c={'memberID':'','close$':_0x475ca6[_0x56ba9a(0x644)](),'error$':_0xb0e0bf['asObservable'](),'open$':_0x112168[_0x56ba9a(0x400)],'message$':_0x143e48['asObservable'](),'send':_0x1f9275=>{const _0x357f76=_0x56ba9a;if(_0x1f9275[_0x357f76(0x3b8)]===_0x341a2a['INGEST']){if(_0x1f9275[_0x357f76(0x52b)][_0x357f76(0x53d)]===_0x434c76[_0x357f76(0x4cc)]['SUBMIT_CHANGESET']){this[_0x357f76(0x501)](_0x12667c,_0x1f9275[_0x357f76(0x52b)])[_0x357f76(0x43f)](_0x3ce807=>{const _0x4889a5=_0x357f76;this['_logService'][_0x4889a5(0x371)](_0x3ce807),_0x47a94d();});return;}if(_0x1f9275[_0x357f76(0x52b)][_0x357f76(0x53d)]===_0x434c76[_0x357f76(0x4cc)][_0x357f76(0x59d)]){const _0x21af6e=_0x1f9275[_0x357f76(0x52b)];this[_0x357f76(0x3c1)](_0x21af6e)[_0x357f76(0x443)](_0x578846=>{const _0x5b668b=_0x357f76;_0x143e48[_0x5b668b(0x299)]({'cmd':_0x341a2a['RECV'],'code':_0x479490['OK'],'routeKey':_0x21af6e[_0x5b668b(0x52b)][_0x5b668b(0x224)],'routeType':'','data':{'eventID':_0x434c76[_0x5b668b(0x4cc)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x578846}}});})[_0x357f76(0x43f)](_0x7d5565=>{const _0x5d6f0f=_0x357f76;this[_0x5d6f0f(0x477)][_0x5d6f0f(0x371)](_0x7d5565),_0x47a94d();});return;}}_0x112168[_0x357f76(0x63d)](_0x34a15b(_0x1f9275));},'close':()=>{const _0xbb209e=_0x56ba9a;_0x112168[_0xbb209e(0x551)](),_0x2b169e[_0xbb209e(0x67e)]();}},_0x12667c;}async[_0x270b48(0x501)](_0x43de36,_0x3134cf){const _0x3c29cf=_0x270b48;var _0x530bc6,_0x1d843f;const {unitType:_0x214c5b,unitID:_0x5c7a5b,changeset:_0x4bec7e}=_0x3134cf['data'],_0xfb52a9={'unitID':_0x5c7a5b,'memberID':_0x43de36[_0x3c29cf(0x1d0)],'type':_0x214c5b,'changeset':_0x434c76[_0x3c29cf(0x515)](_0x4bec7e)},_0x508b12=this[_0x3c29cf(0x4dd)][_0x3c29cf(0x5f1)](_0x162ce8),_0x459a89=this['_configService']['getConfig'](_0x100cc6),_0x50044f=_0x19d92a((_0x1d843f=(_0x530bc6=_0x459a89==null?void 0x0:_0x459a89[_0x3c29cf(0x48f)])!=null?_0x530bc6:_0x508b12)!=null?_0x1d843f:_0x177b6e,_0x214c5b,_0x5c7a5b);try{await this[_0x3c29cf(0x653)]['post'](_0x50044f,{'body':_0xfb52a9});}catch(_0x56f533){throw this[_0x3c29cf(0x477)][_0x3c29cf(0x371)](_0x3c29cf(0x373),_0x3c29cf(0x5b9)),_0x56f533;}}async[_0x270b48(0x3c1)](_0x274118){const _0x49ac8f=_0x270b48,{unitID:_0x39bc81,from:_0x1deaf0,to:_0x44b15c,unitType:_0x890d4}=_0x274118[_0x49ac8f(0x52b)];return(await this[_0x49ac8f(0x293)][_0x49ac8f(0x391)]({'metadata':void 0x0},{'unitID':_0x39bc81,'type':_0x890d4,'from':_0x1deaf0,'to':_0x44b15c}))[_0x49ac8f(0x478)];}},_0x3ef0c0['CollaborationSocketService']=_0x35aca7([_0x551c66(0x0,_0x10122e['Inject'](_0xbfbac5[_0x270b48(0x3d4)])),_0x551c66(0x1,_0x10122e['Inject'](_0xbfbac5[_0x270b48(0x67c)])),_0x551c66(0x2,_0x10122e[_0x270b48(0x635)]),_0x551c66(0x3,_0x10122e[_0x270b48(0x4d7)]),_0x551c66(0x4,_0x434c76[_0x270b48(0x633)])],_0x3ef0c0['CollaborationSocketService']);const _0xd67ee4=_0x270b48(0x5da);function _0x2ee0f0(_0xf919d9){const _0x25d18b=_0x270b48;return JSON['stringify'](_0xf919d9)[_0x25d18b(0x2df)];}class _0x28c998{constructor(){const _0x190573=_0x270b48;_0x11da04(this,_0x190573(0x351),new _0x43beed[(_0x190573(0x69a))]()),_0x11da04(this,'commentUpdate$',this['_commentUpdate$']['asObservable']());}[_0x270b48(0x4b8)](_0x70f5cd){const _0x295229=_0x270b48;this[_0x295229(0x351)][_0x295229(0x299)](_0x70f5cd);}}var _0x55570d=Object[_0x270b48(0x29d)],_0x3c3ff0=Object[_0x270b48(0x255)],_0xe822db=(_0x5d14a4,_0xf13cd9,_0x47c273,_0x38e5b1)=>{const _0x138ab0=_0x270b48;for(var _0x9c397c=_0x38e5b1>0x1?void 0x0:_0x38e5b1?_0x3c3ff0(_0xf13cd9,_0x47c273):_0xf13cd9,_0x132104=_0x5d14a4[_0x138ab0(0x2df)]-0x1,_0x38734b;_0x132104>=0x0;_0x132104--)(_0x38734b=_0x5d14a4[_0x132104])&&(_0x9c397c=(_0x38e5b1?_0x38734b(_0xf13cd9,_0x47c273,_0x9c397c):_0x38734b(_0x9c397c))||_0x9c397c);return _0x38e5b1&&_0x9c397c&&_0x55570d(_0xf13cd9,_0x47c273,_0x9c397c),_0x9c397c;},_0x407ee9=(_0x347368,_0x36971b)=>(_0x972c6b,_0x56b180)=>_0x36971b(_0x972c6b,_0x56b180,_0x347368);_0x3ef0c0[_0x270b48(0x610)]=class extends _0x10122e['Disposable']{constructor(_0xad8882,_0x4339ee){const _0x4c64b3=_0x270b48;super(),_0x11da04(this,_0x4c64b3(0x458),new Map()),(this[_0x4c64b3(0x3d7)]=_0xad8882,this['_userManagerService']=_0x4339ee,this[_0x4c64b3(0x206)](_0x10122e['toDisposable'](_0x43beed['merge'](this[_0x4c64b3(0x3d7)][_0x4c64b3(0x1d5)](_0x10122e[_0x4c64b3(0x348)][_0x4c64b3(0x4e9)])[_0x4c64b3(0x3fb)](_0x107fd5[_0x4c64b3(0x60f)](_0x39d63c=>_0x39d63c[_0x4c64b3(0x337)]())),this[_0x4c64b3(0x3d7)][_0x4c64b3(0x1d5)](_0x10122e[_0x4c64b3(0x348)][_0x4c64b3(0x414)])[_0x4c64b3(0x3fb)](_0x107fd5[_0x4c64b3(0x60f)](_0x362a1e=>_0x362a1e[_0x4c64b3(0x337)]())),this[_0x4c64b3(0x3d7)][_0x4c64b3(0x1d5)](_0x10122e[_0x4c64b3(0x348)][_0x4c64b3(0x634)])['pipe'](_0x107fd5['map'](_0x1bad9b=>_0x1bad9b[_0x4c64b3(0x337)]())))[_0x4c64b3(0x40f)](_0x58fd04=>this['_removeRoom'](_0x58fd04)))));}[_0x270b48(0x22a)](_0x211478){const _0x214e5f=_0x270b48;this[_0x214e5f(0x3c9)]['setCurrentUser'](_0x211478);}[_0x270b48(0x1d8)](){const _0x2f1565=_0x270b48;return this[_0x2f1565(0x3c9)]['getCurrentUser']();}[_0x270b48(0x44a)](_0x55a917,_0x358786){const _0x3088d2=_0x270b48;let _0x37e8e8=this[_0x3088d2(0x458)][_0x3088d2(0x56f)](_0x55a917);_0x37e8e8||(_0x37e8e8=new _0x4dcd9c(),this['_roomMembers'][_0x3088d2(0x472)](_0x55a917,_0x37e8e8)),_0x37e8e8[_0x3088d2(0x44a)](_0x358786);}['removeMember'](_0x2929f8,_0x1418ff){const _0x16ef2a=_0x270b48,_0x40feb2=this[_0x16ef2a(0x458)]['get'](_0x2929f8);_0x40feb2&&_0x40feb2[_0x16ef2a(0x427)](_0x1418ff);}[_0x270b48(0x2f8)](_0x185a87){const _0x37b46f=_0x270b48;return this[_0x37b46f(0x458)][_0x37b46f(0x56f)](_0x185a87);}[_0x270b48(0x539)](_0x26b81e,_0x25f729){const _0x26677f=_0x270b48,_0x1147dd=this['_roomMembers'][_0x26677f(0x56f)](_0x26b81e);if(_0x1147dd)return _0x1147dd[_0x26677f(0x539)](_0x25f729);}[_0x270b48(0x368)](_0x26e581){const _0x3eb7a9=_0x270b48,_0x28941e=this['_roomMembers'][_0x3eb7a9(0x56f)](_0x26e581);_0x28941e&&(_0x28941e[_0x3eb7a9(0x67e)](),this[_0x3eb7a9(0x458)]['delete'](_0x26e581));}[_0x270b48(0x67e)](){const _0x154a56=_0x270b48;this[_0x154a56(0x458)][_0x154a56(0x4bd)](_0x3009c8=>_0x3009c8[_0x154a56(0x67e)]()),this[_0x154a56(0x458)][_0x154a56(0x40c)]();}},_0x3ef0c0[_0x270b48(0x610)]=_0xe822db([_0x407ee9(0x0,_0x10122e[_0x270b48(0x204)]),_0x407ee9(0x1,_0x10122e['Inject'](_0x10122e[_0x270b48(0x5c3)]))],_0x3ef0c0[_0x270b48(0x610)]);class _0x4dcd9c extends _0x10122e[_0x270b48(0x5f7)]{constructor(){const _0x21cec0=_0x270b48;super(...arguments),_0x11da04(this,_0x21cec0(0x5f2),new Map());}[_0x270b48(0x67e)](){const _0x1fc2cd=_0x270b48;this['_members'][_0x1fc2cd(0x40c)]();}[_0x270b48(0x44a)](_0x1a05ac){const _0x360e25=_0x270b48;this[_0x360e25(0x5f2)]['set'](_0x1a05ac[_0x360e25(0x1d0)],_0x1a05ac);}[_0x270b48(0x427)](_0x5c951b){const _0x5eb46f=_0x270b48;this[_0x5eb46f(0x5f2)]['delete'](_0x5c951b);}['getMember'](_0x424dd1){const _0x5bd4ed=_0x270b48;return this[_0x5bd4ed(0x5f2)][_0x5bd4ed(0x56f)](_0x424dd1);}[_0x270b48(0x438)](){const _0x5403bd=_0x270b48;return Array[_0x5403bd(0x3b2)](this['_members'][_0x5403bd(0x40e)]());}}var _0x298e4b=Object[_0x270b48(0x29d)],_0x237fa7=Object[_0x270b48(0x255)],_0x4e65f3=(_0xbc7b4e,_0x589193,_0x2ef63e,_0x29b561)=>{const _0x1fb486=_0x270b48;for(var _0x1a2b0d=_0x29b561>0x1?void 0x0:_0x29b561?_0x237fa7(_0x589193,_0x2ef63e):_0x589193,_0x203b98=_0xbc7b4e[_0x1fb486(0x2df)]-0x1,_0x380c96;_0x203b98>=0x0;_0x203b98--)(_0x380c96=_0xbc7b4e[_0x203b98])&&(_0x1a2b0d=(_0x29b561?_0x380c96(_0x589193,_0x2ef63e,_0x1a2b0d):_0x380c96(_0x1a2b0d))||_0x1a2b0d);return _0x29b561&&_0x1a2b0d&&_0x298e4b(_0x589193,_0x2ef63e,_0x1a2b0d),_0x1a2b0d;},_0x186063=(_0x163f44,_0x4b0ef8)=>(_0x7165a0,_0xaf49f7)=>_0x4b0ef8(_0x7165a0,_0xaf49f7,_0x163f44),_0x606225=(_0xdc13c3=>(_0xdc13c3[_0xdc13c3[_0x270b48(0x2d4)]=0x0]='IDLE',_0xdc13c3[_0xdc13c3[_0x270b48(0x1f2)]=0x1]=_0x270b48(0x1f2),_0xdc13c3[_0xdc13c3['OFFLINE']=0x2]=_0x270b48(0x2f3),_0xdc13c3[_0xdc13c3[_0x270b48(0x29e)]=0x3]=_0x270b48(0x29e),_0xdc13c3))(_0x606225||{});_0x3ef0c0[_0x270b48(0x64c)]=class extends _0x10122e[_0x270b48(0x332)]{constructor(_0x4cc590,_0x8d2ee4,_0x3b1481,_0x3f1727,_0xda9dfe,_0x227b98,_0x16fd22,_0x395c31,_0x88ee8b,_0x5dfa3d){const _0x55c0ae=_0x270b48;super(),_0x11da04(this,_0x55c0ae(0x63e),new _0x43beed['BehaviorSubject'](0x0)),_0x11da04(this,_0x55c0ae(0x342),this['_sessionStatus$'][_0x55c0ae(0x644)]()),_0x11da04(this,_0x55c0ae(0x44f),new _0x43beed['Subject']()),_0x11da04(this,'event$',this['_event$']['asObservable']()),_0x11da04(this,'_socket'),_0x11da04(this,_0x55c0ae(0x5dd)),_0x11da04(this,_0x55c0ae(0x5fb)),_0x11da04(this,_0x55c0ae(0x491),!0x1),_0x11da04(this,_0x55c0ae(0x272),null),(this[_0x55c0ae(0x365)]=_0x4cc590,this[_0x55c0ae(0x477)]=_0x3b1481,this[_0x55c0ae(0x2a8)]=_0x3f1727,this[_0x55c0ae(0x4e8)]=_0xda9dfe,this[_0x55c0ae(0x4dd)]=_0x227b98,this[_0x55c0ae(0x548)]=_0x16fd22,this[_0x55c0ae(0x60b)]=_0x395c31,this[_0x55c0ae(0x42f)]=_0x88ee8b,this[_0x55c0ae(0x497)]=_0x5dfa3d,this[_0x55c0ae(0x491)]=!!this[_0x55c0ae(0x497)],_0x8d2ee4[_0x55c0ae(0x3fb)](_0x43beed[_0x55c0ae(0x57a)](this[_0x55c0ae(0x488)]))[_0x55c0ae(0x40f)](_0x465001=>{const _0x2fa2e1=_0x55c0ae;var _0x2c4e7c;typeof _0x465001>'u'||(this['_socket']=_0x465001,_0x465001?(this[_0x2fa2e1(0x48b)](_0x465001),this[_0x2fa2e1(0x5dd)]=_0x465001[_0x2fa2e1(0x64f)][_0x2fa2e1(0x40f)](_0x18dc9a=>{const _0x3566b9=_0x2fa2e1;_0x18dc9a['routeKey']===this[_0x3566b9(0x365)]&&this[_0x3566b9(0x1fd)](_0x18dc9a);})):(this[_0x2fa2e1(0x1da)](),this['_sessionStatus$'][_0x2fa2e1(0x299)](0x2),(_0x2c4e7c=this[_0x2fa2e1(0x5dd)])==null||_0x2c4e7c['unsubscribe'](),this['_socketMessageSubscription']=null));}),this[_0x55c0ae(0x206)](this[_0x55c0ae(0x2a8)][_0x55c0ae(0x350)](()=>{const _0x147aa4=_0x55c0ae;var _0x1bf05f;(_0x1bf05f=this['_socket'])==null||_0x1bf05f[_0x147aa4(0x63d)]({'cmd':_0x341a2a[_0x147aa4(0x25b)],'data':{'roomID':this[_0x147aa4(0x365)]}});})));}get[_0x270b48(0x5f6)](){const _0x41f8ea=_0x270b48;return this[_0x41f8ea(0x63e)][_0x41f8ea(0x579)]();}['getMemberID'](){const _0x32a365=_0x270b48;var _0x2e234b,_0x2234bc;return(_0x2234bc=(_0x2e234b=this[_0x32a365(0x24e)])==null?void 0x0:_0x2e234b[_0x32a365(0x1d0)])!=null?_0x2234bc:null;}[_0x270b48(0x67e)](){const _0x51c202=_0x270b48;super[_0x51c202(0x67e)](),this[_0x51c202(0x488)][_0x51c202(0x299)](),this[_0x51c202(0x488)][_0x51c202(0x479)]();}[_0x270b48(0x551)](){const _0x362709=_0x270b48;var _0x2b48c3,_0x4119ed;this[_0x362709(0x1da)](),(_0x2b48c3=this['_socket'])==null||_0x2b48c3[_0x362709(0x63d)]({'cmd':_0x341a2a['LEAVE'],'data':{'roomID':this[_0x362709(0x365)]}}),(_0x4119ed=this[_0x362709(0x24e)])==null||_0x4119ed[_0x362709(0x551)](),this[_0x362709(0x44f)][_0x362709(0x479)](),this[_0x362709(0x63e)]['complete'](),this[_0x362709(0x67e)]();}[_0x270b48(0x1fd)](_0x428440){const _0x101412=_0x270b48;_0x428440[_0x101412(0x3b8)]===_0x341a2a[_0x101412(0x5ca)]?this[_0x101412(0x308)](_0x428440):_0x428440[_0x101412(0x3b8)]===_0x341a2a[_0x101412(0x33c)]&&this['_onRecvEvent'](_0x428440);}[_0x270b48(0x48b)](_0x1c252b){const _0x5ba51f=_0x270b48;this[_0x5ba51f(0x63e)][_0x5ba51f(0x299)](0x1),_0x1c252b[_0x5ba51f(0x63d)]({'cmd':_0x341a2a[_0x5ba51f(0x5ca)],'routeKey':this[_0x5ba51f(0x365)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5ba51f(0x365)]}]}});}[_0x270b48(0x308)](_0x5ac845){const _0x2bef36=_0x270b48;var _0x188e55;if(_0x5ac845[_0x2bef36(0x38d)]===_0x479490['FAIL']){this['_messageService'][_0x2bef36(0x36c)]({'type':_0x4811a0[_0x2bef36(0x3b0)][_0x2bef36(0x309)],'content':this[_0x2bef36(0x548)]['t'](_0x2bef36(0x520))}),this['_sessionStatus$']['next'](0x2);return;}this[_0x2bef36(0x63e)][_0x2bef36(0x299)](0x3);const _0x2a6c38=(_0x188e55=_0x5ac845['data'][_0x2bef36(0x480)][this[_0x2bef36(0x365)]])==null?void 0x0:_0x188e55[_0x2bef36(0x471)];_0x2a6c38&&_0x2a6c38[_0x2bef36(0x4bd)](_0x22babf=>this[_0x2bef36(0x60b)][_0x2bef36(0x44a)](this[_0x2bef36(0x365)],_0x22babf));}[_0x270b48(0x3cb)](_0x1cebfd){const _0x2a5fda=_0x270b48;try{const _0x437fa6=_0x1cebfd[_0x2a5fda(0x52b)];switch(_0x437fa6[_0x2a5fda(0x53d)]){case _0x434c76['CollaborationEvent']['USERS_ENTER']:this['_onUserJoin'](_0x437fa6),this['_event$'][_0x2a5fda(0x299)](_0x437fa6);break;case _0x434c76[_0x2a5fda(0x4cc)][_0x2a5fda(0x30a)]:this[_0x2a5fda(0x538)](_0x437fa6),this[_0x2a5fda(0x44f)][_0x2a5fda(0x299)](_0x437fa6);break;case _0x434c76['CollaborationEvent']['CHANGESET_ACK']:case _0x434c76[_0x2a5fda(0x4cc)][_0x2a5fda(0x2c0)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x2a5fda(0x3d1)](),this[_0x2a5fda(0x44f)]['next'](_0x437fa6);break;case _0x434c76['CollaborationEvent'][_0x2a5fda(0x3b7)]:this[_0x2a5fda(0x477)][_0x2a5fda(0x371)](_0x2a5fda(0x2f0)+JSON[_0x2a5fda(0x254)](_0x437fa6)),this[_0x2a5fda(0x44f)]['next'](_0x437fa6);break;case _0x434c76[_0x2a5fda(0x4cc)]['COMMENT_UPDATE']:this[_0x2a5fda(0x42f)][_0x2a5fda(0x4b8)](_0x437fa6['data']),this[_0x2a5fda(0x44f)][_0x2a5fda(0x299)](_0x437fa6);break;default:this[_0x2a5fda(0x44f)][_0x2a5fda(0x299)](_0x437fa6);}}catch(_0x1c1ff3){this[_0x2a5fda(0x477)][_0x2a5fda(0x371)](_0x1c1ff3,_0x1cebfd);}}['_onUserJoin'](_0xc398e){const _0x320860=_0x270b48;this[_0x320860(0x60b)][_0x320860(0x44a)](this[_0x320860(0x365)],_0xc398e[_0x320860(0x52b)]);}[_0x270b48(0x538)](_0x3db83d){const _0x3d2bb6=_0x270b48;this[_0x3d2bb6(0x60b)][_0x3d2bb6(0x427)](this[_0x3d2bb6(0x365)],_0x3db83d[_0x3d2bb6(0x52b)][_0x3d2bb6(0x1d0)]);}async[_0x270b48(0x63d)](_0x2a7c95,_0xe7d75e){const _0x2d8552=_0x270b48;if(this[_0x2d8552(0x5f6)]!==0x3||!this['_socket'])throw new Error(_0x2d8552(0x31c));try{_0x2a7c95['eventID']===_0x434c76[_0x2d8552(0x4cc)][_0x2d8552(0x258)]&&(this[_0x2d8552(0x695)](),this['_startTelemetryCollaborationNewChangeset'](_0x2a7c95)),this['_socket'][_0x2d8552(0x63d)]({'cmd':_0x341a2a['INGEST'],'routeKey':_0xe7d75e,'routeType':'','data':_0x2a7c95});}catch(_0x95d002){this['_logService'][_0x2d8552(0x371)](_0x95d002);}}[_0x270b48(0x695)](){const _0x1e251b=_0x270b48;var _0x5c13f6;this['_collaborationTimeoutTimer']=window[_0x1e251b(0x298)](()=>{const _0x4d5210=_0x1e251b;this[_0x4d5210(0x5fb)]=null,this[_0x4d5210(0x4e8)][_0x4d5210(0x36c)]({'type':_0x4811a0['MessageType'][_0x4d5210(0x613)],'content':this[_0x4d5210(0x548)]['t'](_0x4d5210(0x57f))});},(_0x5c13f6=this[_0x1e251b(0x4dd)][_0x1e251b(0x5f1)](_0x4e1a95))!=null?_0x5c13f6:0x4e20);}[_0x270b48(0x3d1)](){const _0x4cc254=_0x270b48;this[_0x4cc254(0x5fb)]&&(clearTimeout(this[_0x4cc254(0x5fb)]),this[_0x4cc254(0x5fb)]=null);}[_0x270b48(0x616)](_0x1c89ea){const _0x1f3548=_0x270b48;if(!this[_0x1f3548(0x491)])return;const {data:_0x2f1434}=_0x1c89ea,{unitID:_0x39d21c,changeset:_0x451265}=_0x2f1434,{mutations:_0x499247,type:_0x166fd7}=_0x451265;this[_0x1f3548(0x272)]={'unitId':_0x39d21c,'type':_0x166fd7,'startTime':performance[_0x1f3548(0x285)](),'stopTime':0x0,'duration':0x0,'size':_0x2ee0f0(_0x499247)};}[_0x270b48(0x647)](){const _0x46d68c=_0x270b48;if(this[_0x46d68c(0x491)]){if(!this[_0x46d68c(0x272)]){this[_0x46d68c(0x477)]['error'](_0x46d68c(0x373),_0x46d68c(0x605));return;}this[_0x46d68c(0x272)][_0x46d68c(0x4de)]=performance['now'](),this['_telemetryInfo']['duration']=this['_telemetryInfo'][_0x46d68c(0x4de)]-this[_0x46d68c(0x272)][_0x46d68c(0x4ba)],this[_0x46d68c(0x497)]['capture'](_0xd67ee4,this[_0x46d68c(0x272)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x337647=_0x270b48;this[_0x337647(0x272)]=null;}},_0x3ef0c0[_0x270b48(0x64c)]=_0x4e65f3([_0x186063(0x2,_0x10122e[_0x270b48(0x4d7)]),_0x186063(0x3,_0x3421c5[_0x270b48(0x4e2)]),_0x186063(0x4,_0x3421c5[_0x270b48(0x408)]),_0x186063(0x5,_0x10122e[_0x270b48(0x635)]),_0x186063(0x6,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x42c)])),_0x186063(0x7,_0x10122e[_0x270b48(0x5c7)](_0x3ef0c0[_0x270b48(0x610)])),_0x186063(0x8,_0x10122e[_0x270b48(0x5c7)](_0x28c998)),_0x186063(0x9,_0x10122e[_0x270b48(0x24d)](_0x1db2f7[_0x270b48(0x323)]))],_0x3ef0c0['CollaborationSession']);var _0x3f66a9=Object[_0x270b48(0x29d)],_0x56ccaa=Object[_0x270b48(0x255)],_0x189083=(_0xd72153,_0x2d9279,_0x2dbe04,_0x7fab06)=>{const _0x490eee=_0x270b48;for(var _0x356477=_0x7fab06>0x1?void 0x0:_0x7fab06?_0x56ccaa(_0x2d9279,_0x2dbe04):_0x2d9279,_0x30e680=_0xd72153[_0x490eee(0x2df)]-0x1,_0x2917eb;_0x30e680>=0x0;_0x30e680--)(_0x2917eb=_0xd72153[_0x30e680])&&(_0x356477=(_0x7fab06?_0x2917eb(_0x2d9279,_0x2dbe04,_0x356477):_0x2917eb(_0x356477))||_0x356477);return _0x7fab06&&_0x356477&&_0x3f66a9(_0x2d9279,_0x2dbe04,_0x356477),_0x356477;},_0x291a5f=(_0x46a0e5,_0x5c3a10)=>(_0x352657,_0x21176b)=>_0x5c3a10(_0x352657,_0x21176b,_0x46a0e5);_0x3ef0c0[_0x270b48(0x5ae)]=class extends _0x10122e[_0x270b48(0x5f7)]{constructor(_0x459e43,_0x13c43a,_0x3e1d42,_0x3ffe4f,_0x23a4e8,_0x59b08b){const _0x695a29=_0x270b48;super(),_0x11da04(this,_0x695a29(0x652),new _0x43beed[(_0x695a29(0x65c))](void 0x0)),_0x11da04(this,_0x695a29(0x59f),this[_0x695a29(0x652)][_0x695a29(0x644)]()),_0x11da04(this,_0x695a29(0x68c),null),_0x11da04(this,_0x695a29(0x630),new Map()),_0x11da04(this,'_status$',new _0x43beed['BehaviorSubject'](_0x606225[_0x695a29(0x2d4)])),_0x11da04(this,_0x695a29(0x2f6),this[_0x695a29(0x1fa)][_0x695a29(0x644)]()),_0x11da04(this,'_socketReady',!0x1),_0x11da04(this,_0x695a29(0x436)),_0x11da04(this,_0x695a29(0x3a0),0x0),_0x11da04(this,_0x695a29(0x1f4)),_0x11da04(this,'_timeoutTimer'),(this[_0x695a29(0x358)]=_0x459e43,this[_0x695a29(0x548)]=_0x13c43a,this[_0x695a29(0x4e8)]=_0x3e1d42,this['_logService']=_0x3ffe4f,this[_0x695a29(0x4dd)]=_0x23a4e8,this['_socketService']=_0x59b08b,this[_0x695a29(0x3f4)]());}get[_0x270b48(0x24e)](){const _0xabc62c=_0x270b48;return this['_socket$'][_0xabc62c(0x579)]();}[_0x270b48(0x3f4)](){const _0x524436=_0x270b48;this[_0x524436(0x625)](),this['_listenToOnlineEvent']();}['dispose'](){const _0x12a5a6=_0x270b48;super[_0x12a5a6(0x67e)](),this[_0x12a5a6(0x630)]['forEach'](_0x20ed6e=>_0x20ed6e['dispose']()),this[_0x12a5a6(0x630)][_0x12a5a6(0x40c)](),this[_0x12a5a6(0x1fa)][_0x12a5a6(0x479)]();}async['requireSession'](_0x101b40){const _0x175f7d=_0x270b48;if(this[_0x175f7d(0x630)][_0x175f7d(0x5aa)](_0x101b40))return this['_sessions'][_0x175f7d(0x56f)](_0x101b40);this['_tryEnsureSocket']();const _0x302613=this['_injector'][_0x175f7d(0x624)](_0x3ef0c0['CollaborationSession'],_0x101b40,this[_0x175f7d(0x652)]['asObservable']());return this[_0x175f7d(0x630)][_0x175f7d(0x472)](_0x101b40,_0x302613),_0x302613;}[_0x270b48(0x688)](_0xa12a0){const _0xdcd7d3=_0x270b48;var _0x4676c7;const _0x82205b=this[_0xdcd7d3(0x630)][_0xdcd7d3(0x56f)](_0xa12a0);_0x82205b&&(this[_0xdcd7d3(0x630)]['delete'](_0xa12a0),_0x82205b[_0xdcd7d3(0x551)]()),this['_sessions'][_0xdcd7d3(0x611)]||(_0x4676c7=this[_0xdcd7d3(0x24e)])==null||_0x4676c7[_0xdcd7d3(0x551)]();}[_0x270b48(0x265)](){const _0x17d6f1=_0x270b48;this[_0x17d6f1(0x3a0)]=0x0,this[_0x17d6f1(0x436)]!=null&&(clearTimeout(this[_0x17d6f1(0x436)]),this[_0x17d6f1(0x436)]=null),this[_0x17d6f1(0x4c5)]();}[_0x270b48(0x37f)](){const _0xb2a28e=_0x270b48;var _0x52fa0e,_0x411e16;const _0x5aa230=this[_0xb2a28e(0x4dd)][_0xb2a28e(0x5f1)](_0x4b9331),_0x482005=this[_0xb2a28e(0x4dd)][_0xb2a28e(0x5f1)](_0x100cc6),_0x405f6f=(_0x411e16=(_0x52fa0e=_0x482005==null?void 0x0:_0x482005['collabWebSocketUrl'])!=null?_0x52fa0e:_0x5aa230)!=null?_0x411e16:_0x391104,_0x35d447=this[_0xb2a28e(0x466)]['createSocket'](_0x405f6f);return this[_0xb2a28e(0x68c)]=_0x35d447,_0x35d447;}['_tryEnsureSocket'](){const _0x4ad0c1=_0x270b48;var _0x481291,_0x47c508;try{const _0x32507b=(_0x47c508=(_0x481291=this[_0x4ad0c1(0x24e)])!=null?_0x481291:this[_0x4ad0c1(0x68c)])!=null?_0x47c508:this[_0x4ad0c1(0x37f)]();if(_0x32507b){const _0x22af68=_0x32507b[_0x4ad0c1(0x63d)];_0x32507b[_0x4ad0c1(0x63d)]=_0x2fd4de=>(this[_0x4ad0c1(0x346)](),_0x22af68[_0x4ad0c1(0x395)](_0x32507b,[_0x2fd4de])),_0x32507b[_0x4ad0c1(0x64f)]['subscribe'](_0x46aeea=>this[_0x4ad0c1(0x4a5)](_0x32507b,_0x46aeea)),_0x32507b['error$'][_0x4ad0c1(0x3fb)](_0x107fd5[_0x4ad0c1(0x4cd)](0x1))[_0x4ad0c1(0x40f)](_0x2212fc=>this[_0x4ad0c1(0x477)][_0x4ad0c1(0x371)]('[CollaborationSessionService]:\x20socket\x20error',_0x2212fc)),_0x32507b[_0x4ad0c1(0x400)][_0x4ad0c1(0x3fb)](_0x107fd5[_0x4ad0c1(0x4cd)](0x1))[_0x4ad0c1(0x40f)](()=>{const _0x45cd3b=_0x4ad0c1;this[_0x45cd3b(0x4c8)](_0x32507b);}),_0x32507b[_0x4ad0c1(0x4d4)]['pipe'](_0x107fd5[_0x4ad0c1(0x4cd)](0x1))[_0x4ad0c1(0x40f)](_0x3fb975=>{const _0x379a1c=_0x4ad0c1;this[_0x379a1c(0x477)]['debug'](_0x379a1c(0x4c2),'socket\x20close',_0x3fb975),this[_0x379a1c(0x257)]();});}}catch(_0x2124ca){this[_0x4ad0c1(0x477)][_0x4ad0c1(0x371)](_0x2124ca),this[_0x4ad0c1(0x257)]();}}[_0x270b48(0x4c8)](_0x1a1ebf){const _0x3b6f40=_0x270b48;this[_0x3b6f40(0x477)][_0x3b6f40(0x41a)](_0x3b6f40(0x4c2),_0x3b6f40(0x3d6)),_0x1a1ebf[_0x3b6f40(0x63d)]({'cmd':_0x341a2a[_0x3b6f40(0x357)]}),this[_0x3b6f40(0x346)]();}[_0x270b48(0x625)](){const _0x40b475=_0x270b48;window['addEventListener']('offline',()=>this[_0x40b475(0x4e3)]());}['_onOffline'](){const _0x12c6c3=_0x270b48;this[_0x12c6c3(0x62f)]=!0x1,this[_0x12c6c3(0x68c)]=null,this[_0x12c6c3(0x1fa)][_0x12c6c3(0x299)](_0x606225['OFFLINE']),this[_0x12c6c3(0x652)]['next'](null),this['_clearTimeoutTimer'](),this[_0x12c6c3(0x45a)]();}[_0x270b48(0x257)](){const _0x9b0e1a=_0x270b48;var _0x4ed679;this[_0x9b0e1a(0x4e3)](),this[_0x9b0e1a(0x3a0)]<((_0x4ed679=this['_configService'][_0x9b0e1a(0x5f1)](_0x57f6b8))!=null?_0x4ed679:0x3)?(this[_0x9b0e1a(0x4e8)][_0x9b0e1a(0x36c)]({'key':_0x9b0e1a(0x51b),'type':_0x4811a0[_0x9b0e1a(0x3b0)][_0x9b0e1a(0x309)],'content':this[_0x9b0e1a(0x548)]['t'](_0x9b0e1a(0x5a0))}),this['_tryReconnect']()):this[_0x9b0e1a(0x4e8)]['show']({'key':_0x9b0e1a(0x51b),'type':_0x4811a0[_0x9b0e1a(0x3b0)][_0x9b0e1a(0x613)],'content':this[_0x9b0e1a(0x548)]['t']('session.connection-failed')});}[_0x270b48(0x280)](){const _0x422f54=_0x270b48,_0x905758=()=>{const _0x3d0897=_0x5645;this[_0x3d0897(0x24e)]||this[_0x3d0897(0x265)]();},_0x5e2e58=()=>{const _0x5da0fb=_0x5645;this['_socket']||document[_0x5da0fb(0x4e5)]===_0x5da0fb(0x4fd)||this[_0x5da0fb(0x265)]();};window[_0x422f54(0x484)]('online',_0x905758),document[_0x422f54(0x484)](_0x422f54(0x51c),_0x5e2e58);}['_tryReconnect'](){const _0x3eac1f=_0x270b48;var _0x1163e3;const _0x3a386d=this[_0x3eac1f(0x3a0)],_0x3f254b=this[_0x3eac1f(0x4dd)][_0x3eac1f(0x5f1)](_0x100cc6),_0x49eafa=_0x3a386d===0x0?0x0:((_0x1163e3=_0x3f254b==null?void 0x0:_0x3f254b[_0x3eac1f(0x1db)])!=null?_0x1163e3:0x4e20)*0x2**_0x3a386d;this[_0x3eac1f(0x436)]=window[_0x3eac1f(0x298)](()=>{const _0x3ea9d0=_0x3eac1f;clearTimeout(this[_0x3ea9d0(0x436)]),this['_retryConnectingTimer']=null,this[_0x3ea9d0(0x45e)]();},_0x49eafa),this['_retryCount']+=0x1;}['_onMessage'](_0x425ab4,_0x278b25){const _0x28ab08=_0x270b48,{cmd:_0x4b8a43}=_0x278b25;_0x4b8a43===_0x341a2a[_0x28ab08(0x357)]&&!this[_0x28ab08(0x62f)]&&(_0x425ab4[_0x28ab08(0x1d0)]=_0x278b25[_0x28ab08(0x52b)]['memberID'],this['_socket$']['next'](_0x425ab4),this[_0x28ab08(0x1fa)][_0x28ab08(0x299)](_0x606225[_0x28ab08(0x29e)]),this[_0x28ab08(0x62f)]=!0x0,this[_0x28ab08(0x68c)]=null),_0x4b8a43===_0x341a2a[_0x28ab08(0x3a3)]&&this[_0x28ab08(0x30e)](),this[_0x28ab08(0x346)]();}[_0x270b48(0x346)](){const _0x4b89a2=_0x270b48;var _0x405022;this[_0x4b89a2(0x45a)](),this[_0x4b89a2(0x1f4)]=window[_0x4b89a2(0x298)](()=>this[_0x4b89a2(0x426)](),(_0x405022=this[_0x4b89a2(0x4dd)][_0x4b89a2(0x5f1)](_0x413eda))!=null?_0x405022:0x7530);}[_0x270b48(0x426)](){const _0x4f1d1f=_0x270b48;this['_socket']['send']({'cmd':_0x341a2a[_0x4f1d1f(0x3a3)]}),this[_0x4f1d1f(0x2f9)]();}[_0x270b48(0x2f9)](){const _0x3afb91=_0x270b48;var _0x1c9f7d;this[_0x3afb91(0x363)]=window[_0x3afb91(0x298)](()=>this['_onConnectionFailed'](),(_0x1c9f7d=this[_0x3afb91(0x4dd)][_0x3afb91(0x5f1)](_0x4e1a95))!=null?_0x1c9f7d:0x4e20);}[_0x270b48(0x45a)](){const _0x3f6944=_0x270b48;this[_0x3f6944(0x1f4)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x3f6944(0x1f4)]=null);}['_clearTimeoutTimer'](){const _0x1be013=_0x270b48;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x1be013(0x363)]),this[_0x1be013(0x363)]=null);}},_0x3ef0c0['CollaborationSessionService']=_0x189083([_0x291a5f(0x0,_0x10122e[_0x270b48(0x5c7)](_0x10122e['Injector'])),_0x291a5f(0x1,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x42c)])),_0x291a5f(0x2,_0x3421c5[_0x270b48(0x408)]),_0x291a5f(0x3,_0x10122e[_0x270b48(0x4d7)]),_0x291a5f(0x4,_0x10122e['IConfigService']),_0x291a5f(0x5,_0x10766f)],_0x3ef0c0[_0x270b48(0x5ae)]);const _0x4d422e=[];for(let _0x3227df=0x0;_0x3227df<0x100;++_0x3227df)_0x4d422e[_0x270b48(0x28f)]((_0x3227df+0x100)[_0x270b48(0x638)](0x10)[_0x270b48(0x4ac)](0x1));function _0x1f7be3(_0xe8c81a,_0x236f31=0x0){const _0xf4cc24=_0x270b48;return(_0x4d422e[_0xe8c81a[_0x236f31+0x0]]+_0x4d422e[_0xe8c81a[_0x236f31+0x1]]+_0x4d422e[_0xe8c81a[_0x236f31+0x2]]+_0x4d422e[_0xe8c81a[_0x236f31+0x3]]+'-'+_0x4d422e[_0xe8c81a[_0x236f31+0x4]]+_0x4d422e[_0xe8c81a[_0x236f31+0x5]]+'-'+_0x4d422e[_0xe8c81a[_0x236f31+0x6]]+_0x4d422e[_0xe8c81a[_0x236f31+0x7]]+'-'+_0x4d422e[_0xe8c81a[_0x236f31+0x8]]+_0x4d422e[_0xe8c81a[_0x236f31+0x9]]+'-'+_0x4d422e[_0xe8c81a[_0x236f31+0xa]]+_0x4d422e[_0xe8c81a[_0x236f31+0xb]]+_0x4d422e[_0xe8c81a[_0x236f31+0xc]]+_0x4d422e[_0xe8c81a[_0x236f31+0xd]]+_0x4d422e[_0xe8c81a[_0x236f31+0xe]]+_0x4d422e[_0xe8c81a[_0x236f31+0xf]])[_0xf4cc24(0x393)]();}let _0x4ac773;const _0x10b25e=new Uint8Array(0x10);function _0x14956c(){const _0x4c2915=_0x270b48;if(!_0x4ac773){if(typeof crypto>'u'||!crypto[_0x4c2915(0x583)])throw new Error(_0x4c2915(0x5c8));_0x4ac773=crypto[_0x4c2915(0x583)][_0x4c2915(0x23e)](crypto);}return _0x4ac773(_0x10b25e);}const _0x9c4a17={'randomUUID':typeof crypto<'u'&&crypto[_0x270b48(0x671)]&&crypto[_0x270b48(0x671)][_0x270b48(0x23e)](crypto)};function _0x493452(_0x2b618b,_0x43c20d,_0x1282df){const _0x3d0f2e=_0x270b48;if(_0x9c4a17[_0x3d0f2e(0x671)]&&!_0x43c20d&&!_0x2b618b)return _0x9c4a17[_0x3d0f2e(0x671)]();_0x2b618b=_0x2b618b||{};const _0xe5aca6=_0x2b618b[_0x3d0f2e(0x641)]||(_0x2b618b['rng']||_0x14956c)();return _0xe5aca6[0x6]=_0xe5aca6[0x6]&0xf|0x40,_0xe5aca6[0x8]=_0xe5aca6[0x8]&0x3f|0x80,_0x1f7be3(_0xe5aca6);}var _0x7b79f1=Object[_0x270b48(0x29d)],_0x186858=Object['getOwnPropertyDescriptor'],_0x3b9229=(_0x41f426,_0x1178c2,_0x5cc02f,_0x2ec003)=>{const _0x36364d=_0x270b48;for(var _0x589df1=_0x2ec003>0x1?void 0x0:_0x2ec003?_0x186858(_0x1178c2,_0x5cc02f):_0x1178c2,_0x2c5238=_0x41f426[_0x36364d(0x2df)]-0x1,_0x251d48;_0x2c5238>=0x0;_0x2c5238--)(_0x251d48=_0x41f426[_0x2c5238])&&(_0x589df1=(_0x2ec003?_0x251d48(_0x1178c2,_0x5cc02f,_0x589df1):_0x251d48(_0x589df1))||_0x589df1);return _0x2ec003&&_0x589df1&&_0x7b79f1(_0x1178c2,_0x5cc02f,_0x589df1),_0x589df1;},_0x1960cb=(_0x2deadb,_0x56dbce)=>(_0x32a1f7,_0xdf91f9)=>_0x56dbce(_0x32a1f7,_0xdf91f9,_0x2deadb);let _0x3d74d7=class{constructor(_0x3aea8f,_0x3e7e3e,_0x4f6312){const _0x56e72c=_0x270b48;this['_injector']=_0x3aea8f,this[_0x56e72c(0x54b)]=_0x3e7e3e,this[_0x56e72c(0x54e)]=_0x4f6312;}['transformIMECache'](_0x526c2b){const _0x45d6e7=_0x270b48;this['_transformUndoRedoStack'](_0x526c2b),this[_0x45d6e7(0x263)](_0x526c2b);}[_0x270b48(0x5b5)](_0x312955){const _0x1404d7=_0x270b48,{unitID:_0x38ab27}=_0x312955,_0x4191f8=this[_0x1404d7(0x54e)][_0x1404d7(0x4d2)](_0x38ab27)[_0x1404d7(0x287)](_0x427cca[_0x1404d7(0x558)]),{redoCache:_0x4ef3ae}=_0x4191f8[_0x1404d7(0x302)]();if(_0x4ef3ae[_0x1404d7(0x2df)]===0x0)return _0x312955;let _0x5a086c=_0x10122e['Tools'][_0x1404d7(0x20d)](_0x312955[_0x1404d7(0x43b)][0x0]);for(let _0x2189e6=0x0;_0x2189e6<_0x4ef3ae[_0x1404d7(0x2df)];_0x2189e6++){const _0x47f2a3={'id':_0x1404d7(0x3b4),'params':{..._0x4ef3ae[_0x2189e6]}},_0x162d38=this[_0x1404d7(0x54b)][_0x1404d7(0x476)](_0x5a086c,_0x47f2a3,!0x1);if(_0x434c76['isTransformMutationFailure'](_0x162d38))throw _0x162d38[_0x1404d7(0x371)];_0x5a086c=_0x162d38[_0x1404d7(0x659)];}return{..._0x10122e['Tools'][_0x1404d7(0x20d)](_0x312955),'mutations':[_0x5a086c]};}[_0x270b48(0x4f1)](_0x5b1242){const _0x1fb86e=_0x270b48,{unitID:_0x3f3a0f}=_0x5b1242,_0x3861b8=this[_0x1fb86e(0x54e)][_0x1fb86e(0x4d2)](_0x3f3a0f)[_0x1fb86e(0x287)](_0x427cca[_0x1fb86e(0x558)]),{undoCache:_0x28dca8,redoCache:_0x716a04}=_0x3861b8[_0x1fb86e(0x302)]();if(_0x28dca8['length']===0x0||_0x716a04[_0x1fb86e(0x2df)]===0x0)return;const _0x291f9c=[],_0x27f9fd=[];let _0x1d32b4=_0x10122e[_0x1fb86e(0x3bf)][_0x1fb86e(0x20d)](_0x5b1242['mutations'][0x0]),_0x1e476c=_0x10122e[_0x1fb86e(0x3bf)][_0x1fb86e(0x20d)](_0x5b1242[_0x1fb86e(0x43b)][0x0]);for(let _0x1c97e5=_0x28dca8[_0x1fb86e(0x2df)]-0x1;_0x1c97e5>=0x0;_0x1c97e5--){const _0x1dee70={'id':_0x1fb86e(0x3b4),'params':{..._0x28dca8[_0x1c97e5]}},_0x427270={'id':'doc.mutation.rich-text-editing','params':{..._0x716a04[_0x1c97e5]}},_0x127dde=this['_transformService'][_0x1fb86e(0x476)](_0x1d32b4,_0x1dee70,!0x1),_0x429da6=this['_transformService'][_0x1fb86e(0x476)](_0x1e476c,_0x427270,!0x1);if(_0x434c76['isTransformMutationFailure'](_0x127dde))throw _0x127dde[_0x1fb86e(0x371)];if(_0x434c76['isTransformMutationFailure'](_0x429da6))throw _0x429da6[_0x1fb86e(0x371)];_0x291f9c[_0x1fb86e(0x394)](_0x127dde['m2Prime'][_0x1fb86e(0x4ef)]),_0x27f9fd[_0x1fb86e(0x394)](_0x429da6[_0x1fb86e(0x682)][_0x1fb86e(0x4ef)]),_0x1d32b4=_0x127dde['m1Prime'],_0x1e476c=_0x429da6['m1Prime'];}_0x3861b8['setUndoRedoMutationParamsCache']({'undoCache':_0x291f9c,'redoCache':_0x27f9fd});}[_0x270b48(0x263)](_0x2ac02e){const _0x4e66e2=_0x270b48,{unitID:_0x2fb227}=_0x2ac02e,_0x469ba3=this['_renderManagerService'][_0x4e66e2(0x4d2)](_0x2fb227)[_0x4e66e2(0x287)](_0x427cca[_0x4e66e2(0x558)]),_0x4aec32=_0x469ba3['getActiveRange']();if(_0x4aec32==null)return;const _0x5ef5be=[{'id':_0x4e66e2(0x3b4),'params':{'unitId':_0x2ac02e[_0x4e66e2(0x224)],'actions':null,'textRanges':[_0x4aec32]}}],_0xe1543d=this[_0x4e66e2(0x54b)][_0x4e66e2(0x236)](_0x2ac02e,_0x5ef5be);if(!_0x434c76[_0x4e66e2(0x425)](_0xe1543d))throw _0xe1543d['error'];const _0x3898c4=_0xe1543d['m2Prime'][0x0][_0x4e66e2(0x4ef)][_0x4e66e2(0x21f)];Array[_0x4e66e2(0x3dc)](_0x3898c4)&&_0x3898c4[_0x4e66e2(0x2df)]&&_0x469ba3[_0x4e66e2(0x3f3)](_0x3898c4[0x0]);}};_0x3d74d7=_0x3b9229([_0x1960cb(0x0,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x53a)])),_0x1960cb(0x1,_0x434c76['ITransformService']),_0x1960cb(0x2,_0x3d8481[_0x270b48(0x390)])],_0x3d74d7);var _0x2b810b=Object[_0x270b48(0x29d)],_0x5e579d=Object['getOwnPropertyDescriptor'],_0xd1d9b=(_0x12edc6,_0x4aa1f8,_0x527f25,_0x2b0ec0)=>{const _0x1c8853=_0x270b48;for(var _0x5f7406=_0x2b0ec0>0x1?void 0x0:_0x2b0ec0?_0x5e579d(_0x4aa1f8,_0x527f25):_0x4aa1f8,_0x364d54=_0x12edc6[_0x1c8853(0x2df)]-0x1,_0x311afe;_0x364d54>=0x0;_0x364d54--)(_0x311afe=_0x12edc6[_0x364d54])&&(_0x5f7406=(_0x2b0ec0?_0x311afe(_0x4aa1f8,_0x527f25,_0x5f7406):_0x311afe(_0x5f7406))||_0x5f7406);return _0x2b0ec0&&_0x5f7406&&_0x2b810b(_0x4aa1f8,_0x527f25,_0x5f7406),_0x5f7406;},_0x2f44f8=(_0x55529d,_0x12f937)=>(_0x1673de,_0x599237)=>_0x12f937(_0x1673de,_0x599237,_0x55529d);_0x3ef0c0[_0x270b48(0x2c7)]=class extends _0x10122e[_0x270b48(0x5f7)]{constructor(_0x5e0f8f,_0x44a939,_0x290b60,_0x351ee7,_0x51ada6){const _0x58c163=_0x270b48;super(),_0x11da04(this,_0x58c163(0x5ad),new Map()),_0x11da04(this,_0x58c163(0x24b),new Map()),_0x11da04(this,_0x58c163(0x3b1),!0x1),(this[_0x58c163(0x4dd)]=_0x5e0f8f,this[_0x58c163(0x3df)]=_0x44a939,this[_0x58c163(0x2a8)]=_0x290b60,this[_0x58c163(0x548)]=_0x351ee7,this[_0x58c163(0x4cb)]=_0x51ada6,this[_0x58c163(0x1ea)]());}[_0x270b48(0x45b)](){const _0x281ada=_0x270b48;this[_0x281ada(0x3b1)]=!0x0;}['enableLocalCache'](){const _0x1a9fbd=_0x270b48;this[_0x1a9fbd(0x3b1)]=!0x1;}[_0x270b48(0x67e)](){const _0x3c8c24=_0x270b48;this['exhaustSavingTask']()[_0x3c8c24(0x443)](()=>super[_0x3c8c24(0x67e)]());}async[_0x270b48(0x294)](_0x104ff4){return this['_disabled']?null:this['_localStorageService']['getItem'](_0x91a2ff(_0x104ff4));}async['saveOfflineData'](_0x44c766,_0x5f11fe){const _0x33c4a8=_0x270b48;return!!this[_0x33c4a8(0x3df)][_0x33c4a8(0x4aa)](_0x44c766,_0x5f11fe);}[_0x270b48(0x58c)](_0x33b6ea,_0x1c31f3,_0x37bb7b,_0x56469e){const _0x54bec8=_0x270b48,_0x338728=this[_0x54bec8(0x4cb)][_0x54bec8(0x3ff)](_0x33b6ea);this[_0x54bec8(0x5ad)][_0x54bec8(0x472)](_0x33b6ea,{'unitID':_0x33b6ea,'type':_0x1c31f3,'awaitingChangeset':_0x37bb7b,'mutations':_0x56469e,'rev':_0x338728}),this[_0x54bec8(0x24b)][_0x54bec8(0x5aa)](_0x33b6ea)||this['_scheduleSaving'](_0x33b6ea);}[_0x270b48(0x354)](_0x503b2f){const _0x4a8a90=_0x270b48,_0x490331=this[_0x4a8a90(0x441)]();_0x490331===0x0?this[_0x4a8a90(0x5a9)](_0x503b2f):this[_0x4a8a90(0x24b)]['set'](_0x503b2f,setTimeout(()=>this[_0x4a8a90(0x5a9)](_0x503b2f),_0x490331));}[_0x270b48(0x441)](){const _0x5226fe=_0x270b48;var _0x2bf286;return(_0x2bf286=this[_0x5226fe(0x4dd)][_0x5226fe(0x5f1)](_0x42267c))!=null?_0x2bf286:0x3e8;}['_saveCache'](_0x1ce3d4){const _0x39706f=_0x270b48,_0x36ef4a=this[_0x39706f(0x24b)][_0x39706f(0x56f)](_0x1ce3d4);return _0x36ef4a!==void 0x0&&window[_0x39706f(0x595)](_0x36ef4a),this[_0x39706f(0x3df)][_0x39706f(0x4aa)](_0x91a2ff(_0x1ce3d4),this[_0x39706f(0x5ad)]['get'](_0x1ce3d4))[_0x39706f(0x443)](()=>this[_0x39706f(0x24b)]['delete'](_0x1ce3d4));}async[_0x270b48(0x5d5)](){const _0x37db1f=_0x270b48,_0x581953=[];this[_0x37db1f(0x24b)][_0x37db1f(0x4bd)]((_0x2c2b06,_0x1fe854)=>{const _0x3ff629=_0x37db1f;window['clearTimeout'](_0x2c2b06),_0x581953[_0x3ff629(0x28f)](this[_0x3ff629(0x5a9)](_0x1fe854)['then'](()=>{const _0x290c19=_0x3ff629;this[_0x290c19(0x24b)][_0x290c19(0x48d)](_0x1fe854);}));}),await Promise[_0x37db1f(0x3e3)](_0x581953);}[_0x270b48(0x1ea)](){const _0x1792a2=_0x270b48;this[_0x1792a2(0x206)](this[_0x1792a2(0x2a8)][_0x1792a2(0x43e)](()=>{const _0x292c7c=_0x1792a2;if(this['_saveTaskMap']['size'])return this['_localeService']['t'](_0x292c7c(0x4bb));}));}},_0x3ef0c0[_0x270b48(0x2c7)]=_0xd1d9b([_0x2f44f8(0x0,_0x10122e[_0x270b48(0x635)]),_0x2f44f8(0x1,_0x10122e[_0x270b48(0x278)]),_0x2f44f8(0x2,_0x3421c5[_0x270b48(0x4e2)]),_0x2f44f8(0x3,_0x10122e[_0x270b48(0x5c7)](_0x10122e['LocaleService'])),_0x2f44f8(0x4,_0x10122e[_0x270b48(0x5c7)](_0x434c76['RevisionService']))],_0x3ef0c0['LocalCacheService']);function _0x91a2ff(_0x3de22b){const _0x3afb14=_0x270b48;return _0x3afb14(0x4a1)+_0x3de22b;}var _0x331093=Object[_0x270b48(0x29d)],_0x2350ac=Object[_0x270b48(0x255)],_0x5135b2=(_0x42e644,_0x3d711c,_0x3385ba,_0x59ac46)=>{for(var _0x116df4=_0x59ac46>0x1?void 0x0:_0x59ac46?_0x2350ac(_0x3d711c,_0x3385ba):_0x3d711c,_0x21d402=_0x42e644['length']-0x1,_0x50c681;_0x21d402>=0x0;_0x21d402--)(_0x50c681=_0x42e644[_0x21d402])&&(_0x116df4=(_0x59ac46?_0x50c681(_0x3d711c,_0x3385ba,_0x116df4):_0x50c681(_0x116df4))||_0x116df4);return _0x59ac46&&_0x116df4&&_0x331093(_0x3d711c,_0x3385ba,_0x116df4),_0x116df4;},_0x2c0c88=(_0x30fb65,_0x43a23a)=>(_0x205bca,_0x271d13)=>_0x43a23a(_0x205bca,_0x271d13,_0x30fb65);function _0x1fe86b(_0x585457){const _0xd731b=_0x270b48,{unitID:_0x21a7e3,mutations:_0x1c938a}=_0x585457;return{'unitId':_0x21a7e3,'subUnitId':_0x1c938a[0x0][_0xd731b(0x4ef)]['subUnitId']};}let _0x16b02c=class{constructor(_0x5f035c,_0xe4d7f8,_0x36563b){const _0x3bf935=_0x270b48;this[_0x3bf935(0x358)]=_0x5f035c,this['_transformService']=_0xe4d7f8,this[_0x3bf935(0x3a4)]=_0x36563b;}[_0x270b48(0x271)](_0x507ce3){const _0xadc866=_0x270b48;var _0x19c913,_0x3fed79,_0x3458a3,_0x556894;const _0x408a5a=this[_0xadc866(0x358)][_0xadc866(0x56f)](_0x43d50e[_0xadc866(0x524)]),{unitId:_0x433b13,subUnitId:_0x1dd41f}=_0x1fe86b(_0x507ce3),_0x33ecf9=_0x408a5a['getWorkbookSelections'](_0x433b13)[_0xadc866(0x2fc)](),_0x8fb44=(_0x3fed79=(_0x19c913=this['_instanceService'][_0xadc866(0x2a0)](_0x433b13))==null?void 0x0:_0x19c913[_0xadc866(0x56c)]())==null?void 0x0:_0x3fed79[_0xadc866(0x3c7)]();if(_0x33ecf9['length']===0x0||!_0x433b13||!_0x1dd41f)return;const _0x4217cf=[{'id':_0x43d50e['SetSelectionsOperation']['id'],'params':{'unitId':_0x433b13,'subUnitId':_0x8fb44,'selections':_0x10122e[_0xadc866(0x3bf)][_0xadc866(0x20d)](_0x33ecf9)}}],_0xaa75f7=this[_0xadc866(0x54b)][_0xadc866(0x236)](_0x507ce3,_0x4217cf);if(!_0x434c76[_0xadc866(0x425)](_0xaa75f7))throw _0xaa75f7[_0xadc866(0x371)];const _0x16f454=(_0x556894=(_0x3458a3=_0xaa75f7[_0xadc866(0x682)][0x0])==null?void 0x0:_0x3458a3[_0xadc866(0x4ef)])==null?void 0x0:_0x556894[_0xadc866(0x1e4)];if(Array[_0xadc866(0x3dc)](_0x16f454)&&_0x16f454[_0xadc866(0x2df)]){if(_0x16f454[_0xadc866(0x2df)]===_0x4217cf[0x0]['params'][_0xadc866(0x1e4)][_0xadc866(0x2df)]&&_0x16f454[_0xadc866(0x30f)]((_0x12d5a3,_0x310c49)=>_0x10122e[_0xadc866(0x465)][_0xadc866(0x35e)](_0x12d5a3['range'],_0x4217cf[0x0][_0xadc866(0x4ef)][_0xadc866(0x1e4)][_0x310c49]['range'])))return;this[_0xadc866(0x358)]['get'](_0x10122e['ICommandService'])['executeCommand'](_0x43d50e[_0xadc866(0x50d)]['id'],{'unitId':_0x433b13,'subUnitId':_0x8fb44,'selections':_0x16f454});}}};_0x16b02c=_0x5135b2([_0x2c0c88(0x0,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x53a)])),_0x2c0c88(0x1,_0x434c76[_0x270b48(0x3d9)]),_0x2c0c88(0x2,_0x10122e[_0x270b48(0x204)])],_0x16b02c);const _0x483e19=_0x10122e[_0x270b48(0x1e3)]('univer-pro.collaboration-client.single-active-unit-service');var _0x18fdd6=(_0x466570=>(_0x466570[_0x466570[_0x270b48(0x645)]=0x0]=_0x270b48(0x645),_0x466570[_0x466570['OTHER_CLIENTS_EDITING']=0x1]=_0x270b48(0x5d4),_0x466570))(_0x18fdd6||{});const _0x27aa2f=0x7530,_0x4eba9f=_0x270b48(0x5d8);class _0x146767 extends _0x10122e[_0x270b48(0x5f7)]{constructor(){const _0x32305d=_0x270b48;super(),_0x11da04(this,'_id',_0x10122e[_0x32305d(0x3bf)][_0x32305d(0x419)]()),_0x11da04(this,'_selfUnitIDs',new Set()),_0x11da04(this,'_unitOnClients',new Map()),_0x11da04(this,'_heartbeatTimer',null),_0x11da04(this,_0x32305d(0x48c),new Map()),_0x11da04(this,'_unitStatus',new Map()),this[_0x32305d(0x46f)]();}[_0x270b48(0x67e)](){const _0x165cd2=_0x270b48;super[_0x165cd2(0x67e)](),this['_clearOtherTimers'][_0x165cd2(0x4bd)]((_0x42b4bc,_0x62c350)=>this[_0x165cd2(0x276)](_0x62c350)),this[_0x165cd2(0x461)]&&window[_0x165cd2(0x517)](this['_heartbeatTimer']);}[_0x270b48(0x3d0)](_0x38c301){const _0x24f188=_0x270b48;return this['_ensureSubject'](_0x38c301)[_0x24f188(0x3fb)](_0x43beed[_0x24f188(0x353)]());}[_0x270b48(0x220)](_0x48d1c1){const _0x10b0de=_0x270b48;this[_0x10b0de(0x1d2)][_0x10b0de(0x611)]===0x0&&this[_0x10b0de(0x47d)](),this[_0x10b0de(0x1d2)][_0x10b0de(0x607)](_0x48d1c1),this[_0x10b0de(0x2ce)]({'type':0x0,'memberID':this[_0x10b0de(0x34e)],'unitIDs':[_0x48d1c1],'isForwarded':!0x1});}[_0x270b48(0x355)](_0x201687){const _0xf27272=_0x270b48;this[_0xf27272(0x1d2)][_0xf27272(0x48d)](_0x201687),this[_0xf27272(0x1d2)][_0xf27272(0x611)]===0x0&&this[_0xf27272(0x461)]&&window['clearInterval'](this[_0xf27272(0x461)]);}[_0x270b48(0x46f)](){const _0x3a7a29=_0x270b48;this[_0x3a7a29(0x206)](_0x10122e[_0x3a7a29(0x305)](_0x43beed[_0x3a7a29(0x336)](window,_0x3a7a29(0x49b))[_0x3a7a29(0x40f)](_0x26d149=>{const _0x436e23=_0x3a7a29;if(_0x26d149[_0x436e23(0x20c)]!==_0x4eba9f||!_0x26d149[_0x436e23(0x571)])return;const _0xf1444d=JSON[_0x436e23(0x222)](_0x26d149[_0x436e23(0x571)]);this[_0x436e23(0x2cd)](_0xf1444d);}))),window['addEventListener'](_0x3a7a29(0x35f),()=>this[_0x3a7a29(0x2ce)]({'type':0x1,'memberID':this[_0x3a7a29(0x34e)],'unitIDs':Array[_0x3a7a29(0x3b2)](this[_0x3a7a29(0x1d2)])}));}[_0x270b48(0x2cd)](_0x13048b){const _0x225482=_0x270b48;switch(_0x13048b['type']){case 0x0:this[_0x225482(0x275)](_0x13048b);break;case 0x1:this['_handleLeaveEvent'](_0x13048b);break;case 0x2:this[_0x225482(0x482)](_0x13048b);break;}}[_0x270b48(0x275)](_0x14f39f){const _0x50ae6c=_0x270b48,{unitIDs:_0x4ab6f4,memberID:_0x4d966d,isForwarded:_0x19c988}=_0x14f39f;_0x4ab6f4[_0x50ae6c(0x4bd)](_0x186095=>{const _0x22660e=_0x50ae6c;if(!_0x19c988&&this[_0x22660e(0x469)][_0x22660e(0x5aa)](_0x186095)&&this[_0x22660e(0x2e2)](_0x186095)[_0x22660e(0x299)](0x1),!this[_0x22660e(0x469)][_0x22660e(0x5aa)](_0x186095)||!this[_0x22660e(0x469)][_0x22660e(0x56f)](_0x186095)[_0x22660e(0x5aa)](_0x4d966d)){const _0x29843e=this['_unitOnClients'][_0x22660e(0x56f)](_0x186095)||new Set();_0x29843e[_0x22660e(0x607)](_0x4d966d),this[_0x22660e(0x469)][_0x22660e(0x472)](_0x186095,_0x29843e),this['_scheduleClearOtherTimer'](_0x4d966d);}}),_0x19c988||this[_0x50ae6c(0x2ce)]({'type':0x0,'memberID':this[_0x50ae6c(0x34e)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x270b48(0x3af)](_0x31af70){const _0x516737=_0x270b48;this[_0x516737(0x276)](_0x31af70);const _0x14c87f=window[_0x516737(0x298)](()=>{const _0x54116a=_0x516737;this[_0x54116a(0x469)]['forEach'](_0x2ab5cf=>{const _0x518d2f=_0x54116a;_0x2ab5cf[_0x518d2f(0x48d)](_0x31af70);});},_0x27aa2f*0x2);this['_clearOtherTimers'][_0x516737(0x472)](_0x31af70,_0x14c87f);}[_0x270b48(0x276)](_0xf31e9e){const _0xe2c227=_0x270b48;if(this[_0xe2c227(0x48c)][_0xe2c227(0x5aa)](_0xf31e9e)){const _0x100396=this['_clearOtherTimers'][_0xe2c227(0x56f)](_0xf31e9e);_0x100396&&window[_0xe2c227(0x595)](_0x100396),this['_clearOtherTimers'][_0xe2c227(0x472)](_0xf31e9e,null);}}[_0x270b48(0x4f3)](_0x43d75f){const _0x54946d=_0x270b48,{memberID:_0x3a0e51,unitIDs:_0x4c3ba5}=_0x43d75f;_0x4c3ba5[_0x54946d(0x4bd)](_0x35ce52=>{const _0x4c0dfe=_0x54946d;var _0x5d2fcf;const _0x114d7f=this[_0x4c0dfe(0x469)]['get'](_0x35ce52);_0x114d7f&&(_0x114d7f[_0x4c0dfe(0x48d)](_0x3a0e51),(_0x5d2fcf=this[_0x4c0dfe(0x2e2)](_0x35ce52))==null||_0x5d2fcf['next'](_0x114d7f[_0x4c0dfe(0x611)]===0x0?0x0:0x1));}),this[_0x54946d(0x276)](_0x3a0e51);}[_0x270b48(0x482)](_0x18f21f){const _0x5ee632=_0x270b48;this[_0x5ee632(0x3af)](_0x18f21f[_0x5ee632(0x1d0)]);}[_0x270b48(0x2ce)](_0x2fdef8){const _0x11e79e=_0x270b48;localStorage['setItem'](_0x4eba9f,JSON[_0x11e79e(0x254)](_0x2fdef8));}[_0x270b48(0x47d)](){const _0x2e8cf3=_0x270b48;this['_heartbeatTimer']=window[_0x2e8cf3(0x442)](()=>{const _0x1cbc02=_0x2e8cf3;this[_0x1cbc02(0x2ce)]({'type':0x2,'memberID':this[_0x1cbc02(0x34e)]});},_0x27aa2f);}[_0x270b48(0x2e2)](_0x259af9){const _0x483f8d=_0x270b48;return this['_unitStatus'][_0x483f8d(0x5aa)](_0x259af9)||this[_0x483f8d(0x367)][_0x483f8d(0x472)](_0x259af9,new _0x43beed[(_0x483f8d(0x65c))](0x0)),this['_unitStatus'][_0x483f8d(0x56f)](_0x259af9);}}var _0xf2c0e3=Object[_0x270b48(0x29d)],_0x3b18a8=Object[_0x270b48(0x255)],_0x7d9395=(_0x48ebac,_0x181a6d,_0x3c00cd,_0x3aec2d)=>{for(var _0x78369d=_0x3aec2d>0x1?void 0x0:_0x3aec2d?_0x3b18a8(_0x181a6d,_0x3c00cd):_0x181a6d,_0x1d5d31=_0x48ebac['length']-0x1,_0x5d9932;_0x1d5d31>=0x0;_0x1d5d31--)(_0x5d9932=_0x48ebac[_0x1d5d31])&&(_0x78369d=(_0x3aec2d?_0x5d9932(_0x181a6d,_0x3c00cd,_0x78369d):_0x5d9932(_0x78369d))||_0x78369d);return _0x3aec2d&&_0x78369d&&_0xf2c0e3(_0x181a6d,_0x3c00cd,_0x78369d),_0x78369d;},_0x40acdd=(_0x30db89,_0x159a4b)=>(_0x36ebf1,_0x18e4ca)=>_0x159a4b(_0x36ebf1,_0x18e4ca,_0x30db89);let _0x79b668=class{constructor(_0x111c2c,_0x53c2b5,_0x49453a){const _0x53aa8c=_0x270b48;this[_0x53aa8c(0x358)]=_0x111c2c,this[_0x53aa8c(0x54b)]=_0x53c2b5,this['_docStateChangeManagerService']=_0x49453a;}[_0x270b48(0x2d0)](_0x5f43e5){this['_transformHistoryAndStateStack'](_0x5f43e5);}[_0x270b48(0x5b5)](_0x4a039f){const _0x22089b=_0x270b48,{unitID:_0x38277d}=_0x4a039f,{collaboration:_0x5db4fa}=this[_0x22089b(0x4fc)]['getStateCache'](_0x38277d);if(_0x5db4fa[_0x22089b(0x2df)]===0x0)return _0x4a039f;let _0x17bb84=_0x10122e[_0x22089b(0x3bf)][_0x22089b(0x20d)](_0x4a039f[_0x22089b(0x43b)][0x0]);for(let _0x26d1db=0x0;_0x26d1db<_0x5db4fa[_0x22089b(0x2df)];_0x26d1db++){const _0x5ccdbd={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5db4fa[_0x26d1db]['unitId'],..._0x5db4fa[_0x26d1db][_0x22089b(0x568)]}},_0x5bc393=this['_transformService']['transformMutation'](_0x17bb84,_0x5ccdbd,!0x1);if(_0x434c76['isTransformMutationFailure'](_0x5bc393))throw _0x5bc393[_0x22089b(0x371)];_0x17bb84=_0x5bc393[_0x22089b(0x659)];}return{..._0x10122e[_0x22089b(0x3bf)][_0x22089b(0x20d)](_0x4a039f),'mutations':[_0x17bb84]};}[_0x270b48(0x585)](_0xafe82f){const _0x30920e=_0x270b48,{unitID:_0x424daa}=_0xafe82f,{history:_0x227cfd,collaboration:_0x40035b}=this['_docStateChangeManagerService'][_0x30920e(0x3f0)](_0x424daa);if(_0x227cfd[_0x30920e(0x2df)]===0x0&&_0x40035b['length']===0x0)return;const _0x5de31d=[],_0x29cb10=[];let _0xfcec00=_0x10122e[_0x30920e(0x3bf)][_0x30920e(0x20d)](_0xafe82f[_0x30920e(0x43b)][0x0]),_0x41dbce=_0x10122e[_0x30920e(0x3bf)][_0x30920e(0x20d)](_0xafe82f[_0x30920e(0x43b)][0x0]);for(let _0x39b65e=_0x227cfd['length']-0x1;_0x39b65e>=0x0;_0x39b65e--){const _0x4d8234={'id':_0x30920e(0x3b4),'params':{'unitId':_0x227cfd[_0x39b65e][_0x30920e(0x3d3)],..._0x227cfd[_0x39b65e][_0x30920e(0x620)]}},_0x50b76d={'id':_0x30920e(0x3b4),'params':{'unitId':_0x227cfd[_0x39b65e][_0x30920e(0x3d3)],..._0x227cfd[_0x39b65e][_0x30920e(0x568)]}},_0x5cbe27=this['_transformService'][_0x30920e(0x476)](_0xfcec00,_0x4d8234,!0x1),_0x347a56=this[_0x30920e(0x54b)][_0x30920e(0x476)](_0x41dbce,_0x50b76d,!0x1);if(_0x434c76['isTransformMutationFailure'](_0x5cbe27))throw _0x5cbe27[_0x30920e(0x371)];if(_0x434c76[_0x30920e(0x330)](_0x347a56))throw _0x347a56[_0x30920e(0x371)];_0x5de31d[_0x30920e(0x394)]({..._0x227cfd[_0x39b65e],'undoState':_0x5cbe27[_0x30920e(0x682)][_0x30920e(0x4ef)],'redoState':_0x347a56[_0x30920e(0x682)][_0x30920e(0x4ef)]}),_0xfcec00=_0x5cbe27[_0x30920e(0x659)],_0x41dbce=_0x347a56[_0x30920e(0x659)];}_0xfcec00=_0x10122e[_0x30920e(0x3bf)][_0x30920e(0x20d)](_0xafe82f[_0x30920e(0x43b)][0x0]),_0x41dbce=_0x10122e[_0x30920e(0x3bf)][_0x30920e(0x20d)](_0xafe82f[_0x30920e(0x43b)][0x0]);for(let _0x8e42a4=_0x40035b[_0x30920e(0x2df)]-0x1;_0x8e42a4>=0x0;_0x8e42a4--){const _0xe3e163={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x40035b[_0x8e42a4][_0x30920e(0x3d3)],..._0x40035b[_0x8e42a4][_0x30920e(0x620)]}},_0x365838={'id':_0x30920e(0x3b4),'params':{'unitId':_0x40035b[_0x8e42a4][_0x30920e(0x3d3)],..._0x40035b[_0x8e42a4][_0x30920e(0x568)]}},_0x2797b9=this[_0x30920e(0x54b)][_0x30920e(0x476)](_0xfcec00,_0xe3e163,!0x1),_0x6dd03b=this[_0x30920e(0x54b)][_0x30920e(0x476)](_0x41dbce,_0x365838,!0x1);if(_0x434c76['isTransformMutationFailure'](_0x2797b9))throw _0x2797b9[_0x30920e(0x371)];if(_0x434c76['isTransformMutationFailure'](_0x6dd03b))throw _0x6dd03b['error'];_0x29cb10[_0x30920e(0x394)]({..._0x40035b[_0x8e42a4],'undoState':_0x2797b9[_0x30920e(0x682)][_0x30920e(0x4ef)],'redoState':_0x6dd03b['m2Prime'][_0x30920e(0x4ef)]}),_0xfcec00=_0x2797b9[_0x30920e(0x659)],_0x41dbce=_0x6dd03b[_0x30920e(0x659)];}this[_0x30920e(0x4fc)][_0x30920e(0x2f2)](_0x424daa,{'history':_0x5de31d,'collaboration':_0x29cb10});}};_0x79b668=_0x7d9395([_0x40acdd(0x0,_0x10122e[_0x270b48(0x5c7)](_0x10122e['Injector'])),_0x40acdd(0x1,_0x434c76['ITransformService']),_0x40acdd(0x2,_0x10122e[_0x270b48(0x5c7)](_0x427cca[_0x270b48(0x1fc)]))],_0x79b668);function _0x46ba9a(_0x2e3010){const _0x447e6e=_0x270b48;let _0x823317='';for(const _0x2c5136 of _0x2e3010){const {startOffset:_0x26fbe6,endOffset:_0xd05ff2,isActive:_0x5f4bbb,rangeType:_0x5886ba,segmentId:_0x1586b7,segmentPage:_0xf3fd22}=_0x2c5136;_0x823317[_0x447e6e(0x2df)]&&(_0x823317+=','),_0x823317+=_0x26fbe6+':'+_0xd05ff2+':'+(_0x5f4bbb?'1':'0')+':'+_0x5886ba+':'+_0x1586b7+':'+_0xf3fd22;}return _0x823317;}function _0x334742(_0xff418e){const _0x15d1ee=_0x270b48,_0x2d1a69=_0xff418e[_0x15d1ee(0x211)](','),_0xe6464=[];for(const _0x63821e of _0x2d1a69){const [_0x5bfaaa,_0x41a928,_0x3ee4cf,_0x340abe,_0x140555,_0x3e8f1c]=_0x63821e[_0x15d1ee(0x211)](':');_0xe6464[_0x15d1ee(0x28f)]({'startOffset':Number(_0x5bfaaa),'endOffset':Number(_0x41a928),'collapsed':_0x5bfaaa===_0x41a928,'isActive':_0x3ee4cf==='1','rangeType':_0x340abe===_0x10122e['DOC_RANGE_TYPE']['TEXT']?_0x10122e[_0x15d1ee(0x266)]['TEXT']:_0x10122e[_0x15d1ee(0x266)][_0x15d1ee(0x202)],'segmentId':typeof _0x140555==_0x15d1ee(0x451)?String(_0x140555):'','segmentPage':Number(_0x3e8f1c!=null?_0x3e8f1c:-0x1)});}return _0xe6464[_0x15d1ee(0x601)](_0x3143f6=>_0x3143f6[_0x15d1ee(0x387)])||(_0xe6464[0x0][_0x15d1ee(0x387)]=!0x0),_0xe6464;}class _0x3a2161 extends _0x10122e[_0x270b48(0x332)]{constructor(){const _0x248811=_0x270b48;super(...arguments),_0x11da04(this,_0x248811(0x4a2),new _0x43beed['BehaviorSubject'](null)),_0x11da04(this,_0x248811(0x2f5),this[_0x248811(0x4a2)][_0x248811(0x644)]());}[_0x270b48(0x694)](_0x2c3b52){const _0x3f8116=_0x270b48,{unitID:_0x360359,memberID:_0x19a7a5,textRanges:_0xa5fc0}=_0x2c3b52,_0xcc1128=_0x46ba9a(_0xa5fc0);if(_0xcc1128==='')return;const _0x13ef88={'unitID':_0x360359,'memberID':_0x19a7a5,'selection':_0xcc1128};this[_0x3f8116(0x4a2)][_0x3f8116(0x299)](_0x13ef88);}}var _0x2043e5=Object['defineProperty'],_0x12d109=Object[_0x270b48(0x255)],_0xcb844f=(_0x2f135f,_0xf94551,_0x41562e,_0xdf9991)=>{for(var _0x50dda3=_0xdf9991>0x1?void 0x0:_0xdf9991?_0x12d109(_0xf94551,_0x41562e):_0xf94551,_0x8aafe0=_0x2f135f['length']-0x1,_0x33ede8;_0x8aafe0>=0x0;_0x8aafe0--)(_0x33ede8=_0x2f135f[_0x8aafe0])&&(_0x50dda3=(_0xdf9991?_0x33ede8(_0xf94551,_0x41562e,_0x50dda3):_0x33ede8(_0x50dda3))||_0x50dda3);return _0xdf9991&&_0x50dda3&&_0x2043e5(_0xf94551,_0x41562e,_0x50dda3),_0x50dda3;},_0x30844d=(_0x2beb20,_0x184088)=>(_0x400408,_0x1b3164)=>_0x184088(_0x400408,_0x1b3164,_0x2beb20);let _0x38bb72=class{constructor(_0x32ba1a,_0x4bb77f){const _0x441229=_0x270b48;this[_0x441229(0x358)]=_0x32ba1a,this[_0x441229(0x54b)]=_0x4bb77f;}[_0x270b48(0x271)](_0x396c89){const _0x190a56=_0x270b48;var _0x4f55cc;const _0x55befb=this[_0x190a56(0x358)][_0x190a56(0x56f)](_0x48121f[_0x190a56(0x693)]),_0x4f91d8=(_0x4f55cc=_0x55befb[_0x190a56(0x26b)]())!=null?_0x4f55cc:[];if(_0x4f91d8[_0x190a56(0x2df)]===0x0)return;const _0xfa6e56=_0x396c89[_0x190a56(0x224)],_0x4838e3=[{'id':_0x190a56(0x3b4),'params':{'unitId':_0xfa6e56,'actions':null,'textRanges':_0x4f91d8}}],_0x3d4fc7=this['_transformService']['transformMutationsWithChangeset'](_0x396c89,_0x4838e3);if(!_0x434c76[_0x190a56(0x425)](_0x3d4fc7))throw _0x3d4fc7[_0x190a56(0x371)];const _0x48338b=_0x3d4fc7[_0x190a56(0x682)][0x0][_0x190a56(0x4ef)]['textRanges'];Array['isArray'](_0x48338b)&&_0x48338b[_0x190a56(0x2df)]&&_0x55befb[_0x190a56(0x4b5)](_0x48338b,{'unitId':_0xfa6e56,'subUnitId':_0xfa6e56},!0x1);}};_0x38bb72=_0xcb844f([_0x30844d(0x0,_0x10122e[_0x270b48(0x5c7)](_0x10122e['Injector'])),_0x30844d(0x1,_0x434c76[_0x270b48(0x3d9)])],_0x38bb72);const _0x5d76b9=new Set([_0x43d50e[_0x270b48(0x1d7)]['id']]);function _0x26b9af(_0x443290,_0x55bd28,_0x5c542c,_0x50aebb,_0x187fda){const _0x318ccf=_0x270b48;var _0x11b91f,_0x5e46cf,_0x2f03ef,_0x1e0f66;const _0x1955a8=[];for(const _0x5f13d1 of _0x443290)if(_0x5d76b9[_0x318ccf(0x5aa)](_0x5f13d1['id'])){if(_0x1955a8[_0x318ccf(0x2df)]>0x0)break;_0x1955a8[_0x318ccf(0x28f)](_0x5f13d1);break;}else _0x1955a8['push'](_0x5f13d1);const _0x5d990c=(_0x5e46cf=(_0x11b91f=_0x187fda[_0x318ccf(0x1d8)]())==null?void 0x0:_0x11b91f[_0x318ccf(0x581)])!=null?_0x5e46cf:_0x318ccf(0x31f),_0x19b7e5=(_0x1e0f66=(_0x2f03ef=_0x187fda[_0x318ccf(0x1d8)]())==null?void 0x0:_0x2f03ef[_0x318ccf(0x1d0)])!=null?_0x1e0f66:'unknown';return{'changeset':{'unitID':_0x55bd28,'type':_0x434c76['mapDocumentTypeToUniverType'](_0x5c542c[_0x318ccf(0x2e7)](_0x55bd28)),'baseRev':_0x50aebb[_0x318ccf(0x3ff)](_0x55bd28),'revision':0x0,'userID':_0x5d990c,'memberID':_0x19b7e5,'mutations':_0x1955a8},'pendingMutations':_0x443290[_0x318ccf(0x4ac)](_0x1955a8[_0x318ccf(0x2df)])};}function _0x560128(_0x59c930,_0x449e8a,_0x5b3981,_0x3bbef7,_0x150bcd){const _0x2be8a8=_0x270b48;var _0x9e9fea,_0x40e53f,_0x3efd51,_0x2851e1;const _0xc7c9=[_0x59c930[_0x2be8a8(0x578)]((_0x2d3b28,_0xfd7362)=>{const _0x4b23a2=_0x2be8a8;var _0x4019df;const {id:_0x3bbb54}=_0x2d3b28,{id:_0x39dc72,type:_0x21c627}=_0xfd7362,_0x1ec42b=(_0x4019df=_0x2d3b28['params'])!=null?_0x4019df:{'actions':null},_0x50f6eb=_0xfd7362[_0x4b23a2(0x4ef)];if(_0x3bbb54&&_0x3bbb54!==_0x39dc72)throw new Error(_0x4b23a2(0x60a)+_0x3bbb54+'\x20-\x20'+_0x39dc72+'.');return{..._0x2d3b28,'id':_0x39dc72,'type':_0x21c627,'params':{'unitId':_0x50f6eb[_0x4b23a2(0x3d3)],'textRanges':_0x50f6eb[_0x4b23a2(0x21f)],'actions':_0x10122e['JSONX'][_0x4b23a2(0x28a)](_0x1ec42b[_0x4b23a2(0x20a)],_0x50f6eb['actions'])}};},{})],_0x3f2f4a=(_0x40e53f=(_0x9e9fea=_0x150bcd[_0x2be8a8(0x1d8)]())==null?void 0x0:_0x9e9fea[_0x2be8a8(0x581)])!=null?_0x40e53f:_0x2be8a8(0x31f),_0x3d1107=(_0x2851e1=(_0x3efd51=_0x150bcd[_0x2be8a8(0x1d8)]())==null?void 0x0:_0x3efd51['memberID'])!=null?_0x2851e1:_0x2be8a8(0x31f);return{'changeset':{'unitID':_0x449e8a,'type':_0x434c76[_0x2be8a8(0x36e)](_0x5b3981[_0x2be8a8(0x2e7)](_0x449e8a)),'baseRev':_0x3bbef7[_0x2be8a8(0x3ff)](_0x449e8a),'revision':0x0,'userID':_0x3f2f4a,'memberID':_0x3d1107,'mutations':_0xc7c9},'pendingMutations':[]};}function _0x29b3ac(_0xa91b1b,_0x4cd007){const _0x3b0bfd=_0x270b48,_0x3743ae=new _0x43beed[(_0x3b0bfd(0x5e0))](0x1);return setTimeout(()=>_0x3743ae['next'](_0x4cd007),_0xa91b1b),_0x3743ae[_0x3b0bfd(0x644)]()[_0x3b0bfd(0x3fb)](_0x43beed[_0x3b0bfd(0x4cd)](0x1));}const _0x145b5b={'id':_0x43d50e[_0x270b48(0x500)]['id'],'type':_0x10122e[_0x270b48(0x462)][_0x270b48(0x329)],'params':{}};var _0x10bbfc=Object[_0x270b48(0x29d)],_0x5d3ff3=Object[_0x270b48(0x255)],_0xcc1c30=(_0x42128a,_0x5ba9d0,_0x25bf0f,_0x273edf)=>{const _0x30c4b5=_0x270b48;for(var _0x1cadb3=_0x273edf>0x1?void 0x0:_0x273edf?_0x5d3ff3(_0x5ba9d0,_0x25bf0f):_0x5ba9d0,_0x5d409b=_0x42128a[_0x30c4b5(0x2df)]-0x1,_0x58d69c;_0x5d409b>=0x0;_0x5d409b--)(_0x58d69c=_0x42128a[_0x5d409b])&&(_0x1cadb3=(_0x273edf?_0x58d69c(_0x5ba9d0,_0x25bf0f,_0x1cadb3):_0x58d69c(_0x1cadb3))||_0x1cadb3);return _0x273edf&&_0x1cadb3&&_0x10bbfc(_0x5ba9d0,_0x25bf0f,_0x1cadb3),_0x1cadb3;},_0x3144de=(_0xc9acc3,_0x5938e8)=>(_0x5017f8,_0x46f927)=>_0x5938e8(_0x5017f8,_0x46f927,_0xc9acc3),_0x27aa5e=(_0x623101=>(_0x623101[_0x270b48(0x5db)]='not_collab',_0x623101[_0x270b48(0x420)]='synced',_0x623101[_0x270b48(0x53c)]=_0x270b48(0x615),_0x623101['AWAITING']=_0x270b48(0x431),_0x623101[_0x270b48(0x5f4)]=_0x270b48(0x563),_0x623101[_0x270b48(0x4e1)]=_0x270b48(0x4a7),_0x623101[_0x270b48(0x452)]=_0x270b48(0x36d),_0x623101[_0x270b48(0x2f3)]=_0x270b48(0x552),_0x623101))(_0x27aa5e||{});const _0x28c01f=0xea60;class _0x385537{constructor(_0x6dbeb8,_0x5d28d5,_0x2158c9,_0x4fbd36,_0x281861,_0x13ef4d,_0x5a5a9d,_0x49a6a0,_0x391480){const _0x12775f=_0x270b48;_0x11da04(this,'_awaitingChangeset',null),_0x11da04(this,_0x12775f(0x510),[]),(this[_0x12775f(0x224)]=_0x6dbeb8,this[_0x12775f(0x21d)]=_0x5d28d5,this[_0x12775f(0x307)]=_0x281861,this['_commandService']=_0x13ef4d,this[_0x12775f(0x4f6)]=_0x5a5a9d,this[_0x12775f(0x4cb)]=_0x49a6a0,this[_0x12775f(0x5a3)]=_0x391480,this[_0x12775f(0x47a)]=_0x2158c9,this[_0x12775f(0x510)]=_0x4fbd36);}['_checkMissing'](_0x1992c0){const _0x5b2567=_0x270b48,_0x509606=this[_0x5b2567(0x4cb)]['getCurrentRevOfUnit'](this[_0x5b2567(0x224)]);return _0x1992c0['revision']>_0x509606+0x1?(this[_0x5b2567(0x307)][_0x5b2567(0x508)]({'from':_0x509606,'to':_0x1992c0[_0x5b2567(0x63c)]-0x1}),!0x0):!0x1;}[_0x270b48(0x2e0)](_0x11b788){const _0x4ad32e=_0x270b48;this[_0x4ad32e(0x4f6)][_0x4ad32e(0x507)](this[_0x4ad32e(0x224)],_0x11b788);}[_0x270b48(0x62d)](_0x7ac32d){const _0x3d7df4=_0x270b48;var _0x5cfdb0,_0x53bace;(_0x53bace=(_0x5cfdb0=this[_0x3d7df4(0x307)])[_0x3d7df4(0x5b1)])==null||_0x53bace[_0x3d7df4(0x27f)](_0x5cfdb0,_0x7ac32d);}[_0x270b48(0x370)](_0x5df485){const _0x11e3ab=_0x270b48;var _0x355bd3,_0x51e119;return(_0x51e119=(_0x355bd3=this[_0x11e3ab(0x307)])['onTransformIME'])==null?void 0x0:_0x51e119[_0x11e3ab(0x27f)](_0x355bd3,_0x5df485);}[_0x270b48(0x612)](_0x3d8ec0){const _0x2497dd=_0x270b48;var _0x5d6331,_0xd910ec;return(_0xd910ec=(_0x5d6331=this[_0x2497dd(0x307)])[_0x2497dd(0x205)])==null?void 0x0:_0xd910ec[_0x2497dd(0x27f)](_0x5d6331,_0x3d8ec0);}[_0x270b48(0x3c5)](_0x540000){const _0x4b444c=_0x270b48;var _0x17e570,_0x3bc405,_0x51ff1e;return(_0x51ff1e=(_0x3bc405=(_0x17e570=this[_0x4b444c(0x307)])[_0x4b444c(0x4e4)])==null?void 0x0:_0x3bc405['call'](_0x17e570,_0x540000))!=null?_0x51ff1e:_0x540000;}[_0x270b48(0x64d)](_0x12252c){const _0xaa0614=_0x270b48;var _0x4105dd,_0x2b0eae,_0xc5bac9;return(_0xc5bac9=(_0x2b0eae=(_0x4105dd=this['_handler'])[_0xaa0614(0x5e2)])==null?void 0x0:_0x2b0eae[_0xaa0614(0x27f)](_0x4105dd,_0x12252c))!=null?_0xc5bac9:_0x12252c;}[_0x270b48(0x67b)](_0x289a00){const _0x147268=_0x270b48;var _0x4fe319,_0x1f5cd3;if(this['type']===_0x8439e8['UNIVER_DOC']){const {unitID:_0x56f062,mutations:_0x3e1460,memberID:_0x4ce46e}=_0x289a00,_0x137301=_0x3e1460[0x0][_0x147268(0x4ef)]['textRanges'];Array[_0x147268(0x3dc)](_0x137301)&&_0x137301[_0x147268(0x2df)]>0x0&&((_0x1f5cd3=(_0x4fe319=this[_0x147268(0x307)])[_0x147268(0x505)])==null||_0x1f5cd3[_0x147268(0x27f)](_0x4fe319,{'unitID':_0x56f062,'memberID':_0x4ce46e,'textRanges':_0x137301}));}}[_0x270b48(0x32e)](){const _0x1a26ae=_0x270b48;this[_0x1a26ae(0x5a3)][_0x1a26ae(0x58c)](this[_0x1a26ae(0x224)],this[_0x1a26ae(0x21d)],this[_0x1a26ae(0x47a)],this['_pendingMutations']);}['_getCurrentRevision'](){const _0x30b687=_0x270b48;return this['_revisionService'][_0x30b687(0x3ff)](this[_0x30b687(0x224)]);}['_incrementRevisionNumber'](){const _0x5043d5=_0x270b48;this[_0x5043d5(0x4cb)][_0x5043d5(0x599)](this[_0x5043d5(0x224)]);}[_0x270b48(0x525)](_0x101476){const _0x3716eb=_0x270b48;var _0x13f4d5;let _0xd8327a=this[_0x3716eb(0x3c5)](_0x101476);_0xd8327a=this[_0x3716eb(0x64d)](_0xd8327a);const _0x5d059c=_0x10122e[_0x3716eb(0x573)](_0xd8327a['mutations'],this[_0x3716eb(0x4ce)],{'fromCollab':!0x0});if(!_0x5d059c[_0x3716eb(0x698)])throw _0x5d059c['error']instanceof Error?_0x5d059c[_0x3716eb(0x371)]:new Error((_0x13f4d5=_0x5d059c[_0x3716eb(0x371)])!=null?_0x13f4d5:_0x3716eb(0x1e1));this['_transformIMECache'](_0xd8327a),this[_0x3716eb(0x612)](_0xd8327a),this[_0x3716eb(0x2e0)](_0x101476),this['_transformSelections'](_0xd8327a),this[_0x3716eb(0x67b)](_0xd8327a),this[_0x3716eb(0x3c6)]();}}let _0x4b3062=class extends _0x385537{constructor(_0x2feaa3,_0x1741fb,_0x5b7f6d,_0x1f13d5,_0x691f91,_0x48ab8a,_0x80bf76,_0x1ea336,_0x1d2795,_0x466fcf){const _0x9c61b4=_0x270b48;super(_0x2feaa3,_0x1741fb,null,[],_0x5b7f6d,_0x1ea336,_0x80bf76,_0x1f13d5,_0x691f91),_0x11da04(this,_0x9c61b4(0x46e),_0x9c61b4(0x2bb)),(this[_0x9c61b4(0x358)]=_0x48ab8a,this[_0x9c61b4(0x477)]=_0x1d2795,this[_0x9c61b4(0x54b)]=_0x466fcf);}[_0x270b48(0x4c1)](_0x2cc5e3){const _0x21d2ad=_0x270b48,_0x1d3457=this[_0x21d2ad(0x358)]['createInstance'](_0x3574b8,this[_0x21d2ad(0x224)],this[_0x21d2ad(0x21d)],[_0x2cc5e3],this['_handler']);return _0x1d3457[_0x21d2ad(0x243)](),_0x1d3457[_0x21d2ad(0x32e)](),_0x1d3457;}['onRemoteChangeset'](_0x507287){const _0x27ee33=_0x270b48;if(this[_0x27ee33(0x3bb)](_0x507287))return this[_0x27ee33(0x358)][_0x27ee33(0x624)](_0x5d1507,this[_0x27ee33(0x224)],this['type'],null,[],null,[_0x507287],this[_0x27ee33(0x307)]);try{const _0x5ce6d0=this[_0x27ee33(0x54b)][_0x27ee33(0x236)](_0x507287,[_0x145b5b]);if(_0x434c76[_0x27ee33(0x425)](_0x5ce6d0)){const {c1Prime:_0x55d566}=_0x5ce6d0;return this['_executeRemoteChangeset'](_0x55d566),this;}throw _0x5ce6d0['error'];}catch(_0x4f4f18){return this[_0x27ee33(0x477)]['error'](_0x4f4f18),this[_0x27ee33(0x2ad)](!0x1);}}[_0x270b48(0x2ad)](_0x40ebcd){const _0x7a2e9c=_0x270b48;return this['_injector']['createInstance'](_0x46c0eb,this['unitID'],this[_0x7a2e9c(0x21d)],null,[],this[_0x7a2e9c(0x307)],_0x40ebcd);}[_0x270b48(0x2fb)](){const _0x44da9f=_0x270b48;throw new Error(_0x44da9f(0x450));}[_0x270b48(0x347)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x270b48(0x4c0)](){return this;}[_0x270b48(0x200)](){const _0x36de11=_0x270b48;return this[_0x36de11(0x358)][_0x36de11(0x624)](_0x1588a6,this[_0x36de11(0x224)],this[_0x36de11(0x21d)],null,[],this[_0x36de11(0x307)]);}[_0x270b48(0x381)](){return this;}[_0x270b48(0x1e6)](){const _0x26f48e=_0x270b48;throw new Error(_0x26f48e(0x562));}['fetchMiss'](){const _0x33c311=_0x270b48,_0x33d4f7=this[_0x33c311(0x4cb)][_0x33c311(0x3ff)](this[_0x33c311(0x224)]);return this[_0x33c311(0x307)][_0x33c311(0x508)]({'from':_0x33d4f7,'to':0x0}),this[_0x33c311(0x358)][_0x33c311(0x624)](_0x5d1507,this['unitID'],this[_0x33c311(0x21d)],null,[],null,[],this[_0x33c311(0x307)]);}};_0x4b3062=_0xcc1c30([_0x3144de(0x3,_0x10122e[_0x270b48(0x5c7)](_0x434c76[_0x270b48(0x5b0)])),_0x3144de(0x4,_0x10122e['Inject'](_0x3ef0c0['LocalCacheService'])),_0x3144de(0x5,_0x10122e[_0x270b48(0x5c7)](_0x10122e['Injector'])),_0x3144de(0x6,_0x10122e[_0x270b48(0x1eb)]),_0x3144de(0x7,_0x10122e[_0x270b48(0x1e0)]),_0x3144de(0x8,_0x10122e[_0x270b48(0x4d7)]),_0x3144de(0x9,_0x434c76[_0x270b48(0x3d9)])],_0x4b3062);let _0x3574b8=class extends _0x385537{constructor(_0x211e88,_0x7ffb69,_0xf7513d,_0x2a1e3b,_0x20c6a9,_0x114a8e,_0x1ce397,_0x2af2db,_0x204431,_0xfb8d69,_0x2477b5,_0x3d1745,_0x29984b,_0x2afe4a){const _0x2e6372=_0x270b48;super(_0x211e88,_0x7ffb69,null,_0xf7513d,_0x2a1e3b,_0xfb8d69,_0x2afe4a,_0x114a8e,_0x1ce397),_0x11da04(this,'status',_0x2e6372(0x615)),_0x11da04(this,_0x2e6372(0x237),null),_0x11da04(this,_0x2e6372(0x402),null),(this[_0x2e6372(0x358)]=_0x20c6a9,this[_0x2e6372(0x60b)]=_0x2af2db,this[_0x2e6372(0x477)]=_0x204431,this['_configService']=_0x2477b5,this['_transformService']=_0x3d1745,this[_0x2e6372(0x3d7)]=_0x29984b);}[_0x270b48(0x4c1)](_0x325857){const _0x22f9e6=_0x270b48;return this[_0x22f9e6(0x510)][_0x22f9e6(0x28f)](_0x325857),this[_0x22f9e6(0x32e)](),this;}[_0x270b48(0x5d6)](_0x5c6e7d){const _0x3350b5=_0x270b48;if(this[_0x3350b5(0x3bb)](_0x5c6e7d))return this[_0x3350b5(0x4ff)](),this[_0x3350b5(0x358)][_0x3350b5(0x624)](_0x5d1507,this['unitID'],this[_0x3350b5(0x21d)],null,this[_0x3350b5(0x510)],null,[_0x5c6e7d],this[_0x3350b5(0x307)]);try{const _0x2cd883=this[_0x3350b5(0x54b)][_0x3350b5(0x236)](_0x5c6e7d,this[_0x3350b5(0x510)]);if(_0x434c76[_0x3350b5(0x425)](_0x2cd883)){const {c1Prime:_0x4e1ddf,m2Prime:_0x4727d5}=_0x2cd883;this[_0x3350b5(0x525)](_0x4e1ddf);const _0x10a217=this[_0x3350b5(0x358)][_0x3350b5(0x624)](_0x3574b8,this[_0x3350b5(0x224)],this['type'],_0x4727d5,this[_0x3350b5(0x307)]);return this[_0x3350b5(0x4ff)](),_0x10a217[_0x3350b5(0x243)](this[_0x3350b5(0x237)]?Math[_0x3350b5(0x580)](0x0,new Date()['getTime']()-this[_0x3350b5(0x237)]):this[_0x3350b5(0x487)]()),_0x10a217;}throw _0x2cd883[_0x3350b5(0x371)];}catch(_0x1c9e34){return this[_0x3350b5(0x477)][_0x3350b5(0x371)](_0x1c9e34),this['_onConflict'](!0x1);}}['onRemoteAck'](){const _0x143dfa=_0x270b48;throw new Error(_0x143dfa(0x40a));}[_0x270b48(0x347)](){const _0x3d6af0=_0x270b48;throw new Error(_0x3d6af0(0x523));}[_0x270b48(0x4c0)](){return this;}['toggleOffline'](){const _0x5b24a6=_0x270b48;return this[_0x5b24a6(0x4ff)](),this[_0x5b24a6(0x358)]['createInstance'](_0x1588a6,this[_0x5b24a6(0x224)],this['type'],null,this[_0x5b24a6(0x510)],this['_handler']);}[_0x270b48(0x381)](){return this;}[_0x270b48(0x243)](_0x198fdf){const _0x56a353=_0x270b48,_0x2b71c5=_0x198fdf!=null?_0x198fdf:this['_getSendChangesetTimeout']();this[_0x56a353(0x237)]=new Date()[_0x56a353(0x1ef)](),this[_0x56a353(0x402)]=window[_0x56a353(0x298)](()=>{const _0x1ea126=_0x56a353;this[_0x1ea126(0x4ff)]();let _0x4a9eff=null;switch(this[_0x1ea126(0x21d)]){case _0x8439e8[_0x1ea126(0x4e9)]:{_0x4a9eff=_0x26b9af(this[_0x1ea126(0x510)],this[_0x1ea126(0x224)],this['_univerInstanceService'],this['_revisionService'],this[_0x1ea126(0x60b)]);break;}case _0x8439e8[_0x1ea126(0x414)]:{this[_0x1ea126(0x510)][_0x1ea126(0x30f)](_0x20b62c=>_0x20b62c['id']===_0x48121f[_0x1ea126(0x56e)]['id'])?_0x4a9eff=_0x560128(this[_0x1ea126(0x510)],this[_0x1ea126(0x224)],this[_0x1ea126(0x3d7)],this[_0x1ea126(0x4cb)],this[_0x1ea126(0x60b)]):_0x4a9eff=_0x26b9af(this[_0x1ea126(0x510)],this[_0x1ea126(0x224)],this[_0x1ea126(0x3d7)],this[_0x1ea126(0x4cb)],this[_0x1ea126(0x60b)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x3229f8,pendingMutations:_0x769e49}=_0x4a9eff;this[_0x1ea126(0x307)]['onSendChangeset'](_0x3229f8);const _0x97a8cd=_0x769e49['length']?this['_injector'][_0x1ea126(0x624)](_0x24ea08,this[_0x1ea126(0x224)],this[_0x1ea126(0x21d)],_0x3229f8,_0x769e49,this['_handler'],void 0x0):this[_0x1ea126(0x358)][_0x1ea126(0x624)](_0x53f33a,this[_0x1ea126(0x224)],this[_0x1ea126(0x21d)],_0x3229f8,this[_0x1ea126(0x307)]);_0x97a8cd[_0x1ea126(0x32e)](),this['_handler'][_0x1ea126(0x213)](this,_0x97a8cd);},_0x2b71c5);}[_0x270b48(0x487)](){const _0x1c8d13=_0x270b48;var _0x52ffa8;const _0x3a0c06=this[_0x1c8d13(0x4dd)][_0x1c8d13(0x5f1)](_0x100cc6);return(_0x52ffa8=_0x3a0c06==null?void 0x0:_0x3a0c06[_0x1c8d13(0x3c0)])!=null?_0x52ffa8:0x7d0;}[_0x270b48(0x1e6)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x270b48(0x4ff)](){const _0x3aa72d=_0x270b48;this[_0x3aa72d(0x402)]!=null&&(clearTimeout(this[_0x3aa72d(0x402)]),this[_0x3aa72d(0x402)]=null);}['_onConflict'](_0x5a526f){const _0x4b5bf5=_0x270b48;return this[_0x4b5bf5(0x4ff)](),this[_0x4b5bf5(0x358)][_0x4b5bf5(0x624)](_0x46c0eb,this[_0x4b5bf5(0x224)],this[_0x4b5bf5(0x21d)],null,this[_0x4b5bf5(0x510)],this[_0x4b5bf5(0x307)],_0x5a526f);}};_0x3574b8=_0xcc1c30([_0x3144de(0x4,_0x10122e[_0x270b48(0x5c7)](_0x10122e['Injector'])),_0x3144de(0x5,_0x10122e['Inject'](_0x434c76['RevisionService'])),_0x3144de(0x6,_0x10122e['Inject'](_0x3ef0c0['LocalCacheService'])),_0x3144de(0x7,_0x10122e['Inject'](_0x3ef0c0[_0x270b48(0x610)])),_0x3144de(0x8,_0x10122e[_0x270b48(0x4d7)]),_0x3144de(0x9,_0x10122e[_0x270b48(0x1e0)]),_0x3144de(0xa,_0x10122e[_0x270b48(0x635)]),_0x3144de(0xb,_0x434c76['ITransformService']),_0x3144de(0xc,_0x10122e[_0x270b48(0x204)]),_0x3144de(0xd,_0x10122e[_0x270b48(0x1eb)])],_0x3574b8);let _0x53f33a=class extends _0x385537{constructor(_0x2649c7,_0x3ed443,_0x199068,_0x40ffa8,_0x1f610c,_0x1ba4e8,_0x44e2e1,_0x4c759c,_0x13ab3d,_0x5b0a84,_0x1152c3){const _0x5bbd01=_0x270b48;super(_0x2649c7,_0x3ed443,_0x199068,[],_0x40ffa8,_0x4c759c,_0x1152c3,_0x1ba4e8,_0x44e2e1),_0x11da04(this,_0x5bbd01(0x46e),_0x5bbd01(0x431)),_0x11da04(this,_0x5bbd01(0x5bc),0x0),_0x11da04(this,_0x5bbd01(0x697)),_0x11da04(this,_0x5bbd01(0x61f)),(this[_0x5bbd01(0x358)]=_0x1f610c,this[_0x5bbd01(0x477)]=_0x13ab3d,this[_0x5bbd01(0x54b)]=_0x5b0a84);}['appendMutation'](_0x222b12){const _0x1a6a62=_0x270b48;this[_0x1a6a62(0x4ff)]();const _0x487e69=this['_injector'][_0x1a6a62(0x624)](_0x24ea08,this['unitID'],this[_0x1a6a62(0x21d)],this[_0x1a6a62(0x47a)],[_0x222b12],this[_0x1a6a62(0x307)],this[_0x1a6a62(0x697)]);return _0x487e69['_updateLocalCache'](),_0x487e69;}[_0x270b48(0x5d6)](_0xab1de3){const _0x486966=_0x270b48;if(this[_0x486966(0x3bb)](_0xab1de3))return this[_0x486966(0x4ff)](),this[_0x486966(0x358)][_0x486966(0x624)](_0x5d1507,this[_0x486966(0x224)],this[_0x486966(0x21d)],this[_0x486966(0x47a)],[],null,[_0xab1de3],this[_0x486966(0x307)]);try{const _0x47c5d0=this[_0x486966(0x54b)][_0x486966(0x26f)]([_0xab1de3],[this['_awaitingChangeset']],!0x1);if(_0x434c76[_0x486966(0x2b4)](_0x47c5d0)){const {c1Prime:_0x545595,c2Prime:_0x2d54ad}=_0x47c5d0;this[_0x486966(0x525)](_0x545595[0x0]),_0x2d54ad[0x0][_0x486966(0x2d5)]=this[_0x486966(0x289)](),this[_0x486966(0x4ff)]();const _0x489d87=this[_0x486966(0x358)][_0x486966(0x624)](_0x53f33a,this[_0x486966(0x224)],this[_0x486966(0x21d)],_0x2d54ad[0x0],this[_0x486966(0x307)]);return _0x489d87[_0x486966(0x32e)](),_0x489d87;}return this['_onConflict'](!0x1);}catch(_0x2a4c0b){return this[_0x486966(0x477)][_0x486966(0x371)](_0x2a4c0b),this[_0x486966(0x2ad)](!0x1);}}[_0x270b48(0x2fb)](_0x46e0d7){const _0x85e513=_0x270b48;this[_0x85e513(0x4ff)]();const _0x2f0f25=this['_revisionService'][_0x85e513(0x3ff)](this[_0x85e513(0x224)]);if(_0x46e0d7['revision']<_0x2f0f25-0x1)return this;if(this[_0x85e513(0x3bb)](_0x46e0d7))return this['_injector'][_0x85e513(0x624)](_0x5d1507,this[_0x85e513(0x224)],this[_0x85e513(0x21d)],null,[],this[_0x85e513(0x47a)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x386677=this[_0x85e513(0x358)][_0x85e513(0x624)](_0x4b3062,this[_0x85e513(0x224)],this[_0x85e513(0x21d)],this['_handler']);return _0x386677['_updateLocalCache'](),_0x386677;}[_0x270b48(0x347)](_0x37e473){const _0x32e9e0=_0x270b48;return this[_0x32e9e0(0x2ad)](!!(_0x37e473!=null&&_0x37e473[_0x32e9e0(0x320)]));}[_0x270b48(0x4c0)](_0x1e586e){const _0x416b3c=_0x270b48;return this[_0x416b3c(0x5bc)]>_0x28c01f?this[_0x416b3c(0x200)]():(this['_resendTimer']=_0x29b3ac(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x1e586e['reqId']}),this['_sender']=this['_resendTimer'][_0x416b3c(0x40f)](({reqId:_0x56f38b,timeout:_0x54d7c3})=>{const _0x12af7a=_0x416b3c;this[_0x12af7a(0x3c3)](_0x56f38b,_0x54d7c3);}),this);}[_0x270b48(0x200)](){const _0x2d41a0=_0x270b48;return this[_0x2d41a0(0x4ff)](),this[_0x2d41a0(0x358)]['createInstance'](_0x1588a6,this[_0x2d41a0(0x224)],this[_0x2d41a0(0x21d)],this[_0x2d41a0(0x47a)],[],this[_0x2d41a0(0x307)]);}[_0x270b48(0x381)](){return this;}[_0x270b48(0x1e6)](){const _0x4c435d=_0x270b48;this[_0x4c435d(0x307)][_0x4c435d(0x2d1)](this[_0x4c435d(0x47a)]);}[_0x270b48(0x2ad)](_0x340ae7){const _0x4cd1db=_0x270b48;return this[_0x4cd1db(0x4ff)](),this[_0x4cd1db(0x358)]['createInstance'](_0x46c0eb,this[_0x4cd1db(0x224)],this['type'],this[_0x4cd1db(0x47a)],[],this['_handler'],_0x340ae7);}['_resendWithTimeout'](_0x132792,_0x4c590e){const _0x30ff34=_0x270b48;var _0x57bfef;_0x132792===((_0x57bfef=this[_0x30ff34(0x47a)])==null?void 0x0:_0x57bfef['reqId'])&&(this[_0x30ff34(0x1e6)](),this[_0x30ff34(0x5bc)]=_0x4c590e===0x0?0x3e8:_0x4c590e*0x2);}[_0x270b48(0x4ff)](){const _0x2eff86=_0x270b48;var _0x501c35;(_0x501c35=this['_sender'])==null||_0x501c35['unsubscribe'](),this[_0x2eff86(0x5bc)]=0x0;}};_0x53f33a=_0xcc1c30([_0x3144de(0x4,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x53a)])),_0x3144de(0x5,_0x10122e[_0x270b48(0x5c7)](_0x434c76['RevisionService'])),_0x3144de(0x6,_0x10122e[_0x270b48(0x5c7)](_0x3ef0c0[_0x270b48(0x2c7)])),_0x3144de(0x7,_0x10122e[_0x270b48(0x1e0)]),_0x3144de(0x8,_0x10122e[_0x270b48(0x4d7)]),_0x3144de(0x9,_0x434c76['ITransformService']),_0x3144de(0xa,_0x10122e[_0x270b48(0x1eb)])],_0x53f33a);let _0x24ea08=class extends _0x385537{constructor(_0x5a7f62,_0x1c10db,_0x3d755f,_0x17c44f,_0x515052,_0xdb6efc,_0x4642a1,_0x2ab0d6,_0x2b3668,_0x2f7f8c,_0x458078,_0x57b623,_0xa3d521){const _0x17ee5f=_0x270b48;super(_0x5a7f62,_0x1c10db,_0x3d755f,_0x17c44f,_0x515052,_0x2f7f8c,_0xa3d521,_0x2ab0d6,_0x2b3668),_0x11da04(this,'status',_0x17ee5f(0x563)),_0x11da04(this,_0x17ee5f(0x5bc),0x0),_0x11da04(this,_0x17ee5f(0x697)),_0x11da04(this,'_sender'),(this['_injector']=_0x4642a1,this[_0x17ee5f(0x477)]=_0x458078,this[_0x17ee5f(0x54b)]=_0x57b623,_0xdb6efc&&(this[_0x17ee5f(0x697)]=_0xdb6efc,this['_sender']=this[_0x17ee5f(0x697)]['subscribe'](({reqId:_0x32f816,timeout:_0x1e5135})=>{this['_resendWithTimeout'](_0x32f816,_0x1e5135);})));}[_0x270b48(0x4c1)](_0xbcc57b){const _0x48c75d=_0x270b48;return this[_0x48c75d(0x510)][_0x48c75d(0x28f)](_0xbcc57b),this;}[_0x270b48(0x5d6)](_0x158130){const _0xe8757f=_0x270b48;if(this[_0xe8757f(0x3bb)](_0x158130))return this[_0xe8757f(0x4ff)](),this[_0xe8757f(0x358)]['createInstance'](_0x5d1507,this[_0xe8757f(0x224)],this[_0xe8757f(0x21d)],this[_0xe8757f(0x47a)],this[_0xe8757f(0x510)],null,[_0x158130],this['_handler']);try{const _0xb98e4d=this[_0xe8757f(0x54b)][_0xe8757f(0x26f)]([_0x158130],[this[_0xe8757f(0x47a)]],!0x1);if(_0x434c76[_0xe8757f(0x2b4)](_0xb98e4d)){const {c1Prime:_0x2b16b5,c2Prime:_0x4f97d0}=_0xb98e4d,_0x4e31dc=this[_0xe8757f(0x54b)]['transformMutationsWithChangeset'](_0x2b16b5[0x0],this[_0xe8757f(0x510)]);if(_0x434c76['isTransformMutationsWithChangesetSuccess'](_0x4e31dc)){const {c1Prime:_0x14842a,m2Prime:_0x2df7a9}=_0x4e31dc;return this['_executeRemoteChangeset'](_0x14842a),_0x4f97d0[0x0][_0xe8757f(0x2d5)]=this[_0xe8757f(0x289)](),this[_0xe8757f(0x4ff)](),this[_0xe8757f(0x358)][_0xe8757f(0x624)](_0x24ea08,this[_0xe8757f(0x224)],this[_0xe8757f(0x21d)],_0x4f97d0[0x0],_0x2df7a9,this[_0xe8757f(0x307)],void 0x0);}throw _0x4e31dc['error'];}throw _0xb98e4d[_0xe8757f(0x371)];}catch(_0xf22a12){return this[_0xe8757f(0x477)][_0xe8757f(0x371)](_0xf22a12),this[_0xe8757f(0x2ad)](!0x1);}}[_0x270b48(0x2fb)](_0x3853fd){const _0x36768d=_0x270b48;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x3853fd))return this['_injector'][_0x36768d(0x624)](_0x5d1507,this[_0x36768d(0x224)],this['type'],null,this[_0x36768d(0x510)],this[_0x36768d(0x47a)],[],this[_0x36768d(0x307)]);this[_0x36768d(0x3c6)]();const _0x2f2032=this['_injector'][_0x36768d(0x624)](_0x3574b8,this['unitID'],this[_0x36768d(0x21d)],this['_pendingMutations'],this[_0x36768d(0x307)]);return _0x2f2032['_schedule'](),_0x2f2032[_0x36768d(0x32e)](),_0x2f2032;}[_0x270b48(0x347)](_0x5af807){const _0x5c28bd=_0x270b48;return this[_0x5c28bd(0x2ad)](!!(_0x5af807!=null&&_0x5af807[_0x5c28bd(0x320)]));}[_0x270b48(0x4c0)](_0x56fccf){const _0x3912af=_0x270b48;return this[_0x3912af(0x5bc)]>_0x28c01f?this['toggleOffline']():(this[_0x3912af(0x697)]=_0x29b3ac(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x56fccf[_0x3912af(0x677)]}),this[_0x3912af(0x61f)]=this[_0x3912af(0x697)]['subscribe'](({reqId:_0x388860,timeout:_0x459355})=>{const _0x3faec6=_0x3912af;this[_0x3faec6(0x3c3)](_0x388860,_0x459355);}),this);}['toggleOffline'](){const _0x4c70c7=_0x270b48;return this['_clearScheduledTask'](),this[_0x4c70c7(0x358)]['createInstance'](_0x1588a6,this[_0x4c70c7(0x224)],this[_0x4c70c7(0x21d)],this[_0x4c70c7(0x47a)],this['_pendingMutations'],this[_0x4c70c7(0x307)]);}[_0x270b48(0x381)](){return this;}[_0x270b48(0x1e6)](){const _0xdafff7=_0x270b48;this['_handler'][_0xdafff7(0x2d1)](this[_0xdafff7(0x47a)]);}['_onConflict'](_0xd7085d){const _0x154971=_0x270b48;return this[_0x154971(0x4ff)](),this[_0x154971(0x358)][_0x154971(0x624)](_0x46c0eb,this[_0x154971(0x224)],this[_0x154971(0x21d)],null,this[_0x154971(0x510)],this[_0x154971(0x307)],_0xd7085d);}[_0x270b48(0x3c3)](_0x272106,_0x17596c){const _0xea6137=_0x270b48;var _0x3ec7d9;_0x272106===((_0x3ec7d9=this['_awaitingChangeset'])==null?void 0x0:_0x3ec7d9['reqId'])&&(this[_0xea6137(0x1e6)](),this[_0xea6137(0x5bc)]=_0x17596c===0x0?0x3e8:_0x17596c*0x2);}['_clearScheduledTask'](){const _0x529b9e=_0x270b48;var _0x151c1e;(_0x151c1e=this[_0x529b9e(0x61f)])==null||_0x151c1e['unsubscribe'](),this['_resendTimeout']=0x0;}};_0x24ea08=_0xcc1c30([_0x3144de(0x6,_0x10122e[_0x270b48(0x5c7)](_0x10122e['Injector'])),_0x3144de(0x7,_0x10122e[_0x270b48(0x5c7)](_0x434c76[_0x270b48(0x5b0)])),_0x3144de(0x8,_0x10122e['Inject'](_0x3ef0c0[_0x270b48(0x2c7)])),_0x3144de(0x9,_0x10122e[_0x270b48(0x1e0)]),_0x3144de(0xa,_0x10122e[_0x270b48(0x4d7)]),_0x3144de(0xb,_0x434c76[_0x270b48(0x3d9)]),_0x3144de(0xc,_0x10122e['IUndoRedoService'])],_0x24ea08);let _0x46c0eb=class extends _0x385537{constructor(_0x308b91,_0xbbe983,_0x4cc35c,_0x216c08,_0x140fe2,_0x40bb71=!0x1,_0x44a1d4,_0x19d860,_0x4237e3,_0x48f84f,_0xf0d268,_0x573b33,_0x55de0e){const _0x42ef2c=_0x270b48;super(_0x308b91,_0xbbe983,_0x4cc35c,_0x216c08,_0x140fe2,_0x19d860,_0x4237e3,_0xf0d268,_0x48f84f),_0x11da04(this,_0x42ef2c(0x46e),_0x42ef2c(0x36d)),(this[_0x42ef2c(0x66c)]=_0x40bb71,this[_0x42ef2c(0x256)]=_0x44a1d4,this[_0x42ef2c(0x548)]=_0x573b33,this[_0x42ef2c(0x2be)]=_0x55de0e,this['_showConflictNotification'](),this[_0x42ef2c(0x5c4)](),this[_0x42ef2c(0x5b2)]());}[_0x270b48(0x4c1)](){return this;}[_0x270b48(0x5d6)](){return this;}[_0x270b48(0x2fb)](){return this;}[_0x270b48(0x347)](){return this;}[_0x270b48(0x4c0)](){return this;}[_0x270b48(0x200)](){return this;}[_0x270b48(0x381)](){return this;}[_0x270b48(0x1e6)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x270b48(0x5c4)](){const _0x224c12=_0x270b48;this['_localCacheService'][_0x224c12(0x58c)](this[_0x224c12(0x224)],this[_0x224c12(0x21d)],null,[]);}[_0x270b48(0x273)](){const _0x49cb10=_0x270b48;this[_0x49cb10(0x66c)]?this[_0x49cb10(0x2be)][_0x49cb10(0x36c)]({'title':this['_localeService']['t'](_0x49cb10(0x2d6)),'content':this[_0x49cb10(0x548)]['t']('permission.content'),'type':_0x49cb10(0x371),'duration':0x0}):this['_notificationService'][_0x49cb10(0x36c)]({'title':this[_0x49cb10(0x548)]['t'](_0x49cb10(0x416)),'content':this[_0x49cb10(0x548)]['t']('conflict.content'),'type':_0x49cb10(0x371),'duration':0x0});}[_0x270b48(0x5b2)](){const _0x413507=_0x270b48;this[_0x413507(0x256)][_0x413507(0x59e)](new _0x43d50e[(_0x413507(0x2ff))](this[_0x413507(0x224)])['id'],!0x1);}};_0x46c0eb=_0xcc1c30([_0x3144de(0x6,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x380)])),_0x3144de(0x7,_0x10122e[_0x270b48(0x1e0)]),_0x3144de(0x8,_0x10122e[_0x270b48(0x1eb)]),_0x3144de(0x9,_0x10122e[_0x270b48(0x5c7)](_0x3ef0c0[_0x270b48(0x2c7)])),_0x3144de(0xa,_0x10122e[_0x270b48(0x5c7)](_0x434c76['RevisionService'])),_0x3144de(0xb,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x42c)])),_0x3144de(0xc,_0x3421c5['INotificationService'])],_0x46c0eb);let _0x1588a6=class extends _0x385537{constructor(_0x4d3724,_0x41cd44,_0x551f10,_0x28799b,_0x430b5f,_0x24919b,_0x5a00aa,_0x4c817c,_0x495e56,_0x28e4c3){const _0x1682f8=_0x270b48;super(_0x4d3724,_0x41cd44,_0x551f10,_0x28799b,_0x430b5f,_0x495e56,_0x28e4c3,_0x5a00aa,_0x4c817c),_0x11da04(this,'status',_0x1682f8(0x552)),this[_0x1682f8(0x358)]=_0x24919b;}[_0x270b48(0x4c1)](_0xaad755){const _0x49f043=_0x270b48;return this['_pendingMutations'][_0x49f043(0x28f)](_0xaad755),this[_0x49f043(0x32e)](),this;}[_0x270b48(0x5d6)](_0x3d23c1){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x270b48(0x2fb)](){const _0x4ea8b4=_0x270b48;throw new Error(_0x4ea8b4(0x403));}[_0x270b48(0x347)](){const _0x13846c=_0x270b48;throw new Error(_0x13846c(0x42d));}['onRemoteRetry'](){return this;}[_0x270b48(0x200)](){return this;}[_0x270b48(0x381)](){const _0x6c5198=_0x270b48,{_injector:_0x4b070c,_pendingMutations:_0x4ae622,_awaitingChangeset:_0x1f7c05,unitID:_0x476442,_handler:_0x3592fd,type:_0x191e54}=this,_0x2a4a34=_0x50b2a2(_0x4b070c,_0x476442,_0x191e54,_0x1f7c05,_0x4ae622,_0x3592fd);return _0x2a4a34 instanceof _0x3574b8?_0x2a4a34[_0x6c5198(0x243)]():(_0x2a4a34 instanceof _0x24ea08||_0x2a4a34 instanceof _0x53f33a)&&_0x2a4a34[_0x6c5198(0x1e6)](),_0x2a4a34;}[_0x270b48(0x1e6)](){const _0x447a2e=_0x270b48;throw new Error(_0x447a2e(0x58d));}};_0x1588a6=_0xcc1c30([_0x3144de(0x5,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x53a)])),_0x3144de(0x6,_0x10122e[_0x270b48(0x5c7)](_0x434c76[_0x270b48(0x5b0)])),_0x3144de(0x7,_0x10122e[_0x270b48(0x5c7)](_0x3ef0c0['LocalCacheService'])),_0x3144de(0x8,_0x10122e[_0x270b48(0x1e0)]),_0x3144de(0x9,_0x10122e[_0x270b48(0x1eb)])],_0x1588a6);let _0x5d1507=class extends _0x385537{constructor(_0x160091,_0x243d94,_0xb8adcb,_0x874097,_0x57f3f5,_0x831943,_0x4fa2a2,_0x6c2fd3,_0x2c1c98,_0x546105,_0x16e6ef,_0x334d78,_0x4673e9,_0x5586c0){const _0x11931=_0x270b48;super(_0x160091,_0x243d94,_0xb8adcb,_0x874097,_0x4fa2a2,_0x334d78,_0x4673e9,_0x2c1c98,_0x546105),_0x11da04(this,_0x11931(0x46e),_0x11931(0x4a7)),(this[_0x11931(0x3f6)]=_0x57f3f5,this[_0x11931(0x251)]=_0x831943,this[_0x11931(0x358)]=_0x6c2fd3,this[_0x11931(0x477)]=_0x16e6ef,this[_0x11931(0x54b)]=_0x5586c0);}[_0x270b48(0x5a1)](_0x2f5812){const _0x19e4c5=_0x270b48;try{const _0x504652=[..._0x2f5812,...this['_queuedRemoteChangesets']],_0xde031f=[this[_0x19e4c5(0x47a)]||this['_acknowledgedAwaitingChangeset']][_0x19e4c5(0x4d0)](_0x55a3e8=>!!_0x55a3e8);let _0xcf27d3,_0x34254d;if(_0xde031f[_0x19e4c5(0x2df)]){const _0x2ced4c=this[_0x19e4c5(0x54b)][_0x19e4c5(0x26f)](_0x504652,_0xde031f,!0x1);if(!_0x434c76['isTransformChangesetsSuccess'](_0x2ced4c))throw _0x2ced4c['error'];_0xcf27d3=_0x2ced4c['c1Prime'],_0x34254d=_0x2ced4c['c2Prime'];}else _0xcf27d3=_0x504652,_0x34254d=[];let _0x5aece3=this[_0x19e4c5(0x510)];_0xcf27d3[_0x19e4c5(0x4bd)](_0xb0604b=>{const _0x18588c=_0x19e4c5;let _0x5dc986;if(_0x5aece3[_0x18588c(0x2df)]){const _0x2131b8=this[_0x18588c(0x54b)][_0x18588c(0x236)](_0xb0604b,_0x5aece3);if(!_0x434c76[_0x18588c(0x425)](_0x2131b8))throw _0x2131b8[_0x18588c(0x371)];_0x5dc986=_0x2131b8['c1Prime'],_0x5aece3=_0x2131b8[_0x18588c(0x682)];}else _0x5dc986=_0xb0604b;this[_0x18588c(0x525)](_0x5dc986);}),this[_0x19e4c5(0x3f6)]&&this[_0x19e4c5(0x3c6)](),this['_awaitingChangeset']&&_0x34254d[_0x19e4c5(0x2df)]&&(_0x34254d[0x0][_0x19e4c5(0x2d5)]=this[_0x19e4c5(0x289)]());let _0x368717;if(this[_0x19e4c5(0x47a)]&&_0x5aece3['length']!==0x0)_0x368717=this[_0x19e4c5(0x358)][_0x19e4c5(0x624)](_0x24ea08,this['unitID'],this[_0x19e4c5(0x21d)],_0x34254d[0x0],_0x5aece3,this['_handler'],void 0x0);else{if(this[_0x19e4c5(0x47a)]&&_0x5aece3[_0x19e4c5(0x2df)]===0x0)_0x34254d[0x0]['baseRev']=this[_0x19e4c5(0x289)](),_0x368717=this[_0x19e4c5(0x358)]['createInstance'](_0x53f33a,this['unitID'],this['type'],_0x34254d[0x0],this['_handler']);else{if(_0x5aece3[_0x19e4c5(0x2df)]!==0x0){const _0x3c31eb=this[_0x19e4c5(0x358)][_0x19e4c5(0x624)](_0x3574b8,this[_0x19e4c5(0x224)],this[_0x19e4c5(0x21d)],_0x5aece3,this['_handler']);_0x3c31eb[_0x19e4c5(0x243)](),_0x368717=_0x3c31eb;}else _0x368717=this[_0x19e4c5(0x358)][_0x19e4c5(0x624)](_0x4b3062,this['unitID'],this[_0x19e4c5(0x21d)],this[_0x19e4c5(0x307)]);}}return _0x368717[_0x19e4c5(0x32e)](),_0x368717;}catch(_0x2add99){return this[_0x19e4c5(0x477)][_0x19e4c5(0x371)](_0x19e4c5(0x32b),'failed\x20to\x20apply\x20missed\x20changesets!',_0x2add99),this[_0x19e4c5(0x358)]['createInstance'](_0x46c0eb,this[_0x19e4c5(0x224)],this[_0x19e4c5(0x21d)],this[_0x19e4c5(0x47a)],this[_0x19e4c5(0x510)],this[_0x19e4c5(0x307)],!0x1);}}['resend'](){const _0x3aabf8=_0x270b48;throw new Error(_0x3aabf8(0x2d9));}[_0x270b48(0x4c1)](_0x4c0e45){const _0xabf25=_0x270b48;return this[_0xabf25(0x510)][_0xabf25(0x28f)](_0x4c0e45),this;}['onRemoteChangeset'](_0x4dbcee){const _0x5e9f45=_0x270b48;return this[_0x5e9f45(0x251)]['push'](_0x4dbcee),this;}[_0x270b48(0x2fb)](_0xb83e64){const _0x28e7cd=_0x270b48;if(this[_0x28e7cd(0x47a)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this[_0x28e7cd(0x47a)]=null,this;throw new Error(_0x28e7cd(0x470));}[_0x270b48(0x347)](_0x2bf8f7){const _0x2ba18b=_0x270b48;return this[_0x2ba18b(0x2ad)](!!(_0x2bf8f7!=null&&_0x2bf8f7['isPermissionRej']));}[_0x270b48(0x4c0)](){return this;}[_0x270b48(0x200)](){const _0x3e8b71=_0x270b48;return this['_injector']['createInstance'](_0x1588a6,this[_0x3e8b71(0x224)],this[_0x3e8b71(0x21d)],this['_awaitingChangeset'],this[_0x3e8b71(0x510)],this['_handler']);}['toggleOnline'](){return this;}[_0x270b48(0x2ad)](_0x34d52a){const _0x11d5f3=_0x270b48;return this[_0x11d5f3(0x358)][_0x11d5f3(0x624)](_0x46c0eb,this['unitID'],this[_0x11d5f3(0x21d)],this['_awaitingChangeset'],this[_0x11d5f3(0x510)],this[_0x11d5f3(0x307)],_0x34d52a);}};_0x5d1507=_0xcc1c30([_0x3144de(0x7,_0x10122e[_0x270b48(0x5c7)](_0x10122e['Injector'])),_0x3144de(0x8,_0x10122e['Inject'](_0x434c76[_0x270b48(0x5b0)])),_0x3144de(0x9,_0x10122e['Inject'](_0x3ef0c0['LocalCacheService'])),_0x3144de(0xa,_0x10122e['ILogService']),_0x3144de(0xb,_0x10122e[_0x270b48(0x1e0)]),_0x3144de(0xc,_0x10122e['IUndoRedoService']),_0x3144de(0xd,_0x434c76[_0x270b48(0x3d9)])],_0x5d1507);function _0x50b2a2(_0x594fc4,_0x2d43ca,_0x1de9d8,_0x9985a5,_0x2a389c,_0x60dcbc){const _0x504490=_0x270b48;return _0x9985a5&&_0x2a389c[_0x504490(0x2df)]?_0x594fc4[_0x504490(0x624)](_0x24ea08,_0x2d43ca,_0x1de9d8,_0x9985a5,_0x2a389c,_0x60dcbc,void 0x0):_0x9985a5?_0x594fc4['createInstance'](_0x53f33a,_0x2d43ca,_0x1de9d8,_0x9985a5,_0x60dcbc):_0x2a389c[_0x504490(0x2df)]?_0x594fc4['createInstance'](_0x3574b8,_0x2d43ca,_0x1de9d8,_0x2a389c,_0x60dcbc):_0x594fc4[_0x504490(0x624)](_0x4b3062,_0x2d43ca,_0x1de9d8,_0x60dcbc);}var _0x160fbf=Object['defineProperty'],_0x24ac20=Object['getOwnPropertyDescriptor'],_0x3b7760=(_0x3d744e,_0x58f6c2,_0x13c57a,_0x598369)=>{const _0x549635=_0x270b48;for(var _0x2eedeb=_0x598369>0x1?void 0x0:_0x598369?_0x24ac20(_0x58f6c2,_0x13c57a):_0x58f6c2,_0x347195=_0x3d744e[_0x549635(0x2df)]-0x1,_0x224324;_0x347195>=0x0;_0x347195--)(_0x224324=_0x3d744e[_0x347195])&&(_0x2eedeb=(_0x598369?_0x224324(_0x58f6c2,_0x13c57a,_0x2eedeb):_0x224324(_0x2eedeb))||_0x2eedeb);return _0x598369&&_0x2eedeb&&_0x160fbf(_0x58f6c2,_0x13c57a,_0x2eedeb),_0x2eedeb;},_0x9b120c=(_0x34ea1c,_0x2bf5cf)=>(_0x5728c9,_0x350510)=>_0x2bf5cf(_0x5728c9,_0x350510,_0x34ea1c);_0x3ef0c0['CollaborationEntity']=class extends _0x10122e[_0x270b48(0x332)]{constructor(_0x59f41a,_0x59cc2d,_0xe14370,_0x5082ec,_0x1f4243,_0x5607cf,_0x5e3836,_0x76aea7,_0x20e8db,_0x4b7240,_0x37c068,_0x197809,_0x383099){const _0x22e407=_0x270b48;super(),_0x11da04(this,_0x22e407(0x1f3),new _0x43beed[(_0x22e407(0x65c))](null)),_0x11da04(this,'state$',this[_0x22e407(0x1f3)][_0x22e407(0x644)]()),_0x11da04(this,'_state'),_0x11da04(this,_0x22e407(0x543),!0x1),_0x11da04(this,_0x22e407(0x34d),''),_0x11da04(this,_0x22e407(0x424),0x0),_0x11da04(this,_0x22e407(0x2f6),this[_0x22e407(0x4f7)][_0x22e407(0x3fb)](_0x43beed[_0x22e407(0x60f)](_0xcd0fce=>_0xcd0fce?_0xcd0fce[_0x22e407(0x46e)]:_0x27aa5e[_0x22e407(0x2f3)]),_0x43beed['shareReplay'](0x1))),_0x11da04(this,_0x22e407(0x499),!0x1),_0x11da04(this,'_remoteChangesetQueue',[]),(this[_0x22e407(0x224)]=_0x59f41a,this[_0x22e407(0x2ea)]=_0x59cc2d,this['_type']=_0xe14370,this[_0x22e407(0x358)]=_0x5082ec,this[_0x22e407(0x5a3)]=_0x1f4243,this[_0x22e407(0x651)]=_0x5607cf,this[_0x22e407(0x548)]=_0x5e3836,this[_0x22e407(0x4cb)]=_0x76aea7,this[_0x22e407(0x477)]=_0x20e8db,this[_0x22e407(0x4ce)]=_0x4b7240,this[_0x22e407(0x4e8)]=_0x37c068,this[_0x22e407(0x256)]=_0x197809,this[_0x22e407(0x47c)]=_0x383099);}get['state'](){const _0x17f32a=_0x270b48;return this[_0x17f32a(0x233)];}async[_0x270b48(0x24f)](){const _0x1d3cde=_0x270b48;if(this['state'])throw new Error(_0x1d3cde(0x45c));await this[_0x1d3cde(0x46f)]();}[_0x270b48(0x3a2)](){const _0x5ce457=_0x270b48;return this[_0x5ce457(0x543)]=!0x0,_0x10122e[_0x5ce457(0x305)](()=>{const _0x4d5124=_0x5ce457;this[_0x4d5124(0x543)]=!0x1,this[_0x4d5124(0x386)]();});}['_updateState'](_0xa58610){const _0x26ffde=_0x270b48;this[_0x26ffde(0x233)]=_0xa58610,this['_state$'][_0x26ffde(0x299)](_0xa58610);}async[_0x270b48(0x46f)](){const _0x5a85e5=_0x270b48;var _0x56c9ef;this[_0x5a85e5(0x2ae)](await this[_0x5a85e5(0x221)]()),this['_singleActiveUnitService']&&((_0x56c9ef=this[_0x5a85e5(0x47c)])==null||_0x56c9ef[_0x5a85e5(0x220)](this['unitID']),this[_0x5a85e5(0x206)](this[_0x5a85e5(0x47c)][_0x5a85e5(0x3d0)](this[_0x5a85e5(0x224)])['subscribe'](_0x2b34bf=>{const _0x302c77=_0x5a85e5;this[_0x302c77(0x477)]['debug']('[CollaborationEntity]',_0x302c77(0x259),_0x2b34bf),_0x2b34bf===_0x18fdd6[_0x302c77(0x5d4)]?(this[_0x302c77(0x4e8)][_0x302c77(0x36c)]({'content':this['_localeService']['t'](_0x302c77(0x33e)),'type':_0x4811a0[_0x302c77(0x3b0)][_0x302c77(0x309)]}),this[_0x302c77(0x256)][_0x302c77(0x59e)](new _0x43d50e[(_0x302c77(0x2ff))](this[_0x302c77(0x224)])['id'],!0x1),this['_permissionService'][_0x302c77(0x3ed)](!0x1)):(this[_0x302c77(0x256)][_0x302c77(0x59e)](new _0x43d50e[(_0x302c77(0x2ff))](this[_0x302c77(0x224)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x535ad2=!0x1;return this[_0x5a85e5(0x206)](this[_0x5a85e5(0x2ea)][_0x5a85e5(0x342)][_0x5a85e5(0x40f)](_0x45a67d=>{const _0x11d12e=_0x5a85e5;_0x45a67d===_0x606225[_0x11d12e(0x29e)]?this['_toggleOnline'](_0x535ad2):_0x45a67d===_0x606225['OFFLINE']&&(_0x535ad2=!0x0,this[_0x11d12e(0x43d)]());})),this[_0x5a85e5(0x206)](this[_0x5a85e5(0x2ea)][_0x5a85e5(0x334)]['subscribe'](_0xd177b8=>{const _0x5d6ca3=_0x5a85e5;try{switch(_0xd177b8['eventID']){case _0x434c76[_0x5d6ca3(0x4cc)][_0x5d6ca3(0x4af)]:{this[_0x5d6ca3(0x239)](_0x434c76[_0x5d6ca3(0x5ba)](_0xd177b8['data']));break;}case _0x434c76[_0x5d6ca3(0x4cc)][_0x5d6ca3(0x21b)]:{this[_0x5d6ca3(0x41f)](_0xd177b8[_0x5d6ca3(0x52b)]);break;}case _0x434c76[_0x5d6ca3(0x4cc)][_0x5d6ca3(0x22b)]:{this[_0x5d6ca3(0x29b)]();break;}case _0x434c76[_0x5d6ca3(0x4cc)][_0x5d6ca3(0x2c0)]:{this[_0x5d6ca3(0x665)](_0xd177b8['data']);break;}case _0x434c76['CollaborationEvent'][_0x5d6ca3(0x1e2)]:{this[_0x5d6ca3(0x530)](_0xd177b8['data'][_0x5d6ca3(0x478)][_0x5d6ca3(0x60f)](_0x4be3ed=>_0x434c76[_0x5d6ca3(0x5ba)](_0x4be3ed)));break;}case _0x434c76[_0x5d6ca3(0x4cc)][_0x5d6ca3(0x4f9)]:this[_0x5d6ca3(0x29b)]({'isPermissionRej':!0x0});}}catch(_0x185299){throw console[_0x5d6ca3(0x371)]('Error\x20on\x20receiving\x20event',_0x185299),_0x185299;}})),this[_0x5a85e5(0x233)];}[_0x270b48(0x2bc)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){if(this['_transitionLocked'])throw new Error('[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.');this['_transitionLocked']=!0x0;}[_0x270b48(0x680)](_0x374837){const _0x5740e5=_0x270b48;this[_0x5740e5(0x5ec)](),this[_0x5740e5(0x2ae)](this[_0x5740e5(0x233)][_0x5740e5(0x4c1)](_0x374837)),this[_0x5740e5(0x2bc)]();}[_0x270b48(0x239)](_0x5b6b05){const _0x5d680d=_0x270b48;if(!(_0x5b6b05['revision']<=this[_0x5d680d(0x4cb)][_0x5d680d(0x3ff)](this[_0x5d680d(0x224)]))){if(this[_0x5d680d(0x543)]){this[_0x5d680d(0x696)][_0x5d680d(0x28f)](_0x5b6b05);return;}this[_0x5d680d(0x3e6)](_0x5b6b05);}}['_exhaustRemoteChangesetQueue'](){const _0x4c5a19=_0x270b48;this['_remoteChangesetQueue']['forEach'](_0x35b6fd=>this[_0x4c5a19(0x3e6)](_0x35b6fd)),this[_0x4c5a19(0x696)]=[];}['_applyRemoteChangeset'](_0x1319ea){const _0x2ab064=_0x270b48,_0x4781aa=this[_0x2ab064(0x651)]['interceptor'][_0x2ab064(0x66b)](this[_0x2ab064(0x651)]['interceptor'][_0x2ab064(0x39d)]()[_0x2ab064(0x2a7)])(_0x1319ea['mutations'],null)||_0x1319ea['mutations'],_0x507963={..._0x1319ea,'mutations':_0x4781aa};this['_lockTransition'](),this[_0x2ab064(0x2ae)](this[_0x2ab064(0x233)][_0x2ab064(0x5d6)](_0x507963)),this['_unlockTransition']();}['_onRemoteACK'](_0x517c3b){const _0x1c2c47=_0x270b48;this[_0x1c2c47(0x5ec)](),this[_0x1c2c47(0x2ae)](this[_0x1c2c47(0x233)][_0x1c2c47(0x2fb)](_0x517c3b)),this[_0x1c2c47(0x2bc)]();}[_0x270b48(0x29b)](_0x48a291){const _0x46020d=_0x270b48;this[_0x46020d(0x5ec)](),this['_updateState'](this['_state'][_0x46020d(0x347)](_0x48a291)),this[_0x46020d(0x2bc)]();}[_0x270b48(0x665)](_0x3f79dd){const _0xd65b66=_0x270b48;this[_0xd65b66(0x5ec)](),this[_0xd65b66(0x2ae)](this[_0xd65b66(0x233)][_0xd65b66(0x4c0)](_0x3f79dd)),this[_0xd65b66(0x2bc)]();}[_0x270b48(0x530)](_0x2bfe03){const _0x7ba2b0=_0x270b48;if(!(this['_state']instanceof _0x5d1507))throw new TypeError(_0x7ba2b0(0x4dc));const _0x55f726=_0x2bfe03['map'](_0x19778c=>{const _0x46f518=_0x7ba2b0,_0x46f7da=this['_compressMutationService'][_0x46f518(0x5bd)][_0x46f518(0x66b)](this[_0x46f518(0x651)]['interceptor'][_0x46f518(0x39d)]()[_0x46f518(0x2a7)])(_0x19778c[_0x46f518(0x43b)],null)||_0x19778c[_0x46f518(0x43b)];return{..._0x19778c,'mutations':_0x46f7da};});this['_lockTransition'](),this[_0x7ba2b0(0x2ae)](this[_0x7ba2b0(0x233)]['onMissedChangesetFetched'](_0x55f726)),this[_0x7ba2b0(0x2bc)]();}['_toggleOffline'](){const _0x14df21=_0x270b48;this[_0x14df21(0x5ec)](),this[_0x14df21(0x2ae)](this[_0x14df21(0x233)][_0x14df21(0x200)]()),this[_0x14df21(0x2bc)]();}['_toggleOnline'](_0x348006=!0x1){const _0xd7a7f5=_0x270b48;this['_lockTransition'](),this['_updateState'](this[_0xd7a7f5(0x233)][_0xd7a7f5(0x381)]()),this[_0xd7a7f5(0x2bc)]();const _0x34f310=this['_state'];_0x348006&&_0x34f310 instanceof _0x4b3062&&(this['_lockTransition'](),this[_0xd7a7f5(0x2ae)](_0x34f310[_0xd7a7f5(0x44d)]()),this[_0xd7a7f5(0x2bc)]());}async[_0x270b48(0x221)](){return new Promise(_0x71b5aa=>{const _0x3e934f=_0x5645;this[_0x3e934f(0x2ea)][_0x3e934f(0x342)][_0x3e934f(0x3fb)](_0x43beed[_0x3e934f(0x4cd)](0x1))[_0x3e934f(0x40f)](async _0x478003=>{const _0x343d23=_0x3e934f;_0x71b5aa(await this[_0x343d23(0x46a)](_0x478003===_0x606225['ONLINE']));});});}[_0x270b48(0x542)](){const _0x3d50bf=_0x270b48,_0x45814b=this[_0x3d50bf(0x224)];return{'onStateChange':(_0x47f595,_0x48f8d5)=>{const _0x22cded=_0x3d50bf;if(_0x47f595!==this['_state'])throw new Error(_0x22cded(0x2b2)+_0x47f595[_0x22cded(0x46e)]+_0x22cded(0x537)+_0x48f8d5['status']+_0x22cded(0x5de)+this['_state']['status']);this[_0x22cded(0x2ae)](_0x48f8d5);},'onSendChangeset':_0x32c494=>{const _0x222551=_0x3d50bf;_0x32c494['sid']||(_0x32c494[_0x222551(0x62e)]=this[_0x222551(0x34d)],_0x32c494['reqId']=++this['_changesetReqId']);const _0x1d323d={'eventID':_0x434c76[_0x222551(0x4cc)][_0x222551(0x258)],'data':{'unitID':_0x32c494[_0x222551(0x224)],'unitType':this[_0x222551(0x522)],'changeset':_0x32c494,'memberID':this[_0x222551(0x2ea)][_0x222551(0x50e)]()}};this[_0x222551(0x2ea)][_0x222551(0x63d)](_0x1d323d,this[_0x222551(0x224)]);},'onMissingChangesets':({from:_0x188eb0,to:_0x386e95})=>{const _0x4a3d58=_0x3d50bf;this[_0x4a3d58(0x477)]['debug'](_0x4a3d58(0x38c),_0x4a3d58(0x4b3)+_0x188eb0+'\x20to\x20'+_0x386e95);const _0x3cd795={'eventID':_0x434c76[_0x4a3d58(0x4cc)]['FETCH_MISSING'],'data':{'unitID':_0x45814b,'unitType':this['_type'],'from':_0x188eb0,'to':_0x386e95}};this[_0x4a3d58(0x2ea)][_0x4a3d58(0x63d)](_0x3cd795,this['unitID']);}};}async['_createInitialStateImpl'](_0x1d32ab){const _0xfebecc=_0x270b48;var _0x3c8f83,_0x34539a;const _0x4cb997=await this[_0xfebecc(0x5a3)][_0xfebecc(0x294)](this[_0xfebecc(0x224)]),_0x591438=(_0x3c8f83=_0x4cb997==null?void 0x0:_0x4cb997['mutations'])!=null?_0x3c8f83:[],_0x4b16e9=(_0x34539a=_0x4cb997==null?void 0x0:_0x4cb997[_0xfebecc(0x636)])!=null?_0x34539a:null,_0x21ccd3=!!(_0x4b16e9!=null&&_0x4b16e9[_0xfebecc(0x62e)])&&!!(_0x4b16e9!=null&&_0x4b16e9[_0xfebecc(0x677)]);this[_0xfebecc(0x34d)]=_0x21ccd3?_0x4b16e9[_0xfebecc(0x62e)]:_0x493452(),this[_0xfebecc(0x424)]=_0x21ccd3?_0x4b16e9[_0xfebecc(0x677)]:0x0;const _0x4ce778=this[_0xfebecc(0x224)];try{this[_0xfebecc(0x2d3)](_0x4b16e9,_0x591438);}catch(_0x4a769e){this['_logService']['error'](_0x4a769e);}const _0x4bb4c9=this[_0xfebecc(0x542)]();if(_0x1d32ab){const _0x4392db=_0x50b2a2(this[_0xfebecc(0x358)],_0x4ce778,this[_0xfebecc(0x522)],_0x4b16e9,_0x591438,_0x4bb4c9);return _0x4392db instanceof _0x3574b8?_0x4392db[_0xfebecc(0x243)]():(_0x4392db instanceof _0x24ea08||_0x4392db instanceof _0x53f33a)&&_0x4392db[_0xfebecc(0x1e6)](),_0x4392db;}return this[_0xfebecc(0x358)][_0xfebecc(0x624)](_0x1588a6,_0x4ce778,this[_0xfebecc(0x522)],_0x4b16e9,_0x591438,_0x4bb4c9);}[_0x270b48(0x2d3)](_0x2ae9b6,_0x20a631){const _0x5150a1=_0x270b48;var _0xc36873,_0x2ba0c4;const _0x143d24=this[_0x5150a1(0x651)]['interceptor']['fetchThroughInterceptors'](this[_0x5150a1(0x651)][_0x5150a1(0x5bd)][_0x5150a1(0x39d)]()[_0x5150a1(0x2a7)]);(_0xc36873=_0x143d24((_0x2ae9b6==null?void 0x0:_0x2ae9b6['mutations'])||[],null))==null||_0xc36873['forEach'](_0x22eed1=>this[_0x5150a1(0x4ce)]['executeCommand'](_0x22eed1['id'],_0x22eed1['params'])),(_0x2ba0c4=_0x143d24(_0x20a631||[],null))==null||_0x2ba0c4[_0x5150a1(0x4bd)](_0x2de10c=>this[_0x5150a1(0x4ce)][_0x5150a1(0x284)](_0x2de10c['id'],_0x2de10c['params']));}},_0x3ef0c0[_0x270b48(0x4ca)]=_0x3b7760([_0x9b120c(0x3,_0x10122e[_0x270b48(0x5c7)](_0x10122e['Injector'])),_0x9b120c(0x4,_0x10122e[_0x270b48(0x5c7)](_0x3ef0c0['LocalCacheService'])),_0x9b120c(0x5,_0x10122e['Inject'](_0x434c76['CompressMutationService'])),_0x9b120c(0x6,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x42c)])),_0x9b120c(0x7,_0x10122e[_0x270b48(0x5c7)](_0x434c76[_0x270b48(0x5b0)])),_0x9b120c(0x8,_0x10122e[_0x270b48(0x4d7)]),_0x9b120c(0x9,_0x10122e[_0x270b48(0x1e0)]),_0x9b120c(0xa,_0x3421c5['IMessageService']),_0x9b120c(0xb,_0x10122e[_0x270b48(0x380)]),_0x9b120c(0xc,_0x10122e['Optional'](_0x483e19))],_0x3ef0c0['CollaborationEntity']),_0x3ef0c0[_0x270b48(0x474)]=class extends _0x3ef0c0[_0x270b48(0x4ca)]{constructor(_0x264b80,_0x56c2b8,_0x2e5b95,_0x496102,_0x37644e,_0x77c316,_0x17123c,_0xce3f1d,_0x407bd8,_0x1cd071,_0x49760b,_0x21570c,_0x2b24a9,_0x3f8646,_0xe23d93,_0x2a853c,_0x485e37,_0x4f4aa4){const _0x1785e7=_0x270b48;super(_0x264b80,_0x2e5b95,_0x56c2b8,_0x496102,_0x37644e,_0x77c316,_0x17123c,_0xce3f1d,_0x3f8646,_0xe23d93,_0x2a853c,_0x485e37,_0x4f4aa4),this['unitID']=_0x264b80,this[_0x1785e7(0x21d)]=_0x56c2b8,this[_0x1785e7(0x4fc)]=_0x407bd8,this['_docTransformIMECacheService']=_0x1cd071,this[_0x1785e7(0x47b)]=_0x49760b,this[_0x1785e7(0x59b)]=_0x21570c,this['_docSyncEditingCollabCursorService']=_0x2b24a9;}[_0x270b48(0x542)](){const _0x19d349=_0x270b48,_0xc18d52=super[_0x19d349(0x542)]();return _0xc18d52['onTransformIME']=_0x3a4636=>this['_docTransformIMECacheService'][_0x19d349(0x4cf)](_0x3a4636),_0xc18d52['onTransformState']=_0x504c25=>this[_0x19d349(0x47b)][_0x19d349(0x2d0)](_0x504c25),_0xc18d52[_0x19d349(0x5b1)]=_0x4f19ee=>this[_0x19d349(0x59b)][_0x19d349(0x271)](_0x4f19ee),_0xc18d52[_0x19d349(0x505)]=_0x47cf9e=>this[_0x19d349(0x2fa)]['syncEditingCollabCursor'](_0x47cf9e),_0xc18d52[_0x19d349(0x4e4)]=_0x221119=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x221119),_0xc18d52[_0x19d349(0x5e2)]=_0x5881d8=>this['_docTransformStateCacheService'][_0x19d349(0x5b5)](_0x5881d8),_0xc18d52;}async[_0x270b48(0x46f)](){const _0x20568d=_0x270b48,_0x4d00c8=await super[_0x20568d(0x46f)]();return this[_0x20568d(0x4fc)]['docStateChange$'][_0x20568d(0x3fb)](_0x43beed[_0x20568d(0x57a)](this['dispose$']))[_0x20568d(0x40f)](_0x345c57=>{const _0x1d20b0=_0x20568d;if(_0x345c57==null)return;const {unitId:_0x194ec6,redoState:_0x3dd09b,commandId:_0x16985d}=_0x345c57;if(_0x194ec6!==this[_0x1d20b0(0x224)])return;const _0x4add68={'id':_0x16985d,'type':_0x10122e[_0x1d20b0(0x462)][_0x1d20b0(0x329)],'params':{'unitId':_0x194ec6,'actions':_0x3dd09b[_0x1d20b0(0x20a)],'textRanges':null}};this['_onLocalMutation'](_0x4add68);}),_0x4d00c8;}},_0x3ef0c0[_0x270b48(0x474)]=_0x3b7760([_0x9b120c(0x3,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x53a)])),_0x9b120c(0x4,_0x10122e[_0x270b48(0x5c7)](_0x3ef0c0[_0x270b48(0x2c7)])),_0x9b120c(0x5,_0x10122e[_0x270b48(0x5c7)](_0x434c76[_0x270b48(0x62b)])),_0x9b120c(0x6,_0x10122e[_0x270b48(0x5c7)](_0x10122e['LocaleService'])),_0x9b120c(0x7,_0x10122e[_0x270b48(0x5c7)](_0x434c76['RevisionService'])),_0x9b120c(0x8,_0x10122e[_0x270b48(0x5c7)](_0x427cca[_0x270b48(0x1fc)])),_0x9b120c(0x9,_0x10122e[_0x270b48(0x5c7)](_0x3d74d7)),_0x9b120c(0xa,_0x10122e[_0x270b48(0x5c7)](_0x79b668)),_0x9b120c(0xb,_0x10122e[_0x270b48(0x5c7)](_0x38bb72)),_0x9b120c(0xc,_0x10122e['Inject'](_0x3a2161)),_0x9b120c(0xd,_0x10122e[_0x270b48(0x4d7)]),_0x9b120c(0xe,_0x10122e[_0x270b48(0x1e0)]),_0x9b120c(0xf,_0x3421c5[_0x270b48(0x408)]),_0x9b120c(0x10,_0x10122e[_0x270b48(0x380)]),_0x9b120c(0x11,_0x10122e[_0x270b48(0x24d)](_0x483e19))],_0x3ef0c0[_0x270b48(0x474)]),_0x3ef0c0[_0x270b48(0x4a6)]=class extends _0x3ef0c0['CollaborationEntity']{constructor(_0x49b8fb,_0x3d6418,_0x326e82,_0x5c3758,_0x15c491,_0x19e34a,_0x40f872,_0xd0bfb6,_0x81fe1c,_0x555182,_0x499b75,_0x3cab06,_0x435355,_0x48e197){const _0x5f0dc9=_0x270b48;super(_0x49b8fb,_0x326e82,_0x3d6418,_0x5c3758,_0x15c491,_0x19e34a,_0x40f872,_0xd0bfb6,_0x555182,_0x499b75,_0x3cab06,_0x435355,_0x48e197),this[_0x5f0dc9(0x224)]=_0x49b8fb,this['type']=_0x3d6418,this[_0x5f0dc9(0x5ab)]=_0x81fe1c;}['_createHandler'](){const _0x5ae0e6=_0x270b48,_0x27ee60=super[_0x5ae0e6(0x542)]();return _0x27ee60[_0x5ae0e6(0x5b1)]=_0x43339b=>this[_0x5ae0e6(0x5ab)]['transformSelections'](_0x43339b),_0x27ee60;}async[_0x270b48(0x46f)](){const _0x1600e4=_0x270b48,_0xc6626d=await super['_init']();return this['disposeWithMe'](this[_0x1600e4(0x4ce)][_0x1600e4(0x32f)]((_0x3f51d4,_0x22b2f9)=>{const _0x424bac=_0x1600e4;if(_0x3f51d4[_0x424bac(0x21d)]!==_0x10122e[_0x424bac(0x462)][_0x424bac(0x329)]||_0x22b2f9!=null&&_0x22b2f9[_0x424bac(0x22f)]||_0x22b2f9!=null&&_0x22b2f9[_0x424bac(0x1df)])return;const _0x5818b1=_0x3f51d4[_0x424bac(0x4ef)];if((_0x5818b1==null?void 0x0:_0x5818b1['unitId'])!==this[_0x424bac(0x224)])return;const _0x5ee571=_0x3f51d4,_0x3e08ac=this[_0x424bac(0x651)][_0x424bac(0x5bd)][_0x424bac(0x66b)](this[_0x424bac(0x651)]['interceptor'][_0x424bac(0x39d)]()['COMPRESS_MUTATION_SEND'])([_0x5ee571],null)||[_0x5ee571];this[_0x424bac(0x680)](_0x3e08ac[0x0]);})),_0xc6626d;}},_0x3ef0c0['SheetCollaborationEntity']=_0x3b7760([_0x9b120c(0x3,_0x10122e[_0x270b48(0x5c7)](_0x10122e['Injector'])),_0x9b120c(0x4,_0x10122e[_0x270b48(0x5c7)](_0x3ef0c0[_0x270b48(0x2c7)])),_0x9b120c(0x5,_0x10122e[_0x270b48(0x5c7)](_0x434c76[_0x270b48(0x62b)])),_0x9b120c(0x6,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x42c)])),_0x9b120c(0x7,_0x10122e[_0x270b48(0x5c7)](_0x434c76[_0x270b48(0x5b0)])),_0x9b120c(0x8,_0x10122e['Inject'](_0x16b02c)),_0x9b120c(0x9,_0x10122e[_0x270b48(0x4d7)]),_0x9b120c(0xa,_0x10122e[_0x270b48(0x1e0)]),_0x9b120c(0xb,_0x3421c5[_0x270b48(0x408)]),_0x9b120c(0xc,_0x10122e[_0x270b48(0x380)]),_0x9b120c(0xd,_0x10122e[_0x270b48(0x24d)](_0x483e19))],_0x3ef0c0[_0x270b48(0x4a6)]);var _0x3ef77f=Object['defineProperty'],_0x1e96f5=Object[_0x270b48(0x255)],_0x76162f=(_0x2c0cf2,_0x49e06b,_0x5aeb05,_0x26ed5d)=>{const _0x2fdf14=_0x270b48;for(var _0x5f1b1d=_0x26ed5d>0x1?void 0x0:_0x26ed5d?_0x1e96f5(_0x49e06b,_0x5aeb05):_0x49e06b,_0xaba522=_0x2c0cf2[_0x2fdf14(0x2df)]-0x1,_0xf8633e;_0xaba522>=0x0;_0xaba522--)(_0xf8633e=_0x2c0cf2[_0xaba522])&&(_0x5f1b1d=(_0x26ed5d?_0xf8633e(_0x49e06b,_0x5aeb05,_0x5f1b1d):_0xf8633e(_0x5f1b1d))||_0x5f1b1d);return _0x26ed5d&&_0x5f1b1d&&_0x3ef77f(_0x49e06b,_0x5aeb05,_0x5f1b1d),_0x5f1b1d;},_0x4eb3fe=(_0x41f504,_0x40d55c)=>(_0x1c11a2,_0x519c13)=>_0x40d55c(_0x1c11a2,_0x519c13,_0x41f504);_0x3ef0c0[_0x270b48(0x4ad)]=class extends _0x10122e['RxDisposable']{constructor(_0x434449,_0x58b8c9,_0x5623b2){const _0x30e60e=_0x270b48;super(),_0x11da04(this,_0x30e60e(0x201),new Map()),_0x11da04(this,_0x30e60e(0x53e),new _0x43beed[(_0x30e60e(0x69a))]()),(this[_0x30e60e(0x358)]=_0x434449,this['_collabSessionService']=_0x58b8c9,this['_univerInstanceService']=_0x5623b2,this[_0x30e60e(0x46f)]());}[_0x270b48(0x67e)](){const _0x3815de=_0x270b48;super[_0x3815de(0x67e)](),this[_0x3815de(0x201)][_0x3815de(0x4bd)](_0x2acbcc=>_0x2acbcc[_0x3815de(0x67e)]()),this[_0x3815de(0x201)]['clear']();}[_0x270b48(0x5ac)](_0x5296f7){const _0x980ab5=_0x270b48;var _0x80eed9;return(_0x80eed9=this[_0x980ab5(0x201)][_0x980ab5(0x56f)](_0x5296f7))!=null?_0x80eed9:null;}[_0x270b48(0x435)](_0x34c8ad){const _0x503a40=_0x270b48,_0x1a4d35=this['getCollabEntity'](_0x34c8ad);return _0x1a4d35?_0x43beed['of'](_0x1a4d35):this[_0x503a40(0x53e)][_0x503a40(0x3fb)](_0x107fd5[_0x503a40(0x4d0)](_0x2be1a8=>_0x2be1a8[_0x503a40(0x224)]===_0x34c8ad));}[_0x270b48(0x46f)](){const _0x1267bf=_0x270b48;this[_0x1267bf(0x3d7)][_0x1267bf(0x3cc)](_0x10122e[_0x1267bf(0x348)][_0x1267bf(0x4e9)])[_0x1267bf(0x3fb)](_0x43beed[_0x1267bf(0x57a)](this[_0x1267bf(0x488)]),_0x107fd5[_0x1267bf(0x315)](0x10))[_0x1267bf(0x40f)](async _0x20bac0=>{const _0x42c5fb=_0x1267bf,_0x3f03cf=_0x20bac0['getUnitId'](),_0x5efb22=await this['_startCollaboration'](_0x3f03cf,_0x8439e8['UNIVER_SHEET']);this[_0x42c5fb(0x201)][_0x42c5fb(0x472)](_0x3f03cf,_0x5efb22);}),this[_0x1267bf(0x3d7)][_0x1267bf(0x3cc)](_0x10122e[_0x1267bf(0x348)][_0x1267bf(0x414)])[_0x1267bf(0x3fb)](_0x43beed[_0x1267bf(0x57a)](this[_0x1267bf(0x488)]),_0x107fd5[_0x1267bf(0x315)](0x10))[_0x1267bf(0x3fb)](_0x107fd5['filter'](_0x3555b1=>!_0x3555b1[_0x1267bf(0x337)]()[_0x1267bf(0x623)]('__')))[_0x1267bf(0x40f)](async _0xc51986=>{const _0x3bff47=_0x1267bf,_0x39a67a=_0xc51986[_0x3bff47(0x337)](),_0x48954c=await this[_0x3bff47(0x57b)](_0x39a67a,_0x8439e8['UNIVER_DOC']);this[_0x3bff47(0x201)][_0x3bff47(0x472)](_0x39a67a,_0x48954c);}),_0x43beed[_0x1267bf(0x1f9)](this[_0x1267bf(0x3d7)][_0x1267bf(0x1d5)](_0x10122e[_0x1267bf(0x348)][_0x1267bf(0x4e9)]),this['_univerInstanceService'][_0x1267bf(0x1d5)](_0x10122e[_0x1267bf(0x348)][_0x1267bf(0x414)]))['pipe'](_0x43beed[_0x1267bf(0x57a)](this[_0x1267bf(0x488)]))[_0x1267bf(0x40f)](_0x402ba6=>{const _0x76424a=_0x1267bf,_0x225e5e=_0x402ba6[_0x76424a(0x337)](),_0x587c8d=this[_0x76424a(0x201)][_0x76424a(0x56f)](_0x225e5e);_0x587c8d&&(_0x587c8d[_0x76424a(0x67e)](),this[_0x76424a(0x201)][_0x76424a(0x48d)](_0x225e5e));});}async[_0x270b48(0x57b)](_0x2a2d96,_0x3021b1){const _0x34e929=_0x270b48,_0x223066=await this[_0x34e929(0x50f)]['requireSession'](_0x2a2d96),_0x2159fa=this[_0x34e929(0x358)]['createInstance'](this['_getCtorByUniverType'](_0x3021b1),_0x2a2d96,_0x3021b1,_0x223066);return await _0x2159fa[_0x34e929(0x24f)](),this[_0x34e929(0x53e)][_0x34e929(0x299)](_0x2159fa),_0x2159fa;}[_0x270b48(0x3ae)](_0x502c2a){const _0x3496f7=_0x270b48;switch(_0x502c2a){case _0x8439e8[_0x3496f7(0x414)]:return _0x3ef0c0[_0x3496f7(0x474)];case _0x8439e8[_0x3496f7(0x4e9)]:return _0x3ef0c0[_0x3496f7(0x4a6)];default:throw new Error(_0x3496f7(0x49a)+_0x502c2a);}}},_0x3ef0c0[_0x270b48(0x4ad)]=_0x76162f([_0x4eb3fe(0x0,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x53a)])),_0x4eb3fe(0x1,_0x10122e['Inject'](_0x3ef0c0['CollaborationSessionService'])),_0x4eb3fe(0x2,_0x10122e['IUniverInstanceService'])],_0x3ef0c0[_0x270b48(0x4ad)]);const _0x30c811=['purple300',_0x270b48(0x50a),_0x270b48(0x27b),'red300','blue400','gold400'];class _0x3e7be0 extends _0x10122e[_0x270b48(0x5f7)]{constructor(){const _0x1c6ecb=_0x270b48;super(...arguments),_0x11da04(this,_0x1c6ecb(0x483),new Map()),_0x11da04(this,_0x1c6ecb(0x2b3),0x0);}['assignAColorForMemberID'](_0x51bc5f){const _0x543bde=_0x270b48;if(this['_assignedColors']['has'](_0x51bc5f))return this[_0x543bde(0x483)]['get'](_0x51bc5f);const _0x3f4b9a=_0x30c811[this[_0x543bde(0x2b3)]];return this[_0x543bde(0x2b3)]=(this[_0x543bde(0x2b3)]+0x1)%_0x30c811[_0x543bde(0x2df)],this[_0x543bde(0x483)][_0x543bde(0x472)](_0x51bc5f,_0x3f4b9a),_0x3f4b9a;}}var _0x4bd140=Object['defineProperty'],_0x1f01d8=Object[_0x270b48(0x255)],_0x1ea80d=(_0x27d0e6,_0x43803d,_0x5c8f8e,_0x933f77)=>{const _0x3d8318=_0x270b48;for(var _0x49c0ef=_0x933f77>0x1?void 0x0:_0x933f77?_0x1f01d8(_0x43803d,_0x5c8f8e):_0x43803d,_0x289323=_0x27d0e6[_0x3d8318(0x2df)]-0x1,_0x1c148c;_0x289323>=0x0;_0x289323--)(_0x1c148c=_0x27d0e6[_0x289323])&&(_0x49c0ef=(_0x933f77?_0x1c148c(_0x43803d,_0x5c8f8e,_0x49c0ef):_0x1c148c(_0x49c0ef))||_0x49c0ef);return _0x933f77&&_0x49c0ef&&_0x4bd140(_0x43803d,_0x5c8f8e,_0x49c0ef),_0x49c0ef;},_0x4657b0=(_0x3ce454,_0x3a6a12)=>(_0x442129,_0x17ed4c)=>_0x3a6a12(_0x442129,_0x17ed4c,_0x3ce454);const _0x400cb4=0x12c,_0x2a3908=0x64;let _0x41c72b=class extends _0x10122e[_0x270b48(0x332)]{constructor(_0x5eb203,_0x2070bc,_0x320cbb,_0x3674cc,_0x3fa9a2,_0x350c12,_0x3c534b,_0xa35521,_0x413338){const _0x43b19c=_0x270b48;super(),_0x11da04(this,_0x43b19c(0x5a8),!0x1),_0x11da04(this,'_init',!0x1),_0x11da04(this,'_cursorInfo$',new _0x43beed[(_0x43b19c(0x65c))](new Map())),_0x11da04(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_0x11da04(this,_0x43b19c(0x456),new _0x43beed[(_0x43b19c(0x65c))]([])),_0x11da04(this,_0x43b19c(0x369),this[_0x43b19c(0x456)][_0x43b19c(0x3fb)](_0x43beed[_0x43b19c(0x4ea)](_0x400cb4))),_0x11da04(this,'_updateLocalCursor',_0x10122e['debounce'](_0x468d76=>{const _0x38cd56=_0x43b19c,_0x2769a0={'eventID':_0x434c76['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x38cd56(0x39c)][_0x38cd56(0x50e)](),'selection':_0x46ba9a(_0x468d76)}};this[_0x38cd56(0x39c)][_0x38cd56(0x63d)](_0x2769a0,this['unitID']);},_0x2a3908)),(this['unitID']=_0x5eb203,this[_0x43b19c(0x39c)]=_0x2070bc,this[_0x43b19c(0x358)]=_0x320cbb,this[_0x43b19c(0x417)]=_0x3674cc,this[_0x43b19c(0x60b)]=_0x3fa9a2,this[_0x43b19c(0x503)]=_0x350c12,this[_0x43b19c(0x54b)]=_0x3c534b,this[_0x43b19c(0x3d7)]=_0xa35521,this['_commandService']=_0x413338);}get['cursorInfo'](){const _0x83c2a8=_0x270b48;return this[_0x83c2a8(0x2ee)][_0x83c2a8(0x579)]();}get[_0x270b48(0x2cc)](){const _0x246b1a=_0x270b48;return this[_0x246b1a(0x456)]['getValue']();}['dispose'](){const _0x218865=_0x270b48;super[_0x218865(0x67e)](),this['_cursorInfo$'][_0x218865(0x299)](new Map()),this[_0x218865(0x2ee)]['complete'](),this[_0x218865(0x456)][_0x218865(0x299)]([]),this[_0x218865(0x456)]['complete']();}[_0x270b48(0x24f)](){const _0x4a3bcc=_0x270b48;this['_init']||(this[_0x4a3bcc(0x46f)]=!0x0,this[_0x4a3bcc(0x39c)]['sessionStatus$'][_0x4a3bcc(0x3fb)](_0x43beed[_0x4a3bcc(0x57a)](this[_0x4a3bcc(0x488)]))[_0x4a3bcc(0x40f)](_0x404285=>{const _0x4942a6=_0x4a3bcc;_0x404285===_0x606225[_0x4942a6(0x29e)]?this[_0x4942a6(0x657)]():this[_0x4942a6(0x43d)]();}),this[_0x4a3bcc(0x39c)][_0x4a3bcc(0x334)][_0x4a3bcc(0x3fb)](_0x43beed['takeUntil'](this['dispose$']))[_0x4a3bcc(0x40f)](_0x22d637=>{const _0x18a317=_0x4a3bcc,_0xb47713=_0x22d637[_0x18a317(0x53d)];_0xb47713===_0x434c76[_0x18a317(0x4cc)][_0x18a317(0x658)]&&this['_onCursorUpdate'](_0x22d637),_0xb47713===_0x434c76[_0x18a317(0x4cc)][_0x18a317(0x30a)]&&this[_0x18a317(0x422)](_0x22d637);}),this[_0x4a3bcc(0x206)](this['_commandService'][_0x4a3bcc(0x32f)](_0x1a9af3=>{const _0x57ac45=_0x4a3bcc,_0x59219a=_0x1a9af3['params'];_0x59219a!=null&&this[_0x57ac45(0x5a8)]&&_0x1a9af3['id']===_0x48121f[_0x57ac45(0x4d8)]['id']&&_0x59219a[_0x57ac45(0x3d3)]===this['unitID']&&_0x59219a[_0x57ac45(0x586)]===!0x1&&_0x59219a['ranges'][_0x57ac45(0x2df)]>0x0&&this['_updateLocalCursor'](_0x59219a[_0x57ac45(0x1f6)]);})),this[_0x4a3bcc(0x503)]['collabCursorState$'][_0x4a3bcc(0x3fb)](_0x43beed[_0x4a3bcc(0x57a)](this['dispose$']))[_0x4a3bcc(0x40f)](_0x391c11=>{const _0x352abd=_0x4a3bcc;if((_0x391c11==null?void 0x0:_0x391c11[_0x352abd(0x224)])!==this[_0x352abd(0x224)])return;const _0x1073fc={'eventID':_0x434c76[_0x352abd(0x4cc)][_0x352abd(0x658)],'data':_0x391c11};this[_0x352abd(0x3be)](_0x1073fc);}),this[_0x4a3bcc(0x206)](this[_0x4a3bcc(0x4ce)][_0x4a3bcc(0x32f)](_0x55b8bd=>{const _0x543815=_0x4a3bcc;if(_0x55b8bd[_0x543815(0x4ef)]==null)return;const _0x23129c=_0x55b8bd[_0x543815(0x4ef)];if(_0x55b8bd['id']!==_0x48121f[_0x543815(0x56e)]['id']||_0x23129c[_0x543815(0x3d3)]!==this[_0x543815(0x224)])return;const _0x536975={'id':_0x543815(0x3b4),'params':_0x23129c},_0x4e2d0c=this[_0x543815(0x341)];for(const [_0x1425e5,_0x6292c4]of _0x4e2d0c){const _0x3548c8={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x6292c4[_0x543815(0x1f6)]}},_0x4b9cfd=this[_0x543815(0x54b)][_0x543815(0x476)](_0x536975,_0x3548c8,!0x1);if(_0x434c76[_0x543815(0x330)](_0x4b9cfd))throw _0x4b9cfd['error'];_0x4e2d0c[_0x543815(0x472)](_0x1425e5,{..._0x6292c4,'ranges':_0x4b9cfd[_0x543815(0x682)][_0x543815(0x4ef)]['textRanges']});}queueMicrotask(()=>{const _0x45649e=_0x543815;this[_0x45649e(0x2ee)][_0x45649e(0x299)](_0x4e2d0c);});})));}[_0x270b48(0x3be)](_0x33a397){const _0x24306a=_0x270b48;var _0x2da57d,_0xe371b4;const {memberID:_0x3a4518,selection:_0x386c12}=_0x33a397[_0x24306a(0x52b)],_0x2f2077=_0x334742(_0x386c12),_0x2ec5f8=(_0xe371b4=(_0x2da57d=this[_0x24306a(0x60b)]['getMember'](this[_0x24306a(0x224)],_0x3a4518))==null?void 0x0:_0x2da57d['name'])!=null?_0xe371b4:_0x24306a(0x30c),_0x3b18a1={'color':this[_0x24306a(0x417)][_0x24306a(0x208)](_0x3a4518),'name':_0x2ec5f8,'ranges':_0x2f2077},_0x12b070=this['cursorInfo'];_0x12b070[_0x24306a(0x472)](_0x3a4518,_0x3b18a1),this[_0x24306a(0x2ee)]['next'](_0x12b070);}[_0x270b48(0x422)](_0x5e967a){const _0x5ca931=_0x270b48,{memberID:_0x4f2093}=_0x5e967a[_0x5ca931(0x52b)],_0x188346=this[_0x5ca931(0x341)];_0x188346[_0x5ca931(0x48d)](_0x4f2093),this['_cursorInfo$'][_0x5ca931(0x299)](_0x188346);}[_0x270b48(0x657)](){const _0x34e2a7=_0x270b48;var _0x58a3cd;if(this[_0x34e2a7(0x5a8)]=!0x0,((_0x58a3cd=this[_0x34e2a7(0x3d7)][_0x34e2a7(0x446)]())==null?void 0x0:_0x58a3cd['getUnitId']())!==this[_0x34e2a7(0x224)])return;const _0x12e218=this[_0x34e2a7(0x358)][_0x34e2a7(0x56f)](_0x48121f[_0x34e2a7(0x693)])['getDocRanges']();Array[_0x34e2a7(0x3dc)](_0x12e218)&&_0x12e218[_0x34e2a7(0x2df)]>0x0&&this['_updateLocalCursor'](_0x12e218);}[_0x270b48(0x43d)](){const _0x23509f=_0x270b48;this[_0x23509f(0x5a8)]=!0x1;}};_0x41c72b=_0x1ea80d([_0x4657b0(0x2,_0x10122e[_0x270b48(0x5c7)](_0x10122e['Injector'])),_0x4657b0(0x3,_0x10122e['Inject'](_0x3e7be0)),_0x4657b0(0x4,_0x10122e[_0x270b48(0x5c7)](_0x3ef0c0['MemberService'])),_0x4657b0(0x5,_0x10122e[_0x270b48(0x5c7)](_0x3a2161)),_0x4657b0(0x6,_0x434c76['ITransformService']),_0x4657b0(0x7,_0x10122e[_0x270b48(0x204)]),_0x4657b0(0x8,_0x10122e[_0x270b48(0x1e0)])],_0x41c72b);var _0x564c73=Object[_0x270b48(0x29d)],_0x3b00d8=Object[_0x270b48(0x255)],_0x59c40b=(_0x689cef,_0x4bc585,_0x153d49,_0x299e28)=>{const _0xec9fb3=_0x270b48;for(var _0x49bb1a=_0x299e28>0x1?void 0x0:_0x299e28?_0x3b00d8(_0x4bc585,_0x153d49):_0x4bc585,_0x45d289=_0x689cef[_0xec9fb3(0x2df)]-0x1,_0x2e84e0;_0x45d289>=0x0;_0x45d289--)(_0x2e84e0=_0x689cef[_0x45d289])&&(_0x49bb1a=(_0x299e28?_0x2e84e0(_0x4bc585,_0x153d49,_0x49bb1a):_0x2e84e0(_0x49bb1a))||_0x49bb1a);return _0x299e28&&_0x49bb1a&&_0x564c73(_0x4bc585,_0x153d49,_0x49bb1a),_0x49bb1a;},_0x39e771=(_0x38d262,_0x49ddfe)=>(_0x564499,_0xec8df0)=>_0x49ddfe(_0x564499,_0xec8df0,_0x38d262);const _0x5cb1f7=0x12c,_0x5a3308=0x64,_0x3796fe=()=>{let _0x1cc837=[],_0x5d1a28=!0x1;return _0x3a116b=>{const _0x414c85=_0x5645;_0x1cc837[_0x414c85(0x28f)](_0x3a116b),_0x5d1a28||(_0x5d1a28=!0x0,setTimeout(()=>{_0x1cc837['forEach'](_0x44cf34=>_0x44cf34()),_0x1cc837=[],_0x5d1a28=!0x1;}));};};let _0x4be124=class extends _0x10122e[_0x270b48(0x332)]{constructor(_0x529c6f,_0x5ebc59,_0x20c053,_0x27a89f,_0x88452b,_0x442b90,_0x597ae2,_0x2f20f5){const _0xbeafdc=_0x270b48;super(),_0x11da04(this,_0xbeafdc(0x5a8),!0x1),_0x11da04(this,'_init',!0x1),_0x11da04(this,'_cursorInfo$',new _0x43beed['BehaviorSubject'](new Map())),_0x11da04(this,'cursorInfo$',this['_cursorInfo$'][_0xbeafdc(0x644)]()),_0x11da04(this,_0xbeafdc(0x456),new _0x43beed[(_0xbeafdc(0x65c))]([])),_0x11da04(this,'roomMembers$',this[_0xbeafdc(0x456)][_0xbeafdc(0x3fb)](_0x43beed['debounceTime'](_0x5cb1f7))),_0x11da04(this,_0xbeafdc(0x5f8),_0x10122e[_0xbeafdc(0x5ce)]((_0x5b1022,_0x1963bd)=>{const _0x4d75b8=_0xbeafdc,_0x4c8e38={'eventID':_0x434c76[_0x4d75b8(0x4cc)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x4d75b8(0x224)],'memberID':this[_0x4d75b8(0x39c)][_0x4d75b8(0x50e)](),'selection':_0x7655c5[_0x4d75b8(0x2f4)](_0x5b1022,_0x1963bd[_0x4d75b8(0x32a)])}};this[_0x4d75b8(0x39c)][_0x4d75b8(0x63d)](_0x4c8e38,this[_0x4d75b8(0x224)]);},_0x5a3308)),(this[_0xbeafdc(0x224)]=_0x529c6f,this['_session']=_0x5ebc59,this[_0xbeafdc(0x358)]=_0x20c053,this['_colorAssignService']=_0x27a89f,this[_0xbeafdc(0x60b)]=_0x88452b,this[_0xbeafdc(0x3d7)]=_0x442b90,this['_commandService']=_0x597ae2,this[_0xbeafdc(0x683)]=_0x2f20f5);}get['cursorInfo'](){const _0x1cc1a3=_0x270b48;return this[_0x1cc1a3(0x2ee)][_0x1cc1a3(0x579)]();}get['roomMembers'](){const _0x41938f=_0x270b48;return this['_roomMembers$'][_0x41938f(0x579)]();}['dispose'](){const _0x5b155a=_0x270b48;super['dispose'](),this[_0x5b155a(0x2ee)][_0x5b155a(0x299)](new Map()),this['_cursorInfo$']['complete'](),this[_0x5b155a(0x456)]['next']([]),this[_0x5b155a(0x456)][_0x5b155a(0x479)]();}[_0x270b48(0x24f)](){const _0x28f8ba=_0x270b48;this[_0x28f8ba(0x46f)]||(this[_0x28f8ba(0x46f)]=!0x0,this[_0x28f8ba(0x39c)][_0x28f8ba(0x342)][_0x28f8ba(0x3fb)](_0x43beed[_0x28f8ba(0x57a)](this[_0x28f8ba(0x488)]))['subscribe'](_0x10b8df=>{const _0x4cab9b=_0x28f8ba;_0x10b8df===_0x606225[_0x4cab9b(0x29e)]?this[_0x4cab9b(0x657)]():this[_0x4cab9b(0x43d)]();}),this[_0x28f8ba(0x39c)]['event$'][_0x28f8ba(0x3fb)](_0x43beed[_0x28f8ba(0x57a)](this[_0x28f8ba(0x488)]))['subscribe'](_0x573685=>{const _0x1bdf51=_0x28f8ba,_0x3efd85=_0x573685[_0x1bdf51(0x53d)];_0x3efd85===_0x434c76[_0x1bdf51(0x4cc)][_0x1bdf51(0x658)]&&this[_0x1bdf51(0x3be)](_0x573685),_0x3efd85===_0x434c76['CollaborationEvent'][_0x1bdf51(0x30a)]&&this['_onCursorDelete'](_0x573685);}),this[_0x28f8ba(0x545)](),this['disposeWithMe'](this[_0x28f8ba(0x4ce)]['onCommandExecuted'](_0x5d81e1=>{const _0x2b534a=_0x28f8ba;if(this[_0x2b534a(0x5a8)]&&_0x5d81e1['id']===_0x43d50e[_0x2b534a(0x50d)]['id']&&_0x5d81e1[_0x2b534a(0x4ef)][_0x2b534a(0x3d3)]===this[_0x2b534a(0x224)]){const _0xd3c597=_0x5d81e1[_0x2b534a(0x4ef)];this[_0x2b534a(0x5f8)](_0xd3c597[_0x2b534a(0x570)],_0xd3c597['selections'][0x0]);}})));}[_0x270b48(0x3be)](_0x47b045){const _0x15640c=_0x270b48;var _0x20a45b,_0x2493d0;const {memberID:_0x2e2f26,selection:_0x150570}=_0x47b045['data'],{sheetName:_0x3fe5b7,range:_0xb28e4e}=_0x7655c5['deserializeRangeWithSheet'](_0x150570),_0x59643a={'name':(_0x2493d0=(_0x20a45b=this['_memberService'][_0x15640c(0x539)](this[_0x15640c(0x224)],_0x2e2f26))==null?void 0x0:_0x20a45b[_0x15640c(0x27e)])!=null?_0x2493d0:_0x15640c(0x30c),'range':this['_getMergeRange'](_0x3fe5b7,_0xb28e4e),'sheetID':_0x3fe5b7,'color':this[_0x15640c(0x417)][_0x15640c(0x208)](_0x2e2f26),'selection':_0x150570},_0x478e59=this[_0x15640c(0x341)];_0x478e59[_0x15640c(0x472)](_0x2e2f26,_0x59643a),this[_0x15640c(0x2ee)][_0x15640c(0x299)](_0x478e59);}[_0x270b48(0x422)](_0x48ec48){const _0x4f7f89=_0x270b48,{memberID:_0x25ec27}=_0x48ec48[_0x4f7f89(0x52b)],_0x29f19d=this[_0x4f7f89(0x341)];_0x29f19d['delete'](_0x25ec27),this['_cursorInfo$'][_0x4f7f89(0x299)](_0x29f19d);}[_0x270b48(0x52d)](_0x1c8620,_0x2f18bf){const _0x3b3b15=_0x270b48;var _0xb82caa,_0x563fdd;const _0x11edcf=(_0x563fdd=(_0xb82caa=this[_0x3b3b15(0x3d7)]['getUniverSheetInstance'](this[_0x3b3b15(0x224)]))==null?void 0x0:_0xb82caa[_0x3b3b15(0x5e7)](_0x1c8620))==null?void 0x0:_0x563fdd[_0x3b3b15(0x5d0)]();return(_0x11edcf==null?void 0x0:_0x11edcf[_0x3b3b15(0x335)](_0x4e3406=>_0x10122e[_0x3b3b15(0x465)][_0x3b3b15(0x5c1)](_0x4e3406,_0x2f18bf)))||_0x2f18bf;}['_onRefRangeChange'](){const _0x4d2738=_0x270b48,_0x3dbc72=new _0x10122e['DisposableCollection'](),_0x112f55=_0x3796fe(),_0x5822e6=()=>{const _0xa8f23e=_0x5645;_0x3dbc72[_0xa8f23e(0x67e)]();const _0x580982=(_0x5c4856,_0x2a48d1,_0x22efd1,_0x38884f)=>{const _0x3060f1=_0xa8f23e;let _0x45350c=[];switch(_0x5c4856['id']){case _0x43d50e[_0x3060f1(0x382)][_0x3060f1(0x3ac)]:{_0x45350c=_0x43d50e['handleDeleteRangeMoveLeft'](_0x5c4856,_0x38884f);break;}case _0x43d50e['EffectRefRangId'][_0x3060f1(0x63f)]:{_0x45350c=_0x43d50e['handleDeleteRangeMoveUp'](_0x5c4856,_0x38884f);break;}case _0x43d50e[_0x3060f1(0x382)][_0x3060f1(0x5fd)]:{_0x45350c=_0x43d50e[_0x3060f1(0x648)](_0x5c4856,_0x38884f);break;}case _0x43d50e['EffectRefRangId'][_0x3060f1(0x5f0)]:{_0x45350c=_0x43d50e['handleInsertRangeMoveDown'](_0x5c4856,_0x38884f);break;}case _0x43d50e['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x45350c=_0x43d50e['handleInsertRangeMoveRight'](_0x5c4856,_0x38884f);break;}case _0x43d50e[_0x3060f1(0x382)][_0x3060f1(0x628)]:{_0x45350c=_0x43d50e['handleInsertRow'](_0x5c4856,_0x38884f);break;}case _0x43d50e[_0x3060f1(0x382)][_0x3060f1(0x512)]:{_0x45350c=_0x43d50e[_0x3060f1(0x33f)](_0x5c4856,_0x38884f);break;}case _0x43d50e['EffectRefRangId']['RemoveColCommandId']:{_0x45350c=_0x43d50e[_0x3060f1(0x603)](_0x5c4856,_0x38884f);break;}case _0x43d50e['EffectRefRangId'][_0x3060f1(0x646)]:{_0x45350c=_0x43d50e[_0x3060f1(0x65d)](_0x5c4856,_0x38884f);break;}}const _0x433f9b=_0x43d50e['runRefRangeMutations'](_0x45350c,_0x38884f),_0x2a3a6e=this[_0x3060f1(0x341)][_0x3060f1(0x56f)](_0x2a48d1);if(_0x2a3a6e&&_0x433f9b){const _0x39e0fe={..._0x2a3a6e,'range':_0x433f9b};this[_0x3060f1(0x341)][_0x3060f1(0x472)](_0x2a48d1,_0x39e0fe),_0x112f55(()=>{const _0x2c5331=_0x3060f1,_0x47cdb4=this[_0x2c5331(0x683)][_0x2c5331(0x4e0)](_0x433f9b,_0x45a3b6=>(_0x47cdb4[_0x2c5331(0x67e)](),_0x580982(_0x45a3b6,_0x2a48d1,_0x22efd1,_0x433f9b)));_0x3dbc72[_0x2c5331(0x607)](_0x47cdb4);});}return{'redos':[],'undos':[]};};this[_0xa8f23e(0x341)]['forEach']((_0x1cf89b,_0x759788)=>{const _0x1450d9=_0xa8f23e,{range:_0x299365,sheetID:_0x3b40f1}=_0x1cf89b,_0x51c3c3=this[_0x1450d9(0x683)][_0x1450d9(0x4e0)](_0x299365,_0x5b2d3a=>(_0x51c3c3[_0x1450d9(0x67e)](),_0x580982(_0x5b2d3a,_0x759788,_0x3b40f1,_0x299365)));_0x3dbc72[_0x1450d9(0x607)](_0x51c3c3);});};this[_0x4d2738(0x206)](_0x10122e[_0x4d2738(0x305)](this['_cursorInfo$'][_0x4d2738(0x40f)](()=>{_0x5822e6();})));}[_0x270b48(0x657)](){const _0x2ee9c5=_0x270b48;var _0x5a75db,_0x2a13e6;if(this[_0x2ee9c5(0x5a8)]=!0x0,((_0x5a75db=this[_0x2ee9c5(0x3d7)][_0x2ee9c5(0x446)]())==null?void 0x0:_0x5a75db['getUnitId']())!==this[_0x2ee9c5(0x224)])return;const _0x33a4b8=(_0x2a13e6=this[_0x2ee9c5(0x358)]['get'](_0x43d50e[_0x2ee9c5(0x524)])[_0x2ee9c5(0x2fc)]())==null?void 0x0:_0x2a13e6[0x0],_0x4d03c6=this[_0x2ee9c5(0x3d7)][_0x2ee9c5(0x229)](_0x10122e[_0x2ee9c5(0x348)]['UNIVER_SHEET'])['getActiveSheet']();_0x33a4b8&&_0x4d03c6&&this[_0x2ee9c5(0x5f8)](_0x4d03c6[_0x2ee9c5(0x3c7)](),_0x33a4b8);}[_0x270b48(0x43d)](){this['_online']=!0x1;}};_0x4be124=_0x59c40b([_0x39e771(0x2,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x53a)])),_0x39e771(0x3,_0x10122e[_0x270b48(0x5c7)](_0x3e7be0)),_0x39e771(0x4,_0x10122e[_0x270b48(0x5c7)](_0x3ef0c0[_0x270b48(0x610)])),_0x39e771(0x5,_0x10122e[_0x270b48(0x204)]),_0x39e771(0x6,_0x10122e['ICommandService']),_0x39e771(0x7,_0x10122e[_0x270b48(0x5c7)](_0x43d50e[_0x270b48(0x3a8)]))],_0x4be124);var _0x49ccab=Object[_0x270b48(0x29d)],_0x34fd20=Object['getOwnPropertyDescriptor'],_0x21567b=(_0x45ea8c,_0x2dfa76,_0x1d4a17,_0x4d328d)=>{const _0x479f50=_0x270b48;for(var _0x13d84d=_0x4d328d>0x1?void 0x0:_0x4d328d?_0x34fd20(_0x2dfa76,_0x1d4a17):_0x2dfa76,_0x39a0ad=_0x45ea8c[_0x479f50(0x2df)]-0x1,_0x293d60;_0x39a0ad>=0x0;_0x39a0ad--)(_0x293d60=_0x45ea8c[_0x39a0ad])&&(_0x13d84d=(_0x4d328d?_0x293d60(_0x2dfa76,_0x1d4a17,_0x13d84d):_0x293d60(_0x13d84d))||_0x13d84d);return _0x4d328d&&_0x13d84d&&_0x49ccab(_0x2dfa76,_0x1d4a17,_0x13d84d),_0x13d84d;},_0x32dd75=(_0x22d0e1,_0x23cfcf)=>(_0x281e0b,_0x8e3e14)=>_0x23cfcf(_0x281e0b,_0x8e3e14,_0x22d0e1);let _0x4c9228=class extends _0x10122e[_0x270b48(0x332)]{constructor(_0x486140,_0x4c83e2,_0x444506){const _0x5db012=_0x270b48;super(),_0x11da04(this,_0x5db012(0x201),new Map()),_0x11da04(this,_0x5db012(0x53e),new _0x43beed[(_0x5db012(0x69a))]()),(this[_0x5db012(0x3d7)]=_0x486140,this[_0x5db012(0x358)]=_0x4c83e2,this[_0x5db012(0x50f)]=_0x444506,this[_0x5db012(0x46f)]());}[_0x270b48(0x67e)](){const _0x302e9a=_0x270b48;super[_0x302e9a(0x67e)](),this[_0x302e9a(0x53e)][_0x302e9a(0x479)](),this['_entities'][_0x302e9a(0x4bd)](_0x44428d=>_0x44428d['dispose']());}[_0x270b48(0x405)](_0x3c2993){const _0x370485=_0x270b48;return this[_0x370485(0x201)]['has'](_0x3c2993)?this[_0x370485(0x201)][_0x370485(0x56f)](_0x3c2993)[_0x370485(0x4fe)]:this[_0x370485(0x53e)][_0x370485(0x3fb)](_0x43beed['filter'](_0x5dcdae=>_0x5dcdae[_0x370485(0x224)]===_0x3c2993),_0x43beed[_0x370485(0x2f7)](_0x50c24d=>_0x50c24d[_0x370485(0x4fe)]));}[_0x270b48(0x46f)](){const _0x1e73ff=_0x270b48;this[_0x1e73ff(0x3d7)][_0x1e73ff(0x3cc)](_0x10122e[_0x1e73ff(0x348)][_0x1e73ff(0x4e9)])[_0x1e73ff(0x3fb)](_0x43beed['takeUntil'](this[_0x1e73ff(0x488)]))['subscribe'](async _0x4d5096=>{const _0x4ad372=_0x1e73ff,_0x48904b=_0x4d5096['getUnitId'](),_0x5310a9=await this['_startSheetCollabCursor'](_0x48904b);this[_0x4ad372(0x53e)]['next'](_0x5310a9),this[_0x4ad372(0x201)][_0x4ad372(0x472)](_0x48904b,_0x5310a9);}),this[_0x1e73ff(0x3d7)]['getTypeOfUnitAdded$'](_0x10122e[_0x1e73ff(0x348)][_0x1e73ff(0x414)])[_0x1e73ff(0x3fb)](_0x43beed[_0x1e73ff(0x57a)](this[_0x1e73ff(0x488)]))[_0x1e73ff(0x3fb)](_0x43beed[_0x1e73ff(0x4d0)](_0x10c322=>!_0x10c322[_0x1e73ff(0x337)]()[_0x1e73ff(0x623)]('__')))['subscribe'](async _0x3f0704=>{const _0x14bf6b=_0x1e73ff,_0x213234=_0x3f0704[_0x14bf6b(0x337)](),_0x1b3103=await this['_startDocCollabCursor'](_0x213234);this[_0x14bf6b(0x53e)][_0x14bf6b(0x299)](_0x1b3103),this[_0x14bf6b(0x201)][_0x14bf6b(0x472)](_0x213234,_0x1b3103);}),_0x43beed[_0x1e73ff(0x1f9)](this[_0x1e73ff(0x3d7)][_0x1e73ff(0x1d5)](_0x10122e['UniverInstanceType'][_0x1e73ff(0x414)]),this[_0x1e73ff(0x3d7)][_0x1e73ff(0x1d5)](_0x10122e[_0x1e73ff(0x348)]['UNIVER_SHEET']))[_0x1e73ff(0x3fb)](_0x43beed[_0x1e73ff(0x57a)](this[_0x1e73ff(0x488)]))[_0x1e73ff(0x40f)](_0x16c2b1=>{const _0x151621=_0x1e73ff,_0x5af7e=_0x16c2b1[_0x151621(0x337)](),_0x7a19fe=this['_entities'][_0x151621(0x56f)](_0x5af7e);_0x7a19fe&&(_0x7a19fe['dispose'](),this['_entities'][_0x151621(0x48d)](_0x5af7e));});}async[_0x270b48(0x4d3)](_0x3541de){const _0x1879f0=_0x270b48,_0x320c9b=await this[_0x1879f0(0x50f)][_0x1879f0(0x38a)](_0x3541de),_0x10135b=this[_0x1879f0(0x358)][_0x1879f0(0x624)](_0x4be124,_0x3541de,_0x320c9b);return _0x10135b['init'](),_0x10135b;}async[_0x270b48(0x41d)](_0x510090){const _0x7904e1=_0x270b48,_0x4b1db2=await this['_collabSessionService'][_0x7904e1(0x38a)](_0x510090),_0xf8d8c1=this[_0x7904e1(0x358)][_0x7904e1(0x624)](_0x41c72b,_0x510090,_0x4b1db2);return _0xf8d8c1[_0x7904e1(0x24f)](),_0xf8d8c1;}};_0x4c9228=_0x21567b([_0x32dd75(0x0,_0x10122e['IUniverInstanceService']),_0x32dd75(0x1,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x53a)])),_0x32dd75(0x2,_0x10122e[_0x270b48(0x5c7)](_0x3ef0c0[_0x270b48(0x5ae)]))],_0x4c9228);const _0x5005e7=0x14,_0x22b1c6=0xc8,_0x48331a=0x4,_0xf6ac91=0x5;function _0x59d148(_0x13bb31,_0x200b78){const _0x403d46=_0x270b48;let {radius:_0xec8247,width:_0x3b34fa,height:_0x10c5c6}=_0x200b78;_0xec8247=_0xec8247!=null?_0xec8247:0x0,_0x3b34fa=_0x3b34fa!=null?_0x3b34fa:0x1e,_0x10c5c6=_0x10c5c6!=null?_0x10c5c6:0x1e;let _0x11478c=0x0,_0x11c761=0x0,_0x240754=0x0;_0x11478c=_0x11c761=_0x240754=Math[_0x403d46(0x55e)](_0xec8247,_0x3b34fa/0x2,_0x10c5c6/0x2),_0x13bb31['beginPath'](),_0x13bb31[_0x403d46(0x519)](_0x11478c,0x0),_0x13bb31[_0x403d46(0x2ef)](_0x3b34fa-_0x11c761,0x0),_0x13bb31[_0x403d46(0x349)](_0x3b34fa-_0x11c761,_0x11c761,_0x11c761,Math['PI']*0x3/0x2,0x0,!0x1),_0x13bb31[_0x403d46(0x2ef)](_0x3b34fa,_0x10c5c6-_0x240754),_0x13bb31[_0x403d46(0x349)](_0x3b34fa-_0x240754,_0x10c5c6-_0x240754,_0x240754,0x0,Math['PI']/0x2,!0x1),_0x13bb31['lineTo'](0x0,_0x10c5c6),_0x13bb31[_0x403d46(0x2ef)](0x0,_0x11478c),_0x13bb31[_0x403d46(0x349)](_0x11478c,_0x11478c,_0x11478c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x13bb31[_0x403d46(0x45f)](),_0x200b78[_0x403d46(0x498)]&&(_0x13bb31[_0x403d46(0x379)](),_0x13bb31[_0x403d46(0x481)]=_0x200b78['fill'],_0x200b78[_0x403d46(0x65f)]==='evenodd'?_0x13bb31[_0x403d46(0x498)](_0x403d46(0x242)):_0x13bb31[_0x403d46(0x498)](),_0x13bb31[_0x403d46(0x577)]());}class _0x255523 extends _0x3d8481[_0x270b48(0x608)]{constructor(_0x569a77,_0x404bab){const _0x38eaa0=_0x270b48;super(_0x569a77,_0x404bab),_0x11da04(this,_0x38eaa0(0x39a)),_0x11da04(this,'text'),(this[_0x38eaa0(0x39a)]=_0x404bab==null?void 0x0:_0x404bab['color'],this[_0x38eaa0(0x2c9)]=_0x404bab==null?void 0x0:_0x404bab[_0x38eaa0(0x2c9)]);}static[_0x270b48(0x3ce)](_0x16d60d,_0x2fadcd){const _0x5b6631=_0x270b48,{text:_0x141e3b,color:_0xcb2301}=_0x2fadcd;_0x16d60d['save'](),_0x16d60d[_0x5b6631(0x3fe)]=_0x5b6631(0x692);const _0x14fe44=_0x16d60d[_0x5b6631(0x23b)](_0x141e3b)[_0x5b6631(0x23f)],_0x40d127=Math['min'](_0x14fe44+0x2*_0x48331a,_0x22b1c6);_0x59d148(_0x16d60d,{'height':_0x5005e7,'radius':0x4,'width':_0x40d127,'fill':_0xcb2301,'evented':!0x1}),_0x16d60d['fillStyle']=_0x5b6631(0x317);const _0x2ef742=_0x48331a,_0x1289e3=_0x5005e7-_0xf6ac91,_0x2e8c91=_0x22b1c6-0x2*_0x48331a;if(_0x14fe44>_0x2e8c91){let _0x4f0074='',_0x58d649=0x0;for(const _0x16def8 of _0x141e3b){const _0x13bd7b=_0x16d60d[_0x5b6631(0x23b)](_0x16def8)[_0x5b6631(0x23f)];if(_0x58d649+_0x13bd7b<=_0x2e8c91-_0x16d60d[_0x5b6631(0x23b)](_0x5b6631(0x672))['width'])_0x4f0074+=_0x16def8,_0x58d649+=_0x13bd7b;else{_0x4f0074+=_0x5b6631(0x672);break;}}_0x16d60d[_0x5b6631(0x2cf)](_0x4f0074,_0x2ef742,_0x1289e3);}else _0x16d60d[_0x5b6631(0x2cf)](_0x141e3b,_0x2ef742,_0x1289e3);_0x16d60d['restore']();}[_0x270b48(0x5a6)](_0x2652c4){const _0x44d911=_0x270b48;_0x255523[_0x44d911(0x3ce)](_0x2652c4,this);}}const _0xb3b486='collab-text-anchor-',_0x143ce3=_0x270b48(0x3e7),_0x1c076f=_0x270b48(0x3c2),_0x3cebee=0x6,_0x25d78f=1.5,_0x2c4d40=0x4,_0x1b8e79=1.5,_0x3844e1='rgba(255,\x20255,\x20255,\x200.01)';class _0x16dce4{constructor(_0x26b317,_0x26e3d5,_0x396645,_0x1b4e54){const _0x122d89=_0x270b48;_0x11da04(this,_0x122d89(0x3f5),[]),_0x11da04(this,_0x122d89(0x33d),null),_0x11da04(this,'_textBubble',null),_0x11da04(this,_0x122d89(0x306),null),_0x11da04(this,_0x122d89(0x5b3),null),_0x11da04(this,_0x122d89(0x513),null),(this[_0x122d89(0x2f1)]=_0x26b317,this['_scene']=_0x26e3d5,this[_0x122d89(0x2c2)]=_0x396645,this[_0x122d89(0x2b0)]=_0x1b4e54,this[_0x122d89(0x433)]());}set[_0x270b48(0x511)](_0xf42ea8){const _0x1d968e=_0x270b48;_0xf42ea8?(this[_0x1d968e(0x306)]&&this[_0x1d968e(0x306)][_0x1d968e(0x4f5)](),this[_0x1d968e(0x675)]&&this['_textBubble'][_0x1d968e(0x36c)]()):(this['_anchorDot']&&this['_anchorDot']['show'](),this[_0x1d968e(0x675)]&&this[_0x1d968e(0x675)][_0x1d968e(0x4f5)]());}[_0x270b48(0x67e)](){const _0x378f39=_0x270b48;for(const _0x3d2819 of this['_shapes'])_0x3d2819[_0x378f39(0x67e)]();this[_0x378f39(0x675)]&&this[_0x378f39(0x675)][_0x378f39(0x67e)](),this[_0x378f39(0x306)]&&this[_0x378f39(0x306)]['dispose'](),this[_0x378f39(0x33d)]&&this[_0x378f39(0x33d)][_0x378f39(0x67e)](),this[_0x378f39(0x513)]&&this[_0x378f39(0x513)]();}[_0x270b48(0x433)](){const _0x4fc1d1=_0x270b48;var _0x1cbde8;const {_docSkeleton:_0x1a24e2,_document:_0x40ef7b}=this,{color:_0x2537d0,name:_0x14ef84,ranges:_0x1ab3bc}=this['_cursor'],_0xf16ef8=_0x40ef7b[_0x4fc1d1(0x5cd)](),{docsLeft:_0x5b66b9,docsTop:_0x42e71b}=_0xf16ef8,_0x58e8c3=new _0x427cca[(_0x4fc1d1(0x2b6))](_0xf16ef8,_0x1a24e2);for(const {startOffset:_0x5cc9a9,endOffset:_0x12ca71,rangeType:_0x2bd9f7,segmentId:_0x4bc47c,segmentPage:_0x3d3cb4,collapsed:_0x1acdcc,isActive:_0x277d27}of _0x1ab3bc){const _0x48242d=_0x1a24e2[_0x4fc1d1(0x210)](_0x5cc9a9,!0x0,_0x4bc47c,_0x3d3cb4);let _0x3da016=_0x1a24e2[_0x4fc1d1(0x210)](_0x12ca71,!0x0,_0x4bc47c,_0x3d3cb4);if(_0x3da016==null&&(_0x3da016=_0x1a24e2[_0x4fc1d1(0x210)](_0x12ca71-0x1,!0x1,_0x4bc47c,_0x3d3cb4)),_0x277d27){const {contentBoxPointGroup:_0x51d399}=_0x58e8c3[_0x4fc1d1(0x48a)](_0x3da016,_0x3da016);if(_0x51d399[_0x4fc1d1(0x2df)]===0x0)continue;this['_drawAnchor'](_0x2537d0,_0x51d399,_0x5b66b9,_0x42e71b,_0x14ef84),this[_0x4fc1d1(0x513)]=this[_0x4fc1d1(0x59c)]();}if(!_0x1acdcc&&_0x48242d&&_0x3da016){if(_0x2bd9f7===_0x10122e[_0x4fc1d1(0x266)][_0x4fc1d1(0x202)]){const _0x340206=new _0x427cca[(_0x4fc1d1(0x1ff))](_0xf16ef8,_0x1a24e2),{pointGroup:_0x3af850}=(_0x1cbde8=_0x340206[_0x4fc1d1(0x48a)](_0x48242d,_0x3da016))!=null?_0x1cbde8:{};if(_0x3af850==null||_0x3af850[_0x4fc1d1(0x2df)]===0x0)continue;this[_0x4fc1d1(0x455)](_0x2537d0,_0x3af850,_0x5b66b9,_0x42e71b);}else{const {borderBoxPointGroup:_0x36d8d4}=_0x58e8c3[_0x4fc1d1(0x48a)](_0x48242d,_0x3da016);if(_0x36d8d4['length']===0x0)continue;this[_0x4fc1d1(0x66d)](_0x2537d0,_0x36d8d4,_0x5b66b9,_0x42e71b);}}}}[_0x270b48(0x311)](_0x573534,_0x380a6d,_0x67003e,_0x987959,_0x3fe4db){const _0x4c0516=_0x270b48,_0x4060a5=this[_0x4c0516(0x1fb)](_0x380a6d),{left:_0x3e9440,top:_0x3b9af5,height:_0x4ab9fb}=_0x4060a5,_0x4562e4=this['_getScale'](),_0x8a1ed5=_0x1b8e79/_0x4562e4,_0x4cae29=new _0x3d8481['Rect'](_0xb3b486+_0x10122e[_0x4c0516(0x3bf)][_0x4c0516(0x419)](_0x3cebee),{'left':_0x3e9440+_0x67003e-_0x8a1ed5,'top':_0x3b9af5+_0x987959,'height':_0x4ab9fb,'width':_0x25d78f,'fill':_0x573534||_0x3d8481[_0x4c0516(0x397)](_0x10122e[_0x4c0516(0x58b)][_0x4c0516(0x4ae)],0x0),'strokeWidth':_0x8a1ed5,'stroke':_0x3844e1,'evented':!0x0});this[_0x4c0516(0x33d)]=_0x4cae29,this['_scene']['addObject'](_0x4cae29,_0x427cca['TEXT_RANGE_LAYER_INDEX']);const _0x5d6176=new _0x3d8481['Rect'](_0xb3b486+_0x10122e[_0x4c0516(0x3bf)][_0x4c0516(0x419)](_0x3cebee),{'left':_0x3e9440+_0x67003e-_0x8a1ed5,'top':_0x3b9af5+_0x987959-_0x2c4d40/0x2,'height':_0x2c4d40,'width':_0x2c4d40,'fill':_0x573534||_0x3d8481[_0x4c0516(0x397)](_0x10122e[_0x4c0516(0x58b)][_0x4c0516(0x4ae)],0x0),'strokeWidth':0x0,'stroke':_0x573534||_0x3d8481['getColor'](_0x10122e[_0x4c0516(0x58b)][_0x4c0516(0x4ae)],0x0),'evented':!0x1});this[_0x4c0516(0x306)]=_0x5d6176,this[_0x4c0516(0x4fa)][_0x4c0516(0x449)](_0x5d6176,_0x427cca['TEXT_RANGE_LAYER_INDEX']);const _0x17c972=new _0x255523(_0xb3b486+_0x10122e[_0x4c0516(0x3bf)][_0x4c0516(0x419)](_0x3cebee),{'left':_0x3e9440+_0x67003e-_0x8a1ed5,'top':_0x3b9af5+_0x987959-_0x5005e7,'text':_0x3fe4db,'color':_0x573534});this['_textBubble']=_0x17c972,this[_0x4c0516(0x4fa)][_0x4c0516(0x449)](_0x17c972,_0x427cca['TEXT_RANGE_LAYER_INDEX']),this[_0x4c0516(0x511)]=!0x1;}[_0x270b48(0x59c)](){const _0x421092=_0x270b48,_0x1057e5=this[_0x421092(0x33d)][_0x421092(0x46c)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x47aafd=this[_0x421092(0x33d)][_0x421092(0x597)][_0x421092(0x3a1)](()=>{const _0x2c8747=_0x421092;this[_0x2c8747(0x5b3)]&&clearTimeout(this[_0x2c8747(0x5b3)]),this[_0x2c8747(0x5b3)]=setTimeout(()=>{const _0x52546f=_0x2c8747;this[_0x52546f(0x511)]=!0x1;},0x7d0);});return()=>{const _0x162f8a=_0x421092;_0x1057e5[_0x162f8a(0x4d1)](),_0x47aafd[_0x162f8a(0x4d1)]();};}[_0x270b48(0x66d)](_0x1354d0,_0x1a82db,_0x246770,_0x188015){const _0x388fad=_0x270b48,_0x1e7c7e=new _0x10122e[(_0x388fad(0x58e))](_0x1354d0)[_0x388fad(0x2c4)](0.2)['toRgbString'](),_0x16b7bb=new _0x3d8481['RegularPolygon'](_0x143ce3+_0x10122e[_0x388fad(0x3bf)][_0x388fad(0x419)](_0x3cebee),{'pointsGroup':_0x1a82db,'fill':_0x1e7c7e||_0x3d8481[_0x388fad(0x397)](_0x10122e[_0x388fad(0x58b)][_0x388fad(0x4ae)],0.2),'left':_0x246770,'top':_0x188015,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x388fad(0x28f)](_0x16b7bb),this['_scene'][_0x388fad(0x449)](_0x16b7bb,_0x427cca[_0x388fad(0x44e)]);}['_drawRectRange'](_0x28d610,_0x544e90,_0x12e936,_0x5f00c9){const _0x21fe50=_0x270b48,_0x150efe=new _0x10122e[(_0x21fe50(0x58e))](_0x28d610)['setAlpha'](0.2)[_0x21fe50(0x39b)](),_0xd28414=new _0x3d8481['RegularPolygon'](_0x1c076f+_0x10122e[_0x21fe50(0x3bf)][_0x21fe50(0x419)](_0x3cebee),{'pointsGroup':_0x544e90,'fill':_0x150efe||_0x3d8481[_0x21fe50(0x397)](_0x10122e['COLORS'][_0x21fe50(0x4ae)],0.2),'left':_0x12e936,'top':_0x5f00c9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x21fe50(0x3f5)]['push'](_0xd28414),this[_0x21fe50(0x4fa)][_0x21fe50(0x449)](_0xd28414,_0x427cca[_0x21fe50(0x44e)]);}['_getAnchorBounding'](_0xb3e063){const _0x7c50d=_0xb3e063[0x0],_0x2873de=_0x7c50d[0x0],_0xe624c0=_0x7c50d[0x2],{x:_0x3a214e,y:_0x57e301}=_0x2873de,{x:_0x22b0fa,y:_0x227516}=_0xe624c0;return{'left':_0x3a214e,'top':_0x57e301,'width':_0x22b0fa-_0x3a214e,'height':_0x227516-_0x57e301};}[_0x270b48(0x4c9)](){const _0xfdf554=_0x270b48,{scaleX:_0x5b67e1,scaleY:_0x32d403}=this[_0xfdf554(0x4fa)][_0xfdf554(0x35b)]();return Math['max'](_0x5b67e1,_0x32d403);}}var _0x8297b8=Object['defineProperty'],_0x23c891=Object['getOwnPropertyDescriptor'],_0x204330=(_0x1e1f74,_0x31e404,_0x4167dc,_0x3f22dd)=>{const _0x12ee0f=_0x270b48;for(var _0x350db0=_0x3f22dd>0x1?void 0x0:_0x3f22dd?_0x23c891(_0x31e404,_0x4167dc):_0x31e404,_0x4a0143=_0x1e1f74[_0x12ee0f(0x2df)]-0x1,_0x54d8a6;_0x4a0143>=0x0;_0x4a0143--)(_0x54d8a6=_0x1e1f74[_0x4a0143])&&(_0x350db0=(_0x3f22dd?_0x54d8a6(_0x31e404,_0x4167dc,_0x350db0):_0x54d8a6(_0x350db0))||_0x350db0);return _0x3f22dd&&_0x350db0&&_0x8297b8(_0x31e404,_0x4167dc,_0x350db0),_0x350db0;},_0x98baea=(_0x4c1fc6,_0x14a3c6)=>(_0x53ff5c,_0x3252e9)=>_0x14a3c6(_0x53ff5c,_0x3252e9,_0x4c1fc6);let _0x33ba76=class extends _0x10122e[_0x270b48(0x332)]{constructor(_0x5a9e73,_0x1c0de3,_0x1e86d9,_0x2f9938,_0x8c2fb9){const _0x2cf36c=_0x270b48;super(),_0x11da04(this,_0x2cf36c(0x1d3),[]),_0x11da04(this,_0x2cf36c(0x5fe),[]),(this['_context']=_0x5a9e73,this[_0x2cf36c(0x2e6)]=_0x1c0de3,this['_collabCursorController']=_0x1e86d9,this['_commandService']=_0x2f9938,this[_0x2cf36c(0x495)]=_0x8c2fb9,this[_0x2cf36c(0x46f)]());}[_0x270b48(0x46f)](){const _0x5e2864=_0x270b48,_0x2c091f=this['_context'][_0x5e2864(0x3d3)],_0x407542=this[_0x5e2864(0x2e6)];this[_0x5e2864(0x206)](_0x43beed[_0x5e2864(0x5ff)]([this[_0x5e2864(0x364)][_0x5e2864(0x405)](_0x2c091f),this['_themeService'][_0x5e2864(0x310)]])[_0x5e2864(0x3fb)](_0x107fd5[_0x5e2864(0x60f)](([_0xebdf9c,_0x4d4016])=>({'skeleton':_0x407542[_0x5e2864(0x5eb)](),'cursors':[..._0xebdf9c['values']()]['flatMap'](_0x32f20a=>({..._0x32f20a,'color':_0x4d4016[_0x32f20a[_0x5e2864(0x39a)]]}))})))[_0x5e2864(0x40f)](_0x364efd=>{const _0x35da42=_0x5e2864;if(this[_0x35da42(0x274)](),_0x364efd){const {skeleton:_0x9dc948,cursors:_0x40ced8}=_0x364efd;this['_updateCollabCursors'](_0x9dc948,_0x40ced8);}})),this['_initResize'](),this[_0x5e2864(0x50b)]();}[_0x270b48(0x31e)](_0x3cd915,_0x34441e){const _0x1214ff=_0x270b48,{scene:_0x2e0774,mainComponent:_0x2634aa}=this[_0x1214ff(0x22e)],_0xe24c60=_0x34441e[_0x1214ff(0x60f)](_0x3a2792=>new _0x16dce4(_0x3a2792,_0x2e0774,_0x3cd915,_0x2634aa));this[_0x1214ff(0x1d3)]=_0xe24c60,this[_0x1214ff(0x5fe)]=_0x34441e;}[_0x270b48(0x5b7)](){const _0x3fc0c3=_0x270b48;this[_0x3fc0c3(0x274)]();const {scene:_0x1798dc,mainComponent:_0x68462a}=this['_context'],_0x5392b8=this[_0x3fc0c3(0x2e6)][_0x3fc0c3(0x5eb)](),_0x31c71c=this['_cursors'][_0x3fc0c3(0x60f)](_0x305737=>new _0x16dce4(_0x305737,_0x1798dc,_0x5392b8,_0x68462a));this[_0x3fc0c3(0x1d3)]=_0x31c71c;}[_0x270b48(0x274)](){const _0x4cdf1d=_0x270b48;this[_0x4cdf1d(0x1d3)][_0x4cdf1d(0x4bd)](_0x57fe1f=>_0x57fe1f[_0x4cdf1d(0x67e)]()),this['_cursorShapes']=[];}[_0x270b48(0x50b)](){const _0x28c435=_0x270b48,_0x2dc7b7=[_0x427cca[_0x28c435(0x47e)]['id']];this[_0x28c435(0x206)](this[_0x28c435(0x4ce)][_0x28c435(0x32f)](_0x5cb254=>{const _0x374de8=_0x28c435;_0x2dc7b7[_0x374de8(0x68d)](_0x5cb254['id'])&&_0x5cb254[_0x374de8(0x4ef)][_0x374de8(0x3d3)]===this['_context']['unitId']&&this[_0x374de8(0x5b7)]();}));}['_initResize'](){const _0x267e90=_0x270b48;this[_0x267e90(0x206)](_0x10122e['fromEventSubject'](this[_0x267e90(0x22e)][_0x267e90(0x35a)][_0x267e90(0x429)])[_0x267e90(0x3fb)](_0x107fd5['filter'](_0x4829fb=>_0x4829fb[_0x267e90(0x21d)]===_0x3d8481[_0x267e90(0x2c5)][_0x267e90(0x604)]),_0x107fd5[_0x267e90(0x5ee)](0x10))['subscribe'](()=>{const _0x56ec0f=_0x267e90;this[_0x56ec0f(0x5b7)]();}));}};_0x33ba76=_0x204330([_0x98baea(0x1,_0x10122e[_0x270b48(0x5c7)](_0x48121f[_0x270b48(0x5ef)])),_0x98baea(0x2,_0x10122e[_0x270b48(0x5c7)](_0x4c9228)),_0x98baea(0x3,_0x10122e[_0x270b48(0x1e0)]),_0x98baea(0x4,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x2d8)]))],_0x33ba76);const _0x5e2ea9=0x1,_0x5cb35b=1.5;class _0x4108d3 extends _0x3d8481[_0x270b48(0x608)]{constructor(_0x5c6e02,_0x489ced){const _0x30e47f=_0x270b48;super(_0x5c6e02,_0x489ced),_0x11da04(this,'_color'),_0x11da04(this,_0x30e47f(0x473),!0x1),_0x11da04(this,_0x30e47f(0x20e)),_0x11da04(this,'_name',''),_0x11da04(this,'_labelPosition',_0x30e47f(0x5af)),_0x11da04(this,_0x30e47f(0x5cb)),(_0x489ced&&this[_0x30e47f(0x2e8)](_0x489ced),this['onPointerEnter$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x30e47f(0x597)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x5a299e){const _0x4fde4e=_0x270b48;var _0x458868,_0xd228f8,_0x41c698,_0xb07e28,_0x3c953a,_0x529b49;this[_0x4fde4e(0x546)]=(_0x458868=_0x5a299e['color'])!=null?_0x458868:this[_0x4fde4e(0x546)],this['_hovered']=(_0xd228f8=_0x5a299e[_0x4fde4e(0x1ed)])!=null?_0xd228f8:this[_0x4fde4e(0x473)],this[_0x4fde4e(0x20e)]=(_0x41c698=_0x5a299e[_0x4fde4e(0x32a)])!=null?_0x41c698:this[_0x4fde4e(0x20e)],this['_name']=(_0xb07e28=_0x5a299e[_0x4fde4e(0x27e)])!=null?_0xb07e28:this[_0x4fde4e(0x4e7)],this[_0x4fde4e(0x531)]=(_0x3c953a=_0x5a299e[_0x4fde4e(0x57d)])!=null?_0x3c953a:this[_0x4fde4e(0x531)],this[_0x4fde4e(0x5cb)]=(_0x529b49=_0x5a299e[_0x4fde4e(0x5a4)])!=null?_0x529b49:this[_0x4fde4e(0x5cb)],this[_0x4fde4e(0x65e)]({'width':_0x5a299e[_0x4fde4e(0x23f)],'height':_0x5a299e[_0x4fde4e(0x541)]});}[_0x270b48(0x418)](_0x510cb2){const _0x4b0f1f=_0x270b48,{row:_0x3c1827,column:_0xf552a1}=_0x510cb2;if(_0x3c1827>=this['_range'][_0x4b0f1f(0x3ca)]&&_0x3c1827<=this[_0x4b0f1f(0x20e)]['endRow']&&_0xf552a1>=this[_0x4b0f1f(0x20e)][_0x4b0f1f(0x57c)]&&_0xf552a1<=this[_0x4b0f1f(0x20e)][_0x4b0f1f(0x4d9)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x4b0f1f(0x2e8)]({'hovered':!0x1});}[_0x270b48(0x3b9)](_0x351a36){return!0x1;}['_draw'](_0x1cb46a){const _0x5df3cb=_0x270b48;_0x3d8481['Rect'][_0x5df3cb(0x3ce)](_0x1cb46a,{'width':this[_0x5df3cb(0x23f)],'height':this['height'],'strokeWidth':_0x5cb35b,'stroke':this[_0x5df3cb(0x546)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x5df3cb(0x473)]&&(_0x1cb46a[_0x5df3cb(0x379)](),_0x1cb46a[_0x5df3cb(0x667)](0x1,0x0,0x0,0x1,this[_0x5df3cb(0x23f)],this['_labelPosition']===_0x5df3cb(0x392)?0x0:-_0x5005e7),_0x255523[_0x5df3cb(0x3ce)](_0x1cb46a,{'text':this[_0x5df3cb(0x4e7)],'color':this[_0x5df3cb(0x546)]}),_0x1cb46a[_0x5df3cb(0x577)]());}}var _0x1fee37=Object[_0x270b48(0x29d)],_0x46fee5=Object[_0x270b48(0x255)],_0x5883b7=(_0x2b52ba,_0x118edb,_0x60a697,_0x5a4321)=>{const _0x27e138=_0x270b48;for(var _0x20be25=_0x5a4321>0x1?void 0x0:_0x5a4321?_0x46fee5(_0x118edb,_0x60a697):_0x118edb,_0x114979=_0x2b52ba[_0x27e138(0x2df)]-0x1,_0x4a7d1e;_0x114979>=0x0;_0x114979--)(_0x4a7d1e=_0x2b52ba[_0x114979])&&(_0x20be25=(_0x5a4321?_0x4a7d1e(_0x118edb,_0x60a697,_0x20be25):_0x4a7d1e(_0x20be25))||_0x20be25);return _0x5a4321&&_0x20be25&&_0x1fee37(_0x118edb,_0x60a697,_0x20be25),_0x20be25;},_0x46d9aa=(_0x15130f,_0x171da6)=>(_0x52baee,_0x593d01)=>_0x171da6(_0x52baee,_0x593d01,_0x15130f);const _0x174806=0x1389;let _0xe5a2cc=class extends _0x10122e[_0x270b48(0x332)]{constructor(_0x4fe614,_0x45c519,_0x2b7f01,_0x1016e8){const _0x2afc96=_0x270b48;super(),_0x11da04(this,_0x2afc96(0x5fe),new Set()),_0x11da04(this,_0x2afc96(0x37d),null),(this[_0x2afc96(0x22e)]=_0x4fe614,this['_sheetSkeletonManagerService']=_0x45c519,this['_collabCursorController']=_0x2b7f01,this[_0x2afc96(0x495)]=_0x1016e8,this[_0x2afc96(0x46f)]());}['_init'](){const _0x33c79a=_0x270b48;this[_0x33c79a(0x344)][_0x33c79a(0x5dc)][_0x33c79a(0x3fb)](_0x107fd5[_0x33c79a(0x57a)](this['dispose$']),_0x107fd5[_0x33c79a(0x2f7)](_0x109e64=>{const _0x576b96=_0x33c79a;if(_0x109e64){const _0x330212=_0x109e64[_0x576b96(0x602)];return _0x43beed[_0x576b96(0x5ff)](this[_0x576b96(0x364)][_0x576b96(0x405)](this[_0x576b96(0x22e)]['unitId']),this[_0x576b96(0x495)][_0x576b96(0x310)])[_0x576b96(0x3fb)](_0x107fd5['map'](([_0x3c8ebb,_0x5da2c7])=>{const _0x124a5f=_0x576b96,_0x523430=new Map();return _0x3c8ebb[_0x124a5f(0x4bd)]((_0x176247,_0x5d896e)=>{const _0x3ca5ea=_0x124a5f;if(_0x176247[_0x3ca5ea(0x557)]===_0x330212){const _0x1ef9ec={..._0x176247};_0x1ef9ec[_0x3ca5ea(0x39a)]=_0x5da2c7[_0x176247['color']],_0x523430[_0x3ca5ea(0x472)](_0x5d896e,_0x1ef9ec);}}),{'skeleton':_0x109e64,'cursors':_0x523430};}));}return _0x43beed['of']({'skeleton':null,'cursors':new Map()});}))[_0x33c79a(0x40f)](({skeleton:_0x17c989,cursors:_0x33f975})=>{const _0x4929c3=_0x33c79a;this[_0x4929c3(0x274)](),_0x17c989&&this[_0x4929c3(0x31e)](_0x17c989,_0x33f975);}),this[_0x33c79a(0x344)][_0x33c79a(0x5dc)][_0x33c79a(0x40f)](_0x408720=>{const _0x5305cb=_0x33c79a;if(_0x408720==null)return;const {skeleton:_0x310ed7}=_0x408720,{scene:_0x219e42}=this[_0x5305cb(0x22e)];_0x219e42[_0x5305cb(0x609)][_0x5305cb(0x3a1)](_0x10122e[_0x5305cb(0x5ce)](_0x6e293e=>{const _0x567c3=_0x5305cb;var _0x690407,_0x2c7440;const {offsetX:_0x766cb3,offsetY:_0x4f279b}=_0x6e293e,{x:_0x283538,y:_0x42bcd5}=_0x219e42[_0x567c3(0x664)](_0x3d8481[_0x567c3(0x68e)][_0x567c3(0x49e)]([_0x766cb3,_0x4f279b])),{scaleX:_0x955778,scaleY:_0x2e9a06}=_0x219e42[_0x567c3(0x35b)](),_0x24ca9b=_0x219e42[_0x567c3(0x29a)](_0x4a1dc3[_0x567c3(0x22c)][_0x567c3(0x252)]),_0x29cb3a=_0x219e42['getVpScrollXYInfoByPosToVp'](_0x3d8481['Vector2'][_0x567c3(0x49e)]([_0x283538,_0x42bcd5]),_0x24ca9b),_0x4c4134=_0x310ed7['getCellPositionByOffset'](_0x766cb3,_0x4f279b,_0x955778,_0x2e9a06,_0x29cb3a);((_0x690407=this['_lastPointer'])==null?void 0x0:_0x690407[_0x567c3(0x3f7)])===_0x4c4134[_0x567c3(0x3f7)]&&((_0x2c7440=this[_0x567c3(0x37d)])==null?void 0x0:_0x2c7440[_0x567c3(0x209)])===_0x4c4134[_0x567c3(0x209)]||this['_cursors'][_0x567c3(0x4bd)](_0x41edd0=>{const _0x39b4fa=_0x567c3;_0x41edd0[_0x39b4fa(0x418)](_0x4c4134);});},0x64));});}[_0x270b48(0x31e)](_0x1e039e,_0x72ab12){const _0x13a8d9=_0x270b48;var _0x3e229e;const _0x4bb0af=(_0x3e229e=this[_0x13a8d9(0x344)]['getCurrent']())==null?void 0x0:_0x3e229e[_0x13a8d9(0x3ef)];if(!_0x4bb0af)return;const _0xbe2308=this[_0x13a8d9(0x67a)]();if(!_0xbe2308)return;this[_0x13a8d9(0x5fe)][_0x13a8d9(0x4bd)](_0x5c06f5=>{const _0x50ab7c=_0x13a8d9;_0x5c06f5[_0x50ab7c(0x662)]();});const {scene:_0x233d76}=_0xbe2308,_0x4fe096=_0x141726(Array[_0x13a8d9(0x3b2)](_0x72ab12[_0x13a8d9(0x40e)]()))[_0x13a8d9(0x60f)](_0x5ed52d=>{const _0x59b79e=_0x13a8d9,{color:_0x5cb4e7,range:_0x50caa8,name:_0x26377f,selection:_0xeaadf8,sheetID:_0x1a6006}=_0x5ed52d,{startColumn:_0x4665e4,startRow:_0x47035a,endColumn:_0x11a6d4,endRow:_0xa1e275}=_0x50caa8,_0x54da3f=_0x4a1dc3[_0x59b79e(0x261)](_0x47035a,_0x4665e4,_0x233d76,_0x4bb0af),_0x19d4a5=_0x4a1dc3[_0x59b79e(0x261)](_0xa1e275,_0x11a6d4,_0x233d76,_0x4bb0af),{columnHeaderHeightAndMarginTop:_0x2edc62}=_0x4bb0af,{startX:_0x50d393,startY:_0x1a30bf}=_0x54da3f,{endX:_0x4b118a,endY:_0x29b362}=_0x19d4a5,_0x1bf6eb=_0x4b118a-_0x50d393,_0x5c82d5=_0x29b362-_0x1a30bf,_0x27363c={'labelPosition':_0x1a30bf-_0x2edc62>=_0x5005e7?_0x59b79e(0x5af):_0x59b79e(0x392),'sheetID':_0x1a6006,'range':_0x50caa8,'color':_0x5cb4e7,'name':_0x26377f,'selection':_0xeaadf8,'left':_0x50d393,'top':_0x1a30bf,'width':_0x1bf6eb,'height':_0x5c82d5,'evented':!0x1,'zIndex':_0x174806};return new _0x4108d3(_0x26377f,_0x27363c);});_0x233d76[_0x13a8d9(0x207)](_0x4fe096,_0x5e2ea9),this[_0x13a8d9(0x5fe)]=new Set(_0x4fe096);}[_0x270b48(0x274)](){const _0x52134c=_0x270b48;var _0x5673cb;(_0x5673cb=this['_cursors'])==null||_0x5673cb['forEach'](_0x1a6270=>_0x1a6270[_0x52134c(0x67e)]());}[_0x270b48(0x67a)](){const _0x442b23=_0x270b48;return _0x4a1dc3[_0x442b23(0x407)](this['_context'][_0x442b23(0x5bf)],this[_0x442b23(0x22e)]);}};_0xe5a2cc=_0x5883b7([_0x46d9aa(0x1,_0x10122e[_0x270b48(0x5c7)](_0x4a1dc3[_0x270b48(0x37e)])),_0x46d9aa(0x2,_0x10122e[_0x270b48(0x5c7)](_0x4c9228)),_0x46d9aa(0x3,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x2d8)]))],_0xe5a2cc);function _0x141726(_0x46a92f){const _0x5885dc=_0x270b48,_0x134b76=new Map();return _0x46a92f['forEach'](_0x3d5c98=>{const _0x117bdd=_0x5645;if(_0x134b76[_0x117bdd(0x5aa)](_0x3d5c98[_0x117bdd(0x292)])){const _0xa1cc90=_0x134b76[_0x117bdd(0x56f)](_0x3d5c98[_0x117bdd(0x292)]);_0xa1cc90[_0x117bdd(0x27e)]+=',\x20'+_0x3d5c98[_0x117bdd(0x27e)];}else _0x134b76[_0x117bdd(0x472)](_0x3d5c98[_0x117bdd(0x292)],_0x3d5c98);}),Array[_0x5885dc(0x3b2)](_0x134b76['values']());}var _0x7a6336=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x58c50a(_0xed2124){const _0x54ac45=_0x270b48;return _0xed2124&&_0xed2124[_0x54ac45(0x3e2)]&&Object[_0x54ac45(0x27c)]['hasOwnProperty']['call'](_0xed2124,_0x54ac45(0x3e1))?_0xed2124[_0x54ac45(0x3e1)]:_0xed2124;}var _0xb0ba09={'exports':{}},_0x186328={},_0x3ea822=_0x32ddec,_0x444ec1=Symbol[_0x270b48(0x5b6)](_0x270b48(0x260)),_0x12dd40=Symbol[_0x270b48(0x5b6)](_0x270b48(0x5c5)),_0x5389d0=Object['prototype'][_0x270b48(0x33a)],_0x29fe0a=_0x3ea822[_0x270b48(0x59a)]['ReactCurrentOwner'],_0xbd230e={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x26c447(_0x2f409a,_0x3f84ec,_0x42dff1){const _0x3ce369=_0x270b48;var _0x183115,_0x204ad1={},_0x356364=null,_0x126cb2=null;_0x42dff1!==void 0x0&&(_0x356364=''+_0x42dff1),_0x3f84ec[_0x3ce369(0x20c)]!==void 0x0&&(_0x356364=''+_0x3f84ec[_0x3ce369(0x20c)]),_0x3f84ec[_0x3ce369(0x550)]!==void 0x0&&(_0x126cb2=_0x3f84ec[_0x3ce369(0x550)]);for(_0x183115 in _0x3f84ec)_0x5389d0[_0x3ce369(0x27f)](_0x3f84ec,_0x183115)&&!_0xbd230e[_0x3ce369(0x33a)](_0x183115)&&(_0x204ad1[_0x183115]=_0x3f84ec[_0x183115]);if(_0x2f409a&&_0x2f409a[_0x3ce369(0x3fa)]){for(_0x183115 in(_0x3f84ec=_0x2f409a[_0x3ce369(0x3fa)],_0x3f84ec))_0x204ad1[_0x183115]===void 0x0&&(_0x204ad1[_0x183115]=_0x3f84ec[_0x183115]);}return{'$$typeof':_0x444ec1,'type':_0x2f409a,'key':_0x356364,'ref':_0x126cb2,'props':_0x204ad1,'_owner':_0x29fe0a['current']};}_0x186328['Fragment']=_0x12dd40,_0x186328[_0x270b48(0x345)]=_0x26c447,_0x186328[_0x270b48(0x69b)]=_0x26c447,_0xb0ba09['exports']=_0x186328;var _0x2515c5=_0xb0ba09[_0x270b48(0x3ab)],_0x1a0265=function(){const _0x57cc21=_0x270b48;return _0x1a0265=Object[_0x57cc21(0x4f2)]||function(_0x27b012){const _0x2f87da=_0x57cc21;for(var _0x4195c0,_0x36ab5e=0x1,_0x136b96=arguments[_0x2f87da(0x2df)];_0x36ab5e<_0x136b96;_0x36ab5e++){_0x4195c0=arguments[_0x36ab5e];for(var _0x5a84f2 in _0x4195c0)Object[_0x2f87da(0x27c)][_0x2f87da(0x33a)][_0x2f87da(0x27f)](_0x4195c0,_0x5a84f2)&&(_0x27b012[_0x5a84f2]=_0x4195c0[_0x5a84f2]);}return _0x27b012;},_0x1a0265['apply'](this,arguments);},_0x563b7b=function(_0x31b85c,_0x3046d0){const _0x290106=_0x270b48;var _0x4251dd={};for(var _0x1cbdae in _0x31b85c)Object[_0x290106(0x27c)][_0x290106(0x33a)][_0x290106(0x27f)](_0x31b85c,_0x1cbdae)&&_0x3046d0[_0x290106(0x316)](_0x1cbdae)<0x0&&(_0x4251dd[_0x1cbdae]=_0x31b85c[_0x1cbdae]);if(_0x31b85c!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x297da8=0x0,_0x1cbdae=Object[_0x290106(0x2e4)](_0x31b85c);_0x297da8<_0x1cbdae[_0x290106(0x2df)];_0x297da8++)_0x3046d0['indexOf'](_0x1cbdae[_0x297da8])<0x0&&Object[_0x290106(0x27c)][_0x290106(0x2a9)][_0x290106(0x27f)](_0x31b85c,_0x1cbdae[_0x297da8])&&(_0x4251dd[_0x1cbdae[_0x297da8]]=_0x31b85c[_0x1cbdae[_0x297da8]]);}return _0x4251dd;},_0x5d4b40=_0x32ddec[_0x270b48(0x2eb)](function(_0x72f013,_0x4caa59){const _0x5cdeb0=_0x270b48;var _0x58b553=_0x72f013['icon'],_0xa86765=_0x72f013['id'],_0x400ef8=_0x72f013[_0x5cdeb0(0x459)],_0x2f3f3c=_0x72f013['extend'],_0x46e320=_0x563b7b(_0x72f013,['icon','id',_0x5cdeb0(0x459),'extend']),_0x330d99=_0x5cdeb0(0x51a)[_0x5cdeb0(0x32d)](_0xa86765,'\x20')[_0x5cdeb0(0x32d)](_0x400ef8||'')[_0x5cdeb0(0x3aa)](),_0x52cffa=_0x32ddec['useRef']('_'[_0x5cdeb0(0x32d)](_0x5b9fd8()));return _0x2095f0(_0x58b553,''[_0x5cdeb0(0x32d)](_0xa86765),{'defIds':_0x58b553[_0x5cdeb0(0x52c)],'idSuffix':_0x52cffa[_0x5cdeb0(0x2db)]},_0x1a0265({'ref':_0x4caa59,'className':_0x330d99},_0x46e320),_0x2f3f3c);});function _0x2095f0(_0x5e2ce2,_0x3a796a,_0x451544,_0x3dd468,_0x36b265){const _0x1f7ccf=_0x270b48;return _0x32ddec[_0x1f7ccf(0x3a5)](_0x5e2ce2[_0x1f7ccf(0x2b8)],_0x1a0265(_0x1a0265({'key':_0x3a796a},_0x50fad5(_0x5e2ce2,_0x451544,_0x36b265)),_0x3dd468),(_0x47e9bc(_0x5e2ce2,_0x451544)[_0x1f7ccf(0x352)]||[])[_0x1f7ccf(0x60f)](function(_0x209a15,_0x47c23f){const _0x7e14dc=_0x1f7ccf;return _0x2095f0(_0x209a15,''[_0x7e14dc(0x32d)](_0x3a796a,'-')[_0x7e14dc(0x32d)](_0x5e2ce2[_0x7e14dc(0x2b8)],'-')[_0x7e14dc(0x32d)](_0x47c23f),_0x451544,void 0x0,_0x36b265);}));}function _0x50fad5(_0x12abca,_0x416cc2,_0x2646a6){const _0x56d29c=_0x270b48;var _0x453061=_0x1a0265({},_0x12abca[_0x56d29c(0x219)]);_0x2646a6!=null&&_0x2646a6['colorChannel1']&&_0x453061[_0x56d29c(0x498)]===_0x56d29c(0x1e5)&&(_0x453061[_0x56d29c(0x498)]=_0x2646a6['colorChannel1']);var _0x6a97de=_0x416cc2[_0x56d29c(0x52c)];return!_0x6a97de||_0x6a97de[_0x56d29c(0x2df)]===0x0||(_0x12abca[_0x56d29c(0x2b8)]==='use'&&_0x453061[_0x56d29c(0x304)]&&(_0x453061[_0x56d29c(0x304)]=_0x453061[_0x56d29c(0x304)]+_0x416cc2[_0x56d29c(0x3a7)]),Object[_0x56d29c(0x2dc)](_0x453061)[_0x56d29c(0x4bd)](function(_0x2a73c6){const _0x454e03=_0x56d29c;var _0x1a4752=_0x2a73c6[0x0],_0x18cd5a=_0x2a73c6[0x1];typeof _0x18cd5a==_0x454e03(0x451)&&(_0x453061[_0x1a4752]=_0x18cd5a[_0x454e03(0x627)](/url\(#(.*)\)/,_0x454e03(0x2b5)[_0x454e03(0x32d)](_0x416cc2[_0x454e03(0x3a7)],')')));})),_0x453061;}function _0x47e9bc(_0x1ed46a,_0x70523){const _0x145b5e=_0x270b48;var _0x38ad02,_0x4bd360=_0x70523[_0x145b5e(0x52c)];return!_0x4bd360||_0x4bd360[_0x145b5e(0x2df)]===0x0?_0x1ed46a:_0x1ed46a[_0x145b5e(0x2b8)]===_0x145b5e(0x300)&&(!((_0x38ad02=_0x1ed46a[_0x145b5e(0x352)])===null||_0x38ad02===void 0x0)&&_0x38ad02[_0x145b5e(0x2df)])?_0x1a0265(_0x1a0265({},_0x1ed46a),{'children':_0x1ed46a[_0x145b5e(0x352)]['map'](function(_0x306a6d){const _0x293898=_0x145b5e;return typeof _0x306a6d[_0x293898(0x219)]['id']==_0x293898(0x451)&&_0x4bd360&&_0x4bd360[_0x293898(0x316)](_0x306a6d['attrs']['id'])>-0x1?_0x1a0265(_0x1a0265({},_0x306a6d),{'attrs':_0x1a0265(_0x1a0265({},_0x306a6d[_0x293898(0x219)]),{'id':_0x306a6d[_0x293898(0x219)]['id']+_0x70523['idSuffix']})}):_0x306a6d;})}):_0x1ed46a;}function _0x5b9fd8(){const _0x1c1686=_0x270b48;return Math[_0x1c1686(0x641)]()['toString'](0x24)[_0x1c1686(0x376)](0x2,0x8);}_0x5d4b40[_0x270b48(0x53b)]='UniverIcon';var _0x2c8d98={'tag':_0x270b48(0x54d),'attrs':{'fill':_0x270b48(0x600),'viewBox':_0x270b48(0x661),'width':'1em','height':_0x270b48(0x565)},'children':[{'tag':'g','attrs':{'clipPath':_0x270b48(0x68b)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x270b48(0x666),'strokeLinecap':_0x270b48(0x5c2),'strokeLinejoin':_0x270b48(0x5c2),'strokeWidth':1.2}}]},{'tag':_0x270b48(0x300),'attrs':{},'children':[{'tag':_0x270b48(0x437),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x270b48(0x440),'attrs':{'fill':_0x270b48(0x606),'d':_0x270b48(0x246)}}]}]}],'defIds':[_0x270b48(0x2ba)]},_0x2f5bde=_0x32ddec[_0x270b48(0x2eb)](function(_0x2f3c7e,_0x332271){const _0x4a2d1e=_0x270b48;return _0x32ddec[_0x4a2d1e(0x3a5)](_0x5d4b40,Object[_0x4a2d1e(0x4f2)]({},_0x2f3c7e,{'id':_0x4a2d1e(0x529),'ref':_0x332271,'icon':_0x2c8d98}));});_0x2f5bde[_0x270b48(0x53b)]=_0x270b48(0x5a2);var _0x5ce207={'tag':_0x270b48(0x54d),'attrs':{'fill':_0x270b48(0x600),'viewBox':'0\x200\x2017\x2016','width':_0x270b48(0x565),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x270b48(0x326)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x270b48(0x343),'strokeLinecap':_0x270b48(0x5c2),'strokeLinejoin':_0x270b48(0x5c2),'strokeWidth':1.2}}]},{'tag':_0x270b48(0x300),'attrs':{},'children':[{'tag':_0x270b48(0x437),'attrs':{'id':_0x270b48(0x629)},'children':[{'tag':_0x270b48(0x440),'attrs':{'fill':_0x270b48(0x606),'d':'M0\x200H16V16H0z','transform':_0x270b48(0x617)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x587e16=_0x32ddec[_0x270b48(0x2eb)](function(_0x3eca3d,_0x334ef0){const _0x34752c=_0x270b48;return _0x32ddec[_0x34752c(0x3a5)](_0x5d4b40,Object[_0x34752c(0x4f2)]({},_0x3eca3d,{'id':_0x34752c(0x21c),'ref':_0x334ef0,'icon':_0x5ce207}));});_0x587e16['displayName']=_0x270b48(0x423);function _0x36e5bd(_0x54491d){const _0x262f76=_0x270b48;var _0x3bc4f4,_0x52a3da,_0xaeeb61='';if(typeof _0x54491d==_0x262f76(0x451)||typeof _0x54491d==_0x262f76(0x404))_0xaeeb61+=_0x54491d;else{if(typeof _0x54491d=='object'){if(Array[_0x262f76(0x3dc)](_0x54491d)){var _0x479f5c=_0x54491d[_0x262f76(0x2df)];for(_0x3bc4f4=0x0;_0x3bc4f4<_0x479f5c;_0x3bc4f4++)_0x54491d[_0x3bc4f4]&&(_0x52a3da=_0x36e5bd(_0x54491d[_0x3bc4f4]))&&(_0xaeeb61&&(_0xaeeb61+='\x20'),_0xaeeb61+=_0x52a3da);}else{for(_0x52a3da in _0x54491d)_0x54491d[_0x52a3da]&&(_0xaeeb61&&(_0xaeeb61+='\x20'),_0xaeeb61+=_0x52a3da);}}}return _0xaeeb61;}function _0x3afa7a(){for(var _0x2a0cdc,_0x5f1dbe,_0x3a769c=0x0,_0x5c8736='',_0x4804f1=arguments['length'];_0x3a769c<_0x4804f1;_0x3a769c++)(_0x2a0cdc=arguments[_0x3a769c])&&(_0x5f1dbe=_0x36e5bd(_0x2a0cdc))&&(_0x5c8736&&(_0x5c8736+='\x20'),_0x5c8736+=_0x5f1dbe);return _0x5c8736;}const _0x488a1c={'onlineStatusIcon':_0x270b48(0x591),'onlineStatusTitle':_0x270b48(0x31d),'onlineStatus':_0x270b48(0x485),'online':_0x270b48(0x384),'offline':'univer-offline'};function _0x5ea701(_0x58f7a8){const _0x16b5b0=_0x270b48;switch(_0x58f7a8){case _0x27aa5e[_0x16b5b0(0x2f3)]:return _0x16b5b0(0x679);case _0x27aa5e['CONFLICT']:return'collabStatus.conflict';case _0x27aa5e[_0x16b5b0(0x4e1)]:return _0x16b5b0(0x1e7);case _0x27aa5e[_0x16b5b0(0x5db)]:return _0x16b5b0(0x240);case _0x27aa5e['AWAITING']:case _0x27aa5e[_0x16b5b0(0x5f4)]:return _0x16b5b0(0x584);case _0x27aa5e[_0x16b5b0(0x420)]:case _0x27aa5e[_0x16b5b0(0x53c)]:return _0x16b5b0(0x277);}}function _0xe97fef(_0x10d439){const _0x59167d=_0x270b48,{status$:_0x3e4637}=_0x10d439,_0x12b3f2=_0x3421c5[_0x59167d(0x361)](_0x3e4637,_0x27aa5e[_0x59167d(0x5db)]),_0x58bc8d=_0x10122e[_0x59167d(0x5c0)](_0x10122e['LocaleService']),_0x170911=_0x10122e[_0x59167d(0x5c0)](_0x3ef0c0[_0x59167d(0x5ae)]),_0x229605=_0x12b3f2!==_0x27aa5e[_0x59167d(0x2f3)],_0x609608=_0x58bc8d['t'](_0x5ea701(_0x12b3f2)),_0x1be84f=_0x3afa7a(_0x488a1c[_0x59167d(0x331)],{[_0x488a1c['online']]:_0x229605,[_0x488a1c[_0x59167d(0x552)]]:!_0x229605}),_0x9e6328=_0x229605?_0x2515c5[_0x59167d(0x345)](_0x587e16,{}):_0x2515c5[_0x59167d(0x345)](_0x2f5bde,{}),_0x522c4c=_0x32ddec[_0x59167d(0x216)](()=>{const _0x22fc3b=_0x59167d;_0x229605||_0x170911[_0x22fc3b(0x265)]();},[_0x229605,_0x170911]);function _0x454b0f(){const _0x2c2afe=_0x59167d;return _0x2515c5[_0x2c2afe(0x69b)](_0x2c2afe(0x30d),{'className':_0x1be84f,'onClick':_0x522c4c,'children':[_0x2515c5['jsx'](_0x2c2afe(0x30d),{'className':_0x488a1c[_0x2c2afe(0x333)],'children':_0x9e6328}),_0x2515c5[_0x2c2afe(0x345)]('div',{'className':_0x488a1c[_0x2c2afe(0x668)],'children':_0x609608})]});}return _0x229605?_0x454b0f():_0x2515c5[_0x59167d(0x345)](_0x4811a0[_0x59167d(0x502)],{'title':_0x58bc8d['t']('collab-client.tooltip.reconnect'),'children':_0x454b0f()});}var _0x371eb2=Object[_0x270b48(0x29d)],_0x1a1d5d=Object[_0x270b48(0x255)],_0x39c4ac=(_0xf2fe7a,_0x345b02,_0x4b4e91,_0x2f7d5a)=>{for(var _0x3c6558=_0x2f7d5a>0x1?void 0x0:_0x2f7d5a?_0x1a1d5d(_0x345b02,_0x4b4e91):_0x345b02,_0x4d528d=_0xf2fe7a['length']-0x1,_0x39fce9;_0x4d528d>=0x0;_0x4d528d--)(_0x39fce9=_0xf2fe7a[_0x4d528d])&&(_0x3c6558=(_0x2f7d5a?_0x39fce9(_0x345b02,_0x4b4e91,_0x3c6558):_0x39fce9(_0x3c6558))||_0x3c6558);return _0x2f7d5a&&_0x3c6558&&_0x371eb2(_0x345b02,_0x4b4e91,_0x3c6558),_0x3c6558;},_0x4330eb=(_0x8192a2,_0x2443da)=>(_0xf8dc97,_0x282a78)=>_0x2443da(_0xf8dc97,_0x282a78,_0x8192a2);_0x3ef0c0[_0x270b48(0x2c6)]=class extends _0x10122e[_0x270b48(0x5f7)]{constructor(_0x3eff49,_0x506a8f,_0x2067f5,_0xe2a639){const _0xa18376=_0x270b48;super(),_0x11da04(this,_0xa18376(0x1fa),new _0x43beed[(_0xa18376(0x65c))](_0x27aa5e[_0xa18376(0x5db)])),(this['_univerInstanceService']=_0x3eff49,this[_0xa18376(0x590)]=_0x506a8f,this[_0xa18376(0x358)]=_0x2067f5,this[_0xa18376(0x283)]=_0xe2a639,this[_0xa18376(0x589)](),this[_0xa18376(0x540)]());}[_0x270b48(0x540)](){const _0x3dac81=_0x270b48;this[_0x3dac81(0x206)](this[_0x3dac81(0x3d7)][_0x3dac81(0x34a)][_0x3dac81(0x3fb)](_0x43beed[_0x3dac81(0x2f7)](()=>{const _0x454b6a=_0x3dac81,_0x163ba4=this['_univerInstanceService'][_0x454b6a(0x446)]();return _0x163ba4?this['_collaborationController'][_0x454b6a(0x435)](_0x163ba4['getUnitId']()):_0x43beed['of'](null);}),_0x43beed[_0x3dac81(0x2f7)](_0x164366=>_0x164366?_0x164366[_0x3dac81(0x2f6)]:_0x43beed['of'](_0x27aa5e[_0x3dac81(0x5db)])))[_0x3dac81(0x40f)](_0x461ce4=>{const _0x292a67=_0x3dac81;this['_status$'][_0x292a67(0x299)](_0x461ce4);}));}[_0x270b48(0x589)](){const _0x2f0195=_0x270b48;this[_0x2f0195(0x206)](this['_uiPartsService'][_0x2f0195(0x464)](_0x3421c5[_0x2f0195(0x223)][_0x2f0195(0x43a)],()=>_0x10122e['connectInjector'](_0x2767f2({'status$':this[_0x2f0195(0x1fa)]['asObservable']()}),this['_injector'])));}},_0x3ef0c0[_0x270b48(0x2c6)]=_0x39c4ac([_0x4330eb(0x0,_0x10122e[_0x270b48(0x204)]),_0x4330eb(0x1,_0x3421c5['IUIPartsService']),_0x4330eb(0x2,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x53a)])),_0x4330eb(0x3,_0x10122e[_0x270b48(0x5c7)](_0x3ef0c0[_0x270b48(0x4ad)]))],_0x3ef0c0[_0x270b48(0x2c6)]);function _0x2767f2(_0x2d2a7b){const {status$:_0x24135b}=_0x2d2a7b;return function(){const _0x3b2bb1=_0x5645;return _0x2515c5[_0x3b2bb1(0x345)](_0xe97fef,{'status$':_0x24135b});};}const _0x17ffc1=_0x10122e[_0x270b48(0x1e3)]('uni.network.url-service');var _0x27c164=Object[_0x270b48(0x29d)],_0x2502dd=Object[_0x270b48(0x255)],_0x4654d7=(_0x5cd73a,_0x26f19f,_0x547f16,_0x48fb01)=>{const _0x46c823=_0x270b48;for(var _0x2bd748=_0x48fb01>0x1?void 0x0:_0x48fb01?_0x2502dd(_0x26f19f,_0x547f16):_0x26f19f,_0x50cb27=_0x5cd73a[_0x46c823(0x2df)]-0x1,_0x40a80b;_0x50cb27>=0x0;_0x50cb27--)(_0x40a80b=_0x5cd73a[_0x50cb27])&&(_0x2bd748=(_0x48fb01?_0x40a80b(_0x26f19f,_0x547f16,_0x2bd748):_0x40a80b(_0x2bd748))||_0x2bd748);return _0x48fb01&&_0x2bd748&&_0x27c164(_0x26f19f,_0x547f16,_0x2bd748),_0x2bd748;},_0x114f07=(_0x4fc955,_0x5f1bb6)=>(_0x215b10,_0x32bc93)=>_0x5f1bb6(_0x215b10,_0x32bc93,_0x4fc955);_0x3ef0c0['DataLoaderController']=class extends _0x10122e['RxDisposable']{constructor(_0x316b94,_0x1de356,_0x32da4f,_0x26b186,_0x1e1335,_0x336c6f){const _0x3c098f=_0x270b48;super(),this[_0x3c098f(0x29f)]=_0x316b94,this[_0x3c098f(0x477)]=_0x1de356,this[_0x3c098f(0x4ce)]=_0x32da4f,this['_localCacheService']=_0x26b186,this[_0x3c098f(0x303)]=_0x1e1335,_0x336c6f?_0x336c6f==null||_0x336c6f['whenReady']()['then'](()=>this['_init']()):(this['_logService'][_0x3c098f(0x41a)](_0x3c098f(0x614),_0x3c098f(0x63a)),this[_0x3c098f(0x46f)]());}async[_0x270b48(0x46f)](){const _0x203536=_0x270b48,_0x2881cb=this['_urlService'][_0x203536(0x685)](_0x203536(0x5bf)),_0x5731d1=this[_0x203536(0x29f)]['getParam'](_0x203536(0x21d));if(!_0x2881cb||!_0x5731d1){this[_0x203536(0x477)]['debug'](_0x203536(0x614),_0x203536(0x55d));return;}switch(Number(_0x5731d1)){case _0x8439e8['UNIVER_SHEET']:{const _0x77ca1f=await this[_0x203536(0x575)](_0x2881cb);this[_0x203536(0x3e5)](_0x77ca1f);break;}case _0x8439e8[_0x203536(0x414)]:{await this['_loadDoc'](_0x2881cb);break;}default:{this[_0x203536(0x477)][_0x203536(0x371)](_0x203536(0x614),_0x203536(0x253));break;}}}async['_setupSubUnitSync'](_0x21215d){const _0x27c06a=_0x270b48;await this[_0x27c06a(0x388)](_0x21215d),_0x21215d[_0x27c06a(0x674)]['pipe'](_0x43beed[_0x27c06a(0x57a)](this[_0x27c06a(0x488)]))['subscribe'](_0x586008=>{_0x586008&&this['_updateURLWithCurrentState'](_0x586008);}),this['_urlService'][_0x27c06a(0x23d)]['pipe'](_0x43beed[_0x27c06a(0x57a)](this[_0x27c06a(0x488)]))[_0x27c06a(0x40f)](()=>this[_0x27c06a(0x388)](_0x21215d));}[_0x270b48(0x20f)](_0x16f500,_0x453896=!0x1){const _0x281a6d=_0x270b48,_0x445e26=this['_urlService'][_0x281a6d(0x685)]('subunit');_0x16f500[_0x281a6d(0x3c7)]()!==_0x445e26&&this[_0x281a6d(0x29f)][_0x281a6d(0x5ed)](_0x281a6d(0x43c),_0x16f500[_0x281a6d(0x3c7)](),_0x453896);}async['_updateSubUnitFromURLParams'](_0x14bffd){const _0x56840c=_0x270b48;var _0x533e4f;const _0x299b37=this['_urlService']['getParam']('subunit');if(!_0x299b37||!_0x14bffd[_0x56840c(0x5e7)](_0x299b37)){const _0x423bdc=_0x14bffd['getUnhiddenWorksheets']()[0x0],_0x1a0157=_0x14bffd[_0x56840c(0x5e7)](_0x423bdc);if(!_0x1a0157)return;this[_0x56840c(0x20f)](_0x1a0157,!0x0),await this['_commandService'][_0x56840c(0x284)](_0x43d50e[_0x56840c(0x28c)]['id'],{'unitId':_0x14bffd[_0x56840c(0x337)](),'subUnitId':_0x423bdc});return;}((_0x533e4f=_0x14bffd[_0x56840c(0x56c)]())==null?void 0x0:_0x533e4f[_0x56840c(0x3c7)]())!==_0x299b37&&await this[_0x56840c(0x4ce)][_0x56840c(0x284)](_0x43d50e[_0x56840c(0x28c)]['id'],{'unitId':_0x14bffd[_0x56840c(0x337)](),'subUnitId':_0x299b37});}async['_loadSheet'](_0x27ad97){const _0x52de78=_0x270b48;let _0x2b973c=0x0;const _0xe3c502=await this['_localCacheService'][_0x52de78(0x294)](_0x27ad97);return _0xe3c502&&(_0xe3c502[_0x52de78(0x636)]||_0xe3c502[_0x52de78(0x43b)]['length']!==0x0)&&(_0x2b973c=_0xe3c502[_0x52de78(0x4a0)]),_0x2b973c===0x0&&this[_0x52de78(0x477)]['debug'](_0x52de78(0x614),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x52de78(0x303)][_0x52de78(0x2e9)](_0x27ad97,_0x2b973c);}async[_0x270b48(0x52a)](_0x35b40d){const _0xd5accf=_0x270b48;let _0x595eeb=0x0;const _0x3156ef=await this[_0xd5accf(0x5a3)]['loadOfflineData'](_0x35b40d);return _0x3156ef&&(_0x3156ef[_0xd5accf(0x636)]||_0x3156ef['mutations'][_0xd5accf(0x2df)]!==0x0)&&(_0x595eeb=_0x3156ef[_0xd5accf(0x4a0)]),_0x595eeb===0x0&&this[_0xd5accf(0x477)][_0xd5accf(0x41a)](_0xd5accf(0x614),_0xd5accf(0x496)),this['_snapshotService'][_0xd5accf(0x64b)](_0x35b40d,_0x595eeb);}},_0x3ef0c0[_0x270b48(0x41c)]=_0x4654d7([_0x114f07(0x0,_0x17ffc1),_0x114f07(0x1,_0x10122e[_0x270b48(0x4d7)]),_0x114f07(0x2,_0x10122e[_0x270b48(0x1e0)]),_0x114f07(0x3,_0x10122e[_0x270b48(0x5c7)](_0x3ef0c0['LocalCacheService'])),_0x114f07(0x4,_0x10122e[_0x270b48(0x5c7)](_0x434c76[_0x270b48(0x5f5)])),_0x114f07(0x5,_0x10122e[_0x270b48(0x24d)](_0x5a9b55[_0x270b48(0x1f1)]))],_0x3ef0c0[_0x270b48(0x41c)]);var _0x3516f6=Object['defineProperty'],_0x200f39=Object[_0x270b48(0x255)],_0x3199d4=(_0x2f3881,_0x39ea53,_0x1d2e5c,_0x45e615)=>{const _0x403645=_0x270b48;for(var _0x53f5b3=_0x45e615>0x1?void 0x0:_0x45e615?_0x200f39(_0x39ea53,_0x1d2e5c):_0x39ea53,_0x56b1da=_0x2f3881[_0x403645(0x2df)]-0x1,_0x5178ce;_0x56b1da>=0x0;_0x56b1da--)(_0x5178ce=_0x2f3881[_0x56b1da])&&(_0x53f5b3=(_0x45e615?_0x5178ce(_0x39ea53,_0x1d2e5c,_0x53f5b3):_0x5178ce(_0x53f5b3))||_0x53f5b3);return _0x45e615&&_0x53f5b3&&_0x3516f6(_0x39ea53,_0x1d2e5c,_0x53f5b3),_0x53f5b3;},_0x402f49=(_0x14ef7f,_0x3fd7cd)=>(_0x57fd42,_0x2cb9ae)=>_0x3fd7cd(_0x57fd42,_0x2cb9ae,_0x14ef7f);const _0x1173d8=_0x270b48(0x3f9),_0x66d9c9=_0x270b48(0x506);let _0x30ebf3=class extends _0x10122e[_0x270b48(0x5f7)]{constructor(_0x44915f,_0x28d82a){const _0x598e59=_0x270b48;super(),this[_0x598e59(0x3d7)]=_0x44915f,this[_0x598e59(0x4dd)]=_0x28d82a,this[_0x598e59(0x46f)]();}[_0x270b48(0x46f)](){const _0x2dfc16=_0x270b48;this['disposeWithMe'](this[_0x2dfc16(0x3d7)][_0x2dfc16(0x34a)][_0x2dfc16(0x40f)](()=>{const _0x4593cc=_0x2dfc16;var _0x42a4cd;const _0x33a050=this[_0x4593cc(0x3d7)]['getFocusedUnit']();let _0x332ee8=(_0x42a4cd=this['_configService']['getConfig'](_0x1173d8))!=null?_0x42a4cd:_0x66d9c9;_0x33a050 instanceof _0x10122e['Workbook']&&(_0x332ee8=_0x33a050[_0x4593cc(0x27e)]),document['title']=_0x332ee8;}));}};_0x30ebf3=_0x3199d4([_0x402f49(0x0,_0x10122e[_0x270b48(0x204)]),_0x402f49(0x1,_0x10122e['IConfigService'])],_0x30ebf3);var _0x39a992=Object[_0x270b48(0x29d)],_0x1f089e=Object[_0x270b48(0x255)],_0x2ed359=(_0x20fd05,_0x4465f7,_0x544afc,_0xaff4f2)=>{for(var _0x29c0f2=_0xaff4f2>0x1?void 0x0:_0xaff4f2?_0x1f089e(_0x4465f7,_0x544afc):_0x4465f7,_0x301392=_0x20fd05['length']-0x1,_0x4d5e14;_0x301392>=0x0;_0x301392--)(_0x4d5e14=_0x20fd05[_0x301392])&&(_0x29c0f2=(_0xaff4f2?_0x4d5e14(_0x4465f7,_0x544afc,_0x29c0f2):_0x4d5e14(_0x29c0f2))||_0x29c0f2);return _0xaff4f2&&_0x29c0f2&&_0x39a992(_0x4465f7,_0x544afc,_0x29c0f2),_0x29c0f2;},_0x4ceab6=(_0x4b21fe,_0x53f1df)=>(_0x550f98,_0x5a4c30)=>_0x53f1df(_0x550f98,_0x5a4c30,_0x4b21fe);let _0x48a230=class{constructor(_0x3db55b,_0x4e1afd,_0x3ba25b){const _0x178ccd=_0x270b48;this[_0x178ccd(0x4dd)]=_0x3db55b,this[_0x178ccd(0x61c)]=_0x4e1afd,this['localeService']=_0x3ba25b,this[_0x178ccd(0x24f)]();}[_0x270b48(0x24f)](){const _0x100149=_0x270b48;this[_0x100149(0x61c)][_0x100149(0x362)]({'priority':0x1,'interceptor':(_0x19008e,_0x369481)=>_0x369481(_0x19008e)[_0x100149(0x3fb)](_0x43beed[_0x100149(0x60d)](async _0x1bb47d=>{const _0x4fd077=_0x100149,_0x4a642e=_0x1bb47d;if(_0x4a642e[_0x4fd077(0x46e)]===0x191&&window[_0x4fd077(0x582)](this['localeService']['t'](_0x4fd077(0x366)))){const _0x3d9a5a=window[_0x4fd077(0x27d)](window[_0x4fd077(0x2cb)][_0x4fd077(0x4a3)]);window[_0x4fd077(0x2cb)][_0x4fd077(0x4a3)]=this[_0x4fd077(0x3ee)]()+_0x4fd077(0x291)+_0x3d9a5a;}return _0x4a642e;}))});}['_getLoginPath'](){const _0x1029e8=_0x270b48;var _0x42c4fe,_0x512de7;const _0x160435=this[_0x1029e8(0x4dd)][_0x1029e8(0x5f1)](_0x4600e2),_0x4e585a=this[_0x1029e8(0x4dd)][_0x1029e8(0x5f1)](_0x100cc6);return(_0x512de7=(_0x42c4fe=_0x4e585a==null?void 0x0:_0x4e585a[_0x1029e8(0x2d7)])!=null?_0x42c4fe:_0x160435)!=null?_0x512de7:_0x57c0a3;}};_0x48a230=_0x2ed359([_0x4ceab6(0x0,_0x10122e[_0x270b48(0x635)]),_0x4ceab6(0x1,_0x10122e[_0x270b48(0x5c7)](_0xbfbac5[_0x270b48(0x3d4)])),_0x4ceab6(0x2,_0x10122e['Inject'](_0x10122e[_0x270b48(0x42c)]))],_0x48a230);var _0x6ac019=Object[_0x270b48(0x29d)],_0x36b9a8=Object[_0x270b48(0x255)],_0x46aab5=(_0x160b8e,_0x342f90,_0x3179e1,_0x5a3693)=>{const _0x200be0=_0x270b48;for(var _0xeb380c=_0x5a3693>0x1?void 0x0:_0x5a3693?_0x36b9a8(_0x342f90,_0x3179e1):_0x342f90,_0x1ee58a=_0x160b8e[_0x200be0(0x2df)]-0x1,_0x18e348;_0x1ee58a>=0x0;_0x1ee58a--)(_0x18e348=_0x160b8e[_0x1ee58a])&&(_0xeb380c=(_0x5a3693?_0x18e348(_0x342f90,_0x3179e1,_0xeb380c):_0x18e348(_0xeb380c))||_0xeb380c);return _0x5a3693&&_0xeb380c&&_0x6ac019(_0x342f90,_0x3179e1,_0xeb380c),_0xeb380c;},_0x1486a4=(_0x30a1ad,_0x5899f6)=>(_0x5623bb,_0x219f73)=>_0x5899f6(_0x5623bb,_0x219f73,_0x30a1ad);const _0x1972b9=_0x270b48(0x28e),_0x5b66d8=_0x270b48(0x1d9);_0x3ef0c0[_0x270b48(0x639)]=class extends _0x10122e[_0x270b48(0x5f7)]{constructor(_0x3882fc,_0x4dc5f5){super(),this['_HTTPService']=_0x3882fc,this['_configService']=_0x4dc5f5,this['_initMergeInterceptor']();}[_0x270b48(0x4b0)](){const _0x406657=_0x270b48,_0x383cfb=this;this[_0x406657(0x206)](this[_0x406657(0x5d9)][_0x406657(0x362)]({'priority':0x3e7,'interceptor':_0xbfbac5[_0x406657(0x687)]({'isMatch'(_0x4ea9f3){const _0xaae603=_0x406657;var _0x53857d;if(_0x4ea9f3[_0xaae603(0x2e3)]===_0xaae603(0x383)&&((_0x53857d=_0x4ea9f3[_0xaae603(0x3b3)])!=null&&_0x53857d[_0xaae603(0x4b2)])){const {objectID:_0x184ca1,objectType:_0x5cb9c6}=_0x4ea9f3[_0xaae603(0x3b3)][_0xaae603(0x4b2)]||{};if(!_0x184ca1||_0x5cb9c6===void 0x0)return!0x1;const _0x472dca=_0x383cfb[_0xaae603(0x5d7)]()+'/'+_0x5cb9c6+'/object/'+_0x184ca1+_0xaae603(0x5cc);if(_0x4ea9f3[_0xaae603(0x248)]===_0x472dca)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x7d5ee2){const _0x4b506a=_0x406657;var _0x3b0f0f;return(_0x3b0f0f=_0x7d5ee2[_0x4b506a(0x3b3)])==null?void 0x0:_0x3b0f0f['body'];},'mergeParamsToRequest'(_0x38d3c5,_0x3df3b1){const _0x576f40=_0x406657,_0x57a3a7=_0x383cfb[_0x576f40(0x5d7)]()+_0x576f40(0x494),_0x280af6=_0x38d3c5[_0x576f40(0x578)]((_0xc48aa1,_0x4a2a3a)=>{const _0xf18634=_0x576f40,{unitID:_0x1d2d3b,objectID:_0x574652,objectType:_0x53c833,actions:_0x508a1f}=_0x4a2a3a;return _0xc48aa1[_0x1d2d3b]||(_0xc48aa1[_0x1d2d3b]={}),_0xc48aa1[_0x1d2d3b][_0x574652]||(_0xc48aa1[_0x1d2d3b][_0x574652]={'objectID':_0x574652,'objectType':_0x53c833,'actions':[]}),_0xc48aa1[_0x1d2d3b][_0x574652][_0xf18634(0x20a)][_0xf18634(0x28f)](..._0x508a1f),_0xc48aa1;},{}),_0x1a1132=[];for(const _0x3c229a in _0x280af6)for(const _0x18a577 in _0x280af6[_0x3c229a]){const {actions:_0x55e14f,objectType:_0x3e061d}=_0x280af6[_0x3c229a][_0x18a577],_0x181216=[...new Set(_0x55e14f)];_0x1a1132[_0x576f40(0x28f)]({'unitID':_0x3c229a,'objectID':_0x18a577,'objectType':_0x3e061d,'actions':_0x181216});}return new _0xbfbac5[(_0x576f40(0x559))]('POST',_0x57a3a7,{'headers':_0x3df3b1[_0x576f40(0x509)],'withCredentials':_0x3df3b1[_0x576f40(0x3d2)],'responseType':_0x3df3b1[_0x576f40(0x56a)],'body':{'requests':_0x1a1132}});}},{'distributeResult'(_0xd41f17,_0x5cca27){const {objectActions:_0x359a3c}=_0xd41f17;return _0x5cca27['map'](_0x5cdd73=>{const _0x2f57d8=_0x5645,{unitID:_0x256295,objectID:_0x50cf75,actions:_0x147555}=_0x5cdd73,_0x16fb36=_0x359a3c[_0x2f57d8(0x335)](_0x1da3f1=>_0x1da3f1[_0x2f57d8(0x224)]===_0x256295&&_0x1da3f1['objectID']===_0x50cf75),_0x39cdb=_0x147555['map'](_0x48695b=>_0x16fb36==null?void 0x0:_0x16fb36['actions'][_0x2f57d8(0x335)](_0x25f122=>_0x25f122[_0x2f57d8(0x372)]===_0x48695b))[_0x2f57d8(0x4d0)](_0x119d50=>!!_0x119d50);return{'config':_0x5cdd73,'result':{'actions':_0x39cdb,'error':_0xd41f17[_0x2f57d8(0x371)]}};});}})}));}['_getAPIPrefixPath'](){const _0x55467f=_0x270b48;var _0x46837c,_0x47a4f8;const _0x2ee33a=this[_0x55467f(0x4dd)][_0x55467f(0x5f1)](_0x1972b9),_0x72c7b7=this['_configService']['getConfig'](_0x100cc6);return(_0x47a4f8=(_0x46837c=_0x72c7b7==null?void 0x0:_0x72c7b7[_0x55467f(0x2fe)])!=null?_0x46837c:_0x2ee33a)!=null?_0x47a4f8:_0x5b66d8;}async[_0x270b48(0x54c)](_0x1f8b50){const _0x370b43=_0x270b48,_0x3c42cf=this['_getAPIPrefixPath']()+'/'+_0x1f8b50['objectType']+_0x370b43(0x5fa);return(await this[_0x370b43(0x5d9)][_0x370b43(0x4b9)](_0x3c42cf,{'body':_0x1f8b50}))[_0x370b43(0x4b2)][_0x370b43(0x61e)]||'';}async[_0x270b48(0x25c)](_0x8e7eef){const _0x597818=_0x270b48,_0x8fe9d9=this['_getAPIPrefixPath']()+_0x597818(0x2b9);return(await this[_0x597818(0x5d9)]['post'](_0x8fe9d9,{'body':_0x8e7eef}))[_0x597818(0x4b2)][_0x597818(0x489)];}async[_0x270b48(0x3de)](_0x244335){const _0x4d864d=_0x270b48,_0x497f36=this[_0x4d864d(0x5d7)]()+'/'+_0x244335[_0x4d864d(0x286)]+_0x4d864d(0x238)+_0x244335[_0x4d864d(0x61e)];await this[_0x4d864d(0x5d9)][_0x4d864d(0x432)](_0x497f36,{'body':_0x244335});}async[_0x270b48(0x2bd)](_0x4fa52d){const _0x36c99e=_0x270b48,_0x52ae36=this['_getAPIPrefixPath']()+'/'+_0x4fa52d['objectType']+_0x36c99e(0x238)+_0x4fa52d[_0x36c99e(0x61e)]+_0x36c99e(0x5cc);return(await this['_HTTPService'][_0x36c99e(0x4b9)](_0x52ae36,{'body':_0x4fa52d}))[_0x36c99e(0x4b2)]['actions'];}async['batchAllowed'](_0x31dc87){const _0x1aa731=_0x270b48,_0x564486=this[_0x1aa731(0x5d7)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService']['post'](_0x564486,{'body':{'requests':_0x31dc87}}))['body']['objectActions'];}async[_0x270b48(0x492)](_0x4f95ae){const _0x2f476f=_0x270b48,_0xff246=this[_0x2f476f(0x5d7)]()+'/'+_0x4f95ae[_0x2f476f(0x286)]+_0x2f476f(0x48e),_0x4deacc=await this['_HTTPService']['post'](_0xff246,{'body':_0x4f95ae});return{'roles':_0x4deacc[_0x2f476f(0x4b2)][_0x2f476f(0x38b)],'actions':_0x4deacc[_0x2f476f(0x4b2)]['actions']};}async[_0x270b48(0x643)](_0x404446){const _0x26d365=_0x270b48,_0x3d0d4c=this[_0x26d365(0x5d7)]()+_0x26d365(0x572);await this[_0x26d365(0x5d9)][_0x26d365(0x48d)](_0x3d0d4c,{'params':{'collaboratorID':_0x404446[_0x26d365(0x2dd)],'objectID':_0x404446['objectID'],'unitID':_0x404446[_0x26d365(0x224)]}});}async[_0x270b48(0x288)](_0x5464a5){const _0x1cd27b=_0x270b48,_0x4e250f=this[_0x1cd27b(0x5d7)]()+_0x1cd27b(0x572);await this[_0x1cd27b(0x5d9)][_0x1cd27b(0x444)](_0x4e250f,{'body':_0x5464a5});}async['createCollaborator'](_0x53a640){const _0x30fab6=_0x270b48,_0x5644aa=this[_0x30fab6(0x5d7)]()+_0x30fab6(0x572);await this['_HTTPService'][_0x30fab6(0x4b9)](_0x5644aa,{'body':_0x53a640});}async[_0x270b48(0x356)](_0x39183a){const _0x4a015f=_0x270b48,_0x1e1a6f=this['_getAPIPrefixPath']()+_0x4a015f(0x572);return(await this[_0x4a015f(0x5d9)][_0x4a015f(0x56f)](_0x1e1a6f,{'params':{'objectID':_0x39183a[_0x4a015f(0x61e)],'unitID':_0x39183a[_0x4a015f(0x224)]}}))[_0x4a015f(0x4b2)]['collaborators'];}async['putCollaborators'](_0x3c9dbe){const _0x597194=_0x270b48,_0x216c29=this[_0x597194(0x5d7)]()+_0x597194(0x572);await this[_0x597194(0x5d9)][_0x597194(0x432)](_0x216c29,{'body':_0x3c9dbe});}},_0x3ef0c0[_0x270b48(0x639)]=_0x46aab5([_0x1486a4(0x0,_0x10122e['Inject'](_0xbfbac5[_0x270b48(0x3d4)])),_0x1486a4(0x1,_0x10122e['Inject'](_0x10122e[_0x270b48(0x635)]))],_0x3ef0c0[_0x270b48(0x639)]);var _0x31d63f={'exports':{}};function _0x65d57f(_0x57a1fa){const _0x5161e7=_0x270b48;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x57a1fa+_0x5161e7(0x64a));}var _0x2db481={'exports':{}},_0x2c139e;function _0x159fd1(){return _0x2c139e||(_0x2c139e=0x1,function(_0x29c17c,_0x1e6a94){(function(_0x3b485a,_0x59428a){_0x29c17c['exports']=_0x59428a();}(_0x7a6336,function(){var _0x20f552=_0x20f552||function(_0x177912,_0x47ed81){const _0x5e3e44=_0x5645;var _0x130ecb;if(typeof window<'u'&&window[_0x5e3e44(0x295)]&&(_0x130ecb=window[_0x5e3e44(0x295)]),typeof self<'u'&&self['crypto']&&(_0x130ecb=self[_0x5e3e44(0x295)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x130ecb=globalThis[_0x5e3e44(0x295)]),!_0x130ecb&&typeof window<'u'&&window[_0x5e3e44(0x68f)]&&(_0x130ecb=window[_0x5e3e44(0x68f)]),!_0x130ecb&&typeof _0x7a6336<'u'&&_0x7a6336[_0x5e3e44(0x295)]&&(_0x130ecb=_0x7a6336[_0x5e3e44(0x295)]),!_0x130ecb&&typeof _0x65d57f==_0x5e3e44(0x37a))try{_0x130ecb=require(_0x5e3e44(0x295));}catch{}var _0x9a389f=function(){const _0x1919f3=_0x5e3e44;if(_0x130ecb){if(typeof _0x130ecb['getRandomValues']==_0x1919f3(0x37a))try{return _0x130ecb[_0x1919f3(0x583)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x130ecb[_0x1919f3(0x467)]=='function')try{return _0x130ecb[_0x1919f3(0x467)](0x4)[_0x1919f3(0x297)]();}catch{}}throw new Error(_0x1919f3(0x56b));},_0x1a4e04=Object[_0x5e3e44(0x54c)]||(function(){function _0x2a4463(){}return function(_0x3ff411){const _0x5af6f3=_0x5645;var _0x9e4df;return _0x2a4463[_0x5af6f3(0x27c)]=_0x3ff411,_0x9e4df=new _0x2a4463(),_0x2a4463[_0x5af6f3(0x27c)]=null,_0x9e4df;};}()),_0x85532a={},_0x4d12fb=_0x85532a[_0x5e3e44(0x486)]={},_0x108753=_0x4d12fb[_0x5e3e44(0x228)]=(function(){return{'extend':function(_0x18dee4){const _0x2c507d=_0x5645;var _0x3e6ee8=_0x1a4e04(this);return _0x18dee4&&_0x3e6ee8['mixIn'](_0x18dee4),(!_0x3e6ee8[_0x2c507d(0x33a)](_0x2c507d(0x24f))||this[_0x2c507d(0x24f)]===_0x3e6ee8['init'])&&(_0x3e6ee8[_0x2c507d(0x24f)]=function(){const _0x44b82e=_0x2c507d;_0x3e6ee8[_0x44b82e(0x574)][_0x44b82e(0x24f)][_0x44b82e(0x395)](this,arguments);}),_0x3e6ee8[_0x2c507d(0x24f)][_0x2c507d(0x27c)]=_0x3e6ee8,_0x3e6ee8[_0x2c507d(0x574)]=this,_0x3e6ee8;},'create':function(){const _0x2088a8=_0x5645;var _0x38207f=this[_0x2088a8(0x567)]();return _0x38207f[_0x2088a8(0x24f)][_0x2088a8(0x395)](_0x38207f,arguments),_0x38207f;},'init':function(){},'mixIn':function(_0x549ad3){const _0x4f1422=_0x5645;for(var _0x884a4e in _0x549ad3)_0x549ad3[_0x4f1422(0x33a)](_0x884a4e)&&(this[_0x884a4e]=_0x549ad3[_0x884a4e]);_0x549ad3[_0x4f1422(0x33a)](_0x4f1422(0x638))&&(this['toString']=_0x549ad3['toString']);},'clone':function(){const _0x13887b=_0x5645;return this['init']['prototype'][_0x13887b(0x567)](this);}};}()),_0x35aaa1=_0x4d12fb[_0x5e3e44(0x3ad)]=_0x108753[_0x5e3e44(0x567)]({'init':function(_0x1e8c41,_0x156a6f){const _0x26b2bf=_0x5e3e44;_0x1e8c41=this['words']=_0x1e8c41||[],_0x156a6f!=_0x47ed81?this[_0x26b2bf(0x26d)]=_0x156a6f:this[_0x26b2bf(0x26d)]=_0x1e8c41['length']*0x4;},'toString':function(_0x21b615){const _0x12aff4=_0x5e3e44;return(_0x21b615||_0x14dd06)[_0x12aff4(0x254)](this);},'concat':function(_0xcd2e4d){const _0x3d0f31=_0x5e3e44;var _0x3dd916=this[_0x3d0f31(0x61d)],_0x16e4d5=_0xcd2e4d[_0x3d0f31(0x61d)],_0x2f1696=this[_0x3d0f31(0x26d)],_0x767881=_0xcd2e4d[_0x3d0f31(0x26d)];if(this['clamp'](),_0x2f1696%0x4)for(var _0x43238e=0x0;_0x43238e<_0x767881;_0x43238e++){var _0x345474=_0x16e4d5[_0x43238e>>>0x2]>>>0x18-_0x43238e%0x4*0x8&0xff;_0x3dd916[_0x2f1696+_0x43238e>>>0x2]|=_0x345474<<0x18-(_0x2f1696+_0x43238e)%0x4*0x8;}else{for(var _0x2ad062=0x0;_0x2ad062<_0x767881;_0x2ad062+=0x4)_0x3dd916[_0x2f1696+_0x2ad062>>>0x2]=_0x16e4d5[_0x2ad062>>>0x2];}return this[_0x3d0f31(0x26d)]+=_0x767881,this;},'clamp':function(){const _0x491df2=_0x5e3e44;var _0x525581=this[_0x491df2(0x61d)],_0x2ab06b=this[_0x491df2(0x26d)];_0x525581[_0x2ab06b>>>0x2]&=0xffffffff<<0x20-_0x2ab06b%0x4*0x8,_0x525581['length']=_0x177912[_0x491df2(0x34f)](_0x2ab06b/0x4);},'clone':function(){const _0x523999=_0x5e3e44;var _0x1e700c=_0x108753[_0x523999(0x1f0)]['call'](this);return _0x1e700c[_0x523999(0x61d)]=this['words'][_0x523999(0x4ac)](0x0),_0x1e700c;},'random':function(_0xd4bc15){const _0x12f619=_0x5e3e44;for(var _0x15c1f8=[],_0x17ffde=0x0;_0x17ffde<_0xd4bc15;_0x17ffde+=0x4)_0x15c1f8[_0x12f619(0x28f)](_0x9a389f());return new _0x35aaa1[(_0x12f619(0x24f))](_0x15c1f8,_0xd4bc15);}}),_0x167272=_0x85532a['enc']={},_0x14dd06=_0x167272[_0x5e3e44(0x38e)]={'stringify':function(_0x6e75a){const _0x2c0fdb=_0x5e3e44;for(var _0x659dc5=_0x6e75a[_0x2c0fdb(0x61d)],_0x3eb339=_0x6e75a['sigBytes'],_0xb34e44=[],_0x4568a4=0x0;_0x4568a4<_0x3eb339;_0x4568a4++){var _0x20a15d=_0x659dc5[_0x4568a4>>>0x2]>>>0x18-_0x4568a4%0x4*0x8&0xff;_0xb34e44[_0x2c0fdb(0x28f)]((_0x20a15d>>>0x4)['toString'](0x10)),_0xb34e44[_0x2c0fdb(0x28f)]((_0x20a15d&0xf)[_0x2c0fdb(0x638)](0x10));}return _0xb34e44[_0x2c0fdb(0x398)]('');},'parse':function(_0x338452){const _0x1a67ce=_0x5e3e44;for(var _0x392f51=_0x338452[_0x1a67ce(0x2df)],_0x3fd9f5=[],_0x36b87d=0x0;_0x36b87d<_0x392f51;_0x36b87d+=0x2)_0x3fd9f5[_0x36b87d>>>0x3]|=parseInt(_0x338452[_0x1a67ce(0x1fe)](_0x36b87d,0x2),0x10)<<0x18-_0x36b87d%0x8*0x4;return new _0x35aaa1['init'](_0x3fd9f5,_0x392f51/0x2);}},_0x523d88=_0x167272[_0x5e3e44(0x569)]={'stringify':function(_0x1936de){const _0x4bd692=_0x5e3e44;for(var _0x2f9d4c=_0x1936de['words'],_0x6162e=_0x1936de['sigBytes'],_0x170abe=[],_0x4d6edd=0x0;_0x4d6edd<_0x6162e;_0x4d6edd++){var _0x5f1a90=_0x2f9d4c[_0x4d6edd>>>0x2]>>>0x18-_0x4d6edd%0x4*0x8&0xff;_0x170abe[_0x4bd692(0x28f)](String['fromCharCode'](_0x5f1a90));}return _0x170abe['join']('');},'parse':function(_0x229e31){const _0x1b38df=_0x5e3e44;for(var _0x1f46c6=_0x229e31[_0x1b38df(0x2df)],_0x5d7cb6=[],_0x2ae2e7=0x0;_0x2ae2e7<_0x1f46c6;_0x2ae2e7++)_0x5d7cb6[_0x2ae2e7>>>0x2]|=(_0x229e31[_0x1b38df(0x374)](_0x2ae2e7)&0xff)<<0x18-_0x2ae2e7%0x4*0x8;return new _0x35aaa1[(_0x1b38df(0x24f))](_0x5d7cb6,_0x1f46c6);}},_0x4239b6=_0x167272['Utf8']={'stringify':function(_0x49fb66){try{return decodeURIComponent(escape(_0x523d88['stringify'](_0x49fb66)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x952dc6){const _0x46d828=_0x5e3e44;return _0x523d88[_0x46d828(0x222)](unescape(encodeURIComponent(_0x952dc6)));}},_0x3f84bc=_0x4d12fb[_0x5e3e44(0x3e0)]=_0x108753[_0x5e3e44(0x567)]({'reset':function(){const _0x73faee=_0x5e3e44;this[_0x73faee(0x2a6)]=new _0x35aaa1[(_0x73faee(0x24f))](),this[_0x73faee(0x319)]=0x0;},'_append':function(_0x459c37){const _0x150c3a=_0x5e3e44;typeof _0x459c37==_0x150c3a(0x451)&&(_0x459c37=_0x4239b6[_0x150c3a(0x222)](_0x459c37)),this['_data'][_0x150c3a(0x32d)](_0x459c37),this['_nDataBytes']+=_0x459c37['sigBytes'];},'_process':function(_0x3872c7){const _0x1ead5f=_0x5e3e44;var _0x1dbd7b,_0x3ff265=this[_0x1ead5f(0x2a6)],_0x10a986=_0x3ff265['words'],_0x17bea5=_0x3ff265[_0x1ead5f(0x26d)],_0x297b36=this[_0x1ead5f(0x521)],_0x3550e8=_0x297b36*0x4,_0x4a89a5=_0x17bea5/_0x3550e8;_0x3872c7?_0x4a89a5=_0x177912[_0x1ead5f(0x34f)](_0x4a89a5):_0x4a89a5=_0x177912[_0x1ead5f(0x580)]((_0x4a89a5|0x0)-this[_0x1ead5f(0x421)],0x0);var _0x18b74f=_0x4a89a5*_0x297b36,_0x14d4c9=_0x177912[_0x1ead5f(0x55e)](_0x18b74f*0x4,_0x17bea5);if(_0x18b74f){for(var _0x1dc54d=0x0;_0x1dc54d<_0x18b74f;_0x1dc54d+=_0x297b36)this[_0x1ead5f(0x622)](_0x10a986,_0x1dc54d);_0x1dbd7b=_0x10a986[_0x1ead5f(0x217)](0x0,_0x18b74f),_0x3ff265[_0x1ead5f(0x26d)]-=_0x14d4c9;}return new _0x35aaa1[(_0x1ead5f(0x24f))](_0x1dbd7b,_0x14d4c9);},'clone':function(){const _0x5c4bd3=_0x5e3e44;var _0x383efb=_0x108753['clone'][_0x5c4bd3(0x27f)](this);return _0x383efb['_data']=this[_0x5c4bd3(0x2a6)][_0x5c4bd3(0x1f0)](),_0x383efb;},'_minBufferSize':0x0});_0x4d12fb['Hasher']=_0x3f84bc['extend']({'cfg':_0x108753['extend'](),'init':function(_0x79ddc6){const _0x529d3a=_0x5e3e44;this[_0x529d3a(0x57e)]=this[_0x529d3a(0x57e)][_0x529d3a(0x567)](_0x79ddc6),this[_0x529d3a(0x399)]();},'reset':function(){const _0x440a99=_0x5e3e44;_0x3f84bc['reset'][_0x440a99(0x27f)](this),this['_doReset']();},'update':function(_0x232cae){const _0x4b7b24=_0x5e3e44;return this[_0x4b7b24(0x312)](_0x232cae),this[_0x4b7b24(0x26c)](),this;},'finalize':function(_0x4b19f3){const _0x55d957=_0x5e3e44;_0x4b19f3&&this[_0x55d957(0x312)](_0x4b19f3);var _0x4ff2e3=this[_0x55d957(0x631)]();return _0x4ff2e3;},'blockSize':0x10,'_createHelper':function(_0x404e83){return function(_0x208a64,_0x58e6aa){const _0xd6bc34=_0x5645;return new _0x404e83[(_0xd6bc34(0x24f))](_0x58e6aa)[_0xd6bc34(0x2c8)](_0x208a64);};},'_createHmacHelper':function(_0x47be98){return function(_0x472688,_0x27b3ac){const _0x4e534b=_0x5645;return new _0x3e4524['HMAC']['init'](_0x47be98,_0x27b3ac)[_0x4e534b(0x2c8)](_0x472688);};}});var _0x3e4524=_0x85532a[_0x5e3e44(0x25f)]={};return _0x85532a;}(Math);return _0x20f552;}));}(_0x2db481)),_0x2db481['exports'];}var _0x1347e8={'exports':{}},_0x3c09ec;function _0x3620fc(){return _0x3c09ec||(_0x3c09ec=0x1,function(_0x5d76b1,_0x4399c1){(function(_0x5ecc5c,_0x2dcf13){const _0x2e6fd9=_0x5645;_0x5d76b1[_0x2e6fd9(0x3ab)]=_0x2dcf13(_0x159fd1());}(_0x7a6336,function(_0x8cb9e){const _0x2d9dca=_0x5645;return(function(){const _0x2589be=_0x5645;var _0x5efe64=_0x8cb9e,_0x490cd5=_0x5efe64[_0x2589be(0x486)],_0x2861d2=_0x490cd5[_0x2589be(0x3ad)],_0x442c93=_0x5efe64[_0x2589be(0x430)];_0x442c93[_0x2589be(0x514)]={'stringify':function(_0x392ea1){const _0xb5ed0e=_0x2589be;var _0x5d9577=_0x392ea1[_0xb5ed0e(0x61d)],_0x3a7e3b=_0x392ea1['sigBytes'],_0x4cb187=this[_0xb5ed0e(0x245)];_0x392ea1[_0xb5ed0e(0x669)]();for(var _0x194f91=[],_0x4d3a52=0x0;_0x4d3a52<_0x3a7e3b;_0x4d3a52+=0x3)for(var _0x47aac0=_0x5d9577[_0x4d3a52>>>0x2]>>>0x18-_0x4d3a52%0x4*0x8&0xff,_0x685561=_0x5d9577[_0x4d3a52+0x1>>>0x2]>>>0x18-(_0x4d3a52+0x1)%0x4*0x8&0xff,_0x1dcea0=_0x5d9577[_0x4d3a52+0x2>>>0x2]>>>0x18-(_0x4d3a52+0x2)%0x4*0x8&0xff,_0x5e7c18=_0x47aac0<<0x10|_0x685561<<0x8|_0x1dcea0,_0x586fe1=0x0;_0x586fe1<0x4&&_0x4d3a52+_0x586fe1*0.75<_0x3a7e3b;_0x586fe1++)_0x194f91['push'](_0x4cb187['charAt'](_0x5e7c18>>>0x6*(0x3-_0x586fe1)&0x3f));var _0x391ab7=_0x4cb187[_0xb5ed0e(0x468)](0x40);if(_0x391ab7){for(;_0x194f91[_0xb5ed0e(0x2df)]%0x4;)_0x194f91[_0xb5ed0e(0x28f)](_0x391ab7);}return _0x194f91[_0xb5ed0e(0x398)]('');},'parse':function(_0x4edce1){const _0x1de2bc=_0x2589be;var _0x4b0f9a=_0x4edce1[_0x1de2bc(0x2df)],_0x12ac77=this[_0x1de2bc(0x245)],_0x534491=this[_0x1de2bc(0x377)];if(!_0x534491){_0x534491=this[_0x1de2bc(0x377)]=[];for(var _0x358bea=0x0;_0x358bea<_0x12ac77['length'];_0x358bea++)_0x534491[_0x12ac77['charCodeAt'](_0x358bea)]=_0x358bea;}var _0x351972=_0x12ac77[_0x1de2bc(0x468)](0x40);if(_0x351972){var _0x272be2=_0x4edce1[_0x1de2bc(0x316)](_0x351972);_0x272be2!==-0x1&&(_0x4b0f9a=_0x272be2);}return _0x381685(_0x4edce1,_0x4b0f9a,_0x534491);},'_map':_0x2589be(0x2de)};function _0x381685(_0x30247e,_0x1578c1,_0x3fdc62){const _0x18b559=_0x2589be;for(var _0x294f2b=[],_0x55a4d7=0x0,_0x4a427f=0x0;_0x4a427f<_0x1578c1;_0x4a427f++)if(_0x4a427f%0x4){var _0x380c28=_0x3fdc62[_0x30247e[_0x18b559(0x374)](_0x4a427f-0x1)]<<_0x4a427f%0x4*0x2,_0xf191d0=_0x3fdc62[_0x30247e['charCodeAt'](_0x4a427f)]>>>0x6-_0x4a427f%0x4*0x2,_0x4aff40=_0x380c28|_0xf191d0;_0x294f2b[_0x55a4d7>>>0x2]|=_0x4aff40<<0x18-_0x55a4d7%0x4*0x8,_0x55a4d7++;}return _0x2861d2[_0x18b559(0x54c)](_0x294f2b,_0x55a4d7);}}()),_0x8cb9e['enc'][_0x2d9dca(0x514)];}));}(_0x1347e8)),_0x1347e8['exports'];}var _0x16adaa={'exports':{}},_0x561e7a;function _0x5d40ff(){const _0x3a1b8e=_0x270b48;return _0x561e7a||(_0x561e7a=0x1,function(_0x139045,_0x24aead){(function(_0x300cd6,_0x3dedb0){const _0x3797cd=_0x5645;_0x139045[_0x3797cd(0x3ab)]=_0x3dedb0(_0x159fd1());}(_0x7a6336,function(_0x59ed08){return function(_0x18c06e){const _0x527a2f=_0x5645;var _0x305f3c=_0x59ed08,_0x40df0a=_0x305f3c['lib'],_0x4aa81c=_0x40df0a[_0x527a2f(0x3ad)],_0x27b916=_0x40df0a[_0x527a2f(0x555)],_0xff715a=_0x305f3c['algo'],_0xe51ec0=[];(function(){const _0x2c3f9d=_0x527a2f;for(var _0x55504a=0x0;_0x55504a<0x40;_0x55504a++)_0xe51ec0[_0x55504a]=_0x18c06e[_0x2c3f9d(0x642)](_0x18c06e[_0x2c3f9d(0x535)](_0x55504a+0x1))*0x100000000|0x0;}());var _0x33c545=_0xff715a['MD5']=_0x27b916['extend']({'_doReset':function(){const _0x18f681=_0x527a2f;this[_0x18f681(0x241)]=new _0x4aa81c['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3a85c5,_0x6160fe){const _0x31ac12=_0x527a2f;for(var _0x3c43c3=0x0;_0x3c43c3<0x10;_0x3c43c3++){var _0x410b0a=_0x6160fe+_0x3c43c3,_0x165eb2=_0x3a85c5[_0x410b0a];_0x3a85c5[_0x410b0a]=(_0x165eb2<<0x8|_0x165eb2>>>0x18)&0xff00ff|(_0x165eb2<<0x18|_0x165eb2>>>0x8)&0xff00ff00;}var _0x4074d7=this[_0x31ac12(0x241)][_0x31ac12(0x61d)],_0x4434fc=_0x3a85c5[_0x6160fe+0x0],_0x3fecc6=_0x3a85c5[_0x6160fe+0x1],_0x27144d=_0x3a85c5[_0x6160fe+0x2],_0x201887=_0x3a85c5[_0x6160fe+0x3],_0x33e311=_0x3a85c5[_0x6160fe+0x4],_0x569fbe=_0x3a85c5[_0x6160fe+0x5],_0x368dda=_0x3a85c5[_0x6160fe+0x6],_0x25c930=_0x3a85c5[_0x6160fe+0x7],_0x4a2be4=_0x3a85c5[_0x6160fe+0x8],_0x22981a=_0x3a85c5[_0x6160fe+0x9],_0x3ab64a=_0x3a85c5[_0x6160fe+0xa],_0x499662=_0x3a85c5[_0x6160fe+0xb],_0x3c093a=_0x3a85c5[_0x6160fe+0xc],_0x53106c=_0x3a85c5[_0x6160fe+0xd],_0x4eb0ca=_0x3a85c5[_0x6160fe+0xe],_0x57dea9=_0x3a85c5[_0x6160fe+0xf],_0x4203cc=_0x4074d7[0x0],_0x545da5=_0x4074d7[0x1],_0x16d350=_0x4074d7[0x2],_0x445c68=_0x4074d7[0x3];_0x4203cc=_0x5a11f1(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x4434fc,0x7,_0xe51ec0[0x0]),_0x445c68=_0x5a11f1(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x3fecc6,0xc,_0xe51ec0[0x1]),_0x16d350=_0x5a11f1(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x27144d,0x11,_0xe51ec0[0x2]),_0x545da5=_0x5a11f1(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x201887,0x16,_0xe51ec0[0x3]),_0x4203cc=_0x5a11f1(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x33e311,0x7,_0xe51ec0[0x4]),_0x445c68=_0x5a11f1(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x569fbe,0xc,_0xe51ec0[0x5]),_0x16d350=_0x5a11f1(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x368dda,0x11,_0xe51ec0[0x6]),_0x545da5=_0x5a11f1(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x25c930,0x16,_0xe51ec0[0x7]),_0x4203cc=_0x5a11f1(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x4a2be4,0x7,_0xe51ec0[0x8]),_0x445c68=_0x5a11f1(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x22981a,0xc,_0xe51ec0[0x9]),_0x16d350=_0x5a11f1(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x3ab64a,0x11,_0xe51ec0[0xa]),_0x545da5=_0x5a11f1(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x499662,0x16,_0xe51ec0[0xb]),_0x4203cc=_0x5a11f1(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x3c093a,0x7,_0xe51ec0[0xc]),_0x445c68=_0x5a11f1(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x53106c,0xc,_0xe51ec0[0xd]),_0x16d350=_0x5a11f1(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x4eb0ca,0x11,_0xe51ec0[0xe]),_0x545da5=_0x5a11f1(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x57dea9,0x16,_0xe51ec0[0xf]),_0x4203cc=_0x5357c9(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x3fecc6,0x5,_0xe51ec0[0x10]),_0x445c68=_0x5357c9(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x368dda,0x9,_0xe51ec0[0x11]),_0x16d350=_0x5357c9(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x499662,0xe,_0xe51ec0[0x12]),_0x545da5=_0x5357c9(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x4434fc,0x14,_0xe51ec0[0x13]),_0x4203cc=_0x5357c9(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x569fbe,0x5,_0xe51ec0[0x14]),_0x445c68=_0x5357c9(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x3ab64a,0x9,_0xe51ec0[0x15]),_0x16d350=_0x5357c9(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x57dea9,0xe,_0xe51ec0[0x16]),_0x545da5=_0x5357c9(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x33e311,0x14,_0xe51ec0[0x17]),_0x4203cc=_0x5357c9(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x22981a,0x5,_0xe51ec0[0x18]),_0x445c68=_0x5357c9(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x4eb0ca,0x9,_0xe51ec0[0x19]),_0x16d350=_0x5357c9(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x201887,0xe,_0xe51ec0[0x1a]),_0x545da5=_0x5357c9(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x4a2be4,0x14,_0xe51ec0[0x1b]),_0x4203cc=_0x5357c9(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x53106c,0x5,_0xe51ec0[0x1c]),_0x445c68=_0x5357c9(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x27144d,0x9,_0xe51ec0[0x1d]),_0x16d350=_0x5357c9(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x25c930,0xe,_0xe51ec0[0x1e]),_0x545da5=_0x5357c9(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x3c093a,0x14,_0xe51ec0[0x1f]),_0x4203cc=_0x1d3b5e(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x569fbe,0x4,_0xe51ec0[0x20]),_0x445c68=_0x1d3b5e(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x4a2be4,0xb,_0xe51ec0[0x21]),_0x16d350=_0x1d3b5e(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x499662,0x10,_0xe51ec0[0x22]),_0x545da5=_0x1d3b5e(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x4eb0ca,0x17,_0xe51ec0[0x23]),_0x4203cc=_0x1d3b5e(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x3fecc6,0x4,_0xe51ec0[0x24]),_0x445c68=_0x1d3b5e(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x33e311,0xb,_0xe51ec0[0x25]),_0x16d350=_0x1d3b5e(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x25c930,0x10,_0xe51ec0[0x26]),_0x545da5=_0x1d3b5e(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x3ab64a,0x17,_0xe51ec0[0x27]),_0x4203cc=_0x1d3b5e(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x53106c,0x4,_0xe51ec0[0x28]),_0x445c68=_0x1d3b5e(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x4434fc,0xb,_0xe51ec0[0x29]),_0x16d350=_0x1d3b5e(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x201887,0x10,_0xe51ec0[0x2a]),_0x545da5=_0x1d3b5e(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x368dda,0x17,_0xe51ec0[0x2b]),_0x4203cc=_0x1d3b5e(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x22981a,0x4,_0xe51ec0[0x2c]),_0x445c68=_0x1d3b5e(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x3c093a,0xb,_0xe51ec0[0x2d]),_0x16d350=_0x1d3b5e(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x57dea9,0x10,_0xe51ec0[0x2e]),_0x545da5=_0x1d3b5e(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x27144d,0x17,_0xe51ec0[0x2f]),_0x4203cc=_0x2c27b3(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x4434fc,0x6,_0xe51ec0[0x30]),_0x445c68=_0x2c27b3(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x25c930,0xa,_0xe51ec0[0x31]),_0x16d350=_0x2c27b3(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x4eb0ca,0xf,_0xe51ec0[0x32]),_0x545da5=_0x2c27b3(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x569fbe,0x15,_0xe51ec0[0x33]),_0x4203cc=_0x2c27b3(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x3c093a,0x6,_0xe51ec0[0x34]),_0x445c68=_0x2c27b3(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x201887,0xa,_0xe51ec0[0x35]),_0x16d350=_0x2c27b3(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x3ab64a,0xf,_0xe51ec0[0x36]),_0x545da5=_0x2c27b3(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x3fecc6,0x15,_0xe51ec0[0x37]),_0x4203cc=_0x2c27b3(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x4a2be4,0x6,_0xe51ec0[0x38]),_0x445c68=_0x2c27b3(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x57dea9,0xa,_0xe51ec0[0x39]),_0x16d350=_0x2c27b3(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x368dda,0xf,_0xe51ec0[0x3a]),_0x545da5=_0x2c27b3(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x53106c,0x15,_0xe51ec0[0x3b]),_0x4203cc=_0x2c27b3(_0x4203cc,_0x545da5,_0x16d350,_0x445c68,_0x33e311,0x6,_0xe51ec0[0x3c]),_0x445c68=_0x2c27b3(_0x445c68,_0x4203cc,_0x545da5,_0x16d350,_0x499662,0xa,_0xe51ec0[0x3d]),_0x16d350=_0x2c27b3(_0x16d350,_0x445c68,_0x4203cc,_0x545da5,_0x27144d,0xf,_0xe51ec0[0x3e]),_0x545da5=_0x2c27b3(_0x545da5,_0x16d350,_0x445c68,_0x4203cc,_0x22981a,0x15,_0xe51ec0[0x3f]),_0x4074d7[0x0]=_0x4074d7[0x0]+_0x4203cc|0x0,_0x4074d7[0x1]=_0x4074d7[0x1]+_0x545da5|0x0,_0x4074d7[0x2]=_0x4074d7[0x2]+_0x16d350|0x0,_0x4074d7[0x3]=_0x4074d7[0x3]+_0x445c68|0x0;},'_doFinalize':function(){const _0x4a072d=_0x527a2f;var _0x46ded4=this[_0x4a072d(0x2a6)],_0x60e6e7=_0x46ded4[_0x4a072d(0x61d)],_0x88b8c=this[_0x4a072d(0x319)]*0x8,_0x492af=_0x46ded4[_0x4a072d(0x26d)]*0x8;_0x60e6e7[_0x492af>>>0x5]|=0x80<<0x18-_0x492af%0x20;var _0x452da0=_0x18c06e['floor'](_0x88b8c/0x100000000),_0x382c08=_0x88b8c;_0x60e6e7[(_0x492af+0x40>>>0x9<<0x4)+0xf]=(_0x452da0<<0x8|_0x452da0>>>0x18)&0xff00ff|(_0x452da0<<0x18|_0x452da0>>>0x8)&0xff00ff00,_0x60e6e7[(_0x492af+0x40>>>0x9<<0x4)+0xe]=(_0x382c08<<0x8|_0x382c08>>>0x18)&0xff00ff|(_0x382c08<<0x18|_0x382c08>>>0x8)&0xff00ff00,_0x46ded4[_0x4a072d(0x26d)]=(_0x60e6e7[_0x4a072d(0x2df)]+0x1)*0x4,this[_0x4a072d(0x26c)]();for(var _0x31f68f=this[_0x4a072d(0x241)],_0x204dad=_0x31f68f['words'],_0x263efc=0x0;_0x263efc<0x4;_0x263efc++){var _0x486734=_0x204dad[_0x263efc];_0x204dad[_0x263efc]=(_0x486734<<0x8|_0x486734>>>0x18)&0xff00ff|(_0x486734<<0x18|_0x486734>>>0x8)&0xff00ff00;}return _0x31f68f;},'clone':function(){const _0x34ce80=_0x527a2f;var _0x11a735=_0x27b916[_0x34ce80(0x1f0)][_0x34ce80(0x27f)](this);return _0x11a735[_0x34ce80(0x241)]=this['_hash'][_0x34ce80(0x1f0)](),_0x11a735;}});function _0x5a11f1(_0x412284,_0x14ce1a,_0x36c9c7,_0x31dd24,_0x5b52b7,_0x44dd7d,_0x334a39){var _0x417b0f=_0x412284+(_0x14ce1a&_0x36c9c7|~_0x14ce1a&_0x31dd24)+_0x5b52b7+_0x334a39;return(_0x417b0f<<_0x44dd7d|_0x417b0f>>>0x20-_0x44dd7d)+_0x14ce1a;}function _0x5357c9(_0x46e062,_0x27cfbc,_0x11f1fd,_0x5e97c4,_0x390df6,_0x442ae3,_0x5f066c){var _0x3fe36d=_0x46e062+(_0x27cfbc&_0x5e97c4|_0x11f1fd&~_0x5e97c4)+_0x390df6+_0x5f066c;return(_0x3fe36d<<_0x442ae3|_0x3fe36d>>>0x20-_0x442ae3)+_0x27cfbc;}function _0x1d3b5e(_0x39cd0d,_0x247618,_0x299e10,_0x3781b2,_0x4ca97e,_0x4d1d52,_0x26931f){var _0x81543d=_0x39cd0d+(_0x247618^_0x299e10^_0x3781b2)+_0x4ca97e+_0x26931f;return(_0x81543d<<_0x4d1d52|_0x81543d>>>0x20-_0x4d1d52)+_0x247618;}function _0x2c27b3(_0x1537c9,_0x52e923,_0x262d8d,_0x4d9b3e,_0x4a9bf6,_0x3ac252,_0x6d44dc){var _0x15d23e=_0x1537c9+(_0x262d8d^(_0x52e923|~_0x4d9b3e))+_0x4a9bf6+_0x6d44dc;return(_0x15d23e<<_0x3ac252|_0x15d23e>>>0x20-_0x3ac252)+_0x52e923;}_0x305f3c[_0x527a2f(0x34b)]=_0x27b916['_createHelper'](_0x33c545),_0x305f3c['HmacMD5']=_0x27b916['_createHmacHelper'](_0x33c545);}(Math),_0x59ed08['MD5'];}));}(_0x16adaa)),_0x16adaa[_0x3a1b8e(0x3ab)];}var _0x1d27b0={'exports':{}},_0x3b4bb7={'exports':{}},_0x2ce963;function _0x5386db(){const _0x2c8c95=_0x270b48;return _0x2ce963||(_0x2ce963=0x1,function(_0x4a0c89,_0x537c99){(function(_0x4f8968,_0x152a5b){const _0x2cb66f=_0x5645;_0x4a0c89[_0x2cb66f(0x3ab)]=_0x152a5b(_0x159fd1());}(_0x7a6336,function(_0x585e7c){const _0x152e06=_0x5645;return(function(){const _0x569dd1=_0x5645;var _0x170cbc=_0x585e7c,_0x1b18d4=_0x170cbc[_0x569dd1(0x486)],_0x4ae808=_0x1b18d4[_0x569dd1(0x3ad)],_0x281524=_0x1b18d4['Hasher'],_0x1dbb9d=_0x170cbc[_0x569dd1(0x25f)],_0x1472b5=[],_0x47fb62=_0x1dbb9d[_0x569dd1(0x4a4)]=_0x281524[_0x569dd1(0x567)]({'_doReset':function(){const _0x526745=_0x569dd1;this[_0x526745(0x241)]=new _0x4ae808[(_0x526745(0x24f))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x233f61,_0x21feb9){const _0x28f944=_0x569dd1;for(var _0x2576cb=this[_0x28f944(0x241)][_0x28f944(0x61d)],_0xdcd235=_0x2576cb[0x0],_0x4a1b92=_0x2576cb[0x1],_0x318435=_0x2576cb[0x2],_0x11f9db=_0x2576cb[0x3],_0x214273=_0x2576cb[0x4],_0x426a1c=0x0;_0x426a1c<0x50;_0x426a1c++){if(_0x426a1c<0x10)_0x1472b5[_0x426a1c]=_0x233f61[_0x21feb9+_0x426a1c]|0x0;else{var _0x22ee80=_0x1472b5[_0x426a1c-0x3]^_0x1472b5[_0x426a1c-0x8]^_0x1472b5[_0x426a1c-0xe]^_0x1472b5[_0x426a1c-0x10];_0x1472b5[_0x426a1c]=_0x22ee80<<0x1|_0x22ee80>>>0x1f;}var _0x37a1a2=(_0xdcd235<<0x5|_0xdcd235>>>0x1b)+_0x214273+_0x1472b5[_0x426a1c];_0x426a1c<0x14?_0x37a1a2+=(_0x4a1b92&_0x318435|~_0x4a1b92&_0x11f9db)+0x5a827999:_0x426a1c<0x28?_0x37a1a2+=(_0x4a1b92^_0x318435^_0x11f9db)+0x6ed9eba1:_0x426a1c<0x3c?_0x37a1a2+=(_0x4a1b92&_0x318435|_0x4a1b92&_0x11f9db|_0x318435&_0x11f9db)-0x70e44324:_0x37a1a2+=(_0x4a1b92^_0x318435^_0x11f9db)-0x359d3e2a,_0x214273=_0x11f9db,_0x11f9db=_0x318435,_0x318435=_0x4a1b92<<0x1e|_0x4a1b92>>>0x2,_0x4a1b92=_0xdcd235,_0xdcd235=_0x37a1a2;}_0x2576cb[0x0]=_0x2576cb[0x0]+_0xdcd235|0x0,_0x2576cb[0x1]=_0x2576cb[0x1]+_0x4a1b92|0x0,_0x2576cb[0x2]=_0x2576cb[0x2]+_0x318435|0x0,_0x2576cb[0x3]=_0x2576cb[0x3]+_0x11f9db|0x0,_0x2576cb[0x4]=_0x2576cb[0x4]+_0x214273|0x0;},'_doFinalize':function(){const _0x486a49=_0x569dd1;var _0x29883f=this[_0x486a49(0x2a6)],_0xaebabe=_0x29883f[_0x486a49(0x61d)],_0x5c6552=this['_nDataBytes']*0x8,_0x43e4bc=_0x29883f[_0x486a49(0x26d)]*0x8;return _0xaebabe[_0x43e4bc>>>0x5]|=0x80<<0x18-_0x43e4bc%0x20,_0xaebabe[(_0x43e4bc+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x5c6552/0x100000000),_0xaebabe[(_0x43e4bc+0x40>>>0x9<<0x4)+0xf]=_0x5c6552,_0x29883f[_0x486a49(0x26d)]=_0xaebabe[_0x486a49(0x2df)]*0x4,this[_0x486a49(0x26c)](),this[_0x486a49(0x241)];},'clone':function(){const _0x295100=_0x569dd1;var _0x2632e1=_0x281524[_0x295100(0x1f0)][_0x295100(0x27f)](this);return _0x2632e1[_0x295100(0x241)]=this[_0x295100(0x241)][_0x295100(0x1f0)](),_0x2632e1;}});_0x170cbc['SHA1']=_0x281524[_0x569dd1(0x54f)](_0x47fb62),_0x170cbc[_0x569dd1(0x359)]=_0x281524[_0x569dd1(0x214)](_0x47fb62);}()),_0x585e7c[_0x152e06(0x4a4)];}));}(_0x3b4bb7)),_0x3b4bb7[_0x2c8c95(0x3ab)];}var _0x222d13={'exports':{}},_0x533d08;function _0x3d822d(){return _0x533d08||(_0x533d08=0x1,function(_0xce96cf,_0x2125ce){(function(_0x28124a,_0x9f4117){const _0x349274=_0x5645;_0xce96cf[_0x349274(0x3ab)]=_0x9f4117(_0x159fd1());}(_0x7a6336,function(_0x59af9c){(function(){const _0x2a4e53=_0x5645;var _0x3e194f=_0x59af9c,_0x1429df=_0x3e194f[_0x2a4e53(0x486)],_0x4c05af=_0x1429df['Base'],_0x43fd16=_0x3e194f[_0x2a4e53(0x430)],_0x518662=_0x43fd16[_0x2a4e53(0x3c4)],_0x1b1d21=_0x3e194f['algo'];_0x1b1d21[_0x2a4e53(0x235)]=_0x4c05af[_0x2a4e53(0x567)]({'init':function(_0x596798,_0x5a228d){const _0x525d47=_0x2a4e53;_0x596798=this[_0x525d47(0x37b)]=new _0x596798['init'](),typeof _0x5a228d==_0x525d47(0x451)&&(_0x5a228d=_0x518662[_0x525d47(0x222)](_0x5a228d));var _0x3f23d1=_0x596798[_0x525d47(0x521)],_0x2273fe=_0x3f23d1*0x4;_0x5a228d[_0x525d47(0x26d)]>_0x2273fe&&(_0x5a228d=_0x596798[_0x525d47(0x2c8)](_0x5a228d)),_0x5a228d[_0x525d47(0x669)]();for(var _0x3098e1=this[_0x525d47(0x67f)]=_0x5a228d[_0x525d47(0x1f0)](),_0xe65c4f=this['_iKey']=_0x5a228d[_0x525d47(0x1f0)](),_0x40276c=_0x3098e1['words'],_0x12b32f=_0xe65c4f[_0x525d47(0x61d)],_0x1cd153=0x0;_0x1cd153<_0x3f23d1;_0x1cd153++)_0x40276c[_0x1cd153]^=0x5c5c5c5c,_0x12b32f[_0x1cd153]^=0x36363636;_0x3098e1[_0x525d47(0x26d)]=_0xe65c4f[_0x525d47(0x26d)]=_0x2273fe,this[_0x525d47(0x399)]();},'reset':function(){const _0x6185cf=_0x2a4e53;var _0x2920a0=this[_0x6185cf(0x37b)];_0x2920a0[_0x6185cf(0x399)](),_0x2920a0[_0x6185cf(0x3de)](this[_0x6185cf(0x4ec)]);},'update':function(_0xb8a5fb){const _0x197671=_0x2a4e53;return this[_0x197671(0x37b)][_0x197671(0x3de)](_0xb8a5fb),this;},'finalize':function(_0x4edc34){const _0x398001=_0x2a4e53;var _0x23e9fa=this[_0x398001(0x37b)],_0x763239=_0x23e9fa[_0x398001(0x2c8)](_0x4edc34);_0x23e9fa[_0x398001(0x399)]();var _0x1a6a4e=_0x23e9fa[_0x398001(0x2c8)](this[_0x398001(0x67f)][_0x398001(0x1f0)]()[_0x398001(0x32d)](_0x763239));return _0x1a6a4e;}});}());}));}(_0x222d13)),_0x222d13['exports'];}var _0x589cf8;function _0x22c2e4(){const _0x165b3a=_0x270b48;return _0x589cf8||(_0x589cf8=0x1,function(_0x4c017c,_0x376eae){(function(_0x102146,_0x3f58ec,_0x303edf){const _0x4cf2d8=_0x5645;_0x4c017c[_0x4cf2d8(0x3ab)]=_0x3f58ec(_0x159fd1(),_0x5386db(),_0x3d822d());}(_0x7a6336,function(_0x32e44c){const _0xff588a=_0x5645;return(function(){const _0x39f37d=_0x5645;var _0x4b3025=_0x32e44c,_0x3ee506=_0x4b3025[_0x39f37d(0x486)],_0x21f9cc=_0x3ee506['Base'],_0x3759b9=_0x3ee506[_0x39f37d(0x3ad)],_0x6582e0=_0x4b3025['algo'],_0x3ef523=_0x6582e0['MD5'],_0x45668a=_0x6582e0[_0x39f37d(0x247)]=_0x21f9cc['extend']({'cfg':_0x21f9cc[_0x39f37d(0x567)]({'keySize':0x80/0x20,'hasher':_0x3ef523,'iterations':0x1}),'init':function(_0xe0f2ea){const _0x20c35c=_0x39f37d;this['cfg']=this['cfg'][_0x20c35c(0x567)](_0xe0f2ea);},'compute':function(_0xb0ebbf,_0x4872c1){const _0x1288d2=_0x39f37d;for(var _0x5d4c46,_0x5a4a70=this[_0x1288d2(0x57e)],_0x5e6c32=_0x5a4a70['hasher'][_0x1288d2(0x54c)](),_0x43a707=_0x3759b9['create'](),_0x1ea21e=_0x43a707[_0x1288d2(0x61d)],_0x591c48=_0x5a4a70[_0x1288d2(0x262)],_0x2aa291=_0x5a4a70['iterations'];_0x1ea21e[_0x1288d2(0x2df)]<_0x591c48;){_0x5d4c46&&_0x5e6c32['update'](_0x5d4c46),_0x5d4c46=_0x5e6c32[_0x1288d2(0x3de)](_0xb0ebbf)[_0x1288d2(0x2c8)](_0x4872c1),_0x5e6c32[_0x1288d2(0x399)]();for(var _0x4ed239=0x1;_0x4ed239<_0x2aa291;_0x4ed239++)_0x5d4c46=_0x5e6c32['finalize'](_0x5d4c46),_0x5e6c32[_0x1288d2(0x399)]();_0x43a707[_0x1288d2(0x32d)](_0x5d4c46);}return _0x43a707['sigBytes']=_0x591c48*0x4,_0x43a707;}});_0x4b3025[_0x39f37d(0x247)]=function(_0x356383,_0x46ab22,_0x360982){const _0xcaba57=_0x39f37d;return _0x45668a[_0xcaba57(0x54c)](_0x360982)[_0xcaba57(0x61a)](_0x356383,_0x46ab22);};}()),_0x32e44c[_0xff588a(0x247)];}));}(_0x1d27b0)),_0x1d27b0[_0x165b3a(0x3ab)];}var _0x4a0213={'exports':{}},_0xf89b0b;function _0x45b237(){const _0x3d3d8f=_0x270b48;return _0xf89b0b||(_0xf89b0b=0x1,function(_0x1caeb2,_0x7f9a5e){(function(_0x2d55eb,_0x41863e,_0x35ef97){const _0x415e55=_0x5645;_0x1caeb2[_0x415e55(0x3ab)]=_0x41863e(_0x159fd1(),_0x22c2e4());}(_0x7a6336,function(_0x116df0){const _0x10fa46=_0x5645;_0x116df0[_0x10fa46(0x486)][_0x10fa46(0x66a)]||function(_0x588e4d){const _0x43fea3=_0x10fa46;var _0x1f0b0f=_0x116df0,_0x2c9d0f=_0x1f0b0f['lib'],_0x57d960=_0x2c9d0f[_0x43fea3(0x228)],_0x36f4d0=_0x2c9d0f[_0x43fea3(0x3ad)],_0x5d0a94=_0x2c9d0f['BufferedBlockAlgorithm'],_0x445c3e=_0x1f0b0f[_0x43fea3(0x430)];_0x445c3e[_0x43fea3(0x3c4)];var _0x16f03b=_0x445c3e[_0x43fea3(0x514)],_0x6789da=_0x1f0b0f[_0x43fea3(0x25f)],_0x53c6fb=_0x6789da[_0x43fea3(0x247)],_0x19921b=_0x2c9d0f[_0x43fea3(0x66a)]=_0x5d0a94[_0x43fea3(0x567)]({'cfg':_0x57d960[_0x43fea3(0x567)](),'createEncryptor':function(_0x24c1de,_0x4dc577){const _0xf92fc4=_0x43fea3;return this[_0xf92fc4(0x54c)](this[_0xf92fc4(0x5e9)],_0x24c1de,_0x4dc577);},'createDecryptor':function(_0x532686,_0x4f5c60){const _0x8c7c8c=_0x43fea3;return this[_0x8c7c8c(0x54c)](this[_0x8c7c8c(0x3ec)],_0x532686,_0x4f5c60);},'init':function(_0x25016f,_0x313407,_0x4ee704){const _0x384669=_0x43fea3;this[_0x384669(0x57e)]=this[_0x384669(0x57e)]['extend'](_0x4ee704),this[_0x384669(0x62a)]=_0x25016f,this[_0x384669(0x39f)]=_0x313407,this['reset']();},'reset':function(){const _0x440ba0=_0x43fea3;_0x5d0a94[_0x440ba0(0x399)][_0x440ba0(0x27f)](this),this[_0x440ba0(0x475)]();},'process':function(_0x156e9a){const _0x6089fd=_0x43fea3;return this[_0x6089fd(0x312)](_0x156e9a),this[_0x6089fd(0x26c)]();},'finalize':function(_0x311134){const _0x111bde=_0x43fea3;_0x311134&&this['_append'](_0x311134);var _0x267551=this[_0x111bde(0x631)]();return _0x267551;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1221a8(_0x2f9a12){const _0xd95155=_0x5645;return typeof _0x2f9a12==_0xd95155(0x451)?_0x123559:_0x4c7166;}return function(_0x292ad7){return{'encrypt':function(_0x11ecf7,_0x2ae111,_0x124f6d){return _0x1221a8(_0x2ae111)['encrypt'](_0x292ad7,_0x11ecf7,_0x2ae111,_0x124f6d);},'decrypt':function(_0x56a9b5,_0x1d4f4c,_0x514c96){const _0x3f8de3=_0x5645;return _0x1221a8(_0x1d4f4c)[_0x3f8de3(0x44b)](_0x292ad7,_0x56a9b5,_0x1d4f4c,_0x514c96);}};};}())});_0x2c9d0f[_0x43fea3(0x4bc)]=_0x19921b[_0x43fea3(0x567)]({'_doFinalize':function(){const _0x586a63=_0x43fea3;var _0x3cc9e2=this[_0x586a63(0x26c)](!0x0);return _0x3cc9e2;},'blockSize':0x1});var _0x260a0c=_0x1f0b0f[_0x43fea3(0x1ec)]={},_0x3d7b6d=_0x2c9d0f[_0x43fea3(0x23c)]=_0x57d960['extend']({'createEncryptor':function(_0x198361,_0x4a96bc){const _0x2da124=_0x43fea3;return this['Encryptor'][_0x2da124(0x54c)](_0x198361,_0x4a96bc);},'createDecryptor':function(_0x52ea1c,_0x20985a){const _0x3fe7db=_0x43fea3;return this['Decryptor'][_0x3fe7db(0x54c)](_0x52ea1c,_0x20985a);},'init':function(_0x392c6f,_0x1965a6){const _0x3f6ec2=_0x43fea3;this[_0x3f6ec2(0x2ac)]=_0x392c6f,this[_0x3f6ec2(0x463)]=_0x1965a6;}}),_0xf0372e=_0x260a0c[_0x43fea3(0x42b)]=(function(){const _0x59f242=_0x43fea3;var _0x2196f8=_0x3d7b6d[_0x59f242(0x567)]();_0x2196f8['Encryptor']=_0x2196f8[_0x59f242(0x567)]({'processBlock':function(_0x33a280,_0x524f7f){const _0x115341=_0x59f242;var _0x34470a=this[_0x115341(0x2ac)],_0x2f0f2e=_0x34470a[_0x115341(0x521)];_0x29ff3a[_0x115341(0x27f)](this,_0x33a280,_0x524f7f,_0x2f0f2e),_0x34470a[_0x115341(0x282)](_0x33a280,_0x524f7f),this[_0x115341(0x35c)]=_0x33a280['slice'](_0x524f7f,_0x524f7f+_0x2f0f2e);}}),_0x2196f8['Decryptor']=_0x2196f8[_0x59f242(0x567)]({'processBlock':function(_0x20045a,_0xf35b3a){const _0xf619d0=_0x59f242;var _0x17af62=this[_0xf619d0(0x2ac)],_0x1f508a=_0x17af62[_0xf619d0(0x521)],_0x16868c=_0x20045a[_0xf619d0(0x4ac)](_0xf35b3a,_0xf35b3a+_0x1f508a);_0x17af62[_0xf619d0(0x227)](_0x20045a,_0xf35b3a),_0x29ff3a[_0xf619d0(0x27f)](this,_0x20045a,_0xf35b3a,_0x1f508a),this[_0xf619d0(0x35c)]=_0x16868c;}});function _0x29ff3a(_0x10aa37,_0x24e74c,_0x4f1ed6){const _0x133bf9=_0x59f242;var _0x464c85,_0x595139=this[_0x133bf9(0x463)];_0x595139?(_0x464c85=_0x595139,this[_0x133bf9(0x463)]=_0x588e4d):_0x464c85=this['_prevBlock'];for(var _0x3b4eba=0x0;_0x3b4eba<_0x4f1ed6;_0x3b4eba++)_0x10aa37[_0x24e74c+_0x3b4eba]^=_0x464c85[_0x3b4eba];}return _0x2196f8;}()),_0x258934=_0x1f0b0f[_0x43fea3(0x566)]={},_0x2da643=_0x258934[_0x43fea3(0x3f2)]={'pad':function(_0x2e020a,_0x127079){const _0xb991d=_0x43fea3;for(var _0x1fa3ba=_0x127079*0x4,_0x5b62ef=_0x1fa3ba-_0x2e020a['sigBytes']%_0x1fa3ba,_0x4d0499=_0x5b62ef<<0x18|_0x5b62ef<<0x10|_0x5b62ef<<0x8|_0x5b62ef,_0x3f23bf=[],_0x347cb0=0x0;_0x347cb0<_0x5b62ef;_0x347cb0+=0x4)_0x3f23bf[_0xb991d(0x28f)](_0x4d0499);var _0x4c06a4=_0x36f4d0['create'](_0x3f23bf,_0x5b62ef);_0x2e020a[_0xb991d(0x32d)](_0x4c06a4);},'unpad':function(_0xaaa20e){const _0x2220bb=_0x43fea3;var _0x240981=_0xaaa20e[_0x2220bb(0x61d)][_0xaaa20e[_0x2220bb(0x26d)]-0x1>>>0x2]&0xff;_0xaaa20e[_0x2220bb(0x26d)]-=_0x240981;}};_0x2c9d0f[_0x43fea3(0x375)]=_0x19921b['extend']({'cfg':_0x19921b[_0x43fea3(0x57e)]['extend']({'mode':_0xf0372e,'padding':_0x2da643}),'reset':function(){const _0xfab907=_0x43fea3;var _0x5454e2;_0x19921b[_0xfab907(0x399)][_0xfab907(0x27f)](this);var _0xbe96e7=this[_0xfab907(0x57e)],_0x4c229d=_0xbe96e7['iv'],_0x361a81=_0xbe96e7[_0xfab907(0x1ec)];this['_xformMode']==this[_0xfab907(0x5e9)]?_0x5454e2=_0x361a81[_0xfab907(0x2a4)]:(_0x5454e2=_0x361a81[_0xfab907(0x3cd)],this['_minBufferSize']=0x1),this[_0xfab907(0x44c)]&&this[_0xfab907(0x44c)]['__creator']==_0x5454e2?this[_0xfab907(0x44c)][_0xfab907(0x24f)](this,_0x4c229d&&_0x4c229d[_0xfab907(0x61d)]):(this[_0xfab907(0x44c)]=_0x5454e2[_0xfab907(0x27f)](_0x361a81,this,_0x4c229d&&_0x4c229d[_0xfab907(0x61d)]),this['_mode'][_0xfab907(0x576)]=_0x5454e2);},'_doProcessBlock':function(_0x1b4db6,_0x148468){const _0x171213=_0x43fea3;this['_mode'][_0x171213(0x684)](_0x1b4db6,_0x148468);},'_doFinalize':function(){const _0x40ce3e=_0x43fea3;var _0x55f35f,_0x58ef77=this[_0x40ce3e(0x57e)][_0x40ce3e(0x327)];return this[_0x40ce3e(0x62a)]==this['_ENC_XFORM_MODE']?(_0x58ef77[_0x40ce3e(0x566)](this['_data'],this[_0x40ce3e(0x521)]),_0x55f35f=this[_0x40ce3e(0x26c)](!0x0)):(_0x55f35f=this['_process'](!0x0),_0x58ef77[_0x40ce3e(0x1e9)](_0x55f35f)),_0x55f35f;},'blockSize':0x80/0x20});var _0x18dbc1=_0x2c9d0f[_0x43fea3(0x1dc)]=_0x57d960[_0x43fea3(0x567)]({'init':function(_0x4479ef){const _0x1b9686=_0x43fea3;this[_0x1b9686(0x3c8)](_0x4479ef);},'toString':function(_0x1e6363){const _0xebac4c=_0x43fea3;return(_0x1e6363||this[_0xebac4c(0x2c3)])[_0xebac4c(0x254)](this);}}),_0x25df35=_0x1f0b0f[_0x43fea3(0x203)]={},_0x281253=_0x25df35[_0x43fea3(0x621)]={'stringify':function(_0x4828a8){const _0x15404c=_0x43fea3;var _0x567d61,_0x513c2f=_0x4828a8[_0x15404c(0x25a)],_0x5b9124=_0x4828a8['salt'];return _0x5b9124?_0x567d61=_0x36f4d0[_0x15404c(0x54c)]([0x53616c74,0x65645f5f])[_0x15404c(0x32d)](_0x5b9124)[_0x15404c(0x32d)](_0x513c2f):_0x567d61=_0x513c2f,_0x567d61[_0x15404c(0x638)](_0x16f03b);},'parse':function(_0xa0be61){const _0x542430=_0x43fea3;var _0x2046a1,_0x582bf5=_0x16f03b[_0x542430(0x222)](_0xa0be61),_0x4431dd=_0x582bf5[_0x542430(0x61d)];return _0x4431dd[0x0]==0x53616c74&&_0x4431dd[0x1]==0x65645f5f&&(_0x2046a1=_0x36f4d0['create'](_0x4431dd[_0x542430(0x4ac)](0x2,0x4)),_0x4431dd['splice'](0x0,0x4),_0x582bf5[_0x542430(0x26d)]-=0x10),_0x18dbc1[_0x542430(0x54c)]({'ciphertext':_0x582bf5,'salt':_0x2046a1});}},_0x4c7166=_0x2c9d0f['SerializableCipher']=_0x57d960[_0x43fea3(0x567)]({'cfg':_0x57d960[_0x43fea3(0x567)]({'format':_0x281253}),'encrypt':function(_0x5984f6,_0x2a4b88,_0x3cf012,_0x50fdf2){const _0x5e6f2f=_0x43fea3;_0x50fdf2=this[_0x5e6f2f(0x57e)][_0x5e6f2f(0x567)](_0x50fdf2);var _0x215af3=_0x5984f6[_0x5e6f2f(0x2a4)](_0x3cf012,_0x50fdf2),_0x53c838=_0x215af3[_0x5e6f2f(0x2c8)](_0x2a4b88),_0x249bf8=_0x215af3[_0x5e6f2f(0x57e)];return _0x18dbc1['create']({'ciphertext':_0x53c838,'key':_0x3cf012,'iv':_0x249bf8['iv'],'algorithm':_0x5984f6,'mode':_0x249bf8[_0x5e6f2f(0x1ec)],'padding':_0x249bf8[_0x5e6f2f(0x327)],'blockSize':_0x5984f6[_0x5e6f2f(0x521)],'formatter':_0x50fdf2[_0x5e6f2f(0x203)]});},'decrypt':function(_0x3f3121,_0x36eb1c,_0x3e60b2,_0x6da520){const _0x2f15c3=_0x43fea3;_0x6da520=this[_0x2f15c3(0x57e)][_0x2f15c3(0x567)](_0x6da520),_0x36eb1c=this[_0x2f15c3(0x4e6)](_0x36eb1c,_0x6da520[_0x2f15c3(0x203)]);var _0x8d1a22=_0x3f3121[_0x2f15c3(0x3cd)](_0x3e60b2,_0x6da520)[_0x2f15c3(0x2c8)](_0x36eb1c[_0x2f15c3(0x25a)]);return _0x8d1a22;},'_parse':function(_0x35c7f2,_0x13dd38){const _0x4d7274=_0x43fea3;return typeof _0x35c7f2==_0x4d7274(0x451)?_0x13dd38[_0x4d7274(0x222)](_0x35c7f2,this):_0x35c7f2;}}),_0x1033c7=_0x1f0b0f[_0x43fea3(0x3b5)]={},_0x219d91=_0x1033c7[_0x43fea3(0x621)]={'execute':function(_0x450f88,_0x2923ad,_0x435891,_0x4cab51,_0x1af84a){const _0x51a4a9=_0x43fea3;if(_0x4cab51||(_0x4cab51=_0x36f4d0[_0x51a4a9(0x641)](0x40/0x8)),_0x1af84a)var _0x3f941e=_0x53c6fb[_0x51a4a9(0x54c)]({'keySize':_0x2923ad+_0x435891,'hasher':_0x1af84a})['compute'](_0x450f88,_0x4cab51);else var _0x3f941e=_0x53c6fb[_0x51a4a9(0x54c)]({'keySize':_0x2923ad+_0x435891})[_0x51a4a9(0x61a)](_0x450f88,_0x4cab51);var _0x4c3005=_0x36f4d0['create'](_0x3f941e['words'][_0x51a4a9(0x4ac)](_0x2923ad),_0x435891*0x4);return _0x3f941e[_0x51a4a9(0x26d)]=_0x2923ad*0x4,_0x18dbc1[_0x51a4a9(0x54c)]({'key':_0x3f941e,'iv':_0x4c3005,'salt':_0x4cab51});}},_0x123559=_0x2c9d0f[_0x43fea3(0x5e6)]=_0x4c7166[_0x43fea3(0x567)]({'cfg':_0x4c7166[_0x43fea3(0x57e)][_0x43fea3(0x567)]({'kdf':_0x219d91}),'encrypt':function(_0x3f8ce8,_0x447a41,_0x597a51,_0x1f24b2){const _0x1071e5=_0x43fea3;_0x1f24b2=this[_0x1071e5(0x57e)]['extend'](_0x1f24b2);var _0x100014=_0x1f24b2['kdf'][_0x1071e5(0x3e4)](_0x597a51,_0x3f8ce8[_0x1071e5(0x262)],_0x3f8ce8[_0x1071e5(0x55a)],_0x1f24b2[_0x1071e5(0x46d)],_0x1f24b2[_0x1071e5(0x37c)]);_0x1f24b2['iv']=_0x100014['iv'];var _0x9a244d=_0x4c7166[_0x1071e5(0x5e3)][_0x1071e5(0x27f)](this,_0x3f8ce8,_0x447a41,_0x100014[_0x1071e5(0x20c)],_0x1f24b2);return _0x9a244d[_0x1071e5(0x3c8)](_0x100014),_0x9a244d;},'decrypt':function(_0x21ed0c,_0x5d30ec,_0x23a689,_0x585a82){const _0x8e3f75=_0x43fea3;_0x585a82=this['cfg'][_0x8e3f75(0x567)](_0x585a82),_0x5d30ec=this[_0x8e3f75(0x4e6)](_0x5d30ec,_0x585a82[_0x8e3f75(0x203)]);var _0x2b1685=_0x585a82[_0x8e3f75(0x3b5)]['execute'](_0x23a689,_0x21ed0c[_0x8e3f75(0x262)],_0x21ed0c['ivSize'],_0x5d30ec['salt'],_0x585a82[_0x8e3f75(0x37c)]);_0x585a82['iv']=_0x2b1685['iv'];var _0x2bce41=_0x4c7166[_0x8e3f75(0x44b)][_0x8e3f75(0x27f)](this,_0x21ed0c,_0x5d30ec,_0x2b1685['key'],_0x585a82);return _0x2bce41;}});}();}));}(_0x4a0213)),_0x4a0213[_0x3d3d8f(0x3ab)];}(function(_0x339d05,_0x2563ac){(function(_0x21f958,_0x54bc8d,_0x21632a){_0x339d05['exports']=_0x54bc8d(_0x159fd1(),_0x3620fc(),_0x5d40ff(),_0x22c2e4(),_0x45b237());}(_0x7a6336,function(_0x4108c5){const _0x26b11d=_0x5645;return(function(){const _0x39fbfc=_0x5645;var _0x1768e6=_0x4108c5,_0x23037d=_0x1768e6[_0x39fbfc(0x486)],_0x424b10=_0x23037d[_0x39fbfc(0x375)],_0x57eec9=_0x1768e6[_0x39fbfc(0x25f)],_0x343c11=[],_0x1d63f6=[],_0x588307=[],_0x5407c8=[],_0x2a2bc9=[],_0xe01719=[],_0x1fb69e=[],_0x142537=[],_0x38da68=[],_0x1949c4=[];(function(){for(var _0x29d7fb=[],_0x22d045=0x0;_0x22d045<0x100;_0x22d045++)_0x22d045<0x80?_0x29d7fb[_0x22d045]=_0x22d045<<0x1:_0x29d7fb[_0x22d045]=_0x22d045<<0x1^0x11b;for(var _0x1ea83c=0x0,_0x2ca3e5=0x0,_0x22d045=0x0;_0x22d045<0x100;_0x22d045++){var _0x1cc67e=_0x2ca3e5^_0x2ca3e5<<0x1^_0x2ca3e5<<0x2^_0x2ca3e5<<0x3^_0x2ca3e5<<0x4;_0x1cc67e=_0x1cc67e>>>0x8^_0x1cc67e&0xff^0x63,_0x343c11[_0x1ea83c]=_0x1cc67e,_0x1d63f6[_0x1cc67e]=_0x1ea83c;var _0x4b5be8=_0x29d7fb[_0x1ea83c],_0x43421e=_0x29d7fb[_0x4b5be8],_0x133127=_0x29d7fb[_0x43421e],_0x31ddcd=_0x29d7fb[_0x1cc67e]*0x101^_0x1cc67e*0x1010100;_0x588307[_0x1ea83c]=_0x31ddcd<<0x18|_0x31ddcd>>>0x8,_0x5407c8[_0x1ea83c]=_0x31ddcd<<0x10|_0x31ddcd>>>0x10,_0x2a2bc9[_0x1ea83c]=_0x31ddcd<<0x8|_0x31ddcd>>>0x18,_0xe01719[_0x1ea83c]=_0x31ddcd;var _0x31ddcd=_0x133127*0x1010101^_0x43421e*0x10001^_0x4b5be8*0x101^_0x1ea83c*0x1010100;_0x1fb69e[_0x1cc67e]=_0x31ddcd<<0x18|_0x31ddcd>>>0x8,_0x142537[_0x1cc67e]=_0x31ddcd<<0x10|_0x31ddcd>>>0x10,_0x38da68[_0x1cc67e]=_0x31ddcd<<0x8|_0x31ddcd>>>0x18,_0x1949c4[_0x1cc67e]=_0x31ddcd,_0x1ea83c?(_0x1ea83c=_0x4b5be8^_0x29d7fb[_0x29d7fb[_0x29d7fb[_0x133127^_0x4b5be8]]],_0x2ca3e5^=_0x29d7fb[_0x29d7fb[_0x2ca3e5]]):_0x1ea83c=_0x2ca3e5=0x1;}}());var _0x186890=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5275dc=_0x57eec9[_0x39fbfc(0x26e)]=_0x424b10[_0x39fbfc(0x567)]({'_doReset':function(){const _0x4d3efd=_0x39fbfc;var _0xc025f9;if(!(this[_0x4d3efd(0x4eb)]&&this[_0x4d3efd(0x2aa)]===this[_0x4d3efd(0x39f)])){for(var _0x2bdaeb=this[_0x4d3efd(0x2aa)]=this[_0x4d3efd(0x39f)],_0x3d0663=_0x2bdaeb[_0x4d3efd(0x61d)],_0x1f002d=_0x2bdaeb[_0x4d3efd(0x26d)]/0x4,_0x530ee8=this[_0x4d3efd(0x4eb)]=_0x1f002d+0x6,_0x2101cc=(_0x530ee8+0x1)*0x4,_0x271499=this['_keySchedule']=[],_0x270378=0x0;_0x270378<_0x2101cc;_0x270378++)_0x270378<_0x1f002d?_0x271499[_0x270378]=_0x3d0663[_0x270378]:(_0xc025f9=_0x271499[_0x270378-0x1],_0x270378%_0x1f002d?_0x1f002d>0x6&&_0x270378%_0x1f002d==0x4&&(_0xc025f9=_0x343c11[_0xc025f9>>>0x18]<<0x18|_0x343c11[_0xc025f9>>>0x10&0xff]<<0x10|_0x343c11[_0xc025f9>>>0x8&0xff]<<0x8|_0x343c11[_0xc025f9&0xff]):(_0xc025f9=_0xc025f9<<0x8|_0xc025f9>>>0x18,_0xc025f9=_0x343c11[_0xc025f9>>>0x18]<<0x18|_0x343c11[_0xc025f9>>>0x10&0xff]<<0x10|_0x343c11[_0xc025f9>>>0x8&0xff]<<0x8|_0x343c11[_0xc025f9&0xff],_0xc025f9^=_0x186890[_0x270378/_0x1f002d|0x0]<<0x18),_0x271499[_0x270378]=_0x271499[_0x270378-_0x1f002d]^_0xc025f9);for(var _0x432378=this[_0x4d3efd(0x3f1)]=[],_0x46a46c=0x0;_0x46a46c<_0x2101cc;_0x46a46c++){var _0x270378=_0x2101cc-_0x46a46c;if(_0x46a46c%0x4)var _0xc025f9=_0x271499[_0x270378];else var _0xc025f9=_0x271499[_0x270378-0x4];_0x46a46c<0x4||_0x270378<=0x4?_0x432378[_0x46a46c]=_0xc025f9:_0x432378[_0x46a46c]=_0x1fb69e[_0x343c11[_0xc025f9>>>0x18]]^_0x142537[_0x343c11[_0xc025f9>>>0x10&0xff]]^_0x38da68[_0x343c11[_0xc025f9>>>0x8&0xff]]^_0x1949c4[_0x343c11[_0xc025f9&0xff]];}}},'encryptBlock':function(_0x6dedee,_0x1cde6b){const _0x114875=_0x39fbfc;this[_0x114875(0x673)](_0x6dedee,_0x1cde6b,this[_0x114875(0x460)],_0x588307,_0x5407c8,_0x2a2bc9,_0xe01719,_0x343c11);},'decryptBlock':function(_0x369d0f,_0x457f98){const _0x21a90f=_0x39fbfc;var _0x35e706=_0x369d0f[_0x457f98+0x1];_0x369d0f[_0x457f98+0x1]=_0x369d0f[_0x457f98+0x3],_0x369d0f[_0x457f98+0x3]=_0x35e706,this[_0x21a90f(0x673)](_0x369d0f,_0x457f98,this['_invKeySchedule'],_0x1fb69e,_0x142537,_0x38da68,_0x1949c4,_0x1d63f6);var _0x35e706=_0x369d0f[_0x457f98+0x1];_0x369d0f[_0x457f98+0x1]=_0x369d0f[_0x457f98+0x3],_0x369d0f[_0x457f98+0x3]=_0x35e706;},'_doCryptBlock':function(_0x3e632d,_0x2fd90d,_0x25465e,_0x271f48,_0xd25071,_0x2980da,_0x5ec9b0,_0x5718d1){const _0x338eef=_0x39fbfc;for(var _0x12fd5e=this[_0x338eef(0x4eb)],_0x5560db=_0x3e632d[_0x2fd90d]^_0x25465e[0x0],_0x50ff0c=_0x3e632d[_0x2fd90d+0x1]^_0x25465e[0x1],_0x2eab8d=_0x3e632d[_0x2fd90d+0x2]^_0x25465e[0x2],_0x36a4fc=_0x3e632d[_0x2fd90d+0x3]^_0x25465e[0x3],_0x23afd5=0x4,_0x4624b0=0x1;_0x4624b0<_0x12fd5e;_0x4624b0++){var _0x21ec7c=_0x271f48[_0x5560db>>>0x18]^_0xd25071[_0x50ff0c>>>0x10&0xff]^_0x2980da[_0x2eab8d>>>0x8&0xff]^_0x5ec9b0[_0x36a4fc&0xff]^_0x25465e[_0x23afd5++],_0xa88650=_0x271f48[_0x50ff0c>>>0x18]^_0xd25071[_0x2eab8d>>>0x10&0xff]^_0x2980da[_0x36a4fc>>>0x8&0xff]^_0x5ec9b0[_0x5560db&0xff]^_0x25465e[_0x23afd5++],_0x1779ea=_0x271f48[_0x2eab8d>>>0x18]^_0xd25071[_0x36a4fc>>>0x10&0xff]^_0x2980da[_0x5560db>>>0x8&0xff]^_0x5ec9b0[_0x50ff0c&0xff]^_0x25465e[_0x23afd5++],_0x101bf3=_0x271f48[_0x36a4fc>>>0x18]^_0xd25071[_0x5560db>>>0x10&0xff]^_0x2980da[_0x50ff0c>>>0x8&0xff]^_0x5ec9b0[_0x2eab8d&0xff]^_0x25465e[_0x23afd5++];_0x5560db=_0x21ec7c,_0x50ff0c=_0xa88650,_0x2eab8d=_0x1779ea,_0x36a4fc=_0x101bf3;}var _0x21ec7c=(_0x5718d1[_0x5560db>>>0x18]<<0x18|_0x5718d1[_0x50ff0c>>>0x10&0xff]<<0x10|_0x5718d1[_0x2eab8d>>>0x8&0xff]<<0x8|_0x5718d1[_0x36a4fc&0xff])^_0x25465e[_0x23afd5++],_0xa88650=(_0x5718d1[_0x50ff0c>>>0x18]<<0x18|_0x5718d1[_0x2eab8d>>>0x10&0xff]<<0x10|_0x5718d1[_0x36a4fc>>>0x8&0xff]<<0x8|_0x5718d1[_0x5560db&0xff])^_0x25465e[_0x23afd5++],_0x1779ea=(_0x5718d1[_0x2eab8d>>>0x18]<<0x18|_0x5718d1[_0x36a4fc>>>0x10&0xff]<<0x10|_0x5718d1[_0x5560db>>>0x8&0xff]<<0x8|_0x5718d1[_0x50ff0c&0xff])^_0x25465e[_0x23afd5++],_0x101bf3=(_0x5718d1[_0x36a4fc>>>0x18]<<0x18|_0x5718d1[_0x5560db>>>0x10&0xff]<<0x10|_0x5718d1[_0x50ff0c>>>0x8&0xff]<<0x8|_0x5718d1[_0x2eab8d&0xff])^_0x25465e[_0x23afd5++];_0x3e632d[_0x2fd90d]=_0x21ec7c,_0x3e632d[_0x2fd90d+0x1]=_0xa88650,_0x3e632d[_0x2fd90d+0x2]=_0x1779ea,_0x3e632d[_0x2fd90d+0x3]=_0x101bf3;},'keySize':0x100/0x20});_0x1768e6[_0x39fbfc(0x26e)]=_0x424b10[_0x39fbfc(0x54f)](_0x5275dc);}()),_0x4108c5[_0x26b11d(0x26e)];}));}(_0x31d63f));var _0x3483dd=_0x31d63f[_0x270b48(0x3ab)];const _0x42170f=_0x58c50a(_0x3483dd);var _0x48eeec=_0x3620fc();const _0x14c1c2=_0x58c50a(_0x48eeec);var _0x17ea83={'exports':{}};(function(_0x25a503,_0x25ad60){(function(_0x2731d9,_0x1eaf51){const _0x215c87=_0x5645;_0x25a503[_0x215c87(0x3ab)]=_0x1eaf51(_0x159fd1());}(_0x7a6336,function(_0x12abe8){const _0x492eae=_0x5645;return _0x12abe8[_0x492eae(0x430)][_0x492eae(0x3c4)];}));}(_0x17ea83));var _0x3ea367=_0x17ea83[_0x270b48(0x3ab)];const _0x12dc45=_0x58c50a(_0x3ea367);var _0xce1a85={'exports':{}};(function(_0xa13e9f,_0x4d87da){(function(_0x337807,_0x1815fd){const _0x525059=_0x5645;_0xa13e9f[_0x525059(0x3ab)]=_0x1815fd(_0x159fd1());}(_0x7a6336,function(_0x587b35){const _0x46d4ba=_0x5645;return(function(){const _0x1ea2be=_0x5645;if(typeof ArrayBuffer==_0x1ea2be(0x37a)){var _0x47e0b1=_0x587b35,_0x1d5194=_0x47e0b1[_0x1ea2be(0x486)],_0x3e9ab8=_0x1d5194[_0x1ea2be(0x3ad)],_0x416ed1=_0x3e9ab8['init'],_0x3674fc=_0x3e9ab8['init']=function(_0x971af){const _0x19deb2=_0x1ea2be;if(_0x971af instanceof ArrayBuffer&&(_0x971af=new Uint8Array(_0x971af)),(_0x971af instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x971af instanceof Uint8ClampedArray||_0x971af instanceof Int16Array||_0x971af instanceof Uint16Array||_0x971af instanceof Int32Array||_0x971af instanceof Uint32Array||_0x971af instanceof Float32Array||_0x971af instanceof Float64Array)&&(_0x971af=new Uint8Array(_0x971af['buffer'],_0x971af[_0x19deb2(0x4c3)],_0x971af[_0x19deb2(0x45d)])),_0x971af instanceof Uint8Array){for(var _0x520172=_0x971af[_0x19deb2(0x45d)],_0x2bc98d=[],_0x51db4c=0x0;_0x51db4c<_0x520172;_0x51db4c++)_0x2bc98d[_0x51db4c>>>0x2]|=_0x971af[_0x51db4c]<<0x18-_0x51db4c%0x4*0x8;_0x416ed1['call'](this,_0x2bc98d,_0x520172);}else _0x416ed1[_0x19deb2(0x395)](this,arguments);};_0x3674fc[_0x1ea2be(0x27c)]=_0x3e9ab8;}}()),_0x587b35[_0x46d4ba(0x486)]['WordArray'];}));}(_0xce1a85));var _0x5ca7fb=_0xce1a85[_0x270b48(0x3ab)];const _0x808b0a=_0x58c50a(_0x5ca7fb);var _0x77c5ec={'exports':{}};(function(_0x4533ce,_0x5c2d09){(function(_0x3fd030,_0x64bad0,_0x38455e){const _0x25836c=_0x5645;_0x4533ce[_0x25836c(0x3ab)]=_0x64bad0(_0x159fd1(),_0x45b237());}(_0x7a6336,function(_0x4780b9){const _0x89c453=_0x5645;return _0x4780b9['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x4780b9[_0x89c453(0x566)][_0x89c453(0x41b)];}));}(_0x77c5ec));var _0x1d8cda=_0x77c5ec[_0x270b48(0x3ab)];const _0x5106b6=_0x58c50a(_0x1d8cda);function _0x494cb1(_0x503a9f,_0x140f83){const _0x409d0b=_0x270b48,_0x3bd8d0=_0x140f83-_0x503a9f[_0x409d0b(0x2df)]%_0x140f83,_0x43cef0=String[_0x409d0b(0x4b7)](_0x3bd8d0)[_0x409d0b(0x1d4)](_0x3bd8d0);return _0x503a9f+_0x43cef0;}function _0x1a82b4(_0x116954,_0x3168b9){const _0x2d2aa9=_0x270b48,_0x2ec72f=_0x808b0a[_0x2d2aa9(0x641)](0x10),_0x1afa91=_0x494cb1(_0x116954,0x10),_0x53a46b=_0x42170f[_0x2d2aa9(0x5e3)](_0x12dc45[_0x2d2aa9(0x222)](_0x1afa91),_0x14c1c2[_0x2d2aa9(0x222)](_0x3168b9),{'iv':_0x2ec72f,'padding':_0x5106b6});return _0x2ec72f[_0x2d2aa9(0x32d)](_0x53a46b[_0x2d2aa9(0x25a)])['toString'](_0x14c1c2);}function _0x2a755c(){const _0x52de10=_0x270b48,_0x3085ed=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x52de10(0x448)];if(_0x3085ed){const _0x21ad88={'time':Math[_0x52de10(0x22d)](Date[_0x52de10(0x285)]()/0x3e8),'domain':location[_0x52de10(0x401)]};return _0x1a82b4(JSON['stringify'](_0x21ad88),_0x3085ed);}}var _0x55e3c9=Object[_0x270b48(0x29d)],_0x23b847=Object[_0x270b48(0x255)],_0x2196f6=(_0x5c9a98,_0x101d96,_0x4a24f8,_0x180a32)=>{for(var _0x2be51f=_0x180a32>0x1?void 0x0:_0x180a32?_0x23b847(_0x101d96,_0x4a24f8):_0x101d96,_0x18cb04=_0x5c9a98['length']-0x1,_0x1d51c3;_0x18cb04>=0x0;_0x18cb04--)(_0x1d51c3=_0x5c9a98[_0x18cb04])&&(_0x2be51f=(_0x180a32?_0x1d51c3(_0x101d96,_0x4a24f8,_0x2be51f):_0x1d51c3(_0x2be51f))||_0x2be51f);return _0x180a32&&_0x2be51f&&_0x55e3c9(_0x101d96,_0x4a24f8,_0x2be51f),_0x2be51f;},_0x2c2ba4=(_0x440814,_0x388141)=>(_0x45919e,_0x638fa0)=>_0x388141(_0x45919e,_0x638fa0,_0x440814);let _0x36af76=class{constructor(_0x3ca3db){const _0xa384fd=_0x270b48;this['_httpService']=_0x3ca3db,this[_0xa384fd(0x31b)]();}[_0x270b48(0x31b)](){const _0x2f48a4=_0x270b48;this[_0x2f48a4(0x61c)][_0x2f48a4(0x362)]({'interceptor':(_0xd9446c,_0x4414d3)=>{const _0x24a69a=_0x2f48a4,_0x37f852=_0xd9446c['headers'],_0x152fdb=_0x2a755c();return _0x152fdb&&_0x37f852[_0x24a69a(0x472)](_0x24a69a(0x410),_0x152fdb),_0x4414d3(_0xd9446c);}});}};_0x36af76=_0x2196f6([_0x2c2ba4(0x0,_0x10122e['Inject'](_0xbfbac5['HTTPService']))],_0x36af76);var _0x55dcd3=Object[_0x270b48(0x29d)],_0x58236c=Object[_0x270b48(0x255)],_0xed5120=(_0x8b4976,_0x3cdc54,_0x37188e,_0x935106)=>{const _0x34695a=_0x270b48;for(var _0x44d850=_0x935106>0x1?void 0x0:_0x935106?_0x58236c(_0x3cdc54,_0x37188e):_0x3cdc54,_0x433ee2=_0x8b4976[_0x34695a(0x2df)]-0x1,_0x3853c3;_0x433ee2>=0x0;_0x433ee2--)(_0x3853c3=_0x8b4976[_0x433ee2])&&(_0x44d850=(_0x935106?_0x3853c3(_0x3cdc54,_0x37188e,_0x44d850):_0x3853c3(_0x44d850))||_0x44d850);return _0x935106&&_0x44d850&&_0x55dcd3(_0x3cdc54,_0x37188e,_0x44d850),_0x44d850;},_0x1f0d0c=(_0x40119c,_0x5640cb)=>(_0x3f099d,_0x1c3266)=>_0x5640cb(_0x3f099d,_0x1c3266,_0x40119c);const _0x3fb55f=[_0x270b48(0x2b1),_0x270b48(0x2ec),_0x270b48(0x3cf),_0x270b48(0x670),_0x270b48(0x232)],_0x17ffbf=0x5*0x400*0x400,_0xf0afe8=_0x270b48(0x649),_0x35422f=_0x270b48(0x268),_0x2f7daa=_0x270b48(0x588),_0x4f1f31='/universer-api/file/{fileID}/sign-url';_0x3ef0c0['ImageIoService']=class{constructor(_0x56c36d,_0x2ab834,_0x3ff0a3){const _0x35c5d6=_0x270b48;_0x11da04(this,'_waitCount',0x0),_0x11da04(this,_0x35c5d6(0x1e8),new _0x43beed[(_0x35c5d6(0x69a))]()),_0x11da04(this,'change$',this[_0x35c5d6(0x1e8)]),_0x11da04(this,'_imageSourceCache',new Map()),(this[_0x35c5d6(0x61c)]=_0x56c36d,this[_0x35c5d6(0x4dd)]=_0x2ab834,this['_univerInstanceService']=_0x3ff0a3);}['setWaitCount'](_0xddfd5f){const _0x170a66=_0x270b48;this[_0x170a66(0x593)]=_0xddfd5f,this[_0x170a66(0x1e8)][_0x170a66(0x299)](_0xddfd5f);}[_0x270b48(0x29c)](_0x46d2ab,_0x3d6c33){const _0x859e48=_0x270b48;if(_0x3d6c33===_0x104985[_0x859e48(0x637)]['BASE64']){const _0x4b24a1=new Image();return _0x4b24a1[_0x859e48(0x660)]=_0x46d2ab,_0x4b24a1;}return this[_0x859e48(0x5c9)][_0x859e48(0x56f)](_0x46d2ab);}['addImageSourceCache'](_0x56ad70,_0x222e26,_0x38c952){const _0xd7b896=_0x270b48;_0x222e26===_0x104985[_0xd7b896(0x637)][_0xd7b896(0x3b6)]||_0x38c952==null||this[_0xd7b896(0x5c9)][_0xd7b896(0x472)](_0x56ad70,_0x38c952);}async[_0x270b48(0x3fd)](_0x54442c){const _0x14bb4a=_0x270b48;try{const _0x5c06af=this['_replaceFileID'](this[_0x14bb4a(0x2ca)](),''+_0x54442c),_0x141b0a=(await this[_0x14bb4a(0x61c)][_0x14bb4a(0x56f)](_0x5c06af))[_0x14bb4a(0x4b2)];if(_0x141b0a['error']&&_0x141b0a[_0x14bb4a(0x371)][_0x14bb4a(0x38d)]===_0x44c59['OK']){const _0x3fba73=new URL(_0x141b0a[_0x14bb4a(0x248)],this[_0x14bb4a(0x4b6)]())[_0x14bb4a(0x638)]();return Promise[_0x14bb4a(0x689)](_0x3fba73);}return Promise[_0x14bb4a(0x536)](_0x141b0a[_0x14bb4a(0x371)]);}catch(_0x42c011){return Promise[_0x14bb4a(0x536)](_0x42c011);}}async[_0x270b48(0x5a5)](_0x4acbbc){const _0xe2bc0e=_0x270b48;let _0x1430a8='';if(!_0x3fb55f[_0xe2bc0e(0x68d)](_0x4acbbc[_0xe2bc0e(0x21d)]))return this['_decreaseWaiting'](),Promise[_0xe2bc0e(0x536)](new Error(_0x104985[_0xe2bc0e(0x490)][_0xe2bc0e(0x5f3)]));if(_0x4acbbc[_0xe2bc0e(0x611)]>_0x17ffbf)return this[_0xe2bc0e(0x36a)](),Promise[_0xe2bc0e(0x536)](new Error(_0x104985[_0xe2bc0e(0x490)][_0xe2bc0e(0x1d1)]));try{const _0x2b2091=new FormData();_0x2b2091[_0xe2bc0e(0x3fc)](_0xe2bc0e(0x5d3),_0x4acbbc);const _0x5f511c=this[_0xe2bc0e(0x3d7)][_0xe2bc0e(0x446)](),_0xec2bb8=_0x5f511c==null?void 0x0:_0x5f511c[_0xe2bc0e(0x337)]();if(!_0xec2bb8)throw new Error(_0xe2bc0e(0x231));const _0xef36cb=this[_0xe2bc0e(0x55b)]()+_0xe2bc0e(0x5cf)+_0x4acbbc[_0xe2bc0e(0x611)][_0xe2bc0e(0x638)]()+_0xe2bc0e(0x4c6)+_0x1b022a[_0xe2bc0e(0x226)]+'&assign='+encodeURIComponent(_0xec2bb8),_0x32fbdc=await(await fetch(_0xef36cb,{'method':_0xe2bc0e(0x383),'body':_0x2b2091}))[_0xe2bc0e(0x23a)]();if(typeof _0x32fbdc['FileId']!=_0xe2bc0e(0x451))return this[_0xe2bc0e(0x36a)](),Promise[_0xe2bc0e(0x536)](new Error(_0x104985[_0xe2bc0e(0x490)][_0xe2bc0e(0x55f)]));_0x1430a8=_0x32fbdc[_0xe2bc0e(0x528)];}catch{return this[_0xe2bc0e(0x36a)](),Promise[_0xe2bc0e(0x536)](new Error(_0x104985[_0xe2bc0e(0x490)][_0xe2bc0e(0x55f)]));}return new Promise((_0x427798,_0x2b5fc8)=>{const _0xb2b27c=_0xe2bc0e,_0x16ed58=new FileReader();_0x16ed58[_0xb2b27c(0x51f)](_0x4acbbc),_0x16ed58[_0xb2b27c(0x396)]=_0x42412b=>{const _0x5b6827=_0xb2b27c;var _0x253bd6;const _0x42b26b=(_0x253bd6=_0x42412b[_0x5b6827(0x3a9)])==null?void 0x0:_0x253bd6[_0x5b6827(0x698)];if(_0x42b26b==null){this['_decreaseWaiting'](),_0x2b5fc8(new Error(_0x104985['ImageUploadStatusType'][_0x5b6827(0x55f)]));return;}const _0x5dbf9d=_0x10122e[_0x5b6827(0x3bf)]['generateRandomId'](0x6);_0x427798({'imageId':_0x5dbf9d,'imageSourceType':_0x104985[_0x5b6827(0x637)]['UUID'],'source':_0x1430a8,'base64Cache':_0x42b26b,'status':_0x104985[_0x5b6827(0x490)][_0x5b6827(0x61b)]}),this[_0x5b6827(0x36a)]();};});}[_0x270b48(0x55b)](){const _0x2c6ff8=_0x270b48;var _0x3f4d64,_0x3e20ff;const _0x126820=this[_0x2c6ff8(0x4dd)][_0x2c6ff8(0x5f1)](_0xf0afe8),_0x96535d=this[_0x2c6ff8(0x4dd)][_0x2c6ff8(0x5f1)](_0x100cc6);return(_0x3e20ff=(_0x3f4d64=_0x96535d==null?void 0x0:_0x96535d[_0x2c6ff8(0x3eb)])!=null?_0x3f4d64:_0x126820)!=null?_0x3e20ff:_0x35422f;}[_0x270b48(0x2ca)](){const _0x198dfe=_0x270b48;var _0xcd2819,_0x53276d;const _0x14c2ec=this[_0x198dfe(0x4dd)]['getConfig'](_0x2f7daa),_0x47cd6b=this['_configService'][_0x198dfe(0x5f1)](_0x100cc6);return(_0x53276d=(_0xcd2819=_0x47cd6b==null?void 0x0:_0x47cd6b[_0x198dfe(0x249)])!=null?_0xcd2819:_0x14c2ec)!=null?_0x53276d:_0x4f1f31;}[_0x270b48(0x4b6)](){const _0x38fa96=_0x270b48;var _0x4c0204;const _0x5b4598=this[_0x38fa96(0x4dd)][_0x38fa96(0x5f1)](_0x100cc6);return(_0x4c0204=_0x5b4598==null?void 0x0:_0x5b4598[_0x38fa96(0x55c)])!=null?_0x4c0204:location[_0x38fa96(0x516)];}[_0x270b48(0x1f8)](_0x2e5faa,_0x273a2f){const _0x5a630e=_0x270b48;return _0x2e5faa[_0x5a630e(0x627)](_0x5a630e(0x2a2),_0x273a2f);}['_decreaseWaiting'](){const _0xb0424a=_0x270b48;this[_0xb0424a(0x593)]-=0x1,this['_change$'][_0xb0424a(0x299)](this[_0xb0424a(0x593)]);}},_0x3ef0c0[_0x270b48(0x447)]=_0xed5120([_0x1f0d0c(0x0,_0x10122e[_0x270b48(0x5c7)](_0xbfbac5[_0x270b48(0x3d4)])),_0x1f0d0c(0x1,_0x10122e[_0x270b48(0x635)]),_0x1f0d0c(0x2,_0x10122e['Inject'](_0x10122e['IUniverInstanceService']))],_0x3ef0c0[_0x270b48(0x447)]);var _0x31ce70=Object[_0x270b48(0x29d)],_0x487b50=Object[_0x270b48(0x255)],_0x591739=(_0x5cad78,_0x41b45d,_0x51b493,_0x449c02)=>{const _0x3c51dc=_0x270b48;for(var _0x30da5e=_0x449c02>0x1?void 0x0:_0x449c02?_0x487b50(_0x41b45d,_0x51b493):_0x41b45d,_0x17a46c=_0x5cad78[_0x3c51dc(0x2df)]-0x1,_0x1c6cd7;_0x17a46c>=0x0;_0x17a46c--)(_0x1c6cd7=_0x5cad78[_0x17a46c])&&(_0x30da5e=(_0x449c02?_0x1c6cd7(_0x41b45d,_0x51b493,_0x30da5e):_0x1c6cd7(_0x30da5e))||_0x30da5e);return _0x449c02&&_0x30da5e&&_0x31ce70(_0x41b45d,_0x51b493,_0x30da5e),_0x30da5e;},_0xf7f85=(_0x1ef53a,_0x162db7)=>(_0x2fb83f,_0x327d55)=>_0x162db7(_0x2fb83f,_0x327d55,_0x1ef53a);let _0x5c0bc4=class extends _0x10122e['RxDisposable']{constructor(_0x537f4f,_0x5e3f3f,_0x156e8f,_0x164af6,_0x221950){const _0xabf79a=_0x270b48;super(),this[_0xabf79a(0x358)]=_0x537f4f,this['_univerInstanceService']=_0x5e3f3f,this[_0xabf79a(0x256)]=_0x156e8f,this[_0xabf79a(0x553)]=_0x164af6,this[_0xabf79a(0x548)]=_0x221950,this[_0xabf79a(0x533)](),this[_0xabf79a(0x526)]();}[_0x270b48(0x526)](){const _0x5b4f1a=_0x270b48,_0x402131=async _0x38bad8=>{const _0x3c89d4=_0x5645;(await this[_0x3c89d4(0x553)][_0x3c89d4(0x38a)](_0x38bad8))[_0x3c89d4(0x334)][_0x3c89d4(0x3fb)](_0x107fd5[_0x3c89d4(0x4d0)](_0x5a5669=>_0x5a5669[_0x3c89d4(0x53d)]===_0x434c76[_0x3c89d4(0x4cc)]['SHOULD_CLOSE_CONN']),_0x107fd5[_0x3c89d4(0x57a)](this['dispose$']))['subscribe'](_0x26447c=>{const _0x20f091=_0x3c89d4,_0x2ee3c0=_0x26447c,{reason:_0x593ed2}=_0x2ee3c0[_0x20f091(0x52b)];this['_injector']['get'](_0x3421c5['IMessageService'])[_0x20f091(0x36c)]({'type':_0x4811a0['MessageType']['Error'],'content':this[_0x20f091(0x548)]['t']('collaboration.closeRoom')+'('+_0x593ed2+')'}),this[_0x20f091(0x256)][_0x20f091(0x59e)](new _0x43d50e[(_0x20f091(0x2ff))](_0x38bad8)['id'],!0x1),this[_0x20f091(0x553)][_0x20f091(0x688)](_0x38bad8);});};_0x43beed['merge'](this['_univerInstanceService'][_0x5b4f1a(0x3cc)](_0x10122e['UniverInstanceType']['UNIVER_SHEET']),this[_0x5b4f1a(0x3d7)]['getTypeOfUnitAdded$'](_0x10122e[_0x5b4f1a(0x348)][_0x5b4f1a(0x414)]))['pipe'](_0x107fd5[_0x5b4f1a(0x60f)](_0x2e1e7c=>_0x2e1e7c[_0x5b4f1a(0x337)]()),_0x107fd5[_0x5b4f1a(0x4d0)](_0x519242=>!_0x10122e[_0x5b4f1a(0x24c)](_0x519242)),_0x107fd5[_0x5b4f1a(0x57a)](this[_0x5b4f1a(0x488)]))[_0x5b4f1a(0x40f)](_0xe9efd9=>{_0x402131(_0xe9efd9);});}[_0x270b48(0x533)](){const _0x8ca394=_0x270b48,_0xaf9992=async _0x401c40=>{const _0xf5fcac=_0x5645;(await this['_collaborationSessionService'][_0xf5fcac(0x38a)](_0x401c40))[_0xf5fcac(0x334)][_0xf5fcac(0x3fb)](_0x107fd5[_0xf5fcac(0x4d0)](_0x478384=>_0x478384[_0xf5fcac(0x53d)]===_0x434c76[_0xf5fcac(0x4cc)][_0xf5fcac(0x691)]),_0x107fd5[_0xf5fcac(0x57a)](this[_0xf5fcac(0x488)]))[_0xf5fcac(0x40f)](_0x445366=>{const _0x5121a4=_0xf5fcac,_0x9aa605=_0x445366,{objectId:_0x11791b}=_0x9aa605[_0x5121a4(0x52b)],_0x19568d=this['_injector'][_0x5121a4(0x56f)](_0x4a1dc3[_0x5121a4(0x32c)]);_0x11791b===_0x401c40?_0x19568d['initWorkbookPermissionChange'](_0x401c40):_0x19568d[_0x5121a4(0x2e1)](_0x401c40,_0x11791b);});};_0x43beed[_0x8ca394(0x1f9)](this[_0x8ca394(0x3d7)][_0x8ca394(0x3cc)](_0x10122e[_0x8ca394(0x348)][_0x8ca394(0x4e9)]),this[_0x8ca394(0x3d7)][_0x8ca394(0x3cc)](_0x10122e[_0x8ca394(0x348)][_0x8ca394(0x414)]))['pipe'](_0x107fd5[_0x8ca394(0x60f)](_0x156667=>_0x156667[_0x8ca394(0x337)]()),_0x107fd5['filter'](_0x476c23=>!_0x10122e[_0x8ca394(0x24c)](_0x476c23)),_0x107fd5[_0x8ca394(0x57a)](this[_0x8ca394(0x488)]))[_0x8ca394(0x40f)](_0x4b0ff7=>{_0xaf9992(_0x4b0ff7);});}};_0x5c0bc4=_0x591739([_0xf7f85(0x0,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x53a)])),_0xf7f85(0x1,_0x10122e[_0x270b48(0x204)]),_0xf7f85(0x2,_0x10122e[_0x270b48(0x380)]),_0xf7f85(0x3,_0x10122e['Inject'](_0x3ef0c0[_0x270b48(0x5ae)])),_0xf7f85(0x4,_0x10122e[_0x270b48(0x5c7)](_0x10122e[_0x270b48(0x42c)]))],_0x5c0bc4);var _0x56176a=Object[_0x270b48(0x29d)],_0xa112e4=Object[_0x270b48(0x255)],_0x348982=(_0x43bf67,_0x50f24b,_0x584d46,_0x868571)=>{const _0x286d60=_0x270b48;for(var _0x111b2e=_0x868571>0x1?void 0x0:_0x868571?_0xa112e4(_0x50f24b,_0x584d46):_0x50f24b,_0x3f57d5=_0x43bf67[_0x286d60(0x2df)]-0x1,_0x4304d7;_0x3f57d5>=0x0;_0x3f57d5--)(_0x4304d7=_0x43bf67[_0x3f57d5])&&(_0x111b2e=(_0x868571?_0x4304d7(_0x50f24b,_0x584d46,_0x111b2e):_0x4304d7(_0x111b2e))||_0x111b2e);return _0x868571&&_0x111b2e&&_0x56176a(_0x50f24b,_0x584d46,_0x111b2e),_0x111b2e;},_0xed359b=(_0x520784,_0x1f2a0d)=>(_0xf24393,_0x101188)=>_0x1f2a0d(_0xf24393,_0x101188,_0x520784);_0x3ef0c0['SnapshotServerOverHTTPService']=class{constructor(_0x14476a,_0x5e4846){const _0x5bdb62=_0x270b48;this[_0x5bdb62(0x4dd)]=_0x14476a,this[_0x5bdb62(0x61c)]=_0x5e4846;}async[_0x270b48(0x279)](_0x37fa50,_0xdef07d){const _0x2c79e6=_0x270b48;var _0x273b12;const {unitID:_0x1094e1,type:_0x538699,revision:_0x6f0479=0x0}=_0xdef07d,_0x5b2b93=this[_0x2c79e6(0x385)]()+'/'+_0x538699+'/unit/'+_0x1094e1+_0x2c79e6(0x412)+_0x6f0479,_0x4e5bd4=(await this[_0x2c79e6(0x61c)][_0x2c79e6(0x56f)](_0x5b2b93))[_0x2c79e6(0x4b2)],_0x4060ac=(_0x273b12=_0x4e5bd4[_0x2c79e6(0x49c)])==null?void 0x0:_0x273b12[_0x2c79e6(0x212)];if(_0x4060ac){const _0x171a1f=_0x4060ac==null?void 0x0:_0x4060ac['originalMeta'],_0x51fd61=_0x434c76[_0x2c79e6(0x5fc)][_0x2c79e6(0x41e)](_0x434c76['b64DecodeUnicode'](_0x171a1f));_0x4060ac[_0x2c79e6(0x322)]=_0x51fd61,Object[_0x2c79e6(0x2dc)](_0x4060ac[_0x2c79e6(0x49d)])[_0x2c79e6(0x4bd)](([,_0x1a2c28])=>{const _0x1968e4=_0x2c79e6,_0x1e61e6=_0x1a2c28['originalMeta'],_0x256b88=_0x434c76[_0x1968e4(0x5fc)][_0x1968e4(0x41e)](_0x434c76['b64DecodeUnicode'](_0x1e61e6));_0x1a2c28[_0x1968e4(0x322)]=_0x256b88;});}return _0x4e5bd4;}async[_0x270b48(0x339)](_0x306fc0,_0x5c91ce){const _0x20d583=_0x270b48,{unitID:_0xd9369e,type:_0x51006e,blockID:_0xd087de}=_0x5c91ce,_0x3537c2=this[_0x20d583(0x5d2)]()+'/'+_0x51006e+_0x20d583(0x5df)+_0xd9369e+_0x20d583(0x5e1)+_0xd087de;return(await this[_0x20d583(0x61c)][_0x20d583(0x56f)](_0x3537c2))[_0x20d583(0x4b2)];}async[_0x270b48(0x2a5)](_0x1690ed,_0x541048){const _0x9d8630=_0x270b48,{unitID:_0x53d358,type:_0x11c59b,blockID:_0x55c482}=_0x541048,_0x246dea=this['_getAPIPrefix']()+_0x9d8630(0x5e1)+_0x11c59b+_0x9d8630(0x5df)+_0x53d358+_0x9d8630(0x5e1)+_0x55c482;return(await this['_httpService'][_0x9d8630(0x56f)](_0x246dea))[_0x9d8630(0x4b2)];}async[_0x270b48(0x391)](_0x14a398,_0xf554e9){const _0x3bf620=_0x270b48,{unitID:_0x536e68,type:_0x393b88,from:_0xfdc64b,to:_0x160187}=_0xf554e9,_0x173fac=this[_0x3bf620(0x5d2)]()+'/'+_0x393b88+_0x3bf620(0x5df)+_0x536e68+'/fetchmissing?from='+_0xfdc64b+_0x3bf620(0x25d)+_0x160187;return(await this[_0x3bf620(0x61c)][_0x3bf620(0x56f)](_0x173fac))['body'];}[_0x270b48(0x385)](){const _0x3607c5=_0x270b48;var _0x4aed46;return(_0x4aed46=this[_0x3607c5(0x4dd)][_0x3607c5(0x5f1)](_0x34146a))!=null?_0x4aed46:this[_0x3607c5(0x5d2)]();}[_0x270b48(0x5d2)](){const _0x555282=_0x270b48;var _0x5124ca,_0x4493a4;const _0x384e7f=this[_0x555282(0x4dd)][_0x555282(0x5f1)](_0x22bdd1),_0x4aa61d=this['_configService'][_0x555282(0x5f1)](_0x100cc6);return(_0x4493a4=(_0x5124ca=_0x4aa61d==null?void 0x0:_0x4aa61d[_0x555282(0x21a)])!=null?_0x5124ca:_0x384e7f)!=null?_0x4493a4:_0x15f70a;}async['getResourcesRequest'](_0x11d2fc,_0x1e54a1){const _0x58aa59=_0x270b48,_0x3c33e4=_0x58aa59(0x411)+_0x1e54a1[_0x58aa59(0x21d)]+_0x58aa59(0x5df)+_0x1e54a1[_0x58aa59(0x224)]+_0x58aa59(0x4ed);return(await this[_0x58aa59(0x61c)][_0x58aa59(0x56f)](_0x3c33e4,{'params':{'resourceId':JSON[_0x58aa59(0x254)](_0x1e54a1['resourceIDs'])}}))['body'];}[_0x270b48(0x49f)](){const _0x23787c=_0x270b48;throw new Error(_0x23787c(0x58a));}[_0x270b48(0x4c7)](){const _0x5f5996=_0x270b48;throw new Error(_0x5f5996(0x58a));}[_0x270b48(0x39e)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){const _0x3509de=_0x270b48;throw new Error(_0x3509de(0x58a));}[_0x270b48(0x3ba)](){const _0x1457eb=_0x270b48;throw new Error(_0x1457eb(0x58a));}},_0x3ef0c0['SnapshotServerOverHTTPService']=_0x348982([_0xed359b(0x0,_0x10122e['IConfigService']),_0xed359b(0x1,_0x10122e[_0x270b48(0x5c7)](_0xbfbac5[_0x270b48(0x3d4)]))],_0x3ef0c0[_0x270b48(0x234)]);var _0x3d256d=Object[_0x270b48(0x29d)],_0x2736b8=Object[_0x270b48(0x255)],_0x1a75d6=(_0x196c77,_0x5a670f,_0xb8b18f,_0x3f4f77)=>{const _0x18afd1=_0x270b48;for(var _0x3dbdb0=_0x3f4f77>0x1?void 0x0:_0x3f4f77?_0x2736b8(_0x5a670f,_0xb8b18f):_0x5a670f,_0xc88856=_0x196c77[_0x18afd1(0x2df)]-0x1,_0xa823d8;_0xc88856>=0x0;_0xc88856--)(_0xa823d8=_0x196c77[_0xc88856])&&(_0x3dbdb0=(_0x3f4f77?_0xa823d8(_0x5a670f,_0xb8b18f,_0x3dbdb0):_0xa823d8(_0x3dbdb0))||_0x3dbdb0);return _0x3f4f77&&_0x3dbdb0&&_0x3d256d(_0x5a670f,_0xb8b18f,_0x3dbdb0),_0x3dbdb0;},_0x3c5d7c=(_0x20bf2d,_0x4dbd59)=>(_0x11851f,_0x5a31c5)=>_0x4dbd59(_0x11851f,_0x5a31c5,_0x20bf2d);let _0x59543f=class extends _0x10122e['LocalUndoRedoService']{constructor(_0x5f6551,_0x2a5bd6,_0x3384de,_0x3b1819,_0x4ec683){const _0x190549=_0x270b48;super(_0x5f6551,_0x2a5bd6,_0x3384de),this[_0x190549(0x54b)]=_0x3b1819,this[_0x190549(0x477)]=_0x4ec683;}[_0x270b48(0x507)](_0x42ca4d,_0x5cdab5){const _0xd790f0=_0x270b48,_0x490245=this[_0xd790f0(0x58f)](_0x42ca4d);if(_0x490245)try{const _0x3c0c4e=this[_0xd790f0(0x2b7)](_0x490245,_0x5cdab5);this[_0xd790f0(0x340)](_0x42ca4d,_0x3c0c4e);}catch(_0x445876){this[_0xd790f0(0x477)][_0xd790f0(0x371)](_0xd790f0(0x30b),_0x445876),this[_0xd790f0(0x415)](_0x42ca4d);}const _0x4ca2ea=this[_0xd790f0(0x378)](_0x42ca4d);if(_0x4ca2ea)try{const _0x50e175=this['_transformStack'](_0x4ca2ea,_0x5cdab5);this[_0xd790f0(0x2ab)](_0x42ca4d,_0x50e175);}catch(_0x36a562){this[_0xd790f0(0x477)][_0xd790f0(0x371)](_0x36a562),this['_clearRedo'](_0x42ca4d);}}[_0x270b48(0x415)](_0x3cc775){const _0x2c3e6d=_0x270b48,_0x1c14b1=this[_0x2c3e6d(0x58f)](_0x3cc775);_0x1c14b1&&(_0x1c14b1[_0x2c3e6d(0x2df)]=0x0,this['_updateStatus']());}[_0x270b48(0x35d)](_0x4ca565){const _0x2df699=_0x270b48,_0x4c2eae=this['_getRedoStack'](_0x4ca565);_0x4c2eae&&(_0x4c2eae[_0x2df699(0x2df)]=0x0,this[_0x2df699(0x4ee)]());}[_0x270b48(0x340)](_0x42f21b,_0x1c6f35){const _0x54a678=_0x270b48;this[_0x54a678(0x24a)]['set'](_0x42f21b,_0x1c6f35),this['_updateStatus']();}[_0x270b48(0x2ab)](_0x41d495,_0x2e1004){const _0x371ebf=_0x270b48;this[_0x371ebf(0x328)][_0x371ebf(0x472)](_0x41d495,_0x2e1004),this[_0x371ebf(0x4ee)]();}[_0x270b48(0x2b7)](_0x5b6283,_0x3ef099){const _0x3e5a35=_0x270b48,_0x9c12c4=[];let _0x894fc7=_0x3ef099,_0x48d5cd=_0x3ef099;for(let _0x187def=_0x5b6283[_0x3e5a35(0x2df)]-0x1;_0x187def>=0x0;_0x187def--){const {unitID:_0x3211db,undoMutations:_0x109383,redoMutations:_0x16a146}=_0x5b6283[_0x187def],_0x37a525=this[_0x3e5a35(0x54b)][_0x3e5a35(0x236)](_0x894fc7,_0x109383),_0x443ca9=this[_0x3e5a35(0x54b)][_0x3e5a35(0x236)](_0x48d5cd,_0x16a146);if(_0x434c76[_0x3e5a35(0x36f)](_0x37a525)||_0x434c76[_0x3e5a35(0x36f)](_0x443ca9)){this[_0x3e5a35(0x477)]['error'](_0x3e5a35(0x30b),'transformStack\x20failed!',_0x37a525,_0x443ca9);break;}_0x894fc7=_0x37a525['c1Prime'],_0x48d5cd=_0x443ca9['c1Prime'],_0x9c12c4[_0x3e5a35(0x28f)]({'unitID':_0x3211db,'undoMutations':_0x37a525[_0x3e5a35(0x682)],'redoMutations':_0x443ca9[_0x3e5a35(0x682)]});}return _0x9c12c4[_0x3e5a35(0x4f0)]();}};_0x59543f=_0x1a75d6([_0x3c5d7c(0x0,_0x10122e[_0x270b48(0x204)]),_0x3c5d7c(0x1,_0x10122e[_0x270b48(0x1e0)]),_0x3c5d7c(0x2,_0x10122e[_0x270b48(0x434)]),_0x3c5d7c(0x3,_0x434c76[_0x270b48(0x3d9)]),_0x3c5d7c(0x4,_0x10122e[_0x270b48(0x4d7)])],_0x59543f);class _0x43fcdf extends _0x10122e['RxDisposable']{constructor(){const _0x5e3466=_0x270b48;super(),_0x11da04(this,_0x5e3466(0x23d)),this['urlChange$']=_0x43beed[_0x5e3466(0x336)](window,'popstate')[_0x5e3466(0x3fb)](_0x43beed[_0x5e3466(0x57a)](this[_0x5e3466(0x488)]),_0x43beed[_0x5e3466(0x26a)](0x1),_0x43beed[_0x5e3466(0x40d)](void 0x0));}[_0x270b48(0x5ed)](_0x25c6a9,_0x17cc5a,_0x560689=!0x1){const _0xb324bb=_0x270b48,_0x4fa74b=new URL(window[_0xb324bb(0x2cb)]['href']);_0x4fa74b['searchParams'][_0xb324bb(0x472)](_0x25c6a9,_0x17cc5a),_0x560689?window['history'][_0xb324bb(0x28d)]('','',_0x4fa74b[_0xb324bb(0x638)]()):window[_0xb324bb(0x66e)][_0xb324bb(0x527)]('','',_0x4fa74b[_0xb324bb(0x638)]());}['removeParam'](_0x23b39d,_0x129e86=!0x1){const _0x53b96c=_0x270b48,_0x4d5f67=new URL(window[_0x53b96c(0x2cb)]['href']);_0x4d5f67[_0x53b96c(0x681)][_0x53b96c(0x48d)](_0x23b39d),_0x129e86?window[_0x53b96c(0x66e)][_0x53b96c(0x28d)]('','',_0x4d5f67[_0x53b96c(0x638)]()):window[_0x53b96c(0x66e)][_0x53b96c(0x527)]('','',_0x4d5f67[_0x53b96c(0x638)]());}[_0x270b48(0x685)](_0x25ff2c){const _0x1ea6f7=_0x270b48;var _0x2e5afd;return(_0x2e5afd=new URL(window['location'][_0x1ea6f7(0x4a3)])['searchParams'][_0x1ea6f7(0x56f)](_0x25ff2c))!=null?_0x2e5afd:void 0x0;}}var _0x938e19=Object[_0x270b48(0x29d)],_0xe48d78=Object[_0x270b48(0x255)],_0x3dcdf0=(_0xa5112a,_0x2cb8a7,_0x5b54a9)=>_0x2cb8a7 in _0xa5112a?_0x938e19(_0xa5112a,_0x2cb8a7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b54a9}):_0xa5112a[_0x2cb8a7]=_0x5b54a9,_0x17d5c4=(_0x3f459e,_0x4fa672,_0x444e3c,_0xd9bfd2)=>{const _0x57f3f0=_0x270b48;for(var _0x3ad135=_0xd9bfd2>0x1?void 0x0:_0xd9bfd2?_0xe48d78(_0x4fa672,_0x444e3c):_0x4fa672,_0x5b6949=_0x3f459e[_0x57f3f0(0x2df)]-0x1,_0x1a8039;_0x5b6949>=0x0;_0x5b6949--)(_0x1a8039=_0x3f459e[_0x5b6949])&&(_0x3ad135=(_0xd9bfd2?_0x1a8039(_0x4fa672,_0x444e3c,_0x3ad135):_0x1a8039(_0x3ad135))||_0x3ad135);return _0xd9bfd2&&_0x3ad135&&_0x938e19(_0x4fa672,_0x444e3c,_0x3ad135),_0x3ad135;},_0x3744ec=(_0x25240d,_0xe52320)=>(_0x372ad7,_0x4b20c3)=>_0xe52320(_0x372ad7,_0x4b20c3,_0x25240d),_0x206786=(_0x15d58f,_0x5e5296,_0x453181)=>_0x3dcdf0(_0x15d58f,_0x5e5296+'',_0x453181);const _0x330b45='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x3ef0c0['UniverCollaborationClientPlugin']=class extends _0x10122e[_0x270b48(0x1dd)]{constructor(_0x35e8f4=_0x3d48e6,_0x2554f8,_0x26ba1c,_0x2217a6,_0x223d32){const _0x334b5a=_0x270b48;super(),this[_0x334b5a(0x4f8)]=_0x35e8f4,this[_0x334b5a(0x477)]=_0x2554f8,this[_0x334b5a(0x54e)]=_0x26ba1c,this[_0x334b5a(0x358)]=_0x2217a6,this[_0x334b5a(0x4dd)]=_0x223d32;const {..._0x503c6d}=this[_0x334b5a(0x4f8)];this['_configService'][_0x334b5a(0x389)](_0x100cc6,_0x503c6d);}[_0x270b48(0x699)](){const _0x339fbd=_0x270b48;this[_0x339fbd(0x296)](),this[_0x339fbd(0x1d6)]();}[_0x270b48(0x66f)](){const _0x55f598=_0x270b48;_0x10122e[_0x55f598(0x650)](this[_0x55f598(0x358)],[[_0x30ebf3]]);}[_0x270b48(0x454)](){const _0x236e00=_0x270b48;this[_0x236e00(0x5c6)]();}[_0x270b48(0x296)](){const _0x1fb207=_0x270b48;var _0x1ac488,_0x1400f0,_0x39b6de,_0x47473a;this[_0x1fb207(0x358)]['has'](_0x10122e[_0x1fb207(0x1eb)])&&this[_0x1fb207(0x477)][_0x1fb207(0x371)](_0x1fb207(0x53f),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x447344=[[_0x10122e[_0x1fb207(0x1eb)],{'useClass':_0x59543f}],[_0x3ef0c0[_0x1fb207(0x5ae)]],[_0x3e7be0],[_0x17ffc1,{'useClass':_0x43fcdf}],[_0x3ef0c0[_0x1fb207(0x610)]],[_0x3ef0c0['LocalCacheService']],[_0xbfbac5[_0x1fb207(0x67c)]],[_0x16b02c],[_0x38bb72],[_0x3d74d7],[_0x79b668],[_0x3a2161],[_0x48a230],[_0x36af76],[_0x28c998],[_0x5c0bc4],[_0x10766f,{'useClass':(_0x1400f0=(_0x1ac488=this['_config'])==null?void 0x0:_0x1ac488[_0x1fb207(0x50c)])!=null?_0x1400f0:_0x3ef0c0['CollaborationSocketService']}],[_0x434c76[_0x1fb207(0x633)],{'useClass':_0x3ef0c0[_0x1fb207(0x234)]}],[_0x10122e[_0x1fb207(0x413)],{'useClass':_0x3ef0c0[_0x1fb207(0x639)]}],[_0x104985[_0x1fb207(0x67d)],{'useClass':_0x3ef0c0['ImageIoService']}],[_0x3ef0c0[_0x1fb207(0x4ad)]],[_0x3ef0c0[_0x1fb207(0x41c)]],[_0x3ef0c0[_0x1fb207(0x2c6)]],[_0x30ebf3],[_0x4c9228]];(_0x39b6de=this[_0x1fb207(0x4f8)])!=null&&_0x39b6de[_0x1fb207(0x2d2)]&&_0x447344['push']([_0x483e19,{'useClass':_0x146767}]),_0x10122e[_0x1fb207(0x544)](this[_0x1fb207(0x358)],_0x10122e[_0x1fb207(0x290)](_0x447344,(_0x47473a=this[_0x1fb207(0x4f8)])==null?void 0x0:_0x47473a[_0x1fb207(0x3bc)]));}[_0x270b48(0x5c6)](){const _0x2f491b=_0x270b48;this[_0x2f491b(0x206)](this[_0x2f491b(0x54e)]['registerRenderModule'](_0x10122e[_0x2f491b(0x348)][_0x2f491b(0x414)],[_0x33ba76])),this[_0x2f491b(0x206)](this[_0x2f491b(0x54e)]['registerRenderModule'](_0x10122e[_0x2f491b(0x348)]['UNIVER_SHEET'],[_0xe5a2cc]));}[_0x270b48(0x1d6)](){const _0x29f98b=_0x270b48;var _0xe840f6,_0xf90e2c;this['_injector']['get'](_0xbfbac5['HTTPService'])[_0x29f98b(0x362)]({'priority':0x14,'interceptor':_0xbfbac5[_0x29f98b(0x52e)]({'maxParallel':0x6})}),(_0xe840f6=this[_0x29f98b(0x4f8)])!=null&&_0xe840f6[_0x29f98b(0x5d1)]||this[_0x29f98b(0x358)][_0x29f98b(0x56f)](_0x3ef0c0['LocalCacheService'])[_0x29f98b(0x45b)](),(_0xf90e2c=this['_config'])!=null&&_0xf90e2c[_0x29f98b(0x56d)]&&_0x10122e[_0x29f98b(0x650)](this[_0x29f98b(0x358)],[[_0x48a230]]),_0x10122e['touchDependencies'](this['_injector'],[[_0x36af76],[_0x4c9228],[_0x3ef0c0[_0x29f98b(0x41c)]],[_0x3ef0c0['CollaborationController']],[_0x3ef0c0[_0x29f98b(0x2c6)]],[_0x5c0bc4]]);}},_0x206786(_0x3ef0c0[_0x270b48(0x267)],'pluginName',_0x330b45),_0x3ef0c0['UniverCollaborationClientPlugin']=_0x17d5c4([_0x10122e[_0x270b48(0x25e)](_0x434c76['UniverCollaborationPlugin'],_0xbfbac5[_0x270b48(0x51e)]),_0x3744ec(0x1,_0x10122e[_0x270b48(0x4d7)]),_0x3744ec(0x2,_0x3d8481[_0x270b48(0x390)]),_0x3744ec(0x3,_0x10122e['Inject'](_0x10122e[_0x270b48(0x53a)])),_0x3744ec(0x4,_0x10122e['IConfigService'])],_0x3ef0c0['UniverCollaborationClientPlugin']),_0x3ef0c0['AUTHZ_URL_KEY']=_0x1972b9,_0x3ef0c0[_0x270b48(0x20b)]=_0x162ce8,_0x3ef0c0[_0x270b48(0x4c4)]=_0x4b9331,_0x3ef0c0[_0x270b48(0x38f)]=_0x27aa5e,_0x3ef0c0[_0x270b48(0x5e8)]=_0xe97fef,_0x3ef0c0[_0x270b48(0x663)]=_0x28c998,_0x3ef0c0['HEARTBEAT_INTERVAL_KEY']=_0x413eda,_0x3ef0c0[_0x270b48(0x65a)]=_0x4e1a95,_0x3ef0c0[_0x270b48(0x409)]=_0x10766f,_0x3ef0c0['IURLService']=_0x17ffc1,_0x3ef0c0[_0x270b48(0x1f5)]=_0x42267c,_0x3ef0c0[_0x270b48(0x598)]=_0x4600e2,_0x3ef0c0[_0x270b48(0x3d8)]=_0x57f6b8,_0x3ef0c0[_0x270b48(0x3d5)]=_0x453e31,_0x3ef0c0[_0x270b48(0x314)]=_0x22bdd1,_0x3ef0c0[_0x270b48(0x3bd)]=_0x34146a,_0x3ef0c0[_0x270b48(0x36b)]=_0x606225,_0x3ef0c0[_0x270b48(0x27a)]=_0x4108d3,_0x3ef0c0[_0x270b48(0x230)]=_0x43fcdf,_0x3ef0c0['deserializeToCombResponse']=_0x10f4c5,_0x3ef0c0['serializeCombRequest']=_0x34a15b,Object[_0x270b48(0x29d)](_0x3ef0c0,Symbol['toStringTag'],{'value':'Module'});}));