@univerjs-pro/collaboration-client 0.4.2-nightly.202411051606 → 0.4.2-nightly.202411071606
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/es/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
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 _0x54df(){const _0x13deb8=['AuthzIoHttpService','batchAllowed','decryptBlock','collabWebSocketUrl','HEARTBEAT','JOIN','_getSendChangesetTimeout','fillRule','PERMISSION_DENIED','currentSkeleton$','online','onTransformChange$','getParam','_socket','replace','pushState','finalize','COLLAB_WEB_SOCKET_URL_KEY','univerjs-icon\x20univerjs-icon-','_anchor','endRow','_changesetSessionId','_toggleOffline','method','clone','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','getActiveSheet','getImageSourceCache','substr','moveTo','getUnitId','uploadFileServerUrl','subscribeEvent','WordArray','UNIVER_SLIDE','compose','capture','awaitingChangeset','updateCursorEvent','_entities','collaMsg','snapshotServerUrl','authzUrl','saveOfflineData','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','Could\x20not\x20dynamically\x20require\x20\x22','SHA1','LICENSE_MAX_UNITS_EXCEEDED','HMAC','_keySchedule','submit\x20changeset\x20error!','gold400','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_setupSubUnitSync','fillStyle','/unit/','enableOfflineEditing','{fileID}','hasOwnProperty','_waitForHeartbeatResponse','_listenToOfflineEvent','IImageIoService','exhaustSavingTask','__Key__','defaultProps','mergeOverrideWithDependencies','clearInterval','_clearLocalCache','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','keySize','deserializeToCombResponse','_transformUndoredo','_initMergeInterceptor','univer-pro.collaboration-client.single-active-unit-service','algo','_getAPIPrefix','next','UniverEngineFormula','getConfig','contains','getUnitStatus$','revision','baseRev','collabStatus.synced','assign','_send','NodePositionConvertToRectRange','_retryCount','joinRsp','_onCursorDelete','path','fromEventSubject','CommentService','image/gif','_updateStatus','_commentService','ranges','onRendered','_localCacheService','_iKey','[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.','APPLY_DUPLICATED','ImageUploadStatusType','session.collaboration-timeout','HEARTBEAT_TIMEOUT_KEY','MoveRangeCommandId','_members','_xformMode','color','_createHandler','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','VIEW_MAIN','transformUndoRedo','charCodeAt','LocalCacheService','downloadEndpointUrl','replaceDocRanges','_createSocket','verdancy600','call','startRow','retryConnectingInterval','connectInjector','sequenceExecute','1em','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','getCurrentUser','_invKeySchedule','getSheetId','_syncEditingCollabCursorService','FileId','_map','useCallback','copyFileMeta','_clearScheduledTask','_collabCursorState$','doc.mutation.rich-text-editing','SheetCollaborationEntity','getValue','_collabCursorController','hovered','_logService','_key','fetchThroughInterceptors','_createInitialState','updatePermissionObjEvent','error','href','ColorKit','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_snapshotService','rng','min','fetch_missing','flatMap','updateMember','COMMENT_UPDATE','random','LIVESHARE_NEW_HOST','1NuQqln','function','use','Tooltip','CONFLICT','updatePermissionPoint','YUUMI_RATE_OVER_LIMIT','3bJMLtn','_tryEnsureSocket','[CollaborationSessionService]','concatMap','socket\x20close','touchDependencies','apply','_oKey','_updateLocalCache','/universer-api/authz','_httpService','requireSession','onRemoteRetry','params','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','[PendingState]:\x20unhandled\x20univer\x20type:\x20','jsxs','column','searchParams','IContextService','_initRequestHeader','ERROR_IMAGE_TYPE','_transformStateCache','_collaborationController','tag','_checkMissing','open$','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_clearHeartbeatTimer','OffLineSingle','_prevBlock','WorkbookEditablePermission','#FFF','ILogService','patch','_handleHover','create','add','translate(.97)','onStarting','_unitStatus','beginPath','_createHelper','enableSingleActiveInstanceLock','_getScale','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','_getSaveTimeout','getOwnPropertySymbols','jiqing500','memberID','getCollabCursors$','_onOffline','_updateURLWithCurrentState','Base','unitID','_disabled','setInterval','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_beforeCloseService','@univerjs/engine-render','transformByState','_permissionService','INGEST','Workbook','encode','pad','_updateState','NoPadding','HmacMD5','_rescheduleHeartbeat','_docTransformStateCacheService','[OfflineState]:\x20received\x20rejection.','loginUrlKey','React','handleIRemoveCol','getCurrentUnitForType','focused$','_clearCollaborationTimeoutTimer','getActiveRange','UPDATE_PERMISSION_OBJ','evenodd','DisposableCollection','UniverDesign','SEND_CHANGESET_TIMEOUT_KEY','isTransformMutationsWithChangesetFailure','2401830TbcNwy','objects','_type','_docSyncEditingCollabCursorService','_waitCount','makeDirty','cmd','_resendWithTimeout','_refRangeService','unitId','error$','_unitOnClients','UniverDocsUi','defs','collab-client.tooltip.reconnect','serializeRangeWithSheet','UniverDocs','_injector','fillText','map','findNodePositionByCharIndex','_socket$','Error\x20on\x20receiving\x20event','_DEC_XFORM_MODE','off-line-single_clip0_910_343','_transformStack','_replayCachedMutations','hidden','_mode','onMissingChangesets','userID','UniverCollaborationClientPlugin','setUndoRedoMutationParamsCache','getUndoRedoMutationParamsCache','APPLY_REJECT','_onUserJoin','eventID','_onRecvEvent','_transformRemoteChangesetByIMECache','NodePositionConvertToCursor','ILocalStorageService','Warning','createDecryptor','transformChangesets','COMPRESS_MUTATION_SEND','CollaborationEntity','&source=','setShowComponents','_docTransformIMECacheService','CollaborationSession','HTTPService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','handleDeleteRangeMoveLeft','enableAuthServer','RxDisposable','Optional','skeleton','listRoles','actions','DocSkeletonManagerService','isTransformMutationsWithChangesetSuccess','collaboration-client.offline-data-not-saved','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','restore','_exhaustRemoteChangesetQueue','textRanges','addEventListener','onTransformSelections','_imageSourceCache','_cachedData','_nRounds','has','red300','_colorAssignService','image/jpg','_revisionService','createInstance','mixIn','Fragment','_lockTransition','LICENSE_EXPORT_SIZE_EXCEEDED','_setupBeforeClosingHandler','_status$','NOT_COLLAB','_hash','padding','JOINING','b64DecodeUnicode','collabStatus.conflict','handleInsertCol','range','whenReady','max','@univerjs/engine-formula','collaboration_new_changeset','getCurrentRevOfUnit','getTime','Encryptor','_transformUndoRedoStack','WebSocketService','_cursors','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','#fff','\x0aCurrent:\x20','_socketMessageSubscription','getOffsetConfig','...','YUUMI_SUBSCRIPTION_NOT_FOUND','setParam','RECT','_transformHistoryAndStateStack','loadOfflineData','_event$','csRejEvent','updateOfflineData','objectID','bind','x-univer-host','RemoveRowCommandId','LocaleService','_onRefRangeChange','FETCH_MISSING','registerHTTPInterceptor','UUID','getRelativeToViewportCoord','_append','setShapeProps','_unitID','equals','_doFinalize','useRef','useDependency','_clearRedo','_onRemoteRejected','TOO_MANY_REQUESTS','takeUntil','isArray','HttpImport','SUBMIT_CHANGESET','getCollabEntity','subUnitId','transformStateCache','text','_univerInstanceService','saveImage','_userManagerService','_handleHeartbeatEvent','onStateChange','toggleOffline','refreshPermission','getUniverSheetInstance','members','Decryptor','_loadDoc','toString','Hasher','_cipher','UPDATE_CURSOR','getMemberID','unit-cache-','cfg','_renderManagerService','getCoordByCell','debounce','hasher','body','_socketReady','CONNECTOR_DATA_TOO_LARGE','HttpExport','onMissedChangesetFetched','[SyncedState]:\x20received\x20rejection.','/block/','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','clamp','\x20-\x20','randomUUID','IRemoteInstanceService','drawWith','rxjs/operators','auth.needGotoLoginAlert','ALREADY_EXISTS','_startTelemetryCollaborationNewChangeset','reject','ERROR_IMAGE','onTransformRemoteChangesetByStateCache','_onFetchMissResult','_collabSessionService','_sessions','BlockCipherMode','save','awaiting','_scheduleHeartbeat','url','unpad','ReplaySubject','failed\x20to\x20apply\x20missed\x20changesets!','cursorInfo','deepClone','storage','list','LIVESHARE_TERMINATE','useObservable','debug','_onCombEvent','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','defIds','_updateCollabCursors','_compressMutationService','_initDependencies','_onMessage','_getCurrentRevision','parseChangesetToProtocol','Utf8','all','row','@univerjs/drawing','disposeWithMe','byteOffset','_onLocalMutation','socket$','sheets','routeKey','textEncoder','readAsDataURL','none','init','_sheetTransformSelectionsService','_handleEvent','attrs','DesktopCollaborationStatusDisplayController','toStringTag','image/png','debounceTime','forwardRef','history','@univerjs/sheets-ui','key','InsertColCommandId','SnapshotService','_document','transformRemoteChangeset','_clearOtherTimers','OTHER_CLIENTS_EDITING','/allowed','changesets','_sendHeartbeat','_stopTelemetryCollaborationNewChangeset','createEncryptor','objectType','onlineStatusIcon','Rect','fromCollab','BlockCipher','_roomMembers','jsx','length','_context','onload','_handleJoinEvent','synced','get','COMPRESS_MUTATION_APPLY','getMergeData','_transformPreviousActiveRange','words','UNDEFINED','univer-online-status-title','state$','resend','ThemeService','@univerjs-pro/collaboration','then','getMember','DataLoaderController','FETCH_MISS','ceil','setTimeout','BASE64','_redoStacks','DocSelectionManagerService','labelPosition','_collaborationTimeoutTimer','SNAPSHOT_INVALID_SNAPSHOT','_reverseMap','reset','className','isTransformMutationFailure','deleteCollaborator','USERS_LEAVE','getAllMembers','action','DOC_RANGE_TYPE','ref','Vector2','saveSheetBlock','clipPath','SheetSkeletonManagerService','_textBubble','bottom','_queuedRemoteChangesets','CHANGESET_ACK','IBeforeCloseService','Cipher','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','@univerjs/network','reduce','_removeRoom','readInt32LE','INotificationService','disableLocalCache','getCollabEntity$','_singleActiveUnitService','[OfflineState]:\x20received\x20acknowledgement.','now','delay','status$','values','indexOf','uni.network.url-service','getResourcesRequest','@univerjs/core','EmptyMutation','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_syncEditingCollabCursor','SNAPSHOT_SERVER_URL_KEY','isActive','_urlService','setAlpha','[PendingState]:\x20received\x20acknowledgement.','leaveEvent','_lastPointer','_scheduleClearOtherTimer','reqId','onMouseMove','_initStatusListener','_sessionStatus$','onRemoteAck','onCommentUpdate','getSheetBySheetId','idSuffix','join','trim','LOCAL_CACHE_INTERVAL_KEY','_getSnapshotAPIPrefix','on-line-single_clip0_910_349','Malformed\x20UTF-8\x20data','_joinRoom','COLLAB_SUBMIT_CHANGESET_URL_KEY','_getSheetObject','charAt','decrypt','UNIVER_DOC','collab-text-anchor-','DocIMEInputManagerService','YUUMI_URL_COL_OUT_OF_RANGE','default','InsertRangeMoveDownCommandId','assignAColorForMemberID','getInterceptPoints','UniverNetwork','stringify','objectActions','mutations','mode','_scheduleCollaborationTimeoutTimer','updateCollaborator','MessageType','resourceIDs','requestParams','_initCloseConn','socketService','SetWorksheetActivateCommand','collaboratorID','SetTextSelectionsOperation','SetDocZoomRatioOperation','_iv','_transformIMECache','_ENC_XFORM_MODE','onTransformIME','_localeService','number','selection','getCurrentSelections','_ensureSubject','INVALID_ARGUMENT','collabStatus.fetchMiss','_substituteUndoStack','includes','UniverCore','getFocusedUnit','LICENSE_IMPORT_SIZE_EXCEEDED','77NfYLyS','find','_replaceFileID','_draw','format','unknown','BufferedBlockAlgorithm','onRemoteRej','_ws','exports','asObservable','_getRedoStack','loadSheet','close','c2Prime','CollaborationSocketService','DocCollaborationEntity','generateRandomId','_awaitingChangeset','_tryReconnect','2041064XYYnvW','title','data','_initStatusComponent','_disableEditing','floor','infoRsp','SYNCED','DEFAULT_FILE_NAME','_undoStacks','_collaborationSessionService','awaiting_with_pending','subunit','every','top','operators','_updateSubUnitFromURLParams','APPLY_NON_SEQUENTIAL_REVISION','PSEUDO_FETCH_MISSING_RESULT','getRenderById','_doProcessBlock','docStateChange$','isPermissionRej','_getLoginPath','_getDownloadEndpointURL','_doReset','appendMutation','[FetchMissState]','_render','_process','ENSURE_SNAPSHOT_EXECUTION','COLLAB_WEB_SOCKET_URL','conflict.content','snapshot','_sendHeartbeatTimer','handleMoveRange','_state$','Plugin','@univerjs/ui','registerBeforeClose','forEach','removeMember','ITelemetryService','_decreaseWaiting','_commentUpdate$','_sender','UniverSheets','_fetchMissChangesets','_candidateSocket','/universer-api/stream/file/upload','140JqsSOn','SnapshotServerOverHTTPService','setItem','mapDocumentTypeToUniverType','string','enableLocalCache','Undefined','_messageService','getUnitType','_incrementRevisionNumber','InsertRangeMoveRightCommandId','15cVeqPk','salt','_telemetryService','undoState','_onCursorUpdate','name','PENDING','_submitChangeset','YUUMI_UNABLE_LOAD_URL','LEAVE','permissionRejEvent','propertyIsEnumerable','ERROR_EXCEED_SIZE','location','_getUndoStack','UniverCollaboration','csShouldRetryEvent','InsertSheetMutation','[CollaborationUndoRedoService]','withCredentials','initWorkbookPermissionChange','ciphertext','not_collab','svg','_commandService','current','collabSubmitChangesetUrl','_registerRenderDependencies','pending','prototype','UnitEmbedded','unshift','PasswordBasedCipher','createIdentifier','TEXT','@univerjs/sheets','listCollaborators','execute','_transformService','DocStateChangeManagerService','roomInfos','_hideTimer','univer-online','getRoom','_docStateChangeManagerService','src','_selfUnitIDs','image/jpeg','shareReplay','_range','endColumn','mapTo','_resendTimer','684459OrsuUJ','Unknown\x20user','_hasher','_telemetryInfo','CollaborationEvent','react.element','Inject','for','HELLO','360156eqsOSV','headers','collaboration.single-unit.warning','_registerDependencies','_toggleOnline','_drawRectRange','@univerjs/telemetry','Shape','_saveCache','roles','_updateLocalCursor','_state','lineTo','LICENSE_DISTRO_REJECTED','_clearTimeoutTimer','COLORS','_listenToOnlineEvent','getStateCache','collabCursorState$','splice','_session','session.will-retry','editingUnit','1162366tJdVLs','popstate','_http','getVpScrollXYInfoByPosToVp','currentTheme$','session','_name','_cursorShapes','/object','rxjs','getCurrent','COMPLETION_FINISHED','complete','putCollaborators','isTransformChangesetsSuccess','_getCtorByUniverType','sheetID','/fetchmissing?from=','/collaborator','colorChannel1','_refreshCollabCursors','__creator','_shouldReportTelemetry','c1Prime','Module','_data','EffectRefRangId','event$','MemberService','_localStorageService','post','USERS_ENTER','processBlock','_showConflictNotification','_initUnitPermissionChange','startTime','AES','LIVESHARE_OPERATION','CommandType','save\x20fail\x20reason\x20is\x20','IDLE','arc','extend','univer-online-status','compute','CollaborationSessionService','measureText','sid','ReactCurrentOwner','localeService','onCommandExecuted','startColumn','@univerjs/rpc','IRenderManagerService','ImageIoService','_colorIndex','crypto','onSyncEditingCollabCursor','_applyRemoteChangeset','reconnect','OFFLINE','_notificationService','_docTransformSelectionsService','_doCryptBlock','collabStatus.notCollab','merge','_startDocCollabCursor','fill','getColor','UNIVER_COLLABORATION_CLIENT_PLUGIN','ICommandService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getImage','collaboration.closeRoom','ITransformService','activeSheet$','registerComponent','SheetPermissionInitController','_getMergeRange','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_removeClearOtherTimer','NEW_CHANGESETS','_configService','clearTimeout','onRemoteChangeset','getRangePointData','state','RECV','HEARTBEAT_INTERVAL_KEY','_transformRemoteChangesetByStateCache','CollaborationController','0\x200\x2017\x2016','xlink:href','UniverTelemetry','Hex','UserManagerService','_resendTimeout','getUnhiddenWorksheets','[CollaborationSession]','stopTime','LOGIN_URL_KEY','update','unload','registerRefRange','RichTextEditingMutation','Disposable','ACTIVE_UNIT_EVENT_CHANNEL','_anchorDot','IAuthzIoService','[DataLoaderController]','setCurrentUser','closeSession','_startSheetCollabCursor','_shapes','[UniverCollaborationClientPlugin]','code','incrementRevOfUnit','_handler','onReady','filter','saveChangeset','getLatestCsReqIdBySid','RegularPolygon','_onConnectionFailed','[CollaborationSessionService]:\x20socket\x20error','originalMeta','_executeRemoteChangeset','IUniverInstanceService','registerRenderModule','1755wWZMec','_eventUnsubscribe','_initResize','UNKNOWN_CODE','enc','[CollaborationEntity]','m1Prime','_onConnectionOpen','_heartbeatTimer','_saveTaskMap','close$','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','sheetId','DeleteRangeMoveLeftCommandId','_change$','take','blockSize','_themeService','children','toRgbString','SheetCollabCursorShape','defineProperty','fetchMissingChangesets','delete','message$','dispose','_snapshotServerService','RevisionService','_loadSheet','entries','OpenSSL','0\x200\x2016\x2016','IUndoRedoService','encryptBlock','createElement','_cursorInfo$','HmacSHA1','_onJoinRoomEvent','BehaviorSubject','HEARTBEAT_TIMEOUT','fetching\x20missing\x20changesets\x20from\x20','concat','onlineStatusTitle','_onUserLeave','SNAPSHOT_URL_KEY','/universer-api/snapshot/','_onRemoteRetry','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','AUTHZ_URL_KEY','_retryConnectingTimer','_startCollaboration','/universer-api/oidc/authpage','APPLY_PERMISSION_DENIED','encrypt','_getAPIPrefixPath','sigBytes','_initCommandExecutedListener','currentColor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','NO_OTHER_CLIENTS_EDITING','push','_HTTPService','CBC','_collaborationPaused','_clearUndo','CompressMutationService','buffer','_hovered','show','POST','handleIRemoveRow','_transitionLocked','MD5','WebURLService','with','univer-offline','_parse','startsWith','INTERNAL_ERROR','UNIVER_UNKNOWN','TEXT_RANGE_LAYER_INDEX','onPointerMove$','ws://127.0.0.1:8000/universer-api/comb/connect','saveSnapshot','UNIVER_SHEET','newCsEvent','slice','$super','_remoteChangesetQueue','IMessageService','lib','session.room-full','liveShareOperation','onSendChangeset','onPointerLeave$','615006ZGbweq','encodeURIComponent','fromCharCode','_nDataBytes','_keyPriorReset','isEditing','split','/object/','pauseCollaboration','28QIkSIQ','amd','_timeoutTimer','IConfigService','getDocRanges','Base64','csAckEvent','_online','AWAITING','_assignedColors','serializeCombRequest','SheetsSelectionsService','_roomMembers$','4378732mmRTRD','roomMembers$','_undoRedoService','UNAUTHENTICATED','MUTATION','liveShareNewHost','VIEWPORT_KEY','UNRECOGNIZED','width','getItem','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','_memberService','_scheduleSaving','Pkcs7','\x20in\x20_schedule.','_config','_id','_docSkeletonManagerService','msCrypto','toggleOnline','createSocket','handleInsertRangeMoveDown','round','kdf','_initEventListeners','syncEditingCollabCursor','UniverInstanceType','_unlockTransition','&to=','height','_acknowledgedAwaitingChangeset','CHANGESET_SHOULD_RETRY','catch','commentUpdateEvent','pipe','collaboration-client.config','_changesetReqId','clear','iterations','_schedule','transformMutation','_drawTextRange','collabStatus.offline','connection\x20error','session.connection-failed','SHOULD_CLOSE_CONN','onlineStatus','_color','parse','_onRemoteChangeset','_scene','UNKNOWN_CMD','icon','RemoveColCommandId','_getAnchorBounding','sessionStatus$','black','set','put','DeleteRangeMoveUpCommandId','_getUploadFileURL','interceptor','image/bmp','_substituteRedoStack','getTypeOfUnitDisposed$','unit','fetchMiss','_onConflict','switchMap','getOwnPropertyDescriptor','addObject','toDisposable','COLLAB_SUBMIT_CHANGESET_URL','isInternalEditorID','LIVESHARE_REQUEST_HOST','onTransformState','_pendingMutations','font','transformMutationsWithChangeset','getRandomValues','object','redoState','closePath','url(#$1','IPermissionService','UniverUi','_sendingTimer','_cursor','/role','_uiPartsService','_createInitialStateImpl','SEND_CHANGESET_TIMEOUT','SerializableCipher','getTypeOfUnitAdded$','send','SNAPSHOT_HAS_BEEN_REMOVED','unsubscribe','SetSelectionsOperation','hide','LocalUndoRedoService','repeat','collaboration-session-retry','/-/object/-/batch_allowed','replaceState','dispose$','reverse','transformIMECache','fromEvent','cursorInfo$','workbook','_hover','_removeCollabCursors','onTransformRemoteChangesetByIMECache','ONLINE','purple300','FAIL','@univerjs/design','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationState]:\x20apply\x20error!','_backgroundColor','div','hostname','ImageSourceType','CollaborationStatus','_sheetSkeletonManagerService','addImageSourceCache','_docSkeleton','Error','on-line-single','urlChange$','Tools','collabStatus.syncing','getSkeleton','_scheduleTimestamp','_handleLeaveEvent','/new_changes','@univerjs/docs-ui','M0\x200H16V16H0z','rgba(255,\x20255,\x20255,\x200.01)','_onRemoteACK','unitId\x20is\x20not\x20found','_labelPosition','EvpKDF','getSheetObject','PERMISSION_REJ','Injector','LIVESHARE_FETCH_OPERATIONS','getUnit','from','_isPermissionRej','engine','url(#off-line-single_clip0_910_343)','_entityInit$','setConfig','executeCommand','UniverRpc','m2Prime','sessionStatus','offline','result','_getSignURL','status','react','subscribe','getAncestorScale','disposeUnit','_transformSelections','selections','UNIVER_PROJECT','_init','symbol','Subject','@univerjs/docs','rev','CHANGESET_REVISION_CONFILICT','size','type'];_0x54df=function(){return _0x13deb8;};return _0x54df();}function _0xbbea(_0x2188de,_0x511370){const _0x54dfc8=_0x54df();return _0xbbea=function(_0xbbea87,_0x798fe8){_0xbbea87=_0xbbea87-0xe0;let _0x2cea33=_0x54dfc8[_0xbbea87];return _0x2cea33;},_0xbbea(_0x2188de,_0x511370);}(function(_0x8ea8b9,_0x139863){const _0x10873d=_0xbbea,_0x4d6c2a=_0x8ea8b9();while(!![]){try{const _0x532546=-parseInt(_0x10873d(0x526))/0x1*(parseInt(_0x10873d(0x2de))/0x2)+parseInt(_0x10873d(0x52d))/0x3*(-parseInt(_0x10873d(0x3d6))/0x4)+parseInt(_0x10873d(0x289))/0x5*(-parseInt(_0x10873d(0x582))/0x6)+-parseInt(_0x10873d(0x3c9))/0x7*(parseInt(_0x10873d(0x24c))/0x8)+-parseInt(_0x10873d(0x2be))/0x9*(parseInt(_0x10873d(0x27e))/0xa)+parseInt(_0x10873d(0x238))/0xb*(-parseInt(_0x10873d(0x2c7))/0xc)+parseInt(_0x10873d(0x360))/0xd*(parseInt(_0x10873d(0x3c0))/0xe);if(_0x532546===_0x139863)break;else _0x4d6c2a['push'](_0x4d6c2a['shift']());}catch(_0x509184){_0x4d6c2a['push'](_0x4d6c2a['shift']());}}}(_0x54df,0xb9219),function(_0x40636c,_0x126ea7){const _0x4df328=_0xbbea;typeof exports==_0x4df328(0x426)&&typeof module<'u'?_0x126ea7(exports,require(_0x4df328(0x1f1)),require(_0x4df328(0x2e7)),require(_0x4df328(0x163)),require(_0x4df328(0x44a)),require('@univerjs/ui'),require(_0x4df328(0x1e1)),require(_0x4df328(0x1bf)),require(_0x4df328(0x2cd)),require(_0x4df328(0x45e)),require(_0x4df328(0x2ac)),require(_0x4df328(0x568)),require(_0x4df328(0x482)),require(_0x4df328(0x188)),require(_0x4df328(0x10e)),require(_0x4df328(0x19c)),require(_0x4df328(0x478)),require('@univerjs/rpc')):typeof define=='function'&&define[_0x4df328(0x3ca)]?define([_0x4df328(0x241),_0x4df328(0x1f1),_0x4df328(0x2e7),_0x4df328(0x163),_0x4df328(0x44a),_0x4df328(0x272),_0x4df328(0x1e1),_0x4df328(0x1bf),_0x4df328(0x2cd),'@univerjs/docs-ui',_0x4df328(0x2ac),_0x4df328(0x568),_0x4df328(0x482),_0x4df328(0x188),'@univerjs/engine-formula',_0x4df328(0x19c),_0x4df328(0x478),_0x4df328(0x312)],_0x126ea7):(_0x40636c=typeof globalThis<'u'?globalThis:_0x40636c||self,_0x126ea7(_0x40636c['UniverCollaborationClient']={},_0x40636c[_0x4df328(0x235)],_0x40636c['rxjs'],_0x40636c['rxjs'][_0x4df328(0x25b)],_0x40636c[_0x4df328(0x57f)],_0x40636c[_0x4df328(0x42b)],_0x40636c[_0x4df328(0x218)],_0x40636c[_0x4df328(0x298)],_0x40636c[_0x4df328(0x33c)],_0x40636c[_0x4df328(0x58e)],_0x40636c[_0x4df328(0x27a)],_0x40636c['UniverEngineRender'],_0x40636c[_0x4df328(0x592)],_0x40636c['UniverDrawing'],_0x40636c[_0x4df328(0x4d4)],_0x40636c['UniverSheetsUi'],_0x40636c[_0x4df328(0x576)],_0x40636c[_0x4df328(0x471)]));}(this,function(_0x325eac,_0x457d20,_0x44a02e,_0x4c8197,_0x151ca4,_0x2b45ba,_0x4737a0,_0x4d26ac,_0x1d7f47,_0x1b8609,_0x91efb2,_0x5c58b0,_0x279b33,_0x39cda2,_0x4e8c55,_0x5ed4fc,_0x53b86a,_0x663046){'use strict';const _0x357007=_0xbbea;var _0x3e3c83=Object['defineProperty'],_0x732e4e=(_0xfbe2d7,_0x30b2a9,_0x4a4628)=>_0x30b2a9 in _0xfbe2d7?_0x3e3c83(_0xfbe2d7,_0x30b2a9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a4628}):_0xfbe2d7[_0x30b2a9]=_0x4a4628,_0x184856=(_0x3f09fa,_0x1a1f1a,_0x2bb11a)=>_0x732e4e(_0x3f09fa,typeof _0x1a1f1a!=_0x357007(0x480)?_0x1a1f1a+'':_0x1a1f1a,_0x2bb11a);const _0x89ef62='SNAPSHOT_SERVER_URL_KEY',_0x10c8e6='/universer-api/snapshot',_0xfc9b39=_0x357007(0x38d),_0x441ba3=_0x357007(0x431),_0x446764=_0x357007(0x26b),_0x47820e=_0x357007(0x3b3),_0x21f50d='HEARTBEAT_INTERVAL',_0x4f64ac=_0x357007(0x388),_0x577f9c='RETRY_CONNECTING_MAX_COUNT',_0x348843='LOCAL_CACHE_INTERVAL',_0x1d9233=_0x357007(0x41e),_0x1cf9dc='/universer-api/comb',_0x53356b=_0x357007(0x343),_0x435faa=_0x357007(0x394);var _0x17b26e=(_0x845e10=>(_0x845e10[_0x845e10['UNDEFINED']=0x0]=_0x357007(0x1ba),_0x845e10[_0x845e10['OK']=0x1]='OK',_0x845e10[_0x845e10['INTERNAL_ERROR']=0x2]=_0x357007(0x3af),_0x845e10[_0x845e10['PERMISSION_DENIED']=0x3]=_0x357007(0x48f),_0x845e10[_0x845e10['NOT_FOUND']=0x4]='NOT_FOUND',_0x845e10[_0x845e10['UNAUTHENTICATED']=0x5]=_0x357007(0x3d9),_0x845e10[_0x845e10[_0x357007(0x165)]=0x6]=_0x357007(0x165),_0x845e10[_0x845e10[_0x357007(0x231)]=0x7]=_0x357007(0x231),_0x845e10[_0x845e10[_0x357007(0x137)]=0x8]='TOO_MANY_REQUESTS',_0x845e10[_0x845e10[_0x357007(0x2e9)]=0x9]='COMPLETION_FINISHED',_0x845e10[_0x845e10[_0x357007(0x484)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x845e10[_0x845e10[_0x357007(0x1cb)]=0x1771]=_0x357007(0x1cb),_0x845e10[_0x845e10[_0x357007(0x435)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x845e10[_0x845e10[_0x357007(0x26a)]=0x1773]=_0x357007(0x26a),_0x845e10[_0x845e10[_0x357007(0x5a4)]=0x1b59]='APPLY_REJECT',_0x845e10[_0x845e10[_0x357007(0x25d)]=0x1b5a]=_0x357007(0x25d),_0x845e10[_0x845e10['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x845e10[_0x845e10[_0x357007(0x395)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x845e10[_0x845e10[_0x357007(0x4ec)]=0x1b5d]='APPLY_DUPLICATED',_0x845e10[_0x845e10[_0x357007(0x158)]=0x1f41]=_0x357007(0x158),_0x845e10[_0x845e10[_0x357007(0x4b6)]=0x2329]=_0x357007(0x4b6),_0x845e10[_0x845e10['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x357007(0x51c),_0x845e10[_0x845e10[_0x357007(0x237)]=0x232b]=_0x357007(0x237),_0x845e10[_0x845e10[_0x357007(0x101)]=0x232c]=_0x357007(0x101),_0x845e10[_0x845e10[_0x357007(0x2d4)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x845e10[_0x845e10[_0x357007(0x291)]=0x2711]=_0x357007(0x291),_0x845e10[_0x845e10[_0x357007(0x213)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x845e10[_0x845e10[_0x357007(0x52c)]=0x2713]=_0x357007(0x52c),_0x845e10[_0x845e10[_0x357007(0x11c)]=0x2714]=_0x357007(0x11c),_0x845e10[_0x845e10[_0x357007(0x3dd)]=-0x1]=_0x357007(0x3dd),_0x845e10))(_0x17b26e||{}),_0x1c36ee=(_0x1396e9=>(_0x1396e9[_0x1396e9[_0x357007(0x3b0)]=0x0]=_0x357007(0x3b0),_0x1396e9[_0x1396e9[_0x357007(0x210)]=0x1]='UNIVER_DOC',_0x1396e9[_0x1396e9[_0x357007(0x3b5)]=0x2]=_0x357007(0x3b5),_0x1396e9[_0x1396e9[_0x357007(0x4a9)]=0x3]=_0x357007(0x4a9),_0x1396e9[_0x1396e9['UNIVER_PROJECT']=0x4]=_0x357007(0x47e),_0x1396e9[_0x1396e9[_0x357007(0x3dd)]=-0x1]='UNRECOGNIZED',_0x1396e9))(_0x1c36ee||{}),_0x4b97d5=(_0xb35077=>(_0xb35077[_0xb35077[_0x357007(0x409)]=0x0]=_0x357007(0x409),_0xb35077[_0xb35077['HELLO']=0x1]=_0x357007(0x2c6),_0xb35077[_0xb35077[_0x357007(0x48c)]=0x2]=_0x357007(0x48c),_0xb35077[_0xb35077[_0x357007(0x292)]=0x3]=_0x357007(0x292),_0xb35077[_0xb35077[_0x357007(0x56b)]=0x4]='INGEST',_0xb35077[_0xb35077[_0x357007(0x48b)]=0x5]=_0x357007(0x48b),_0xb35077[_0xb35077[_0x357007(0x336)]=0x6]='RECV',_0xb35077[_0xb35077['UNRECOGNIZED']=-0x1]=_0x357007(0x3dd),_0xb35077))(_0x4b97d5||{}),_0x2abce2=(_0x399808=>(_0x399808[_0x399808['UNKNOWN_CODE']=0x0]=_0x357007(0x363),_0x399808[_0x399808['OK']=0x1]='OK',_0x399808[_0x399808[_0x357007(0x449)]=0x2]=_0x357007(0x449),_0x399808[_0x399808[_0x357007(0x3dd)]=-0x1]=_0x357007(0x3dd),_0x399808))(_0x2abce2||{}),_0x221fc0=(_0x3d79b0=>(_0x3d79b0[_0x3d79b0['Undefined']=0x0]=_0x357007(0x284),_0x3d79b0[_0x3d79b0[_0x357007(0x13a)]=0x1]='HttpImport',_0x3d79b0[_0x3d79b0['HttpExport']=0x2]=_0x357007(0x159),_0x3d79b0[_0x3d79b0[_0x357007(0x2a7)]=0x3]=_0x357007(0x2a7),_0x3d79b0[_0x3d79b0['UnitSnapshot']=0x4]='UnitSnapshot',_0x3d79b0[_0x3d79b0[_0x357007(0x3dd)]=-0x1]=_0x357007(0x3dd),_0x3d79b0))(_0x221fc0||{});const _0x11df2a=_0x357007(0x3f9),_0x485e42={};function _0x4f68f8(_0x119d5b){const _0xe5211f=_0x357007;var _0x41815d,_0x26a54f,_0x250dcd,_0xb03630,_0x7d3f53;const _0x796ac9=_0x119d5b['data'],_0x1c4bf3=JSON[_0xe5211f(0x406)](_0x796ac9);switch(_0x1c4bf3[_0xe5211f(0x588)]){case _0x4b97d5[_0xe5211f(0x48b)]:case _0x4b97d5[_0xe5211f(0x2c6)]:{const _0x55742c=_0x1c4bf3[_0xe5211f(0x252)];return{..._0x1c4bf3,'data':_0x55742c,'cmd':_0x1c4bf3[_0xe5211f(0x588)]};}case _0x4b97d5['JOIN']:{const _0x410db4=_0x1c4bf3[_0xe5211f(0x4df)];return{..._0x1c4bf3,'data':_0x410db4,'cmd':_0x1c4bf3[_0xe5211f(0x588)]};}case _0x4b97d5[_0xe5211f(0x336)]:{const _0x1a6522=_0x1c4bf3[_0xe5211f(0x4af)];switch(_0x1a6522['eventID']){case _0x4d26ac[_0xe5211f(0x2c2)][_0xe5211f(0x466)]:return{..._0x1c4bf3,'data':{..._0x1a6522,'data':(_0x41815d=_0x1a6522[_0xe5211f(0x293)])==null?void 0x0:_0x41815d['cs']},'cmd':_0x1c4bf3['cmd']};case _0x4d26ac[_0xe5211f(0x2c2)][_0xe5211f(0x1dd)]:return{..._0x1c4bf3,'data':{..._0x1a6522,'data':(_0x26a54f=_0x1a6522[_0xe5211f(0x3cf)])==null?void 0x0:_0x26a54f['cs']},'cmd':_0x1c4bf3[_0xe5211f(0x588)]};case _0x4d26ac[_0xe5211f(0x2c2)][_0xe5211f(0x330)]:return{..._0x1c4bf3,'data':{..._0x1a6522,'data':(_0x250dcd=_0x1a6522[_0xe5211f(0x3b6)])==null?void 0x0:_0x250dcd['cs']},'cmd':_0x1c4bf3[_0xe5211f(0x588)]};case _0x4d26ac[_0xe5211f(0x2c2)]['CHANGESET_REJ']:return{..._0x1c4bf3,'data':{..._0x1a6522,'data':(_0xb03630=_0x1a6522[_0xe5211f(0x122)])==null?void 0x0:_0xb03630['cs']},'cmd':_0x1c4bf3[_0xe5211f(0x588)]};case _0x4d26ac['CollaborationEvent'][_0xe5211f(0x3f5)]:return{..._0x1c4bf3,'data':{..._0x1a6522,'data':(_0x7d3f53=_0x1a6522[_0xe5211f(0x299)])==null?void 0x0:_0x7d3f53['cs']},'cmd':_0x1c4bf3['cmd']};case _0x4d26ac['CollaborationEvent']['UPDATE_CURSOR']:return{..._0x1c4bf3,'data':{..._0x1a6522,'data':_0x1a6522[_0xe5211f(0x4ad)]},'cmd':_0x1c4bf3[_0xe5211f(0x588)]};case _0x4d26ac[_0xe5211f(0x2c2)][_0xe5211f(0x2fd)]:return{..._0x1c4bf3,'data':{..._0x1a6522,'data':_0x1a6522['joinEvent']},'cmd':_0x1c4bf3[_0xe5211f(0x588)]};case _0x4d26ac[_0xe5211f(0x2c2)]['USERS_LEAVE']:return{..._0x1c4bf3,'data':{..._0x1a6522,'data':_0x1a6522[_0xe5211f(0x1fa)]},'cmd':_0x1c4bf3[_0xe5211f(0x588)]};case _0x4d26ac[_0xe5211f(0x2c2)]['LIVESHARE_NEW_HOST']:return{..._0x1c4bf3,'data':{..._0x1a6522,'data':_0x1a6522[_0xe5211f(0x3db)]},'cmd':_0x1c4bf3[_0xe5211f(0x588)]};case _0x4d26ac[_0xe5211f(0x2c2)][_0xe5211f(0x468)]:case _0x4d26ac[_0xe5211f(0x2c2)]['LIVESHARE_OPERATION']:return{..._0x1c4bf3,'data':{..._0x1a6522,'data':_0x1a6522[_0xe5211f(0x3bd)]},'cmd':_0x1c4bf3[_0xe5211f(0x588)]};case _0x4d26ac[_0xe5211f(0x2c2)][_0xe5211f(0x179)]:return{..._0x1c4bf3,'data':{..._0x1a6522,'data':_0x1a6522['liveShareNewHost']},'cmd':_0x1c4bf3['cmd']};case _0x4d26ac[_0xe5211f(0x2c2)]['MSG_FOR_ERROR']:return{..._0x1c4bf3,'data':_0x1a6522,'cmd':_0x1c4bf3[_0xe5211f(0x588)]};case _0x4d26ac[_0xe5211f(0x2c2)]['COMMENT_UPDATE']:return{..._0x1c4bf3,'data':{..._0x1a6522,'data':_0x1a6522[_0xe5211f(0x3f7)]},'cmd':_0x1c4bf3[_0xe5211f(0x588)]};case _0x4d26ac['CollaborationEvent'][_0xe5211f(0x57c)]:return{..._0x1c4bf3,'data':{..._0x1a6522,'data':_0x1a6522[_0xe5211f(0x518)]},'cmd':_0x1c4bf3['cmd']};case _0x4d26ac[_0xe5211f(0x2c2)][_0xe5211f(0x403)]:return{..._0x1c4bf3,'data':{..._0x1a6522,'data':_0x1a6522['shouldCloseConn']},'cmd':_0x1c4bf3[_0xe5211f(0x588)]};default:return _0x1c4bf3;}}default:return _0x1c4bf3;}}function _0xfbb49e(_0x4ee230){const _0x3920bd=_0x357007;switch(_0x4ee230[_0x3920bd(0x588)]){case _0x4b97d5['HEARTBEAT']:case _0x4b97d5[_0x3920bd(0x2c6)]:return JSON[_0x3920bd(0x219)]({'cmd':_0x4ee230[_0x3920bd(0x588)],'routeKey':_0x4ee230['routeKey']});case _0x4b97d5[_0x3920bd(0x56b)]:{let _0x58c902;switch(_0x4ee230['data'][_0x3920bd(0x5a6)]){case _0x4d26ac[_0x3920bd(0x2c2)][_0x3920bd(0x14e)]:{_0x58c902={'eventID':_0x4d26ac[_0x3920bd(0x2c2)][_0x3920bd(0x14e)],'updateCursorEvent':_0x4ee230[_0x3920bd(0x24e)][_0x3920bd(0x24e)]};break;}case _0x4d26ac[_0x3920bd(0x2c2)][_0x3920bd(0x1d1)]:{_0x58c902={'eventID':_0x4d26ac['CollaborationEvent'][_0x3920bd(0x1d1)],'leaveEvent':_0x4ee230[_0x3920bd(0x24e)]['data']};break;}case _0x4d26ac[_0x3920bd(0x2c2)][_0x3920bd(0x2fd)]:{_0x58c902={'eventID':_0x4d26ac[_0x3920bd(0x2c2)][_0x3920bd(0x2fd)],'joinEvent':_0x4ee230[_0x3920bd(0x24e)][_0x3920bd(0x24e)]};break;}case _0x4d26ac[_0x3920bd(0x2c2)][_0x3920bd(0x525)]:{_0x58c902={'eventID':_0x4d26ac[_0x3920bd(0x2c2)][_0x3920bd(0x525)],'liveShareNewHost':_0x4ee230['data'][_0x3920bd(0x24e)]};break;}case _0x4d26ac[_0x3920bd(0x2c2)][_0x3920bd(0x303)]:{_0x58c902={'eventID':_0x4d26ac[_0x3920bd(0x2c2)][_0x3920bd(0x303)],'liveShareOperation':_0x4ee230[_0x3920bd(0x24e)][_0x3920bd(0x24e)]};break;}case _0x4d26ac[_0x3920bd(0x2c2)][_0x3920bd(0x179)]:{_0x58c902={'eventID':_0x4d26ac['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x4ee230['data'][_0x3920bd(0x24e)]};break;}case _0x4d26ac[_0x3920bd(0x2c2)][_0x3920bd(0x420)]:{_0x58c902={'eventID':_0x4d26ac[_0x3920bd(0x2c2)][_0x3920bd(0x420)],'liveShareRequestHost':_0x4ee230[_0x3920bd(0x24e)][_0x3920bd(0x24e)]};break;}case _0x4d26ac[_0x3920bd(0x2c2)]['LIVESHARE_FETCH_OPERATIONS']:{_0x58c902={'eventID':_0x4d26ac['CollaborationEvent'][_0x3920bd(0x468)]};break;}default:_0x58c902={'eventID':_0x4ee230[_0x3920bd(0x24e)][_0x3920bd(0x5a6)]};}return JSON['stringify']({'cmd':_0x4ee230['cmd'],'routeKey':_0x4ee230[_0x3920bd(0x18e)],'collaMsg':_0x58c902});}case _0x4b97d5['JOIN']:return JSON['stringify']({'cmd':_0x4ee230[_0x3920bd(0x588)],'routeKey':_0x4ee230[_0x3920bd(0x18e)],'joinReq':_0x4ee230[_0x3920bd(0x24e)]});case _0x4b97d5[_0x3920bd(0x292)]:return JSON[_0x3920bd(0x219)]({'cmd':_0x4ee230[_0x3920bd(0x588)],'routeKey':_0x4ee230[_0x3920bd(0x18e)],'leaveReq':_0x4ee230[_0x3920bd(0x24e)]});default:throw new Error(_0x3920bd(0x325));}}var _0x497394=Object[_0x357007(0x376)],_0x15133f=Object[_0x357007(0x41b)],_0x1ea2a1=(_0x154904,_0x2e62c3,_0x1ec96d,_0x308738)=>{const _0x48711a=_0x357007;for(var _0x25c8f9=_0x308738>0x1?void 0x0:_0x308738?_0x15133f(_0x2e62c3,_0x1ec96d):_0x2e62c3,_0x12ae52=_0x154904[_0x48711a(0x1b0)]-0x1,_0x4cdd20;_0x12ae52>=0x0;_0x12ae52--)(_0x4cdd20=_0x154904[_0x12ae52])&&(_0x25c8f9=(_0x308738?_0x4cdd20(_0x2e62c3,_0x1ec96d,_0x25c8f9):_0x4cdd20(_0x25c8f9))||_0x25c8f9);return _0x308738&&_0x25c8f9&&_0x497394(_0x2e62c3,_0x1ec96d,_0x25c8f9),_0x25c8f9;},_0x11513a=(_0x1479d8,_0x53a9ef)=>(_0x1d192f,_0x8a3ae8)=>_0x53a9ef(_0x1d192f,_0x8a3ae8,_0x1479d8);const _0x3b47f0=_0x457d20[_0x357007(0x2aa)]('univer-pro.collaboration-client-socket-service');function _0x52291d(_0x3ea764,_0x4015cb,_0x3b14b6){const _0x106a1a=_0x357007;return _0x3ea764+'/'+_0x4015cb+'/unit/'+_0x3b14b6+_0x106a1a(0x45d);}_0x325eac[_0x357007(0x247)]=class extends _0x457d20['Disposable']{constructor(_0xea113a,_0x3403da,_0x335924,_0x5136aa,_0x22a7ed){const _0x2909b5=_0x357007;super(),this[_0x2909b5(0x2e0)]=_0xea113a,this[_0x2909b5(0x240)]=_0x3403da,this[_0x2909b5(0x331)]=_0x335924,this[_0x2909b5(0x514)]=_0x5136aa,this[_0x2909b5(0x37b)]=_0x22a7ed;}['createSocket'](_0x421df6){const _0x5dfe8d=_0x357007,_0x44a5b1=this['_ws'][_0x5dfe8d(0x3ea)](_0x421df6);if(!_0x44a5b1)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x2b89a7=new _0x457d20[(_0x5dfe8d(0x57e))](),_0x2f8e88=new _0x44a02e[(_0x5dfe8d(0x481))]();_0x2b89a7[_0x5dfe8d(0x552)](_0x44a5b1[_0x5dfe8d(0x36a)][_0x5dfe8d(0x479)](_0x4ad97d=>_0x2f8e88[_0x5dfe8d(0x4d3)](_0x4ad97d))),_0x2b89a7[_0x5dfe8d(0x552)](_0x457d20[_0x5dfe8d(0x41d)](()=>_0x2f8e88[_0x5dfe8d(0x2ea)]()));const _0x3a7d08=new _0x44a02e[(_0x5dfe8d(0x481))]();_0x2b89a7['add'](_0x44a5b1[_0x5dfe8d(0x58c)]['subscribe'](_0x2476b4=>_0x3a7d08[_0x5dfe8d(0x4d3)](_0x2476b4))),_0x2b89a7[_0x5dfe8d(0x552)](_0x457d20['toDisposable'](()=>_0x3a7d08['complete']()));const _0x411a56=new _0x44a02e[(_0x5dfe8d(0x481))]();_0x2b89a7[_0x5dfe8d(0x552)](_0x44a5b1[_0x5dfe8d(0x379)][_0x5dfe8d(0x479)](_0x7a0972=>{const _0x39635f=_0x5dfe8d,_0x270694=_0x4f68f8(_0x7a0972);_0x411a56[_0x39635f(0x4d3)](_0x270694);})),_0x2b89a7['add'](_0x457d20[_0x5dfe8d(0x41d)](()=>_0x411a56[_0x5dfe8d(0x2ea)]()));let _0x324bed;const _0x25cc24=()=>{const _0x3aee48=_0x5dfe8d;_0x3a7d08[_0x3aee48(0x4d3)](new Event(_0x3aee48(0x401))),_0x2f8e88['next'](new CloseEvent('connection\x20error')),_0x324bed[_0x3aee48(0x245)]();};return _0x324bed={'memberID':'','close$':_0x2f8e88['asObservable'](),'error$':_0x3a7d08[_0x5dfe8d(0x242)](),'open$':_0x44a5b1[_0x5dfe8d(0x547)],'message$':_0x411a56['asObservable'](),'send':_0x24e4e3=>{const _0x450edc=_0x5dfe8d;if(_0x24e4e3[_0x450edc(0x588)]===_0x4b97d5[_0x450edc(0x56b)]){if(_0x24e4e3[_0x450edc(0x24e)][_0x450edc(0x5a6)]===_0x4d26ac[_0x450edc(0x2c2)][_0x450edc(0x13b)]){this[_0x450edc(0x290)](_0x324bed,_0x24e4e3['data'])[_0x450edc(0x3f6)](_0x816022=>{const _0x3ed928=_0x450edc;this[_0x3ed928(0x514)][_0x3ed928(0x519)](_0x816022),_0x25cc24();});return;}if(_0x24e4e3[_0x450edc(0x24e)][_0x450edc(0x5a6)]===_0x4d26ac[_0x450edc(0x2c2)][_0x450edc(0x12a)]){const _0x5a8836=_0x24e4e3['data'];this[_0x450edc(0x27b)](_0x5a8836)[_0x450edc(0x1c0)](_0x156291=>{const _0x59dfa7=_0x450edc;_0x411a56[_0x59dfa7(0x4d3)]({'cmd':_0x4b97d5[_0x59dfa7(0x336)],'code':_0x2abce2['OK'],'routeKey':_0x5a8836[_0x59dfa7(0x24e)][_0x59dfa7(0x563)],'routeType':'','data':{'eventID':_0x4d26ac[_0x59dfa7(0x2c2)][_0x59dfa7(0x25e)],'data':{'changesets':_0x156291}}});})[_0x450edc(0x3f6)](_0x1de7bc=>{const _0x3439b8=_0x450edc;this[_0x3439b8(0x514)][_0x3439b8(0x519)](_0x1de7bc),_0x25cc24();});return;}}_0x44a5b1[_0x450edc(0x434)](_0xfbb49e(_0x24e4e3));},'close':()=>{const _0x495557=_0x5dfe8d;_0x44a5b1[_0x495557(0x245)](),_0x2b89a7[_0x495557(0x37a)]();}},_0x324bed;}async[_0x357007(0x290)](_0x350f51,_0x1c6e52){const _0x5d7d60=_0x357007;var _0x872f5b,_0xa3049c;const {unitType:_0x4f86dd,unitID:_0x1ca3c9,changeset:_0x14644b}=_0x1c6e52[_0x5d7d60(0x24e)],_0x529ab5={'unitID':_0x1ca3c9,'memberID':_0x350f51['memberID'],'type':_0x4f86dd,'changeset':_0x4d26ac[_0x5d7d60(0x184)](_0x14644b)},_0x4fb2ce=this[_0x5d7d60(0x331)][_0x5d7d60(0x4d5)](_0x1d9233),_0x224511=this[_0x5d7d60(0x331)][_0x5d7d60(0x4d5)](_0x11df2a),_0x814d31=_0x52291d((_0xa3049c=(_0x872f5b=_0x224511==null?void 0x0:_0x224511[_0x5d7d60(0x2a3)])!=null?_0x872f5b:_0x4fb2ce)!=null?_0xa3049c:_0x1cf9dc,_0x4f86dd,_0x1ca3c9);try{await this['_http']['post'](_0x814d31,{'body':_0x529ab5});}catch(_0x22a7da){throw this[_0x5d7d60(0x514)][_0x5d7d60(0x519)](_0x5d7d60(0x341),_0x5d7d60(0x4b9)),_0x22a7da;}}async['_fetchMissChangesets'](_0x4f3fb5){const _0x494398=_0x357007,{unitID:_0x133811,from:_0x4a7e44,to:_0x155068,unitType:_0x37c386}=_0x4f3fb5[_0x494398(0x24e)];return(await this[_0x494398(0x37b)][_0x494398(0x377)]({'metadata':void 0x0},{'unitID':_0x133811,'type':_0x37c386,'from':_0x4a7e44,'to':_0x155068}))[_0x494398(0x1a5)];}},_0x325eac[_0x357007(0x247)]=_0x1ea2a1([_0x11513a(0x0,_0x457d20[_0x357007(0x2c4)](_0x4737a0['HTTPService'])),_0x11513a(0x1,_0x457d20['Inject'](_0x4737a0[_0x357007(0x114)])),_0x11513a(0x2,_0x457d20[_0x357007(0x3cc)]),_0x11513a(0x3,_0x457d20[_0x357007(0x54e)]),_0x11513a(0x4,_0x4d26ac['ISnapshotServerService'])],_0x325eac[_0x357007(0x247)]);const _0x5deb07=_0x357007(0x10f);function _0x51c318(_0x366d9e){const _0xd116b2=_0x357007;return JSON[_0xd116b2(0x219)](_0x366d9e)[_0xd116b2(0x1b0)];}class _0x2f817a{constructor(){const _0x32eb8d=_0x357007;_0x184856(this,_0x32eb8d(0x278),new _0x44a02e[(_0x32eb8d(0x481))]()),_0x184856(this,'commentUpdate$',this[_0x32eb8d(0x278)][_0x32eb8d(0x242)]());}[_0x357007(0x202)](_0x4ce9d5){const _0x274206=_0x357007;this[_0x274206(0x278)][_0x274206(0x4d3)](_0x4ce9d5);}}var _0xefe13c=Object['defineProperty'],_0x224ece=Object[_0x357007(0x41b)],_0x45f2ba=(_0x1cd339,_0x436f22,_0x4d3f8c,_0x307982)=>{const _0x4facb7=_0x357007;for(var _0x4b3cf1=_0x307982>0x1?void 0x0:_0x307982?_0x224ece(_0x436f22,_0x4d3f8c):_0x436f22,_0x27c07b=_0x1cd339[_0x4facb7(0x1b0)]-0x1,_0x1d3bea;_0x27c07b>=0x0;_0x27c07b--)(_0x1d3bea=_0x1cd339[_0x27c07b])&&(_0x4b3cf1=(_0x307982?_0x1d3bea(_0x436f22,_0x4d3f8c,_0x4b3cf1):_0x1d3bea(_0x4b3cf1))||_0x4b3cf1);return _0x307982&&_0x4b3cf1&&_0xefe13c(_0x436f22,_0x4d3f8c,_0x4b3cf1),_0x4b3cf1;},_0x452715=(_0x91bd12,_0x5b146a)=>(_0x4908d0,_0x25837a)=>_0x5b146a(_0x4908d0,_0x25837a,_0x91bd12);_0x325eac[_0x357007(0x2fa)]=class extends _0x457d20[_0x357007(0x348)]{constructor(_0x138a21,_0x3ed425){const _0x3ce7f2=_0x357007;super(),_0x184856(this,_0x3ce7f2(0x1ae),new Map()),(this[_0x3ce7f2(0x140)]=_0x138a21,this[_0x3ce7f2(0x142)]=_0x3ed425,this[_0x3ce7f2(0x189)](_0x457d20[_0x3ce7f2(0x41d)](_0x44a02e[_0x3ce7f2(0x31f)](this['_univerInstanceService'][_0x3ce7f2(0x416)](_0x457d20['UniverInstanceType'][_0x3ce7f2(0x3b5)])[_0x3ce7f2(0x3f8)](_0x4c8197['map'](_0x6839d=>_0x6839d[_0x3ce7f2(0x4a5)]())),this[_0x3ce7f2(0x140)][_0x3ce7f2(0x416)](_0x457d20[_0x3ce7f2(0x3f0)]['UNIVER_DOC'])[_0x3ce7f2(0x3f8)](_0x4c8197[_0x3ce7f2(0x595)](_0x493255=>_0x493255[_0x3ce7f2(0x4a5)]())),this[_0x3ce7f2(0x140)][_0x3ce7f2(0x416)](_0x457d20['UniverInstanceType'][_0x3ce7f2(0x4a9)])['pipe'](_0x4c8197[_0x3ce7f2(0x595)](_0x4ec605=>_0x4ec605[_0x3ce7f2(0x4a5)]())))[_0x3ce7f2(0x479)](_0x1b0250=>this[_0x3ce7f2(0x1e3)](_0x1b0250)))));}[_0x357007(0x34d)](_0x3cb018){const _0x191eff=_0x357007;this[_0x191eff(0x142)][_0x191eff(0x34d)](_0x3cb018);}[_0x357007(0x505)](){const _0x552cf7=_0x357007;return this[_0x552cf7(0x142)][_0x552cf7(0x505)]();}[_0x357007(0x522)](_0x376b3f,_0x1a927b){const _0x335306=_0x357007;let _0x3cbe14=this['_roomMembers'][_0x335306(0x1b5)](_0x376b3f);_0x3cbe14||(_0x3cbe14=new _0x2e1f1a(),this[_0x335306(0x1ae)][_0x335306(0x40f)](_0x376b3f,_0x3cbe14)),_0x3cbe14['updateMember'](_0x1a927b);}['removeMember'](_0x1ba0a9,_0x1fc86d){const _0x16a61c=_0x357007,_0x1a4893=this[_0x16a61c(0x1ae)][_0x16a61c(0x1b5)](_0x1ba0a9);_0x1a4893&&_0x1a4893[_0x16a61c(0x275)](_0x1fc86d);}[_0x357007(0x2b4)](_0x2f8f49){const _0x4324c8=_0x357007;return this[_0x4324c8(0x1ae)][_0x4324c8(0x1b5)](_0x2f8f49);}[_0x357007(0x1c1)](_0x299f23,_0x18c952){const _0x4793a0=_0x357007,_0x5f1c74=this[_0x4793a0(0x1ae)][_0x4793a0(0x1b5)](_0x299f23);if(_0x5f1c74)return _0x5f1c74['getMember'](_0x18c952);}[_0x357007(0x1e3)](_0x3dded1){const _0x1c2b98=_0x357007,_0x5e9538=this[_0x1c2b98(0x1ae)]['get'](_0x3dded1);_0x5e9538&&(_0x5e9538[_0x1c2b98(0x37a)](),this[_0x1c2b98(0x1ae)][_0x1c2b98(0x378)](_0x3dded1));}['dispose'](){const _0x219282=_0x357007;this['_roomMembers'][_0x219282(0x274)](_0x181ff8=>_0x181ff8[_0x219282(0x37a)]()),this[_0x219282(0x1ae)][_0x219282(0x3fb)]();}},_0x325eac[_0x357007(0x2fa)]=_0x45f2ba([_0x452715(0x0,_0x457d20[_0x357007(0x35e)]),_0x452715(0x1,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x33e)]))],_0x325eac[_0x357007(0x2fa)]);class _0x2e1f1a extends _0x457d20[_0x357007(0x348)]{constructor(){const _0x3a3c87=_0x357007;super(...arguments),_0x184856(this,_0x3a3c87(0x4f1),new Map());}[_0x357007(0x37a)](){const _0x223aa7=_0x357007;this[_0x223aa7(0x4f1)][_0x223aa7(0x3fb)]();}['updateMember'](_0x2b90bf){const _0xaf50eb=_0x357007;this['_members'][_0xaf50eb(0x40f)](_0x2b90bf[_0xaf50eb(0x55e)],_0x2b90bf);}['removeMember'](_0xcb878d){const _0xce2b60=_0x357007;this[_0xce2b60(0x4f1)]['delete'](_0xcb878d);}['getMember'](_0x227d39){const _0x2d506b=_0x357007;return this['_members'][_0x2d506b(0x1b5)](_0x227d39);}[_0x357007(0x1d2)](){const _0x392650=_0x357007;return Array[_0x392650(0x46a)](this[_0x392650(0x4f1)][_0x392650(0x1ed)]());}}var _0x4da265=Object[_0x357007(0x376)],_0x2375be=Object[_0x357007(0x41b)],_0x57d1ae=(_0x516ddb,_0x59bcb7,_0x276f1a,_0x5e7089)=>{for(var _0x4ac839=_0x5e7089>0x1?void 0x0:_0x5e7089?_0x2375be(_0x59bcb7,_0x276f1a):_0x59bcb7,_0x46dad3=_0x516ddb['length']-0x1,_0x51afbf;_0x46dad3>=0x0;_0x46dad3--)(_0x51afbf=_0x516ddb[_0x46dad3])&&(_0x4ac839=(_0x5e7089?_0x51afbf(_0x59bcb7,_0x276f1a,_0x4ac839):_0x51afbf(_0x4ac839))||_0x4ac839);return _0x5e7089&&_0x4ac839&&_0x4da265(_0x59bcb7,_0x276f1a,_0x4ac839),_0x4ac839;},_0x1e8364=(_0x10a785,_0x7ed68b)=>(_0x2ab91f,_0x37430f)=>_0x7ed68b(_0x2ab91f,_0x37430f,_0x10a785),_0x4b3a9d=(_0x4c2989=>(_0x4c2989[_0x4c2989['IDLE']=0x0]=_0x357007(0x306),_0x4c2989[_0x4c2989[_0x357007(0x107)]=0x1]=_0x357007(0x107),_0x4c2989[_0x4c2989[_0x357007(0x31a)]=0x2]='OFFLINE',_0x4c2989[_0x4c2989[_0x357007(0x447)]=0x3]='ONLINE',_0x4c2989))(_0x4b3a9d||{});_0x325eac['CollaborationSession']=class extends _0x457d20['RxDisposable']{constructor(_0x374a16,_0x4fe40a,_0x250271,_0x1c5728,_0x23dbdc,_0x4f9846,_0x27d46c,_0x426344,_0x4ae2e4,_0x514ec8){const _0xa57bd6=_0x357007;super(),_0x184856(this,_0xa57bd6(0x200),new _0x44a02e[(_0xa57bd6(0x387))](0x0)),_0x184856(this,'sessionStatus$',this[_0xa57bd6(0x200)]['asObservable']()),_0x184856(this,_0xa57bd6(0x121),new _0x44a02e[(_0xa57bd6(0x481))]()),_0x184856(this,_0xa57bd6(0x2f9),this[_0xa57bd6(0x121)]['asObservable']()),_0x184856(this,_0xa57bd6(0x494)),_0x184856(this,'_socketMessageSubscription'),_0x184856(this,_0xa57bd6(0x1ca)),_0x184856(this,_0xa57bd6(0x2f4),!0x1),_0x184856(this,'_telemetryInfo',null),(this[_0xa57bd6(0x130)]=_0x374a16,this['_logService']=_0x250271,this['_beforeCloseService']=_0x1c5728,this[_0xa57bd6(0x285)]=_0x23dbdc,this[_0xa57bd6(0x331)]=_0x4f9846,this[_0xa57bd6(0x22c)]=_0x27d46c,this[_0xa57bd6(0x3e1)]=_0x426344,this[_0xa57bd6(0x4e6)]=_0x4ae2e4,this['_telemetryService']=_0x514ec8,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x4fe40a['pipe'](_0x44a02e[_0xa57bd6(0x138)](this['dispose$']))[_0xa57bd6(0x479)](_0x4fce5d=>{const _0x2e6883=_0xa57bd6;var _0xb33a9;typeof _0x4fce5d>'u'||(this[_0x2e6883(0x494)]=_0x4fce5d,_0x4fce5d?(this[_0x2e6883(0x20b)](_0x4fce5d),this['_socketMessageSubscription']=_0x4fce5d['message$'][_0x2e6883(0x479)](_0x4a0df3=>{const _0x3998d5=_0x2e6883;_0x4a0df3[_0x3998d5(0x18e)]===this[_0x3998d5(0x130)]&&this[_0x3998d5(0x17c)](_0x4a0df3);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x2e6883(0x200)]['next'](0x2),(_0xb33a9=this['_socketMessageSubscription'])==null||_0xb33a9[_0x2e6883(0x436)](),this[_0x2e6883(0x119)]=null));}),this['disposeWithMe'](this['_beforeCloseService']['registerOnClose'](()=>{const _0x27311b=_0xa57bd6;var _0x338285;(_0x338285=this[_0x27311b(0x494)])==null||_0x338285[_0x27311b(0x434)]({'cmd':_0x4b97d5[_0x27311b(0x292)],'data':{'roomID':this[_0x27311b(0x130)]}});})));}get[_0x357007(0x473)](){const _0x1a41bc=_0x357007;return this[_0x1a41bc(0x200)][_0x1a41bc(0x511)]();}[_0x357007(0x14f)](){const _0x1242c4=_0x357007;var _0x380020,_0x1a5da7;return(_0x1a5da7=(_0x380020=this[_0x1242c4(0x494)])==null?void 0x0:_0x380020[_0x1242c4(0x55e)])!=null?_0x1a5da7:null;}[_0x357007(0x37a)](){const _0x9ad16c=_0x357007;super[_0x9ad16c(0x37a)](),this[_0x9ad16c(0x43e)][_0x9ad16c(0x4d3)](),this[_0x9ad16c(0x43e)]['complete']();}[_0x357007(0x245)](){const _0x443e71=_0x357007;var _0x4a48fa,_0x2cd0d5;this['_throwTelemetryCollaborationNewChangeset'](),(_0x4a48fa=this[_0x443e71(0x494)])==null||_0x4a48fa[_0x443e71(0x434)]({'cmd':_0x4b97d5[_0x443e71(0x292)],'data':{'roomID':this['_unitID']}}),(_0x2cd0d5=this[_0x443e71(0x494)])==null||_0x2cd0d5[_0x443e71(0x245)](),this[_0x443e71(0x121)][_0x443e71(0x2ea)](),this['_sessionStatus$']['complete'](),this[_0x443e71(0x37a)]();}[_0x357007(0x17c)](_0x22cf9e){const _0x1cac48=_0x357007;_0x22cf9e[_0x1cac48(0x588)]===_0x4b97d5[_0x1cac48(0x48c)]?this[_0x1cac48(0x386)](_0x22cf9e):_0x22cf9e['cmd']===_0x4b97d5['RECV']&&this[_0x1cac48(0x5a7)](_0x22cf9e);}['_joinRoom'](_0x1c42dd){const _0x38b631=_0x357007;this[_0x38b631(0x200)][_0x38b631(0x4d3)](0x1),_0x1c42dd['send']({'cmd':_0x4b97d5[_0x38b631(0x48c)],'routeKey':this[_0x38b631(0x130)],'routeType':'','data':{'rooms':[{'roomID':this[_0x38b631(0x130)]}]}});}[_0x357007(0x386)](_0x49a9f9){const _0x5013dc=_0x357007;var _0x1c7287;if(_0x49a9f9[_0x5013dc(0x352)]===_0x2abce2[_0x5013dc(0x449)]){this[_0x5013dc(0x285)]['show']({'type':_0x151ca4['MessageType'][_0x5013dc(0x5ab)],'content':this[_0x5013dc(0x22c)]['t'](_0x5013dc(0x3bc))}),this[_0x5013dc(0x200)][_0x5013dc(0x4d3)](0x2);return;}this[_0x5013dc(0x200)]['next'](0x3);const _0x3addc3=(_0x1c7287=_0x49a9f9[_0x5013dc(0x24e)][_0x5013dc(0x2b1)][this[_0x5013dc(0x130)]])==null?void 0x0:_0x1c7287[_0x5013dc(0x148)];_0x3addc3&&_0x3addc3[_0x5013dc(0x274)](_0x2914c6=>this[_0x5013dc(0x3e1)][_0x5013dc(0x522)](this['_unitID'],_0x2914c6));}[_0x357007(0x5a7)](_0x408139){const _0x22cc8a=_0x357007;try{const _0x2c3785=_0x408139[_0x22cc8a(0x24e)];switch(_0x2c3785[_0x22cc8a(0x5a6)]){case _0x4d26ac[_0x22cc8a(0x2c2)][_0x22cc8a(0x2fd)]:this['_onUserJoin'](_0x2c3785),this['_event$'][_0x22cc8a(0x4d3)](_0x2c3785);break;case _0x4d26ac[_0x22cc8a(0x2c2)][_0x22cc8a(0x1d1)]:this[_0x22cc8a(0x38c)](_0x2c3785),this['_event$'][_0x22cc8a(0x4d3)](_0x2c3785);break;case _0x4d26ac[_0x22cc8a(0x2c2)][_0x22cc8a(0x1dd)]:case _0x4d26ac[_0x22cc8a(0x2c2)]['CHANGESET_SHOULD_RETRY']:this[_0x22cc8a(0x1a7)](),this[_0x22cc8a(0x57a)](),this[_0x22cc8a(0x121)]['next'](_0x2c3785);break;case _0x4d26ac['CollaborationEvent']['MSG_FOR_ERROR']:this[_0x22cc8a(0x514)][_0x22cc8a(0x519)](_0x22cc8a(0x305)+JSON[_0x22cc8a(0x219)](_0x2c3785)),this['_event$'][_0x22cc8a(0x4d3)](_0x2c3785);break;case _0x4d26ac[_0x22cc8a(0x2c2)][_0x22cc8a(0x523)]:this[_0x22cc8a(0x4e6)]['onCommentUpdate'](_0x2c3785['data']),this[_0x22cc8a(0x121)]['next'](_0x2c3785);break;default:this[_0x22cc8a(0x121)][_0x22cc8a(0x4d3)](_0x2c3785);}}catch(_0x256c93){this[_0x22cc8a(0x514)][_0x22cc8a(0x519)](_0x256c93,_0x408139);}}[_0x357007(0x5a5)](_0x2bea13){const _0x22007b=_0x357007;this['_memberService'][_0x22007b(0x522)](this[_0x22007b(0x130)],_0x2bea13['data']);}[_0x357007(0x38c)](_0x3a1c32){const _0x10c2ff=_0x357007;this['_memberService'][_0x10c2ff(0x275)](this[_0x10c2ff(0x130)],_0x3a1c32[_0x10c2ff(0x24e)][_0x10c2ff(0x55e)]);}async[_0x357007(0x434)](_0x1ac7db,_0x571bdc){const _0x1be01a=_0x357007;if(this['sessionStatus']!==0x3||!this[_0x1be01a(0x494)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x1ac7db[_0x1be01a(0x5a6)]===_0x4d26ac['CollaborationEvent'][_0x1be01a(0x13b)]&&(this[_0x1be01a(0x21d)](),this[_0x1be01a(0x166)](_0x1ac7db)),this[_0x1be01a(0x494)][_0x1be01a(0x434)]({'cmd':_0x4b97d5['INGEST'],'routeKey':_0x571bdc,'routeType':'','data':_0x1ac7db});}catch(_0x1776f6){this[_0x1be01a(0x514)][_0x1be01a(0x519)](_0x1776f6);}}[_0x357007(0x21d)](){const _0x32a7ce=_0x357007;var _0x258924;this[_0x32a7ce(0x1ca)]=window[_0x32a7ce(0x1c5)](()=>{const _0x4f8070=_0x32a7ce;this[_0x4f8070(0x1ca)]=null,this[_0x4f8070(0x285)][_0x4f8070(0x3a5)]({'type':_0x151ca4['MessageType'][_0x4f8070(0x455)],'content':this[_0x4f8070(0x22c)]['t'](_0x4f8070(0x4ee))});},(_0x258924=this['_configService'][_0x32a7ce(0x4d5)](_0x4f64ac))!=null?_0x258924:0x4e20);}[_0x357007(0x57a)](){const _0x59d19c=_0x357007;this[_0x59d19c(0x1ca)]&&(clearTimeout(this[_0x59d19c(0x1ca)]),this[_0x59d19c(0x1ca)]=null);}[_0x357007(0x166)](_0x108ffe){const _0x10bc8f=_0x357007;if(!this['_shouldReportTelemetry'])return;const {data:_0x2bf96e}=_0x108ffe,{unitID:_0x7d9a64,changeset:_0x2227ce}=_0x2bf96e,{mutations:_0x428c4b,type:_0x33d400}=_0x2227ce;this[_0x10bc8f(0x2c1)]={'unitId':_0x7d9a64,'type':_0x33d400,'startTime':performance[_0x10bc8f(0x1ea)](),'stopTime':0x0,'duration':0x0,'size':_0x51c318(_0x428c4b)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x184098=_0x357007;if(this[_0x184098(0x2f4)]){if(!this['_telemetryInfo']){this[_0x184098(0x514)]['error']('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x184098(0x2c1)][_0x184098(0x342)]=performance[_0x184098(0x1ea)](),this['_telemetryInfo']['duration']=this[_0x184098(0x2c1)][_0x184098(0x342)]-this[_0x184098(0x2c1)][_0x184098(0x301)],this[_0x184098(0x28b)][_0x184098(0x4ab)](_0x5deb07,this[_0x184098(0x2c1)]),this[_0x184098(0x2c1)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){const _0x2e31ef=_0x357007;this[_0x2e31ef(0x2c1)]=null;}},_0x325eac[_0x357007(0xe2)]=_0x57d1ae([_0x1e8364(0x2,_0x457d20[_0x357007(0x54e)]),_0x1e8364(0x3,_0x2b45ba[_0x357007(0x1de)]),_0x1e8364(0x4,_0x2b45ba[_0x357007(0x3ba)]),_0x1e8364(0x5,_0x457d20['IConfigService']),_0x1e8364(0x6,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x128)])),_0x1e8364(0x7,_0x457d20[_0x357007(0x2c4)](_0x325eac[_0x357007(0x2fa)])),_0x1e8364(0x8,_0x457d20[_0x357007(0x2c4)](_0x2f817a)),_0x1e8364(0x9,_0x457d20[_0x357007(0xe8)](_0x1d7f47[_0x357007(0x276)]))],_0x325eac['CollaborationSession']);var _0x3ea5fa=Object[_0x357007(0x376)],_0x4c51a0=Object[_0x357007(0x41b)],_0x9919aa=(_0x54fcf8,_0x164d44,_0x3f81a0,_0x198ad7)=>{for(var _0x4eafd6=_0x198ad7>0x1?void 0x0:_0x198ad7?_0x4c51a0(_0x164d44,_0x3f81a0):_0x164d44,_0x2b190d=_0x54fcf8['length']-0x1,_0x4bef50;_0x2b190d>=0x0;_0x2b190d--)(_0x4bef50=_0x54fcf8[_0x2b190d])&&(_0x4eafd6=(_0x198ad7?_0x4bef50(_0x164d44,_0x3f81a0,_0x4eafd6):_0x4bef50(_0x4eafd6))||_0x4eafd6);return _0x198ad7&&_0x4eafd6&&_0x3ea5fa(_0x164d44,_0x3f81a0,_0x4eafd6),_0x4eafd6;},_0x1bb855=(_0x59216c,_0x49404b)=>(_0x3ffdad,_0x4934c5)=>_0x49404b(_0x3ffdad,_0x4934c5,_0x59216c);_0x325eac[_0x357007(0x30b)]=class extends _0x457d20[_0x357007(0x348)]{constructor(_0x1002fe,_0x404c67,_0x1427a4,_0x463e48,_0x299582,_0x12acf8){const _0x207af9=_0x357007;super(),_0x184856(this,_0x207af9(0x597),new _0x44a02e[(_0x207af9(0x387))](void 0x0)),_0x184856(this,_0x207af9(0x18c),this[_0x207af9(0x597)][_0x207af9(0x242)]()),_0x184856(this,_0x207af9(0x27c),null),_0x184856(this,'_sessions',new Map()),_0x184856(this,_0x207af9(0x103),new _0x44a02e[(_0x207af9(0x387))](_0x4b3a9d[_0x207af9(0x306)])),_0x184856(this,_0x207af9(0x1ec),this['_status$'][_0x207af9(0x242)]()),_0x184856(this,_0x207af9(0x157),!0x1),_0x184856(this,_0x207af9(0x392)),_0x184856(this,_0x207af9(0x4de),0x0),_0x184856(this,_0x207af9(0x26e)),_0x184856(this,'_timeoutTimer'),(this[_0x207af9(0x593)]=_0x1002fe,this[_0x207af9(0x22c)]=_0x404c67,this[_0x207af9(0x285)]=_0x1427a4,this['_logService']=_0x463e48,this[_0x207af9(0x331)]=_0x299582,this['_socketService']=_0x12acf8,this[_0x207af9(0x3ee)]());}get['_socket'](){const _0x3dbcf2=_0x357007;return this[_0x3dbcf2(0x597)][_0x3dbcf2(0x511)]();}[_0x357007(0x3ee)](){const _0x4d50de=_0x357007;this[_0x4d50de(0x4c3)](),this['_listenToOnlineEvent']();}['dispose'](){const _0x33b0dc=_0x357007;super[_0x33b0dc(0x37a)](),this[_0x33b0dc(0x16c)]['forEach'](_0x1cbbc5=>_0x1cbbc5[_0x33b0dc(0x37a)]()),this[_0x33b0dc(0x16c)][_0x33b0dc(0x3fb)](),this['_status$'][_0x33b0dc(0x2ea)]();}async[_0x357007(0x538)](_0x49eb36){const _0x215245=_0x357007;if(this['_sessions'][_0x215245(0xf8)](_0x49eb36))return this[_0x215245(0x16c)][_0x215245(0x1b5)](_0x49eb36);this['_tryEnsureSocket']();const _0x4b1df4=this[_0x215245(0x593)][_0x215245(0xfd)](_0x325eac[_0x215245(0xe2)],_0x49eb36,this['_socket$'][_0x215245(0x242)]());return this[_0x215245(0x16c)][_0x215245(0x40f)](_0x49eb36,_0x4b1df4),_0x4b1df4;}['closeSession'](_0x5eb0f3){const _0x149ea3=_0x357007;var _0x23c540;const _0x222d6a=this[_0x149ea3(0x16c)]['get'](_0x5eb0f3);_0x222d6a&&(this[_0x149ea3(0x16c)][_0x149ea3(0x378)](_0x5eb0f3),_0x222d6a[_0x149ea3(0x245)]()),this['_sessions'][_0x149ea3(0x485)]||(_0x23c540=this['_socket'])==null||_0x23c540[_0x149ea3(0x245)]();}[_0x357007(0x319)](){const _0x1d08f6=_0x357007;this[_0x1d08f6(0x4de)]=0x0,this[_0x1d08f6(0x392)]!=null&&(clearTimeout(this[_0x1d08f6(0x392)]),this[_0x1d08f6(0x392)]=null),this[_0x1d08f6(0x24b)]();}[_0x357007(0x4fc)](){const _0x25f10f=_0x357007;var _0x8a74ba,_0x5d99a4;const _0x2a2042=this[_0x25f10f(0x331)][_0x25f10f(0x4d5)](_0x446764),_0x46e759=this[_0x25f10f(0x331)][_0x25f10f(0x4d5)](_0x11df2a),_0x2b9f21=(_0x5d99a4=(_0x8a74ba=_0x46e759==null?void 0x0:_0x46e759[_0x25f10f(0x48a)])!=null?_0x8a74ba:_0x2a2042)!=null?_0x5d99a4:_0x47820e,_0x3cfbd2=this['_socketService'][_0x25f10f(0x3ea)](_0x2b9f21);return this['_candidateSocket']=_0x3cfbd2,_0x3cfbd2;}['_tryEnsureSocket'](){const _0x162170=_0x357007;var _0x3086c1,_0x3f9e5c;try{const _0x4737fc=(_0x3f9e5c=(_0x3086c1=this[_0x162170(0x494)])!=null?_0x3086c1:this[_0x162170(0x27c)])!=null?_0x3f9e5c:this[_0x162170(0x4fc)]();if(_0x4737fc){const _0x1c3cf9=_0x4737fc[_0x162170(0x434)];_0x4737fc[_0x162170(0x434)]=_0x494f49=>(this[_0x162170(0x572)](),_0x1c3cf9['apply'](_0x4737fc,[_0x494f49])),_0x4737fc[_0x162170(0x379)][_0x162170(0x479)](_0x17a3ab=>this[_0x162170(0x182)](_0x4737fc,_0x17a3ab)),_0x4737fc[_0x162170(0x58c)][_0x162170(0x3f8)](_0x4c8197[_0x162170(0x370)](0x1))[_0x162170(0x479)](_0x511fa6=>this['_logService'][_0x162170(0x519)](_0x162170(0x35b),_0x511fa6)),_0x4737fc['open$'][_0x162170(0x3f8)](_0x4c8197[_0x162170(0x370)](0x1))[_0x162170(0x479)](()=>{const _0x4dabf5=_0x162170;this[_0x4dabf5(0x367)](_0x4737fc);}),_0x4737fc[_0x162170(0x36a)][_0x162170(0x3f8)](_0x4c8197[_0x162170(0x370)](0x1))['subscribe'](_0x5811bc=>{const _0x705485=_0x162170;this[_0x705485(0x514)][_0x705485(0x17b)](_0x705485(0x52f),_0x705485(0x531),_0x5811bc),this[_0x705485(0x35a)]();});}}catch(_0x36e232){this[_0x162170(0x514)][_0x162170(0x519)](_0x36e232),this[_0x162170(0x35a)]();}}[_0x357007(0x367)](_0x314a28){const _0x46cfa1=_0x357007;this[_0x46cfa1(0x514)][_0x46cfa1(0x17b)]('[CollaborationSessionService]','socket\x20open.'),_0x314a28['send']({'cmd':_0x4b97d5[_0x46cfa1(0x2c6)]}),this[_0x46cfa1(0x572)]();}[_0x357007(0x4c3)](){const _0x5e969a=_0x357007;window[_0x5e969a(0xf3)]('offline',()=>this[_0x5e969a(0x560)]());}['_onOffline'](){const _0x3b3666=_0x357007;this[_0x3b3666(0x157)]=!0x1,this[_0x3b3666(0x27c)]=null,this[_0x3b3666(0x103)][_0x3b3666(0x4d3)](_0x4b3a9d[_0x3b3666(0x31a)]),this[_0x3b3666(0x597)][_0x3b3666(0x4d3)](null),this[_0x3b3666(0x2d5)](),this[_0x3b3666(0x549)]();}[_0x357007(0x35a)](){const _0x43966a=_0x357007;var _0xb4f0a3;this[_0x43966a(0x560)](),this[_0x43966a(0x4de)]<((_0xb4f0a3=this[_0x43966a(0x331)][_0x43966a(0x4d5)](_0x577f9c))!=null?_0xb4f0a3:0x3)?(this[_0x43966a(0x285)][_0x43966a(0x3a5)]({'key':'collaboration-session-retry','type':_0x151ca4[_0x43966a(0x21f)][_0x43966a(0x5ab)],'content':this['_localeService']['t'](_0x43966a(0x2dc))}),this[_0x43966a(0x24b)]()):this[_0x43966a(0x285)][_0x43966a(0x3a5)]({'key':_0x43966a(0x43b),'type':_0x151ca4[_0x43966a(0x21f)]['Error'],'content':this[_0x43966a(0x22c)]['t'](_0x43966a(0x402))});}[_0x357007(0x2d7)](){const _0x29b5d9=_0x357007,_0x3551a6=()=>{const _0x45f34e=_0xbbea;this[_0x45f34e(0x494)]||this['reconnect']();},_0x2074b1=()=>{const _0x3fc9a3=_0xbbea;this[_0x3fc9a3(0x494)]||document['visibilityState']===_0x3fc9a3(0x59d)||this[_0x3fc9a3(0x319)]();};window[_0x29b5d9(0xf3)](_0x29b5d9(0x491),_0x3551a6),document['addEventListener']('visibilitychange',_0x2074b1);}[_0x357007(0x24b)](){const _0x1f5b00=_0x357007;var _0x1329e6;const _0x4a7aae=this[_0x1f5b00(0x4de)],_0x487aa7=this[_0x1f5b00(0x331)][_0x1f5b00(0x4d5)](_0x11df2a),_0x1ba59c=_0x4a7aae===0x0?0x0:((_0x1329e6=_0x487aa7==null?void 0x0:_0x487aa7[_0x1f5b00(0x500)])!=null?_0x1329e6:0x4e20)*0x2**_0x4a7aae;this[_0x1f5b00(0x392)]=window['setTimeout'](()=>{const _0x5d468c=_0x1f5b00;clearTimeout(this[_0x5d468c(0x392)]),this['_retryConnectingTimer']=null,this[_0x5d468c(0x52e)]();},_0x1ba59c),this[_0x1f5b00(0x4de)]+=0x1;}['_onMessage'](_0x3d1f21,_0x3d7f1f){const _0x493842=_0x357007,{cmd:_0x32339e}=_0x3d7f1f;_0x32339e===_0x4b97d5[_0x493842(0x2c6)]&&!this[_0x493842(0x157)]&&(_0x3d1f21[_0x493842(0x55e)]=_0x3d7f1f[_0x493842(0x24e)]['memberID'],this[_0x493842(0x597)][_0x493842(0x4d3)](_0x3d1f21),this[_0x493842(0x103)][_0x493842(0x4d3)](_0x4b3a9d[_0x493842(0x447)]),this[_0x493842(0x157)]=!0x0,this['_candidateSocket']=null),_0x32339e===_0x4b97d5[_0x493842(0x48b)]&&this[_0x493842(0x2d5)](),this['_rescheduleHeartbeat']();}[_0x357007(0x572)](){const _0x3541e5=_0x357007;var _0x29ff92;this[_0x3541e5(0x549)](),this['_sendHeartbeatTimer']=window[_0x3541e5(0x1c5)](()=>this[_0x3541e5(0x1a6)](),(_0x29ff92=this['_configService']['getConfig'](_0x21f50d))!=null?_0x29ff92:0x7530);}[_0x357007(0x1a6)](){const _0x12c8db=_0x357007;this[_0x12c8db(0x494)][_0x12c8db(0x434)]({'cmd':_0x4b97d5[_0x12c8db(0x48b)]}),this['_waitForHeartbeatResponse']();}[_0x357007(0x4c2)](){const _0x4ee488=_0x357007;var _0x3b79fd;this['_timeoutTimer']=window[_0x4ee488(0x1c5)](()=>this[_0x4ee488(0x35a)](),(_0x3b79fd=this['_configService'][_0x4ee488(0x4d5)](_0x4f64ac))!=null?_0x3b79fd:0x4e20);}[_0x357007(0x549)](){const _0x233894=_0x357007;this[_0x233894(0x26e)]!=null&&(clearTimeout(this[_0x233894(0x26e)]),this[_0x233894(0x26e)]=null);}[_0x357007(0x2d5)](){const _0x168f81=_0x357007;this[_0x168f81(0x3cb)]!=null&&(clearTimeout(this[_0x168f81(0x3cb)]),this['_timeoutTimer']=null);}},_0x325eac[_0x357007(0x30b)]=_0x9919aa([_0x1bb855(0x0,_0x457d20['Inject'](_0x457d20[_0x357007(0x467)])),_0x1bb855(0x1,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x128)])),_0x1bb855(0x2,_0x2b45ba[_0x357007(0x3ba)]),_0x1bb855(0x3,_0x457d20[_0x357007(0x54e)]),_0x1bb855(0x4,_0x457d20[_0x357007(0x3cc)]),_0x1bb855(0x5,_0x3b47f0)],_0x325eac[_0x357007(0x30b)]);const _0x4d5b05=[];for(let _0x43ab57=0x0;_0x43ab57<0x100;++_0x43ab57)_0x4d5b05[_0x357007(0x39d)]((_0x43ab57+0x100)[_0x357007(0x14b)](0x10)['slice'](0x1));function _0x1e8155(_0x11a7e8,_0x4dfc82=0x0){return(_0x4d5b05[_0x11a7e8[_0x4dfc82+0x0]]+_0x4d5b05[_0x11a7e8[_0x4dfc82+0x1]]+_0x4d5b05[_0x11a7e8[_0x4dfc82+0x2]]+_0x4d5b05[_0x11a7e8[_0x4dfc82+0x3]]+'-'+_0x4d5b05[_0x11a7e8[_0x4dfc82+0x4]]+_0x4d5b05[_0x11a7e8[_0x4dfc82+0x5]]+'-'+_0x4d5b05[_0x11a7e8[_0x4dfc82+0x6]]+_0x4d5b05[_0x11a7e8[_0x4dfc82+0x7]]+'-'+_0x4d5b05[_0x11a7e8[_0x4dfc82+0x8]]+_0x4d5b05[_0x11a7e8[_0x4dfc82+0x9]]+'-'+_0x4d5b05[_0x11a7e8[_0x4dfc82+0xa]]+_0x4d5b05[_0x11a7e8[_0x4dfc82+0xb]]+_0x4d5b05[_0x11a7e8[_0x4dfc82+0xc]]+_0x4d5b05[_0x11a7e8[_0x4dfc82+0xd]]+_0x4d5b05[_0x11a7e8[_0x4dfc82+0xe]]+_0x4d5b05[_0x11a7e8[_0x4dfc82+0xf]])['toLowerCase']();}let _0x4f6f9d;const _0x3e6d6a=new Uint8Array(0x10);function _0x475baf(){const _0x36f77d=_0x357007;if(!_0x4f6f9d){if(typeof crypto>'u'||!crypto[_0x36f77d(0x425)])throw new Error(_0x36f77d(0x504));_0x4f6f9d=crypto[_0x36f77d(0x425)][_0x36f77d(0x125)](crypto);}return _0x4f6f9d(_0x3e6d6a);}const _0xa9a6e8={'randomUUID':typeof crypto<'u'&&crypto[_0x357007(0x160)]&&crypto[_0x357007(0x160)][_0x357007(0x125)](crypto)};function _0xee27dc(_0x31f9c0,_0x5095bf,_0x456ffc){const _0x1f02d1=_0x357007;if(_0xa9a6e8['randomUUID']&&!_0x5095bf&&!_0x31f9c0)return _0xa9a6e8[_0x1f02d1(0x160)]();_0x31f9c0=_0x31f9c0||{};const _0x3bb819=_0x31f9c0[_0x1f02d1(0x524)]||(_0x31f9c0[_0x1f02d1(0x51e)]||_0x475baf)();return _0x3bb819[0x6]=_0x3bb819[0x6]&0xf|0x40,_0x3bb819[0x8]=_0x3bb819[0x8]&0x3f|0x80,_0x1e8155(_0x3bb819);}var _0x669888=Object[_0x357007(0x376)],_0x2117c0=Object[_0x357007(0x41b)],_0x2bb539=(_0x2724ff,_0x27aad0,_0x1eab2a,_0x415120)=>{const _0x4ce944=_0x357007;for(var _0x3f743=_0x415120>0x1?void 0x0:_0x415120?_0x2117c0(_0x27aad0,_0x1eab2a):_0x27aad0,_0x1536d3=_0x2724ff[_0x4ce944(0x1b0)]-0x1,_0x14fa45;_0x1536d3>=0x0;_0x1536d3--)(_0x14fa45=_0x2724ff[_0x1536d3])&&(_0x3f743=(_0x415120?_0x14fa45(_0x27aad0,_0x1eab2a,_0x3f743):_0x14fa45(_0x3f743))||_0x3f743);return _0x415120&&_0x3f743&&_0x669888(_0x27aad0,_0x1eab2a,_0x3f743),_0x3f743;},_0x54e084=(_0x310ddd,_0x44f547)=>(_0x464f8d,_0x3c4979)=>_0x44f547(_0x464f8d,_0x3c4979,_0x310ddd);let _0xa432dd=class{constructor(_0x1c5388,_0xce9629,_0x4fe4b6){const _0x4c5d23=_0x357007;this['_injector']=_0x1c5388,this[_0x4c5d23(0x2af)]=_0xce9629,this[_0x4c5d23(0x152)]=_0x4fe4b6;}[_0x357007(0x440)](_0x3dd86e){const _0x3d2d78=_0x357007;this[_0x3d2d78(0x113)](_0x3dd86e),this[_0x3d2d78(0x1b8)](_0x3dd86e);}[_0x357007(0x1a1)](_0x1d7eba){const _0x105a7b=_0x357007,{unitID:_0x60fb1}=_0x1d7eba,_0x47b7a5=this[_0x105a7b(0x152)][_0x105a7b(0x25f)](_0x60fb1)[_0x105a7b(0x3ab)](_0x1b8609[_0x105a7b(0x212)]),{redoCache:_0x3ca100}=_0x47b7a5[_0x105a7b(0x5a3)]();if(_0x3ca100[_0x105a7b(0x1b0)]===0x0)return _0x1d7eba;let _0xbe2add=_0x457d20[_0x105a7b(0x458)][_0x105a7b(0x176)](_0x1d7eba[_0x105a7b(0x21b)][0x0]);for(let _0x65d567=0x0;_0x65d567<_0x3ca100[_0x105a7b(0x1b0)];_0x65d567++){const _0x2f53c6={'id':_0x105a7b(0x50f),'params':{..._0x3ca100[_0x65d567]}},_0x1c57d5=this['_transformService'][_0x105a7b(0x3fe)](_0xbe2add,_0x2f53c6,!0x1);if(_0x4d26ac[_0x105a7b(0x1cf)](_0x1c57d5))throw _0x1c57d5[_0x105a7b(0x519)];_0xbe2add=_0x1c57d5['m1Prime'];}return{..._0x457d20[_0x105a7b(0x458)][_0x105a7b(0x176)](_0x1d7eba),'mutations':[_0xbe2add]};}[_0x357007(0x113)](_0xe66520){const _0x3af656=_0x357007,{unitID:_0x32d1af}=_0xe66520,_0x1098c0=this[_0x3af656(0x152)][_0x3af656(0x25f)](_0x32d1af)[_0x3af656(0x3ab)](_0x1b8609[_0x3af656(0x212)]),{undoCache:_0x56fbac,redoCache:_0x2fdaf8}=_0x1098c0['getUndoRedoMutationParamsCache']();if(_0x56fbac[_0x3af656(0x1b0)]===0x0||_0x2fdaf8['length']===0x0)return;const _0x41a079=[],_0x172441=[];let _0x40e5ca=_0x457d20[_0x3af656(0x458)][_0x3af656(0x176)](_0xe66520[_0x3af656(0x21b)][0x0]),_0xf36845=_0x457d20[_0x3af656(0x458)][_0x3af656(0x176)](_0xe66520[_0x3af656(0x21b)][0x0]);for(let _0x28b34b=_0x56fbac[_0x3af656(0x1b0)]-0x1;_0x28b34b>=0x0;_0x28b34b--){const _0x1fd554={'id':_0x3af656(0x50f),'params':{..._0x56fbac[_0x28b34b]}},_0x2ec485={'id':_0x3af656(0x50f),'params':{..._0x2fdaf8[_0x28b34b]}},_0x1a0e09=this[_0x3af656(0x2af)][_0x3af656(0x3fe)](_0x40e5ca,_0x1fd554,!0x1),_0x44a30f=this[_0x3af656(0x2af)]['transformMutation'](_0xf36845,_0x2ec485,!0x1);if(_0x4d26ac[_0x3af656(0x1cf)](_0x1a0e09))throw _0x1a0e09[_0x3af656(0x519)];if(_0x4d26ac[_0x3af656(0x1cf)](_0x44a30f))throw _0x44a30f[_0x3af656(0x519)];_0x41a079['unshift'](_0x1a0e09[_0x3af656(0x472)][_0x3af656(0x53a)]),_0x172441[_0x3af656(0x2a8)](_0x44a30f[_0x3af656(0x472)][_0x3af656(0x53a)]),_0x40e5ca=_0x1a0e09[_0x3af656(0x366)],_0xf36845=_0x44a30f[_0x3af656(0x366)];}_0x1098c0[_0x3af656(0x5a2)]({'undoCache':_0x41a079,'redoCache':_0x172441});}[_0x357007(0x1b8)](_0x206569){const _0x4d3b58=_0x357007,{unitID:_0x1a54ca}=_0x206569,_0xe62bdf=this[_0x4d3b58(0x152)][_0x4d3b58(0x25f)](_0x1a54ca)[_0x4d3b58(0x3ab)](_0x1b8609['DocIMEInputManagerService']),_0x5e3fe7=_0xe62bdf[_0x4d3b58(0x57b)]();if(_0x5e3fe7==null)return;const _0x299c14=[{'id':_0x4d3b58(0x50f),'params':{'unitId':_0x206569[_0x4d3b58(0x563)],'actions':null,'textRanges':[_0x5e3fe7]}}],_0x26874e=this['_transformService'][_0x4d3b58(0x424)](_0x206569,_0x299c14);if(!_0x4d26ac[_0x4d3b58(0xed)](_0x26874e))throw _0x26874e[_0x4d3b58(0x519)];const _0x29b669=_0x26874e[_0x4d3b58(0x472)][0x0][_0x4d3b58(0x53a)][_0x4d3b58(0xf2)];Array['isArray'](_0x29b669)&&_0x29b669[_0x4d3b58(0x1b0)]&&_0xe62bdf['setActiveRange'](_0x29b669[0x0]);}};_0xa432dd=_0x2bb539([_0x54e084(0x0,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x467)])),_0x54e084(0x1,_0x4d26ac[_0x357007(0x329)]),_0x54e084(0x2,_0x5c58b0[_0x357007(0x313)])],_0xa432dd);var _0x450459=Object[_0x357007(0x376)],_0x44f162=Object['getOwnPropertyDescriptor'],_0x43a98f=(_0x349deb,_0x5ea9ee,_0x36faa3,_0x337f25)=>{const _0xb036fd=_0x357007;for(var _0x1cd669=_0x337f25>0x1?void 0x0:_0x337f25?_0x44f162(_0x5ea9ee,_0x36faa3):_0x5ea9ee,_0x3114bb=_0x349deb[_0xb036fd(0x1b0)]-0x1,_0x21e897;_0x3114bb>=0x0;_0x3114bb--)(_0x21e897=_0x349deb[_0x3114bb])&&(_0x1cd669=(_0x337f25?_0x21e897(_0x5ea9ee,_0x36faa3,_0x1cd669):_0x21e897(_0x1cd669))||_0x1cd669);return _0x337f25&&_0x1cd669&&_0x450459(_0x5ea9ee,_0x36faa3,_0x1cd669),_0x1cd669;},_0x2c3974=(_0x32c01c,_0x594d12)=>(_0x36e35e,_0x35dcc3)=>_0x594d12(_0x36e35e,_0x35dcc3,_0x32c01c);_0x325eac[_0x357007(0x4f9)]=class extends _0x457d20[_0x357007(0x348)]{constructor(_0x59cd94,_0x31cd06,_0x4b7a6d,_0x3a6f6a,_0x5f1315){const _0x6535b5=_0x357007;super(),_0x184856(this,_0x6535b5(0xf6),new Map()),_0x184856(this,_0x6535b5(0x369),new Map()),_0x184856(this,_0x6535b5(0x564),!0x1),(this[_0x6535b5(0x331)]=_0x59cd94,this[_0x6535b5(0x2fb)]=_0x31cd06,this[_0x6535b5(0x567)]=_0x4b7a6d,this[_0x6535b5(0x22c)]=_0x3a6f6a,this['_revisionService']=_0x5f1315,this['_setupBeforeClosingHandler']());}[_0x357007(0x1e6)](){const _0x2141c0=_0x357007;this[_0x2141c0(0x564)]=!0x0;}[_0x357007(0x283)](){const _0x21bb43=_0x357007;this[_0x21bb43(0x564)]=!0x1;}[_0x357007(0x37a)](){const _0x591e1b=_0x357007;this[_0x591e1b(0x4c5)]()[_0x591e1b(0x1c0)](()=>super[_0x591e1b(0x37a)]());}async[_0x357007(0x120)](_0x56f1ac){const _0x11bb88=_0x357007;return this[_0x11bb88(0x564)]?null:this[_0x11bb88(0x2fb)][_0x11bb88(0x3df)](_0x18ec28(_0x56f1ac));}async[_0x357007(0x4b2)](_0x39f913,_0x135050){const _0x3e42b7=_0x357007;return!!this[_0x3e42b7(0x2fb)][_0x3e42b7(0x280)](_0x39f913,_0x135050);}[_0x357007(0x123)](_0x2a30ba,_0x489b76,_0x2dd589,_0x54f0f6){const _0x3c345f=_0x357007,_0x51894e=this[_0x3c345f(0xfc)][_0x3c345f(0x110)](_0x2a30ba);this[_0x3c345f(0xf6)][_0x3c345f(0x40f)](_0x2a30ba,{'unitID':_0x2a30ba,'type':_0x489b76,'awaitingChangeset':_0x2dd589,'mutations':_0x54f0f6,'rev':_0x51894e}),this[_0x3c345f(0x369)]['has'](_0x2a30ba)||this[_0x3c345f(0x3e2)](_0x2a30ba);}[_0x357007(0x3e2)](_0x227633){const _0x3a1164=_0x357007,_0x2b9426=this[_0x3a1164(0x55b)]();_0x2b9426===0x0?this[_0x3a1164(0x2cf)](_0x227633):this[_0x3a1164(0x369)][_0x3a1164(0x40f)](_0x227633,setTimeout(()=>this['_saveCache'](_0x227633),_0x2b9426));}['_getSaveTimeout'](){const _0x24b8c4=_0x357007;var _0x203e7d;return(_0x203e7d=this[_0x24b8c4(0x331)][_0x24b8c4(0x4d5)](_0x348843))!=null?_0x203e7d:0x3e8;}[_0x357007(0x2cf)](_0x590ca7){const _0x1b1ac0=_0x357007,_0x297c88=this[_0x1b1ac0(0x369)][_0x1b1ac0(0x1b5)](_0x590ca7);return _0x297c88!==void 0x0&&window[_0x1b1ac0(0x332)](_0x297c88),this[_0x1b1ac0(0x2fb)][_0x1b1ac0(0x280)](_0x18ec28(_0x590ca7),this[_0x1b1ac0(0xf6)][_0x1b1ac0(0x1b5)](_0x590ca7))['then'](()=>this[_0x1b1ac0(0x369)][_0x1b1ac0(0x378)](_0x590ca7));}async[_0x357007(0x4c5)](){const _0x315ca6=_0x357007,_0x3aac8c=[];this['_saveTaskMap'][_0x315ca6(0x274)]((_0x53c732,_0x3d5cae)=>{const _0x268349=_0x315ca6;window[_0x268349(0x332)](_0x53c732),_0x3aac8c[_0x268349(0x39d)](this['_saveCache'](_0x3d5cae)[_0x268349(0x1c0)](()=>{const _0x47680c=_0x268349;this[_0x47680c(0x369)]['delete'](_0x3d5cae);}));}),await Promise[_0x315ca6(0x186)](_0x3aac8c);}[_0x357007(0x102)](){const _0x44676b=_0x357007;this[_0x44676b(0x189)](this[_0x44676b(0x567)][_0x44676b(0x273)](()=>{const _0x2143f2=_0x44676b;if(this[_0x2143f2(0x369)][_0x2143f2(0x485)])return this[_0x2143f2(0x22c)]['t'](_0x2143f2(0xee));}));}},_0x325eac[_0x357007(0x4f9)]=_0x43a98f([_0x2c3974(0x0,_0x457d20[_0x357007(0x3cc)]),_0x2c3974(0x1,_0x457d20[_0x357007(0x5aa)]),_0x2c3974(0x2,_0x2b45ba[_0x357007(0x1de)]),_0x2c3974(0x3,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x128)])),_0x2c3974(0x4,_0x457d20['Inject'](_0x4d26ac[_0x357007(0x37c)]))],_0x325eac[_0x357007(0x4f9)]);function _0x18ec28(_0x8cbb43){const _0xf66a9=_0x357007;return _0xf66a9(0x150)+_0x8cbb43;}var _0x563a69=Object['defineProperty'],_0x21636f=Object[_0x357007(0x41b)],_0x3d43e6=(_0x3c7452,_0x47b15b,_0x3b6f0c,_0x4ea544)=>{const _0x584dcf=_0x357007;for(var _0x17365a=_0x4ea544>0x1?void 0x0:_0x4ea544?_0x21636f(_0x47b15b,_0x3b6f0c):_0x47b15b,_0x5d1536=_0x3c7452[_0x584dcf(0x1b0)]-0x1,_0x1e3022;_0x5d1536>=0x0;_0x5d1536--)(_0x1e3022=_0x3c7452[_0x5d1536])&&(_0x17365a=(_0x4ea544?_0x1e3022(_0x47b15b,_0x3b6f0c,_0x17365a):_0x1e3022(_0x17365a))||_0x17365a);return _0x4ea544&&_0x17365a&&_0x563a69(_0x47b15b,_0x3b6f0c,_0x17365a),_0x17365a;},_0x319e8a=(_0x14b41d,_0x7ce07c)=>(_0x287593,_0x1a7f60)=>_0x7ce07c(_0x287593,_0x1a7f60,_0x14b41d);function _0x51b30d(_0x2e07b3){const _0x44aae0=_0x357007,{unitID:_0x506dc1,mutations:_0x360321}=_0x2e07b3;return{'unitId':_0x506dc1,'subUnitId':_0x360321[0x0]['params'][_0x44aae0(0x13d)]};}let _0x201d4e=class{constructor(_0x4ad7bc,_0x466b2e,_0x1b1aab){const _0x594117=_0x357007;this[_0x594117(0x593)]=_0x4ad7bc,this[_0x594117(0x2af)]=_0x466b2e,this['_instanceService']=_0x1b1aab;}['transformSelections'](_0x53c3bf){const _0x16aa19=_0x357007;var _0x44496e,_0x47c288,_0x58dabe,_0x54f524;const _0x4e7fdb=this[_0x16aa19(0x593)][_0x16aa19(0x1b5)](_0x91efb2['SheetsSelectionsService']),{unitId:_0x1e9a19,subUnitId:_0x3ebd35}=_0x51b30d(_0x53c3bf),_0x1f446e=_0x4e7fdb['getWorkbookSelections'](_0x1e9a19)[_0x16aa19(0x22f)](),_0x1a3799=(_0x47c288=(_0x44496e=this['_instanceService'][_0x16aa19(0x469)](_0x1e9a19))==null?void 0x0:_0x44496e[_0x16aa19(0x4a1)]())==null?void 0x0:_0x47c288[_0x16aa19(0x507)]();if(_0x1f446e[_0x16aa19(0x1b0)]===0x0||!_0x1e9a19||!_0x3ebd35)return;const _0x27622e=[{'id':_0x91efb2['SetSelectionsOperation']['id'],'params':{'unitId':_0x1e9a19,'subUnitId':_0x1a3799,'selections':_0x457d20[_0x16aa19(0x458)][_0x16aa19(0x176)](_0x1f446e)}}],_0xab0eb=this[_0x16aa19(0x2af)][_0x16aa19(0x424)](_0x53c3bf,_0x27622e);if(!_0x4d26ac[_0x16aa19(0xed)](_0xab0eb))throw _0xab0eb[_0x16aa19(0x519)];const _0x256f60=(_0x54f524=(_0x58dabe=_0xab0eb[_0x16aa19(0x472)][0x0])==null?void 0x0:_0x58dabe['params'])==null?void 0x0:_0x54f524[_0x16aa19(0x47d)];if(Array['isArray'](_0x256f60)&&_0x256f60[_0x16aa19(0x1b0)]){if(_0x256f60[_0x16aa19(0x1b0)]===_0x27622e[0x0][_0x16aa19(0x53a)][_0x16aa19(0x47d)][_0x16aa19(0x1b0)]&&_0x256f60[_0x16aa19(0x259)]((_0x2872e3,_0x1e2c37)=>_0x457d20['Rectangle'][_0x16aa19(0x131)](_0x2872e3[_0x16aa19(0x10b)],_0x27622e[0x0]['params'][_0x16aa19(0x47d)][_0x1e2c37][_0x16aa19(0x10b)])))return;this[_0x16aa19(0x593)][_0x16aa19(0x1b5)](_0x457d20[_0x16aa19(0x324)])[_0x16aa19(0x470)](_0x91efb2[_0x16aa19(0x437)]['id'],{'unitId':_0x1e9a19,'subUnitId':_0x1a3799,'selections':_0x256f60});}}};_0x201d4e=_0x3d43e6([_0x319e8a(0x0,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x467)])),_0x319e8a(0x1,_0x4d26ac['ITransformService']),_0x319e8a(0x2,_0x457d20[_0x357007(0x35e)])],_0x201d4e);const _0x1731f5=_0x457d20[_0x357007(0x2aa)](_0x357007(0x4d0));var _0x53b568=(_0x7c6f8=>(_0x7c6f8[_0x7c6f8[_0x357007(0x39c)]=0x0]=_0x357007(0x39c),_0x7c6f8[_0x7c6f8[_0x357007(0x1a3)]=0x1]=_0x357007(0x1a3),_0x7c6f8))(_0x53b568||{});const _0x138621=0x7530,_0x552c6f=_0x357007(0x349);class _0x21ae63 extends _0x457d20[_0x357007(0x348)]{constructor(){const _0x5e0ded=_0x357007;super(),_0x184856(this,_0x5e0ded(0x3e6),_0x457d20[_0x5e0ded(0x458)][_0x5e0ded(0x249)]()),_0x184856(this,_0x5e0ded(0x2b7),new Set()),_0x184856(this,'_unitOnClients',new Map()),_0x184856(this,'_heartbeatTimer',null),_0x184856(this,'_clearOtherTimers',new Map()),_0x184856(this,_0x5e0ded(0x555),new Map()),this[_0x5e0ded(0x47f)]();}[_0x357007(0x37a)](){const _0x26bec5=_0x357007;super[_0x26bec5(0x37a)](),this[_0x26bec5(0x1a2)]['forEach']((_0x1da921,_0xc928d)=>this['_removeClearOtherTimer'](_0xc928d)),this[_0x26bec5(0x368)]&&window[_0x26bec5(0x4c9)](this['_heartbeatTimer']);}[_0x357007(0x4d7)](_0x374992){const _0x1e6815=_0x357007;return this[_0x1e6815(0x230)](_0x374992)['pipe'](_0x44a02e['distinctUntilChanged']());}[_0x357007(0x2dd)](_0xc8a54){const _0x421b9f=_0x357007;this[_0x421b9f(0x2b7)][_0x421b9f(0x485)]===0x0&&this[_0x421b9f(0x170)](),this['_selfUnitIDs'][_0x421b9f(0x552)](_0xc8a54),this[_0x421b9f(0x4dc)]({'type':0x0,'memberID':this[_0x421b9f(0x3e6)],'unitIDs':[_0xc8a54],'isForwarded':!0x1});}[_0x357007(0x47b)](_0x42cf1b){const _0x5c7843=_0x357007;this[_0x5c7843(0x2b7)][_0x5c7843(0x378)](_0x42cf1b),this['_selfUnitIDs'][_0x5c7843(0x485)]===0x0&&this[_0x5c7843(0x368)]&&window[_0x5c7843(0x4c9)](this[_0x5c7843(0x368)]);}[_0x357007(0x47f)](){const _0x4a21bd=_0x357007;this[_0x4a21bd(0x189)](_0x457d20[_0x4a21bd(0x41d)](_0x44a02e[_0x4a21bd(0x441)](window,_0x4a21bd(0x177))['subscribe'](_0xabd4d0=>{const _0x4ab372=_0x4a21bd;if(_0xabd4d0[_0x4ab372(0x19d)]!==_0x552c6f||!_0xabd4d0['newValue'])return;const _0x38157d=JSON[_0x4ab372(0x406)](_0xabd4d0['newValue']);this['_handleEvent'](_0x38157d);}))),window['addEventListener'](_0x4a21bd(0x345),()=>this[_0x4a21bd(0x4dc)]({'type':0x1,'memberID':this[_0x4a21bd(0x3e6)],'unitIDs':Array[_0x4a21bd(0x46a)](this[_0x4a21bd(0x2b7)])}));}[_0x357007(0x194)](_0x6dd8e7){const _0x93e0ab=_0x357007;switch(_0x6dd8e7['type']){case 0x0:this[_0x93e0ab(0x1b3)](_0x6dd8e7);break;case 0x1:this[_0x93e0ab(0x45c)](_0x6dd8e7);break;case 0x2:this[_0x93e0ab(0x143)](_0x6dd8e7);break;}}['_handleJoinEvent'](_0xec99ab){const _0x36f0c6=_0x357007,{unitIDs:_0x3e0a30,memberID:_0x44740a,isForwarded:_0x49c7d4}=_0xec99ab;_0x3e0a30[_0x36f0c6(0x274)](_0x50a00c=>{const _0x5bf05c=_0x36f0c6;if(!_0x49c7d4&&this[_0x5bf05c(0x58d)]['has'](_0x50a00c)&&this[_0x5bf05c(0x230)](_0x50a00c)[_0x5bf05c(0x4d3)](0x1),!this['_unitOnClients'][_0x5bf05c(0xf8)](_0x50a00c)||!this['_unitOnClients']['get'](_0x50a00c)[_0x5bf05c(0xf8)](_0x44740a)){const _0x2ed167=this[_0x5bf05c(0x58d)][_0x5bf05c(0x1b5)](_0x50a00c)||new Set();_0x2ed167[_0x5bf05c(0x552)](_0x44740a),this[_0x5bf05c(0x58d)]['set'](_0x50a00c,_0x2ed167),this[_0x5bf05c(0x1fc)](_0x44740a);}}),_0x49c7d4||this[_0x36f0c6(0x4dc)]({'type':0x0,'memberID':this[_0x36f0c6(0x3e6)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x5f326c){const _0x26d3e0=_0x357007;this[_0x26d3e0(0x32f)](_0x5f326c);const _0xd104b=window[_0x26d3e0(0x1c5)](()=>{const _0x4e20fa=_0x26d3e0;this[_0x4e20fa(0x58d)][_0x4e20fa(0x274)](_0x5a845e=>{const _0x568ca2=_0x4e20fa;_0x5a845e[_0x568ca2(0x378)](_0x5f326c);});},_0x138621*0x2);this['_clearOtherTimers']['set'](_0x5f326c,_0xd104b);}['_removeClearOtherTimer'](_0x27dfe9){const _0x24e127=_0x357007;if(this[_0x24e127(0x1a2)][_0x24e127(0xf8)](_0x27dfe9)){const _0x64e714=this[_0x24e127(0x1a2)][_0x24e127(0x1b5)](_0x27dfe9);_0x64e714&&window[_0x24e127(0x332)](_0x64e714),this[_0x24e127(0x1a2)]['set'](_0x27dfe9,null);}}[_0x357007(0x45c)](_0x3fca52){const _0xbedccf=_0x357007,{memberID:_0x5344cd,unitIDs:_0xceb15e}=_0x3fca52;_0xceb15e[_0xbedccf(0x274)](_0x4e6f73=>{const _0x4a7954=_0xbedccf;var _0xd03699;const _0x353f08=this[_0x4a7954(0x58d)][_0x4a7954(0x1b5)](_0x4e6f73);_0x353f08&&(_0x353f08[_0x4a7954(0x378)](_0x5344cd),(_0xd03699=this[_0x4a7954(0x230)](_0x4e6f73))==null||_0xd03699['next'](_0x353f08['size']===0x0?0x0:0x1));}),this[_0xbedccf(0x32f)](_0x5344cd);}[_0x357007(0x143)](_0x330080){const _0x3ec53a=_0x357007;this[_0x3ec53a(0x1fc)](_0x330080[_0x3ec53a(0x55e)]);}['_send'](_0x1837bb){const _0x4fb7b8=_0x357007;localStorage['setItem'](_0x552c6f,JSON[_0x4fb7b8(0x219)](_0x1837bb));}[_0x357007(0x170)](){const _0x3aa673=_0x357007;this[_0x3aa673(0x368)]=window[_0x3aa673(0x565)](()=>{const _0xe96245=_0x3aa673;this[_0xe96245(0x4dc)]({'type':0x2,'memberID':this[_0xe96245(0x3e6)]});},_0x138621);}['_ensureSubject'](_0x123357){const _0x533da5=_0x357007;return this[_0x533da5(0x555)][_0x533da5(0xf8)](_0x123357)||this[_0x533da5(0x555)][_0x533da5(0x40f)](_0x123357,new _0x44a02e[(_0x533da5(0x387))](0x0)),this[_0x533da5(0x555)][_0x533da5(0x1b5)](_0x123357);}}var _0x58be24=Object[_0x357007(0x376)],_0x8dec1f=Object['getOwnPropertyDescriptor'],_0x30e8d0=(_0x108cd3,_0x574539,_0x2b8b1a,_0x143545)=>{const _0x5f0bfa=_0x357007;for(var _0x1d2c59=_0x143545>0x1?void 0x0:_0x143545?_0x8dec1f(_0x574539,_0x2b8b1a):_0x574539,_0x457a77=_0x108cd3[_0x5f0bfa(0x1b0)]-0x1,_0x1285a1;_0x457a77>=0x0;_0x457a77--)(_0x1285a1=_0x108cd3[_0x457a77])&&(_0x1d2c59=(_0x143545?_0x1285a1(_0x574539,_0x2b8b1a,_0x1d2c59):_0x1285a1(_0x1d2c59))||_0x1d2c59);return _0x143545&&_0x1d2c59&&_0x58be24(_0x574539,_0x2b8b1a,_0x1d2c59),_0x1d2c59;},_0x135c53=(_0x1ad490,_0x319f32)=>(_0x4afdef,_0x4e926e)=>_0x319f32(_0x4afdef,_0x4e926e,_0x1ad490);let _0xa6eb37=class{constructor(_0x8bc918,_0x490ffd,_0x5d23f0){const _0x587340=_0x357007;this[_0x587340(0x593)]=_0x8bc918,this[_0x587340(0x2af)]=_0x490ffd,this['_docStateChangeManagerService']=_0x5d23f0;}['transformStateCache'](_0x5b8845){const _0x20732d=_0x357007;this[_0x20732d(0x11f)](_0x5b8845);}[_0x357007(0x1a1)](_0x3bd560){const _0x4bfd61=_0x357007,{unitID:_0x414b3d}=_0x3bd560,{collaboration:_0x394446}=this['_docStateChangeManagerService'][_0x4bfd61(0x2d8)](_0x414b3d);if(_0x394446[_0x4bfd61(0x1b0)]===0x0)return _0x3bd560;let _0x405d6a=_0x457d20['Tools'][_0x4bfd61(0x176)](_0x3bd560[_0x4bfd61(0x21b)][0x0]);for(let _0x42f5e0=0x0;_0x42f5e0<_0x394446[_0x4bfd61(0x1b0)];_0x42f5e0++){const _0x108a40={'id':_0x4bfd61(0x50f),'params':{'unitId':_0x394446[_0x42f5e0][_0x4bfd61(0x58b)],..._0x394446[_0x42f5e0][_0x4bfd61(0x427)]}},_0x4a0a68=this[_0x4bfd61(0x2af)][_0x4bfd61(0x3fe)](_0x405d6a,_0x108a40,!0x1);if(_0x4d26ac['isTransformMutationFailure'](_0x4a0a68))throw _0x4a0a68[_0x4bfd61(0x519)];_0x405d6a=_0x4a0a68[_0x4bfd61(0x366)];}return{..._0x457d20[_0x4bfd61(0x458)]['deepClone'](_0x3bd560),'mutations':[_0x405d6a]};}[_0x357007(0x11f)](_0x3b8106){const _0x4e59df=_0x357007,{unitID:_0x7140b7}=_0x3b8106,{history:_0x1d8b54,collaboration:_0x40f338}=this[_0x4e59df(0x2b5)][_0x4e59df(0x2d8)](_0x7140b7);if(_0x1d8b54[_0x4e59df(0x1b0)]===0x0&&_0x40f338['length']===0x0)return;const _0x24377c=[],_0x13aeb4=[];let _0x259b98=_0x457d20[_0x4e59df(0x458)]['deepClone'](_0x3b8106[_0x4e59df(0x21b)][0x0]),_0x18eb75=_0x457d20[_0x4e59df(0x458)][_0x4e59df(0x176)](_0x3b8106[_0x4e59df(0x21b)][0x0]);for(let _0x4b413a=_0x1d8b54['length']-0x1;_0x4b413a>=0x0;_0x4b413a--){const _0x3b96f0={'id':_0x4e59df(0x50f),'params':{'unitId':_0x1d8b54[_0x4b413a][_0x4e59df(0x58b)],..._0x1d8b54[_0x4b413a]['undoState']}},_0x47bf64={'id':_0x4e59df(0x50f),'params':{'unitId':_0x1d8b54[_0x4b413a][_0x4e59df(0x58b)],..._0x1d8b54[_0x4b413a][_0x4e59df(0x427)]}},_0x50ae8f=this[_0x4e59df(0x2af)][_0x4e59df(0x3fe)](_0x259b98,_0x3b96f0,!0x1),_0xc91c69=this['_transformService']['transformMutation'](_0x18eb75,_0x47bf64,!0x1);if(_0x4d26ac[_0x4e59df(0x1cf)](_0x50ae8f))throw _0x50ae8f[_0x4e59df(0x519)];if(_0x4d26ac[_0x4e59df(0x1cf)](_0xc91c69))throw _0xc91c69[_0x4e59df(0x519)];_0x24377c[_0x4e59df(0x2a8)]({..._0x1d8b54[_0x4b413a],'undoState':_0x50ae8f['m2Prime'][_0x4e59df(0x53a)],'redoState':_0xc91c69['m2Prime'][_0x4e59df(0x53a)]}),_0x259b98=_0x50ae8f[_0x4e59df(0x366)],_0x18eb75=_0xc91c69[_0x4e59df(0x366)];}_0x259b98=_0x457d20['Tools'][_0x4e59df(0x176)](_0x3b8106[_0x4e59df(0x21b)][0x0]),_0x18eb75=_0x457d20[_0x4e59df(0x458)][_0x4e59df(0x176)](_0x3b8106['mutations'][0x0]);for(let _0x99378=_0x40f338[_0x4e59df(0x1b0)]-0x1;_0x99378>=0x0;_0x99378--){const _0x327a6b={'id':_0x4e59df(0x50f),'params':{'unitId':_0x40f338[_0x99378]['unitId'],..._0x40f338[_0x99378][_0x4e59df(0x28c)]}},_0x37ba65={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x40f338[_0x99378][_0x4e59df(0x58b)],..._0x40f338[_0x99378]['redoState']}},_0x4baaba=this['_transformService'][_0x4e59df(0x3fe)](_0x259b98,_0x327a6b,!0x1),_0x2e0252=this[_0x4e59df(0x2af)][_0x4e59df(0x3fe)](_0x18eb75,_0x37ba65,!0x1);if(_0x4d26ac['isTransformMutationFailure'](_0x4baaba))throw _0x4baaba['error'];if(_0x4d26ac[_0x4e59df(0x1cf)](_0x2e0252))throw _0x2e0252['error'];_0x13aeb4[_0x4e59df(0x2a8)]({..._0x40f338[_0x99378],'undoState':_0x4baaba[_0x4e59df(0x472)][_0x4e59df(0x53a)],'redoState':_0x2e0252[_0x4e59df(0x472)][_0x4e59df(0x53a)]}),_0x259b98=_0x4baaba['m1Prime'],_0x18eb75=_0x2e0252['m1Prime'];}this[_0x4e59df(0x2b5)]['setStateCache'](_0x7140b7,{'history':_0x24377c,'collaboration':_0x13aeb4});}};_0xa6eb37=_0x30e8d0([_0x135c53(0x0,_0x457d20[_0x357007(0x2c4)](_0x457d20['Injector'])),_0x135c53(0x1,_0x4d26ac[_0x357007(0x329)]),_0x135c53(0x2,_0x457d20[_0x357007(0x2c4)](_0x1b8609[_0x357007(0x2b0)]))],_0xa6eb37);function _0x320fbb(_0x1ac195){const _0x5e3e5c=_0x357007;let _0x5579e9='';for(const _0x58d040 of _0x1ac195){const {startOffset:_0xea26d3,endOffset:_0x5827e8,isActive:_0x36692b,rangeType:_0x4aa9be,segmentId:_0x5af735,segmentPage:_0x22225c}=_0x58d040;_0x5579e9[_0x5e3e5c(0x1b0)]&&(_0x5579e9+=','),_0x5579e9+=_0xea26d3+':'+_0x5827e8+':'+(_0x36692b?'1':'0')+':'+_0x4aa9be+':'+_0x5af735+':'+_0x22225c;}return _0x5579e9;}function _0x33a6e9(_0x2a2d95){const _0x3823f2=_0x357007,_0xb16067=_0x2a2d95[_0x3823f2(0x3c6)](','),_0x31c84a=[];for(const _0x12581c of _0xb16067){const [_0x3544f5,_0x8f00bb,_0x25fe7b,_0x4bd287,_0x4df97f,_0x136e43]=_0x12581c[_0x3823f2(0x3c6)](':');_0x31c84a['push']({'startOffset':Number(_0x3544f5),'endOffset':Number(_0x8f00bb),'collapsed':_0x3544f5===_0x8f00bb,'isActive':_0x25fe7b==='1','rangeType':_0x4bd287===_0x457d20['DOC_RANGE_TYPE'][_0x3823f2(0x2ab)]?_0x457d20[_0x3823f2(0x1d4)][_0x3823f2(0x2ab)]:_0x457d20[_0x3823f2(0x1d4)][_0x3823f2(0x11e)],'segmentId':typeof _0x4df97f==_0x3823f2(0x282)?String(_0x4df97f):'','segmentPage':Number(_0x136e43!=null?_0x136e43:-0x1)});}return _0x31c84a['some'](_0x196eda=>_0x196eda[_0x3823f2(0x1f6)])||(_0x31c84a[0x0][_0x3823f2(0x1f6)]=!0x0),_0x31c84a;}class _0x559ff9 extends _0x457d20[_0x357007(0xe7)]{constructor(){const _0x110503=_0x357007;super(...arguments),_0x184856(this,_0x110503(0x50e),new _0x44a02e['BehaviorSubject'](null)),_0x184856(this,_0x110503(0x2d9),this[_0x110503(0x50e)][_0x110503(0x242)]());}[_0x357007(0x3ef)](_0x1782f7){const _0x12f27f=_0x357007,{unitID:_0x4d6b1a,memberID:_0x5bd2f7,textRanges:_0x13b8b0}=_0x1782f7,_0x1bc9ec=_0x320fbb(_0x13b8b0);if(_0x1bc9ec==='')return;const _0x3262db={'unitID':_0x4d6b1a,'memberID':_0x5bd2f7,'selection':_0x1bc9ec};this[_0x12f27f(0x50e)][_0x12f27f(0x4d3)](_0x3262db);}}var _0x2a43a0=Object[_0x357007(0x376)],_0x405a2b=Object[_0x357007(0x41b)],_0x4b8c1b=(_0x306a1c,_0x401716,_0xc10cb,_0x18e0d0)=>{for(var _0x3b027b=_0x18e0d0>0x1?void 0x0:_0x18e0d0?_0x405a2b(_0x401716,_0xc10cb):_0x401716,_0x2d7c47=_0x306a1c['length']-0x1,_0x30b8a3;_0x2d7c47>=0x0;_0x2d7c47--)(_0x30b8a3=_0x306a1c[_0x2d7c47])&&(_0x3b027b=(_0x18e0d0?_0x30b8a3(_0x401716,_0xc10cb,_0x3b027b):_0x30b8a3(_0x3b027b))||_0x3b027b);return _0x18e0d0&&_0x3b027b&&_0x2a43a0(_0x401716,_0xc10cb,_0x3b027b),_0x3b027b;},_0x41333f=(_0x50810f,_0x2b8526)=>(_0x19eecc,_0x54084b)=>_0x2b8526(_0x19eecc,_0x54084b,_0x50810f);let _0x3ef40a=class{constructor(_0x59b0f9,_0x1f9e3c){const _0x1d6f09=_0x357007;this[_0x1d6f09(0x593)]=_0x59b0f9,this[_0x1d6f09(0x2af)]=_0x1f9e3c;}['transformSelections'](_0xb9469){const _0x278da5=_0x357007;var _0x5c33be;const _0x3ae410=this['_injector'][_0x278da5(0x1b5)](_0x279b33[_0x278da5(0x1c8)]),_0x5496e0=(_0x5c33be=_0x3ae410[_0x278da5(0x3cd)]())!=null?_0x5c33be:[];if(_0x5496e0['length']===0x0)return;const _0x173177=_0xb9469[_0x278da5(0x563)],_0xe3f229=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x173177,'actions':null,'textRanges':_0x5496e0}}],_0x5c873=this['_transformService'][_0x278da5(0x424)](_0xb9469,_0xe3f229);if(!_0x4d26ac[_0x278da5(0xed)](_0x5c873))throw _0x5c873['error'];const _0xe40dea=_0x5c873[_0x278da5(0x472)][0x0][_0x278da5(0x53a)][_0x278da5(0xf2)];Array[_0x278da5(0x139)](_0xe40dea)&&_0xe40dea[_0x278da5(0x1b0)]&&_0x3ae410[_0x278da5(0x4fb)](_0xe40dea,{'unitId':_0x173177,'subUnitId':_0x173177},!0x1);}};_0x3ef40a=_0x4b8c1b([_0x41333f(0x0,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x467)])),_0x41333f(0x1,_0x4d26ac[_0x357007(0x329)])],_0x3ef40a);const _0x4cf167=new Set([_0x91efb2[_0x357007(0x29a)]['id']]);function _0x2f3d1d(_0x2b21aa,_0x385199,_0x59a5b1,_0x1077c,_0x373dd2){const _0x553547=_0x357007;var _0x195d92,_0x1af918,_0xc2f360,_0x42af61;const _0x5aaac4=[];for(const _0x39960d of _0x2b21aa)if(_0x4cf167[_0x553547(0xf8)](_0x39960d['id'])){if(_0x5aaac4[_0x553547(0x1b0)]>0x0)break;_0x5aaac4[_0x553547(0x39d)](_0x39960d);break;}else _0x5aaac4[_0x553547(0x39d)](_0x39960d);const _0x1d9fc6=(_0x1af918=(_0x195d92=_0x373dd2[_0x553547(0x505)]())==null?void 0x0:_0x195d92[_0x553547(0x5a0)])!=null?_0x1af918:_0x553547(0x23d),_0x1c4e85=(_0x42af61=(_0xc2f360=_0x373dd2[_0x553547(0x505)]())==null?void 0x0:_0xc2f360[_0x553547(0x55e)])!=null?_0x42af61:_0x553547(0x23d);return{'changeset':{'unitID':_0x385199,'type':_0x4d26ac['mapDocumentTypeToUniverType'](_0x59a5b1[_0x553547(0x286)](_0x385199)),'baseRev':_0x1077c[_0x553547(0x110)](_0x385199),'revision':0x0,'userID':_0x1d9fc6,'memberID':_0x1c4e85,'mutations':_0x5aaac4},'pendingMutations':_0x2b21aa[_0x553547(0x3b7)](_0x5aaac4[_0x553547(0x1b0)])};}function _0x55fba7(_0x20e73c,_0x4be046,_0x54529c,_0x189b2b,_0x484af3){const _0x41d8aa=_0x357007;var _0xf3c5c9,_0x26a459,_0x3024e0,_0x3e3791;const _0x9ac28b=[_0x20e73c[_0x41d8aa(0x1e2)]((_0x33f58d,_0x585ac0)=>{const _0x5cb51a=_0x41d8aa;var _0xa3f861;const {id:_0x5173b7}=_0x33f58d,{id:_0xd694ce,type:_0x94791b}=_0x585ac0,_0x1f6e5b=(_0xa3f861=_0x33f58d[_0x5cb51a(0x53a)])!=null?_0xa3f861:{'actions':null},_0x4a4235=_0x585ac0['params'];if(_0x5173b7&&_0x5173b7!==_0xd694ce)throw new Error(_0x5cb51a(0x4b3)+_0x5173b7+_0x5cb51a(0x15f)+_0xd694ce+'.');return{..._0x33f58d,'id':_0xd694ce,'type':_0x94791b,'params':{'unitId':_0x4a4235[_0x5cb51a(0x58b)],'textRanges':_0x4a4235['textRanges'],'actions':_0x457d20['JSONX'][_0x5cb51a(0x4aa)](_0x1f6e5b[_0x5cb51a(0xeb)],_0x4a4235[_0x5cb51a(0xeb)])}};},{})],_0x20cd56=(_0x26a459=(_0xf3c5c9=_0x484af3[_0x41d8aa(0x505)]())==null?void 0x0:_0xf3c5c9[_0x41d8aa(0x5a0)])!=null?_0x26a459:_0x41d8aa(0x23d),_0x2c24c1=(_0x3e3791=(_0x3024e0=_0x484af3[_0x41d8aa(0x505)]())==null?void 0x0:_0x3024e0['memberID'])!=null?_0x3e3791:_0x41d8aa(0x23d);return{'changeset':{'unitID':_0x4be046,'type':_0x4d26ac[_0x41d8aa(0x281)](_0x54529c[_0x41d8aa(0x286)](_0x4be046)),'baseRev':_0x189b2b['getCurrentRevOfUnit'](_0x4be046),'revision':0x0,'userID':_0x20cd56,'memberID':_0x2c24c1,'mutations':_0x9ac28b},'pendingMutations':[]};}function _0xa606e9(_0x115d35,_0x579949){const _0x588e92=_0x357007,_0x55ccf7=new _0x44a02e[(_0x588e92(0x173))](0x1);return setTimeout(()=>_0x55ccf7[_0x588e92(0x4d3)](_0x579949),_0x115d35),_0x55ccf7[_0x588e92(0x242)]()['pipe'](_0x44a02e[_0x588e92(0x370)](0x1));}const _0x451b76={'id':_0x91efb2[_0x357007(0x1f2)]['id'],'type':_0x457d20[_0x357007(0x304)][_0x357007(0x3da)],'params':{}};var _0x3fbbd3=Object['defineProperty'],_0x16216e=Object[_0x357007(0x41b)],_0x233cd3=(_0x2ad3b2,_0x99c543,_0x2b40e4,_0x3e2c99)=>{const _0x2a6523=_0x357007;for(var _0x223381=_0x3e2c99>0x1?void 0x0:_0x3e2c99?_0x16216e(_0x99c543,_0x2b40e4):_0x99c543,_0x4ee5be=_0x2ad3b2[_0x2a6523(0x1b0)]-0x1,_0x2e7410;_0x4ee5be>=0x0;_0x4ee5be--)(_0x2e7410=_0x2ad3b2[_0x4ee5be])&&(_0x223381=(_0x3e2c99?_0x2e7410(_0x99c543,_0x2b40e4,_0x223381):_0x2e7410(_0x223381))||_0x223381);return _0x3e2c99&&_0x223381&&_0x3fbbd3(_0x99c543,_0x2b40e4,_0x223381),_0x223381;},_0xb9c7f1=(_0x114b14,_0x156461)=>(_0x28ab99,_0x558ca9)=>_0x156461(_0x28ab99,_0x558ca9,_0x114b14),_0x44c5ad=(_0x583f58=>(_0x583f58[_0x357007(0x104)]=_0x357007(0x29f),_0x583f58[_0x357007(0x253)]='synced',_0x583f58[_0x357007(0x28f)]=_0x357007(0x2a5),_0x583f58[_0x357007(0x3d1)]=_0x357007(0x16f),_0x583f58['AWAITING_WITH_PENDING']=_0x357007(0x257),_0x583f58[_0x357007(0x1c3)]=_0x357007(0x520),_0x583f58[_0x357007(0x52a)]='conflict',_0x583f58[_0x357007(0x31a)]=_0x357007(0x474),_0x583f58))(_0x44c5ad||{});const _0xa6d16=0xea60;class _0x36fdd4{constructor(_0x4c7062,_0x142bf6,_0x3f54b0,_0x22cdf9,_0x392a56,_0x547506,_0x16cbe8,_0x3e0a08,_0x314364){const _0x50865d=_0x357007;_0x184856(this,_0x50865d(0x24a),null),_0x184856(this,_0x50865d(0x422),[]),(this[_0x50865d(0x563)]=_0x4c7062,this[_0x50865d(0x486)]=_0x142bf6,this[_0x50865d(0x354)]=_0x392a56,this[_0x50865d(0x2a1)]=_0x547506,this[_0x50865d(0x3d8)]=_0x16cbe8,this[_0x50865d(0xfc)]=_0x3e0a08,this[_0x50865d(0x4e9)]=_0x314364,this[_0x50865d(0x24a)]=_0x3f54b0,this[_0x50865d(0x422)]=_0x22cdf9);}[_0x357007(0x546)](_0x20e117){const _0x294c6a=_0x357007,_0x2cf392=this[_0x294c6a(0xfc)][_0x294c6a(0x110)](this[_0x294c6a(0x563)]);return _0x20e117[_0x294c6a(0x4d8)]>_0x2cf392+0x1?(this[_0x294c6a(0x354)][_0x294c6a(0x59f)]({'from':_0x2cf392,'to':_0x20e117[_0x294c6a(0x4d8)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0xeaa575){const _0x1b9401=_0x357007;this[_0x1b9401(0x3d8)][_0x1b9401(0x4f7)](this[_0x1b9401(0x563)],_0xeaa575);}['_transformSelections'](_0x4c4d5e){const _0x5a45ab=_0x357007;var _0x2a4d6b,_0x1bc82d;(_0x1bc82d=(_0x2a4d6b=this[_0x5a45ab(0x354)])[_0x5a45ab(0xf4)])==null||_0x1bc82d[_0x5a45ab(0x4fe)](_0x2a4d6b,_0x4c4d5e);}[_0x357007(0x229)](_0x5d2106){const _0x1ed1fc=_0x357007;var _0x1bd376,_0x13eee0;return(_0x13eee0=(_0x1bd376=this[_0x1ed1fc(0x354)])[_0x1ed1fc(0x22b)])==null?void 0x0:_0x13eee0[_0x1ed1fc(0x4fe)](_0x1bd376,_0x5d2106);}[_0x357007(0x543)](_0x1f68bb){const _0x390a97=_0x357007;var _0x390de4,_0x57c7f2;return(_0x57c7f2=(_0x390de4=this[_0x390a97(0x354)])[_0x390a97(0x421)])==null?void 0x0:_0x57c7f2['call'](_0x390de4,_0x1f68bb);}[_0x357007(0x5a8)](_0x283efd){const _0x5be62d=_0x357007;var _0x19863d,_0xcdecc9,_0xad4846;return(_0xad4846=(_0xcdecc9=(_0x19863d=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0xcdecc9[_0x5be62d(0x4fe)](_0x19863d,_0x283efd))!=null?_0xad4846:_0x283efd;}[_0x357007(0x338)](_0x41fd3c){const _0x39e44d=_0x357007;var _0x57fbe6,_0x2ead8e,_0x23d690;return(_0x23d690=(_0x2ead8e=(_0x57fbe6=this['_handler'])[_0x39e44d(0x169)])==null?void 0x0:_0x2ead8e[_0x39e44d(0x4fe)](_0x57fbe6,_0x41fd3c))!=null?_0x23d690:_0x41fd3c;}[_0x357007(0x1f4)](_0x238eba){const _0x261808=_0x357007;var _0x4ae926,_0x8c54cb;if(this[_0x261808(0x486)]===_0x1c36ee['UNIVER_DOC']){const {unitID:_0x6b3f21,mutations:_0x204904,memberID:_0x436354}=_0x238eba,_0x215c88=_0x204904[0x0]['params'][_0x261808(0xf2)];Array[_0x261808(0x139)](_0x215c88)&&_0x215c88[_0x261808(0x1b0)]>0x0&&((_0x8c54cb=(_0x4ae926=this['_handler'])[_0x261808(0x317)])==null||_0x8c54cb['call'](_0x4ae926,{'unitID':_0x6b3f21,'memberID':_0x436354,'textRanges':_0x215c88}));}}['_updateLocalCache'](){const _0x2acd9a=_0x357007;this[_0x2acd9a(0x4e9)][_0x2acd9a(0x123)](this['unitID'],this[_0x2acd9a(0x486)],this[_0x2acd9a(0x24a)],this[_0x2acd9a(0x422)]);}[_0x357007(0x183)](){const _0xc9ef12=_0x357007;return this['_revisionService'][_0xc9ef12(0x110)](this[_0xc9ef12(0x563)]);}['_incrementRevisionNumber'](){const _0x2ba7f4=_0x357007;this[_0x2ba7f4(0xfc)][_0x2ba7f4(0x353)](this[_0x2ba7f4(0x563)]);}[_0x357007(0x35d)](_0x23bd3b){const _0x24f475=_0x357007;var _0x2c8ad7;let _0x119a62=this[_0x24f475(0x5a8)](_0x23bd3b);_0x119a62=this[_0x24f475(0x338)](_0x119a62);const _0x15910c=_0x457d20[_0x24f475(0x502)](_0x119a62['mutations'],this[_0x24f475(0x2a1)],{'fromCollab':!0x0});if(!_0x15910c[_0x24f475(0x475)])throw _0x15910c[_0x24f475(0x519)]instanceof Error?_0x15910c[_0x24f475(0x519)]:new Error((_0x2c8ad7=_0x15910c['error'])!=null?_0x2c8ad7:_0x24f475(0x44c));this[_0x24f475(0x229)](_0x119a62),this[_0x24f475(0x543)](_0x119a62),this[_0x24f475(0x4ce)](_0x23bd3b),this[_0x24f475(0x47c)](_0x119a62),this[_0x24f475(0x1f4)](_0x119a62),this[_0x24f475(0x287)]();}}let _0x6dd86=class extends _0x36fdd4{constructor(_0x4f1350,_0x54ae3c,_0x305a9f,_0x328be5,_0xd9e17b,_0x170ba5,_0x4bed63,_0x309f83,_0x3c56e8,_0x789213){const _0x371d96=_0x357007;super(_0x4f1350,_0x54ae3c,null,[],_0x305a9f,_0x309f83,_0x4bed63,_0x328be5,_0xd9e17b),_0x184856(this,_0x371d96(0x477),_0x371d96(0x1b4)),(this[_0x371d96(0x593)]=_0x170ba5,this[_0x371d96(0x514)]=_0x3c56e8,this[_0x371d96(0x2af)]=_0x789213);}[_0x357007(0x266)](_0x206cc3){const _0x3333b1=_0x357007,_0xd19167=this[_0x3333b1(0x593)][_0x3333b1(0xfd)](_0x2cdf5f,this[_0x3333b1(0x563)],this[_0x3333b1(0x486)],[_0x206cc3],this[_0x3333b1(0x354)]);return _0xd19167['_schedule'](),_0xd19167[_0x3333b1(0x535)](),_0xd19167;}['onRemoteChangeset'](_0x95c50d){const _0x332c0d=_0x357007;if(this[_0x332c0d(0x546)](_0x95c50d))return this[_0x332c0d(0x593)][_0x332c0d(0xfd)](_0x5b8d63,this['unitID'],this[_0x332c0d(0x486)],null,[],null,[_0x95c50d],this[_0x332c0d(0x354)]);try{const _0x407e0c=this['_transformService']['transformMutationsWithChangeset'](_0x95c50d,[_0x451b76]);if(_0x4d26ac[_0x332c0d(0xed)](_0x407e0c)){const {c1Prime:_0x5359b3}=_0x407e0c;return this[_0x332c0d(0x35d)](_0x5359b3),this;}throw _0x407e0c[_0x332c0d(0x519)];}catch(_0x48dc84){return this[_0x332c0d(0x514)]['error'](_0x48dc84),this[_0x332c0d(0x419)](!0x1);}}[_0x357007(0x419)](_0x4e4a11){const _0x261630=_0x357007;return this[_0x261630(0x593)][_0x261630(0xfd)](_0x4bfd84,this[_0x261630(0x563)],this[_0x261630(0x486)],null,[],this[_0x261630(0x354)],_0x4e4a11);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x357007(0x23f)](){const _0xa234a6=_0x357007;throw new Error(_0xa234a6(0x15b));}[_0x357007(0x539)](){return this;}[_0x357007(0x145)](){const _0x39e691=_0x357007;return this[_0x39e691(0x593)][_0x39e691(0xfd)](_0x52b8d8,this[_0x39e691(0x563)],this[_0x39e691(0x486)],null,[],this['_handler']);}[_0x357007(0x3e9)](){return this;}[_0x357007(0x1bd)](){const _0x20aa22=_0x357007;throw new Error(_0x20aa22(0xef));}[_0x357007(0x418)](){const _0x33969a=_0x357007,_0x5610e5=this[_0x33969a(0xfc)]['getCurrentRevOfUnit'](this[_0x33969a(0x563)]);return this['_handler'][_0x33969a(0x59f)]({'from':_0x5610e5,'to':0x0}),this['_injector'][_0x33969a(0xfd)](_0x5b8d63,this[_0x33969a(0x563)],this['type'],null,[],null,[],this[_0x33969a(0x354)]);}};_0x6dd86=_0x233cd3([_0xb9c7f1(0x3,_0x457d20[_0x357007(0x2c4)](_0x4d26ac[_0x357007(0x37c)])),_0xb9c7f1(0x4,_0x457d20[_0x357007(0x2c4)](_0x325eac[_0x357007(0x4f9)])),_0xb9c7f1(0x5,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x467)])),_0xb9c7f1(0x6,_0x457d20[_0x357007(0x381)]),_0xb9c7f1(0x7,_0x457d20['ICommandService']),_0xb9c7f1(0x8,_0x457d20[_0x357007(0x54e)]),_0xb9c7f1(0x9,_0x4d26ac['ITransformService'])],_0x6dd86);let _0x2cdf5f=class extends _0x36fdd4{constructor(_0x138941,_0x46eb64,_0x2ab8be,_0x4f06a6,_0xa3a3e8,_0x42b94b,_0x720d31,_0x1155ac,_0x2d1313,_0x2ab2c3,_0x20a3a3,_0x48fea6,_0x4851b1,_0x2461cd){const _0x5e2007=_0x357007;super(_0x138941,_0x46eb64,null,_0x2ab8be,_0x4f06a6,_0x2ab2c3,_0x2461cd,_0x42b94b,_0x720d31),_0x184856(this,_0x5e2007(0x477),'pending'),_0x184856(this,'_scheduleTimestamp',null),_0x184856(this,_0x5e2007(0x42c),null),(this[_0x5e2007(0x593)]=_0xa3a3e8,this[_0x5e2007(0x3e1)]=_0x1155ac,this['_logService']=_0x2d1313,this[_0x5e2007(0x331)]=_0x20a3a3,this['_transformService']=_0x48fea6,this[_0x5e2007(0x140)]=_0x4851b1);}[_0x357007(0x266)](_0x36a17d){const _0xbd8e8d=_0x357007;return this[_0xbd8e8d(0x422)][_0xbd8e8d(0x39d)](_0x36a17d),this[_0xbd8e8d(0x535)](),this;}['onRemoteChangeset'](_0x99466f){const _0x5075e7=_0x357007;if(this[_0x5075e7(0x546)](_0x99466f))return this[_0x5075e7(0x50d)](),this[_0x5075e7(0x593)][_0x5075e7(0xfd)](_0x5b8d63,this[_0x5075e7(0x563)],this[_0x5075e7(0x486)],null,this[_0x5075e7(0x422)],null,[_0x99466f],this[_0x5075e7(0x354)]);try{const _0x4b4230=this[_0x5075e7(0x2af)][_0x5075e7(0x424)](_0x99466f,this[_0x5075e7(0x422)]);if(_0x4d26ac['isTransformMutationsWithChangesetSuccess'](_0x4b4230)){const {c1Prime:_0x8d31b0,m2Prime:_0x23d7f2}=_0x4b4230;this['_executeRemoteChangeset'](_0x8d31b0);const _0x13754f=this[_0x5075e7(0x593)][_0x5075e7(0xfd)](_0x2cdf5f,this[_0x5075e7(0x563)],this[_0x5075e7(0x486)],_0x23d7f2,this['_handler']);return this[_0x5075e7(0x50d)](),_0x13754f[_0x5075e7(0x3fd)](this[_0x5075e7(0x45b)]?Math[_0x5075e7(0x10d)](0x0,new Date()[_0x5075e7(0x111)]()-this[_0x5075e7(0x45b)]):this[_0x5075e7(0x48d)]()),_0x13754f;}throw _0x4b4230[_0x5075e7(0x519)];}catch(_0x18a97b){return this['_logService']['error'](_0x18a97b),this[_0x5075e7(0x419)](!0x1);}}[_0x357007(0x201)](){const _0x4473b6=_0x357007;throw new Error(_0x4473b6(0x1f9));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x357007(0x539)](){return this;}[_0x357007(0x145)](){const _0x10695f=_0x357007;return this['_clearScheduledTask'](),this[_0x10695f(0x593)][_0x10695f(0xfd)](_0x52b8d8,this[_0x10695f(0x563)],this[_0x10695f(0x486)],null,this[_0x10695f(0x422)],this[_0x10695f(0x354)]);}[_0x357007(0x3e9)](){return this;}[_0x357007(0x3fd)](_0x2b912a){const _0x2c13e4=_0x357007,_0x2ed22f=_0x2b912a!=null?_0x2b912a:this[_0x2c13e4(0x48d)]();this[_0x2c13e4(0x45b)]=new Date()[_0x2c13e4(0x111)](),this[_0x2c13e4(0x42c)]=window[_0x2c13e4(0x1c5)](()=>{const _0x4db554=_0x2c13e4;this[_0x4db554(0x50d)]();let _0x17cc0c=null;switch(this['type']){case _0x1c36ee[_0x4db554(0x3b5)]:{_0x17cc0c=_0x2f3d1d(this['_pendingMutations'],this[_0x4db554(0x563)],this[_0x4db554(0x140)],this['_revisionService'],this['_memberService']);break;}case _0x1c36ee[_0x4db554(0x210)]:{this[_0x4db554(0x422)][_0x4db554(0x259)](_0x2c9c6a=>_0x2c9c6a['id']===_0x279b33[_0x4db554(0x347)]['id'])?_0x17cc0c=_0x55fba7(this['_pendingMutations'],this[_0x4db554(0x563)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']):_0x17cc0c=_0x2f3d1d(this[_0x4db554(0x422)],this[_0x4db554(0x563)],this['_univerInstanceService'],this[_0x4db554(0xfc)],this[_0x4db554(0x3e1)]);break;}default:throw new Error(_0x4db554(0x53c)+this[_0x4db554(0x486)]+_0x4db554(0x3e4));}const {changeset:_0x413c9d,pendingMutations:_0xc0cb73}=_0x17cc0c;this['_handler'][_0x4db554(0x3be)](_0x413c9d);const _0x56db19=_0xc0cb73['length']?this[_0x4db554(0x593)][_0x4db554(0xfd)](_0x2b0484,this[_0x4db554(0x563)],this[_0x4db554(0x486)],_0x413c9d,_0xc0cb73,this['_handler'],void 0x0):this[_0x4db554(0x593)]['createInstance'](_0x445360,this['unitID'],this[_0x4db554(0x486)],_0x413c9d,this[_0x4db554(0x354)]);_0x56db19[_0x4db554(0x535)](),this[_0x4db554(0x354)][_0x4db554(0x144)](this,_0x56db19);},_0x2ed22f);}[_0x357007(0x48d)](){const _0xa2f68=_0x357007;var _0x588d3e;const _0x4621f6=this[_0xa2f68(0x331)][_0xa2f68(0x4d5)](_0x11df2a);return(_0x588d3e=_0x4621f6==null?void 0x0:_0x4621f6['sendChangesetTimeout'])!=null?_0x588d3e:0x7d0;}[_0x357007(0x1bd)](){const _0x30fd61=_0x357007;throw new Error(_0x30fd61(0x566));}[_0x357007(0x50d)](){const _0x6c5ea5=_0x357007;this[_0x6c5ea5(0x42c)]!=null&&(clearTimeout(this[_0x6c5ea5(0x42c)]),this[_0x6c5ea5(0x42c)]=null);}[_0x357007(0x419)](_0x55a144){const _0x47cd2d=_0x357007;return this[_0x47cd2d(0x50d)](),this[_0x47cd2d(0x593)][_0x47cd2d(0xfd)](_0x4bfd84,this[_0x47cd2d(0x563)],this[_0x47cd2d(0x486)],null,this[_0x47cd2d(0x422)],this['_handler'],_0x55a144);}};_0x2cdf5f=_0x233cd3([_0xb9c7f1(0x4,_0x457d20['Inject'](_0x457d20[_0x357007(0x467)])),_0xb9c7f1(0x5,_0x457d20[_0x357007(0x2c4)](_0x4d26ac[_0x357007(0x37c)])),_0xb9c7f1(0x6,_0x457d20[_0x357007(0x2c4)](_0x325eac[_0x357007(0x4f9)])),_0xb9c7f1(0x7,_0x457d20[_0x357007(0x2c4)](_0x325eac['MemberService'])),_0xb9c7f1(0x8,_0x457d20[_0x357007(0x54e)]),_0xb9c7f1(0x9,_0x457d20['ICommandService']),_0xb9c7f1(0xa,_0x457d20[_0x357007(0x3cc)]),_0xb9c7f1(0xb,_0x4d26ac['ITransformService']),_0xb9c7f1(0xc,_0x457d20[_0x357007(0x35e)]),_0xb9c7f1(0xd,_0x457d20[_0x357007(0x381)])],_0x2cdf5f);let _0x445360=class extends _0x36fdd4{constructor(_0x245a3f,_0x595baa,_0x306893,_0x20a8a4,_0xb54bce,_0x1ccdfc,_0xe32bcb,_0x477bcf,_0x2c3179,_0x5c4f27,_0xca961){const _0x36ac56=_0x357007;super(_0x245a3f,_0x595baa,_0x306893,[],_0x20a8a4,_0x477bcf,_0xca961,_0x1ccdfc,_0xe32bcb),_0x184856(this,'status','awaiting'),_0x184856(this,_0x36ac56(0x33f),0x0),_0x184856(this,_0x36ac56(0x2bd)),_0x184856(this,_0x36ac56(0x279)),(this['_injector']=_0xb54bce,this[_0x36ac56(0x514)]=_0x2c3179,this['_transformService']=_0x5c4f27);}[_0x357007(0x266)](_0x640b75){const _0x4394e3=_0x357007;this[_0x4394e3(0x50d)]();const _0x244067=this['_injector'][_0x4394e3(0xfd)](_0x2b0484,this[_0x4394e3(0x563)],this[_0x4394e3(0x486)],this[_0x4394e3(0x24a)],[_0x640b75],this[_0x4394e3(0x354)],this[_0x4394e3(0x2bd)]);return _0x244067[_0x4394e3(0x535)](),_0x244067;}['onRemoteChangeset'](_0x16667a){const _0x182098=_0x357007;if(this[_0x182098(0x546)](_0x16667a))return this[_0x182098(0x50d)](),this[_0x182098(0x593)][_0x182098(0xfd)](_0x5b8d63,this[_0x182098(0x563)],this[_0x182098(0x486)],this[_0x182098(0x24a)],[],null,[_0x16667a],this['_handler']);try{const _0x12882e=this[_0x182098(0x2af)][_0x182098(0x5ad)]([_0x16667a],[this['_awaitingChangeset']],!0x1);if(_0x4d26ac['isTransformChangesetsSuccess'](_0x12882e)){const {c1Prime:_0x2e94de,c2Prime:_0x705f3a}=_0x12882e;this[_0x182098(0x35d)](_0x2e94de[0x0]),_0x705f3a[0x0][_0x182098(0x4d9)]=this['_getCurrentRevision'](),this[_0x182098(0x50d)]();const _0x2868e1=this[_0x182098(0x593)][_0x182098(0xfd)](_0x445360,this[_0x182098(0x563)],this[_0x182098(0x486)],_0x705f3a[0x0],this[_0x182098(0x354)]);return _0x2868e1[_0x182098(0x535)](),_0x2868e1;}return this['_onConflict'](!0x1);}catch(_0x1b38f9){return this['_logService'][_0x182098(0x519)](_0x1b38f9),this['_onConflict'](!0x1);}}[_0x357007(0x201)](_0x3262be){const _0x1fb627=_0x357007;this[_0x1fb627(0x50d)]();const _0x205dd3=this[_0x1fb627(0xfc)][_0x1fb627(0x110)](this[_0x1fb627(0x563)]);if(_0x3262be[_0x1fb627(0x4d8)]<_0x205dd3-0x1)return this;if(this['_checkMissing'](_0x3262be))return this['_injector'][_0x1fb627(0xfd)](_0x5b8d63,this['unitID'],this[_0x1fb627(0x486)],null,[],this['_awaitingChangeset'],[],this[_0x1fb627(0x354)]);this[_0x1fb627(0x287)]();const _0x483190=this['_injector'][_0x1fb627(0xfd)](_0x6dd86,this[_0x1fb627(0x563)],this[_0x1fb627(0x486)],this[_0x1fb627(0x354)]);return _0x483190[_0x1fb627(0x535)](),_0x483190;}[_0x357007(0x23f)](_0x54fba8){const _0x1305be=_0x357007;return this[_0x1305be(0x419)](!!(_0x54fba8!=null&&_0x54fba8['isPermissionRej']));}[_0x357007(0x539)](_0x107525){const _0x3f7a1b=_0x357007;return this['_resendTimeout']>_0xa6d16?this['toggleOffline']():(this[_0x3f7a1b(0x2bd)]=_0xa606e9(this[_0x3f7a1b(0x33f)],{'timeout':this['_resendTimeout'],'reqId':_0x107525['reqId']}),this['_sender']=this['_resendTimer'][_0x3f7a1b(0x479)](({reqId:_0xb7e73b,timeout:_0x3d199a})=>{const _0x48ae7e=_0x3f7a1b;this[_0x48ae7e(0x589)](_0xb7e73b,_0x3d199a);}),this);}[_0x357007(0x145)](){const _0x2fabe7=_0x357007;return this[_0x2fabe7(0x50d)](),this[_0x2fabe7(0x593)][_0x2fabe7(0xfd)](_0x52b8d8,this[_0x2fabe7(0x563)],this[_0x2fabe7(0x486)],this[_0x2fabe7(0x24a)],[],this[_0x2fabe7(0x354)]);}[_0x357007(0x3e9)](){return this;}[_0x357007(0x1bd)](){const _0x7f62d6=_0x357007;this[_0x7f62d6(0x354)][_0x7f62d6(0x3be)](this[_0x7f62d6(0x24a)]);}[_0x357007(0x419)](_0x17540a){const _0x2febac=_0x357007;return this[_0x2febac(0x50d)](),this[_0x2febac(0x593)]['createInstance'](_0x4bfd84,this['unitID'],this[_0x2febac(0x486)],this[_0x2febac(0x24a)],[],this[_0x2febac(0x354)],_0x17540a);}[_0x357007(0x589)](_0x3d060b,_0x3a5827){const _0x2ffdf1=_0x357007;var _0xa47516;_0x3d060b===((_0xa47516=this[_0x2ffdf1(0x24a)])==null?void 0x0:_0xa47516[_0x2ffdf1(0x1fd)])&&(this['resend'](),this['_resendTimeout']=_0x3a5827===0x0?0x3e8:_0x3a5827*0x2);}[_0x357007(0x50d)](){const _0x472f73=_0x357007;var _0x35eedc;(_0x35eedc=this[_0x472f73(0x279)])==null||_0x35eedc[_0x472f73(0x436)](),this[_0x472f73(0x33f)]=0x0;}};_0x445360=_0x233cd3([_0xb9c7f1(0x4,_0x457d20['Inject'](_0x457d20[_0x357007(0x467)])),_0xb9c7f1(0x5,_0x457d20[_0x357007(0x2c4)](_0x4d26ac[_0x357007(0x37c)])),_0xb9c7f1(0x6,_0x457d20[_0x357007(0x2c4)](_0x325eac['LocalCacheService'])),_0xb9c7f1(0x7,_0x457d20[_0x357007(0x324)]),_0xb9c7f1(0x8,_0x457d20[_0x357007(0x54e)]),_0xb9c7f1(0x9,_0x4d26ac[_0x357007(0x329)]),_0xb9c7f1(0xa,_0x457d20[_0x357007(0x381)])],_0x445360);let _0x2b0484=class extends _0x36fdd4{constructor(_0x186e3b,_0x5ed49f,_0x18a5d2,_0x40f6a6,_0x1b8297,_0x60ca1c,_0x162516,_0x160da4,_0x50a05d,_0x3b95fc,_0x3a36a7,_0x4cb2c3,_0xb47321){const _0x263266=_0x357007;super(_0x186e3b,_0x5ed49f,_0x18a5d2,_0x40f6a6,_0x1b8297,_0x3b95fc,_0xb47321,_0x160da4,_0x50a05d),_0x184856(this,_0x263266(0x477),'awaiting_with_pending'),_0x184856(this,_0x263266(0x33f),0x0),_0x184856(this,_0x263266(0x2bd)),_0x184856(this,_0x263266(0x279)),(this[_0x263266(0x593)]=_0x162516,this[_0x263266(0x514)]=_0x3a36a7,this['_transformService']=_0x4cb2c3,_0x60ca1c&&(this[_0x263266(0x2bd)]=_0x60ca1c,this[_0x263266(0x279)]=this[_0x263266(0x2bd)][_0x263266(0x479)](({reqId:_0x37ff3a,timeout:_0x2d04bd})=>{const _0x26da66=_0x263266;this[_0x26da66(0x589)](_0x37ff3a,_0x2d04bd);})));}[_0x357007(0x266)](_0x52a471){const _0x253acc=_0x357007;return this[_0x253acc(0x422)][_0x253acc(0x39d)](_0x52a471),this;}[_0x357007(0x333)](_0x2e9e8e){const _0x1b2c7c=_0x357007;if(this['_checkMissing'](_0x2e9e8e))return this[_0x1b2c7c(0x50d)](),this[_0x1b2c7c(0x593)][_0x1b2c7c(0xfd)](_0x5b8d63,this['unitID'],this[_0x1b2c7c(0x486)],this[_0x1b2c7c(0x24a)],this['_pendingMutations'],null,[_0x2e9e8e],this[_0x1b2c7c(0x354)]);try{const _0x16c384=this[_0x1b2c7c(0x2af)]['transformChangesets']([_0x2e9e8e],[this['_awaitingChangeset']],!0x1);if(_0x4d26ac[_0x1b2c7c(0x2ec)](_0x16c384)){const {c1Prime:_0x1d1958,c2Prime:_0x7a5db2}=_0x16c384,_0x10055d=this[_0x1b2c7c(0x2af)][_0x1b2c7c(0x424)](_0x1d1958[0x0],this[_0x1b2c7c(0x422)]);if(_0x4d26ac['isTransformMutationsWithChangesetSuccess'](_0x10055d)){const {c1Prime:_0x19087b,m2Prime:_0x1cf2bf}=_0x10055d;return this[_0x1b2c7c(0x35d)](_0x19087b),_0x7a5db2[0x0][_0x1b2c7c(0x4d9)]=this[_0x1b2c7c(0x183)](),this[_0x1b2c7c(0x50d)](),this[_0x1b2c7c(0x593)][_0x1b2c7c(0xfd)](_0x2b0484,this[_0x1b2c7c(0x563)],this['type'],_0x7a5db2[0x0],_0x1cf2bf,this[_0x1b2c7c(0x354)],void 0x0);}throw _0x10055d[_0x1b2c7c(0x519)];}throw _0x16c384['error'];}catch(_0x14ab63){return this[_0x1b2c7c(0x514)][_0x1b2c7c(0x519)](_0x14ab63),this[_0x1b2c7c(0x419)](!0x1);}}[_0x357007(0x201)](_0x454d45){const _0x23ee1d=_0x357007;if(this[_0x23ee1d(0x50d)](),this[_0x23ee1d(0x546)](_0x454d45))return this[_0x23ee1d(0x593)][_0x23ee1d(0xfd)](_0x5b8d63,this[_0x23ee1d(0x563)],this[_0x23ee1d(0x486)],null,this[_0x23ee1d(0x422)],this[_0x23ee1d(0x24a)],[],this[_0x23ee1d(0x354)]);this[_0x23ee1d(0x287)]();const _0x1507ea=this['_injector'][_0x23ee1d(0xfd)](_0x2cdf5f,this[_0x23ee1d(0x563)],this[_0x23ee1d(0x486)],this[_0x23ee1d(0x422)],this[_0x23ee1d(0x354)]);return _0x1507ea[_0x23ee1d(0x3fd)](),_0x1507ea['_updateLocalCache'](),_0x1507ea;}[_0x357007(0x23f)](_0x2fbcdc){const _0x7049b4=_0x357007;return this[_0x7049b4(0x419)](!!(_0x2fbcdc!=null&&_0x2fbcdc[_0x7049b4(0x262)]));}[_0x357007(0x539)](_0x29b691){const _0x237110=_0x357007;return this[_0x237110(0x33f)]>_0xa6d16?this[_0x237110(0x145)]():(this[_0x237110(0x2bd)]=_0xa606e9(this[_0x237110(0x33f)],{'timeout':this[_0x237110(0x33f)],'reqId':_0x29b691[_0x237110(0x1fd)]}),this[_0x237110(0x279)]=this[_0x237110(0x2bd)][_0x237110(0x479)](({reqId:_0xa092,timeout:_0x1610bb})=>{this['_resendWithTimeout'](_0xa092,_0x1610bb);}),this);}['toggleOffline'](){const _0x1cc13b=_0x357007;return this[_0x1cc13b(0x50d)](),this[_0x1cc13b(0x593)][_0x1cc13b(0xfd)](_0x52b8d8,this[_0x1cc13b(0x563)],this[_0x1cc13b(0x486)],this[_0x1cc13b(0x24a)],this['_pendingMutations'],this[_0x1cc13b(0x354)]);}[_0x357007(0x3e9)](){return this;}['resend'](){const _0xf92a0b=_0x357007;this[_0xf92a0b(0x354)][_0xf92a0b(0x3be)](this['_awaitingChangeset']);}[_0x357007(0x419)](_0x3c185a){const _0x42f994=_0x357007;return this[_0x42f994(0x50d)](),this[_0x42f994(0x593)][_0x42f994(0xfd)](_0x4bfd84,this[_0x42f994(0x563)],this[_0x42f994(0x486)],null,this[_0x42f994(0x422)],this[_0x42f994(0x354)],_0x3c185a);}[_0x357007(0x589)](_0x4694eb,_0x39a9a7){const _0x4dab2e=_0x357007;var _0x4b664b;_0x4694eb===((_0x4b664b=this[_0x4dab2e(0x24a)])==null?void 0x0:_0x4b664b[_0x4dab2e(0x1fd)])&&(this[_0x4dab2e(0x1bd)](),this[_0x4dab2e(0x33f)]=_0x39a9a7===0x0?0x3e8:_0x39a9a7*0x2);}['_clearScheduledTask'](){const _0x2fa735=_0x357007;var _0x4fcc64;(_0x4fcc64=this[_0x2fa735(0x279)])==null||_0x4fcc64[_0x2fa735(0x436)](),this['_resendTimeout']=0x0;}};_0x2b0484=_0x233cd3([_0xb9c7f1(0x6,_0x457d20['Inject'](_0x457d20[_0x357007(0x467)])),_0xb9c7f1(0x7,_0x457d20[_0x357007(0x2c4)](_0x4d26ac['RevisionService'])),_0xb9c7f1(0x8,_0x457d20[_0x357007(0x2c4)](_0x325eac['LocalCacheService'])),_0xb9c7f1(0x9,_0x457d20[_0x357007(0x324)]),_0xb9c7f1(0xa,_0x457d20[_0x357007(0x54e)]),_0xb9c7f1(0xb,_0x4d26ac[_0x357007(0x329)]),_0xb9c7f1(0xc,_0x457d20['IUndoRedoService'])],_0x2b0484);let _0x4bfd84=class extends _0x36fdd4{constructor(_0x37199b,_0x490bbd,_0x11274c,_0x5d2b09,_0x4de777,_0x11807f=!0x1,_0x3b1939,_0x5d95a3,_0x4135e9,_0x4397ba,_0x5ad107,_0x12520a,_0x302395){const _0x4df893=_0x357007;super(_0x37199b,_0x490bbd,_0x11274c,_0x5d2b09,_0x4de777,_0x5d95a3,_0x4135e9,_0x5ad107,_0x4397ba),_0x184856(this,_0x4df893(0x477),'conflict'),(this[_0x4df893(0x46b)]=_0x11807f,this[_0x4df893(0x56a)]=_0x3b1939,this[_0x4df893(0x22c)]=_0x12520a,this[_0x4df893(0x31b)]=_0x302395,this['_showConflictNotification'](),this[_0x4df893(0x4ca)](),this[_0x4df893(0x250)]());}[_0x357007(0x266)](){return this;}[_0x357007(0x333)](){return this;}[_0x357007(0x201)](){return this;}['onRemoteRej'](){return this;}['onRemoteRetry'](){return this;}[_0x357007(0x145)](){return this;}[_0x357007(0x3e9)](){return this;}[_0x357007(0x1bd)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x357007(0x4ca)](){const _0x15b845=_0x357007;this[_0x15b845(0x4e9)]['updateOfflineData'](this[_0x15b845(0x563)],this[_0x15b845(0x486)],null,[]);}[_0x357007(0x2ff)](){const _0x4f5520=_0x357007;this[_0x4f5520(0x46b)]?this[_0x4f5520(0x31b)][_0x4f5520(0x3a5)]({'title':this[_0x4f5520(0x22c)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0x4f5520(0x519),'duration':0x0}):this['_notificationService'][_0x4f5520(0x3a5)]({'title':this['_localeService']['t']('conflict.title'),'content':this['_localeService']['t'](_0x4f5520(0x26c)),'type':_0x4f5520(0x519),'duration':0x0});}[_0x357007(0x250)](){const _0x2bd906=_0x357007;this[_0x2bd906(0x56a)][_0x2bd906(0x52b)](new _0x91efb2['WorkbookEditablePermission'](this[_0x2bd906(0x563)])['id'],!0x1);}};_0x4bfd84=_0x233cd3([_0xb9c7f1(0x6,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x42a)])),_0xb9c7f1(0x7,_0x457d20[_0x357007(0x324)]),_0xb9c7f1(0x8,_0x457d20[_0x357007(0x381)]),_0xb9c7f1(0x9,_0x457d20[_0x357007(0x2c4)](_0x325eac['LocalCacheService'])),_0xb9c7f1(0xa,_0x457d20[_0x357007(0x2c4)](_0x4d26ac['RevisionService'])),_0xb9c7f1(0xb,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x128)])),_0xb9c7f1(0xc,_0x2b45ba[_0x357007(0x1e5)])],_0x4bfd84);let _0x52b8d8=class extends _0x36fdd4{constructor(_0x64d1ba,_0x3e7043,_0x2b7fcb,_0x3af84f,_0x1536a3,_0x215d83,_0x3d52ae,_0x87ff09,_0x3a7236,_0x14b173){const _0x21b26c=_0x357007;super(_0x64d1ba,_0x3e7043,_0x2b7fcb,_0x3af84f,_0x1536a3,_0x3a7236,_0x14b173,_0x3d52ae,_0x87ff09),_0x184856(this,_0x21b26c(0x477),_0x21b26c(0x474)),this[_0x21b26c(0x593)]=_0x215d83;}['appendMutation'](_0x340db7){const _0x1c4bc4=_0x357007;return this[_0x1c4bc4(0x422)]['push'](_0x340db7),this[_0x1c4bc4(0x535)](),this;}[_0x357007(0x333)](_0x2f56f1){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x357007(0x201)](){const _0x27a2b9=_0x357007;throw new Error(_0x27a2b9(0x1e9));}[_0x357007(0x23f)](){const _0x4bd057=_0x357007;throw new Error(_0x4bd057(0x574));}[_0x357007(0x539)](){return this;}[_0x357007(0x145)](){return this;}[_0x357007(0x3e9)](){const _0x4dc95c=_0x357007,{_injector:_0x499300,_pendingMutations:_0x8ac6fa,_awaitingChangeset:_0x387a64,unitID:_0x1c5d06,_handler:_0x463a55,type:_0x339ab0}=this,_0x46fdbe=_0x540535(_0x499300,_0x1c5d06,_0x339ab0,_0x387a64,_0x8ac6fa,_0x463a55);return _0x46fdbe instanceof _0x2cdf5f?_0x46fdbe['_schedule']():(_0x46fdbe instanceof _0x2b0484||_0x46fdbe instanceof _0x445360)&&_0x46fdbe[_0x4dc95c(0x1bd)](),_0x46fdbe;}[_0x357007(0x1bd)](){const _0x171df8=_0x357007;throw new Error(_0x171df8(0x44b));}};_0x52b8d8=_0x233cd3([_0xb9c7f1(0x5,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x467)])),_0xb9c7f1(0x6,_0x457d20[_0x357007(0x2c4)](_0x4d26ac[_0x357007(0x37c)])),_0xb9c7f1(0x7,_0x457d20['Inject'](_0x325eac['LocalCacheService'])),_0xb9c7f1(0x8,_0x457d20[_0x357007(0x324)]),_0xb9c7f1(0x9,_0x457d20[_0x357007(0x381)])],_0x52b8d8);let _0x5b8d63=class extends _0x36fdd4{constructor(_0x217256,_0x3f8931,_0x23ef96,_0x4c5c7a,_0x147516,_0x3d8dfe,_0x416a67,_0x5904d8,_0xbb4592,_0x31fce4,_0x5ae0b4,_0x109f96,_0x2cd371,_0x3a4c96){const _0x4c15a2=_0x357007;super(_0x217256,_0x3f8931,_0x23ef96,_0x4c5c7a,_0x416a67,_0x109f96,_0x2cd371,_0xbb4592,_0x31fce4),_0x184856(this,_0x4c15a2(0x477),_0x4c15a2(0x520)),(this[_0x4c15a2(0x3f4)]=_0x147516,this[_0x4c15a2(0x1dc)]=_0x3d8dfe,this[_0x4c15a2(0x593)]=_0x5904d8,this[_0x4c15a2(0x514)]=_0x5ae0b4,this[_0x4c15a2(0x2af)]=_0x3a4c96);}[_0x357007(0x15a)](_0x9936fe){const _0x1dd07f=_0x357007;try{const _0x20e91a=[..._0x9936fe,...this[_0x1dd07f(0x1dc)]],_0x158c2d=[this['_awaitingChangeset']||this[_0x1dd07f(0x3f4)]][_0x1dd07f(0x356)](_0x5bdedb=>!!_0x5bdedb);let _0x5900ff,_0x3230ec;if(_0x158c2d[_0x1dd07f(0x1b0)]){const _0x4653fd=this[_0x1dd07f(0x2af)]['transformChangesets'](_0x20e91a,_0x158c2d,!0x1);if(!_0x4d26ac[_0x1dd07f(0x2ec)](_0x4653fd))throw _0x4653fd[_0x1dd07f(0x519)];_0x5900ff=_0x4653fd[_0x1dd07f(0x2f5)],_0x3230ec=_0x4653fd[_0x1dd07f(0x246)];}else _0x5900ff=_0x20e91a,_0x3230ec=[];let _0x5f0f28=this[_0x1dd07f(0x422)];_0x5900ff[_0x1dd07f(0x274)](_0x9df876=>{const _0x2a1a7b=_0x1dd07f;let _0x1601c5;if(_0x5f0f28[_0x2a1a7b(0x1b0)]){const _0x165d25=this[_0x2a1a7b(0x2af)][_0x2a1a7b(0x424)](_0x9df876,_0x5f0f28);if(!_0x4d26ac[_0x2a1a7b(0xed)](_0x165d25))throw _0x165d25[_0x2a1a7b(0x519)];_0x1601c5=_0x165d25['c1Prime'],_0x5f0f28=_0x165d25[_0x2a1a7b(0x472)];}else _0x1601c5=_0x9df876;this[_0x2a1a7b(0x35d)](_0x1601c5);}),this[_0x1dd07f(0x3f4)]&&this['_incrementRevisionNumber'](),this[_0x1dd07f(0x24a)]&&_0x3230ec[_0x1dd07f(0x1b0)]&&(_0x3230ec[0x0][_0x1dd07f(0x4d9)]=this[_0x1dd07f(0x183)]());let _0x4ab38a;if(this['_awaitingChangeset']&&_0x5f0f28[_0x1dd07f(0x1b0)]!==0x0)_0x4ab38a=this['_injector']['createInstance'](_0x2b0484,this['unitID'],this[_0x1dd07f(0x486)],_0x3230ec[0x0],_0x5f0f28,this[_0x1dd07f(0x354)],void 0x0);else{if(this['_awaitingChangeset']&&_0x5f0f28[_0x1dd07f(0x1b0)]===0x0)_0x3230ec[0x0][_0x1dd07f(0x4d9)]=this[_0x1dd07f(0x183)](),_0x4ab38a=this[_0x1dd07f(0x593)][_0x1dd07f(0xfd)](_0x445360,this[_0x1dd07f(0x563)],this[_0x1dd07f(0x486)],_0x3230ec[0x0],this['_handler']);else{if(_0x5f0f28[_0x1dd07f(0x1b0)]!==0x0){const _0x38270c=this['_injector']['createInstance'](_0x2cdf5f,this[_0x1dd07f(0x563)],this[_0x1dd07f(0x486)],_0x5f0f28,this['_handler']);_0x38270c['_schedule'](),_0x4ab38a=_0x38270c;}else _0x4ab38a=this[_0x1dd07f(0x593)][_0x1dd07f(0xfd)](_0x6dd86,this[_0x1dd07f(0x563)],this['type'],this[_0x1dd07f(0x354)]);}}return _0x4ab38a[_0x1dd07f(0x535)](),_0x4ab38a;}catch(_0x31dd40){return this[_0x1dd07f(0x514)][_0x1dd07f(0x519)](_0x1dd07f(0x267),_0x1dd07f(0x174),_0x31dd40),this['_injector'][_0x1dd07f(0xfd)](_0x4bfd84,this['unitID'],this[_0x1dd07f(0x486)],this[_0x1dd07f(0x24a)],this[_0x1dd07f(0x422)],this['_handler'],!0x1);}}[_0x357007(0x1bd)](){const _0x546960=_0x357007;throw new Error(_0x546960(0x36c));}['appendMutation'](_0x1fd87a){return this['_pendingMutations']['push'](_0x1fd87a),this;}[_0x357007(0x333)](_0x4ca239){const _0x483bf9=_0x357007;return this[_0x483bf9(0x1dc)][_0x483bf9(0x39d)](_0x4ca239),this;}['onRemoteAck'](_0x29c052){const _0x22fef2=_0x357007;if(this[_0x22fef2(0x24a)])return this[_0x22fef2(0x3f4)]=this[_0x22fef2(0x24a)],this[_0x22fef2(0x24a)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x357007(0x23f)](_0x4be99c){const _0x25bab5=_0x357007;return this[_0x25bab5(0x419)](!!(_0x4be99c!=null&&_0x4be99c['isPermissionRej']));}[_0x357007(0x539)](){return this;}[_0x357007(0x145)](){const _0x1398e7=_0x357007;return this[_0x1398e7(0x593)][_0x1398e7(0xfd)](_0x52b8d8,this[_0x1398e7(0x563)],this[_0x1398e7(0x486)],this[_0x1398e7(0x24a)],this['_pendingMutations'],this[_0x1398e7(0x354)]);}[_0x357007(0x3e9)](){return this;}['_onConflict'](_0x574dac){const _0x469de2=_0x357007;return this[_0x469de2(0x593)][_0x469de2(0xfd)](_0x4bfd84,this[_0x469de2(0x563)],this[_0x469de2(0x486)],this['_awaitingChangeset'],this[_0x469de2(0x422)],this['_handler'],_0x574dac);}};_0x5b8d63=_0x233cd3([_0xb9c7f1(0x7,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x467)])),_0xb9c7f1(0x8,_0x457d20['Inject'](_0x4d26ac[_0x357007(0x37c)])),_0xb9c7f1(0x9,_0x457d20[_0x357007(0x2c4)](_0x325eac[_0x357007(0x4f9)])),_0xb9c7f1(0xa,_0x457d20[_0x357007(0x54e)]),_0xb9c7f1(0xb,_0x457d20[_0x357007(0x324)]),_0xb9c7f1(0xc,_0x457d20[_0x357007(0x381)]),_0xb9c7f1(0xd,_0x4d26ac['ITransformService'])],_0x5b8d63);function _0x540535(_0x106492,_0x133cd6,_0x13fa47,_0x69a11f,_0x115440,_0x53e37b){const _0xbca3aa=_0x357007;return _0x69a11f&&_0x115440['length']?_0x106492[_0xbca3aa(0xfd)](_0x2b0484,_0x133cd6,_0x13fa47,_0x69a11f,_0x115440,_0x53e37b,void 0x0):_0x69a11f?_0x106492[_0xbca3aa(0xfd)](_0x445360,_0x133cd6,_0x13fa47,_0x69a11f,_0x53e37b):_0x115440['length']?_0x106492[_0xbca3aa(0xfd)](_0x2cdf5f,_0x133cd6,_0x13fa47,_0x115440,_0x53e37b):_0x106492[_0xbca3aa(0xfd)](_0x6dd86,_0x133cd6,_0x13fa47,_0x53e37b);}var _0x451f24=Object[_0x357007(0x376)],_0x2d09f9=Object[_0x357007(0x41b)],_0xd723ed=(_0x4188d3,_0x31c14c,_0x1ec740,_0x54b3de)=>{const _0x15f389=_0x357007;for(var _0x3d9113=_0x54b3de>0x1?void 0x0:_0x54b3de?_0x2d09f9(_0x31c14c,_0x1ec740):_0x31c14c,_0x2e4bd7=_0x4188d3[_0x15f389(0x1b0)]-0x1,_0x17b11d;_0x2e4bd7>=0x0;_0x2e4bd7--)(_0x17b11d=_0x4188d3[_0x2e4bd7])&&(_0x3d9113=(_0x54b3de?_0x17b11d(_0x31c14c,_0x1ec740,_0x3d9113):_0x17b11d(_0x3d9113))||_0x3d9113);return _0x54b3de&&_0x3d9113&&_0x451f24(_0x31c14c,_0x1ec740,_0x3d9113),_0x3d9113;},_0x2da585=(_0x2272cc,_0x50ff3d)=>(_0xa1fe53,_0x46ac43)=>_0x50ff3d(_0xa1fe53,_0x46ac43,_0x2272cc);_0x325eac[_0x357007(0x5af)]=class extends _0x457d20[_0x357007(0xe7)]{constructor(_0xbbefc9,_0x1feb56,_0x411ec7,_0x3d4d15,_0x5a126b,_0x470b2f,_0x2fe131,_0x50694f,_0x33116e,_0x36d31c,_0x4a7635,_0x56a53c,_0x3ca77b){const _0x251b80=_0x357007;super(),_0x184856(this,'_state$',new _0x44a02e[(_0x251b80(0x387))](null)),_0x184856(this,_0x251b80(0x1bc),this['_state$']['asObservable']()),_0x184856(this,'_state'),_0x184856(this,_0x251b80(0x3a0),!0x1),_0x184856(this,'_changesetSessionId',''),_0x184856(this,'_changesetReqId',0x0),_0x184856(this,_0x251b80(0x1ec),this[_0x251b80(0x1bc)][_0x251b80(0x3f8)](_0x44a02e[_0x251b80(0x595)](_0x5a13fe=>_0x5a13fe?_0x5a13fe[_0x251b80(0x477)]:_0x44c5ad[_0x251b80(0x31a)]),_0x44a02e[_0x251b80(0x2b9)](0x1))),_0x184856(this,_0x251b80(0x3a8),!0x1),_0x184856(this,_0x251b80(0x3b9),[]),(this['unitID']=_0xbbefc9,this[_0x251b80(0x2e3)]=_0x1feb56,this['_type']=_0x411ec7,this[_0x251b80(0x593)]=_0x3d4d15,this[_0x251b80(0x4e9)]=_0x5a126b,this['_compressMutationService']=_0x470b2f,this[_0x251b80(0x22c)]=_0x2fe131,this[_0x251b80(0xfc)]=_0x50694f,this[_0x251b80(0x514)]=_0x33116e,this['_commandService']=_0x36d31c,this[_0x251b80(0x285)]=_0x4a7635,this[_0x251b80(0x56a)]=_0x56a53c,this[_0x251b80(0x1e8)]=_0x3ca77b);}get[_0x357007(0x335)](){const _0xb34106=_0x357007;return this[_0xb34106(0x2d2)];}async[_0x357007(0x192)](){const _0x3fd37b=_0x357007;if(this[_0x3fd37b(0x335)])throw new Error(_0x3fd37b(0x53b));await this['_init']();}[_0x357007(0x3c8)](){const _0x309a2c=_0x357007;return this[_0x309a2c(0x3a0)]=!0x0,_0x457d20[_0x309a2c(0x41d)](()=>{const _0x575190=_0x309a2c;this[_0x575190(0x3a0)]=!0x1,this[_0x575190(0xf1)]();});}[_0x357007(0x56f)](_0x1c023c){const _0x49aac2=_0x357007;this[_0x49aac2(0x2d2)]=_0x1c023c,this[_0x49aac2(0x270)][_0x49aac2(0x4d3)](_0x1c023c);}async['_init'](){const _0x14de2e=_0x357007;var _0x50c3f8;this['_updateState'](await this[_0x14de2e(0x517)]()),this[_0x14de2e(0x1e8)]&&((_0x50c3f8=this['_singleActiveUnitService'])==null||_0x50c3f8[_0x14de2e(0x2dd)](this[_0x14de2e(0x563)]),this[_0x14de2e(0x189)](this[_0x14de2e(0x1e8)][_0x14de2e(0x4d7)](this['unitID'])[_0x14de2e(0x479)](_0x4cd2dd=>{const _0x58ed80=_0x14de2e;this['_logService']['debug'](_0x58ed80(0x365),'editing\x20status\x20changed\x20to',_0x4cd2dd),_0x4cd2dd===_0x53b568[_0x58ed80(0x1a3)]?(this[_0x58ed80(0x285)][_0x58ed80(0x3a5)]({'content':this[_0x58ed80(0x22c)]['t'](_0x58ed80(0x2c9)),'type':_0x151ca4[_0x58ed80(0x21f)][_0x58ed80(0x5ab)]}),this[_0x58ed80(0x56a)][_0x58ed80(0x52b)](new _0x91efb2[(_0x58ed80(0x54c))](this[_0x58ed80(0x563)])['id'],!0x1),this[_0x58ed80(0x56a)][_0x58ed80(0xe0)](!0x1)):(this[_0x58ed80(0x56a)][_0x58ed80(0x52b)](new _0x91efb2[(_0x58ed80(0x54c))](this[_0x58ed80(0x563)])['id'],!0x0),this[_0x58ed80(0x56a)][_0x58ed80(0xe0)](!0x0));})));let _0x42a067=!0x1;return this[_0x14de2e(0x189)](this[_0x14de2e(0x2e3)][_0x14de2e(0x40d)]['subscribe'](_0x49fee3=>{const _0x332c73=_0x14de2e;_0x49fee3===_0x4b3a9d[_0x332c73(0x447)]?this['_toggleOnline'](_0x42a067):_0x49fee3===_0x4b3a9d[_0x332c73(0x31a)]&&(_0x42a067=!0x0,this[_0x332c73(0x49d)]());})),this[_0x14de2e(0x189)](this[_0x14de2e(0x2e3)][_0x14de2e(0x2f9)]['subscribe'](_0x442384=>{const _0x1b694d=_0x14de2e;try{switch(_0x442384[_0x1b694d(0x5a6)]){case _0x4d26ac[_0x1b694d(0x2c2)][_0x1b694d(0x330)]:{this['_onRemoteChangeset'](_0x4d26ac['parseProtocolChangeset'](_0x442384[_0x1b694d(0x24e)]));break;}case _0x4d26ac[_0x1b694d(0x2c2)]['CHANGESET_ACK']:{this[_0x1b694d(0x461)](_0x442384[_0x1b694d(0x24e)]);break;}case _0x4d26ac['CollaborationEvent']['CHANGESET_REJ']:{this[_0x1b694d(0x136)]();break;}case _0x4d26ac[_0x1b694d(0x2c2)][_0x1b694d(0x3f5)]:{this[_0x1b694d(0x38f)](_0x442384[_0x1b694d(0x24e)]);break;}case _0x4d26ac[_0x1b694d(0x2c2)][_0x1b694d(0x25e)]:{this[_0x1b694d(0x16a)](_0x442384[_0x1b694d(0x24e)][_0x1b694d(0x1a5)]['map'](_0x9120a7=>_0x4d26ac['parseProtocolChangeset'](_0x9120a7)));break;}case _0x4d26ac[_0x1b694d(0x2c2)][_0x1b694d(0x466)]:this[_0x1b694d(0x136)]({'isPermissionRej':!0x0});}}catch(_0x1e2638){throw console[_0x1b694d(0x519)](_0x1b694d(0x598),_0x1e2638),_0x1e2638;}})),this[_0x14de2e(0x2d2)];}[_0x357007(0x3f1)](){this['_transitionLocked']=!0x1;}[_0x357007(0x100)](){const _0x107bf7=_0x357007;if(this['_transitionLocked'])throw new Error(_0x107bf7(0x4eb));this[_0x107bf7(0x3a8)]=!0x0;}[_0x357007(0x18b)](_0x4974aa){const _0x4e30a4=_0x357007;this[_0x4e30a4(0x100)](),this[_0x4e30a4(0x56f)](this[_0x4e30a4(0x2d2)]['appendMutation'](_0x4974aa)),this['_unlockTransition']();}[_0x357007(0x407)](_0x969a92){const _0x514100=_0x357007;if(!(_0x969a92[_0x514100(0x4d8)]<=this[_0x514100(0xfc)][_0x514100(0x110)](this['unitID']))){if(this['_collaborationPaused']){this[_0x514100(0x3b9)][_0x514100(0x39d)](_0x969a92);return;}this['_applyRemoteChangeset'](_0x969a92);}}['_exhaustRemoteChangesetQueue'](){const _0x353b91=_0x357007;this[_0x353b91(0x3b9)][_0x353b91(0x274)](_0x503f6f=>this[_0x353b91(0x318)](_0x503f6f)),this[_0x353b91(0x3b9)]=[];}[_0x357007(0x318)](_0x269b94){const _0x24fbbd=_0x357007,_0x2008cb=this[_0x24fbbd(0x180)]['interceptor'][_0x24fbbd(0x516)](this[_0x24fbbd(0x180)][_0x24fbbd(0x413)][_0x24fbbd(0x217)]()[_0x24fbbd(0x1b6)])(_0x269b94[_0x24fbbd(0x21b)],null)||_0x269b94['mutations'],_0x217e2a={..._0x269b94,'mutations':_0x2008cb};this[_0x24fbbd(0x100)](),this[_0x24fbbd(0x56f)](this['_state'][_0x24fbbd(0x333)](_0x217e2a)),this[_0x24fbbd(0x3f1)]();}[_0x357007(0x461)](_0x3bbbc6){const _0x174c87=_0x357007;this[_0x174c87(0x100)](),this[_0x174c87(0x56f)](this[_0x174c87(0x2d2)]['onRemoteAck'](_0x3bbbc6)),this[_0x174c87(0x3f1)]();}[_0x357007(0x136)](_0x4e62c5){const _0xe019ae=_0x357007;this['_lockTransition'](),this['_updateState'](this[_0xe019ae(0x2d2)][_0xe019ae(0x23f)](_0x4e62c5)),this[_0xe019ae(0x3f1)]();}['_onRemoteRetry'](_0x491fe2){const _0x2d9e0e=_0x357007;this[_0x2d9e0e(0x100)](),this[_0x2d9e0e(0x56f)](this[_0x2d9e0e(0x2d2)][_0x2d9e0e(0x539)](_0x491fe2)),this[_0x2d9e0e(0x3f1)]();}[_0x357007(0x16a)](_0xe6e39d){const _0x2900b9=_0x357007;if(!(this[_0x2900b9(0x2d2)]instanceof _0x5b8d63))throw new TypeError(_0x2900b9(0x15d));const _0x674dd8=_0xe6e39d[_0x2900b9(0x595)](_0x4f8f87=>{const _0x27b8a3=_0x2900b9,_0x1bfdae=this[_0x27b8a3(0x180)][_0x27b8a3(0x413)]['fetchThroughInterceptors'](this[_0x27b8a3(0x180)][_0x27b8a3(0x413)][_0x27b8a3(0x217)]()[_0x27b8a3(0x1b6)])(_0x4f8f87[_0x27b8a3(0x21b)],null)||_0x4f8f87['mutations'];return{..._0x4f8f87,'mutations':_0x1bfdae};});this[_0x2900b9(0x100)](),this[_0x2900b9(0x56f)](this[_0x2900b9(0x2d2)]['onMissedChangesetFetched'](_0x674dd8)),this['_unlockTransition']();}[_0x357007(0x49d)](){const _0x45202c=_0x357007;this[_0x45202c(0x100)](),this[_0x45202c(0x56f)](this[_0x45202c(0x2d2)][_0x45202c(0x145)]()),this[_0x45202c(0x3f1)]();}['_toggleOnline'](_0xcb882=!0x1){const _0xccb906=_0x357007;this['_lockTransition'](),this[_0xccb906(0x56f)](this['_state'][_0xccb906(0x3e9)]()),this['_unlockTransition']();const _0x526b8a=this['_state'];_0xcb882&&_0x526b8a instanceof _0x6dd86&&(this[_0xccb906(0x100)](),this[_0xccb906(0x56f)](_0x526b8a[_0xccb906(0x418)]()),this[_0xccb906(0x3f1)]());}async['_createInitialState'](){return new Promise(_0x4bc1d9=>{const _0x21ea61=_0xbbea;this[_0x21ea61(0x2e3)][_0x21ea61(0x40d)][_0x21ea61(0x3f8)](_0x44a02e[_0x21ea61(0x370)](0x1))['subscribe'](async _0x52b111=>{const _0x3bb8cf=_0x21ea61;_0x4bc1d9(await this[_0x3bb8cf(0x430)](_0x52b111===_0x4b3a9d['ONLINE']));});});}[_0x357007(0x4f4)](){const _0x2295d8=this['unitID'];return{'onStateChange':(_0x5e6273,_0xd77959)=>{const _0x50bd99=_0xbbea;if(_0x5e6273!==this[_0x50bd99(0x2d2)])throw new Error(_0x50bd99(0x548)+_0x5e6273['status']+'\x0aAfter:\x20'+_0xd77959[_0x50bd99(0x477)]+_0x50bd99(0x118)+this['_state'][_0x50bd99(0x477)]);this[_0x50bd99(0x56f)](_0xd77959);},'onSendChangeset':_0x3b5c70=>{const _0x5a9b1f=_0xbbea;_0x3b5c70[_0x5a9b1f(0x30d)]||(_0x3b5c70[_0x5a9b1f(0x30d)]=this['_changesetSessionId'],_0x3b5c70[_0x5a9b1f(0x1fd)]=++this[_0x5a9b1f(0x3fa)]);const _0x403d43={'eventID':_0x4d26ac[_0x5a9b1f(0x2c2)][_0x5a9b1f(0x13b)],'data':{'unitID':_0x3b5c70[_0x5a9b1f(0x563)],'unitType':this[_0x5a9b1f(0x584)],'changeset':_0x3b5c70,'memberID':this[_0x5a9b1f(0x2e3)][_0x5a9b1f(0x14f)]()}};this[_0x5a9b1f(0x2e3)][_0x5a9b1f(0x434)](_0x403d43,this[_0x5a9b1f(0x563)]);},'onMissingChangesets':({from:_0x18f41e,to:_0x24136a})=>{const _0x291224=_0xbbea;this[_0x291224(0x514)][_0x291224(0x17b)](_0x291224(0x365),_0x291224(0x389)+_0x18f41e+'\x20to\x20'+_0x24136a);const _0x29a0de={'eventID':_0x4d26ac[_0x291224(0x2c2)][_0x291224(0x12a)],'data':{'unitID':_0x2295d8,'unitType':this['_type'],'from':_0x18f41e,'to':_0x24136a}};this[_0x291224(0x2e3)]['send'](_0x29a0de,this['unitID']);}};}async[_0x357007(0x430)](_0x1f471f){const _0x6fc43d=_0x357007;var _0x13479a,_0x2dad9e;const _0x667e6a=await this[_0x6fc43d(0x4e9)]['loadOfflineData'](this[_0x6fc43d(0x563)]),_0x4fcbf4=(_0x13479a=_0x667e6a==null?void 0x0:_0x667e6a[_0x6fc43d(0x21b)])!=null?_0x13479a:[],_0x1bc48a=(_0x2dad9e=_0x667e6a==null?void 0x0:_0x667e6a[_0x6fc43d(0x4ac)])!=null?_0x2dad9e:null,_0x1c64da=!!(_0x1bc48a!=null&&_0x1bc48a[_0x6fc43d(0x30d)])&&!!(_0x1bc48a!=null&&_0x1bc48a[_0x6fc43d(0x1fd)]);this[_0x6fc43d(0x49c)]=_0x1c64da?_0x1bc48a['sid']:_0xee27dc(),this[_0x6fc43d(0x3fa)]=_0x1c64da?_0x1bc48a[_0x6fc43d(0x1fd)]:0x0;const _0x4bab0c=this['unitID'];try{this[_0x6fc43d(0x59c)](_0x1bc48a,_0x4fcbf4);}catch(_0x26c53f){this['_logService'][_0x6fc43d(0x519)](_0x26c53f);}const _0x2df35f=this[_0x6fc43d(0x4f4)]();if(_0x1f471f){const _0x15afc0=_0x540535(this['_injector'],_0x4bab0c,this[_0x6fc43d(0x584)],_0x1bc48a,_0x4fcbf4,_0x2df35f);return _0x15afc0 instanceof _0x2cdf5f?_0x15afc0[_0x6fc43d(0x3fd)]():(_0x15afc0 instanceof _0x2b0484||_0x15afc0 instanceof _0x445360)&&_0x15afc0[_0x6fc43d(0x1bd)](),_0x15afc0;}return this[_0x6fc43d(0x593)][_0x6fc43d(0xfd)](_0x52b8d8,_0x4bab0c,this[_0x6fc43d(0x584)],_0x1bc48a,_0x4fcbf4,_0x2df35f);}[_0x357007(0x59c)](_0x20e37c,_0x104135){const _0x27d007=_0x357007;var _0x5615a8,_0x415446;const _0x2ea046=this[_0x27d007(0x180)]['interceptor']['fetchThroughInterceptors'](this[_0x27d007(0x180)][_0x27d007(0x413)][_0x27d007(0x217)]()['COMPRESS_MUTATION_APPLY']);(_0x5615a8=_0x2ea046((_0x20e37c==null?void 0x0:_0x20e37c[_0x27d007(0x21b)])||[],null))==null||_0x5615a8[_0x27d007(0x274)](_0x1d8caf=>this[_0x27d007(0x2a1)][_0x27d007(0x470)](_0x1d8caf['id'],_0x1d8caf[_0x27d007(0x53a)])),(_0x415446=_0x2ea046(_0x104135||[],null))==null||_0x415446[_0x27d007(0x274)](_0x483b0f=>this[_0x27d007(0x2a1)]['executeCommand'](_0x483b0f['id'],_0x483b0f[_0x27d007(0x53a)]));}},_0x325eac[_0x357007(0x5af)]=_0xd723ed([_0x2da585(0x3,_0x457d20['Inject'](_0x457d20[_0x357007(0x467)])),_0x2da585(0x4,_0x457d20[_0x357007(0x2c4)](_0x325eac[_0x357007(0x4f9)])),_0x2da585(0x5,_0x457d20['Inject'](_0x4d26ac['CompressMutationService'])),_0x2da585(0x6,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x128)])),_0x2da585(0x7,_0x457d20[_0x357007(0x2c4)](_0x4d26ac[_0x357007(0x37c)])),_0x2da585(0x8,_0x457d20[_0x357007(0x54e)]),_0x2da585(0x9,_0x457d20[_0x357007(0x324)]),_0x2da585(0xa,_0x2b45ba[_0x357007(0x3ba)]),_0x2da585(0xb,_0x457d20[_0x357007(0x42a)]),_0x2da585(0xc,_0x457d20[_0x357007(0xe8)](_0x1731f5))],_0x325eac[_0x357007(0x5af)]),_0x325eac[_0x357007(0x248)]=class extends _0x325eac[_0x357007(0x5af)]{constructor(_0x2312cd,_0xfd72a2,_0x37771a,_0x5dd3d5,_0x5a9516,_0x3e7826,_0x1f52ce,_0x34b479,_0x7dfa4d,_0x2880d0,_0x5770eb,_0x4de042,_0x5973a4,_0x535964,_0x1eb940,_0x58d6bd,_0x354c0e,_0x5b9fcc){const _0x2d0a03=_0x357007;super(_0x2312cd,_0x37771a,_0xfd72a2,_0x5dd3d5,_0x5a9516,_0x3e7826,_0x1f52ce,_0x34b479,_0x535964,_0x1eb940,_0x58d6bd,_0x354c0e,_0x5b9fcc),this[_0x2d0a03(0x563)]=_0x2312cd,this['type']=_0xfd72a2,this[_0x2d0a03(0x2b5)]=_0x7dfa4d,this['_docTransformIMECacheService']=_0x2880d0,this[_0x2d0a03(0x573)]=_0x5770eb,this[_0x2d0a03(0x31c)]=_0x4de042,this[_0x2d0a03(0x585)]=_0x5973a4;}[_0x357007(0x4f4)](){const _0x1c9c21=_0x357007,_0x4602b1=super[_0x1c9c21(0x4f4)]();return _0x4602b1[_0x1c9c21(0x22b)]=_0x4de61f=>this[_0x1c9c21(0xe1)][_0x1c9c21(0x440)](_0x4de61f),_0x4602b1[_0x1c9c21(0x421)]=_0x1c4184=>this[_0x1c9c21(0x573)][_0x1c9c21(0x13e)](_0x1c4184),_0x4602b1['onTransformSelections']=_0x6c07d8=>this['_docTransformSelectionsService']['transformSelections'](_0x6c07d8),_0x4602b1[_0x1c9c21(0x317)]=_0x1e0281=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x1e0281),_0x4602b1[_0x1c9c21(0x446)]=_0x1cd639=>this[_0x1c9c21(0xe1)]['transformRemoteChangeset'](_0x1cd639),_0x4602b1[_0x1c9c21(0x169)]=_0xb38650=>this[_0x1c9c21(0x573)][_0x1c9c21(0x1a1)](_0xb38650),_0x4602b1;}async['_init'](){const _0x4c69b6=_0x357007,_0x2bbcfd=await super[_0x4c69b6(0x47f)]();return this['_docStateChangeManagerService'][_0x4c69b6(0x261)]['pipe'](_0x44a02e[_0x4c69b6(0x138)](this[_0x4c69b6(0x43e)]))['subscribe'](_0x19acf4=>{const _0x11cc9b=_0x4c69b6;if(_0x19acf4==null)return;const {unitId:_0x1187d2,redoState:_0x3b169e,commandId:_0x194cbe}=_0x19acf4;if(_0x1187d2!==this[_0x11cc9b(0x563)])return;const _0x59c6d5={'id':_0x194cbe,'type':_0x457d20[_0x11cc9b(0x304)][_0x11cc9b(0x3da)],'params':{'unitId':_0x1187d2,'actions':_0x3b169e[_0x11cc9b(0xeb)],'textRanges':null}};this[_0x11cc9b(0x18b)](_0x59c6d5);}),_0x2bbcfd;}},_0x325eac[_0x357007(0x248)]=_0xd723ed([_0x2da585(0x3,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x467)])),_0x2da585(0x4,_0x457d20[_0x357007(0x2c4)](_0x325eac[_0x357007(0x4f9)])),_0x2da585(0x5,_0x457d20[_0x357007(0x2c4)](_0x4d26ac[_0x357007(0x3a2)])),_0x2da585(0x6,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x128)])),_0x2da585(0x7,_0x457d20[_0x357007(0x2c4)](_0x4d26ac[_0x357007(0x37c)])),_0x2da585(0x8,_0x457d20[_0x357007(0x2c4)](_0x1b8609['DocStateChangeManagerService'])),_0x2da585(0x9,_0x457d20[_0x357007(0x2c4)](_0xa432dd)),_0x2da585(0xa,_0x457d20[_0x357007(0x2c4)](_0xa6eb37)),_0x2da585(0xb,_0x457d20[_0x357007(0x2c4)](_0x3ef40a)),_0x2da585(0xc,_0x457d20[_0x357007(0x2c4)](_0x559ff9)),_0x2da585(0xd,_0x457d20['ILogService']),_0x2da585(0xe,_0x457d20[_0x357007(0x324)]),_0x2da585(0xf,_0x2b45ba['IMessageService']),_0x2da585(0x10,_0x457d20['IPermissionService']),_0x2da585(0x11,_0x457d20[_0x357007(0xe8)](_0x1731f5))],_0x325eac['DocCollaborationEntity']),_0x325eac['SheetCollaborationEntity']=class extends _0x325eac[_0x357007(0x5af)]{constructor(_0x2889c4,_0x3bcfbf,_0x213023,_0x7d2d81,_0x3f92b9,_0x20f10b,_0x129e2c,_0x592dec,_0x3d93f3,_0x53adf2,_0x4ff85f,_0x12ddde,_0x1e12b7,_0x43d692){const _0x515d6b=_0x357007;super(_0x2889c4,_0x213023,_0x3bcfbf,_0x7d2d81,_0x3f92b9,_0x20f10b,_0x129e2c,_0x592dec,_0x53adf2,_0x4ff85f,_0x12ddde,_0x1e12b7,_0x43d692),this['unitID']=_0x2889c4,this[_0x515d6b(0x486)]=_0x3bcfbf,this[_0x515d6b(0x193)]=_0x3d93f3;}['_createHandler'](){const _0x39caa5=_0x357007,_0x58d515=super['_createHandler']();return _0x58d515[_0x39caa5(0xf4)]=_0x50dbed=>this['_sheetTransformSelectionsService']['transformSelections'](_0x50dbed),_0x58d515;}async[_0x357007(0x47f)](){const _0x20b7d4=_0x357007,_0x47f0ec=await super[_0x20b7d4(0x47f)]();return this[_0x20b7d4(0x189)](this[_0x20b7d4(0x2a1)][_0x20b7d4(0x310)]((_0x413f55,_0x3f0f18)=>{const _0x16ae73=_0x20b7d4;if(_0x413f55[_0x16ae73(0x486)]!==_0x457d20[_0x16ae73(0x304)][_0x16ae73(0x3da)]||_0x3f0f18!=null&&_0x3f0f18[_0x16ae73(0x1ac)]||_0x3f0f18!=null&&_0x3f0f18['onlyLocal'])return;const _0x313b31=_0x413f55['params'];if((_0x313b31==null?void 0x0:_0x313b31[_0x16ae73(0x58b)])!==this[_0x16ae73(0x563)])return;const _0x4feb85=_0x413f55,_0x530fab=this['_compressMutationService'][_0x16ae73(0x413)][_0x16ae73(0x516)](this[_0x16ae73(0x180)][_0x16ae73(0x413)][_0x16ae73(0x217)]()[_0x16ae73(0x5ae)])([_0x4feb85],null)||[_0x4feb85];this[_0x16ae73(0x18b)](_0x530fab[0x0]);})),_0x47f0ec;}},_0x325eac['SheetCollaborationEntity']=_0xd723ed([_0x2da585(0x3,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x467)])),_0x2da585(0x4,_0x457d20['Inject'](_0x325eac[_0x357007(0x4f9)])),_0x2da585(0x5,_0x457d20[_0x357007(0x2c4)](_0x4d26ac['CompressMutationService'])),_0x2da585(0x6,_0x457d20[_0x357007(0x2c4)](_0x457d20['LocaleService'])),_0x2da585(0x7,_0x457d20[_0x357007(0x2c4)](_0x4d26ac[_0x357007(0x37c)])),_0x2da585(0x8,_0x457d20['Inject'](_0x201d4e)),_0x2da585(0x9,_0x457d20[_0x357007(0x54e)]),_0x2da585(0xa,_0x457d20['ICommandService']),_0x2da585(0xb,_0x2b45ba[_0x357007(0x3ba)]),_0x2da585(0xc,_0x457d20[_0x357007(0x42a)]),_0x2da585(0xd,_0x457d20['Optional'](_0x1731f5))],_0x325eac['SheetCollaborationEntity']);var _0x1cdc2a=Object[_0x357007(0x376)],_0x281ebf=Object[_0x357007(0x41b)],_0x180705=(_0x7b1a4c,_0x105b0f,_0x4f83d5,_0x907060)=>{const _0x53ec45=_0x357007;for(var _0x4ae14f=_0x907060>0x1?void 0x0:_0x907060?_0x281ebf(_0x105b0f,_0x4f83d5):_0x105b0f,_0x4cabd6=_0x7b1a4c[_0x53ec45(0x1b0)]-0x1,_0x441e00;_0x4cabd6>=0x0;_0x4cabd6--)(_0x441e00=_0x7b1a4c[_0x4cabd6])&&(_0x4ae14f=(_0x907060?_0x441e00(_0x105b0f,_0x4f83d5,_0x4ae14f):_0x441e00(_0x4ae14f))||_0x4ae14f);return _0x907060&&_0x4ae14f&&_0x1cdc2a(_0x105b0f,_0x4f83d5,_0x4ae14f),_0x4ae14f;},_0xb1ae99=(_0x2e066a,_0x23fa8e)=>(_0x4002a4,_0x3facd8)=>_0x23fa8e(_0x4002a4,_0x3facd8,_0x2e066a);_0x325eac['CollaborationController']=class extends _0x457d20[_0x357007(0xe7)]{constructor(_0x183cbf,_0x289a5a,_0x5ea1fb){const _0x560e72=_0x357007;super(),_0x184856(this,'_entities',new Map()),_0x184856(this,_0x560e72(0x46e),new _0x44a02e['Subject']()),(this[_0x560e72(0x593)]=_0x183cbf,this[_0x560e72(0x16b)]=_0x289a5a,this[_0x560e72(0x140)]=_0x5ea1fb,this[_0x560e72(0x47f)]());}[_0x357007(0x37a)](){const _0x24db13=_0x357007;super[_0x24db13(0x37a)](),this['_entities'][_0x24db13(0x274)](_0x3116e4=>_0x3116e4[_0x24db13(0x37a)]()),this[_0x24db13(0x4ae)]['clear']();}[_0x357007(0x13c)](_0xb28682){const _0x5f0c99=_0x357007;var _0x1f42ea;return(_0x1f42ea=this[_0x5f0c99(0x4ae)][_0x5f0c99(0x1b5)](_0xb28682))!=null?_0x1f42ea:null;}[_0x357007(0x1e7)](_0x7ee0ff){const _0x34d4d4=_0x357007,_0x259c4c=this[_0x34d4d4(0x13c)](_0x7ee0ff);return _0x259c4c?_0x44a02e['of'](_0x259c4c):this['_entityInit$'][_0x34d4d4(0x3f8)](_0x4c8197[_0x34d4d4(0x356)](_0x1f5913=>_0x1f5913['unitID']===_0x7ee0ff));}[_0x357007(0x47f)](){const _0x16b5f2=_0x357007;this[_0x16b5f2(0x140)]['getTypeOfUnitAdded$'](_0x457d20[_0x16b5f2(0x3f0)][_0x16b5f2(0x3b5)])[_0x16b5f2(0x3f8)](_0x44a02e[_0x16b5f2(0x138)](this[_0x16b5f2(0x43e)]),_0x4c8197[_0x16b5f2(0x1eb)](0x10))[_0x16b5f2(0x479)](async _0x27d1c9=>{const _0x5af997=_0x16b5f2,_0x48e9bb=_0x27d1c9[_0x5af997(0x4a5)](),_0x39514c=await this['_startCollaboration'](_0x48e9bb,_0x1c36ee[_0x5af997(0x3b5)]);this['_entities'][_0x5af997(0x40f)](_0x48e9bb,_0x39514c);}),this[_0x16b5f2(0x140)][_0x16b5f2(0x433)](_0x457d20[_0x16b5f2(0x3f0)][_0x16b5f2(0x210)])[_0x16b5f2(0x3f8)](_0x44a02e[_0x16b5f2(0x138)](this['dispose$']),_0x4c8197[_0x16b5f2(0x1eb)](0x10))[_0x16b5f2(0x3f8)](_0x4c8197[_0x16b5f2(0x356)](_0x5e4e65=>!_0x5e4e65[_0x16b5f2(0x4a5)]()[_0x16b5f2(0x3ae)]('__')))['subscribe'](async _0x3317d7=>{const _0xe24221=_0x16b5f2,_0x52abe1=_0x3317d7['getUnitId'](),_0x3f1ed5=await this[_0xe24221(0x393)](_0x52abe1,_0x1c36ee['UNIVER_DOC']);this[_0xe24221(0x4ae)][_0xe24221(0x40f)](_0x52abe1,_0x3f1ed5);}),_0x44a02e[_0x16b5f2(0x31f)](this[_0x16b5f2(0x140)][_0x16b5f2(0x416)](_0x457d20[_0x16b5f2(0x3f0)][_0x16b5f2(0x3b5)]),this[_0x16b5f2(0x140)][_0x16b5f2(0x416)](_0x457d20['UniverInstanceType'][_0x16b5f2(0x210)]))[_0x16b5f2(0x3f8)](_0x44a02e['takeUntil'](this[_0x16b5f2(0x43e)]))[_0x16b5f2(0x479)](_0xfb1f0b=>{const _0x3b0c79=_0x16b5f2,_0x382018=_0xfb1f0b['getUnitId'](),_0x4b1781=this[_0x3b0c79(0x4ae)]['get'](_0x382018);_0x4b1781&&(_0x4b1781[_0x3b0c79(0x37a)](),this['_entities'][_0x3b0c79(0x378)](_0x382018));});}async[_0x357007(0x393)](_0x4e7d3a,_0x396eb7){const _0x38eb9a=_0x357007,_0x47c225=await this[_0x38eb9a(0x16b)][_0x38eb9a(0x538)](_0x4e7d3a),_0x2af841=this['_injector'][_0x38eb9a(0xfd)](this[_0x38eb9a(0x2ed)](_0x396eb7),_0x4e7d3a,_0x396eb7,_0x47c225);return await _0x2af841[_0x38eb9a(0x192)](),this[_0x38eb9a(0x46e)][_0x38eb9a(0x4d3)](_0x2af841),_0x2af841;}['_getCtorByUniverType'](_0x3c9073){const _0x49a04e=_0x357007;switch(_0x3c9073){case _0x1c36ee[_0x49a04e(0x210)]:return _0x325eac[_0x49a04e(0x248)];case _0x1c36ee['UNIVER_SHEET']:return _0x325eac[_0x49a04e(0x510)];default:throw new Error(_0x49a04e(0x4cb)+_0x3c9073);}}},_0x325eac[_0x357007(0x339)]=_0x180705([_0xb1ae99(0x0,_0x457d20['Inject'](_0x457d20['Injector'])),_0xb1ae99(0x1,_0x457d20[_0x357007(0x2c4)](_0x325eac[_0x357007(0x30b)])),_0xb1ae99(0x2,_0x457d20[_0x357007(0x35e)])],_0x325eac[_0x357007(0x339)]);const _0x18dd08=[_0x357007(0x448),_0x357007(0x55d),_0x357007(0x4fd),_0x357007(0xf9),'blue400',_0x357007(0x4ba)];class _0x1cc170 extends _0x457d20[_0x357007(0x348)]{constructor(){const _0x4eb0d9=_0x357007;super(...arguments),_0x184856(this,_0x4eb0d9(0x3d2),new Map()),_0x184856(this,_0x4eb0d9(0x315),0x0);}[_0x357007(0x216)](_0x160903){const _0x310818=_0x357007;if(this[_0x310818(0x3d2)]['has'](_0x160903))return this['_assignedColors']['get'](_0x160903);const _0x1af755=_0x18dd08[this[_0x310818(0x315)]];return this[_0x310818(0x315)]=(this[_0x310818(0x315)]+0x1)%_0x18dd08[_0x310818(0x1b0)],this[_0x310818(0x3d2)]['set'](_0x160903,_0x1af755),_0x1af755;}}var _0xea39e1=Object[_0x357007(0x376)],_0x37e9b7=Object[_0x357007(0x41b)],_0x464ed4=(_0x265038,_0x402ec3,_0x5d43e9,_0x4377ca)=>{const _0x306cdb=_0x357007;for(var _0x2a63cb=_0x4377ca>0x1?void 0x0:_0x4377ca?_0x37e9b7(_0x402ec3,_0x5d43e9):_0x402ec3,_0x24e38f=_0x265038[_0x306cdb(0x1b0)]-0x1,_0xed9599;_0x24e38f>=0x0;_0x24e38f--)(_0xed9599=_0x265038[_0x24e38f])&&(_0x2a63cb=(_0x4377ca?_0xed9599(_0x402ec3,_0x5d43e9,_0x2a63cb):_0xed9599(_0x2a63cb))||_0x2a63cb);return _0x4377ca&&_0x2a63cb&&_0xea39e1(_0x402ec3,_0x5d43e9,_0x2a63cb),_0x2a63cb;},_0xf969a3=(_0x3542dd,_0x7a783b)=>(_0x23755a,_0xd56fab)=>_0x7a783b(_0x23755a,_0xd56fab,_0x3542dd);const _0x1a9e6c=0x12c,_0x317d7d=0x64;let _0x10937b=class extends _0x457d20[_0x357007(0xe7)]{constructor(_0x1ad190,_0x1e242d,_0x4b0819,_0x5f42a2,_0x4672e7,_0x4140e9,_0x1db198,_0x44a718,_0xb310c9){const _0x494467=_0x357007;super(),_0x184856(this,'_online',!0x1),_0x184856(this,_0x494467(0x47f),!0x1),_0x184856(this,'_cursorInfo$',new _0x44a02e[(_0x494467(0x387))](new Map())),_0x184856(this,_0x494467(0x442),this[_0x494467(0x384)][_0x494467(0x242)]()),_0x184856(this,_0x494467(0x3d5),new _0x44a02e[(_0x494467(0x387))]([])),_0x184856(this,'roomMembers$',this[_0x494467(0x3d5)][_0x494467(0x3f8)](_0x44a02e[_0x494467(0x199)](_0x1a9e6c))),_0x184856(this,_0x494467(0x2d1),_0x457d20[_0x494467(0x154)](_0xfed7b3=>{const _0x15e0ae=_0x494467,_0x115130={'eventID':_0x4d26ac[_0x15e0ae(0x2c2)][_0x15e0ae(0x14e)],'data':{'unitID':this[_0x15e0ae(0x563)],'memberID':this[_0x15e0ae(0x2db)][_0x15e0ae(0x14f)](),'selection':_0x320fbb(_0xfed7b3)}};this[_0x15e0ae(0x2db)]['send'](_0x115130,this['unitID']);},_0x317d7d)),(this['unitID']=_0x1ad190,this['_session']=_0x1e242d,this[_0x494467(0x593)]=_0x4b0819,this[_0x494467(0xfa)]=_0x5f42a2,this[_0x494467(0x3e1)]=_0x4672e7,this[_0x494467(0x508)]=_0x4140e9,this[_0x494467(0x2af)]=_0x1db198,this['_univerInstanceService']=_0x44a718,this['_commandService']=_0xb310c9);}get[_0x357007(0x175)](){const _0x43c479=_0x357007;return this[_0x43c479(0x384)][_0x43c479(0x511)]();}get['roomMembers'](){const _0x11ddd1=_0x357007;return this['_roomMembers$'][_0x11ddd1(0x511)]();}[_0x357007(0x37a)](){const _0xc31118=_0x357007;super[_0xc31118(0x37a)](),this[_0xc31118(0x384)][_0xc31118(0x4d3)](new Map()),this[_0xc31118(0x384)]['complete'](),this[_0xc31118(0x3d5)]['next']([]),this['_roomMembers$'][_0xc31118(0x2ea)]();}['init'](){const _0x2f0f5e=_0x357007;this['_init']||(this[_0x2f0f5e(0x47f)]=!0x0,this[_0x2f0f5e(0x2db)][_0x2f0f5e(0x40d)][_0x2f0f5e(0x3f8)](_0x44a02e[_0x2f0f5e(0x138)](this['dispose$']))[_0x2f0f5e(0x479)](_0x5905ff=>{const _0x1f807e=_0x2f0f5e;_0x5905ff===_0x4b3a9d[_0x1f807e(0x447)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session']['event$'][_0x2f0f5e(0x3f8)](_0x44a02e[_0x2f0f5e(0x138)](this[_0x2f0f5e(0x43e)]))[_0x2f0f5e(0x479)](_0xb7cb4a=>{const _0x3aa595=_0x2f0f5e,_0x3e8d72=_0xb7cb4a['eventID'];_0x3e8d72===_0x4d26ac[_0x3aa595(0x2c2)][_0x3aa595(0x14e)]&&this['_onCursorUpdate'](_0xb7cb4a),_0x3e8d72===_0x4d26ac[_0x3aa595(0x2c2)]['USERS_LEAVE']&&this[_0x3aa595(0x4e0)](_0xb7cb4a);}),this[_0x2f0f5e(0x189)](this['_commandService'][_0x2f0f5e(0x310)](_0x35cd61=>{const _0x9016b=_0x2f0f5e,_0x418fb8=_0x35cd61[_0x9016b(0x53a)];_0x418fb8!=null&&this[_0x9016b(0x3d0)]&&_0x35cd61['id']===_0x279b33[_0x9016b(0x226)]['id']&&_0x418fb8[_0x9016b(0x58b)]===this[_0x9016b(0x563)]&&_0x418fb8[_0x9016b(0x3c5)]===!0x1&&_0x418fb8[_0x9016b(0x4e7)]['length']>0x0&&this[_0x9016b(0x2d1)](_0x418fb8[_0x9016b(0x4e7)]);})),this['_syncEditingCollabCursorService'][_0x2f0f5e(0x2d9)]['pipe'](_0x44a02e['takeUntil'](this[_0x2f0f5e(0x43e)]))[_0x2f0f5e(0x479)](_0x529c34=>{const _0x595f64=_0x2f0f5e;if((_0x529c34==null?void 0x0:_0x529c34[_0x595f64(0x563)])!==this[_0x595f64(0x563)])return;const _0x4db870={'eventID':_0x4d26ac[_0x595f64(0x2c2)][_0x595f64(0x14e)],'data':_0x529c34};this[_0x595f64(0x28d)](_0x4db870);}),this[_0x2f0f5e(0x189)](this[_0x2f0f5e(0x2a1)][_0x2f0f5e(0x310)](_0x663de2=>{const _0x46ffd8=_0x2f0f5e;if(_0x663de2['params']==null)return;const _0x12e049=_0x663de2['params'];if(_0x663de2['id']!==_0x279b33[_0x46ffd8(0x347)]['id']||_0x12e049[_0x46ffd8(0x58b)]!==this[_0x46ffd8(0x563)])return;const _0x456183={'id':_0x46ffd8(0x50f),'params':_0x12e049},_0x24481b=this[_0x46ffd8(0x175)];for(const [_0x4f505a,_0x28f87f]of _0x24481b){const _0x1b888c={'id':_0x46ffd8(0x50f),'params':{'unitId':this[_0x46ffd8(0x563)],'actions':null,'textRanges':_0x28f87f[_0x46ffd8(0x4e7)]}},_0x3a0b6f=this[_0x46ffd8(0x2af)][_0x46ffd8(0x3fe)](_0x456183,_0x1b888c,!0x1);if(_0x4d26ac['isTransformMutationFailure'](_0x3a0b6f))throw _0x3a0b6f[_0x46ffd8(0x519)];_0x24481b['set'](_0x4f505a,{..._0x28f87f,'ranges':_0x3a0b6f[_0x46ffd8(0x472)][_0x46ffd8(0x53a)][_0x46ffd8(0xf2)]});}queueMicrotask(()=>{const _0x5e28d1=_0x46ffd8;this[_0x5e28d1(0x384)]['next'](_0x24481b);});})));}[_0x357007(0x28d)](_0x267c04){const _0x57b436=_0x357007;var _0x37622e,_0x4a6c3a;const {memberID:_0x49a045,selection:_0x53443a}=_0x267c04['data'],_0x3576ab=_0x33a6e9(_0x53443a),_0x307b34=(_0x4a6c3a=(_0x37622e=this[_0x57b436(0x3e1)][_0x57b436(0x1c1)](this[_0x57b436(0x563)],_0x49a045))==null?void 0x0:_0x37622e[_0x57b436(0x28e)])!=null?_0x4a6c3a:_0x57b436(0x2bf),_0x32af6a={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x49a045),'name':_0x307b34,'ranges':_0x3576ab},_0x17defd=this[_0x57b436(0x175)];_0x17defd['set'](_0x49a045,_0x32af6a),this['_cursorInfo$'][_0x57b436(0x4d3)](_0x17defd);}[_0x357007(0x4e0)](_0x4ca7c0){const _0x5d08e9=_0x357007,{memberID:_0x418e56}=_0x4ca7c0['data'],_0x498525=this[_0x5d08e9(0x175)];_0x498525[_0x5d08e9(0x378)](_0x418e56),this[_0x5d08e9(0x384)][_0x5d08e9(0x4d3)](_0x498525);}[_0x357007(0x2cb)](){const _0x6f7809=_0x357007;var _0x352614;if(this[_0x6f7809(0x3d0)]=!0x0,((_0x352614=this[_0x6f7809(0x140)][_0x6f7809(0x236)]())==null?void 0x0:_0x352614[_0x6f7809(0x4a5)]())!==this[_0x6f7809(0x563)])return;const _0x5402e4=this[_0x6f7809(0x593)][_0x6f7809(0x1b5)](_0x279b33[_0x6f7809(0x1c8)])[_0x6f7809(0x3cd)]();Array[_0x6f7809(0x139)](_0x5402e4)&&_0x5402e4[_0x6f7809(0x1b0)]>0x0&&this[_0x6f7809(0x2d1)](_0x5402e4);}[_0x357007(0x49d)](){this['_online']=!0x1;}};_0x10937b=_0x464ed4([_0xf969a3(0x2,_0x457d20[_0x357007(0x2c4)](_0x457d20['Injector'])),_0xf969a3(0x3,_0x457d20[_0x357007(0x2c4)](_0x1cc170)),_0xf969a3(0x4,_0x457d20[_0x357007(0x2c4)](_0x325eac[_0x357007(0x2fa)])),_0xf969a3(0x5,_0x457d20[_0x357007(0x2c4)](_0x559ff9)),_0xf969a3(0x6,_0x4d26ac['ITransformService']),_0xf969a3(0x7,_0x457d20['IUniverInstanceService']),_0xf969a3(0x8,_0x457d20[_0x357007(0x324)])],_0x10937b);var _0x4dcd38=Object['defineProperty'],_0x49626a=Object[_0x357007(0x41b)],_0x4bbbaa=(_0x415272,_0xd664d5,_0xca2bde,_0x3d704f)=>{const _0x4851e9=_0x357007;for(var _0x25e0ba=_0x3d704f>0x1?void 0x0:_0x3d704f?_0x49626a(_0xd664d5,_0xca2bde):_0xd664d5,_0x49744e=_0x415272[_0x4851e9(0x1b0)]-0x1,_0x27335f;_0x49744e>=0x0;_0x49744e--)(_0x27335f=_0x415272[_0x49744e])&&(_0x25e0ba=(_0x3d704f?_0x27335f(_0xd664d5,_0xca2bde,_0x25e0ba):_0x27335f(_0x25e0ba))||_0x25e0ba);return _0x3d704f&&_0x25e0ba&&_0x4dcd38(_0xd664d5,_0xca2bde,_0x25e0ba),_0x25e0ba;},_0x58e2ea=(_0x4f40e0,_0x2b4f2d)=>(_0x41511c,_0x59d481)=>_0x2b4f2d(_0x41511c,_0x59d481,_0x4f40e0);const _0x2d322e=0x12c,_0x592a43=0x64,_0x4b283f=()=>{let _0x1ff3a4=[],_0x2aeb56=!0x1;return _0x5e34d6=>{const _0x12a61d=_0xbbea;_0x1ff3a4[_0x12a61d(0x39d)](_0x5e34d6),_0x2aeb56||(_0x2aeb56=!0x0,setTimeout(()=>{const _0x268f96=_0x12a61d;_0x1ff3a4[_0x268f96(0x274)](_0x413046=>_0x413046()),_0x1ff3a4=[],_0x2aeb56=!0x1;}));};};let _0x3cdf0e=class extends _0x457d20[_0x357007(0xe7)]{constructor(_0x614982,_0x52b66b,_0x10d08c,_0xeb2d01,_0x1e5a64,_0xe71abc,_0x4407f1,_0x5e6016){const _0xf92921=_0x357007;super(),_0x184856(this,'_online',!0x1),_0x184856(this,_0xf92921(0x47f),!0x1),_0x184856(this,_0xf92921(0x384),new _0x44a02e[(_0xf92921(0x387))](new Map())),_0x184856(this,'cursorInfo$',this[_0xf92921(0x384)][_0xf92921(0x242)]()),_0x184856(this,_0xf92921(0x3d5),new _0x44a02e[(_0xf92921(0x387))]([])),_0x184856(this,_0xf92921(0x3d7),this[_0xf92921(0x3d5)][_0xf92921(0x3f8)](_0x44a02e['debounceTime'](_0x2d322e))),_0x184856(this,_0xf92921(0x2d1),_0x457d20[_0xf92921(0x154)]((_0x877a17,_0x585550)=>{const _0x723a17=_0xf92921,_0x5e40f8={'eventID':_0x4d26ac['CollaborationEvent'][_0x723a17(0x14e)],'data':{'unitID':this['unitID'],'memberID':this[_0x723a17(0x2db)]['getMemberID'](),'selection':_0x4e8c55[_0x723a17(0x591)](_0x877a17,_0x585550['range'])}};this['_session'][_0x723a17(0x434)](_0x5e40f8,this[_0x723a17(0x563)]);},_0x592a43)),(this[_0xf92921(0x563)]=_0x614982,this[_0xf92921(0x2db)]=_0x52b66b,this[_0xf92921(0x593)]=_0x10d08c,this[_0xf92921(0xfa)]=_0xeb2d01,this['_memberService']=_0x1e5a64,this['_univerInstanceService']=_0xe71abc,this[_0xf92921(0x2a1)]=_0x4407f1,this[_0xf92921(0x58a)]=_0x5e6016);}get[_0x357007(0x175)](){const _0xb893fe=_0x357007;return this[_0xb893fe(0x384)]['getValue']();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x357007(0x37a)](){const _0x383f83=_0x357007;super['dispose'](),this[_0x383f83(0x384)][_0x383f83(0x4d3)](new Map()),this[_0x383f83(0x384)][_0x383f83(0x2ea)](),this['_roomMembers$'][_0x383f83(0x4d3)]([]),this[_0x383f83(0x3d5)][_0x383f83(0x2ea)]();}[_0x357007(0x192)](){const _0x481ac3=_0x357007;this['_init']||(this['_init']=!0x0,this[_0x481ac3(0x2db)][_0x481ac3(0x40d)][_0x481ac3(0x3f8)](_0x44a02e[_0x481ac3(0x138)](this['dispose$']))[_0x481ac3(0x479)](_0x241f0e=>{const _0x4de78f=_0x481ac3;_0x241f0e===_0x4b3a9d[_0x4de78f(0x447)]?this[_0x4de78f(0x2cb)]():this[_0x4de78f(0x49d)]();}),this['_session'][_0x481ac3(0x2f9)]['pipe'](_0x44a02e[_0x481ac3(0x138)](this[_0x481ac3(0x43e)]))[_0x481ac3(0x479)](_0xd8df58=>{const _0x296d1f=_0x481ac3,_0x213ffa=_0xd8df58[_0x296d1f(0x5a6)];_0x213ffa===_0x4d26ac['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0xd8df58),_0x213ffa===_0x4d26ac[_0x296d1f(0x2c2)][_0x296d1f(0x1d1)]&&this[_0x296d1f(0x4e0)](_0xd8df58);}),this[_0x481ac3(0x129)](),this['disposeWithMe'](this[_0x481ac3(0x2a1)][_0x481ac3(0x310)](_0x20f6fa=>{const _0xef9b56=_0x481ac3;if(this[_0xef9b56(0x3d0)]&&_0x20f6fa['id']===_0x91efb2[_0xef9b56(0x437)]['id']&&_0x20f6fa[_0xef9b56(0x53a)][_0xef9b56(0x58b)]===this[_0xef9b56(0x563)]){const _0x3ce5c2=_0x20f6fa['params'];this[_0xef9b56(0x2d1)](_0x3ce5c2[_0xef9b56(0x13d)],_0x3ce5c2['selections'][0x0]);}})));}[_0x357007(0x28d)](_0x2d1224){const _0x4360ad=_0x357007;var _0xbcc6a9,_0x3551ab;const {memberID:_0x5b7764,selection:_0xb4d3d3}=_0x2d1224[_0x4360ad(0x24e)],{sheetName:_0x31b2b7,range:_0x5a3040}=_0x4e8c55['deserializeRangeWithSheet'](_0xb4d3d3),_0x3e2e4d={'name':(_0x3551ab=(_0xbcc6a9=this['_memberService'][_0x4360ad(0x1c1)](this['unitID'],_0x5b7764))==null?void 0x0:_0xbcc6a9[_0x4360ad(0x28e)])!=null?_0x3551ab:'Unknown\x20user','range':this[_0x4360ad(0x32d)](_0x31b2b7,_0x5a3040),'sheetID':_0x31b2b7,'color':this[_0x4360ad(0xfa)][_0x4360ad(0x216)](_0x5b7764),'selection':_0xb4d3d3},_0x32b23f=this[_0x4360ad(0x175)];_0x32b23f[_0x4360ad(0x40f)](_0x5b7764,_0x3e2e4d),this[_0x4360ad(0x384)][_0x4360ad(0x4d3)](_0x32b23f);}['_onCursorDelete'](_0x51bbcd){const _0x4ba60e=_0x357007,{memberID:_0x304697}=_0x51bbcd['data'],_0xa33511=this[_0x4ba60e(0x175)];_0xa33511['delete'](_0x304697),this[_0x4ba60e(0x384)][_0x4ba60e(0x4d3)](_0xa33511);}['_getMergeRange'](_0x5f11e1,_0x4d8f77){const _0x5ea24b=_0x357007;var _0x1b5c6a,_0x2b9dfb;const _0x366ae1=(_0x2b9dfb=(_0x1b5c6a=this[_0x5ea24b(0x140)][_0x5ea24b(0x147)](this[_0x5ea24b(0x563)]))==null?void 0x0:_0x1b5c6a[_0x5ea24b(0x203)](_0x5f11e1))==null?void 0x0:_0x2b9dfb[_0x5ea24b(0x1b7)]();return(_0x366ae1==null?void 0x0:_0x366ae1[_0x5ea24b(0x239)](_0x2c3df2=>_0x457d20['Rectangle'][_0x5ea24b(0x4d6)](_0x2c3df2,_0x4d8f77)))||_0x4d8f77;}[_0x357007(0x129)](){const _0x2264bf=_0x357007,_0x3d8607=new _0x457d20[(_0x2264bf(0x57e))](),_0x37e5e9=_0x4b283f(),_0x1112a1=()=>{const _0x3d0f37=_0x2264bf;_0x3d8607[_0x3d0f37(0x37a)]();const _0x189a3c=(_0x25d201,_0x1bf06f,_0x368a1a,_0x4bee52)=>{const _0xc35690=_0x3d0f37;let _0x39d6d2=[];switch(_0x25d201['id']){case _0x91efb2[_0xc35690(0x2f8)][_0xc35690(0x36e)]:{_0x39d6d2=_0x91efb2[_0xc35690(0xe5)](_0x25d201,_0x4bee52);break;}case _0x91efb2[_0xc35690(0x2f8)][_0xc35690(0x411)]:{_0x39d6d2=_0x91efb2['handleDeleteRangeMoveUp'](_0x25d201,_0x4bee52);break;}case _0x91efb2[_0xc35690(0x2f8)][_0xc35690(0x19e)]:{_0x39d6d2=_0x91efb2[_0xc35690(0x10a)](_0x25d201,_0x4bee52);break;}case _0x91efb2[_0xc35690(0x2f8)][_0xc35690(0x215)]:{_0x39d6d2=_0x91efb2[_0xc35690(0x3eb)](_0x25d201,_0x4bee52);break;}case _0x91efb2[_0xc35690(0x2f8)][_0xc35690(0x288)]:{_0x39d6d2=_0x91efb2['handleInsertRangeMoveRight'](_0x25d201,_0x4bee52);break;}case _0x91efb2[_0xc35690(0x2f8)]['InsertRowCommandId']:{_0x39d6d2=_0x91efb2['handleInsertRow'](_0x25d201,_0x4bee52);break;}case _0x91efb2[_0xc35690(0x2f8)][_0xc35690(0x4f0)]:{_0x39d6d2=_0x91efb2[_0xc35690(0x26f)](_0x25d201,_0x4bee52);break;}case _0x91efb2[_0xc35690(0x2f8)][_0xc35690(0x40b)]:{_0x39d6d2=_0x91efb2[_0xc35690(0x577)](_0x25d201,_0x4bee52);break;}case _0x91efb2[_0xc35690(0x2f8)][_0xc35690(0x127)]:{_0x39d6d2=_0x91efb2[_0xc35690(0x3a7)](_0x25d201,_0x4bee52);break;}}const _0x52c4ce=_0x91efb2['runRefRangeMutations'](_0x39d6d2,_0x4bee52),_0x5bd88c=this[_0xc35690(0x175)][_0xc35690(0x1b5)](_0x1bf06f);if(_0x5bd88c&&_0x52c4ce){const _0x1ad09e={..._0x5bd88c,'range':_0x52c4ce};this[_0xc35690(0x175)][_0xc35690(0x40f)](_0x1bf06f,_0x1ad09e),_0x37e5e9(()=>{const _0x35abec=_0xc35690,_0xe77d0c=this['_refRangeService'][_0x35abec(0x346)](_0x52c4ce,_0x22bc6a=>(_0xe77d0c[_0x35abec(0x37a)](),_0x189a3c(_0x22bc6a,_0x1bf06f,_0x368a1a,_0x52c4ce)));_0x3d8607[_0x35abec(0x552)](_0xe77d0c);});}return{'redos':[],'undos':[]};};this[_0x3d0f37(0x175)]['forEach']((_0x4c06cb,_0x5ef368)=>{const _0x936468=_0x3d0f37,{range:_0x5d99c2,sheetID:_0x49030e}=_0x4c06cb,_0x53f011=this[_0x936468(0x58a)][_0x936468(0x346)](_0x5d99c2,_0x4da4a2=>(_0x53f011[_0x936468(0x37a)](),_0x189a3c(_0x4da4a2,_0x5ef368,_0x49030e,_0x5d99c2)));_0x3d8607[_0x936468(0x552)](_0x53f011);});};this[_0x2264bf(0x189)](_0x457d20[_0x2264bf(0x41d)](this['_cursorInfo$']['subscribe'](()=>{_0x1112a1();})));}[_0x357007(0x2cb)](){const _0x535789=_0x357007;var _0x2d17e1,_0x464a4d;if(this[_0x535789(0x3d0)]=!0x0,((_0x2d17e1=this[_0x535789(0x140)][_0x535789(0x236)]())==null?void 0x0:_0x2d17e1[_0x535789(0x4a5)]())!==this[_0x535789(0x563)])return;const _0x4b1b79=(_0x464a4d=this[_0x535789(0x593)]['get'](_0x91efb2[_0x535789(0x3d4)])['getCurrentSelections']())==null?void 0x0:_0x464a4d[0x0],_0x91bf1a=this[_0x535789(0x140)][_0x535789(0x578)](_0x457d20['UniverInstanceType'][_0x535789(0x3b5)])[_0x535789(0x4a1)]();_0x4b1b79&&_0x91bf1a&&this[_0x535789(0x2d1)](_0x91bf1a[_0x535789(0x507)](),_0x4b1b79);}[_0x357007(0x49d)](){const _0x906921=_0x357007;this[_0x906921(0x3d0)]=!0x1;}};_0x3cdf0e=_0x4bbbaa([_0x58e2ea(0x2,_0x457d20['Inject'](_0x457d20['Injector'])),_0x58e2ea(0x3,_0x457d20[_0x357007(0x2c4)](_0x1cc170)),_0x58e2ea(0x4,_0x457d20[_0x357007(0x2c4)](_0x325eac[_0x357007(0x2fa)])),_0x58e2ea(0x5,_0x457d20['IUniverInstanceService']),_0x58e2ea(0x6,_0x457d20['ICommandService']),_0x58e2ea(0x7,_0x457d20[_0x357007(0x2c4)](_0x91efb2['RefRangeService']))],_0x3cdf0e);var _0x22263d=Object['defineProperty'],_0x4d7285=Object[_0x357007(0x41b)],_0x58c270=(_0x13c7d8,_0x4b27dd,_0x1d5d79,_0x899e8d)=>{const _0xc070bf=_0x357007;for(var _0x42a97b=_0x899e8d>0x1?void 0x0:_0x899e8d?_0x4d7285(_0x4b27dd,_0x1d5d79):_0x4b27dd,_0xdd6ccb=_0x13c7d8[_0xc070bf(0x1b0)]-0x1,_0x3b1527;_0xdd6ccb>=0x0;_0xdd6ccb--)(_0x3b1527=_0x13c7d8[_0xdd6ccb])&&(_0x42a97b=(_0x899e8d?_0x3b1527(_0x4b27dd,_0x1d5d79,_0x42a97b):_0x3b1527(_0x42a97b))||_0x42a97b);return _0x899e8d&&_0x42a97b&&_0x22263d(_0x4b27dd,_0x1d5d79,_0x42a97b),_0x42a97b;},_0x437550=(_0x25bc57,_0x1ff64c)=>(_0xaf9f57,_0x2fd1da)=>_0x1ff64c(_0xaf9f57,_0x2fd1da,_0x25bc57);let _0x5f50ea=class extends _0x457d20[_0x357007(0xe7)]{constructor(_0x2f2aed,_0x18112b,_0x540900){const _0x48b4fd=_0x357007;super(),_0x184856(this,_0x48b4fd(0x4ae),new Map()),_0x184856(this,'_entityInit$',new _0x44a02e['Subject']()),(this[_0x48b4fd(0x140)]=_0x2f2aed,this[_0x48b4fd(0x593)]=_0x18112b,this[_0x48b4fd(0x16b)]=_0x540900,this[_0x48b4fd(0x47f)]());}[_0x357007(0x37a)](){const _0x49cd70=_0x357007;super[_0x49cd70(0x37a)](),this[_0x49cd70(0x46e)][_0x49cd70(0x2ea)](),this['_entities']['forEach'](_0x306a3f=>_0x306a3f[_0x49cd70(0x37a)]());}[_0x357007(0x55f)](_0x299c16){const _0x45069d=_0x357007;return this[_0x45069d(0x4ae)][_0x45069d(0xf8)](_0x299c16)?this[_0x45069d(0x4ae)]['get'](_0x299c16)[_0x45069d(0x442)]:this[_0x45069d(0x46e)]['pipe'](_0x44a02e[_0x45069d(0x356)](_0x187506=>_0x187506['unitID']===_0x299c16),_0x44a02e[_0x45069d(0x41a)](_0x15e92b=>_0x15e92b[_0x45069d(0x442)]));}[_0x357007(0x47f)](){const _0xf6049a=_0x357007;this['_univerInstanceService'][_0xf6049a(0x433)](_0x457d20['UniverInstanceType']['UNIVER_SHEET'])[_0xf6049a(0x3f8)](_0x44a02e[_0xf6049a(0x138)](this[_0xf6049a(0x43e)]))['subscribe'](async _0x3749dc=>{const _0x103dae=_0xf6049a,_0x4855b3=_0x3749dc[_0x103dae(0x4a5)](),_0x8fd2ca=await this[_0x103dae(0x34f)](_0x4855b3);this[_0x103dae(0x46e)]['next'](_0x8fd2ca),this[_0x103dae(0x4ae)][_0x103dae(0x40f)](_0x4855b3,_0x8fd2ca);}),this[_0xf6049a(0x140)][_0xf6049a(0x433)](_0x457d20['UniverInstanceType'][_0xf6049a(0x210)])['pipe'](_0x44a02e[_0xf6049a(0x138)](this[_0xf6049a(0x43e)]))[_0xf6049a(0x3f8)](_0x44a02e['filter'](_0x1c97d8=>!_0x1c97d8['getUnitId']()[_0xf6049a(0x3ae)]('__')))[_0xf6049a(0x479)](async _0x16c77d=>{const _0x1ce968=_0xf6049a,_0xbb85e=_0x16c77d[_0x1ce968(0x4a5)](),_0x1f1b5f=await this[_0x1ce968(0x320)](_0xbb85e);this[_0x1ce968(0x46e)][_0x1ce968(0x4d3)](_0x1f1b5f),this[_0x1ce968(0x4ae)][_0x1ce968(0x40f)](_0xbb85e,_0x1f1b5f);}),_0x44a02e[_0xf6049a(0x31f)](this[_0xf6049a(0x140)][_0xf6049a(0x416)](_0x457d20[_0xf6049a(0x3f0)][_0xf6049a(0x210)]),this[_0xf6049a(0x140)][_0xf6049a(0x416)](_0x457d20[_0xf6049a(0x3f0)]['UNIVER_SHEET']))[_0xf6049a(0x3f8)](_0x44a02e[_0xf6049a(0x138)](this['dispose$']))[_0xf6049a(0x479)](_0x5d1692=>{const _0x5b4cb4=_0xf6049a,_0x448711=_0x5d1692[_0x5b4cb4(0x4a5)](),_0x50425d=this['_entities'][_0x5b4cb4(0x1b5)](_0x448711);_0x50425d&&(_0x50425d[_0x5b4cb4(0x37a)](),this[_0x5b4cb4(0x4ae)][_0x5b4cb4(0x378)](_0x448711));});}async[_0x357007(0x34f)](_0x168eb6){const _0x5a5bb4=_0x357007,_0x49ce18=await this[_0x5a5bb4(0x16b)][_0x5a5bb4(0x538)](_0x168eb6),_0x5101c5=this[_0x5a5bb4(0x593)][_0x5a5bb4(0xfd)](_0x3cdf0e,_0x168eb6,_0x49ce18);return _0x5101c5[_0x5a5bb4(0x192)](),_0x5101c5;}async[_0x357007(0x320)](_0xbb4f9){const _0x481cd8=_0x357007,_0xad9299=await this[_0x481cd8(0x16b)]['requireSession'](_0xbb4f9),_0x59c2e8=this[_0x481cd8(0x593)][_0x481cd8(0xfd)](_0x10937b,_0xbb4f9,_0xad9299);return _0x59c2e8[_0x481cd8(0x192)](),_0x59c2e8;}};_0x5f50ea=_0x58c270([_0x437550(0x0,_0x457d20['IUniverInstanceService']),_0x437550(0x1,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x467)])),_0x437550(0x2,_0x457d20[_0x357007(0x2c4)](_0x325eac[_0x357007(0x30b)]))],_0x5f50ea);const _0x578593=0x14,_0x527bc2=0xc8,_0x3ea30a=0x4,_0x5cc072=0x5;function _0x265828(_0x3b39bf,_0x3b1b42){const _0x2dbcb4=_0x357007;let {radius:_0x16fc8b,width:_0x304133,height:_0x490de9}=_0x3b1b42;_0x16fc8b=_0x16fc8b!=null?_0x16fc8b:0x0,_0x304133=_0x304133!=null?_0x304133:0x1e,_0x490de9=_0x490de9!=null?_0x490de9:0x1e;let _0x34e556=0x0,_0x1683f3=0x0,_0x15f6b7=0x0;_0x34e556=_0x1683f3=_0x15f6b7=Math[_0x2dbcb4(0x51f)](_0x16fc8b,_0x304133/0x2,_0x490de9/0x2),_0x3b39bf[_0x2dbcb4(0x556)](),_0x3b39bf[_0x2dbcb4(0x4a4)](_0x34e556,0x0),_0x3b39bf[_0x2dbcb4(0x2d3)](_0x304133-_0x1683f3,0x0),_0x3b39bf[_0x2dbcb4(0x307)](_0x304133-_0x1683f3,_0x1683f3,_0x1683f3,Math['PI']*0x3/0x2,0x0,!0x1),_0x3b39bf[_0x2dbcb4(0x2d3)](_0x304133,_0x490de9-_0x15f6b7),_0x3b39bf['arc'](_0x304133-_0x15f6b7,_0x490de9-_0x15f6b7,_0x15f6b7,0x0,Math['PI']/0x2,!0x1),_0x3b39bf[_0x2dbcb4(0x2d3)](0x0,_0x490de9),_0x3b39bf[_0x2dbcb4(0x2d3)](0x0,_0x34e556),_0x3b39bf[_0x2dbcb4(0x307)](_0x34e556,_0x34e556,_0x34e556,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3b39bf[_0x2dbcb4(0x428)](),_0x3b1b42[_0x2dbcb4(0x321)]&&(_0x3b39bf['save'](),_0x3b39bf[_0x2dbcb4(0x4bd)]=_0x3b1b42[_0x2dbcb4(0x321)],_0x3b1b42[_0x2dbcb4(0x48e)]==='evenodd'?_0x3b39bf[_0x2dbcb4(0x321)](_0x2dbcb4(0x57d)):_0x3b39bf[_0x2dbcb4(0x321)](),_0x3b39bf[_0x2dbcb4(0xf0)]());}class _0x268e9f extends _0x5c58b0[_0x357007(0x2ce)]{constructor(_0x2f3382,_0x3e6afa){const _0x120c5c=_0x357007;super(_0x2f3382,_0x3e6afa),_0x184856(this,_0x120c5c(0x4f3)),_0x184856(this,_0x120c5c(0x13f)),(this['color']=_0x3e6afa==null?void 0x0:_0x3e6afa[_0x120c5c(0x4f3)],this[_0x120c5c(0x13f)]=_0x3e6afa==null?void 0x0:_0x3e6afa[_0x120c5c(0x13f)]);}static['drawWith'](_0x525ce4,_0xdab784){const _0xe69bc5=_0x357007,{text:_0x4a6a69,color:_0x33832d}=_0xdab784;_0x525ce4[_0xe69bc5(0x16e)](),_0x525ce4[_0xe69bc5(0x423)]=_0xe69bc5(0x39b);const _0x2b63b9=_0x525ce4[_0xe69bc5(0x30c)](_0x4a6a69)[_0xe69bc5(0x3de)],_0x6a3342=Math[_0xe69bc5(0x51f)](_0x2b63b9+0x2*_0x3ea30a,_0x527bc2);_0x265828(_0x525ce4,{'height':_0x578593,'radius':0x4,'width':_0x6a3342,'fill':_0x33832d,'evented':!0x1}),_0x525ce4[_0xe69bc5(0x4bd)]=_0xe69bc5(0x54d);const _0x1c9c70=_0x3ea30a,_0x4a97af=_0x578593-_0x5cc072,_0xd7c830=_0x527bc2-0x2*_0x3ea30a;if(_0x2b63b9>_0xd7c830){let _0x351793='',_0x2b8796=0x0;for(const _0x29f4ce of _0x4a6a69){const _0xe78828=_0x525ce4[_0xe69bc5(0x30c)](_0x29f4ce)['width'];if(_0x2b8796+_0xe78828<=_0xd7c830-_0x525ce4[_0xe69bc5(0x30c)](_0xe69bc5(0x11b))[_0xe69bc5(0x3de)])_0x351793+=_0x29f4ce,_0x2b8796+=_0xe78828;else{_0x351793+=_0xe69bc5(0x11b);break;}}_0x525ce4[_0xe69bc5(0x594)](_0x351793,_0x1c9c70,_0x4a97af);}else _0x525ce4[_0xe69bc5(0x594)](_0x4a6a69,_0x1c9c70,_0x4a97af);_0x525ce4[_0xe69bc5(0xf0)]();}['_draw'](_0x8fd590){_0x268e9f['drawWith'](_0x8fd590,this);}}const _0x11a99c=_0x357007(0x211),_0x55fbe5='collab-text-range-',_0xa9ae84='collab-rect-range-',_0x750513=0x6,_0x1bf217=1.5,_0x2ec277=0x4,_0x2a108c=1.5,_0x577a87=_0x357007(0x460);class _0x29f638{constructor(_0x182b99,_0x4ef201,_0xbed13a,_0x444af7){const _0x120ad4=_0x357007;_0x184856(this,'_shapes',[]),_0x184856(this,'_anchor',null),_0x184856(this,_0x120ad4(0x1da),null),_0x184856(this,_0x120ad4(0x34a),null),_0x184856(this,_0x120ad4(0x2b2),null),_0x184856(this,_0x120ad4(0x361),null),(this['_cursor']=_0x182b99,this[_0x120ad4(0x408)]=_0x4ef201,this[_0x120ad4(0x454)]=_0xbed13a,this[_0x120ad4(0x1a0)]=_0x444af7,this[_0x120ad4(0x268)]());}set[_0x357007(0x444)](_0x2386a6){const _0xa48c6f=_0x357007;_0x2386a6?(this[_0xa48c6f(0x34a)]&&this[_0xa48c6f(0x34a)][_0xa48c6f(0x438)](),this[_0xa48c6f(0x1da)]&&this[_0xa48c6f(0x1da)][_0xa48c6f(0x3a5)]()):(this['_anchorDot']&&this[_0xa48c6f(0x34a)]['show'](),this[_0xa48c6f(0x1da)]&&this[_0xa48c6f(0x1da)][_0xa48c6f(0x438)]());}['dispose'](){const _0x23c28e=_0x357007;for(const _0x2aed0f of this[_0x23c28e(0x350)])_0x2aed0f[_0x23c28e(0x37a)]();this['_textBubble']&&this['_textBubble']['dispose'](),this['_anchorDot']&&this[_0x23c28e(0x34a)]['dispose'](),this[_0x23c28e(0x49a)]&&this[_0x23c28e(0x49a)]['dispose'](),this[_0x23c28e(0x361)]&&this['_eventUnsubscribe']();}[_0x357007(0x268)](){const _0x2fee58=_0x357007;var _0x34c000;const {_docSkeleton:_0x4b3faf,_document:_0x28d899}=this,{color:_0x5d7b1a,name:_0x374683,ranges:_0x268cd1}=this[_0x2fee58(0x42d)],_0x271205=_0x28d899[_0x2fee58(0x11a)](),{docsLeft:_0x56ff32,docsTop:_0x4e8914}=_0x271205,_0x1e57de=new _0x1b8609[(_0x2fee58(0x5a9))](_0x271205,_0x4b3faf);for(const {startOffset:_0x12c0f0,endOffset:_0x529c8e,rangeType:_0x353093,segmentId:_0x40c7fd,segmentPage:_0x370b10,collapsed:_0x46b430,isActive:_0x4d97e4}of _0x268cd1){const _0x3ef9f0=_0x4b3faf[_0x2fee58(0x596)](_0x12c0f0,!0x0,_0x40c7fd,_0x370b10);let _0x15f68b=_0x4b3faf[_0x2fee58(0x596)](_0x529c8e,!0x0,_0x40c7fd,_0x370b10);if(_0x15f68b==null&&(_0x15f68b=_0x4b3faf[_0x2fee58(0x596)](_0x529c8e-0x1,!0x1,_0x40c7fd,_0x370b10)),_0x4d97e4){const {contentBoxPointGroup:_0x559306}=_0x1e57de['getRangePointData'](_0x15f68b,_0x15f68b);if(_0x559306[_0x2fee58(0x1b0)]===0x0)continue;this['_drawAnchor'](_0x5d7b1a,_0x559306,_0x56ff32,_0x4e8914,_0x374683),this[_0x2fee58(0x361)]=this[_0x2fee58(0x550)]();}if(!_0x46b430&&_0x3ef9f0&&_0x15f68b){if(_0x353093===_0x457d20['DOC_RANGE_TYPE']['RECT']){const _0x3eed83=new _0x1b8609[(_0x2fee58(0x4dd))](_0x271205,_0x4b3faf),{pointGroup:_0x2a2538}=(_0x34c000=_0x3eed83[_0x2fee58(0x334)](_0x3ef9f0,_0x15f68b))!=null?_0x34c000:{};if(_0x2a2538==null||_0x2a2538[_0x2fee58(0x1b0)]===0x0)continue;this[_0x2fee58(0x2cc)](_0x5d7b1a,_0x2a2538,_0x56ff32,_0x4e8914);}else{const {borderBoxPointGroup:_0xc17201}=_0x1e57de[_0x2fee58(0x334)](_0x3ef9f0,_0x15f68b);if(_0xc17201['length']===0x0)continue;this[_0x2fee58(0x3ff)](_0x5d7b1a,_0xc17201,_0x56ff32,_0x4e8914);}}}}['_drawAnchor'](_0x1ac594,_0x4a1ad4,_0x2f96dd,_0xe4261a,_0x41afa3){const _0x2f31b7=_0x357007,_0x4063c1=this[_0x2f31b7(0x40c)](_0x4a1ad4),{left:_0x10a232,top:_0x104c67,height:_0xce45f9}=_0x4063c1,_0x2c044d=this[_0x2f31b7(0x559)](),_0x5e6b8e=_0x2a108c/_0x2c044d,_0x4db0bd=new _0x5c58b0[(_0x2f31b7(0x1ab))](_0x11a99c+_0x457d20['Tools'][_0x2f31b7(0x249)](_0x750513),{'left':_0x10a232+_0x2f96dd-_0x5e6b8e,'top':_0x104c67+_0xe4261a,'height':_0xce45f9,'width':_0x1bf217,'fill':_0x1ac594||_0x5c58b0[_0x2f31b7(0x322)](_0x457d20[_0x2f31b7(0x2d6)][_0x2f31b7(0x40e)],0x0),'strokeWidth':_0x5e6b8e,'stroke':_0x577a87,'evented':!0x0});this[_0x2f31b7(0x49a)]=_0x4db0bd,this[_0x2f31b7(0x408)][_0x2f31b7(0x41c)](_0x4db0bd,_0x1b8609[_0x2f31b7(0x3b1)]);const _0x522ddf=new _0x5c58b0[(_0x2f31b7(0x1ab))](_0x11a99c+_0x457d20[_0x2f31b7(0x458)][_0x2f31b7(0x249)](_0x750513),{'left':_0x10a232+_0x2f96dd-_0x5e6b8e,'top':_0x104c67+_0xe4261a-_0x2ec277/0x2,'height':_0x2ec277,'width':_0x2ec277,'fill':_0x1ac594||_0x5c58b0['getColor'](_0x457d20[_0x2f31b7(0x2d6)][_0x2f31b7(0x40e)],0x0),'strokeWidth':0x0,'stroke':_0x1ac594||_0x5c58b0[_0x2f31b7(0x322)](_0x457d20['COLORS'][_0x2f31b7(0x40e)],0x0),'evented':!0x1});this[_0x2f31b7(0x34a)]=_0x522ddf,this[_0x2f31b7(0x408)]['addObject'](_0x522ddf,_0x1b8609[_0x2f31b7(0x3b1)]);const _0x4aa16f=new _0x268e9f(_0x11a99c+_0x457d20[_0x2f31b7(0x458)][_0x2f31b7(0x249)](_0x750513),{'left':_0x10a232+_0x2f96dd-_0x5e6b8e,'top':_0x104c67+_0xe4261a-_0x578593,'text':_0x41afa3,'color':_0x1ac594});this[_0x2f31b7(0x1da)]=_0x4aa16f,this[_0x2f31b7(0x408)][_0x2f31b7(0x41c)](_0x4aa16f,_0x1b8609['TEXT_RANGE_LAYER_INDEX']),this[_0x2f31b7(0x444)]=!0x1;}[_0x357007(0x550)](){const _0x11f1dc=_0x357007,_0x1f94b1=this['_anchor']['onPointerEnter$'][_0x11f1dc(0x4a7)](()=>{const _0x38cdcb=_0x11f1dc;this[_0x38cdcb(0x444)]=!0x0;}),_0x440e13=this[_0x11f1dc(0x49a)][_0x11f1dc(0x3bf)][_0x11f1dc(0x4a7)](()=>{const _0x5d7304=_0x11f1dc;this[_0x5d7304(0x2b2)]&&clearTimeout(this[_0x5d7304(0x2b2)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x55e389=_0x11f1dc;_0x1f94b1[_0x55e389(0x436)](),_0x440e13[_0x55e389(0x436)]();};}[_0x357007(0x3ff)](_0x58be76,_0x52fb3a,_0x264ced,_0x1096a0){const _0xe6ff8c=_0x357007,_0x3bdcc7=new _0x457d20[(_0xe6ff8c(0x51b))](_0x58be76)[_0xe6ff8c(0x1f8)](0.2)[_0xe6ff8c(0x374)](),_0x2ec8a2=new _0x5c58b0[(_0xe6ff8c(0x359))](_0x55fbe5+_0x457d20[_0xe6ff8c(0x458)][_0xe6ff8c(0x249)](_0x750513),{'pointsGroup':_0x52fb3a,'fill':_0x3bdcc7||_0x5c58b0['getColor'](_0x457d20[_0xe6ff8c(0x2d6)]['black'],0.2),'left':_0x264ced,'top':_0x1096a0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xe6ff8c(0x350)][_0xe6ff8c(0x39d)](_0x2ec8a2),this[_0xe6ff8c(0x408)]['addObject'](_0x2ec8a2,_0x1b8609[_0xe6ff8c(0x3b1)]);}[_0x357007(0x2cc)](_0x4dfa2b,_0x4339cd,_0x21076c,_0x483bb9){const _0x24e9f5=_0x357007,_0x356aa4=new _0x457d20[(_0x24e9f5(0x51b))](_0x4dfa2b)['setAlpha'](0.2)['toRgbString'](),_0x519677=new _0x5c58b0[(_0x24e9f5(0x359))](_0xa9ae84+_0x457d20[_0x24e9f5(0x458)]['generateRandomId'](_0x750513),{'pointsGroup':_0x4339cd,'fill':_0x356aa4||_0x5c58b0[_0x24e9f5(0x322)](_0x457d20[_0x24e9f5(0x2d6)][_0x24e9f5(0x40e)],0.2),'left':_0x21076c,'top':_0x483bb9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x24e9f5(0x350)][_0x24e9f5(0x39d)](_0x519677),this['_scene'][_0x24e9f5(0x41c)](_0x519677,_0x1b8609[_0x24e9f5(0x3b1)]);}[_0x357007(0x40c)](_0x536edb){const _0x34dc50=_0x536edb[0x0],_0x420ebd=_0x34dc50[0x0],_0x3e1d3f=_0x34dc50[0x2],{x:_0x4c27ca,y:_0x56027f}=_0x420ebd,{x:_0x942468,y:_0x4aefa8}=_0x3e1d3f;return{'left':_0x4c27ca,'top':_0x56027f,'width':_0x942468-_0x4c27ca,'height':_0x4aefa8-_0x56027f};}['_getScale'](){const _0x55811b=_0x357007,{scaleX:_0x36a843,scaleY:_0x1a9809}=this['_scene']['getAncestorScale']();return Math[_0x55811b(0x10d)](_0x36a843,_0x1a9809);}}var _0x1f76c6=Object[_0x357007(0x376)],_0x1d8b6b=Object['getOwnPropertyDescriptor'],_0x2afd45=(_0x5de534,_0x445001,_0x2625a0,_0x48ce9a)=>{const _0x314cab=_0x357007;for(var _0x27277a=_0x48ce9a>0x1?void 0x0:_0x48ce9a?_0x1d8b6b(_0x445001,_0x2625a0):_0x445001,_0x494f4c=_0x5de534[_0x314cab(0x1b0)]-0x1,_0x2a61e8;_0x494f4c>=0x0;_0x494f4c--)(_0x2a61e8=_0x5de534[_0x494f4c])&&(_0x27277a=(_0x48ce9a?_0x2a61e8(_0x445001,_0x2625a0,_0x27277a):_0x2a61e8(_0x27277a))||_0x27277a);return _0x48ce9a&&_0x27277a&&_0x1f76c6(_0x445001,_0x2625a0,_0x27277a),_0x27277a;},_0x1842e5=(_0x350f23,_0x3ecb13)=>(_0x446ff5,_0x2a26be)=>_0x3ecb13(_0x446ff5,_0x2a26be,_0x350f23);let _0x35372d=class extends _0x457d20['RxDisposable']{constructor(_0x43cb3a,_0x2adf53,_0xc00176,_0x1172a8,_0x364f18){const _0xd3026b=_0x357007;super(),_0x184856(this,_0xd3026b(0x2e5),[]),_0x184856(this,_0xd3026b(0x115),[]),(this[_0xd3026b(0x1b1)]=_0x43cb3a,this['_docSkeletonManagerService']=_0x2adf53,this[_0xd3026b(0x512)]=_0xc00176,this[_0xd3026b(0x2a1)]=_0x1172a8,this[_0xd3026b(0x372)]=_0x364f18,this[_0xd3026b(0x47f)]());}[_0x357007(0x47f)](){const _0x2bd00c=_0x357007,_0x3fa1a5=this[_0x2bd00c(0x1b1)][_0x2bd00c(0x58b)],_0x552915=this[_0x2bd00c(0x3e7)];this[_0x2bd00c(0x189)](_0x44a02e['combineLatest']([this[_0x2bd00c(0x512)][_0x2bd00c(0x55f)](_0x3fa1a5),this[_0x2bd00c(0x372)][_0x2bd00c(0x2e2)]])[_0x2bd00c(0x3f8)](_0x4c8197[_0x2bd00c(0x595)](([_0x2f23ed,_0x3ef6ed])=>({'skeleton':_0x552915[_0x2bd00c(0x45a)](),'cursors':[..._0x2f23ed[_0x2bd00c(0x1ed)]()][_0x2bd00c(0x521)](_0x1e1181=>({..._0x1e1181,'color':_0x3ef6ed[_0x1e1181['color']]}))})))[_0x2bd00c(0x479)](_0x128883=>{const _0x4ea817=_0x2bd00c;if(this[_0x4ea817(0x445)](),_0x128883){const {skeleton:_0x5c7ae6,cursors:_0x1257b0}=_0x128883;this[_0x4ea817(0x17f)](_0x5c7ae6,_0x1257b0);}})),this[_0x2bd00c(0x362)](),this[_0x2bd00c(0x399)]();}[_0x357007(0x17f)](_0x2e87f8,_0x51eb97){const _0x417680=_0x357007,{scene:_0x26daa7,mainComponent:_0x83d2a9}=this[_0x417680(0x1b1)],_0x2e016c=_0x51eb97[_0x417680(0x595)](_0x1c0c02=>new _0x29f638(_0x1c0c02,_0x26daa7,_0x2e87f8,_0x83d2a9));this[_0x417680(0x2e5)]=_0x2e016c,this[_0x417680(0x115)]=_0x51eb97;}[_0x357007(0x2f2)](){const _0x3994ba=_0x357007;this[_0x3994ba(0x445)]();const {scene:_0x269cf5,mainComponent:_0x155fcb}=this[_0x3994ba(0x1b1)],_0x3ad314=this[_0x3994ba(0x3e7)]['getSkeleton'](),_0x96de86=this[_0x3994ba(0x115)]['map'](_0x40c078=>new _0x29f638(_0x40c078,_0x269cf5,_0x3ad314,_0x155fcb));this[_0x3994ba(0x2e5)]=_0x96de86;}[_0x357007(0x445)](){const _0x7b8d6b=_0x357007;this['_cursorShapes'][_0x7b8d6b(0x274)](_0x2a2ad2=>_0x2a2ad2[_0x7b8d6b(0x37a)]()),this[_0x7b8d6b(0x2e5)]=[];}[_0x357007(0x399)](){const _0x161052=_0x357007,_0x4cc107=[_0x1b8609[_0x161052(0x227)]['id']];this[_0x161052(0x189)](this[_0x161052(0x2a1)]['onCommandExecuted'](_0x45e133=>{const _0x36f01e=_0x161052;_0x4cc107['includes'](_0x45e133['id'])&&_0x45e133['params'][_0x36f01e(0x58b)]===this[_0x36f01e(0x1b1)][_0x36f01e(0x58b)]&&this[_0x36f01e(0x2f2)]();}));}['_initResize'](){const _0xd8571f=_0x357007;this[_0xd8571f(0x189)](_0x457d20[_0xd8571f(0x4e2)](this['_context'][_0xd8571f(0x46c)][_0xd8571f(0x492)])[_0xd8571f(0x3f8)](_0x4c8197[_0xd8571f(0x356)](_0x3fda9c=>_0x3fda9c[_0xd8571f(0x486)]===_0x5c58b0[_0xd8571f(0x32e)]['resize']),_0x4c8197['throttleTime'](0x10))[_0xd8571f(0x479)](()=>{const _0x2b20bd=_0xd8571f;this[_0x2b20bd(0x2f2)]();}));}};_0x35372d=_0x2afd45([_0x1842e5(0x1,_0x457d20[_0x357007(0x2c4)](_0x279b33[_0x357007(0xec)])),_0x1842e5(0x2,_0x457d20[_0x357007(0x2c4)](_0x5f50ea)),_0x1842e5(0x3,_0x457d20[_0x357007(0x324)]),_0x1842e5(0x4,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x1be)]))],_0x35372d);const _0x13bafb=0x1,_0xc2aa1c=1.5;class _0x48e55f extends _0x5c58b0[_0x357007(0x2ce)]{constructor(_0x132ec0,_0x11c6c3){const _0x3ace61=_0x357007;super(_0x132ec0,_0x11c6c3),_0x184856(this,_0x3ace61(0x405)),_0x184856(this,_0x3ace61(0x3a4),!0x1),_0x184856(this,_0x3ace61(0x2ba)),_0x184856(this,_0x3ace61(0x2e4),''),_0x184856(this,_0x3ace61(0x463),'top'),_0x184856(this,'_backgroundColor'),(_0x11c6c3&&this[_0x3ace61(0x12f)](_0x11c6c3),this['onPointerEnter$'][_0x3ace61(0x4a7)](()=>this[_0x3ace61(0x12f)]({'hovered':!0x0})),this[_0x3ace61(0x3bf)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x357007(0x12f)](_0x46e617){const _0x3c6ca1=_0x357007;var _0x1bd39f,_0x42fda5,_0x59dc46,_0x1a4a80,_0x2b4e01,_0x262b66;this[_0x3c6ca1(0x405)]=(_0x1bd39f=_0x46e617[_0x3c6ca1(0x4f3)])!=null?_0x1bd39f:this[_0x3c6ca1(0x405)],this[_0x3c6ca1(0x3a4)]=(_0x42fda5=_0x46e617[_0x3c6ca1(0x513)])!=null?_0x42fda5:this[_0x3c6ca1(0x3a4)],this[_0x3c6ca1(0x2ba)]=(_0x59dc46=_0x46e617[_0x3c6ca1(0x10b)])!=null?_0x59dc46:this['_range'],this[_0x3c6ca1(0x2e4)]=(_0x1a4a80=_0x46e617[_0x3c6ca1(0x28e)])!=null?_0x1a4a80:this[_0x3c6ca1(0x2e4)],this['_labelPosition']=(_0x2b4e01=_0x46e617[_0x3c6ca1(0x1c9)])!=null?_0x2b4e01:this[_0x3c6ca1(0x463)],this[_0x3c6ca1(0x44d)]=(_0x262b66=_0x46e617['backgroundColor'])!=null?_0x262b66:this[_0x3c6ca1(0x44d)],this[_0x3c6ca1(0x569)]({'width':_0x46e617[_0x3c6ca1(0x3de)],'height':_0x46e617['height']});}['onMouseMove'](_0x4f1766){const _0xb2fae0=_0x357007,{row:_0x314b9c,column:_0x5f1c3d}=_0x4f1766;if(_0x314b9c>=this[_0xb2fae0(0x2ba)][_0xb2fae0(0x4ff)]&&_0x314b9c<=this['_range'][_0xb2fae0(0x49b)]&&_0x5f1c3d>=this[_0xb2fae0(0x2ba)][_0xb2fae0(0x311)]&&_0x5f1c3d<=this['_range'][_0xb2fae0(0x2bb)]){this[_0xb2fae0(0x12f)]({'hovered':!0x0});return;}this[_0xb2fae0(0x12f)]({'hovered':!0x1});}['triggerDblclick'](_0x4b2006){return!0x1;}[_0x357007(0x23b)](_0x46e4e8){const _0x3e3260=_0x357007;_0x5c58b0[_0x3e3260(0x1ab)][_0x3e3260(0x162)](_0x46e4e8,{'width':this[_0x3e3260(0x3de)],'height':this[_0x3e3260(0x3f3)],'strokeWidth':_0xc2aa1c,'stroke':this[_0x3e3260(0x405)],'evented':!0x1,'fill':this[_0x3e3260(0x44d)]}),this[_0x3e3260(0x3a4)]&&(_0x46e4e8[_0x3e3260(0x16e)](),_0x46e4e8['transform'](0x1,0x0,0x0,0x1,this[_0x3e3260(0x3de)],this['_labelPosition']===_0x3e3260(0x1db)?0x0:-_0x578593),_0x268e9f[_0x3e3260(0x162)](_0x46e4e8,{'text':this[_0x3e3260(0x2e4)],'color':this[_0x3e3260(0x405)]}),_0x46e4e8[_0x3e3260(0xf0)]());}}var _0x222129=Object[_0x357007(0x376)],_0x28101b=Object[_0x357007(0x41b)],_0x3a5d76=(_0x24d546,_0x2847ca,_0x3060dc,_0x429c7f)=>{const _0xe33564=_0x357007;for(var _0x223e8e=_0x429c7f>0x1?void 0x0:_0x429c7f?_0x28101b(_0x2847ca,_0x3060dc):_0x2847ca,_0xd188f3=_0x24d546[_0xe33564(0x1b0)]-0x1,_0x471417;_0xd188f3>=0x0;_0xd188f3--)(_0x471417=_0x24d546[_0xd188f3])&&(_0x223e8e=(_0x429c7f?_0x471417(_0x2847ca,_0x3060dc,_0x223e8e):_0x471417(_0x223e8e))||_0x223e8e);return _0x429c7f&&_0x223e8e&&_0x222129(_0x2847ca,_0x3060dc,_0x223e8e),_0x223e8e;},_0x5ac9dd=(_0x4add3d,_0x3d5ed9)=>(_0x296c68,_0x323ac7)=>_0x3d5ed9(_0x296c68,_0x323ac7,_0x4add3d);const _0x4b10f0=0x1389;let _0xfa75cc=class extends _0x457d20[_0x357007(0xe7)]{constructor(_0x2c3f3f,_0x227d89,_0x3132ce,_0x43bcfc){const _0x531fdc=_0x357007;super(),_0x184856(this,_0x531fdc(0x115),new Set()),_0x184856(this,_0x531fdc(0x1fb),null),(this[_0x531fdc(0x1b1)]=_0x2c3f3f,this[_0x531fdc(0x452)]=_0x227d89,this[_0x531fdc(0x512)]=_0x3132ce,this[_0x531fdc(0x372)]=_0x43bcfc,this[_0x531fdc(0x47f)]());}[_0x357007(0x47f)](){const _0x55a3bd=_0x357007;this[_0x55a3bd(0x452)]['currentSkeleton$'][_0x55a3bd(0x3f8)](_0x4c8197[_0x55a3bd(0x138)](this[_0x55a3bd(0x43e)]),_0x4c8197[_0x55a3bd(0x41a)](_0x23a35c=>{const _0xe614f0=_0x55a3bd;if(_0x23a35c){const _0x24be19=_0x23a35c[_0xe614f0(0x36d)];return _0x44a02e['combineLatest'](this[_0xe614f0(0x512)][_0xe614f0(0x55f)](this['_context']['unitId']),this[_0xe614f0(0x372)][_0xe614f0(0x2e2)])[_0xe614f0(0x3f8)](_0x4c8197[_0xe614f0(0x595)](([_0x11a3d7,_0x4878f0])=>{const _0x3bee5b=_0xe614f0,_0x145737=new Map();return _0x11a3d7[_0x3bee5b(0x274)]((_0x3d7b16,_0x1aedc1)=>{const _0x12437d=_0x3bee5b;if(_0x3d7b16[_0x12437d(0x2ee)]===_0x24be19){const _0x3dfcea={..._0x3d7b16};_0x3dfcea['color']=_0x4878f0[_0x3d7b16[_0x12437d(0x4f3)]],_0x145737[_0x12437d(0x40f)](_0x1aedc1,_0x3dfcea);}}),{'skeleton':_0x23a35c,'cursors':_0x145737};}));}return _0x44a02e['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x1adac6,cursors:_0x134b8b})=>{const _0x4948e7=_0x55a3bd;this['_removeCollabCursors'](),_0x1adac6&&this[_0x4948e7(0x17f)](_0x1adac6,_0x134b8b);}),this['_sheetSkeletonManagerService'][_0x55a3bd(0x490)]['subscribe'](_0x3d6ccf=>{const _0x4d57fe=_0x55a3bd;if(_0x3d6ccf==null)return;const {skeleton:_0x62ef80}=_0x3d6ccf,{scene:_0x3e2be4}=this[_0x4d57fe(0x1b1)];_0x3e2be4[_0x4d57fe(0x3b2)][_0x4d57fe(0x4a7)](_0x457d20[_0x4d57fe(0x154)](_0x18c36f=>{const _0x58dd5e=_0x4d57fe;var _0x2018f5,_0x5c7dc9;const {offsetX:_0x141291,offsetY:_0x502448}=_0x18c36f,{x:_0x55176e,y:_0x4ea051}=_0x3e2be4[_0x58dd5e(0x12d)](_0x5c58b0[_0x58dd5e(0x1d6)]['FromArray']([_0x141291,_0x502448])),{scaleX:_0x179f36,scaleY:_0x175db6}=_0x3e2be4[_0x58dd5e(0x47a)](),_0x11e5dc=_0x3e2be4['getViewport'](_0x5ed4fc[_0x58dd5e(0x3dc)][_0x58dd5e(0x4f6)]),_0x29f77f=_0x3e2be4[_0x58dd5e(0x2e1)](_0x5c58b0[_0x58dd5e(0x1d6)]['FromArray']([_0x55176e,_0x4ea051]),_0x11e5dc),_0x105ecc=_0x62ef80['getCellPositionByOffset'](_0x141291,_0x502448,_0x179f36,_0x175db6,_0x29f77f);((_0x2018f5=this[_0x58dd5e(0x1fb)])==null?void 0x0:_0x2018f5[_0x58dd5e(0x53e)])===_0x105ecc[_0x58dd5e(0x53e)]&&((_0x5c7dc9=this['_lastPointer'])==null?void 0x0:_0x5c7dc9[_0x58dd5e(0x187)])===_0x105ecc[_0x58dd5e(0x187)]||this[_0x58dd5e(0x115)][_0x58dd5e(0x274)](_0xb7ceee=>{const _0x50e925=_0x58dd5e;_0xb7ceee[_0x50e925(0x1fe)](_0x105ecc);});},0x64));});}['_updateCollabCursors'](_0x3c39b9,_0x48ea69){const _0x479cdf=_0x357007;var _0x43612d;const _0xca4baa=(_0x43612d=this[_0x479cdf(0x452)][_0x479cdf(0x2e8)]())==null?void 0x0:_0x43612d[_0x479cdf(0xe9)];if(!_0xca4baa)return;const _0x5e3b93=this[_0x479cdf(0x20d)]();if(!_0x5e3b93)return;this[_0x479cdf(0x115)]['forEach'](_0x25802e=>{const _0x31f498=_0x479cdf;_0x25802e[_0x31f498(0x587)]();});const {scene:_0x1e4c6d}=_0x5e3b93,_0x32598c=_0x34d22c(Array[_0x479cdf(0x46a)](_0x48ea69[_0x479cdf(0x1ed)]()))['map'](_0x1a0c1b=>{const _0xdec192=_0x479cdf,{color:_0x3efa9e,range:_0x4f1507,name:_0x55d5ca,selection:_0x5a0ec8,sheetID:_0x5db4fe}=_0x1a0c1b,{startColumn:_0x50c1ec,startRow:_0x3dcdd3,endColumn:_0x4a8894,endRow:_0x44419e}=_0x4f1507,_0x4918f6=_0x5ed4fc[_0xdec192(0x153)](_0x3dcdd3,_0x50c1ec,_0x1e4c6d,_0xca4baa),_0x7a55d4=_0x5ed4fc['getCoordByCell'](_0x44419e,_0x4a8894,_0x1e4c6d,_0xca4baa),{columnHeaderHeightAndMarginTop:_0x23f15d}=_0xca4baa,{startX:_0x2fca43,startY:_0x55c12c}=_0x4918f6,{endX:_0x5a6917,endY:_0x51bf92}=_0x7a55d4,_0x21ee0b=_0x5a6917-_0x2fca43,_0x16a58c=_0x51bf92-_0x55c12c,_0x1adc4c={'labelPosition':_0x55c12c-_0x23f15d>=_0x578593?_0xdec192(0x25a):_0xdec192(0x1db),'sheetID':_0x5db4fe,'range':_0x4f1507,'color':_0x3efa9e,'name':_0x55d5ca,'selection':_0x5a0ec8,'left':_0x2fca43,'top':_0x55c12c,'width':_0x21ee0b,'height':_0x16a58c,'evented':!0x1,'zIndex':_0x4b10f0};return new _0x48e55f(_0x55d5ca,_0x1adc4c);});_0x1e4c6d['addObjects'](_0x32598c,_0x13bafb),this[_0x479cdf(0x115)]=new Set(_0x32598c);}['_removeCollabCursors'](){const _0x3eb71b=_0x357007;var _0x455b28;(_0x455b28=this[_0x3eb71b(0x115)])==null||_0x455b28[_0x3eb71b(0x274)](_0x3fbf31=>_0x3fbf31[_0x3eb71b(0x37a)]());}[_0x357007(0x20d)](){const _0x225e6f=_0x357007;return _0x5ed4fc[_0x225e6f(0x465)](this[_0x225e6f(0x1b1)][_0x225e6f(0x417)],this[_0x225e6f(0x1b1)]);}};_0xfa75cc=_0x3a5d76([_0x5ac9dd(0x1,_0x457d20[_0x357007(0x2c4)](_0x5ed4fc[_0x357007(0x1d9)])),_0x5ac9dd(0x2,_0x457d20[_0x357007(0x2c4)](_0x5f50ea)),_0x5ac9dd(0x3,_0x457d20['Inject'](_0x457d20[_0x357007(0x1be)]))],_0xfa75cc);function _0x34d22c(_0x2f9109){const _0x4fd35f=_0x357007,_0x1f8e53=new Map();return _0x2f9109[_0x4fd35f(0x274)](_0x2b6ac2=>{const _0x1981c3=_0x4fd35f;if(_0x1f8e53[_0x1981c3(0xf8)](_0x2b6ac2[_0x1981c3(0x22e)])){const _0x1d7fde=_0x1f8e53[_0x1981c3(0x1b5)](_0x2b6ac2[_0x1981c3(0x22e)]);_0x1d7fde[_0x1981c3(0x28e)]+=',\x20'+_0x2b6ac2['name'];}else _0x1f8e53[_0x1981c3(0x40f)](_0x2b6ac2[_0x1981c3(0x22e)],_0x2b6ac2);}),Array[_0x4fd35f(0x46a)](_0x1f8e53[_0x4fd35f(0x1ed)]());}var _0x3da64e=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x202696(_0x147877){const _0x7da436=_0x357007;return _0x147877&&_0x147877['__esModule']&&Object[_0x7da436(0x2a6)][_0x7da436(0x4c1)]['call'](_0x147877,_0x7da436(0x214))?_0x147877[_0x7da436(0x214)]:_0x147877;}var _0x5b0272={'exports':{}},_0x17c8b5={},_0x3f4a29=_0x53b86a,_0x88a452=Symbol[_0x357007(0x2c5)](_0x357007(0x2c3)),_0x6be042=Symbol[_0x357007(0x2c5)]('react.fragment'),_0x4f30d7=Object[_0x357007(0x2a6)][_0x357007(0x4c1)],_0x1a51ad=_0x3f4a29[_0x357007(0x390)][_0x357007(0x30e)],_0x555664={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x15dfc9(_0x189cbc,_0x425b49,_0xa76562){const _0x3047af=_0x357007;var _0x5b9729,_0x4d33bc={},_0x3d1219=null,_0x4beb21=null;_0xa76562!==void 0x0&&(_0x3d1219=''+_0xa76562),_0x425b49[_0x3047af(0x19d)]!==void 0x0&&(_0x3d1219=''+_0x425b49[_0x3047af(0x19d)]),_0x425b49[_0x3047af(0x1d5)]!==void 0x0&&(_0x4beb21=_0x425b49['ref']);for(_0x5b9729 in _0x425b49)_0x4f30d7[_0x3047af(0x4fe)](_0x425b49,_0x5b9729)&&!_0x555664[_0x3047af(0x4c1)](_0x5b9729)&&(_0x4d33bc[_0x5b9729]=_0x425b49[_0x5b9729]);if(_0x189cbc&&_0x189cbc[_0x3047af(0x4c7)]){for(_0x5b9729 in(_0x425b49=_0x189cbc[_0x3047af(0x4c7)],_0x425b49))_0x4d33bc[_0x5b9729]===void 0x0&&(_0x4d33bc[_0x5b9729]=_0x425b49[_0x5b9729]);}return{'$$typeof':_0x88a452,'type':_0x189cbc,'key':_0x3d1219,'ref':_0x4beb21,'props':_0x4d33bc,'_owner':_0x1a51ad[_0x3047af(0x2a2)]};}_0x17c8b5[_0x357007(0xff)]=_0x6be042,_0x17c8b5[_0x357007(0x1af)]=_0x15dfc9,_0x17c8b5[_0x357007(0x53d)]=_0x15dfc9,_0x5b0272[_0x357007(0x241)]=_0x17c8b5;var _0x34d77a=_0x5b0272[_0x357007(0x241)],_0x51fee3=function(){const _0x5612a1=_0x357007;return _0x51fee3=Object[_0x5612a1(0x4db)]||function(_0x430bee){const _0x243842=_0x5612a1;for(var _0xa1cf7e,_0x3e776f=0x1,_0x597b76=arguments[_0x243842(0x1b0)];_0x3e776f<_0x597b76;_0x3e776f++){_0xa1cf7e=arguments[_0x3e776f];for(var _0x441788 in _0xa1cf7e)Object[_0x243842(0x2a6)][_0x243842(0x4c1)][_0x243842(0x4fe)](_0xa1cf7e,_0x441788)&&(_0x430bee[_0x441788]=_0xa1cf7e[_0x441788]);}return _0x430bee;},_0x51fee3[_0x5612a1(0x533)](this,arguments);},_0x2e5615=function(_0x318aa5,_0x310a6e){const _0x1b8757=_0x357007;var _0x24a0fd={};for(var _0x37860b in _0x318aa5)Object['prototype'][_0x1b8757(0x4c1)][_0x1b8757(0x4fe)](_0x318aa5,_0x37860b)&&_0x310a6e[_0x1b8757(0x1ee)](_0x37860b)<0x0&&(_0x24a0fd[_0x37860b]=_0x318aa5[_0x37860b]);if(_0x318aa5!=null&&typeof Object['getOwnPropertySymbols']==_0x1b8757(0x527)){for(var _0x1658e8=0x0,_0x37860b=Object[_0x1b8757(0x55c)](_0x318aa5);_0x1658e8<_0x37860b[_0x1b8757(0x1b0)];_0x1658e8++)_0x310a6e[_0x1b8757(0x1ee)](_0x37860b[_0x1658e8])<0x0&&Object['prototype'][_0x1b8757(0x294)][_0x1b8757(0x4fe)](_0x318aa5,_0x37860b[_0x1658e8])&&(_0x24a0fd[_0x37860b[_0x1658e8]]=_0x318aa5[_0x37860b[_0x1658e8]]);}return _0x24a0fd;},_0xe50a93=_0x53b86a[_0x357007(0x19a)](function(_0x40a0d4,_0x2e2d30){const _0x52627b=_0x357007;var _0x32e775=_0x40a0d4[_0x52627b(0x40a)],_0x5bce42=_0x40a0d4['id'],_0xb0073b=_0x40a0d4[_0x52627b(0x1ce)],_0x3a6938=_0x40a0d4['extend'],_0xab8a20=_0x2e5615(_0x40a0d4,[_0x52627b(0x40a),'id',_0x52627b(0x1ce),_0x52627b(0x308)]),_0x1ed96c=_0x52627b(0x499)['concat'](_0x5bce42,'\x20')[_0x52627b(0x38a)](_0xb0073b||'')[_0x52627b(0x206)](),_0x226416=_0x53b86a[_0x52627b(0x133)]('_'[_0x52627b(0x38a)](_0x390a92()));return _0x39a41a(_0x32e775,''[_0x52627b(0x38a)](_0x5bce42),{'defIds':_0x32e775['defIds'],'idSuffix':_0x226416['current']},_0x51fee3({'ref':_0x2e2d30,'className':_0x1ed96c},_0xab8a20),_0x3a6938);});function _0x39a41a(_0x41fdb7,_0x36e26f,_0xb90995,_0x11de0a,_0x318993){const _0x500cd9=_0x357007;return _0x53b86a['createElement'](_0x41fdb7[_0x500cd9(0x545)],_0x51fee3(_0x51fee3({'key':_0x36e26f},_0x2607cc(_0x41fdb7,_0xb90995,_0x318993)),_0x11de0a),(_0x2c71b8(_0x41fdb7,_0xb90995)[_0x500cd9(0x373)]||[])[_0x500cd9(0x595)](function(_0x2e0f8c,_0x1ce671){const _0x27ea07=_0x500cd9;return _0x39a41a(_0x2e0f8c,''[_0x27ea07(0x38a)](_0x36e26f,'-')[_0x27ea07(0x38a)](_0x41fdb7[_0x27ea07(0x545)],'-')[_0x27ea07(0x38a)](_0x1ce671),_0xb90995,void 0x0,_0x318993);}));}function _0x2607cc(_0x36d2fe,_0x11c050,_0x30d437){const _0x518767=_0x357007;var _0x44b1a8=_0x51fee3({},_0x36d2fe['attrs']);_0x30d437!=null&&_0x30d437[_0x518767(0x2f1)]&&_0x44b1a8[_0x518767(0x321)]===_0x518767(0x2f1)&&(_0x44b1a8[_0x518767(0x321)]=_0x30d437['colorChannel1']);var _0x36ae0c=_0x11c050[_0x518767(0x17e)];return!_0x36ae0c||_0x36ae0c[_0x518767(0x1b0)]===0x0||(_0x36d2fe[_0x518767(0x545)]===_0x518767(0x528)&&_0x44b1a8[_0x518767(0x33b)]&&(_0x44b1a8['xlink:href']=_0x44b1a8[_0x518767(0x33b)]+_0x11c050[_0x518767(0x204)]),Object[_0x518767(0x37e)](_0x44b1a8)[_0x518767(0x274)](function(_0x51fa99){const _0x51c96b=_0x518767;var _0x2b6676=_0x51fa99[0x0],_0x16c9d8=_0x51fa99[0x1];typeof _0x16c9d8==_0x51c96b(0x282)&&(_0x44b1a8[_0x2b6676]=_0x16c9d8[_0x51c96b(0x495)](/url\(#(.*)\)/,_0x51c96b(0x429)[_0x51c96b(0x38a)](_0x11c050[_0x51c96b(0x204)],')')));})),_0x44b1a8;}function _0x2c71b8(_0x22f0c0,_0x1fa3f6){const _0x13ee7a=_0x357007;var _0x24fdbf,_0x36d917=_0x1fa3f6[_0x13ee7a(0x17e)];return!_0x36d917||_0x36d917['length']===0x0?_0x22f0c0:_0x22f0c0['tag']===_0x13ee7a(0x58f)&&(!((_0x24fdbf=_0x22f0c0[_0x13ee7a(0x373)])===null||_0x24fdbf===void 0x0)&&_0x24fdbf[_0x13ee7a(0x1b0)])?_0x51fee3(_0x51fee3({},_0x22f0c0),{'children':_0x22f0c0['children'][_0x13ee7a(0x595)](function(_0x1a9f9e){const _0x5c16bc=_0x13ee7a;return typeof _0x1a9f9e[_0x5c16bc(0x195)]['id']==_0x5c16bc(0x282)&&_0x36d917&&_0x36d917[_0x5c16bc(0x1ee)](_0x1a9f9e[_0x5c16bc(0x195)]['id'])>-0x1?_0x51fee3(_0x51fee3({},_0x1a9f9e),{'attrs':_0x51fee3(_0x51fee3({},_0x1a9f9e[_0x5c16bc(0x195)]),{'id':_0x1a9f9e[_0x5c16bc(0x195)]['id']+_0x1fa3f6[_0x5c16bc(0x204)]})}):_0x1a9f9e;})}):_0x22f0c0;}function _0x390a92(){const _0x4960ef=_0x357007;return Math[_0x4960ef(0x524)]()[_0x4960ef(0x14b)](0x24)['substring'](0x2,0x8);}_0xe50a93['displayName']='UniverIcon';var _0x23bd30={'tag':_0x357007(0x2a0),'attrs':{'fill':_0x357007(0x191),'viewBox':_0x357007(0x380),'width':'1em','height':_0x357007(0x503)},'children':[{'tag':'g','attrs':{'clipPath':_0x357007(0x46d)},'children':[{'tag':_0x357007(0x4e1),'attrs':{'stroke':_0x357007(0x39a),'d':_0x357007(0x55a),'strokeLinecap':_0x357007(0x3ec),'strokeLinejoin':_0x357007(0x3ec),'strokeWidth':1.2}}]},{'tag':_0x357007(0x58f),'attrs':{},'children':[{'tag':_0x357007(0x1d8),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x357007(0x4e1),'attrs':{'fill':_0x357007(0x117),'d':_0x357007(0x45f)}}]}]}],'defIds':[_0x357007(0x59a)]},_0x1ca1af=_0x53b86a[_0x357007(0x19a)](function(_0x6b1a08,_0x208052){const _0x2ec4d9=_0x357007;return _0x53b86a['createElement'](_0xe50a93,Object[_0x2ec4d9(0x4db)]({},_0x6b1a08,{'id':'off-line-single','ref':_0x208052,'icon':_0x23bd30}));});_0x1ca1af['displayName']=_0x357007(0x54a);var _0x1f76aa={'tag':_0x357007(0x2a0),'attrs':{'fill':_0x357007(0x191),'viewBox':_0x357007(0x33a),'width':_0x357007(0x503),'height':_0x357007(0x503)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x357007(0x4e1),'attrs':{'stroke':_0x357007(0x39a),'d':_0x357007(0x3e0),'strokeLinecap':_0x357007(0x3ec),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x357007(0x58f),'attrs':{},'children':[{'tag':_0x357007(0x1d8),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x357007(0x4e1),'attrs':{'fill':_0x357007(0x117),'d':_0x357007(0x45f),'transform':_0x357007(0x553)}}]}]}],'defIds':[_0x357007(0x209)]},_0x4ca525=_0x53b86a['forwardRef'](function(_0x55cb0d,_0x441e9c){const _0x56a2a3=_0x357007;return _0x53b86a[_0x56a2a3(0x383)](_0xe50a93,Object['assign']({},_0x55cb0d,{'id':_0x56a2a3(0x456),'ref':_0x441e9c,'icon':_0x1f76aa}));});_0x4ca525['displayName']='OnLineSingle';function _0x487ff4(_0x5220fa){const _0x184418=_0x357007;var _0x3dac69,_0xa3b47,_0x44bb8b='';if(typeof _0x5220fa=='string'||typeof _0x5220fa==_0x184418(0x22d))_0x44bb8b+=_0x5220fa;else{if(typeof _0x5220fa=='object'){if(Array[_0x184418(0x139)](_0x5220fa)){var _0x4b5344=_0x5220fa[_0x184418(0x1b0)];for(_0x3dac69=0x0;_0x3dac69<_0x4b5344;_0x3dac69++)_0x5220fa[_0x3dac69]&&(_0xa3b47=_0x487ff4(_0x5220fa[_0x3dac69]))&&(_0x44bb8b&&(_0x44bb8b+='\x20'),_0x44bb8b+=_0xa3b47);}else{for(_0xa3b47 in _0x5220fa)_0x5220fa[_0xa3b47]&&(_0x44bb8b&&(_0x44bb8b+='\x20'),_0x44bb8b+=_0xa3b47);}}}return _0x44bb8b;}function _0x3f9768(){const _0x3faaef=_0x357007;for(var _0x1319a8,_0x386f72,_0x48f7c2=0x0,_0x398bfc='',_0x2e2d34=arguments[_0x3faaef(0x1b0)];_0x48f7c2<_0x2e2d34;_0x48f7c2++)(_0x1319a8=arguments[_0x48f7c2])&&(_0x386f72=_0x487ff4(_0x1319a8))&&(_0x398bfc&&(_0x398bfc+='\x20'),_0x398bfc+=_0x386f72);return _0x398bfc;}const _0x1e4505={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x357007(0x1bb),'onlineStatus':_0x357007(0x309),'online':_0x357007(0x2b3),'offline':_0x357007(0x3ac)};function _0x4b0b1f(_0xf6d896){const _0x1abca1=_0x357007;switch(_0xf6d896){case _0x44c5ad[_0x1abca1(0x31a)]:return _0x1abca1(0x400);case _0x44c5ad[_0x1abca1(0x52a)]:return _0x1abca1(0x109);case _0x44c5ad[_0x1abca1(0x1c3)]:return _0x1abca1(0x232);case _0x44c5ad['NOT_COLLAB']:return _0x1abca1(0x31e);case _0x44c5ad[_0x1abca1(0x3d1)]:case _0x44c5ad['AWAITING_WITH_PENDING']:return _0x1abca1(0x459);case _0x44c5ad[_0x1abca1(0x253)]:case _0x44c5ad['PENDING']:return _0x1abca1(0x4da);}}function _0x576c3c(_0x48aeaf){const _0x46becb=_0x357007,{status$:_0xa475}=_0x48aeaf,_0x50dbe6=_0x2b45ba[_0x46becb(0x17a)](_0xa475,_0x44c5ad[_0x46becb(0x104)]),_0x4d414d=_0x457d20['useDependency'](_0x457d20[_0x46becb(0x128)]),_0x3b2d77=_0x457d20[_0x46becb(0x134)](_0x325eac[_0x46becb(0x30b)]),_0x702daf=_0x50dbe6!==_0x44c5ad[_0x46becb(0x31a)],_0x54e2f1=_0x4d414d['t'](_0x4b0b1f(_0x50dbe6)),_0x465df4=_0x3f9768(_0x1e4505[_0x46becb(0x404)],{[_0x1e4505[_0x46becb(0x491)]]:_0x702daf,[_0x1e4505[_0x46becb(0x474)]]:!_0x702daf}),_0x1f915b=_0x702daf?_0x34d77a[_0x46becb(0x1af)](_0x4ca525,{}):_0x34d77a['jsx'](_0x1ca1af,{}),_0x5a2d02=_0x53b86a[_0x46becb(0x50b)](()=>{_0x702daf||_0x3b2d77['reconnect']();},[_0x702daf,_0x3b2d77]);function _0x532983(){const _0x1e4072=_0x46becb;return _0x34d77a[_0x1e4072(0x53d)](_0x1e4072(0x44e),{'className':_0x465df4,'onClick':_0x5a2d02,'children':[_0x34d77a['jsx'](_0x1e4072(0x44e),{'className':_0x1e4505[_0x1e4072(0x1aa)],'children':_0x1f915b}),_0x34d77a[_0x1e4072(0x1af)]('div',{'className':_0x1e4505[_0x1e4072(0x38b)],'children':_0x54e2f1})]});}return _0x702daf?_0x532983():_0x34d77a[_0x46becb(0x1af)](_0x151ca4[_0x46becb(0x529)],{'title':_0x4d414d['t'](_0x46becb(0x590)),'children':_0x532983()});}var _0x3a3279=Object[_0x357007(0x376)],_0x2b4edf=Object[_0x357007(0x41b)],_0x223629=(_0x8d222b,_0x4e76d8,_0x10b0fe,_0x469922)=>{for(var _0x27bb84=_0x469922>0x1?void 0x0:_0x469922?_0x2b4edf(_0x4e76d8,_0x10b0fe):_0x4e76d8,_0x17c002=_0x8d222b['length']-0x1,_0x146987;_0x17c002>=0x0;_0x17c002--)(_0x146987=_0x8d222b[_0x17c002])&&(_0x27bb84=(_0x469922?_0x146987(_0x4e76d8,_0x10b0fe,_0x27bb84):_0x146987(_0x27bb84))||_0x27bb84);return _0x469922&&_0x27bb84&&_0x3a3279(_0x4e76d8,_0x10b0fe,_0x27bb84),_0x27bb84;},_0x577690=(_0x5be200,_0x462ff8)=>(_0x37b47f,_0x4eae12)=>_0x462ff8(_0x37b47f,_0x4eae12,_0x5be200);_0x325eac['DesktopCollaborationStatusDisplayController']=class extends _0x457d20[_0x357007(0x348)]{constructor(_0x2e5e6b,_0xab0f79,_0x2a72ff,_0x2186be){const _0x1cee2c=_0x357007;super(),_0x184856(this,_0x1cee2c(0x103),new _0x44a02e[(_0x1cee2c(0x387))](_0x44c5ad['NOT_COLLAB'])),(this[_0x1cee2c(0x140)]=_0x2e5e6b,this['_uiPartsService']=_0xab0f79,this['_injector']=_0x2a72ff,this[_0x1cee2c(0x544)]=_0x2186be,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x357007(0x1ff)](){const _0x25128e=_0x357007;this[_0x25128e(0x189)](this[_0x25128e(0x140)][_0x25128e(0x579)][_0x25128e(0x3f8)](_0x44a02e[_0x25128e(0x41a)](()=>{const _0x4bc862=_0x25128e,_0x167d32=this[_0x4bc862(0x140)][_0x4bc862(0x236)]();return _0x167d32?this[_0x4bc862(0x544)]['getCollabEntity$'](_0x167d32[_0x4bc862(0x4a5)]()):_0x44a02e['of'](null);}),_0x44a02e[_0x25128e(0x41a)](_0x3ed78a=>_0x3ed78a?_0x3ed78a[_0x25128e(0x1ec)]:_0x44a02e['of'](_0x44c5ad['NOT_COLLAB'])))[_0x25128e(0x479)](_0x331b7c=>{const _0x117c7c=_0x25128e;this[_0x117c7c(0x103)][_0x117c7c(0x4d3)](_0x331b7c);}));}[_0x357007(0x24f)](){const _0x10d766=_0x357007;this[_0x10d766(0x189)](this[_0x10d766(0x42f)][_0x10d766(0x32b)](_0x2b45ba['BuiltInUIPart']['HEADER_MENU'],()=>_0x457d20[_0x10d766(0x501)](_0xdf0b22({'status$':this[_0x10d766(0x103)]['asObservable']()}),this[_0x10d766(0x593)])));}},_0x325eac[_0x357007(0x196)]=_0x223629([_0x577690(0x0,_0x457d20['IUniverInstanceService']),_0x577690(0x1,_0x2b45ba['IUIPartsService']),_0x577690(0x2,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x467)])),_0x577690(0x3,_0x457d20[_0x357007(0x2c4)](_0x325eac[_0x357007(0x339)]))],_0x325eac[_0x357007(0x196)]);function _0xdf0b22(_0x1cc7be){const {status$:_0x26744c}=_0x1cc7be;return function(){const _0xfd1496=_0xbbea;return _0x34d77a[_0xfd1496(0x1af)](_0x576c3c,{'status$':_0x26744c});};}const _0x24da1d=_0x457d20[_0x357007(0x2aa)](_0x357007(0x1ef));var _0x2bd563=Object[_0x357007(0x376)],_0x4684a3=Object[_0x357007(0x41b)],_0x23d5f0=(_0x3d0e37,_0x55d83a,_0x223c48,_0x2d503f)=>{for(var _0x46bd59=_0x2d503f>0x1?void 0x0:_0x2d503f?_0x4684a3(_0x55d83a,_0x223c48):_0x55d83a,_0x30be2a=_0x3d0e37['length']-0x1,_0x21fabb;_0x30be2a>=0x0;_0x30be2a--)(_0x21fabb=_0x3d0e37[_0x30be2a])&&(_0x46bd59=(_0x2d503f?_0x21fabb(_0x55d83a,_0x223c48,_0x46bd59):_0x21fabb(_0x46bd59))||_0x46bd59);return _0x2d503f&&_0x46bd59&&_0x2bd563(_0x55d83a,_0x223c48,_0x46bd59),_0x46bd59;},_0x50dfc8=(_0x26e769,_0x54c070)=>(_0x13bd96,_0x35ce3f)=>_0x54c070(_0x13bd96,_0x35ce3f,_0x26e769);_0x325eac[_0x357007(0x1c2)]=class extends _0x457d20['RxDisposable']{constructor(_0x339842,_0x2e62a7,_0x3b6922,_0x988a95,_0x136303,_0x1e749e){const _0x35f12b=_0x357007;super(),this['_urlService']=_0x339842,this[_0x35f12b(0x514)]=_0x2e62a7,this['_commandService']=_0x3b6922,this[_0x35f12b(0x4e9)]=_0x988a95,this[_0x35f12b(0x51d)]=_0x136303,_0x1e749e?_0x1e749e==null||_0x1e749e[_0x35f12b(0x10c)]()[_0x35f12b(0x1c0)](()=>this[_0x35f12b(0x47f)]()):(this['_logService'][_0x35f12b(0x17b)](_0x35f12b(0x34c),_0x35f12b(0x4bb)),this[_0x35f12b(0x47f)]());}async['_init'](){const _0xb0f86a=_0x357007,_0x3bf17a=this[_0xb0f86a(0x1f7)][_0xb0f86a(0x493)](_0xb0f86a(0x417)),_0x19cb8b=this['_urlService'][_0xb0f86a(0x493)](_0xb0f86a(0x486));if(!_0x3bf17a||!_0x19cb8b){this['_logService'][_0xb0f86a(0x17b)](_0xb0f86a(0x34c),_0xb0f86a(0x17d));return;}switch(Number(_0x19cb8b)){case _0x1c36ee['UNIVER_SHEET']:{const _0x4709f3=await this['_loadSheet'](_0x3bf17a);this[_0xb0f86a(0x4bc)](_0x4709f3);break;}case _0x1c36ee[_0xb0f86a(0x210)]:{await this[_0xb0f86a(0x14a)](_0x3bf17a);break;}default:{this[_0xb0f86a(0x514)][_0xb0f86a(0x519)]('[DataLoaderController]',_0xb0f86a(0x326));break;}}}async[_0x357007(0x4bc)](_0x398dbd){const _0x2fc652=_0x357007;await this['_updateSubUnitFromURLParams'](_0x398dbd),_0x398dbd[_0x2fc652(0x32a)][_0x2fc652(0x3f8)](_0x44a02e[_0x2fc652(0x138)](this[_0x2fc652(0x43e)]))[_0x2fc652(0x479)](_0x5ac932=>{const _0x424421=_0x2fc652;_0x5ac932&&this[_0x424421(0x561)](_0x5ac932);}),this['_urlService']['urlChange$'][_0x2fc652(0x3f8)](_0x44a02e['takeUntil'](this[_0x2fc652(0x43e)]))[_0x2fc652(0x479)](()=>this[_0x2fc652(0x25c)](_0x398dbd));}[_0x357007(0x561)](_0x2e610f,_0x4f1ee0=!0x1){const _0x3d1dbe=_0x357007,_0x3e8e73=this['_urlService'][_0x3d1dbe(0x493)](_0x3d1dbe(0x258));_0x2e610f[_0x3d1dbe(0x507)]()!==_0x3e8e73&&this[_0x3d1dbe(0x1f7)][_0x3d1dbe(0x11d)](_0x3d1dbe(0x258),_0x2e610f[_0x3d1dbe(0x507)](),_0x4f1ee0);}async[_0x357007(0x25c)](_0x4c7729){const _0x30ec12=_0x357007;var _0x3edf78;const _0x48d6c8=this[_0x30ec12(0x1f7)][_0x30ec12(0x493)](_0x30ec12(0x258));if(!_0x48d6c8||!_0x4c7729['getSheetBySheetId'](_0x48d6c8)){const _0x587951=_0x4c7729[_0x30ec12(0x340)]()[0x0],_0x19f234=_0x4c7729[_0x30ec12(0x203)](_0x587951);if(!_0x19f234)return;this['_updateURLWithCurrentState'](_0x19f234,!0x0),await this[_0x30ec12(0x2a1)]['executeCommand'](_0x91efb2[_0x30ec12(0x224)]['id'],{'unitId':_0x4c7729['getUnitId'](),'subUnitId':_0x587951});return;}((_0x3edf78=_0x4c7729[_0x30ec12(0x4a1)]())==null?void 0x0:_0x3edf78['getSheetId']())!==_0x48d6c8&&await this['_commandService'][_0x30ec12(0x470)](_0x91efb2[_0x30ec12(0x224)]['id'],{'unitId':_0x4c7729[_0x30ec12(0x4a5)](),'subUnitId':_0x48d6c8});}async[_0x357007(0x37d)](_0x16528c){const _0x16ef60=_0x357007;let _0x356e34=0x0;const _0x7ba074=await this[_0x16ef60(0x4e9)][_0x16ef60(0x120)](_0x16528c);return _0x7ba074&&(_0x7ba074[_0x16ef60(0x4ac)]||_0x7ba074[_0x16ef60(0x21b)]['length']!==0x0)&&(_0x356e34=_0x7ba074['rev']),_0x356e34===0x0&&this[_0x16ef60(0x514)][_0x16ef60(0x17b)]('[DataLoaderController]',_0x16ef60(0x4f5)),this[_0x16ef60(0x51d)][_0x16ef60(0x244)](_0x16528c,_0x356e34);}async[_0x357007(0x14a)](_0x4dcdcb){const _0xfa3c28=_0x357007;let _0x5f2235=0x0;const _0x185f15=await this[_0xfa3c28(0x4e9)][_0xfa3c28(0x120)](_0x4dcdcb);return _0x185f15&&(_0x185f15[_0xfa3c28(0x4ac)]||_0x185f15['mutations'][_0xfa3c28(0x1b0)]!==0x0)&&(_0x5f2235=_0x185f15[_0xfa3c28(0x483)]),_0x5f2235===0x0&&this[_0xfa3c28(0x514)][_0xfa3c28(0x17b)](_0xfa3c28(0x34c),_0xfa3c28(0x4f5)),this[_0xfa3c28(0x51d)]['loadDoc'](_0x4dcdcb,_0x5f2235);}},_0x325eac[_0x357007(0x1c2)]=_0x23d5f0([_0x50dfc8(0x0,_0x24da1d),_0x50dfc8(0x1,_0x457d20['ILogService']),_0x50dfc8(0x2,_0x457d20[_0x357007(0x324)]),_0x50dfc8(0x3,_0x457d20[_0x357007(0x2c4)](_0x325eac[_0x357007(0x4f9)])),_0x50dfc8(0x4,_0x457d20[_0x357007(0x2c4)](_0x4d26ac[_0x357007(0x19f)])),_0x50dfc8(0x5,_0x457d20[_0x357007(0xe8)](_0x663046[_0x357007(0x161)]))],_0x325eac[_0x357007(0x1c2)]);var _0x2bec0e=Object[_0x357007(0x376)],_0x1de3d7=Object[_0x357007(0x41b)],_0x674ab3=(_0xa5e52f,_0x4a507a,_0x4d7262,_0x4dad53)=>{const _0xd57394=_0x357007;for(var _0x2ffd73=_0x4dad53>0x1?void 0x0:_0x4dad53?_0x1de3d7(_0x4a507a,_0x4d7262):_0x4a507a,_0x31e748=_0xa5e52f[_0xd57394(0x1b0)]-0x1,_0xba8ed0;_0x31e748>=0x0;_0x31e748--)(_0xba8ed0=_0xa5e52f[_0x31e748])&&(_0x2ffd73=(_0x4dad53?_0xba8ed0(_0x4a507a,_0x4d7262,_0x2ffd73):_0xba8ed0(_0x2ffd73))||_0x2ffd73);return _0x4dad53&&_0x2ffd73&&_0x2bec0e(_0x4a507a,_0x4d7262,_0x2ffd73),_0x2ffd73;},_0x770e43=(_0x354a91,_0x5068c6)=>(_0x27d60f,_0x27fabf)=>_0x5068c6(_0x27d60f,_0x27fabf,_0x354a91);const _0x8ba29b=_0x357007(0x254),_0x3b00f3='Univer';let _0x5639bf=class extends _0x457d20[_0x357007(0x348)]{constructor(_0x4e03c7,_0x53d766){const _0x532cd3=_0x357007;super(),this[_0x532cd3(0x140)]=_0x4e03c7,this[_0x532cd3(0x331)]=_0x53d766,this[_0x532cd3(0x47f)]();}[_0x357007(0x47f)](){const _0x2761b1=_0x357007;this[_0x2761b1(0x189)](this[_0x2761b1(0x140)]['focused$'][_0x2761b1(0x479)](()=>{const _0x6e5bc0=_0x2761b1;var _0x486f0c;const _0x162b6d=this['_univerInstanceService'][_0x6e5bc0(0x236)]();let _0x235faa=(_0x486f0c=this[_0x6e5bc0(0x331)][_0x6e5bc0(0x4d5)](_0x8ba29b))!=null?_0x486f0c:_0x3b00f3;_0x162b6d instanceof _0x457d20[_0x6e5bc0(0x56c)]&&(_0x235faa=_0x162b6d[_0x6e5bc0(0x28e)]),document[_0x6e5bc0(0x24d)]=_0x235faa;}));}};_0x5639bf=_0x674ab3([_0x770e43(0x0,_0x457d20['IUniverInstanceService']),_0x770e43(0x1,_0x457d20[_0x357007(0x3cc)])],_0x5639bf);var _0x172f6c=Object[_0x357007(0x376)],_0x1e8f33=Object['getOwnPropertyDescriptor'],_0x1d54df=(_0x5c7a15,_0xa5046e,_0x5e622c,_0x485cde)=>{const _0x2952dd=_0x357007;for(var _0xc0b03=_0x485cde>0x1?void 0x0:_0x485cde?_0x1e8f33(_0xa5046e,_0x5e622c):_0xa5046e,_0x206e6e=_0x5c7a15[_0x2952dd(0x1b0)]-0x1,_0x50c7a5;_0x206e6e>=0x0;_0x206e6e--)(_0x50c7a5=_0x5c7a15[_0x206e6e])&&(_0xc0b03=(_0x485cde?_0x50c7a5(_0xa5046e,_0x5e622c,_0xc0b03):_0x50c7a5(_0xc0b03))||_0xc0b03);return _0x485cde&&_0xc0b03&&_0x172f6c(_0xa5046e,_0x5e622c,_0xc0b03),_0xc0b03;},_0x6b1705=(_0xc71ffd,_0x49bc5d)=>(_0x427d2f,_0x88a123)=>_0x49bc5d(_0x427d2f,_0x88a123,_0xc71ffd);let _0x1ae59a=class{constructor(_0x5e1bc8,_0x46d990,_0x1dc1c0){const _0x5341d4=_0x357007;this[_0x5341d4(0x331)]=_0x5e1bc8,this[_0x5341d4(0x537)]=_0x46d990,this[_0x5341d4(0x30f)]=_0x1dc1c0,this['init']();}[_0x357007(0x192)](){const _0x448d35=_0x357007;this[_0x448d35(0x537)][_0x448d35(0x12b)]({'priority':0x1,'interceptor':(_0x497955,_0x358bba)=>_0x358bba(_0x497955)[_0x448d35(0x3f8)](_0x44a02e[_0x448d35(0x530)](async _0x9b2329=>{const _0x1a2a8b=_0x448d35,_0x3729ad=_0x9b2329;if(_0x3729ad[_0x1a2a8b(0x477)]===0x191&&window['confirm'](this['localeService']['t'](_0x1a2a8b(0x164)))){const _0x5985a8=window[_0x1a2a8b(0x3c1)](window[_0x1a2a8b(0x296)][_0x1a2a8b(0x51a)]);window['location']['href']=this[_0x1a2a8b(0x263)]()+'?url='+_0x5985a8;}return _0x3729ad;}))});}[_0x357007(0x263)](){const _0x4fb933=_0x357007;var _0x3b2b16,_0x12dc69;const _0x147e5f=this['_configService'][_0x4fb933(0x4d5)](_0x53356b),_0x4c25af=this['_configService']['getConfig'](_0x11df2a);return(_0x12dc69=(_0x3b2b16=_0x4c25af==null?void 0x0:_0x4c25af[_0x4fb933(0x575)])!=null?_0x3b2b16:_0x147e5f)!=null?_0x12dc69:_0x435faa;}};_0x1ae59a=_0x1d54df([_0x6b1705(0x0,_0x457d20[_0x357007(0x3cc)]),_0x6b1705(0x1,_0x457d20[_0x357007(0x2c4)](_0x4737a0[_0x357007(0xe3)])),_0x6b1705(0x2,_0x457d20['Inject'](_0x457d20[_0x357007(0x128)]))],_0x1ae59a);var _0x14fe56=Object[_0x357007(0x376)],_0x2eff07=Object[_0x357007(0x41b)],_0x529af3=(_0x3a6803,_0x4b1d52,_0x5bcf46,_0x5cb8f6)=>{const _0x569aea=_0x357007;for(var _0x7531fa=_0x5cb8f6>0x1?void 0x0:_0x5cb8f6?_0x2eff07(_0x4b1d52,_0x5bcf46):_0x4b1d52,_0x45d725=_0x3a6803[_0x569aea(0x1b0)]-0x1,_0x3c07f4;_0x45d725>=0x0;_0x45d725--)(_0x3c07f4=_0x3a6803[_0x45d725])&&(_0x7531fa=(_0x5cb8f6?_0x3c07f4(_0x4b1d52,_0x5bcf46,_0x7531fa):_0x3c07f4(_0x7531fa))||_0x7531fa);return _0x5cb8f6&&_0x7531fa&&_0x14fe56(_0x4b1d52,_0x5bcf46,_0x7531fa),_0x7531fa;},_0x2d8bf6=(_0x229dcc,_0x1b2e8d)=>(_0x3925a3,_0x1521cf)=>_0x1b2e8d(_0x3925a3,_0x1521cf,_0x229dcc);const _0x14f602=_0x357007(0x391),_0x2e35f1=_0x357007(0x536);_0x325eac[_0x357007(0x487)]=class extends _0x457d20[_0x357007(0x348)]{constructor(_0x518696,_0x3f9bb4){const _0x2b24fe=_0x357007;super(),this[_0x2b24fe(0x39e)]=_0x518696,this[_0x2b24fe(0x331)]=_0x3f9bb4,this['_initMergeInterceptor']();}[_0x357007(0x4cf)](){const _0x226808=_0x357007,_0x20de3f=this;this['disposeWithMe'](this[_0x226808(0x39e)][_0x226808(0x12b)]({'priority':0x3e7,'interceptor':_0x4737a0['MergeInterceptorFactory']({'isMatch'(_0x3f1d1d){const _0x436829=_0x226808;var _0x454aef;if(_0x3f1d1d[_0x436829(0x49e)]===_0x436829(0x3a6)&&((_0x454aef=_0x3f1d1d[_0x436829(0x221)])!=null&&_0x454aef[_0x436829(0x156)])){const {objectID:_0x331f5b,objectType:_0x166ced}=_0x3f1d1d[_0x436829(0x221)][_0x436829(0x156)]||{};if(!_0x331f5b||_0x166ced===void 0x0)return!0x1;const _0x390038=_0x20de3f[_0x436829(0x397)]()+'/'+_0x166ced+_0x436829(0x3c7)+_0x331f5b+_0x436829(0x1a4);if(_0x3f1d1d[_0x436829(0x171)]===_0x390038)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4c5200){const _0xb78443=_0x226808;var _0x2aff53;return(_0x2aff53=_0x4c5200[_0xb78443(0x221)])==null?void 0x0:_0x2aff53[_0xb78443(0x156)];},'mergeParamsToRequest'(_0x119db5,_0x53555d){const _0x3a17ad=_0x226808,_0x2f7499=_0x20de3f[_0x3a17ad(0x397)]()+_0x3a17ad(0x43c),_0x104c66=_0x119db5[_0x3a17ad(0x1e2)]((_0x20123c,_0x5efdcf)=>{const _0x5269fb=_0x3a17ad,{unitID:_0x4446b8,objectID:_0x1b53ac,objectType:_0x2eed11,actions:_0x1d8fb3}=_0x5efdcf;return _0x20123c[_0x4446b8]||(_0x20123c[_0x4446b8]={}),_0x20123c[_0x4446b8][_0x1b53ac]||(_0x20123c[_0x4446b8][_0x1b53ac]={'objectID':_0x1b53ac,'objectType':_0x2eed11,'actions':[]}),_0x20123c[_0x4446b8][_0x1b53ac][_0x5269fb(0xeb)]['push'](..._0x1d8fb3),_0x20123c;},{}),_0x130e20=[];for(const _0x4f9cc2 in _0x104c66)for(const _0x277f28 in _0x104c66[_0x4f9cc2]){const {actions:_0x430a4c,objectType:_0x573ca3}=_0x104c66[_0x4f9cc2][_0x277f28],_0x1d8340=[...new Set(_0x430a4c)];_0x130e20[_0x3a17ad(0x39d)]({'unitID':_0x4f9cc2,'objectID':_0x277f28,'objectType':_0x573ca3,'actions':_0x1d8340});}return new _0x4737a0['HTTPRequest'](_0x3a17ad(0x3a6),_0x2f7499,{'headers':_0x53555d[_0x3a17ad(0x2c8)],'withCredentials':_0x53555d[_0x3a17ad(0x29c)],'responseType':_0x53555d['responseType'],'body':{'requests':_0x130e20}});}},{'distributeResult'(_0x1e67ad,_0x5ba734){const _0x485377=_0x226808,{objectActions:_0x53dd6e}=_0x1e67ad;return _0x5ba734[_0x485377(0x595)](_0x2d2784=>{const _0x7d1274=_0x485377,{unitID:_0x53603a,objectID:_0x35c837,actions:_0x187fa1}=_0x2d2784,_0x58d17d=_0x53dd6e[_0x7d1274(0x239)](_0xfa251e=>_0xfa251e[_0x7d1274(0x563)]===_0x53603a&&_0xfa251e[_0x7d1274(0x124)]===_0x35c837),_0x57de81=_0x187fa1[_0x7d1274(0x595)](_0x44e469=>_0x58d17d==null?void 0x0:_0x58d17d[_0x7d1274(0xeb)]['find'](_0x1e8dd1=>_0x1e8dd1[_0x7d1274(0x1d3)]===_0x44e469))['filter'](_0x5ec9d9=>!!_0x5ec9d9);return{'config':_0x2d2784,'result':{'actions':_0x57de81,'error':_0x1e67ad['error']}};});}})}));}[_0x357007(0x397)](){const _0x5cd8bb=_0x357007;var _0x15b1c7,_0x10028c;const _0x392c57=this['_configService'][_0x5cd8bb(0x4d5)](_0x14f602),_0x2e2ec8=this[_0x5cd8bb(0x331)][_0x5cd8bb(0x4d5)](_0x11df2a);return(_0x10028c=(_0x15b1c7=_0x2e2ec8==null?void 0x0:_0x2e2ec8[_0x5cd8bb(0x4b1)])!=null?_0x15b1c7:_0x392c57)!=null?_0x10028c:_0x2e35f1;}async['create'](_0xaf4794){const _0x21cf94=_0x357007,_0x1dfe86=this[_0x21cf94(0x397)]()+'/'+_0xaf4794['objectType']+_0x21cf94(0x2e6);return(await this['_HTTPService'][_0x21cf94(0x2fc)](_0x1dfe86,{'body':_0xaf4794}))['body'][_0x21cf94(0x124)]||'';}async[_0x357007(0x178)](_0x1507e5){const _0x5158f3=_0x357007,_0x404aca=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x5158f3(0x39e)]['post'](_0x404aca,{'body':_0x1507e5}))[_0x5158f3(0x156)][_0x5158f3(0x583)];}async['update'](_0x39280c){const _0x4cfa62=_0x357007,_0x4aa469=this[_0x4cfa62(0x397)]()+'/'+_0x39280c[_0x4cfa62(0x1a9)]+'/object/'+_0x39280c[_0x4cfa62(0x124)];await this[_0x4cfa62(0x39e)][_0x4cfa62(0x410)](_0x4aa469,{'body':_0x39280c});}async['allowed'](_0x2655d0){const _0xe45aad=_0x357007,_0x4bcd00=this[_0xe45aad(0x397)]()+'/'+_0x2655d0[_0xe45aad(0x1a9)]+_0xe45aad(0x3c7)+_0x2655d0[_0xe45aad(0x124)]+_0xe45aad(0x1a4);return(await this[_0xe45aad(0x39e)][_0xe45aad(0x2fc)](_0x4bcd00,{'body':_0x2655d0}))['body']['actions'];}async[_0x357007(0x488)](_0x30da5e){const _0x218a5d=_0x357007,_0x428534=this[_0x218a5d(0x397)]()+_0x218a5d(0x43c);return(await this[_0x218a5d(0x39e)][_0x218a5d(0x2fc)](_0x428534,{'body':{'requests':_0x30da5e}}))[_0x218a5d(0x156)][_0x218a5d(0x21a)];}async[_0x357007(0xea)](_0x36a5f2){const _0x5bb835=_0x357007,_0x5c1b84=this[_0x5bb835(0x397)]()+'/'+_0x36a5f2['objectType']+_0x5bb835(0x42e),_0x320778=await this[_0x5bb835(0x39e)][_0x5bb835(0x2fc)](_0x5c1b84,{'body':_0x36a5f2});return{'roles':_0x320778['body'][_0x5bb835(0x2d0)],'actions':_0x320778['body'][_0x5bb835(0xeb)]};}async[_0x357007(0x1d0)](_0x951b0a){const _0x3689ee=_0x357007,_0x29066d=this[_0x3689ee(0x397)]()+'/collaborator';await this[_0x3689ee(0x39e)][_0x3689ee(0x378)](_0x29066d,{'params':{'collaboratorID':_0x951b0a[_0x3689ee(0x225)],'objectID':_0x951b0a[_0x3689ee(0x124)],'unitID':_0x951b0a[_0x3689ee(0x563)]}});}async[_0x357007(0x21e)](_0x24076f){const _0x381c82=_0x357007,_0x47f05e=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x381c82(0x39e)][_0x381c82(0x54f)](_0x47f05e,{'body':_0x24076f});}async['createCollaborator'](_0x5d6ea5){const _0x564e6d=_0x357007,_0x571960=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x564e6d(0x2fc)](_0x571960,{'body':_0x5d6ea5});}async[_0x357007(0x2ad)](_0xe6b8ba){const _0x11b3b5=_0x357007,_0x558b07=this[_0x11b3b5(0x397)]()+_0x11b3b5(0x2f0);return(await this[_0x11b3b5(0x39e)][_0x11b3b5(0x1b5)](_0x558b07,{'params':{'objectID':_0xe6b8ba[_0x11b3b5(0x124)],'unitID':_0xe6b8ba[_0x11b3b5(0x563)]}}))[_0x11b3b5(0x156)]['collaborators'];}async[_0x357007(0x2eb)](_0x5e8cf7){const _0x3bad44=_0x357007,_0xa39c74=this['_getAPIPrefixPath']()+_0x3bad44(0x2f0);await this[_0x3bad44(0x39e)]['put'](_0xa39c74,{'body':_0x5e8cf7});}},_0x325eac[_0x357007(0x487)]=_0x529af3([_0x2d8bf6(0x0,_0x457d20['Inject'](_0x4737a0['HTTPService'])),_0x2d8bf6(0x1,_0x457d20['Inject'](_0x457d20[_0x357007(0x3cc)]))],_0x325eac['AuthzIoHttpService']);var _0x9d9f40={'exports':{}};function _0x414209(_0x5b9df6){const _0x3ce00c=_0x357007;throw new Error(_0x3ce00c(0x4b4)+_0x5b9df6+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0x508631={'exports':{}},_0x38e0ab;function _0x56fa1b(){return _0x38e0ab||(_0x38e0ab=0x1,function(_0x5f480b,_0x23afb2){(function(_0x40a596,_0x296d77){const _0x5ed297=_0xbbea;_0x5f480b[_0x5ed297(0x241)]=_0x296d77();}(_0x3da64e,function(){var _0x53c73a=_0x53c73a||function(_0xadcf60,_0x31826b){const _0x4614c6=_0xbbea;var _0x89882a;if(typeof window<'u'&&window[_0x4614c6(0x316)]&&(_0x89882a=window[_0x4614c6(0x316)]),typeof self<'u'&&self[_0x4614c6(0x316)]&&(_0x89882a=self[_0x4614c6(0x316)]),typeof globalThis<'u'&&globalThis[_0x4614c6(0x316)]&&(_0x89882a=globalThis[_0x4614c6(0x316)]),!_0x89882a&&typeof window<'u'&&window[_0x4614c6(0x3e8)]&&(_0x89882a=window[_0x4614c6(0x3e8)]),!_0x89882a&&typeof _0x3da64e<'u'&&_0x3da64e[_0x4614c6(0x316)]&&(_0x89882a=_0x3da64e[_0x4614c6(0x316)]),!_0x89882a&&typeof _0x414209==_0x4614c6(0x527))try{_0x89882a=require(_0x4614c6(0x316));}catch{}var _0x4566f9=function(){const _0x1ca8ad=_0x4614c6;if(_0x89882a){if(typeof _0x89882a[_0x1ca8ad(0x425)]==_0x1ca8ad(0x527))try{return _0x89882a[_0x1ca8ad(0x425)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x89882a['randomBytes']==_0x1ca8ad(0x527))try{return _0x89882a['randomBytes'](0x4)[_0x1ca8ad(0x1e4)]();}catch{}}throw new Error(_0x1ca8ad(0x36b));},_0x5904fc=Object[_0x4614c6(0x551)]||(function(){function _0x41fc94(){}return function(_0x402c5a){const _0x22cb09=_0xbbea;var _0x4d8fa1;return _0x41fc94[_0x22cb09(0x2a6)]=_0x402c5a,_0x4d8fa1=new _0x41fc94(),_0x41fc94['prototype']=null,_0x4d8fa1;};}()),_0x5f2c25={},_0x3f9dbf=_0x5f2c25[_0x4614c6(0x3bb)]={},_0x2d1145=_0x3f9dbf['Base']=(function(){return{'extend':function(_0x46386a){const _0x5680f6=_0xbbea;var _0x57c513=_0x5904fc(this);return _0x46386a&&_0x57c513[_0x5680f6(0xfe)](_0x46386a),(!_0x57c513['hasOwnProperty'](_0x5680f6(0x192))||this[_0x5680f6(0x192)]===_0x57c513[_0x5680f6(0x192)])&&(_0x57c513[_0x5680f6(0x192)]=function(){const _0x3c0b88=_0x5680f6;_0x57c513[_0x3c0b88(0x3b8)][_0x3c0b88(0x192)]['apply'](this,arguments);}),_0x57c513[_0x5680f6(0x192)][_0x5680f6(0x2a6)]=_0x57c513,_0x57c513['$super']=this,_0x57c513;},'create':function(){const _0x58af50=_0xbbea;var _0xd29b01=this[_0x58af50(0x308)]();return _0xd29b01[_0x58af50(0x192)]['apply'](_0xd29b01,arguments),_0xd29b01;},'init':function(){},'mixIn':function(_0x4d76ae){const _0x2ce929=_0xbbea;for(var _0x27572f in _0x4d76ae)_0x4d76ae[_0x2ce929(0x4c1)](_0x27572f)&&(this[_0x27572f]=_0x4d76ae[_0x27572f]);_0x4d76ae[_0x2ce929(0x4c1)](_0x2ce929(0x14b))&&(this['toString']=_0x4d76ae[_0x2ce929(0x14b)]);},'clone':function(){const _0x31a2ae=_0xbbea;return this['init']['prototype'][_0x31a2ae(0x308)](this);}};}()),_0x2dd995=_0x3f9dbf[_0x4614c6(0x4a8)]=_0x2d1145[_0x4614c6(0x308)]({'init':function(_0xaffd5f,_0x4fafaf){const _0x1e078b=_0x4614c6;_0xaffd5f=this[_0x1e078b(0x1b9)]=_0xaffd5f||[],_0x4fafaf!=_0x31826b?this[_0x1e078b(0x398)]=_0x4fafaf:this[_0x1e078b(0x398)]=_0xaffd5f[_0x1e078b(0x1b0)]*0x4;},'toString':function(_0x3ad9e2){const _0x253abe=_0x4614c6;return(_0x3ad9e2||_0x5d158d)[_0x253abe(0x219)](this);},'concat':function(_0x428ba1){const _0x31a333=_0x4614c6;var _0x4f736c=this['words'],_0x37b437=_0x428ba1[_0x31a333(0x1b9)],_0x2cb346=this[_0x31a333(0x398)],_0x123f15=_0x428ba1[_0x31a333(0x398)];if(this[_0x31a333(0x15e)](),_0x2cb346%0x4)for(var _0x2eafe0=0x0;_0x2eafe0<_0x123f15;_0x2eafe0++){var _0x383f3c=_0x37b437[_0x2eafe0>>>0x2]>>>0x18-_0x2eafe0%0x4*0x8&0xff;_0x4f736c[_0x2cb346+_0x2eafe0>>>0x2]|=_0x383f3c<<0x18-(_0x2cb346+_0x2eafe0)%0x4*0x8;}else{for(var _0x2cd115=0x0;_0x2cd115<_0x123f15;_0x2cd115+=0x4)_0x4f736c[_0x2cb346+_0x2cd115>>>0x2]=_0x37b437[_0x2cd115>>>0x2];}return this[_0x31a333(0x398)]+=_0x123f15,this;},'clamp':function(){const _0x153f04=_0x4614c6;var _0x4371a7=this[_0x153f04(0x1b9)],_0x5f5af9=this['sigBytes'];_0x4371a7[_0x5f5af9>>>0x2]&=0xffffffff<<0x20-_0x5f5af9%0x4*0x8,_0x4371a7['length']=_0xadcf60[_0x153f04(0x1c4)](_0x5f5af9/0x4);},'clone':function(){const _0x5436c0=_0x4614c6;var _0x238fd9=_0x2d1145['clone'][_0x5436c0(0x4fe)](this);return _0x238fd9['words']=this[_0x5436c0(0x1b9)][_0x5436c0(0x3b7)](0x0),_0x238fd9;},'random':function(_0x3d58d7){const _0x1032cd=_0x4614c6;for(var _0x3c13d1=[],_0x26ba26=0x0;_0x26ba26<_0x3d58d7;_0x26ba26+=0x4)_0x3c13d1[_0x1032cd(0x39d)](_0x4566f9());return new _0x2dd995[(_0x1032cd(0x192))](_0x3c13d1,_0x3d58d7);}}),_0xd10a7=_0x5f2c25[_0x4614c6(0x364)]={},_0x5d158d=_0xd10a7[_0x4614c6(0x33d)]={'stringify':function(_0x176338){const _0xb4760a=_0x4614c6;for(var _0xbfd7e4=_0x176338[_0xb4760a(0x1b9)],_0x26fe81=_0x176338[_0xb4760a(0x398)],_0x4436c8=[],_0x554505=0x0;_0x554505<_0x26fe81;_0x554505++){var _0x271304=_0xbfd7e4[_0x554505>>>0x2]>>>0x18-_0x554505%0x4*0x8&0xff;_0x4436c8[_0xb4760a(0x39d)]((_0x271304>>>0x4)[_0xb4760a(0x14b)](0x10)),_0x4436c8[_0xb4760a(0x39d)]((_0x271304&0xf)[_0xb4760a(0x14b)](0x10));}return _0x4436c8[_0xb4760a(0x205)]('');},'parse':function(_0x28252d){const _0x489f79=_0x4614c6;for(var _0x564781=_0x28252d[_0x489f79(0x1b0)],_0x291fdd=[],_0x54b588=0x0;_0x54b588<_0x564781;_0x54b588+=0x2)_0x291fdd[_0x54b588>>>0x3]|=parseInt(_0x28252d[_0x489f79(0x4a3)](_0x54b588,0x2),0x10)<<0x18-_0x54b588%0x8*0x4;return new _0x2dd995[(_0x489f79(0x192))](_0x291fdd,_0x564781/0x2);}},_0x308621=_0xd10a7['Latin1']={'stringify':function(_0x4258b5){const _0x121ce8=_0x4614c6;for(var _0x9d7e91=_0x4258b5['words'],_0x1117ae=_0x4258b5[_0x121ce8(0x398)],_0x33f710=[],_0x3a6771=0x0;_0x3a6771<_0x1117ae;_0x3a6771++){var _0xb69a3e=_0x9d7e91[_0x3a6771>>>0x2]>>>0x18-_0x3a6771%0x4*0x8&0xff;_0x33f710[_0x121ce8(0x39d)](String['fromCharCode'](_0xb69a3e));}return _0x33f710[_0x121ce8(0x205)]('');},'parse':function(_0x83b886){const _0xb2f857=_0x4614c6;for(var _0x2c8148=_0x83b886[_0xb2f857(0x1b0)],_0x5ad128=[],_0x55f943=0x0;_0x55f943<_0x2c8148;_0x55f943++)_0x5ad128[_0x55f943>>>0x2]|=(_0x83b886['charCodeAt'](_0x55f943)&0xff)<<0x18-_0x55f943%0x4*0x8;return new _0x2dd995[(_0xb2f857(0x192))](_0x5ad128,_0x2c8148);}},_0x249628=_0xd10a7[_0x4614c6(0x185)]={'stringify':function(_0x4012bd){const _0xc38e90=_0x4614c6;try{return decodeURIComponent(escape(_0x308621['stringify'](_0x4012bd)));}catch{throw new Error(_0xc38e90(0x20a));}},'parse':function(_0x5e4c9f){const _0x329e35=_0x4614c6;return _0x308621[_0x329e35(0x406)](unescape(encodeURIComponent(_0x5e4c9f)));}},_0x4d62c3=_0x3f9dbf[_0x4614c6(0x23e)]=_0x2d1145[_0x4614c6(0x308)]({'reset':function(){const _0x3bdb27=_0x4614c6;this[_0x3bdb27(0x2f7)]=new _0x2dd995[(_0x3bdb27(0x192))](),this['_nDataBytes']=0x0;},'_append':function(_0x4f8e29){const _0x55f6e1=_0x4614c6;typeof _0x4f8e29==_0x55f6e1(0x282)&&(_0x4f8e29=_0x249628['parse'](_0x4f8e29)),this[_0x55f6e1(0x2f7)][_0x55f6e1(0x38a)](_0x4f8e29),this[_0x55f6e1(0x3c3)]+=_0x4f8e29[_0x55f6e1(0x398)];},'_process':function(_0x3bb9f9){const _0x5acc04=_0x4614c6;var _0x12d876,_0x2b49af=this[_0x5acc04(0x2f7)],_0x3a75d4=_0x2b49af[_0x5acc04(0x1b9)],_0xcf14e=_0x2b49af[_0x5acc04(0x398)],_0x28d9b3=this[_0x5acc04(0x371)],_0xe7ad01=_0x28d9b3*0x4,_0x3d9610=_0xcf14e/_0xe7ad01;_0x3bb9f9?_0x3d9610=_0xadcf60['ceil'](_0x3d9610):_0x3d9610=_0xadcf60[_0x5acc04(0x10d)]((_0x3d9610|0x0)-this['_minBufferSize'],0x0);var _0x18ab7=_0x3d9610*_0x28d9b3,_0x361e83=_0xadcf60[_0x5acc04(0x51f)](_0x18ab7*0x4,_0xcf14e);if(_0x18ab7){for(var _0x12505a=0x0;_0x12505a<_0x18ab7;_0x12505a+=_0x28d9b3)this[_0x5acc04(0x260)](_0x3a75d4,_0x12505a);_0x12d876=_0x3a75d4[_0x5acc04(0x2da)](0x0,_0x18ab7),_0x2b49af[_0x5acc04(0x398)]-=_0x361e83;}return new _0x2dd995[(_0x5acc04(0x192))](_0x12d876,_0x361e83);},'clone':function(){const _0x517ce8=_0x4614c6;var _0x1c1dee=_0x2d1145[_0x517ce8(0x49f)][_0x517ce8(0x4fe)](this);return _0x1c1dee['_data']=this['_data'][_0x517ce8(0x49f)](),_0x1c1dee;},'_minBufferSize':0x0});_0x3f9dbf['Hasher']=_0x4d62c3[_0x4614c6(0x308)]({'cfg':_0x2d1145[_0x4614c6(0x308)](),'init':function(_0x444234){const _0x17efd3=_0x4614c6;this['cfg']=this[_0x17efd3(0x151)][_0x17efd3(0x308)](_0x444234),this[_0x17efd3(0x1cd)]();},'reset':function(){const _0x2e07f8=_0x4614c6;_0x4d62c3['reset'][_0x2e07f8(0x4fe)](this),this[_0x2e07f8(0x265)]();},'update':function(_0x57349a){const _0xca7cd8=_0x4614c6;return this['_append'](_0x57349a),this[_0xca7cd8(0x269)](),this;},'finalize':function(_0x1e21f9){const _0x2f72aa=_0x4614c6;_0x1e21f9&&this[_0x2f72aa(0x12e)](_0x1e21f9);var _0x12a422=this[_0x2f72aa(0x132)]();return _0x12a422;},'blockSize':0x10,'_createHelper':function(_0x300bdf){return function(_0x1a2025,_0x2385d8){const _0x40f632=_0xbbea;return new _0x300bdf['init'](_0x2385d8)[_0x40f632(0x497)](_0x1a2025);};},'_createHmacHelper':function(_0x165a0c){return function(_0xa7fc88,_0x16ad1a){const _0x22c97f=_0xbbea;return new _0x36aefd[(_0x22c97f(0x4b7))][(_0x22c97f(0x192))](_0x165a0c,_0x16ad1a)[_0x22c97f(0x497)](_0xa7fc88);};}});var _0x36aefd=_0x5f2c25[_0x4614c6(0x4d1)]={};return _0x5f2c25;}(Math);return _0x53c73a;}));}(_0x508631)),_0x508631['exports'];}var _0x7dfb76={'exports':{}},_0x1db95a;function _0x49f822(){const _0x36ed05=_0x357007;return _0x1db95a||(_0x1db95a=0x1,function(_0x45e0cc,_0x6b9b4e){(function(_0x469a64,_0x5b2c39){_0x45e0cc['exports']=_0x5b2c39(_0x56fa1b());}(_0x3da64e,function(_0x342f43){const _0x1d3060=_0xbbea;return(function(){const _0xddbb37=_0xbbea;var _0x14c24=_0x342f43,_0x4fc93a=_0x14c24[_0xddbb37(0x3bb)],_0x2bc7ac=_0x4fc93a[_0xddbb37(0x4a8)],_0x1090f8=_0x14c24[_0xddbb37(0x364)];_0x1090f8['Base64']={'stringify':function(_0x41a5c8){const _0x2425fa=_0xddbb37;var _0x5ef1f3=_0x41a5c8[_0x2425fa(0x1b9)],_0x2f60f4=_0x41a5c8[_0x2425fa(0x398)],_0x48ec4a=this[_0x2425fa(0x50a)];_0x41a5c8[_0x2425fa(0x15e)]();for(var _0x2a9970=[],_0x49e3c6=0x0;_0x49e3c6<_0x2f60f4;_0x49e3c6+=0x3)for(var _0x803319=_0x5ef1f3[_0x49e3c6>>>0x2]>>>0x18-_0x49e3c6%0x4*0x8&0xff,_0x1bd383=_0x5ef1f3[_0x49e3c6+0x1>>>0x2]>>>0x18-(_0x49e3c6+0x1)%0x4*0x8&0xff,_0x25be4a=_0x5ef1f3[_0x49e3c6+0x2>>>0x2]>>>0x18-(_0x49e3c6+0x2)%0x4*0x8&0xff,_0x1ebe56=_0x803319<<0x10|_0x1bd383<<0x8|_0x25be4a,_0x4b446f=0x0;_0x4b446f<0x4&&_0x49e3c6+_0x4b446f*0.75<_0x2f60f4;_0x4b446f++)_0x2a9970[_0x2425fa(0x39d)](_0x48ec4a[_0x2425fa(0x20e)](_0x1ebe56>>>0x6*(0x3-_0x4b446f)&0x3f));var _0x253e41=_0x48ec4a[_0x2425fa(0x20e)](0x40);if(_0x253e41){for(;_0x2a9970[_0x2425fa(0x1b0)]%0x4;)_0x2a9970[_0x2425fa(0x39d)](_0x253e41);}return _0x2a9970['join']('');},'parse':function(_0x974cc){const _0xf28ec6=_0xddbb37;var _0x24a6d2=_0x974cc[_0xf28ec6(0x1b0)],_0x442f61=this[_0xf28ec6(0x50a)],_0x14b5bb=this['_reverseMap'];if(!_0x14b5bb){_0x14b5bb=this[_0xf28ec6(0x1cc)]=[];for(var _0x3f9a94=0x0;_0x3f9a94<_0x442f61[_0xf28ec6(0x1b0)];_0x3f9a94++)_0x14b5bb[_0x442f61[_0xf28ec6(0x4f8)](_0x3f9a94)]=_0x3f9a94;}var _0x2ea4f4=_0x442f61[_0xf28ec6(0x20e)](0x40);if(_0x2ea4f4){var _0x11b0d6=_0x974cc[_0xf28ec6(0x1ee)](_0x2ea4f4);_0x11b0d6!==-0x1&&(_0x24a6d2=_0x11b0d6);}return _0x5ae941(_0x974cc,_0x24a6d2,_0x14b5bb);},'_map':_0xddbb37(0xe4)};function _0x5ae941(_0x15cd95,_0x416855,_0x4d8a82){const _0xf417f5=_0xddbb37;for(var _0x5eceb9=[],_0x4f0fcc=0x0,_0x9f7004=0x0;_0x9f7004<_0x416855;_0x9f7004++)if(_0x9f7004%0x4){var _0x1b1990=_0x4d8a82[_0x15cd95['charCodeAt'](_0x9f7004-0x1)]<<_0x9f7004%0x4*0x2,_0x5446f6=_0x4d8a82[_0x15cd95[_0xf417f5(0x4f8)](_0x9f7004)]>>>0x6-_0x9f7004%0x4*0x2,_0xd978ef=_0x1b1990|_0x5446f6;_0x5eceb9[_0x4f0fcc>>>0x2]|=_0xd978ef<<0x18-_0x4f0fcc%0x4*0x8,_0x4f0fcc++;}return _0x2bc7ac['create'](_0x5eceb9,_0x4f0fcc);}}()),_0x342f43[_0x1d3060(0x364)][_0x1d3060(0x3ce)];}));}(_0x7dfb76)),_0x7dfb76[_0x36ed05(0x241)];}var _0x4030cf={'exports':{}},_0x28ee54;function _0x1f9ac8(){const _0x326053=_0x357007;return _0x28ee54||(_0x28ee54=0x1,function(_0x1b0f8f,_0x53b525){(function(_0x10ffb0,_0x266746){_0x1b0f8f['exports']=_0x266746(_0x56fa1b());}(_0x3da64e,function(_0x27093b){const _0x3563e9=_0xbbea;return function(_0x11287f){const _0x5c0738=_0xbbea;var _0x8fc76b=_0x27093b,_0x306715=_0x8fc76b[_0x5c0738(0x3bb)],_0x2307fc=_0x306715['WordArray'],_0x2275c0=_0x306715[_0x5c0738(0x14c)],_0x18e86b=_0x8fc76b['algo'],_0x38a716=[];(function(){for(var _0x1b9f28=0x0;_0x1b9f28<0x40;_0x1b9f28++)_0x38a716[_0x1b9f28]=_0x11287f['abs'](_0x11287f['sin'](_0x1b9f28+0x1))*0x100000000|0x0;}());var _0x4a2057=_0x18e86b['MD5']=_0x2275c0[_0x5c0738(0x308)]({'_doReset':function(){const _0x142c0a=_0x5c0738;this[_0x142c0a(0x105)]=new _0x2307fc[(_0x142c0a(0x192))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2d4c53,_0x18b860){const _0x963e2e=_0x5c0738;for(var _0x342826=0x0;_0x342826<0x10;_0x342826++){var _0x16d7a6=_0x18b860+_0x342826,_0x4f8309=_0x2d4c53[_0x16d7a6];_0x2d4c53[_0x16d7a6]=(_0x4f8309<<0x8|_0x4f8309>>>0x18)&0xff00ff|(_0x4f8309<<0x18|_0x4f8309>>>0x8)&0xff00ff00;}var _0x586e6c=this[_0x963e2e(0x105)][_0x963e2e(0x1b9)],_0x261663=_0x2d4c53[_0x18b860+0x0],_0x22c249=_0x2d4c53[_0x18b860+0x1],_0x65ce0f=_0x2d4c53[_0x18b860+0x2],_0x7b182d=_0x2d4c53[_0x18b860+0x3],_0x278030=_0x2d4c53[_0x18b860+0x4],_0x1fd2b5=_0x2d4c53[_0x18b860+0x5],_0x1bace7=_0x2d4c53[_0x18b860+0x6],_0x297ae0=_0x2d4c53[_0x18b860+0x7],_0x5f5cd0=_0x2d4c53[_0x18b860+0x8],_0x57b32b=_0x2d4c53[_0x18b860+0x9],_0x533f58=_0x2d4c53[_0x18b860+0xa],_0x2617ce=_0x2d4c53[_0x18b860+0xb],_0xb879dc=_0x2d4c53[_0x18b860+0xc],_0x255851=_0x2d4c53[_0x18b860+0xd],_0x35391c=_0x2d4c53[_0x18b860+0xe],_0x17f7b7=_0x2d4c53[_0x18b860+0xf],_0x55d279=_0x586e6c[0x0],_0x5a8bff=_0x586e6c[0x1],_0xf26b2b=_0x586e6c[0x2],_0x1c1d7c=_0x586e6c[0x3];_0x55d279=_0x20d6b5(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x261663,0x7,_0x38a716[0x0]),_0x1c1d7c=_0x20d6b5(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0x22c249,0xc,_0x38a716[0x1]),_0xf26b2b=_0x20d6b5(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x65ce0f,0x11,_0x38a716[0x2]),_0x5a8bff=_0x20d6b5(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0x7b182d,0x16,_0x38a716[0x3]),_0x55d279=_0x20d6b5(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x278030,0x7,_0x38a716[0x4]),_0x1c1d7c=_0x20d6b5(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0x1fd2b5,0xc,_0x38a716[0x5]),_0xf26b2b=_0x20d6b5(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x1bace7,0x11,_0x38a716[0x6]),_0x5a8bff=_0x20d6b5(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0x297ae0,0x16,_0x38a716[0x7]),_0x55d279=_0x20d6b5(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x5f5cd0,0x7,_0x38a716[0x8]),_0x1c1d7c=_0x20d6b5(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0x57b32b,0xc,_0x38a716[0x9]),_0xf26b2b=_0x20d6b5(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x533f58,0x11,_0x38a716[0xa]),_0x5a8bff=_0x20d6b5(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0x2617ce,0x16,_0x38a716[0xb]),_0x55d279=_0x20d6b5(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0xb879dc,0x7,_0x38a716[0xc]),_0x1c1d7c=_0x20d6b5(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0x255851,0xc,_0x38a716[0xd]),_0xf26b2b=_0x20d6b5(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x35391c,0x11,_0x38a716[0xe]),_0x5a8bff=_0x20d6b5(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0x17f7b7,0x16,_0x38a716[0xf]),_0x55d279=_0x47e41a(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x22c249,0x5,_0x38a716[0x10]),_0x1c1d7c=_0x47e41a(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0x1bace7,0x9,_0x38a716[0x11]),_0xf26b2b=_0x47e41a(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x2617ce,0xe,_0x38a716[0x12]),_0x5a8bff=_0x47e41a(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0x261663,0x14,_0x38a716[0x13]),_0x55d279=_0x47e41a(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x1fd2b5,0x5,_0x38a716[0x14]),_0x1c1d7c=_0x47e41a(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0x533f58,0x9,_0x38a716[0x15]),_0xf26b2b=_0x47e41a(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x17f7b7,0xe,_0x38a716[0x16]),_0x5a8bff=_0x47e41a(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0x278030,0x14,_0x38a716[0x17]),_0x55d279=_0x47e41a(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x57b32b,0x5,_0x38a716[0x18]),_0x1c1d7c=_0x47e41a(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0x35391c,0x9,_0x38a716[0x19]),_0xf26b2b=_0x47e41a(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x7b182d,0xe,_0x38a716[0x1a]),_0x5a8bff=_0x47e41a(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5f5cd0,0x14,_0x38a716[0x1b]),_0x55d279=_0x47e41a(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x255851,0x5,_0x38a716[0x1c]),_0x1c1d7c=_0x47e41a(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0x65ce0f,0x9,_0x38a716[0x1d]),_0xf26b2b=_0x47e41a(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x297ae0,0xe,_0x38a716[0x1e]),_0x5a8bff=_0x47e41a(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0xb879dc,0x14,_0x38a716[0x1f]),_0x55d279=_0x2a1147(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x1fd2b5,0x4,_0x38a716[0x20]),_0x1c1d7c=_0x2a1147(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0x5f5cd0,0xb,_0x38a716[0x21]),_0xf26b2b=_0x2a1147(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x2617ce,0x10,_0x38a716[0x22]),_0x5a8bff=_0x2a1147(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0x35391c,0x17,_0x38a716[0x23]),_0x55d279=_0x2a1147(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x22c249,0x4,_0x38a716[0x24]),_0x1c1d7c=_0x2a1147(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0x278030,0xb,_0x38a716[0x25]),_0xf26b2b=_0x2a1147(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x297ae0,0x10,_0x38a716[0x26]),_0x5a8bff=_0x2a1147(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0x533f58,0x17,_0x38a716[0x27]),_0x55d279=_0x2a1147(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x255851,0x4,_0x38a716[0x28]),_0x1c1d7c=_0x2a1147(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0x261663,0xb,_0x38a716[0x29]),_0xf26b2b=_0x2a1147(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x7b182d,0x10,_0x38a716[0x2a]),_0x5a8bff=_0x2a1147(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0x1bace7,0x17,_0x38a716[0x2b]),_0x55d279=_0x2a1147(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x57b32b,0x4,_0x38a716[0x2c]),_0x1c1d7c=_0x2a1147(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0xb879dc,0xb,_0x38a716[0x2d]),_0xf26b2b=_0x2a1147(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x17f7b7,0x10,_0x38a716[0x2e]),_0x5a8bff=_0x2a1147(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0x65ce0f,0x17,_0x38a716[0x2f]),_0x55d279=_0x22802a(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x261663,0x6,_0x38a716[0x30]),_0x1c1d7c=_0x22802a(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0x297ae0,0xa,_0x38a716[0x31]),_0xf26b2b=_0x22802a(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x35391c,0xf,_0x38a716[0x32]),_0x5a8bff=_0x22802a(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0x1fd2b5,0x15,_0x38a716[0x33]),_0x55d279=_0x22802a(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0xb879dc,0x6,_0x38a716[0x34]),_0x1c1d7c=_0x22802a(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0x7b182d,0xa,_0x38a716[0x35]),_0xf26b2b=_0x22802a(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x533f58,0xf,_0x38a716[0x36]),_0x5a8bff=_0x22802a(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0x22c249,0x15,_0x38a716[0x37]),_0x55d279=_0x22802a(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x5f5cd0,0x6,_0x38a716[0x38]),_0x1c1d7c=_0x22802a(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0x17f7b7,0xa,_0x38a716[0x39]),_0xf26b2b=_0x22802a(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x1bace7,0xf,_0x38a716[0x3a]),_0x5a8bff=_0x22802a(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0x255851,0x15,_0x38a716[0x3b]),_0x55d279=_0x22802a(_0x55d279,_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x278030,0x6,_0x38a716[0x3c]),_0x1c1d7c=_0x22802a(_0x1c1d7c,_0x55d279,_0x5a8bff,_0xf26b2b,_0x2617ce,0xa,_0x38a716[0x3d]),_0xf26b2b=_0x22802a(_0xf26b2b,_0x1c1d7c,_0x55d279,_0x5a8bff,_0x65ce0f,0xf,_0x38a716[0x3e]),_0x5a8bff=_0x22802a(_0x5a8bff,_0xf26b2b,_0x1c1d7c,_0x55d279,_0x57b32b,0x15,_0x38a716[0x3f]),_0x586e6c[0x0]=_0x586e6c[0x0]+_0x55d279|0x0,_0x586e6c[0x1]=_0x586e6c[0x1]+_0x5a8bff|0x0,_0x586e6c[0x2]=_0x586e6c[0x2]+_0xf26b2b|0x0,_0x586e6c[0x3]=_0x586e6c[0x3]+_0x1c1d7c|0x0;},'_doFinalize':function(){const _0x3b3b15=_0x5c0738;var _0x73307a=this[_0x3b3b15(0x2f7)],_0x35b8cc=_0x73307a[_0x3b3b15(0x1b9)],_0x15b2ef=this[_0x3b3b15(0x3c3)]*0x8,_0x2ff55d=_0x73307a[_0x3b3b15(0x398)]*0x8;_0x35b8cc[_0x2ff55d>>>0x5]|=0x80<<0x18-_0x2ff55d%0x20;var _0x4c52a4=_0x11287f[_0x3b3b15(0x251)](_0x15b2ef/0x100000000),_0x3e2da6=_0x15b2ef;_0x35b8cc[(_0x2ff55d+0x40>>>0x9<<0x4)+0xf]=(_0x4c52a4<<0x8|_0x4c52a4>>>0x18)&0xff00ff|(_0x4c52a4<<0x18|_0x4c52a4>>>0x8)&0xff00ff00,_0x35b8cc[(_0x2ff55d+0x40>>>0x9<<0x4)+0xe]=(_0x3e2da6<<0x8|_0x3e2da6>>>0x18)&0xff00ff|(_0x3e2da6<<0x18|_0x3e2da6>>>0x8)&0xff00ff00,_0x73307a['sigBytes']=(_0x35b8cc[_0x3b3b15(0x1b0)]+0x1)*0x4,this[_0x3b3b15(0x269)]();for(var _0x5e88c1=this[_0x3b3b15(0x105)],_0x46ae27=_0x5e88c1[_0x3b3b15(0x1b9)],_0x43f10a=0x0;_0x43f10a<0x4;_0x43f10a++){var _0xb51c85=_0x46ae27[_0x43f10a];_0x46ae27[_0x43f10a]=(_0xb51c85<<0x8|_0xb51c85>>>0x18)&0xff00ff|(_0xb51c85<<0x18|_0xb51c85>>>0x8)&0xff00ff00;}return _0x5e88c1;},'clone':function(){const _0x4324ed=_0x5c0738;var _0x451451=_0x2275c0[_0x4324ed(0x49f)][_0x4324ed(0x4fe)](this);return _0x451451[_0x4324ed(0x105)]=this[_0x4324ed(0x105)][_0x4324ed(0x49f)](),_0x451451;}});function _0x20d6b5(_0x4610d4,_0x1cf6f5,_0x4cfccb,_0x3103e0,_0x903d5d,_0x135195,_0x133ea9){var _0x4bacdc=_0x4610d4+(_0x1cf6f5&_0x4cfccb|~_0x1cf6f5&_0x3103e0)+_0x903d5d+_0x133ea9;return(_0x4bacdc<<_0x135195|_0x4bacdc>>>0x20-_0x135195)+_0x1cf6f5;}function _0x47e41a(_0x51c02b,_0x4af5f6,_0x3a9f75,_0x50020f,_0x29bb0d,_0x26df54,_0x1d8845){var _0x9d63a9=_0x51c02b+(_0x4af5f6&_0x50020f|_0x3a9f75&~_0x50020f)+_0x29bb0d+_0x1d8845;return(_0x9d63a9<<_0x26df54|_0x9d63a9>>>0x20-_0x26df54)+_0x4af5f6;}function _0x2a1147(_0x29ed74,_0x10589d,_0xb4b8ae,_0x11f4b1,_0x5ada2c,_0x145d18,_0x51d749){var _0xeb0dfb=_0x29ed74+(_0x10589d^_0xb4b8ae^_0x11f4b1)+_0x5ada2c+_0x51d749;return(_0xeb0dfb<<_0x145d18|_0xeb0dfb>>>0x20-_0x145d18)+_0x10589d;}function _0x22802a(_0x39686e,_0x12d4a5,_0x31956a,_0x22da16,_0x46818b,_0x5396d8,_0x3d3187){var _0x2704ca=_0x39686e+(_0x31956a^(_0x12d4a5|~_0x22da16))+_0x46818b+_0x3d3187;return(_0x2704ca<<_0x5396d8|_0x2704ca>>>0x20-_0x5396d8)+_0x12d4a5;}_0x8fc76b[_0x5c0738(0x3a9)]=_0x2275c0['_createHelper'](_0x4a2057),_0x8fc76b[_0x5c0738(0x571)]=_0x2275c0['_createHmacHelper'](_0x4a2057);}(Math),_0x27093b[_0x3563e9(0x3a9)];}));}(_0x4030cf)),_0x4030cf[_0x326053(0x241)];}var _0x1cdf78={'exports':{}},_0x3ef941={'exports':{}},_0x1c35ba;function _0x15db80(){const _0x88364b=_0x357007;return _0x1c35ba||(_0x1c35ba=0x1,function(_0x2c1918,_0x4aa426){(function(_0x3b1a05,_0x154193){_0x2c1918['exports']=_0x154193(_0x56fa1b());}(_0x3da64e,function(_0x5c36aa){const _0x503780=_0xbbea;return(function(){const _0x5dcd4b=_0xbbea;var _0x5e7a0d=_0x5c36aa,_0x4e5425=_0x5e7a0d['lib'],_0x430a40=_0x4e5425[_0x5dcd4b(0x4a8)],_0x1e9b07=_0x4e5425['Hasher'],_0x20a664=_0x5e7a0d[_0x5dcd4b(0x4d1)],_0x4a80ea=[],_0x5d5485=_0x20a664[_0x5dcd4b(0x4b5)]=_0x1e9b07['extend']({'_doReset':function(){const _0x57419d=_0x5dcd4b;this[_0x57419d(0x105)]=new _0x430a40[(_0x57419d(0x192))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5c555a,_0xa9c5e3){const _0x83c8e6=_0x5dcd4b;for(var _0xb23d9c=this[_0x83c8e6(0x105)][_0x83c8e6(0x1b9)],_0x49933d=_0xb23d9c[0x0],_0x40475e=_0xb23d9c[0x1],_0x5e4ae7=_0xb23d9c[0x2],_0x29f612=_0xb23d9c[0x3],_0x4df3b4=_0xb23d9c[0x4],_0x1ceac4=0x0;_0x1ceac4<0x50;_0x1ceac4++){if(_0x1ceac4<0x10)_0x4a80ea[_0x1ceac4]=_0x5c555a[_0xa9c5e3+_0x1ceac4]|0x0;else{var _0x22d33d=_0x4a80ea[_0x1ceac4-0x3]^_0x4a80ea[_0x1ceac4-0x8]^_0x4a80ea[_0x1ceac4-0xe]^_0x4a80ea[_0x1ceac4-0x10];_0x4a80ea[_0x1ceac4]=_0x22d33d<<0x1|_0x22d33d>>>0x1f;}var _0x1a75a2=(_0x49933d<<0x5|_0x49933d>>>0x1b)+_0x4df3b4+_0x4a80ea[_0x1ceac4];_0x1ceac4<0x14?_0x1a75a2+=(_0x40475e&_0x5e4ae7|~_0x40475e&_0x29f612)+0x5a827999:_0x1ceac4<0x28?_0x1a75a2+=(_0x40475e^_0x5e4ae7^_0x29f612)+0x6ed9eba1:_0x1ceac4<0x3c?_0x1a75a2+=(_0x40475e&_0x5e4ae7|_0x40475e&_0x29f612|_0x5e4ae7&_0x29f612)-0x70e44324:_0x1a75a2+=(_0x40475e^_0x5e4ae7^_0x29f612)-0x359d3e2a,_0x4df3b4=_0x29f612,_0x29f612=_0x5e4ae7,_0x5e4ae7=_0x40475e<<0x1e|_0x40475e>>>0x2,_0x40475e=_0x49933d,_0x49933d=_0x1a75a2;}_0xb23d9c[0x0]=_0xb23d9c[0x0]+_0x49933d|0x0,_0xb23d9c[0x1]=_0xb23d9c[0x1]+_0x40475e|0x0,_0xb23d9c[0x2]=_0xb23d9c[0x2]+_0x5e4ae7|0x0,_0xb23d9c[0x3]=_0xb23d9c[0x3]+_0x29f612|0x0,_0xb23d9c[0x4]=_0xb23d9c[0x4]+_0x4df3b4|0x0;},'_doFinalize':function(){const _0x348570=_0x5dcd4b;var _0xfc59c=this[_0x348570(0x2f7)],_0x1ea4fc=_0xfc59c[_0x348570(0x1b9)],_0x535b7b=this[_0x348570(0x3c3)]*0x8,_0x1a15e0=_0xfc59c['sigBytes']*0x8;return _0x1ea4fc[_0x1a15e0>>>0x5]|=0x80<<0x18-_0x1a15e0%0x20,_0x1ea4fc[(_0x1a15e0+0x40>>>0x9<<0x4)+0xe]=Math[_0x348570(0x251)](_0x535b7b/0x100000000),_0x1ea4fc[(_0x1a15e0+0x40>>>0x9<<0x4)+0xf]=_0x535b7b,_0xfc59c[_0x348570(0x398)]=_0x1ea4fc['length']*0x4,this[_0x348570(0x269)](),this['_hash'];},'clone':function(){const _0x40ea5f=_0x5dcd4b;var _0x43cab6=_0x1e9b07[_0x40ea5f(0x49f)][_0x40ea5f(0x4fe)](this);return _0x43cab6[_0x40ea5f(0x105)]=this['_hash'][_0x40ea5f(0x49f)](),_0x43cab6;}});_0x5e7a0d[_0x5dcd4b(0x4b5)]=_0x1e9b07[_0x5dcd4b(0x557)](_0x5d5485),_0x5e7a0d[_0x5dcd4b(0x385)]=_0x1e9b07['_createHmacHelper'](_0x5d5485);}()),_0x5c36aa[_0x503780(0x4b5)];}));}(_0x3ef941)),_0x3ef941[_0x88364b(0x241)];}var _0xd3e615={'exports':{}},_0x1c8438;function _0xcc930a(){return _0x1c8438||(_0x1c8438=0x1,function(_0x120fff,_0x29e7a8){(function(_0x5645f2,_0x2648fb){_0x120fff['exports']=_0x2648fb(_0x56fa1b());}(_0x3da64e,function(_0x490f20){(function(){const _0x5562ee=_0xbbea;var _0x58e04c=_0x490f20,_0x40ccaf=_0x58e04c[_0x5562ee(0x3bb)],_0x20528e=_0x40ccaf['Base'],_0x474cbd=_0x58e04c[_0x5562ee(0x364)],_0x408d18=_0x474cbd[_0x5562ee(0x185)],_0xd072a3=_0x58e04c[_0x5562ee(0x4d1)];_0xd072a3[_0x5562ee(0x4b7)]=_0x20528e[_0x5562ee(0x308)]({'init':function(_0x5acf5b,_0x4b74c3){const _0x24d26f=_0x5562ee;_0x5acf5b=this[_0x24d26f(0x2c0)]=new _0x5acf5b[(_0x24d26f(0x192))](),typeof _0x4b74c3=='string'&&(_0x4b74c3=_0x408d18[_0x24d26f(0x406)](_0x4b74c3));var _0x4152e9=_0x5acf5b['blockSize'],_0x3859b4=_0x4152e9*0x4;_0x4b74c3[_0x24d26f(0x398)]>_0x3859b4&&(_0x4b74c3=_0x5acf5b[_0x24d26f(0x497)](_0x4b74c3)),_0x4b74c3[_0x24d26f(0x15e)]();for(var _0xbb1648=this[_0x24d26f(0x534)]=_0x4b74c3[_0x24d26f(0x49f)](),_0x218166=this[_0x24d26f(0x4ea)]=_0x4b74c3[_0x24d26f(0x49f)](),_0x352210=_0xbb1648[_0x24d26f(0x1b9)],_0x44c538=_0x218166[_0x24d26f(0x1b9)],_0x16a275=0x0;_0x16a275<_0x4152e9;_0x16a275++)_0x352210[_0x16a275]^=0x5c5c5c5c,_0x44c538[_0x16a275]^=0x36363636;_0xbb1648[_0x24d26f(0x398)]=_0x218166[_0x24d26f(0x398)]=_0x3859b4,this[_0x24d26f(0x1cd)]();},'reset':function(){const _0x18d007=_0x5562ee;var _0x30588a=this[_0x18d007(0x2c0)];_0x30588a['reset'](),_0x30588a[_0x18d007(0x344)](this[_0x18d007(0x4ea)]);},'update':function(_0x19f524){const _0x2ac027=_0x5562ee;return this[_0x2ac027(0x2c0)]['update'](_0x19f524),this;},'finalize':function(_0x2c8bc6){const _0x309310=_0x5562ee;var _0x22bb3a=this['_hasher'],_0x1c4a98=_0x22bb3a[_0x309310(0x497)](_0x2c8bc6);_0x22bb3a[_0x309310(0x1cd)]();var _0x407de6=_0x22bb3a['finalize'](this['_oKey'][_0x309310(0x49f)]()['concat'](_0x1c4a98));return _0x407de6;}});}());}));}(_0xd3e615)),_0xd3e615['exports'];}var _0x4b61f0;function _0x445a4a(){const _0x459557=_0x357007;return _0x4b61f0||(_0x4b61f0=0x1,function(_0x2da1f1,_0x21df92){(function(_0x3ef034,_0x3860fd,_0x40d7d4){const _0x1a3636=_0xbbea;_0x2da1f1[_0x1a3636(0x241)]=_0x3860fd(_0x56fa1b(),_0x15db80(),_0xcc930a());}(_0x3da64e,function(_0xb30d06){const _0x270606=_0xbbea;return(function(){const _0x95dbbe=_0xbbea;var _0x4e7d3d=_0xb30d06,_0x124d44=_0x4e7d3d[_0x95dbbe(0x3bb)],_0x39b47a=_0x124d44[_0x95dbbe(0x562)],_0x590188=_0x124d44[_0x95dbbe(0x4a8)],_0x25df04=_0x4e7d3d[_0x95dbbe(0x4d1)],_0x357f54=_0x25df04[_0x95dbbe(0x3a9)],_0x51acd2=_0x25df04[_0x95dbbe(0x464)]=_0x39b47a[_0x95dbbe(0x308)]({'cfg':_0x39b47a[_0x95dbbe(0x308)]({'keySize':0x80/0x20,'hasher':_0x357f54,'iterations':0x1}),'init':function(_0x445172){const _0x301d89=_0x95dbbe;this[_0x301d89(0x151)]=this[_0x301d89(0x151)][_0x301d89(0x308)](_0x445172);},'compute':function(_0x2a6b08,_0x1c9a2f){const _0xd79d2c=_0x95dbbe;for(var _0x9f8df9,_0x8bb397=this[_0xd79d2c(0x151)],_0x3e625e=_0x8bb397[_0xd79d2c(0x155)][_0xd79d2c(0x551)](),_0x241b35=_0x590188[_0xd79d2c(0x551)](),_0x5c0136=_0x241b35[_0xd79d2c(0x1b9)],_0x43ac48=_0x8bb397[_0xd79d2c(0x4cc)],_0x67d8f8=_0x8bb397[_0xd79d2c(0x3fc)];_0x5c0136[_0xd79d2c(0x1b0)]<_0x43ac48;){_0x9f8df9&&_0x3e625e[_0xd79d2c(0x344)](_0x9f8df9),_0x9f8df9=_0x3e625e[_0xd79d2c(0x344)](_0x2a6b08)[_0xd79d2c(0x497)](_0x1c9a2f),_0x3e625e[_0xd79d2c(0x1cd)]();for(var _0x4a5a72=0x1;_0x4a5a72<_0x67d8f8;_0x4a5a72++)_0x9f8df9=_0x3e625e['finalize'](_0x9f8df9),_0x3e625e[_0xd79d2c(0x1cd)]();_0x241b35[_0xd79d2c(0x38a)](_0x9f8df9);}return _0x241b35[_0xd79d2c(0x398)]=_0x43ac48*0x4,_0x241b35;}});_0x4e7d3d[_0x95dbbe(0x464)]=function(_0x27be41,_0x50e91c,_0x1d3667){const _0xf9db09=_0x95dbbe;return _0x51acd2[_0xf9db09(0x551)](_0x1d3667)[_0xf9db09(0x30a)](_0x27be41,_0x50e91c);};}()),_0xb30d06[_0x270606(0x464)];}));}(_0x1cdf78)),_0x1cdf78[_0x459557(0x241)];}var _0x31667a={'exports':{}},_0x18afa3;function _0x3f1b65(){const _0x591744=_0x357007;return _0x18afa3||(_0x18afa3=0x1,function(_0x11bd96,_0x38d6e7){(function(_0x48193c,_0x4accd0,_0x52d1b3){const _0x4dfaba=_0xbbea;_0x11bd96[_0x4dfaba(0x241)]=_0x4accd0(_0x56fa1b(),_0x445a4a());}(_0x3da64e,function(_0x2dd503){const _0x361cee=_0xbbea;_0x2dd503[_0x361cee(0x3bb)][_0x361cee(0x1df)]||function(_0x2fdd23){const _0x1c9091=_0x361cee;var _0x224477=_0x2dd503,_0x4bec8f=_0x224477[_0x1c9091(0x3bb)],_0x48e714=_0x4bec8f[_0x1c9091(0x562)],_0x1e7d98=_0x4bec8f[_0x1c9091(0x4a8)],_0x58f00a=_0x4bec8f[_0x1c9091(0x23e)],_0x19d220=_0x224477['enc'];_0x19d220[_0x1c9091(0x185)];var _0x2c975e=_0x19d220[_0x1c9091(0x3ce)],_0x2b669f=_0x224477['algo'],_0x1273bf=_0x2b669f[_0x1c9091(0x464)],_0x23eb3f=_0x4bec8f[_0x1c9091(0x1df)]=_0x58f00a[_0x1c9091(0x308)]({'cfg':_0x48e714[_0x1c9091(0x308)](),'createEncryptor':function(_0x2dbb40,_0x41c375){const _0x3a9878=_0x1c9091;return this['create'](this[_0x3a9878(0x22a)],_0x2dbb40,_0x41c375);},'createDecryptor':function(_0x2803da,_0x5e06ee){const _0x5c7023=_0x1c9091;return this['create'](this[_0x5c7023(0x599)],_0x2803da,_0x5e06ee);},'init':function(_0x4d95e4,_0x12264b,_0x1483fa){const _0x3f1848=_0x1c9091;this[_0x3f1848(0x151)]=this[_0x3f1848(0x151)]['extend'](_0x1483fa),this[_0x3f1848(0x4f2)]=_0x4d95e4,this[_0x3f1848(0x515)]=_0x12264b,this[_0x3f1848(0x1cd)]();},'reset':function(){const _0x1125bf=_0x1c9091;_0x58f00a[_0x1125bf(0x1cd)]['call'](this),this[_0x1125bf(0x265)]();},'process':function(_0x3f8de7){const _0x501140=_0x1c9091;return this[_0x501140(0x12e)](_0x3f8de7),this[_0x501140(0x269)]();},'finalize':function(_0x5a7221){const _0x404eb4=_0x1c9091;_0x5a7221&&this['_append'](_0x5a7221);var _0x3fc479=this[_0x404eb4(0x132)]();return _0x3fc479;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2ddf52(_0x583af0){const _0x48815c=_0xbbea;return typeof _0x583af0==_0x48815c(0x282)?_0x42d7d9:_0xecedfb;}return function(_0x2c385f){return{'encrypt':function(_0x5aefc8,_0x1546b6,_0x37ffa6){const _0x7dc5a2=_0xbbea;return _0x2ddf52(_0x1546b6)[_0x7dc5a2(0x396)](_0x2c385f,_0x5aefc8,_0x1546b6,_0x37ffa6);},'decrypt':function(_0x4f9ff8,_0x5ab7d2,_0x264330){const _0x2d1b48=_0xbbea;return _0x2ddf52(_0x5ab7d2)[_0x2d1b48(0x20f)](_0x2c385f,_0x4f9ff8,_0x5ab7d2,_0x264330);}};};}())});_0x4bec8f['StreamCipher']=_0x23eb3f['extend']({'_doFinalize':function(){const _0x3d4376=_0x1c9091;var _0x57b5ea=this[_0x3d4376(0x269)](!0x0);return _0x57b5ea;},'blockSize':0x1});var _0x3bf87f=_0x224477[_0x1c9091(0x21c)]={},_0x2a6be1=_0x4bec8f[_0x1c9091(0x16d)]=_0x48e714[_0x1c9091(0x308)]({'createEncryptor':function(_0x3c7e93,_0x564eea){const _0x3ec546=_0x1c9091;return this[_0x3ec546(0x112)][_0x3ec546(0x551)](_0x3c7e93,_0x564eea);},'createDecryptor':function(_0xaab240,_0x494fd4){const _0x36f454=_0x1c9091;return this[_0x36f454(0x149)]['create'](_0xaab240,_0x494fd4);},'init':function(_0x17541e,_0x5ccca4){const _0x30bce6=_0x1c9091;this['_cipher']=_0x17541e,this[_0x30bce6(0x228)]=_0x5ccca4;}}),_0x5a9596=_0x3bf87f[_0x1c9091(0x39f)]=(function(){const _0xdffe03=_0x1c9091;var _0x18ab93=_0x2a6be1[_0xdffe03(0x308)]();_0x18ab93[_0xdffe03(0x112)]=_0x18ab93['extend']({'processBlock':function(_0x4282e1,_0x358d06){const _0x4ece82=_0xdffe03;var _0x40e025=this[_0x4ece82(0x14d)],_0x26547f=_0x40e025[_0x4ece82(0x371)];_0x2b3aa1[_0x4ece82(0x4fe)](this,_0x4282e1,_0x358d06,_0x26547f),_0x40e025[_0x4ece82(0x382)](_0x4282e1,_0x358d06),this[_0x4ece82(0x54b)]=_0x4282e1[_0x4ece82(0x3b7)](_0x358d06,_0x358d06+_0x26547f);}}),_0x18ab93[_0xdffe03(0x149)]=_0x18ab93[_0xdffe03(0x308)]({'processBlock':function(_0x10bf4e,_0x242d52){const _0x5215e0=_0xdffe03;var _0x443962=this['_cipher'],_0x59dfbe=_0x443962[_0x5215e0(0x371)],_0x3051e1=_0x10bf4e[_0x5215e0(0x3b7)](_0x242d52,_0x242d52+_0x59dfbe);_0x443962[_0x5215e0(0x489)](_0x10bf4e,_0x242d52),_0x2b3aa1[_0x5215e0(0x4fe)](this,_0x10bf4e,_0x242d52,_0x59dfbe),this[_0x5215e0(0x54b)]=_0x3051e1;}});function _0x2b3aa1(_0xb5c7f4,_0x40b6a1,_0x3080cf){const _0x1c0482=_0xdffe03;var _0x468710,_0x54bea7=this['_iv'];_0x54bea7?(_0x468710=_0x54bea7,this[_0x1c0482(0x228)]=_0x2fdd23):_0x468710=this[_0x1c0482(0x54b)];for(var _0x38a580=0x0;_0x38a580<_0x3080cf;_0x38a580++)_0xb5c7f4[_0x40b6a1+_0x38a580]^=_0x468710[_0x38a580];}return _0x18ab93;}()),_0x56d619=_0x224477[_0x1c9091(0x56e)]={},_0x59c880=_0x56d619[_0x1c9091(0x3e3)]={'pad':function(_0x106aee,_0x209067){const _0x59e9c8=_0x1c9091;for(var _0x4dfc42=_0x209067*0x4,_0x209415=_0x4dfc42-_0x106aee['sigBytes']%_0x4dfc42,_0xffc52d=_0x209415<<0x18|_0x209415<<0x10|_0x209415<<0x8|_0x209415,_0x301e76=[],_0x2f9ea8=0x0;_0x2f9ea8<_0x209415;_0x2f9ea8+=0x4)_0x301e76[_0x59e9c8(0x39d)](_0xffc52d);var _0x217b48=_0x1e7d98[_0x59e9c8(0x551)](_0x301e76,_0x209415);_0x106aee['concat'](_0x217b48);},'unpad':function(_0x4b5c7e){const _0x2dab80=_0x1c9091;var _0x3ea10e=_0x4b5c7e[_0x2dab80(0x1b9)][_0x4b5c7e[_0x2dab80(0x398)]-0x1>>>0x2]&0xff;_0x4b5c7e['sigBytes']-=_0x3ea10e;}};_0x4bec8f[_0x1c9091(0x1ad)]=_0x23eb3f[_0x1c9091(0x308)]({'cfg':_0x23eb3f['cfg'][_0x1c9091(0x308)]({'mode':_0x5a9596,'padding':_0x59c880}),'reset':function(){const _0x5bfc63=_0x1c9091;var _0x281e7e;_0x23eb3f[_0x5bfc63(0x1cd)][_0x5bfc63(0x4fe)](this);var _0x5414c3=this['cfg'],_0x3cf2e0=_0x5414c3['iv'],_0x4cbee5=_0x5414c3[_0x5bfc63(0x21c)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x281e7e=_0x4cbee5[_0x5bfc63(0x1a8)]:(_0x281e7e=_0x4cbee5['createDecryptor'],this['_minBufferSize']=0x1),this[_0x5bfc63(0x59e)]&&this['_mode'][_0x5bfc63(0x2f3)]==_0x281e7e?this[_0x5bfc63(0x59e)]['init'](this,_0x3cf2e0&&_0x3cf2e0['words']):(this[_0x5bfc63(0x59e)]=_0x281e7e[_0x5bfc63(0x4fe)](_0x4cbee5,this,_0x3cf2e0&&_0x3cf2e0[_0x5bfc63(0x1b9)]),this[_0x5bfc63(0x59e)]['__creator']=_0x281e7e);},'_doProcessBlock':function(_0x1c49e8,_0x621969){const _0x5f3b7b=_0x1c9091;this[_0x5f3b7b(0x59e)][_0x5f3b7b(0x2fe)](_0x1c49e8,_0x621969);},'_doFinalize':function(){const _0x50eff6=_0x1c9091;var _0x55b95b,_0x50a1b4=this[_0x50eff6(0x151)][_0x50eff6(0x106)];return this[_0x50eff6(0x4f2)]==this[_0x50eff6(0x22a)]?(_0x50a1b4[_0x50eff6(0x56e)](this[_0x50eff6(0x2f7)],this[_0x50eff6(0x371)]),_0x55b95b=this[_0x50eff6(0x269)](!0x0)):(_0x55b95b=this['_process'](!0x0),_0x50a1b4[_0x50eff6(0x172)](_0x55b95b)),_0x55b95b;},'blockSize':0x80/0x20});var _0xceb61c=_0x4bec8f['CipherParams']=_0x48e714[_0x1c9091(0x308)]({'init':function(_0x300a2a){const _0x4cd5ca=_0x1c9091;this[_0x4cd5ca(0xfe)](_0x300a2a);},'toString':function(_0xe2d174){const _0xf2e0ed=_0x1c9091;return(_0xe2d174||this['formatter'])[_0xf2e0ed(0x219)](this);}}),_0x494e8a=_0x224477[_0x1c9091(0x23c)]={},_0x52731c=_0x494e8a['OpenSSL']={'stringify':function(_0x1bb985){const _0x136387=_0x1c9091;var _0x1f9b3a,_0x5b2761=_0x1bb985['ciphertext'],_0x23bfe6=_0x1bb985[_0x136387(0x28a)];return _0x23bfe6?_0x1f9b3a=_0x1e7d98[_0x136387(0x551)]([0x53616c74,0x65645f5f])[_0x136387(0x38a)](_0x23bfe6)['concat'](_0x5b2761):_0x1f9b3a=_0x5b2761,_0x1f9b3a[_0x136387(0x14b)](_0x2c975e);},'parse':function(_0x5d38e5){const _0xf4a609=_0x1c9091;var _0x493748,_0x3edef2=_0x2c975e[_0xf4a609(0x406)](_0x5d38e5),_0x4766aa=_0x3edef2[_0xf4a609(0x1b9)];return _0x4766aa[0x0]==0x53616c74&&_0x4766aa[0x1]==0x65645f5f&&(_0x493748=_0x1e7d98['create'](_0x4766aa[_0xf4a609(0x3b7)](0x2,0x4)),_0x4766aa[_0xf4a609(0x2da)](0x0,0x4),_0x3edef2[_0xf4a609(0x398)]-=0x10),_0xceb61c['create']({'ciphertext':_0x3edef2,'salt':_0x493748});}},_0xecedfb=_0x4bec8f[_0x1c9091(0x432)]=_0x48e714[_0x1c9091(0x308)]({'cfg':_0x48e714[_0x1c9091(0x308)]({'format':_0x52731c}),'encrypt':function(_0x2d7af0,_0x3ef196,_0x38db34,_0x45cf06){const _0x4d79a5=_0x1c9091;_0x45cf06=this[_0x4d79a5(0x151)][_0x4d79a5(0x308)](_0x45cf06);var _0x6e5042=_0x2d7af0['createEncryptor'](_0x38db34,_0x45cf06),_0x2ad338=_0x6e5042[_0x4d79a5(0x497)](_0x3ef196),_0x184f78=_0x6e5042[_0x4d79a5(0x151)];return _0xceb61c[_0x4d79a5(0x551)]({'ciphertext':_0x2ad338,'key':_0x38db34,'iv':_0x184f78['iv'],'algorithm':_0x2d7af0,'mode':_0x184f78[_0x4d79a5(0x21c)],'padding':_0x184f78['padding'],'blockSize':_0x2d7af0[_0x4d79a5(0x371)],'formatter':_0x45cf06[_0x4d79a5(0x23c)]});},'decrypt':function(_0x30c46c,_0x548b20,_0x3103bf,_0x3c0823){const _0x32531b=_0x1c9091;_0x3c0823=this[_0x32531b(0x151)][_0x32531b(0x308)](_0x3c0823),_0x548b20=this[_0x32531b(0x3ad)](_0x548b20,_0x3c0823[_0x32531b(0x23c)]);var _0x4d2fd0=_0x30c46c[_0x32531b(0x5ac)](_0x3103bf,_0x3c0823)[_0x32531b(0x497)](_0x548b20[_0x32531b(0x29e)]);return _0x4d2fd0;},'_parse':function(_0x534f09,_0x2ec7ed){const _0x5666a8=_0x1c9091;return typeof _0x534f09=='string'?_0x2ec7ed[_0x5666a8(0x406)](_0x534f09,this):_0x534f09;}}),_0x395c31=_0x224477['kdf']={},_0x46c60f=_0x395c31[_0x1c9091(0x37f)]={'execute':function(_0x46b04c,_0x5a3881,_0x59c364,_0x15b345,_0x37a6ce){const _0x1d2461=_0x1c9091;if(_0x15b345||(_0x15b345=_0x1e7d98[_0x1d2461(0x524)](0x40/0x8)),_0x37a6ce)var _0x9b0c8d=_0x1273bf[_0x1d2461(0x551)]({'keySize':_0x5a3881+_0x59c364,'hasher':_0x37a6ce})[_0x1d2461(0x30a)](_0x46b04c,_0x15b345);else var _0x9b0c8d=_0x1273bf[_0x1d2461(0x551)]({'keySize':_0x5a3881+_0x59c364})[_0x1d2461(0x30a)](_0x46b04c,_0x15b345);var _0x5d5bea=_0x1e7d98[_0x1d2461(0x551)](_0x9b0c8d['words'][_0x1d2461(0x3b7)](_0x5a3881),_0x59c364*0x4);return _0x9b0c8d[_0x1d2461(0x398)]=_0x5a3881*0x4,_0xceb61c['create']({'key':_0x9b0c8d,'iv':_0x5d5bea,'salt':_0x15b345});}},_0x42d7d9=_0x4bec8f[_0x1c9091(0x2a9)]=_0xecedfb[_0x1c9091(0x308)]({'cfg':_0xecedfb[_0x1c9091(0x151)]['extend']({'kdf':_0x46c60f}),'encrypt':function(_0x5c68ee,_0x52cb1b,_0x51d6d2,_0x425cd9){const _0x58cb7a=_0x1c9091;_0x425cd9=this[_0x58cb7a(0x151)][_0x58cb7a(0x308)](_0x425cd9);var _0x29a989=_0x425cd9[_0x58cb7a(0x3ed)][_0x58cb7a(0x2ae)](_0x51d6d2,_0x5c68ee[_0x58cb7a(0x4cc)],_0x5c68ee['ivSize'],_0x425cd9[_0x58cb7a(0x28a)],_0x425cd9[_0x58cb7a(0x155)]);_0x425cd9['iv']=_0x29a989['iv'];var _0x5de6c0=_0xecedfb[_0x58cb7a(0x396)][_0x58cb7a(0x4fe)](this,_0x5c68ee,_0x52cb1b,_0x29a989['key'],_0x425cd9);return _0x5de6c0[_0x58cb7a(0xfe)](_0x29a989),_0x5de6c0;},'decrypt':function(_0x71d2b8,_0x16f832,_0x1c507d,_0x3bffc9){const _0x9027a7=_0x1c9091;_0x3bffc9=this[_0x9027a7(0x151)][_0x9027a7(0x308)](_0x3bffc9),_0x16f832=this['_parse'](_0x16f832,_0x3bffc9[_0x9027a7(0x23c)]);var _0x2ce82f=_0x3bffc9[_0x9027a7(0x3ed)]['execute'](_0x1c507d,_0x71d2b8[_0x9027a7(0x4cc)],_0x71d2b8['ivSize'],_0x16f832[_0x9027a7(0x28a)],_0x3bffc9[_0x9027a7(0x155)]);_0x3bffc9['iv']=_0x2ce82f['iv'];var _0x58e9fe=_0xecedfb['decrypt'][_0x9027a7(0x4fe)](this,_0x71d2b8,_0x16f832,_0x2ce82f['key'],_0x3bffc9);return _0x58e9fe;}});}();}));}(_0x31667a)),_0x31667a[_0x591744(0x241)];}(function(_0x4d6415,_0x3861be){(function(_0x57b126,_0x2ee231,_0x1c0a04){const _0x24eb74=_0xbbea;_0x4d6415[_0x24eb74(0x241)]=_0x2ee231(_0x56fa1b(),_0x49f822(),_0x1f9ac8(),_0x445a4a(),_0x3f1b65());}(_0x3da64e,function(_0x527ddc){const _0x10d124=_0xbbea;return(function(){const _0x4913c8=_0xbbea;var _0x2424fb=_0x527ddc,_0xbf894f=_0x2424fb[_0x4913c8(0x3bb)],_0x52f9=_0xbf894f[_0x4913c8(0x1ad)],_0x4fd92a=_0x2424fb[_0x4913c8(0x4d1)],_0x1f82e4=[],_0x11cbd1=[],_0x99b2e8=[],_0xc7b47=[],_0xc2d29c=[],_0x1b06c5=[],_0x4defc7=[],_0x3a2af0=[],_0x513fba=[],_0x2265dd=[];(function(){for(var _0x2c4cbd=[],_0x2a840e=0x0;_0x2a840e<0x100;_0x2a840e++)_0x2a840e<0x80?_0x2c4cbd[_0x2a840e]=_0x2a840e<<0x1:_0x2c4cbd[_0x2a840e]=_0x2a840e<<0x1^0x11b;for(var _0xdf94c8=0x0,_0x288d80=0x0,_0x2a840e=0x0;_0x2a840e<0x100;_0x2a840e++){var _0x20fbe3=_0x288d80^_0x288d80<<0x1^_0x288d80<<0x2^_0x288d80<<0x3^_0x288d80<<0x4;_0x20fbe3=_0x20fbe3>>>0x8^_0x20fbe3&0xff^0x63,_0x1f82e4[_0xdf94c8]=_0x20fbe3,_0x11cbd1[_0x20fbe3]=_0xdf94c8;var _0x33c15d=_0x2c4cbd[_0xdf94c8],_0x5b15e6=_0x2c4cbd[_0x33c15d],_0x438d96=_0x2c4cbd[_0x5b15e6],_0x226411=_0x2c4cbd[_0x20fbe3]*0x101^_0x20fbe3*0x1010100;_0x99b2e8[_0xdf94c8]=_0x226411<<0x18|_0x226411>>>0x8,_0xc7b47[_0xdf94c8]=_0x226411<<0x10|_0x226411>>>0x10,_0xc2d29c[_0xdf94c8]=_0x226411<<0x8|_0x226411>>>0x18,_0x1b06c5[_0xdf94c8]=_0x226411;var _0x226411=_0x438d96*0x1010101^_0x5b15e6*0x10001^_0x33c15d*0x101^_0xdf94c8*0x1010100;_0x4defc7[_0x20fbe3]=_0x226411<<0x18|_0x226411>>>0x8,_0x3a2af0[_0x20fbe3]=_0x226411<<0x10|_0x226411>>>0x10,_0x513fba[_0x20fbe3]=_0x226411<<0x8|_0x226411>>>0x18,_0x2265dd[_0x20fbe3]=_0x226411,_0xdf94c8?(_0xdf94c8=_0x33c15d^_0x2c4cbd[_0x2c4cbd[_0x2c4cbd[_0x438d96^_0x33c15d]]],_0x288d80^=_0x2c4cbd[_0x2c4cbd[_0x288d80]]):_0xdf94c8=_0x288d80=0x1;}}());var _0x250e7d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x32ca81=_0x4fd92a[_0x4913c8(0x302)]=_0x52f9[_0x4913c8(0x308)]({'_doReset':function(){const _0x31b92b=_0x4913c8;var _0x8f1621;if(!(this[_0x31b92b(0xf7)]&&this[_0x31b92b(0x3c4)]===this[_0x31b92b(0x515)])){for(var _0x36ac0b=this[_0x31b92b(0x3c4)]=this[_0x31b92b(0x515)],_0x3e2659=_0x36ac0b[_0x31b92b(0x1b9)],_0x44f6ad=_0x36ac0b['sigBytes']/0x4,_0x78d84=this[_0x31b92b(0xf7)]=_0x44f6ad+0x6,_0x1c8145=(_0x78d84+0x1)*0x4,_0x2ea317=this[_0x31b92b(0x4b8)]=[],_0x285269=0x0;_0x285269<_0x1c8145;_0x285269++)_0x285269<_0x44f6ad?_0x2ea317[_0x285269]=_0x3e2659[_0x285269]:(_0x8f1621=_0x2ea317[_0x285269-0x1],_0x285269%_0x44f6ad?_0x44f6ad>0x6&&_0x285269%_0x44f6ad==0x4&&(_0x8f1621=_0x1f82e4[_0x8f1621>>>0x18]<<0x18|_0x1f82e4[_0x8f1621>>>0x10&0xff]<<0x10|_0x1f82e4[_0x8f1621>>>0x8&0xff]<<0x8|_0x1f82e4[_0x8f1621&0xff]):(_0x8f1621=_0x8f1621<<0x8|_0x8f1621>>>0x18,_0x8f1621=_0x1f82e4[_0x8f1621>>>0x18]<<0x18|_0x1f82e4[_0x8f1621>>>0x10&0xff]<<0x10|_0x1f82e4[_0x8f1621>>>0x8&0xff]<<0x8|_0x1f82e4[_0x8f1621&0xff],_0x8f1621^=_0x250e7d[_0x285269/_0x44f6ad|0x0]<<0x18),_0x2ea317[_0x285269]=_0x2ea317[_0x285269-_0x44f6ad]^_0x8f1621);for(var _0x1a2eb5=this[_0x31b92b(0x506)]=[],_0x22b9bb=0x0;_0x22b9bb<_0x1c8145;_0x22b9bb++){var _0x285269=_0x1c8145-_0x22b9bb;if(_0x22b9bb%0x4)var _0x8f1621=_0x2ea317[_0x285269];else var _0x8f1621=_0x2ea317[_0x285269-0x4];_0x22b9bb<0x4||_0x285269<=0x4?_0x1a2eb5[_0x22b9bb]=_0x8f1621:_0x1a2eb5[_0x22b9bb]=_0x4defc7[_0x1f82e4[_0x8f1621>>>0x18]]^_0x3a2af0[_0x1f82e4[_0x8f1621>>>0x10&0xff]]^_0x513fba[_0x1f82e4[_0x8f1621>>>0x8&0xff]]^_0x2265dd[_0x1f82e4[_0x8f1621&0xff]];}}},'encryptBlock':function(_0x536fe3,_0x3332d3){const _0x42a280=_0x4913c8;this[_0x42a280(0x31d)](_0x536fe3,_0x3332d3,this[_0x42a280(0x4b8)],_0x99b2e8,_0xc7b47,_0xc2d29c,_0x1b06c5,_0x1f82e4);},'decryptBlock':function(_0x24a945,_0x53a141){const _0x336cb3=_0x4913c8;var _0x211a5a=_0x24a945[_0x53a141+0x1];_0x24a945[_0x53a141+0x1]=_0x24a945[_0x53a141+0x3],_0x24a945[_0x53a141+0x3]=_0x211a5a,this[_0x336cb3(0x31d)](_0x24a945,_0x53a141,this['_invKeySchedule'],_0x4defc7,_0x3a2af0,_0x513fba,_0x2265dd,_0x11cbd1);var _0x211a5a=_0x24a945[_0x53a141+0x1];_0x24a945[_0x53a141+0x1]=_0x24a945[_0x53a141+0x3],_0x24a945[_0x53a141+0x3]=_0x211a5a;},'_doCryptBlock':function(_0x5e1605,_0xc2be5d,_0x580ea8,_0x543c20,_0xd00ce6,_0x5d9d36,_0x49d84f,_0x19648e){const _0x10ebd7=_0x4913c8;for(var _0x349534=this[_0x10ebd7(0xf7)],_0x546b5c=_0x5e1605[_0xc2be5d]^_0x580ea8[0x0],_0x1d5ec0=_0x5e1605[_0xc2be5d+0x1]^_0x580ea8[0x1],_0x24833b=_0x5e1605[_0xc2be5d+0x2]^_0x580ea8[0x2],_0x2371f1=_0x5e1605[_0xc2be5d+0x3]^_0x580ea8[0x3],_0x4e7364=0x4,_0xeac9e6=0x1;_0xeac9e6<_0x349534;_0xeac9e6++){var _0x4d0862=_0x543c20[_0x546b5c>>>0x18]^_0xd00ce6[_0x1d5ec0>>>0x10&0xff]^_0x5d9d36[_0x24833b>>>0x8&0xff]^_0x49d84f[_0x2371f1&0xff]^_0x580ea8[_0x4e7364++],_0x2c51a3=_0x543c20[_0x1d5ec0>>>0x18]^_0xd00ce6[_0x24833b>>>0x10&0xff]^_0x5d9d36[_0x2371f1>>>0x8&0xff]^_0x49d84f[_0x546b5c&0xff]^_0x580ea8[_0x4e7364++],_0x48e0ce=_0x543c20[_0x24833b>>>0x18]^_0xd00ce6[_0x2371f1>>>0x10&0xff]^_0x5d9d36[_0x546b5c>>>0x8&0xff]^_0x49d84f[_0x1d5ec0&0xff]^_0x580ea8[_0x4e7364++],_0x29d2dd=_0x543c20[_0x2371f1>>>0x18]^_0xd00ce6[_0x546b5c>>>0x10&0xff]^_0x5d9d36[_0x1d5ec0>>>0x8&0xff]^_0x49d84f[_0x24833b&0xff]^_0x580ea8[_0x4e7364++];_0x546b5c=_0x4d0862,_0x1d5ec0=_0x2c51a3,_0x24833b=_0x48e0ce,_0x2371f1=_0x29d2dd;}var _0x4d0862=(_0x19648e[_0x546b5c>>>0x18]<<0x18|_0x19648e[_0x1d5ec0>>>0x10&0xff]<<0x10|_0x19648e[_0x24833b>>>0x8&0xff]<<0x8|_0x19648e[_0x2371f1&0xff])^_0x580ea8[_0x4e7364++],_0x2c51a3=(_0x19648e[_0x1d5ec0>>>0x18]<<0x18|_0x19648e[_0x24833b>>>0x10&0xff]<<0x10|_0x19648e[_0x2371f1>>>0x8&0xff]<<0x8|_0x19648e[_0x546b5c&0xff])^_0x580ea8[_0x4e7364++],_0x48e0ce=(_0x19648e[_0x24833b>>>0x18]<<0x18|_0x19648e[_0x2371f1>>>0x10&0xff]<<0x10|_0x19648e[_0x546b5c>>>0x8&0xff]<<0x8|_0x19648e[_0x1d5ec0&0xff])^_0x580ea8[_0x4e7364++],_0x29d2dd=(_0x19648e[_0x2371f1>>>0x18]<<0x18|_0x19648e[_0x546b5c>>>0x10&0xff]<<0x10|_0x19648e[_0x1d5ec0>>>0x8&0xff]<<0x8|_0x19648e[_0x24833b&0xff])^_0x580ea8[_0x4e7364++];_0x5e1605[_0xc2be5d]=_0x4d0862,_0x5e1605[_0xc2be5d+0x1]=_0x2c51a3,_0x5e1605[_0xc2be5d+0x2]=_0x48e0ce,_0x5e1605[_0xc2be5d+0x3]=_0x29d2dd;},'keySize':0x100/0x20});_0x2424fb[_0x4913c8(0x302)]=_0x52f9[_0x4913c8(0x557)](_0x32ca81);}()),_0x527ddc[_0x10d124(0x302)];}));}(_0x9d9f40));var _0x20d51d=_0x9d9f40[_0x357007(0x241)];const _0x672dd=_0x202696(_0x20d51d);var _0x150e87=_0x49f822();const _0x4c05ab=_0x202696(_0x150e87);var _0x42314d={'exports':{}};(function(_0x1628c0,_0x24d671){(function(_0x158015,_0x529208){const _0x2a2c05=_0xbbea;_0x1628c0[_0x2a2c05(0x241)]=_0x529208(_0x56fa1b());}(_0x3da64e,function(_0x5c5560){const _0x459ab2=_0xbbea;return _0x5c5560['enc'][_0x459ab2(0x185)];}));}(_0x42314d));var _0x55aee5=_0x42314d['exports'];const _0x544153=_0x202696(_0x55aee5);var _0xcc1835={'exports':{}};(function(_0x194e59,_0x16832a){(function(_0x269a0a,_0x553abc){_0x194e59['exports']=_0x553abc(_0x56fa1b());}(_0x3da64e,function(_0x896575){const _0x49f330=_0xbbea;return(function(){const _0x4d7d49=_0xbbea;if(typeof ArrayBuffer==_0x4d7d49(0x527)){var _0x9cfd29=_0x896575,_0x196b08=_0x9cfd29[_0x4d7d49(0x3bb)],_0x4ba4f6=_0x196b08[_0x4d7d49(0x4a8)],_0xe641e7=_0x4ba4f6[_0x4d7d49(0x192)],_0x42c8f8=_0x4ba4f6[_0x4d7d49(0x192)]=function(_0x4bd2d9){const _0x4d469b=_0x4d7d49;if(_0x4bd2d9 instanceof ArrayBuffer&&(_0x4bd2d9=new Uint8Array(_0x4bd2d9)),(_0x4bd2d9 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4bd2d9 instanceof Uint8ClampedArray||_0x4bd2d9 instanceof Int16Array||_0x4bd2d9 instanceof Uint16Array||_0x4bd2d9 instanceof Int32Array||_0x4bd2d9 instanceof Uint32Array||_0x4bd2d9 instanceof Float32Array||_0x4bd2d9 instanceof Float64Array)&&(_0x4bd2d9=new Uint8Array(_0x4bd2d9[_0x4d469b(0x3a3)],_0x4bd2d9[_0x4d469b(0x18a)],_0x4bd2d9['byteLength'])),_0x4bd2d9 instanceof Uint8Array){for(var _0x278b31=_0x4bd2d9['byteLength'],_0x28d485=[],_0x42849f=0x0;_0x42849f<_0x278b31;_0x42849f++)_0x28d485[_0x42849f>>>0x2]|=_0x4bd2d9[_0x42849f]<<0x18-_0x42849f%0x4*0x8;_0xe641e7[_0x4d469b(0x4fe)](this,_0x28d485,_0x278b31);}else _0xe641e7[_0x4d469b(0x533)](this,arguments);};_0x42c8f8[_0x4d7d49(0x2a6)]=_0x4ba4f6;}}()),_0x896575[_0x49f330(0x3bb)][_0x49f330(0x4a8)];}));}(_0xcc1835));var _0x5d0a55=_0xcc1835[_0x357007(0x241)];const _0x263c0c=_0x202696(_0x5d0a55);var _0x475eeb={'exports':{}};(function(_0x467c09,_0x24c518){(function(_0x53838b,_0x1a8971,_0x4ee68b){const _0x1a324c=_0xbbea;_0x467c09[_0x1a324c(0x241)]=_0x1a8971(_0x56fa1b(),_0x3f1b65());}(_0x3da64e,function(_0x34cebd){const _0x5db1b2=_0xbbea;return _0x34cebd['pad'][_0x5db1b2(0x570)]={'pad':function(){},'unpad':function(){}},_0x34cebd[_0x5db1b2(0x56e)][_0x5db1b2(0x570)];}));}(_0x475eeb));var _0x513a18=_0x475eeb[_0x357007(0x241)];const _0x125965=_0x202696(_0x513a18);function _0x343d0a(_0x7dccce,_0x5b4677){const _0x39d44b=_0x357007,_0x1f8590=_0x5b4677-_0x7dccce[_0x39d44b(0x1b0)]%_0x5b4677,_0x3a726b=String[_0x39d44b(0x3c2)](_0x1f8590)[_0x39d44b(0x43a)](_0x1f8590);return _0x7dccce+_0x3a726b;}function _0x1a82a2(_0x38c64f,_0x5d8b7e){const _0x296051=_0x357007,_0x3fb099=_0x263c0c[_0x296051(0x524)](0x10),_0x2dc4de=_0x343d0a(_0x38c64f,0x10),_0x13ca7d=_0x672dd['encrypt'](_0x544153['parse'](_0x2dc4de),_0x4c05ab[_0x296051(0x406)](_0x5d8b7e),{'iv':_0x3fb099,'padding':_0x125965});return _0x3fb099[_0x296051(0x38a)](_0x13ca7d['ciphertext'])['toString'](_0x4c05ab);}function _0x259220(){const _0x2d1d7c=_0x357007,_0x38a914=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x2d1d7c(0x4c6)];if(_0x38a914){const _0x29924d={'time':Math[_0x2d1d7c(0x251)](Date[_0x2d1d7c(0x1ea)]()/0x3e8),'domain':location[_0x2d1d7c(0x44f)]};return _0x1a82a2(JSON[_0x2d1d7c(0x219)](_0x29924d),_0x38a914);}}var _0x1f5619=Object[_0x357007(0x376)],_0x3f2478=Object['getOwnPropertyDescriptor'],_0x12c6e7=(_0x42be46,_0x33684c,_0x4b7c70,_0x43d005)=>{for(var _0x56bf01=_0x43d005>0x1?void 0x0:_0x43d005?_0x3f2478(_0x33684c,_0x4b7c70):_0x33684c,_0x27dce1=_0x42be46['length']-0x1,_0x2a1747;_0x27dce1>=0x0;_0x27dce1--)(_0x2a1747=_0x42be46[_0x27dce1])&&(_0x56bf01=(_0x43d005?_0x2a1747(_0x33684c,_0x4b7c70,_0x56bf01):_0x2a1747(_0x56bf01))||_0x56bf01);return _0x43d005&&_0x56bf01&&_0x1f5619(_0x33684c,_0x4b7c70,_0x56bf01),_0x56bf01;},_0x2e945d=(_0xa3e066,_0x25e7e2)=>(_0x1cf2af,_0x1018d7)=>_0x25e7e2(_0x1cf2af,_0x1018d7,_0xa3e066);let _0x290294=class{constructor(_0x126b7e){const _0x133127=_0x357007;this[_0x133127(0x537)]=_0x126b7e,this[_0x133127(0x541)]();}['_initRequestHeader'](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x38c3f9,_0x4c5ba9)=>{const _0x2e91e9=_0xbbea,_0x5e44cd=_0x38c3f9['headers'],_0x2a15dc=_0x259220();return _0x2a15dc&&_0x5e44cd[_0x2e91e9(0x40f)](_0x2e91e9(0x126),_0x2a15dc),_0x4c5ba9(_0x38c3f9);}});}};_0x290294=_0x12c6e7([_0x2e945d(0x0,_0x457d20['Inject'](_0x4737a0['HTTPService']))],_0x290294);var _0x426264=Object[_0x357007(0x376)],_0x466e02=Object[_0x357007(0x41b)],_0x47abad=(_0x5cb77b,_0x4ab459,_0x501f10,_0x4b6836)=>{const _0x1bd6e5=_0x357007;for(var _0x3ae0cd=_0x4b6836>0x1?void 0x0:_0x4b6836?_0x466e02(_0x4ab459,_0x501f10):_0x4ab459,_0x3fd68f=_0x5cb77b[_0x1bd6e5(0x1b0)]-0x1,_0x8292b9;_0x3fd68f>=0x0;_0x3fd68f--)(_0x8292b9=_0x5cb77b[_0x3fd68f])&&(_0x3ae0cd=(_0x4b6836?_0x8292b9(_0x4ab459,_0x501f10,_0x3ae0cd):_0x8292b9(_0x3ae0cd))||_0x3ae0cd);return _0x4b6836&&_0x3ae0cd&&_0x426264(_0x4ab459,_0x501f10,_0x3ae0cd),_0x3ae0cd;},_0x4d158e=(_0x4b80be,_0x44d0b0)=>(_0x7f6911,_0x34213d)=>_0x44d0b0(_0x7f6911,_0x34213d,_0x4b80be);const _0x7f4224=[_0x357007(0x198),_0x357007(0x2b8),_0x357007(0xfb),_0x357007(0x4e4),_0x357007(0x414)],_0x4c46d7=0x5*0x400*0x400,_0x3d3edd=_0x357007(0x116),_0x1c6745=_0x357007(0x27d),_0x4fd922=_0x357007(0x1f3),_0x33058f='/universer-api/file/{fileID}/sign-url';_0x325eac[_0x357007(0x314)]=class{constructor(_0x1e3031,_0x2b93d1,_0x19cfe0){const _0x15ad46=_0x357007;_0x184856(this,_0x15ad46(0x586),0x0),_0x184856(this,_0x15ad46(0x36f),new _0x44a02e['Subject']()),_0x184856(this,'change$',this[_0x15ad46(0x36f)]),_0x184856(this,_0x15ad46(0xf5),new Map()),(this[_0x15ad46(0x537)]=_0x1e3031,this[_0x15ad46(0x331)]=_0x2b93d1,this[_0x15ad46(0x140)]=_0x19cfe0);}['setWaitCount'](_0x22d974){const _0x5d14ae=_0x357007;this[_0x5d14ae(0x586)]=_0x22d974,this[_0x5d14ae(0x36f)][_0x5d14ae(0x4d3)](_0x22d974);}[_0x357007(0x4a2)](_0x2f3898,_0x1acbe6){const _0x2c4b66=_0x357007;if(_0x1acbe6===_0x39cda2['ImageSourceType'][_0x2c4b66(0x1c6)]){const _0x221ff5=new Image();return _0x221ff5[_0x2c4b66(0x2b6)]=_0x2f3898,_0x221ff5;}return this[_0x2c4b66(0xf5)][_0x2c4b66(0x1b5)](_0x2f3898);}[_0x357007(0x453)](_0x90a958,_0x221763,_0x33b35d){const _0x5d3e2c=_0x357007;_0x221763===_0x39cda2[_0x5d3e2c(0x450)][_0x5d3e2c(0x1c6)]||_0x33b35d==null||this[_0x5d3e2c(0xf5)][_0x5d3e2c(0x40f)](_0x90a958,_0x33b35d);}async[_0x357007(0x327)](_0x3b0f62){const _0x199628=_0x357007;try{const _0x539a17=this['_replaceFileID'](this[_0x199628(0x476)](),''+_0x3b0f62),_0x12a96e=(await this[_0x199628(0x537)][_0x199628(0x1b5)](_0x539a17))['body'];if(_0x12a96e['error']&&_0x12a96e[_0x199628(0x519)][_0x199628(0x352)]===_0x17b26e['OK']){const _0x40e3c2=new URL(_0x12a96e['url'],this[_0x199628(0x264)]())[_0x199628(0x14b)]();return Promise['resolve'](_0x40e3c2);}return Promise['reject'](_0x12a96e[_0x199628(0x519)]);}catch(_0x58ba5c){return Promise['reject'](_0x58ba5c);}}async[_0x357007(0x141)](_0x4e9af3){const _0x5d5e0f=_0x357007;let _0x2d2b1b='';if(!_0x7f4224[_0x5d5e0f(0x234)](_0x4e9af3[_0x5d5e0f(0x486)]))return this[_0x5d5e0f(0x277)](),Promise[_0x5d5e0f(0x167)](new Error(_0x39cda2[_0x5d5e0f(0x4ed)][_0x5d5e0f(0x542)]));if(_0x4e9af3[_0x5d5e0f(0x485)]>_0x4c46d7)return this[_0x5d5e0f(0x277)](),Promise['reject'](new Error(_0x39cda2[_0x5d5e0f(0x4ed)][_0x5d5e0f(0x295)]));try{const _0x4cc05d=new FormData();_0x4cc05d['append']('file',_0x4e9af3);const _0xb7dc34=this[_0x5d5e0f(0x140)]['getFocusedUnit'](),_0x2071cc=_0xb7dc34==null?void 0x0:_0xb7dc34[_0x5d5e0f(0x4a5)]();if(!_0x2071cc)throw new Error(_0x5d5e0f(0x462));const _0x30811c=this[_0x5d5e0f(0x412)]()+'?size='+_0x4e9af3['size'][_0x5d5e0f(0x14b)]()+_0x5d5e0f(0x5b0)+_0x221fc0[_0x5d5e0f(0x2a7)]+'&assign='+encodeURIComponent(_0x2071cc),_0x5d29b5=await(await fetch(_0x30811c,{'method':_0x5d5e0f(0x3a6),'body':_0x4cc05d}))['json']();if(typeof _0x5d29b5[_0x5d5e0f(0x509)]!='string')return this[_0x5d5e0f(0x277)](),Promise[_0x5d5e0f(0x167)](new Error(_0x39cda2['ImageUploadStatusType'][_0x5d5e0f(0x168)]));_0x2d2b1b=_0x5d29b5[_0x5d5e0f(0x509)];}catch{return this[_0x5d5e0f(0x277)](),Promise[_0x5d5e0f(0x167)](new Error(_0x39cda2[_0x5d5e0f(0x4ed)][_0x5d5e0f(0x168)]));}return new Promise((_0x5c1b19,_0x4a00a3)=>{const _0x4ec832=_0x5d5e0f,_0x29b33b=new FileReader();_0x29b33b[_0x4ec832(0x190)](_0x4e9af3),_0x29b33b[_0x4ec832(0x1b2)]=_0x1dfa5a=>{const _0x4a41d1=_0x4ec832;var _0x41aa52;const _0x768a68=(_0x41aa52=_0x1dfa5a['target'])==null?void 0x0:_0x41aa52['result'];if(_0x768a68==null){this[_0x4a41d1(0x277)](),_0x4a00a3(new Error(_0x39cda2[_0x4a41d1(0x4ed)][_0x4a41d1(0x168)]));return;}const _0xf1bcbc=_0x457d20[_0x4a41d1(0x458)][_0x4a41d1(0x249)](0x6);_0x5c1b19({'imageId':_0xf1bcbc,'imageSourceType':_0x39cda2[_0x4a41d1(0x450)][_0x4a41d1(0x12c)],'source':_0x2d2b1b,'base64Cache':_0x768a68,'status':_0x39cda2[_0x4a41d1(0x4ed)]['SUCCUSS']}),this[_0x4a41d1(0x277)]();};});}['_getUploadFileURL'](){const _0x4fbe0e=_0x357007;var _0x1b8581,_0x3b8aa5;const _0x358aab=this[_0x4fbe0e(0x331)][_0x4fbe0e(0x4d5)](_0x3d3edd),_0x55ce57=this[_0x4fbe0e(0x331)][_0x4fbe0e(0x4d5)](_0x11df2a);return(_0x3b8aa5=(_0x1b8581=_0x55ce57==null?void 0x0:_0x55ce57[_0x4fbe0e(0x4a6)])!=null?_0x1b8581:_0x358aab)!=null?_0x3b8aa5:_0x1c6745;}['_getSignURL'](){const _0x10c2b3=_0x357007;var _0x39e08e,_0x180e41;const _0x5621ed=this[_0x10c2b3(0x331)]['getConfig'](_0x4fd922),_0x583b96=this[_0x10c2b3(0x331)][_0x10c2b3(0x4d5)](_0x11df2a);return(_0x180e41=(_0x39e08e=_0x583b96==null?void 0x0:_0x583b96['signUrlServerUrl'])!=null?_0x39e08e:_0x5621ed)!=null?_0x180e41:_0x33058f;}[_0x357007(0x264)](){const _0x3e3dd6=_0x357007;var _0xf5101c;const _0x3a9432=this['_configService']['getConfig'](_0x11df2a);return(_0xf5101c=_0x3a9432==null?void 0x0:_0x3a9432[_0x3e3dd6(0x4fa)])!=null?_0xf5101c:location['origin'];}[_0x357007(0x23a)](_0x55975c,_0xa1a3b3){const _0x57d0be=_0x357007;return _0x55975c[_0x57d0be(0x495)](_0x57d0be(0x4c0),_0xa1a3b3);}[_0x357007(0x277)](){const _0xb981a0=_0x357007;this[_0xb981a0(0x586)]-=0x1,this['_change$']['next'](this[_0xb981a0(0x586)]);}},_0x325eac[_0x357007(0x314)]=_0x47abad([_0x4d158e(0x0,_0x457d20[_0x357007(0x2c4)](_0x4737a0['HTTPService'])),_0x4d158e(0x1,_0x457d20[_0x357007(0x3cc)]),_0x4d158e(0x2,_0x457d20[_0x357007(0x2c4)](_0x457d20['IUniverInstanceService']))],_0x325eac[_0x357007(0x314)]);var _0x141f01=Object[_0x357007(0x376)],_0x216231=Object['getOwnPropertyDescriptor'],_0x362fbd=(_0x346186,_0x473e99,_0x217e64,_0x30634c)=>{const _0x268b31=_0x357007;for(var _0xd0a28d=_0x30634c>0x1?void 0x0:_0x30634c?_0x216231(_0x473e99,_0x217e64):_0x473e99,_0x5ef398=_0x346186[_0x268b31(0x1b0)]-0x1,_0xd13d4b;_0x5ef398>=0x0;_0x5ef398--)(_0xd13d4b=_0x346186[_0x5ef398])&&(_0xd0a28d=(_0x30634c?_0xd13d4b(_0x473e99,_0x217e64,_0xd0a28d):_0xd13d4b(_0xd0a28d))||_0xd0a28d);return _0x30634c&&_0xd0a28d&&_0x141f01(_0x473e99,_0x217e64,_0xd0a28d),_0xd0a28d;},_0x356e38=(_0x4d179c,_0x522310)=>(_0x10889e,_0x3455ff)=>_0x522310(_0x10889e,_0x3455ff,_0x4d179c);let _0x295576=class extends _0x457d20[_0x357007(0xe7)]{constructor(_0x1f0448,_0x2caee2,_0x49f48a,_0x10a723,_0x7bfbf){const _0x14fded=_0x357007;super(),this[_0x14fded(0x593)]=_0x1f0448,this[_0x14fded(0x140)]=_0x2caee2,this[_0x14fded(0x56a)]=_0x49f48a,this[_0x14fded(0x256)]=_0x10a723,this[_0x14fded(0x22c)]=_0x7bfbf,this[_0x14fded(0x300)](),this[_0x14fded(0x222)]();}[_0x357007(0x222)](){const _0x339709=_0x357007,_0x1f478e=async _0x722294=>{const _0x47a5af=_0xbbea;(await this[_0x47a5af(0x256)][_0x47a5af(0x538)](_0x722294))[_0x47a5af(0x2f9)][_0x47a5af(0x3f8)](_0x4c8197[_0x47a5af(0x356)](_0x181103=>_0x181103[_0x47a5af(0x5a6)]===_0x4d26ac[_0x47a5af(0x2c2)][_0x47a5af(0x403)]),_0x4c8197[_0x47a5af(0x138)](this[_0x47a5af(0x43e)]))['subscribe'](_0x202cfd=>{const _0x46a551=_0x47a5af,_0x2ddba2=_0x202cfd,{reason:_0x4d7419}=_0x2ddba2[_0x46a551(0x24e)];this['_injector'][_0x46a551(0x1b5)](_0x2b45ba[_0x46a551(0x3ba)])[_0x46a551(0x3a5)]({'type':_0x151ca4['MessageType']['Error'],'content':this[_0x46a551(0x22c)]['t'](_0x46a551(0x328))+'('+_0x4d7419+')'}),this[_0x46a551(0x56a)][_0x46a551(0x52b)](new _0x91efb2[(_0x46a551(0x54c))](_0x722294)['id'],!0x1),this[_0x46a551(0x256)][_0x46a551(0x34e)](_0x722294);});};_0x44a02e[_0x339709(0x31f)](this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x457d20[_0x339709(0x3f0)]['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x457d20[_0x339709(0x3f0)][_0x339709(0x210)]))[_0x339709(0x3f8)](_0x4c8197[_0x339709(0x595)](_0x310cf0=>_0x310cf0[_0x339709(0x4a5)]()),_0x4c8197[_0x339709(0x356)](_0x263078=>!_0x457d20[_0x339709(0x41f)](_0x263078)),_0x4c8197['takeUntil'](this[_0x339709(0x43e)]))['subscribe'](_0x3e70af=>{_0x1f478e(_0x3e70af);});}[_0x357007(0x300)](){const _0x240de6=_0x357007,_0x1a2fec=async _0x5c1c42=>{const _0x48c4c3=_0xbbea;(await this[_0x48c4c3(0x256)][_0x48c4c3(0x538)](_0x5c1c42))[_0x48c4c3(0x2f9)][_0x48c4c3(0x3f8)](_0x4c8197[_0x48c4c3(0x356)](_0x143b60=>_0x143b60['eventID']===_0x4d26ac[_0x48c4c3(0x2c2)]['UPDATE_PERMISSION_OBJ']),_0x4c8197[_0x48c4c3(0x138)](this['dispose$']))[_0x48c4c3(0x479)](_0x35ee8f=>{const _0x3af027=_0x48c4c3,_0x309c83=_0x35ee8f,{objectId:_0x11d669}=_0x309c83[_0x3af027(0x24e)],_0x2e0924=this[_0x3af027(0x593)][_0x3af027(0x1b5)](_0x5ed4fc[_0x3af027(0x32c)]);_0x11d669===_0x5c1c42?_0x2e0924[_0x3af027(0x29d)](_0x5c1c42):_0x2e0924[_0x3af027(0x146)](_0x5c1c42,_0x11d669);});};_0x44a02e[_0x240de6(0x31f)](this[_0x240de6(0x140)][_0x240de6(0x433)](_0x457d20[_0x240de6(0x3f0)]['UNIVER_SHEET']),this[_0x240de6(0x140)][_0x240de6(0x433)](_0x457d20['UniverInstanceType'][_0x240de6(0x210)]))['pipe'](_0x4c8197[_0x240de6(0x595)](_0x37b46e=>_0x37b46e['getUnitId']()),_0x4c8197['filter'](_0x3369e9=>!_0x457d20['isInternalEditorID'](_0x3369e9)),_0x4c8197[_0x240de6(0x138)](this[_0x240de6(0x43e)]))[_0x240de6(0x479)](_0x42cfcf=>{_0x1a2fec(_0x42cfcf);});}};_0x295576=_0x362fbd([_0x356e38(0x0,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x467)])),_0x356e38(0x1,_0x457d20['IUniverInstanceService']),_0x356e38(0x2,_0x457d20[_0x357007(0x42a)]),_0x356e38(0x3,_0x457d20[_0x357007(0x2c4)](_0x325eac[_0x357007(0x30b)])),_0x356e38(0x4,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x128)]))],_0x295576);var _0x5db0b9=Object[_0x357007(0x376)],_0x10df3c=Object['getOwnPropertyDescriptor'],_0x39f9c7=(_0x31502e,_0x5d5063,_0x3dd30a,_0x9254e7)=>{for(var _0x500885=_0x9254e7>0x1?void 0x0:_0x9254e7?_0x10df3c(_0x5d5063,_0x3dd30a):_0x5d5063,_0x307f5c=_0x31502e['length']-0x1,_0xe984d7;_0x307f5c>=0x0;_0x307f5c--)(_0xe984d7=_0x31502e[_0x307f5c])&&(_0x500885=(_0x9254e7?_0xe984d7(_0x5d5063,_0x3dd30a,_0x500885):_0xe984d7(_0x500885))||_0x500885);return _0x9254e7&&_0x500885&&_0x5db0b9(_0x5d5063,_0x3dd30a,_0x500885),_0x500885;},_0x213c66=(_0x165884,_0x3f9ff8)=>(_0xf33f22,_0x279d9a)=>_0x3f9ff8(_0xf33f22,_0x279d9a,_0x165884);_0x325eac[_0x357007(0x27f)]=class{constructor(_0x45e9b2,_0x2b6076){const _0x280074=_0x357007;this['_configService']=_0x45e9b2,this[_0x280074(0x537)]=_0x2b6076;}async['getUnitOnRev'](_0x494a1f,_0x59a9ad){const _0x3e4133=_0x357007;var _0x4a2d39;const {unitID:_0x1c5451,type:_0x14ebf0,revision:_0x304542=0x0}=_0x59a9ad,_0x44cfa4=this[_0x3e4133(0x208)]()+'/'+_0x14ebf0+_0x3e4133(0x4be)+_0x1c5451+'/rev/'+_0x304542,_0x34fd1a=(await this[_0x3e4133(0x537)][_0x3e4133(0x1b5)](_0x44cfa4))[_0x3e4133(0x156)],_0x1ae904=(_0x4a2d39=_0x34fd1a[_0x3e4133(0x26d)])==null?void 0x0:_0x4a2d39[_0x3e4133(0x443)];if(_0x1ae904){const _0x38f22b=_0x1ae904==null?void 0x0:_0x1ae904['originalMeta'],_0x47c9d7=_0x4d26ac['textEncoder'][_0x3e4133(0x56d)](_0x4d26ac['b64DecodeUnicode'](_0x38f22b));_0x1ae904[_0x3e4133(0x35c)]=_0x47c9d7,Object[_0x3e4133(0x37e)](_0x1ae904[_0x3e4133(0x18d)])[_0x3e4133(0x274)](([,_0x470e53])=>{const _0x28a8fa=_0x3e4133,_0x25f25d=_0x470e53[_0x28a8fa(0x35c)],_0x214dc9=_0x4d26ac[_0x28a8fa(0x18f)]['encode'](_0x4d26ac[_0x28a8fa(0x108)](_0x25f25d));_0x470e53[_0x28a8fa(0x35c)]=_0x214dc9;});}return _0x34fd1a;}async['getSheetBlock'](_0x5980e5,_0x12ea99){const _0x22b1ba=_0x357007,{unitID:_0x545487,type:_0x1f55d1,blockID:_0x28f4a3}=_0x12ea99,_0x5a2a76=this[_0x22b1ba(0x4d2)]()+'/'+_0x1f55d1+_0x22b1ba(0x4be)+_0x545487+'/block/'+_0x28f4a3;return(await this[_0x22b1ba(0x537)][_0x22b1ba(0x1b5)](_0x5a2a76))['body'];}async['getDeserializedSheetBlock'](_0x3d71d5,_0x45eefe){const _0x3298db=_0x357007,{unitID:_0x5c2700,type:_0x1e42c7,blockID:_0x57eb00}=_0x45eefe,_0x1f3bb4=this[_0x3298db(0x4d2)]()+_0x3298db(0x15c)+_0x1e42c7+_0x3298db(0x4be)+_0x5c2700+_0x3298db(0x15c)+_0x57eb00;return(await this[_0x3298db(0x537)][_0x3298db(0x1b5)](_0x1f3bb4))['body'];}async['fetchMissingChangesets'](_0x1a573f,_0x46aa5d){const _0x57f574=_0x357007,{unitID:_0x533b4f,type:_0x14c956,from:_0x2df79d,to:_0x122d7b}=_0x46aa5d,_0x12016f=this['_getAPIPrefix']()+'/'+_0x14c956+_0x57f574(0x4be)+_0x533b4f+_0x57f574(0x2ef)+_0x2df79d+_0x57f574(0x3f2)+_0x122d7b;return(await this[_0x57f574(0x537)][_0x57f574(0x1b5)](_0x12016f))[_0x57f574(0x156)];}[_0x357007(0x208)](){const _0x17c26f=_0x357007;var _0x221f8c;return(_0x221f8c=this['_configService'][_0x17c26f(0x4d5)](_0xfc9b39))!=null?_0x221f8c:this[_0x17c26f(0x4d2)]();}[_0x357007(0x4d2)](){const _0x453c3c=_0x357007;var _0x5ea228,_0x1787e8;const _0x458fff=this[_0x453c3c(0x331)][_0x453c3c(0x4d5)](_0x89ef62),_0x5301b8=this[_0x453c3c(0x331)][_0x453c3c(0x4d5)](_0x11df2a);return(_0x1787e8=(_0x5ea228=_0x5301b8==null?void 0x0:_0x5301b8[_0x453c3c(0x4b0)])!=null?_0x5ea228:_0x458fff)!=null?_0x1787e8:_0x10c8e6;}async[_0x357007(0x1f0)](_0x4bbd2d,_0x38d3ff){const _0x440669=_0x357007,_0x368ad8=_0x440669(0x38e)+_0x38d3ff[_0x440669(0x486)]+_0x440669(0x4be)+_0x38d3ff[_0x440669(0x563)]+'/resources';return(await this[_0x440669(0x537)][_0x440669(0x1b5)](_0x368ad8,{'params':{'resourceId':JSON[_0x440669(0x219)](_0x38d3ff[_0x440669(0x220)])}}))[_0x440669(0x156)];}[_0x357007(0x3b4)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x357007(0x1d7)](){const _0x23d7e3=_0x357007;throw new Error(_0x23d7e3(0x1e0));}[_0x357007(0x357)](){const _0x384c9f=_0x357007;throw new Error(_0x384c9f(0x1e0));}[_0x357007(0x50c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x357007(0x358)](){const _0x289058=_0x357007;throw new Error(_0x289058(0x1e0));}},_0x325eac[_0x357007(0x27f)]=_0x39f9c7([_0x213c66(0x0,_0x457d20['IConfigService']),_0x213c66(0x1,_0x457d20[_0x357007(0x2c4)](_0x4737a0['HTTPService']))],_0x325eac['SnapshotServerOverHTTPService']);var _0x5ea262=Object[_0x357007(0x376)],_0x54b702=Object[_0x357007(0x41b)],_0x3d94b1=(_0x3364c5,_0x27369b,_0x57729a,_0xf0d4ad)=>{const _0x12d11b=_0x357007;for(var _0x539844=_0xf0d4ad>0x1?void 0x0:_0xf0d4ad?_0x54b702(_0x27369b,_0x57729a):_0x27369b,_0xb63761=_0x3364c5[_0x12d11b(0x1b0)]-0x1,_0x28cb25;_0xb63761>=0x0;_0xb63761--)(_0x28cb25=_0x3364c5[_0xb63761])&&(_0x539844=(_0xf0d4ad?_0x28cb25(_0x27369b,_0x57729a,_0x539844):_0x28cb25(_0x539844))||_0x539844);return _0xf0d4ad&&_0x539844&&_0x5ea262(_0x27369b,_0x57729a,_0x539844),_0x539844;},_0x343375=(_0x3d5e16,_0x8500ac)=>(_0x3f3ff4,_0x3de7da)=>_0x8500ac(_0x3f3ff4,_0x3de7da,_0x3d5e16);let _0x2de128=class extends _0x457d20[_0x357007(0x439)]{constructor(_0x5500f0,_0x335fe0,_0x308cab,_0x4b844e,_0x2fc7e4){const _0x2fd865=_0x357007;super(_0x5500f0,_0x335fe0,_0x308cab),this['_transformService']=_0x4b844e,this[_0x2fd865(0x514)]=_0x2fc7e4;}[_0x357007(0x4f7)](_0x415d0e,_0x4cbe08){const _0x77bfe=_0x357007,_0x3e4e08=this[_0x77bfe(0x297)](_0x415d0e);if(_0x3e4e08)try{const _0x3ba276=this[_0x77bfe(0x59b)](_0x3e4e08,_0x4cbe08);this['_substituteUndoStack'](_0x415d0e,_0x3ba276);}catch(_0x4024c9){this['_logService'][_0x77bfe(0x519)](_0x77bfe(0x29b),_0x4024c9),this[_0x77bfe(0x3a1)](_0x415d0e);}const _0x17fcd0=this[_0x77bfe(0x243)](_0x415d0e);if(_0x17fcd0)try{const _0x5d5cf3=this[_0x77bfe(0x59b)](_0x17fcd0,_0x4cbe08);this[_0x77bfe(0x415)](_0x415d0e,_0x5d5cf3);}catch(_0x20ed59){this[_0x77bfe(0x514)][_0x77bfe(0x519)](_0x20ed59),this['_clearRedo'](_0x415d0e);}}[_0x357007(0x3a1)](_0x353d85){const _0x9da445=_0x357007,_0x27d350=this[_0x9da445(0x297)](_0x353d85);_0x27d350&&(_0x27d350[_0x9da445(0x1b0)]=0x0,this[_0x9da445(0x4e5)]());}[_0x357007(0x135)](_0x4c0089){const _0x1bfeec=_0x357007,_0x75aa65=this[_0x1bfeec(0x243)](_0x4c0089);_0x75aa65&&(_0x75aa65['length']=0x0,this[_0x1bfeec(0x4e5)]());}[_0x357007(0x233)](_0x17d500,_0x21653b){const _0x45eb49=_0x357007;this[_0x45eb49(0x255)][_0x45eb49(0x40f)](_0x17d500,_0x21653b),this[_0x45eb49(0x4e5)]();}[_0x357007(0x415)](_0x53fb18,_0xc806c1){const _0x5c9049=_0x357007;this[_0x5c9049(0x1c7)][_0x5c9049(0x40f)](_0x53fb18,_0xc806c1),this[_0x5c9049(0x4e5)]();}[_0x357007(0x59b)](_0x210ff6,_0xf5cdd7){const _0xfa01e9=_0x357007,_0x126c0c=[];let _0x2b133e=_0xf5cdd7,_0xc0ba14=_0xf5cdd7;for(let _0x2d62d9=_0x210ff6['length']-0x1;_0x2d62d9>=0x0;_0x2d62d9--){const {unitID:_0x4173ea,undoMutations:_0x9f4a14,redoMutations:_0x24921d}=_0x210ff6[_0x2d62d9],_0x59b824=this[_0xfa01e9(0x2af)][_0xfa01e9(0x424)](_0x2b133e,_0x9f4a14),_0x105ff5=this[_0xfa01e9(0x2af)][_0xfa01e9(0x424)](_0xc0ba14,_0x24921d);if(_0x4d26ac[_0xfa01e9(0x581)](_0x59b824)||_0x4d26ac[_0xfa01e9(0x581)](_0x105ff5)){this[_0xfa01e9(0x514)][_0xfa01e9(0x519)](_0xfa01e9(0x29b),'transformStack\x20failed!',_0x59b824,_0x105ff5);break;}_0x2b133e=_0x59b824[_0xfa01e9(0x2f5)],_0xc0ba14=_0x105ff5[_0xfa01e9(0x2f5)],_0x126c0c['push']({'unitID':_0x4173ea,'undoMutations':_0x59b824[_0xfa01e9(0x472)],'redoMutations':_0x105ff5[_0xfa01e9(0x472)]});}return _0x126c0c[_0xfa01e9(0x43f)]();}};_0x2de128=_0x3d94b1([_0x343375(0x0,_0x457d20[_0x357007(0x35e)]),_0x343375(0x1,_0x457d20[_0x357007(0x324)]),_0x343375(0x2,_0x457d20[_0x357007(0x540)]),_0x343375(0x3,_0x4d26ac[_0x357007(0x329)]),_0x343375(0x4,_0x457d20[_0x357007(0x54e)])],_0x2de128);class _0xdc84b4 extends _0x457d20[_0x357007(0xe7)]{constructor(){const _0x591e51=_0x357007;super(),_0x184856(this,_0x591e51(0x457)),this[_0x591e51(0x457)]=_0x44a02e[_0x591e51(0x441)](window,_0x591e51(0x2df))[_0x591e51(0x3f8)](_0x44a02e['takeUntil'](this['dispose$']),_0x44a02e[_0x591e51(0x2b9)](0x1),_0x44a02e[_0x591e51(0x2bc)](void 0x0));}[_0x357007(0x11d)](_0x5b0635,_0x23a335,_0x469b35=!0x1){const _0x579cca=_0x357007,_0x1482ed=new URL(window[_0x579cca(0x296)]['href']);_0x1482ed[_0x579cca(0x53f)]['set'](_0x5b0635,_0x23a335),_0x469b35?window[_0x579cca(0x19b)][_0x579cca(0x43d)]('','',_0x1482ed[_0x579cca(0x14b)]()):window[_0x579cca(0x19b)][_0x579cca(0x496)]('','',_0x1482ed[_0x579cca(0x14b)]());}['removeParam'](_0x187ad1,_0x4f438=!0x1){const _0x10c775=_0x357007,_0x460ee6=new URL(window[_0x10c775(0x296)]['href']);_0x460ee6[_0x10c775(0x53f)]['delete'](_0x187ad1),_0x4f438?window['history'][_0x10c775(0x43d)]('','',_0x460ee6[_0x10c775(0x14b)]()):window[_0x10c775(0x19b)][_0x10c775(0x496)]('','',_0x460ee6['toString']());}['getParam'](_0x41aa6d){const _0x23a43d=_0x357007;var _0x549d9d;return(_0x549d9d=new URL(window[_0x23a43d(0x296)]['href'])[_0x23a43d(0x53f)][_0x23a43d(0x1b5)](_0x41aa6d))!=null?_0x549d9d:void 0x0;}}var _0x2e82cd=Object[_0x357007(0x376)],_0x3a693e=Object[_0x357007(0x41b)],_0x9bcb74=(_0x2090ab,_0x38a4a1,_0x4a134b)=>_0x38a4a1 in _0x2090ab?_0x2e82cd(_0x2090ab,_0x38a4a1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a134b}):_0x2090ab[_0x38a4a1]=_0x4a134b,_0x3de065=(_0x5972cc,_0x42d4d0,_0x138675,_0x4cc933)=>{const _0x38507c=_0x357007;for(var _0x4f72f5=_0x4cc933>0x1?void 0x0:_0x4cc933?_0x3a693e(_0x42d4d0,_0x138675):_0x42d4d0,_0x4e2f87=_0x5972cc[_0x38507c(0x1b0)]-0x1,_0x5eeffe;_0x4e2f87>=0x0;_0x4e2f87--)(_0x5eeffe=_0x5972cc[_0x4e2f87])&&(_0x4f72f5=(_0x4cc933?_0x5eeffe(_0x42d4d0,_0x138675,_0x4f72f5):_0x5eeffe(_0x4f72f5))||_0x4f72f5);return _0x4cc933&&_0x4f72f5&&_0x2e82cd(_0x42d4d0,_0x138675,_0x4f72f5),_0x4f72f5;},_0x42fdea=(_0x176716,_0x2467fe)=>(_0x20d978,_0x47019f)=>_0x2467fe(_0x20d978,_0x47019f,_0x176716),_0xb7e94=(_0x4ea8cd,_0x18fa0e,_0x2288b4)=>_0x9bcb74(_0x4ea8cd,_0x18fa0e+'',_0x2288b4);const _0x4c0470=_0x357007(0x323);_0x325eac[_0x357007(0x5a1)]=class extends _0x457d20[_0x357007(0x271)]{constructor(_0x294fe6=_0x485e42,_0x5068e0,_0x44fc69,_0x5adf1e,_0x33d753){const _0x32abe4=_0x357007;super(),this[_0x32abe4(0x3e5)]=_0x294fe6,this['_logService']=_0x5068e0,this[_0x32abe4(0x152)]=_0x44fc69,this['_injector']=_0x5adf1e,this['_configService']=_0x33d753;const {..._0x2faa2e}=this[_0x32abe4(0x3e5)];this['_configService'][_0x32abe4(0x46f)](_0x11df2a,_0x2faa2e);}[_0x357007(0x554)](){const _0x790db3=_0x357007;this[_0x790db3(0x2ca)](),this['_initDependencies']();}[_0x357007(0x355)](){const _0x128c7a=_0x357007;_0x457d20[_0x128c7a(0x532)](this['_injector'],[[_0x5639bf]]);}[_0x357007(0x4e8)](){const _0x176ae6=_0x357007;this[_0x176ae6(0x2a4)]();}['_registerDependencies'](){const _0x4ad4b9=_0x357007;var _0x5a96aa,_0x27a774,_0x3e85c2,_0x52bed0;this[_0x4ad4b9(0x593)][_0x4ad4b9(0xf8)](_0x457d20[_0x4ad4b9(0x381)])&&this[_0x4ad4b9(0x514)][_0x4ad4b9(0x519)](_0x4ad4b9(0x351),_0x4ad4b9(0x4a0));const _0x114eff=[[_0x457d20['IUndoRedoService'],{'useClass':_0x2de128}],[_0x325eac[_0x4ad4b9(0x30b)]],[_0x1cc170],[_0x24da1d,{'useClass':_0xdc84b4}],[_0x325eac[_0x4ad4b9(0x2fa)]],[_0x325eac[_0x4ad4b9(0x4f9)]],[_0x4737a0[_0x4ad4b9(0x114)]],[_0x201d4e],[_0x3ef40a],[_0xa432dd],[_0xa6eb37],[_0x559ff9],[_0x1ae59a],[_0x290294],[_0x2f817a],[_0x295576],[_0x3b47f0,{'useClass':(_0x27a774=(_0x5a96aa=this[_0x4ad4b9(0x3e5)])==null?void 0x0:_0x5a96aa[_0x4ad4b9(0x223)])!=null?_0x27a774:_0x325eac[_0x4ad4b9(0x247)]}],[_0x4d26ac['ISnapshotServerService'],{'useClass':_0x325eac[_0x4ad4b9(0x27f)]}],[_0x457d20[_0x4ad4b9(0x34b)],{'useClass':_0x325eac[_0x4ad4b9(0x487)]}],[_0x39cda2[_0x4ad4b9(0x4c4)],{'useClass':_0x325eac[_0x4ad4b9(0x314)]}],[_0x325eac[_0x4ad4b9(0x339)]],[_0x325eac['DataLoaderController']],[_0x325eac[_0x4ad4b9(0x196)]],[_0x5639bf],[_0x5f50ea]];(_0x3e85c2=this['_config'])!=null&&_0x3e85c2[_0x4ad4b9(0x558)]&&_0x114eff['push']([_0x1731f5,{'useClass':_0x21ae63}]),_0x457d20['registerDependencies'](this['_injector'],_0x457d20[_0x4ad4b9(0x4c8)](_0x114eff,(_0x52bed0=this[_0x4ad4b9(0x3e5)])==null?void 0x0:_0x52bed0['override']));}[_0x357007(0x2a4)](){const _0x2e11d8=_0x357007;this[_0x2e11d8(0x189)](this[_0x2e11d8(0x152)][_0x2e11d8(0x35f)](_0x457d20['UniverInstanceType'][_0x2e11d8(0x210)],[_0x35372d])),this[_0x2e11d8(0x189)](this[_0x2e11d8(0x152)][_0x2e11d8(0x35f)](_0x457d20['UniverInstanceType'][_0x2e11d8(0x3b5)],[_0xfa75cc]));}[_0x357007(0x181)](){const _0x49fbb3=_0x357007;var _0x1ff2d8,_0x4c6937;this[_0x49fbb3(0x593)][_0x49fbb3(0x1b5)](_0x4737a0[_0x49fbb3(0xe3)])[_0x49fbb3(0x12b)]({'priority':0x14,'interceptor':_0x4737a0['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x1ff2d8=this[_0x49fbb3(0x3e5)])!=null&&_0x1ff2d8[_0x49fbb3(0x4bf)]||this[_0x49fbb3(0x593)]['get'](_0x325eac['LocalCacheService'])[_0x49fbb3(0x1e6)](),(_0x4c6937=this[_0x49fbb3(0x3e5)])!=null&&_0x4c6937[_0x49fbb3(0xe6)]&&_0x457d20[_0x49fbb3(0x532)](this[_0x49fbb3(0x593)],[[_0x1ae59a]]),_0x457d20[_0x49fbb3(0x532)](this[_0x49fbb3(0x593)],[[_0x290294],[_0x5f50ea],[_0x325eac['DataLoaderController']],[_0x325eac[_0x49fbb3(0x339)]],[_0x325eac[_0x49fbb3(0x196)]],[_0x295576]]);}},_0xb7e94(_0x325eac[_0x357007(0x5a1)],'pluginName',_0x4c0470),_0x325eac['UniverCollaborationClientPlugin']=_0x3de065([_0x457d20['DependentOn'](_0x4d26ac['UniverCollaborationPlugin'],_0x4737a0['UniverNetworkPlugin']),_0x42fdea(0x1,_0x457d20[_0x357007(0x54e)]),_0x42fdea(0x2,_0x5c58b0[_0x357007(0x313)]),_0x42fdea(0x3,_0x457d20[_0x357007(0x2c4)](_0x457d20[_0x357007(0x467)])),_0x42fdea(0x4,_0x457d20['IConfigService'])],_0x325eac[_0x357007(0x5a1)]),_0x325eac[_0x357007(0x391)]=_0x14f602,_0x325eac[_0x357007(0x20c)]=_0x1d9233,_0x325eac[_0x357007(0x498)]=_0x446764,_0x325eac[_0x357007(0x451)]=_0x44c5ad,_0x325eac['CollaborationStatusDisplay']=_0x576c3c,_0x325eac[_0x357007(0x4e3)]=_0x2f817a,_0x325eac[_0x357007(0x337)]=_0x21f50d,_0x325eac[_0x357007(0x4ef)]=_0x4f64ac,_0x325eac['ICollaborationSocketService']=_0x3b47f0,_0x325eac['IURLService']=_0x24da1d,_0x325eac[_0x357007(0x207)]=_0x348843,_0x325eac[_0x357007(0x343)]=_0x53356b,_0x325eac['RETRY_CONNECTING_MAX_COUNT_KEY']=_0x577f9c,_0x325eac[_0x357007(0x580)]=_0x441ba3,_0x325eac[_0x357007(0x1f5)]=_0x89ef62,_0x325eac[_0x357007(0x38d)]=_0xfc9b39,_0x325eac['SessionStatus']=_0x4b3a9d,_0x325eac[_0x357007(0x375)]=_0x48e55f,_0x325eac[_0x357007(0x3aa)]=_0xdc84b4,_0x325eac[_0x357007(0x4cd)]=_0x4f68f8,_0x325eac[_0x357007(0x3d3)]=_0xfbb49e,Object[_0x357007(0x376)](_0x325eac,Symbol[_0x357007(0x197)],{'value':_0x357007(0x2f6)});}));
|