@univerjs-pro/collaboration-client 0.4.2-nightly.202410310419 → 0.4.2-nightly.202410311606
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 +17 -17
package/lib/umd/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
function _0x18dd(_0x3ef2b8,_0x223f6c){const _0xa983ff=_0xa983();return _0x18dd=function(_0x18ddf0,_0x3cb192){_0x18ddf0=_0x18ddf0-0x9e;let _0x3c5d91=_0xa983ff[_0x18ddf0];return _0x3c5d91;},_0x18dd(_0x3ef2b8,_0x223f6c);}(function(_0x1ebecb,_0x7102c0){const _0x15b4bc=_0x18dd,_0x126079=_0x1ebecb();while(!![]){try{const _0x3ec556=-parseInt(_0x15b4bc(0x48e))/0x1+-parseInt(_0x15b4bc(0x4c9))/0x2+parseInt(_0x15b4bc(0x193))/0x3+parseInt(_0x15b4bc(0x24a))/0x4+-parseInt(_0x15b4bc(0x2bc))/0x5*(-parseInt(_0x15b4bc(0xd4))/0x6)+-parseInt(_0x15b4bc(0x3f2))/0x7+parseInt(_0x15b4bc(0x512))/0x8;if(_0x3ec556===_0x7102c0)break;else _0x126079['push'](_0x126079['shift']());}catch(_0x344228){_0x126079['push'](_0x126079['shift']());}}}(_0xa983,0x929c2),function(_0x38adb3,_0x575835){const _0x1e4a53=_0x18dd;typeof exports==_0x1e4a53(0x221)&&typeof module<'u'?_0x575835(exports,require(_0x1e4a53(0x405)),require('rxjs'),require('rxjs/operators'),require('@univerjs/design'),require(_0x1e4a53(0x4e4)),require(_0x1e4a53(0x566)),require(_0x1e4a53(0x1aa)),require(_0x1e4a53(0x3a4)),require('@univerjs/docs-ui'),require(_0x1e4a53(0x562)),require(_0x1e4a53(0x1c3)),require(_0x1e4a53(0x1a2)),require(_0x1e4a53(0x4dd)),require('@univerjs/engine-formula'),require('@univerjs/sheets-ui'),require(_0x1e4a53(0x1b9)),require(_0x1e4a53(0x284))):typeof define==_0x1e4a53(0x311)&&define[_0x1e4a53(0x144)]?define([_0x1e4a53(0x9f),_0x1e4a53(0x405),'rxjs',_0x1e4a53(0x195),_0x1e4a53(0x1cb),'@univerjs/ui','@univerjs/network',_0x1e4a53(0x1aa),_0x1e4a53(0x3a4),_0x1e4a53(0x165),'@univerjs/sheets',_0x1e4a53(0x1c3),'@univerjs/docs','@univerjs/drawing','@univerjs/engine-formula',_0x1e4a53(0x24f),_0x1e4a53(0x1b9),'@univerjs/rpc'],_0x575835):(_0x38adb3=typeof globalThis<'u'?globalThis:_0x38adb3||self,_0x575835(_0x38adb3[_0x1e4a53(0x39d)]={},_0x38adb3[_0x1e4a53(0x498)],_0x38adb3['rxjs'],_0x38adb3['rxjs'][_0x1e4a53(0x17a)],_0x38adb3['UniverDesign'],_0x38adb3[_0x1e4a53(0x11e)],_0x38adb3[_0x1e4a53(0x348)],_0x38adb3[_0x1e4a53(0x39b)],_0x38adb3[_0x1e4a53(0x2a2)],_0x38adb3['UniverDocsUi'],_0x38adb3['UniverSheets'],_0x38adb3['UniverEngineRender'],_0x38adb3[_0x1e4a53(0x15f)],_0x38adb3[_0x1e4a53(0x272)],_0x38adb3[_0x1e4a53(0x2a3)],_0x38adb3[_0x1e4a53(0x1ec)],_0x38adb3['React'],_0x38adb3['UniverRpc']));}(this,function(_0x41186c,_0x320968,_0x237014,_0x1aca11,_0x396768,_0x794d48,_0x1ebdcd,_0x20a4af,_0x3223af,_0x4e3eec,_0x4c6d62,_0x4f6c5a,_0x4ca436,_0x20963a,_0x3a050f,_0x2d8ae5,_0x598307,_0x3e1340){'use strict';const _0x3965c0=_0x18dd;var _0x281940=Object['defineProperty'],_0x1c9672=(_0x1fc04a,_0x247fc3,_0x59caa3)=>_0x247fc3 in _0x1fc04a?_0x281940(_0x1fc04a,_0x247fc3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59caa3}):_0x1fc04a[_0x247fc3]=_0x59caa3,_0x42c854=(_0x3e9b05,_0x11aa3e,_0x5654ce)=>_0x1c9672(_0x3e9b05,typeof _0x11aa3e!=_0x3965c0(0x3d7)?_0x11aa3e+'':_0x11aa3e,_0x5654ce);const _0x2b8756=_0x3965c0(0x211),_0x3d77e1=_0x3965c0(0x180),_0x48e8c9='SNAPSHOT_URL_KEY',_0x3ef2cc=_0x3965c0(0x4a9),_0x2610ac='COLLAB_WEB_SOCKET_URL',_0x287171=_0x3965c0(0x129),_0x1a7e09=_0x3965c0(0x16d),_0x387bc1=_0x3965c0(0x1ef),_0x494a28=_0x3965c0(0x204),_0x4edc51='LOCAL_CACHE_INTERVAL',_0xb29dfd=_0x3965c0(0x14e),_0x675828=_0x3965c0(0x48a),_0x450b88=_0x3965c0(0x228),_0x3490b3=_0x3965c0(0x355);var _0x27eb92=(_0x1c9b82=>(_0x1c9b82[_0x1c9b82[_0x3965c0(0x21b)]=0x0]=_0x3965c0(0x21b),_0x1c9b82[_0x1c9b82['OK']=0x1]='OK',_0x1c9b82[_0x1c9b82[_0x3965c0(0x2da)]=0x2]='INTERNAL_ERROR',_0x1c9b82[_0x1c9b82[_0x3965c0(0x1c2)]=0x3]=_0x3965c0(0x1c2),_0x1c9b82[_0x1c9b82[_0x3965c0(0x114)]=0x4]='NOT_FOUND',_0x1c9b82[_0x1c9b82[_0x3965c0(0x4c3)]=0x5]=_0x3965c0(0x4c3),_0x1c9b82[_0x1c9b82[_0x3965c0(0x1da)]=0x6]=_0x3965c0(0x1da),_0x1c9b82[_0x1c9b82[_0x3965c0(0x18a)]=0x7]=_0x3965c0(0x18a),_0x1c9b82[_0x1c9b82[_0x3965c0(0x14b)]=0x8]=_0x3965c0(0x14b),_0x1c9b82[_0x1c9b82[_0x3965c0(0x434)]=0x9]=_0x3965c0(0x434),_0x1c9b82[_0x1c9b82[_0x3965c0(0x231)]=0x1389]=_0x3965c0(0x231),_0x1c9b82[_0x1c9b82[_0x3965c0(0x3c4)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x1c9b82[_0x1c9b82[_0x3965c0(0x4ce)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1c9b82[_0x1c9b82[_0x3965c0(0x3cc)]=0x1773]=_0x3965c0(0x3cc),_0x1c9b82[_0x1c9b82[_0x3965c0(0x4d7)]=0x1b59]=_0x3965c0(0x4d7),_0x1c9b82[_0x1c9b82[_0x3965c0(0x4e1)]=0x1b5a]=_0x3965c0(0x4e1),_0x1c9b82[_0x1c9b82[_0x3965c0(0x2fc)]=0x1b5b]=_0x3965c0(0x2fc),_0x1c9b82[_0x1c9b82['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3965c0(0x455),_0x1c9b82[_0x1c9b82[_0x3965c0(0x4c8)]=0x1b5d]='APPLY_DUPLICATED',_0x1c9b82[_0x1c9b82[_0x3965c0(0x213)]=0x1f41]=_0x3965c0(0x213),_0x1c9b82[_0x1c9b82['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3965c0(0x260),_0x1c9b82[_0x1c9b82['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x1c9b82[_0x1c9b82[_0x3965c0(0x1fa)]=0x232b]=_0x3965c0(0x1fa),_0x1c9b82[_0x1c9b82[_0x3965c0(0x251)]=0x232c]=_0x3965c0(0x251),_0x1c9b82[_0x1c9b82[_0x3965c0(0x367)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x1c9b82[_0x1c9b82[_0x3965c0(0x13f)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1c9b82[_0x1c9b82['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1c9b82[_0x1c9b82[_0x3965c0(0x143)]=0x2713]=_0x3965c0(0x143),_0x1c9b82[_0x1c9b82[_0x3965c0(0x369)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x1c9b82[_0x1c9b82[_0x3965c0(0x313)]=-0x1]='UNRECOGNIZED',_0x1c9b82))(_0x27eb92||{}),_0x22ab58=(_0x145a94=>(_0x145a94[_0x145a94['UNIVER_UNKNOWN']=0x0]=_0x3965c0(0x33e),_0x145a94[_0x145a94['UNIVER_DOC']=0x1]=_0x3965c0(0x164),_0x145a94[_0x145a94[_0x3965c0(0x45d)]=0x2]=_0x3965c0(0x45d),_0x145a94[_0x145a94['UNIVER_SLIDE']=0x3]=_0x3965c0(0x1f8),_0x145a94[_0x145a94['UNIVER_PROJECT']=0x4]=_0x3965c0(0x4bd),_0x145a94[_0x145a94[_0x3965c0(0x313)]=-0x1]=_0x3965c0(0x313),_0x145a94))(_0x22ab58||{}),_0x3f507b=(_0x159d48=>(_0x159d48[_0x159d48['UNKNOWN_CMD']=0x0]=_0x3965c0(0x402),_0x159d48[_0x159d48['HELLO']=0x1]='HELLO',_0x159d48[_0x159d48[_0x3965c0(0x430)]=0x2]=_0x3965c0(0x430),_0x159d48[_0x159d48[_0x3965c0(0x540)]=0x3]=_0x3965c0(0x540),_0x159d48[_0x159d48['INGEST']=0x4]=_0x3965c0(0x3ce),_0x159d48[_0x159d48['HEARTBEAT']=0x5]=_0x3965c0(0x30b),_0x159d48[_0x159d48[_0x3965c0(0xd1)]=0x6]=_0x3965c0(0xd1),_0x159d48[_0x159d48[_0x3965c0(0x313)]=-0x1]=_0x3965c0(0x313),_0x159d48))(_0x3f507b||{}),_0x422802=(_0x34d25b=>(_0x34d25b[_0x34d25b[_0x3965c0(0x459)]=0x0]=_0x3965c0(0x459),_0x34d25b[_0x34d25b['OK']=0x1]='OK',_0x34d25b[_0x34d25b['FAIL']=0x2]=_0x3965c0(0x105),_0x34d25b[_0x34d25b['UNRECOGNIZED']=-0x1]=_0x3965c0(0x313),_0x34d25b))(_0x422802||{}),_0x46f05b=(_0x36e4be=>(_0x36e4be[_0x36e4be[_0x3965c0(0x3a3)]=0x0]='Undefined',_0x36e4be[_0x36e4be['HttpImport']=0x1]=_0x3965c0(0x1c7),_0x36e4be[_0x36e4be[_0x3965c0(0x158)]=0x2]=_0x3965c0(0x158),_0x36e4be[_0x36e4be[_0x3965c0(0x420)]=0x3]=_0x3965c0(0x420),_0x36e4be[_0x36e4be[_0x3965c0(0x546)]=0x4]=_0x3965c0(0x546),_0x36e4be[_0x36e4be['UNRECOGNIZED']=-0x1]=_0x3965c0(0x313),_0x36e4be))(_0x46f05b||{});const _0x5f560a=_0x3965c0(0x4c6),_0x20bbca={};function _0x183f2e(_0x55d577){const _0x445b9f=_0x3965c0;var _0x3856c8,_0x55f55e,_0x57abbd,_0x5cf060,_0x656365;const _0x4ab32a=_0x55d577[_0x445b9f(0x4ea)],_0x439b3b=JSON[_0x445b9f(0x563)](_0x4ab32a);switch(_0x439b3b[_0x445b9f(0x41c)]){case _0x3f507b['HEARTBEAT']:case _0x3f507b[_0x445b9f(0xbc)]:{const _0x382991=_0x439b3b[_0x445b9f(0x25e)];return{..._0x439b3b,'data':_0x382991,'cmd':_0x439b3b[_0x445b9f(0x41c)]};}case _0x3f507b[_0x445b9f(0x430)]:{const _0x3f9631=_0x439b3b[_0x445b9f(0x103)];return{..._0x439b3b,'data':_0x3f9631,'cmd':_0x439b3b[_0x445b9f(0x41c)]};}case _0x3f507b[_0x445b9f(0xd1)]:{const _0xe34ffc=_0x439b3b['collaMsg'];switch(_0xe34ffc['eventID']){case _0x20a4af[_0x445b9f(0xbd)][_0x445b9f(0x40c)]:return{..._0x439b3b,'data':{..._0xe34ffc,'data':(_0x3856c8=_0xe34ffc[_0x445b9f(0x301)])==null?void 0x0:_0x3856c8['cs']},'cmd':_0x439b3b['cmd']};case _0x20a4af[_0x445b9f(0xbd)][_0x445b9f(0x559)]:return{..._0x439b3b,'data':{..._0xe34ffc,'data':(_0x55f55e=_0xe34ffc[_0x445b9f(0x38c)])==null?void 0x0:_0x55f55e['cs']},'cmd':_0x439b3b['cmd']};case _0x20a4af[_0x445b9f(0xbd)]['NEW_CHANGESETS']:return{..._0x439b3b,'data':{..._0xe34ffc,'data':(_0x57abbd=_0xe34ffc[_0x445b9f(0xc1)])==null?void 0x0:_0x57abbd['cs']},'cmd':_0x439b3b['cmd']};case _0x20a4af[_0x445b9f(0xbd)][_0x445b9f(0x2ef)]:return{..._0x439b3b,'data':{..._0xe34ffc,'data':(_0x5cf060=_0xe34ffc['csRejEvent'])==null?void 0x0:_0x5cf060['cs']},'cmd':_0x439b3b[_0x445b9f(0x41c)]};case _0x20a4af['CollaborationEvent'][_0x445b9f(0x10b)]:return{..._0x439b3b,'data':{..._0xe34ffc,'data':(_0x656365=_0xe34ffc['csShouldRetryEvent'])==null?void 0x0:_0x656365['cs']},'cmd':_0x439b3b[_0x445b9f(0x41c)]};case _0x20a4af[_0x445b9f(0xbd)][_0x445b9f(0x4ca)]:return{..._0x439b3b,'data':{..._0xe34ffc,'data':_0xe34ffc[_0x445b9f(0x186)]},'cmd':_0x439b3b[_0x445b9f(0x41c)]};case _0x20a4af[_0x445b9f(0xbd)][_0x445b9f(0x267)]:return{..._0x439b3b,'data':{..._0xe34ffc,'data':_0xe34ffc['joinEvent']},'cmd':_0x439b3b['cmd']};case _0x20a4af['CollaborationEvent'][_0x445b9f(0x1bb)]:return{..._0x439b3b,'data':{..._0xe34ffc,'data':_0xe34ffc['leaveEvent']},'cmd':_0x439b3b[_0x445b9f(0x41c)]};case _0x20a4af['CollaborationEvent'][_0x445b9f(0x264)]:return{..._0x439b3b,'data':{..._0xe34ffc,'data':_0xe34ffc[_0x445b9f(0x110)]},'cmd':_0x439b3b[_0x445b9f(0x41c)]};case _0x20a4af[_0x445b9f(0xbd)][_0x445b9f(0x408)]:case _0x20a4af[_0x445b9f(0xbd)]['LIVESHARE_OPERATION']:return{..._0x439b3b,'data':{..._0xe34ffc,'data':_0xe34ffc['liveShareOperation']},'cmd':_0x439b3b[_0x445b9f(0x41c)]};case _0x20a4af[_0x445b9f(0xbd)][_0x445b9f(0x236)]:return{..._0x439b3b,'data':{..._0xe34ffc,'data':_0xe34ffc[_0x445b9f(0x110)]},'cmd':_0x439b3b[_0x445b9f(0x41c)]};case _0x20a4af[_0x445b9f(0xbd)][_0x445b9f(0x22b)]:return{..._0x439b3b,'data':_0xe34ffc,'cmd':_0x439b3b['cmd']};case _0x20a4af[_0x445b9f(0xbd)][_0x445b9f(0x4f5)]:return{..._0x439b3b,'data':{..._0xe34ffc,'data':_0xe34ffc[_0x445b9f(0x52e)]},'cmd':_0x439b3b[_0x445b9f(0x41c)]};case _0x20a4af['CollaborationEvent']['UPDATE_PERMISSION_OBJ']:return{..._0x439b3b,'data':{..._0xe34ffc,'data':_0xe34ffc[_0x445b9f(0x46f)]},'cmd':_0x439b3b[_0x445b9f(0x41c)]};case _0x20a4af[_0x445b9f(0xbd)][_0x445b9f(0x492)]:return{..._0x439b3b,'data':{..._0xe34ffc,'data':_0xe34ffc[_0x445b9f(0x27d)]},'cmd':_0x439b3b['cmd']};default:return _0x439b3b;}}default:return _0x439b3b;}}function _0xe84bd6(_0x1613f7){const _0x4134e6=_0x3965c0;switch(_0x1613f7['cmd']){case _0x3f507b[_0x4134e6(0x30b)]:case _0x3f507b[_0x4134e6(0xbc)]:return JSON[_0x4134e6(0x487)]({'cmd':_0x1613f7[_0x4134e6(0x41c)],'routeKey':_0x1613f7[_0x4134e6(0x19d)]});case _0x3f507b[_0x4134e6(0x3ce)]:{let _0x240649;switch(_0x1613f7[_0x4134e6(0x4ea)][_0x4134e6(0x54b)]){case _0x20a4af[_0x4134e6(0xbd)][_0x4134e6(0x4ca)]:{_0x240649={'eventID':_0x20a4af[_0x4134e6(0xbd)][_0x4134e6(0x4ca)],'updateCursorEvent':_0x1613f7[_0x4134e6(0x4ea)][_0x4134e6(0x4ea)]};break;}case _0x20a4af[_0x4134e6(0xbd)][_0x4134e6(0x1bb)]:{_0x240649={'eventID':_0x20a4af[_0x4134e6(0xbd)]['USERS_LEAVE'],'leaveEvent':_0x1613f7[_0x4134e6(0x4ea)][_0x4134e6(0x4ea)]};break;}case _0x20a4af[_0x4134e6(0xbd)][_0x4134e6(0x267)]:{_0x240649={'eventID':_0x20a4af['CollaborationEvent']['USERS_ENTER'],'joinEvent':_0x1613f7[_0x4134e6(0x4ea)][_0x4134e6(0x4ea)]};break;}case _0x20a4af['CollaborationEvent']['LIVESHARE_NEW_HOST']:{_0x240649={'eventID':_0x20a4af[_0x4134e6(0xbd)][_0x4134e6(0x264)],'liveShareNewHost':_0x1613f7[_0x4134e6(0x4ea)][_0x4134e6(0x4ea)]};break;}case _0x20a4af[_0x4134e6(0xbd)][_0x4134e6(0x160)]:{_0x240649={'eventID':_0x20a4af[_0x4134e6(0xbd)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x1613f7[_0x4134e6(0x4ea)][_0x4134e6(0x4ea)]};break;}case _0x20a4af[_0x4134e6(0xbd)][_0x4134e6(0x236)]:{_0x240649={'eventID':_0x20a4af[_0x4134e6(0xbd)][_0x4134e6(0x236)],'liveShareTerminate':_0x1613f7['data'][_0x4134e6(0x4ea)]};break;}case _0x20a4af[_0x4134e6(0xbd)]['LIVESHARE_REQUEST_HOST']:{_0x240649={'eventID':_0x20a4af[_0x4134e6(0xbd)][_0x4134e6(0x4c1)],'liveShareRequestHost':_0x1613f7[_0x4134e6(0x4ea)][_0x4134e6(0x4ea)]};break;}case _0x20a4af['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0x240649={'eventID':_0x20a4af['CollaborationEvent'][_0x4134e6(0x408)]};break;}default:_0x240649={'eventID':_0x1613f7[_0x4134e6(0x4ea)][_0x4134e6(0x54b)]};}return JSON[_0x4134e6(0x487)]({'cmd':_0x1613f7[_0x4134e6(0x41c)],'routeKey':_0x1613f7[_0x4134e6(0x19d)],'collaMsg':_0x240649});}case _0x3f507b[_0x4134e6(0x430)]:return JSON[_0x4134e6(0x487)]({'cmd':_0x1613f7[_0x4134e6(0x41c)],'routeKey':_0x1613f7[_0x4134e6(0x19d)],'joinReq':_0x1613f7[_0x4134e6(0x4ea)]});case _0x3f507b['LEAVE']:return JSON[_0x4134e6(0x487)]({'cmd':_0x1613f7[_0x4134e6(0x41c)],'routeKey':_0x1613f7['routeKey'],'leaveReq':_0x1613f7[_0x4134e6(0x4ea)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x397584=Object[_0x3965c0(0x3d5)],_0x38b1a6=Object[_0x3965c0(0x406)],_0x10d266=(_0x5570ea,_0x58628f,_0x4d5902,_0xe6d023)=>{const _0x2e44d5=_0x3965c0;for(var _0x45e8f2=_0xe6d023>0x1?void 0x0:_0xe6d023?_0x38b1a6(_0x58628f,_0x4d5902):_0x58628f,_0x5a0ff7=_0x5570ea[_0x2e44d5(0x2af)]-0x1,_0x1e0462;_0x5a0ff7>=0x0;_0x5a0ff7--)(_0x1e0462=_0x5570ea[_0x5a0ff7])&&(_0x45e8f2=(_0xe6d023?_0x1e0462(_0x58628f,_0x4d5902,_0x45e8f2):_0x1e0462(_0x45e8f2))||_0x45e8f2);return _0xe6d023&&_0x45e8f2&&_0x397584(_0x58628f,_0x4d5902,_0x45e8f2),_0x45e8f2;},_0x3a3115=(_0x19caa7,_0x4c9080)=>(_0xff917d,_0x56f066)=>_0x4c9080(_0xff917d,_0x56f066,_0x19caa7);const _0x17f9a0=_0x320968[_0x3965c0(0x23b)](_0x3965c0(0x133));function _0x17ce97(_0x34a849,_0x42ce0f,_0x218941){const _0x54de31=_0x3965c0;return _0x34a849+'/'+_0x42ce0f+_0x54de31(0x387)+_0x218941+_0x54de31(0x3dd);}_0x41186c[_0x3965c0(0x130)]=class extends _0x320968[_0x3965c0(0x2de)]{constructor(_0x460615,_0x2a081f,_0x28be23,_0x1ae70b,_0x412f0f){const _0x391ac1=_0x3965c0;super(),this[_0x391ac1(0x557)]=_0x460615,this['_ws']=_0x2a081f,this['_configService']=_0x28be23,this[_0x391ac1(0x127)]=_0x1ae70b,this[_0x391ac1(0x326)]=_0x412f0f;}[_0x3965c0(0x35c)](_0x1af153){const _0xd466c8=_0x3965c0,_0x37364c=this[_0xd466c8(0x4d0)][_0xd466c8(0x35c)](_0x1af153);if(!_0x37364c)throw new Error(_0xd466c8(0x41a));const _0xfabd68=new _0x320968[(_0xd466c8(0x401))](),_0x4948e2=new _0x237014[(_0xd466c8(0x3a5))]();_0xfabd68['add'](_0x37364c[_0xd466c8(0x126)][_0xd466c8(0xc2)](_0x2ed160=>_0x4948e2[_0xd466c8(0xa0)](_0x2ed160))),_0xfabd68['add'](_0x320968[_0xd466c8(0x185)](()=>_0x4948e2[_0xd466c8(0x1eb)]()));const _0x347404=new _0x237014[(_0xd466c8(0x3a5))]();_0xfabd68[_0xd466c8(0x413)](_0x37364c[_0xd466c8(0x140)][_0xd466c8(0xc2)](_0xe68c43=>_0x347404[_0xd466c8(0xa0)](_0xe68c43))),_0xfabd68[_0xd466c8(0x413)](_0x320968[_0xd466c8(0x185)](()=>_0x347404[_0xd466c8(0x1eb)]()));const _0x4aeb8d=new _0x237014['Subject']();_0xfabd68['add'](_0x37364c[_0xd466c8(0x299)][_0xd466c8(0xc2)](_0x51e32d=>{const _0x3e8ad6=_0xd466c8,_0x41aa14=_0x183f2e(_0x51e32d);_0x4aeb8d[_0x3e8ad6(0xa0)](_0x41aa14);})),_0xfabd68[_0xd466c8(0x413)](_0x320968[_0xd466c8(0x185)](()=>_0x4aeb8d[_0xd466c8(0x1eb)]()));let _0x4ddc3d;const _0x3dffa1=()=>{const _0x474676=_0xd466c8;_0x347404[_0x474676(0xa0)](new Event(_0x474676(0x266))),_0x4948e2[_0x474676(0xa0)](new CloseEvent(_0x474676(0x266))),_0x4ddc3d[_0x474676(0x227)]();};return _0x4ddc3d={'memberID':'','close$':_0x4948e2[_0xd466c8(0x372)](),'error$':_0x347404['asObservable'](),'open$':_0x37364c[_0xd466c8(0xf5)],'message$':_0x4aeb8d[_0xd466c8(0x372)](),'send':_0x207950=>{const _0x383231=_0xd466c8;if(_0x207950[_0x383231(0x41c)]===_0x3f507b['INGEST']){if(_0x207950['data'][_0x383231(0x54b)]===_0x20a4af[_0x383231(0xbd)][_0x383231(0x135)]){this[_0x383231(0x4ed)](_0x4ddc3d,_0x207950[_0x383231(0x4ea)])[_0x383231(0x17d)](_0x33a1b3=>{const _0x334976=_0x383231;this['_logService'][_0x334976(0x2c0)](_0x33a1b3),_0x3dffa1();});return;}if(_0x207950[_0x383231(0x4ea)]['eventID']===_0x20a4af[_0x383231(0xbd)][_0x383231(0x1d4)]){const _0x23d6b3=_0x207950[_0x383231(0x4ea)];this[_0x383231(0x256)](_0x23d6b3)[_0x383231(0x42f)](_0x9c537a=>{const _0x6163d4=_0x383231;_0x4aeb8d['next']({'cmd':_0x3f507b[_0x6163d4(0xd1)],'code':_0x422802['OK'],'routeKey':_0x23d6b3['data'][_0x6163d4(0x534)],'routeType':'','data':{'eventID':_0x20a4af[_0x6163d4(0xbd)][_0x6163d4(0x187)],'data':{'changesets':_0x9c537a}}});})[_0x383231(0x17d)](_0x10891a=>{const _0x5dcaa3=_0x383231;this['_logService'][_0x5dcaa3(0x2c0)](_0x10891a),_0x3dffa1();});return;}}_0x37364c[_0x383231(0x520)](_0xe84bd6(_0x207950));},'close':()=>{const _0x31eb4e=_0xd466c8;_0x37364c[_0x31eb4e(0x227)](),_0xfabd68[_0x31eb4e(0x41f)]();}},_0x4ddc3d;}async['_submitChangeset'](_0x23aaf3,_0x395aa9){const _0x3fb815=_0x3965c0;var _0x43987e,_0x394623;const {unitType:_0x19b50a,unitID:_0x23aa01,changeset:_0x46238a}=_0x395aa9[_0x3fb815(0x4ea)],_0x1e3d12={'unitID':_0x23aa01,'memberID':_0x23aaf3[_0x3fb815(0x243)],'type':_0x19b50a,'changeset':_0x20a4af['parseChangesetToProtocol'](_0x46238a)},_0x24eef0=this[_0x3fb815(0xa3)][_0x3fb815(0xa7)](_0xb29dfd),_0x1ae395=this[_0x3fb815(0xa3)][_0x3fb815(0xa7)](_0x5f560a),_0x161631=_0x17ce97((_0x394623=(_0x43987e=_0x1ae395==null?void 0x0:_0x1ae395[_0x3fb815(0x399)])!=null?_0x43987e:_0x24eef0)!=null?_0x394623:_0x675828,_0x19b50a,_0x23aa01);try{await this[_0x3fb815(0x557)][_0x3fb815(0x2ad)](_0x161631,{'body':_0x1e3d12});}catch(_0x8077c0){throw this[_0x3fb815(0x127)]['error'](_0x3fb815(0x323),_0x3fb815(0x1c0)),_0x8077c0;}}async['_fetchMissChangesets'](_0x4e1129){const _0x1aaaf0=_0x3965c0,{unitID:_0x522502,from:_0x51cde1,to:_0x5b759d,unitType:_0x3af3aa}=_0x4e1129[_0x1aaaf0(0x4ea)];return(await this[_0x1aaaf0(0x326)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x522502,'type':_0x3af3aa,'from':_0x51cde1,'to':_0x5b759d}))['changesets'];}},_0x41186c['CollaborationSocketService']=_0x10d266([_0x3a3115(0x0,_0x320968[_0x3965c0(0x124)](_0x1ebdcd['HTTPService'])),_0x3a3115(0x1,_0x320968[_0x3965c0(0x124)](_0x1ebdcd[_0x3965c0(0x283)])),_0x3a3115(0x2,_0x320968['IConfigService']),_0x3a3115(0x3,_0x320968[_0x3965c0(0x226)]),_0x3a3115(0x4,_0x20a4af[_0x3965c0(0x44f)])],_0x41186c['CollaborationSocketService']);const _0x103c5c=_0x3965c0(0x2f5);function _0x126674(_0x551857){const _0x58dba2=_0x3965c0;return JSON['stringify'](_0x551857)[_0x58dba2(0x2af)];}class _0xb73d3b{constructor(){const _0xa5aeb2=_0x3965c0;_0x42c854(this,_0xa5aeb2(0x54a),new _0x237014['Subject']()),_0x42c854(this,'commentUpdate$',this[_0xa5aeb2(0x54a)]['asObservable']());}[_0x3965c0(0x41e)](_0x29b50c){const _0x8241f5=_0x3965c0;this['_commentUpdate$'][_0x8241f5(0xa0)](_0x29b50c);}}var _0xb6bff7=Object[_0x3965c0(0x3d5)],_0x1fd4ed=Object[_0x3965c0(0x406)],_0x1216b8=(_0x2c3306,_0x39d570,_0x15b1ed,_0x241b2e)=>{for(var _0x4ae994=_0x241b2e>0x1?void 0x0:_0x241b2e?_0x1fd4ed(_0x39d570,_0x15b1ed):_0x39d570,_0x2fa8b9=_0x2c3306['length']-0x1,_0x288c4d;_0x2fa8b9>=0x0;_0x2fa8b9--)(_0x288c4d=_0x2c3306[_0x2fa8b9])&&(_0x4ae994=(_0x241b2e?_0x288c4d(_0x39d570,_0x15b1ed,_0x4ae994):_0x288c4d(_0x4ae994))||_0x4ae994);return _0x241b2e&&_0x4ae994&&_0xb6bff7(_0x39d570,_0x15b1ed,_0x4ae994),_0x4ae994;},_0x5eefc9=(_0x575ee3,_0x2f4373)=>(_0x10d4ea,_0x2eefd6)=>_0x2f4373(_0x10d4ea,_0x2eefd6,_0x575ee3);_0x41186c[_0x3965c0(0x3bd)]=class extends _0x320968[_0x3965c0(0x2de)]{constructor(_0x25d4f3,_0x276756){const _0x27ab0a=_0x3965c0;super(),_0x42c854(this,'_roomMembers',new Map()),(this[_0x27ab0a(0x27e)]=_0x25d4f3,this[_0x27ab0a(0x1df)]=_0x276756,this[_0x27ab0a(0x219)](_0x320968[_0x27ab0a(0x185)](_0x237014['merge'](this[_0x27ab0a(0x27e)][_0x27ab0a(0x381)](_0x320968['UniverInstanceType'][_0x27ab0a(0x45d)])['pipe'](_0x1aca11['map'](_0x2ee87d=>_0x2ee87d[_0x27ab0a(0x104)]())),this[_0x27ab0a(0x27e)][_0x27ab0a(0x381)](_0x320968[_0x27ab0a(0x248)][_0x27ab0a(0x164)])[_0x27ab0a(0x30f)](_0x1aca11['map'](_0x5d47e3=>_0x5d47e3[_0x27ab0a(0x104)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x320968[_0x27ab0a(0x248)]['UNIVER_SLIDE'])[_0x27ab0a(0x30f)](_0x1aca11[_0x27ab0a(0x3dc)](_0x8b3bc=>_0x8b3bc['getUnitId']())))[_0x27ab0a(0xc2)](_0x5bf77e=>this[_0x27ab0a(0xb2)](_0x5bf77e)))));}[_0x3965c0(0x277)](_0x362ee9){const _0x205eca=_0x3965c0;this['_userManagerService'][_0x205eca(0x277)](_0x362ee9);}[_0x3965c0(0x3e9)](){const _0xd94fa9=_0x3965c0;return this['_userManagerService'][_0xd94fa9(0x3e9)]();}['updateMember'](_0x20d8a8,_0x79643e){const _0x475c87=_0x3965c0;let _0x575c47=this[_0x475c87(0x42e)][_0x475c87(0x159)](_0x20d8a8);_0x575c47||(_0x575c47=new _0x26ee87(),this[_0x475c87(0x42e)]['set'](_0x20d8a8,_0x575c47)),_0x575c47['updateMember'](_0x79643e);}['removeMember'](_0x4763ae,_0x20ab1){const _0xcf4143=_0x3965c0,_0xf1940c=this[_0xcf4143(0x42e)][_0xcf4143(0x159)](_0x4763ae);_0xf1940c&&_0xf1940c['removeMember'](_0x20ab1);}[_0x3965c0(0x43a)](_0x2753b8){const _0x56ff55=_0x3965c0;return this[_0x56ff55(0x42e)][_0x56ff55(0x159)](_0x2753b8);}[_0x3965c0(0x40e)](_0x2973e2,_0x2bc94a){const _0x8a836a=_0x3965c0,_0x3c6bd3=this[_0x8a836a(0x42e)]['get'](_0x2973e2);if(_0x3c6bd3)return _0x3c6bd3[_0x8a836a(0x40e)](_0x2bc94a);}[_0x3965c0(0xb2)](_0x408165){const _0x3ef840=_0x3965c0,_0x47cebb=this[_0x3ef840(0x42e)][_0x3ef840(0x159)](_0x408165);_0x47cebb&&(_0x47cebb[_0x3ef840(0x41f)](),this['_roomMembers'][_0x3ef840(0xac)](_0x408165));}[_0x3965c0(0x41f)](){const _0x2e474e=_0x3965c0;this[_0x2e474e(0x42e)][_0x2e474e(0x123)](_0xb0c614=>_0xb0c614['dispose']()),this[_0x2e474e(0x42e)][_0x2e474e(0x49b)]();}},_0x41186c['MemberService']=_0x1216b8([_0x5eefc9(0x0,_0x320968['IUniverInstanceService']),_0x5eefc9(0x1,_0x320968['Inject'](_0x320968[_0x3965c0(0x1fe)]))],_0x41186c[_0x3965c0(0x3bd)]);class _0x26ee87 extends _0x320968[_0x3965c0(0x2de)]{constructor(){super(...arguments),_0x42c854(this,'_members',new Map());}[_0x3965c0(0x41f)](){const _0x34aaab=_0x3965c0;this['_members'][_0x34aaab(0x49b)]();}[_0x3965c0(0x328)](_0x37407c){const _0x1e1c85=_0x3965c0;this[_0x1e1c85(0x38e)]['set'](_0x37407c[_0x1e1c85(0x243)],_0x37407c);}['removeMember'](_0x2d093a){const _0x16e0f0=_0x3965c0;this[_0x16e0f0(0x38e)]['delete'](_0x2d093a);}[_0x3965c0(0x40e)](_0x220542){const _0x55a015=_0x3965c0;return this[_0x55a015(0x38e)][_0x55a015(0x159)](_0x220542);}['getAllMembers'](){const _0x1d0cca=_0x3965c0;return Array['from'](this[_0x1d0cca(0x38e)][_0x1d0cca(0x3fb)]());}}var _0xa97749=Object[_0x3965c0(0x3d5)],_0x5bd3ee=Object[_0x3965c0(0x406)],_0x20d963=(_0x55a8f7,_0x2bc85b,_0x281867,_0x32eb33)=>{for(var _0x5e9dec=_0x32eb33>0x1?void 0x0:_0x32eb33?_0x5bd3ee(_0x2bc85b,_0x281867):_0x2bc85b,_0x48840f=_0x55a8f7['length']-0x1,_0x4e8a29;_0x48840f>=0x0;_0x48840f--)(_0x4e8a29=_0x55a8f7[_0x48840f])&&(_0x5e9dec=(_0x32eb33?_0x4e8a29(_0x2bc85b,_0x281867,_0x5e9dec):_0x4e8a29(_0x5e9dec))||_0x5e9dec);return _0x32eb33&&_0x5e9dec&&_0xa97749(_0x2bc85b,_0x281867,_0x5e9dec),_0x5e9dec;},_0x107ff1=(_0x1ad34d,_0x311d32)=>(_0x4984ac,_0x3f8a98)=>_0x311d32(_0x4984ac,_0x3f8a98,_0x1ad34d),_0x38d2e3=(_0xf5d6e2=>(_0xf5d6e2[_0xf5d6e2[_0x3965c0(0x418)]=0x0]='IDLE',_0xf5d6e2[_0xf5d6e2[_0x3965c0(0x250)]=0x1]='JOINING',_0xf5d6e2[_0xf5d6e2['OFFLINE']=0x2]=_0x3965c0(0x53e),_0xf5d6e2[_0xf5d6e2[_0x3965c0(0x2b8)]=0x3]='ONLINE',_0xf5d6e2))(_0x38d2e3||{});_0x41186c[_0x3965c0(0x1ee)]=class extends _0x320968[_0x3965c0(0x1ff)]{constructor(_0x4c2ba7,_0x424676,_0x23c9a1,_0x4299b7,_0x1734f2,_0x30c6f6,_0x2febd5,_0x566567,_0x1bd09b,_0x240cf6){const _0x4af2a8=_0x3965c0;super(),_0x42c854(this,_0x4af2a8(0x457),new _0x237014[(_0x4af2a8(0xa5))](0x0)),_0x42c854(this,_0x4af2a8(0x215),this[_0x4af2a8(0x457)]['asObservable']()),_0x42c854(this,'_event$',new _0x237014[(_0x4af2a8(0x3a5))]()),_0x42c854(this,'event$',this[_0x4af2a8(0x499)]['asObservable']()),_0x42c854(this,_0x4af2a8(0x24e)),_0x42c854(this,_0x4af2a8(0x157)),_0x42c854(this,'_collaborationTimeoutTimer'),_0x42c854(this,_0x4af2a8(0x443),!0x1),_0x42c854(this,_0x4af2a8(0x1e2),null),(this[_0x4af2a8(0x36e)]=_0x4c2ba7,this[_0x4af2a8(0x127)]=_0x23c9a1,this[_0x4af2a8(0xde)]=_0x4299b7,this[_0x4af2a8(0x314)]=_0x1734f2,this[_0x4af2a8(0xa3)]=_0x30c6f6,this[_0x4af2a8(0xed)]=_0x2febd5,this[_0x4af2a8(0x437)]=_0x566567,this[_0x4af2a8(0x1b7)]=_0x1bd09b,this['_telemetryService']=_0x240cf6,this[_0x4af2a8(0x443)]=!!this[_0x4af2a8(0x409)],_0x424676[_0x4af2a8(0x30f)](_0x237014[_0x4af2a8(0x2ea)](this[_0x4af2a8(0x547)]))[_0x4af2a8(0xc2)](_0x579b3d=>{const _0x5dd16a=_0x4af2a8;var _0x509ba5;typeof _0x579b3d>'u'||(this[_0x5dd16a(0x24e)]=_0x579b3d,_0x579b3d?(this['_joinRoom'](_0x579b3d),this[_0x5dd16a(0x157)]=_0x579b3d[_0x5dd16a(0x299)][_0x5dd16a(0xc2)](_0x183a5a=>{const _0x1280e1=_0x5dd16a;_0x183a5a[_0x1280e1(0x19d)]===this[_0x1280e1(0x36e)]&&this[_0x1280e1(0x1d8)](_0x183a5a);})):(this[_0x5dd16a(0x461)](),this[_0x5dd16a(0x457)]['next'](0x2),(_0x509ba5=this[_0x5dd16a(0x157)])==null||_0x509ba5[_0x5dd16a(0x475)](),this[_0x5dd16a(0x157)]=null));}),this[_0x4af2a8(0x219)](this[_0x4af2a8(0xde)][_0x4af2a8(0xc4)](()=>{const _0x14ae14=_0x4af2a8;var _0x45f3e2;(_0x45f3e2=this[_0x14ae14(0x24e)])==null||_0x45f3e2[_0x14ae14(0x520)]({'cmd':_0x3f507b[_0x14ae14(0x540)],'data':{'roomID':this[_0x14ae14(0x36e)]}});})));}get['sessionStatus'](){const _0x12d0ae=_0x3965c0;return this[_0x12d0ae(0x457)][_0x12d0ae(0x4d8)]();}[_0x3965c0(0x10e)](){const _0x173d09=_0x3965c0;var _0x4c5ba2,_0x5e7514;return(_0x5e7514=(_0x4c5ba2=this['_socket'])==null?void 0x0:_0x4c5ba2[_0x173d09(0x243)])!=null?_0x5e7514:null;}[_0x3965c0(0x41f)](){const _0x4a821d=_0x3965c0;super['dispose'](),this[_0x4a821d(0x547)]['next'](),this[_0x4a821d(0x547)][_0x4a821d(0x1eb)]();}[_0x3965c0(0x227)](){const _0x51b0df=_0x3965c0;var _0xaea62d,_0x207e22;this['_throwTelemetryCollaborationNewChangeset'](),(_0xaea62d=this[_0x51b0df(0x24e)])==null||_0xaea62d[_0x51b0df(0x520)]({'cmd':_0x3f507b[_0x51b0df(0x540)],'data':{'roomID':this[_0x51b0df(0x36e)]}}),(_0x207e22=this[_0x51b0df(0x24e)])==null||_0x207e22['close'](),this[_0x51b0df(0x499)][_0x51b0df(0x1eb)](),this[_0x51b0df(0x457)]['complete'](),this[_0x51b0df(0x41f)]();}[_0x3965c0(0x1d8)](_0x10b1cb){const _0x58ae59=_0x3965c0;_0x10b1cb[_0x58ae59(0x41c)]===_0x3f507b[_0x58ae59(0x430)]?this[_0x58ae59(0x201)](_0x10b1cb):_0x10b1cb[_0x58ae59(0x41c)]===_0x3f507b['RECV']&&this[_0x58ae59(0x240)](_0x10b1cb);}[_0x3965c0(0x332)](_0x479564){const _0x1124d7=_0x3965c0;this[_0x1124d7(0x457)][_0x1124d7(0xa0)](0x1),_0x479564[_0x1124d7(0x520)]({'cmd':_0x3f507b['JOIN'],'routeKey':this[_0x1124d7(0x36e)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1124d7(0x36e)]}]}});}[_0x3965c0(0x201)](_0x2708f0){const _0x81664b=_0x3965c0;var _0x6054c7;if(_0x2708f0[_0x81664b(0x3a9)]===_0x422802['FAIL']){this[_0x81664b(0x314)]['show']({'type':_0x396768[_0x81664b(0x47e)][_0x81664b(0x522)],'content':this[_0x81664b(0xed)]['t'](_0x81664b(0x4f3))}),this[_0x81664b(0x457)][_0x81664b(0xa0)](0x2);return;}this[_0x81664b(0x457)][_0x81664b(0xa0)](0x3);const _0xb478bb=(_0x6054c7=_0x2708f0[_0x81664b(0x4ea)][_0x81664b(0x163)][this[_0x81664b(0x36e)]])==null?void 0x0:_0x6054c7[_0x81664b(0x24c)];_0xb478bb&&_0xb478bb[_0x81664b(0x123)](_0x17bf1b=>this['_memberService']['updateMember'](this[_0x81664b(0x36e)],_0x17bf1b));}['_onRecvEvent'](_0x1f546b){const _0x5998f4=_0x3965c0;try{const _0x2d79ea=_0x1f546b['data'];switch(_0x2d79ea['eventID']){case _0x20a4af['CollaborationEvent'][_0x5998f4(0x267)]:this[_0x5998f4(0x2d9)](_0x2d79ea),this[_0x5998f4(0x499)][_0x5998f4(0xa0)](_0x2d79ea);break;case _0x20a4af[_0x5998f4(0xbd)]['USERS_LEAVE']:this[_0x5998f4(0x410)](_0x2d79ea),this[_0x5998f4(0x499)][_0x5998f4(0xa0)](_0x2d79ea);break;case _0x20a4af[_0x5998f4(0xbd)][_0x5998f4(0x559)]:case _0x20a4af[_0x5998f4(0xbd)][_0x5998f4(0x10b)]:this[_0x5998f4(0x52b)](),this[_0x5998f4(0x354)](),this['_event$'][_0x5998f4(0xa0)](_0x2d79ea);break;case _0x20a4af[_0x5998f4(0xbd)][_0x5998f4(0x22b)]:this[_0x5998f4(0x127)][_0x5998f4(0x2c0)](_0x5998f4(0x2f2)+JSON[_0x5998f4(0x487)](_0x2d79ea)),this['_event$'][_0x5998f4(0xa0)](_0x2d79ea);break;case _0x20a4af[_0x5998f4(0xbd)][_0x5998f4(0x4f5)]:this[_0x5998f4(0x1b7)][_0x5998f4(0x41e)](_0x2d79ea[_0x5998f4(0x4ea)]),this[_0x5998f4(0x499)][_0x5998f4(0xa0)](_0x2d79ea);break;default:this[_0x5998f4(0x499)][_0x5998f4(0xa0)](_0x2d79ea);}}catch(_0x2145a0){this[_0x5998f4(0x127)][_0x5998f4(0x2c0)](_0x2145a0,_0x1f546b);}}['_onUserJoin'](_0x409841){const _0x2fa9bc=_0x3965c0;this['_memberService'][_0x2fa9bc(0x328)](this['_unitID'],_0x409841[_0x2fa9bc(0x4ea)]);}[_0x3965c0(0x410)](_0x56458a){const _0xe5822=_0x3965c0;this[_0xe5822(0x437)][_0xe5822(0x4b9)](this[_0xe5822(0x36e)],_0x56458a[_0xe5822(0x4ea)][_0xe5822(0x243)]);}async[_0x3965c0(0x520)](_0xccc478,_0x488059){const _0x5659c1=_0x3965c0;if(this[_0x5659c1(0x302)]!==0x3||!this[_0x5659c1(0x24e)])throw new Error(_0x5659c1(0x10a));try{_0xccc478[_0x5659c1(0x54b)]===_0x20a4af[_0x5659c1(0xbd)][_0x5659c1(0x135)]&&(this[_0x5659c1(0x15c)](),this['_startTelemetryCollaborationNewChangeset'](_0xccc478)),this[_0x5659c1(0x24e)][_0x5659c1(0x520)]({'cmd':_0x3f507b[_0x5659c1(0x3ce)],'routeKey':_0x488059,'routeType':'','data':_0xccc478});}catch(_0x15f622){this[_0x5659c1(0x127)]['error'](_0x15f622);}}[_0x3965c0(0x15c)](){const _0x1f069f=_0x3965c0;var _0x2370ca;this[_0x1f069f(0x449)]=window[_0x1f069f(0x1b0)](()=>{const _0x1cfed6=_0x1f069f;this[_0x1cfed6(0x449)]=null,this[_0x1cfed6(0x314)][_0x1cfed6(0x1d3)]({'type':_0x396768[_0x1cfed6(0x47e)][_0x1cfed6(0x49a)],'content':this[_0x1cfed6(0xed)]['t'](_0x1cfed6(0x521))});},(_0x2370ca=this[_0x1f069f(0xa3)][_0x1f069f(0xa7)](_0x387bc1))!=null?_0x2370ca:0x4e20);}[_0x3965c0(0x354)](){const _0x2b173c=_0x3965c0;this[_0x2b173c(0x449)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x2b173c(0x449)]=null);}[_0x3965c0(0x177)](_0x3e43be){const _0x51f60e=_0x3965c0;if(!this[_0x51f60e(0x443)])return;const {data:_0xf3c942}=_0x3e43be,{unitID:_0x55fca5,changeset:_0x4036cd}=_0xf3c942,{mutations:_0x132281,type:_0x513143}=_0x4036cd;this[_0x51f60e(0x1e2)]={'unitId':_0x55fca5,'type':_0x513143,'startTime':performance[_0x51f60e(0x54c)](),'stopTime':0x0,'duration':0x0,'size':_0x126674(_0x132281)};}['_stopTelemetryCollaborationNewChangeset'](){const _0x227aad=_0x3965c0;if(this[_0x227aad(0x443)]){if(!this[_0x227aad(0x1e2)]){this['_logService'][_0x227aad(0x2c0)](_0x227aad(0x323),_0x227aad(0x3a7));return;}this[_0x227aad(0x1e2)]['stopTime']=performance[_0x227aad(0x54c)](),this['_telemetryInfo'][_0x227aad(0x4a2)]=this[_0x227aad(0x1e2)][_0x227aad(0x3b1)]-this[_0x227aad(0x1e2)][_0x227aad(0x414)],this[_0x227aad(0x409)][_0x227aad(0x28d)](_0x103c5c,this['_telemetryInfo']),this['_telemetryInfo']=null;}}[_0x3965c0(0x461)](){const _0x3887a8=_0x3965c0;this[_0x3887a8(0x1e2)]=null;}},_0x41186c['CollaborationSession']=_0x20d963([_0x107ff1(0x2,_0x320968['ILogService']),_0x107ff1(0x3,_0x794d48[_0x3965c0(0x14f)]),_0x107ff1(0x4,_0x794d48['IMessageService']),_0x107ff1(0x5,_0x320968[_0x3965c0(0x479)]),_0x107ff1(0x6,_0x320968[_0x3965c0(0x124)](_0x320968[_0x3965c0(0xee)])),_0x107ff1(0x7,_0x320968[_0x3965c0(0x124)](_0x41186c[_0x3965c0(0x3bd)])),_0x107ff1(0x8,_0x320968[_0x3965c0(0x124)](_0xb73d3b)),_0x107ff1(0x9,_0x320968[_0x3965c0(0x51e)](_0x3223af[_0x3965c0(0x271)]))],_0x41186c[_0x3965c0(0x1ee)]);var _0x51a7df=Object[_0x3965c0(0x3d5)],_0x2caffc=Object[_0x3965c0(0x406)],_0x44d1af=(_0x1082a0,_0x3d409,_0x2533a7,_0x2aca08)=>{for(var _0x41e288=_0x2aca08>0x1?void 0x0:_0x2aca08?_0x2caffc(_0x3d409,_0x2533a7):_0x3d409,_0x1d0b90=_0x1082a0['length']-0x1,_0x3ca273;_0x1d0b90>=0x0;_0x1d0b90--)(_0x3ca273=_0x1082a0[_0x1d0b90])&&(_0x41e288=(_0x2aca08?_0x3ca273(_0x3d409,_0x2533a7,_0x41e288):_0x3ca273(_0x41e288))||_0x41e288);return _0x2aca08&&_0x41e288&&_0x51a7df(_0x3d409,_0x2533a7,_0x41e288),_0x41e288;},_0x22af7f=(_0x45d7c3,_0x50ca0a)=>(_0x148324,_0x6961df)=>_0x50ca0a(_0x148324,_0x6961df,_0x45d7c3);_0x41186c[_0x3965c0(0x38b)]=class extends _0x320968[_0x3965c0(0x2de)]{constructor(_0x57ee6b,_0x4ef7fd,_0x3c3484,_0x1149e6,_0x5a9573,_0x4c7379){const _0x598e50=_0x3965c0;super(),_0x42c854(this,'_socket$',new _0x237014[(_0x598e50(0xa5))](void 0x0)),_0x42c854(this,_0x598e50(0x1c1),this[_0x598e50(0x460)][_0x598e50(0x372)]()),_0x42c854(this,'_candidateSocket',null),_0x42c854(this,_0x598e50(0xc7),new Map()),_0x42c854(this,_0x598e50(0xcb),new _0x237014['BehaviorSubject'](_0x38d2e3['IDLE'])),_0x42c854(this,'status$',this['_status$'][_0x598e50(0x372)]()),_0x42c854(this,_0x598e50(0x330),!0x1),_0x42c854(this,_0x598e50(0x2a9)),_0x42c854(this,_0x598e50(0x196),0x0),_0x42c854(this,_0x598e50(0x23c)),_0x42c854(this,_0x598e50(0x52a)),(this[_0x598e50(0x474)]=_0x57ee6b,this['_localeService']=_0x4ef7fd,this[_0x598e50(0x314)]=_0x3c3484,this[_0x598e50(0x127)]=_0x1149e6,this[_0x598e50(0xa3)]=_0x5a9573,this[_0x598e50(0x50c)]=_0x4c7379,this[_0x598e50(0x2ed)]());}get['_socket'](){return this['_socket$']['getValue']();}[_0x3965c0(0x2ed)](){const _0x19533b=_0x3965c0;this[_0x19533b(0x465)](),this[_0x19533b(0x511)]();}[_0x3965c0(0x41f)](){const _0x51fcc7=_0x3965c0;super[_0x51fcc7(0x41f)](),this[_0x51fcc7(0xc7)]['forEach'](_0x27aecd=>_0x27aecd[_0x51fcc7(0x41f)]()),this[_0x51fcc7(0xc7)][_0x51fcc7(0x49b)](),this[_0x51fcc7(0xcb)][_0x51fcc7(0x1eb)]();}async[_0x3965c0(0x435)](_0x4f2271){const _0x1c5eb4=_0x3965c0;if(this[_0x1c5eb4(0xc7)][_0x1c5eb4(0x4e6)](_0x4f2271))return this['_sessions'][_0x1c5eb4(0x159)](_0x4f2271);this['_tryEnsureSocket']();const _0x5cadce=this[_0x1c5eb4(0x474)][_0x1c5eb4(0x525)](_0x41186c['CollaborationSession'],_0x4f2271,this[_0x1c5eb4(0x460)][_0x1c5eb4(0x372)]());return this['_sessions'][_0x1c5eb4(0x238)](_0x4f2271,_0x5cadce),_0x5cadce;}[_0x3965c0(0x17e)](_0x47ae63){const _0x48307d=_0x3965c0;var _0x3a319c;const _0x411811=this[_0x48307d(0xc7)][_0x48307d(0x159)](_0x47ae63);_0x411811&&(this[_0x48307d(0xc7)][_0x48307d(0xac)](_0x47ae63),_0x411811[_0x48307d(0x227)]()),this['_sessions'][_0x48307d(0x40a)]||(_0x3a319c=this['_socket'])==null||_0x3a319c[_0x48307d(0x227)]();}['reconnect'](){const _0x107313=_0x3965c0;this[_0x107313(0x196)]=0x0,this[_0x107313(0x2a9)]!=null&&(clearTimeout(this[_0x107313(0x2a9)]),this[_0x107313(0x2a9)]=null),this[_0x107313(0x4a5)]();}[_0x3965c0(0x1bf)](){const _0x2b1b87=_0x3965c0;var _0x21d805,_0x3c3bf5;const _0x18a06c=this[_0x2b1b87(0xa3)][_0x2b1b87(0xa7)](_0x2610ac),_0x522e8f=this['_configService'][_0x2b1b87(0xa7)](_0x5f560a),_0x2e553d=(_0x3c3bf5=(_0x21d805=_0x522e8f==null?void 0x0:_0x522e8f['collabWebSocketUrl'])!=null?_0x21d805:_0x18a06c)!=null?_0x3c3bf5:_0x287171,_0x425a14=this[_0x2b1b87(0x50c)][_0x2b1b87(0x35c)](_0x2e553d);return this[_0x2b1b87(0x41b)]=_0x425a14,_0x425a14;}['_tryEnsureSocket'](){const _0x4a6fa4=_0x3965c0;var _0x13f05d,_0x275260;try{const _0x10d532=(_0x275260=(_0x13f05d=this[_0x4a6fa4(0x24e)])!=null?_0x13f05d:this[_0x4a6fa4(0x41b)])!=null?_0x275260:this[_0x4a6fa4(0x1bf)]();if(_0x10d532){const _0x2e33e5=_0x10d532[_0x4a6fa4(0x520)];_0x10d532['send']=_0x4767b9=>(this[_0x4a6fa4(0x121)](),_0x2e33e5[_0x4a6fa4(0x4cf)](_0x10d532,[_0x4767b9])),_0x10d532[_0x4a6fa4(0x299)][_0x4a6fa4(0xc2)](_0x30bd53=>this['_onMessage'](_0x10d532,_0x30bd53)),_0x10d532[_0x4a6fa4(0x140)][_0x4a6fa4(0x30f)](_0x1aca11[_0x4a6fa4(0x470)](0x1))['subscribe'](_0x6d63fc=>this[_0x4a6fa4(0x127)][_0x4a6fa4(0x2c0)](_0x4a6fa4(0xab),_0x6d63fc)),_0x10d532['open$'][_0x4a6fa4(0x30f)](_0x1aca11[_0x4a6fa4(0x470)](0x1))[_0x4a6fa4(0xc2)](()=>{const _0x10e04e=_0x4a6fa4;this[_0x10e04e(0x183)](_0x10d532);}),_0x10d532[_0x4a6fa4(0x126)][_0x4a6fa4(0x30f)](_0x1aca11['take'](0x1))['subscribe'](_0x271251=>{const _0x4d049c=_0x4a6fa4;this[_0x4d049c(0x127)]['debug']('[CollaborationSessionService]',_0x4d049c(0x9e),_0x271251),this[_0x4d049c(0x18e)]();});}}catch(_0x12fd4e){this['_logService'][_0x4a6fa4(0x2c0)](_0x12fd4e),this[_0x4a6fa4(0x18e)]();}}[_0x3965c0(0x183)](_0x32b291){const _0x52817e=_0x3965c0;this[_0x52817e(0x127)][_0x52817e(0x48b)](_0x52817e(0x50d),_0x52817e(0x45a)),_0x32b291['send']({'cmd':_0x3f507b[_0x52817e(0xbc)]}),this[_0x52817e(0x121)]();}[_0x3965c0(0x465)](){const _0x1994a0=_0x3965c0;window[_0x1994a0(0x3f3)](_0x1994a0(0xfd),()=>this[_0x1994a0(0x364)]());}[_0x3965c0(0x364)](){const _0x4db6ec=_0x3965c0;this[_0x4db6ec(0x330)]=!0x1,this[_0x4db6ec(0x41b)]=null,this['_status$'][_0x4db6ec(0xa0)](_0x38d2e3['OFFLINE']),this[_0x4db6ec(0x460)][_0x4db6ec(0xa0)](null),this[_0x4db6ec(0x4d5)](),this[_0x4db6ec(0x13b)]();}[_0x3965c0(0x18e)](){const _0x649a87=_0x3965c0;var _0x57c19c;this[_0x649a87(0x364)](),this[_0x649a87(0x196)]<((_0x57c19c=this[_0x649a87(0xa3)][_0x649a87(0xa7)](_0x494a28))!=null?_0x57c19c:0x3)?(this[_0x649a87(0x314)][_0x649a87(0x1d3)]({'key':_0x649a87(0x19b),'type':_0x396768[_0x649a87(0x47e)][_0x649a87(0x522)],'content':this['_localeService']['t'](_0x649a87(0x4dc))}),this['_tryReconnect']()):this[_0x649a87(0x314)]['show']({'key':_0x649a87(0x19b),'type':_0x396768[_0x649a87(0x47e)]['Error'],'content':this[_0x649a87(0xed)]['t'](_0x649a87(0x265))});}[_0x3965c0(0x511)](){const _0x2ba9f4=_0x3965c0,_0x28bd30=()=>{const _0xdba2d1=_0x18dd;this[_0xdba2d1(0x24e)]||this[_0xdba2d1(0x4b2)]();},_0x2730dd=()=>{const _0x5b7158=_0x18dd;this['_socket']||document[_0x5b7158(0x4ac)]===_0x5b7158(0x481)||this[_0x5b7158(0x4b2)]();};window['addEventListener']('online',_0x28bd30),document[_0x2ba9f4(0x3f3)]('visibilitychange',_0x2730dd);}[_0x3965c0(0x4a5)](){const _0x4dc135=_0x3965c0;var _0x43aa52;const _0x12dfb9=this['_retryCount'],_0x1abca6=this[_0x4dc135(0xa3)]['getConfig'](_0x5f560a),_0x2747f5=_0x12dfb9===0x0?0x0:((_0x43aa52=_0x1abca6==null?void 0x0:_0x1abca6[_0x4dc135(0x35f)])!=null?_0x43aa52:0x4e20)*0x2**_0x12dfb9;this[_0x4dc135(0x2a9)]=window[_0x4dc135(0x1b0)](()=>{const _0x2a0734=_0x4dc135;clearTimeout(this['_retryConnectingTimer']),this[_0x2a0734(0x2a9)]=null,this[_0x2a0734(0x3d9)]();},_0x2747f5),this[_0x4dc135(0x196)]+=0x1;}['_onMessage'](_0x2d9741,_0x52635c){const _0x1f09cf=_0x3965c0,{cmd:_0x1840f2}=_0x52635c;_0x1840f2===_0x3f507b['HELLO']&&!this['_socketReady']&&(_0x2d9741[_0x1f09cf(0x243)]=_0x52635c['data'][_0x1f09cf(0x243)],this[_0x1f09cf(0x460)]['next'](_0x2d9741),this[_0x1f09cf(0xcb)][_0x1f09cf(0xa0)](_0x38d2e3[_0x1f09cf(0x2b8)]),this['_socketReady']=!0x0,this[_0x1f09cf(0x41b)]=null),_0x1840f2===_0x3f507b['HEARTBEAT']&&this[_0x1f09cf(0x4d5)](),this[_0x1f09cf(0x121)]();}[_0x3965c0(0x121)](){const _0x290ad0=_0x3965c0;var _0x5175de;this[_0x290ad0(0x13b)](),this[_0x290ad0(0x23c)]=window[_0x290ad0(0x1b0)](()=>this[_0x290ad0(0x30c)](),(_0x5175de=this[_0x290ad0(0xa3)][_0x290ad0(0xa7)](_0x1a7e09))!=null?_0x5175de:0x7530);}['_sendHeartbeat'](){const _0x2ae2dc=_0x3965c0;this['_socket']['send']({'cmd':_0x3f507b['HEARTBEAT']}),this[_0x2ae2dc(0x19f)]();}['_waitForHeartbeatResponse'](){const _0x4fc40f=_0x3965c0;var _0x36ef90;this['_timeoutTimer']=window[_0x4fc40f(0x1b0)](()=>this[_0x4fc40f(0x18e)](),(_0x36ef90=this[_0x4fc40f(0xa3)][_0x4fc40f(0xa7)](_0x387bc1))!=null?_0x36ef90:0x4e20);}['_clearHeartbeatTimer'](){const _0xfa6285=_0x3965c0;this[_0xfa6285(0x23c)]!=null&&(clearTimeout(this[_0xfa6285(0x23c)]),this[_0xfa6285(0x23c)]=null);}[_0x3965c0(0x4d5)](){const _0x45a0ab=_0x3965c0;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x45a0ab(0x52a)]),this[_0x45a0ab(0x52a)]=null);}},_0x41186c[_0x3965c0(0x38b)]=_0x44d1af([_0x22af7f(0x0,_0x320968[_0x3965c0(0x124)](_0x320968['Injector'])),_0x22af7f(0x1,_0x320968[_0x3965c0(0x124)](_0x320968[_0x3965c0(0xee)])),_0x22af7f(0x2,_0x794d48[_0x3965c0(0x29d)]),_0x22af7f(0x3,_0x320968['ILogService']),_0x22af7f(0x4,_0x320968[_0x3965c0(0x479)]),_0x22af7f(0x5,_0x17f9a0)],_0x41186c[_0x3965c0(0x38b)]);for(var _0x4a1158=[],_0x4e84c4=0x0;_0x4e84c4<0x100;++_0x4e84c4)_0x4a1158['push']((_0x4e84c4+0x100)[_0x3965c0(0x4df)](0x10)[_0x3965c0(0x32e)](0x1));function _0x5aae9d(_0x11389d,_0x20d4fd=0x0){const _0x2fce5f=_0x3965c0;return(_0x4a1158[_0x11389d[_0x20d4fd+0x0]]+_0x4a1158[_0x11389d[_0x20d4fd+0x1]]+_0x4a1158[_0x11389d[_0x20d4fd+0x2]]+_0x4a1158[_0x11389d[_0x20d4fd+0x3]]+'-'+_0x4a1158[_0x11389d[_0x20d4fd+0x4]]+_0x4a1158[_0x11389d[_0x20d4fd+0x5]]+'-'+_0x4a1158[_0x11389d[_0x20d4fd+0x6]]+_0x4a1158[_0x11389d[_0x20d4fd+0x7]]+'-'+_0x4a1158[_0x11389d[_0x20d4fd+0x8]]+_0x4a1158[_0x11389d[_0x20d4fd+0x9]]+'-'+_0x4a1158[_0x11389d[_0x20d4fd+0xa]]+_0x4a1158[_0x11389d[_0x20d4fd+0xb]]+_0x4a1158[_0x11389d[_0x20d4fd+0xc]]+_0x4a1158[_0x11389d[_0x20d4fd+0xd]]+_0x4a1158[_0x11389d[_0x20d4fd+0xe]]+_0x4a1158[_0x11389d[_0x20d4fd+0xf]])[_0x2fce5f(0x1a6)]();}var _0x4ca0fc,_0x94f19f=new Uint8Array(0x10);function _0x128cef(){const _0x2ea547=_0x3965c0;if(!_0x4ca0fc&&(_0x4ca0fc=typeof crypto<'u'&&crypto[_0x2ea547(0x4b1)]&&crypto[_0x2ea547(0x4b1)][_0x2ea547(0x3da)](crypto),!_0x4ca0fc))throw new Error(_0x2ea547(0x339));return _0x4ca0fc(_0x94f19f);}var _0x166e42=typeof crypto<'u'&&crypto[_0x3965c0(0x25d)]&&crypto[_0x3965c0(0x25d)][_0x3965c0(0x3da)](crypto);const _0x16264f={'randomUUID':_0x166e42};function _0x573f0c(_0x24ce06,_0x378b63,_0x195618){const _0x2a4f97=_0x3965c0;if(_0x16264f[_0x2a4f97(0x25d)]&&!_0x378b63&&!_0x24ce06)return _0x16264f[_0x2a4f97(0x25d)]();_0x24ce06=_0x24ce06||{};var _0x283734=_0x24ce06['random']||(_0x24ce06['rng']||_0x128cef)();return _0x283734[0x6]=_0x283734[0x6]&0xf|0x40,_0x283734[0x8]=_0x283734[0x8]&0x3f|0x80,_0x5aae9d(_0x283734);}var _0x2ffe9b=Object[_0x3965c0(0x3d5)],_0xae0fba=Object['getOwnPropertyDescriptor'],_0x5e39f3=(_0x5b5c5b,_0x3f7f8c,_0x422425,_0x224dd6)=>{const _0x3814e8=_0x3965c0;for(var _0x3fd965=_0x224dd6>0x1?void 0x0:_0x224dd6?_0xae0fba(_0x3f7f8c,_0x422425):_0x3f7f8c,_0x370838=_0x5b5c5b[_0x3814e8(0x2af)]-0x1,_0x383e7b;_0x370838>=0x0;_0x370838--)(_0x383e7b=_0x5b5c5b[_0x370838])&&(_0x3fd965=(_0x224dd6?_0x383e7b(_0x3f7f8c,_0x422425,_0x3fd965):_0x383e7b(_0x3fd965))||_0x3fd965);return _0x224dd6&&_0x3fd965&&_0x2ffe9b(_0x3f7f8c,_0x422425,_0x3fd965),_0x3fd965;},_0x405665=(_0x8b88c4,_0x314766)=>(_0x917f09,_0xec7414)=>_0x314766(_0x917f09,_0xec7414,_0x8b88c4);let _0x28d983=class{constructor(_0x55a454,_0x4773ef,_0x2ea169){this['_injector']=_0x55a454,this['_transformService']=_0x4773ef,this['_renderManagerService']=_0x2ea169;}['transformIMECache'](_0x1c3c26){const _0x2e325b=_0x3965c0;this[_0x2e325b(0x3b8)](_0x1c3c26),this[_0x2e325b(0x50b)](_0x1c3c26);}[_0x3965c0(0x471)](_0x21e483){const _0x5d0836=_0x3965c0,{unitID:_0x54f85e}=_0x21e483,_0x537cb8=this['_renderManagerService'][_0x5d0836(0xeb)](_0x54f85e)['with'](_0x4e3eec[_0x5d0836(0x18d)]),{redoCache:_0x1402d8}=_0x537cb8[_0x5d0836(0x1a5)]();if(_0x1402d8['length']===0x0)return _0x21e483;let _0x382e75=_0x320968[_0x5d0836(0xb3)][_0x5d0836(0x46d)](_0x21e483[_0x5d0836(0x543)][0x0]);for(let _0x18a078=0x0;_0x18a078<_0x1402d8[_0x5d0836(0x2af)];_0x18a078++){const _0x4552d1={'id':_0x5d0836(0x320),'params':{..._0x1402d8[_0x18a078]}},_0x4f8d97=this[_0x5d0836(0x289)][_0x5d0836(0x12d)](_0x382e75,_0x4552d1,!0x1);if(_0x20a4af[_0x5d0836(0x3ae)](_0x4f8d97))throw _0x4f8d97[_0x5d0836(0x2c0)];_0x382e75=_0x4f8d97[_0x5d0836(0x172)];}return{..._0x320968['Tools'][_0x5d0836(0x46d)](_0x21e483),'mutations':[_0x382e75]};}[_0x3965c0(0x3b8)](_0x104448){const _0x635b50=_0x3965c0,{unitID:_0xf38007}=_0x104448,_0x160f78=this[_0x635b50(0x2a1)][_0x635b50(0xeb)](_0xf38007)['with'](_0x4e3eec[_0x635b50(0x18d)]),{undoCache:_0x32e40f,redoCache:_0x147642}=_0x160f78[_0x635b50(0x1a5)]();if(_0x32e40f[_0x635b50(0x2af)]===0x0||_0x147642[_0x635b50(0x2af)]===0x0)return;const _0x1ce8a0=[],_0x25effc=[];let _0x81e088=_0x320968[_0x635b50(0xb3)][_0x635b50(0x46d)](_0x104448[_0x635b50(0x543)][0x0]),_0x150fdc=_0x320968[_0x635b50(0xb3)][_0x635b50(0x46d)](_0x104448[_0x635b50(0x543)][0x0]);for(let _0x498fe1=_0x32e40f['length']-0x1;_0x498fe1>=0x0;_0x498fe1--){const _0x174bf1={'id':_0x635b50(0x320),'params':{..._0x32e40f[_0x498fe1]}},_0x2a21e2={'id':_0x635b50(0x320),'params':{..._0x147642[_0x498fe1]}},_0x576d88=this[_0x635b50(0x289)][_0x635b50(0x12d)](_0x81e088,_0x174bf1,!0x1),_0x57eac4=this['_transformService'][_0x635b50(0x12d)](_0x150fdc,_0x2a21e2,!0x1);if(_0x20a4af[_0x635b50(0x3ae)](_0x576d88))throw _0x576d88[_0x635b50(0x2c0)];if(_0x20a4af[_0x635b50(0x3ae)](_0x57eac4))throw _0x57eac4[_0x635b50(0x2c0)];_0x1ce8a0[_0x635b50(0x400)](_0x576d88[_0x635b50(0xaf)][_0x635b50(0x4d3)]),_0x25effc[_0x635b50(0x400)](_0x57eac4[_0x635b50(0xaf)]['params']),_0x81e088=_0x576d88[_0x635b50(0x172)],_0x150fdc=_0x57eac4[_0x635b50(0x172)];}_0x160f78[_0x635b50(0x37b)]({'undoCache':_0x1ce8a0,'redoCache':_0x25effc});}[_0x3965c0(0x50b)](_0x448ffd){const _0x5ef88d=_0x3965c0,{unitID:_0x28feaa}=_0x448ffd,_0x2b747c=this[_0x5ef88d(0x2a1)]['getRenderById'](_0x28feaa)[_0x5ef88d(0x453)](_0x4e3eec[_0x5ef88d(0x18d)]),_0x42bd7e=_0x2b747c[_0x5ef88d(0x217)]();if(_0x42bd7e==null)return;const _0x4ad4f6=[{'id':_0x5ef88d(0x320),'params':{'unitId':_0x448ffd['unitID'],'actions':null,'textRanges':[_0x42bd7e]}}],_0x53068b=this[_0x5ef88d(0x289)][_0x5ef88d(0x131)](_0x448ffd,_0x4ad4f6);if(!_0x20a4af[_0x5ef88d(0x4f7)](_0x53068b))throw _0x53068b[_0x5ef88d(0x2c0)];const _0x34eb9e=_0x53068b[_0x5ef88d(0xaf)][0x0]['params'][_0x5ef88d(0x2c8)];Array[_0x5ef88d(0x1e3)](_0x34eb9e)&&_0x34eb9e['length']&&_0x2b747c[_0x5ef88d(0x194)](_0x34eb9e[0x0]);}};_0x28d983=_0x5e39f3([_0x405665(0x0,_0x320968['Inject'](_0x320968[_0x3965c0(0x527)])),_0x405665(0x1,_0x20a4af['ITransformService']),_0x405665(0x2,_0x4f6c5a[_0x3965c0(0xe8)])],_0x28d983);var _0x1f6b52=Object['defineProperty'],_0x13d436=Object[_0x3965c0(0x406)],_0x1f3513=(_0xd70820,_0x1624d8,_0x234e78,_0x11a343)=>{const _0x18ce03=_0x3965c0;for(var _0x1e6a89=_0x11a343>0x1?void 0x0:_0x11a343?_0x13d436(_0x1624d8,_0x234e78):_0x1624d8,_0x276d1e=_0xd70820[_0x18ce03(0x2af)]-0x1,_0x3cebd6;_0x276d1e>=0x0;_0x276d1e--)(_0x3cebd6=_0xd70820[_0x276d1e])&&(_0x1e6a89=(_0x11a343?_0x3cebd6(_0x1624d8,_0x234e78,_0x1e6a89):_0x3cebd6(_0x1e6a89))||_0x1e6a89);return _0x11a343&&_0x1e6a89&&_0x1f6b52(_0x1624d8,_0x234e78,_0x1e6a89),_0x1e6a89;},_0x34843e=(_0x5d584a,_0x3b667f)=>(_0x3b321b,_0x536bac)=>_0x3b667f(_0x3b321b,_0x536bac,_0x5d584a);_0x41186c[_0x3965c0(0x24b)]=class extends _0x320968[_0x3965c0(0x2de)]{constructor(_0x4a86b1,_0x4aed64,_0x447a4f,_0x266a8f,_0x39e844){const _0x22176a=_0x3965c0;super(),_0x42c854(this,_0x22176a(0x2ae),new Map()),_0x42c854(this,_0x22176a(0x34d),new Map()),_0x42c854(this,'_disabled',!0x1),(this[_0x22176a(0xa3)]=_0x4a86b1,this[_0x22176a(0x30a)]=_0x4aed64,this['_beforeCloseService']=_0x447a4f,this[_0x22176a(0xed)]=_0x266a8f,this[_0x22176a(0x321)]=_0x39e844,this[_0x22176a(0x16f)]());}[_0x3965c0(0x462)](){const _0x3d8009=_0x3965c0;this[_0x3d8009(0x565)]=!0x0;}[_0x3965c0(0x262)](){this['_disabled']=!0x1;}['dispose'](){const _0xd3250e=_0x3965c0;this[_0xd3250e(0x152)]()['then'](()=>super[_0xd3250e(0x41f)]());}async[_0x3965c0(0x3aa)](_0x3d327e){const _0x4b09b1=_0x3965c0;return this[_0x4b09b1(0x565)]?null:this[_0x4b09b1(0x30a)][_0x4b09b1(0x25a)](_0x41f33e(_0x3d327e));}async[_0x3965c0(0x46e)](_0x263de1,_0x55a31b){return!!this['_localStorageService']['setItem'](_0x263de1,_0x55a31b);}['updateOfflineData'](_0x2905ca,_0x3a1c78,_0x5f36c1,_0x406ea9){const _0x2f16b8=_0x3965c0,_0x5f0867=this['_revisionService'][_0x2f16b8(0x52f)](_0x2905ca);this[_0x2f16b8(0x2ae)][_0x2f16b8(0x238)](_0x2905ca,{'unitID':_0x2905ca,'type':_0x3a1c78,'awaitingChangeset':_0x5f36c1,'mutations':_0x406ea9,'rev':_0x5f0867}),this[_0x2f16b8(0x34d)][_0x2f16b8(0x4e6)](_0x2905ca)||this[_0x2f16b8(0x33b)](_0x2905ca);}[_0x3965c0(0x33b)](_0x49799b){const _0x4f21bb=_0x3965c0,_0xc67b32=this[_0x4f21bb(0x49c)]();_0xc67b32===0x0?this[_0x4f21bb(0x2ff)](_0x49799b):this[_0x4f21bb(0x34d)]['set'](_0x49799b,setTimeout(()=>this[_0x4f21bb(0x2ff)](_0x49799b),_0xc67b32));}['_getSaveTimeout'](){const _0x1eacd5=_0x3965c0;var _0x3d87d1;return(_0x3d87d1=this[_0x1eacd5(0xa3)]['getConfig'](_0x4edc51))!=null?_0x3d87d1:0x3e8;}['_saveCache'](_0x1b6321){const _0x475da5=_0x3965c0,_0x4bbde2=this[_0x475da5(0x34d)][_0x475da5(0x159)](_0x1b6321);return _0x4bbde2!==void 0x0&&window[_0x475da5(0x45c)](_0x4bbde2),this['_localStorageService'][_0x475da5(0x382)](_0x41f33e(_0x1b6321),this[_0x475da5(0x2ae)]['get'](_0x1b6321))[_0x475da5(0x42f)](()=>this[_0x475da5(0x34d)]['delete'](_0x1b6321));}async[_0x3965c0(0x152)](){const _0x396bc9=_0x3965c0,_0x589ead=[];this[_0x396bc9(0x34d)]['forEach']((_0x903883,_0x14f3ce)=>{const _0x4d0297=_0x396bc9;window[_0x4d0297(0x45c)](_0x903883),_0x589ead['push'](this[_0x4d0297(0x2ff)](_0x14f3ce)['then'](()=>{const _0x13f844=_0x4d0297;this[_0x13f844(0x34d)][_0x13f844(0xac)](_0x14f3ce);}));}),await Promise['all'](_0x589ead);}['_setupBeforeClosingHandler'](){const _0x52862b=_0x3965c0;this['disposeWithMe'](this['_beforeCloseService'][_0x52862b(0x2ec)](()=>{const _0x2dabc3=_0x52862b;if(this['_saveTaskMap'][_0x2dabc3(0x40a)])return this['_localeService']['t'](_0x2dabc3(0x2d8));}));}},_0x41186c[_0x3965c0(0x24b)]=_0x1f3513([_0x34843e(0x0,_0x320968['IConfigService']),_0x34843e(0x1,_0x320968[_0x3965c0(0xb4)]),_0x34843e(0x2,_0x794d48[_0x3965c0(0x14f)]),_0x34843e(0x3,_0x320968[_0x3965c0(0x124)](_0x320968[_0x3965c0(0xee)])),_0x34843e(0x4,_0x320968[_0x3965c0(0x124)](_0x20a4af[_0x3965c0(0x3e1)]))],_0x41186c[_0x3965c0(0x24b)]);function _0x41f33e(_0xd2c8d2){return'unit-cache-'+_0xd2c8d2;}var _0x4d5a42=Object[_0x3965c0(0x3d5)],_0x137a92=Object[_0x3965c0(0x406)],_0x3bbf98=(_0x40d069,_0x183663,_0x16bfac,_0x488b5e)=>{for(var _0x452085=_0x488b5e>0x1?void 0x0:_0x488b5e?_0x137a92(_0x183663,_0x16bfac):_0x183663,_0x8a36bf=_0x40d069['length']-0x1,_0x2a522d;_0x8a36bf>=0x0;_0x8a36bf--)(_0x2a522d=_0x40d069[_0x8a36bf])&&(_0x452085=(_0x488b5e?_0x2a522d(_0x183663,_0x16bfac,_0x452085):_0x2a522d(_0x452085))||_0x452085);return _0x488b5e&&_0x452085&&_0x4d5a42(_0x183663,_0x16bfac,_0x452085),_0x452085;},_0x319e85=(_0x22f826,_0x234da7)=>(_0x12ec4d,_0x25e597)=>_0x234da7(_0x12ec4d,_0x25e597,_0x22f826);function _0x1fc45f(_0x3ad263){const _0x28019e=_0x3965c0,{unitID:_0x46741,mutations:_0x148e49}=_0x3ad263;return{'unitId':_0x46741,'subUnitId':_0x148e49[0x0][_0x28019e(0x4d3)][_0x28019e(0x22f)]};}let _0x61405b=class{constructor(_0xc765d8,_0x14467f,_0x428ddf){const _0x1d441e=_0x3965c0;this[_0x1d441e(0x474)]=_0xc765d8,this[_0x1d441e(0x289)]=_0x14467f,this[_0x1d441e(0x23f)]=_0x428ddf;}[_0x3965c0(0x507)](_0x2cecbc){const _0x22fdd5=_0x3965c0;var _0x25976f,_0x380ffe,_0x97e48d,_0x4a79f0;const _0x357097=this[_0x22fdd5(0x474)][_0x22fdd5(0x159)](_0x4c6d62['SheetsSelectionsService']),{unitId:_0x177089,subUnitId:_0x3940c9}=_0x1fc45f(_0x2cecbc),_0x593f4e=_0x357097[_0x22fdd5(0x101)](_0x177089)[_0x22fdd5(0x255)](),_0x22bacc=(_0x380ffe=(_0x25976f=this['_instanceService'][_0x22fdd5(0x12c)](_0x177089))==null?void 0x0:_0x25976f[_0x22fdd5(0x305)]())==null?void 0x0:_0x380ffe[_0x22fdd5(0x380)]();if(_0x593f4e[_0x22fdd5(0x2af)]===0x0||!_0x177089||!_0x3940c9)return;const _0x11470c=[{'id':_0x4c6d62[_0x22fdd5(0x3bf)]['id'],'params':{'unitId':_0x177089,'subUnitId':_0x22bacc,'selections':_0x320968[_0x22fdd5(0xb3)]['deepClone'](_0x593f4e)}}],_0x3cd042=this[_0x22fdd5(0x289)][_0x22fdd5(0x131)](_0x2cecbc,_0x11470c);if(!_0x20a4af[_0x22fdd5(0x4f7)](_0x3cd042))throw _0x3cd042[_0x22fdd5(0x2c0)];const _0x42b2aa=(_0x4a79f0=(_0x97e48d=_0x3cd042[_0x22fdd5(0xaf)][0x0])==null?void 0x0:_0x97e48d[_0x22fdd5(0x4d3)])==null?void 0x0:_0x4a79f0[_0x22fdd5(0x544)];if(Array[_0x22fdd5(0x1e3)](_0x42b2aa)&&_0x42b2aa[_0x22fdd5(0x2af)]){if(_0x42b2aa['length']===_0x11470c[0x0][_0x22fdd5(0x4d3)]['selections'][_0x22fdd5(0x2af)]&&_0x42b2aa['every']((_0x3d1ee2,_0x3fdeca)=>_0x320968['Rectangle'][_0x22fdd5(0xfa)](_0x3d1ee2[_0x22fdd5(0x223)],_0x11470c[0x0][_0x22fdd5(0x4d3)][_0x22fdd5(0x544)][_0x3fdeca][_0x22fdd5(0x223)])))return;this[_0x22fdd5(0x474)][_0x22fdd5(0x159)](_0x320968[_0x22fdd5(0x32d)])['executeCommand'](_0x4c6d62[_0x22fdd5(0x3bf)]['id'],{'unitId':_0x177089,'subUnitId':_0x22bacc,'selections':_0x42b2aa});}}};_0x61405b=_0x3bbf98([_0x319e85(0x0,_0x320968[_0x3965c0(0x124)](_0x320968[_0x3965c0(0x527)])),_0x319e85(0x1,_0x20a4af[_0x3965c0(0x1fd)]),_0x319e85(0x2,_0x320968[_0x3965c0(0x447)])],_0x61405b);const _0x16e280=_0x320968[_0x3965c0(0x23b)](_0x3965c0(0x21c));var _0x27bdd6=(_0x1caa91=>(_0x1caa91[_0x1caa91[_0x3965c0(0x488)]=0x0]=_0x3965c0(0x488),_0x1caa91[_0x1caa91['OTHER_CLIENTS_EDITING']=0x1]=_0x3965c0(0xb0),_0x1caa91))(_0x27bdd6||{});const _0x1a8a60=0x7530,_0x1f51b9=_0x3965c0(0x40b);class _0x30ea20 extends _0x320968[_0x3965c0(0x2de)]{constructor(){const _0x26dd6a=_0x3965c0;super(),_0x42c854(this,_0x26dd6a(0x3d1),_0x320968[_0x26dd6a(0xb3)][_0x26dd6a(0x39a)]()),_0x42c854(this,_0x26dd6a(0x2e2),new Set()),_0x42c854(this,_0x26dd6a(0x1ae),new Map()),_0x42c854(this,_0x26dd6a(0x13e),null),_0x42c854(this,_0x26dd6a(0x3eb),new Map()),_0x42c854(this,_0x26dd6a(0xf0),new Map()),this[_0x26dd6a(0x3fd)]();}[_0x3965c0(0x41f)](){const _0x37060f=_0x3965c0;super[_0x37060f(0x41f)](),this[_0x37060f(0x3eb)][_0x37060f(0x123)]((_0x389750,_0x4bcac2)=>this[_0x37060f(0x4fa)](_0x4bcac2)),this[_0x37060f(0x13e)]&&window[_0x37060f(0x3e7)](this[_0x37060f(0x13e)]);}['getUnitStatus$'](_0x4ca72a){const _0x25500b=_0x3965c0;return this[_0x25500b(0x2a0)](_0x4ca72a)[_0x25500b(0x30f)](_0x237014[_0x25500b(0x17f)]());}[_0x3965c0(0x50e)](_0x807a68){const _0x3d66c0=_0x3965c0;this['_selfUnitIDs'][_0x3d66c0(0x40a)]===0x0&&this['_scheduleHeartbeat'](),this[_0x3d66c0(0x2e2)][_0x3d66c0(0x413)](_0x807a68),this[_0x3d66c0(0x375)]({'type':0x0,'memberID':this[_0x3d66c0(0x3d1)],'unitIDs':[_0x807a68],'isForwarded':!0x1});}[_0x3965c0(0x490)](_0x86bcdb){const _0x3afc16=_0x3965c0;this[_0x3afc16(0x2e2)][_0x3afc16(0xac)](_0x86bcdb),this[_0x3afc16(0x2e2)][_0x3afc16(0x40a)]===0x0&&this[_0x3afc16(0x13e)]&&window[_0x3afc16(0x3e7)](this[_0x3afc16(0x13e)]);}['_init'](){const _0x5a3cc4=_0x3965c0;this[_0x5a3cc4(0x219)](_0x320968[_0x5a3cc4(0x185)](_0x237014[_0x5a3cc4(0x4c7)](window,'storage')[_0x5a3cc4(0xc2)](_0x4540d7=>{const _0x50a4e7=_0x5a3cc4;if(_0x4540d7['key']!==_0x1f51b9||!_0x4540d7[_0x50a4e7(0x34b)])return;const _0x1e7375=JSON[_0x50a4e7(0x563)](_0x4540d7[_0x50a4e7(0x34b)]);this[_0x50a4e7(0x3ef)](_0x1e7375);}))),window[_0x5a3cc4(0x3f3)]('unload',()=>this[_0x5a3cc4(0x375)]({'type':0x1,'memberID':this[_0x5a3cc4(0x3d1)],'unitIDs':Array[_0x5a3cc4(0x1c5)](this['_selfUnitIDs'])}));}[_0x3965c0(0x3ef)](_0x5cea1d){const _0x1f1af9=_0x3965c0;switch(_0x5cea1d[_0x1f1af9(0x3b5)]){case 0x0:this['_handleJoinEvent'](_0x5cea1d);break;case 0x1:this[_0x1f1af9(0x396)](_0x5cea1d);break;case 0x2:this[_0x1f1af9(0x55b)](_0x5cea1d);break;}}[_0x3965c0(0x269)](_0xc7eba3){const _0x29b09d=_0x3965c0,{unitIDs:_0x54a9f9,memberID:_0x139102,isForwarded:_0x440e56}=_0xc7eba3;_0x54a9f9[_0x29b09d(0x123)](_0xd680eb=>{const _0x5b73b9=_0x29b09d;if(!_0x440e56&&this['_unitOnClients'][_0x5b73b9(0x4e6)](_0xd680eb)&&this[_0x5b73b9(0x2a0)](_0xd680eb)[_0x5b73b9(0xa0)](0x1),!this[_0x5b73b9(0x1ae)][_0x5b73b9(0x4e6)](_0xd680eb)||!this['_unitOnClients'][_0x5b73b9(0x159)](_0xd680eb)[_0x5b73b9(0x4e6)](_0x139102)){const _0x23deb6=this['_unitOnClients'][_0x5b73b9(0x159)](_0xd680eb)||new Set();_0x23deb6['add'](_0x139102),this[_0x5b73b9(0x1ae)][_0x5b73b9(0x238)](_0xd680eb,_0x23deb6),this[_0x5b73b9(0x4da)](_0x139102);}}),_0x440e56||this[_0x29b09d(0x375)]({'type':0x0,'memberID':this[_0x29b09d(0x3d1)],'unitIDs':[...this[_0x29b09d(0x2e2)]],'isForwarded':!0x0});}[_0x3965c0(0x4da)](_0x5137cf){const _0xf6fa69=_0x3965c0;this[_0xf6fa69(0x4fa)](_0x5137cf);const _0x2b1267=window['setTimeout'](()=>{const _0x14c77d=_0xf6fa69;this[_0x14c77d(0x1ae)]['forEach'](_0x1fda8a=>{const _0x193706=_0x14c77d;_0x1fda8a[_0x193706(0xac)](_0x5137cf);});},_0x1a8a60*0x2);this[_0xf6fa69(0x3eb)][_0xf6fa69(0x238)](_0x5137cf,_0x2b1267);}[_0x3965c0(0x4fa)](_0xf7d308){const _0x3a4aa1=_0x3965c0;if(this[_0x3a4aa1(0x3eb)][_0x3a4aa1(0x4e6)](_0xf7d308)){const _0x4925e8=this[_0x3a4aa1(0x3eb)][_0x3a4aa1(0x159)](_0xf7d308);_0x4925e8&&window[_0x3a4aa1(0x45c)](_0x4925e8),this[_0x3a4aa1(0x3eb)][_0x3a4aa1(0x238)](_0xf7d308,null);}}['_handleLeaveEvent'](_0x32ae33){const _0x29ebae=_0x3965c0,{memberID:_0x2adc43,unitIDs:_0x19bc96}=_0x32ae33;_0x19bc96['forEach'](_0x5668fc=>{const _0x55a3ba=_0x18dd;var _0x1d7b4a;const _0x3129ce=this[_0x55a3ba(0x1ae)]['get'](_0x5668fc);_0x3129ce&&(_0x3129ce[_0x55a3ba(0xac)](_0x2adc43),(_0x1d7b4a=this[_0x55a3ba(0x2a0)](_0x5668fc))==null||_0x1d7b4a[_0x55a3ba(0xa0)](_0x3129ce[_0x55a3ba(0x40a)]===0x0?0x0:0x1));}),this[_0x29ebae(0x4fa)](_0x2adc43);}[_0x3965c0(0x55b)](_0x31a915){const _0x7d24d6=_0x3965c0;this[_0x7d24d6(0x4da)](_0x31a915['memberID']);}['_send'](_0x3974a3){const _0x1a15f5=_0x3965c0;localStorage[_0x1a15f5(0x382)](_0x1f51b9,JSON[_0x1a15f5(0x487)](_0x3974a3));}[_0x3965c0(0x509)](){const _0x8f2e2d=_0x3965c0;this[_0x8f2e2d(0x13e)]=window[_0x8f2e2d(0x39f)](()=>{const _0x47b349=_0x8f2e2d;this[_0x47b349(0x375)]({'type':0x2,'memberID':this[_0x47b349(0x3d1)]});},_0x1a8a60);}[_0x3965c0(0x2a0)](_0xa82a24){const _0x5041f7=_0x3965c0;return this[_0x5041f7(0xf0)]['has'](_0xa82a24)||this[_0x5041f7(0xf0)][_0x5041f7(0x238)](_0xa82a24,new _0x237014[(_0x5041f7(0xa5))](0x0)),this['_unitStatus'][_0x5041f7(0x159)](_0xa82a24);}}var _0x155baa=Object[_0x3965c0(0x3d5)],_0x272c0a=Object[_0x3965c0(0x406)],_0x13c40e=(_0x523859,_0x229db1,_0x18f420,_0x5944f8)=>{const _0x53dd61=_0x3965c0;for(var _0x4dc7e6=_0x5944f8>0x1?void 0x0:_0x5944f8?_0x272c0a(_0x229db1,_0x18f420):_0x229db1,_0x3aef83=_0x523859[_0x53dd61(0x2af)]-0x1,_0xe57d8d;_0x3aef83>=0x0;_0x3aef83--)(_0xe57d8d=_0x523859[_0x3aef83])&&(_0x4dc7e6=(_0x5944f8?_0xe57d8d(_0x229db1,_0x18f420,_0x4dc7e6):_0xe57d8d(_0x4dc7e6))||_0x4dc7e6);return _0x5944f8&&_0x4dc7e6&&_0x155baa(_0x229db1,_0x18f420,_0x4dc7e6),_0x4dc7e6;},_0x3e7979=(_0x2faf56,_0x10f80a)=>(_0x46b705,_0x199de3)=>_0x10f80a(_0x46b705,_0x199de3,_0x2faf56);let _0x4eb33f=class{constructor(_0x1565ac,_0x3ec58c,_0x254b3e){const _0x239a86=_0x3965c0;this[_0x239a86(0x474)]=_0x1565ac,this[_0x239a86(0x289)]=_0x3ec58c,this['_docStateChangeManagerService']=_0x254b3e;}['transformStateCache'](_0x5ef0e7){const _0x4ef3d8=_0x3965c0;this[_0x4ef3d8(0x1b5)](_0x5ef0e7);}['transformRemoteChangeset'](_0x426f45){const _0x49a32d=_0x3965c0,{unitID:_0x494330}=_0x426f45,{collaboration:_0x354358}=this[_0x49a32d(0x122)]['getStateCache'](_0x494330);if(_0x354358[_0x49a32d(0x2af)]===0x0)return _0x426f45;let _0x59aa77=_0x320968[_0x49a32d(0xb3)][_0x49a32d(0x46d)](_0x426f45[_0x49a32d(0x543)][0x0]);for(let _0x5881b6=0x0;_0x5881b6<_0x354358[_0x49a32d(0x2af)];_0x5881b6++){const _0xfbd7c4={'id':_0x49a32d(0x320),'params':{'unitId':_0x354358[_0x5881b6][_0x49a32d(0x2a5)],..._0x354358[_0x5881b6][_0x49a32d(0x162)]}},_0x4ea7cf=this[_0x49a32d(0x289)]['transformMutation'](_0x59aa77,_0xfbd7c4,!0x1);if(_0x20a4af[_0x49a32d(0x3ae)](_0x4ea7cf))throw _0x4ea7cf[_0x49a32d(0x2c0)];_0x59aa77=_0x4ea7cf[_0x49a32d(0x172)];}return{..._0x320968[_0x49a32d(0xb3)][_0x49a32d(0x46d)](_0x426f45),'mutations':[_0x59aa77]};}['_transformHistoryAndStateStack'](_0x2af9a4){const _0xa77e8a=_0x3965c0,{unitID:_0x4a9313}=_0x2af9a4,{history:_0x268b17,collaboration:_0x55bf4c}=this[_0xa77e8a(0x122)][_0xa77e8a(0x391)](_0x4a9313);if(_0x268b17[_0xa77e8a(0x2af)]===0x0&&_0x55bf4c[_0xa77e8a(0x2af)]===0x0)return;const _0x21b4c2=[],_0x380581=[];let _0x5ce252=_0x320968[_0xa77e8a(0xb3)][_0xa77e8a(0x46d)](_0x2af9a4['mutations'][0x0]),_0x562bfe=_0x320968[_0xa77e8a(0xb3)]['deepClone'](_0x2af9a4[_0xa77e8a(0x543)][0x0]);for(let _0x593b7e=_0x268b17[_0xa77e8a(0x2af)]-0x1;_0x593b7e>=0x0;_0x593b7e--){const _0x8986e9={'id':_0xa77e8a(0x320),'params':{'unitId':_0x268b17[_0x593b7e][_0xa77e8a(0x2a5)],..._0x268b17[_0x593b7e][_0xa77e8a(0x419)]}},_0x5214eb={'id':_0xa77e8a(0x320),'params':{'unitId':_0x268b17[_0x593b7e]['unitId'],..._0x268b17[_0x593b7e][_0xa77e8a(0x162)]}},_0x21c3ea=this['_transformService']['transformMutation'](_0x5ce252,_0x8986e9,!0x1),_0x41bd82=this['_transformService'][_0xa77e8a(0x12d)](_0x562bfe,_0x5214eb,!0x1);if(_0x20a4af['isTransformMutationFailure'](_0x21c3ea))throw _0x21c3ea['error'];if(_0x20a4af[_0xa77e8a(0x3ae)](_0x41bd82))throw _0x41bd82[_0xa77e8a(0x2c0)];_0x21b4c2[_0xa77e8a(0x400)]({..._0x268b17[_0x593b7e],'undoState':_0x21c3ea[_0xa77e8a(0xaf)][_0xa77e8a(0x4d3)],'redoState':_0x41bd82['m2Prime'][_0xa77e8a(0x4d3)]}),_0x5ce252=_0x21c3ea[_0xa77e8a(0x172)],_0x562bfe=_0x41bd82['m1Prime'];}_0x5ce252=_0x320968[_0xa77e8a(0xb3)][_0xa77e8a(0x46d)](_0x2af9a4['mutations'][0x0]),_0x562bfe=_0x320968[_0xa77e8a(0xb3)][_0xa77e8a(0x46d)](_0x2af9a4[_0xa77e8a(0x543)][0x0]);for(let _0x260d40=_0x55bf4c[_0xa77e8a(0x2af)]-0x1;_0x260d40>=0x0;_0x260d40--){const _0x214262={'id':_0xa77e8a(0x320),'params':{'unitId':_0x55bf4c[_0x260d40]['unitId'],..._0x55bf4c[_0x260d40]['undoState']}},_0x4a4fd6={'id':_0xa77e8a(0x320),'params':{'unitId':_0x55bf4c[_0x260d40]['unitId'],..._0x55bf4c[_0x260d40][_0xa77e8a(0x162)]}},_0x5f4f40=this['_transformService'][_0xa77e8a(0x12d)](_0x5ce252,_0x214262,!0x1),_0x465cb7=this[_0xa77e8a(0x289)][_0xa77e8a(0x12d)](_0x562bfe,_0x4a4fd6,!0x1);if(_0x20a4af[_0xa77e8a(0x3ae)](_0x5f4f40))throw _0x5f4f40[_0xa77e8a(0x2c0)];if(_0x20a4af[_0xa77e8a(0x3ae)](_0x465cb7))throw _0x465cb7[_0xa77e8a(0x2c0)];_0x380581[_0xa77e8a(0x400)]({..._0x55bf4c[_0x260d40],'undoState':_0x5f4f40[_0xa77e8a(0xaf)][_0xa77e8a(0x4d3)],'redoState':_0x465cb7[_0xa77e8a(0xaf)]['params']}),_0x5ce252=_0x5f4f40[_0xa77e8a(0x172)],_0x562bfe=_0x465cb7['m1Prime'];}this[_0xa77e8a(0x122)]['setStateCache'](_0x4a9313,{'history':_0x21b4c2,'collaboration':_0x380581});}};_0x4eb33f=_0x13c40e([_0x3e7979(0x0,_0x320968[_0x3965c0(0x124)](_0x320968[_0x3965c0(0x527)])),_0x3e7979(0x1,_0x20a4af[_0x3965c0(0x1fd)]),_0x3e7979(0x2,_0x320968[_0x3965c0(0x124)](_0x4e3eec[_0x3965c0(0x141)]))],_0x4eb33f);function _0x5be53e(_0x370236){let _0x497627='';for(const _0x7136c9 of _0x370236){const {startOffset:_0x1e70b0,endOffset:_0x2c2401,isActive:_0x318ff3,rangeType:_0x4e9dfd,segmentId:_0x3fb7b6,segmentPage:_0x351506}=_0x7136c9;_0x497627['length']&&(_0x497627+=','),_0x497627+=_0x1e70b0+':'+_0x2c2401+':'+(_0x318ff3?'1':'0')+':'+_0x4e9dfd+':'+_0x3fb7b6+':'+_0x351506;}return _0x497627;}function _0x1c6f5e(_0x7db2dc){const _0x10fc1b=_0x3965c0,_0x42f5e3=_0x7db2dc['split'](','),_0x50264b=[];for(const _0x264c11 of _0x42f5e3){const [_0xe1f450,_0x93e8bd,_0x5a6dcb,_0x10becb,_0x351fce,_0x16029e]=_0x264c11[_0x10fc1b(0x37d)](':');_0x50264b[_0x10fc1b(0x25f)]({'startOffset':Number(_0xe1f450),'endOffset':Number(_0x93e8bd),'collapsed':_0xe1f450===_0x93e8bd,'isActive':_0x5a6dcb==='1','rangeType':_0x10becb===_0x320968['DOC_RANGE_TYPE']['TEXT']?_0x320968[_0x10fc1b(0x15a)][_0x10fc1b(0x2b0)]:_0x320968[_0x10fc1b(0x15a)][_0x10fc1b(0x518)],'segmentId':typeof _0x351fce==_0x10fc1b(0x106)?String(_0x351fce):'','segmentPage':Number(_0x16029e!=null?_0x16029e:-0x1)});}return _0x50264b['some'](_0x29bb37=>_0x29bb37[_0x10fc1b(0x134)])||(_0x50264b[0x0]['isActive']=!0x0),_0x50264b;}class _0x318cdd extends _0x320968['RxDisposable']{constructor(){const _0x1fbe26=_0x3965c0;super(...arguments),_0x42c854(this,_0x1fbe26(0x2cd),new _0x237014[(_0x1fbe26(0xa5))](null)),_0x42c854(this,_0x1fbe26(0x411),this['_collabCursorState$'][_0x1fbe26(0x372)]());}[_0x3965c0(0x467)](_0x50cd5c){const _0x1f3970=_0x3965c0,{unitID:_0x31fade,memberID:_0x3d2ab4,textRanges:_0x3b7c8b}=_0x50cd5c,_0x49ab92=_0x5be53e(_0x3b7c8b);if(_0x49ab92==='')return;const _0x291dc0={'unitID':_0x31fade,'memberID':_0x3d2ab4,'selection':_0x49ab92};this[_0x1f3970(0x2cd)]['next'](_0x291dc0);}}var _0xb2b460=Object[_0x3965c0(0x3d5)],_0x2de824=Object[_0x3965c0(0x406)],_0x59beea=(_0x5b0bc8,_0x49f3b3,_0x2f0afd,_0x1f51e7)=>{const _0x307133=_0x3965c0;for(var _0xe592b9=_0x1f51e7>0x1?void 0x0:_0x1f51e7?_0x2de824(_0x49f3b3,_0x2f0afd):_0x49f3b3,_0x371f34=_0x5b0bc8[_0x307133(0x2af)]-0x1,_0x1ca477;_0x371f34>=0x0;_0x371f34--)(_0x1ca477=_0x5b0bc8[_0x371f34])&&(_0xe592b9=(_0x1f51e7?_0x1ca477(_0x49f3b3,_0x2f0afd,_0xe592b9):_0x1ca477(_0xe592b9))||_0xe592b9);return _0x1f51e7&&_0xe592b9&&_0xb2b460(_0x49f3b3,_0x2f0afd,_0xe592b9),_0xe592b9;},_0xbb08bb=(_0x1c347b,_0xb4a201)=>(_0x251121,_0x4a3d17)=>_0xb4a201(_0x251121,_0x4a3d17,_0x1c347b);let _0x47d292=class{constructor(_0x58ad75,_0x192f99){const _0x15075a=_0x3965c0;this[_0x15075a(0x474)]=_0x58ad75,this[_0x15075a(0x289)]=_0x192f99;}[_0x3965c0(0x507)](_0x462f4d){const _0x4153ce=_0x3965c0;var _0x3f5379;const _0x5d1db9=this[_0x4153ce(0x474)][_0x4153ce(0x159)](_0x4ca436[_0x4153ce(0x397)]),_0x38e88a=(_0x3f5379=_0x5d1db9[_0x4153ce(0x28a)]())!=null?_0x3f5379:[];if(_0x38e88a[_0x4153ce(0x2af)]===0x0)return;const _0x34bb7a=[{'id':_0x4153ce(0x320),'params':{'unitId':_0x462f4d[_0x4153ce(0x534)],'actions':null,'textRanges':_0x38e88a}}],_0x321d1d=this[_0x4153ce(0x289)]['transformMutationsWithChangeset'](_0x462f4d,_0x34bb7a);if(!_0x20a4af[_0x4153ce(0x4f7)](_0x321d1d))throw _0x321d1d[_0x4153ce(0x2c0)];const _0x50ca6a=_0x321d1d[_0x4153ce(0xaf)][0x0][_0x4153ce(0x4d3)]['textRanges'];Array[_0x4153ce(0x1e3)](_0x50ca6a)&&_0x50ca6a[_0x4153ce(0x2af)]&&_0x5d1db9[_0x4153ce(0x2d4)](_0x50ca6a,!0x1);}};_0x47d292=_0x59beea([_0xbb08bb(0x0,_0x320968[_0x3965c0(0x124)](_0x320968[_0x3965c0(0x527)])),_0xbb08bb(0x1,_0x20a4af[_0x3965c0(0x1fd)])],_0x47d292);const _0x521f30=new Set([_0x4c6d62[_0x3965c0(0x279)]['id']]);function _0x3409cf(_0x686e91,_0xb79276,_0x2d9aed,_0x5d1469,_0x19b85e){const _0x44fa5d=_0x3965c0;var _0x1b33c9,_0x3f73df,_0x3941ab,_0x2fd524;const _0x3858dd=[];for(const _0x4b3aea of _0x686e91)if(_0x521f30[_0x44fa5d(0x4e6)](_0x4b3aea['id'])){if(_0x3858dd[_0x44fa5d(0x2af)]>0x0)break;_0x3858dd[_0x44fa5d(0x25f)](_0x4b3aea);break;}else _0x3858dd['push'](_0x4b3aea);const _0x9c9703=(_0x3f73df=(_0x1b33c9=_0x19b85e[_0x44fa5d(0x3e9)]())==null?void 0x0:_0x1b33c9[_0x44fa5d(0x175)])!=null?_0x3f73df:_0x44fa5d(0x3be),_0x2b584e=(_0x2fd524=(_0x3941ab=_0x19b85e[_0x44fa5d(0x3e9)]())==null?void 0x0:_0x3941ab[_0x44fa5d(0x243)])!=null?_0x2fd524:'unknown';return{'changeset':{'unitID':_0xb79276,'type':_0x20a4af[_0x44fa5d(0x45f)](_0x2d9aed[_0x44fa5d(0x322)](_0xb79276)),'baseRev':_0x5d1469['getCurrentRevOfUnit'](_0xb79276),'revision':0x0,'userID':_0x9c9703,'memberID':_0x2b584e,'mutations':_0x3858dd},'pendingMutations':_0x686e91[_0x44fa5d(0x32e)](_0x3858dd[_0x44fa5d(0x2af)])};}function _0x428ad3(_0x39b39e,_0x7948b3,_0x363eb4,_0x43c9b0,_0x572431){const _0x1db04e=_0x3965c0;var _0x23f474,_0x4a9130,_0x4ee176,_0x35e9d2;const _0x401b02=[_0x39b39e[_0x1db04e(0x1ac)]((_0xda95be,_0x5518ba)=>{const _0x592a4d=_0x1db04e;var _0x31a60f;const {id:_0x357e21}=_0xda95be,{id:_0x3d91d4,type:_0x97bcf9}=_0x5518ba,_0x543839=(_0x31a60f=_0xda95be[_0x592a4d(0x4d3)])!=null?_0x31a60f:{'actions':null},_0x1d7769=_0x5518ba['params'];if(_0x357e21&&_0x357e21!==_0x3d91d4)throw new Error(_0x592a4d(0x412)+_0x357e21+_0x592a4d(0x1e8)+_0x3d91d4+'.');return{..._0xda95be,'id':_0x3d91d4,'type':_0x97bcf9,'params':{'unitId':_0x1d7769['unitId'],'textRanges':_0x1d7769[_0x592a4d(0x2c8)],'actions':_0x320968['JSONX'][_0x592a4d(0x2a7)](_0x543839[_0x592a4d(0xa6)],_0x1d7769[_0x592a4d(0xa6)])}};},{})],_0x7cd170=(_0x4a9130=(_0x23f474=_0x572431[_0x1db04e(0x3e9)]())==null?void 0x0:_0x23f474['userID'])!=null?_0x4a9130:_0x1db04e(0x3be),_0x2498cd=(_0x35e9d2=(_0x4ee176=_0x572431[_0x1db04e(0x3e9)]())==null?void 0x0:_0x4ee176[_0x1db04e(0x243)])!=null?_0x35e9d2:_0x1db04e(0x3be);return{'changeset':{'unitID':_0x7948b3,'type':_0x20a4af[_0x1db04e(0x45f)](_0x363eb4['getUnitType'](_0x7948b3)),'baseRev':_0x43c9b0[_0x1db04e(0x52f)](_0x7948b3),'revision':0x0,'userID':_0x7cd170,'memberID':_0x2498cd,'mutations':_0x401b02},'pendingMutations':[]};}function _0x4a967d(_0x1928c4,_0x50e4fa){const _0x104562=_0x3965c0,_0x34011b=new _0x237014[(_0x104562(0x551))](0x1);return setTimeout(()=>_0x34011b['next'](_0x50e4fa),_0x1928c4),_0x34011b[_0x104562(0x372)]()[_0x104562(0x30f)](_0x237014[_0x104562(0x470)](0x1));}const _0x49b197={'id':_0x4c6d62[_0x3965c0(0x1d2)]['id'],'type':_0x320968[_0x3965c0(0x3d6)][_0x3965c0(0x36f)],'params':{}};var _0x2b883c=Object[_0x3965c0(0x3d5)],_0x5c3f6d=Object[_0x3965c0(0x406)],_0x4b0858=(_0x2fdf36,_0x9c7693,_0x3c7b88,_0x15ba6e)=>{const _0x11f735=_0x3965c0;for(var _0x4ad601=_0x15ba6e>0x1?void 0x0:_0x15ba6e?_0x5c3f6d(_0x9c7693,_0x3c7b88):_0x9c7693,_0x1b98e4=_0x2fdf36[_0x11f735(0x2af)]-0x1,_0x3c43f6;_0x1b98e4>=0x0;_0x1b98e4--)(_0x3c43f6=_0x2fdf36[_0x1b98e4])&&(_0x4ad601=(_0x15ba6e?_0x3c43f6(_0x9c7693,_0x3c7b88,_0x4ad601):_0x3c43f6(_0x4ad601))||_0x4ad601);return _0x15ba6e&&_0x4ad601&&_0x2b883c(_0x9c7693,_0x3c7b88,_0x4ad601),_0x4ad601;},_0x4266f7=(_0x5f2ac8,_0x2e86b9)=>(_0x632b10,_0x3027d4)=>_0x2e86b9(_0x632b10,_0x3027d4,_0x5f2ac8),_0x1db420=(_0x3173f7=>(_0x3173f7[_0x3965c0(0x189)]=_0x3965c0(0xe9),_0x3173f7[_0x3965c0(0x181)]=_0x3965c0(0x55a),_0x3173f7['PENDING']=_0x3965c0(0xaa),_0x3173f7['AWAITING']=_0x3965c0(0x560),_0x3173f7['AWAITING_WITH_PENDING']=_0x3965c0(0x2d2),_0x3173f7[_0x3965c0(0x224)]='fetch_missing',_0x3173f7['CONFLICT']='conflict',_0x3173f7[_0x3965c0(0x53e)]='offline',_0x3173f7))(_0x1db420||{});const _0x54bf49=0xea60;class _0x12dceb{constructor(_0x467937,_0x435baa,_0x58605e,_0x4fa5ba,_0x20f2b4,_0x9b3f25,_0x5d035a,_0x3c57eb,_0x557796){const _0x647d77=_0x3965c0;_0x42c854(this,'_awaitingChangeset',null),_0x42c854(this,_0x647d77(0x505),[]),(this['unitID']=_0x467937,this['type']=_0x435baa,this[_0x647d77(0x3a6)]=_0x20f2b4,this[_0x647d77(0x20c)]=_0x9b3f25,this[_0x647d77(0x12b)]=_0x5d035a,this[_0x647d77(0x321)]=_0x3c57eb,this['_localCacheService']=_0x557796,this['_awaitingChangeset']=_0x58605e,this[_0x647d77(0x505)]=_0x4fa5ba);}[_0x3965c0(0x2ac)](_0x233a61){const _0x16477a=_0x3965c0,_0x1e6335=this[_0x16477a(0x321)]['getCurrentRevOfUnit'](this[_0x16477a(0x534)]);return _0x233a61[_0x16477a(0x274)]>_0x1e6335+0x1?(this[_0x16477a(0x3a6)]['onMissingChangesets']({'from':_0x1e6335,'to':_0x233a61[_0x16477a(0x274)]-0x1}),!0x0):!0x1;}[_0x3965c0(0x2b9)](_0x40d60f){const _0x2e720c=_0x3965c0;this[_0x2e720c(0x12b)]['transformUndoRedo'](this[_0x2e720c(0x534)],_0x40d60f);}[_0x3965c0(0x446)](_0x2b985a){const _0x4ec7e2=_0x3965c0;var _0xbc248a,_0x4cc557;(_0x4cc557=(_0xbc248a=this[_0x4ec7e2(0x3a6)])[_0x4ec7e2(0x27a)])==null||_0x4cc557['call'](_0xbc248a,_0x2b985a);}[_0x3965c0(0x20a)](_0x55729f){const _0x2a62d8=_0x3965c0;var _0x1d2cb8,_0x444a79;return(_0x444a79=(_0x1d2cb8=this[_0x2a62d8(0x3a6)])[_0x2a62d8(0x421)])==null?void 0x0:_0x444a79['call'](_0x1d2cb8,_0x55729f);}['_transformStateCache'](_0x474710){const _0x5df7df=_0x3965c0;var _0x5c40c9,_0x5bfb02;return(_0x5bfb02=(_0x5c40c9=this[_0x5df7df(0x3a6)])[_0x5df7df(0x50f)])==null?void 0x0:_0x5bfb02[_0x5df7df(0x4ec)](_0x5c40c9,_0x474710);}[_0x3965c0(0x47c)](_0x1d19f2){const _0x4108ab=_0x3965c0;var _0x3feaa5,_0x12cd5f,_0x42355c;return(_0x42355c=(_0x12cd5f=(_0x3feaa5=this[_0x4108ab(0x3a6)])[_0x4108ab(0xb1)])==null?void 0x0:_0x12cd5f[_0x4108ab(0x4ec)](_0x3feaa5,_0x1d19f2))!=null?_0x42355c:_0x1d19f2;}['_transformRemoteChangesetByStateCache'](_0x210cdc){const _0x58f1aa=_0x3965c0;var _0x4d2638,_0x3eb54d,_0x3b4bad;return(_0x3b4bad=(_0x3eb54d=(_0x4d2638=this[_0x58f1aa(0x3a6)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x3eb54d[_0x58f1aa(0x4ec)](_0x4d2638,_0x210cdc))!=null?_0x3b4bad:_0x210cdc;}['_syncEditingCollabCursor'](_0x1bea01){const _0x5c4944=_0x3965c0;var _0x36bfad,_0x448055;if(this[_0x5c4944(0x3b5)]===_0x22ab58[_0x5c4944(0x164)]){const {unitID:_0x276219,mutations:_0x396c19,memberID:_0x379da7}=_0x1bea01,_0x32d1fe=_0x396c19[0x0]['params'][_0x5c4944(0x2c8)];Array[_0x5c4944(0x1e3)](_0x32d1fe)&&_0x32d1fe[_0x5c4944(0x2af)]>0x0&&((_0x448055=(_0x36bfad=this[_0x5c4944(0x3a6)])[_0x5c4944(0xc0)])==null||_0x448055[_0x5c4944(0x4ec)](_0x36bfad,{'unitID':_0x276219,'memberID':_0x379da7,'textRanges':_0x32d1fe}));}}[_0x3965c0(0x2e4)](){const _0x3ff3a7=_0x3965c0;this[_0x3ff3a7(0xba)][_0x3ff3a7(0xb5)](this[_0x3ff3a7(0x534)],this[_0x3ff3a7(0x3b5)],this[_0x3ff3a7(0x1e6)],this['_pendingMutations']);}[_0x3965c0(0x276)](){const _0x1af262=_0x3965c0;return this[_0x1af262(0x321)][_0x1af262(0x52f)](this[_0x1af262(0x534)]);}[_0x3965c0(0x2f3)](){const _0x23d4bd=_0x3965c0;this[_0x23d4bd(0x321)][_0x23d4bd(0x454)](this['unitID']);}[_0x3965c0(0x107)](_0x361536){const _0x517b26=_0x3965c0;var _0x4dbb4a;let _0x2af2b9=this[_0x517b26(0x47c)](_0x361536);_0x2af2b9=this[_0x517b26(0x552)](_0x2af2b9);const _0xe63e80=_0x320968[_0x517b26(0x2fe)](_0x2af2b9[_0x517b26(0x543)],this[_0x517b26(0x20c)],{'fromCollab':!0x0});if(!_0xe63e80['result'])throw _0xe63e80['error']instanceof Error?_0xe63e80['error']:new Error((_0x4dbb4a=_0xe63e80[_0x517b26(0x2c0)])!=null?_0x4dbb4a:_0x517b26(0x128));this[_0x517b26(0x20a)](_0x2af2b9),this['_transformStateCache'](_0x2af2b9),this[_0x517b26(0x2b9)](_0x361536),this[_0x517b26(0x446)](_0x2af2b9),this[_0x517b26(0x333)](_0x2af2b9),this[_0x517b26(0x2f3)]();}}let _0x203b24=class extends _0x12dceb{constructor(_0x30d94b,_0x206fe9,_0x4d30d4,_0x2be888,_0x1a6879,_0x44fb3b,_0xf5df76,_0x1d97ac,_0x31689f,_0xd0ab85){const _0x59fd28=_0x3965c0;super(_0x30d94b,_0x206fe9,null,[],_0x4d30d4,_0x1d97ac,_0xf5df76,_0x2be888,_0x1a6879),_0x42c854(this,'status',_0x59fd28(0x55a)),(this[_0x59fd28(0x474)]=_0x44fb3b,this[_0x59fd28(0x127)]=_0x31689f,this[_0x59fd28(0x289)]=_0xd0ab85);}['appendMutation'](_0x209e06){const _0x3d7c79=_0x3965c0,_0x14a54d=this[_0x3d7c79(0x474)]['createInstance'](_0x4e2638,this[_0x3d7c79(0x534)],this[_0x3d7c79(0x3b5)],[_0x209e06],this[_0x3d7c79(0x3a6)]);return _0x14a54d['_schedule'](),_0x14a54d[_0x3d7c79(0x2e4)](),_0x14a54d;}[_0x3965c0(0xfb)](_0x3bf4a0){const _0x44d327=_0x3965c0;if(this['_checkMissing'](_0x3bf4a0))return this[_0x44d327(0x474)][_0x44d327(0x525)](_0x59cf44,this[_0x44d327(0x534)],this['type'],null,[],null,[_0x3bf4a0],this[_0x44d327(0x3a6)]);try{const _0x4ee9e6=this[_0x44d327(0x289)][_0x44d327(0x131)](_0x3bf4a0,[_0x49b197]);if(_0x20a4af[_0x44d327(0x4f7)](_0x4ee9e6)){const {c1Prime:_0x448cda}=_0x4ee9e6;return this[_0x44d327(0x107)](_0x448cda),this;}throw _0x4ee9e6['error'];}catch(_0x8b30b4){return this[_0x44d327(0x127)]['error'](_0x8b30b4),this['_onConflict'](!0x1);}}[_0x3965c0(0xc8)](_0xac2d30){const _0x3e3814=_0x3965c0;return this[_0x3e3814(0x474)][_0x3e3814(0x525)](_0xb02ff1,this[_0x3e3814(0x534)],this[_0x3e3814(0x3b5)],null,[],this[_0x3e3814(0x3a6)],_0xac2d30);}[_0x3965c0(0xea)](){const _0x492276=_0x3965c0;throw new Error(_0x492276(0x12e));}['onRemoteRej'](){const _0xac1bc2=_0x3965c0;throw new Error(_0xac1bc2(0xdb));}['onRemoteRetry'](){return this;}[_0x3965c0(0x3c3)](){const _0x2a8bcb=_0x3965c0;return this[_0x2a8bcb(0x474)][_0x2a8bcb(0x525)](_0x463739,this[_0x2a8bcb(0x534)],this['type'],null,[],this[_0x2a8bcb(0x3a6)]);}[_0x3965c0(0x2b6)](){return this;}['resend'](){const _0x30e4dd=_0x3965c0;throw new Error(_0x30e4dd(0x46a));}[_0x3965c0(0x188)](){const _0x118d1c=_0x3965c0,_0x150cf6=this[_0x118d1c(0x321)][_0x118d1c(0x52f)](this[_0x118d1c(0x534)]);return this[_0x118d1c(0x3a6)][_0x118d1c(0x38a)]({'from':_0x150cf6,'to':0x0}),this['_injector'][_0x118d1c(0x525)](_0x59cf44,this[_0x118d1c(0x534)],this[_0x118d1c(0x3b5)],null,[],null,[],this[_0x118d1c(0x3a6)]);}};_0x203b24=_0x4b0858([_0x4266f7(0x3,_0x320968['Inject'](_0x20a4af[_0x3965c0(0x3e1)])),_0x4266f7(0x4,_0x320968[_0x3965c0(0x124)](_0x41186c['LocalCacheService'])),_0x4266f7(0x5,_0x320968[_0x3965c0(0x124)](_0x320968[_0x3965c0(0x527)])),_0x4266f7(0x6,_0x320968[_0x3965c0(0x206)]),_0x4266f7(0x7,_0x320968[_0x3965c0(0x32d)]),_0x4266f7(0x8,_0x320968['ILogService']),_0x4266f7(0x9,_0x20a4af[_0x3965c0(0x1fd)])],_0x203b24);let _0x4e2638=class extends _0x12dceb{constructor(_0x2cf437,_0x4b9916,_0x17148f,_0x538c4a,_0x3260f8,_0x5bc90f,_0x45a291,_0x508521,_0x2cd2b3,_0x1447a,_0x1352a0,_0x1dbcf0,_0x169f95,_0x426821){const _0x465352=_0x3965c0;super(_0x2cf437,_0x4b9916,null,_0x17148f,_0x538c4a,_0x1447a,_0x426821,_0x5bc90f,_0x45a291),_0x42c854(this,'status',_0x465352(0xaa)),_0x42c854(this,'_scheduleTimestamp',null),_0x42c854(this,_0x465352(0x14c),null),(this['_injector']=_0x3260f8,this[_0x465352(0x437)]=_0x508521,this[_0x465352(0x127)]=_0x2cd2b3,this[_0x465352(0xa3)]=_0x1352a0,this[_0x465352(0x289)]=_0x1dbcf0,this[_0x465352(0x27e)]=_0x169f95);}[_0x3965c0(0x280)](_0x2efdab){const _0x11d291=_0x3965c0;return this[_0x11d291(0x505)]['push'](_0x2efdab),this[_0x11d291(0x2e4)](),this;}['onRemoteChangeset'](_0x2d5852){const _0x28cc24=_0x3965c0;if(this[_0x28cc24(0x2ac)](_0x2d5852))return this[_0x28cc24(0x510)](),this[_0x28cc24(0x474)][_0x28cc24(0x525)](_0x59cf44,this[_0x28cc24(0x534)],this[_0x28cc24(0x3b5)],null,this['_pendingMutations'],null,[_0x2d5852],this[_0x28cc24(0x3a6)]);try{const _0x3d7a94=this['_transformService'][_0x28cc24(0x131)](_0x2d5852,this['_pendingMutations']);if(_0x20a4af['isTransformMutationsWithChangesetSuccess'](_0x3d7a94)){const {c1Prime:_0x27e905,m2Prime:_0x570c50}=_0x3d7a94;this['_executeRemoteChangeset'](_0x27e905);const _0x17cad4=this[_0x28cc24(0x474)][_0x28cc24(0x525)](_0x4e2638,this[_0x28cc24(0x534)],this[_0x28cc24(0x3b5)],_0x570c50,this[_0x28cc24(0x3a6)]);return this[_0x28cc24(0x510)](),_0x17cad4['_schedule'](this[_0x28cc24(0x356)]?Math[_0x28cc24(0x360)](0x0,new Date()['getTime']()-this[_0x28cc24(0x356)]):this[_0x28cc24(0x27c)]()),_0x17cad4;}throw _0x3d7a94[_0x28cc24(0x2c0)];}catch(_0x3c18cf){return this[_0x28cc24(0x127)]['error'](_0x3c18cf),this[_0x28cc24(0xc8)](!0x1);}}[_0x3965c0(0xea)](){const _0x23a6f0=_0x3965c0;throw new Error(_0x23a6f0(0x202));}[_0x3965c0(0x515)](){const _0x53923b=_0x3965c0;throw new Error(_0x53923b(0x51c));}['onRemoteRetry'](){return this;}[_0x3965c0(0x3c3)](){const _0x196424=_0x3965c0;return this[_0x196424(0x510)](),this[_0x196424(0x474)][_0x196424(0x525)](_0x463739,this[_0x196424(0x534)],this[_0x196424(0x3b5)],null,this[_0x196424(0x505)],this[_0x196424(0x3a6)]);}[_0x3965c0(0x2b6)](){return this;}[_0x3965c0(0x40d)](_0x357546){const _0x369fdd=_0x3965c0,_0x2c7d08=_0x357546!=null?_0x357546:this[_0x369fdd(0x27c)]();this[_0x369fdd(0x356)]=new Date()['getTime'](),this[_0x369fdd(0x14c)]=window[_0x369fdd(0x1b0)](()=>{const _0x419529=_0x369fdd;this[_0x419529(0x510)]();let _0x1eb470=null;switch(this['type']){case _0x22ab58[_0x419529(0x45d)]:{_0x1eb470=_0x3409cf(this[_0x419529(0x505)],this[_0x419529(0x534)],this[_0x419529(0x27e)],this['_revisionService'],this[_0x419529(0x437)]);break;}case _0x22ab58[_0x419529(0x164)]:{this[_0x419529(0x505)][_0x419529(0x173)](_0x166bea=>_0x166bea['id']===_0x4ca436[_0x419529(0x533)]['id'])?_0x1eb470=_0x428ad3(this[_0x419529(0x505)],this['unitID'],this[_0x419529(0x27e)],this[_0x419529(0x321)],this[_0x419529(0x437)]):_0x1eb470=_0x3409cf(this[_0x419529(0x505)],this[_0x419529(0x534)],this[_0x419529(0x27e)],this[_0x419529(0x321)],this['_memberService']);break;}default:throw new Error(_0x419529(0x478)+this[_0x419529(0x3b5)]+'\x20in\x20_schedule.');}const {changeset:_0x56d603,pendingMutations:_0x5a1a35}=_0x1eb470;this['_handler'][_0x419529(0x1c6)](_0x56d603);const _0x551b54=_0x5a1a35[_0x419529(0x2af)]?this[_0x419529(0x474)][_0x419529(0x525)](_0x304f3a,this[_0x419529(0x534)],this[_0x419529(0x3b5)],_0x56d603,_0x5a1a35,this[_0x419529(0x3a6)],void 0x0):this[_0x419529(0x474)][_0x419529(0x525)](_0x325db6,this['unitID'],this[_0x419529(0x3b5)],_0x56d603,this['_handler']);_0x551b54[_0x419529(0x2e4)](),this[_0x419529(0x3a6)][_0x419529(0x363)](this,_0x551b54);},_0x2c7d08);}[_0x3965c0(0x27c)](){const _0x2a16bf=_0x3965c0;var _0x220409;const _0x4f8845=this[_0x2a16bf(0xa3)][_0x2a16bf(0xa7)](_0x5f560a);return(_0x220409=_0x4f8845==null?void 0x0:_0x4f8845[_0x2a16bf(0x210)])!=null?_0x220409:0x7d0;}[_0x3965c0(0xbe)](){const _0xb7ad2d=_0x3965c0;throw new Error(_0xb7ad2d(0x539));}[_0x3965c0(0x510)](){const _0x44b886=_0x3965c0;this[_0x44b886(0x14c)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}[_0x3965c0(0xc8)](_0x18a15c){const _0x805c44=_0x3965c0;return this['_clearScheduledTask'](),this['_injector'][_0x805c44(0x525)](_0xb02ff1,this[_0x805c44(0x534)],this['type'],null,this[_0x805c44(0x505)],this[_0x805c44(0x3a6)],_0x18a15c);}};_0x4e2638=_0x4b0858([_0x4266f7(0x4,_0x320968[_0x3965c0(0x124)](_0x320968['Injector'])),_0x4266f7(0x5,_0x320968[_0x3965c0(0x124)](_0x20a4af['RevisionService'])),_0x4266f7(0x6,_0x320968[_0x3965c0(0x124)](_0x41186c[_0x3965c0(0x24b)])),_0x4266f7(0x7,_0x320968[_0x3965c0(0x124)](_0x41186c[_0x3965c0(0x3bd)])),_0x4266f7(0x8,_0x320968[_0x3965c0(0x226)]),_0x4266f7(0x9,_0x320968[_0x3965c0(0x32d)]),_0x4266f7(0xa,_0x320968[_0x3965c0(0x479)]),_0x4266f7(0xb,_0x20a4af[_0x3965c0(0x1fd)]),_0x4266f7(0xc,_0x320968[_0x3965c0(0x447)]),_0x4266f7(0xd,_0x320968['IUndoRedoService'])],_0x4e2638);let _0x325db6=class extends _0x12dceb{constructor(_0x4e1017,_0x543c26,_0x3a4238,_0x5d47b6,_0xeaf74b,_0x4600fb,_0x251855,_0x59447d,_0x196936,_0x384ad5,_0x2a8218){const _0xc412e7=_0x3965c0;super(_0x4e1017,_0x543c26,_0x3a4238,[],_0x5d47b6,_0x59447d,_0x2a8218,_0x4600fb,_0x251855),_0x42c854(this,_0xc412e7(0x307),_0xc412e7(0x560)),_0x42c854(this,'_resendTimeout',0x0),_0x42c854(this,_0xc412e7(0x4f4)),_0x42c854(this,_0xc412e7(0x327)),(this['_injector']=_0xeaf74b,this['_logService']=_0x196936,this['_transformService']=_0x384ad5);}[_0x3965c0(0x280)](_0x169a85){const _0x26d9a5=_0x3965c0;this[_0x26d9a5(0x510)]();const _0x23a9d6=this[_0x26d9a5(0x474)][_0x26d9a5(0x525)](_0x304f3a,this[_0x26d9a5(0x534)],this[_0x26d9a5(0x3b5)],this[_0x26d9a5(0x1e6)],[_0x169a85],this['_handler'],this['_resendTimer']);return _0x23a9d6[_0x26d9a5(0x2e4)](),_0x23a9d6;}[_0x3965c0(0xfb)](_0x30a812){const _0x2a827d=_0x3965c0;if(this[_0x2a827d(0x2ac)](_0x30a812))return this[_0x2a827d(0x510)](),this[_0x2a827d(0x474)][_0x2a827d(0x525)](_0x59cf44,this[_0x2a827d(0x534)],this[_0x2a827d(0x3b5)],this['_awaitingChangeset'],[],null,[_0x30a812],this[_0x2a827d(0x3a6)]);try{const _0x2f612f=this[_0x2a827d(0x289)]['transformChangesets']([_0x30a812],[this[_0x2a827d(0x1e6)]],!0x1);if(_0x20a4af[_0x2a827d(0x38f)](_0x2f612f)){const {c1Prime:_0x2aed99,c2Prime:_0xe0ebdc}=_0x2f612f;this[_0x2a827d(0x107)](_0x2aed99[0x0]),_0xe0ebdc[0x0]['baseRev']=this[_0x2a827d(0x276)](),this[_0x2a827d(0x510)]();const _0x300d27=this[_0x2a827d(0x474)][_0x2a827d(0x525)](_0x325db6,this[_0x2a827d(0x534)],this[_0x2a827d(0x3b5)],_0xe0ebdc[0x0],this['_handler']);return _0x300d27[_0x2a827d(0x2e4)](),_0x300d27;}return this[_0x2a827d(0xc8)](!0x1);}catch(_0x397b31){return this[_0x2a827d(0x127)][_0x2a827d(0x2c0)](_0x397b31),this[_0x2a827d(0xc8)](!0x1);}}[_0x3965c0(0xea)](_0x531893){const _0x2f5a31=_0x3965c0;this[_0x2f5a31(0x510)]();const _0x1fbfa2=this['_revisionService'][_0x2f5a31(0x52f)](this['unitID']);if(_0x531893['revision']<_0x1fbfa2-0x1)return this;if(this['_checkMissing'](_0x531893))return this[_0x2f5a31(0x474)]['createInstance'](_0x59cf44,this[_0x2f5a31(0x534)],this[_0x2f5a31(0x3b5)],null,[],this['_awaitingChangeset'],[],this[_0x2f5a31(0x3a6)]);this[_0x2f5a31(0x2f3)]();const _0x39eaa9=this[_0x2f5a31(0x474)]['createInstance'](_0x203b24,this[_0x2f5a31(0x534)],this['type'],this['_handler']);return _0x39eaa9[_0x2f5a31(0x2e4)](),_0x39eaa9;}[_0x3965c0(0x515)](_0x1fc481){const _0x2fe3ea=_0x3965c0;return this[_0x2fe3ea(0xc8)](!!(_0x1fc481!=null&&_0x1fc481['isPermissionRej']));}[_0x3965c0(0x102)](_0x57efa7){const _0x2f26e8=_0x3965c0;return this[_0x2f26e8(0x458)]>_0x54bf49?this['toggleOffline']():(this[_0x2f26e8(0x4f4)]=_0x4a967d(this[_0x2f26e8(0x458)],{'timeout':this[_0x2f26e8(0x458)],'reqId':_0x57efa7[_0x2f26e8(0x398)]}),this['_sender']=this['_resendTimer'][_0x2f26e8(0xc2)](({reqId:_0x4c2e84,timeout:_0x45f96e})=>{const _0x20854c=_0x2f26e8;this[_0x20854c(0x389)](_0x4c2e84,_0x45f96e);}),this);}[_0x3965c0(0x3c3)](){const _0x20df8f=_0x3965c0;return this['_clearScheduledTask'](),this[_0x20df8f(0x474)][_0x20df8f(0x525)](_0x463739,this[_0x20df8f(0x534)],this[_0x20df8f(0x3b5)],this[_0x20df8f(0x1e6)],[],this[_0x20df8f(0x3a6)]);}[_0x3965c0(0x2b6)](){return this;}[_0x3965c0(0xbe)](){const _0x31cf4c=_0x3965c0;this['_handler'][_0x31cf4c(0x1c6)](this[_0x31cf4c(0x1e6)]);}[_0x3965c0(0xc8)](_0x345f78){const _0x57fc05=_0x3965c0;return this[_0x57fc05(0x510)](),this[_0x57fc05(0x474)]['createInstance'](_0xb02ff1,this['unitID'],this[_0x57fc05(0x3b5)],this[_0x57fc05(0x1e6)],[],this['_handler'],_0x345f78);}['_resendWithTimeout'](_0x2f0bb7,_0x36fa95){const _0x452dc0=_0x3965c0;var _0x35d207;_0x2f0bb7===((_0x35d207=this[_0x452dc0(0x1e6)])==null?void 0x0:_0x35d207[_0x452dc0(0x398)])&&(this[_0x452dc0(0xbe)](),this[_0x452dc0(0x458)]=_0x36fa95===0x0?0x3e8:_0x36fa95*0x2);}[_0x3965c0(0x510)](){const _0xf5fdb=_0x3965c0;var _0x1cc9e3;(_0x1cc9e3=this['_sender'])==null||_0x1cc9e3[_0xf5fdb(0x475)](),this[_0xf5fdb(0x458)]=0x0;}};_0x325db6=_0x4b0858([_0x4266f7(0x4,_0x320968['Inject'](_0x320968[_0x3965c0(0x527)])),_0x4266f7(0x5,_0x320968[_0x3965c0(0x124)](_0x20a4af['RevisionService'])),_0x4266f7(0x6,_0x320968['Inject'](_0x41186c['LocalCacheService'])),_0x4266f7(0x7,_0x320968[_0x3965c0(0x32d)]),_0x4266f7(0x8,_0x320968[_0x3965c0(0x226)]),_0x4266f7(0x9,_0x20a4af[_0x3965c0(0x1fd)]),_0x4266f7(0xa,_0x320968[_0x3965c0(0x206)])],_0x325db6);let _0x304f3a=class extends _0x12dceb{constructor(_0x230bb4,_0x53c5e0,_0x6b93ce,_0x1b762d,_0x139213,_0x5144cb,_0x52983d,_0x348a17,_0x2732f1,_0x60447a,_0x5b5d01,_0x53b18f,_0x54ee4d){const _0x2bf0ec=_0x3965c0;super(_0x230bb4,_0x53c5e0,_0x6b93ce,_0x1b762d,_0x139213,_0x60447a,_0x54ee4d,_0x348a17,_0x2732f1),_0x42c854(this,_0x2bf0ec(0x307),_0x2bf0ec(0x2d2)),_0x42c854(this,_0x2bf0ec(0x458),0x0),_0x42c854(this,_0x2bf0ec(0x4f4)),_0x42c854(this,_0x2bf0ec(0x327)),(this['_injector']=_0x52983d,this[_0x2bf0ec(0x127)]=_0x5b5d01,this[_0x2bf0ec(0x289)]=_0x53b18f,_0x5144cb&&(this[_0x2bf0ec(0x4f4)]=_0x5144cb,this[_0x2bf0ec(0x327)]=this[_0x2bf0ec(0x4f4)]['subscribe'](({reqId:_0x3b3462,timeout:_0x416156})=>{this['_resendWithTimeout'](_0x3b3462,_0x416156);})));}[_0x3965c0(0x280)](_0x494d66){const _0x42a75b=_0x3965c0;return this['_pendingMutations'][_0x42a75b(0x25f)](_0x494d66),this;}['onRemoteChangeset'](_0x465321){const _0x421526=_0x3965c0;if(this[_0x421526(0x2ac)](_0x465321))return this['_clearScheduledTask'](),this[_0x421526(0x474)][_0x421526(0x525)](_0x59cf44,this[_0x421526(0x534)],this[_0x421526(0x3b5)],this[_0x421526(0x1e6)],this[_0x421526(0x505)],null,[_0x465321],this[_0x421526(0x3a6)]);try{const _0xd98909=this[_0x421526(0x289)]['transformChangesets']([_0x465321],[this[_0x421526(0x1e6)]],!0x1);if(_0x20a4af[_0x421526(0x38f)](_0xd98909)){const {c1Prime:_0x218147,c2Prime:_0x587036}=_0xd98909,_0x408e24=this[_0x421526(0x289)]['transformMutationsWithChangeset'](_0x218147[0x0],this[_0x421526(0x505)]);if(_0x20a4af[_0x421526(0x4f7)](_0x408e24)){const {c1Prime:_0x1aa634,m2Prime:_0x3ad066}=_0x408e24;return this[_0x421526(0x107)](_0x1aa634),_0x587036[0x0][_0x421526(0x296)]=this['_getCurrentRevision'](),this[_0x421526(0x510)](),this[_0x421526(0x474)][_0x421526(0x525)](_0x304f3a,this[_0x421526(0x534)],this[_0x421526(0x3b5)],_0x587036[0x0],_0x3ad066,this[_0x421526(0x3a6)],void 0x0);}throw _0x408e24[_0x421526(0x2c0)];}throw _0xd98909[_0x421526(0x2c0)];}catch(_0xc911df){return this['_logService'][_0x421526(0x2c0)](_0xc911df),this[_0x421526(0xc8)](!0x1);}}[_0x3965c0(0xea)](_0x425ec9){const _0x339597=_0x3965c0;if(this[_0x339597(0x510)](),this[_0x339597(0x2ac)](_0x425ec9))return this[_0x339597(0x474)][_0x339597(0x525)](_0x59cf44,this['unitID'],this[_0x339597(0x3b5)],null,this['_pendingMutations'],this[_0x339597(0x1e6)],[],this['_handler']);this[_0x339597(0x2f3)]();const _0x2e467c=this[_0x339597(0x474)][_0x339597(0x525)](_0x4e2638,this[_0x339597(0x534)],this[_0x339597(0x3b5)],this[_0x339597(0x505)],this[_0x339597(0x3a6)]);return _0x2e467c[_0x339597(0x40d)](),_0x2e467c[_0x339597(0x2e4)](),_0x2e467c;}[_0x3965c0(0x515)](_0x1422f3){const _0x19b07b=_0x3965c0;return this['_onConflict'](!!(_0x1422f3!=null&&_0x1422f3[_0x19b07b(0x1b4)]));}[_0x3965c0(0x102)](_0x654cad){const _0x62e30f=_0x3965c0;return this[_0x62e30f(0x458)]>_0x54bf49?this['toggleOffline']():(this[_0x62e30f(0x4f4)]=_0x4a967d(this[_0x62e30f(0x458)],{'timeout':this[_0x62e30f(0x458)],'reqId':_0x654cad[_0x62e30f(0x398)]}),this['_sender']=this[_0x62e30f(0x4f4)][_0x62e30f(0xc2)](({reqId:_0x597122,timeout:_0x4bdb4a})=>{this['_resendWithTimeout'](_0x597122,_0x4bdb4a);}),this);}[_0x3965c0(0x3c3)](){const _0x520f3e=_0x3965c0;return this[_0x520f3e(0x510)](),this['_injector'][_0x520f3e(0x525)](_0x463739,this['unitID'],this[_0x520f3e(0x3b5)],this['_awaitingChangeset'],this[_0x520f3e(0x505)],this[_0x520f3e(0x3a6)]);}['toggleOnline'](){return this;}['resend'](){const _0x3a335c=_0x3965c0;this[_0x3a335c(0x3a6)][_0x3a335c(0x1c6)](this[_0x3a335c(0x1e6)]);}[_0x3965c0(0xc8)](_0x57319e){const _0x40c5d4=_0x3965c0;return this['_clearScheduledTask'](),this[_0x40c5d4(0x474)]['createInstance'](_0xb02ff1,this[_0x40c5d4(0x534)],this[_0x40c5d4(0x3b5)],null,this[_0x40c5d4(0x505)],this[_0x40c5d4(0x3a6)],_0x57319e);}['_resendWithTimeout'](_0x24b822,_0xca1194){const _0x1161e2=_0x3965c0;var _0x3a5e9f;_0x24b822===((_0x3a5e9f=this[_0x1161e2(0x1e6)])==null?void 0x0:_0x3a5e9f['reqId'])&&(this[_0x1161e2(0xbe)](),this['_resendTimeout']=_0xca1194===0x0?0x3e8:_0xca1194*0x2);}[_0x3965c0(0x510)](){const _0x1f7463=_0x3965c0;var _0x2107f2;(_0x2107f2=this[_0x1f7463(0x327)])==null||_0x2107f2['unsubscribe'](),this[_0x1f7463(0x458)]=0x0;}};_0x304f3a=_0x4b0858([_0x4266f7(0x6,_0x320968[_0x3965c0(0x124)](_0x320968[_0x3965c0(0x527)])),_0x4266f7(0x7,_0x320968[_0x3965c0(0x124)](_0x20a4af[_0x3965c0(0x3e1)])),_0x4266f7(0x8,_0x320968[_0x3965c0(0x124)](_0x41186c['LocalCacheService'])),_0x4266f7(0x9,_0x320968[_0x3965c0(0x32d)]),_0x4266f7(0xa,_0x320968['ILogService']),_0x4266f7(0xb,_0x20a4af[_0x3965c0(0x1fd)]),_0x4266f7(0xc,_0x320968[_0x3965c0(0x206)])],_0x304f3a);let _0xb02ff1=class extends _0x12dceb{constructor(_0x40aee2,_0x4535ff,_0x175074,_0x332dca,_0x5a52cb,_0x4ed672=!0x1,_0x509827,_0x569b05,_0x2517d7,_0x5f06c0,_0xae83d1,_0x4916a6,_0x989fea){const _0x33551e=_0x3965c0;super(_0x40aee2,_0x4535ff,_0x175074,_0x332dca,_0x5a52cb,_0x569b05,_0x2517d7,_0xae83d1,_0x5f06c0),_0x42c854(this,_0x33551e(0x307),_0x33551e(0x526)),(this[_0x33551e(0x561)]=_0x4ed672,this['_permissionService']=_0x509827,this[_0x33551e(0xed)]=_0x4916a6,this[_0x33551e(0x485)]=_0x989fea,this[_0x33551e(0x385)](),this[_0x33551e(0x100)](),this[_0x33551e(0x3a8)]());}[_0x3965c0(0x280)](){return this;}['onRemoteChangeset'](){return this;}[_0x3965c0(0xea)](){return this;}[_0x3965c0(0x515)](){return this;}['onRemoteRetry'](){return this;}[_0x3965c0(0x3c3)](){return this;}[_0x3965c0(0x2b6)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){const _0x2e9716=_0x3965c0;this['_localCacheService'][_0x2e9716(0xb5)](this[_0x2e9716(0x534)],this[_0x2e9716(0x3b5)],null,[]);}[_0x3965c0(0x385)](){const _0x2697ba=_0x3965c0;this['_isPermissionRej']?this['_notificationService'][_0x2697ba(0x1d3)]({'title':this[_0x2697ba(0xed)]['t'](_0x2697ba(0x370)),'content':this[_0x2697ba(0xed)]['t']('permission.content'),'type':_0x2697ba(0x2c0),'duration':0x0}):this[_0x2697ba(0x485)]['show']({'title':this['_localeService']['t'](_0x2697ba(0xdf)),'content':this[_0x2697ba(0xed)]['t']('conflict.content'),'type':'error','duration':0x0});}[_0x3965c0(0x3a8)](){const _0x39af9b=_0x3965c0;this[_0x39af9b(0x153)]['updatePermissionPoint'](new _0x4c6d62['WorkbookEditablePermission'](this['unitID'])['id'],!0x1);}};_0xb02ff1=_0x4b0858([_0x4266f7(0x6,_0x320968[_0x3965c0(0x124)](_0x320968['IPermissionService'])),_0x4266f7(0x7,_0x320968[_0x3965c0(0x32d)]),_0x4266f7(0x8,_0x320968[_0x3965c0(0x206)]),_0x4266f7(0x9,_0x320968[_0x3965c0(0x124)](_0x41186c['LocalCacheService'])),_0x4266f7(0xa,_0x320968[_0x3965c0(0x124)](_0x20a4af[_0x3965c0(0x3e1)])),_0x4266f7(0xb,_0x320968[_0x3965c0(0x124)](_0x320968['LocaleService'])),_0x4266f7(0xc,_0x794d48['INotificationService'])],_0xb02ff1);let _0x463739=class extends _0x12dceb{constructor(_0x19512e,_0xba0a90,_0x50e8b8,_0x4a4c5c,_0x5e9323,_0x2d5829,_0x829a65,_0x3eac7b,_0x36e2d6,_0x2e281c){const _0xd3e09c=_0x3965c0;super(_0x19512e,_0xba0a90,_0x50e8b8,_0x4a4c5c,_0x5e9323,_0x36e2d6,_0x2e281c,_0x829a65,_0x3eac7b),_0x42c854(this,_0xd3e09c(0x307),_0xd3e09c(0xfd)),this[_0xd3e09c(0x474)]=_0x2d5829;}[_0x3965c0(0x280)](_0x170378){const _0x568ad6=_0x3965c0;return this['_pendingMutations'][_0x568ad6(0x25f)](_0x170378),this[_0x568ad6(0x2e4)](),this;}[_0x3965c0(0xfb)](_0x4e3823){const _0x40753e=_0x3965c0;throw new Error(_0x40753e(0x2c5));}['onRemoteAck'](){const _0x1b2cce=_0x3965c0;throw new Error(_0x1b2cce(0x2dd));}[_0x3965c0(0x515)](){const _0x347c06=_0x3965c0;throw new Error(_0x347c06(0x35e));}['onRemoteRetry'](){return this;}[_0x3965c0(0x3c3)](){return this;}['toggleOnline'](){const _0x14b7c8=_0x3965c0,{_injector:_0x19fb38,_pendingMutations:_0x2af78b,_awaitingChangeset:_0xfa9c2d,unitID:_0x5d7b35,_handler:_0x19c1b9,type:_0x33a2ee}=this,_0x18bd83=_0x4264a1(_0x19fb38,_0x5d7b35,_0x33a2ee,_0xfa9c2d,_0x2af78b,_0x19c1b9);return _0x18bd83 instanceof _0x4e2638?_0x18bd83[_0x14b7c8(0x40d)]():(_0x18bd83 instanceof _0x304f3a||_0x18bd83 instanceof _0x325db6)&&_0x18bd83['resend'](),_0x18bd83;}[_0x3965c0(0xbe)](){const _0x2fc5ba=_0x3965c0;throw new Error(_0x2fc5ba(0x11a));}};_0x463739=_0x4b0858([_0x4266f7(0x5,_0x320968[_0x3965c0(0x124)](_0x320968[_0x3965c0(0x527)])),_0x4266f7(0x6,_0x320968[_0x3965c0(0x124)](_0x20a4af[_0x3965c0(0x3e1)])),_0x4266f7(0x7,_0x320968[_0x3965c0(0x124)](_0x41186c[_0x3965c0(0x24b)])),_0x4266f7(0x8,_0x320968['ICommandService']),_0x4266f7(0x9,_0x320968['IUndoRedoService'])],_0x463739);let _0x59cf44=class extends _0x12dceb{constructor(_0x27427a,_0x6b4cff,_0x1f204c,_0xafe2c0,_0x50f473,_0xae3372,_0x4b6ed9,_0x8698cd,_0x5d5461,_0x427961,_0x1cf03f,_0x2c0c41,_0x4bfe3a,_0x407bbe){const _0x3e1a7f=_0x3965c0;super(_0x27427a,_0x6b4cff,_0x1f204c,_0xafe2c0,_0x4b6ed9,_0x2c0c41,_0x4bfe3a,_0x5d5461,_0x427961),_0x42c854(this,'status',_0x3e1a7f(0x1fc)),(this[_0x3e1a7f(0x25c)]=_0x50f473,this['_queuedRemoteChangesets']=_0xae3372,this[_0x3e1a7f(0x474)]=_0x8698cd,this['_logService']=_0x1cf03f,this[_0x3e1a7f(0x289)]=_0x407bbe);}[_0x3965c0(0x190)](_0x1c42ae){const _0x396554=_0x3965c0;try{const _0x34cf9c=[..._0x1c42ae,...this[_0x396554(0x48c)]],_0x14d051=[this[_0x396554(0x1e6)]||this[_0x396554(0x25c)]][_0x396554(0x179)](_0x2771af=>!!_0x2771af);let _0x4eb5ec,_0x52c340;if(_0x14d051[_0x396554(0x2af)]){const _0x5e698e=this[_0x396554(0x289)][_0x396554(0x4bc)](_0x34cf9c,_0x14d051,!0x1);if(!_0x20a4af[_0x396554(0x38f)](_0x5e698e))throw _0x5e698e[_0x396554(0x2c0)];_0x4eb5ec=_0x5e698e['c1Prime'],_0x52c340=_0x5e698e[_0x396554(0x4de)];}else _0x4eb5ec=_0x34cf9c,_0x52c340=[];let _0x9d7247=this[_0x396554(0x505)];_0x4eb5ec[_0x396554(0x123)](_0x4736c5=>{const _0x597259=_0x396554;let _0x759cae;if(_0x9d7247[_0x597259(0x2af)]){const _0x12e993=this['_transformService'][_0x597259(0x131)](_0x4736c5,_0x9d7247);if(!_0x20a4af[_0x597259(0x4f7)](_0x12e993))throw _0x12e993['error'];_0x759cae=_0x12e993['c1Prime'],_0x9d7247=_0x12e993[_0x597259(0xaf)];}else _0x759cae=_0x4736c5;this[_0x597259(0x107)](_0x759cae);}),this['_acknowledgedAwaitingChangeset']&&this[_0x396554(0x2f3)](),this['_awaitingChangeset']&&_0x52c340[_0x396554(0x2af)]&&(_0x52c340[0x0][_0x396554(0x296)]=this['_getCurrentRevision']());let _0x1acceb;if(this[_0x396554(0x1e6)]&&_0x9d7247[_0x396554(0x2af)]!==0x0)_0x1acceb=this[_0x396554(0x474)][_0x396554(0x525)](_0x304f3a,this['unitID'],this[_0x396554(0x3b5)],_0x52c340[0x0],_0x9d7247,this[_0x396554(0x3a6)],void 0x0);else{if(this[_0x396554(0x1e6)]&&_0x9d7247['length']===0x0)_0x52c340[0x0]['baseRev']=this[_0x396554(0x276)](),_0x1acceb=this['_injector'][_0x396554(0x525)](_0x325db6,this[_0x396554(0x534)],this['type'],_0x52c340[0x0],this[_0x396554(0x3a6)]);else{if(_0x9d7247[_0x396554(0x2af)]!==0x0){const _0x15aa3d=this['_injector'][_0x396554(0x525)](_0x4e2638,this[_0x396554(0x534)],this[_0x396554(0x3b5)],_0x9d7247,this[_0x396554(0x3a6)]);_0x15aa3d[_0x396554(0x40d)](),_0x1acceb=_0x15aa3d;}else _0x1acceb=this[_0x396554(0x474)]['createInstance'](_0x203b24,this[_0x396554(0x534)],this[_0x396554(0x3b5)],this[_0x396554(0x3a6)]);}}return _0x1acceb[_0x396554(0x2e4)](),_0x1acceb;}catch(_0x4124e2){return this[_0x396554(0x127)]['error'](_0x396554(0x4d9),'failed\x20to\x20apply\x20missed\x20changesets!',_0x4124e2),this[_0x396554(0x474)][_0x396554(0x525)](_0xb02ff1,this['unitID'],this[_0x396554(0x3b5)],this[_0x396554(0x1e6)],this[_0x396554(0x505)],this[_0x396554(0x3a6)],!0x1);}}['resend'](){const _0x43461b=_0x3965c0;throw new Error(_0x43461b(0x2e1));}['appendMutation'](_0x3ee939){const _0x5a9236=_0x3965c0;return this[_0x5a9236(0x505)]['push'](_0x3ee939),this;}[_0x3965c0(0xfb)](_0x2afa2d){const _0x366bfa=_0x3965c0;return this[_0x366bfa(0x48c)][_0x366bfa(0x25f)](_0x2afa2d),this;}[_0x3965c0(0xea)](_0x53470e){const _0x29c208=_0x3965c0;if(this[_0x29c208(0x1e6)])return this[_0x29c208(0x25c)]=this[_0x29c208(0x1e6)],this['_awaitingChangeset']=null,this;throw new Error(_0x29c208(0x147));}['onRemoteRej'](_0x105e45){const _0x4d641c=_0x3965c0;return this['_onConflict'](!!(_0x105e45!=null&&_0x105e45[_0x4d641c(0x1b4)]));}['onRemoteRetry'](){return this;}[_0x3965c0(0x3c3)](){const _0x252bfb=_0x3965c0;return this['_injector'][_0x252bfb(0x525)](_0x463739,this[_0x252bfb(0x534)],this['type'],this[_0x252bfb(0x1e6)],this[_0x252bfb(0x505)],this[_0x252bfb(0x3a6)]);}['toggleOnline'](){return this;}[_0x3965c0(0xc8)](_0x5f2598){const _0x83eec1=_0x3965c0;return this[_0x83eec1(0x474)][_0x83eec1(0x525)](_0xb02ff1,this[_0x83eec1(0x534)],this['type'],this[_0x83eec1(0x1e6)],this[_0x83eec1(0x505)],this[_0x83eec1(0x3a6)],_0x5f2598);}};_0x59cf44=_0x4b0858([_0x4266f7(0x7,_0x320968[_0x3965c0(0x124)](_0x320968[_0x3965c0(0x527)])),_0x4266f7(0x8,_0x320968[_0x3965c0(0x124)](_0x20a4af['RevisionService'])),_0x4266f7(0x9,_0x320968[_0x3965c0(0x124)](_0x41186c[_0x3965c0(0x24b)])),_0x4266f7(0xa,_0x320968['ILogService']),_0x4266f7(0xb,_0x320968[_0x3965c0(0x32d)]),_0x4266f7(0xc,_0x320968['IUndoRedoService']),_0x4266f7(0xd,_0x20a4af[_0x3965c0(0x1fd)])],_0x59cf44);function _0x4264a1(_0x55f1ca,_0x27dc0d,_0x3df535,_0x5f2630,_0x29ca53,_0x2e9fe7){const _0x25ca0e=_0x3965c0;return _0x5f2630&&_0x29ca53[_0x25ca0e(0x2af)]?_0x55f1ca[_0x25ca0e(0x525)](_0x304f3a,_0x27dc0d,_0x3df535,_0x5f2630,_0x29ca53,_0x2e9fe7,void 0x0):_0x5f2630?_0x55f1ca['createInstance'](_0x325db6,_0x27dc0d,_0x3df535,_0x5f2630,_0x2e9fe7):_0x29ca53[_0x25ca0e(0x2af)]?_0x55f1ca[_0x25ca0e(0x525)](_0x4e2638,_0x27dc0d,_0x3df535,_0x29ca53,_0x2e9fe7):_0x55f1ca[_0x25ca0e(0x525)](_0x203b24,_0x27dc0d,_0x3df535,_0x2e9fe7);}var _0x4db2ac=Object[_0x3965c0(0x3d5)],_0x4f0e6e=Object['getOwnPropertyDescriptor'],_0x372a1c=(_0xfcf9b9,_0x10ab17,_0x301923,_0x262496)=>{const _0x2b3e14=_0x3965c0;for(var _0x4f85ca=_0x262496>0x1?void 0x0:_0x262496?_0x4f0e6e(_0x10ab17,_0x301923):_0x10ab17,_0x461db9=_0xfcf9b9[_0x2b3e14(0x2af)]-0x1,_0x294d9d;_0x461db9>=0x0;_0x461db9--)(_0x294d9d=_0xfcf9b9[_0x461db9])&&(_0x4f85ca=(_0x262496?_0x294d9d(_0x10ab17,_0x301923,_0x4f85ca):_0x294d9d(_0x4f85ca))||_0x4f85ca);return _0x262496&&_0x4f85ca&&_0x4db2ac(_0x10ab17,_0x301923,_0x4f85ca),_0x4f85ca;},_0x395f25=(_0x40b52a,_0x205c39)=>(_0x3bb546,_0x14287d)=>_0x205c39(_0x3bb546,_0x14287d,_0x40b52a);_0x41186c[_0x3965c0(0x407)]=class extends _0x320968['RxDisposable']{constructor(_0x4f51c7,_0x275c8b,_0xafd956,_0x3f2462,_0x1afa17,_0x472b65,_0x888f6c,_0xeb1a03,_0x2ef894,_0x3e467e,_0x417e4a,_0x1ef4a6,_0x4a62cb){const _0x3f186e=_0x3965c0;super(),_0x42c854(this,_0x3f186e(0x44a),new _0x237014[(_0x3f186e(0xa5))](null)),_0x42c854(this,'state$',this[_0x3f186e(0x44a)][_0x3f186e(0x372)]()),_0x42c854(this,_0x3f186e(0x28f)),_0x42c854(this,_0x3f186e(0x12f),!0x1),_0x42c854(this,'_changesetSessionId',''),_0x42c854(this,'_changesetReqId',0x0),_0x42c854(this,_0x3f186e(0x484),this[_0x3f186e(0x1dc)][_0x3f186e(0x30f)](_0x237014['map'](_0xa8660e=>_0xa8660e?_0xa8660e[_0x3f186e(0x307)]:_0x1db420['OFFLINE']),_0x237014[_0x3f186e(0xe5)](0x1))),_0x42c854(this,_0x3f186e(0x17c),!0x1),_0x42c854(this,_0x3f186e(0x120),[]),(this['unitID']=_0x4f51c7,this[_0x3f186e(0x2f4)]=_0x275c8b,this[_0x3f186e(0x349)]=_0xafd956,this[_0x3f186e(0x474)]=_0x3f2462,this[_0x3f186e(0xba)]=_0x1afa17,this[_0x3f186e(0xd7)]=_0x472b65,this['_localeService']=_0x888f6c,this[_0x3f186e(0x321)]=_0xeb1a03,this['_logService']=_0x2ef894,this[_0x3f186e(0x20c)]=_0x3e467e,this[_0x3f186e(0x314)]=_0x417e4a,this[_0x3f186e(0x153)]=_0x1ef4a6,this[_0x3f186e(0x4e5)]=_0x4a62cb);}get['state'](){const _0x54aaaf=_0x3965c0;return this[_0x54aaaf(0x28f)];}async[_0x3965c0(0x2be)](){const _0x5480ae=_0x3965c0;if(this[_0x5480ae(0x1c4)])throw new Error(_0x5480ae(0x483));await this[_0x5480ae(0x3fd)]();}['pauseCollaboration'](){const _0x265756=_0x3965c0;return this['_collaborationPaused']=!0x0,_0x320968[_0x265756(0x185)](()=>{const _0x3eb009=_0x265756;this[_0x3eb009(0x12f)]=!0x1,this[_0x3eb009(0x292)]();});}['_updateState'](_0x29f497){const _0x4348bb=_0x3965c0;this[_0x4348bb(0x28f)]=_0x29f497,this[_0x4348bb(0x44a)][_0x4348bb(0xa0)](_0x29f497);}async[_0x3965c0(0x3fd)](){const _0x1bc6c0=_0x3965c0;var _0x2f492c;this[_0x1bc6c0(0x351)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x2f492c=this[_0x1bc6c0(0x4e5)])==null||_0x2f492c['editingUnit'](this[_0x1bc6c0(0x534)]),this[_0x1bc6c0(0x219)](this[_0x1bc6c0(0x4e5)][_0x1bc6c0(0xa4)](this[_0x1bc6c0(0x534)])['subscribe'](_0x38e936=>{const _0x88fa92=_0x1bc6c0;this[_0x88fa92(0x127)][_0x88fa92(0x48b)](_0x88fa92(0xbf),_0x88fa92(0x111),_0x38e936),_0x38e936===_0x27bdd6[_0x88fa92(0xb0)]?(this[_0x88fa92(0x314)][_0x88fa92(0x1d3)]({'content':this[_0x88fa92(0xed)]['t'](_0x88fa92(0x448)),'type':_0x396768[_0x88fa92(0x47e)][_0x88fa92(0x522)]}),this[_0x88fa92(0x153)][_0x88fa92(0x3c5)](new _0x4c6d62[(_0x88fa92(0x270))](this[_0x88fa92(0x534)])['id'],!0x1),this[_0x88fa92(0x153)][_0x88fa92(0x4a1)](!0x1)):(this['_permissionService'][_0x88fa92(0x3c5)](new _0x4c6d62['WorkbookEditablePermission'](this[_0x88fa92(0x534)])['id'],!0x0),this[_0x88fa92(0x153)][_0x88fa92(0x4a1)](!0x0));})));let _0x4bbcbb=!0x1;return this['disposeWithMe'](this['session'][_0x1bc6c0(0x215)]['subscribe'](_0x5b23b3=>{const _0x433758=_0x1bc6c0;_0x5b23b3===_0x38d2e3[_0x433758(0x2b8)]?this[_0x433758(0x4b7)](_0x4bbcbb):_0x5b23b3===_0x38d2e3[_0x433758(0x53e)]&&(_0x4bbcbb=!0x0,this[_0x433758(0x528)]());})),this[_0x1bc6c0(0x219)](this['session'][_0x1bc6c0(0x1e9)]['subscribe'](_0x1f3cbd=>{const _0x34aa07=_0x1bc6c0;try{switch(_0x1f3cbd[_0x34aa07(0x54b)]){case _0x20a4af[_0x34aa07(0xbd)][_0x34aa07(0x4e8)]:{this[_0x34aa07(0x278)](_0x20a4af[_0x34aa07(0x4cb)](_0x1f3cbd[_0x34aa07(0x4ea)]));break;}case _0x20a4af['CollaborationEvent']['CHANGESET_ACK']:{this[_0x34aa07(0xff)](_0x1f3cbd['data']);break;}case _0x20a4af[_0x34aa07(0xbd)][_0x34aa07(0x2ef)]:{this[_0x34aa07(0x28c)]();break;}case _0x20a4af[_0x34aa07(0xbd)]['CHANGESET_SHOULD_RETRY']:{this[_0x34aa07(0x1e5)](_0x1f3cbd['data']);break;}case _0x20a4af[_0x34aa07(0xbd)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x34aa07(0x37f)](_0x1f3cbd['data'][_0x34aa07(0x169)]['map'](_0x2b4c79=>_0x20a4af['parseProtocolChangeset'](_0x2b4c79)));break;}case _0x20a4af['CollaborationEvent'][_0x34aa07(0x40c)]:this[_0x34aa07(0x28c)]({'isPermissionRej':!0x0});}}catch(_0x43c7bf){throw console[_0x34aa07(0x2c0)](_0x34aa07(0x3ac),_0x43c7bf),_0x43c7bf;}})),this[_0x1bc6c0(0x28f)];}[_0x3965c0(0x33f)](){const _0xf457c5=_0x3965c0;this[_0xf457c5(0x17c)]=!0x1;}['_lockTransition'](){const _0x4fb432=_0x3965c0;if(this[_0x4fb432(0x17c)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x4fb432(0x17c)]=!0x0;}[_0x3965c0(0x1f6)](_0x35706a){const _0x5e158f=_0x3965c0;this[_0x5e158f(0x466)](),this['_updateState'](this['_state'][_0x5e158f(0x280)](_0x35706a)),this['_unlockTransition']();}[_0x3965c0(0x278)](_0xae3651){const _0x50f772=_0x3965c0;if(!(_0xae3651[_0x50f772(0x274)]<=this['_revisionService'][_0x50f772(0x52f)](this[_0x50f772(0x534)]))){if(this[_0x50f772(0x12f)]){this['_remoteChangesetQueue']['push'](_0xae3651);return;}this[_0x50f772(0x1a4)](_0xae3651);}}[_0x3965c0(0x292)](){const _0x44e390=_0x3965c0;this[_0x44e390(0x120)][_0x44e390(0x123)](_0x5ac000=>this[_0x44e390(0x1a4)](_0x5ac000)),this[_0x44e390(0x120)]=[];}[_0x3965c0(0x1a4)](_0x4bc4a0){const _0x1d214f=_0x3965c0,_0x4d5596=this[_0x1d214f(0xd7)][_0x1d214f(0x233)]['fetchThroughInterceptors'](this[_0x1d214f(0xd7)][_0x1d214f(0x233)][_0x1d214f(0x49d)]()[_0x1d214f(0x44d)])(_0x4bc4a0[_0x1d214f(0x543)],null)||_0x4bc4a0['mutations'],_0xff74d3={..._0x4bc4a0,'mutations':_0x4d5596};this[_0x1d214f(0x466)](),this[_0x1d214f(0x351)](this['_state'][_0x1d214f(0xfb)](_0xff74d3)),this[_0x1d214f(0x33f)]();}[_0x3965c0(0xff)](_0x4886e4){const _0x55a307=_0x3965c0;this[_0x55a307(0x466)](),this[_0x55a307(0x351)](this['_state'][_0x55a307(0xea)](_0x4886e4)),this['_unlockTransition']();}[_0x3965c0(0x28c)](_0x39acd6){const _0x4681ea=_0x3965c0;this[_0x4681ea(0x466)](),this[_0x4681ea(0x351)](this[_0x4681ea(0x28f)][_0x4681ea(0x515)](_0x39acd6)),this[_0x4681ea(0x33f)]();}['_onRemoteRetry'](_0x1af7df){const _0x156fab=_0x3965c0;this[_0x156fab(0x466)](),this[_0x156fab(0x351)](this[_0x156fab(0x28f)][_0x156fab(0x102)](_0x1af7df)),this[_0x156fab(0x33f)]();}['_onFetchMissResult'](_0x18ec2a){const _0x199328=_0x3965c0;if(!(this[_0x199328(0x28f)]instanceof _0x59cf44))throw new TypeError(_0x199328(0x2ba));const _0x5ba441=_0x18ec2a[_0x199328(0x3dc)](_0x283d49=>{const _0x30104f=_0x199328,_0xfb1cc6=this[_0x30104f(0xd7)][_0x30104f(0x233)][_0x30104f(0xf2)](this[_0x30104f(0xd7)][_0x30104f(0x233)][_0x30104f(0x49d)]()[_0x30104f(0x44d)])(_0x283d49[_0x30104f(0x543)],null)||_0x283d49['mutations'];return{..._0x283d49,'mutations':_0xfb1cc6};});this[_0x199328(0x466)](),this[_0x199328(0x351)](this[_0x199328(0x28f)]['onMissedChangesetFetched'](_0x5ba441)),this[_0x199328(0x33f)]();}[_0x3965c0(0x528)](){const _0x251862=_0x3965c0;this[_0x251862(0x466)](),this[_0x251862(0x351)](this[_0x251862(0x28f)][_0x251862(0x3c3)]()),this[_0x251862(0x33f)]();}[_0x3965c0(0x4b7)](_0x57fa79=!0x1){const _0x42e917=_0x3965c0;this['_lockTransition'](),this[_0x42e917(0x351)](this['_state'][_0x42e917(0x2b6)]()),this[_0x42e917(0x33f)]();const _0x56845e=this[_0x42e917(0x28f)];_0x57fa79&&_0x56845e instanceof _0x203b24&&(this['_lockTransition'](),this['_updateState'](_0x56845e[_0x42e917(0x188)]()),this[_0x42e917(0x33f)]());}async[_0x3965c0(0x325)](){return new Promise(_0x8cc4ad=>{const _0xec2ee0=_0x18dd;this[_0xec2ee0(0x2f4)][_0xec2ee0(0x215)][_0xec2ee0(0x30f)](_0x237014[_0xec2ee0(0x470)](0x1))[_0xec2ee0(0xc2)](async _0x3b59a3=>{_0x8cc4ad(await this['_createInitialStateImpl'](_0x3b59a3===_0x38d2e3['ONLINE']));});});}[_0x3965c0(0x27b)](){const _0x55dbd0=_0x3965c0,_0x2c0bec=this[_0x55dbd0(0x534)];return{'onStateChange':(_0x388bb5,_0x3824b6)=>{const _0x2faea4=_0x55dbd0;if(_0x388bb5!==this[_0x2faea4(0x28f)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x388bb5[_0x2faea4(0x307)]+'\x0aAfter:\x20'+_0x3824b6[_0x2faea4(0x307)]+_0x2faea4(0x1db)+this[_0x2faea4(0x28f)][_0x2faea4(0x307)]);this[_0x2faea4(0x351)](_0x3824b6);},'onSendChangeset':_0xbf8fbe=>{const _0x1cf348=_0x55dbd0;_0xbf8fbe[_0x1cf348(0x55f)]||(_0xbf8fbe[_0x1cf348(0x55f)]=this['_changesetSessionId'],_0xbf8fbe['reqId']=++this[_0x1cf348(0x1d9)]);const _0x27ccd7={'eventID':_0x20a4af[_0x1cf348(0xbd)][_0x1cf348(0x135)],'data':{'unitID':_0xbf8fbe[_0x1cf348(0x534)],'unitType':this['_type'],'changeset':_0xbf8fbe,'memberID':this[_0x1cf348(0x2f4)][_0x1cf348(0x10e)]()}};this[_0x1cf348(0x2f4)][_0x1cf348(0x520)](_0x27ccd7,this['unitID']);},'onMissingChangesets':({from:_0x57a4a9,to:_0x1bb44c})=>{const _0x35672d=_0x55dbd0;this['_logService']['debug'](_0x35672d(0xbf),'fetching\x20missing\x20changesets\x20from\x20'+_0x57a4a9+'\x20to\x20'+_0x1bb44c);const _0x36715b={'eventID':_0x20a4af[_0x35672d(0xbd)]['FETCH_MISSING'],'data':{'unitID':_0x2c0bec,'unitType':this[_0x35672d(0x349)],'from':_0x57a4a9,'to':_0x1bb44c}};this[_0x35672d(0x2f4)]['send'](_0x36715b,this[_0x35672d(0x534)]);}};}async[_0x3965c0(0x2b5)](_0x2d145a){const _0x219ce3=_0x3965c0;var _0x50b402,_0x57a543;const _0x54bf3b=await this['_localCacheService']['loadOfflineData'](this['unitID']),_0x2e7116=(_0x50b402=_0x54bf3b==null?void 0x0:_0x54bf3b['mutations'])!=null?_0x50b402:[],_0x407606=(_0x57a543=_0x54bf3b==null?void 0x0:_0x54bf3b[_0x219ce3(0x1f5)])!=null?_0x57a543:null,_0x531233=!!(_0x407606!=null&&_0x407606['sid'])&&!!(_0x407606!=null&&_0x407606[_0x219ce3(0x398)]);this[_0x219ce3(0x21d)]=_0x531233?_0x407606[_0x219ce3(0x55f)]:_0x573f0c(),this[_0x219ce3(0x1d9)]=_0x531233?_0x407606['reqId']:0x0;const _0x486d85=this[_0x219ce3(0x534)];try{this[_0x219ce3(0x53c)](_0x407606,_0x2e7116);}catch(_0x598083){this['_logService']['error'](_0x598083);}const _0x56c12b=this[_0x219ce3(0x27b)]();if(_0x2d145a){const _0xe5a17=_0x4264a1(this[_0x219ce3(0x474)],_0x486d85,this[_0x219ce3(0x349)],_0x407606,_0x2e7116,_0x56c12b);return _0xe5a17 instanceof _0x4e2638?_0xe5a17[_0x219ce3(0x40d)]():(_0xe5a17 instanceof _0x304f3a||_0xe5a17 instanceof _0x325db6)&&_0xe5a17[_0x219ce3(0xbe)](),_0xe5a17;}return this['_injector'][_0x219ce3(0x525)](_0x463739,_0x486d85,this[_0x219ce3(0x349)],_0x407606,_0x2e7116,_0x56c12b);}['_replayCachedMutations'](_0x162f1f,_0x434c29){const _0x4aeb7c=_0x3965c0;var _0x1e525e,_0x1538a3;const _0x3068e5=this['_compressMutationService'][_0x4aeb7c(0x233)][_0x4aeb7c(0xf2)](this[_0x4aeb7c(0xd7)][_0x4aeb7c(0x233)]['getInterceptPoints']()[_0x4aeb7c(0x44d)]);(_0x1e525e=_0x3068e5((_0x162f1f==null?void 0x0:_0x162f1f['mutations'])||[],null))==null||_0x1e525e['forEach'](_0x1e97e1=>this[_0x4aeb7c(0x20c)][_0x4aeb7c(0x1af)](_0x1e97e1['id'],_0x1e97e1[_0x4aeb7c(0x4d3)])),(_0x1538a3=_0x3068e5(_0x434c29||[],null))==null||_0x1538a3[_0x4aeb7c(0x123)](_0x3a4d77=>this['_commandService']['executeCommand'](_0x3a4d77['id'],_0x3a4d77[_0x4aeb7c(0x4d3)]));}},_0x41186c[_0x3965c0(0x407)]=_0x372a1c([_0x395f25(0x3,_0x320968[_0x3965c0(0x124)](_0x320968['Injector'])),_0x395f25(0x4,_0x320968[_0x3965c0(0x124)](_0x41186c[_0x3965c0(0x24b)])),_0x395f25(0x5,_0x320968['Inject'](_0x20a4af[_0x3965c0(0x343)])),_0x395f25(0x6,_0x320968[_0x3965c0(0x124)](_0x320968[_0x3965c0(0xee)])),_0x395f25(0x7,_0x320968[_0x3965c0(0x124)](_0x20a4af['RevisionService'])),_0x395f25(0x8,_0x320968['ILogService']),_0x395f25(0x9,_0x320968[_0x3965c0(0x32d)]),_0x395f25(0xa,_0x794d48['IMessageService']),_0x395f25(0xb,_0x320968[_0x3965c0(0x113)]),_0x395f25(0xc,_0x320968[_0x3965c0(0x51e)](_0x16e280))],_0x41186c[_0x3965c0(0x407)]),_0x41186c[_0x3965c0(0xe6)]=class extends _0x41186c[_0x3965c0(0x407)]{constructor(_0x348c00,_0x538e9e,_0x557ebd,_0x4b9bed,_0x118509,_0x90e953,_0x3e6a46,_0x58247b,_0x416382,_0x353464,_0x2844f8,_0x4ef1bd,_0x8f361c,_0x13a267,_0x44fb09,_0x4282ef,_0x5b3f53,_0x4fef87){const _0xefdbe2=_0x3965c0;super(_0x348c00,_0x557ebd,_0x538e9e,_0x4b9bed,_0x118509,_0x90e953,_0x3e6a46,_0x58247b,_0x13a267,_0x44fb09,_0x4282ef,_0x5b3f53,_0x4fef87),this[_0xefdbe2(0x534)]=_0x348c00,this[_0xefdbe2(0x3b5)]=_0x538e9e,this['_docStateChangeManagerService']=_0x416382,this[_0xefdbe2(0x30d)]=_0x353464,this[_0xefdbe2(0x353)]=_0x2844f8,this[_0xefdbe2(0x538)]=_0x4ef1bd,this['_docSyncEditingCollabCursorService']=_0x8f361c;}[_0x3965c0(0x27b)](){const _0x1a8850=_0x3965c0,_0x4f255a=super['_createHandler']();return _0x4f255a[_0x1a8850(0x421)]=_0x335b31=>this[_0x1a8850(0x30d)][_0x1a8850(0x432)](_0x335b31),_0x4f255a[_0x1a8850(0x50f)]=_0x17b22c=>this[_0x1a8850(0x353)][_0x1a8850(0x2b1)](_0x17b22c),_0x4f255a['onTransformSelections']=_0x5b9604=>this[_0x1a8850(0x538)][_0x1a8850(0x507)](_0x5b9604),_0x4f255a[_0x1a8850(0xc0)]=_0x232755=>this[_0x1a8850(0x290)]['syncEditingCollabCursor'](_0x232755),_0x4f255a['onTransformRemoteChangesetByIMECache']=_0x320ce4=>this[_0x1a8850(0x30d)][_0x1a8850(0x471)](_0x320ce4),_0x4f255a['onTransformRemoteChangesetByStateCache']=_0x45456b=>this[_0x1a8850(0x353)][_0x1a8850(0x471)](_0x45456b),_0x4f255a;}async[_0x3965c0(0x3fd)](){const _0x3b7a0f=_0x3965c0,_0x10f500=await super[_0x3b7a0f(0x3fd)]();return this[_0x3b7a0f(0x122)]['docStateChange$'][_0x3b7a0f(0x30f)](_0x237014['takeUntil'](this[_0x3b7a0f(0x547)]))[_0x3b7a0f(0xc2)](_0x2109ac=>{const _0x18abfc=_0x3b7a0f;if(_0x2109ac==null)return;const {unitId:_0x382021,redoState:_0x364796,commandId:_0x4fd262}=_0x2109ac;if(_0x382021!==this[_0x18abfc(0x534)])return;const _0x1315d8={'id':_0x4fd262,'type':_0x320968[_0x18abfc(0x3d6)][_0x18abfc(0x36f)],'params':{'unitId':_0x382021,'actions':_0x364796[_0x18abfc(0xa6)],'textRanges':null}};this[_0x18abfc(0x1f6)](_0x1315d8);}),_0x10f500;}},_0x41186c[_0x3965c0(0xe6)]=_0x372a1c([_0x395f25(0x3,_0x320968[_0x3965c0(0x124)](_0x320968[_0x3965c0(0x527)])),_0x395f25(0x4,_0x320968[_0x3965c0(0x124)](_0x41186c[_0x3965c0(0x24b)])),_0x395f25(0x5,_0x320968[_0x3965c0(0x124)](_0x20a4af[_0x3965c0(0x343)])),_0x395f25(0x6,_0x320968[_0x3965c0(0x124)](_0x320968[_0x3965c0(0xee)])),_0x395f25(0x7,_0x320968['Inject'](_0x20a4af[_0x3965c0(0x3e1)])),_0x395f25(0x8,_0x320968['Inject'](_0x4e3eec[_0x3965c0(0x141)])),_0x395f25(0x9,_0x320968['Inject'](_0x28d983)),_0x395f25(0xa,_0x320968[_0x3965c0(0x124)](_0x4eb33f)),_0x395f25(0xb,_0x320968[_0x3965c0(0x124)](_0x47d292)),_0x395f25(0xc,_0x320968['Inject'](_0x318cdd)),_0x395f25(0xd,_0x320968[_0x3965c0(0x226)]),_0x395f25(0xe,_0x320968[_0x3965c0(0x32d)]),_0x395f25(0xf,_0x794d48['IMessageService']),_0x395f25(0x10,_0x320968['IPermissionService']),_0x395f25(0x11,_0x320968[_0x3965c0(0x51e)](_0x16e280))],_0x41186c[_0x3965c0(0xe6)]),_0x41186c['SheetCollaborationEntity']=class extends _0x41186c[_0x3965c0(0x407)]{constructor(_0x51c5eb,_0x18b4c6,_0x452637,_0xc9e129,_0x29fe3a,_0x1b1280,_0x1df6d0,_0x2e28b1,_0x727c29,_0x2c6011,_0x88758e,_0x1fff7b,_0x4d8646,_0x2bf3ec){const _0x330b7b=_0x3965c0;super(_0x51c5eb,_0x452637,_0x18b4c6,_0xc9e129,_0x29fe3a,_0x1b1280,_0x1df6d0,_0x2e28b1,_0x2c6011,_0x88758e,_0x1fff7b,_0x4d8646,_0x2bf3ec),this[_0x330b7b(0x534)]=_0x51c5eb,this[_0x330b7b(0x3b5)]=_0x18b4c6,this['_sheetTransformSelectionsService']=_0x727c29;}[_0x3965c0(0x27b)](){const _0x396bc0=_0x3965c0,_0x505337=super[_0x396bc0(0x27b)]();return _0x505337[_0x396bc0(0x27a)]=_0x5cbc9c=>this[_0x396bc0(0x1be)]['transformSelections'](_0x5cbc9c),_0x505337;}async[_0x3965c0(0x3fd)](){const _0x215874=_0x3965c0,_0x14ddbb=await super[_0x215874(0x3fd)]();return this[_0x215874(0x219)](this[_0x215874(0x20c)][_0x215874(0x26d)]((_0x37ef31,_0x16c86e)=>{const _0x5c00b4=_0x215874;if(_0x37ef31[_0x5c00b4(0x3b5)]!==_0x320968[_0x5c00b4(0x3d6)][_0x5c00b4(0x36f)]||_0x16c86e!=null&&_0x16c86e[_0x5c00b4(0x22a)]||_0x16c86e!=null&&_0x16c86e[_0x5c00b4(0x42a)])return;const _0x2138ed=_0x37ef31['params'];if((_0x2138ed==null?void 0x0:_0x2138ed[_0x5c00b4(0x2a5)])!==this[_0x5c00b4(0x534)])return;const _0x43b023=_0x37ef31,_0x524c3c=this[_0x5c00b4(0xd7)][_0x5c00b4(0x233)][_0x5c00b4(0xf2)](this['_compressMutationService'][_0x5c00b4(0x233)][_0x5c00b4(0x49d)]()[_0x5c00b4(0xe7)])([_0x43b023],null)||[_0x43b023];this[_0x5c00b4(0x1f6)](_0x524c3c[0x0]);})),_0x14ddbb;}},_0x41186c[_0x3965c0(0x47b)]=_0x372a1c([_0x395f25(0x3,_0x320968[_0x3965c0(0x124)](_0x320968['Injector'])),_0x395f25(0x4,_0x320968[_0x3965c0(0x124)](_0x41186c[_0x3965c0(0x24b)])),_0x395f25(0x5,_0x320968['Inject'](_0x20a4af[_0x3965c0(0x343)])),_0x395f25(0x6,_0x320968['Inject'](_0x320968[_0x3965c0(0xee)])),_0x395f25(0x7,_0x320968[_0x3965c0(0x124)](_0x20a4af[_0x3965c0(0x3e1)])),_0x395f25(0x8,_0x320968[_0x3965c0(0x124)](_0x61405b)),_0x395f25(0x9,_0x320968[_0x3965c0(0x226)]),_0x395f25(0xa,_0x320968[_0x3965c0(0x32d)]),_0x395f25(0xb,_0x794d48[_0x3965c0(0x29d)]),_0x395f25(0xc,_0x320968['IPermissionService']),_0x395f25(0xd,_0x320968[_0x3965c0(0x51e)](_0x16e280))],_0x41186c[_0x3965c0(0x47b)]);var _0x3810d8=Object[_0x3965c0(0x3d5)],_0x1dbe90=Object[_0x3965c0(0x406)],_0x59e467=(_0x4aba32,_0x392f90,_0x268012,_0x5f0de3)=>{const _0x4cafde=_0x3965c0;for(var _0x109ec9=_0x5f0de3>0x1?void 0x0:_0x5f0de3?_0x1dbe90(_0x392f90,_0x268012):_0x392f90,_0x485e84=_0x4aba32[_0x4cafde(0x2af)]-0x1,_0x25a6b7;_0x485e84>=0x0;_0x485e84--)(_0x25a6b7=_0x4aba32[_0x485e84])&&(_0x109ec9=(_0x5f0de3?_0x25a6b7(_0x392f90,_0x268012,_0x109ec9):_0x25a6b7(_0x109ec9))||_0x109ec9);return _0x5f0de3&&_0x109ec9&&_0x3810d8(_0x392f90,_0x268012,_0x109ec9),_0x109ec9;},_0xa2b02e=(_0x4d0f34,_0x5d362f)=>(_0x430f35,_0x227233)=>_0x5d362f(_0x430f35,_0x227233,_0x4d0f34);_0x41186c['CollaborationController']=class extends _0x320968[_0x3965c0(0x1ff)]{constructor(_0x166326,_0x857750,_0x2a77ed){const _0x3f9a54=_0x3965c0;super(),_0x42c854(this,'_entities',new Map()),_0x42c854(this,_0x3f9a54(0x2d0),new _0x237014['Subject']()),(this['_injector']=_0x166326,this[_0x3f9a54(0x245)]=_0x857750,this[_0x3f9a54(0x27e)]=_0x2a77ed,this['_init']());}[_0x3965c0(0x41f)](){const _0x1beae0=_0x3965c0;super[_0x1beae0(0x41f)](),this['_entities'][_0x1beae0(0x123)](_0x4be97c=>_0x4be97c[_0x1beae0(0x41f)]()),this[_0x1beae0(0x310)][_0x1beae0(0x49b)]();}[_0x3965c0(0x43e)](_0x1a191c){const _0x5010f9=_0x3965c0;var _0x12c900;return(_0x12c900=this['_entities'][_0x5010f9(0x159)](_0x1a191c))!=null?_0x12c900:null;}['getCollabEntity$'](_0x4427c4){const _0x4603f0=_0x3965c0,_0x13ef22=this['getCollabEntity'](_0x4427c4);return _0x13ef22?_0x237014['of'](_0x13ef22):this[_0x4603f0(0x2d0)]['pipe'](_0x1aca11[_0x4603f0(0x179)](_0x10a0c1=>_0x10a0c1['unitID']===_0x4427c4));}[_0x3965c0(0x3fd)](){const _0x23b8b3=_0x3965c0;this[_0x23b8b3(0x27e)][_0x23b8b3(0x52d)](_0x320968['UniverInstanceType'][_0x23b8b3(0x45d)])[_0x23b8b3(0x30f)](_0x237014[_0x23b8b3(0x2ea)](this[_0x23b8b3(0x547)]),_0x1aca11[_0x23b8b3(0x473)](0x10))[_0x23b8b3(0xc2)](async _0xaef4f=>{const _0x219d91=_0x23b8b3,_0x279a1f=_0xaef4f[_0x219d91(0x104)](),_0x447f02=await this['_startCollaboration'](_0x279a1f,_0x22ab58[_0x219d91(0x45d)]);this[_0x219d91(0x310)][_0x219d91(0x238)](_0x279a1f,_0x447f02);}),this[_0x23b8b3(0x27e)]['getTypeOfUnitAdded$'](_0x320968[_0x23b8b3(0x248)][_0x23b8b3(0x164)])[_0x23b8b3(0x30f)](_0x237014[_0x23b8b3(0x2ea)](this[_0x23b8b3(0x547)]),_0x1aca11[_0x23b8b3(0x473)](0x10))[_0x23b8b3(0x30f)](_0x1aca11[_0x23b8b3(0x179)](_0x365818=>!_0x365818[_0x23b8b3(0x104)]()[_0x23b8b3(0x336)]('__')))['subscribe'](async _0x4008fb=>{const _0x3bd811=_0x23b8b3,_0xb26d99=_0x4008fb[_0x3bd811(0x104)](),_0x5755c9=await this[_0x3bd811(0xbb)](_0xb26d99,_0x22ab58['UNIVER_DOC']);this['_entities'][_0x3bd811(0x238)](_0xb26d99,_0x5755c9);}),_0x237014[_0x23b8b3(0x4fc)](this[_0x23b8b3(0x27e)][_0x23b8b3(0x381)](_0x320968[_0x23b8b3(0x248)][_0x23b8b3(0x45d)]),this[_0x23b8b3(0x27e)][_0x23b8b3(0x381)](_0x320968[_0x23b8b3(0x248)][_0x23b8b3(0x164)]))[_0x23b8b3(0x30f)](_0x237014[_0x23b8b3(0x2ea)](this[_0x23b8b3(0x547)]))['subscribe'](_0x10314d=>{const _0x3e2199=_0x23b8b3,_0x556628=_0x10314d[_0x3e2199(0x104)](),_0xb7fb25=this[_0x3e2199(0x310)][_0x3e2199(0x159)](_0x556628);_0xb7fb25&&(_0xb7fb25[_0x3e2199(0x41f)](),this[_0x3e2199(0x310)]['delete'](_0x556628));});}async[_0x3965c0(0xbb)](_0x3e4783,_0x5d6be9){const _0x2aee08=_0x3965c0,_0x5e04af=await this[_0x2aee08(0x245)][_0x2aee08(0x435)](_0x3e4783),_0x10093f=this[_0x2aee08(0x474)][_0x2aee08(0x525)](this[_0x2aee08(0x15b)](_0x5d6be9),_0x3e4783,_0x5d6be9,_0x5e04af);return await _0x10093f[_0x2aee08(0x2be)](),this[_0x2aee08(0x2d0)][_0x2aee08(0xa0)](_0x10093f),_0x10093f;}[_0x3965c0(0x15b)](_0xdc9e51){const _0x82142d=_0x3965c0;switch(_0xdc9e51){case _0x22ab58['UNIVER_DOC']:return _0x41186c[_0x82142d(0xe6)];case _0x22ab58[_0x82142d(0x45d)]:return _0x41186c[_0x82142d(0x47b)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0xdc9e51);}}},_0x41186c[_0x3965c0(0x234)]=_0x59e467([_0xa2b02e(0x0,_0x320968[_0x3965c0(0x124)](_0x320968[_0x3965c0(0x527)])),_0xa2b02e(0x1,_0x320968[_0x3965c0(0x124)](_0x41186c[_0x3965c0(0x38b)])),_0xa2b02e(0x2,_0x320968[_0x3965c0(0x447)])],_0x41186c[_0x3965c0(0x234)]);const _0x23ec57=[_0x3965c0(0x442),_0x3965c0(0x2fa),_0x3965c0(0x26a),_0x3965c0(0x52c),_0x3965c0(0x4ab),_0x3965c0(0x32a)];class _0x3956c9 extends _0x320968[_0x3965c0(0x2de)]{constructor(){const _0x3c6887=_0x3965c0;super(...arguments),_0x42c854(this,_0x3c6887(0x3d2),new Map()),_0x42c854(this,_0x3c6887(0x2eb),0x0);}[_0x3965c0(0x365)](_0x5a58e4){const _0x285a82=_0x3965c0;if(this['_assignedColors'][_0x285a82(0x4e6)](_0x5a58e4))return this[_0x285a82(0x3d2)][_0x285a82(0x159)](_0x5a58e4);const _0x53d07f=_0x23ec57[this[_0x285a82(0x2eb)]];return this['_colorIndex']=(this[_0x285a82(0x2eb)]+0x1)%_0x23ec57[_0x285a82(0x2af)],this[_0x285a82(0x3d2)]['set'](_0x5a58e4,_0x53d07f),_0x53d07f;}}var _0x16674f=Object[_0x3965c0(0x3d5)],_0x5d2604=Object[_0x3965c0(0x406)],_0x58a6b0=(_0x3b7632,_0x50765a,_0x3b85d7,_0xb240ac)=>{const _0x2eb305=_0x3965c0;for(var _0x572c27=_0xb240ac>0x1?void 0x0:_0xb240ac?_0x5d2604(_0x50765a,_0x3b85d7):_0x50765a,_0x267a4a=_0x3b7632[_0x2eb305(0x2af)]-0x1,_0x4ff382;_0x267a4a>=0x0;_0x267a4a--)(_0x4ff382=_0x3b7632[_0x267a4a])&&(_0x572c27=(_0xb240ac?_0x4ff382(_0x50765a,_0x3b85d7,_0x572c27):_0x4ff382(_0x572c27))||_0x572c27);return _0xb240ac&&_0x572c27&&_0x16674f(_0x50765a,_0x3b85d7,_0x572c27),_0x572c27;},_0x4f71cf=(_0x58a06a,_0x2257c8)=>(_0x3880f8,_0x489c7c)=>_0x2257c8(_0x3880f8,_0x489c7c,_0x58a06a);const _0x8fe9b5=0x12c,_0x5c9af7=0x64;let _0x4c938e=class extends _0x320968[_0x3965c0(0x1ff)]{constructor(_0x5caf5c,_0x439195,_0xbee6d,_0x1f7522,_0x28af69,_0x33ed24,_0x189986,_0x5a60e2,_0xe635f9){const _0x798a28=_0x3965c0;super(),_0x42c854(this,_0x798a28(0x36b),!0x1),_0x42c854(this,_0x798a28(0x3fd),!0x1),_0x42c854(this,_0x798a28(0x3c2),new _0x237014[(_0x798a28(0xa5))](new Map())),_0x42c854(this,'cursorInfo$',this['_cursorInfo$'][_0x798a28(0x372)]()),_0x42c854(this,_0x798a28(0xc9),new _0x237014[(_0x798a28(0xa5))]([])),_0x42c854(this,'roomMembers$',this[_0x798a28(0xc9)][_0x798a28(0x30f)](_0x237014[_0x798a28(0x156)](_0x8fe9b5))),_0x42c854(this,'_updateLocalCursor',_0x320968[_0x798a28(0x4ff)](_0x24c81f=>{const _0x4ef77a=_0x798a28,_0x44be1f={'eventID':_0x20a4af[_0x4ef77a(0xbd)][_0x4ef77a(0x4ca)],'data':{'unitID':this[_0x4ef77a(0x534)],'memberID':this[_0x4ef77a(0x395)][_0x4ef77a(0x10e)](),'selection':_0x5be53e(_0x24c81f)}};this[_0x4ef77a(0x395)][_0x4ef77a(0x520)](_0x44be1f,this[_0x4ef77a(0x534)]);},_0x5c9af7)),(this[_0x798a28(0x534)]=_0x5caf5c,this[_0x798a28(0x395)]=_0x439195,this[_0x798a28(0x474)]=_0xbee6d,this[_0x798a28(0x2cc)]=_0x1f7522,this['_memberService']=_0x28af69,this[_0x798a28(0x51d)]=_0x33ed24,this['_transformService']=_0x189986,this[_0x798a28(0x27e)]=_0x5a60e2,this[_0x798a28(0x20c)]=_0xe635f9);}get[_0x3965c0(0x11f)](){const _0x26fa77=_0x3965c0;return this[_0x26fa77(0x3c2)]['getValue']();}get[_0x3965c0(0x16b)](){const _0x53d3e7=_0x3965c0;return this[_0x53d3e7(0xc9)][_0x53d3e7(0x4d8)]();}[_0x3965c0(0x41f)](){const _0x44b8ff=_0x3965c0;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this[_0x44b8ff(0x3c2)][_0x44b8ff(0x1eb)](),this[_0x44b8ff(0xc9)][_0x44b8ff(0xa0)]([]),this[_0x44b8ff(0xc9)]['complete']();}[_0x3965c0(0x2be)](){const _0x1d70b5=_0x3965c0;this['_init']||(this['_init']=!0x0,this['_session'][_0x1d70b5(0x215)]['pipe'](_0x237014[_0x1d70b5(0x2ea)](this[_0x1d70b5(0x547)]))[_0x1d70b5(0xc2)](_0x11c0a3=>{const _0x4240e4=_0x1d70b5;_0x11c0a3===_0x38d2e3['ONLINE']?this['_toggleOnline']():this[_0x4240e4(0x528)]();}),this[_0x1d70b5(0x395)][_0x1d70b5(0x1e9)]['pipe'](_0x237014[_0x1d70b5(0x2ea)](this[_0x1d70b5(0x547)]))[_0x1d70b5(0xc2)](_0x3c44a2=>{const _0x1f5adc=_0x1d70b5,_0xaabc18=_0x3c44a2[_0x1f5adc(0x54b)];_0xaabc18===_0x20a4af['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x1f5adc(0x4a0)](_0x3c44a2),_0xaabc18===_0x20a4af[_0x1f5adc(0xbd)][_0x1f5adc(0x1bb)]&&this['_onCursorDelete'](_0x3c44a2);}),this[_0x1d70b5(0x219)](this[_0x1d70b5(0x20c)]['onCommandExecuted'](_0x2cb2f3=>{const _0x4163ac=_0x1d70b5,_0x19f51b=_0x2cb2f3['params'];_0x19f51b!=null&&this[_0x4163ac(0x36b)]&&_0x2cb2f3['id']===_0x4ca436[_0x4163ac(0x282)]['id']&&_0x19f51b[_0x4163ac(0x2a5)]===this['unitID']&&_0x19f51b['isEditing']===!0x1&&_0x19f51b[_0x4163ac(0x168)][_0x4163ac(0x2af)]>0x0&&this[_0x4163ac(0x2bb)](_0x19f51b[_0x4163ac(0x168)]);})),this[_0x1d70b5(0x51d)][_0x1d70b5(0x411)][_0x1d70b5(0x30f)](_0x237014[_0x1d70b5(0x2ea)](this[_0x1d70b5(0x547)]))['subscribe'](_0x484a81=>{const _0x2b1f99=_0x1d70b5;if((_0x484a81==null?void 0x0:_0x484a81['unitID'])!==this[_0x2b1f99(0x534)])return;const _0x4e5035={'eventID':_0x20a4af[_0x2b1f99(0xbd)]['UPDATE_CURSOR'],'data':_0x484a81};this[_0x2b1f99(0x4a0)](_0x4e5035);}),this[_0x1d70b5(0x219)](this[_0x1d70b5(0x20c)]['onCommandExecuted'](_0x2d84e1=>{const _0x246749=_0x1d70b5;if(_0x2d84e1['params']==null)return;const _0x2f563f=_0x2d84e1['params'];if(_0x2d84e1['id']!==_0x4ca436[_0x246749(0x533)]['id']||_0x2f563f[_0x246749(0x2a5)]!==this[_0x246749(0x534)])return;const _0x2d0495={'id':_0x246749(0x320),'params':_0x2f563f},_0x2c2996=this[_0x246749(0x11f)];for(const [_0x1d379d,_0x17cd58]of _0x2c2996){const _0x247e81={'id':_0x246749(0x320),'params':{'unitId':this[_0x246749(0x534)],'actions':null,'textRanges':_0x17cd58[_0x246749(0x168)]}},_0x102417=this['_transformService']['transformMutation'](_0x2d0495,_0x247e81,!0x1);if(_0x20a4af[_0x246749(0x3ae)](_0x102417))throw _0x102417['error'];_0x2c2996['set'](_0x1d379d,{..._0x17cd58,'ranges':_0x102417['m2Prime'][_0x246749(0x4d3)][_0x246749(0x2c8)]});}queueMicrotask(()=>{const _0xc54b89=_0x246749;this[_0xc54b89(0x3c2)][_0xc54b89(0xa0)](_0x2c2996);});})));}[_0x3965c0(0x4a0)](_0x5c41d4){const _0x1132b5=_0x3965c0;var _0x17eb39,_0xde0215;const {memberID:_0x2d4b61,selection:_0x2c33aa}=_0x5c41d4[_0x1132b5(0x4ea)],_0x2b3994=_0x1c6f5e(_0x2c33aa),_0x5e7712=(_0xde0215=(_0x17eb39=this[_0x1132b5(0x437)][_0x1132b5(0x40e)](this[_0x1132b5(0x534)],_0x2d4b61))==null?void 0x0:_0x17eb39['name'])!=null?_0xde0215:_0x1132b5(0x2c4),_0x29e8a5={'color':this[_0x1132b5(0x2cc)]['assignAColorForMemberID'](_0x2d4b61),'name':_0x5e7712,'ranges':_0x2b3994},_0x50b7e6=this[_0x1132b5(0x11f)];_0x50b7e6[_0x1132b5(0x238)](_0x2d4b61,_0x29e8a5),this[_0x1132b5(0x3c2)][_0x1132b5(0xa0)](_0x50b7e6);}[_0x3965c0(0x3f1)](_0x4147eb){const _0x27f474=_0x3965c0,{memberID:_0x5dba91}=_0x4147eb[_0x27f474(0x4ea)],_0x3077bf=this['cursorInfo'];_0x3077bf[_0x27f474(0xac)](_0x5dba91),this['_cursorInfo$'][_0x27f474(0xa0)](_0x3077bf);}['_toggleOnline'](){const _0x5ace9f=_0x3965c0;var _0x289888;if(this[_0x5ace9f(0x36b)]=!0x0,((_0x289888=this[_0x5ace9f(0x27e)][_0x5ace9f(0x3f0)]())==null?void 0x0:_0x289888['getUnitId']())!==this[_0x5ace9f(0x534)])return;const _0x5d845f=this[_0x5ace9f(0x474)]['get'](_0x4ca436[_0x5ace9f(0x397)])['getDocRanges']();Array['isArray'](_0x5d845f)&&_0x5d845f[_0x5ace9f(0x2af)]>0x0&&this['_updateLocalCursor'](_0x5d845f);}['_toggleOffline'](){const _0x4b4d73=_0x3965c0;this[_0x4b4d73(0x36b)]=!0x1;}};_0x4c938e=_0x58a6b0([_0x4f71cf(0x2,_0x320968[_0x3965c0(0x124)](_0x320968['Injector'])),_0x4f71cf(0x3,_0x320968[_0x3965c0(0x124)](_0x3956c9)),_0x4f71cf(0x4,_0x320968[_0x3965c0(0x124)](_0x41186c[_0x3965c0(0x3bd)])),_0x4f71cf(0x5,_0x320968['Inject'](_0x318cdd)),_0x4f71cf(0x6,_0x20a4af['ITransformService']),_0x4f71cf(0x7,_0x320968['IUniverInstanceService']),_0x4f71cf(0x8,_0x320968[_0x3965c0(0x32d)])],_0x4c938e);var _0x5eade1=Object[_0x3965c0(0x3d5)],_0x540daa=Object[_0x3965c0(0x406)],_0x524825=(_0x3704b2,_0x5e1444,_0x58c50d,_0x3bdc78)=>{const _0x2d212a=_0x3965c0;for(var _0x1a288b=_0x3bdc78>0x1?void 0x0:_0x3bdc78?_0x540daa(_0x5e1444,_0x58c50d):_0x5e1444,_0x4646b3=_0x3704b2[_0x2d212a(0x2af)]-0x1,_0x11aa1a;_0x4646b3>=0x0;_0x4646b3--)(_0x11aa1a=_0x3704b2[_0x4646b3])&&(_0x1a288b=(_0x3bdc78?_0x11aa1a(_0x5e1444,_0x58c50d,_0x1a288b):_0x11aa1a(_0x1a288b))||_0x1a288b);return _0x3bdc78&&_0x1a288b&&_0x5eade1(_0x5e1444,_0x58c50d,_0x1a288b),_0x1a288b;},_0x2a89f8=(_0x3c0512,_0x491608)=>(_0x227cb0,_0x5298dd)=>_0x491608(_0x227cb0,_0x5298dd,_0x3c0512);const _0xf0b82b=0x12c,_0x32623e=0x64,_0x29c124=()=>{let _0x1a05b8=[],_0x3fdc53=!0x1;return _0x12c3ef=>{_0x1a05b8['push'](_0x12c3ef),_0x3fdc53||(_0x3fdc53=!0x0,setTimeout(()=>{const _0xeb4f9f=_0x18dd;_0x1a05b8[_0xeb4f9f(0x123)](_0x5954a3=>_0x5954a3()),_0x1a05b8=[],_0x3fdc53=!0x1;}));};};let _0x52a2d4=class extends _0x320968[_0x3965c0(0x1ff)]{constructor(_0x4542d5,_0x52f506,_0x17c42a,_0xe9f44e,_0x1c2b10,_0x5d625d,_0x15118d,_0x6e3da5){const _0xcee3a3=_0x3965c0;super(),_0x42c854(this,_0xcee3a3(0x36b),!0x1),_0x42c854(this,'_init',!0x1),_0x42c854(this,_0xcee3a3(0x3c2),new _0x237014[(_0xcee3a3(0xa5))](new Map())),_0x42c854(this,_0xcee3a3(0x150),this[_0xcee3a3(0x3c2)]['asObservable']()),_0x42c854(this,_0xcee3a3(0xc9),new _0x237014['BehaviorSubject']([])),_0x42c854(this,_0xcee3a3(0x137),this['_roomMembers$']['pipe'](_0x237014[_0xcee3a3(0x156)](_0xf0b82b))),_0x42c854(this,_0xcee3a3(0x2bb),_0x320968[_0xcee3a3(0x4ff)]((_0x2dcb97,_0x35e96d)=>{const _0x16b159=_0xcee3a3,_0x30794f={'eventID':_0x20a4af['CollaborationEvent'][_0x16b159(0x4ca)],'data':{'unitID':this[_0x16b159(0x534)],'memberID':this[_0x16b159(0x395)][_0x16b159(0x10e)](),'selection':_0x3a050f[_0x16b159(0x497)](_0x2dcb97,_0x35e96d[_0x16b159(0x223)])}};this[_0x16b159(0x395)][_0x16b159(0x520)](_0x30794f,this['unitID']);},_0x32623e)),(this[_0xcee3a3(0x534)]=_0x4542d5,this[_0xcee3a3(0x395)]=_0x52f506,this[_0xcee3a3(0x474)]=_0x17c42a,this['_colorAssignService']=_0xe9f44e,this[_0xcee3a3(0x437)]=_0x1c2b10,this['_univerInstanceService']=_0x5d625d,this[_0xcee3a3(0x20c)]=_0x15118d,this['_refRangeService']=_0x6e3da5);}get['cursorInfo'](){const _0x5a3ec4=_0x3965c0;return this[_0x5a3ec4(0x3c2)][_0x5a3ec4(0x4d8)]();}get[_0x3965c0(0x16b)](){const _0x3ed03e=_0x3965c0;return this[_0x3ed03e(0xc9)][_0x3ed03e(0x4d8)]();}['dispose'](){const _0x4198e1=_0x3965c0;super[_0x4198e1(0x41f)](),this[_0x4198e1(0x3c2)][_0x4198e1(0xa0)](new Map()),this['_cursorInfo$'][_0x4198e1(0x1eb)](),this['_roomMembers$']['next']([]),this[_0x4198e1(0xc9)][_0x4198e1(0x1eb)]();}[_0x3965c0(0x2be)](){const _0x371ca6=_0x3965c0;this[_0x371ca6(0x3fd)]||(this[_0x371ca6(0x3fd)]=!0x0,this[_0x371ca6(0x395)][_0x371ca6(0x215)][_0x371ca6(0x30f)](_0x237014[_0x371ca6(0x2ea)](this[_0x371ca6(0x547)]))[_0x371ca6(0xc2)](_0x4ddede=>{const _0x2134cb=_0x371ca6;_0x4ddede===_0x38d2e3[_0x2134cb(0x2b8)]?this[_0x2134cb(0x4b7)]():this['_toggleOffline']();}),this[_0x371ca6(0x395)][_0x371ca6(0x1e9)][_0x371ca6(0x30f)](_0x237014[_0x371ca6(0x2ea)](this[_0x371ca6(0x547)]))[_0x371ca6(0xc2)](_0x34114e=>{const _0x1c22d3=_0x371ca6,_0x4af9df=_0x34114e['eventID'];_0x4af9df===_0x20a4af[_0x1c22d3(0xbd)]['UPDATE_CURSOR']&&this[_0x1c22d3(0x4a0)](_0x34114e),_0x4af9df===_0x20a4af[_0x1c22d3(0xbd)][_0x1c22d3(0x1bb)]&&this[_0x1c22d3(0x3f1)](_0x34114e);}),this[_0x371ca6(0x31b)](),this[_0x371ca6(0x219)](this[_0x371ca6(0x20c)][_0x371ca6(0x26d)](_0x438503=>{const _0x237fc1=_0x371ca6;if(this['_online']&&_0x438503['id']===_0x4c6d62[_0x237fc1(0x3bf)]['id']&&_0x438503[_0x237fc1(0x4d3)][_0x237fc1(0x2a5)]===this[_0x237fc1(0x534)]){const _0x127493=_0x438503[_0x237fc1(0x4d3)];this[_0x237fc1(0x2bb)](_0x127493[_0x237fc1(0x22f)],_0x127493['selections'][0x0]);}})));}[_0x3965c0(0x4a0)](_0xa503bf){const _0x138de2=_0x3965c0;var _0x19a122,_0x20eb33;const {memberID:_0x4200bd,selection:_0x1d8b59}=_0xa503bf['data'],{sheetName:_0x74bcea,range:_0x8508b7}=_0x3a050f[_0x138de2(0x15e)](_0x1d8b59),_0x16f036={'name':(_0x20eb33=(_0x19a122=this[_0x138de2(0x437)][_0x138de2(0x40e)](this[_0x138de2(0x534)],_0x4200bd))==null?void 0x0:_0x19a122[_0x138de2(0x424)])!=null?_0x20eb33:'Unknown\x20user','range':this[_0x138de2(0x148)](_0x74bcea,_0x8508b7),'sheetID':_0x74bcea,'color':this['_colorAssignService'][_0x138de2(0x365)](_0x4200bd),'selection':_0x1d8b59},_0x5d43b6=this['cursorInfo'];_0x5d43b6[_0x138de2(0x238)](_0x4200bd,_0x16f036),this[_0x138de2(0x3c2)][_0x138de2(0xa0)](_0x5d43b6);}['_onCursorDelete'](_0x1a07b7){const _0x269dbe=_0x3965c0,{memberID:_0x5c2f67}=_0x1a07b7[_0x269dbe(0x4ea)],_0x5a0017=this[_0x269dbe(0x11f)];_0x5a0017[_0x269dbe(0xac)](_0x5c2f67),this[_0x269dbe(0x3c2)][_0x269dbe(0xa0)](_0x5a0017);}[_0x3965c0(0x148)](_0x535c50,_0x172198){const _0x2671d0=_0x3965c0;var _0x5284ce,_0x453899;const _0x11c261=(_0x453899=(_0x5284ce=this[_0x2671d0(0x27e)][_0x2671d0(0x249)](this[_0x2671d0(0x534)]))==null?void 0x0:_0x5284ce[_0x2671d0(0xc5)](_0x535c50))==null?void 0x0:_0x453899[_0x2671d0(0x324)]();return(_0x11c261==null?void 0x0:_0x11c261[_0x2671d0(0x340)](_0x40dabe=>_0x320968[_0x2671d0(0x26b)][_0x2671d0(0x1a9)](_0x40dabe,_0x172198)))||_0x172198;}[_0x3965c0(0x31b)](){const _0x411704=_0x3965c0,_0x4e4e57=new _0x320968[(_0x411704(0x401))](),_0x44e12d=_0x29c124(),_0x14ceb=()=>{const _0x5dab1f=_0x411704;_0x4e4e57[_0x5dab1f(0x41f)]();const _0x311403=(_0x5bba0a,_0x16c9e3,_0x568883,_0x392579)=>{const _0x2a209b=_0x5dab1f;let _0x1742e2=[];switch(_0x5bba0a['id']){case _0x4c6d62['EffectRefRangId'][_0x2a209b(0x53b)]:{_0x1742e2=_0x4c6d62[_0x2a209b(0xa2)](_0x5bba0a,_0x392579);break;}case _0x4c6d62[_0x2a209b(0x139)][_0x2a209b(0x529)]:{_0x1742e2=_0x4c6d62[_0x2a209b(0x530)](_0x5bba0a,_0x392579);break;}case _0x4c6d62[_0x2a209b(0x139)][_0x2a209b(0x1bd)]:{_0x1742e2=_0x4c6d62['handleInsertCol'](_0x5bba0a,_0x392579);break;}case _0x4c6d62[_0x2a209b(0x139)][_0x2a209b(0x1bc)]:{_0x1742e2=_0x4c6d62[_0x2a209b(0xa9)](_0x5bba0a,_0x392579);break;}case _0x4c6d62['EffectRefRangId'][_0x2a209b(0x3e3)]:{_0x1742e2=_0x4c6d62[_0x2a209b(0x40f)](_0x5bba0a,_0x392579);break;}case _0x4c6d62[_0x2a209b(0x139)]['InsertRowCommandId']:{_0x1742e2=_0x4c6d62[_0x2a209b(0x2ca)](_0x5bba0a,_0x392579);break;}case _0x4c6d62[_0x2a209b(0x139)][_0x2a209b(0x26f)]:{_0x1742e2=_0x4c6d62[_0x2a209b(0x26c)](_0x5bba0a,_0x392579);break;}case _0x4c6d62[_0x2a209b(0x139)]['RemoveColCommandId']:{_0x1742e2=_0x4c6d62['handleIRemoveCol'](_0x5bba0a,_0x392579);break;}case _0x4c6d62[_0x2a209b(0x139)][_0x2a209b(0x161)]:{_0x1742e2=_0x4c6d62[_0x2a209b(0x22d)](_0x5bba0a,_0x392579);break;}}const _0x57d75c=_0x4c6d62[_0x2a209b(0x261)](_0x1742e2,_0x392579),_0x37bad0=this['cursorInfo'][_0x2a209b(0x159)](_0x16c9e3);if(_0x37bad0&&_0x57d75c){const _0x41b86c={..._0x37bad0,'range':_0x57d75c};this[_0x2a209b(0x11f)][_0x2a209b(0x238)](_0x16c9e3,_0x41b86c),_0x44e12d(()=>{const _0x32ebd4=_0x2a209b,_0x5e3ba2=this[_0x32ebd4(0x1b6)][_0x32ebd4(0x2d5)](_0x57d75c,_0x5e9e8e=>(_0x5e3ba2[_0x32ebd4(0x41f)](),_0x311403(_0x5e9e8e,_0x16c9e3,_0x568883,_0x57d75c)));_0x4e4e57[_0x32ebd4(0x413)](_0x5e3ba2);});}return{'redos':[],'undos':[]};};this[_0x5dab1f(0x11f)]['forEach']((_0x3cabbb,_0x286173)=>{const _0x23fe07=_0x5dab1f,{range:_0x2421bb,sheetID:_0x188da5}=_0x3cabbb,_0x3cab40=this[_0x23fe07(0x1b6)][_0x23fe07(0x2d5)](_0x2421bb,_0x2fce3d=>(_0x3cab40[_0x23fe07(0x41f)](),_0x311403(_0x2fce3d,_0x286173,_0x188da5,_0x2421bb)));_0x4e4e57['add'](_0x3cab40);});};this[_0x411704(0x219)](_0x320968[_0x411704(0x185)](this[_0x411704(0x3c2)][_0x411704(0xc2)](()=>{_0x14ceb();})));}[_0x3965c0(0x4b7)](){const _0x14c3f4=_0x3965c0;var _0x30a515,_0x3fb33b;if(this[_0x14c3f4(0x36b)]=!0x0,((_0x30a515=this[_0x14c3f4(0x27e)][_0x14c3f4(0x3f0)]())==null?void 0x0:_0x30a515[_0x14c3f4(0x104)]())!==this[_0x14c3f4(0x534)])return;const _0xe57bad=(_0x3fb33b=this[_0x14c3f4(0x474)][_0x14c3f4(0x159)](_0x4c6d62[_0x14c3f4(0x300)])[_0x14c3f4(0x255)]())==null?void 0x0:_0x3fb33b[0x0],_0x35ab45=this[_0x14c3f4(0x27e)][_0x14c3f4(0x436)](_0x320968[_0x14c3f4(0x248)]['UNIVER_SHEET'])[_0x14c3f4(0x305)]();_0xe57bad&&_0x35ab45&&this[_0x14c3f4(0x2bb)](_0x35ab45['getSheetId'](),_0xe57bad);}[_0x3965c0(0x528)](){const _0x59e95f=_0x3965c0;this[_0x59e95f(0x36b)]=!0x1;}};_0x52a2d4=_0x524825([_0x2a89f8(0x2,_0x320968[_0x3965c0(0x124)](_0x320968[_0x3965c0(0x527)])),_0x2a89f8(0x3,_0x320968[_0x3965c0(0x124)](_0x3956c9)),_0x2a89f8(0x4,_0x320968[_0x3965c0(0x124)](_0x41186c[_0x3965c0(0x3bd)])),_0x2a89f8(0x5,_0x320968[_0x3965c0(0x447)]),_0x2a89f8(0x6,_0x320968['ICommandService']),_0x2a89f8(0x7,_0x320968[_0x3965c0(0x124)](_0x4c6d62[_0x3965c0(0x316)]))],_0x52a2d4);var _0x513b67=Object[_0x3965c0(0x3d5)],_0x54ddef=Object['getOwnPropertyDescriptor'],_0x1e6e84=(_0x501efe,_0x433fbc,_0x2b758b,_0x3dd139)=>{const _0x4d9375=_0x3965c0;for(var _0x488d57=_0x3dd139>0x1?void 0x0:_0x3dd139?_0x54ddef(_0x433fbc,_0x2b758b):_0x433fbc,_0x5640ba=_0x501efe[_0x4d9375(0x2af)]-0x1,_0xdb98be;_0x5640ba>=0x0;_0x5640ba--)(_0xdb98be=_0x501efe[_0x5640ba])&&(_0x488d57=(_0x3dd139?_0xdb98be(_0x433fbc,_0x2b758b,_0x488d57):_0xdb98be(_0x488d57))||_0x488d57);return _0x3dd139&&_0x488d57&&_0x513b67(_0x433fbc,_0x2b758b,_0x488d57),_0x488d57;},_0x104e44=(_0x2a8a3b,_0x1d0415)=>(_0xce8e84,_0x31366e)=>_0x1d0415(_0xce8e84,_0x31366e,_0x2a8a3b);let _0x2f877e=class extends _0x320968[_0x3965c0(0x1ff)]{constructor(_0x3ba846,_0x537955,_0x46fed5){const _0xe145e7=_0x3965c0;super(),_0x42c854(this,'_entities',new Map()),_0x42c854(this,'_entityInit$',new _0x237014['Subject']()),(this[_0xe145e7(0x27e)]=_0x3ba846,this[_0xe145e7(0x474)]=_0x537955,this[_0xe145e7(0x245)]=_0x46fed5,this[_0xe145e7(0x3fd)]());}[_0x3965c0(0x41f)](){const _0xc55785=_0x3965c0;super[_0xc55785(0x41f)](),this[_0xc55785(0x2d0)][_0xc55785(0x1eb)](),this['_entities'][_0xc55785(0x123)](_0x2886e7=>_0x2886e7[_0xc55785(0x41f)]());}[_0x3965c0(0x197)](_0x145b43){const _0x194590=_0x3965c0;return this[_0x194590(0x310)][_0x194590(0x4e6)](_0x145b43)?this[_0x194590(0x310)]['get'](_0x145b43)['cursorInfo$']:this[_0x194590(0x2d0)][_0x194590(0x30f)](_0x237014[_0x194590(0x179)](_0x511a10=>_0x511a10[_0x194590(0x534)]===_0x145b43),_0x237014[_0x194590(0x21a)](_0x2a45aa=>_0x2a45aa['cursorInfo$']));}['_init'](){const _0x1fb4a7=_0x3965c0;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x320968['UniverInstanceType'][_0x1fb4a7(0x45d)])[_0x1fb4a7(0x30f)](_0x237014[_0x1fb4a7(0x2ea)](this[_0x1fb4a7(0x547)]))[_0x1fb4a7(0xc2)](async _0x5c6a0d=>{const _0x59c41e=_0x1fb4a7,_0x1695b7=_0x5c6a0d['getUnitId'](),_0x4a0dcd=await this[_0x59c41e(0x29a)](_0x1695b7);this[_0x59c41e(0x2d0)][_0x59c41e(0xa0)](_0x4a0dcd),this[_0x59c41e(0x310)]['set'](_0x1695b7,_0x4a0dcd);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x320968[_0x1fb4a7(0x248)][_0x1fb4a7(0x164)])['pipe'](_0x237014['takeUntil'](this[_0x1fb4a7(0x547)]))[_0x1fb4a7(0x30f)](_0x237014[_0x1fb4a7(0x179)](_0x3b0e9b=>!_0x3b0e9b[_0x1fb4a7(0x104)]()['startsWith']('__')))[_0x1fb4a7(0xc2)](async _0xed47f9=>{const _0x3a30b0=_0x1fb4a7,_0x341e7f=_0xed47f9[_0x3a30b0(0x104)](),_0x331787=await this[_0x3a30b0(0x556)](_0x341e7f);this[_0x3a30b0(0x2d0)]['next'](_0x331787),this[_0x3a30b0(0x310)][_0x3a30b0(0x238)](_0x341e7f,_0x331787);}),_0x237014[_0x1fb4a7(0x4fc)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x320968[_0x1fb4a7(0x248)]['UNIVER_DOC']),this['_univerInstanceService'][_0x1fb4a7(0x381)](_0x320968[_0x1fb4a7(0x248)]['UNIVER_SHEET']))[_0x1fb4a7(0x30f)](_0x237014[_0x1fb4a7(0x2ea)](this[_0x1fb4a7(0x547)]))[_0x1fb4a7(0xc2)](_0x256bf9=>{const _0x8a5dd=_0x1fb4a7,_0x23d5af=_0x256bf9['getUnitId'](),_0x4abe76=this['_entities'][_0x8a5dd(0x159)](_0x23d5af);_0x4abe76&&(_0x4abe76[_0x8a5dd(0x41f)](),this[_0x8a5dd(0x310)][_0x8a5dd(0xac)](_0x23d5af));});}async['_startSheetCollabCursor'](_0x345b19){const _0x1654be=_0x3965c0,_0x1a133a=await this[_0x1654be(0x245)][_0x1654be(0x435)](_0x345b19),_0x2d20aa=this[_0x1654be(0x474)]['createInstance'](_0x52a2d4,_0x345b19,_0x1a133a);return _0x2d20aa['init'](),_0x2d20aa;}async[_0x3965c0(0x556)](_0x74d01){const _0x38e99a=_0x3965c0,_0x1d8cfb=await this['_collabSessionService']['requireSession'](_0x74d01),_0x57650=this[_0x38e99a(0x474)][_0x38e99a(0x525)](_0x4c938e,_0x74d01,_0x1d8cfb);return _0x57650['init'](),_0x57650;}};_0x2f877e=_0x1e6e84([_0x104e44(0x0,_0x320968[_0x3965c0(0x447)]),_0x104e44(0x1,_0x320968[_0x3965c0(0x124)](_0x320968[_0x3965c0(0x527)])),_0x104e44(0x2,_0x320968[_0x3965c0(0x124)](_0x41186c[_0x3965c0(0x38b)]))],_0x2f877e);const _0x2535fb=0x14,_0x415cf1=0xc8,_0x2707c5=0x4,_0x51d33f=0x5;function _0x40b394(_0x1e49a4,_0x2645bb){const _0x14f196=_0x3965c0;let {radius:_0x207b3b,width:_0x27af99,height:_0x1864c2}=_0x2645bb;_0x207b3b=_0x207b3b!=null?_0x207b3b:0x0,_0x27af99=_0x27af99!=null?_0x27af99:0x1e,_0x1864c2=_0x1864c2!=null?_0x1864c2:0x1e;let _0x3c450f=0x0,_0x52f158=0x0,_0x1b4228=0x0;_0x3c450f=_0x52f158=_0x1b4228=Math[_0x14f196(0x273)](_0x207b3b,_0x27af99/0x2,_0x1864c2/0x2),_0x1e49a4[_0x14f196(0x38d)](),_0x1e49a4[_0x14f196(0x16a)](_0x3c450f,0x0),_0x1e49a4['lineTo'](_0x27af99-_0x52f158,0x0),_0x1e49a4[_0x14f196(0xc6)](_0x27af99-_0x52f158,_0x52f158,_0x52f158,Math['PI']*0x3/0x2,0x0,!0x1),_0x1e49a4[_0x14f196(0xb6)](_0x27af99,_0x1864c2-_0x1b4228),_0x1e49a4['arc'](_0x27af99-_0x1b4228,_0x1864c2-_0x1b4228,_0x1b4228,0x0,Math['PI']/0x2,!0x1),_0x1e49a4[_0x14f196(0xb6)](0x0,_0x1864c2),_0x1e49a4['lineTo'](0x0,_0x3c450f),_0x1e49a4[_0x14f196(0xc6)](_0x3c450f,_0x3c450f,_0x3c450f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1e49a4[_0x14f196(0x4e2)](),_0x2645bb['fill']&&(_0x1e49a4[_0x14f196(0x4bb)](),_0x1e49a4[_0x14f196(0x374)]=_0x2645bb[_0x14f196(0x428)],_0x2645bb['fillRule']==='evenodd'?_0x1e49a4[_0x14f196(0x428)](_0x14f196(0x542)):_0x1e49a4[_0x14f196(0x428)](),_0x1e49a4[_0x14f196(0x476)]());}class _0x161a87 extends _0x4f6c5a[_0x3965c0(0x2dc)]{constructor(_0x563f4a,_0x32719b){const _0x236f46=_0x3965c0;super(_0x563f4a,_0x32719b),_0x42c854(this,_0x236f46(0x1d6)),_0x42c854(this,_0x236f46(0x517)),(this[_0x236f46(0x1d6)]=_0x32719b==null?void 0x0:_0x32719b['color'],this['text']=_0x32719b==null?void 0x0:_0x32719b['text']);}static[_0x3965c0(0xd9)](_0x496942,_0xf25508){const _0x1c5ec3=_0x3965c0,{text:_0x3834d1,color:_0xd08327}=_0xf25508;_0x496942[_0x1c5ec3(0x4bb)](),_0x496942[_0x1c5ec3(0x44e)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x3a26c4=_0x496942[_0x1c5ec3(0xe3)](_0x3834d1)['width'],_0x323fde=Math[_0x1c5ec3(0x273)](_0x3a26c4+0x2*_0x2707c5,_0x415cf1);_0x40b394(_0x496942,{'height':_0x2535fb,'radius':0x4,'width':_0x323fde,'fill':_0xd08327,'evented':!0x1}),_0x496942['fillStyle']=_0x1c5ec3(0x2f6);const _0x36a7b4=_0x2707c5,_0x3fb96f=_0x2535fb-_0x51d33f,_0x49ada9=_0x415cf1-0x2*_0x2707c5;if(_0x3a26c4>_0x49ada9){let _0x465434='',_0x4227f6=0x0;for(const _0x43cdd9 of _0x3834d1){const _0x30884f=_0x496942[_0x1c5ec3(0xe3)](_0x43cdd9)[_0x1c5ec3(0x263)];if(_0x4227f6+_0x30884f<=_0x49ada9-_0x496942[_0x1c5ec3(0xe3)]('...')['width'])_0x465434+=_0x43cdd9,_0x4227f6+=_0x30884f;else{_0x465434+='...';break;}}_0x496942[_0x1c5ec3(0x312)](_0x465434,_0x36a7b4,_0x3fb96f);}else _0x496942[_0x1c5ec3(0x312)](_0x3834d1,_0x36a7b4,_0x3fb96f);_0x496942[_0x1c5ec3(0x476)]();}['_draw'](_0x7c2552){const _0x338d79=_0x3965c0;_0x161a87[_0x338d79(0xd9)](_0x7c2552,this);}}const _0x23e1de=_0x3965c0(0x285),_0x3f6e24=_0x3965c0(0x554),_0x13720d=_0x3965c0(0x1b3),_0x4fe538=0x6,_0x237cdd=1.5,_0x24006a=0x4,_0x48a3b0=1.5,_0x513dd8='rgba(255,\x20255,\x20255,\x200.01)';class _0x4fafd9{constructor(_0x50aae2,_0x268a71,_0x314450,_0x2cab39){const _0x406e09=_0x3965c0;_0x42c854(this,'_shapes',[]),_0x42c854(this,_0x406e09(0x275),null),_0x42c854(this,_0x406e09(0x379),null),_0x42c854(this,_0x406e09(0x53f),null),_0x42c854(this,_0x406e09(0x191),null),_0x42c854(this,_0x406e09(0xb9),null),(this[_0x406e09(0x472)]=_0x50aae2,this[_0x406e09(0x258)]=_0x268a71,this[_0x406e09(0x37c)]=_0x314450,this[_0x406e09(0x309)]=_0x2cab39,this[_0x406e09(0x2d1)]());}set[_0x3965c0(0x31a)](_0x500b09){const _0x1298b4=_0x3965c0;_0x500b09?(this[_0x1298b4(0x53f)]&&this[_0x1298b4(0x53f)][_0x1298b4(0x48f)](),this[_0x1298b4(0x379)]&&this[_0x1298b4(0x379)][_0x1298b4(0x1d3)]()):(this[_0x1298b4(0x53f)]&&this['_anchorDot'][_0x1298b4(0x1d3)](),this['_textBubble']&&this[_0x1298b4(0x379)][_0x1298b4(0x48f)]());}['dispose'](){const _0x2e889d=_0x3965c0;for(const _0x362320 of this['_shapes'])_0x362320[_0x2e889d(0x41f)]();this[_0x2e889d(0x379)]&&this['_textBubble'][_0x2e889d(0x41f)](),this[_0x2e889d(0x53f)]&&this[_0x2e889d(0x53f)][_0x2e889d(0x41f)](),this[_0x2e889d(0x275)]&&this[_0x2e889d(0x275)][_0x2e889d(0x41f)](),this[_0x2e889d(0xb9)]&&this[_0x2e889d(0xb9)]();}['_render'](){const _0x18fbb9=_0x3965c0;var _0x161da3;const {_docSkeleton:_0x288feb,_document:_0xc780b6}=this,{color:_0x1f40c9,name:_0x133785,ranges:_0x4d8b56}=this[_0x18fbb9(0x472)],_0x4f45f8=_0xc780b6[_0x18fbb9(0x43f)](),{docsLeft:_0x332b89,docsTop:_0xbb1ab2}=_0x4f45f8,_0x56c376=new _0x4e3eec[(_0x18fbb9(0x33d))](_0x4f45f8,_0x288feb);for(const {startOffset:_0x2de98e,endOffset:_0x35f2d4,rangeType:_0x334f7f,segmentId:_0x5a03f4,segmentPage:_0x11f711,collapsed:_0x50790,isActive:_0x2866c0}of _0x4d8b56){const _0x1ab1ed=_0x288feb[_0x18fbb9(0xa8)](_0x2de98e,!0x0,_0x5a03f4,_0x11f711);let _0x5c46c4=_0x288feb[_0x18fbb9(0xa8)](_0x35f2d4,!0x0,_0x5a03f4,_0x11f711);if(_0x5c46c4==null&&(_0x5c46c4=_0x288feb[_0x18fbb9(0xa8)](_0x35f2d4-0x1,!0x1,_0x5a03f4,_0x11f711)),_0x2866c0){const {contentBoxPointGroup:_0x3d9a23}=_0x56c376[_0x18fbb9(0x203)](_0x5c46c4,_0x5c46c4);if(_0x3d9a23[_0x18fbb9(0x2af)]===0x0)continue;this['_drawAnchor'](_0x1f40c9,_0x3d9a23,_0x332b89,_0xbb1ab2,_0x133785),this[_0x18fbb9(0xb9)]=this[_0x18fbb9(0x3e4)]();}if(!_0x50790&&_0x1ab1ed&&_0x5c46c4){if(_0x334f7f===_0x320968[_0x18fbb9(0x15a)][_0x18fbb9(0x518)]){const _0x240d7b=new _0x4e3eec['NodePositionConvertToRectRange'](_0x4f45f8,_0x288feb),{pointGroup:_0x548ecc}=(_0x161da3=_0x240d7b[_0x18fbb9(0x203)](_0x1ab1ed,_0x5c46c4))!=null?_0x161da3:{};if(_0x548ecc==null||_0x548ecc[_0x18fbb9(0x2af)]===0x0)continue;this[_0x18fbb9(0x21e)](_0x1f40c9,_0x548ecc,_0x332b89,_0xbb1ab2);}else{const {borderBoxPointGroup:_0x506f09}=_0x56c376[_0x18fbb9(0x203)](_0x1ab1ed,_0x5c46c4);if(_0x506f09[_0x18fbb9(0x2af)]===0x0)continue;this['_drawTextRange'](_0x1f40c9,_0x506f09,_0x332b89,_0xbb1ab2);}}}}[_0x3965c0(0xda)](_0xed5c27,_0x193e63,_0x1c59e1,_0x389a09,_0x448795){const _0x1c0608=_0x3965c0,_0x28934c=this['_getAnchorBounding'](_0x193e63),{left:_0x52c7ae,top:_0x17d6b3,height:_0x504d25}=_0x28934c,_0xb1006=this['_getScale'](),_0xb7e508=_0x48a3b0/_0xb1006,_0xeb5fa8=new _0x4f6c5a[(_0x1c0608(0x32c))](_0x23e1de+_0x320968[_0x1c0608(0xb3)][_0x1c0608(0x39a)](_0x4fe538),{'left':_0x52c7ae+_0x1c59e1-_0xb7e508,'top':_0x17d6b3+_0x389a09,'height':_0x504d25,'width':_0x237cdd,'fill':_0xed5c27||_0x4f6c5a[_0x1c0608(0x3f9)](_0x320968[_0x1c0608(0x209)][_0x1c0608(0x235)],0x0),'strokeWidth':_0xb7e508,'stroke':_0x513dd8,'evented':!0x0});this['_anchor']=_0xeb5fa8,this[_0x1c0608(0x258)][_0x1c0608(0x293)](_0xeb5fa8,_0x4e3eec[_0x1c0608(0x1a8)]);const _0x3855be=new _0x4f6c5a[(_0x1c0608(0x32c))](_0x23e1de+_0x320968[_0x1c0608(0xb3)]['generateRandomId'](_0x4fe538),{'left':_0x52c7ae+_0x1c59e1-_0xb7e508,'top':_0x17d6b3+_0x389a09-_0x24006a/0x2,'height':_0x24006a,'width':_0x24006a,'fill':_0xed5c27||_0x4f6c5a['getColor'](_0x320968[_0x1c0608(0x209)][_0x1c0608(0x235)],0x0),'strokeWidth':0x0,'stroke':_0xed5c27||_0x4f6c5a[_0x1c0608(0x3f9)](_0x320968[_0x1c0608(0x209)][_0x1c0608(0x235)],0x0),'evented':!0x1});this[_0x1c0608(0x53f)]=_0x3855be,this['_scene'][_0x1c0608(0x293)](_0x3855be,_0x4e3eec[_0x1c0608(0x1a8)]);const _0x504be7=new _0x161a87(_0x23e1de+_0x320968['Tools'][_0x1c0608(0x39a)](_0x4fe538),{'left':_0x52c7ae+_0x1c59e1-_0xb7e508,'top':_0x17d6b3+_0x389a09-_0x2535fb,'text':_0x448795,'color':_0xed5c27});this[_0x1c0608(0x379)]=_0x504be7,this['_scene'][_0x1c0608(0x293)](_0x504be7,_0x4e3eec[_0x1c0608(0x1a8)]),this[_0x1c0608(0x31a)]=!0x1;}[_0x3965c0(0x3e4)](){const _0x323b8d=_0x3965c0,_0x5783d0=this[_0x323b8d(0x275)][_0x323b8d(0x297)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x343ad6=this['_anchor'][_0x323b8d(0x350)][_0x323b8d(0xc3)](()=>{const _0x17fa3c=_0x323b8d;this['_hideTimer']&&clearTimeout(this[_0x17fa3c(0x191)]),this[_0x17fa3c(0x191)]=setTimeout(()=>{const _0x519ed0=_0x17fa3c;this[_0x519ed0(0x31a)]=!0x1;},0x7d0);});return()=>{const _0x429ef3=_0x323b8d;_0x5783d0['unsubscribe'](),_0x343ad6[_0x429ef3(0x475)]();};}['_drawTextRange'](_0x1a3d86,_0x42543b,_0x2cef80,_0x560adb){const _0x173086=_0x3965c0,_0x116c6a=new _0x320968[(_0x173086(0x31f))](_0x1a3d86)[_0x173086(0x1ce)](0.2)['toRgbString'](),_0x20f7f3=new _0x4f6c5a[(_0x173086(0x390))](_0x3f6e24+_0x320968[_0x173086(0xb3)][_0x173086(0x39a)](_0x4fe538),{'pointsGroup':_0x42543b,'fill':_0x116c6a||_0x4f6c5a[_0x173086(0x3f9)](_0x320968[_0x173086(0x209)][_0x173086(0x235)],0.2),'left':_0x2cef80,'top':_0x560adb,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x173086(0x25f)](_0x20f7f3),this[_0x173086(0x258)][_0x173086(0x293)](_0x20f7f3,_0x4e3eec[_0x173086(0x1a8)]);}[_0x3965c0(0x21e)](_0x5a42fe,_0x2cbf43,_0x3ea717,_0x5af7c4){const _0x415217=_0x3965c0,_0x48363f=new _0x320968[(_0x415217(0x31f))](_0x5a42fe)[_0x415217(0x1ce)](0.2)[_0x415217(0x115)](),_0x194355=new _0x4f6c5a[(_0x415217(0x390))](_0x13720d+_0x320968[_0x415217(0xb3)][_0x415217(0x39a)](_0x4fe538),{'pointsGroup':_0x2cbf43,'fill':_0x48363f||_0x4f6c5a[_0x415217(0x3f9)](_0x320968[_0x415217(0x209)][_0x415217(0x235)],0.2),'left':_0x3ea717,'top':_0x5af7c4,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x415217(0x25f)](_0x194355),this[_0x415217(0x258)][_0x415217(0x293)](_0x194355,_0x4e3eec[_0x415217(0x1a8)]);}['_getAnchorBounding'](_0x5bfae2){const _0x20a255=_0x5bfae2[0x0],_0x4cb6d5=_0x20a255[0x0],_0x131857=_0x20a255[0x2],{x:_0x21d0ea,y:_0x4ee58d}=_0x4cb6d5,{x:_0x186513,y:_0x598e3d}=_0x131857;return{'left':_0x21d0ea,'top':_0x4ee58d,'width':_0x186513-_0x21d0ea,'height':_0x598e3d-_0x4ee58d};}['_getScale'](){const _0x7a54df=_0x3965c0,{scaleX:_0x17d9f1,scaleY:_0x534e70}=this[_0x7a54df(0x258)]['getAncestorScale']();return Math[_0x7a54df(0x360)](_0x17d9f1,_0x534e70);}}var _0x34b9f8=Object[_0x3965c0(0x3d5)],_0x3191f4=Object[_0x3965c0(0x406)],_0x1aa9ee=(_0x152371,_0x3807b7,_0x510b62,_0x439b28)=>{const _0x51232d=_0x3965c0;for(var _0x1e86f7=_0x439b28>0x1?void 0x0:_0x439b28?_0x3191f4(_0x3807b7,_0x510b62):_0x3807b7,_0x420402=_0x152371[_0x51232d(0x2af)]-0x1,_0x382c90;_0x420402>=0x0;_0x420402--)(_0x382c90=_0x152371[_0x420402])&&(_0x1e86f7=(_0x439b28?_0x382c90(_0x3807b7,_0x510b62,_0x1e86f7):_0x382c90(_0x1e86f7))||_0x1e86f7);return _0x439b28&&_0x1e86f7&&_0x34b9f8(_0x3807b7,_0x510b62,_0x1e86f7),_0x1e86f7;},_0x349669=(_0x4ddaa1,_0x1eebb9)=>(_0x4b1c97,_0x40ffa3)=>_0x1eebb9(_0x4b1c97,_0x40ffa3,_0x4ddaa1);let _0x483055=class extends _0x320968[_0x3965c0(0x1ff)]{constructor(_0x1e4c48,_0x395fd1,_0x2c1ae7,_0x49df0c,_0x51bd79){const _0x1adb05=_0x3965c0;super(),_0x42c854(this,_0x1adb05(0x558),[]),_0x42c854(this,'_cursors',[]),(this[_0x1adb05(0x237)]=_0x1e4c48,this[_0x1adb05(0x54e)]=_0x395fd1,this[_0x1adb05(0x3ad)]=_0x2c1ae7,this[_0x1adb05(0x20c)]=_0x49df0c,this[_0x1adb05(0x4d1)]=_0x51bd79,this['_init']());}[_0x3965c0(0x3fd)](){const _0x45ae04=_0x3965c0,_0x39f0f0=this[_0x45ae04(0x237)][_0x45ae04(0x2a5)],_0x30dec9=this[_0x45ae04(0x54e)];this['disposeWithMe'](_0x237014[_0x45ae04(0x294)]([this[_0x45ae04(0x3ad)][_0x45ae04(0x197)](_0x39f0f0),this[_0x45ae04(0x4d1)]['currentTheme$']])[_0x45ae04(0x30f)](_0x1aca11['map'](([_0xb6c9d2,_0x59d885])=>({'skeleton':_0x30dec9[_0x45ae04(0x33c)](),'cursors':[..._0xb6c9d2[_0x45ae04(0x3fb)]()][_0x45ae04(0xe2)](_0xf85a=>({..._0xf85a,'color':_0x59d885[_0xf85a['color']]}))})))[_0x45ae04(0xc2)](_0x14a861=>{const _0x4d6edf=_0x45ae04;if(this[_0x4d6edf(0x3b9)](),_0x14a861){const {skeleton:_0x27dd69,cursors:_0x5eb0db}=_0x14a861;this[_0x4d6edf(0x28e)](_0x27dd69,_0x5eb0db);}})),this[_0x45ae04(0xca)](),this[_0x45ae04(0x3ab)]();}[_0x3965c0(0x28e)](_0x541cba,_0x44afd5){const _0x484392=_0x3965c0,{scene:_0x249cbf,mainComponent:_0xe1c7c2}=this[_0x484392(0x237)],_0x3b52b0=_0x44afd5[_0x484392(0x3dc)](_0x6b164c=>new _0x4fafd9(_0x6b164c,_0x249cbf,_0x541cba,_0xe1c7c2));this[_0x484392(0x558)]=_0x3b52b0,this[_0x484392(0x450)]=_0x44afd5;}[_0x3965c0(0x3bb)](){const _0x11fd1c=_0x3965c0;this[_0x11fd1c(0x3b9)]();const {scene:_0x55b6f1,mainComponent:_0x22fe83}=this[_0x11fd1c(0x237)],_0x438aff=this[_0x11fd1c(0x54e)][_0x11fd1c(0x33c)](),_0x4f67aa=this[_0x11fd1c(0x450)][_0x11fd1c(0x3dc)](_0x3bc811=>new _0x4fafd9(_0x3bc811,_0x55b6f1,_0x438aff,_0x22fe83));this[_0x11fd1c(0x558)]=_0x4f67aa;}[_0x3965c0(0x3b9)](){const _0x5c0f4d=_0x3965c0;this[_0x5c0f4d(0x558)]['forEach'](_0x12ec4f=>_0x12ec4f[_0x5c0f4d(0x41f)]()),this['_cursorShapes']=[];}[_0x3965c0(0x3ab)](){const _0x4ef0dd=_0x3965c0,_0x26b812=[_0x4e3eec['SetDocZoomRatioOperation']['id']];this[_0x4ef0dd(0x219)](this[_0x4ef0dd(0x20c)][_0x4ef0dd(0x26d)](_0x4e60e7=>{const _0x5c186c=_0x4ef0dd;_0x26b812['includes'](_0x4e60e7['id'])&&_0x4e60e7[_0x5c186c(0x4d3)][_0x5c186c(0x2a5)]===this[_0x5c186c(0x237)][_0x5c186c(0x2a5)]&&this[_0x5c186c(0x3bb)]();}));}[_0x3965c0(0xca)](){const _0x2559e3=_0x3965c0;this[_0x2559e3(0x219)](_0x320968[_0x2559e3(0x2bf)](this[_0x2559e3(0x237)][_0x2559e3(0x3b3)][_0x2559e3(0x4e9)])['pipe'](_0x1aca11[_0x2559e3(0x179)](_0x354ead=>_0x354ead[_0x2559e3(0x3b5)]===_0x4f6c5a[_0x2559e3(0x503)][_0x2559e3(0x2b2)]),_0x1aca11[_0x2559e3(0x20d)](0x10))[_0x2559e3(0xc2)](()=>{const _0x475905=_0x2559e3;this[_0x475905(0x3bb)]();}));}};_0x483055=_0x1aa9ee([_0x349669(0x1,_0x320968[_0x3965c0(0x124)](_0x4ca436[_0x3965c0(0x34f)])),_0x349669(0x2,_0x320968['Inject'](_0x2f877e)),_0x349669(0x3,_0x320968[_0x3965c0(0x32d)]),_0x349669(0x4,_0x320968[_0x3965c0(0x124)](_0x320968[_0x3965c0(0x47a)]))],_0x483055);const _0x39090b=0x1,_0x4f50b3=1.5;class _0xd73e1 extends _0x4f6c5a[_0x3965c0(0x2dc)]{constructor(_0xd58a8d,_0x228577){const _0x55c014=_0x3965c0;super(_0xd58a8d,_0x228577),_0x42c854(this,_0x55c014(0x504)),_0x42c854(this,_0x55c014(0x4c2),!0x1),_0x42c854(this,_0x55c014(0x480)),_0x42c854(this,_0x55c014(0x1f7),''),_0x42c854(this,_0x55c014(0x42d),_0x55c014(0x2e5)),_0x42c854(this,_0x55c014(0x341)),(_0x228577&&this[_0x55c014(0x10f)](_0x228577),this[_0x55c014(0x297)]['subscribeEvent'](()=>this[_0x55c014(0x10f)]({'hovered':!0x0})),this['onPointerLeave$'][_0x55c014(0xc3)](()=>this[_0x55c014(0x10f)]({'hovered':!0x1})));}['setShapeProps'](_0x45a375){const _0x24ce28=_0x3965c0;var _0x290681,_0x3931ef,_0x559f47,_0x5c1a67,_0x5bef63,_0x3e47a4;this[_0x24ce28(0x504)]=(_0x290681=_0x45a375[_0x24ce28(0x1d6)])!=null?_0x290681:this['_color'],this[_0x24ce28(0x4c2)]=(_0x3931ef=_0x45a375[_0x24ce28(0x2c2)])!=null?_0x3931ef:this[_0x24ce28(0x4c2)],this[_0x24ce28(0x480)]=(_0x559f47=_0x45a375[_0x24ce28(0x223)])!=null?_0x559f47:this[_0x24ce28(0x480)],this[_0x24ce28(0x1f7)]=(_0x5c1a67=_0x45a375[_0x24ce28(0x424)])!=null?_0x5c1a67:this[_0x24ce28(0x1f7)],this['_labelPosition']=(_0x5bef63=_0x45a375[_0x24ce28(0x4cd)])!=null?_0x5bef63:this[_0x24ce28(0x42d)],this['_backgroundColor']=(_0x3e47a4=_0x45a375[_0x24ce28(0xd0)])!=null?_0x3e47a4:this[_0x24ce28(0x341)],this[_0x24ce28(0x36a)]({'width':_0x45a375[_0x24ce28(0x263)],'height':_0x45a375['height']});}[_0x3965c0(0xe4)](_0x1105cc){const _0x593027=_0x3965c0,{row:_0xbe9868,column:_0x476c97}=_0x1105cc;if(_0xbe9868>=this[_0x593027(0x480)][_0x593027(0xce)]&&_0xbe9868<=this[_0x593027(0x480)][_0x593027(0x3ec)]&&_0x476c97>=this['_range'][_0x593027(0x37e)]&&_0x476c97<=this['_range'][_0x593027(0x1e1)]){this[_0x593027(0x10f)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x3965c0(0x1f9)](_0x388333){return!0x1;}[_0x3965c0(0xd8)](_0x4edbdc){const _0x4e92ba=_0x3965c0;_0x4f6c5a[_0x4e92ba(0x32c)]['drawWith'](_0x4edbdc,{'width':this['width'],'height':this[_0x4e92ba(0x3ca)],'strokeWidth':_0x4f50b3,'stroke':this[_0x4e92ba(0x504)],'evented':!0x1,'fill':this[_0x4e92ba(0x341)]}),this[_0x4e92ba(0x4c2)]&&(_0x4edbdc[_0x4e92ba(0x4bb)](),_0x4edbdc[_0x4e92ba(0x53a)](0x1,0x0,0x0,0x1,this['width'],this[_0x4e92ba(0x42d)]===_0x4e92ba(0x441)?0x0:-_0x2535fb),_0x161a87['drawWith'](_0x4edbdc,{'text':this[_0x4e92ba(0x1f7)],'color':this[_0x4e92ba(0x504)]}),_0x4edbdc[_0x4e92ba(0x476)]());}}var _0x259886=Object[_0x3965c0(0x3d5)],_0xf0fcda=Object['getOwnPropertyDescriptor'],_0x3df4bc=(_0x43e018,_0x2ce89e,_0xce7641,_0x32a58c)=>{const _0x3ba8eb=_0x3965c0;for(var _0x2f1097=_0x32a58c>0x1?void 0x0:_0x32a58c?_0xf0fcda(_0x2ce89e,_0xce7641):_0x2ce89e,_0x22772c=_0x43e018[_0x3ba8eb(0x2af)]-0x1,_0x4d76be;_0x22772c>=0x0;_0x22772c--)(_0x4d76be=_0x43e018[_0x22772c])&&(_0x2f1097=(_0x32a58c?_0x4d76be(_0x2ce89e,_0xce7641,_0x2f1097):_0x4d76be(_0x2f1097))||_0x2f1097);return _0x32a58c&&_0x2f1097&&_0x259886(_0x2ce89e,_0xce7641,_0x2f1097),_0x2f1097;},_0x506a6e=(_0x2f6ecd,_0x1c6bb6)=>(_0x5bc6be,_0x56e145)=>_0x1c6bb6(_0x5bc6be,_0x56e145,_0x2f6ecd);const _0x46ff1f=0x1389;let _0x59193c=class extends _0x320968[_0x3965c0(0x1ff)]{constructor(_0x34d15f,_0x35674d,_0x53072e,_0x5c8184){const _0x18cdde=_0x3965c0;super(),_0x42c854(this,_0x18cdde(0x450),new Set()),_0x42c854(this,'_lastPointer',null),(this[_0x18cdde(0x237)]=_0x34d15f,this[_0x18cdde(0x4a7)]=_0x35674d,this[_0x18cdde(0x3ad)]=_0x53072e,this[_0x18cdde(0x4d1)]=_0x5c8184,this[_0x18cdde(0x3fd)]());}['_init'](){const _0x2b8a62=_0x3965c0;this[_0x2b8a62(0x4a7)][_0x2b8a62(0x108)]['pipe'](_0x1aca11[_0x2b8a62(0x2ea)](this['dispose$']),_0x1aca11[_0x2b8a62(0x21a)](_0x52da9a=>{const _0x2dd919=_0x2b8a62;if(_0x52da9a){const _0x3ac8f6=_0x52da9a['sheetId'];return _0x237014[_0x2dd919(0x294)](this[_0x2dd919(0x3ad)]['getCollabCursors$'](this[_0x2dd919(0x237)][_0x2dd919(0x2a5)]),this[_0x2dd919(0x4d1)][_0x2dd919(0x184)])['pipe'](_0x1aca11[_0x2dd919(0x3dc)](([_0x54a211,_0x5d6408])=>{const _0x3e1dff=new Map();return _0x54a211['forEach']((_0x143356,_0x1e86a4)=>{const _0x477c27=_0x18dd;if(_0x143356[_0x477c27(0x2b3)]===_0x3ac8f6){const _0x1d449e={..._0x143356};_0x1d449e[_0x477c27(0x1d6)]=_0x5d6408[_0x143356[_0x477c27(0x1d6)]],_0x3e1dff['set'](_0x1e86a4,_0x1d449e);}}),{'skeleton':_0x52da9a,'cursors':_0x3e1dff};}));}return _0x237014['of']({'skeleton':null,'cursors':new Map()});}))[_0x2b8a62(0xc2)](({skeleton:_0x3bee06,cursors:_0x4d56ae})=>{const _0x4c14b1=_0x2b8a62;this[_0x4c14b1(0x3b9)](),_0x3bee06&&this[_0x4c14b1(0x28e)](_0x3bee06,_0x4d56ae);}),this['_sheetSkeletonManagerService'][_0x2b8a62(0x108)][_0x2b8a62(0xc2)](_0x1a80bb=>{const _0x1dc978=_0x2b8a62;if(_0x1a80bb==null)return;const {skeleton:_0x374755}=_0x1a80bb,{scene:_0x310fee}=this[_0x1dc978(0x237)];_0x310fee[_0x1dc978(0x4b6)][_0x1dc978(0xc3)](_0x320968[_0x1dc978(0x4ff)](_0x1569c5=>{const _0x28e480=_0x1dc978;var _0x46824a,_0x3c093f;const {offsetX:_0x3389af,offsetY:_0x507e4f}=_0x1569c5,{x:_0x1e3061,y:_0x109402}=_0x310fee[_0x28e480(0x4c5)](_0x4f6c5a[_0x28e480(0x200)][_0x28e480(0x18b)]([_0x3389af,_0x507e4f])),{scaleX:_0x28e47a,scaleY:_0x5165bc}=_0x310fee['getAncestorScale'](),_0x123040=_0x310fee[_0x28e480(0x20f)](_0x2d8ae5[_0x28e480(0x4f9)][_0x28e480(0x166)]),_0x1cd9de=_0x310fee[_0x28e480(0x564)](_0x4f6c5a[_0x28e480(0x200)][_0x28e480(0x18b)]([_0x1e3061,_0x109402]),_0x123040),_0x24b7d5=_0x374755['getCellPositionByOffset'](_0x3389af,_0x507e4f,_0x28e47a,_0x5165bc,_0x1cd9de);((_0x46824a=this[_0x28e480(0x423)])==null?void 0x0:_0x46824a[_0x28e480(0xf3)])===_0x24b7d5[_0x28e480(0xf3)]&&((_0x3c093f=this['_lastPointer'])==null?void 0x0:_0x3c093f[_0x28e480(0xd5)])===_0x24b7d5[_0x28e480(0xd5)]||this['_cursors'][_0x28e480(0x123)](_0x4e5d61=>{_0x4e5d61['onMouseMove'](_0x24b7d5);});},0x64));});}[_0x3965c0(0x28e)](_0x2f0084,_0x1bf94f){const _0x1b6dd7=_0x3965c0;var _0x4d39a7;const _0x4e214a=(_0x4d39a7=this['_sheetSkeletonManagerService'][_0x1b6dd7(0xf1)]())==null?void 0x0:_0x4d39a7[_0x1b6dd7(0x1a1)];if(!_0x4e214a)return;const _0x543e9b=this['_getSheetObject']();if(!_0x543e9b)return;this[_0x1b6dd7(0x450)][_0x1b6dd7(0x123)](_0x4884ec=>{const _0x102e75=_0x1b6dd7;_0x4884ec[_0x102e75(0x463)]();});const {scene:_0x1a8673}=_0x543e9b,_0x47b886=_0x1561f3(Array['from'](_0x1bf94f[_0x1b6dd7(0x3fb)]()))['map'](_0x31dbd1=>{const _0x3cb8c4=_0x1b6dd7,{color:_0x2df709,range:_0x33837f,name:_0x4a9806,selection:_0x1ee75c,sheetID:_0x96983f}=_0x31dbd1,{startColumn:_0x1a81c6,startRow:_0x392a3b,endColumn:_0xb95baa,endRow:_0x4a17e2}=_0x33837f,_0x1e9c00=_0x2d8ae5[_0x3cb8c4(0xa1)](_0x392a3b,_0x1a81c6,_0x1a8673,_0x4e214a),_0x22025a=_0x2d8ae5[_0x3cb8c4(0xa1)](_0x4a17e2,_0xb95baa,_0x1a8673,_0x4e214a),{columnHeaderHeightAndMarginTop:_0x282207}=_0x4e214a,{startX:_0x57ee2a,startY:_0x3c160e}=_0x1e9c00,{endX:_0x9f7664,endY:_0x272929}=_0x22025a,_0x202ebe=_0x9f7664-_0x57ee2a,_0x2ea9df=_0x272929-_0x3c160e,_0x105b9f={'labelPosition':_0x3c160e-_0x282207>=_0x2535fb?_0x3cb8c4(0x2e5):_0x3cb8c4(0x441),'sheetID':_0x96983f,'range':_0x33837f,'color':_0x2df709,'name':_0x4a9806,'selection':_0x1ee75c,'left':_0x57ee2a,'top':_0x3c160e,'width':_0x202ebe,'height':_0x2ea9df,'evented':!0x1,'zIndex':_0x46ff1f};return new _0xd73e1(_0x4a9806,_0x105b9f);});_0x1a8673[_0x1b6dd7(0x2fd)](_0x47b886,_0x39090b),this[_0x1b6dd7(0x450)]=new Set(_0x47b886);}[_0x3965c0(0x3b9)](){const _0xf6cf85=_0x3965c0;var _0x8c8e9d;(_0x8c8e9d=this['_cursors'])==null||_0x8c8e9d[_0xf6cf85(0x123)](_0x2c9a77=>_0x2c9a77[_0xf6cf85(0x41f)]());}['_getSheetObject'](){const _0x143a8b=_0x3965c0;return _0x2d8ae5[_0x143a8b(0xe1)](this[_0x143a8b(0x237)][_0x143a8b(0xe0)],this['_context']);}};_0x59193c=_0x3df4bc([_0x506a6e(0x1,_0x320968[_0x3965c0(0x124)](_0x2d8ae5[_0x3965c0(0x4b8)])),_0x506a6e(0x2,_0x320968[_0x3965c0(0x124)](_0x2f877e)),_0x506a6e(0x3,_0x320968[_0x3965c0(0x124)](_0x320968[_0x3965c0(0x47a)]))],_0x59193c);function _0x1561f3(_0x2b18c7){const _0xc99409=_0x3965c0,_0x4be069=new Map();return _0x2b18c7[_0xc99409(0x123)](_0x4a8c33=>{const _0x17e0b8=_0xc99409;if(_0x4be069['has'](_0x4a8c33[_0x17e0b8(0x502)])){const _0x3a1011=_0x4be069['get'](_0x4a8c33[_0x17e0b8(0x502)]);_0x3a1011[_0x17e0b8(0x424)]+=',\x20'+_0x4a8c33[_0x17e0b8(0x424)];}else _0x4be069[_0x17e0b8(0x238)](_0x4a8c33['selection'],_0x4a8c33);}),Array[_0xc99409(0x1c5)](_0x4be069[_0xc99409(0x3fb)]());}var _0x1823d3=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x2d0268(_0x360e2c){const _0x219ad9=_0x3965c0;return _0x360e2c&&_0x360e2c[_0x219ad9(0x14a)]&&Object[_0x219ad9(0x198)][_0x219ad9(0x2f0)]['call'](_0x360e2c,'default')?_0x360e2c[_0x219ad9(0x4a8)]:_0x360e2c;}var _0x27cd76={'exports':{}},_0x12d3a8={},_0x523cdc=_0x598307,_0xb987ad=Symbol['for'](_0x3965c0(0x208)),_0x4fe131=Symbol['for'](_0x3965c0(0x174)),_0x15c563=Object[_0x3965c0(0x198)][_0x3965c0(0x2f0)],_0x3d2b1a=_0x523cdc[_0x3965c0(0x1e7)]['ReactCurrentOwner'],_0x1dff73={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x11144e(_0x1c6c7f,_0x4406cd,_0x3cd1c1){const _0x440a56=_0x3965c0;var _0x103e09,_0xb62a4c={},_0xffd9bb=null,_0x2e9aa0=null;_0x3cd1c1!==void 0x0&&(_0xffd9bb=''+_0x3cd1c1),_0x4406cd['key']!==void 0x0&&(_0xffd9bb=''+_0x4406cd[_0x440a56(0x384)]),_0x4406cd[_0x440a56(0x555)]!==void 0x0&&(_0x2e9aa0=_0x4406cd['ref']);for(_0x103e09 in _0x4406cd)_0x15c563['call'](_0x4406cd,_0x103e09)&&!_0x1dff73['hasOwnProperty'](_0x103e09)&&(_0xb62a4c[_0x103e09]=_0x4406cd[_0x103e09]);if(_0x1c6c7f&&_0x1c6c7f[_0x440a56(0x118)]){for(_0x103e09 in(_0x4406cd=_0x1c6c7f[_0x440a56(0x118)],_0x4406cd))_0xb62a4c[_0x103e09]===void 0x0&&(_0xb62a4c[_0x103e09]=_0x4406cd[_0x103e09]);}return{'$$typeof':_0xb987ad,'type':_0x1c6c7f,'key':_0xffd9bb,'ref':_0x2e9aa0,'props':_0xb62a4c,'_owner':_0x3d2b1a[_0x440a56(0x41d)]};}_0x12d3a8['Fragment']=_0x4fe131,_0x12d3a8[_0x3965c0(0x4fd)]=_0x11144e,_0x12d3a8[_0x3965c0(0x532)]=_0x11144e,_0x27cd76[_0x3965c0(0x9f)]=_0x12d3a8;var _0x3c5249=_0x27cd76[_0x3965c0(0x9f)],_0x218f97=function(){const _0x3a85ee=_0x3965c0;return _0x218f97=Object[_0x3a85ee(0x291)]||function(_0x52897a){const _0x48d6bc=_0x3a85ee;for(var _0x32c4ee,_0x378cc1=0x1,_0xf6d222=arguments[_0x48d6bc(0x2af)];_0x378cc1<_0xf6d222;_0x378cc1++){_0x32c4ee=arguments[_0x378cc1];for(var _0x3fbbcd in _0x32c4ee)Object[_0x48d6bc(0x198)]['hasOwnProperty'][_0x48d6bc(0x4ec)](_0x32c4ee,_0x3fbbcd)&&(_0x52897a[_0x3fbbcd]=_0x32c4ee[_0x3fbbcd]);}return _0x52897a;},_0x218f97[_0x3a85ee(0x4cf)](this,arguments);},_0x4a9a9e=function(_0x6e8e88,_0x261f72){const _0x566079=_0x3965c0;var _0x12d3db={};for(var _0x90a08b in _0x6e8e88)Object[_0x566079(0x198)]['hasOwnProperty'][_0x566079(0x4ec)](_0x6e8e88,_0x90a08b)&&_0x261f72[_0x566079(0x318)](_0x90a08b)<0x0&&(_0x12d3db[_0x90a08b]=_0x6e8e88[_0x90a08b]);if(_0x6e8e88!=null&&typeof Object[_0x566079(0x1e4)]==_0x566079(0x311)){for(var _0x2550c8=0x0,_0x90a08b=Object['getOwnPropertySymbols'](_0x6e8e88);_0x2550c8<_0x90a08b[_0x566079(0x2af)];_0x2550c8++)_0x261f72['indexOf'](_0x90a08b[_0x2550c8])<0x0&&Object[_0x566079(0x198)]['propertyIsEnumerable'][_0x566079(0x4ec)](_0x6e8e88,_0x90a08b[_0x2550c8])&&(_0x12d3db[_0x90a08b[_0x2550c8]]=_0x6e8e88[_0x90a08b[_0x2550c8]]);}return _0x12d3db;},_0x1b1abb=_0x598307[_0x3965c0(0x11c)](function(_0xee8dfa,_0x14f8c9){const _0x17c583=_0x3965c0;var _0x3bea47=_0xee8dfa[_0x17c583(0x4fb)],_0x336493=_0xee8dfa['id'],_0x49a456=_0xee8dfa[_0x17c583(0x222)],_0x5da9cf=_0xee8dfa[_0x17c583(0x33a)],_0x2ca54f=_0x4a9a9e(_0xee8dfa,[_0x17c583(0x4fb),'id',_0x17c583(0x222),_0x17c583(0x33a)]),_0x3d7364='univerjs-icon\x20univerjs-icon-'[_0x17c583(0x541)](_0x336493,'\x20')['concat'](_0x49a456||'')[_0x17c583(0x1c9)](),_0x5f25c0=_0x598307[_0x17c583(0x281)]('_'[_0x17c583(0x541)](_0x4a93ac()));return _0x4949d8(_0x3bea47,''[_0x17c583(0x541)](_0x336493),{'defIds':_0x3bea47[_0x17c583(0x416)],'idSuffix':_0x5f25c0[_0x17c583(0x41d)]},_0x218f97({'ref':_0x14f8c9,'className':_0x3d7364},_0x2ca54f),_0x5da9cf);});function _0x4949d8(_0x4e82ba,_0x46efb4,_0x5621e8,_0x588aed,_0x55f1ea){const _0x2082d2=_0x3965c0;return _0x598307['createElement'](_0x4e82ba[_0x2082d2(0x394)],_0x218f97(_0x218f97({'key':_0x46efb4},_0x2a70fc(_0x4e82ba,_0x5621e8,_0x55f1ea)),_0x588aed),(_0x36d2a6(_0x4e82ba,_0x5621e8)[_0x2082d2(0x4ae)]||[])[_0x2082d2(0x3dc)](function(_0x4e14ac,_0x2db742){const _0x11cd70=_0x2082d2;return _0x4949d8(_0x4e14ac,''[_0x11cd70(0x541)](_0x46efb4,'-')[_0x11cd70(0x541)](_0x4e82ba[_0x11cd70(0x394)],'-')[_0x11cd70(0x541)](_0x2db742),_0x5621e8,void 0x0,_0x55f1ea);}));}function _0x2a70fc(_0xeeaeb3,_0x43577a,_0x9d80cb){const _0x2692a5=_0x3965c0;var _0x2ad218=_0x218f97({},_0xeeaeb3[_0x2692a5(0xf4)]);_0x9d80cb!=null&&_0x9d80cb[_0x2692a5(0x22c)]&&_0x2ad218['fill']==='colorChannel1'&&(_0x2ad218[_0x2692a5(0x428)]=_0x9d80cb[_0x2692a5(0x22c)]);var _0x25c520=_0x43577a[_0x2692a5(0x416)];return!_0x25c520||_0x25c520['length']===0x0||(_0xeeaeb3['tag']===_0x2692a5(0x10d)&&_0x2ad218[_0x2692a5(0x1c8)]&&(_0x2ad218[_0x2692a5(0x1c8)]=_0x2ad218[_0x2692a5(0x1c8)]+_0x43577a[_0x2692a5(0x192)]),Object['entries'](_0x2ad218)[_0x2692a5(0x123)](function(_0x2b82f1){const _0xb1a00d=_0x2692a5;var _0x121264=_0x2b82f1[0x0],_0x405ebe=_0x2b82f1[0x1];typeof _0x405ebe==_0xb1a00d(0x106)&&(_0x2ad218[_0x121264]=_0x405ebe[_0xb1a00d(0x1b1)](/url\(#(.*)\)/,_0xb1a00d(0x44c)['concat'](_0x43577a[_0xb1a00d(0x192)],')')));})),_0x2ad218;}function _0x36d2a6(_0x252a27,_0x17de93){const _0x2e2153=_0x3965c0;var _0x312fe4,_0x340670=_0x17de93[_0x2e2153(0x416)];return!_0x340670||_0x340670[_0x2e2153(0x2af)]===0x0?_0x252a27:_0x252a27[_0x2e2153(0x394)]===_0x2e2153(0x2c6)&&(!((_0x312fe4=_0x252a27[_0x2e2153(0x4ae)])===null||_0x312fe4===void 0x0)&&_0x312fe4[_0x2e2153(0x2af)])?_0x218f97(_0x218f97({},_0x252a27),{'children':_0x252a27[_0x2e2153(0x4ae)][_0x2e2153(0x3dc)](function(_0x12449b){const _0x552e57=_0x2e2153;return typeof _0x12449b[_0x552e57(0xf4)]['id']=='string'&&_0x340670&&_0x340670[_0x552e57(0x318)](_0x12449b[_0x552e57(0xf4)]['id'])>-0x1?_0x218f97(_0x218f97({},_0x12449b),{'attrs':_0x218f97(_0x218f97({},_0x12449b['attrs']),{'id':_0x12449b[_0x552e57(0xf4)]['id']+_0x17de93[_0x552e57(0x192)]})}):_0x12449b;})}):_0x252a27;}function _0x4a93ac(){const _0x30e522=_0x3965c0;return Math[_0x30e522(0x2c9)]()[_0x30e522(0x4df)](0x24)['substring'](0x2,0x8);}_0x1b1abb[_0x3965c0(0xec)]=_0x3965c0(0x514);var _0x4860ca={'tag':_0x3965c0(0x44b),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x3965c0(0x531),'height':_0x3965c0(0x531)},'children':[{'tag':'g','attrs':{'clipPath':_0x3965c0(0x254)},'children':[{'tag':_0x3965c0(0x232),'attrs':{'stroke':_0x3965c0(0xdc),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0x3965c0(0x4ef),'strokeWidth':1.2}}]},{'tag':_0x3965c0(0x2c6),'attrs':{},'children':[{'tag':_0x3965c0(0x26e),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x3965c0(0x232),'attrs':{'fill':_0x3965c0(0x1d5),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x3965c0(0x247)]},_0x1b1419=_0x598307[_0x3965c0(0x11c)](function(_0x1b6ee4,_0x14fff2){return _0x598307['createElement'](_0x1b1abb,Object['assign']({},_0x1b6ee4,{'id':'off-line-single','ref':_0x14fff2,'icon':_0x4860ca}));});_0x1b1419[_0x3965c0(0xec)]=_0x3965c0(0x4f0);var _0x5c4e16={'tag':_0x3965c0(0x44b),'attrs':{'fill':'none','viewBox':_0x3965c0(0x2f1),'width':_0x3965c0(0x531),'height':_0x3965c0(0x531)},'children':[{'tag':'g','attrs':{'clipPath':_0x3965c0(0x3cb)},'children':[{'tag':_0x3965c0(0x232),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x3965c0(0x4ef),'strokeLinejoin':_0x3965c0(0x4ef),'strokeWidth':1.2}}]},{'tag':_0x3965c0(0x2c6),'attrs':{},'children':[{'tag':_0x3965c0(0x26e),'attrs':{'id':_0x3965c0(0x55d)},'children':[{'tag':_0x3965c0(0x232),'attrs':{'fill':'#fff','d':_0x3965c0(0x3cd),'transform':_0x3965c0(0x486)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x1f47d8=_0x598307[_0x3965c0(0x11c)](function(_0x5dfbea,_0x2ebd2d){const _0x4c5622=_0x3965c0;return _0x598307[_0x4c5622(0xfe)](_0x1b1abb,Object[_0x4c5622(0x291)]({},_0x5dfbea,{'id':'on-line-single','ref':_0x2ebd2d,'icon':_0x5c4e16}));});_0x1f47d8[_0x3965c0(0xec)]=_0x3965c0(0x49f);function _0x40b858(_0x2f50ce){const _0x36401c=_0x3965c0;var _0x5be93a,_0x1b77eb,_0x373068='';if(typeof _0x2f50ce==_0x36401c(0x106)||typeof _0x2f50ce==_0x36401c(0x2f9))_0x373068+=_0x2f50ce;else{if(typeof _0x2f50ce==_0x36401c(0x221)){if(Array[_0x36401c(0x1e3)](_0x2f50ce)){var _0x423164=_0x2f50ce[_0x36401c(0x2af)];for(_0x5be93a=0x0;_0x5be93a<_0x423164;_0x5be93a++)_0x2f50ce[_0x5be93a]&&(_0x1b77eb=_0x40b858(_0x2f50ce[_0x5be93a]))&&(_0x373068&&(_0x373068+='\x20'),_0x373068+=_0x1b77eb);}else{for(_0x1b77eb in _0x2f50ce)_0x2f50ce[_0x1b77eb]&&(_0x373068&&(_0x373068+='\x20'),_0x373068+=_0x1b77eb);}}}return _0x373068;}function _0x23eb3a(){for(var _0x1256ba,_0x469d49,_0x19b230=0x0,_0xfaf08c='',_0x4f389e=arguments['length'];_0x19b230<_0x4f389e;_0x19b230++)(_0x1256ba=arguments[_0x19b230])&&(_0x469d49=_0x40b858(_0x1256ba))&&(_0xfaf08c&&(_0xfaf08c+='\x20'),_0xfaf08c+=_0x469d49);return _0xfaf08c;}const _0x3b3a79={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x3965c0(0x1ed),'onlineStatus':_0x3965c0(0x31e),'online':_0x3965c0(0x21f),'offline':_0x3965c0(0x3af)};function _0x43d2e6(_0x1d6b25){const _0x3ff10f=_0x3965c0;switch(_0x1d6b25){case _0x1db420[_0x3ff10f(0x53e)]:return'collabStatus.offline';case _0x1db420[_0x3ff10f(0x2aa)]:return'collabStatus.conflict';case _0x1db420[_0x3ff10f(0x224)]:return _0x3ff10f(0x2d7);case _0x1db420['NOT_COLLAB']:return _0x3ff10f(0x218);case _0x1db420['AWAITING']:case _0x1db420['AWAITING_WITH_PENDING']:return _0x3ff10f(0x452);case _0x1db420[_0x3ff10f(0x181)]:case _0x1db420[_0x3ff10f(0x516)]:return'collabStatus.synced';}}function _0x1c04e9(_0x4e60bd){const _0x4dfde0=_0x3965c0,{status$:_0x4ef1d5}=_0x4e60bd,_0xc80012=_0x794d48['useObservable'](_0x4ef1d5,_0x1db420[_0x4dfde0(0x189)]),_0x167e12=_0x320968[_0x4dfde0(0x4b3)](_0x320968[_0x4dfde0(0xee)]),_0x3af0c9=_0x320968[_0x4dfde0(0x4b3)](_0x41186c[_0x4dfde0(0x38b)]),_0x129e87=_0xc80012!==_0x1db420[_0x4dfde0(0x53e)],_0x5709ff=_0x167e12['t'](_0x43d2e6(_0xc80012)),_0x39612a=_0x23eb3a(_0x3b3a79['onlineStatus'],{[_0x3b3a79[_0x4dfde0(0x30e)]]:_0x129e87,[_0x3b3a79[_0x4dfde0(0xfd)]]:!_0x129e87}),_0x33a10f=_0x129e87?_0x3c5249[_0x4dfde0(0x4fd)](_0x1f47d8,{}):_0x3c5249[_0x4dfde0(0x4fd)](_0x1b1419,{}),_0x53296d=_0x598307[_0x4dfde0(0x239)](()=>{const _0x964d19=_0x4dfde0;_0x129e87||_0x3af0c9[_0x964d19(0x4b2)]();},[_0x129e87,_0x3af0c9]);function _0x38721f(){const _0x4b57cc=_0x4dfde0;return _0x3c5249[_0x4b57cc(0x532)](_0x4b57cc(0x3e2),{'className':_0x39612a,'onClick':_0x53296d,'children':[_0x3c5249['jsx'](_0x4b57cc(0x3e2),{'className':_0x3b3a79['onlineStatusIcon'],'children':_0x33a10f}),_0x3c5249[_0x4b57cc(0x4fd)](_0x4b57cc(0x3e2),{'className':_0x3b3a79[_0x4b57cc(0x116)],'children':_0x5709ff})]});}return _0x129e87?_0x38721f():_0x3c5249[_0x4dfde0(0x4fd)](_0x396768[_0x4dfde0(0x2b7)],{'title':_0x167e12['t'](_0x4dfde0(0x1a3)),'children':_0x38721f()});}var _0x1fdd7e=Object[_0x3965c0(0x3d5)],_0x24fea2=Object[_0x3965c0(0x406)],_0x565f78=(_0x4899aa,_0x2b926d,_0x233ac7,_0x21711f)=>{const _0x4f7e3f=_0x3965c0;for(var _0x5f27a0=_0x21711f>0x1?void 0x0:_0x21711f?_0x24fea2(_0x2b926d,_0x233ac7):_0x2b926d,_0x5c6772=_0x4899aa[_0x4f7e3f(0x2af)]-0x1,_0x303b64;_0x5c6772>=0x0;_0x5c6772--)(_0x303b64=_0x4899aa[_0x5c6772])&&(_0x5f27a0=(_0x21711f?_0x303b64(_0x2b926d,_0x233ac7,_0x5f27a0):_0x303b64(_0x5f27a0))||_0x5f27a0);return _0x21711f&&_0x5f27a0&&_0x1fdd7e(_0x2b926d,_0x233ac7,_0x5f27a0),_0x5f27a0;},_0x43c586=(_0x408a46,_0x4e0f6b)=>(_0x47f7e8,_0x92cfe0)=>_0x4e0f6b(_0x47f7e8,_0x92cfe0,_0x408a46);_0x41186c[_0x3965c0(0x335)]=class extends _0x320968[_0x3965c0(0x2de)]{constructor(_0x278d67,_0x1a5aa1,_0x10b126,_0x118bbd){const _0x5905a4=_0x3965c0;super(),_0x42c854(this,_0x5905a4(0xcb),new _0x237014[(_0x5905a4(0xa5))](_0x1db420[_0x5905a4(0x189)])),(this['_univerInstanceService']=_0x278d67,this[_0x5905a4(0x4fe)]=_0x1a5aa1,this['_injector']=_0x10b126,this[_0x5905a4(0xfc)]=_0x118bbd,this['_initStatusComponent'](),this[_0x5905a4(0x207)]());}[_0x3965c0(0x207)](){const _0x158942=_0x3965c0;this[_0x158942(0x219)](this['_univerInstanceService'][_0x158942(0x4db)][_0x158942(0x30f)](_0x237014['switchMap'](()=>{const _0x39b2a2=_0x158942,_0x3dc479=this[_0x39b2a2(0x27e)]['getFocusedUnit']();return _0x3dc479?this[_0x39b2a2(0xfc)][_0x39b2a2(0x4aa)](_0x3dc479[_0x39b2a2(0x104)]()):_0x237014['of'](null);}),_0x237014[_0x158942(0x21a)](_0x3b1579=>_0x3b1579?_0x3b1579['status$']:_0x237014['of'](_0x1db420[_0x158942(0x189)])))['subscribe'](_0x53c1b2=>{const _0x2bda48=_0x158942;this[_0x2bda48(0xcb)]['next'](_0x53c1b2);}));}['_initStatusComponent'](){const _0xf77565=_0x3965c0;this['disposeWithMe'](this[_0xf77565(0x4fe)][_0xf77565(0xae)](_0x794d48[_0xf77565(0x445)]['HEADER_MENU'],()=>_0x320968[_0xf77565(0x225)](_0xff822e({'status$':this['_status$']['asObservable']()}),this[_0xf77565(0x474)])));}},_0x41186c[_0x3965c0(0x335)]=_0x565f78([_0x43c586(0x0,_0x320968[_0x3965c0(0x447)]),_0x43c586(0x1,_0x794d48[_0x3965c0(0x2ab)]),_0x43c586(0x2,_0x320968[_0x3965c0(0x124)](_0x320968[_0x3965c0(0x527)])),_0x43c586(0x3,_0x320968['Inject'](_0x41186c[_0x3965c0(0x234)]))],_0x41186c[_0x3965c0(0x335)]);function _0xff822e(_0xb5ebe8){const {status$:_0x280a52}=_0xb5ebe8;return function(){const _0x572e53=_0x18dd;return _0x3c5249[_0x572e53(0x4fd)](_0x1c04e9,{'status$':_0x280a52});};}const _0x5bdbde=_0x320968[_0x3965c0(0x23b)](_0x3965c0(0x2ce));var _0x36d0d1=Object[_0x3965c0(0x3d5)],_0xe3886c=Object[_0x3965c0(0x406)],_0x236fca=(_0x1ecca1,_0x25adf0,_0x2cc68f,_0x4d0019)=>{const _0x473978=_0x3965c0;for(var _0x58d4e3=_0x4d0019>0x1?void 0x0:_0x4d0019?_0xe3886c(_0x25adf0,_0x2cc68f):_0x25adf0,_0x5026d8=_0x1ecca1[_0x473978(0x2af)]-0x1,_0x265b16;_0x5026d8>=0x0;_0x5026d8--)(_0x265b16=_0x1ecca1[_0x5026d8])&&(_0x58d4e3=(_0x4d0019?_0x265b16(_0x25adf0,_0x2cc68f,_0x58d4e3):_0x265b16(_0x58d4e3))||_0x58d4e3);return _0x4d0019&&_0x58d4e3&&_0x36d0d1(_0x25adf0,_0x2cc68f,_0x58d4e3),_0x58d4e3;},_0x23169a=(_0x312134,_0x15dc17)=>(_0x5c6a38,_0x6ec4e4)=>_0x15dc17(_0x5c6a38,_0x6ec4e4,_0x312134);_0x41186c['DataLoaderController']=class extends _0x320968[_0x3965c0(0x1ff)]{constructor(_0x1f62ca,_0x341625,_0x332b81,_0x160243,_0x1d658c,_0x1b497f){const _0x3514c0=_0x3965c0;super(),this[_0x3514c0(0x2d3)]=_0x1f62ca,this[_0x3514c0(0x127)]=_0x341625,this['_commandService']=_0x332b81,this[_0x3514c0(0xba)]=_0x160243,this[_0x3514c0(0x1de)]=_0x1d658c,_0x1b497f?_0x1b497f==null||_0x1b497f[_0x3514c0(0xcf)]()[_0x3514c0(0x42f)](()=>this[_0x3514c0(0x3fd)]()):(this[_0x3514c0(0x127)][_0x3514c0(0x48b)](_0x3514c0(0x2bd),_0x3514c0(0x438)),this['_init']());}async[_0x3965c0(0x3fd)](){const _0x118a81=_0x3965c0,_0x455697=this[_0x118a81(0x2d3)]['getParam'](_0x118a81(0xe0)),_0xbf031e=this[_0x118a81(0x2d3)][_0x118a81(0x48d)](_0x118a81(0x3b5));if(!_0x455697||!_0xbf031e){this[_0x118a81(0x127)]['debug'](_0x118a81(0x2bd),_0x118a81(0x242));return;}switch(Number(_0xbf031e)){case _0x22ab58[_0x118a81(0x45d)]:{const _0x371905=await this[_0x118a81(0x145)](_0x455697);this['_setupSubUnitSync'](_0x371905);break;}case _0x22ab58['UNIVER_DOC']:{await this['_loadDoc'](_0x455697);break;}default:{this[_0x118a81(0x127)]['error'](_0x118a81(0x2bd),_0x118a81(0x11d));break;}}}async['_setupSubUnitSync'](_0x3266d5){const _0x58d3c4=_0x3965c0;await this[_0x58d3c4(0x51b)](_0x3266d5),_0x3266d5[_0x58d3c4(0x371)][_0x58d3c4(0x30f)](_0x237014[_0x58d3c4(0x2ea)](this['dispose$']))['subscribe'](_0x3190ed=>{_0x3190ed&&this['_updateURLWithCurrentState'](_0x3190ed);}),this['_urlService'][_0x58d3c4(0x2fb)][_0x58d3c4(0x30f)](_0x237014[_0x58d3c4(0x2ea)](this['dispose$']))[_0x58d3c4(0xc2)](()=>this[_0x58d3c4(0x51b)](_0x3266d5));}['_updateURLWithCurrentState'](_0x26b49a,_0x431f0b=!0x1){const _0x22c1a6=_0x3965c0,_0x4d169f=this[_0x22c1a6(0x2d3)][_0x22c1a6(0x48d)](_0x22c1a6(0x308));_0x26b49a[_0x22c1a6(0x380)]()!==_0x4d169f&&this['_urlService']['setParam'](_0x22c1a6(0x308),_0x26b49a[_0x22c1a6(0x380)](),_0x431f0b);}async[_0x3965c0(0x51b)](_0x37886a){const _0x4fd301=_0x3965c0;var _0x57078b;const _0x399488=this['_urlService'][_0x4fd301(0x48d)](_0x4fd301(0x308));if(!_0x399488||!_0x37886a['getSheetBySheetId'](_0x399488)){const _0x1db18e=_0x37886a[_0x4fd301(0x43d)]()[0x0],_0x119732=_0x37886a[_0x4fd301(0xc5)](_0x1db18e);if(!_0x119732)return;this[_0x4fd301(0x1cc)](_0x119732,!0x0),await this[_0x4fd301(0x20c)][_0x4fd301(0x1af)](_0x4c6d62[_0x4fd301(0x253)]['id'],{'unitId':_0x37886a['getUnitId'](),'subUnitId':_0x1db18e});return;}((_0x57078b=_0x37886a[_0x4fd301(0x305)]())==null?void 0x0:_0x57078b[_0x4fd301(0x380)]())!==_0x399488&&await this[_0x4fd301(0x20c)][_0x4fd301(0x1af)](_0x4c6d62[_0x4fd301(0x253)]['id'],{'unitId':_0x37886a[_0x4fd301(0x104)](),'subUnitId':_0x399488});}async[_0x3965c0(0x145)](_0x149fe8){const _0x41b7db=_0x3965c0;let _0x2fb954=0x0;const _0x18c997=await this['_localCacheService']['loadOfflineData'](_0x149fe8);return _0x18c997&&(_0x18c997['awaitingChangeset']||_0x18c997[_0x41b7db(0x543)]['length']!==0x0)&&(_0x2fb954=_0x18c997['rev']),_0x2fb954===0x0&&this['_logService']['debug'](_0x41b7db(0x2bd),_0x41b7db(0x535)),this['_snapshotService'][_0x41b7db(0x18c)](_0x149fe8,_0x2fb954);}async[_0x3965c0(0x1ca)](_0x5699c6){const _0x57f62d=_0x3965c0;let _0x3b5f18=0x0;const _0x4342c3=await this[_0x57f62d(0xba)][_0x57f62d(0x3aa)](_0x5699c6);return _0x4342c3&&(_0x4342c3[_0x57f62d(0x1f5)]||_0x4342c3[_0x57f62d(0x543)][_0x57f62d(0x2af)]!==0x0)&&(_0x3b5f18=_0x4342c3[_0x57f62d(0x20e)]),_0x3b5f18===0x0&&this['_logService'][_0x57f62d(0x48b)]('[DataLoaderController]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x57f62d(0x1de)]['loadDoc'](_0x5699c6,_0x3b5f18);}},_0x41186c[_0x3965c0(0x429)]=_0x236fca([_0x23169a(0x0,_0x5bdbde),_0x23169a(0x1,_0x320968[_0x3965c0(0x226)]),_0x23169a(0x2,_0x320968[_0x3965c0(0x32d)]),_0x23169a(0x3,_0x320968[_0x3965c0(0x124)](_0x41186c['LocalCacheService'])),_0x23169a(0x4,_0x320968[_0x3965c0(0x124)](_0x20a4af['SnapshotService'])),_0x23169a(0x5,_0x320968[_0x3965c0(0x51e)](_0x3e1340[_0x3965c0(0x171)]))],_0x41186c[_0x3965c0(0x429)]);var _0x47514b=Object[_0x3965c0(0x3d5)],_0x4fddef=Object[_0x3965c0(0x406)],_0x50c7c7=(_0x1d809c,_0x3d368c,_0x8dbb10,_0x9a7443)=>{const _0x6d58d2=_0x3965c0;for(var _0xaaab62=_0x9a7443>0x1?void 0x0:_0x9a7443?_0x4fddef(_0x3d368c,_0x8dbb10):_0x3d368c,_0x406a33=_0x1d809c[_0x6d58d2(0x2af)]-0x1,_0x58dcae;_0x406a33>=0x0;_0x406a33--)(_0x58dcae=_0x1d809c[_0x406a33])&&(_0xaaab62=(_0x9a7443?_0x58dcae(_0x3d368c,_0x8dbb10,_0xaaab62):_0x58dcae(_0xaaab62))||_0xaaab62);return _0x9a7443&&_0xaaab62&&_0x47514b(_0x3d368c,_0x8dbb10,_0xaaab62),_0xaaab62;},_0x4ac927=(_0x1c8c22,_0x266901)=>(_0x5d60ab,_0x1bbd24)=>_0x266901(_0x5d60ab,_0x1bbd24,_0x1c8c22);const _0x171607='DEFAULT_FILE_NAME',_0x2c6485=_0x3965c0(0x469);let _0x16a9d8=class extends _0x320968[_0x3965c0(0x2de)]{constructor(_0x57752c,_0x5a4fa5){const _0x5f18ce=_0x3965c0;super(),this[_0x5f18ce(0x27e)]=_0x57752c,this[_0x5f18ce(0xa3)]=_0x5a4fa5,this[_0x5f18ce(0x3fd)]();}['_init'](){const _0x32fbd2=_0x3965c0;this[_0x32fbd2(0x219)](this[_0x32fbd2(0x27e)]['focused$']['subscribe'](()=>{const _0x4dd390=_0x32fbd2;var _0x3d4a12;const _0x295d8=this[_0x4dd390(0x27e)]['getFocusedUnit']();let _0x1334b1=(_0x3d4a12=this[_0x4dd390(0xa3)][_0x4dd390(0xa7)](_0x171607))!=null?_0x3d4a12:_0x2c6485;_0x295d8 instanceof _0x320968[_0x4dd390(0x3f6)]&&(_0x1334b1=_0x295d8[_0x4dd390(0x424)]),document[_0x4dd390(0x1cf)]=_0x1334b1;}));}};_0x16a9d8=_0x50c7c7([_0x4ac927(0x0,_0x320968[_0x3965c0(0x447)]),_0x4ac927(0x1,_0x320968[_0x3965c0(0x479)])],_0x16a9d8);var _0x492172=Object[_0x3965c0(0x3d5)],_0x29b215=Object[_0x3965c0(0x406)],_0x1fe542=(_0x464200,_0x18ecaa,_0x1e3de1,_0x83db0b)=>{for(var _0x5ce49b=_0x83db0b>0x1?void 0x0:_0x83db0b?_0x29b215(_0x18ecaa,_0x1e3de1):_0x18ecaa,_0x2e3a13=_0x464200['length']-0x1,_0x43ad85;_0x2e3a13>=0x0;_0x2e3a13--)(_0x43ad85=_0x464200[_0x2e3a13])&&(_0x5ce49b=(_0x83db0b?_0x43ad85(_0x18ecaa,_0x1e3de1,_0x5ce49b):_0x43ad85(_0x5ce49b))||_0x5ce49b);return _0x83db0b&&_0x5ce49b&&_0x492172(_0x18ecaa,_0x1e3de1,_0x5ce49b),_0x5ce49b;},_0x550cd1=(_0x425bd5,_0x52f3d1)=>(_0x140380,_0x4df3c8)=>_0x52f3d1(_0x140380,_0x4df3c8,_0x425bd5);let _0x13de73=class{constructor(_0x46d226,_0x1b5ff8,_0x217a5d){const _0x312388=_0x3965c0;this[_0x312388(0xa3)]=_0x46d226,this[_0x312388(0x20b)]=_0x1b5ff8,this[_0x312388(0x205)]=_0x217a5d,this[_0x312388(0x2be)]();}[_0x3965c0(0x2be)](){const _0x43a235=_0x3965c0;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x249ca2,_0x535bc3)=>_0x535bc3(_0x249ca2)[_0x43a235(0x30f)](_0x237014[_0x43a235(0x417)](async _0x3ccbf0=>{const _0x4adb3b=_0x43a235,_0x4269b3=_0x3ccbf0;if(_0x4269b3[_0x4adb3b(0x307)]===0x191&&window[_0x4adb3b(0x4ee)](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x405871=window['encodeURIComponent'](window['location']['href']);window[_0x4adb3b(0x4c0)][_0x4adb3b(0x15d)]=this[_0x4adb3b(0x415)]()+_0x4adb3b(0x117)+_0x405871;}return _0x4269b3;}))});}[_0x3965c0(0x415)](){const _0x40e639=_0x3965c0;var _0x290922,_0x2f55fe;const _0x126af6=this[_0x40e639(0xa3)]['getConfig'](_0x450b88),_0x750c2b=this[_0x40e639(0xa3)][_0x40e639(0xa7)](_0x5f560a);return(_0x2f55fe=(_0x290922=_0x750c2b==null?void 0x0:_0x750c2b['loginUrlKey'])!=null?_0x290922:_0x126af6)!=null?_0x2f55fe:_0x3490b3;}};_0x13de73=_0x1fe542([_0x550cd1(0x0,_0x320968['IConfigService']),_0x550cd1(0x1,_0x320968[_0x3965c0(0x124)](_0x1ebdcd[_0x3965c0(0x2df)])),_0x550cd1(0x2,_0x320968[_0x3965c0(0x124)](_0x320968[_0x3965c0(0xee)]))],_0x13de73);var _0x18557b=Object[_0x3965c0(0x3d5)],_0x2fd096=Object[_0x3965c0(0x406)],_0x5195c1=(_0x75add9,_0xc6a20f,_0x2f3055,_0x46b0a3)=>{const _0x496dba=_0x3965c0;for(var _0x55d11f=_0x46b0a3>0x1?void 0x0:_0x46b0a3?_0x2fd096(_0xc6a20f,_0x2f3055):_0xc6a20f,_0x87997a=_0x75add9[_0x496dba(0x2af)]-0x1,_0x5dc6e5;_0x87997a>=0x0;_0x87997a--)(_0x5dc6e5=_0x75add9[_0x87997a])&&(_0x55d11f=(_0x46b0a3?_0x5dc6e5(_0xc6a20f,_0x2f3055,_0x55d11f):_0x5dc6e5(_0x55d11f))||_0x55d11f);return _0x46b0a3&&_0x55d11f&&_0x18557b(_0xc6a20f,_0x2f3055,_0x55d11f),_0x55d11f;},_0x5e0a4d=(_0x2ff284,_0x18e0bd)=>(_0x16c57e,_0x365983)=>_0x18e0bd(_0x16c57e,_0x365983,_0x2ff284);const _0x23b5e3='AUTHZ_URL_KEY',_0x3fcf41=_0x3965c0(0x1d1);_0x41186c[_0x3965c0(0x1ab)]=class extends _0x320968[_0x3965c0(0x2de)]{constructor(_0xea61ca,_0x51d803){const _0x102e1d=_0x3965c0;super(),this[_0x102e1d(0x257)]=_0xea61ca,this['_configService']=_0x51d803,this[_0x102e1d(0x13a)]();}[_0x3965c0(0x13a)](){const _0x4e1b12=_0x3965c0,_0x233a47=this;this[_0x4e1b12(0x219)](this[_0x4e1b12(0x257)][_0x4e1b12(0x347)]({'priority':0x3e7,'interceptor':_0x1ebdcd[_0x4e1b12(0x3f7)]({'isMatch'(_0x153eda){const _0x47c083=_0x4e1b12;var _0x18bd9e;if(_0x153eda['method']===_0x47c083(0x2f8)&&((_0x18bd9e=_0x153eda[_0x47c083(0x3b0)])!=null&&_0x18bd9e[_0x47c083(0x2a4)])){const {objectID:_0x3e60cf,objectType:_0xc6f558}=_0x153eda[_0x47c083(0x3b0)][_0x47c083(0x2a4)]||{};if(!_0x3e60cf||_0xc6f558===void 0x0)return!0x1;const _0x41910a=_0x233a47[_0x47c083(0x331)]()+'/'+_0xc6f558+_0x47c083(0x3b2)+_0x3e60cf+_0x47c083(0x545);if(_0x153eda[_0x47c083(0x345)]===_0x41910a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3b1b37){const _0x91826b=_0x4e1b12;var _0x2be7c7;return(_0x2be7c7=_0x3b1b37['requestParams'])==null?void 0x0:_0x2be7c7[_0x91826b(0x2a4)];},'mergeParamsToRequest'(_0x2d61fd,_0x21185b){const _0x148dd1=_0x4e1b12,_0x4adb24=_0x233a47['_getAPIPrefixPath']()+_0x148dd1(0x178),_0x2ef7a1=_0x2d61fd['reduce']((_0x4e0893,_0x521096)=>{const _0x3dfd19=_0x148dd1,{unitID:_0x475a61,objectID:_0x4e3fc7,objectType:_0x53829e,actions:_0xc8e991}=_0x521096;return _0x4e0893[_0x475a61]||(_0x4e0893[_0x475a61]={}),_0x4e0893[_0x475a61][_0x4e3fc7]||(_0x4e0893[_0x475a61][_0x4e3fc7]={'objectID':_0x4e3fc7,'objectType':_0x53829e,'actions':[]}),_0x4e0893[_0x475a61][_0x4e3fc7][_0x3dfd19(0xa6)][_0x3dfd19(0x25f)](..._0xc8e991),_0x4e0893;},{}),_0x33575c=[];for(const _0x25760d in _0x2ef7a1)for(const _0xb4620a in _0x2ef7a1[_0x25760d]){const {actions:_0x2b9b72,objectType:_0x39c949}=_0x2ef7a1[_0x25760d][_0xb4620a],_0x137c93=[...new Set(_0x2b9b72)];_0x33575c[_0x148dd1(0x25f)]({'unitID':_0x25760d,'objectID':_0xb4620a,'objectType':_0x39c949,'actions':_0x137c93});}return new _0x1ebdcd[(_0x148dd1(0x4d2))]('POST',_0x4adb24,{'headers':_0x21185b[_0x148dd1(0x3b4)],'withCredentials':_0x21185b[_0x148dd1(0x358)],'responseType':_0x21185b[_0x148dd1(0x491)],'body':{'requests':_0x33575c}});}},{'distributeResult'(_0x1be85d,_0x2419bc){const _0x1233e8=_0x4e1b12,{objectActions:_0xfea6f0}=_0x1be85d;return _0x2419bc[_0x1233e8(0x3dc)](_0x5015f2=>{const _0x2e3859=_0x1233e8,{unitID:_0x43aa36,objectID:_0x1d07b0,actions:_0x51d374}=_0x5015f2,_0x32defe=_0xfea6f0[_0x2e3859(0x340)](_0x48fbaf=>_0x48fbaf['unitID']===_0x43aa36&&_0x48fbaf[_0x2e3859(0x47f)]===_0x1d07b0),_0x188746=_0x51d374[_0x2e3859(0x3dc)](_0x19fe14=>_0x32defe==null?void 0x0:_0x32defe[_0x2e3859(0xa6)][_0x2e3859(0x340)](_0x25fedc=>_0x25fedc[_0x2e3859(0x28b)]===_0x19fe14))[_0x2e3859(0x179)](_0x25ee51=>!!_0x25ee51);return{'config':_0x5015f2,'result':{'actions':_0x188746,'error':_0x1be85d[_0x2e3859(0x2c0)]}};});}})}));}[_0x3965c0(0x331)](){const _0x2cc8ca=_0x3965c0;var _0xbb20b4,_0x719e38;const _0x289e30=this[_0x2cc8ca(0xa3)][_0x2cc8ca(0xa7)](_0x23b5e3),_0x511c7a=this[_0x2cc8ca(0xa3)][_0x2cc8ca(0xa7)](_0x5f560a);return(_0x719e38=(_0xbb20b4=_0x511c7a==null?void 0x0:_0x511c7a[_0x2cc8ca(0x431)])!=null?_0xbb20b4:_0x289e30)!=null?_0x719e38:_0x3fcf41;}async['create'](_0x5afd23){const _0x4eaf87=_0x3965c0,_0x1d4dac=this['_getAPIPrefixPath']()+'/'+_0x5afd23[_0x4eaf87(0x4b0)]+_0x4eaf87(0x2cf);return(await this['_HTTPService'][_0x4eaf87(0x2ad)](_0x1d4dac,{'body':_0x5afd23}))['body']['objectID']||'';}async[_0x3965c0(0x506)](_0x4a2cde){const _0xe7241a=_0x3965c0,_0x22156b=this[_0xe7241a(0x331)]()+_0xe7241a(0x2e3);return(await this[_0xe7241a(0x257)][_0xe7241a(0x2ad)](_0x22156b,{'body':_0x4a2cde}))[_0xe7241a(0x2a4)][_0xe7241a(0x36c)];}async[_0x3965c0(0x47d)](_0x489460){const _0x563e8a=_0x3965c0,_0x5cd975=this[_0x563e8a(0x331)]()+'/'+_0x489460[_0x563e8a(0x4b0)]+_0x563e8a(0x3b2)+_0x489460[_0x563e8a(0x47f)];await this['_HTTPService']['put'](_0x5cd975,{'body':_0x489460});}async['allowed'](_0x57f6c5){const _0x1dac4b=_0x3965c0,_0x1bccb1=this[_0x1dac4b(0x331)]()+'/'+_0x57f6c5[_0x1dac4b(0x4b0)]+_0x1dac4b(0x3b2)+_0x57f6c5[_0x1dac4b(0x47f)]+'/allowed';return(await this['_HTTPService'][_0x1dac4b(0x2ad)](_0x1bccb1,{'body':_0x57f6c5}))[_0x1dac4b(0x2a4)]['actions'];}async[_0x3965c0(0x489)](_0x21ca39){const _0x145bf1=_0x3965c0,_0x409fef=this[_0x145bf1(0x331)]()+_0x145bf1(0x178);return(await this['_HTTPService'][_0x145bf1(0x2ad)](_0x409fef,{'body':{'requests':_0x21ca39}}))[_0x145bf1(0x2a4)][_0x145bf1(0x523)];}async[_0x3965c0(0x18f)](_0x17fc31){const _0x523418=_0x3965c0,_0x9db4c5=this['_getAPIPrefixPath']()+'/'+_0x17fc31[_0x523418(0x4b0)]+_0x523418(0x3d3),_0x414869=await this[_0x523418(0x257)]['post'](_0x9db4c5,{'body':_0x17fc31});return{'roles':_0x414869[_0x523418(0x2a4)][_0x523418(0x337)],'actions':_0x414869['body'][_0x523418(0xa6)]};}async[_0x3965c0(0x10c)](_0x1931f0){const _0x95ba12=_0x3965c0,_0x5ecc98=this[_0x95ba12(0x331)]()+'/collaborator';await this[_0x95ba12(0x257)][_0x95ba12(0xac)](_0x5ecc98,{'params':{'collaboratorID':_0x1931f0[_0x95ba12(0x3a0)],'objectID':_0x1931f0[_0x95ba12(0x47f)],'unitID':_0x1931f0[_0x95ba12(0x534)]}});}async['updateCollaborator'](_0x3b429c){const _0x560670=_0x3965c0,_0x2295b7=this[_0x560670(0x331)]()+_0x560670(0x3c8);await this[_0x560670(0x257)][_0x560670(0x3e6)](_0x2295b7,{'body':_0x3b429c});}async[_0x3965c0(0x537)](_0x3e6f28){const _0x341340=_0x3965c0,_0x4a9730=this[_0x341340(0x331)]()+_0x341340(0x3c8);await this['_HTTPService'][_0x341340(0x2ad)](_0x4a9730,{'body':_0x3e6f28});}async[_0x3965c0(0x4be)](_0x1f5e36){const _0x2a6518=_0x3965c0,_0x1db8d9=this[_0x2a6518(0x331)]()+'/collaborator';return(await this[_0x2a6518(0x257)][_0x2a6518(0x159)](_0x1db8d9,{'params':{'objectID':_0x1f5e36[_0x2a6518(0x47f)],'unitID':_0x1f5e36[_0x2a6518(0x534)]}}))[_0x2a6518(0x2a4)][_0x2a6518(0x35b)];}async['putCollaborators'](_0x58bb22){const _0x18e038=_0x3965c0,_0x35f918=this[_0x18e038(0x331)]()+_0x18e038(0x3c8);await this[_0x18e038(0x257)][_0x18e038(0x1fb)](_0x35f918,{'body':_0x58bb22});}},_0x41186c[_0x3965c0(0x1ab)]=_0x5195c1([_0x5e0a4d(0x0,_0x320968[_0x3965c0(0x124)](_0x1ebdcd[_0x3965c0(0x2df)])),_0x5e0a4d(0x1,_0x320968['Inject'](_0x320968[_0x3965c0(0x479)]))],_0x41186c[_0x3965c0(0x1ab)]);var _0xe205b3={'exports':{}};function _0x22d2b9(_0x9916d2){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x9916d2+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0x5e9bb1={'exports':{}},_0x2864cc;function _0x347990(){const _0x5a73e8=_0x3965c0;return _0x2864cc||(_0x2864cc=0x1,function(_0x2009ee,_0x3d24de){(function(_0x582bf6,_0x5dfe3f){const _0x183c29=_0x18dd;_0x2009ee[_0x183c29(0x9f)]=_0x5dfe3f();}(_0x1823d3,function(){var _0x5abc31=_0x5abc31||function(_0x15b1d9,_0x2ae728){const _0x39e2d8=_0x18dd;var _0x284885;if(typeof window<'u'&&window[_0x39e2d8(0xcd)]&&(_0x284885=window[_0x39e2d8(0xcd)]),typeof self<'u'&&self['crypto']&&(_0x284885=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x284885=globalThis['crypto']),!_0x284885&&typeof window<'u'&&window['msCrypto']&&(_0x284885=window[_0x39e2d8(0x2cb)]),!_0x284885&&typeof _0x1823d3<'u'&&_0x1823d3[_0x39e2d8(0xcd)]&&(_0x284885=_0x1823d3[_0x39e2d8(0xcd)]),!_0x284885&&typeof _0x22d2b9=='function')try{_0x284885=require(_0x39e2d8(0xcd));}catch{}var _0x276375=function(){const _0x3e28f3=_0x39e2d8;if(_0x284885){if(typeof _0x284885[_0x3e28f3(0x4b1)]==_0x3e28f3(0x311))try{return _0x284885[_0x3e28f3(0x4b1)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x284885['randomBytes']==_0x3e28f3(0x311))try{return _0x284885[_0x3e28f3(0x241)](0x4)[_0x3e28f3(0x495)]();}catch{}}throw new Error(_0x3e28f3(0x3ee));},_0x3593fb=Object[_0x39e2d8(0x404)]||(function(){function _0x18e1bd(){}return function(_0x4f0150){const _0x523610=_0x18dd;var _0x2374c0;return _0x18e1bd['prototype']=_0x4f0150,_0x2374c0=new _0x18e1bd(),_0x18e1bd[_0x523610(0x198)]=null,_0x2374c0;};}()),_0x1e8f5e={},_0x1af4df=_0x1e8f5e[_0x39e2d8(0x3f4)]={},_0x52104d=_0x1af4df[_0x39e2d8(0x482)]=(function(){return{'extend':function(_0x4c242e){const _0x4269c1=_0x18dd;var _0x189e71=_0x3593fb(this);return _0x4c242e&&_0x189e71['mixIn'](_0x4c242e),(!_0x189e71[_0x4269c1(0x2f0)](_0x4269c1(0x2be))||this[_0x4269c1(0x2be)]===_0x189e71[_0x4269c1(0x2be)])&&(_0x189e71['init']=function(){const _0x19f325=_0x4269c1;_0x189e71[_0x19f325(0x4cc)][_0x19f325(0x2be)][_0x19f325(0x4cf)](this,arguments);}),_0x189e71['init']['prototype']=_0x189e71,_0x189e71['$super']=this,_0x189e71;},'create':function(){const _0x55f663=_0x18dd;var _0x465f88=this[_0x55f663(0x33a)]();return _0x465f88[_0x55f663(0x2be)][_0x55f663(0x4cf)](_0x465f88,arguments),_0x465f88;},'init':function(){},'mixIn':function(_0x5addd8){const _0x20b99f=_0x18dd;for(var _0x4818bc in _0x5addd8)_0x5addd8[_0x20b99f(0x2f0)](_0x4818bc)&&(this[_0x4818bc]=_0x5addd8[_0x4818bc]);_0x5addd8[_0x20b99f(0x2f0)](_0x20b99f(0x4df))&&(this[_0x20b99f(0x4df)]=_0x5addd8[_0x20b99f(0x4df)]);},'clone':function(){const _0x2fa7e9=_0x18dd;return this[_0x2fa7e9(0x2be)][_0x2fa7e9(0x198)][_0x2fa7e9(0x33a)](this);}};}()),_0x428b2b=_0x1af4df['WordArray']=_0x52104d['extend']({'init':function(_0x104494,_0x3117df){const _0x3bb13f=_0x39e2d8;_0x104494=this['words']=_0x104494||[],_0x3117df!=_0x2ae728?this['sigBytes']=_0x3117df:this['sigBytes']=_0x104494[_0x3bb13f(0x2af)]*0x4;},'toString':function(_0x1d3b39){const _0x4cd040=_0x39e2d8;return(_0x1d3b39||_0x435f08)[_0x4cd040(0x487)](this);},'concat':function(_0x572c56){const _0x2314fa=_0x39e2d8;var _0x479e74=this[_0x2314fa(0x298)],_0x36580c=_0x572c56[_0x2314fa(0x298)],_0x47309c=this[_0x2314fa(0x3ed)],_0x32cd9c=_0x572c56['sigBytes'];if(this['clamp'](),_0x47309c%0x4)for(var _0x2f8d4d=0x0;_0x2f8d4d<_0x32cd9c;_0x2f8d4d++){var _0x4937fa=_0x36580c[_0x2f8d4d>>>0x2]>>>0x18-_0x2f8d4d%0x4*0x8&0xff;_0x479e74[_0x47309c+_0x2f8d4d>>>0x2]|=_0x4937fa<<0x18-(_0x47309c+_0x2f8d4d)%0x4*0x8;}else{for(var _0x375f17=0x0;_0x375f17<_0x32cd9c;_0x375f17+=0x4)_0x479e74[_0x47309c+_0x375f17>>>0x2]=_0x36580c[_0x375f17>>>0x2];}return this[_0x2314fa(0x3ed)]+=_0x32cd9c,this;},'clamp':function(){const _0x4e1f88=_0x39e2d8;var _0x21774d=this[_0x4e1f88(0x298)],_0x367d49=this['sigBytes'];_0x21774d[_0x367d49>>>0x2]&=0xffffffff<<0x20-_0x367d49%0x4*0x8,_0x21774d[_0x4e1f88(0x2af)]=_0x15b1d9[_0x4e1f88(0x536)](_0x367d49/0x4);},'clone':function(){const _0x4615a1=_0x39e2d8;var _0x5b4da0=_0x52104d['clone']['call'](this);return _0x5b4da0['words']=this[_0x4615a1(0x298)][_0x4615a1(0x32e)](0x0),_0x5b4da0;},'random':function(_0x338dce){const _0x5580a5=_0x39e2d8;for(var _0x5444=[],_0x524d39=0x0;_0x524d39<_0x338dce;_0x524d39+=0x4)_0x5444['push'](_0x276375());return new _0x428b2b[(_0x5580a5(0x2be))](_0x5444,_0x338dce);}}),_0x39a7e4=_0x1e8f5e['enc']={},_0x435f08=_0x39a7e4[_0x39e2d8(0x1ba)]={'stringify':function(_0x2bb3d6){const _0x288f25=_0x39e2d8;for(var _0x2b40bb=_0x2bb3d6['words'],_0x3913af=_0x2bb3d6[_0x288f25(0x3ed)],_0x1ac097=[],_0x22fdc1=0x0;_0x22fdc1<_0x3913af;_0x22fdc1++){var _0x51b16d=_0x2b40bb[_0x22fdc1>>>0x2]>>>0x18-_0x22fdc1%0x4*0x8&0xff;_0x1ac097[_0x288f25(0x25f)]((_0x51b16d>>>0x4)['toString'](0x10)),_0x1ac097[_0x288f25(0x25f)]((_0x51b16d&0xf)[_0x288f25(0x4df)](0x10));}return _0x1ac097['join']('');},'parse':function(_0x2ba87d){const _0x3513ca=_0x39e2d8;for(var _0x4f9756=_0x2ba87d['length'],_0x56e078=[],_0x5561d4=0x0;_0x5561d4<_0x4f9756;_0x5561d4+=0x2)_0x56e078[_0x5561d4>>>0x3]|=parseInt(_0x2ba87d[_0x3513ca(0x500)](_0x5561d4,0x2),0x10)<<0x18-_0x5561d4%0x8*0x4;return new _0x428b2b[(_0x3513ca(0x2be))](_0x56e078,_0x4f9756/0x2);}},_0x14184d=_0x39a7e4[_0x39e2d8(0x315)]={'stringify':function(_0x27fd6a){const _0x364a48=_0x39e2d8;for(var _0x4e9a2e=_0x27fd6a['words'],_0x1f45fd=_0x27fd6a[_0x364a48(0x3ed)],_0x21e007=[],_0x269f13=0x0;_0x269f13<_0x1f45fd;_0x269f13++){var _0x1c6e1e=_0x4e9a2e[_0x269f13>>>0x2]>>>0x18-_0x269f13%0x4*0x8&0xff;_0x21e007[_0x364a48(0x25f)](String[_0x364a48(0x146)](_0x1c6e1e));}return _0x21e007[_0x364a48(0x51f)]('');},'parse':function(_0x4acd70){const _0x3f7b39=_0x39e2d8;for(var _0x860a6f=_0x4acd70['length'],_0x4661fb=[],_0x16b208=0x0;_0x16b208<_0x860a6f;_0x16b208++)_0x4661fb[_0x16b208>>>0x2]|=(_0x4acd70[_0x3f7b39(0x524)](_0x16b208)&0xff)<<0x18-_0x16b208%0x4*0x8;return new _0x428b2b['init'](_0x4661fb,_0x860a6f);}},_0xf5e9=_0x39a7e4['Utf8']={'stringify':function(_0x29b29d){try{return decodeURIComponent(escape(_0x14184d['stringify'](_0x29b29d)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x14bd81){const _0x276741=_0x39e2d8;return _0x14184d[_0x276741(0x563)](unescape(encodeURIComponent(_0x14bd81)));}},_0x5ab077=_0x1af4df['BufferedBlockAlgorithm']=_0x52104d[_0x39e2d8(0x33a)]({'reset':function(){const _0xc5bd18=_0x39e2d8;this['_data']=new _0x428b2b[(_0xc5bd18(0x2be))](),this[_0xc5bd18(0x136)]=0x0;},'_append':function(_0x3924dc){const _0x171132=_0x39e2d8;typeof _0x3924dc=='string'&&(_0x3924dc=_0xf5e9[_0x171132(0x563)](_0x3924dc)),this[_0x171132(0x34a)]['concat'](_0x3924dc),this[_0x171132(0x136)]+=_0x3924dc[_0x171132(0x3ed)];},'_process':function(_0x25eacc){const _0x2f5138=_0x39e2d8;var _0x552550,_0x2d73c9=this[_0x2f5138(0x34a)],_0x363e8c=_0x2d73c9['words'],_0x3abb9e=_0x2d73c9[_0x2f5138(0x3ed)],_0x542b39=this[_0x2f5138(0x4f6)],_0x48f5d4=_0x542b39*0x4,_0x4f6dca=_0x3abb9e/_0x48f5d4;_0x25eacc?_0x4f6dca=_0x15b1d9[_0x2f5138(0x536)](_0x4f6dca):_0x4f6dca=_0x15b1d9[_0x2f5138(0x360)]((_0x4f6dca|0x0)-this[_0x2f5138(0x494)],0x0);var _0x46dbc0=_0x4f6dca*_0x542b39,_0x31d2aa=_0x15b1d9['min'](_0x46dbc0*0x4,_0x3abb9e);if(_0x46dbc0){for(var _0x30d524=0x0;_0x30d524<_0x46dbc0;_0x30d524+=_0x542b39)this[_0x2f5138(0x268)](_0x363e8c,_0x30d524);_0x552550=_0x363e8c['splice'](0x0,_0x46dbc0),_0x2d73c9[_0x2f5138(0x3ed)]-=_0x31d2aa;}return new _0x428b2b['init'](_0x552550,_0x31d2aa);},'clone':function(){const _0x30d5f5=_0x39e2d8;var _0x4a9c04=_0x52104d[_0x30d5f5(0x4f8)]['call'](this);return _0x4a9c04[_0x30d5f5(0x34a)]=this['_data'][_0x30d5f5(0x4f8)](),_0x4a9c04;},'_minBufferSize':0x0});_0x1af4df['Hasher']=_0x5ab077[_0x39e2d8(0x33a)]({'cfg':_0x52104d['extend'](),'init':function(_0xbe346d){const _0xaba9d7=_0x39e2d8;this[_0xaba9d7(0x212)]=this[_0xaba9d7(0x212)][_0xaba9d7(0x33a)](_0xbe346d),this[_0xaba9d7(0x34e)]();},'reset':function(){const _0x35fb4c=_0x39e2d8;_0x5ab077[_0x35fb4c(0x34e)][_0x35fb4c(0x4ec)](this),this[_0x35fb4c(0x3f8)]();},'update':function(_0x39c1e8){const _0x2750d8=_0x39e2d8;return this[_0x2750d8(0x4d6)](_0x39c1e8),this['_process'](),this;},'finalize':function(_0x22c36a){const _0x4b4222=_0x39e2d8;_0x22c36a&&this[_0x4b4222(0x4d6)](_0x22c36a);var _0x4b35d9=this[_0x4b4222(0x31d)]();return _0x4b35d9;},'blockSize':0x10,'_createHelper':function(_0x28d6be){return function(_0x2b4974,_0x448482){const _0x2d3aa8=_0x18dd;return new _0x28d6be['init'](_0x448482)[_0x2d3aa8(0x259)](_0x2b4974);};},'_createHmacHelper':function(_0x26cf24){return function(_0x1a1a57,_0x21477f){const _0x528e86=_0x18dd;return new _0x177f9f['HMAC'][(_0x528e86(0x2be))](_0x26cf24,_0x21477f)[_0x528e86(0x259)](_0x1a1a57);};}});var _0x177f9f=_0x1e8f5e['algo']={};return _0x1e8f5e;}(Math);return _0x5abc31;}));}(_0x5e9bb1)),_0x5e9bb1[_0x5a73e8(0x9f)];}var _0x1d1c00={'exports':{}},_0x39f5a7;function _0x5e91dd(){return _0x39f5a7||(_0x39f5a7=0x1,function(_0x3458d5,_0x12610e){(function(_0x25e763,_0x27e473){_0x3458d5['exports']=_0x27e473(_0x347990());}(_0x1823d3,function(_0x22a530){const _0x3937f6=_0x18dd;return(function(){const _0x339196=_0x18dd;var _0x26c020=_0x22a530,_0x5e4f14=_0x26c020[_0x339196(0x3f4)],_0x3b21d3=_0x5e4f14[_0x339196(0x45e)],_0x402c53=_0x26c020[_0x339196(0x55c)];_0x402c53[_0x339196(0x287)]={'stringify':function(_0x343af4){const _0x530240=_0x339196;var _0x2eb0dd=_0x343af4[_0x530240(0x298)],_0x28908a=_0x343af4['sigBytes'],_0x11f9c4=this[_0x530240(0x4a3)];_0x343af4[_0x530240(0x3c9)]();for(var _0x1f5ded=[],_0x2974e6=0x0;_0x2974e6<_0x28908a;_0x2974e6+=0x3)for(var _0x384ffc=_0x2eb0dd[_0x2974e6>>>0x2]>>>0x18-_0x2974e6%0x4*0x8&0xff,_0x7034f4=_0x2eb0dd[_0x2974e6+0x1>>>0x2]>>>0x18-(_0x2974e6+0x1)%0x4*0x8&0xff,_0x541eb7=_0x2eb0dd[_0x2974e6+0x2>>>0x2]>>>0x18-(_0x2974e6+0x2)%0x4*0x8&0xff,_0x11d35e=_0x384ffc<<0x10|_0x7034f4<<0x8|_0x541eb7,_0x2027fe=0x0;_0x2027fe<0x4&&_0x2974e6+_0x2027fe*0.75<_0x28908a;_0x2027fe++)_0x1f5ded['push'](_0x11f9c4[_0x530240(0x36d)](_0x11d35e>>>0x6*(0x3-_0x2027fe)&0x3f));var _0x1934a4=_0x11f9c4['charAt'](0x40);if(_0x1934a4){for(;_0x1f5ded[_0x530240(0x2af)]%0x4;)_0x1f5ded[_0x530240(0x25f)](_0x1934a4);}return _0x1f5ded[_0x530240(0x51f)]('');},'parse':function(_0x784d53){const _0x54562a=_0x339196;var _0xe22a7b=_0x784d53['length'],_0x5170ec=this[_0x54562a(0x4a3)],_0x3d82f8=this[_0x54562a(0x151)];if(!_0x3d82f8){_0x3d82f8=this['_reverseMap']=[];for(var _0x325221=0x0;_0x325221<_0x5170ec[_0x54562a(0x2af)];_0x325221++)_0x3d82f8[_0x5170ec[_0x54562a(0x524)](_0x325221)]=_0x325221;}var _0xa86ccb=_0x5170ec[_0x54562a(0x36d)](0x40);if(_0xa86ccb){var _0x1795ff=_0x784d53[_0x54562a(0x318)](_0xa86ccb);_0x1795ff!==-0x1&&(_0xe22a7b=_0x1795ff);}return _0x6a5955(_0x784d53,_0xe22a7b,_0x3d82f8);},'_map':_0x339196(0x357)};function _0x6a5955(_0x43595a,_0x5d0e03,_0xf6a984){const _0x5950c9=_0x339196;for(var _0x1439a7=[],_0x3debed=0x0,_0x2f3703=0x0;_0x2f3703<_0x5d0e03;_0x2f3703++)if(_0x2f3703%0x4){var _0x571048=_0xf6a984[_0x43595a[_0x5950c9(0x524)](_0x2f3703-0x1)]<<_0x2f3703%0x4*0x2,_0x40e1e4=_0xf6a984[_0x43595a[_0x5950c9(0x524)](_0x2f3703)]>>>0x6-_0x2f3703%0x4*0x2,_0x4212a0=_0x571048|_0x40e1e4;_0x1439a7[_0x3debed>>>0x2]|=_0x4212a0<<0x18-_0x3debed%0x4*0x8,_0x3debed++;}return _0x3b21d3[_0x5950c9(0x404)](_0x1439a7,_0x3debed);}}()),_0x22a530[_0x3937f6(0x55c)][_0x3937f6(0x287)];}));}(_0x1d1c00)),_0x1d1c00['exports'];}var _0x42cd88={'exports':{}},_0x135423;function _0x45b632(){const _0x3b5854=_0x3965c0;return _0x135423||(_0x135423=0x1,function(_0x5316e8,_0x53667a){(function(_0x298295,_0x395e97){const _0x116a3b=_0x18dd;_0x5316e8[_0x116a3b(0x9f)]=_0x395e97(_0x347990());}(_0x1823d3,function(_0x11c86f){return function(_0x55db9b){const _0x272ee6=_0x18dd;var _0x286be0=_0x11c86f,_0x4d5420=_0x286be0['lib'],_0x8e28db=_0x4d5420[_0x272ee6(0x45e)],_0xb8add7=_0x4d5420[_0x272ee6(0x12a)],_0x20822b=_0x286be0['algo'],_0x59b953=[];(function(){const _0x596914=_0x272ee6;for(var _0x358d88=0x0;_0x358d88<0x40;_0x358d88++)_0x59b953[_0x358d88]=_0x55db9b[_0x596914(0x54d)](_0x55db9b[_0x596914(0x4b5)](_0x358d88+0x1))*0x100000000|0x0;}());var _0xb2ffd1=_0x20822b[_0x272ee6(0x11b)]=_0xb8add7['extend']({'_doReset':function(){this['_hash']=new _0x8e28db['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x51c965,_0x453df1){const _0x32731b=_0x272ee6;for(var _0x5456c7=0x0;_0x5456c7<0x10;_0x5456c7++){var _0xfd36ee=_0x453df1+_0x5456c7,_0x56057b=_0x51c965[_0xfd36ee];_0x51c965[_0xfd36ee]=(_0x56057b<<0x8|_0x56057b>>>0x18)&0xff00ff|(_0x56057b<<0x18|_0x56057b>>>0x8)&0xff00ff00;}var _0x345017=this[_0x32731b(0x154)][_0x32731b(0x298)],_0x29d533=_0x51c965[_0x453df1+0x0],_0x4b89c3=_0x51c965[_0x453df1+0x1],_0x42f4de=_0x51c965[_0x453df1+0x2],_0x2a49ee=_0x51c965[_0x453df1+0x3],_0x5bf645=_0x51c965[_0x453df1+0x4],_0x546dac=_0x51c965[_0x453df1+0x5],_0x5bb0b4=_0x51c965[_0x453df1+0x6],_0x9d2776=_0x51c965[_0x453df1+0x7],_0x5c0d42=_0x51c965[_0x453df1+0x8],_0x421493=_0x51c965[_0x453df1+0x9],_0x4a253f=_0x51c965[_0x453df1+0xa],_0x4c3a1b=_0x51c965[_0x453df1+0xb],_0x27a249=_0x51c965[_0x453df1+0xc],_0x4b5d9e=_0x51c965[_0x453df1+0xd],_0x5e684d=_0x51c965[_0x453df1+0xe],_0x3e81e5=_0x51c965[_0x453df1+0xf],_0x4186d3=_0x345017[0x0],_0x319a2c=_0x345017[0x1],_0xc826c0=_0x345017[0x2],_0x15f6a6=_0x345017[0x3];_0x4186d3=_0x532cef(_0x4186d3,_0x319a2c,_0xc826c0,_0x15f6a6,_0x29d533,0x7,_0x59b953[0x0]),_0x15f6a6=_0x532cef(_0x15f6a6,_0x4186d3,_0x319a2c,_0xc826c0,_0x4b89c3,0xc,_0x59b953[0x1]),_0xc826c0=_0x532cef(_0xc826c0,_0x15f6a6,_0x4186d3,_0x319a2c,_0x42f4de,0x11,_0x59b953[0x2]),_0x319a2c=_0x532cef(_0x319a2c,_0xc826c0,_0x15f6a6,_0x4186d3,_0x2a49ee,0x16,_0x59b953[0x3]),_0x4186d3=_0x532cef(_0x4186d3,_0x319a2c,_0xc826c0,_0x15f6a6,_0x5bf645,0x7,_0x59b953[0x4]),_0x15f6a6=_0x532cef(_0x15f6a6,_0x4186d3,_0x319a2c,_0xc826c0,_0x546dac,0xc,_0x59b953[0x5]),_0xc826c0=_0x532cef(_0xc826c0,_0x15f6a6,_0x4186d3,_0x319a2c,_0x5bb0b4,0x11,_0x59b953[0x6]),_0x319a2c=_0x532cef(_0x319a2c,_0xc826c0,_0x15f6a6,_0x4186d3,_0x9d2776,0x16,_0x59b953[0x7]),_0x4186d3=_0x532cef(_0x4186d3,_0x319a2c,_0xc826c0,_0x15f6a6,_0x5c0d42,0x7,_0x59b953[0x8]),_0x15f6a6=_0x532cef(_0x15f6a6,_0x4186d3,_0x319a2c,_0xc826c0,_0x421493,0xc,_0x59b953[0x9]),_0xc826c0=_0x532cef(_0xc826c0,_0x15f6a6,_0x4186d3,_0x319a2c,_0x4a253f,0x11,_0x59b953[0xa]),_0x319a2c=_0x532cef(_0x319a2c,_0xc826c0,_0x15f6a6,_0x4186d3,_0x4c3a1b,0x16,_0x59b953[0xb]),_0x4186d3=_0x532cef(_0x4186d3,_0x319a2c,_0xc826c0,_0x15f6a6,_0x27a249,0x7,_0x59b953[0xc]),_0x15f6a6=_0x532cef(_0x15f6a6,_0x4186d3,_0x319a2c,_0xc826c0,_0x4b5d9e,0xc,_0x59b953[0xd]),_0xc826c0=_0x532cef(_0xc826c0,_0x15f6a6,_0x4186d3,_0x319a2c,_0x5e684d,0x11,_0x59b953[0xe]),_0x319a2c=_0x532cef(_0x319a2c,_0xc826c0,_0x15f6a6,_0x4186d3,_0x3e81e5,0x16,_0x59b953[0xf]),_0x4186d3=_0x5aee4f(_0x4186d3,_0x319a2c,_0xc826c0,_0x15f6a6,_0x4b89c3,0x5,_0x59b953[0x10]),_0x15f6a6=_0x5aee4f(_0x15f6a6,_0x4186d3,_0x319a2c,_0xc826c0,_0x5bb0b4,0x9,_0x59b953[0x11]),_0xc826c0=_0x5aee4f(_0xc826c0,_0x15f6a6,_0x4186d3,_0x319a2c,_0x4c3a1b,0xe,_0x59b953[0x12]),_0x319a2c=_0x5aee4f(_0x319a2c,_0xc826c0,_0x15f6a6,_0x4186d3,_0x29d533,0x14,_0x59b953[0x13]),_0x4186d3=_0x5aee4f(_0x4186d3,_0x319a2c,_0xc826c0,_0x15f6a6,_0x546dac,0x5,_0x59b953[0x14]),_0x15f6a6=_0x5aee4f(_0x15f6a6,_0x4186d3,_0x319a2c,_0xc826c0,_0x4a253f,0x9,_0x59b953[0x15]),_0xc826c0=_0x5aee4f(_0xc826c0,_0x15f6a6,_0x4186d3,_0x319a2c,_0x3e81e5,0xe,_0x59b953[0x16]),_0x319a2c=_0x5aee4f(_0x319a2c,_0xc826c0,_0x15f6a6,_0x4186d3,_0x5bf645,0x14,_0x59b953[0x17]),_0x4186d3=_0x5aee4f(_0x4186d3,_0x319a2c,_0xc826c0,_0x15f6a6,_0x421493,0x5,_0x59b953[0x18]),_0x15f6a6=_0x5aee4f(_0x15f6a6,_0x4186d3,_0x319a2c,_0xc826c0,_0x5e684d,0x9,_0x59b953[0x19]),_0xc826c0=_0x5aee4f(_0xc826c0,_0x15f6a6,_0x4186d3,_0x319a2c,_0x2a49ee,0xe,_0x59b953[0x1a]),_0x319a2c=_0x5aee4f(_0x319a2c,_0xc826c0,_0x15f6a6,_0x4186d3,_0x5c0d42,0x14,_0x59b953[0x1b]),_0x4186d3=_0x5aee4f(_0x4186d3,_0x319a2c,_0xc826c0,_0x15f6a6,_0x4b5d9e,0x5,_0x59b953[0x1c]),_0x15f6a6=_0x5aee4f(_0x15f6a6,_0x4186d3,_0x319a2c,_0xc826c0,_0x42f4de,0x9,_0x59b953[0x1d]),_0xc826c0=_0x5aee4f(_0xc826c0,_0x15f6a6,_0x4186d3,_0x319a2c,_0x9d2776,0xe,_0x59b953[0x1e]),_0x319a2c=_0x5aee4f(_0x319a2c,_0xc826c0,_0x15f6a6,_0x4186d3,_0x27a249,0x14,_0x59b953[0x1f]),_0x4186d3=_0x6fac47(_0x4186d3,_0x319a2c,_0xc826c0,_0x15f6a6,_0x546dac,0x4,_0x59b953[0x20]),_0x15f6a6=_0x6fac47(_0x15f6a6,_0x4186d3,_0x319a2c,_0xc826c0,_0x5c0d42,0xb,_0x59b953[0x21]),_0xc826c0=_0x6fac47(_0xc826c0,_0x15f6a6,_0x4186d3,_0x319a2c,_0x4c3a1b,0x10,_0x59b953[0x22]),_0x319a2c=_0x6fac47(_0x319a2c,_0xc826c0,_0x15f6a6,_0x4186d3,_0x5e684d,0x17,_0x59b953[0x23]),_0x4186d3=_0x6fac47(_0x4186d3,_0x319a2c,_0xc826c0,_0x15f6a6,_0x4b89c3,0x4,_0x59b953[0x24]),_0x15f6a6=_0x6fac47(_0x15f6a6,_0x4186d3,_0x319a2c,_0xc826c0,_0x5bf645,0xb,_0x59b953[0x25]),_0xc826c0=_0x6fac47(_0xc826c0,_0x15f6a6,_0x4186d3,_0x319a2c,_0x9d2776,0x10,_0x59b953[0x26]),_0x319a2c=_0x6fac47(_0x319a2c,_0xc826c0,_0x15f6a6,_0x4186d3,_0x4a253f,0x17,_0x59b953[0x27]),_0x4186d3=_0x6fac47(_0x4186d3,_0x319a2c,_0xc826c0,_0x15f6a6,_0x4b5d9e,0x4,_0x59b953[0x28]),_0x15f6a6=_0x6fac47(_0x15f6a6,_0x4186d3,_0x319a2c,_0xc826c0,_0x29d533,0xb,_0x59b953[0x29]),_0xc826c0=_0x6fac47(_0xc826c0,_0x15f6a6,_0x4186d3,_0x319a2c,_0x2a49ee,0x10,_0x59b953[0x2a]),_0x319a2c=_0x6fac47(_0x319a2c,_0xc826c0,_0x15f6a6,_0x4186d3,_0x5bb0b4,0x17,_0x59b953[0x2b]),_0x4186d3=_0x6fac47(_0x4186d3,_0x319a2c,_0xc826c0,_0x15f6a6,_0x421493,0x4,_0x59b953[0x2c]),_0x15f6a6=_0x6fac47(_0x15f6a6,_0x4186d3,_0x319a2c,_0xc826c0,_0x27a249,0xb,_0x59b953[0x2d]),_0xc826c0=_0x6fac47(_0xc826c0,_0x15f6a6,_0x4186d3,_0x319a2c,_0x3e81e5,0x10,_0x59b953[0x2e]),_0x319a2c=_0x6fac47(_0x319a2c,_0xc826c0,_0x15f6a6,_0x4186d3,_0x42f4de,0x17,_0x59b953[0x2f]),_0x4186d3=_0x7e96ed(_0x4186d3,_0x319a2c,_0xc826c0,_0x15f6a6,_0x29d533,0x6,_0x59b953[0x30]),_0x15f6a6=_0x7e96ed(_0x15f6a6,_0x4186d3,_0x319a2c,_0xc826c0,_0x9d2776,0xa,_0x59b953[0x31]),_0xc826c0=_0x7e96ed(_0xc826c0,_0x15f6a6,_0x4186d3,_0x319a2c,_0x5e684d,0xf,_0x59b953[0x32]),_0x319a2c=_0x7e96ed(_0x319a2c,_0xc826c0,_0x15f6a6,_0x4186d3,_0x546dac,0x15,_0x59b953[0x33]),_0x4186d3=_0x7e96ed(_0x4186d3,_0x319a2c,_0xc826c0,_0x15f6a6,_0x27a249,0x6,_0x59b953[0x34]),_0x15f6a6=_0x7e96ed(_0x15f6a6,_0x4186d3,_0x319a2c,_0xc826c0,_0x2a49ee,0xa,_0x59b953[0x35]),_0xc826c0=_0x7e96ed(_0xc826c0,_0x15f6a6,_0x4186d3,_0x319a2c,_0x4a253f,0xf,_0x59b953[0x36]),_0x319a2c=_0x7e96ed(_0x319a2c,_0xc826c0,_0x15f6a6,_0x4186d3,_0x4b89c3,0x15,_0x59b953[0x37]),_0x4186d3=_0x7e96ed(_0x4186d3,_0x319a2c,_0xc826c0,_0x15f6a6,_0x5c0d42,0x6,_0x59b953[0x38]),_0x15f6a6=_0x7e96ed(_0x15f6a6,_0x4186d3,_0x319a2c,_0xc826c0,_0x3e81e5,0xa,_0x59b953[0x39]),_0xc826c0=_0x7e96ed(_0xc826c0,_0x15f6a6,_0x4186d3,_0x319a2c,_0x5bb0b4,0xf,_0x59b953[0x3a]),_0x319a2c=_0x7e96ed(_0x319a2c,_0xc826c0,_0x15f6a6,_0x4186d3,_0x4b5d9e,0x15,_0x59b953[0x3b]),_0x4186d3=_0x7e96ed(_0x4186d3,_0x319a2c,_0xc826c0,_0x15f6a6,_0x5bf645,0x6,_0x59b953[0x3c]),_0x15f6a6=_0x7e96ed(_0x15f6a6,_0x4186d3,_0x319a2c,_0xc826c0,_0x4c3a1b,0xa,_0x59b953[0x3d]),_0xc826c0=_0x7e96ed(_0xc826c0,_0x15f6a6,_0x4186d3,_0x319a2c,_0x42f4de,0xf,_0x59b953[0x3e]),_0x319a2c=_0x7e96ed(_0x319a2c,_0xc826c0,_0x15f6a6,_0x4186d3,_0x421493,0x15,_0x59b953[0x3f]),_0x345017[0x0]=_0x345017[0x0]+_0x4186d3|0x0,_0x345017[0x1]=_0x345017[0x1]+_0x319a2c|0x0,_0x345017[0x2]=_0x345017[0x2]+_0xc826c0|0x0,_0x345017[0x3]=_0x345017[0x3]+_0x15f6a6|0x0;},'_doFinalize':function(){const _0x346e2a=_0x272ee6;var _0x258312=this[_0x346e2a(0x34a)],_0xa86933=_0x258312[_0x346e2a(0x298)],_0xd5dd8b=this[_0x346e2a(0x136)]*0x8,_0x128841=_0x258312[_0x346e2a(0x3ed)]*0x8;_0xa86933[_0x128841>>>0x5]|=0x80<<0x18-_0x128841%0x20;var _0xaf1b53=_0x55db9b[_0x346e2a(0x3ba)](_0xd5dd8b/0x100000000),_0x43bb77=_0xd5dd8b;_0xa86933[(_0x128841+0x40>>>0x9<<0x4)+0xf]=(_0xaf1b53<<0x8|_0xaf1b53>>>0x18)&0xff00ff|(_0xaf1b53<<0x18|_0xaf1b53>>>0x8)&0xff00ff00,_0xa86933[(_0x128841+0x40>>>0x9<<0x4)+0xe]=(_0x43bb77<<0x8|_0x43bb77>>>0x18)&0xff00ff|(_0x43bb77<<0x18|_0x43bb77>>>0x8)&0xff00ff00,_0x258312[_0x346e2a(0x3ed)]=(_0xa86933[_0x346e2a(0x2af)]+0x1)*0x4,this[_0x346e2a(0x303)]();for(var _0x382e16=this['_hash'],_0x4d7e41=_0x382e16[_0x346e2a(0x298)],_0x9b7b85=0x0;_0x9b7b85<0x4;_0x9b7b85++){var _0x5b1629=_0x4d7e41[_0x9b7b85];_0x4d7e41[_0x9b7b85]=(_0x5b1629<<0x8|_0x5b1629>>>0x18)&0xff00ff|(_0x5b1629<<0x18|_0x5b1629>>>0x8)&0xff00ff00;}return _0x382e16;},'clone':function(){const _0x5fc985=_0x272ee6;var _0xf41708=_0xb8add7[_0x5fc985(0x4f8)][_0x5fc985(0x4ec)](this);return _0xf41708[_0x5fc985(0x154)]=this[_0x5fc985(0x154)][_0x5fc985(0x4f8)](),_0xf41708;}});function _0x532cef(_0x180a5c,_0x23c82b,_0x3b197c,_0x367aba,_0x128bf3,_0x30bd50,_0xc4e7ae){var _0x3b3895=_0x180a5c+(_0x23c82b&_0x3b197c|~_0x23c82b&_0x367aba)+_0x128bf3+_0xc4e7ae;return(_0x3b3895<<_0x30bd50|_0x3b3895>>>0x20-_0x30bd50)+_0x23c82b;}function _0x5aee4f(_0x1f161f,_0x1f890d,_0x47b621,_0x57e879,_0x3ebda3,_0x1daa69,_0x2aaaae){var _0x51eb36=_0x1f161f+(_0x1f890d&_0x57e879|_0x47b621&~_0x57e879)+_0x3ebda3+_0x2aaaae;return(_0x51eb36<<_0x1daa69|_0x51eb36>>>0x20-_0x1daa69)+_0x1f890d;}function _0x6fac47(_0x5a4189,_0x5ca3ac,_0x3ebdea,_0x747b03,_0x49ab39,_0x41a817,_0x463971){var _0x5f2fe3=_0x5a4189+(_0x5ca3ac^_0x3ebdea^_0x747b03)+_0x49ab39+_0x463971;return(_0x5f2fe3<<_0x41a817|_0x5f2fe3>>>0x20-_0x41a817)+_0x5ca3ac;}function _0x7e96ed(_0x507740,_0x3509c7,_0x21b086,_0xcfe713,_0x2cc1a7,_0x115fce,_0x2537d4){var _0x2af033=_0x507740+(_0x21b086^(_0x3509c7|~_0xcfe713))+_0x2cc1a7+_0x2537d4;return(_0x2af033<<_0x115fce|_0x2af033>>>0x20-_0x115fce)+_0x3509c7;}_0x286be0[_0x272ee6(0x11b)]=_0xb8add7[_0x272ee6(0x1f2)](_0xb2ffd1),_0x286be0[_0x272ee6(0xf6)]=_0xb8add7[_0x272ee6(0x4f2)](_0xb2ffd1);}(Math),_0x11c86f['MD5'];}));}(_0x42cd88)),_0x42cd88[_0x3b5854(0x9f)];}var _0xf932ba={'exports':{}},_0x26e805={'exports':{}},_0x322edd;function _0x1e45e3(){const _0x290f51=_0x3965c0;return _0x322edd||(_0x322edd=0x1,function(_0x6c73af,_0x52f395){(function(_0x3b4cf0,_0x3bb113){const _0x44b452=_0x18dd;_0x6c73af[_0x44b452(0x9f)]=_0x3bb113(_0x347990());}(_0x1823d3,function(_0x1ffbbf){const _0x372e92=_0x18dd;return(function(){const _0x35a745=_0x18dd;var _0xef6b0e=_0x1ffbbf,_0x1d2f9b=_0xef6b0e['lib'],_0x20d669=_0x1d2f9b[_0x35a745(0x45e)],_0x2ac1f7=_0x1d2f9b['Hasher'],_0x3487e8=_0xef6b0e[_0x35a745(0x43c)],_0x49c0e0=[],_0x6946f7=_0x3487e8[_0x35a745(0x319)]=_0x2ac1f7[_0x35a745(0x33a)]({'_doReset':function(){const _0x1a9810=_0x35a745;this[_0x1a9810(0x154)]=new _0x20d669[(_0x1a9810(0x2be))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x257b69,_0x4eeb96){const _0x22ab79=_0x35a745;for(var _0x15faaa=this[_0x22ab79(0x154)][_0x22ab79(0x298)],_0x2973b9=_0x15faaa[0x0],_0x4d413b=_0x15faaa[0x1],_0x5e33a7=_0x15faaa[0x2],_0x22b850=_0x15faaa[0x3],_0x161594=_0x15faaa[0x4],_0x8a9734=0x0;_0x8a9734<0x50;_0x8a9734++){if(_0x8a9734<0x10)_0x49c0e0[_0x8a9734]=_0x257b69[_0x4eeb96+_0x8a9734]|0x0;else{var _0x1cc71f=_0x49c0e0[_0x8a9734-0x3]^_0x49c0e0[_0x8a9734-0x8]^_0x49c0e0[_0x8a9734-0xe]^_0x49c0e0[_0x8a9734-0x10];_0x49c0e0[_0x8a9734]=_0x1cc71f<<0x1|_0x1cc71f>>>0x1f;}var _0x3e24d4=(_0x2973b9<<0x5|_0x2973b9>>>0x1b)+_0x161594+_0x49c0e0[_0x8a9734];_0x8a9734<0x14?_0x3e24d4+=(_0x4d413b&_0x5e33a7|~_0x4d413b&_0x22b850)+0x5a827999:_0x8a9734<0x28?_0x3e24d4+=(_0x4d413b^_0x5e33a7^_0x22b850)+0x6ed9eba1:_0x8a9734<0x3c?_0x3e24d4+=(_0x4d413b&_0x5e33a7|_0x4d413b&_0x22b850|_0x5e33a7&_0x22b850)-0x70e44324:_0x3e24d4+=(_0x4d413b^_0x5e33a7^_0x22b850)-0x359d3e2a,_0x161594=_0x22b850,_0x22b850=_0x5e33a7,_0x5e33a7=_0x4d413b<<0x1e|_0x4d413b>>>0x2,_0x4d413b=_0x2973b9,_0x2973b9=_0x3e24d4;}_0x15faaa[0x0]=_0x15faaa[0x0]+_0x2973b9|0x0,_0x15faaa[0x1]=_0x15faaa[0x1]+_0x4d413b|0x0,_0x15faaa[0x2]=_0x15faaa[0x2]+_0x5e33a7|0x0,_0x15faaa[0x3]=_0x15faaa[0x3]+_0x22b850|0x0,_0x15faaa[0x4]=_0x15faaa[0x4]+_0x161594|0x0;},'_doFinalize':function(){const _0x9e1c36=_0x35a745;var _0x2c1f60=this[_0x9e1c36(0x34a)],_0x531922=_0x2c1f60['words'],_0x4e60b4=this[_0x9e1c36(0x136)]*0x8,_0x27214d=_0x2c1f60[_0x9e1c36(0x3ed)]*0x8;return _0x531922[_0x27214d>>>0x5]|=0x80<<0x18-_0x27214d%0x20,_0x531922[(_0x27214d+0x40>>>0x9<<0x4)+0xe]=Math[_0x9e1c36(0x3ba)](_0x4e60b4/0x100000000),_0x531922[(_0x27214d+0x40>>>0x9<<0x4)+0xf]=_0x4e60b4,_0x2c1f60['sigBytes']=_0x531922[_0x9e1c36(0x2af)]*0x4,this[_0x9e1c36(0x303)](),this[_0x9e1c36(0x154)];},'clone':function(){const _0x33e122=_0x35a745;var _0x146a6a=_0x2ac1f7[_0x33e122(0x4f8)]['call'](this);return _0x146a6a[_0x33e122(0x154)]=this[_0x33e122(0x154)][_0x33e122(0x4f8)](),_0x146a6a;}});_0xef6b0e[_0x35a745(0x319)]=_0x2ac1f7['_createHelper'](_0x6946f7),_0xef6b0e[_0x35a745(0x288)]=_0x2ac1f7['_createHmacHelper'](_0x6946f7);}()),_0x1ffbbf[_0x372e92(0x319)];}));}(_0x26e805)),_0x26e805[_0x290f51(0x9f)];}var _0x57c75e={'exports':{}},_0x43d6b2;function _0x47bd41(){return _0x43d6b2||(_0x43d6b2=0x1,function(_0x4d192a,_0x39c3eb){(function(_0xf8632f,_0x33a8f3){const _0x4f0cde=_0x18dd;_0x4d192a[_0x4f0cde(0x9f)]=_0x33a8f3(_0x347990());}(_0x1823d3,function(_0x4a2a73){(function(){const _0x5509e7=_0x18dd;var _0x23095c=_0x4a2a73,_0x18e468=_0x23095c['lib'],_0x14729f=_0x18e468[_0x5509e7(0x482)],_0x47772b=_0x23095c[_0x5509e7(0x55c)],_0x4aa9b4=_0x47772b[_0x5509e7(0x3db)],_0x1fc7b2=_0x23095c['algo'];_0x1fc7b2[_0x5509e7(0x3d0)]=_0x14729f[_0x5509e7(0x33a)]({'init':function(_0x4f7c8e,_0x2515ca){const _0x4fd96c=_0x5509e7;_0x4f7c8e=this[_0x4fd96c(0x3c6)]=new _0x4f7c8e[(_0x4fd96c(0x2be))](),typeof _0x2515ca==_0x4fd96c(0x106)&&(_0x2515ca=_0x4aa9b4[_0x4fd96c(0x563)](_0x2515ca));var _0x40881a=_0x4f7c8e[_0x4fd96c(0x4f6)],_0x1800f7=_0x40881a*0x4;_0x2515ca['sigBytes']>_0x1800f7&&(_0x2515ca=_0x4f7c8e[_0x4fd96c(0x259)](_0x2515ca)),_0x2515ca[_0x4fd96c(0x3c9)]();for(var _0x172eeb=this[_0x4fd96c(0x42c)]=_0x2515ca['clone'](),_0x939357=this[_0x4fd96c(0x392)]=_0x2515ca[_0x4fd96c(0x4f8)](),_0x21c678=_0x172eeb['words'],_0x416fe0=_0x939357[_0x4fd96c(0x298)],_0x42037e=0x0;_0x42037e<_0x40881a;_0x42037e++)_0x21c678[_0x42037e]^=0x5c5c5c5c,_0x416fe0[_0x42037e]^=0x36363636;_0x172eeb[_0x4fd96c(0x3ed)]=_0x939357[_0x4fd96c(0x3ed)]=_0x1800f7,this[_0x4fd96c(0x34e)]();},'reset':function(){const _0x37ea28=_0x5509e7;var _0x3a6425=this[_0x37ea28(0x3c6)];_0x3a6425[_0x37ea28(0x34e)](),_0x3a6425[_0x37ea28(0x47d)](this['_iKey']);},'update':function(_0xc331ee){const _0x20502b=_0x5509e7;return this[_0x20502b(0x3c6)]['update'](_0xc331ee),this;},'finalize':function(_0x1d08eb){const _0x416b33=_0x5509e7;var _0x575df7=this[_0x416b33(0x3c6)],_0x2d335f=_0x575df7[_0x416b33(0x259)](_0x1d08eb);_0x575df7[_0x416b33(0x34e)]();var _0x410561=_0x575df7[_0x416b33(0x259)](this[_0x416b33(0x42c)]['clone']()['concat'](_0x2d335f));return _0x410561;}});}());}));}(_0x57c75e)),_0x57c75e['exports'];}var _0x4c9f27;function _0x3a8fa9(){const _0x4ab3f3=_0x3965c0;return _0x4c9f27||(_0x4c9f27=0x1,function(_0x4c17dd,_0x3be4c5){(function(_0x46c53d,_0x283954,_0x25f2ca){const _0x5ee005=_0x18dd;_0x4c17dd[_0x5ee005(0x9f)]=_0x283954(_0x347990(),_0x1e45e3(),_0x47bd41());}(_0x1823d3,function(_0x1bc9a6){return(function(){const _0xd4803a=_0x18dd;var _0x1d7721=_0x1bc9a6,_0x107c6e=_0x1d7721['lib'],_0x132197=_0x107c6e['Base'],_0x27a119=_0x107c6e[_0xd4803a(0x45e)],_0x466d2c=_0x1d7721[_0xd4803a(0x43c)],_0xba6c4=_0x466d2c[_0xd4803a(0x11b)],_0x106a62=_0x466d2c[_0xd4803a(0x199)]=_0x132197[_0xd4803a(0x33a)]({'cfg':_0x132197[_0xd4803a(0x33a)]({'keySize':0x80/0x20,'hasher':_0xba6c4,'iterations':0x1}),'init':function(_0x5547cf){const _0x1a0ebf=_0xd4803a;this[_0x1a0ebf(0x212)]=this['cfg'][_0x1a0ebf(0x33a)](_0x5547cf);},'compute':function(_0x4514e3,_0x1d3d55){const _0x4cc84d=_0xd4803a;for(var _0x444bca,_0x1baf9c=this[_0x4cc84d(0x212)],_0x859f70=_0x1baf9c[_0x4cc84d(0x2e7)][_0x4cc84d(0x404)](),_0x1ba03d=_0x27a119[_0x4cc84d(0x404)](),_0x53d5fb=_0x1ba03d[_0x4cc84d(0x298)],_0x5ede68=_0x1baf9c[_0x4cc84d(0x31c)],_0x48cf40=_0x1baf9c['iterations'];_0x53d5fb['length']<_0x5ede68;){_0x444bca&&_0x859f70['update'](_0x444bca),_0x444bca=_0x859f70[_0x4cc84d(0x47d)](_0x4514e3)['finalize'](_0x1d3d55),_0x859f70[_0x4cc84d(0x34e)]();for(var _0x2ec5dc=0x1;_0x2ec5dc<_0x48cf40;_0x2ec5dc++)_0x444bca=_0x859f70[_0x4cc84d(0x259)](_0x444bca),_0x859f70[_0x4cc84d(0x34e)]();_0x1ba03d[_0x4cc84d(0x541)](_0x444bca);}return _0x1ba03d[_0x4cc84d(0x3ed)]=_0x5ede68*0x4,_0x1ba03d;}});_0x1d7721[_0xd4803a(0x199)]=function(_0x216f12,_0x19eb95,_0x2d3627){const _0x55021a=_0xd4803a;return _0x106a62['create'](_0x2d3627)[_0x55021a(0xb7)](_0x216f12,_0x19eb95);};}()),_0x1bc9a6['EvpKDF'];}));}(_0xf932ba)),_0xf932ba[_0x4ab3f3(0x9f)];}var _0x28cc90={'exports':{}},_0xe4974b;function _0x47dbe9(){const _0x58ef74=_0x3965c0;return _0xe4974b||(_0xe4974b=0x1,function(_0x5c9b90,_0x277ae8){(function(_0x1eb5e9,_0x1b1605,_0x4e2415){const _0x2774bc=_0x18dd;_0x5c9b90[_0x2774bc(0x9f)]=_0x1b1605(_0x347990(),_0x3a8fa9());}(_0x1823d3,function(_0x4486d1){const _0x367183=_0x18dd;_0x4486d1[_0x367183(0x3f4)][_0x367183(0x23d)]||function(_0x4325d3){const _0x492d77=_0x367183;var _0x35a1c3=_0x4486d1,_0x10ec3a=_0x35a1c3[_0x492d77(0x3f4)],_0x39c44e=_0x10ec3a[_0x492d77(0x482)],_0x36c98a=_0x10ec3a[_0x492d77(0x45e)],_0x3d9b15=_0x10ec3a[_0x492d77(0x45b)],_0x4ea95b=_0x35a1c3[_0x492d77(0x55c)];_0x4ea95b['Utf8'];var _0x594627=_0x4ea95b[_0x492d77(0x287)],_0x3e94c4=_0x35a1c3[_0x492d77(0x43c)],_0x4c5114=_0x3e94c4[_0x492d77(0x199)],_0x2c4ce1=_0x10ec3a[_0x492d77(0x23d)]=_0x3d9b15[_0x492d77(0x33a)]({'cfg':_0x39c44e[_0x492d77(0x33a)](),'createEncryptor':function(_0x5a8fa8,_0x4f8269){const _0x58dc11=_0x492d77;return this['create'](this[_0x58dc11(0x29c)],_0x5a8fa8,_0x4f8269);},'createDecryptor':function(_0x54fd49,_0x3465e1){const _0x5cbe22=_0x492d77;return this[_0x5cbe22(0x404)](this[_0x5cbe22(0x39c)],_0x54fd49,_0x3465e1);},'init':function(_0x775922,_0x22e408,_0x502e66){const _0x4a6b4e=_0x492d77;this['cfg']=this[_0x4a6b4e(0x212)][_0x4a6b4e(0x33a)](_0x502e66),this['_xformMode']=_0x775922,this[_0x4a6b4e(0x567)]=_0x22e408,this[_0x4a6b4e(0x34e)]();},'reset':function(){const _0x5d90cb=_0x492d77;_0x3d9b15[_0x5d90cb(0x34e)][_0x5d90cb(0x4ec)](this),this[_0x5d90cb(0x3f8)]();},'process':function(_0xb324d4){const _0x42e89e=_0x492d77;return this[_0x42e89e(0x4d6)](_0xb324d4),this[_0x42e89e(0x303)]();},'finalize':function(_0x49fd49){const _0x3e5509=_0x492d77;_0x49fd49&&this[_0x3e5509(0x4d6)](_0x49fd49);var _0x1faa34=this[_0x3e5509(0x31d)]();return _0x1faa34;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x12c455(_0x5b3dce){return typeof _0x5b3dce=='string'?_0x1892b9:_0x3dc2d2;}return function(_0x341143){return{'encrypt':function(_0x273ccb,_0x1c5a3e,_0x52d8bf){const _0x213ea6=_0x18dd;return _0x12c455(_0x1c5a3e)[_0x213ea6(0x13d)](_0x341143,_0x273ccb,_0x1c5a3e,_0x52d8bf);},'decrypt':function(_0x456235,_0x43dd6c,_0xb91af6){const _0x38d5bc=_0x18dd;return _0x12c455(_0x43dd6c)[_0x38d5bc(0x246)](_0x341143,_0x456235,_0x43dd6c,_0xb91af6);}};};}())});_0x10ec3a[_0x492d77(0x4f1)]=_0x2c4ce1[_0x492d77(0x33a)]({'_doFinalize':function(){const _0x2e234b=_0x492d77;var _0x546b82=this[_0x2e234b(0x303)](!0x0);return _0x546b82;},'blockSize':0x1});var _0x4b66e1=_0x35a1c3['mode']={},_0x52785d=_0x10ec3a[_0x492d77(0x39e)]=_0x39c44e[_0x492d77(0x33a)]({'createEncryptor':function(_0x5454fa,_0x2059b){const _0x3b9ad6=_0x492d77;return this['Encryptor'][_0x3b9ad6(0x404)](_0x5454fa,_0x2059b);},'createDecryptor':function(_0x40c172,_0x3705da){const _0x4d5422=_0x492d77;return this[_0x4d5422(0x132)][_0x4d5422(0x404)](_0x40c172,_0x3705da);},'init':function(_0xb084ff,_0x58b2f3){this['_cipher']=_0xb084ff,this['_iv']=_0x58b2f3;}}),_0x5727a0=_0x4b66e1[_0x492d77(0x29e)]=(function(){const _0x2844b8=_0x492d77;var _0x2d3ccb=_0x52785d[_0x2844b8(0x33a)]();_0x2d3ccb[_0x2844b8(0x376)]=_0x2d3ccb[_0x2844b8(0x33a)]({'processBlock':function(_0x486d9f,_0x521dc3){const _0x5c0bc1=_0x2844b8;var _0x3b0863=this[_0x5c0bc1(0x3c1)],_0x5229de=_0x3b0863[_0x5c0bc1(0x4f6)];_0x5db971[_0x5c0bc1(0x4ec)](this,_0x486d9f,_0x521dc3,_0x5229de),_0x3b0863[_0x5c0bc1(0x3e5)](_0x486d9f,_0x521dc3),this[_0x5c0bc1(0x2d6)]=_0x486d9f[_0x5c0bc1(0x32e)](_0x521dc3,_0x521dc3+_0x5229de);}}),_0x2d3ccb['Decryptor']=_0x2d3ccb['extend']({'processBlock':function(_0x217c0f,_0x5e7111){const _0x4321b5=_0x2844b8;var _0x236dc8=this[_0x4321b5(0x3c1)],_0xf43e30=_0x236dc8['blockSize'],_0x368a51=_0x217c0f[_0x4321b5(0x32e)](_0x5e7111,_0x5e7111+_0xf43e30);_0x236dc8[_0x4321b5(0xcc)](_0x217c0f,_0x5e7111),_0x5db971[_0x4321b5(0x4ec)](this,_0x217c0f,_0x5e7111,_0xf43e30),this[_0x4321b5(0x2d6)]=_0x368a51;}});function _0x5db971(_0x24c988,_0x15c1b3,_0x3d9ac0){const _0x1a0be3=_0x2844b8;var _0x3cee50,_0x5a1fcf=this[_0x1a0be3(0x477)];_0x5a1fcf?(_0x3cee50=_0x5a1fcf,this['_iv']=_0x4325d3):_0x3cee50=this['_prevBlock'];for(var _0x1625c8=0x0;_0x1625c8<_0x3d9ac0;_0x1625c8++)_0x24c988[_0x15c1b3+_0x1625c8]^=_0x3cee50[_0x1625c8];}return _0x2d3ccb;}()),_0x145bda=_0x35a1c3['pad']={},_0x548640=_0x145bda[_0x492d77(0x142)]={'pad':function(_0x409afd,_0x30f225){const _0x4601ea=_0x492d77;for(var _0x2d2f3a=_0x30f225*0x4,_0x4b247b=_0x2d2f3a-_0x409afd['sigBytes']%_0x2d2f3a,_0x56e9f6=_0x4b247b<<0x18|_0x4b247b<<0x10|_0x4b247b<<0x8|_0x4b247b,_0x360734=[],_0x4b9fcd=0x0;_0x4b9fcd<_0x4b247b;_0x4b9fcd+=0x4)_0x360734[_0x4601ea(0x25f)](_0x56e9f6);var _0x232546=_0x36c98a[_0x4601ea(0x404)](_0x360734,_0x4b247b);_0x409afd['concat'](_0x232546);},'unpad':function(_0x41b910){const _0x986e07=_0x492d77;var _0x4ee8d3=_0x41b910[_0x986e07(0x298)][_0x41b910[_0x986e07(0x3ed)]-0x1>>>0x2]&0xff;_0x41b910[_0x986e07(0x3ed)]-=_0x4ee8d3;}};_0x10ec3a[_0x492d77(0x377)]=_0x2c4ce1[_0x492d77(0x33a)]({'cfg':_0x2c4ce1[_0x492d77(0x212)][_0x492d77(0x33a)]({'mode':_0x5727a0,'padding':_0x548640}),'reset':function(){const _0x22d335=_0x492d77;var _0x14d571;_0x2c4ce1[_0x22d335(0x34e)][_0x22d335(0x4ec)](this);var _0x1072f5=this[_0x22d335(0x212)],_0x3bdb5b=_0x1072f5['iv'],_0xe7b07=_0x1072f5[_0x22d335(0x468)];this[_0x22d335(0x125)]==this[_0x22d335(0x29c)]?_0x14d571=_0xe7b07[_0x22d335(0x182)]:(_0x14d571=_0xe7b07['createDecryptor'],this['_minBufferSize']=0x1),this['_mode']&&this[_0x22d335(0x230)][_0x22d335(0x3d8)]==_0x14d571?this[_0x22d335(0x230)][_0x22d335(0x2be)](this,_0x3bdb5b&&_0x3bdb5b[_0x22d335(0x298)]):(this['_mode']=_0x14d571[_0x22d335(0x4ec)](_0xe7b07,this,_0x3bdb5b&&_0x3bdb5b[_0x22d335(0x298)]),this['_mode']['__creator']=_0x14d571);},'_doProcessBlock':function(_0x321a79,_0xdca2c8){const _0x2d8719=_0x492d77;this[_0x2d8719(0x230)]['processBlock'](_0x321a79,_0xdca2c8);},'_doFinalize':function(){const _0x3943a5=_0x492d77;var _0x4200aa,_0x22194e=this['cfg'][_0x3943a5(0x440)];return this[_0x3943a5(0x125)]==this[_0x3943a5(0x29c)]?(_0x22194e['pad'](this[_0x3943a5(0x34a)],this[_0x3943a5(0x4f6)]),_0x4200aa=this[_0x3943a5(0x303)](!0x0)):(_0x4200aa=this[_0x3943a5(0x303)](!0x0),_0x22194e['unpad'](_0x4200aa)),_0x4200aa;},'blockSize':0x80/0x20});var _0x4b3dc6=_0x10ec3a[_0x492d77(0x368)]=_0x39c44e[_0x492d77(0x33a)]({'init':function(_0x17a30c){const _0x44d13a=_0x492d77;this[_0x44d13a(0x138)](_0x17a30c);},'toString':function(_0x3b5759){const _0x3130e3=_0x492d77;return(_0x3b5759||this['formatter'])[_0x3130e3(0x487)](this);}}),_0x3d7cf3=_0x35a1c3[_0x492d77(0x304)]={},_0xc56769=_0x3d7cf3[_0x492d77(0x4e7)]={'stringify':function(_0x2b0d2c){const _0x6c015f=_0x492d77;var _0x38dea0,_0x47b28c=_0x2b0d2c[_0x6c015f(0x359)],_0x3b6849=_0x2b0d2c['salt'];return _0x3b6849?_0x38dea0=_0x36c98a[_0x6c015f(0x404)]([0x53616c74,0x65645f5f])[_0x6c015f(0x541)](_0x3b6849)[_0x6c015f(0x541)](_0x47b28c):_0x38dea0=_0x47b28c,_0x38dea0[_0x6c015f(0x4df)](_0x594627);},'parse':function(_0x24d68){const _0x207c1b=_0x492d77;var _0x24112a,_0x3ee21f=_0x594627[_0x207c1b(0x563)](_0x24d68),_0x37171b=_0x3ee21f[_0x207c1b(0x298)];return _0x37171b[0x0]==0x53616c74&&_0x37171b[0x1]==0x65645f5f&&(_0x24112a=_0x36c98a[_0x207c1b(0x404)](_0x37171b[_0x207c1b(0x32e)](0x2,0x4)),_0x37171b[_0x207c1b(0x2e6)](0x0,0x4),_0x3ee21f[_0x207c1b(0x3ed)]-=0x10),_0x4b3dc6[_0x207c1b(0x404)]({'ciphertext':_0x3ee21f,'salt':_0x24112a});}},_0x3dc2d2=_0x10ec3a[_0x492d77(0x2a8)]=_0x39c44e[_0x492d77(0x33a)]({'cfg':_0x39c44e['extend']({'format':_0xc56769}),'encrypt':function(_0x50086b,_0x125782,_0x4801e5,_0x479b6f){const _0x37cfd7=_0x492d77;_0x479b6f=this['cfg'][_0x37cfd7(0x33a)](_0x479b6f);var _0x508b78=_0x50086b['createEncryptor'](_0x4801e5,_0x479b6f),_0x45aec8=_0x508b78['finalize'](_0x125782),_0x1df78a=_0x508b78[_0x37cfd7(0x212)];return _0x4b3dc6[_0x37cfd7(0x404)]({'ciphertext':_0x45aec8,'key':_0x4801e5,'iv':_0x1df78a['iv'],'algorithm':_0x50086b,'mode':_0x1df78a[_0x37cfd7(0x468)],'padding':_0x1df78a[_0x37cfd7(0x440)],'blockSize':_0x50086b[_0x37cfd7(0x4f6)],'formatter':_0x479b6f[_0x37cfd7(0x304)]});},'decrypt':function(_0x57d9a9,_0x581226,_0x12551d,_0x5461c9){const _0x4196bd=_0x492d77;_0x5461c9=this[_0x4196bd(0x212)][_0x4196bd(0x33a)](_0x5461c9),_0x581226=this['_parse'](_0x581226,_0x5461c9[_0x4196bd(0x304)]);var _0x95fd85=_0x57d9a9['createDecryptor'](_0x12551d,_0x5461c9)[_0x4196bd(0x259)](_0x581226[_0x4196bd(0x359)]);return _0x95fd85;},'_parse':function(_0xfe885c,_0x4c5152){const _0x33d821=_0x492d77;return typeof _0xfe885c==_0x33d821(0x106)?_0x4c5152['parse'](_0xfe885c,this):_0xfe885c;}}),_0xe8717f=_0x35a1c3[_0x492d77(0x1d7)]={},_0x37ea20=_0xe8717f[_0x492d77(0x4e7)]={'execute':function(_0x2af310,_0x36ce55,_0xc771dc,_0x59ca21,_0x2433b9){const _0x3089f1=_0x492d77;if(_0x59ca21||(_0x59ca21=_0x36c98a[_0x3089f1(0x2c9)](0x40/0x8)),_0x2433b9)var _0x33f6b1=_0x4c5114['create']({'keySize':_0x36ce55+_0xc771dc,'hasher':_0x2433b9})[_0x3089f1(0xb7)](_0x2af310,_0x59ca21);else var _0x33f6b1=_0x4c5114[_0x3089f1(0x404)]({'keySize':_0x36ce55+_0xc771dc})[_0x3089f1(0xb7)](_0x2af310,_0x59ca21);var _0x5053c7=_0x36c98a['create'](_0x33f6b1[_0x3089f1(0x298)][_0x3089f1(0x32e)](_0x36ce55),_0xc771dc*0x4);return _0x33f6b1[_0x3089f1(0x3ed)]=_0x36ce55*0x4,_0x4b3dc6['create']({'key':_0x33f6b1,'iv':_0x5053c7,'salt':_0x59ca21});}},_0x1892b9=_0x10ec3a['PasswordBasedCipher']=_0x3dc2d2[_0x492d77(0x33a)]({'cfg':_0x3dc2d2[_0x492d77(0x212)][_0x492d77(0x33a)]({'kdf':_0x37ea20}),'encrypt':function(_0xad42ca,_0x5a9de2,_0x440996,_0x3849cb){const _0x39a859=_0x492d77;_0x3849cb=this['cfg'][_0x39a859(0x33a)](_0x3849cb);var _0x49bdae=_0x3849cb[_0x39a859(0x1d7)][_0x39a859(0x4eb)](_0x440996,_0xad42ca['keySize'],_0xad42ca[_0x39a859(0x46c)],_0x3849cb[_0x39a859(0x55e)],_0x3849cb['hasher']);_0x3849cb['iv']=_0x49bdae['iv'];var _0x58bddc=_0x3dc2d2[_0x39a859(0x13d)][_0x39a859(0x4ec)](this,_0xad42ca,_0x5a9de2,_0x49bdae['key'],_0x3849cb);return _0x58bddc['mixIn'](_0x49bdae),_0x58bddc;},'decrypt':function(_0x1e1b79,_0x5b44ed,_0x4f35da,_0x7117a0){const _0x1b9443=_0x492d77;_0x7117a0=this[_0x1b9443(0x212)][_0x1b9443(0x33a)](_0x7117a0),_0x5b44ed=this['_parse'](_0x5b44ed,_0x7117a0['format']);var _0x4a47f4=_0x7117a0[_0x1b9443(0x1d7)][_0x1b9443(0x4eb)](_0x4f35da,_0x1e1b79[_0x1b9443(0x31c)],_0x1e1b79[_0x1b9443(0x46c)],_0x5b44ed['salt'],_0x7117a0[_0x1b9443(0x2e7)]);_0x7117a0['iv']=_0x4a47f4['iv'];var _0x490d5b=_0x3dc2d2[_0x1b9443(0x246)][_0x1b9443(0x4ec)](this,_0x1e1b79,_0x5b44ed,_0x4a47f4[_0x1b9443(0x384)],_0x7117a0);return _0x490d5b;}});}();}));}(_0x28cc90)),_0x28cc90[_0x58ef74(0x9f)];}(function(_0x38d6b2,_0x1f05e5){(function(_0x2a8362,_0x54bc77,_0x457083){const _0x4d7546=_0x18dd;_0x38d6b2[_0x4d7546(0x9f)]=_0x54bc77(_0x347990(),_0x5e91dd(),_0x45b632(),_0x3a8fa9(),_0x47dbe9());}(_0x1823d3,function(_0x4740b0){const _0x4be67f=_0x18dd;return(function(){const _0x11872c=_0x18dd;var _0x4d95fa=_0x4740b0,_0x964b60=_0x4d95fa[_0x11872c(0x3f4)],_0x343f58=_0x964b60[_0x11872c(0x377)],_0x4348b2=_0x4d95fa['algo'],_0x1ca6d1=[],_0x531a98=[],_0x12407a=[],_0x317a14=[],_0x5e837a=[],_0x1b4cdf=[],_0x186ecf=[],_0x217e58=[],_0x59f6c9=[],_0x83c435=[];(function(){for(var _0x52e640=[],_0x45918a=0x0;_0x45918a<0x100;_0x45918a++)_0x45918a<0x80?_0x52e640[_0x45918a]=_0x45918a<<0x1:_0x52e640[_0x45918a]=_0x45918a<<0x1^0x11b;for(var _0x2a4e8b=0x0,_0x56360c=0x0,_0x45918a=0x0;_0x45918a<0x100;_0x45918a++){var _0x2d59d3=_0x56360c^_0x56360c<<0x1^_0x56360c<<0x2^_0x56360c<<0x3^_0x56360c<<0x4;_0x2d59d3=_0x2d59d3>>>0x8^_0x2d59d3&0xff^0x63,_0x1ca6d1[_0x2a4e8b]=_0x2d59d3,_0x531a98[_0x2d59d3]=_0x2a4e8b;var _0x1a9dfc=_0x52e640[_0x2a4e8b],_0x147335=_0x52e640[_0x1a9dfc],_0x11b879=_0x52e640[_0x147335],_0x52a836=_0x52e640[_0x2d59d3]*0x101^_0x2d59d3*0x1010100;_0x12407a[_0x2a4e8b]=_0x52a836<<0x18|_0x52a836>>>0x8,_0x317a14[_0x2a4e8b]=_0x52a836<<0x10|_0x52a836>>>0x10,_0x5e837a[_0x2a4e8b]=_0x52a836<<0x8|_0x52a836>>>0x18,_0x1b4cdf[_0x2a4e8b]=_0x52a836;var _0x52a836=_0x11b879*0x1010101^_0x147335*0x10001^_0x1a9dfc*0x101^_0x2a4e8b*0x1010100;_0x186ecf[_0x2d59d3]=_0x52a836<<0x18|_0x52a836>>>0x8,_0x217e58[_0x2d59d3]=_0x52a836<<0x10|_0x52a836>>>0x10,_0x59f6c9[_0x2d59d3]=_0x52a836<<0x8|_0x52a836>>>0x18,_0x83c435[_0x2d59d3]=_0x52a836,_0x2a4e8b?(_0x2a4e8b=_0x1a9dfc^_0x52e640[_0x52e640[_0x52e640[_0x11b879^_0x1a9dfc]]],_0x56360c^=_0x52e640[_0x52e640[_0x56360c]]):_0x2a4e8b=_0x56360c=0x1;}}());var _0x157f54=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x28fb21=_0x4348b2[_0x11872c(0x2e9)]=_0x343f58[_0x11872c(0x33a)]({'_doReset':function(){const _0xbd9359=_0x11872c;var _0x4d1845;if(!(this[_0xbd9359(0x216)]&&this[_0xbd9359(0x37a)]===this[_0xbd9359(0x567)])){for(var _0x43b55b=this[_0xbd9359(0x37a)]=this[_0xbd9359(0x567)],_0x49ef38=_0x43b55b[_0xbd9359(0x298)],_0x4a18bd=_0x43b55b[_0xbd9359(0x3ed)]/0x4,_0x46cfba=this[_0xbd9359(0x216)]=_0x4a18bd+0x6,_0x108d80=(_0x46cfba+0x1)*0x4,_0xacbde=this['_keySchedule']=[],_0x53d0e0=0x0;_0x53d0e0<_0x108d80;_0x53d0e0++)_0x53d0e0<_0x4a18bd?_0xacbde[_0x53d0e0]=_0x49ef38[_0x53d0e0]:(_0x4d1845=_0xacbde[_0x53d0e0-0x1],_0x53d0e0%_0x4a18bd?_0x4a18bd>0x6&&_0x53d0e0%_0x4a18bd==0x4&&(_0x4d1845=_0x1ca6d1[_0x4d1845>>>0x18]<<0x18|_0x1ca6d1[_0x4d1845>>>0x10&0xff]<<0x10|_0x1ca6d1[_0x4d1845>>>0x8&0xff]<<0x8|_0x1ca6d1[_0x4d1845&0xff]):(_0x4d1845=_0x4d1845<<0x8|_0x4d1845>>>0x18,_0x4d1845=_0x1ca6d1[_0x4d1845>>>0x18]<<0x18|_0x1ca6d1[_0x4d1845>>>0x10&0xff]<<0x10|_0x1ca6d1[_0x4d1845>>>0x8&0xff]<<0x8|_0x1ca6d1[_0x4d1845&0xff],_0x4d1845^=_0x157f54[_0x53d0e0/_0x4a18bd|0x0]<<0x18),_0xacbde[_0x53d0e0]=_0xacbde[_0x53d0e0-_0x4a18bd]^_0x4d1845);for(var _0x300454=this[_0xbd9359(0x493)]=[],_0xf106c4=0x0;_0xf106c4<_0x108d80;_0xf106c4++){var _0x53d0e0=_0x108d80-_0xf106c4;if(_0xf106c4%0x4)var _0x4d1845=_0xacbde[_0x53d0e0];else var _0x4d1845=_0xacbde[_0x53d0e0-0x4];_0xf106c4<0x4||_0x53d0e0<=0x4?_0x300454[_0xf106c4]=_0x4d1845:_0x300454[_0xf106c4]=_0x186ecf[_0x1ca6d1[_0x4d1845>>>0x18]]^_0x217e58[_0x1ca6d1[_0x4d1845>>>0x10&0xff]]^_0x59f6c9[_0x1ca6d1[_0x4d1845>>>0x8&0xff]]^_0x83c435[_0x1ca6d1[_0x4d1845&0xff]];}}},'encryptBlock':function(_0x4442f7,_0x20266f){const _0x1efb2f=_0x11872c;this[_0x1efb2f(0x3c7)](_0x4442f7,_0x20266f,this['_keySchedule'],_0x12407a,_0x317a14,_0x5e837a,_0x1b4cdf,_0x1ca6d1);},'decryptBlock':function(_0x47564d,_0xc93fac){const _0x3e7729=_0x11872c;var _0x4dfe53=_0x47564d[_0xc93fac+0x1];_0x47564d[_0xc93fac+0x1]=_0x47564d[_0xc93fac+0x3],_0x47564d[_0xc93fac+0x3]=_0x4dfe53,this[_0x3e7729(0x3c7)](_0x47564d,_0xc93fac,this[_0x3e7729(0x493)],_0x186ecf,_0x217e58,_0x59f6c9,_0x83c435,_0x531a98);var _0x4dfe53=_0x47564d[_0xc93fac+0x1];_0x47564d[_0xc93fac+0x1]=_0x47564d[_0xc93fac+0x3],_0x47564d[_0xc93fac+0x3]=_0x4dfe53;},'_doCryptBlock':function(_0x1cc50b,_0x3cc5f3,_0x4640a9,_0x5716b8,_0x202a92,_0x42309b,_0x31f7d0,_0x3c13cd){const _0x385fa8=_0x11872c;for(var _0x575b3a=this[_0x385fa8(0x216)],_0xd78361=_0x1cc50b[_0x3cc5f3]^_0x4640a9[0x0],_0x4b4bf9=_0x1cc50b[_0x3cc5f3+0x1]^_0x4640a9[0x1],_0x114ab6=_0x1cc50b[_0x3cc5f3+0x2]^_0x4640a9[0x2],_0x16439b=_0x1cc50b[_0x3cc5f3+0x3]^_0x4640a9[0x3],_0x451937=0x4,_0x486ecb=0x1;_0x486ecb<_0x575b3a;_0x486ecb++){var _0x4a2eac=_0x5716b8[_0xd78361>>>0x18]^_0x202a92[_0x4b4bf9>>>0x10&0xff]^_0x42309b[_0x114ab6>>>0x8&0xff]^_0x31f7d0[_0x16439b&0xff]^_0x4640a9[_0x451937++],_0x4f77dd=_0x5716b8[_0x4b4bf9>>>0x18]^_0x202a92[_0x114ab6>>>0x10&0xff]^_0x42309b[_0x16439b>>>0x8&0xff]^_0x31f7d0[_0xd78361&0xff]^_0x4640a9[_0x451937++],_0x342799=_0x5716b8[_0x114ab6>>>0x18]^_0x202a92[_0x16439b>>>0x10&0xff]^_0x42309b[_0xd78361>>>0x8&0xff]^_0x31f7d0[_0x4b4bf9&0xff]^_0x4640a9[_0x451937++],_0x51c1f2=_0x5716b8[_0x16439b>>>0x18]^_0x202a92[_0xd78361>>>0x10&0xff]^_0x42309b[_0x4b4bf9>>>0x8&0xff]^_0x31f7d0[_0x114ab6&0xff]^_0x4640a9[_0x451937++];_0xd78361=_0x4a2eac,_0x4b4bf9=_0x4f77dd,_0x114ab6=_0x342799,_0x16439b=_0x51c1f2;}var _0x4a2eac=(_0x3c13cd[_0xd78361>>>0x18]<<0x18|_0x3c13cd[_0x4b4bf9>>>0x10&0xff]<<0x10|_0x3c13cd[_0x114ab6>>>0x8&0xff]<<0x8|_0x3c13cd[_0x16439b&0xff])^_0x4640a9[_0x451937++],_0x4f77dd=(_0x3c13cd[_0x4b4bf9>>>0x18]<<0x18|_0x3c13cd[_0x114ab6>>>0x10&0xff]<<0x10|_0x3c13cd[_0x16439b>>>0x8&0xff]<<0x8|_0x3c13cd[_0xd78361&0xff])^_0x4640a9[_0x451937++],_0x342799=(_0x3c13cd[_0x114ab6>>>0x18]<<0x18|_0x3c13cd[_0x16439b>>>0x10&0xff]<<0x10|_0x3c13cd[_0xd78361>>>0x8&0xff]<<0x8|_0x3c13cd[_0x4b4bf9&0xff])^_0x4640a9[_0x451937++],_0x51c1f2=(_0x3c13cd[_0x16439b>>>0x18]<<0x18|_0x3c13cd[_0xd78361>>>0x10&0xff]<<0x10|_0x3c13cd[_0x4b4bf9>>>0x8&0xff]<<0x8|_0x3c13cd[_0x114ab6&0xff])^_0x4640a9[_0x451937++];_0x1cc50b[_0x3cc5f3]=_0x4a2eac,_0x1cc50b[_0x3cc5f3+0x1]=_0x4f77dd,_0x1cc50b[_0x3cc5f3+0x2]=_0x342799,_0x1cc50b[_0x3cc5f3+0x3]=_0x51c1f2;},'keySize':0x100/0x20});_0x4d95fa[_0x11872c(0x2e9)]=_0x343f58[_0x11872c(0x1f2)](_0x28fb21);}()),_0x4740b0[_0x4be67f(0x2e9)];}));}(_0xe205b3));var _0x53ab28=_0xe205b3[_0x3965c0(0x9f)];const _0x1f74c2=_0x2d0268(_0x53ab28);var _0x3eff2f=_0x5e91dd();const _0x23cf7e=_0x2d0268(_0x3eff2f);var _0x16e4c2={'exports':{}};(function(_0x1c1e57,_0x200783){(function(_0x11dc42,_0x21fa72){const _0x1be9b0=_0x18dd;_0x1c1e57[_0x1be9b0(0x9f)]=_0x21fa72(_0x347990());}(_0x1823d3,function(_0x3dba68){const _0x5f2b8a=_0x18dd;return _0x3dba68[_0x5f2b8a(0x55c)][_0x5f2b8a(0x3db)];}));}(_0x16e4c2));var _0x23ea14=_0x16e4c2[_0x3965c0(0x9f)];const _0x478f7d=_0x2d0268(_0x23ea14);var _0x14675f={'exports':{}};(function(_0x4609cf,_0x1cf78e){(function(_0x209887,_0xfe7423){const _0x41e4f6=_0x18dd;_0x4609cf[_0x41e4f6(0x9f)]=_0xfe7423(_0x347990());}(_0x1823d3,function(_0x27344c){const _0x26d40e=_0x18dd;return(function(){const _0x26105c=_0x18dd;if(typeof ArrayBuffer==_0x26105c(0x311)){var _0x290a9c=_0x27344c,_0x1b827e=_0x290a9c['lib'],_0x25d06c=_0x1b827e['WordArray'],_0x1d75df=_0x25d06c[_0x26105c(0x2be)],_0xa1d1e0=_0x25d06c[_0x26105c(0x2be)]=function(_0x1b8712){const _0x30f4f2=_0x26105c;if(_0x1b8712 instanceof ArrayBuffer&&(_0x1b8712=new Uint8Array(_0x1b8712)),(_0x1b8712 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1b8712 instanceof Uint8ClampedArray||_0x1b8712 instanceof Int16Array||_0x1b8712 instanceof Uint16Array||_0x1b8712 instanceof Int32Array||_0x1b8712 instanceof Uint32Array||_0x1b8712 instanceof Float32Array||_0x1b8712 instanceof Float64Array)&&(_0x1b8712=new Uint8Array(_0x1b8712[_0x30f4f2(0xef)],_0x1b8712[_0x30f4f2(0x3de)],_0x1b8712[_0x30f4f2(0x1dd)])),_0x1b8712 instanceof Uint8Array){for(var _0x13921a=_0x1b8712[_0x30f4f2(0x1dd)],_0x12a13d=[],_0x28352b=0x0;_0x28352b<_0x13921a;_0x28352b++)_0x12a13d[_0x28352b>>>0x2]|=_0x1b8712[_0x28352b]<<0x18-_0x28352b%0x4*0x8;_0x1d75df[_0x30f4f2(0x4ec)](this,_0x12a13d,_0x13921a);}else _0x1d75df['apply'](this,arguments);};_0xa1d1e0[_0x26105c(0x198)]=_0x25d06c;}}()),_0x27344c['lib'][_0x26d40e(0x45e)];}));}(_0x14675f));var _0x408308=_0x14675f[_0x3965c0(0x9f)];const _0x370e10=_0x2d0268(_0x408308);var _0x18c993={'exports':{}};(function(_0x11ded2,_0x58a59c){(function(_0x128912,_0x5d1c37,_0x142198){const _0x3a7de7=_0x18dd;_0x11ded2[_0x3a7de7(0x9f)]=_0x5d1c37(_0x347990(),_0x47dbe9());}(_0x1823d3,function(_0x1f88f6){const _0x22705a=_0x18dd;return _0x1f88f6['pad'][_0x22705a(0x3cf)]={'pad':function(){},'unpad':function(){}},_0x1f88f6[_0x22705a(0x229)][_0x22705a(0x3cf)];}));}(_0x18c993));var _0x226319=_0x18c993[_0x3965c0(0x9f)];const _0x1a2852=_0x2d0268(_0x226319);function _0x187068(_0x591d2b,_0x40232c){const _0x32494b=_0x3965c0,_0x1fcc4a=_0x40232c-_0x591d2b[_0x32494b(0x2af)]%_0x40232c,_0x31d7ae=String['fromCharCode'](_0x1fcc4a)[_0x32494b(0x25b)](_0x1fcc4a);return _0x591d2b+_0x31d7ae;}function _0x59848f(_0x3c28c7,_0x18193e){const _0x13d622=_0x3965c0,_0x34eec4=_0x370e10[_0x13d622(0x2c9)](0x10),_0x5eee57=_0x187068(_0x3c28c7,0x10),_0x30f7df=_0x1f74c2[_0x13d622(0x13d)](_0x478f7d[_0x13d622(0x563)](_0x5eee57),_0x23cf7e[_0x13d622(0x563)](_0x18193e),{'iv':_0x34eec4,'padding':_0x1a2852});return _0x34eec4['concat'](_0x30f7df[_0x13d622(0x359)])['toString'](_0x23cf7e);}function _0x34a46c(){const _0x47ea1f=_0x3965c0,_0x53a3d5=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x47ea1f(0x425)];if(_0x53a3d5){const _0x298105={'time':Math['floor'](Date['now']()/0x3e8),'domain':location[_0x47ea1f(0x2e0)]};return _0x59848f(JSON[_0x47ea1f(0x487)](_0x298105),_0x53a3d5);}}var _0x5eda0b=Object[_0x3965c0(0x3d5)],_0x2a4bb6=Object[_0x3965c0(0x406)],_0x593aee=(_0x1d767b,_0x31ba84,_0x59c5ed,_0x2b9a7a)=>{for(var _0x406df5=_0x2b9a7a>0x1?void 0x0:_0x2b9a7a?_0x2a4bb6(_0x31ba84,_0x59c5ed):_0x31ba84,_0x313858=_0x1d767b['length']-0x1,_0x271040;_0x313858>=0x0;_0x313858--)(_0x271040=_0x1d767b[_0x313858])&&(_0x406df5=(_0x2b9a7a?_0x271040(_0x31ba84,_0x59c5ed,_0x406df5):_0x271040(_0x406df5))||_0x406df5);return _0x2b9a7a&&_0x406df5&&_0x5eda0b(_0x31ba84,_0x59c5ed,_0x406df5),_0x406df5;},_0x166b7=(_0xd4321b,_0x28cd7e)=>(_0x5e819f,_0x2534da)=>_0x28cd7e(_0x5e819f,_0x2534da,_0xd4321b);let _0x5067a8=class{constructor(_0x36fc2a){this['_httpService']=_0x36fc2a,this['_initRequestHeader']();}['_initRequestHeader'](){const _0x3029ba=_0x3965c0;this['_httpService'][_0x3029ba(0x347)]({'interceptor':(_0x355534,_0x1e2505)=>{const _0x4a4d39=_0x3029ba,_0x136c68=_0x355534[_0x4a4d39(0x3b4)],_0x33e7d3=_0x34a46c();return _0x33e7d3&&_0x136c68['set'](_0x4a4d39(0x23a),_0x33e7d3),_0x1e2505(_0x355534);}});}};_0x5067a8=_0x593aee([_0x166b7(0x0,_0x320968['Inject'](_0x1ebdcd[_0x3965c0(0x2df)]))],_0x5067a8);var _0x518a76=Object[_0x3965c0(0x3d5)],_0xc368a6=Object['getOwnPropertyDescriptor'],_0x4cc512=(_0x4e405e,_0x203959,_0x7cf892,_0x16eb38)=>{for(var _0x34b187=_0x16eb38>0x1?void 0x0:_0x16eb38?_0xc368a6(_0x203959,_0x7cf892):_0x203959,_0x5d7ba8=_0x4e405e['length']-0x1,_0x137cef;_0x5d7ba8>=0x0;_0x5d7ba8--)(_0x137cef=_0x4e405e[_0x5d7ba8])&&(_0x34b187=(_0x16eb38?_0x137cef(_0x203959,_0x7cf892,_0x34b187):_0x137cef(_0x34b187))||_0x34b187);return _0x16eb38&&_0x34b187&&_0x518a76(_0x203959,_0x7cf892,_0x34b187),_0x34b187;},_0x1b2887=(_0x243035,_0x15612b)=>(_0x23d368,_0x1d9db0)=>_0x15612b(_0x23d368,_0x1d9db0,_0x243035);const _0x33888a=[_0x3965c0(0x3fc),'image/jpeg',_0x3965c0(0x3fe),_0x3965c0(0x2a6),_0x3965c0(0x1b2)],_0xff871a=0x5*0x400*0x400,_0x4a8480=_0x3965c0(0x3b7),_0x450d0d=_0x3965c0(0x2c1),_0x3fc50f=_0x3965c0(0x27f),_0x53245a=_0x3965c0(0x32b);_0x41186c['ImageIoService']=class{constructor(_0x4b8f27,_0x2898f4,_0x54bead){const _0x5c005c=_0x3965c0;_0x42c854(this,_0x5c005c(0x361),0x0),_0x42c854(this,'_change$',new _0x237014[(_0x5c005c(0x3a5))]()),_0x42c854(this,'change$',this[_0x5c005c(0x46b)]),_0x42c854(this,'_imageSourceCache',new Map()),(this[_0x5c005c(0x20b)]=_0x4b8f27,this[_0x5c005c(0xa3)]=_0x2898f4,this[_0x5c005c(0x27e)]=_0x54bead);}['setWaitCount'](_0x301cac){const _0x1d87c6=_0x3965c0;this[_0x1d87c6(0x361)]=_0x301cac,this[_0x1d87c6(0x46b)][_0x1d87c6(0xa0)](_0x301cac);}[_0x3965c0(0x444)](_0x294b3c,_0x45b93){const _0x388dd1=_0x3965c0;if(_0x45b93===_0x20963a[_0x388dd1(0x167)][_0x388dd1(0x439)]){const _0x3241d8=new Image();return _0x3241d8[_0x388dd1(0x2db)]=_0x294b3c,_0x3241d8;}return this['_imageSourceCache']['get'](_0x294b3c);}[_0x3965c0(0x4af)](_0x59b3a2,_0x527118,_0x3cdc4d){const _0x3d6bf0=_0x3965c0;_0x527118===_0x20963a['ImageSourceType'][_0x3d6bf0(0x439)]||_0x3cdc4d==null||this[_0x3d6bf0(0x3b6)][_0x3d6bf0(0x238)](_0x59b3a2,_0x3cdc4d);}async[_0x3965c0(0x1cd)](_0x174d7a){const _0x4549b0=_0x3965c0;try{const _0x17f562=this[_0x4549b0(0x317)](this[_0x4549b0(0xf7)](),''+_0x174d7a),_0xe35881=(await this['_httpService'][_0x4549b0(0x159)](_0x17f562))['body'];if(_0xe35881[_0x4549b0(0x2c0)]&&_0xe35881[_0x4549b0(0x2c0)][_0x4549b0(0x3a9)]===_0x27eb92['OK']){const _0x70571b=new URL(_0xe35881[_0x4549b0(0x345)],this[_0x4549b0(0x334)]())[_0x4549b0(0x4df)]();return Promise[_0x4549b0(0x456)](_0x70571b);}return Promise[_0x4549b0(0x388)](_0xe35881[_0x4549b0(0x2c0)]);}catch(_0x3ee513){return Promise['reject'](_0x3ee513);}}async[_0x3965c0(0x3e0)](_0x8d112e){const _0x124ea6=_0x3965c0;let _0x4447b2='';if(!_0x33888a[_0x124ea6(0x252)](_0x8d112e['type']))return this[_0x124ea6(0x176)](),Promise[_0x124ea6(0x388)](new Error(_0x20963a[_0x124ea6(0x19a)][_0x124ea6(0x24d)]));if(_0x8d112e['size']>_0xff871a)return this[_0x124ea6(0x176)](),Promise[_0x124ea6(0x388)](new Error(_0x20963a['ImageUploadStatusType'][_0x124ea6(0x4c4)]));try{const _0x2d8563=new FormData();_0x2d8563[_0x124ea6(0x329)](_0x124ea6(0x220),_0x8d112e);const _0x1640d9=this[_0x124ea6(0x27e)][_0x124ea6(0x3f0)](),_0xe868ae=_0x1640d9==null?void 0x0:_0x1640d9[_0x124ea6(0x104)]();if(!_0xe868ae)throw new Error(_0x124ea6(0x49e));const _0x19b3c9=this['_getUploadFileURL']()+_0x124ea6(0x3bc)+_0x8d112e[_0x124ea6(0x40a)][_0x124ea6(0x4df)]()+'&source='+_0x46f05b[_0x124ea6(0x420)]+_0x124ea6(0x3c0)+encodeURIComponent(_0xe868ae),_0x163b6b=await(await fetch(_0x19b3c9,{'method':_0x124ea6(0x2f8),'body':_0x2d8563}))[_0x124ea6(0x383)]();if(typeof _0x163b6b[_0x124ea6(0x508)]!='string')return this[_0x124ea6(0x176)](),Promise[_0x124ea6(0x388)](new Error(_0x20963a[_0x124ea6(0x19a)][_0x124ea6(0x2c3)]));_0x4447b2=_0x163b6b[_0x124ea6(0x508)];}catch{return this[_0x124ea6(0x176)](),Promise[_0x124ea6(0x388)](new Error(_0x20963a[_0x124ea6(0x19a)]['ERROR_IMAGE']));}return new Promise((_0xb84970,_0x19a904)=>{const _0x392b1b=_0x124ea6,_0x3a29dd=new FileReader();_0x3a29dd['readAsDataURL'](_0x8d112e),_0x3a29dd[_0x392b1b(0x1f1)]=_0x378a67=>{const _0x255e98=_0x392b1b;var _0x2a851f;const _0x5f0ad8=(_0x2a851f=_0x378a67[_0x255e98(0x4a6)])==null?void 0x0:_0x2a851f[_0x255e98(0x306)];if(_0x5f0ad8==null){this['_decreaseWaiting'](),_0x19a904(new Error(_0x20963a[_0x255e98(0x19a)]['ERROR_IMAGE']));return;}const _0x5327be=_0x320968[_0x255e98(0xb3)][_0x255e98(0x39a)](0x6);_0xb84970({'imageId':_0x5327be,'imageSourceType':_0x20963a['ImageSourceType'][_0x255e98(0x426)],'source':_0x4447b2,'base64Cache':_0x5f0ad8,'status':_0x20963a[_0x255e98(0x19a)][_0x255e98(0x16c)]}),this[_0x255e98(0x176)]();};});}['_getUploadFileURL'](){const _0xa4547a=_0x3965c0;var _0x2624b9,_0x11b097;const _0x257d44=this[_0xa4547a(0xa3)]['getConfig'](_0x4a8480),_0x33e3b7=this[_0xa4547a(0xa3)][_0xa4547a(0xa7)](_0x5f560a);return(_0x11b097=(_0x2624b9=_0x33e3b7==null?void 0x0:_0x33e3b7['uploadFileServerUrl'])!=null?_0x2624b9:_0x257d44)!=null?_0x11b097:_0x450d0d;}[_0x3965c0(0xf7)](){const _0x25cb19=_0x3965c0;var _0xbf4e3a,_0x345d05;const _0x55ae24=this[_0x25cb19(0xa3)][_0x25cb19(0xa7)](_0x3fc50f),_0x38c273=this[_0x25cb19(0xa3)][_0x25cb19(0xa7)](_0x5f560a);return(_0x345d05=(_0xbf4e3a=_0x38c273==null?void 0x0:_0x38c273[_0x25cb19(0x352)])!=null?_0xbf4e3a:_0x55ae24)!=null?_0x345d05:_0x53245a;}['_getDownloadEndpointURL'](){const _0x5481a8=_0x3965c0;var _0x2fb5d2;const _0x4c53a3=this[_0x5481a8(0xa3)][_0x5481a8(0xa7)](_0x5f560a);return(_0x2fb5d2=_0x4c53a3==null?void 0x0:_0x4c53a3['downloadEndpointUrl'])!=null?_0x2fb5d2:location[_0x5481a8(0x1f0)];}[_0x3965c0(0x317)](_0x62c40f,_0x97c12c){const _0x5e44f2=_0x3965c0;return _0x62c40f[_0x5e44f2(0x1b1)](_0x5e44f2(0x34c),_0x97c12c);}[_0x3965c0(0x176)](){const _0x1141bc=_0x3965c0;this[_0x1141bc(0x361)]-=0x1,this[_0x1141bc(0x46b)][_0x1141bc(0xa0)](this[_0x1141bc(0x361)]);}},_0x41186c[_0x3965c0(0xb8)]=_0x4cc512([_0x1b2887(0x0,_0x320968['Inject'](_0x1ebdcd[_0x3965c0(0x2df)])),_0x1b2887(0x1,_0x320968[_0x3965c0(0x479)]),_0x1b2887(0x2,_0x320968[_0x3965c0(0x124)](_0x320968[_0x3965c0(0x447)]))],_0x41186c['ImageIoService']);var _0x185df0=Object[_0x3965c0(0x3d5)],_0x120c62=Object[_0x3965c0(0x406)],_0x38c43b=(_0x4b3ea2,_0xb516cd,_0x3f376c,_0x15db47)=>{for(var _0xbdb58d=_0x15db47>0x1?void 0x0:_0x15db47?_0x120c62(_0xb516cd,_0x3f376c):_0xb516cd,_0x4b8aed=_0x4b3ea2['length']-0x1,_0x25edcd;_0x4b8aed>=0x0;_0x4b8aed--)(_0x25edcd=_0x4b3ea2[_0x4b8aed])&&(_0xbdb58d=(_0x15db47?_0x25edcd(_0xb516cd,_0x3f376c,_0xbdb58d):_0x25edcd(_0xbdb58d))||_0xbdb58d);return _0x15db47&&_0xbdb58d&&_0x185df0(_0xb516cd,_0x3f376c,_0xbdb58d),_0xbdb58d;},_0x490918=(_0x855966,_0x5f491b)=>(_0x2aac85,_0x5de5d7)=>_0x5f491b(_0x2aac85,_0x5de5d7,_0x855966);let _0x377165=class extends _0x320968['RxDisposable']{constructor(_0x10626d,_0x33c73e,_0x5ec044,_0x5387c0,_0x48ea32){const _0x59dce5=_0x3965c0;super(),this[_0x59dce5(0x474)]=_0x10626d,this[_0x59dce5(0x27e)]=_0x33c73e,this['_permissionService']=_0x5ec044,this[_0x59dce5(0x4b4)]=_0x5387c0,this[_0x59dce5(0xed)]=_0x48ea32,this[_0x59dce5(0x4ad)](),this[_0x59dce5(0x378)]();}['_initCloseConn'](){const _0x1f2dba=_0x3965c0,_0x31116a=async _0x28f5c2=>{const _0x22051f=_0x18dd;(await this[_0x22051f(0x4b4)][_0x22051f(0x435)](_0x28f5c2))['event$']['pipe'](_0x1aca11[_0x22051f(0x179)](_0x197a55=>_0x197a55[_0x22051f(0x54b)]===_0x20a4af[_0x22051f(0xbd)][_0x22051f(0x492)]),_0x1aca11[_0x22051f(0x2ea)](this['dispose$']))['subscribe'](_0x2612e6=>{const _0x4c85d1=_0x22051f,_0x45257f=_0x2612e6,{reason:_0x25861f}=_0x45257f[_0x4c85d1(0x4ea)];this[_0x4c85d1(0x474)][_0x4c85d1(0x159)](_0x794d48[_0x4c85d1(0x29d)])[_0x4c85d1(0x1d3)]({'type':_0x396768[_0x4c85d1(0x47e)][_0x4c85d1(0x49a)],'content':this[_0x4c85d1(0xed)]['t']('collaboration.closeRoom')+'('+_0x25861f+')'}),this[_0x4c85d1(0x153)][_0x4c85d1(0x3c5)](new _0x4c6d62[(_0x4c85d1(0x270))](_0x28f5c2)['id'],!0x1),this[_0x4c85d1(0x4b4)]['closeSession'](_0x28f5c2);});};_0x237014[_0x1f2dba(0x4fc)](this[_0x1f2dba(0x27e)][_0x1f2dba(0x52d)](_0x320968[_0x1f2dba(0x248)]['UNIVER_SHEET']),this['_univerInstanceService'][_0x1f2dba(0x52d)](_0x320968[_0x1f2dba(0x248)][_0x1f2dba(0x164)]))[_0x1f2dba(0x30f)](_0x1aca11[_0x1f2dba(0x3dc)](_0x73d51a=>_0x73d51a[_0x1f2dba(0x104)]()),_0x1aca11[_0x1f2dba(0x179)](_0x27ff05=>!_0x320968[_0x1f2dba(0xf8)](_0x27ff05)),_0x1aca11[_0x1f2dba(0x2ea)](this['dispose$']))[_0x1f2dba(0xc2)](_0x13228a=>{_0x31116a(_0x13228a);});}[_0x3965c0(0x4ad)](){const _0x504aae=_0x3965c0,_0x37cb3d=async _0x2289c7=>{const _0x40a5f9=_0x18dd;(await this[_0x40a5f9(0x4b4)][_0x40a5f9(0x435)](_0x2289c7))[_0x40a5f9(0x1e9)][_0x40a5f9(0x30f)](_0x1aca11['filter'](_0x5252e5=>_0x5252e5[_0x40a5f9(0x54b)]===_0x20a4af['CollaborationEvent'][_0x40a5f9(0x170)]),_0x1aca11[_0x40a5f9(0x2ea)](this[_0x40a5f9(0x547)]))[_0x40a5f9(0xc2)](_0x4eaecd=>{const _0x50290f=_0x40a5f9,_0x47b0eb=_0x4eaecd,{objectId:_0x41fb84}=_0x47b0eb['data'],_0x499926=this[_0x50290f(0x474)][_0x50290f(0x159)](_0x2d8ae5[_0x50290f(0x214)]);_0x41fb84===_0x2289c7?_0x499926['initWorkbookPermissionChange'](_0x2289c7):_0x499926['refreshPermission'](_0x2289c7,_0x41fb84);});};_0x237014[_0x504aae(0x4fc)](this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x320968[_0x504aae(0x248)][_0x504aae(0x45d)]),this['_univerInstanceService'][_0x504aae(0x52d)](_0x320968[_0x504aae(0x248)][_0x504aae(0x164)]))[_0x504aae(0x30f)](_0x1aca11['map'](_0x3ef2f2=>_0x3ef2f2['getUnitId']()),_0x1aca11['filter'](_0x5e64ee=>!_0x320968[_0x504aae(0xf8)](_0x5e64ee)),_0x1aca11['takeUntil'](this[_0x504aae(0x547)]))['subscribe'](_0x58169a=>{_0x37cb3d(_0x58169a);});}};_0x377165=_0x38c43b([_0x490918(0x0,_0x320968['Inject'](_0x320968[_0x3965c0(0x527)])),_0x490918(0x1,_0x320968[_0x3965c0(0x447)]),_0x490918(0x2,_0x320968[_0x3965c0(0x113)]),_0x490918(0x3,_0x320968[_0x3965c0(0x124)](_0x41186c[_0x3965c0(0x38b)])),_0x490918(0x4,_0x320968[_0x3965c0(0x124)](_0x320968[_0x3965c0(0xee)]))],_0x377165);var _0x2c33ff=Object[_0x3965c0(0x3d5)],_0x488d36=Object[_0x3965c0(0x406)],_0xf69bed=(_0x2b35d4,_0x3f15b3,_0xe7ed55,_0x1337c0)=>{const _0x185557=_0x3965c0;for(var _0x5bf2bb=_0x1337c0>0x1?void 0x0:_0x1337c0?_0x488d36(_0x3f15b3,_0xe7ed55):_0x3f15b3,_0x3befd4=_0x2b35d4[_0x185557(0x2af)]-0x1,_0x18375f;_0x3befd4>=0x0;_0x3befd4--)(_0x18375f=_0x2b35d4[_0x3befd4])&&(_0x5bf2bb=(_0x1337c0?_0x18375f(_0x3f15b3,_0xe7ed55,_0x5bf2bb):_0x18375f(_0x5bf2bb))||_0x5bf2bb);return _0x1337c0&&_0x5bf2bb&&_0x2c33ff(_0x3f15b3,_0xe7ed55,_0x5bf2bb),_0x5bf2bb;},_0x1fddd2=(_0x51fd12,_0x489815)=>(_0x3e5193,_0x2879b2)=>_0x489815(_0x3e5193,_0x2879b2,_0x51fd12);_0x41186c[_0x3965c0(0x3e8)]=class{constructor(_0x2e5bed,_0x1e5189){const _0x5b19c6=_0x3965c0;this[_0x5b19c6(0xa3)]=_0x2e5bed,this[_0x5b19c6(0x20b)]=_0x1e5189;}async['getUnitOnRev'](_0x282cee,_0xde09fa){const _0xa78a29=_0x3965c0;var _0x4a4ae0;const {unitID:_0x44a75b,type:_0x3916d3,revision:_0x163cb6=0x0}=_0xde09fa,_0x3ff01c=this['_getSnapshotAPIPrefix']()+'/'+_0x3916d3+_0xa78a29(0x387)+_0x44a75b+_0xa78a29(0x53d)+_0x163cb6,_0x4f2818=(await this['_httpService'][_0xa78a29(0x159)](_0x3ff01c))[_0xa78a29(0x2a4)],_0x650bbf=(_0x4a4ae0=_0x4f2818[_0xa78a29(0x19c)])==null?void 0x0:_0x4a4ae0[_0xa78a29(0x366)];if(_0x650bbf){const _0xc91b90=_0x650bbf==null?void 0x0:_0x650bbf[_0xa78a29(0x3f5)],_0x7a4f21=_0x20a4af[_0xa78a29(0x548)][_0xa78a29(0x1a0)](_0x20a4af[_0xa78a29(0x393)](_0xc91b90));_0x650bbf[_0xa78a29(0x3f5)]=_0x7a4f21,Object[_0xa78a29(0x3ff)](_0x650bbf['sheets'])[_0xa78a29(0x123)](([,_0x391efb])=>{const _0x19ee87=_0xa78a29,_0x1d6bd1=_0x391efb[_0x19ee87(0x3f5)],_0x23ca02=_0x20a4af[_0x19ee87(0x548)]['encode'](_0x20a4af[_0x19ee87(0x393)](_0x1d6bd1));_0x391efb[_0x19ee87(0x3f5)]=_0x23ca02;});}return _0x4f2818;}async[_0x3965c0(0x42b)](_0xe102e5,_0x36a171){const _0x5aca21=_0x3965c0,{unitID:_0x48dcf3,type:_0xd91ac3,blockID:_0x528b22}=_0x36a171,_0x4c9a2e=this[_0x5aca21(0x109)]()+'/'+_0xd91ac3+'/unit/'+_0x48dcf3+'/block/'+_0x528b22;return(await this[_0x5aca21(0x20b)]['get'](_0x4c9a2e))[_0x5aca21(0x2a4)];}async[_0x3965c0(0x3df)](_0x4ad5ca,_0x11c5d8){const _0x420671=_0x3965c0,{unitID:_0x4d521a,type:_0x93c127,blockID:_0xff177d}=_0x11c5d8,_0x71ddd=this[_0x420671(0x109)]()+_0x420671(0x3fa)+_0x93c127+_0x420671(0x387)+_0x4d521a+_0x420671(0x3fa)+_0xff177d;return(await this[_0x420671(0x20b)][_0x420671(0x159)](_0x71ddd))[_0x420671(0x2a4)];}async[_0x3965c0(0x513)](_0x2793dd,_0x38ef98){const _0x460e5f=_0x3965c0,{unitID:_0x1e9261,type:_0x27de56,from:_0x544785,to:_0x17bbb7}=_0x38ef98,_0x170e02=this[_0x460e5f(0x109)]()+'/'+_0x27de56+_0x460e5f(0x387)+_0x1e9261+_0x460e5f(0x1ea)+_0x544785+'&to='+_0x17bbb7;return(await this[_0x460e5f(0x20b)][_0x460e5f(0x159)](_0x170e02))[_0x460e5f(0x2a4)];}[_0x3965c0(0x519)](){const _0x55277c=_0x3965c0;var _0x2d33d8;return(_0x2d33d8=this[_0x55277c(0xa3)][_0x55277c(0xa7)](_0x48e8c9))!=null?_0x2d33d8:this['_getAPIPrefix']();}[_0x3965c0(0x109)](){const _0x3637ca=_0x3965c0;var _0x29841b,_0x3352d5;const _0x5c1997=this[_0x3637ca(0xa3)][_0x3637ca(0xa7)](_0x2b8756),_0x1a8e9a=this['_configService'][_0x3637ca(0xa7)](_0x5f560a);return(_0x3352d5=(_0x29841b=_0x1a8e9a==null?void 0x0:_0x1a8e9a[_0x3637ca(0x3a2)])!=null?_0x29841b:_0x5c1997)!=null?_0x3352d5:_0x3d77e1;}async[_0x3965c0(0x1a7)](_0x565c52,_0x5921ce){const _0x5300c5=_0x3965c0,_0x4a801c=_0x5300c5(0x403)+_0x5921ce[_0x5300c5(0x3b5)]+_0x5300c5(0x387)+_0x5921ce[_0x5300c5(0x534)]+_0x5300c5(0x4ba);return(await this[_0x5300c5(0x20b)][_0x5300c5(0x159)](_0x4a801c,{'params':{'resourceId':JSON[_0x5300c5(0x487)](_0x5921ce[_0x5300c5(0xf9)])}}))['body'];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3965c0(0x346)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){const _0x4cab68=_0x3965c0;throw new Error(_0x4cab68(0x338));}[_0x3965c0(0x4d4)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3965c0(0x1b8)](){const _0x1a9332=_0x3965c0;throw new Error(_0x1a9332(0x338));}},_0x41186c[_0x3965c0(0x3e8)]=_0xf69bed([_0x1fddd2(0x0,_0x320968[_0x3965c0(0x479)]),_0x1fddd2(0x1,_0x320968[_0x3965c0(0x124)](_0x1ebdcd[_0x3965c0(0x2df)]))],_0x41186c[_0x3965c0(0x3e8)]);var _0x3d25b8=Object[_0x3965c0(0x3d5)],_0x5c60c5=Object[_0x3965c0(0x406)],_0x13a4dd=(_0x1d9440,_0x1d56a6,_0x20cee1,_0x218901)=>{const _0x14fd24=_0x3965c0;for(var _0x9c1edb=_0x218901>0x1?void 0x0:_0x218901?_0x5c60c5(_0x1d56a6,_0x20cee1):_0x1d56a6,_0x402a4d=_0x1d9440[_0x14fd24(0x2af)]-0x1,_0x1517c0;_0x402a4d>=0x0;_0x402a4d--)(_0x1517c0=_0x1d9440[_0x402a4d])&&(_0x9c1edb=(_0x218901?_0x1517c0(_0x1d56a6,_0x20cee1,_0x9c1edb):_0x1517c0(_0x9c1edb))||_0x9c1edb);return _0x218901&&_0x9c1edb&&_0x3d25b8(_0x1d56a6,_0x20cee1,_0x9c1edb),_0x9c1edb;},_0xc9813f=(_0x484c67,_0x112321)=>(_0x3390d7,_0x5f28b5)=>_0x112321(_0x3390d7,_0x5f28b5,_0x484c67);let _0x5bdcca=class extends _0x320968['LocalUndoRedoService']{constructor(_0x305dc5,_0x2a8f74,_0x3987f8,_0x29e610,_0x6f6e48){const _0x251edf=_0x3965c0;super(_0x305dc5,_0x2a8f74,_0x3987f8),this[_0x251edf(0x289)]=_0x29e610,this['_logService']=_0x6f6e48;}['transformUndoRedo'](_0x449c54,_0x698900){const _0x367bf4=_0x3965c0,_0x4d23d5=this['_getUndoStack'](_0x449c54);if(_0x4d23d5)try{const _0x1dfc3e=this[_0x367bf4(0x2f7)](_0x4d23d5,_0x698900);this[_0x367bf4(0x1f3)](_0x449c54,_0x1dfc3e);}catch(_0xccfbe0){this[_0x367bf4(0x127)][_0x367bf4(0x2c0)](_0x367bf4(0x19e),_0xccfbe0),this[_0x367bf4(0x2b4)](_0x449c54);}const _0xa2c599=this[_0x367bf4(0x4a4)](_0x449c54);if(_0xa2c599)try{const _0x14bfb0=this[_0x367bf4(0x2f7)](_0xa2c599,_0x698900);this[_0x367bf4(0x386)](_0x449c54,_0x14bfb0);}catch(_0x3e5ddf){this['_logService'][_0x367bf4(0x2c0)](_0x3e5ddf),this[_0x367bf4(0xd3)](_0x449c54);}}[_0x3965c0(0x2b4)](_0x3c8532){const _0x11bf46=_0x3965c0,_0xae9a06=this[_0x11bf46(0x23e)](_0x3c8532);_0xae9a06&&(_0xae9a06['length']=0x0,this[_0x11bf46(0xd2)]());}['_clearRedo'](_0x4e6f34){const _0x6f2412=_0x3965c0,_0x3dd953=this[_0x6f2412(0x4a4)](_0x4e6f34);_0x3dd953&&(_0x3dd953[_0x6f2412(0x2af)]=0x0,this[_0x6f2412(0xd2)]());}[_0x3965c0(0x1f3)](_0x3f10f9,_0x200f4b){const _0x492a5c=_0x3965c0;this[_0x492a5c(0x3d4)][_0x492a5c(0x238)](_0x3f10f9,_0x200f4b),this[_0x492a5c(0xd2)]();}['_substituteRedoStack'](_0x55ae70,_0x37996c){const _0x492d4f=_0x3965c0;this[_0x492d4f(0x43b)][_0x492d4f(0x238)](_0x55ae70,_0x37996c),this[_0x492d4f(0xd2)]();}[_0x3965c0(0x2f7)](_0x15a458,_0x746e66){const _0x2efdd7=_0x3965c0,_0xc6ee9a=[];let _0x2c555e=_0x746e66,_0x167cb8=_0x746e66;for(let _0xd27a5a=_0x15a458[_0x2efdd7(0x2af)]-0x1;_0xd27a5a>=0x0;_0xd27a5a--){const {unitID:_0xc1e8ad,undoMutations:_0x4a69c3,redoMutations:_0x1bcc44}=_0x15a458[_0xd27a5a],_0x4e8a15=this[_0x2efdd7(0x289)][_0x2efdd7(0x131)](_0x2c555e,_0x4a69c3),_0x556cbb=this['_transformService'][_0x2efdd7(0x131)](_0x167cb8,_0x1bcc44);if(_0x20a4af[_0x2efdd7(0x549)](_0x4e8a15)||_0x20a4af[_0x2efdd7(0x549)](_0x556cbb)){this[_0x2efdd7(0x127)][_0x2efdd7(0x2c0)](_0x2efdd7(0x19e),'transformStack\x20failed!',_0x4e8a15,_0x556cbb);break;}_0x2c555e=_0x4e8a15['c1Prime'],_0x167cb8=_0x556cbb[_0x2efdd7(0x2ee)],_0xc6ee9a[_0x2efdd7(0x25f)]({'unitID':_0xc1e8ad,'undoMutations':_0x4e8a15[_0x2efdd7(0xaf)],'redoMutations':_0x556cbb['m2Prime']});}return _0xc6ee9a['reverse']();}};_0x5bdcca=_0x13a4dd([_0xc9813f(0x0,_0x320968['IUniverInstanceService']),_0xc9813f(0x1,_0x320968[_0x3965c0(0x32d)]),_0xc9813f(0x2,_0x320968[_0x3965c0(0x4e0)]),_0xc9813f(0x3,_0x20a4af[_0x3965c0(0x1fd)]),_0xc9813f(0x4,_0x320968[_0x3965c0(0x226)])],_0x5bdcca);class _0x4e565f extends _0x320968[_0x3965c0(0x1ff)]{constructor(){const _0x17c4a0=_0x3965c0;super(),_0x42c854(this,'urlChange$'),this[_0x17c4a0(0x2fb)]=_0x237014[_0x17c4a0(0x4c7)](window,_0x17c4a0(0x3ea))[_0x17c4a0(0x30f)](_0x237014[_0x17c4a0(0x2ea)](this[_0x17c4a0(0x547)]),_0x237014[_0x17c4a0(0xe5)](0x1),_0x237014[_0x17c4a0(0x51a)](void 0x0));}[_0x3965c0(0x295)](_0x13809c,_0x4cdf38,_0x50a1c3=!0x1){const _0x431c06=_0x3965c0,_0x2ef92a=new URL(window[_0x431c06(0x4c0)][_0x431c06(0x15d)]);_0x2ef92a[_0x431c06(0x433)][_0x431c06(0x238)](_0x13809c,_0x4cdf38),_0x50a1c3?window[_0x431c06(0x29b)][_0x431c06(0x2c7)]('','',_0x2ef92a[_0x431c06(0x4df)]()):window['history'][_0x431c06(0x14d)]('','',_0x2ef92a[_0x431c06(0x4df)]());}['removeParam'](_0x58c3b4,_0xdaae94=!0x1){const _0x30a408=_0x3965c0,_0x396faa=new URL(window[_0x30a408(0x4c0)][_0x30a408(0x15d)]);_0x396faa[_0x30a408(0x433)][_0x30a408(0xac)](_0x58c3b4),_0xdaae94?window[_0x30a408(0x29b)][_0x30a408(0x2c7)]('','',_0x396faa[_0x30a408(0x4df)]()):window[_0x30a408(0x29b)][_0x30a408(0x14d)]('','',_0x396faa[_0x30a408(0x4df)]());}['getParam'](_0xcb5428){const _0x1f55f6=_0x3965c0;var _0x54cb64;return(_0x54cb64=new URL(window[_0x1f55f6(0x4c0)][_0x1f55f6(0x15d)])[_0x1f55f6(0x433)][_0x1f55f6(0x159)](_0xcb5428))!=null?_0x54cb64:void 0x0;}}var _0x306676=Object[_0x3965c0(0x3d5)],_0x211ce8=Object[_0x3965c0(0x406)],_0x28bf37=(_0x5ac945,_0x410071,_0x4c8d7c)=>_0x410071 in _0x5ac945?_0x306676(_0x5ac945,_0x410071,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c8d7c}):_0x5ac945[_0x410071]=_0x4c8d7c,_0x41c214=(_0x3dca9c,_0x35c5be,_0x73f54a,_0x46d4c1)=>{const _0x2714f3=_0x3965c0;for(var _0x5b372d=_0x46d4c1>0x1?void 0x0:_0x46d4c1?_0x211ce8(_0x35c5be,_0x73f54a):_0x35c5be,_0x1f582b=_0x3dca9c[_0x2714f3(0x2af)]-0x1,_0x424d01;_0x1f582b>=0x0;_0x1f582b--)(_0x424d01=_0x3dca9c[_0x1f582b])&&(_0x5b372d=(_0x46d4c1?_0x424d01(_0x35c5be,_0x73f54a,_0x5b372d):_0x424d01(_0x5b372d))||_0x5b372d);return _0x46d4c1&&_0x5b372d&&_0x306676(_0x35c5be,_0x73f54a,_0x5b372d),_0x5b372d;},_0x4e1d73=(_0x1a4098,_0x43b6a4)=>(_0x171c3f,_0x15f468)=>_0x43b6a4(_0x171c3f,_0x15f468,_0x1a4098),_0x47d79e=(_0x361a2f,_0x27cc09,_0x5bca88)=>_0x28bf37(_0x361a2f,_0x27cc09+'',_0x5bca88);const _0x233c47='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x41186c[_0x3965c0(0x29f)]=class extends _0x320968[_0x3965c0(0x362)]{constructor(_0x41b470=_0x20bbca,_0x2d9953,_0x59065e,_0x442b43,_0x5d587d){const _0x46ad37=_0x3965c0;super(),this['_config']=_0x41b470,this[_0x46ad37(0x127)]=_0x2d9953,this[_0x46ad37(0x2a1)]=_0x59065e,this[_0x46ad37(0x474)]=_0x442b43,this['_configService']=_0x5d587d;const {..._0x1b8526}=this[_0x46ad37(0x553)];this[_0x46ad37(0xa3)][_0x46ad37(0x373)](_0x5f560a,_0x1b8526);}[_0x3965c0(0x13c)](){const _0x32e6bc=_0x3965c0;this[_0x32e6bc(0x50a)](),this[_0x32e6bc(0x342)]();}['onReady'](){const _0x5a9921=_0x3965c0;_0x320968[_0x5a9921(0x22e)](this[_0x5a9921(0x474)],[[_0x16a9d8]]);}[_0x3965c0(0x35a)](){this['_registerRenderDependencies']();}[_0x3965c0(0x50a)](){const _0x14ff4b=_0x3965c0;var _0x11df06,_0x4a27e9,_0x4cdd3b,_0x36e531;this[_0x14ff4b(0x474)]['has'](_0x320968[_0x14ff4b(0x206)])&&this[_0x14ff4b(0x127)]['error'](_0x14ff4b(0x17b),_0x14ff4b(0x244));const _0x40f561=[[_0x320968[_0x14ff4b(0x206)],{'useClass':_0x5bdcca}],[_0x41186c[_0x14ff4b(0x38b)]],[_0x3956c9],[_0x5bdbde,{'useClass':_0x4e565f}],[_0x41186c['MemberService']],[_0x41186c[_0x14ff4b(0x24b)]],[_0x1ebdcd[_0x14ff4b(0x283)]],[_0x61405b],[_0x47d292],[_0x28d983],[_0x4eb33f],[_0x318cdd],[_0x13de73],[_0x5067a8],[_0xb73d3b],[_0x377165],[_0x17f9a0,{'useClass':(_0x4a27e9=(_0x11df06=this[_0x14ff4b(0x553)])==null?void 0x0:_0x11df06[_0x14ff4b(0x344)])!=null?_0x4a27e9:_0x41186c[_0x14ff4b(0x130)]}],[_0x20a4af[_0x14ff4b(0x44f)],{'useClass':_0x41186c[_0x14ff4b(0x3e8)]}],[_0x320968[_0x14ff4b(0x54f)],{'useClass':_0x41186c[_0x14ff4b(0x1ab)]}],[_0x20963a[_0x14ff4b(0x149)],{'useClass':_0x41186c[_0x14ff4b(0xb8)]}],[_0x41186c[_0x14ff4b(0x234)]],[_0x41186c[_0x14ff4b(0x429)]],[_0x41186c[_0x14ff4b(0x335)]],[_0x16a9d8],[_0x2f877e]];(_0x4cdd3b=this[_0x14ff4b(0x553)])!=null&&_0x4cdd3b[_0x14ff4b(0x35d)]&&_0x40f561[_0x14ff4b(0x25f)]([_0x16e280,{'useClass':_0x30ea20}]),_0x320968[_0x14ff4b(0x16e)](this[_0x14ff4b(0x474)],_0x320968['mergeOverrideWithDependencies'](_0x40f561,(_0x36e531=this[_0x14ff4b(0x553)])==null?void 0x0:_0x36e531[_0x14ff4b(0x3a1)]));}['_registerRenderDependencies'](){const _0x419df2=_0x3965c0;this[_0x419df2(0x219)](this[_0x419df2(0x2a1)]['registerRenderModule'](_0x320968[_0x419df2(0x248)][_0x419df2(0x164)],[_0x483055])),this[_0x419df2(0x219)](this['_renderManagerService'][_0x419df2(0x1e0)](_0x320968[_0x419df2(0x248)][_0x419df2(0x45d)],[_0x59193c]));}[_0x3965c0(0x342)](){const _0x3c83f2=_0x3965c0;var _0x4743fe,_0x143c98;this['_injector'][_0x3c83f2(0x159)](_0x1ebdcd[_0x3c83f2(0x2df)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x1ebdcd[_0x3c83f2(0x1ad)]({'maxParallel':0x6})}),(_0x4743fe=this[_0x3c83f2(0x553)])!=null&&_0x4743fe[_0x3c83f2(0x1f4)]||this['_injector'][_0x3c83f2(0x159)](_0x41186c[_0x3c83f2(0x24b)])['disableLocalCache'](),(_0x143c98=this[_0x3c83f2(0x553)])!=null&&_0x143c98['enableAuthServer']&&_0x320968[_0x3c83f2(0x22e)](this[_0x3c83f2(0x474)],[[_0x13de73]]),_0x320968[_0x3c83f2(0x22e)](this[_0x3c83f2(0x474)],[[_0x5067a8],[_0x2f877e],[_0x41186c[_0x3c83f2(0x429)]],[_0x41186c[_0x3c83f2(0x234)]],[_0x41186c[_0x3c83f2(0x335)]],[_0x377165]]);}},_0x47d79e(_0x41186c[_0x3965c0(0x29f)],_0x3965c0(0xad),_0x233c47),_0x41186c[_0x3965c0(0x29f)]=_0x41c214([_0x320968[_0x3965c0(0x427)](_0x20a4af['UniverCollaborationPlugin'],_0x1ebdcd[_0x3965c0(0x155)]),_0x4e1d73(0x1,_0x320968['ILogService']),_0x4e1d73(0x2,_0x4f6c5a[_0x3965c0(0xe8)]),_0x4e1d73(0x3,_0x320968[_0x3965c0(0x124)](_0x320968[_0x3965c0(0x527)])),_0x4e1d73(0x4,_0x320968[_0x3965c0(0x479)])],_0x41186c[_0x3965c0(0x29f)]),_0x41186c['AUTHZ_URL_KEY']=_0x23b5e3,_0x41186c[_0x3965c0(0x501)]=_0xb29dfd,_0x41186c[_0x3965c0(0x464)]=_0x2610ac,_0x41186c[_0x3965c0(0x119)]=_0x1db420,_0x41186c['CollaborationStatusDisplay']=_0x1c04e9,_0x41186c[_0x3965c0(0x451)]=_0xb73d3b,_0x41186c['HEARTBEAT_INTERVAL_KEY']=_0x1a7e09,_0x41186c[_0x3965c0(0x1d0)]=_0x387bc1,_0x41186c[_0x3965c0(0xd6)]=_0x17f9a0,_0x41186c[_0x3965c0(0x2e8)]=_0x5bdbde,_0x41186c['LOCAL_CACHE_INTERVAL_KEY']=_0x4edc51,_0x41186c[_0x3965c0(0x228)]=_0x450b88,_0x41186c[_0x3965c0(0xdd)]=_0x494a28,_0x41186c[_0x3965c0(0x4e3)]=_0x3ef2cc,_0x41186c['SNAPSHOT_SERVER_URL_KEY']=_0x2b8756,_0x41186c[_0x3965c0(0x32f)]=_0x48e8c9,_0x41186c[_0x3965c0(0x550)]=_0x38d2e3,_0x41186c[_0x3965c0(0x422)]=_0xd73e1,_0x41186c[_0x3965c0(0x112)]=_0x4e565f,_0x41186c['deserializeToCombResponse']=_0x183f2e,_0x41186c[_0x3965c0(0x496)]=_0xe84bd6,Object[_0x3965c0(0x3d5)](_0x41186c,Symbol[_0x3965c0(0x286)],{'value':_0x3965c0(0x4bf)});}));function _0xa983(){const _0x5b7374=['parseProtocolChangeset','$super','labelPosition','SNAPSHOT_HAS_BEEN_REMOVED','apply','_ws','_themeService','HTTPRequest','params','copyFileMeta','_clearTimeoutTimer','_append','APPLY_REJECT','getValue','[FetchMissState]','_scheduleClearOtherTimer','focused$','session.will-retry','@univerjs/drawing','c2Prime','toString','IContextService','APPLY_NON_SEQUENTIAL_REVISION','closePath','SEND_CHANGESET_TIMEOUT_KEY','@univerjs/ui','_singleActiveUnitService','has','OpenSSL','NEW_CHANGESETS','onTransformChange$','data','execute','call','_submitChangeset','confirm','round','OffLineSingle','StreamCipher','_createHmacHelper','session.room-full','_resendTimer','COMMENT_UPDATE','blockSize','isTransformMutationsWithChangesetSuccess','clone','VIEWPORT_KEY','_removeClearOtherTimer','icon','merge','jsx','_uiPartsService','debounce','substr','COLLAB_SUBMIT_CHANGESET_URL_KEY','selection','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_color','_pendingMutations','list','transformSelections','FileId','_scheduleHeartbeat','_registerDependencies','_transformPreviousActiveRange','_socketService','[CollaborationSessionService]','editingUnit','onTransformState','_clearScheduledTask','_listenToOnlineEvent','5664936XFVsQh','fetchMissingChangesets','UniverIcon','onRemoteRej','PENDING','text','RECT','_getSnapshotAPIPrefix','mapTo','_updateSubUnitFromURLParams','[PendingState]:\x20received\x20rejection.','_syncEditingCollabCursorService','Optional','join','send','session.collaboration-timeout','Warning','objectActions','charCodeAt','createInstance','conflict','Injector','_toggleOffline','DeleteRangeMoveUpCommandId','_timeoutTimer','_stopTelemetryCollaborationNewChangeset','red300','getTypeOfUnitAdded$','commentUpdateEvent','getCurrentRevOfUnit','handleDeleteRangeMoveUp','1em','jsxs','RichTextEditingMutation','unitID','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','ceil','createCollaborator','_docTransformSelectionsService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','transform','DeleteRangeMoveLeftCommandId','_replayCachedMutations','/rev/','OFFLINE','_anchorDot','LEAVE','concat','evenodd','mutations','selections','/allowed','UnitSnapshot','dispose$','textEncoder','isTransformMutationsWithChangesetFailure','_commentUpdate$','eventID','now','abs','_docSkeletonManagerService','IAuthzIoService','SessionStatus','ReplaySubject','_transformRemoteChangesetByStateCache','_config','collab-text-range-','ref','_startDocCollabCursor','_http','_cursorShapes','CHANGESET_ACK','synced','_handleHeartbeatEvent','enc','on-line-single_clip0_910_349','salt','sid','awaiting','_isPermissionRej','@univerjs/sheets','parse','getVpScrollXYInfoByPosToVp','_disabled','@univerjs/network','_key','socket\x20close','exports','next','getCoordByCell','handleDeleteRangeMoveLeft','_configService','getUnitStatus$','BehaviorSubject','actions','getConfig','findNodePositionByCharIndex','handleInsertRangeMoveDown','pending','[CollaborationSessionService]:\x20socket\x20error','delete','pluginName','registerComponent','m2Prime','OTHER_CLIENTS_EDITING','onTransformRemoteChangesetByIMECache','_removeRoom','Tools','ILocalStorageService','updateOfflineData','lineTo','compute','ImageIoService','_eventUnsubscribe','_localCacheService','_startCollaboration','HELLO','CollaborationEvent','resend','[CollaborationEntity]','onSyncEditingCollabCursor','newCsEvent','subscribe','subscribeEvent','registerOnClose','getSheetBySheetId','arc','_sessions','_onConflict','_roomMembers$','_initResize','_status$','decryptBlock','crypto','startRow','whenReady','backgroundColor','RECV','_updateStatus','_clearRedo','3303282UMkQMw','row','ICollaborationSocketService','_compressMutationService','_draw','drawWith','_drawAnchor','[SyncedState]:\x20received\x20rejection.','currentColor','RETRY_CONNECTING_MAX_COUNT_KEY','_beforeCloseService','conflict.title','unit','getSheetObject','flatMap','measureText','onMouseMove','shareReplay','DocCollaborationEntity','COMPRESS_MUTATION_SEND','IRenderManagerService','not_collab','onRemoteAck','getRenderById','displayName','_localeService','LocaleService','buffer','_unitStatus','getCurrent','fetchThroughInterceptors','column','attrs','open$','HmacMD5','_getSignURL','isInternalEditorID','resourceIDs','equals','onRemoteChangeset','_collaborationController','offline','createElement','_onRemoteACK','_clearLocalCache','getWorkbookSelections','onRemoteRetry','joinRsp','getUnitId','FAIL','string','_executeRemoteChangeset','currentSkeleton$','_getAPIPrefix','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','CHANGESET_SHOULD_RETRY','deleteCollaborator','use','getMemberID','setShapeProps','liveShareNewHost','editing\x20status\x20changed\x20to','WebURLService','IPermissionService','NOT_FOUND','toRgbString','onlineStatusTitle','?url=','defaultProps','CollaborationStatus','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','MD5','forwardRef','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','UniverUi','cursorInfo','_remoteChangesetQueue','_rescheduleHeartbeat','_docStateChangeManagerService','forEach','Inject','_xformMode','close$','_logService','[CollaborationState]:\x20apply\x20error!','ws://127.0.0.1:8000/universer-api/comb/connect','Hasher','_undoRedoService','getUnit','transformMutation','[SyncedState]:\x20received\x20acknowledgement.','_collaborationPaused','CollaborationSocketService','transformMutationsWithChangeset','Decryptor','univer-pro.collaboration-client-socket-service','isActive','SUBMIT_CHANGESET','_nDataBytes','roomMembers$','mixIn','EffectRefRangId','_initMergeInterceptor','_clearHeartbeatTimer','onStarting','encrypt','_heartbeatTimer','YUUMI_UNABLE_LOAD_URL','error$','DocStateChangeManagerService','Pkcs7','YUUMI_RATE_OVER_LIMIT','amd','_loadSheet','fromCharCode','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_getMergeRange','IImageIoService','__esModule','TOO_MANY_REQUESTS','_sendingTimer','pushState','COLLAB_SUBMIT_CHANGESET_URL','IBeforeCloseService','cursorInfo$','_reverseMap','exhaustSavingTask','_permissionService','_hash','UniverNetworkPlugin','debounceTime','_socketMessageSubscription','HttpExport','get','DOC_RANGE_TYPE','_getCtorByUniverType','_scheduleCollaborationTimeoutTimer','href','deserializeRangeWithSheet','UniverDocs','LIVESHARE_OPERATION','RemoveRowCommandId','redoState','roomInfos','UNIVER_DOC','@univerjs/docs-ui','VIEW_MAIN','ImageSourceType','ranges','changesets','moveTo','roomMembers','SUCCUSS','HEARTBEAT_INTERVAL','registerDependencies','_setupBeforeClosingHandler','UPDATE_PERMISSION_OBJ','IRemoteInstanceService','m1Prime','every','react.fragment','userID','_decreaseWaiting','_startTelemetryCollaborationNewChangeset','/-/object/-/batch_allowed','filter','operators','[UniverCollaborationClientPlugin]','_transitionLocked','catch','closeSession','distinctUntilChanged','/universer-api/snapshot','SYNCED','createEncryptor','_onConnectionOpen','currentTheme$','toDisposable','updateCursorEvent','PSEUDO_FETCH_MISSING_RESULT','fetchMiss','NOT_COLLAB','INVALID_ARGUMENT','FromArray','loadSheet','DocIMEInputManagerService','_onConnectionFailed','listRoles','onMissedChangesetFetched','_hideTimer','idSuffix','2471211wqTPwi','setActiveRange','rxjs/operators','_retryCount','getCollabCursors$','prototype','EvpKDF','ImageUploadStatusType','collaboration-session-retry','snapshot','routeKey','[CollaborationUndoRedoService]','_waitForHeartbeatResponse','encode','skeleton','@univerjs/docs','collab-client.tooltip.reconnect','_applyRemoteChangeset','getUndoRedoMutationParamsCache','toLowerCase','getResourcesRequest','TEXT_RANGE_LAYER_INDEX','contains','@univerjs-pro/collaboration','AuthzIoHttpService','reduce','ThresholdInterceptorFactory','_unitOnClients','executeCommand','setTimeout','replace','image/bmp','collab-rect-range-','isPermissionRej','_transformHistoryAndStateStack','_refRangeService','_commentService','getLatestCsReqIdBySid','react','Hex','USERS_LEAVE','InsertRangeMoveDownCommandId','InsertColCommandId','_sheetTransformSelectionsService','_createSocket','submit\x20changeset\x20error!','socket$','PERMISSION_DENIED','@univerjs/engine-render','state','from','onSendChangeset','HttpImport','xlink:href','trim','_loadDoc','@univerjs/design','_updateURLWithCurrentState','getImage','setAlpha','title','HEARTBEAT_TIMEOUT_KEY','/universer-api/authz','EmptyMutation','show','FETCH_MISSING','#fff','color','kdf','_onCombEvent','_changesetReqId','ALREADY_EXISTS','\x0aCurrent:\x20','state$','byteLength','_snapshotService','_userManagerService','registerRenderModule','endColumn','_telemetryInfo','isArray','getOwnPropertySymbols','_onRemoteRetry','_awaitingChangeset','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','\x20-\x20','event$','/fetchmissing?from=','complete','UniverSheetsUi','univer-online-status-title','CollaborationSession','HEARTBEAT_TIMEOUT','origin','onload','_createHelper','_substituteUndoStack','enableOfflineEditing','awaitingChangeset','_onLocalMutation','_name','UNIVER_SLIDE','triggerDblclick','LICENSE_IMPORT_SIZE_EXCEEDED','put','fetch_missing','ITransformService','UserManagerService','RxDisposable','Vector2','_onJoinRoomEvent','[PendingState]:\x20received\x20acknowledgement.','getRangePointData','RETRY_CONNECTING_MAX_COUNT','localeService','IUndoRedoService','_initStatusListener','react.element','COLORS','_transformIMECache','_httpService','_commandService','throttleTime','rev','getViewport','sendChangesetTimeout','SNAPSHOT_SERVER_URL_KEY','cfg','CONNECTOR_DATA_TOO_LARGE','SheetPermissionInitController','sessionStatus$','_nRounds','getActiveRange','collabStatus.notCollab','disposeWithMe','switchMap','UNDEFINED','univer-pro.collaboration-client.single-active-unit-service','_changesetSessionId','_drawRectRange','univer-online','file','object','className','range','FETCH_MISS','connectInjector','ILogService','close','LOGIN_URL_KEY','pad','fromCollab','MSG_FOR_ERROR','colorChannel1','handleIRemoveRow','touchDependencies','subUnitId','_mode','CHANGESET_REVISION_CONFILICT','path','interceptor','CollaborationController','black','LIVESHARE_TERMINATE','_context','set','useCallback','x-univer-host','createIdentifier','_sendHeartbeatTimer','Cipher','_getUndoStack','_instanceService','_onRecvEvent','randomBytes','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','memberID','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_collabSessionService','decrypt','off-line-single_clip0_910_343','UniverInstanceType','getUniverSheetInstance','1361088dqhyub','LocalCacheService','members','ERROR_IMAGE_TYPE','_socket','@univerjs/sheets-ui','JOINING','LICENSE_EXPORT_SIZE_EXCEEDED','includes','SetWorksheetActivateCommand','url(#off-line-single_clip0_910_343)','getCurrentSelections','_fetchMissChangesets','_HTTPService','_scene','finalize','getItem','repeat','_acknowledgedAwaitingChangeset','randomUUID','infoRsp','push','LICENSE_MAX_UNITS_EXCEEDED','runRefRangeMutations','enableLocalCache','width','LIVESHARE_NEW_HOST','session.connection-failed','connection\x20error','USERS_ENTER','_doProcessBlock','_handleJoinEvent','verdancy600','Rectangle','handleMoveRange','onCommandExecuted','clipPath','MoveRangeCommandId','WorkbookEditablePermission','ITelemetryService','UniverDrawing','min','revision','_anchor','_getCurrentRevision','setCurrentUser','_onRemoteChangeset','InsertSheetMutation','onTransformSelections','_createHandler','_getSendChangesetTimeout','shouldCloseConn','_univerInstanceService','EXCHANGE_SIGN_URL_SERVER_URL_KEY','appendMutation','useRef','SetTextSelectionsOperation','WebSocketService','@univerjs/rpc','collab-text-anchor-','toStringTag','Base64','HmacSHA1','_transformService','getDocRanges','action','_onRemoteRejected','capture','_updateCollabCursors','_state','_docSyncEditingCollabCursorService','assign','_exhaustRemoteChangesetQueue','addObject','combineLatest','setParam','baseRev','onPointerEnter$','words','message$','_startSheetCollabCursor','history','_ENC_XFORM_MODE','IMessageService','CBC','UniverCollaborationClientPlugin','_ensureSubject','_renderManagerService','UniverTelemetry','UniverEngineFormula','body','unitId','image/gif','compose','SerializableCipher','_retryConnectingTimer','CONFLICT','IUIPartsService','_checkMissing','post','_cachedData','length','TEXT','transformStateCache','resize','sheetID','_clearUndo','_createInitialStateImpl','toggleOnline','Tooltip','ONLINE','_transformUndoredo','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_updateLocalCursor','5ERIpeC','[DataLoaderController]','init','fromEventSubject','error','/universer-api/stream/file/upload','hovered','ERROR_IMAGE','Unknown\x20user','[OfflineState]:\x20received\x20changeset.','defs','replaceState','textRanges','random','handleInsertRow','msCrypto','_colorAssignService','_collabCursorState$','uni.network.url-service','/object','_entityInit$','_render','awaiting_with_pending','_urlService','replaceTextRanges','registerRefRange','_prevBlock','collabStatus.fetchMiss','collaboration-client.offline-data-not-saved','_onUserJoin','INTERNAL_ERROR','src','Shape','[OfflineState]:\x20received\x20acknowledgement.','Disposable','HTTPService','hostname','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_selfUnitIDs','/-/object/list','_updateLocalCache','top','splice','hasher','IURLService','AES','takeUntil','_colorIndex','registerBeforeClose','_initEventListeners','c1Prime','CHANGESET_REJ','hasOwnProperty','0\x200\x2017\x2016','save\x20fail\x20reason\x20is\x20','_incrementRevisionNumber','session','collaboration_new_changeset','#FFF','_transformStack','POST','number','jiqing500','urlChange$','APPLY_REVISION_CONFILICT','addObjects','sequenceExecute','_saveCache','SheetsSelectionsService','permissionRejEvent','sessionStatus','_process','format','getActiveSheet','result','status','subunit','_document','_localStorageService','HEARTBEAT','_sendHeartbeat','_docTransformIMECacheService','online','pipe','_entities','function','fillText','UNRECOGNIZED','_messageService','Latin1','RefRangeService','_replaceFileID','indexOf','SHA1','_hover','_onRefRangeChange','keySize','_doFinalize','univer-online-status','ColorKit','doc.mutation.rich-text-editing','_revisionService','getUnitType','[CollaborationSession]','getMergeData','_createInitialState','_snapshotServerService','_sender','updateMember','append','gold400','/universer-api/file/{fileID}/sign-url','Rect','ICommandService','slice','SNAPSHOT_URL_KEY','_socketReady','_getAPIPrefixPath','_joinRoom','_syncEditingCollabCursor','_getDownloadEndpointURL','DesktopCollaborationStatusDisplayController','startsWith','roles','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','extend','_scheduleSaving','getSkeleton','NodePositionConvertToCursor','UNIVER_UNKNOWN','_unlockTransition','find','_backgroundColor','_initDependencies','CompressMutationService','socketService','url','saveSheetBlock','registerHTTPInterceptor','UniverNetwork','_type','_data','newValue','{fileID}','_saveTaskMap','reset','DocSkeletonManagerService','onPointerLeave$','_updateState','signUrlServerUrl','_docTransformStateCacheService','_clearCollaborationTimeoutTimer','/universer-api/oidc/authpage','_scheduleTimestamp','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','withCredentials','ciphertext','onRendered','collaborators','createSocket','enableSingleActiveInstanceLock','[OfflineState]:\x20received\x20rejection.','retryConnectingInterval','max','_waitCount','Plugin','onStateChange','_onOffline','assignAColorForMemberID','workbook','LICENSE_DISTRO_REJECTED','CipherParams','YUUMI_SUBSCRIPTION_NOT_FOUND','transformByState','_online','objects','charAt','_unitID','MUTATION','permission.title','activeSheet$','asObservable','setConfig','fillStyle','_send','Encryptor','BlockCipher','_initCloseConn','_textBubble','_keyPriorReset','setUndoRedoMutationParamsCache','_docSkeleton','split','startColumn','_onFetchMissResult','getSheetId','getTypeOfUnitDisposed$','setItem','json','key','_showConflictNotification','_substituteRedoStack','/unit/','reject','_resendWithTimeout','onMissingChangesets','CollaborationSessionService','csAckEvent','beginPath','_members','isTransformChangesetsSuccess','RegularPolygon','getStateCache','_iKey','b64DecodeUnicode','tag','_session','_handleLeaveEvent','DocSelectionManagerService','reqId','collabSubmitChangesetUrl','generateRandomId','UniverCollaboration','_DEC_XFORM_MODE','UniverCollaborationClient','BlockCipherMode','setInterval','collaboratorID','override','snapshotServerUrl','Undefined','@univerjs/telemetry','Subject','_handler','telemetry\x20info\x20is\x20not\x20initialized','_disableEditing','code','loadOfflineData','_initCommandExecutedListener','Error\x20on\x20receiving\x20event','_collabCursorController','isTransformMutationFailure','univer-offline','requestParams','stopTime','/object/','engine','headers','type','_imageSourceCache','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_transformUndoRedoStack','_removeCollabCursors','floor','_refreshCollabCursors','?size=','MemberService','unknown','SetSelectionsOperation','&assign=','_cipher','_cursorInfo$','toggleOffline','SNAPSHOT_INVALID_SNAPSHOT','updatePermissionPoint','_hasher','_doCryptBlock','/collaborator','clamp','height','url(#on-line-single_clip0_910_349)','ENSURE_SNAPSHOT_EXECUTION','M0\x200H16V16H0z','INGEST','NoPadding','HMAC','_id','_assignedColors','/role','_undoStacks','defineProperty','CommandType','symbol','__creator','_tryEnsureSocket','bind','Utf8','map','/new_changes','byteOffset','getDeserializedSheetBlock','saveImage','RevisionService','div','InsertRangeMoveRightCommandId','_handleHover','encryptBlock','patch','clearInterval','SnapshotServerOverHTTPService','getCurrentUser','popstate','_clearOtherTimers','endRow','sigBytes','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_handleEvent','getFocusedUnit','_onCursorDelete','4963161KHgzFx','addEventListener','lib','originalMeta','Workbook','MergeInterceptorFactory','_doReset','getColor','/block/','values','image/png','_init','image/jpg','entries','unshift','DisposableCollection','UNKNOWN_CMD','/universer-api/snapshot/','create','@univerjs/core','getOwnPropertyDescriptor','CollaborationEntity','LIVESHARE_FETCH_OPERATIONS','_telemetryService','size','ACTIVE_UNIT_EVENT_CHANNEL','PERMISSION_REJ','_schedule','getMember','handleInsertRangeMoveRight','_onUserLeave','collabCursorState$','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','add','startTime','_getLoginPath','defIds','concatMap','IDLE','undoState','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_candidateSocket','cmd','current','onCommentUpdate','dispose','UnitEmbedded','onTransformIME','SheetCollabCursorShape','_lastPointer','name','__Key__','UUID','DependentOn','fill','DataLoaderController','onlyLocal','getSheetBlock','_oKey','_labelPosition','_roomMembers','then','JOIN','authzUrl','transformIMECache','searchParams','COMPLETION_FINISHED','requireSession','getCurrentUnitForType','_memberService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','BASE64','getRoom','_redoStacks','algo','getUnhiddenWorksheets','getCollabEntity','getOffsetConfig','padding','bottom','purple300','_shouldReportTelemetry','getImageSourceCache','BuiltInUIPart','_transformSelections','IUniverInstanceService','collaboration.single-unit.warning','_collaborationTimeoutTimer','_state$','svg','url(#$1','COMPRESS_MUTATION_APPLY','font','ISnapshotServerService','_cursors','CommentService','collabStatus.syncing','with','incrementRevOfUnit','APPLY_PERMISSION_DENIED','resolve','_sessionStatus$','_resendTimeout','UNKNOWN_CODE','socket\x20open.','BufferedBlockAlgorithm','clearTimeout','UNIVER_SHEET','WordArray','mapDocumentTypeToUniverType','_socket$','_throwTelemetryCollaborationNewChangeset','disableLocalCache','makeDirty','COLLAB_WEB_SOCKET_URL_KEY','_listenToOfflineEvent','_lockTransition','syncEditingCollabCursor','mode','Univer','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_change$','ivSize','deepClone','saveOfflineData','updatePermissionObjEvent','take','transformRemoteChangeset','_cursor','delay','_injector','unsubscribe','restore','_iv','[PendingState]:\x20unhandled\x20univer\x20type:\x20','IConfigService','ThemeService','SheetCollaborationEntity','_transformRemoteChangesetByIMECache','update','MessageType','objectID','_range','hidden','Base','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','status$','_notificationService','translate(.97)','stringify','NO_OTHER_CLIENTS_EDITING','batchAllowed','/universer-api/comb','debug','_queuedRemoteChangesets','getParam','861600maEpQv','hide','disposeUnit','responseType','SHOULD_CLOSE_CONN','_invKeySchedule','_minBufferSize','readInt32LE','serializeCombRequest','serializeRangeWithSheet','UniverCore','_event$','Error','clear','_getSaveTimeout','getInterceptPoints','unitId\x20is\x20not\x20found','OnLineSingle','_onCursorUpdate','setShowComponents','duration','_map','_getRedoStack','_tryReconnect','target','_sheetSkeletonManagerService','default','SEND_CHANGESET_TIMEOUT','getCollabEntity$','blue400','visibilityState','_initUnitPermissionChange','children','addImageSourceCache','objectType','getRandomValues','reconnect','useDependency','_collaborationSessionService','sin','onPointerMove$','_toggleOnline','SheetSkeletonManagerService','removeMember','/resources','save','transformChangesets','UNIVER_PROJECT','listCollaborators','Module','location','LIVESHARE_REQUEST_HOST','_hovered','UNAUTHENTICATED','ERROR_EXCEED_SIZE','getRelativeToViewportCoord','collaboration-client.config','fromEvent','APPLY_DUPLICATED','503072nrRXKO','UPDATE_CURSOR'];_0xa983=function(){return _0x5b7374;};return _0xa983();}
|
1
|
+
function _0x5231(_0x1ebae2,_0x15c4c1){const _0x110ac1=_0x110a();return _0x5231=function(_0x5231b3,_0xe33651){_0x5231b3=_0x5231b3-0x96;let _0x4ccef1=_0x110ac1[_0x5231b3];return _0x4ccef1;},_0x5231(_0x1ebae2,_0x15c4c1);}function _0x110a(){const _0x2879e1=['_render','_configService','init','restore','[OfflineState]:\x20received\x20rejection.','MD5','snapshotServerUrl','parseChangesetToProtocol','on-line-single','@univerjs/rpc','InsertRowCommandId','startTime','session','_updateCollabCursors','_assignedColors','_cursor','_refRangeService','propertyIsEnumerable','replaceTextRanges','objectType','HELLO','/-/object/-/batch_allowed','_handleHeartbeatEvent','_undoStacks','extend','YUUMI_URL_COL_OUT_OF_RANGE','measureText','_init','storage','ILocalStorageService','column','_sheetSkeletonManagerService','off-line-single_clip0_910_343','SEND_CHANGESET_TIMEOUT','error$','formatter','change$','YUUMI_SUBSCRIPTION_NOT_FOUND','merge','DocStateChangeManagerService','none','_userManagerService','onRemoteAck','\x20in\x20_schedule.','SEND_CHANGESET_TIMEOUT_KEY','getValue','getMember','DocCollaborationEntity','_clearHeartbeatTimer','MessageType','collabCursorState$','_append','UNKNOWN_CMD','apply','ranges','@univerjs/sheets-ui','sid','RegularPolygon','incrementRevOfUnit','ERROR_IMAGE','_submitChangeset','string','RichTextEditingMutation','INGEST','IImageIoService','url(#$1','_httpService','NodePositionConvertToRectRange','__creator','selections','LOGIN_URL_KEY','_textBubble','hasOwnProperty','onRemoteRej','UNIVER_DOC','_pendingMutations','verdancy600','getRenderById','isArray','_handleJoinEvent','_tryReconnect','engine','167937QXkMVr','_registerDependencies','msCrypto','offline','_docSkeletonManagerService','_waitCount','YUUMI_UNABLE_LOAD_URL','LEAVE','combineLatest','pluginName','_registerRenderDependencies','roomInfos','createInstance','LIVESHARE_OPERATION','filter','attrs','FAIL','handleDeleteRangeMoveLeft','SNAPSHOT_HAS_BEEN_REMOVED','_iKey','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','SUBMIT_CHANGESET','_labelPosition','mutations','_socketMessageSubscription','INTERNAL_ERROR','498DRpbRs','BASE64','capture','_onJoinRoomEvent','onMissingChangesets','_socket','CBC','CommandType','_getSaveTimeout','_uiPartsService','save','_changesetReqId','CollaborationController','_resendTimer','getSkeleton','downloadEndpointUrl','_undoRedoService','TOO_MANY_REQUESTS','_telemetryService','then','enableSingleActiveInstanceLock','onCommentUpdate','unit','ref','result','onTransformState','location','collabWebSocketUrl','67KbmSgL','_handleHover','_entities','charAt','min','_entityInit$','roomMembers','getOwnPropertyDescriptor','symbol','mapDocumentTypeToUniverType','getCollabEntity','CHANGESET_REVISION_CONFILICT','endColumn','Unknown\x20user','awaitingChangeset','UNAUTHENTICATED','userID','setActiveRange','Encryptor','_getScale','USERS_LEAVE','_retryConnectingTimer','drawWith','_shapes','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','CollaborationStatusDisplay','HMAC','permissionRejEvent','_heartbeatTimer','originalMeta','LIVESHARE_REQUEST_HOST','sessionStatus$','UniverEngineFormula','_startSheetCollabCursor','SHA1','_config','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','IUniverInstanceService','find','_permissionService','UniverSheets','_hovered','PERMISSION_DENIED','fillText','not_collab','EvpKDF','isTransformMutationsWithChangesetSuccess','setShapeProps','encrypt','_send','icon','objectID','_initRequestHeader','_HTTPService','_colorIndex','size','_socket$','compute','action','UniverNetworkPlugin','entries','_cursorShapes','getUndoRedoMutationParamsCache','_sessions','shouldCloseConn','awaiting_with_pending','/unit/','DeleteRangeMoveUpCommandId','_doProcessBlock','handleInsertRangeMoveRight','_handleEvent','forwardRef','_sendingTimer','appendMutation','equals','ISnapshotServerService','_transformService','_cachedData','VIEW_MAIN','SetWorksheetActivateCommand','react','/object/','LocalCacheService','_docSyncEditingCollabCursorService','sheetId','createCollaborator','with','collab-text-range-','_clearScheduledTask','max','xlink:href','_colorAssignService','NodePositionConvertToCursor','AUTHZ_URL_KEY','_sendHeartbeatTimer','ivSize','getAncestorScale','take','contains','univer-pro.collaboration-client.single-active-unit-service','setUndoRedoMutationParamsCache','React','pauseCollaboration','collaboratorID','_replaceFileID','_setupBeforeClosingHandler','_drawRectRange','[OfflineState]:\x20received\x20changeset.','_onConnectionFailed','_changesetSessionId','?url=','randomBytes','RETRY_CONNECTING_MAX_COUNT','DesktopCollaborationStatusDisplayController','SetTextSelectionsOperation','processBlock','APPLY_REVISION_CONFILICT','revision','onMouseMove','lib','_onRemoteRejected','allowed','createElement','UniverTelemetry','JOINING','requestParams','404840NslCIN','encryptBlock','getCurrentSelections','isTransformMutationFailure','_unitOnClients','NOT_FOUND','collabStatus.fetchMiss','debounceTime','sigBytes','exports','toggleOnline','_unlockTransition','_lastPointer','SheetsSelectionsService','_syncEditingCollabCursor','put','conflict.content','transformByState','univerjs-icon\x20univerjs-icon-','COMPLETION_FINISHED','removeMember','roomMembers$','Workbook','_sendHeartbeat','UniverDocs','updatePermissionPoint','event$','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','liveShareNewHost','getItem','_getLoginPath','synced','replace','actions','_createHmacHelper','reset','registerRefRange','YUUMI_RATE_OVER_LIMIT','_urlService','UserManagerService','createSocket','[CollaborationEntity]','@univerjs/engine-formula','_initUnitPermissionChange','_scheduleTimestamp','session.connection-failed','status','arc','syncEditingCollabCursor','DependentOn','_snapshotService','name','_transformUndoredo','_oKey','UniverUi','_http','_removeCollabCursors','transformChangesets','mode','_getMergeRange','_color','INVALID_ARGUMENT','keySize','RemoveColCommandId','getImageSourceCache','_updateLocalCache','fetch_missing','MSG_FOR_ERROR','cmd','UniverCollaborationPlugin','_id','onPointerMove$','APPLY_NON_SEQUENTIAL_REVISION','assign','commentUpdate$','_hasher','cursorInfo','Malformed\x20UTF-8\x20data','_onCursorUpdate','state','saveSnapshot','target','_anchorDot','NO_OTHER_CLIENTS_EDITING','_createInitialStateImpl','asObservable','_joinRoom','ITransformService','LICENSE_MAX_UNITS_EXCEEDED','saveSheetBlock','unsubscribe','WordArray','removeParam','Latin1','_messageService','_docTransformIMECacheService','jsx','TEXT','_hideTimer','#FFF','Base64','createDecryptor','_keyPriorReset','LICENSE_IMPORT_SIZE_EXCEEDED','slice','_getCtorByUniverType','doc.mutation.rich-text-editing','newValue','substring','_getSheetObject','getLatestCsReqIdBySid','_shouldReportTelemetry','InsertSheetMutation','unknown','getRangePointData','_handler','selection','_initEventListeners','_stopTelemetryCollaborationNewChangeset','NOT_COLLAB','saveOfflineData','currentColor','_online','_nRounds','resourceIDs','setCurrentUser','changesets','_toggleOffline','listRoles','charCodeAt','_type','_onRefRangeChange','CompressMutationService','_onRecvEvent','popstate','json','_syncEditingCollabCursorService','CONFLICT','subscribeEvent','DOC_RANGE_TYPE','UNIVER_COLLABORATION_CLIENT_PLUGIN','key','getDocRanges','parseProtocolChangeset','mapTo','buffer','send','ws://127.0.0.1:8000/universer-api/comb/connect','shareReplay','@univerjs/sheets','div','Plugin','idSuffix','getDeserializedSheetBlock','_beforeCloseService','[CollaborationSessionService]','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','c2Prime','RxDisposable','fetchMissingChangesets','_roomMembers$','byteLength','params','clear','BuiltInUIPart','getInterceptPoints','getResourcesRequest','_handleLeaveEvent','73728EuZKXL','_memberService','onlyLocal','_refreshCollabCursors','_showConflictNotification','deserializeRangeWithSheet','_fetchMissChangesets','moveTo','subunit','_draw','_notificationService','CHANGESET_REJ','_unitStatus','width','Subject','/role','clearTimeout','_transformIMECache','CollaborationEntity','salt','UPDATE_CURSOR','_eventUnsubscribe','_acknowledgedAwaitingChangeset','collaboration-session-retry','unitId\x20is\x20not\x20found','_univerInstanceService','transformStateCache','sequenceExecute','getSheetId','UniverCore','_startDocCollabCursor','getUnit','_ensureSubject','HTTPRequest','DataLoaderController','delete','patch','encode','color','onRemoteChangeset','onTransformRemoteChangesetByIMECache','decryptBlock','DeleteRangeMoveLeftCommandId','getCurrent','_xformMode','CollaborationStatus','_getUndoStack','univer-online','blue400','LIVESHARE_NEW_HOST','_initCommandExecutedListener','concatMap','algo','_logService','_redoStacks','HmacSHA1','getUnitStatus$','rng','FETCH_MISS','Univer','HTTPService','href','IMessageService','915205pqpvxs','_transformSelections','defIds','_telemetryInfo','_listenToOnlineEvent','BlockCipher','_context','ALREADY_EXISTS','DisposableCollection','_clearLocalCache','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','getTime','src','/-/object/list','random','_docTransformSelectionsService','useCallback','LocaleService','[PendingState]:\x20received\x20acknowledgement.','getMergeData','_sheetTransformSelectionsService','_roomMembers','_imageSourceCache','_transformStack','encodeURIComponent','COLORS','unit-cache-','_getUploadFileURL','UniverNetwork','iterations','session.room-full','sheets','collaborators','_onUserJoin','_getRedoStack','_scheduleHeartbeat','getColor','fromCollab','RemoveRowCommandId','MemberService','onPointerEnter$','baseRev','ICommandService','IRenderManagerService','SheetCollabCursorShape','_singleActiveUnitService','UnitEmbedded','UniverDesign','generateRandomId','off-line-single','hovered','_scheduleSaving','_getSnapshotAPIPrefix','close','listCollaborators','onCommandExecuted','Base','OTHER_CLIENTS_EDITING','image/png','retryConnectingInterval','black','[CollaborationSession]','UNIVER_SLIDE','clamp','execute','onTransformChange$','className','sessionStatus','JOIN','IRemoteInstanceService','COLLAB_SUBMIT_CHANGESET_URL','resend','csRejEvent','transformMutationsWithChangeset','_onCombEvent','Error\x20on\x20receiving\x20event','clipPath','APPLY_REJECT','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','loadOfflineData','0\x200\x2017\x2016','image/gif','decrypt','ICollaborationSocketService','1em','uploadFileServerUrl','resize','HEARTBEAT_INTERVAL','csShouldRetryEvent','_prevBlock','m1Prime','CHANGESET_SHOULD_RETRY','rev','_updateState','initWorkbookPermissionChange','_iv','_createHandler','toDisposable','toStringTag','setWaitCount','_getDownloadEndpointURL','jsxs','UNRECOGNIZED','toggleOffline','BlockCipherMode','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_createHelper','url(#on-line-single_clip0_910_349)','[UniverCollaborationClientPlugin]','/universer-api/stream/file/upload','setParam','FileId','CollaborationSession','row','reconnect','updatePermissionObjEvent','_doFinalize','_updateLocalCursor','toRgbString','?size=','&source=','collab-client.tooltip.reconnect','closeSession','_ENC_XFORM_MODE','auth.needGotoLoginAlert','_onRemoteChangeset','getConfig','_selfUnitIDs','_docStateChangeManagerService','registerBeforeClose','method','ReactCurrentOwner','svg','assignAColorForMemberID','@univerjs/docs','_updateStatus','\x0aAfter:\x20','defs','close$','_ws','pending','getOwnPropertySymbols','BehaviorSubject','MergeInterceptorFactory','DocIMEInputManagerService','RECT','findNodePositionByCharIndex','Could\x20not\x20dynamically\x20require\x20\x22','SnapshotServerOverHTTPService','_getCurrentRevision','IURLService','fill','_invKeySchedule','setAlpha','getViewport','COLLAB_SUBMIT_CHANGESET_URL_KEY','gold400','_collaborationTimeoutTimer','defineProperty','create','CHANGESET_ACK','_clearCollaborationTimeoutTimer','RECV','startColumn','localeService','add','_candidateSocket','_transformPreviousActiveRange','_initMergeInterceptor','unload','EXCHANGE_SIGN_URL_SERVER_URL_KEY','jiqing500','rgba(255,\x20255,\x20255,\x200.01)','OFFLINE','onTransformRemoteChangesetByStateCache','useObservable','[SyncedState]:\x20received\x20rejection.','_members','_parse','finalize','{fileID}','RETRY_CONNECTING_MAX_COUNT_KEY','clearInterval','b64DecodeUnicode','HEARTBEAT_TIMEOUT','_commentService','getUnitOnRev','_nDataBytes','_initResize','transform','SNAPSHOT_INVALID_SNAPSHOT','deserializeToCombResponse','@univerjs/drawing','readInt32LE','_commentUpdate$','get','IDLE','DocSelectionManagerService','BufferedBlockAlgorithm','padding','height','Undefined','_removeClearOtherTimer','_substituteUndoStack','UNDEFINED','_map','transformUndoRedo','_anchor','WebSocketService','_replayCachedMutations','_onConnectionOpen','randomUUID','all','ImageIoService','Utf8','_sessionStatus$','getTypeOfUnitAdded$','CollaborationEvent','_toggleOnline','Rectangle','focused$','_transformHistoryAndStateStack','_data','CONNECTOR_DATA_TOO_LARGE','LICENSE_DISTRO_REJECTED','_clearTimeoutTimer','responseType','LIVESHARE_FETCH_OPERATIONS','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','url','MUTATION','UNIVER_SHEET','_hash','getStateCache','save\x20fail\x20reason\x20is\x20','ThresholdInterceptorFactory','UniverCollaboration','PENDING','catch','AES','_localCacheService','debug','currentSkeleton$','top','getCollabEntity$','_name','transformMutation','@univerjs/docs-ui','_reverseMap','liveShareOperation','/block/','override','image/bmp','unshift','TRANSFORM_CHANGE_OBSERVABLE_TYPE','splice','_exhaustRemoteChangesetQueue','_mode','react.element','_startCollaboration','onTransformSelections','reject','DocSkeletonManagerService','Vector2','ThemeService','disposeWithMe','univer-online-status-icon','_range','submit\x20changeset\x20error!','onlineStatusTitle','from','substr','_decreaseWaiting','_onCursorDelete','_change$','indexOf','UnitSnapshot','_checkMissing','_docTransformStateCacheService','pad','updateCursorEvent','getVpScrollXYInfoByPosToVp','_collabCursorController','[DataLoaderController]','[FetchMissState]','_sender','unitID','LICENSE_EXPORT_SIZE_EXCEEDED','UNKNOWN_CODE','HEARTBEAT','COMMENT_UPDATE','_event$','onRendered','registerRenderModule','makeDirty','$super','collabStatus.synced','_cipher','failed\x20to\x20apply\x20missed\x20changesets!','_timeoutTimer','getUnhiddenWorksheets','disposeUnit','setShowComponents','getMemberID','[CollaborationUndoRedoService]','6056KorGoh','cursorInfo$','_throwTelemetryCollaborationNewChangeset','COLLAB_WEB_SOCKET_URL','/universer-api/authz','/allowed','/universer-api/file/{fileID}/sign-url','_onConflict','_onFetchMissResult','_onMessage','connection\x20error','debounce','roles','throttleTime','\x20to\x20','SNAPSHOT_SERVER_URL_KEY','[PendingState]:\x20received\x20rejection.','_applyRemoteChangeset','_key','SnapshotService','@univerjs/telemetry','INotificationService','onlineStatus','parse','_scheduleClearOtherTimer','tag','&to=','_collaborationPaused','useRef','call','UniverRpc','ERROR_EXCEED_SIZE','uni.network.url-service','Rect','objects','fetching\x20missing\x20changesets\x20from\x20','beginPath','\x0aCurrent:\x20','some','reverse','@univerjs/engine-render','_queuedRemoteChangesets','exhaustSavingTask','round','updateOfflineData','_injector','onSendChangeset','FromArray','handleInsertRangeMoveDown','crypto','delay','_loadDoc','length','fetchThroughInterceptors','_cursorInfo$','_incrementRevisionNumber','path','_collabSessionService','image/jpeg','UPDATE_PERMISSION_OBJ','touchDependencies','UniverIcon','stringify','_getAPIPrefixPath','DEFAULT_FILE_NAME','SHOULD_CLOSE_CONN','_createSocket','status$','font','_drawTextRange','_executeRemoteChangeset','_collabCursorState$','editing\x20status\x20changed\x20to','editingUnit','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','refreshPermission','_localeService','UNIVER_PROJECT','SheetSkeletonManagerService','MoveRangeCommandId','ONLINE','replaceState','awaiting','fillStyle','NEW_CHANGESETS','SetDocZoomRatioOperation','toString','clone','Disposable','type','_getAPIPrefix','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_updateSubUnitFromURLParams','mixIn','createEncryptor','append','Cipher','EffectRefRangId','getSheetBySheetId','_collaborationController','deepClone','/universer-api/comb','UniverDrawing','socketService','on-line-single_clip0_910_349','@univerjs/network','permission.content','getRoom','UniverEngineRender','Tools','UniverSheetsUi','getCurrentUnitForType','loadDoc','isActive','AuthzIoHttpService','_clearOtherTimers','getImage','session.collaboration-timeout','getCurrentRevOfUnit','getParam','LIVESHARE_TERMINATE','fromCharCode','_collaborationSessionService','@univerjs/core','code','memberID','InsertRangeMoveDownCommandId','executeCommand','transformIMECache','enableAuthServer','AWAITING','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','handleInsertRow','docStateChange$','addEventListener','COMPRESS_MUTATION_APPLY','routeKey','current','_listenToOfflineEvent','_clearRedo','ITelemetryService','HEADER_MENU','cfg','_loadSheet','serializeRangeWithSheet','_scheduleCollaborationTimeoutTimer','setStateCache','title','_localStorageService','_saveTaskMap','WorkbookEditablePermission','__esModule','UniverCollaborationClient','concat','prototype','LOCAL_CACHE_INTERVAL','_rescheduleHeartbeat','9kbSCVy','displayName','_lockTransition','push','snapshot','textRanges','requireSession','_substituteRedoStack','onlineStatusIcon','_renderManagerService','_compressMutationService','range','kdf','_remoteChangesetQueue','_document','_transformUndoRedoStack','_onUserLeave','values','760304AnMwuj','_cursors','useDependency','session.will-retry','searchParams','_initStatusListener','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_awaitingChangeset','m2Prime','registerOnClose','_removeRoom','...','activeSheet$','onReady','show','_hover','currentTheme$','getCurrentUser','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','startRow','words','LocalUndoRedoService','x-univer-host','now','/universer-api/snapshot/','deleteCollaborator','hidden','saveChangeset','duration','has','setConfig','ACTIVE_UNIT_EVENT_CHANNEL','HEARTBEAT_INTERVAL_KEY','\x20-\x20','getAllMembers','/resources','undoState','onSyncEditingCollabCursor','_saveCache','conflict.title','NoPadding','_session','bottom','error','hostname','registerHTTPInterceptor','ciphertext','loginUrlKey','_state','_keySchedule','fromEventSubject','M0\x200H16V16H0z','function','objectActions','collab-text-anchor-','dispose','isInternalEditorID','_socketReady','TEXT_RANGE_LAYER_INDEX','subUnitId','_docSkeleton','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_drawAnchor','onMissedChangesetFetched','SYNCED','collaboration.single-unit.warning','IPermissionService','@univerjs-pro/collaboration','_tryEnsureSocket','getUniverSheetInstance','transformSelections','disableLocalCache','USERS_ENTER','next','OpenSSL','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','unitId','onRemoteRetry','getUnitType','forEach','_getSendChangesetTimeout','AWAITING_WITH_PENDING','switchMap','text','state$','UniverInstanceType','_revisionService','_initStatusComponent','[PendingState]:\x20unhandled\x20univer\x20type:\x20','dispose$','colorChannel1','_scene','ImageSourceType','url(#off-line-single_clip0_910_343)','[CollaborationState]:\x20apply\x20error!','Hasher','APPLY_PERMISSION_DENIED','IUndoRedoService','rxjs/operators','getActiveSheet','object','addObject','ceil','_resendTimeout','handleIRemoveCol','[SyncedState]:\x20received\x20acknowledgement.','byteOffset','Shape','evenodd','hasher','Optional','onStarting','_unitID','map','EmptyMutation','transformRemoteChangeset','HttpImport','RevisionService','subscribe','complete','ColorKit','onPointerLeave$','update','withCredentials','readAsDataURL','rxjs','collaboration-client.offline-data-not-saved','_process','onStateChange','&assign=','join','runRefRangeMutations','blockSize','permission.title','Tooltip','_waitForHeartbeatResponse','set','addObjects','getCollabCursors$','Inject','children','_status$','SheetCollaborationEntity','message$','Error','fromEvent','putCollaborators','default','_doCryptBlock','setItem','eventID','_DEC_XFORM_MODE','authzUrl','CollaborationSessionService','_isPermissionRej','fetchMiss','for','takeUntil','IConfigService','collabSubmitChangesetUrl','split','CommentService','updateMember','collabStatus.notCollab','every','_transformStateCache','stopTime','skeleton','sendChangesetTimeout','_commandService','_resendWithTimeout','_startTelemetryCollaborationNewChangeset','_disabled','COLLAB_WEB_SOCKET_URL_KEY','[OfflineState]:\x20received\x20acknowledgement.','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','onTransformIME','body','joinRsp','_disableEditing','_backgroundColor','collaboration_new_changeset','members','_clearUndo','UNIVER_UNKNOWN','createIdentifier','enableOfflineEditing','visibilitychange','copyFileMeta','defaultProps','getRandomValues','_initDependencies','_setupSubUnitSync','HttpExport','getFocusedUnit','ENSURE_SNAPSHOT_EXECUTION','_retryCount','confirm','interceptor','floor','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_minBufferSize','data','history','JSONX','post','@univerjs/ui','_getAnchorBounding','6454aILfmc','serializeCombRequest','enc','headers','_transitionLocked','_updateURLWithCurrentState','/collaborator','getTypeOfUnitDisposed$','Pkcs7','SNAPSHOT_URL_KEY','getRelativeToViewportCoord','FETCH_MISSING','_state$','OnLineSingle','reqId','c1Prime','SetSelectionsOperation','/rev/','ReplaySubject','getUnitId','hide','_schedule','isTransformChangesetsSuccess','ILogService','ImageUploadStatusType','distinctUntilChanged','POST','CollaborationSocketService','Decryptor','redoState','_onLocalMutation','reduce','getSheetObject','_getSignURL','conflict','_socketService','startsWith','_themeService','_onRemoteACK','pipe','onload','getCoordByCell','isPermissionRej','UniverCollaborationClientPlugin','Injector','lineTo','APPLY_DUPLICATED','CipherParams','univer-online-status-title','setTimeout','_createInitialState','urlChange$','format'];_0x110a=function(){return _0x2879e1;};return _0x110a();}(function(_0x5c2033,_0x5e1533){const _0x434c3e=_0x5231,_0x4ba8c4=_0x5c2033();while(!![]){try{const _0x2fecf9=parseInt(_0x434c3e(0x473))/0x1*(-parseInt(_0x434c3e(0x237))/0x2)+-parseInt(_0x434c3e(0x43d))/0x3+parseInt(_0x434c3e(0xc7))/0x4+parseInt(_0x434c3e(0x106))/0x5+-parseInt(_0x434c3e(0x457))/0x6*(-parseInt(_0x434c3e(0x3b6))/0x7)+parseInt(_0x434c3e(0x2e6))/0x8+-parseInt(_0x434c3e(0x2d4))/0x9*(-parseInt(_0x434c3e(0x4f1))/0xa);if(_0x2fecf9===_0x5e1533)break;else _0x4ba8c4['push'](_0x4ba8c4['shift']());}catch(_0x480f0c){_0x4ba8c4['push'](_0x4ba8c4['shift']());}}}(_0x110a,0x25c2a),function(_0x415397,_0x2861d2){const _0x470622=_0x5231;typeof exports==_0x470622(0x34a)&&typeof module<'u'?_0x2861d2(exports,require(_0x470622(0x2b2)),require('rxjs'),require(_0x470622(0x348)),require('@univerjs/design'),require('@univerjs/ui'),require(_0x470622(0x2a0)),require(_0x470622(0x329)),require(_0x470622(0x24b)),require(_0x470622(0x1fd)),require(_0x470622(0xb4)),require(_0x470622(0x25f)),require(_0x470622(0x18c)),require(_0x470622(0x1c6)),require('@univerjs/engine-formula'),require(_0x470622(0x422)),require(_0x470622(0x4c3)),require('@univerjs/rpc')):typeof define==_0x470622(0x31a)&&define['amd']?define([_0x470622(0x4fa),'@univerjs/core',_0x470622(0x363),_0x470622(0x348),'@univerjs/design',_0x470622(0x3b4),'@univerjs/network',_0x470622(0x329),_0x470622(0x24b),'@univerjs/docs-ui',_0x470622(0xb4),_0x470622(0x25f),_0x470622(0x18c),_0x470622(0x1c6),_0x470622(0x51b),_0x470622(0x422),'react',_0x470622(0x3f4)],_0x2861d2):(_0x415397=typeof globalThis<'u'?globalThis:_0x415397||self,_0x2861d2(_0x415397[_0x470622(0x2cf)]={},_0x415397[_0x470622(0xe4)],_0x415397[_0x470622(0x363)],_0x415397[_0x470622(0x363)]['operators'],_0x415397[_0x470622(0x135)],_0x415397[_0x470622(0x527)],_0x415397[_0x470622(0x122)],_0x415397[_0x470622(0x1f2)],_0x415397[_0x470622(0x4ee)],_0x415397['UniverDocsUi'],_0x415397[_0x470622(0x49b)],_0x415397[_0x470622(0x2a3)],_0x415397[_0x470622(0x509)],_0x415397[_0x470622(0x29d)],_0x415397[_0x470622(0x493)],_0x415397[_0x470622(0x2a5)],_0x415397[_0x470622(0x4d8)],_0x415397[_0x470622(0x255)]));}(this,function(_0x59c9b4,_0x411d72,_0x3c9c2d,_0x14effa,_0x4d0320,_0x33b7bc,_0x30b9e9,_0x487e40,_0x4a3e11,_0x24f328,_0x2e18c9,_0x46ea61,_0x518364,_0x5f2084,_0xcb5415,_0x2991cf,_0x224ea1,_0x36934c){'use strict';const _0xd4a6c7=_0x5231;var _0x3425b1=Object[_0xd4a6c7(0x1a4)],_0x1c8116=(_0x2e2ec5,_0x1323a8,_0x522db3)=>_0x1323a8 in _0x2e2ec5?_0x3425b1(_0x2e2ec5,_0x1323a8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x522db3}):_0x2e2ec5[_0x1323a8]=_0x522db3,_0x3fe385=(_0x4f5b1b,_0x25f9e8,_0x509c8a)=>_0x1c8116(_0x4f5b1b,typeof _0x25f9e8!=_0xd4a6c7(0x47b)?_0x25f9e8+'':_0x25f9e8,_0x509c8a);const _0x2fe602=_0xd4a6c7(0x246),_0x4599f9='/universer-api/snapshot',_0x19c8d1='SNAPSHOT_URL_KEY',_0x363ab6=_0xd4a6c7(0x40c),_0x1b13ef=_0xd4a6c7(0x23a),_0x1c4a7e=_0xd4a6c7(0xb2),_0x34d167=_0xd4a6c7(0x15d),_0x18a963=_0xd4a6c7(0x1be),_0x475057=_0xd4a6c7(0x4e3),_0x12e2d1=_0xd4a6c7(0x2d2),_0x4344f1=_0xd4a6c7(0x14c),_0x5412c=_0xd4a6c7(0x29c),_0x343e77=_0xd4a6c7(0x431),_0x46a6a1='/universer-api/oidc/authpage';var _0x22680b=(_0x4ef8ca=>(_0x4ef8ca[_0x4ef8ca[_0xd4a6c7(0x1d2)]=0x0]='UNDEFINED',_0x4ef8ca[_0x4ef8ca['OK']=0x1]='OK',_0x4ef8ca[_0x4ef8ca[_0xd4a6c7(0x456)]=0x2]=_0xd4a6c7(0x456),_0x4ef8ca[_0x4ef8ca[_0xd4a6c7(0x49d)]=0x3]=_0xd4a6c7(0x49d),_0x4ef8ca[_0x4ef8ca[_0xd4a6c7(0x4f6)]=0x4]='NOT_FOUND',_0x4ef8ca[_0x4ef8ca['UNAUTHENTICATED']=0x5]=_0xd4a6c7(0x482),_0x4ef8ca[_0x4ef8ca[_0xd4a6c7(0x10d)]=0x6]='ALREADY_EXISTS',_0x4ef8ca[_0x4ef8ca[_0xd4a6c7(0x52e)]=0x7]=_0xd4a6c7(0x52e),_0x4ef8ca[_0x4ef8ca[_0xd4a6c7(0x468)]=0x8]=_0xd4a6c7(0x468),_0x4ef8ca[_0x4ef8ca[_0xd4a6c7(0x504)]=0x9]=_0xd4a6c7(0x504),_0x4ef8ca[_0x4ef8ca['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xd4a6c7(0x47e),_0x4ef8ca[_0x4ef8ca[_0xd4a6c7(0x1c4)]=0x1771]=_0xd4a6c7(0x1c4),_0x4ef8ca[_0x4ef8ca[_0xd4a6c7(0x44f)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4ef8ca[_0x4ef8ca[_0xd4a6c7(0x3a9)]=0x1773]=_0xd4a6c7(0x3a9),_0x4ef8ca[_0x4ef8ca[_0xd4a6c7(0x153)]=0x1b59]=_0xd4a6c7(0x153),_0x4ef8ca[_0x4ef8ca[_0xd4a6c7(0x539)]=0x1b5a]=_0xd4a6c7(0x539),_0x4ef8ca[_0x4ef8ca[_0xd4a6c7(0x4e7)]=0x1b5b]=_0xd4a6c7(0x4e7),_0x4ef8ca[_0x4ef8ca[_0xd4a6c7(0x346)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4ef8ca[_0x4ef8ca[_0xd4a6c7(0x3e4)]=0x1b5d]=_0xd4a6c7(0x3e4),_0x4ef8ca[_0x4ef8ca['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0xd4a6c7(0x1e5),_0x4ef8ca[_0x4ef8ca[_0xd4a6c7(0x549)]=0x2329]=_0xd4a6c7(0x549),_0x4ef8ca[_0x4ef8ca[_0xd4a6c7(0x395)]=0x232a]=_0xd4a6c7(0x395),_0x4ef8ca[_0x4ef8ca[_0xd4a6c7(0x558)]=0x232b]=_0xd4a6c7(0x558),_0x4ef8ca[_0x4ef8ca[_0xd4a6c7(0x225)]=0x232c]=_0xd4a6c7(0x225),_0x4ef8ca[_0x4ef8ca[_0xd4a6c7(0x1e6)]=0x232d]=_0xd4a6c7(0x1e6),_0x4ef8ca[_0x4ef8ca['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xd4a6c7(0x443),_0x4ef8ca[_0x4ef8ca[_0xd4a6c7(0x404)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4ef8ca[_0x4ef8ca[_0xd4a6c7(0x516)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4ef8ca[_0x4ef8ca[_0xd4a6c7(0x410)]=0x2714]=_0xd4a6c7(0x410),_0x4ef8ca[_0x4ef8ca['UNRECOGNIZED']=-0x1]=_0xd4a6c7(0x16c),_0x4ef8ca))(_0x22680b||{}),_0x420e44=(_0x581ce9=>(_0x581ce9[_0x581ce9['UNIVER_UNKNOWN']=0x0]=_0xd4a6c7(0x39e),_0x581ce9[_0x581ce9['UNIVER_DOC']=0x1]=_0xd4a6c7(0x435),_0x581ce9[_0x581ce9[_0xd4a6c7(0x1ed)]=0x2]=_0xd4a6c7(0x1ed),_0x581ce9[_0x581ce9['UNIVER_SLIDE']=0x3]=_0xd4a6c7(0x144),_0x581ce9[_0x581ce9['UNIVER_PROJECT']=0x4]=_0xd4a6c7(0x284),_0x581ce9[_0x581ce9[_0xd4a6c7(0x16c)]=-0x1]=_0xd4a6c7(0x16c),_0x581ce9))(_0x420e44||{}),_0x4cdda2=(_0x318ca0=>(_0x318ca0[_0x318ca0['UNKNOWN_CMD']=0x0]=_0xd4a6c7(0x41f),_0x318ca0[_0x318ca0[_0xd4a6c7(0x3ff)]=0x1]=_0xd4a6c7(0x3ff),_0x318ca0[_0x318ca0[_0xd4a6c7(0x14a)]=0x2]=_0xd4a6c7(0x14a),_0x318ca0[_0x318ca0[_0xd4a6c7(0x444)]=0x3]='LEAVE',_0x318ca0[_0x318ca0['INGEST']=0x4]=_0xd4a6c7(0x42a),_0x318ca0[_0x318ca0[_0xd4a6c7(0x227)]=0x5]=_0xd4a6c7(0x227),_0x318ca0[_0x318ca0[_0xd4a6c7(0x1a8)]=0x6]=_0xd4a6c7(0x1a8),_0x318ca0[_0x318ca0['UNRECOGNIZED']=-0x1]=_0xd4a6c7(0x16c),_0x318ca0))(_0x4cdda2||{}),_0x56a547=(_0x2cc234=>(_0x2cc234[_0x2cc234[_0xd4a6c7(0x226)]=0x0]=_0xd4a6c7(0x226),_0x2cc234[_0x2cc234['OK']=0x1]='OK',_0x2cc234[_0x2cc234[_0xd4a6c7(0x44d)]=0x2]=_0xd4a6c7(0x44d),_0x2cc234[_0x2cc234[_0xd4a6c7(0x16c)]=-0x1]='UNRECOGNIZED',_0x2cc234))(_0x56a547||{}),_0x39705f=(_0x3bf72a=>(_0x3bf72a[_0x3bf72a[_0xd4a6c7(0x1cf)]=0x0]=_0xd4a6c7(0x1cf),_0x3bf72a[_0x3bf72a[_0xd4a6c7(0x35a)]=0x1]=_0xd4a6c7(0x35a),_0x3bf72a[_0x3bf72a[_0xd4a6c7(0x3a7)]=0x2]=_0xd4a6c7(0x3a7),_0x3bf72a[_0x3bf72a[_0xd4a6c7(0x134)]=0x3]=_0xd4a6c7(0x134),_0x3bf72a[_0x3bf72a[_0xd4a6c7(0x21a)]=0x4]='UnitSnapshot',_0x3bf72a[_0x3bf72a[_0xd4a6c7(0x16c)]=-0x1]='UNRECOGNIZED',_0x3bf72a))(_0x39705f||{});const _0x158e85='collaboration-client.config',_0x4c21ed={};function _0x32be7f(_0x58620c){const _0x2ef7bd=_0xd4a6c7;var _0x27b1d6,_0x37b4a6,_0x19f022,_0x7223ec,_0x31544a;const _0x4207b5=_0x58620c['data'],_0x218a3e=JSON[_0x2ef7bd(0x24e)](_0x4207b5);switch(_0x218a3e[_0x2ef7bd(0x535)]){case _0x4cdda2[_0x2ef7bd(0x227)]:case _0x4cdda2[_0x2ef7bd(0x3ff)]:{const _0x198de2=_0x218a3e['infoRsp'];return{..._0x218a3e,'data':_0x198de2,'cmd':_0x218a3e[_0x2ef7bd(0x535)]};}case _0x4cdda2[_0x2ef7bd(0x14a)]:{const _0x112923=_0x218a3e[_0x2ef7bd(0x398)];return{..._0x218a3e,'data':_0x112923,'cmd':_0x218a3e['cmd']};}case _0x4cdda2['RECV']:{const _0x304e67=_0x218a3e['collaMsg'];switch(_0x304e67[_0x2ef7bd(0x37c)]){case _0x487e40[_0x2ef7bd(0x1df)]['PERMISSION_REJ']:return{..._0x218a3e,'data':{..._0x304e67,'data':(_0x27b1d6=_0x304e67[_0x2ef7bd(0x48e)])==null?void 0x0:_0x27b1d6['cs']},'cmd':_0x218a3e[_0x2ef7bd(0x535)]};case _0x487e40['CollaborationEvent']['CHANGESET_ACK']:return{..._0x218a3e,'data':{..._0x304e67,'data':(_0x37b4a6=_0x304e67['csAckEvent'])==null?void 0x0:_0x37b4a6['cs']},'cmd':_0x218a3e['cmd']};case _0x487e40[_0x2ef7bd(0x1df)][_0x2ef7bd(0x28b)]:return{..._0x218a3e,'data':{..._0x304e67,'data':(_0x19f022=_0x304e67['newCsEvent'])==null?void 0x0:_0x19f022['cs']},'cmd':_0x218a3e[_0x2ef7bd(0x535)]};case _0x487e40[_0x2ef7bd(0x1df)][_0x2ef7bd(0xd2)]:return{..._0x218a3e,'data':{..._0x304e67,'data':(_0x7223ec=_0x304e67[_0x2ef7bd(0x14e)])==null?void 0x0:_0x7223ec['cs']},'cmd':_0x218a3e[_0x2ef7bd(0x535)]};case _0x487e40[_0x2ef7bd(0x1df)]['CHANGESET_SHOULD_RETRY']:return{..._0x218a3e,'data':{..._0x304e67,'data':(_0x31544a=_0x304e67[_0x2ef7bd(0x15e)])==null?void 0x0:_0x31544a['cs']},'cmd':_0x218a3e['cmd']};case _0x487e40[_0x2ef7bd(0x1df)][_0x2ef7bd(0xdb)]:return{..._0x218a3e,'data':{..._0x304e67,'data':_0x304e67[_0x2ef7bd(0x21e)]},'cmd':_0x218a3e['cmd']};case _0x487e40[_0x2ef7bd(0x1df)][_0x2ef7bd(0x32e)]:return{..._0x218a3e,'data':{..._0x304e67,'data':_0x304e67['joinEvent']},'cmd':_0x218a3e['cmd']};case _0x487e40[_0x2ef7bd(0x1df)][_0x2ef7bd(0x487)]:return{..._0x218a3e,'data':{..._0x304e67,'data':_0x304e67['leaveEvent']},'cmd':_0x218a3e[_0x2ef7bd(0x535)]};case _0x487e40[_0x2ef7bd(0x1df)][_0x2ef7bd(0xf8)]:return{..._0x218a3e,'data':{..._0x304e67,'data':_0x304e67[_0x2ef7bd(0x50d)]},'cmd':_0x218a3e['cmd']};case _0x487e40[_0x2ef7bd(0x1df)][_0x2ef7bd(0x1e9)]:case _0x487e40[_0x2ef7bd(0x1df)][_0x2ef7bd(0x44a)]:return{..._0x218a3e,'data':{..._0x304e67,'data':_0x304e67[_0x2ef7bd(0x1ff)]},'cmd':_0x218a3e[_0x2ef7bd(0x535)]};case _0x487e40[_0x2ef7bd(0x1df)][_0x2ef7bd(0x2af)]:return{..._0x218a3e,'data':{..._0x304e67,'data':_0x304e67[_0x2ef7bd(0x50d)]},'cmd':_0x218a3e['cmd']};case _0x487e40[_0x2ef7bd(0x1df)][_0x2ef7bd(0x534)]:return{..._0x218a3e,'data':_0x304e67,'cmd':_0x218a3e['cmd']};case _0x487e40[_0x2ef7bd(0x1df)][_0x2ef7bd(0x228)]:return{..._0x218a3e,'data':{..._0x304e67,'data':_0x304e67['commentUpdateEvent']},'cmd':_0x218a3e[_0x2ef7bd(0x535)]};case _0x487e40[_0x2ef7bd(0x1df)][_0x2ef7bd(0x272)]:return{..._0x218a3e,'data':{..._0x304e67,'data':_0x304e67[_0x2ef7bd(0x179)]},'cmd':_0x218a3e[_0x2ef7bd(0x535)]};case _0x487e40[_0x2ef7bd(0x1df)][_0x2ef7bd(0x278)]:return{..._0x218a3e,'data':{..._0x304e67,'data':_0x304e67[_0x2ef7bd(0x4b3)]},'cmd':_0x218a3e[_0x2ef7bd(0x535)]};default:return _0x218a3e;}}default:return _0x218a3e;}}function _0x2ea7fb(_0x2938d3){const _0x4a5069=_0xd4a6c7;switch(_0x2938d3['cmd']){case _0x4cdda2['HEARTBEAT']:case _0x4cdda2[_0x4a5069(0x3ff)]:return JSON[_0x4a5069(0x275)]({'cmd':_0x2938d3[_0x4a5069(0x535)],'routeKey':_0x2938d3['routeKey']});case _0x4cdda2['INGEST']:{let _0x4cf7f9;switch(_0x2938d3['data']['eventID']){case _0x487e40['CollaborationEvent'][_0x4a5069(0xdb)]:{_0x4cf7f9={'eventID':_0x487e40[_0x4a5069(0x1df)]['UPDATE_CURSOR'],'updateCursorEvent':_0x2938d3[_0x4a5069(0x3b0)]['data']};break;}case _0x487e40[_0x4a5069(0x1df)]['USERS_LEAVE']:{_0x4cf7f9={'eventID':_0x487e40[_0x4a5069(0x1df)][_0x4a5069(0x487)],'leaveEvent':_0x2938d3[_0x4a5069(0x3b0)][_0x4a5069(0x3b0)]};break;}case _0x487e40[_0x4a5069(0x1df)][_0x4a5069(0x32e)]:{_0x4cf7f9={'eventID':_0x487e40[_0x4a5069(0x1df)][_0x4a5069(0x32e)],'joinEvent':_0x2938d3[_0x4a5069(0x3b0)][_0x4a5069(0x3b0)]};break;}case _0x487e40[_0x4a5069(0x1df)][_0x4a5069(0xf8)]:{_0x4cf7f9={'eventID':_0x487e40[_0x4a5069(0x1df)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x2938d3[_0x4a5069(0x3b0)][_0x4a5069(0x3b0)]};break;}case _0x487e40[_0x4a5069(0x1df)][_0x4a5069(0x44a)]:{_0x4cf7f9={'eventID':_0x487e40['CollaborationEvent'][_0x4a5069(0x44a)],'liveShareOperation':_0x2938d3['data']['data']};break;}case _0x487e40[_0x4a5069(0x1df)]['LIVESHARE_TERMINATE']:{_0x4cf7f9={'eventID':_0x487e40[_0x4a5069(0x1df)][_0x4a5069(0x2af)],'liveShareTerminate':_0x2938d3[_0x4a5069(0x3b0)][_0x4a5069(0x3b0)]};break;}case _0x487e40['CollaborationEvent'][_0x4a5069(0x491)]:{_0x4cf7f9={'eventID':_0x487e40['CollaborationEvent'][_0x4a5069(0x491)],'liveShareRequestHost':_0x2938d3[_0x4a5069(0x3b0)][_0x4a5069(0x3b0)]};break;}case _0x487e40[_0x4a5069(0x1df)][_0x4a5069(0x1e9)]:{_0x4cf7f9={'eventID':_0x487e40[_0x4a5069(0x1df)][_0x4a5069(0x1e9)]};break;}default:_0x4cf7f9={'eventID':_0x2938d3[_0x4a5069(0x3b0)][_0x4a5069(0x37c)]};}return JSON['stringify']({'cmd':_0x2938d3[_0x4a5069(0x535)],'routeKey':_0x2938d3[_0x4a5069(0x2bf)],'collaMsg':_0x4cf7f9});}case _0x4cdda2[_0x4a5069(0x14a)]:return JSON[_0x4a5069(0x275)]({'cmd':_0x2938d3['cmd'],'routeKey':_0x2938d3[_0x4a5069(0x2bf)],'joinReq':_0x2938d3[_0x4a5069(0x3b0)]});case _0x4cdda2[_0x4a5069(0x444)]:return JSON[_0x4a5069(0x275)]({'cmd':_0x2938d3['cmd'],'routeKey':_0x2938d3[_0x4a5069(0x2bf)],'leaveReq':_0x2938d3[_0x4a5069(0x3b0)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x522b2d=Object[_0xd4a6c7(0x1a4)],_0xec6ad1=Object[_0xd4a6c7(0x47a)],_0x37c15a=(_0x495172,_0x384011,_0x332fc2,_0x9725e5)=>{const _0x5bbfd3=_0xd4a6c7;for(var _0x5762cd=_0x9725e5>0x1?void 0x0:_0x9725e5?_0xec6ad1(_0x384011,_0x332fc2):_0x384011,_0x3b7b85=_0x495172[_0x5bbfd3(0x26b)]-0x1,_0x29ccca;_0x3b7b85>=0x0;_0x3b7b85--)(_0x29ccca=_0x495172[_0x3b7b85])&&(_0x5762cd=(_0x9725e5?_0x29ccca(_0x384011,_0x332fc2,_0x5762cd):_0x29ccca(_0x5762cd))||_0x5762cd);return _0x9725e5&&_0x5762cd&&_0x522b2d(_0x384011,_0x332fc2,_0x5762cd),_0x5762cd;},_0x4d560d=(_0x33b8d0,_0x9dd646)=>(_0x3c5d27,_0x599c61)=>_0x9dd646(_0x3c5d27,_0x599c61,_0x33b8d0);const _0x296dff=_0x411d72[_0xd4a6c7(0x39f)]('univer-pro.collaboration-client-socket-service');function _0x133f0a(_0x2c2d14,_0x49251a,_0x3628a5){return _0x2c2d14+'/'+_0x49251a+'/unit/'+_0x3628a5+'/new_changes';}_0x59c9b4[_0xd4a6c7(0x3d1)]=class extends _0x411d72[_0xd4a6c7(0x28f)]{constructor(_0x130516,_0x18bc22,_0x1c7fb8,_0x3a644a,_0x14853c){const _0x1df53e=_0xd4a6c7;super(),this[_0x1df53e(0x528)]=_0x130516,this[_0x1df53e(0x191)]=_0x18bc22,this[_0x1df53e(0x3ec)]=_0x1c7fb8,this[_0x1df53e(0xfc)]=_0x3a644a,this['_snapshotServerService']=_0x14853c;}[_0xd4a6c7(0x519)](_0x1cac81){const _0x342a95=_0xd4a6c7,_0xc964f5=this[_0x342a95(0x191)]['createSocket'](_0x1cac81);if(!_0xc964f5)throw new Error(_0x342a95(0x2ba));const _0x475fd1=new _0x411d72[(_0x342a95(0x10e))](),_0x372152=new _0x3c9c2d[(_0x342a95(0xd5))]();_0x475fd1[_0x342a95(0x1ab)](_0xc964f5[_0x342a95(0x190)][_0x342a95(0x35c)](_0x58a5af=>_0x372152[_0x342a95(0x32f)](_0x58a5af))),_0x475fd1['add'](_0x411d72['toDisposable'](()=>_0x372152[_0x342a95(0x35d)]()));const _0x562652=new _0x3c9c2d[(_0x342a95(0xd5))]();_0x475fd1[_0x342a95(0x1ab)](_0xc964f5['error$'][_0x342a95(0x35c)](_0x14e797=>_0x562652[_0x342a95(0x32f)](_0x14e797))),_0x475fd1['add'](_0x411d72[_0x342a95(0x167)](()=>_0x562652[_0x342a95(0x35d)]()));const _0x1c26a0=new _0x3c9c2d['Subject']();_0x475fd1[_0x342a95(0x1ab)](_0xc964f5['message$'][_0x342a95(0x35c)](_0x565cd5=>{const _0xa01c2=_0x32be7f(_0x565cd5);_0x1c26a0['next'](_0xa01c2);})),_0x475fd1[_0x342a95(0x1ab)](_0x411d72[_0x342a95(0x167)](()=>_0x1c26a0[_0x342a95(0x35d)]()));let _0x2b825c;const _0x602f5d=()=>{const _0x495db9=_0x342a95;_0x562652[_0x495db9(0x32f)](new Event('connection\x20error')),_0x372152[_0x495db9(0x32f)](new CloseEvent(_0x495db9(0x241))),_0x2b825c[_0x495db9(0x13b)]();};return _0x2b825c={'memberID':'','close$':_0x372152['asObservable'](),'error$':_0x562652[_0x342a95(0x546)](),'open$':_0xc964f5['open$'],'message$':_0x1c26a0[_0x342a95(0x546)](),'send':_0x44551d=>{const _0x19f8bc=_0x342a95;if(_0x44551d['cmd']===_0x4cdda2[_0x19f8bc(0x42a)]){if(_0x44551d[_0x19f8bc(0x3b0)][_0x19f8bc(0x37c)]===_0x487e40[_0x19f8bc(0x1df)][_0x19f8bc(0x452)]){this[_0x19f8bc(0x427)](_0x2b825c,_0x44551d[_0x19f8bc(0x3b0)])[_0x19f8bc(0x1f4)](_0x500f8a=>{const _0x359c94=_0x19f8bc;this[_0x359c94(0xfc)][_0x359c94(0x311)](_0x500f8a),_0x602f5d();});return;}if(_0x44551d['data'][_0x19f8bc(0x37c)]===_0x487e40[_0x19f8bc(0x1df)]['FETCH_MISSING']){const _0x383d67=_0x44551d[_0x19f8bc(0x3b0)];this['_fetchMissChangesets'](_0x383d67)[_0x19f8bc(0x46a)](_0x46537c=>{const _0x11b8d2=_0x19f8bc;_0x1c26a0[_0x11b8d2(0x32f)]({'cmd':_0x4cdda2['RECV'],'code':_0x56a547['OK'],'routeKey':_0x383d67[_0x11b8d2(0x3b0)]['unitID'],'routeType':'','data':{'eventID':_0x487e40[_0x11b8d2(0x1df)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x46537c}}});})[_0x19f8bc(0x1f4)](_0x3b18a1=>{const _0xbd9dae=_0x19f8bc;this['_logService'][_0xbd9dae(0x311)](_0x3b18a1),_0x602f5d();});return;}}_0xc964f5[_0x19f8bc(0xb1)](_0x2ea7fb(_0x44551d));},'close':()=>{const _0x509e86=_0x342a95;_0xc964f5[_0x509e86(0x13b)](),_0x475fd1[_0x509e86(0x31d)]();}},_0x2b825c;}async[_0xd4a6c7(0x427)](_0x43390b,_0x358649){const _0x12d328=_0xd4a6c7;var _0x5b040e,_0x346a74;const {unitType:_0x347b19,unitID:_0x22a65f,changeset:_0x3334ac}=_0x358649['data'],_0x2739a2={'unitID':_0x22a65f,'memberID':_0x43390b[_0x12d328(0x2b4)],'type':_0x347b19,'changeset':_0x487e40[_0x12d328(0x3f2)](_0x3334ac)},_0x17d6fb=this[_0x12d328(0x3ec)]['getConfig'](_0x4344f1),_0x3c9608=this[_0x12d328(0x3ec)][_0x12d328(0x184)](_0x158e85),_0x161a15=_0x133f0a((_0x346a74=(_0x5b040e=_0x3c9608==null?void 0x0:_0x3c9608[_0x12d328(0x385)])!=null?_0x5b040e:_0x17d6fb)!=null?_0x346a74:_0x5412c,_0x347b19,_0x22a65f);try{await this[_0x12d328(0x528)]['post'](_0x161a15,{'body':_0x2739a2});}catch(_0x196218){throw this['_logService'][_0x12d328(0x311)](_0x12d328(0x143),_0x12d328(0x212)),_0x196218;}}async[_0xd4a6c7(0xcd)](_0x3414e6){const _0x641454=_0xd4a6c7,{unitID:_0x4978ab,from:_0x2fcda1,to:_0x1786e9,unitType:_0x54bf77}=_0x3414e6['data'];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x4978ab,'type':_0x54bf77,'from':_0x2fcda1,'to':_0x1786e9}))[_0x641454(0x9d)];}},_0x59c9b4[_0xd4a6c7(0x3d1)]=_0x37c15a([_0x4d560d(0x0,_0x411d72[_0xd4a6c7(0x371)](_0x30b9e9[_0xd4a6c7(0x103)])),_0x4d560d(0x1,_0x411d72[_0xd4a6c7(0x371)](_0x30b9e9['WebSocketService'])),_0x4d560d(0x2,_0x411d72[_0xd4a6c7(0x384)]),_0x4d560d(0x3,_0x411d72['ILogService']),_0x4d560d(0x4,_0x487e40[_0xd4a6c7(0x4be)])],_0x59c9b4['CollaborationSocketService']);const _0x1cb6dc=_0xd4a6c7(0x39b);function _0x13ac68(_0x81f1a3){const _0x545d3f=_0xd4a6c7;return JSON['stringify'](_0x81f1a3)[_0x545d3f(0x26b)];}class _0x32a747{constructor(){const _0xe31613=_0xd4a6c7;_0x3fe385(this,_0xe31613(0x1c8),new _0x3c9c2d[(_0xe31613(0xd5))]()),_0x3fe385(this,_0xe31613(0x53b),this['_commentUpdate$']['asObservable']());}[_0xd4a6c7(0x46c)](_0x399bea){const _0x189139=_0xd4a6c7;this[_0x189139(0x1c8)]['next'](_0x399bea);}}var _0x54de7a=Object[_0xd4a6c7(0x1a4)],_0x1177ac=Object['getOwnPropertyDescriptor'],_0x3eceb8=(_0x1753aa,_0x217929,_0x4ad9cc,_0x499090)=>{const _0x3f247a=_0xd4a6c7;for(var _0x433b90=_0x499090>0x1?void 0x0:_0x499090?_0x1177ac(_0x217929,_0x4ad9cc):_0x217929,_0x33c1b8=_0x1753aa[_0x3f247a(0x26b)]-0x1,_0x18d577;_0x33c1b8>=0x0;_0x33c1b8--)(_0x18d577=_0x1753aa[_0x33c1b8])&&(_0x433b90=(_0x499090?_0x18d577(_0x217929,_0x4ad9cc,_0x433b90):_0x18d577(_0x433b90))||_0x433b90);return _0x499090&&_0x433b90&&_0x54de7a(_0x217929,_0x4ad9cc,_0x433b90),_0x433b90;},_0x51fdc0=(_0x37d13a,_0x3a9ce3)=>(_0x41056b,_0x4754b8)=>_0x3a9ce3(_0x41056b,_0x4754b8,_0x37d13a);_0x59c9b4[_0xd4a6c7(0x12d)]=class extends _0x411d72[_0xd4a6c7(0x28f)]{constructor(_0x4289bb,_0x46a935){const _0x5cc937=_0xd4a6c7;super(),_0x3fe385(this,_0x5cc937(0x11b),new Map()),(this[_0x5cc937(0xe0)]=_0x4289bb,this[_0x5cc937(0x414)]=_0x46a935,this[_0x5cc937(0x20f)](_0x411d72[_0x5cc937(0x167)](_0x3c9c2d[_0x5cc937(0x411)](this[_0x5cc937(0xe0)]['getTypeOfUnitDisposed$'](_0x411d72['UniverInstanceType'][_0x5cc937(0x1ed)])[_0x5cc937(0x3dd)](_0x14effa[_0x5cc937(0x357)](_0x4e496f=>_0x4e496f[_0x5cc937(0x3c9)]())),this[_0x5cc937(0xe0)][_0x5cc937(0x3bd)](_0x411d72['UniverInstanceType'][_0x5cc937(0x435)])[_0x5cc937(0x3dd)](_0x14effa[_0x5cc937(0x357)](_0x50e0d8=>_0x50e0d8['getUnitId']())),this[_0x5cc937(0xe0)][_0x5cc937(0x3bd)](_0x411d72[_0x5cc937(0x33b)][_0x5cc937(0x144)])['pipe'](_0x14effa['map'](_0x55a7f5=>_0x55a7f5[_0x5cc937(0x3c9)]())))[_0x5cc937(0x35c)](_0x5d6fdf=>this[_0x5cc937(0x2f0)](_0x5d6fdf)))));}[_0xd4a6c7(0x9c)](_0x4f2e97){const _0x5eefe7=_0xd4a6c7;this[_0x5eefe7(0x414)][_0x5eefe7(0x9c)](_0x4f2e97);}['getCurrentUser'](){const _0x5aea02=_0xd4a6c7;return this['_userManagerService'][_0x5aea02(0x2f7)]();}[_0xd4a6c7(0x388)](_0x17dafa,_0x4155ea){const _0x5ef11c=_0xd4a6c7;let _0xfe1b64=this['_roomMembers'][_0x5ef11c(0x1c9)](_0x17dafa);_0xfe1b64||(_0xfe1b64=new _0x13c72e(),this[_0x5ef11c(0x11b)][_0x5ef11c(0x36e)](_0x17dafa,_0xfe1b64)),_0xfe1b64[_0x5ef11c(0x388)](_0x4155ea);}['removeMember'](_0x276170,_0x4fd8d5){const _0x3c192b=_0xd4a6c7,_0x3eb979=this[_0x3c192b(0x11b)][_0x3c192b(0x1c9)](_0x276170);_0x3eb979&&_0x3eb979['removeMember'](_0x4fd8d5);}[_0xd4a6c7(0x2a2)](_0x3e6811){return this['_roomMembers']['get'](_0x3e6811);}[_0xd4a6c7(0x419)](_0x59bc79,_0x2a5dcc){const _0x140168=_0xd4a6c7,_0x2a47c0=this[_0x140168(0x11b)]['get'](_0x59bc79);if(_0x2a47c0)return _0x2a47c0[_0x140168(0x419)](_0x2a5dcc);}[_0xd4a6c7(0x2f0)](_0x1bc821){const _0x52338b=_0xd4a6c7,_0x2f5883=this[_0x52338b(0x11b)][_0x52338b(0x1c9)](_0x1bc821);_0x2f5883&&(_0x2f5883[_0x52338b(0x31d)](),this[_0x52338b(0x11b)][_0x52338b(0xea)](_0x1bc821));}[_0xd4a6c7(0x31d)](){const _0x358e22=_0xd4a6c7;this[_0x358e22(0x11b)][_0x358e22(0x335)](_0x1e9cba=>_0x1e9cba['dispose']()),this[_0x358e22(0x11b)][_0x358e22(0xc2)]();}},_0x59c9b4['MemberService']=_0x3eceb8([_0x51fdc0(0x0,_0x411d72['IUniverInstanceService']),_0x51fdc0(0x1,_0x411d72['Inject'](_0x411d72[_0xd4a6c7(0x518)]))],_0x59c9b4[_0xd4a6c7(0x12d)]);class _0x13c72e extends _0x411d72[_0xd4a6c7(0x28f)]{constructor(){const _0x6ff48c=_0xd4a6c7;super(...arguments),_0x3fe385(this,_0x6ff48c(0x1b7),new Map());}['dispose'](){const _0x2e21b2=_0xd4a6c7;this[_0x2e21b2(0x1b7)]['clear']();}[_0xd4a6c7(0x388)](_0x8c26f5){const _0x2d1462=_0xd4a6c7;this['_members']['set'](_0x8c26f5[_0x2d1462(0x2b4)],_0x8c26f5);}[_0xd4a6c7(0x505)](_0xb5382f){const _0x58dd18=_0xd4a6c7;this[_0x58dd18(0x1b7)][_0x58dd18(0xea)](_0xb5382f);}[_0xd4a6c7(0x419)](_0x482cf7){const _0x200531=_0xd4a6c7;return this[_0x200531(0x1b7)]['get'](_0x482cf7);}[_0xd4a6c7(0x308)](){const _0x264c1e=_0xd4a6c7;return Array['from'](this[_0x264c1e(0x1b7)][_0x264c1e(0x2e5)]());}}var _0x1ba234=Object[_0xd4a6c7(0x1a4)],_0x429871=Object[_0xd4a6c7(0x47a)],_0x2623f8=(_0x4ad22c,_0x3434a1,_0x42c94f,_0x77c913)=>{const _0x1e0538=_0xd4a6c7;for(var _0x1c3415=_0x77c913>0x1?void 0x0:_0x77c913?_0x429871(_0x3434a1,_0x42c94f):_0x3434a1,_0x2948ec=_0x4ad22c[_0x1e0538(0x26b)]-0x1,_0x23c274;_0x2948ec>=0x0;_0x2948ec--)(_0x23c274=_0x4ad22c[_0x2948ec])&&(_0x1c3415=(_0x77c913?_0x23c274(_0x3434a1,_0x42c94f,_0x1c3415):_0x23c274(_0x1c3415))||_0x1c3415);return _0x77c913&&_0x1c3415&&_0x1ba234(_0x3434a1,_0x42c94f,_0x1c3415),_0x1c3415;},_0x1dc5f3=(_0x2b9619,_0x5731ac)=>(_0x6c5b95,_0x4492a2)=>_0x5731ac(_0x6c5b95,_0x4492a2,_0x2b9619),_0x5ca660=(_0x41c4be=>(_0x41c4be[_0x41c4be[_0xd4a6c7(0x1ca)]=0x0]=_0xd4a6c7(0x1ca),_0x41c4be[_0x41c4be['JOINING']=0x1]=_0xd4a6c7(0x4ef),_0x41c4be[_0x41c4be[_0xd4a6c7(0x1b3)]=0x2]='OFFLINE',_0x41c4be[_0x41c4be[_0xd4a6c7(0x287)]=0x3]=_0xd4a6c7(0x287),_0x41c4be))(_0x5ca660||{});_0x59c9b4[_0xd4a6c7(0x176)]=class extends _0x411d72['RxDisposable']{constructor(_0x500219,_0x53a696,_0x5ac84e,_0x328d07,_0x34d8b1,_0x4fd38e,_0xbda6bf,_0x1d3e10,_0x446983,_0x4f722d){const _0x20e3ed=_0xd4a6c7;super(),_0x3fe385(this,'_sessionStatus$',new _0x3c9c2d['BehaviorSubject'](0x0)),_0x3fe385(this,_0x20e3ed(0x492),this[_0x20e3ed(0x1dd)][_0x20e3ed(0x546)]()),_0x3fe385(this,_0x20e3ed(0x229),new _0x3c9c2d[(_0x20e3ed(0xd5))]()),_0x3fe385(this,_0x20e3ed(0x50b),this[_0x20e3ed(0x229)]['asObservable']()),_0x3fe385(this,'_socket'),_0x3fe385(this,_0x20e3ed(0x455)),_0x3fe385(this,_0x20e3ed(0x1a3)),_0x3fe385(this,'_shouldReportTelemetry',!0x1),_0x3fe385(this,'_telemetryInfo',null),(this[_0x20e3ed(0x356)]=_0x500219,this[_0x20e3ed(0xfc)]=_0x5ac84e,this[_0x20e3ed(0xb9)]=_0x328d07,this[_0x20e3ed(0x54f)]=_0x34d8b1,this['_configService']=_0x4fd38e,this['_localeService']=_0xbda6bf,this[_0x20e3ed(0xc8)]=_0x1d3e10,this[_0x20e3ed(0x1bf)]=_0x446983,this[_0x20e3ed(0x469)]=_0x4f722d,this['_shouldReportTelemetry']=!!this[_0x20e3ed(0x469)],_0x53a696[_0x20e3ed(0x3dd)](_0x3c9c2d[_0x20e3ed(0x383)](this[_0x20e3ed(0x33f)]))['subscribe'](_0x7973b2=>{const _0x5c1f37=_0x20e3ed;var _0x6d5a1e;typeof _0x7973b2>'u'||(this['_socket']=_0x7973b2,_0x7973b2?(this[_0x5c1f37(0x547)](_0x7973b2),this[_0x5c1f37(0x455)]=_0x7973b2[_0x5c1f37(0x375)][_0x5c1f37(0x35c)](_0x33e61d=>{const _0x309ae8=_0x5c1f37;_0x33e61d['routeKey']===this['_unitID']&&this[_0x309ae8(0x150)](_0x33e61d);})):(this[_0x5c1f37(0x239)](),this[_0x5c1f37(0x1dd)][_0x5c1f37(0x32f)](0x2),(_0x6d5a1e=this[_0x5c1f37(0x455)])==null||_0x6d5a1e[_0x5c1f37(0x54b)](),this[_0x5c1f37(0x455)]=null));}),this['disposeWithMe'](this['_beforeCloseService'][_0x20e3ed(0x2ef)](()=>{const _0x4e577d=_0x20e3ed;var _0x5173b7;(_0x5173b7=this[_0x4e577d(0x45c)])==null||_0x5173b7['send']({'cmd':_0x4cdda2[_0x4e577d(0x444)],'data':{'roomID':this[_0x4e577d(0x356)]}});})));}get['sessionStatus'](){const _0x5b54b8=_0xd4a6c7;return this['_sessionStatus$'][_0x5b54b8(0x418)]();}[_0xd4a6c7(0x235)](){const _0xe3e185=_0xd4a6c7;var _0x52f0c1,_0x2d0755;return(_0x2d0755=(_0x52f0c1=this[_0xe3e185(0x45c)])==null?void 0x0:_0x52f0c1[_0xe3e185(0x2b4)])!=null?_0x2d0755:null;}['dispose'](){const _0x14c368=_0xd4a6c7;super[_0x14c368(0x31d)](),this[_0x14c368(0x33f)][_0x14c368(0x32f)](),this[_0x14c368(0x33f)][_0x14c368(0x35d)]();}[_0xd4a6c7(0x13b)](){const _0x305b28=_0xd4a6c7;var _0x51e562,_0x181f6e;this['_throwTelemetryCollaborationNewChangeset'](),(_0x51e562=this[_0x305b28(0x45c)])==null||_0x51e562['send']({'cmd':_0x4cdda2[_0x305b28(0x444)],'data':{'roomID':this[_0x305b28(0x356)]}}),(_0x181f6e=this[_0x305b28(0x45c)])==null||_0x181f6e[_0x305b28(0x13b)](),this[_0x305b28(0x229)][_0x305b28(0x35d)](),this[_0x305b28(0x1dd)][_0x305b28(0x35d)](),this['dispose']();}['_onCombEvent'](_0x4776ee){const _0x39bb3e=_0xd4a6c7;_0x4776ee[_0x39bb3e(0x535)]===_0x4cdda2[_0x39bb3e(0x14a)]?this[_0x39bb3e(0x45a)](_0x4776ee):_0x4776ee[_0x39bb3e(0x535)]===_0x4cdda2[_0x39bb3e(0x1a8)]&&this[_0x39bb3e(0xa4)](_0x4776ee);}['_joinRoom'](_0x2c46f9){const _0x5abbe3=_0xd4a6c7;this[_0x5abbe3(0x1dd)][_0x5abbe3(0x32f)](0x1),_0x2c46f9['send']({'cmd':_0x4cdda2[_0x5abbe3(0x14a)],'routeKey':this[_0x5abbe3(0x356)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5abbe3(0x356)]}]}});}[_0xd4a6c7(0x45a)](_0x4ae5b0){const _0x3900a8=_0xd4a6c7;var _0x1d1099;if(_0x4ae5b0[_0x3900a8(0x2b3)]===_0x56a547[_0x3900a8(0x44d)]){this[_0x3900a8(0x54f)][_0x3900a8(0x2f4)]({'type':_0x4d0320['MessageType']['Warning'],'content':this[_0x3900a8(0x283)]['t'](_0x3900a8(0x124))}),this[_0x3900a8(0x1dd)][_0x3900a8(0x32f)](0x2);return;}this[_0x3900a8(0x1dd)][_0x3900a8(0x32f)](0x3);const _0x1786a7=(_0x1d1099=_0x4ae5b0[_0x3900a8(0x3b0)][_0x3900a8(0x448)][this['_unitID']])==null?void 0x0:_0x1d1099[_0x3900a8(0x39c)];_0x1786a7&&_0x1786a7['forEach'](_0x4b03f3=>this[_0x3900a8(0xc8)][_0x3900a8(0x388)](this[_0x3900a8(0x356)],_0x4b03f3));}[_0xd4a6c7(0xa4)](_0x13fec3){const _0x4c23a5=_0xd4a6c7;try{const _0x25eadd=_0x13fec3[_0x4c23a5(0x3b0)];switch(_0x25eadd[_0x4c23a5(0x37c)]){case _0x487e40[_0x4c23a5(0x1df)][_0x4c23a5(0x32e)]:this[_0x4c23a5(0x127)](_0x25eadd),this[_0x4c23a5(0x229)][_0x4c23a5(0x32f)](_0x25eadd);break;case _0x487e40['CollaborationEvent'][_0x4c23a5(0x487)]:this[_0x4c23a5(0x2e4)](_0x25eadd),this[_0x4c23a5(0x229)][_0x4c23a5(0x32f)](_0x25eadd);break;case _0x487e40[_0x4c23a5(0x1df)][_0x4c23a5(0x1a6)]:case _0x487e40[_0x4c23a5(0x1df)][_0x4c23a5(0x161)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x4c23a5(0x1a7)](),this[_0x4c23a5(0x229)]['next'](_0x25eadd);break;case _0x487e40['CollaborationEvent'][_0x4c23a5(0x534)]:this[_0x4c23a5(0xfc)][_0x4c23a5(0x311)](_0x4c23a5(0x1f0)+JSON[_0x4c23a5(0x275)](_0x25eadd)),this[_0x4c23a5(0x229)][_0x4c23a5(0x32f)](_0x25eadd);break;case _0x487e40[_0x4c23a5(0x1df)][_0x4c23a5(0x228)]:this['_commentService'][_0x4c23a5(0x46c)](_0x25eadd[_0x4c23a5(0x3b0)]),this[_0x4c23a5(0x229)][_0x4c23a5(0x32f)](_0x25eadd);break;default:this[_0x4c23a5(0x229)][_0x4c23a5(0x32f)](_0x25eadd);}}catch(_0x43b054){this['_logService'][_0x4c23a5(0x311)](_0x43b054,_0x13fec3);}}['_onUserJoin'](_0x55be37){const _0x16f9f3=_0xd4a6c7;this[_0x16f9f3(0xc8)][_0x16f9f3(0x388)](this[_0x16f9f3(0x356)],_0x55be37[_0x16f9f3(0x3b0)]);}[_0xd4a6c7(0x2e4)](_0x27b7f6){const _0x1c433a=_0xd4a6c7;this[_0x1c433a(0xc8)][_0x1c433a(0x505)](this[_0x1c433a(0x356)],_0x27b7f6[_0x1c433a(0x3b0)][_0x1c433a(0x2b4)]);}async[_0xd4a6c7(0xb1)](_0x1d0d21,_0x1f624f){const _0x1acd84=_0xd4a6c7;if(this[_0x1acd84(0x149)]!==0x3||!this[_0x1acd84(0x45c)])throw new Error(_0x1acd84(0x50c));try{_0x1d0d21['eventID']===_0x487e40['CollaborationEvent'][_0x1acd84(0x452)]&&(this[_0x1acd84(0x2c8)](),this[_0x1acd84(0x391)](_0x1d0d21)),this[_0x1acd84(0x45c)][_0x1acd84(0xb1)]({'cmd':_0x4cdda2[_0x1acd84(0x42a)],'routeKey':_0x1f624f,'routeType':'','data':_0x1d0d21});}catch(_0x28285e){this[_0x1acd84(0xfc)][_0x1acd84(0x311)](_0x28285e);}}['_scheduleCollaborationTimeoutTimer'](){const _0x2051f7=_0xd4a6c7;var _0x290215;this[_0x2051f7(0x1a3)]=window['setTimeout'](()=>{const _0x1e9476=_0x2051f7;this[_0x1e9476(0x1a3)]=null,this['_messageService'][_0x1e9476(0x2f4)]({'type':_0x4d0320[_0x1e9476(0x41c)][_0x1e9476(0x376)],'content':this[_0x1e9476(0x283)]['t'](_0x1e9476(0x2ac))});},(_0x290215=this['_configService'][_0x2051f7(0x184)](_0x18a963))!=null?_0x290215:0x4e20);}[_0xd4a6c7(0x1a7)](){const _0x130983=_0xd4a6c7;this[_0x130983(0x1a3)]&&(clearTimeout(this[_0x130983(0x1a3)]),this['_collaborationTimeoutTimer']=null);}[_0xd4a6c7(0x391)](_0x2d2dd8){const _0x4fd387=_0xd4a6c7;if(!this[_0x4fd387(0x560)])return;const {data:_0x11043e}=_0x2d2dd8,{unitID:_0x360363,changeset:_0x857a66}=_0x11043e,{mutations:_0x474a7c,type:_0x1316d4}=_0x857a66;this['_telemetryInfo']={'unitId':_0x360363,'type':_0x1316d4,'startTime':performance[_0x4fd387(0x2fd)](),'stopTime':0x0,'duration':0x0,'size':_0x13ac68(_0x474a7c)};}[_0xd4a6c7(0x567)](){const _0x2f37dd=_0xd4a6c7;if(this['_shouldReportTelemetry']){if(!this[_0x2f37dd(0x109)]){this[_0x2f37dd(0xfc)][_0x2f37dd(0x311)](_0x2f37dd(0x143),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x2f37dd(0x109)][_0x2f37dd(0x38c)]=performance[_0x2f37dd(0x2fd)](),this['_telemetryInfo'][_0x2f37dd(0x302)]=this[_0x2f37dd(0x109)][_0x2f37dd(0x38c)]-this['_telemetryInfo'][_0x2f37dd(0x3f6)],this['_telemetryService'][_0x2f37dd(0x459)](_0x1cb6dc,this['_telemetryInfo']),this[_0x2f37dd(0x109)]=null;}}[_0xd4a6c7(0x239)](){this['_telemetryInfo']=null;}},_0x59c9b4['CollaborationSession']=_0x2623f8([_0x1dc5f3(0x2,_0x411d72[_0xd4a6c7(0x3cd)]),_0x1dc5f3(0x3,_0x33b7bc['IBeforeCloseService']),_0x1dc5f3(0x4,_0x33b7bc[_0xd4a6c7(0x105)]),_0x1dc5f3(0x5,_0x411d72[_0xd4a6c7(0x384)]),_0x1dc5f3(0x6,_0x411d72[_0xd4a6c7(0x371)](_0x411d72[_0xd4a6c7(0x117)])),_0x1dc5f3(0x7,_0x411d72[_0xd4a6c7(0x371)](_0x59c9b4[_0xd4a6c7(0x12d)])),_0x1dc5f3(0x8,_0x411d72[_0xd4a6c7(0x371)](_0x32a747)),_0x1dc5f3(0x9,_0x411d72[_0xd4a6c7(0x354)](_0x4a3e11[_0xd4a6c7(0x2c3)]))],_0x59c9b4[_0xd4a6c7(0x176)]);var _0x585737=Object[_0xd4a6c7(0x1a4)],_0x22bcff=Object[_0xd4a6c7(0x47a)],_0x1a86ed=(_0x27afc5,_0x34d5b9,_0x5eaf2a,_0x49d98f)=>{const _0x302254=_0xd4a6c7;for(var _0x232924=_0x49d98f>0x1?void 0x0:_0x49d98f?_0x22bcff(_0x34d5b9,_0x5eaf2a):_0x34d5b9,_0x3b1c06=_0x27afc5[_0x302254(0x26b)]-0x1,_0x32e4b5;_0x3b1c06>=0x0;_0x3b1c06--)(_0x32e4b5=_0x27afc5[_0x3b1c06])&&(_0x232924=(_0x49d98f?_0x32e4b5(_0x34d5b9,_0x5eaf2a,_0x232924):_0x32e4b5(_0x232924))||_0x232924);return _0x49d98f&&_0x232924&&_0x585737(_0x34d5b9,_0x5eaf2a,_0x232924),_0x232924;},_0x116776=(_0x233e78,_0x168f8a)=>(_0x4faf19,_0xf6aa1)=>_0x168f8a(_0x4faf19,_0xf6aa1,_0x233e78);_0x59c9b4[_0xd4a6c7(0x37f)]=class extends _0x411d72['Disposable']{constructor(_0x575de4,_0x594b07,_0x455821,_0x3a7d01,_0x185801,_0x3659d6){const _0x1c3e59=_0xd4a6c7;super(),_0x3fe385(this,_0x1c3e59(0x4ab),new _0x3c9c2d['BehaviorSubject'](void 0x0)),_0x3fe385(this,'socket$',this['_socket$']['asObservable']()),_0x3fe385(this,'_candidateSocket',null),_0x3fe385(this,_0x1c3e59(0x4b2),new Map()),_0x3fe385(this,_0x1c3e59(0x373),new _0x3c9c2d[(_0x1c3e59(0x194))](_0x5ca660[_0x1c3e59(0x1ca)])),_0x3fe385(this,_0x1c3e59(0x27a),this[_0x1c3e59(0x373)][_0x1c3e59(0x546)]()),_0x3fe385(this,_0x1c3e59(0x31f),!0x1),_0x3fe385(this,_0x1c3e59(0x488)),_0x3fe385(this,'_retryCount',0x0),_0x3fe385(this,_0x1c3e59(0x4d1)),_0x3fe385(this,_0x1c3e59(0x231)),(this[_0x1c3e59(0x264)]=_0x575de4,this[_0x1c3e59(0x283)]=_0x594b07,this['_messageService']=_0x455821,this[_0x1c3e59(0xfc)]=_0x3a7d01,this[_0x1c3e59(0x3ec)]=_0x185801,this[_0x1c3e59(0x3d9)]=_0x3659d6,this[_0x1c3e59(0x566)]());}get[_0xd4a6c7(0x45c)](){const _0x4e5eae=_0xd4a6c7;return this[_0x4e5eae(0x4ab)][_0x4e5eae(0x418)]();}[_0xd4a6c7(0x566)](){const _0x2d835e=_0xd4a6c7;this[_0x2d835e(0x2c1)](),this[_0x2d835e(0x10a)]();}[_0xd4a6c7(0x31d)](){const _0x3224ac=_0xd4a6c7;super[_0x3224ac(0x31d)](),this['_sessions'][_0x3224ac(0x335)](_0x48c75f=>_0x48c75f['dispose']()),this[_0x3224ac(0x4b2)][_0x3224ac(0xc2)](),this[_0x3224ac(0x373)][_0x3224ac(0x35d)]();}async[_0xd4a6c7(0x2da)](_0xb7df82){const _0x4ed387=_0xd4a6c7;if(this[_0x4ed387(0x4b2)]['has'](_0xb7df82))return this[_0x4ed387(0x4b2)][_0x4ed387(0x1c9)](_0xb7df82);this[_0x4ed387(0x32a)]();const _0x61897d=this[_0x4ed387(0x264)][_0x4ed387(0x449)](_0x59c9b4[_0x4ed387(0x176)],_0xb7df82,this[_0x4ed387(0x4ab)][_0x4ed387(0x546)]());return this[_0x4ed387(0x4b2)]['set'](_0xb7df82,_0x61897d),_0x61897d;}[_0xd4a6c7(0x180)](_0x5f4a47){const _0x9f544e=_0xd4a6c7;var _0x528d54;const _0x56ed98=this[_0x9f544e(0x4b2)][_0x9f544e(0x1c9)](_0x5f4a47);_0x56ed98&&(this[_0x9f544e(0x4b2)][_0x9f544e(0xea)](_0x5f4a47),_0x56ed98[_0x9f544e(0x13b)]()),this[_0x9f544e(0x4b2)][_0x9f544e(0x4aa)]||(_0x528d54=this['_socket'])==null||_0x528d54[_0x9f544e(0x13b)]();}['reconnect'](){const _0x86661a=_0xd4a6c7;this[_0x86661a(0x3aa)]=0x0,this[_0x86661a(0x488)]!=null&&(clearTimeout(this[_0x86661a(0x488)]),this[_0x86661a(0x488)]=null),this[_0x86661a(0x43b)]();}['_createSocket'](){const _0xf2ffcd=_0xd4a6c7;var _0x887a5,_0x30eaea;const _0x25c575=this[_0xf2ffcd(0x3ec)]['getConfig'](_0x1b13ef),_0x1362a8=this[_0xf2ffcd(0x3ec)][_0xf2ffcd(0x184)](_0x158e85),_0x2cd335=(_0x30eaea=(_0x887a5=_0x1362a8==null?void 0x0:_0x1362a8[_0xf2ffcd(0x472)])!=null?_0x887a5:_0x25c575)!=null?_0x30eaea:_0x1c4a7e,_0x38168a=this[_0xf2ffcd(0x3d9)][_0xf2ffcd(0x519)](_0x2cd335);return this[_0xf2ffcd(0x1ac)]=_0x38168a,_0x38168a;}[_0xd4a6c7(0x32a)](){const _0x34d7a9=_0xd4a6c7;var _0x4cd800,_0x2a7e93;try{const _0x3b9ba4=(_0x2a7e93=(_0x4cd800=this[_0x34d7a9(0x45c)])!=null?_0x4cd800:this[_0x34d7a9(0x1ac)])!=null?_0x2a7e93:this[_0x34d7a9(0x279)]();if(_0x3b9ba4){const _0x26e567=_0x3b9ba4['send'];_0x3b9ba4[_0x34d7a9(0xb1)]=_0x4a8e98=>(this[_0x34d7a9(0x2d3)](),_0x26e567[_0x34d7a9(0x420)](_0x3b9ba4,[_0x4a8e98])),_0x3b9ba4['message$']['subscribe'](_0x576a53=>this[_0x34d7a9(0x240)](_0x3b9ba4,_0x576a53)),_0x3b9ba4[_0x34d7a9(0x40d)]['pipe'](_0x14effa[_0x34d7a9(0x4d4)](0x1))[_0x34d7a9(0x35c)](_0x2ff936=>this['_logService']['error']('[CollaborationSessionService]:\x20socket\x20error',_0x2ff936)),_0x3b9ba4['open$'][_0x34d7a9(0x3dd)](_0x14effa[_0x34d7a9(0x4d4)](0x1))['subscribe'](()=>{const _0x7f3958=_0x34d7a9;this[_0x7f3958(0x1d8)](_0x3b9ba4);}),_0x3b9ba4[_0x34d7a9(0x190)][_0x34d7a9(0x3dd)](_0x14effa[_0x34d7a9(0x4d4)](0x1))['subscribe'](_0x5c09c4=>{const _0xdbbced=_0x34d7a9;this[_0xdbbced(0xfc)][_0xdbbced(0x1f7)](_0xdbbced(0xba),'socket\x20close',_0x5c09c4),this['_onConnectionFailed']();});}}catch(_0x19eed9){this[_0x34d7a9(0xfc)]['error'](_0x19eed9),this[_0x34d7a9(0x4df)]();}}['_onConnectionOpen'](_0x2b1f3e){const _0x491f91=_0xd4a6c7;this[_0x491f91(0xfc)][_0x491f91(0x1f7)](_0x491f91(0xba),'socket\x20open.'),_0x2b1f3e[_0x491f91(0xb1)]({'cmd':_0x4cdda2['HELLO']}),this[_0x491f91(0x2d3)]();}[_0xd4a6c7(0x2c1)](){const _0x3df80e=_0xd4a6c7;window['addEventListener'](_0x3df80e(0x440),()=>this['_onOffline']());}['_onOffline'](){const _0x3baca9=_0xd4a6c7;this[_0x3baca9(0x31f)]=!0x1,this[_0x3baca9(0x1ac)]=null,this[_0x3baca9(0x373)][_0x3baca9(0x32f)](_0x5ca660[_0x3baca9(0x1b3)]),this[_0x3baca9(0x4ab)][_0x3baca9(0x32f)](null),this[_0x3baca9(0x1e7)](),this['_clearHeartbeatTimer']();}[_0xd4a6c7(0x4df)](){const _0x76b1fb=_0xd4a6c7;var _0x3af1a2;this['_onOffline'](),this[_0x76b1fb(0x3aa)]<((_0x3af1a2=this['_configService']['getConfig'](_0x475057))!=null?_0x3af1a2:0x3)?(this[_0x76b1fb(0x54f)][_0x76b1fb(0x2f4)]({'key':_0x76b1fb(0xde),'type':_0x4d0320[_0x76b1fb(0x41c)]['Warning'],'content':this['_localeService']['t'](_0x76b1fb(0x2e9))}),this[_0x76b1fb(0x43b)]()):this[_0x76b1fb(0x54f)][_0x76b1fb(0x2f4)]({'key':_0x76b1fb(0xde),'type':_0x4d0320[_0x76b1fb(0x41c)][_0x76b1fb(0x376)],'content':this[_0x76b1fb(0x283)]['t'](_0x76b1fb(0x51e))});}[_0xd4a6c7(0x10a)](){const _0x512dcd=_0xd4a6c7,_0x732710=()=>{const _0x5850db=_0x5231;this['_socket']||this[_0x5850db(0x178)]();},_0x61849d=()=>{const _0x63adf5=_0x5231;this[_0x63adf5(0x45c)]||document['visibilityState']===_0x63adf5(0x300)||this['reconnect']();};window[_0x512dcd(0x2bd)]('online',_0x732710),document['addEventListener'](_0x512dcd(0x3a1),_0x61849d);}[_0xd4a6c7(0x43b)](){const _0x3b4c6f=_0xd4a6c7;var _0x1d79f1;const _0x5b938e=this[_0x3b4c6f(0x3aa)],_0x10f366=this[_0x3b4c6f(0x3ec)][_0x3b4c6f(0x184)](_0x158e85),_0x49f575=_0x5b938e===0x0?0x0:((_0x1d79f1=_0x10f366==null?void 0x0:_0x10f366[_0x3b4c6f(0x141)])!=null?_0x1d79f1:0x4e20)*0x2**_0x5b938e;this[_0x3b4c6f(0x488)]=window[_0x3b4c6f(0x3e7)](()=>{const _0x1492f9=_0x3b4c6f;clearTimeout(this[_0x1492f9(0x488)]),this['_retryConnectingTimer']=null,this[_0x1492f9(0x32a)]();},_0x49f575),this[_0x3b4c6f(0x3aa)]+=0x1;}[_0xd4a6c7(0x240)](_0x2cf07d,_0x358a0b){const _0x1f1b9b=_0xd4a6c7,{cmd:_0x5dc0a8}=_0x358a0b;_0x5dc0a8===_0x4cdda2[_0x1f1b9b(0x3ff)]&&!this[_0x1f1b9b(0x31f)]&&(_0x2cf07d[_0x1f1b9b(0x2b4)]=_0x358a0b['data'][_0x1f1b9b(0x2b4)],this[_0x1f1b9b(0x4ab)][_0x1f1b9b(0x32f)](_0x2cf07d),this['_status$']['next'](_0x5ca660[_0x1f1b9b(0x287)]),this[_0x1f1b9b(0x31f)]=!0x0,this[_0x1f1b9b(0x1ac)]=null),_0x5dc0a8===_0x4cdda2['HEARTBEAT']&&this[_0x1f1b9b(0x1e7)](),this[_0x1f1b9b(0x2d3)]();}[_0xd4a6c7(0x2d3)](){const _0x4f04ce=_0xd4a6c7;var _0x54845e;this[_0x4f04ce(0x41b)](),this[_0x4f04ce(0x4d1)]=window['setTimeout'](()=>this[_0x4f04ce(0x508)](),(_0x54845e=this[_0x4f04ce(0x3ec)][_0x4f04ce(0x184)](_0x34d167))!=null?_0x54845e:0x7530);}['_sendHeartbeat'](){const _0x862dd6=_0xd4a6c7;this[_0x862dd6(0x45c)]['send']({'cmd':_0x4cdda2[_0x862dd6(0x227)]}),this[_0x862dd6(0x36d)]();}[_0xd4a6c7(0x36d)](){const _0x3660bb=_0xd4a6c7;var _0x226717;this[_0x3660bb(0x231)]=window['setTimeout'](()=>this[_0x3660bb(0x4df)](),(_0x226717=this[_0x3660bb(0x3ec)][_0x3660bb(0x184)](_0x18a963))!=null?_0x226717:0x4e20);}[_0xd4a6c7(0x41b)](){const _0x57ba74=_0xd4a6c7;this[_0x57ba74(0x4d1)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x57ba74(0x4d1)]=null);}[_0xd4a6c7(0x1e7)](){const _0x18d152=_0xd4a6c7;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x18d152(0x231)]),this[_0x18d152(0x231)]=null);}},_0x59c9b4[_0xd4a6c7(0x37f)]=_0x1a86ed([_0x116776(0x0,_0x411d72[_0xd4a6c7(0x371)](_0x411d72[_0xd4a6c7(0x3e2)])),_0x116776(0x1,_0x411d72[_0xd4a6c7(0x371)](_0x411d72['LocaleService'])),_0x116776(0x2,_0x33b7bc[_0xd4a6c7(0x105)]),_0x116776(0x3,_0x411d72['ILogService']),_0x116776(0x4,_0x411d72['IConfigService']),_0x116776(0x5,_0x296dff)],_0x59c9b4[_0xd4a6c7(0x37f)]);for(var _0x55c2e1=[],_0x221b7e=0x0;_0x221b7e<0x100;++_0x221b7e)_0x55c2e1[_0xd4a6c7(0x2d7)]((_0x221b7e+0x100)[_0xd4a6c7(0x28d)](0x10)[_0xd4a6c7(0x559)](0x1));function _0x3cbdc4(_0x17dfef,_0x2bca93=0x0){return(_0x55c2e1[_0x17dfef[_0x2bca93+0x0]]+_0x55c2e1[_0x17dfef[_0x2bca93+0x1]]+_0x55c2e1[_0x17dfef[_0x2bca93+0x2]]+_0x55c2e1[_0x17dfef[_0x2bca93+0x3]]+'-'+_0x55c2e1[_0x17dfef[_0x2bca93+0x4]]+_0x55c2e1[_0x17dfef[_0x2bca93+0x5]]+'-'+_0x55c2e1[_0x17dfef[_0x2bca93+0x6]]+_0x55c2e1[_0x17dfef[_0x2bca93+0x7]]+'-'+_0x55c2e1[_0x17dfef[_0x2bca93+0x8]]+_0x55c2e1[_0x17dfef[_0x2bca93+0x9]]+'-'+_0x55c2e1[_0x17dfef[_0x2bca93+0xa]]+_0x55c2e1[_0x17dfef[_0x2bca93+0xb]]+_0x55c2e1[_0x17dfef[_0x2bca93+0xc]]+_0x55c2e1[_0x17dfef[_0x2bca93+0xd]]+_0x55c2e1[_0x17dfef[_0x2bca93+0xe]]+_0x55c2e1[_0x17dfef[_0x2bca93+0xf]])['toLowerCase']();}var _0x458ffe,_0xc57f68=new Uint8Array(0x10);function _0x26ba9a(){const _0x331325=_0xd4a6c7;if(!_0x458ffe&&(_0x458ffe=typeof crypto<'u'&&crypto['getRandomValues']&&crypto[_0x331325(0x3a4)]['bind'](crypto),!_0x458ffe))throw new Error(_0x331325(0x2ec));return _0x458ffe(_0xc57f68);}var _0x4c9119=typeof crypto<'u'&&crypto[_0xd4a6c7(0x1d9)]&&crypto[_0xd4a6c7(0x1d9)]['bind'](crypto);const _0x3a0a7b={'randomUUID':_0x4c9119};function _0x299da9(_0x55676f,_0x117ef9,_0x1eef07){const _0x16d450=_0xd4a6c7;if(_0x3a0a7b[_0x16d450(0x1d9)]&&!_0x117ef9&&!_0x55676f)return _0x3a0a7b[_0x16d450(0x1d9)]();_0x55676f=_0x55676f||{};var _0x55964b=_0x55676f[_0x16d450(0x114)]||(_0x55676f[_0x16d450(0x100)]||_0x26ba9a)();return _0x55964b[0x6]=_0x55964b[0x6]&0xf|0x40,_0x55964b[0x8]=_0x55964b[0x8]&0x3f|0x80,_0x3cbdc4(_0x55964b);}var _0x21be86=Object['defineProperty'],_0x3410ee=Object[_0xd4a6c7(0x47a)],_0x2194fc=(_0x3b9d44,_0x1f89f9,_0x4d6a9b,_0x53a13f)=>{const _0x5aa65d=_0xd4a6c7;for(var _0x57901f=_0x53a13f>0x1?void 0x0:_0x53a13f?_0x3410ee(_0x1f89f9,_0x4d6a9b):_0x1f89f9,_0x1d78e8=_0x3b9d44[_0x5aa65d(0x26b)]-0x1,_0x43401a;_0x1d78e8>=0x0;_0x1d78e8--)(_0x43401a=_0x3b9d44[_0x1d78e8])&&(_0x57901f=(_0x53a13f?_0x43401a(_0x1f89f9,_0x4d6a9b,_0x57901f):_0x43401a(_0x57901f))||_0x57901f);return _0x53a13f&&_0x57901f&&_0x21be86(_0x1f89f9,_0x4d6a9b,_0x57901f),_0x57901f;},_0x12948c=(_0x2e8146,_0x4f0c66)=>(_0x3ab565,_0x56632e)=>_0x4f0c66(_0x3ab565,_0x56632e,_0x2e8146);let _0x5d53eb=class{constructor(_0x5d7238,_0x385c69,_0x396214){const _0x724339=_0xd4a6c7;this[_0x724339(0x264)]=_0x5d7238,this[_0x724339(0x4bf)]=_0x385c69,this[_0x724339(0x2dd)]=_0x396214;}[_0xd4a6c7(0x2b7)](_0x43a432){const _0x277583=_0xd4a6c7;this[_0x277583(0x2e3)](_0x43a432),this[_0x277583(0x1ad)](_0x43a432);}[_0xd4a6c7(0x359)](_0x1be0ef){const _0x7bb1f5=_0xd4a6c7,{unitID:_0x5a1a41}=_0x1be0ef,_0x3b3658=this['_renderManagerService'][_0x7bb1f5(0x438)](_0x5a1a41)[_0x7bb1f5(0x4c9)](_0x24f328[_0x7bb1f5(0x196)]),{redoCache:_0x3c2b27}=_0x3b3658[_0x7bb1f5(0x4b1)]();if(_0x3c2b27[_0x7bb1f5(0x26b)]===0x0)return _0x1be0ef;let _0xd0f670=_0x411d72[_0x7bb1f5(0x2a4)][_0x7bb1f5(0x29b)](_0x1be0ef[_0x7bb1f5(0x454)][0x0]);for(let _0x4336b7=0x0;_0x4336b7<_0x3c2b27[_0x7bb1f5(0x26b)];_0x4336b7++){const _0x2ae58d={'id':'doc.mutation.rich-text-editing','params':{..._0x3c2b27[_0x4336b7]}},_0x5ecce8=this[_0x7bb1f5(0x4bf)]['transformMutation'](_0xd0f670,_0x2ae58d,!0x1);if(_0x487e40['isTransformMutationFailure'](_0x5ecce8))throw _0x5ecce8['error'];_0xd0f670=_0x5ecce8[_0x7bb1f5(0x160)];}return{..._0x411d72[_0x7bb1f5(0x2a4)]['deepClone'](_0x1be0ef),'mutations':[_0xd0f670]};}[_0xd4a6c7(0x2e3)](_0x33fc90){const _0x37a1ea=_0xd4a6c7,{unitID:_0x13c537}=_0x33fc90,_0x4e3234=this['_renderManagerService'][_0x37a1ea(0x438)](_0x13c537)[_0x37a1ea(0x4c9)](_0x24f328[_0x37a1ea(0x196)]),{undoCache:_0x1ecc68,redoCache:_0x58103d}=_0x4e3234[_0x37a1ea(0x4b1)]();if(_0x1ecc68[_0x37a1ea(0x26b)]===0x0||_0x58103d[_0x37a1ea(0x26b)]===0x0)return;const _0x30b8d4=[],_0x5e8e6a=[];let _0x5b09ec=_0x411d72['Tools'][_0x37a1ea(0x29b)](_0x33fc90['mutations'][0x0]),_0x716787=_0x411d72[_0x37a1ea(0x2a4)]['deepClone'](_0x33fc90[_0x37a1ea(0x454)][0x0]);for(let _0x2a050c=_0x1ecc68[_0x37a1ea(0x26b)]-0x1;_0x2a050c>=0x0;_0x2a050c--){const _0x29a1a1={'id':_0x37a1ea(0x55b),'params':{..._0x1ecc68[_0x2a050c]}},_0x5c379d={'id':'doc.mutation.rich-text-editing','params':{..._0x58103d[_0x2a050c]}},_0x80a1e=this['_transformService'][_0x37a1ea(0x1fc)](_0x5b09ec,_0x29a1a1,!0x1),_0x171650=this[_0x37a1ea(0x4bf)]['transformMutation'](_0x716787,_0x5c379d,!0x1);if(_0x487e40[_0x37a1ea(0x4f4)](_0x80a1e))throw _0x80a1e['error'];if(_0x487e40[_0x37a1ea(0x4f4)](_0x171650))throw _0x171650[_0x37a1ea(0x311)];_0x30b8d4[_0x37a1ea(0x203)](_0x80a1e[_0x37a1ea(0x2ee)][_0x37a1ea(0xc1)]),_0x5e8e6a[_0x37a1ea(0x203)](_0x171650[_0x37a1ea(0x2ee)][_0x37a1ea(0xc1)]),_0x5b09ec=_0x80a1e[_0x37a1ea(0x160)],_0x716787=_0x171650[_0x37a1ea(0x160)];}_0x4e3234[_0x37a1ea(0x4d7)]({'undoCache':_0x30b8d4,'redoCache':_0x5e8e6a});}[_0xd4a6c7(0x1ad)](_0x2147cf){const _0x17f00f=_0xd4a6c7,{unitID:_0x546ac0}=_0x2147cf,_0x548b2d=this['_renderManagerService']['getRenderById'](_0x546ac0)[_0x17f00f(0x4c9)](_0x24f328[_0x17f00f(0x196)]),_0x1e539e=_0x548b2d['getActiveRange']();if(_0x1e539e==null)return;const _0x3d42dc=[{'id':_0x17f00f(0x55b),'params':{'unitId':_0x2147cf['unitID'],'actions':null,'textRanges':[_0x1e539e]}}],_0x424fb9=this[_0x17f00f(0x4bf)]['transformMutationsWithChangeset'](_0x2147cf,_0x3d42dc);if(!_0x487e40['isTransformMutationsWithChangesetSuccess'](_0x424fb9))throw _0x424fb9[_0x17f00f(0x311)];const _0x2fee3d=_0x424fb9[_0x17f00f(0x2ee)][0x0][_0x17f00f(0xc1)][_0x17f00f(0x2d9)];Array[_0x17f00f(0x439)](_0x2fee3d)&&_0x2fee3d[_0x17f00f(0x26b)]&&_0x548b2d[_0x17f00f(0x484)](_0x2fee3d[0x0]);}};_0x5d53eb=_0x2194fc([_0x12948c(0x0,_0x411d72[_0xd4a6c7(0x371)](_0x411d72['Injector'])),_0x12948c(0x1,_0x487e40[_0xd4a6c7(0x548)]),_0x12948c(0x2,_0x46ea61[_0xd4a6c7(0x131)])],_0x5d53eb);var _0x5b694d=Object[_0xd4a6c7(0x1a4)],_0x539a1d=Object['getOwnPropertyDescriptor'],_0x330fa4=(_0x14f8b1,_0x3a7c77,_0x259012,_0x37b418)=>{const _0x3e7697=_0xd4a6c7;for(var _0x5a5c32=_0x37b418>0x1?void 0x0:_0x37b418?_0x539a1d(_0x3a7c77,_0x259012):_0x3a7c77,_0x3938bf=_0x14f8b1[_0x3e7697(0x26b)]-0x1,_0x17c64b;_0x3938bf>=0x0;_0x3938bf--)(_0x17c64b=_0x14f8b1[_0x3938bf])&&(_0x5a5c32=(_0x37b418?_0x17c64b(_0x3a7c77,_0x259012,_0x5a5c32):_0x17c64b(_0x5a5c32))||_0x5a5c32);return _0x37b418&&_0x5a5c32&&_0x5b694d(_0x3a7c77,_0x259012,_0x5a5c32),_0x5a5c32;},_0x12c573=(_0x98cd19,_0x4db471)=>(_0x2789b2,_0x2419c8)=>_0x4db471(_0x2789b2,_0x2419c8,_0x98cd19);_0x59c9b4[_0xd4a6c7(0x4c5)]=class extends _0x411d72[_0xd4a6c7(0x28f)]{constructor(_0x2939fa,_0x17c395,_0x431379,_0xe39b7e,_0x5544e6){const _0x3cba98=_0xd4a6c7;super(),_0x3fe385(this,_0x3cba98(0x4c0),new Map()),_0x3fe385(this,_0x3cba98(0x2cc),new Map()),_0x3fe385(this,'_disabled',!0x1),(this[_0x3cba98(0x3ec)]=_0x2939fa,this[_0x3cba98(0x2cb)]=_0x17c395,this[_0x3cba98(0xb9)]=_0x431379,this[_0x3cba98(0x283)]=_0xe39b7e,this['_revisionService']=_0x5544e6,this[_0x3cba98(0x4dc)]());}[_0xd4a6c7(0x32d)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x4850b3=_0xd4a6c7;this[_0x4850b3(0x392)]=!0x1;}[_0xd4a6c7(0x31d)](){const _0xe3304a=_0xd4a6c7;this[_0xe3304a(0x261)]()[_0xe3304a(0x46a)](()=>super[_0xe3304a(0x31d)]());}async[_0xd4a6c7(0x155)](_0x2c7b8c){const _0x206380=_0xd4a6c7;return this[_0x206380(0x392)]?null:this['_localStorageService'][_0x206380(0x50e)](_0x14f690(_0x2c7b8c));}async[_0xd4a6c7(0x97)](_0x4a395f,_0x2bd2ac){const _0x569990=_0xd4a6c7;return!!this[_0x569990(0x2cb)]['setItem'](_0x4a395f,_0x2bd2ac);}['updateOfflineData'](_0x4f7897,_0x3d7db1,_0x2fab1f,_0x550a1a){const _0x153648=_0xd4a6c7,_0x5c0cc8=this[_0x153648(0x33c)][_0x153648(0x2ad)](_0x4f7897);this[_0x153648(0x4c0)][_0x153648(0x36e)](_0x4f7897,{'unitID':_0x4f7897,'type':_0x3d7db1,'awaitingChangeset':_0x2fab1f,'mutations':_0x550a1a,'rev':_0x5c0cc8}),this[_0x153648(0x2cc)][_0x153648(0x303)](_0x4f7897)||this['_scheduleSaving'](_0x4f7897);}[_0xd4a6c7(0x139)](_0x2e4c9d){const _0x285be5=_0xd4a6c7,_0x3e1674=this[_0x285be5(0x45f)]();_0x3e1674===0x0?this['_saveCache'](_0x2e4c9d):this[_0x285be5(0x2cc)]['set'](_0x2e4c9d,setTimeout(()=>this[_0x285be5(0x30c)](_0x2e4c9d),_0x3e1674));}[_0xd4a6c7(0x45f)](){const _0x32ceb7=_0xd4a6c7;var _0x58217b;return(_0x58217b=this[_0x32ceb7(0x3ec)]['getConfig'](_0x12e2d1))!=null?_0x58217b:0x3e8;}['_saveCache'](_0x2c4f8f){const _0x176505=_0xd4a6c7,_0x22e034=this['_saveTaskMap'][_0x176505(0x1c9)](_0x2c4f8f);return _0x22e034!==void 0x0&&window[_0x176505(0xd7)](_0x22e034),this[_0x176505(0x2cb)][_0x176505(0x37b)](_0x14f690(_0x2c4f8f),this['_cachedData']['get'](_0x2c4f8f))[_0x176505(0x46a)](()=>this[_0x176505(0x2cc)][_0x176505(0xea)](_0x2c4f8f));}async[_0xd4a6c7(0x261)](){const _0x5bdd60=_0xd4a6c7,_0x434d05=[];this['_saveTaskMap'][_0x5bdd60(0x335)]((_0x2da3be,_0x32d634)=>{const _0x5a3ea1=_0x5bdd60;window[_0x5a3ea1(0xd7)](_0x2da3be),_0x434d05[_0x5a3ea1(0x2d7)](this[_0x5a3ea1(0x30c)](_0x32d634)[_0x5a3ea1(0x46a)](()=>{const _0x4f102f=_0x5a3ea1;this['_saveTaskMap'][_0x4f102f(0xea)](_0x32d634);}));}),await Promise[_0x5bdd60(0x1da)](_0x434d05);}[_0xd4a6c7(0x4dc)](){const _0x1ed1d3=_0xd4a6c7;this['disposeWithMe'](this[_0x1ed1d3(0xb9)][_0x1ed1d3(0x187)](()=>{const _0xa950ee=_0x1ed1d3;if(this['_saveTaskMap'][_0xa950ee(0x4aa)])return this[_0xa950ee(0x283)]['t'](_0xa950ee(0x364));}));}},_0x59c9b4[_0xd4a6c7(0x4c5)]=_0x330fa4([_0x12c573(0x0,_0x411d72['IConfigService']),_0x12c573(0x1,_0x411d72[_0xd4a6c7(0x408)]),_0x12c573(0x2,_0x33b7bc['IBeforeCloseService']),_0x12c573(0x3,_0x411d72['Inject'](_0x411d72['LocaleService'])),_0x12c573(0x4,_0x411d72[_0xd4a6c7(0x371)](_0x487e40[_0xd4a6c7(0x35b)]))],_0x59c9b4[_0xd4a6c7(0x4c5)]);function _0x14f690(_0x38b3fc){const _0xf0714c=_0xd4a6c7;return _0xf0714c(0x120)+_0x38b3fc;}var _0x4cf0df=Object[_0xd4a6c7(0x1a4)],_0x40b48f=Object['getOwnPropertyDescriptor'],_0x15407f=(_0x225b2b,_0x5dd4df,_0x21b268,_0x5f0384)=>{const _0x3f4cfd=_0xd4a6c7;for(var _0x4c53c9=_0x5f0384>0x1?void 0x0:_0x5f0384?_0x40b48f(_0x5dd4df,_0x21b268):_0x5dd4df,_0x42d147=_0x225b2b[_0x3f4cfd(0x26b)]-0x1,_0x207821;_0x42d147>=0x0;_0x42d147--)(_0x207821=_0x225b2b[_0x42d147])&&(_0x4c53c9=(_0x5f0384?_0x207821(_0x5dd4df,_0x21b268,_0x4c53c9):_0x207821(_0x4c53c9))||_0x4c53c9);return _0x5f0384&&_0x4c53c9&&_0x4cf0df(_0x5dd4df,_0x21b268,_0x4c53c9),_0x4c53c9;},_0x58bc15=(_0x2a1667,_0x40b3a8)=>(_0x3af55f,_0x4d596b)=>_0x40b3a8(_0x3af55f,_0x4d596b,_0x2a1667);function _0x43f785(_0x2a87cb){const _0x2a68ee=_0xd4a6c7,{unitID:_0x3f32b7,mutations:_0x5d3fd8}=_0x2a87cb;return{'unitId':_0x3f32b7,'subUnitId':_0x5d3fd8[0x0]['params'][_0x2a68ee(0x321)]};}let _0x5631c1=class{constructor(_0x3739e3,_0x1fdd1c,_0x3d76ff){const _0x27bc9f=_0xd4a6c7;this['_injector']=_0x3739e3,this[_0x27bc9f(0x4bf)]=_0x1fdd1c,this['_instanceService']=_0x3d76ff;}[_0xd4a6c7(0x32c)](_0x29359b){const _0x3bf1a9=_0xd4a6c7;var _0x20f039,_0x5f2886,_0x47fc9d,_0x112088;const _0x3e6cdc=this['_injector'][_0x3bf1a9(0x1c9)](_0x2e18c9[_0x3bf1a9(0x4fe)]),{unitId:_0x7ec6f7,subUnitId:_0x211d64}=_0x43f785(_0x29359b),_0x2b256f=_0x3e6cdc['getWorkbookSelections'](_0x7ec6f7)['getCurrentSelections'](),_0x8427e7=(_0x5f2886=(_0x20f039=this['_instanceService'][_0x3bf1a9(0xe6)](_0x7ec6f7))==null?void 0x0:_0x20f039[_0x3bf1a9(0x349)]())==null?void 0x0:_0x5f2886['getSheetId']();if(_0x2b256f['length']===0x0||!_0x7ec6f7||!_0x211d64)return;const _0x3868f3=[{'id':_0x2e18c9[_0x3bf1a9(0x3c6)]['id'],'params':{'unitId':_0x7ec6f7,'subUnitId':_0x8427e7,'selections':_0x411d72[_0x3bf1a9(0x2a4)]['deepClone'](_0x2b256f)}}],_0x57e439=this['_transformService']['transformMutationsWithChangeset'](_0x29359b,_0x3868f3);if(!_0x487e40[_0x3bf1a9(0x4a1)](_0x57e439))throw _0x57e439[_0x3bf1a9(0x311)];const _0x210eb4=(_0x112088=(_0x47fc9d=_0x57e439[_0x3bf1a9(0x2ee)][0x0])==null?void 0x0:_0x47fc9d[_0x3bf1a9(0xc1)])==null?void 0x0:_0x112088['selections'];if(Array[_0x3bf1a9(0x439)](_0x210eb4)&&_0x210eb4[_0x3bf1a9(0x26b)]){if(_0x210eb4['length']===_0x3868f3[0x0][_0x3bf1a9(0xc1)]['selections']['length']&&_0x210eb4[_0x3bf1a9(0x38a)]((_0x53fc0f,_0x20fd9f)=>_0x411d72['Rectangle'][_0x3bf1a9(0x4bd)](_0x53fc0f[_0x3bf1a9(0x2df)],_0x3868f3[0x0]['params'][_0x3bf1a9(0x430)][_0x20fd9f]['range'])))return;this[_0x3bf1a9(0x264)][_0x3bf1a9(0x1c9)](_0x411d72['ICommandService'])[_0x3bf1a9(0x2b6)](_0x2e18c9['SetSelectionsOperation']['id'],{'unitId':_0x7ec6f7,'subUnitId':_0x8427e7,'selections':_0x210eb4});}}};_0x5631c1=_0x15407f([_0x58bc15(0x0,_0x411d72[_0xd4a6c7(0x371)](_0x411d72[_0xd4a6c7(0x3e2)])),_0x58bc15(0x1,_0x487e40[_0xd4a6c7(0x548)]),_0x58bc15(0x2,_0x411d72['IUniverInstanceService'])],_0x5631c1);const _0x4339b3=_0x411d72['createIdentifier'](_0xd4a6c7(0x4d6));var _0x403551=(_0x345876=>(_0x345876[_0x345876[_0xd4a6c7(0x544)]=0x0]=_0xd4a6c7(0x544),_0x345876[_0x345876['OTHER_CLIENTS_EDITING']=0x1]=_0xd4a6c7(0x13f),_0x345876))(_0x403551||{});const _0x59ddf2=0x7530,_0x20648e=_0xd4a6c7(0x305);class _0x374b2a extends _0x411d72[_0xd4a6c7(0x28f)]{constructor(){const _0x21879e=_0xd4a6c7;super(),_0x3fe385(this,_0x21879e(0x537),_0x411d72[_0x21879e(0x2a4)][_0x21879e(0x136)]()),_0x3fe385(this,_0x21879e(0x185),new Set()),_0x3fe385(this,'_unitOnClients',new Map()),_0x3fe385(this,'_heartbeatTimer',null),_0x3fe385(this,_0x21879e(0x2aa),new Map()),_0x3fe385(this,_0x21879e(0xd3),new Map()),this['_init']();}[_0xd4a6c7(0x31d)](){const _0x29fe6a=_0xd4a6c7;super['dispose'](),this[_0x29fe6a(0x2aa)]['forEach']((_0x5b12c7,_0x37f8e3)=>this[_0x29fe6a(0x1d0)](_0x37f8e3)),this[_0x29fe6a(0x48f)]&&window[_0x29fe6a(0x1bc)](this[_0x29fe6a(0x48f)]);}[_0xd4a6c7(0xff)](_0x5eddd0){const _0x57f2d3=_0xd4a6c7;return this['_ensureSubject'](_0x5eddd0)['pipe'](_0x3c9c2d[_0x57f2d3(0x3cf)]());}[_0xd4a6c7(0x280)](_0x98a4fb){const _0x39ff2e=_0xd4a6c7;this[_0x39ff2e(0x185)]['size']===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x39ff2e(0x1ab)](_0x98a4fb),this['_send']({'type':0x0,'memberID':this[_0x39ff2e(0x537)],'unitIDs':[_0x98a4fb],'isForwarded':!0x1});}[_0xd4a6c7(0x233)](_0x3ea5a7){const _0x1e6a37=_0xd4a6c7;this['_selfUnitIDs'][_0x1e6a37(0xea)](_0x3ea5a7),this[_0x1e6a37(0x185)][_0x1e6a37(0x4aa)]===0x0&&this[_0x1e6a37(0x48f)]&&window[_0x1e6a37(0x1bc)](this[_0x1e6a37(0x48f)]);}['_init'](){const _0x337310=_0xd4a6c7;this[_0x337310(0x20f)](_0x411d72[_0x337310(0x167)](_0x3c9c2d[_0x337310(0x377)](window,_0x337310(0x407))[_0x337310(0x35c)](_0x11c087=>{const _0x312684=_0x337310;if(_0x11c087[_0x312684(0xac)]!==_0x20648e||!_0x11c087[_0x312684(0x55c)])return;const _0x44aa9c=JSON['parse'](_0x11c087[_0x312684(0x55c)]);this[_0x312684(0x4b9)](_0x44aa9c);}))),window[_0x337310(0x2bd)](_0x337310(0x1af),()=>this[_0x337310(0x4a4)]({'type':0x1,'memberID':this[_0x337310(0x537)],'unitIDs':Array[_0x337310(0x214)](this[_0x337310(0x185)])}));}[_0xd4a6c7(0x4b9)](_0x571ffd){const _0x59757a=_0xd4a6c7;switch(_0x571ffd[_0x59757a(0x290)]){case 0x0:this[_0x59757a(0x43a)](_0x571ffd);break;case 0x1:this[_0x59757a(0xc6)](_0x571ffd);break;case 0x2:this['_handleHeartbeatEvent'](_0x571ffd);break;}}['_handleJoinEvent'](_0x1e39a9){const _0x214b51=_0xd4a6c7,{unitIDs:_0x200d82,memberID:_0x116b17,isForwarded:_0x1be929}=_0x1e39a9;_0x200d82[_0x214b51(0x335)](_0x662ee2=>{const _0x5c4b55=_0x214b51;if(!_0x1be929&&this['_unitOnClients'][_0x5c4b55(0x303)](_0x662ee2)&&this['_ensureSubject'](_0x662ee2)[_0x5c4b55(0x32f)](0x1),!this[_0x5c4b55(0x4f5)][_0x5c4b55(0x303)](_0x662ee2)||!this[_0x5c4b55(0x4f5)][_0x5c4b55(0x1c9)](_0x662ee2)[_0x5c4b55(0x303)](_0x116b17)){const _0x4d345a=this[_0x5c4b55(0x4f5)][_0x5c4b55(0x1c9)](_0x662ee2)||new Set();_0x4d345a[_0x5c4b55(0x1ab)](_0x116b17),this[_0x5c4b55(0x4f5)][_0x5c4b55(0x36e)](_0x662ee2,_0x4d345a),this['_scheduleClearOtherTimer'](_0x116b17);}}),_0x1be929||this[_0x214b51(0x4a4)]({'type':0x0,'memberID':this[_0x214b51(0x537)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0xd4a6c7(0x24f)](_0x298469){const _0x1f3227=_0xd4a6c7;this['_removeClearOtherTimer'](_0x298469);const _0xc49999=window[_0x1f3227(0x3e7)](()=>{const _0x3a7a48=_0x1f3227;this['_unitOnClients'][_0x3a7a48(0x335)](_0xa8a1a6=>{const _0x37abb1=_0x3a7a48;_0xa8a1a6[_0x37abb1(0xea)](_0x298469);});},_0x59ddf2*0x2);this[_0x1f3227(0x2aa)][_0x1f3227(0x36e)](_0x298469,_0xc49999);}[_0xd4a6c7(0x1d0)](_0x51ab2b){const _0x5d699d=_0xd4a6c7;if(this[_0x5d699d(0x2aa)]['has'](_0x51ab2b)){const _0x50ee8e=this[_0x5d699d(0x2aa)][_0x5d699d(0x1c9)](_0x51ab2b);_0x50ee8e&&window[_0x5d699d(0xd7)](_0x50ee8e),this['_clearOtherTimers'][_0x5d699d(0x36e)](_0x51ab2b,null);}}['_handleLeaveEvent'](_0x5bf283){const _0x34a6e5=_0xd4a6c7,{memberID:_0x2d5b3f,unitIDs:_0x18c922}=_0x5bf283;_0x18c922['forEach'](_0x3a771d=>{const _0x3af27b=_0x5231;var _0x47b63b;const _0x31cabb=this[_0x3af27b(0x4f5)][_0x3af27b(0x1c9)](_0x3a771d);_0x31cabb&&(_0x31cabb[_0x3af27b(0xea)](_0x2d5b3f),(_0x47b63b=this[_0x3af27b(0xe7)](_0x3a771d))==null||_0x47b63b[_0x3af27b(0x32f)](_0x31cabb[_0x3af27b(0x4aa)]===0x0?0x0:0x1));}),this[_0x34a6e5(0x1d0)](_0x2d5b3f);}[_0xd4a6c7(0x401)](_0x251cc1){const _0x2545c3=_0xd4a6c7;this[_0x2545c3(0x24f)](_0x251cc1[_0x2545c3(0x2b4)]);}[_0xd4a6c7(0x4a4)](_0x463c9f){const _0x2f339f=_0xd4a6c7;localStorage[_0x2f339f(0x37b)](_0x20648e,JSON[_0x2f339f(0x275)](_0x463c9f));}[_0xd4a6c7(0x129)](){const _0x1db8e5=_0xd4a6c7;this[_0x1db8e5(0x48f)]=window['setInterval'](()=>{const _0x20ae82=_0x1db8e5;this['_send']({'type':0x2,'memberID':this[_0x20ae82(0x537)]});},_0x59ddf2);}[_0xd4a6c7(0xe7)](_0x2b26a9){const _0x2e6815=_0xd4a6c7;return this[_0x2e6815(0xd3)][_0x2e6815(0x303)](_0x2b26a9)||this['_unitStatus'][_0x2e6815(0x36e)](_0x2b26a9,new _0x3c9c2d[(_0x2e6815(0x194))](0x0)),this[_0x2e6815(0xd3)][_0x2e6815(0x1c9)](_0x2b26a9);}}var _0x856bb9=Object['defineProperty'],_0x3c70f4=Object[_0xd4a6c7(0x47a)],_0x308309=(_0x1b41e3,_0x3e4a0d,_0x1f05be,_0x5b5bb1)=>{const _0x1bf3b5=_0xd4a6c7;for(var _0x3275cb=_0x5b5bb1>0x1?void 0x0:_0x5b5bb1?_0x3c70f4(_0x3e4a0d,_0x1f05be):_0x3e4a0d,_0x5d1c12=_0x1b41e3[_0x1bf3b5(0x26b)]-0x1,_0x1700c6;_0x5d1c12>=0x0;_0x5d1c12--)(_0x1700c6=_0x1b41e3[_0x5d1c12])&&(_0x3275cb=(_0x5b5bb1?_0x1700c6(_0x3e4a0d,_0x1f05be,_0x3275cb):_0x1700c6(_0x3275cb))||_0x3275cb);return _0x5b5bb1&&_0x3275cb&&_0x856bb9(_0x3e4a0d,_0x1f05be,_0x3275cb),_0x3275cb;},_0x3e403f=(_0x31de27,_0x1df1a1)=>(_0xe85c19,_0x5f4bdc)=>_0x1df1a1(_0xe85c19,_0x5f4bdc,_0x31de27);let _0x3c5bba=class{constructor(_0x5e8b44,_0x1241f3,_0x588a2e){const _0x295b87=_0xd4a6c7;this[_0x295b87(0x264)]=_0x5e8b44,this[_0x295b87(0x4bf)]=_0x1241f3,this[_0x295b87(0x186)]=_0x588a2e;}[_0xd4a6c7(0xe1)](_0x36d934){const _0x11272b=_0xd4a6c7;this[_0x11272b(0x1e3)](_0x36d934);}[_0xd4a6c7(0x359)](_0x475bae){const _0x22a19a=_0xd4a6c7,{unitID:_0x352343}=_0x475bae,{collaboration:_0x57fcb6}=this['_docStateChangeManagerService'][_0x22a19a(0x1ef)](_0x352343);if(_0x57fcb6[_0x22a19a(0x26b)]===0x0)return _0x475bae;let _0x367663=_0x411d72['Tools']['deepClone'](_0x475bae[_0x22a19a(0x454)][0x0]);for(let _0xc25a95=0x0;_0xc25a95<_0x57fcb6[_0x22a19a(0x26b)];_0xc25a95++){const _0x338fe6={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x57fcb6[_0xc25a95]['unitId'],..._0x57fcb6[_0xc25a95][_0x22a19a(0x3d3)]}},_0x40dea6=this[_0x22a19a(0x4bf)][_0x22a19a(0x1fc)](_0x367663,_0x338fe6,!0x1);if(_0x487e40[_0x22a19a(0x4f4)](_0x40dea6))throw _0x40dea6[_0x22a19a(0x311)];_0x367663=_0x40dea6[_0x22a19a(0x160)];}return{..._0x411d72[_0x22a19a(0x2a4)]['deepClone'](_0x475bae),'mutations':[_0x367663]};}[_0xd4a6c7(0x1e3)](_0x37de3a){const _0x156f82=_0xd4a6c7,{unitID:_0xf42fd1}=_0x37de3a,{history:_0x4e5508,collaboration:_0x327fa8}=this[_0x156f82(0x186)][_0x156f82(0x1ef)](_0xf42fd1);if(_0x4e5508[_0x156f82(0x26b)]===0x0&&_0x327fa8[_0x156f82(0x26b)]===0x0)return;const _0x4b4a43=[],_0x409dca=[];let _0x1038af=_0x411d72['Tools'][_0x156f82(0x29b)](_0x37de3a[_0x156f82(0x454)][0x0]),_0x2f77aa=_0x411d72[_0x156f82(0x2a4)][_0x156f82(0x29b)](_0x37de3a[_0x156f82(0x454)][0x0]);for(let _0x14dc5a=_0x4e5508['length']-0x1;_0x14dc5a>=0x0;_0x14dc5a--){const _0x68f650={'id':_0x156f82(0x55b),'params':{'unitId':_0x4e5508[_0x14dc5a][_0x156f82(0x332)],..._0x4e5508[_0x14dc5a][_0x156f82(0x30a)]}},_0x585b66={'id':_0x156f82(0x55b),'params':{'unitId':_0x4e5508[_0x14dc5a][_0x156f82(0x332)],..._0x4e5508[_0x14dc5a]['redoState']}},_0x3b3e2c=this[_0x156f82(0x4bf)]['transformMutation'](_0x1038af,_0x68f650,!0x1),_0x9e0c54=this[_0x156f82(0x4bf)][_0x156f82(0x1fc)](_0x2f77aa,_0x585b66,!0x1);if(_0x487e40['isTransformMutationFailure'](_0x3b3e2c))throw _0x3b3e2c[_0x156f82(0x311)];if(_0x487e40[_0x156f82(0x4f4)](_0x9e0c54))throw _0x9e0c54[_0x156f82(0x311)];_0x4b4a43[_0x156f82(0x203)]({..._0x4e5508[_0x14dc5a],'undoState':_0x3b3e2c[_0x156f82(0x2ee)][_0x156f82(0xc1)],'redoState':_0x9e0c54[_0x156f82(0x2ee)][_0x156f82(0xc1)]}),_0x1038af=_0x3b3e2c[_0x156f82(0x160)],_0x2f77aa=_0x9e0c54[_0x156f82(0x160)];}_0x1038af=_0x411d72[_0x156f82(0x2a4)]['deepClone'](_0x37de3a[_0x156f82(0x454)][0x0]),_0x2f77aa=_0x411d72['Tools'][_0x156f82(0x29b)](_0x37de3a[_0x156f82(0x454)][0x0]);for(let _0x422dd5=_0x327fa8[_0x156f82(0x26b)]-0x1;_0x422dd5>=0x0;_0x422dd5--){const _0x49d393={'id':_0x156f82(0x55b),'params':{'unitId':_0x327fa8[_0x422dd5][_0x156f82(0x332)],..._0x327fa8[_0x422dd5]['undoState']}},_0x3c9020={'id':_0x156f82(0x55b),'params':{'unitId':_0x327fa8[_0x422dd5]['unitId'],..._0x327fa8[_0x422dd5][_0x156f82(0x3d3)]}},_0x18ca12=this[_0x156f82(0x4bf)][_0x156f82(0x1fc)](_0x1038af,_0x49d393,!0x1),_0x1def77=this[_0x156f82(0x4bf)]['transformMutation'](_0x2f77aa,_0x3c9020,!0x1);if(_0x487e40['isTransformMutationFailure'](_0x18ca12))throw _0x18ca12[_0x156f82(0x311)];if(_0x487e40[_0x156f82(0x4f4)](_0x1def77))throw _0x1def77[_0x156f82(0x311)];_0x409dca[_0x156f82(0x203)]({..._0x327fa8[_0x422dd5],'undoState':_0x18ca12[_0x156f82(0x2ee)]['params'],'redoState':_0x1def77['m2Prime'][_0x156f82(0xc1)]}),_0x1038af=_0x18ca12[_0x156f82(0x160)],_0x2f77aa=_0x1def77[_0x156f82(0x160)];}this[_0x156f82(0x186)][_0x156f82(0x2c9)](_0xf42fd1,{'history':_0x4b4a43,'collaboration':_0x409dca});}};_0x3c5bba=_0x308309([_0x3e403f(0x0,_0x411d72['Inject'](_0x411d72[_0xd4a6c7(0x3e2)])),_0x3e403f(0x1,_0x487e40[_0xd4a6c7(0x548)]),_0x3e403f(0x2,_0x411d72[_0xd4a6c7(0x371)](_0x24f328[_0xd4a6c7(0x412)]))],_0x3c5bba);function _0x2b2a1b(_0x132634){const _0x2ba7a1=_0xd4a6c7;let _0x149bf4='';for(const _0x3aae25 of _0x132634){const {startOffset:_0x5b991a,endOffset:_0x4fb663,isActive:_0x106492,rangeType:_0x4e52de,segmentId:_0x14d884,segmentPage:_0x30dc79}=_0x3aae25;_0x149bf4[_0x2ba7a1(0x26b)]&&(_0x149bf4+=','),_0x149bf4+=_0x5b991a+':'+_0x4fb663+':'+(_0x106492?'1':'0')+':'+_0x4e52de+':'+_0x14d884+':'+_0x30dc79;}return _0x149bf4;}function _0x461ebf(_0x2dc4cd){const _0x57b22f=_0xd4a6c7,_0xfe1ab0=_0x2dc4cd[_0x57b22f(0x386)](','),_0x1c3c05=[];for(const _0x54c2b9 of _0xfe1ab0){const [_0x4ed75b,_0x872488,_0x34a302,_0x4182cb,_0x236eff,_0x3b63bf]=_0x54c2b9[_0x57b22f(0x386)](':');_0x1c3c05['push']({'startOffset':Number(_0x4ed75b),'endOffset':Number(_0x872488),'collapsed':_0x4ed75b===_0x872488,'isActive':_0x34a302==='1','rangeType':_0x4182cb===_0x411d72[_0x57b22f(0xaa)][_0x57b22f(0x552)]?_0x411d72[_0x57b22f(0xaa)]['TEXT']:_0x411d72[_0x57b22f(0xaa)][_0x57b22f(0x197)],'segmentId':typeof _0x236eff==_0x57b22f(0x428)?String(_0x236eff):'','segmentPage':Number(_0x3b63bf!=null?_0x3b63bf:-0x1)});}return _0x1c3c05[_0x57b22f(0x25d)](_0x4251a1=>_0x4251a1[_0x57b22f(0x2a8)])||(_0x1c3c05[0x0][_0x57b22f(0x2a8)]=!0x0),_0x1c3c05;}class _0x3ec825 extends _0x411d72[_0xd4a6c7(0xbd)]{constructor(){const _0xc94076=_0xd4a6c7;super(...arguments),_0x3fe385(this,'_collabCursorState$',new _0x3c9c2d['BehaviorSubject'](null)),_0x3fe385(this,_0xc94076(0x41d),this[_0xc94076(0x27e)][_0xc94076(0x546)]());}[_0xd4a6c7(0x521)](_0x5c524d){const _0x22f0f5=_0xd4a6c7,{unitID:_0x2f5b36,memberID:_0xf8f1f5,textRanges:_0x4cc7b9}=_0x5c524d,_0x184709=_0x2b2a1b(_0x4cc7b9);if(_0x184709==='')return;const _0x2d702b={'unitID':_0x2f5b36,'memberID':_0xf8f1f5,'selection':_0x184709};this[_0x22f0f5(0x27e)]['next'](_0x2d702b);}}var _0x3f8db4=Object[_0xd4a6c7(0x1a4)],_0x56711a=Object['getOwnPropertyDescriptor'],_0x2b0d21=(_0x18a10e,_0x5ecb0b,_0x2a5629,_0x5c1d49)=>{const _0x5956a8=_0xd4a6c7;for(var _0x3ca25c=_0x5c1d49>0x1?void 0x0:_0x5c1d49?_0x56711a(_0x5ecb0b,_0x2a5629):_0x5ecb0b,_0x8bf270=_0x18a10e[_0x5956a8(0x26b)]-0x1,_0x54c327;_0x8bf270>=0x0;_0x8bf270--)(_0x54c327=_0x18a10e[_0x8bf270])&&(_0x3ca25c=(_0x5c1d49?_0x54c327(_0x5ecb0b,_0x2a5629,_0x3ca25c):_0x54c327(_0x3ca25c))||_0x3ca25c);return _0x5c1d49&&_0x3ca25c&&_0x3f8db4(_0x5ecb0b,_0x2a5629,_0x3ca25c),_0x3ca25c;},_0x535496=(_0x4c07d2,_0x240c27)=>(_0x23e5f5,_0xe8fd44)=>_0x240c27(_0x23e5f5,_0xe8fd44,_0x4c07d2);let _0x51ae24=class{constructor(_0x269d71,_0x23b08f){const _0xe76052=_0xd4a6c7;this[_0xe76052(0x264)]=_0x269d71,this['_transformService']=_0x23b08f;}[_0xd4a6c7(0x32c)](_0x44f5bc){const _0x3efe50=_0xd4a6c7;var _0x2d6e07;const _0x21eadf=this[_0x3efe50(0x264)]['get'](_0x518364[_0x3efe50(0x1cb)]),_0x3ab490=(_0x2d6e07=_0x21eadf[_0x3efe50(0xad)]())!=null?_0x2d6e07:[];if(_0x3ab490['length']===0x0)return;const _0x4f41c5=[{'id':_0x3efe50(0x55b),'params':{'unitId':_0x44f5bc['unitID'],'actions':null,'textRanges':_0x3ab490}}],_0x508159=this[_0x3efe50(0x4bf)][_0x3efe50(0x14f)](_0x44f5bc,_0x4f41c5);if(!_0x487e40[_0x3efe50(0x4a1)](_0x508159))throw _0x508159['error'];const _0x5e59f1=_0x508159[_0x3efe50(0x2ee)][0x0]['params'][_0x3efe50(0x2d9)];Array['isArray'](_0x5e59f1)&&_0x5e59f1[_0x3efe50(0x26b)]&&_0x21eadf[_0x3efe50(0x3fd)](_0x5e59f1,!0x1);}};_0x51ae24=_0x2b0d21([_0x535496(0x0,_0x411d72[_0xd4a6c7(0x371)](_0x411d72['Injector'])),_0x535496(0x1,_0x487e40[_0xd4a6c7(0x548)])],_0x51ae24);const _0x114c0f=new Set([_0x2e18c9[_0xd4a6c7(0x561)]['id']]);function _0x47e531(_0x3aa1a7,_0x5f56e1,_0x189a0f,_0x47f5ba,_0xffe165){const _0x57ab55=_0xd4a6c7;var _0x425586,_0x2b6fbb,_0x233b2d,_0x4723aa;const _0x4264f8=[];for(const _0x30bbc2 of _0x3aa1a7)if(_0x114c0f[_0x57ab55(0x303)](_0x30bbc2['id'])){if(_0x4264f8['length']>0x0)break;_0x4264f8[_0x57ab55(0x2d7)](_0x30bbc2);break;}else _0x4264f8[_0x57ab55(0x2d7)](_0x30bbc2);const _0x17d8dc=(_0x2b6fbb=(_0x425586=_0xffe165['getCurrentUser']())==null?void 0x0:_0x425586['userID'])!=null?_0x2b6fbb:_0x57ab55(0x562),_0x10c571=(_0x4723aa=(_0x233b2d=_0xffe165[_0x57ab55(0x2f7)]())==null?void 0x0:_0x233b2d['memberID'])!=null?_0x4723aa:'unknown';return{'changeset':{'unitID':_0x5f56e1,'type':_0x487e40[_0x57ab55(0x47c)](_0x189a0f[_0x57ab55(0x334)](_0x5f56e1)),'baseRev':_0x47f5ba['getCurrentRevOfUnit'](_0x5f56e1),'revision':0x0,'userID':_0x17d8dc,'memberID':_0x10c571,'mutations':_0x4264f8},'pendingMutations':_0x3aa1a7[_0x57ab55(0x559)](_0x4264f8['length'])};}function _0x222f16(_0x1bc9f5,_0x134ae9,_0x5d186f,_0x4fc0bc,_0x4612c7){const _0x3fd33d=_0xd4a6c7;var _0x5bb6ff,_0x1d92ae,_0x123ca6,_0xe82d7;const _0x51344d=[_0x1bc9f5[_0x3fd33d(0x3d5)]((_0x4dff0f,_0x16bcba)=>{const _0x1d2af7=_0x3fd33d;var _0x219b62;const {id:_0x5468bc}=_0x4dff0f,{id:_0x175b00,type:_0x5f1b60}=_0x16bcba,_0x44e8bd=(_0x219b62=_0x4dff0f[_0x1d2af7(0xc1)])!=null?_0x219b62:{'actions':null},_0x3ee178=_0x16bcba[_0x1d2af7(0xc1)];if(_0x5468bc&&_0x5468bc!==_0x175b00)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x5468bc+_0x1d2af7(0x307)+_0x175b00+'.');return{..._0x4dff0f,'id':_0x175b00,'type':_0x5f1b60,'params':{'unitId':_0x3ee178[_0x1d2af7(0x332)],'textRanges':_0x3ee178[_0x1d2af7(0x2d9)],'actions':_0x411d72[_0x1d2af7(0x3b2)]['compose'](_0x44e8bd[_0x1d2af7(0x512)],_0x3ee178[_0x1d2af7(0x512)])}};},{})],_0x3e6111=(_0x1d92ae=(_0x5bb6ff=_0x4612c7[_0x3fd33d(0x2f7)]())==null?void 0x0:_0x5bb6ff[_0x3fd33d(0x483)])!=null?_0x1d92ae:_0x3fd33d(0x562),_0x35468a=(_0xe82d7=(_0x123ca6=_0x4612c7[_0x3fd33d(0x2f7)]())==null?void 0x0:_0x123ca6[_0x3fd33d(0x2b4)])!=null?_0xe82d7:'unknown';return{'changeset':{'unitID':_0x134ae9,'type':_0x487e40['mapDocumentTypeToUniverType'](_0x5d186f[_0x3fd33d(0x334)](_0x134ae9)),'baseRev':_0x4fc0bc[_0x3fd33d(0x2ad)](_0x134ae9),'revision':0x0,'userID':_0x3e6111,'memberID':_0x35468a,'mutations':_0x51344d},'pendingMutations':[]};}function _0xf98029(_0x3bcccc,_0x5eec10){const _0x41584d=_0xd4a6c7,_0x34f4f4=new _0x3c9c2d[(_0x41584d(0x3c8))](0x1);return setTimeout(()=>_0x34f4f4['next'](_0x5eec10),_0x3bcccc),_0x34f4f4[_0x41584d(0x546)]()[_0x41584d(0x3dd)](_0x3c9c2d['take'](0x1));}const _0x53a7b0={'id':_0x2e18c9[_0xd4a6c7(0x358)]['id'],'type':_0x411d72[_0xd4a6c7(0x45e)][_0xd4a6c7(0x1ec)],'params':{}};var _0x7283b6=Object[_0xd4a6c7(0x1a4)],_0x3a2257=Object[_0xd4a6c7(0x47a)],_0x53625f=(_0x435db6,_0x319910,_0x3f5764,_0x362d62)=>{const _0x4d4f1b=_0xd4a6c7;for(var _0x373eeb=_0x362d62>0x1?void 0x0:_0x362d62?_0x3a2257(_0x319910,_0x3f5764):_0x319910,_0x4ee224=_0x435db6[_0x4d4f1b(0x26b)]-0x1,_0x291847;_0x4ee224>=0x0;_0x4ee224--)(_0x291847=_0x435db6[_0x4ee224])&&(_0x373eeb=(_0x362d62?_0x291847(_0x319910,_0x3f5764,_0x373eeb):_0x291847(_0x373eeb))||_0x373eeb);return _0x362d62&&_0x373eeb&&_0x7283b6(_0x319910,_0x3f5764,_0x373eeb),_0x373eeb;},_0x4a9576=(_0x426b79,_0x39ba92)=>(_0x1cab44,_0x4d55f9)=>_0x39ba92(_0x1cab44,_0x4d55f9,_0x426b79),_0x323170=(_0x57c83f=>(_0x57c83f['NOT_COLLAB']=_0xd4a6c7(0x49f),_0x57c83f[_0xd4a6c7(0x326)]=_0xd4a6c7(0x510),_0x57c83f[_0xd4a6c7(0x1f3)]=_0xd4a6c7(0x192),_0x57c83f['AWAITING']=_0xd4a6c7(0x289),_0x57c83f['AWAITING_WITH_PENDING']=_0xd4a6c7(0x4b4),_0x57c83f[_0xd4a6c7(0x101)]=_0xd4a6c7(0x533),_0x57c83f[_0xd4a6c7(0xa8)]='conflict',_0x57c83f[_0xd4a6c7(0x1b3)]=_0xd4a6c7(0x440),_0x57c83f))(_0x323170||{});const _0x2b781d=0xea60;class _0x26676d{constructor(_0x5a883e,_0xe07a84,_0x227b4b,_0x5469c4,_0x46a8f1,_0x4ef4b3,_0x646986,_0x39ac11,_0x43a27a){const _0x427e48=_0xd4a6c7;_0x3fe385(this,'_awaitingChangeset',null),_0x3fe385(this,_0x427e48(0x436),[]),(this[_0x427e48(0x224)]=_0x5a883e,this[_0x427e48(0x290)]=_0xe07a84,this[_0x427e48(0x564)]=_0x46a8f1,this['_commandService']=_0x4ef4b3,this[_0x427e48(0x467)]=_0x646986,this[_0x427e48(0x33c)]=_0x39ac11,this[_0x427e48(0x1f6)]=_0x43a27a,this[_0x427e48(0x2ed)]=_0x227b4b,this[_0x427e48(0x436)]=_0x5469c4);}[_0xd4a6c7(0x21b)](_0x3a37a0){const _0x545edd=_0xd4a6c7,_0x52679f=this[_0x545edd(0x33c)][_0x545edd(0x2ad)](this[_0x545edd(0x224)]);return _0x3a37a0['revision']>_0x52679f+0x1?(this[_0x545edd(0x564)][_0x545edd(0x45b)]({'from':_0x52679f,'to':_0x3a37a0[_0x545edd(0x4e8)]-0x1}),!0x0):!0x1;}[_0xd4a6c7(0x525)](_0x420b66){const _0x1b310d=_0xd4a6c7;this[_0x1b310d(0x467)][_0x1b310d(0x1d4)](this[_0x1b310d(0x224)],_0x420b66);}['_transformSelections'](_0xc0507b){const _0x53cc8a=_0xd4a6c7;var _0x4140e8,_0x3baf94;(_0x3baf94=(_0x4140e8=this[_0x53cc8a(0x564)])[_0x53cc8a(0x20a)])==null||_0x3baf94['call'](_0x4140e8,_0xc0507b);}[_0xd4a6c7(0xd8)](_0x5911c8){const _0x493dfe=_0xd4a6c7;var _0x489e7e,_0xbfb8ef;return(_0xbfb8ef=(_0x489e7e=this[_0x493dfe(0x564)])[_0x493dfe(0x396)])==null?void 0x0:_0xbfb8ef[_0x493dfe(0x254)](_0x489e7e,_0x5911c8);}[_0xd4a6c7(0x38b)](_0x14d9b0){const _0x68ff2e=_0xd4a6c7;var _0x568259,_0x5f4e78;return(_0x5f4e78=(_0x568259=this[_0x68ff2e(0x564)])[_0x68ff2e(0x470)])==null?void 0x0:_0x5f4e78['call'](_0x568259,_0x14d9b0);}['_transformRemoteChangesetByIMECache'](_0x3a9e53){const _0xde722c=_0xd4a6c7;var _0xb4fab3,_0x3e4564,_0x108bc3;return(_0x108bc3=(_0x3e4564=(_0xb4fab3=this[_0xde722c(0x564)])[_0xde722c(0xef)])==null?void 0x0:_0x3e4564[_0xde722c(0x254)](_0xb4fab3,_0x3a9e53))!=null?_0x108bc3:_0x3a9e53;}['_transformRemoteChangesetByStateCache'](_0x5a799d){const _0x26b219=_0xd4a6c7;var _0x4f0dd1,_0x2a80cb,_0x1b8994;return(_0x1b8994=(_0x2a80cb=(_0x4f0dd1=this[_0x26b219(0x564)])[_0x26b219(0x1b4)])==null?void 0x0:_0x2a80cb['call'](_0x4f0dd1,_0x5a799d))!=null?_0x1b8994:_0x5a799d;}[_0xd4a6c7(0x4ff)](_0x1ee487){const _0x3172be=_0xd4a6c7;var _0xc6f7c7,_0x30078a;if(this[_0x3172be(0x290)]===_0x420e44['UNIVER_DOC']){const {unitID:_0x46f1a1,mutations:_0x204461,memberID:_0x398479}=_0x1ee487,_0x41e0d1=_0x204461[0x0][_0x3172be(0xc1)][_0x3172be(0x2d9)];Array[_0x3172be(0x439)](_0x41e0d1)&&_0x41e0d1[_0x3172be(0x26b)]>0x0&&((_0x30078a=(_0xc6f7c7=this[_0x3172be(0x564)])[_0x3172be(0x30b)])==null||_0x30078a['call'](_0xc6f7c7,{'unitID':_0x46f1a1,'memberID':_0x398479,'textRanges':_0x41e0d1}));}}[_0xd4a6c7(0x532)](){const _0x4df115=_0xd4a6c7;this[_0x4df115(0x1f6)][_0x4df115(0x263)](this[_0x4df115(0x224)],this[_0x4df115(0x290)],this[_0x4df115(0x2ed)],this[_0x4df115(0x436)]);}['_getCurrentRevision'](){const _0x564f9d=_0xd4a6c7;return this[_0x564f9d(0x33c)][_0x564f9d(0x2ad)](this[_0x564f9d(0x224)]);}[_0xd4a6c7(0x26e)](){const _0x6a4628=_0xd4a6c7;this[_0x6a4628(0x33c)][_0x6a4628(0x425)](this[_0x6a4628(0x224)]);}[_0xd4a6c7(0x27d)](_0x4fe43d){const _0xc3b333=_0xd4a6c7;var _0x2a9c46;let _0x3f9ef3=this['_transformRemoteChangesetByIMECache'](_0x4fe43d);_0x3f9ef3=this['_transformRemoteChangesetByStateCache'](_0x3f9ef3);const _0x108532=_0x411d72[_0xc3b333(0xe2)](_0x3f9ef3[_0xc3b333(0x454)],this[_0xc3b333(0x38f)],{'fromCollab':!0x0});if(!_0x108532[_0xc3b333(0x46f)])throw _0x108532[_0xc3b333(0x311)]instanceof Error?_0x108532[_0xc3b333(0x311)]:new Error((_0x2a9c46=_0x108532['error'])!=null?_0x2a9c46:_0xc3b333(0x344));this[_0xc3b333(0xd8)](_0x3f9ef3),this[_0xc3b333(0x38b)](_0x3f9ef3),this['_transformUndoredo'](_0x4fe43d),this[_0xc3b333(0x107)](_0x3f9ef3),this[_0xc3b333(0x4ff)](_0x3f9ef3),this[_0xc3b333(0x26e)]();}}let _0x38f78d=class extends _0x26676d{constructor(_0x642fcd,_0x40f9b5,_0x41e5ae,_0x467a2a,_0x28a7ee,_0x21ea17,_0x13bece,_0x4b829d,_0x3b183,_0x28cd8c){const _0x52ba2d=_0xd4a6c7;super(_0x642fcd,_0x40f9b5,null,[],_0x41e5ae,_0x4b829d,_0x13bece,_0x467a2a,_0x28a7ee),_0x3fe385(this,_0x52ba2d(0x51f),_0x52ba2d(0x510)),(this['_injector']=_0x21ea17,this[_0x52ba2d(0xfc)]=_0x3b183,this[_0x52ba2d(0x4bf)]=_0x28cd8c);}[_0xd4a6c7(0x4bc)](_0x3ef860){const _0x5846e0=_0xd4a6c7,_0x12e7f7=this[_0x5846e0(0x264)]['createInstance'](_0x39220f,this[_0x5846e0(0x224)],this[_0x5846e0(0x290)],[_0x3ef860],this[_0x5846e0(0x564)]);return _0x12e7f7[_0x5846e0(0x3cb)](),_0x12e7f7['_updateLocalCache'](),_0x12e7f7;}[_0xd4a6c7(0xee)](_0x3c999d){const _0x2e5b6c=_0xd4a6c7;if(this[_0x2e5b6c(0x21b)](_0x3c999d))return this[_0x2e5b6c(0x264)]['createInstance'](_0x46798f,this[_0x2e5b6c(0x224)],this[_0x2e5b6c(0x290)],null,[],null,[_0x3c999d],this[_0x2e5b6c(0x564)]);try{const _0xc66051=this[_0x2e5b6c(0x4bf)][_0x2e5b6c(0x14f)](_0x3c999d,[_0x53a7b0]);if(_0x487e40[_0x2e5b6c(0x4a1)](_0xc66051)){const {c1Prime:_0x566b67}=_0xc66051;return this[_0x2e5b6c(0x27d)](_0x566b67),this;}throw _0xc66051['error'];}catch(_0x1bc498){return this[_0x2e5b6c(0xfc)]['error'](_0x1bc498),this[_0x2e5b6c(0x23e)](!0x1);}}[_0xd4a6c7(0x23e)](_0x340f7c){const _0x6d746b=_0xd4a6c7;return this[_0x6d746b(0x264)][_0x6d746b(0x449)](_0x37373c,this['unitID'],this[_0x6d746b(0x290)],null,[],this[_0x6d746b(0x564)],_0x340f7c);}[_0xd4a6c7(0x415)](){const _0x3e8e56=_0xd4a6c7;throw new Error(_0x3e8e56(0x34f));}[_0xd4a6c7(0x434)](){const _0x2a5585=_0xd4a6c7;throw new Error(_0x2a5585(0x1b6));}['onRemoteRetry'](){return this;}[_0xd4a6c7(0x16d)](){const _0x45d1a3=_0xd4a6c7;return this[_0x45d1a3(0x264)]['createInstance'](_0x3eb6f5,this[_0x45d1a3(0x224)],this[_0x45d1a3(0x290)],null,[],this[_0x45d1a3(0x564)]);}[_0xd4a6c7(0x4fb)](){return this;}[_0xd4a6c7(0x14d)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xd4a6c7(0x381)](){const _0x47e1e3=_0xd4a6c7,_0x3b802c=this['_revisionService'][_0x47e1e3(0x2ad)](this[_0x47e1e3(0x224)]);return this['_handler'][_0x47e1e3(0x45b)]({'from':_0x3b802c,'to':0x0}),this[_0x47e1e3(0x264)][_0x47e1e3(0x449)](_0x46798f,this[_0x47e1e3(0x224)],this['type'],null,[],null,[],this[_0x47e1e3(0x564)]);}};_0x38f78d=_0x53625f([_0x4a9576(0x3,_0x411d72[_0xd4a6c7(0x371)](_0x487e40[_0xd4a6c7(0x35b)])),_0x4a9576(0x4,_0x411d72[_0xd4a6c7(0x371)](_0x59c9b4['LocalCacheService'])),_0x4a9576(0x5,_0x411d72[_0xd4a6c7(0x371)](_0x411d72[_0xd4a6c7(0x3e2)])),_0x4a9576(0x6,_0x411d72['IUndoRedoService']),_0x4a9576(0x7,_0x411d72[_0xd4a6c7(0x130)]),_0x4a9576(0x8,_0x411d72[_0xd4a6c7(0x3cd)]),_0x4a9576(0x9,_0x487e40[_0xd4a6c7(0x548)])],_0x38f78d);let _0x39220f=class extends _0x26676d{constructor(_0x37f8e0,_0x213dfd,_0x447f20,_0x183750,_0x1370ca,_0x1e50cd,_0x97867,_0x4ef52e,_0x2a2f83,_0x4a0560,_0x36a9a8,_0x2da432,_0x2bc168,_0x16d49f){const _0x330d65=_0xd4a6c7;super(_0x37f8e0,_0x213dfd,null,_0x447f20,_0x183750,_0x4a0560,_0x16d49f,_0x1e50cd,_0x97867),_0x3fe385(this,_0x330d65(0x51f),'pending'),_0x3fe385(this,_0x330d65(0x51d),null),_0x3fe385(this,_0x330d65(0x4bb),null),(this['_injector']=_0x1370ca,this[_0x330d65(0xc8)]=_0x4ef52e,this[_0x330d65(0xfc)]=_0x2a2f83,this[_0x330d65(0x3ec)]=_0x36a9a8,this[_0x330d65(0x4bf)]=_0x2da432,this[_0x330d65(0xe0)]=_0x2bc168);}[_0xd4a6c7(0x4bc)](_0x393269){return this['_pendingMutations']['push'](_0x393269),this['_updateLocalCache'](),this;}[_0xd4a6c7(0xee)](_0x2aff61){const _0x522458=_0xd4a6c7;if(this['_checkMissing'](_0x2aff61))return this[_0x522458(0x4cb)](),this[_0x522458(0x264)][_0x522458(0x449)](_0x46798f,this[_0x522458(0x224)],this[_0x522458(0x290)],null,this[_0x522458(0x436)],null,[_0x2aff61],this[_0x522458(0x564)]);try{const _0x13499f=this[_0x522458(0x4bf)]['transformMutationsWithChangeset'](_0x2aff61,this[_0x522458(0x436)]);if(_0x487e40['isTransformMutationsWithChangesetSuccess'](_0x13499f)){const {c1Prime:_0xa7fd7f,m2Prime:_0xf2bc6c}=_0x13499f;this['_executeRemoteChangeset'](_0xa7fd7f);const _0x5f39c6=this[_0x522458(0x264)][_0x522458(0x449)](_0x39220f,this[_0x522458(0x224)],this[_0x522458(0x290)],_0xf2bc6c,this[_0x522458(0x564)]);return this['_clearScheduledTask'](),_0x5f39c6['_schedule'](this[_0x522458(0x51d)]?Math[_0x522458(0x4cc)](0x0,new Date()[_0x522458(0x111)]()-this['_scheduleTimestamp']):this[_0x522458(0x336)]()),_0x5f39c6;}throw _0x13499f[_0x522458(0x311)];}catch(_0x5a8add){return this['_logService'][_0x522458(0x311)](_0x5a8add),this[_0x522458(0x23e)](!0x1);}}[_0xd4a6c7(0x415)](){const _0x3c86f6=_0xd4a6c7;throw new Error(_0x3c86f6(0x118));}[_0xd4a6c7(0x434)](){const _0x22aefe=_0xd4a6c7;throw new Error(_0x22aefe(0x247));}[_0xd4a6c7(0x333)](){return this;}[_0xd4a6c7(0x16d)](){const _0x3702ac=_0xd4a6c7;return this[_0x3702ac(0x4cb)](),this[_0x3702ac(0x264)][_0x3702ac(0x449)](_0x3eb6f5,this['unitID'],this['type'],null,this[_0x3702ac(0x436)],this['_handler']);}['toggleOnline'](){return this;}[_0xd4a6c7(0x3cb)](_0x1b5ccb){const _0x444fe8=_0xd4a6c7,_0x12c4cc=_0x1b5ccb!=null?_0x1b5ccb:this[_0x444fe8(0x336)]();this['_scheduleTimestamp']=new Date()[_0x444fe8(0x111)](),this[_0x444fe8(0x4bb)]=window[_0x444fe8(0x3e7)](()=>{const _0xff8242=_0x444fe8;this[_0xff8242(0x4cb)]();let _0x8e134a=null;switch(this['type']){case _0x420e44[_0xff8242(0x1ed)]:{_0x8e134a=_0x47e531(this[_0xff8242(0x436)],this[_0xff8242(0x224)],this['_univerInstanceService'],this[_0xff8242(0x33c)],this[_0xff8242(0xc8)]);break;}case _0x420e44['UNIVER_DOC']:{this['_pendingMutations']['every'](_0x5612fe=>_0x5612fe['id']===_0x518364[_0xff8242(0x429)]['id'])?_0x8e134a=_0x222f16(this[_0xff8242(0x436)],this[_0xff8242(0x224)],this[_0xff8242(0xe0)],this[_0xff8242(0x33c)],this[_0xff8242(0xc8)]):_0x8e134a=_0x47e531(this['_pendingMutations'],this[_0xff8242(0x224)],this[_0xff8242(0xe0)],this[_0xff8242(0x33c)],this[_0xff8242(0xc8)]);break;}default:throw new Error(_0xff8242(0x33e)+this[_0xff8242(0x290)]+_0xff8242(0x416));}const {changeset:_0x28407a,pendingMutations:_0x3dfd68}=_0x8e134a;this[_0xff8242(0x564)][_0xff8242(0x265)](_0x28407a);const _0x5a4d6f=_0x3dfd68[_0xff8242(0x26b)]?this[_0xff8242(0x264)][_0xff8242(0x449)](_0x381c75,this[_0xff8242(0x224)],this[_0xff8242(0x290)],_0x28407a,_0x3dfd68,this[_0xff8242(0x564)],void 0x0):this[_0xff8242(0x264)][_0xff8242(0x449)](_0x549b89,this[_0xff8242(0x224)],this[_0xff8242(0x290)],_0x28407a,this[_0xff8242(0x564)]);_0x5a4d6f['_updateLocalCache'](),this[_0xff8242(0x564)][_0xff8242(0x366)](this,_0x5a4d6f);},_0x12c4cc);}[_0xd4a6c7(0x336)](){const _0x12c0ff=_0xd4a6c7;var _0xfc0d59;const _0x2faf70=this[_0x12c0ff(0x3ec)][_0x12c0ff(0x184)](_0x158e85);return(_0xfc0d59=_0x2faf70==null?void 0x0:_0x2faf70[_0x12c0ff(0x38e)])!=null?_0xfc0d59:0x7d0;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xd4a6c7(0x4cb)](){const _0x3f5da0=_0xd4a6c7;this[_0x3f5da0(0x4bb)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x3f5da0(0x4bb)]=null);}['_onConflict'](_0x54e33a){const _0x2d2043=_0xd4a6c7;return this[_0x2d2043(0x4cb)](),this[_0x2d2043(0x264)]['createInstance'](_0x37373c,this['unitID'],this[_0x2d2043(0x290)],null,this[_0x2d2043(0x436)],this[_0x2d2043(0x564)],_0x54e33a);}};_0x39220f=_0x53625f([_0x4a9576(0x4,_0x411d72[_0xd4a6c7(0x371)](_0x411d72[_0xd4a6c7(0x3e2)])),_0x4a9576(0x5,_0x411d72[_0xd4a6c7(0x371)](_0x487e40[_0xd4a6c7(0x35b)])),_0x4a9576(0x6,_0x411d72[_0xd4a6c7(0x371)](_0x59c9b4['LocalCacheService'])),_0x4a9576(0x7,_0x411d72[_0xd4a6c7(0x371)](_0x59c9b4[_0xd4a6c7(0x12d)])),_0x4a9576(0x8,_0x411d72['ILogService']),_0x4a9576(0x9,_0x411d72[_0xd4a6c7(0x130)]),_0x4a9576(0xa,_0x411d72[_0xd4a6c7(0x384)]),_0x4a9576(0xb,_0x487e40[_0xd4a6c7(0x548)]),_0x4a9576(0xc,_0x411d72['IUniverInstanceService']),_0x4a9576(0xd,_0x411d72['IUndoRedoService'])],_0x39220f);let _0x549b89=class extends _0x26676d{constructor(_0x2ea57f,_0x590a08,_0x22dae2,_0x3b1380,_0x399dda,_0x53c8bb,_0x2bc872,_0x10f30a,_0xffb1d4,_0x598978,_0x2e1eae){const _0x1522be=_0xd4a6c7;super(_0x2ea57f,_0x590a08,_0x22dae2,[],_0x3b1380,_0x10f30a,_0x2e1eae,_0x53c8bb,_0x2bc872),_0x3fe385(this,_0x1522be(0x51f),_0x1522be(0x289)),_0x3fe385(this,_0x1522be(0x34d),0x0),_0x3fe385(this,'_resendTimer'),_0x3fe385(this,_0x1522be(0x223)),(this['_injector']=_0x399dda,this['_logService']=_0xffb1d4,this['_transformService']=_0x598978);}['appendMutation'](_0x1f8e9c){const _0x4309ba=_0xd4a6c7;this['_clearScheduledTask']();const _0x478598=this[_0x4309ba(0x264)][_0x4309ba(0x449)](_0x381c75,this[_0x4309ba(0x224)],this[_0x4309ba(0x290)],this[_0x4309ba(0x2ed)],[_0x1f8e9c],this[_0x4309ba(0x564)],this[_0x4309ba(0x464)]);return _0x478598[_0x4309ba(0x532)](),_0x478598;}[_0xd4a6c7(0xee)](_0x861986){const _0x47edfe=_0xd4a6c7;if(this[_0x47edfe(0x21b)](_0x861986))return this[_0x47edfe(0x4cb)](),this[_0x47edfe(0x264)]['createInstance'](_0x46798f,this['unitID'],this['type'],this[_0x47edfe(0x2ed)],[],null,[_0x861986],this[_0x47edfe(0x564)]);try{const _0x5aeda2=this[_0x47edfe(0x4bf)]['transformChangesets']([_0x861986],[this[_0x47edfe(0x2ed)]],!0x1);if(_0x487e40['isTransformChangesetsSuccess'](_0x5aeda2)){const {c1Prime:_0x37c771,c2Prime:_0x309860}=_0x5aeda2;this['_executeRemoteChangeset'](_0x37c771[0x0]),_0x309860[0x0][_0x47edfe(0x12f)]=this[_0x47edfe(0x19b)](),this[_0x47edfe(0x4cb)]();const _0x40f557=this[_0x47edfe(0x264)][_0x47edfe(0x449)](_0x549b89,this[_0x47edfe(0x224)],this[_0x47edfe(0x290)],_0x309860[0x0],this['_handler']);return _0x40f557[_0x47edfe(0x532)](),_0x40f557;}return this[_0x47edfe(0x23e)](!0x1);}catch(_0x374327){return this[_0x47edfe(0xfc)][_0x47edfe(0x311)](_0x374327),this['_onConflict'](!0x1);}}[_0xd4a6c7(0x415)](_0x57c3e4){const _0x59a2f0=_0xd4a6c7;this[_0x59a2f0(0x4cb)]();const _0x6e048c=this[_0x59a2f0(0x33c)][_0x59a2f0(0x2ad)](this[_0x59a2f0(0x224)]);if(_0x57c3e4['revision']<_0x6e048c-0x1)return this;if(this[_0x59a2f0(0x21b)](_0x57c3e4))return this[_0x59a2f0(0x264)]['createInstance'](_0x46798f,this['unitID'],this['type'],null,[],this[_0x59a2f0(0x2ed)],[],this['_handler']);this[_0x59a2f0(0x26e)]();const _0x49ad15=this['_injector']['createInstance'](_0x38f78d,this[_0x59a2f0(0x224)],this[_0x59a2f0(0x290)],this[_0x59a2f0(0x564)]);return _0x49ad15[_0x59a2f0(0x532)](),_0x49ad15;}['onRemoteRej'](_0x52dcc0){const _0x5e2ada=_0xd4a6c7;return this['_onConflict'](!!(_0x52dcc0!=null&&_0x52dcc0[_0x5e2ada(0x3e0)]));}[_0xd4a6c7(0x333)](_0x4e1efa){const _0x2b306f=_0xd4a6c7;return this[_0x2b306f(0x34d)]>_0x2b781d?this['toggleOffline']():(this[_0x2b306f(0x464)]=_0xf98029(this[_0x2b306f(0x34d)],{'timeout':this[_0x2b306f(0x34d)],'reqId':_0x4e1efa[_0x2b306f(0x3c4)]}),this[_0x2b306f(0x223)]=this[_0x2b306f(0x464)][_0x2b306f(0x35c)](({reqId:_0x3dcc78,timeout:_0x38d45a})=>{const _0x295301=_0x2b306f;this[_0x295301(0x390)](_0x3dcc78,_0x38d45a);}),this);}[_0xd4a6c7(0x16d)](){const _0x2db84d=_0xd4a6c7;return this[_0x2db84d(0x4cb)](),this[_0x2db84d(0x264)]['createInstance'](_0x3eb6f5,this[_0x2db84d(0x224)],this[_0x2db84d(0x290)],this[_0x2db84d(0x2ed)],[],this[_0x2db84d(0x564)]);}[_0xd4a6c7(0x4fb)](){return this;}[_0xd4a6c7(0x14d)](){const _0x112253=_0xd4a6c7;this[_0x112253(0x564)][_0x112253(0x265)](this[_0x112253(0x2ed)]);}[_0xd4a6c7(0x23e)](_0x36ccdf){const _0x358b90=_0xd4a6c7;return this[_0x358b90(0x4cb)](),this[_0x358b90(0x264)]['createInstance'](_0x37373c,this['unitID'],this['type'],this['_awaitingChangeset'],[],this[_0x358b90(0x564)],_0x36ccdf);}[_0xd4a6c7(0x390)](_0x2f58a3,_0x526df9){const _0x569873=_0xd4a6c7;var _0x4b79a0;_0x2f58a3===((_0x4b79a0=this[_0x569873(0x2ed)])==null?void 0x0:_0x4b79a0[_0x569873(0x3c4)])&&(this[_0x569873(0x14d)](),this[_0x569873(0x34d)]=_0x526df9===0x0?0x3e8:_0x526df9*0x2);}[_0xd4a6c7(0x4cb)](){const _0x58a9f2=_0xd4a6c7;var _0x3805fc;(_0x3805fc=this[_0x58a9f2(0x223)])==null||_0x3805fc['unsubscribe'](),this[_0x58a9f2(0x34d)]=0x0;}};_0x549b89=_0x53625f([_0x4a9576(0x4,_0x411d72[_0xd4a6c7(0x371)](_0x411d72[_0xd4a6c7(0x3e2)])),_0x4a9576(0x5,_0x411d72[_0xd4a6c7(0x371)](_0x487e40['RevisionService'])),_0x4a9576(0x6,_0x411d72[_0xd4a6c7(0x371)](_0x59c9b4[_0xd4a6c7(0x4c5)])),_0x4a9576(0x7,_0x411d72[_0xd4a6c7(0x130)]),_0x4a9576(0x8,_0x411d72[_0xd4a6c7(0x3cd)]),_0x4a9576(0x9,_0x487e40['ITransformService']),_0x4a9576(0xa,_0x411d72[_0xd4a6c7(0x347)])],_0x549b89);let _0x381c75=class extends _0x26676d{constructor(_0x233987,_0x23b309,_0x240cd7,_0x23962b,_0x1bf69b,_0xecdcee,_0x3e9204,_0x1208e7,_0x5887b9,_0xc51a91,_0x837e2c,_0x231505,_0x4741b2){const _0x5c91be=_0xd4a6c7;super(_0x233987,_0x23b309,_0x240cd7,_0x23962b,_0x1bf69b,_0xc51a91,_0x4741b2,_0x1208e7,_0x5887b9),_0x3fe385(this,_0x5c91be(0x51f),_0x5c91be(0x4b4)),_0x3fe385(this,_0x5c91be(0x34d),0x0),_0x3fe385(this,'_resendTimer'),_0x3fe385(this,_0x5c91be(0x223)),(this[_0x5c91be(0x264)]=_0x3e9204,this[_0x5c91be(0xfc)]=_0x837e2c,this[_0x5c91be(0x4bf)]=_0x231505,_0xecdcee&&(this[_0x5c91be(0x464)]=_0xecdcee,this['_sender']=this[_0x5c91be(0x464)][_0x5c91be(0x35c)](({reqId:_0x29e05b,timeout:_0x49d3d2})=>{const _0xf8c7fc=_0x5c91be;this[_0xf8c7fc(0x390)](_0x29e05b,_0x49d3d2);})));}['appendMutation'](_0x1dd62b){const _0x3cdeaf=_0xd4a6c7;return this[_0x3cdeaf(0x436)][_0x3cdeaf(0x2d7)](_0x1dd62b),this;}['onRemoteChangeset'](_0x1fb8ac){const _0x372eb1=_0xd4a6c7;if(this[_0x372eb1(0x21b)](_0x1fb8ac))return this[_0x372eb1(0x4cb)](),this[_0x372eb1(0x264)][_0x372eb1(0x449)](_0x46798f,this[_0x372eb1(0x224)],this[_0x372eb1(0x290)],this[_0x372eb1(0x2ed)],this[_0x372eb1(0x436)],null,[_0x1fb8ac],this[_0x372eb1(0x564)]);try{const _0x1e7485=this['_transformService'][_0x372eb1(0x52a)]([_0x1fb8ac],[this[_0x372eb1(0x2ed)]],!0x1);if(_0x487e40[_0x372eb1(0x3cc)](_0x1e7485)){const {c1Prime:_0x4b0035,c2Prime:_0x4b71fd}=_0x1e7485,_0x5e967d=this['_transformService'][_0x372eb1(0x14f)](_0x4b0035[0x0],this[_0x372eb1(0x436)]);if(_0x487e40['isTransformMutationsWithChangesetSuccess'](_0x5e967d)){const {c1Prime:_0x5cd418,m2Prime:_0x383207}=_0x5e967d;return this[_0x372eb1(0x27d)](_0x5cd418),_0x4b71fd[0x0][_0x372eb1(0x12f)]=this[_0x372eb1(0x19b)](),this[_0x372eb1(0x4cb)](),this['_injector'][_0x372eb1(0x449)](_0x381c75,this[_0x372eb1(0x224)],this[_0x372eb1(0x290)],_0x4b71fd[0x0],_0x383207,this['_handler'],void 0x0);}throw _0x5e967d[_0x372eb1(0x311)];}throw _0x1e7485[_0x372eb1(0x311)];}catch(_0x1d764d){return this[_0x372eb1(0xfc)][_0x372eb1(0x311)](_0x1d764d),this[_0x372eb1(0x23e)](!0x1);}}[_0xd4a6c7(0x415)](_0x2998b3){const _0x243729=_0xd4a6c7;if(this[_0x243729(0x4cb)](),this[_0x243729(0x21b)](_0x2998b3))return this[_0x243729(0x264)][_0x243729(0x449)](_0x46798f,this['unitID'],this[_0x243729(0x290)],null,this[_0x243729(0x436)],this[_0x243729(0x2ed)],[],this[_0x243729(0x564)]);this[_0x243729(0x26e)]();const _0x2edfa7=this[_0x243729(0x264)]['createInstance'](_0x39220f,this[_0x243729(0x224)],this['type'],this[_0x243729(0x436)],this[_0x243729(0x564)]);return _0x2edfa7[_0x243729(0x3cb)](),_0x2edfa7['_updateLocalCache'](),_0x2edfa7;}[_0xd4a6c7(0x434)](_0x16ebcd){const _0x5895cb=_0xd4a6c7;return this[_0x5895cb(0x23e)](!!(_0x16ebcd!=null&&_0x16ebcd['isPermissionRej']));}['onRemoteRetry'](_0x4d1682){const _0x3bb5e2=_0xd4a6c7;return this[_0x3bb5e2(0x34d)]>_0x2b781d?this[_0x3bb5e2(0x16d)]():(this[_0x3bb5e2(0x464)]=_0xf98029(this[_0x3bb5e2(0x34d)],{'timeout':this[_0x3bb5e2(0x34d)],'reqId':_0x4d1682[_0x3bb5e2(0x3c4)]}),this[_0x3bb5e2(0x223)]=this['_resendTimer'][_0x3bb5e2(0x35c)](({reqId:_0x74f3d9,timeout:_0x261db3})=>{const _0x20ea9b=_0x3bb5e2;this[_0x20ea9b(0x390)](_0x74f3d9,_0x261db3);}),this);}[_0xd4a6c7(0x16d)](){const _0x27743f=_0xd4a6c7;return this[_0x27743f(0x4cb)](),this['_injector'][_0x27743f(0x449)](_0x3eb6f5,this['unitID'],this['type'],this[_0x27743f(0x2ed)],this['_pendingMutations'],this[_0x27743f(0x564)]);}[_0xd4a6c7(0x4fb)](){return this;}[_0xd4a6c7(0x14d)](){const _0x496ed8=_0xd4a6c7;this['_handler'][_0x496ed8(0x265)](this[_0x496ed8(0x2ed)]);}[_0xd4a6c7(0x23e)](_0x186bab){const _0x39d063=_0xd4a6c7;return this[_0x39d063(0x4cb)](),this[_0x39d063(0x264)][_0x39d063(0x449)](_0x37373c,this[_0x39d063(0x224)],this[_0x39d063(0x290)],null,this[_0x39d063(0x436)],this[_0x39d063(0x564)],_0x186bab);}[_0xd4a6c7(0x390)](_0x436cc2,_0x1bb6ea){const _0x4746df=_0xd4a6c7;var _0x151cfd;_0x436cc2===((_0x151cfd=this[_0x4746df(0x2ed)])==null?void 0x0:_0x151cfd[_0x4746df(0x3c4)])&&(this[_0x4746df(0x14d)](),this[_0x4746df(0x34d)]=_0x1bb6ea===0x0?0x3e8:_0x1bb6ea*0x2);}[_0xd4a6c7(0x4cb)](){const _0x52bc94=_0xd4a6c7;var _0x210d3d;(_0x210d3d=this[_0x52bc94(0x223)])==null||_0x210d3d['unsubscribe'](),this[_0x52bc94(0x34d)]=0x0;}};_0x381c75=_0x53625f([_0x4a9576(0x6,_0x411d72[_0xd4a6c7(0x371)](_0x411d72[_0xd4a6c7(0x3e2)])),_0x4a9576(0x7,_0x411d72[_0xd4a6c7(0x371)](_0x487e40['RevisionService'])),_0x4a9576(0x8,_0x411d72[_0xd4a6c7(0x371)](_0x59c9b4['LocalCacheService'])),_0x4a9576(0x9,_0x411d72[_0xd4a6c7(0x130)]),_0x4a9576(0xa,_0x411d72['ILogService']),_0x4a9576(0xb,_0x487e40[_0xd4a6c7(0x548)]),_0x4a9576(0xc,_0x411d72[_0xd4a6c7(0x347)])],_0x381c75);let _0x37373c=class extends _0x26676d{constructor(_0x25c32e,_0x4660e0,_0x3309fb,_0x2c686e,_0x528bde,_0x2b184c=!0x1,_0x1b666d,_0x2b591b,_0x5d4648,_0x3537c0,_0x5d8a9f,_0x382f13,_0x5b6969){const _0x12bb7e=_0xd4a6c7;super(_0x25c32e,_0x4660e0,_0x3309fb,_0x2c686e,_0x528bde,_0x2b591b,_0x5d4648,_0x5d8a9f,_0x3537c0),_0x3fe385(this,_0x12bb7e(0x51f),_0x12bb7e(0x3d8)),(this[_0x12bb7e(0x380)]=_0x2b184c,this['_permissionService']=_0x1b666d,this['_localeService']=_0x382f13,this[_0x12bb7e(0xd1)]=_0x5b6969,this[_0x12bb7e(0xcb)](),this[_0x12bb7e(0x10f)](),this[_0x12bb7e(0x399)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0xd4a6c7(0x415)](){return this;}[_0xd4a6c7(0x434)](){return this;}[_0xd4a6c7(0x333)](){return this;}['toggleOffline'](){return this;}[_0xd4a6c7(0x4fb)](){return this;}[_0xd4a6c7(0x14d)](){const _0x16fc36=_0xd4a6c7;throw new Error(_0x16fc36(0x292));}[_0xd4a6c7(0x10f)](){const _0x11e46c=_0xd4a6c7;this[_0x11e46c(0x1f6)][_0x11e46c(0x263)](this[_0x11e46c(0x224)],this['type'],null,[]);}[_0xd4a6c7(0xcb)](){const _0xd1f38=_0xd4a6c7;this[_0xd1f38(0x380)]?this['_notificationService'][_0xd1f38(0x2f4)]({'title':this['_localeService']['t'](_0xd1f38(0x36b)),'content':this[_0xd1f38(0x283)]['t'](_0xd1f38(0x2a1)),'type':'error','duration':0x0}):this[_0xd1f38(0xd1)][_0xd1f38(0x2f4)]({'title':this[_0xd1f38(0x283)]['t'](_0xd1f38(0x30d)),'content':this[_0xd1f38(0x283)]['t'](_0xd1f38(0x501)),'type':_0xd1f38(0x311),'duration':0x0});}[_0xd4a6c7(0x399)](){const _0x4f2f72=_0xd4a6c7;this[_0x4f2f72(0x49a)]['updatePermissionPoint'](new _0x2e18c9[(_0x4f2f72(0x2cd))](this['unitID'])['id'],!0x1);}};_0x37373c=_0x53625f([_0x4a9576(0x6,_0x411d72[_0xd4a6c7(0x371)](_0x411d72[_0xd4a6c7(0x328)])),_0x4a9576(0x7,_0x411d72[_0xd4a6c7(0x130)]),_0x4a9576(0x8,_0x411d72[_0xd4a6c7(0x347)]),_0x4a9576(0x9,_0x411d72['Inject'](_0x59c9b4[_0xd4a6c7(0x4c5)])),_0x4a9576(0xa,_0x411d72[_0xd4a6c7(0x371)](_0x487e40[_0xd4a6c7(0x35b)])),_0x4a9576(0xb,_0x411d72['Inject'](_0x411d72[_0xd4a6c7(0x117)])),_0x4a9576(0xc,_0x33b7bc[_0xd4a6c7(0x24c)])],_0x37373c);let _0x3eb6f5=class extends _0x26676d{constructor(_0x19d684,_0xb633b6,_0x22324d,_0x3eac8d,_0x5240f6,_0x305304,_0xd19e1e,_0x283b42,_0x12d663,_0x218305){const _0x161a1f=_0xd4a6c7;super(_0x19d684,_0xb633b6,_0x22324d,_0x3eac8d,_0x5240f6,_0x12d663,_0x218305,_0xd19e1e,_0x283b42),_0x3fe385(this,_0x161a1f(0x51f),'offline'),this[_0x161a1f(0x264)]=_0x305304;}[_0xd4a6c7(0x4bc)](_0x133fb7){const _0x460e5e=_0xd4a6c7;return this[_0x460e5e(0x436)][_0x460e5e(0x2d7)](_0x133fb7),this['_updateLocalCache'](),this;}[_0xd4a6c7(0xee)](_0x56e38c){const _0x116b2a=_0xd4a6c7;throw new Error(_0x116b2a(0x4de));}[_0xd4a6c7(0x415)](){const _0xba8858=_0xd4a6c7;throw new Error(_0xba8858(0x394));}[_0xd4a6c7(0x434)](){const _0x47de68=_0xd4a6c7;throw new Error(_0x47de68(0x3ef));}['onRemoteRetry'](){return this;}[_0xd4a6c7(0x16d)](){return this;}['toggleOnline'](){const _0x4fe088=_0xd4a6c7,{_injector:_0x5d83fb,_pendingMutations:_0x290f57,_awaitingChangeset:_0x1eca07,unitID:_0x4b2711,_handler:_0x10bd72,type:_0x99e681}=this,_0x45cb86=_0x2773bd(_0x5d83fb,_0x4b2711,_0x99e681,_0x1eca07,_0x290f57,_0x10bd72);return _0x45cb86 instanceof _0x39220f?_0x45cb86[_0x4fe088(0x3cb)]():(_0x45cb86 instanceof _0x381c75||_0x45cb86 instanceof _0x549b89)&&_0x45cb86[_0x4fe088(0x14d)](),_0x45cb86;}[_0xd4a6c7(0x14d)](){const _0x5c98ae=_0xd4a6c7;throw new Error(_0x5c98ae(0x281));}};_0x3eb6f5=_0x53625f([_0x4a9576(0x5,_0x411d72['Inject'](_0x411d72[_0xd4a6c7(0x3e2)])),_0x4a9576(0x6,_0x411d72[_0xd4a6c7(0x371)](_0x487e40[_0xd4a6c7(0x35b)])),_0x4a9576(0x7,_0x411d72[_0xd4a6c7(0x371)](_0x59c9b4[_0xd4a6c7(0x4c5)])),_0x4a9576(0x8,_0x411d72[_0xd4a6c7(0x130)]),_0x4a9576(0x9,_0x411d72[_0xd4a6c7(0x347)])],_0x3eb6f5);let _0x46798f=class extends _0x26676d{constructor(_0x25ae9d,_0x2fa268,_0x3f0b8c,_0xf73ee6,_0x448842,_0x2000e9,_0xeec979,_0x492cb6,_0x1237d4,_0x28d7fb,_0x1f391c,_0xfb3beb,_0x213ffb,_0xa8ecbf){const _0x241147=_0xd4a6c7;super(_0x25ae9d,_0x2fa268,_0x3f0b8c,_0xf73ee6,_0xeec979,_0xfb3beb,_0x213ffb,_0x1237d4,_0x28d7fb),_0x3fe385(this,_0x241147(0x51f),'fetch_missing'),(this[_0x241147(0xdd)]=_0x448842,this['_queuedRemoteChangesets']=_0x2000e9,this[_0x241147(0x264)]=_0x492cb6,this['_logService']=_0x1f391c,this[_0x241147(0x4bf)]=_0xa8ecbf);}['onMissedChangesetFetched'](_0x2b97bd){const _0xf1aa09=_0xd4a6c7;try{const _0x54eb52=[..._0x2b97bd,...this['_queuedRemoteChangesets']],_0x397bd6=[this[_0xf1aa09(0x2ed)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x3b0e99=>!!_0x3b0e99);let _0x530f49,_0x2bdfdf;if(_0x397bd6[_0xf1aa09(0x26b)]){const _0x30b05a=this[_0xf1aa09(0x4bf)]['transformChangesets'](_0x54eb52,_0x397bd6,!0x1);if(!_0x487e40[_0xf1aa09(0x3cc)](_0x30b05a))throw _0x30b05a[_0xf1aa09(0x311)];_0x530f49=_0x30b05a[_0xf1aa09(0x3c5)],_0x2bdfdf=_0x30b05a[_0xf1aa09(0xbc)];}else _0x530f49=_0x54eb52,_0x2bdfdf=[];let _0x29c00f=this[_0xf1aa09(0x436)];_0x530f49['forEach'](_0x2a0661=>{const _0x254caa=_0xf1aa09;let _0x44302a;if(_0x29c00f[_0x254caa(0x26b)]){const _0x416e8d=this['_transformService']['transformMutationsWithChangeset'](_0x2a0661,_0x29c00f);if(!_0x487e40[_0x254caa(0x4a1)](_0x416e8d))throw _0x416e8d[_0x254caa(0x311)];_0x44302a=_0x416e8d['c1Prime'],_0x29c00f=_0x416e8d[_0x254caa(0x2ee)];}else _0x44302a=_0x2a0661;this['_executeRemoteChangeset'](_0x44302a);}),this[_0xf1aa09(0xdd)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x2bdfdf[_0xf1aa09(0x26b)]&&(_0x2bdfdf[0x0][_0xf1aa09(0x12f)]=this[_0xf1aa09(0x19b)]());let _0x165af8;if(this[_0xf1aa09(0x2ed)]&&_0x29c00f[_0xf1aa09(0x26b)]!==0x0)_0x165af8=this['_injector'][_0xf1aa09(0x449)](_0x381c75,this[_0xf1aa09(0x224)],this[_0xf1aa09(0x290)],_0x2bdfdf[0x0],_0x29c00f,this[_0xf1aa09(0x564)],void 0x0);else{if(this['_awaitingChangeset']&&_0x29c00f[_0xf1aa09(0x26b)]===0x0)_0x2bdfdf[0x0][_0xf1aa09(0x12f)]=this[_0xf1aa09(0x19b)](),_0x165af8=this[_0xf1aa09(0x264)][_0xf1aa09(0x449)](_0x549b89,this[_0xf1aa09(0x224)],this[_0xf1aa09(0x290)],_0x2bdfdf[0x0],this[_0xf1aa09(0x564)]);else{if(_0x29c00f['length']!==0x0){const _0x5b8c41=this[_0xf1aa09(0x264)][_0xf1aa09(0x449)](_0x39220f,this[_0xf1aa09(0x224)],this[_0xf1aa09(0x290)],_0x29c00f,this[_0xf1aa09(0x564)]);_0x5b8c41[_0xf1aa09(0x3cb)](),_0x165af8=_0x5b8c41;}else _0x165af8=this['_injector'][_0xf1aa09(0x449)](_0x38f78d,this[_0xf1aa09(0x224)],this[_0xf1aa09(0x290)],this[_0xf1aa09(0x564)]);}}return _0x165af8[_0xf1aa09(0x532)](),_0x165af8;}catch(_0x313686){return this[_0xf1aa09(0xfc)][_0xf1aa09(0x311)](_0xf1aa09(0x222),_0xf1aa09(0x230),_0x313686),this[_0xf1aa09(0x264)][_0xf1aa09(0x449)](_0x37373c,this[_0xf1aa09(0x224)],this[_0xf1aa09(0x290)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0xf1aa09(0x564)],!0x1);}}[_0xd4a6c7(0x14d)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xd4a6c7(0x4bc)](_0x18b370){const _0x51d08f=_0xd4a6c7;return this[_0x51d08f(0x436)][_0x51d08f(0x2d7)](_0x18b370),this;}['onRemoteChangeset'](_0x1aaaac){const _0x1cd8a1=_0xd4a6c7;return this[_0x1cd8a1(0x260)][_0x1cd8a1(0x2d7)](_0x1aaaac),this;}[_0xd4a6c7(0x415)](_0x21b38b){const _0x42f720=_0xd4a6c7;if(this['_awaitingChangeset'])return this[_0x42f720(0xdd)]=this['_awaitingChangeset'],this[_0x42f720(0x2ed)]=null,this;throw new Error(_0x42f720(0xbb));}['onRemoteRej'](_0xc7d091){const _0x3e6ad2=_0xd4a6c7;return this[_0x3e6ad2(0x23e)](!!(_0xc7d091!=null&&_0xc7d091[_0x3e6ad2(0x3e0)]));}[_0xd4a6c7(0x333)](){return this;}[_0xd4a6c7(0x16d)](){const _0x478b70=_0xd4a6c7;return this[_0x478b70(0x264)][_0x478b70(0x449)](_0x3eb6f5,this[_0x478b70(0x224)],this['type'],this[_0x478b70(0x2ed)],this[_0x478b70(0x436)],this[_0x478b70(0x564)]);}[_0xd4a6c7(0x4fb)](){return this;}[_0xd4a6c7(0x23e)](_0x3b496d){const _0x24d1c1=_0xd4a6c7;return this[_0x24d1c1(0x264)][_0x24d1c1(0x449)](_0x37373c,this['unitID'],this[_0x24d1c1(0x290)],this[_0x24d1c1(0x2ed)],this[_0x24d1c1(0x436)],this['_handler'],_0x3b496d);}};_0x46798f=_0x53625f([_0x4a9576(0x7,_0x411d72[_0xd4a6c7(0x371)](_0x411d72[_0xd4a6c7(0x3e2)])),_0x4a9576(0x8,_0x411d72['Inject'](_0x487e40[_0xd4a6c7(0x35b)])),_0x4a9576(0x9,_0x411d72['Inject'](_0x59c9b4[_0xd4a6c7(0x4c5)])),_0x4a9576(0xa,_0x411d72[_0xd4a6c7(0x3cd)]),_0x4a9576(0xb,_0x411d72[_0xd4a6c7(0x130)]),_0x4a9576(0xc,_0x411d72[_0xd4a6c7(0x347)]),_0x4a9576(0xd,_0x487e40[_0xd4a6c7(0x548)])],_0x46798f);function _0x2773bd(_0x4ec764,_0xdc063a,_0x492f5e,_0x2b7e80,_0x3cefc4,_0x558aa4){const _0x1c4582=_0xd4a6c7;return _0x2b7e80&&_0x3cefc4[_0x1c4582(0x26b)]?_0x4ec764[_0x1c4582(0x449)](_0x381c75,_0xdc063a,_0x492f5e,_0x2b7e80,_0x3cefc4,_0x558aa4,void 0x0):_0x2b7e80?_0x4ec764[_0x1c4582(0x449)](_0x549b89,_0xdc063a,_0x492f5e,_0x2b7e80,_0x558aa4):_0x3cefc4[_0x1c4582(0x26b)]?_0x4ec764[_0x1c4582(0x449)](_0x39220f,_0xdc063a,_0x492f5e,_0x3cefc4,_0x558aa4):_0x4ec764[_0x1c4582(0x449)](_0x38f78d,_0xdc063a,_0x492f5e,_0x558aa4);}var _0xae2367=Object[_0xd4a6c7(0x1a4)],_0x198526=Object['getOwnPropertyDescriptor'],_0x398694=(_0x4b7b24,_0x1181aa,_0x2fce0c,_0x18a09b)=>{const _0x5a255a=_0xd4a6c7;for(var _0x31becb=_0x18a09b>0x1?void 0x0:_0x18a09b?_0x198526(_0x1181aa,_0x2fce0c):_0x1181aa,_0x2b6c4c=_0x4b7b24[_0x5a255a(0x26b)]-0x1,_0x2b9473;_0x2b6c4c>=0x0;_0x2b6c4c--)(_0x2b9473=_0x4b7b24[_0x2b6c4c])&&(_0x31becb=(_0x18a09b?_0x2b9473(_0x1181aa,_0x2fce0c,_0x31becb):_0x2b9473(_0x31becb))||_0x31becb);return _0x18a09b&&_0x31becb&&_0xae2367(_0x1181aa,_0x2fce0c,_0x31becb),_0x31becb;},_0x159bc0=(_0x2ddba0,_0x4efef7)=>(_0x4feec4,_0x2881a9)=>_0x4efef7(_0x4feec4,_0x2881a9,_0x2ddba0);_0x59c9b4[_0xd4a6c7(0xd9)]=class extends _0x411d72['RxDisposable']{constructor(_0x1b03fa,_0x457ffc,_0x276aba,_0x3e9044,_0xca52b0,_0x49f490,_0x3c697f,_0x41126f,_0x388982,_0x655020,_0x215e26,_0x5259ff,_0x4fb8e9){const _0x12775a=_0xd4a6c7;super(),_0x3fe385(this,_0x12775a(0x3c2),new _0x3c9c2d['BehaviorSubject'](null)),_0x3fe385(this,_0x12775a(0x33a),this[_0x12775a(0x3c2)][_0x12775a(0x546)]()),_0x3fe385(this,'_state'),_0x3fe385(this,_0x12775a(0x252),!0x1),_0x3fe385(this,_0x12775a(0x4e0),''),_0x3fe385(this,_0x12775a(0x462),0x0),_0x3fe385(this,_0x12775a(0x27a),this[_0x12775a(0x33a)][_0x12775a(0x3dd)](_0x3c9c2d[_0x12775a(0x357)](_0x1cbe86=>_0x1cbe86?_0x1cbe86[_0x12775a(0x51f)]:_0x323170[_0x12775a(0x1b3)]),_0x3c9c2d[_0x12775a(0xb3)](0x1))),_0x3fe385(this,_0x12775a(0x3ba),!0x1),_0x3fe385(this,'_remoteChangesetQueue',[]),(this[_0x12775a(0x224)]=_0x1b03fa,this[_0x12775a(0x3f7)]=_0x457ffc,this[_0x12775a(0xa1)]=_0x276aba,this[_0x12775a(0x264)]=_0x3e9044,this['_localCacheService']=_0xca52b0,this['_compressMutationService']=_0x49f490,this['_localeService']=_0x3c697f,this[_0x12775a(0x33c)]=_0x41126f,this['_logService']=_0x388982,this[_0x12775a(0x38f)]=_0x655020,this['_messageService']=_0x215e26,this[_0x12775a(0x49a)]=_0x5259ff,this[_0x12775a(0x133)]=_0x4fb8e9);}get['state'](){return this['_state'];}async[_0xd4a6c7(0x3ed)](){const _0x5591b4=_0xd4a6c7;if(this[_0x5591b4(0x540)])throw new Error(_0x5591b4(0x331));await this[_0x5591b4(0x406)]();}[_0xd4a6c7(0x4d9)](){const _0x5c1622=_0xd4a6c7;return this[_0x5c1622(0x252)]=!0x0,_0x411d72[_0x5c1622(0x167)](()=>{const _0x147c59=_0x5c1622;this[_0x147c59(0x252)]=!0x1,this[_0x147c59(0x206)]();});}['_updateState'](_0x2ca077){const _0x179aed=_0xd4a6c7;this[_0x179aed(0x316)]=_0x2ca077,this['_state$']['next'](_0x2ca077);}async[_0xd4a6c7(0x406)](){const _0x3bd239=_0xd4a6c7;var _0x11d56a;this[_0x3bd239(0x163)](await this[_0x3bd239(0x3e8)]()),this[_0x3bd239(0x133)]&&((_0x11d56a=this[_0x3bd239(0x133)])==null||_0x11d56a[_0x3bd239(0x280)](this[_0x3bd239(0x224)]),this[_0x3bd239(0x20f)](this[_0x3bd239(0x133)][_0x3bd239(0xff)](this['unitID'])['subscribe'](_0x988948=>{const _0x3d4cf1=_0x3bd239;this['_logService']['debug'](_0x3d4cf1(0x51a),_0x3d4cf1(0x27f),_0x988948),_0x988948===_0x403551[_0x3d4cf1(0x13f)]?(this[_0x3d4cf1(0x54f)]['show']({'content':this[_0x3d4cf1(0x283)]['t'](_0x3d4cf1(0x327)),'type':_0x4d0320['MessageType']['Warning']}),this[_0x3d4cf1(0x49a)][_0x3d4cf1(0x50a)](new _0x2e18c9[(_0x3d4cf1(0x2cd))](this[_0x3d4cf1(0x224)])['id'],!0x1),this['_permissionService'][_0x3d4cf1(0x234)](!0x1)):(this[_0x3d4cf1(0x49a)][_0x3d4cf1(0x50a)](new _0x2e18c9[(_0x3d4cf1(0x2cd))](this[_0x3d4cf1(0x224)])['id'],!0x0),this['_permissionService'][_0x3d4cf1(0x234)](!0x0));})));let _0x308ac4=!0x1;return this[_0x3bd239(0x20f)](this['session'][_0x3bd239(0x492)]['subscribe'](_0xa95b74=>{const _0x594964=_0x3bd239;_0xa95b74===_0x5ca660[_0x594964(0x287)]?this['_toggleOnline'](_0x308ac4):_0xa95b74===_0x5ca660['OFFLINE']&&(_0x308ac4=!0x0,this[_0x594964(0x9e)]());})),this[_0x3bd239(0x20f)](this[_0x3bd239(0x3f7)][_0x3bd239(0x50b)][_0x3bd239(0x35c)](_0x1c8e51=>{const _0x88d180=_0x3bd239;try{switch(_0x1c8e51[_0x88d180(0x37c)]){case _0x487e40[_0x88d180(0x1df)][_0x88d180(0x28b)]:{this['_onRemoteChangeset'](_0x487e40['parseProtocolChangeset'](_0x1c8e51[_0x88d180(0x3b0)]));break;}case _0x487e40[_0x88d180(0x1df)][_0x88d180(0x1a6)]:{this[_0x88d180(0x3dc)](_0x1c8e51[_0x88d180(0x3b0)]);break;}case _0x487e40[_0x88d180(0x1df)][_0x88d180(0xd2)]:{this[_0x88d180(0x4eb)]();break;}case _0x487e40[_0x88d180(0x1df)][_0x88d180(0x161)]:{this['_onRemoteRetry'](_0x1c8e51[_0x88d180(0x3b0)]);break;}case _0x487e40[_0x88d180(0x1df)]['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x1c8e51[_0x88d180(0x3b0)]['changesets']['map'](_0x1ae4b2=>_0x487e40[_0x88d180(0xae)](_0x1ae4b2)));break;}case _0x487e40[_0x88d180(0x1df)]['PERMISSION_REJ']:this[_0x88d180(0x4eb)]({'isPermissionRej':!0x0});}}catch(_0x2bccc9){throw console[_0x88d180(0x311)](_0x88d180(0x151),_0x2bccc9),_0x2bccc9;}})),this[_0x3bd239(0x316)];}[_0xd4a6c7(0x4fc)](){const _0x5af805=_0xd4a6c7;this[_0x5af805(0x3ba)]=!0x1;}[_0xd4a6c7(0x2d6)](){const _0x27cc5c=_0xd4a6c7;if(this[_0x27cc5c(0x3ba)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x27cc5c(0x3ba)]=!0x0;}[_0xd4a6c7(0x3d4)](_0x2b7476){const _0x57546f=_0xd4a6c7;this['_lockTransition'](),this[_0x57546f(0x163)](this[_0x57546f(0x316)][_0x57546f(0x4bc)](_0x2b7476)),this['_unlockTransition']();}[_0xd4a6c7(0x183)](_0x33b1bd){const _0x484c3a=_0xd4a6c7;if(!(_0x33b1bd['revision']<=this[_0x484c3a(0x33c)][_0x484c3a(0x2ad)](this['unitID']))){if(this[_0x484c3a(0x252)]){this[_0x484c3a(0x2e1)][_0x484c3a(0x2d7)](_0x33b1bd);return;}this[_0x484c3a(0x248)](_0x33b1bd);}}[_0xd4a6c7(0x206)](){const _0x2d3141=_0xd4a6c7;this[_0x2d3141(0x2e1)][_0x2d3141(0x335)](_0xed1b53=>this[_0x2d3141(0x248)](_0xed1b53)),this[_0x2d3141(0x2e1)]=[];}['_applyRemoteChangeset'](_0x4c64ee){const _0x59c1ae=_0xd4a6c7,_0x2588e7=this['_compressMutationService'][_0x59c1ae(0x3ac)][_0x59c1ae(0x26c)](this[_0x59c1ae(0x2de)][_0x59c1ae(0x3ac)]['getInterceptPoints']()[_0x59c1ae(0x2be)])(_0x4c64ee['mutations'],null)||_0x4c64ee[_0x59c1ae(0x454)],_0x17673f={..._0x4c64ee,'mutations':_0x2588e7};this[_0x59c1ae(0x2d6)](),this[_0x59c1ae(0x163)](this[_0x59c1ae(0x316)][_0x59c1ae(0xee)](_0x17673f)),this[_0x59c1ae(0x4fc)]();}[_0xd4a6c7(0x3dc)](_0x15b0de){const _0x9efd97=_0xd4a6c7;this[_0x9efd97(0x2d6)](),this['_updateState'](this['_state'][_0x9efd97(0x415)](_0x15b0de)),this[_0x9efd97(0x4fc)]();}[_0xd4a6c7(0x4eb)](_0x50a67a){const _0x15e078=_0xd4a6c7;this[_0x15e078(0x2d6)](),this[_0x15e078(0x163)](this[_0x15e078(0x316)][_0x15e078(0x434)](_0x50a67a)),this['_unlockTransition']();}['_onRemoteRetry'](_0x2fa8b0){const _0x301fa9=_0xd4a6c7;this[_0x301fa9(0x2d6)](),this[_0x301fa9(0x163)](this[_0x301fa9(0x316)]['onRemoteRetry'](_0x2fa8b0)),this['_unlockTransition']();}[_0xd4a6c7(0x23f)](_0xde6f4d){const _0x5c60ce=_0xd4a6c7;if(!(this[_0x5c60ce(0x316)]instanceof _0x46798f))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0xd551a9=_0xde6f4d[_0x5c60ce(0x357)](_0x5d0f0c=>{const _0xb9adae=_0x5c60ce,_0x369cfc=this[_0xb9adae(0x2de)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0xb9adae(0x3ac)]['getInterceptPoints']()[_0xb9adae(0x2be)])(_0x5d0f0c['mutations'],null)||_0x5d0f0c[_0xb9adae(0x454)];return{..._0x5d0f0c,'mutations':_0x369cfc};});this[_0x5c60ce(0x2d6)](),this['_updateState'](this[_0x5c60ce(0x316)][_0x5c60ce(0x325)](_0xd551a9)),this[_0x5c60ce(0x4fc)]();}[_0xd4a6c7(0x9e)](){const _0x5ec459=_0xd4a6c7;this[_0x5ec459(0x2d6)](),this[_0x5ec459(0x163)](this[_0x5ec459(0x316)]['toggleOffline']()),this['_unlockTransition']();}[_0xd4a6c7(0x1e0)](_0x4f3f54=!0x1){const _0x437f9b=_0xd4a6c7;this[_0x437f9b(0x2d6)](),this[_0x437f9b(0x163)](this['_state']['toggleOnline']()),this['_unlockTransition']();const _0xc6e48e=this[_0x437f9b(0x316)];_0x4f3f54&&_0xc6e48e instanceof _0x38f78d&&(this['_lockTransition'](),this[_0x437f9b(0x163)](_0xc6e48e[_0x437f9b(0x381)]()),this[_0x437f9b(0x4fc)]());}async[_0xd4a6c7(0x3e8)](){return new Promise(_0x38bd44=>{const _0xf9611e=_0x5231;this['session'][_0xf9611e(0x492)]['pipe'](_0x3c9c2d[_0xf9611e(0x4d4)](0x1))[_0xf9611e(0x35c)](async _0x2786c1=>{const _0x425b83=_0xf9611e;_0x38bd44(await this[_0x425b83(0x545)](_0x2786c1===_0x5ca660[_0x425b83(0x287)]));});});}[_0xd4a6c7(0x166)](){const _0x508ab7=_0xd4a6c7,_0x4753ae=this[_0x508ab7(0x224)];return{'onStateChange':(_0x22e51a,_0xbba058)=>{const _0xd75a3b=_0x508ab7;if(_0x22e51a!==this[_0xd75a3b(0x316)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x22e51a[_0xd75a3b(0x51f)]+_0xd75a3b(0x18e)+_0xbba058[_0xd75a3b(0x51f)]+_0xd75a3b(0x25c)+this[_0xd75a3b(0x316)][_0xd75a3b(0x51f)]);this['_updateState'](_0xbba058);},'onSendChangeset':_0x32a5b1=>{const _0x39ef30=_0x508ab7;_0x32a5b1[_0x39ef30(0x423)]||(_0x32a5b1[_0x39ef30(0x423)]=this[_0x39ef30(0x4e0)],_0x32a5b1[_0x39ef30(0x3c4)]=++this['_changesetReqId']);const _0x5ef94a={'eventID':_0x487e40[_0x39ef30(0x1df)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x32a5b1[_0x39ef30(0x224)],'unitType':this[_0x39ef30(0xa1)],'changeset':_0x32a5b1,'memberID':this[_0x39ef30(0x3f7)][_0x39ef30(0x235)]()}};this[_0x39ef30(0x3f7)]['send'](_0x5ef94a,this[_0x39ef30(0x224)]);},'onMissingChangesets':({from:_0x89aa46,to:_0x3b34d1})=>{const _0x30bd60=_0x508ab7;this[_0x30bd60(0xfc)][_0x30bd60(0x1f7)](_0x30bd60(0x51a),_0x30bd60(0x25a)+_0x89aa46+_0x30bd60(0x245)+_0x3b34d1);const _0x2ae7e5={'eventID':_0x487e40[_0x30bd60(0x1df)][_0x30bd60(0x3c1)],'data':{'unitID':_0x4753ae,'unitType':this[_0x30bd60(0xa1)],'from':_0x89aa46,'to':_0x3b34d1}};this['session'][_0x30bd60(0xb1)](_0x2ae7e5,this[_0x30bd60(0x224)]);}};}async[_0xd4a6c7(0x545)](_0x2bd168){const _0x11606e=_0xd4a6c7;var _0x363d44,_0x34b1bd;const _0x12e2a8=await this[_0x11606e(0x1f6)][_0x11606e(0x155)](this['unitID']),_0x3f5871=(_0x363d44=_0x12e2a8==null?void 0x0:_0x12e2a8[_0x11606e(0x454)])!=null?_0x363d44:[],_0x206303=(_0x34b1bd=_0x12e2a8==null?void 0x0:_0x12e2a8[_0x11606e(0x481)])!=null?_0x34b1bd:null,_0xc08512=!!(_0x206303!=null&&_0x206303[_0x11606e(0x423)])&&!!(_0x206303!=null&&_0x206303[_0x11606e(0x3c4)]);this[_0x11606e(0x4e0)]=_0xc08512?_0x206303[_0x11606e(0x423)]:_0x299da9(),this['_changesetReqId']=_0xc08512?_0x206303['reqId']:0x0;const _0x34682c=this['unitID'];try{this[_0x11606e(0x1d7)](_0x206303,_0x3f5871);}catch(_0x3c47fa){this[_0x11606e(0xfc)][_0x11606e(0x311)](_0x3c47fa);}const _0x4b81e5=this[_0x11606e(0x166)]();if(_0x2bd168){const _0x2c2577=_0x2773bd(this[_0x11606e(0x264)],_0x34682c,this[_0x11606e(0xa1)],_0x206303,_0x3f5871,_0x4b81e5);return _0x2c2577 instanceof _0x39220f?_0x2c2577[_0x11606e(0x3cb)]():(_0x2c2577 instanceof _0x381c75||_0x2c2577 instanceof _0x549b89)&&_0x2c2577[_0x11606e(0x14d)](),_0x2c2577;}return this['_injector'][_0x11606e(0x449)](_0x3eb6f5,_0x34682c,this[_0x11606e(0xa1)],_0x206303,_0x3f5871,_0x4b81e5);}[_0xd4a6c7(0x1d7)](_0x302ba5,_0x5beb34){const _0x56ccb0=_0xd4a6c7;var _0x33500a,_0x140867;const _0x4cd8f9=this['_compressMutationService'][_0x56ccb0(0x3ac)][_0x56ccb0(0x26c)](this[_0x56ccb0(0x2de)][_0x56ccb0(0x3ac)][_0x56ccb0(0xc4)]()[_0x56ccb0(0x2be)]);(_0x33500a=_0x4cd8f9((_0x302ba5==null?void 0x0:_0x302ba5[_0x56ccb0(0x454)])||[],null))==null||_0x33500a[_0x56ccb0(0x335)](_0x240c20=>this[_0x56ccb0(0x38f)][_0x56ccb0(0x2b6)](_0x240c20['id'],_0x240c20[_0x56ccb0(0xc1)])),(_0x140867=_0x4cd8f9(_0x5beb34||[],null))==null||_0x140867[_0x56ccb0(0x335)](_0x4c0191=>this[_0x56ccb0(0x38f)][_0x56ccb0(0x2b6)](_0x4c0191['id'],_0x4c0191[_0x56ccb0(0xc1)]));}},_0x59c9b4['CollaborationEntity']=_0x398694([_0x159bc0(0x3,_0x411d72[_0xd4a6c7(0x371)](_0x411d72[_0xd4a6c7(0x3e2)])),_0x159bc0(0x4,_0x411d72[_0xd4a6c7(0x371)](_0x59c9b4[_0xd4a6c7(0x4c5)])),_0x159bc0(0x5,_0x411d72[_0xd4a6c7(0x371)](_0x487e40['CompressMutationService'])),_0x159bc0(0x6,_0x411d72[_0xd4a6c7(0x371)](_0x411d72[_0xd4a6c7(0x117)])),_0x159bc0(0x7,_0x411d72[_0xd4a6c7(0x371)](_0x487e40['RevisionService'])),_0x159bc0(0x8,_0x411d72['ILogService']),_0x159bc0(0x9,_0x411d72[_0xd4a6c7(0x130)]),_0x159bc0(0xa,_0x33b7bc[_0xd4a6c7(0x105)]),_0x159bc0(0xb,_0x411d72[_0xd4a6c7(0x328)]),_0x159bc0(0xc,_0x411d72[_0xd4a6c7(0x354)](_0x4339b3))],_0x59c9b4[_0xd4a6c7(0xd9)]),_0x59c9b4[_0xd4a6c7(0x41a)]=class extends _0x59c9b4[_0xd4a6c7(0xd9)]{constructor(_0x9cd95f,_0x431dc4,_0x202081,_0xc83d6d,_0x427adb,_0x8f893c,_0x3ef9c3,_0x3b9450,_0x4e9109,_0x59151b,_0x316f84,_0x373dfb,_0x3699c7,_0x247516,_0x5a0878,_0x4079b5,_0x145ef4,_0x3b9903){const _0x359fa3=_0xd4a6c7;super(_0x9cd95f,_0x202081,_0x431dc4,_0xc83d6d,_0x427adb,_0x8f893c,_0x3ef9c3,_0x3b9450,_0x247516,_0x5a0878,_0x4079b5,_0x145ef4,_0x3b9903),this['unitID']=_0x9cd95f,this[_0x359fa3(0x290)]=_0x431dc4,this[_0x359fa3(0x186)]=_0x4e9109,this[_0x359fa3(0x550)]=_0x59151b,this['_docTransformStateCacheService']=_0x316f84,this[_0x359fa3(0x115)]=_0x373dfb,this[_0x359fa3(0x4c6)]=_0x3699c7;}[_0xd4a6c7(0x166)](){const _0x5f5286=_0xd4a6c7,_0x3a64b1=super[_0x5f5286(0x166)]();return _0x3a64b1[_0x5f5286(0x396)]=_0x341949=>this[_0x5f5286(0x550)]['transformIMECache'](_0x341949),_0x3a64b1[_0x5f5286(0x470)]=_0x49f52b=>this[_0x5f5286(0x21c)][_0x5f5286(0xe1)](_0x49f52b),_0x3a64b1[_0x5f5286(0x20a)]=_0x4d37dc=>this[_0x5f5286(0x115)]['transformSelections'](_0x4d37dc),_0x3a64b1['onSyncEditingCollabCursor']=_0x1311ce=>this['_docSyncEditingCollabCursorService'][_0x5f5286(0x521)](_0x1311ce),_0x3a64b1[_0x5f5286(0xef)]=_0x3a725e=>this[_0x5f5286(0x550)][_0x5f5286(0x359)](_0x3a725e),_0x3a64b1[_0x5f5286(0x1b4)]=_0x189b08=>this[_0x5f5286(0x21c)][_0x5f5286(0x359)](_0x189b08),_0x3a64b1;}async[_0xd4a6c7(0x406)](){const _0x4b909f=_0xd4a6c7,_0x32bf59=await super[_0x4b909f(0x406)]();return this['_docStateChangeManagerService'][_0x4b909f(0x2bc)][_0x4b909f(0x3dd)](_0x3c9c2d[_0x4b909f(0x383)](this['dispose$']))[_0x4b909f(0x35c)](_0x4bd159=>{const _0x12e244=_0x4b909f;if(_0x4bd159==null)return;const {unitId:_0x4c942f,redoState:_0x21989f,commandId:_0x327296}=_0x4bd159;if(_0x4c942f!==this['unitID'])return;const _0x38d176={'id':_0x327296,'type':_0x411d72['CommandType'][_0x12e244(0x1ec)],'params':{'unitId':_0x4c942f,'actions':_0x21989f[_0x12e244(0x512)],'textRanges':null}};this['_onLocalMutation'](_0x38d176);}),_0x32bf59;}},_0x59c9b4['DocCollaborationEntity']=_0x398694([_0x159bc0(0x3,_0x411d72[_0xd4a6c7(0x371)](_0x411d72['Injector'])),_0x159bc0(0x4,_0x411d72[_0xd4a6c7(0x371)](_0x59c9b4[_0xd4a6c7(0x4c5)])),_0x159bc0(0x5,_0x411d72[_0xd4a6c7(0x371)](_0x487e40[_0xd4a6c7(0xa3)])),_0x159bc0(0x6,_0x411d72[_0xd4a6c7(0x371)](_0x411d72['LocaleService'])),_0x159bc0(0x7,_0x411d72[_0xd4a6c7(0x371)](_0x487e40[_0xd4a6c7(0x35b)])),_0x159bc0(0x8,_0x411d72[_0xd4a6c7(0x371)](_0x24f328['DocStateChangeManagerService'])),_0x159bc0(0x9,_0x411d72[_0xd4a6c7(0x371)](_0x5d53eb)),_0x159bc0(0xa,_0x411d72[_0xd4a6c7(0x371)](_0x3c5bba)),_0x159bc0(0xb,_0x411d72[_0xd4a6c7(0x371)](_0x51ae24)),_0x159bc0(0xc,_0x411d72['Inject'](_0x3ec825)),_0x159bc0(0xd,_0x411d72[_0xd4a6c7(0x3cd)]),_0x159bc0(0xe,_0x411d72['ICommandService']),_0x159bc0(0xf,_0x33b7bc[_0xd4a6c7(0x105)]),_0x159bc0(0x10,_0x411d72[_0xd4a6c7(0x328)]),_0x159bc0(0x11,_0x411d72[_0xd4a6c7(0x354)](_0x4339b3))],_0x59c9b4[_0xd4a6c7(0x41a)]),_0x59c9b4[_0xd4a6c7(0x374)]=class extends _0x59c9b4['CollaborationEntity']{constructor(_0x19aa39,_0x491e3b,_0x35bb9e,_0x67bd11,_0x16b8af,_0x46c8f0,_0x41edbf,_0x4d05e2,_0x141d91,_0x4f8e4b,_0x9f0fa0,_0x1d35e1,_0x4b9d32,_0x50dc81){const _0x12a7d7=_0xd4a6c7;super(_0x19aa39,_0x35bb9e,_0x491e3b,_0x67bd11,_0x16b8af,_0x46c8f0,_0x41edbf,_0x4d05e2,_0x4f8e4b,_0x9f0fa0,_0x1d35e1,_0x4b9d32,_0x50dc81),this[_0x12a7d7(0x224)]=_0x19aa39,this[_0x12a7d7(0x290)]=_0x491e3b,this[_0x12a7d7(0x11a)]=_0x141d91;}[_0xd4a6c7(0x166)](){const _0x5b71b4=_0xd4a6c7,_0x411cc0=super[_0x5b71b4(0x166)]();return _0x411cc0['onTransformSelections']=_0x930545=>this[_0x5b71b4(0x11a)][_0x5b71b4(0x32c)](_0x930545),_0x411cc0;}async[_0xd4a6c7(0x406)](){const _0x5a505f=_0xd4a6c7,_0x51490c=await super[_0x5a505f(0x406)]();return this[_0x5a505f(0x20f)](this[_0x5a505f(0x38f)][_0x5a505f(0x13d)]((_0x5e0bf7,_0x216b41)=>{const _0x15730f=_0x5a505f;if(_0x5e0bf7[_0x15730f(0x290)]!==_0x411d72[_0x15730f(0x45e)][_0x15730f(0x1ec)]||_0x216b41!=null&&_0x216b41[_0x15730f(0x12b)]||_0x216b41!=null&&_0x216b41[_0x15730f(0xc9)])return;const _0x36731b=_0x5e0bf7[_0x15730f(0xc1)];if((_0x36731b==null?void 0x0:_0x36731b[_0x15730f(0x332)])!==this[_0x15730f(0x224)])return;const _0x3f347d=_0x5e0bf7,_0x2d32db=this['_compressMutationService']['interceptor'][_0x15730f(0x26c)](this['_compressMutationService'][_0x15730f(0x3ac)][_0x15730f(0xc4)]()['COMPRESS_MUTATION_SEND'])([_0x3f347d],null)||[_0x3f347d];this[_0x15730f(0x3d4)](_0x2d32db[0x0]);})),_0x51490c;}},_0x59c9b4['SheetCollaborationEntity']=_0x398694([_0x159bc0(0x3,_0x411d72['Inject'](_0x411d72['Injector'])),_0x159bc0(0x4,_0x411d72[_0xd4a6c7(0x371)](_0x59c9b4[_0xd4a6c7(0x4c5)])),_0x159bc0(0x5,_0x411d72[_0xd4a6c7(0x371)](_0x487e40[_0xd4a6c7(0xa3)])),_0x159bc0(0x6,_0x411d72[_0xd4a6c7(0x371)](_0x411d72[_0xd4a6c7(0x117)])),_0x159bc0(0x7,_0x411d72[_0xd4a6c7(0x371)](_0x487e40['RevisionService'])),_0x159bc0(0x8,_0x411d72[_0xd4a6c7(0x371)](_0x5631c1)),_0x159bc0(0x9,_0x411d72[_0xd4a6c7(0x3cd)]),_0x159bc0(0xa,_0x411d72[_0xd4a6c7(0x130)]),_0x159bc0(0xb,_0x33b7bc[_0xd4a6c7(0x105)]),_0x159bc0(0xc,_0x411d72[_0xd4a6c7(0x328)]),_0x159bc0(0xd,_0x411d72['Optional'](_0x4339b3))],_0x59c9b4[_0xd4a6c7(0x374)]);var _0x3fb001=Object['defineProperty'],_0x4c89ce=Object[_0xd4a6c7(0x47a)],_0x1c55dc=(_0x3ae541,_0x5d3931,_0x25fd57,_0x1fcaa1)=>{const _0x3cb82e=_0xd4a6c7;for(var _0x3ff39e=_0x1fcaa1>0x1?void 0x0:_0x1fcaa1?_0x4c89ce(_0x5d3931,_0x25fd57):_0x5d3931,_0x2c62ad=_0x3ae541[_0x3cb82e(0x26b)]-0x1,_0x19d487;_0x2c62ad>=0x0;_0x2c62ad--)(_0x19d487=_0x3ae541[_0x2c62ad])&&(_0x3ff39e=(_0x1fcaa1?_0x19d487(_0x5d3931,_0x25fd57,_0x3ff39e):_0x19d487(_0x3ff39e))||_0x3ff39e);return _0x1fcaa1&&_0x3ff39e&&_0x3fb001(_0x5d3931,_0x25fd57,_0x3ff39e),_0x3ff39e;},_0x84b498=(_0x3f1438,_0x5eede)=>(_0x35a97a,_0x434ce4)=>_0x5eede(_0x35a97a,_0x434ce4,_0x3f1438);_0x59c9b4[_0xd4a6c7(0x463)]=class extends _0x411d72[_0xd4a6c7(0xbd)]{constructor(_0x494a2b,_0x2b0df4,_0x37ec3d){const _0x573f80=_0xd4a6c7;super(),_0x3fe385(this,_0x573f80(0x475),new Map()),_0x3fe385(this,_0x573f80(0x478),new _0x3c9c2d['Subject']()),(this[_0x573f80(0x264)]=_0x494a2b,this[_0x573f80(0x270)]=_0x2b0df4,this[_0x573f80(0xe0)]=_0x37ec3d,this[_0x573f80(0x406)]());}[_0xd4a6c7(0x31d)](){const _0x2c8ec8=_0xd4a6c7;super[_0x2c8ec8(0x31d)](),this[_0x2c8ec8(0x475)][_0x2c8ec8(0x335)](_0x409207=>_0x409207[_0x2c8ec8(0x31d)]()),this[_0x2c8ec8(0x475)][_0x2c8ec8(0xc2)]();}['getCollabEntity'](_0x556ea6){const _0x1838cd=_0xd4a6c7;var _0x150a3a;return(_0x150a3a=this[_0x1838cd(0x475)][_0x1838cd(0x1c9)](_0x556ea6))!=null?_0x150a3a:null;}[_0xd4a6c7(0x1fa)](_0x42955b){const _0x420bdc=_0xd4a6c7,_0x539844=this[_0x420bdc(0x47d)](_0x42955b);return _0x539844?_0x3c9c2d['of'](_0x539844):this['_entityInit$']['pipe'](_0x14effa[_0x420bdc(0x44b)](_0x5982af=>_0x5982af['unitID']===_0x42955b));}[_0xd4a6c7(0x406)](){const _0x35bf87=_0xd4a6c7;this[_0x35bf87(0xe0)][_0x35bf87(0x1de)](_0x411d72[_0x35bf87(0x33b)][_0x35bf87(0x1ed)])[_0x35bf87(0x3dd)](_0x3c9c2d[_0x35bf87(0x383)](this[_0x35bf87(0x33f)]),_0x14effa[_0x35bf87(0x269)](0x10))['subscribe'](async _0x156267=>{const _0x55ac1d=_0x35bf87,_0x5b11be=_0x156267[_0x55ac1d(0x3c9)](),_0x4021ee=await this[_0x55ac1d(0x209)](_0x5b11be,_0x420e44['UNIVER_SHEET']);this['_entities']['set'](_0x5b11be,_0x4021ee);}),this[_0x35bf87(0xe0)]['getTypeOfUnitAdded$'](_0x411d72[_0x35bf87(0x33b)][_0x35bf87(0x435)])[_0x35bf87(0x3dd)](_0x3c9c2d['takeUntil'](this[_0x35bf87(0x33f)]),_0x14effa['delay'](0x10))[_0x35bf87(0x3dd)](_0x14effa['filter'](_0x3b0744=>!_0x3b0744[_0x35bf87(0x3c9)]()[_0x35bf87(0x3da)]('__')))['subscribe'](async _0x13cc13=>{const _0x310762=_0x35bf87,_0x5971d3=_0x13cc13[_0x310762(0x3c9)](),_0xb53a0a=await this[_0x310762(0x209)](_0x5971d3,_0x420e44[_0x310762(0x435)]);this[_0x310762(0x475)][_0x310762(0x36e)](_0x5971d3,_0xb53a0a);}),_0x3c9c2d[_0x35bf87(0x411)](this[_0x35bf87(0xe0)][_0x35bf87(0x3bd)](_0x411d72[_0x35bf87(0x33b)]['UNIVER_SHEET']),this['_univerInstanceService'][_0x35bf87(0x3bd)](_0x411d72[_0x35bf87(0x33b)]['UNIVER_DOC']))[_0x35bf87(0x3dd)](_0x3c9c2d[_0x35bf87(0x383)](this['dispose$']))['subscribe'](_0x488186=>{const _0x59b98c=_0x35bf87,_0x33c948=_0x488186[_0x59b98c(0x3c9)](),_0x3db869=this[_0x59b98c(0x475)][_0x59b98c(0x1c9)](_0x33c948);_0x3db869&&(_0x3db869['dispose'](),this[_0x59b98c(0x475)][_0x59b98c(0xea)](_0x33c948));});}async[_0xd4a6c7(0x209)](_0x4fbafb,_0x450332){const _0x5b96d4=_0xd4a6c7,_0x273cd4=await this[_0x5b96d4(0x270)][_0x5b96d4(0x2da)](_0x4fbafb),_0x4f0d53=this['_injector']['createInstance'](this[_0x5b96d4(0x55a)](_0x450332),_0x4fbafb,_0x450332,_0x273cd4);return await _0x4f0d53[_0x5b96d4(0x3ed)](),this[_0x5b96d4(0x478)]['next'](_0x4f0d53),_0x4f0d53;}[_0xd4a6c7(0x55a)](_0xc0262b){const _0x34cebf=_0xd4a6c7;switch(_0xc0262b){case _0x420e44['UNIVER_DOC']:return _0x59c9b4[_0x34cebf(0x41a)];case _0x420e44['UNIVER_SHEET']:return _0x59c9b4[_0x34cebf(0x374)];default:throw new Error(_0x34cebf(0x497)+_0xc0262b);}}},_0x59c9b4['CollaborationController']=_0x1c55dc([_0x84b498(0x0,_0x411d72['Inject'](_0x411d72[_0xd4a6c7(0x3e2)])),_0x84b498(0x1,_0x411d72[_0xd4a6c7(0x371)](_0x59c9b4[_0xd4a6c7(0x37f)])),_0x84b498(0x2,_0x411d72[_0xd4a6c7(0x498)])],_0x59c9b4[_0xd4a6c7(0x463)]);const _0x8f12c4=['purple300',_0xd4a6c7(0x1b1),_0xd4a6c7(0x437),'red300',_0xd4a6c7(0xf7),_0xd4a6c7(0x1a2)];class _0x439da9 extends _0x411d72[_0xd4a6c7(0x28f)]{constructor(){const _0x230b4f=_0xd4a6c7;super(...arguments),_0x3fe385(this,_0x230b4f(0x3f9),new Map()),_0x3fe385(this,_0x230b4f(0x4a9),0x0);}[_0xd4a6c7(0x18b)](_0x1075a4){const _0x5b8280=_0xd4a6c7;if(this['_assignedColors'][_0x5b8280(0x303)](_0x1075a4))return this[_0x5b8280(0x3f9)]['get'](_0x1075a4);const _0x3ea360=_0x8f12c4[this[_0x5b8280(0x4a9)]];return this[_0x5b8280(0x4a9)]=(this[_0x5b8280(0x4a9)]+0x1)%_0x8f12c4[_0x5b8280(0x26b)],this[_0x5b8280(0x3f9)][_0x5b8280(0x36e)](_0x1075a4,_0x3ea360),_0x3ea360;}}var _0x11d627=Object[_0xd4a6c7(0x1a4)],_0x328a29=Object['getOwnPropertyDescriptor'],_0xe4e32a=(_0x1dac00,_0x277eb1,_0x17916c,_0x25b8b7)=>{const _0x2d9432=_0xd4a6c7;for(var _0xa43afd=_0x25b8b7>0x1?void 0x0:_0x25b8b7?_0x328a29(_0x277eb1,_0x17916c):_0x277eb1,_0x419d28=_0x1dac00[_0x2d9432(0x26b)]-0x1,_0x4cf508;_0x419d28>=0x0;_0x419d28--)(_0x4cf508=_0x1dac00[_0x419d28])&&(_0xa43afd=(_0x25b8b7?_0x4cf508(_0x277eb1,_0x17916c,_0xa43afd):_0x4cf508(_0xa43afd))||_0xa43afd);return _0x25b8b7&&_0xa43afd&&_0x11d627(_0x277eb1,_0x17916c,_0xa43afd),_0xa43afd;},_0x370091=(_0x31bf40,_0x3065a9)=>(_0x3cba5a,_0x9518b0)=>_0x3065a9(_0x3cba5a,_0x9518b0,_0x31bf40);const _0x4475aa=0x12c,_0x2518f9=0x64;let _0x4114ec=class extends _0x411d72[_0xd4a6c7(0xbd)]{constructor(_0x52c24c,_0x432404,_0x1e5b96,_0x34cd9c,_0x5de5a2,_0x415be5,_0x292d90,_0x1e59d8,_0x5c6823){const _0x4f16ee=_0xd4a6c7;super(),_0x3fe385(this,_0x4f16ee(0x99),!0x1),_0x3fe385(this,_0x4f16ee(0x406),!0x1),_0x3fe385(this,_0x4f16ee(0x26d),new _0x3c9c2d[(_0x4f16ee(0x194))](new Map())),_0x3fe385(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_0x3fe385(this,'_roomMembers$',new _0x3c9c2d[(_0x4f16ee(0x194))]([])),_0x3fe385(this,_0x4f16ee(0x506),this['_roomMembers$'][_0x4f16ee(0x3dd)](_0x3c9c2d[_0x4f16ee(0x4f8)](_0x4475aa))),_0x3fe385(this,_0x4f16ee(0x17b),_0x411d72[_0x4f16ee(0x242)](_0x36f74d=>{const _0xa5824=_0x4f16ee,_0x53f6d3={'eventID':_0x487e40[_0xa5824(0x1df)][_0xa5824(0xdb)],'data':{'unitID':this['unitID'],'memberID':this[_0xa5824(0x30f)]['getMemberID'](),'selection':_0x2b2a1b(_0x36f74d)}};this[_0xa5824(0x30f)][_0xa5824(0xb1)](_0x53f6d3,this[_0xa5824(0x224)]);},_0x2518f9)),(this[_0x4f16ee(0x224)]=_0x52c24c,this[_0x4f16ee(0x30f)]=_0x432404,this[_0x4f16ee(0x264)]=_0x1e5b96,this['_colorAssignService']=_0x34cd9c,this[_0x4f16ee(0xc8)]=_0x5de5a2,this[_0x4f16ee(0xa7)]=_0x415be5,this[_0x4f16ee(0x4bf)]=_0x292d90,this[_0x4f16ee(0xe0)]=_0x1e59d8,this[_0x4f16ee(0x38f)]=_0x5c6823);}get[_0xd4a6c7(0x53d)](){const _0x1cf811=_0xd4a6c7;return this[_0x1cf811(0x26d)][_0x1cf811(0x418)]();}get[_0xd4a6c7(0x479)](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0x12b225=_0xd4a6c7;super[_0x12b225(0x31d)](),this[_0x12b225(0x26d)]['next'](new Map()),this[_0x12b225(0x26d)]['complete'](),this['_roomMembers$']['next']([]),this[_0x12b225(0xbf)]['complete']();}[_0xd4a6c7(0x3ed)](){const _0x30b443=_0xd4a6c7;this[_0x30b443(0x406)]||(this[_0x30b443(0x406)]=!0x0,this[_0x30b443(0x30f)]['sessionStatus$'][_0x30b443(0x3dd)](_0x3c9c2d[_0x30b443(0x383)](this['dispose$']))['subscribe'](_0x136829=>{const _0x5a12a4=_0x30b443;_0x136829===_0x5ca660['ONLINE']?this[_0x5a12a4(0x1e0)]():this['_toggleOffline']();}),this['_session'][_0x30b443(0x50b)]['pipe'](_0x3c9c2d[_0x30b443(0x383)](this[_0x30b443(0x33f)]))['subscribe'](_0xc6f2c4=>{const _0x3c803e=_0x30b443,_0x14f434=_0xc6f2c4[_0x3c803e(0x37c)];_0x14f434===_0x487e40[_0x3c803e(0x1df)][_0x3c803e(0xdb)]&&this[_0x3c803e(0x53f)](_0xc6f2c4),_0x14f434===_0x487e40['CollaborationEvent']['USERS_LEAVE']&&this[_0x3c803e(0x217)](_0xc6f2c4);}),this[_0x30b443(0x20f)](this[_0x30b443(0x38f)][_0x30b443(0x13d)](_0x5b1337=>{const _0x66257f=_0x30b443,_0x4e4135=_0x5b1337[_0x66257f(0xc1)];_0x4e4135!=null&&this[_0x66257f(0x99)]&&_0x5b1337['id']===_0x518364[_0x66257f(0x4e5)]['id']&&_0x4e4135[_0x66257f(0x332)]===this['unitID']&&_0x4e4135['isEditing']===!0x1&&_0x4e4135[_0x66257f(0x421)][_0x66257f(0x26b)]>0x0&&this[_0x66257f(0x17b)](_0x4e4135[_0x66257f(0x421)]);})),this[_0x30b443(0xa7)][_0x30b443(0x41d)][_0x30b443(0x3dd)](_0x3c9c2d['takeUntil'](this[_0x30b443(0x33f)]))[_0x30b443(0x35c)](_0x39b928=>{const _0x5b4e73=_0x30b443;if((_0x39b928==null?void 0x0:_0x39b928['unitID'])!==this['unitID'])return;const _0x5249a3={'eventID':_0x487e40[_0x5b4e73(0x1df)][_0x5b4e73(0xdb)],'data':_0x39b928};this['_onCursorUpdate'](_0x5249a3);}),this['disposeWithMe'](this[_0x30b443(0x38f)][_0x30b443(0x13d)](_0x22658f=>{const _0x390f4a=_0x30b443;if(_0x22658f[_0x390f4a(0xc1)]==null)return;const _0x19e1db=_0x22658f[_0x390f4a(0xc1)];if(_0x22658f['id']!==_0x518364[_0x390f4a(0x429)]['id']||_0x19e1db['unitId']!==this[_0x390f4a(0x224)])return;const _0xffd689={'id':'doc.mutation.rich-text-editing','params':_0x19e1db},_0x3428c9=this[_0x390f4a(0x53d)];for(const [_0x50908c,_0x3b4b85]of _0x3428c9){const _0x142b5d={'id':_0x390f4a(0x55b),'params':{'unitId':this[_0x390f4a(0x224)],'actions':null,'textRanges':_0x3b4b85['ranges']}},_0x2fd49e=this[_0x390f4a(0x4bf)][_0x390f4a(0x1fc)](_0xffd689,_0x142b5d,!0x1);if(_0x487e40['isTransformMutationFailure'](_0x2fd49e))throw _0x2fd49e[_0x390f4a(0x311)];_0x3428c9[_0x390f4a(0x36e)](_0x50908c,{..._0x3b4b85,'ranges':_0x2fd49e['m2Prime'][_0x390f4a(0xc1)][_0x390f4a(0x2d9)]});}queueMicrotask(()=>{const _0x5e969c=_0x390f4a;this[_0x5e969c(0x26d)]['next'](_0x3428c9);});})));}[_0xd4a6c7(0x53f)](_0x165b6a){const _0x401a25=_0xd4a6c7;var _0x2015dc,_0x3914bd;const {memberID:_0x4570d2,selection:_0x315ced}=_0x165b6a[_0x401a25(0x3b0)],_0x450eba=_0x461ebf(_0x315ced),_0x17b7c2=(_0x3914bd=(_0x2015dc=this[_0x401a25(0xc8)][_0x401a25(0x419)](this[_0x401a25(0x224)],_0x4570d2))==null?void 0x0:_0x2015dc['name'])!=null?_0x3914bd:_0x401a25(0x480),_0x3e12c5={'color':this[_0x401a25(0x4ce)][_0x401a25(0x18b)](_0x4570d2),'name':_0x17b7c2,'ranges':_0x450eba},_0x2627e5=this[_0x401a25(0x53d)];_0x2627e5[_0x401a25(0x36e)](_0x4570d2,_0x3e12c5),this[_0x401a25(0x26d)][_0x401a25(0x32f)](_0x2627e5);}['_onCursorDelete'](_0x5af98a){const _0x3a6d49=_0xd4a6c7,{memberID:_0x1e580f}=_0x5af98a[_0x3a6d49(0x3b0)],_0x5f4f44=this[_0x3a6d49(0x53d)];_0x5f4f44[_0x3a6d49(0xea)](_0x1e580f),this[_0x3a6d49(0x26d)][_0x3a6d49(0x32f)](_0x5f4f44);}[_0xd4a6c7(0x1e0)](){const _0x36fe60=_0xd4a6c7;var _0xbc45b6;if(this[_0x36fe60(0x99)]=!0x0,((_0xbc45b6=this[_0x36fe60(0xe0)]['getFocusedUnit']())==null?void 0x0:_0xbc45b6['getUnitId']())!==this[_0x36fe60(0x224)])return;const _0x212760=this[_0x36fe60(0x264)]['get'](_0x518364[_0x36fe60(0x1cb)])['getDocRanges']();Array[_0x36fe60(0x439)](_0x212760)&&_0x212760['length']>0x0&&this[_0x36fe60(0x17b)](_0x212760);}[_0xd4a6c7(0x9e)](){const _0x434bfd=_0xd4a6c7;this[_0x434bfd(0x99)]=!0x1;}};_0x4114ec=_0xe4e32a([_0x370091(0x2,_0x411d72[_0xd4a6c7(0x371)](_0x411d72[_0xd4a6c7(0x3e2)])),_0x370091(0x3,_0x411d72['Inject'](_0x439da9)),_0x370091(0x4,_0x411d72['Inject'](_0x59c9b4['MemberService'])),_0x370091(0x5,_0x411d72[_0xd4a6c7(0x371)](_0x3ec825)),_0x370091(0x6,_0x487e40['ITransformService']),_0x370091(0x7,_0x411d72[_0xd4a6c7(0x498)]),_0x370091(0x8,_0x411d72[_0xd4a6c7(0x130)])],_0x4114ec);var _0x514773=Object[_0xd4a6c7(0x1a4)],_0x1c8653=Object['getOwnPropertyDescriptor'],_0x59dbf7=(_0x59053b,_0x330416,_0x103934,_0x399d72)=>{for(var _0xd81a67=_0x399d72>0x1?void 0x0:_0x399d72?_0x1c8653(_0x330416,_0x103934):_0x330416,_0x3459fe=_0x59053b['length']-0x1,_0x1cd36c;_0x3459fe>=0x0;_0x3459fe--)(_0x1cd36c=_0x59053b[_0x3459fe])&&(_0xd81a67=(_0x399d72?_0x1cd36c(_0x330416,_0x103934,_0xd81a67):_0x1cd36c(_0xd81a67))||_0xd81a67);return _0x399d72&&_0xd81a67&&_0x514773(_0x330416,_0x103934,_0xd81a67),_0xd81a67;},_0x54dfa7=(_0x1cff72,_0x4e822f)=>(_0xc96cab,_0x124564)=>_0x4e822f(_0xc96cab,_0x124564,_0x1cff72);const _0x290d9c=0x12c,_0x46627f=0x64,_0x2e3bea=()=>{let _0x1a3bfe=[],_0x455149=!0x1;return _0x5c46a5=>{_0x1a3bfe['push'](_0x5c46a5),_0x455149||(_0x455149=!0x0,setTimeout(()=>{const _0x655a6b=_0x5231;_0x1a3bfe[_0x655a6b(0x335)](_0x111b8a=>_0x111b8a()),_0x1a3bfe=[],_0x455149=!0x1;}));};};let _0x3ae901=class extends _0x411d72[_0xd4a6c7(0xbd)]{constructor(_0x4a41a3,_0x2f5d54,_0x3a4b4b,_0x13366d,_0x5994b1,_0x120622,_0x2a59bf,_0x10c743){const _0x33f84d=_0xd4a6c7;super(),_0x3fe385(this,'_online',!0x1),_0x3fe385(this,_0x33f84d(0x406),!0x1),_0x3fe385(this,_0x33f84d(0x26d),new _0x3c9c2d[(_0x33f84d(0x194))](new Map())),_0x3fe385(this,_0x33f84d(0x238),this[_0x33f84d(0x26d)][_0x33f84d(0x546)]()),_0x3fe385(this,'_roomMembers$',new _0x3c9c2d['BehaviorSubject']([])),_0x3fe385(this,_0x33f84d(0x506),this[_0x33f84d(0xbf)][_0x33f84d(0x3dd)](_0x3c9c2d[_0x33f84d(0x4f8)](_0x290d9c))),_0x3fe385(this,_0x33f84d(0x17b),_0x411d72[_0x33f84d(0x242)]((_0x4eb9a3,_0x498a73)=>{const _0xb1d6d=_0x33f84d,_0x2c39b3={'eventID':_0x487e40['CollaborationEvent'][_0xb1d6d(0xdb)],'data':{'unitID':this[_0xb1d6d(0x224)],'memberID':this[_0xb1d6d(0x30f)]['getMemberID'](),'selection':_0xcb5415[_0xb1d6d(0x2c7)](_0x4eb9a3,_0x498a73[_0xb1d6d(0x2df)])}};this['_session'][_0xb1d6d(0xb1)](_0x2c39b3,this[_0xb1d6d(0x224)]);},_0x46627f)),(this[_0x33f84d(0x224)]=_0x4a41a3,this['_session']=_0x2f5d54,this['_injector']=_0x3a4b4b,this['_colorAssignService']=_0x13366d,this[_0x33f84d(0xc8)]=_0x5994b1,this[_0x33f84d(0xe0)]=_0x120622,this[_0x33f84d(0x38f)]=_0x2a59bf,this[_0x33f84d(0x3fb)]=_0x10c743);}get[_0xd4a6c7(0x53d)](){const _0xe27a7a=_0xd4a6c7;return this[_0xe27a7a(0x26d)]['getValue']();}get[_0xd4a6c7(0x479)](){const _0x18f41a=_0xd4a6c7;return this[_0x18f41a(0xbf)][_0x18f41a(0x418)]();}['dispose'](){const _0xe0afe2=_0xd4a6c7;super[_0xe0afe2(0x31d)](),this[_0xe0afe2(0x26d)]['next'](new Map()),this[_0xe0afe2(0x26d)][_0xe0afe2(0x35d)](),this[_0xe0afe2(0xbf)][_0xe0afe2(0x32f)]([]),this['_roomMembers$']['complete']();}[_0xd4a6c7(0x3ed)](){const _0x587e50=_0xd4a6c7;this[_0x587e50(0x406)]||(this[_0x587e50(0x406)]=!0x0,this[_0x587e50(0x30f)]['sessionStatus$'][_0x587e50(0x3dd)](_0x3c9c2d[_0x587e50(0x383)](this[_0x587e50(0x33f)]))[_0x587e50(0x35c)](_0xf6f777=>{const _0x4c30d7=_0x587e50;_0xf6f777===_0x5ca660[_0x4c30d7(0x287)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session'][_0x587e50(0x50b)]['pipe'](_0x3c9c2d['takeUntil'](this['dispose$']))[_0x587e50(0x35c)](_0x59fb8e=>{const _0x24bfa3=_0x587e50,_0x117bbc=_0x59fb8e['eventID'];_0x117bbc===_0x487e40[_0x24bfa3(0x1df)][_0x24bfa3(0xdb)]&&this[_0x24bfa3(0x53f)](_0x59fb8e),_0x117bbc===_0x487e40['CollaborationEvent'][_0x24bfa3(0x487)]&&this['_onCursorDelete'](_0x59fb8e);}),this[_0x587e50(0xa2)](),this[_0x587e50(0x20f)](this[_0x587e50(0x38f)][_0x587e50(0x13d)](_0x5e663e=>{const _0x171777=_0x587e50;if(this['_online']&&_0x5e663e['id']===_0x2e18c9[_0x171777(0x3c6)]['id']&&_0x5e663e[_0x171777(0xc1)]['unitId']===this['unitID']){const _0x5029d6=_0x5e663e[_0x171777(0xc1)];this[_0x171777(0x17b)](_0x5029d6[_0x171777(0x321)],_0x5029d6[_0x171777(0x430)][0x0]);}})));}[_0xd4a6c7(0x53f)](_0x1faa76){const _0xaf14f=_0xd4a6c7;var _0x51f8bb,_0x9cc020;const {memberID:_0x3dc3ab,selection:_0x509c63}=_0x1faa76[_0xaf14f(0x3b0)],{sheetName:_0x52aee8,range:_0x34a223}=_0xcb5415[_0xaf14f(0xcc)](_0x509c63),_0x45c280={'name':(_0x9cc020=(_0x51f8bb=this[_0xaf14f(0xc8)][_0xaf14f(0x419)](this['unitID'],_0x3dc3ab))==null?void 0x0:_0x51f8bb[_0xaf14f(0x524)])!=null?_0x9cc020:'Unknown\x20user','range':this[_0xaf14f(0x52c)](_0x52aee8,_0x34a223),'sheetID':_0x52aee8,'color':this[_0xaf14f(0x4ce)][_0xaf14f(0x18b)](_0x3dc3ab),'selection':_0x509c63},_0x21bf4a=this[_0xaf14f(0x53d)];_0x21bf4a['set'](_0x3dc3ab,_0x45c280),this[_0xaf14f(0x26d)][_0xaf14f(0x32f)](_0x21bf4a);}[_0xd4a6c7(0x217)](_0x5b329b){const _0x2a12e1=_0xd4a6c7,{memberID:_0x40abc9}=_0x5b329b[_0x2a12e1(0x3b0)],_0x1aecdd=this['cursorInfo'];_0x1aecdd[_0x2a12e1(0xea)](_0x40abc9),this[_0x2a12e1(0x26d)][_0x2a12e1(0x32f)](_0x1aecdd);}['_getMergeRange'](_0x2bd625,_0x24af5a){const _0x3cc265=_0xd4a6c7;var _0x56cef2,_0x6da580;const _0x291a20=(_0x6da580=(_0x56cef2=this[_0x3cc265(0xe0)][_0x3cc265(0x32b)](this[_0x3cc265(0x224)]))==null?void 0x0:_0x56cef2[_0x3cc265(0x299)](_0x2bd625))==null?void 0x0:_0x6da580[_0x3cc265(0x119)]();return(_0x291a20==null?void 0x0:_0x291a20[_0x3cc265(0x499)](_0x201c00=>_0x411d72[_0x3cc265(0x1e1)][_0x3cc265(0x4d5)](_0x201c00,_0x24af5a)))||_0x24af5a;}[_0xd4a6c7(0xa2)](){const _0x59ba1b=_0xd4a6c7,_0x307682=new _0x411d72[(_0x59ba1b(0x10e))](),_0x1c641b=_0x2e3bea(),_0x35c4d2=()=>{const _0x376234=_0x59ba1b;_0x307682[_0x376234(0x31d)]();const _0x3933b2=(_0x36f7f5,_0x5aaf5e,_0x4f48d0,_0x5afbec)=>{const _0x309aa3=_0x376234;let _0x3d2863=[];switch(_0x36f7f5['id']){case _0x2e18c9[_0x309aa3(0x298)][_0x309aa3(0xf1)]:{_0x3d2863=_0x2e18c9[_0x309aa3(0x44e)](_0x36f7f5,_0x5afbec);break;}case _0x2e18c9['EffectRefRangId'][_0x309aa3(0x4b6)]:{_0x3d2863=_0x2e18c9['handleDeleteRangeMoveUp'](_0x36f7f5,_0x5afbec);break;}case _0x2e18c9[_0x309aa3(0x298)]['InsertColCommandId']:{_0x3d2863=_0x2e18c9['handleInsertCol'](_0x36f7f5,_0x5afbec);break;}case _0x2e18c9['EffectRefRangId'][_0x309aa3(0x2b5)]:{_0x3d2863=_0x2e18c9[_0x309aa3(0x267)](_0x36f7f5,_0x5afbec);break;}case _0x2e18c9[_0x309aa3(0x298)]['InsertRangeMoveRightCommandId']:{_0x3d2863=_0x2e18c9[_0x309aa3(0x4b8)](_0x36f7f5,_0x5afbec);break;}case _0x2e18c9[_0x309aa3(0x298)][_0x309aa3(0x3f5)]:{_0x3d2863=_0x2e18c9[_0x309aa3(0x2bb)](_0x36f7f5,_0x5afbec);break;}case _0x2e18c9['EffectRefRangId'][_0x309aa3(0x286)]:{_0x3d2863=_0x2e18c9['handleMoveRange'](_0x36f7f5,_0x5afbec);break;}case _0x2e18c9[_0x309aa3(0x298)][_0x309aa3(0x530)]:{_0x3d2863=_0x2e18c9[_0x309aa3(0x34e)](_0x36f7f5,_0x5afbec);break;}case _0x2e18c9['EffectRefRangId'][_0x309aa3(0x12c)]:{_0x3d2863=_0x2e18c9['handleIRemoveRow'](_0x36f7f5,_0x5afbec);break;}}const _0x4a62d6=_0x2e18c9[_0x309aa3(0x369)](_0x3d2863,_0x5afbec),_0x5b6ec6=this[_0x309aa3(0x53d)]['get'](_0x5aaf5e);if(_0x5b6ec6&&_0x4a62d6){const _0x124775={..._0x5b6ec6,'range':_0x4a62d6};this[_0x309aa3(0x53d)][_0x309aa3(0x36e)](_0x5aaf5e,_0x124775),_0x1c641b(()=>{const _0x8bb969=_0x309aa3,_0x1a27ec=this[_0x8bb969(0x3fb)]['registerRefRange'](_0x4a62d6,_0x2da652=>(_0x1a27ec['dispose'](),_0x3933b2(_0x2da652,_0x5aaf5e,_0x4f48d0,_0x4a62d6)));_0x307682[_0x8bb969(0x1ab)](_0x1a27ec);});}return{'redos':[],'undos':[]};};this[_0x376234(0x53d)][_0x376234(0x335)]((_0x5c32fb,_0x1f02ea)=>{const _0x1f846e=_0x376234,{range:_0x575d91,sheetID:_0x5ce812}=_0x5c32fb,_0x1466c8=this['_refRangeService'][_0x1f846e(0x515)](_0x575d91,_0x5df22b=>(_0x1466c8[_0x1f846e(0x31d)](),_0x3933b2(_0x5df22b,_0x1f02ea,_0x5ce812,_0x575d91)));_0x307682[_0x1f846e(0x1ab)](_0x1466c8);});};this[_0x59ba1b(0x20f)](_0x411d72[_0x59ba1b(0x167)](this[_0x59ba1b(0x26d)][_0x59ba1b(0x35c)](()=>{_0x35c4d2();})));}[_0xd4a6c7(0x1e0)](){const _0x1a2b95=_0xd4a6c7;var _0x4bc37f,_0x160d70;if(this[_0x1a2b95(0x99)]=!0x0,((_0x4bc37f=this['_univerInstanceService'][_0x1a2b95(0x3a8)]())==null?void 0x0:_0x4bc37f[_0x1a2b95(0x3c9)]())!==this[_0x1a2b95(0x224)])return;const _0xccfdd9=(_0x160d70=this[_0x1a2b95(0x264)][_0x1a2b95(0x1c9)](_0x2e18c9[_0x1a2b95(0x4fe)])[_0x1a2b95(0x4f3)]())==null?void 0x0:_0x160d70[0x0],_0x362067=this[_0x1a2b95(0xe0)][_0x1a2b95(0x2a6)](_0x411d72[_0x1a2b95(0x33b)][_0x1a2b95(0x1ed)])[_0x1a2b95(0x349)]();_0xccfdd9&&_0x362067&&this[_0x1a2b95(0x17b)](_0x362067[_0x1a2b95(0xe3)](),_0xccfdd9);}['_toggleOffline'](){const _0x760cf=_0xd4a6c7;this[_0x760cf(0x99)]=!0x1;}};_0x3ae901=_0x59dbf7([_0x54dfa7(0x2,_0x411d72[_0xd4a6c7(0x371)](_0x411d72['Injector'])),_0x54dfa7(0x3,_0x411d72['Inject'](_0x439da9)),_0x54dfa7(0x4,_0x411d72[_0xd4a6c7(0x371)](_0x59c9b4[_0xd4a6c7(0x12d)])),_0x54dfa7(0x5,_0x411d72['IUniverInstanceService']),_0x54dfa7(0x6,_0x411d72['ICommandService']),_0x54dfa7(0x7,_0x411d72[_0xd4a6c7(0x371)](_0x2e18c9['RefRangeService']))],_0x3ae901);var _0x457257=Object[_0xd4a6c7(0x1a4)],_0x39c8ae=Object[_0xd4a6c7(0x47a)],_0x51e51a=(_0x2bb7cc,_0x2d81b6,_0x2ce3f0,_0x3ef26f)=>{const _0x32f432=_0xd4a6c7;for(var _0x1f36b5=_0x3ef26f>0x1?void 0x0:_0x3ef26f?_0x39c8ae(_0x2d81b6,_0x2ce3f0):_0x2d81b6,_0x5f0559=_0x2bb7cc[_0x32f432(0x26b)]-0x1,_0x593838;_0x5f0559>=0x0;_0x5f0559--)(_0x593838=_0x2bb7cc[_0x5f0559])&&(_0x1f36b5=(_0x3ef26f?_0x593838(_0x2d81b6,_0x2ce3f0,_0x1f36b5):_0x593838(_0x1f36b5))||_0x1f36b5);return _0x3ef26f&&_0x1f36b5&&_0x457257(_0x2d81b6,_0x2ce3f0,_0x1f36b5),_0x1f36b5;},_0x3c19c6=(_0x433f76,_0x268999)=>(_0x512731,_0x460e13)=>_0x268999(_0x512731,_0x460e13,_0x433f76);let _0x5543c0=class extends _0x411d72[_0xd4a6c7(0xbd)]{constructor(_0x2599a6,_0x51a112,_0x57d27f){const _0x21b2bd=_0xd4a6c7;super(),_0x3fe385(this,_0x21b2bd(0x475),new Map()),_0x3fe385(this,_0x21b2bd(0x478),new _0x3c9c2d['Subject']()),(this[_0x21b2bd(0xe0)]=_0x2599a6,this['_injector']=_0x51a112,this[_0x21b2bd(0x270)]=_0x57d27f,this[_0x21b2bd(0x406)]());}['dispose'](){const _0x364312=_0xd4a6c7;super[_0x364312(0x31d)](),this[_0x364312(0x478)][_0x364312(0x35d)](),this[_0x364312(0x475)][_0x364312(0x335)](_0x52f632=>_0x52f632['dispose']());}[_0xd4a6c7(0x370)](_0x457afe){const _0x223801=_0xd4a6c7;return this[_0x223801(0x475)][_0x223801(0x303)](_0x457afe)?this[_0x223801(0x475)]['get'](_0x457afe)['cursorInfo$']:this[_0x223801(0x478)][_0x223801(0x3dd)](_0x3c9c2d[_0x223801(0x44b)](_0x591be5=>_0x591be5[_0x223801(0x224)]===_0x457afe),_0x3c9c2d[_0x223801(0x338)](_0x3099fd=>_0x3099fd['cursorInfo$']));}[_0xd4a6c7(0x406)](){const _0x3d73e4=_0xd4a6c7;this[_0x3d73e4(0xe0)][_0x3d73e4(0x1de)](_0x411d72[_0x3d73e4(0x33b)]['UNIVER_SHEET'])[_0x3d73e4(0x3dd)](_0x3c9c2d['takeUntil'](this['dispose$']))[_0x3d73e4(0x35c)](async _0x587dd3=>{const _0x4fda8e=_0x3d73e4,_0x22f871=_0x587dd3[_0x4fda8e(0x3c9)](),_0x271b7b=await this['_startSheetCollabCursor'](_0x22f871);this[_0x4fda8e(0x478)]['next'](_0x271b7b),this[_0x4fda8e(0x475)][_0x4fda8e(0x36e)](_0x22f871,_0x271b7b);}),this[_0x3d73e4(0xe0)][_0x3d73e4(0x1de)](_0x411d72[_0x3d73e4(0x33b)][_0x3d73e4(0x435)])[_0x3d73e4(0x3dd)](_0x3c9c2d['takeUntil'](this[_0x3d73e4(0x33f)]))['pipe'](_0x3c9c2d[_0x3d73e4(0x44b)](_0x4948d5=>!_0x4948d5[_0x3d73e4(0x3c9)]()[_0x3d73e4(0x3da)]('__')))[_0x3d73e4(0x35c)](async _0x227c3e=>{const _0x4913d3=_0x3d73e4,_0x52ba42=_0x227c3e['getUnitId'](),_0x2ffa32=await this[_0x4913d3(0xe5)](_0x52ba42);this[_0x4913d3(0x478)][_0x4913d3(0x32f)](_0x2ffa32),this[_0x4913d3(0x475)][_0x4913d3(0x36e)](_0x52ba42,_0x2ffa32);}),_0x3c9c2d[_0x3d73e4(0x411)](this[_0x3d73e4(0xe0)][_0x3d73e4(0x3bd)](_0x411d72[_0x3d73e4(0x33b)][_0x3d73e4(0x435)]),this[_0x3d73e4(0xe0)][_0x3d73e4(0x3bd)](_0x411d72[_0x3d73e4(0x33b)][_0x3d73e4(0x1ed)]))['pipe'](_0x3c9c2d[_0x3d73e4(0x383)](this[_0x3d73e4(0x33f)]))['subscribe'](_0xfbfb79=>{const _0x20f696=_0x3d73e4,_0x50927b=_0xfbfb79[_0x20f696(0x3c9)](),_0x410c35=this['_entities'][_0x20f696(0x1c9)](_0x50927b);_0x410c35&&(_0x410c35['dispose'](),this['_entities'][_0x20f696(0xea)](_0x50927b));});}async[_0xd4a6c7(0x494)](_0x340b99){const _0x364601=_0xd4a6c7,_0x1efa70=await this[_0x364601(0x270)][_0x364601(0x2da)](_0x340b99),_0x391d6f=this['_injector']['createInstance'](_0x3ae901,_0x340b99,_0x1efa70);return _0x391d6f['init'](),_0x391d6f;}async[_0xd4a6c7(0xe5)](_0x20bb33){const _0x5006d4=_0xd4a6c7,_0x480eb9=await this[_0x5006d4(0x270)]['requireSession'](_0x20bb33),_0x33399=this[_0x5006d4(0x264)][_0x5006d4(0x449)](_0x4114ec,_0x20bb33,_0x480eb9);return _0x33399[_0x5006d4(0x3ed)](),_0x33399;}};_0x5543c0=_0x51e51a([_0x3c19c6(0x0,_0x411d72[_0xd4a6c7(0x498)]),_0x3c19c6(0x1,_0x411d72['Inject'](_0x411d72[_0xd4a6c7(0x3e2)])),_0x3c19c6(0x2,_0x411d72[_0xd4a6c7(0x371)](_0x59c9b4['CollaborationSessionService']))],_0x5543c0);const _0x369f1b=0x14,_0x46f1e2=0xc8,_0x3c4022=0x4,_0x26d2da=0x5;function _0x150a7f(_0x3f7338,_0x5b3ee1){const _0xf50655=_0xd4a6c7;let {radius:_0x31eddf,width:_0x5528d2,height:_0x146e51}=_0x5b3ee1;_0x31eddf=_0x31eddf!=null?_0x31eddf:0x0,_0x5528d2=_0x5528d2!=null?_0x5528d2:0x1e,_0x146e51=_0x146e51!=null?_0x146e51:0x1e;let _0xf8fcaa=0x0,_0x141d82=0x0,_0x29cf47=0x0;_0xf8fcaa=_0x141d82=_0x29cf47=Math['min'](_0x31eddf,_0x5528d2/0x2,_0x146e51/0x2),_0x3f7338[_0xf50655(0x25b)](),_0x3f7338[_0xf50655(0xce)](_0xf8fcaa,0x0),_0x3f7338[_0xf50655(0x3e3)](_0x5528d2-_0x141d82,0x0),_0x3f7338[_0xf50655(0x520)](_0x5528d2-_0x141d82,_0x141d82,_0x141d82,Math['PI']*0x3/0x2,0x0,!0x1),_0x3f7338[_0xf50655(0x3e3)](_0x5528d2,_0x146e51-_0x29cf47),_0x3f7338[_0xf50655(0x520)](_0x5528d2-_0x29cf47,_0x146e51-_0x29cf47,_0x29cf47,0x0,Math['PI']/0x2,!0x1),_0x3f7338[_0xf50655(0x3e3)](0x0,_0x146e51),_0x3f7338['lineTo'](0x0,_0xf8fcaa),_0x3f7338[_0xf50655(0x520)](_0xf8fcaa,_0xf8fcaa,_0xf8fcaa,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3f7338['closePath'](),_0x5b3ee1['fill']&&(_0x3f7338[_0xf50655(0x461)](),_0x3f7338[_0xf50655(0x28a)]=_0x5b3ee1[_0xf50655(0x19d)],_0x5b3ee1['fillRule']===_0xf50655(0x352)?_0x3f7338[_0xf50655(0x19d)]('evenodd'):_0x3f7338[_0xf50655(0x19d)](),_0x3f7338[_0xf50655(0x3ee)]());}class _0x2ca76b extends _0x46ea61['Shape']{constructor(_0x1dffa1,_0x1bff28){const _0x41fa76=_0xd4a6c7;super(_0x1dffa1,_0x1bff28),_0x3fe385(this,_0x41fa76(0xed)),_0x3fe385(this,_0x41fa76(0x339)),(this[_0x41fa76(0xed)]=_0x1bff28==null?void 0x0:_0x1bff28[_0x41fa76(0xed)],this[_0x41fa76(0x339)]=_0x1bff28==null?void 0x0:_0x1bff28[_0x41fa76(0x339)]);}static['drawWith'](_0x37521d,_0x189f0a){const _0x199212=_0xd4a6c7,{text:_0x727bbf,color:_0x264a8b}=_0x189f0a;_0x37521d['save'](),_0x37521d[_0x199212(0x27b)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x129413=_0x37521d[_0x199212(0x405)](_0x727bbf)['width'],_0xe8364f=Math[_0x199212(0x477)](_0x129413+0x2*_0x3c4022,_0x46f1e2);_0x150a7f(_0x37521d,{'height':_0x369f1b,'radius':0x4,'width':_0xe8364f,'fill':_0x264a8b,'evented':!0x1}),_0x37521d[_0x199212(0x28a)]=_0x199212(0x554);const _0x2a99d5=_0x3c4022,_0x1a473a=_0x369f1b-_0x26d2da,_0x590cc2=_0x46f1e2-0x2*_0x3c4022;if(_0x129413>_0x590cc2){let _0x3ba275='',_0x1bf758=0x0;for(const _0x4fed70 of _0x727bbf){const _0x456e55=_0x37521d[_0x199212(0x405)](_0x4fed70)['width'];if(_0x1bf758+_0x456e55<=_0x590cc2-_0x37521d[_0x199212(0x405)](_0x199212(0x2f1))[_0x199212(0xd4)])_0x3ba275+=_0x4fed70,_0x1bf758+=_0x456e55;else{_0x3ba275+=_0x199212(0x2f1);break;}}_0x37521d[_0x199212(0x49e)](_0x3ba275,_0x2a99d5,_0x1a473a);}else _0x37521d[_0x199212(0x49e)](_0x727bbf,_0x2a99d5,_0x1a473a);_0x37521d[_0x199212(0x3ee)]();}[_0xd4a6c7(0xd0)](_0x51ea7b){const _0x5205b1=_0xd4a6c7;_0x2ca76b[_0x5205b1(0x489)](_0x51ea7b,this);}}const _0x4a47af=_0xd4a6c7(0x31c),_0x20fab2=_0xd4a6c7(0x4ca),_0x1d0598='collab-rect-range-',_0x151281=0x6,_0x542235=1.5,_0xe39f71=0x4,_0x3baf4c=1.5,_0x3d641d=_0xd4a6c7(0x1b2);class _0x55161e{constructor(_0x361bc0,_0x2d0b16,_0xa8c8c2,_0x4ab087){const _0x293140=_0xd4a6c7;_0x3fe385(this,'_shapes',[]),_0x3fe385(this,_0x293140(0x1d5),null),_0x3fe385(this,'_textBubble',null),_0x3fe385(this,_0x293140(0x543),null),_0x3fe385(this,_0x293140(0x553),null),_0x3fe385(this,'_eventUnsubscribe',null),(this['_cursor']=_0x361bc0,this[_0x293140(0x341)]=_0x2d0b16,this[_0x293140(0x322)]=_0xa8c8c2,this[_0x293140(0x2e2)]=_0x4ab087,this[_0x293140(0x3eb)]());}set[_0xd4a6c7(0x2f5)](_0x1f038c){const _0x21379d=_0xd4a6c7;_0x1f038c?(this[_0x21379d(0x543)]&&this[_0x21379d(0x543)][_0x21379d(0x3ca)](),this[_0x21379d(0x432)]&&this[_0x21379d(0x432)][_0x21379d(0x2f4)]()):(this[_0x21379d(0x543)]&&this[_0x21379d(0x543)][_0x21379d(0x2f4)](),this[_0x21379d(0x432)]&&this['_textBubble']['hide']());}[_0xd4a6c7(0x31d)](){const _0x5357d0=_0xd4a6c7;for(const _0x241f60 of this['_shapes'])_0x241f60[_0x5357d0(0x31d)]();this[_0x5357d0(0x432)]&&this['_textBubble'][_0x5357d0(0x31d)](),this[_0x5357d0(0x543)]&&this[_0x5357d0(0x543)]['dispose'](),this[_0x5357d0(0x1d5)]&&this['_anchor'][_0x5357d0(0x31d)](),this[_0x5357d0(0xdc)]&&this['_eventUnsubscribe']();}[_0xd4a6c7(0x3eb)](){const _0x366019=_0xd4a6c7;var _0x20a938;const {_docSkeleton:_0x22c5a6,_document:_0x41f41f}=this,{color:_0xce2738,name:_0x15068c,ranges:_0x4cd006}=this[_0x366019(0x3fa)],_0x130732=_0x41f41f['getOffsetConfig'](),{docsLeft:_0x250780,docsTop:_0x2a17f3}=_0x130732,_0x231193=new _0x24f328[(_0x366019(0x4cf))](_0x130732,_0x22c5a6);for(const {startOffset:_0xd169e3,endOffset:_0x27bd39,rangeType:_0x5ca5c4,segmentId:_0x277ce3,segmentPage:_0xc7848c,collapsed:_0x3785ca,isActive:_0x24da27}of _0x4cd006){const _0xa83749=_0x22c5a6[_0x366019(0x198)](_0xd169e3,!0x0,_0x277ce3,_0xc7848c);let _0x364b0e=_0x22c5a6[_0x366019(0x198)](_0x27bd39,!0x0,_0x277ce3,_0xc7848c);if(_0x364b0e==null&&(_0x364b0e=_0x22c5a6[_0x366019(0x198)](_0x27bd39-0x1,!0x1,_0x277ce3,_0xc7848c)),_0x24da27){const {contentBoxPointGroup:_0x43c119}=_0x231193[_0x366019(0x563)](_0x364b0e,_0x364b0e);if(_0x43c119[_0x366019(0x26b)]===0x0)continue;this['_drawAnchor'](_0xce2738,_0x43c119,_0x250780,_0x2a17f3,_0x15068c),this[_0x366019(0xdc)]=this[_0x366019(0x474)]();}if(!_0x3785ca&&_0xa83749&&_0x364b0e){if(_0x5ca5c4===_0x411d72[_0x366019(0xaa)][_0x366019(0x197)]){const _0x1ce065=new _0x24f328[(_0x366019(0x42e))](_0x130732,_0x22c5a6),{pointGroup:_0x4d9575}=(_0x20a938=_0x1ce065[_0x366019(0x563)](_0xa83749,_0x364b0e))!=null?_0x20a938:{};if(_0x4d9575==null||_0x4d9575[_0x366019(0x26b)]===0x0)continue;this['_drawRectRange'](_0xce2738,_0x4d9575,_0x250780,_0x2a17f3);}else{const {borderBoxPointGroup:_0x116823}=_0x231193[_0x366019(0x563)](_0xa83749,_0x364b0e);if(_0x116823['length']===0x0)continue;this[_0x366019(0x27c)](_0xce2738,_0x116823,_0x250780,_0x2a17f3);}}}}[_0xd4a6c7(0x324)](_0x5a840e,_0x4266eb,_0x5dd1a7,_0xc93ef4,_0x5c3c94){const _0x3dd042=_0xd4a6c7,_0x22bb0b=this[_0x3dd042(0x3b5)](_0x4266eb),{left:_0x4181bb,top:_0x3e9c4d,height:_0x279299}=_0x22bb0b,_0x4ea542=this[_0x3dd042(0x486)](),_0x486866=_0x3baf4c/_0x4ea542,_0x10d7c1=new _0x46ea61[(_0x3dd042(0x258))](_0x4a47af+_0x411d72[_0x3dd042(0x2a4)]['generateRandomId'](_0x151281),{'left':_0x4181bb+_0x5dd1a7-_0x486866,'top':_0x3e9c4d+_0xc93ef4,'height':_0x279299,'width':_0x542235,'fill':_0x5a840e||_0x46ea61['getColor'](_0x411d72[_0x3dd042(0x11f)]['black'],0x0),'strokeWidth':_0x486866,'stroke':_0x3d641d,'evented':!0x0});this['_anchor']=_0x10d7c1,this[_0x3dd042(0x341)][_0x3dd042(0x34b)](_0x10d7c1,_0x24f328[_0x3dd042(0x320)]);const _0x93d573=new _0x46ea61[(_0x3dd042(0x258))](_0x4a47af+_0x411d72[_0x3dd042(0x2a4)][_0x3dd042(0x136)](_0x151281),{'left':_0x4181bb+_0x5dd1a7-_0x486866,'top':_0x3e9c4d+_0xc93ef4-_0xe39f71/0x2,'height':_0xe39f71,'width':_0xe39f71,'fill':_0x5a840e||_0x46ea61[_0x3dd042(0x12a)](_0x411d72[_0x3dd042(0x11f)][_0x3dd042(0x142)],0x0),'strokeWidth':0x0,'stroke':_0x5a840e||_0x46ea61[_0x3dd042(0x12a)](_0x411d72[_0x3dd042(0x11f)][_0x3dd042(0x142)],0x0),'evented':!0x1});this['_anchorDot']=_0x93d573,this[_0x3dd042(0x341)][_0x3dd042(0x34b)](_0x93d573,_0x24f328[_0x3dd042(0x320)]);const _0x5218cb=new _0x2ca76b(_0x4a47af+_0x411d72[_0x3dd042(0x2a4)][_0x3dd042(0x136)](_0x151281),{'left':_0x4181bb+_0x5dd1a7-_0x486866,'top':_0x3e9c4d+_0xc93ef4-_0x369f1b,'text':_0x5c3c94,'color':_0x5a840e});this[_0x3dd042(0x432)]=_0x5218cb,this[_0x3dd042(0x341)]['addObject'](_0x5218cb,_0x24f328['TEXT_RANGE_LAYER_INDEX']),this[_0x3dd042(0x2f5)]=!0x1;}['_handleHover'](){const _0x44e96b=_0xd4a6c7,_0x1c61d0=this[_0x44e96b(0x1d5)][_0x44e96b(0x12e)]['subscribeEvent'](()=>{const _0x2f5b0b=_0x44e96b;this[_0x2f5b0b(0x2f5)]=!0x0;}),_0x1b413c=this['_anchor'][_0x44e96b(0x35f)][_0x44e96b(0xa9)](()=>{const _0x1a7e75=_0x44e96b;this['_hideTimer']&&clearTimeout(this[_0x1a7e75(0x553)]),this[_0x1a7e75(0x553)]=setTimeout(()=>{const _0x6ea1b2=_0x1a7e75;this[_0x6ea1b2(0x2f5)]=!0x1;},0x7d0);});return()=>{_0x1c61d0['unsubscribe'](),_0x1b413c['unsubscribe']();};}[_0xd4a6c7(0x27c)](_0x167e41,_0x55a5ab,_0x19a1e7,_0x2da4c4){const _0x20e35d=_0xd4a6c7,_0x2c2d19=new _0x411d72[(_0x20e35d(0x35e))](_0x167e41)[_0x20e35d(0x19f)](0.2)['toRgbString'](),_0x551a55=new _0x46ea61[(_0x20e35d(0x424))](_0x20fab2+_0x411d72['Tools'][_0x20e35d(0x136)](_0x151281),{'pointsGroup':_0x55a5ab,'fill':_0x2c2d19||_0x46ea61[_0x20e35d(0x12a)](_0x411d72[_0x20e35d(0x11f)][_0x20e35d(0x142)],0.2),'left':_0x19a1e7,'top':_0x2da4c4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x20e35d(0x48a)]['push'](_0x551a55),this[_0x20e35d(0x341)][_0x20e35d(0x34b)](_0x551a55,_0x24f328[_0x20e35d(0x320)]);}[_0xd4a6c7(0x4dd)](_0x487a68,_0x10625c,_0x467bde,_0x2ae494){const _0x48b6f1=_0xd4a6c7,_0x5be617=new _0x411d72[(_0x48b6f1(0x35e))](_0x487a68)['setAlpha'](0.2)[_0x48b6f1(0x17c)](),_0x5a4bd2=new _0x46ea61['RegularPolygon'](_0x1d0598+_0x411d72[_0x48b6f1(0x2a4)][_0x48b6f1(0x136)](_0x151281),{'pointsGroup':_0x10625c,'fill':_0x5be617||_0x46ea61[_0x48b6f1(0x12a)](_0x411d72[_0x48b6f1(0x11f)]['black'],0.2),'left':_0x467bde,'top':_0x2ae494,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x48b6f1(0x48a)][_0x48b6f1(0x2d7)](_0x5a4bd2),this[_0x48b6f1(0x341)]['addObject'](_0x5a4bd2,_0x24f328[_0x48b6f1(0x320)]);}['_getAnchorBounding'](_0x48cdda){const _0x35b610=_0x48cdda[0x0],_0x2102e6=_0x35b610[0x0],_0x12e526=_0x35b610[0x2],{x:_0x1f4cb4,y:_0x1bd486}=_0x2102e6,{x:_0x3252e1,y:_0x3f6902}=_0x12e526;return{'left':_0x1f4cb4,'top':_0x1bd486,'width':_0x3252e1-_0x1f4cb4,'height':_0x3f6902-_0x1bd486};}[_0xd4a6c7(0x486)](){const _0x3c254b=_0xd4a6c7,{scaleX:_0x224eb9,scaleY:_0x224da1}=this[_0x3c254b(0x341)][_0x3c254b(0x4d3)]();return Math[_0x3c254b(0x4cc)](_0x224eb9,_0x224da1);}}var _0x38943f=Object[_0xd4a6c7(0x1a4)],_0x1cef71=Object[_0xd4a6c7(0x47a)],_0x1ca59d=(_0x1b89c4,_0xac601b,_0x2476b8,_0x40aa2a)=>{const _0x18d3b3=_0xd4a6c7;for(var _0x32a4f9=_0x40aa2a>0x1?void 0x0:_0x40aa2a?_0x1cef71(_0xac601b,_0x2476b8):_0xac601b,_0x29832f=_0x1b89c4[_0x18d3b3(0x26b)]-0x1,_0x5bba78;_0x29832f>=0x0;_0x29832f--)(_0x5bba78=_0x1b89c4[_0x29832f])&&(_0x32a4f9=(_0x40aa2a?_0x5bba78(_0xac601b,_0x2476b8,_0x32a4f9):_0x5bba78(_0x32a4f9))||_0x32a4f9);return _0x40aa2a&&_0x32a4f9&&_0x38943f(_0xac601b,_0x2476b8,_0x32a4f9),_0x32a4f9;},_0x413f2a=(_0x2a742d,_0x554d0a)=>(_0x340739,_0x4a823c)=>_0x554d0a(_0x340739,_0x4a823c,_0x2a742d);let _0x8ed735=class extends _0x411d72[_0xd4a6c7(0xbd)]{constructor(_0xff463c,_0x5a8371,_0x114bdf,_0x5619b5,_0x399368){const _0x5d2a93=_0xd4a6c7;super(),_0x3fe385(this,'_cursorShapes',[]),_0x3fe385(this,_0x5d2a93(0x2e7),[]),(this['_context']=_0xff463c,this['_docSkeletonManagerService']=_0x5a8371,this[_0x5d2a93(0x220)]=_0x114bdf,this[_0x5d2a93(0x38f)]=_0x5619b5,this[_0x5d2a93(0x3db)]=_0x399368,this[_0x5d2a93(0x406)]());}['_init'](){const _0x186b6e=_0xd4a6c7,_0x59475c=this[_0x186b6e(0x10c)][_0x186b6e(0x332)],_0x3c1f7b=this[_0x186b6e(0x441)];this['disposeWithMe'](_0x3c9c2d[_0x186b6e(0x445)]([this[_0x186b6e(0x220)][_0x186b6e(0x370)](_0x59475c),this[_0x186b6e(0x3db)][_0x186b6e(0x2f6)]])[_0x186b6e(0x3dd)](_0x14effa['map'](([_0x6e6a09,_0x438a40])=>({'skeleton':_0x3c1f7b[_0x186b6e(0x465)](),'cursors':[..._0x6e6a09['values']()]['flatMap'](_0x33c1cc=>({..._0x33c1cc,'color':_0x438a40[_0x33c1cc[_0x186b6e(0xed)]]}))})))[_0x186b6e(0x35c)](_0x1d503f=>{const _0x19cd54=_0x186b6e;if(this[_0x19cd54(0x529)](),_0x1d503f){const {skeleton:_0x1c3eb9,cursors:_0x4ab755}=_0x1d503f;this['_updateCollabCursors'](_0x1c3eb9,_0x4ab755);}})),this[_0x186b6e(0x1c2)](),this[_0x186b6e(0xf9)]();}[_0xd4a6c7(0x3f8)](_0x4765d5,_0x5b766a){const _0x2dc2f1=_0xd4a6c7,{scene:_0x31c5ac,mainComponent:_0x278312}=this[_0x2dc2f1(0x10c)],_0xbd7711=_0x5b766a[_0x2dc2f1(0x357)](_0x4a5ef9=>new _0x55161e(_0x4a5ef9,_0x31c5ac,_0x4765d5,_0x278312));this[_0x2dc2f1(0x4b0)]=_0xbd7711,this[_0x2dc2f1(0x2e7)]=_0x5b766a;}[_0xd4a6c7(0xca)](){const _0x402704=_0xd4a6c7;this[_0x402704(0x529)]();const {scene:_0x125168,mainComponent:_0x4adbb6}=this[_0x402704(0x10c)],_0x4160e3=this[_0x402704(0x441)][_0x402704(0x465)](),_0xd99985=this['_cursors'][_0x402704(0x357)](_0x1f4d1f=>new _0x55161e(_0x1f4d1f,_0x125168,_0x4160e3,_0x4adbb6));this['_cursorShapes']=_0xd99985;}[_0xd4a6c7(0x529)](){const _0x28e004=_0xd4a6c7;this[_0x28e004(0x4b0)][_0x28e004(0x335)](_0x9dc03f=>_0x9dc03f['dispose']()),this[_0x28e004(0x4b0)]=[];}[_0xd4a6c7(0xf9)](){const _0x19e805=_0xd4a6c7,_0x5e6018=[_0x24f328[_0x19e805(0x28c)]['id']];this['disposeWithMe'](this['_commandService'][_0x19e805(0x13d)](_0x52d99f=>{const _0xe6105c=_0x19e805;_0x5e6018['includes'](_0x52d99f['id'])&&_0x52d99f[_0xe6105c(0xc1)][_0xe6105c(0x332)]===this[_0xe6105c(0x10c)]['unitId']&&this[_0xe6105c(0xca)]();}));}[_0xd4a6c7(0x1c2)](){const _0x4886d9=_0xd4a6c7;this[_0x4886d9(0x20f)](_0x411d72[_0x4886d9(0x318)](this[_0x4886d9(0x10c)][_0x4886d9(0x43c)][_0x4886d9(0x147)])['pipe'](_0x14effa[_0x4886d9(0x44b)](_0x15b68e=>_0x15b68e[_0x4886d9(0x290)]===_0x46ea61[_0x4886d9(0x204)][_0x4886d9(0x15c)]),_0x14effa[_0x4886d9(0x244)](0x10))[_0x4886d9(0x35c)](()=>{const _0x42f10b=_0x4886d9;this[_0x42f10b(0xca)]();}));}};_0x8ed735=_0x1ca59d([_0x413f2a(0x1,_0x411d72[_0xd4a6c7(0x371)](_0x518364[_0xd4a6c7(0x20c)])),_0x413f2a(0x2,_0x411d72['Inject'](_0x5543c0)),_0x413f2a(0x3,_0x411d72[_0xd4a6c7(0x130)]),_0x413f2a(0x4,_0x411d72[_0xd4a6c7(0x371)](_0x411d72[_0xd4a6c7(0x20e)]))],_0x8ed735);const _0xbae0c=0x1,_0x31fe31=1.5;class _0x29c82f extends _0x46ea61[_0xd4a6c7(0x351)]{constructor(_0x509a07,_0x10f3ed){const _0x23243d=_0xd4a6c7;super(_0x509a07,_0x10f3ed),_0x3fe385(this,'_color'),_0x3fe385(this,'_hovered',!0x1),_0x3fe385(this,'_range'),_0x3fe385(this,_0x23243d(0x1fb),''),_0x3fe385(this,_0x23243d(0x453),_0x23243d(0x1f9)),_0x3fe385(this,_0x23243d(0x39a)),(_0x10f3ed&&this[_0x23243d(0x4a2)](_0x10f3ed),this[_0x23243d(0x12e)][_0x23243d(0xa9)](()=>this[_0x23243d(0x4a2)]({'hovered':!0x0})),this[_0x23243d(0x35f)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x3784a8){const _0x252635=_0xd4a6c7;var _0xcce97f,_0x53c0b7,_0x180aec,_0xc1d86,_0x54d938,_0x33039c;this[_0x252635(0x52d)]=(_0xcce97f=_0x3784a8[_0x252635(0xed)])!=null?_0xcce97f:this['_color'],this['_hovered']=(_0x53c0b7=_0x3784a8[_0x252635(0x138)])!=null?_0x53c0b7:this[_0x252635(0x49c)],this[_0x252635(0x211)]=(_0x180aec=_0x3784a8[_0x252635(0x2df)])!=null?_0x180aec:this[_0x252635(0x211)],this[_0x252635(0x1fb)]=(_0xc1d86=_0x3784a8[_0x252635(0x524)])!=null?_0xc1d86:this[_0x252635(0x1fb)],this[_0x252635(0x453)]=(_0x54d938=_0x3784a8['labelPosition'])!=null?_0x54d938:this['_labelPosition'],this['_backgroundColor']=(_0x33039c=_0x3784a8['backgroundColor'])!=null?_0x33039c:this[_0x252635(0x39a)],this[_0x252635(0x502)]({'width':_0x3784a8[_0x252635(0xd4)],'height':_0x3784a8[_0x252635(0x1ce)]});}[_0xd4a6c7(0x4e9)](_0x499f00){const _0x5d8c45=_0xd4a6c7,{row:_0x56c7e7,column:_0xd78d2}=_0x499f00;if(_0x56c7e7>=this[_0x5d8c45(0x211)][_0x5d8c45(0x2f9)]&&_0x56c7e7<=this[_0x5d8c45(0x211)]['endRow']&&_0xd78d2>=this['_range'][_0x5d8c45(0x1a9)]&&_0xd78d2<=this['_range'][_0x5d8c45(0x47f)]){this[_0x5d8c45(0x4a2)]({'hovered':!0x0});return;}this[_0x5d8c45(0x4a2)]({'hovered':!0x1});}['triggerDblclick'](_0x8e81e9){return!0x1;}['_draw'](_0x39b510){const _0x5d1a19=_0xd4a6c7;_0x46ea61[_0x5d1a19(0x258)]['drawWith'](_0x39b510,{'width':this[_0x5d1a19(0xd4)],'height':this[_0x5d1a19(0x1ce)],'strokeWidth':_0x31fe31,'stroke':this[_0x5d1a19(0x52d)],'evented':!0x1,'fill':this[_0x5d1a19(0x39a)]}),this[_0x5d1a19(0x49c)]&&(_0x39b510[_0x5d1a19(0x461)](),_0x39b510[_0x5d1a19(0x1c3)](0x1,0x0,0x0,0x1,this[_0x5d1a19(0xd4)],this[_0x5d1a19(0x453)]==='bottom'?0x0:-_0x369f1b),_0x2ca76b[_0x5d1a19(0x489)](_0x39b510,{'text':this[_0x5d1a19(0x1fb)],'color':this[_0x5d1a19(0x52d)]}),_0x39b510[_0x5d1a19(0x3ee)]());}}var _0x5073fb=Object[_0xd4a6c7(0x1a4)],_0x223f75=Object['getOwnPropertyDescriptor'],_0x5cf723=(_0x12a0e2,_0x529a21,_0x592df5,_0x318c1b)=>{const _0x17e637=_0xd4a6c7;for(var _0x4c93fe=_0x318c1b>0x1?void 0x0:_0x318c1b?_0x223f75(_0x529a21,_0x592df5):_0x529a21,_0x458286=_0x12a0e2[_0x17e637(0x26b)]-0x1,_0x21b4ea;_0x458286>=0x0;_0x458286--)(_0x21b4ea=_0x12a0e2[_0x458286])&&(_0x4c93fe=(_0x318c1b?_0x21b4ea(_0x529a21,_0x592df5,_0x4c93fe):_0x21b4ea(_0x4c93fe))||_0x4c93fe);return _0x318c1b&&_0x4c93fe&&_0x5073fb(_0x529a21,_0x592df5,_0x4c93fe),_0x4c93fe;},_0x19ea1e=(_0xc8ff07,_0x16f3a8)=>(_0x48eebc,_0x3998f7)=>_0x16f3a8(_0x48eebc,_0x3998f7,_0xc8ff07);const _0x5270e1=0x1389;let _0x31a314=class extends _0x411d72[_0xd4a6c7(0xbd)]{constructor(_0x4e5b7f,_0x4ae8f5,_0x489b05,_0x40a42b){const _0x18d65=_0xd4a6c7;super(),_0x3fe385(this,_0x18d65(0x2e7),new Set()),_0x3fe385(this,'_lastPointer',null),(this[_0x18d65(0x10c)]=_0x4e5b7f,this['_sheetSkeletonManagerService']=_0x4ae8f5,this[_0x18d65(0x220)]=_0x489b05,this[_0x18d65(0x3db)]=_0x40a42b,this['_init']());}[_0xd4a6c7(0x406)](){const _0x15baec=_0xd4a6c7;this[_0x15baec(0x40a)][_0x15baec(0x1f8)][_0x15baec(0x3dd)](_0x14effa['takeUntil'](this['dispose$']),_0x14effa[_0x15baec(0x338)](_0x2b96e8=>{const _0x7bd66f=_0x15baec;if(_0x2b96e8){const _0x54f420=_0x2b96e8[_0x7bd66f(0x4c7)];return _0x3c9c2d[_0x7bd66f(0x445)](this[_0x7bd66f(0x220)][_0x7bd66f(0x370)](this[_0x7bd66f(0x10c)][_0x7bd66f(0x332)]),this[_0x7bd66f(0x3db)][_0x7bd66f(0x2f6)])[_0x7bd66f(0x3dd)](_0x14effa[_0x7bd66f(0x357)](([_0x11a31f,_0x3e7f35])=>{const _0x527264=_0x7bd66f,_0xd84b17=new Map();return _0x11a31f[_0x527264(0x335)]((_0x293ab3,_0x5e65a0)=>{const _0x3484d7=_0x527264;if(_0x293ab3['sheetID']===_0x54f420){const _0x44de3b={..._0x293ab3};_0x44de3b[_0x3484d7(0xed)]=_0x3e7f35[_0x293ab3[_0x3484d7(0xed)]],_0xd84b17['set'](_0x5e65a0,_0x44de3b);}}),{'skeleton':_0x2b96e8,'cursors':_0xd84b17};}));}return _0x3c9c2d['of']({'skeleton':null,'cursors':new Map()});}))[_0x15baec(0x35c)](({skeleton:_0x2772b5,cursors:_0x527761})=>{const _0x406b63=_0x15baec;this[_0x406b63(0x529)](),_0x2772b5&&this[_0x406b63(0x3f8)](_0x2772b5,_0x527761);}),this[_0x15baec(0x40a)][_0x15baec(0x1f8)][_0x15baec(0x35c)](_0xe78ea=>{const _0x22ec20=_0x15baec;if(_0xe78ea==null)return;const {skeleton:_0x364b2a}=_0xe78ea,{scene:_0x5b6dfa}=this[_0x22ec20(0x10c)];_0x5b6dfa[_0x22ec20(0x538)][_0x22ec20(0xa9)](_0x411d72[_0x22ec20(0x242)](_0xea6b57=>{const _0xe4c2d9=_0x22ec20;var _0x5884ac,_0x18e9fb;const {offsetX:_0x2bb19f,offsetY:_0x298696}=_0xea6b57,{x:_0x497a56,y:_0x2b9697}=_0x5b6dfa[_0xe4c2d9(0x3c0)](_0x46ea61[_0xe4c2d9(0x20d)]['FromArray']([_0x2bb19f,_0x298696])),{scaleX:_0x1e36ec,scaleY:_0x3a758d}=_0x5b6dfa['getAncestorScale'](),_0x557ae9=_0x5b6dfa[_0xe4c2d9(0x1a0)](_0x2991cf['VIEWPORT_KEY'][_0xe4c2d9(0x4c1)]),_0x21a0f4=_0x5b6dfa[_0xe4c2d9(0x21f)](_0x46ea61[_0xe4c2d9(0x20d)][_0xe4c2d9(0x266)]([_0x497a56,_0x2b9697]),_0x557ae9),_0x421ec5=_0x364b2a['getCellPositionByOffset'](_0x2bb19f,_0x298696,_0x1e36ec,_0x3a758d,_0x21a0f4);((_0x5884ac=this['_lastPointer'])==null?void 0x0:_0x5884ac['column'])===_0x421ec5[_0xe4c2d9(0x409)]&&((_0x18e9fb=this[_0xe4c2d9(0x4fd)])==null?void 0x0:_0x18e9fb['row'])===_0x421ec5[_0xe4c2d9(0x177)]||this[_0xe4c2d9(0x2e7)]['forEach'](_0x15b227=>{_0x15b227['onMouseMove'](_0x421ec5);});},0x64));});}[_0xd4a6c7(0x3f8)](_0x46e273,_0x21ea30){const _0x2877f7=_0xd4a6c7;var _0x410118;const _0x110032=(_0x410118=this[_0x2877f7(0x40a)][_0x2877f7(0xf2)]())==null?void 0x0:_0x410118[_0x2877f7(0x38d)];if(!_0x110032)return;const _0x338477=this[_0x2877f7(0x55e)]();if(!_0x338477)return;this['_cursors'][_0x2877f7(0x335)](_0xd516c8=>{const _0x3e394a=_0x2877f7;_0xd516c8[_0x3e394a(0x22c)]();});const {scene:_0x354420}=_0x338477,_0x26cda7=_0x30a5ba(Array[_0x2877f7(0x214)](_0x21ea30[_0x2877f7(0x2e5)]()))[_0x2877f7(0x357)](_0x474e74=>{const _0x1185e1=_0x2877f7,{color:_0xf08857,range:_0x243d1f,name:_0x2462a1,selection:_0x245ca0,sheetID:_0x5d402b}=_0x474e74,{startColumn:_0xab9c59,startRow:_0x230a01,endColumn:_0x535010,endRow:_0x600d56}=_0x243d1f,_0x320984=_0x2991cf[_0x1185e1(0x3df)](_0x230a01,_0xab9c59,_0x354420,_0x110032),_0x17626f=_0x2991cf[_0x1185e1(0x3df)](_0x600d56,_0x535010,_0x354420,_0x110032),{columnHeaderHeightAndMarginTop:_0x557216}=_0x110032,{startX:_0x25effb,startY:_0x199ace}=_0x320984,{endX:_0x856589,endY:_0x26a6c6}=_0x17626f,_0x54fc1a=_0x856589-_0x25effb,_0x19bdf8=_0x26a6c6-_0x199ace,_0x4201d4={'labelPosition':_0x199ace-_0x557216>=_0x369f1b?'top':_0x1185e1(0x310),'sheetID':_0x5d402b,'range':_0x243d1f,'color':_0xf08857,'name':_0x2462a1,'selection':_0x245ca0,'left':_0x25effb,'top':_0x199ace,'width':_0x54fc1a,'height':_0x19bdf8,'evented':!0x1,'zIndex':_0x5270e1};return new _0x29c82f(_0x2462a1,_0x4201d4);});_0x354420[_0x2877f7(0x36f)](_0x26cda7,_0xbae0c),this[_0x2877f7(0x2e7)]=new Set(_0x26cda7);}['_removeCollabCursors'](){const _0x57b11b=_0xd4a6c7;var _0x5c77a2;(_0x5c77a2=this['_cursors'])==null||_0x5c77a2[_0x57b11b(0x335)](_0x4fc27d=>_0x4fc27d[_0x57b11b(0x31d)]());}[_0xd4a6c7(0x55e)](){const _0x20ce95=_0xd4a6c7;return _0x2991cf[_0x20ce95(0x3d6)](this[_0x20ce95(0x10c)][_0x20ce95(0x46d)],this['_context']);}};_0x31a314=_0x5cf723([_0x19ea1e(0x1,_0x411d72[_0xd4a6c7(0x371)](_0x2991cf[_0xd4a6c7(0x285)])),_0x19ea1e(0x2,_0x411d72[_0xd4a6c7(0x371)](_0x5543c0)),_0x19ea1e(0x3,_0x411d72[_0xd4a6c7(0x371)](_0x411d72[_0xd4a6c7(0x20e)]))],_0x31a314);function _0x30a5ba(_0xf44306){const _0x4bde8e=_0xd4a6c7,_0x487eb0=new Map();return _0xf44306[_0x4bde8e(0x335)](_0xc1910=>{const _0x348e04=_0x4bde8e;if(_0x487eb0[_0x348e04(0x303)](_0xc1910[_0x348e04(0x565)])){const _0x546104=_0x487eb0[_0x348e04(0x1c9)](_0xc1910[_0x348e04(0x565)]);_0x546104[_0x348e04(0x524)]+=',\x20'+_0xc1910[_0x348e04(0x524)];}else _0x487eb0[_0x348e04(0x36e)](_0xc1910[_0x348e04(0x565)],_0xc1910);}),Array[_0x4bde8e(0x214)](_0x487eb0[_0x4bde8e(0x2e5)]());}var _0x3565ba=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x3893de(_0x477c69){const _0x508409=_0xd4a6c7;return _0x477c69&&_0x477c69[_0x508409(0x2ce)]&&Object['prototype']['hasOwnProperty'][_0x508409(0x254)](_0x477c69,_0x508409(0x379))?_0x477c69[_0x508409(0x379)]:_0x477c69;}var _0x38c6d1={'exports':{}},_0x98f2fe={},_0x306850=_0x224ea1,_0x566813=Symbol['for'](_0xd4a6c7(0x208)),_0x569693=Symbol[_0xd4a6c7(0x382)]('react.fragment'),_0x36bce1=Object[_0xd4a6c7(0x2d1)][_0xd4a6c7(0x433)],_0x29884e=_0x306850[_0xd4a6c7(0x2f8)][_0xd4a6c7(0x189)],_0x40d59f={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x2fe1e1(_0x581d62,_0x41023e,_0x3e2475){const _0x1d8e33=_0xd4a6c7;var _0x3f5ffc,_0xed3f9e={},_0x3d2131=null,_0x37da7e=null;_0x3e2475!==void 0x0&&(_0x3d2131=''+_0x3e2475),_0x41023e[_0x1d8e33(0xac)]!==void 0x0&&(_0x3d2131=''+_0x41023e[_0x1d8e33(0xac)]),_0x41023e[_0x1d8e33(0x46e)]!==void 0x0&&(_0x37da7e=_0x41023e[_0x1d8e33(0x46e)]);for(_0x3f5ffc in _0x41023e)_0x36bce1[_0x1d8e33(0x254)](_0x41023e,_0x3f5ffc)&&!_0x40d59f[_0x1d8e33(0x433)](_0x3f5ffc)&&(_0xed3f9e[_0x3f5ffc]=_0x41023e[_0x3f5ffc]);if(_0x581d62&&_0x581d62[_0x1d8e33(0x3a3)]){for(_0x3f5ffc in(_0x41023e=_0x581d62[_0x1d8e33(0x3a3)],_0x41023e))_0xed3f9e[_0x3f5ffc]===void 0x0&&(_0xed3f9e[_0x3f5ffc]=_0x41023e[_0x3f5ffc]);}return{'$$typeof':_0x566813,'type':_0x581d62,'key':_0x3d2131,'ref':_0x37da7e,'props':_0xed3f9e,'_owner':_0x29884e[_0x1d8e33(0x2c0)]};}_0x98f2fe['Fragment']=_0x569693,_0x98f2fe['jsx']=_0x2fe1e1,_0x98f2fe['jsxs']=_0x2fe1e1,_0x38c6d1[_0xd4a6c7(0x4fa)]=_0x98f2fe;var _0x51fbe3=_0x38c6d1[_0xd4a6c7(0x4fa)],_0x36e4cd=function(){const _0x358e45=_0xd4a6c7;return _0x36e4cd=Object[_0x358e45(0x53a)]||function(_0x151d58){const _0x2bfb21=_0x358e45;for(var _0x5a58c5,_0x8f49c8=0x1,_0x2fd489=arguments['length'];_0x8f49c8<_0x2fd489;_0x8f49c8++){_0x5a58c5=arguments[_0x8f49c8];for(var _0x4e8016 in _0x5a58c5)Object['prototype'][_0x2bfb21(0x433)][_0x2bfb21(0x254)](_0x5a58c5,_0x4e8016)&&(_0x151d58[_0x4e8016]=_0x5a58c5[_0x4e8016]);}return _0x151d58;},_0x36e4cd['apply'](this,arguments);},_0x4b097b=function(_0x3d89c,_0x401bab){const _0x57b01f=_0xd4a6c7;var _0x4067b6={};for(var _0xe73d75 in _0x3d89c)Object['prototype']['hasOwnProperty'][_0x57b01f(0x254)](_0x3d89c,_0xe73d75)&&_0x401bab[_0x57b01f(0x219)](_0xe73d75)<0x0&&(_0x4067b6[_0xe73d75]=_0x3d89c[_0xe73d75]);if(_0x3d89c!=null&&typeof Object[_0x57b01f(0x193)]==_0x57b01f(0x31a)){for(var _0x464e37=0x0,_0xe73d75=Object[_0x57b01f(0x193)](_0x3d89c);_0x464e37<_0xe73d75[_0x57b01f(0x26b)];_0x464e37++)_0x401bab[_0x57b01f(0x219)](_0xe73d75[_0x464e37])<0x0&&Object[_0x57b01f(0x2d1)][_0x57b01f(0x3fc)][_0x57b01f(0x254)](_0x3d89c,_0xe73d75[_0x464e37])&&(_0x4067b6[_0xe73d75[_0x464e37]]=_0x3d89c[_0xe73d75[_0x464e37]]);}return _0x4067b6;},_0x382106=_0x224ea1['forwardRef'](function(_0x5685b4,_0x314d1b){const _0x5414e9=_0xd4a6c7;var _0x4442a7=_0x5685b4[_0x5414e9(0x4a5)],_0x39d13b=_0x5685b4['id'],_0x1702fe=_0x5685b4['className'],_0x249234=_0x5685b4['extend'],_0x2fb646=_0x4b097b(_0x5685b4,[_0x5414e9(0x4a5),'id',_0x5414e9(0x148),'extend']),_0x471e16=_0x5414e9(0x503)[_0x5414e9(0x2d0)](_0x39d13b,'\x20')[_0x5414e9(0x2d0)](_0x1702fe||'')['trim'](),_0x599c71=_0x224ea1[_0x5414e9(0x253)]('_'[_0x5414e9(0x2d0)](_0x559123()));return _0xba993e(_0x4442a7,''[_0x5414e9(0x2d0)](_0x39d13b),{'defIds':_0x4442a7[_0x5414e9(0x108)],'idSuffix':_0x599c71[_0x5414e9(0x2c0)]},_0x36e4cd({'ref':_0x314d1b,'className':_0x471e16},_0x2fb646),_0x249234);});function _0xba993e(_0x913469,_0x436507,_0x414783,_0x15b0c2,_0x231c3d){const _0x66b423=_0xd4a6c7;return _0x224ea1[_0x66b423(0x4ed)](_0x913469[_0x66b423(0x250)],_0x36e4cd(_0x36e4cd({'key':_0x436507},_0x12f2e1(_0x913469,_0x414783,_0x231c3d)),_0x15b0c2),(_0x3d23b9(_0x913469,_0x414783)[_0x66b423(0x372)]||[])[_0x66b423(0x357)](function(_0x42fdfe,_0x49d0cf){const _0x301f1c=_0x66b423;return _0xba993e(_0x42fdfe,''[_0x301f1c(0x2d0)](_0x436507,'-')[_0x301f1c(0x2d0)](_0x913469['tag'],'-')[_0x301f1c(0x2d0)](_0x49d0cf),_0x414783,void 0x0,_0x231c3d);}));}function _0x12f2e1(_0x30f7dc,_0x448677,_0x2b6538){const _0x387dd3=_0xd4a6c7;var _0x162ab5=_0x36e4cd({},_0x30f7dc[_0x387dd3(0x44c)]);_0x2b6538!=null&&_0x2b6538[_0x387dd3(0x340)]&&_0x162ab5[_0x387dd3(0x19d)]==='colorChannel1'&&(_0x162ab5['fill']=_0x2b6538[_0x387dd3(0x340)]);var _0x52dbd4=_0x448677['defIds'];return!_0x52dbd4||_0x52dbd4[_0x387dd3(0x26b)]===0x0||(_0x30f7dc[_0x387dd3(0x250)]==='use'&&_0x162ab5[_0x387dd3(0x4cd)]&&(_0x162ab5['xlink:href']=_0x162ab5[_0x387dd3(0x4cd)]+_0x448677[_0x387dd3(0xb7)]),Object['entries'](_0x162ab5)['forEach'](function(_0x1a0a01){const _0x2b94ab=_0x387dd3;var _0x5b9afa=_0x1a0a01[0x0],_0x3a346b=_0x1a0a01[0x1];typeof _0x3a346b=='string'&&(_0x162ab5[_0x5b9afa]=_0x3a346b[_0x2b94ab(0x511)](/url\(#(.*)\)/,_0x2b94ab(0x42c)['concat'](_0x448677['idSuffix'],')')));})),_0x162ab5;}function _0x3d23b9(_0x515133,_0x50462d){const _0x5e9860=_0xd4a6c7;var _0x112e1d,_0x24314c=_0x50462d[_0x5e9860(0x108)];return!_0x24314c||_0x24314c['length']===0x0?_0x515133:_0x515133[_0x5e9860(0x250)]===_0x5e9860(0x18f)&&(!((_0x112e1d=_0x515133[_0x5e9860(0x372)])===null||_0x112e1d===void 0x0)&&_0x112e1d[_0x5e9860(0x26b)])?_0x36e4cd(_0x36e4cd({},_0x515133),{'children':_0x515133[_0x5e9860(0x372)][_0x5e9860(0x357)](function(_0x510e36){const _0x83191f=_0x5e9860;return typeof _0x510e36[_0x83191f(0x44c)]['id']==_0x83191f(0x428)&&_0x24314c&&_0x24314c[_0x83191f(0x219)](_0x510e36['attrs']['id'])>-0x1?_0x36e4cd(_0x36e4cd({},_0x510e36),{'attrs':_0x36e4cd(_0x36e4cd({},_0x510e36['attrs']),{'id':_0x510e36[_0x83191f(0x44c)]['id']+_0x50462d[_0x83191f(0xb7)]})}):_0x510e36;})}):_0x515133;}function _0x559123(){const _0x67c339=_0xd4a6c7;return Math[_0x67c339(0x114)]()['toString'](0x24)[_0x67c339(0x55d)](0x2,0x8);}_0x382106[_0xd4a6c7(0x2d5)]=_0xd4a6c7(0x274);var _0xef9e5={'tag':_0xd4a6c7(0x18a),'attrs':{'fill':_0xd4a6c7(0x413),'viewBox':'0\x200\x2016\x2016','width':_0xd4a6c7(0x15a),'height':_0xd4a6c7(0x15a)},'children':[{'tag':'g','attrs':{'clipPath':_0xd4a6c7(0x343)},'children':[{'tag':_0xd4a6c7(0x26f),'attrs':{'stroke':_0xd4a6c7(0x98),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0xd4a6c7(0x262),'strokeWidth':1.2}}]},{'tag':_0xd4a6c7(0x18f),'attrs':{},'children':[{'tag':_0xd4a6c7(0x152),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0xd4a6c7(0x319)}}]}]}],'defIds':[_0xd4a6c7(0x40b)]},_0x5acabc=_0x224ea1['forwardRef'](function(_0x362e1b,_0xba7010){const _0x5d3211=_0xd4a6c7;return _0x224ea1['createElement'](_0x382106,Object[_0x5d3211(0x53a)]({},_0x362e1b,{'id':_0x5d3211(0x137),'ref':_0xba7010,'icon':_0xef9e5}));});_0x5acabc['displayName']='OffLineSingle';var _0x160400={'tag':_0xd4a6c7(0x18a),'attrs':{'fill':_0xd4a6c7(0x413),'viewBox':_0xd4a6c7(0x156),'width':_0xd4a6c7(0x15a),'height':_0xd4a6c7(0x15a)},'children':[{'tag':'g','attrs':{'clipPath':_0xd4a6c7(0x171)},'children':[{'tag':_0xd4a6c7(0x26f),'attrs':{'stroke':_0xd4a6c7(0x98),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':_0xd4a6c7(0x262),'strokeWidth':1.2}}]},{'tag':_0xd4a6c7(0x18f),'attrs':{},'children':[{'tag':_0xd4a6c7(0x152),'attrs':{'id':_0xd4a6c7(0x29f)},'children':[{'tag':_0xd4a6c7(0x26f),'attrs':{'fill':'#fff','d':_0xd4a6c7(0x319),'transform':'translate(.97)'}}]}]}],'defIds':[_0xd4a6c7(0x29f)]},_0x161960=_0x224ea1[_0xd4a6c7(0x4ba)](function(_0x35ce1a,_0x4ba7db){const _0x4ef405=_0xd4a6c7;return _0x224ea1[_0x4ef405(0x4ed)](_0x382106,Object[_0x4ef405(0x53a)]({},_0x35ce1a,{'id':_0x4ef405(0x3f3),'ref':_0x4ba7db,'icon':_0x160400}));});_0x161960[_0xd4a6c7(0x2d5)]=_0xd4a6c7(0x3c3);function _0x134e68(_0x426627){const _0x219bed=_0xd4a6c7;var _0x15a971,_0x55b2fb,_0x2a1933='';if(typeof _0x426627==_0x219bed(0x428)||typeof _0x426627=='number')_0x2a1933+=_0x426627;else{if(typeof _0x426627==_0x219bed(0x34a)){if(Array[_0x219bed(0x439)](_0x426627)){var _0x162e36=_0x426627[_0x219bed(0x26b)];for(_0x15a971=0x0;_0x15a971<_0x162e36;_0x15a971++)_0x426627[_0x15a971]&&(_0x55b2fb=_0x134e68(_0x426627[_0x15a971]))&&(_0x2a1933&&(_0x2a1933+='\x20'),_0x2a1933+=_0x55b2fb);}else{for(_0x55b2fb in _0x426627)_0x426627[_0x55b2fb]&&(_0x2a1933&&(_0x2a1933+='\x20'),_0x2a1933+=_0x55b2fb);}}}return _0x2a1933;}function _0x477648(){const _0x128f1c=_0xd4a6c7;for(var _0x5f5a27,_0x3e3258,_0x59071d=0x0,_0x53d6ad='',_0x50fd90=arguments[_0x128f1c(0x26b)];_0x59071d<_0x50fd90;_0x59071d++)(_0x5f5a27=arguments[_0x59071d])&&(_0x3e3258=_0x134e68(_0x5f5a27))&&(_0x53d6ad&&(_0x53d6ad+='\x20'),_0x53d6ad+=_0x3e3258);return _0x53d6ad;}const _0x5b64cb={'onlineStatusIcon':_0xd4a6c7(0x210),'onlineStatusTitle':_0xd4a6c7(0x3e6),'onlineStatus':'univer-online-status','online':_0xd4a6c7(0xf6),'offline':'univer-offline'};function _0x847a62(_0x336014){const _0x25c58d=_0xd4a6c7;switch(_0x336014){case _0x323170[_0x25c58d(0x1b3)]:return'collabStatus.offline';case _0x323170[_0x25c58d(0xa8)]:return'collabStatus.conflict';case _0x323170[_0x25c58d(0x101)]:return _0x25c58d(0x4f7);case _0x323170['NOT_COLLAB']:return _0x25c58d(0x389);case _0x323170[_0x25c58d(0x2b9)]:case _0x323170[_0x25c58d(0x337)]:return'collabStatus.syncing';case _0x323170[_0x25c58d(0x326)]:case _0x323170[_0x25c58d(0x1f3)]:return _0x25c58d(0x22e);}}function _0x223626(_0x3303eb){const _0x4b1324=_0xd4a6c7,{status$:_0x1e09ea}=_0x3303eb,_0x5aee1b=_0x33b7bc[_0x4b1324(0x1b5)](_0x1e09ea,_0x323170[_0x4b1324(0x96)]),_0x498fa0=_0x411d72[_0x4b1324(0x2e8)](_0x411d72['LocaleService']),_0x2c8d48=_0x411d72[_0x4b1324(0x2e8)](_0x59c9b4[_0x4b1324(0x37f)]),_0x232f1a=_0x5aee1b!==_0x323170[_0x4b1324(0x1b3)],_0xe4cb53=_0x498fa0['t'](_0x847a62(_0x5aee1b)),_0x14b409=_0x477648(_0x5b64cb[_0x4b1324(0x24d)],{[_0x5b64cb['online']]:_0x232f1a,[_0x5b64cb[_0x4b1324(0x440)]]:!_0x232f1a}),_0x1fa516=_0x232f1a?_0x51fbe3[_0x4b1324(0x551)](_0x161960,{}):_0x51fbe3[_0x4b1324(0x551)](_0x5acabc,{}),_0x5d1dd9=_0x224ea1[_0x4b1324(0x116)](()=>{const _0x4848c1=_0x4b1324;_0x232f1a||_0x2c8d48[_0x4848c1(0x178)]();},[_0x232f1a,_0x2c8d48]);function _0x242a97(){const _0x2dc50d=_0x4b1324;return _0x51fbe3[_0x2dc50d(0x16b)](_0x2dc50d(0xb5),{'className':_0x14b409,'onClick':_0x5d1dd9,'children':[_0x51fbe3['jsx'](_0x2dc50d(0xb5),{'className':_0x5b64cb[_0x2dc50d(0x2dc)],'children':_0x1fa516}),_0x51fbe3[_0x2dc50d(0x551)](_0x2dc50d(0xb5),{'className':_0x5b64cb[_0x2dc50d(0x213)],'children':_0xe4cb53})]});}return _0x232f1a?_0x242a97():_0x51fbe3['jsx'](_0x4d0320[_0x4b1324(0x36c)],{'title':_0x498fa0['t'](_0x4b1324(0x17f)),'children':_0x242a97()});}var _0x23c7ea=Object[_0xd4a6c7(0x1a4)],_0x40167b=Object['getOwnPropertyDescriptor'],_0x2f8e83=(_0x4a18f3,_0x4524df,_0x397f56,_0x3d7a0c)=>{const _0x4d6758=_0xd4a6c7;for(var _0x15db80=_0x3d7a0c>0x1?void 0x0:_0x3d7a0c?_0x40167b(_0x4524df,_0x397f56):_0x4524df,_0x59b244=_0x4a18f3[_0x4d6758(0x26b)]-0x1,_0x34c5d9;_0x59b244>=0x0;_0x59b244--)(_0x34c5d9=_0x4a18f3[_0x59b244])&&(_0x15db80=(_0x3d7a0c?_0x34c5d9(_0x4524df,_0x397f56,_0x15db80):_0x34c5d9(_0x15db80))||_0x15db80);return _0x3d7a0c&&_0x15db80&&_0x23c7ea(_0x4524df,_0x397f56,_0x15db80),_0x15db80;},_0x4c35db=(_0x4c02f3,_0x15339f)=>(_0x1a6dc9,_0x2989f7)=>_0x15339f(_0x1a6dc9,_0x2989f7,_0x4c02f3);_0x59c9b4[_0xd4a6c7(0x4e4)]=class extends _0x411d72[_0xd4a6c7(0x28f)]{constructor(_0x386d75,_0x41ff0d,_0x104ded,_0xb4cf62){const _0x280603=_0xd4a6c7;super(),_0x3fe385(this,_0x280603(0x373),new _0x3c9c2d[(_0x280603(0x194))](_0x323170[_0x280603(0x96)])),(this[_0x280603(0xe0)]=_0x386d75,this[_0x280603(0x460)]=_0x41ff0d,this['_injector']=_0x104ded,this['_collaborationController']=_0xb4cf62,this[_0x280603(0x33d)](),this[_0x280603(0x2eb)]());}[_0xd4a6c7(0x2eb)](){const _0x201441=_0xd4a6c7;this['disposeWithMe'](this['_univerInstanceService']['focused$'][_0x201441(0x3dd)](_0x3c9c2d[_0x201441(0x338)](()=>{const _0x2305fa=_0x201441,_0x35ee86=this[_0x2305fa(0xe0)][_0x2305fa(0x3a8)]();return _0x35ee86?this[_0x2305fa(0x29a)][_0x2305fa(0x1fa)](_0x35ee86[_0x2305fa(0x3c9)]()):_0x3c9c2d['of'](null);}),_0x3c9c2d[_0x201441(0x338)](_0x5f51f8=>_0x5f51f8?_0x5f51f8[_0x201441(0x27a)]:_0x3c9c2d['of'](_0x323170[_0x201441(0x96)])))[_0x201441(0x35c)](_0x2ada24=>{const _0x1cce41=_0x201441;this[_0x1cce41(0x373)]['next'](_0x2ada24);}));}['_initStatusComponent'](){const _0x2d13b4=_0xd4a6c7;this[_0x2d13b4(0x20f)](this[_0x2d13b4(0x460)]['registerComponent'](_0x33b7bc[_0x2d13b4(0xc3)][_0x2d13b4(0x2c4)],()=>_0x411d72['connectInjector'](_0x2b6d7d({'status$':this[_0x2d13b4(0x373)]['asObservable']()}),this[_0x2d13b4(0x264)])));}},_0x59c9b4[_0xd4a6c7(0x4e4)]=_0x2f8e83([_0x4c35db(0x0,_0x411d72[_0xd4a6c7(0x498)]),_0x4c35db(0x1,_0x33b7bc['IUIPartsService']),_0x4c35db(0x2,_0x411d72[_0xd4a6c7(0x371)](_0x411d72[_0xd4a6c7(0x3e2)])),_0x4c35db(0x3,_0x411d72[_0xd4a6c7(0x371)](_0x59c9b4[_0xd4a6c7(0x463)]))],_0x59c9b4[_0xd4a6c7(0x4e4)]);function _0x2b6d7d(_0x4f1f98){const {status$:_0x43ad82}=_0x4f1f98;return function(){return _0x51fbe3['jsx'](_0x223626,{'status$':_0x43ad82});};}const _0x27f765=_0x411d72[_0xd4a6c7(0x39f)](_0xd4a6c7(0x257));var _0x5c4055=Object['defineProperty'],_0x37416d=Object[_0xd4a6c7(0x47a)],_0x397734=(_0x5e3f15,_0x1fe265,_0x2da693,_0x531687)=>{const _0x346005=_0xd4a6c7;for(var _0x26ea5f=_0x531687>0x1?void 0x0:_0x531687?_0x37416d(_0x1fe265,_0x2da693):_0x1fe265,_0x4c73ff=_0x5e3f15[_0x346005(0x26b)]-0x1,_0x11475e;_0x4c73ff>=0x0;_0x4c73ff--)(_0x11475e=_0x5e3f15[_0x4c73ff])&&(_0x26ea5f=(_0x531687?_0x11475e(_0x1fe265,_0x2da693,_0x26ea5f):_0x11475e(_0x26ea5f))||_0x26ea5f);return _0x531687&&_0x26ea5f&&_0x5c4055(_0x1fe265,_0x2da693,_0x26ea5f),_0x26ea5f;},_0x2c72dc=(_0x59ac44,_0x5b1728)=>(_0x4340c7,_0x1091b3)=>_0x5b1728(_0x4340c7,_0x1091b3,_0x59ac44);_0x59c9b4['DataLoaderController']=class extends _0x411d72[_0xd4a6c7(0xbd)]{constructor(_0x32c644,_0x327d09,_0x357635,_0x3b160e,_0x375475,_0x584eb0){const _0x3c79fd=_0xd4a6c7;super(),this[_0x3c79fd(0x517)]=_0x32c644,this['_logService']=_0x327d09,this[_0x3c79fd(0x38f)]=_0x357635,this[_0x3c79fd(0x1f6)]=_0x3b160e,this[_0x3c79fd(0x523)]=_0x375475,_0x584eb0?_0x584eb0==null||_0x584eb0['whenReady']()[_0x3c79fd(0x46a)](()=>this[_0x3c79fd(0x406)]()):(this[_0x3c79fd(0xfc)][_0x3c79fd(0x1f7)](_0x3c79fd(0x221),_0x3c79fd(0x451)),this[_0x3c79fd(0x406)]());}async[_0xd4a6c7(0x406)](){const _0x4b0488=_0xd4a6c7,_0x5c2b82=this[_0x4b0488(0x517)][_0x4b0488(0x2ae)](_0x4b0488(0x46d)),_0x118888=this['_urlService'][_0x4b0488(0x2ae)]('type');if(!_0x5c2b82||!_0x118888){this[_0x4b0488(0xfc)][_0x4b0488(0x1f7)]('[DataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}switch(Number(_0x118888)){case _0x420e44[_0x4b0488(0x1ed)]:{const _0x39fe2a=await this[_0x4b0488(0x2c6)](_0x5c2b82);this[_0x4b0488(0x3a6)](_0x39fe2a);break;}case _0x420e44[_0x4b0488(0x435)]:{await this[_0x4b0488(0x26a)](_0x5c2b82);break;}default:{this[_0x4b0488(0xfc)][_0x4b0488(0x311)](_0x4b0488(0x221),_0x4b0488(0x154));break;}}}async[_0xd4a6c7(0x3a6)](_0x3ea919){const _0x2677bd=_0xd4a6c7;await this['_updateSubUnitFromURLParams'](_0x3ea919),_0x3ea919[_0x2677bd(0x2f2)][_0x2677bd(0x3dd)](_0x3c9c2d[_0x2677bd(0x383)](this['dispose$']))[_0x2677bd(0x35c)](_0x4333d7=>{_0x4333d7&&this['_updateURLWithCurrentState'](_0x4333d7);}),this['_urlService'][_0x2677bd(0x3e9)]['pipe'](_0x3c9c2d[_0x2677bd(0x383)](this[_0x2677bd(0x33f)]))[_0x2677bd(0x35c)](()=>this['_updateSubUnitFromURLParams'](_0x3ea919));}['_updateURLWithCurrentState'](_0x59ac9e,_0x1d3afa=!0x1){const _0x4eaecd=_0xd4a6c7,_0x5f2bee=this[_0x4eaecd(0x517)][_0x4eaecd(0x2ae)](_0x4eaecd(0xcf));_0x59ac9e[_0x4eaecd(0xe3)]()!==_0x5f2bee&&this['_urlService'][_0x4eaecd(0x174)](_0x4eaecd(0xcf),_0x59ac9e[_0x4eaecd(0xe3)](),_0x1d3afa);}async[_0xd4a6c7(0x293)](_0x1592c6){const _0x1dc732=_0xd4a6c7;var _0x244c4b;const _0x556530=this[_0x1dc732(0x517)][_0x1dc732(0x2ae)](_0x1dc732(0xcf));if(!_0x556530||!_0x1592c6[_0x1dc732(0x299)](_0x556530)){const _0x51eecb=_0x1592c6[_0x1dc732(0x232)]()[0x0],_0x520c6f=_0x1592c6[_0x1dc732(0x299)](_0x51eecb);if(!_0x520c6f)return;this[_0x1dc732(0x3bb)](_0x520c6f,!0x0),await this[_0x1dc732(0x38f)][_0x1dc732(0x2b6)](_0x2e18c9[_0x1dc732(0x4c2)]['id'],{'unitId':_0x1592c6[_0x1dc732(0x3c9)](),'subUnitId':_0x51eecb});return;}((_0x244c4b=_0x1592c6[_0x1dc732(0x349)]())==null?void 0x0:_0x244c4b[_0x1dc732(0xe3)]())!==_0x556530&&await this[_0x1dc732(0x38f)][_0x1dc732(0x2b6)](_0x2e18c9[_0x1dc732(0x4c2)]['id'],{'unitId':_0x1592c6[_0x1dc732(0x3c9)](),'subUnitId':_0x556530});}async['_loadSheet'](_0x2d78a8){const _0xd80638=_0xd4a6c7;let _0x46245c=0x0;const _0x2d6732=await this[_0xd80638(0x1f6)][_0xd80638(0x155)](_0x2d78a8);return _0x2d6732&&(_0x2d6732[_0xd80638(0x481)]||_0x2d6732['mutations'][_0xd80638(0x26b)]!==0x0)&&(_0x46245c=_0x2d6732['rev']),_0x46245c===0x0&&this['_logService'][_0xd80638(0x1f7)]('[DataLoaderController]',_0xd80638(0x323)),this[_0xd80638(0x523)]['loadSheet'](_0x2d78a8,_0x46245c);}async['_loadDoc'](_0x1daa71){const _0x74dff5=_0xd4a6c7;let _0x3860be=0x0;const _0x179245=await this[_0x74dff5(0x1f6)]['loadOfflineData'](_0x1daa71);return _0x179245&&(_0x179245['awaitingChangeset']||_0x179245[_0x74dff5(0x454)][_0x74dff5(0x26b)]!==0x0)&&(_0x3860be=_0x179245[_0x74dff5(0x162)]),_0x3860be===0x0&&this['_logService'][_0x74dff5(0x1f7)](_0x74dff5(0x221),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x74dff5(0x523)][_0x74dff5(0x2a7)](_0x1daa71,_0x3860be);}},_0x59c9b4[_0xd4a6c7(0xe9)]=_0x397734([_0x2c72dc(0x0,_0x27f765),_0x2c72dc(0x1,_0x411d72[_0xd4a6c7(0x3cd)]),_0x2c72dc(0x2,_0x411d72[_0xd4a6c7(0x130)]),_0x2c72dc(0x3,_0x411d72[_0xd4a6c7(0x371)](_0x59c9b4[_0xd4a6c7(0x4c5)])),_0x2c72dc(0x4,_0x411d72[_0xd4a6c7(0x371)](_0x487e40[_0xd4a6c7(0x24a)])),_0x2c72dc(0x5,_0x411d72[_0xd4a6c7(0x354)](_0x36934c[_0xd4a6c7(0x14b)]))],_0x59c9b4[_0xd4a6c7(0xe9)]);var _0x3b457d=Object[_0xd4a6c7(0x1a4)],_0x503a99=Object[_0xd4a6c7(0x47a)],_0x3e3dbf=(_0x43d738,_0x99d15b,_0x988420,_0x4c2434)=>{const _0x5a9ef2=_0xd4a6c7;for(var _0x2e3002=_0x4c2434>0x1?void 0x0:_0x4c2434?_0x503a99(_0x99d15b,_0x988420):_0x99d15b,_0x5eeac4=_0x43d738[_0x5a9ef2(0x26b)]-0x1,_0x4324fc;_0x5eeac4>=0x0;_0x5eeac4--)(_0x4324fc=_0x43d738[_0x5eeac4])&&(_0x2e3002=(_0x4c2434?_0x4324fc(_0x99d15b,_0x988420,_0x2e3002):_0x4324fc(_0x2e3002))||_0x2e3002);return _0x4c2434&&_0x2e3002&&_0x3b457d(_0x99d15b,_0x988420,_0x2e3002),_0x2e3002;},_0x1e3b9c=(_0x1224bd,_0x3e46a9)=>(_0x5d4cb3,_0x4cf743)=>_0x3e46a9(_0x5d4cb3,_0x4cf743,_0x1224bd);const _0x42e712=_0xd4a6c7(0x277),_0x5a4bea=_0xd4a6c7(0x102);let _0x30d451=class extends _0x411d72[_0xd4a6c7(0x28f)]{constructor(_0x112659,_0x2b6baa){const _0x21a0bb=_0xd4a6c7;super(),this[_0x21a0bb(0xe0)]=_0x112659,this[_0x21a0bb(0x3ec)]=_0x2b6baa,this[_0x21a0bb(0x406)]();}[_0xd4a6c7(0x406)](){const _0x4f5d6b=_0xd4a6c7;this[_0x4f5d6b(0x20f)](this[_0x4f5d6b(0xe0)][_0x4f5d6b(0x1e2)][_0x4f5d6b(0x35c)](()=>{const _0xc806c=_0x4f5d6b;var _0x596aa9;const _0x3fe832=this[_0xc806c(0xe0)][_0xc806c(0x3a8)]();let _0x293875=(_0x596aa9=this[_0xc806c(0x3ec)]['getConfig'](_0x42e712))!=null?_0x596aa9:_0x5a4bea;_0x3fe832 instanceof _0x411d72[_0xc806c(0x507)]&&(_0x293875=_0x3fe832[_0xc806c(0x524)]),document[_0xc806c(0x2ca)]=_0x293875;}));}};_0x30d451=_0x3e3dbf([_0x1e3b9c(0x0,_0x411d72[_0xd4a6c7(0x498)]),_0x1e3b9c(0x1,_0x411d72[_0xd4a6c7(0x384)])],_0x30d451);var _0x27d254=Object[_0xd4a6c7(0x1a4)],_0xbdd19a=Object[_0xd4a6c7(0x47a)],_0x43d550=(_0x3003bc,_0x5ce57e,_0x1baa0d,_0x36ec8b)=>{const _0x30fdf0=_0xd4a6c7;for(var _0x279e58=_0x36ec8b>0x1?void 0x0:_0x36ec8b?_0xbdd19a(_0x5ce57e,_0x1baa0d):_0x5ce57e,_0x2582ca=_0x3003bc[_0x30fdf0(0x26b)]-0x1,_0x22e304;_0x2582ca>=0x0;_0x2582ca--)(_0x22e304=_0x3003bc[_0x2582ca])&&(_0x279e58=(_0x36ec8b?_0x22e304(_0x5ce57e,_0x1baa0d,_0x279e58):_0x22e304(_0x279e58))||_0x279e58);return _0x36ec8b&&_0x279e58&&_0x27d254(_0x5ce57e,_0x1baa0d,_0x279e58),_0x279e58;},_0x3e8e64=(_0x2f2859,_0x3ba62d)=>(_0xa44710,_0x2b9ceb)=>_0x3ba62d(_0xa44710,_0x2b9ceb,_0x2f2859);let _0x46612c=class{constructor(_0x115ed0,_0x56b6a4,_0x30e9f1){const _0x2ccf62=_0xd4a6c7;this[_0x2ccf62(0x3ec)]=_0x115ed0,this[_0x2ccf62(0x42d)]=_0x56b6a4,this[_0x2ccf62(0x1aa)]=_0x30e9f1,this['init']();}['init'](){const _0x404fd9=_0xd4a6c7;this[_0x404fd9(0x42d)][_0x404fd9(0x313)]({'priority':0x1,'interceptor':(_0x150d69,_0x21ac38)=>_0x21ac38(_0x150d69)[_0x404fd9(0x3dd)](_0x3c9c2d[_0x404fd9(0xfa)](async _0x1143eb=>{const _0x5c2210=_0x404fd9,_0x4801ed=_0x1143eb;if(_0x4801ed[_0x5c2210(0x51f)]===0x191&&window[_0x5c2210(0x3ab)](this['localeService']['t'](_0x5c2210(0x182)))){const _0x2eb6d4=window[_0x5c2210(0x11e)](window[_0x5c2210(0x471)][_0x5c2210(0x104)]);window['location'][_0x5c2210(0x104)]=this['_getLoginPath']()+_0x5c2210(0x4e1)+_0x2eb6d4;}return _0x4801ed;}))});}[_0xd4a6c7(0x50f)](){const _0x1c721b=_0xd4a6c7;var _0x280ab7,_0x58953b;const _0x4d5933=this['_configService'][_0x1c721b(0x184)](_0x343e77),_0x3a3df9=this['_configService'][_0x1c721b(0x184)](_0x158e85);return(_0x58953b=(_0x280ab7=_0x3a3df9==null?void 0x0:_0x3a3df9[_0x1c721b(0x315)])!=null?_0x280ab7:_0x4d5933)!=null?_0x58953b:_0x46a6a1;}};_0x46612c=_0x43d550([_0x3e8e64(0x0,_0x411d72[_0xd4a6c7(0x384)]),_0x3e8e64(0x1,_0x411d72[_0xd4a6c7(0x371)](_0x30b9e9[_0xd4a6c7(0x103)])),_0x3e8e64(0x2,_0x411d72['Inject'](_0x411d72[_0xd4a6c7(0x117)]))],_0x46612c);var _0x4a871f=Object[_0xd4a6c7(0x1a4)],_0x6ec696=Object[_0xd4a6c7(0x47a)],_0x253288=(_0x4d1372,_0x34baa0,_0x40ad3c,_0x8c8817)=>{const _0x1290aa=_0xd4a6c7;for(var _0x5685ed=_0x8c8817>0x1?void 0x0:_0x8c8817?_0x6ec696(_0x34baa0,_0x40ad3c):_0x34baa0,_0x3cf39a=_0x4d1372[_0x1290aa(0x26b)]-0x1,_0x5dcfff;_0x3cf39a>=0x0;_0x3cf39a--)(_0x5dcfff=_0x4d1372[_0x3cf39a])&&(_0x5685ed=(_0x8c8817?_0x5dcfff(_0x34baa0,_0x40ad3c,_0x5685ed):_0x5dcfff(_0x5685ed))||_0x5685ed);return _0x8c8817&&_0x5685ed&&_0x4a871f(_0x34baa0,_0x40ad3c,_0x5685ed),_0x5685ed;},_0x1b8213=(_0x3d38fc,_0x57a25f)=>(_0x18da8e,_0x4dbf0e)=>_0x57a25f(_0x18da8e,_0x4dbf0e,_0x3d38fc);const _0x48ad57=_0xd4a6c7(0x4d0),_0x3eb9a4=_0xd4a6c7(0x23b);_0x59c9b4[_0xd4a6c7(0x2a9)]=class extends _0x411d72[_0xd4a6c7(0x28f)]{constructor(_0x1dfd4c,_0x5be3d5){const _0x5c773e=_0xd4a6c7;super(),this[_0x5c773e(0x4a8)]=_0x1dfd4c,this[_0x5c773e(0x3ec)]=_0x5be3d5,this[_0x5c773e(0x1ae)]();}['_initMergeInterceptor'](){const _0x5438e3=_0xd4a6c7,_0x38c2a4=this;this['disposeWithMe'](this[_0x5438e3(0x4a8)][_0x5438e3(0x313)]({'priority':0x3e7,'interceptor':_0x30b9e9[_0x5438e3(0x195)]({'isMatch'(_0x5c97d8){const _0x344d9c=_0x5438e3;var _0x1c0deb;if(_0x5c97d8[_0x344d9c(0x188)]===_0x344d9c(0x3d0)&&((_0x1c0deb=_0x5c97d8[_0x344d9c(0x4f0)])!=null&&_0x1c0deb['body'])){const {objectID:_0x1a7860,objectType:_0x43f623}=_0x5c97d8['requestParams'][_0x344d9c(0x397)]||{};if(!_0x1a7860||_0x43f623===void 0x0)return!0x1;const _0x50c99d=_0x38c2a4[_0x344d9c(0x276)]()+'/'+_0x43f623+'/object/'+_0x1a7860+_0x344d9c(0x23c);if(_0x5c97d8[_0x344d9c(0x1eb)]===_0x50c99d)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x56f919){const _0x23ab4d=_0x5438e3;var _0x1ae9cd;return(_0x1ae9cd=_0x56f919['requestParams'])==null?void 0x0:_0x1ae9cd[_0x23ab4d(0x397)];},'mergeParamsToRequest'(_0x54b074,_0xad4c0c){const _0x38252c=_0x5438e3,_0x571c51=_0x38c2a4[_0x38252c(0x276)]()+_0x38252c(0x400),_0x7a21d7=_0x54b074[_0x38252c(0x3d5)]((_0xfb1060,_0x6aa601)=>{const _0x5d7b28=_0x38252c,{unitID:_0x4483c3,objectID:_0x3fc0a3,objectType:_0x1c6376,actions:_0x13845b}=_0x6aa601;return _0xfb1060[_0x4483c3]||(_0xfb1060[_0x4483c3]={}),_0xfb1060[_0x4483c3][_0x3fc0a3]||(_0xfb1060[_0x4483c3][_0x3fc0a3]={'objectID':_0x3fc0a3,'objectType':_0x1c6376,'actions':[]}),_0xfb1060[_0x4483c3][_0x3fc0a3][_0x5d7b28(0x512)][_0x5d7b28(0x2d7)](..._0x13845b),_0xfb1060;},{}),_0xaada7a=[];for(const _0x5a6e3e in _0x7a21d7)for(const _0x222211 in _0x7a21d7[_0x5a6e3e]){const {actions:_0x870433,objectType:_0x490a7a}=_0x7a21d7[_0x5a6e3e][_0x222211],_0x3b7001=[...new Set(_0x870433)];_0xaada7a[_0x38252c(0x2d7)]({'unitID':_0x5a6e3e,'objectID':_0x222211,'objectType':_0x490a7a,'actions':_0x3b7001});}return new _0x30b9e9[(_0x38252c(0xe8))](_0x38252c(0x3d0),_0x571c51,{'headers':_0xad4c0c[_0x38252c(0x3b9)],'withCredentials':_0xad4c0c[_0x38252c(0x361)],'responseType':_0xad4c0c[_0x38252c(0x1e8)],'body':{'requests':_0xaada7a}});}},{'distributeResult'(_0x2d6179,_0x611bc7){const _0x177a33=_0x5438e3,{objectActions:_0x5ee113}=_0x2d6179;return _0x611bc7[_0x177a33(0x357)](_0x43d94e=>{const _0x22ce4d=_0x177a33,{unitID:_0x59016b,objectID:_0x16882b,actions:_0x4e837d}=_0x43d94e,_0x3ad392=_0x5ee113[_0x22ce4d(0x499)](_0x36ea15=>_0x36ea15[_0x22ce4d(0x224)]===_0x59016b&&_0x36ea15[_0x22ce4d(0x4a6)]===_0x16882b),_0xae6b54=_0x4e837d[_0x22ce4d(0x357)](_0x3be03a=>_0x3ad392==null?void 0x0:_0x3ad392[_0x22ce4d(0x512)][_0x22ce4d(0x499)](_0x7ca3=>_0x7ca3[_0x22ce4d(0x4ad)]===_0x3be03a))['filter'](_0x3fe186=>!!_0x3fe186);return{'config':_0x43d94e,'result':{'actions':_0xae6b54,'error':_0x2d6179[_0x22ce4d(0x311)]}};});}})}));}['_getAPIPrefixPath'](){const _0x10d550=_0xd4a6c7;var _0x2c81f8,_0x23036a;const _0x5192ab=this[_0x10d550(0x3ec)][_0x10d550(0x184)](_0x48ad57),_0x380064=this[_0x10d550(0x3ec)][_0x10d550(0x184)](_0x158e85);return(_0x23036a=(_0x2c81f8=_0x380064==null?void 0x0:_0x380064[_0x10d550(0x37e)])!=null?_0x2c81f8:_0x5192ab)!=null?_0x23036a:_0x3eb9a4;}async[_0xd4a6c7(0x1a5)](_0x325293){const _0x144a8a=_0xd4a6c7,_0x1c4d9c=this['_getAPIPrefixPath']()+'/'+_0x325293['objectType']+'/object';return(await this[_0x144a8a(0x4a8)][_0x144a8a(0x3b3)](_0x1c4d9c,{'body':_0x325293}))['body'][_0x144a8a(0x4a6)]||'';}async['list'](_0x10df37){const _0x20bf40=_0xd4a6c7,_0xe2bdf8=this[_0x20bf40(0x276)]()+_0x20bf40(0x113);return(await this[_0x20bf40(0x4a8)][_0x20bf40(0x3b3)](_0xe2bdf8,{'body':_0x10df37}))[_0x20bf40(0x397)][_0x20bf40(0x259)];}async['update'](_0x443e8a){const _0x25daba=_0xd4a6c7,_0x9692cf=this[_0x25daba(0x276)]()+'/'+_0x443e8a[_0x25daba(0x3fe)]+'/object/'+_0x443e8a[_0x25daba(0x4a6)];await this['_HTTPService'][_0x25daba(0x500)](_0x9692cf,{'body':_0x443e8a});}async[_0xd4a6c7(0x4ec)](_0x526a20){const _0x152941=_0xd4a6c7,_0x549920=this[_0x152941(0x276)]()+'/'+_0x526a20['objectType']+_0x152941(0x4c4)+_0x526a20[_0x152941(0x4a6)]+_0x152941(0x23c);return(await this['_HTTPService'][_0x152941(0x3b3)](_0x549920,{'body':_0x526a20}))['body']['actions'];}async['batchAllowed'](_0x42f01d){const _0x2bc950=_0xd4a6c7,_0xa1d258=this[_0x2bc950(0x276)]()+_0x2bc950(0x400);return(await this[_0x2bc950(0x4a8)][_0x2bc950(0x3b3)](_0xa1d258,{'body':{'requests':_0x42f01d}}))['body'][_0x2bc950(0x31b)];}async[_0xd4a6c7(0x9f)](_0xe8ec1f){const _0x53d860=_0xd4a6c7,_0x508b49=this[_0x53d860(0x276)]()+'/'+_0xe8ec1f[_0x53d860(0x3fe)]+_0x53d860(0xd6),_0x3cad33=await this[_0x53d860(0x4a8)][_0x53d860(0x3b3)](_0x508b49,{'body':_0xe8ec1f});return{'roles':_0x3cad33[_0x53d860(0x397)][_0x53d860(0x243)],'actions':_0x3cad33['body'][_0x53d860(0x512)]};}async[_0xd4a6c7(0x2ff)](_0x1b04c6){const _0x22b76a=_0xd4a6c7,_0x1b9b74=this[_0x22b76a(0x276)]()+_0x22b76a(0x3bc);await this['_HTTPService'][_0x22b76a(0xea)](_0x1b9b74,{'params':{'collaboratorID':_0x1b04c6[_0x22b76a(0x4da)],'objectID':_0x1b04c6[_0x22b76a(0x4a6)],'unitID':_0x1b04c6[_0x22b76a(0x224)]}});}async['updateCollaborator'](_0x2b327c){const _0x45dcb0=_0xd4a6c7,_0x3cec94=this[_0x45dcb0(0x276)]()+'/collaborator';await this['_HTTPService'][_0x45dcb0(0xeb)](_0x3cec94,{'body':_0x2b327c});}async[_0xd4a6c7(0x4c8)](_0x1d84d5){const _0x5a6d21=_0xd4a6c7,_0x2396a0=this['_getAPIPrefixPath']()+_0x5a6d21(0x3bc);await this[_0x5a6d21(0x4a8)]['post'](_0x2396a0,{'body':_0x1d84d5});}async[_0xd4a6c7(0x13c)](_0x235787){const _0xfb0743=_0xd4a6c7,_0x52f021=this[_0xfb0743(0x276)]()+_0xfb0743(0x3bc);return(await this[_0xfb0743(0x4a8)][_0xfb0743(0x1c9)](_0x52f021,{'params':{'objectID':_0x235787[_0xfb0743(0x4a6)],'unitID':_0x235787['unitID']}}))[_0xfb0743(0x397)][_0xfb0743(0x126)];}async[_0xd4a6c7(0x378)](_0x5832e2){const _0x4e0b51=_0xd4a6c7,_0x4bd805=this['_getAPIPrefixPath']()+_0x4e0b51(0x3bc);await this[_0x4e0b51(0x4a8)]['put'](_0x4bd805,{'body':_0x5832e2});}},_0x59c9b4[_0xd4a6c7(0x2a9)]=_0x253288([_0x1b8213(0x0,_0x411d72[_0xd4a6c7(0x371)](_0x30b9e9['HTTPService'])),_0x1b8213(0x1,_0x411d72[_0xd4a6c7(0x371)](_0x411d72['IConfigService']))],_0x59c9b4['AuthzIoHttpService']);var _0x11c85b={'exports':{}};function _0x361116(_0x3bd396){const _0xcfb877=_0xd4a6c7;throw new Error(_0xcfb877(0x199)+_0x3bd396+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var _0x1c23bb={'exports':{}},_0x3aaabd;function _0xbeb1f(){const _0x28bb23=_0xd4a6c7;return _0x3aaabd||(_0x3aaabd=0x1,function(_0x1a83d9,_0x13fb44){(function(_0x5d0936,_0x5ada24){_0x1a83d9['exports']=_0x5ada24();}(_0x3565ba,function(){var _0x28004d=_0x28004d||function(_0x23ba41,_0x379d01){const _0x3b6adc=_0x5231;var _0x556a3d;if(typeof window<'u'&&window[_0x3b6adc(0x268)]&&(_0x556a3d=window[_0x3b6adc(0x268)]),typeof self<'u'&&self[_0x3b6adc(0x268)]&&(_0x556a3d=self[_0x3b6adc(0x268)]),typeof globalThis<'u'&&globalThis[_0x3b6adc(0x268)]&&(_0x556a3d=globalThis[_0x3b6adc(0x268)]),!_0x556a3d&&typeof window<'u'&&window[_0x3b6adc(0x43f)]&&(_0x556a3d=window[_0x3b6adc(0x43f)]),!_0x556a3d&&typeof _0x3565ba<'u'&&_0x3565ba[_0x3b6adc(0x268)]&&(_0x556a3d=_0x3565ba[_0x3b6adc(0x268)]),!_0x556a3d&&typeof _0x361116=='function')try{_0x556a3d=require('crypto');}catch{}var _0x2a82bc=function(){const _0x554b65=_0x3b6adc;if(_0x556a3d){if(typeof _0x556a3d['getRandomValues']==_0x554b65(0x31a))try{return _0x556a3d[_0x554b65(0x3a4)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x556a3d['randomBytes']==_0x554b65(0x31a))try{return _0x556a3d[_0x554b65(0x4e2)](0x4)[_0x554b65(0x1c7)]();}catch{}}throw new Error(_0x554b65(0x110));},_0x12bd99=Object[_0x3b6adc(0x1a5)]||(function(){function _0x3d4150(){}return function(_0x22b3f6){const _0x1050a2=_0x5231;var _0x4ae2ad;return _0x3d4150[_0x1050a2(0x2d1)]=_0x22b3f6,_0x4ae2ad=new _0x3d4150(),_0x3d4150['prototype']=null,_0x4ae2ad;};}()),_0x23dea6={},_0x2f8847=_0x23dea6[_0x3b6adc(0x4ea)]={},_0x2e9107=_0x2f8847[_0x3b6adc(0x13e)]=(function(){return{'extend':function(_0x5690e1){const _0x8a4ac8=_0x5231;var _0x506c91=_0x12bd99(this);return _0x5690e1&&_0x506c91[_0x8a4ac8(0x294)](_0x5690e1),(!_0x506c91[_0x8a4ac8(0x433)](_0x8a4ac8(0x3ed))||this[_0x8a4ac8(0x3ed)]===_0x506c91[_0x8a4ac8(0x3ed)])&&(_0x506c91[_0x8a4ac8(0x3ed)]=function(){const _0x341ea0=_0x8a4ac8;_0x506c91[_0x341ea0(0x22d)]['init'][_0x341ea0(0x420)](this,arguments);}),_0x506c91[_0x8a4ac8(0x3ed)]['prototype']=_0x506c91,_0x506c91[_0x8a4ac8(0x22d)]=this,_0x506c91;},'create':function(){const _0x38f0b3=_0x5231;var _0x3aca90=this['extend']();return _0x3aca90[_0x38f0b3(0x3ed)][_0x38f0b3(0x420)](_0x3aca90,arguments),_0x3aca90;},'init':function(){},'mixIn':function(_0x1e41ed){const _0xa641ef=_0x5231;for(var _0x38f881 in _0x1e41ed)_0x1e41ed[_0xa641ef(0x433)](_0x38f881)&&(this[_0x38f881]=_0x1e41ed[_0x38f881]);_0x1e41ed[_0xa641ef(0x433)](_0xa641ef(0x28d))&&(this[_0xa641ef(0x28d)]=_0x1e41ed['toString']);},'clone':function(){const _0x2e5d40=_0x5231;return this[_0x2e5d40(0x3ed)][_0x2e5d40(0x2d1)][_0x2e5d40(0x403)](this);}};}()),_0x12ba46=_0x2f8847[_0x3b6adc(0x54c)]=_0x2e9107[_0x3b6adc(0x403)]({'init':function(_0x375bce,_0x12bcd6){const _0x22ebd9=_0x3b6adc;_0x375bce=this[_0x22ebd9(0x2fa)]=_0x375bce||[],_0x12bcd6!=_0x379d01?this[_0x22ebd9(0x4f9)]=_0x12bcd6:this[_0x22ebd9(0x4f9)]=_0x375bce[_0x22ebd9(0x26b)]*0x4;},'toString':function(_0x43de3d){const _0x2e7946=_0x3b6adc;return(_0x43de3d||_0x63dd2b)[_0x2e7946(0x275)](this);},'concat':function(_0x23d667){const _0x539ca8=_0x3b6adc;var _0x4fbfbe=this[_0x539ca8(0x2fa)],_0x38f1e0=_0x23d667['words'],_0x5c7944=this[_0x539ca8(0x4f9)],_0x3ce360=_0x23d667['sigBytes'];if(this[_0x539ca8(0x145)](),_0x5c7944%0x4)for(var _0x186916=0x0;_0x186916<_0x3ce360;_0x186916++){var _0x5ee262=_0x38f1e0[_0x186916>>>0x2]>>>0x18-_0x186916%0x4*0x8&0xff;_0x4fbfbe[_0x5c7944+_0x186916>>>0x2]|=_0x5ee262<<0x18-(_0x5c7944+_0x186916)%0x4*0x8;}else{for(var _0x576c8a=0x0;_0x576c8a<_0x3ce360;_0x576c8a+=0x4)_0x4fbfbe[_0x5c7944+_0x576c8a>>>0x2]=_0x38f1e0[_0x576c8a>>>0x2];}return this[_0x539ca8(0x4f9)]+=_0x3ce360,this;},'clamp':function(){const _0x40d0fd=_0x3b6adc;var _0x5d5636=this[_0x40d0fd(0x2fa)],_0x3372db=this[_0x40d0fd(0x4f9)];_0x5d5636[_0x3372db>>>0x2]&=0xffffffff<<0x20-_0x3372db%0x4*0x8,_0x5d5636[_0x40d0fd(0x26b)]=_0x23ba41[_0x40d0fd(0x34c)](_0x3372db/0x4);},'clone':function(){const _0x2afec5=_0x3b6adc;var _0xc9ca35=_0x2e9107[_0x2afec5(0x28e)][_0x2afec5(0x254)](this);return _0xc9ca35[_0x2afec5(0x2fa)]=this[_0x2afec5(0x2fa)][_0x2afec5(0x559)](0x0),_0xc9ca35;},'random':function(_0x1a0507){const _0x4dd713=_0x3b6adc;for(var _0x38d6e5=[],_0x4e2b61=0x0;_0x4e2b61<_0x1a0507;_0x4e2b61+=0x4)_0x38d6e5[_0x4dd713(0x2d7)](_0x2a82bc());return new _0x12ba46['init'](_0x38d6e5,_0x1a0507);}}),_0x36a78b=_0x23dea6[_0x3b6adc(0x3b8)]={},_0x63dd2b=_0x36a78b['Hex']={'stringify':function(_0x3977d1){const _0x169733=_0x3b6adc;for(var _0x555a8d=_0x3977d1[_0x169733(0x2fa)],_0x459516=_0x3977d1[_0x169733(0x4f9)],_0x546b78=[],_0x418fa4=0x0;_0x418fa4<_0x459516;_0x418fa4++){var _0x1fa158=_0x555a8d[_0x418fa4>>>0x2]>>>0x18-_0x418fa4%0x4*0x8&0xff;_0x546b78[_0x169733(0x2d7)]((_0x1fa158>>>0x4)[_0x169733(0x28d)](0x10)),_0x546b78['push']((_0x1fa158&0xf)['toString'](0x10));}return _0x546b78['join']('');},'parse':function(_0x295d9a){const _0x2fe81c=_0x3b6adc;for(var _0x45e5e5=_0x295d9a[_0x2fe81c(0x26b)],_0x47d4a7=[],_0x3cce21=0x0;_0x3cce21<_0x45e5e5;_0x3cce21+=0x2)_0x47d4a7[_0x3cce21>>>0x3]|=parseInt(_0x295d9a[_0x2fe81c(0x215)](_0x3cce21,0x2),0x10)<<0x18-_0x3cce21%0x8*0x4;return new _0x12ba46['init'](_0x47d4a7,_0x45e5e5/0x2);}},_0xa37e95=_0x36a78b[_0x3b6adc(0x54e)]={'stringify':function(_0x5b1c75){const _0x9aa3c1=_0x3b6adc;for(var _0x1b7fcc=_0x5b1c75[_0x9aa3c1(0x2fa)],_0xdc5862=_0x5b1c75[_0x9aa3c1(0x4f9)],_0x552a99=[],_0x4d186a=0x0;_0x4d186a<_0xdc5862;_0x4d186a++){var _0x43e8fc=_0x1b7fcc[_0x4d186a>>>0x2]>>>0x18-_0x4d186a%0x4*0x8&0xff;_0x552a99[_0x9aa3c1(0x2d7)](String[_0x9aa3c1(0x2b0)](_0x43e8fc));}return _0x552a99['join']('');},'parse':function(_0x451621){const _0x29c6a2=_0x3b6adc;for(var _0x50b5d1=_0x451621[_0x29c6a2(0x26b)],_0x563bd0=[],_0x411270=0x0;_0x411270<_0x50b5d1;_0x411270++)_0x563bd0[_0x411270>>>0x2]|=(_0x451621['charCodeAt'](_0x411270)&0xff)<<0x18-_0x411270%0x4*0x8;return new _0x12ba46[(_0x29c6a2(0x3ed))](_0x563bd0,_0x50b5d1);}},_0x248512=_0x36a78b['Utf8']={'stringify':function(_0x5520bd){const _0x150127=_0x3b6adc;try{return decodeURIComponent(escape(_0xa37e95[_0x150127(0x275)](_0x5520bd)));}catch{throw new Error(_0x150127(0x53e));}},'parse':function(_0x1690d6){const _0x3195b6=_0x3b6adc;return _0xa37e95[_0x3195b6(0x24e)](unescape(encodeURIComponent(_0x1690d6)));}},_0xd70731=_0x2f8847['BufferedBlockAlgorithm']=_0x2e9107['extend']({'reset':function(){const _0x3d8bbc=_0x3b6adc;this['_data']=new _0x12ba46['init'](),this[_0x3d8bbc(0x1c1)]=0x0;},'_append':function(_0x18bbed){const _0x290793=_0x3b6adc;typeof _0x18bbed==_0x290793(0x428)&&(_0x18bbed=_0x248512[_0x290793(0x24e)](_0x18bbed)),this['_data'][_0x290793(0x2d0)](_0x18bbed),this[_0x290793(0x1c1)]+=_0x18bbed[_0x290793(0x4f9)];},'_process':function(_0x518c2d){const _0x22a4ae=_0x3b6adc;var _0x5e9caf,_0x6c69c6=this[_0x22a4ae(0x1e4)],_0x218bae=_0x6c69c6['words'],_0x1d1a66=_0x6c69c6['sigBytes'],_0x502867=this[_0x22a4ae(0x36a)],_0x1c6b66=_0x502867*0x4,_0xed9c9e=_0x1d1a66/_0x1c6b66;_0x518c2d?_0xed9c9e=_0x23ba41[_0x22a4ae(0x34c)](_0xed9c9e):_0xed9c9e=_0x23ba41[_0x22a4ae(0x4cc)]((_0xed9c9e|0x0)-this['_minBufferSize'],0x0);var _0x5f125a=_0xed9c9e*_0x502867,_0x46db0d=_0x23ba41[_0x22a4ae(0x477)](_0x5f125a*0x4,_0x1d1a66);if(_0x5f125a){for(var _0x11e0ed=0x0;_0x11e0ed<_0x5f125a;_0x11e0ed+=_0x502867)this[_0x22a4ae(0x4b7)](_0x218bae,_0x11e0ed);_0x5e9caf=_0x218bae[_0x22a4ae(0x205)](0x0,_0x5f125a),_0x6c69c6[_0x22a4ae(0x4f9)]-=_0x46db0d;}return new _0x12ba46[(_0x22a4ae(0x3ed))](_0x5e9caf,_0x46db0d);},'clone':function(){const _0x3e198f=_0x3b6adc;var _0x1820cc=_0x2e9107[_0x3e198f(0x28e)][_0x3e198f(0x254)](this);return _0x1820cc[_0x3e198f(0x1e4)]=this[_0x3e198f(0x1e4)][_0x3e198f(0x28e)](),_0x1820cc;},'_minBufferSize':0x0});_0x2f8847[_0x3b6adc(0x345)]=_0xd70731['extend']({'cfg':_0x2e9107[_0x3b6adc(0x403)](),'init':function(_0x455a2a){const _0x29e337=_0x3b6adc;this[_0x29e337(0x2c5)]=this[_0x29e337(0x2c5)][_0x29e337(0x403)](_0x455a2a),this[_0x29e337(0x514)]();},'reset':function(){const _0x1c4da9=_0x3b6adc;_0xd70731['reset'][_0x1c4da9(0x254)](this),this['_doReset']();},'update':function(_0x344e0a){const _0x5025b0=_0x3b6adc;return this[_0x5025b0(0x41e)](_0x344e0a),this[_0x5025b0(0x365)](),this;},'finalize':function(_0x48aef9){const _0x232a7f=_0x3b6adc;_0x48aef9&&this[_0x232a7f(0x41e)](_0x48aef9);var _0xd82829=this['_doFinalize']();return _0xd82829;},'blockSize':0x10,'_createHelper':function(_0x416493){return function(_0x29f16d,_0x27b1c5){const _0x318c52=_0x5231;return new _0x416493[(_0x318c52(0x3ed))](_0x27b1c5)[_0x318c52(0x1b9)](_0x29f16d);};},'_createHmacHelper':function(_0x578545){return function(_0x123a90,_0x1a55b9){const _0x1818d9=_0x5231;return new _0x59a3b9[(_0x1818d9(0x48d))][(_0x1818d9(0x3ed))](_0x578545,_0x1a55b9)[_0x1818d9(0x1b9)](_0x123a90);};}});var _0x59a3b9=_0x23dea6['algo']={};return _0x23dea6;}(Math);return _0x28004d;}));}(_0x1c23bb)),_0x1c23bb[_0x28bb23(0x4fa)];}var _0xef665e={'exports':{}},_0x5bfb7f;function _0xd1815a(){const _0x2631b2=_0xd4a6c7;return _0x5bfb7f||(_0x5bfb7f=0x1,function(_0x4c9bcc,_0x3f3de2){(function(_0x62511a,_0x5a75c0){const _0x3ea063=_0x5231;_0x4c9bcc[_0x3ea063(0x4fa)]=_0x5a75c0(_0xbeb1f());}(_0x3565ba,function(_0xe80cb9){const _0x2372b9=_0x5231;return(function(){const _0x5b1b99=_0x5231;var _0x1bfe13=_0xe80cb9,_0x57f5a7=_0x1bfe13[_0x5b1b99(0x4ea)],_0x261e10=_0x57f5a7['WordArray'],_0x3a6a70=_0x1bfe13[_0x5b1b99(0x3b8)];_0x3a6a70[_0x5b1b99(0x555)]={'stringify':function(_0x167fa5){const _0x33db7d=_0x5b1b99;var _0x3b0314=_0x167fa5[_0x33db7d(0x2fa)],_0x4762c5=_0x167fa5[_0x33db7d(0x4f9)],_0x4e3cd4=this[_0x33db7d(0x1d3)];_0x167fa5[_0x33db7d(0x145)]();for(var _0x3bb7d7=[],_0x875999=0x0;_0x875999<_0x4762c5;_0x875999+=0x3)for(var _0x418ec3=_0x3b0314[_0x875999>>>0x2]>>>0x18-_0x875999%0x4*0x8&0xff,_0x58c7de=_0x3b0314[_0x875999+0x1>>>0x2]>>>0x18-(_0x875999+0x1)%0x4*0x8&0xff,_0x4460d3=_0x3b0314[_0x875999+0x2>>>0x2]>>>0x18-(_0x875999+0x2)%0x4*0x8&0xff,_0x491ad8=_0x418ec3<<0x10|_0x58c7de<<0x8|_0x4460d3,_0x3f352a=0x0;_0x3f352a<0x4&&_0x875999+_0x3f352a*0.75<_0x4762c5;_0x3f352a++)_0x3bb7d7[_0x33db7d(0x2d7)](_0x4e3cd4[_0x33db7d(0x476)](_0x491ad8>>>0x6*(0x3-_0x3f352a)&0x3f));var _0x106412=_0x4e3cd4[_0x33db7d(0x476)](0x40);if(_0x106412){for(;_0x3bb7d7[_0x33db7d(0x26b)]%0x4;)_0x3bb7d7[_0x33db7d(0x2d7)](_0x106412);}return _0x3bb7d7[_0x33db7d(0x368)]('');},'parse':function(_0xb6d82f){const _0x2195b5=_0x5b1b99;var _0xb288c=_0xb6d82f[_0x2195b5(0x26b)],_0x20c51f=this[_0x2195b5(0x1d3)],_0x118273=this[_0x2195b5(0x1fe)];if(!_0x118273){_0x118273=this[_0x2195b5(0x1fe)]=[];for(var _0x5d4803=0x0;_0x5d4803<_0x20c51f[_0x2195b5(0x26b)];_0x5d4803++)_0x118273[_0x20c51f[_0x2195b5(0xa0)](_0x5d4803)]=_0x5d4803;}var _0x8c95f9=_0x20c51f[_0x2195b5(0x476)](0x40);if(_0x8c95f9){var _0x254809=_0xb6d82f[_0x2195b5(0x219)](_0x8c95f9);_0x254809!==-0x1&&(_0xb288c=_0x254809);}return _0x30fe33(_0xb6d82f,_0xb288c,_0x118273);},'_map':_0x5b1b99(0x48b)};function _0x30fe33(_0xb6a85f,_0x59ce95,_0x322743){const _0x10902d=_0x5b1b99;for(var _0x4105ca=[],_0x333402=0x0,_0x4a9e6e=0x0;_0x4a9e6e<_0x59ce95;_0x4a9e6e++)if(_0x4a9e6e%0x4){var _0x15277b=_0x322743[_0xb6a85f['charCodeAt'](_0x4a9e6e-0x1)]<<_0x4a9e6e%0x4*0x2,_0x2638ed=_0x322743[_0xb6a85f['charCodeAt'](_0x4a9e6e)]>>>0x6-_0x4a9e6e%0x4*0x2,_0x27a85a=_0x15277b|_0x2638ed;_0x4105ca[_0x333402>>>0x2]|=_0x27a85a<<0x18-_0x333402%0x4*0x8,_0x333402++;}return _0x261e10[_0x10902d(0x1a5)](_0x4105ca,_0x333402);}}()),_0xe80cb9[_0x2372b9(0x3b8)][_0x2372b9(0x555)];}));}(_0xef665e)),_0xef665e[_0x2631b2(0x4fa)];}var _0x4e249e={'exports':{}},_0x475383;function _0x19d3e2(){const _0x135ba7=_0xd4a6c7;return _0x475383||(_0x475383=0x1,function(_0x5a837a,_0x4fa6d9){(function(_0x1f55ad,_0x42d4fb){const _0x3d83e6=_0x5231;_0x5a837a[_0x3d83e6(0x4fa)]=_0x42d4fb(_0xbeb1f());}(_0x3565ba,function(_0x5db96c){const _0x226872=_0x5231;return function(_0x285a51){const _0x160875=_0x5231;var _0x12e61a=_0x5db96c,_0x59ab6a=_0x12e61a[_0x160875(0x4ea)],_0x339c58=_0x59ab6a['WordArray'],_0x134342=_0x59ab6a['Hasher'],_0x4af6a5=_0x12e61a['algo'],_0x2037ee=[];(function(){for(var _0x483f57=0x0;_0x483f57<0x40;_0x483f57++)_0x2037ee[_0x483f57]=_0x285a51['abs'](_0x285a51['sin'](_0x483f57+0x1))*0x100000000|0x0;}());var _0x53c5cb=_0x4af6a5[_0x160875(0x3f0)]=_0x134342[_0x160875(0x403)]({'_doReset':function(){this['_hash']=new _0x339c58['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x21a863,_0x1eb6ef){const _0x4c880b=_0x160875;for(var _0x2945ad=0x0;_0x2945ad<0x10;_0x2945ad++){var _0x52910d=_0x1eb6ef+_0x2945ad,_0x407e67=_0x21a863[_0x52910d];_0x21a863[_0x52910d]=(_0x407e67<<0x8|_0x407e67>>>0x18)&0xff00ff|(_0x407e67<<0x18|_0x407e67>>>0x8)&0xff00ff00;}var _0x2a288f=this[_0x4c880b(0x1ee)]['words'],_0x11bdd0=_0x21a863[_0x1eb6ef+0x0],_0x2f5069=_0x21a863[_0x1eb6ef+0x1],_0x1c8ebe=_0x21a863[_0x1eb6ef+0x2],_0x22141b=_0x21a863[_0x1eb6ef+0x3],_0x35f1ed=_0x21a863[_0x1eb6ef+0x4],_0x3a0b14=_0x21a863[_0x1eb6ef+0x5],_0x30d630=_0x21a863[_0x1eb6ef+0x6],_0x3f67f2=_0x21a863[_0x1eb6ef+0x7],_0x4244ca=_0x21a863[_0x1eb6ef+0x8],_0xe75131=_0x21a863[_0x1eb6ef+0x9],_0x5bc5a4=_0x21a863[_0x1eb6ef+0xa],_0x1796d5=_0x21a863[_0x1eb6ef+0xb],_0x5f24b6=_0x21a863[_0x1eb6ef+0xc],_0xfcf639=_0x21a863[_0x1eb6ef+0xd],_0x1bef5=_0x21a863[_0x1eb6ef+0xe],_0x100666=_0x21a863[_0x1eb6ef+0xf],_0x4d1f65=_0x2a288f[0x0],_0x164e8d=_0x2a288f[0x1],_0x4fa776=_0x2a288f[0x2],_0x317602=_0x2a288f[0x3];_0x4d1f65=_0x273217(_0x4d1f65,_0x164e8d,_0x4fa776,_0x317602,_0x11bdd0,0x7,_0x2037ee[0x0]),_0x317602=_0x273217(_0x317602,_0x4d1f65,_0x164e8d,_0x4fa776,_0x2f5069,0xc,_0x2037ee[0x1]),_0x4fa776=_0x273217(_0x4fa776,_0x317602,_0x4d1f65,_0x164e8d,_0x1c8ebe,0x11,_0x2037ee[0x2]),_0x164e8d=_0x273217(_0x164e8d,_0x4fa776,_0x317602,_0x4d1f65,_0x22141b,0x16,_0x2037ee[0x3]),_0x4d1f65=_0x273217(_0x4d1f65,_0x164e8d,_0x4fa776,_0x317602,_0x35f1ed,0x7,_0x2037ee[0x4]),_0x317602=_0x273217(_0x317602,_0x4d1f65,_0x164e8d,_0x4fa776,_0x3a0b14,0xc,_0x2037ee[0x5]),_0x4fa776=_0x273217(_0x4fa776,_0x317602,_0x4d1f65,_0x164e8d,_0x30d630,0x11,_0x2037ee[0x6]),_0x164e8d=_0x273217(_0x164e8d,_0x4fa776,_0x317602,_0x4d1f65,_0x3f67f2,0x16,_0x2037ee[0x7]),_0x4d1f65=_0x273217(_0x4d1f65,_0x164e8d,_0x4fa776,_0x317602,_0x4244ca,0x7,_0x2037ee[0x8]),_0x317602=_0x273217(_0x317602,_0x4d1f65,_0x164e8d,_0x4fa776,_0xe75131,0xc,_0x2037ee[0x9]),_0x4fa776=_0x273217(_0x4fa776,_0x317602,_0x4d1f65,_0x164e8d,_0x5bc5a4,0x11,_0x2037ee[0xa]),_0x164e8d=_0x273217(_0x164e8d,_0x4fa776,_0x317602,_0x4d1f65,_0x1796d5,0x16,_0x2037ee[0xb]),_0x4d1f65=_0x273217(_0x4d1f65,_0x164e8d,_0x4fa776,_0x317602,_0x5f24b6,0x7,_0x2037ee[0xc]),_0x317602=_0x273217(_0x317602,_0x4d1f65,_0x164e8d,_0x4fa776,_0xfcf639,0xc,_0x2037ee[0xd]),_0x4fa776=_0x273217(_0x4fa776,_0x317602,_0x4d1f65,_0x164e8d,_0x1bef5,0x11,_0x2037ee[0xe]),_0x164e8d=_0x273217(_0x164e8d,_0x4fa776,_0x317602,_0x4d1f65,_0x100666,0x16,_0x2037ee[0xf]),_0x4d1f65=_0x1cb2cb(_0x4d1f65,_0x164e8d,_0x4fa776,_0x317602,_0x2f5069,0x5,_0x2037ee[0x10]),_0x317602=_0x1cb2cb(_0x317602,_0x4d1f65,_0x164e8d,_0x4fa776,_0x30d630,0x9,_0x2037ee[0x11]),_0x4fa776=_0x1cb2cb(_0x4fa776,_0x317602,_0x4d1f65,_0x164e8d,_0x1796d5,0xe,_0x2037ee[0x12]),_0x164e8d=_0x1cb2cb(_0x164e8d,_0x4fa776,_0x317602,_0x4d1f65,_0x11bdd0,0x14,_0x2037ee[0x13]),_0x4d1f65=_0x1cb2cb(_0x4d1f65,_0x164e8d,_0x4fa776,_0x317602,_0x3a0b14,0x5,_0x2037ee[0x14]),_0x317602=_0x1cb2cb(_0x317602,_0x4d1f65,_0x164e8d,_0x4fa776,_0x5bc5a4,0x9,_0x2037ee[0x15]),_0x4fa776=_0x1cb2cb(_0x4fa776,_0x317602,_0x4d1f65,_0x164e8d,_0x100666,0xe,_0x2037ee[0x16]),_0x164e8d=_0x1cb2cb(_0x164e8d,_0x4fa776,_0x317602,_0x4d1f65,_0x35f1ed,0x14,_0x2037ee[0x17]),_0x4d1f65=_0x1cb2cb(_0x4d1f65,_0x164e8d,_0x4fa776,_0x317602,_0xe75131,0x5,_0x2037ee[0x18]),_0x317602=_0x1cb2cb(_0x317602,_0x4d1f65,_0x164e8d,_0x4fa776,_0x1bef5,0x9,_0x2037ee[0x19]),_0x4fa776=_0x1cb2cb(_0x4fa776,_0x317602,_0x4d1f65,_0x164e8d,_0x22141b,0xe,_0x2037ee[0x1a]),_0x164e8d=_0x1cb2cb(_0x164e8d,_0x4fa776,_0x317602,_0x4d1f65,_0x4244ca,0x14,_0x2037ee[0x1b]),_0x4d1f65=_0x1cb2cb(_0x4d1f65,_0x164e8d,_0x4fa776,_0x317602,_0xfcf639,0x5,_0x2037ee[0x1c]),_0x317602=_0x1cb2cb(_0x317602,_0x4d1f65,_0x164e8d,_0x4fa776,_0x1c8ebe,0x9,_0x2037ee[0x1d]),_0x4fa776=_0x1cb2cb(_0x4fa776,_0x317602,_0x4d1f65,_0x164e8d,_0x3f67f2,0xe,_0x2037ee[0x1e]),_0x164e8d=_0x1cb2cb(_0x164e8d,_0x4fa776,_0x317602,_0x4d1f65,_0x5f24b6,0x14,_0x2037ee[0x1f]),_0x4d1f65=_0x5034cd(_0x4d1f65,_0x164e8d,_0x4fa776,_0x317602,_0x3a0b14,0x4,_0x2037ee[0x20]),_0x317602=_0x5034cd(_0x317602,_0x4d1f65,_0x164e8d,_0x4fa776,_0x4244ca,0xb,_0x2037ee[0x21]),_0x4fa776=_0x5034cd(_0x4fa776,_0x317602,_0x4d1f65,_0x164e8d,_0x1796d5,0x10,_0x2037ee[0x22]),_0x164e8d=_0x5034cd(_0x164e8d,_0x4fa776,_0x317602,_0x4d1f65,_0x1bef5,0x17,_0x2037ee[0x23]),_0x4d1f65=_0x5034cd(_0x4d1f65,_0x164e8d,_0x4fa776,_0x317602,_0x2f5069,0x4,_0x2037ee[0x24]),_0x317602=_0x5034cd(_0x317602,_0x4d1f65,_0x164e8d,_0x4fa776,_0x35f1ed,0xb,_0x2037ee[0x25]),_0x4fa776=_0x5034cd(_0x4fa776,_0x317602,_0x4d1f65,_0x164e8d,_0x3f67f2,0x10,_0x2037ee[0x26]),_0x164e8d=_0x5034cd(_0x164e8d,_0x4fa776,_0x317602,_0x4d1f65,_0x5bc5a4,0x17,_0x2037ee[0x27]),_0x4d1f65=_0x5034cd(_0x4d1f65,_0x164e8d,_0x4fa776,_0x317602,_0xfcf639,0x4,_0x2037ee[0x28]),_0x317602=_0x5034cd(_0x317602,_0x4d1f65,_0x164e8d,_0x4fa776,_0x11bdd0,0xb,_0x2037ee[0x29]),_0x4fa776=_0x5034cd(_0x4fa776,_0x317602,_0x4d1f65,_0x164e8d,_0x22141b,0x10,_0x2037ee[0x2a]),_0x164e8d=_0x5034cd(_0x164e8d,_0x4fa776,_0x317602,_0x4d1f65,_0x30d630,0x17,_0x2037ee[0x2b]),_0x4d1f65=_0x5034cd(_0x4d1f65,_0x164e8d,_0x4fa776,_0x317602,_0xe75131,0x4,_0x2037ee[0x2c]),_0x317602=_0x5034cd(_0x317602,_0x4d1f65,_0x164e8d,_0x4fa776,_0x5f24b6,0xb,_0x2037ee[0x2d]),_0x4fa776=_0x5034cd(_0x4fa776,_0x317602,_0x4d1f65,_0x164e8d,_0x100666,0x10,_0x2037ee[0x2e]),_0x164e8d=_0x5034cd(_0x164e8d,_0x4fa776,_0x317602,_0x4d1f65,_0x1c8ebe,0x17,_0x2037ee[0x2f]),_0x4d1f65=_0x16a15c(_0x4d1f65,_0x164e8d,_0x4fa776,_0x317602,_0x11bdd0,0x6,_0x2037ee[0x30]),_0x317602=_0x16a15c(_0x317602,_0x4d1f65,_0x164e8d,_0x4fa776,_0x3f67f2,0xa,_0x2037ee[0x31]),_0x4fa776=_0x16a15c(_0x4fa776,_0x317602,_0x4d1f65,_0x164e8d,_0x1bef5,0xf,_0x2037ee[0x32]),_0x164e8d=_0x16a15c(_0x164e8d,_0x4fa776,_0x317602,_0x4d1f65,_0x3a0b14,0x15,_0x2037ee[0x33]),_0x4d1f65=_0x16a15c(_0x4d1f65,_0x164e8d,_0x4fa776,_0x317602,_0x5f24b6,0x6,_0x2037ee[0x34]),_0x317602=_0x16a15c(_0x317602,_0x4d1f65,_0x164e8d,_0x4fa776,_0x22141b,0xa,_0x2037ee[0x35]),_0x4fa776=_0x16a15c(_0x4fa776,_0x317602,_0x4d1f65,_0x164e8d,_0x5bc5a4,0xf,_0x2037ee[0x36]),_0x164e8d=_0x16a15c(_0x164e8d,_0x4fa776,_0x317602,_0x4d1f65,_0x2f5069,0x15,_0x2037ee[0x37]),_0x4d1f65=_0x16a15c(_0x4d1f65,_0x164e8d,_0x4fa776,_0x317602,_0x4244ca,0x6,_0x2037ee[0x38]),_0x317602=_0x16a15c(_0x317602,_0x4d1f65,_0x164e8d,_0x4fa776,_0x100666,0xa,_0x2037ee[0x39]),_0x4fa776=_0x16a15c(_0x4fa776,_0x317602,_0x4d1f65,_0x164e8d,_0x30d630,0xf,_0x2037ee[0x3a]),_0x164e8d=_0x16a15c(_0x164e8d,_0x4fa776,_0x317602,_0x4d1f65,_0xfcf639,0x15,_0x2037ee[0x3b]),_0x4d1f65=_0x16a15c(_0x4d1f65,_0x164e8d,_0x4fa776,_0x317602,_0x35f1ed,0x6,_0x2037ee[0x3c]),_0x317602=_0x16a15c(_0x317602,_0x4d1f65,_0x164e8d,_0x4fa776,_0x1796d5,0xa,_0x2037ee[0x3d]),_0x4fa776=_0x16a15c(_0x4fa776,_0x317602,_0x4d1f65,_0x164e8d,_0x1c8ebe,0xf,_0x2037ee[0x3e]),_0x164e8d=_0x16a15c(_0x164e8d,_0x4fa776,_0x317602,_0x4d1f65,_0xe75131,0x15,_0x2037ee[0x3f]),_0x2a288f[0x0]=_0x2a288f[0x0]+_0x4d1f65|0x0,_0x2a288f[0x1]=_0x2a288f[0x1]+_0x164e8d|0x0,_0x2a288f[0x2]=_0x2a288f[0x2]+_0x4fa776|0x0,_0x2a288f[0x3]=_0x2a288f[0x3]+_0x317602|0x0;},'_doFinalize':function(){const _0x22d376=_0x160875;var _0x4def92=this[_0x22d376(0x1e4)],_0x2621f0=_0x4def92[_0x22d376(0x2fa)],_0x4f8f0f=this[_0x22d376(0x1c1)]*0x8,_0x2fc360=_0x4def92[_0x22d376(0x4f9)]*0x8;_0x2621f0[_0x2fc360>>>0x5]|=0x80<<0x18-_0x2fc360%0x20;var _0x5198a1=_0x285a51['floor'](_0x4f8f0f/0x100000000),_0x1fb5a8=_0x4f8f0f;_0x2621f0[(_0x2fc360+0x40>>>0x9<<0x4)+0xf]=(_0x5198a1<<0x8|_0x5198a1>>>0x18)&0xff00ff|(_0x5198a1<<0x18|_0x5198a1>>>0x8)&0xff00ff00,_0x2621f0[(_0x2fc360+0x40>>>0x9<<0x4)+0xe]=(_0x1fb5a8<<0x8|_0x1fb5a8>>>0x18)&0xff00ff|(_0x1fb5a8<<0x18|_0x1fb5a8>>>0x8)&0xff00ff00,_0x4def92['sigBytes']=(_0x2621f0[_0x22d376(0x26b)]+0x1)*0x4,this[_0x22d376(0x365)]();for(var _0x587dea=this['_hash'],_0x564bfd=_0x587dea[_0x22d376(0x2fa)],_0x17b86e=0x0;_0x17b86e<0x4;_0x17b86e++){var _0x54edc2=_0x564bfd[_0x17b86e];_0x564bfd[_0x17b86e]=(_0x54edc2<<0x8|_0x54edc2>>>0x18)&0xff00ff|(_0x54edc2<<0x18|_0x54edc2>>>0x8)&0xff00ff00;}return _0x587dea;},'clone':function(){const _0x75d8cd=_0x160875;var _0xfe07da=_0x134342['clone'][_0x75d8cd(0x254)](this);return _0xfe07da[_0x75d8cd(0x1ee)]=this['_hash'][_0x75d8cd(0x28e)](),_0xfe07da;}});function _0x273217(_0x1b4910,_0x39f14c,_0x808a0c,_0x190ee2,_0x44909a,_0x4b85f9,_0x44461a){var _0x40d371=_0x1b4910+(_0x39f14c&_0x808a0c|~_0x39f14c&_0x190ee2)+_0x44909a+_0x44461a;return(_0x40d371<<_0x4b85f9|_0x40d371>>>0x20-_0x4b85f9)+_0x39f14c;}function _0x1cb2cb(_0x2701ab,_0x27ed2d,_0x2092e1,_0x32e21e,_0x44f79e,_0x543b73,_0x8abd74){var _0x500540=_0x2701ab+(_0x27ed2d&_0x32e21e|_0x2092e1&~_0x32e21e)+_0x44f79e+_0x8abd74;return(_0x500540<<_0x543b73|_0x500540>>>0x20-_0x543b73)+_0x27ed2d;}function _0x5034cd(_0x2c7d23,_0xef451c,_0x1b635b,_0x448089,_0x49ab9f,_0x13261f,_0x14076b){var _0x91c661=_0x2c7d23+(_0xef451c^_0x1b635b^_0x448089)+_0x49ab9f+_0x14076b;return(_0x91c661<<_0x13261f|_0x91c661>>>0x20-_0x13261f)+_0xef451c;}function _0x16a15c(_0x14cbb7,_0x5e15fc,_0x5672b1,_0x102541,_0x35797e,_0x4a9318,_0xf1c438){var _0x3c3b7f=_0x14cbb7+(_0x5672b1^(_0x5e15fc|~_0x102541))+_0x35797e+_0xf1c438;return(_0x3c3b7f<<_0x4a9318|_0x3c3b7f>>>0x20-_0x4a9318)+_0x5e15fc;}_0x12e61a['MD5']=_0x134342[_0x160875(0x170)](_0x53c5cb),_0x12e61a['HmacMD5']=_0x134342[_0x160875(0x513)](_0x53c5cb);}(Math),_0x5db96c[_0x226872(0x3f0)];}));}(_0x4e249e)),_0x4e249e[_0x135ba7(0x4fa)];}var _0x542087={'exports':{}},_0x511f25={'exports':{}},_0x4afe00;function _0x51d098(){const _0x338502=_0xd4a6c7;return _0x4afe00||(_0x4afe00=0x1,function(_0x53b6ba,_0x5c29a8){(function(_0x447d81,_0x2c252f){const _0x57876e=_0x5231;_0x53b6ba[_0x57876e(0x4fa)]=_0x2c252f(_0xbeb1f());}(_0x3565ba,function(_0x449ad9){const _0x4b4694=_0x5231;return(function(){const _0x420252=_0x5231;var _0x596068=_0x449ad9,_0x1de9b7=_0x596068['lib'],_0x48fcf2=_0x1de9b7['WordArray'],_0x1f0b04=_0x1de9b7['Hasher'],_0x895772=_0x596068[_0x420252(0xfb)],_0x2e6f97=[],_0x4ad175=_0x895772['SHA1']=_0x1f0b04[_0x420252(0x403)]({'_doReset':function(){const _0x19d34d=_0x420252;this[_0x19d34d(0x1ee)]=new _0x48fcf2[(_0x19d34d(0x3ed))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x9850b4,_0x549ad3){const _0x165df1=_0x420252;for(var _0x5f10c5=this[_0x165df1(0x1ee)][_0x165df1(0x2fa)],_0x3a53f4=_0x5f10c5[0x0],_0x56d38f=_0x5f10c5[0x1],_0x1439d7=_0x5f10c5[0x2],_0x54deaf=_0x5f10c5[0x3],_0x5d3a3e=_0x5f10c5[0x4],_0xd362cf=0x0;_0xd362cf<0x50;_0xd362cf++){if(_0xd362cf<0x10)_0x2e6f97[_0xd362cf]=_0x9850b4[_0x549ad3+_0xd362cf]|0x0;else{var _0x46e8d8=_0x2e6f97[_0xd362cf-0x3]^_0x2e6f97[_0xd362cf-0x8]^_0x2e6f97[_0xd362cf-0xe]^_0x2e6f97[_0xd362cf-0x10];_0x2e6f97[_0xd362cf]=_0x46e8d8<<0x1|_0x46e8d8>>>0x1f;}var _0x3153d2=(_0x3a53f4<<0x5|_0x3a53f4>>>0x1b)+_0x5d3a3e+_0x2e6f97[_0xd362cf];_0xd362cf<0x14?_0x3153d2+=(_0x56d38f&_0x1439d7|~_0x56d38f&_0x54deaf)+0x5a827999:_0xd362cf<0x28?_0x3153d2+=(_0x56d38f^_0x1439d7^_0x54deaf)+0x6ed9eba1:_0xd362cf<0x3c?_0x3153d2+=(_0x56d38f&_0x1439d7|_0x56d38f&_0x54deaf|_0x1439d7&_0x54deaf)-0x70e44324:_0x3153d2+=(_0x56d38f^_0x1439d7^_0x54deaf)-0x359d3e2a,_0x5d3a3e=_0x54deaf,_0x54deaf=_0x1439d7,_0x1439d7=_0x56d38f<<0x1e|_0x56d38f>>>0x2,_0x56d38f=_0x3a53f4,_0x3a53f4=_0x3153d2;}_0x5f10c5[0x0]=_0x5f10c5[0x0]+_0x3a53f4|0x0,_0x5f10c5[0x1]=_0x5f10c5[0x1]+_0x56d38f|0x0,_0x5f10c5[0x2]=_0x5f10c5[0x2]+_0x1439d7|0x0,_0x5f10c5[0x3]=_0x5f10c5[0x3]+_0x54deaf|0x0,_0x5f10c5[0x4]=_0x5f10c5[0x4]+_0x5d3a3e|0x0;},'_doFinalize':function(){const _0x4847e0=_0x420252;var _0x440ed2=this[_0x4847e0(0x1e4)],_0x21385a=_0x440ed2[_0x4847e0(0x2fa)],_0x2b8915=this[_0x4847e0(0x1c1)]*0x8,_0x33df77=_0x440ed2[_0x4847e0(0x4f9)]*0x8;return _0x21385a[_0x33df77>>>0x5]|=0x80<<0x18-_0x33df77%0x20,_0x21385a[(_0x33df77+0x40>>>0x9<<0x4)+0xe]=Math[_0x4847e0(0x3ad)](_0x2b8915/0x100000000),_0x21385a[(_0x33df77+0x40>>>0x9<<0x4)+0xf]=_0x2b8915,_0x440ed2[_0x4847e0(0x4f9)]=_0x21385a[_0x4847e0(0x26b)]*0x4,this[_0x4847e0(0x365)](),this[_0x4847e0(0x1ee)];},'clone':function(){const _0x2352ff=_0x420252;var _0x381c87=_0x1f0b04[_0x2352ff(0x28e)][_0x2352ff(0x254)](this);return _0x381c87['_hash']=this[_0x2352ff(0x1ee)][_0x2352ff(0x28e)](),_0x381c87;}});_0x596068['SHA1']=_0x1f0b04[_0x420252(0x170)](_0x4ad175),_0x596068[_0x420252(0xfe)]=_0x1f0b04['_createHmacHelper'](_0x4ad175);}()),_0x449ad9[_0x4b4694(0x495)];}));}(_0x511f25)),_0x511f25[_0x338502(0x4fa)];}var _0x464051={'exports':{}},_0x3ab404;function _0x54d49a(){return _0x3ab404||(_0x3ab404=0x1,function(_0x5890fb,_0x597fe){(function(_0x39b047,_0x513559){_0x5890fb['exports']=_0x513559(_0xbeb1f());}(_0x3565ba,function(_0x516fdf){(function(){const _0x1c9891=_0x5231;var _0x21767b=_0x516fdf,_0x580f87=_0x21767b[_0x1c9891(0x4ea)],_0x42baaa=_0x580f87['Base'],_0x209051=_0x21767b[_0x1c9891(0x3b8)],_0x2f59d1=_0x209051[_0x1c9891(0x1dc)],_0x34619c=_0x21767b['algo'];_0x34619c['HMAC']=_0x42baaa[_0x1c9891(0x403)]({'init':function(_0xfc4ee3,_0x54390f){const _0x125d72=_0x1c9891;_0xfc4ee3=this['_hasher']=new _0xfc4ee3[(_0x125d72(0x3ed))](),typeof _0x54390f==_0x125d72(0x428)&&(_0x54390f=_0x2f59d1[_0x125d72(0x24e)](_0x54390f));var _0x3727f3=_0xfc4ee3[_0x125d72(0x36a)],_0x44317b=_0x3727f3*0x4;_0x54390f[_0x125d72(0x4f9)]>_0x44317b&&(_0x54390f=_0xfc4ee3[_0x125d72(0x1b9)](_0x54390f)),_0x54390f[_0x125d72(0x145)]();for(var _0x4d233c=this['_oKey']=_0x54390f[_0x125d72(0x28e)](),_0x548b10=this[_0x125d72(0x450)]=_0x54390f['clone'](),_0x83fc37=_0x4d233c['words'],_0x3aa23f=_0x548b10[_0x125d72(0x2fa)],_0x3a2118=0x0;_0x3a2118<_0x3727f3;_0x3a2118++)_0x83fc37[_0x3a2118]^=0x5c5c5c5c,_0x3aa23f[_0x3a2118]^=0x36363636;_0x4d233c['sigBytes']=_0x548b10[_0x125d72(0x4f9)]=_0x44317b,this[_0x125d72(0x514)]();},'reset':function(){const _0x5b04cb=_0x1c9891;var _0x5e2904=this[_0x5b04cb(0x53c)];_0x5e2904['reset'](),_0x5e2904[_0x5b04cb(0x360)](this[_0x5b04cb(0x450)]);},'update':function(_0x57e408){const _0x15bea5=_0x1c9891;return this['_hasher'][_0x15bea5(0x360)](_0x57e408),this;},'finalize':function(_0x1162c7){const _0x217921=_0x1c9891;var _0x45f6cc=this[_0x217921(0x53c)],_0x5b8ed6=_0x45f6cc['finalize'](_0x1162c7);_0x45f6cc['reset']();var _0x3d87d3=_0x45f6cc[_0x217921(0x1b9)](this[_0x217921(0x526)][_0x217921(0x28e)]()[_0x217921(0x2d0)](_0x5b8ed6));return _0x3d87d3;}});}());}));}(_0x464051)),_0x464051['exports'];}var _0x494fa8;function _0x131aa1(){const _0x51bddd=_0xd4a6c7;return _0x494fa8||(_0x494fa8=0x1,function(_0x1942f2,_0x5eec9d){(function(_0x4b28f5,_0x59f04e,_0x130fa2){const _0x296122=_0x5231;_0x1942f2[_0x296122(0x4fa)]=_0x59f04e(_0xbeb1f(),_0x51d098(),_0x54d49a());}(_0x3565ba,function(_0x192c1c){const _0x40bd13=_0x5231;return(function(){const _0x15f494=_0x5231;var _0x41bca=_0x192c1c,_0x502e4e=_0x41bca['lib'],_0x5864a3=_0x502e4e[_0x15f494(0x13e)],_0x4101de=_0x502e4e[_0x15f494(0x54c)],_0x4e85ba=_0x41bca['algo'],_0xb4e57=_0x4e85ba[_0x15f494(0x3f0)],_0x2b8a73=_0x4e85ba[_0x15f494(0x4a0)]=_0x5864a3[_0x15f494(0x403)]({'cfg':_0x5864a3[_0x15f494(0x403)]({'keySize':0x80/0x20,'hasher':_0xb4e57,'iterations':0x1}),'init':function(_0x356f4b){const _0x1b35dd=_0x15f494;this[_0x1b35dd(0x2c5)]=this[_0x1b35dd(0x2c5)][_0x1b35dd(0x403)](_0x356f4b);},'compute':function(_0x4db4d2,_0x34175e){const _0x1c595e=_0x15f494;for(var _0x3c477d,_0x212924=this['cfg'],_0x399382=_0x212924['hasher'][_0x1c595e(0x1a5)](),_0x134f75=_0x4101de[_0x1c595e(0x1a5)](),_0x3739b6=_0x134f75['words'],_0x1bcaf2=_0x212924[_0x1c595e(0x52f)],_0x304b19=_0x212924[_0x1c595e(0x123)];_0x3739b6[_0x1c595e(0x26b)]<_0x1bcaf2;){_0x3c477d&&_0x399382[_0x1c595e(0x360)](_0x3c477d),_0x3c477d=_0x399382['update'](_0x4db4d2)['finalize'](_0x34175e),_0x399382[_0x1c595e(0x514)]();for(var _0x28ae33=0x1;_0x28ae33<_0x304b19;_0x28ae33++)_0x3c477d=_0x399382[_0x1c595e(0x1b9)](_0x3c477d),_0x399382[_0x1c595e(0x514)]();_0x134f75[_0x1c595e(0x2d0)](_0x3c477d);}return _0x134f75[_0x1c595e(0x4f9)]=_0x1bcaf2*0x4,_0x134f75;}});_0x41bca[_0x15f494(0x4a0)]=function(_0xa808d9,_0x3d40f9,_0x4f0079){const _0x2ac182=_0x15f494;return _0x2b8a73['create'](_0x4f0079)[_0x2ac182(0x4ac)](_0xa808d9,_0x3d40f9);};}()),_0x192c1c[_0x40bd13(0x4a0)];}));}(_0x542087)),_0x542087[_0x51bddd(0x4fa)];}var _0x582101={'exports':{}},_0x40d3c6;function _0x1246d0(){const _0x5a6dfd=_0xd4a6c7;return _0x40d3c6||(_0x40d3c6=0x1,function(_0xb45db1,_0x1a64b5){(function(_0x24ef88,_0x15142c,_0x9301fb){const _0x2b28fc=_0x5231;_0xb45db1[_0x2b28fc(0x4fa)]=_0x15142c(_0xbeb1f(),_0x131aa1());}(_0x3565ba,function(_0x2fdf23){const _0x17101f=_0x5231;_0x2fdf23[_0x17101f(0x4ea)][_0x17101f(0x297)]||function(_0x3ce285){const _0x239bc5=_0x17101f;var _0x2fb7f9=_0x2fdf23,_0x489a5c=_0x2fb7f9['lib'],_0x564851=_0x489a5c[_0x239bc5(0x13e)],_0x33388e=_0x489a5c['WordArray'],_0x21f64e=_0x489a5c[_0x239bc5(0x1cc)],_0x594333=_0x2fb7f9[_0x239bc5(0x3b8)];_0x594333['Utf8'];var _0xbd5535=_0x594333[_0x239bc5(0x555)],_0x4f175c=_0x2fb7f9[_0x239bc5(0xfb)],_0x35576d=_0x4f175c[_0x239bc5(0x4a0)],_0x474030=_0x489a5c[_0x239bc5(0x297)]=_0x21f64e[_0x239bc5(0x403)]({'cfg':_0x564851[_0x239bc5(0x403)](),'createEncryptor':function(_0x11b667,_0x5f89d5){const _0x4be996=_0x239bc5;return this[_0x4be996(0x1a5)](this[_0x4be996(0x181)],_0x11b667,_0x5f89d5);},'createDecryptor':function(_0xe2612c,_0x206d7e){const _0x41a346=_0x239bc5;return this['create'](this[_0x41a346(0x37d)],_0xe2612c,_0x206d7e);},'init':function(_0x5aae5f,_0x124299,_0x1a3614){const _0x50a72f=_0x239bc5;this[_0x50a72f(0x2c5)]=this['cfg'][_0x50a72f(0x403)](_0x1a3614),this[_0x50a72f(0xf3)]=_0x5aae5f,this[_0x50a72f(0x249)]=_0x124299,this[_0x50a72f(0x514)]();},'reset':function(){_0x21f64e['reset']['call'](this),this['_doReset']();},'process':function(_0x57d13f){return this['_append'](_0x57d13f),this['_process']();},'finalize':function(_0x5e31c6){const _0x2ff9e4=_0x239bc5;_0x5e31c6&&this['_append'](_0x5e31c6);var _0x179331=this[_0x2ff9e4(0x17a)]();return _0x179331;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5d25b1(_0x317bd7){const _0x1d3dd2=_0x5231;return typeof _0x317bd7==_0x1d3dd2(0x428)?_0x447876:_0x18eafa;}return function(_0x554428){return{'encrypt':function(_0x8e6968,_0x1d43ac,_0x544675){const _0x49f5b4=_0x5231;return _0x5d25b1(_0x1d43ac)[_0x49f5b4(0x4a3)](_0x554428,_0x8e6968,_0x1d43ac,_0x544675);},'decrypt':function(_0x3b9ac9,_0x10475c,_0x5a2f7f){return _0x5d25b1(_0x10475c)['decrypt'](_0x554428,_0x3b9ac9,_0x10475c,_0x5a2f7f);}};};}())});_0x489a5c['StreamCipher']=_0x474030['extend']({'_doFinalize':function(){var _0x3db267=this['_process'](!0x0);return _0x3db267;},'blockSize':0x1});var _0x2fd13a=_0x2fb7f9['mode']={},_0x2eb849=_0x489a5c[_0x239bc5(0x16e)]=_0x564851[_0x239bc5(0x403)]({'createEncryptor':function(_0x112d68,_0x5de7f3){const _0xcf2a90=_0x239bc5;return this[_0xcf2a90(0x485)][_0xcf2a90(0x1a5)](_0x112d68,_0x5de7f3);},'createDecryptor':function(_0x11aa4c,_0xe4c178){const _0x1cc21b=_0x239bc5;return this[_0x1cc21b(0x3d2)][_0x1cc21b(0x1a5)](_0x11aa4c,_0xe4c178);},'init':function(_0x57de6d,_0x2d5ba8){this['_cipher']=_0x57de6d,this['_iv']=_0x2d5ba8;}}),_0x2da7f9=_0x2fd13a[_0x239bc5(0x45d)]=(function(){const _0x100f3f=_0x239bc5;var _0x472a02=_0x2eb849['extend']();_0x472a02['Encryptor']=_0x472a02['extend']({'processBlock':function(_0x69252d,_0x1af6c3){const _0x4a1a64=_0x5231;var _0x1883bf=this[_0x4a1a64(0x22f)],_0x7b8467=_0x1883bf[_0x4a1a64(0x36a)];_0x26a736[_0x4a1a64(0x254)](this,_0x69252d,_0x1af6c3,_0x7b8467),_0x1883bf[_0x4a1a64(0x4f2)](_0x69252d,_0x1af6c3),this[_0x4a1a64(0x15f)]=_0x69252d['slice'](_0x1af6c3,_0x1af6c3+_0x7b8467);}}),_0x472a02[_0x100f3f(0x3d2)]=_0x472a02['extend']({'processBlock':function(_0x3a003b,_0x4ae2cb){const _0x3da15c=_0x100f3f;var _0x3f09a8=this[_0x3da15c(0x22f)],_0x30693d=_0x3f09a8['blockSize'],_0x20b8d3=_0x3a003b[_0x3da15c(0x559)](_0x4ae2cb,_0x4ae2cb+_0x30693d);_0x3f09a8[_0x3da15c(0xf0)](_0x3a003b,_0x4ae2cb),_0x26a736[_0x3da15c(0x254)](this,_0x3a003b,_0x4ae2cb,_0x30693d),this['_prevBlock']=_0x20b8d3;}});function _0x26a736(_0x4bdce2,_0x27a24f,_0x56c572){const _0x1258fe=_0x100f3f;var _0x56d97b,_0x33e015=this[_0x1258fe(0x165)];_0x33e015?(_0x56d97b=_0x33e015,this['_iv']=_0x3ce285):_0x56d97b=this[_0x1258fe(0x15f)];for(var _0x37fa9f=0x0;_0x37fa9f<_0x56c572;_0x37fa9f++)_0x4bdce2[_0x27a24f+_0x37fa9f]^=_0x56d97b[_0x37fa9f];}return _0x472a02;}()),_0x2cb62c=_0x2fb7f9[_0x239bc5(0x21d)]={},_0x52c900=_0x2cb62c[_0x239bc5(0x3be)]={'pad':function(_0x49ac72,_0x95dc32){const _0x32cc25=_0x239bc5;for(var _0x5d806f=_0x95dc32*0x4,_0x216c3e=_0x5d806f-_0x49ac72[_0x32cc25(0x4f9)]%_0x5d806f,_0xe9b677=_0x216c3e<<0x18|_0x216c3e<<0x10|_0x216c3e<<0x8|_0x216c3e,_0x2b5789=[],_0x20513e=0x0;_0x20513e<_0x216c3e;_0x20513e+=0x4)_0x2b5789['push'](_0xe9b677);var _0x1eeace=_0x33388e[_0x32cc25(0x1a5)](_0x2b5789,_0x216c3e);_0x49ac72[_0x32cc25(0x2d0)](_0x1eeace);},'unpad':function(_0x25b291){const _0x3aa706=_0x239bc5;var _0x513bd1=_0x25b291['words'][_0x25b291[_0x3aa706(0x4f9)]-0x1>>>0x2]&0xff;_0x25b291[_0x3aa706(0x4f9)]-=_0x513bd1;}};_0x489a5c[_0x239bc5(0x10b)]=_0x474030['extend']({'cfg':_0x474030['cfg'][_0x239bc5(0x403)]({'mode':_0x2da7f9,'padding':_0x52c900}),'reset':function(){const _0x217255=_0x239bc5;var _0x15fc18;_0x474030[_0x217255(0x514)]['call'](this);var _0x358c25=this[_0x217255(0x2c5)],_0x76a18e=_0x358c25['iv'],_0x267d43=_0x358c25[_0x217255(0x52b)];this[_0x217255(0xf3)]==this[_0x217255(0x181)]?_0x15fc18=_0x267d43['createEncryptor']:(_0x15fc18=_0x267d43[_0x217255(0x556)],this[_0x217255(0x3af)]=0x1),this[_0x217255(0x207)]&&this[_0x217255(0x207)][_0x217255(0x42f)]==_0x15fc18?this[_0x217255(0x207)][_0x217255(0x3ed)](this,_0x76a18e&&_0x76a18e[_0x217255(0x2fa)]):(this['_mode']=_0x15fc18['call'](_0x267d43,this,_0x76a18e&&_0x76a18e['words']),this['_mode'][_0x217255(0x42f)]=_0x15fc18);},'_doProcessBlock':function(_0x37d0bb,_0x326ea4){const _0x50a302=_0x239bc5;this[_0x50a302(0x207)][_0x50a302(0x4e6)](_0x37d0bb,_0x326ea4);},'_doFinalize':function(){const _0x22a665=_0x239bc5;var _0x1c184d,_0x4a9046=this[_0x22a665(0x2c5)][_0x22a665(0x1cd)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x4a9046['pad'](this[_0x22a665(0x1e4)],this[_0x22a665(0x36a)]),_0x1c184d=this[_0x22a665(0x365)](!0x0)):(_0x1c184d=this[_0x22a665(0x365)](!0x0),_0x4a9046['unpad'](_0x1c184d)),_0x1c184d;},'blockSize':0x80/0x20});var _0x5a2d67=_0x489a5c[_0x239bc5(0x3e5)]=_0x564851['extend']({'init':function(_0x12bf53){const _0x11908e=_0x239bc5;this[_0x11908e(0x294)](_0x12bf53);},'toString':function(_0x4af483){const _0x37d00d=_0x239bc5;return(_0x4af483||this[_0x37d00d(0x40e)])[_0x37d00d(0x275)](this);}}),_0x2ffad1=_0x2fb7f9['format']={},_0xfe091c=_0x2ffad1[_0x239bc5(0x330)]={'stringify':function(_0x3e8d38){const _0x4e770c=_0x239bc5;var _0x27a2ed,_0x114bd4=_0x3e8d38[_0x4e770c(0x314)],_0x37a986=_0x3e8d38[_0x4e770c(0xda)];return _0x37a986?_0x27a2ed=_0x33388e[_0x4e770c(0x1a5)]([0x53616c74,0x65645f5f])[_0x4e770c(0x2d0)](_0x37a986)[_0x4e770c(0x2d0)](_0x114bd4):_0x27a2ed=_0x114bd4,_0x27a2ed[_0x4e770c(0x28d)](_0xbd5535);},'parse':function(_0x895eef){const _0x362fe6=_0x239bc5;var _0x13ed61,_0x2da0e2=_0xbd5535[_0x362fe6(0x24e)](_0x895eef),_0x531121=_0x2da0e2['words'];return _0x531121[0x0]==0x53616c74&&_0x531121[0x1]==0x65645f5f&&(_0x13ed61=_0x33388e['create'](_0x531121[_0x362fe6(0x559)](0x2,0x4)),_0x531121[_0x362fe6(0x205)](0x0,0x4),_0x2da0e2['sigBytes']-=0x10),_0x5a2d67['create']({'ciphertext':_0x2da0e2,'salt':_0x13ed61});}},_0x18eafa=_0x489a5c['SerializableCipher']=_0x564851[_0x239bc5(0x403)]({'cfg':_0x564851[_0x239bc5(0x403)]({'format':_0xfe091c}),'encrypt':function(_0x4ccf9c,_0x2a0cae,_0x42d86b,_0x8891c9){const _0x16b8b0=_0x239bc5;_0x8891c9=this['cfg']['extend'](_0x8891c9);var _0x14dfdb=_0x4ccf9c[_0x16b8b0(0x295)](_0x42d86b,_0x8891c9),_0xa378c=_0x14dfdb[_0x16b8b0(0x1b9)](_0x2a0cae),_0x413261=_0x14dfdb[_0x16b8b0(0x2c5)];return _0x5a2d67[_0x16b8b0(0x1a5)]({'ciphertext':_0xa378c,'key':_0x42d86b,'iv':_0x413261['iv'],'algorithm':_0x4ccf9c,'mode':_0x413261['mode'],'padding':_0x413261[_0x16b8b0(0x1cd)],'blockSize':_0x4ccf9c[_0x16b8b0(0x36a)],'formatter':_0x8891c9[_0x16b8b0(0x3ea)]});},'decrypt':function(_0x2ecdf3,_0x24925b,_0x3063ca,_0x4853ed){const _0x176b72=_0x239bc5;_0x4853ed=this[_0x176b72(0x2c5)][_0x176b72(0x403)](_0x4853ed),_0x24925b=this[_0x176b72(0x1b8)](_0x24925b,_0x4853ed[_0x176b72(0x3ea)]);var _0x14977d=_0x2ecdf3[_0x176b72(0x556)](_0x3063ca,_0x4853ed)['finalize'](_0x24925b[_0x176b72(0x314)]);return _0x14977d;},'_parse':function(_0x1743a1,_0x5bc471){const _0x2c6a7e=_0x239bc5;return typeof _0x1743a1==_0x2c6a7e(0x428)?_0x5bc471['parse'](_0x1743a1,this):_0x1743a1;}}),_0xeb0d82=_0x2fb7f9[_0x239bc5(0x2e0)]={},_0x7a2a0f=_0xeb0d82[_0x239bc5(0x330)]={'execute':function(_0x2b04be,_0x4508cf,_0x4c9482,_0x11d011,_0x13c4d7){const _0x574e2b=_0x239bc5;if(_0x11d011||(_0x11d011=_0x33388e['random'](0x40/0x8)),_0x13c4d7)var _0x1d329e=_0x35576d[_0x574e2b(0x1a5)]({'keySize':_0x4508cf+_0x4c9482,'hasher':_0x13c4d7})[_0x574e2b(0x4ac)](_0x2b04be,_0x11d011);else var _0x1d329e=_0x35576d[_0x574e2b(0x1a5)]({'keySize':_0x4508cf+_0x4c9482})['compute'](_0x2b04be,_0x11d011);var _0x3b439c=_0x33388e['create'](_0x1d329e[_0x574e2b(0x2fa)][_0x574e2b(0x559)](_0x4508cf),_0x4c9482*0x4);return _0x1d329e[_0x574e2b(0x4f9)]=_0x4508cf*0x4,_0x5a2d67['create']({'key':_0x1d329e,'iv':_0x3b439c,'salt':_0x11d011});}},_0x447876=_0x489a5c['PasswordBasedCipher']=_0x18eafa[_0x239bc5(0x403)]({'cfg':_0x18eafa[_0x239bc5(0x2c5)][_0x239bc5(0x403)]({'kdf':_0x7a2a0f}),'encrypt':function(_0x4cc836,_0x2481bc,_0x23d5ca,_0x13e569){const _0x29ce7f=_0x239bc5;_0x13e569=this[_0x29ce7f(0x2c5)][_0x29ce7f(0x403)](_0x13e569);var _0x4a1359=_0x13e569['kdf'][_0x29ce7f(0x146)](_0x23d5ca,_0x4cc836[_0x29ce7f(0x52f)],_0x4cc836[_0x29ce7f(0x4d2)],_0x13e569[_0x29ce7f(0xda)],_0x13e569[_0x29ce7f(0x353)]);_0x13e569['iv']=_0x4a1359['iv'];var _0x4a1d13=_0x18eafa[_0x29ce7f(0x4a3)][_0x29ce7f(0x254)](this,_0x4cc836,_0x2481bc,_0x4a1359[_0x29ce7f(0xac)],_0x13e569);return _0x4a1d13['mixIn'](_0x4a1359),_0x4a1d13;},'decrypt':function(_0x359bb9,_0x2af995,_0x1e0167,_0x5b6f16){const _0xd2516e=_0x239bc5;_0x5b6f16=this[_0xd2516e(0x2c5)][_0xd2516e(0x403)](_0x5b6f16),_0x2af995=this[_0xd2516e(0x1b8)](_0x2af995,_0x5b6f16[_0xd2516e(0x3ea)]);var _0x37e339=_0x5b6f16[_0xd2516e(0x2e0)][_0xd2516e(0x146)](_0x1e0167,_0x359bb9[_0xd2516e(0x52f)],_0x359bb9[_0xd2516e(0x4d2)],_0x2af995[_0xd2516e(0xda)],_0x5b6f16['hasher']);_0x5b6f16['iv']=_0x37e339['iv'];var _0x55facc=_0x18eafa[_0xd2516e(0x158)][_0xd2516e(0x254)](this,_0x359bb9,_0x2af995,_0x37e339[_0xd2516e(0xac)],_0x5b6f16);return _0x55facc;}});}();}));}(_0x582101)),_0x582101[_0x5a6dfd(0x4fa)];}(function(_0x3d1a83,_0x4ddc1d){(function(_0x2a66df,_0x3122d3,_0x503ab2){const _0x5ed00f=_0x5231;_0x3d1a83[_0x5ed00f(0x4fa)]=_0x3122d3(_0xbeb1f(),_0xd1815a(),_0x19d3e2(),_0x131aa1(),_0x1246d0());}(_0x3565ba,function(_0x5f60b8){const _0x23a03c=_0x5231;return(function(){const _0x4a8b19=_0x5231;var _0x233d8f=_0x5f60b8,_0x2075bc=_0x233d8f[_0x4a8b19(0x4ea)],_0x256d9f=_0x2075bc['BlockCipher'],_0x1ffa09=_0x233d8f[_0x4a8b19(0xfb)],_0xf33723=[],_0x35e58c=[],_0x34148f=[],_0x1269c8=[],_0xc98775=[],_0x3b1a0d=[],_0x24d576=[],_0x315e79=[],_0x16e600=[],_0xd45b86=[];(function(){for(var _0x1dae51=[],_0x473488=0x0;_0x473488<0x100;_0x473488++)_0x473488<0x80?_0x1dae51[_0x473488]=_0x473488<<0x1:_0x1dae51[_0x473488]=_0x473488<<0x1^0x11b;for(var _0x47cde9=0x0,_0xe18c21=0x0,_0x473488=0x0;_0x473488<0x100;_0x473488++){var _0x42e9c7=_0xe18c21^_0xe18c21<<0x1^_0xe18c21<<0x2^_0xe18c21<<0x3^_0xe18c21<<0x4;_0x42e9c7=_0x42e9c7>>>0x8^_0x42e9c7&0xff^0x63,_0xf33723[_0x47cde9]=_0x42e9c7,_0x35e58c[_0x42e9c7]=_0x47cde9;var _0x27b04d=_0x1dae51[_0x47cde9],_0x47b791=_0x1dae51[_0x27b04d],_0x3b281e=_0x1dae51[_0x47b791],_0x33309d=_0x1dae51[_0x42e9c7]*0x101^_0x42e9c7*0x1010100;_0x34148f[_0x47cde9]=_0x33309d<<0x18|_0x33309d>>>0x8,_0x1269c8[_0x47cde9]=_0x33309d<<0x10|_0x33309d>>>0x10,_0xc98775[_0x47cde9]=_0x33309d<<0x8|_0x33309d>>>0x18,_0x3b1a0d[_0x47cde9]=_0x33309d;var _0x33309d=_0x3b281e*0x1010101^_0x47b791*0x10001^_0x27b04d*0x101^_0x47cde9*0x1010100;_0x24d576[_0x42e9c7]=_0x33309d<<0x18|_0x33309d>>>0x8,_0x315e79[_0x42e9c7]=_0x33309d<<0x10|_0x33309d>>>0x10,_0x16e600[_0x42e9c7]=_0x33309d<<0x8|_0x33309d>>>0x18,_0xd45b86[_0x42e9c7]=_0x33309d,_0x47cde9?(_0x47cde9=_0x27b04d^_0x1dae51[_0x1dae51[_0x1dae51[_0x3b281e^_0x27b04d]]],_0xe18c21^=_0x1dae51[_0x1dae51[_0xe18c21]]):_0x47cde9=_0xe18c21=0x1;}}());var _0x177256=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x677045=_0x1ffa09[_0x4a8b19(0x1f5)]=_0x256d9f[_0x4a8b19(0x403)]({'_doReset':function(){const _0x40f069=_0x4a8b19;var _0x5844e6;if(!(this[_0x40f069(0x9a)]&&this[_0x40f069(0x557)]===this[_0x40f069(0x249)])){for(var _0x524f92=this['_keyPriorReset']=this[_0x40f069(0x249)],_0x3957e1=_0x524f92[_0x40f069(0x2fa)],_0x191771=_0x524f92[_0x40f069(0x4f9)]/0x4,_0x28f32f=this[_0x40f069(0x9a)]=_0x191771+0x6,_0x48e284=(_0x28f32f+0x1)*0x4,_0x5e8de0=this[_0x40f069(0x317)]=[],_0x1b7183=0x0;_0x1b7183<_0x48e284;_0x1b7183++)_0x1b7183<_0x191771?_0x5e8de0[_0x1b7183]=_0x3957e1[_0x1b7183]:(_0x5844e6=_0x5e8de0[_0x1b7183-0x1],_0x1b7183%_0x191771?_0x191771>0x6&&_0x1b7183%_0x191771==0x4&&(_0x5844e6=_0xf33723[_0x5844e6>>>0x18]<<0x18|_0xf33723[_0x5844e6>>>0x10&0xff]<<0x10|_0xf33723[_0x5844e6>>>0x8&0xff]<<0x8|_0xf33723[_0x5844e6&0xff]):(_0x5844e6=_0x5844e6<<0x8|_0x5844e6>>>0x18,_0x5844e6=_0xf33723[_0x5844e6>>>0x18]<<0x18|_0xf33723[_0x5844e6>>>0x10&0xff]<<0x10|_0xf33723[_0x5844e6>>>0x8&0xff]<<0x8|_0xf33723[_0x5844e6&0xff],_0x5844e6^=_0x177256[_0x1b7183/_0x191771|0x0]<<0x18),_0x5e8de0[_0x1b7183]=_0x5e8de0[_0x1b7183-_0x191771]^_0x5844e6);for(var _0x54a4c5=this[_0x40f069(0x19e)]=[],_0x318dd0=0x0;_0x318dd0<_0x48e284;_0x318dd0++){var _0x1b7183=_0x48e284-_0x318dd0;if(_0x318dd0%0x4)var _0x5844e6=_0x5e8de0[_0x1b7183];else var _0x5844e6=_0x5e8de0[_0x1b7183-0x4];_0x318dd0<0x4||_0x1b7183<=0x4?_0x54a4c5[_0x318dd0]=_0x5844e6:_0x54a4c5[_0x318dd0]=_0x24d576[_0xf33723[_0x5844e6>>>0x18]]^_0x315e79[_0xf33723[_0x5844e6>>>0x10&0xff]]^_0x16e600[_0xf33723[_0x5844e6>>>0x8&0xff]]^_0xd45b86[_0xf33723[_0x5844e6&0xff]];}}},'encryptBlock':function(_0x408237,_0x11003f){const _0x4339aa=_0x4a8b19;this[_0x4339aa(0x37a)](_0x408237,_0x11003f,this[_0x4339aa(0x317)],_0x34148f,_0x1269c8,_0xc98775,_0x3b1a0d,_0xf33723);},'decryptBlock':function(_0x4c28c6,_0x2e194a){const _0x1965d8=_0x4a8b19;var _0x4f61e6=_0x4c28c6[_0x2e194a+0x1];_0x4c28c6[_0x2e194a+0x1]=_0x4c28c6[_0x2e194a+0x3],_0x4c28c6[_0x2e194a+0x3]=_0x4f61e6,this[_0x1965d8(0x37a)](_0x4c28c6,_0x2e194a,this[_0x1965d8(0x19e)],_0x24d576,_0x315e79,_0x16e600,_0xd45b86,_0x35e58c);var _0x4f61e6=_0x4c28c6[_0x2e194a+0x1];_0x4c28c6[_0x2e194a+0x1]=_0x4c28c6[_0x2e194a+0x3],_0x4c28c6[_0x2e194a+0x3]=_0x4f61e6;},'_doCryptBlock':function(_0xddad3b,_0x15dd48,_0x3ff788,_0x10846a,_0x211fcf,_0x473866,_0x44b5d3,_0x2ceb64){const _0x3166fd=_0x4a8b19;for(var _0x2cbb5f=this[_0x3166fd(0x9a)],_0x1e6dec=_0xddad3b[_0x15dd48]^_0x3ff788[0x0],_0x334fa8=_0xddad3b[_0x15dd48+0x1]^_0x3ff788[0x1],_0x25cc05=_0xddad3b[_0x15dd48+0x2]^_0x3ff788[0x2],_0x240cb9=_0xddad3b[_0x15dd48+0x3]^_0x3ff788[0x3],_0x25211a=0x4,_0x26be98=0x1;_0x26be98<_0x2cbb5f;_0x26be98++){var _0xe0274e=_0x10846a[_0x1e6dec>>>0x18]^_0x211fcf[_0x334fa8>>>0x10&0xff]^_0x473866[_0x25cc05>>>0x8&0xff]^_0x44b5d3[_0x240cb9&0xff]^_0x3ff788[_0x25211a++],_0x2d7f6a=_0x10846a[_0x334fa8>>>0x18]^_0x211fcf[_0x25cc05>>>0x10&0xff]^_0x473866[_0x240cb9>>>0x8&0xff]^_0x44b5d3[_0x1e6dec&0xff]^_0x3ff788[_0x25211a++],_0x149750=_0x10846a[_0x25cc05>>>0x18]^_0x211fcf[_0x240cb9>>>0x10&0xff]^_0x473866[_0x1e6dec>>>0x8&0xff]^_0x44b5d3[_0x334fa8&0xff]^_0x3ff788[_0x25211a++],_0xa4578c=_0x10846a[_0x240cb9>>>0x18]^_0x211fcf[_0x1e6dec>>>0x10&0xff]^_0x473866[_0x334fa8>>>0x8&0xff]^_0x44b5d3[_0x25cc05&0xff]^_0x3ff788[_0x25211a++];_0x1e6dec=_0xe0274e,_0x334fa8=_0x2d7f6a,_0x25cc05=_0x149750,_0x240cb9=_0xa4578c;}var _0xe0274e=(_0x2ceb64[_0x1e6dec>>>0x18]<<0x18|_0x2ceb64[_0x334fa8>>>0x10&0xff]<<0x10|_0x2ceb64[_0x25cc05>>>0x8&0xff]<<0x8|_0x2ceb64[_0x240cb9&0xff])^_0x3ff788[_0x25211a++],_0x2d7f6a=(_0x2ceb64[_0x334fa8>>>0x18]<<0x18|_0x2ceb64[_0x25cc05>>>0x10&0xff]<<0x10|_0x2ceb64[_0x240cb9>>>0x8&0xff]<<0x8|_0x2ceb64[_0x1e6dec&0xff])^_0x3ff788[_0x25211a++],_0x149750=(_0x2ceb64[_0x25cc05>>>0x18]<<0x18|_0x2ceb64[_0x240cb9>>>0x10&0xff]<<0x10|_0x2ceb64[_0x1e6dec>>>0x8&0xff]<<0x8|_0x2ceb64[_0x334fa8&0xff])^_0x3ff788[_0x25211a++],_0xa4578c=(_0x2ceb64[_0x240cb9>>>0x18]<<0x18|_0x2ceb64[_0x1e6dec>>>0x10&0xff]<<0x10|_0x2ceb64[_0x334fa8>>>0x8&0xff]<<0x8|_0x2ceb64[_0x25cc05&0xff])^_0x3ff788[_0x25211a++];_0xddad3b[_0x15dd48]=_0xe0274e,_0xddad3b[_0x15dd48+0x1]=_0x2d7f6a,_0xddad3b[_0x15dd48+0x2]=_0x149750,_0xddad3b[_0x15dd48+0x3]=_0xa4578c;},'keySize':0x100/0x20});_0x233d8f['AES']=_0x256d9f[_0x4a8b19(0x170)](_0x677045);}()),_0x5f60b8[_0x23a03c(0x1f5)];}));}(_0x11c85b));var _0x3d5a25=_0x11c85b[_0xd4a6c7(0x4fa)];const _0x22150e=_0x3893de(_0x3d5a25);var _0x2abbf2=_0xd1815a();const _0x5e01c7=_0x3893de(_0x2abbf2);var _0xcb5656={'exports':{}};(function(_0xc3f554,_0x46d432){(function(_0x97ba51,_0xd628b2){const _0x20b6cb=_0x5231;_0xc3f554[_0x20b6cb(0x4fa)]=_0xd628b2(_0xbeb1f());}(_0x3565ba,function(_0x453f91){return _0x453f91['enc']['Utf8'];}));}(_0xcb5656));var _0xcf8c44=_0xcb5656[_0xd4a6c7(0x4fa)];const _0x6fe07=_0x3893de(_0xcf8c44);var _0x37541c={'exports':{}};(function(_0x4c5c34,_0xc96da1){(function(_0x483c9d,_0x57b504){const _0x52e195=_0x5231;_0x4c5c34[_0x52e195(0x4fa)]=_0x57b504(_0xbeb1f());}(_0x3565ba,function(_0x26a124){const _0x42a9ae=_0x5231;return(function(){const _0x290517=_0x5231;if(typeof ArrayBuffer==_0x290517(0x31a)){var _0x3e7d14=_0x26a124,_0x25556f=_0x3e7d14['lib'],_0x2886ba=_0x25556f[_0x290517(0x54c)],_0x4ed869=_0x2886ba[_0x290517(0x3ed)],_0x16c9cc=_0x2886ba['init']=function(_0x206743){const _0x46a732=_0x290517;if(_0x206743 instanceof ArrayBuffer&&(_0x206743=new Uint8Array(_0x206743)),(_0x206743 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x206743 instanceof Uint8ClampedArray||_0x206743 instanceof Int16Array||_0x206743 instanceof Uint16Array||_0x206743 instanceof Int32Array||_0x206743 instanceof Uint32Array||_0x206743 instanceof Float32Array||_0x206743 instanceof Float64Array)&&(_0x206743=new Uint8Array(_0x206743[_0x46a732(0xb0)],_0x206743[_0x46a732(0x350)],_0x206743[_0x46a732(0xc0)])),_0x206743 instanceof Uint8Array){for(var _0x49f19d=_0x206743[_0x46a732(0xc0)],_0x417959=[],_0x1a38cc=0x0;_0x1a38cc<_0x49f19d;_0x1a38cc++)_0x417959[_0x1a38cc>>>0x2]|=_0x206743[_0x1a38cc]<<0x18-_0x1a38cc%0x4*0x8;_0x4ed869[_0x46a732(0x254)](this,_0x417959,_0x49f19d);}else _0x4ed869[_0x46a732(0x420)](this,arguments);};_0x16c9cc['prototype']=_0x2886ba;}}()),_0x26a124['lib'][_0x42a9ae(0x54c)];}));}(_0x37541c));var _0x26f635=_0x37541c[_0xd4a6c7(0x4fa)];const _0x34b256=_0x3893de(_0x26f635);var _0x54bb19={'exports':{}};(function(_0x372955,_0xa8b425){(function(_0x14ef87,_0x325f2f,_0x4a1615){_0x372955['exports']=_0x325f2f(_0xbeb1f(),_0x1246d0());}(_0x3565ba,function(_0x3a1194){const _0x11ec3e=_0x5231;return _0x3a1194['pad'][_0x11ec3e(0x30e)]={'pad':function(){},'unpad':function(){}},_0x3a1194[_0x11ec3e(0x21d)]['NoPadding'];}));}(_0x54bb19));var _0x1730af=_0x54bb19[_0xd4a6c7(0x4fa)];const _0x4b28d2=_0x3893de(_0x1730af);function _0x4b95a0(_0x51521d,_0x5923e5){const _0x368799=_0xd4a6c7,_0x431a89=_0x5923e5-_0x51521d[_0x368799(0x26b)]%_0x5923e5,_0xeff0b=String[_0x368799(0x2b0)](_0x431a89)['repeat'](_0x431a89);return _0x51521d+_0xeff0b;}function _0x3794df(_0x3f77d2,_0x4c7c8c){const _0x2dffa0=_0xd4a6c7,_0x1f2cc0=_0x34b256[_0x2dffa0(0x114)](0x10),_0x5c0613=_0x4b95a0(_0x3f77d2,0x10),_0x1aa802=_0x22150e['encrypt'](_0x6fe07[_0x2dffa0(0x24e)](_0x5c0613),_0x5e01c7[_0x2dffa0(0x24e)](_0x4c7c8c),{'iv':_0x1f2cc0,'padding':_0x4b28d2});return _0x1f2cc0[_0x2dffa0(0x2d0)](_0x1aa802[_0x2dffa0(0x314)])[_0x2dffa0(0x28d)](_0x5e01c7);}function _0x42aa27(){const _0xe1dc18=_0xd4a6c7,_0x3aec9c=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x3aec9c){const _0x252d03={'time':Math[_0xe1dc18(0x3ad)](Date[_0xe1dc18(0x2fd)]()/0x3e8),'domain':location[_0xe1dc18(0x312)]};return _0x3794df(JSON[_0xe1dc18(0x275)](_0x252d03),_0x3aec9c);}}var _0x50d685=Object[_0xd4a6c7(0x1a4)],_0x8ff1a9=Object['getOwnPropertyDescriptor'],_0x10357c=(_0x15494c,_0x4a3852,_0x3a6fca,_0x82124)=>{const _0x41f604=_0xd4a6c7;for(var _0x4e27bf=_0x82124>0x1?void 0x0:_0x82124?_0x8ff1a9(_0x4a3852,_0x3a6fca):_0x4a3852,_0x21506a=_0x15494c[_0x41f604(0x26b)]-0x1,_0x1df6bb;_0x21506a>=0x0;_0x21506a--)(_0x1df6bb=_0x15494c[_0x21506a])&&(_0x4e27bf=(_0x82124?_0x1df6bb(_0x4a3852,_0x3a6fca,_0x4e27bf):_0x1df6bb(_0x4e27bf))||_0x4e27bf);return _0x82124&&_0x4e27bf&&_0x50d685(_0x4a3852,_0x3a6fca,_0x4e27bf),_0x4e27bf;},_0x5f2ba2=(_0x8fd48c,_0xe0d49d)=>(_0x11bc1f,_0x5a01cf)=>_0xe0d49d(_0x11bc1f,_0x5a01cf,_0x8fd48c);let _0x3d870b=class{constructor(_0x2d3e64){const _0x56d334=_0xd4a6c7;this['_httpService']=_0x2d3e64,this[_0x56d334(0x4a7)]();}[_0xd4a6c7(0x4a7)](){const _0x5a0ca8=_0xd4a6c7;this[_0x5a0ca8(0x42d)]['registerHTTPInterceptor']({'interceptor':(_0x360221,_0x419135)=>{const _0x36c599=_0x5a0ca8,_0x374f0f=_0x360221[_0x36c599(0x3b9)],_0x4505bb=_0x42aa27();return _0x4505bb&&_0x374f0f[_0x36c599(0x36e)](_0x36c599(0x2fc),_0x4505bb),_0x419135(_0x360221);}});}};_0x3d870b=_0x10357c([_0x5f2ba2(0x0,_0x411d72[_0xd4a6c7(0x371)](_0x30b9e9[_0xd4a6c7(0x103)]))],_0x3d870b);var _0x123e27=Object[_0xd4a6c7(0x1a4)],_0x186ac4=Object[_0xd4a6c7(0x47a)],_0x4a7ace=(_0x4cce72,_0x2ed52d,_0xbb44c5,_0x28e5bf)=>{const _0x4da281=_0xd4a6c7;for(var _0x23b823=_0x28e5bf>0x1?void 0x0:_0x28e5bf?_0x186ac4(_0x2ed52d,_0xbb44c5):_0x2ed52d,_0x12ee05=_0x4cce72[_0x4da281(0x26b)]-0x1,_0x5e5947;_0x12ee05>=0x0;_0x12ee05--)(_0x5e5947=_0x4cce72[_0x12ee05])&&(_0x23b823=(_0x28e5bf?_0x5e5947(_0x2ed52d,_0xbb44c5,_0x23b823):_0x5e5947(_0x23b823))||_0x23b823);return _0x28e5bf&&_0x23b823&&_0x123e27(_0x2ed52d,_0xbb44c5,_0x23b823),_0x23b823;},_0x19214c=(_0x401f39,_0x4fe1b2)=>(_0x1f0040,_0xc1536a)=>_0x4fe1b2(_0x1f0040,_0xc1536a,_0x401f39);const _0x1527ae=[_0xd4a6c7(0x140),_0xd4a6c7(0x271),'image/jpg',_0xd4a6c7(0x157),_0xd4a6c7(0x202)],_0x252f17=0x5*0x400*0x400,_0x230170=_0xd4a6c7(0x16f),_0x70b0da=_0xd4a6c7(0x173),_0x46c25e=_0xd4a6c7(0x1b0),_0x2b0e5c=_0xd4a6c7(0x23d);_0x59c9b4[_0xd4a6c7(0x1db)]=class{constructor(_0x154406,_0x1c4da0,_0x2e24f9){const _0x5b4d75=_0xd4a6c7;_0x3fe385(this,_0x5b4d75(0x442),0x0),_0x3fe385(this,_0x5b4d75(0x218),new _0x3c9c2d[(_0x5b4d75(0xd5))]()),_0x3fe385(this,_0x5b4d75(0x40f),this[_0x5b4d75(0x218)]),_0x3fe385(this,_0x5b4d75(0x11c),new Map()),(this[_0x5b4d75(0x42d)]=_0x154406,this[_0x5b4d75(0x3ec)]=_0x1c4da0,this['_univerInstanceService']=_0x2e24f9);}[_0xd4a6c7(0x169)](_0x12af75){const _0x37547b=_0xd4a6c7;this[_0x37547b(0x442)]=_0x12af75,this[_0x37547b(0x218)]['next'](_0x12af75);}[_0xd4a6c7(0x531)](_0x14e823,_0x5aaf7a){const _0x228aa8=_0xd4a6c7;if(_0x5aaf7a===_0x5f2084[_0x228aa8(0x342)][_0x228aa8(0x458)]){const _0x18f422=new Image();return _0x18f422[_0x228aa8(0x112)]=_0x14e823,_0x18f422;}return this['_imageSourceCache'][_0x228aa8(0x1c9)](_0x14e823);}['addImageSourceCache'](_0x552a15,_0x38da38,_0x5f23be){const _0x25bd2d=_0xd4a6c7;_0x38da38===_0x5f2084[_0x25bd2d(0x342)][_0x25bd2d(0x458)]||_0x5f23be==null||this[_0x25bd2d(0x11c)]['set'](_0x552a15,_0x5f23be);}async[_0xd4a6c7(0x2ab)](_0x3fb1fd){const _0x21457b=_0xd4a6c7;try{const _0x38078e=this[_0x21457b(0x4db)](this[_0x21457b(0x3d7)](),''+_0x3fb1fd),_0x58e5b9=(await this[_0x21457b(0x42d)][_0x21457b(0x1c9)](_0x38078e))['body'];if(_0x58e5b9['error']&&_0x58e5b9[_0x21457b(0x311)][_0x21457b(0x2b3)]===_0x22680b['OK']){const _0x233feb=new URL(_0x58e5b9[_0x21457b(0x1eb)],this['_getDownloadEndpointURL']())[_0x21457b(0x28d)]();return Promise['resolve'](_0x233feb);}return Promise[_0x21457b(0x20b)](_0x58e5b9[_0x21457b(0x311)]);}catch(_0x3f02a7){return Promise['reject'](_0x3f02a7);}}async['saveImage'](_0x405d2b){const _0xb940e9=_0xd4a6c7;let _0x34b254='';if(!_0x1527ae['includes'](_0x405d2b[_0xb940e9(0x290)]))return this[_0xb940e9(0x216)](),Promise['reject'](new Error(_0x5f2084[_0xb940e9(0x3ce)]['ERROR_IMAGE_TYPE']));if(_0x405d2b[_0xb940e9(0x4aa)]>_0x252f17)return this[_0xb940e9(0x216)](),Promise[_0xb940e9(0x20b)](new Error(_0x5f2084[_0xb940e9(0x3ce)][_0xb940e9(0x256)]));try{const _0x4540fc=new FormData();_0x4540fc[_0xb940e9(0x296)]('file',_0x405d2b);const _0x4ffcb7=this[_0xb940e9(0xe0)]['getFocusedUnit'](),_0x738c4c=_0x4ffcb7==null?void 0x0:_0x4ffcb7[_0xb940e9(0x3c9)]();if(!_0x738c4c)throw new Error(_0xb940e9(0xdf));const _0x59543d=this[_0xb940e9(0x121)]()+_0xb940e9(0x17d)+_0x405d2b[_0xb940e9(0x4aa)]['toString']()+_0xb940e9(0x17e)+_0x39705f[_0xb940e9(0x134)]+_0xb940e9(0x367)+encodeURIComponent(_0x738c4c),_0x202731=await(await fetch(_0x59543d,{'method':_0xb940e9(0x3d0),'body':_0x4540fc}))[_0xb940e9(0xa6)]();if(typeof _0x202731[_0xb940e9(0x175)]!=_0xb940e9(0x428))return this[_0xb940e9(0x216)](),Promise[_0xb940e9(0x20b)](new Error(_0x5f2084[_0xb940e9(0x3ce)][_0xb940e9(0x426)]));_0x34b254=_0x202731[_0xb940e9(0x175)];}catch{return this[_0xb940e9(0x216)](),Promise[_0xb940e9(0x20b)](new Error(_0x5f2084[_0xb940e9(0x3ce)][_0xb940e9(0x426)]));}return new Promise((_0x5f32ee,_0x355363)=>{const _0x22154f=_0xb940e9,_0xf126f2=new FileReader();_0xf126f2[_0x22154f(0x362)](_0x405d2b),_0xf126f2[_0x22154f(0x3de)]=_0x3ffdb6=>{const _0x5aa9e4=_0x22154f;var _0x12b39d;const _0x3fe3eb=(_0x12b39d=_0x3ffdb6[_0x5aa9e4(0x542)])==null?void 0x0:_0x12b39d[_0x5aa9e4(0x46f)];if(_0x3fe3eb==null){this['_decreaseWaiting'](),_0x355363(new Error(_0x5f2084[_0x5aa9e4(0x3ce)][_0x5aa9e4(0x426)]));return;}const _0xc30517=_0x411d72[_0x5aa9e4(0x2a4)][_0x5aa9e4(0x136)](0x6);_0x5f32ee({'imageId':_0xc30517,'imageSourceType':_0x5f2084[_0x5aa9e4(0x342)]['UUID'],'source':_0x34b254,'base64Cache':_0x3fe3eb,'status':_0x5f2084[_0x5aa9e4(0x3ce)]['SUCCUSS']}),this[_0x5aa9e4(0x216)]();};});}[_0xd4a6c7(0x121)](){const _0x4a6e64=_0xd4a6c7;var _0x49457c,_0x1334d0;const _0x1168c0=this[_0x4a6e64(0x3ec)][_0x4a6e64(0x184)](_0x230170),_0x286643=this[_0x4a6e64(0x3ec)][_0x4a6e64(0x184)](_0x158e85);return(_0x1334d0=(_0x49457c=_0x286643==null?void 0x0:_0x286643[_0x4a6e64(0x15b)])!=null?_0x49457c:_0x1168c0)!=null?_0x1334d0:_0x70b0da;}[_0xd4a6c7(0x3d7)](){const _0x14d6f3=_0xd4a6c7;var _0x46c6c6,_0x172f5b;const _0xf1ec52=this[_0x14d6f3(0x3ec)][_0x14d6f3(0x184)](_0x46c25e),_0x54823b=this['_configService']['getConfig'](_0x158e85);return(_0x172f5b=(_0x46c6c6=_0x54823b==null?void 0x0:_0x54823b['signUrlServerUrl'])!=null?_0x46c6c6:_0xf1ec52)!=null?_0x172f5b:_0x2b0e5c;}[_0xd4a6c7(0x16a)](){const _0xe4f555=_0xd4a6c7;var _0x4a08cc;const _0x444a75=this['_configService'][_0xe4f555(0x184)](_0x158e85);return(_0x4a08cc=_0x444a75==null?void 0x0:_0x444a75[_0xe4f555(0x466)])!=null?_0x4a08cc:location['origin'];}['_replaceFileID'](_0x42f011,_0x8e8114){const _0x519be2=_0xd4a6c7;return _0x42f011[_0x519be2(0x511)](_0x519be2(0x1ba),_0x8e8114);}[_0xd4a6c7(0x216)](){const _0x12764c=_0xd4a6c7;this[_0x12764c(0x442)]-=0x1,this[_0x12764c(0x218)]['next'](this[_0x12764c(0x442)]);}},_0x59c9b4[_0xd4a6c7(0x1db)]=_0x4a7ace([_0x19214c(0x0,_0x411d72['Inject'](_0x30b9e9[_0xd4a6c7(0x103)])),_0x19214c(0x1,_0x411d72[_0xd4a6c7(0x384)]),_0x19214c(0x2,_0x411d72[_0xd4a6c7(0x371)](_0x411d72[_0xd4a6c7(0x498)]))],_0x59c9b4[_0xd4a6c7(0x1db)]);var _0x3632e7=Object[_0xd4a6c7(0x1a4)],_0x405f52=Object[_0xd4a6c7(0x47a)],_0x48c9ce=(_0x3ca14d,_0x2728d3,_0x52665c,_0x53ac25)=>{const _0x3adb04=_0xd4a6c7;for(var _0x2b0abb=_0x53ac25>0x1?void 0x0:_0x53ac25?_0x405f52(_0x2728d3,_0x52665c):_0x2728d3,_0x5cf0da=_0x3ca14d[_0x3adb04(0x26b)]-0x1,_0x15adf9;_0x5cf0da>=0x0;_0x5cf0da--)(_0x15adf9=_0x3ca14d[_0x5cf0da])&&(_0x2b0abb=(_0x53ac25?_0x15adf9(_0x2728d3,_0x52665c,_0x2b0abb):_0x15adf9(_0x2b0abb))||_0x2b0abb);return _0x53ac25&&_0x2b0abb&&_0x3632e7(_0x2728d3,_0x52665c,_0x2b0abb),_0x2b0abb;},_0x21f0a6=(_0x55f406,_0x74c171)=>(_0x3712ab,_0x257f84)=>_0x74c171(_0x3712ab,_0x257f84,_0x55f406);let _0x1a8fc3=class extends _0x411d72[_0xd4a6c7(0xbd)]{constructor(_0x4fc4b4,_0x3ca85b,_0x4c768d,_0x3d52a4,_0x518962){const _0x580579=_0xd4a6c7;super(),this[_0x580579(0x264)]=_0x4fc4b4,this[_0x580579(0xe0)]=_0x3ca85b,this[_0x580579(0x49a)]=_0x4c768d,this[_0x580579(0x2b1)]=_0x3d52a4,this['_localeService']=_0x518962,this[_0x580579(0x51c)](),this['_initCloseConn']();}['_initCloseConn'](){const _0x411d93=_0xd4a6c7,_0x338bc0=async _0x4b651a=>{const _0x4e6e91=_0x5231;(await this[_0x4e6e91(0x2b1)][_0x4e6e91(0x2da)](_0x4b651a))['event$'][_0x4e6e91(0x3dd)](_0x14effa[_0x4e6e91(0x44b)](_0x5baaa3=>_0x5baaa3[_0x4e6e91(0x37c)]===_0x487e40[_0x4e6e91(0x1df)][_0x4e6e91(0x278)]),_0x14effa[_0x4e6e91(0x383)](this[_0x4e6e91(0x33f)]))[_0x4e6e91(0x35c)](_0xa52cdf=>{const _0x4af88c=_0x4e6e91,_0x449f95=_0xa52cdf,{reason:_0x8c9bce}=_0x449f95[_0x4af88c(0x3b0)];this[_0x4af88c(0x264)][_0x4af88c(0x1c9)](_0x33b7bc['IMessageService'])['show']({'type':_0x4d0320[_0x4af88c(0x41c)][_0x4af88c(0x376)],'content':this[_0x4af88c(0x283)]['t']('collaboration.closeRoom')+'('+_0x8c9bce+')'}),this['_permissionService'][_0x4af88c(0x50a)](new _0x2e18c9[(_0x4af88c(0x2cd))](_0x4b651a)['id'],!0x1),this[_0x4af88c(0x2b1)][_0x4af88c(0x180)](_0x4b651a);});};_0x3c9c2d[_0x411d93(0x411)](this[_0x411d93(0xe0)]['getTypeOfUnitAdded$'](_0x411d72[_0x411d93(0x33b)][_0x411d93(0x1ed)]),this['_univerInstanceService'][_0x411d93(0x1de)](_0x411d72[_0x411d93(0x33b)]['UNIVER_DOC']))['pipe'](_0x14effa[_0x411d93(0x357)](_0xbccff3=>_0xbccff3[_0x411d93(0x3c9)]()),_0x14effa['filter'](_0x264747=>!_0x411d72[_0x411d93(0x31e)](_0x264747)),_0x14effa['takeUntil'](this[_0x411d93(0x33f)]))['subscribe'](_0x3178d6=>{_0x338bc0(_0x3178d6);});}[_0xd4a6c7(0x51c)](){const _0x14fd97=_0xd4a6c7,_0x5054f9=async _0x2cd157=>{const _0x22e86b=_0x5231;(await this[_0x22e86b(0x2b1)][_0x22e86b(0x2da)](_0x2cd157))['event$']['pipe'](_0x14effa[_0x22e86b(0x44b)](_0x2a5c5c=>_0x2a5c5c['eventID']===_0x487e40[_0x22e86b(0x1df)][_0x22e86b(0x272)]),_0x14effa['takeUntil'](this[_0x22e86b(0x33f)]))[_0x22e86b(0x35c)](_0x4b306c=>{const _0x7f5736=_0x22e86b,_0x5ca1f9=_0x4b306c,{objectId:_0x13007a}=_0x5ca1f9[_0x7f5736(0x3b0)],_0x4c8564=this[_0x7f5736(0x264)][_0x7f5736(0x1c9)](_0x2991cf['SheetPermissionInitController']);_0x13007a===_0x2cd157?_0x4c8564[_0x7f5736(0x164)](_0x2cd157):_0x4c8564[_0x7f5736(0x282)](_0x2cd157,_0x13007a);});};_0x3c9c2d['merge'](this[_0x14fd97(0xe0)][_0x14fd97(0x1de)](_0x411d72[_0x14fd97(0x33b)][_0x14fd97(0x1ed)]),this[_0x14fd97(0xe0)]['getTypeOfUnitAdded$'](_0x411d72[_0x14fd97(0x33b)][_0x14fd97(0x435)]))[_0x14fd97(0x3dd)](_0x14effa[_0x14fd97(0x357)](_0x250fab=>_0x250fab[_0x14fd97(0x3c9)]()),_0x14effa[_0x14fd97(0x44b)](_0x2b7e31=>!_0x411d72[_0x14fd97(0x31e)](_0x2b7e31)),_0x14effa[_0x14fd97(0x383)](this[_0x14fd97(0x33f)]))[_0x14fd97(0x35c)](_0x27e9e9=>{_0x5054f9(_0x27e9e9);});}};_0x1a8fc3=_0x48c9ce([_0x21f0a6(0x0,_0x411d72[_0xd4a6c7(0x371)](_0x411d72[_0xd4a6c7(0x3e2)])),_0x21f0a6(0x1,_0x411d72[_0xd4a6c7(0x498)]),_0x21f0a6(0x2,_0x411d72[_0xd4a6c7(0x328)]),_0x21f0a6(0x3,_0x411d72[_0xd4a6c7(0x371)](_0x59c9b4[_0xd4a6c7(0x37f)])),_0x21f0a6(0x4,_0x411d72[_0xd4a6c7(0x371)](_0x411d72[_0xd4a6c7(0x117)]))],_0x1a8fc3);var _0x229461=Object[_0xd4a6c7(0x1a4)],_0x185b47=Object[_0xd4a6c7(0x47a)],_0x3d6a13=(_0x5e8288,_0x3e9bbd,_0x2932d5,_0x131f69)=>{for(var _0x32ed8e=_0x131f69>0x1?void 0x0:_0x131f69?_0x185b47(_0x3e9bbd,_0x2932d5):_0x3e9bbd,_0x530476=_0x5e8288['length']-0x1,_0x5841ff;_0x530476>=0x0;_0x530476--)(_0x5841ff=_0x5e8288[_0x530476])&&(_0x32ed8e=(_0x131f69?_0x5841ff(_0x3e9bbd,_0x2932d5,_0x32ed8e):_0x5841ff(_0x32ed8e))||_0x32ed8e);return _0x131f69&&_0x32ed8e&&_0x229461(_0x3e9bbd,_0x2932d5,_0x32ed8e),_0x32ed8e;},_0x174a56=(_0x506324,_0x3b843c)=>(_0x272e22,_0x28e28a)=>_0x3b843c(_0x272e22,_0x28e28a,_0x506324);_0x59c9b4[_0xd4a6c7(0x19a)]=class{constructor(_0xa18b82,_0x25da93){const _0x41078d=_0xd4a6c7;this[_0x41078d(0x3ec)]=_0xa18b82,this[_0x41078d(0x42d)]=_0x25da93;}async[_0xd4a6c7(0x1c0)](_0x199491,_0x2f31f4){const _0x4bea03=_0xd4a6c7;var _0x74fcaa;const {unitID:_0x3e57ab,type:_0x59028f,revision:_0x4d1041=0x0}=_0x2f31f4,_0x24db40=this[_0x4bea03(0x13a)]()+'/'+_0x59028f+'/unit/'+_0x3e57ab+_0x4bea03(0x3c7)+_0x4d1041,_0x1409ef=(await this['_httpService'][_0x4bea03(0x1c9)](_0x24db40))[_0x4bea03(0x397)],_0x308ff7=(_0x74fcaa=_0x1409ef[_0x4bea03(0x2d8)])==null?void 0x0:_0x74fcaa['workbook'];if(_0x308ff7){const _0x1d67c5=_0x308ff7==null?void 0x0:_0x308ff7[_0x4bea03(0x490)],_0x2bd404=_0x487e40['textEncoder'][_0x4bea03(0xec)](_0x487e40['b64DecodeUnicode'](_0x1d67c5));_0x308ff7[_0x4bea03(0x490)]=_0x2bd404,Object[_0x4bea03(0x4af)](_0x308ff7[_0x4bea03(0x125)])[_0x4bea03(0x335)](([,_0x76e7ba])=>{const _0x485129=_0x4bea03,_0x3ab0ba=_0x76e7ba[_0x485129(0x490)],_0x54445f=_0x487e40['textEncoder']['encode'](_0x487e40[_0x485129(0x1bd)](_0x3ab0ba));_0x76e7ba[_0x485129(0x490)]=_0x54445f;});}return _0x1409ef;}async['getSheetBlock'](_0x8fa29e,_0x43d0c5){const _0x1d1f9c=_0xd4a6c7,{unitID:_0x13ee57,type:_0x378436,blockID:_0x40d134}=_0x43d0c5,_0x2be303=this[_0x1d1f9c(0x291)]()+'/'+_0x378436+_0x1d1f9c(0x4b5)+_0x13ee57+_0x1d1f9c(0x200)+_0x40d134;return(await this['_httpService']['get'](_0x2be303))[_0x1d1f9c(0x397)];}async[_0xd4a6c7(0xb8)](_0x26d1bc,_0xe4e67c){const _0x337449=_0xd4a6c7,{unitID:_0xd987aa,type:_0x2b0d01,blockID:_0x574150}=_0xe4e67c,_0x148f4e=this[_0x337449(0x291)]()+_0x337449(0x200)+_0x2b0d01+'/unit/'+_0xd987aa+_0x337449(0x200)+_0x574150;return(await this['_httpService']['get'](_0x148f4e))[_0x337449(0x397)];}async[_0xd4a6c7(0xbe)](_0x1d1449,_0xccfa3b){const _0x421440=_0xd4a6c7,{unitID:_0x461ecf,type:_0x174388,from:_0x2d2f04,to:_0x1e34bd}=_0xccfa3b,_0x11db69=this[_0x421440(0x291)]()+'/'+_0x174388+_0x421440(0x4b5)+_0x461ecf+'/fetchmissing?from='+_0x2d2f04+_0x421440(0x251)+_0x1e34bd;return(await this[_0x421440(0x42d)][_0x421440(0x1c9)](_0x11db69))[_0x421440(0x397)];}['_getSnapshotAPIPrefix'](){const _0x4b6b24=_0xd4a6c7;var _0x4a4664;return(_0x4a4664=this[_0x4b6b24(0x3ec)][_0x4b6b24(0x184)](_0x19c8d1))!=null?_0x4a4664:this['_getAPIPrefix']();}[_0xd4a6c7(0x291)](){const _0x138799=_0xd4a6c7;var _0x62cd79,_0x1a9fb2;const _0x126495=this[_0x138799(0x3ec)][_0x138799(0x184)](_0x2fe602),_0x230bbe=this[_0x138799(0x3ec)][_0x138799(0x184)](_0x158e85);return(_0x1a9fb2=(_0x62cd79=_0x230bbe==null?void 0x0:_0x230bbe[_0x138799(0x3f1)])!=null?_0x62cd79:_0x126495)!=null?_0x1a9fb2:_0x4599f9;}async[_0xd4a6c7(0xc5)](_0x1c8df9,_0x1b1a50){const _0x47806f=_0xd4a6c7,_0x136fd4=_0x47806f(0x2fe)+_0x1b1a50[_0x47806f(0x290)]+'/unit/'+_0x1b1a50['unitID']+_0x47806f(0x309);return(await this[_0x47806f(0x42d)]['get'](_0x136fd4,{'params':{'resourceId':JSON[_0x47806f(0x275)](_0x1b1a50[_0x47806f(0x9b)])}}))[_0x47806f(0x397)];}[_0xd4a6c7(0x541)](){const _0x5e48d2=_0xd4a6c7;throw new Error(_0x5e48d2(0x3ae));}[_0xd4a6c7(0x54a)](){const _0x58b69c=_0xd4a6c7;throw new Error(_0x58b69c(0x3ae));}[_0xd4a6c7(0x301)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xd4a6c7(0x3a2)](){const _0xaac83d=_0xd4a6c7;throw new Error(_0xaac83d(0x3ae));}[_0xd4a6c7(0x55f)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}},_0x59c9b4[_0xd4a6c7(0x19a)]=_0x3d6a13([_0x174a56(0x0,_0x411d72[_0xd4a6c7(0x384)]),_0x174a56(0x1,_0x411d72[_0xd4a6c7(0x371)](_0x30b9e9[_0xd4a6c7(0x103)]))],_0x59c9b4[_0xd4a6c7(0x19a)]);var _0x382663=Object['defineProperty'],_0x3e848f=Object[_0xd4a6c7(0x47a)],_0x6a9aa5=(_0x401ac0,_0x544d8a,_0x228834,_0x175779)=>{const _0x1ac4df=_0xd4a6c7;for(var _0x4591d3=_0x175779>0x1?void 0x0:_0x175779?_0x3e848f(_0x544d8a,_0x228834):_0x544d8a,_0x302df9=_0x401ac0[_0x1ac4df(0x26b)]-0x1,_0x4d10c5;_0x302df9>=0x0;_0x302df9--)(_0x4d10c5=_0x401ac0[_0x302df9])&&(_0x4591d3=(_0x175779?_0x4d10c5(_0x544d8a,_0x228834,_0x4591d3):_0x4d10c5(_0x4591d3))||_0x4591d3);return _0x175779&&_0x4591d3&&_0x382663(_0x544d8a,_0x228834,_0x4591d3),_0x4591d3;},_0xd46d48=(_0x203234,_0x3a0881)=>(_0x34109c,_0x315e0c)=>_0x3a0881(_0x34109c,_0x315e0c,_0x203234);let _0x5ac0a3=class extends _0x411d72[_0xd4a6c7(0x2fb)]{constructor(_0x35f25a,_0x2a5dc1,_0x211fb3,_0x371d9a,_0x4febe3){const _0x36f4b6=_0xd4a6c7;super(_0x35f25a,_0x2a5dc1,_0x211fb3),this[_0x36f4b6(0x4bf)]=_0x371d9a,this[_0x36f4b6(0xfc)]=_0x4febe3;}[_0xd4a6c7(0x1d4)](_0x2b747c,_0x3ffd99){const _0x28b2c7=_0xd4a6c7,_0x530261=this[_0x28b2c7(0xf5)](_0x2b747c);if(_0x530261)try{const _0x176b16=this[_0x28b2c7(0x11d)](_0x530261,_0x3ffd99);this[_0x28b2c7(0x1d1)](_0x2b747c,_0x176b16);}catch(_0x2fd95a){this[_0x28b2c7(0xfc)]['error'](_0x28b2c7(0x236),_0x2fd95a),this['_clearUndo'](_0x2b747c);}const _0x390968=this[_0x28b2c7(0x128)](_0x2b747c);if(_0x390968)try{const _0x2381a7=this[_0x28b2c7(0x11d)](_0x390968,_0x3ffd99);this[_0x28b2c7(0x2db)](_0x2b747c,_0x2381a7);}catch(_0x327492){this[_0x28b2c7(0xfc)][_0x28b2c7(0x311)](_0x327492),this[_0x28b2c7(0x2c2)](_0x2b747c);}}[_0xd4a6c7(0x39d)](_0x4aad67){const _0x591132=_0xd4a6c7,_0x31610c=this[_0x591132(0xf5)](_0x4aad67);_0x31610c&&(_0x31610c[_0x591132(0x26b)]=0x0,this['_updateStatus']());}[_0xd4a6c7(0x2c2)](_0x147272){const _0x3adf1e=_0xd4a6c7,_0x44adac=this[_0x3adf1e(0x128)](_0x147272);_0x44adac&&(_0x44adac[_0x3adf1e(0x26b)]=0x0,this['_updateStatus']());}[_0xd4a6c7(0x1d1)](_0x5215c9,_0x1c82dd){const _0x11a0e0=_0xd4a6c7;this[_0x11a0e0(0x402)][_0x11a0e0(0x36e)](_0x5215c9,_0x1c82dd),this['_updateStatus']();}['_substituteRedoStack'](_0x50c63b,_0x239588){const _0x506640=_0xd4a6c7;this[_0x506640(0xfd)]['set'](_0x50c63b,_0x239588),this[_0x506640(0x18d)]();}[_0xd4a6c7(0x11d)](_0x3f9753,_0x4241ad){const _0x20fdad=_0xd4a6c7,_0x45b5ec=[];let _0x2e3be3=_0x4241ad,_0x441a1a=_0x4241ad;for(let _0x2c22c9=_0x3f9753[_0x20fdad(0x26b)]-0x1;_0x2c22c9>=0x0;_0x2c22c9--){const {unitID:_0x51e9a6,undoMutations:_0x1d8f00,redoMutations:_0xae3a0b}=_0x3f9753[_0x2c22c9],_0x295196=this['_transformService'][_0x20fdad(0x14f)](_0x2e3be3,_0x1d8f00),_0x2c4e98=this[_0x20fdad(0x4bf)]['transformMutationsWithChangeset'](_0x441a1a,_0xae3a0b);if(_0x487e40['isTransformMutationsWithChangesetFailure'](_0x295196)||_0x487e40['isTransformMutationsWithChangesetFailure'](_0x2c4e98)){this['_logService'][_0x20fdad(0x311)](_0x20fdad(0x236),'transformStack\x20failed!',_0x295196,_0x2c4e98);break;}_0x2e3be3=_0x295196[_0x20fdad(0x3c5)],_0x441a1a=_0x2c4e98[_0x20fdad(0x3c5)],_0x45b5ec[_0x20fdad(0x2d7)]({'unitID':_0x51e9a6,'undoMutations':_0x295196[_0x20fdad(0x2ee)],'redoMutations':_0x2c4e98[_0x20fdad(0x2ee)]});}return _0x45b5ec[_0x20fdad(0x25e)]();}};_0x5ac0a3=_0x6a9aa5([_0xd46d48(0x0,_0x411d72[_0xd4a6c7(0x498)]),_0xd46d48(0x1,_0x411d72[_0xd4a6c7(0x130)]),_0xd46d48(0x2,_0x411d72['IContextService']),_0xd46d48(0x3,_0x487e40[_0xd4a6c7(0x548)]),_0xd46d48(0x4,_0x411d72[_0xd4a6c7(0x3cd)])],_0x5ac0a3);class _0xda96cf extends _0x411d72[_0xd4a6c7(0xbd)]{constructor(){const _0x56ff81=_0xd4a6c7;super(),_0x3fe385(this,_0x56ff81(0x3e9)),this[_0x56ff81(0x3e9)]=_0x3c9c2d[_0x56ff81(0x377)](window,_0x56ff81(0xa5))['pipe'](_0x3c9c2d['takeUntil'](this['dispose$']),_0x3c9c2d[_0x56ff81(0xb3)](0x1),_0x3c9c2d[_0x56ff81(0xaf)](void 0x0));}['setParam'](_0x5a2ae6,_0x312723,_0x336159=!0x1){const _0x2c4369=_0xd4a6c7,_0x23fc40=new URL(window[_0x2c4369(0x471)][_0x2c4369(0x104)]);_0x23fc40[_0x2c4369(0x2ea)][_0x2c4369(0x36e)](_0x5a2ae6,_0x312723),_0x336159?window[_0x2c4369(0x3b1)][_0x2c4369(0x288)]('','',_0x23fc40[_0x2c4369(0x28d)]()):window[_0x2c4369(0x3b1)]['pushState']('','',_0x23fc40[_0x2c4369(0x28d)]());}[_0xd4a6c7(0x54d)](_0x23d0c0,_0x5ed295=!0x1){const _0x82fbdc=_0xd4a6c7,_0x2fae45=new URL(window[_0x82fbdc(0x471)][_0x82fbdc(0x104)]);_0x2fae45['searchParams'][_0x82fbdc(0xea)](_0x23d0c0),_0x5ed295?window['history'][_0x82fbdc(0x288)]('','',_0x2fae45['toString']()):window['history']['pushState']('','',_0x2fae45[_0x82fbdc(0x28d)]());}[_0xd4a6c7(0x2ae)](_0x287820){const _0x4651ed=_0xd4a6c7;var _0x7fc512;return(_0x7fc512=new URL(window['location'][_0x4651ed(0x104)])['searchParams'][_0x4651ed(0x1c9)](_0x287820))!=null?_0x7fc512:void 0x0;}}var _0x12b969=Object[_0xd4a6c7(0x1a4)],_0x24fa83=Object[_0xd4a6c7(0x47a)],_0x3f2daa=(_0x30a58f,_0x56503b,_0x39d478)=>_0x56503b in _0x30a58f?_0x12b969(_0x30a58f,_0x56503b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x39d478}):_0x30a58f[_0x56503b]=_0x39d478,_0x4779f9=(_0x219b19,_0x11b83e,_0x1e0617,_0x6766d7)=>{for(var _0x227848=_0x6766d7>0x1?void 0x0:_0x6766d7?_0x24fa83(_0x11b83e,_0x1e0617):_0x11b83e,_0x4e5629=_0x219b19['length']-0x1,_0x47c253;_0x4e5629>=0x0;_0x4e5629--)(_0x47c253=_0x219b19[_0x4e5629])&&(_0x227848=(_0x6766d7?_0x47c253(_0x11b83e,_0x1e0617,_0x227848):_0x47c253(_0x227848))||_0x227848);return _0x6766d7&&_0x227848&&_0x12b969(_0x11b83e,_0x1e0617,_0x227848),_0x227848;},_0x367cda=(_0x3c5f58,_0x1acf66)=>(_0x32a5a7,_0x1a1cb)=>_0x1acf66(_0x32a5a7,_0x1a1cb,_0x3c5f58),_0x2868b1=(_0x5e7344,_0x5b0a27,_0x14a5b6)=>_0x3f2daa(_0x5e7344,_0x5b0a27+'',_0x14a5b6);const _0x42e2fa=_0xd4a6c7(0xab);_0x59c9b4[_0xd4a6c7(0x3e1)]=class extends _0x411d72[_0xd4a6c7(0xb6)]{constructor(_0x4ba734=_0x4c21ed,_0x4577be,_0x1e6937,_0x5cab02,_0x48a27d){const _0x53f428=_0xd4a6c7;super(),this['_config']=_0x4ba734,this[_0x53f428(0xfc)]=_0x4577be,this[_0x53f428(0x2dd)]=_0x1e6937,this['_injector']=_0x5cab02,this['_configService']=_0x48a27d;const {..._0x1867c5}=this['_config'];this['_configService'][_0x53f428(0x304)](_0x158e85,_0x1867c5);}[_0xd4a6c7(0x355)](){const _0x547707=_0xd4a6c7;this[_0x547707(0x43e)](),this[_0x547707(0x3a5)]();}[_0xd4a6c7(0x2f3)](){const _0x2e2084=_0xd4a6c7;_0x411d72[_0x2e2084(0x273)](this[_0x2e2084(0x264)],[[_0x30d451]]);}[_0xd4a6c7(0x22a)](){this['_registerRenderDependencies']();}[_0xd4a6c7(0x43e)](){const _0x2c8ca2=_0xd4a6c7;var _0x233a18,_0x12c1c5,_0x3a11f1,_0x5e9631;this['_injector'][_0x2c8ca2(0x303)](_0x411d72[_0x2c8ca2(0x347)])&&this[_0x2c8ca2(0xfc)][_0x2c8ca2(0x311)](_0x2c8ca2(0x172),_0x2c8ca2(0x1ea));const _0xfcec5f=[[_0x411d72[_0x2c8ca2(0x347)],{'useClass':_0x5ac0a3}],[_0x59c9b4[_0x2c8ca2(0x37f)]],[_0x439da9],[_0x27f765,{'useClass':_0xda96cf}],[_0x59c9b4['MemberService']],[_0x59c9b4[_0x2c8ca2(0x4c5)]],[_0x30b9e9[_0x2c8ca2(0x1d6)]],[_0x5631c1],[_0x51ae24],[_0x5d53eb],[_0x3c5bba],[_0x3ec825],[_0x46612c],[_0x3d870b],[_0x32a747],[_0x1a8fc3],[_0x296dff,{'useClass':(_0x12c1c5=(_0x233a18=this['_config'])==null?void 0x0:_0x233a18[_0x2c8ca2(0x29e)])!=null?_0x12c1c5:_0x59c9b4[_0x2c8ca2(0x3d1)]}],[_0x487e40[_0x2c8ca2(0x4be)],{'useClass':_0x59c9b4['SnapshotServerOverHTTPService']}],[_0x411d72['IAuthzIoService'],{'useClass':_0x59c9b4[_0x2c8ca2(0x2a9)]}],[_0x5f2084[_0x2c8ca2(0x42b)],{'useClass':_0x59c9b4[_0x2c8ca2(0x1db)]}],[_0x59c9b4['CollaborationController']],[_0x59c9b4['DataLoaderController']],[_0x59c9b4['DesktopCollaborationStatusDisplayController']],[_0x30d451],[_0x5543c0]];(_0x3a11f1=this[_0x2c8ca2(0x496)])!=null&&_0x3a11f1[_0x2c8ca2(0x46b)]&&_0xfcec5f[_0x2c8ca2(0x2d7)]([_0x4339b3,{'useClass':_0x374b2a}]),_0x411d72['registerDependencies'](this[_0x2c8ca2(0x264)],_0x411d72['mergeOverrideWithDependencies'](_0xfcec5f,(_0x5e9631=this[_0x2c8ca2(0x496)])==null?void 0x0:_0x5e9631[_0x2c8ca2(0x201)]));}[_0xd4a6c7(0x447)](){const _0x10774a=_0xd4a6c7;this[_0x10774a(0x20f)](this[_0x10774a(0x2dd)][_0x10774a(0x22b)](_0x411d72[_0x10774a(0x33b)]['UNIVER_DOC'],[_0x8ed735])),this[_0x10774a(0x20f)](this[_0x10774a(0x2dd)]['registerRenderModule'](_0x411d72[_0x10774a(0x33b)][_0x10774a(0x1ed)],[_0x31a314]));}[_0xd4a6c7(0x3a5)](){const _0x93985d=_0xd4a6c7;var _0x3be3d6,_0x3c29e0;this[_0x93985d(0x264)][_0x93985d(0x1c9)](_0x30b9e9[_0x93985d(0x103)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x30b9e9[_0x93985d(0x1f1)]({'maxParallel':0x6})}),(_0x3be3d6=this[_0x93985d(0x496)])!=null&&_0x3be3d6[_0x93985d(0x3a0)]||this[_0x93985d(0x264)][_0x93985d(0x1c9)](_0x59c9b4['LocalCacheService'])[_0x93985d(0x32d)](),(_0x3c29e0=this[_0x93985d(0x496)])!=null&&_0x3c29e0[_0x93985d(0x2b8)]&&_0x411d72[_0x93985d(0x273)](this['_injector'],[[_0x46612c]]),_0x411d72[_0x93985d(0x273)](this[_0x93985d(0x264)],[[_0x3d870b],[_0x5543c0],[_0x59c9b4[_0x93985d(0xe9)]],[_0x59c9b4[_0x93985d(0x463)]],[_0x59c9b4[_0x93985d(0x4e4)]],[_0x1a8fc3]]);}},_0x2868b1(_0x59c9b4[_0xd4a6c7(0x3e1)],_0xd4a6c7(0x446),_0x42e2fa),_0x59c9b4[_0xd4a6c7(0x3e1)]=_0x4779f9([_0x411d72[_0xd4a6c7(0x522)](_0x487e40[_0xd4a6c7(0x536)],_0x30b9e9[_0xd4a6c7(0x4ae)]),_0x367cda(0x1,_0x411d72[_0xd4a6c7(0x3cd)]),_0x367cda(0x2,_0x46ea61['IRenderManagerService']),_0x367cda(0x3,_0x411d72[_0xd4a6c7(0x371)](_0x411d72[_0xd4a6c7(0x3e2)])),_0x367cda(0x4,_0x411d72[_0xd4a6c7(0x384)])],_0x59c9b4[_0xd4a6c7(0x3e1)]),_0x59c9b4['AUTHZ_URL_KEY']=_0x48ad57,_0x59c9b4[_0xd4a6c7(0x1a1)]=_0x4344f1,_0x59c9b4[_0xd4a6c7(0x393)]=_0x1b13ef,_0x59c9b4[_0xd4a6c7(0xf4)]=_0x323170,_0x59c9b4[_0xd4a6c7(0x48c)]=_0x223626,_0x59c9b4[_0xd4a6c7(0x387)]=_0x32a747,_0x59c9b4[_0xd4a6c7(0x306)]=_0x34d167,_0x59c9b4['HEARTBEAT_TIMEOUT_KEY']=_0x18a963,_0x59c9b4[_0xd4a6c7(0x159)]=_0x296dff,_0x59c9b4[_0xd4a6c7(0x19c)]=_0x27f765,_0x59c9b4['LOCAL_CACHE_INTERVAL_KEY']=_0x12e2d1,_0x59c9b4[_0xd4a6c7(0x431)]=_0x343e77,_0x59c9b4[_0xd4a6c7(0x1bb)]=_0x475057,_0x59c9b4[_0xd4a6c7(0x417)]=_0x363ab6,_0x59c9b4[_0xd4a6c7(0x246)]=_0x2fe602,_0x59c9b4[_0xd4a6c7(0x3bf)]=_0x19c8d1,_0x59c9b4['SessionStatus']=_0x5ca660,_0x59c9b4[_0xd4a6c7(0x132)]=_0x29c82f,_0x59c9b4['WebURLService']=_0xda96cf,_0x59c9b4[_0xd4a6c7(0x1c5)]=_0x32be7f,_0x59c9b4[_0xd4a6c7(0x3b7)]=_0x2ea7fb,Object[_0xd4a6c7(0x1a4)](_0x59c9b4,Symbol[_0xd4a6c7(0x168)],{'value':'Module'});}));
|