@univerjs-pro/collaboration-client 0.6.10-experimental.20250421-e4eb9bc → 0.6.10-experimental.20250424-9e348ed

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- (function(_0x3055ec,_0x2d4242){var _0x181a30=_0x2e75,_0x3c3eb2=_0x3055ec();while(!![]){try{var _0x382d9a=-parseInt(_0x181a30(0x26f))/0x1*(-parseInt(_0x181a30(0x589))/0x2)+parseInt(_0x181a30(0x436))/0x3+-parseInt(_0x181a30(0x43a))/0x4+-parseInt(_0x181a30(0x54f))/0x5+parseInt(_0x181a30(0x1f7))/0x6+-parseInt(_0x181a30(0x20a))/0x7*(-parseInt(_0x181a30(0x2bd))/0x8)+-parseInt(_0x181a30(0x49d))/0x9*(parseInt(_0x181a30(0x20e))/0xa);if(_0x382d9a===_0x2d4242)break;else _0x3c3eb2['push'](_0x3c3eb2['shift']());}catch(_0x3af4f5){_0x3c3eb2['push'](_0x3c3eb2['shift']());}}}(_0xb670,0xc6c5c),function(_0x1332a5,_0x3bef00){var _0x14078f=_0x2e75;typeof exports==_0x14078f(0x46c)&&typeof module<'u'?_0x3bef00(exports,require(_0x14078f(0x2e6)),require(_0x14078f(0x4f6)),require(_0x14078f(0x4fd)),require(_0x14078f(0x4e9)),require(_0x14078f(0x2d0)),require('@univerjs/telemetry'),require(_0x14078f(0x58e)),require(_0x14078f(0x57c)),require(_0x14078f(0x2a9)),require('@univerjs-pro/license')):typeof define==_0x14078f(0x238)&&define[_0x14078f(0x4e2)]?define([_0x14078f(0x246),_0x14078f(0x2e6),_0x14078f(0x4f6),_0x14078f(0x4fd),_0x14078f(0x4e9),_0x14078f(0x2d0),_0x14078f(0x3da),_0x14078f(0x58e),'@univerjs/sheets',_0x14078f(0x2a9),_0x14078f(0x2e3)],_0x3bef00):(_0x1332a5=typeof globalThis<'u'?globalThis:_0x1332a5||self,_0x3bef00(_0x1332a5[_0x14078f(0x2ef)]={},_0x1332a5[_0x14078f(0x502)],_0x1332a5['rxjs'],_0x1332a5[_0x14078f(0x4f6)][_0x14078f(0x2b9)],_0x1332a5['UniverProCollaboration'],_0x1332a5[_0x14078f(0x26b)],_0x1332a5[_0x14078f(0x4bc)],_0x1332a5[_0x14078f(0x44b)],_0x1332a5[_0x14078f(0x454)],_0x1332a5[_0x14078f(0x442)],_0x1332a5[_0x14078f(0x541)]));}(this,function(_0x4ac6e3,_0x3f544a,_0x335b5e,_0x25c62c,_0x339060,_0x334605,_0x4afc99,_0x34e30e,_0x2c566d,_0x1ad106,_0xea945e){'use strict';var _0x6a139a=_0x2e75;var _0x3cdeb9=Object[_0x6a139a(0x26e)],_0x344a6b=(_0x45c248,_0x5ea2b4,_0x31bdbd)=>_0x5ea2b4 in _0x45c248?_0x3cdeb9(_0x45c248,_0x5ea2b4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x31bdbd}):_0x45c248[_0x5ea2b4]=_0x31bdbd,_0x4df247=(_0x1905c2,_0x5f23c0,_0x277977)=>_0x344a6b(_0x1905c2,typeof _0x5f23c0!=_0x6a139a(0x2bf)?_0x5f23c0+'':_0x5f23c0,_0x277977);const _0x5d0ca0=_0x6a139a(0x35c),_0x25a32f=_0x6a139a(0x4a4),_0x3ab5d5=_0x6a139a(0x341),_0x19eb15=_0x6a139a(0x1f8),_0x4c5b78=_0x6a139a(0x222),_0x1bf3ce='ws://127.0.0.1:8000/universer-api/comb/connect',_0x3b63f4=_0x6a139a(0x3b8),_0x179239='HEARTBEAT_INTERVAL',_0x49c8f0=_0x6a139a(0x387),_0x6171dd=_0x6a139a(0x481),_0x349c8d=_0x6a139a(0x4c5),_0x24a0ec=_0x6a139a(0x4b8),_0x572c2b=_0x6a139a(0x204),_0x1d0e0f='LOGIN_URL_KEY',_0x2f26b7='/universer-api/oidc/authpage',_0x583b44='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',_0x5071b3=_0x6a139a(0x3d6);var _0x148256=(_0x3d1b40=>(_0x3d1b40[_0x3d1b40[_0x6a139a(0x4df)]=0x0]='UNDEFINED',_0x3d1b40[_0x3d1b40['OK']=0x1]='OK',_0x3d1b40[_0x3d1b40['INTERNAL_ERROR']=0x2]=_0x6a139a(0x3c2),_0x3d1b40[_0x3d1b40[_0x6a139a(0x41f)]=0x3]=_0x6a139a(0x41f),_0x3d1b40[_0x3d1b40[_0x6a139a(0x2e9)]=0x4]=_0x6a139a(0x2e9),_0x3d1b40[_0x3d1b40[_0x6a139a(0x582)]=0x5]=_0x6a139a(0x582),_0x3d1b40[_0x3d1b40['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x3d1b40[_0x3d1b40['INVALID_ARGUMENT']=0x7]=_0x6a139a(0x525),_0x3d1b40[_0x3d1b40[_0x6a139a(0x4c2)]=0x8]=_0x6a139a(0x4c2),_0x3d1b40[_0x3d1b40[_0x6a139a(0x3fb)]=0x9]=_0x6a139a(0x3fb),_0x3d1b40[_0x3d1b40[_0x6a139a(0x353)]=0xa]=_0x6a139a(0x353),_0x3d1b40[_0x3d1b40[_0x6a139a(0x455)]=0x1389]=_0x6a139a(0x455),_0x3d1b40[_0x3d1b40[_0x6a139a(0x406)]=0x1771]=_0x6a139a(0x406),_0x3d1b40[_0x3d1b40[_0x6a139a(0x3ee)]=0x1772]=_0x6a139a(0x3ee),_0x3d1b40[_0x3d1b40[_0x6a139a(0x32b)]=0x1773]=_0x6a139a(0x32b),_0x3d1b40[_0x3d1b40['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x3d1b40[_0x3d1b40['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x6a139a(0x3ac),_0x3d1b40[_0x3d1b40[_0x6a139a(0x4a3)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3d1b40[_0x3d1b40[_0x6a139a(0x489)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3d1b40[_0x3d1b40[_0x6a139a(0x4ca)]=0x1b5d]=_0x6a139a(0x4ca),_0x3d1b40[_0x3d1b40[_0x6a139a(0x2fc)]=0x1f41]=_0x6a139a(0x2fc),_0x3d1b40[_0x3d1b40['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x6a139a(0x2ad),_0x3d1b40[_0x3d1b40[_0x6a139a(0x374)]=0x232a]=_0x6a139a(0x374),_0x3d1b40[_0x3d1b40[_0x6a139a(0x3be)]=0x232b]=_0x6a139a(0x3be),_0x3d1b40[_0x3d1b40[_0x6a139a(0x27a)]=0x232c]=_0x6a139a(0x27a),_0x3d1b40[_0x3d1b40[_0x6a139a(0x4be)]=0x232d]=_0x6a139a(0x4be),_0x3d1b40[_0x3d1b40[_0x6a139a(0x2a0)]=0x2711]=_0x6a139a(0x2a0),_0x3d1b40[_0x3d1b40[_0x6a139a(0x257)]=0x2712]=_0x6a139a(0x257),_0x3d1b40[_0x3d1b40[_0x6a139a(0x432)]=0x2713]=_0x6a139a(0x432),_0x3d1b40[_0x3d1b40[_0x6a139a(0x2be)]=0x2714]=_0x6a139a(0x2be),_0x3d1b40[_0x3d1b40['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x6a139a(0x356),_0x3d1b40[_0x3d1b40[_0x6a139a(0x487)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x3d1b40[_0x3d1b40[_0x6a139a(0x279)]=0x2af9]=_0x6a139a(0x279),_0x3d1b40[_0x3d1b40[_0x6a139a(0x3e5)]=0x2ee1]=_0x6a139a(0x3e5),_0x3d1b40[_0x3d1b40[_0x6a139a(0x366)]=0x2ee2]=_0x6a139a(0x366),_0x3d1b40[_0x3d1b40[_0x6a139a(0x364)]=0x2ee3]=_0x6a139a(0x364),_0x3d1b40[_0x3d1b40[_0x6a139a(0x221)]=0x2ee4]=_0x6a139a(0x221),_0x3d1b40[_0x3d1b40['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x6a139a(0x2c0),_0x3d1b40[_0x3d1b40[_0x6a139a(0x31c)]=0x32c9]=_0x6a139a(0x31c),_0x3d1b40[_0x3d1b40[_0x6a139a(0x26c)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3d1b40[_0x3d1b40[_0x6a139a(0x40e)]=0x32cb]=_0x6a139a(0x40e),_0x3d1b40[_0x3d1b40[_0x6a139a(0x3a9)]=-0x1]=_0x6a139a(0x3a9),_0x3d1b40))(_0x148256||{}),_0x51429f=(_0x2aa6ae=>(_0x2aa6ae[_0x2aa6ae[_0x6a139a(0x338)]=0x0]=_0x6a139a(0x338),_0x2aa6ae[_0x2aa6ae[_0x6a139a(0x4dc)]=0x1]=_0x6a139a(0x4dc),_0x2aa6ae[_0x2aa6ae[_0x6a139a(0x41e)]=0x2]='UNIVER_SHEET',_0x2aa6ae[_0x2aa6ae[_0x6a139a(0x28d)]=0x3]='UNIVER_SLIDE',_0x2aa6ae[_0x2aa6ae[_0x6a139a(0x305)]=0x4]=_0x6a139a(0x305),_0x2aa6ae[_0x2aa6ae[_0x6a139a(0x3a9)]=-0x1]=_0x6a139a(0x3a9),_0x2aa6ae))(_0x51429f||{}),_0x527cfc=(_0x314a68=>(_0x314a68[_0x314a68[_0x6a139a(0x3b5)]=0x0]='UNKNOWN_CMD',_0x314a68[_0x314a68[_0x6a139a(0x3e4)]=0x1]=_0x6a139a(0x3e4),_0x314a68[_0x314a68[_0x6a139a(0x4b4)]=0x2]=_0x6a139a(0x4b4),_0x314a68[_0x314a68[_0x6a139a(0x513)]=0x3]=_0x6a139a(0x513),_0x314a68[_0x314a68[_0x6a139a(0x391)]=0x4]='INGEST',_0x314a68[_0x314a68[_0x6a139a(0x4b9)]=0x5]='HEARTBEAT',_0x314a68[_0x314a68[_0x6a139a(0x46d)]=0x6]='RECV',_0x314a68[_0x314a68[_0x6a139a(0x3a9)]=-0x1]='UNRECOGNIZED',_0x314a68))(_0x527cfc||{}),_0x678784=(_0x33dc87=>(_0x33dc87[_0x33dc87[_0x6a139a(0x40a)]=0x0]='UNKNOWN_CODE',_0x33dc87[_0x33dc87['OK']=0x1]='OK',_0x33dc87[_0x33dc87[_0x6a139a(0x4f2)]=0x2]=_0x6a139a(0x4f2),_0x33dc87[_0x33dc87[_0x6a139a(0x44f)]=0x3e9]='JOIN_ROOM_FULL',_0x33dc87[_0x33dc87[_0x6a139a(0x3f3)]=0x3ea]=_0x6a139a(0x3f3),_0x33dc87[_0x33dc87[_0x6a139a(0x4a6)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x33dc87[_0x33dc87[_0x6a139a(0x291)]=0x3ec]=_0x6a139a(0x291),_0x33dc87[_0x33dc87['UNRECOGNIZED']=-0x1]=_0x6a139a(0x3a9),_0x33dc87))(_0x678784||{}),_0x4545a8=(_0x7d1964=>(_0x7d1964[_0x7d1964[_0x6a139a(0x23a)]=0x0]=_0x6a139a(0x23a),_0x7d1964[_0x7d1964[_0x6a139a(0x415)]=0x1]=_0x6a139a(0x415),_0x7d1964[_0x7d1964[_0x6a139a(0x556)]=0x2]=_0x6a139a(0x556),_0x7d1964[_0x7d1964['UnitEmbedded']=0x3]=_0x6a139a(0x46f),_0x7d1964[_0x7d1964[_0x6a139a(0x256)]=0x4]=_0x6a139a(0x256),_0x7d1964[_0x7d1964[_0x6a139a(0x276)]=0x5]='UserProfileImg',_0x7d1964[_0x7d1964[_0x6a139a(0x3a9)]=-0x1]=_0x6a139a(0x3a9),_0x7d1964))(_0x4545a8||{});const _0x1a45c3=_0x6a139a(0x32e),_0xaf9c8d={};var _0x532b26=(_0x343d7e=>(_0x343d7e[_0x6a139a(0x55b)]=_0x6a139a(0x55b),_0x343d7e[_0x6a139a(0x41f)]=_0x6a139a(0x41f),_0x343d7e[_0x6a139a(0x4e8)]='CONFLICT',_0x343d7e[_0x6a139a(0x426)]=_0x6a139a(0x426),_0x343d7e[_0x6a139a(0x500)]=_0x6a139a(0x500),_0x343d7e[_0x6a139a(0x201)]='SOCKET_FAILED_RETRY',_0x343d7e[_0x6a139a(0x568)]=_0x6a139a(0x568),_0x343d7e['SUBMIT_CHANGESET_TIMEOUT']=_0x6a139a(0x20d),_0x343d7e))(_0x532b26||{});class _0x5dcc55{constructor(){var _0x29b2f7=_0x6a139a;_0x4df247(this,_0x29b2f7(0x296),new _0x335b5e[(_0x29b2f7(0x247))]()),_0x4df247(this,_0x29b2f7(0x272),this[_0x29b2f7(0x296)][_0x29b2f7(0x39e)]());}['emitEvent'](_0x5ea1ce){var _0x64d77e=_0x6a139a;this[_0x64d77e(0x296)][_0x64d77e(0x475)](_0x5ea1ce);}}const _0x1ec25d=_0x3f544a[_0x6a139a(0x532)](_0x6a139a(0x37e));function _0xa69f71(_0x34aa9a){var _0x5ad032=_0x6a139a,_0x4555b6,_0x3705a1,_0xa7a62e,_0x160ce3,_0x157329;const _0x1e146f=_0x34aa9a['data'],_0x23591f=JSON[_0x5ad032(0x369)](_0x1e146f);switch(_0x23591f[_0x5ad032(0x45f)]){case _0x527cfc[_0x5ad032(0x4b9)]:case _0x527cfc[_0x5ad032(0x3e4)]:{const _0x287771=_0x23591f['infoRsp'];return{..._0x23591f,'data':_0x287771,'cmd':_0x23591f[_0x5ad032(0x45f)]};}case _0x527cfc[_0x5ad032(0x4b4)]:{const _0xdbc1d8=_0x23591f[_0x5ad032(0x4db)];return{..._0x23591f,'data':_0xdbc1d8,'cmd':_0x23591f[_0x5ad032(0x45f)]};}case _0x527cfc[_0x5ad032(0x46d)]:{const _0x254a56=_0x23591f[_0x5ad032(0x350)];switch(_0x254a56[_0x5ad032(0x210)]){case _0x339060[_0x5ad032(0x447)][_0x5ad032(0x427)]:return{..._0x23591f,'data':{..._0x254a56,'data':(_0x4555b6=_0x254a56[_0x5ad032(0x47b)])==null?void 0x0:_0x4555b6['cs']},'cmd':_0x23591f['cmd']};case _0x339060['CollaborationEvent'][_0x5ad032(0x2a6)]:return{..._0x23591f,'data':{..._0x254a56,'data':(_0x3705a1=_0x254a56[_0x5ad032(0x21d)])==null?void 0x0:_0x3705a1['cs']},'cmd':_0x23591f[_0x5ad032(0x45f)]};case _0x339060['CollaborationEvent']['NEW_CHANGESETS']:return{..._0x23591f,'data':{..._0x254a56,'data':(_0xa7a62e=_0x254a56[_0x5ad032(0x347)])==null?void 0x0:_0xa7a62e['cs']},'cmd':_0x23591f[_0x5ad032(0x45f)]};case _0x339060[_0x5ad032(0x447)]['CHANGESET_REJ']:return{..._0x23591f,'data':{..._0x254a56,'data':(_0x160ce3=_0x254a56[_0x5ad032(0x3a8)])==null?void 0x0:_0x160ce3['cs']},'cmd':_0x23591f[_0x5ad032(0x45f)]};case _0x339060[_0x5ad032(0x447)][_0x5ad032(0x464)]:return{..._0x23591f,'data':{..._0x254a56,'data':(_0x157329=_0x254a56['csShouldRetryEvent'])==null?void 0x0:_0x157329['cs']},'cmd':_0x23591f[_0x5ad032(0x45f)]};case _0x339060[_0x5ad032(0x447)]['UPDATE_CURSOR']:return{..._0x23591f,'data':{..._0x254a56,'data':_0x254a56[_0x5ad032(0x404)]},'cmd':_0x23591f['cmd']};case _0x339060[_0x5ad032(0x447)][_0x5ad032(0x351)]:return{..._0x23591f,'data':{..._0x254a56,'data':_0x254a56[_0x5ad032(0x1ff)]},'cmd':_0x23591f[_0x5ad032(0x45f)]};case _0x339060[_0x5ad032(0x447)][_0x5ad032(0x430)]:return{..._0x23591f,'data':{..._0x254a56,'data':_0x254a56['leaveEvent']},'cmd':_0x23591f[_0x5ad032(0x45f)]};case _0x339060[_0x5ad032(0x447)][_0x5ad032(0x58d)]:return{..._0x23591f,'data':{..._0x254a56,'data':_0x254a56[_0x5ad032(0x416)]},'cmd':_0x23591f[_0x5ad032(0x45f)]};case _0x339060[_0x5ad032(0x447)][_0x5ad032(0x41a)]:case _0x339060['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x23591f,'data':{..._0x254a56,'data':_0x254a56[_0x5ad032(0x518)]},'cmd':_0x23591f[_0x5ad032(0x45f)]};case _0x339060[_0x5ad032(0x447)][_0x5ad032(0x4cb)]:return{..._0x23591f,'data':{..._0x254a56,'data':_0x254a56[_0x5ad032(0x416)]},'cmd':_0x23591f[_0x5ad032(0x45f)]};case _0x339060[_0x5ad032(0x447)]['MSG_FOR_ERROR']:return{..._0x23591f,'data':_0x254a56,'cmd':_0x23591f[_0x5ad032(0x45f)]};case _0x339060['CollaborationEvent'][_0x5ad032(0x3c9)]:return{..._0x23591f,'data':{..._0x254a56,'data':_0x254a56['commentUpdateEvent']},'cmd':_0x23591f['cmd']};case _0x339060[_0x5ad032(0x447)]['UPDATE_PERMISSION_OBJ']:return{..._0x23591f,'data':{..._0x254a56,'data':_0x254a56[_0x5ad032(0x48a)]},'cmd':_0x23591f['cmd']};case _0x339060['CollaborationEvent']['SHOULD_CLOSE_CONN']:return{..._0x23591f,'data':{..._0x254a56,'data':_0x254a56[_0x5ad032(0x217)]},'cmd':_0x23591f[_0x5ad032(0x45f)]};case _0x339060[_0x5ad032(0x447)][_0x5ad032(0x56b)]:return{..._0x23591f,'data':{..._0x254a56,'data':_0x254a56['uniscriptRunEvent']},'cmd':_0x23591f[_0x5ad032(0x45f)]};default:return _0x23591f;}}default:return _0x23591f;}}function _0x485a69(_0x36eeb6){var _0xee8301=_0x6a139a;switch(_0x36eeb6[_0xee8301(0x45f)]){case _0x527cfc[_0xee8301(0x4b9)]:case _0x527cfc[_0xee8301(0x3e4)]:return JSON[_0xee8301(0x25b)]({'cmd':_0x36eeb6[_0xee8301(0x45f)],'routeKey':_0x36eeb6[_0xee8301(0x401)]});case _0x527cfc[_0xee8301(0x391)]:{let _0x233512;switch(_0x36eeb6[_0xee8301(0x4b1)][_0xee8301(0x210)]){case _0x339060[_0xee8301(0x447)]['UPDATE_CURSOR']:{_0x233512={'eventID':_0x339060[_0xee8301(0x447)][_0xee8301(0x3a3)],'updateCursorEvent':_0x36eeb6['data'][_0xee8301(0x4b1)]};break;}case _0x339060[_0xee8301(0x447)][_0xee8301(0x430)]:{_0x233512={'eventID':_0x339060[_0xee8301(0x447)][_0xee8301(0x430)],'leaveEvent':_0x36eeb6['data'][_0xee8301(0x4b1)]};break;}case _0x339060[_0xee8301(0x447)]['USERS_ENTER']:{_0x233512={'eventID':_0x339060[_0xee8301(0x447)]['USERS_ENTER'],'joinEvent':_0x36eeb6['data'][_0xee8301(0x4b1)]};break;}case _0x339060[_0xee8301(0x447)][_0xee8301(0x58d)]:{_0x233512={'eventID':_0x339060[_0xee8301(0x447)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x36eeb6[_0xee8301(0x4b1)]['data']};break;}case _0x339060[_0xee8301(0x447)][_0xee8301(0x340)]:{_0x233512={'eventID':_0x339060[_0xee8301(0x447)][_0xee8301(0x340)],'liveShareOperation':_0x36eeb6[_0xee8301(0x4b1)]['data']};break;}case _0x339060[_0xee8301(0x447)][_0xee8301(0x4cb)]:{_0x233512={'eventID':_0x339060['CollaborationEvent'][_0xee8301(0x4cb)],'liveShareTerminate':_0x36eeb6[_0xee8301(0x4b1)]['data']};break;}case _0x339060[_0xee8301(0x447)][_0xee8301(0x574)]:{_0x233512={'eventID':_0x339060['CollaborationEvent'][_0xee8301(0x574)],'liveShareRequestHost':_0x36eeb6[_0xee8301(0x4b1)][_0xee8301(0x4b1)]};break;}case _0x339060['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0x233512={'eventID':_0x339060[_0xee8301(0x447)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x233512={'eventID':_0x36eeb6[_0xee8301(0x4b1)][_0xee8301(0x210)]};}return JSON[_0xee8301(0x25b)]({'cmd':_0x36eeb6[_0xee8301(0x45f)],'routeKey':_0x36eeb6[_0xee8301(0x401)],'collaMsg':_0x233512});}case _0x527cfc['JOIN']:return JSON[_0xee8301(0x25b)]({'cmd':_0x36eeb6[_0xee8301(0x45f)],'routeKey':_0x36eeb6[_0xee8301(0x401)],'joinReq':_0x36eeb6[_0xee8301(0x4b1)]});case _0x527cfc[_0xee8301(0x513)]:return JSON[_0xee8301(0x25b)]({'cmd':_0x36eeb6['cmd'],'routeKey':_0x36eeb6[_0xee8301(0x401)],'leaveReq':_0x36eeb6['data']});default:throw new Error(_0xee8301(0x3f5));}}var _0x1002a8=Object[_0x6a139a(0x4ed)],_0x12f361=(_0xaa0bf9,_0x4eae70,_0x957402,_0x2a1e8f)=>{for(var _0x40707c=_0x2a1e8f>0x1?void 0x0:_0x2a1e8f?_0x1002a8(_0x4eae70,_0x957402):_0x4eae70,_0x20637f=_0xaa0bf9['length']-0x1,_0x1a9bab;_0x20637f>=0x0;_0x20637f--)(_0x1a9bab=_0xaa0bf9[_0x20637f])&&(_0x40707c=_0x1a9bab(_0x40707c)||_0x40707c);return _0x40707c;},_0x205bd4=(_0x2fdfe2,_0x4215fb)=>(_0x333ecf,_0x5175d3)=>_0x4215fb(_0x333ecf,_0x5175d3,_0x2fdfe2);const _0x35370f=_0x3f544a[_0x6a139a(0x532)]('univer-pro.collaboration-client-socket-service');function _0x4b6519(_0x4598f7,_0x36bd67,_0x54d66d){var _0x57ba58=_0x6a139a;return _0x4598f7+'/'+_0x36bd67+_0x57ba58(0x53a)+_0x54d66d+_0x57ba58(0x3a2);}_0x4ac6e3['CollaborationSocketService']=class extends _0x3f544a[_0x6a139a(0x45b)]{constructor(_0x2cc912,_0x18636c,_0xe4c991,_0x490b37,_0x433f71){var _0x494b5b=_0x6a139a;super(),this['_injector']=_0x2cc912,this[_0x494b5b(0x39a)]=_0x18636c,this[_0x494b5b(0x476)]=_0xe4c991,this[_0x494b5b(0x576)]=_0x490b37,this[_0x494b5b(0x444)]=_0x433f71;}[_0x6a139a(0x249)](_0x269245){var _0x4b1628=_0x6a139a;const _0x1675f3=this[_0x4b1628(0x3cf)]['get'](_0x334605['ISocketService']);if(!_0x1675f3)throw new Error(_0x4b1628(0x2db));const _0x552aba=_0x1675f3[_0x4b1628(0x552)](_0x269245);if(!_0x552aba)throw new Error(_0x4b1628(0x3ba));const _0x4e45cc=new _0x3f544a[(_0x4b1628(0x52a))](),_0xf5b98a=new _0x335b5e['Subject']();_0x4e45cc[_0x4b1628(0x53e)](_0x552aba['close$'][_0x4b1628(0x486)](_0x197f29=>_0xf5b98a['next'](_0x197f29))),_0x4e45cc['add'](_0x3f544a[_0x4b1628(0x58b)](()=>_0xf5b98a['complete']()));const _0x1817de=new _0x335b5e[(_0x4b1628(0x247))]();_0x4e45cc['add'](_0x552aba[_0x4b1628(0x1f9)][_0x4b1628(0x486)](_0x3d5b43=>_0x1817de[_0x4b1628(0x475)](_0x3d5b43))),_0x4e45cc[_0x4b1628(0x53e)](_0x3f544a[_0x4b1628(0x58b)](()=>_0x1817de['complete']()));const _0x4e0cb8=new _0x335b5e['Subject']();_0x4e45cc[_0x4b1628(0x53e)](_0x552aba[_0x4b1628(0x4fa)][_0x4b1628(0x486)](_0x4248f3=>{var _0xe97b55=_0x4b1628;const _0x73407b=_0xa69f71(_0x4248f3);_0x4e0cb8[_0xe97b55(0x475)](_0x73407b);})),_0x4e45cc['add'](_0x3f544a[_0x4b1628(0x58b)](()=>_0x4e0cb8[_0x4b1628(0x44c)]()));let _0x27830a;const _0x79f1da=()=>{var _0xd72fdf=_0x4b1628;_0x1817de['next'](new Event(_0xd72fdf(0x34e))),_0xf5b98a[_0xd72fdf(0x475)](new Event(_0xd72fdf(0x34e))),_0x27830a[_0xd72fdf(0x36a)]();};return _0x27830a={'memberID':'','close$':_0xf5b98a[_0x4b1628(0x39e)](),'error$':_0x1817de['asObservable'](),'open$':_0x552aba['open$'],'message$':_0x4e0cb8[_0x4b1628(0x39e)](),'send':_0x3d6798=>{var _0x420f43=_0x4b1628;if(_0x3d6798['cmd']===_0x527cfc[_0x420f43(0x391)]){if(_0x3d6798[_0x420f43(0x4b1)][_0x420f43(0x210)]===_0x339060[_0x420f43(0x447)][_0x420f43(0x26a)]){this[_0x420f43(0x230)](_0x27830a,_0x3d6798[_0x420f43(0x4b1)])[_0x420f43(0x520)](_0x3b7f2c=>{var _0x7b667a=_0x420f43;this[_0x7b667a(0x576)]['error'](_0x3b7f2c),_0x79f1da();});return;}if(_0x3d6798['data']['eventID']===_0x339060[_0x420f43(0x447)][_0x420f43(0x229)]){const _0x485427=_0x3d6798[_0x420f43(0x4b1)];this[_0x420f43(0x331)](_0x485427)[_0x420f43(0x20f)](_0x3e9099=>{var _0x1ab2b5=_0x420f43;_0x4e0cb8[_0x1ab2b5(0x475)]({'cmd':_0x527cfc[_0x1ab2b5(0x46d)],'code':_0x678784['OK'],'routeKey':_0x485427['data']['unitID'],'routeType':'','data':{'eventID':_0x339060['CollaborationEvent'][_0x1ab2b5(0x4f7)],'data':{'changesets':_0x3e9099}}});})['catch'](_0x2eec67=>{var _0xb845ea=_0x420f43;this[_0xb845ea(0x576)][_0xb845ea(0x300)](_0x2eec67),_0x79f1da();});return;}}_0x552aba[_0x420f43(0x466)](_0x485a69(_0x3d6798));},'close':()=>{var _0xa2f89d=_0x4b1628;_0x552aba[_0xa2f89d(0x36a)](),_0x4e45cc[_0xa2f89d(0x3a1)]();}},_0x27830a;}async[_0x6a139a(0x230)](_0x2c7ab7,_0xc4cbf3){var _0x346ae9=_0x6a139a,_0x128766,_0x587a67;const {unitType:_0x53d5d0,unitID:_0xf572ff,changeset:_0x5c3c03}=_0xc4cbf3[_0x346ae9(0x4b1)],_0x4357d8={'unitID':_0xf572ff,'memberID':_0x2c7ab7[_0x346ae9(0x52c)],'type':_0x53d5d0,'changeset':_0x339060['parseChangesetToProtocol'](_0x5c3c03)},_0xe4c24=this[_0x346ae9(0x476)]['getConfig'](_0x24a0ec),_0x5907dc=this[_0x346ae9(0x476)][_0x346ae9(0x48e)](_0x1a45c3),_0x188deb=_0x4b6519((_0x587a67=(_0x128766=_0x5907dc==null?void 0x0:_0x5907dc[_0x346ae9(0x22f)])!=null?_0x128766:_0xe4c24)!=null?_0x587a67:_0x572c2b,_0x53d5d0,_0xf572ff);try{await this[_0x346ae9(0x39a)][_0x346ae9(0x32c)](_0x188deb,{'body':_0x4357d8});}catch(_0x555c02){throw this[_0x346ae9(0x576)][_0x346ae9(0x300)]('[CollaborationSession]',_0x346ae9(0x4bb)),_0x555c02;}}async[_0x6a139a(0x331)](_0x279800){var _0x3891fd=_0x6a139a;const {unitID:_0x298192,from:_0x755762,to:_0x38e4c5,unitType:_0x50bf0d}=_0x279800[_0x3891fd(0x4b1)];return(await this[_0x3891fd(0x444)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x298192,'type':_0x50bf0d,'from':_0x755762,'to':_0x38e4c5}))['changesets'];}},_0x4ac6e3[_0x6a139a(0x317)]=_0x12f361([_0x205bd4(0x0,_0x3f544a['Inject'](_0x3f544a[_0x6a139a(0x225)])),_0x205bd4(0x1,_0x3f544a[_0x6a139a(0x511)](_0x334605[_0x6a139a(0x2f1)])),_0x205bd4(0x2,_0x3f544a['IConfigService']),_0x205bd4(0x3,_0x3f544a[_0x6a139a(0x390)]),_0x205bd4(0x4,_0x339060['ISnapshotServerService'])],_0x4ac6e3[_0x6a139a(0x317)]);const _0x2abe7f=_0x6a139a(0x55f);function _0x4d3405(_0xa4daa6){var _0x6ab40d=_0x6a139a;return JSON[_0x6ab40d(0x25b)](_0xa4daa6)['length'];}class _0x343ebc{constructor(){var _0x20279d=_0x6a139a;_0x4df247(this,_0x20279d(0x2ff),new _0x335b5e[(_0x20279d(0x247))]()),_0x4df247(this,'commentUpdate$',this[_0x20279d(0x2ff)][_0x20279d(0x39e)]());}['onCommentUpdate'](_0x5b53c7){var _0x5cff35=_0x6a139a;this['_commentUpdate$'][_0x5cff35(0x475)](_0x5b53c7);}}var _0x169f23=Object['getOwnPropertyDescriptor'],_0x302115=(_0x42457d,_0x46605c,_0x3ea31e,_0x30efc1)=>{var _0x49c66b=_0x6a139a;for(var _0x4aa824=_0x30efc1>0x1?void 0x0:_0x30efc1?_0x169f23(_0x46605c,_0x3ea31e):_0x46605c,_0x1f55ae=_0x42457d[_0x49c66b(0x362)]-0x1,_0xd3fd72;_0x1f55ae>=0x0;_0x1f55ae--)(_0xd3fd72=_0x42457d[_0x1f55ae])&&(_0x4aa824=_0xd3fd72(_0x4aa824)||_0x4aa824);return _0x4aa824;},_0x4b8965=(_0x11837b,_0x58a413)=>(_0xa8545a,_0x3b4d69)=>_0x58a413(_0xa8545a,_0x3b4d69,_0x11837b);_0x4ac6e3[_0x6a139a(0x47d)]=class extends _0x3f544a[_0x6a139a(0x45b)]{constructor(_0x94c80b,_0x54f152){var _0x402f06=_0x6a139a;super(),_0x4df247(this,_0x402f06(0x4e5),new Map()),_0x4df247(this,'_roomCreated$',new _0x335b5e[(_0x402f06(0x247))]()),(this[_0x402f06(0x57b)]=_0x94c80b,this[_0x402f06(0x208)]=_0x54f152,this['disposeWithMe'](_0x335b5e['merge'](this['_univerInstanceService'][_0x402f06(0x2f9)](_0x3f544a[_0x402f06(0x388)][_0x402f06(0x41e)])[_0x402f06(0x3e3)](_0x25c62c[_0x402f06(0x510)](_0x2cdef0=>_0x2cdef0[_0x402f06(0x581)]())),this['_univerInstanceService'][_0x402f06(0x2f9)](_0x3f544a[_0x402f06(0x388)][_0x402f06(0x4dc)])[_0x402f06(0x3e3)](_0x25c62c[_0x402f06(0x510)](_0x320fd0=>_0x320fd0[_0x402f06(0x581)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x3f544a[_0x402f06(0x388)][_0x402f06(0x28d)])['pipe'](_0x25c62c[_0x402f06(0x510)](_0x5c06cd=>_0x5c06cd['getUnitId']())))[_0x402f06(0x486)](_0x1a6d4f=>this[_0x402f06(0x4c1)](_0x1a6d4f))));}[_0x6a139a(0x43b)](_0x594f00){var _0x325397=_0x6a139a;return this[_0x325397(0x4e5)][_0x325397(0x4cc)](_0x594f00)?_0x335b5e['of'](this[_0x325397(0x4e5)][_0x325397(0x561)](_0x594f00)):this[_0x325397(0x267)]['pipe'](_0x25c62c[_0x325397(0x510)](_0x5d7411=>{var _0x29363b=_0x325397;if(_0x5d7411===_0x594f00)return this[_0x29363b(0x4e5)][_0x29363b(0x561)](_0x5d7411);}));}['setCurrentUser'](_0x53ec60){var _0xb0fb5a=_0x6a139a;this['_userManagerService'][_0xb0fb5a(0x3a5)](_0x53ec60);}[_0x6a139a(0x2ac)](){var _0x16226e=_0x6a139a;return this['_userManagerService'][_0x16226e(0x2ac)]();}[_0x6a139a(0x28e)](_0x20a0a9,_0x5cc603){var _0x3d6987=_0x6a139a;let _0x27ddb5=this[_0x3d6987(0x4e5)][_0x3d6987(0x561)](_0x20a0a9);_0x27ddb5||(_0x27ddb5=new _0x4d84f9(),this[_0x3d6987(0x4e5)]['set'](_0x20a0a9,_0x27ddb5),this[_0x3d6987(0x267)][_0x3d6987(0x475)](_0x20a0a9)),_0x27ddb5[_0x3d6987(0x28e)](_0x5cc603);}[_0x6a139a(0x46e)](_0x3d1320,_0x5db6a0){var _0x2e0bbb=_0x6a139a;const _0x87fcc6=this['_roomMembers'][_0x2e0bbb(0x561)](_0x3d1320);_0x87fcc6&&_0x87fcc6[_0x2e0bbb(0x46e)](_0x5db6a0);}[_0x6a139a(0x45e)](_0x4fe137){var _0x3aaa11=_0x6a139a;return this[_0x3aaa11(0x4e5)]['get'](_0x4fe137);}[_0x6a139a(0x422)](_0x23a764,_0x7149c){var _0x13b0c3=_0x6a139a;const _0x15e8c8=this[_0x13b0c3(0x4e5)][_0x13b0c3(0x561)](_0x23a764);if(_0x15e8c8)return _0x15e8c8[_0x13b0c3(0x422)](_0x7149c);}['_removeRoom'](_0x586044){var _0x3d64ac=_0x6a139a;const _0x56c1c8=this[_0x3d64ac(0x4e5)][_0x3d64ac(0x561)](_0x586044);_0x56c1c8&&(_0x56c1c8['dispose'](),this['_roomMembers']['delete'](_0x586044));}[_0x6a139a(0x3a1)](){var _0x56ffb3=_0x6a139a;this[_0x56ffb3(0x4e5)][_0x56ffb3(0x25d)](_0x19b961=>_0x19b961[_0x56ffb3(0x3a1)]()),this['_roomMembers'][_0x56ffb3(0x4e0)](),this['_roomCreated$']['complete']();}},_0x4ac6e3[_0x6a139a(0x47d)]=_0x302115([_0x4b8965(0x0,_0x3f544a[_0x6a139a(0x316)]),_0x4b8965(0x1,_0x3f544a[_0x6a139a(0x511)](_0x3f544a[_0x6a139a(0x3bd)]))],_0x4ac6e3['MemberService']);class _0x4d84f9 extends _0x3f544a['Disposable']{constructor(){var _0x227097=_0x6a139a;super(...arguments),_0x4df247(this,_0x227097(0x2ec),new Map()),_0x4df247(this,_0x227097(0x52b),new _0x335b5e[(_0x227097(0x3b3))](this[_0x227097(0x2ec)])),_0x4df247(this,'members$',this[_0x227097(0x52b)][_0x227097(0x39e)]());}[_0x6a139a(0x3a1)](){this['_members']['clear']();}[_0x6a139a(0x28e)](_0x1a7621){var _0x5e372d=_0x6a139a;this[_0x5e372d(0x2ec)][_0x5e372d(0x539)](_0x1a7621[_0x5e372d(0x52c)],_0x1a7621),this[_0x5e372d(0x241)]();}[_0x6a139a(0x46e)](_0x116b51){var _0x38ab0d=_0x6a139a;this[_0x38ab0d(0x2ec)][_0x38ab0d(0x493)](_0x116b51);}[_0x6a139a(0x422)](_0x1ecd47){var _0x146552=_0x6a139a;return this['_members'][_0x146552(0x561)](_0x1ecd47);}['getAllMembers'](){var _0x2abdd6=_0x6a139a;return Array['from'](this[_0x2abdd6(0x2ec)][_0x2abdd6(0x3f7)]());}[_0x6a139a(0x241)](){var _0xab4950=_0x6a139a;this[_0xab4950(0x52b)][_0xab4950(0x475)](this[_0xab4950(0x2ec)]);}}var _0x1eb030=Object[_0x6a139a(0x4ed)],_0x111425=(_0x25c3a7,_0x3da3ed,_0x5a3b88,_0x1b3599)=>{for(var _0x2f60fd=_0x1b3599>0x1?void 0x0:_0x1b3599?_0x1eb030(_0x3da3ed,_0x5a3b88):_0x3da3ed,_0x43d7db=_0x25c3a7['length']-0x1,_0x528bcd;_0x43d7db>=0x0;_0x43d7db--)(_0x528bcd=_0x25c3a7[_0x43d7db])&&(_0x2f60fd=_0x528bcd(_0x2f60fd)||_0x2f60fd);return _0x2f60fd;},_0x378578=(_0xb5c0e4,_0x33b30d)=>(_0x5c25d7,_0x4f2899)=>_0x33b30d(_0x5c25d7,_0x4f2899,_0xb5c0e4),_0x581c4e=(_0x1ae64b=>(_0x1ae64b[_0x1ae64b[_0x6a139a(0x410)]=0x0]='IDLE',_0x1ae64b[_0x1ae64b[_0x6a139a(0x3ab)]=0x1]=_0x6a139a(0x3ab),_0x1ae64b[_0x1ae64b[_0x6a139a(0x479)]=0x2]='OFFLINE',_0x1ae64b[_0x1ae64b['ONLINE']=0x3]=_0x6a139a(0x4ad),_0x1ae64b))(_0x581c4e||{});const _0x7efed1={[_0x678784[_0x6a139a(0x4f2)]]:_0x6a139a(0x212),[_0x678784[_0x6a139a(0x44f)]]:'session.room-full',[_0x678784['JOIN_ROOM_NOT_EXISTS']]:_0x6a139a(0x287),[_0x678784[_0x6a139a(0x4a6)]]:_0x6a139a(0x297),[_0x678784[_0x6a139a(0x291)]]:_0x6a139a(0x49a)};_0x4ac6e3[_0x6a139a(0x4af)]=class extends _0x3f544a['RxDisposable']{constructor(_0x40dfee,_0x2694dd,_0x5bd875,_0x35cec7,_0x10346e,_0x29944d,_0x59be5f,_0x13308b,_0x17a0f4){var _0x59ccdd=_0x6a139a;super(),_0x4df247(this,'_sessionStatus$',new _0x335b5e['BehaviorSubject'](0x0)),_0x4df247(this,_0x59ccdd(0x419),this[_0x59ccdd(0x382)][_0x59ccdd(0x39e)]()),_0x4df247(this,'_event$',new _0x335b5e['Subject']()),_0x4df247(this,_0x59ccdd(0x272),this[_0x59ccdd(0x296)][_0x59ccdd(0x39e)]()),_0x4df247(this,_0x59ccdd(0x2e0)),_0x4df247(this,'_socketMessageSubscription'),_0x4df247(this,_0x59ccdd(0x2c5)),_0x4df247(this,_0x59ccdd(0x37a),!0x1),_0x4df247(this,_0x59ccdd(0x3db),null),(this[_0x59ccdd(0x58c)]=_0x40dfee,this[_0x59ccdd(0x576)]=_0x5bd875,this['_configService']=_0x35cec7,this[_0x59ccdd(0x20c)]=_0x10346e,this[_0x59ccdd(0x534)]=_0x29944d,this[_0x59ccdd(0x281)]=_0x59be5f,this['_collaborationUIEventService']=_0x13308b,this[_0x59ccdd(0x45d)]=_0x17a0f4,this[_0x59ccdd(0x37a)]=!!this[_0x59ccdd(0x45d)],_0x2694dd['pipe'](_0x335b5e[_0x59ccdd(0x2f0)](this[_0x59ccdd(0x575)]))[_0x59ccdd(0x486)](_0x4f1ff4=>{var _0x3b539d=_0x59ccdd,_0x5f0bd5;typeof _0x4f1ff4>'u'||(this[_0x3b539d(0x2e0)]=_0x4f1ff4,_0x4f1ff4?(this['_joinRoom'](_0x4f1ff4),this[_0x3b539d(0x36d)]=_0x4f1ff4[_0x3b539d(0x4fa)][_0x3b539d(0x486)](_0x87233d=>{var _0xf22af3=_0x3b539d;_0x87233d['routeKey']===this[_0xf22af3(0x58c)]&&this[_0xf22af3(0x378)](_0x87233d);})):(this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$'][_0x3b539d(0x475)](0x2),(_0x5f0bd5=this['_socketMessageSubscription'])==null||_0x5f0bd5[_0x3b539d(0x3fd)](),this[_0x3b539d(0x36d)]=null));}));}get[_0x6a139a(0x1fa)](){var _0x2501e1=_0x6a139a;return this[_0x2501e1(0x382)]['getValue']();}['getMemberID'](){var _0x2786b2=_0x6a139a,_0x4ed885,_0x23b215;return(_0x23b215=(_0x4ed885=this[_0x2786b2(0x2e0)])==null?void 0x0:_0x4ed885['memberID'])!=null?_0x23b215:null;}[_0x6a139a(0x3a1)](){var _0x321494=_0x6a139a;super['dispose'](),this['dispose$'][_0x321494(0x475)](),this[_0x321494(0x575)][_0x321494(0x44c)]();}[_0x6a139a(0x36a)](){var _0x3e4f0d=_0x6a139a,_0x307a64,_0x2b45ee;this['_throwTelemetryCollaborationNewChangeset'](),(_0x307a64=this['_socket'])==null||_0x307a64[_0x3e4f0d(0x466)]({'cmd':_0x527cfc[_0x3e4f0d(0x513)],'data':{'roomID':this['_unitID']}}),(_0x2b45ee=this['_socket'])==null||_0x2b45ee['close'](),this['_event$'][_0x3e4f0d(0x44c)](),this[_0x3e4f0d(0x382)]['complete'](),this[_0x3e4f0d(0x3a1)]();}[_0x6a139a(0x378)](_0x2d86ba){var _0x4236d9=_0x6a139a;_0x2d86ba[_0x4236d9(0x45f)]===_0x527cfc[_0x4236d9(0x4b4)]?this[_0x4236d9(0x36c)](_0x2d86ba):_0x2d86ba[_0x4236d9(0x45f)]===_0x527cfc['RECV']&&this['_onRecvEvent'](_0x2d86ba);}[_0x6a139a(0x509)](_0x4831d5){var _0x500184=_0x6a139a;this['_sessionStatus$'][_0x500184(0x475)](0x1),_0x4831d5[_0x500184(0x466)]({'cmd':_0x527cfc[_0x500184(0x4b4)],'routeKey':this[_0x500184(0x58c)],'routeType':'','data':{'rooms':[{'roomID':this[_0x500184(0x58c)]}]}});}[_0x6a139a(0x36c)](_0x39e996){var _0x557cd5=_0x6a139a,_0x3917b0;if(_0x39e996['code']in _0x7efed1){this['_collaborationUIEventService'][_0x557cd5(0x50d)]({'id':_0x532b26[_0x557cd5(0x500)],'data':_0x7efed1[_0x39e996[_0x557cd5(0x4ce)]]}),this['_sessionStatus$'][_0x557cd5(0x475)](0x2);return;}this['_sessionStatus$'][_0x557cd5(0x475)](0x3);const _0x21327c=(_0x3917b0=_0x39e996[_0x557cd5(0x4b1)][_0x557cd5(0x280)][this[_0x557cd5(0x58c)]])==null?void 0x0:_0x3917b0['members'];_0x21327c&&_0x21327c['forEach'](_0x48616f=>this[_0x557cd5(0x534)][_0x557cd5(0x28e)](this[_0x557cd5(0x58c)],_0x48616f));}[_0x6a139a(0x31e)](_0x333a62){var _0x366d43=_0x6a139a;try{const _0x58b2d2=_0x333a62['data'];switch(_0x58b2d2['eventID']){case _0x339060[_0x366d43(0x447)][_0x366d43(0x351)]:this[_0x366d43(0x2aa)](_0x58b2d2),this[_0x366d43(0x296)]['next'](_0x58b2d2);break;case _0x339060['CollaborationEvent']['USERS_LEAVE']:this[_0x366d43(0x35d)](_0x58b2d2),this[_0x366d43(0x296)]['next'](_0x58b2d2);break;case _0x339060[_0x366d43(0x447)][_0x366d43(0x2a6)]:case _0x339060['CollaborationEvent'][_0x366d43(0x464)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x366d43(0x2cc)](),this['_event$'][_0x366d43(0x475)](_0x58b2d2);break;case _0x339060[_0x366d43(0x447)][_0x366d43(0x3dd)]:this[_0x366d43(0x576)][_0x366d43(0x300)](_0x366d43(0x379)+JSON[_0x366d43(0x25b)](_0x58b2d2)),this[_0x366d43(0x296)][_0x366d43(0x475)](_0x58b2d2);break;case _0x339060[_0x366d43(0x447)][_0x366d43(0x3c9)]:this[_0x366d43(0x281)][_0x366d43(0x2f2)](_0x58b2d2[_0x366d43(0x4b1)]),this[_0x366d43(0x296)]['next'](_0x58b2d2);break;default:this[_0x366d43(0x296)][_0x366d43(0x475)](_0x58b2d2);}}catch(_0x3f65c5){this[_0x366d43(0x576)][_0x366d43(0x300)](_0x3f65c5,_0x333a62);}}[_0x6a139a(0x2aa)](_0x3f1bf8){var _0xf486e2=_0x6a139a;this[_0xf486e2(0x534)]['updateMember'](this[_0xf486e2(0x58c)],_0x3f1bf8[_0xf486e2(0x4b1)]);}[_0x6a139a(0x35d)](_0x2261b8){var _0x44ecf6=_0x6a139a;this[_0x44ecf6(0x534)]['removeMember'](this[_0x44ecf6(0x58c)],_0x2261b8[_0x44ecf6(0x4b1)]['memberID']);}async[_0x6a139a(0x466)](_0x3287f8,_0x17bd8f){var _0x5315a1=_0x6a139a;if(this[_0x5315a1(0x1fa)]!==0x3||!this[_0x5315a1(0x2e0)])throw new Error(_0x5315a1(0x4ee));try{_0x3287f8[_0x5315a1(0x210)]===_0x339060[_0x5315a1(0x447)][_0x5315a1(0x26a)]&&(this[_0x5315a1(0x2d2)](),this[_0x5315a1(0x260)](_0x3287f8)),this['_socket'][_0x5315a1(0x466)]({'cmd':_0x527cfc[_0x5315a1(0x391)],'routeKey':_0x17bd8f,'routeType':'','data':_0x3287f8});}catch(_0x3104f8){this[_0x5315a1(0x576)][_0x5315a1(0x300)](_0x3104f8);}}[_0x6a139a(0x2d2)](){var _0xc0f84d=_0x6a139a,_0x33316f;this[_0xc0f84d(0x2c5)]=setTimeout(()=>{var _0x32d576=_0xc0f84d;this['_collaborationTimeoutTimer']=null,this[_0x32d576(0x37d)][_0x32d576(0x50d)]({'id':_0x532b26['SUBMIT_CHANGESET_TIMEOUT']});},(_0x33316f=this[_0xc0f84d(0x476)][_0xc0f84d(0x48e)](_0x49c8f0))!=null?_0x33316f:0x4e20);}['_clearCollaborationTimeoutTimer'](){var _0x109154=_0x6a139a;this[_0x109154(0x2c5)]&&(clearTimeout(this[_0x109154(0x2c5)]),this[_0x109154(0x2c5)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x34abb8){var _0xcd6f2d=_0x6a139a;if(!this[_0xcd6f2d(0x37a)])return;const {data:_0x1a8d8c}=_0x34abb8,{unitID:_0x47a272,changeset:_0x1b3a14}=_0x1a8d8c,{mutations:_0xc1c338,type:_0x2da6fa}=_0x1b3a14;this[_0xcd6f2d(0x3db)]={'unitId':_0x47a272,'type':_0x2da6fa,'startTime':performance[_0xcd6f2d(0x3fe)](),'stopTime':0x0,'duration':0x0,'size':_0x4d3405(_0xc1c338)};}[_0x6a139a(0x285)](){var _0x32d361=_0x6a139a;if(this[_0x32d361(0x37a)]){if(!this[_0x32d361(0x3db)]){this[_0x32d361(0x576)][_0x32d361(0x300)](_0x32d361(0x4a5),_0x32d361(0x37f));return;}this[_0x32d361(0x3db)][_0x32d361(0x381)]=performance[_0x32d361(0x3fe)](),this[_0x32d361(0x3db)][_0x32d361(0x34d)]=this[_0x32d361(0x3db)][_0x32d361(0x381)]-this['_telemetryInfo'][_0x32d361(0x3d4)],this[_0x32d361(0x45d)][_0x32d361(0x433)](_0x2abe7f,this[_0x32d361(0x3db)]),this[_0x32d361(0x3db)]=null;}}[_0x6a139a(0x228)](){this['_telemetryInfo']=null;}},_0x4ac6e3[_0x6a139a(0x4af)]=_0x111425([_0x378578(0x2,_0x3f544a[_0x6a139a(0x390)]),_0x378578(0x3,_0x3f544a[_0x6a139a(0x359)]),_0x378578(0x4,_0x3f544a['Inject'](_0x3f544a[_0x6a139a(0x3ed)])),_0x378578(0x5,_0x3f544a[_0x6a139a(0x511)](_0x4ac6e3[_0x6a139a(0x47d)])),_0x378578(0x6,_0x3f544a[_0x6a139a(0x511)](_0x343ebc)),_0x378578(0x7,_0x3f544a[_0x6a139a(0x511)](_0x5dcc55)),_0x378578(0x8,_0x3f544a[_0x6a139a(0x462)](_0x4afc99[_0x6a139a(0x2ab)]))],_0x4ac6e3[_0x6a139a(0x4af)]);var _0x2c966f=Object['getOwnPropertyDescriptor'],_0x47a1f6=(_0x2d2f8a,_0x23663d,_0x265998,_0x51b95a)=>{var _0xaa2c59=_0x6a139a;for(var _0x492b8d=_0x51b95a>0x1?void 0x0:_0x51b95a?_0x2c966f(_0x23663d,_0x265998):_0x23663d,_0x2bfdcc=_0x2d2f8a[_0xaa2c59(0x362)]-0x1,_0x3a572e;_0x2bfdcc>=0x0;_0x2bfdcc--)(_0x3a572e=_0x2d2f8a[_0x2bfdcc])&&(_0x492b8d=_0x3a572e(_0x492b8d)||_0x492b8d);return _0x492b8d;},_0x1ae025=(_0x13250c,_0xfb9274)=>(_0x59f0f5,_0x8b71ff)=>_0xfb9274(_0x59f0f5,_0x8b71ff,_0x13250c);_0x4ac6e3[_0x6a139a(0x32a)]=class extends _0x3f544a[_0x6a139a(0x45b)]{constructor(_0x44b79b,_0x270306,_0x1a0a8b,_0x32db03,_0xee2318,_0x5ba947){var _0x119d67=_0x6a139a;super(),_0x4df247(this,_0x119d67(0x386),new _0x335b5e[(_0x119d67(0x3b3))](void 0x0)),_0x4df247(this,'socket$',this['_socket$'][_0x119d67(0x39e)]()),_0x4df247(this,_0x119d67(0x47a),null),_0x4df247(this,_0x119d67(0x470),new Map()),_0x4df247(this,_0x119d67(0x34a),new _0x335b5e['BehaviorSubject'](_0x581c4e[_0x119d67(0x410)])),_0x4df247(this,'status$',this[_0x119d67(0x34a)][_0x119d67(0x39e)]()),_0x4df247(this,_0x119d67(0x2c9),!0x1),_0x4df247(this,_0x119d67(0x3e0)),_0x4df247(this,'_retryCount',0x0),_0x4df247(this,_0x119d67(0x505)),_0x4df247(this,'_timeoutTimer'),(this[_0x119d67(0x3cf)]=_0x44b79b,this[_0x119d67(0x576)]=_0x270306,this[_0x119d67(0x476)]=_0x1a0a8b,this[_0x119d67(0x420)]=_0x32db03,this[_0x119d67(0x37d)]=_0xee2318,this['_networkConditionService']=_0x5ba947,this['_listenToNetworkCondition']());}get[_0x6a139a(0x2e0)](){var _0x55e423=_0x6a139a;return this[_0x55e423(0x386)][_0x55e423(0x219)]();}['_listenToNetworkCondition'](){var _0x41f953=_0x6a139a;this['_networkConditionService']&&this[_0x41f953(0x239)](this[_0x41f953(0x399)][_0x41f953(0x417)]['subscribe'](_0x3d9399=>{var _0x43646c=_0x41f953;_0x3d9399&&!this['_socket']&&this['reconnect'](),_0x3d9399||this[_0x43646c(0x580)]();}));}[_0x6a139a(0x3a1)](){var _0x46b127=_0x6a139a;super[_0x46b127(0x3a1)](),this[_0x46b127(0x1f3)](),this[_0x46b127(0x4ba)](),this[_0x46b127(0x3d3)](),this[_0x46b127(0x470)][_0x46b127(0x25d)](_0x499338=>_0x499338[_0x46b127(0x3a1)]()),this[_0x46b127(0x470)][_0x46b127(0x4e0)](),this[_0x46b127(0x34a)][_0x46b127(0x44c)]();}async['requireSession'](_0x1769c2){var _0x2d8559=_0x6a139a;if(this[_0x2d8559(0x470)]['has'](_0x1769c2))return this['_sessions']['get'](_0x1769c2);this[_0x2d8559(0x53f)]();const _0x4b19fe=this[_0x2d8559(0x3cf)][_0x2d8559(0x302)](_0x4ac6e3['CollaborationSession'],_0x1769c2,this['_socket$'][_0x2d8559(0x39e)]());return this[_0x2d8559(0x470)][_0x2d8559(0x539)](_0x1769c2,_0x4b19fe),_0x4b19fe;}['closeSession'](_0x417539){var _0x2fdc0b=_0x6a139a,_0x28283c;const _0x4ee826=this[_0x2fdc0b(0x470)][_0x2fdc0b(0x561)](_0x417539);_0x4ee826&&(this[_0x2fdc0b(0x470)][_0x2fdc0b(0x493)](_0x417539),_0x4ee826[_0x2fdc0b(0x36a)]()),this[_0x2fdc0b(0x470)][_0x2fdc0b(0x3de)]||(_0x28283c=this['_socket'])==null||_0x28283c[_0x2fdc0b(0x36a)]();}[_0x6a139a(0x413)](){var _0x595ec2=_0x6a139a;this[_0x595ec2(0x38f)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x595ec2(0x3d2)]();}[_0x6a139a(0x1f3)](){var _0x144e3a=_0x6a139a;this[_0x144e3a(0x3e0)]!=null&&(clearTimeout(this[_0x144e3a(0x3e0)]),this[_0x144e3a(0x3e0)]=null);}async['_createSocket'](){var _0x2bebed=_0x6a139a,_0x228958,_0x56b158;const _0x466e48=this[_0x2bebed(0x476)]['getConfig'](_0x4c5b78),_0x486128=this['_configService'][_0x2bebed(0x48e)](_0x1a45c3),_0x1bb407=(_0x56b158=(_0x228958=_0x486128==null?void 0x0:_0x486128[_0x2bebed(0x3ef)])!=null?_0x228958:_0x466e48)!=null?_0x56b158:_0x1bf3ce,_0x174720=await this['_socketService'][_0x2bebed(0x552)](_0x1bb407);return this['_candidateSocket']=_0x174720,_0x174720;}async['_tryEnsureSocket'](){var _0x53b078=_0x6a139a,_0x465825,_0x4f8048;try{const _0x3b0d2c=(_0x4f8048=(_0x465825=this[_0x53b078(0x2e0)])!=null?_0x465825:this[_0x53b078(0x47a)])!=null?_0x4f8048:await this[_0x53b078(0x570)]();if(_0x3b0d2c){const _0x22cec3=_0x3b0d2c[_0x53b078(0x466)];_0x3b0d2c[_0x53b078(0x466)]=_0x3405ed=>(this[_0x53b078(0x3aa)](),_0x22cec3[_0x53b078(0x289)](_0x3b0d2c,[_0x3405ed])),_0x3b0d2c['message$'][_0x53b078(0x486)](_0x14e7d6=>this[_0x53b078(0x27b)](_0x3b0d2c,_0x14e7d6)),_0x3b0d2c[_0x53b078(0x1f9)][_0x53b078(0x3e3)](_0x25c62c[_0x53b078(0x4de)](0x1))[_0x53b078(0x486)](_0xfb8a3d=>this[_0x53b078(0x576)][_0x53b078(0x300)](_0x53b078(0x3f2),_0xfb8a3d)),_0x3b0d2c[_0x53b078(0x380)][_0x53b078(0x3e3)](_0x25c62c[_0x53b078(0x4de)](0x1))['subscribe'](()=>{var _0x39f52b=_0x53b078;this[_0x39f52b(0x265)](_0x3b0d2c);}),_0x3b0d2c[_0x53b078(0x526)][_0x53b078(0x3e3)](_0x25c62c[_0x53b078(0x4de)](0x1))[_0x53b078(0x486)](_0x1f083b=>{var _0x19e745=_0x53b078;this[_0x19e745(0x576)][_0x19e745(0x495)](_0x19e745(0x4d9),'socket\x20close',_0x1f083b),this['_onConnectionFailed']();});}}catch(_0x508a4c){this[_0x53b078(0x576)]['error'](_0x508a4c),this[_0x53b078(0x4e6)]();}}['_onConnectionOpen'](_0x4da794){var _0x585628=_0x6a139a;this['_logService'][_0x585628(0x495)](_0x585628(0x4d9),_0x585628(0x25e)),_0x4da794[_0x585628(0x466)]({'cmd':_0x527cfc[_0x585628(0x3e4)]}),this[_0x585628(0x3aa)]();}['_onOffline'](){var _0x2a3c0c=_0x6a139a;this[_0x2a3c0c(0x2c9)]=!0x1,this['_candidateSocket']=null,this[_0x2a3c0c(0x34a)]['next'](_0x581c4e[_0x2a3c0c(0x479)]),this[_0x2a3c0c(0x386)][_0x2a3c0c(0x475)](null),this[_0x2a3c0c(0x4ba)](),this[_0x2a3c0c(0x3d3)]();}['_onConnectionFailed'](){var _0x4bfdf8=_0x6a139a,_0x5ece9d;this['_onOffline'](),this['_retryCount']<((_0x5ece9d=this['_configService'][_0x4bfdf8(0x48e)](_0x6171dd))!=null?_0x5ece9d:0x3)?(this[_0x4bfdf8(0x37d)][_0x4bfdf8(0x50d)]({'id':_0x532b26[_0x4bfdf8(0x201)]}),this[_0x4bfdf8(0x3d2)]()):this[_0x4bfdf8(0x37d)][_0x4bfdf8(0x50d)]({'id':_0x532b26[_0x4bfdf8(0x568)]});}['_tryReconnect'](){var _0x4f3730=_0x6a139a,_0x4752b1;const _0x4bfc1d=this[_0x4f3730(0x38f)],_0x440732=this[_0x4f3730(0x476)][_0x4f3730(0x48e)](_0x1a45c3),_0x314832=_0x4bfc1d===0x0?0x0:((_0x4752b1=_0x440732==null?void 0x0:_0x440732[_0x4f3730(0x271)])!=null?_0x4752b1:0x4e20)*0x2**_0x4bfc1d;this[_0x4f3730(0x3e0)]=setTimeout(()=>{var _0x3fecee=_0x4f3730;clearTimeout(this[_0x3fecee(0x3e0)]),this[_0x3fecee(0x3e0)]=null,this[_0x3fecee(0x53f)]();},_0x314832),this[_0x4f3730(0x38f)]+=0x1;}[_0x6a139a(0x27b)](_0x3b9eae,_0x20b383){var _0xa6e5c0=_0x6a139a;const {cmd:_0x47423e}=_0x20b383;_0x47423e===_0x527cfc[_0xa6e5c0(0x3e4)]&&!this['_socketReady']&&(_0x3b9eae[_0xa6e5c0(0x52c)]=_0x20b383[_0xa6e5c0(0x4b1)][_0xa6e5c0(0x52c)],this['_socket$'][_0xa6e5c0(0x475)](_0x3b9eae),this['_status$'][_0xa6e5c0(0x475)](_0x581c4e['ONLINE']),this[_0xa6e5c0(0x2c9)]=!0x0,this[_0xa6e5c0(0x47a)]=null),_0x47423e===_0x527cfc[_0xa6e5c0(0x4b9)]&&this['_clearTimeoutTimer'](),this[_0xa6e5c0(0x3aa)]();}[_0x6a139a(0x3aa)](){var _0xd538a1=_0x6a139a,_0x575fab;this[_0xd538a1(0x3d3)](),this[_0xd538a1(0x505)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x575fab=this['_configService']['getConfig'](_0x179239))!=null?_0x575fab:0x7530);}[_0x6a139a(0x4ef)](){var _0x5ed763=_0x6a139a;this['_socket']['send']({'cmd':_0x527cfc[_0x5ed763(0x4b9)]}),this['_waitForHeartbeatResponse']();}[_0x6a139a(0x34f)](){var _0x138166=_0x6a139a,_0x438c6d;this['_timeoutTimer']=setTimeout(()=>this[_0x138166(0x4e6)](),(_0x438c6d=this[_0x138166(0x476)]['getConfig'](_0x49c8f0))!=null?_0x438c6d:0x4e20);}[_0x6a139a(0x3d3)](){var _0x4476b3=_0x6a139a;this[_0x4476b3(0x505)]!=null&&(clearTimeout(this[_0x4476b3(0x505)]),this[_0x4476b3(0x505)]=null);}[_0x6a139a(0x4ba)](){var _0x2b395b=_0x6a139a;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x2b395b(0x588)]),this[_0x2b395b(0x588)]=null);}},_0x4ac6e3[_0x6a139a(0x32a)]=_0x47a1f6([_0x1ae025(0x0,_0x3f544a[_0x6a139a(0x511)](_0x3f544a['Injector'])),_0x1ae025(0x1,_0x3f544a[_0x6a139a(0x390)]),_0x1ae025(0x2,_0x3f544a[_0x6a139a(0x359)]),_0x1ae025(0x3,_0x35370f),_0x1ae025(0x4,_0x3f544a['Inject'](_0x5dcc55)),_0x1ae025(0x5,_0x3f544a[_0x6a139a(0x462)](_0x1ec25d))],_0x4ac6e3[_0x6a139a(0x32a)]);const _0x80730e=[];for(let _0x56e6eb=0x0;_0x56e6eb<0x100;++_0x56e6eb)_0x80730e[_0x6a139a(0x48d)]((_0x56e6eb+0x100)[_0x6a139a(0x254)](0x10)['slice'](0x1));function _0xde2b1f(_0x5a9a33,_0x10a228=0x0){var _0x975d4c=_0x6a139a;return(_0x80730e[_0x5a9a33[_0x10a228+0x0]]+_0x80730e[_0x5a9a33[_0x10a228+0x1]]+_0x80730e[_0x5a9a33[_0x10a228+0x2]]+_0x80730e[_0x5a9a33[_0x10a228+0x3]]+'-'+_0x80730e[_0x5a9a33[_0x10a228+0x4]]+_0x80730e[_0x5a9a33[_0x10a228+0x5]]+'-'+_0x80730e[_0x5a9a33[_0x10a228+0x6]]+_0x80730e[_0x5a9a33[_0x10a228+0x7]]+'-'+_0x80730e[_0x5a9a33[_0x10a228+0x8]]+_0x80730e[_0x5a9a33[_0x10a228+0x9]]+'-'+_0x80730e[_0x5a9a33[_0x10a228+0xa]]+_0x80730e[_0x5a9a33[_0x10a228+0xb]]+_0x80730e[_0x5a9a33[_0x10a228+0xc]]+_0x80730e[_0x5a9a33[_0x10a228+0xd]]+_0x80730e[_0x5a9a33[_0x10a228+0xe]]+_0x80730e[_0x5a9a33[_0x10a228+0xf]])[_0x975d4c(0x3d9)]();}let _0x387487;const _0x5545e5=new Uint8Array(0x10);function _0x4e303e(){var _0x45f6fb=_0x6a139a;if(!_0x387487){if(typeof crypto>'u'||!crypto[_0x45f6fb(0x337)])throw new Error(_0x45f6fb(0x51b));_0x387487=crypto[_0x45f6fb(0x337)][_0x45f6fb(0x4a7)](crypto);}return _0x387487(_0x5545e5);}const _0x2230f0={'randomUUID':typeof crypto<'u'&&crypto[_0x6a139a(0x236)]&&crypto[_0x6a139a(0x236)][_0x6a139a(0x4a7)](crypto)};function _0x299f75(_0x368cb8,_0x422b48,_0x5d894d){var _0x106861=_0x6a139a,_0x357d21,_0x28c986,_0x529c8a;if(_0x2230f0['randomUUID']&&!_0x368cb8)return _0x2230f0[_0x106861(0x236)]();_0x368cb8=_0x368cb8||{};const _0x5b98e5=(_0x529c8a=(_0x28c986=_0x368cb8[_0x106861(0x396)])!=null?_0x28c986:(_0x357d21=_0x368cb8[_0x106861(0x480)])==null?void 0x0:_0x357d21['call'](_0x368cb8))!=null?_0x529c8a:_0x4e303e();if(_0x5b98e5[_0x106861(0x362)]<0x10)throw new Error(_0x106861(0x268));return _0x5b98e5[0x6]=_0x5b98e5[0x6]&0xf|0x40,_0x5b98e5[0x8]=_0x5b98e5[0x8]&0x3f|0x80,_0xde2b1f(_0x5b98e5);}const _0x1f774f=_0x3f544a[_0x6a139a(0x532)](_0x6a139a(0x523));function _0x157c85(_0x5449c7){var _0x41877e=_0x6a139a;return _0x41877e(0x30c)+_0x5449c7;}var _0x552ebb=Object[_0x6a139a(0x4ed)],_0x131fc4=(_0xb7c805,_0x36189c,_0x4f9322,_0x57be52)=>{var _0xdeb393=_0x6a139a;for(var _0x1c86ec=_0x57be52>0x1?void 0x0:_0x57be52?_0x552ebb(_0x36189c,_0x4f9322):_0x36189c,_0x4c3b4a=_0xb7c805[_0xdeb393(0x362)]-0x1,_0x39829d;_0x4c3b4a>=0x0;_0x4c3b4a--)(_0x39829d=_0xb7c805[_0x4c3b4a])&&(_0x1c86ec=_0x39829d(_0x1c86ec)||_0x1c86ec);return _0x1c86ec;},_0x41f2b2=(_0x520eeb,_0x41bb7c)=>(_0x31baef,_0x47473a)=>_0x41bb7c(_0x31baef,_0x47473a,_0x520eeb);function _0x108248(_0x310959){var _0x1827a6=_0x6a139a;const {unitID:_0x8e9024,mutations:_0x55a56e}=_0x310959;return{'unitId':_0x8e9024,'subUnitId':_0x55a56e[0x0]['params'][_0x1827a6(0x207)]};}_0x4ac6e3[_0x6a139a(0x26d)]=class{constructor(_0x209020,_0x4e43da,_0x5cbb31){var _0x1db561=_0x6a139a;this[_0x1db561(0x3cf)]=_0x209020,this['_transformService']=_0x4e43da,this['_instanceService']=_0x5cbb31;}[_0x6a139a(0x31f)](_0x518a69){var _0x5b7d99=_0x6a139a,_0x316d5e,_0x32f4f9,_0x19ed88,_0x2c7df3;const _0x3e082f=this['_injector']['get'](_0x2c566d[_0x5b7d99(0x312)]),{unitId:_0x47622e,subUnitId:_0x8a131}=_0x108248(_0x518a69),_0x3d3cec=_0x3e082f==null?void 0x0:_0x3e082f[_0x5b7d99(0x303)](_0x47622e)[_0x5b7d99(0x51a)](),_0x431a81=(_0x32f4f9=(_0x316d5e=this['_instanceService']['getUnit'](_0x47622e))==null?void 0x0:_0x316d5e[_0x5b7d99(0x318)]())==null?void 0x0:_0x32f4f9['getSheetId']();if(_0x3d3cec[_0x5b7d99(0x362)]===0x0||!_0x47622e||!_0x8a131)return;const _0x5dd460=[{'id':_0x2c566d[_0x5b7d99(0x3e1)]['id'],'params':{'unitId':_0x47622e,'subUnitId':_0x431a81,'selections':_0x3f544a['Tools']['deepClone'](_0x3d3cec)}}],_0x19117b=this[_0x5b7d99(0x567)]['transformMutationsWithChangeset'](_0x518a69,_0x5dd460);if(!_0x339060[_0x5b7d99(0x548)](_0x19117b))throw _0x19117b['error'];const _0x3e45a4=(_0x2c7df3=(_0x19ed88=_0x19117b['m2Prime'][0x0])==null?void 0x0:_0x19ed88[_0x5b7d99(0x411)])==null?void 0x0:_0x2c7df3[_0x5b7d99(0x471)];if(Array[_0x5b7d99(0x587)](_0x3e45a4)&&_0x3e45a4[_0x5b7d99(0x362)]){if(_0x3e45a4[_0x5b7d99(0x362)]===_0x5dd460[0x0][_0x5b7d99(0x411)][_0x5b7d99(0x471)]['length']&&_0x3e45a4[_0x5b7d99(0x352)]((_0x52dd2a,_0x5a21d1)=>_0x3f544a[_0x5b7d99(0x357)][_0x5b7d99(0x3ff)](_0x52dd2a[_0x5b7d99(0x385)],_0x5dd460[0x0][_0x5b7d99(0x411)][_0x5b7d99(0x471)][_0x5a21d1][_0x5b7d99(0x385)])))return;this[_0x5b7d99(0x3cf)]['get'](_0x3f544a[_0x5b7d99(0x4f3)])[_0x5b7d99(0x22e)](_0x2c566d[_0x5b7d99(0x3e1)]['id'],{'unitId':_0x47622e,'subUnitId':_0x431a81,'selections':_0x3e45a4});}}},_0x4ac6e3[_0x6a139a(0x26d)]=_0x131fc4([_0x41f2b2(0x0,_0x3f544a[_0x6a139a(0x511)](_0x3f544a[_0x6a139a(0x225)])),_0x41f2b2(0x1,_0x339060[_0x6a139a(0x49c)]),_0x41f2b2(0x2,_0x3f544a[_0x6a139a(0x316)])],_0x4ac6e3[_0x6a139a(0x26d)]);const _0x557305=_0x3f544a[_0x6a139a(0x532)](_0x6a139a(0x467));var _0x2db984=(_0x44a045=>(_0x44a045[_0x44a045[_0x6a139a(0x52f)]=0x0]=_0x6a139a(0x52f),_0x44a045[_0x44a045[_0x6a139a(0x53b)]=0x1]=_0x6a139a(0x53b),_0x44a045))(_0x2db984||{});const _0x28d21c=new Set([_0x2c566d['InsertSheetMutation']['id']]);function _0x173d2f(_0x38acdf,_0x1e5846,_0x4bcac8,_0x4acc5c,_0x280628){var _0xbf4bf=_0x6a139a,_0x39b47e,_0x28c080,_0x381b4a,_0x1d94c8;const _0x3fb2fa=[];for(const _0x4c8673 of _0x38acdf)if(_0x28d21c[_0xbf4bf(0x4cc)](_0x4c8673['id'])){if(_0x3fb2fa[_0xbf4bf(0x362)]>0x0)break;_0x3fb2fa[_0xbf4bf(0x48d)](_0x4c8673);break;}else _0x3fb2fa[_0xbf4bf(0x48d)](_0x4c8673);const _0x3b5cb6=(_0x28c080=(_0x39b47e=_0x280628[_0xbf4bf(0x2ac)]())==null?void 0x0:_0x39b47e[_0xbf4bf(0x4c0)])!=null?_0x28c080:_0xbf4bf(0x412),_0xa01fc5=(_0x1d94c8=(_0x381b4a=_0x280628[_0xbf4bf(0x2ac)]())==null?void 0x0:_0x381b4a[_0xbf4bf(0x52c)])!=null?_0x1d94c8:_0xbf4bf(0x412);return{'changeset':{'unitID':_0x1e5846,'type':_0x339060[_0xbf4bf(0x39b)](_0x4bcac8['getUnitType'](_0x1e5846)),'baseRev':_0x4acc5c[_0xbf4bf(0x562)](_0x1e5846),'revision':0x0,'userID':_0x3b5cb6,'memberID':_0xa01fc5,'mutations':_0x3fb2fa},'pendingMutations':_0x38acdf['slice'](_0x3fb2fa[_0xbf4bf(0x362)])};}function _0x17c982(_0x1f4595,_0x311c06,_0x5722e7,_0x458bfb,_0x486e85){var _0x504d44=_0x6a139a,_0x24d50b,_0x4cf4b6,_0x3304e6,_0x352b2d;const _0x3ce590=[_0x1f4595[_0x504d44(0x27f)]((_0x5f27e7,_0x107e98)=>{var _0x2ca7f3=_0x504d44,_0x10bf40;const {id:_0x282b61}=_0x5f27e7,{id:_0x352f1b,type:_0x3cb060}=_0x107e98,_0x31ac89=(_0x10bf40=_0x5f27e7[_0x2ca7f3(0x411)])!=null?_0x10bf40:{'actions':null},_0x415b9b=_0x107e98['params'];if(_0x282b61&&_0x282b61!==_0x352f1b)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x282b61+_0x2ca7f3(0x261)+_0x352f1b+'.');return{..._0x5f27e7,'id':_0x352f1b,'type':_0x3cb060,'params':{'unitId':_0x415b9b[_0x2ca7f3(0x314)],'textRanges':_0x415b9b['textRanges'],'actions':_0x3f544a[_0x2ca7f3(0x3a4)]['compose'](_0x31ac89['actions'],_0x415b9b[_0x2ca7f3(0x266)])}};},{})],_0x3f9ee0=(_0x4cf4b6=(_0x24d50b=_0x486e85[_0x504d44(0x2ac)]())==null?void 0x0:_0x24d50b['userID'])!=null?_0x4cf4b6:'unknown',_0x5d131e=(_0x352b2d=(_0x3304e6=_0x486e85['getCurrentUser']())==null?void 0x0:_0x3304e6[_0x504d44(0x52c)])!=null?_0x352b2d:_0x504d44(0x412);return{'changeset':{'unitID':_0x311c06,'type':_0x339060[_0x504d44(0x39b)](_0x5722e7[_0x504d44(0x21a)](_0x311c06)),'baseRev':_0x458bfb[_0x504d44(0x562)](_0x311c06),'revision':0x0,'userID':_0x3f9ee0,'memberID':_0x5d131e,'mutations':_0x3ce590},'pendingMutations':[]};}function _0x5ae965(_0x18cc82,_0x3af235){var _0x5b4b3a=_0x6a139a;const _0x15d109=new _0x335b5e['ReplaySubject'](0x1);return setTimeout(()=>_0x15d109[_0x5b4b3a(0x475)](_0x3af235),_0x18cc82),_0x15d109[_0x5b4b3a(0x39e)]()[_0x5b4b3a(0x3e3)](_0x335b5e[_0x5b4b3a(0x4de)](0x1));}const _0x67992d={'id':_0x2c566d[_0x6a139a(0x42f)]['id'],'type':_0x3f544a[_0x6a139a(0x4ae)][_0x6a139a(0x2ee)],'params':{}};var _0x5ed18d=Object[_0x6a139a(0x4ed)],_0x4eda0f=(_0x4006eb,_0x20ecba,_0x36fef1,_0x5301d2)=>{var _0x5ecedf=_0x6a139a;for(var _0x548bb1=_0x5301d2>0x1?void 0x0:_0x5301d2?_0x5ed18d(_0x20ecba,_0x36fef1):_0x20ecba,_0x417a33=_0x4006eb[_0x5ecedf(0x362)]-0x1,_0xa10abf;_0x417a33>=0x0;_0x417a33--)(_0xa10abf=_0x4006eb[_0x417a33])&&(_0x548bb1=_0xa10abf(_0x548bb1)||_0x548bb1);return _0x548bb1;},_0x30d486=(_0x1f5e2a,_0x4547ec)=>(_0xb914bf,_0x3d05f5)=>_0x4547ec(_0xb914bf,_0x3d05f5,_0x1f5e2a),_0xa1a126=(_0x908882=>(_0x908882['NOT_COLLAB']='not_collab',_0x908882[_0x6a139a(0x1fc)]=_0x6a139a(0x555),_0x908882[_0x6a139a(0x586)]=_0x6a139a(0x41d),_0x908882['AWAITING']='awaiting',_0x908882[_0x6a139a(0x477)]=_0x6a139a(0x200),_0x908882[_0x6a139a(0x218)]=_0x6a139a(0x4bd),_0x908882[_0x6a139a(0x4e8)]=_0x6a139a(0x294),_0x908882['OFFLINE']='offline',_0x908882))(_0xa1a126||{});const _0x3b47b0=0xea60;class _0x1cfe43{constructor(_0x2398be,_0x1e8b33,_0x1bd079,_0x105012,_0x44d896,_0x183494,_0x2955ae,_0x7c6421,_0x25bccb){var _0x1e9746=_0x6a139a;_0x4df247(this,'_awaitingChangeset',null),_0x4df247(this,_0x1e9746(0x57e),[]),(this['unitID']=_0x2398be,this[_0x1e9746(0x2d5)]=_0x1e8b33,this[_0x1e9746(0x273)]=_0x44d896,this[_0x1e9746(0x21c)]=_0x183494,this[_0x1e9746(0x394)]=_0x2955ae,this[_0x1e9746(0x29d)]=_0x7c6421,this[_0x1e9746(0x286)]=_0x25bccb,this[_0x1e9746(0x38e)]=_0x1bd079,this[_0x1e9746(0x57e)]=_0x105012);}[_0x6a139a(0x58f)](_0x3f0d11){var _0x1d01f8=_0x6a139a;const _0x2671dc=this[_0x1d01f8(0x29d)][_0x1d01f8(0x562)](this['unitID']);return _0x3f0d11['revision']>_0x2671dc+0x1?(this['_handler'][_0x1d01f8(0x242)]({'from':_0x2671dc,'to':_0x3f0d11[_0x1d01f8(0x355)]-0x1}),!0x0):!0x1;}[_0x6a139a(0x590)](_0x3fb17d){var _0x2c3a63=_0x6a139a;this[_0x2c3a63(0x394)][_0x2c3a63(0x2fb)](this[_0x2c3a63(0x2b6)],_0x3fb17d);}['_transformSelections'](_0x2a898c){var _0x220f78=_0x6a139a,_0x4e07e9,_0x532a33;(_0x532a33=(_0x4e07e9=this[_0x220f78(0x273)])[_0x220f78(0x491)])==null||_0x532a33['call'](_0x4e07e9,_0x2a898c);}[_0x6a139a(0x28f)](_0x46d5fe){var _0x3ea6c1=_0x6a139a,_0x22312d,_0x3a07aa;return(_0x3a07aa=(_0x22312d=this[_0x3ea6c1(0x273)])[_0x3ea6c1(0x585)])==null?void 0x0:_0x3a07aa[_0x3ea6c1(0x4ea)](_0x22312d,_0x46d5fe);}[_0x6a139a(0x439)](_0x46c703){var _0x42c30c=_0x6a139a,_0x5e930d,_0x5c8999;return(_0x5c8999=(_0x5e930d=this['_handler'])[_0x42c30c(0x40c)])==null?void 0x0:_0x5c8999[_0x42c30c(0x4ea)](_0x5e930d,_0x46c703);}[_0x6a139a(0x24c)](_0x48a831){var _0x413790=_0x6a139a,_0x609db6,_0x403d46,_0x4ae29d;return(_0x4ae29d=(_0x403d46=(_0x609db6=this[_0x413790(0x273)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x403d46[_0x413790(0x4ea)](_0x609db6,_0x48a831))!=null?_0x4ae29d:_0x48a831;}[_0x6a139a(0x320)](_0x4bbd45){var _0x5835ed=_0x6a139a,_0x26fb28,_0x22df8d,_0x215c3d;return(_0x215c3d=(_0x22df8d=(_0x26fb28=this[_0x5835ed(0x273)])[_0x5835ed(0x2cf)])==null?void 0x0:_0x22df8d[_0x5835ed(0x4ea)](_0x26fb28,_0x4bbd45))!=null?_0x215c3d:_0x4bbd45;}['_syncEditingCollabCursor'](_0x50f010){var _0xeb0284=_0x6a139a,_0x2bc2e8,_0x4c84f2;if(this['type']===_0x51429f[_0xeb0284(0x4dc)]){const {unitID:_0x5efa2b,mutations:_0x2884a8,memberID:_0x52a667}=_0x50f010,_0x388f4d=_0x2884a8[0x0][_0xeb0284(0x411)]['textRanges'];Array['isArray'](_0x388f4d)&&_0x388f4d[_0xeb0284(0x362)]>0x0&&((_0x4c84f2=(_0x2bc2e8=this[_0xeb0284(0x273)])[_0xeb0284(0x44e)])==null||_0x4c84f2['call'](_0x2bc2e8,{'unitID':_0x5efa2b,'memberID':_0x52a667,'textRanges':_0x388f4d}));}}[_0x6a139a(0x1fe)](){var _0x19826e=_0x6a139a,_0x38b1f6;(_0x38b1f6=this[_0x19826e(0x286)])==null||_0x38b1f6[_0x19826e(0x50e)](this[_0x19826e(0x2b6)],this[_0x19826e(0x2d5)],this[_0x19826e(0x38e)],this[_0x19826e(0x57e)]);}[_0x6a139a(0x23f)](){var _0xa45c02=_0x6a139a;return this[_0xa45c02(0x29d)][_0xa45c02(0x562)](this[_0xa45c02(0x2b6)]);}['_incrementRevisionNumber'](){var _0x1de4e7=_0x6a139a;this[_0x1de4e7(0x29d)][_0x1de4e7(0x443)](this[_0x1de4e7(0x2b6)]);}[_0x6a139a(0x478)](_0x13363c){var _0x38587b=_0x6a139a,_0xa95e75;let _0x20289e=this['_transformRemoteChangesetByIMECache'](_0x13363c);_0x20289e=this[_0x38587b(0x320)](_0x20289e);const _0x5f1057=_0x3f544a[_0x38587b(0x315)](_0x20289e['mutations'],this[_0x38587b(0x21c)],{'fromCollab':!0x0});if(!_0x5f1057['result'])throw _0x5f1057['error']instanceof Error?_0x5f1057[_0x38587b(0x300)]:new Error((_0xa95e75=_0x5f1057[_0x38587b(0x300)])!=null?_0xa95e75:_0x38587b(0x35f));this[_0x38587b(0x28f)](_0x20289e),this[_0x38587b(0x439)](_0x20289e),this['_transformUndoredo'](_0x13363c),this['_transformSelections'](_0x20289e),this[_0x38587b(0x327)](_0x20289e),this[_0x38587b(0x1f6)]();}}_0x4ac6e3[_0x6a139a(0x313)]=class extends _0x1cfe43{constructor(_0x19380c,_0x36a4a9,_0x1a74a2,_0x227056,_0x1ac601,_0x28a057,_0x67037e,_0x5dcaac,_0x174aab,_0x40083e){var _0x2c7d13=_0x6a139a;super(_0x19380c,_0x36a4a9,null,[],_0x1a74a2,_0x67037e,_0x28a057,_0x227056,_0x40083e),_0x4df247(this,_0x2c7d13(0x360),'synced'),(this[_0x2c7d13(0x3cf)]=_0x1ac601,this[_0x2c7d13(0x576)]=_0x5dcaac,this[_0x2c7d13(0x567)]=_0x174aab,this[_0x2c7d13(0x542)]=_0x40083e);}['appendMutation'](_0x3179cf){var _0x37d773=_0x6a139a;const _0x58976d=this[_0x37d773(0x3cf)]['createInstance'](_0x4ac6e3[_0x37d773(0x343)],this[_0x37d773(0x2b6)],this[_0x37d773(0x2d5)],[_0x3179cf],this['_handler']);return _0x58976d[_0x37d773(0x244)](),_0x58976d[_0x37d773(0x1fe)](),_0x58976d;}['onRemoteChangeset'](_0x57265b){var _0x256b1b=_0x6a139a;if(this[_0x256b1b(0x58f)](_0x57265b))return this[_0x256b1b(0x3cf)][_0x256b1b(0x302)](_0x4ac6e3[_0x256b1b(0x2c7)],this[_0x256b1b(0x2b6)],this[_0x256b1b(0x2d5)],null,[],null,[_0x57265b],this[_0x256b1b(0x273)]);try{const _0x36e229=this[_0x256b1b(0x567)][_0x256b1b(0x50f)](_0x57265b,[_0x67992d]);if(_0x339060[_0x256b1b(0x548)](_0x36e229)){const {c1Prime:_0x91d4ff}=_0x36e229;return this[_0x256b1b(0x478)](_0x91d4ff),this;}throw _0x36e229[_0x256b1b(0x300)];}catch(_0x3cea2e){return this['_logService'][_0x256b1b(0x300)](_0x3cea2e),this[_0x256b1b(0x506)](!0x1);}}[_0x6a139a(0x506)](_0x33b869){var _0x288245=_0x6a139a;return this[_0x288245(0x3cf)][_0x288245(0x302)](_0x4ac6e3[_0x288245(0x31a)],this[_0x288245(0x2b6)],this[_0x288245(0x2d5)],null,[],this[_0x288245(0x273)],_0x33b869);}['onRemoteAck'](){var _0x1e5dc1=_0x6a139a;throw new Error(_0x1e5dc1(0x507));}[_0x6a139a(0x461)](){var _0x432356=_0x6a139a;throw new Error(_0x432356(0x450));}[_0x6a139a(0x344)](){return this;}[_0x6a139a(0x54a)](){var _0x282d9b=_0x6a139a;return this[_0x282d9b(0x3cf)][_0x282d9b(0x302)](_0x4ac6e3[_0x282d9b(0x3d7)],this[_0x282d9b(0x2b6)],this[_0x282d9b(0x2d5)],null,[],this[_0x282d9b(0x273)]);}['toggleOnline'](){return this;}['resend'](){var _0x5ea8fa=_0x6a139a;throw new Error(_0x5ea8fa(0x4b5));}[_0x6a139a(0x42a)](){var _0x4cad8a=_0x6a139a;const _0x5a1061=this[_0x4cad8a(0x29d)]['getCurrentRevOfUnit'](this[_0x4cad8a(0x2b6)]);return this[_0x4cad8a(0x273)][_0x4cad8a(0x242)]({'from':_0x5a1061,'to':0x0}),this['_injector'][_0x4cad8a(0x302)](_0x4ac6e3[_0x4cad8a(0x2c7)],this[_0x4cad8a(0x2b6)],this[_0x4cad8a(0x2d5)],null,[],null,[],this[_0x4cad8a(0x273)]);}},_0x4ac6e3['SyncedState']=_0x4eda0f([_0x30d486(0x3,_0x3f544a[_0x6a139a(0x511)](_0x339060[_0x6a139a(0x3b4)])),_0x30d486(0x4,_0x3f544a[_0x6a139a(0x511)](_0x3f544a['Injector'])),_0x30d486(0x5,_0x3f544a[_0x6a139a(0x23c)]),_0x30d486(0x6,_0x3f544a[_0x6a139a(0x4f3)]),_0x30d486(0x7,_0x3f544a[_0x6a139a(0x390)]),_0x30d486(0x8,_0x339060[_0x6a139a(0x49c)]),_0x30d486(0x9,_0x3f544a['Optional'](_0x1f774f))],_0x4ac6e3['SyncedState']),_0x4ac6e3[_0x6a139a(0x343)]=class extends _0x1cfe43{constructor(_0x128331,_0x376c41,_0x1a756d,_0x27d8d9,_0x39150e,_0x262f5e,_0x2b72a2,_0x244a87,_0x1853f7,_0x251339,_0x492ebb,_0x234e8e,_0x400098,_0x4f6317){var _0xee8252=_0x6a139a;super(_0x128331,_0x376c41,null,_0x1a756d,_0x27d8d9,_0x1853f7,_0x400098,_0x262f5e,_0x4f6317),_0x4df247(this,_0xee8252(0x360),_0xee8252(0x41d)),_0x4df247(this,'_scheduleCompleteTimestamp',null),_0x4df247(this,_0xee8252(0x3fc),null),(this[_0xee8252(0x3cf)]=_0x39150e,this[_0xee8252(0x534)]=_0x2b72a2,this[_0xee8252(0x576)]=_0x244a87,this['_configService']=_0x251339,this[_0xee8252(0x567)]=_0x492ebb,this['_univerInstanceService']=_0x234e8e);}[_0x6a139a(0x3cd)](_0x12479d){var _0x591f0d=_0x6a139a;return this['_pendingMutations'][_0x591f0d(0x48d)](_0x12479d),this[_0x591f0d(0x1fe)](),this;}[_0x6a139a(0x251)](_0xdb5bf8){var _0x52c1c5=_0x6a139a;if(this[_0x52c1c5(0x58f)](_0xdb5bf8))return this[_0x52c1c5(0x30d)](),this['_injector'][_0x52c1c5(0x302)](_0x4ac6e3[_0x52c1c5(0x2c7)],this[_0x52c1c5(0x2b6)],this[_0x52c1c5(0x2d5)],null,this[_0x52c1c5(0x57e)],null,[_0xdb5bf8],this[_0x52c1c5(0x273)]);try{const _0x3820e9=this['_transformService'][_0x52c1c5(0x50f)](_0xdb5bf8,this[_0x52c1c5(0x57e)]);if(_0x339060[_0x52c1c5(0x548)](_0x3820e9)){const {c1Prime:_0x495127,m2Prime:_0x24e801}=_0x3820e9;this[_0x52c1c5(0x478)](_0x495127);const _0x5affb1=this['_injector'][_0x52c1c5(0x302)](_0x4ac6e3[_0x52c1c5(0x343)],this[_0x52c1c5(0x2b6)],this[_0x52c1c5(0x2d5)],_0x24e801,this['_handler']);this['_clearScheduledTask']();const _0x5a32d9=new Date()['getTime'](),_0x27fb3a=this[_0x52c1c5(0x458)]?Math[_0x52c1c5(0x42d)](this[_0x52c1c5(0x458)]-_0x5a32d9,0x0):this[_0x52c1c5(0x1f4)]();return _0x5affb1[_0x52c1c5(0x244)](_0x27fb3a),_0x5affb1;}throw _0x3820e9[_0x52c1c5(0x300)];}catch(_0x3bdd9a){return this[_0x52c1c5(0x576)][_0x52c1c5(0x300)](_0x3bdd9a),this[_0x52c1c5(0x506)](!0x1);}}[_0x6a139a(0x545)](){var _0x1d3862=_0x6a139a;throw new Error(_0x1d3862(0x288));}[_0x6a139a(0x461)](){var _0x3edff2=_0x6a139a;throw new Error(_0x3edff2(0x263));}[_0x6a139a(0x344)](){return this;}[_0x6a139a(0x54a)](){var _0x490180=_0x6a139a;return this[_0x490180(0x30d)](),this[_0x490180(0x3cf)][_0x490180(0x302)](_0x4ac6e3[_0x490180(0x3d7)],this[_0x490180(0x2b6)],this[_0x490180(0x2d5)],null,this[_0x490180(0x57e)],this[_0x490180(0x273)]);}[_0x6a139a(0x40b)](){return this;}[_0x6a139a(0x244)](_0x7ecf08){var _0x11c334=_0x6a139a;const _0x268672=_0x7ecf08!=null?_0x7ecf08:this[_0x11c334(0x1f4)]();this[_0x11c334(0x458)]=new Date()['getTime']()+_0x268672,this[_0x11c334(0x3fc)]=setTimeout(()=>{var _0x462a81=_0x11c334;this[_0x462a81(0x30d)]();let _0x3ed3f3=null;switch(this[_0x462a81(0x2d5)]){case _0x51429f[_0x462a81(0x41e)]:{_0x3ed3f3=_0x173d2f(this['_pendingMutations'],this[_0x462a81(0x2b6)],this[_0x462a81(0x57b)],this[_0x462a81(0x29d)],this[_0x462a81(0x534)]);break;}case _0x51429f[_0x462a81(0x4dc)]:{this['_pendingMutations']['every'](_0x66772b=>_0x66772b['id']===_0x34e30e[_0x462a81(0x4c4)]['id'])?_0x3ed3f3=_0x17c982(this[_0x462a81(0x57e)],this[_0x462a81(0x2b6)],this[_0x462a81(0x57b)],this[_0x462a81(0x29d)],this[_0x462a81(0x534)]):_0x3ed3f3=_0x173d2f(this['_pendingMutations'],this[_0x462a81(0x2b6)],this[_0x462a81(0x57b)],this[_0x462a81(0x29d)],this[_0x462a81(0x534)]);break;}default:throw new Error(_0x462a81(0x46a)+this[_0x462a81(0x2d5)]+_0x462a81(0x39f));}const {changeset:_0x5896cd,pendingMutations:_0xa9c5cc}=_0x3ed3f3;this[_0x462a81(0x273)][_0x462a81(0x435)](_0x5896cd);const _0x3078e7=_0xa9c5cc[_0x462a81(0x362)]?this[_0x462a81(0x3cf)][_0x462a81(0x302)](_0x4ac6e3['AwaitingWithPendingState'],this['unitID'],this[_0x462a81(0x2d5)],_0x5896cd,_0xa9c5cc,this['_handler'],void 0x0):this[_0x462a81(0x3cf)][_0x462a81(0x302)](_0x4ac6e3[_0x462a81(0x395)],this[_0x462a81(0x2b6)],this[_0x462a81(0x2d5)],_0x5896cd,this[_0x462a81(0x273)]);_0x3078e7[_0x462a81(0x1fe)](),this['_handler'][_0x462a81(0x2e8)](this,_0x3078e7);},_0x268672);}[_0x6a139a(0x1f4)](){var _0xf74d11=_0x6a139a,_0x1b0f84;const _0x1bebe7=this['_configService'][_0xf74d11(0x48e)](_0x1a45c3);return(_0x1b0f84=_0x1bebe7==null?void 0x0:_0x1bebe7['sendChangesetTimeout'])!=null?_0x1b0f84:0x7d0;}['resend'](){var _0x54385d=_0x6a139a;throw new Error(_0x54385d(0x438));}[_0x6a139a(0x30d)](){var _0x296418=_0x6a139a;this[_0x296418(0x3fc)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x296418(0x3fc)]=null);}[_0x6a139a(0x506)](_0x23a5eb){var _0x34071c=_0x6a139a;return this['_clearScheduledTask'](),this['_injector'][_0x34071c(0x302)](_0x4ac6e3['ConflictState'],this[_0x34071c(0x2b6)],this[_0x34071c(0x2d5)],null,this[_0x34071c(0x57e)],this[_0x34071c(0x273)],_0x23a5eb);}},_0x4ac6e3[_0x6a139a(0x343)]=_0x4eda0f([_0x30d486(0x4,_0x3f544a['Inject'](_0x3f544a['Injector'])),_0x30d486(0x5,_0x3f544a[_0x6a139a(0x511)](_0x339060[_0x6a139a(0x3b4)])),_0x30d486(0x6,_0x3f544a[_0x6a139a(0x511)](_0x4ac6e3[_0x6a139a(0x47d)])),_0x30d486(0x7,_0x3f544a[_0x6a139a(0x390)]),_0x30d486(0x8,_0x3f544a[_0x6a139a(0x4f3)]),_0x30d486(0x9,_0x3f544a[_0x6a139a(0x359)]),_0x30d486(0xa,_0x339060['ITransformService']),_0x30d486(0xb,_0x3f544a[_0x6a139a(0x316)]),_0x30d486(0xc,_0x3f544a[_0x6a139a(0x23c)]),_0x30d486(0xd,_0x3f544a['Optional'](_0x1f774f))],_0x4ac6e3[_0x6a139a(0x343)]),_0x4ac6e3[_0x6a139a(0x395)]=class extends _0x1cfe43{constructor(_0x3bc634,_0x348da3,_0x571a8e,_0x1851e8,_0x26bd76,_0xc78e71,_0x4c31fc,_0x14fe75,_0xf71c7d,_0x16d3cb,_0x107415){var _0x646228=_0x6a139a;super(_0x3bc634,_0x348da3,_0x571a8e,[],_0x1851e8,_0x4c31fc,_0x16d3cb,_0xc78e71,_0x107415),_0x4df247(this,'status',_0x646228(0x591)),_0x4df247(this,_0x646228(0x25c),0x0),_0x4df247(this,_0x646228(0x298)),_0x4df247(this,_0x646228(0x30b)),(this[_0x646228(0x3cf)]=_0x26bd76,this['_logService']=_0x14fe75,this[_0x646228(0x567)]=_0xf71c7d);}[_0x6a139a(0x3cd)](_0x1981fd){var _0x442c3d=_0x6a139a;this[_0x442c3d(0x30d)]();const _0x7d6ab=this[_0x442c3d(0x3cf)][_0x442c3d(0x302)](_0x4ac6e3[_0x442c3d(0x55d)],this[_0x442c3d(0x2b6)],this[_0x442c3d(0x2d5)],this[_0x442c3d(0x38e)],[_0x1981fd],this[_0x442c3d(0x273)],this[_0x442c3d(0x298)]);return _0x7d6ab[_0x442c3d(0x1fe)](),_0x7d6ab;}[_0x6a139a(0x251)](_0xc90d49){var _0x3fbb73=_0x6a139a;if(this['_checkMissing'](_0xc90d49))return this[_0x3fbb73(0x30d)](),this['_injector'][_0x3fbb73(0x302)](_0x4ac6e3[_0x3fbb73(0x2c7)],this[_0x3fbb73(0x2b6)],this['type'],this[_0x3fbb73(0x38e)],[],null,[_0xc90d49],this[_0x3fbb73(0x273)]);try{const _0x534d74=this[_0x3fbb73(0x567)][_0x3fbb73(0x512)]([_0xc90d49],[this['_awaitingChangeset']],!0x1);if(_0x339060[_0x3fbb73(0x3ec)](_0x534d74)){const {c1Prime:_0x5f2eb6,c2Prime:_0x6716c9}=_0x534d74;this[_0x3fbb73(0x478)](_0x5f2eb6[0x0]),_0x6716c9[0x0][_0x3fbb73(0x35a)]=this['_getCurrentRevision'](),this[_0x3fbb73(0x30d)]();const _0x42039a=this[_0x3fbb73(0x3cf)][_0x3fbb73(0x302)](_0x4ac6e3[_0x3fbb73(0x395)],this[_0x3fbb73(0x2b6)],this['type'],_0x6716c9[0x0],this[_0x3fbb73(0x273)]);return _0x42039a['_updateLocalCache'](),_0x42039a;}return this['_onConflict'](!0x1);}catch(_0x45e867){return this[_0x3fbb73(0x576)][_0x3fbb73(0x300)](_0x45e867),this[_0x3fbb73(0x506)](!0x1);}}[_0x6a139a(0x545)](_0x1abddb){var _0x21b2c8=_0x6a139a;this[_0x21b2c8(0x30d)]();const _0xb139b4=this[_0x21b2c8(0x29d)][_0x21b2c8(0x562)](this[_0x21b2c8(0x2b6)]);if(_0x1abddb[_0x21b2c8(0x355)]<_0xb139b4-0x1)return this;if(this[_0x21b2c8(0x58f)](_0x1abddb))return this[_0x21b2c8(0x3cf)][_0x21b2c8(0x302)](_0x4ac6e3[_0x21b2c8(0x2c7)],this[_0x21b2c8(0x2b6)],this[_0x21b2c8(0x2d5)],null,[],this['_awaitingChangeset'],[],this[_0x21b2c8(0x273)]);this[_0x21b2c8(0x1f6)]();const _0x3d7ea0=this[_0x21b2c8(0x3cf)]['createInstance'](_0x4ac6e3[_0x21b2c8(0x313)],this[_0x21b2c8(0x2b6)],this['type'],this[_0x21b2c8(0x273)]);return _0x3d7ea0[_0x21b2c8(0x1fe)](),_0x3d7ea0;}[_0x6a139a(0x461)](_0x2e6493){var _0x28425e=_0x6a139a;return this[_0x28425e(0x506)](!!(_0x2e6493!=null&&_0x2e6493[_0x28425e(0x205)]));}[_0x6a139a(0x344)](_0x2e71f0){var _0x1354c0=_0x6a139a;return this[_0x1354c0(0x25c)]>_0x3b47b0?this[_0x1354c0(0x54a)]():(this[_0x1354c0(0x298)]=_0x5ae965(this['_resendTimeout'],{'timeout':this[_0x1354c0(0x25c)],'reqId':_0x2e71f0['reqId']}),this[_0x1354c0(0x30b)]=this['_resendTimer'][_0x1354c0(0x486)](({reqId:_0x3c680a,timeout:_0x40a024})=>{var _0x350f21=_0x1354c0;this[_0x350f21(0x216)](_0x3c680a,_0x40a024);}),this);}[_0x6a139a(0x54a)](){var _0x57dd71=_0x6a139a;return this[_0x57dd71(0x30d)](),this['_injector'][_0x57dd71(0x302)](_0x4ac6e3[_0x57dd71(0x3d7)],this[_0x57dd71(0x2b6)],this[_0x57dd71(0x2d5)],this[_0x57dd71(0x38e)],[],this['_handler']);}[_0x6a139a(0x40b)](){return this;}['resend'](){var _0x4dc195=_0x6a139a;this[_0x4dc195(0x273)][_0x4dc195(0x435)](this[_0x4dc195(0x38e)]);}[_0x6a139a(0x506)](_0x268638){var _0x4bc87b=_0x6a139a;return this[_0x4bc87b(0x30d)](),this[_0x4bc87b(0x3cf)][_0x4bc87b(0x302)](_0x4ac6e3['ConflictState'],this['unitID'],this[_0x4bc87b(0x2d5)],this[_0x4bc87b(0x38e)],[],this[_0x4bc87b(0x273)],_0x268638);}[_0x6a139a(0x216)](_0x1a8dfe,_0x401f9a){var _0xeba0f3=_0x6a139a,_0x42dda7;_0x1a8dfe===((_0x42dda7=this[_0xeba0f3(0x38e)])==null?void 0x0:_0x42dda7[_0xeba0f3(0x543)])&&(this[_0xeba0f3(0x2b5)](),this[_0xeba0f3(0x25c)]=_0x401f9a===0x0?0x3e8:_0x401f9a*0x2);}[_0x6a139a(0x30d)](){var _0x24928b=_0x6a139a,_0x355c91;(_0x355c91=this['_sender'])==null||_0x355c91[_0x24928b(0x3fd)](),this[_0x24928b(0x25c)]=0x0;}},_0x4ac6e3[_0x6a139a(0x395)]=_0x4eda0f([_0x30d486(0x4,_0x3f544a[_0x6a139a(0x511)](_0x3f544a[_0x6a139a(0x225)])),_0x30d486(0x5,_0x3f544a[_0x6a139a(0x511)](_0x339060['RevisionService'])),_0x30d486(0x6,_0x3f544a[_0x6a139a(0x4f3)]),_0x30d486(0x7,_0x3f544a[_0x6a139a(0x390)]),_0x30d486(0x8,_0x339060[_0x6a139a(0x49c)]),_0x30d486(0x9,_0x3f544a[_0x6a139a(0x23c)]),_0x30d486(0xa,_0x3f544a[_0x6a139a(0x462)](_0x1f774f))],_0x4ac6e3[_0x6a139a(0x395)]),_0x4ac6e3[_0x6a139a(0x55d)]=class extends _0x1cfe43{constructor(_0x3ed84f,_0x46e506,_0x1e8b7f,_0x59a720,_0x34aac0,_0x2fdd61,_0x3bef15,_0x16c56f,_0x522c7b,_0x189db8,_0x386e2b,_0x3ed0b4,_0x5e9cfc){var _0x406277=_0x6a139a;super(_0x3ed84f,_0x46e506,_0x1e8b7f,_0x59a720,_0x34aac0,_0x522c7b,_0x3ed0b4,_0x16c56f,_0x5e9cfc),_0x4df247(this,'status',_0x406277(0x200)),_0x4df247(this,'_resendTimeout',0x0),_0x4df247(this,_0x406277(0x298)),_0x4df247(this,_0x406277(0x30b)),(this[_0x406277(0x3cf)]=_0x3bef15,this[_0x406277(0x576)]=_0x189db8,this[_0x406277(0x567)]=_0x386e2b,this['localCacheService']=_0x5e9cfc,_0x2fdd61&&(this['_resendTimer']=_0x2fdd61,this[_0x406277(0x30b)]=this[_0x406277(0x298)][_0x406277(0x486)](({reqId:_0x23e0f8,timeout:_0x40a556})=>{var _0x380996=_0x406277;this[_0x380996(0x216)](_0x23e0f8,_0x40a556);})));}['appendMutation'](_0x15b57b){var _0x5b3c75=_0x6a139a;return this['_pendingMutations'][_0x5b3c75(0x48d)](_0x15b57b),this;}['onRemoteChangeset'](_0x30c4ff){var _0x1968ef=_0x6a139a;if(this[_0x1968ef(0x58f)](_0x30c4ff))return this[_0x1968ef(0x30d)](),this[_0x1968ef(0x3cf)][_0x1968ef(0x302)](_0x4ac6e3[_0x1968ef(0x2c7)],this[_0x1968ef(0x2b6)],this['type'],this[_0x1968ef(0x38e)],this['_pendingMutations'],null,[_0x30c4ff],this['_handler']);try{const _0x3b812f=this[_0x1968ef(0x567)]['transformChangesets']([_0x30c4ff],[this[_0x1968ef(0x38e)]],!0x1);if(_0x339060[_0x1968ef(0x3ec)](_0x3b812f)){const {c1Prime:_0x388d2e,c2Prime:_0x40f247}=_0x3b812f,_0x1e64a1=this[_0x1968ef(0x567)][_0x1968ef(0x50f)](_0x388d2e[0x0],this['_pendingMutations']);if(_0x339060[_0x1968ef(0x548)](_0x1e64a1)){const {c1Prime:_0x8bd4f0,m2Prime:_0x5b4a2f}=_0x1e64a1;return this[_0x1968ef(0x478)](_0x8bd4f0),_0x40f247[0x0][_0x1968ef(0x35a)]=this[_0x1968ef(0x23f)](),this[_0x1968ef(0x30d)](),this['_injector'][_0x1968ef(0x302)](_0x4ac6e3[_0x1968ef(0x55d)],this['unitID'],this[_0x1968ef(0x2d5)],_0x40f247[0x0],_0x5b4a2f,this[_0x1968ef(0x273)],void 0x0);}throw _0x1e64a1[_0x1968ef(0x300)];}throw _0x3b812f['error'];}catch(_0x46ef02){return this[_0x1968ef(0x576)]['error'](_0x46ef02),this[_0x1968ef(0x506)](!0x1);}}[_0x6a139a(0x545)](_0x2fd694){var _0x4f3fff=_0x6a139a;if(this['_clearScheduledTask'](),this[_0x4f3fff(0x58f)](_0x2fd694))return this[_0x4f3fff(0x3cf)]['createInstance'](_0x4ac6e3['FetchingMissState'],this['unitID'],this[_0x4f3fff(0x2d5)],null,this[_0x4f3fff(0x57e)],this['_awaitingChangeset'],[],this[_0x4f3fff(0x273)]);this[_0x4f3fff(0x1f6)]();const _0x234450=this[_0x4f3fff(0x3cf)][_0x4f3fff(0x302)](_0x4ac6e3['PendingState'],this['unitID'],this[_0x4f3fff(0x2d5)],this['_pendingMutations'],this[_0x4f3fff(0x273)]);return _0x234450[_0x4f3fff(0x244)](),_0x234450['_updateLocalCache'](),_0x234450;}[_0x6a139a(0x461)](_0x554d32){var _0x1458a4=_0x6a139a;return this[_0x1458a4(0x506)](!!(_0x554d32!=null&&_0x554d32[_0x1458a4(0x205)]));}[_0x6a139a(0x344)](_0x2061ee){var _0x165c1e=_0x6a139a;return this['_resendTimeout']>_0x3b47b0?this[_0x165c1e(0x54a)]():(this[_0x165c1e(0x298)]=_0x5ae965(this[_0x165c1e(0x25c)],{'timeout':this[_0x165c1e(0x25c)],'reqId':_0x2061ee[_0x165c1e(0x543)]}),this[_0x165c1e(0x30b)]=this[_0x165c1e(0x298)][_0x165c1e(0x486)](({reqId:_0x517912,timeout:_0x53dd21})=>{var _0x6d019=_0x165c1e;this[_0x6d019(0x216)](_0x517912,_0x53dd21);}),this);}[_0x6a139a(0x54a)](){var _0x417efe=_0x6a139a;return this[_0x417efe(0x30d)](),this['_injector'][_0x417efe(0x302)](_0x4ac6e3[_0x417efe(0x3d7)],this[_0x417efe(0x2b6)],this[_0x417efe(0x2d5)],this[_0x417efe(0x38e)],this[_0x417efe(0x57e)],this[_0x417efe(0x273)]);}['toggleOnline'](){return this;}[_0x6a139a(0x2b5)](){var _0x4f5df5=_0x6a139a;this['_handler'][_0x4f5df5(0x435)](this[_0x4f5df5(0x38e)]);}[_0x6a139a(0x506)](_0x5ab309){var _0x11409f=_0x6a139a;return this[_0x11409f(0x30d)](),this['_injector']['createInstance'](_0x4ac6e3[_0x11409f(0x31a)],this[_0x11409f(0x2b6)],this[_0x11409f(0x2d5)],null,this[_0x11409f(0x57e)],this[_0x11409f(0x273)],_0x5ab309);}[_0x6a139a(0x216)](_0x27758c,_0x4fe4e7){var _0x3d367a=_0x6a139a,_0x34ac96;_0x27758c===((_0x34ac96=this[_0x3d367a(0x38e)])==null?void 0x0:_0x34ac96[_0x3d367a(0x543)])&&(this[_0x3d367a(0x2b5)](),this['_resendTimeout']=_0x4fe4e7===0x0?0x3e8:_0x4fe4e7*0x2);}[_0x6a139a(0x30d)](){var _0x1649bc=_0x6a139a,_0x2f6c55;(_0x2f6c55=this[_0x1649bc(0x30b)])==null||_0x2f6c55[_0x1649bc(0x3fd)](),this[_0x1649bc(0x25c)]=0x0;}},_0x4ac6e3[_0x6a139a(0x55d)]=_0x4eda0f([_0x30d486(0x6,_0x3f544a[_0x6a139a(0x511)](_0x3f544a[_0x6a139a(0x225)])),_0x30d486(0x7,_0x3f544a[_0x6a139a(0x511)](_0x339060[_0x6a139a(0x3b4)])),_0x30d486(0x8,_0x3f544a['ICommandService']),_0x30d486(0x9,_0x3f544a[_0x6a139a(0x390)]),_0x30d486(0xa,_0x339060[_0x6a139a(0x49c)]),_0x30d486(0xb,_0x3f544a[_0x6a139a(0x23c)]),_0x30d486(0xc,_0x3f544a['Optional'](_0x1f774f))],_0x4ac6e3[_0x6a139a(0x55d)]),_0x4ac6e3[_0x6a139a(0x31a)]=class extends _0x1cfe43{constructor(_0x1aa481,_0x35eb39,_0x53fbb6,_0x1762c0,_0xc522a8,_0x4f25a4=!0x1,_0x668d72,_0x444886,_0x436498,_0x3fa1d6,_0x55be0f,_0x4269cf,_0x2ec91a){var _0x14955c=_0x6a139a;super(_0x1aa481,_0x35eb39,_0x53fbb6,_0x1762c0,_0xc522a8,_0x444886,_0x436498,_0x3fa1d6,_0x2ec91a),_0x4df247(this,_0x14955c(0x360),_0x14955c(0x294)),(this[_0x14955c(0x307)]=_0x4f25a4,this[_0x14955c(0x383)]=_0x668d72,this[_0x14955c(0x20c)]=_0x55be0f,this[_0x14955c(0x37d)]=_0x4269cf,this['localCacheService']=_0x2ec91a,this[_0x14955c(0x329)](),this[_0x14955c(0x220)](),this[_0x14955c(0x23b)]());}[_0x6a139a(0x3cd)](){return this;}[_0x6a139a(0x251)](){return this;}[_0x6a139a(0x545)](){return this;}['onRemoteRej'](){return this;}[_0x6a139a(0x344)](){return this;}[_0x6a139a(0x54a)](){return this;}[_0x6a139a(0x40b)](){return this;}[_0x6a139a(0x2b5)](){var _0x57efda=_0x6a139a;throw new Error(_0x57efda(0x441));}[_0x6a139a(0x220)](){var _0x10d55e=_0x6a139a,_0x1a7fd2;(_0x1a7fd2=this['_localCacheService'])==null||_0x1a7fd2[_0x10d55e(0x50e)](this['unitID'],this['type'],null,[]);}[_0x6a139a(0x329)](){var _0x3cf134=_0x6a139a;this[_0x3cf134(0x307)]?this[_0x3cf134(0x37d)][_0x3cf134(0x50d)]({'id':_0x532b26[_0x3cf134(0x41f)]}):this[_0x3cf134(0x37d)][_0x3cf134(0x50d)]({'id':_0x532b26[_0x3cf134(0x4e8)]});}[_0x6a139a(0x23b)](){var _0x491692=_0x6a139a;this[_0x491692(0x383)]['updatePermissionPoint'](new _0x2c566d[(_0x491692(0x376))](this['unitID'])['id'],!0x1);}},_0x4ac6e3[_0x6a139a(0x31a)]=_0x4eda0f([_0x30d486(0x6,_0x3f544a[_0x6a139a(0x511)](_0x3f544a['IPermissionService'])),_0x30d486(0x7,_0x3f544a[_0x6a139a(0x4f3)]),_0x30d486(0x8,_0x3f544a[_0x6a139a(0x23c)]),_0x30d486(0x9,_0x3f544a[_0x6a139a(0x511)](_0x339060['RevisionService'])),_0x30d486(0xa,_0x3f544a['Inject'](_0x3f544a[_0x6a139a(0x3ed)])),_0x30d486(0xb,_0x3f544a['Inject'](_0x5dcc55)),_0x30d486(0xc,_0x3f544a['Optional'](_0x1f774f))],_0x4ac6e3['ConflictState']),_0x4ac6e3[_0x6a139a(0x3d7)]=class extends _0x1cfe43{constructor(_0x73b68b,_0x5185e6,_0x3f1484,_0x50e25c,_0x385d8d,_0x86411c,_0x2c485b,_0x1e35c8,_0x5ead97,_0x2e5cd7){var _0x3981af=_0x6a139a;super(_0x73b68b,_0x5185e6,_0x3f1484,_0x50e25c,_0x385d8d,_0x1e35c8,_0x5ead97,_0x2c485b,_0x2e5cd7),_0x4df247(this,_0x3981af(0x360),'offline'),this[_0x3981af(0x3cf)]=_0x86411c;}[_0x6a139a(0x3cd)](_0x38bacc){var _0x272ea9=_0x6a139a;return this[_0x272ea9(0x57e)][_0x272ea9(0x48d)](_0x38bacc),this['_updateLocalCache'](),this;}[_0x6a139a(0x251)](_0x56c317){var _0x3e3867=_0x6a139a;throw new Error(_0x3e3867(0x24b));}['onRemoteAck'](){var _0x5f1e3c=_0x6a139a;throw new Error(_0x5f1e3c(0x57f));}['onRemoteRej'](){var _0x35962c=_0x6a139a;throw new Error(_0x35962c(0x2a2));}[_0x6a139a(0x344)](){return this;}['toggleOffline'](){return this;}[_0x6a139a(0x40b)](){var _0x6e4f5c=_0x6a139a;const {_injector:_0x37ab27,_pendingMutations:_0x50afce,_awaitingChangeset:_0x3600f9,unitID:_0x596c36,_handler:_0xeb4cc3,type:_0x56357f}=this,_0x4b8f9a=_0x4880c5(_0x37ab27,_0x596c36,_0x56357f,_0x3600f9,_0x50afce,_0xeb4cc3);return _0x4b8f9a instanceof _0x4ac6e3[_0x6e4f5c(0x343)]?_0x4b8f9a[_0x6e4f5c(0x244)]():(_0x4b8f9a instanceof _0x4ac6e3[_0x6e4f5c(0x55d)]||_0x4b8f9a instanceof _0x4ac6e3[_0x6e4f5c(0x395)])&&_0x4b8f9a['resend'](),_0x4b8f9a;}[_0x6a139a(0x2b5)](){var _0x16b8f1=_0x6a139a;throw new Error(_0x16b8f1(0x43d));}},_0x4ac6e3[_0x6a139a(0x3d7)]=_0x4eda0f([_0x30d486(0x5,_0x3f544a[_0x6a139a(0x511)](_0x3f544a[_0x6a139a(0x225)])),_0x30d486(0x6,_0x3f544a[_0x6a139a(0x511)](_0x339060[_0x6a139a(0x3b4)])),_0x30d486(0x7,_0x3f544a['ICommandService']),_0x30d486(0x8,_0x3f544a[_0x6a139a(0x23c)]),_0x30d486(0x9,_0x3f544a[_0x6a139a(0x462)](_0x1f774f))],_0x4ac6e3['OfflineState']),_0x4ac6e3['FetchingMissState']=class extends _0x1cfe43{constructor(_0x42536d,_0x253c1c,_0x3815c8,_0x2498e8,_0x31f638,_0x50dd1f,_0x184fb3,_0x52a2d8,_0x533b1e,_0x966432,_0x5e2664,_0x344379,_0x208429,_0x5cb6d4){var _0x6c1ca8=_0x6a139a;super(_0x42536d,_0x253c1c,_0x3815c8,_0x2498e8,_0x184fb3,_0x5e2664,_0x344379,_0x533b1e,_0x5cb6d4),_0x4df247(this,_0x6c1ca8(0x360),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x31f638,this[_0x6c1ca8(0x4a1)]=_0x50dd1f,this['_injector']=_0x52a2d8,this[_0x6c1ca8(0x576)]=_0x966432,this[_0x6c1ca8(0x567)]=_0x208429,this[_0x6c1ca8(0x542)]=_0x5cb6d4);}[_0x6a139a(0x3c1)](_0x109763){var _0x368f00=_0x6a139a;try{const _0x5bc446=[..._0x109763,...this['_queuedRemoteChangesets']],_0x5cd98e=[this[_0x368f00(0x38e)]||this[_0x368f00(0x530)]][_0x368f00(0x45a)](_0x308d0a=>!!_0x308d0a);let _0x7fb4b7,_0x19d486;if(_0x5cd98e['length']){const _0x21c4b3=this[_0x368f00(0x567)][_0x368f00(0x512)](_0x5bc446,_0x5cd98e,!0x1);if(!_0x339060[_0x368f00(0x3ec)](_0x21c4b3))throw _0x21c4b3[_0x368f00(0x300)];_0x7fb4b7=_0x21c4b3[_0x368f00(0x517)],_0x19d486=_0x21c4b3[_0x368f00(0x292)];}else _0x7fb4b7=_0x5bc446,_0x19d486=[];let _0x350ab4=this[_0x368f00(0x57e)];_0x7fb4b7[_0x368f00(0x25d)](_0x1a7a11=>{var _0x1486e2=_0x368f00;let _0x122cb3;if(_0x350ab4[_0x1486e2(0x362)]){const _0x41dc0e=this[_0x1486e2(0x567)]['transformMutationsWithChangeset'](_0x1a7a11,_0x350ab4);if(!_0x339060[_0x1486e2(0x548)](_0x41dc0e))throw _0x41dc0e[_0x1486e2(0x300)];_0x122cb3=_0x41dc0e[_0x1486e2(0x517)],_0x350ab4=_0x41dc0e[_0x1486e2(0x209)];}else _0x122cb3=_0x1a7a11;this[_0x1486e2(0x478)](_0x122cb3);}),this[_0x368f00(0x530)]&&this[_0x368f00(0x1f6)](),this[_0x368f00(0x38e)]&&_0x19d486[_0x368f00(0x362)]&&(_0x19d486[0x0][_0x368f00(0x35a)]=this[_0x368f00(0x23f)]());let _0x9b417a;if(this[_0x368f00(0x38e)]&&_0x350ab4[_0x368f00(0x362)]!==0x0)_0x9b417a=this[_0x368f00(0x3cf)][_0x368f00(0x302)](_0x4ac6e3['AwaitingWithPendingState'],this[_0x368f00(0x2b6)],this[_0x368f00(0x2d5)],_0x19d486[0x0],_0x350ab4,this[_0x368f00(0x273)],void 0x0);else{if(this['_awaitingChangeset']&&_0x350ab4[_0x368f00(0x362)]===0x0)_0x19d486[0x0]['baseRev']=this['_getCurrentRevision'](),_0x9b417a=this[_0x368f00(0x3cf)][_0x368f00(0x302)](_0x4ac6e3['AwaitingState'],this[_0x368f00(0x2b6)],this[_0x368f00(0x2d5)],_0x19d486[0x0],this[_0x368f00(0x273)]);else{if(_0x350ab4[_0x368f00(0x362)]!==0x0){const _0x503148=this[_0x368f00(0x3cf)][_0x368f00(0x302)](_0x4ac6e3[_0x368f00(0x343)],this[_0x368f00(0x2b6)],this[_0x368f00(0x2d5)],_0x350ab4,this[_0x368f00(0x273)]);_0x503148[_0x368f00(0x244)](),_0x9b417a=_0x503148;}else _0x9b417a=this[_0x368f00(0x3cf)]['createInstance'](_0x4ac6e3['SyncedState'],this[_0x368f00(0x2b6)],this['type'],this[_0x368f00(0x273)]);}}return _0x9b417a[_0x368f00(0x1fe)](),_0x9b417a;}catch(_0x17460c){return this[_0x368f00(0x576)][_0x368f00(0x300)](_0x368f00(0x440),_0x368f00(0x38a),_0x17460c),this['_injector'][_0x368f00(0x302)](_0x4ac6e3[_0x368f00(0x31a)],this[_0x368f00(0x2b6)],this['type'],this['_awaitingChangeset'],this[_0x368f00(0x57e)],this[_0x368f00(0x273)],!0x1);}}[_0x6a139a(0x2b5)](){var _0x5a0dbe=_0x6a139a;throw new Error(_0x5a0dbe(0x339));}[_0x6a139a(0x3cd)](_0x4ab360){var _0x2e331c=_0x6a139a;return this[_0x2e331c(0x57e)][_0x2e331c(0x48d)](_0x4ab360),this;}['onRemoteChangeset'](_0x594759){var _0x96f4a5=_0x6a139a;return this[_0x96f4a5(0x4a1)][_0x96f4a5(0x48d)](_0x594759),this;}[_0x6a139a(0x545)](_0x30f3c5){var _0x2e2634=_0x6a139a;if(this[_0x2e2634(0x38e)])return this[_0x2e2634(0x530)]=this[_0x2e2634(0x38e)],this['_awaitingChangeset']=null,this;throw new Error(_0x2e2634(0x522));}[_0x6a139a(0x461)](_0xc2d712){return this['_onConflict'](!!(_0xc2d712!=null&&_0xc2d712['isPermissionRej']));}[_0x6a139a(0x344)](){return this;}[_0x6a139a(0x54a)](){var _0x45ab03=_0x6a139a;return this['_injector'][_0x45ab03(0x302)](_0x4ac6e3['OfflineState'],this[_0x45ab03(0x2b6)],this['type'],this[_0x45ab03(0x38e)],this['_pendingMutations'],this[_0x45ab03(0x273)]);}[_0x6a139a(0x40b)](){return this;}[_0x6a139a(0x506)](_0x5cd24a){var _0x36c192=_0x6a139a;return this[_0x36c192(0x3cf)][_0x36c192(0x302)](_0x4ac6e3['ConflictState'],this[_0x36c192(0x2b6)],this['type'],this[_0x36c192(0x38e)],this[_0x36c192(0x57e)],this[_0x36c192(0x273)],_0x5cd24a);}},_0x4ac6e3[_0x6a139a(0x2c7)]=_0x4eda0f([_0x30d486(0x7,_0x3f544a['Inject'](_0x3f544a[_0x6a139a(0x225)])),_0x30d486(0x8,_0x3f544a[_0x6a139a(0x511)](_0x339060[_0x6a139a(0x3b4)])),_0x30d486(0x9,_0x3f544a['ILogService']),_0x30d486(0xa,_0x3f544a['ICommandService']),_0x30d486(0xb,_0x3f544a[_0x6a139a(0x23c)]),_0x30d486(0xc,_0x339060[_0x6a139a(0x49c)]),_0x30d486(0xd,_0x3f544a[_0x6a139a(0x462)](_0x1f774f))],_0x4ac6e3[_0x6a139a(0x2c7)]);function _0x4880c5(_0x436fd2,_0x3b1e57,_0x39b56f,_0x5573e4,_0x204cd2,_0x4f8509){var _0x418356=_0x6a139a;return _0x5573e4&&_0x204cd2['length']?_0x436fd2[_0x418356(0x302)](_0x4ac6e3[_0x418356(0x55d)],_0x3b1e57,_0x39b56f,_0x5573e4,_0x204cd2,_0x4f8509,void 0x0):_0x5573e4?_0x436fd2[_0x418356(0x302)](_0x4ac6e3[_0x418356(0x395)],_0x3b1e57,_0x39b56f,_0x5573e4,_0x4f8509):_0x204cd2[_0x418356(0x362)]?_0x436fd2[_0x418356(0x302)](_0x4ac6e3[_0x418356(0x343)],_0x3b1e57,_0x39b56f,_0x204cd2,_0x4f8509):_0x436fd2[_0x418356(0x302)](_0x4ac6e3[_0x418356(0x313)],_0x3b1e57,_0x39b56f,_0x4f8509);}var _0x5d8c71=Object[_0x6a139a(0x4ed)],_0x119d5a=(_0x2bdf18,_0x5eca2d,_0x665a05,_0xde6d4c)=>{var _0x191b33=_0x6a139a;for(var _0x484591=_0xde6d4c>0x1?void 0x0:_0xde6d4c?_0x5d8c71(_0x5eca2d,_0x665a05):_0x5eca2d,_0x3a7740=_0x2bdf18[_0x191b33(0x362)]-0x1,_0x18db21;_0x3a7740>=0x0;_0x3a7740--)(_0x18db21=_0x2bdf18[_0x3a7740])&&(_0x484591=_0x18db21(_0x484591)||_0x484591);return _0x484591;},_0x5e6314=(_0x5bd979,_0x1b0318)=>(_0x34b176,_0x36d726)=>_0x1b0318(_0x34b176,_0x36d726,_0x5bd979);_0x4ac6e3[_0x6a139a(0x49b)]=class extends _0x3f544a['RxDisposable']{constructor(_0x3fb53f,_0x4afb38,_0x8d8b0a,_0x9bb550,_0x3b1c85,_0x3206c2,_0xa2d372,_0x732786,_0x4a5eb3,_0x2d880c,_0x407174,_0xa9f615,_0x41f219){var _0x36648f=_0x6a139a;super(),_0x4df247(this,_0x36648f(0x4d3),new _0x335b5e[(_0x36648f(0x3b3))](null)),_0x4df247(this,_0x36648f(0x349),this[_0x36648f(0x4d3)][_0x36648f(0x39e)]()),_0x4df247(this,_0x36648f(0x3bc)),_0x4df247(this,_0x36648f(0x4c8),!0x1),_0x4df247(this,_0x36648f(0x4a9),''),_0x4df247(this,_0x36648f(0x4d0),0x0),_0x4df247(this,_0x36648f(0x52e),this[_0x36648f(0x349)][_0x36648f(0x3e3)](_0x335b5e[_0x36648f(0x510)](_0x37e3fd=>_0x37e3fd?_0x37e3fd[_0x36648f(0x360)]:_0xa1a126['OFFLINE']),_0x335b5e[_0x36648f(0x3a0)](0x1))),_0x4df247(this,_0x36648f(0x23d),!0x1),_0x4df247(this,_0x36648f(0x551),[]),(this[_0x36648f(0x2b6)]=_0x3fb53f,this[_0x36648f(0x4c7)]=_0x4afb38,this[_0x36648f(0x35b)]=_0x8d8b0a,this[_0x36648f(0x3cf)]=_0x9bb550,this['_compressMutationService']=_0x3b1c85,this[_0x36648f(0x20c)]=_0x3206c2,this[_0x36648f(0x29d)]=_0xa2d372,this[_0x36648f(0x33c)]=_0x732786,this[_0x36648f(0x576)]=_0x4a5eb3,this[_0x36648f(0x21c)]=_0x2d880c,this['_permissionService']=_0x407174,this[_0x36648f(0x2d9)]=_0xa9f615,this[_0x36648f(0x286)]=_0x41f219);}get[_0x6a139a(0x44d)](){var _0x18b087=_0x6a139a;return this[_0x18b087(0x3bc)];}async['init'](){var _0x1e64da=_0x6a139a;if(this[_0x1e64da(0x44d)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x1e64da(0x336)]();}[_0x6a139a(0x33f)](){var _0x28db59=_0x6a139a;return this[_0x28db59(0x4c8)]=!0x0,_0x3f544a[_0x28db59(0x58b)](()=>{var _0x355979=_0x28db59;this[_0x355979(0x4c8)]=!0x1,this[_0x355979(0x2c4)]();});}[_0x6a139a(0x3b0)](_0x55363e){var _0x585c0c=_0x6a139a;this[_0x585c0c(0x409)](_0x55363e);}['_updateState'](_0x3dc492){var _0x9852d5=_0x6a139a;this[_0x9852d5(0x3bc)]=_0x3dc492,this['_state$'][_0x9852d5(0x475)](_0x3dc492);}async['_init'](){var _0x19e1d=_0x6a139a,_0x48b6ee;this['_updateState'](await this['_createInitialState']()),this[_0x19e1d(0x2d9)]&&((_0x48b6ee=this[_0x19e1d(0x2d9)])==null||_0x48b6ee[_0x19e1d(0x22d)](this[_0x19e1d(0x2b6)]),this[_0x19e1d(0x239)](this[_0x19e1d(0x2d9)]['getUnitStatus$'](this[_0x19e1d(0x2b6)])[_0x19e1d(0x486)](_0x336e3b=>{var _0x201791=_0x19e1d;this[_0x201791(0x576)][_0x201791(0x495)]('[CollaborationEntity]',_0x201791(0x3b6),_0x336e3b),_0x336e3b===_0x2db984[_0x201791(0x53b)]?(this[_0x201791(0x33c)][_0x201791(0x50d)]({'id':_0x532b26[_0x201791(0x55b)]}),this[_0x201791(0x383)]['updatePermissionPoint'](new _0x2c566d[(_0x201791(0x376))](this[_0x201791(0x2b6)])['id'],!0x1),this[_0x201791(0x383)]['setShowComponents'](!0x1)):(this[_0x201791(0x383)][_0x201791(0x2e7)](new _0x2c566d[(_0x201791(0x376))](this[_0x201791(0x2b6)])['id'],!0x0),this['_permissionService'][_0x201791(0x3a7)](!0x0));})));let _0xa26ec0=!0x1;return this['disposeWithMe'](this[_0x19e1d(0x4c7)][_0x19e1d(0x419)][_0x19e1d(0x486)](_0x4e8fac=>{var _0x272c5b=_0x19e1d;_0x4e8fac===_0x581c4e[_0x272c5b(0x4ad)]?this[_0x272c5b(0x42c)](_0xa26ec0):_0x4e8fac===_0x581c4e[_0x272c5b(0x479)]&&(_0xa26ec0=!0x0,this[_0x272c5b(0x232)]());})),this['disposeWithMe'](this[_0x19e1d(0x4c7)][_0x19e1d(0x272)][_0x19e1d(0x486)](_0x46c526=>{var _0x191868=_0x19e1d;try{switch(_0x46c526[_0x191868(0x210)]){case _0x339060[_0x191868(0x447)][_0x191868(0x529)]:{this[_0x191868(0x402)](_0x339060[_0x191868(0x557)](_0x46c526[_0x191868(0x4b1)]));break;}case _0x339060[_0x191868(0x447)]['CHANGESET_ACK']:{this[_0x191868(0x408)](_0x46c526[_0x191868(0x4b1)]);break;}case _0x339060['CollaborationEvent']['CHANGESET_REJ']:{this[_0x191868(0x533)]();break;}case _0x339060[_0x191868(0x447)][_0x191868(0x464)]:{this['_onRemoteRetry'](_0x46c526[_0x191868(0x4b1)]);break;}case _0x339060['CollaborationEvent'][_0x191868(0x4f7)]:{this['_onFetchMissResult'](_0x46c526[_0x191868(0x4b1)][_0x191868(0x429)][_0x191868(0x510)](_0x3a0a7b=>_0x339060['parseProtocolChangeset'](_0x3a0a7b)));break;}case _0x339060[_0x191868(0x447)][_0x191868(0x427)]:{this[_0x191868(0x533)]({'isPermissionRej':!0x0});break;}case _0x339060[_0x191868(0x447)]['UNISCRIPT_RUN']:break;}}catch(_0x26fae5){throw console[_0x191868(0x300)](_0x191868(0x41c),_0x26fae5),_0x26fae5;}})),this[_0x19e1d(0x3bc)];}[_0x6a139a(0x448)](){var _0xd023c2=_0x6a139a;this[_0xd023c2(0x23d)]=!0x1;}[_0x6a139a(0x255)](){var _0x59278b=_0x6a139a;if(this[_0x59278b(0x23d)])throw new Error(_0x59278b(0x4fb));this[_0x59278b(0x23d)]=!0x0;}[_0x6a139a(0x409)](_0x42f5a7){var _0x3176ae=_0x6a139a;this[_0x3176ae(0x255)](),this[_0x3176ae(0x23e)](this['_state'][_0x3176ae(0x3cd)](_0x42f5a7)),this[_0x3176ae(0x448)]();}[_0x6a139a(0x402)](_0x3b247c){var _0x4bdeed=_0x6a139a;if(!(_0x3b247c[_0x4bdeed(0x355)]<=this[_0x4bdeed(0x29d)][_0x4bdeed(0x562)](this['unitID']))){if(this[_0x4bdeed(0x4c8)]){this[_0x4bdeed(0x551)][_0x4bdeed(0x48d)](_0x3b247c);return;}this[_0x4bdeed(0x564)](_0x3b247c);}}[_0x6a139a(0x2c4)](){var _0x519886=_0x6a139a;this[_0x519886(0x551)][_0x519886(0x25d)](_0x5cca32=>this[_0x519886(0x564)](_0x5cca32)),this[_0x519886(0x551)]=[];}[_0x6a139a(0x564)](_0x458309){var _0x35e48f=_0x6a139a;const _0x3e14ea=this['_compressMutationService'][_0x35e48f(0x558)][_0x35e48f(0x2da)](this['_compressMutationService']['interceptor'][_0x35e48f(0x22a)]()['COMPRESS_MUTATION_APPLY'])(_0x458309[_0x35e48f(0x2a7)],null)||_0x458309[_0x35e48f(0x2a7)],_0x458adf={..._0x458309,'mutations':_0x3e14ea};this[_0x35e48f(0x255)](),this['_updateState'](this[_0x35e48f(0x3bc)][_0x35e48f(0x251)](_0x458adf)),this['_unlockTransition']();}[_0x6a139a(0x408)](_0x32363c){var _0x28947c=_0x6a139a;this[_0x28947c(0x255)](),this[_0x28947c(0x23e)](this[_0x28947c(0x3bc)][_0x28947c(0x545)](_0x32363c)),this['_unlockTransition']();}[_0x6a139a(0x533)](_0x5d5eae){var _0x1f372a=_0x6a139a;this['_lockTransition'](),this['_updateState'](this[_0x1f372a(0x3bc)][_0x1f372a(0x461)](_0x5d5eae)),this[_0x1f372a(0x448)]();}[_0x6a139a(0x4d1)](_0x222203){var _0x2403e4=_0x6a139a;this['_lockTransition'](),this['_updateState'](this[_0x2403e4(0x3bc)]['onRemoteRetry'](_0x222203)),this[_0x2403e4(0x448)]();}[_0x6a139a(0x30e)](_0x59b00c){var _0x359746=_0x6a139a;if(!(this[_0x359746(0x3bc)]instanceof _0x4ac6e3[_0x359746(0x2c7)]))throw new TypeError(_0x359746(0x309));const _0x284675=_0x59b00c[_0x359746(0x510)](_0x14ef77=>{var _0x240e4c=_0x359746;const _0xd5f78c=this[_0x240e4c(0x21f)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x240e4c(0x22a)]()[_0x240e4c(0x25a)])(_0x14ef77[_0x240e4c(0x2a7)],null)||_0x14ef77[_0x240e4c(0x2a7)];return{..._0x14ef77,'mutations':_0xd5f78c};});this[_0x359746(0x255)](),this['_updateState'](this[_0x359746(0x3bc)]['onMissedChangesetFetched'](_0x284675)),this[_0x359746(0x448)]();}[_0x6a139a(0x232)](){var _0x1bcdf2=_0x6a139a;this[_0x1bcdf2(0x255)](),this['_updateState'](this['_state'][_0x1bcdf2(0x54a)]()),this[_0x1bcdf2(0x448)]();}[_0x6a139a(0x42c)](_0xf90ab8=!0x1){var _0x5de62e=_0x6a139a;this[_0x5de62e(0x255)](),this['_updateState'](this['_state']['toggleOnline']()),this['_unlockTransition']();const _0x430ae1=this['_state'];_0xf90ab8&&_0x430ae1 instanceof _0x4ac6e3[_0x5de62e(0x313)]&&(this[_0x5de62e(0x255)](),this[_0x5de62e(0x23e)](_0x430ae1[_0x5de62e(0x42a)]()),this[_0x5de62e(0x448)]());}async[_0x6a139a(0x2a4)](){return new Promise(_0xf81cdc=>{var _0xcaec37=_0x2e75;this['session'][_0xcaec37(0x419)]['pipe'](_0x335b5e['take'](0x1))['subscribe'](async _0x5dc8c2=>{var _0x4b7f75=_0xcaec37;_0xf81cdc(await this[_0x4b7f75(0x2f8)](_0x5dc8c2===_0x581c4e['ONLINE']));});});}[_0x6a139a(0x3f8)](){var _0x39bbb4=_0x6a139a;const _0x4848ce=this[_0x39bbb4(0x2b6)];return{'onStateChange':(_0x3c176d,_0x3dafd5)=>{var _0x340a88=_0x39bbb4;if(_0x3c176d!==this[_0x340a88(0x3bc)])throw new Error(_0x340a88(0x397)+_0x3c176d[_0x340a88(0x360)]+'\x0aAfter:\x20'+_0x3dafd5[_0x340a88(0x360)]+_0x340a88(0x2b0)+this[_0x340a88(0x3bc)][_0x340a88(0x360)]);this[_0x340a88(0x23e)](_0x3dafd5);},'onSendChangeset':_0x24f2f8=>{var _0x48be21=_0x39bbb4;_0x24f2f8[_0x48be21(0x389)]||(_0x24f2f8[_0x48be21(0x389)]=this[_0x48be21(0x4a9)],_0x24f2f8[_0x48be21(0x543)]=++this['_changesetReqId']);const _0x559c0c={'eventID':_0x339060[_0x48be21(0x447)][_0x48be21(0x26a)],'data':{'unitID':_0x24f2f8[_0x48be21(0x2b6)],'unitType':this[_0x48be21(0x35b)],'changeset':_0x24f2f8,'memberID':this[_0x48be21(0x4c7)][_0x48be21(0x4d4)]()}};this[_0x48be21(0x4c7)]['send'](_0x559c0c,this[_0x48be21(0x2b6)]);},'onMissingChangesets':({from:_0xfeb26c,to:_0x95e978})=>{var _0x28dd45=_0x39bbb4;this[_0x28dd45(0x576)][_0x28dd45(0x495)](_0x28dd45(0x323),_0x28dd45(0x2b3)+_0xfeb26c+_0x28dd45(0x42b)+_0x95e978);const _0x5b3d27={'eventID':_0x339060[_0x28dd45(0x447)][_0x28dd45(0x229)],'data':{'unitID':_0x4848ce,'unitType':this[_0x28dd45(0x35b)],'from':_0xfeb26c,'to':_0x95e978}};this['session'][_0x28dd45(0x466)](_0x5b3d27,this[_0x28dd45(0x2b6)]);}};}async[_0x6a139a(0x2f8)](_0x137024){var _0x1d93b3=_0x6a139a,_0x220856,_0x2df922,_0x283a6c;const _0x197945=await((_0x220856=this['_localCacheService'])==null?void 0x0:_0x220856['loadOfflineData'](this[_0x1d93b3(0x2b6)])),_0x4bd93e=(_0x2df922=_0x197945==null?void 0x0:_0x197945['mutations'])!=null?_0x2df922:[],_0x898a6a=(_0x283a6c=_0x197945==null?void 0x0:_0x197945[_0x1d93b3(0x2ce)])!=null?_0x283a6c:null,_0x120890=!!(_0x898a6a!=null&&_0x898a6a['sid'])&&!!(_0x898a6a!=null&&_0x898a6a[_0x1d93b3(0x543)]);this[_0x1d93b3(0x4a9)]=_0x120890?_0x898a6a[_0x1d93b3(0x389)]:_0x299f75(),this[_0x1d93b3(0x4d0)]=_0x120890?_0x898a6a[_0x1d93b3(0x543)]:0x0;const _0x4c7b52=this[_0x1d93b3(0x2b6)];try{this[_0x1d93b3(0x3a6)](_0x898a6a,_0x4bd93e);}catch(_0x1994bc){this[_0x1d93b3(0x576)]['error'](_0x1994bc);}const _0x299c52=this[_0x1d93b3(0x3f8)]();if(_0x137024){const _0x16c884=_0x4880c5(this[_0x1d93b3(0x3cf)],_0x4c7b52,this[_0x1d93b3(0x35b)],_0x898a6a,_0x4bd93e,_0x299c52);return _0x16c884 instanceof _0x4ac6e3['PendingState']?_0x16c884[_0x1d93b3(0x244)]():(_0x16c884 instanceof _0x4ac6e3[_0x1d93b3(0x55d)]||_0x16c884 instanceof _0x4ac6e3[_0x1d93b3(0x395)])&&_0x16c884[_0x1d93b3(0x2b5)](),_0x16c884;}return this[_0x1d93b3(0x3cf)][_0x1d93b3(0x302)](_0x4ac6e3[_0x1d93b3(0x3d7)],_0x4c7b52,this[_0x1d93b3(0x35b)],_0x898a6a,_0x4bd93e,_0x299c52);}[_0x6a139a(0x3a6)](_0xfb1107,_0x2b5fda){var _0xf2c145=_0x6a139a,_0x2ccdae,_0x568ed6;const _0x4a8dae=this['_compressMutationService'][_0xf2c145(0x558)]['fetchThroughInterceptors'](this[_0xf2c145(0x21f)]['interceptor'][_0xf2c145(0x22a)]()['COMPRESS_MUTATION_APPLY']);(_0x2ccdae=_0x4a8dae((_0xfb1107==null?void 0x0:_0xfb1107[_0xf2c145(0x2a7)])||[],null))==null||_0x2ccdae['forEach'](_0x4c2ec3=>this['_commandService'][_0xf2c145(0x22e)](_0x4c2ec3['id'],_0x4c2ec3[_0xf2c145(0x411)])),(_0x568ed6=_0x4a8dae(_0x2b5fda||[],null))==null||_0x568ed6[_0xf2c145(0x25d)](_0x2fcaae=>this[_0xf2c145(0x21c)]['executeCommand'](_0x2fcaae['id'],_0x2fcaae['params']));}},_0x4ac6e3[_0x6a139a(0x49b)]=_0x119d5a([_0x5e6314(0x3,_0x3f544a[_0x6a139a(0x511)](_0x3f544a['Injector'])),_0x5e6314(0x4,_0x3f544a[_0x6a139a(0x511)](_0x339060[_0x6a139a(0x4f5)])),_0x5e6314(0x5,_0x3f544a['Inject'](_0x3f544a[_0x6a139a(0x3ed)])),_0x5e6314(0x6,_0x3f544a['Inject'](_0x339060['RevisionService'])),_0x5e6314(0x7,_0x3f544a[_0x6a139a(0x511)](_0x5dcc55)),_0x5e6314(0x8,_0x3f544a['ILogService']),_0x5e6314(0x9,_0x3f544a[_0x6a139a(0x4f3)]),_0x5e6314(0xa,_0x3f544a[_0x6a139a(0x56f)]),_0x5e6314(0xb,_0x3f544a['Optional'](_0x557305)),_0x5e6314(0xc,_0x3f544a['Optional'](_0x1f774f))],_0x4ac6e3[_0x6a139a(0x49b)]),_0x4ac6e3['DocCollaborationEntity']=class extends _0x4ac6e3['CollaborationEntity']{constructor(_0x2f52c9,_0x581002,_0x2e5fec,_0x3a1c2c,_0x473f97,_0x3a8887,_0x1d0d96,_0x1a6474,_0x20d9ee,_0x55594,_0x5d3a2c,_0x4e66f7,_0x51d2f8){var _0x106ad0=_0x6a139a;super(_0x2f52c9,_0x2e5fec,_0x581002,_0x3a1c2c,_0x473f97,_0x3a8887,_0x1d0d96,_0x1a6474,_0x20d9ee,_0x55594,_0x5d3a2c,_0x4e66f7,_0x51d2f8),_0x4df247(this,_0x106ad0(0x275),null),(this[_0x106ad0(0x2b6)]=_0x2f52c9,this[_0x106ad0(0x2d5)]=_0x581002);}[_0x6a139a(0x34b)](_0x263c8d){this['_handlerCallback']=_0x263c8d;}[_0x6a139a(0x3a1)](){var _0x1c22df=_0x6a139a;this[_0x1c22df(0x275)]=null,super[_0x1c22df(0x3a1)]();}['_createHandler'](){var _0x45ba7b=_0x6a139a;const _0x35ee21=super[_0x45ba7b(0x3f8)]();return _0x35ee21[_0x45ba7b(0x585)]=_0x114cb3=>{var _0x5dfcae=_0x45ba7b,_0x451f8b,_0x456737;return(_0x456737=(_0x451f8b=this[_0x5dfcae(0x275)])==null?void 0x0:_0x451f8b[_0x5dfcae(0x585)])==null?void 0x0:_0x456737[_0x5dfcae(0x4ea)](_0x451f8b,_0x114cb3);},_0x35ee21[_0x45ba7b(0x40c)]=_0x7eca19=>{var _0x18f8bd=_0x45ba7b,_0x3c740a,_0x3cca12;return(_0x3cca12=(_0x3c740a=this[_0x18f8bd(0x275)])==null?void 0x0:_0x3c740a[_0x18f8bd(0x40c)])==null?void 0x0:_0x3cca12[_0x18f8bd(0x4ea)](_0x3c740a,_0x7eca19);},_0x35ee21[_0x45ba7b(0x491)]=_0x2c8594=>{var _0x27ced7,_0x4d1107;return(_0x4d1107=(_0x27ced7=this['_handlerCallback'])==null?void 0x0:_0x27ced7['onTransformSelections'])==null?void 0x0:_0x4d1107['call'](_0x27ced7,_0x2c8594);},_0x35ee21['onSyncEditingCollabCursor']=_0x7ce178=>{var _0x48aba7=_0x45ba7b,_0x24b90b,_0xde1656;return(_0xde1656=(_0x24b90b=this[_0x48aba7(0x275)])==null?void 0x0:_0x24b90b['onSyncEditingCollabCursor'])==null?void 0x0:_0xde1656[_0x48aba7(0x4ea)](_0x24b90b,_0x7ce178);},_0x35ee21[_0x45ba7b(0x259)]=_0x1c2d24=>{var _0x7ed2c3=_0x45ba7b,_0x2a1d8e,_0x58f939,_0x4d2185;if(!((_0x2a1d8e=this[_0x7ed2c3(0x275)])!=null&&_0x2a1d8e[_0x7ed2c3(0x259)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x4d2185=(_0x58f939=this[_0x7ed2c3(0x275)])==null?void 0x0:_0x58f939['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x4d2185[_0x7ed2c3(0x4ea)](_0x58f939,_0x1c2d24);},_0x35ee21[_0x45ba7b(0x2cf)]=_0x37f85c=>{var _0x2aa6c2=_0x45ba7b,_0x51793f,_0xd4fe9b,_0x361a71;if(!((_0x51793f=this['_handlerCallback'])!=null&&_0x51793f[_0x2aa6c2(0x2cf)]))throw new Error(_0x2aa6c2(0x332));return(_0x361a71=(_0xd4fe9b=this[_0x2aa6c2(0x275)])==null?void 0x0:_0xd4fe9b[_0x2aa6c2(0x2cf)])==null?void 0x0:_0x361a71[_0x2aa6c2(0x4ea)](_0xd4fe9b,_0x37f85c);},_0x35ee21;}async[_0x6a139a(0x336)](){var _0x1d63e1=_0x6a139a;const _0x4ea88a=await super[_0x1d63e1(0x336)]();return this['disposeWithMe'](this[_0x1d63e1(0x21c)]['onCommandExecuted']((_0x3c8138,_0x1b1ca5)=>{var _0x9f2f66=_0x1d63e1;if(_0x3c8138[_0x9f2f66(0x2d5)]!==_0x3f544a[_0x9f2f66(0x4ae)][_0x9f2f66(0x2ee)]||_0x1b1ca5!=null&&_0x1b1ca5[_0x9f2f66(0x27e)]||_0x1b1ca5!=null&&_0x1b1ca5['onlyLocal']||_0x3c8138['id']===_0x34e30e[_0x9f2f66(0x4c4)]['id'])return;const _0x1fb0f6=_0x3c8138[_0x9f2f66(0x411)];if((_0x1fb0f6==null?void 0x0:_0x1fb0f6[_0x9f2f66(0x314)])!==this[_0x9f2f66(0x2b6)])return;const _0x184c77=_0x3c8138,_0x260dfc=this[_0x9f2f66(0x21f)]['interceptor'][_0x9f2f66(0x2da)](this[_0x9f2f66(0x21f)]['interceptor'][_0x9f2f66(0x22a)]()[_0x9f2f66(0x270)])([_0x184c77],null)||[_0x184c77];this[_0x9f2f66(0x409)](_0x260dfc[0x0]);})),_0x4ea88a;}},_0x4ac6e3[_0x6a139a(0x3bf)]=_0x119d5a([_0x5e6314(0x3,_0x3f544a[_0x6a139a(0x511)](_0x3f544a[_0x6a139a(0x225)])),_0x5e6314(0x4,_0x3f544a['Inject'](_0x339060[_0x6a139a(0x4f5)])),_0x5e6314(0x5,_0x3f544a[_0x6a139a(0x511)](_0x3f544a[_0x6a139a(0x3ed)])),_0x5e6314(0x6,_0x3f544a[_0x6a139a(0x511)](_0x339060[_0x6a139a(0x3b4)])),_0x5e6314(0x7,_0x3f544a[_0x6a139a(0x511)](_0x5dcc55)),_0x5e6314(0x8,_0x3f544a[_0x6a139a(0x390)]),_0x5e6314(0x9,_0x3f544a[_0x6a139a(0x4f3)]),_0x5e6314(0xa,_0x3f544a[_0x6a139a(0x56f)]),_0x5e6314(0xb,_0x3f544a[_0x6a139a(0x462)](_0x557305)),_0x5e6314(0xc,_0x3f544a[_0x6a139a(0x462)](_0x1f774f))],_0x4ac6e3[_0x6a139a(0x3bf)]),_0x4ac6e3['SheetCollaborationEntity']=class extends _0x4ac6e3[_0x6a139a(0x49b)]{constructor(_0xb2e447,_0x4417fc,_0x3a5de1,_0x20efdf,_0x741466,_0x3f87bf,_0x433ed7,_0xf419e6,_0x4a1483,_0x450504,_0x138119,_0x4e3349,_0x251116,_0x4c251e){var _0x1f2f3f=_0x6a139a;super(_0xb2e447,_0x3a5de1,_0x4417fc,_0x20efdf,_0x741466,_0x3f87bf,_0x433ed7,_0x4a1483,_0x450504,_0x138119,_0x4e3349,_0x251116,_0x4c251e),this['unitID']=_0xb2e447,this[_0x1f2f3f(0x2d5)]=_0x4417fc,this[_0x1f2f3f(0x4fe)]=_0xf419e6;}[_0x6a139a(0x3f8)](){var _0x57f2a5=_0x6a139a;const _0x159309=super[_0x57f2a5(0x3f8)]();return _0x159309[_0x57f2a5(0x491)]=_0x1ad043=>this['_sheetTransformSelectionsService'][_0x57f2a5(0x31f)](_0x1ad043),_0x159309;}async[_0x6a139a(0x336)](){var _0x1eeeb5=_0x6a139a;const _0x3a297f=await super[_0x1eeeb5(0x336)]();return this[_0x1eeeb5(0x239)](this[_0x1eeeb5(0x21c)][_0x1eeeb5(0x37b)]((_0x3e586e,_0x3b91a4)=>{var _0xde7609=_0x1eeeb5;if(_0x3e586e[_0xde7609(0x2d5)]!==_0x3f544a['CommandType'][_0xde7609(0x2ee)]||_0x3b91a4!=null&&_0x3b91a4[_0xde7609(0x27e)]||_0x3b91a4!=null&&_0x3b91a4[_0xde7609(0x308)])return;const _0x23d3e6=_0x3e586e['params'];if((_0x23d3e6==null?void 0x0:_0x23d3e6[_0xde7609(0x314)])!==this['unitID'])return;const _0x34a9d7=_0x3e586e,_0x509693=this[_0xde7609(0x21f)][_0xde7609(0x558)][_0xde7609(0x2da)](this[_0xde7609(0x21f)][_0xde7609(0x558)]['getInterceptPoints']()[_0xde7609(0x270)])([_0x34a9d7],null)||[_0x34a9d7];this[_0xde7609(0x409)](_0x509693[0x0]);})),_0x3a297f;}},_0x4ac6e3[_0x6a139a(0x24e)]=_0x119d5a([_0x5e6314(0x3,_0x3f544a[_0x6a139a(0x511)](_0x3f544a[_0x6a139a(0x225)])),_0x5e6314(0x4,_0x3f544a[_0x6a139a(0x511)](_0x339060['CompressMutationService'])),_0x5e6314(0x5,_0x3f544a['Inject'](_0x3f544a[_0x6a139a(0x3ed)])),_0x5e6314(0x6,_0x3f544a['Inject'](_0x339060[_0x6a139a(0x3b4)])),_0x5e6314(0x7,_0x3f544a[_0x6a139a(0x511)](_0x4ac6e3[_0x6a139a(0x26d)])),_0x5e6314(0x8,_0x3f544a[_0x6a139a(0x511)](_0x5dcc55)),_0x5e6314(0x9,_0x3f544a[_0x6a139a(0x390)]),_0x5e6314(0xa,_0x3f544a[_0x6a139a(0x4f3)]),_0x5e6314(0xb,_0x3f544a[_0x6a139a(0x56f)]),_0x5e6314(0xc,_0x3f544a[_0x6a139a(0x462)](_0x557305)),_0x5e6314(0xd,_0x3f544a['Optional'](_0x1f774f))],_0x4ac6e3['SheetCollaborationEntity']);var _0x3a038f=Object[_0x6a139a(0x4ed)],_0x333452=(_0x22146a,_0x136e91,_0x13425f,_0x45a1c0)=>{var _0x5e9a37=_0x6a139a;for(var _0xca9d95=_0x45a1c0>0x1?void 0x0:_0x45a1c0?_0x3a038f(_0x136e91,_0x13425f):_0x136e91,_0x279517=_0x22146a[_0x5e9a37(0x362)]-0x1,_0x2c5d48;_0x279517>=0x0;_0x279517--)(_0x2c5d48=_0x22146a[_0x279517])&&(_0xca9d95=_0x2c5d48(_0xca9d95)||_0xca9d95);return _0xca9d95;},_0x19143a=(_0x330d44,_0x20ee90)=>(_0x17b545,_0x2aa21e)=>_0x20ee90(_0x17b545,_0x2aa21e,_0x330d44);_0x4ac6e3['CollaborationController']=class extends _0x3f544a['RxDisposable']{constructor(_0x49af7c,_0xd11ffd,_0xa66762){var _0x19c843=_0x6a139a;super(),_0x4df247(this,_0x19c843(0x29a),new Map()),_0x4df247(this,_0x19c843(0x1fb),new _0x335b5e['Subject']()),_0x4df247(this,'entityInit$',this[_0x19c843(0x1fb)][_0x19c843(0x39e)]()),(this['_injector']=_0x49af7c,this['_collabSessionService']=_0xd11ffd,this[_0x19c843(0x57b)]=_0xa66762,this[_0x19c843(0x336)]());}[_0x6a139a(0x3a1)](){var _0x58b3a9=_0x6a139a;super[_0x58b3a9(0x3a1)](),this[_0x58b3a9(0x29a)]['forEach'](_0x24e7f1=>_0x24e7f1[_0x58b3a9(0x3a1)]()),this[_0x58b3a9(0x29a)][_0x58b3a9(0x4e0)]();}[_0x6a139a(0x515)](_0x4c17c7){var _0x21e680=_0x6a139a,_0x2523c4;return(_0x2523c4=this[_0x21e680(0x29a)][_0x21e680(0x561)](_0x4c17c7))!=null?_0x2523c4:null;}['getCollabEntity$'](_0x1502b4){var _0x55ce42=_0x6a139a;const _0x414398=this['getCollabEntity'](_0x1502b4);return _0x414398?_0x335b5e['of'](_0x414398):this[_0x55ce42(0x1fb)][_0x55ce42(0x3e3)](_0x25c62c[_0x55ce42(0x45a)](_0x4b7b39=>_0x4b7b39[_0x55ce42(0x2b6)]===_0x1502b4));}[_0x6a139a(0x3c7)](_0x7c04a8){var _0x349542=_0x6a139a;return _0x335b5e[_0x349542(0x553)](this['getCollabEntity$'](_0x7c04a8)[_0x349542(0x3e3)](_0x25c62c['map'](()=>{})));}[_0x6a139a(0x336)](){var _0x27f8da=_0x6a139a;this[_0x27f8da(0x57b)][_0x27f8da(0x527)](_0x3f544a['UniverInstanceType'][_0x27f8da(0x41e)])[_0x27f8da(0x3e3)](_0x335b5e[_0x27f8da(0x2f0)](this[_0x27f8da(0x575)]),_0x25c62c[_0x27f8da(0x47f)](0x10))[_0x27f8da(0x486)](async _0x30491c=>{var _0x2e46dc=_0x27f8da;const _0x24b31b=_0x30491c[_0x2e46dc(0x581)](),_0x80facf=await this[_0x2e46dc(0x29b)](_0x24b31b,_0x51429f[_0x2e46dc(0x41e)]);this['_entities'][_0x2e46dc(0x539)](_0x24b31b,_0x80facf);}),this['_univerInstanceService'][_0x27f8da(0x527)](_0x3f544a[_0x27f8da(0x388)][_0x27f8da(0x4dc)])[_0x27f8da(0x3e3)](_0x335b5e[_0x27f8da(0x2f0)](this[_0x27f8da(0x575)]),_0x25c62c[_0x27f8da(0x47f)](0x10))[_0x27f8da(0x3e3)](_0x25c62c['filter'](_0x4374dc=>!_0x4374dc[_0x27f8da(0x581)]()[_0x27f8da(0x215)]('__')))['subscribe'](async _0x440472=>{var _0x41b139=_0x27f8da;const _0xc0e7c3=_0x440472[_0x41b139(0x581)](),_0x58a83a=await this[_0x41b139(0x29b)](_0xc0e7c3,_0x51429f[_0x41b139(0x4dc)]);this[_0x41b139(0x29a)][_0x41b139(0x539)](_0xc0e7c3,_0x58a83a);}),_0x335b5e[_0x27f8da(0x206)](this[_0x27f8da(0x57b)]['getTypeOfUnitDisposed$'](_0x3f544a[_0x27f8da(0x388)][_0x27f8da(0x41e)]),this[_0x27f8da(0x57b)]['getTypeOfUnitDisposed$'](_0x3f544a[_0x27f8da(0x388)][_0x27f8da(0x4dc)]))[_0x27f8da(0x3e3)](_0x335b5e['takeUntil'](this['dispose$']))['subscribe'](_0x1a5f49=>{var _0x304b14=_0x27f8da;const _0x4c7a60=_0x1a5f49['getUnitId'](),_0x5c0171=this[_0x304b14(0x29a)][_0x304b14(0x561)](_0x4c7a60);_0x5c0171&&(_0x5c0171['dispose'](),this['_entities'][_0x304b14(0x493)](_0x4c7a60));});}async[_0x6a139a(0x29b)](_0x4650fc,_0x24e11e){var _0x1e2c75=_0x6a139a;const _0x1502d0=await this[_0x1e2c75(0x584)]['requireSession'](_0x4650fc),_0x2df116=this[_0x1e2c75(0x3cf)][_0x1e2c75(0x302)](this['_getCtorByUniverType'](_0x24e11e),_0x4650fc,_0x24e11e,_0x1502d0);return await _0x2df116[_0x1e2c75(0x546)](),this[_0x1e2c75(0x1fb)][_0x1e2c75(0x475)](_0x2df116),_0x2df116;}[_0x6a139a(0x405)](_0xe88524){var _0x38191d=_0x6a139a;switch(_0xe88524){case _0x51429f['UNIVER_DOC']:return _0x4ac6e3['DocCollaborationEntity'];case _0x51429f[_0x38191d(0x41e)]:return _0x4ac6e3['SheetCollaborationEntity'];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0xe88524);}}},_0x4ac6e3['CollaborationController']=_0x333452([_0x19143a(0x0,_0x3f544a[_0x6a139a(0x511)](_0x3f544a[_0x6a139a(0x225)])),_0x19143a(0x1,_0x3f544a[_0x6a139a(0x511)](_0x4ac6e3[_0x6a139a(0x32a)])),_0x19143a(0x2,_0x3f544a['IUniverInstanceService'])],_0x4ac6e3[_0x6a139a(0x403)]);var _0x59faed=Object['getOwnPropertyDescriptor'],_0x2c2e2b=(_0x2c6446,_0x400644,_0x2c1f97,_0x48de0c)=>{var _0x3c0e2f=_0x6a139a;for(var _0x32cf97=_0x48de0c>0x1?void 0x0:_0x48de0c?_0x59faed(_0x400644,_0x2c1f97):_0x400644,_0x2fd878=_0x2c6446[_0x3c0e2f(0x362)]-0x1,_0x1352b9;_0x2fd878>=0x0;_0x2fd878--)(_0x1352b9=_0x2c6446[_0x2fd878])&&(_0x32cf97=_0x1352b9(_0x32cf97)||_0x32cf97);return _0x32cf97;},_0x147999=(_0x5f5e07,_0x18fb1f)=>(_0x41559c,_0x46e5cf)=>_0x18fb1f(_0x41559c,_0x46e5cf,_0x5f5e07);const _0x5b19d0=_0x6a139a(0x572),_0xddf7ad=_0x6a139a(0x203);let _0x5f0017=class extends _0x3f544a[_0x6a139a(0x45b)]{constructor(_0x5c24fb,_0x48f745){var _0xcf684c=_0x6a139a;super(),this[_0xcf684c(0x57b)]=_0x5c24fb,this[_0xcf684c(0x476)]=_0x48f745,this['_init']();}[_0x6a139a(0x336)](){var _0x2c1c3e=_0x6a139a;this[_0x2c1c3e(0x239)](this[_0x2c1c3e(0x57b)][_0x2c1c3e(0x583)][_0x2c1c3e(0x486)](()=>{var _0x4d32d1=_0x2c1c3e,_0x1422a7;const _0x55bd84=this[_0x4d32d1(0x57b)][_0x4d32d1(0x42e)]();let _0x42f082=(_0x1422a7=this['_configService'][_0x4d32d1(0x48e)](_0x5b19d0))!=null?_0x1422a7:_0xddf7ad;_0x55bd84 instanceof _0x3f544a[_0x4d32d1(0x358)]&&(_0x42f082=_0x55bd84[_0x4d32d1(0x55e)]),document[_0x4d32d1(0x3df)]=_0x42f082;}));}};_0x5f0017=_0x2c2e2b([_0x147999(0x0,_0x3f544a[_0x6a139a(0x316)]),_0x147999(0x1,_0x3f544a[_0x6a139a(0x359)])],_0x5f0017);var _0x458430=Object[_0x6a139a(0x4ed)],_0x34b93d=(_0x3d1f8b,_0x581183,_0x4a7c5e,_0x19a0b6)=>{var _0x35dc29=_0x6a139a;for(var _0x59c5f6=_0x19a0b6>0x1?void 0x0:_0x19a0b6?_0x458430(_0x581183,_0x4a7c5e):_0x581183,_0x4dd989=_0x3d1f8b[_0x35dc29(0x362)]-0x1,_0x561e0c;_0x4dd989>=0x0;_0x4dd989--)(_0x561e0c=_0x3d1f8b[_0x4dd989])&&(_0x59c5f6=_0x561e0c(_0x59c5f6)||_0x59c5f6);return _0x59c5f6;},_0x2d9fea=(_0x43bba3,_0x4dd58b)=>(_0x3ee813,_0x921924)=>_0x4dd58b(_0x3ee813,_0x921924,_0x43bba3);let _0x35129f=class{constructor(_0x2098e7,_0x42c6e6,_0x91b105){var _0x12c6ec=_0x6a139a;this['_configService']=_0x2098e7,this['_httpService']=_0x42c6e6,this[_0x12c6ec(0x24a)]=_0x91b105,this[_0x12c6ec(0x546)]();}[_0x6a139a(0x546)](){var _0x481e8a=_0x6a139a;this[_0x481e8a(0x39a)][_0x481e8a(0x4c3)]({'priority':0x1,'interceptor':(_0x441080,_0x3f4333)=>_0x3f4333(_0x441080)[_0x481e8a(0x3e3)](_0x335b5e[_0x481e8a(0x4ec)](async _0x3abf45=>{var _0x1ec2de=_0x481e8a;const _0x52671c=_0x3abf45;if(_0x52671c[_0x1ec2de(0x360)]===0x191){if(typeof window>'u')throw new Error(_0x1ec2de(0x33d));if(window[_0x1ec2de(0x449)](this['localeService']['t'](_0x1ec2de(0x4d5)))){const _0x33106a=window[_0x1ec2de(0x55a)](window[_0x1ec2de(0x226)]['href']);window['location'][_0x1ec2de(0x499)]=this['_getLoginPath']()+_0x1ec2de(0x2d4)+_0x33106a;}}return _0x52671c;}))});}[_0x6a139a(0x35e)](){var _0x11e8f7=_0x6a139a,_0x298a03,_0x119204;const _0x542817=this[_0x11e8f7(0x476)]['getConfig'](_0x1d0e0f),_0x2aa82c=this[_0x11e8f7(0x476)][_0x11e8f7(0x48e)](_0x1a45c3);return(_0x119204=(_0x298a03=_0x2aa82c==null?void 0x0:_0x2aa82c[_0x11e8f7(0x47c)])!=null?_0x298a03:_0x542817)!=null?_0x119204:_0x2f26b7;}};_0x35129f=_0x34b93d([_0x2d9fea(0x0,_0x3f544a[_0x6a139a(0x359)]),_0x2d9fea(0x1,_0x3f544a['Inject'](_0x334605[_0x6a139a(0x2f1)])),_0x2d9fea(0x2,_0x3f544a[_0x6a139a(0x511)](_0x3f544a[_0x6a139a(0x3ed)]))],_0x35129f);var _0x3e0cb6=Object[_0x6a139a(0x4ed)],_0x12b78c=(_0x246425,_0x2fe6fb,_0x4d9ddf,_0x3d06d3)=>{var _0x487712=_0x6a139a;for(var _0x802bc4=_0x3d06d3>0x1?void 0x0:_0x3d06d3?_0x3e0cb6(_0x2fe6fb,_0x4d9ddf):_0x2fe6fb,_0x33f48e=_0x246425[_0x487712(0x362)]-0x1,_0x1342a3;_0x33f48e>=0x0;_0x33f48e--)(_0x1342a3=_0x246425[_0x33f48e])&&(_0x802bc4=_0x1342a3(_0x802bc4)||_0x802bc4);return _0x802bc4;},_0x1d613f=(_0x25d80e,_0xac25d7)=>(_0x31c8dc,_0x2d4b7a)=>_0xac25d7(_0x31c8dc,_0x2d4b7a,_0x25d80e);const _0x196de1=_0x6a139a(0x3d8),_0x4fa56d=_0x6a139a(0x55c);_0x4ac6e3[_0x6a139a(0x213)]=class extends _0x3f544a[_0x6a139a(0x45b)]{constructor(_0x1b05b1,_0x58778f){var _0x426f0d=_0x6a139a;super(),this[_0x426f0d(0x4f1)]=_0x1b05b1,this[_0x426f0d(0x476)]=_0x58778f,this['_initMergeInterceptor']();}[_0x6a139a(0x306)](){var _0xa4cfb4=_0x6a139a;const _0x560fa1=this;this[_0xa4cfb4(0x239)](this[_0xa4cfb4(0x4f1)][_0xa4cfb4(0x4c3)]({'priority':0x3e7,'interceptor':_0x334605[_0xa4cfb4(0x2ca)]({'isMatch'(_0x3a06a4){var _0x1d2a01=_0xa4cfb4,_0x54262b;if(_0x3a06a4[_0x1d2a01(0x45c)]===_0x1d2a01(0x4da)&&((_0x54262b=_0x3a06a4['requestParams'])!=null&&_0x54262b['body'])){const {objectID:_0xfc2d02,objectType:_0x512413}=_0x3a06a4['requestParams']['body']||{};if(!_0xfc2d02||_0x512413===void 0x0)return!0x1;const _0x52206f=_0x560fa1['_getAPIPrefixPath']()+'/'+_0x512413+'/object/'+_0xfc2d02+'/allowed';if(_0x3a06a4['url']===_0x52206f)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1713bd){var _0x108e74;return(_0x108e74=_0x1713bd['requestParams'])==null?void 0x0:_0x108e74['body'];},'mergeParamsToRequest'(_0x5ce662,_0x289aac){var _0x3723df=_0xa4cfb4;const _0x2df442=_0x560fa1[_0x3723df(0x33b)]()+_0x3723df(0x4e1),_0x9a66a=_0x5ce662[_0x3723df(0x27f)]((_0x20a01d,_0xcf61b6)=>{var _0x1303a3=_0x3723df;const {unitID:_0x57587a,objectID:_0x308d64,objectType:_0x569955,actions:_0x52b9ea}=_0xcf61b6;return _0x20a01d[_0x57587a]||(_0x20a01d[_0x57587a]={}),_0x20a01d[_0x57587a][_0x308d64]||(_0x20a01d[_0x57587a][_0x308d64]={'objectID':_0x308d64,'objectType':_0x569955,'actions':[]}),_0x20a01d[_0x57587a][_0x308d64][_0x1303a3(0x266)][_0x1303a3(0x48d)](..._0x52b9ea),_0x20a01d;},{}),_0x3e225f=[];for(const _0x2aa35a in _0x9a66a)for(const _0x9a1293 in _0x9a66a[_0x2aa35a]){const {actions:_0x4dfd5d,objectType:_0x539052}=_0x9a66a[_0x2aa35a][_0x9a1293],_0x1eebc8=[...new Set(_0x4dfd5d)];_0x3e225f['push']({'unitID':_0x2aa35a,'objectID':_0x9a1293,'objectType':_0x539052,'actions':_0x1eebc8});}return new _0x334605[(_0x3723df(0x223))]('POST',_0x2df442,{'headers':_0x289aac[_0x3723df(0x3cb)],'withCredentials':_0x289aac[_0x3723df(0x4f9)],'responseType':_0x289aac[_0x3723df(0x2c2)],'body':{'requests':_0x3e225f}});}},{'distributeResult'(_0x5161cc,_0x56ccda){var _0x2a7d75=_0xa4cfb4;const {objectActions:_0x429171}=_0x5161cc;return _0x56ccda[_0x2a7d75(0x510)](_0xd8a3ca=>{var _0x44855e=_0x2a7d75;const {unitID:_0x30476d,objectID:_0x193bfd,actions:_0xa0ed25}=_0xd8a3ca,_0x2aa278=_0x429171[_0x44855e(0x492)](_0x5f03f5=>_0x5f03f5['unitID']===_0x30476d&&_0x5f03f5['objectID']===_0x193bfd),_0x4674cb=_0xa0ed25[_0x44855e(0x510)](_0x339c57=>_0x2aa278==null?void 0x0:_0x2aa278[_0x44855e(0x266)]['find'](_0x4c4b82=>_0x4c4b82[_0x44855e(0x414)]===_0x339c57))[_0x44855e(0x45a)](_0x35021=>!!_0x35021);return{'config':_0xd8a3ca,'result':{'actions':_0x4674cb,'error':_0x5161cc[_0x44855e(0x300)]}};});}})}));}[_0x6a139a(0x33b)](){var _0xeb9fba=_0x6a139a,_0x4a6f6f,_0x64250e;const _0x472769=this[_0xeb9fba(0x476)][_0xeb9fba(0x48e)](_0x196de1),_0x589165=this[_0xeb9fba(0x476)]['getConfig'](_0x1a45c3);return(_0x64250e=(_0x4a6f6f=_0x589165==null?void 0x0:_0x589165['authzUrl'])!=null?_0x4a6f6f:_0x472769)!=null?_0x64250e:_0x4fa56d;}async[_0x6a139a(0x550)](_0x20799c){var _0x7e57c5=_0x6a139a;const _0x5d502a=this[_0x7e57c5(0x33b)]()+'/'+_0x20799c[_0x7e57c5(0x299)]+_0x7e57c5(0x44a);return(await this[_0x7e57c5(0x4f1)][_0x7e57c5(0x32c)](_0x5d502a,{'body':_0x20799c}))[_0x7e57c5(0x2ea)][_0x7e57c5(0x4d2)]||'';}async[_0x6a139a(0x473)](_0x28d428){var _0x59cf96=_0x6a139a;const _0x38c85d=this['_getAPIPrefixPath']()+_0x59cf96(0x3af);return(await this[_0x59cf96(0x4f1)][_0x59cf96(0x32c)](_0x38c85d,{'body':_0x28d428}))[_0x59cf96(0x2ea)][_0x59cf96(0x4b3)];}async[_0x6a139a(0x240)](_0x525d43){var _0x55eb73=_0x6a139a,_0x24cba8,_0x26534f;const _0x1598fa=this[_0x55eb73(0x33b)]()+'/'+_0x525d43[_0x55eb73(0x299)]+_0x55eb73(0x536)+_0x525d43[_0x55eb73(0x4d2)],_0x362df0=await this[_0x55eb73(0x4f1)][_0x55eb73(0x2cd)](_0x1598fa,{'body':_0x525d43});if(((_0x26534f=(_0x24cba8=_0x362df0==null?void 0x0:_0x362df0[_0x55eb73(0x2ea)])==null?void 0x0:_0x24cba8['error'])==null?void 0x0:_0x26534f['code'])!==0x1)throw new Error(_0x55eb73(0x423));}async[_0x6a139a(0x456)](_0x4ec88a){var _0x41a035=_0x6a139a;const _0x464232=this['_getAPIPrefixPath']()+'/'+_0x4ec88a['objectType']+'/object/'+_0x4ec88a[_0x41a035(0x4d2)]+_0x41a035(0x56a);return(await this[_0x41a035(0x4f1)][_0x41a035(0x32c)](_0x464232,{'body':_0x4ec88a}))[_0x41a035(0x2ea)][_0x41a035(0x266)];}async[_0x6a139a(0x535)](_0x14ac2e){var _0xe30ac8=_0x6a139a;const _0xdc53e6=this[_0xe30ac8(0x33b)]()+'/-/object/-/batch_allowed';return(await this[_0xe30ac8(0x4f1)][_0xe30ac8(0x32c)](_0xdc53e6,{'body':{'requests':_0x14ac2e}}))[_0xe30ac8(0x2ea)][_0xe30ac8(0x4ff)];}async[_0x6a139a(0x322)](_0x27f450){var _0x718f0c=_0x6a139a;const _0x344d77=this[_0x718f0c(0x33b)]()+'/'+_0x27f450[_0x718f0c(0x299)]+_0x718f0c(0x50c),_0x255401=await this['_HTTPService'][_0x718f0c(0x32c)](_0x344d77,{'body':_0x27f450});return{'roles':_0x255401[_0x718f0c(0x2ea)][_0x718f0c(0x4b7)],'actions':_0x255401[_0x718f0c(0x2ea)][_0x718f0c(0x266)]};}async[_0x6a139a(0x431)](_0x51189a){var _0x225ca1=_0x6a139a;const _0x4ee0ec=this['_getAPIPrefixPath']()+_0x225ca1(0x2de);await this[_0x225ca1(0x4f1)]['delete'](_0x4ee0ec,{'params':{'collaboratorID':_0x51189a[_0x225ca1(0x392)],'objectID':_0x51189a[_0x225ca1(0x4d2)],'unitID':_0x51189a['unitID']}});}async[_0x6a139a(0x453)](_0x21b4fa){var _0x43c0e9=_0x6a139a;const _0x215bf3=this[_0x43c0e9(0x33b)]()+_0x43c0e9(0x2de);await this['_HTTPService']['patch'](_0x215bf3,{'body':_0x21b4fa});}async[_0x6a139a(0x496)](_0x4d892f){var _0x21bd58=_0x6a139a;const _0x214c1b=this[_0x21bd58(0x33b)]()+_0x21bd58(0x2de);await this[_0x21bd58(0x4f1)]['post'](_0x214c1b,{'body':_0x4d892f});}async['listCollaborators'](_0x1ec514){var _0x1f0e1e=_0x6a139a;const _0x5b7fc7=this[_0x1f0e1e(0x33b)]()+_0x1f0e1e(0x2de);return(await this[_0x1f0e1e(0x4f1)][_0x1f0e1e(0x561)](_0x5b7fc7,{'params':{'objectID':_0x1ec514[_0x1f0e1e(0x4d2)],'unitID':_0x1ec514['unitID']}}))['body'][_0x1f0e1e(0x345)];}async['putCollaborators'](_0x2cab31){var _0x42a6cf=_0x6a139a;const _0x42cf96=this[_0x42a6cf(0x33b)]()+_0x42a6cf(0x2de);await this[_0x42a6cf(0x4f1)][_0x42a6cf(0x2cd)](_0x42cf96,{'body':_0x2cab31});}},_0x4ac6e3[_0x6a139a(0x213)]=_0x12b78c([_0x1d613f(0x0,_0x3f544a[_0x6a139a(0x511)](_0x334605[_0x6a139a(0x2f1)])),_0x1d613f(0x1,_0x3f544a[_0x6a139a(0x511)](_0x3f544a[_0x6a139a(0x359)]))],_0x4ac6e3['AuthzIoHttpService']);var _0x5d125b=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x6da8a2(_0x112e94){var _0x327957=_0x6a139a;return _0x112e94&&_0x112e94['__esModule']&&Object[_0x327957(0x4cf)][_0x327957(0x488)][_0x327957(0x4ea)](_0x112e94,_0x327957(0x264))?_0x112e94[_0x327957(0x264)]:_0x112e94;}var _0x1b9b95={'exports':{}};function _0x294146(_0x1d0e6c){var _0x95f073=_0x6a139a;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x1d0e6c+_0x95f073(0x304));}var _0x331dd={'exports':{}},_0x478a7c=_0x331dd[_0x6a139a(0x246)],_0x128fc6;function _0x5aa39e(){var _0x170fa3=_0x6a139a;return _0x128fc6||(_0x128fc6=0x1,function(_0x277117,_0x5dced9){(function(_0x337a63,_0x3cee6c){var _0x1e6b1a=_0x2e75;_0x277117[_0x1e6b1a(0x246)]=_0x3cee6c();}(_0x478a7c,function(){var _0x5a78f5=_0x5a78f5||function(_0x1635ce,_0x25bfa6){var _0x56439b=_0x2e75,_0x3666a9;if(typeof window<'u'&&window[_0x56439b(0x2a8)]&&(_0x3666a9=window[_0x56439b(0x2a8)]),typeof self<'u'&&self[_0x56439b(0x2a8)]&&(_0x3666a9=self[_0x56439b(0x2a8)]),typeof globalThis<'u'&&globalThis[_0x56439b(0x2a8)]&&(_0x3666a9=globalThis[_0x56439b(0x2a8)]),!_0x3666a9&&typeof window<'u'&&window[_0x56439b(0x250)]&&(_0x3666a9=window['msCrypto']),!_0x3666a9&&typeof _0x5d125b<'u'&&_0x5d125b[_0x56439b(0x2a8)]&&(_0x3666a9=_0x5d125b['crypto']),!_0x3666a9&&typeof _0x294146==_0x56439b(0x238))try{_0x3666a9=require(_0x56439b(0x2a8));}catch{}var _0x5f315d=function(){var _0x15ff1a=_0x56439b;if(_0x3666a9){if(typeof _0x3666a9['getRandomValues']==_0x15ff1a(0x238))try{return _0x3666a9[_0x15ff1a(0x337)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3666a9[_0x15ff1a(0x2eb)]==_0x15ff1a(0x238))try{return _0x3666a9[_0x15ff1a(0x2eb)](0x4)[_0x15ff1a(0x3f0)]();}catch{}}throw new Error(_0x15ff1a(0x1fd));},_0x25530b=Object[_0x56439b(0x550)]||(function(){function _0x5f5495(){}return function(_0xf26416){var _0x1d9c4e=_0x2e75,_0x2deb54;return _0x5f5495[_0x1d9c4e(0x4cf)]=_0xf26416,_0x2deb54=new _0x5f5495(),_0x5f5495[_0x1d9c4e(0x4cf)]=null,_0x2deb54;};}()),_0x1401b4={},_0x40b0e2=_0x1401b4[_0x56439b(0x2e2)]={},_0x1d49d6=_0x40b0e2[_0x56439b(0x563)]=(function(){return{'extend':function(_0x4d36e4){var _0x3965e3=_0x2e75,_0x2fb11f=_0x25530b(this);return _0x4d36e4&&_0x2fb11f[_0x3965e3(0x554)](_0x4d36e4),(!_0x2fb11f['hasOwnProperty'](_0x3965e3(0x546))||this[_0x3965e3(0x546)]===_0x2fb11f['init'])&&(_0x2fb11f[_0x3965e3(0x546)]=function(){var _0x283652=_0x3965e3;_0x2fb11f[_0x283652(0x51c)]['init'][_0x283652(0x289)](this,arguments);}),_0x2fb11f[_0x3965e3(0x546)][_0x3965e3(0x4cf)]=_0x2fb11f,_0x2fb11f[_0x3965e3(0x51c)]=this,_0x2fb11f;},'create':function(){var _0x2cdf3c=_0x2e75,_0xd8fcc1=this['extend']();return _0xd8fcc1[_0x2cdf3c(0x546)][_0x2cdf3c(0x289)](_0xd8fcc1,arguments),_0xd8fcc1;},'init':function(){},'mixIn':function(_0x450d82){var _0x598c75=_0x2e75;for(var _0x353f52 in _0x450d82)_0x450d82[_0x598c75(0x488)](_0x353f52)&&(this[_0x353f52]=_0x450d82[_0x353f52]);_0x450d82[_0x598c75(0x488)](_0x598c75(0x254))&&(this['toString']=_0x450d82[_0x598c75(0x254)]);},'clone':function(){var _0x130152=_0x2e75;return this[_0x130152(0x546)][_0x130152(0x4cf)][_0x130152(0x3ad)](this);}};}()),_0x3eb97e=_0x40b0e2[_0x56439b(0x465)]=_0x1d49d6[_0x56439b(0x3ad)]({'init':function(_0x51a0b7,_0x35b6c9){var _0x307a26=_0x56439b;_0x51a0b7=this['words']=_0x51a0b7||[],_0x35b6c9!=_0x25bfa6?this[_0x307a26(0x202)]=_0x35b6c9:this['sigBytes']=_0x51a0b7[_0x307a26(0x362)]*0x4;},'toString':function(_0x4e761b){var _0x23464a=_0x56439b;return(_0x4e761b||_0x4ccc00)[_0x23464a(0x25b)](this);},'concat':function(_0xf602ce){var _0x4fb3dc=_0x56439b,_0x3f503f=this[_0x4fb3dc(0x333)],_0x4143ae=_0xf602ce[_0x4fb3dc(0x333)],_0xb85d0d=this[_0x4fb3dc(0x202)],_0x42d527=_0xf602ce['sigBytes'];if(this[_0x4fb3dc(0x330)](),_0xb85d0d%0x4)for(var _0x2c2117=0x0;_0x2c2117<_0x42d527;_0x2c2117++){var _0x2e35fe=_0x4143ae[_0x2c2117>>>0x2]>>>0x18-_0x2c2117%0x4*0x8&0xff;_0x3f503f[_0xb85d0d+_0x2c2117>>>0x2]|=_0x2e35fe<<0x18-(_0xb85d0d+_0x2c2117)%0x4*0x8;}else{for(var _0x4bc85b=0x0;_0x4bc85b<_0x42d527;_0x4bc85b+=0x4)_0x3f503f[_0xb85d0d+_0x4bc85b>>>0x2]=_0x4143ae[_0x4bc85b>>>0x2];}return this['sigBytes']+=_0x42d527,this;},'clamp':function(){var _0x410089=_0x56439b,_0x287a9e=this[_0x410089(0x333)],_0x1813d5=this['sigBytes'];_0x287a9e[_0x1813d5>>>0x2]&=0xffffffff<<0x20-_0x1813d5%0x4*0x8,_0x287a9e[_0x410089(0x362)]=_0x1635ce[_0x410089(0x482)](_0x1813d5/0x4);},'clone':function(){var _0xb2f148=_0x56439b,_0x3f8535=_0x1d49d6[_0xb2f148(0x4d7)]['call'](this);return _0x3f8535[_0xb2f148(0x333)]=this['words'][_0xb2f148(0x485)](0x0),_0x3f8535;},'random':function(_0x343d33){for(var _0x21e2ad=[],_0x555219=0x0;_0x555219<_0x343d33;_0x555219+=0x4)_0x21e2ad['push'](_0x5f315d());return new _0x3eb97e['init'](_0x21e2ad,_0x343d33);}}),_0x46a796=_0x1401b4[_0x56439b(0x27d)]={},_0x4ccc00=_0x46a796['Hex']={'stringify':function(_0x1e302a){var _0x66690f=_0x56439b;for(var _0x24d4bf=_0x1e302a[_0x66690f(0x333)],_0x11812e=_0x1e302a[_0x66690f(0x202)],_0x3ca72a=[],_0x4b536a=0x0;_0x4b536a<_0x11812e;_0x4b536a++){var _0x1b4a6c=_0x24d4bf[_0x4b536a>>>0x2]>>>0x18-_0x4b536a%0x4*0x8&0xff;_0x3ca72a[_0x66690f(0x48d)]((_0x1b4a6c>>>0x4)[_0x66690f(0x254)](0x10)),_0x3ca72a[_0x66690f(0x48d)]((_0x1b4a6c&0xf)[_0x66690f(0x254)](0x10));}return _0x3ca72a[_0x66690f(0x36e)]('');},'parse':function(_0x5aef74){var _0x16464f=_0x56439b;for(var _0x1cc57e=_0x5aef74['length'],_0x26320f=[],_0xfd6bcf=0x0;_0xfd6bcf<_0x1cc57e;_0xfd6bcf+=0x2)_0x26320f[_0xfd6bcf>>>0x3]|=parseInt(_0x5aef74[_0x16464f(0x262)](_0xfd6bcf,0x2),0x10)<<0x18-_0xfd6bcf%0x8*0x4;return new _0x3eb97e['init'](_0x26320f,_0x1cc57e/0x2);}},_0x4f2e67=_0x46a796[_0x56439b(0x3c3)]={'stringify':function(_0x234474){var _0x2c94c7=_0x56439b;for(var _0x4b6181=_0x234474[_0x2c94c7(0x333)],_0x4dba38=_0x234474[_0x2c94c7(0x202)],_0x34717a=[],_0x152b7e=0x0;_0x152b7e<_0x4dba38;_0x152b7e++){var _0x5f43ee=_0x4b6181[_0x152b7e>>>0x2]>>>0x18-_0x152b7e%0x4*0x8&0xff;_0x34717a['push'](String['fromCharCode'](_0x5f43ee));}return _0x34717a[_0x2c94c7(0x36e)]('');},'parse':function(_0x2fc38e){var _0x566107=_0x56439b;for(var _0x10cf8d=_0x2fc38e[_0x566107(0x362)],_0x1b033f=[],_0x241602=0x0;_0x241602<_0x10cf8d;_0x241602++)_0x1b033f[_0x241602>>>0x2]|=(_0x2fc38e[_0x566107(0x252)](_0x241602)&0xff)<<0x18-_0x241602%0x4*0x8;return new _0x3eb97e[(_0x566107(0x546))](_0x1b033f,_0x10cf8d);}},_0x4aa427=_0x46a796['Utf8']={'stringify':function(_0x6a5bc){var _0x26550d=_0x56439b;try{return decodeURIComponent(escape(_0x4f2e67[_0x26550d(0x25b)](_0x6a5bc)));}catch{throw new Error(_0x26550d(0x29e));}},'parse':function(_0x45e796){return _0x4f2e67['parse'](unescape(encodeURIComponent(_0x45e796)));}},_0x48ecf3=_0x40b0e2[_0x56439b(0x57a)]=_0x1d49d6['extend']({'reset':function(){var _0x213bce=_0x56439b;this[_0x213bce(0x504)]=new _0x3eb97e[(_0x213bce(0x546))](),this['_nDataBytes']=0x0;},'_append':function(_0x59588a){var _0x558779=_0x56439b;typeof _0x59588a==_0x558779(0x22b)&&(_0x59588a=_0x4aa427[_0x558779(0x369)](_0x59588a)),this[_0x558779(0x504)][_0x558779(0x1f5)](_0x59588a),this['_nDataBytes']+=_0x59588a[_0x558779(0x202)];},'_process':function(_0x4e1376){var _0x33de05=_0x56439b,_0x36b537,_0x4c06d6=this['_data'],_0x267093=_0x4c06d6[_0x33de05(0x333)],_0x34390b=_0x4c06d6[_0x33de05(0x202)],_0x18e1fb=this['blockSize'],_0xd8cef2=_0x18e1fb*0x4,_0xbca33=_0x34390b/_0xd8cef2;_0x4e1376?_0xbca33=_0x1635ce[_0x33de05(0x482)](_0xbca33):_0xbca33=_0x1635ce[_0x33de05(0x42d)]((_0xbca33|0x0)-this[_0x33de05(0x393)],0x0);var _0x5b6009=_0xbca33*_0x18e1fb,_0x4a9b79=_0x1635ce[_0x33de05(0x3fa)](_0x5b6009*0x4,_0x34390b);if(_0x5b6009){for(var _0x30c7b4=0x0;_0x30c7b4<_0x5b6009;_0x30c7b4+=_0x18e1fb)this[_0x33de05(0x2ed)](_0x267093,_0x30c7b4);_0x36b537=_0x267093[_0x33de05(0x2b8)](0x0,_0x5b6009),_0x4c06d6[_0x33de05(0x202)]-=_0x4a9b79;}return new _0x3eb97e[(_0x33de05(0x546))](_0x36b537,_0x4a9b79);},'clone':function(){var _0x5557cc=_0x56439b,_0x5db260=_0x1d49d6['clone'][_0x5557cc(0x4ea)](this);return _0x5db260[_0x5557cc(0x504)]=this['_data'][_0x5557cc(0x4d7)](),_0x5db260;},'_minBufferSize':0x0});_0x40b0e2[_0x56439b(0x2b4)]=_0x48ecf3[_0x56439b(0x3ad)]({'cfg':_0x1d49d6['extend'](),'init':function(_0x47e6d4){var _0x25662e=_0x56439b;this[_0x25662e(0x457)]=this[_0x25662e(0x457)][_0x25662e(0x3ad)](_0x47e6d4),this['reset']();},'reset':function(){var _0x2ce78c=_0x56439b;_0x48ecf3[_0x2ce78c(0x4dd)][_0x2ce78c(0x4ea)](this),this[_0x2ce78c(0x3f9)]();},'update':function(_0x191fb8){var _0x294718=_0x56439b;return this[_0x294718(0x3cc)](_0x191fb8),this['_process'](),this;},'finalize':function(_0x183499){var _0x44b6ad=_0x56439b;_0x183499&&this[_0x44b6ad(0x3cc)](_0x183499);var _0x262f25=this[_0x44b6ad(0x253)]();return _0x262f25;},'blockSize':0x10,'_createHelper':function(_0x2c2752){return function(_0x28bd43,_0x78c684){var _0x564d53=_0x2e75;return new _0x2c2752[(_0x564d53(0x546))](_0x78c684)[_0x564d53(0x514)](_0x28bd43);};},'_createHmacHelper':function(_0x208683){return function(_0x533ad0,_0x2e6317){var _0x43e940=_0x2e75;return new _0x2b6443[(_0x43e940(0x484))]['init'](_0x208683,_0x2e6317)[_0x43e940(0x514)](_0x533ad0);};}});var _0x2b6443=_0x1401b4[_0x56439b(0x516)]={};return _0x1401b4;}(Math);return _0x5a78f5;}));}(_0x331dd)),_0x331dd[_0x170fa3(0x246)];}var _0x33e772={'exports':{}},_0x20e269=_0x33e772[_0x6a139a(0x246)],_0x435152;function _0x3b04fb(){var _0x7c059a=_0x6a139a;return _0x435152||(_0x435152=0x1,function(_0x131871,_0x3c08a2){(function(_0x21610c,_0x3627e2){var _0xcf4f1d=_0x2e75;_0x131871[_0xcf4f1d(0x246)]=_0x3627e2(_0x5aa39e());}(_0x20e269,function(_0x1e1d4b){var _0x59c149=_0x2e75;return(function(){var _0x23c1f4=_0x2e75,_0x2f39f9=_0x1e1d4b,_0xd32580=_0x2f39f9[_0x23c1f4(0x2e2)],_0xae5f6f=_0xd32580['WordArray'],_0x358285=_0x2f39f9[_0x23c1f4(0x27d)];_0x358285[_0x23c1f4(0x25f)]={'stringify':function(_0x359475){var _0x38710f=_0x23c1f4,_0xc5ff61=_0x359475[_0x38710f(0x333)],_0x3aff35=_0x359475['sigBytes'],_0x5d395d=this[_0x38710f(0x27c)];_0x359475[_0x38710f(0x330)]();for(var _0x2f01cb=[],_0x5f05f5=0x0;_0x5f05f5<_0x3aff35;_0x5f05f5+=0x3)for(var _0x3bab76=_0xc5ff61[_0x5f05f5>>>0x2]>>>0x18-_0x5f05f5%0x4*0x8&0xff,_0x404d15=_0xc5ff61[_0x5f05f5+0x1>>>0x2]>>>0x18-(_0x5f05f5+0x1)%0x4*0x8&0xff,_0x47fde7=_0xc5ff61[_0x5f05f5+0x2>>>0x2]>>>0x18-(_0x5f05f5+0x2)%0x4*0x8&0xff,_0x44e83e=_0x3bab76<<0x10|_0x404d15<<0x8|_0x47fde7,_0x1e2c5d=0x0;_0x1e2c5d<0x4&&_0x5f05f5+_0x1e2c5d*0.75<_0x3aff35;_0x1e2c5d++)_0x2f01cb[_0x38710f(0x48d)](_0x5d395d[_0x38710f(0x361)](_0x44e83e>>>0x6*(0x3-_0x1e2c5d)&0x3f));var _0x4f0d80=_0x5d395d[_0x38710f(0x361)](0x40);if(_0x4f0d80){for(;_0x2f01cb[_0x38710f(0x362)]%0x4;)_0x2f01cb[_0x38710f(0x48d)](_0x4f0d80);}return _0x2f01cb[_0x38710f(0x36e)]('');},'parse':function(_0xba9a58){var _0x1f36cb=_0x23c1f4,_0x1bccb0=_0xba9a58['length'],_0x567d59=this[_0x1f36cb(0x27c)],_0x58c357=this[_0x1f36cb(0x497)];if(!_0x58c357){_0x58c357=this[_0x1f36cb(0x497)]=[];for(var _0x4c3607=0x0;_0x4c3607<_0x567d59[_0x1f36cb(0x362)];_0x4c3607++)_0x58c357[_0x567d59['charCodeAt'](_0x4c3607)]=_0x4c3607;}var _0x2defc3=_0x567d59[_0x1f36cb(0x361)](0x40);if(_0x2defc3){var _0x23a45c=_0xba9a58['indexOf'](_0x2defc3);_0x23a45c!==-0x1&&(_0x1bccb0=_0x23a45c);}return _0x1da5b7(_0xba9a58,_0x1bccb0,_0x58c357);},'_map':_0x23c1f4(0x521)};function _0x1da5b7(_0x480818,_0x28ff7e,_0x441911){for(var _0x867dec=[],_0x5b360c=0x0,_0x5df0f6=0x0;_0x5df0f6<_0x28ff7e;_0x5df0f6++)if(_0x5df0f6%0x4){var _0x4100d5=_0x441911[_0x480818['charCodeAt'](_0x5df0f6-0x1)]<<_0x5df0f6%0x4*0x2,_0x5bd90a=_0x441911[_0x480818['charCodeAt'](_0x5df0f6)]>>>0x6-_0x5df0f6%0x4*0x2,_0x36e778=_0x4100d5|_0x5bd90a;_0x867dec[_0x5b360c>>>0x2]|=_0x36e778<<0x18-_0x5b360c%0x4*0x8,_0x5b360c++;}return _0xae5f6f['create'](_0x867dec,_0x5b360c);}}()),_0x1e1d4b[_0x59c149(0x27d)][_0x59c149(0x25f)];}));}(_0x33e772)),_0x33e772[_0x7c059a(0x246)];}var _0x4cbf03={'exports':{}},_0x4e84da=_0x4cbf03[_0x6a139a(0x246)],_0x4e73bb;function _0x57ae2a(){var _0x24f4a2=_0x6a139a;return _0x4e73bb||(_0x4e73bb=0x1,function(_0x3b637b,_0x232559){(function(_0xd2d1fe,_0x46eba6){var _0x21da34=_0x2e75;_0x3b637b[_0x21da34(0x246)]=_0x46eba6(_0x5aa39e());}(_0x4e84da,function(_0x1caf51){var _0x42727e=_0x2e75;return function(_0x360184){var _0x283c28=_0x2e75,_0xf560d9=_0x1caf51,_0x91bd5e=_0xf560d9[_0x283c28(0x2e2)],_0x5f01c0=_0x91bd5e[_0x283c28(0x465)],_0x50cc79=_0x91bd5e['Hasher'],_0x4a4faf=_0xf560d9[_0x283c28(0x516)],_0xeceebc=[];(function(){var _0x521567=_0x283c28;for(var _0x552277=0x0;_0x552277<0x40;_0x552277++)_0xeceebc[_0x552277]=_0x360184[_0x521567(0x2e1)](_0x360184[_0x521567(0x49e)](_0x552277+0x1))*0x100000000|0x0;}());var _0x29c470=_0x4a4faf[_0x283c28(0x2af)]=_0x50cc79['extend']({'_doReset':function(){var _0x1c3b0d=_0x283c28;this['_hash']=new _0x5f01c0[(_0x1c3b0d(0x546))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x11069e,_0x1ed77c){var _0x10a532=_0x283c28;for(var _0x3de3eb=0x0;_0x3de3eb<0x10;_0x3de3eb++){var _0x311cc5=_0x1ed77c+_0x3de3eb,_0x25254e=_0x11069e[_0x311cc5];_0x11069e[_0x311cc5]=(_0x25254e<<0x8|_0x25254e>>>0x18)&0xff00ff|(_0x25254e<<0x18|_0x25254e>>>0x8)&0xff00ff00;}var _0x347563=this[_0x10a532(0x2c3)]['words'],_0x3ef3ad=_0x11069e[_0x1ed77c+0x0],_0x4cf72c=_0x11069e[_0x1ed77c+0x1],_0x462955=_0x11069e[_0x1ed77c+0x2],_0x5ce8a2=_0x11069e[_0x1ed77c+0x3],_0x34b750=_0x11069e[_0x1ed77c+0x4],_0x384117=_0x11069e[_0x1ed77c+0x5],_0x196056=_0x11069e[_0x1ed77c+0x6],_0x1fe63f=_0x11069e[_0x1ed77c+0x7],_0x18b3bf=_0x11069e[_0x1ed77c+0x8],_0x10ebb2=_0x11069e[_0x1ed77c+0x9],_0x1977d1=_0x11069e[_0x1ed77c+0xa],_0x2716c8=_0x11069e[_0x1ed77c+0xb],_0xbfcbe9=_0x11069e[_0x1ed77c+0xc],_0x531ab2=_0x11069e[_0x1ed77c+0xd],_0x5c9539=_0x11069e[_0x1ed77c+0xe],_0x1916fb=_0x11069e[_0x1ed77c+0xf],_0x42069c=_0x347563[0x0],_0x59c5cd=_0x347563[0x1],_0x924f66=_0x347563[0x2],_0xf1c56e=_0x347563[0x3];_0x42069c=_0x431306(_0x42069c,_0x59c5cd,_0x924f66,_0xf1c56e,_0x3ef3ad,0x7,_0xeceebc[0x0]),_0xf1c56e=_0x431306(_0xf1c56e,_0x42069c,_0x59c5cd,_0x924f66,_0x4cf72c,0xc,_0xeceebc[0x1]),_0x924f66=_0x431306(_0x924f66,_0xf1c56e,_0x42069c,_0x59c5cd,_0x462955,0x11,_0xeceebc[0x2]),_0x59c5cd=_0x431306(_0x59c5cd,_0x924f66,_0xf1c56e,_0x42069c,_0x5ce8a2,0x16,_0xeceebc[0x3]),_0x42069c=_0x431306(_0x42069c,_0x59c5cd,_0x924f66,_0xf1c56e,_0x34b750,0x7,_0xeceebc[0x4]),_0xf1c56e=_0x431306(_0xf1c56e,_0x42069c,_0x59c5cd,_0x924f66,_0x384117,0xc,_0xeceebc[0x5]),_0x924f66=_0x431306(_0x924f66,_0xf1c56e,_0x42069c,_0x59c5cd,_0x196056,0x11,_0xeceebc[0x6]),_0x59c5cd=_0x431306(_0x59c5cd,_0x924f66,_0xf1c56e,_0x42069c,_0x1fe63f,0x16,_0xeceebc[0x7]),_0x42069c=_0x431306(_0x42069c,_0x59c5cd,_0x924f66,_0xf1c56e,_0x18b3bf,0x7,_0xeceebc[0x8]),_0xf1c56e=_0x431306(_0xf1c56e,_0x42069c,_0x59c5cd,_0x924f66,_0x10ebb2,0xc,_0xeceebc[0x9]),_0x924f66=_0x431306(_0x924f66,_0xf1c56e,_0x42069c,_0x59c5cd,_0x1977d1,0x11,_0xeceebc[0xa]),_0x59c5cd=_0x431306(_0x59c5cd,_0x924f66,_0xf1c56e,_0x42069c,_0x2716c8,0x16,_0xeceebc[0xb]),_0x42069c=_0x431306(_0x42069c,_0x59c5cd,_0x924f66,_0xf1c56e,_0xbfcbe9,0x7,_0xeceebc[0xc]),_0xf1c56e=_0x431306(_0xf1c56e,_0x42069c,_0x59c5cd,_0x924f66,_0x531ab2,0xc,_0xeceebc[0xd]),_0x924f66=_0x431306(_0x924f66,_0xf1c56e,_0x42069c,_0x59c5cd,_0x5c9539,0x11,_0xeceebc[0xe]),_0x59c5cd=_0x431306(_0x59c5cd,_0x924f66,_0xf1c56e,_0x42069c,_0x1916fb,0x16,_0xeceebc[0xf]),_0x42069c=_0x3cd8a7(_0x42069c,_0x59c5cd,_0x924f66,_0xf1c56e,_0x4cf72c,0x5,_0xeceebc[0x10]),_0xf1c56e=_0x3cd8a7(_0xf1c56e,_0x42069c,_0x59c5cd,_0x924f66,_0x196056,0x9,_0xeceebc[0x11]),_0x924f66=_0x3cd8a7(_0x924f66,_0xf1c56e,_0x42069c,_0x59c5cd,_0x2716c8,0xe,_0xeceebc[0x12]),_0x59c5cd=_0x3cd8a7(_0x59c5cd,_0x924f66,_0xf1c56e,_0x42069c,_0x3ef3ad,0x14,_0xeceebc[0x13]),_0x42069c=_0x3cd8a7(_0x42069c,_0x59c5cd,_0x924f66,_0xf1c56e,_0x384117,0x5,_0xeceebc[0x14]),_0xf1c56e=_0x3cd8a7(_0xf1c56e,_0x42069c,_0x59c5cd,_0x924f66,_0x1977d1,0x9,_0xeceebc[0x15]),_0x924f66=_0x3cd8a7(_0x924f66,_0xf1c56e,_0x42069c,_0x59c5cd,_0x1916fb,0xe,_0xeceebc[0x16]),_0x59c5cd=_0x3cd8a7(_0x59c5cd,_0x924f66,_0xf1c56e,_0x42069c,_0x34b750,0x14,_0xeceebc[0x17]),_0x42069c=_0x3cd8a7(_0x42069c,_0x59c5cd,_0x924f66,_0xf1c56e,_0x10ebb2,0x5,_0xeceebc[0x18]),_0xf1c56e=_0x3cd8a7(_0xf1c56e,_0x42069c,_0x59c5cd,_0x924f66,_0x5c9539,0x9,_0xeceebc[0x19]),_0x924f66=_0x3cd8a7(_0x924f66,_0xf1c56e,_0x42069c,_0x59c5cd,_0x5ce8a2,0xe,_0xeceebc[0x1a]),_0x59c5cd=_0x3cd8a7(_0x59c5cd,_0x924f66,_0xf1c56e,_0x42069c,_0x18b3bf,0x14,_0xeceebc[0x1b]),_0x42069c=_0x3cd8a7(_0x42069c,_0x59c5cd,_0x924f66,_0xf1c56e,_0x531ab2,0x5,_0xeceebc[0x1c]),_0xf1c56e=_0x3cd8a7(_0xf1c56e,_0x42069c,_0x59c5cd,_0x924f66,_0x462955,0x9,_0xeceebc[0x1d]),_0x924f66=_0x3cd8a7(_0x924f66,_0xf1c56e,_0x42069c,_0x59c5cd,_0x1fe63f,0xe,_0xeceebc[0x1e]),_0x59c5cd=_0x3cd8a7(_0x59c5cd,_0x924f66,_0xf1c56e,_0x42069c,_0xbfcbe9,0x14,_0xeceebc[0x1f]),_0x42069c=_0x2ee0e9(_0x42069c,_0x59c5cd,_0x924f66,_0xf1c56e,_0x384117,0x4,_0xeceebc[0x20]),_0xf1c56e=_0x2ee0e9(_0xf1c56e,_0x42069c,_0x59c5cd,_0x924f66,_0x18b3bf,0xb,_0xeceebc[0x21]),_0x924f66=_0x2ee0e9(_0x924f66,_0xf1c56e,_0x42069c,_0x59c5cd,_0x2716c8,0x10,_0xeceebc[0x22]),_0x59c5cd=_0x2ee0e9(_0x59c5cd,_0x924f66,_0xf1c56e,_0x42069c,_0x5c9539,0x17,_0xeceebc[0x23]),_0x42069c=_0x2ee0e9(_0x42069c,_0x59c5cd,_0x924f66,_0xf1c56e,_0x4cf72c,0x4,_0xeceebc[0x24]),_0xf1c56e=_0x2ee0e9(_0xf1c56e,_0x42069c,_0x59c5cd,_0x924f66,_0x34b750,0xb,_0xeceebc[0x25]),_0x924f66=_0x2ee0e9(_0x924f66,_0xf1c56e,_0x42069c,_0x59c5cd,_0x1fe63f,0x10,_0xeceebc[0x26]),_0x59c5cd=_0x2ee0e9(_0x59c5cd,_0x924f66,_0xf1c56e,_0x42069c,_0x1977d1,0x17,_0xeceebc[0x27]),_0x42069c=_0x2ee0e9(_0x42069c,_0x59c5cd,_0x924f66,_0xf1c56e,_0x531ab2,0x4,_0xeceebc[0x28]),_0xf1c56e=_0x2ee0e9(_0xf1c56e,_0x42069c,_0x59c5cd,_0x924f66,_0x3ef3ad,0xb,_0xeceebc[0x29]),_0x924f66=_0x2ee0e9(_0x924f66,_0xf1c56e,_0x42069c,_0x59c5cd,_0x5ce8a2,0x10,_0xeceebc[0x2a]),_0x59c5cd=_0x2ee0e9(_0x59c5cd,_0x924f66,_0xf1c56e,_0x42069c,_0x196056,0x17,_0xeceebc[0x2b]),_0x42069c=_0x2ee0e9(_0x42069c,_0x59c5cd,_0x924f66,_0xf1c56e,_0x10ebb2,0x4,_0xeceebc[0x2c]),_0xf1c56e=_0x2ee0e9(_0xf1c56e,_0x42069c,_0x59c5cd,_0x924f66,_0xbfcbe9,0xb,_0xeceebc[0x2d]),_0x924f66=_0x2ee0e9(_0x924f66,_0xf1c56e,_0x42069c,_0x59c5cd,_0x1916fb,0x10,_0xeceebc[0x2e]),_0x59c5cd=_0x2ee0e9(_0x59c5cd,_0x924f66,_0xf1c56e,_0x42069c,_0x462955,0x17,_0xeceebc[0x2f]),_0x42069c=_0x388f35(_0x42069c,_0x59c5cd,_0x924f66,_0xf1c56e,_0x3ef3ad,0x6,_0xeceebc[0x30]),_0xf1c56e=_0x388f35(_0xf1c56e,_0x42069c,_0x59c5cd,_0x924f66,_0x1fe63f,0xa,_0xeceebc[0x31]),_0x924f66=_0x388f35(_0x924f66,_0xf1c56e,_0x42069c,_0x59c5cd,_0x5c9539,0xf,_0xeceebc[0x32]),_0x59c5cd=_0x388f35(_0x59c5cd,_0x924f66,_0xf1c56e,_0x42069c,_0x384117,0x15,_0xeceebc[0x33]),_0x42069c=_0x388f35(_0x42069c,_0x59c5cd,_0x924f66,_0xf1c56e,_0xbfcbe9,0x6,_0xeceebc[0x34]),_0xf1c56e=_0x388f35(_0xf1c56e,_0x42069c,_0x59c5cd,_0x924f66,_0x5ce8a2,0xa,_0xeceebc[0x35]),_0x924f66=_0x388f35(_0x924f66,_0xf1c56e,_0x42069c,_0x59c5cd,_0x1977d1,0xf,_0xeceebc[0x36]),_0x59c5cd=_0x388f35(_0x59c5cd,_0x924f66,_0xf1c56e,_0x42069c,_0x4cf72c,0x15,_0xeceebc[0x37]),_0x42069c=_0x388f35(_0x42069c,_0x59c5cd,_0x924f66,_0xf1c56e,_0x18b3bf,0x6,_0xeceebc[0x38]),_0xf1c56e=_0x388f35(_0xf1c56e,_0x42069c,_0x59c5cd,_0x924f66,_0x1916fb,0xa,_0xeceebc[0x39]),_0x924f66=_0x388f35(_0x924f66,_0xf1c56e,_0x42069c,_0x59c5cd,_0x196056,0xf,_0xeceebc[0x3a]),_0x59c5cd=_0x388f35(_0x59c5cd,_0x924f66,_0xf1c56e,_0x42069c,_0x531ab2,0x15,_0xeceebc[0x3b]),_0x42069c=_0x388f35(_0x42069c,_0x59c5cd,_0x924f66,_0xf1c56e,_0x34b750,0x6,_0xeceebc[0x3c]),_0xf1c56e=_0x388f35(_0xf1c56e,_0x42069c,_0x59c5cd,_0x924f66,_0x2716c8,0xa,_0xeceebc[0x3d]),_0x924f66=_0x388f35(_0x924f66,_0xf1c56e,_0x42069c,_0x59c5cd,_0x462955,0xf,_0xeceebc[0x3e]),_0x59c5cd=_0x388f35(_0x59c5cd,_0x924f66,_0xf1c56e,_0x42069c,_0x10ebb2,0x15,_0xeceebc[0x3f]),_0x347563[0x0]=_0x347563[0x0]+_0x42069c|0x0,_0x347563[0x1]=_0x347563[0x1]+_0x59c5cd|0x0,_0x347563[0x2]=_0x347563[0x2]+_0x924f66|0x0,_0x347563[0x3]=_0x347563[0x3]+_0xf1c56e|0x0;},'_doFinalize':function(){var _0x1faa1f=_0x283c28,_0x38c2f3=this[_0x1faa1f(0x504)],_0x3c077c=_0x38c2f3[_0x1faa1f(0x333)],_0x28351a=this['_nDataBytes']*0x8,_0x1bad14=_0x38c2f3[_0x1faa1f(0x202)]*0x8;_0x3c077c[_0x1bad14>>>0x5]|=0x80<<0x18-_0x1bad14%0x20;var _0x1a962f=_0x360184[_0x1faa1f(0x2f5)](_0x28351a/0x100000000),_0x107025=_0x28351a;_0x3c077c[(_0x1bad14+0x40>>>0x9<<0x4)+0xf]=(_0x1a962f<<0x8|_0x1a962f>>>0x18)&0xff00ff|(_0x1a962f<<0x18|_0x1a962f>>>0x8)&0xff00ff00,_0x3c077c[(_0x1bad14+0x40>>>0x9<<0x4)+0xe]=(_0x107025<<0x8|_0x107025>>>0x18)&0xff00ff|(_0x107025<<0x18|_0x107025>>>0x8)&0xff00ff00,_0x38c2f3[_0x1faa1f(0x202)]=(_0x3c077c['length']+0x1)*0x4,this[_0x1faa1f(0x2fa)]();for(var _0x1397eb=this[_0x1faa1f(0x2c3)],_0x4f32fe=_0x1397eb[_0x1faa1f(0x333)],_0x5d27c4=0x0;_0x5d27c4<0x4;_0x5d27c4++){var _0x3bec77=_0x4f32fe[_0x5d27c4];_0x4f32fe[_0x5d27c4]=(_0x3bec77<<0x8|_0x3bec77>>>0x18)&0xff00ff|(_0x3bec77<<0x18|_0x3bec77>>>0x8)&0xff00ff00;}return _0x1397eb;},'clone':function(){var _0x544588=_0x283c28,_0x5f2741=_0x50cc79[_0x544588(0x4d7)][_0x544588(0x4ea)](this);return _0x5f2741[_0x544588(0x2c3)]=this[_0x544588(0x2c3)][_0x544588(0x4d7)](),_0x5f2741;}});function _0x431306(_0x2bd34,_0x3f0dfc,_0x1538ea,_0x514d3f,_0x13134b,_0x5d94fd,_0x5c03b9){var _0x3735e6=_0x2bd34+(_0x3f0dfc&_0x1538ea|~_0x3f0dfc&_0x514d3f)+_0x13134b+_0x5c03b9;return(_0x3735e6<<_0x5d94fd|_0x3735e6>>>0x20-_0x5d94fd)+_0x3f0dfc;}function _0x3cd8a7(_0xa8440d,_0x45707d,_0x245666,_0x1b6e84,_0x5d7112,_0x4d3ba0,_0x71d255){var _0x20e00c=_0xa8440d+(_0x45707d&_0x1b6e84|_0x245666&~_0x1b6e84)+_0x5d7112+_0x71d255;return(_0x20e00c<<_0x4d3ba0|_0x20e00c>>>0x20-_0x4d3ba0)+_0x45707d;}function _0x2ee0e9(_0x4eaff2,_0x3082db,_0x4c63e1,_0x598ea9,_0x1a4dbf,_0xc16493,_0x594233){var _0x131b4c=_0x4eaff2+(_0x3082db^_0x4c63e1^_0x598ea9)+_0x1a4dbf+_0x594233;return(_0x131b4c<<_0xc16493|_0x131b4c>>>0x20-_0xc16493)+_0x3082db;}function _0x388f35(_0x32fbdc,_0xf1ff8a,_0x1973cd,_0x248632,_0x14703e,_0x1e12d3,_0x199187){var _0x11cbc3=_0x32fbdc+(_0x1973cd^(_0xf1ff8a|~_0x248632))+_0x14703e+_0x199187;return(_0x11cbc3<<_0x1e12d3|_0x11cbc3>>>0x20-_0x1e12d3)+_0xf1ff8a;}_0xf560d9[_0x283c28(0x2af)]=_0x50cc79[_0x283c28(0x310)](_0x29c470),_0xf560d9[_0x283c28(0x2a3)]=_0x50cc79['_createHmacHelper'](_0x29c470);}(Math),_0x1caf51[_0x42727e(0x2af)];}));}(_0x4cbf03)),_0x4cbf03[_0x24f4a2(0x246)];}var _0x2c1025={'exports':{}},_0x17b0e3={'exports':{}},_0x2d3698=_0x17b0e3[_0x6a139a(0x246)],_0x288092;function _0x15d7cb(){var _0x3d1d64=_0x6a139a;return _0x288092||(_0x288092=0x1,function(_0x5ae181,_0x3d135a){(function(_0x15d113,_0x342d7e){var _0x43aac2=_0x2e75;_0x5ae181[_0x43aac2(0x246)]=_0x342d7e(_0x5aa39e());}(_0x2d3698,function(_0x486910){return(function(){var _0x343f30=_0x2e75,_0x5e179f=_0x486910,_0xa47f96=_0x5e179f[_0x343f30(0x2e2)],_0x5abfcf=_0xa47f96[_0x343f30(0x465)],_0x579ce4=_0xa47f96[_0x343f30(0x2b4)],_0x3e4c74=_0x5e179f[_0x343f30(0x516)],_0x550b64=[],_0x5ce07e=_0x3e4c74[_0x343f30(0x2bb)]=_0x579ce4[_0x343f30(0x3ad)]({'_doReset':function(){var _0x321bd7=_0x343f30;this[_0x321bd7(0x2c3)]=new _0x5abfcf[(_0x321bd7(0x546))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x242e6a,_0x2dfe63){var _0x1d150e=_0x343f30;for(var _0x475ed0=this[_0x1d150e(0x2c3)][_0x1d150e(0x333)],_0x52c30a=_0x475ed0[0x0],_0x3896ab=_0x475ed0[0x1],_0x24390c=_0x475ed0[0x2],_0xb294d4=_0x475ed0[0x3],_0x8cb9bd=_0x475ed0[0x4],_0x5a4a8b=0x0;_0x5a4a8b<0x50;_0x5a4a8b++){if(_0x5a4a8b<0x10)_0x550b64[_0x5a4a8b]=_0x242e6a[_0x2dfe63+_0x5a4a8b]|0x0;else{var _0x5013a9=_0x550b64[_0x5a4a8b-0x3]^_0x550b64[_0x5a4a8b-0x8]^_0x550b64[_0x5a4a8b-0xe]^_0x550b64[_0x5a4a8b-0x10];_0x550b64[_0x5a4a8b]=_0x5013a9<<0x1|_0x5013a9>>>0x1f;}var _0x472ec4=(_0x52c30a<<0x5|_0x52c30a>>>0x1b)+_0x8cb9bd+_0x550b64[_0x5a4a8b];_0x5a4a8b<0x14?_0x472ec4+=(_0x3896ab&_0x24390c|~_0x3896ab&_0xb294d4)+0x5a827999:_0x5a4a8b<0x28?_0x472ec4+=(_0x3896ab^_0x24390c^_0xb294d4)+0x6ed9eba1:_0x5a4a8b<0x3c?_0x472ec4+=(_0x3896ab&_0x24390c|_0x3896ab&_0xb294d4|_0x24390c&_0xb294d4)-0x70e44324:_0x472ec4+=(_0x3896ab^_0x24390c^_0xb294d4)-0x359d3e2a,_0x8cb9bd=_0xb294d4,_0xb294d4=_0x24390c,_0x24390c=_0x3896ab<<0x1e|_0x3896ab>>>0x2,_0x3896ab=_0x52c30a,_0x52c30a=_0x472ec4;}_0x475ed0[0x0]=_0x475ed0[0x0]+_0x52c30a|0x0,_0x475ed0[0x1]=_0x475ed0[0x1]+_0x3896ab|0x0,_0x475ed0[0x2]=_0x475ed0[0x2]+_0x24390c|0x0,_0x475ed0[0x3]=_0x475ed0[0x3]+_0xb294d4|0x0,_0x475ed0[0x4]=_0x475ed0[0x4]+_0x8cb9bd|0x0;},'_doFinalize':function(){var _0x58b740=_0x343f30,_0x380638=this[_0x58b740(0x504)],_0x1e3116=_0x380638['words'],_0x531789=this[_0x58b740(0x243)]*0x8,_0x3a0ad9=_0x380638[_0x58b740(0x202)]*0x8;return _0x1e3116[_0x3a0ad9>>>0x5]|=0x80<<0x18-_0x3a0ad9%0x20,_0x1e3116[(_0x3a0ad9+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x531789/0x100000000),_0x1e3116[(_0x3a0ad9+0x40>>>0x9<<0x4)+0xf]=_0x531789,_0x380638[_0x58b740(0x202)]=_0x1e3116[_0x58b740(0x362)]*0x4,this[_0x58b740(0x2fa)](),this[_0x58b740(0x2c3)];},'clone':function(){var _0x322d62=_0x343f30,_0x4e769d=_0x579ce4[_0x322d62(0x4d7)]['call'](this);return _0x4e769d[_0x322d62(0x2c3)]=this['_hash'][_0x322d62(0x4d7)](),_0x4e769d;}});_0x5e179f['SHA1']=_0x579ce4['_createHelper'](_0x5ce07e),_0x5e179f['HmacSHA1']=_0x579ce4[_0x343f30(0x569)](_0x5ce07e);}()),_0x486910['SHA1'];}));}(_0x17b0e3)),_0x17b0e3[_0x3d1d64(0x246)];}var _0x5718be={'exports':{}},_0x994d62=_0x5718be['exports'],_0x4850ce;function _0x291050(){var _0x4833d1=_0x6a139a;return _0x4850ce||(_0x4850ce=0x1,function(_0xe015f6,_0x85ad64){(function(_0x485353,_0x14c33c){_0xe015f6['exports']=_0x14c33c(_0x5aa39e());}(_0x994d62,function(_0x38971e){(function(){var _0x4833de=_0x2e75,_0x108ff6=_0x38971e,_0x216251=_0x108ff6[_0x4833de(0x2e2)],_0x1ad647=_0x216251[_0x4833de(0x563)],_0x417a88=_0x108ff6[_0x4833de(0x27d)],_0x3366ea=_0x417a88[_0x4833de(0x2ba)],_0x29917c=_0x108ff6['algo'];_0x29917c[_0x4833de(0x484)]=_0x1ad647[_0x4833de(0x3ad)]({'init':function(_0x41b616,_0x4623c8){var _0x55fa67=_0x4833de;_0x41b616=this['_hasher']=new _0x41b616['init'](),typeof _0x4623c8==_0x55fa67(0x22b)&&(_0x4623c8=_0x3366ea[_0x55fa67(0x369)](_0x4623c8));var _0x343353=_0x41b616[_0x55fa67(0x293)],_0x27f5db=_0x343353*0x4;_0x4623c8['sigBytes']>_0x27f5db&&(_0x4623c8=_0x41b616['finalize'](_0x4623c8)),_0x4623c8[_0x55fa67(0x330)]();for(var _0x2f1243=this[_0x55fa67(0x2d8)]=_0x4623c8[_0x55fa67(0x4d7)](),_0x1d40d1=this[_0x55fa67(0x47e)]=_0x4623c8['clone'](),_0x1e1eb0=_0x2f1243[_0x55fa67(0x333)],_0x30952e=_0x1d40d1[_0x55fa67(0x333)],_0xd6d2f3=0x0;_0xd6d2f3<_0x343353;_0xd6d2f3++)_0x1e1eb0[_0xd6d2f3]^=0x5c5c5c5c,_0x30952e[_0xd6d2f3]^=0x36363636;_0x2f1243['sigBytes']=_0x1d40d1[_0x55fa67(0x202)]=_0x27f5db,this[_0x55fa67(0x4dd)]();},'reset':function(){var _0x195cae=_0x4833de,_0xfd54f3=this[_0x195cae(0x51f)];_0xfd54f3['reset'](),_0xfd54f3[_0x195cae(0x240)](this[_0x195cae(0x47e)]);},'update':function(_0x19c8c1){return this['_hasher']['update'](_0x19c8c1),this;},'finalize':function(_0x3e07f3){var _0x3d4e8d=_0x4833de,_0x5e7797=this[_0x3d4e8d(0x51f)],_0x206cff=_0x5e7797[_0x3d4e8d(0x514)](_0x3e07f3);_0x5e7797['reset']();var _0x527b7b=_0x5e7797['finalize'](this['_oKey'][_0x3d4e8d(0x4d7)]()[_0x3d4e8d(0x1f5)](_0x206cff));return _0x527b7b;}});}());}));}(_0x5718be)),_0x5718be[_0x4833d1(0x246)];}var _0x44e717=_0x2c1025['exports'],_0x298bf4;function _0x5d2971(){var _0x1c8f0b=_0x6a139a;return _0x298bf4||(_0x298bf4=0x1,function(_0x4ac7f8,_0xd1fbef){(function(_0x38ffdb,_0x8f7c70,_0x52c8a6){var _0x375b4e=_0x2e75;_0x4ac7f8[_0x375b4e(0x246)]=_0x8f7c70(_0x5aa39e(),_0x15d7cb(),_0x291050());}(_0x44e717,function(_0x4a9379){return(function(){var _0xe31ddb=_0x2e75,_0x4f3eb8=_0x4a9379,_0xe204a=_0x4f3eb8[_0xe31ddb(0x2e2)],_0x21b2f3=_0xe204a[_0xe31ddb(0x563)],_0x246260=_0xe204a[_0xe31ddb(0x465)],_0x33dd2c=_0x4f3eb8['algo'],_0x387eb5=_0x33dd2c[_0xe31ddb(0x2af)],_0x41cba5=_0x33dd2c[_0xe31ddb(0x3ae)]=_0x21b2f3[_0xe31ddb(0x3ad)]({'cfg':_0x21b2f3[_0xe31ddb(0x3ad)]({'keySize':0x80/0x20,'hasher':_0x387eb5,'iterations':0x1}),'init':function(_0x233d73){var _0x502ff5=_0xe31ddb;this[_0x502ff5(0x457)]=this[_0x502ff5(0x457)][_0x502ff5(0x3ad)](_0x233d73);},'compute':function(_0x1bbb9a,_0x453df0){var _0x3edcfa=_0xe31ddb;for(var _0x16382e,_0x212fb7=this['cfg'],_0x224a30=_0x212fb7[_0x3edcfa(0x274)][_0x3edcfa(0x550)](),_0x10765f=_0x246260[_0x3edcfa(0x550)](),_0x478fdb=_0x10765f[_0x3edcfa(0x333)],_0x5aaa05=_0x212fb7[_0x3edcfa(0x537)],_0x4db619=_0x212fb7[_0x3edcfa(0x248)];_0x478fdb['length']<_0x5aaa05;){_0x16382e&&_0x224a30[_0x3edcfa(0x240)](_0x16382e),_0x16382e=_0x224a30[_0x3edcfa(0x240)](_0x1bbb9a)[_0x3edcfa(0x514)](_0x453df0),_0x224a30[_0x3edcfa(0x4dd)]();for(var _0x536382=0x1;_0x536382<_0x4db619;_0x536382++)_0x16382e=_0x224a30[_0x3edcfa(0x514)](_0x16382e),_0x224a30[_0x3edcfa(0x4dd)]();_0x10765f[_0x3edcfa(0x1f5)](_0x16382e);}return _0x10765f[_0x3edcfa(0x202)]=_0x5aaa05*0x4,_0x10765f;}});_0x4f3eb8[_0xe31ddb(0x3ae)]=function(_0x501d94,_0x11d3b9,_0x447731){var _0x43aded=_0xe31ddb;return _0x41cba5['create'](_0x447731)[_0x43aded(0x544)](_0x501d94,_0x11d3b9);};}()),_0x4a9379['EvpKDF'];}));}(_0x2c1025)),_0x2c1025[_0x1c8f0b(0x246)];}var _0x320de0={'exports':{}},_0x5e5ad3=_0x320de0[_0x6a139a(0x246)],_0x233901;function _0x310a50(){return _0x233901||(_0x233901=0x1,function(_0x20d1bd,_0x33ef28){(function(_0x569e78,_0xd21fe7,_0x45e0d8){var _0x2490f9=_0x2e75;_0x20d1bd[_0x2490f9(0x246)]=_0xd21fe7(_0x5aa39e(),_0x5d2971());}(_0x5e5ad3,function(_0x3f5bef){var _0x11e194=_0x2e75;_0x3f5bef['lib'][_0x11e194(0x375)]||function(_0x2d1521){var _0x18724a=_0x11e194,_0x3a379c=_0x3f5bef,_0x2a94a7=_0x3a379c[_0x18724a(0x2e2)],_0x343d97=_0x2a94a7[_0x18724a(0x563)],_0x59ec85=_0x2a94a7[_0x18724a(0x465)],_0x3ad59f=_0x2a94a7[_0x18724a(0x57a)],_0x546abf=_0x3a379c[_0x18724a(0x27d)];_0x546abf[_0x18724a(0x2ba)];var _0x12f5bb=_0x546abf['Base64'],_0x371293=_0x3a379c['algo'],_0x722b34=_0x371293['EvpKDF'],_0x222391=_0x2a94a7[_0x18724a(0x375)]=_0x3ad59f[_0x18724a(0x3ad)]({'cfg':_0x343d97[_0x18724a(0x3ad)](),'createEncryptor':function(_0x379d2a,_0x3fcc13){var _0x26cac6=_0x18724a;return this['create'](this[_0x26cac6(0x2b7)],_0x379d2a,_0x3fcc13);},'createDecryptor':function(_0x48bd82,_0x4ea477){var _0x10fd52=_0x18724a;return this['create'](this[_0x10fd52(0x2fd)],_0x48bd82,_0x4ea477);},'init':function(_0x2c4acb,_0x45a55f,_0xdec55){var _0x2efc85=_0x18724a;this[_0x2efc85(0x457)]=this[_0x2efc85(0x457)][_0x2efc85(0x3ad)](_0xdec55),this[_0x2efc85(0x4aa)]=_0x2c4acb,this['_key']=_0x45a55f,this[_0x2efc85(0x4dd)]();},'reset':function(){var _0x4de456=_0x18724a;_0x3ad59f[_0x4de456(0x4dd)][_0x4de456(0x4ea)](this),this[_0x4de456(0x3f9)]();},'process':function(_0x862d67){var _0x4c6467=_0x18724a;return this[_0x4c6467(0x3cc)](_0x862d67),this[_0x4c6467(0x2fa)]();},'finalize':function(_0x27a7a6){var _0x1d5658=_0x18724a;_0x27a7a6&&this[_0x1d5658(0x3cc)](_0x27a7a6);var _0x2904db=this['_doFinalize']();return _0x2904db;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x223a4a(_0xec8fa8){return typeof _0xec8fa8=='string'?_0x1d1693:_0x15ea08;}return function(_0x2d7a66){return{'encrypt':function(_0x338f14,_0x5f6e81,_0x27a826){var _0x5de1fb=_0x2e75;return _0x223a4a(_0x5f6e81)[_0x5de1fb(0x2f6)](_0x2d7a66,_0x338f14,_0x5f6e81,_0x27a826);},'decrypt':function(_0x5121d3,_0x486ce9,_0x45accd){var _0x4707fc=_0x2e75;return _0x223a4a(_0x486ce9)[_0x4707fc(0x301)](_0x2d7a66,_0x5121d3,_0x486ce9,_0x45accd);}};};}())});_0x2a94a7[_0x18724a(0x326)]=_0x222391[_0x18724a(0x3ad)]({'_doFinalize':function(){var _0x3a4310=this['_process'](!0x0);return _0x3a4310;},'blockSize':0x1});var _0x1a0c7c=_0x3a379c[_0x18724a(0x348)]={},_0x27f750=_0x2a94a7[_0x18724a(0x501)]=_0x343d97[_0x18724a(0x3ad)]({'createEncryptor':function(_0x12a1ab,_0x465916){var _0x189dfa=_0x18724a;return this[_0x189dfa(0x48f)][_0x189dfa(0x550)](_0x12a1ab,_0x465916);},'createDecryptor':function(_0xf45b25,_0x57f6d2){var _0x4a8039=_0x18724a;return this[_0x4a8039(0x2dd)][_0x4a8039(0x550)](_0xf45b25,_0x57f6d2);},'init':function(_0x2dbbe4,_0x2c48e6){var _0x114d9e=_0x18724a;this[_0x114d9e(0x365)]=_0x2dbbe4,this['_iv']=_0x2c48e6;}}),_0x4d04b0=_0x1a0c7c[_0x18724a(0x4b6)]=(function(){var _0x4faa5e=_0x27f750['extend']();_0x4faa5e['Encryptor']=_0x4faa5e['extend']({'processBlock':function(_0x3860a9,_0x58e639){var _0x39a874=_0x2e75,_0x530d9e=this[_0x39a874(0x365)],_0x2526ef=_0x530d9e[_0x39a874(0x293)];_0x335f45['call'](this,_0x3860a9,_0x58e639,_0x2526ef),_0x530d9e['encryptBlock'](_0x3860a9,_0x58e639),this[_0x39a874(0x269)]=_0x3860a9[_0x39a874(0x485)](_0x58e639,_0x58e639+_0x2526ef);}}),_0x4faa5e['Decryptor']=_0x4faa5e['extend']({'processBlock':function(_0x146799,_0x244cba){var _0x4d9bdd=_0x2e75,_0x556091=this[_0x4d9bdd(0x365)],_0xa488d3=_0x556091[_0x4d9bdd(0x293)],_0x1749ea=_0x146799[_0x4d9bdd(0x485)](_0x244cba,_0x244cba+_0xa488d3);_0x556091['decryptBlock'](_0x146799,_0x244cba),_0x335f45[_0x4d9bdd(0x4ea)](this,_0x146799,_0x244cba,_0xa488d3),this[_0x4d9bdd(0x269)]=_0x1749ea;}});function _0x335f45(_0x4ce96e,_0x1e8ef3,_0x5cd50f){var _0x8a5568=_0x2e75,_0x3187bf,_0x105359=this['_iv'];_0x105359?(_0x3187bf=_0x105359,this[_0x8a5568(0x3c4)]=_0x2d1521):_0x3187bf=this[_0x8a5568(0x269)];for(var _0x3999f4=0x0;_0x3999f4<_0x5cd50f;_0x3999f4++)_0x4ce96e[_0x1e8ef3+_0x3999f4]^=_0x3187bf[_0x3999f4];}return _0x4faa5e;}()),_0x3c9630=_0x3a379c[_0x18724a(0x24f)]={},_0x366a23=_0x3c9630[_0x18724a(0x21e)]={'pad':function(_0xc97432,_0x45ac42){var _0x48abc1=_0x18724a;for(var _0x5a3bd3=_0x45ac42*0x4,_0x1345b3=_0x5a3bd3-_0xc97432[_0x48abc1(0x202)]%_0x5a3bd3,_0x12d2c8=_0x1345b3<<0x18|_0x1345b3<<0x10|_0x1345b3<<0x8|_0x1345b3,_0xbafd78=[],_0x146326=0x0;_0x146326<_0x1345b3;_0x146326+=0x4)_0xbafd78[_0x48abc1(0x48d)](_0x12d2c8);var _0x3c31a3=_0x59ec85[_0x48abc1(0x550)](_0xbafd78,_0x1345b3);_0xc97432['concat'](_0x3c31a3);},'unpad':function(_0x496c28){var _0x2b5bc3=_0x18724a,_0x39edee=_0x496c28[_0x2b5bc3(0x333)][_0x496c28[_0x2b5bc3(0x202)]-0x1>>>0x2]&0xff;_0x496c28['sigBytes']-=_0x39edee;}};_0x2a94a7['BlockCipher']=_0x222391[_0x18724a(0x3ad)]({'cfg':_0x222391['cfg'][_0x18724a(0x3ad)]({'mode':_0x4d04b0,'padding':_0x366a23}),'reset':function(){var _0x4ac89b=_0x18724a,_0xbf6998;_0x222391[_0x4ac89b(0x4dd)][_0x4ac89b(0x4ea)](this);var _0xae44f=this['cfg'],_0x29fa64=_0xae44f['iv'],_0x1092eb=_0xae44f['mode'];this[_0x4ac89b(0x4aa)]==this[_0x4ac89b(0x2b7)]?_0xbf6998=_0x1092eb['createEncryptor']:(_0xbf6998=_0x1092eb[_0x4ac89b(0x3bb)],this[_0x4ac89b(0x393)]=0x1),this['_mode']&&this[_0x4ac89b(0x2d6)][_0x4ac89b(0x3e2)]==_0xbf6998?this[_0x4ac89b(0x2d6)]['init'](this,_0x29fa64&&_0x29fa64['words']):(this[_0x4ac89b(0x2d6)]=_0xbf6998['call'](_0x1092eb,this,_0x29fa64&&_0x29fa64['words']),this[_0x4ac89b(0x2d6)][_0x4ac89b(0x3e2)]=_0xbf6998);},'_doProcessBlock':function(_0x2ab8be,_0x627138){var _0x5645da=_0x18724a;this['_mode'][_0x5645da(0x4f0)](_0x2ab8be,_0x627138);},'_doFinalize':function(){var _0x163c10=_0x18724a,_0x163edb,_0x52e452=this['cfg'][_0x163c10(0x211)];return this['_xformMode']==this[_0x163c10(0x2b7)]?(_0x52e452[_0x163c10(0x24f)](this[_0x163c10(0x504)],this['blockSize']),_0x163edb=this[_0x163c10(0x2fa)](!0x0)):(_0x163edb=this[_0x163c10(0x2fa)](!0x0),_0x52e452[_0x163c10(0x3e9)](_0x163edb)),_0x163edb;},'blockSize':0x80/0x20});var _0x51d1da=_0x2a94a7[_0x18724a(0x31d)]=_0x343d97['extend']({'init':function(_0x225670){var _0x408601=_0x18724a;this[_0x408601(0x554)](_0x225670);},'toString':function(_0x4fffec){var _0x5a0e2b=_0x18724a;return(_0x4fffec||this[_0x5a0e2b(0x46b)])[_0x5a0e2b(0x25b)](this);}}),_0xdefdf3=_0x3a379c[_0x18724a(0x2bc)]={},_0xb1bb71=_0xdefdf3[_0x18724a(0x3dc)]={'stringify':function(_0x14eb4e){var _0x5b4270=_0x18724a,_0x4cbd71,_0x409024=_0x14eb4e[_0x5b4270(0x494)],_0x593982=_0x14eb4e[_0x5b4270(0x53d)];return _0x593982?_0x4cbd71=_0x59ec85[_0x5b4270(0x550)]([0x53616c74,0x65645f5f])[_0x5b4270(0x1f5)](_0x593982)[_0x5b4270(0x1f5)](_0x409024):_0x4cbd71=_0x409024,_0x4cbd71[_0x5b4270(0x254)](_0x12f5bb);},'parse':function(_0x4d9e24){var _0x1155cf=_0x18724a,_0x56adb4,_0x227496=_0x12f5bb[_0x1155cf(0x369)](_0x4d9e24),_0x2b5d03=_0x227496[_0x1155cf(0x333)];return _0x2b5d03[0x0]==0x53616c74&&_0x2b5d03[0x1]==0x65645f5f&&(_0x56adb4=_0x59ec85[_0x1155cf(0x550)](_0x2b5d03['slice'](0x2,0x4)),_0x2b5d03[_0x1155cf(0x2b8)](0x0,0x4),_0x227496[_0x1155cf(0x202)]-=0x10),_0x51d1da[_0x1155cf(0x550)]({'ciphertext':_0x227496,'salt':_0x56adb4});}},_0x15ea08=_0x2a94a7[_0x18724a(0x434)]=_0x343d97['extend']({'cfg':_0x343d97[_0x18724a(0x3ad)]({'format':_0xb1bb71}),'encrypt':function(_0x468890,_0x1d8d7d,_0x417138,_0x4b5d04){var _0x5b1516=_0x18724a;_0x4b5d04=this[_0x5b1516(0x457)]['extend'](_0x4b5d04);var _0x3e5d4a=_0x468890['createEncryptor'](_0x417138,_0x4b5d04),_0x5d0414=_0x3e5d4a['finalize'](_0x1d8d7d),_0x373dd6=_0x3e5d4a[_0x5b1516(0x457)];return _0x51d1da['create']({'ciphertext':_0x5d0414,'key':_0x417138,'iv':_0x373dd6['iv'],'algorithm':_0x468890,'mode':_0x373dd6[_0x5b1516(0x348)],'padding':_0x373dd6[_0x5b1516(0x211)],'blockSize':_0x468890[_0x5b1516(0x293)],'formatter':_0x4b5d04[_0x5b1516(0x2bc)]});},'decrypt':function(_0x17acf2,_0x4552ab,_0x45503a,_0x4ee0a3){var _0x1bbcf2=_0x18724a;_0x4ee0a3=this[_0x1bbcf2(0x457)][_0x1bbcf2(0x3ad)](_0x4ee0a3),_0x4552ab=this[_0x1bbcf2(0x540)](_0x4552ab,_0x4ee0a3['format']);var _0x28dded=_0x17acf2[_0x1bbcf2(0x3bb)](_0x45503a,_0x4ee0a3)[_0x1bbcf2(0x514)](_0x4552ab['ciphertext']);return _0x28dded;},'_parse':function(_0x3d0374,_0x52035b){var _0x3e4fd2=_0x18724a;return typeof _0x3d0374==_0x3e4fd2(0x22b)?_0x52035b['parse'](_0x3d0374,this):_0x3d0374;}}),_0x2bc9c3=_0x3a379c[_0x18724a(0x469)]={},_0x3437d3=_0x2bc9c3[_0x18724a(0x3dc)]={'execute':function(_0x3a0cf6,_0x26e971,_0x4c0d8e,_0x5d20d6,_0x43e92e){var _0x2b83eb=_0x18724a;if(_0x5d20d6||(_0x5d20d6=_0x59ec85['random'](0x40/0x8)),_0x43e92e)var _0x30bfbe=_0x722b34[_0x2b83eb(0x550)]({'keySize':_0x26e971+_0x4c0d8e,'hasher':_0x43e92e})[_0x2b83eb(0x544)](_0x3a0cf6,_0x5d20d6);else var _0x30bfbe=_0x722b34['create']({'keySize':_0x26e971+_0x4c0d8e})['compute'](_0x3a0cf6,_0x5d20d6);var _0x386de4=_0x59ec85['create'](_0x30bfbe[_0x2b83eb(0x333)][_0x2b83eb(0x485)](_0x26e971),_0x4c0d8e*0x4);return _0x30bfbe[_0x2b83eb(0x202)]=_0x26e971*0x4,_0x51d1da[_0x2b83eb(0x550)]({'key':_0x30bfbe,'iv':_0x386de4,'salt':_0x5d20d6});}},_0x1d1693=_0x2a94a7[_0x18724a(0x3f1)]=_0x15ea08[_0x18724a(0x3ad)]({'cfg':_0x15ea08[_0x18724a(0x457)]['extend']({'kdf':_0x3437d3}),'encrypt':function(_0x20aa32,_0x5896e4,_0x2b736a,_0x1ea08d){var _0x5abadb=_0x18724a;_0x1ea08d=this[_0x5abadb(0x457)][_0x5abadb(0x3ad)](_0x1ea08d);var _0x56558d=_0x1ea08d['kdf'][_0x5abadb(0x319)](_0x2b736a,_0x20aa32[_0x5abadb(0x537)],_0x20aa32[_0x5abadb(0x43f)],_0x1ea08d[_0x5abadb(0x53d)],_0x1ea08d['hasher']);_0x1ea08d['iv']=_0x56558d['iv'];var _0x224264=_0x15ea08['encrypt']['call'](this,_0x20aa32,_0x5896e4,_0x56558d[_0x5abadb(0x58a)],_0x1ea08d);return _0x224264['mixIn'](_0x56558d),_0x224264;},'decrypt':function(_0x56e7c7,_0x381def,_0xf20fab,_0x4e2c5a){var _0x5cf435=_0x18724a;_0x4e2c5a=this[_0x5cf435(0x457)]['extend'](_0x4e2c5a),_0x381def=this[_0x5cf435(0x540)](_0x381def,_0x4e2c5a[_0x5cf435(0x2bc)]);var _0x13f68a=_0x4e2c5a['kdf'][_0x5cf435(0x319)](_0xf20fab,_0x56e7c7[_0x5cf435(0x537)],_0x56e7c7['ivSize'],_0x381def[_0x5cf435(0x53d)],_0x4e2c5a[_0x5cf435(0x274)]);_0x4e2c5a['iv']=_0x13f68a['iv'];var _0x3b3b47=_0x15ea08[_0x5cf435(0x301)]['call'](this,_0x56e7c7,_0x381def,_0x13f68a[_0x5cf435(0x58a)],_0x4e2c5a);return _0x3b3b47;}});}();}));}(_0x320de0)),_0x320de0['exports'];}var _0x32c3a3=_0x1b9b95[_0x6a139a(0x246)],_0xae6e3b;function _0x1c621c(){var _0x1f5ad3=_0x6a139a;return _0xae6e3b||(_0xae6e3b=0x1,function(_0x22cd37,_0x2d1eb3){(function(_0x4413f6,_0x4f18af,_0x82bfab){var _0x3e1de9=_0x2e75;_0x22cd37[_0x3e1de9(0x246)]=_0x4f18af(_0x5aa39e(),_0x3b04fb(),_0x57ae2a(),_0x5d2971(),_0x310a50());}(_0x32c3a3,function(_0x610720){var _0x31b1aa=_0x2e75;return(function(){var _0x23d553=_0x2e75,_0x4cf2c7=_0x610720,_0xce9c88=_0x4cf2c7[_0x23d553(0x2e2)],_0x2d9a73=_0xce9c88[_0x23d553(0x43c)],_0x361332=_0x4cf2c7[_0x23d553(0x516)],_0x36fee5=[],_0x6f1620=[],_0x27feae=[],_0x1f615f=[],_0x51299b=[],_0x1bb221=[],_0x8aad39=[],_0x3db25c=[],_0x209263=[],_0x3f3176=[];(function(){for(var _0x1c4e4d=[],_0x415fc3=0x0;_0x415fc3<0x100;_0x415fc3++)_0x415fc3<0x80?_0x1c4e4d[_0x415fc3]=_0x415fc3<<0x1:_0x1c4e4d[_0x415fc3]=_0x415fc3<<0x1^0x11b;for(var _0x2dc864=0x0,_0x21b03c=0x0,_0x415fc3=0x0;_0x415fc3<0x100;_0x415fc3++){var _0x2f9dee=_0x21b03c^_0x21b03c<<0x1^_0x21b03c<<0x2^_0x21b03c<<0x3^_0x21b03c<<0x4;_0x2f9dee=_0x2f9dee>>>0x8^_0x2f9dee&0xff^0x63,_0x36fee5[_0x2dc864]=_0x2f9dee,_0x6f1620[_0x2f9dee]=_0x2dc864;var _0x599825=_0x1c4e4d[_0x2dc864],_0x5dcf96=_0x1c4e4d[_0x599825],_0x28bc4d=_0x1c4e4d[_0x5dcf96],_0x51b5e7=_0x1c4e4d[_0x2f9dee]*0x101^_0x2f9dee*0x1010100;_0x27feae[_0x2dc864]=_0x51b5e7<<0x18|_0x51b5e7>>>0x8,_0x1f615f[_0x2dc864]=_0x51b5e7<<0x10|_0x51b5e7>>>0x10,_0x51299b[_0x2dc864]=_0x51b5e7<<0x8|_0x51b5e7>>>0x18,_0x1bb221[_0x2dc864]=_0x51b5e7;var _0x51b5e7=_0x28bc4d*0x1010101^_0x5dcf96*0x10001^_0x599825*0x101^_0x2dc864*0x1010100;_0x8aad39[_0x2f9dee]=_0x51b5e7<<0x18|_0x51b5e7>>>0x8,_0x3db25c[_0x2f9dee]=_0x51b5e7<<0x10|_0x51b5e7>>>0x10,_0x209263[_0x2f9dee]=_0x51b5e7<<0x8|_0x51b5e7>>>0x18,_0x3f3176[_0x2f9dee]=_0x51b5e7,_0x2dc864?(_0x2dc864=_0x599825^_0x1c4e4d[_0x1c4e4d[_0x1c4e4d[_0x28bc4d^_0x599825]]],_0x21b03c^=_0x1c4e4d[_0x1c4e4d[_0x21b03c]]):_0x2dc864=_0x21b03c=0x1;}}());var _0x3dadc6=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x45d52f=_0x361332[_0x23d553(0x503)]=_0x2d9a73[_0x23d553(0x3ad)]({'_doReset':function(){var _0x309c4d=_0x23d553,_0x498578;if(!(this[_0x309c4d(0x578)]&&this[_0x309c4d(0x4a2)]===this[_0x309c4d(0x342)])){for(var _0x1ee0e1=this[_0x309c4d(0x4a2)]=this['_key'],_0x5afc54=_0x1ee0e1[_0x309c4d(0x333)],_0x12fb09=_0x1ee0e1[_0x309c4d(0x202)]/0x4,_0xedc558=this[_0x309c4d(0x578)]=_0x12fb09+0x6,_0x83895f=(_0xedc558+0x1)*0x4,_0x50700c=this[_0x309c4d(0x4d6)]=[],_0x34970b=0x0;_0x34970b<_0x83895f;_0x34970b++)_0x34970b<_0x12fb09?_0x50700c[_0x34970b]=_0x5afc54[_0x34970b]:(_0x498578=_0x50700c[_0x34970b-0x1],_0x34970b%_0x12fb09?_0x12fb09>0x6&&_0x34970b%_0x12fb09==0x4&&(_0x498578=_0x36fee5[_0x498578>>>0x18]<<0x18|_0x36fee5[_0x498578>>>0x10&0xff]<<0x10|_0x36fee5[_0x498578>>>0x8&0xff]<<0x8|_0x36fee5[_0x498578&0xff]):(_0x498578=_0x498578<<0x8|_0x498578>>>0x18,_0x498578=_0x36fee5[_0x498578>>>0x18]<<0x18|_0x36fee5[_0x498578>>>0x10&0xff]<<0x10|_0x36fee5[_0x498578>>>0x8&0xff]<<0x8|_0x36fee5[_0x498578&0xff],_0x498578^=_0x3dadc6[_0x34970b/_0x12fb09|0x0]<<0x18),_0x50700c[_0x34970b]=_0x50700c[_0x34970b-_0x12fb09]^_0x498578);for(var _0x229c91=this[_0x309c4d(0x38b)]=[],_0xbcae5a=0x0;_0xbcae5a<_0x83895f;_0xbcae5a++){var _0x34970b=_0x83895f-_0xbcae5a;if(_0xbcae5a%0x4)var _0x498578=_0x50700c[_0x34970b];else var _0x498578=_0x50700c[_0x34970b-0x4];_0xbcae5a<0x4||_0x34970b<=0x4?_0x229c91[_0xbcae5a]=_0x498578:_0x229c91[_0xbcae5a]=_0x8aad39[_0x36fee5[_0x498578>>>0x18]]^_0x3db25c[_0x36fee5[_0x498578>>>0x10&0xff]]^_0x209263[_0x36fee5[_0x498578>>>0x8&0xff]]^_0x3f3176[_0x36fee5[_0x498578&0xff]];}}},'encryptBlock':function(_0x5d8d78,_0x46c8e5){var _0x37801c=_0x23d553;this[_0x37801c(0x36b)](_0x5d8d78,_0x46c8e5,this[_0x37801c(0x4d6)],_0x27feae,_0x1f615f,_0x51299b,_0x1bb221,_0x36fee5);},'decryptBlock':function(_0x1a643e,_0x52eb8f){var _0x3cdea2=_0x23d553,_0x2d952f=_0x1a643e[_0x52eb8f+0x1];_0x1a643e[_0x52eb8f+0x1]=_0x1a643e[_0x52eb8f+0x3],_0x1a643e[_0x52eb8f+0x3]=_0x2d952f,this[_0x3cdea2(0x36b)](_0x1a643e,_0x52eb8f,this[_0x3cdea2(0x38b)],_0x8aad39,_0x3db25c,_0x209263,_0x3f3176,_0x6f1620);var _0x2d952f=_0x1a643e[_0x52eb8f+0x1];_0x1a643e[_0x52eb8f+0x1]=_0x1a643e[_0x52eb8f+0x3],_0x1a643e[_0x52eb8f+0x3]=_0x2d952f;},'_doCryptBlock':function(_0x556784,_0x5102c0,_0x28bd34,_0x19e027,_0x264e90,_0x2b185b,_0x3455ef,_0x382f60){for(var _0x4ef56e=this['_nRounds'],_0x4a9929=_0x556784[_0x5102c0]^_0x28bd34[0x0],_0x5158e6=_0x556784[_0x5102c0+0x1]^_0x28bd34[0x1],_0x28decf=_0x556784[_0x5102c0+0x2]^_0x28bd34[0x2],_0x1e70fe=_0x556784[_0x5102c0+0x3]^_0x28bd34[0x3],_0x4bd216=0x4,_0x4eaa39=0x1;_0x4eaa39<_0x4ef56e;_0x4eaa39++){var _0xf5e44c=_0x19e027[_0x4a9929>>>0x18]^_0x264e90[_0x5158e6>>>0x10&0xff]^_0x2b185b[_0x28decf>>>0x8&0xff]^_0x3455ef[_0x1e70fe&0xff]^_0x28bd34[_0x4bd216++],_0xc88e41=_0x19e027[_0x5158e6>>>0x18]^_0x264e90[_0x28decf>>>0x10&0xff]^_0x2b185b[_0x1e70fe>>>0x8&0xff]^_0x3455ef[_0x4a9929&0xff]^_0x28bd34[_0x4bd216++],_0x393000=_0x19e027[_0x28decf>>>0x18]^_0x264e90[_0x1e70fe>>>0x10&0xff]^_0x2b185b[_0x4a9929>>>0x8&0xff]^_0x3455ef[_0x5158e6&0xff]^_0x28bd34[_0x4bd216++],_0x26ecbe=_0x19e027[_0x1e70fe>>>0x18]^_0x264e90[_0x4a9929>>>0x10&0xff]^_0x2b185b[_0x5158e6>>>0x8&0xff]^_0x3455ef[_0x28decf&0xff]^_0x28bd34[_0x4bd216++];_0x4a9929=_0xf5e44c,_0x5158e6=_0xc88e41,_0x28decf=_0x393000,_0x1e70fe=_0x26ecbe;}var _0xf5e44c=(_0x382f60[_0x4a9929>>>0x18]<<0x18|_0x382f60[_0x5158e6>>>0x10&0xff]<<0x10|_0x382f60[_0x28decf>>>0x8&0xff]<<0x8|_0x382f60[_0x1e70fe&0xff])^_0x28bd34[_0x4bd216++],_0xc88e41=(_0x382f60[_0x5158e6>>>0x18]<<0x18|_0x382f60[_0x28decf>>>0x10&0xff]<<0x10|_0x382f60[_0x1e70fe>>>0x8&0xff]<<0x8|_0x382f60[_0x4a9929&0xff])^_0x28bd34[_0x4bd216++],_0x393000=(_0x382f60[_0x28decf>>>0x18]<<0x18|_0x382f60[_0x1e70fe>>>0x10&0xff]<<0x10|_0x382f60[_0x4a9929>>>0x8&0xff]<<0x8|_0x382f60[_0x5158e6&0xff])^_0x28bd34[_0x4bd216++],_0x26ecbe=(_0x382f60[_0x1e70fe>>>0x18]<<0x18|_0x382f60[_0x4a9929>>>0x10&0xff]<<0x10|_0x382f60[_0x5158e6>>>0x8&0xff]<<0x8|_0x382f60[_0x28decf&0xff])^_0x28bd34[_0x4bd216++];_0x556784[_0x5102c0]=_0xf5e44c,_0x556784[_0x5102c0+0x1]=_0xc88e41,_0x556784[_0x5102c0+0x2]=_0x393000,_0x556784[_0x5102c0+0x3]=_0x26ecbe;},'keySize':0x100/0x20});_0x4cf2c7[_0x23d553(0x503)]=_0x2d9a73[_0x23d553(0x310)](_0x45d52f);}()),_0x610720[_0x31b1aa(0x503)];}));}(_0x1b9b95)),_0x1b9b95[_0x1f5ad3(0x246)];}var _0x52ef05=_0x1c621c();const _0x1de1f4=_0x6da8a2(_0x52ef05);var _0x195e35=_0x3b04fb();const _0x1c774e=_0x6da8a2(_0x195e35);var _0xba09eb={'exports':{}},_0xf1d93e=_0xba09eb[_0x6a139a(0x246)],_0x307b7e;function _0x1fda18(){var _0x9f2d62=_0x6a139a;return _0x307b7e||(_0x307b7e=0x1,function(_0x4051f4,_0x36f117){(function(_0x63fdbe,_0x12964a){var _0x1cf4d=_0x2e75;_0x4051f4[_0x1cf4d(0x246)]=_0x12964a(_0x5aa39e());}(_0xf1d93e,function(_0x40af07){var _0x90a36e=_0x2e75;return _0x40af07[_0x90a36e(0x27d)][_0x90a36e(0x2ba)];}));}(_0xba09eb)),_0xba09eb[_0x9f2d62(0x246)];}var _0x3a5ae5=_0x1fda18();const _0x5d9a5d=_0x6da8a2(_0x3a5ae5);var _0x4ade45={'exports':{}},_0x348315=_0x4ade45[_0x6a139a(0x246)],_0x4f437b;function _0x5e0fb9(){var _0x56c835=_0x6a139a;return _0x4f437b||(_0x4f437b=0x1,function(_0x1155f0,_0x5ec512){(function(_0x1efda6,_0x12c742){var _0x328a2e=_0x2e75;_0x1155f0[_0x328a2e(0x246)]=_0x12c742(_0x5aa39e());}(_0x348315,function(_0x4fb320){var _0x16b9cb=_0x2e75;return(function(){var _0x50a4ef=_0x2e75;if(typeof ArrayBuffer=='function'){var _0xf1aa2e=_0x4fb320,_0xc6b21d=_0xf1aa2e[_0x50a4ef(0x2e2)],_0x3cd0e9=_0xc6b21d['WordArray'],_0x3e8dc3=_0x3cd0e9[_0x50a4ef(0x546)],_0x10e9df=_0x3cd0e9['init']=function(_0xe4e1e1){var _0x3d3912=_0x50a4ef;if(_0xe4e1e1 instanceof ArrayBuffer&&(_0xe4e1e1=new Uint8Array(_0xe4e1e1)),(_0xe4e1e1 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xe4e1e1 instanceof Uint8ClampedArray||_0xe4e1e1 instanceof Int16Array||_0xe4e1e1 instanceof Uint16Array||_0xe4e1e1 instanceof Int32Array||_0xe4e1e1 instanceof Uint32Array||_0xe4e1e1 instanceof Float32Array||_0xe4e1e1 instanceof Float64Array)&&(_0xe4e1e1=new Uint8Array(_0xe4e1e1[_0x3d3912(0x28a)],_0xe4e1e1[_0x3d3912(0x54e)],_0xe4e1e1['byteLength'])),_0xe4e1e1 instanceof Uint8Array){for(var _0x4a4495=_0xe4e1e1[_0x3d3912(0x573)],_0x33ac92=[],_0x887719=0x0;_0x887719<_0x4a4495;_0x887719++)_0x33ac92[_0x887719>>>0x2]|=_0xe4e1e1[_0x887719]<<0x18-_0x887719%0x4*0x8;_0x3e8dc3[_0x3d3912(0x4ea)](this,_0x33ac92,_0x4a4495);}else _0x3e8dc3[_0x3d3912(0x289)](this,arguments);};_0x10e9df['prototype']=_0x3cd0e9;}}()),_0x4fb320[_0x16b9cb(0x2e2)][_0x16b9cb(0x465)];}));}(_0x4ade45)),_0x4ade45[_0x56c835(0x246)];}var _0x13d8a8=_0x5e0fb9();const _0x2512e5=_0x6da8a2(_0x13d8a8);var _0x167565={'exports':{}},_0x15631b=_0x167565[_0x6a139a(0x246)],_0x3bdd1d;function _0x12b6fc(){var _0x45d8c1=_0x6a139a;return _0x3bdd1d||(_0x3bdd1d=0x1,function(_0x1b6193,_0x92719e){(function(_0xc2b3fe,_0x1e0c84,_0x3ad2bf){var _0x5cd13e=_0x2e75;_0x1b6193[_0x5cd13e(0x246)]=_0x1e0c84(_0x5aa39e(),_0x310a50());}(_0x15631b,function(_0x4be9e6){var _0x273bfc=_0x2e75;return _0x4be9e6['pad'][_0x273bfc(0x2a1)]={'pad':function(){},'unpad':function(){}},_0x4be9e6[_0x273bfc(0x24f)][_0x273bfc(0x2a1)];}));}(_0x167565)),_0x167565[_0x45d8c1(0x246)];}var _0x16a64d=_0x12b6fc();const _0x38e9c2=_0x6da8a2(_0x16a64d);function _0x15c82c(_0x520f9b,_0x9ec83f){var _0xcb9686=_0x6a139a;const _0x5eb912=_0x9ec83f-_0x520f9b['length']%_0x9ec83f,_0x9f54a5=String[_0xcb9686(0x282)](_0x5eb912)[_0xcb9686(0x321)](_0x5eb912);return _0x520f9b+_0x9f54a5;}function _0x38e959(_0x4cdbe2,_0x1c4ed6){var _0x5e18ee=_0x6a139a;const _0x1856c1=_0x2512e5[_0x5e18ee(0x396)](0x10),_0x248ec1=_0x15c82c(_0x4cdbe2,0x10),_0x3ef906=_0x1de1f4[_0x5e18ee(0x2f6)](_0x5d9a5d[_0x5e18ee(0x369)](_0x248ec1),_0x1c774e['parse'](_0x1c4ed6),{'iv':_0x1856c1,'padding':_0x38e9c2});return _0x1856c1[_0x5e18ee(0x1f5)](_0x3ef906[_0x5e18ee(0x494)])[_0x5e18ee(0x254)](_0x1c774e);}function _0x512b40(){var _0x493657=_0x6a139a;const _0x3dcd81=_0xea945e['getGlobalObject']()[_0x493657(0x571)];if(_0x3dcd81){const _0x42ed18={'time':Math[_0x493657(0x2f5)](Date[_0x493657(0x3fe)]()/0x3e8),'domain':location[_0x493657(0x3b7)]};return _0x38e959(JSON['stringify'](_0x42ed18),_0x3dcd81);}}var _0x39a666=Object['getOwnPropertyDescriptor'],_0x4550e5=(_0x384eab,_0x547325,_0x28f1d2,_0x55324a)=>{var _0x426dab=_0x6a139a;for(var _0xe8d4f5=_0x55324a>0x1?void 0x0:_0x55324a?_0x39a666(_0x547325,_0x28f1d2):_0x547325,_0x56263a=_0x384eab[_0x426dab(0x362)]-0x1,_0x62179a;_0x56263a>=0x0;_0x56263a--)(_0x62179a=_0x384eab[_0x56263a])&&(_0xe8d4f5=_0x62179a(_0xe8d4f5)||_0xe8d4f5);return _0xe8d4f5;},_0x20ba5a=(_0x484d1e,_0x42bbba)=>(_0x5d84f6,_0x520108)=>_0x42bbba(_0x5d84f6,_0x520108,_0x484d1e);let _0x459000=class{constructor(_0x5136fc){var _0x2195e5=_0x6a139a;this['_httpService']=_0x5136fc,this[_0x2195e5(0x3ea)]();}[_0x6a139a(0x3ea)](){var _0x348cb4=_0x6a139a;this['_httpService'][_0x348cb4(0x4c3)]({'interceptor':(_0x3d8fb6,_0x509b60)=>{var _0x16d415=_0x348cb4;const _0x26e1c7=_0x3d8fb6[_0x16d415(0x3cb)],_0x3b6cff=_0x512b40();return _0x3b6cff&&_0x26e1c7[_0x16d415(0x539)](_0x16d415(0x4fc),_0x3b6cff),_0x509b60(_0x3d8fb6);}});}};_0x459000=_0x4550e5([_0x20ba5a(0x0,_0x3f544a['Inject'](_0x334605[_0x6a139a(0x2f1)]))],_0x459000);var _0x9f6722=Object[_0x6a139a(0x4ed)],_0x2168ff=(_0x5dfa23,_0x48e58c,_0x49ed44,_0x2af69e)=>{var _0x5d85d2=_0x6a139a;for(var _0x264ab5=_0x2af69e>0x1?void 0x0:_0x2af69e?_0x9f6722(_0x48e58c,_0x49ed44):_0x48e58c,_0x2a11dc=_0x5dfa23[_0x5d85d2(0x362)]-0x1,_0x530783;_0x2a11dc>=0x0;_0x2a11dc--)(_0x530783=_0x5dfa23[_0x2a11dc])&&(_0x264ab5=_0x530783(_0x264ab5)||_0x264ab5);return _0x264ab5;},_0x28378e=(_0xce039a,_0x488c03)=>(_0xd3382a,_0xc460ad)=>_0x488c03(_0xd3382a,_0xc460ad,_0xce039a);_0x4ac6e3['DataLoaderService']=class extends _0x3f544a[_0x6a139a(0x3c8)]{constructor(_0x2b9a2f,_0x42d217,_0x2f410c){var _0x498ed9=_0x6a139a;super(),_0x4df247(this,'_unitInfo$',new _0x335b5e[(_0x498ed9(0x3b3))](null)),_0x4df247(this,_0x498ed9(0x4b2),this['_unitInfo$'][_0x498ed9(0x39e)]()),(this['_logService']=_0x2b9a2f,this[_0x498ed9(0x56c)]=_0x42d217,this[_0x498ed9(0x286)]=_0x2f410c);}async[_0x6a139a(0x4e3)](_0x98c3b8,_0x224fa1,_0x16268e){var _0xa87cde=_0x6a139a;this[_0xa87cde(0x421)][_0xa87cde(0x475)]({'unitId':_0x98c3b8,'type':_0x224fa1,'subUnitId':_0x16268e});let _0x359f1d=null;switch(_0x224fa1){case _0x51429f[_0xa87cde(0x41e)]:{_0x359f1d=await this[_0xa87cde(0x463)](_0x98c3b8);break;}case _0x51429f[_0xa87cde(0x4dc)]:{_0x359f1d=await this[_0xa87cde(0x4a8)](_0x98c3b8);break;}default:{this[_0xa87cde(0x576)][_0xa87cde(0x300)](_0xa87cde(0x3c6),_0xa87cde(0x234));break;}}return _0x359f1d;}async[_0x6a139a(0x463)](_0x125eff){var _0x22787f=_0x6a139a,_0x11be6f;let _0x2e8994=0x0;const _0xfa7ae0=await((_0x11be6f=this[_0x22787f(0x286)])==null?void 0x0:_0x11be6f[_0x22787f(0x51d)](_0x125eff));return _0xfa7ae0&&(_0xfa7ae0[_0x22787f(0x2ce)]||_0xfa7ae0[_0x22787f(0x2a7)]['length']!==0x0)&&(_0x2e8994=_0xfa7ae0[_0x22787f(0x214)]),_0x2e8994===0x0&&this[_0x22787f(0x576)][_0x22787f(0x495)](_0x22787f(0x3c6),_0x22787f(0x283)),this[_0x22787f(0x56c)][_0x22787f(0x446)](_0x125eff,_0x2e8994);}async[_0x6a139a(0x4a8)](_0x8ff868){var _0x499f63=_0x6a139a,_0x2e86dd;let _0x36f7b9=0x0;const _0x17aaa8=await((_0x2e86dd=this[_0x499f63(0x286)])==null?void 0x0:_0x2e86dd[_0x499f63(0x51d)](_0x8ff868));return _0x17aaa8&&(_0x17aaa8[_0x499f63(0x2ce)]||_0x17aaa8[_0x499f63(0x2a7)][_0x499f63(0x362)]!==0x0)&&(_0x36f7b9=_0x17aaa8[_0x499f63(0x214)]),_0x36f7b9===0x0&&this['_logService'][_0x499f63(0x495)](_0x499f63(0x3c6),_0x499f63(0x283)),this['_snapshotService'][_0x499f63(0x4cd)](_0x8ff868,_0x36f7b9);}},_0x4ac6e3[_0x6a139a(0x37c)]=_0x2168ff([_0x28378e(0x0,_0x3f544a['ILogService']),_0x28378e(0x1,_0x3f544a[_0x6a139a(0x511)](_0x339060[_0x6a139a(0x24d)])),_0x28378e(0x2,_0x3f544a[_0x6a139a(0x462)](_0x1f774f))],_0x4ac6e3[_0x6a139a(0x37c)]);var _0x24d3ef=Object['getOwnPropertyDescriptor'],_0x498351=(_0x45066b,_0x31ddc0,_0xf1ba4,_0x5dbd2b)=>{var _0x57cec4=_0x6a139a;for(var _0x3751c5=_0x5dbd2b>0x1?void 0x0:_0x5dbd2b?_0x24d3ef(_0x31ddc0,_0xf1ba4):_0x31ddc0,_0x5ca2c2=_0x45066b[_0x57cec4(0x362)]-0x1,_0x13a210;_0x5ca2c2>=0x0;_0x5ca2c2--)(_0x13a210=_0x45066b[_0x5ca2c2])&&(_0x3751c5=_0x13a210(_0x3751c5)||_0x3751c5);return _0x3751c5;},_0x34310d=(_0x3829c4,_0x10278b)=>(_0x24bf44,_0x285fd8)=>_0x10278b(_0x24bf44,_0x285fd8,_0x3829c4);const _0x188bda=[_0x6a139a(0x32d),_0x6a139a(0x4c6),'image/jpg','image/gif',_0x6a139a(0x559)],_0x62e711=0x5*0x400*0x400,_0x49b48f='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',_0xea97dc=_0x6a139a(0x483),_0x3986d6=_0x6a139a(0x227),_0x469293='/universer-api/file/{fileID}/sign-url';_0x4ac6e3[_0x6a139a(0x54c)]=class{constructor(_0x16b0f6,_0x5af370,_0x4cb638){var _0x4d4cda=_0x6a139a;_0x4df247(this,_0x4d4cda(0x2f7),0x0),_0x4df247(this,_0x4d4cda(0x2f3),new _0x335b5e[(_0x4d4cda(0x247))]()),_0x4df247(this,_0x4d4cda(0x2d7),this[_0x4d4cda(0x2f3)]),_0x4df247(this,_0x4d4cda(0x424),new Map()),(this[_0x4d4cda(0x39a)]=_0x16b0f6,this['_configService']=_0x5af370,this[_0x4d4cda(0x57b)]=_0x4cb638);}[_0x6a139a(0x2df)](_0x4e54d9){var _0x177d67=_0x6a139a;this[_0x177d67(0x2f7)]=_0x4e54d9,this['_change$']['next'](_0x4e54d9);}[_0x6a139a(0x498)](_0x1bc989,_0x45833c){var _0x4d0ee6=_0x6a139a;if(_0x45833c===_0x1ad106[_0x4d0ee6(0x284)][_0x4d0ee6(0x233)]){const _0x39c444=new Image();return _0x39c444[_0x4d0ee6(0x4ac)]=_0x1bc989,_0x39c444;}return this[_0x4d0ee6(0x424)][_0x4d0ee6(0x561)](_0x1bc989);}['addImageSourceCache'](_0x86da6d,_0x16e8a7,_0x1ceaaf){var _0x4e65cd=_0x6a139a;_0x16e8a7===_0x1ad106[_0x4e65cd(0x284)][_0x4e65cd(0x233)]||_0x1ceaaf==null||this[_0x4e65cd(0x424)][_0x4e65cd(0x539)](_0x86da6d,_0x1ceaaf);}async[_0x6a139a(0x28c)](_0x3a343e){var _0x3a8f75=_0x6a139a;try{const _0x333f46=this[_0x3a8f75(0x3c0)](this[_0x3a8f75(0x311)](),''+_0x3a343e),_0x31c7f1=(await this[_0x3a8f75(0x39a)][_0x3a8f75(0x561)](_0x333f46))['body'];if(_0x31c7f1[_0x3a8f75(0x300)]&&_0x31c7f1['error'][_0x3a8f75(0x4ce)]===_0x148256['OK']){const _0x413653=new URL(_0x31c7f1[_0x3a8f75(0x2c1)],this[_0x3a8f75(0x3e6)]())[_0x3a8f75(0x254)]();return Promise['resolve'](_0x413653);}return Promise[_0x3a8f75(0x34c)](_0x31c7f1['error']);}catch(_0x2abd3f){return Promise[_0x3a8f75(0x34c)](_0x2abd3f);}}async['saveImage'](_0x2e652a){var _0x27d83d=_0x6a139a;let _0xc7de2f='';if(!_0x188bda[_0x27d83d(0x235)](_0x2e652a[_0x27d83d(0x2d5)]))return this[_0x27d83d(0x398)](),Promise[_0x27d83d(0x34c)](new Error(_0x1ad106[_0x27d83d(0x324)][_0x27d83d(0x4e7)]));if(_0x2e652a['size']>_0x62e711)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x1ad106['ImageUploadStatusType'][_0x27d83d(0x346)]));try{const _0x4bd221=new FormData();_0x4bd221['append'](_0x27d83d(0x445),_0x2e652a);const _0x45dfb7=this[_0x27d83d(0x57b)]['getFocusedUnit'](),_0x4fe4dd=_0x45dfb7==null?void 0x0:_0x45dfb7[_0x27d83d(0x581)]();if(!_0x4fe4dd)throw new Error(_0x27d83d(0x48b));const _0x41b4e9=this[_0x27d83d(0x2c6)]()+_0x27d83d(0x437)+_0x2e652a[_0x27d83d(0x3de)]['toString']()+_0x27d83d(0x231)+_0x4545a8[_0x27d83d(0x46f)]+_0x27d83d(0x224)+encodeURIComponent(_0x4fe4dd),_0x48b794=await(await fetch(_0x41b4e9,{'method':_0x27d83d(0x4da),'body':_0x4bd221}))['json']();if(typeof _0x48b794['FileId']!=_0x27d83d(0x22b))return this[_0x27d83d(0x398)](),Promise[_0x27d83d(0x34c)](new Error(_0x1ad106[_0x27d83d(0x324)][_0x27d83d(0x3d5)]));_0xc7de2f=_0x48b794[_0x27d83d(0x2cb)];}catch{return this[_0x27d83d(0x398)](),Promise['reject'](new Error(_0x1ad106[_0x27d83d(0x324)][_0x27d83d(0x3d5)]));}return new Promise((_0x42e2ea,_0x16bdaa)=>{var _0x3cc32c=_0x27d83d;const _0x53bf51=new FileReader();_0x53bf51[_0x3cc32c(0x4d8)](_0x2e652a),_0x53bf51[_0x3cc32c(0x565)]=_0xc4eff6=>{var _0x51c3f7=_0x3cc32c,_0x3c56d7;const _0x4b6bdc=(_0x3c56d7=_0xc4eff6['target'])==null?void 0x0:_0x3c56d7[_0x51c3f7(0x4ab)];if(_0x4b6bdc==null){this[_0x51c3f7(0x398)](),_0x16bdaa(new Error(_0x1ad106[_0x51c3f7(0x324)][_0x51c3f7(0x3d5)]));return;}const _0x470c62=_0x3f544a[_0x51c3f7(0x372)][_0x51c3f7(0x4a0)](0x6);_0x42e2ea({'imageId':_0x470c62,'imageSourceType':_0x1ad106['ImageSourceType'][_0x51c3f7(0x354)],'source':_0xc7de2f,'base64Cache':_0x4b6bdc,'status':_0x1ad106[_0x51c3f7(0x324)][_0x51c3f7(0x528)]}),this[_0x51c3f7(0x398)]();};});}[_0x6a139a(0x2c6)](){var _0x24c063=_0x6a139a,_0x18b46f,_0x4af642;const _0x571fbb=this[_0x24c063(0x476)][_0x24c063(0x48e)](_0x49b48f),_0x121c42=this[_0x24c063(0x476)][_0x24c063(0x48e)](_0x1a45c3);return(_0x4af642=(_0x18b46f=_0x121c42==null?void 0x0:_0x121c42[_0x24c063(0x538)])!=null?_0x18b46f:_0x571fbb)!=null?_0x4af642:_0xea97dc;}[_0x6a139a(0x311)](){var _0x2a6b12=_0x6a139a,_0x454a8f,_0x57db18;const _0x8dd2c7=this[_0x2a6b12(0x476)][_0x2a6b12(0x48e)](_0x3986d6),_0x5db44f=this['_configService'][_0x2a6b12(0x48e)](_0x1a45c3);return(_0x57db18=(_0x454a8f=_0x5db44f==null?void 0x0:_0x5db44f[_0x2a6b12(0x30f)])!=null?_0x454a8f:_0x8dd2c7)!=null?_0x57db18:_0x469293;}[_0x6a139a(0x3e6)](){var _0x5bb6cd=_0x6a139a,_0x52fd19;const _0x4efaf5=this[_0x5bb6cd(0x476)]['getConfig'](_0x1a45c3);return(_0x52fd19=_0x4efaf5==null?void 0x0:_0x4efaf5[_0x5bb6cd(0x39d)])!=null?_0x52fd19:location[_0x5bb6cd(0x328)];}[_0x6a139a(0x3c0)](_0x2257c1,_0x1eb2ba){var _0x7d379c=_0x6a139a;return _0x2257c1['replace'](_0x7d379c(0x50a),_0x1eb2ba);}[_0x6a139a(0x398)](){var _0x10b29e=_0x6a139a;this[_0x10b29e(0x2f7)]-=0x1,this[_0x10b29e(0x2f3)][_0x10b29e(0x475)](this[_0x10b29e(0x2f7)]);}},_0x4ac6e3[_0x6a139a(0x54c)]=_0x498351([_0x34310d(0x0,_0x3f544a['Inject'](_0x334605[_0x6a139a(0x2f1)])),_0x34310d(0x1,_0x3f544a[_0x6a139a(0x359)]),_0x34310d(0x2,_0x3f544a[_0x6a139a(0x511)](_0x3f544a[_0x6a139a(0x316)]))],_0x4ac6e3[_0x6a139a(0x54c)]);var _0x47fd01=Object[_0x6a139a(0x4ed)],_0xc46791=(_0x418459,_0x4311e2,_0x48e8dd,_0xdb96d2)=>{var _0x1e1e9f=_0x6a139a;for(var _0x45d5f7=_0xdb96d2>0x1?void 0x0:_0xdb96d2?_0x47fd01(_0x4311e2,_0x48e8dd):_0x4311e2,_0x338460=_0x418459[_0x1e1e9f(0x362)]-0x1,_0x260f74;_0x338460>=0x0;_0x338460--)(_0x260f74=_0x418459[_0x338460])&&(_0x45d5f7=_0x260f74(_0x45d5f7)||_0x45d5f7);return _0x45d5f7;},_0x3fa42d=(_0x292ce9,_0x5ec494)=>(_0xb11f2a,_0x1f16e5)=>_0x5ec494(_0xb11f2a,_0x1f16e5,_0x292ce9);const _0x3a1905=_0x6a139a(0x55c);_0x4ac6e3[_0x6a139a(0x4f8)]=class{constructor(_0x553802,_0x5c6d25){var _0x22c6c7=_0x6a139a;this['_configService']=_0x553802,this[_0x22c6c7(0x4f1)]=_0x5c6d25;}[_0x6a139a(0x33b)](){var _0x45c027=_0x6a139a,_0x3a9c1d,_0x7110e2;const _0x1c4d47=this[_0x45c027(0x476)][_0x45c027(0x48e)](_0x196de1),_0x161910=this['_configService']['getConfig'](_0x1a45c3);return(_0x7110e2=(_0x3a9c1d=_0x161910==null?void 0x0:_0x161910[_0x45c027(0x30a)])!=null?_0x3a9c1d:_0x1c4d47)!=null?_0x7110e2:_0x3a1905;}async[_0x6a139a(0x473)](_0x425303){var _0x42bc34=_0x6a139a;const _0x410df7=this[_0x42bc34(0x33b)]()+_0x42bc34(0x2de);return{'list':[{'title':_0x42bc34(0x459),'mentions':(await this['_HTTPService']['get'](_0x410df7,{'params':{'objectID':_0x425303[_0x42bc34(0x314)],'unitID':_0x425303[_0x42bc34(0x314)]}}))[_0x42bc34(0x2ea)][_0x42bc34(0x345)][_0x42bc34(0x510)](_0x3cb666=>({'objectId':_0x3cb666['id'],'name':_0x3cb666[_0x42bc34(0x31b)][_0x42bc34(0x55e)],'metadata':{'icon':_0x3cb666['subject']['avatar']},'label':_0x3cb666['subject'][_0x42bc34(0x55e)],'objectType':_0x3f544a[_0x42bc34(0x29c)]['PERSON']})),'metadata':{},'type':_0x3f544a[_0x42bc34(0x29c)]['PERSON']}]};}},_0x4ac6e3[_0x6a139a(0x4f8)]=_0xc46791([_0x3fa42d(0x0,_0x3f544a[_0x6a139a(0x511)](_0x3f544a[_0x6a139a(0x359)])),_0x3fa42d(0x1,_0x3f544a[_0x6a139a(0x511)](_0x334605[_0x6a139a(0x2f1)]))],_0x4ac6e3[_0x6a139a(0x4f8)]);var _0x522152=Object[_0x6a139a(0x4ed)],_0x84945c=(_0x139b31,_0x2e36d5,_0x250f27,_0x4c4061)=>{var _0x46b572=_0x6a139a;for(var _0x4df647=_0x4c4061>0x1?void 0x0:_0x4c4061?_0x522152(_0x2e36d5,_0x250f27):_0x2e36d5,_0x7d44=_0x139b31[_0x46b572(0x362)]-0x1,_0x830719;_0x7d44>=0x0;_0x7d44--)(_0x830719=_0x139b31[_0x7d44])&&(_0x4df647=_0x830719(_0x4df647)||_0x4df647);return _0x4df647;},_0x96eba3=(_0x547f07,_0x3ad83c)=>(_0x10bfd4,_0x3279bd)=>_0x3ad83c(_0x10bfd4,_0x3279bd,_0x547f07);let _0x88628=class extends _0x3f544a[_0x6a139a(0x3c8)]{constructor(_0x5cba2c,_0x401f69,_0x13b387,_0x39fff3,_0x5ac057){var _0x2a1faa=_0x6a139a;super(),this[_0x2a1faa(0x3cf)]=_0x5cba2c,this['_univerInstanceService']=_0x401f69,this[_0x2a1faa(0x383)]=_0x13b387,this[_0x2a1faa(0x452)]=_0x39fff3,this[_0x2a1faa(0x37d)]=_0x5ac057,this[_0x2a1faa(0x524)](),this[_0x2a1faa(0x367)]();}[_0x6a139a(0x367)](){var _0x86670f=_0x6a139a;const _0x437752=async _0x2d02ec=>{var _0x50bc55=_0x2e75;(await this[_0x50bc55(0x452)]['requireSession'](_0x2d02ec))[_0x50bc55(0x272)][_0x50bc55(0x3e3)](_0x25c62c['filter'](_0x597bb4=>_0x597bb4[_0x50bc55(0x210)]===_0x339060[_0x50bc55(0x447)][_0x50bc55(0x29f)]),_0x25c62c['takeUntil'](this[_0x50bc55(0x575)]))[_0x50bc55(0x486)](_0x20ff19=>{var _0x2c9e3b=_0x50bc55;const _0x1b4fde=_0x20ff19,{reason:_0x4712dd}=_0x1b4fde[_0x2c9e3b(0x4b1)];this['_collaborationUIEventService'][_0x2c9e3b(0x50d)]({'id':_0x532b26[_0x2c9e3b(0x426)],'data':_0x4712dd}),this[_0x2c9e3b(0x383)]['updatePermissionPoint'](new _0x2c566d[(_0x2c9e3b(0x376))](_0x2d02ec)['id'],!0x1),this[_0x2c9e3b(0x452)][_0x2c9e3b(0x3ca)](_0x2d02ec);});};_0x335b5e[_0x86670f(0x206)](this[_0x86670f(0x57b)]['getTypeOfUnitAdded$'](_0x3f544a['UniverInstanceType'][_0x86670f(0x41e)]),this[_0x86670f(0x57b)][_0x86670f(0x527)](_0x3f544a['UniverInstanceType'][_0x86670f(0x4dc)]))[_0x86670f(0x3e3)](_0x25c62c[_0x86670f(0x510)](_0x19e711=>_0x19e711['getUnitId']()),_0x25c62c[_0x86670f(0x45a)](_0x377433=>!_0x3f544a[_0x86670f(0x566)](_0x377433)),_0x25c62c[_0x86670f(0x2f0)](this[_0x86670f(0x575)]))['subscribe'](_0x3253d2=>{_0x437752(_0x3253d2);});}['_initUnitPermissionChange'](){var _0x473c32=_0x6a139a;const _0x1bd55b=async _0x2b9354=>{var _0x1eb55a=_0x2e75;const _0x1d142d=await this[_0x1eb55a(0x452)][_0x1eb55a(0x460)](_0x2b9354),_0x466cb3=this[_0x1eb55a(0x3cf)][_0x1eb55a(0x561)](_0x2c566d['SheetPermissionInitController']);_0x1d142d[_0x1eb55a(0x272)]['pipe'](_0x25c62c['filter'](_0x56da17=>_0x56da17[_0x1eb55a(0x210)]===_0x339060['CollaborationEvent'][_0x1eb55a(0x2f4)]),_0x25c62c[_0x1eb55a(0x2f0)](this[_0x1eb55a(0x575)]))[_0x1eb55a(0x486)](_0xe35be4=>{var _0x3dfabe=_0x1eb55a;const _0x145ac4=_0xe35be4,{objectId:_0x57b93b}=_0x145ac4['data'];_0x57b93b===_0x2b9354?_0x466cb3[_0x3dfabe(0x519)](_0x2b9354):_0x466cb3['refreshPermission'](_0x2b9354,_0x57b93b);});};_0x335b5e[_0x473c32(0x206)](this[_0x473c32(0x57b)][_0x473c32(0x527)](_0x3f544a[_0x473c32(0x388)][_0x473c32(0x41e)]))[_0x473c32(0x3e3)](_0x25c62c[_0x473c32(0x510)](_0x45146=>_0x45146['getUnitId']()),_0x25c62c[_0x473c32(0x45a)](_0x2c31ea=>!_0x3f544a[_0x473c32(0x566)](_0x2c31ea)),_0x25c62c['takeUntil'](this[_0x473c32(0x575)]))[_0x473c32(0x486)](_0x5ed1aa=>{_0x1bd55b(_0x5ed1aa);});}};_0x88628=_0x84945c([_0x96eba3(0x0,_0x3f544a['Inject'](_0x3f544a[_0x6a139a(0x225)])),_0x96eba3(0x1,_0x3f544a[_0x6a139a(0x316)]),_0x96eba3(0x2,_0x3f544a['IPermissionService']),_0x96eba3(0x3,_0x3f544a['Inject'](_0x4ac6e3[_0x6a139a(0x32a)])),_0x96eba3(0x4,_0x3f544a[_0x6a139a(0x511)](_0x5dcc55))],_0x88628);var _0x252d85=Object[_0x6a139a(0x4ed)],_0x2728be=(_0x3670e2,_0x4930a0,_0x2aeec,_0x6687f8)=>{var _0x61589d=_0x6a139a;for(var _0x18896e=_0x6687f8>0x1?void 0x0:_0x6687f8?_0x252d85(_0x4930a0,_0x2aeec):_0x4930a0,_0x339a54=_0x3670e2[_0x61589d(0x362)]-0x1,_0x3d658c;_0x339a54>=0x0;_0x339a54--)(_0x3d658c=_0x3670e2[_0x339a54])&&(_0x18896e=_0x3d658c(_0x18896e)||_0x18896e);return _0x18896e;},_0x293f08=(_0x170bcc,_0x1dcecb)=>(_0x2c9b2d,_0x3c3d60)=>_0x1dcecb(_0x2c9b2d,_0x3c3d60,_0x170bcc);_0x4ac6e3['SnapshotServerOverHTTPService']=class{constructor(_0x2a402d,_0x230ab4){var _0x2cbecf=_0x6a139a;this[_0x2cbecf(0x476)]=_0x2a402d,this['_httpService']=_0x230ab4;}async[_0x6a139a(0x2fe)](_0xbf6484,_0x4b1c73){var _0x3c0dad=_0x6a139a,_0x4fba30;const {unitID:_0x18caad,type:_0x56d813,revision:_0x440c50=0x0}=_0x4b1c73,_0x4eb39d=this[_0x3c0dad(0x425)]()+'/'+_0x56d813+_0x3c0dad(0x53a)+_0x18caad+_0x3c0dad(0x468)+_0x440c50,_0x468a28=(await this['_httpService'][_0x3c0dad(0x561)](_0x4eb39d))[_0x3c0dad(0x2ea)],_0x36d3bc=(_0x4fba30=_0x468a28[_0x3c0dad(0x3eb)])==null?void 0x0:_0x4fba30[_0x3c0dad(0x560)];if(_0x36d3bc){const _0xa16ca1=_0x36d3bc==null?void 0x0:_0x36d3bc['originalMeta'],_0x507053=_0x339060[_0x3c0dad(0x38d)][_0x3c0dad(0x325)](_0x339060[_0x3c0dad(0x54d)](_0xa16ca1));_0x36d3bc[_0x3c0dad(0x51e)]=_0x507053,Object[_0x3c0dad(0x407)](_0x36d3bc['sheets'])[_0x3c0dad(0x25d)](([,_0x130b70])=>{var _0x572b12=_0x3c0dad;const _0x274bf9=_0x130b70['originalMeta'],_0xe87969=_0x339060[_0x572b12(0x38d)][_0x572b12(0x325)](_0x339060[_0x572b12(0x54d)](_0x274bf9));_0x130b70[_0x572b12(0x51e)]=_0xe87969;});}return _0x468a28;}async['getSheetBlock'](_0x1a516a,_0x1b6226){var _0x58ef2d=_0x6a139a;const {unitID:_0x56ce67,type:_0x2120ae,blockID:_0x28c9fa}=_0x1b6226,_0x270dee=this[_0x58ef2d(0x2d1)]()+'/'+_0x2120ae+_0x58ef2d(0x53a)+_0x56ce67+'/block/'+_0x28c9fa;return(await this[_0x58ef2d(0x39a)][_0x58ef2d(0x561)](_0x270dee))['body'];}async[_0x6a139a(0x290)](_0x4ec61f,_0x5e5530){var _0x2dade2=_0x6a139a;const {unitID:_0x1cc737,type:_0x2e1319,blockID:_0x1357ec}=_0x5e5530,_0x3db172=this[_0x2dade2(0x2d1)]()+_0x2dade2(0x4f4)+_0x2e1319+'/unit/'+_0x1cc737+_0x2dade2(0x4f4)+_0x1357ec;return(await this[_0x2dade2(0x39a)]['get'](_0x3db172))['body'];}async[_0x6a139a(0x3d1)](_0x28c74f,_0x4cdca7){var _0x3b1292=_0x6a139a;const {unitID:_0x345093,type:_0x3fa5a2,from:_0x5d439d,to:_0x7f0429}=_0x4cdca7,_0x2dcda0=this[_0x3b1292(0x2d1)]()+'/'+_0x3fa5a2+'/unit/'+_0x345093+'/fetchmissing?from='+_0x5d439d+'&to='+_0x7f0429;return(await this['_httpService'][_0x3b1292(0x561)](_0x2dcda0))[_0x3b1292(0x2ea)];}[_0x6a139a(0x425)](){var _0x3b993a=_0x6a139a,_0x5d89ad;return(_0x5d89ad=this['_configService'][_0x3b993a(0x48e)](_0x3ab5d5))!=null?_0x5d89ad:this[_0x3b993a(0x2d1)]();}[_0x6a139a(0x2d1)](){var _0xc4a420=_0x6a139a,_0x39b3fd,_0x528053;const _0xdd6da7=this[_0xc4a420(0x476)][_0xc4a420(0x48e)](_0x5d0ca0),_0xb21f66=this[_0xc4a420(0x476)][_0xc4a420(0x48e)](_0x1a45c3);return(_0x528053=(_0x39b3fd=_0xb21f66==null?void 0x0:_0xb21f66[_0xc4a420(0x373)])!=null?_0x39b3fd:_0xdd6da7)!=null?_0x528053:_0x25a32f;}async['getResourcesRequest'](_0x2cd5ee,_0x376d2b){var _0x4da616=_0x6a139a;const _0x58cdb4='/universer-api/snapshot/'+_0x376d2b[_0x4da616(0x2d5)]+_0x4da616(0x53a)+_0x376d2b[_0x4da616(0x2b6)]+_0x4da616(0x20b);return(await this[_0x4da616(0x39a)][_0x4da616(0x561)](_0x58cdb4,{'params':{'resourceId':JSON[_0x4da616(0x25b)](_0x376d2b['resourceIDs'])}}))['body'];}['saveSnapshot'](){var _0x51e712=_0x6a139a;throw new Error(_0x51e712(0x258));}[_0x6a139a(0x370)](){var _0x4f6d4a=_0x6a139a;throw new Error(_0x4f6d4a(0x258));}[_0x6a139a(0x54b)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x6a139a(0x549)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x6a139a(0x451)](){var _0x5bd4bd=_0x6a139a;throw new Error(_0x5bd4bd(0x258));}},_0x4ac6e3[_0x6a139a(0x50b)]=_0x2728be([_0x293f08(0x0,_0x3f544a[_0x6a139a(0x359)]),_0x293f08(0x1,_0x3f544a[_0x6a139a(0x511)](_0x334605[_0x6a139a(0x2f1)]))],_0x4ac6e3['SnapshotServerOverHTTPService']);var _0x4a549d=Object[_0x6a139a(0x4ed)],_0x3470e2=(_0x410071,_0x5084cb,_0x119e92,_0x4e5529)=>{for(var _0x526f27=_0x4e5529>0x1?void 0x0:_0x4e5529?_0x4a549d(_0x5084cb,_0x119e92):_0x5084cb,_0x3bbd56=_0x410071['length']-0x1,_0x4c5a92;_0x3bbd56>=0x0;_0x3bbd56--)(_0x4c5a92=_0x410071[_0x3bbd56])&&(_0x526f27=_0x4c5a92(_0x526f27)||_0x526f27);return _0x526f27;},_0x184035=(_0x1b6a78,_0x242b64)=>(_0x29518a,_0x126b3a)=>_0x242b64(_0x29518a,_0x126b3a,_0x1b6a78);_0x4ac6e3[_0x6a139a(0x3b2)]=class extends _0x3f544a[_0x6a139a(0x40f)]{constructor(_0x26cc13,_0x31ee2b,_0x13d06e,_0x250ef4,_0x2521cc){var _0x93303=_0x6a139a;super(_0x26cc13,_0x31ee2b,_0x13d06e),this[_0x93303(0x567)]=_0x250ef4,this['_logService']=_0x2521cc;}[_0x6a139a(0x2fb)](_0x35d2dd,_0x1d30e2){var _0x57f00f=_0x6a139a;const _0x3d48c6=this[_0x57f00f(0x547)](_0x35d2dd);if(_0x3d48c6)try{const _0x37c356=this[_0x57f00f(0x2dc)](_0x3d48c6,_0x1d30e2);this['_substituteUndoStack'](_0x35d2dd,_0x37c356);}catch(_0x57ef53){this[_0x57f00f(0x576)][_0x57f00f(0x300)]('[CollaborationUndoRedoService]',_0x57ef53),this[_0x57f00f(0x4eb)](_0x35d2dd);}const _0x361a19=this[_0x57f00f(0x33e)](_0x35d2dd);if(_0x361a19)try{const _0x3834bb=this[_0x57f00f(0x2dc)](_0x361a19,_0x1d30e2);this[_0x57f00f(0x40d)](_0x35d2dd,_0x3834bb);}catch(_0x4cce53){this['_logService'][_0x57f00f(0x300)](_0x4cce53),this['_clearRedo'](_0x35d2dd);}}[_0x6a139a(0x4eb)](_0x143bb0){var _0x272a77=_0x6a139a;const _0x42e228=this['_getUndoStack'](_0x143bb0);_0x42e228&&(_0x42e228[_0x272a77(0x362)]=0x0,this[_0x272a77(0x39c)]());}[_0x6a139a(0x377)](_0x4fa71e){var _0xab52be=_0x6a139a;const _0x4d69f5=this['_getRedoStack'](_0x4fa71e);_0x4d69f5&&(_0x4d69f5[_0xab52be(0x362)]=0x0,this['_updateStatus']());}[_0x6a139a(0x36f)](_0x44b2f7,_0x16d49e){var _0x5c3ee3=_0x6a139a;this['_undoStacks'][_0x5c3ee3(0x539)](_0x44b2f7,_0x16d49e),this[_0x5c3ee3(0x39c)]();}[_0x6a139a(0x40d)](_0x560dfd,_0x21e70e){var _0xa0764c=_0x6a139a;this[_0xa0764c(0x56d)][_0xa0764c(0x539)](_0x560dfd,_0x21e70e),this[_0xa0764c(0x39c)]();}[_0x6a139a(0x2dc)](_0x5cbc73,_0x40232d){var _0x10a043=_0x6a139a;const _0x14310b=[];let _0x216b97=_0x40232d,_0x137b4c=_0x40232d;for(let _0xc60fcf=_0x5cbc73['length']-0x1;_0xc60fcf>=0x0;_0xc60fcf--){const {unitID:_0x480b90,undoMutations:_0x55d5e1,redoMutations:_0x11c889}=_0x5cbc73[_0xc60fcf],_0x1de102=this[_0x10a043(0x567)][_0x10a043(0x50f)](_0x216b97,_0x55d5e1),_0x5ae3da=this[_0x10a043(0x567)]['transformMutationsWithChangeset'](_0x137b4c,_0x11c889);if(_0x339060[_0x10a043(0x4e4)](_0x1de102)||_0x339060[_0x10a043(0x4e4)](_0x5ae3da)){this[_0x10a043(0x576)][_0x10a043(0x300)](_0x10a043(0x295),_0x10a043(0x2ae),_0x1de102,_0x5ae3da);break;}_0x216b97=_0x1de102['c1Prime'],_0x137b4c=_0x5ae3da[_0x10a043(0x517)],_0x14310b['push']({'unitID':_0x480b90,'undoMutations':_0x1de102[_0x10a043(0x209)],'redoMutations':_0x5ae3da[_0x10a043(0x209)]});}return _0x14310b[_0x10a043(0x49f)]();}},_0x4ac6e3['CollaborativeUndoRedoService']=_0x3470e2([_0x184035(0x0,_0x3f544a['IUniverInstanceService']),_0x184035(0x1,_0x3f544a[_0x6a139a(0x4f3)]),_0x184035(0x2,_0x3f544a[_0x6a139a(0x48c)]),_0x184035(0x3,_0x339060['ITransformService']),_0x184035(0x4,_0x3f544a[_0x6a139a(0x390)])],_0x4ac6e3['CollaborativeUndoRedoService']);var _0x8dad5b=Object[_0x6a139a(0x26e)],_0x2f7e1e=Object[_0x6a139a(0x4ed)],_0x2cbd77=(_0x2a9e79,_0x6285ab,_0x459b56)=>_0x6285ab in _0x2a9e79?_0x8dad5b(_0x2a9e79,_0x6285ab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x459b56}):_0x2a9e79[_0x6285ab]=_0x459b56,_0x26eaa9=(_0x5f4d68,_0x1debe8,_0x39a264,_0x2cd9dc)=>{var _0x2de022=_0x6a139a;for(var _0x4b57c2=_0x2cd9dc>0x1?void 0x0:_0x2cd9dc?_0x2f7e1e(_0x1debe8,_0x39a264):_0x1debe8,_0x1dc271=_0x5f4d68[_0x2de022(0x362)]-0x1,_0x454a9c;_0x1dc271>=0x0;_0x1dc271--)(_0x454a9c=_0x5f4d68[_0x1dc271])&&(_0x4b57c2=_0x454a9c(_0x4b57c2)||_0x4b57c2);return _0x4b57c2;},_0xbe952d=(_0x3e9361,_0x58154c)=>(_0x4b7e4a,_0x26014d)=>_0x58154c(_0x4b7e4a,_0x26014d,_0x3e9361),_0x2ee1bf=(_0x2826b5,_0x27248b,_0x4d7e8b)=>_0x2cbd77(_0x2826b5,_0x27248b+'',_0x4d7e8b);const _0x2c38e6='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x4ac6e3[_0x6a139a(0x334)]=class extends _0x3f544a['Plugin']{constructor(_0x1b47cf,_0x50ed6d,_0x582a80,_0x578c15){var _0x2d27a1=_0x6a139a;super(),_0x4df247(this,_0x2d27a1(0x384)),(this[_0x2d27a1(0x576)]=_0x50ed6d,this[_0x2d27a1(0x3cf)]=_0x582a80,this[_0x2d27a1(0x476)]=_0x578c15);const {..._0x4df980}=_0x3f544a[_0x2d27a1(0x206)]({},_0xaf9c8d,_0x1b47cf);if(!_0x4df980[_0x2d27a1(0x28b)])throw new Error(_0x2d27a1(0x490));this[_0x2d27a1(0x384)]=_0x4df980,this[_0x2d27a1(0x476)][_0x2d27a1(0x278)](_0x1a45c3,_0x4df980);}[_0x6a139a(0x472)](){var _0xd34ec=_0x6a139a;this[_0xd34ec(0x277)](),this[_0xd34ec(0x41b)]();}['_registerDependencies'](){var _0x530a49=_0x6a139a,_0x10fcb4,_0x164cba;this[_0x530a49(0x3cf)][_0x530a49(0x4cc)](_0x3f544a['IUndoRedoService'])&&this['_logService'][_0x530a49(0x300)](_0x530a49(0x335),_0x530a49(0x52d));const _0x4df28b=_0x3f544a[_0x530a49(0x428)]([[_0x3f544a[_0x530a49(0x23c)],{'useClass':_0x4ac6e3[_0x530a49(0x3b2)]}],[_0x4ac6e3[_0x530a49(0x32a)]],[_0x4ac6e3[_0x530a49(0x47d)]],[_0x4ac6e3[_0x530a49(0x26d)]],[_0x35129f],[_0x459000],[_0x343ebc],[_0x88628],[_0x5dcc55],[_0x4ac6e3[_0x530a49(0x37c)]],[_0x35370f,{'useClass':this['_config'][_0x530a49(0x28b)]}],[_0x339060[_0x530a49(0x2b2)],{'useClass':_0x4ac6e3[_0x530a49(0x50b)]}],[_0x3f544a['IAuthzIoService'],{'useClass':_0x4ac6e3[_0x530a49(0x213)]}],[_0x1ad106[_0x530a49(0x4c9)],{'useClass':_0x4ac6e3['CollaborationImageIoService']}],[_0x3f544a[_0x530a49(0x363)],{'useClass':_0x4ac6e3[_0x530a49(0x4f8)]}],[_0x4ac6e3[_0x530a49(0x403)]],[_0x5f0017]],(_0x10fcb4=this[_0x530a49(0x384)])==null?void 0x0:_0x10fcb4[_0x530a49(0x400)]);if(!((_0x164cba=this['_config'])!=null&&_0x164cba[_0x530a49(0x43e)])){const _0x191ea6=_0x4df28b[_0x530a49(0x4bf)](([_0x434e00])=>_0x434e00===_0x557305);_0x191ea6!==-0x1&&_0x4df28b[_0x530a49(0x2b8)](_0x191ea6,0x1);}_0x3f544a[_0x530a49(0x32f)](this[_0x530a49(0x3cf)],_0x4df28b);}[_0x6a139a(0x41b)](){var _0x33fb55=_0x6a139a,_0x383447,_0x41ee96,_0x2af705;this[_0x33fb55(0x3cf)][_0x33fb55(0x561)](_0x334605[_0x33fb55(0x2f1)])[_0x33fb55(0x4c3)]({'priority':0x14,'interceptor':_0x334605[_0x33fb55(0x3b9)]({'maxParallel':0x6})}),(_0x383447=this[_0x33fb55(0x384)])!=null&&_0x383447[_0x33fb55(0x368)]||(_0x41ee96=this[_0x33fb55(0x3cf)][_0x33fb55(0x561)](_0x1f774f,_0x3f544a[_0x33fb55(0x57d)][_0x33fb55(0x3f6)]))==null||_0x41ee96[_0x33fb55(0x3d0)](),(_0x2af705=this['_config'])!=null&&_0x2af705['enableAuthServer']&&_0x3f544a[_0x33fb55(0x21b)](this[_0x33fb55(0x3cf)],[[_0x35129f]]),_0x3f544a['touchDependencies'](this[_0x33fb55(0x3cf)],[[_0x459000],[_0x4ac6e3[_0x33fb55(0x403)]],[_0x88628]]);}},_0x2ee1bf(_0x4ac6e3[_0x6a139a(0x334)],_0x6a139a(0x2a5),_0x2c38e6),_0x4ac6e3[_0x6a139a(0x334)]=_0x26eaa9([_0x3f544a[_0x6a139a(0x579)](_0x339060['UniverCollaborationPlugin'],_0x334605[_0x6a139a(0x245)]),_0xbe952d(0x1,_0x3f544a[_0x6a139a(0x390)]),_0xbe952d(0x2,_0x3f544a['Inject'](_0x3f544a[_0x6a139a(0x225)])),_0xbe952d(0x3,_0x3f544a[_0x6a139a(0x359)])],_0x4ac6e3[_0x6a139a(0x334)]),_0x4ac6e3[_0x6a139a(0x3d8)]=_0x196de1,_0x4ac6e3[_0x6a139a(0x2e5)]=_0x1a45c3,_0x4ac6e3[_0x6a139a(0x3f4)]=_0x24a0ec,_0x4ac6e3[_0x6a139a(0x53c)]=_0x4c5b78,_0x4ac6e3[_0x6a139a(0x3c5)]=_0xa1a126,_0x4ac6e3['CollaborationUIEventId']=_0x532b26,_0x4ac6e3[_0x6a139a(0x56e)]=_0x5dcc55,_0x4ac6e3[_0x6a139a(0x33a)]=_0x343ebc,_0x4ac6e3[_0x6a139a(0x4b0)]=_0x1bf3ce,_0x4ac6e3[_0x6a139a(0x22c)]=_0x5071b3,_0x4ac6e3['DEFAULT_WS_SESSION_TICKET_URL']=_0x3b63f4,_0x4ac6e3[_0x6a139a(0x508)]=_0x179239,_0x4ac6e3[_0x6a139a(0x3e7)]=_0x49c8f0,_0x4ac6e3[_0x6a139a(0x38c)]=_0x35370f,_0x4ac6e3[_0x6a139a(0x418)]=_0x1f774f,_0x4ac6e3[_0x6a139a(0x3ce)]=_0x1ec25d,_0x4ac6e3[_0x6a139a(0x3b1)]=_0x557305,_0x4ac6e3[_0x6a139a(0x4c5)]=0x3e8,_0x4ac6e3[_0x6a139a(0x2b1)]=_0x349c8d,_0x4ac6e3[_0x6a139a(0x474)]=_0x1d0e0f,_0x4ac6e3[_0x6a139a(0x577)]=_0x583b44,_0x4ac6e3[_0x6a139a(0x371)]=_0x6171dd,_0x4ac6e3[_0x6a139a(0x3e8)]=_0x19eb15,_0x4ac6e3[_0x6a139a(0x35c)]=_0x5d0ca0,_0x4ac6e3[_0x6a139a(0x341)]=_0x3ab5d5,_0x4ac6e3[_0x6a139a(0x2c8)]=_0x581c4e,_0x4ac6e3[_0x6a139a(0x2e4)]=_0x2db984,_0x4ac6e3[_0x6a139a(0x531)]=_0xa69f71,_0x4ac6e3['getLocalCacheKey']=_0x157c85,_0x4ac6e3[_0x6a139a(0x237)]=_0x485a69,Object[_0x6a139a(0x26e)](_0x4ac6e3,Symbol['toStringTag'],{'value':_0x6a139a(0x2d3)});}));function _0x2e75(_0x5e82c1,_0x1ed658){var _0xb670c9=_0xb670();return _0x2e75=function(_0x2e75ac,_0x1c9802){_0x2e75ac=_0x2e75ac-0x1f3;var _0x7ea536=_0xb670c9[_0x2e75ac];return _0x7ea536;},_0x2e75(_0x5e82c1,_0x1ed658);}function _0xb670(){var _0x33b73b=['_configService','AWAITING_WITH_PENDING','_executeRemoteChangeset','OFFLINE','_candidateSocket','permissionRejEvent','loginUrlKey','MemberService','_iKey','delay','rng','RETRY_CONNECTING_MAX_COUNT','ceil','/universer-api/stream/file/upload','HMAC','slice','subscribe','YUUMI_ASYNCIO_CANCELLED','hasOwnProperty','APPLY_PERMISSION_DENIED','updatePermissionObjEvent','unitId\x20is\x20not\x20found','IContextService','push','getConfig','Encryptor','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','onTransformSelections','find','delete','ciphertext','debug','createCollaborator','_reverseMap','getImageSourceCache','href','session.room-cnt-exceeds','CollaborationEntity','ITransformService','27UdxMKz','sin','reverse','generateRandomId','_queuedRemoteChangesets','_keyPriorReset','APPLY_REVISION_CONFILICT','/universer-api/snapshot','[CollaborationSession]','JOIN_ROOM_PERMISSION_DENIED','bind','_loadDoc','_changesetSessionId','_xformMode','result','src','ONLINE','CommandType','CollaborationSession','DEFAULT_COLLAB_WEB_SOCKET_URL','data','unitInfo$','objects','JOIN','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','CBC','roles','COLLAB_SUBMIT_CHANGESET_URL','HEARTBEAT','_clearTimeoutTimer','submit\x20changeset\x20error!','UniverTelemetry','fetch_missing','LICENSE_DISTRO_REJECTED','findIndex','userID','_removeRoom','TOO_MANY_REQUESTS','registerHTTPInterceptor','RichTextEditingMutation','LOCAL_CACHE_INTERVAL','image/jpeg','session','_collaborationPaused','IImageIoService','APPLY_DUPLICATED','LIVESHARE_TERMINATE','has','loadDoc','code','prototype','_changesetReqId','_onRemoteRetry','objectID','_state$','getMemberID','auth.needGotoLoginAlert','_keySchedule','clone','readAsDataURL','[CollaborationSessionService]','POST','joinRsp','UNIVER_DOC','reset','take','UNDEFINED','clear','/-/object/-/batch_allowed','amd','loadUnit','isTransformMutationsWithChangesetFailure','_roomMembers','_onConnectionFailed','ERROR_IMAGE_TYPE','CONFLICT','@univerjs-pro/collaboration','call','_clearUndo','concatMap','getOwnPropertyDescriptor','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_sendHeartbeat','processBlock','_HTTPService','FAIL','ICommandService','/block/','CompressMutationService','rxjs','PSEUDO_FETCH_MISSING_RESULT','MentionIoHttpService','withCredentials','message$','[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.','x-univer-host','rxjs/operators','_sheetTransformSelectionsService','objectActions','JOIN_ROOM_FAILED','BlockCipherMode','UniverCore','AES','_data','_sendHeartbeatTimer','_onConflict','[SyncedState]:\x20received\x20acknowledgement.','HEARTBEAT_INTERVAL_KEY','_joinRoom','{fileID}','SnapshotServerOverHTTPService','/role','emitEvent','updateOfflineData','transformMutationsWithChangeset','map','Inject','transformChangesets','LEAVE','finalize','getCollabEntity','algo','c1Prime','liveShareOperation','initWorkbookPermissionChange','getCurrentSelections','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','$super','loadOfflineData','originalMeta','_hasher','catch','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','collaboration-client.local-cache-service','_initUnitPermissionChange','INVALID_ARGUMENT','close$','getTypeOfUnitAdded$','SUCCUSS','NEW_CHANGESETS','DisposableCollection','_members$','memberID','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','status$','NO_OTHER_CLIENTS_EDITING','_acknowledgedAwaitingChangeset','deserializeToCombResponse','createIdentifier','_onRemoteRejected','_memberService','batchAllowed','/object/','keySize','uploadFileServerUrl','set','/unit/','OTHER_CLIENTS_EDITING','COLLAB_WEB_SOCKET_URL_KEY','salt','add','_tryEnsureSocket','_parse','UniverProLicense','localCacheService','reqId','compute','onRemoteAck','init','_getUndoStack','isTransformMutationsWithChangesetSuccess','copyFileMeta','toggleOffline','saveChangeset','CollaborationImageIoService','b64DecodeUnicode','byteOffset','6964245PLNymK','create','_remoteChangesetQueue','createSocket','firstValueFrom','mixIn','synced','HttpExport','parseProtocolChangeset','interceptor','image/bmp','encodeURIComponent','OTHER_CLIENT_EDITING','/universer-api/authz','AwaitingWithPendingState','name','collaboration_new_changeset','workbook','get','getCurrentRevOfUnit','Base','_applyRemoteChangeset','onload','isInternalEditorID','_transformService','SOCKET_FAILED','_createHmacHelper','/allowed','UNISCRIPT_RUN','_snapshotService','_redoStacks','CollaborationUIEventService','IPermissionService','_createSocket','__Key__','DEFAULT_FILE_NAME','byteLength','LIVESHARE_REQUEST_HOST','dispose$','_logService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_nRounds','DependentOn','BufferedBlockAlgorithm','_univerInstanceService','@univerjs/sheets','Quantity','_pendingMutations','[OfflineState]:\x20received\x20acknowledgement.','_onOffline','getUnitId','UNAUTHENTICATED','focused$','_collabSessionService','onTransformIME','PENDING','isArray','_timeoutTimer','2tybexc','key','toDisposable','_unitID','LIVESHARE_NEW_HOST','@univerjs/docs','_checkMissing','_transformUndoredo','awaiting','_clearRetryConnectingTimer','_getSendChangesetTimeout','concat','_incrementRevisionNumber','9765294aTFyCQ','SEND_CHANGESET_TIMEOUT','error$','sessionStatus','_entityInit$','SYNCED','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_updateLocalCache','joinEvent','awaiting_with_pending','SOCKET_FAILED_RETRY','sigBytes','Univer','/universer-api/comb','isPermissionRej','merge','subUnitId','_userManagerService','m2Prime','70469abjImk','/resources','_localeService','SUBMIT_CHANGESET_TIMEOUT','1336630ZsrRsZ','then','eventID','padding','session.join-failed','AuthzIoHttpService','rev','startsWith','_resendWithTimeout','shouldCloseConn','FETCH_MISS','getValue','getUnitType','touchDependencies','_commandService','csAckEvent','Pkcs7','_compressMutationService','_clearLocalCache','USER_NOT_INVITED_CODE','COLLAB_WEB_SOCKET_URL','HTTPRequest','&assign=','Injector','location','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_throwTelemetryCollaborationNewChangeset','FETCH_MISSING','getInterceptPoints','string','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','editingUnit','executeCommand','collabSubmitChangesetUrl','_submitChangeset','&source=','_toggleOffline','BASE64','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','includes','randomUUID','serializeCombRequest','function','disposeWithMe','Undefined','_disableEditing','IUndoRedoService','_transitionLocked','_updateState','_getCurrentRevision','update','_emitMembers','onMissingChangesets','_nDataBytes','_schedule','UniverNetworkPlugin','exports','Subject','iterations','_doCreateSocket','localeService','[OfflineState]:\x20received\x20changeset.','_transformRemoteChangesetByIMECache','SnapshotService','SheetCollaborationEntity','pad','msCrypto','onRemoteChangeset','charCodeAt','_doFinalize','toString','_lockTransition','UnitSnapshot','YUUMI_URL_COL_OUT_OF_RANGE','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','onTransformRemoteChangesetByIMECache','COMPRESS_MUTATION_APPLY','stringify','_resendTimeout','forEach','socket\x20open.','Base64','_startTelemetryCollaborationNewChangeset','\x20-\x20','substr','[PendingState]:\x20received\x20rejection.','default','_onConnectionOpen','actions','_roomCreated$','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_prevBlock','SUBMIT_CHANGESET','UniverNetwork','MOBILE_HAS_BEEN_BOUND','SheetTransformSelectionsService','defineProperty','651775keBdxj','COMPRESS_MUTATION_SEND','retryConnectingInterval','event$','_handler','hasher','_handlerCallback','UserProfileImg','_registerDependencies','setConfig','PY_RUNTIME_SCRIPT_ERROR','LICENSE_EXPORT_SIZE_EXCEEDED','_onMessage','_map','enc','fromCollab','reduce','roomInfos','_commentService','fromCharCode','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','ImageSourceType','_stopTelemetryCollaborationNewChangeset','_localCacheService','session.room-not-exists','[PendingState]:\x20received\x20acknowledgement.','apply','buffer','socketService','getImage','UNIVER_SLIDE','updateMember','_transformIMECache','getDeserializedSheetBlock','GLOBAL_ROOMS_CNT_EXCEEDS','c2Prime','blockSize','conflict','[CollaborationUndoRedoService]','_event$','session.room-permission-denied','_resendTimer','objectType','_entities','_startCollaboration','MentionType','_revisionService','Malformed\x20UTF-8\x20data','SHOULD_CLOSE_CONN','YUUMI_UNABLE_LOAD_URL','NoPadding','[OfflineState]:\x20received\x20rejection.','HmacMD5','_createInitialState','pluginName','CHANGESET_ACK','mutations','crypto','@univerjs/drawing','_onUserJoin','ITelemetryService','getCurrentUser','LICENSE_MAX_UNITS_EXCEEDED','transformStack\x20failed!','MD5','\x0aCurrent:\x20','LOCAL_CACHE_INTERVAL_KEY','ISnapshotServerService','fetching\x20missing\x20changesets\x20from\x20','Hasher','resend','unitID','_ENC_XFORM_MODE','splice','operators','Utf8','SHA1','format','312UfVJuc','YUUMI_SUBSCRIPTION_NOT_FOUND','symbol','INVITE_CODE_ALREADY_BOUND','url','responseType','_hash','_exhaustRemoteChangesetQueue','_collaborationTimeoutTimer','_getUploadFileURL','FetchingMissState','SessionStatus','_socketReady','MergeInterceptorFactory','FileId','_clearCollaborationTimeoutTimer','put','awaitingChangeset','onTransformRemoteChangesetByStateCache','@univerjs/network','_getAPIPrefix','_scheduleCollaborationTimeoutTimer','Module','?url=','type','_mode','change$','_oKey','_singleActiveUnitService','fetchThroughInterceptors','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_transformStack','Decryptor','/collaborator','setWaitCount','_socket','abs','lib','@univerjs-pro/license','UnitStatus','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','@univerjs/core','updatePermissionPoint','onStateChange','NOT_FOUND','body','randomBytes','_members','_doProcessBlock','MUTATION','UniverProCollaborationClient','takeUntil','HTTPService','onCommentUpdate','_change$','UPDATE_PERMISSION_OBJ','floor','encrypt','_waitCount','_createInitialStateImpl','getTypeOfUnitDisposed$','_process','transformUndoRedo','CONNECTOR_DATA_TOO_LARGE','_DEC_XFORM_MODE','getUnitOnRev','_commentUpdate$','error','decrypt','createInstance','getWorkbookSelections','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','UNIVER_PROJECT','_initMergeInterceptor','_isPermissionRej','onlyLocal','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','authzUrl','_sender','unit-cache-','_clearScheduledTask','_onFetchMissResult','signUrlServerUrl','_createHelper','_getSignURL','SheetsSelectionsService','SyncedState','unitId','sequenceExecute','IUniverInstanceService','CollaborationSocketService','getActiveSheet','execute','ConflictState','subject','WECHAT_HAS_BEEN_BOUND','CipherParams','_onRecvEvent','transformSelections','_transformRemoteChangesetByStateCache','repeat','listRoles','[CollaborationEntity]','ImageUploadStatusType','encode','StreamCipher','_syncEditingCollabCursor','origin','_showConflictNotification','CollaborationSessionService','ENSURE_SNAPSHOT_EXECUTION','post','image/png','collaboration-client.config','registerDependencies','clamp','_fetchMissChangesets','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','words','UniverCollaborationClientPlugin','[UniverCollaborationClientPlugin]','_init','getRandomValues','UNIVER_UNKNOWN','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','CommentService','_getAPIPrefixPath','_eventService','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_getRedoStack','pauseCollaboration','LIVESHARE_OPERATION','SNAPSHOT_URL_KEY','_key','PendingState','onRemoteRetry','collaborators','ERROR_EXCEED_SIZE','newCsEvent','mode','state$','_status$','addHandlerCallback','reject','duration','connection\x20error','_waitForHeartbeatResponse','collaMsg','USERS_ENTER','every','LOGIN_FAILED','UUID','revision','YUUMI_NO_CUBOID_FOR_QUESTION','Rectangle','Workbook','IConfigService','baseRev','_type','SNAPSHOT_SERVER_URL_KEY','_onUserLeave','_getLoginPath','[CollaborationState]:\x20apply\x20error!','status','charAt','length','IMentionIOService','INVITE_CODE_REQUIRED','_cipher','INVALID_INVITE_CODE','_initCloseConn','enableOfflineEditing','parse','close','_doCryptBlock','_onJoinRoomEvent','_socketMessageSubscription','join','_substituteUndoStack','saveSheetBlock','RETRY_CONNECTING_MAX_COUNT_KEY','Tools','snapshotServerUrl','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','Cipher','WorkbookEditablePermission','_clearRedo','_onCombEvent','save\x20fail\x20reason\x20is\x20','_shouldReportTelemetry','onCommandExecuted','DataLoaderService','_collaborationUIEventService','univer-pro.collaboration-client.network-condition.service','telemetry\x20info\x20is\x20not\x20initialized','open$','stopTime','_sessionStatus$','_permissionService','_config','range','_socket$','HEARTBEAT_TIMEOUT','UniverInstanceType','sid','failed\x20to\x20apply\x20missed\x20changesets!','_invKeySchedule','ICollaborationSocketService','textEncoder','_awaitingChangeset','_retryCount','ILogService','INGEST','collaboratorID','_minBufferSize','_undoRedoService','AwaitingState','random','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_decreaseWaiting','_networkConditionService','_httpService','mapDocumentTypeToUniverType','_updateStatus','downloadEndpointUrl','asObservable','\x20in\x20_schedule.','shareReplay','dispose','/new_changes','UPDATE_CURSOR','JSONX','setCurrentUser','_replayCachedMutations','setShowComponents','csRejEvent','UNRECOGNIZED','_rescheduleHeartbeat','JOINING','APPLY_NON_SEQUENTIAL_REVISION','extend','EvpKDF','/-/object/list','onLocalMutation','ISingleActiveUnitService','CollaborativeUndoRedoService','BehaviorSubject','RevisionService','UNKNOWN_CMD','editing\x20status\x20changed\x20to','hostname','/universer-api/user/session-ticket','ThresholdInterceptorFactory','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','createDecryptor','_state','UserManagerService','LICENSE_IMPORT_SIZE_EXCEEDED','DocCollaborationEntity','_replaceFileID','onMissedChangesetFetched','INTERNAL_ERROR','Latin1','_iv','CollaborationStatus','[DataLoaderService]','readyForCollab','RxDisposable','COMMENT_UPDATE','closeSession','headers','_append','appendMutation','INetworkConditionService','_injector','disableLocalCache','fetchMissingChangesets','_tryReconnect','_clearHeartbeatTimer','startTime','ERROR_IMAGE','/universer-api/uniscript','OfflineState','AUTHZ_URL_KEY','toLowerCase','@univerjs/telemetry','_telemetryInfo','OpenSSL','MSG_FOR_ERROR','size','title','_retryConnectingTimer','SetSelectionsOperation','__creator','pipe','HELLO','INVITE_CODE_HAS_BEEN_UES','_getDownloadEndpointURL','HEARTBEAT_TIMEOUT_KEY','SEND_CHANGESET_TIMEOUT_KEY','unpad','_initRequestHeader','snapshot','isTransformChangesetsSuccess','LocaleService','SNAPSHOT_HAS_BEEN_REMOVED','collabWebSocketUrl','readInt32LE','PasswordBasedCipher','[CollaborationSessionService]:\x20socket\x20error','JOIN_ROOM_NOT_EXISTS','COLLAB_SUBMIT_CHANGESET_URL_KEY','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','OPTIONAL','values','_createHandler','_doReset','min','COMPLETION_FINISHED','_sendingTimer','unsubscribe','now','equals','override','routeKey','_onRemoteChangeset','CollaborationController','updateCursorEvent','_getCtorByUniverType','SNAPSHOT_INVALID_SNAPSHOT','entries','_onRemoteACK','_onLocalMutation','UNKNOWN_CODE','toggleOnline','onTransformState','_substituteRedoStack','EMAIL_HAS_BEEN_BOUND','LocalUndoRedoService','IDLE','params','unknown','reconnect','action','HttpImport','liveShareNewHost','online$','ILocalCacheService','sessionStatus$','LIVESHARE_FETCH_OPERATIONS','_initDependencies','Error\x20on\x20receiving\x20event','pending','UNIVER_SHEET','PERMISSION_DENIED','_socketService','_unitInfo$','getMember','Failed\x20to\x20update\x20permission\x20point','_imageSourceCache','getSnapshotAPIPath','CLOSE_ROOM','PERMISSION_REJ','mergeOverrideWithDependencies','changesets','fetchMiss','\x20to\x20','_toggleOnline','max','getFocusedUnit','EmptyMutation','USERS_LEAVE','deleteCollaborator','YUUMI_RATE_OVER_LIMIT','capture','SerializableCipher','onSendChangeset','2389323vslzJL','?size=','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_transformStateCache','3441472hkWSsI','waitForRoom$','BlockCipher','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','enableSingleActiveInstanceLock','ivSize','[FetchMissState]','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','UniverDrawing','incrementRevOfUnit','_snapshotServerService','file','loadSheet','CollaborationEvent','_unlockTransition','confirm','/object','UniverDocs','complete','state','onSyncEditingCollabCursor','JOIN_ROOM_FULL','[SyncedState]:\x20received\x20rejection.','getLatestCsReqIdBySid','_collaborationSessionService','updateCollaborator','UniverSheets','CHANGESET_REVISION_CONFILICT','allowed','cfg','_scheduleCompleteTimestamp','People','filter','Disposable','method','_telemetryService','getRoom','cmd','requireSession','onRemoteRej','Optional','_loadSheet','CHANGESET_SHOULD_RETRY','WordArray','send','univer-pro.collaboration-client.single-active-unit-service','/rev/','kdf','[PendingState]:\x20unhandled\x20univer\x20type:\x20','formatter','object','RECV','removeMember','UnitEmbedded','_sessions','selections','onStarting','list','LOGIN_URL_KEY','next'];_0xb670=function(){return _0x33b73b;};return _0xb670();}
1
+ function _0x23d9(_0x36af76,_0x3ce2f5){var _0x549a0b=_0x549a();return _0x23d9=function(_0x23d9e4,_0x1e3255){_0x23d9e4=_0x23d9e4-0xa8;var _0x257702=_0x549a0b[_0x23d9e4];return _0x257702;},_0x23d9(_0x36af76,_0x3ce2f5);}function _0x549a(){var _0x1b9e18=['JOIN','LIVESHARE_OPERATION','_getDownloadEndpointURL','JSONX','snapshot','Error\x20on\x20receiving\x20event','@univerjs/core','_clearRetryConnectingTimer','Tools','_commentService','complete','members','OPTIONAL','&to=','lib','parse','@univerjs/telemetry','range','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','addHandlerCallback','_keySchedule','setWaitCount','error','UniverDocs','online$','CommentService','onCommandExecuted','_scheduleCollaborationTimeoutTimer','status$','_change$','random','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','allowed','getMemberID','close','SNAPSHOT_SERVER_URL_KEY','_cipher','has','_clearTimeoutTimer','_resendTimeout','_doCryptBlock','textRanges','socket\x20close','unitId','1022889YcQWfJ','_initMergeInterceptor','_members','capture','LICENSE_MAX_UNITS_EXCEEDED','138960cSqdDR','_handler','BlockCipher','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','isArray','push','reject','LOGIN_FAILED','authzUrl','eventID','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','/new_changes','SHA1','hasOwnProperty','disableLocalCache','awaitingChangeset','event$','HELLO','createDecryptor','_event$','resourceIDs','onStarting','put','_localeService','decrypt','session','SheetCollaborationEntity','_pendingMutations','toggleOffline','_instanceService','INVITE_CODE_REQUIRED','image/bmp','baseRev','getValue','$super','image/jpg','_clearCollaborationTimeoutTimer','@univerjs-pro/collaboration','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_collaborationSessionService','IConfigService','INGEST','_substituteRedoStack','join','next','Disposable','registerDependencies','delay','newCsEvent','_state','_socketMessageSubscription','UniverNetworkPlugin','joinRsp','PSEUDO_FETCH_MISSING_RESULT','override','_retryConnectingTimer','PERMISSION_DENIED','Subject','params','UniverSheets','_candidateSocket','_oKey','UniverCore','hasher','PY_RUNTIME_SCRIPT_ERROR','_univerInstanceService','INTERNAL_ERROR','INetworkConditionService','clamp','onMissedChangesetFetched','_transitionLocked','stopTime','getUnitType','get','IPermissionService','MergeInterceptorFactory','@univerjs-pro/license','ITransformService','url','UniverProCollaboration','/universer-api/file/{fileID}/sign-url','asObservable','_collaborationPaused','enableOfflineEditing','synced','objectActions','decryptBlock','53397qqvlOG','_onFetchMissResult','_isPermissionRej','_DEC_XFORM_MODE','getCollabEntity$','CONNECTOR_DATA_TOO_LARGE','FileId','takeUntil','APPLY_REVISION_CONFILICT','DocCollaborationEntity','enableSingleActiveInstanceLock','SheetsSelectionsService','_unitID','/universer-api/uniscript','findIndex','getTime','pad','_createHelper','fromCharCode','collabWebSocketUrl','debug','replace','UnitSnapshot','setConfig','updatePermissionPoint','abs','_clearLocalCache','[CollaborationUndoRedoService]','OfflineState','getConfig','UNISCRIPT_RUN','@univerjs/drawing','awaiting_with_pending','UNIVER_SLIDE','IDLE','[FetchMissState]','ciphertext','Base','[PendingState]:\x20received\x20rejection.','UniverCollaborationPlugin','_transformRemoteChangesetByStateCache','_waitCount','fromCollab','downloadEndpointUrl','revision','GLOBAL_ROOMS_CNT_EXCEEDS','floor','YUUMI_ASYNCIO_CANCELLED','AES','_awaitingChangeset','MentionType','status','CBC','DEFAULT_FILE_NAME','_queuedRemoteChangesets','send','executeCommand','JOIN_ROOM_FULL','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','changesets','_onCombEvent','_iKey','_onLocalMutation','/universer-api/snapshot','entityInit$','_schedule','_onUserLeave','[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.','UPDATE_CURSOR','_onRemoteChangeset','getUnitStatus$','sendChangesetTimeout','[UniverCollaborationClientPlugin]','_data','_socketService','collaboration_new_changeset','LICENSE_IMPORT_SIZE_EXCEEDED','_config','_initCloseConn','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','RECV','_userManagerService','createInstance','waitForRoom$','COMPRESS_MUTATION_SEND','FETCH_MISSING','OpenSSL','iterations','_getAPIPrefixPath','_onRemoteRetry','disposeWithMe','objectID','_disableEditing','Rectangle','post','_getSendChangesetTimeout','onRemoteAck','unknown','getSheetBlock','HEARTBEAT','_localCacheService','conflict','ONLINE','NEW_CHANGESETS','AwaitingState','prototype','getUnitId','msCrypto','Workbook','retryConnectingInterval','_submitChangeset','updateCursorEvent','[CollaborationSessionService]:\x20socket\x20error','PERSON','map','_changesetSessionId','USERS_ENTER','Injector','list','StreamCipher','NOT_FOUND','collabSubmitChangesetUrl','originalMeta','_removeRoom','includes','crypto','_prevBlock','UniverCollaborationClientPlugin','/object','LOGIN_URL_KEY','touchDependencies','kdf','HTTPRequest','NOT_COLLAB','transformUndoRedo','@univerjs/network','ceil','transformStack\x20failed!','COMPLETION_FINISHED','memberID','onMissingChangesets','members$','updateMember','/fetchmissing?from=','_networkConditionService','copyFileMeta','transformMutationsWithChangeset','keySize','listCollaborators','AUTHZ_URL_KEY','IImageIoService','getCurrentRevOfUnit','_transformStack','pending','_sessions','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','encrypt','x-univer-host','[DataLoaderService]','Base64','_getAPIPrefix','UniverInstanceType','apply','ILocalCacheService','charAt','leaveEvent','FetchingMissState','_clearRedo','failed\x20to\x20apply\x20missed\x20changesets!','RETRY_CONNECTING_MAX_COUNT_KEY','OTHER_CLIENT_EDITING','createEncryptor','unpad','Malformed\x20UTF-8\x20data','_syncEditingCollabCursor','exports','getSnapshotAPIPath','_doReset','_executeRemoteChangeset','indexOf','snapshotServerUrl','_onConnectionOpen','rxjs','getTypeOfUnitAdded$','MemberService','Pkcs7','__creator','/universer-api/authz','50qpLoZo','appendMutation','updatePermissionObjEvent','sin','_snapshotService','getDeserializedSheetBlock','[OfflineState]:\x20received\x20acknowledgement.','_getUndoStack','getMember','clone','setCurrentUser','_nDataBytes','add','/block/','onRemoteRetry','defineProperty','splice','loadSheet','stringify','CollaborationImageIoService','ImageUploadStatusType','userID','loadOfflineData','DataLoaderService','registerHTTPInterceptor','isTransformMutationsWithChangesetFailure','UserProfileImg','create','_entities','\x0aAfter:\x20','_socket','_updateState','enc','isPermissionRej','size','init','saveSheetBlock','concat','reconnect','_logService','LocaleService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','__Key__','_resendWithTimeout','[CollaborationState]:\x20apply\x20error!','data','_init','HEARTBEAT_TIMEOUT_KEY','getInterceptPoints','find','readyForCollab','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','SNAPSHOT_INVALID_SNAPSHOT','[CollaborationEntity]','state','substr','_socketReady','socketService','_ENC_XFORM_MODE','toString','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','YUUMI_UNABLE_LOAD_URL','entries','_throwTelemetryCollaborationNewChangeset','name','isTransformMutationsWithChangesetSuccess','JOINING','/object/','connection\x20error','SetSelectionsOperation','_doProcessBlock','UnitStatus','href','INVALID_INVITE_CODE','_sendHeartbeat','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_keyPriorReset','_initUnitPermissionChange','CHANGESET_ACK','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','ILogService','telemetry\x20info\x20is\x20not\x20initialized','CollaborationUIEventService','byteLength','YUUMI_URL_COL_OUT_OF_RANGE','startTime','_commandService','ivSize','UNRECOGNIZED','SUCCUSS','SheetTransformSelectionsService','_minBufferSize','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','onLocalMutation','buffer','textEncoder','closeSession','clear','_tryEnsureSocket','JOIN_ROOM_NOT_EXISTS','blockSize','_xformMode','object','MentionIoHttpService','subject','selections','values','Undefined','toDisposable','words','dispose$','toLowerCase','loginUrlKey','getRoom','auth.needGotoLoginAlert','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_getSignURL','concatMap','MSG_FOR_ERROR','_fetchMissChangesets','encodeURIComponent','ImageSourceType','HTTPService','LIVESHARE_FETCH_OPERATIONS','COMMENT_UPDATE','INVALID_ARGUMENT','updateOfflineData','_iv','mixIn','Failed\x20to\x20update\x20permission\x20point','AuthzIoHttpService','toStringTag','HEARTBEAT_INTERVAL','getLatestCsReqIdBySid','set','collaborators','APPLY_NON_SEQUENTIAL_REVISION','_sendHeartbeatTimer','APPLY_REJECT','TOO_MANY_REQUESTS','requireSession','_undoStacks','LIVESHARE_NEW_HOST','incrementRevOfUnit','_telemetryInfo','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','UNDEFINED','HEARTBEAT_TIMEOUT','sessionStatus$','_unitInfo$','sid','_collaborationUIEventService','CollaborationEvent','finalize','BehaviorSubject','_stopTelemetryCollaborationNewChangeset','commentUpdateEvent','unitID','8QzzBYJ','IUniverInstanceService','m2Prime','result','socket\x20open.','toggleOnline','_resendTimer','resend','_createHmacHelper','HmacSHA1','byteOffset','_initRequestHeader','_redoStacks','2055mufBAB','csShouldRetryEvent','createIdentifier','COLLAB_WEB_SOCKET_URL','WordArray','sequenceExecute','getOwnPropertyDescriptor','IContextService','_sessionStatus$','deleteCollaborator','_loadSheet','PERMISSION_REJ','LOCAL_CACHE_INTERVAL_KEY','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','CommandType','_members$','BufferedBlockAlgorithm','fetch_missing','USERS_LEAVE','89342gjlMvy','type','_socket$','_memberService','SOCKET_FAILED_RETRY','UNIVER_UNKNOWN','dispose','UniverNetwork','onSendChangeset','_listenToNetworkCondition','focused$','_doFinalize','CHANGESET_REVISION_CONFILICT','_startCollaboration','padding','awaiting','message$','routeKey','_shouldReportTelemetry','algo','AwaitingWithPendingState','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','slice','_timeoutTimer','APPLY_DUPLICATED','_entityInit$','_createHandler','_sendingTimer','ws://127.0.0.1:8000/universer-api/comb/connect','_updateLocalCache','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','@univerjs/docs','loadUnit','CHANGESET_SHOULD_RETRY','file','ConflictState','UNIVER_SHEET','_retryCount','&source=','now','_decreaseWaiting','onStateChange','_transformSelections','fetchMiss','_exhaustRemoteChangesetQueue','shouldCloseConn','_getUploadFileURL','getAllMembers','HMAC','length','_commentUpdate$','_collaborationTimeoutTimer','LIVESHARE_TERMINATE','OTHER_CLIENTS_EDITING','ERROR_IMAGE_TYPE','LICENSE_DISTRO_REJECTED','change$','signUrlServerUrl','_scheduleCompleteTimestamp','_imageSourceCache','CollaborationSession','refreshPermission','_httpService','_invKeySchedule','default','isTransformChangesetsSuccess','3167340PKixqM','Hasher','liveShareOperation','close$','?url=','_updateStatus','onTransformRemoteChangesetByStateCache','getTypeOfUnitDisposed$','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_showConflictNotification','_checkMissing','CLOSE_ROOM','SHOULD_CLOSE_CONN','subscribe','symbol','_clearScheduledTask','format','_getCurrentRevision','_map','USER_NOT_INVITED_CODE','/universer-api/oidc/authpage','[OfflineState]:\x20received\x20rejection.','UNAUTHENTICATED','NO_OTHER_CLIENTS_EDITING','HttpExport','sigBytes','_replayCachedMutations','localeService','POST','randomBytes','UniverDrawing','headers','UNKNOWN_CMD','_loadDoc','firstValueFrom','IAuthzIoService','onRemoteChangeset','rev','onlyLocal','charCodeAt','extend','\x20to\x20','_initDependencies','ISocketService','delete','reset','/universer-api/snapshot/','MOBILE_HAS_BEEN_BOUND','_onOffline','ISingleActiveUnitService','CollaborationEntity','max','_state$','@univerjs/sheets','[CollaborationSession]','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','/collaborator','location','onTransformState','unitId\x20is\x20not\x20found','FAIL','COMPRESS_MUTATION_APPLY','src','UPDATE_PERMISSION_OBJ','encode','CONFLICT','Plugin','liveShareNewHost','SEND_CHANGESET_TIMEOUT','INVITE_CODE_HAS_BEEN_UES','EXCHANGE_SIGN_URL_SERVER_URL_KEY','YUUMI_RATE_OVER_LIMIT','randomUUID','Utf8','duration','_handlerCallback','CompressMutationService','collaMsg','12yJWhnH','LICENSE_EXPORT_SIZE_EXCEEDED','_onRemoteRejected','_toggleOffline','error$','body','_reverseMap','_telemetryService','/universer-api/stream/file/upload','LOCAL_CACHE_INTERVAL','getGlobalObject','getCurrentUser','\x0aCurrent:\x20','c1Prime','reverse','onTransformRemoteChangesetByIMECache','_sender','_process','AWAITING','createSocket','CipherParams','UnitEmbedded','getCollabEntity','_mode','localCacheService','DEFAULT_WS_SESSION_TICKET_URL','actions','UniverProCollaborationClient','getImage','_revisionService','execute','_replaceFileID','/-/object/-/batch_allowed','ERROR_EXCEED_SIZE','Decryptor','deepClone','_hash','RxDisposable','CollaborationStatus','_clearUndo','getImageSourceCache','interceptor','not_collab','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','forEach','_snapshotServerService','_append','HEARTBEAT_INTERVAL_KEY','_transformUndoredo','ENSURE_SNAPSHOT_EXECUTION','_hasher','_undoRedoService','cfg','editing\x20status\x20changed\x20to','getCurrentSelections','session.room-permission-denied','reduce','OFFLINE','min','?size=','_transformStateCache','readAsDataURL','SnapshotServerOverHTTPService','infoRsp','/resources','append','objects','YUUMI_SUBSCRIPTION_NOT_FOUND','_registerDependencies','SUBMIT_CHANGESET_TIMEOUT','EmptyMutation','update','PENDING','_transformIMECache','[CollaborationSessionService]','CollaborationUIEventId','RichTextEditingMutation','894Ksbjff','image/jpeg','SyncedState','Optional','function','_clearHeartbeatTimer','commentUpdate$','MUTATION','DEFAULT_COLLAB_WEB_SOCKET_URL','pipe','submit\x20changeset\x20error!','code','CHANGESET_REJ','b64DecodeUnicode','_compressMutationService','compute','reqId','collaboration-client.local-cache-service','_onJoinRoomEvent','/-/object/list','Module','140463ffOqJx','12QylxhC','patch','CollaborationController','PendingState','_joinRoom','_parse','removeMember','Quantity','getWorkbookSelections','salt','BASE64','_roomCreated$','requestParams','_unlockTransition','YUUMI_NO_CUBOID_FOR_QUESTION','mapDocumentTypeToUniverType','UNIVER_PROJECT','_key','Latin1','_onMessage','\x20-\x20','ICommandService','_roomMembers','ReplaySubject','_applyRemoteChangeset','serializeCombRequest','merge','_collabSessionService','title','mode','operators','parseProtocolChangeset','target','createCollaborator','cmd','[SyncedState]:\x20received\x20acknowledgement.','onTransformIME','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','collaboration-client.config','_transformRemoteChangesetByIMECache','MD5','EvpKDF','LEAVE','permissionRejEvent','{fileID}','CollaborationSessionService','_transformService','_status$','_lockTransition','ERROR_IMAGE','JOIN_ROOM_FAILED','_rescheduleHeartbeat','repeat','origin','HttpImport','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','rng','sessionStatus','_remoteChangesetQueue','WorkbookEditablePermission','generateRandomId','UniverProLicense','catch','uniscriptRunEvent','isInternalEditorID','_onConflict','unsubscribe','rxjs/operators','state$','JOIN_ROOM_PERMISSION_DENIED','APPLY_PERMISSION_DENIED','/unit/','INVITE_CODE_ALREADY_BOUND','onTransformSelections','encryptBlock','Inject','_waitForHeartbeatResponse','_injector','saveSnapshot','RETRY_CONNECTING_MAX_COUNT','collaboratorID','LocalUndoRedoService','Encryptor','string','_acknowledgedAwaitingChangeset','_tryReconnect','take','ThresholdInterceptorFactory','fetching\x20missing\x20changesets\x20from\x20','_nRounds','EMAIL_HAS_BEEN_BOUND','SheetPermissionInitController','method','filter','IUndoRedoService','withCredentials','_getRedoStack','emitEvent','_type','shareReplay','IMentionIOService','ISnapshotServerService','_createInitialStateImpl','_HTTPService','onSyncEditingCollabCursor','_emitMembers','mutations','_singleActiveUnitService','onCommentUpdate','addImageSourceCache','SUBMIT_CHANGESET','getFocusedUnit','_changesetReqId','UniverTelemetry','_toggleOnline','fetchThroughInterceptors','_startTelemetryCollaborationNewChangeset','ITelemetryService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','ALREADY_EXISTS','fetchMissingChangesets','getLocalCacheKey','_onRecvEvent','CollaborationSocketService','objectType','WECHAT_HAS_BEEN_BOUND','CollaborativeUndoRedoService','_createInitialState','every','SYNCED','SOCKET_FAILED','getRandomValues','then','COLLAB_SUBMIT_CHANGESET_URL_KEY','bind','transformChangesets','__esModule','_getLoginPath','_permissionService','open$','RevisionService','call','updateCollaborator','_onConnectionFailed','uploadFileServerUrl','_incrementRevisionNumber','onRemoteRej','DisposableCollection','confirm','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','UNIVER_DOC','_configService'];_0x549a=function(){return _0x1b9e18;};return _0x549a();}(function(_0x540817,_0x1a1ea7){var _0x2119ee=_0x23d9,_0x1d6803=_0x540817();while(!![]){try{var _0x124016=-parseInt(_0x2119ee(0x29d))/0x1+parseInt(_0x2119ee(0xe1))/0x2+parseInt(_0x2119ee(0x2f4))/0x3*(parseInt(_0x2119ee(0x171))/0x4)+parseInt(_0x2119ee(0xce))/0x5*(-parseInt(_0x2119ee(0x1be))/0x6)+-parseInt(_0x2119ee(0x298))/0x7*(parseInt(_0x2119ee(0xc1))/0x8)+-parseInt(_0x2119ee(0x1d3))/0x9*(-parseInt(_0x2119ee(0x3b0))/0xa)+parseInt(_0x2119ee(0x123))/0xb*(parseInt(_0x2119ee(0x1d4))/0xc);if(_0x124016===_0x1a1ea7)break;else _0x1d6803['push'](_0x1d6803['shift']());}catch(_0x1c1aac){_0x1d6803['push'](_0x1d6803['shift']());}}}(_0x549a,0x1cbd5),function(_0x334c98,_0x41344e){var _0x54e5cf=_0x23d9;typeof exports==_0x54e5cf(0x416)&&typeof module<'u'?_0x41344e(exports,require(_0x54e5cf(0x272)),require('rxjs'),require(_0x54e5cf(0x217)),require(_0x54e5cf(0x2c2)),require(_0x54e5cf(0x37b)),require('@univerjs/telemetry'),require(_0x54e5cf(0x100)),require(_0x54e5cf(0x158)),require(_0x54e5cf(0x313)),require(_0x54e5cf(0x2e9))):typeof define=='function'&&define['amd']?define([_0x54e5cf(0x3a3),_0x54e5cf(0x272),_0x54e5cf(0x3aa),_0x54e5cf(0x217),_0x54e5cf(0x2c2),'@univerjs/network',_0x54e5cf(0x27c),_0x54e5cf(0x100),_0x54e5cf(0x158),_0x54e5cf(0x313),_0x54e5cf(0x2e9)],_0x41344e):(_0x334c98=typeof globalThis<'u'?globalThis:_0x334c98||self,_0x41344e(_0x334c98[_0x54e5cf(0x18c)]={},_0x334c98[_0x54e5cf(0x2db)],_0x334c98[_0x54e5cf(0x3aa)],_0x334c98[_0x54e5cf(0x3aa)][_0x54e5cf(0x1f2)],_0x334c98[_0x54e5cf(0x2ec)],_0x334c98[_0x54e5cf(0xe8)],_0x334c98[_0x54e5cf(0x245)],_0x334c98[_0x54e5cf(0x283)],_0x334c98[_0x54e5cf(0x2d8)],_0x334c98[_0x54e5cf(0x141)],_0x334c98[_0x54e5cf(0x211)]));}(this,function(_0x2628ab,_0xd26f96,_0x22f260,_0x13752f,_0x383951,_0x46d276,_0x4c59a5,_0x223e26,_0x20d27e,_0x2aea7a,_0x5c79f3){'use strict';var _0x40be40=_0x23d9;var _0x1f564e=Object[_0x40be40(0x3bf)],_0x31d169=(_0x1403c1,_0x374439,_0x5132ed)=>_0x374439 in _0x1403c1?_0x1f564e(_0x1403c1,_0x374439,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5132ed}):_0x1403c1[_0x374439]=_0x5132ed,_0x2d2abe=(_0x552c06,_0x11fc82,_0x5f5993)=>_0x31d169(_0x552c06,typeof _0x11fc82!=_0x40be40(0x131)?_0x11fc82+'':_0x11fc82,_0x5f5993);const _0x3597d4=_0x40be40(0x28f),_0xa1dc24=_0x40be40(0x333),_0x481aa2='SNAPSHOT_URL_KEY',_0xa888af=_0x40be40(0x167),_0x22ae2a=_0x40be40(0xd1),_0x4249c7=_0x40be40(0xfd),_0x32a425='/universer-api/user/session-ticket',_0x17b7d4=_0x40be40(0x434),_0x11a4d4=_0x40be40(0xb6),_0x14c889=_0x40be40(0x223),_0x342cce=_0x40be40(0x17a),_0x2279c4='COLLAB_SUBMIT_CHANGESET_URL',_0x4e2491='/universer-api/comb',_0x6d7a56='LOGIN_URL_KEY',_0xc36801=_0x40be40(0x137),_0x47daff=_0x40be40(0x15a),_0x2e9113=_0x40be40(0x301);var _0x3c8fc3=(_0xd6ee11=>(_0xd6ee11[_0xd6ee11['UNDEFINED']=0x0]=_0x40be40(0xb5),_0xd6ee11[_0xd6ee11['OK']=0x1]='OK',_0xd6ee11[_0xd6ee11[_0x40be40(0x2df)]=0x2]=_0x40be40(0x2df),_0xd6ee11[_0xd6ee11[_0x40be40(0x2d5)]=0x3]=_0x40be40(0x2d5),_0xd6ee11[_0xd6ee11[_0x40be40(0x36c)]=0x4]=_0x40be40(0x36c),_0xd6ee11[_0xd6ee11[_0x40be40(0x139)]=0x5]='UNAUTHENTICATED',_0xd6ee11[_0xd6ee11['ALREADY_EXISTS']=0x6]=_0x40be40(0x24b),_0xd6ee11[_0xd6ee11['INVALID_ARGUMENT']=0x7]=_0x40be40(0x42d),_0xd6ee11[_0xd6ee11[_0x40be40(0xae)]=0x8]=_0x40be40(0xae),_0xd6ee11[_0xd6ee11[_0x40be40(0x37e)]=0x9]=_0x40be40(0x37e),_0xd6ee11[_0xd6ee11[_0x40be40(0x2a4)]=0xa]='LOGIN_FAILED',_0xd6ee11[_0xd6ee11[_0x40be40(0xed)]=0x1389]=_0x40be40(0xed),_0xd6ee11[_0xd6ee11[_0x40be40(0x3e4)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xd6ee11[_0xd6ee11['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0xd6ee11[_0xd6ee11[_0x40be40(0x1a2)]=0x1773]=_0x40be40(0x1a2),_0xd6ee11[_0xd6ee11['APPLY_REJECT']=0x1b59]=_0x40be40(0xad),_0xd6ee11[_0xd6ee11[_0x40be40(0xab)]=0x1b5a]=_0x40be40(0xab),_0xd6ee11[_0xd6ee11[_0x40be40(0x2fc)]=0x1b5b]=_0x40be40(0x2fc),_0xd6ee11[_0xd6ee11[_0x40be40(0x21a)]=0x1b5c]=_0x40be40(0x21a),_0xd6ee11[_0xd6ee11[_0x40be40(0xf9)]=0x1b5d]=_0x40be40(0xf9),_0xd6ee11[_0xd6ee11[_0x40be40(0x2f9)]=0x1f41]=_0x40be40(0x2f9),_0xd6ee11[_0xd6ee11['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x40be40(0x29c),_0xd6ee11[_0xd6ee11[_0x40be40(0xf6)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xd6ee11[_0xd6ee11[_0x40be40(0x340)]=0x232b]=_0x40be40(0x340),_0xd6ee11[_0xd6ee11[_0x40be40(0x172)]=0x232c]=_0x40be40(0x172),_0xd6ee11[_0xd6ee11[_0x40be40(0x118)]=0x232d]=_0x40be40(0x118),_0xd6ee11[_0xd6ee11[_0x40be40(0x3ed)]=0x2711]=_0x40be40(0x3ed),_0xd6ee11[_0xd6ee11[_0x40be40(0x404)]=0x2712]=_0x40be40(0x404),_0xd6ee11[_0xd6ee11[_0x40be40(0x16a)]=0x2713]=_0x40be40(0x16a),_0xd6ee11[_0xd6ee11[_0x40be40(0x1b4)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xd6ee11[_0xd6ee11[_0x40be40(0x1e2)]=0x271a]=_0x40be40(0x1e2),_0xd6ee11[_0xd6ee11[_0x40be40(0x323)]=0x271b]=_0x40be40(0x323),_0xd6ee11[_0xd6ee11[_0x40be40(0x2dd)]=0x2af9]=_0x40be40(0x2dd),_0xd6ee11[_0xd6ee11[_0x40be40(0x168)]=0x2ee1]=_0x40be40(0x168),_0xd6ee11[_0xd6ee11[_0x40be40(0x3f9)]=0x2ee2]=_0x40be40(0x3f9),_0xd6ee11[_0xd6ee11[_0x40be40(0x2bb)]=0x2ee3]=_0x40be40(0x2bb),_0xd6ee11[_0xd6ee11[_0x40be40(0x136)]=0x2ee4]='USER_NOT_INVITED_CODE',_0xd6ee11[_0xd6ee11[_0x40be40(0x21c)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0xd6ee11[_0xd6ee11[_0x40be40(0x251)]=0x32c9]=_0x40be40(0x251),_0xd6ee11[_0xd6ee11[_0x40be40(0x152)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0xd6ee11[_0xd6ee11['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x40be40(0x22e),_0xd6ee11[_0xd6ee11['UNRECOGNIZED']=-0x1]=_0x40be40(0x408),_0xd6ee11))(_0x3c8fc3||{}),_0x5dcae7=(_0x500af2=>(_0x500af2[_0x500af2[_0x40be40(0xe6)]=0x0]=_0x40be40(0xe6),_0x500af2[_0x500af2[_0x40be40(0x26a)]=0x1]=_0x40be40(0x26a),_0x500af2[_0x500af2[_0x40be40(0x105)]=0x2]='UNIVER_SHEET',_0x500af2[_0x500af2['UNIVER_SLIDE']=0x3]=_0x40be40(0x315),_0x500af2[_0x500af2[_0x40be40(0x1e4)]=0x4]='UNIVER_PROJECT',_0x500af2[_0x500af2[_0x40be40(0x408)]=-0x1]=_0x40be40(0x408),_0x500af2))(_0x5dcae7||{}),_0x5452df=(_0x45d2ec=>(_0x45d2ec[_0x45d2ec[_0x40be40(0x143)]=0x0]=_0x40be40(0x143),_0x45d2ec[_0x45d2ec[_0x40be40(0x2ae)]=0x1]=_0x40be40(0x2ae),_0x45d2ec[_0x45d2ec[_0x40be40(0x26c)]=0x2]=_0x40be40(0x26c),_0x45d2ec[_0x45d2ec[_0x40be40(0x1fe)]=0x3]=_0x40be40(0x1fe),_0x45d2ec[_0x45d2ec[_0x40be40(0x2c6)]=0x4]=_0x40be40(0x2c6),_0x45d2ec[_0x45d2ec['HEARTBEAT']=0x5]='HEARTBEAT',_0x45d2ec[_0x45d2ec[_0x40be40(0x344)]=0x6]='RECV',_0x45d2ec[_0x45d2ec[_0x40be40(0x408)]=-0x1]=_0x40be40(0x408),_0x45d2ec))(_0x5452df||{}),_0x55a511=(_0x4c26e6=>(_0x4c26e6[_0x4c26e6['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x4c26e6[_0x4c26e6['OK']=0x1]='OK',_0x4c26e6[_0x4c26e6[_0x40be40(0x15f)]=0x2]='FAIL',_0x4c26e6[_0x4c26e6[_0x40be40(0x32d)]=0x3e9]=_0x40be40(0x32d),_0x4c26e6[_0x4c26e6['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x40be40(0x413),_0x4c26e6[_0x4c26e6[_0x40be40(0x219)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x4c26e6[_0x4c26e6['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x4c26e6[_0x4c26e6[_0x40be40(0x408)]=-0x1]=_0x40be40(0x408),_0x4c26e6))(_0x55a511||{}),_0x5c435e=(_0x32eb31=>(_0x32eb31[_0x32eb31['Undefined']=0x0]=_0x40be40(0x41b),_0x32eb31[_0x32eb31[_0x40be40(0x20a)]=0x1]=_0x40be40(0x20a),_0x32eb31[_0x32eb31[_0x40be40(0x13b)]=0x2]=_0x40be40(0x13b),_0x32eb31[_0x32eb31[_0x40be40(0x186)]=0x3]=_0x40be40(0x186),_0x32eb31[_0x32eb31['UnitSnapshot']=0x4]=_0x40be40(0x30a),_0x32eb31[_0x32eb31['UserProfileImg']=0x5]=_0x40be40(0x3ca),_0x32eb31[_0x32eb31[_0x40be40(0x408)]=-0x1]=_0x40be40(0x408),_0x32eb31))(_0x5c435e||{});const _0x5b36e1=_0x40be40(0x1fa),_0x35e9ce={};var _0x450220=(_0x55e6c2=>(_0x55e6c2[_0x40be40(0x39e)]=_0x40be40(0x39e),_0x55e6c2['PERMISSION_DENIED']=_0x40be40(0x2d5),_0x55e6c2['CONFLICT']='CONFLICT',_0x55e6c2[_0x40be40(0x12e)]=_0x40be40(0x12e),_0x55e6c2[_0x40be40(0x206)]=_0x40be40(0x206),_0x55e6c2[_0x40be40(0xe5)]=_0x40be40(0xe5),_0x55e6c2[_0x40be40(0x256)]=_0x40be40(0x256),_0x55e6c2['SUBMIT_CHANGESET_TIMEOUT']=_0x40be40(0x1b6),_0x55e6c2))(_0x450220||{});class _0xeb5637{constructor(){var _0x3b2b69=_0x40be40;_0x2d2abe(this,_0x3b2b69(0x2b0),new _0x22f260['Subject']()),_0x2d2abe(this,_0x3b2b69(0x2ad),this[_0x3b2b69(0x2b0)]['asObservable']());}[_0x40be40(0x235)](_0x42554c){var _0x45591c=_0x40be40;this[_0x45591c(0x2b0)][_0x45591c(0x2c9)](_0x42554c);}}const _0x5f06c6=_0xd26f96[_0x40be40(0xd0)]('univer-pro.collaboration-client.network-condition.service');function _0x1ae7d6(_0x15fca1){var _0x22b09d=_0x40be40,_0x9a29c7,_0x1da6bb,_0xa76f1f,_0x1eb3a0,_0x52b094;const _0x3c2c48=_0x15fca1[_0x22b09d(0x3dd)],_0x36f5db=JSON[_0x22b09d(0x27b)](_0x3c2c48);switch(_0x36f5db[_0x22b09d(0x1f6)]){case _0x5452df['HEARTBEAT']:case _0x5452df[_0x22b09d(0x2ae)]:{const _0x4be155=_0x36f5db[_0x22b09d(0x1b0)];return{..._0x36f5db,'data':_0x4be155,'cmd':_0x36f5db[_0x22b09d(0x1f6)]};}case _0x5452df[_0x22b09d(0x26c)]:{const _0x3948d5=_0x36f5db[_0x22b09d(0x2d1)];return{..._0x36f5db,'data':_0x3948d5,'cmd':_0x36f5db[_0x22b09d(0x1f6)]};}case _0x5452df[_0x22b09d(0x344)]:{const _0x1e7395=_0x36f5db[_0x22b09d(0x170)];switch(_0x1e7395[_0x22b09d(0x2a6)]){case _0x383951[_0x22b09d(0xbb)][_0x22b09d(0xd9)]:return{..._0x36f5db,'data':{..._0x1e7395,'data':(_0x9a29c7=_0x1e7395[_0x22b09d(0x1ff)])==null?void 0x0:_0x9a29c7['cs']},'cmd':_0x36f5db['cmd']};case _0x383951[_0x22b09d(0xbb)][_0x22b09d(0x3fe)]:return{..._0x36f5db,'data':{..._0x1e7395,'data':(_0x1da6bb=_0x1e7395['csAckEvent'])==null?void 0x0:_0x1da6bb['cs']},'cmd':_0x36f5db[_0x22b09d(0x1f6)]};case _0x383951[_0x22b09d(0xbb)][_0x22b09d(0x35b)]:return{..._0x36f5db,'data':{..._0x1e7395,'data':(_0xa76f1f=_0x1e7395[_0x22b09d(0x2cd)])==null?void 0x0:_0xa76f1f['cs']},'cmd':_0x36f5db[_0x22b09d(0x1f6)]};case _0x383951[_0x22b09d(0xbb)]['CHANGESET_REJ']:return{..._0x36f5db,'data':{..._0x1e7395,'data':(_0x1eb3a0=_0x1e7395['csRejEvent'])==null?void 0x0:_0x1eb3a0['cs']},'cmd':_0x36f5db['cmd']};case _0x383951['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:return{..._0x36f5db,'data':{..._0x1e7395,'data':(_0x52b094=_0x1e7395[_0x22b09d(0xcf)])==null?void 0x0:_0x52b094['cs']},'cmd':_0x36f5db[_0x22b09d(0x1f6)]};case _0x383951['CollaborationEvent'][_0x22b09d(0x338)]:return{..._0x36f5db,'data':{..._0x1e7395,'data':_0x1e7395[_0x22b09d(0x363)]},'cmd':_0x36f5db[_0x22b09d(0x1f6)]};case _0x383951[_0x22b09d(0xbb)][_0x22b09d(0x368)]:return{..._0x36f5db,'data':{..._0x1e7395,'data':_0x1e7395['joinEvent']},'cmd':_0x36f5db[_0x22b09d(0x1f6)]};case _0x383951[_0x22b09d(0xbb)][_0x22b09d(0xe0)]:return{..._0x36f5db,'data':{..._0x1e7395,'data':_0x1e7395[_0x22b09d(0x399)]},'cmd':_0x36f5db['cmd']};case _0x383951['CollaborationEvent'][_0x22b09d(0xb1)]:return{..._0x36f5db,'data':{..._0x1e7395,'data':_0x1e7395[_0x22b09d(0x166)]},'cmd':_0x36f5db[_0x22b09d(0x1f6)]};case _0x383951['CollaborationEvent'][_0x22b09d(0x42b)]:case _0x383951[_0x22b09d(0xbb)]['LIVESHARE_OPERATION']:return{..._0x36f5db,'data':{..._0x1e7395,'data':_0x1e7395[_0x22b09d(0x125)]},'cmd':_0x36f5db['cmd']};case _0x383951[_0x22b09d(0xbb)][_0x22b09d(0x115)]:return{..._0x36f5db,'data':{..._0x1e7395,'data':_0x1e7395[_0x22b09d(0x166)]},'cmd':_0x36f5db['cmd']};case _0x383951[_0x22b09d(0xbb)][_0x22b09d(0x426)]:return{..._0x36f5db,'data':_0x1e7395,'cmd':_0x36f5db[_0x22b09d(0x1f6)]};case _0x383951[_0x22b09d(0xbb)]['COMMENT_UPDATE']:return{..._0x36f5db,'data':{..._0x1e7395,'data':_0x1e7395[_0x22b09d(0xbf)]},'cmd':_0x36f5db[_0x22b09d(0x1f6)]};case _0x383951[_0x22b09d(0xbb)][_0x22b09d(0x162)]:return{..._0x36f5db,'data':{..._0x1e7395,'data':_0x1e7395[_0x22b09d(0x3b2)]},'cmd':_0x36f5db[_0x22b09d(0x1f6)]};case _0x383951[_0x22b09d(0xbb)][_0x22b09d(0x12f)]:return{..._0x36f5db,'data':{..._0x1e7395,'data':_0x1e7395[_0x22b09d(0x10e)]},'cmd':_0x36f5db[_0x22b09d(0x1f6)]};case _0x383951['CollaborationEvent'][_0x22b09d(0x312)]:return{..._0x36f5db,'data':{..._0x1e7395,'data':_0x1e7395[_0x22b09d(0x213)]},'cmd':_0x36f5db['cmd']};default:return _0x36f5db;}}default:return _0x36f5db;}}function _0x41237a(_0x13b20a){var _0x2035e9=_0x40be40;switch(_0x13b20a[_0x2035e9(0x1f6)]){case _0x5452df['HEARTBEAT']:case _0x5452df['HELLO']:return JSON[_0x2035e9(0x3c2)]({'cmd':_0x13b20a['cmd'],'routeKey':_0x13b20a['routeKey']});case _0x5452df['INGEST']:{let _0x3aaa37;switch(_0x13b20a[_0x2035e9(0x3dd)][_0x2035e9(0x2a6)]){case _0x383951[_0x2035e9(0xbb)][_0x2035e9(0x338)]:{_0x3aaa37={'eventID':_0x383951[_0x2035e9(0xbb)][_0x2035e9(0x338)],'updateCursorEvent':_0x13b20a[_0x2035e9(0x3dd)]['data']};break;}case _0x383951[_0x2035e9(0xbb)][_0x2035e9(0xe0)]:{_0x3aaa37={'eventID':_0x383951[_0x2035e9(0xbb)]['USERS_LEAVE'],'leaveEvent':_0x13b20a[_0x2035e9(0x3dd)][_0x2035e9(0x3dd)]};break;}case _0x383951['CollaborationEvent']['USERS_ENTER']:{_0x3aaa37={'eventID':_0x383951['CollaborationEvent']['USERS_ENTER'],'joinEvent':_0x13b20a[_0x2035e9(0x3dd)][_0x2035e9(0x3dd)]};break;}case _0x383951[_0x2035e9(0xbb)][_0x2035e9(0xb1)]:{_0x3aaa37={'eventID':_0x383951['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x13b20a[_0x2035e9(0x3dd)]['data']};break;}case _0x383951[_0x2035e9(0xbb)][_0x2035e9(0x26d)]:{_0x3aaa37={'eventID':_0x383951[_0x2035e9(0xbb)][_0x2035e9(0x26d)],'liveShareOperation':_0x13b20a['data']['data']};break;}case _0x383951[_0x2035e9(0xbb)][_0x2035e9(0x115)]:{_0x3aaa37={'eventID':_0x383951[_0x2035e9(0xbb)][_0x2035e9(0x115)],'liveShareTerminate':_0x13b20a[_0x2035e9(0x3dd)][_0x2035e9(0x3dd)]};break;}case _0x383951[_0x2035e9(0xbb)]['LIVESHARE_REQUEST_HOST']:{_0x3aaa37={'eventID':_0x383951['CollaborationEvent']['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x13b20a['data'][_0x2035e9(0x3dd)]};break;}case _0x383951[_0x2035e9(0xbb)][_0x2035e9(0x42b)]:{_0x3aaa37={'eventID':_0x383951[_0x2035e9(0xbb)][_0x2035e9(0x42b)]};break;}default:_0x3aaa37={'eventID':_0x13b20a[_0x2035e9(0x3dd)][_0x2035e9(0x2a6)]};}return JSON[_0x2035e9(0x3c2)]({'cmd':_0x13b20a[_0x2035e9(0x1f6)],'routeKey':_0x13b20a['routeKey'],'collaMsg':_0x3aaa37});}case _0x5452df['JOIN']:return JSON['stringify']({'cmd':_0x13b20a[_0x2035e9(0x1f6)],'routeKey':_0x13b20a[_0x2035e9(0xf2)],'joinReq':_0x13b20a[_0x2035e9(0x3dd)]});case _0x5452df[_0x2035e9(0x1fe)]:return JSON['stringify']({'cmd':_0x13b20a['cmd'],'routeKey':_0x13b20a['routeKey'],'leaveReq':_0x13b20a[_0x2035e9(0x3dd)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var _0x487898=Object[_0x40be40(0xd4)],_0xb3690d=(_0x2ce881,_0x20eb4c,_0x34d140,_0x14e90d)=>{var _0x207904=_0x40be40;for(var _0x203902=_0x14e90d>0x1?void 0x0:_0x14e90d?_0x487898(_0x20eb4c,_0x34d140):_0x20eb4c,_0x854bfa=_0x2ce881[_0x207904(0x112)]-0x1,_0x5be52d;_0x854bfa>=0x0;_0x854bfa--)(_0x5be52d=_0x2ce881[_0x854bfa])&&(_0x203902=_0x5be52d(_0x203902)||_0x203902);return _0x203902;},_0x130a62=(_0x24a0d0,_0x5c5d8d)=>(_0x34d0de,_0x3589a9)=>_0x5c5d8d(_0x34d0de,_0x3589a9,_0x24a0d0);const _0x179d33=_0xd26f96[_0x40be40(0xd0)]('univer-pro.collaboration-client-socket-service');function _0x1b5626(_0x23cccf,_0x50499e,_0x5949e8){var _0x5dafd6=_0x40be40;return _0x23cccf+'/'+_0x50499e+'/unit/'+_0x5949e8+_0x5dafd6(0x2a8);}_0x2628ab['CollaborationSocketService']=class extends _0xd26f96['Disposable']{constructor(_0x4743d5,_0x521bba,_0x239d3b,_0x28a554,_0x2e95b8){var _0x5134f5=_0x40be40;super(),this['_injector']=_0x4743d5,this[_0x5134f5(0x11f)]=_0x521bba,this[_0x5134f5(0x26b)]=_0x239d3b,this[_0x5134f5(0x3d7)]=_0x28a554,this[_0x5134f5(0x19e)]=_0x2e95b8;}['_doCreateSocket'](_0x2dd06a){var _0xdd06d0=_0x40be40;const _0x38d663=this[_0xdd06d0(0x221)][_0xdd06d0(0x2e6)](_0x46d276[_0xdd06d0(0x14e)]);if(!_0x38d663)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x4ebfac=_0x38d663[_0xdd06d0(0x184)](_0x2dd06a);if(!_0x4ebfac)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x2618f9=new _0xd26f96[(_0xdd06d0(0x267))](),_0x35a9c4=new _0x22f260['Subject']();_0x2618f9[_0xdd06d0(0x3bc)](_0x4ebfac['close$'][_0xdd06d0(0x130)](_0x5a3488=>_0x35a9c4[_0xdd06d0(0x2c9)](_0x5a3488))),_0x2618f9['add'](_0xd26f96['toDisposable'](()=>_0x35a9c4[_0xdd06d0(0x276)]()));const _0x2db115=new _0x22f260['Subject']();_0x2618f9[_0xdd06d0(0x3bc)](_0x4ebfac[_0xdd06d0(0x175)][_0xdd06d0(0x130)](_0x1cc93a=>_0x2db115[_0xdd06d0(0x2c9)](_0x1cc93a))),_0x2618f9['add'](_0xd26f96[_0xdd06d0(0x41c)](()=>_0x2db115[_0xdd06d0(0x276)]()));const _0x534cb7=new _0x22f260[(_0xdd06d0(0x2d6))]();_0x2618f9[_0xdd06d0(0x3bc)](_0x4ebfac[_0xdd06d0(0xf1)][_0xdd06d0(0x130)](_0x36a279=>{var _0x4c9748=_0xdd06d0;const _0x359e7c=_0x1ae7d6(_0x36a279);_0x534cb7[_0x4c9748(0x2c9)](_0x359e7c);})),_0x2618f9[_0xdd06d0(0x3bc)](_0xd26f96[_0xdd06d0(0x41c)](()=>_0x534cb7[_0xdd06d0(0x276)]()));let _0x144f62;const _0x1b21b5=()=>{var _0x148f7c=_0xdd06d0;_0x2db115[_0x148f7c(0x2c9)](new Event(_0x148f7c(0x3f4))),_0x35a9c4[_0x148f7c(0x2c9)](new Event(_0x148f7c(0x3f4))),_0x144f62[_0x148f7c(0x28e)]();};return _0x144f62={'memberID':'','close$':_0x35a9c4[_0xdd06d0(0x2ee)](),'error$':_0x2db115[_0xdd06d0(0x2ee)](),'open$':_0x4ebfac[_0xdd06d0(0x25f)],'message$':_0x534cb7[_0xdd06d0(0x2ee)](),'send':_0x155fa4=>{var _0x32c55c=_0xdd06d0;if(_0x155fa4[_0x32c55c(0x1f6)]===_0x5452df['INGEST']){if(_0x155fa4[_0x32c55c(0x3dd)]['eventID']===_0x383951[_0x32c55c(0xbb)]['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x144f62,_0x155fa4[_0x32c55c(0x3dd)])[_0x32c55c(0x212)](_0x355237=>{var _0x4b149b=_0x32c55c;this['_logService'][_0x4b149b(0x282)](_0x355237),_0x1b21b5();});return;}if(_0x155fa4[_0x32c55c(0x3dd)][_0x32c55c(0x2a6)]===_0x383951[_0x32c55c(0xbb)]['FETCH_MISSING']){const _0x524609=_0x155fa4[_0x32c55c(0x3dd)];this['_fetchMissChangesets'](_0x524609)[_0x32c55c(0x258)](_0x116686=>{var _0x5c2379=_0x32c55c;_0x534cb7['next']({'cmd':_0x5452df[_0x5c2379(0x344)],'code':_0x55a511['OK'],'routeKey':_0x524609[_0x5c2379(0x3dd)][_0x5c2379(0xc0)],'routeType':'','data':{'eventID':_0x383951['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x116686}}});})[_0x32c55c(0x212)](_0x2ca15b=>{var _0x152a96=_0x32c55c;this[_0x152a96(0x3d7)][_0x152a96(0x282)](_0x2ca15b),_0x1b21b5();});return;}}_0x4ebfac['send'](_0x41237a(_0x155fa4));},'close':()=>{var _0x205c8f=_0xdd06d0;_0x4ebfac[_0x205c8f(0x28e)](),_0x2618f9[_0x205c8f(0xe7)]();}},_0x144f62;}async[_0x40be40(0x362)](_0x2e23d7,_0x31535e){var _0x16f7cc=_0x40be40,_0xdc3450,_0x29f356;const {unitType:_0x3bc22c,unitID:_0x2d7052,changeset:_0x3e94e1}=_0x31535e[_0x16f7cc(0x3dd)],_0xbc819a={'unitID':_0x2d7052,'memberID':_0x2e23d7[_0x16f7cc(0x37f)],'type':_0x3bc22c,'changeset':_0x383951['parseChangesetToProtocol'](_0x3e94e1)},_0x19f83a=this[_0x16f7cc(0x26b)][_0x16f7cc(0x311)](_0x2279c4),_0x1d4ab3=this[_0x16f7cc(0x26b)]['getConfig'](_0x5b36e1),_0xf936d2=_0x1b5626((_0x29f356=(_0xdc3450=_0x1d4ab3==null?void 0x0:_0x1d4ab3[_0x16f7cc(0x36d)])!=null?_0xdc3450:_0x19f83a)!=null?_0x29f356:_0x4e2491,_0x3bc22c,_0x2d7052);try{await this[_0x16f7cc(0x11f)][_0x16f7cc(0x352)](_0xf936d2,{'body':_0xbc819a});}catch(_0x158d4a){throw this[_0x16f7cc(0x3d7)][_0x16f7cc(0x282)](_0x16f7cc(0x159),_0x16f7cc(0x1c8)),_0x158d4a;}}async[_0x40be40(0x427)](_0x1e71ad){var _0x12978b=_0x40be40;const {unitID:_0x26af66,from:_0x41251a,to:_0x547a7f,unitType:_0x586d54}=_0x1e71ad[_0x12978b(0x3dd)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x26af66,'type':_0x586d54,'from':_0x41251a,'to':_0x547a7f}))[_0x12978b(0x32f)];}},_0x2628ab[_0x40be40(0x24f)]=_0xb3690d([_0x130a62(0x0,_0xd26f96['Inject'](_0xd26f96['Injector'])),_0x130a62(0x1,_0xd26f96[_0x40be40(0x21f)](_0x46d276[_0x40be40(0x42a)])),_0x130a62(0x2,_0xd26f96[_0x40be40(0x2c5)]),_0x130a62(0x3,_0xd26f96[_0x40be40(0x400)]),_0x130a62(0x4,_0x383951['ISnapshotServerService'])],_0x2628ab[_0x40be40(0x24f)]);const _0x3b53ee=_0x40be40(0x33f);function _0x3c29f5(_0x30f717){var _0x217aea=_0x40be40;return JSON['stringify'](_0x30f717)[_0x217aea(0x112)];}class _0x1537a8{constructor(){var _0x5cb94b=_0x40be40;_0x2d2abe(this,_0x5cb94b(0x113),new _0x22f260[(_0x5cb94b(0x2d6))]()),_0x2d2abe(this,_0x5cb94b(0x1c4),this[_0x5cb94b(0x113)][_0x5cb94b(0x2ee)]());}[_0x40be40(0x240)](_0x3d3c87){this['_commentUpdate$']['next'](_0x3d3c87);}}var _0x4d00de=Object[_0x40be40(0xd4)],_0x207bc3=(_0x933adb,_0x1da502,_0x1a6962,_0xd1978b)=>{for(var _0x4e591a=_0xd1978b>0x1?void 0x0:_0xd1978b?_0x4d00de(_0x1da502,_0x1a6962):_0x1da502,_0x18940a=_0x933adb['length']-0x1,_0x3bd440;_0x18940a>=0x0;_0x18940a--)(_0x3bd440=_0x933adb[_0x18940a])&&(_0x4e591a=_0x3bd440(_0x4e591a)||_0x4e591a);return _0x4e591a;},_0x216a79=(_0x3188fe,_0x27784e)=>(_0xed92a,_0x53013e)=>_0x27784e(_0xed92a,_0x53013e,_0x3188fe);_0x2628ab[_0x40be40(0x3ac)]=class extends _0xd26f96['Disposable']{constructor(_0x2a5002,_0x51a571){var _0x1c38b5=_0x40be40;super(),_0x2d2abe(this,_0x1c38b5(0x1ea),new Map()),_0x2d2abe(this,_0x1c38b5(0x1df),new _0x22f260['Subject']()),(this[_0x1c38b5(0x2de)]=_0x2a5002,this[_0x1c38b5(0x345)]=_0x51a571,this[_0x1c38b5(0x34e)](_0x22f260[_0x1c38b5(0x1ee)](this['_univerInstanceService'][_0x1c38b5(0x12a)](_0xd26f96[_0x1c38b5(0x395)][_0x1c38b5(0x105)])['pipe'](_0x13752f['map'](_0x10aae2=>_0x10aae2[_0x1c38b5(0x35e)]())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0xd26f96['UniverInstanceType'][_0x1c38b5(0x26a)])[_0x1c38b5(0x1c7)](_0x13752f['map'](_0x5b2cfb=>_0x5b2cfb[_0x1c38b5(0x35e)]())),this[_0x1c38b5(0x2de)][_0x1c38b5(0x12a)](_0xd26f96['UniverInstanceType'][_0x1c38b5(0x315)])[_0x1c38b5(0x1c7)](_0x13752f['map'](_0x479b77=>_0x479b77['getUnitId']())))[_0x1c38b5(0x130)](_0x24b9ba=>this[_0x1c38b5(0x36f)](_0x24b9ba))));}[_0x40be40(0x347)](_0x4900cb){var _0x116fd4=_0x40be40;return this[_0x116fd4(0x1ea)]['has'](_0x4900cb)?_0x22f260['of'](this['_roomMembers'][_0x116fd4(0x2e6)](_0x4900cb)):this[_0x116fd4(0x1df)][_0x116fd4(0x1c7)](_0x13752f[_0x116fd4(0x366)](_0x226850=>{var _0x10c3ab=_0x116fd4;if(_0x226850===_0x4900cb)return this[_0x10c3ab(0x1ea)][_0x10c3ab(0x2e6)](_0x226850);}));}[_0x40be40(0x3ba)](_0x1c1e2a){var _0x579193=_0x40be40;this[_0x579193(0x345)]['setCurrentUser'](_0x1c1e2a);}[_0x40be40(0x17c)](){var _0x426832=_0x40be40;return this['_userManagerService'][_0x426832(0x17c)]();}[_0x40be40(0x382)](_0x16f4ac,_0x2a742d){var _0x1ea94d=_0x40be40;let _0x4d813f=this[_0x1ea94d(0x1ea)][_0x1ea94d(0x2e6)](_0x16f4ac);_0x4d813f||(_0x4d813f=new _0x3244e9(),this[_0x1ea94d(0x1ea)][_0x1ea94d(0xa9)](_0x16f4ac,_0x4d813f),this['_roomCreated$'][_0x1ea94d(0x2c9)](_0x16f4ac)),_0x4d813f[_0x1ea94d(0x382)](_0x2a742d);}['removeMember'](_0x37716d,_0x4d15ba){var _0x5e4448=_0x40be40;const _0x4b90ee=this[_0x5e4448(0x1ea)]['get'](_0x37716d);_0x4b90ee&&_0x4b90ee[_0x5e4448(0x1da)](_0x4d15ba);}[_0x40be40(0x421)](_0x91166e){var _0x5e8049=_0x40be40;return this[_0x5e8049(0x1ea)][_0x5e8049(0x2e6)](_0x91166e);}['getMember'](_0x1a01bd,_0x5776b3){var _0x53e038=_0x40be40;const _0x52a0bd=this['_roomMembers'][_0x53e038(0x2e6)](_0x1a01bd);if(_0x52a0bd)return _0x52a0bd[_0x53e038(0x3b8)](_0x5776b3);}[_0x40be40(0x36f)](_0x1e2d45){var _0x2b0a1d=_0x40be40;const _0x58b67d=this[_0x2b0a1d(0x1ea)][_0x2b0a1d(0x2e6)](_0x1e2d45);_0x58b67d&&(_0x58b67d[_0x2b0a1d(0xe7)](),this['_roomMembers'][_0x2b0a1d(0x14f)](_0x1e2d45));}[_0x40be40(0xe7)](){var _0xa5eb03=_0x40be40;this[_0xa5eb03(0x1ea)][_0xa5eb03(0x19d)](_0x594f14=>_0x594f14['dispose']()),this[_0xa5eb03(0x1ea)][_0xa5eb03(0x411)](),this[_0xa5eb03(0x1df)]['complete']();}},_0x2628ab['MemberService']=_0x207bc3([_0x216a79(0x0,_0xd26f96['IUniverInstanceService']),_0x216a79(0x1,_0xd26f96[_0x40be40(0x21f)](_0xd26f96['UserManagerService']))],_0x2628ab[_0x40be40(0x3ac)]);class _0x3244e9 extends _0xd26f96[_0x40be40(0x2ca)]{constructor(){var _0x289a29=_0x40be40;super(...arguments),_0x2d2abe(this,_0x289a29(0x29a),new Map()),_0x2d2abe(this,_0x289a29(0xdd),new _0x22f260[(_0x289a29(0xbd))](this[_0x289a29(0x29a)])),_0x2d2abe(this,_0x289a29(0x381),this[_0x289a29(0xdd)][_0x289a29(0x2ee)]());}[_0x40be40(0xe7)](){var _0x173238=_0x40be40;this[_0x173238(0x29a)][_0x173238(0x411)]();}[_0x40be40(0x382)](_0x4c9c23){var _0x101ed4=_0x40be40;this[_0x101ed4(0x29a)]['set'](_0x4c9c23[_0x101ed4(0x37f)],_0x4c9c23),this[_0x101ed4(0x23d)]();}[_0x40be40(0x1da)](_0x5cc497){var _0x2e4494=_0x40be40;this[_0x2e4494(0x29a)][_0x2e4494(0x14f)](_0x5cc497);}[_0x40be40(0x3b8)](_0x137820){var _0x7588e0=_0x40be40;return this[_0x7588e0(0x29a)][_0x7588e0(0x2e6)](_0x137820);}[_0x40be40(0x110)](){var _0x15e608=_0x40be40;return Array['from'](this['_members'][_0x15e608(0x41a)]());}[_0x40be40(0x23d)](){this['_members$']['next'](this['_members']);}}var _0x266d6e=Object[_0x40be40(0xd4)],_0x37927b=(_0x2cd280,_0x3e2039,_0x3fd458,_0xf4f495)=>{var _0x156eb0=_0x40be40;for(var _0x4df5df=_0xf4f495>0x1?void 0x0:_0xf4f495?_0x266d6e(_0x3e2039,_0x3fd458):_0x3e2039,_0x253dbb=_0x2cd280[_0x156eb0(0x112)]-0x1,_0x39e257;_0x253dbb>=0x0;_0x253dbb--)(_0x39e257=_0x2cd280[_0x253dbb])&&(_0x4df5df=_0x39e257(_0x4df5df)||_0x4df5df);return _0x4df5df;},_0x5a6c08=(_0x113252,_0x153172)=>(_0x428a92,_0x2d6e2b)=>_0x153172(_0x428a92,_0x2d6e2b,_0x113252),_0x59b840=(_0x3891f5=>(_0x3891f5[_0x3891f5['IDLE']=0x0]=_0x40be40(0x316),_0x3891f5[_0x3891f5[_0x40be40(0x3f2)]=0x1]=_0x40be40(0x3f2),_0x3891f5[_0x3891f5[_0x40be40(0x1aa)]=0x2]=_0x40be40(0x1aa),_0x3891f5[_0x3891f5[_0x40be40(0x35a)]=0x3]=_0x40be40(0x35a),_0x3891f5))(_0x59b840||{});const _0x5a1dec={[_0x55a511[_0x40be40(0x15f)]]:'session.join-failed',[_0x55a511[_0x40be40(0x32d)]]:'session.room-full',[_0x55a511[_0x40be40(0x413)]]:'session.room-not-exists',[_0x55a511['JOIN_ROOM_PERMISSION_DENIED']]:_0x40be40(0x1a8),[_0x55a511[_0x40be40(0x321)]]:'session.room-cnt-exceeds'};_0x2628ab[_0x40be40(0x11d)]=class extends _0xd26f96[_0x40be40(0x196)]{constructor(_0x1ad42f,_0x3e7d1d,_0x3fb848,_0x413bf0,_0x5403cf,_0x55e0bf,_0x531ee5,_0x537a54,_0x259edf){var _0xdd8520=_0x40be40;super(),_0x2d2abe(this,_0xdd8520(0xd6),new _0x22f260[(_0xdd8520(0xbd))](0x0)),_0x2d2abe(this,_0xdd8520(0xb7),this['_sessionStatus$'][_0xdd8520(0x2ee)]()),_0x2d2abe(this,_0xdd8520(0x2b0),new _0x22f260[(_0xdd8520(0x2d6))]()),_0x2d2abe(this,'event$',this[_0xdd8520(0x2b0)][_0xdd8520(0x2ee)]()),_0x2d2abe(this,_0xdd8520(0x3ce)),_0x2d2abe(this,'_socketMessageSubscription'),_0x2d2abe(this,_0xdd8520(0x114)),_0x2d2abe(this,_0xdd8520(0xf3),!0x1),_0x2d2abe(this,_0xdd8520(0xb3),null),(this[_0xdd8520(0x300)]=_0x1ad42f,this[_0xdd8520(0x3d7)]=_0x3fb848,this[_0xdd8520(0x26b)]=_0x413bf0,this[_0xdd8520(0x2b4)]=_0x5403cf,this[_0xdd8520(0xe4)]=_0x55e0bf,this[_0xdd8520(0x275)]=_0x531ee5,this['_collaborationUIEventService']=_0x537a54,this['_telemetryService']=_0x259edf,this[_0xdd8520(0xf3)]=!!this[_0xdd8520(0x178)],_0x3e7d1d[_0xdd8520(0x1c7)](_0x22f260['takeUntil'](this['dispose$']))[_0xdd8520(0x130)](_0x15af96=>{var _0x4145f7=_0xdd8520,_0x484f34;typeof _0x15af96>'u'||(this[_0x4145f7(0x3ce)]=_0x15af96,_0x15af96?(this[_0x4145f7(0x1d8)](_0x15af96),this[_0x4145f7(0x2cf)]=_0x15af96[_0x4145f7(0xf1)][_0x4145f7(0x130)](_0x206a9a=>{var _0x376df1=_0x4145f7;_0x206a9a[_0x376df1(0xf2)]===this[_0x376df1(0x300)]&&this[_0x376df1(0x330)](_0x206a9a);})):(this[_0x4145f7(0x3ef)](),this[_0x4145f7(0xd6)]['next'](0x2),(_0x484f34=this[_0x4145f7(0x2cf)])==null||_0x484f34[_0x4145f7(0x216)](),this['_socketMessageSubscription']=null));}));}get['sessionStatus'](){var _0x3c94b3=_0x40be40;return this[_0x3c94b3(0xd6)]['getValue']();}[_0x40be40(0x28d)](){var _0x47367c=_0x40be40,_0x2a0174,_0x1694f5;return(_0x1694f5=(_0x2a0174=this[_0x47367c(0x3ce)])==null?void 0x0:_0x2a0174[_0x47367c(0x37f)])!=null?_0x1694f5:null;}[_0x40be40(0xe7)](){var _0x19ab6d=_0x40be40;super[_0x19ab6d(0xe7)](),this[_0x19ab6d(0x41e)]['next'](),this['dispose$'][_0x19ab6d(0x276)]();}[_0x40be40(0x28e)](){var _0x2abc57=_0x40be40,_0x51bba6,_0xfa31c;this[_0x2abc57(0x3ef)](),(_0x51bba6=this[_0x2abc57(0x3ce)])==null||_0x51bba6['send']({'cmd':_0x5452df[_0x2abc57(0x1fe)],'data':{'roomID':this['_unitID']}}),(_0xfa31c=this['_socket'])==null||_0xfa31c[_0x2abc57(0x28e)](),this['_event$'][_0x2abc57(0x276)](),this[_0x2abc57(0xd6)][_0x2abc57(0x276)](),this[_0x2abc57(0xe7)]();}[_0x40be40(0x330)](_0x250344){var _0x3511f3=_0x40be40;_0x250344[_0x3511f3(0x1f6)]===_0x5452df[_0x3511f3(0x26c)]?this[_0x3511f3(0x1d0)](_0x250344):_0x250344['cmd']===_0x5452df['RECV']&&this[_0x3511f3(0x24e)](_0x250344);}[_0x40be40(0x1d8)](_0x589f7a){var _0x34e068=_0x40be40;this[_0x34e068(0xd6)][_0x34e068(0x2c9)](0x1),_0x589f7a['send']({'cmd':_0x5452df[_0x34e068(0x26c)],'routeKey':this[_0x34e068(0x300)],'routeType':'','data':{'rooms':[{'roomID':this[_0x34e068(0x300)]}]}});}[_0x40be40(0x1d0)](_0x45a99e){var _0x1b70e4=_0x40be40,_0x3613c8;if(_0x45a99e[_0x1b70e4(0x1c9)]in _0x5a1dec){this[_0x1b70e4(0xba)]['emitEvent']({'id':_0x450220[_0x1b70e4(0x206)],'data':_0x5a1dec[_0x45a99e['code']]}),this['_sessionStatus$'][_0x1b70e4(0x2c9)](0x2);return;}this[_0x1b70e4(0xd6)][_0x1b70e4(0x2c9)](0x3);const _0x4e3d6d=(_0x3613c8=_0x45a99e['data']['roomInfos'][this[_0x1b70e4(0x300)]])==null?void 0x0:_0x3613c8[_0x1b70e4(0x277)];_0x4e3d6d&&_0x4e3d6d[_0x1b70e4(0x19d)](_0x32b763=>this[_0x1b70e4(0xe4)][_0x1b70e4(0x382)](this['_unitID'],_0x32b763));}[_0x40be40(0x24e)](_0x38d58c){var _0x2e0d70=_0x40be40;try{const _0x5e3883=_0x38d58c[_0x2e0d70(0x3dd)];switch(_0x5e3883[_0x2e0d70(0x2a6)]){case _0x383951['CollaborationEvent'][_0x2e0d70(0x368)]:this['_onUserJoin'](_0x5e3883),this[_0x2e0d70(0x2b0)]['next'](_0x5e3883);break;case _0x383951[_0x2e0d70(0xbb)][_0x2e0d70(0xe0)]:this[_0x2e0d70(0x336)](_0x5e3883),this[_0x2e0d70(0x2b0)][_0x2e0d70(0x2c9)](_0x5e3883);break;case _0x383951[_0x2e0d70(0xbb)][_0x2e0d70(0x3fe)]:case _0x383951[_0x2e0d70(0xbb)][_0x2e0d70(0x102)]:this[_0x2e0d70(0xbe)](),this[_0x2e0d70(0x2c1)](),this[_0x2e0d70(0x2b0)][_0x2e0d70(0x2c9)](_0x5e3883);break;case _0x383951[_0x2e0d70(0xbb)][_0x2e0d70(0x426)]:this[_0x2e0d70(0x3d7)][_0x2e0d70(0x282)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x2e0d70(0x3c2)](_0x5e3883)),this[_0x2e0d70(0x2b0)][_0x2e0d70(0x2c9)](_0x5e3883);break;case _0x383951[_0x2e0d70(0xbb)][_0x2e0d70(0x42c)]:this[_0x2e0d70(0x275)][_0x2e0d70(0x240)](_0x5e3883[_0x2e0d70(0x3dd)]),this['_event$']['next'](_0x5e3883);break;default:this[_0x2e0d70(0x2b0)][_0x2e0d70(0x2c9)](_0x5e3883);}}catch(_0x4d6298){this['_logService'][_0x2e0d70(0x282)](_0x4d6298,_0x38d58c);}}['_onUserJoin'](_0x32cac8){var _0x1618c8=_0x40be40;this[_0x1618c8(0xe4)][_0x1618c8(0x382)](this[_0x1618c8(0x300)],_0x32cac8[_0x1618c8(0x3dd)]);}['_onUserLeave'](_0x3940bb){var _0x56c97a=_0x40be40;this['_memberService']['removeMember'](this['_unitID'],_0x3940bb[_0x56c97a(0x3dd)][_0x56c97a(0x37f)]);}async[_0x40be40(0x32b)](_0x468886,_0x57748c){var _0x552957=_0x40be40;if(this[_0x552957(0x20d)]!==0x3||!this['_socket'])throw new Error(_0x552957(0x269));try{_0x468886[_0x552957(0x2a6)]===_0x383951['CollaborationEvent'][_0x552957(0x242)]&&(this[_0x552957(0x287)](),this[_0x552957(0x248)](_0x468886)),this[_0x552957(0x3ce)][_0x552957(0x32b)]({'cmd':_0x5452df[_0x552957(0x2c6)],'routeKey':_0x57748c,'routeType':'','data':_0x468886});}catch(_0xdadebe){this[_0x552957(0x3d7)]['error'](_0xdadebe);}}['_scheduleCollaborationTimeoutTimer'](){var _0x2d9c0d=_0x40be40,_0x3b25a6;this[_0x2d9c0d(0x114)]=setTimeout(()=>{var _0x293154=_0x2d9c0d;this[_0x293154(0x114)]=null,this[_0x293154(0xba)][_0x293154(0x235)]({'id':_0x450220[_0x293154(0x1b6)]});},(_0x3b25a6=this[_0x2d9c0d(0x26b)][_0x2d9c0d(0x311)](_0x11a4d4))!=null?_0x3b25a6:0x4e20);}[_0x40be40(0x2c1)](){var _0x198278=_0x40be40;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x198278(0x114)]),this['_collaborationTimeoutTimer']=null);}[_0x40be40(0x248)](_0x26afad){var _0x17657d=_0x40be40;if(!this[_0x17657d(0xf3)])return;const {data:_0x34de15}=_0x26afad,{unitID:_0x345e1a,changeset:_0xdf26ed}=_0x34de15,{mutations:_0x41c9e0,type:_0x354b55}=_0xdf26ed;this[_0x17657d(0xb3)]={'unitId':_0x345e1a,'type':_0x354b55,'startTime':performance[_0x17657d(0x108)](),'stopTime':0x0,'duration':0x0,'size':_0x3c29f5(_0x41c9e0)};}[_0x40be40(0xbe)](){var _0x139505=_0x40be40;if(this[_0x139505(0xf3)]){if(!this[_0x139505(0xb3)]){this[_0x139505(0x3d7)][_0x139505(0x282)](_0x139505(0x159),_0x139505(0x401));return;}this[_0x139505(0xb3)][_0x139505(0x2e4)]=performance[_0x139505(0x108)](),this['_telemetryInfo'][_0x139505(0x16d)]=this[_0x139505(0xb3)]['stopTime']-this['_telemetryInfo'][_0x139505(0x405)],this[_0x139505(0x178)][_0x139505(0x29b)](_0x3b53ee,this['_telemetryInfo']),this[_0x139505(0xb3)]=null;}}[_0x40be40(0x3ef)](){var _0x53ab36=_0x40be40;this[_0x53ab36(0xb3)]=null;}},_0x2628ab['CollaborationSession']=_0x37927b([_0x5a6c08(0x2,_0xd26f96[_0x40be40(0x400)]),_0x5a6c08(0x3,_0xd26f96[_0x40be40(0x2c5)]),_0x5a6c08(0x4,_0xd26f96['Inject'](_0xd26f96[_0x40be40(0x3d8)])),_0x5a6c08(0x5,_0xd26f96['Inject'](_0x2628ab['MemberService'])),_0x5a6c08(0x6,_0xd26f96[_0x40be40(0x21f)](_0x1537a8)),_0x5a6c08(0x7,_0xd26f96[_0x40be40(0x21f)](_0xeb5637)),_0x5a6c08(0x8,_0xd26f96['Optional'](_0x4c59a5[_0x40be40(0x249)]))],_0x2628ab[_0x40be40(0x11d)]);var _0x3a3003=Object[_0x40be40(0xd4)],_0x1f4a49=(_0x3e9592,_0x3ab9e5,_0x2a2b32,_0x2ea08a)=>{var _0x46f47a=_0x40be40;for(var _0x309436=_0x2ea08a>0x1?void 0x0:_0x2ea08a?_0x3a3003(_0x3ab9e5,_0x2a2b32):_0x3ab9e5,_0xd45848=_0x3e9592[_0x46f47a(0x112)]-0x1,_0x4be86c;_0xd45848>=0x0;_0xd45848--)(_0x4be86c=_0x3e9592[_0xd45848])&&(_0x309436=_0x4be86c(_0x309436)||_0x309436);return _0x309436;},_0x415c71=(_0x4ee0c3,_0x21beeb)=>(_0x2badda,_0x195279)=>_0x21beeb(_0x2badda,_0x195279,_0x4ee0c3);_0x2628ab[_0x40be40(0x201)]=class extends _0xd26f96[_0x40be40(0x2ca)]{constructor(_0x557336,_0x441c8f,_0x57990b,_0x51eacc,_0x4dc4e6,_0x17c034){var _0x2b5240=_0x40be40;super(),_0x2d2abe(this,_0x2b5240(0xe3),new _0x22f260['BehaviorSubject'](void 0x0)),_0x2d2abe(this,'socket$',this[_0x2b5240(0xe3)]['asObservable']()),_0x2d2abe(this,_0x2b5240(0x2d9),null),_0x2d2abe(this,_0x2b5240(0x38e),new Map()),_0x2d2abe(this,_0x2b5240(0x203),new _0x22f260[(_0x2b5240(0xbd))](_0x59b840[_0x2b5240(0x316)])),_0x2d2abe(this,'status$',this[_0x2b5240(0x203)][_0x2b5240(0x2ee)]()),_0x2d2abe(this,_0x2b5240(0x3e8),!0x1),_0x2d2abe(this,_0x2b5240(0x2d4)),_0x2d2abe(this,_0x2b5240(0x106),0x0),_0x2d2abe(this,'_sendHeartbeatTimer'),_0x2d2abe(this,_0x2b5240(0xf8)),(this['_injector']=_0x557336,this[_0x2b5240(0x3d7)]=_0x441c8f,this['_configService']=_0x57990b,this[_0x2b5240(0x33e)]=_0x51eacc,this[_0x2b5240(0xba)]=_0x4dc4e6,this['_networkConditionService']=_0x17c034,this[_0x2b5240(0xea)]());}get['_socket'](){var _0x2022b0=_0x40be40;return this[_0x2022b0(0xe3)][_0x2022b0(0x2be)]();}[_0x40be40(0xea)](){var _0x1634b9=_0x40be40;this[_0x1634b9(0x384)]&&this['disposeWithMe'](this[_0x1634b9(0x384)][_0x1634b9(0x284)][_0x1634b9(0x130)](_0x1a400b=>{var _0x134b30=_0x1634b9;_0x1a400b&&!this['_socket']&&this[_0x134b30(0x3d6)](),_0x1a400b||this[_0x134b30(0x153)]();}));}[_0x40be40(0xe7)](){var _0x4e50c8=_0x40be40;super[_0x4e50c8(0xe7)](),this[_0x4e50c8(0x273)](),this[_0x4e50c8(0x292)](),this['_clearHeartbeatTimer'](),this[_0x4e50c8(0x38e)][_0x4e50c8(0x19d)](_0x3e3ec6=>_0x3e3ec6[_0x4e50c8(0xe7)]()),this['_sessions'][_0x4e50c8(0x411)](),this[_0x4e50c8(0x203)]['complete']();}async['requireSession'](_0x390209){var _0x3cffdc=_0x40be40;if(this[_0x3cffdc(0x38e)][_0x3cffdc(0x291)](_0x390209))return this['_sessions']['get'](_0x390209);this[_0x3cffdc(0x412)]();const _0x4ccb1f=this[_0x3cffdc(0x221)][_0x3cffdc(0x346)](_0x2628ab['CollaborationSession'],_0x390209,this['_socket$'][_0x3cffdc(0x2ee)]());return this[_0x3cffdc(0x38e)]['set'](_0x390209,_0x4ccb1f),_0x4ccb1f;}[_0x40be40(0x410)](_0x424779){var _0x14e9ac=_0x40be40,_0x4f1424;const _0x35b095=this[_0x14e9ac(0x38e)]['get'](_0x424779);_0x35b095&&(this[_0x14e9ac(0x38e)][_0x14e9ac(0x14f)](_0x424779),_0x35b095[_0x14e9ac(0x28e)]()),this[_0x14e9ac(0x38e)][_0x14e9ac(0x3d2)]||(_0x4f1424=this[_0x14e9ac(0x3ce)])==null||_0x4f1424['close']();}[_0x40be40(0x3d6)](){var _0x5bd283=_0x40be40;this[_0x5bd283(0x106)]=0x0,this[_0x5bd283(0x273)](),this[_0x5bd283(0x229)]();}[_0x40be40(0x273)](){var _0xf81ef3=_0x40be40;this[_0xf81ef3(0x2d4)]!=null&&(clearTimeout(this[_0xf81ef3(0x2d4)]),this[_0xf81ef3(0x2d4)]=null);}async['_createSocket'](){var _0x234dbc=_0x40be40,_0x10d09e,_0x2480d1;const _0x3c568d=this[_0x234dbc(0x26b)]['getConfig'](_0x22ae2a),_0x29d6f9=this['_configService'][_0x234dbc(0x311)](_0x5b36e1),_0x3c8f9b=(_0x2480d1=(_0x10d09e=_0x29d6f9==null?void 0x0:_0x29d6f9[_0x234dbc(0x307)])!=null?_0x10d09e:_0x3c568d)!=null?_0x2480d1:_0x4249c7,_0x34c439=await this['_socketService'][_0x234dbc(0x184)](_0x3c8f9b);return this[_0x234dbc(0x2d9)]=_0x34c439,_0x34c439;}async['_tryEnsureSocket'](){var _0x4a9554=_0x40be40,_0x39461b,_0xdde526;try{const _0xf42350=(_0xdde526=(_0x39461b=this[_0x4a9554(0x3ce)])!=null?_0x39461b:this[_0x4a9554(0x2d9)])!=null?_0xdde526:await this['_createSocket']();if(_0xf42350){const _0x97b28e=_0xf42350[_0x4a9554(0x32b)];_0xf42350['send']=_0x43677e=>(this[_0x4a9554(0x207)](),_0x97b28e[_0x4a9554(0x396)](_0xf42350,[_0x43677e])),_0xf42350[_0x4a9554(0xf1)]['subscribe'](_0x4d38aa=>this[_0x4a9554(0x1e7)](_0xf42350,_0x4d38aa)),_0xf42350[_0x4a9554(0x175)][_0x4a9554(0x1c7)](_0x13752f[_0x4a9554(0x22a)](0x1))[_0x4a9554(0x130)](_0x4331f5=>this[_0x4a9554(0x3d7)][_0x4a9554(0x282)](_0x4a9554(0x364),_0x4331f5)),_0xf42350[_0x4a9554(0x25f)][_0x4a9554(0x1c7)](_0x13752f[_0x4a9554(0x22a)](0x1))[_0x4a9554(0x130)](()=>{var _0x317634=_0x4a9554;this[_0x317634(0x3a9)](_0xf42350);}),_0xf42350[_0x4a9554(0x126)][_0x4a9554(0x1c7)](_0x13752f[_0x4a9554(0x22a)](0x1))[_0x4a9554(0x130)](_0x47c154=>{var _0x137978=_0x4a9554;this[_0x137978(0x3d7)]['debug'](_0x137978(0x1bb),_0x137978(0x296),_0x47c154),this[_0x137978(0x263)]();});}}catch(_0x2321cb){this[_0x4a9554(0x3d7)][_0x4a9554(0x282)](_0x2321cb),this[_0x4a9554(0x263)]();}}[_0x40be40(0x3a9)](_0x227818){var _0x975116=_0x40be40;this[_0x975116(0x3d7)][_0x975116(0x308)]('[CollaborationSessionService]',_0x975116(0xc5)),_0x227818[_0x975116(0x32b)]({'cmd':_0x5452df[_0x975116(0x2ae)]}),this[_0x975116(0x207)]();}[_0x40be40(0x153)](){var _0x1cb8ab=_0x40be40;this[_0x1cb8ab(0x3e8)]=!0x1,this['_candidateSocket']=null,this[_0x1cb8ab(0x203)][_0x1cb8ab(0x2c9)](_0x59b840[_0x1cb8ab(0x1aa)]),this[_0x1cb8ab(0xe3)][_0x1cb8ab(0x2c9)](null),this[_0x1cb8ab(0x292)](),this['_clearHeartbeatTimer']();}['_onConnectionFailed'](){var _0x7cbf5d=_0x40be40,_0x39b701;this[_0x7cbf5d(0x153)](),this['_retryCount']<((_0x39b701=this[_0x7cbf5d(0x26b)][_0x7cbf5d(0x311)](_0x14c889))!=null?_0x39b701:0x3)?(this[_0x7cbf5d(0xba)][_0x7cbf5d(0x235)]({'id':_0x450220['SOCKET_FAILED_RETRY']}),this[_0x7cbf5d(0x229)]()):this[_0x7cbf5d(0xba)][_0x7cbf5d(0x235)]({'id':_0x450220[_0x7cbf5d(0x256)]});}[_0x40be40(0x229)](){var _0x2e0f27=_0x40be40,_0xe09bd1;const _0x147452=this['_retryCount'],_0x2bc7c4=this[_0x2e0f27(0x26b)][_0x2e0f27(0x311)](_0x5b36e1),_0x403e72=_0x147452===0x0?0x0:((_0xe09bd1=_0x2bc7c4==null?void 0x0:_0x2bc7c4[_0x2e0f27(0x361)])!=null?_0xe09bd1:0x4e20)*0x2**_0x147452;this[_0x2e0f27(0x2d4)]=setTimeout(()=>{var _0x1bcf94=_0x2e0f27;clearTimeout(this['_retryConnectingTimer']),this[_0x1bcf94(0x2d4)]=null,this['_tryEnsureSocket']();},_0x403e72),this['_retryCount']+=0x1;}[_0x40be40(0x1e7)](_0x134686,_0x1694d6){var _0x52e320=_0x40be40;const {cmd:_0x482d0c}=_0x1694d6;_0x482d0c===_0x5452df['HELLO']&&!this[_0x52e320(0x3e8)]&&(_0x134686[_0x52e320(0x37f)]=_0x1694d6['data'][_0x52e320(0x37f)],this[_0x52e320(0xe3)]['next'](_0x134686),this[_0x52e320(0x203)][_0x52e320(0x2c9)](_0x59b840['ONLINE']),this[_0x52e320(0x3e8)]=!0x0,this[_0x52e320(0x2d9)]=null),_0x482d0c===_0x5452df[_0x52e320(0x357)]&&this[_0x52e320(0x292)](),this['_rescheduleHeartbeat']();}['_rescheduleHeartbeat'](){var _0x2076e0=_0x40be40,_0x328bdf;this['_clearHeartbeatTimer'](),this[_0x2076e0(0xac)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x328bdf=this['_configService'][_0x2076e0(0x311)](_0x17b7d4))!=null?_0x328bdf:0x7530);}[_0x40be40(0x3fa)](){var _0x1f4df8=_0x40be40;this[_0x1f4df8(0x3ce)][_0x1f4df8(0x32b)]({'cmd':_0x5452df['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x40be40(0x220)](){var _0xf0ba54=_0x40be40,_0xe7f765;this[_0xf0ba54(0xf8)]=setTimeout(()=>this[_0xf0ba54(0x263)](),(_0xe7f765=this[_0xf0ba54(0x26b)][_0xf0ba54(0x311)](_0x11a4d4))!=null?_0xe7f765:0x4e20);}[_0x40be40(0x1c3)](){var _0x2ded20=_0x40be40;this[_0x2ded20(0xac)]!=null&&(clearTimeout(this[_0x2ded20(0xac)]),this[_0x2ded20(0xac)]=null);}[_0x40be40(0x292)](){var _0x14a39e=_0x40be40;this[_0x14a39e(0xf8)]!=null&&(clearTimeout(this[_0x14a39e(0xf8)]),this['_timeoutTimer']=null);}},_0x2628ab['CollaborationSessionService']=_0x1f4a49([_0x415c71(0x0,_0xd26f96[_0x40be40(0x21f)](_0xd26f96[_0x40be40(0x369)])),_0x415c71(0x1,_0xd26f96[_0x40be40(0x400)]),_0x415c71(0x2,_0xd26f96[_0x40be40(0x2c5)]),_0x415c71(0x3,_0x179d33),_0x415c71(0x4,_0xd26f96[_0x40be40(0x21f)](_0xeb5637)),_0x415c71(0x5,_0xd26f96[_0x40be40(0x1c1)](_0x5f06c6))],_0x2628ab[_0x40be40(0x201)]);const _0x314af0=[];for(let _0x434c29=0x0;_0x434c29<0x100;++_0x434c29)_0x314af0[_0x40be40(0x2a2)]((_0x434c29+0x100)[_0x40be40(0x3eb)](0x10)[_0x40be40(0xf7)](0x1));function _0x16c2aa(_0xaf395,_0x1e526f=0x0){var _0x20266e=_0x40be40;return(_0x314af0[_0xaf395[_0x1e526f+0x0]]+_0x314af0[_0xaf395[_0x1e526f+0x1]]+_0x314af0[_0xaf395[_0x1e526f+0x2]]+_0x314af0[_0xaf395[_0x1e526f+0x3]]+'-'+_0x314af0[_0xaf395[_0x1e526f+0x4]]+_0x314af0[_0xaf395[_0x1e526f+0x5]]+'-'+_0x314af0[_0xaf395[_0x1e526f+0x6]]+_0x314af0[_0xaf395[_0x1e526f+0x7]]+'-'+_0x314af0[_0xaf395[_0x1e526f+0x8]]+_0x314af0[_0xaf395[_0x1e526f+0x9]]+'-'+_0x314af0[_0xaf395[_0x1e526f+0xa]]+_0x314af0[_0xaf395[_0x1e526f+0xb]]+_0x314af0[_0xaf395[_0x1e526f+0xc]]+_0x314af0[_0xaf395[_0x1e526f+0xd]]+_0x314af0[_0xaf395[_0x1e526f+0xe]]+_0x314af0[_0xaf395[_0x1e526f+0xf]])[_0x20266e(0x41f)]();}let _0x52b233;const _0x57e59f=new Uint8Array(0x10);function _0x451e06(){var _0x200ec8=_0x40be40;if(!_0x52b233){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x200ec8(0x3ec));_0x52b233=crypto[_0x200ec8(0x257)][_0x200ec8(0x25a)](crypto);}return _0x52b233(_0x57e59f);}const _0xe9a913={'randomUUID':typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID'][_0x40be40(0x25a)](crypto)};function _0x348403(_0x29b994,_0x1eb8c7,_0x145426){var _0x53ab1c=_0x40be40,_0x103bcb,_0x27be1c,_0x3c7457;if(_0xe9a913[_0x53ab1c(0x16b)]&&!_0x29b994)return _0xe9a913['randomUUID']();_0x29b994=_0x29b994||{};const _0x1425a3=(_0x3c7457=(_0x27be1c=_0x29b994['random'])!=null?_0x27be1c:(_0x103bcb=_0x29b994[_0x53ab1c(0x20c)])==null?void 0x0:_0x103bcb[_0x53ab1c(0x261)](_0x29b994))!=null?_0x3c7457:_0x451e06();if(_0x1425a3[_0x53ab1c(0x112)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x1425a3[0x6]=_0x1425a3[0x6]&0xf|0x40,_0x1425a3[0x8]=_0x1425a3[0x8]&0x3f|0x80,_0x16c2aa(_0x1425a3);}const _0x598b06=_0xd26f96[_0x40be40(0xd0)](_0x40be40(0x1cf));function _0x45d41b(_0x5208e8){return'unit-cache-'+_0x5208e8;}var _0x560340=Object[_0x40be40(0xd4)],_0x454fc5=(_0x250a4f,_0x5d1dea,_0x411eb6,_0x5de822)=>{var _0x3db656=_0x40be40;for(var _0x5ea1e4=_0x5de822>0x1?void 0x0:_0x5de822?_0x560340(_0x5d1dea,_0x411eb6):_0x5d1dea,_0x35b35d=_0x250a4f[_0x3db656(0x112)]-0x1,_0x2b20fc;_0x35b35d>=0x0;_0x35b35d--)(_0x2b20fc=_0x250a4f[_0x35b35d])&&(_0x5ea1e4=_0x2b20fc(_0x5ea1e4)||_0x5ea1e4);return _0x5ea1e4;},_0xcd49f8=(_0x4bbe59,_0x579e7d)=>(_0x3a712a,_0x1884f2)=>_0x579e7d(_0x3a712a,_0x1884f2,_0x4bbe59);function _0x20f8fe(_0x1b44db){var _0x55c3e3=_0x40be40;const {unitID:_0x81b18c,mutations:_0x25a8ee}=_0x1b44db;return{'unitId':_0x81b18c,'subUnitId':_0x25a8ee[0x0][_0x55c3e3(0x2d7)]['subUnitId']};}_0x2628ab[_0x40be40(0x40a)]=class{constructor(_0x1820d5,_0x409660,_0x17ec8e){var _0x2a89c0=_0x40be40;this[_0x2a89c0(0x221)]=_0x1820d5,this['_transformService']=_0x409660,this[_0x2a89c0(0x2ba)]=_0x17ec8e;}['transformSelections'](_0xe68ff3){var _0x466330=_0x40be40,_0x3f81a6,_0x2664d2,_0x51f8c2,_0x4d641b;const _0x41baca=this[_0x466330(0x221)][_0x466330(0x2e6)](_0x20d27e[_0x466330(0x2ff)]),{unitId:_0x3c5472,subUnitId:_0x801d3b}=_0x20f8fe(_0xe68ff3),_0xcb88b8=_0x41baca==null?void 0x0:_0x41baca[_0x466330(0x1dc)](_0x3c5472)[_0x466330(0x1a7)](),_0xcd9f42=(_0x2664d2=(_0x3f81a6=this[_0x466330(0x2ba)]['getUnit'](_0x3c5472))==null?void 0x0:_0x3f81a6['getActiveSheet']())==null?void 0x0:_0x2664d2['getSheetId']();if(_0xcb88b8[_0x466330(0x112)]===0x0||!_0x3c5472||!_0x801d3b)return;const _0xba8b57=[{'id':_0x20d27e[_0x466330(0x3f5)]['id'],'params':{'unitId':_0x3c5472,'subUnitId':_0xcd9f42,'selections':_0xd26f96[_0x466330(0x274)][_0x466330(0x194)](_0xcb88b8)}}],_0x1f3f35=this['_transformService'][_0x466330(0x386)](_0xe68ff3,_0xba8b57);if(!_0x383951['isTransformMutationsWithChangesetSuccess'](_0x1f3f35))throw _0x1f3f35[_0x466330(0x282)];const _0x5b975e=(_0x4d641b=(_0x51f8c2=_0x1f3f35[_0x466330(0xc3)][0x0])==null?void 0x0:_0x51f8c2['params'])==null?void 0x0:_0x4d641b['selections'];if(Array[_0x466330(0x2a1)](_0x5b975e)&&_0x5b975e[_0x466330(0x112)]){if(_0x5b975e[_0x466330(0x112)]===_0xba8b57[0x0][_0x466330(0x2d7)]['selections'][_0x466330(0x112)]&&_0x5b975e[_0x466330(0x254)]((_0x59ca7b,_0xd5bff9)=>_0xd26f96[_0x466330(0x351)]['equals'](_0x59ca7b[_0x466330(0x27d)],_0xba8b57[0x0][_0x466330(0x2d7)][_0x466330(0x419)][_0xd5bff9]['range'])))return;this['_injector']['get'](_0xd26f96[_0x466330(0x1e9)])[_0x466330(0x32c)](_0x20d27e['SetSelectionsOperation']['id'],{'unitId':_0x3c5472,'subUnitId':_0xcd9f42,'selections':_0x5b975e});}}},_0x2628ab[_0x40be40(0x40a)]=_0x454fc5([_0xcd49f8(0x0,_0xd26f96['Inject'](_0xd26f96[_0x40be40(0x369)])),_0xcd49f8(0x1,_0x383951['ITransformService']),_0xcd49f8(0x2,_0xd26f96['IUniverInstanceService'])],_0x2628ab[_0x40be40(0x40a)]);const _0x4bb6b5=_0xd26f96['createIdentifier']('univer-pro.collaboration-client.single-active-unit-service');var _0x1ce829=(_0xa93d0e=>(_0xa93d0e[_0xa93d0e['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x40be40(0x13a),_0xa93d0e[_0xa93d0e[_0x40be40(0x116)]=0x1]=_0x40be40(0x116),_0xa93d0e))(_0x1ce829||{});const _0x732532=new Set([_0x20d27e['InsertSheetMutation']['id']]);function _0x513d1f(_0x44c662,_0x399d3d,_0x340530,_0x5933d0,_0x389545){var _0x194ba3=_0x40be40,_0x5c966b,_0x30c7ff,_0xdd1770,_0x3d7c5f;const _0x8ba29e=[];for(const _0x11fecb of _0x44c662)if(_0x732532[_0x194ba3(0x291)](_0x11fecb['id'])){if(_0x8ba29e[_0x194ba3(0x112)]>0x0)break;_0x8ba29e[_0x194ba3(0x2a2)](_0x11fecb);break;}else _0x8ba29e[_0x194ba3(0x2a2)](_0x11fecb);const _0x1da452=(_0x30c7ff=(_0x5c966b=_0x389545['getCurrentUser']())==null?void 0x0:_0x5c966b[_0x194ba3(0x3c5)])!=null?_0x30c7ff:'unknown',_0x2c2586=(_0x3d7c5f=(_0xdd1770=_0x389545[_0x194ba3(0x17c)]())==null?void 0x0:_0xdd1770[_0x194ba3(0x37f)])!=null?_0x3d7c5f:_0x194ba3(0x355);return{'changeset':{'unitID':_0x399d3d,'type':_0x383951[_0x194ba3(0x1e3)](_0x340530[_0x194ba3(0x2e5)](_0x399d3d)),'baseRev':_0x5933d0['getCurrentRevOfUnit'](_0x399d3d),'revision':0x0,'userID':_0x1da452,'memberID':_0x2c2586,'mutations':_0x8ba29e},'pendingMutations':_0x44c662[_0x194ba3(0xf7)](_0x8ba29e[_0x194ba3(0x112)])};}function _0x24f684(_0x19c8cc,_0x1340cc,_0x2dc574,_0x308580,_0x557ae1){var _0x534d86=_0x40be40,_0x380264,_0x198444,_0x42fde1,_0x3fbf4b;const _0x25a684=[_0x19c8cc[_0x534d86(0x1a9)]((_0x2c9f4c,_0x1a9f8c)=>{var _0x1df72b=_0x534d86,_0x50619c;const {id:_0x5693ba}=_0x2c9f4c,{id:_0x4cfca,type:_0x6f36e2}=_0x1a9f8c,_0x438dd4=(_0x50619c=_0x2c9f4c[_0x1df72b(0x2d7)])!=null?_0x50619c:{'actions':null},_0x164cb3=_0x1a9f8c['params'];if(_0x5693ba&&_0x5693ba!==_0x4cfca)throw new Error(_0x1df72b(0x28b)+_0x5693ba+_0x1df72b(0x1e8)+_0x4cfca+'.');return{..._0x2c9f4c,'id':_0x4cfca,'type':_0x6f36e2,'params':{'unitId':_0x164cb3[_0x1df72b(0x297)],'textRanges':_0x164cb3[_0x1df72b(0x295)],'actions':_0xd26f96[_0x1df72b(0x26f)]['compose'](_0x438dd4[_0x1df72b(0x18b)],_0x164cb3[_0x1df72b(0x18b)])}};},{})],_0x138d0c=(_0x198444=(_0x380264=_0x557ae1[_0x534d86(0x17c)]())==null?void 0x0:_0x380264[_0x534d86(0x3c5)])!=null?_0x198444:_0x534d86(0x355),_0x26c92d=(_0x3fbf4b=(_0x42fde1=_0x557ae1[_0x534d86(0x17c)]())==null?void 0x0:_0x42fde1[_0x534d86(0x37f)])!=null?_0x3fbf4b:_0x534d86(0x355);return{'changeset':{'unitID':_0x1340cc,'type':_0x383951[_0x534d86(0x1e3)](_0x2dc574['getUnitType'](_0x1340cc)),'baseRev':_0x308580[_0x534d86(0x38b)](_0x1340cc),'revision':0x0,'userID':_0x138d0c,'memberID':_0x26c92d,'mutations':_0x25a684},'pendingMutations':[]};}function _0x358fbf(_0x569de1,_0xa63f1a){var _0x378634=_0x40be40;const _0x3c40fe=new _0x22f260[(_0x378634(0x1eb))](0x1);return setTimeout(()=>_0x3c40fe[_0x378634(0x2c9)](_0xa63f1a),_0x569de1),_0x3c40fe[_0x378634(0x2ee)]()['pipe'](_0x22f260[_0x378634(0x22a)](0x1));}const _0x3d7a76={'id':_0x20d27e[_0x40be40(0x1b7)]['id'],'type':_0xd26f96['CommandType']['MUTATION'],'params':{}};var _0x101cfe=Object[_0x40be40(0xd4)],_0x56b5ab=(_0x28ce9c,_0x57283f,_0x36a3a4,_0x117d03)=>{var _0x57ae7d=_0x40be40;for(var _0x1d68de=_0x117d03>0x1?void 0x0:_0x117d03?_0x101cfe(_0x57283f,_0x36a3a4):_0x57283f,_0x2ba8c2=_0x28ce9c[_0x57ae7d(0x112)]-0x1,_0x2ef63a;_0x2ba8c2>=0x0;_0x2ba8c2--)(_0x2ef63a=_0x28ce9c[_0x2ba8c2])&&(_0x1d68de=_0x2ef63a(_0x1d68de)||_0x1d68de);return _0x1d68de;},_0x3023da=(_0x1b6a97,_0x12624c)=>(_0x2bb5a,_0x151799)=>_0x12624c(_0x2bb5a,_0x151799,_0x1b6a97),_0x5f060b=(_0x2e77a4=>(_0x2e77a4[_0x40be40(0x379)]=_0x40be40(0x19b),_0x2e77a4[_0x40be40(0x255)]=_0x40be40(0x2f1),_0x2e77a4[_0x40be40(0x1b9)]=_0x40be40(0x38d),_0x2e77a4[_0x40be40(0x183)]='awaiting',_0x2e77a4['AWAITING_WITH_PENDING']=_0x40be40(0x314),_0x2e77a4['FETCH_MISS']=_0x40be40(0xdf),_0x2e77a4[_0x40be40(0x164)]='conflict',_0x2e77a4[_0x40be40(0x1aa)]='offline',_0x2e77a4))(_0x5f060b||{});const _0x176a1f=0xea60;class _0x732e72{constructor(_0x45eefb,_0x22aefb,_0x384f7f,_0x3af9e8,_0x4bbaf1,_0x1aabb4,_0x118160,_0xcd6e7b,_0x2320ec){var _0x30939c=_0x40be40;_0x2d2abe(this,_0x30939c(0x325),null),_0x2d2abe(this,_0x30939c(0x2b8),[]),(this[_0x30939c(0xc0)]=_0x45eefb,this[_0x30939c(0xe2)]=_0x22aefb,this['_handler']=_0x4bbaf1,this['_commandService']=_0x1aabb4,this['_undoRedoService']=_0x118160,this['_revisionService']=_0xcd6e7b,this[_0x30939c(0x358)]=_0x2320ec,this['_awaitingChangeset']=_0x384f7f,this[_0x30939c(0x2b8)]=_0x3af9e8);}[_0x40be40(0x12d)](_0x5a4937){var _0x4ab3ab=_0x40be40;const _0x7c77d=this[_0x4ab3ab(0x18e)][_0x4ab3ab(0x38b)](this[_0x4ab3ab(0xc0)]);return _0x5a4937[_0x4ab3ab(0x320)]>_0x7c77d+0x1?(this[_0x4ab3ab(0x29e)][_0x4ab3ab(0x380)]({'from':_0x7c77d,'to':_0x5a4937[_0x4ab3ab(0x320)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x5c6ee7){var _0x707e80=_0x40be40;this[_0x707e80(0x1a4)][_0x707e80(0x37a)](this['unitID'],_0x5c6ee7);}['_transformSelections'](_0x22c947){var _0x1cf01c=_0x40be40,_0x3a581a,_0x54e961;(_0x54e961=(_0x3a581a=this['_handler'])[_0x1cf01c(0x21d)])==null||_0x54e961['call'](_0x3a581a,_0x22c947);}[_0x40be40(0x1ba)](_0x29acec){var _0x11601c=_0x40be40,_0x1ae40b,_0x112bdb;return(_0x112bdb=(_0x1ae40b=this[_0x11601c(0x29e)])[_0x11601c(0x1f8)])==null?void 0x0:_0x112bdb['call'](_0x1ae40b,_0x29acec);}[_0x40be40(0x1ad)](_0x50183a){var _0x2c6ecd=_0x40be40,_0x51e03a,_0x6c441;return(_0x6c441=(_0x51e03a=this[_0x2c6ecd(0x29e)])[_0x2c6ecd(0x15d)])==null?void 0x0:_0x6c441[_0x2c6ecd(0x261)](_0x51e03a,_0x50183a);}['_transformRemoteChangesetByIMECache'](_0x66ee7d){var _0x21c5f1=_0x40be40,_0x303025,_0x3e319e,_0x1e64a2;return(_0x1e64a2=(_0x3e319e=(_0x303025=this['_handler'])[_0x21c5f1(0x180)])==null?void 0x0:_0x3e319e['call'](_0x303025,_0x66ee7d))!=null?_0x1e64a2:_0x66ee7d;}[_0x40be40(0x31c)](_0x423575){var _0x38c911=_0x40be40,_0xfaaeb3,_0x16b6b8,_0x2e36e9;return(_0x2e36e9=(_0x16b6b8=(_0xfaaeb3=this[_0x38c911(0x29e)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x16b6b8[_0x38c911(0x261)](_0xfaaeb3,_0x423575))!=null?_0x2e36e9:_0x423575;}[_0x40be40(0x3a2)](_0x2ebc63){var _0x132a39=_0x40be40,_0x411e92,_0x32742f;if(this['type']===_0x5dcae7['UNIVER_DOC']){const {unitID:_0x2b508c,mutations:_0xc17176,memberID:_0x3c4565}=_0x2ebc63,_0x3e95ac=_0xc17176[0x0]['params'][_0x132a39(0x295)];Array[_0x132a39(0x2a1)](_0x3e95ac)&&_0x3e95ac[_0x132a39(0x112)]>0x0&&((_0x32742f=(_0x411e92=this[_0x132a39(0x29e)])['onSyncEditingCollabCursor'])==null||_0x32742f[_0x132a39(0x261)](_0x411e92,{'unitID':_0x2b508c,'memberID':_0x3c4565,'textRanges':_0x3e95ac}));}}[_0x40be40(0xfe)](){var _0x5f337c=_0x40be40,_0x3a6ab7;(_0x3a6ab7=this['_localCacheService'])==null||_0x3a6ab7['updateOfflineData'](this['unitID'],this['type'],this[_0x5f337c(0x325)],this[_0x5f337c(0x2b8)]);}[_0x40be40(0x134)](){var _0x312f40=_0x40be40;return this[_0x312f40(0x18e)]['getCurrentRevOfUnit'](this[_0x312f40(0xc0)]);}[_0x40be40(0x265)](){var _0x21c1cb=_0x40be40;this[_0x21c1cb(0x18e)][_0x21c1cb(0xb2)](this[_0x21c1cb(0xc0)]);}[_0x40be40(0x3a6)](_0x499a79){var _0xd2f3da=_0x40be40,_0x42619c;let _0x54596a=this[_0xd2f3da(0x1fb)](_0x499a79);_0x54596a=this[_0xd2f3da(0x31c)](_0x54596a);const _0x425e7b=_0xd26f96[_0xd2f3da(0xd3)](_0x54596a['mutations'],this[_0xd2f3da(0x406)],{'fromCollab':!0x0});if(!_0x425e7b[_0xd2f3da(0xc4)])throw _0x425e7b[_0xd2f3da(0x282)]instanceof Error?_0x425e7b[_0xd2f3da(0x282)]:new Error((_0x42619c=_0x425e7b[_0xd2f3da(0x282)])!=null?_0x42619c:_0xd2f3da(0x3dc));this[_0xd2f3da(0x1ba)](_0x54596a),this['_transformStateCache'](_0x54596a),this[_0xd2f3da(0x1a1)](_0x499a79),this[_0xd2f3da(0x10b)](_0x54596a),this['_syncEditingCollabCursor'](_0x54596a),this[_0xd2f3da(0x265)]();}}_0x2628ab['SyncedState']=class extends _0x732e72{constructor(_0x603f4d,_0x4c5c61,_0x57ab8f,_0x3b3bcc,_0x5328b6,_0x266f3e,_0x4a9fae,_0x7d679,_0x1e3b4a,_0x38e514){var _0x4af610=_0x40be40;super(_0x603f4d,_0x4c5c61,null,[],_0x57ab8f,_0x4a9fae,_0x266f3e,_0x3b3bcc,_0x38e514),_0x2d2abe(this,_0x4af610(0x327),_0x4af610(0x2f1)),(this[_0x4af610(0x221)]=_0x5328b6,this[_0x4af610(0x3d7)]=_0x7d679,this[_0x4af610(0x202)]=_0x1e3b4a,this[_0x4af610(0x189)]=_0x38e514);}[_0x40be40(0x3b1)](_0x477f82){var _0x5ca7df=_0x40be40;const _0x28f9d7=this[_0x5ca7df(0x221)][_0x5ca7df(0x346)](_0x2628ab['PendingState'],this[_0x5ca7df(0xc0)],this[_0x5ca7df(0xe2)],[_0x477f82],this[_0x5ca7df(0x29e)]);return _0x28f9d7[_0x5ca7df(0x335)](),_0x28f9d7[_0x5ca7df(0xfe)](),_0x28f9d7;}['onRemoteChangeset'](_0x11e790){var _0x2f5bee=_0x40be40;if(this[_0x2f5bee(0x12d)](_0x11e790))return this[_0x2f5bee(0x221)]['createInstance'](_0x2628ab[_0x2f5bee(0x39a)],this[_0x2f5bee(0xc0)],this[_0x2f5bee(0xe2)],null,[],null,[_0x11e790],this[_0x2f5bee(0x29e)]);try{const _0x24a9c5=this[_0x2f5bee(0x202)][_0x2f5bee(0x386)](_0x11e790,[_0x3d7a76]);if(_0x383951[_0x2f5bee(0x3f1)](_0x24a9c5)){const {c1Prime:_0x2c7bc3}=_0x24a9c5;return this[_0x2f5bee(0x3a6)](_0x2c7bc3),this;}throw _0x24a9c5[_0x2f5bee(0x282)];}catch(_0x456b22){return this[_0x2f5bee(0x3d7)][_0x2f5bee(0x282)](_0x456b22),this['_onConflict'](!0x1);}}[_0x40be40(0x215)](_0x3ecdf6){var _0xa23cb=_0x40be40;return this[_0xa23cb(0x221)][_0xa23cb(0x346)](_0x2628ab[_0xa23cb(0x104)],this['unitID'],this[_0xa23cb(0xe2)],null,[],this[_0xa23cb(0x29e)],_0x3ecdf6);}['onRemoteAck'](){var _0x2db3af=_0x40be40;throw new Error(_0x2db3af(0x1f7));}[_0x40be40(0x266)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x40be40(0x3be)](){return this;}['toggleOffline'](){var _0x50b477=_0x40be40;return this[_0x50b477(0x221)][_0x50b477(0x346)](_0x2628ab[_0x50b477(0x310)],this['unitID'],this[_0x50b477(0xe2)],null,[],this[_0x50b477(0x29e)]);}[_0x40be40(0xc6)](){return this;}[_0x40be40(0xc8)](){var _0x4d1594=_0x40be40;throw new Error(_0x4d1594(0x343));}[_0x40be40(0x10c)](){var _0x5964e0=_0x40be40;const _0x306897=this['_revisionService'][_0x5964e0(0x38b)](this['unitID']);return this[_0x5964e0(0x29e)]['onMissingChangesets']({'from':_0x306897,'to':0x0}),this[_0x5964e0(0x221)][_0x5964e0(0x346)](_0x2628ab[_0x5964e0(0x39a)],this[_0x5964e0(0xc0)],this[_0x5964e0(0xe2)],null,[],null,[],this[_0x5964e0(0x29e)]);}},_0x2628ab[_0x40be40(0x1c0)]=_0x56b5ab([_0x3023da(0x3,_0xd26f96[_0x40be40(0x21f)](_0x383951['RevisionService'])),_0x3023da(0x4,_0xd26f96[_0x40be40(0x21f)](_0xd26f96[_0x40be40(0x369)])),_0x3023da(0x5,_0xd26f96[_0x40be40(0x232)]),_0x3023da(0x6,_0xd26f96['ICommandService']),_0x3023da(0x7,_0xd26f96[_0x40be40(0x400)]),_0x3023da(0x8,_0x383951[_0x40be40(0x2ea)]),_0x3023da(0x9,_0xd26f96[_0x40be40(0x1c1)](_0x598b06))],_0x2628ab[_0x40be40(0x1c0)]),_0x2628ab[_0x40be40(0x1d7)]=class extends _0x732e72{constructor(_0x2860b5,_0x5b4076,_0x3cafe6,_0x7d5da3,_0x2f8719,_0x1a7648,_0x573fb4,_0xf0be89,_0x41f93d,_0x3234f0,_0x29a780,_0x29f344,_0x4770ba,_0x5894e9){var _0x3fd961=_0x40be40;super(_0x2860b5,_0x5b4076,null,_0x3cafe6,_0x7d5da3,_0x41f93d,_0x4770ba,_0x1a7648,_0x5894e9),_0x2d2abe(this,'status',_0x3fd961(0x38d)),_0x2d2abe(this,_0x3fd961(0x11b),null),_0x2d2abe(this,_0x3fd961(0xfc),null),(this[_0x3fd961(0x221)]=_0x2f8719,this[_0x3fd961(0xe4)]=_0x573fb4,this[_0x3fd961(0x3d7)]=_0xf0be89,this[_0x3fd961(0x26b)]=_0x3234f0,this[_0x3fd961(0x202)]=_0x29a780,this['_univerInstanceService']=_0x29f344);}[_0x40be40(0x3b1)](_0x300226){var _0x9cf24=_0x40be40;return this[_0x9cf24(0x2b8)][_0x9cf24(0x2a2)](_0x300226),this[_0x9cf24(0xfe)](),this;}[_0x40be40(0x147)](_0xaba008){var _0x4a8ae0=_0x40be40;if(this[_0x4a8ae0(0x12d)](_0xaba008))return this[_0x4a8ae0(0x132)](),this['_injector'][_0x4a8ae0(0x346)](_0x2628ab['FetchingMissState'],this[_0x4a8ae0(0xc0)],this[_0x4a8ae0(0xe2)],null,this[_0x4a8ae0(0x2b8)],null,[_0xaba008],this[_0x4a8ae0(0x29e)]);try{const _0x4be334=this['_transformService'][_0x4a8ae0(0x386)](_0xaba008,this['_pendingMutations']);if(_0x383951['isTransformMutationsWithChangesetSuccess'](_0x4be334)){const {c1Prime:_0xb1896d,m2Prime:_0x1a93ef}=_0x4be334;this['_executeRemoteChangeset'](_0xb1896d);const _0x30280c=this['_injector'][_0x4a8ae0(0x346)](_0x2628ab[_0x4a8ae0(0x1d7)],this[_0x4a8ae0(0xc0)],this[_0x4a8ae0(0xe2)],_0x1a93ef,this[_0x4a8ae0(0x29e)]);this[_0x4a8ae0(0x132)]();const _0x152aa3=new Date()['getTime'](),_0xaf1d7f=this['_scheduleCompleteTimestamp']?Math[_0x4a8ae0(0x156)](this[_0x4a8ae0(0x11b)]-_0x152aa3,0x0):this[_0x4a8ae0(0x353)]();return _0x30280c[_0x4a8ae0(0x335)](_0xaf1d7f),_0x30280c;}throw _0x4be334[_0x4a8ae0(0x282)];}catch(_0x20ec1d){return this['_logService'][_0x4a8ae0(0x282)](_0x20ec1d),this['_onConflict'](!0x1);}}[_0x40be40(0x354)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x5e5537=_0x40be40;throw new Error(_0x5e5537(0x31a));}[_0x40be40(0x3be)](){return this;}[_0x40be40(0x2b9)](){var _0x4c6751=_0x40be40;return this['_clearScheduledTask'](),this['_injector']['createInstance'](_0x2628ab['OfflineState'],this[_0x4c6751(0xc0)],this[_0x4c6751(0xe2)],null,this[_0x4c6751(0x2b8)],this['_handler']);}[_0x40be40(0xc6)](){return this;}[_0x40be40(0x335)](_0x2f7acc){var _0x50bd18=_0x40be40;const _0x5cb937=_0x2f7acc!=null?_0x2f7acc:this['_getSendChangesetTimeout']();this[_0x50bd18(0x11b)]=new Date()[_0x50bd18(0x303)]()+_0x5cb937,this[_0x50bd18(0xfc)]=setTimeout(()=>{var _0x57ce3b=_0x50bd18;this[_0x57ce3b(0x132)]();let _0x5b28c7=null;switch(this[_0x57ce3b(0xe2)]){case _0x5dcae7['UNIVER_SHEET']:{_0x5b28c7=_0x513d1f(this[_0x57ce3b(0x2b8)],this[_0x57ce3b(0xc0)],this['_univerInstanceService'],this[_0x57ce3b(0x18e)],this['_memberService']);break;}case _0x5dcae7[_0x57ce3b(0x26a)]:{this[_0x57ce3b(0x2b8)][_0x57ce3b(0x254)](_0x2ab176=>_0x2ab176['id']===_0x223e26[_0x57ce3b(0x1bd)]['id'])?_0x5b28c7=_0x24f684(this[_0x57ce3b(0x2b8)],this[_0x57ce3b(0xc0)],this[_0x57ce3b(0x2de)],this[_0x57ce3b(0x18e)],this[_0x57ce3b(0xe4)]):_0x5b28c7=_0x513d1f(this[_0x57ce3b(0x2b8)],this[_0x57ce3b(0xc0)],this[_0x57ce3b(0x2de)],this[_0x57ce3b(0x18e)],this[_0x57ce3b(0xe4)]);break;}default:throw new Error(_0x57ce3b(0x24a)+this[_0x57ce3b(0xe2)]+'\x20in\x20_schedule.');}const {changeset:_0xbd206f,pendingMutations:_0x234ecc}=_0x5b28c7;this[_0x57ce3b(0x29e)][_0x57ce3b(0xe9)](_0xbd206f);const _0x304a26=_0x234ecc[_0x57ce3b(0x112)]?this[_0x57ce3b(0x221)][_0x57ce3b(0x346)](_0x2628ab[_0x57ce3b(0xf5)],this[_0x57ce3b(0xc0)],this[_0x57ce3b(0xe2)],_0xbd206f,_0x234ecc,this[_0x57ce3b(0x29e)],void 0x0):this[_0x57ce3b(0x221)][_0x57ce3b(0x346)](_0x2628ab['AwaitingState'],this[_0x57ce3b(0xc0)],this['type'],_0xbd206f,this[_0x57ce3b(0x29e)]);_0x304a26[_0x57ce3b(0xfe)](),this['_handler'][_0x57ce3b(0x10a)](this,_0x304a26);},_0x5cb937);}[_0x40be40(0x353)](){var _0x3c88f1=_0x40be40,_0x228c78;const _0x328a08=this[_0x3c88f1(0x26b)][_0x3c88f1(0x311)](_0x5b36e1);return(_0x228c78=_0x328a08==null?void 0x0:_0x328a08[_0x3c88f1(0x33b)])!=null?_0x228c78:0x7d0;}[_0x40be40(0xc8)](){var _0xa5ccf=_0x40be40;throw new Error(_0xa5ccf(0x3d9));}[_0x40be40(0x132)](){var _0x35f669=_0x40be40;this[_0x35f669(0xfc)]!=null&&(clearTimeout(this[_0x35f669(0xfc)]),this[_0x35f669(0xfc)]=null);}[_0x40be40(0x215)](_0x2183e8){var _0x1d108f=_0x40be40;return this['_clearScheduledTask'](),this[_0x1d108f(0x221)]['createInstance'](_0x2628ab[_0x1d108f(0x104)],this[_0x1d108f(0xc0)],this[_0x1d108f(0xe2)],null,this[_0x1d108f(0x2b8)],this[_0x1d108f(0x29e)],_0x2183e8);}},_0x2628ab[_0x40be40(0x1d7)]=_0x56b5ab([_0x3023da(0x4,_0xd26f96[_0x40be40(0x21f)](_0xd26f96['Injector'])),_0x3023da(0x5,_0xd26f96[_0x40be40(0x21f)](_0x383951[_0x40be40(0x260)])),_0x3023da(0x6,_0xd26f96[_0x40be40(0x21f)](_0x2628ab['MemberService'])),_0x3023da(0x7,_0xd26f96['ILogService']),_0x3023da(0x8,_0xd26f96['ICommandService']),_0x3023da(0x9,_0xd26f96[_0x40be40(0x2c5)]),_0x3023da(0xa,_0x383951['ITransformService']),_0x3023da(0xb,_0xd26f96[_0x40be40(0xc2)]),_0x3023da(0xc,_0xd26f96[_0x40be40(0x232)]),_0x3023da(0xd,_0xd26f96[_0x40be40(0x1c1)](_0x598b06))],_0x2628ab[_0x40be40(0x1d7)]),_0x2628ab[_0x40be40(0x35c)]=class extends _0x732e72{constructor(_0x307379,_0x9a68e1,_0x12aad2,_0x5e1967,_0x2c5c19,_0x1fe43c,_0x2399d3,_0x253291,_0x3f0f74,_0xe4919e,_0xd25797){var _0x180d9f=_0x40be40;super(_0x307379,_0x9a68e1,_0x12aad2,[],_0x5e1967,_0x2399d3,_0xe4919e,_0x1fe43c,_0xd25797),_0x2d2abe(this,'status',_0x180d9f(0xf0)),_0x2d2abe(this,_0x180d9f(0x293),0x0),_0x2d2abe(this,'_resendTimer'),_0x2d2abe(this,_0x180d9f(0x181)),(this['_injector']=_0x2c5c19,this['_logService']=_0x253291,this['_transformService']=_0x3f0f74);}[_0x40be40(0x3b1)](_0x28ff86){var _0x283336=_0x40be40;this[_0x283336(0x132)]();const _0x2abcc6=this[_0x283336(0x221)][_0x283336(0x346)](_0x2628ab[_0x283336(0xf5)],this[_0x283336(0xc0)],this[_0x283336(0xe2)],this[_0x283336(0x325)],[_0x28ff86],this['_handler'],this[_0x283336(0xc7)]);return _0x2abcc6['_updateLocalCache'](),_0x2abcc6;}['onRemoteChangeset'](_0x2fe8ee){var _0x2059c8=_0x40be40;if(this[_0x2059c8(0x12d)](_0x2fe8ee))return this[_0x2059c8(0x132)](),this[_0x2059c8(0x221)]['createInstance'](_0x2628ab[_0x2059c8(0x39a)],this[_0x2059c8(0xc0)],this[_0x2059c8(0xe2)],this[_0x2059c8(0x325)],[],null,[_0x2fe8ee],this['_handler']);try{const _0x2b647d=this[_0x2059c8(0x202)][_0x2059c8(0x25b)]([_0x2fe8ee],[this['_awaitingChangeset']],!0x1);if(_0x383951[_0x2059c8(0x122)](_0x2b647d)){const {c1Prime:_0x39f257,c2Prime:_0x2a934c}=_0x2b647d;this[_0x2059c8(0x3a6)](_0x39f257[0x0]),_0x2a934c[0x0][_0x2059c8(0x2bd)]=this[_0x2059c8(0x134)](),this[_0x2059c8(0x132)]();const _0x494138=this[_0x2059c8(0x221)]['createInstance'](_0x2628ab['AwaitingState'],this['unitID'],this[_0x2059c8(0xe2)],_0x2a934c[0x0],this[_0x2059c8(0x29e)]);return _0x494138[_0x2059c8(0xfe)](),_0x494138;}return this['_onConflict'](!0x1);}catch(_0x3ccd71){return this['_logService'][_0x2059c8(0x282)](_0x3ccd71),this[_0x2059c8(0x215)](!0x1);}}[_0x40be40(0x354)](_0x4012b1){var _0x3217de=_0x40be40;this['_clearScheduledTask']();const _0x40b259=this[_0x3217de(0x18e)]['getCurrentRevOfUnit'](this[_0x3217de(0xc0)]);if(_0x4012b1['revision']<_0x40b259-0x1)return this;if(this[_0x3217de(0x12d)](_0x4012b1))return this['_injector'][_0x3217de(0x346)](_0x2628ab[_0x3217de(0x39a)],this[_0x3217de(0xc0)],this[_0x3217de(0xe2)],null,[],this[_0x3217de(0x325)],[],this[_0x3217de(0x29e)]);this[_0x3217de(0x265)]();const _0x52a69e=this['_injector'][_0x3217de(0x346)](_0x2628ab[_0x3217de(0x1c0)],this[_0x3217de(0xc0)],this[_0x3217de(0xe2)],this['_handler']);return _0x52a69e[_0x3217de(0xfe)](),_0x52a69e;}[_0x40be40(0x266)](_0x1424cd){var _0x29fa12=_0x40be40;return this[_0x29fa12(0x215)](!!(_0x1424cd!=null&&_0x1424cd[_0x29fa12(0x3d1)]));}['onRemoteRetry'](_0x248f5e){var _0x2470a2=_0x40be40;return this[_0x2470a2(0x293)]>_0x176a1f?this['toggleOffline']():(this['_resendTimer']=_0x358fbf(this[_0x2470a2(0x293)],{'timeout':this[_0x2470a2(0x293)],'reqId':_0x248f5e[_0x2470a2(0x1ce)]}),this[_0x2470a2(0x181)]=this[_0x2470a2(0xc7)][_0x2470a2(0x130)](({reqId:_0x5df306,timeout:_0x4995af})=>{var _0x26881b=_0x2470a2;this[_0x26881b(0x3db)](_0x5df306,_0x4995af);}),this);}[_0x40be40(0x2b9)](){var _0x4e535c=_0x40be40;return this[_0x4e535c(0x132)](),this['_injector']['createInstance'](_0x2628ab[_0x4e535c(0x310)],this['unitID'],this['type'],this[_0x4e535c(0x325)],[],this['_handler']);}[_0x40be40(0xc6)](){return this;}[_0x40be40(0xc8)](){var _0x5b9bf8=_0x40be40;this[_0x5b9bf8(0x29e)][_0x5b9bf8(0xe9)](this[_0x5b9bf8(0x325)]);}[_0x40be40(0x215)](_0x10130e){var _0x514822=_0x40be40;return this['_clearScheduledTask'](),this[_0x514822(0x221)][_0x514822(0x346)](_0x2628ab[_0x514822(0x104)],this[_0x514822(0xc0)],this[_0x514822(0xe2)],this[_0x514822(0x325)],[],this[_0x514822(0x29e)],_0x10130e);}[_0x40be40(0x3db)](_0x6ce504,_0x132c03){var _0x4663b7=_0x40be40,_0x24c14c;_0x6ce504===((_0x24c14c=this[_0x4663b7(0x325)])==null?void 0x0:_0x24c14c[_0x4663b7(0x1ce)])&&(this[_0x4663b7(0xc8)](),this[_0x4663b7(0x293)]=_0x132c03===0x0?0x3e8:_0x132c03*0x2);}['_clearScheduledTask'](){var _0x552538=_0x40be40,_0x551bba;(_0x551bba=this['_sender'])==null||_0x551bba['unsubscribe'](),this[_0x552538(0x293)]=0x0;}},_0x2628ab[_0x40be40(0x35c)]=_0x56b5ab([_0x3023da(0x4,_0xd26f96['Inject'](_0xd26f96[_0x40be40(0x369)])),_0x3023da(0x5,_0xd26f96[_0x40be40(0x21f)](_0x383951['RevisionService'])),_0x3023da(0x6,_0xd26f96[_0x40be40(0x1e9)]),_0x3023da(0x7,_0xd26f96[_0x40be40(0x400)]),_0x3023da(0x8,_0x383951[_0x40be40(0x2ea)]),_0x3023da(0x9,_0xd26f96['IUndoRedoService']),_0x3023da(0xa,_0xd26f96[_0x40be40(0x1c1)](_0x598b06))],_0x2628ab[_0x40be40(0x35c)]),_0x2628ab[_0x40be40(0xf5)]=class extends _0x732e72{constructor(_0x24c9e3,_0x40cb5b,_0x3aea6f,_0x18faad,_0x511f99,_0x2dbbd0,_0x4d4cac,_0x275a21,_0x155136,_0x1436ce,_0x477b9d,_0x1d2d2b,_0x4661c7){var _0x2fa065=_0x40be40;super(_0x24c9e3,_0x40cb5b,_0x3aea6f,_0x18faad,_0x511f99,_0x155136,_0x1d2d2b,_0x275a21,_0x4661c7),_0x2d2abe(this,_0x2fa065(0x327),'awaiting_with_pending'),_0x2d2abe(this,_0x2fa065(0x293),0x0),_0x2d2abe(this,_0x2fa065(0xc7)),_0x2d2abe(this,_0x2fa065(0x181)),(this['_injector']=_0x4d4cac,this[_0x2fa065(0x3d7)]=_0x1436ce,this[_0x2fa065(0x202)]=_0x477b9d,this['localCacheService']=_0x4661c7,_0x2dbbd0&&(this[_0x2fa065(0xc7)]=_0x2dbbd0,this['_sender']=this[_0x2fa065(0xc7)][_0x2fa065(0x130)](({reqId:_0x1cce3f,timeout:_0x2e48cc})=>{var _0x27f4e7=_0x2fa065;this[_0x27f4e7(0x3db)](_0x1cce3f,_0x2e48cc);})));}[_0x40be40(0x3b1)](_0x20e72e){var _0x37e083=_0x40be40;return this[_0x37e083(0x2b8)][_0x37e083(0x2a2)](_0x20e72e),this;}['onRemoteChangeset'](_0x11816e){var _0x15e0ef=_0x40be40;if(this[_0x15e0ef(0x12d)](_0x11816e))return this[_0x15e0ef(0x132)](),this['_injector'][_0x15e0ef(0x346)](_0x2628ab['FetchingMissState'],this['unitID'],this[_0x15e0ef(0xe2)],this[_0x15e0ef(0x325)],this[_0x15e0ef(0x2b8)],null,[_0x11816e],this[_0x15e0ef(0x29e)]);try{const _0x3fb1eb=this[_0x15e0ef(0x202)]['transformChangesets']([_0x11816e],[this['_awaitingChangeset']],!0x1);if(_0x383951[_0x15e0ef(0x122)](_0x3fb1eb)){const {c1Prime:_0x389bb8,c2Prime:_0x57baec}=_0x3fb1eb,_0x105367=this[_0x15e0ef(0x202)][_0x15e0ef(0x386)](_0x389bb8[0x0],this[_0x15e0ef(0x2b8)]);if(_0x383951['isTransformMutationsWithChangesetSuccess'](_0x105367)){const {c1Prime:_0xbf5e6e,m2Prime:_0x5388ca}=_0x105367;return this[_0x15e0ef(0x3a6)](_0xbf5e6e),_0x57baec[0x0][_0x15e0ef(0x2bd)]=this[_0x15e0ef(0x134)](),this[_0x15e0ef(0x132)](),this[_0x15e0ef(0x221)][_0x15e0ef(0x346)](_0x2628ab[_0x15e0ef(0xf5)],this[_0x15e0ef(0xc0)],this[_0x15e0ef(0xe2)],_0x57baec[0x0],_0x5388ca,this[_0x15e0ef(0x29e)],void 0x0);}throw _0x105367[_0x15e0ef(0x282)];}throw _0x3fb1eb[_0x15e0ef(0x282)];}catch(_0xc2f3e2){return this[_0x15e0ef(0x3d7)][_0x15e0ef(0x282)](_0xc2f3e2),this[_0x15e0ef(0x215)](!0x1);}}[_0x40be40(0x354)](_0x4e039d){var _0x300920=_0x40be40;if(this['_clearScheduledTask'](),this[_0x300920(0x12d)](_0x4e039d))return this[_0x300920(0x221)]['createInstance'](_0x2628ab[_0x300920(0x39a)],this[_0x300920(0xc0)],this[_0x300920(0xe2)],null,this['_pendingMutations'],this[_0x300920(0x325)],[],this[_0x300920(0x29e)]);this[_0x300920(0x265)]();const _0xa63cd1=this[_0x300920(0x221)][_0x300920(0x346)](_0x2628ab[_0x300920(0x1d7)],this[_0x300920(0xc0)],this[_0x300920(0xe2)],this[_0x300920(0x2b8)],this[_0x300920(0x29e)]);return _0xa63cd1[_0x300920(0x335)](),_0xa63cd1['_updateLocalCache'](),_0xa63cd1;}[_0x40be40(0x266)](_0x2a1c49){var _0x5a78b3=_0x40be40;return this[_0x5a78b3(0x215)](!!(_0x2a1c49!=null&&_0x2a1c49['isPermissionRej']));}['onRemoteRetry'](_0x422916){var _0x3f7e07=_0x40be40;return this[_0x3f7e07(0x293)]>_0x176a1f?this[_0x3f7e07(0x2b9)]():(this[_0x3f7e07(0xc7)]=_0x358fbf(this[_0x3f7e07(0x293)],{'timeout':this[_0x3f7e07(0x293)],'reqId':_0x422916[_0x3f7e07(0x1ce)]}),this[_0x3f7e07(0x181)]=this[_0x3f7e07(0xc7)]['subscribe'](({reqId:_0x2e2015,timeout:_0x508575})=>{var _0xa97efd=_0x3f7e07;this[_0xa97efd(0x3db)](_0x2e2015,_0x508575);}),this);}[_0x40be40(0x2b9)](){var _0x4732dd=_0x40be40;return this[_0x4732dd(0x132)](),this[_0x4732dd(0x221)]['createInstance'](_0x2628ab['OfflineState'],this['unitID'],this[_0x4732dd(0xe2)],this[_0x4732dd(0x325)],this[_0x4732dd(0x2b8)],this['_handler']);}[_0x40be40(0xc6)](){return this;}[_0x40be40(0xc8)](){var _0x166a8d=_0x40be40;this[_0x166a8d(0x29e)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x40be40(0x215)](_0x550690){var _0xbe6e2a=_0x40be40;return this[_0xbe6e2a(0x132)](),this[_0xbe6e2a(0x221)]['createInstance'](_0x2628ab[_0xbe6e2a(0x104)],this[_0xbe6e2a(0xc0)],this[_0xbe6e2a(0xe2)],null,this[_0xbe6e2a(0x2b8)],this[_0xbe6e2a(0x29e)],_0x550690);}[_0x40be40(0x3db)](_0x39d25c,_0x592c75){var _0x1c3f23=_0x40be40,_0x4a2795;_0x39d25c===((_0x4a2795=this['_awaitingChangeset'])==null?void 0x0:_0x4a2795[_0x1c3f23(0x1ce)])&&(this['resend'](),this[_0x1c3f23(0x293)]=_0x592c75===0x0?0x3e8:_0x592c75*0x2);}[_0x40be40(0x132)](){var _0x56b1ad=_0x40be40,_0x11df23;(_0x11df23=this[_0x56b1ad(0x181)])==null||_0x11df23['unsubscribe'](),this['_resendTimeout']=0x0;}},_0x2628ab['AwaitingWithPendingState']=_0x56b5ab([_0x3023da(0x6,_0xd26f96[_0x40be40(0x21f)](_0xd26f96[_0x40be40(0x369)])),_0x3023da(0x7,_0xd26f96[_0x40be40(0x21f)](_0x383951[_0x40be40(0x260)])),_0x3023da(0x8,_0xd26f96[_0x40be40(0x1e9)]),_0x3023da(0x9,_0xd26f96[_0x40be40(0x400)]),_0x3023da(0xa,_0x383951[_0x40be40(0x2ea)]),_0x3023da(0xb,_0xd26f96['IUndoRedoService']),_0x3023da(0xc,_0xd26f96[_0x40be40(0x1c1)](_0x598b06))],_0x2628ab['AwaitingWithPendingState']),_0x2628ab[_0x40be40(0x104)]=class extends _0x732e72{constructor(_0x5be5d0,_0x36f73f,_0x1d8715,_0x2ef480,_0x1a2af6,_0x2ccf36=!0x1,_0x166a50,_0x1353bf,_0x109082,_0x1f7ff2,_0x4b6958,_0x3205b5,_0x486cdf){var _0x33e426=_0x40be40;super(_0x5be5d0,_0x36f73f,_0x1d8715,_0x2ef480,_0x1a2af6,_0x1353bf,_0x109082,_0x1f7ff2,_0x486cdf),_0x2d2abe(this,_0x33e426(0x327),_0x33e426(0x359)),(this[_0x33e426(0x2f6)]=_0x2ccf36,this[_0x33e426(0x25e)]=_0x166a50,this['_localeService']=_0x4b6958,this[_0x33e426(0xba)]=_0x3205b5,this[_0x33e426(0x189)]=_0x486cdf,this[_0x33e426(0x12c)](),this[_0x33e426(0x30e)](),this[_0x33e426(0x350)]());}['appendMutation'](){return this;}[_0x40be40(0x147)](){return this;}[_0x40be40(0x354)](){return this;}['onRemoteRej'](){return this;}[_0x40be40(0x3be)](){return this;}['toggleOffline'](){return this;}[_0x40be40(0xc6)](){return this;}[_0x40be40(0xc8)](){var _0x1372d0=_0x40be40;throw new Error(_0x1372d0(0x1f9));}[_0x40be40(0x30e)](){var _0x4e98dc=_0x40be40,_0x33ea39;(_0x33ea39=this[_0x4e98dc(0x358)])==null||_0x33ea39[_0x4e98dc(0x42e)](this[_0x4e98dc(0xc0)],this['type'],null,[]);}[_0x40be40(0x12c)](){var _0x1bcaa1=_0x40be40;this['_isPermissionRej']?this[_0x1bcaa1(0xba)][_0x1bcaa1(0x235)]({'id':_0x450220['PERMISSION_DENIED']}):this['_collaborationUIEventService'][_0x1bcaa1(0x235)]({'id':_0x450220[_0x1bcaa1(0x164)]});}[_0x40be40(0x350)](){var _0x303145=_0x40be40;this[_0x303145(0x25e)][_0x303145(0x30c)](new _0x20d27e[(_0x303145(0x20f))](this[_0x303145(0xc0)])['id'],!0x1);}},_0x2628ab[_0x40be40(0x104)]=_0x56b5ab([_0x3023da(0x6,_0xd26f96['Inject'](_0xd26f96[_0x40be40(0x2e7)])),_0x3023da(0x7,_0xd26f96['ICommandService']),_0x3023da(0x8,_0xd26f96['IUndoRedoService']),_0x3023da(0x9,_0xd26f96['Inject'](_0x383951[_0x40be40(0x260)])),_0x3023da(0xa,_0xd26f96[_0x40be40(0x21f)](_0xd26f96[_0x40be40(0x3d8)])),_0x3023da(0xb,_0xd26f96[_0x40be40(0x21f)](_0xeb5637)),_0x3023da(0xc,_0xd26f96[_0x40be40(0x1c1)](_0x598b06))],_0x2628ab[_0x40be40(0x104)]),_0x2628ab[_0x40be40(0x310)]=class extends _0x732e72{constructor(_0x515672,_0x236e92,_0x2c85aa,_0x26dbf4,_0x400994,_0x89dfa7,_0x39df6f,_0x397a27,_0x52a47d,_0x3677d1){var _0x34f4f3=_0x40be40;super(_0x515672,_0x236e92,_0x2c85aa,_0x26dbf4,_0x400994,_0x397a27,_0x52a47d,_0x39df6f,_0x3677d1),_0x2d2abe(this,_0x34f4f3(0x327),'offline'),this[_0x34f4f3(0x221)]=_0x89dfa7;}[_0x40be40(0x3b1)](_0x1f5224){var _0x23b511=_0x40be40;return this['_pendingMutations'][_0x23b511(0x2a2)](_0x1f5224),this['_updateLocalCache'](),this;}[_0x40be40(0x147)](_0x1cb66f){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x40be40(0x354)](){var _0x368dc2=_0x40be40;throw new Error(_0x368dc2(0x3b6));}[_0x40be40(0x266)](){var _0x22ba2b=_0x40be40;throw new Error(_0x22ba2b(0x138));}['onRemoteRetry'](){return this;}[_0x40be40(0x2b9)](){return this;}[_0x40be40(0xc6)](){var _0x43f53a=_0x40be40;const {_injector:_0x350f12,_pendingMutations:_0x1f3d0c,_awaitingChangeset:_0x1f66de,unitID:_0x9facad,_handler:_0x43e5d5,type:_0x257413}=this,_0x204a5e=_0x5dbb39(_0x350f12,_0x9facad,_0x257413,_0x1f66de,_0x1f3d0c,_0x43e5d5);return _0x204a5e instanceof _0x2628ab[_0x43f53a(0x1d7)]?_0x204a5e[_0x43f53a(0x335)]():(_0x204a5e instanceof _0x2628ab['AwaitingWithPendingState']||_0x204a5e instanceof _0x2628ab[_0x43f53a(0x35c)])&&_0x204a5e[_0x43f53a(0xc8)](),_0x204a5e;}[_0x40be40(0xc8)](){var _0x47f471=_0x40be40;throw new Error(_0x47f471(0x2c3));}},_0x2628ab['OfflineState']=_0x56b5ab([_0x3023da(0x5,_0xd26f96['Inject'](_0xd26f96[_0x40be40(0x369)])),_0x3023da(0x6,_0xd26f96[_0x40be40(0x21f)](_0x383951['RevisionService'])),_0x3023da(0x7,_0xd26f96[_0x40be40(0x1e9)]),_0x3023da(0x8,_0xd26f96['IUndoRedoService']),_0x3023da(0x9,_0xd26f96[_0x40be40(0x1c1)](_0x598b06))],_0x2628ab[_0x40be40(0x310)]),_0x2628ab[_0x40be40(0x39a)]=class extends _0x732e72{constructor(_0x32487d,_0x512cde,_0x5ae5ec,_0x3ad87a,_0x592e0d,_0x4196e5,_0x428d95,_0x204828,_0x486ca7,_0x169b56,_0x301e66,_0xcdc72c,_0x10ea72,_0x3af48d){var _0x597a76=_0x40be40;super(_0x32487d,_0x512cde,_0x5ae5ec,_0x3ad87a,_0x428d95,_0x301e66,_0xcdc72c,_0x486ca7,_0x3af48d),_0x2d2abe(this,_0x597a76(0x327),_0x597a76(0xdf)),(this[_0x597a76(0x228)]=_0x592e0d,this[_0x597a76(0x32a)]=_0x4196e5,this[_0x597a76(0x221)]=_0x204828,this[_0x597a76(0x3d7)]=_0x169b56,this[_0x597a76(0x202)]=_0x10ea72,this[_0x597a76(0x189)]=_0x3af48d);}[_0x40be40(0x2e2)](_0xf29e63){var _0x5a463d=_0x40be40;try{const _0x46a5e2=[..._0xf29e63,...this['_queuedRemoteChangesets']],_0x1fe128=[this[_0x5a463d(0x325)]||this['_acknowledgedAwaitingChangeset']][_0x5a463d(0x231)](_0x1f9886=>!!_0x1f9886);let _0x2fa879,_0x3673f8;if(_0x1fe128[_0x5a463d(0x112)]){const _0x4cfdca=this[_0x5a463d(0x202)][_0x5a463d(0x25b)](_0x46a5e2,_0x1fe128,!0x1);if(!_0x383951[_0x5a463d(0x122)](_0x4cfdca))throw _0x4cfdca[_0x5a463d(0x282)];_0x2fa879=_0x4cfdca[_0x5a463d(0x17e)],_0x3673f8=_0x4cfdca['c2Prime'];}else _0x2fa879=_0x46a5e2,_0x3673f8=[];let _0x1e4e8e=this[_0x5a463d(0x2b8)];_0x2fa879[_0x5a463d(0x19d)](_0x217a95=>{var _0x592b41=_0x5a463d;let _0x485f86;if(_0x1e4e8e['length']){const _0x533686=this[_0x592b41(0x202)][_0x592b41(0x386)](_0x217a95,_0x1e4e8e);if(!_0x383951[_0x592b41(0x3f1)](_0x533686))throw _0x533686[_0x592b41(0x282)];_0x485f86=_0x533686[_0x592b41(0x17e)],_0x1e4e8e=_0x533686['m2Prime'];}else _0x485f86=_0x217a95;this[_0x592b41(0x3a6)](_0x485f86);}),this['_acknowledgedAwaitingChangeset']&&this[_0x5a463d(0x265)](),this['_awaitingChangeset']&&_0x3673f8['length']&&(_0x3673f8[0x0][_0x5a463d(0x2bd)]=this['_getCurrentRevision']());let _0x549acb;if(this[_0x5a463d(0x325)]&&_0x1e4e8e[_0x5a463d(0x112)]!==0x0)_0x549acb=this[_0x5a463d(0x221)]['createInstance'](_0x2628ab[_0x5a463d(0xf5)],this[_0x5a463d(0xc0)],this['type'],_0x3673f8[0x0],_0x1e4e8e,this[_0x5a463d(0x29e)],void 0x0);else{if(this[_0x5a463d(0x325)]&&_0x1e4e8e['length']===0x0)_0x3673f8[0x0]['baseRev']=this[_0x5a463d(0x134)](),_0x549acb=this[_0x5a463d(0x221)][_0x5a463d(0x346)](_0x2628ab[_0x5a463d(0x35c)],this[_0x5a463d(0xc0)],this[_0x5a463d(0xe2)],_0x3673f8[0x0],this[_0x5a463d(0x29e)]);else{if(_0x1e4e8e[_0x5a463d(0x112)]!==0x0){const _0x14f265=this[_0x5a463d(0x221)][_0x5a463d(0x346)](_0x2628ab[_0x5a463d(0x1d7)],this['unitID'],this['type'],_0x1e4e8e,this['_handler']);_0x14f265[_0x5a463d(0x335)](),_0x549acb=_0x14f265;}else _0x549acb=this[_0x5a463d(0x221)][_0x5a463d(0x346)](_0x2628ab[_0x5a463d(0x1c0)],this[_0x5a463d(0xc0)],this[_0x5a463d(0xe2)],this[_0x5a463d(0x29e)]);}}return _0x549acb[_0x5a463d(0xfe)](),_0x549acb;}catch(_0xe4e483){return this[_0x5a463d(0x3d7)][_0x5a463d(0x282)](_0x5a463d(0x317),_0x5a463d(0x39c),_0xe4e483),this[_0x5a463d(0x221)]['createInstance'](_0x2628ab[_0x5a463d(0x104)],this['unitID'],this[_0x5a463d(0xe2)],this[_0x5a463d(0x325)],this[_0x5a463d(0x2b8)],this[_0x5a463d(0x29e)],!0x1);}}[_0x40be40(0xc8)](){var _0x1d5c53=_0x40be40;throw new Error(_0x1d5c53(0x3fb));}[_0x40be40(0x3b1)](_0x3760a4){var _0x30adb2=_0x40be40;return this[_0x30adb2(0x2b8)][_0x30adb2(0x2a2)](_0x3760a4),this;}[_0x40be40(0x147)](_0xa24830){var _0x27a766=_0x40be40;return this[_0x27a766(0x32a)][_0x27a766(0x2a2)](_0xa24830),this;}[_0x40be40(0x354)](_0x595897){var _0x46343a=_0x40be40;if(this[_0x46343a(0x325)])return this[_0x46343a(0x228)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x46343a(0x20b));}['onRemoteRej'](_0x49c946){var _0x204dc0=_0x40be40;return this[_0x204dc0(0x215)](!!(_0x49c946!=null&&_0x49c946[_0x204dc0(0x3d1)]));}[_0x40be40(0x3be)](){return this;}[_0x40be40(0x2b9)](){var _0x1dcd60=_0x40be40;return this[_0x1dcd60(0x221)][_0x1dcd60(0x346)](_0x2628ab[_0x1dcd60(0x310)],this['unitID'],this[_0x1dcd60(0xe2)],this[_0x1dcd60(0x325)],this[_0x1dcd60(0x2b8)],this[_0x1dcd60(0x29e)]);}[_0x40be40(0xc6)](){return this;}[_0x40be40(0x215)](_0x184dd6){var _0x4829c9=_0x40be40;return this['_injector'][_0x4829c9(0x346)](_0x2628ab[_0x4829c9(0x104)],this[_0x4829c9(0xc0)],this[_0x4829c9(0xe2)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x4829c9(0x29e)],_0x184dd6);}},_0x2628ab[_0x40be40(0x39a)]=_0x56b5ab([_0x3023da(0x7,_0xd26f96[_0x40be40(0x21f)](_0xd26f96[_0x40be40(0x369)])),_0x3023da(0x8,_0xd26f96[_0x40be40(0x21f)](_0x383951[_0x40be40(0x260)])),_0x3023da(0x9,_0xd26f96[_0x40be40(0x400)]),_0x3023da(0xa,_0xd26f96['ICommandService']),_0x3023da(0xb,_0xd26f96[_0x40be40(0x232)]),_0x3023da(0xc,_0x383951[_0x40be40(0x2ea)]),_0x3023da(0xd,_0xd26f96[_0x40be40(0x1c1)](_0x598b06))],_0x2628ab[_0x40be40(0x39a)]);function _0x5dbb39(_0x35553c,_0x3983d0,_0x51943c,_0x5b7fde,_0x280cd9,_0x12c64a){var _0x168b91=_0x40be40;return _0x5b7fde&&_0x280cd9[_0x168b91(0x112)]?_0x35553c[_0x168b91(0x346)](_0x2628ab[_0x168b91(0xf5)],_0x3983d0,_0x51943c,_0x5b7fde,_0x280cd9,_0x12c64a,void 0x0):_0x5b7fde?_0x35553c[_0x168b91(0x346)](_0x2628ab['AwaitingState'],_0x3983d0,_0x51943c,_0x5b7fde,_0x12c64a):_0x280cd9[_0x168b91(0x112)]?_0x35553c[_0x168b91(0x346)](_0x2628ab[_0x168b91(0x1d7)],_0x3983d0,_0x51943c,_0x280cd9,_0x12c64a):_0x35553c[_0x168b91(0x346)](_0x2628ab['SyncedState'],_0x3983d0,_0x51943c,_0x12c64a);}var _0x27d4fe=Object[_0x40be40(0xd4)],_0x17e7c1=(_0x30e655,_0x5d6588,_0x15e1ed,_0xaa976f)=>{var _0x2d0ef1=_0x40be40;for(var _0x42fa8f=_0xaa976f>0x1?void 0x0:_0xaa976f?_0x27d4fe(_0x5d6588,_0x15e1ed):_0x5d6588,_0x5aaf84=_0x30e655[_0x2d0ef1(0x112)]-0x1,_0xe87ce6;_0x5aaf84>=0x0;_0x5aaf84--)(_0xe87ce6=_0x30e655[_0x5aaf84])&&(_0x42fa8f=_0xe87ce6(_0x42fa8f)||_0x42fa8f);return _0x42fa8f;},_0x3fcd58=(_0x2f3c80,_0x39e065)=>(_0x3494b8,_0x4c86e5)=>_0x39e065(_0x3494b8,_0x4c86e5,_0x2f3c80);_0x2628ab[_0x40be40(0x155)]=class extends _0xd26f96[_0x40be40(0x196)]{constructor(_0x2adc5b,_0x36eaad,_0x9bafff,_0x6a8122,_0x5c140a,_0x2243f3,_0x578326,_0x1d6536,_0x5e3b2a,_0xc054f1,_0x445a88,_0x164996,_0x430816){var _0x21f1dd=_0x40be40;super(),_0x2d2abe(this,'_state$',new _0x22f260[(_0x21f1dd(0xbd))](null)),_0x2d2abe(this,_0x21f1dd(0x218),this[_0x21f1dd(0x157)][_0x21f1dd(0x2ee)]()),_0x2d2abe(this,_0x21f1dd(0x2ce)),_0x2d2abe(this,_0x21f1dd(0x2ef),!0x1),_0x2d2abe(this,_0x21f1dd(0x367),''),_0x2d2abe(this,'_changesetReqId',0x0),_0x2d2abe(this,_0x21f1dd(0x288),this[_0x21f1dd(0x218)]['pipe'](_0x22f260[_0x21f1dd(0x366)](_0x29eef2=>_0x29eef2?_0x29eef2[_0x21f1dd(0x327)]:_0x5f060b['OFFLINE']),_0x22f260[_0x21f1dd(0x237)](0x1))),_0x2d2abe(this,'_transitionLocked',!0x1),_0x2d2abe(this,_0x21f1dd(0x20e),[]),(this[_0x21f1dd(0xc0)]=_0x2adc5b,this[_0x21f1dd(0x2b6)]=_0x36eaad,this[_0x21f1dd(0x236)]=_0x9bafff,this[_0x21f1dd(0x221)]=_0x6a8122,this[_0x21f1dd(0x1cc)]=_0x5c140a,this['_localeService']=_0x2243f3,this[_0x21f1dd(0x18e)]=_0x578326,this['_eventService']=_0x1d6536,this[_0x21f1dd(0x3d7)]=_0x5e3b2a,this['_commandService']=_0xc054f1,this[_0x21f1dd(0x25e)]=_0x445a88,this['_singleActiveUnitService']=_0x164996,this[_0x21f1dd(0x358)]=_0x430816);}get[_0x40be40(0x3e6)](){var _0x5ee029=_0x40be40;return this[_0x5ee029(0x2ce)];}async[_0x40be40(0x3d3)](){var _0x1dc69c=_0x40be40;if(this[_0x1dc69c(0x3e6)])throw new Error(_0x1dc69c(0x2a7));await this['_init']();}['pauseCollaboration'](){var _0x5dc90c=_0x40be40;return this[_0x5dc90c(0x2ef)]=!0x0,_0xd26f96[_0x5dc90c(0x41c)](()=>{var _0x172fe4=_0x5dc90c;this[_0x172fe4(0x2ef)]=!0x1,this[_0x172fe4(0x10d)]();});}[_0x40be40(0x40d)](_0x47ccbc){var _0x43c0b8=_0x40be40;this[_0x43c0b8(0x332)](_0x47ccbc);}[_0x40be40(0x3cf)](_0x1866a6){var _0x2bbaa6=_0x40be40;this[_0x2bbaa6(0x2ce)]=_0x1866a6,this[_0x2bbaa6(0x157)][_0x2bbaa6(0x2c9)](_0x1866a6);}async[_0x40be40(0x3de)](){var _0x3fcf7e=_0x40be40,_0x331bc8;this[_0x3fcf7e(0x3cf)](await this[_0x3fcf7e(0x253)]()),this[_0x3fcf7e(0x23f)]&&((_0x331bc8=this[_0x3fcf7e(0x23f)])==null||_0x331bc8['editingUnit'](this[_0x3fcf7e(0xc0)]),this[_0x3fcf7e(0x34e)](this[_0x3fcf7e(0x23f)][_0x3fcf7e(0x33a)](this[_0x3fcf7e(0xc0)])[_0x3fcf7e(0x130)](_0x2c333d=>{var _0x533ea6=_0x3fcf7e;this[_0x533ea6(0x3d7)]['debug'](_0x533ea6(0x3e5),_0x533ea6(0x1a6),_0x2c333d),_0x2c333d===_0x1ce829['OTHER_CLIENTS_EDITING']?(this['_eventService'][_0x533ea6(0x235)]({'id':_0x450220[_0x533ea6(0x39e)]}),this['_permissionService'][_0x533ea6(0x30c)](new _0x20d27e['WorkbookEditablePermission'](this[_0x533ea6(0xc0)])['id'],!0x1),this[_0x533ea6(0x25e)]['setShowComponents'](!0x1)):(this['_permissionService'][_0x533ea6(0x30c)](new _0x20d27e[(_0x533ea6(0x20f))](this['unitID'])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x4201d1=!0x1;return this[_0x3fcf7e(0x34e)](this[_0x3fcf7e(0x2b6)][_0x3fcf7e(0xb7)][_0x3fcf7e(0x130)](_0x2d64ec=>{var _0x4ddf0a=_0x3fcf7e;_0x2d64ec===_0x59b840[_0x4ddf0a(0x35a)]?this[_0x4ddf0a(0x246)](_0x4201d1):_0x2d64ec===_0x59b840[_0x4ddf0a(0x1aa)]&&(_0x4201d1=!0x0,this[_0x4ddf0a(0x174)]());})),this['disposeWithMe'](this[_0x3fcf7e(0x2b6)][_0x3fcf7e(0x2ad)][_0x3fcf7e(0x130)](_0xb1b800=>{var _0x509c5f=_0x3fcf7e;try{switch(_0xb1b800['eventID']){case _0x383951[_0x509c5f(0xbb)][_0x509c5f(0x35b)]:{this[_0x509c5f(0x339)](_0x383951[_0x509c5f(0x1f3)](_0xb1b800['data']));break;}case _0x383951[_0x509c5f(0xbb)][_0x509c5f(0x3fe)]:{this['_onRemoteACK'](_0xb1b800['data']);break;}case _0x383951[_0x509c5f(0xbb)][_0x509c5f(0x1ca)]:{this[_0x509c5f(0x173)]();break;}case _0x383951['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:{this[_0x509c5f(0x34d)](_0xb1b800['data']);break;}case _0x383951[_0x509c5f(0xbb)][_0x509c5f(0x2d2)]:{this[_0x509c5f(0x2f5)](_0xb1b800[_0x509c5f(0x3dd)]['changesets'][_0x509c5f(0x366)](_0x15cbd3=>_0x383951[_0x509c5f(0x1f3)](_0x15cbd3)));break;}case _0x383951['CollaborationEvent']['PERMISSION_REJ']:{this[_0x509c5f(0x173)]({'isPermissionRej':!0x0});break;}case _0x383951[_0x509c5f(0xbb)][_0x509c5f(0x312)]:break;}}catch(_0x1c14f2){throw console['error'](_0x509c5f(0x271),_0x1c14f2),_0x1c14f2;}})),this[_0x3fcf7e(0x2ce)];}['_unlockTransition'](){var _0x20e334=_0x40be40;this[_0x20e334(0x2e3)]=!0x1;}[_0x40be40(0x204)](){var _0x5314fc=_0x40be40;if(this[_0x5314fc(0x2e3)])throw new Error(_0x5314fc(0x337));this[_0x5314fc(0x2e3)]=!0x0;}['_onLocalMutation'](_0x559b12){var _0x16d1ee=_0x40be40;this[_0x16d1ee(0x204)](),this[_0x16d1ee(0x3cf)](this[_0x16d1ee(0x2ce)][_0x16d1ee(0x3b1)](_0x559b12)),this[_0x16d1ee(0x1e1)]();}[_0x40be40(0x339)](_0x503f22){var _0x3fccf4=_0x40be40;if(!(_0x503f22[_0x3fccf4(0x320)]<=this[_0x3fccf4(0x18e)][_0x3fccf4(0x38b)](this['unitID']))){if(this[_0x3fccf4(0x2ef)]){this[_0x3fccf4(0x20e)][_0x3fccf4(0x2a2)](_0x503f22);return;}this['_applyRemoteChangeset'](_0x503f22);}}['_exhaustRemoteChangesetQueue'](){var _0x57f37f=_0x40be40;this[_0x57f37f(0x20e)]['forEach'](_0x1679a6=>this[_0x57f37f(0x1ec)](_0x1679a6)),this[_0x57f37f(0x20e)]=[];}[_0x40be40(0x1ec)](_0x87119){var _0x46a54d=_0x40be40;const _0x825786=this[_0x46a54d(0x1cc)][_0x46a54d(0x19a)]['fetchThroughInterceptors'](this[_0x46a54d(0x1cc)][_0x46a54d(0x19a)][_0x46a54d(0x3e0)]()[_0x46a54d(0x160)])(_0x87119['mutations'],null)||_0x87119[_0x46a54d(0x23e)],_0x120978={..._0x87119,'mutations':_0x825786};this[_0x46a54d(0x204)](),this[_0x46a54d(0x3cf)](this[_0x46a54d(0x2ce)][_0x46a54d(0x147)](_0x120978)),this[_0x46a54d(0x1e1)]();}['_onRemoteACK'](_0x1e35cb){var _0x5368aa=_0x40be40;this[_0x5368aa(0x204)](),this[_0x5368aa(0x3cf)](this[_0x5368aa(0x2ce)][_0x5368aa(0x354)](_0x1e35cb)),this[_0x5368aa(0x1e1)]();}[_0x40be40(0x173)](_0x43813e){var _0x5d8c91=_0x40be40;this[_0x5d8c91(0x204)](),this[_0x5d8c91(0x3cf)](this[_0x5d8c91(0x2ce)][_0x5d8c91(0x266)](_0x43813e)),this[_0x5d8c91(0x1e1)]();}[_0x40be40(0x34d)](_0x41cc6f){var _0x399c2a=_0x40be40;this[_0x399c2a(0x204)](),this['_updateState'](this[_0x399c2a(0x2ce)][_0x399c2a(0x3be)](_0x41cc6f)),this[_0x399c2a(0x1e1)]();}['_onFetchMissResult'](_0x35a260){var _0x37d104=_0x40be40;if(!(this[_0x37d104(0x2ce)]instanceof _0x2628ab[_0x37d104(0x39a)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x4ed3a2=_0x35a260[_0x37d104(0x366)](_0xe64439=>{var _0x4e4252=_0x37d104;const _0x4e5d7f=this['_compressMutationService'][_0x4e4252(0x19a)][_0x4e4252(0x247)](this[_0x4e4252(0x1cc)][_0x4e4252(0x19a)][_0x4e4252(0x3e0)]()[_0x4e4252(0x160)])(_0xe64439[_0x4e4252(0x23e)],null)||_0xe64439[_0x4e4252(0x23e)];return{..._0xe64439,'mutations':_0x4e5d7f};});this['_lockTransition'](),this[_0x37d104(0x3cf)](this[_0x37d104(0x2ce)][_0x37d104(0x2e2)](_0x4ed3a2)),this['_unlockTransition']();}[_0x40be40(0x174)](){var _0x531b3a=_0x40be40;this[_0x531b3a(0x204)](),this['_updateState'](this['_state'][_0x531b3a(0x2b9)]()),this['_unlockTransition']();}[_0x40be40(0x246)](_0x334d4d=!0x1){var _0x25fcd8=_0x40be40;this[_0x25fcd8(0x204)](),this[_0x25fcd8(0x3cf)](this[_0x25fcd8(0x2ce)][_0x25fcd8(0xc6)]()),this[_0x25fcd8(0x1e1)]();const _0x2f51ee=this[_0x25fcd8(0x2ce)];_0x334d4d&&_0x2f51ee instanceof _0x2628ab[_0x25fcd8(0x1c0)]&&(this[_0x25fcd8(0x204)](),this['_updateState'](_0x2f51ee[_0x25fcd8(0x10c)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x38f21c=>{var _0x31c4e2=_0x23d9;this[_0x31c4e2(0x2b6)][_0x31c4e2(0xb7)][_0x31c4e2(0x1c7)](_0x22f260[_0x31c4e2(0x22a)](0x1))[_0x31c4e2(0x130)](async _0x166218=>{var _0x2c6beb=_0x31c4e2;_0x38f21c(await this[_0x2c6beb(0x23a)](_0x166218===_0x59b840[_0x2c6beb(0x35a)]));});});}[_0x40be40(0xfb)](){var _0x45e658=_0x40be40;const _0x46e155=this[_0x45e658(0xc0)];return{'onStateChange':(_0x135f1a,_0x46a155)=>{var _0x1b7dea=_0x45e658;if(_0x135f1a!==this[_0x1b7dea(0x2ce)])throw new Error(_0x1b7dea(0x32e)+_0x135f1a[_0x1b7dea(0x327)]+_0x1b7dea(0x3cd)+_0x46a155[_0x1b7dea(0x327)]+_0x1b7dea(0x17d)+this[_0x1b7dea(0x2ce)][_0x1b7dea(0x327)]);this[_0x1b7dea(0x3cf)](_0x46a155);},'onSendChangeset':_0x3ff4f8=>{var _0x537185=_0x45e658;_0x3ff4f8[_0x537185(0xb9)]||(_0x3ff4f8[_0x537185(0xb9)]=this[_0x537185(0x367)],_0x3ff4f8[_0x537185(0x1ce)]=++this[_0x537185(0x244)]);const _0x271d00={'eventID':_0x383951[_0x537185(0xbb)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x3ff4f8['unitID'],'unitType':this[_0x537185(0x236)],'changeset':_0x3ff4f8,'memberID':this['session'][_0x537185(0x28d)]()}};this['session'][_0x537185(0x32b)](_0x271d00,this[_0x537185(0xc0)]);},'onMissingChangesets':({from:_0x4aa51d,to:_0x19e10b})=>{var _0x1d3170=_0x45e658;this['_logService'][_0x1d3170(0x308)](_0x1d3170(0x3e5),_0x1d3170(0x22c)+_0x4aa51d+_0x1d3170(0x14c)+_0x19e10b);const _0x103479={'eventID':_0x383951[_0x1d3170(0xbb)][_0x1d3170(0x349)],'data':{'unitID':_0x46e155,'unitType':this[_0x1d3170(0x236)],'from':_0x4aa51d,'to':_0x19e10b}};this[_0x1d3170(0x2b6)][_0x1d3170(0x32b)](_0x103479,this['unitID']);}};}async[_0x40be40(0x23a)](_0xf82eac){var _0x553ed8=_0x40be40,_0x20ea97,_0x12733c,_0x110ff8;const _0x10ba80=await((_0x20ea97=this['_localCacheService'])==null?void 0x0:_0x20ea97['loadOfflineData'](this[_0x553ed8(0xc0)])),_0x2c881b=(_0x12733c=_0x10ba80==null?void 0x0:_0x10ba80[_0x553ed8(0x23e)])!=null?_0x12733c:[],_0x5e9401=(_0x110ff8=_0x10ba80==null?void 0x0:_0x10ba80[_0x553ed8(0x2ac)])!=null?_0x110ff8:null,_0x365842=!!(_0x5e9401!=null&&_0x5e9401[_0x553ed8(0xb9)])&&!!(_0x5e9401!=null&&_0x5e9401['reqId']);this[_0x553ed8(0x367)]=_0x365842?_0x5e9401[_0x553ed8(0xb9)]:_0x348403(),this[_0x553ed8(0x244)]=_0x365842?_0x5e9401[_0x553ed8(0x1ce)]:0x0;const _0x55ec02=this['unitID'];try{this[_0x553ed8(0x13d)](_0x5e9401,_0x2c881b);}catch(_0x49ddb1){this[_0x553ed8(0x3d7)][_0x553ed8(0x282)](_0x49ddb1);}const _0x13b086=this[_0x553ed8(0xfb)]();if(_0xf82eac){const _0x445032=_0x5dbb39(this[_0x553ed8(0x221)],_0x55ec02,this[_0x553ed8(0x236)],_0x5e9401,_0x2c881b,_0x13b086);return _0x445032 instanceof _0x2628ab[_0x553ed8(0x1d7)]?_0x445032[_0x553ed8(0x335)]():(_0x445032 instanceof _0x2628ab[_0x553ed8(0xf5)]||_0x445032 instanceof _0x2628ab[_0x553ed8(0x35c)])&&_0x445032[_0x553ed8(0xc8)](),_0x445032;}return this[_0x553ed8(0x221)][_0x553ed8(0x346)](_0x2628ab[_0x553ed8(0x310)],_0x55ec02,this[_0x553ed8(0x236)],_0x5e9401,_0x2c881b,_0x13b086);}[_0x40be40(0x13d)](_0x3a4fcb,_0x270d5d){var _0x3be3fb=_0x40be40,_0x4062c0,_0x5b1ef4;const _0x1bd6d2=this[_0x3be3fb(0x1cc)][_0x3be3fb(0x19a)][_0x3be3fb(0x247)](this[_0x3be3fb(0x1cc)][_0x3be3fb(0x19a)][_0x3be3fb(0x3e0)]()['COMPRESS_MUTATION_APPLY']);(_0x4062c0=_0x1bd6d2((_0x3a4fcb==null?void 0x0:_0x3a4fcb[_0x3be3fb(0x23e)])||[],null))==null||_0x4062c0['forEach'](_0x17f3e5=>this[_0x3be3fb(0x406)][_0x3be3fb(0x32c)](_0x17f3e5['id'],_0x17f3e5[_0x3be3fb(0x2d7)])),(_0x5b1ef4=_0x1bd6d2(_0x270d5d||[],null))==null||_0x5b1ef4[_0x3be3fb(0x19d)](_0x28537f=>this[_0x3be3fb(0x406)][_0x3be3fb(0x32c)](_0x28537f['id'],_0x28537f[_0x3be3fb(0x2d7)]));}},_0x2628ab[_0x40be40(0x155)]=_0x17e7c1([_0x3fcd58(0x3,_0xd26f96['Inject'](_0xd26f96[_0x40be40(0x369)])),_0x3fcd58(0x4,_0xd26f96[_0x40be40(0x21f)](_0x383951[_0x40be40(0x16f)])),_0x3fcd58(0x5,_0xd26f96[_0x40be40(0x21f)](_0xd26f96[_0x40be40(0x3d8)])),_0x3fcd58(0x6,_0xd26f96[_0x40be40(0x21f)](_0x383951[_0x40be40(0x260)])),_0x3fcd58(0x7,_0xd26f96[_0x40be40(0x21f)](_0xeb5637)),_0x3fcd58(0x8,_0xd26f96[_0x40be40(0x400)]),_0x3fcd58(0x9,_0xd26f96[_0x40be40(0x1e9)]),_0x3fcd58(0xa,_0xd26f96[_0x40be40(0x2e7)]),_0x3fcd58(0xb,_0xd26f96[_0x40be40(0x1c1)](_0x4bb6b5)),_0x3fcd58(0xc,_0xd26f96['Optional'](_0x598b06))],_0x2628ab[_0x40be40(0x155)]),_0x2628ab[_0x40be40(0x2fd)]=class extends _0x2628ab[_0x40be40(0x155)]{constructor(_0x26a4cd,_0xaa45cf,_0x4fb6d7,_0x26d1a2,_0x314f4b,_0x487447,_0x3a9f43,_0x2d8736,_0x17b52f,_0x5742ed,_0x35c134,_0x24a9d5,_0x55f964){super(_0x26a4cd,_0x4fb6d7,_0xaa45cf,_0x26d1a2,_0x314f4b,_0x487447,_0x3a9f43,_0x2d8736,_0x17b52f,_0x5742ed,_0x35c134,_0x24a9d5,_0x55f964),_0x2d2abe(this,'_handlerCallback',null),(this['unitID']=_0x26a4cd,this['type']=_0xaa45cf);}[_0x40be40(0x27f)](_0x3dcc6c){this['_handlerCallback']=_0x3dcc6c;}[_0x40be40(0xe7)](){this['_handlerCallback']=null,super['dispose']();}['_createHandler'](){var _0x4b5856=_0x40be40;const _0x1a962a=super['_createHandler']();return _0x1a962a[_0x4b5856(0x1f8)]=_0x26913d=>{var _0x2faa6c=_0x4b5856,_0x59f7d4,_0x56baf4;return(_0x56baf4=(_0x59f7d4=this[_0x2faa6c(0x16e)])==null?void 0x0:_0x59f7d4['onTransformIME'])==null?void 0x0:_0x56baf4[_0x2faa6c(0x261)](_0x59f7d4,_0x26913d);},_0x1a962a[_0x4b5856(0x15d)]=_0x2c2bc6=>{var _0x234838=_0x4b5856,_0x60d8e9,_0x55fada;return(_0x55fada=(_0x60d8e9=this['_handlerCallback'])==null?void 0x0:_0x60d8e9['onTransformState'])==null?void 0x0:_0x55fada[_0x234838(0x261)](_0x60d8e9,_0x2c2bc6);},_0x1a962a[_0x4b5856(0x21d)]=_0x4d4fe5=>{var _0x56382e=_0x4b5856,_0x5bc3f3,_0x48aba6;return(_0x48aba6=(_0x5bc3f3=this[_0x56382e(0x16e)])==null?void 0x0:_0x5bc3f3[_0x56382e(0x21d)])==null?void 0x0:_0x48aba6[_0x56382e(0x261)](_0x5bc3f3,_0x4d4fe5);},_0x1a962a['onSyncEditingCollabCursor']=_0x5bfb82=>{var _0x6e9b34=_0x4b5856,_0x137d04,_0x21f447;return(_0x21f447=(_0x137d04=this['_handlerCallback'])==null?void 0x0:_0x137d04[_0x6e9b34(0x23c)])==null?void 0x0:_0x21f447[_0x6e9b34(0x261)](_0x137d04,_0x5bfb82);},_0x1a962a[_0x4b5856(0x180)]=_0x4b0b1e=>{var _0x52aa59=_0x4b5856,_0x1e1eec,_0x2e736d,_0xf2a99e;if(!((_0x1e1eec=this[_0x52aa59(0x16e)])!=null&&_0x1e1eec[_0x52aa59(0x180)]))throw new Error(_0x52aa59(0xff));return(_0xf2a99e=(_0x2e736d=this['_handlerCallback'])==null?void 0x0:_0x2e736d[_0x52aa59(0x180)])==null?void 0x0:_0xf2a99e[_0x52aa59(0x261)](_0x2e736d,_0x4b0b1e);},_0x1a962a[_0x4b5856(0x129)]=_0xb91f05=>{var _0x241dc9=_0x4b5856,_0x7dea66,_0x297a17,_0x13a745;if(!((_0x7dea66=this[_0x241dc9(0x16e)])!=null&&_0x7dea66[_0x241dc9(0x129)]))throw new Error(_0x241dc9(0xb4));return(_0x13a745=(_0x297a17=this['_handlerCallback'])==null?void 0x0:_0x297a17[_0x241dc9(0x129)])==null?void 0x0:_0x13a745[_0x241dc9(0x261)](_0x297a17,_0xb91f05);},_0x1a962a;}async['_init'](){var _0x3abd8f=_0x40be40;const _0x21dbfd=await super[_0x3abd8f(0x3de)]();return this['disposeWithMe'](this[_0x3abd8f(0x406)][_0x3abd8f(0x286)]((_0x163140,_0x358dc8)=>{var _0x517d18=_0x3abd8f;if(_0x163140[_0x517d18(0xe2)]!==_0xd26f96[_0x517d18(0xdc)][_0x517d18(0x1c5)]||_0x358dc8!=null&&_0x358dc8[_0x517d18(0x31e)]||_0x358dc8!=null&&_0x358dc8[_0x517d18(0x149)]||_0x163140['id']===_0x223e26[_0x517d18(0x1bd)]['id'])return;const _0x4bfa1b=_0x163140['params'];if((_0x4bfa1b==null?void 0x0:_0x4bfa1b[_0x517d18(0x297)])!==this['unitID'])return;const _0x2062b6=_0x163140,_0x1ebef9=this[_0x517d18(0x1cc)]['interceptor'][_0x517d18(0x247)](this['_compressMutationService']['interceptor'][_0x517d18(0x3e0)]()[_0x517d18(0x348)])([_0x2062b6],null)||[_0x2062b6];this['_onLocalMutation'](_0x1ebef9[0x0]);})),_0x21dbfd;}},_0x2628ab['DocCollaborationEntity']=_0x17e7c1([_0x3fcd58(0x3,_0xd26f96[_0x40be40(0x21f)](_0xd26f96[_0x40be40(0x369)])),_0x3fcd58(0x4,_0xd26f96['Inject'](_0x383951[_0x40be40(0x16f)])),_0x3fcd58(0x5,_0xd26f96[_0x40be40(0x21f)](_0xd26f96[_0x40be40(0x3d8)])),_0x3fcd58(0x6,_0xd26f96[_0x40be40(0x21f)](_0x383951[_0x40be40(0x260)])),_0x3fcd58(0x7,_0xd26f96['Inject'](_0xeb5637)),_0x3fcd58(0x8,_0xd26f96[_0x40be40(0x400)]),_0x3fcd58(0x9,_0xd26f96['ICommandService']),_0x3fcd58(0xa,_0xd26f96['IPermissionService']),_0x3fcd58(0xb,_0xd26f96[_0x40be40(0x1c1)](_0x4bb6b5)),_0x3fcd58(0xc,_0xd26f96[_0x40be40(0x1c1)](_0x598b06))],_0x2628ab['DocCollaborationEntity']),_0x2628ab[_0x40be40(0x2b7)]=class extends _0x2628ab[_0x40be40(0x155)]{constructor(_0x3e6f89,_0x7e30d8,_0x189c4b,_0x3e0701,_0x4c815c,_0x5a7979,_0x4968cb,_0x19d372,_0x12a212,_0x38a401,_0x49e399,_0x54eeb0,_0x450506,_0x39d8d3){var _0x3cc493=_0x40be40;super(_0x3e6f89,_0x189c4b,_0x7e30d8,_0x3e0701,_0x4c815c,_0x5a7979,_0x4968cb,_0x12a212,_0x38a401,_0x49e399,_0x54eeb0,_0x450506,_0x39d8d3),this[_0x3cc493(0xc0)]=_0x3e6f89,this[_0x3cc493(0xe2)]=_0x7e30d8,this['_sheetTransformSelectionsService']=_0x19d372;}['_createHandler'](){var _0x56aad2=_0x40be40;const _0x535861=super[_0x56aad2(0xfb)]();return _0x535861[_0x56aad2(0x21d)]=_0x4e46fd=>this['_sheetTransformSelectionsService']['transformSelections'](_0x4e46fd),_0x535861;}async[_0x40be40(0x3de)](){var _0x3f78fb=_0x40be40;const _0x66dda9=await super[_0x3f78fb(0x3de)]();return this[_0x3f78fb(0x34e)](this[_0x3f78fb(0x406)][_0x3f78fb(0x286)]((_0x72a47d,_0x543f4b)=>{var _0x5bd99b=_0x3f78fb;if(_0x72a47d[_0x5bd99b(0xe2)]!==_0xd26f96[_0x5bd99b(0xdc)][_0x5bd99b(0x1c5)]||_0x543f4b!=null&&_0x543f4b[_0x5bd99b(0x31e)]||_0x543f4b!=null&&_0x543f4b[_0x5bd99b(0x149)])return;const _0x13b2c1=_0x72a47d[_0x5bd99b(0x2d7)];if((_0x13b2c1==null?void 0x0:_0x13b2c1[_0x5bd99b(0x297)])!==this[_0x5bd99b(0xc0)])return;const _0x451996=_0x72a47d,_0x4693b3=this['_compressMutationService'][_0x5bd99b(0x19a)][_0x5bd99b(0x247)](this[_0x5bd99b(0x1cc)]['interceptor'][_0x5bd99b(0x3e0)]()['COMPRESS_MUTATION_SEND'])([_0x451996],null)||[_0x451996];this[_0x5bd99b(0x332)](_0x4693b3[0x0]);})),_0x66dda9;}},_0x2628ab[_0x40be40(0x2b7)]=_0x17e7c1([_0x3fcd58(0x3,_0xd26f96['Inject'](_0xd26f96[_0x40be40(0x369)])),_0x3fcd58(0x4,_0xd26f96[_0x40be40(0x21f)](_0x383951[_0x40be40(0x16f)])),_0x3fcd58(0x5,_0xd26f96['Inject'](_0xd26f96[_0x40be40(0x3d8)])),_0x3fcd58(0x6,_0xd26f96['Inject'](_0x383951[_0x40be40(0x260)])),_0x3fcd58(0x7,_0xd26f96[_0x40be40(0x21f)](_0x2628ab[_0x40be40(0x40a)])),_0x3fcd58(0x8,_0xd26f96[_0x40be40(0x21f)](_0xeb5637)),_0x3fcd58(0x9,_0xd26f96[_0x40be40(0x400)]),_0x3fcd58(0xa,_0xd26f96[_0x40be40(0x1e9)]),_0x3fcd58(0xb,_0xd26f96[_0x40be40(0x2e7)]),_0x3fcd58(0xc,_0xd26f96['Optional'](_0x4bb6b5)),_0x3fcd58(0xd,_0xd26f96['Optional'](_0x598b06))],_0x2628ab[_0x40be40(0x2b7)]);var _0x1b35cd=Object['getOwnPropertyDescriptor'],_0x20a09b=(_0x287af3,_0x5e7f0e,_0x447817,_0x29568c)=>{var _0x205c6c=_0x40be40;for(var _0x35c27f=_0x29568c>0x1?void 0x0:_0x29568c?_0x1b35cd(_0x5e7f0e,_0x447817):_0x5e7f0e,_0x5c9de7=_0x287af3[_0x205c6c(0x112)]-0x1,_0x7ba723;_0x5c9de7>=0x0;_0x5c9de7--)(_0x7ba723=_0x287af3[_0x5c9de7])&&(_0x35c27f=_0x7ba723(_0x35c27f)||_0x35c27f);return _0x35c27f;},_0x41bbdf=(_0x3cc53a,_0x3ce306)=>(_0x4b8cba,_0x18adb4)=>_0x3ce306(_0x4b8cba,_0x18adb4,_0x3cc53a);_0x2628ab[_0x40be40(0x1d6)]=class extends _0xd26f96[_0x40be40(0x196)]{constructor(_0x5b9b9f,_0x5c9e2a,_0x57d7ca){var _0x2937d2=_0x40be40;super(),_0x2d2abe(this,'_entities',new Map()),_0x2d2abe(this,_0x2937d2(0xfa),new _0x22f260[(_0x2937d2(0x2d6))]()),_0x2d2abe(this,_0x2937d2(0x334),this['_entityInit$'][_0x2937d2(0x2ee)]()),(this[_0x2937d2(0x221)]=_0x5b9b9f,this[_0x2937d2(0x1ef)]=_0x5c9e2a,this[_0x2937d2(0x2de)]=_0x57d7ca,this[_0x2937d2(0x3de)]());}[_0x40be40(0xe7)](){var _0x470991=_0x40be40;super[_0x470991(0xe7)](),this['_entities']['forEach'](_0x3e1fd0=>_0x3e1fd0['dispose']()),this[_0x470991(0x3cc)]['clear']();}[_0x40be40(0x187)](_0x4c1900){var _0x2f7f27=_0x40be40,_0x4ded9d;return(_0x4ded9d=this['_entities'][_0x2f7f27(0x2e6)](_0x4c1900))!=null?_0x4ded9d:null;}[_0x40be40(0x2f8)](_0x2a4cb5){var _0x37edac=_0x40be40;const _0x375ff5=this[_0x37edac(0x187)](_0x2a4cb5);return _0x375ff5?_0x22f260['of'](_0x375ff5):this['_entityInit$'][_0x37edac(0x1c7)](_0x13752f[_0x37edac(0x231)](_0x49dbcc=>_0x49dbcc[_0x37edac(0xc0)]===_0x2a4cb5));}[_0x40be40(0x3e2)](_0x59cf94){var _0x4dface=_0x40be40;return _0x22f260[_0x4dface(0x145)](this[_0x4dface(0x2f8)](_0x59cf94)[_0x4dface(0x1c7)](_0x13752f[_0x4dface(0x366)](()=>{})));}[_0x40be40(0x3de)](){var _0x3af3fe=_0x40be40;this[_0x3af3fe(0x2de)][_0x3af3fe(0x3ab)](_0xd26f96[_0x3af3fe(0x395)][_0x3af3fe(0x105)])[_0x3af3fe(0x1c7)](_0x22f260['takeUntil'](this[_0x3af3fe(0x41e)]),_0x13752f['delay'](0x10))[_0x3af3fe(0x130)](async _0x385586=>{var _0x486c59=_0x3af3fe;const _0x5779d3=_0x385586[_0x486c59(0x35e)](),_0x35c5da=await this[_0x486c59(0xee)](_0x5779d3,_0x5dcae7[_0x486c59(0x105)]);this['_entities']['set'](_0x5779d3,_0x35c5da);}),this[_0x3af3fe(0x2de)][_0x3af3fe(0x3ab)](_0xd26f96[_0x3af3fe(0x395)][_0x3af3fe(0x26a)])[_0x3af3fe(0x1c7)](_0x22f260['takeUntil'](this[_0x3af3fe(0x41e)]),_0x13752f[_0x3af3fe(0x2cc)](0x10))['pipe'](_0x13752f[_0x3af3fe(0x231)](_0x49f7ae=>!_0x49f7ae[_0x3af3fe(0x35e)]()['startsWith']('__')))[_0x3af3fe(0x130)](async _0x5c44a2=>{var _0x35c4c9=_0x3af3fe;const _0x3adde9=_0x5c44a2[_0x35c4c9(0x35e)](),_0xf3ac5a=await this['_startCollaboration'](_0x3adde9,_0x5dcae7[_0x35c4c9(0x26a)]);this[_0x35c4c9(0x3cc)][_0x35c4c9(0xa9)](_0x3adde9,_0xf3ac5a);}),_0x22f260[_0x3af3fe(0x1ee)](this[_0x3af3fe(0x2de)][_0x3af3fe(0x12a)](_0xd26f96[_0x3af3fe(0x395)][_0x3af3fe(0x105)]),this[_0x3af3fe(0x2de)][_0x3af3fe(0x12a)](_0xd26f96['UniverInstanceType'][_0x3af3fe(0x26a)]))[_0x3af3fe(0x1c7)](_0x22f260['takeUntil'](this['dispose$']))[_0x3af3fe(0x130)](_0x4078a3=>{var _0x30aa84=_0x3af3fe;const _0x5af592=_0x4078a3[_0x30aa84(0x35e)](),_0x21cd50=this[_0x30aa84(0x3cc)][_0x30aa84(0x2e6)](_0x5af592);_0x21cd50&&(_0x21cd50['dispose'](),this['_entities'][_0x30aa84(0x14f)](_0x5af592));});}async[_0x40be40(0xee)](_0x457788,_0x51dfed){var _0x40dc22=_0x40be40;const _0x4a5770=await this[_0x40dc22(0x1ef)][_0x40dc22(0xaf)](_0x457788),_0x318f13=this[_0x40dc22(0x221)][_0x40dc22(0x346)](this['_getCtorByUniverType'](_0x51dfed),_0x457788,_0x51dfed,_0x4a5770);return await _0x318f13[_0x40dc22(0x3d3)](),this[_0x40dc22(0xfa)][_0x40dc22(0x2c9)](_0x318f13),_0x318f13;}['_getCtorByUniverType'](_0x3d2222){var _0xa26c8a=_0x40be40;switch(_0x3d2222){case _0x5dcae7[_0xa26c8a(0x26a)]:return _0x2628ab[_0xa26c8a(0x2fd)];case _0x5dcae7[_0xa26c8a(0x105)]:return _0x2628ab['SheetCollaborationEntity'];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x3d2222);}}},_0x2628ab['CollaborationController']=_0x20a09b([_0x41bbdf(0x0,_0xd26f96[_0x40be40(0x21f)](_0xd26f96[_0x40be40(0x369)])),_0x41bbdf(0x1,_0xd26f96[_0x40be40(0x21f)](_0x2628ab[_0x40be40(0x201)])),_0x41bbdf(0x2,_0xd26f96['IUniverInstanceService'])],_0x2628ab['CollaborationController']);var _0x217255=Object[_0x40be40(0xd4)],_0x59a2b0=(_0x1de82f,_0x12c032,_0x42eec2,_0x5493f0)=>{for(var _0x4391a4=_0x5493f0>0x1?void 0x0:_0x5493f0?_0x217255(_0x12c032,_0x42eec2):_0x12c032,_0x1bf075=_0x1de82f['length']-0x1,_0x51e4f8;_0x1bf075>=0x0;_0x1bf075--)(_0x51e4f8=_0x1de82f[_0x1bf075])&&(_0x4391a4=_0x51e4f8(_0x4391a4)||_0x4391a4);return _0x4391a4;},_0x468c32=(_0x3fea39,_0x396e33)=>(_0x584b7e,_0x3f7d9a)=>_0x396e33(_0x584b7e,_0x3f7d9a,_0x3fea39);const _0x58b98a=_0x40be40(0x329),_0xf42d0c='Univer';let _0x13ec6f=class extends _0xd26f96[_0x40be40(0x2ca)]{constructor(_0x2680a5,_0x2c7cf3){var _0x286bcf=_0x40be40;super(),this[_0x286bcf(0x2de)]=_0x2680a5,this['_configService']=_0x2c7cf3,this[_0x286bcf(0x3de)]();}[_0x40be40(0x3de)](){var _0xfc7e4b=_0x40be40;this[_0xfc7e4b(0x34e)](this['_univerInstanceService'][_0xfc7e4b(0xeb)][_0xfc7e4b(0x130)](()=>{var _0x5df89b=_0xfc7e4b,_0x3303ae;const _0x32f2de=this[_0x5df89b(0x2de)][_0x5df89b(0x243)]();let _0x4e27bb=(_0x3303ae=this[_0x5df89b(0x26b)][_0x5df89b(0x311)](_0x58b98a))!=null?_0x3303ae:_0xf42d0c;_0x32f2de instanceof _0xd26f96[_0x5df89b(0x360)]&&(_0x4e27bb=_0x32f2de[_0x5df89b(0x3f0)]),document[_0x5df89b(0x1f0)]=_0x4e27bb;}));}};_0x13ec6f=_0x59a2b0([_0x468c32(0x0,_0xd26f96[_0x40be40(0xc2)]),_0x468c32(0x1,_0xd26f96[_0x40be40(0x2c5)])],_0x13ec6f);var _0x4fc7ff=Object[_0x40be40(0xd4)],_0x31abb4=(_0x89a5a3,_0x86d486,_0x56fa3a,_0x23f146)=>{var _0x2ce03f=_0x40be40;for(var _0x5e6c7b=_0x23f146>0x1?void 0x0:_0x23f146?_0x4fc7ff(_0x86d486,_0x56fa3a):_0x86d486,_0x4dd5d4=_0x89a5a3[_0x2ce03f(0x112)]-0x1,_0x32e3fe;_0x4dd5d4>=0x0;_0x4dd5d4--)(_0x32e3fe=_0x89a5a3[_0x4dd5d4])&&(_0x5e6c7b=_0x32e3fe(_0x5e6c7b)||_0x5e6c7b);return _0x5e6c7b;},_0x2f3f9b=(_0x58426c,_0x5be33f)=>(_0x4d909d,_0x57f759)=>_0x5be33f(_0x4d909d,_0x57f759,_0x58426c);let _0xef6f6f=class{constructor(_0x2d45fa,_0x2202a4,_0x7712b3){var _0x3fc2a1=_0x40be40;this[_0x3fc2a1(0x26b)]=_0x2d45fa,this['_httpService']=_0x2202a4,this['localeService']=_0x7712b3,this['init']();}['init'](){var _0x361e05=_0x40be40;this[_0x361e05(0x11f)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x37f3d3,_0x35da2c)=>_0x35da2c(_0x37f3d3)[_0x361e05(0x1c7)](_0x22f260[_0x361e05(0x425)](async _0x11b716=>{var _0x37fd28=_0x361e05;const _0x4ced64=_0x11b716;if(_0x4ced64['status']===0x191){if(typeof window>'u')throw new Error(_0x37fd28(0x19c));if(window[_0x37fd28(0x268)](this[_0x37fd28(0x13e)]['t'](_0x37fd28(0x422)))){const _0x1ecb02=window[_0x37fd28(0x428)](window[_0x37fd28(0x15c)][_0x37fd28(0x3f8)]);window[_0x37fd28(0x15c)]['href']=this['_getLoginPath']()+_0x37fd28(0x127)+_0x1ecb02;}}return _0x4ced64;}))});}[_0x40be40(0x25d)](){var _0x27aeed=_0x40be40,_0x35b2f9,_0xbe10d5;const _0x30cc18=this[_0x27aeed(0x26b)]['getConfig'](_0x6d7a56),_0x38befe=this[_0x27aeed(0x26b)][_0x27aeed(0x311)](_0x5b36e1);return(_0xbe10d5=(_0x35b2f9=_0x38befe==null?void 0x0:_0x38befe[_0x27aeed(0x420)])!=null?_0x35b2f9:_0x30cc18)!=null?_0xbe10d5:_0xc36801;}};_0xef6f6f=_0x31abb4([_0x2f3f9b(0x0,_0xd26f96['IConfigService']),_0x2f3f9b(0x1,_0xd26f96[_0x40be40(0x21f)](_0x46d276['HTTPService'])),_0x2f3f9b(0x2,_0xd26f96[_0x40be40(0x21f)](_0xd26f96[_0x40be40(0x3d8)]))],_0xef6f6f);var _0x9326b2=Object[_0x40be40(0xd4)],_0x55c723=(_0x2f5250,_0x2139c0,_0x249099,_0x8620)=>{var _0x4f3ffe=_0x40be40;for(var _0x5761bd=_0x8620>0x1?void 0x0:_0x8620?_0x9326b2(_0x2139c0,_0x249099):_0x2139c0,_0x3e5a3e=_0x2f5250[_0x4f3ffe(0x112)]-0x1,_0x3ae7ad;_0x3e5a3e>=0x0;_0x3e5a3e--)(_0x3ae7ad=_0x2f5250[_0x3e5a3e])&&(_0x5761bd=_0x3ae7ad(_0x5761bd)||_0x5761bd);return _0x5761bd;},_0x494b01=(_0x15fe82,_0x2ac909)=>(_0x716a65,_0x22a437)=>_0x2ac909(_0x716a65,_0x22a437,_0x15fe82);const _0x1f18ca='AUTHZ_URL_KEY',_0x3a3052='/universer-api/authz';_0x2628ab[_0x40be40(0x432)]=class extends _0xd26f96[_0x40be40(0x2ca)]{constructor(_0xb035bd,_0x5399f9){var _0x53606f=_0x40be40;super(),this[_0x53606f(0x23b)]=_0xb035bd,this[_0x53606f(0x26b)]=_0x5399f9,this[_0x53606f(0x299)]();}[_0x40be40(0x299)](){var _0x268c35=_0x40be40;const _0x442122=this;this[_0x268c35(0x34e)](this[_0x268c35(0x23b)][_0x268c35(0x3c8)]({'priority':0x3e7,'interceptor':_0x46d276[_0x268c35(0x2e8)]({'isMatch'(_0x17c5e3){var _0x5acd4f=_0x268c35,_0x4732ce;if(_0x17c5e3[_0x5acd4f(0x230)]===_0x5acd4f(0x13f)&&((_0x4732ce=_0x17c5e3[_0x5acd4f(0x1e0)])!=null&&_0x4732ce['body'])){const {objectID:_0x3fb532,objectType:_0x43b764}=_0x17c5e3[_0x5acd4f(0x1e0)]['body']||{};if(!_0x3fb532||_0x43b764===void 0x0)return!0x1;const _0x448b06=_0x442122['_getAPIPrefixPath']()+'/'+_0x43b764+_0x5acd4f(0x3f3)+_0x3fb532+'/allowed';if(_0x17c5e3[_0x5acd4f(0x2eb)]===_0x448b06)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4801f7){var _0x4c8e27=_0x268c35,_0x3de912;return(_0x3de912=_0x4801f7[_0x4c8e27(0x1e0)])==null?void 0x0:_0x3de912[_0x4c8e27(0x176)];},'mergeParamsToRequest'(_0x48d017,_0x110a00){var _0x50ec0e=_0x268c35;const _0x223728=_0x442122[_0x50ec0e(0x34c)]()+'/-/object/-/batch_allowed',_0xe00fde=_0x48d017[_0x50ec0e(0x1a9)]((_0x51904d,_0x396915)=>{var _0x4dde27=_0x50ec0e;const {unitID:_0x2441b8,objectID:_0x47e505,objectType:_0x440043,actions:_0x265860}=_0x396915;return _0x51904d[_0x2441b8]||(_0x51904d[_0x2441b8]={}),_0x51904d[_0x2441b8][_0x47e505]||(_0x51904d[_0x2441b8][_0x47e505]={'objectID':_0x47e505,'objectType':_0x440043,'actions':[]}),_0x51904d[_0x2441b8][_0x47e505][_0x4dde27(0x18b)][_0x4dde27(0x2a2)](..._0x265860),_0x51904d;},{}),_0x14c11d=[];for(const _0x3cce79 in _0xe00fde)for(const _0x48ca69 in _0xe00fde[_0x3cce79]){const {actions:_0x4a01f4,objectType:_0x551748}=_0xe00fde[_0x3cce79][_0x48ca69],_0x388706=[...new Set(_0x4a01f4)];_0x14c11d[_0x50ec0e(0x2a2)]({'unitID':_0x3cce79,'objectID':_0x48ca69,'objectType':_0x551748,'actions':_0x388706});}return new _0x46d276[(_0x50ec0e(0x378))](_0x50ec0e(0x13f),_0x223728,{'headers':_0x110a00[_0x50ec0e(0x142)],'withCredentials':_0x110a00[_0x50ec0e(0x233)],'responseType':_0x110a00['responseType'],'body':{'requests':_0x14c11d}});}},{'distributeResult'(_0xab4f87,_0x2a57db){var _0x2b8a60=_0x268c35;const {objectActions:_0x3ad877}=_0xab4f87;return _0x2a57db[_0x2b8a60(0x366)](_0x1f1b28=>{var _0x14b100=_0x2b8a60;const {unitID:_0x5ca028,objectID:_0x5f018e,actions:_0x30029e}=_0x1f1b28,_0x28c829=_0x3ad877[_0x14b100(0x3e1)](_0xf0743d=>_0xf0743d[_0x14b100(0xc0)]===_0x5ca028&&_0xf0743d[_0x14b100(0x34f)]===_0x5f018e),_0x35435d=_0x30029e[_0x14b100(0x366)](_0x431567=>_0x28c829==null?void 0x0:_0x28c829[_0x14b100(0x18b)][_0x14b100(0x3e1)](_0x236c48=>_0x236c48['action']===_0x431567))[_0x14b100(0x231)](_0x2129af=>!!_0x2129af);return{'config':_0x1f1b28,'result':{'actions':_0x35435d,'error':_0xab4f87[_0x14b100(0x282)]}};});}})}));}['_getAPIPrefixPath'](){var _0x24dbe2=_0x40be40,_0x55e233,_0x513c4f;const _0x4c27af=this['_configService'][_0x24dbe2(0x311)](_0x1f18ca),_0x1f0d9a=this[_0x24dbe2(0x26b)][_0x24dbe2(0x311)](_0x5b36e1);return(_0x513c4f=(_0x55e233=_0x1f0d9a==null?void 0x0:_0x1f0d9a[_0x24dbe2(0x2a5)])!=null?_0x55e233:_0x4c27af)!=null?_0x513c4f:_0x3a3052;}async[_0x40be40(0x3cb)](_0x546624){var _0x51569e=_0x40be40;const _0x5abe89=this[_0x51569e(0x34c)]()+'/'+_0x546624['objectType']+_0x51569e(0x374);return(await this['_HTTPService'][_0x51569e(0x352)](_0x5abe89,{'body':_0x546624}))[_0x51569e(0x176)][_0x51569e(0x34f)]||'';}async[_0x40be40(0x36a)](_0x520938){var _0x54bfdd=_0x40be40;const _0x4db5ef=this[_0x54bfdd(0x34c)]()+_0x54bfdd(0x1d1);return(await this['_HTTPService'][_0x54bfdd(0x352)](_0x4db5ef,{'body':_0x520938}))[_0x54bfdd(0x176)][_0x54bfdd(0x1b3)];}async['update'](_0x4336ec){var _0x1223c1=_0x40be40,_0x4c5cd8,_0x322eb8;const _0x1ceb35=this[_0x1223c1(0x34c)]()+'/'+_0x4336ec['objectType']+'/object/'+_0x4336ec['objectID'],_0x4fd2ab=await this[_0x1223c1(0x23b)]['put'](_0x1ceb35,{'body':_0x4336ec});if(((_0x322eb8=(_0x4c5cd8=_0x4fd2ab==null?void 0x0:_0x4fd2ab[_0x1223c1(0x176)])==null?void 0x0:_0x4c5cd8['error'])==null?void 0x0:_0x322eb8['code'])!==0x1)throw new Error(_0x1223c1(0x431));}async[_0x40be40(0x28c)](_0x48ed8a){var _0x42a593=_0x40be40;const _0x109722=this[_0x42a593(0x34c)]()+'/'+_0x48ed8a[_0x42a593(0x250)]+_0x42a593(0x3f3)+_0x48ed8a[_0x42a593(0x34f)]+'/allowed';return(await this[_0x42a593(0x23b)][_0x42a593(0x352)](_0x109722,{'body':_0x48ed8a}))[_0x42a593(0x176)]['actions'];}async['batchAllowed'](_0x2e117a){var _0x27cfb0=_0x40be40;const _0x43f19e=this[_0x27cfb0(0x34c)]()+_0x27cfb0(0x191);return(await this[_0x27cfb0(0x23b)][_0x27cfb0(0x352)](_0x43f19e,{'body':{'requests':_0x2e117a}}))[_0x27cfb0(0x176)][_0x27cfb0(0x2f2)];}async['listRoles'](_0x44902d){var _0x245a08=_0x40be40;const _0x588c29=this[_0x245a08(0x34c)]()+'/'+_0x44902d[_0x245a08(0x250)]+'/role',_0x4a0373=await this[_0x245a08(0x23b)]['post'](_0x588c29,{'body':_0x44902d});return{'roles':_0x4a0373[_0x245a08(0x176)]['roles'],'actions':_0x4a0373['body'][_0x245a08(0x18b)]};}async[_0x40be40(0xd7)](_0x2d3603){var _0x5ce278=_0x40be40;const _0x16ea53=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x5ce278(0x23b)][_0x5ce278(0x14f)](_0x16ea53,{'params':{'collaboratorID':_0x2d3603[_0x5ce278(0x224)],'objectID':_0x2d3603[_0x5ce278(0x34f)],'unitID':_0x2d3603[_0x5ce278(0xc0)]}});}async[_0x40be40(0x262)](_0x35e38e){var _0x13635a=_0x40be40;const _0x192f3e=this[_0x13635a(0x34c)]()+_0x13635a(0x15b);await this[_0x13635a(0x23b)][_0x13635a(0x1d5)](_0x192f3e,{'body':_0x35e38e});}async[_0x40be40(0x1f5)](_0x256d27){var _0x249fd0=_0x40be40;const _0x5d96e6=this[_0x249fd0(0x34c)]()+_0x249fd0(0x15b);await this[_0x249fd0(0x23b)][_0x249fd0(0x352)](_0x5d96e6,{'body':_0x256d27});}async[_0x40be40(0x388)](_0x1e7615){var _0x455b15=_0x40be40;const _0x444cde=this[_0x455b15(0x34c)]()+_0x455b15(0x15b);return(await this[_0x455b15(0x23b)]['get'](_0x444cde,{'params':{'objectID':_0x1e7615[_0x455b15(0x34f)],'unitID':_0x1e7615['unitID']}}))[_0x455b15(0x176)][_0x455b15(0xaa)];}async['putCollaborators'](_0x48d169){var _0x4c0db1=_0x40be40;const _0x3169d6=this[_0x4c0db1(0x34c)]()+'/collaborator';await this[_0x4c0db1(0x23b)][_0x4c0db1(0x2b3)](_0x3169d6,{'body':_0x48d169});}},_0x2628ab[_0x40be40(0x432)]=_0x55c723([_0x494b01(0x0,_0xd26f96[_0x40be40(0x21f)](_0x46d276['HTTPService'])),_0x494b01(0x1,_0xd26f96['Inject'](_0xd26f96['IConfigService']))],_0x2628ab['AuthzIoHttpService']);var _0x5a89e4=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function _0x437fac(_0x92c75c){var _0x7e3c69=_0x40be40;return _0x92c75c&&_0x92c75c[_0x7e3c69(0x25c)]&&Object[_0x7e3c69(0x35d)]['hasOwnProperty'][_0x7e3c69(0x261)](_0x92c75c,_0x7e3c69(0x121))?_0x92c75c[_0x7e3c69(0x121)]:_0x92c75c;}var _0x832b5f={'exports':{}};function _0x1d3f3a(_0x14cf8a){var _0x4e52fc=_0x40be40;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x14cf8a+_0x4e52fc(0xdb));}var _0x26e47c={'exports':{}},_0x2959fd=_0x26e47c[_0x40be40(0x3a3)],_0xb3a9d6;function _0x3dac84(){var _0x312fed=_0x40be40;return _0xb3a9d6||(_0xb3a9d6=0x1,function(_0x49c5e1,_0x3c24f2){(function(_0x26462b,_0xb9ef32){var _0x4f3bc8=_0x23d9;_0x49c5e1[_0x4f3bc8(0x3a3)]=_0xb9ef32();}(_0x2959fd,function(){var _0x15ab31=_0x15ab31||function(_0x31ad74,_0x45bdcf){var _0x539091=_0x23d9,_0x39b0c5;if(typeof window<'u'&&window[_0x539091(0x371)]&&(_0x39b0c5=window['crypto']),typeof self<'u'&&self[_0x539091(0x371)]&&(_0x39b0c5=self['crypto']),typeof globalThis<'u'&&globalThis[_0x539091(0x371)]&&(_0x39b0c5=globalThis[_0x539091(0x371)]),!_0x39b0c5&&typeof window<'u'&&window[_0x539091(0x35f)]&&(_0x39b0c5=window[_0x539091(0x35f)]),!_0x39b0c5&&typeof _0x5a89e4<'u'&&_0x5a89e4[_0x539091(0x371)]&&(_0x39b0c5=_0x5a89e4['crypto']),!_0x39b0c5&&typeof _0x1d3f3a==_0x539091(0x1c2))try{_0x39b0c5=require('crypto');}catch{}var _0x502e33=function(){var _0x6eae59=_0x539091;if(_0x39b0c5){if(typeof _0x39b0c5[_0x6eae59(0x257)]==_0x6eae59(0x1c2))try{return _0x39b0c5[_0x6eae59(0x257)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x39b0c5[_0x6eae59(0x140)]==_0x6eae59(0x1c2))try{return _0x39b0c5[_0x6eae59(0x140)](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x9f2827=Object[_0x539091(0x3cb)]||(function(){function _0x4e2217(){}return function(_0x510979){var _0xd0510f=_0x23d9,_0xb6330d;return _0x4e2217[_0xd0510f(0x35d)]=_0x510979,_0xb6330d=new _0x4e2217(),_0x4e2217['prototype']=null,_0xb6330d;};}()),_0x462b91={},_0x2d1f04=_0x462b91[_0x539091(0x27a)]={},_0x449550=_0x2d1f04[_0x539091(0x319)]=(function(){return{'extend':function(_0x40a074){var _0xc4c65b=_0x23d9,_0x446635=_0x9f2827(this);return _0x40a074&&_0x446635[_0xc4c65b(0x430)](_0x40a074),(!_0x446635[_0xc4c65b(0x2aa)](_0xc4c65b(0x3d3))||this[_0xc4c65b(0x3d3)]===_0x446635[_0xc4c65b(0x3d3)])&&(_0x446635['init']=function(){var _0xeb8260=_0xc4c65b;_0x446635[_0xeb8260(0x2bf)]['init'][_0xeb8260(0x396)](this,arguments);}),_0x446635[_0xc4c65b(0x3d3)][_0xc4c65b(0x35d)]=_0x446635,_0x446635[_0xc4c65b(0x2bf)]=this,_0x446635;},'create':function(){var _0x173e27=_0x23d9,_0x56c3ee=this[_0x173e27(0x14b)]();return _0x56c3ee[_0x173e27(0x3d3)][_0x173e27(0x396)](_0x56c3ee,arguments),_0x56c3ee;},'init':function(){},'mixIn':function(_0xa539a9){var _0x63c367=_0x23d9;for(var _0x12dc9e in _0xa539a9)_0xa539a9[_0x63c367(0x2aa)](_0x12dc9e)&&(this[_0x12dc9e]=_0xa539a9[_0x12dc9e]);_0xa539a9[_0x63c367(0x2aa)]('toString')&&(this[_0x63c367(0x3eb)]=_0xa539a9[_0x63c367(0x3eb)]);},'clone':function(){var _0x47dcca=_0x23d9;return this[_0x47dcca(0x3d3)][_0x47dcca(0x35d)]['extend'](this);}};}()),_0x2e25be=_0x2d1f04[_0x539091(0xd2)]=_0x449550[_0x539091(0x14b)]({'init':function(_0x4981d4,_0x32ebd4){var _0x195438=_0x539091;_0x4981d4=this[_0x195438(0x41d)]=_0x4981d4||[],_0x32ebd4!=_0x45bdcf?this[_0x195438(0x13c)]=_0x32ebd4:this[_0x195438(0x13c)]=_0x4981d4[_0x195438(0x112)]*0x4;},'toString':function(_0x14cc4f){return(_0x14cc4f||_0x3853d6)['stringify'](this);},'concat':function(_0x32b9ca){var _0xf5b47d=_0x539091,_0x248abd=this[_0xf5b47d(0x41d)],_0x1ebfd8=_0x32b9ca[_0xf5b47d(0x41d)],_0x703500=this[_0xf5b47d(0x13c)],_0x1ae111=_0x32b9ca[_0xf5b47d(0x13c)];if(this[_0xf5b47d(0x2e1)](),_0x703500%0x4)for(var _0x171517=0x0;_0x171517<_0x1ae111;_0x171517++){var _0x2126be=_0x1ebfd8[_0x171517>>>0x2]>>>0x18-_0x171517%0x4*0x8&0xff;_0x248abd[_0x703500+_0x171517>>>0x2]|=_0x2126be<<0x18-(_0x703500+_0x171517)%0x4*0x8;}else{for(var _0x1511e2=0x0;_0x1511e2<_0x1ae111;_0x1511e2+=0x4)_0x248abd[_0x703500+_0x1511e2>>>0x2]=_0x1ebfd8[_0x1511e2>>>0x2];}return this[_0xf5b47d(0x13c)]+=_0x1ae111,this;},'clamp':function(){var _0x5bf055=_0x539091,_0x106353=this[_0x5bf055(0x41d)],_0x4242a0=this[_0x5bf055(0x13c)];_0x106353[_0x4242a0>>>0x2]&=0xffffffff<<0x20-_0x4242a0%0x4*0x8,_0x106353[_0x5bf055(0x112)]=_0x31ad74['ceil'](_0x4242a0/0x4);},'clone':function(){var _0x256031=_0x539091,_0x5bc458=_0x449550[_0x256031(0x3b9)][_0x256031(0x261)](this);return _0x5bc458[_0x256031(0x41d)]=this[_0x256031(0x41d)][_0x256031(0xf7)](0x0),_0x5bc458;},'random':function(_0x456ffc){var _0x225584=_0x539091;for(var _0x2d3ca9=[],_0x323def=0x0;_0x323def<_0x456ffc;_0x323def+=0x4)_0x2d3ca9[_0x225584(0x2a2)](_0x502e33());return new _0x2e25be[(_0x225584(0x3d3))](_0x2d3ca9,_0x456ffc);}}),_0x321bd8=_0x462b91[_0x539091(0x3d0)]={},_0x3853d6=_0x321bd8['Hex']={'stringify':function(_0x548c58){var _0xfc0ca8=_0x539091;for(var _0x189127=_0x548c58[_0xfc0ca8(0x41d)],_0x52ead7=_0x548c58[_0xfc0ca8(0x13c)],_0x238932=[],_0x29a945=0x0;_0x29a945<_0x52ead7;_0x29a945++){var _0x4e8595=_0x189127[_0x29a945>>>0x2]>>>0x18-_0x29a945%0x4*0x8&0xff;_0x238932[_0xfc0ca8(0x2a2)]((_0x4e8595>>>0x4)['toString'](0x10)),_0x238932[_0xfc0ca8(0x2a2)]((_0x4e8595&0xf)[_0xfc0ca8(0x3eb)](0x10));}return _0x238932['join']('');},'parse':function(_0x313074){var _0x10b5ec=_0x539091;for(var _0x4b1a68=_0x313074[_0x10b5ec(0x112)],_0x21cc55=[],_0x2f63ce=0x0;_0x2f63ce<_0x4b1a68;_0x2f63ce+=0x2)_0x21cc55[_0x2f63ce>>>0x3]|=parseInt(_0x313074[_0x10b5ec(0x3e7)](_0x2f63ce,0x2),0x10)<<0x18-_0x2f63ce%0x8*0x4;return new _0x2e25be[(_0x10b5ec(0x3d3))](_0x21cc55,_0x4b1a68/0x2);}},_0x129170=_0x321bd8[_0x539091(0x1e6)]={'stringify':function(_0x957b46){var _0x4e95bc=_0x539091;for(var _0x363b8a=_0x957b46['words'],_0x3e0a13=_0x957b46[_0x4e95bc(0x13c)],_0x35574c=[],_0x585b8c=0x0;_0x585b8c<_0x3e0a13;_0x585b8c++){var _0x382b91=_0x363b8a[_0x585b8c>>>0x2]>>>0x18-_0x585b8c%0x4*0x8&0xff;_0x35574c[_0x4e95bc(0x2a2)](String[_0x4e95bc(0x306)](_0x382b91));}return _0x35574c[_0x4e95bc(0x2c8)]('');},'parse':function(_0xa5c264){var _0x96ce54=_0x539091;for(var _0x4ea7d8=_0xa5c264[_0x96ce54(0x112)],_0x997382=[],_0x265a50=0x0;_0x265a50<_0x4ea7d8;_0x265a50++)_0x997382[_0x265a50>>>0x2]|=(_0xa5c264[_0x96ce54(0x14a)](_0x265a50)&0xff)<<0x18-_0x265a50%0x4*0x8;return new _0x2e25be[(_0x96ce54(0x3d3))](_0x997382,_0x4ea7d8);}},_0xe7479c=_0x321bd8[_0x539091(0x16c)]={'stringify':function(_0x44a75f){var _0x48a18b=_0x539091;try{return decodeURIComponent(escape(_0x129170[_0x48a18b(0x3c2)](_0x44a75f)));}catch{throw new Error(_0x48a18b(0x3a1));}},'parse':function(_0x1c1232){var _0x25c0ce=_0x539091;return _0x129170[_0x25c0ce(0x27b)](unescape(encodeURIComponent(_0x1c1232)));}},_0x27019e=_0x2d1f04['BufferedBlockAlgorithm']=_0x449550[_0x539091(0x14b)]({'reset':function(){var _0x5d4176=_0x539091;this[_0x5d4176(0x33d)]=new _0x2e25be[(_0x5d4176(0x3d3))](),this[_0x5d4176(0x3bb)]=0x0;},'_append':function(_0x23dc7e){var _0xe3b729=_0x539091;typeof _0x23dc7e==_0xe3b729(0x227)&&(_0x23dc7e=_0xe7479c['parse'](_0x23dc7e)),this[_0xe3b729(0x33d)][_0xe3b729(0x3d5)](_0x23dc7e),this[_0xe3b729(0x3bb)]+=_0x23dc7e[_0xe3b729(0x13c)];},'_process':function(_0x3941da){var _0x37d1c5=_0x539091,_0x4512c9,_0x33a04b=this[_0x37d1c5(0x33d)],_0x5dbfa5=_0x33a04b[_0x37d1c5(0x41d)],_0x2cac64=_0x33a04b[_0x37d1c5(0x13c)],_0x14871a=this[_0x37d1c5(0x414)],_0xe5a50=_0x14871a*0x4,_0x2eadc9=_0x2cac64/_0xe5a50;_0x3941da?_0x2eadc9=_0x31ad74[_0x37d1c5(0x37c)](_0x2eadc9):_0x2eadc9=_0x31ad74['max']((_0x2eadc9|0x0)-this['_minBufferSize'],0x0);var _0x1b17e1=_0x2eadc9*_0x14871a,_0x3d65d5=_0x31ad74[_0x37d1c5(0x1ab)](_0x1b17e1*0x4,_0x2cac64);if(_0x1b17e1){for(var _0x285b72=0x0;_0x285b72<_0x1b17e1;_0x285b72+=_0x14871a)this[_0x37d1c5(0x3f6)](_0x5dbfa5,_0x285b72);_0x4512c9=_0x5dbfa5[_0x37d1c5(0x3c0)](0x0,_0x1b17e1),_0x33a04b[_0x37d1c5(0x13c)]-=_0x3d65d5;}return new _0x2e25be[(_0x37d1c5(0x3d3))](_0x4512c9,_0x3d65d5);},'clone':function(){var _0x4f04df=_0x539091,_0x1d185d=_0x449550[_0x4f04df(0x3b9)]['call'](this);return _0x1d185d[_0x4f04df(0x33d)]=this['_data'][_0x4f04df(0x3b9)](),_0x1d185d;},'_minBufferSize':0x0});_0x2d1f04[_0x539091(0x124)]=_0x27019e[_0x539091(0x14b)]({'cfg':_0x449550[_0x539091(0x14b)](),'init':function(_0x5f41fa){var _0x33d818=_0x539091;this[_0x33d818(0x1a5)]=this[_0x33d818(0x1a5)][_0x33d818(0x14b)](_0x5f41fa),this[_0x33d818(0x150)]();},'reset':function(){var _0x3a5e35=_0x539091;_0x27019e[_0x3a5e35(0x150)][_0x3a5e35(0x261)](this),this[_0x3a5e35(0x3a5)]();},'update':function(_0x3a4296){var _0x35c25c=_0x539091;return this[_0x35c25c(0x19f)](_0x3a4296),this[_0x35c25c(0x182)](),this;},'finalize':function(_0x409d76){var _0x589429=_0x539091;_0x409d76&&this[_0x589429(0x19f)](_0x409d76);var _0x570e85=this[_0x589429(0xec)]();return _0x570e85;},'blockSize':0x10,'_createHelper':function(_0x2deacf){return function(_0x494697,_0x4f96f0){var _0x2ac669=_0x23d9;return new _0x2deacf['init'](_0x4f96f0)[_0x2ac669(0xbc)](_0x494697);};},'_createHmacHelper':function(_0x1cbbd7){return function(_0x58433b,_0x558b6d){var _0x831d38=_0x23d9;return new _0x4b3d26[(_0x831d38(0x111))][(_0x831d38(0x3d3))](_0x1cbbd7,_0x558b6d)['finalize'](_0x58433b);};}});var _0x4b3d26=_0x462b91['algo']={};return _0x462b91;}(Math);return _0x15ab31;}));}(_0x26e47c)),_0x26e47c[_0x312fed(0x3a3)];}var _0x56b288={'exports':{}},_0x41d28c=_0x56b288[_0x40be40(0x3a3)],_0x411be3;function _0x1d81cf(){var _0x4e3645=_0x40be40;return _0x411be3||(_0x411be3=0x1,function(_0x2bc348,_0x20a1a4){(function(_0x19d68d,_0x2028b8){var _0xdc92c1=_0x23d9;_0x2bc348[_0xdc92c1(0x3a3)]=_0x2028b8(_0x3dac84());}(_0x41d28c,function(_0x434dfc){var _0x49e570=_0x23d9;return(function(){var _0x4aedbd=_0x23d9,_0x5581b9=_0x434dfc,_0x197b8a=_0x5581b9[_0x4aedbd(0x27a)],_0x331e11=_0x197b8a[_0x4aedbd(0xd2)],_0x1e9a91=_0x5581b9['enc'];_0x1e9a91[_0x4aedbd(0x393)]={'stringify':function(_0x5496e1){var _0x568aa7=_0x4aedbd,_0x3b43ee=_0x5496e1[_0x568aa7(0x41d)],_0x39d9d4=_0x5496e1['sigBytes'],_0x13051d=this[_0x568aa7(0x135)];_0x5496e1[_0x568aa7(0x2e1)]();for(var _0x231c44=[],_0x5451db=0x0;_0x5451db<_0x39d9d4;_0x5451db+=0x3)for(var _0x22f57d=_0x3b43ee[_0x5451db>>>0x2]>>>0x18-_0x5451db%0x4*0x8&0xff,_0x4725e2=_0x3b43ee[_0x5451db+0x1>>>0x2]>>>0x18-(_0x5451db+0x1)%0x4*0x8&0xff,_0x5ebb35=_0x3b43ee[_0x5451db+0x2>>>0x2]>>>0x18-(_0x5451db+0x2)%0x4*0x8&0xff,_0x44ae7c=_0x22f57d<<0x10|_0x4725e2<<0x8|_0x5ebb35,_0x268e54=0x0;_0x268e54<0x4&&_0x5451db+_0x268e54*0.75<_0x39d9d4;_0x268e54++)_0x231c44['push'](_0x13051d[_0x568aa7(0x398)](_0x44ae7c>>>0x6*(0x3-_0x268e54)&0x3f));var _0x310550=_0x13051d[_0x568aa7(0x398)](0x40);if(_0x310550){for(;_0x231c44[_0x568aa7(0x112)]%0x4;)_0x231c44[_0x568aa7(0x2a2)](_0x310550);}return _0x231c44[_0x568aa7(0x2c8)]('');},'parse':function(_0x1b3f86){var _0x4c09df=_0x4aedbd,_0x786537=_0x1b3f86[_0x4c09df(0x112)],_0x2ba09e=this[_0x4c09df(0x135)],_0x10946a=this[_0x4c09df(0x177)];if(!_0x10946a){_0x10946a=this[_0x4c09df(0x177)]=[];for(var _0x48cd1e=0x0;_0x48cd1e<_0x2ba09e['length'];_0x48cd1e++)_0x10946a[_0x2ba09e[_0x4c09df(0x14a)](_0x48cd1e)]=_0x48cd1e;}var _0x4f7af1=_0x2ba09e[_0x4c09df(0x398)](0x40);if(_0x4f7af1){var _0x5bd6a7=_0x1b3f86[_0x4c09df(0x3a7)](_0x4f7af1);_0x5bd6a7!==-0x1&&(_0x786537=_0x5bd6a7);}return _0x532475(_0x1b3f86,_0x786537,_0x10946a);},'_map':_0x4aedbd(0x38f)};function _0x532475(_0x36b05f,_0x15f1fc,_0x4552bf){var _0x91c63b=_0x4aedbd;for(var _0x5e07a1=[],_0x1fdac7=0x0,_0x3430e4=0x0;_0x3430e4<_0x15f1fc;_0x3430e4++)if(_0x3430e4%0x4){var _0x351f7c=_0x4552bf[_0x36b05f[_0x91c63b(0x14a)](_0x3430e4-0x1)]<<_0x3430e4%0x4*0x2,_0x17d1a8=_0x4552bf[_0x36b05f[_0x91c63b(0x14a)](_0x3430e4)]>>>0x6-_0x3430e4%0x4*0x2,_0x178d3f=_0x351f7c|_0x17d1a8;_0x5e07a1[_0x1fdac7>>>0x2]|=_0x178d3f<<0x18-_0x1fdac7%0x4*0x8,_0x1fdac7++;}return _0x331e11[_0x91c63b(0x3cb)](_0x5e07a1,_0x1fdac7);}}()),_0x434dfc[_0x49e570(0x3d0)]['Base64'];}));}(_0x56b288)),_0x56b288[_0x4e3645(0x3a3)];}var _0x281cbe={'exports':{}},_0x5b381b=_0x281cbe[_0x40be40(0x3a3)],_0xb9c9db;function _0x318980(){var _0x96066c=_0x40be40;return _0xb9c9db||(_0xb9c9db=0x1,function(_0x187d67,_0xe445d9){(function(_0x35f7e0,_0x121d2e){var _0x669448=_0x23d9;_0x187d67[_0x669448(0x3a3)]=_0x121d2e(_0x3dac84());}(_0x5b381b,function(_0x21f9f6){var _0x1ecb45=_0x23d9;return function(_0x39aca1){var _0x2b5599=_0x23d9,_0x29b9b1=_0x21f9f6,_0x4f1f86=_0x29b9b1[_0x2b5599(0x27a)],_0x553d06=_0x4f1f86['WordArray'],_0x2c3983=_0x4f1f86['Hasher'],_0x58b981=_0x29b9b1[_0x2b5599(0xf4)],_0x3410dc=[];(function(){var _0x1e214d=_0x2b5599;for(var _0x45d4c1=0x0;_0x45d4c1<0x40;_0x45d4c1++)_0x3410dc[_0x45d4c1]=_0x39aca1[_0x1e214d(0x30d)](_0x39aca1[_0x1e214d(0x3b3)](_0x45d4c1+0x1))*0x100000000|0x0;}());var _0x50afdc=_0x58b981[_0x2b5599(0x1fc)]=_0x2c3983[_0x2b5599(0x14b)]({'_doReset':function(){var _0x4ee0d5=_0x2b5599;this['_hash']=new _0x553d06[(_0x4ee0d5(0x3d3))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4e3b8e,_0x3beb03){var _0x471e4e=_0x2b5599;for(var _0x2cbb9f=0x0;_0x2cbb9f<0x10;_0x2cbb9f++){var _0x1d6b30=_0x3beb03+_0x2cbb9f,_0xb587af=_0x4e3b8e[_0x1d6b30];_0x4e3b8e[_0x1d6b30]=(_0xb587af<<0x8|_0xb587af>>>0x18)&0xff00ff|(_0xb587af<<0x18|_0xb587af>>>0x8)&0xff00ff00;}var _0x502af5=this[_0x471e4e(0x195)][_0x471e4e(0x41d)],_0x4adbe2=_0x4e3b8e[_0x3beb03+0x0],_0x42d7b6=_0x4e3b8e[_0x3beb03+0x1],_0x10489e=_0x4e3b8e[_0x3beb03+0x2],_0x2e345d=_0x4e3b8e[_0x3beb03+0x3],_0x11eb48=_0x4e3b8e[_0x3beb03+0x4],_0x4092ec=_0x4e3b8e[_0x3beb03+0x5],_0x56254d=_0x4e3b8e[_0x3beb03+0x6],_0x203874=_0x4e3b8e[_0x3beb03+0x7],_0x741f12=_0x4e3b8e[_0x3beb03+0x8],_0x519108=_0x4e3b8e[_0x3beb03+0x9],_0x237dd7=_0x4e3b8e[_0x3beb03+0xa],_0x22c968=_0x4e3b8e[_0x3beb03+0xb],_0x33cd9f=_0x4e3b8e[_0x3beb03+0xc],_0x5026d1=_0x4e3b8e[_0x3beb03+0xd],_0x5b7ee6=_0x4e3b8e[_0x3beb03+0xe],_0xcbd16e=_0x4e3b8e[_0x3beb03+0xf],_0x3b32a5=_0x502af5[0x0],_0x1a2047=_0x502af5[0x1],_0x463f3a=_0x502af5[0x2],_0x15d660=_0x502af5[0x3];_0x3b32a5=_0xe47a63(_0x3b32a5,_0x1a2047,_0x463f3a,_0x15d660,_0x4adbe2,0x7,_0x3410dc[0x0]),_0x15d660=_0xe47a63(_0x15d660,_0x3b32a5,_0x1a2047,_0x463f3a,_0x42d7b6,0xc,_0x3410dc[0x1]),_0x463f3a=_0xe47a63(_0x463f3a,_0x15d660,_0x3b32a5,_0x1a2047,_0x10489e,0x11,_0x3410dc[0x2]),_0x1a2047=_0xe47a63(_0x1a2047,_0x463f3a,_0x15d660,_0x3b32a5,_0x2e345d,0x16,_0x3410dc[0x3]),_0x3b32a5=_0xe47a63(_0x3b32a5,_0x1a2047,_0x463f3a,_0x15d660,_0x11eb48,0x7,_0x3410dc[0x4]),_0x15d660=_0xe47a63(_0x15d660,_0x3b32a5,_0x1a2047,_0x463f3a,_0x4092ec,0xc,_0x3410dc[0x5]),_0x463f3a=_0xe47a63(_0x463f3a,_0x15d660,_0x3b32a5,_0x1a2047,_0x56254d,0x11,_0x3410dc[0x6]),_0x1a2047=_0xe47a63(_0x1a2047,_0x463f3a,_0x15d660,_0x3b32a5,_0x203874,0x16,_0x3410dc[0x7]),_0x3b32a5=_0xe47a63(_0x3b32a5,_0x1a2047,_0x463f3a,_0x15d660,_0x741f12,0x7,_0x3410dc[0x8]),_0x15d660=_0xe47a63(_0x15d660,_0x3b32a5,_0x1a2047,_0x463f3a,_0x519108,0xc,_0x3410dc[0x9]),_0x463f3a=_0xe47a63(_0x463f3a,_0x15d660,_0x3b32a5,_0x1a2047,_0x237dd7,0x11,_0x3410dc[0xa]),_0x1a2047=_0xe47a63(_0x1a2047,_0x463f3a,_0x15d660,_0x3b32a5,_0x22c968,0x16,_0x3410dc[0xb]),_0x3b32a5=_0xe47a63(_0x3b32a5,_0x1a2047,_0x463f3a,_0x15d660,_0x33cd9f,0x7,_0x3410dc[0xc]),_0x15d660=_0xe47a63(_0x15d660,_0x3b32a5,_0x1a2047,_0x463f3a,_0x5026d1,0xc,_0x3410dc[0xd]),_0x463f3a=_0xe47a63(_0x463f3a,_0x15d660,_0x3b32a5,_0x1a2047,_0x5b7ee6,0x11,_0x3410dc[0xe]),_0x1a2047=_0xe47a63(_0x1a2047,_0x463f3a,_0x15d660,_0x3b32a5,_0xcbd16e,0x16,_0x3410dc[0xf]),_0x3b32a5=_0x228187(_0x3b32a5,_0x1a2047,_0x463f3a,_0x15d660,_0x42d7b6,0x5,_0x3410dc[0x10]),_0x15d660=_0x228187(_0x15d660,_0x3b32a5,_0x1a2047,_0x463f3a,_0x56254d,0x9,_0x3410dc[0x11]),_0x463f3a=_0x228187(_0x463f3a,_0x15d660,_0x3b32a5,_0x1a2047,_0x22c968,0xe,_0x3410dc[0x12]),_0x1a2047=_0x228187(_0x1a2047,_0x463f3a,_0x15d660,_0x3b32a5,_0x4adbe2,0x14,_0x3410dc[0x13]),_0x3b32a5=_0x228187(_0x3b32a5,_0x1a2047,_0x463f3a,_0x15d660,_0x4092ec,0x5,_0x3410dc[0x14]),_0x15d660=_0x228187(_0x15d660,_0x3b32a5,_0x1a2047,_0x463f3a,_0x237dd7,0x9,_0x3410dc[0x15]),_0x463f3a=_0x228187(_0x463f3a,_0x15d660,_0x3b32a5,_0x1a2047,_0xcbd16e,0xe,_0x3410dc[0x16]),_0x1a2047=_0x228187(_0x1a2047,_0x463f3a,_0x15d660,_0x3b32a5,_0x11eb48,0x14,_0x3410dc[0x17]),_0x3b32a5=_0x228187(_0x3b32a5,_0x1a2047,_0x463f3a,_0x15d660,_0x519108,0x5,_0x3410dc[0x18]),_0x15d660=_0x228187(_0x15d660,_0x3b32a5,_0x1a2047,_0x463f3a,_0x5b7ee6,0x9,_0x3410dc[0x19]),_0x463f3a=_0x228187(_0x463f3a,_0x15d660,_0x3b32a5,_0x1a2047,_0x2e345d,0xe,_0x3410dc[0x1a]),_0x1a2047=_0x228187(_0x1a2047,_0x463f3a,_0x15d660,_0x3b32a5,_0x741f12,0x14,_0x3410dc[0x1b]),_0x3b32a5=_0x228187(_0x3b32a5,_0x1a2047,_0x463f3a,_0x15d660,_0x5026d1,0x5,_0x3410dc[0x1c]),_0x15d660=_0x228187(_0x15d660,_0x3b32a5,_0x1a2047,_0x463f3a,_0x10489e,0x9,_0x3410dc[0x1d]),_0x463f3a=_0x228187(_0x463f3a,_0x15d660,_0x3b32a5,_0x1a2047,_0x203874,0xe,_0x3410dc[0x1e]),_0x1a2047=_0x228187(_0x1a2047,_0x463f3a,_0x15d660,_0x3b32a5,_0x33cd9f,0x14,_0x3410dc[0x1f]),_0x3b32a5=_0x44d909(_0x3b32a5,_0x1a2047,_0x463f3a,_0x15d660,_0x4092ec,0x4,_0x3410dc[0x20]),_0x15d660=_0x44d909(_0x15d660,_0x3b32a5,_0x1a2047,_0x463f3a,_0x741f12,0xb,_0x3410dc[0x21]),_0x463f3a=_0x44d909(_0x463f3a,_0x15d660,_0x3b32a5,_0x1a2047,_0x22c968,0x10,_0x3410dc[0x22]),_0x1a2047=_0x44d909(_0x1a2047,_0x463f3a,_0x15d660,_0x3b32a5,_0x5b7ee6,0x17,_0x3410dc[0x23]),_0x3b32a5=_0x44d909(_0x3b32a5,_0x1a2047,_0x463f3a,_0x15d660,_0x42d7b6,0x4,_0x3410dc[0x24]),_0x15d660=_0x44d909(_0x15d660,_0x3b32a5,_0x1a2047,_0x463f3a,_0x11eb48,0xb,_0x3410dc[0x25]),_0x463f3a=_0x44d909(_0x463f3a,_0x15d660,_0x3b32a5,_0x1a2047,_0x203874,0x10,_0x3410dc[0x26]),_0x1a2047=_0x44d909(_0x1a2047,_0x463f3a,_0x15d660,_0x3b32a5,_0x237dd7,0x17,_0x3410dc[0x27]),_0x3b32a5=_0x44d909(_0x3b32a5,_0x1a2047,_0x463f3a,_0x15d660,_0x5026d1,0x4,_0x3410dc[0x28]),_0x15d660=_0x44d909(_0x15d660,_0x3b32a5,_0x1a2047,_0x463f3a,_0x4adbe2,0xb,_0x3410dc[0x29]),_0x463f3a=_0x44d909(_0x463f3a,_0x15d660,_0x3b32a5,_0x1a2047,_0x2e345d,0x10,_0x3410dc[0x2a]),_0x1a2047=_0x44d909(_0x1a2047,_0x463f3a,_0x15d660,_0x3b32a5,_0x56254d,0x17,_0x3410dc[0x2b]),_0x3b32a5=_0x44d909(_0x3b32a5,_0x1a2047,_0x463f3a,_0x15d660,_0x519108,0x4,_0x3410dc[0x2c]),_0x15d660=_0x44d909(_0x15d660,_0x3b32a5,_0x1a2047,_0x463f3a,_0x33cd9f,0xb,_0x3410dc[0x2d]),_0x463f3a=_0x44d909(_0x463f3a,_0x15d660,_0x3b32a5,_0x1a2047,_0xcbd16e,0x10,_0x3410dc[0x2e]),_0x1a2047=_0x44d909(_0x1a2047,_0x463f3a,_0x15d660,_0x3b32a5,_0x10489e,0x17,_0x3410dc[0x2f]),_0x3b32a5=_0x5f2e50(_0x3b32a5,_0x1a2047,_0x463f3a,_0x15d660,_0x4adbe2,0x6,_0x3410dc[0x30]),_0x15d660=_0x5f2e50(_0x15d660,_0x3b32a5,_0x1a2047,_0x463f3a,_0x203874,0xa,_0x3410dc[0x31]),_0x463f3a=_0x5f2e50(_0x463f3a,_0x15d660,_0x3b32a5,_0x1a2047,_0x5b7ee6,0xf,_0x3410dc[0x32]),_0x1a2047=_0x5f2e50(_0x1a2047,_0x463f3a,_0x15d660,_0x3b32a5,_0x4092ec,0x15,_0x3410dc[0x33]),_0x3b32a5=_0x5f2e50(_0x3b32a5,_0x1a2047,_0x463f3a,_0x15d660,_0x33cd9f,0x6,_0x3410dc[0x34]),_0x15d660=_0x5f2e50(_0x15d660,_0x3b32a5,_0x1a2047,_0x463f3a,_0x2e345d,0xa,_0x3410dc[0x35]),_0x463f3a=_0x5f2e50(_0x463f3a,_0x15d660,_0x3b32a5,_0x1a2047,_0x237dd7,0xf,_0x3410dc[0x36]),_0x1a2047=_0x5f2e50(_0x1a2047,_0x463f3a,_0x15d660,_0x3b32a5,_0x42d7b6,0x15,_0x3410dc[0x37]),_0x3b32a5=_0x5f2e50(_0x3b32a5,_0x1a2047,_0x463f3a,_0x15d660,_0x741f12,0x6,_0x3410dc[0x38]),_0x15d660=_0x5f2e50(_0x15d660,_0x3b32a5,_0x1a2047,_0x463f3a,_0xcbd16e,0xa,_0x3410dc[0x39]),_0x463f3a=_0x5f2e50(_0x463f3a,_0x15d660,_0x3b32a5,_0x1a2047,_0x56254d,0xf,_0x3410dc[0x3a]),_0x1a2047=_0x5f2e50(_0x1a2047,_0x463f3a,_0x15d660,_0x3b32a5,_0x5026d1,0x15,_0x3410dc[0x3b]),_0x3b32a5=_0x5f2e50(_0x3b32a5,_0x1a2047,_0x463f3a,_0x15d660,_0x11eb48,0x6,_0x3410dc[0x3c]),_0x15d660=_0x5f2e50(_0x15d660,_0x3b32a5,_0x1a2047,_0x463f3a,_0x22c968,0xa,_0x3410dc[0x3d]),_0x463f3a=_0x5f2e50(_0x463f3a,_0x15d660,_0x3b32a5,_0x1a2047,_0x10489e,0xf,_0x3410dc[0x3e]),_0x1a2047=_0x5f2e50(_0x1a2047,_0x463f3a,_0x15d660,_0x3b32a5,_0x519108,0x15,_0x3410dc[0x3f]),_0x502af5[0x0]=_0x502af5[0x0]+_0x3b32a5|0x0,_0x502af5[0x1]=_0x502af5[0x1]+_0x1a2047|0x0,_0x502af5[0x2]=_0x502af5[0x2]+_0x463f3a|0x0,_0x502af5[0x3]=_0x502af5[0x3]+_0x15d660|0x0;},'_doFinalize':function(){var _0x45b7d5=_0x2b5599,_0x3780a5=this[_0x45b7d5(0x33d)],_0x34858b=_0x3780a5[_0x45b7d5(0x41d)],_0x325e53=this['_nDataBytes']*0x8,_0x50b797=_0x3780a5[_0x45b7d5(0x13c)]*0x8;_0x34858b[_0x50b797>>>0x5]|=0x80<<0x18-_0x50b797%0x20;var _0x2c5db7=_0x39aca1[_0x45b7d5(0x322)](_0x325e53/0x100000000),_0x540058=_0x325e53;_0x34858b[(_0x50b797+0x40>>>0x9<<0x4)+0xf]=(_0x2c5db7<<0x8|_0x2c5db7>>>0x18)&0xff00ff|(_0x2c5db7<<0x18|_0x2c5db7>>>0x8)&0xff00ff00,_0x34858b[(_0x50b797+0x40>>>0x9<<0x4)+0xe]=(_0x540058<<0x8|_0x540058>>>0x18)&0xff00ff|(_0x540058<<0x18|_0x540058>>>0x8)&0xff00ff00,_0x3780a5[_0x45b7d5(0x13c)]=(_0x34858b[_0x45b7d5(0x112)]+0x1)*0x4,this['_process']();for(var _0x27fead=this[_0x45b7d5(0x195)],_0x1d922a=_0x27fead[_0x45b7d5(0x41d)],_0x50a6cc=0x0;_0x50a6cc<0x4;_0x50a6cc++){var _0x342ac9=_0x1d922a[_0x50a6cc];_0x1d922a[_0x50a6cc]=(_0x342ac9<<0x8|_0x342ac9>>>0x18)&0xff00ff|(_0x342ac9<<0x18|_0x342ac9>>>0x8)&0xff00ff00;}return _0x27fead;},'clone':function(){var _0x21a5c0=_0x2b5599,_0x5b5d9c=_0x2c3983['clone'][_0x21a5c0(0x261)](this);return _0x5b5d9c[_0x21a5c0(0x195)]=this[_0x21a5c0(0x195)][_0x21a5c0(0x3b9)](),_0x5b5d9c;}});function _0xe47a63(_0x58ef94,_0x323f9a,_0xcbdc05,_0xcfcefd,_0x18583f,_0x123bc3,_0x5515b1){var _0x39a03a=_0x58ef94+(_0x323f9a&_0xcbdc05|~_0x323f9a&_0xcfcefd)+_0x18583f+_0x5515b1;return(_0x39a03a<<_0x123bc3|_0x39a03a>>>0x20-_0x123bc3)+_0x323f9a;}function _0x228187(_0x178480,_0x32bd87,_0x4e9b7b,_0x2821f4,_0x1d8dcf,_0x25fa28,_0xc91311){var _0x51b752=_0x178480+(_0x32bd87&_0x2821f4|_0x4e9b7b&~_0x2821f4)+_0x1d8dcf+_0xc91311;return(_0x51b752<<_0x25fa28|_0x51b752>>>0x20-_0x25fa28)+_0x32bd87;}function _0x44d909(_0x569aad,_0x10efb8,_0x2e8411,_0x35a842,_0x5c5b48,_0x33669f,_0x5c7c9f){var _0x1482aa=_0x569aad+(_0x10efb8^_0x2e8411^_0x35a842)+_0x5c5b48+_0x5c7c9f;return(_0x1482aa<<_0x33669f|_0x1482aa>>>0x20-_0x33669f)+_0x10efb8;}function _0x5f2e50(_0x43b021,_0x460fc6,_0x36deba,_0x196e5e,_0x596404,_0x25f38b,_0x4a1150){var _0xc7f320=_0x43b021+(_0x36deba^(_0x460fc6|~_0x196e5e))+_0x596404+_0x4a1150;return(_0xc7f320<<_0x25f38b|_0xc7f320>>>0x20-_0x25f38b)+_0x460fc6;}_0x29b9b1[_0x2b5599(0x1fc)]=_0x2c3983['_createHelper'](_0x50afdc),_0x29b9b1['HmacMD5']=_0x2c3983[_0x2b5599(0xc9)](_0x50afdc);}(Math),_0x21f9f6[_0x1ecb45(0x1fc)];}));}(_0x281cbe)),_0x281cbe[_0x96066c(0x3a3)];}var _0x18358c={'exports':{}},_0x11f3dc={'exports':{}},_0xf8d68d=_0x11f3dc['exports'],_0x4376d8;function _0x12d4b5(){var _0x56a185=_0x40be40;return _0x4376d8||(_0x4376d8=0x1,function(_0x3fb1d2,_0x542617){(function(_0x221091,_0x1429ce){_0x3fb1d2['exports']=_0x1429ce(_0x3dac84());}(_0xf8d68d,function(_0x25122e){var _0x386023=_0x23d9;return(function(){var _0x301b5c=_0x23d9,_0x10218a=_0x25122e,_0x26f5c0=_0x10218a[_0x301b5c(0x27a)],_0x37a203=_0x26f5c0['WordArray'],_0x271945=_0x26f5c0[_0x301b5c(0x124)],_0x31f186=_0x10218a[_0x301b5c(0xf4)],_0x5045e7=[],_0x206519=_0x31f186[_0x301b5c(0x2a9)]=_0x271945[_0x301b5c(0x14b)]({'_doReset':function(){var _0x2d81bc=_0x301b5c;this[_0x2d81bc(0x195)]=new _0x37a203['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x367123,_0xfc286d){var _0x16276f=_0x301b5c;for(var _0x47cac3=this[_0x16276f(0x195)][_0x16276f(0x41d)],_0xe7ca47=_0x47cac3[0x0],_0x46921c=_0x47cac3[0x1],_0x3394b4=_0x47cac3[0x2],_0x38cb6d=_0x47cac3[0x3],_0x1d37ce=_0x47cac3[0x4],_0x4fbe77=0x0;_0x4fbe77<0x50;_0x4fbe77++){if(_0x4fbe77<0x10)_0x5045e7[_0x4fbe77]=_0x367123[_0xfc286d+_0x4fbe77]|0x0;else{var _0x51c7c0=_0x5045e7[_0x4fbe77-0x3]^_0x5045e7[_0x4fbe77-0x8]^_0x5045e7[_0x4fbe77-0xe]^_0x5045e7[_0x4fbe77-0x10];_0x5045e7[_0x4fbe77]=_0x51c7c0<<0x1|_0x51c7c0>>>0x1f;}var _0x2f2c74=(_0xe7ca47<<0x5|_0xe7ca47>>>0x1b)+_0x1d37ce+_0x5045e7[_0x4fbe77];_0x4fbe77<0x14?_0x2f2c74+=(_0x46921c&_0x3394b4|~_0x46921c&_0x38cb6d)+0x5a827999:_0x4fbe77<0x28?_0x2f2c74+=(_0x46921c^_0x3394b4^_0x38cb6d)+0x6ed9eba1:_0x4fbe77<0x3c?_0x2f2c74+=(_0x46921c&_0x3394b4|_0x46921c&_0x38cb6d|_0x3394b4&_0x38cb6d)-0x70e44324:_0x2f2c74+=(_0x46921c^_0x3394b4^_0x38cb6d)-0x359d3e2a,_0x1d37ce=_0x38cb6d,_0x38cb6d=_0x3394b4,_0x3394b4=_0x46921c<<0x1e|_0x46921c>>>0x2,_0x46921c=_0xe7ca47,_0xe7ca47=_0x2f2c74;}_0x47cac3[0x0]=_0x47cac3[0x0]+_0xe7ca47|0x0,_0x47cac3[0x1]=_0x47cac3[0x1]+_0x46921c|0x0,_0x47cac3[0x2]=_0x47cac3[0x2]+_0x3394b4|0x0,_0x47cac3[0x3]=_0x47cac3[0x3]+_0x38cb6d|0x0,_0x47cac3[0x4]=_0x47cac3[0x4]+_0x1d37ce|0x0;},'_doFinalize':function(){var _0x3fcae9=_0x301b5c,_0x1eccfc=this[_0x3fcae9(0x33d)],_0x2ebb33=_0x1eccfc[_0x3fcae9(0x41d)],_0x41ec9d=this[_0x3fcae9(0x3bb)]*0x8,_0x5de6ad=_0x1eccfc['sigBytes']*0x8;return _0x2ebb33[_0x5de6ad>>>0x5]|=0x80<<0x18-_0x5de6ad%0x20,_0x2ebb33[(_0x5de6ad+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x41ec9d/0x100000000),_0x2ebb33[(_0x5de6ad+0x40>>>0x9<<0x4)+0xf]=_0x41ec9d,_0x1eccfc[_0x3fcae9(0x13c)]=_0x2ebb33[_0x3fcae9(0x112)]*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x5ebaef=_0x301b5c,_0x396e3e=_0x271945[_0x5ebaef(0x3b9)]['call'](this);return _0x396e3e[_0x5ebaef(0x195)]=this[_0x5ebaef(0x195)]['clone'](),_0x396e3e;}});_0x10218a[_0x301b5c(0x2a9)]=_0x271945[_0x301b5c(0x305)](_0x206519),_0x10218a[_0x301b5c(0xca)]=_0x271945[_0x301b5c(0xc9)](_0x206519);}()),_0x25122e[_0x386023(0x2a9)];}));}(_0x11f3dc)),_0x11f3dc[_0x56a185(0x3a3)];}var _0x6b42a5={'exports':{}},_0x4409a6=_0x6b42a5[_0x40be40(0x3a3)],_0x1da1bb;function _0x40b878(){var _0x4e0264=_0x40be40;return _0x1da1bb||(_0x1da1bb=0x1,function(_0x23b6e8,_0x475e51){(function(_0x540bba,_0x3c64c0){_0x23b6e8['exports']=_0x3c64c0(_0x3dac84());}(_0x4409a6,function(_0x52630c){(function(){var _0x14aedf=_0x23d9,_0x288c08=_0x52630c,_0x36702d=_0x288c08['lib'],_0x133ce4=_0x36702d[_0x14aedf(0x319)],_0x33ba19=_0x288c08['enc'],_0xd82653=_0x33ba19[_0x14aedf(0x16c)],_0x75207c=_0x288c08['algo'];_0x75207c[_0x14aedf(0x111)]=_0x133ce4['extend']({'init':function(_0x2af8fa,_0x2f9eac){var _0x473505=_0x14aedf;_0x2af8fa=this[_0x473505(0x1a3)]=new _0x2af8fa[(_0x473505(0x3d3))](),typeof _0x2f9eac==_0x473505(0x227)&&(_0x2f9eac=_0xd82653[_0x473505(0x27b)](_0x2f9eac));var _0x1ac737=_0x2af8fa[_0x473505(0x414)],_0x4dcd39=_0x1ac737*0x4;_0x2f9eac[_0x473505(0x13c)]>_0x4dcd39&&(_0x2f9eac=_0x2af8fa[_0x473505(0xbc)](_0x2f9eac)),_0x2f9eac[_0x473505(0x2e1)]();for(var _0x52277c=this[_0x473505(0x2da)]=_0x2f9eac['clone'](),_0x42c800=this['_iKey']=_0x2f9eac['clone'](),_0x2fb1c6=_0x52277c[_0x473505(0x41d)],_0x3743ff=_0x42c800['words'],_0x135792=0x0;_0x135792<_0x1ac737;_0x135792++)_0x2fb1c6[_0x135792]^=0x5c5c5c5c,_0x3743ff[_0x135792]^=0x36363636;_0x52277c[_0x473505(0x13c)]=_0x42c800[_0x473505(0x13c)]=_0x4dcd39,this['reset']();},'reset':function(){var _0x3fbbd0=_0x14aedf,_0x56d677=this['_hasher'];_0x56d677[_0x3fbbd0(0x150)](),_0x56d677[_0x3fbbd0(0x1b8)](this[_0x3fbbd0(0x331)]);},'update':function(_0x100579){var _0x19374b=_0x14aedf;return this[_0x19374b(0x1a3)][_0x19374b(0x1b8)](_0x100579),this;},'finalize':function(_0x1585c6){var _0x25b230=_0x14aedf,_0x463e29=this['_hasher'],_0x446b3a=_0x463e29[_0x25b230(0xbc)](_0x1585c6);_0x463e29[_0x25b230(0x150)]();var _0xe710f1=_0x463e29[_0x25b230(0xbc)](this[_0x25b230(0x2da)][_0x25b230(0x3b9)]()[_0x25b230(0x3d5)](_0x446b3a));return _0xe710f1;}});}());}));}(_0x6b42a5)),_0x6b42a5[_0x4e0264(0x3a3)];}var _0x19a72a=_0x18358c[_0x40be40(0x3a3)],_0x27cef3;function _0x3cba70(){var _0x4473f1=_0x40be40;return _0x27cef3||(_0x27cef3=0x1,function(_0x3cdb6b,_0x24de1f){(function(_0x317f35,_0x2ece18,_0x3d5e71){var _0x1235b1=_0x23d9;_0x3cdb6b[_0x1235b1(0x3a3)]=_0x2ece18(_0x3dac84(),_0x12d4b5(),_0x40b878());}(_0x19a72a,function(_0x147382){return(function(){var _0x5d22b2=_0x23d9,_0x3f8c21=_0x147382,_0x57f21d=_0x3f8c21[_0x5d22b2(0x27a)],_0xd7dbd9=_0x57f21d['Base'],_0x21ab8d=_0x57f21d[_0x5d22b2(0xd2)],_0x168c76=_0x3f8c21[_0x5d22b2(0xf4)],_0x5a74b5=_0x168c76[_0x5d22b2(0x1fc)],_0x5cfa2e=_0x168c76[_0x5d22b2(0x1fd)]=_0xd7dbd9[_0x5d22b2(0x14b)]({'cfg':_0xd7dbd9[_0x5d22b2(0x14b)]({'keySize':0x80/0x20,'hasher':_0x5a74b5,'iterations':0x1}),'init':function(_0x512935){var _0x41d816=_0x5d22b2;this[_0x41d816(0x1a5)]=this[_0x41d816(0x1a5)][_0x41d816(0x14b)](_0x512935);},'compute':function(_0x541ee2,_0x1851eb){var _0x1502ee=_0x5d22b2;for(var _0x884f0a,_0x5ccdcf=this[_0x1502ee(0x1a5)],_0x470112=_0x5ccdcf['hasher'][_0x1502ee(0x3cb)](),_0x2786b5=_0x21ab8d['create'](),_0x1a17c4=_0x2786b5[_0x1502ee(0x41d)],_0x15b085=_0x5ccdcf[_0x1502ee(0x387)],_0x94b42e=_0x5ccdcf[_0x1502ee(0x34b)];_0x1a17c4[_0x1502ee(0x112)]<_0x15b085;){_0x884f0a&&_0x470112[_0x1502ee(0x1b8)](_0x884f0a),_0x884f0a=_0x470112[_0x1502ee(0x1b8)](_0x541ee2)[_0x1502ee(0xbc)](_0x1851eb),_0x470112[_0x1502ee(0x150)]();for(var _0x29c475=0x1;_0x29c475<_0x94b42e;_0x29c475++)_0x884f0a=_0x470112['finalize'](_0x884f0a),_0x470112['reset']();_0x2786b5[_0x1502ee(0x3d5)](_0x884f0a);}return _0x2786b5[_0x1502ee(0x13c)]=_0x15b085*0x4,_0x2786b5;}});_0x3f8c21[_0x5d22b2(0x1fd)]=function(_0x523e54,_0xe8d91a,_0x223502){var _0x3fee37=_0x5d22b2;return _0x5cfa2e[_0x3fee37(0x3cb)](_0x223502)[_0x3fee37(0x1cd)](_0x523e54,_0xe8d91a);};}()),_0x147382['EvpKDF'];}));}(_0x18358c)),_0x18358c[_0x4473f1(0x3a3)];}var _0x4941e3={'exports':{}},_0x2d1ec0=_0x4941e3[_0x40be40(0x3a3)],_0x57cbf3;function _0x29a590(){return _0x57cbf3||(_0x57cbf3=0x1,function(_0x1f187d,_0x139461){(function(_0x385293,_0x332f8a,_0x275cfd){var _0x556abb=_0x23d9;_0x1f187d[_0x556abb(0x3a3)]=_0x332f8a(_0x3dac84(),_0x3cba70());}(_0x2d1ec0,function(_0x377eb5){var _0x4ae0fa=_0x23d9;_0x377eb5[_0x4ae0fa(0x27a)]['Cipher']||function(_0x56c28d){var _0x5b10e1=_0x4ae0fa,_0x336f49=_0x377eb5,_0x108c40=_0x336f49[_0x5b10e1(0x27a)],_0x559868=_0x108c40[_0x5b10e1(0x319)],_0x4d1346=_0x108c40[_0x5b10e1(0xd2)],_0x435dd1=_0x108c40[_0x5b10e1(0xde)],_0x382b5b=_0x336f49[_0x5b10e1(0x3d0)];_0x382b5b[_0x5b10e1(0x16c)];var _0x2d2261=_0x382b5b[_0x5b10e1(0x393)],_0x1401b5=_0x336f49['algo'],_0x4da4d8=_0x1401b5[_0x5b10e1(0x1fd)],_0x11f772=_0x108c40['Cipher']=_0x435dd1[_0x5b10e1(0x14b)]({'cfg':_0x559868[_0x5b10e1(0x14b)](),'createEncryptor':function(_0x1b7603,_0x3065a0){return this['create'](this['_ENC_XFORM_MODE'],_0x1b7603,_0x3065a0);},'createDecryptor':function(_0x461d2e,_0x309586){var _0x460d17=_0x5b10e1;return this[_0x460d17(0x3cb)](this[_0x460d17(0x2f7)],_0x461d2e,_0x309586);},'init':function(_0x565bf5,_0x584088,_0x393271){var _0x184bc4=_0x5b10e1;this[_0x184bc4(0x1a5)]=this[_0x184bc4(0x1a5)][_0x184bc4(0x14b)](_0x393271),this[_0x184bc4(0x415)]=_0x565bf5,this[_0x184bc4(0x1e5)]=_0x584088,this['reset']();},'reset':function(){var _0x278f64=_0x5b10e1;_0x435dd1[_0x278f64(0x150)]['call'](this),this['_doReset']();},'process':function(_0x5d2ccb){var _0x14f0e0=_0x5b10e1;return this[_0x14f0e0(0x19f)](_0x5d2ccb),this[_0x14f0e0(0x182)]();},'finalize':function(_0x14fc86){var _0x3b48ce=_0x5b10e1;_0x14fc86&&this[_0x3b48ce(0x19f)](_0x14fc86);var _0x4a1b9d=this[_0x3b48ce(0xec)]();return _0x4a1b9d;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xfada18(_0x48c50e){var _0xd10d3a=_0x23d9;return typeof _0x48c50e==_0xd10d3a(0x227)?_0x446ec7:_0x5e33d7;}return function(_0x2dcc1b){return{'encrypt':function(_0xc53edc,_0x511397,_0x528d54){var _0x281828=_0x23d9;return _0xfada18(_0x511397)[_0x281828(0x390)](_0x2dcc1b,_0xc53edc,_0x511397,_0x528d54);},'decrypt':function(_0x1b4946,_0x308a8f,_0x2c7267){var _0x448cd1=_0x23d9;return _0xfada18(_0x308a8f)[_0x448cd1(0x2b5)](_0x2dcc1b,_0x1b4946,_0x308a8f,_0x2c7267);}};};}())});_0x108c40[_0x5b10e1(0x36b)]=_0x11f772['extend']({'_doFinalize':function(){var _0xcc7fd0=_0x5b10e1,_0x3c846c=this[_0xcc7fd0(0x182)](!0x0);return _0x3c846c;},'blockSize':0x1});var _0x538f8b=_0x336f49[_0x5b10e1(0x1f1)]={},_0xa7c3df=_0x108c40['BlockCipherMode']=_0x559868['extend']({'createEncryptor':function(_0x211a58,_0x5a7f05){var _0x28c2ba=_0x5b10e1;return this[_0x28c2ba(0x226)][_0x28c2ba(0x3cb)](_0x211a58,_0x5a7f05);},'createDecryptor':function(_0x462117,_0x44ae81){var _0x3c454e=_0x5b10e1;return this['Decryptor'][_0x3c454e(0x3cb)](_0x462117,_0x44ae81);},'init':function(_0x4c3b07,_0x320390){var _0x17f3fe=_0x5b10e1;this[_0x17f3fe(0x290)]=_0x4c3b07,this[_0x17f3fe(0x42f)]=_0x320390;}}),_0x7bbba6=_0x538f8b[_0x5b10e1(0x328)]=(function(){var _0x151b48=_0x5b10e1,_0x2efc0a=_0xa7c3df[_0x151b48(0x14b)]();_0x2efc0a['Encryptor']=_0x2efc0a['extend']({'processBlock':function(_0xe29473,_0x23f5f0){var _0x4a88ca=_0x151b48,_0x1a7061=this[_0x4a88ca(0x290)],_0x108bd1=_0x1a7061[_0x4a88ca(0x414)];_0x4de031[_0x4a88ca(0x261)](this,_0xe29473,_0x23f5f0,_0x108bd1),_0x1a7061[_0x4a88ca(0x21e)](_0xe29473,_0x23f5f0),this[_0x4a88ca(0x372)]=_0xe29473[_0x4a88ca(0xf7)](_0x23f5f0,_0x23f5f0+_0x108bd1);}}),_0x2efc0a[_0x151b48(0x193)]=_0x2efc0a[_0x151b48(0x14b)]({'processBlock':function(_0x2d7170,_0x2564bd){var _0x5b0d2f=_0x151b48,_0x5a25a1=this[_0x5b0d2f(0x290)],_0x1a347f=_0x5a25a1[_0x5b0d2f(0x414)],_0x440da3=_0x2d7170[_0x5b0d2f(0xf7)](_0x2564bd,_0x2564bd+_0x1a347f);_0x5a25a1[_0x5b0d2f(0x2f3)](_0x2d7170,_0x2564bd),_0x4de031['call'](this,_0x2d7170,_0x2564bd,_0x1a347f),this[_0x5b0d2f(0x372)]=_0x440da3;}});function _0x4de031(_0x2302b1,_0x278b58,_0x34b68b){var _0x23b0f1=_0x151b48,_0x3a8fc8,_0x52d7cf=this['_iv'];_0x52d7cf?(_0x3a8fc8=_0x52d7cf,this['_iv']=_0x56c28d):_0x3a8fc8=this[_0x23b0f1(0x372)];for(var _0x4dd570=0x0;_0x4dd570<_0x34b68b;_0x4dd570++)_0x2302b1[_0x278b58+_0x4dd570]^=_0x3a8fc8[_0x4dd570];}return _0x2efc0a;}()),_0x2fa2a3=_0x336f49['pad']={},_0x4851c3=_0x2fa2a3[_0x5b10e1(0x3ad)]={'pad':function(_0x2f91c6,_0xb53373){var _0x2d831f=_0x5b10e1;for(var _0x3c48a6=_0xb53373*0x4,_0x4aa335=_0x3c48a6-_0x2f91c6[_0x2d831f(0x13c)]%_0x3c48a6,_0xf6c311=_0x4aa335<<0x18|_0x4aa335<<0x10|_0x4aa335<<0x8|_0x4aa335,_0x37d5ee=[],_0x474b34=0x0;_0x474b34<_0x4aa335;_0x474b34+=0x4)_0x37d5ee[_0x2d831f(0x2a2)](_0xf6c311);var _0x46e66e=_0x4d1346[_0x2d831f(0x3cb)](_0x37d5ee,_0x4aa335);_0x2f91c6['concat'](_0x46e66e);},'unpad':function(_0x39818b){var _0x27c13e=_0x5b10e1,_0x3a1d7a=_0x39818b['words'][_0x39818b[_0x27c13e(0x13c)]-0x1>>>0x2]&0xff;_0x39818b[_0x27c13e(0x13c)]-=_0x3a1d7a;}};_0x108c40[_0x5b10e1(0x29f)]=_0x11f772[_0x5b10e1(0x14b)]({'cfg':_0x11f772[_0x5b10e1(0x1a5)]['extend']({'mode':_0x7bbba6,'padding':_0x4851c3}),'reset':function(){var _0x249b4f=_0x5b10e1,_0x285930;_0x11f772[_0x249b4f(0x150)]['call'](this);var _0x2af321=this[_0x249b4f(0x1a5)],_0x157e51=_0x2af321['iv'],_0x43e9a2=_0x2af321[_0x249b4f(0x1f1)];this[_0x249b4f(0x415)]==this['_ENC_XFORM_MODE']?_0x285930=_0x43e9a2[_0x249b4f(0x39f)]:(_0x285930=_0x43e9a2[_0x249b4f(0x2af)],this[_0x249b4f(0x40b)]=0x1),this['_mode']&&this[_0x249b4f(0x188)][_0x249b4f(0x3ae)]==_0x285930?this[_0x249b4f(0x188)][_0x249b4f(0x3d3)](this,_0x157e51&&_0x157e51['words']):(this['_mode']=_0x285930['call'](_0x43e9a2,this,_0x157e51&&_0x157e51[_0x249b4f(0x41d)]),this[_0x249b4f(0x188)][_0x249b4f(0x3ae)]=_0x285930);},'_doProcessBlock':function(_0x419197,_0x6599e2){var _0x320363=_0x5b10e1;this[_0x320363(0x188)]['processBlock'](_0x419197,_0x6599e2);},'_doFinalize':function(){var _0x5b9613=_0x5b10e1,_0x27a206,_0x170d1b=this[_0x5b9613(0x1a5)][_0x5b9613(0xef)];return this[_0x5b9613(0x415)]==this[_0x5b9613(0x3ea)]?(_0x170d1b[_0x5b9613(0x304)](this[_0x5b9613(0x33d)],this[_0x5b9613(0x414)]),_0x27a206=this[_0x5b9613(0x182)](!0x0)):(_0x27a206=this[_0x5b9613(0x182)](!0x0),_0x170d1b[_0x5b9613(0x3a0)](_0x27a206)),_0x27a206;},'blockSize':0x80/0x20});var _0x35f748=_0x108c40[_0x5b10e1(0x185)]=_0x559868[_0x5b10e1(0x14b)]({'init':function(_0x2182bd){var _0x3c407d=_0x5b10e1;this[_0x3c407d(0x430)](_0x2182bd);},'toString':function(_0xbffad4){var _0x124cd8=_0x5b10e1;return(_0xbffad4||this['formatter'])[_0x124cd8(0x3c2)](this);}}),_0x159172=_0x336f49[_0x5b10e1(0x133)]={},_0x5507a8=_0x159172['OpenSSL']={'stringify':function(_0xcb9db6){var _0x3b5a0e=_0x5b10e1,_0x4e9314,_0x5510e7=_0xcb9db6['ciphertext'],_0x29b992=_0xcb9db6[_0x3b5a0e(0x1dd)];return _0x29b992?_0x4e9314=_0x4d1346[_0x3b5a0e(0x3cb)]([0x53616c74,0x65645f5f])[_0x3b5a0e(0x3d5)](_0x29b992)['concat'](_0x5510e7):_0x4e9314=_0x5510e7,_0x4e9314['toString'](_0x2d2261);},'parse':function(_0x1f1dd2){var _0xe1fc8b=_0x5b10e1,_0x6161f6,_0x3e89d0=_0x2d2261[_0xe1fc8b(0x27b)](_0x1f1dd2),_0x37c6c8=_0x3e89d0[_0xe1fc8b(0x41d)];return _0x37c6c8[0x0]==0x53616c74&&_0x37c6c8[0x1]==0x65645f5f&&(_0x6161f6=_0x4d1346[_0xe1fc8b(0x3cb)](_0x37c6c8[_0xe1fc8b(0xf7)](0x2,0x4)),_0x37c6c8[_0xe1fc8b(0x3c0)](0x0,0x4),_0x3e89d0['sigBytes']-=0x10),_0x35f748[_0xe1fc8b(0x3cb)]({'ciphertext':_0x3e89d0,'salt':_0x6161f6});}},_0x5e33d7=_0x108c40['SerializableCipher']=_0x559868[_0x5b10e1(0x14b)]({'cfg':_0x559868[_0x5b10e1(0x14b)]({'format':_0x5507a8}),'encrypt':function(_0x8c73c7,_0x11a927,_0x26c335,_0x4cd19a){var _0x18e34d=_0x5b10e1;_0x4cd19a=this[_0x18e34d(0x1a5)][_0x18e34d(0x14b)](_0x4cd19a);var _0x303150=_0x8c73c7[_0x18e34d(0x39f)](_0x26c335,_0x4cd19a),_0x346c58=_0x303150[_0x18e34d(0xbc)](_0x11a927),_0x2bd2c5=_0x303150[_0x18e34d(0x1a5)];return _0x35f748['create']({'ciphertext':_0x346c58,'key':_0x26c335,'iv':_0x2bd2c5['iv'],'algorithm':_0x8c73c7,'mode':_0x2bd2c5[_0x18e34d(0x1f1)],'padding':_0x2bd2c5[_0x18e34d(0xef)],'blockSize':_0x8c73c7[_0x18e34d(0x414)],'formatter':_0x4cd19a['format']});},'decrypt':function(_0x263521,_0x563b8d,_0xa3f271,_0x2a286c){var _0x547218=_0x5b10e1;_0x2a286c=this[_0x547218(0x1a5)]['extend'](_0x2a286c),_0x563b8d=this[_0x547218(0x1d9)](_0x563b8d,_0x2a286c[_0x547218(0x133)]);var _0x583958=_0x263521[_0x547218(0x2af)](_0xa3f271,_0x2a286c)['finalize'](_0x563b8d[_0x547218(0x318)]);return _0x583958;},'_parse':function(_0x57c710,_0x26b3e3){return typeof _0x57c710=='string'?_0x26b3e3['parse'](_0x57c710,this):_0x57c710;}}),_0x5525cd=_0x336f49[_0x5b10e1(0x377)]={},_0x2c1695=_0x5525cd[_0x5b10e1(0x34a)]={'execute':function(_0x4934f8,_0x232da1,_0x4462e0,_0x498b01,_0x56ecb7){var _0x2a763d=_0x5b10e1;if(_0x498b01||(_0x498b01=_0x4d1346[_0x2a763d(0x28a)](0x40/0x8)),_0x56ecb7)var _0x9622a8=_0x4da4d8[_0x2a763d(0x3cb)]({'keySize':_0x232da1+_0x4462e0,'hasher':_0x56ecb7})['compute'](_0x4934f8,_0x498b01);else var _0x9622a8=_0x4da4d8[_0x2a763d(0x3cb)]({'keySize':_0x232da1+_0x4462e0})[_0x2a763d(0x1cd)](_0x4934f8,_0x498b01);var _0x1f6ed8=_0x4d1346[_0x2a763d(0x3cb)](_0x9622a8[_0x2a763d(0x41d)][_0x2a763d(0xf7)](_0x232da1),_0x4462e0*0x4);return _0x9622a8[_0x2a763d(0x13c)]=_0x232da1*0x4,_0x35f748[_0x2a763d(0x3cb)]({'key':_0x9622a8,'iv':_0x1f6ed8,'salt':_0x498b01});}},_0x446ec7=_0x108c40['PasswordBasedCipher']=_0x5e33d7['extend']({'cfg':_0x5e33d7[_0x5b10e1(0x1a5)][_0x5b10e1(0x14b)]({'kdf':_0x2c1695}),'encrypt':function(_0x5500b1,_0x27ce16,_0x3fdd0c,_0x38db72){var _0x3ea04b=_0x5b10e1;_0x38db72=this[_0x3ea04b(0x1a5)][_0x3ea04b(0x14b)](_0x38db72);var _0x1963ec=_0x38db72['kdf'][_0x3ea04b(0x18f)](_0x3fdd0c,_0x5500b1[_0x3ea04b(0x387)],_0x5500b1[_0x3ea04b(0x407)],_0x38db72[_0x3ea04b(0x1dd)],_0x38db72[_0x3ea04b(0x2dc)]);_0x38db72['iv']=_0x1963ec['iv'];var _0x3935e0=_0x5e33d7[_0x3ea04b(0x390)][_0x3ea04b(0x261)](this,_0x5500b1,_0x27ce16,_0x1963ec['key'],_0x38db72);return _0x3935e0[_0x3ea04b(0x430)](_0x1963ec),_0x3935e0;},'decrypt':function(_0x4ed10f,_0x3819c2,_0x44b540,_0x124707){var _0x5837ab=_0x5b10e1;_0x124707=this[_0x5837ab(0x1a5)][_0x5837ab(0x14b)](_0x124707),_0x3819c2=this[_0x5837ab(0x1d9)](_0x3819c2,_0x124707[_0x5837ab(0x133)]);var _0x1368e7=_0x124707['kdf'][_0x5837ab(0x18f)](_0x44b540,_0x4ed10f['keySize'],_0x4ed10f[_0x5837ab(0x407)],_0x3819c2['salt'],_0x124707[_0x5837ab(0x2dc)]);_0x124707['iv']=_0x1368e7['iv'];var _0x16b9ff=_0x5e33d7[_0x5837ab(0x2b5)]['call'](this,_0x4ed10f,_0x3819c2,_0x1368e7['key'],_0x124707);return _0x16b9ff;}});}();}));}(_0x4941e3)),_0x4941e3['exports'];}var _0x5c6726=_0x832b5f[_0x40be40(0x3a3)],_0x3bdf2e;function _0x5c0d76(){var _0x3fa312=_0x40be40;return _0x3bdf2e||(_0x3bdf2e=0x1,function(_0x51f552,_0x27f293){(function(_0x2b7b38,_0x467c1e,_0x3df225){var _0x3ac905=_0x23d9;_0x51f552[_0x3ac905(0x3a3)]=_0x467c1e(_0x3dac84(),_0x1d81cf(),_0x318980(),_0x3cba70(),_0x29a590());}(_0x5c6726,function(_0x49f245){return(function(){var _0x57697b=_0x23d9,_0x52c843=_0x49f245,_0x591641=_0x52c843[_0x57697b(0x27a)],_0x519c47=_0x591641[_0x57697b(0x29f)],_0x26e9b0=_0x52c843['algo'],_0x2b5801=[],_0x586132=[],_0xd6a12d=[],_0x1ca53b=[],_0x139d45=[],_0x48d613=[],_0x245b55=[],_0x37bd49=[],_0x530a9a=[],_0xfef50a=[];(function(){for(var _0x486d42=[],_0x48cf01=0x0;_0x48cf01<0x100;_0x48cf01++)_0x48cf01<0x80?_0x486d42[_0x48cf01]=_0x48cf01<<0x1:_0x486d42[_0x48cf01]=_0x48cf01<<0x1^0x11b;for(var _0x245587=0x0,_0x3e22a2=0x0,_0x48cf01=0x0;_0x48cf01<0x100;_0x48cf01++){var _0x5ab207=_0x3e22a2^_0x3e22a2<<0x1^_0x3e22a2<<0x2^_0x3e22a2<<0x3^_0x3e22a2<<0x4;_0x5ab207=_0x5ab207>>>0x8^_0x5ab207&0xff^0x63,_0x2b5801[_0x245587]=_0x5ab207,_0x586132[_0x5ab207]=_0x245587;var _0x3b692b=_0x486d42[_0x245587],_0x56f124=_0x486d42[_0x3b692b],_0x42027c=_0x486d42[_0x56f124],_0x44d762=_0x486d42[_0x5ab207]*0x101^_0x5ab207*0x1010100;_0xd6a12d[_0x245587]=_0x44d762<<0x18|_0x44d762>>>0x8,_0x1ca53b[_0x245587]=_0x44d762<<0x10|_0x44d762>>>0x10,_0x139d45[_0x245587]=_0x44d762<<0x8|_0x44d762>>>0x18,_0x48d613[_0x245587]=_0x44d762;var _0x44d762=_0x42027c*0x1010101^_0x56f124*0x10001^_0x3b692b*0x101^_0x245587*0x1010100;_0x245b55[_0x5ab207]=_0x44d762<<0x18|_0x44d762>>>0x8,_0x37bd49[_0x5ab207]=_0x44d762<<0x10|_0x44d762>>>0x10,_0x530a9a[_0x5ab207]=_0x44d762<<0x8|_0x44d762>>>0x18,_0xfef50a[_0x5ab207]=_0x44d762,_0x245587?(_0x245587=_0x3b692b^_0x486d42[_0x486d42[_0x486d42[_0x42027c^_0x3b692b]]],_0x3e22a2^=_0x486d42[_0x486d42[_0x3e22a2]]):_0x245587=_0x3e22a2=0x1;}}());var _0x482c9f=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x26a8cf=_0x26e9b0[_0x57697b(0x324)]=_0x519c47[_0x57697b(0x14b)]({'_doReset':function(){var _0x1f9b31=_0x57697b,_0x22a04b;if(!(this[_0x1f9b31(0x22d)]&&this[_0x1f9b31(0x3fc)]===this[_0x1f9b31(0x1e5)])){for(var _0xd6394f=this['_keyPriorReset']=this[_0x1f9b31(0x1e5)],_0x156d7a=_0xd6394f['words'],_0xf40f67=_0xd6394f[_0x1f9b31(0x13c)]/0x4,_0x18625e=this[_0x1f9b31(0x22d)]=_0xf40f67+0x6,_0x2b9866=(_0x18625e+0x1)*0x4,_0x2eabb0=this['_keySchedule']=[],_0x440964=0x0;_0x440964<_0x2b9866;_0x440964++)_0x440964<_0xf40f67?_0x2eabb0[_0x440964]=_0x156d7a[_0x440964]:(_0x22a04b=_0x2eabb0[_0x440964-0x1],_0x440964%_0xf40f67?_0xf40f67>0x6&&_0x440964%_0xf40f67==0x4&&(_0x22a04b=_0x2b5801[_0x22a04b>>>0x18]<<0x18|_0x2b5801[_0x22a04b>>>0x10&0xff]<<0x10|_0x2b5801[_0x22a04b>>>0x8&0xff]<<0x8|_0x2b5801[_0x22a04b&0xff]):(_0x22a04b=_0x22a04b<<0x8|_0x22a04b>>>0x18,_0x22a04b=_0x2b5801[_0x22a04b>>>0x18]<<0x18|_0x2b5801[_0x22a04b>>>0x10&0xff]<<0x10|_0x2b5801[_0x22a04b>>>0x8&0xff]<<0x8|_0x2b5801[_0x22a04b&0xff],_0x22a04b^=_0x482c9f[_0x440964/_0xf40f67|0x0]<<0x18),_0x2eabb0[_0x440964]=_0x2eabb0[_0x440964-_0xf40f67]^_0x22a04b);for(var _0x38101d=this[_0x1f9b31(0x120)]=[],_0x52b9dd=0x0;_0x52b9dd<_0x2b9866;_0x52b9dd++){var _0x440964=_0x2b9866-_0x52b9dd;if(_0x52b9dd%0x4)var _0x22a04b=_0x2eabb0[_0x440964];else var _0x22a04b=_0x2eabb0[_0x440964-0x4];_0x52b9dd<0x4||_0x440964<=0x4?_0x38101d[_0x52b9dd]=_0x22a04b:_0x38101d[_0x52b9dd]=_0x245b55[_0x2b5801[_0x22a04b>>>0x18]]^_0x37bd49[_0x2b5801[_0x22a04b>>>0x10&0xff]]^_0x530a9a[_0x2b5801[_0x22a04b>>>0x8&0xff]]^_0xfef50a[_0x2b5801[_0x22a04b&0xff]];}}},'encryptBlock':function(_0x170c45,_0x185b50){var _0x1bbdfc=_0x57697b;this['_doCryptBlock'](_0x170c45,_0x185b50,this[_0x1bbdfc(0x280)],_0xd6a12d,_0x1ca53b,_0x139d45,_0x48d613,_0x2b5801);},'decryptBlock':function(_0x9759fa,_0xe26d31){var _0x3a451c=_0x57697b,_0x11839e=_0x9759fa[_0xe26d31+0x1];_0x9759fa[_0xe26d31+0x1]=_0x9759fa[_0xe26d31+0x3],_0x9759fa[_0xe26d31+0x3]=_0x11839e,this[_0x3a451c(0x294)](_0x9759fa,_0xe26d31,this['_invKeySchedule'],_0x245b55,_0x37bd49,_0x530a9a,_0xfef50a,_0x586132);var _0x11839e=_0x9759fa[_0xe26d31+0x1];_0x9759fa[_0xe26d31+0x1]=_0x9759fa[_0xe26d31+0x3],_0x9759fa[_0xe26d31+0x3]=_0x11839e;},'_doCryptBlock':function(_0x2f039c,_0x245760,_0x4caa8b,_0x43e1be,_0x3bfa46,_0x5c2bd3,_0x5aaf53,_0x14ff1c){var _0xd753dc=_0x57697b;for(var _0x2613ff=this[_0xd753dc(0x22d)],_0x4eb184=_0x2f039c[_0x245760]^_0x4caa8b[0x0],_0x548a0a=_0x2f039c[_0x245760+0x1]^_0x4caa8b[0x1],_0x4c5a76=_0x2f039c[_0x245760+0x2]^_0x4caa8b[0x2],_0x1e1afc=_0x2f039c[_0x245760+0x3]^_0x4caa8b[0x3],_0x1bee8a=0x4,_0x1bb54f=0x1;_0x1bb54f<_0x2613ff;_0x1bb54f++){var _0x25bef6=_0x43e1be[_0x4eb184>>>0x18]^_0x3bfa46[_0x548a0a>>>0x10&0xff]^_0x5c2bd3[_0x4c5a76>>>0x8&0xff]^_0x5aaf53[_0x1e1afc&0xff]^_0x4caa8b[_0x1bee8a++],_0x50af75=_0x43e1be[_0x548a0a>>>0x18]^_0x3bfa46[_0x4c5a76>>>0x10&0xff]^_0x5c2bd3[_0x1e1afc>>>0x8&0xff]^_0x5aaf53[_0x4eb184&0xff]^_0x4caa8b[_0x1bee8a++],_0x1368b2=_0x43e1be[_0x4c5a76>>>0x18]^_0x3bfa46[_0x1e1afc>>>0x10&0xff]^_0x5c2bd3[_0x4eb184>>>0x8&0xff]^_0x5aaf53[_0x548a0a&0xff]^_0x4caa8b[_0x1bee8a++],_0xae9272=_0x43e1be[_0x1e1afc>>>0x18]^_0x3bfa46[_0x4eb184>>>0x10&0xff]^_0x5c2bd3[_0x548a0a>>>0x8&0xff]^_0x5aaf53[_0x4c5a76&0xff]^_0x4caa8b[_0x1bee8a++];_0x4eb184=_0x25bef6,_0x548a0a=_0x50af75,_0x4c5a76=_0x1368b2,_0x1e1afc=_0xae9272;}var _0x25bef6=(_0x14ff1c[_0x4eb184>>>0x18]<<0x18|_0x14ff1c[_0x548a0a>>>0x10&0xff]<<0x10|_0x14ff1c[_0x4c5a76>>>0x8&0xff]<<0x8|_0x14ff1c[_0x1e1afc&0xff])^_0x4caa8b[_0x1bee8a++],_0x50af75=(_0x14ff1c[_0x548a0a>>>0x18]<<0x18|_0x14ff1c[_0x4c5a76>>>0x10&0xff]<<0x10|_0x14ff1c[_0x1e1afc>>>0x8&0xff]<<0x8|_0x14ff1c[_0x4eb184&0xff])^_0x4caa8b[_0x1bee8a++],_0x1368b2=(_0x14ff1c[_0x4c5a76>>>0x18]<<0x18|_0x14ff1c[_0x1e1afc>>>0x10&0xff]<<0x10|_0x14ff1c[_0x4eb184>>>0x8&0xff]<<0x8|_0x14ff1c[_0x548a0a&0xff])^_0x4caa8b[_0x1bee8a++],_0xae9272=(_0x14ff1c[_0x1e1afc>>>0x18]<<0x18|_0x14ff1c[_0x4eb184>>>0x10&0xff]<<0x10|_0x14ff1c[_0x548a0a>>>0x8&0xff]<<0x8|_0x14ff1c[_0x4c5a76&0xff])^_0x4caa8b[_0x1bee8a++];_0x2f039c[_0x245760]=_0x25bef6,_0x2f039c[_0x245760+0x1]=_0x50af75,_0x2f039c[_0x245760+0x2]=_0x1368b2,_0x2f039c[_0x245760+0x3]=_0xae9272;},'keySize':0x100/0x20});_0x52c843['AES']=_0x519c47['_createHelper'](_0x26a8cf);}()),_0x49f245['AES'];}));}(_0x832b5f)),_0x832b5f[_0x3fa312(0x3a3)];}var _0x3edd71=_0x5c0d76();const _0xa24e93=_0x437fac(_0x3edd71);var _0x2ce060=_0x1d81cf();const _0x3e36a7=_0x437fac(_0x2ce060);var _0x453eaa={'exports':{}},_0x1384f3=_0x453eaa[_0x40be40(0x3a3)],_0x375781;function _0x11f432(){var _0x3b4e0f=_0x40be40;return _0x375781||(_0x375781=0x1,function(_0x41f6ea,_0x362627){(function(_0x20495f,_0x14722a){var _0x1e68e0=_0x23d9;_0x41f6ea[_0x1e68e0(0x3a3)]=_0x14722a(_0x3dac84());}(_0x1384f3,function(_0x41a046){var _0x59db5e=_0x23d9;return _0x41a046[_0x59db5e(0x3d0)]['Utf8'];}));}(_0x453eaa)),_0x453eaa[_0x3b4e0f(0x3a3)];}var _0x1bf2f6=_0x11f432();const _0x9342c9=_0x437fac(_0x1bf2f6);var _0x3c311d={'exports':{}},_0x41440a=_0x3c311d[_0x40be40(0x3a3)],_0x4991ba;function _0x4ec31b(){return _0x4991ba||(_0x4991ba=0x1,function(_0x35c609,_0x12ec7d){(function(_0x4979ac,_0x2c1aa2){var _0x4ab1f9=_0x23d9;_0x35c609[_0x4ab1f9(0x3a3)]=_0x2c1aa2(_0x3dac84());}(_0x41440a,function(_0x47120b){return(function(){var _0x196348=_0x23d9;if(typeof ArrayBuffer==_0x196348(0x1c2)){var _0x506761=_0x47120b,_0x388990=_0x506761[_0x196348(0x27a)],_0x1a4166=_0x388990[_0x196348(0xd2)],_0x4f4647=_0x1a4166[_0x196348(0x3d3)],_0x564343=_0x1a4166[_0x196348(0x3d3)]=function(_0x353231){var _0x2323c6=_0x196348;if(_0x353231 instanceof ArrayBuffer&&(_0x353231=new Uint8Array(_0x353231)),(_0x353231 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x353231 instanceof Uint8ClampedArray||_0x353231 instanceof Int16Array||_0x353231 instanceof Uint16Array||_0x353231 instanceof Int32Array||_0x353231 instanceof Uint32Array||_0x353231 instanceof Float32Array||_0x353231 instanceof Float64Array)&&(_0x353231=new Uint8Array(_0x353231[_0x2323c6(0x40e)],_0x353231[_0x2323c6(0xcb)],_0x353231[_0x2323c6(0x403)])),_0x353231 instanceof Uint8Array){for(var _0x5cc260=_0x353231[_0x2323c6(0x403)],_0x157c38=[],_0x3530ca=0x0;_0x3530ca<_0x5cc260;_0x3530ca++)_0x157c38[_0x3530ca>>>0x2]|=_0x353231[_0x3530ca]<<0x18-_0x3530ca%0x4*0x8;_0x4f4647['call'](this,_0x157c38,_0x5cc260);}else _0x4f4647[_0x2323c6(0x396)](this,arguments);};_0x564343['prototype']=_0x1a4166;}}()),_0x47120b['lib']['WordArray'];}));}(_0x3c311d)),_0x3c311d['exports'];}var _0x1a19c4=_0x4ec31b();const _0x396e1b=_0x437fac(_0x1a19c4);var _0x35228f={'exports':{}},_0x544322=_0x35228f[_0x40be40(0x3a3)],_0x587a49;function _0x31339e(){var _0x59df97=_0x40be40;return _0x587a49||(_0x587a49=0x1,function(_0x221bcb,_0x5492b3){(function(_0x3f05f4,_0x191e8a,_0x2efa01){var _0x596854=_0x23d9;_0x221bcb[_0x596854(0x3a3)]=_0x191e8a(_0x3dac84(),_0x29a590());}(_0x544322,function(_0x173775){var _0x4e488e=_0x23d9;return _0x173775[_0x4e488e(0x304)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x173775[_0x4e488e(0x304)]['NoPadding'];}));}(_0x35228f)),_0x35228f[_0x59df97(0x3a3)];}var _0x15e7db=_0x31339e();const _0x3294c4=_0x437fac(_0x15e7db);function _0x2a9455(_0x5234a0,_0x423222){var _0x2c2ae9=_0x40be40;const _0x44170f=_0x423222-_0x5234a0[_0x2c2ae9(0x112)]%_0x423222,_0x17ba9c=String[_0x2c2ae9(0x306)](_0x44170f)[_0x2c2ae9(0x208)](_0x44170f);return _0x5234a0+_0x17ba9c;}function _0x854161(_0x366ab6,_0x2338bf){var _0x3fb9e6=_0x40be40;const _0x206466=_0x396e1b[_0x3fb9e6(0x28a)](0x10),_0x5cbcc0=_0x2a9455(_0x366ab6,0x10),_0x961648=_0xa24e93[_0x3fb9e6(0x390)](_0x9342c9[_0x3fb9e6(0x27b)](_0x5cbcc0),_0x3e36a7[_0x3fb9e6(0x27b)](_0x2338bf),{'iv':_0x206466,'padding':_0x3294c4});return _0x206466['concat'](_0x961648[_0x3fb9e6(0x318)])[_0x3fb9e6(0x3eb)](_0x3e36a7);}function _0x58a3da(){var _0x20e951=_0x40be40;const _0x3d8ff8=_0x5c79f3[_0x20e951(0x17b)]()[_0x20e951(0x3da)];if(_0x3d8ff8){const _0x5deac3={'time':Math[_0x20e951(0x322)](Date[_0x20e951(0x108)]()/0x3e8),'domain':location['hostname']};return _0x854161(JSON[_0x20e951(0x3c2)](_0x5deac3),_0x3d8ff8);}}var _0x2818d6=Object[_0x40be40(0xd4)],_0x4b8424=(_0x104260,_0x436a09,_0x50d5c6,_0x290a01)=>{var _0x1429a6=_0x40be40;for(var _0x39fcc=_0x290a01>0x1?void 0x0:_0x290a01?_0x2818d6(_0x436a09,_0x50d5c6):_0x436a09,_0x56bca4=_0x104260[_0x1429a6(0x112)]-0x1,_0x41656c;_0x56bca4>=0x0;_0x56bca4--)(_0x41656c=_0x104260[_0x56bca4])&&(_0x39fcc=_0x41656c(_0x39fcc)||_0x39fcc);return _0x39fcc;},_0x275331=(_0x525cac,_0x1e0e7e)=>(_0x289784,_0x19c88d)=>_0x1e0e7e(_0x289784,_0x19c88d,_0x525cac);let _0xbb9097=class{constructor(_0x5571b7){var _0x7d495a=_0x40be40;this[_0x7d495a(0x11f)]=_0x5571b7,this[_0x7d495a(0xcc)]();}['_initRequestHeader'](){var _0xaa40f=_0x40be40;this[_0xaa40f(0x11f)][_0xaa40f(0x3c8)]({'interceptor':(_0x17846a,_0x4fe830)=>{var _0x231df5=_0xaa40f;const _0x29e906=_0x17846a[_0x231df5(0x142)],_0x28a542=_0x58a3da();return _0x28a542&&_0x29e906[_0x231df5(0xa9)](_0x231df5(0x391),_0x28a542),_0x4fe830(_0x17846a);}});}};_0xbb9097=_0x4b8424([_0x275331(0x0,_0xd26f96[_0x40be40(0x21f)](_0x46d276[_0x40be40(0x42a)]))],_0xbb9097);var _0x459b73=Object[_0x40be40(0xd4)],_0x5a5a02=(_0x2f03bf,_0x3cfe21,_0x559b3d,_0x569917)=>{var _0x17ed8c=_0x40be40;for(var _0x1b373f=_0x569917>0x1?void 0x0:_0x569917?_0x459b73(_0x3cfe21,_0x559b3d):_0x3cfe21,_0x111c04=_0x2f03bf[_0x17ed8c(0x112)]-0x1,_0x1ba75c;_0x111c04>=0x0;_0x111c04--)(_0x1ba75c=_0x2f03bf[_0x111c04])&&(_0x1b373f=_0x1ba75c(_0x1b373f)||_0x1b373f);return _0x1b373f;},_0x157f93=(_0x2cdad4,_0x1b3dcb)=>(_0x172c86,_0x2846d2)=>_0x1b3dcb(_0x172c86,_0x2846d2,_0x2cdad4);_0x2628ab[_0x40be40(0x3c7)]=class extends _0xd26f96['RxDisposable']{constructor(_0x28eafa,_0x155e23,_0x4d9ed8){var _0x3f5c48=_0x40be40;super(),_0x2d2abe(this,_0x3f5c48(0xb8),new _0x22f260[(_0x3f5c48(0xbd))](null)),_0x2d2abe(this,'unitInfo$',this[_0x3f5c48(0xb8)]['asObservable']()),(this[_0x3f5c48(0x3d7)]=_0x28eafa,this[_0x3f5c48(0x3b4)]=_0x155e23,this['_localCacheService']=_0x4d9ed8);}async[_0x40be40(0x101)](_0x180923,_0x4012dc,_0x5453b2){var _0x443787=_0x40be40;this[_0x443787(0xb8)]['next']({'unitId':_0x180923,'type':_0x4012dc,'subUnitId':_0x5453b2});let _0xe72d56=null;switch(_0x4012dc){case _0x5dcae7['UNIVER_SHEET']:{_0xe72d56=await this[_0x443787(0xd8)](_0x180923);break;}case _0x5dcae7[_0x443787(0x26a)]:{_0xe72d56=await this[_0x443787(0x144)](_0x180923);break;}default:{this[_0x443787(0x3d7)][_0x443787(0x282)](_0x443787(0x392),_0x443787(0x12b));break;}}return _0xe72d56;}async[_0x40be40(0xd8)](_0x81c0a7){var _0x2756dd=_0x40be40,_0x41a02a;let _0x58619f=0x0;const _0x49e36b=await((_0x41a02a=this['_localCacheService'])==null?void 0x0:_0x41a02a[_0x2756dd(0x3c6)](_0x81c0a7));return _0x49e36b&&(_0x49e36b[_0x2756dd(0x2ac)]||_0x49e36b[_0x2756dd(0x23e)][_0x2756dd(0x112)]!==0x0)&&(_0x58619f=_0x49e36b['rev']),_0x58619f===0x0&&this[_0x2756dd(0x3d7)][_0x2756dd(0x308)](_0x2756dd(0x392),_0x2756dd(0x423)),this['_snapshotService'][_0x2756dd(0x3c1)](_0x81c0a7,_0x58619f);}async['_loadDoc'](_0x25856d){var _0x488d7f=_0x40be40,_0x233822;let _0x254424=0x0;const _0x34445c=await((_0x233822=this[_0x488d7f(0x358)])==null?void 0x0:_0x233822[_0x488d7f(0x3c6)](_0x25856d));return _0x34445c&&(_0x34445c[_0x488d7f(0x2ac)]||_0x34445c[_0x488d7f(0x23e)]['length']!==0x0)&&(_0x254424=_0x34445c[_0x488d7f(0x148)]),_0x254424===0x0&&this[_0x488d7f(0x3d7)][_0x488d7f(0x308)](_0x488d7f(0x392),_0x488d7f(0x423)),this['_snapshotService']['loadDoc'](_0x25856d,_0x254424);}},_0x2628ab[_0x40be40(0x3c7)]=_0x5a5a02([_0x157f93(0x0,_0xd26f96[_0x40be40(0x400)]),_0x157f93(0x1,_0xd26f96['Inject'](_0x383951['SnapshotService'])),_0x157f93(0x2,_0xd26f96[_0x40be40(0x1c1)](_0x598b06))],_0x2628ab[_0x40be40(0x3c7)]);var _0x28bf58=Object[_0x40be40(0xd4)],_0x3a0fe7=(_0x10b1dc,_0x4b76a1,_0x205613,_0x548f53)=>{for(var _0x5cdb17=_0x548f53>0x1?void 0x0:_0x548f53?_0x28bf58(_0x4b76a1,_0x205613):_0x4b76a1,_0x1ed780=_0x10b1dc['length']-0x1,_0x416dfa;_0x1ed780>=0x0;_0x1ed780--)(_0x416dfa=_0x10b1dc[_0x1ed780])&&(_0x5cdb17=_0x416dfa(_0x5cdb17)||_0x5cdb17);return _0x5cdb17;},_0x96e8de=(_0x136804,_0x35460e)=>(_0x3d31a6,_0x1fabd5)=>_0x35460e(_0x3d31a6,_0x1fabd5,_0x136804);const _0x80bbf=['image/png',_0x40be40(0x1bf),_0x40be40(0x2c0),'image/gif',_0x40be40(0x2bc)],_0x1c6b25=0x5*0x400*0x400,_0x26a9b9=_0x40be40(0x3e3),_0x2fe980=_0x40be40(0x179),_0x342f6d=_0x40be40(0x169),_0x154baa=_0x40be40(0x2ed);_0x2628ab['CollaborationImageIoService']=class{constructor(_0x3212bc,_0x2cf771,_0x119d71){var _0x432454=_0x40be40;_0x2d2abe(this,_0x432454(0x31d),0x0),_0x2d2abe(this,_0x432454(0x289),new _0x22f260[(_0x432454(0x2d6))]()),_0x2d2abe(this,_0x432454(0x119),this[_0x432454(0x289)]),_0x2d2abe(this,_0x432454(0x11c),new Map()),(this['_httpService']=_0x3212bc,this['_configService']=_0x2cf771,this['_univerInstanceService']=_0x119d71);}[_0x40be40(0x281)](_0x1ce54c){var _0x4a5d7f=_0x40be40;this[_0x4a5d7f(0x31d)]=_0x1ce54c,this[_0x4a5d7f(0x289)][_0x4a5d7f(0x2c9)](_0x1ce54c);}[_0x40be40(0x199)](_0x2fd7b2,_0x1089f8){var _0x5cd27d=_0x40be40;if(_0x1089f8===_0x2aea7a[_0x5cd27d(0x429)][_0x5cd27d(0x1de)]){const _0x20dcf7=new Image();return _0x20dcf7[_0x5cd27d(0x161)]=_0x2fd7b2,_0x20dcf7;}return this[_0x5cd27d(0x11c)]['get'](_0x2fd7b2);}[_0x40be40(0x241)](_0x586c6b,_0x228d82,_0x5eedc0){var _0x5e272f=_0x40be40;_0x228d82===_0x2aea7a['ImageSourceType'][_0x5e272f(0x1de)]||_0x5eedc0==null||this[_0x5e272f(0x11c)][_0x5e272f(0xa9)](_0x586c6b,_0x5eedc0);}async[_0x40be40(0x18d)](_0x3e16c7){var _0x58cdfe=_0x40be40;try{const _0x571786=this[_0x58cdfe(0x190)](this[_0x58cdfe(0x424)](),''+_0x3e16c7),_0x50adb8=(await this[_0x58cdfe(0x11f)][_0x58cdfe(0x2e6)](_0x571786))[_0x58cdfe(0x176)];if(_0x50adb8[_0x58cdfe(0x282)]&&_0x50adb8[_0x58cdfe(0x282)]['code']===_0x3c8fc3['OK']){const _0x40cb6a=new URL(_0x50adb8['url'],this['_getDownloadEndpointURL']())[_0x58cdfe(0x3eb)]();return Promise['resolve'](_0x40cb6a);}return Promise[_0x58cdfe(0x2a3)](_0x50adb8[_0x58cdfe(0x282)]);}catch(_0xfefb55){return Promise[_0x58cdfe(0x2a3)](_0xfefb55);}}async['saveImage'](_0x3e8f20){var _0x5a6e1b=_0x40be40;let _0x377056='';if(!_0x80bbf[_0x5a6e1b(0x370)](_0x3e8f20[_0x5a6e1b(0xe2)]))return this[_0x5a6e1b(0x109)](),Promise[_0x5a6e1b(0x2a3)](new Error(_0x2aea7a[_0x5a6e1b(0x3c4)][_0x5a6e1b(0x117)]));if(_0x3e8f20[_0x5a6e1b(0x3d2)]>_0x1c6b25)return this[_0x5a6e1b(0x109)](),Promise[_0x5a6e1b(0x2a3)](new Error(_0x2aea7a[_0x5a6e1b(0x3c4)][_0x5a6e1b(0x192)]));try{const _0x597920=new FormData();_0x597920[_0x5a6e1b(0x1b2)](_0x5a6e1b(0x103),_0x3e8f20);const _0x2d887a=this[_0x5a6e1b(0x2de)][_0x5a6e1b(0x243)](),_0x33d57d=_0x2d887a==null?void 0x0:_0x2d887a[_0x5a6e1b(0x35e)]();if(!_0x33d57d)throw new Error(_0x5a6e1b(0x15e));const _0x1ee88c=this[_0x5a6e1b(0x10f)]()+_0x5a6e1b(0x1ac)+_0x3e8f20[_0x5a6e1b(0x3d2)][_0x5a6e1b(0x3eb)]()+_0x5a6e1b(0x107)+_0x5c435e[_0x5a6e1b(0x186)]+'&assign='+encodeURIComponent(_0x33d57d),_0x3f9ea4=await(await fetch(_0x1ee88c,{'method':_0x5a6e1b(0x13f),'body':_0x597920}))['json']();if(typeof _0x3f9ea4['FileId']!='string')return this[_0x5a6e1b(0x109)](),Promise[_0x5a6e1b(0x2a3)](new Error(_0x2aea7a[_0x5a6e1b(0x3c4)]['ERROR_IMAGE']));_0x377056=_0x3f9ea4[_0x5a6e1b(0x2fa)];}catch{return this[_0x5a6e1b(0x109)](),Promise[_0x5a6e1b(0x2a3)](new Error(_0x2aea7a[_0x5a6e1b(0x3c4)][_0x5a6e1b(0x205)]));}return new Promise((_0x409b61,_0x4ccf02)=>{var _0x229442=_0x5a6e1b;const _0x226bb6=new FileReader();_0x226bb6[_0x229442(0x1ae)](_0x3e8f20),_0x226bb6['onload']=_0x47961b=>{var _0x45e22e=_0x229442,_0x4e3c9b;const _0xfbd2f=(_0x4e3c9b=_0x47961b[_0x45e22e(0x1f4)])==null?void 0x0:_0x4e3c9b[_0x45e22e(0xc4)];if(_0xfbd2f==null){this[_0x45e22e(0x109)](),_0x4ccf02(new Error(_0x2aea7a['ImageUploadStatusType']['ERROR_IMAGE']));return;}const _0x38f7b7=_0xd26f96[_0x45e22e(0x274)][_0x45e22e(0x210)](0x6);_0x409b61({'imageId':_0x38f7b7,'imageSourceType':_0x2aea7a['ImageSourceType']['UUID'],'source':_0x377056,'base64Cache':_0xfbd2f,'status':_0x2aea7a['ImageUploadStatusType'][_0x45e22e(0x409)]}),this[_0x45e22e(0x109)]();};});}['_getUploadFileURL'](){var _0x247132=_0x40be40,_0x14aa6d,_0x9179ee;const _0xeed1bc=this[_0x247132(0x26b)][_0x247132(0x311)](_0x26a9b9),_0x49f837=this[_0x247132(0x26b)][_0x247132(0x311)](_0x5b36e1);return(_0x9179ee=(_0x14aa6d=_0x49f837==null?void 0x0:_0x49f837[_0x247132(0x264)])!=null?_0x14aa6d:_0xeed1bc)!=null?_0x9179ee:_0x2fe980;}['_getSignURL'](){var _0x533e14=_0x40be40,_0xd67f8e,_0x58a06d;const _0x5ae6c8=this[_0x533e14(0x26b)][_0x533e14(0x311)](_0x342f6d),_0x427e9f=this[_0x533e14(0x26b)][_0x533e14(0x311)](_0x5b36e1);return(_0x58a06d=(_0xd67f8e=_0x427e9f==null?void 0x0:_0x427e9f[_0x533e14(0x11a)])!=null?_0xd67f8e:_0x5ae6c8)!=null?_0x58a06d:_0x154baa;}[_0x40be40(0x26e)](){var _0x24fd48=_0x40be40,_0x4a086f;const _0x467672=this[_0x24fd48(0x26b)][_0x24fd48(0x311)](_0x5b36e1);return(_0x4a086f=_0x467672==null?void 0x0:_0x467672[_0x24fd48(0x31f)])!=null?_0x4a086f:location[_0x24fd48(0x209)];}['_replaceFileID'](_0x52ec56,_0x5e5d10){var _0x29bb7d=_0x40be40;return _0x52ec56[_0x29bb7d(0x309)](_0x29bb7d(0x200),_0x5e5d10);}['_decreaseWaiting'](){var _0x123a1e=_0x40be40;this[_0x123a1e(0x31d)]-=0x1,this[_0x123a1e(0x289)][_0x123a1e(0x2c9)](this[_0x123a1e(0x31d)]);}},_0x2628ab['CollaborationImageIoService']=_0x3a0fe7([_0x96e8de(0x0,_0xd26f96[_0x40be40(0x21f)](_0x46d276['HTTPService'])),_0x96e8de(0x1,_0xd26f96[_0x40be40(0x2c5)]),_0x96e8de(0x2,_0xd26f96[_0x40be40(0x21f)](_0xd26f96['IUniverInstanceService']))],_0x2628ab[_0x40be40(0x3c3)]);var _0x31f5c0=Object[_0x40be40(0xd4)],_0x558f79=(_0x139c83,_0x2c9cb4,_0x40b2d7,_0x508d8d)=>{var _0x71f17b=_0x40be40;for(var _0x8a06d5=_0x508d8d>0x1?void 0x0:_0x508d8d?_0x31f5c0(_0x2c9cb4,_0x40b2d7):_0x2c9cb4,_0x5f52b=_0x139c83[_0x71f17b(0x112)]-0x1,_0x57273f;_0x5f52b>=0x0;_0x5f52b--)(_0x57273f=_0x139c83[_0x5f52b])&&(_0x8a06d5=_0x57273f(_0x8a06d5)||_0x8a06d5);return _0x8a06d5;},_0x39d063=(_0x4cc813,_0x3540de)=>(_0x2e6654,_0x51d60c)=>_0x3540de(_0x2e6654,_0x51d60c,_0x4cc813);const _0x2a9574=_0x40be40(0x3af);_0x2628ab[_0x40be40(0x417)]=class{constructor(_0x19bc78,_0x5c555b){var _0x571873=_0x40be40;this[_0x571873(0x26b)]=_0x19bc78,this[_0x571873(0x23b)]=_0x5c555b;}[_0x40be40(0x34c)](){var _0x42f94a=_0x40be40,_0x1e1158,_0x50655e;const _0xb14625=this[_0x42f94a(0x26b)]['getConfig'](_0x1f18ca),_0x3d9024=this['_configService'][_0x42f94a(0x311)](_0x5b36e1);return(_0x50655e=(_0x1e1158=_0x3d9024==null?void 0x0:_0x3d9024['authzUrl'])!=null?_0x1e1158:_0xb14625)!=null?_0x50655e:_0x2a9574;}async['list'](_0x1ac4d5){var _0x1a5e0d=_0x40be40;const _0x425e3d=this[_0x1a5e0d(0x34c)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this['_HTTPService'][_0x1a5e0d(0x2e6)](_0x425e3d,{'params':{'objectID':_0x1ac4d5[_0x1a5e0d(0x297)],'unitID':_0x1ac4d5['unitId']}}))[_0x1a5e0d(0x176)][_0x1a5e0d(0xaa)][_0x1a5e0d(0x366)](_0x17d5eb=>({'objectId':_0x17d5eb['id'],'name':_0x17d5eb['subject'][_0x1a5e0d(0x3f0)],'metadata':{'icon':_0x17d5eb[_0x1a5e0d(0x418)]['avatar']},'label':_0x17d5eb[_0x1a5e0d(0x418)]['name'],'objectType':_0xd26f96[_0x1a5e0d(0x326)][_0x1a5e0d(0x365)]})),'metadata':{},'type':_0xd26f96[_0x1a5e0d(0x326)][_0x1a5e0d(0x365)]}]};}},_0x2628ab[_0x40be40(0x417)]=_0x558f79([_0x39d063(0x0,_0xd26f96[_0x40be40(0x21f)](_0xd26f96[_0x40be40(0x2c5)])),_0x39d063(0x1,_0xd26f96[_0x40be40(0x21f)](_0x46d276[_0x40be40(0x42a)]))],_0x2628ab[_0x40be40(0x417)]);var _0x4b6db8=Object['getOwnPropertyDescriptor'],_0x4b66ff=(_0x275a72,_0x5029e6,_0x9dc75b,_0x4eac1c)=>{var _0xf930d6=_0x40be40;for(var _0xbca472=_0x4eac1c>0x1?void 0x0:_0x4eac1c?_0x4b6db8(_0x5029e6,_0x9dc75b):_0x5029e6,_0xfeaf81=_0x275a72[_0xf930d6(0x112)]-0x1,_0x5099ab;_0xfeaf81>=0x0;_0xfeaf81--)(_0x5099ab=_0x275a72[_0xfeaf81])&&(_0xbca472=_0x5099ab(_0xbca472)||_0xbca472);return _0xbca472;},_0x1805b9=(_0x37fa72,_0x2d39cd)=>(_0x2c5408,_0xe1323)=>_0x2d39cd(_0x2c5408,_0xe1323,_0x37fa72);let _0x5e3c9d=class extends _0xd26f96['RxDisposable']{constructor(_0x4d56ee,_0x4b2f7a,_0x379780,_0x562b3a,_0x24fbf8){var _0x2a840a=_0x40be40;super(),this[_0x2a840a(0x221)]=_0x4d56ee,this['_univerInstanceService']=_0x4b2f7a,this[_0x2a840a(0x25e)]=_0x379780,this[_0x2a840a(0x2c4)]=_0x562b3a,this[_0x2a840a(0xba)]=_0x24fbf8,this[_0x2a840a(0x3fd)](),this[_0x2a840a(0x342)]();}[_0x40be40(0x342)](){var _0x2e69b1=_0x40be40;const _0x30ebba=async _0x8ed4e3=>{var _0x1fc7c8=_0x23d9;(await this[_0x1fc7c8(0x2c4)]['requireSession'](_0x8ed4e3))[_0x1fc7c8(0x2ad)][_0x1fc7c8(0x1c7)](_0x13752f[_0x1fc7c8(0x231)](_0x5659a6=>_0x5659a6[_0x1fc7c8(0x2a6)]===_0x383951['CollaborationEvent'][_0x1fc7c8(0x12f)]),_0x13752f[_0x1fc7c8(0x2fb)](this[_0x1fc7c8(0x41e)]))[_0x1fc7c8(0x130)](_0x23b90a=>{var _0xffdf50=_0x1fc7c8;const _0x49a2f=_0x23b90a,{reason:_0x142ef8}=_0x49a2f[_0xffdf50(0x3dd)];this['_collaborationUIEventService'][_0xffdf50(0x235)]({'id':_0x450220[_0xffdf50(0x12e)],'data':_0x142ef8}),this[_0xffdf50(0x25e)][_0xffdf50(0x30c)](new _0x20d27e['WorkbookEditablePermission'](_0x8ed4e3)['id'],!0x1),this['_collaborationSessionService'][_0xffdf50(0x410)](_0x8ed4e3);});};_0x22f260[_0x2e69b1(0x1ee)](this[_0x2e69b1(0x2de)][_0x2e69b1(0x3ab)](_0xd26f96[_0x2e69b1(0x395)][_0x2e69b1(0x105)]),this[_0x2e69b1(0x2de)]['getTypeOfUnitAdded$'](_0xd26f96[_0x2e69b1(0x395)][_0x2e69b1(0x26a)]))[_0x2e69b1(0x1c7)](_0x13752f[_0x2e69b1(0x366)](_0x4adeff=>_0x4adeff[_0x2e69b1(0x35e)]()),_0x13752f['filter'](_0x4a015d=>!_0xd26f96[_0x2e69b1(0x214)](_0x4a015d)),_0x13752f[_0x2e69b1(0x2fb)](this[_0x2e69b1(0x41e)]))[_0x2e69b1(0x130)](_0x131624=>{_0x30ebba(_0x131624);});}[_0x40be40(0x3fd)](){var _0x3179ac=_0x40be40;const _0x1e6ceb=async _0x4f9c31=>{var _0x23c476=_0x23d9;const _0x48c0c2=await this[_0x23c476(0x2c4)]['requireSession'](_0x4f9c31),_0x367991=this['_injector']['get'](_0x20d27e[_0x23c476(0x22f)]);_0x48c0c2[_0x23c476(0x2ad)][_0x23c476(0x1c7)](_0x13752f[_0x23c476(0x231)](_0x4a9646=>_0x4a9646['eventID']===_0x383951[_0x23c476(0xbb)]['UPDATE_PERMISSION_OBJ']),_0x13752f[_0x23c476(0x2fb)](this[_0x23c476(0x41e)]))['subscribe'](_0x225d20=>{var _0x32e342=_0x23c476;const _0x55e2df=_0x225d20,{objectId:_0x19031a}=_0x55e2df[_0x32e342(0x3dd)];_0x19031a===_0x4f9c31?_0x367991['initWorkbookPermissionChange'](_0x4f9c31):_0x367991[_0x32e342(0x11e)](_0x4f9c31,_0x19031a);});};_0x22f260[_0x3179ac(0x1ee)](this[_0x3179ac(0x2de)][_0x3179ac(0x3ab)](_0xd26f96[_0x3179ac(0x395)]['UNIVER_SHEET']))[_0x3179ac(0x1c7)](_0x13752f[_0x3179ac(0x366)](_0x461d06=>_0x461d06['getUnitId']()),_0x13752f[_0x3179ac(0x231)](_0x3c4bc2=>!_0xd26f96[_0x3179ac(0x214)](_0x3c4bc2)),_0x13752f[_0x3179ac(0x2fb)](this['dispose$']))[_0x3179ac(0x130)](_0x53be55=>{_0x1e6ceb(_0x53be55);});}};_0x5e3c9d=_0x4b66ff([_0x1805b9(0x0,_0xd26f96[_0x40be40(0x21f)](_0xd26f96['Injector'])),_0x1805b9(0x1,_0xd26f96['IUniverInstanceService']),_0x1805b9(0x2,_0xd26f96[_0x40be40(0x2e7)]),_0x1805b9(0x3,_0xd26f96[_0x40be40(0x21f)](_0x2628ab[_0x40be40(0x201)])),_0x1805b9(0x4,_0xd26f96['Inject'](_0xeb5637))],_0x5e3c9d);var _0x46fd6b=Object[_0x40be40(0xd4)],_0x43cfba=(_0x5def08,_0xa21f40,_0x215839,_0x2e905a)=>{var _0x17fc5d=_0x40be40;for(var _0x409c32=_0x2e905a>0x1?void 0x0:_0x2e905a?_0x46fd6b(_0xa21f40,_0x215839):_0xa21f40,_0x2ddf5b=_0x5def08[_0x17fc5d(0x112)]-0x1,_0x276f6d;_0x2ddf5b>=0x0;_0x2ddf5b--)(_0x276f6d=_0x5def08[_0x2ddf5b])&&(_0x409c32=_0x276f6d(_0x409c32)||_0x409c32);return _0x409c32;},_0x7f082f=(_0x32a40a,_0x4eeaae)=>(_0xa34833,_0x58dc21)=>_0x4eeaae(_0xa34833,_0x58dc21,_0x32a40a);_0x2628ab['SnapshotServerOverHTTPService']=class{constructor(_0x4e35ab,_0x1cecb0){var _0x5c7139=_0x40be40;this['_configService']=_0x4e35ab,this[_0x5c7139(0x11f)]=_0x1cecb0;}async['getUnitOnRev'](_0x4c154b,_0x45214f){var _0xc72521=_0x40be40,_0x272408;const {unitID:_0x1d2c64,type:_0xf1a12,revision:_0x5a18e1=0x0}=_0x45214f,_0x5ccdc4=this[_0xc72521(0x3a4)]()+'/'+_0xf1a12+_0xc72521(0x21b)+_0x1d2c64+'/rev/'+_0x5a18e1,_0x21c134=(await this['_httpService']['get'](_0x5ccdc4))[_0xc72521(0x176)],_0x24f8e3=(_0x272408=_0x21c134[_0xc72521(0x270)])==null?void 0x0:_0x272408['workbook'];if(_0x24f8e3){const _0x1f9d82=_0x24f8e3==null?void 0x0:_0x24f8e3[_0xc72521(0x36e)],_0x252327=_0x383951['textEncoder'][_0xc72521(0x163)](_0x383951[_0xc72521(0x1cb)](_0x1f9d82));_0x24f8e3[_0xc72521(0x36e)]=_0x252327,Object[_0xc72521(0x3ee)](_0x24f8e3['sheets'])[_0xc72521(0x19d)](([,_0x20da61])=>{var _0x39048f=_0xc72521;const _0x15a36a=_0x20da61['originalMeta'],_0x166e52=_0x383951[_0x39048f(0x40f)][_0x39048f(0x163)](_0x383951[_0x39048f(0x1cb)](_0x15a36a));_0x20da61[_0x39048f(0x36e)]=_0x166e52;});}return _0x21c134;}async[_0x40be40(0x356)](_0x5105a0,_0x37401e){var _0xc2df9a=_0x40be40;const {unitID:_0x1f71cf,type:_0x4f74a0,blockID:_0x531463}=_0x37401e,_0x4a5170=this[_0xc2df9a(0x394)]()+'/'+_0x4f74a0+_0xc2df9a(0x21b)+_0x1f71cf+_0xc2df9a(0x3bd)+_0x531463;return(await this[_0xc2df9a(0x11f)][_0xc2df9a(0x2e6)](_0x4a5170))['body'];}async[_0x40be40(0x3b5)](_0x46948d,_0x4fa6d3){var _0x372b22=_0x40be40;const {unitID:_0x3c81b4,type:_0x1a1204,blockID:_0xa30aca}=_0x4fa6d3,_0x3e6d6d=this['_getAPIPrefix']()+_0x372b22(0x3bd)+_0x1a1204+_0x372b22(0x21b)+_0x3c81b4+_0x372b22(0x3bd)+_0xa30aca;return(await this['_httpService'][_0x372b22(0x2e6)](_0x3e6d6d))[_0x372b22(0x176)];}async[_0x40be40(0x24c)](_0x4550d6,_0xc9706c){var _0x18f72f=_0x40be40;const {unitID:_0x46e28d,type:_0x56b4a0,from:_0x452602,to:_0x531f98}=_0xc9706c,_0x11bf78=this[_0x18f72f(0x394)]()+'/'+_0x56b4a0+_0x18f72f(0x21b)+_0x46e28d+_0x18f72f(0x383)+_0x452602+_0x18f72f(0x279)+_0x531f98;return(await this[_0x18f72f(0x11f)][_0x18f72f(0x2e6)](_0x11bf78))[_0x18f72f(0x176)];}[_0x40be40(0x3a4)](){var _0x453e30=_0x40be40,_0x2cff24;return(_0x2cff24=this['_configService'][_0x453e30(0x311)](_0x481aa2))!=null?_0x2cff24:this[_0x453e30(0x394)]();}[_0x40be40(0x394)](){var _0x520aa7=_0x40be40,_0x9fc177,_0xce1d82;const _0x108630=this['_configService']['getConfig'](_0x3597d4),_0x5e6a33=this[_0x520aa7(0x26b)][_0x520aa7(0x311)](_0x5b36e1);return(_0xce1d82=(_0x9fc177=_0x5e6a33==null?void 0x0:_0x5e6a33[_0x520aa7(0x3a8)])!=null?_0x9fc177:_0x108630)!=null?_0xce1d82:_0xa1dc24;}async['getResourcesRequest'](_0x44fa8f,_0x3202d7){var _0x1767ad=_0x40be40;const _0x404e96=_0x1767ad(0x151)+_0x3202d7[_0x1767ad(0xe2)]+_0x1767ad(0x21b)+_0x3202d7[_0x1767ad(0xc0)]+_0x1767ad(0x1b1);return(await this[_0x1767ad(0x11f)]['get'](_0x404e96,{'params':{'resourceId':JSON[_0x1767ad(0x3c2)](_0x3202d7[_0x1767ad(0x2b1)])}}))['body'];}[_0x40be40(0x222)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x40be40(0x3d4)](){var _0x15b961=_0x40be40;throw new Error(_0x15b961(0x27e));}['saveChangeset'](){var _0x45ca06=_0x40be40;throw new Error(_0x45ca06(0x27e));}[_0x40be40(0x385)](){var _0x2084dd=_0x40be40;throw new Error(_0x2084dd(0x27e));}[_0x40be40(0xa8)](){var _0x5a4d83=_0x40be40;throw new Error(_0x5a4d83(0x27e));}},_0x2628ab[_0x40be40(0x1af)]=_0x43cfba([_0x7f082f(0x0,_0xd26f96['IConfigService']),_0x7f082f(0x1,_0xd26f96['Inject'](_0x46d276[_0x40be40(0x42a)]))],_0x2628ab['SnapshotServerOverHTTPService']);var _0x15756d=Object[_0x40be40(0xd4)],_0x3b807a=(_0x122c63,_0x42d7a8,_0x6d4a28,_0x4ebfa5)=>{for(var _0x52358e=_0x4ebfa5>0x1?void 0x0:_0x4ebfa5?_0x15756d(_0x42d7a8,_0x6d4a28):_0x42d7a8,_0x22908f=_0x122c63['length']-0x1,_0x508388;_0x22908f>=0x0;_0x22908f--)(_0x508388=_0x122c63[_0x22908f])&&(_0x52358e=_0x508388(_0x52358e)||_0x52358e);return _0x52358e;},_0x5e4eea=(_0x160ac0,_0xa6c04)=>(_0x2fd378,_0x3ec18b)=>_0xa6c04(_0x2fd378,_0x3ec18b,_0x160ac0);_0x2628ab[_0x40be40(0x252)]=class extends _0xd26f96[_0x40be40(0x225)]{constructor(_0x5e0ae8,_0x107d13,_0x120ce3,_0x1b6cd5,_0x52bb49){var _0xaa793f=_0x40be40;super(_0x5e0ae8,_0x107d13,_0x120ce3),this[_0xaa793f(0x202)]=_0x1b6cd5,this[_0xaa793f(0x3d7)]=_0x52bb49;}[_0x40be40(0x37a)](_0x3bf845,_0x20dbd8){var _0x44a7dd=_0x40be40;const _0x14ed40=this[_0x44a7dd(0x3b7)](_0x3bf845);if(_0x14ed40)try{const _0x3c72fb=this['_transformStack'](_0x14ed40,_0x20dbd8);this['_substituteUndoStack'](_0x3bf845,_0x3c72fb);}catch(_0x48e675){this[_0x44a7dd(0x3d7)][_0x44a7dd(0x282)](_0x44a7dd(0x30f),_0x48e675),this[_0x44a7dd(0x198)](_0x3bf845);}const _0x49d8ce=this[_0x44a7dd(0x234)](_0x3bf845);if(_0x49d8ce)try{const _0x94d061=this[_0x44a7dd(0x38c)](_0x49d8ce,_0x20dbd8);this[_0x44a7dd(0x2c7)](_0x3bf845,_0x94d061);}catch(_0x3a6b3f){this[_0x44a7dd(0x3d7)][_0x44a7dd(0x282)](_0x3a6b3f),this[_0x44a7dd(0x39b)](_0x3bf845);}}['_clearUndo'](_0x3c13a6){var _0x2907eb=_0x40be40;const _0x2ce180=this[_0x2907eb(0x3b7)](_0x3c13a6);_0x2ce180&&(_0x2ce180['length']=0x0,this[_0x2907eb(0x128)]());}[_0x40be40(0x39b)](_0x58e281){var _0x41337d=_0x40be40;const _0x384769=this[_0x41337d(0x234)](_0x58e281);_0x384769&&(_0x384769[_0x41337d(0x112)]=0x0,this[_0x41337d(0x128)]());}['_substituteUndoStack'](_0x24cb23,_0x17540e){var _0x351563=_0x40be40;this[_0x351563(0xb0)][_0x351563(0xa9)](_0x24cb23,_0x17540e),this[_0x351563(0x128)]();}['_substituteRedoStack'](_0xe3a069,_0x5ab60b){var _0x25df7e=_0x40be40;this[_0x25df7e(0xcd)][_0x25df7e(0xa9)](_0xe3a069,_0x5ab60b),this[_0x25df7e(0x128)]();}[_0x40be40(0x38c)](_0x3f16f0,_0x570d9a){var _0x554258=_0x40be40;const _0x125c7d=[];let _0x2efee0=_0x570d9a,_0x3b8af5=_0x570d9a;for(let _0x40ea64=_0x3f16f0[_0x554258(0x112)]-0x1;_0x40ea64>=0x0;_0x40ea64--){const {unitID:_0xed4ea5,undoMutations:_0xf200d7,redoMutations:_0x141593}=_0x3f16f0[_0x40ea64],_0x5c4ac2=this[_0x554258(0x202)][_0x554258(0x386)](_0x2efee0,_0xf200d7),_0x594363=this['_transformService']['transformMutationsWithChangeset'](_0x3b8af5,_0x141593);if(_0x383951['isTransformMutationsWithChangesetFailure'](_0x5c4ac2)||_0x383951[_0x554258(0x3c9)](_0x594363)){this[_0x554258(0x3d7)][_0x554258(0x282)](_0x554258(0x30f),_0x554258(0x37d),_0x5c4ac2,_0x594363);break;}_0x2efee0=_0x5c4ac2['c1Prime'],_0x3b8af5=_0x594363['c1Prime'],_0x125c7d['push']({'unitID':_0xed4ea5,'undoMutations':_0x5c4ac2[_0x554258(0xc3)],'redoMutations':_0x594363[_0x554258(0xc3)]});}return _0x125c7d[_0x554258(0x17f)]();}},_0x2628ab[_0x40be40(0x252)]=_0x3b807a([_0x5e4eea(0x0,_0xd26f96[_0x40be40(0xc2)]),_0x5e4eea(0x1,_0xd26f96[_0x40be40(0x1e9)]),_0x5e4eea(0x2,_0xd26f96[_0x40be40(0xd5)]),_0x5e4eea(0x3,_0x383951['ITransformService']),_0x5e4eea(0x4,_0xd26f96[_0x40be40(0x400)])],_0x2628ab[_0x40be40(0x252)]);var _0x5381b9=Object[_0x40be40(0x3bf)],_0x46135f=Object['getOwnPropertyDescriptor'],_0x1bbe01=(_0x38c2f3,_0x2af4e5,_0x4a7414)=>_0x2af4e5 in _0x38c2f3?_0x5381b9(_0x38c2f3,_0x2af4e5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a7414}):_0x38c2f3[_0x2af4e5]=_0x4a7414,_0x3b86fa=(_0x4da4c1,_0x49edff,_0x30c61a,_0x3d0013)=>{var _0x5758b2=_0x40be40;for(var _0x16a695=_0x3d0013>0x1?void 0x0:_0x3d0013?_0x46135f(_0x49edff,_0x30c61a):_0x49edff,_0xc6cf82=_0x4da4c1[_0x5758b2(0x112)]-0x1,_0x16d69b;_0xc6cf82>=0x0;_0xc6cf82--)(_0x16d69b=_0x4da4c1[_0xc6cf82])&&(_0x16a695=_0x16d69b(_0x16a695)||_0x16a695);return _0x16a695;},_0x48e00b=(_0x5b50d0,_0x5c0093)=>(_0x1ec560,_0x5f3eef)=>_0x5c0093(_0x1ec560,_0x5f3eef,_0x5b50d0),_0x250c57=(_0x53b84d,_0x9765cc,_0x24db12)=>_0x1bbe01(_0x53b84d,_0x9765cc+'',_0x24db12);const _0x37b35c='UNIVER_COLLABORATION_CLIENT_PLUGIN';_0x2628ab['UniverCollaborationClientPlugin']=class extends _0xd26f96[_0x40be40(0x165)]{constructor(_0x16f440,_0x120552,_0x511a02,_0x4c639c){var _0x440325=_0x40be40;super(),_0x2d2abe(this,_0x440325(0x341)),(this[_0x440325(0x3d7)]=_0x120552,this[_0x440325(0x221)]=_0x511a02,this[_0x440325(0x26b)]=_0x4c639c);const {..._0xc318f0}=_0xd26f96[_0x440325(0x1ee)]({},_0x35e9ce,_0x16f440);if(!_0xc318f0['socketService'])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x440325(0x341)]=_0xc318f0,this[_0x440325(0x26b)][_0x440325(0x30b)](_0x5b36e1,_0xc318f0);}[_0x40be40(0x2b2)](){var _0x16097b=_0x40be40;this[_0x16097b(0x1b5)](),this['_initDependencies']();}['_registerDependencies'](){var _0x1fa7f5=_0x40be40,_0x136983,_0x198ee6;this[_0x1fa7f5(0x221)][_0x1fa7f5(0x291)](_0xd26f96['IUndoRedoService'])&&this[_0x1fa7f5(0x3d7)]['error'](_0x1fa7f5(0x33c),_0x1fa7f5(0x2a0));const _0x422166=_0xd26f96['mergeOverrideWithDependencies']([[_0xd26f96[_0x1fa7f5(0x232)],{'useClass':_0x2628ab[_0x1fa7f5(0x252)]}],[_0x2628ab[_0x1fa7f5(0x201)]],[_0x2628ab[_0x1fa7f5(0x3ac)]],[_0x2628ab[_0x1fa7f5(0x40a)]],[_0xef6f6f],[_0xbb9097],[_0x1537a8],[_0x5e3c9d],[_0xeb5637],[_0x2628ab[_0x1fa7f5(0x3c7)]],[_0x179d33,{'useClass':this['_config'][_0x1fa7f5(0x3e9)]}],[_0x383951[_0x1fa7f5(0x239)],{'useClass':_0x2628ab[_0x1fa7f5(0x1af)]}],[_0xd26f96[_0x1fa7f5(0x146)],{'useClass':_0x2628ab[_0x1fa7f5(0x432)]}],[_0x2aea7a[_0x1fa7f5(0x38a)],{'useClass':_0x2628ab['CollaborationImageIoService']}],[_0xd26f96[_0x1fa7f5(0x238)],{'useClass':_0x2628ab[_0x1fa7f5(0x417)]}],[_0x2628ab[_0x1fa7f5(0x1d6)]],[_0x13ec6f]],(_0x136983=this[_0x1fa7f5(0x341)])==null?void 0x0:_0x136983[_0x1fa7f5(0x2d3)]);if(!((_0x198ee6=this[_0x1fa7f5(0x341)])!=null&&_0x198ee6[_0x1fa7f5(0x2fe)])){const _0x21a86a=_0x422166[_0x1fa7f5(0x302)](([_0x211de1])=>_0x211de1===_0x4bb6b5);_0x21a86a!==-0x1&&_0x422166['splice'](_0x21a86a,0x1);}_0xd26f96[_0x1fa7f5(0x2cb)](this[_0x1fa7f5(0x221)],_0x422166);}[_0x40be40(0x14d)](){var _0x10de79=_0x40be40,_0x497a59,_0x3a7a6e,_0x1939e8;this['_injector']['get'](_0x46d276[_0x10de79(0x42a)])[_0x10de79(0x3c8)]({'priority':0x14,'interceptor':_0x46d276[_0x10de79(0x22b)]({'maxParallel':0x6})}),(_0x497a59=this[_0x10de79(0x341)])!=null&&_0x497a59[_0x10de79(0x2f0)]||(_0x3a7a6e=this[_0x10de79(0x221)]['get'](_0x598b06,_0xd26f96[_0x10de79(0x1db)][_0x10de79(0x278)]))==null||_0x3a7a6e[_0x10de79(0x2ab)](),(_0x1939e8=this['_config'])!=null&&_0x1939e8['enableAuthServer']&&_0xd26f96[_0x10de79(0x376)](this['_injector'],[[_0xef6f6f]]),_0xd26f96['touchDependencies'](this[_0x10de79(0x221)],[[_0xbb9097],[_0x2628ab[_0x10de79(0x1d6)]],[_0x5e3c9d]]);}},_0x250c57(_0x2628ab['UniverCollaborationClientPlugin'],'pluginName',_0x37b35c),_0x2628ab[_0x40be40(0x373)]=_0x3b86fa([_0xd26f96['DependentOn'](_0x383951[_0x40be40(0x31b)],_0x46d276[_0x40be40(0x2d0)]),_0x48e00b(0x1,_0xd26f96[_0x40be40(0x400)]),_0x48e00b(0x2,_0xd26f96[_0x40be40(0x21f)](_0xd26f96[_0x40be40(0x369)])),_0x48e00b(0x3,_0xd26f96[_0x40be40(0x2c5)])],_0x2628ab[_0x40be40(0x373)]),_0x2628ab[_0x40be40(0x389)]=_0x1f18ca,_0x2628ab[_0x40be40(0x3ff)]=_0x5b36e1,_0x2628ab[_0x40be40(0x259)]=_0x2279c4,_0x2628ab['COLLAB_WEB_SOCKET_URL_KEY']=_0x22ae2a,_0x2628ab[_0x40be40(0x197)]=_0x5f060b,_0x2628ab[_0x40be40(0x1bc)]=_0x450220,_0x2628ab[_0x40be40(0x402)]=_0xeb5637,_0x2628ab[_0x40be40(0x285)]=_0x1537a8,_0x2628ab[_0x40be40(0x1c6)]=_0x4249c7,_0x2628ab[_0x40be40(0x40c)]=_0x2e9113,_0x2628ab[_0x40be40(0x18a)]=_0x32a425,_0x2628ab[_0x40be40(0x1a0)]=_0x17b7d4,_0x2628ab[_0x40be40(0x3df)]=_0x11a4d4,_0x2628ab['ICollaborationSocketService']=_0x179d33,_0x2628ab[_0x40be40(0x397)]=_0x598b06,_0x2628ab[_0x40be40(0x2e0)]=_0x5f06c6,_0x2628ab[_0x40be40(0x154)]=_0x4bb6b5,_0x2628ab['LOCAL_CACHE_INTERVAL']=0x3e8,_0x2628ab[_0x40be40(0xda)]=_0x342cce,_0x2628ab[_0x40be40(0x375)]=_0x6d7a56,_0x2628ab['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=_0x47daff,_0x2628ab[_0x40be40(0x39d)]=_0x14c889,_0x2628ab['SEND_CHANGESET_TIMEOUT_KEY']=_0xa888af,_0x2628ab[_0x40be40(0x28f)]=_0x3597d4,_0x2628ab['SNAPSHOT_URL_KEY']=_0x481aa2,_0x2628ab['SessionStatus']=_0x59b840,_0x2628ab[_0x40be40(0x3f7)]=_0x1ce829,_0x2628ab['deserializeToCombResponse']=_0x1ae7d6,_0x2628ab[_0x40be40(0x24d)]=_0x45d41b,_0x2628ab[_0x40be40(0x1ed)]=_0x41237a,Object[_0x40be40(0x3bf)](_0x2628ab,Symbol[_0x40be40(0x433)],{'value':_0x40be40(0x1d2)});}));