@univerjs-pro/collaboration-client 0.8.0-nightly.202506041607 → 0.8.0
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/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';var _0x25fdaf=_0x305e;(function(_0x4b7acb,_0x40518f){var _0x7bc264=_0x305e,_0x1b0394=_0x4b7acb();while(!![]){try{var _0x5a3c90=-parseInt(_0x7bc264(0x2e4))/0x1+-parseInt(_0x7bc264(0x4c1))/0x2+-parseInt(_0x7bc264(0x474))/0x3+parseInt(_0x7bc264(0x2c3))/0x4*(-parseInt(_0x7bc264(0x35b))/0x5)+parseInt(_0x7bc264(0x4fe))/0x6+-parseInt(_0x7bc264(0x4b1))/0x7+parseInt(_0x7bc264(0x426))/0x8*(parseInt(_0x7bc264(0x385))/0x9);if(_0x5a3c90===_0x40518f)break;else _0x1b0394['push'](_0x1b0394['shift']());}catch(_0x426756){_0x1b0394['push'](_0x1b0394['shift']());}}}(_0x1691,0x9b141));var Dt=Object[_0x25fdaf(0x1bf)],At=(_0x235cfd,_0x4dfae8,_0x56c56f)=>_0x4dfae8 in _0x235cfd?Dt(_0x235cfd,_0x4dfae8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x56c56f}):_0x235cfd[_0x4dfae8]=_0x56c56f,A=(_0xb76d10,_0x2ed88e,_0x5c86cd)=>At(_0xb76d10,typeof _0x2ed88e!=_0x25fdaf(0x35f)?_0x2ed88e+'':_0x2ed88e,_0x5c86cd);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':'Module'});const a=require(_0x25fdaf(0x39e)),$=require(_0x25fdaf(0x2d0)),V=require(_0x25fdaf(0x1b8)),I=require('@univerjs-pro/collaboration'),Y=require('@univerjs/network'),Pt=require(_0x25fdaf(0x3e4)),ht=require('@univerjs/docs'),X=require('@univerjs/sheets'),z=require(_0x25fdaf(0x293)),wt=require(_0x25fdaf(0x1f2)),_t=_0x25fdaf(0x26d),Lt=_0x25fdaf(0x2c7),lt=_0x25fdaf(0x3aa),Mt=_0x25fdaf(0x48f),xt=0x7d0,ut=_0x25fdaf(0x2ff),dt=_0x25fdaf(0x4ea),kt=_0x25fdaf(0x2f7),vt=_0x25fdaf(0x472),Ht=0x7530,ke=_0x25fdaf(0x30e),St=0x4e20,$t=0x4e20,ft=_0x25fdaf(0x30b),jt=0x3,Bt=_0x25fdaf(0x30a),Ft=0x3e8,pt='COLLAB_SUBMIT_CHANGESET_URL',Vt=_0x25fdaf(0x499),It=_0x25fdaf(0x22d),Wt=_0x25fdaf(0x2be),Gt=_0x25fdaf(0x370),Kt=_0x25fdaf(0x2b3);var gt=(_0x2202c6=>(_0x2202c6[_0x2202c6[_0x25fdaf(0x49b)]=0x0]=_0x25fdaf(0x49b),_0x2202c6[_0x2202c6['OK']=0x1]='OK',_0x2202c6[_0x2202c6['INTERNAL_ERROR']=0x2]=_0x25fdaf(0x24b),_0x2202c6[_0x2202c6['PERMISSION_DENIED']=0x3]=_0x25fdaf(0x3e2),_0x2202c6[_0x2202c6[_0x25fdaf(0x3a0)]=0x4]='NOT_FOUND',_0x2202c6[_0x2202c6['UNAUTHENTICATED']=0x5]=_0x25fdaf(0x479),_0x2202c6[_0x2202c6['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x2202c6[_0x2202c6[_0x25fdaf(0x412)]=0x7]='INVALID_ARGUMENT',_0x2202c6[_0x2202c6[_0x25fdaf(0x38d)]=0x8]=_0x25fdaf(0x38d),_0x2202c6[_0x2202c6[_0x25fdaf(0x478)]=0x9]='COMPLETION_FINISHED',_0x2202c6[_0x2202c6[_0x25fdaf(0x228)]=0xa]=_0x25fdaf(0x228),_0x2202c6[_0x2202c6[_0x25fdaf(0x25a)]=0x1389]=_0x25fdaf(0x25a),_0x2202c6[_0x2202c6[_0x25fdaf(0x2b6)]=0x1771]=_0x25fdaf(0x2b6),_0x2202c6[_0x2202c6['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x25fdaf(0x4d7),_0x2202c6[_0x2202c6['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x25fdaf(0x1db),_0x2202c6[_0x2202c6[_0x25fdaf(0x229)]=0x1b59]='APPLY_REJECT',_0x2202c6[_0x2202c6['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x25fdaf(0x345),_0x2202c6[_0x2202c6[_0x25fdaf(0x3f9)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2202c6[_0x2202c6['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2202c6[_0x2202c6['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x2202c6[_0x2202c6[_0x25fdaf(0x24a)]=0x1f41]=_0x25fdaf(0x24a),_0x2202c6[_0x2202c6[_0x25fdaf(0x315)]=0x2329]=_0x25fdaf(0x315),_0x2202c6[_0x2202c6[_0x25fdaf(0x2ba)]=0x232a]=_0x25fdaf(0x2ba),_0x2202c6[_0x2202c6[_0x25fdaf(0x3af)]=0x232b]=_0x25fdaf(0x3af),_0x2202c6[_0x2202c6[_0x25fdaf(0x505)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2202c6[_0x2202c6[_0x25fdaf(0x510)]=0x232d]=_0x25fdaf(0x510),_0x2202c6[_0x2202c6['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x25fdaf(0x4f8),_0x2202c6[_0x2202c6[_0x25fdaf(0x454)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2202c6[_0x2202c6[_0x25fdaf(0x2e6)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2202c6[_0x2202c6['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2202c6[_0x2202c6[_0x25fdaf(0x50a)]=0x271a]=_0x25fdaf(0x50a),_0x2202c6[_0x2202c6[_0x25fdaf(0x4ae)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x2202c6[_0x2202c6[_0x25fdaf(0x326)]=0x271c]=_0x25fdaf(0x326),_0x2202c6[_0x2202c6[_0x25fdaf(0x20c)]=0x271d]=_0x25fdaf(0x20c),_0x2202c6[_0x2202c6[_0x25fdaf(0x389)]=0x271e]=_0x25fdaf(0x389),_0x2202c6[_0x2202c6['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x2202c6[_0x2202c6[_0x25fdaf(0x271)]=0x2af9]=_0x25fdaf(0x271),_0x2202c6[_0x2202c6[_0x25fdaf(0x34a)]=0x2ee1]=_0x25fdaf(0x34a),_0x2202c6[_0x2202c6[_0x25fdaf(0x344)]=0x2ee2]=_0x25fdaf(0x344),_0x2202c6[_0x2202c6['INVITE_CODE_REQUIRED']=0x2ee3]=_0x25fdaf(0x317),_0x2202c6[_0x2202c6[_0x25fdaf(0x443)]=0x2ee4]=_0x25fdaf(0x443),_0x2202c6[_0x2202c6['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x25fdaf(0x3c6),_0x2202c6[_0x2202c6['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x25fdaf(0x4c3),_0x2202c6[_0x2202c6[_0x25fdaf(0x224)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x2202c6[_0x2202c6[_0x25fdaf(0x2e8)]=0x32cb]=_0x25fdaf(0x2e8),_0x2202c6[_0x2202c6[_0x25fdaf(0x328)]=-0x1]='UNRECOGNIZED',_0x2202c6))(gt||{}),J=(_0x4166db=>(_0x4166db[_0x4166db[_0x25fdaf(0x430)]=0x0]=_0x25fdaf(0x430),_0x4166db[_0x4166db[_0x25fdaf(0x1e0)]=0x1]=_0x25fdaf(0x1e0),_0x4166db[_0x4166db['UNIVER_SHEET']=0x2]=_0x25fdaf(0x3f5),_0x4166db[_0x4166db[_0x25fdaf(0x2e9)]=0x3]=_0x25fdaf(0x2e9),_0x4166db[_0x4166db[_0x25fdaf(0x246)]=0x4]=_0x25fdaf(0x246),_0x4166db[_0x4166db[_0x25fdaf(0x328)]=-0x1]=_0x25fdaf(0x328),_0x4166db))(J||{}),W=(_0x1d77b9=>(_0x1d77b9[_0x1d77b9[_0x25fdaf(0x382)]=0x0]=_0x25fdaf(0x382),_0x1d77b9[_0x1d77b9[_0x25fdaf(0x332)]=0x1]=_0x25fdaf(0x332),_0x1d77b9[_0x1d77b9['JOIN']=0x2]=_0x25fdaf(0x401),_0x1d77b9[_0x1d77b9[_0x25fdaf(0x3ac)]=0x3]=_0x25fdaf(0x3ac),_0x1d77b9[_0x1d77b9[_0x25fdaf(0x4d9)]=0x4]=_0x25fdaf(0x4d9),_0x1d77b9[_0x1d77b9[_0x25fdaf(0x489)]=0x5]=_0x25fdaf(0x489),_0x1d77b9[_0x1d77b9[_0x25fdaf(0x3fe)]=0x6]=_0x25fdaf(0x3fe),_0x1d77b9[_0x1d77b9['UNRECOGNIZED']=-0x1]=_0x25fdaf(0x328),_0x1d77b9))(W||{}),oe=(_0x28dd8b=>(_0x28dd8b[_0x28dd8b[_0x25fdaf(0x3a1)]=0x0]=_0x25fdaf(0x3a1),_0x28dd8b[_0x28dd8b['OK']=0x1]='OK',_0x28dd8b[_0x28dd8b[_0x25fdaf(0x2a4)]=0x2]=_0x25fdaf(0x2a4),_0x28dd8b[_0x28dd8b[_0x25fdaf(0x20e)]=0x3e9]=_0x25fdaf(0x20e),_0x28dd8b[_0x28dd8b['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x28dd8b[_0x28dd8b[_0x25fdaf(0x512)]=0x3eb]=_0x25fdaf(0x512),_0x28dd8b[_0x28dd8b['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x25fdaf(0x2f8),_0x28dd8b[_0x28dd8b[_0x25fdaf(0x328)]=-0x1]='UNRECOGNIZED',_0x28dd8b))(oe||{}),Et=(_0x3e54e1=>(_0x3e54e1[_0x3e54e1[_0x25fdaf(0x488)]=0x0]='Undefined',_0x3e54e1[_0x3e54e1[_0x25fdaf(0x402)]=0x1]=_0x25fdaf(0x402),_0x3e54e1[_0x3e54e1['HttpExport']=0x2]='HttpExport',_0x3e54e1[_0x3e54e1['UnitEmbedded']=0x3]=_0x25fdaf(0x3e8),_0x3e54e1[_0x3e54e1[_0x25fdaf(0x2e0)]=0x4]=_0x25fdaf(0x2e0),_0x3e54e1[_0x3e54e1[_0x25fdaf(0x3fd)]=0x5]=_0x25fdaf(0x3fd),_0x3e54e1[_0x3e54e1[_0x25fdaf(0x328)]=-0x1]=_0x25fdaf(0x328),_0x3e54e1))(Et||{});const K='collaboration-client.config',Yt={};var Z=(_0x344ab0=>(_0x344ab0[_0x25fdaf(0x50b)]=_0x25fdaf(0x50b),_0x344ab0[_0x25fdaf(0x3e2)]=_0x25fdaf(0x3e2),_0x344ab0[_0x25fdaf(0x375)]='CONFLICT',_0x344ab0[_0x25fdaf(0x36f)]=_0x25fdaf(0x36f),_0x344ab0[_0x25fdaf(0x31a)]='JOIN_ROOM_FAILED',_0x344ab0[_0x25fdaf(0x278)]=_0x25fdaf(0x278),_0x344ab0[_0x25fdaf(0x51a)]=_0x25fdaf(0x51a),_0x344ab0[_0x25fdaf(0x41c)]='SUBMIT_CHANGESET_TIMEOUT',_0x344ab0))(Z||{});class ee{constructor(){var _0x108343=_0x25fdaf;A(this,'_event$',new $[(_0x108343(0x23d))]()),A(this,_0x108343(0x4d0),this['_event$'][_0x108343(0x266)]());}[_0x25fdaf(0x297)](_0x526f60){var _0xf163fb=_0x25fdaf;this[_0xf163fb(0x39a)]['next'](_0x526f60);}}const mt=a[_0x25fdaf(0x3db)](_0x25fdaf(0x3fa));function Ct(_0x2a16c6){var _0x5ae973=_0x25fdaf,_0x25e7fa,_0x2f0d54,_0x1a00e7,_0x439da8,_0x48d748;const _0x40aca2=_0x2a16c6['data'],_0x54decf=JSON[_0x5ae973(0x3ed)](_0x40aca2);switch(_0x54decf['cmd']){case W[_0x5ae973(0x489)]:case W[_0x5ae973(0x332)]:{const _0x7b8101=_0x54decf[_0x5ae973(0x333)];return{..._0x54decf,'data':_0x7b8101,'cmd':_0x54decf[_0x5ae973(0x3f8)]};}case W[_0x5ae973(0x401)]:{const _0x368644=_0x54decf[_0x5ae973(0x276)];return{..._0x54decf,'data':_0x368644,'cmd':_0x54decf['cmd']};}case W[_0x5ae973(0x3fe)]:{const _0x466f0e=_0x54decf[_0x5ae973(0x272)];switch(_0x466f0e[_0x5ae973(0x353)]){case I[_0x5ae973(0x1e4)][_0x5ae973(0x1d6)]:return{..._0x54decf,'data':{..._0x466f0e,'data':(_0x25e7fa=_0x466f0e[_0x5ae973(0x4fb)])==null?void 0x0:_0x25e7fa['cs']},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x1c8)]:return{..._0x54decf,'data':{..._0x466f0e,'data':(_0x2f0d54=_0x466f0e[_0x5ae973(0x29f)])==null?void 0x0:_0x2f0d54['cs']},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I['CollaborationEvent'][_0x5ae973(0x2c5)]:return{..._0x54decf,'data':{..._0x466f0e,'data':(_0x1a00e7=_0x466f0e[_0x5ae973(0x3b3)])==null?void 0x0:_0x1a00e7['cs']},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I['CollaborationEvent']['CHANGESET_REJ']:return{..._0x54decf,'data':{..._0x466f0e,'data':(_0x439da8=_0x466f0e['csRejEvent'])==null?void 0x0:_0x439da8['cs']},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x2ed)]:return{..._0x54decf,'data':{..._0x466f0e,'data':(_0x48d748=_0x466f0e['csShouldRetryEvent'])==null?void 0x0:_0x48d748['cs']},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x26f)]:return{..._0x54decf,'data':{..._0x466f0e,'data':_0x466f0e['updateCursorEvent']},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x1bd)]:return{..._0x54decf,'data':{..._0x466f0e,'data':_0x466f0e[_0x5ae973(0x1f6)]},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x239)]:return{..._0x54decf,'data':{..._0x466f0e,'data':_0x466f0e[_0x5ae973(0x377)]},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x509)]:return{..._0x54decf,'data':{..._0x466f0e,'data':_0x466f0e['liveShareNewHost']},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x322)]:case I[_0x5ae973(0x1e4)][_0x5ae973(0x367)]:return{..._0x54decf,'data':{..._0x466f0e,'data':_0x466f0e[_0x5ae973(0x3cc)]},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x36e)]:return{..._0x54decf,'data':{..._0x466f0e,'data':_0x466f0e['liveShareNewHost']},'cmd':_0x54decf['cmd']};case I['CollaborationEvent'][_0x5ae973(0x3c4)]:return{..._0x54decf,'data':_0x466f0e,'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x418)]:return{..._0x54decf,'data':{..._0x466f0e,'data':_0x466f0e[_0x5ae973(0x390)]},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I['CollaborationEvent'][_0x5ae973(0x493)]:return{..._0x54decf,'data':{..._0x466f0e,'data':_0x466f0e['updatePermissionObjEvent']},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x4fd)]:return{..._0x54decf,'data':{..._0x466f0e,'data':_0x466f0e['shouldCloseConn']},'cmd':_0x54decf[_0x5ae973(0x3f8)]};case I[_0x5ae973(0x1e4)][_0x5ae973(0x4b4)]:return{..._0x54decf,'data':{..._0x466f0e,'data':_0x466f0e[_0x5ae973(0x32b)]},'cmd':_0x54decf[_0x5ae973(0x3f8)]};default:return _0x54decf;}}default:return _0x54decf;}}function Tt(_0x3e5d7a){var _0x4b0443=_0x25fdaf;switch(_0x3e5d7a[_0x4b0443(0x3f8)]){case W[_0x4b0443(0x489)]:case W[_0x4b0443(0x332)]:return JSON[_0x4b0443(0x4eb)]({'cmd':_0x3e5d7a['cmd'],'routeKey':_0x3e5d7a[_0x4b0443(0x352)]});case W['INGEST']:{let _0x4d7c8b;switch(_0x3e5d7a[_0x4b0443(0x1c9)][_0x4b0443(0x353)]){case I[_0x4b0443(0x1e4)][_0x4b0443(0x26f)]:{_0x4d7c8b={'eventID':I[_0x4b0443(0x1e4)][_0x4b0443(0x26f)],'updateCursorEvent':_0x3e5d7a[_0x4b0443(0x1c9)]['data']};break;}case I['CollaborationEvent'][_0x4b0443(0x239)]:{_0x4d7c8b={'eventID':I['CollaborationEvent'][_0x4b0443(0x239)],'leaveEvent':_0x3e5d7a[_0x4b0443(0x1c9)][_0x4b0443(0x1c9)]};break;}case I['CollaborationEvent'][_0x4b0443(0x1bd)]:{_0x4d7c8b={'eventID':I[_0x4b0443(0x1e4)]['USERS_ENTER'],'joinEvent':_0x3e5d7a[_0x4b0443(0x1c9)][_0x4b0443(0x1c9)]};break;}case I[_0x4b0443(0x1e4)][_0x4b0443(0x509)]:{_0x4d7c8b={'eventID':I[_0x4b0443(0x1e4)][_0x4b0443(0x509)],'liveShareNewHost':_0x3e5d7a[_0x4b0443(0x1c9)]['data']};break;}case I[_0x4b0443(0x1e4)][_0x4b0443(0x367)]:{_0x4d7c8b={'eventID':I['CollaborationEvent'][_0x4b0443(0x367)],'liveShareOperation':_0x3e5d7a['data']['data']};break;}case I[_0x4b0443(0x1e4)][_0x4b0443(0x36e)]:{_0x4d7c8b={'eventID':I[_0x4b0443(0x1e4)][_0x4b0443(0x36e)],'liveShareTerminate':_0x3e5d7a['data'][_0x4b0443(0x1c9)]};break;}case I['CollaborationEvent'][_0x4b0443(0x43c)]:{_0x4d7c8b={'eventID':I['CollaborationEvent'][_0x4b0443(0x43c)],'liveShareRequestHost':_0x3e5d7a[_0x4b0443(0x1c9)][_0x4b0443(0x1c9)]};break;}case I['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0x4d7c8b={'eventID':I[_0x4b0443(0x1e4)][_0x4b0443(0x322)]};break;}default:_0x4d7c8b={'eventID':_0x3e5d7a[_0x4b0443(0x1c9)][_0x4b0443(0x353)]};}return JSON['stringify']({'cmd':_0x3e5d7a['cmd'],'routeKey':_0x3e5d7a['routeKey'],'collaMsg':_0x4d7c8b});}case W[_0x4b0443(0x401)]:return JSON[_0x4b0443(0x4eb)]({'cmd':_0x3e5d7a[_0x4b0443(0x3f8)],'routeKey':_0x3e5d7a['routeKey'],'joinReq':_0x3e5d7a[_0x4b0443(0x1c9)]});case W[_0x4b0443(0x3ac)]:return JSON[_0x4b0443(0x4eb)]({'cmd':_0x3e5d7a[_0x4b0443(0x3f8)],'routeKey':_0x3e5d7a[_0x4b0443(0x352)],'leaveReq':_0x3e5d7a[_0x4b0443(0x1c9)]});default:throw new Error(_0x4b0443(0x1d9));}}var qt=Object[_0x25fdaf(0x4ca)],zt=(_0x1d8d60,_0x90b2f6,_0x454f82,_0x92baa4)=>{var _0x4c55b6=_0x25fdaf;for(var _0x3a5575=_0x92baa4>0x1?void 0x0:_0x92baa4?qt(_0x90b2f6,_0x454f82):_0x90b2f6,_0x3e8835=_0x1d8d60[_0x4c55b6(0x27c)]-0x1,_0xa53a3c;_0x3e8835>=0x0;_0x3e8835--)(_0xa53a3c=_0x1d8d60[_0x3e8835])&&(_0x3a5575=_0xa53a3c(_0x3a5575)||_0x3a5575);return _0x3a5575;},_e=(_0x54be5e,_0x1b18fb)=>(_0x5c143b,_0x59abd8)=>_0x1b18fb(_0x5c143b,_0x59abd8,_0x54be5e);const He=a['createIdentifier'](_0x25fdaf(0x211));function Jt(_0x4d0d2b,_0x218bcf,_0x82c56){var _0x1a52eb=_0x25fdaf;return _0x4d0d2b+'/'+_0x218bcf+_0x1a52eb(0x3ba)+_0x82c56+_0x1a52eb(0x409);}exports[_0x25fdaf(0x39b)]=class extends a[_0x25fdaf(0x2a0)]{constructor(_0x26759a,_0x3e81e6,_0x3396dc,_0x40b77d,_0x7c740f){var _0x3c5946=_0x25fdaf;super(),this[_0x3c5946(0x307)]=_0x26759a,this['_httpService']=_0x3e81e6,this['_configService']=_0x3396dc,this[_0x3c5946(0x207)]=_0x40b77d,this[_0x3c5946(0x30d)]=_0x7c740f;}[_0x25fdaf(0x327)](_0x17a545){var _0x144525=_0x25fdaf;const _0x15cea5=this[_0x144525(0x307)][_0x144525(0x4bb)](Y['ISocketService']);if(!_0x15cea5)throw new Error(_0x144525(0x21b));const _0x378698=_0x15cea5['createSocket'](_0x17a545);if(!_0x378698)throw new Error(_0x144525(0x50f));const _0x5c4be5=new a[(_0x144525(0x494))](),_0x1687b4=new $[(_0x144525(0x23d))]();_0x5c4be5[_0x144525(0x225)](_0x378698['close$'][_0x144525(0x4dd)](_0x4e3872=>_0x1687b4['next'](_0x4e3872))),_0x5c4be5[_0x144525(0x225)](a[_0x144525(0x38a)](()=>_0x1687b4[_0x144525(0x4b3)]()));const _0x245225=new $[(_0x144525(0x23d))]();_0x5c4be5[_0x144525(0x225)](_0x378698['error$']['subscribe'](_0x597895=>_0x245225[_0x144525(0x44d)](_0x597895))),_0x5c4be5[_0x144525(0x225)](a[_0x144525(0x38a)](()=>_0x245225[_0x144525(0x4b3)]()));const _0x1e2617=new $[(_0x144525(0x23d))]();_0x5c4be5[_0x144525(0x225)](_0x378698[_0x144525(0x4e2)]['subscribe'](_0xb6236a=>{const _0x301947=Ct(_0xb6236a);_0x1e2617['next'](_0x301947);})),_0x5c4be5['add'](a['toDisposable'](()=>_0x1e2617['complete']()));let _0x35fda5;const _0x498e4c=()=>{var _0x231cba=_0x144525;_0x245225[_0x231cba(0x44d)](new Event('connection\x20error')),_0x1687b4[_0x231cba(0x44d)](new Event(_0x231cba(0x2d5))),_0x35fda5[_0x231cba(0x405)]();};return _0x35fda5={'memberID':'','close$':_0x1687b4[_0x144525(0x266)](),'error$':_0x245225[_0x144525(0x266)](),'open$':_0x378698[_0x144525(0x1fd)],'message$':_0x1e2617['asObservable'](),'send':_0x111772=>{var _0x12088f=_0x144525;if(_0x111772['cmd']===W['INGEST']){if(_0x111772[_0x12088f(0x1c9)][_0x12088f(0x353)]===I['CollaborationEvent']['SUBMIT_CHANGESET']){this[_0x12088f(0x432)](_0x35fda5,_0x111772[_0x12088f(0x1c9)])[_0x12088f(0x4ce)](_0x79efd0=>{var _0x28b3f7=_0x12088f;this[_0x28b3f7(0x207)][_0x28b3f7(0x2d3)](_0x79efd0),_0x498e4c();});return;}if(_0x111772[_0x12088f(0x1c9)]['eventID']===I['CollaborationEvent']['FETCH_MISSING']){const _0x344b1b=_0x111772['data'];this[_0x12088f(0x4bc)](_0x344b1b)[_0x12088f(0x46b)](_0x13bbc1=>{var _0x18fa71=_0x12088f;_0x1e2617[_0x18fa71(0x44d)]({'cmd':W[_0x18fa71(0x3fe)],'code':oe['OK'],'routeKey':_0x344b1b[_0x18fa71(0x1c9)]['unitID'],'routeType':'','data':{'eventID':I[_0x18fa71(0x1e4)][_0x18fa71(0x4a5)],'data':{'changesets':_0x13bbc1}}});})[_0x12088f(0x4ce)](_0x37fdf8=>{var _0x3f730d=_0x12088f;this[_0x3f730d(0x207)][_0x3f730d(0x2d3)](_0x37fdf8),_0x498e4c();});return;}}_0x378698[_0x12088f(0x3ec)](Tt(_0x111772));},'close':()=>{var _0x55485=_0x144525;_0x378698[_0x55485(0x405)](),_0x5c4be5[_0x55485(0x465)]();}},_0x35fda5;}async[_0x25fdaf(0x432)](_0x58f2f8,_0x6f2224){var _0x4f7cd3=_0x25fdaf,_0xd839f9,_0x5bcdf3;const {unitType:_0x4bd81c,unitID:_0x16ca89,changeset:_0x273e6d}=_0x6f2224[_0x4f7cd3(0x1c9)],_0x4ccd65={'unitID':_0x16ca89,'memberID':_0x58f2f8[_0x4f7cd3(0x33e)],'type':_0x4bd81c,'changeset':I[_0x4f7cd3(0x372)](_0x273e6d)},_0x23c501=this[_0x4f7cd3(0x2f0)][_0x4f7cd3(0x507)](pt),_0x4218da=this[_0x4f7cd3(0x2f0)][_0x4f7cd3(0x507)](K),_0x2b41d4=Jt((_0x5bcdf3=(_0xd839f9=_0x4218da==null?void 0x0:_0x4218da['collabSubmitChangesetUrl'])!=null?_0xd839f9:_0x23c501)!=null?_0x5bcdf3:Vt,_0x4bd81c,_0x16ca89);try{await this[_0x4f7cd3(0x35c)][_0x4f7cd3(0x22e)](_0x2b41d4,{'body':_0x4ccd65});}catch(_0x3c61f9){throw this[_0x4f7cd3(0x207)][_0x4f7cd3(0x2d3)]('[CollaborationSession]',_0x4f7cd3(0x3a9)),_0x3c61f9;}}async['_fetchMissChangesets'](_0x3428b4){var _0x1e5cdf=_0x25fdaf;const {unitID:_0x4b77e0,from:_0x34cd79,to:_0x20c8c8,unitType:_0x4d0f9b}=_0x3428b4[_0x1e5cdf(0x1c9)];return(await this[_0x1e5cdf(0x30d)][_0x1e5cdf(0x455)]({'metadata':void 0x0},{'unitID':_0x4b77e0,'type':_0x4d0f9b,'from':_0x34cd79,'to':_0x20c8c8}))['changesets'];}},exports[_0x25fdaf(0x39b)]=zt([_e(0x0,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x481)])),_e(0x1,a['Inject'](Y[_0x25fdaf(0x3b9)])),_e(0x2,a['IConfigService']),_e(0x3,a['ILogService']),_e(0x4,I[_0x25fdaf(0x378)])],exports[_0x25fdaf(0x39b)]);const Xt=_0x25fdaf(0x40b);function Zt(_0x232edc){var _0x19e6ca=_0x25fdaf;return JSON[_0x19e6ca(0x4eb)](_0x232edc)[_0x19e6ca(0x27c)];}class $e{constructor(){var _0x4db4fe=_0x25fdaf;A(this,_0x4db4fe(0x4d4),new $['Subject']()),A(this,'commentUpdate$',this[_0x4db4fe(0x4d4)][_0x4db4fe(0x266)]());}['onCommentUpdate'](_0x2a2aa4){var _0x528b59=_0x25fdaf;this[_0x528b59(0x4d4)][_0x528b59(0x44d)](_0x2a2aa4);}}var Qt=Object[_0x25fdaf(0x4ca)],ei=(_0x5d4268,_0x14b831,_0x316351,_0x19ee73)=>{var _0x31f948=_0x25fdaf;for(var _0x1de2a7=_0x19ee73>0x1?void 0x0:_0x19ee73?Qt(_0x14b831,_0x316351):_0x14b831,_0x10f37b=_0x5d4268[_0x31f948(0x27c)]-0x1,_0x4a27fb;_0x10f37b>=0x0;_0x10f37b--)(_0x4a27fb=_0x5d4268[_0x10f37b])&&(_0x1de2a7=_0x4a27fb(_0x1de2a7)||_0x1de2a7);return _0x1de2a7;},We=(_0x2ec556,_0x3604d8)=>(_0x4ca913,_0x220b92)=>_0x3604d8(_0x4ca913,_0x220b92,_0x2ec556);exports['MemberService']=class extends a['Disposable']{constructor(_0x527b4f,_0x52cbf2){var _0x261602=_0x25fdaf;super(),A(this,_0x261602(0x206),new Map()),A(this,'_roomCreated$',new $['Subject']()),(this[_0x261602(0x43b)]=_0x527b4f,this[_0x261602(0x4c6)]=_0x52cbf2,this[_0x261602(0x49f)]($['merge'](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x261602(0x31e)][_0x261602(0x3f5)])[_0x261602(0x310)](V[_0x261602(0x1ba)](_0x4e601e=>_0x4e601e[_0x261602(0x3dc)]())),this[_0x261602(0x43b)][_0x261602(0x201)](a[_0x261602(0x31e)]['UNIVER_DOC'])['pipe'](V[_0x261602(0x1ba)](_0x46184f=>_0x46184f[_0x261602(0x3dc)]())),this[_0x261602(0x43b)][_0x261602(0x201)](a[_0x261602(0x31e)]['UNIVER_SLIDE'])[_0x261602(0x310)](V[_0x261602(0x1ba)](_0x477846=>_0x477846[_0x261602(0x3dc)]())))[_0x261602(0x4dd)](_0x13902b=>this[_0x261602(0x398)](_0x13902b))));}['waitForRoom$'](_0x207d41){var _0x343fc4=_0x25fdaf;return this[_0x343fc4(0x206)]['has'](_0x207d41)?$['of'](this[_0x343fc4(0x206)][_0x343fc4(0x4bb)](_0x207d41)):this[_0x343fc4(0x1f3)][_0x343fc4(0x310)](V[_0x343fc4(0x1ba)](_0x597b17=>{var _0x15fca1=_0x343fc4;if(_0x597b17===_0x207d41)return this[_0x15fca1(0x206)][_0x15fca1(0x4bb)](_0x597b17);}));}[_0x25fdaf(0x2bb)](_0x57d027){this['_userManagerService']['setCurrentUser'](_0x57d027);}[_0x25fdaf(0x475)](){var _0x2b814c=_0x25fdaf;return this[_0x2b814c(0x4c6)][_0x2b814c(0x475)]();}[_0x25fdaf(0x4cf)](_0x454d47,_0x58adea){var _0x38db78=_0x25fdaf;let _0xe80c00=this[_0x38db78(0x206)][_0x38db78(0x4bb)](_0x454d47);_0xe80c00||(_0xe80c00=new ti(),this[_0x38db78(0x206)][_0x38db78(0x397)](_0x454d47,_0xe80c00),this[_0x38db78(0x1f3)][_0x38db78(0x44d)](_0x454d47)),_0xe80c00[_0x38db78(0x4cf)](_0x58adea);}[_0x25fdaf(0x3e1)](_0x46c768,_0xb83faa){var _0x3fc137=_0x25fdaf;const _0x291422=this[_0x3fc137(0x206)][_0x3fc137(0x4bb)](_0x46c768);_0x291422&&_0x291422[_0x3fc137(0x3e1)](_0xb83faa);}['getRoom'](_0x392a36){var _0x18a853=_0x25fdaf;return this[_0x18a853(0x206)][_0x18a853(0x4bb)](_0x392a36);}['getMember'](_0x47e553,_0x227193){var _0x1acbcb=_0x25fdaf;const _0x29d3b8=this[_0x1acbcb(0x206)][_0x1acbcb(0x4bb)](_0x47e553);if(_0x29d3b8)return _0x29d3b8[_0x1acbcb(0x218)](_0x227193);}[_0x25fdaf(0x398)](_0x4a758c){var _0x5df70f=_0x25fdaf;const _0x340f19=this['_roomMembers'][_0x5df70f(0x4bb)](_0x4a758c);_0x340f19&&(_0x340f19[_0x5df70f(0x465)](),this[_0x5df70f(0x206)][_0x5df70f(0x257)](_0x4a758c));}[_0x25fdaf(0x465)](){var _0x431e2e=_0x25fdaf;this[_0x431e2e(0x206)][_0x431e2e(0x265)](_0x5cef7c=>_0x5cef7c['dispose']()),this['_roomMembers'][_0x431e2e(0x3e9)](),this[_0x431e2e(0x1f3)]['complete']();}},exports[_0x25fdaf(0x303)]=ei([We(0x0,a[_0x25fdaf(0x379)]),We(0x1,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x26a)]))],exports[_0x25fdaf(0x303)]);class ti extends a[_0x25fdaf(0x2a0)]{constructor(){var _0xcc1819=_0x25fdaf;super(...arguments),A(this,_0xcc1819(0x1e3),new Map()),A(this,_0xcc1819(0x431),new $[(_0xcc1819(0x3cf))](this[_0xcc1819(0x1e3)])),A(this,_0xcc1819(0x2f9),this[_0xcc1819(0x431)]['asObservable']());}['dispose'](){var _0x5cea14=_0x25fdaf;this[_0x5cea14(0x1e3)][_0x5cea14(0x3e9)]();}[_0x25fdaf(0x4cf)](_0x49054f){var _0x4ad872=_0x25fdaf;this['_members'][_0x4ad872(0x397)](_0x49054f[_0x4ad872(0x33e)],_0x49054f),this[_0x4ad872(0x48c)]();}[_0x25fdaf(0x3e1)](_0x2f8b5b){var _0x40568e=_0x25fdaf;this[_0x40568e(0x1e3)]['delete'](_0x2f8b5b);}[_0x25fdaf(0x218)](_0x306574){var _0x317bb7=_0x25fdaf;return this['_members'][_0x317bb7(0x4bb)](_0x306574);}['getAllMembers'](){var _0x438b6e=_0x25fdaf;return Array[_0x438b6e(0x2ee)](this[_0x438b6e(0x1e3)]['values']());}['_emitMembers'](){var _0x13633b=_0x25fdaf;this[_0x13633b(0x431)][_0x13633b(0x44d)](this[_0x13633b(0x1e3)]);}}var ii=Object[_0x25fdaf(0x4ca)],ni=(_0x4abe24,_0x229f8b,_0x32040e,_0x5ba148)=>{var _0x1200fc=_0x25fdaf;for(var _0x27bed2=_0x5ba148>0x1?void 0x0:_0x5ba148?ii(_0x229f8b,_0x32040e):_0x229f8b,_0x376a0b=_0x4abe24[_0x1200fc(0x27c)]-0x1,_0x16054c;_0x376a0b>=0x0;_0x376a0b--)(_0x16054c=_0x4abe24[_0x376a0b])&&(_0x27bed2=_0x16054c(_0x27bed2)||_0x27bed2);return _0x27bed2;},se=(_0x450a6c,_0x2acc60)=>(_0xe46269,_0x5b1e4a)=>_0x2acc60(_0xe46269,_0x5b1e4a,_0x450a6c),re=(_0xc84849=>(_0xc84849[_0xc84849[_0x25fdaf(0x49c)]=0x0]='IDLE',_0xc84849[_0xc84849['JOINING']=0x1]=_0x25fdaf(0x342),_0xc84849[_0xc84849[_0x25fdaf(0x1e8)]=0x2]=_0x25fdaf(0x1e8),_0xc84849[_0xc84849[_0x25fdaf(0x323)]=0x3]=_0x25fdaf(0x323),_0xc84849))(re||{});const Ge={[oe[_0x25fdaf(0x2a4)]]:_0x25fdaf(0x1b2),[oe[_0x25fdaf(0x20e)]]:_0x25fdaf(0x296),[oe['JOIN_ROOM_NOT_EXISTS']]:_0x25fdaf(0x302),[oe[_0x25fdaf(0x512)]]:_0x25fdaf(0x43a),[oe[_0x25fdaf(0x2f8)]]:'session.room-cnt-exceeds'};exports[_0x25fdaf(0x1ee)]=class extends a[_0x25fdaf(0x503)]{constructor(_0x3603d1,_0x21816f,_0x4527f2,_0x47fda3,_0xad7a45,_0x3dd6a2,_0x12ec4f,_0x165d37,_0x3a94f6){var _0x359260=_0x25fdaf;super(),A(this,_0x359260(0x3ff),new $['BehaviorSubject'](0x0)),A(this,'sessionStatus$',this[_0x359260(0x3ff)]['asObservable']()),A(this,_0x359260(0x39a),new $['Subject']()),A(this,_0x359260(0x4d0),this[_0x359260(0x39a)][_0x359260(0x266)]()),A(this,'_socket'),A(this,_0x359260(0x3f2)),A(this,'_collaborationTimeoutTimer'),A(this,_0x359260(0x362),!0x1),A(this,_0x359260(0x45a),null),(this[_0x359260(0x450)]=_0x3603d1,this[_0x359260(0x207)]=_0x4527f2,this[_0x359260(0x2f0)]=_0x47fda3,this[_0x359260(0x4f6)]=_0xad7a45,this[_0x359260(0x1f0)]=_0x3dd6a2,this[_0x359260(0x48a)]=_0x12ec4f,this[_0x359260(0x33a)]=_0x165d37,this[_0x359260(0x31c)]=_0x3a94f6,this['_shouldReportTelemetry']=!!this[_0x359260(0x31c)],_0x21816f[_0x359260(0x310)]($[_0x359260(0x1b1)](this[_0x359260(0x3e6)]))[_0x359260(0x4dd)](_0x13ba3b=>{var _0x16a954=_0x359260,_0x1f9861;typeof _0x13ba3b>'u'||(this[_0x16a954(0x42e)]=_0x13ba3b,_0x13ba3b?(this[_0x16a954(0x47e)](_0x13ba3b),this[_0x16a954(0x3f2)]=_0x13ba3b[_0x16a954(0x4e2)][_0x16a954(0x4dd)](_0x1d538e=>{var _0x5df844=_0x16a954;_0x1d538e['routeKey']===this[_0x5df844(0x450)]&&this[_0x5df844(0x4a2)](_0x1d538e);})):(this[_0x16a954(0x22f)](),this[_0x16a954(0x3ff)][_0x16a954(0x44d)](0x2),(_0x1f9861=this['_socketMessageSubscription'])==null||_0x1f9861[_0x16a954(0x44e)](),this[_0x16a954(0x3f2)]=null));}));}get['sessionStatus'](){var _0x8a8ded=_0x25fdaf;return this[_0x8a8ded(0x3ff)][_0x8a8ded(0x381)]();}[_0x25fdaf(0x23a)](){var _0x38152d=_0x25fdaf,_0x255572,_0x3615aa;return(_0x3615aa=(_0x255572=this[_0x38152d(0x42e)])==null?void 0x0:_0x255572[_0x38152d(0x33e)])!=null?_0x3615aa:null;}[_0x25fdaf(0x465)](){var _0xeeb2ff=_0x25fdaf;super['dispose'](),this['dispose$']['next'](),this[_0xeeb2ff(0x3e6)][_0xeeb2ff(0x4b3)]();}[_0x25fdaf(0x405)](){var _0x5268e9=_0x25fdaf,_0x25d68e,_0x3afd28;this['_throwTelemetryCollaborationNewChangeset'](),(_0x25d68e=this['_socket'])==null||_0x25d68e[_0x5268e9(0x3ec)]({'cmd':W[_0x5268e9(0x3ac)],'data':{'roomID':this[_0x5268e9(0x450)]}}),(_0x3afd28=this[_0x5268e9(0x42e)])==null||_0x3afd28[_0x5268e9(0x405)](),this['_event$']['complete'](),this[_0x5268e9(0x3ff)][_0x5268e9(0x4b3)](),this[_0x5268e9(0x465)]();}[_0x25fdaf(0x4a2)](_0x52e0d9){var _0x37703e=_0x25fdaf;_0x52e0d9['cmd']===W[_0x37703e(0x401)]?this[_0x37703e(0x51f)](_0x52e0d9):_0x52e0d9[_0x37703e(0x3f8)]===W['RECV']&&this['_onRecvEvent'](_0x52e0d9);}[_0x25fdaf(0x47e)](_0x8e5de1){var _0x3236f3=_0x25fdaf;this[_0x3236f3(0x3ff)][_0x3236f3(0x44d)](0x1),_0x8e5de1[_0x3236f3(0x3ec)]({'cmd':W[_0x3236f3(0x401)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x25fdaf(0x51f)](_0x33ae30){var _0x4116d4=_0x25fdaf,_0x32b107;if(_0x33ae30[_0x4116d4(0x3ad)]in Ge){this[_0x4116d4(0x33a)]['emitEvent']({'id':Z[_0x4116d4(0x31a)],'data':Ge[_0x33ae30[_0x4116d4(0x3ad)]]}),this[_0x4116d4(0x3ff)]['next'](0x2);return;}this[_0x4116d4(0x3ff)][_0x4116d4(0x44d)](0x3);const _0x46761b=(_0x32b107=_0x33ae30[_0x4116d4(0x1c9)][_0x4116d4(0x369)][this[_0x4116d4(0x450)]])==null?void 0x0:_0x32b107[_0x4116d4(0x2b0)];_0x46761b&&_0x46761b['forEach'](_0xc9dd6=>this[_0x4116d4(0x1f0)]['updateMember'](this[_0x4116d4(0x450)],_0xc9dd6));}[_0x25fdaf(0x515)](_0x21f6ab){var _0x47e3d2=_0x25fdaf;try{const _0x10cfc4=_0x21f6ab[_0x47e3d2(0x1c9)];switch(_0x10cfc4[_0x47e3d2(0x353)]){case I[_0x47e3d2(0x1e4)]['USERS_ENTER']:this[_0x47e3d2(0x249)](_0x10cfc4),this[_0x47e3d2(0x39a)]['next'](_0x10cfc4);break;case I[_0x47e3d2(0x1e4)][_0x47e3d2(0x239)]:this[_0x47e3d2(0x3ea)](_0x10cfc4),this[_0x47e3d2(0x39a)][_0x47e3d2(0x44d)](_0x10cfc4);break;case I[_0x47e3d2(0x1e4)][_0x47e3d2(0x1c8)]:case I['CollaborationEvent'][_0x47e3d2(0x2ed)]:this[_0x47e3d2(0x355)](),this[_0x47e3d2(0x34d)](),this['_event$'][_0x47e3d2(0x44d)](_0x10cfc4);break;case I[_0x47e3d2(0x1e4)][_0x47e3d2(0x3c4)]:this['_logService']['error'](_0x47e3d2(0x3eb)+JSON[_0x47e3d2(0x4eb)](_0x10cfc4)),this[_0x47e3d2(0x39a)][_0x47e3d2(0x44d)](_0x10cfc4);break;case I[_0x47e3d2(0x1e4)][_0x47e3d2(0x418)]:this['_commentService']['onCommentUpdate'](_0x10cfc4[_0x47e3d2(0x1c9)]),this[_0x47e3d2(0x39a)][_0x47e3d2(0x44d)](_0x10cfc4);break;default:this[_0x47e3d2(0x39a)][_0x47e3d2(0x44d)](_0x10cfc4);}}catch(_0x539af0){this[_0x47e3d2(0x207)][_0x47e3d2(0x2d3)](_0x539af0,_0x21f6ab);}}[_0x25fdaf(0x249)](_0x288462){var _0x5437fb=_0x25fdaf;this['_memberService'][_0x5437fb(0x4cf)](this[_0x5437fb(0x450)],_0x288462[_0x5437fb(0x1c9)]);}['_onUserLeave'](_0x40593f){var _0x4240f8=_0x25fdaf;this[_0x4240f8(0x1f0)]['removeMember'](this['_unitID'],_0x40593f[_0x4240f8(0x1c9)][_0x4240f8(0x33e)]);}async[_0x25fdaf(0x3ec)](_0x12f6a6,_0x40aebf){var _0x32ef8b=_0x25fdaf;if(this[_0x32ef8b(0x294)]!==0x3||!this[_0x32ef8b(0x42e)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x12f6a6[_0x32ef8b(0x353)]===I[_0x32ef8b(0x1e4)]['SUBMIT_CHANGESET']&&(this[_0x32ef8b(0x288)](),this['_startTelemetryCollaborationNewChangeset'](_0x12f6a6)),this[_0x32ef8b(0x42e)][_0x32ef8b(0x3ec)]({'cmd':W[_0x32ef8b(0x4d9)],'routeKey':_0x40aebf,'routeType':'','data':_0x12f6a6});}catch(_0x2fd416){this['_logService'][_0x32ef8b(0x2d3)](_0x2fd416);}}['_scheduleCollaborationTimeoutTimer'](){var _0x5c89ec=_0x25fdaf,_0x3ee201;this[_0x5c89ec(0x4ff)]=setTimeout(()=>{var _0xc58ec5=_0x5c89ec;this[_0xc58ec5(0x4ff)]=null,this['_collaborationUIEventService'][_0xc58ec5(0x297)]({'id':Z['SUBMIT_CHANGESET_TIMEOUT']});},(_0x3ee201=this[_0x5c89ec(0x2f0)][_0x5c89ec(0x507)](ke))!=null?_0x3ee201:St);}[_0x25fdaf(0x34d)](){var _0x10c2fe=_0x25fdaf;this[_0x10c2fe(0x4ff)]&&(clearTimeout(this[_0x10c2fe(0x4ff)]),this[_0x10c2fe(0x4ff)]=null);}[_0x25fdaf(0x46d)](_0x5ef589){var _0x3279c9=_0x25fdaf;if(!this[_0x3279c9(0x362)])return;const {data:_0x6f67c1}=_0x5ef589,{unitID:_0x170ac4,changeset:_0x2bc96a}=_0x6f67c1,{mutations:_0x4e0237,type:_0x49914b}=_0x2bc96a;this[_0x3279c9(0x45a)]={'unitId':_0x170ac4,'type':_0x49914b,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x4e0237)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x1bf876=_0x25fdaf;if(this['_shouldReportTelemetry']){if(!this[_0x1bf876(0x45a)]){this[_0x1bf876(0x207)]['error'](_0x1bf876(0x396),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x1bf876(0x45a)][_0x1bf876(0x3a8)]=performance['now'](),this[_0x1bf876(0x45a)][_0x1bf876(0x518)]=this[_0x1bf876(0x45a)][_0x1bf876(0x3a8)]-this['_telemetryInfo'][_0x1bf876(0x3b6)],this[_0x1bf876(0x31c)][_0x1bf876(0x2ae)](Xt,this[_0x1bf876(0x45a)]),this['_telemetryInfo']=null;}}[_0x25fdaf(0x22f)](){var _0x51c8ac=_0x25fdaf;this[_0x51c8ac(0x45a)]=null;}},exports[_0x25fdaf(0x1ee)]=ni([se(0x2,a[_0x25fdaf(0x248)]),se(0x3,a[_0x25fdaf(0x2e1)]),se(0x4,a[_0x25fdaf(0x3a5)](a['LocaleService'])),se(0x5,a[_0x25fdaf(0x3a5)](exports[_0x25fdaf(0x303)])),se(0x6,a[_0x25fdaf(0x3a5)]($e)),se(0x7,a[_0x25fdaf(0x3a5)](ee)),se(0x8,a['Optional'](Pt['ITelemetryService']))],exports['CollaborationSession']);var ri=Object[_0x25fdaf(0x4ca)],si=(_0x229340,_0x36c1af,_0x1b0734,_0x146d15)=>{var _0x2caf12=_0x25fdaf;for(var _0x55f5e3=_0x146d15>0x1?void 0x0:_0x146d15?ri(_0x36c1af,_0x1b0734):_0x36c1af,_0x59a61a=_0x229340[_0x2caf12(0x27c)]-0x1,_0x1fce35;_0x59a61a>=0x0;_0x59a61a--)(_0x1fce35=_0x229340[_0x59a61a])&&(_0x55f5e3=_0x1fce35(_0x55f5e3)||_0x55f5e3);return _0x55f5e3;},he=(_0x56c089,_0x479cdb)=>(_0x578fb7,_0x37b47c)=>_0x479cdb(_0x578fb7,_0x37b47c,_0x56c089);exports[_0x25fdaf(0x440)]=class extends a['Disposable']{constructor(_0x48016d,_0xb91571,_0x4109bd,_0x43550d,_0x641fcf,_0x97d079){var _0xfb4aac=_0x25fdaf;super(),A(this,_0xfb4aac(0x3b4),new $[(_0xfb4aac(0x3cf))](void 0x0)),A(this,_0xfb4aac(0x417),this[_0xfb4aac(0x3b4)][_0xfb4aac(0x266)]()),A(this,_0xfb4aac(0x4a3),null),A(this,_0xfb4aac(0x350),new Map()),A(this,_0xfb4aac(0x50c),new $[(_0xfb4aac(0x3cf))](re[_0xfb4aac(0x49c)])),A(this,_0xfb4aac(0x32e),this[_0xfb4aac(0x50c)][_0xfb4aac(0x266)]()),A(this,'_socketReady',!0x1),A(this,_0xfb4aac(0x1b0)),A(this,_0xfb4aac(0x44f),0x0),A(this,_0xfb4aac(0x1c1)),A(this,_0xfb4aac(0x3c3)),(this[_0xfb4aac(0x307)]=_0x48016d,this['_logService']=_0xb91571,this['_configService']=_0x4109bd,this['_socketService']=_0x43550d,this['_collaborationUIEventService']=_0x641fcf,this['_networkConditionService']=_0x97d079,this[_0xfb4aac(0x1d4)]());}get[_0x25fdaf(0x42e)](){var _0x87a461=_0x25fdaf;return this[_0x87a461(0x3b4)][_0x87a461(0x381)]();}[_0x25fdaf(0x1d4)](){var _0x5b0858=_0x25fdaf;this['_networkConditionService']&&this[_0x5b0858(0x49f)](this[_0x5b0858(0x324)][_0x5b0858(0x3ca)][_0x5b0858(0x4dd)](_0x4e934c=>{var _0x163659=_0x5b0858;_0x4e934c&&!this['_socket']&&this[_0x163659(0x2b8)](),_0x4e934c||this[_0x163659(0x309)]();}));}['dispose'](){var _0x13976d=_0x25fdaf;super[_0x13976d(0x465)](),this[_0x13976d(0x270)](),this[_0x13976d(0x220)](),this[_0x13976d(0x1cb)](),this[_0x13976d(0x350)][_0x13976d(0x265)](_0x12b942=>_0x12b942[_0x13976d(0x465)]()),this['_sessions'][_0x13976d(0x3e9)](),this['_status$']['complete']();}async[_0x25fdaf(0x341)](_0x1cb1eb){var _0x32b4f5=_0x25fdaf;if(this[_0x32b4f5(0x350)][_0x32b4f5(0x3bc)](_0x1cb1eb))return this[_0x32b4f5(0x350)][_0x32b4f5(0x4bb)](_0x1cb1eb);this[_0x32b4f5(0x4da)]();const _0x4ef715=this[_0x32b4f5(0x307)][_0x32b4f5(0x277)](exports[_0x32b4f5(0x1ee)],_0x1cb1eb,this[_0x32b4f5(0x3b4)][_0x32b4f5(0x266)]());return this['_sessions'][_0x32b4f5(0x397)](_0x1cb1eb,_0x4ef715),_0x4ef715;}[_0x25fdaf(0x1ec)](_0x2b958a){var _0x58cfcf=_0x25fdaf,_0x1f66a3;const _0x4fa1f7=this[_0x58cfcf(0x350)][_0x58cfcf(0x4bb)](_0x2b958a);_0x4fa1f7&&(this[_0x58cfcf(0x350)][_0x58cfcf(0x257)](_0x2b958a),_0x4fa1f7[_0x58cfcf(0x405)]()),this[_0x58cfcf(0x350)][_0x58cfcf(0x25e)]||(_0x1f66a3=this['_socket'])==null||_0x1f66a3[_0x58cfcf(0x405)]();}[_0x25fdaf(0x2b8)](){var _0x4bf55a=_0x25fdaf;this[_0x4bf55a(0x44f)]=0x0,this[_0x4bf55a(0x270)](),this['_tryReconnect']();}[_0x25fdaf(0x270)](){var _0x13893a=_0x25fdaf;this[_0x13893a(0x1b0)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x13893a(0x1b0)]=null);}async[_0x25fdaf(0x459)](){var _0x360356=_0x25fdaf,_0x49f2f6,_0x191517;const _0x34502e=this['_configService'][_0x360356(0x507)](ut),_0x4a35fb=this[_0x360356(0x2f0)][_0x360356(0x507)](K),_0x2f6f82=(_0x191517=(_0x49f2f6=_0x4a35fb==null?void 0x0:_0x4a35fb[_0x360356(0x27a)])!=null?_0x49f2f6:_0x34502e)!=null?_0x191517:dt,_0x1c51d0=await this[_0x360356(0x27d)][_0x360356(0x2e2)](_0x2f6f82);return this[_0x360356(0x4a3)]=_0x1c51d0,_0x1c51d0;}async[_0x25fdaf(0x4da)](){var _0x1fefb6=_0x25fdaf,_0x42b6fc,_0x565596;try{const _0x5afe53=(_0x565596=(_0x42b6fc=this[_0x1fefb6(0x42e)])!=null?_0x42b6fc:this[_0x1fefb6(0x4a3)])!=null?_0x565596:await this[_0x1fefb6(0x459)]();if(_0x5afe53){const _0x55e78c=_0x5afe53['send'];_0x5afe53[_0x1fefb6(0x3ec)]=_0x56c9d2=>(this[_0x1fefb6(0x3f7)](),_0x55e78c['apply'](_0x5afe53,[_0x56c9d2])),_0x5afe53[_0x1fefb6(0x4e2)][_0x1fefb6(0x4dd)](_0x533ee0=>this['_onMessage'](_0x5afe53,_0x533ee0)),_0x5afe53[_0x1fefb6(0x43e)][_0x1fefb6(0x310)](V[_0x1fefb6(0x34e)](0x1))['subscribe'](_0x1276c0=>this[_0x1fefb6(0x207)][_0x1fefb6(0x2d3)](_0x1fefb6(0x423),_0x1276c0)),_0x5afe53[_0x1fefb6(0x1fd)][_0x1fefb6(0x310)](V['take'](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x5afe53);}),_0x5afe53['close$']['pipe'](V[_0x1fefb6(0x34e)](0x1))[_0x1fefb6(0x4dd)](_0x1242bc=>{var _0x1af9cd=_0x1fefb6;this[_0x1af9cd(0x207)][_0x1af9cd(0x338)](_0x1af9cd(0x232),'socket\x20close',_0x1242bc),this['_onConnectionFailed']();});}}catch(_0xb37708){this[_0x1fefb6(0x207)]['error'](_0xb37708),this['_onConnectionFailed']();}}[_0x25fdaf(0x28a)](_0x3b3607){var _0x574255=_0x25fdaf;this[_0x574255(0x207)][_0x574255(0x338)]('[CollaborationSessionService]','socket\x20open.'),_0x3b3607[_0x574255(0x3ec)]({'cmd':W[_0x574255(0x332)]}),this['_rescheduleHeartbeat']();}['_onOffline'](){var _0x3e674c=_0x25fdaf;this[_0x3e674c(0x420)]=!0x1,this[_0x3e674c(0x4a3)]=null,this[_0x3e674c(0x50c)][_0x3e674c(0x44d)](re[_0x3e674c(0x1e8)]),this[_0x3e674c(0x3b4)][_0x3e674c(0x44d)](null),this[_0x3e674c(0x220)](),this['_clearHeartbeatTimer']();}[_0x25fdaf(0x4c4)](){var _0x515220=_0x25fdaf,_0x439779;this[_0x515220(0x309)](),this[_0x515220(0x44f)]<((_0x439779=this[_0x515220(0x2f0)][_0x515220(0x507)](ft))!=null?_0x439779:jt)?(this[_0x515220(0x33a)][_0x515220(0x297)]({'id':Z[_0x515220(0x278)]}),this[_0x515220(0x2ab)]()):this['_collaborationUIEventService'][_0x515220(0x297)]({'id':Z['SOCKET_FAILED']});}['_tryReconnect'](){var _0x5269e4=_0x25fdaf,_0x526b96;const _0x1cc257=this['_retryCount'],_0x4dbba1=this[_0x5269e4(0x2f0)][_0x5269e4(0x507)](K),_0xc325b3=_0x1cc257===0x0?0x0:((_0x526b96=_0x4dbba1==null?void 0x0:_0x4dbba1[_0x5269e4(0x1f8)])!=null?_0x526b96:$t)*0x2**_0x1cc257;this['_retryConnectingTimer']=setTimeout(()=>{var _0x2736fa=_0x5269e4;clearTimeout(this[_0x2736fa(0x1b0)]),this['_retryConnectingTimer']=null,this[_0x2736fa(0x4da)]();},_0xc325b3),this[_0x5269e4(0x44f)]+=0x1;}[_0x25fdaf(0x2da)](_0x29a40a,_0x4003ca){var _0x1fb84e=_0x25fdaf;const {cmd:_0x32d7fc}=_0x4003ca;_0x32d7fc===W['HELLO']&&!this[_0x1fb84e(0x420)]&&(_0x29a40a[_0x1fb84e(0x33e)]=_0x4003ca[_0x1fb84e(0x1c9)][_0x1fb84e(0x33e)],this['_socket$'][_0x1fb84e(0x44d)](_0x29a40a),this[_0x1fb84e(0x50c)][_0x1fb84e(0x44d)](re[_0x1fb84e(0x323)]),this[_0x1fb84e(0x420)]=!0x0,this[_0x1fb84e(0x4a3)]=null),_0x32d7fc===W[_0x1fb84e(0x489)]&&this['_clearTimeoutTimer'](),this[_0x1fb84e(0x3f7)]();}[_0x25fdaf(0x3f7)](){var _0x139d4d=_0x25fdaf,_0x50a777;this['_clearHeartbeatTimer'](),this[_0x139d4d(0x1c1)]=setTimeout(()=>this[_0x139d4d(0x1d8)](),(_0x50a777=this[_0x139d4d(0x2f0)]['getConfig'](vt))!=null?_0x50a777:Ht);}[_0x25fdaf(0x1d8)](){this['_socket']['send']({'cmd':W['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x25fdaf(0x504)](){var _0x68b052=_0x25fdaf,_0xe7030a;this[_0x68b052(0x3c3)]=setTimeout(()=>this[_0x68b052(0x4c4)](),(_0xe7030a=this['_configService']['getConfig'](ke))!=null?_0xe7030a:St);}[_0x25fdaf(0x1cb)](){var _0x9560f8=_0x25fdaf;this[_0x9560f8(0x1c1)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x25fdaf(0x220)](){this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}},exports[_0x25fdaf(0x440)]=si([he(0x0,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x481)])),he(0x1,a['ILogService']),he(0x2,a[_0x25fdaf(0x2e1)]),he(0x3,He),he(0x4,a[_0x25fdaf(0x3a5)](ee)),he(0x5,a['Optional'](mt))],exports[_0x25fdaf(0x440)]);const q=a['createIdentifier']('collaboration-client.local-cache-service');function oi(_0x2bc45c){return'unit-cache-'+_0x2bc45c;}var ai=Object['getOwnPropertyDescriptor'],ci=(_0x439b1b,_0x5753ff,_0x2fc912,_0x356baf)=>{var _0x3caf80=_0x25fdaf;for(var _0x9184ef=_0x356baf>0x1?void 0x0:_0x356baf?ai(_0x5753ff,_0x2fc912):_0x5753ff,_0xf87481=_0x439b1b[_0x3caf80(0x27c)]-0x1,_0x48ec3d;_0xf87481>=0x0;_0xf87481--)(_0x48ec3d=_0x439b1b[_0xf87481])&&(_0x9184ef=_0x48ec3d(_0x9184ef)||_0x9184ef);return _0x9184ef;},De=(_0x207865,_0x132dba)=>(_0x461b35,_0x536d38)=>_0x132dba(_0x461b35,_0x536d38,_0x207865);function hi(_0x2596fc){var _0x4700b0=_0x25fdaf;const {unitID:_0x3de9d7,mutations:_0x53d78}=_0x2596fc;return{'unitId':_0x3de9d7,'subUnitId':_0x53d78[0x0][_0x4700b0(0x38e)][_0x4700b0(0x4fc)]};}exports[_0x25fdaf(0x3fc)]=class{constructor(_0x4bc5da,_0x573879,_0x577faf){var _0x379a02=_0x25fdaf;this[_0x379a02(0x307)]=_0x4bc5da,this[_0x379a02(0x4cd)]=_0x573879,this[_0x379a02(0x1b6)]=_0x577faf;}['transformSelections'](_0x556600){var _0x3e3dbb=_0x25fdaf,_0x5a14ba,_0x242571,_0xecda70,_0x41ff71;const _0x212f68=this[_0x3e3dbb(0x307)]['get'](X[_0x3e3dbb(0x306)]),{unitId:_0x228111,subUnitId:_0xaea3d0}=hi(_0x556600),_0x36705a=_0x212f68==null?void 0x0:_0x212f68[_0x3e3dbb(0x444)](_0x228111)[_0x3e3dbb(0x435)](),_0x52116d=(_0x242571=(_0x5a14ba=this['_instanceService'][_0x3e3dbb(0x2c4)](_0x228111))==null?void 0x0:_0x5a14ba['getActiveSheet']())==null?void 0x0:_0x242571[_0x3e3dbb(0x44a)]();if(_0x36705a[_0x3e3dbb(0x27c)]===0x0||!_0x228111||!_0xaea3d0)return;const _0x36d127=[{'id':X[_0x3e3dbb(0x413)]['id'],'params':{'unitId':_0x228111,'subUnitId':_0x52116d,'selections':a[_0x3e3dbb(0x500)][_0x3e3dbb(0x256)](_0x36705a)}}],_0x292123=this[_0x3e3dbb(0x4cd)][_0x3e3dbb(0x2eb)](_0x556600,_0x36d127);if(!I[_0x3e3dbb(0x339)](_0x292123))throw _0x292123['error'];const _0x52752e=(_0x41ff71=(_0xecda70=_0x292123[_0x3e3dbb(0x470)][0x0])==null?void 0x0:_0xecda70[_0x3e3dbb(0x38e)])==null?void 0x0:_0x41ff71[_0x3e3dbb(0x252)];if(Array[_0x3e3dbb(0x3d0)](_0x52752e)&&_0x52752e[_0x3e3dbb(0x27c)]){if(_0x52752e['length']===_0x36d127[0x0]['params']['selections'][_0x3e3dbb(0x27c)]&&_0x52752e[_0x3e3dbb(0x37e)]((_0x45934a,_0x561ab2)=>a[_0x3e3dbb(0x222)][_0x3e3dbb(0x4e6)](_0x45934a['range'],_0x36d127[0x0][_0x3e3dbb(0x38e)][_0x3e3dbb(0x252)][_0x561ab2]['range'])))return;this[_0x3e3dbb(0x307)][_0x3e3dbb(0x4bb)](a[_0x3e3dbb(0x464)])['executeCommand'](X[_0x3e3dbb(0x413)]['id'],{'unitId':_0x228111,'subUnitId':_0x52116d,'selections':_0x52752e});}}},exports[_0x25fdaf(0x3fc)]=ci([De(0x0,a['Inject'](a[_0x25fdaf(0x481)])),De(0x1,I[_0x25fdaf(0x4f2)]),De(0x2,a[_0x25fdaf(0x379)])],exports[_0x25fdaf(0x3fc)]);const de=a['createIdentifier']('univer-pro.collaboration-client.single-active-unit-service');function _0x305e(_0x57c372,_0x41beb6){var _0x169196=_0x1691();return _0x305e=function(_0x305e25,_0x470f18){_0x305e25=_0x305e25-0x1b0;var _0x5ec1d1=_0x169196[_0x305e25];return _0x5ec1d1;},_0x305e(_0x57c372,_0x41beb6);}var je=(_0x267717=>(_0x267717[_0x267717[_0x25fdaf(0x3b8)]=0x0]=_0x25fdaf(0x3b8),_0x267717[_0x267717[_0x25fdaf(0x3f3)]=0x1]=_0x25fdaf(0x3f3),_0x267717))(je||{});const _i=new Set([X[_0x25fdaf(0x233)]['id']]);function Ke(_0x365c8a,_0x3a4414,_0x17b67c,_0x1e6663,_0x5fe07d){var _0xa48ff9=_0x25fdaf,_0x44df0d,_0x2b39d3,_0x2764f5,_0x14989d;const _0x470f26=[];for(const _0x5e9592 of _0x365c8a)if(_i[_0xa48ff9(0x3bc)](_0x5e9592['id'])){if(_0x470f26[_0xa48ff9(0x27c)]>0x0)break;_0x470f26[_0xa48ff9(0x46e)](_0x5e9592);break;}else _0x470f26['push'](_0x5e9592);const _0x3fcb9b=(_0x2b39d3=(_0x44df0d=_0x5fe07d[_0xa48ff9(0x475)]())==null?void 0x0:_0x44df0d['userID'])!=null?_0x2b39d3:_0xa48ff9(0x3d5),_0x29dc94=(_0x14989d=(_0x2764f5=_0x5fe07d['getCurrentUser']())==null?void 0x0:_0x2764f5['memberID'])!=null?_0x14989d:_0xa48ff9(0x3d5);return{'changeset':{'unitID':_0x3a4414,'type':I[_0xa48ff9(0x287)](_0x17b67c[_0xa48ff9(0x427)](_0x3a4414)),'baseRev':_0x1e6663['getCurrentRevOfUnit'](_0x3a4414),'revision':0x0,'userID':_0x3fcb9b,'memberID':_0x29dc94,'mutations':_0x470f26},'pendingMutations':_0x365c8a[_0xa48ff9(0x23b)](_0x470f26[_0xa48ff9(0x27c)])};}function li(_0xb90474,_0xc0a92a,_0x3e1cf6,_0x120771,_0x12f8b6){var _0x2dd534=_0x25fdaf,_0x33b79e,_0x4933a3,_0x432f84,_0x4eb4b2;const _0x5af939=[_0xb90474[_0x2dd534(0x374)]((_0x4619ff,_0x23a5f7)=>{var _0x239646=_0x2dd534,_0x322c05;const {id:_0x18dc0f}=_0x4619ff,{id:_0x2e0fdf,type:_0x22e866}=_0x23a5f7,_0x1ac981=(_0x322c05=_0x4619ff[_0x239646(0x38e)])!=null?_0x322c05:{'actions':null},_0x3b13bf=_0x23a5f7[_0x239646(0x38e)];if(_0x18dc0f&&_0x18dc0f!==_0x2e0fdf)throw new Error(_0x239646(0x3be)+_0x18dc0f+_0x239646(0x348)+_0x2e0fdf+'.');return{..._0x4619ff,'id':_0x2e0fdf,'type':_0x22e866,'params':{'unitId':_0x3b13bf[_0x239646(0x468)],'textRanges':_0x3b13bf['textRanges'],'actions':a[_0x239646(0x490)]['compose'](_0x1ac981[_0x239646(0x312)],_0x3b13bf[_0x239646(0x312)])}};},{})],_0x1eb13e=(_0x4933a3=(_0x33b79e=_0x12f8b6[_0x2dd534(0x475)]())==null?void 0x0:_0x33b79e['userID'])!=null?_0x4933a3:_0x2dd534(0x3d5),_0x42efcb=(_0x4eb4b2=(_0x432f84=_0x12f8b6[_0x2dd534(0x475)]())==null?void 0x0:_0x432f84[_0x2dd534(0x33e)])!=null?_0x4eb4b2:'unknown';return{'changeset':{'unitID':_0xc0a92a,'type':I['mapDocumentTypeToUniverType'](_0x3e1cf6[_0x2dd534(0x427)](_0xc0a92a)),'baseRev':_0x120771[_0x2dd534(0x3f0)](_0xc0a92a),'revision':0x0,'userID':_0x1eb13e,'memberID':_0x42efcb,'mutations':_0x5af939},'pendingMutations':[]};}function bt(_0x43da89,_0x11a43d){var _0x39f431=_0x25fdaf;const _0xdd99ab=new $['ReplaySubject'](0x1);return setTimeout(()=>_0xdd99ab[_0x39f431(0x44d)](_0x11a43d),_0x43da89),_0xdd99ab[_0x39f431(0x266)]()[_0x39f431(0x310)]($['take'](0x1));}const ui={'id':X['EmptyMutation']['id'],'type':a[_0x25fdaf(0x299)][_0x25fdaf(0x47b)],'params':{}};var di=Object[_0x25fdaf(0x4ca)],ae=(_0x5d10ec,_0x19b3b9,_0x2fce6d,_0x28dd80)=>{for(var _0x463b4c=_0x28dd80>0x1?void 0x0:_0x28dd80?di(_0x19b3b9,_0x2fce6d):_0x19b3b9,_0x33eb33=_0x5d10ec['length']-0x1,_0xf16cfc;_0x33eb33>=0x0;_0x33eb33--)(_0xf16cfc=_0x5d10ec[_0x33eb33])&&(_0x463b4c=_0xf16cfc(_0x463b4c)||_0x463b4c);return _0x463b4c;},w=(_0x478878,_0x369f0c)=>(_0x5c78ce,_0x227ea1)=>_0x369f0c(_0x5c78ce,_0x227ea1,_0x478878),Be=(_0x98ac82=>(_0x98ac82['NOT_COLLAB']=_0x25fdaf(0x27e),_0x98ac82[_0x25fdaf(0x36a)]=_0x25fdaf(0x4d8),_0x98ac82[_0x25fdaf(0x1df)]=_0x25fdaf(0x245),_0x98ac82['AWAITING']=_0x25fdaf(0x31f),_0x98ac82[_0x25fdaf(0x3c9)]=_0x25fdaf(0x2c0),_0x98ac82[_0x25fdaf(0x4e0)]=_0x25fdaf(0x1bc),_0x98ac82[_0x25fdaf(0x375)]=_0x25fdaf(0x3ce),_0x98ac82[_0x25fdaf(0x1e8)]=_0x25fdaf(0x45e),_0x98ac82))(Be||{});const Rt=0xea60;class ce{constructor(_0x4bb68d,_0x37a660,_0x2a225d,_0x13d6dc,_0x596427,_0x5f5aba,_0xc9acb7,_0x5e573b,_0x44501e){var _0x305d59=_0x25fdaf;A(this,_0x305d59(0x231),null),A(this,_0x305d59(0x48e),[]),(this['unitID']=_0x4bb68d,this['type']=_0x37a660,this[_0x305d59(0x264)]=_0x596427,this[_0x305d59(0x437)]=_0x5f5aba,this[_0x305d59(0x480)]=_0xc9acb7,this[_0x305d59(0x365)]=_0x5e573b,this['_localCacheService']=_0x44501e,this[_0x305d59(0x231)]=_0x2a225d,this[_0x305d59(0x48e)]=_0x13d6dc);}[_0x25fdaf(0x466)](_0x2c7f58){var _0x12f618=_0x25fdaf;const _0x41d4cb=this[_0x12f618(0x365)][_0x12f618(0x3f0)](this[_0x12f618(0x2fd)]);return _0x2c7f58['revision']>_0x41d4cb+0x1?(this[_0x12f618(0x264)][_0x12f618(0x456)]({'from':_0x41d4cb,'to':_0x2c7f58['revision']-0x1}),!0x0):!0x1;}[_0x25fdaf(0x301)](_0x5114a7){var _0x4382c7=_0x25fdaf;this[_0x4382c7(0x480)]['transformUndoRedo'](this[_0x4382c7(0x2fd)],_0x5114a7);}[_0x25fdaf(0x244)](_0x3b4e84){var _0x472c04=_0x25fdaf,_0x5d1fdd,_0x1079e5;(_0x1079e5=(_0x5d1fdd=this[_0x472c04(0x264)])[_0x472c04(0x39f)])==null||_0x1079e5[_0x472c04(0x1d5)](_0x5d1fdd,_0x3b4e84);}[_0x25fdaf(0x1dc)](_0x5cd4c7){var _0x4d9e9b=_0x25fdaf,_0x437f89,_0x3d6f08;return(_0x3d6f08=(_0x437f89=this[_0x4d9e9b(0x264)])['onTransformIME'])==null?void 0x0:_0x3d6f08[_0x4d9e9b(0x1d5)](_0x437f89,_0x5cd4c7);}[_0x25fdaf(0x26c)](_0x4b9cfe){var _0x59c552=_0x25fdaf,_0x141367,_0x420ec6;return(_0x420ec6=(_0x141367=this[_0x59c552(0x264)])['onTransformState'])==null?void 0x0:_0x420ec6[_0x59c552(0x1d5)](_0x141367,_0x4b9cfe);}['_transformRemoteChangesetByIMECache'](_0x1dd1e5){var _0x46b915=_0x25fdaf,_0x1b1a8c,_0x5e54a9,_0x4fc6fb;return(_0x4fc6fb=(_0x5e54a9=(_0x1b1a8c=this[_0x46b915(0x264)])[_0x46b915(0x214)])==null?void 0x0:_0x5e54a9[_0x46b915(0x1d5)](_0x1b1a8c,_0x1dd1e5))!=null?_0x4fc6fb:_0x1dd1e5;}[_0x25fdaf(0x4d3)](_0x12f44b){var _0x3216f7=_0x25fdaf,_0x4a68a4,_0x5939ba,_0x42a05c;return(_0x42a05c=(_0x5939ba=(_0x4a68a4=this[_0x3216f7(0x264)])[_0x3216f7(0x22a)])==null?void 0x0:_0x5939ba[_0x3216f7(0x1d5)](_0x4a68a4,_0x12f44b))!=null?_0x42a05c:_0x12f44b;}[_0x25fdaf(0x356)](_0x1a07f4){var _0x202bdc=_0x25fdaf,_0x37b1ea,_0x273d19;if(this[_0x202bdc(0x2fa)]===J[_0x202bdc(0x1e0)]){const {unitID:_0x5f1990,mutations:_0x339050,memberID:_0x21ed38}=_0x1a07f4,_0x245bf4=_0x339050[0x0]['params'][_0x202bdc(0x2d1)];Array['isArray'](_0x245bf4)&&_0x245bf4[_0x202bdc(0x27c)]>0x0&&((_0x273d19=(_0x37b1ea=this['_handler'])[_0x202bdc(0x343)])==null||_0x273d19[_0x202bdc(0x1d5)](_0x37b1ea,{'unitID':_0x5f1990,'memberID':_0x21ed38,'textRanges':_0x245bf4}));}}[_0x25fdaf(0x49d)](){var _0x2f6f2f=_0x25fdaf,_0xcb05b9;(_0xcb05b9=this[_0x2f6f2f(0x4db)])==null||_0xcb05b9[_0x2f6f2f(0x3f6)](this['unitID'],this[_0x2f6f2f(0x2fa)],this['_awaitingChangeset'],this['_pendingMutations']);}[_0x25fdaf(0x2b9)](){var _0x2d7709=_0x25fdaf;return this[_0x2d7709(0x365)][_0x2d7709(0x3f0)](this[_0x2d7709(0x2fd)]);}[_0x25fdaf(0x46a)](){var _0x1c5108=_0x25fdaf;this[_0x1c5108(0x365)]['incrementRevOfUnit'](this[_0x1c5108(0x2fd)]);}[_0x25fdaf(0x1e1)](_0x822262){var _0x11c923=_0x25fdaf,_0x46a5e6;let _0x45c1e4=this[_0x11c923(0x4c0)](_0x822262);_0x45c1e4=this[_0x11c923(0x4d3)](_0x45c1e4);const _0x562917=a['sequenceExecute'](_0x45c1e4[_0x11c923(0x240)],this[_0x11c923(0x437)],{'fromCollab':!0x0});if(!_0x562917[_0x11c923(0x392)])throw _0x562917[_0x11c923(0x2d3)]instanceof Error?_0x562917[_0x11c923(0x2d3)]:new Error((_0x46a5e6=_0x562917[_0x11c923(0x2d3)])!=null?_0x46a5e6:'[CollaborationState]:\x20apply\x20error!');this[_0x11c923(0x1dc)](_0x45c1e4),this[_0x11c923(0x26c)](_0x45c1e4),this[_0x11c923(0x301)](_0x822262),this[_0x11c923(0x244)](_0x45c1e4),this[_0x11c923(0x356)](_0x45c1e4),this['_incrementRevisionNumber']();}}exports[_0x25fdaf(0x21d)]=class extends ce{constructor(_0x36358b,_0x21d5d5,_0x36438e,_0x32febd,_0x542679,_0xa2aa18,_0x5d1283,_0x1bd898,_0x235847,_0x58aff3){var _0x48210c=_0x25fdaf;super(_0x36358b,_0x21d5d5,null,[],_0x36438e,_0x5d1283,_0xa2aa18,_0x32febd,_0x58aff3),A(this,_0x48210c(0x403),_0x48210c(0x4d8)),(this[_0x48210c(0x307)]=_0x542679,this['_logService']=_0x1bd898,this[_0x48210c(0x4cd)]=_0x235847,this[_0x48210c(0x279)]=_0x58aff3);}[_0x25fdaf(0x484)](_0x247b25){var _0x31026a=_0x25fdaf;const _0x3cb504=this[_0x31026a(0x307)][_0x31026a(0x277)](exports['PendingState'],this[_0x31026a(0x2fd)],this[_0x31026a(0x2fa)],[_0x247b25],this[_0x31026a(0x264)]);return _0x3cb504[_0x31026a(0x4a1)](),_0x3cb504['_updateLocalCache'](),_0x3cb504;}[_0x25fdaf(0x33d)](_0x2b0ef2){var _0xc593c7=_0x25fdaf;if(this[_0xc593c7(0x466)](_0x2b0ef2))return this[_0xc593c7(0x307)][_0xc593c7(0x277)](exports[_0xc593c7(0x2ad)],this[_0xc593c7(0x2fd)],this['type'],null,[],null,[_0x2b0ef2],this['_handler']);try{const _0x5b028a=this[_0xc593c7(0x4cd)]['transformMutationsWithChangeset'](_0x2b0ef2,[ui]);if(I[_0xc593c7(0x339)](_0x5b028a)){const {c1Prime:_0x2058c4}=_0x5b028a;return this['_executeRemoteChangeset'](_0x2058c4),this;}throw _0x5b028a[_0xc593c7(0x2d3)];}catch(_0xbcfdc8){return this[_0xc593c7(0x207)][_0xc593c7(0x2d3)](_0xbcfdc8),this[_0xc593c7(0x43f)](!0x1);}}[_0x25fdaf(0x43f)](_0x1c464d){var _0x36017=_0x25fdaf;return this['_injector'][_0x36017(0x277)](exports['ConflictState'],this['unitID'],this[_0x36017(0x2fa)],null,[],this[_0x36017(0x264)],_0x1c464d);}[_0x25fdaf(0x38c)](){var _0x23871f=_0x25fdaf;throw new Error(_0x23871f(0x2c9));}[_0x25fdaf(0x289)](){var _0x215bc9=_0x25fdaf;throw new Error(_0x215bc9(0x282));}[_0x25fdaf(0x4a0)](){return this;}['toggleOffline'](){var _0x2bd41a=_0x25fdaf;return this[_0x2bd41a(0x307)][_0x2bd41a(0x277)](exports[_0x2bd41a(0x2b4)],this[_0x2bd41a(0x2fd)],this['type'],null,[],this[_0x2bd41a(0x264)]);}[_0x25fdaf(0x452)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x25fdaf(0x482)](){var _0x44e414=_0x25fdaf;const _0x57707b=this[_0x44e414(0x365)]['getCurrentRevOfUnit'](this[_0x44e414(0x2fd)]);return this[_0x44e414(0x264)][_0x44e414(0x456)]({'from':_0x57707b,'to':0x0}),this[_0x44e414(0x307)][_0x44e414(0x277)](exports[_0x44e414(0x2ad)],this[_0x44e414(0x2fd)],this[_0x44e414(0x2fa)],null,[],null,[],this[_0x44e414(0x264)]);}},exports[_0x25fdaf(0x21d)]=ae([w(0x3,a['Inject'](I[_0x25fdaf(0x2fe)])),w(0x4,a['Inject'](a[_0x25fdaf(0x481)])),w(0x5,a[_0x25fdaf(0x524)]),w(0x6,a['ICommandService']),w(0x7,a[_0x25fdaf(0x248)]),w(0x8,I['ITransformService']),w(0x9,a[_0x25fdaf(0x44b)](q))],exports[_0x25fdaf(0x21d)]),exports['PendingState']=class extends ce{constructor(_0x31eeb9,_0x6958c7,_0x1dcd13,_0x53a854,_0x3f4aff,_0x554f5,_0x2a7946,_0x4abaaa,_0x4e3f64,_0x2ba1be,_0x59950f,_0x232a13,_0x3e400d,_0x4c275f){var _0x1c2842=_0x25fdaf;super(_0x31eeb9,_0x6958c7,null,_0x1dcd13,_0x53a854,_0x4e3f64,_0x3e400d,_0x554f5,_0x4c275f),A(this,_0x1c2842(0x403),_0x1c2842(0x245)),A(this,_0x1c2842(0x236),null),A(this,'_sendingTimer',null),(this['_injector']=_0x3f4aff,this[_0x1c2842(0x1f0)]=_0x2a7946,this['_logService']=_0x4abaaa,this['_configService']=_0x2ba1be,this[_0x1c2842(0x4cd)]=_0x59950f,this[_0x1c2842(0x43b)]=_0x232a13);}[_0x25fdaf(0x484)](_0x3c7fdd){var _0x2d8dad=_0x25fdaf;return this[_0x2d8dad(0x48e)][_0x2d8dad(0x46e)](_0x3c7fdd),this['_updateLocalCache'](),this;}[_0x25fdaf(0x33d)](_0x498a2b){var _0x37381c=_0x25fdaf;if(this[_0x37381c(0x466)](_0x498a2b))return this[_0x37381c(0x508)](),this[_0x37381c(0x307)][_0x37381c(0x277)](exports[_0x37381c(0x2ad)],this[_0x37381c(0x2fd)],this[_0x37381c(0x2fa)],null,this[_0x37381c(0x48e)],null,[_0x498a2b],this[_0x37381c(0x264)]);try{const _0x158cea=this[_0x37381c(0x4cd)][_0x37381c(0x2eb)](_0x498a2b,this[_0x37381c(0x48e)]);if(I['isTransformMutationsWithChangesetSuccess'](_0x158cea)){const {c1Prime:_0x1483da,m2Prime:_0x363b3b}=_0x158cea;this[_0x37381c(0x1e1)](_0x1483da);const _0x4b6681=this['_injector'][_0x37381c(0x277)](exports[_0x37381c(0x525)],this[_0x37381c(0x2fd)],this[_0x37381c(0x2fa)],_0x363b3b,this[_0x37381c(0x264)]);this[_0x37381c(0x508)]();const _0x45a431=new Date()[_0x37381c(0x406)](),_0xdbf122=this[_0x37381c(0x236)]?Math[_0x37381c(0x243)](this[_0x37381c(0x236)]-_0x45a431,0x0):this[_0x37381c(0x4c7)]();return _0x4b6681['_schedule'](_0xdbf122),_0x4b6681;}throw _0x158cea[_0x37381c(0x2d3)];}catch(_0xdad1ad){return this[_0x37381c(0x207)][_0x37381c(0x2d3)](_0xdad1ad),this[_0x37381c(0x43f)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x25fdaf(0x289)](){var _0x2bbf07=_0x25fdaf;throw new Error(_0x2bbf07(0x477));}['onRemoteRetry'](){return this;}[_0x25fdaf(0x1d2)](){var _0x56f7e8=_0x25fdaf;return this[_0x56f7e8(0x508)](),this[_0x56f7e8(0x307)]['createInstance'](exports[_0x56f7e8(0x2b4)],this['unitID'],this[_0x56f7e8(0x2fa)],null,this[_0x56f7e8(0x48e)],this[_0x56f7e8(0x264)]);}[_0x25fdaf(0x452)](){return this;}[_0x25fdaf(0x4a1)](_0x262ced){var _0x1c49ce=_0x25fdaf;const _0x1bf68f=_0x262ced!=null?_0x262ced:this['_getSendChangesetTimeout']();this[_0x1c49ce(0x236)]=new Date()['getTime']()+_0x1bf68f,this[_0x1c49ce(0x4a9)]=setTimeout(()=>{var _0x241181=_0x1c49ce;this[_0x241181(0x508)]();let _0xce0b51=null;switch(this[_0x241181(0x2fa)]){case J['UNIVER_SHEET']:{_0xce0b51=Ke(this['_pendingMutations'],this[_0x241181(0x2fd)],this[_0x241181(0x43b)],this[_0x241181(0x365)],this[_0x241181(0x1f0)]);break;}case J[_0x241181(0x1e0)]:{this['_pendingMutations'][_0x241181(0x37e)](_0x2b69b5=>_0x2b69b5['id']===ht[_0x241181(0x486)]['id'])?_0xce0b51=li(this[_0x241181(0x48e)],this['unitID'],this[_0x241181(0x43b)],this[_0x241181(0x365)],this[_0x241181(0x1f0)]):_0xce0b51=Ke(this[_0x241181(0x48e)],this[_0x241181(0x2fd)],this['_univerInstanceService'],this[_0x241181(0x365)],this[_0x241181(0x1f0)]);break;}default:throw new Error(_0x241181(0x32c)+this[_0x241181(0x2fa)]+'\x20in\x20_schedule.');}const {changeset:_0x246d13,pendingMutations:_0x4b7d23}=_0xce0b51;this['_handler'][_0x241181(0x25d)](_0x246d13);const _0x2c9935=_0x4b7d23['length']?this['_injector'][_0x241181(0x277)](exports[_0x241181(0x4b5)],this[_0x241181(0x2fd)],this['type'],_0x246d13,_0x4b7d23,this['_handler'],void 0x0):this[_0x241181(0x307)][_0x241181(0x277)](exports['AwaitingState'],this[_0x241181(0x2fd)],this[_0x241181(0x2fa)],_0x246d13,this[_0x241181(0x264)]);_0x2c9935['_updateLocalCache'](),this['_handler']['onStateChange'](this,_0x2c9935);},_0x1bf68f);}[_0x25fdaf(0x4c7)](){var _0x13e523=_0x25fdaf,_0x15e42e;const _0x21d976=this[_0x13e523(0x2f0)]['getConfig'](K);return(_0x15e42e=_0x21d976==null?void 0x0:_0x21d976[_0x13e523(0x2df)])!=null?_0x15e42e:xt;}[_0x25fdaf(0x2c8)](){var _0x899701=_0x25fdaf;throw new Error(_0x899701(0x2f6));}[_0x25fdaf(0x508)](){var _0x3c6822=_0x25fdaf;this[_0x3c6822(0x4a9)]!=null&&(clearTimeout(this[_0x3c6822(0x4a9)]),this[_0x3c6822(0x4a9)]=null);}[_0x25fdaf(0x43f)](_0x250321){var _0x1739c7=_0x25fdaf;return this[_0x1739c7(0x508)](),this[_0x1739c7(0x307)][_0x1739c7(0x277)](exports['ConflictState'],this['unitID'],this['type'],null,this[_0x1739c7(0x48e)],this[_0x1739c7(0x264)],_0x250321);}},exports[_0x25fdaf(0x525)]=ae([w(0x4,a['Inject'](a[_0x25fdaf(0x481)])),w(0x5,a[_0x25fdaf(0x3a5)](I['RevisionService'])),w(0x6,a['Inject'](exports[_0x25fdaf(0x303)])),w(0x7,a[_0x25fdaf(0x248)]),w(0x8,a['ICommandService']),w(0x9,a['IConfigService']),w(0xa,I[_0x25fdaf(0x4f2)]),w(0xb,a[_0x25fdaf(0x379)]),w(0xc,a[_0x25fdaf(0x524)]),w(0xd,a[_0x25fdaf(0x44b)](q))],exports['PendingState']),exports[_0x25fdaf(0x308)]=class extends ce{constructor(_0x49ba85,_0x38c235,_0x4389ee,_0x296802,_0x4474ea,_0x25d226,_0x20aa98,_0x43dfef,_0x1485ba,_0x3dcdeb,_0x3f5d80){var _0x4bd5b1=_0x25fdaf;super(_0x49ba85,_0x38c235,_0x4389ee,[],_0x296802,_0x20aa98,_0x3dcdeb,_0x25d226,_0x3f5d80),A(this,_0x4bd5b1(0x403),_0x4bd5b1(0x31f)),A(this,'_resendTimeout',0x0),A(this,_0x4bd5b1(0x23f)),A(this,_0x4bd5b1(0x47d)),(this[_0x4bd5b1(0x307)]=_0x4474ea,this[_0x4bd5b1(0x207)]=_0x43dfef,this['_transformService']=_0x1485ba);}[_0x25fdaf(0x484)](_0xeaa183){var _0x2ee755=_0x25fdaf;this[_0x2ee755(0x508)]();const _0x1331fb=this['_injector'][_0x2ee755(0x277)](exports['AwaitingWithPendingState'],this[_0x2ee755(0x2fd)],this['type'],this[_0x2ee755(0x231)],[_0xeaa183],this[_0x2ee755(0x264)],this[_0x2ee755(0x23f)]);return _0x1331fb['_updateLocalCache'](),_0x1331fb;}[_0x25fdaf(0x33d)](_0x3db4e9){var _0x514b71=_0x25fdaf;if(this[_0x514b71(0x466)](_0x3db4e9))return this[_0x514b71(0x508)](),this[_0x514b71(0x307)][_0x514b71(0x277)](exports['FetchingMissState'],this[_0x514b71(0x2fd)],this[_0x514b71(0x2fa)],this[_0x514b71(0x231)],[],null,[_0x3db4e9],this[_0x514b71(0x264)]);try{const _0x5864bd=this['_transformService'][_0x514b71(0x2a5)]([_0x3db4e9],[this[_0x514b71(0x231)]],!0x1);if(I[_0x514b71(0x414)](_0x5864bd)){const {c1Prime:_0x25bafd,c2Prime:_0x1fe3f8}=_0x5864bd;this[_0x514b71(0x1e1)](_0x25bafd[0x0]),_0x1fe3f8[0x0][_0x514b71(0x1be)]=this[_0x514b71(0x2b9)](),this[_0x514b71(0x508)]();const _0x12a49a=this['_injector'][_0x514b71(0x277)](exports['AwaitingState'],this[_0x514b71(0x2fd)],this['type'],_0x1fe3f8[0x0],this[_0x514b71(0x264)]);return _0x12a49a[_0x514b71(0x49d)](),_0x12a49a;}return this[_0x514b71(0x43f)](!0x1);}catch(_0x3b6be5){return this[_0x514b71(0x207)][_0x514b71(0x2d3)](_0x3b6be5),this[_0x514b71(0x43f)](!0x1);}}[_0x25fdaf(0x38c)](_0xa75d24){var _0x161ee9=_0x25fdaf;this['_clearScheduledTask']();const _0x5174d3=this[_0x161ee9(0x365)][_0x161ee9(0x3f0)](this['unitID']);if(_0xa75d24[_0x161ee9(0x523)]<_0x5174d3-0x1)return this;if(this[_0x161ee9(0x466)](_0xa75d24))return this[_0x161ee9(0x307)][_0x161ee9(0x277)](exports[_0x161ee9(0x2ad)],this[_0x161ee9(0x2fd)],this[_0x161ee9(0x2fa)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x161ee9(0x46a)]();const _0x4b9892=this[_0x161ee9(0x307)][_0x161ee9(0x277)](exports[_0x161ee9(0x21d)],this[_0x161ee9(0x2fd)],this[_0x161ee9(0x2fa)],this['_handler']);return _0x4b9892['_updateLocalCache'](),_0x4b9892;}[_0x25fdaf(0x289)](_0x235cf7){var _0x189a43=_0x25fdaf;return this[_0x189a43(0x43f)](!!(_0x235cf7!=null&&_0x235cf7[_0x189a43(0x340)]));}[_0x25fdaf(0x4a0)](_0x18ab5a){var _0x1d51ba=_0x25fdaf;return this[_0x1d51ba(0x520)]>Rt?this[_0x1d51ba(0x1d2)]():(this[_0x1d51ba(0x23f)]=bt(this[_0x1d51ba(0x520)],{'timeout':this[_0x1d51ba(0x520)],'reqId':_0x18ab5a[_0x1d51ba(0x1ff)]}),this[_0x1d51ba(0x47d)]=this[_0x1d51ba(0x23f)][_0x1d51ba(0x4dd)](({reqId:_0x381b15,timeout:_0x2f5b7a})=>{var _0x459897=_0x1d51ba;this[_0x459897(0x438)](_0x381b15,_0x2f5b7a);}),this);}[_0x25fdaf(0x1d2)](){var _0x2eaecf=_0x25fdaf;return this[_0x2eaecf(0x508)](),this['_injector'][_0x2eaecf(0x277)](exports[_0x2eaecf(0x2b4)],this[_0x2eaecf(0x2fd)],this[_0x2eaecf(0x2fa)],this[_0x2eaecf(0x231)],[],this[_0x2eaecf(0x264)]);}['toggleOnline'](){return this;}[_0x25fdaf(0x2c8)](){var _0x3a612c=_0x25fdaf;this[_0x3a612c(0x264)]['onSendChangeset'](this[_0x3a612c(0x231)]);}[_0x25fdaf(0x43f)](_0x5a57dc){var _0x5bbd23=_0x25fdaf;return this[_0x5bbd23(0x508)](),this['_injector']['createInstance'](exports[_0x5bbd23(0x4c8)],this[_0x5bbd23(0x2fd)],this[_0x5bbd23(0x2fa)],this[_0x5bbd23(0x231)],[],this[_0x5bbd23(0x264)],_0x5a57dc);}[_0x25fdaf(0x438)](_0x5d5bfe,_0x37eccd){var _0x674d02=_0x25fdaf,_0xfdbd6c;_0x5d5bfe===((_0xfdbd6c=this['_awaitingChangeset'])==null?void 0x0:_0xfdbd6c['reqId'])&&(this[_0x674d02(0x2c8)](),this['_resendTimeout']=_0x37eccd===0x0?0x3e8:_0x37eccd*0x2);}[_0x25fdaf(0x508)](){var _0x453887=_0x25fdaf,_0x9d204e;(_0x9d204e=this[_0x453887(0x47d)])==null||_0x9d204e[_0x453887(0x44e)](),this[_0x453887(0x520)]=0x0;}},exports[_0x25fdaf(0x308)]=ae([w(0x4,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x481)])),w(0x5,a[_0x25fdaf(0x3a5)](I[_0x25fdaf(0x2fe)])),w(0x6,a['ICommandService']),w(0x7,a[_0x25fdaf(0x248)]),w(0x8,I['ITransformService']),w(0x9,a[_0x25fdaf(0x524)]),w(0xa,a[_0x25fdaf(0x44b)](q))],exports[_0x25fdaf(0x308)]),exports[_0x25fdaf(0x4b5)]=class extends ce{constructor(_0x24b38b,_0x25e0e7,_0x52f601,_0x6e6f16,_0x3bb000,_0xe24971,_0x19704d,_0x18371e,_0x1d2520,_0x6855ea,_0x1bb675,_0x330bb7,_0x4b98cc){var _0x13ee25=_0x25fdaf;super(_0x24b38b,_0x25e0e7,_0x52f601,_0x6e6f16,_0x3bb000,_0x1d2520,_0x330bb7,_0x18371e,_0x4b98cc),A(this,_0x13ee25(0x403),'awaiting_with_pending'),A(this,_0x13ee25(0x520),0x0),A(this,_0x13ee25(0x23f)),A(this,_0x13ee25(0x47d)),(this[_0x13ee25(0x307)]=_0x19704d,this[_0x13ee25(0x207)]=_0x6855ea,this[_0x13ee25(0x4cd)]=_0x1bb675,this[_0x13ee25(0x279)]=_0x4b98cc,_0xe24971&&(this[_0x13ee25(0x23f)]=_0xe24971,this[_0x13ee25(0x47d)]=this[_0x13ee25(0x23f)][_0x13ee25(0x4dd)](({reqId:_0x5270cc,timeout:_0x29865c})=>{var _0x2fa634=_0x13ee25;this[_0x2fa634(0x438)](_0x5270cc,_0x29865c);})));}[_0x25fdaf(0x484)](_0x56a27b){var _0x9707b7=_0x25fdaf;return this[_0x9707b7(0x48e)][_0x9707b7(0x46e)](_0x56a27b),this;}['onRemoteChangeset'](_0x4bf948){var _0x4f03fc=_0x25fdaf;if(this[_0x4f03fc(0x466)](_0x4bf948))return this[_0x4f03fc(0x508)](),this[_0x4f03fc(0x307)][_0x4f03fc(0x277)](exports[_0x4f03fc(0x2ad)],this['unitID'],this[_0x4f03fc(0x2fa)],this[_0x4f03fc(0x231)],this[_0x4f03fc(0x48e)],null,[_0x4bf948],this[_0x4f03fc(0x264)]);try{const _0x4b3c52=this[_0x4f03fc(0x4cd)][_0x4f03fc(0x2a5)]([_0x4bf948],[this[_0x4f03fc(0x231)]],!0x1);if(I[_0x4f03fc(0x414)](_0x4b3c52)){const {c1Prime:_0x5ab7e8,c2Prime:_0x33176d}=_0x4b3c52,_0x5ee365=this[_0x4f03fc(0x4cd)][_0x4f03fc(0x2eb)](_0x5ab7e8[0x0],this['_pendingMutations']);if(I[_0x4f03fc(0x339)](_0x5ee365)){const {c1Prime:_0x171f5e,m2Prime:_0x3b294e}=_0x5ee365;return this[_0x4f03fc(0x1e1)](_0x171f5e),_0x33176d[0x0][_0x4f03fc(0x1be)]=this[_0x4f03fc(0x2b9)](),this[_0x4f03fc(0x508)](),this[_0x4f03fc(0x307)][_0x4f03fc(0x277)](exports[_0x4f03fc(0x4b5)],this['unitID'],this[_0x4f03fc(0x2fa)],_0x33176d[0x0],_0x3b294e,this[_0x4f03fc(0x264)],void 0x0);}throw _0x5ee365[_0x4f03fc(0x2d3)];}throw _0x4b3c52[_0x4f03fc(0x2d3)];}catch(_0x2ec4bb){return this[_0x4f03fc(0x207)][_0x4f03fc(0x2d3)](_0x2ec4bb),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x15d94e){var _0x58f4b6=_0x25fdaf;if(this[_0x58f4b6(0x508)](),this['_checkMissing'](_0x15d94e))return this[_0x58f4b6(0x307)][_0x58f4b6(0x277)](exports[_0x58f4b6(0x2ad)],this[_0x58f4b6(0x2fd)],this[_0x58f4b6(0x2fa)],null,this[_0x58f4b6(0x48e)],this[_0x58f4b6(0x231)],[],this['_handler']);this[_0x58f4b6(0x46a)]();const _0x3e1f00=this['_injector'][_0x58f4b6(0x277)](exports[_0x58f4b6(0x525)],this[_0x58f4b6(0x2fd)],this[_0x58f4b6(0x2fa)],this[_0x58f4b6(0x48e)],this['_handler']);return _0x3e1f00[_0x58f4b6(0x4a1)](),_0x3e1f00['_updateLocalCache'](),_0x3e1f00;}[_0x25fdaf(0x289)](_0x2f4809){var _0x386dcf=_0x25fdaf;return this[_0x386dcf(0x43f)](!!(_0x2f4809!=null&&_0x2f4809[_0x386dcf(0x340)]));}[_0x25fdaf(0x4a0)](_0x394964){var _0x3e36a2=_0x25fdaf;return this['_resendTimeout']>Rt?this[_0x3e36a2(0x1d2)]():(this[_0x3e36a2(0x23f)]=bt(this[_0x3e36a2(0x520)],{'timeout':this[_0x3e36a2(0x520)],'reqId':_0x394964[_0x3e36a2(0x1ff)]}),this[_0x3e36a2(0x47d)]=this[_0x3e36a2(0x23f)][_0x3e36a2(0x4dd)](({reqId:_0x5d1272,timeout:_0x167ed3})=>{var _0x19c6a0=_0x3e36a2;this[_0x19c6a0(0x438)](_0x5d1272,_0x167ed3);}),this);}[_0x25fdaf(0x1d2)](){var _0x63e916=_0x25fdaf;return this[_0x63e916(0x508)](),this['_injector'][_0x63e916(0x277)](exports[_0x63e916(0x2b4)],this[_0x63e916(0x2fd)],this[_0x63e916(0x2fa)],this[_0x63e916(0x231)],this[_0x63e916(0x48e)],this['_handler']);}['toggleOnline'](){return this;}[_0x25fdaf(0x2c8)](){var _0xa4509f=_0x25fdaf;this[_0xa4509f(0x264)]['onSendChangeset'](this[_0xa4509f(0x231)]);}['_onConflict'](_0x10f164){var _0x2f75cb=_0x25fdaf;return this['_clearScheduledTask'](),this[_0x2f75cb(0x307)][_0x2f75cb(0x277)](exports[_0x2f75cb(0x4c8)],this[_0x2f75cb(0x2fd)],this[_0x2f75cb(0x2fa)],null,this[_0x2f75cb(0x48e)],this[_0x2f75cb(0x264)],_0x10f164);}[_0x25fdaf(0x438)](_0x373a1f,_0x171955){var _0x4d400b=_0x25fdaf,_0x28118b;_0x373a1f===((_0x28118b=this[_0x4d400b(0x231)])==null?void 0x0:_0x28118b[_0x4d400b(0x1ff)])&&(this['resend'](),this[_0x4d400b(0x520)]=_0x171955===0x0?0x3e8:_0x171955*0x2);}[_0x25fdaf(0x508)](){var _0x4274bf=_0x25fdaf,_0x383ccc;(_0x383ccc=this['_sender'])==null||_0x383ccc[_0x4274bf(0x44e)](),this[_0x4274bf(0x520)]=0x0;}},exports[_0x25fdaf(0x4b5)]=ae([w(0x6,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x481)])),w(0x7,a[_0x25fdaf(0x3a5)](I['RevisionService'])),w(0x8,a[_0x25fdaf(0x464)]),w(0x9,a[_0x25fdaf(0x248)]),w(0xa,I['ITransformService']),w(0xb,a[_0x25fdaf(0x524)]),w(0xc,a[_0x25fdaf(0x44b)](q))],exports[_0x25fdaf(0x4b5)]),exports[_0x25fdaf(0x4c8)]=class extends ce{constructor(_0x388847,_0x3be762,_0x57f302,_0x3db86b,_0x5d55ef,_0x146b5d=!0x1,_0x359c3c,_0x3f9342,_0x2d246c,_0x5a0091,_0x1f9e81,_0x53deab,_0x55a280){var _0x1c63cc=_0x25fdaf;super(_0x388847,_0x3be762,_0x57f302,_0x3db86b,_0x5d55ef,_0x3f9342,_0x2d246c,_0x5a0091,_0x55a280),A(this,'status',_0x1c63cc(0x3ce)),(this[_0x1c63cc(0x453)]=_0x146b5d,this[_0x1c63cc(0x48d)]=_0x359c3c,this['_localeService']=_0x1f9e81,this[_0x1c63cc(0x33a)]=_0x53deab,this[_0x1c63cc(0x279)]=_0x55a280,this[_0x1c63cc(0x46c)](),this[_0x1c63cc(0x2c1)](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x25fdaf(0x33d)](){return this;}['onRemoteAck'](){return this;}[_0x25fdaf(0x289)](){return this;}[_0x25fdaf(0x4a0)](){return this;}[_0x25fdaf(0x1d2)](){return this;}[_0x25fdaf(0x452)](){return this;}[_0x25fdaf(0x2c8)](){var _0xd81924=_0x25fdaf;throw new Error(_0xd81924(0x411));}[_0x25fdaf(0x2c1)](){var _0x1977b0=_0x25fdaf,_0x4c3ff6;(_0x4c3ff6=this[_0x1977b0(0x4db)])==null||_0x4c3ff6['updateOfflineData'](this['unitID'],this['type'],null,[]);}[_0x25fdaf(0x46c)](){var _0x38d8b6=_0x25fdaf;this[_0x38d8b6(0x453)]?this['_collaborationUIEventService'][_0x38d8b6(0x297)]({'id':Z['PERMISSION_DENIED']}):this[_0x38d8b6(0x33a)][_0x38d8b6(0x297)]({'id':Z[_0x38d8b6(0x375)]});}[_0x25fdaf(0x1da)](){var _0x301713=_0x25fdaf;this[_0x301713(0x48d)][_0x301713(0x422)](new X['WorkbookEditablePermission'](this[_0x301713(0x2fd)])['id'],!0x1);}},exports[_0x25fdaf(0x4c8)]=ae([w(0x6,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x1cc)])),w(0x7,a[_0x25fdaf(0x464)]),w(0x8,a[_0x25fdaf(0x524)]),w(0x9,a['Inject'](I[_0x25fdaf(0x2fe)])),w(0xa,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x492)])),w(0xb,a[_0x25fdaf(0x3a5)](ee)),w(0xc,a[_0x25fdaf(0x44b)](q))],exports[_0x25fdaf(0x4c8)]),exports[_0x25fdaf(0x2b4)]=class extends ce{constructor(_0x524c29,_0x125cba,_0x3bb432,_0x34709e,_0x2f4c37,_0xd0a83d,_0x4ca14a,_0x5a6844,_0xb69601,_0x439c3b){var _0x297b94=_0x25fdaf;super(_0x524c29,_0x125cba,_0x3bb432,_0x34709e,_0x2f4c37,_0x5a6844,_0xb69601,_0x4ca14a,_0x439c3b),A(this,_0x297b94(0x403),'offline'),this[_0x297b94(0x307)]=_0xd0a83d;}[_0x25fdaf(0x484)](_0x51bf6c){var _0xbda9b6=_0x25fdaf;return this[_0xbda9b6(0x48e)][_0xbda9b6(0x46e)](_0x51bf6c),this[_0xbda9b6(0x49d)](),this;}[_0x25fdaf(0x33d)](_0x42cd9e){var _0x4912d2=_0x25fdaf;throw new Error(_0x4912d2(0x448));}['onRemoteAck'](){var _0x376de4=_0x25fdaf;throw new Error(_0x376de4(0x39c));}[_0x25fdaf(0x289)](){var _0x144918=_0x25fdaf;throw new Error(_0x144918(0x1d0));}[_0x25fdaf(0x4a0)](){return this;}[_0x25fdaf(0x1d2)](){return this;}[_0x25fdaf(0x452)](){var _0x5d857a=_0x25fdaf;const {_injector:_0x39a3cd,_pendingMutations:_0x3d44cb,_awaitingChangeset:_0x3b85ae,unitID:_0x31b8d8,_handler:_0x4f1c5c,type:_0x365aaf}=this,_0x17db37=Ot(_0x39a3cd,_0x31b8d8,_0x365aaf,_0x3b85ae,_0x3d44cb,_0x4f1c5c);return _0x17db37 instanceof exports[_0x5d857a(0x525)]?_0x17db37[_0x5d857a(0x4a1)]():(_0x17db37 instanceof exports[_0x5d857a(0x4b5)]||_0x17db37 instanceof exports[_0x5d857a(0x308)])&&_0x17db37[_0x5d857a(0x2c8)](),_0x17db37;}['resend'](){var _0x5cd1b7=_0x25fdaf;throw new Error(_0x5cd1b7(0x32d));}},exports[_0x25fdaf(0x2b4)]=ae([w(0x5,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x481)])),w(0x6,a[_0x25fdaf(0x3a5)](I[_0x25fdaf(0x2fe)])),w(0x7,a[_0x25fdaf(0x464)]),w(0x8,a[_0x25fdaf(0x524)]),w(0x9,a[_0x25fdaf(0x44b)](q))],exports[_0x25fdaf(0x2b4)]),exports['FetchingMissState']=class extends ce{constructor(_0x300d92,_0x59f8cf,_0x313d29,_0x5659be,_0x43b5b9,_0x2b88ce,_0x3b32ba,_0x13d110,_0x1ca0f6,_0x2e4cbb,_0x8921f2,_0x325d0a,_0x208b53,_0x1641e0){var _0x4dca89=_0x25fdaf;super(_0x300d92,_0x59f8cf,_0x313d29,_0x5659be,_0x3b32ba,_0x8921f2,_0x325d0a,_0x1ca0f6,_0x1641e0),A(this,_0x4dca89(0x403),_0x4dca89(0x1bc)),(this[_0x4dca89(0x3bf)]=_0x43b5b9,this['_queuedRemoteChangesets']=_0x2b88ce,this[_0x4dca89(0x307)]=_0x13d110,this[_0x4dca89(0x207)]=_0x2e4cbb,this['_transformService']=_0x208b53,this[_0x4dca89(0x279)]=_0x1641e0);}[_0x25fdaf(0x3f4)](_0x14945d){var _0x4ed925=_0x25fdaf;try{const _0x213e1d=[..._0x14945d,...this['_queuedRemoteChangesets']],_0x26b63e=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x4ed925(0x42a)](_0x55ded3=>!!_0x55ded3);let _0x43d150,_0x916e2f;if(_0x26b63e[_0x4ed925(0x27c)]){const _0x2c9c24=this[_0x4ed925(0x4cd)][_0x4ed925(0x2a5)](_0x213e1d,_0x26b63e,!0x1);if(!I[_0x4ed925(0x414)](_0x2c9c24))throw _0x2c9c24[_0x4ed925(0x2d3)];_0x43d150=_0x2c9c24['c1Prime'],_0x916e2f=_0x2c9c24[_0x4ed925(0x2f5)];}else _0x43d150=_0x213e1d,_0x916e2f=[];let _0x5a8006=this['_pendingMutations'];_0x43d150[_0x4ed925(0x265)](_0x579191=>{var _0x2d456c=_0x4ed925;let _0x2707ef;if(_0x5a8006[_0x2d456c(0x27c)]){const _0x4da690=this[_0x2d456c(0x4cd)][_0x2d456c(0x2eb)](_0x579191,_0x5a8006);if(!I[_0x2d456c(0x339)](_0x4da690))throw _0x4da690[_0x2d456c(0x2d3)];_0x2707ef=_0x4da690[_0x2d456c(0x321)],_0x5a8006=_0x4da690[_0x2d456c(0x470)];}else _0x2707ef=_0x579191;this['_executeRemoteChangeset'](_0x2707ef);}),this[_0x4ed925(0x3bf)]&&this[_0x4ed925(0x46a)](),this['_awaitingChangeset']&&_0x916e2f['length']&&(_0x916e2f[0x0][_0x4ed925(0x1be)]=this[_0x4ed925(0x2b9)]());let _0x4f6ad1;if(this['_awaitingChangeset']&&_0x5a8006[_0x4ed925(0x27c)]!==0x0)_0x4f6ad1=this[_0x4ed925(0x307)][_0x4ed925(0x277)](exports[_0x4ed925(0x4b5)],this[_0x4ed925(0x2fd)],this[_0x4ed925(0x2fa)],_0x916e2f[0x0],_0x5a8006,this[_0x4ed925(0x264)],void 0x0);else{if(this[_0x4ed925(0x231)]&&_0x5a8006['length']===0x0)_0x916e2f[0x0][_0x4ed925(0x1be)]=this[_0x4ed925(0x2b9)](),_0x4f6ad1=this[_0x4ed925(0x307)][_0x4ed925(0x277)](exports[_0x4ed925(0x308)],this['unitID'],this[_0x4ed925(0x2fa)],_0x916e2f[0x0],this[_0x4ed925(0x264)]);else{if(_0x5a8006[_0x4ed925(0x27c)]!==0x0){const _0x41e715=this[_0x4ed925(0x307)][_0x4ed925(0x277)](exports['PendingState'],this[_0x4ed925(0x2fd)],this[_0x4ed925(0x2fa)],_0x5a8006,this[_0x4ed925(0x264)]);_0x41e715['_schedule'](),_0x4f6ad1=_0x41e715;}else _0x4f6ad1=this[_0x4ed925(0x307)]['createInstance'](exports['SyncedState'],this['unitID'],this[_0x4ed925(0x2fa)],this[_0x4ed925(0x264)]);}}return _0x4f6ad1[_0x4ed925(0x49d)](),_0x4f6ad1;}catch(_0x546ea7){return this[_0x4ed925(0x207)]['error'](_0x4ed925(0x491),_0x4ed925(0x3a6),_0x546ea7),this[_0x4ed925(0x307)]['createInstance'](exports[_0x4ed925(0x4c8)],this[_0x4ed925(0x2fd)],this['type'],this[_0x4ed925(0x231)],this[_0x4ed925(0x48e)],this[_0x4ed925(0x264)],!0x1);}}[_0x25fdaf(0x2c8)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x25fdaf(0x484)](_0x22a571){var _0x308a2d=_0x25fdaf;return this[_0x308a2d(0x48e)][_0x308a2d(0x46e)](_0x22a571),this;}['onRemoteChangeset'](_0x839777){var _0x48ceff=_0x25fdaf;return this['_queuedRemoteChangesets'][_0x48ceff(0x46e)](_0x839777),this;}[_0x25fdaf(0x38c)](_0x371f61){var _0x3fbc5c=_0x25fdaf;if(this[_0x3fbc5c(0x231)])return this[_0x3fbc5c(0x3bf)]=this[_0x3fbc5c(0x231)],this[_0x3fbc5c(0x231)]=null,this;throw new Error(_0x3fbc5c(0x51c));}[_0x25fdaf(0x289)](_0x3d5b15){var _0x4f1287=_0x25fdaf;return this[_0x4f1287(0x43f)](!!(_0x3d5b15!=null&&_0x3d5b15[_0x4f1287(0x340)]));}[_0x25fdaf(0x4a0)](){return this;}[_0x25fdaf(0x1d2)](){var _0x64795=_0x25fdaf;return this[_0x64795(0x307)][_0x64795(0x277)](exports[_0x64795(0x2b4)],this['unitID'],this[_0x64795(0x2fa)],this[_0x64795(0x231)],this['_pendingMutations'],this[_0x64795(0x264)]);}['toggleOnline'](){return this;}[_0x25fdaf(0x43f)](_0x4c543e){var _0xc90ca2=_0x25fdaf;return this[_0xc90ca2(0x307)]['createInstance'](exports[_0xc90ca2(0x4c8)],this[_0xc90ca2(0x2fd)],this['type'],this['_awaitingChangeset'],this[_0xc90ca2(0x48e)],this[_0xc90ca2(0x264)],_0x4c543e);}},exports[_0x25fdaf(0x2ad)]=ae([w(0x7,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x481)])),w(0x8,a[_0x25fdaf(0x3a5)](I[_0x25fdaf(0x2fe)])),w(0x9,a['ILogService']),w(0xa,a[_0x25fdaf(0x464)]),w(0xb,a['IUndoRedoService']),w(0xc,I[_0x25fdaf(0x4f2)]),w(0xd,a[_0x25fdaf(0x44b)](q))],exports[_0x25fdaf(0x2ad)]);function Ot(_0x587058,_0x5f467e,_0x3496fa,_0x59bc0c,_0x1daba8,_0x44a468){var _0xa459a2=_0x25fdaf;return _0x59bc0c&&_0x1daba8['length']?_0x587058[_0xa459a2(0x277)](exports[_0xa459a2(0x4b5)],_0x5f467e,_0x3496fa,_0x59bc0c,_0x1daba8,_0x44a468,void 0x0):_0x59bc0c?_0x587058[_0xa459a2(0x277)](exports['AwaitingState'],_0x5f467e,_0x3496fa,_0x59bc0c,_0x44a468):_0x1daba8[_0xa459a2(0x27c)]?_0x587058[_0xa459a2(0x277)](exports[_0xa459a2(0x525)],_0x5f467e,_0x3496fa,_0x1daba8,_0x44a468):_0x587058['createInstance'](exports['SyncedState'],_0x5f467e,_0x3496fa,_0x44a468);}var vi=Object[_0x25fdaf(0x4ca)],Fe=(_0x9ad34c,_0x51f5cd,_0x30c00a,_0x2da331)=>{for(var _0x5af69b=_0x2da331>0x1?void 0x0:_0x2da331?vi(_0x51f5cd,_0x30c00a):_0x51f5cd,_0x23a7a3=_0x9ad34c['length']-0x1,_0x3c2dd4;_0x23a7a3>=0x0;_0x23a7a3--)(_0x3c2dd4=_0x9ad34c[_0x23a7a3])&&(_0x5af69b=_0x3c2dd4(_0x5af69b)||_0x5af69b);return _0x5af69b;},j=(_0x42d498,_0x5af17c)=>(_0x2cab6c,_0x31a83d)=>_0x5af17c(_0x2cab6c,_0x31a83d,_0x42d498);exports[_0x25fdaf(0x391)]=class extends a[_0x25fdaf(0x503)]{constructor(_0x10e117,_0x255983,_0x488ac4,_0x58f174,_0x486e8f,_0x28f462,_0x548a94,_0x57cb4c,_0x532c5d,_0x102e2e,_0x4adadc,_0x297a55,_0x4152e8){var _0x5c85eb=_0x25fdaf;super(),A(this,'_state$',new $[(_0x5c85eb(0x3cf))](null)),A(this,_0x5c85eb(0x21c),this[_0x5c85eb(0x320)]['asObservable']()),A(this,_0x5c85eb(0x497)),A(this,_0x5c85eb(0x291),!0x1),A(this,_0x5c85eb(0x2dd),''),A(this,_0x5c85eb(0x2e5),0x0),A(this,_0x5c85eb(0x32e),this['state$'][_0x5c85eb(0x310)]($['map'](_0x195af8=>_0x195af8?_0x195af8[_0x5c85eb(0x403)]:Be[_0x5c85eb(0x1e8)]),$[_0x5c85eb(0x1cd)](0x1))),A(this,_0x5c85eb(0x384),!0x1),A(this,_0x5c85eb(0x462),[]),(this['unitID']=_0x10e117,this['session']=_0x255983,this[_0x5c85eb(0x40f)]=_0x488ac4,this[_0x5c85eb(0x307)]=_0x58f174,this[_0x5c85eb(0x20f)]=_0x486e8f,this[_0x5c85eb(0x4f6)]=_0x28f462,this[_0x5c85eb(0x365)]=_0x548a94,this[_0x5c85eb(0x2b7)]=_0x57cb4c,this['_logService']=_0x532c5d,this[_0x5c85eb(0x437)]=_0x102e2e,this[_0x5c85eb(0x48d)]=_0x4adadc,this[_0x5c85eb(0x45f)]=_0x297a55,this[_0x5c85eb(0x4db)]=_0x4152e8);}get['state'](){var _0x22ccac=_0x25fdaf;return this[_0x22ccac(0x497)];}async[_0x25fdaf(0x27b)](){var _0x493a92=_0x25fdaf;if(this[_0x493a92(0x20d)])throw new Error(_0x493a92(0x298));await this[_0x493a92(0x3ab)]();}[_0x25fdaf(0x316)](){var _0x195401=_0x25fdaf;return this[_0x195401(0x291)]=!0x0,a[_0x195401(0x38a)](()=>{var _0x13cf39=_0x195401;this[_0x13cf39(0x291)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x25fdaf(0x364)](_0x3227ea){var _0x5181ab=_0x25fdaf;this[_0x5181ab(0x35d)](_0x3227ea);}['_updateState'](_0x295171){var _0x1ad600=_0x25fdaf;this[_0x1ad600(0x497)]=_0x295171,this['_state$'][_0x1ad600(0x44d)](_0x295171);}async[_0x25fdaf(0x3ab)](){var _0x38fefd=_0x25fdaf,_0x37f10e;this[_0x38fefd(0x37d)](await this[_0x38fefd(0x3a7)]()),this[_0x38fefd(0x45f)]&&((_0x37f10e=this['_singleActiveUnitService'])==null||_0x37f10e[_0x38fefd(0x2fc)](this[_0x38fefd(0x2fd)]),this['disposeWithMe'](this[_0x38fefd(0x45f)][_0x38fefd(0x35a)](this[_0x38fefd(0x2fd)])[_0x38fefd(0x4dd)](_0x2a8a98=>{var _0x226bf2=_0x38fefd;this[_0x226bf2(0x207)]['debug'](_0x226bf2(0x441),_0x226bf2(0x496),_0x2a8a98),_0x2a8a98===je[_0x226bf2(0x3f3)]?(this[_0x226bf2(0x2b7)][_0x226bf2(0x297)]({'id':Z[_0x226bf2(0x50b)]}),this['_permissionService'][_0x226bf2(0x422)](new X[(_0x226bf2(0x4a7))](this[_0x226bf2(0x2fd)])['id'],!0x1),this['_permissionService'][_0x226bf2(0x45d)](!0x1)):(this[_0x226bf2(0x48d)]['updatePermissionPoint'](new X[(_0x226bf2(0x4a7))](this[_0x226bf2(0x2fd)])['id'],!0x0),this[_0x226bf2(0x48d)][_0x226bf2(0x45d)](!0x0));})));let _0x29a6f3=!0x1;return this[_0x38fefd(0x49f)](this[_0x38fefd(0x29d)]['sessionStatus$']['subscribe'](_0x4d6304=>{var _0x4c3596=_0x38fefd;_0x4d6304===re[_0x4c3596(0x323)]?this['_toggleOnline'](_0x29a6f3):_0x4d6304===re['OFFLINE']&&(_0x29a6f3=!0x0,this[_0x4c3596(0x22c)]());})),this['disposeWithMe'](this[_0x38fefd(0x29d)]['event$'][_0x38fefd(0x4dd)](_0x4c3308=>{var _0x1e386e=_0x38fefd;try{switch(_0x4c3308[_0x1e386e(0x353)]){case I[_0x1e386e(0x1e4)][_0x1e386e(0x2c5)]:{this[_0x1e386e(0x3c1)](I[_0x1e386e(0x20b)](_0x4c3308[_0x1e386e(0x1c9)]));break;}case I['CollaborationEvent'][_0x1e386e(0x1c8)]:{this[_0x1e386e(0x436)](_0x4c3308[_0x1e386e(0x1c9)]);break;}case I[_0x1e386e(0x1e4)][_0x1e386e(0x495)]:{this[_0x1e386e(0x358)]();break;}case I['CollaborationEvent'][_0x1e386e(0x2ed)]:{this['_onRemoteRetry'](_0x4c3308[_0x1e386e(0x1c9)]);break;}case I['CollaborationEvent']['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x4c3308['data']['changesets']['map'](_0x32cfed=>I[_0x1e386e(0x20b)](_0x32cfed)));break;}case I['CollaborationEvent'][_0x1e386e(0x1d6)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case I[_0x1e386e(0x1e4)][_0x1e386e(0x4b4)]:break;}}catch(_0x56d9ec){throw console[_0x1e386e(0x2d3)](_0x1e386e(0x20a),_0x56d9ec),_0x56d9ec;}})),this['_state'];}[_0x25fdaf(0x45b)](){var _0x108136=_0x25fdaf;this[_0x108136(0x384)]=!0x1;}['_lockTransition'](){var _0x4daac9=_0x25fdaf;if(this[_0x4daac9(0x384)])throw new Error(_0x4daac9(0x22b));this[_0x4daac9(0x384)]=!0x0;}['_onLocalMutation'](_0x1597e3){var _0x286457=_0x25fdaf;this['_lockTransition'](),this[_0x286457(0x37d)](this[_0x286457(0x497)]['appendMutation'](_0x1597e3)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x4939be){var _0x54234d=_0x25fdaf;if(!(_0x4939be[_0x54234d(0x523)]<=this[_0x54234d(0x365)]['getCurrentRevOfUnit'](this[_0x54234d(0x2fd)]))){if(this[_0x54234d(0x291)]){this['_remoteChangesetQueue'][_0x54234d(0x46e)](_0x4939be);return;}this[_0x54234d(0x3fb)](_0x4939be);}}[_0x25fdaf(0x445)](){var _0x46f7d9=_0x25fdaf;this['_remoteChangesetQueue'][_0x46f7d9(0x265)](_0xbae5e1=>this[_0x46f7d9(0x3fb)](_0xbae5e1)),this[_0x46f7d9(0x462)]=[];}[_0x25fdaf(0x3fb)](_0x3462c5){var _0xb30af0=_0x25fdaf;const _0x34c7c7=this[_0xb30af0(0x20f)][_0xb30af0(0x209)][_0xb30af0(0x25f)](this[_0xb30af0(0x20f)][_0xb30af0(0x209)][_0xb30af0(0x40d)]()['COMPRESS_MUTATION_APPLY'])(_0x3462c5[_0xb30af0(0x240)],null)||_0x3462c5['mutations'],_0x46d735={..._0x3462c5,'mutations':_0x34c7c7};this['_lockTransition'](),this[_0xb30af0(0x37d)](this[_0xb30af0(0x497)][_0xb30af0(0x33d)](_0x46d735)),this[_0xb30af0(0x45b)]();}['_onRemoteACK'](_0x57e853){var _0x2e97cb=_0x25fdaf;this['_lockTransition'](),this[_0x2e97cb(0x37d)](this['_state'][_0x2e97cb(0x38c)](_0x57e853)),this['_unlockTransition']();}[_0x25fdaf(0x358)](_0x59299f){var _0x532461=_0x25fdaf;this[_0x532461(0x268)](),this[_0x532461(0x37d)](this[_0x532461(0x497)]['onRemoteRej'](_0x59299f)),this[_0x532461(0x45b)]();}[_0x25fdaf(0x433)](_0x34f27b){var _0x1f299b=_0x25fdaf;this[_0x1f299b(0x268)](),this[_0x1f299b(0x37d)](this[_0x1f299b(0x497)][_0x1f299b(0x4a0)](_0x34f27b)),this[_0x1f299b(0x45b)]();}['_onFetchMissResult'](_0x54c1b0){var _0x12cb46=_0x25fdaf;if(!(this['_state']instanceof exports[_0x12cb46(0x2ad)]))throw new TypeError(_0x12cb46(0x458));const _0x90e504=_0x54c1b0[_0x12cb46(0x1ba)](_0x36846d=>{var _0x4498a5=_0x12cb46;const _0x47105a=this[_0x4498a5(0x20f)][_0x4498a5(0x209)][_0x4498a5(0x25f)](this['_compressMutationService'][_0x4498a5(0x209)][_0x4498a5(0x40d)]()['COMPRESS_MUTATION_APPLY'])(_0x36846d[_0x4498a5(0x240)],null)||_0x36846d[_0x4498a5(0x240)];return{..._0x36846d,'mutations':_0x47105a};});this[_0x12cb46(0x268)](),this[_0x12cb46(0x37d)](this[_0x12cb46(0x497)][_0x12cb46(0x3f4)](_0x90e504)),this[_0x12cb46(0x45b)]();}['_toggleOffline'](){var _0x1e1885=_0x25fdaf;this[_0x1e1885(0x268)](),this[_0x1e1885(0x37d)](this[_0x1e1885(0x497)][_0x1e1885(0x1d2)]()),this[_0x1e1885(0x45b)]();}[_0x25fdaf(0x3b2)](_0x4608d3=!0x1){var _0x535ecf=_0x25fdaf;this['_lockTransition'](),this[_0x535ecf(0x37d)](this['_state'][_0x535ecf(0x452)]()),this[_0x535ecf(0x45b)]();const _0x31069c=this[_0x535ecf(0x497)];_0x4608d3&&_0x31069c instanceof exports[_0x535ecf(0x21d)]&&(this[_0x535ecf(0x268)](),this[_0x535ecf(0x37d)](_0x31069c['fetchMiss']()),this[_0x535ecf(0x45b)]());}async['_createInitialState'](){return new Promise(_0x37e80e=>{var _0x124f1a=_0x305e;this['session'][_0x124f1a(0x501)]['pipe']($[_0x124f1a(0x34e)](0x1))[_0x124f1a(0x4dd)](async _0x53f586=>{var _0x58b7f4=_0x124f1a;_0x37e80e(await this[_0x58b7f4(0x3cb)](_0x53f586===re[_0x58b7f4(0x323)]));});});}[_0x25fdaf(0x42c)](){const _0x5c8b1c=this['unitID'];return{'onStateChange':(_0xd3aab4,_0xd168a8)=>{var _0x57449a=_0x305e;if(_0xd3aab4!==this[_0x57449a(0x497)])throw new Error(_0x57449a(0x314)+_0xd3aab4[_0x57449a(0x403)]+_0x57449a(0x380)+_0xd168a8[_0x57449a(0x403)]+_0x57449a(0x3d2)+this[_0x57449a(0x497)][_0x57449a(0x403)]);this[_0x57449a(0x37d)](_0xd168a8);},'onSendChangeset':_0x5f34ca=>{var _0x21476f=_0x305e;_0x5f34ca[_0x21476f(0x4e3)]||(_0x5f34ca['sid']=this['_changesetSessionId'],_0x5f34ca[_0x21476f(0x1ff)]=++this[_0x21476f(0x2e5)]);const _0x5d6d89={'eventID':I[_0x21476f(0x1e4)][_0x21476f(0x26b)],'data':{'unitID':_0x5f34ca[_0x21476f(0x2fd)],'unitType':this[_0x21476f(0x40f)],'changeset':_0x5f34ca,'memberID':this[_0x21476f(0x29d)][_0x21476f(0x23a)]()}};this['session'][_0x21476f(0x3ec)](_0x5d6d89,this[_0x21476f(0x2fd)]);},'onMissingChangesets':({from:_0x57fa35,to:_0x45ac83})=>{var _0x24dd9c=_0x305e;this[_0x24dd9c(0x207)]['debug'](_0x24dd9c(0x441),_0x24dd9c(0x23e)+_0x57fa35+_0x24dd9c(0x1c2)+_0x45ac83);const _0x386307={'eventID':I['CollaborationEvent'][_0x24dd9c(0x329)],'data':{'unitID':_0x5c8b1c,'unitType':this[_0x24dd9c(0x40f)],'from':_0x57fa35,'to':_0x45ac83}};this['session'][_0x24dd9c(0x3ec)](_0x386307,this[_0x24dd9c(0x2fd)]);}};}async[_0x25fdaf(0x3cb)](_0x287b07){var _0x29f447=_0x25fdaf,_0x47809f,_0x1fb01d,_0x373df3;const _0x4e59cc=await((_0x47809f=this[_0x29f447(0x4db)])==null?void 0x0:_0x47809f[_0x29f447(0x42f)](this['unitID'])),_0x3b14a6=(_0x1fb01d=_0x4e59cc==null?void 0x0:_0x4e59cc[_0x29f447(0x240)])!=null?_0x1fb01d:[],_0x9abb44=(_0x373df3=_0x4e59cc==null?void 0x0:_0x4e59cc['awaitingChangeset'])!=null?_0x373df3:null,_0xbc8222=!!(_0x9abb44!=null&&_0x9abb44[_0x29f447(0x4e3)])&&!!(_0x9abb44!=null&&_0x9abb44[_0x29f447(0x1ff)]);this['_changesetSessionId']=_0xbc8222?_0x9abb44[_0x29f447(0x4e3)]:I[_0x29f447(0x2a8)](),this['_changesetReqId']=_0xbc8222?_0x9abb44['reqId']:0x0;const _0x54a8cd=this['unitID'];try{this[_0x29f447(0x517)](_0x9abb44,_0x3b14a6);}catch(_0x2f1d37){this['_logService'][_0x29f447(0x2d3)](_0x2f1d37);}const _0x4cc6af=this[_0x29f447(0x42c)]();if(_0x287b07){const _0x478f87=Ot(this[_0x29f447(0x307)],_0x54a8cd,this['_type'],_0x9abb44,_0x3b14a6,_0x4cc6af);return _0x478f87 instanceof exports[_0x29f447(0x525)]?_0x478f87[_0x29f447(0x4a1)]():(_0x478f87 instanceof exports[_0x29f447(0x4b5)]||_0x478f87 instanceof exports['AwaitingState'])&&_0x478f87[_0x29f447(0x2c8)](),_0x478f87;}return this[_0x29f447(0x307)][_0x29f447(0x277)](exports[_0x29f447(0x2b4)],_0x54a8cd,this[_0x29f447(0x40f)],_0x9abb44,_0x3b14a6,_0x4cc6af);}[_0x25fdaf(0x517)](_0xadd7ec,_0x2722ba){var _0x51fc82=_0x25fdaf,_0x12c6f1,_0x40108c;const _0x4a0a9d=this[_0x51fc82(0x20f)]['interceptor'][_0x51fc82(0x25f)](this[_0x51fc82(0x20f)]['interceptor'][_0x51fc82(0x40d)]()[_0x51fc82(0x410)]);(_0x12c6f1=_0x4a0a9d((_0xadd7ec==null?void 0x0:_0xadd7ec[_0x51fc82(0x240)])||[],null))==null||_0x12c6f1['forEach'](_0x3d400c=>this['_commandService'][_0x51fc82(0x292)](_0x3d400c['id'],_0x3d400c[_0x51fc82(0x38e)])),(_0x40108c=_0x4a0a9d(_0x2722ba||[],null))==null||_0x40108c[_0x51fc82(0x265)](_0x401e9b=>this[_0x51fc82(0x437)]['executeCommand'](_0x401e9b['id'],_0x401e9b['params']));}},exports[_0x25fdaf(0x391)]=Fe([j(0x3,a['Inject'](a[_0x25fdaf(0x481)])),j(0x4,a['Inject'](I['CompressMutationService'])),j(0x5,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x492)])),j(0x6,a['Inject'](I[_0x25fdaf(0x2fe)])),j(0x7,a[_0x25fdaf(0x3a5)](ee)),j(0x8,a[_0x25fdaf(0x248)]),j(0x9,a[_0x25fdaf(0x464)]),j(0xa,a[_0x25fdaf(0x1cc)]),j(0xb,a[_0x25fdaf(0x44b)](de)),j(0xc,a[_0x25fdaf(0x44b)](q))],exports['CollaborationEntity']),exports[_0x25fdaf(0x521)]=class extends exports[_0x25fdaf(0x391)]{constructor(_0x26d47d,_0x146708,_0x5cd754,_0x1b4f1a,_0x57df1c,_0x4ab2d4,_0x4d7114,_0x347d81,_0x36b159,_0x2486a6,_0x267b9a,_0x53f068,_0x25e159){var _0x421ac2=_0x25fdaf;super(_0x26d47d,_0x5cd754,_0x146708,_0x1b4f1a,_0x57df1c,_0x4ab2d4,_0x4d7114,_0x347d81,_0x36b159,_0x2486a6,_0x267b9a,_0x53f068,_0x25e159),A(this,_0x421ac2(0x2b1),null),(this[_0x421ac2(0x2fd)]=_0x26d47d,this[_0x421ac2(0x2fa)]=_0x146708);}[_0x25fdaf(0x4e9)](_0x16d00c){var _0x2c19ab=_0x25fdaf;this[_0x2c19ab(0x2b1)]=_0x16d00c;}['dispose'](){var _0x331723=_0x25fdaf;this['_handlerCallback']=null,super[_0x331723(0x465)]();}[_0x25fdaf(0x42c)](){var _0x2320f9=_0x25fdaf;const _0x40e805=super[_0x2320f9(0x42c)]();return _0x40e805[_0x2320f9(0x1e9)]=_0x571feb=>{var _0x11c731=_0x2320f9,_0x723660,_0x3650d7;return(_0x3650d7=(_0x723660=this[_0x11c731(0x2b1)])==null?void 0x0:_0x723660[_0x11c731(0x1e9)])==null?void 0x0:_0x3650d7[_0x11c731(0x1d5)](_0x723660,_0x571feb);},_0x40e805[_0x2320f9(0x227)]=_0x191eb5=>{var _0x14c30b=_0x2320f9,_0x126ab5,_0x2b8087;return(_0x2b8087=(_0x126ab5=this[_0x14c30b(0x2b1)])==null?void 0x0:_0x126ab5[_0x14c30b(0x227)])==null?void 0x0:_0x2b8087[_0x14c30b(0x1d5)](_0x126ab5,_0x191eb5);},_0x40e805[_0x2320f9(0x39f)]=_0x12aba7=>{var _0x468f3d=_0x2320f9,_0xf6138e,_0x2e2e51;return(_0x2e2e51=(_0xf6138e=this[_0x468f3d(0x2b1)])==null?void 0x0:_0xf6138e['onTransformSelections'])==null?void 0x0:_0x2e2e51[_0x468f3d(0x1d5)](_0xf6138e,_0x12aba7);},_0x40e805['onSyncEditingCollabCursor']=_0x283380=>{var _0x19bd42=_0x2320f9,_0x22d0fe,_0x2e438e;return(_0x2e438e=(_0x22d0fe=this[_0x19bd42(0x2b1)])==null?void 0x0:_0x22d0fe[_0x19bd42(0x343)])==null?void 0x0:_0x2e438e[_0x19bd42(0x1d5)](_0x22d0fe,_0x283380);},_0x40e805[_0x2320f9(0x214)]=_0x3a8eec=>{var _0x271489=_0x2320f9,_0x868790,_0xef293,_0xc24bc6;if(!((_0x868790=this[_0x271489(0x2b1)])!=null&&_0x868790[_0x271489(0x214)]))throw new Error(_0x271489(0x346));return(_0xc24bc6=(_0xef293=this[_0x271489(0x2b1)])==null?void 0x0:_0xef293[_0x271489(0x214)])==null?void 0x0:_0xc24bc6[_0x271489(0x1d5)](_0xef293,_0x3a8eec);},_0x40e805[_0x2320f9(0x22a)]=_0xa9cf31=>{var _0x4fa920=_0x2320f9,_0x5c37b3,_0x299a85,_0x1e6600;if(!((_0x5c37b3=this[_0x4fa920(0x2b1)])!=null&&_0x5c37b3[_0x4fa920(0x22a)]))throw new Error(_0x4fa920(0x318));return(_0x1e6600=(_0x299a85=this[_0x4fa920(0x2b1)])==null?void 0x0:_0x299a85[_0x4fa920(0x22a)])==null?void 0x0:_0x1e6600[_0x4fa920(0x1d5)](_0x299a85,_0xa9cf31);},_0x40e805;}async[_0x25fdaf(0x3ab)](){var _0x185da2=_0x25fdaf;const _0x4ba6da=await super[_0x185da2(0x3ab)]();return this[_0x185da2(0x49f)](this[_0x185da2(0x437)][_0x185da2(0x21f)]((_0x483c17,_0x5e7b73)=>{var _0x276891=_0x185da2;if(_0x483c17[_0x276891(0x2fa)]!==a['CommandType'][_0x276891(0x47b)]||_0x5e7b73!=null&&_0x5e7b73[_0x276891(0x2bf)]||_0x5e7b73!=null&&_0x5e7b73['onlyLocal']||_0x483c17['id']===ht[_0x276891(0x486)]['id'])return;const _0x4efba1=_0x483c17[_0x276891(0x38e)];if((_0x4efba1==null?void 0x0:_0x4efba1[_0x276891(0x468)])!==this[_0x276891(0x2fd)])return;const _0x436bfb=_0x483c17,_0x5151b9=this[_0x276891(0x20f)][_0x276891(0x209)][_0x276891(0x25f)](this['_compressMutationService']['interceptor'][_0x276891(0x40d)]()[_0x276891(0x1d3)])([_0x436bfb],null)||[_0x436bfb];this['_onLocalMutation'](_0x5151b9[0x0]);})),_0x4ba6da;}},exports[_0x25fdaf(0x521)]=Fe([j(0x3,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x481)])),j(0x4,a[_0x25fdaf(0x3a5)](I[_0x25fdaf(0x34c)])),j(0x5,a[_0x25fdaf(0x3a5)](a['LocaleService'])),j(0x6,a[_0x25fdaf(0x3a5)](I['RevisionService'])),j(0x7,a[_0x25fdaf(0x3a5)](ee)),j(0x8,a['ILogService']),j(0x9,a['ICommandService']),j(0xa,a[_0x25fdaf(0x1cc)]),j(0xb,a['Optional'](de)),j(0xc,a[_0x25fdaf(0x44b)](q))],exports[_0x25fdaf(0x521)]),exports[_0x25fdaf(0x383)]=class extends exports['CollaborationEntity']{constructor(_0x4e9d4c,_0x27fdba,_0x2275bd,_0x41dbf1,_0x12cdda,_0x3f68d5,_0x2e8661,_0x5cdcd7,_0x3d6cdc,_0x4959a7,_0x50075f,_0xf32fb0,_0x4242a5,_0xba6fbb){var _0x51d184=_0x25fdaf;super(_0x4e9d4c,_0x2275bd,_0x27fdba,_0x41dbf1,_0x12cdda,_0x3f68d5,_0x2e8661,_0x3d6cdc,_0x4959a7,_0x50075f,_0xf32fb0,_0x4242a5,_0xba6fbb),this['unitID']=_0x4e9d4c,this[_0x51d184(0x2fa)]=_0x27fdba,this[_0x51d184(0x400)]=_0x5cdcd7;}['_createHandler'](){var _0x4a7bd9=_0x25fdaf;const _0x13690e=super['_createHandler']();return _0x13690e['onTransformSelections']=_0x586e48=>this[_0x4a7bd9(0x400)][_0x4a7bd9(0x23c)](_0x586e48),_0x13690e;}async[_0x25fdaf(0x3ab)](){var _0x50308f=_0x25fdaf;const _0x11c2b2=await super[_0x50308f(0x3ab)]();return this[_0x50308f(0x49f)](this[_0x50308f(0x437)][_0x50308f(0x21f)]((_0x187f96,_0x130838)=>{var _0x2d9f33=_0x50308f;if(_0x187f96[_0x2d9f33(0x2fa)]!==a[_0x2d9f33(0x299)][_0x2d9f33(0x47b)]||_0x130838!=null&&_0x130838[_0x2d9f33(0x2bf)]||_0x130838!=null&&_0x130838[_0x2d9f33(0x37f)])return;const _0x1a9f08=_0x187f96[_0x2d9f33(0x38e)];if((_0x1a9f08==null?void 0x0:_0x1a9f08[_0x2d9f33(0x468)])!==this[_0x2d9f33(0x2fd)])return;const _0x3f2434=_0x187f96,_0x4f55d4=this[_0x2d9f33(0x20f)][_0x2d9f33(0x209)][_0x2d9f33(0x25f)](this[_0x2d9f33(0x20f)]['interceptor'][_0x2d9f33(0x40d)]()[_0x2d9f33(0x1d3)])([_0x3f2434],null)||[_0x3f2434];this['_onLocalMutation'](_0x4f55d4[0x0]);})),_0x11c2b2;}},exports['SheetCollaborationEntity']=Fe([j(0x3,a[_0x25fdaf(0x3a5)](a['Injector'])),j(0x4,a[_0x25fdaf(0x3a5)](I[_0x25fdaf(0x34c)])),j(0x5,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x492)])),j(0x6,a['Inject'](I[_0x25fdaf(0x2fe)])),j(0x7,a['Inject'](exports['SheetTransformSelectionsService'])),j(0x8,a[_0x25fdaf(0x3a5)](ee)),j(0x9,a[_0x25fdaf(0x248)]),j(0xa,a[_0x25fdaf(0x464)]),j(0xb,a[_0x25fdaf(0x1cc)]),j(0xc,a[_0x25fdaf(0x44b)](de)),j(0xd,a[_0x25fdaf(0x44b)](q))],exports[_0x25fdaf(0x383)]);var Si=Object['getOwnPropertyDescriptor'],fi=(_0x22ba67,_0x23a502,_0x217c0e,_0x52dd76)=>{var _0x17c38c=_0x25fdaf;for(var _0x231daa=_0x52dd76>0x1?void 0x0:_0x52dd76?Si(_0x23a502,_0x217c0e):_0x23a502,_0x18478a=_0x22ba67[_0x17c38c(0x27c)]-0x1,_0x156510;_0x18478a>=0x0;_0x18478a--)(_0x156510=_0x22ba67[_0x18478a])&&(_0x231daa=_0x156510(_0x231daa)||_0x231daa);return _0x231daa;},Se=(_0x5f4039,_0x5d0a19)=>(_0x198402,_0x5ce057)=>_0x5d0a19(_0x198402,_0x5ce057,_0x5f4039);exports['CollaborationController']=class extends a['RxDisposable']{constructor(_0x4cb84b,_0x1b9079,_0x3f26d7,_0xd4855d){var _0x245111=_0x25fdaf,_0x11273d;super(),A(this,_0x245111(0x29e),new Map()),A(this,_0x245111(0x526),new $[(_0x245111(0x23d))]()),A(this,_0x245111(0x44c),this[_0x245111(0x526)][_0x245111(0x266)]()),(this[_0x245111(0x307)]=_0x4cb84b,this[_0x245111(0x4ed)]=_0x1b9079,this[_0x245111(0x2f0)]=_0x3f26d7,this[_0x245111(0x43b)]=_0xd4855d,((_0x11273d=this['_configService'][_0x245111(0x507)](K))==null?void 0x0:_0x11273d[_0x245111(0x3b5)])!==!0x1&&this[_0x245111(0x3ab)]());}['dispose'](){var _0x5870cd=_0x25fdaf;super[_0x5870cd(0x465)](),this[_0x5870cd(0x29e)][_0x5870cd(0x265)](_0xc9fada=>_0xc9fada[_0x5870cd(0x465)]()),this[_0x5870cd(0x29e)][_0x5870cd(0x3e9)]();}[_0x25fdaf(0x26e)](_0xf706b9){var _0x1d9cca=_0x25fdaf,_0x4bcd7f;return(_0x4bcd7f=this[_0x1d9cca(0x29e)]['get'](_0xf706b9))!=null?_0x4bcd7f:null;}[_0x25fdaf(0x2db)](_0x1eccb7){var _0x28c22c=_0x25fdaf;const _0x713189=this[_0x28c22c(0x26e)](_0x1eccb7);return _0x713189?$['of'](_0x713189):this[_0x28c22c(0x526)]['pipe'](V[_0x28c22c(0x42a)](_0x478865=>_0x478865[_0x28c22c(0x2fd)]===_0x1eccb7));}[_0x25fdaf(0x283)](_0x9d2b77){var _0x466089=_0x25fdaf;return $[_0x466089(0x3c2)](this['getCollabEntity$'](_0x9d2b77)[_0x466089(0x310)](V[_0x466089(0x1ba)](()=>{})));}[_0x25fdaf(0x3ab)](){var _0x35adb2=_0x25fdaf;this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x35adb2(0x31e)][_0x35adb2(0x3f5)])[_0x35adb2(0x310)]($[_0x35adb2(0x1b1)](this[_0x35adb2(0x3e6)]),V[_0x35adb2(0x394)](0x10))['subscribe'](async _0x56d6f6=>{var _0x81e8a0=_0x35adb2;const _0x21b830=_0x56d6f6['getUnitId'](),_0x1415e1=await this[_0x81e8a0(0x3a3)](_0x21b830,J['UNIVER_SHEET']);this[_0x81e8a0(0x29e)][_0x81e8a0(0x397)](_0x21b830,_0x1415e1);}),this[_0x35adb2(0x43b)][_0x35adb2(0x393)](a['UniverInstanceType'][_0x35adb2(0x1e0)])[_0x35adb2(0x310)]($['takeUntil'](this[_0x35adb2(0x3e6)]),V[_0x35adb2(0x394)](0x10))[_0x35adb2(0x310)](V[_0x35adb2(0x42a)](_0x19b80a=>!_0x19b80a[_0x35adb2(0x3dc)]()['startsWith']('__')))[_0x35adb2(0x4dd)](async _0x6de9d7=>{var _0x4ec0d7=_0x35adb2;const _0x3f10ea=_0x6de9d7[_0x4ec0d7(0x3dc)](),_0x378925=await this[_0x4ec0d7(0x3a3)](_0x3f10ea,J[_0x4ec0d7(0x1e0)]);this[_0x4ec0d7(0x29e)]['set'](_0x3f10ea,_0x378925);}),$[_0x35adb2(0x4d1)](this['_univerInstanceService'][_0x35adb2(0x201)](a[_0x35adb2(0x31e)][_0x35adb2(0x3f5)]),this[_0x35adb2(0x43b)][_0x35adb2(0x201)](a[_0x35adb2(0x31e)][_0x35adb2(0x1e0)]))[_0x35adb2(0x310)]($[_0x35adb2(0x1b1)](this[_0x35adb2(0x3e6)]))['subscribe'](_0x1a0ab4=>{var _0x2c82e0=_0x35adb2;const _0x195483=_0x1a0ab4[_0x2c82e0(0x3dc)](),_0x386827=this[_0x2c82e0(0x29e)][_0x2c82e0(0x4bb)](_0x195483);_0x386827&&(_0x386827[_0x2c82e0(0x465)](),this[_0x2c82e0(0x29e)][_0x2c82e0(0x257)](_0x195483));});}async['_startCollaboration'](_0x1f484f,_0x4984dd){var _0x58a474=_0x25fdaf;const _0x41f8fb=await this['_collabSessionService']['requireSession'](_0x1f484f),_0x318127=this[_0x58a474(0x307)][_0x58a474(0x277)](this['_getCtorByUniverType'](_0x4984dd),_0x1f484f,_0x4984dd,_0x41f8fb);return await _0x318127[_0x58a474(0x27b)](),this[_0x58a474(0x526)][_0x58a474(0x44d)](_0x318127),_0x318127;}[_0x25fdaf(0x451)](_0x3479c6){var _0x469876=_0x25fdaf;switch(_0x3479c6){case J['UNIVER_DOC']:return exports[_0x469876(0x521)];case J[_0x469876(0x3f5)]:return exports[_0x469876(0x383)];default:throw new Error(_0x469876(0x46f)+_0x3479c6);}}},exports[_0x25fdaf(0x2ce)]=fi([Se(0x0,a[_0x25fdaf(0x3a5)](a['Injector'])),Se(0x1,a['Inject'](exports[_0x25fdaf(0x440)])),Se(0x2,a['IConfigService']),Se(0x3,a[_0x25fdaf(0x379)])],exports[_0x25fdaf(0x2ce)]);var pi=Object[_0x25fdaf(0x4ca)],Ii=(_0x22b5c2,_0x1fbbc5,_0x3045d3,_0x49c145)=>{var _0xfa814d=_0x25fdaf;for(var _0x4b0cf6=_0x49c145>0x1?void 0x0:_0x49c145?pi(_0x1fbbc5,_0x3045d3):_0x1fbbc5,_0x20108f=_0x22b5c2[_0xfa814d(0x27c)]-0x1,_0x480e4d;_0x20108f>=0x0;_0x20108f--)(_0x480e4d=_0x22b5c2[_0x20108f])&&(_0x4b0cf6=_0x480e4d(_0x4b0cf6)||_0x4b0cf6);return _0x4b0cf6;},Ye=(_0x25a204,_0x1296d9)=>(_0x45ea08,_0x13821b)=>_0x1296d9(_0x45ea08,_0x13821b,_0x25a204);const gi='DEFAULT_FILE_NAME',Ei='Univer';let xe=class extends a['Disposable']{constructor(_0x3f2620,_0x46c340){var _0x408f4f=_0x25fdaf;super(),this[_0x408f4f(0x43b)]=_0x3f2620,this[_0x408f4f(0x2f0)]=_0x46c340,this[_0x408f4f(0x3ab)]();}[_0x25fdaf(0x3ab)](){var _0x4613b6=_0x25fdaf;this[_0x4613b6(0x49f)](this[_0x4613b6(0x43b)][_0x4613b6(0x3bb)][_0x4613b6(0x4dd)](()=>{var _0x1ef3a3=_0x4613b6,_0x1c302e;const _0x41b139=this[_0x1ef3a3(0x43b)][_0x1ef3a3(0x4f9)]();let _0x347fb5=(_0x1c302e=this[_0x1ef3a3(0x2f0)]['getConfig'](gi))!=null?_0x1c302e:Ei;_0x41b139 instanceof a[_0x1ef3a3(0x25c)]&&(_0x347fb5=_0x41b139[_0x1ef3a3(0x280)]),document[_0x1ef3a3(0x471)]=_0x347fb5;}));}};xe=Ii([Ye(0x0,a[_0x25fdaf(0x379)]),Ye(0x1,a[_0x25fdaf(0x2e1)])],xe);var mi=Object['getOwnPropertyDescriptor'],Ci=(_0x645e89,_0x12252f,_0x4074b3,_0x59f3ca)=>{for(var _0x486f60=_0x59f3ca>0x1?void 0x0:_0x59f3ca?mi(_0x12252f,_0x4074b3):_0x12252f,_0x2308e3=_0x645e89['length']-0x1,_0x30616c;_0x2308e3>=0x0;_0x2308e3--)(_0x30616c=_0x645e89[_0x2308e3])&&(_0x486f60=_0x30616c(_0x486f60)||_0x486f60);return _0x486f60;},Ae=(_0x2e7847,_0xd2c310)=>(_0x222dc0,_0x5d4978)=>_0xd2c310(_0x222dc0,_0x5d4978,_0x2e7847);let ye=class{constructor(_0x10f1f1,_0x140852,_0x1ee55c){var _0x150504=_0x25fdaf;this[_0x150504(0x2f0)]=_0x10f1f1,this[_0x150504(0x35c)]=_0x140852,this['localeService']=_0x1ee55c,this[_0x150504(0x27b)]();}[_0x25fdaf(0x27b)](){var _0xf3d4c0=_0x25fdaf;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x225fb4,_0x448933)=>_0x448933(_0x225fb4)[_0xf3d4c0(0x310)]($[_0xf3d4c0(0x47f)](async _0x58dcda=>{var _0x485158=_0xf3d4c0;const _0x3ff2c8=_0x58dcda;if(_0x3ff2c8[_0x485158(0x403)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x485158(0x360)](this[_0x485158(0x361)]['t'](_0x485158(0x2bd)))){const _0x32d52a=window['encodeURIComponent'](window[_0x485158(0x51d)][_0x485158(0x32f)]);window['location'][_0x485158(0x32f)]=this[_0x485158(0x485)]()+'?url='+_0x32d52a;}}return _0x3ff2c8;}))});}[_0x25fdaf(0x485)](){var _0x2a7184=_0x25fdaf,_0x130bc9,_0x2a8e73;const _0x155558=this[_0x2a7184(0x2f0)]['getConfig'](It),_0x496053=this[_0x2a7184(0x2f0)][_0x2a7184(0x507)](K);return(_0x2a8e73=(_0x130bc9=_0x496053==null?void 0x0:_0x496053[_0x2a7184(0x1fe)])!=null?_0x130bc9:_0x155558)!=null?_0x2a8e73:Wt;}};ye=Ci([Ae(0x0,a[_0x25fdaf(0x2e1)]),Ae(0x1,a[_0x25fdaf(0x3a5)](Y[_0x25fdaf(0x3b9)])),Ae(0x2,a[_0x25fdaf(0x3a5)](a['LocaleService']))],ye);var Ti=Object[_0x25fdaf(0x4ca)],bi=(_0x53f939,_0x386d36,_0x25f841,_0x3fbe60)=>{var _0x3872b4=_0x25fdaf;for(var _0x1d39cc=_0x3fbe60>0x1?void 0x0:_0x3fbe60?Ti(_0x386d36,_0x25f841):_0x386d36,_0x1caeeb=_0x53f939[_0x3872b4(0x27c)]-0x1,_0xa95650;_0x1caeeb>=0x0;_0x1caeeb--)(_0xa95650=_0x53f939[_0x1caeeb])&&(_0x1d39cc=_0xa95650(_0x1d39cc)||_0x1d39cc);return _0x1d39cc;},qe=(_0x552ea1,_0xebb1e1)=>(_0x41031c,_0x148ed7)=>_0xebb1e1(_0x41031c,_0x148ed7,_0x552ea1);const Ve=_0x25fdaf(0x305),Ri=_0x25fdaf(0x404);exports['AuthzIoHttpService']=class extends a[_0x25fdaf(0x2a0)]{constructor(_0x2e61fd,_0x37e68b){var _0xbdd78d=_0x25fdaf;super(),this[_0xbdd78d(0x21e)]=_0x2e61fd,this[_0xbdd78d(0x2f0)]=_0x37e68b,this[_0xbdd78d(0x483)]();}['_initMergeInterceptor'](){var _0x3d5aff=_0x25fdaf;const _0x56212e=this;this['disposeWithMe'](this['_HTTPService'][_0x3d5aff(0x2aa)]({'priority':0x3e7,'interceptor':Y[_0x3d5aff(0x21a)]({'isMatch'(_0x263f0d){var _0x244911=_0x3d5aff,_0x510d33;if(_0x263f0d['method']==='POST'&&((_0x510d33=_0x263f0d[_0x244911(0x1ed)])!=null&&_0x510d33['body'])){const {objectID:_0xceeeea,objectType:_0x544cf8}=_0x263f0d[_0x244911(0x1ed)]['body']||{};if(!_0xceeeea||_0x544cf8===void 0x0)return!0x1;const _0x3e9aed=_0x56212e['_getAPIPrefixPath']()+'/'+_0x544cf8+'/object/'+_0xceeeea+_0x244911(0x304);if(_0x263f0d[_0x244911(0x213)]===_0x3e9aed)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5434e9){var _0x42335e=_0x3d5aff,_0x17027d;return(_0x17027d=_0x5434e9[_0x42335e(0x1ed)])==null?void 0x0:_0x17027d[_0x42335e(0x223)];},'mergeParamsToRequest'(_0x40f98a,_0x44af5d){var _0x570335=_0x3d5aff;const _0x2106c1=_0x56212e[_0x570335(0x1c4)]()+_0x570335(0x3de),_0x3baf75=_0x40f98a[_0x570335(0x374)]((_0x38c14e,_0x3419a2)=>{var _0x953fab=_0x570335;const {unitID:_0x4d1c6f,objectID:_0x3ccd98,objectType:_0x2e0711,actions:_0x36dd9d}=_0x3419a2;return _0x38c14e[_0x4d1c6f]||(_0x38c14e[_0x4d1c6f]={}),_0x38c14e[_0x4d1c6f][_0x3ccd98]||(_0x38c14e[_0x4d1c6f][_0x3ccd98]={'objectID':_0x3ccd98,'objectType':_0x2e0711,'actions':[]}),_0x38c14e[_0x4d1c6f][_0x3ccd98][_0x953fab(0x312)]['push'](..._0x36dd9d),_0x38c14e;},{}),_0x2f47c4=[];for(const _0x915e8e in _0x3baf75)for(const _0x25f4b0 in _0x3baf75[_0x915e8e]){const {actions:_0x5883ff,objectType:_0x51bf2e}=_0x3baf75[_0x915e8e][_0x25f4b0],_0x400ab2=[...new Set(_0x5883ff)];_0x2f47c4['push']({'unitID':_0x915e8e,'objectID':_0x25f4b0,'objectType':_0x51bf2e,'actions':_0x400ab2});}return new Y[(_0x570335(0x295))](_0x570335(0x28c),_0x2106c1,{'headers':_0x44af5d[_0x570335(0x1b7)],'withCredentials':_0x44af5d[_0x570335(0x387)],'responseType':_0x44af5d[_0x570335(0x2a2)],'body':{'requests':_0x2f47c4}});}},{'distributeResult'(_0x15e9a2,_0x41c2ec){const {objectActions:_0x5bc5be}=_0x15e9a2;return _0x41c2ec['map'](_0x43cab6=>{var _0x5a8e1f=_0x305e;const {unitID:_0x3855f5,objectID:_0x245210,actions:_0x4c6f5d}=_0x43cab6,_0x820627=_0x5bc5be[_0x5a8e1f(0x371)](_0x178e15=>_0x178e15[_0x5a8e1f(0x2fd)]===_0x3855f5&&_0x178e15['objectID']===_0x245210),_0x2cb9dc=_0x4c6f5d[_0x5a8e1f(0x1ba)](_0x5d5c98=>_0x820627==null?void 0x0:_0x820627[_0x5a8e1f(0x312)][_0x5a8e1f(0x371)](_0x35c4af=>_0x35c4af[_0x5a8e1f(0x3da)]===_0x5d5c98))['filter'](_0x4c401b=>!!_0x4c401b);return{'config':_0x43cab6,'result':{'actions':_0x2cb9dc,'error':_0x15e9a2[_0x5a8e1f(0x2d3)]}};});}})}));}[_0x25fdaf(0x1c4)](){var _0x48c022=_0x25fdaf,_0x161049,_0x470d05;const _0x403753=this[_0x48c022(0x2f0)][_0x48c022(0x507)](Ve),_0x1da2a6=this[_0x48c022(0x2f0)][_0x48c022(0x507)](K);return(_0x470d05=(_0x161049=_0x1da2a6==null?void 0x0:_0x1da2a6[_0x48c022(0x4dc)])!=null?_0x161049:_0x403753)!=null?_0x470d05:Ri;}async[_0x25fdaf(0x2f2)](_0x27ad95){var _0x990b17=_0x25fdaf;const _0x27c8da=this[_0x990b17(0x1c4)]()+'/'+_0x27ad95[_0x990b17(0x1c7)]+_0x990b17(0x460);return(await this[_0x990b17(0x21e)][_0x990b17(0x22e)](_0x27c8da,{'body':_0x27ad95}))[_0x990b17(0x223)][_0x990b17(0x2c6)]||'';}async[_0x25fdaf(0x331)](_0x15ed9b){var _0x1bb2fa=_0x25fdaf;const _0x329e22=this[_0x1bb2fa(0x1c4)]()+'/-/object/list';return(await this[_0x1bb2fa(0x21e)]['post'](_0x329e22,{'body':_0x15ed9b}))[_0x1bb2fa(0x223)][_0x1bb2fa(0x1fc)];}async[_0x25fdaf(0x366)](_0x2dfa4b){var _0x5cc8df=_0x25fdaf,_0x2fde7b,_0x516d79;const _0x520f8e=this[_0x5cc8df(0x1c4)]()+'/'+_0x2dfa4b['objectType']+_0x5cc8df(0x4bd)+_0x2dfa4b[_0x5cc8df(0x2c6)],_0x42947e=await this[_0x5cc8df(0x21e)]['put'](_0x520f8e,{'body':_0x2dfa4b});if(((_0x516d79=(_0x2fde7b=_0x42947e==null?void 0x0:_0x42947e[_0x5cc8df(0x223)])==null?void 0x0:_0x2fde7b[_0x5cc8df(0x2d3)])==null?void 0x0:_0x516d79[_0x5cc8df(0x3ad)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x25fdaf(0x3df)](_0x28492c){var _0x300aaf=_0x25fdaf;const _0x2fca25=this['_getAPIPrefixPath']()+'/'+_0x28492c['objectType']+_0x300aaf(0x4bd)+_0x28492c['objectID']+'/allowed';return(await this[_0x300aaf(0x21e)][_0x300aaf(0x22e)](_0x2fca25,{'body':_0x28492c}))[_0x300aaf(0x223)][_0x300aaf(0x312)];}async[_0x25fdaf(0x4b9)](_0x5daea0){var _0x553c29=_0x25fdaf;const _0x22e92d=this[_0x553c29(0x1c4)]()+_0x553c29(0x3de);return(await this[_0x553c29(0x21e)][_0x553c29(0x22e)](_0x22e92d,{'body':{'requests':_0x5daea0}}))[_0x553c29(0x223)]['objectActions'];}async[_0x25fdaf(0x399)](_0x1cec5d){var _0x5da923=_0x25fdaf;const _0x370d07=this[_0x5da923(0x1c4)]()+'/'+_0x1cec5d[_0x5da923(0x1c7)]+'/role',_0x5be2b0=await this['_HTTPService'][_0x5da923(0x22e)](_0x370d07,{'body':_0x1cec5d});return{'roles':_0x5be2b0['body'][_0x5da923(0x261)],'actions':_0x5be2b0[_0x5da923(0x223)][_0x5da923(0x312)]};}async['deleteCollaborator'](_0x49f04c){var _0xba869c=_0x25fdaf;const _0x5a95c5=this[_0xba869c(0x1c4)]()+_0xba869c(0x251);await this[_0xba869c(0x21e)][_0xba869c(0x257)](_0x5a95c5,{'params':{'collaboratorID':_0x49f04c[_0xba869c(0x267)],'objectID':_0x49f04c['objectID'],'unitID':_0x49f04c[_0xba869c(0x2fd)]}});}async[_0x25fdaf(0x4f3)](_0x5568cc){var _0x49d7a7=_0x25fdaf;const _0x5bb4e6=this['_getAPIPrefixPath']()+_0x49d7a7(0x251);await this['_HTTPService']['patch'](_0x5bb4e6,{'body':_0x5568cc});}async[_0x25fdaf(0x3e5)](_0x1dcb77){var _0x39121d=_0x25fdaf;const _0x1e7250=this[_0x39121d(0x1c4)]()+_0x39121d(0x251);await this[_0x39121d(0x21e)][_0x39121d(0x22e)](_0x1e7250,{'body':_0x1dcb77});}async[_0x25fdaf(0x48b)](_0x10e347){var _0x1b9337=_0x25fdaf;const _0x5bec65=this['_getAPIPrefixPath']()+_0x1b9337(0x251);return(await this[_0x1b9337(0x21e)][_0x1b9337(0x4bb)](_0x5bec65,{'params':{'objectID':_0x10e347[_0x1b9337(0x2c6)],'unitID':_0x10e347[_0x1b9337(0x2fd)]}}))[_0x1b9337(0x223)]['collaborators'];}async['putCollaborators'](_0x3dc51c){var _0x2534de=_0x25fdaf;const _0x24a917=this[_0x2534de(0x1c4)]()+_0x2534de(0x251);await this[_0x2534de(0x21e)][_0x2534de(0x428)](_0x24a917,{'body':_0x3dc51c});}},exports['AuthzIoHttpService']=bi([qe(0x0,a[_0x25fdaf(0x3a5)](Y['HTTPService'])),qe(0x1,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x2e1)]))],exports[_0x25fdaf(0x4d6)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x5a21f0){var _0x271624=_0x25fdaf;return _0x5a21f0&&_0x5a21f0[_0x271624(0x32a)]&&Object[_0x271624(0x347)]['hasOwnProperty']['call'](_0x5a21f0,_0x271624(0x202))?_0x5a21f0[_0x271624(0x202)]:_0x5a21f0;}var fe={'exports':{}};function Oi(_0x4d83fc){var _0x350701=_0x25fdaf;throw new Error(_0x350701(0x2fb)+_0x4d83fc+_0x350701(0x24d));}var pe={'exports':{}},yi=pe[_0x25fdaf(0x238)],ze;function Q(){return ze||(ze=0x1,function(_0x3a40ea,_0x316625){(function(_0x5384ad,_0x8c4513){_0x3a40ea['exports']=_0x8c4513();}(yi,function(){var _0x30f888=_0x30f888||function(_0x5192fb,_0xff71c4){var _0x385e14=_0x305e,_0x2511ef;if(typeof window<'u'&&window[_0x385e14(0x25b)]&&(_0x2511ef=window[_0x385e14(0x25b)]),typeof self<'u'&&self[_0x385e14(0x25b)]&&(_0x2511ef=self[_0x385e14(0x25b)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x2511ef=globalThis['crypto']),!_0x2511ef&&typeof window<'u'&&window[_0x385e14(0x36c)]&&(_0x2511ef=window[_0x385e14(0x36c)]),!_0x2511ef&&typeof Pe<'u'&&Pe['crypto']&&(_0x2511ef=Pe[_0x385e14(0x25b)]),!_0x2511ef&&typeof Oi==_0x385e14(0x442))try{_0x2511ef=require(_0x385e14(0x25b));}catch{}var _0x21e2e6=function(){var _0x204a09=_0x385e14;if(_0x2511ef){if(typeof _0x2511ef[_0x204a09(0x36d)]==_0x204a09(0x442))try{return _0x2511ef['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2511ef[_0x204a09(0x3c5)]=='function')try{return _0x2511ef[_0x204a09(0x3c5)](0x4)[_0x204a09(0x2a1)]();}catch{}}throw new Error(_0x204a09(0x1f1));},_0x47f1a4=Object[_0x385e14(0x2f2)]||(function(){function _0x12b055(){}return function(_0x1254c5){var _0x59aa2c=_0x305e,_0x5783e9;return _0x12b055['prototype']=_0x1254c5,_0x5783e9=new _0x12b055(),_0x12b055[_0x59aa2c(0x347)]=null,_0x5783e9;};}()),_0x1ded77={},_0x27256d=_0x1ded77[_0x385e14(0x2d8)]={},_0x3d8b87=_0x27256d[_0x385e14(0x286)]=(function(){return{'extend':function(_0x318470){var _0xc09889=_0x305e,_0x4dca22=_0x47f1a4(this);return _0x318470&&_0x4dca22[_0xc09889(0x28d)](_0x318470),(!_0x4dca22['hasOwnProperty'](_0xc09889(0x27b))||this[_0xc09889(0x27b)]===_0x4dca22[_0xc09889(0x27b)])&&(_0x4dca22[_0xc09889(0x27b)]=function(){var _0x4f0b1d=_0xc09889;_0x4dca22['$super']['init'][_0x4f0b1d(0x41e)](this,arguments);}),_0x4dca22['init']['prototype']=_0x4dca22,_0x4dca22['$super']=this,_0x4dca22;},'create':function(){var _0x7d0830=_0x305e,_0x253ef5=this[_0x7d0830(0x49e)]();return _0x253ef5[_0x7d0830(0x27b)]['apply'](_0x253ef5,arguments),_0x253ef5;},'init':function(){},'mixIn':function(_0x389066){var _0x163564=_0x305e;for(var _0x50548c in _0x389066)_0x389066['hasOwnProperty'](_0x50548c)&&(this[_0x50548c]=_0x389066[_0x50548c]);_0x389066['hasOwnProperty'](_0x163564(0x49a))&&(this[_0x163564(0x49a)]=_0x389066[_0x163564(0x49a)]);},'clone':function(){var _0xb5657c=_0x305e;return this[_0xb5657c(0x27b)][_0xb5657c(0x347)][_0xb5657c(0x49e)](this);}};}()),_0x3c733f=_0x27256d[_0x385e14(0x33f)]=_0x3d8b87[_0x385e14(0x49e)]({'init':function(_0x1b81d,_0x71336b){var _0x357335=_0x385e14;_0x1b81d=this['words']=_0x1b81d||[],_0x71336b!=_0xff71c4?this[_0x357335(0x1f9)]=_0x71336b:this[_0x357335(0x1f9)]=_0x1b81d['length']*0x4;},'toString':function(_0x3e4392){return(_0x3e4392||_0x472007)['stringify'](this);},'concat':function(_0x462fc1){var _0x8e5c6d=_0x385e14,_0x15e28a=this[_0x8e5c6d(0x3ef)],_0xae6f93=_0x462fc1[_0x8e5c6d(0x3ef)],_0x3bb03a=this[_0x8e5c6d(0x1f9)],_0x1e2211=_0x462fc1[_0x8e5c6d(0x1f9)];if(this['clamp'](),_0x3bb03a%0x4)for(var _0x5aaf8c=0x0;_0x5aaf8c<_0x1e2211;_0x5aaf8c++){var _0x3b0cc4=_0xae6f93[_0x5aaf8c>>>0x2]>>>0x18-_0x5aaf8c%0x4*0x8&0xff;_0x15e28a[_0x3bb03a+_0x5aaf8c>>>0x2]|=_0x3b0cc4<<0x18-(_0x3bb03a+_0x5aaf8c)%0x4*0x8;}else{for(var _0x212082=0x0;_0x212082<_0x1e2211;_0x212082+=0x4)_0x15e28a[_0x3bb03a+_0x212082>>>0x2]=_0xae6f93[_0x212082>>>0x2];}return this['sigBytes']+=_0x1e2211,this;},'clamp':function(){var _0x42628e=_0x385e14,_0x3431e2=this[_0x42628e(0x3ef)],_0x23e9b6=this[_0x42628e(0x1f9)];_0x3431e2[_0x23e9b6>>>0x2]&=0xffffffff<<0x20-_0x23e9b6%0x4*0x8,_0x3431e2[_0x42628e(0x27c)]=_0x5192fb[_0x42628e(0x274)](_0x23e9b6/0x4);},'clone':function(){var _0x3cf1da=_0x385e14,_0x2c7e03=_0x3d8b87['clone'][_0x3cf1da(0x1d5)](this);return _0x2c7e03[_0x3cf1da(0x3ef)]=this[_0x3cf1da(0x3ef)][_0x3cf1da(0x23b)](0x0),_0x2c7e03;},'random':function(_0x4b46a1){var _0x49796d=_0x385e14;for(var _0x5ca9b7=[],_0x332f82=0x0;_0x332f82<_0x4b46a1;_0x332f82+=0x4)_0x5ca9b7[_0x49796d(0x46e)](_0x21e2e6());return new _0x3c733f[(_0x49796d(0x27b))](_0x5ca9b7,_0x4b46a1);}}),_0x3e9587=_0x1ded77[_0x385e14(0x419)]={},_0x472007=_0x3e9587[_0x385e14(0x3f1)]={'stringify':function(_0x4c7363){var _0x3c3b92=_0x385e14;for(var _0x3f7255=_0x4c7363[_0x3c3b92(0x3ef)],_0x207e84=_0x4c7363['sigBytes'],_0x900d9c=[],_0xe285c7=0x0;_0xe285c7<_0x207e84;_0xe285c7++){var _0x376048=_0x3f7255[_0xe285c7>>>0x2]>>>0x18-_0xe285c7%0x4*0x8&0xff;_0x900d9c['push']((_0x376048>>>0x4)[_0x3c3b92(0x49a)](0x10)),_0x900d9c[_0x3c3b92(0x46e)]((_0x376048&0xf)[_0x3c3b92(0x49a)](0x10));}return _0x900d9c['join']('');},'parse':function(_0x3bf176){var _0x52fd40=_0x385e14;for(var _0x4f6bef=_0x3bf176[_0x52fd40(0x27c)],_0x1d113d=[],_0x247687=0x0;_0x247687<_0x4f6bef;_0x247687+=0x2)_0x1d113d[_0x247687>>>0x3]|=parseInt(_0x3bf176['substr'](_0x247687,0x2),0x10)<<0x18-_0x247687%0x8*0x4;return new _0x3c733f[(_0x52fd40(0x27b))](_0x1d113d,_0x4f6bef/0x2);}},_0xfede49=_0x3e9587[_0x385e14(0x28e)]={'stringify':function(_0x18c447){var _0x593fc1=_0x385e14;for(var _0x42e9d1=_0x18c447[_0x593fc1(0x3ef)],_0x471c6f=_0x18c447['sigBytes'],_0x25a5e3=[],_0x1ab386=0x0;_0x1ab386<_0x471c6f;_0x1ab386++){var _0x139ee9=_0x42e9d1[_0x1ab386>>>0x2]>>>0x18-_0x1ab386%0x4*0x8&0xff;_0x25a5e3[_0x593fc1(0x46e)](String[_0x593fc1(0x37b)](_0x139ee9));}return _0x25a5e3[_0x593fc1(0x2bc)]('');},'parse':function(_0x35d808){var _0x3e0586=_0x385e14;for(var _0x50c108=_0x35d808[_0x3e0586(0x27c)],_0x1f2877=[],_0x1d47bd=0x0;_0x1d47bd<_0x50c108;_0x1d47bd++)_0x1f2877[_0x1d47bd>>>0x2]|=(_0x35d808[_0x3e0586(0x24f)](_0x1d47bd)&0xff)<<0x18-_0x1d47bd%0x4*0x8;return new _0x3c733f[(_0x3e0586(0x27b))](_0x1f2877,_0x50c108);}},_0x2d170d=_0x3e9587[_0x385e14(0x4f0)]={'stringify':function(_0x3c72ac){var _0x3db021=_0x385e14;try{return decodeURIComponent(escape(_0xfede49[_0x3db021(0x4eb)](_0x3c72ac)));}catch{throw new Error(_0x3db021(0x3cd));}},'parse':function(_0x40f5d3){var _0xf06c8c=_0x385e14;return _0xfede49[_0xf06c8c(0x3ed)](unescape(encodeURIComponent(_0x40f5d3)));}},_0x1535ce=_0x27256d[_0x385e14(0x41a)]=_0x3d8b87['extend']({'reset':function(){var _0x12ffc1=_0x385e14;this[_0x12ffc1(0x376)]=new _0x3c733f['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x3817bc){var _0x5fc665=_0x385e14;typeof _0x3817bc==_0x5fc665(0x42b)&&(_0x3817bc=_0x2d170d[_0x5fc665(0x3ed)](_0x3817bc)),this['_data'][_0x5fc665(0x221)](_0x3817bc),this['_nDataBytes']+=_0x3817bc[_0x5fc665(0x1f9)];},'_process':function(_0xb3b001){var _0x2fea74=_0x385e14,_0xc0886,_0x5ec077=this['_data'],_0xa1474a=_0x5ec077[_0x2fea74(0x3ef)],_0x356cd3=_0x5ec077[_0x2fea74(0x1f9)],_0x511597=this[_0x2fea74(0x1b9)],_0x491883=_0x511597*0x4,_0x1ac4b6=_0x356cd3/_0x491883;_0xb3b001?_0x1ac4b6=_0x5192fb['ceil'](_0x1ac4b6):_0x1ac4b6=_0x5192fb['max']((_0x1ac4b6|0x0)-this['_minBufferSize'],0x0);var _0x473086=_0x1ac4b6*_0x511597,_0x3aa842=_0x5192fb['min'](_0x473086*0x4,_0x356cd3);if(_0x473086){for(var _0x246cae=0x0;_0x246cae<_0x473086;_0x246cae+=_0x511597)this[_0x2fea74(0x4b8)](_0xa1474a,_0x246cae);_0xc0886=_0xa1474a['splice'](0x0,_0x473086),_0x5ec077['sigBytes']-=_0x3aa842;}return new _0x3c733f[(_0x2fea74(0x27b))](_0xc0886,_0x3aa842);},'clone':function(){var _0x13d2e5=_0x385e14,_0x516e15=_0x3d8b87[_0x13d2e5(0x41f)]['call'](this);return _0x516e15['_data']=this['_data'][_0x13d2e5(0x41f)](),_0x516e15;},'_minBufferSize':0x0});_0x27256d[_0x385e14(0x4b6)]=_0x1535ce[_0x385e14(0x49e)]({'cfg':_0x3d8b87[_0x385e14(0x49e)](),'init':function(_0x21b960){var _0x444c53=_0x385e14;this['cfg']=this[_0x444c53(0x28f)][_0x444c53(0x49e)](_0x21b960),this[_0x444c53(0x3d8)]();},'reset':function(){var _0x3c81ff=_0x385e14;_0x1535ce['reset'][_0x3c81ff(0x1d5)](this),this[_0x3c81ff(0x4f5)]();},'update':function(_0x1e4db0){var _0x26ccf9=_0x385e14;return this['_append'](_0x1e4db0),this[_0x26ccf9(0x3ae)](),this;},'finalize':function(_0x220481){var _0x523075=_0x385e14;_0x220481&&this[_0x523075(0x1e7)](_0x220481);var _0x3388ef=this['_doFinalize']();return _0x3388ef;},'blockSize':0x10,'_createHelper':function(_0x53594a){return function(_0x5dad1d,_0x4616cb){return new _0x53594a['init'](_0x4616cb)['finalize'](_0x5dad1d);};},'_createHmacHelper':function(_0x356ef4){return function(_0x47835f,_0x2c61f0){var _0x11dad4=_0x305e;return new _0x213d70[(_0x11dad4(0x3d9))]['init'](_0x356ef4,_0x2c61f0)['finalize'](_0x47835f);};}});var _0x213d70=_0x1ded77[_0x385e14(0x3bd)]={};return _0x1ded77;}(Math);return _0x30f888;}));}(pe)),pe['exports'];}var Ie={'exports':{}},Ni=Ie['exports'],Je;function yt(){var _0x116511=_0x25fdaf;return Je||(Je=0x1,function(_0x4730d2,_0xbb1936){(function(_0x5538aa,_0xc86d81){_0x4730d2['exports']=_0xc86d81(Q());}(Ni,function(_0x46e55b){var _0x14a99f=_0x305e;return(function(){var _0x39120b=_0x305e,_0x44e1bc=_0x46e55b,_0x1f338e=_0x44e1bc[_0x39120b(0x2d8)],_0x1ef88c=_0x1f338e[_0x39120b(0x33f)],_0x4a577e=_0x44e1bc['enc'];_0x4a577e['Base64']={'stringify':function(_0x579762){var _0x2dddcf=_0x39120b,_0x4bafc8=_0x579762[_0x2dddcf(0x3ef)],_0x182184=_0x579762[_0x2dddcf(0x1f9)],_0x2667a8=this[_0x2dddcf(0x212)];_0x579762['clamp']();for(var _0x1a6149=[],_0x1a0fe0=0x0;_0x1a0fe0<_0x182184;_0x1a0fe0+=0x3)for(var _0x15b230=_0x4bafc8[_0x1a0fe0>>>0x2]>>>0x18-_0x1a0fe0%0x4*0x8&0xff,_0x485bca=_0x4bafc8[_0x1a0fe0+0x1>>>0x2]>>>0x18-(_0x1a0fe0+0x1)%0x4*0x8&0xff,_0x9c8d3d=_0x4bafc8[_0x1a0fe0+0x2>>>0x2]>>>0x18-(_0x1a0fe0+0x2)%0x4*0x8&0xff,_0xa3c073=_0x15b230<<0x10|_0x485bca<<0x8|_0x9c8d3d,_0x312bfa=0x0;_0x312bfa<0x4&&_0x1a0fe0+_0x312bfa*0.75<_0x182184;_0x312bfa++)_0x1a6149[_0x2dddcf(0x46e)](_0x2667a8[_0x2dddcf(0x4cc)](_0xa3c073>>>0x6*(0x3-_0x312bfa)&0x3f));var _0x535941=_0x2667a8[_0x2dddcf(0x4cc)](0x40);if(_0x535941){for(;_0x1a6149[_0x2dddcf(0x27c)]%0x4;)_0x1a6149[_0x2dddcf(0x46e)](_0x535941);}return _0x1a6149['join']('');},'parse':function(_0x57c48b){var _0x9ba3a2=_0x39120b,_0x1c99b0=_0x57c48b['length'],_0x246f0c=this['_map'],_0x992b0c=this[_0x9ba3a2(0x31b)];if(!_0x992b0c){_0x992b0c=this[_0x9ba3a2(0x31b)]=[];for(var _0x2e66f=0x0;_0x2e66f<_0x246f0c[_0x9ba3a2(0x27c)];_0x2e66f++)_0x992b0c[_0x246f0c['charCodeAt'](_0x2e66f)]=_0x2e66f;}var _0x562adf=_0x246f0c[_0x9ba3a2(0x4cc)](0x40);if(_0x562adf){var _0x295fba=_0x57c48b[_0x9ba3a2(0x416)](_0x562adf);_0x295fba!==-0x1&&(_0x1c99b0=_0x295fba);}return _0x1451c3(_0x57c48b,_0x1c99b0,_0x992b0c);},'_map':_0x39120b(0x4d2)};function _0x1451c3(_0x5c54fb,_0x2fa08e,_0x4e1d2d){var _0x2e61ac=_0x39120b;for(var _0x3843f3=[],_0x5a989f=0x0,_0x122af4=0x0;_0x122af4<_0x2fa08e;_0x122af4++)if(_0x122af4%0x4){var _0x463c0e=_0x4e1d2d[_0x5c54fb[_0x2e61ac(0x24f)](_0x122af4-0x1)]<<_0x122af4%0x4*0x2,_0x9b0ea2=_0x4e1d2d[_0x5c54fb['charCodeAt'](_0x122af4)]>>>0x6-_0x122af4%0x4*0x2,_0x22d72d=_0x463c0e|_0x9b0ea2;_0x3843f3[_0x5a989f>>>0x2]|=_0x22d72d<<0x18-_0x5a989f%0x4*0x8,_0x5a989f++;}return _0x1ef88c[_0x2e61ac(0x2f2)](_0x3843f3,_0x5a989f);}}()),_0x46e55b['enc'][_0x14a99f(0x3b7)];}));}(Ie)),Ie[_0x116511(0x238)];}var ge={'exports':{}},Ui=ge['exports'],Xe;function Di(){return Xe||(Xe=0x1,function(_0x3fe74b,_0x49f29e){(function(_0x5ecb64,_0x35ab40){_0x3fe74b['exports']=_0x35ab40(Q());}(Ui,function(_0x58f48b){return function(_0x178e07){var _0x440800=_0x305e,_0x3aa752=_0x58f48b,_0x5ac153=_0x3aa752[_0x440800(0x2d8)],_0x429165=_0x5ac153[_0x440800(0x33f)],_0x2aacf2=_0x5ac153[_0x440800(0x4b6)],_0xe0fd3e=_0x3aa752[_0x440800(0x3bd)],_0x5cb64f=[];(function(){var _0x22c477=_0x440800;for(var _0x1edc85=0x0;_0x1edc85<0x40;_0x1edc85++)_0x5cb64f[_0x1edc85]=_0x178e07[_0x22c477(0x4c2)](_0x178e07['sin'](_0x1edc85+0x1))*0x100000000|0x0;}());var _0x57b09c=_0xe0fd3e[_0x440800(0x4aa)]=_0x2aacf2['extend']({'_doReset':function(){this['_hash']=new _0x429165['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x49e2b2,_0x5e2372){var _0x458c86=_0x440800;for(var _0x150507=0x0;_0x150507<0x10;_0x150507++){var _0x3e1e47=_0x5e2372+_0x150507,_0x4ec260=_0x49e2b2[_0x3e1e47];_0x49e2b2[_0x3e1e47]=(_0x4ec260<<0x8|_0x4ec260>>>0x18)&0xff00ff|(_0x4ec260<<0x18|_0x4ec260>>>0x8)&0xff00ff00;}var _0x55db83=this['_hash'][_0x458c86(0x3ef)],_0xe640e5=_0x49e2b2[_0x5e2372+0x0],_0xcf3725=_0x49e2b2[_0x5e2372+0x1],_0x9042e7=_0x49e2b2[_0x5e2372+0x2],_0x4880ec=_0x49e2b2[_0x5e2372+0x3],_0x20eb3a=_0x49e2b2[_0x5e2372+0x4],_0x4e97ee=_0x49e2b2[_0x5e2372+0x5],_0x1912b0=_0x49e2b2[_0x5e2372+0x6],_0x4f06b0=_0x49e2b2[_0x5e2372+0x7],_0x29a7b8=_0x49e2b2[_0x5e2372+0x8],_0x1a6afc=_0x49e2b2[_0x5e2372+0x9],_0x2f372f=_0x49e2b2[_0x5e2372+0xa],_0x53e0b0=_0x49e2b2[_0x5e2372+0xb],_0x43a190=_0x49e2b2[_0x5e2372+0xc],_0x284067=_0x49e2b2[_0x5e2372+0xd],_0x1605ff=_0x49e2b2[_0x5e2372+0xe],_0x544bd4=_0x49e2b2[_0x5e2372+0xf],_0x29b11d=_0x55db83[0x0],_0x134c50=_0x55db83[0x1],_0x380219=_0x55db83[0x2],_0xdc2915=_0x55db83[0x3];_0x29b11d=_0x21075(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0xe640e5,0x7,_0x5cb64f[0x0]),_0xdc2915=_0x21075(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0xcf3725,0xc,_0x5cb64f[0x1]),_0x380219=_0x21075(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x9042e7,0x11,_0x5cb64f[0x2]),_0x134c50=_0x21075(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x4880ec,0x16,_0x5cb64f[0x3]),_0x29b11d=_0x21075(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x20eb3a,0x7,_0x5cb64f[0x4]),_0xdc2915=_0x21075(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x4e97ee,0xc,_0x5cb64f[0x5]),_0x380219=_0x21075(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x1912b0,0x11,_0x5cb64f[0x6]),_0x134c50=_0x21075(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x4f06b0,0x16,_0x5cb64f[0x7]),_0x29b11d=_0x21075(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x29a7b8,0x7,_0x5cb64f[0x8]),_0xdc2915=_0x21075(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x1a6afc,0xc,_0x5cb64f[0x9]),_0x380219=_0x21075(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x2f372f,0x11,_0x5cb64f[0xa]),_0x134c50=_0x21075(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x53e0b0,0x16,_0x5cb64f[0xb]),_0x29b11d=_0x21075(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x43a190,0x7,_0x5cb64f[0xc]),_0xdc2915=_0x21075(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x284067,0xc,_0x5cb64f[0xd]),_0x380219=_0x21075(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x1605ff,0x11,_0x5cb64f[0xe]),_0x134c50=_0x21075(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x544bd4,0x16,_0x5cb64f[0xf]),_0x29b11d=_0x220611(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0xcf3725,0x5,_0x5cb64f[0x10]),_0xdc2915=_0x220611(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x1912b0,0x9,_0x5cb64f[0x11]),_0x380219=_0x220611(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x53e0b0,0xe,_0x5cb64f[0x12]),_0x134c50=_0x220611(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0xe640e5,0x14,_0x5cb64f[0x13]),_0x29b11d=_0x220611(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x4e97ee,0x5,_0x5cb64f[0x14]),_0xdc2915=_0x220611(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x2f372f,0x9,_0x5cb64f[0x15]),_0x380219=_0x220611(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x544bd4,0xe,_0x5cb64f[0x16]),_0x134c50=_0x220611(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x20eb3a,0x14,_0x5cb64f[0x17]),_0x29b11d=_0x220611(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x1a6afc,0x5,_0x5cb64f[0x18]),_0xdc2915=_0x220611(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x1605ff,0x9,_0x5cb64f[0x19]),_0x380219=_0x220611(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x4880ec,0xe,_0x5cb64f[0x1a]),_0x134c50=_0x220611(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x29a7b8,0x14,_0x5cb64f[0x1b]),_0x29b11d=_0x220611(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x284067,0x5,_0x5cb64f[0x1c]),_0xdc2915=_0x220611(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x9042e7,0x9,_0x5cb64f[0x1d]),_0x380219=_0x220611(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x4f06b0,0xe,_0x5cb64f[0x1e]),_0x134c50=_0x220611(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x43a190,0x14,_0x5cb64f[0x1f]),_0x29b11d=_0x2086b2(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x4e97ee,0x4,_0x5cb64f[0x20]),_0xdc2915=_0x2086b2(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x29a7b8,0xb,_0x5cb64f[0x21]),_0x380219=_0x2086b2(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x53e0b0,0x10,_0x5cb64f[0x22]),_0x134c50=_0x2086b2(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x1605ff,0x17,_0x5cb64f[0x23]),_0x29b11d=_0x2086b2(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0xcf3725,0x4,_0x5cb64f[0x24]),_0xdc2915=_0x2086b2(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x20eb3a,0xb,_0x5cb64f[0x25]),_0x380219=_0x2086b2(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x4f06b0,0x10,_0x5cb64f[0x26]),_0x134c50=_0x2086b2(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x2f372f,0x17,_0x5cb64f[0x27]),_0x29b11d=_0x2086b2(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x284067,0x4,_0x5cb64f[0x28]),_0xdc2915=_0x2086b2(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0xe640e5,0xb,_0x5cb64f[0x29]),_0x380219=_0x2086b2(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x4880ec,0x10,_0x5cb64f[0x2a]),_0x134c50=_0x2086b2(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x1912b0,0x17,_0x5cb64f[0x2b]),_0x29b11d=_0x2086b2(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x1a6afc,0x4,_0x5cb64f[0x2c]),_0xdc2915=_0x2086b2(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x43a190,0xb,_0x5cb64f[0x2d]),_0x380219=_0x2086b2(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x544bd4,0x10,_0x5cb64f[0x2e]),_0x134c50=_0x2086b2(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x9042e7,0x17,_0x5cb64f[0x2f]),_0x29b11d=_0xcd31f5(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0xe640e5,0x6,_0x5cb64f[0x30]),_0xdc2915=_0xcd31f5(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x4f06b0,0xa,_0x5cb64f[0x31]),_0x380219=_0xcd31f5(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x1605ff,0xf,_0x5cb64f[0x32]),_0x134c50=_0xcd31f5(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x4e97ee,0x15,_0x5cb64f[0x33]),_0x29b11d=_0xcd31f5(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x43a190,0x6,_0x5cb64f[0x34]),_0xdc2915=_0xcd31f5(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x4880ec,0xa,_0x5cb64f[0x35]),_0x380219=_0xcd31f5(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x2f372f,0xf,_0x5cb64f[0x36]),_0x134c50=_0xcd31f5(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0xcf3725,0x15,_0x5cb64f[0x37]),_0x29b11d=_0xcd31f5(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x29a7b8,0x6,_0x5cb64f[0x38]),_0xdc2915=_0xcd31f5(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x544bd4,0xa,_0x5cb64f[0x39]),_0x380219=_0xcd31f5(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x1912b0,0xf,_0x5cb64f[0x3a]),_0x134c50=_0xcd31f5(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x284067,0x15,_0x5cb64f[0x3b]),_0x29b11d=_0xcd31f5(_0x29b11d,_0x134c50,_0x380219,_0xdc2915,_0x20eb3a,0x6,_0x5cb64f[0x3c]),_0xdc2915=_0xcd31f5(_0xdc2915,_0x29b11d,_0x134c50,_0x380219,_0x53e0b0,0xa,_0x5cb64f[0x3d]),_0x380219=_0xcd31f5(_0x380219,_0xdc2915,_0x29b11d,_0x134c50,_0x9042e7,0xf,_0x5cb64f[0x3e]),_0x134c50=_0xcd31f5(_0x134c50,_0x380219,_0xdc2915,_0x29b11d,_0x1a6afc,0x15,_0x5cb64f[0x3f]),_0x55db83[0x0]=_0x55db83[0x0]+_0x29b11d|0x0,_0x55db83[0x1]=_0x55db83[0x1]+_0x134c50|0x0,_0x55db83[0x2]=_0x55db83[0x2]+_0x380219|0x0,_0x55db83[0x3]=_0x55db83[0x3]+_0xdc2915|0x0;},'_doFinalize':function(){var _0x13d910=_0x440800,_0x43ce36=this[_0x13d910(0x376)],_0x38e821=_0x43ce36['words'],_0x3b9a74=this[_0x13d910(0x36b)]*0x8,_0x2d4c64=_0x43ce36[_0x13d910(0x1f9)]*0x8;_0x38e821[_0x2d4c64>>>0x5]|=0x80<<0x18-_0x2d4c64%0x20;var _0x18301d=_0x178e07['floor'](_0x3b9a74/0x100000000),_0x3b1a3c=_0x3b9a74;_0x38e821[(_0x2d4c64+0x40>>>0x9<<0x4)+0xf]=(_0x18301d<<0x8|_0x18301d>>>0x18)&0xff00ff|(_0x18301d<<0x18|_0x18301d>>>0x8)&0xff00ff00,_0x38e821[(_0x2d4c64+0x40>>>0x9<<0x4)+0xe]=(_0x3b1a3c<<0x8|_0x3b1a3c>>>0x18)&0xff00ff|(_0x3b1a3c<<0x18|_0x3b1a3c>>>0x8)&0xff00ff00,_0x43ce36[_0x13d910(0x1f9)]=(_0x38e821[_0x13d910(0x27c)]+0x1)*0x4,this[_0x13d910(0x3ae)]();for(var _0x2270d3=this[_0x13d910(0x3a4)],_0x3c7586=_0x2270d3[_0x13d910(0x3ef)],_0x1a81db=0x0;_0x1a81db<0x4;_0x1a81db++){var _0x5c71c6=_0x3c7586[_0x1a81db];_0x3c7586[_0x1a81db]=(_0x5c71c6<<0x8|_0x5c71c6>>>0x18)&0xff00ff|(_0x5c71c6<<0x18|_0x5c71c6>>>0x8)&0xff00ff00;}return _0x2270d3;},'clone':function(){var _0x295a38=_0x440800,_0x24ae22=_0x2aacf2[_0x295a38(0x41f)][_0x295a38(0x1d5)](this);return _0x24ae22[_0x295a38(0x3a4)]=this[_0x295a38(0x3a4)]['clone'](),_0x24ae22;}});function _0x21075(_0x36d53e,_0x1d1d6c,_0x1c2841,_0x71be0e,_0xa06a0f,_0x36d1d3,_0x56eb9f){var _0x115226=_0x36d53e+(_0x1d1d6c&_0x1c2841|~_0x1d1d6c&_0x71be0e)+_0xa06a0f+_0x56eb9f;return(_0x115226<<_0x36d1d3|_0x115226>>>0x20-_0x36d1d3)+_0x1d1d6c;}function _0x220611(_0x27d69b,_0x4bb84a,_0x1fc7d6,_0xa7cc86,_0x3a6d17,_0xd6f94a,_0x55d670){var _0x1c92ac=_0x27d69b+(_0x4bb84a&_0xa7cc86|_0x1fc7d6&~_0xa7cc86)+_0x3a6d17+_0x55d670;return(_0x1c92ac<<_0xd6f94a|_0x1c92ac>>>0x20-_0xd6f94a)+_0x4bb84a;}function _0x2086b2(_0x744234,_0x2455bc,_0x21f345,_0x585650,_0x77bcd3,_0x364519,_0x44bc90){var _0x35b76a=_0x744234+(_0x2455bc^_0x21f345^_0x585650)+_0x77bcd3+_0x44bc90;return(_0x35b76a<<_0x364519|_0x35b76a>>>0x20-_0x364519)+_0x2455bc;}function _0xcd31f5(_0x4e1e2f,_0x1c11f3,_0x27a51a,_0x4310c2,_0x508206,_0x29d7c8,_0x27d385){var _0x950e13=_0x4e1e2f+(_0x27a51a^(_0x1c11f3|~_0x4310c2))+_0x508206+_0x27d385;return(_0x950e13<<_0x29d7c8|_0x950e13>>>0x20-_0x29d7c8)+_0x1c11f3;}_0x3aa752[_0x440800(0x4aa)]=_0x2aacf2[_0x440800(0x263)](_0x57b09c),_0x3aa752['HmacMD5']=_0x2aacf2[_0x440800(0x273)](_0x57b09c);}(Math),_0x58f48b['MD5'];}));}(ge)),ge['exports'];}var Ee={'exports':{}},me={'exports':{}},Ai=me[_0x25fdaf(0x238)],Ze;function Pi(){var _0x14c4dd=_0x25fdaf;return Ze||(Ze=0x1,function(_0x5b2576,_0x4468bb){(function(_0x4652f5,_0x51b90d){var _0x4ed0a7=_0x305e;_0x5b2576[_0x4ed0a7(0x238)]=_0x51b90d(Q());}(Ai,function(_0x3e3536){var _0x401a04=_0x305e;return(function(){var _0x2cae5e=_0x305e,_0x54d646=_0x3e3536,_0x20d31e=_0x54d646['lib'],_0x1e7135=_0x20d31e[_0x2cae5e(0x33f)],_0x3061e0=_0x20d31e['Hasher'],_0x3323d5=_0x54d646[_0x2cae5e(0x3bd)],_0x2f97f5=[],_0xcdbef4=_0x3323d5['SHA1']=_0x3061e0[_0x2cae5e(0x49e)]({'_doReset':function(){var _0x343bd5=_0x2cae5e;this[_0x343bd5(0x3a4)]=new _0x1e7135[(_0x343bd5(0x27b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x110268,_0x49e5c){var _0x4d59bf=_0x2cae5e;for(var _0x333a75=this[_0x4d59bf(0x3a4)]['words'],_0x3f1e21=_0x333a75[0x0],_0x34ea6f=_0x333a75[0x1],_0x594903=_0x333a75[0x2],_0x579750=_0x333a75[0x3],_0x38fb69=_0x333a75[0x4],_0x33dcd5=0x0;_0x33dcd5<0x50;_0x33dcd5++){if(_0x33dcd5<0x10)_0x2f97f5[_0x33dcd5]=_0x110268[_0x49e5c+_0x33dcd5]|0x0;else{var _0x635411=_0x2f97f5[_0x33dcd5-0x3]^_0x2f97f5[_0x33dcd5-0x8]^_0x2f97f5[_0x33dcd5-0xe]^_0x2f97f5[_0x33dcd5-0x10];_0x2f97f5[_0x33dcd5]=_0x635411<<0x1|_0x635411>>>0x1f;}var _0xb9a628=(_0x3f1e21<<0x5|_0x3f1e21>>>0x1b)+_0x38fb69+_0x2f97f5[_0x33dcd5];_0x33dcd5<0x14?_0xb9a628+=(_0x34ea6f&_0x594903|~_0x34ea6f&_0x579750)+0x5a827999:_0x33dcd5<0x28?_0xb9a628+=(_0x34ea6f^_0x594903^_0x579750)+0x6ed9eba1:_0x33dcd5<0x3c?_0xb9a628+=(_0x34ea6f&_0x594903|_0x34ea6f&_0x579750|_0x594903&_0x579750)-0x70e44324:_0xb9a628+=(_0x34ea6f^_0x594903^_0x579750)-0x359d3e2a,_0x38fb69=_0x579750,_0x579750=_0x594903,_0x594903=_0x34ea6f<<0x1e|_0x34ea6f>>>0x2,_0x34ea6f=_0x3f1e21,_0x3f1e21=_0xb9a628;}_0x333a75[0x0]=_0x333a75[0x0]+_0x3f1e21|0x0,_0x333a75[0x1]=_0x333a75[0x1]+_0x34ea6f|0x0,_0x333a75[0x2]=_0x333a75[0x2]+_0x594903|0x0,_0x333a75[0x3]=_0x333a75[0x3]+_0x579750|0x0,_0x333a75[0x4]=_0x333a75[0x4]+_0x38fb69|0x0;},'_doFinalize':function(){var _0x2b1c7a=_0x2cae5e,_0x3c4a86=this[_0x2b1c7a(0x376)],_0x21e344=_0x3c4a86[_0x2b1c7a(0x3ef)],_0x2e441c=this[_0x2b1c7a(0x36b)]*0x8,_0x4150c6=_0x3c4a86[_0x2b1c7a(0x1f9)]*0x8;return _0x21e344[_0x4150c6>>>0x5]|=0x80<<0x18-_0x4150c6%0x20,_0x21e344[(_0x4150c6+0x40>>>0x9<<0x4)+0xe]=Math[_0x2b1c7a(0x1e6)](_0x2e441c/0x100000000),_0x21e344[(_0x4150c6+0x40>>>0x9<<0x4)+0xf]=_0x2e441c,_0x3c4a86[_0x2b1c7a(0x1f9)]=_0x21e344[_0x2b1c7a(0x27c)]*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x2814a9=_0x2cae5e,_0x378f4e=_0x3061e0['clone'][_0x2814a9(0x1d5)](this);return _0x378f4e['_hash']=this['_hash'][_0x2814a9(0x41f)](),_0x378f4e;}});_0x54d646[_0x2cae5e(0x502)]=_0x3061e0['_createHelper'](_0xcdbef4),_0x54d646[_0x2cae5e(0x334)]=_0x3061e0[_0x2cae5e(0x273)](_0xcdbef4);}()),_0x3e3536[_0x401a04(0x502)];}));}(me)),me[_0x14c4dd(0x238)];}var Ce={'exports':{}},wi=Ce[_0x25fdaf(0x238)],Qe;function Li(){var _0x4b7e13=_0x25fdaf;return Qe||(Qe=0x1,function(_0x2b4941,_0x3e0908){(function(_0x79921e,_0x3b7d7d){var _0x2ea413=_0x305e;_0x2b4941[_0x2ea413(0x238)]=_0x3b7d7d(Q());}(wi,function(_0x557264){(function(){var _0x186358=_0x305e,_0x4a5ae2=_0x557264,_0x34d81c=_0x4a5ae2['lib'],_0x539009=_0x34d81c[_0x186358(0x286)],_0x26dbe0=_0x4a5ae2[_0x186358(0x419)],_0x5c963c=_0x26dbe0['Utf8'],_0x58310b=_0x4a5ae2['algo'];_0x58310b[_0x186358(0x3d9)]=_0x539009[_0x186358(0x49e)]({'init':function(_0x2ed763,_0x1c0983){var _0x20298f=_0x186358;_0x2ed763=this[_0x20298f(0x2e3)]=new _0x2ed763['init'](),typeof _0x1c0983==_0x20298f(0x42b)&&(_0x1c0983=_0x5c963c[_0x20298f(0x3ed)](_0x1c0983));var _0x589429=_0x2ed763[_0x20298f(0x1b9)],_0x4ba0e5=_0x589429*0x4;_0x1c0983[_0x20298f(0x1f9)]>_0x4ba0e5&&(_0x1c0983=_0x2ed763[_0x20298f(0x457)](_0x1c0983)),_0x1c0983[_0x20298f(0x439)]();for(var _0x2266f2=this[_0x20298f(0x208)]=_0x1c0983[_0x20298f(0x41f)](),_0x56ec08=this[_0x20298f(0x4e1)]=_0x1c0983[_0x20298f(0x41f)](),_0x14e938=_0x2266f2[_0x20298f(0x3ef)],_0x47bca7=_0x56ec08[_0x20298f(0x3ef)],_0x8eb07b=0x0;_0x8eb07b<_0x589429;_0x8eb07b++)_0x14e938[_0x8eb07b]^=0x5c5c5c5c,_0x47bca7[_0x8eb07b]^=0x36363636;_0x2266f2[_0x20298f(0x1f9)]=_0x56ec08[_0x20298f(0x1f9)]=_0x4ba0e5,this[_0x20298f(0x3d8)]();},'reset':function(){var _0x598c9f=_0x186358,_0x2e7583=this[_0x598c9f(0x2e3)];_0x2e7583[_0x598c9f(0x3d8)](),_0x2e7583[_0x598c9f(0x366)](this['_iKey']);},'update':function(_0xd6431a){var _0x6c572c=_0x186358;return this[_0x6c572c(0x2e3)][_0x6c572c(0x366)](_0xd6431a),this;},'finalize':function(_0x3f7ea3){var _0x347102=_0x186358,_0x4f93fc=this[_0x347102(0x2e3)],_0xed6f9c=_0x4f93fc[_0x347102(0x457)](_0x3f7ea3);_0x4f93fc[_0x347102(0x3d8)]();var _0x2dbdce=_0x4f93fc[_0x347102(0x457)](this[_0x347102(0x208)]['clone']()[_0x347102(0x221)](_0xed6f9c));return _0x2dbdce;}});}());}));}(Ce)),Ce[_0x4b7e13(0x238)];}var Mi=Ee[_0x25fdaf(0x238)],et;function Nt(){var _0x404bf3=_0x25fdaf;return et||(et=0x1,function(_0x53a496,_0xe4b8da){(function(_0x39afd4,_0x310500,_0x1918ce){_0x53a496['exports']=_0x310500(Q(),Pi(),Li());}(Mi,function(_0x48a920){var _0x4135bf=_0x305e;return(function(){var _0x933ec7=_0x305e,_0x296890=_0x48a920,_0x919e56=_0x296890[_0x933ec7(0x2d8)],_0x52b1ed=_0x919e56[_0x933ec7(0x286)],_0x36cef9=_0x919e56['WordArray'],_0x130ad3=_0x296890[_0x933ec7(0x3bd)],_0x5abefb=_0x130ad3['MD5'],_0x1fca50=_0x130ad3[_0x933ec7(0x260)]=_0x52b1ed[_0x933ec7(0x49e)]({'cfg':_0x52b1ed[_0x933ec7(0x49e)]({'keySize':0x80/0x20,'hasher':_0x5abefb,'iterations':0x1}),'init':function(_0xeaba6c){var _0x3d5fa1=_0x933ec7;this[_0x3d5fa1(0x28f)]=this[_0x3d5fa1(0x28f)][_0x3d5fa1(0x49e)](_0xeaba6c);},'compute':function(_0x591fbb,_0x1698d8){var _0xb578e3=_0x933ec7;for(var _0x4e4743,_0x4c24ca=this[_0xb578e3(0x28f)],_0x5eef5e=_0x4c24ca[_0xb578e3(0x33b)][_0xb578e3(0x2f2)](),_0x310676=_0x36cef9[_0xb578e3(0x2f2)](),_0x18c334=_0x310676[_0xb578e3(0x3ef)],_0x2105e0=_0x4c24ca[_0xb578e3(0x4fa)],_0x3f9c73=_0x4c24ca[_0xb578e3(0x1c3)];_0x18c334[_0xb578e3(0x27c)]<_0x2105e0;){_0x4e4743&&_0x5eef5e['update'](_0x4e4743),_0x4e4743=_0x5eef5e[_0xb578e3(0x366)](_0x591fbb)[_0xb578e3(0x457)](_0x1698d8),_0x5eef5e[_0xb578e3(0x3d8)]();for(var _0x4b97e6=0x1;_0x4b97e6<_0x3f9c73;_0x4b97e6++)_0x4e4743=_0x5eef5e['finalize'](_0x4e4743),_0x5eef5e['reset']();_0x310676[_0xb578e3(0x221)](_0x4e4743);}return _0x310676['sigBytes']=_0x2105e0*0x4,_0x310676;}});_0x296890[_0x933ec7(0x260)]=function(_0x36ec85,_0x583a2f,_0x5164e3){var _0x1f4ec3=_0x933ec7;return _0x1fca50[_0x1f4ec3(0x2f2)](_0x5164e3)[_0x1f4ec3(0x27f)](_0x36ec85,_0x583a2f);};}()),_0x48a920[_0x4135bf(0x260)];}));}(Ee)),Ee[_0x404bf3(0x238)];}var Te={'exports':{}},xi=Te[_0x25fdaf(0x238)],tt;function Ut(){return tt||(tt=0x1,function(_0x3f4ab5,_0x17535e){(function(_0xe9771f,_0x57af79,_0x2b7efe){var _0x12ed93=_0x305e;_0x3f4ab5[_0x12ed93(0x238)]=_0x57af79(Q(),Nt());}(xi,function(_0x337a90){var _0x207e38=_0x305e;_0x337a90[_0x207e38(0x2d8)][_0x207e38(0x2f4)]||function(_0x455bac){var _0x3315d0=_0x207e38,_0x1674de=_0x337a90,_0x66eb29=_0x1674de[_0x3315d0(0x2d8)],_0x50a099=_0x66eb29[_0x3315d0(0x286)],_0x14b390=_0x66eb29[_0x3315d0(0x33f)],_0x106a9a=_0x66eb29[_0x3315d0(0x41a)],_0x2a222e=_0x1674de[_0x3315d0(0x419)];_0x2a222e[_0x3315d0(0x4f0)];var _0x5bb29a=_0x2a222e['Base64'],_0x37c49e=_0x1674de[_0x3315d0(0x3bd)],_0x42b9d8=_0x37c49e[_0x3315d0(0x260)],_0x4aaaf5=_0x66eb29[_0x3315d0(0x2f4)]=_0x106a9a[_0x3315d0(0x49e)]({'cfg':_0x50a099['extend'](),'createEncryptor':function(_0x2b0e5b,_0x370876){var _0x4af42f=_0x3315d0;return this['create'](this[_0x4af42f(0x1b4)],_0x2b0e5b,_0x370876);},'createDecryptor':function(_0x15afb4,_0x155ebd){var _0x41812a=_0x3315d0;return this[_0x41812a(0x2f2)](this[_0x41812a(0x2b5)],_0x15afb4,_0x155ebd);},'init':function(_0x271a38,_0x13e751,_0x1ca877){var _0x2c1287=_0x3315d0;this[_0x2c1287(0x28f)]=this[_0x2c1287(0x28f)][_0x2c1287(0x49e)](_0x1ca877),this[_0x2c1287(0x281)]=_0x271a38,this['_key']=_0x13e751,this[_0x2c1287(0x3d8)]();},'reset':function(){var _0x2dddde=_0x3315d0;_0x106a9a[_0x2dddde(0x3d8)][_0x2dddde(0x1d5)](this),this[_0x2dddde(0x4f5)]();},'process':function(_0x434646){var _0x710f34=_0x3315d0;return this[_0x710f34(0x1e7)](_0x434646),this['_process']();},'finalize':function(_0x3c095d){var _0x248b56=_0x3315d0;_0x3c095d&&this[_0x248b56(0x1e7)](_0x3c095d);var _0xa666f7=this[_0x248b56(0x2d4)]();return _0xa666f7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xc8374f(_0x2e6d42){var _0xc62890=_0x305e;return typeof _0x2e6d42==_0xc62890(0x42b)?_0x35b24c:_0x5f7b4a;}return function(_0x105578){return{'encrypt':function(_0x492a10,_0x280e75,_0x45b8c8){return _0xc8374f(_0x280e75)['encrypt'](_0x105578,_0x492a10,_0x280e75,_0x45b8c8);},'decrypt':function(_0x566415,_0x47cc9d,_0x46ed5c){var _0xaa083a=_0x305e;return _0xc8374f(_0x47cc9d)[_0xaa083a(0x29c)](_0x105578,_0x566415,_0x47cc9d,_0x46ed5c);}};};}())});_0x66eb29[_0x3315d0(0x335)]=_0x4aaaf5[_0x3315d0(0x49e)]({'_doFinalize':function(){var _0x956f83=_0x3315d0,_0x53d29a=this[_0x956f83(0x3ae)](!0x0);return _0x53d29a;},'blockSize':0x1});var _0x233360=_0x1674de[_0x3315d0(0x4f7)]={},_0x548ba2=_0x66eb29[_0x3315d0(0x1b3)]=_0x50a099['extend']({'createEncryptor':function(_0x47a6c7,_0x27e7c2){var _0x164db4=_0x3315d0;return this['Encryptor'][_0x164db4(0x2f2)](_0x47a6c7,_0x27e7c2);},'createDecryptor':function(_0x18528e,_0x46a112){var _0x32a274=_0x3315d0;return this[_0x32a274(0x388)][_0x32a274(0x2f2)](_0x18528e,_0x46a112);},'init':function(_0x3e731c,_0x548a77){var _0x797231=_0x3315d0;this[_0x797231(0x3ee)]=_0x3e731c,this[_0x797231(0x1ca)]=_0x548a77;}}),_0x1aee7c=_0x233360['CBC']=(function(){var _0x58238a=_0x3315d0,_0x1907a5=_0x548ba2[_0x58238a(0x49e)]();_0x1907a5[_0x58238a(0x4ac)]=_0x1907a5[_0x58238a(0x49e)]({'processBlock':function(_0x24c66e,_0x50fe65){var _0x280f0c=_0x58238a,_0x35dbb6=this[_0x280f0c(0x3ee)],_0xb41b8b=_0x35dbb6[_0x280f0c(0x1b9)];_0x4a559c[_0x280f0c(0x1d5)](this,_0x24c66e,_0x50fe65,_0xb41b8b),_0x35dbb6[_0x280f0c(0x259)](_0x24c66e,_0x50fe65),this[_0x280f0c(0x51b)]=_0x24c66e[_0x280f0c(0x23b)](_0x50fe65,_0x50fe65+_0xb41b8b);}}),_0x1907a5['Decryptor']=_0x1907a5[_0x58238a(0x49e)]({'processBlock':function(_0x2f360c,_0x551fe5){var _0x4f35b2=_0x58238a,_0x5cb82b=this[_0x4f35b2(0x3ee)],_0x63a8db=_0x5cb82b[_0x4f35b2(0x1b9)],_0x553ed5=_0x2f360c[_0x4f35b2(0x23b)](_0x551fe5,_0x551fe5+_0x63a8db);_0x5cb82b[_0x4f35b2(0x237)](_0x2f360c,_0x551fe5),_0x4a559c['call'](this,_0x2f360c,_0x551fe5,_0x63a8db),this['_prevBlock']=_0x553ed5;}});function _0x4a559c(_0x29318f,_0x2c527d,_0x2c1e1d){var _0x3c60e8=_0x58238a,_0xd15ce9,_0x1dad80=this['_iv'];_0x1dad80?(_0xd15ce9=_0x1dad80,this['_iv']=_0x455bac):_0xd15ce9=this[_0x3c60e8(0x51b)];for(var _0x2af1fe=0x0;_0x2af1fe<_0x2c1e1d;_0x2af1fe++)_0x29318f[_0x2c527d+_0x2af1fe]^=_0xd15ce9[_0x2af1fe];}return _0x1907a5;}()),_0xbb1737=_0x1674de[_0x3315d0(0x30f)]={},_0x3111fb=_0xbb1737['Pkcs7']={'pad':function(_0x485fcc,_0x5b52b5){var _0x1d6997=_0x3315d0;for(var _0x56d7cd=_0x5b52b5*0x4,_0x1b01dc=_0x56d7cd-_0x485fcc['sigBytes']%_0x56d7cd,_0x5aac12=_0x1b01dc<<0x18|_0x1b01dc<<0x10|_0x1b01dc<<0x8|_0x1b01dc,_0x32eacf=[],_0x34136b=0x0;_0x34136b<_0x1b01dc;_0x34136b+=0x4)_0x32eacf['push'](_0x5aac12);var _0x480aae=_0x14b390[_0x1d6997(0x2f2)](_0x32eacf,_0x1b01dc);_0x485fcc['concat'](_0x480aae);},'unpad':function(_0xb17417){var _0x356d7e=_0x3315d0,_0x16cef9=_0xb17417[_0x356d7e(0x3ef)][_0xb17417[_0x356d7e(0x1f9)]-0x1>>>0x2]&0xff;_0xb17417['sigBytes']-=_0x16cef9;}};_0x66eb29[_0x3315d0(0x34f)]=_0x4aaaf5[_0x3315d0(0x49e)]({'cfg':_0x4aaaf5[_0x3315d0(0x28f)][_0x3315d0(0x49e)]({'mode':_0x1aee7c,'padding':_0x3111fb}),'reset':function(){var _0x52d5a6=_0x3315d0,_0xfbdfff;_0x4aaaf5[_0x52d5a6(0x3d8)]['call'](this);var _0x18921b=this['cfg'],_0x1ea0aa=_0x18921b['iv'],_0x566713=_0x18921b['mode'];this['_xformMode']==this[_0x52d5a6(0x1b4)]?_0xfbdfff=_0x566713[_0x52d5a6(0x255)]:(_0xfbdfff=_0x566713[_0x52d5a6(0x37a)],this[_0x52d5a6(0x349)]=0x1),this[_0x52d5a6(0x2ef)]&&this[_0x52d5a6(0x2ef)][_0x52d5a6(0x421)]==_0xfbdfff?this[_0x52d5a6(0x2ef)]['init'](this,_0x1ea0aa&&_0x1ea0aa[_0x52d5a6(0x3ef)]):(this[_0x52d5a6(0x2ef)]=_0xfbdfff[_0x52d5a6(0x1d5)](_0x566713,this,_0x1ea0aa&&_0x1ea0aa[_0x52d5a6(0x3ef)]),this[_0x52d5a6(0x2ef)]['__creator']=_0xfbdfff);},'_doProcessBlock':function(_0x1a7a68,_0x48b921){var _0x3e536f=_0x3315d0;this['_mode'][_0x3e536f(0x2cb)](_0x1a7a68,_0x48b921);},'_doFinalize':function(){var _0x161f53=_0x3315d0,_0x1a1469,_0x48773b=this['cfg'][_0x161f53(0x4e7)];return this[_0x161f53(0x281)]==this['_ENC_XFORM_MODE']?(_0x48773b[_0x161f53(0x30f)](this[_0x161f53(0x376)],this[_0x161f53(0x1b9)]),_0x1a1469=this[_0x161f53(0x3ae)](!0x0)):(_0x1a1469=this['_process'](!0x0),_0x48773b[_0x161f53(0x4e4)](_0x1a1469)),_0x1a1469;},'blockSize':0x80/0x20});var _0x27f5e4=_0x66eb29[_0x3315d0(0x2de)]=_0x50a099[_0x3315d0(0x49e)]({'init':function(_0x528cf6){var _0x29b285=_0x3315d0;this[_0x29b285(0x28d)](_0x528cf6);},'toString':function(_0x4da686){var _0x484ab3=_0x3315d0;return(_0x4da686||this[_0x484ab3(0x40e)])['stringify'](this);}}),_0x2fc260=_0x1674de[_0x3315d0(0x1ce)]={},_0x5839b5=_0x2fc260['OpenSSL']={'stringify':function(_0x37f749){var _0x5368a4=_0x3315d0,_0x3f18a3,_0x398b3c=_0x37f749[_0x5368a4(0x469)],_0x4e33d2=_0x37f749[_0x5368a4(0x3e3)];return _0x4e33d2?_0x3f18a3=_0x14b390[_0x5368a4(0x2f2)]([0x53616c74,0x65645f5f])[_0x5368a4(0x221)](_0x4e33d2)[_0x5368a4(0x221)](_0x398b3c):_0x3f18a3=_0x398b3c,_0x3f18a3[_0x5368a4(0x49a)](_0x5bb29a);},'parse':function(_0x48fe8a){var _0x49d481=_0x3315d0,_0x1e2a73,_0x2d8b89=_0x5bb29a[_0x49d481(0x3ed)](_0x48fe8a),_0x243d8b=_0x2d8b89['words'];return _0x243d8b[0x0]==0x53616c74&&_0x243d8b[0x1]==0x65645f5f&&(_0x1e2a73=_0x14b390[_0x49d481(0x2f2)](_0x243d8b[_0x49d481(0x23b)](0x2,0x4)),_0x243d8b[_0x49d481(0x467)](0x0,0x4),_0x2d8b89['sigBytes']-=0x10),_0x27f5e4['create']({'ciphertext':_0x2d8b89,'salt':_0x1e2a73});}},_0x5f7b4a=_0x66eb29[_0x3315d0(0x2cd)]=_0x50a099['extend']({'cfg':_0x50a099[_0x3315d0(0x49e)]({'format':_0x5839b5}),'encrypt':function(_0x31552c,_0x4270ec,_0x385222,_0x2c7f99){var _0x5fa0db=_0x3315d0;_0x2c7f99=this['cfg'][_0x5fa0db(0x49e)](_0x2c7f99);var _0x4e9b3=_0x31552c[_0x5fa0db(0x255)](_0x385222,_0x2c7f99),_0x384cb1=_0x4e9b3[_0x5fa0db(0x457)](_0x4270ec),_0x14d6cc=_0x4e9b3['cfg'];return _0x27f5e4[_0x5fa0db(0x2f2)]({'ciphertext':_0x384cb1,'key':_0x385222,'iv':_0x14d6cc['iv'],'algorithm':_0x31552c,'mode':_0x14d6cc['mode'],'padding':_0x14d6cc[_0x5fa0db(0x4e7)],'blockSize':_0x31552c[_0x5fa0db(0x1b9)],'formatter':_0x2c7f99['format']});},'decrypt':function(_0x31b9ba,_0x5619d9,_0x27688d,_0x3badc8){var _0xc00558=_0x3315d0;_0x3badc8=this[_0xc00558(0x28f)]['extend'](_0x3badc8),_0x5619d9=this[_0xc00558(0x4be)](_0x5619d9,_0x3badc8['format']);var _0x12a341=_0x31b9ba['createDecryptor'](_0x27688d,_0x3badc8)[_0xc00558(0x457)](_0x5619d9[_0xc00558(0x469)]);return _0x12a341;},'_parse':function(_0x181ad8,_0xc7ff77){var _0x51fe40=_0x3315d0;return typeof _0x181ad8==_0x51fe40(0x42b)?_0xc7ff77[_0x51fe40(0x3ed)](_0x181ad8,this):_0x181ad8;}}),_0x47469b=_0x1674de[_0x3315d0(0x449)]={},_0x390acd=_0x47469b[_0x3315d0(0x424)]={'execute':function(_0x3b2b31,_0x209fc1,_0x36d378,_0x1456e7,_0x11f926){var _0x3e87e8=_0x3315d0;if(_0x1456e7||(_0x1456e7=_0x14b390[_0x3e87e8(0x2a3)](0x40/0x8)),_0x11f926)var _0x33018d=_0x42b9d8[_0x3e87e8(0x2f2)]({'keySize':_0x209fc1+_0x36d378,'hasher':_0x11f926})[_0x3e87e8(0x27f)](_0x3b2b31,_0x1456e7);else var _0x33018d=_0x42b9d8['create']({'keySize':_0x209fc1+_0x36d378})['compute'](_0x3b2b31,_0x1456e7);var _0x39fbe7=_0x14b390[_0x3e87e8(0x2f2)](_0x33018d[_0x3e87e8(0x3ef)][_0x3e87e8(0x23b)](_0x209fc1),_0x36d378*0x4);return _0x33018d[_0x3e87e8(0x1f9)]=_0x209fc1*0x4,_0x27f5e4['create']({'key':_0x33018d,'iv':_0x39fbe7,'salt':_0x1456e7});}},_0x35b24c=_0x66eb29[_0x3315d0(0x38b)]=_0x5f7b4a['extend']({'cfg':_0x5f7b4a[_0x3315d0(0x28f)][_0x3315d0(0x49e)]({'kdf':_0x390acd}),'encrypt':function(_0x3df603,_0x299585,_0x358357,_0x2766bf){var _0x22dc1d=_0x3315d0;_0x2766bf=this[_0x22dc1d(0x28f)][_0x22dc1d(0x49e)](_0x2766bf);var _0x2b5ed2=_0x2766bf[_0x22dc1d(0x449)][_0x22dc1d(0x258)](_0x358357,_0x3df603[_0x22dc1d(0x4fa)],_0x3df603[_0x22dc1d(0x4e5)],_0x2766bf[_0x22dc1d(0x3e3)],_0x2766bf['hasher']);_0x2766bf['iv']=_0x2b5ed2['iv'];var _0x223d5a=_0x5f7b4a['encrypt'][_0x22dc1d(0x1d5)](this,_0x3df603,_0x299585,_0x2b5ed2[_0x22dc1d(0x3dd)],_0x2766bf);return _0x223d5a['mixIn'](_0x2b5ed2),_0x223d5a;},'decrypt':function(_0xa3c867,_0x4407f0,_0x5e5a85,_0x691eee){var _0x5cbeee=_0x3315d0;_0x691eee=this['cfg']['extend'](_0x691eee),_0x4407f0=this[_0x5cbeee(0x4be)](_0x4407f0,_0x691eee[_0x5cbeee(0x1ce)]);var _0x2a8739=_0x691eee[_0x5cbeee(0x449)]['execute'](_0x5e5a85,_0xa3c867[_0x5cbeee(0x4fa)],_0xa3c867[_0x5cbeee(0x4e5)],_0x4407f0[_0x5cbeee(0x3e3)],_0x691eee[_0x5cbeee(0x33b)]);_0x691eee['iv']=_0x2a8739['iv'];var _0x1f7115=_0x5f7b4a[_0x5cbeee(0x29c)][_0x5cbeee(0x1d5)](this,_0xa3c867,_0x4407f0,_0x2a8739[_0x5cbeee(0x3dd)],_0x691eee);return _0x1f7115;}});}();}));}(Te)),Te['exports'];}var ki=fe[_0x25fdaf(0x238)],it;function Hi(){var _0xfafffe=_0x25fdaf;return it||(it=0x1,function(_0x28122b,_0x4acfa5){(function(_0x731ffc,_0x2879b7,_0x50b394){var _0x586afb=_0x305e;_0x28122b[_0x586afb(0x238)]=_0x2879b7(Q(),yt(),Di(),Nt(),Ut());}(ki,function(_0x3856a8){return(function(){var _0x21e59e=_0x305e,_0x51ee09=_0x3856a8,_0x3b1017=_0x51ee09[_0x21e59e(0x2d8)],_0x3c2896=_0x3b1017['BlockCipher'],_0xc821f4=_0x51ee09[_0x21e59e(0x3bd)],_0x3b2029=[],_0x3e6ede=[],_0x2774b9=[],_0x1ad7bc=[],_0xab7969=[],_0x1287a=[],_0x17c32d=[],_0x4c7244=[],_0x2fbb71=[],_0x155ff2=[];(function(){for(var _0xdf2eaa=[],_0x34189f=0x0;_0x34189f<0x100;_0x34189f++)_0x34189f<0x80?_0xdf2eaa[_0x34189f]=_0x34189f<<0x1:_0xdf2eaa[_0x34189f]=_0x34189f<<0x1^0x11b;for(var _0x62dc79=0x0,_0x4c8b3c=0x0,_0x34189f=0x0;_0x34189f<0x100;_0x34189f++){var _0x39888e=_0x4c8b3c^_0x4c8b3c<<0x1^_0x4c8b3c<<0x2^_0x4c8b3c<<0x3^_0x4c8b3c<<0x4;_0x39888e=_0x39888e>>>0x8^_0x39888e&0xff^0x63,_0x3b2029[_0x62dc79]=_0x39888e,_0x3e6ede[_0x39888e]=_0x62dc79;var _0x2417e3=_0xdf2eaa[_0x62dc79],_0x4ed135=_0xdf2eaa[_0x2417e3],_0x3a1132=_0xdf2eaa[_0x4ed135],_0x17d78e=_0xdf2eaa[_0x39888e]*0x101^_0x39888e*0x1010100;_0x2774b9[_0x62dc79]=_0x17d78e<<0x18|_0x17d78e>>>0x8,_0x1ad7bc[_0x62dc79]=_0x17d78e<<0x10|_0x17d78e>>>0x10,_0xab7969[_0x62dc79]=_0x17d78e<<0x8|_0x17d78e>>>0x18,_0x1287a[_0x62dc79]=_0x17d78e;var _0x17d78e=_0x3a1132*0x1010101^_0x4ed135*0x10001^_0x2417e3*0x101^_0x62dc79*0x1010100;_0x17c32d[_0x39888e]=_0x17d78e<<0x18|_0x17d78e>>>0x8,_0x4c7244[_0x39888e]=_0x17d78e<<0x10|_0x17d78e>>>0x10,_0x2fbb71[_0x39888e]=_0x17d78e<<0x8|_0x17d78e>>>0x18,_0x155ff2[_0x39888e]=_0x17d78e,_0x62dc79?(_0x62dc79=_0x2417e3^_0xdf2eaa[_0xdf2eaa[_0xdf2eaa[_0x3a1132^_0x2417e3]]],_0x4c8b3c^=_0xdf2eaa[_0xdf2eaa[_0x4c8b3c]]):_0x62dc79=_0x4c8b3c=0x1;}}());var _0x59695a=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1a34d9=_0xc821f4[_0x21e59e(0x407)]=_0x3c2896['extend']({'_doReset':function(){var _0x5c4b0f=_0x21e59e,_0x20e4a1;if(!(this[_0x5c4b0f(0x2dc)]&&this[_0x5c4b0f(0x386)]===this['_key'])){for(var _0x1c51f7=this[_0x5c4b0f(0x386)]=this[_0x5c4b0f(0x3a2)],_0x1e96c0=_0x1c51f7[_0x5c4b0f(0x3ef)],_0x37b24d=_0x1c51f7[_0x5c4b0f(0x1f9)]/0x4,_0x8476ad=this[_0x5c4b0f(0x2dc)]=_0x37b24d+0x6,_0x28c2a1=(_0x8476ad+0x1)*0x4,_0x5190ae=this[_0x5c4b0f(0x2b2)]=[],_0x543c49=0x0;_0x543c49<_0x28c2a1;_0x543c49++)_0x543c49<_0x37b24d?_0x5190ae[_0x543c49]=_0x1e96c0[_0x543c49]:(_0x20e4a1=_0x5190ae[_0x543c49-0x1],_0x543c49%_0x37b24d?_0x37b24d>0x6&&_0x543c49%_0x37b24d==0x4&&(_0x20e4a1=_0x3b2029[_0x20e4a1>>>0x18]<<0x18|_0x3b2029[_0x20e4a1>>>0x10&0xff]<<0x10|_0x3b2029[_0x20e4a1>>>0x8&0xff]<<0x8|_0x3b2029[_0x20e4a1&0xff]):(_0x20e4a1=_0x20e4a1<<0x8|_0x20e4a1>>>0x18,_0x20e4a1=_0x3b2029[_0x20e4a1>>>0x18]<<0x18|_0x3b2029[_0x20e4a1>>>0x10&0xff]<<0x10|_0x3b2029[_0x20e4a1>>>0x8&0xff]<<0x8|_0x3b2029[_0x20e4a1&0xff],_0x20e4a1^=_0x59695a[_0x543c49/_0x37b24d|0x0]<<0x18),_0x5190ae[_0x543c49]=_0x5190ae[_0x543c49-_0x37b24d]^_0x20e4a1);for(var _0x4cd979=this['_invKeySchedule']=[],_0x2f2182=0x0;_0x2f2182<_0x28c2a1;_0x2f2182++){var _0x543c49=_0x28c2a1-_0x2f2182;if(_0x2f2182%0x4)var _0x20e4a1=_0x5190ae[_0x543c49];else var _0x20e4a1=_0x5190ae[_0x543c49-0x4];_0x2f2182<0x4||_0x543c49<=0x4?_0x4cd979[_0x2f2182]=_0x20e4a1:_0x4cd979[_0x2f2182]=_0x17c32d[_0x3b2029[_0x20e4a1>>>0x18]]^_0x4c7244[_0x3b2029[_0x20e4a1>>>0x10&0xff]]^_0x2fbb71[_0x3b2029[_0x20e4a1>>>0x8&0xff]]^_0x155ff2[_0x3b2029[_0x20e4a1&0xff]];}}},'encryptBlock':function(_0x56a48d,_0x45bd6d){var _0x1a80e3=_0x21e59e;this[_0x1a80e3(0x2a7)](_0x56a48d,_0x45bd6d,this[_0x1a80e3(0x2b2)],_0x2774b9,_0x1ad7bc,_0xab7969,_0x1287a,_0x3b2029);},'decryptBlock':function(_0x5680d1,_0x2fb320){var _0x58edda=_0x21e59e,_0x47f2d1=_0x5680d1[_0x2fb320+0x1];_0x5680d1[_0x2fb320+0x1]=_0x5680d1[_0x2fb320+0x3],_0x5680d1[_0x2fb320+0x3]=_0x47f2d1,this[_0x58edda(0x2a7)](_0x5680d1,_0x2fb320,this[_0x58edda(0x38f)],_0x17c32d,_0x4c7244,_0x2fbb71,_0x155ff2,_0x3e6ede);var _0x47f2d1=_0x5680d1[_0x2fb320+0x1];_0x5680d1[_0x2fb320+0x1]=_0x5680d1[_0x2fb320+0x3],_0x5680d1[_0x2fb320+0x3]=_0x47f2d1;},'_doCryptBlock':function(_0x39a7d5,_0xcc0a37,_0x550874,_0x1fecd4,_0x2f328c,_0x256eec,_0x19dd04,_0x51dff0){var _0x1f274d=_0x21e59e;for(var _0x2c0f2c=this[_0x1f274d(0x2dc)],_0x537814=_0x39a7d5[_0xcc0a37]^_0x550874[0x0],_0x2c7365=_0x39a7d5[_0xcc0a37+0x1]^_0x550874[0x1],_0x15f528=_0x39a7d5[_0xcc0a37+0x2]^_0x550874[0x2],_0x42fbbe=_0x39a7d5[_0xcc0a37+0x3]^_0x550874[0x3],_0x406647=0x4,_0x4f222b=0x1;_0x4f222b<_0x2c0f2c;_0x4f222b++){var _0x4eab31=_0x1fecd4[_0x537814>>>0x18]^_0x2f328c[_0x2c7365>>>0x10&0xff]^_0x256eec[_0x15f528>>>0x8&0xff]^_0x19dd04[_0x42fbbe&0xff]^_0x550874[_0x406647++],_0x51e83e=_0x1fecd4[_0x2c7365>>>0x18]^_0x2f328c[_0x15f528>>>0x10&0xff]^_0x256eec[_0x42fbbe>>>0x8&0xff]^_0x19dd04[_0x537814&0xff]^_0x550874[_0x406647++],_0x5c0c3d=_0x1fecd4[_0x15f528>>>0x18]^_0x2f328c[_0x42fbbe>>>0x10&0xff]^_0x256eec[_0x537814>>>0x8&0xff]^_0x19dd04[_0x2c7365&0xff]^_0x550874[_0x406647++],_0x28ae7a=_0x1fecd4[_0x42fbbe>>>0x18]^_0x2f328c[_0x537814>>>0x10&0xff]^_0x256eec[_0x2c7365>>>0x8&0xff]^_0x19dd04[_0x15f528&0xff]^_0x550874[_0x406647++];_0x537814=_0x4eab31,_0x2c7365=_0x51e83e,_0x15f528=_0x5c0c3d,_0x42fbbe=_0x28ae7a;}var _0x4eab31=(_0x51dff0[_0x537814>>>0x18]<<0x18|_0x51dff0[_0x2c7365>>>0x10&0xff]<<0x10|_0x51dff0[_0x15f528>>>0x8&0xff]<<0x8|_0x51dff0[_0x42fbbe&0xff])^_0x550874[_0x406647++],_0x51e83e=(_0x51dff0[_0x2c7365>>>0x18]<<0x18|_0x51dff0[_0x15f528>>>0x10&0xff]<<0x10|_0x51dff0[_0x42fbbe>>>0x8&0xff]<<0x8|_0x51dff0[_0x537814&0xff])^_0x550874[_0x406647++],_0x5c0c3d=(_0x51dff0[_0x15f528>>>0x18]<<0x18|_0x51dff0[_0x42fbbe>>>0x10&0xff]<<0x10|_0x51dff0[_0x537814>>>0x8&0xff]<<0x8|_0x51dff0[_0x2c7365&0xff])^_0x550874[_0x406647++],_0x28ae7a=(_0x51dff0[_0x42fbbe>>>0x18]<<0x18|_0x51dff0[_0x537814>>>0x10&0xff]<<0x10|_0x51dff0[_0x2c7365>>>0x8&0xff]<<0x8|_0x51dff0[_0x15f528&0xff])^_0x550874[_0x406647++];_0x39a7d5[_0xcc0a37]=_0x4eab31,_0x39a7d5[_0xcc0a37+0x1]=_0x51e83e,_0x39a7d5[_0xcc0a37+0x2]=_0x5c0c3d,_0x39a7d5[_0xcc0a37+0x3]=_0x28ae7a;},'keySize':0x100/0x20});_0x51ee09['AES']=_0x3c2896[_0x21e59e(0x263)](_0x1a34d9);}()),_0x3856a8['AES'];}));}(fe)),fe[_0xfafffe(0x238)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be['exports'],rt;function Vi(){var _0x208c1b=_0x25fdaf;return rt||(rt=0x1,function(_0x491578,_0x119291){(function(_0x1b90ed,_0x7a585b){var _0x4133a0=_0x305e;_0x491578[_0x4133a0(0x238)]=_0x7a585b(Q());}(Fi,function(_0x1218f8){var _0xe1b832=_0x305e;return _0x1218f8[_0xe1b832(0x419)]['Utf8'];}));}(be)),be[_0x208c1b(0x238)];}var Wi=Vi();function _0x1691(){var _0x453a80=['_applyRemoteChangeset','SheetTransformSelectionsService','UserProfileImg','RECV','_sessionStatus$','_sheetTransformSelectionsService','JOIN','HttpImport','status','/universer-api/authz','close','getTime','AES','touchDependencies','/new_changes','sheets','collaboration_new_changeset','_initRequestHeader','getInterceptPoints','formatter','_type','COMPRESS_MUTATION_APPLY','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','INVALID_ARGUMENT','SetSelectionsOperation','isTransformChangesetsSuccess','transformUndoRedo','indexOf','socket$','COMMENT_UPDATE','enc','BufferedBlockAlgorithm','_getUploadFileURL','SUBMIT_CHANGESET_TIMEOUT','encode','apply','clone','_socketReady','__creator','updatePermissionPoint','[CollaborationSessionService]:\x20socket\x20error','OpenSSL','_collaborationSessionService','30141152ayNUeS','getUnitType','put','addImageSourceCache','filter','string','_createHandler','__Key__','_socket','loadOfflineData','UNIVER_UNKNOWN','_members$','_submitChangeset','_onRemoteRetry','isInternalEditorID','getCurrentSelections','_onRemoteACK','_commandService','_resendWithTimeout','clamp','session.room-permission-denied','_univerInstanceService','LIVESHARE_REQUEST_HOST','_imageSourceCache','error$','_onConflict','CollaborationSessionService','[CollaborationEntity]','function','USER_NOT_INVITED_CODE','getWorkbookSelections','_exhaustRemoteChangesetQueue','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','enableOfflineEditing','[OfflineState]:\x20received\x20changeset.','kdf','getSheetId','Optional','entityInit$','next','unsubscribe','_retryCount','_unitID','_getCtorByUniverType','toggleOnline','_isPermissionRej','YUUMI_URL_COL_OUT_OF_RANGE','fetchMissingChangesets','onMissingChangesets','finalize','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_createSocket','_telemetryInfo','_unlockTransition','setWaitCount','setShowComponents','offline','_singleActiveUnitService','/object','ILocalCacheService','_remoteChangesetQueue','DEFAULT_COLLAB_WEB_SOCKET_URL','ICommandService','dispose','_checkMissing','splice','unitId','ciphertext','_incrementRevisionNumber','then','_showConflictNotification','_startTelemetryCollaborationNewChangeset','push','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','m2Prime','title','HEARTBEAT_INTERVAL','SEND_CHANGESET_TIMEOUT_KEY','3633426LWsxEV','getCurrentUser','byteLength','[PendingState]:\x20received\x20rejection.','COMPLETION_FINISHED','UNAUTHENTICATED','DependentOn','MUTATION','FileId','_sender','_joinRoom','concatMap','_undoRedoService','Injector','fetchMiss','_initMergeInterceptor','appendMutation','_getLoginPath','RichTextEditingMutation','_snapshotService','Undefined','HEARTBEAT','_commentService','listCollaborators','_emitMembers','_permissionService','_pendingMutations','SEND_CHANGESET_TIMEOUT','JSONX','[FetchMissState]','LocaleService','UPDATE_PERMISSION_OBJ','DisposableCollection','CHANGESET_REJ','editing\x20status\x20changed\x20to','_state','disableLocalCache','/universer-api/comb','toString','UNDEFINED','IDLE','_updateLocalCache','extend','disposeWithMe','onRemoteRetry','_schedule','_onCombEvent','_candidateSocket','_decreaseWaiting','PSEUDO_FETCH_MISSING_RESULT','ImageUploadStatusType','WorkbookEditablePermission','_clearRedo','_sendingTimer','MD5','now','Encryptor','[CollaborationUndoRedoService]','YUUMI_ASYNCIO_CANCELLED','replace','LocalUndoRedoService','3758419vtkCgg','?size=','complete','UNISCRIPT_RUN','AwaitingWithPendingState','Hasher','updateSnapshot','_doProcessBlock','batchAllowed','getGlobalObject','get','_fetchMissChangesets','/object/','_parse','textEncoder','_transformRemoteChangesetByIMECache','1914922uDyRlV','abs','WECHAT_HAS_BEEN_BOUND','_onConnectionFailed','reverse','_userManagerService','_getSendChangesetTimeout','ConflictState','_redoStacks','getOwnPropertyDescriptor','uploadFileServerUrl','charAt','_transformService','catch','updateMember','event$','merge','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_transformRemoteChangesetByStateCache','_commentUpdate$','registerDependencies','AuthzIoHttpService','SNAPSHOT_HAS_BEEN_REMOVED','synced','INGEST','_tryEnsureSocket','_localCacheService','authzUrl','subscribe','image/gif','SUCCUSS','FETCH_MISS','_iKey','message$','sid','unpad','ivSize','equals','padding','EXCHANGE_SIGN_URL_SERVER_URL_KEY','addHandlerCallback','ws://127.0.0.1:8000/universer-api/comb/connect','stringify','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_collabSessionService','CommentService','append','Utf8','onStarting','ITransformService','updateCollaborator','_waitCount','_doReset','_localeService','mode','YUUMI_UNABLE_LOAD_URL','getFocusedUnit','keySize','permissionRejEvent','subUnitId','SHOULD_CLOSE_CONN','1299126zNAPIw','_collaborationTimeoutTimer','Tools','sessionStatus$','SHA1','RxDisposable','_waitForHeartbeatResponse','LICENSE_EXPORT_SIZE_EXCEEDED','OPTIONAL','getConfig','_clearScheduledTask','LIVESHARE_NEW_HOST','YUUMI_NO_CUBOID_FOR_QUESTION','OTHER_CLIENT_EDITING','_status$','UniverCollaborationPlugin','file','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','LICENSE_DISTRO_REJECTED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','JOIN_ROOM_PERMISSION_DENIED','_initUnitPermissionChange','downloadEndpointUrl','_onRecvEvent','_change$','_replayCachedMutations','duration','&to=','SOCKET_FAILED','_prevBlock','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','location','{fileID}','_onJoinRoomEvent','_resendTimeout','DocCollaborationEntity','People','revision','IUndoRedoService','PendingState','_entityInit$','_retryConnectingTimer','takeUntil','session.join-failed','BlockCipherMode','_ENC_XFORM_MODE','CollaborationStatus','_instanceService','headers','rxjs/operators','blockSize','map','_getDownloadEndpointURL','fetch_missing','USERS_ENTER','baseRev','defineProperty','UniverCollaborationClientPlugin','_sendHeartbeatTimer','\x20to\x20','iterations','_getAPIPrefixPath','_unitInfo$','ThresholdInterceptorFactory','objectType','CHANGESET_ACK','data','_iv','_clearHeartbeatTimer','IPermissionService','shareReplay','format','_clearUndo','[OfflineState]:\x20received\x20rejection.','MentionType','toggleOffline','COMPRESS_MUTATION_SEND','_listenToNetworkCondition','call','PERMISSION_REJ','override','_sendHeartbeat','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_disableEditing','ENSURE_SNAPSHOT_EXECUTION','_transformIMECache','initWorkbookPermissionChange','getLocalCacheKey','PENDING','UNIVER_DOC','_executeRemoteChangeset','onload','_members','CollaborationEvent','isTransformMutationsWithChangesetFailure','floor','_append','OFFLINE','onTransformIME','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getSnapshotAPIPath','closeSession','requestParams','CollaborationSession','[UniverCollaborationClientPlugin]','_memberService','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','@univerjs-pro/license','_roomCreated$','HEARTBEAT_INTERVAL_KEY','readAsDataURL','joinEvent','image/png','retryConnectingInterval','sigBytes','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','[DataLoaderService]','objects','open$','loginUrlKey','reqId','image/bmp','getTypeOfUnitDisposed$','default','saveImage','Quantity','LOCAL_CACHE_INTERVAL_KEY','_roomMembers','_logService','_oKey','interceptor','Error\x20on\x20receiving\x20event','parseProtocolChangeset','YUUMI_ALL_TABLES_IS_INVALID','state','JOIN_ROOM_FULL','_compressMutationService','/resources','univer-pro.collaboration-client-socket-service','_map','url','onTransformRemoteChangesetByIMECache','&source=','/fetchmissing?from=','BASE64','getMember','DEFAULT_WS_SESSION_TICKET_URL','MergeInterceptorFactory','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','state$','SyncedState','_HTTPService','onCommandExecuted','_clearTimeoutTimer','concat','Rectangle','body','MOBILE_HAS_BEEN_BOUND','add','/rev/','onTransformState','LOGIN_FAILED','APPLY_REJECT','onTransformRemoteChangesetByStateCache','[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.','_toggleOffline','LOGIN_URL_KEY','post','_throwTelemetryCollaborationNewChangeset','entries','_awaitingChangeset','[CollaborationSessionService]','InsertSheetMutation','UUID','reject','_scheduleCompleteTimestamp','decryptBlock','exports','USERS_LEAVE','getMemberID','slice','transformSelections','Subject','fetching\x20missing\x20changesets\x20from\x20','_resendTimer','mutations','_getUndoStack','IImageIoService','max','_transformSelections','pending','UNIVER_PROJECT','copyFileMeta','ILogService','_onUserJoin','CONNECTOR_DATA_TOO_LARGE','INTERNAL_ERROR','MentionIoHttpService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','resourceIDs','charCodeAt','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','/collaborator','selections','SnapshotServerOverHTTPService','ISingleActiveUnitService','createEncryptor','deepClone','delete','execute','encryptBlock','CHANGESET_REVISION_CONFILICT','crypto','Workbook','onSendChangeset','size','fetchThroughInterceptors','EvpKDF','roles','_replaceFileID','_createHelper','_handler','forEach','asObservable','collaboratorID','_lockTransition','change$','UserManagerService','SUBMIT_CHANGESET','_transformStateCache','SNAPSHOT_SERVER_URL_KEY','getCollabEntity','UPDATE_CURSOR','_clearRetryConnectingTimer','PY_RUNTIME_SCRIPT_ERROR','collaMsg','_createHmacHelper','ceil','serializeCombRequest','joinRsp','createInstance','SOCKET_FAILED_RETRY','localCacheService','collabWebSocketUrl','init','length','_socketService','not_collab','compute','name','_xformMode','[SyncedState]:\x20received\x20rejection.','readyForCollab','_getSignURL','collaborators','Base','mapDocumentTypeToUniverType','_scheduleCollaborationTimeoutTimer','onRemoteRej','_onConnectionOpen','_substituteUndoStack','POST','mixIn','Latin1','cfg','getSheetBlock','_collaborationPaused','executeCommand','@univerjs/drawing','sessionStatus','HTTPRequest','session.room-full','emitEvent','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','CommandType','getLatestCsReqIdBySid','target','decrypt','session','_entities','csAckEvent','Disposable','readInt32LE','responseType','random','FAIL','transformChangesets','byteOffset','_doCryptBlock','uuidv4','findIndex','registerHTTPInterceptor','_tryReconnect','UniverNetworkPlugin','FetchingMissState','capture','SnapshotService','members','_handlerCallback','_keySchedule','/universer-api/uniscript','OfflineState','_DEC_XFORM_MODE','SNAPSHOT_INVALID_SNAPSHOT','_eventService','reconnect','_getCurrentRevision','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','setCurrentUser','join','auth.needGotoLoginAlert','/universer-api/oidc/authpage','fromCollab','awaiting_with_pending','_clearLocalCache','&assign=','783760FskSav','getUnit','NEW_CHANGESETS','objectID','/universer-api/snapshot','resend','[SyncedState]:\x20received\x20acknowledgement.','NoPadding','processBlock','signUrlServerUrl','SerializableCipher','CollaborationController','_getRedoStack','rxjs','textRanges','buffer','error','_doFinalize','connection\x20error','CollaborativeUndoRedoService','awaitingChangeset','lib','loadUnitOfRevision','_onMessage','getCollabEntity$','_nRounds','_changesetSessionId','CipherParams','sendChangesetTimeout','UnitSnapshot','IConfigService','createSocket','_hasher','447504fVOsrK','_changesetReqId','YUUMI_RATE_OVER_LIMIT','_config','EMAIL_HAS_BEEN_BOUND','UNIVER_SLIDE','IMentionIOService','transformMutationsWithChangeset','DataLoaderService','CHANGESET_SHOULD_RETRY','from','_mode','_configService','CollaborationImageIoService','create','PERSON','Cipher','c2Prime','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','/universer-api/user/session-ticket','GLOBAL_ROOMS_CNT_EXCEEDS','members$','type','Could\x20not\x20dynamically\x20require\x20\x22','editingUnit','unitID','RevisionService','COLLAB_WEB_SOCKET_URL','/universer-api/stream/file/upload','_transformUndoredo','session.room-not-exists','MemberService','/allowed','AUTHZ_URL_KEY','SheetsSelectionsService','_injector','AwaitingState','_onOffline','LOCAL_CACHE_INTERVAL','RETRY_CONNECTING_MAX_COUNT','_substituteRedoStack','_snapshotServerService','HEARTBEAT_TIMEOUT','pad','pipe','_registerDependencies','actions','ERROR_IMAGE','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','LICENSE_MAX_UNITS_EXCEEDED','pauseCollaboration','INVITE_CODE_REQUIRED','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','workbook','JOIN_ROOM_FAILED','_reverseMap','_telemetryService','_updateStatus','UniverInstanceType','awaiting','_state$','c1Prime','LIVESHARE_FETCH_OPERATIONS','ONLINE','_networkConditionService','ImageSourceType','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_doCreateSocket','UNRECOGNIZED','FETCH_MISSING','__esModule','uniscriptRunEvent','[PendingState]:\x20unhandled\x20univer\x20type:\x20','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','status$','href','saveSnapshot','list','HELLO','infoRsp','HmacSHA1','StreamCipher','UnitStatus','avatar','debug','isTransformMutationsWithChangesetSuccess','_collaborationUIEventService','hasher','getDeserializedSheetBlock','onRemoteChangeset','memberID','WordArray','isPermissionRej','requireSession','JOINING','onSyncEditingCollabCursor','INVALID_INVITE_CODE','APPLY_NON_SEQUENTIAL_REVISION','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','prototype','\x20-\x20','_minBufferSize','INVITE_CODE_HAS_BEEN_UES','getResourcesRequest','CompressMutationService','_clearCollaborationTimeoutTimer','take','BlockCipher','_sessions','_getAPIPrefix','routeKey','eventID','/block/','_stopTelemetryCollaborationNewChangeset','_syncEditingCollabCursor','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_onRemoteRejected','HEARTBEAT_TIMEOUT_KEY','getUnitStatus$','5jvoeDE','_httpService','_onLocalMutation','_transformStack','symbol','confirm','localeService','_shouldReportTelemetry','IAuthzIoService','onLocalMutation','_revisionService','update','LIVESHARE_OPERATION','unitId\x20is\x20not\x20found','roomInfos','SYNCED','_nDataBytes','msCrypto','getRandomValues','LIVESHARE_TERMINATE','CLOSE_ROOM','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','find','parseChangesetToProtocol','getImage','reduce','CONFLICT','_data','leaveEvent','ISnapshotServerService','IUniverInstanceService','createDecryptor','fromCharCode','socketService','_updateState','every','onlyLocal','\x0aAfter:\x20','getValue','UNKNOWN_CMD','SheetCollaborationEntity','_transitionLocked','9rHgGIi','_keyPriorReset','withCredentials','Decryptor','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','toDisposable','PasswordBasedCipher','onRemoteAck','TOO_MANY_REQUESTS','params','_invKeySchedule','commentUpdateEvent','CollaborationEntity','result','getTypeOfUnitAdded$','delay','image/jpeg','[CollaborationSession]','set','_removeRoom','listRoles','_event$','CollaborationSocketService','[OfflineState]:\x20received\x20acknowledgement.','_initCloseConn','@univerjs/core','onTransformSelections','NOT_FOUND','UNKNOWN_CODE','_key','_startCollaboration','_hash','Inject','failed\x20to\x20apply\x20missed\x20changesets!','_createInitialState','stopTime','submit\x20changeset\x20error!','SNAPSHOT_URL_KEY','_init','LEAVE','code','_process','LICENSE_IMPORT_SIZE_EXCEEDED','IContextService','setConfig','_toggleOnline','newCsEvent','_socket$','enableCollaboration','startTime','Base64','NO_OTHER_CLIENTS_EDITING','HTTPService','/unit/','focused$','has','algo','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_acknowledgedAwaitingChangeset','_initDependencies','_onRemoteChangeset','firstValueFrom','_timeoutTimer','MSG_FOR_ERROR','randomBytes','INVITE_CODE_ALREADY_BOUND','INetworkConditionService','getImageSourceCache','AWAITING_WITH_PENDING','online$','_createInitialStateImpl','liveShareOperation','Malformed\x20UTF-8\x20data','conflict','BehaviorSubject','isArray','RETRY_CONNECTING_MAX_COUNT_KEY','\x0aCurrent:\x20','generateRandomId','refreshPermission','unknown','enableAuthServer','originalMeta','reset','HMAC','action','createIdentifier','getUnitId','key','/-/object/-/batch_allowed','allowed','_undoStacks','removeMember','PERMISSION_DENIED','salt','@univerjs/telemetry','createCollaborator','dispose$','origin','UnitEmbedded','clear','_onUserLeave','save\x20fail\x20reason\x20is\x20','send','parse','_cipher','words','getCurrentRevOfUnit','Hex','_socketMessageSubscription','OTHER_CLIENTS_EDITING','onMissedChangesetFetched','UNIVER_SHEET','updateOfflineData','_rescheduleHeartbeat','cmd','APPLY_REVISION_CONFILICT','univer-pro.collaboration-client.network-condition.service'];_0x1691=function(){return _0x453a80;};return _0x1691();}const Gi=ve(Wi);var Re={'exports':{}},Ki=Re[_0x25fdaf(0x238)],st;function Yi(){var _0x2e6c30=_0x25fdaf;return st||(st=0x1,function(_0x1b4164,_0x3eff94){(function(_0x48f80c,_0x4199b1){var _0xe71d9a=_0x305e;_0x1b4164[_0xe71d9a(0x238)]=_0x4199b1(Q());}(Ki,function(_0x3ce3f5){var _0x2f6cd8=_0x305e;return(function(){var _0x2e711f=_0x305e;if(typeof ArrayBuffer==_0x2e711f(0x442)){var _0x204ad4=_0x3ce3f5,_0x49b994=_0x204ad4[_0x2e711f(0x2d8)],_0x98d551=_0x49b994[_0x2e711f(0x33f)],_0x39273e=_0x98d551[_0x2e711f(0x27b)],_0x33002b=_0x98d551[_0x2e711f(0x27b)]=function(_0x1b9405){var _0x237559=_0x2e711f;if(_0x1b9405 instanceof ArrayBuffer&&(_0x1b9405=new Uint8Array(_0x1b9405)),(_0x1b9405 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1b9405 instanceof Uint8ClampedArray||_0x1b9405 instanceof Int16Array||_0x1b9405 instanceof Uint16Array||_0x1b9405 instanceof Int32Array||_0x1b9405 instanceof Uint32Array||_0x1b9405 instanceof Float32Array||_0x1b9405 instanceof Float64Array)&&(_0x1b9405=new Uint8Array(_0x1b9405[_0x237559(0x2d2)],_0x1b9405[_0x237559(0x2a6)],_0x1b9405['byteLength'])),_0x1b9405 instanceof Uint8Array){for(var _0x3e8887=_0x1b9405[_0x237559(0x476)],_0x4bf5fe=[],_0x3d9d8a=0x0;_0x3d9d8a<_0x3e8887;_0x3d9d8a++)_0x4bf5fe[_0x3d9d8a>>>0x2]|=_0x1b9405[_0x3d9d8a]<<0x18-_0x3d9d8a%0x4*0x8;_0x39273e[_0x237559(0x1d5)](this,_0x4bf5fe,_0x3e8887);}else _0x39273e[_0x237559(0x41e)](this,arguments);};_0x33002b[_0x2e711f(0x347)]=_0x98d551;}}()),_0x3ce3f5[_0x2f6cd8(0x2d8)][_0x2f6cd8(0x33f)];}));}(Re)),Re[_0x2e6c30(0x238)];}var qi=Yi();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0x25fdaf(0x238)],ot;function Xi(){var _0x20a8e4=_0x25fdaf;return ot||(ot=0x1,function(_0x29cda2,_0x57f717){(function(_0x539c65,_0xc85679,_0x20614c){var _0x36b808=_0x305e;_0x29cda2[_0x36b808(0x238)]=_0xc85679(Q(),Ut());}(Ji,function(_0x3e00ce){var _0x4afe6c=_0x305e;return _0x3e00ce[_0x4afe6c(0x30f)][_0x4afe6c(0x2ca)]={'pad':function(){},'unpad':function(){}},_0x3e00ce[_0x4afe6c(0x30f)]['NoPadding'];}));}(Oe)),Oe[_0x20a8e4(0x238)];}var Zi=Xi();const Qi=ve(Zi);function en(_0x5f5493,_0x1cc953){var _0x1cd4e7=_0x25fdaf;const _0x1324c6=_0x1cc953-_0x5f5493[_0x1cd4e7(0x27c)]%_0x1cc953,_0x440812=String[_0x1cd4e7(0x37b)](_0x1324c6)['repeat'](_0x1324c6);return _0x5f5493+_0x440812;}function tn(_0x232d5e,_0x55c29e){var _0x116b20=_0x25fdaf;const _0x16eb44=zi[_0x116b20(0x2a3)](0x10),_0x2cb9e2=en(_0x232d5e,0x10),_0x5aa9b9=ji['encrypt'](Gi[_0x116b20(0x3ed)](_0x2cb9e2),nt[_0x116b20(0x3ed)](_0x55c29e),{'iv':_0x16eb44,'padding':Qi});return _0x16eb44[_0x116b20(0x221)](_0x5aa9b9[_0x116b20(0x469)])['toString'](nt);}function nn(){var _0x29df63=_0x25fdaf;const _0x4c1159=wt[_0x29df63(0x4ba)]()[_0x29df63(0x42d)];if(_0x4c1159){const _0x2e896e={'time':Math['floor'](Date[_0x29df63(0x4ab)]()/0x3e8),'domain':location['hostname']};return tn(JSON[_0x29df63(0x4eb)](_0x2e896e),_0x4c1159);}}var rn=Object['getOwnPropertyDescriptor'],sn=(_0x531cc8,_0x4ca9fa,_0xe4dd83,_0x121c48)=>{var _0x515789=_0x25fdaf;for(var _0x2312c0=_0x121c48>0x1?void 0x0:_0x121c48?rn(_0x4ca9fa,_0xe4dd83):_0x4ca9fa,_0x4127d5=_0x531cc8[_0x515789(0x27c)]-0x1,_0x2bd8bd;_0x4127d5>=0x0;_0x4127d5--)(_0x2bd8bd=_0x531cc8[_0x4127d5])&&(_0x2312c0=_0x2bd8bd(_0x2312c0)||_0x2312c0);return _0x2312c0;},on=(_0x16e948,_0x5b0e52)=>(_0x10a9da,_0x4eae00)=>_0x5b0e52(_0x10a9da,_0x4eae00,_0x16e948);let Ne=class{constructor(_0x532135){this['_httpService']=_0x532135,this['_initRequestHeader']();}[_0x25fdaf(0x40c)](){var _0x1498f3=_0x25fdaf;this[_0x1498f3(0x35c)][_0x1498f3(0x2aa)]({'interceptor':(_0x56d853,_0x568c21)=>{var _0x29ad61=_0x1498f3;const _0x4ccba1=_0x56d853['headers'],_0x1e5eb7=nn();return _0x1e5eb7&&_0x4ccba1[_0x29ad61(0x397)]('x-univer-host',_0x1e5eb7),_0x568c21(_0x56d853);}});}};Ne=sn([on(0x0,a[_0x25fdaf(0x3a5)](Y[_0x25fdaf(0x3b9)]))],Ne);var an=Object[_0x25fdaf(0x4ca)],cn=(_0x2fc24a,_0x3bf730,_0x27eb51,_0x54274f)=>{for(var _0x583f3b=_0x54274f>0x1?void 0x0:_0x54274f?an(_0x3bf730,_0x27eb51):_0x3bf730,_0x5e1fdd=_0x2fc24a['length']-0x1,_0x2cba5e;_0x5e1fdd>=0x0;_0x5e1fdd--)(_0x2cba5e=_0x2fc24a[_0x5e1fdd])&&(_0x583f3b=_0x2cba5e(_0x583f3b)||_0x583f3b);return _0x583f3b;},we=(_0xde8e3a,_0x281aff)=>(_0x463ec9,_0x151df1)=>_0x281aff(_0x463ec9,_0x151df1,_0xde8e3a);exports[_0x25fdaf(0x2ec)]=class extends a[_0x25fdaf(0x503)]{constructor(_0x37b0dd,_0x57f2c3,_0x3038be){var _0x1e1ff9=_0x25fdaf;super(),A(this,_0x1e1ff9(0x1c5),new $['BehaviorSubject'](null)),A(this,'unitInfo$',this['_unitInfo$'][_0x1e1ff9(0x266)]()),(this['_logService']=_0x37b0dd,this[_0x1e1ff9(0x487)]=_0x57f2c3,this[_0x1e1ff9(0x4db)]=_0x3038be);}async['loadUnitOfRevision'](_0x1cdc76,_0x566534,_0x4d01e0){var _0x3b0040=_0x25fdaf;this['_unitInfo$'][_0x3b0040(0x44d)]({'unitId':_0x1cdc76,'type':_0x566534});let _0x4b9cd2=null;switch(_0x566534){case J['UNIVER_SHEET']:{_0x4b9cd2=await this['_snapshotService']['loadSheet'](_0x1cdc76,_0x4d01e0);break;}case J[_0x3b0040(0x1e0)]:{_0x4b9cd2=await this[_0x3b0040(0x487)]['loadDoc'](_0x1cdc76,_0x4d01e0);break;}default:{this[_0x3b0040(0x207)][_0x3b0040(0x2d3)](_0x3b0040(0x1fb),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x4b9cd2;}async['loadUnit'](_0xdf5e06,_0x4aec93,_0x3b06dc){var _0x39409d=_0x25fdaf,_0x2733bd;this['_unitInfo$'][_0x39409d(0x44d)]({'unitId':_0xdf5e06,'type':_0x4aec93,'subUnitId':_0x3b06dc});let _0x22956f=0x0;const _0x548fe1=await((_0x2733bd=this['_localCacheService'])==null?void 0x0:_0x2733bd[_0x39409d(0x42f)](_0xdf5e06));return _0x548fe1&&(_0x548fe1[_0x39409d(0x2d7)]||_0x548fe1['mutations'][_0x39409d(0x27c)]!==0x0)&&(_0x22956f=_0x548fe1['rev']),_0x22956f===0x0&&this[_0x39409d(0x207)][_0x39409d(0x338)](_0x39409d(0x1fb),_0x39409d(0x1fa)),this[_0x39409d(0x2d9)](_0xdf5e06,_0x4aec93,_0x22956f);}},exports[_0x25fdaf(0x2ec)]=cn([we(0x0,a[_0x25fdaf(0x248)]),we(0x1,a[_0x25fdaf(0x3a5)](I[_0x25fdaf(0x2af)])),we(0x2,a[_0x25fdaf(0x44b)](q))],exports[_0x25fdaf(0x2ec)]);var hn=Object['getOwnPropertyDescriptor'],_n=(_0x387718,_0x34a1f0,_0x6ffc31,_0x5441c3)=>{var _0x40c80e=_0x25fdaf;for(var _0x10b18a=_0x5441c3>0x1?void 0x0:_0x5441c3?hn(_0x34a1f0,_0x6ffc31):_0x34a1f0,_0x20e780=_0x387718[_0x40c80e(0x27c)]-0x1,_0x2763fe;_0x20e780>=0x0;_0x20e780--)(_0x2763fe=_0x387718[_0x20e780])&&(_0x10b18a=_0x2763fe(_0x10b18a)||_0x10b18a);return _0x10b18a;},Le=(_0x36c3e1,_0x17dbf6)=>(_0xecdd93,_0x261708)=>_0x17dbf6(_0xecdd93,_0x261708,_0x36c3e1);const ln=[_0x25fdaf(0x1f7),_0x25fdaf(0x395),'image/jpg',_0x25fdaf(0x4de),_0x25fdaf(0x200)],un=0x5*0x400*0x400,dn=_0x25fdaf(0x250),vn=_0x25fdaf(0x300),Sn=_0x25fdaf(0x4e8),fn='/universer-api/file/{fileID}/sign-url';exports[_0x25fdaf(0x2f1)]=class{constructor(_0x5e3bf1,_0x3dfacc,_0x5bea78){var _0x3f307c=_0x25fdaf;A(this,_0x3f307c(0x4f4),0x0),A(this,_0x3f307c(0x516),new $['Subject']()),A(this,_0x3f307c(0x269),this[_0x3f307c(0x516)]),A(this,_0x3f307c(0x43d),new Map()),(this['_httpService']=_0x5e3bf1,this[_0x3f307c(0x2f0)]=_0x3dfacc,this['_univerInstanceService']=_0x5bea78);}[_0x25fdaf(0x45c)](_0x17c135){var _0x33c7e0=_0x25fdaf;this[_0x33c7e0(0x4f4)]=_0x17c135,this['_change$']['next'](_0x17c135);}[_0x25fdaf(0x3c8)](_0x3b1361,_0x125a6a){var _0x1589f3=_0x25fdaf;if(_0x125a6a===z[_0x1589f3(0x325)][_0x1589f3(0x217)]){const _0xae8c28=new Image();return _0xae8c28['src']=_0x3b1361,_0xae8c28;}return this[_0x1589f3(0x43d)][_0x1589f3(0x4bb)](_0x3b1361);}[_0x25fdaf(0x429)](_0x4ad177,_0x35c1f5,_0x328a7b){var _0x59232f=_0x25fdaf;_0x35c1f5===z[_0x59232f(0x325)][_0x59232f(0x217)]||_0x328a7b==null||this[_0x59232f(0x43d)][_0x59232f(0x397)](_0x4ad177,_0x328a7b);}async[_0x25fdaf(0x373)](_0x5ab2d2){var _0x38caf4=_0x25fdaf;try{const _0x40fa4c=this['_replaceFileID'](this['_getSignURL'](),''+_0x5ab2d2),_0x261f13=(await this[_0x38caf4(0x35c)][_0x38caf4(0x4bb)](_0x40fa4c))['body'];if(_0x261f13['error']&&_0x261f13[_0x38caf4(0x2d3)]['code']===gt['OK']){const _0x315b11=new URL(_0x261f13['url'],this[_0x38caf4(0x1bb)]())[_0x38caf4(0x49a)]();return Promise['resolve'](_0x315b11);}return Promise[_0x38caf4(0x235)](_0x261f13[_0x38caf4(0x2d3)]);}catch(_0x1cf9d5){return Promise['reject'](_0x1cf9d5);}}async[_0x25fdaf(0x203)](_0xa1b08){var _0x2722bd=_0x25fdaf;let _0x123567='';if(!ln['includes'](_0xa1b08[_0x2722bd(0x2fa)]))return this['_decreaseWaiting'](),Promise[_0x2722bd(0x235)](new Error(z['ImageUploadStatusType']['ERROR_IMAGE_TYPE']));if(_0xa1b08[_0x2722bd(0x25e)]>un)return this[_0x2722bd(0x4a4)](),Promise['reject'](new Error(z[_0x2722bd(0x4a6)]['ERROR_EXCEED_SIZE']));try{const _0x50c124=new FormData();_0x50c124[_0x2722bd(0x4ef)](_0x2722bd(0x50e),_0xa1b08);const _0x3caf87=this[_0x2722bd(0x43b)][_0x2722bd(0x4f9)](),_0xdc7221=_0x3caf87==null?void 0x0:_0x3caf87['getUnitId']();if(!_0xdc7221)throw new Error(_0x2722bd(0x368));const _0x1e6d23=this[_0x2722bd(0x41b)]()+_0x2722bd(0x4b2)+_0xa1b08['size'][_0x2722bd(0x49a)]()+_0x2722bd(0x215)+Et[_0x2722bd(0x3e8)]+_0x2722bd(0x2c2)+encodeURIComponent(_0xdc7221),_0x2c6716={'body':_0x50c124},_0x2b2fa1=(await this[_0x2722bd(0x35c)]['post'](_0x1e6d23,_0x2c6716))[_0x2722bd(0x223)];if(typeof _0x2b2fa1[_0x2722bd(0x47c)]!='string')return this[_0x2722bd(0x4a4)](),Promise[_0x2722bd(0x235)](new Error(z[_0x2722bd(0x4a6)]['ERROR_IMAGE']));_0x123567=_0x2b2fa1['FileId'];}catch{return this[_0x2722bd(0x4a4)](),Promise[_0x2722bd(0x235)](new Error(z[_0x2722bd(0x4a6)]['ERROR_IMAGE']));}return new Promise((_0x453b61,_0x1042e1)=>{var _0x28981b=_0x2722bd;const _0x4444b4=new FileReader();_0x4444b4[_0x28981b(0x1f5)](_0xa1b08),_0x4444b4[_0x28981b(0x1e2)]=_0x1810a5=>{var _0x41e8ef=_0x28981b,_0x85808f;const _0x45cf7f=(_0x85808f=_0x1810a5[_0x41e8ef(0x29b)])==null?void 0x0:_0x85808f['result'];if(_0x45cf7f==null){this['_decreaseWaiting'](),_0x1042e1(new Error(z[_0x41e8ef(0x4a6)][_0x41e8ef(0x313)]));return;}const _0x11768e=a[_0x41e8ef(0x500)][_0x41e8ef(0x3d3)](0x6);_0x453b61({'imageId':_0x11768e,'imageSourceType':z[_0x41e8ef(0x325)][_0x41e8ef(0x234)],'source':_0x123567,'base64Cache':_0x45cf7f,'status':z['ImageUploadStatusType'][_0x41e8ef(0x4df)]}),this[_0x41e8ef(0x4a4)]();};});}[_0x25fdaf(0x41b)](){var _0x380286=_0x25fdaf,_0x542e19,_0x5a8fc1;const _0x522019=this[_0x380286(0x2f0)][_0x380286(0x507)](dn),_0x54b8e7=this[_0x380286(0x2f0)]['getConfig'](K);return(_0x5a8fc1=(_0x542e19=_0x54b8e7==null?void 0x0:_0x54b8e7[_0x380286(0x4cb)])!=null?_0x542e19:_0x522019)!=null?_0x5a8fc1:vn;}[_0x25fdaf(0x284)](){var _0x219340=_0x25fdaf,_0x515298,_0x24ca96;const _0xa077bb=this[_0x219340(0x2f0)][_0x219340(0x507)](Sn),_0x197515=this['_configService'][_0x219340(0x507)](K);return(_0x24ca96=(_0x515298=_0x197515==null?void 0x0:_0x197515[_0x219340(0x2cc)])!=null?_0x515298:_0xa077bb)!=null?_0x24ca96:fn;}['_getDownloadEndpointURL'](){var _0x178b65=_0x25fdaf,_0x45c36e;const _0x34eadb=this[_0x178b65(0x2f0)]['getConfig'](K);return(_0x45c36e=_0x34eadb==null?void 0x0:_0x34eadb[_0x178b65(0x514)])!=null?_0x45c36e:location[_0x178b65(0x3e7)];}[_0x25fdaf(0x262)](_0x6e3e6b,_0x294589){var _0x870ccc=_0x25fdaf;return _0x6e3e6b[_0x870ccc(0x4af)](_0x870ccc(0x51e),_0x294589);}[_0x25fdaf(0x4a4)](){var _0x339801=_0x25fdaf;this[_0x339801(0x4f4)]-=0x1,this[_0x339801(0x516)][_0x339801(0x44d)](this[_0x339801(0x4f4)]);}},exports[_0x25fdaf(0x2f1)]=_n([Le(0x0,a[_0x25fdaf(0x3a5)](Y[_0x25fdaf(0x3b9)])),Le(0x1,a[_0x25fdaf(0x2e1)]),Le(0x2,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x379)]))],exports[_0x25fdaf(0x2f1)]);var pn=Object['getOwnPropertyDescriptor'],In=(_0x107b56,_0x39ba9a,_0x8db9a8,_0x5d74b9)=>{var _0x859686=_0x25fdaf;for(var _0x294eea=_0x5d74b9>0x1?void 0x0:_0x5d74b9?pn(_0x39ba9a,_0x8db9a8):_0x39ba9a,_0x57ebaa=_0x107b56[_0x859686(0x27c)]-0x1,_0x3300bf;_0x57ebaa>=0x0;_0x57ebaa--)(_0x3300bf=_0x107b56[_0x57ebaa])&&(_0x294eea=_0x3300bf(_0x294eea)||_0x294eea);return _0x294eea;},at=(_0x32f7de,_0x22cc5b)=>(_0x3ab000,_0x4c56eb)=>_0x22cc5b(_0x3ab000,_0x4c56eb,_0x32f7de);const gn=_0x25fdaf(0x404);exports[_0x25fdaf(0x24c)]=class{constructor(_0x3883c5,_0x45b505){var _0x4af0cd=_0x25fdaf;this[_0x4af0cd(0x2f0)]=_0x3883c5,this[_0x4af0cd(0x21e)]=_0x45b505;}[_0x25fdaf(0x1c4)](){var _0x444da5=_0x25fdaf,_0x5eb45b,_0x489dbb;const _0x14d0f4=this[_0x444da5(0x2f0)][_0x444da5(0x507)](Ve),_0x4cf5c6=this[_0x444da5(0x2f0)][_0x444da5(0x507)](K);return(_0x489dbb=(_0x5eb45b=_0x4cf5c6==null?void 0x0:_0x4cf5c6[_0x444da5(0x4dc)])!=null?_0x5eb45b:_0x14d0f4)!=null?_0x489dbb:gn;}async['list'](_0x166c85){var _0x40fb1a=_0x25fdaf;const _0x21dcaf=this[_0x40fb1a(0x1c4)]()+_0x40fb1a(0x251);return{'list':[{'title':_0x40fb1a(0x522),'mentions':(await this[_0x40fb1a(0x21e)]['get'](_0x21dcaf,{'params':{'objectID':_0x166c85[_0x40fb1a(0x468)],'unitID':_0x166c85[_0x40fb1a(0x468)]}}))[_0x40fb1a(0x223)][_0x40fb1a(0x285)][_0x40fb1a(0x1ba)](_0x5c3d3e=>({'objectId':_0x5c3d3e['id'],'name':_0x5c3d3e['subject']['name'],'metadata':{'icon':_0x5c3d3e['subject'][_0x40fb1a(0x337)]},'label':_0x5c3d3e['subject'][_0x40fb1a(0x280)],'objectType':a[_0x40fb1a(0x1d1)][_0x40fb1a(0x2f3)]})),'metadata':{},'type':a['MentionType'][_0x40fb1a(0x2f3)]}]};}},exports[_0x25fdaf(0x24c)]=In([at(0x0,a[_0x25fdaf(0x3a5)](a[_0x25fdaf(0x2e1)])),at(0x1,a[_0x25fdaf(0x3a5)](Y['HTTPService']))],exports[_0x25fdaf(0x24c)]);var En=Object[_0x25fdaf(0x4ca)],mn=(_0xb90ae7,_0x22c1a8,_0x17ad63,_0x6052f4)=>{var _0x2db28f=_0x25fdaf;for(var _0x1922a3=_0x6052f4>0x1?void 0x0:_0x6052f4?En(_0x22c1a8,_0x17ad63):_0x22c1a8,_0x129ead=_0xb90ae7[_0x2db28f(0x27c)]-0x1,_0x28b297;_0x129ead>=0x0;_0x129ead--)(_0x28b297=_0xb90ae7[_0x129ead])&&(_0x1922a3=_0x28b297(_0x1922a3)||_0x1922a3);return _0x1922a3;},le=(_0x516b11,_0x58c6b2)=>(_0x1bfd25,_0x49c558)=>_0x58c6b2(_0x1bfd25,_0x49c558,_0x516b11);let Ue=class extends a[_0x25fdaf(0x503)]{constructor(_0x586286,_0x49bff8,_0x1abe78,_0x417e19,_0x249e1b){var _0x395665=_0x25fdaf;super(),this[_0x395665(0x307)]=_0x586286,this['_univerInstanceService']=_0x49bff8,this['_permissionService']=_0x1abe78,this['_collaborationSessionService']=_0x417e19,this['_collaborationUIEventService']=_0x249e1b,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x25fdaf(0x39d)](){var _0x41bb82=_0x25fdaf;const _0x4b2150=async _0x34e5f6=>{var _0x1b3e57=_0x305e;(await this[_0x1b3e57(0x425)][_0x1b3e57(0x341)](_0x34e5f6))[_0x1b3e57(0x4d0)][_0x1b3e57(0x310)](V[_0x1b3e57(0x42a)](_0x1e39d6=>_0x1e39d6[_0x1b3e57(0x353)]===I['CollaborationEvent'][_0x1b3e57(0x4fd)]),V[_0x1b3e57(0x1b1)](this['dispose$']))[_0x1b3e57(0x4dd)](_0x254f75=>{var _0x2d8bba=_0x1b3e57;const _0x4bf650=_0x254f75,{reason:_0x2cbd25}=_0x4bf650[_0x2d8bba(0x1c9)];this['_collaborationUIEventService']['emitEvent']({'id':Z[_0x2d8bba(0x36f)],'data':_0x2cbd25}),this[_0x2d8bba(0x48d)][_0x2d8bba(0x422)](new X[(_0x2d8bba(0x4a7))](_0x34e5f6)['id'],!0x1),this[_0x2d8bba(0x425)][_0x2d8bba(0x1ec)](_0x34e5f6);});};$[_0x41bb82(0x4d1)](this['_univerInstanceService'][_0x41bb82(0x393)](a[_0x41bb82(0x31e)][_0x41bb82(0x3f5)]),this[_0x41bb82(0x43b)][_0x41bb82(0x393)](a[_0x41bb82(0x31e)][_0x41bb82(0x1e0)]))[_0x41bb82(0x310)](V['map'](_0x145799=>_0x145799[_0x41bb82(0x3dc)]()),V[_0x41bb82(0x42a)](_0x5e1e66=>!a['isInternalEditorID'](_0x5e1e66)),V[_0x41bb82(0x1b1)](this[_0x41bb82(0x3e6)]))[_0x41bb82(0x4dd)](_0x3c6d93=>{_0x4b2150(_0x3c6d93);});}[_0x25fdaf(0x513)](){var _0x90f9d8=_0x25fdaf;const _0x230ed3=async _0x53f840=>{var _0x51029b=_0x305e;const _0x5752f4=await this[_0x51029b(0x425)]['requireSession'](_0x53f840),_0x1d57f0=this[_0x51029b(0x307)]['get'](X['SheetPermissionInitController']);_0x5752f4['event$']['pipe'](V[_0x51029b(0x42a)](_0x39753b=>_0x39753b[_0x51029b(0x353)]===I[_0x51029b(0x1e4)]['UPDATE_PERMISSION_OBJ']),V['takeUntil'](this[_0x51029b(0x3e6)]))[_0x51029b(0x4dd)](_0x503ddf=>{var _0x42c4b5=_0x51029b;const _0x15b20d=_0x503ddf,{objectId:_0x30d8a0}=_0x15b20d[_0x42c4b5(0x1c9)];_0x30d8a0===_0x53f840?_0x1d57f0[_0x42c4b5(0x1dd)](_0x53f840):_0x1d57f0[_0x42c4b5(0x3d4)](_0x53f840,_0x30d8a0);});};$[_0x90f9d8(0x4d1)](this[_0x90f9d8(0x43b)][_0x90f9d8(0x393)](a[_0x90f9d8(0x31e)]['UNIVER_SHEET']))[_0x90f9d8(0x310)](V[_0x90f9d8(0x1ba)](_0x252e11=>_0x252e11[_0x90f9d8(0x3dc)]()),V[_0x90f9d8(0x42a)](_0x486038=>!a[_0x90f9d8(0x434)](_0x486038)),V[_0x90f9d8(0x1b1)](this[_0x90f9d8(0x3e6)]))[_0x90f9d8(0x4dd)](_0x49d40b=>{_0x230ed3(_0x49d40b);});}};Ue=mn([le(0x0,a['Inject'](a['Injector'])),le(0x1,a[_0x25fdaf(0x379)]),le(0x2,a[_0x25fdaf(0x1cc)]),le(0x3,a[_0x25fdaf(0x3a5)](exports['CollaborationSessionService'])),le(0x4,a[_0x25fdaf(0x3a5)](ee))],Ue);var Cn=Object[_0x25fdaf(0x4ca)],Tn=(_0xa9851d,_0x92b0e0,_0x2ad727,_0x42d6d1)=>{for(var _0x4cacfe=_0x42d6d1>0x1?void 0x0:_0x42d6d1?Cn(_0x92b0e0,_0x2ad727):_0x92b0e0,_0x429ace=_0xa9851d['length']-0x1,_0x5e3d43;_0x429ace>=0x0;_0x429ace--)(_0x5e3d43=_0xa9851d[_0x429ace])&&(_0x4cacfe=_0x5e3d43(_0x4cacfe)||_0x4cacfe);return _0x4cacfe;},ct=(_0x1b34c2,_0x5cb3c1)=>(_0x3e62d1,_0x2c7e30)=>_0x5cb3c1(_0x3e62d1,_0x2c7e30,_0x1b34c2);exports['SnapshotServerOverHTTPService']=class{constructor(_0x5a8f44,_0x19719e){var _0x2ee4a8=_0x25fdaf;this['_configService']=_0x5a8f44,this[_0x2ee4a8(0x35c)]=_0x19719e;}async['getUnitOnRev'](_0x5e498,_0x20fc1e){var _0x11d9ca=_0x25fdaf,_0x2ae3ac;const {unitID:_0x14bb70,type:_0xe0792d,revision:_0x5f4702=0x0}=_0x20fc1e,_0x51dbb3=this[_0x11d9ca(0x1eb)]()+'/'+_0xe0792d+'/unit/'+_0x14bb70+_0x11d9ca(0x226)+_0x5f4702,_0x58d073=(await this[_0x11d9ca(0x35c)][_0x11d9ca(0x4bb)](_0x51dbb3))['body'],_0x492f4f=(_0x2ae3ac=_0x58d073['snapshot'])==null?void 0x0:_0x2ae3ac[_0x11d9ca(0x319)];if(_0x492f4f){const _0x59cb88=_0x492f4f==null?void 0x0:_0x492f4f[_0x11d9ca(0x3d7)],_0x5ad76f=I[_0x11d9ca(0x4bf)][_0x11d9ca(0x41d)](I['b64DecodeUnicode'](_0x59cb88));_0x492f4f[_0x11d9ca(0x3d7)]=_0x5ad76f,Object[_0x11d9ca(0x230)](_0x492f4f[_0x11d9ca(0x40a)])['forEach'](([,_0x267fbc])=>{var _0x5565ff=_0x11d9ca;const _0x1a5944=_0x267fbc[_0x5565ff(0x3d7)],_0x3c48d6=I[_0x5565ff(0x4bf)][_0x5565ff(0x41d)](I['b64DecodeUnicode'](_0x1a5944));_0x267fbc[_0x5565ff(0x3d7)]=_0x3c48d6;});}return _0x58d073;}async[_0x25fdaf(0x290)](_0x438ce1,_0x57ed97){var _0x5d8503=_0x25fdaf;const {unitID:_0x2e6a90,type:_0xc45a1f,blockID:_0x56cbbd}=_0x57ed97,_0x42c6b2=this['_getAPIPrefix']()+'/'+_0xc45a1f+_0x5d8503(0x3ba)+_0x2e6a90+'/block/'+_0x56cbbd;return(await this['_httpService']['get'](_0x42c6b2))[_0x5d8503(0x223)];}async[_0x25fdaf(0x33c)](_0x2726a4,_0xb4a2c8){var _0x20e80d=_0x25fdaf;const {unitID:_0x38cab8,type:_0x4a345e,blockID:_0x1e7997}=_0xb4a2c8,_0x12c9e5=this[_0x20e80d(0x351)]()+_0x20e80d(0x354)+_0x4a345e+_0x20e80d(0x3ba)+_0x38cab8+'/block/'+_0x1e7997;return(await this[_0x20e80d(0x35c)][_0x20e80d(0x4bb)](_0x12c9e5))[_0x20e80d(0x223)];}async[_0x25fdaf(0x455)](_0x2b6750,_0x560f97){var _0x59832f=_0x25fdaf;const {unitID:_0xc4d604,type:_0x51cb41,from:_0x1f05f0,to:_0x35f381}=_0x560f97,_0x2664dd=this[_0x59832f(0x351)]()+'/'+_0x51cb41+_0x59832f(0x3ba)+_0xc4d604+_0x59832f(0x216)+_0x1f05f0+_0x59832f(0x519)+_0x35f381;return(await this[_0x59832f(0x35c)][_0x59832f(0x4bb)](_0x2664dd))['body'];}[_0x25fdaf(0x1eb)](){var _0x586f59=_0x25fdaf,_0x3b00e5;return(_0x3b00e5=this['_configService']['getConfig'](lt))!=null?_0x3b00e5:this[_0x586f59(0x351)]();}['_getAPIPrefix'](){var _0x148d08=_0x25fdaf,_0x54fdcc,_0x40c78b;const _0x50caba=this[_0x148d08(0x2f0)]['getConfig'](_t),_0x20e909=this[_0x148d08(0x2f0)][_0x148d08(0x507)](K);return(_0x40c78b=(_0x54fdcc=_0x20e909==null?void 0x0:_0x20e909['snapshotServerUrl'])!=null?_0x54fdcc:_0x50caba)!=null?_0x40c78b:Lt;}async[_0x25fdaf(0x34b)](_0x34e1c8,_0x1b4713){var _0x56c281=_0x25fdaf;const _0x1d7781='/universer-api/snapshot/'+_0x1b4713['type']+_0x56c281(0x3ba)+_0x1b4713[_0x56c281(0x2fd)]+_0x56c281(0x210);return(await this[_0x56c281(0x35c)][_0x56c281(0x4bb)](_0x1d7781,{'params':{'resourceId':JSON[_0x56c281(0x4eb)](_0x1b4713[_0x56c281(0x24e)])}}))[_0x56c281(0x223)];}[_0x25fdaf(0x330)](){var _0x920ca8=_0x25fdaf;throw new Error(_0x920ca8(0x446));}[_0x25fdaf(0x4b7)](){var _0x5bc8a7=_0x25fdaf;throw new Error(_0x5bc8a7(0x446));}['saveSheetBlock'](){var _0x2434df=_0x25fdaf;throw new Error(_0x2434df(0x446));}['saveChangeset'](){var _0x26c357=_0x25fdaf;throw new Error(_0x26c357(0x446));}[_0x25fdaf(0x247)](){var _0x2786a0=_0x25fdaf;throw new Error(_0x2786a0(0x446));}[_0x25fdaf(0x29a)](){var _0x54ccdb=_0x25fdaf;throw new Error(_0x54ccdb(0x446));}},exports[_0x25fdaf(0x253)]=Tn([ct(0x0,a['IConfigService']),ct(0x1,a[_0x25fdaf(0x3a5)](Y[_0x25fdaf(0x3b9)]))],exports[_0x25fdaf(0x253)]);var bn=Object[_0x25fdaf(0x4ca)],Rn=(_0x349dea,_0x369422,_0x586927,_0x52988f)=>{for(var _0x37c432=_0x52988f>0x1?void 0x0:_0x52988f?bn(_0x369422,_0x586927):_0x369422,_0x478dcf=_0x349dea['length']-0x1,_0x2654eb;_0x478dcf>=0x0;_0x478dcf--)(_0x2654eb=_0x349dea[_0x478dcf])&&(_0x37c432=_0x2654eb(_0x37c432)||_0x37c432);return _0x37c432;},ue=(_0xe87c2c,_0x2d90f6)=>(_0x292df5,_0x5ab3cd)=>_0x2d90f6(_0x292df5,_0x5ab3cd,_0xe87c2c);exports[_0x25fdaf(0x2d6)]=class extends a[_0x25fdaf(0x4b0)]{constructor(_0x534310,_0x4bc13b,_0x3d3012,_0x4b727f,_0x59c3ce){super(_0x534310,_0x4bc13b,_0x3d3012),this['_transformService']=_0x4b727f,this['_logService']=_0x59c3ce;}[_0x25fdaf(0x415)](_0x30b6f2,_0x52ffef){var _0x432729=_0x25fdaf;const _0x2314e8=this['_getUndoStack'](_0x30b6f2);if(_0x2314e8)try{const _0x408122=this['_transformStack'](_0x2314e8,_0x52ffef);this[_0x432729(0x28b)](_0x30b6f2,_0x408122);}catch(_0x1b17e2){this[_0x432729(0x207)][_0x432729(0x2d3)]('[CollaborationUndoRedoService]',_0x1b17e2),this[_0x432729(0x1cf)](_0x30b6f2);}const _0xa2e565=this['_getRedoStack'](_0x30b6f2);if(_0xa2e565)try{const _0x39f930=this[_0x432729(0x35e)](_0xa2e565,_0x52ffef);this[_0x432729(0x30c)](_0x30b6f2,_0x39f930);}catch(_0x55f69a){this[_0x432729(0x207)][_0x432729(0x2d3)](_0x55f69a),this[_0x432729(0x4a8)](_0x30b6f2);}}['_clearUndo'](_0x1ff180){var _0x9abfa5=_0x25fdaf;const _0x4bf7d8=this[_0x9abfa5(0x241)](_0x1ff180);_0x4bf7d8&&(_0x4bf7d8['length']=0x0,this[_0x9abfa5(0x31d)]());}[_0x25fdaf(0x4a8)](_0x3db218){var _0x151fc9=_0x25fdaf;const _0x31471e=this[_0x151fc9(0x2cf)](_0x3db218);_0x31471e&&(_0x31471e[_0x151fc9(0x27c)]=0x0,this[_0x151fc9(0x31d)]());}[_0x25fdaf(0x28b)](_0x258e79,_0x14b6f3){var _0x3671fc=_0x25fdaf;this[_0x3671fc(0x3e0)]['set'](_0x258e79,_0x14b6f3),this[_0x3671fc(0x31d)]();}[_0x25fdaf(0x30c)](_0x92664a,_0x551f5c){var _0x27f649=_0x25fdaf;this[_0x27f649(0x4c9)][_0x27f649(0x397)](_0x92664a,_0x551f5c),this[_0x27f649(0x31d)]();}[_0x25fdaf(0x35e)](_0x4a6658,_0x18005a){var _0x4717b5=_0x25fdaf;const _0x204dc4=[];let _0x118e22=_0x18005a,_0x32d999=_0x18005a;for(let _0x56fd18=_0x4a6658[_0x4717b5(0x27c)]-0x1;_0x56fd18>=0x0;_0x56fd18--){const {unitID:_0x2f8522,undoMutations:_0x30e539,redoMutations:_0x40d379}=_0x4a6658[_0x56fd18],_0x293110=this[_0x4717b5(0x4cd)][_0x4717b5(0x2eb)](_0x118e22,_0x30e539),_0x6c3ae4=this[_0x4717b5(0x4cd)][_0x4717b5(0x2eb)](_0x32d999,_0x40d379);if(I[_0x4717b5(0x1e5)](_0x293110)||I['isTransformMutationsWithChangesetFailure'](_0x6c3ae4)){this['_logService'][_0x4717b5(0x2d3)](_0x4717b5(0x4ad),'transformStack\x20failed!',_0x293110,_0x6c3ae4);break;}_0x118e22=_0x293110[_0x4717b5(0x321)],_0x32d999=_0x6c3ae4[_0x4717b5(0x321)],_0x204dc4[_0x4717b5(0x46e)]({'unitID':_0x2f8522,'undoMutations':_0x293110['m2Prime'],'redoMutations':_0x6c3ae4[_0x4717b5(0x470)]});}return _0x204dc4[_0x4717b5(0x4c5)]();}},exports['CollaborativeUndoRedoService']=Rn([ue(0x0,a[_0x25fdaf(0x379)]),ue(0x1,a[_0x25fdaf(0x464)]),ue(0x2,a[_0x25fdaf(0x3b0)]),ue(0x3,I[_0x25fdaf(0x4f2)]),ue(0x4,a[_0x25fdaf(0x248)])],exports[_0x25fdaf(0x2d6)]);var On=Object['defineProperty'],yn=Object[_0x25fdaf(0x4ca)],Nn=(_0xbbb0c7,_0x307d8a,_0x1541ec)=>_0x307d8a in _0xbbb0c7?On(_0xbbb0c7,_0x307d8a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1541ec}):_0xbbb0c7[_0x307d8a]=_0x1541ec,Un=(_0x54f22e,_0x1b67a5,_0x4b1c59,_0x1cf6f9)=>{var _0x369a2b=_0x25fdaf;for(var _0x5bcdcf=_0x1cf6f9>0x1?void 0x0:_0x1cf6f9?yn(_0x1b67a5,_0x4b1c59):_0x1b67a5,_0x47b0e1=_0x54f22e[_0x369a2b(0x27c)]-0x1,_0x45fae7;_0x47b0e1>=0x0;_0x47b0e1--)(_0x45fae7=_0x54f22e[_0x47b0e1])&&(_0x5bcdcf=_0x45fae7(_0x5bcdcf)||_0x5bcdcf);return _0x5bcdcf;},Me=(_0x3a5a68,_0x3ca90d)=>(_0x573a26,_0x16d9a4)=>_0x3ca90d(_0x573a26,_0x16d9a4,_0x3a5a68),Dn=(_0x5f1377,_0x2c1520,_0x5d1927)=>Nn(_0x5f1377,_0x2c1520+'',_0x5d1927);const An='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x25fdaf(0x1c0)]=class extends a['Plugin']{constructor(_0xbcbcd,_0x4b8a79,_0x22306a,_0x17b057){var _0x6bebbd=_0x25fdaf;super(),A(this,_0x6bebbd(0x2e7)),(this[_0x6bebbd(0x207)]=_0x4b8a79,this['_injector']=_0x22306a,this['_configService']=_0x17b057);const {..._0x1603f7}=a[_0x6bebbd(0x4d1)]({},Yt,_0xbcbcd);if(!_0x1603f7[_0x6bebbd(0x37c)])throw new Error(_0x6bebbd(0x357));this[_0x6bebbd(0x2e7)]=_0x1603f7,this['_configService'][_0x6bebbd(0x3b1)](K,_0x1603f7);}[_0x25fdaf(0x4f1)](){var _0x4aa49e=_0x25fdaf;this[_0x4aa49e(0x311)](),this[_0x4aa49e(0x3c0)]();}[_0x25fdaf(0x311)](){var _0x4d5c25=_0x25fdaf,_0x23b941,_0x54faa6;this[_0x4d5c25(0x307)][_0x4d5c25(0x3bc)](a[_0x4d5c25(0x524)])&&this[_0x4d5c25(0x207)][_0x4d5c25(0x2d3)](_0x4d5c25(0x1ef),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x55ce82=a['mergeOverrideWithDependencies']([[a[_0x4d5c25(0x524)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports['CollaborationSessionService']],[exports['MemberService']],[exports[_0x4d5c25(0x3fc)]],[ye],[Ne],[$e],[Ue],[ee],[exports['DataLoaderService']],[He,{'useClass':this[_0x4d5c25(0x2e7)][_0x4d5c25(0x37c)]}],[I[_0x4d5c25(0x378)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x4d5c25(0x363)],{'useClass':exports[_0x4d5c25(0x4d6)]}],[z[_0x4d5c25(0x242)],{'useClass':exports[_0x4d5c25(0x2f1)]}],[a[_0x4d5c25(0x2ea)],{'useClass':exports[_0x4d5c25(0x24c)]}],[exports[_0x4d5c25(0x2ce)]],[xe]],(_0x23b941=this[_0x4d5c25(0x2e7)])==null?void 0x0:_0x23b941[_0x4d5c25(0x1d7)]);if(!((_0x54faa6=this[_0x4d5c25(0x2e7)])!=null&&_0x54faa6['enableSingleActiveInstanceLock'])){const _0x4b1196=_0x55ce82[_0x4d5c25(0x2a9)](([_0x4aa15e])=>_0x4aa15e===de);_0x4b1196!==-0x1&&_0x55ce82[_0x4d5c25(0x467)](_0x4b1196,0x1);}a[_0x4d5c25(0x4d5)](this[_0x4d5c25(0x307)],_0x55ce82);}[_0x25fdaf(0x3c0)](){var _0x2da76d=_0x25fdaf,_0x1b7485,_0x1320a5,_0x7f7f30;this[_0x2da76d(0x307)][_0x2da76d(0x4bb)](Y[_0x2da76d(0x3b9)])[_0x2da76d(0x2aa)]({'priority':0x14,'interceptor':Y[_0x2da76d(0x1c6)]({'maxParallel':0x6})}),(_0x1b7485=this[_0x2da76d(0x2e7)])!=null&&_0x1b7485[_0x2da76d(0x447)]||(_0x1320a5=this[_0x2da76d(0x307)][_0x2da76d(0x4bb)](q,a[_0x2da76d(0x204)][_0x2da76d(0x506)]))==null||_0x1320a5[_0x2da76d(0x498)](),(_0x7f7f30=this['_config'])!=null&&_0x7f7f30[_0x2da76d(0x3d6)]&&a[_0x2da76d(0x408)](this[_0x2da76d(0x307)],[[ye]]),a[_0x2da76d(0x408)](this['_injector'],[[Ne],[exports['CollaborationController']],[Ue]]);}},Dn(exports[_0x25fdaf(0x1c0)],'pluginName',An),exports[_0x25fdaf(0x1c0)]=Un([a[_0x25fdaf(0x47a)](I[_0x25fdaf(0x50d)],Y[_0x25fdaf(0x2ac)]),Me(0x1,a[_0x25fdaf(0x248)]),Me(0x2,a[_0x25fdaf(0x3a5)](a['Injector'])),Me(0x3,a['IConfigService'])],exports['UniverCollaborationClientPlugin']),exports[_0x25fdaf(0x305)]=Ve,exports[_0x25fdaf(0x4ec)]=K,exports['COLLAB_SUBMIT_CHANGESET_URL_KEY']=pt,exports['COLLAB_WEB_SOCKET_URL_KEY']=ut,exports[_0x25fdaf(0x1b5)]=Be,exports['CollaborationUIEventId']=Z,exports['CollaborationUIEventService']=ee,exports[_0x25fdaf(0x4ee)]=$e,exports[_0x25fdaf(0x463)]=dt,exports[_0x25fdaf(0x1ea)]=Kt,exports[_0x25fdaf(0x219)]=kt,exports[_0x25fdaf(0x1f4)]=vt,exports[_0x25fdaf(0x359)]=ke,exports['ICollaborationSocketService']=He,exports[_0x25fdaf(0x461)]=q,exports[_0x25fdaf(0x3c7)]=mt,exports[_0x25fdaf(0x254)]=de,exports[_0x25fdaf(0x30a)]=Ft,exports[_0x25fdaf(0x205)]=Bt,exports['LOGIN_URL_KEY']=It,exports[_0x25fdaf(0x511)]=Gt,exports[_0x25fdaf(0x3d1)]=ft,exports[_0x25fdaf(0x473)]=Mt,exports[_0x25fdaf(0x26d)]=_t,exports['SNAPSHOT_URL_KEY']=lt,exports['SessionStatus']=re,exports[_0x25fdaf(0x336)]=je,exports['deserializeToCombResponse']=Ct,exports[_0x25fdaf(0x1de)]=oi,exports[_0x25fdaf(0x275)]=Tt;
|
1
|
+
'use strict';var _0x22ac88=_0xfcb9;(function(_0xf72115,_0x2c9e8d){var _0x49f156=_0xfcb9,_0x56688d=_0xf72115();while(!![]){try{var _0x5b4398=-parseInt(_0x49f156(0x549))/0x1+-parseInt(_0x49f156(0x375))/0x2+parseInt(_0x49f156(0x2c4))/0x3*(parseInt(_0x49f156(0x451))/0x4)+parseInt(_0x49f156(0x213))/0x5+parseInt(_0x49f156(0x33f))/0x6+-parseInt(_0x49f156(0x3f3))/0x7*(parseInt(_0x49f156(0x4ae))/0x8)+parseInt(_0x49f156(0x4b9))/0x9;if(_0x5b4398===_0x2c9e8d)break;else _0x56688d['push'](_0x56688d['shift']());}catch(_0x12e713){_0x56688d['push'](_0x56688d['shift']());}}}(_0x7ec8,0x5e868));var Dt=Object['defineProperty'],At=(_0x3a0fc9,_0xf5e5cc,_0x2a117e)=>_0xf5e5cc in _0x3a0fc9?Dt(_0x3a0fc9,_0xf5e5cc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a117e}):_0x3a0fc9[_0xf5e5cc]=_0x2a117e,A=(_0x362a8c,_0x2b8b56,_0x40d65c)=>At(_0x362a8c,typeof _0x2b8b56!=_0x22ac88(0x236)?_0x2b8b56+'':_0x2b8b56,_0x40d65c);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x22ac88(0x4da)});const a=require(_0x22ac88(0x2b1)),$=require(_0x22ac88(0x52b)),V=require('rxjs/operators'),I=require(_0x22ac88(0x35a)),Y=require('@univerjs/network'),Pt=require(_0x22ac88(0x3cd)),ht=require(_0x22ac88(0x37a)),X=require(_0x22ac88(0x25e)),z=require(_0x22ac88(0x1f7)),wt=require(_0x22ac88(0x3a2)),_t=_0x22ac88(0x2ca),Lt=_0x22ac88(0x1d4),lt='SNAPSHOT_URL_KEY',Mt=_0x22ac88(0x34b),xt=0x7d0,ut=_0x22ac88(0x479),dt=_0x22ac88(0x305),kt='/universer-api/user/session-ticket',vt=_0x22ac88(0x30e),Ht=0x7530,ke=_0x22ac88(0x539),St=0x4e20,$t=0x4e20,ft=_0x22ac88(0x43d),jt=0x3,Bt=_0x22ac88(0x489),Ft=0x3e8,pt=_0x22ac88(0x22f),Vt=_0x22ac88(0x411),It='LOGIN_URL_KEY',Wt=_0x22ac88(0x402),Gt=_0x22ac88(0x3f5),Kt=_0x22ac88(0x275);var gt=(_0x2c6437=>(_0x2c6437[_0x2c6437[_0x22ac88(0x212)]=0x0]=_0x22ac88(0x212),_0x2c6437[_0x2c6437['OK']=0x1]='OK',_0x2c6437[_0x2c6437[_0x22ac88(0x458)]=0x2]='INTERNAL_ERROR',_0x2c6437[_0x2c6437['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x2c6437[_0x2c6437[_0x22ac88(0x2f1)]=0x4]='NOT_FOUND',_0x2c6437[_0x2c6437[_0x22ac88(0x53f)]=0x5]='UNAUTHENTICATED',_0x2c6437[_0x2c6437[_0x22ac88(0x235)]=0x6]=_0x22ac88(0x235),_0x2c6437[_0x2c6437['INVALID_ARGUMENT']=0x7]=_0x22ac88(0x38b),_0x2c6437[_0x2c6437['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x2c6437[_0x2c6437['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x2c6437[_0x2c6437[_0x22ac88(0x4c6)]=0xa]=_0x22ac88(0x4c6),_0x2c6437[_0x2c6437['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x22ac88(0x2ad),_0x2c6437[_0x2c6437[_0x22ac88(0x2e1)]=0x1771]=_0x22ac88(0x2e1),_0x2c6437[_0x2c6437[_0x22ac88(0x265)]=0x1772]=_0x22ac88(0x265),_0x2c6437[_0x2c6437['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x22ac88(0x1de),_0x2c6437[_0x2c6437[_0x22ac88(0x30b)]=0x1b59]=_0x22ac88(0x30b),_0x2c6437[_0x2c6437[_0x22ac88(0x4e5)]=0x1b5a]=_0x22ac88(0x4e5),_0x2c6437[_0x2c6437[_0x22ac88(0x2e9)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2c6437[_0x2c6437['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2c6437[_0x2c6437[_0x22ac88(0x3f2)]=0x1b5d]='APPLY_DUPLICATED',_0x2c6437[_0x2c6437[_0x22ac88(0x221)]=0x1f41]=_0x22ac88(0x221),_0x2c6437[_0x2c6437[_0x22ac88(0x430)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2c6437[_0x2c6437[_0x22ac88(0x3e7)]=0x232a]=_0x22ac88(0x3e7),_0x2c6437[_0x2c6437['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x22ac88(0x22a),_0x2c6437[_0x2c6437[_0x22ac88(0x2f4)]=0x232c]=_0x22ac88(0x2f4),_0x2c6437[_0x2c6437[_0x22ac88(0x46e)]=0x232d]=_0x22ac88(0x46e),_0x2c6437[_0x2c6437['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x22ac88(0x40d),_0x2c6437[_0x2c6437[_0x22ac88(0x4fb)]=0x2712]=_0x22ac88(0x4fb),_0x2c6437[_0x2c6437[_0x22ac88(0x2d3)]=0x2713]=_0x22ac88(0x2d3),_0x2c6437[_0x2c6437['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x22ac88(0x215),_0x2c6437[_0x2c6437[_0x22ac88(0x308)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x2c6437[_0x2c6437[_0x22ac88(0x2a3)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x2c6437[_0x2c6437[_0x22ac88(0x511)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x2c6437[_0x2c6437['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x22ac88(0x228),_0x2c6437[_0x2c6437[_0x22ac88(0x1ee)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x2c6437[_0x2c6437[_0x22ac88(0x372)]=0x271f]=_0x22ac88(0x372),_0x2c6437[_0x2c6437[_0x22ac88(0x3ec)]=0x2af9]=_0x22ac88(0x3ec),_0x2c6437[_0x2c6437[_0x22ac88(0x353)]=0x2ee1]=_0x22ac88(0x353),_0x2c6437[_0x2c6437[_0x22ac88(0x300)]=0x2ee2]=_0x22ac88(0x300),_0x2c6437[_0x2c6437[_0x22ac88(0x292)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2c6437[_0x2c6437[_0x22ac88(0x410)]=0x2ee4]=_0x22ac88(0x410),_0x2c6437[_0x2c6437[_0x22ac88(0x3d9)]=0x2ee5]=_0x22ac88(0x3d9),_0x2c6437[_0x2c6437['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x22ac88(0x345),_0x2c6437[_0x2c6437[_0x22ac88(0x321)]=0x32ca]=_0x22ac88(0x321),_0x2c6437[_0x2c6437[_0x22ac88(0x46f)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x2c6437[_0x2c6437[_0x22ac88(0x336)]=-0x1]=_0x22ac88(0x336),_0x2c6437))(gt||{}),J=(_0x4e36b5=>(_0x4e36b5[_0x4e36b5['UNIVER_UNKNOWN']=0x0]=_0x22ac88(0x45a),_0x4e36b5[_0x4e36b5[_0x22ac88(0x3d5)]=0x1]='UNIVER_DOC',_0x4e36b5[_0x4e36b5[_0x22ac88(0x403)]=0x2]=_0x22ac88(0x403),_0x4e36b5[_0x4e36b5[_0x22ac88(0x54a)]=0x3]=_0x22ac88(0x54a),_0x4e36b5[_0x4e36b5[_0x22ac88(0x2d4)]=0x4]=_0x22ac88(0x2d4),_0x4e36b5[_0x4e36b5[_0x22ac88(0x336)]=-0x1]='UNRECOGNIZED',_0x4e36b5))(J||{}),W=(_0x5e455a=>(_0x5e455a[_0x5e455a[_0x22ac88(0x4ac)]=0x0]=_0x22ac88(0x4ac),_0x5e455a[_0x5e455a[_0x22ac88(0x470)]=0x1]='HELLO',_0x5e455a[_0x5e455a[_0x22ac88(0x39b)]=0x2]=_0x22ac88(0x39b),_0x5e455a[_0x5e455a[_0x22ac88(0x529)]=0x3]='LEAVE',_0x5e455a[_0x5e455a['INGEST']=0x4]='INGEST',_0x5e455a[_0x5e455a[_0x22ac88(0x4d2)]=0x5]=_0x22ac88(0x4d2),_0x5e455a[_0x5e455a[_0x22ac88(0x1f2)]=0x6]=_0x22ac88(0x1f2),_0x5e455a[_0x5e455a[_0x22ac88(0x336)]=-0x1]='UNRECOGNIZED',_0x5e455a))(W||{}),oe=(_0x424235=>(_0x424235[_0x424235[_0x22ac88(0x33d)]=0x0]='UNKNOWN_CODE',_0x424235[_0x424235['OK']=0x1]='OK',_0x424235[_0x424235[_0x22ac88(0x25c)]=0x2]=_0x22ac88(0x25c),_0x424235[_0x424235[_0x22ac88(0x3fd)]=0x3e9]='JOIN_ROOM_FULL',_0x424235[_0x424235[_0x22ac88(0x341)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x424235[_0x424235[_0x22ac88(0x313)]=0x3eb]=_0x22ac88(0x313),_0x424235[_0x424235[_0x22ac88(0x3bb)]=0x3ec]=_0x22ac88(0x3bb),_0x424235[_0x424235['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x424235))(oe||{}),Et=(_0x3305ea=>(_0x3305ea[_0x3305ea[_0x22ac88(0x49f)]=0x0]=_0x22ac88(0x49f),_0x3305ea[_0x3305ea[_0x22ac88(0x52a)]=0x1]=_0x22ac88(0x52a),_0x3305ea[_0x3305ea[_0x22ac88(0x392)]=0x2]=_0x22ac88(0x392),_0x3305ea[_0x3305ea[_0x22ac88(0x347)]=0x3]=_0x22ac88(0x347),_0x3305ea[_0x3305ea[_0x22ac88(0x383)]=0x4]=_0x22ac88(0x383),_0x3305ea[_0x3305ea[_0x22ac88(0x253)]=0x5]=_0x22ac88(0x253),_0x3305ea[_0x3305ea[_0x22ac88(0x336)]=-0x1]='UNRECOGNIZED',_0x3305ea))(Et||{});const K=_0x22ac88(0x4a6),Yt={};var Z=(_0x67171a=>(_0x67171a['OTHER_CLIENT_EDITING']=_0x22ac88(0x48f),_0x67171a[_0x22ac88(0x2af)]=_0x22ac88(0x2af),_0x67171a[_0x22ac88(0x1e9)]=_0x22ac88(0x1e9),_0x67171a[_0x22ac88(0x532)]=_0x22ac88(0x532),_0x67171a[_0x22ac88(0x498)]=_0x22ac88(0x498),_0x67171a[_0x22ac88(0x480)]=_0x22ac88(0x480),_0x67171a[_0x22ac88(0x240)]='SOCKET_FAILED',_0x67171a[_0x22ac88(0x47f)]=_0x22ac88(0x47f),_0x67171a))(Z||{});class ee{constructor(){var _0xdd4b47=_0x22ac88;A(this,_0xdd4b47(0x20f),new $[(_0xdd4b47(0x26a))]()),A(this,_0xdd4b47(0x4a7),this['_event$'][_0xdd4b47(0x20a)]());}[_0x22ac88(0x208)](_0x49dd46){var _0x11262b=_0x22ac88;this['_event$'][_0x11262b(0x239)](_0x49dd46);}}const mt=a['createIdentifier'](_0x22ac88(0x290));function Ct(_0x5f1130){var _0x5dc60c=_0x22ac88,_0x2b0c61,_0x333811,_0x2e4f66,_0x2dcc80,_0x1b26e5;const _0x253ebb=_0x5f1130[_0x5dc60c(0x381)],_0x3160f3=JSON[_0x5dc60c(0x3da)](_0x253ebb);switch(_0x3160f3[_0x5dc60c(0x399)]){case W['HEARTBEAT']:case W['HELLO']:{const _0x36b148=_0x3160f3[_0x5dc60c(0x454)];return{..._0x3160f3,'data':_0x36b148,'cmd':_0x3160f3['cmd']};}case W['JOIN']:{const _0x1f24c5=_0x3160f3[_0x5dc60c(0x426)];return{..._0x3160f3,'data':_0x1f24c5,'cmd':_0x3160f3[_0x5dc60c(0x399)]};}case W[_0x5dc60c(0x1f2)]:{const _0x5e2ef0=_0x3160f3['collaMsg'];switch(_0x5e2ef0[_0x5dc60c(0x35f)]){case I[_0x5dc60c(0x36b)][_0x5dc60c(0x509)]:return{..._0x3160f3,'data':{..._0x5e2ef0,'data':(_0x2b0c61=_0x5e2ef0['permissionRejEvent'])==null?void 0x0:_0x2b0c61['cs']},'cmd':_0x3160f3[_0x5dc60c(0x399)]};case I[_0x5dc60c(0x36b)]['CHANGESET_ACK']:return{..._0x3160f3,'data':{..._0x5e2ef0,'data':(_0x333811=_0x5e2ef0[_0x5dc60c(0x271)])==null?void 0x0:_0x333811['cs']},'cmd':_0x3160f3[_0x5dc60c(0x399)]};case I[_0x5dc60c(0x36b)][_0x5dc60c(0x475)]:return{..._0x3160f3,'data':{..._0x5e2ef0,'data':(_0x2e4f66=_0x5e2ef0[_0x5dc60c(0x2fb)])==null?void 0x0:_0x2e4f66['cs']},'cmd':_0x3160f3[_0x5dc60c(0x399)]};case I[_0x5dc60c(0x36b)][_0x5dc60c(0x441)]:return{..._0x3160f3,'data':{..._0x5e2ef0,'data':(_0x2dcc80=_0x5e2ef0[_0x5dc60c(0x53b)])==null?void 0x0:_0x2dcc80['cs']},'cmd':_0x3160f3[_0x5dc60c(0x399)]};case I['CollaborationEvent'][_0x5dc60c(0x288)]:return{..._0x3160f3,'data':{..._0x5e2ef0,'data':(_0x1b26e5=_0x5e2ef0[_0x5dc60c(0x487)])==null?void 0x0:_0x1b26e5['cs']},'cmd':_0x3160f3[_0x5dc60c(0x399)]};case I[_0x5dc60c(0x36b)][_0x5dc60c(0x1fe)]:return{..._0x3160f3,'data':{..._0x5e2ef0,'data':_0x5e2ef0[_0x5dc60c(0x40b)]},'cmd':_0x3160f3[_0x5dc60c(0x399)]};case I[_0x5dc60c(0x36b)][_0x5dc60c(0x49d)]:return{..._0x3160f3,'data':{..._0x5e2ef0,'data':_0x5e2ef0['joinEvent']},'cmd':_0x3160f3[_0x5dc60c(0x399)]};case I[_0x5dc60c(0x36b)][_0x5dc60c(0x2f5)]:return{..._0x3160f3,'data':{..._0x5e2ef0,'data':_0x5e2ef0[_0x5dc60c(0x3ab)]},'cmd':_0x3160f3[_0x5dc60c(0x399)]};case I[_0x5dc60c(0x36b)][_0x5dc60c(0x254)]:return{..._0x3160f3,'data':{..._0x5e2ef0,'data':_0x5e2ef0[_0x5dc60c(0x1e1)]},'cmd':_0x3160f3['cmd']};case I['CollaborationEvent'][_0x5dc60c(0x37f)]:case I['CollaborationEvent'][_0x5dc60c(0x3a7)]:return{..._0x3160f3,'data':{..._0x5e2ef0,'data':_0x5e2ef0['liveShareOperation']},'cmd':_0x3160f3[_0x5dc60c(0x399)]};case I[_0x5dc60c(0x36b)][_0x5dc60c(0x541)]:return{..._0x3160f3,'data':{..._0x5e2ef0,'data':_0x5e2ef0['liveShareNewHost']},'cmd':_0x3160f3['cmd']};case I['CollaborationEvent'][_0x5dc60c(0x547)]:return{..._0x3160f3,'data':_0x5e2ef0,'cmd':_0x3160f3[_0x5dc60c(0x399)]};case I[_0x5dc60c(0x36b)]['COMMENT_UPDATE']:return{..._0x3160f3,'data':{..._0x5e2ef0,'data':_0x5e2ef0[_0x5dc60c(0x3b0)]},'cmd':_0x3160f3[_0x5dc60c(0x399)]};case I['CollaborationEvent'][_0x5dc60c(0x30d)]:return{..._0x3160f3,'data':{..._0x5e2ef0,'data':_0x5e2ef0[_0x5dc60c(0x4d8)]},'cmd':_0x3160f3['cmd']};case I['CollaborationEvent'][_0x5dc60c(0x206)]:return{..._0x3160f3,'data':{..._0x5e2ef0,'data':_0x5e2ef0['shouldCloseConn']},'cmd':_0x3160f3[_0x5dc60c(0x399)]};case I[_0x5dc60c(0x36b)][_0x5dc60c(0x21b)]:return{..._0x3160f3,'data':{..._0x5e2ef0,'data':_0x5e2ef0['uniscriptRunEvent']},'cmd':_0x3160f3[_0x5dc60c(0x399)]};default:return _0x3160f3;}}default:return _0x3160f3;}}function Tt(_0x224f01){var _0x23186f=_0x22ac88;switch(_0x224f01['cmd']){case W['HEARTBEAT']:case W[_0x23186f(0x470)]:return JSON[_0x23186f(0x3d1)]({'cmd':_0x224f01[_0x23186f(0x399)],'routeKey':_0x224f01['routeKey']});case W[_0x23186f(0x496)]:{let _0x221b8f;switch(_0x224f01[_0x23186f(0x381)][_0x23186f(0x35f)]){case I[_0x23186f(0x36b)][_0x23186f(0x1fe)]:{_0x221b8f={'eventID':I['CollaborationEvent'][_0x23186f(0x1fe)],'updateCursorEvent':_0x224f01[_0x23186f(0x381)]['data']};break;}case I['CollaborationEvent'][_0x23186f(0x2f5)]:{_0x221b8f={'eventID':I[_0x23186f(0x36b)][_0x23186f(0x2f5)],'leaveEvent':_0x224f01['data'][_0x23186f(0x381)]};break;}case I[_0x23186f(0x36b)][_0x23186f(0x49d)]:{_0x221b8f={'eventID':I[_0x23186f(0x36b)]['USERS_ENTER'],'joinEvent':_0x224f01[_0x23186f(0x381)][_0x23186f(0x381)]};break;}case I[_0x23186f(0x36b)][_0x23186f(0x254)]:{_0x221b8f={'eventID':I[_0x23186f(0x36b)][_0x23186f(0x254)],'liveShareNewHost':_0x224f01['data'][_0x23186f(0x381)]};break;}case I[_0x23186f(0x36b)]['LIVESHARE_OPERATION']:{_0x221b8f={'eventID':I[_0x23186f(0x36b)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x224f01[_0x23186f(0x381)][_0x23186f(0x381)]};break;}case I[_0x23186f(0x36b)][_0x23186f(0x541)]:{_0x221b8f={'eventID':I[_0x23186f(0x36b)][_0x23186f(0x541)],'liveShareTerminate':_0x224f01[_0x23186f(0x381)][_0x23186f(0x381)]};break;}case I['CollaborationEvent'][_0x23186f(0x42b)]:{_0x221b8f={'eventID':I[_0x23186f(0x36b)][_0x23186f(0x42b)],'liveShareRequestHost':_0x224f01['data']['data']};break;}case I['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:{_0x221b8f={'eventID':I[_0x23186f(0x36b)]['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x221b8f={'eventID':_0x224f01[_0x23186f(0x381)][_0x23186f(0x35f)]};}return JSON['stringify']({'cmd':_0x224f01[_0x23186f(0x399)],'routeKey':_0x224f01[_0x23186f(0x41a)],'collaMsg':_0x221b8f});}case W[_0x23186f(0x39b)]:return JSON[_0x23186f(0x3d1)]({'cmd':_0x224f01[_0x23186f(0x399)],'routeKey':_0x224f01[_0x23186f(0x41a)],'joinReq':_0x224f01[_0x23186f(0x381)]});case W[_0x23186f(0x529)]:return JSON[_0x23186f(0x3d1)]({'cmd':_0x224f01[_0x23186f(0x399)],'routeKey':_0x224f01[_0x23186f(0x41a)],'leaveReq':_0x224f01['data']});default:throw new Error(_0x23186f(0x53d));}}var qt=Object[_0x22ac88(0x22c)],zt=(_0x5ae3a7,_0x29ea6c,_0x108f40,_0x5e6cf1)=>{var _0x53adf4=_0x22ac88;for(var _0x276ed9=_0x5e6cf1>0x1?void 0x0:_0x5e6cf1?qt(_0x29ea6c,_0x108f40):_0x29ea6c,_0x938efd=_0x5ae3a7[_0x53adf4(0x295)]-0x1,_0x3c1a9d;_0x938efd>=0x0;_0x938efd--)(_0x3c1a9d=_0x5ae3a7[_0x938efd])&&(_0x276ed9=_0x3c1a9d(_0x276ed9)||_0x276ed9);return _0x276ed9;},_e=(_0x3f2c20,_0x15dbbc)=>(_0x1cdb03,_0x3acb8d)=>_0x15dbbc(_0x1cdb03,_0x3acb8d,_0x3f2c20);const He=a[_0x22ac88(0x4ce)]('univer-pro.collaboration-client-socket-service');function Jt(_0xe1924,_0x133a8e,_0x4132a8){var _0x4f0924=_0x22ac88;return _0xe1924+'/'+_0x133a8e+_0x4f0924(0x490)+_0x4132a8+_0x4f0924(0x4f9);}exports[_0x22ac88(0x4c5)]=class extends a[_0x22ac88(0x41c)]{constructor(_0x44cee8,_0x58cc70,_0x28de94,_0xb19b5d,_0x4aba0e){var _0x3e0ed7=_0x22ac88;super(),this['_injector']=_0x44cee8,this[_0x3e0ed7(0x4f0)]=_0x58cc70,this[_0x3e0ed7(0x3b3)]=_0x28de94,this[_0x3e0ed7(0x297)]=_0xb19b5d,this[_0x3e0ed7(0x2d7)]=_0x4aba0e;}[_0x22ac88(0x533)](_0x4f2f87){var _0x14c615=_0x22ac88;const _0x5cda04=this['_injector'][_0x14c615(0x26d)](Y['ISocketService']);if(!_0x5cda04)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x649fa6=_0x5cda04[_0x14c615(0x357)](_0x4f2f87);if(!_0x649fa6)throw new Error(_0x14c615(0x2b4));const _0xe2bac1=new a['DisposableCollection'](),_0x10ad0d=new $[(_0x14c615(0x26a))]();_0xe2bac1[_0x14c615(0x39a)](_0x649fa6[_0x14c615(0x31b)]['subscribe'](_0x1e685b=>_0x10ad0d['next'](_0x1e685b))),_0xe2bac1[_0x14c615(0x39a)](a['toDisposable'](()=>_0x10ad0d['complete']()));const _0x2c2984=new $[(_0x14c615(0x26a))]();_0xe2bac1[_0x14c615(0x39a)](_0x649fa6[_0x14c615(0x2cf)][_0x14c615(0x382)](_0x3dc8c9=>_0x2c2984['next'](_0x3dc8c9))),_0xe2bac1[_0x14c615(0x39a)](a[_0x14c615(0x31c)](()=>_0x2c2984[_0x14c615(0x3fe)]()));const _0x19227f=new $[(_0x14c615(0x26a))]();_0xe2bac1['add'](_0x649fa6[_0x14c615(0x214)][_0x14c615(0x382)](_0x5e4a21=>{const _0x1eda2c=Ct(_0x5e4a21);_0x19227f['next'](_0x1eda2c);})),_0xe2bac1[_0x14c615(0x39a)](a[_0x14c615(0x31c)](()=>_0x19227f[_0x14c615(0x3fe)]()));let _0xdbaa46;const _0x1737f1=()=>{var _0x21a116=_0x14c615;_0x2c2984[_0x21a116(0x239)](new Event(_0x21a116(0x497))),_0x10ad0d[_0x21a116(0x239)](new Event('connection\x20error')),_0xdbaa46['close']();};return _0xdbaa46={'memberID':'','close$':_0x10ad0d[_0x14c615(0x20a)](),'error$':_0x2c2984[_0x14c615(0x20a)](),'open$':_0x649fa6[_0x14c615(0x25b)],'message$':_0x19227f[_0x14c615(0x20a)](),'send':_0x2646be=>{var _0x129524=_0x14c615;if(_0x2646be['cmd']===W[_0x129524(0x496)]){if(_0x2646be[_0x129524(0x381)][_0x129524(0x35f)]===I[_0x129524(0x36b)][_0x129524(0x42d)]){this[_0x129524(0x38f)](_0xdbaa46,_0x2646be['data'])[_0x129524(0x46b)](_0x4ca13a=>{var _0x2447e1=_0x129524;this[_0x2447e1(0x297)][_0x2447e1(0x424)](_0x4ca13a),_0x1737f1();});return;}if(_0x2646be[_0x129524(0x381)]['eventID']===I[_0x129524(0x36b)][_0x129524(0x328)]){const _0x3ce5fa=_0x2646be[_0x129524(0x381)];this[_0x129524(0x4a1)](_0x3ce5fa)['then'](_0x364611=>{var _0x162208=_0x129524;_0x19227f[_0x162208(0x239)]({'cmd':W[_0x162208(0x1f2)],'code':oe['OK'],'routeKey':_0x3ce5fa[_0x162208(0x381)][_0x162208(0x281)],'routeType':'','data':{'eventID':I[_0x162208(0x36b)][_0x162208(0x39e)],'data':{'changesets':_0x364611}}});})[_0x129524(0x46b)](_0x151886=>{var _0x18d70d=_0x129524;this[_0x18d70d(0x297)]['error'](_0x151886),_0x1737f1();});return;}}_0x649fa6[_0x129524(0x482)](Tt(_0x2646be));},'close':()=>{var _0x5bb108=_0x14c615;_0x649fa6[_0x5bb108(0x2a9)](),_0xe2bac1[_0x5bb108(0x299)]();}},_0xdbaa46;}async[_0x22ac88(0x38f)](_0x1798aa,_0x34740e){var _0x2331aa=_0x22ac88,_0x412560,_0x210dd1;const {unitType:_0x32d0cf,unitID:_0x4b9214,changeset:_0x195609}=_0x34740e[_0x2331aa(0x381)],_0x111af5={'unitID':_0x4b9214,'memberID':_0x1798aa[_0x2331aa(0x3f1)],'type':_0x32d0cf,'changeset':I[_0x2331aa(0x4eb)](_0x195609)},_0x5138f6=this['_configService'][_0x2331aa(0x324)](pt),_0x562c16=this['_configService'][_0x2331aa(0x324)](K),_0xc66513=Jt((_0x210dd1=(_0x412560=_0x562c16==null?void 0x0:_0x562c16[_0x2331aa(0x291)])!=null?_0x412560:_0x5138f6)!=null?_0x210dd1:Vt,_0x32d0cf,_0x4b9214);try{await this[_0x2331aa(0x4f0)][_0x2331aa(0x4c1)](_0xc66513,{'body':_0x111af5});}catch(_0x8efc1){throw this[_0x2331aa(0x297)][_0x2331aa(0x424)](_0x2331aa(0x35d),_0x2331aa(0x440)),_0x8efc1;}}async[_0x22ac88(0x4a1)](_0x230315){var _0x14037a=_0x22ac88;const {unitID:_0x3e3c9d,from:_0x19e2f2,to:_0xcc6eaf,unitType:_0x22991c}=_0x230315['data'];return(await this[_0x14037a(0x2d7)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x3e3c9d,'type':_0x22991c,'from':_0x19e2f2,'to':_0xcc6eaf}))[_0x14037a(0x4e0)];}},exports[_0x22ac88(0x4c5)]=zt([_e(0x0,a[_0x22ac88(0x371)](a[_0x22ac88(0x3c3)])),_e(0x1,a[_0x22ac88(0x371)](Y[_0x22ac88(0x2e3)])),_e(0x2,a['IConfigService']),_e(0x3,a[_0x22ac88(0x3a5)]),_e(0x4,I[_0x22ac88(0x444)])],exports[_0x22ac88(0x4c5)]);const Xt=_0x22ac88(0x3a0);function Zt(_0xdd491e){var _0x19d75d=_0x22ac88;return JSON[_0x19d75d(0x3d1)](_0xdd491e)[_0x19d75d(0x295)];}class $e{constructor(){var _0x2598b9=_0x22ac88;A(this,'_commentUpdate$',new $[(_0x2598b9(0x26a))]()),A(this,_0x2598b9(0x3fc),this[_0x2598b9(0x4e1)][_0x2598b9(0x20a)]());}[_0x22ac88(0x287)](_0x2cffcd){var _0xecb2d8=_0x22ac88;this[_0xecb2d8(0x4e1)]['next'](_0x2cffcd);}}var Qt=Object['getOwnPropertyDescriptor'],ei=(_0x39865e,_0x5b6827,_0x34a3e6,_0x49b114)=>{for(var _0x1ce4af=_0x49b114>0x1?void 0x0:_0x49b114?Qt(_0x5b6827,_0x34a3e6):_0x5b6827,_0x218fc6=_0x39865e['length']-0x1,_0x5a1e5f;_0x218fc6>=0x0;_0x218fc6--)(_0x5a1e5f=_0x39865e[_0x218fc6])&&(_0x1ce4af=_0x5a1e5f(_0x1ce4af)||_0x1ce4af);return _0x1ce4af;},We=(_0x496566,_0x2bbace)=>(_0x1a3f25,_0x3435e8)=>_0x2bbace(_0x1a3f25,_0x3435e8,_0x496566);exports['MemberService']=class extends a['Disposable']{constructor(_0x14e52c,_0x152d20){var _0x453671=_0x22ac88;super(),A(this,_0x453671(0x27b),new Map()),A(this,_0x453671(0x4b8),new $[(_0x453671(0x26a))]()),(this['_univerInstanceService']=_0x14e52c,this[_0x453671(0x47e)]=_0x152d20,this[_0x453671(0x4cf)]($['merge'](this[_0x453671(0x388)][_0x453671(0x51d)](a[_0x453671(0x216)][_0x453671(0x403)])['pipe'](V['map'](_0x3f2d00=>_0x3f2d00['getUnitId']())),this[_0x453671(0x388)][_0x453671(0x51d)](a[_0x453671(0x216)][_0x453671(0x3d5)])[_0x453671(0x2b2)](V[_0x453671(0x3f9)](_0x15251f=>_0x15251f[_0x453671(0x263)]())),this['_univerInstanceService'][_0x453671(0x51d)](a[_0x453671(0x216)][_0x453671(0x54a)])[_0x453671(0x2b2)](V['map'](_0x479491=>_0x479491['getUnitId']())))[_0x453671(0x382)](_0x85fede=>this[_0x453671(0x3d7)](_0x85fede))));}[_0x22ac88(0x46d)](_0x4b6609){var _0x3ca0fe=_0x22ac88;return this[_0x3ca0fe(0x27b)]['has'](_0x4b6609)?$['of'](this[_0x3ca0fe(0x27b)][_0x3ca0fe(0x26d)](_0x4b6609)):this['_roomCreated$'][_0x3ca0fe(0x2b2)](V[_0x3ca0fe(0x3f9)](_0x1a8741=>{var _0xd0b495=_0x3ca0fe;if(_0x1a8741===_0x4b6609)return this[_0xd0b495(0x27b)][_0xd0b495(0x26d)](_0x1a8741);}));}[_0x22ac88(0x431)](_0x5222ee){var _0x1cdccd=_0x22ac88;this[_0x1cdccd(0x47e)][_0x1cdccd(0x431)](_0x5222ee);}[_0x22ac88(0x340)](){var _0x2b03d0=_0x22ac88;return this['_userManagerService'][_0x2b03d0(0x340)]();}[_0x22ac88(0x4b2)](_0x1b1f79,_0x4d45fa){var _0x1b9fc2=_0x22ac88;let _0x3e2c45=this['_roomMembers']['get'](_0x1b1f79);_0x3e2c45||(_0x3e2c45=new ti(),this[_0x1b9fc2(0x27b)][_0x1b9fc2(0x506)](_0x1b1f79,_0x3e2c45),this[_0x1b9fc2(0x4b8)]['next'](_0x1b1f79)),_0x3e2c45[_0x1b9fc2(0x4b2)](_0x4d45fa);}['removeMember'](_0x10948e,_0x48390f){var _0x129f59=_0x22ac88;const _0x41fd15=this['_roomMembers'][_0x129f59(0x26d)](_0x10948e);_0x41fd15&&_0x41fd15[_0x129f59(0x2a8)](_0x48390f);}['getRoom'](_0x7286c4){var _0x5dd6e2=_0x22ac88;return this[_0x5dd6e2(0x27b)][_0x5dd6e2(0x26d)](_0x7286c4);}[_0x22ac88(0x488)](_0x53cb18,_0x2149a9){var _0x103bf0=_0x22ac88;const _0x543d27=this[_0x103bf0(0x27b)][_0x103bf0(0x26d)](_0x53cb18);if(_0x543d27)return _0x543d27[_0x103bf0(0x488)](_0x2149a9);}[_0x22ac88(0x3d7)](_0x3e810e){var _0x3f3f57=_0x22ac88;const _0x12c925=this[_0x3f3f57(0x27b)]['get'](_0x3e810e);_0x12c925&&(_0x12c925[_0x3f3f57(0x299)](),this[_0x3f3f57(0x27b)][_0x3f3f57(0x29c)](_0x3e810e));}[_0x22ac88(0x299)](){var _0x1b3679=_0x22ac88;this['_roomMembers'][_0x1b3679(0x38e)](_0x3cf23f=>_0x3cf23f[_0x1b3679(0x299)]()),this[_0x1b3679(0x27b)][_0x1b3679(0x311)](),this[_0x1b3679(0x4b8)][_0x1b3679(0x3fe)]();}},exports[_0x22ac88(0x457)]=ei([We(0x0,a[_0x22ac88(0x52c)]),We(0x1,a['Inject'](a[_0x22ac88(0x43e)]))],exports[_0x22ac88(0x457)]);class ti extends a[_0x22ac88(0x41c)]{constructor(){var _0x2652b2=_0x22ac88;super(...arguments),A(this,_0x2652b2(0x3b1),new Map()),A(this,_0x2652b2(0x531),new $[(_0x2652b2(0x53c))](this[_0x2652b2(0x3b1)])),A(this,_0x2652b2(0x3f7),this['_members$'][_0x2652b2(0x20a)]());}[_0x22ac88(0x299)](){var _0x2457fa=_0x22ac88;this[_0x2457fa(0x3b1)][_0x2457fa(0x311)]();}[_0x22ac88(0x4b2)](_0x3f114f){var _0x143dc6=_0x22ac88;this[_0x143dc6(0x3b1)]['set'](_0x3f114f['memberID'],_0x3f114f),this[_0x143dc6(0x338)]();}[_0x22ac88(0x2a8)](_0x1bf210){var _0x2945f4=_0x22ac88;this['_members'][_0x2945f4(0x29c)](_0x1bf210);}['getMember'](_0x3d0da5){var _0x5dad3d=_0x22ac88;return this[_0x5dad3d(0x3b1)][_0x5dad3d(0x26d)](_0x3d0da5);}['getAllMembers'](){var _0xa4fc3=_0x22ac88;return Array[_0xa4fc3(0x1f0)](this[_0xa4fc3(0x3b1)][_0xa4fc3(0x351)]());}['_emitMembers'](){var _0xfa2cb=_0x22ac88;this[_0xfa2cb(0x531)][_0xfa2cb(0x239)](this[_0xfa2cb(0x3b1)]);}}var ii=Object['getOwnPropertyDescriptor'],ni=(_0x3b0eea,_0x431b5d,_0x50af61,_0x1b1fe5)=>{var _0x580a71=_0x22ac88;for(var _0x3c686a=_0x1b1fe5>0x1?void 0x0:_0x1b1fe5?ii(_0x431b5d,_0x50af61):_0x431b5d,_0x1d8c21=_0x3b0eea[_0x580a71(0x295)]-0x1,_0x4dd9f0;_0x1d8c21>=0x0;_0x1d8c21--)(_0x4dd9f0=_0x3b0eea[_0x1d8c21])&&(_0x3c686a=_0x4dd9f0(_0x3c686a)||_0x3c686a);return _0x3c686a;},se=(_0x1d8635,_0x2cbedc)=>(_0x50471b,_0x5d11bc)=>_0x2cbedc(_0x50471b,_0x5d11bc,_0x1d8635),re=(_0x11be71=>(_0x11be71[_0x11be71[_0x22ac88(0x36d)]=0x0]=_0x22ac88(0x36d),_0x11be71[_0x11be71['JOINING']=0x1]=_0x22ac88(0x486),_0x11be71[_0x11be71[_0x22ac88(0x1e0)]=0x2]='OFFLINE',_0x11be71[_0x11be71[_0x22ac88(0x4f3)]=0x3]='ONLINE',_0x11be71))(re||{});const Ge={[oe[_0x22ac88(0x25c)]]:_0x22ac88(0x52d),[oe[_0x22ac88(0x3fd)]]:_0x22ac88(0x334),[oe[_0x22ac88(0x341)]]:'session.room-not-exists',[oe[_0x22ac88(0x313)]]:_0x22ac88(0x380),[oe[_0x22ac88(0x3bb)]]:_0x22ac88(0x202)};exports[_0x22ac88(0x49c)]=class extends a[_0x22ac88(0x434)]{constructor(_0x21baa8,_0x33d233,_0x21d0ea,_0x58e98e,_0x1ab082,_0x32789d,_0x532a45,_0x12505f,_0x5e0f92){var _0x2c56bd=_0x22ac88;super(),A(this,_0x2c56bd(0x421),new $['BehaviorSubject'](0x0)),A(this,'sessionStatus$',this['_sessionStatus$'][_0x2c56bd(0x20a)]()),A(this,'_event$',new $[(_0x2c56bd(0x26a))]()),A(this,'event$',this[_0x2c56bd(0x20f)]['asObservable']()),A(this,_0x2c56bd(0x468)),A(this,_0x2c56bd(0x4fa)),A(this,'_collaborationTimeoutTimer'),A(this,_0x2c56bd(0x534),!0x1),A(this,_0x2c56bd(0x2da),null),(this[_0x2c56bd(0x41b)]=_0x21baa8,this[_0x2c56bd(0x297)]=_0x21d0ea,this[_0x2c56bd(0x3b3)]=_0x58e98e,this[_0x2c56bd(0x224)]=_0x1ab082,this[_0x2c56bd(0x437)]=_0x32789d,this['_commentService']=_0x532a45,this[_0x2c56bd(0x309)]=_0x12505f,this['_telemetryService']=_0x5e0f92,this[_0x2c56bd(0x534)]=!!this[_0x2c56bd(0x3e4)],_0x33d233[_0x2c56bd(0x2b2)]($['takeUntil'](this[_0x2c56bd(0x2dc)]))[_0x2c56bd(0x382)](_0x2c261e=>{var _0x55146d=_0x2c56bd,_0x1c2d06;typeof _0x2c261e>'u'||(this[_0x55146d(0x468)]=_0x2c261e,_0x2c261e?(this[_0x55146d(0x491)](_0x2c261e),this['_socketMessageSubscription']=_0x2c261e[_0x55146d(0x214)][_0x55146d(0x382)](_0x5c4ccf=>{var _0x2cbce7=_0x55146d;_0x5c4ccf[_0x2cbce7(0x41a)]===this[_0x2cbce7(0x41b)]&&this['_onCombEvent'](_0x5c4ccf);})):(this[_0x55146d(0x303)](),this[_0x55146d(0x421)][_0x55146d(0x239)](0x2),(_0x1c2d06=this[_0x55146d(0x4fa)])==null||_0x1c2d06[_0x55146d(0x3be)](),this[_0x55146d(0x4fa)]=null));}));}get['sessionStatus'](){var _0x52670e=_0x22ac88;return this[_0x52670e(0x421)]['getValue']();}[_0x22ac88(0x24a)](){var _0x24f58d=_0x22ac88,_0x13e092,_0xdb7f28;return(_0xdb7f28=(_0x13e092=this['_socket'])==null?void 0x0:_0x13e092[_0x24f58d(0x3f1)])!=null?_0xdb7f28:null;}[_0x22ac88(0x299)](){var _0x4c1d1a=_0x22ac88;super[_0x4c1d1a(0x299)](),this[_0x4c1d1a(0x2dc)][_0x4c1d1a(0x239)](),this[_0x4c1d1a(0x2dc)][_0x4c1d1a(0x3fe)]();}['close'](){var _0x28f736=_0x22ac88,_0x10bf36,_0x49ca89;this[_0x28f736(0x303)](),(_0x10bf36=this[_0x28f736(0x468)])==null||_0x10bf36[_0x28f736(0x482)]({'cmd':W[_0x28f736(0x529)],'data':{'roomID':this[_0x28f736(0x41b)]}}),(_0x49ca89=this[_0x28f736(0x468)])==null||_0x49ca89[_0x28f736(0x2a9)](),this['_event$'][_0x28f736(0x3fe)](),this[_0x28f736(0x421)]['complete'](),this['dispose']();}['_onCombEvent'](_0x12426f){var _0x56af23=_0x22ac88;_0x12426f[_0x56af23(0x399)]===W[_0x56af23(0x39b)]?this['_onJoinRoomEvent'](_0x12426f):_0x12426f[_0x56af23(0x399)]===W[_0x56af23(0x1f2)]&&this[_0x56af23(0x376)](_0x12426f);}[_0x22ac88(0x491)](_0x2425a8){var _0x33d0f7=_0x22ac88;this[_0x33d0f7(0x421)]['next'](0x1),_0x2425a8[_0x33d0f7(0x482)]({'cmd':W[_0x33d0f7(0x39b)],'routeKey':this[_0x33d0f7(0x41b)],'routeType':'','data':{'rooms':[{'roomID':this[_0x33d0f7(0x41b)]}]}});}[_0x22ac88(0x44e)](_0x14692c){var _0x2413ff=_0x22ac88,_0x1b909e;if(_0x14692c['code']in Ge){this[_0x2413ff(0x309)][_0x2413ff(0x208)]({'id':Z[_0x2413ff(0x498)],'data':Ge[_0x14692c[_0x2413ff(0x48d)]]}),this['_sessionStatus$'][_0x2413ff(0x239)](0x2);return;}this[_0x2413ff(0x421)][_0x2413ff(0x239)](0x3);const _0x56bd94=(_0x1b909e=_0x14692c['data'][_0x2413ff(0x2c8)][this[_0x2413ff(0x41b)]])==null?void 0x0:_0x1b909e[_0x2413ff(0x391)];_0x56bd94&&_0x56bd94[_0x2413ff(0x38e)](_0x154680=>this[_0x2413ff(0x437)][_0x2413ff(0x4b2)](this[_0x2413ff(0x41b)],_0x154680));}['_onRecvEvent'](_0x317521){var _0x5810fd=_0x22ac88;try{const _0xcbdec1=_0x317521[_0x5810fd(0x381)];switch(_0xcbdec1[_0x5810fd(0x35f)]){case I[_0x5810fd(0x36b)][_0x5810fd(0x49d)]:this[_0x5810fd(0x464)](_0xcbdec1),this[_0x5810fd(0x20f)][_0x5810fd(0x239)](_0xcbdec1);break;case I[_0x5810fd(0x36b)][_0x5810fd(0x2f5)]:this[_0x5810fd(0x4ca)](_0xcbdec1),this['_event$'][_0x5810fd(0x239)](_0xcbdec1);break;case I[_0x5810fd(0x36b)][_0x5810fd(0x396)]:case I[_0x5810fd(0x36b)]['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x5810fd(0x2e6)](),this[_0x5810fd(0x20f)]['next'](_0xcbdec1);break;case I[_0x5810fd(0x36b)][_0x5810fd(0x547)]:this['_logService']['error']('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0xcbdec1)),this['_event$'][_0x5810fd(0x239)](_0xcbdec1);break;case I[_0x5810fd(0x36b)][_0x5810fd(0x38c)]:this[_0x5810fd(0x274)][_0x5810fd(0x287)](_0xcbdec1[_0x5810fd(0x381)]),this[_0x5810fd(0x20f)][_0x5810fd(0x239)](_0xcbdec1);break;default:this[_0x5810fd(0x20f)]['next'](_0xcbdec1);}}catch(_0x135f0f){this[_0x5810fd(0x297)][_0x5810fd(0x424)](_0x135f0f,_0x317521);}}[_0x22ac88(0x464)](_0x37ba95){var _0x16c70f=_0x22ac88;this[_0x16c70f(0x437)]['updateMember'](this[_0x16c70f(0x41b)],_0x37ba95[_0x16c70f(0x381)]);}['_onUserLeave'](_0x5c766f){var _0x1bfd01=_0x22ac88;this[_0x1bfd01(0x437)][_0x1bfd01(0x2a8)](this[_0x1bfd01(0x41b)],_0x5c766f[_0x1bfd01(0x381)][_0x1bfd01(0x3f1)]);}async['send'](_0x4dbf19,_0xc498a8){var _0x1cfbd4=_0x22ac88;if(this[_0x1cfbd4(0x507)]!==0x3||!this[_0x1cfbd4(0x468)])throw new Error(_0x1cfbd4(0x374));try{_0x4dbf19['eventID']===I['CollaborationEvent'][_0x1cfbd4(0x42d)]&&(this[_0x1cfbd4(0x436)](),this['_startTelemetryCollaborationNewChangeset'](_0x4dbf19)),this[_0x1cfbd4(0x468)]['send']({'cmd':W['INGEST'],'routeKey':_0xc498a8,'routeType':'','data':_0x4dbf19});}catch(_0x219fad){this[_0x1cfbd4(0x297)]['error'](_0x219fad);}}[_0x22ac88(0x436)](){var _0x5d36ba=_0x22ac88,_0x4a4b75;this[_0x5d36ba(0x1fa)]=setTimeout(()=>{var _0x307397=_0x5d36ba;this['_collaborationTimeoutTimer']=null,this[_0x307397(0x309)][_0x307397(0x208)]({'id':Z[_0x307397(0x47f)]});},(_0x4a4b75=this[_0x5d36ba(0x3b3)]['getConfig'](ke))!=null?_0x4a4b75:St);}[_0x22ac88(0x2e6)](){var _0x5890d7=_0x22ac88;this[_0x5890d7(0x1fa)]&&(clearTimeout(this[_0x5890d7(0x1fa)]),this['_collaborationTimeoutTimer']=null);}[_0x22ac88(0x1e6)](_0x1268cd){var _0x496ef9=_0x22ac88;if(!this[_0x496ef9(0x534)])return;const {data:_0x5a3699}=_0x1268cd,{unitID:_0x40f3d1,changeset:_0x35b8c5}=_0x5a3699,{mutations:_0x3e367b,type:_0x3f07dd}=_0x35b8c5;this['_telemetryInfo']={'unitId':_0x40f3d1,'type':_0x3f07dd,'startTime':performance[_0x496ef9(0x537)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x3e367b)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x4530bb=_0x22ac88;if(this['_shouldReportTelemetry']){if(!this[_0x4530bb(0x2da)]){this[_0x4530bb(0x297)][_0x4530bb(0x424)](_0x4530bb(0x35d),_0x4530bb(0x267));return;}this[_0x4530bb(0x2da)][_0x4530bb(0x1d6)]=performance[_0x4530bb(0x537)](),this[_0x4530bb(0x2da)][_0x4530bb(0x34c)]=this[_0x4530bb(0x2da)][_0x4530bb(0x1d6)]-this['_telemetryInfo']['startTime'],this[_0x4530bb(0x3e4)][_0x4530bb(0x24f)](Xt,this[_0x4530bb(0x2da)]),this[_0x4530bb(0x2da)]=null;}}[_0x22ac88(0x303)](){var _0x184b00=_0x22ac88;this[_0x184b00(0x2da)]=null;}},exports['CollaborationSession']=ni([se(0x2,a[_0x22ac88(0x3a5)]),se(0x3,a[_0x22ac88(0x389)]),se(0x4,a[_0x22ac88(0x371)](a[_0x22ac88(0x474)])),se(0x5,a[_0x22ac88(0x371)](exports[_0x22ac88(0x457)])),se(0x6,a[_0x22ac88(0x371)]($e)),se(0x7,a['Inject'](ee)),se(0x8,a['Optional'](Pt[_0x22ac88(0x28b)]))],exports[_0x22ac88(0x49c)]);var ri=Object[_0x22ac88(0x22c)],si=(_0x47f00f,_0x524d51,_0xbff8a0,_0x4237bb)=>{var _0x5f235e=_0x22ac88;for(var _0x1b4b3d=_0x4237bb>0x1?void 0x0:_0x4237bb?ri(_0x524d51,_0xbff8a0):_0x524d51,_0x45ccd8=_0x47f00f[_0x5f235e(0x295)]-0x1,_0x3e1c25;_0x45ccd8>=0x0;_0x45ccd8--)(_0x3e1c25=_0x47f00f[_0x45ccd8])&&(_0x1b4b3d=_0x3e1c25(_0x1b4b3d)||_0x1b4b3d);return _0x1b4b3d;},he=(_0x1f9403,_0x5b7069)=>(_0xb14c48,_0x2ba51b)=>_0x5b7069(_0xb14c48,_0x2ba51b,_0x1f9403);exports[_0x22ac88(0x4df)]=class extends a[_0x22ac88(0x41c)]{constructor(_0x2a1134,_0x3ceb4d,_0x4ce1e6,_0x5a7961,_0x44f770,_0x535d21){var _0x2895c4=_0x22ac88;super(),A(this,_0x2895c4(0x2df),new $[(_0x2895c4(0x53c))](void 0x0)),A(this,_0x2895c4(0x29a),this[_0x2895c4(0x2df)]['asObservable']()),A(this,_0x2895c4(0x4d0),null),A(this,_0x2895c4(0x42e),new Map()),A(this,_0x2895c4(0x1dd),new $[(_0x2895c4(0x53c))](re[_0x2895c4(0x36d)])),A(this,'status$',this[_0x2895c4(0x1dd)][_0x2895c4(0x20a)]()),A(this,_0x2895c4(0x1e8),!0x1),A(this,_0x2895c4(0x21c)),A(this,_0x2895c4(0x1e2),0x0),A(this,_0x2895c4(0x259)),A(this,_0x2895c4(0x286)),(this[_0x2895c4(0x459)]=_0x2a1134,this['_logService']=_0x3ceb4d,this[_0x2895c4(0x3b3)]=_0x4ce1e6,this[_0x2895c4(0x2a4)]=_0x5a7961,this[_0x2895c4(0x309)]=_0x44f770,this[_0x2895c4(0x4ec)]=_0x535d21,this['_listenToNetworkCondition']());}get[_0x22ac88(0x468)](){var _0x4fb863=_0x22ac88;return this['_socket$'][_0x4fb863(0x481)]();}[_0x22ac88(0x22e)](){var _0x513091=_0x22ac88;this[_0x513091(0x4ec)]&&this[_0x513091(0x4cf)](this['_networkConditionService']['online$'][_0x513091(0x382)](_0x1a2b32=>{var _0x11e989=_0x513091;_0x1a2b32&&!this[_0x11e989(0x468)]&&this[_0x11e989(0x1fb)](),_0x1a2b32||this[_0x11e989(0x51f)]();}));}[_0x22ac88(0x299)](){var _0x221389=_0x22ac88;super[_0x221389(0x299)](),this[_0x221389(0x35e)](),this[_0x221389(0x34e)](),this[_0x221389(0x428)](),this['_sessions'][_0x221389(0x38e)](_0x144cbd=>_0x144cbd['dispose']()),this[_0x221389(0x42e)][_0x221389(0x311)](),this[_0x221389(0x1dd)][_0x221389(0x3fe)]();}async[_0x22ac88(0x2cd)](_0x38c083){var _0x2c6372=_0x22ac88;if(this[_0x2c6372(0x42e)][_0x2c6372(0x346)](_0x38c083))return this['_sessions'][_0x2c6372(0x26d)](_0x38c083);this['_tryEnsureSocket']();const _0x4614d3=this[_0x2c6372(0x459)][_0x2c6372(0x515)](exports['CollaborationSession'],_0x38c083,this[_0x2c6372(0x2df)][_0x2c6372(0x20a)]());return this[_0x2c6372(0x42e)][_0x2c6372(0x506)](_0x38c083,_0x4614d3),_0x4614d3;}[_0x22ac88(0x523)](_0xe12550){var _0x4a8385=_0x22ac88,_0x2c0cb8;const _0x4e8a3a=this[_0x4a8385(0x42e)][_0x4a8385(0x26d)](_0xe12550);_0x4e8a3a&&(this[_0x4a8385(0x42e)][_0x4a8385(0x29c)](_0xe12550),_0x4e8a3a['close']()),this[_0x4a8385(0x42e)][_0x4a8385(0x242)]||(_0x2c0cb8=this[_0x4a8385(0x468)])==null||_0x2c0cb8['close']();}['reconnect'](){var _0x547928=_0x22ac88;this[_0x547928(0x1e2)]=0x0,this[_0x547928(0x35e)](),this[_0x547928(0x46a)]();}[_0x22ac88(0x35e)](){var _0x4d0712=_0x22ac88;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x4d0712(0x21c)]),this[_0x4d0712(0x21c)]=null);}async['_createSocket'](){var _0x575a7f=_0x22ac88,_0x54cb7f,_0x75b5c7;const _0x17fc51=this[_0x575a7f(0x3b3)][_0x575a7f(0x324)](ut),_0x4a38a6=this[_0x575a7f(0x3b3)]['getConfig'](K),_0x924a97=(_0x75b5c7=(_0x54cb7f=_0x4a38a6==null?void 0x0:_0x4a38a6[_0x575a7f(0x3c8)])!=null?_0x54cb7f:_0x17fc51)!=null?_0x75b5c7:dt,_0x479ee8=await this[_0x575a7f(0x2a4)]['createSocket'](_0x924a97);return this[_0x575a7f(0x4d0)]=_0x479ee8,_0x479ee8;}async[_0x22ac88(0x2de)](){var _0x3b6a39=_0x22ac88,_0x1e2506,_0x5a04bd;try{const _0x28dbce=(_0x5a04bd=(_0x1e2506=this[_0x3b6a39(0x468)])!=null?_0x1e2506:this['_candidateSocket'])!=null?_0x5a04bd:await this[_0x3b6a39(0x461)]();if(_0x28dbce){const _0xf657f5=_0x28dbce[_0x3b6a39(0x482)];_0x28dbce[_0x3b6a39(0x482)]=_0xb876a1=>(this[_0x3b6a39(0x4b3)](),_0xf657f5[_0x3b6a39(0x2d6)](_0x28dbce,[_0xb876a1])),_0x28dbce[_0x3b6a39(0x214)][_0x3b6a39(0x382)](_0x3b84a7=>this[_0x3b6a39(0x33e)](_0x28dbce,_0x3b84a7)),_0x28dbce['error$']['pipe'](V[_0x3b6a39(0x2a5)](0x1))[_0x3b6a39(0x382)](_0x36860=>this['_logService']['error']('[CollaborationSessionService]:\x20socket\x20error',_0x36860)),_0x28dbce[_0x3b6a39(0x25b)][_0x3b6a39(0x2b2)](V[_0x3b6a39(0x2a5)](0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x28dbce);}),_0x28dbce[_0x3b6a39(0x31b)][_0x3b6a39(0x2b2)](V[_0x3b6a39(0x2a5)](0x1))[_0x3b6a39(0x382)](_0x4c3fd5=>{var _0x599025=_0x3b6a39;this[_0x599025(0x297)][_0x599025(0x283)](_0x599025(0x279),_0x599025(0x3d3),_0x4c3fd5),this['_onConnectionFailed']();});}}catch(_0x20d43b){this[_0x3b6a39(0x297)][_0x3b6a39(0x424)](_0x20d43b),this[_0x3b6a39(0x2ec)]();}}[_0x22ac88(0x354)](_0xc1201f){var _0x3c3d5a=_0x22ac88;this['_logService'][_0x3c3d5a(0x283)](_0x3c3d5a(0x279),_0x3c3d5a(0x3b9)),_0xc1201f[_0x3c3d5a(0x482)]({'cmd':W[_0x3c3d5a(0x470)]}),this[_0x3c3d5a(0x4b3)]();}[_0x22ac88(0x51f)](){var _0x3eb4e6=_0x22ac88;this[_0x3eb4e6(0x1e8)]=!0x1,this[_0x3eb4e6(0x4d0)]=null,this[_0x3eb4e6(0x1dd)]['next'](re[_0x3eb4e6(0x1e0)]),this['_socket$'][_0x3eb4e6(0x239)](null),this[_0x3eb4e6(0x34e)](),this[_0x3eb4e6(0x428)]();}[_0x22ac88(0x2ec)](){var _0xb7646b=_0x22ac88,_0x5e6581;this[_0xb7646b(0x51f)](),this[_0xb7646b(0x1e2)]<((_0x5e6581=this['_configService'][_0xb7646b(0x324)](ft))!=null?_0x5e6581:jt)?(this[_0xb7646b(0x309)][_0xb7646b(0x208)]({'id':Z['SOCKET_FAILED_RETRY']}),this[_0xb7646b(0x46a)]()):this[_0xb7646b(0x309)][_0xb7646b(0x208)]({'id':Z[_0xb7646b(0x240)]});}[_0x22ac88(0x46a)](){var _0x496b67=_0x22ac88,_0x5002b3;const _0x24f966=this[_0x496b67(0x1e2)],_0x4ff891=this[_0x496b67(0x3b3)][_0x496b67(0x324)](K),_0x2ed73c=_0x24f966===0x0?0x0:((_0x5002b3=_0x4ff891==null?void 0x0:_0x4ff891[_0x496b67(0x415)])!=null?_0x5002b3:$t)*0x2**_0x24f966;this['_retryConnectingTimer']=setTimeout(()=>{var _0x4d7b48=_0x496b67;clearTimeout(this[_0x4d7b48(0x21c)]),this[_0x4d7b48(0x21c)]=null,this['_tryEnsureSocket']();},_0x2ed73c),this[_0x496b67(0x1e2)]+=0x1;}[_0x22ac88(0x33e)](_0x4c9d56,_0x4b2104){var _0x4b7033=_0x22ac88;const {cmd:_0x5165ea}=_0x4b2104;_0x5165ea===W[_0x4b7033(0x470)]&&!this['_socketReady']&&(_0x4c9d56[_0x4b7033(0x3f1)]=_0x4b2104[_0x4b7033(0x381)][_0x4b7033(0x3f1)],this[_0x4b7033(0x2df)][_0x4b7033(0x239)](_0x4c9d56),this[_0x4b7033(0x1dd)][_0x4b7033(0x239)](re[_0x4b7033(0x4f3)]),this[_0x4b7033(0x1e8)]=!0x0,this['_candidateSocket']=null),_0x5165ea===W['HEARTBEAT']&&this[_0x4b7033(0x34e)](),this[_0x4b7033(0x4b3)]();}[_0x22ac88(0x4b3)](){var _0x22ebf3=_0x22ac88,_0x1f80f8;this[_0x22ebf3(0x428)](),this[_0x22ebf3(0x259)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x1f80f8=this['_configService'][_0x22ebf3(0x324)](vt))!=null?_0x1f80f8:Ht);}[_0x22ac88(0x226)](){var _0x32e44b=_0x22ac88;this[_0x32e44b(0x468)][_0x32e44b(0x482)]({'cmd':W[_0x32e44b(0x4d2)]}),this[_0x32e44b(0x2fe)]();}['_waitForHeartbeatResponse'](){var _0x1fbe16=_0x22ac88,_0x4ea171;this['_timeoutTimer']=setTimeout(()=>this[_0x1fbe16(0x2ec)](),(_0x4ea171=this[_0x1fbe16(0x3b3)][_0x1fbe16(0x324)](ke))!=null?_0x4ea171:St);}[_0x22ac88(0x428)](){var _0x4fbad3=_0x22ac88;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x4fbad3(0x259)]),this[_0x4fbad3(0x259)]=null);}[_0x22ac88(0x34e)](){var _0x48f4a7=_0x22ac88;this[_0x48f4a7(0x286)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x48f4a7(0x286)]=null);}},exports[_0x22ac88(0x4df)]=si([he(0x0,a['Inject'](a['Injector'])),he(0x1,a[_0x22ac88(0x3a5)]),he(0x2,a['IConfigService']),he(0x3,He),he(0x4,a[_0x22ac88(0x371)](ee)),he(0x5,a['Optional'](mt))],exports[_0x22ac88(0x4df)]);const q=a['createIdentifier'](_0x22ac88(0x330));function oi(_0x4a027a){var _0x31e47c=_0x22ac88;return _0x31e47c(0x3ee)+_0x4a027a;}var ai=Object[_0x22ac88(0x22c)],ci=(_0x5075da,_0xd6ff26,_0xeac489,_0x5bb260)=>{for(var _0x46c5f7=_0x5bb260>0x1?void 0x0:_0x5bb260?ai(_0xd6ff26,_0xeac489):_0xd6ff26,_0x3ddc82=_0x5075da['length']-0x1,_0x294503;_0x3ddc82>=0x0;_0x3ddc82--)(_0x294503=_0x5075da[_0x3ddc82])&&(_0x46c5f7=_0x294503(_0x46c5f7)||_0x46c5f7);return _0x46c5f7;},De=(_0x34d61a,_0x1e3d88)=>(_0x472dec,_0x1de4e7)=>_0x1e3d88(_0x472dec,_0x1de4e7,_0x34d61a);function hi(_0x2f2ed5){var _0x4fb2ec=_0x22ac88;const {unitID:_0x5ea364,mutations:_0x2afd3e}=_0x2f2ed5;return{'unitId':_0x5ea364,'subUnitId':_0x2afd3e[0x0][_0x4fb2ec(0x4c3)][_0x4fb2ec(0x4de)]};}exports['SheetTransformSelectionsService']=class{constructor(_0xfeb6e5,_0x5d583e,_0x3d58b4){var _0x35c806=_0x22ac88;this[_0x35c806(0x459)]=_0xfeb6e5,this['_transformService']=_0x5d583e,this[_0x35c806(0x2f6)]=_0x3d58b4;}['transformSelections'](_0x108992){var _0x2e72d8=_0x22ac88,_0x266110,_0x9de317,_0x1b4dd5,_0x3b6ff2;const _0x321d56=this[_0x2e72d8(0x459)][_0x2e72d8(0x26d)](X[_0x2e72d8(0x209)]),{unitId:_0xbb5612,subUnitId:_0x1149eb}=hi(_0x108992),_0x4eca7f=_0x321d56==null?void 0x0:_0x321d56['getWorkbookSelections'](_0xbb5612)[_0x2e72d8(0x329)](),_0x45938f=(_0x9de317=(_0x266110=this[_0x2e72d8(0x2f6)]['getUnit'](_0xbb5612))==null?void 0x0:_0x266110[_0x2e72d8(0x1f1)]())==null?void 0x0:_0x9de317['getSheetId']();if(_0x4eca7f['length']===0x0||!_0xbb5612||!_0x1149eb)return;const _0x2c9d71=[{'id':X['SetSelectionsOperation']['id'],'params':{'unitId':_0xbb5612,'subUnitId':_0x45938f,'selections':a['Tools'][_0x2e72d8(0x23e)](_0x4eca7f)}}],_0x241e9f=this[_0x2e72d8(0x544)]['transformMutationsWithChangeset'](_0x108992,_0x2c9d71);if(!I['isTransformMutationsWithChangesetSuccess'](_0x241e9f))throw _0x241e9f[_0x2e72d8(0x424)];const _0x161419=(_0x3b6ff2=(_0x1b4dd5=_0x241e9f['m2Prime'][0x0])==null?void 0x0:_0x1b4dd5[_0x2e72d8(0x4c3)])==null?void 0x0:_0x3b6ff2[_0x2e72d8(0x318)];if(Array[_0x2e72d8(0x406)](_0x161419)&&_0x161419[_0x2e72d8(0x295)]){if(_0x161419[_0x2e72d8(0x295)]===_0x2c9d71[0x0]['params'][_0x2e72d8(0x318)][_0x2e72d8(0x295)]&&_0x161419[_0x2e72d8(0x2a1)]((_0x1439bb,_0x34f271)=>a[_0x2e72d8(0x397)]['equals'](_0x1439bb[_0x2e72d8(0x255)],_0x2c9d71[0x0][_0x2e72d8(0x4c3)][_0x2e72d8(0x318)][_0x34f271][_0x2e72d8(0x255)])))return;this['_injector'][_0x2e72d8(0x26d)](a[_0x2e72d8(0x4f2)])[_0x2e72d8(0x463)](X[_0x2e72d8(0x3ac)]['id'],{'unitId':_0xbb5612,'subUnitId':_0x45938f,'selections':_0x161419});}}},exports[_0x22ac88(0x394)]=ci([De(0x0,a[_0x22ac88(0x371)](a[_0x22ac88(0x3c3)])),De(0x1,I['ITransformService']),De(0x2,a[_0x22ac88(0x52c)])],exports[_0x22ac88(0x394)]);const de=a[_0x22ac88(0x4ce)]('univer-pro.collaboration-client.single-active-unit-service');var je=(_0x5aaf61=>(_0x5aaf61[_0x5aaf61['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x22ac88(0x2d2),_0x5aaf61[_0x5aaf61['OTHER_CLIENTS_EDITING']=0x1]=_0x22ac88(0x261),_0x5aaf61))(je||{});const _i=new Set([X[_0x22ac88(0x3ca)]['id']]);function Ke(_0x12642d,_0xab1a87,_0x290d55,_0x510f6e,_0x432781){var _0x594568=_0x22ac88,_0x59c895,_0x3ff2d3,_0x11b894,_0x41de67;const _0x385a8a=[];for(const _0x4e8b22 of _0x12642d)if(_i[_0x594568(0x346)](_0x4e8b22['id'])){if(_0x385a8a[_0x594568(0x295)]>0x0)break;_0x385a8a[_0x594568(0x4a2)](_0x4e8b22);break;}else _0x385a8a[_0x594568(0x4a2)](_0x4e8b22);const _0x28ecb2=(_0x3ff2d3=(_0x59c895=_0x432781[_0x594568(0x340)]())==null?void 0x0:_0x59c895[_0x594568(0x31d)])!=null?_0x3ff2d3:_0x594568(0x4fd),_0x28b77e=(_0x41de67=(_0x11b894=_0x432781['getCurrentUser']())==null?void 0x0:_0x11b894[_0x594568(0x3f1)])!=null?_0x41de67:_0x594568(0x4fd);return{'changeset':{'unitID':_0xab1a87,'type':I['mapDocumentTypeToUniverType'](_0x290d55['getUnitType'](_0xab1a87)),'baseRev':_0x510f6e['getCurrentRevOfUnit'](_0xab1a87),'revision':0x0,'userID':_0x28ecb2,'memberID':_0x28b77e,'mutations':_0x385a8a},'pendingMutations':_0x12642d[_0x594568(0x45e)](_0x385a8a[_0x594568(0x295)])};}function li(_0x3dfd70,_0xd6d5,_0x4bb524,_0xcffec2,_0x24ca86){var _0x80709a=_0x22ac88,_0xc2a859,_0x598e52,_0x658294,_0x5621ad;const _0x43f25a=[_0x3dfd70[_0x80709a(0x536)]((_0x2f5d40,_0x398874)=>{var _0x26f891=_0x80709a,_0x1ca239;const {id:_0x58a0b2}=_0x2f5d40,{id:_0x3bffd6,type:_0xcbe030}=_0x398874,_0x25602c=(_0x1ca239=_0x2f5d40[_0x26f891(0x4c3)])!=null?_0x1ca239:{'actions':null},_0x460569=_0x398874[_0x26f891(0x4c3)];if(_0x58a0b2&&_0x58a0b2!==_0x3bffd6)throw new Error(_0x26f891(0x225)+_0x58a0b2+'\x20-\x20'+_0x3bffd6+'.');return{..._0x2f5d40,'id':_0x3bffd6,'type':_0xcbe030,'params':{'unitId':_0x460569[_0x26f891(0x542)],'textRanges':_0x460569[_0x26f891(0x3f6)],'actions':a[_0x26f891(0x217)][_0x26f891(0x400)](_0x25602c[_0x26f891(0x494)],_0x460569[_0x26f891(0x494)])}};},{})],_0x21fc70=(_0x598e52=(_0xc2a859=_0x24ca86[_0x80709a(0x340)]())==null?void 0x0:_0xc2a859[_0x80709a(0x31d)])!=null?_0x598e52:'unknown',_0x533136=(_0x5621ad=(_0x658294=_0x24ca86['getCurrentUser']())==null?void 0x0:_0x658294[_0x80709a(0x3f1)])!=null?_0x5621ad:_0x80709a(0x4fd);return{'changeset':{'unitID':_0xd6d5,'type':I['mapDocumentTypeToUniverType'](_0x4bb524['getUnitType'](_0xd6d5)),'baseRev':_0xcffec2['getCurrentRevOfUnit'](_0xd6d5),'revision':0x0,'userID':_0x21fc70,'memberID':_0x533136,'mutations':_0x43f25a},'pendingMutations':[]};}function bt(_0x4721c6,_0x2f5229){var _0x8f6280=_0x22ac88;const _0x3ba592=new $['ReplaySubject'](0x1);return setTimeout(()=>_0x3ba592[_0x8f6280(0x239)](_0x2f5229),_0x4721c6),_0x3ba592[_0x8f6280(0x20a)]()[_0x8f6280(0x2b2)]($['take'](0x1));}const ui={'id':X[_0x22ac88(0x2bc)]['id'],'type':a[_0x22ac88(0x2dd)][_0x22ac88(0x33b)],'params':{}};var di=Object[_0x22ac88(0x22c)],ae=(_0x518fe5,_0x3c20c0,_0x2a550b,_0x30f5b4)=>{var _0x1e91a1=_0x22ac88;for(var _0x57d00d=_0x30f5b4>0x1?void 0x0:_0x30f5b4?di(_0x3c20c0,_0x2a550b):_0x3c20c0,_0x182e77=_0x518fe5[_0x1e91a1(0x295)]-0x1,_0x6b9279;_0x182e77>=0x0;_0x182e77--)(_0x6b9279=_0x518fe5[_0x182e77])&&(_0x57d00d=_0x6b9279(_0x57d00d)||_0x57d00d);return _0x57d00d;},w=(_0x2de1b1,_0x1894f2)=>(_0x581971,_0x301651)=>_0x1894f2(_0x581971,_0x301651,_0x2de1b1),Be=(_0x1da2a3=>(_0x1da2a3['NOT_COLLAB']=_0x22ac88(0x4b0),_0x1da2a3['SYNCED']=_0x22ac88(0x39f),_0x1da2a3[_0x22ac88(0x527)]=_0x22ac88(0x23f),_0x1da2a3[_0x22ac88(0x377)]=_0x22ac88(0x3dc),_0x1da2a3['AWAITING_WITH_PENDING']=_0x22ac88(0x251),_0x1da2a3[_0x22ac88(0x312)]='fetch_missing',_0x1da2a3[_0x22ac88(0x1e9)]=_0x22ac88(0x1ea),_0x1da2a3[_0x22ac88(0x1e0)]=_0x22ac88(0x3fa),_0x1da2a3))(Be||{});const Rt=0xea60;class ce{constructor(_0x151d20,_0x326f82,_0x588b96,_0x410e05,_0x403a3b,_0x185ffc,_0x514757,_0x35ad5,_0x4ff888){var _0x69f51c=_0x22ac88;A(this,_0x69f51c(0x477),null),A(this,'_pendingMutations',[]),(this[_0x69f51c(0x281)]=_0x151d20,this[_0x69f51c(0x48e)]=_0x326f82,this['_handler']=_0x403a3b,this[_0x69f51c(0x524)]=_0x185ffc,this[_0x69f51c(0x218)]=_0x514757,this[_0x69f51c(0x32d)]=_0x35ad5,this[_0x69f51c(0x545)]=_0x4ff888,this['_awaitingChangeset']=_0x588b96,this['_pendingMutations']=_0x410e05);}[_0x22ac88(0x22b)](_0x56456a){var _0x12fca1=_0x22ac88;const _0x508ff0=this[_0x12fca1(0x32d)][_0x12fca1(0x285)](this[_0x12fca1(0x281)]);return _0x56456a[_0x12fca1(0x500)]>_0x508ff0+0x1?(this[_0x12fca1(0x23b)][_0x12fca1(0x493)]({'from':_0x508ff0,'to':_0x56456a['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x22db04){var _0x182f92=_0x22ac88;this[_0x182f92(0x218)][_0x182f92(0x54c)](this[_0x182f92(0x281)],_0x22db04);}[_0x22ac88(0x2f9)](_0x5a5810){var _0x27dee8=_0x22ac88,_0x325ea6,_0x2b17a9;(_0x2b17a9=(_0x325ea6=this[_0x27dee8(0x23b)])[_0x27dee8(0x37c)])==null||_0x2b17a9['call'](_0x325ea6,_0x5a5810);}[_0x22ac88(0x307)](_0x39aab2){var _0x2dcc97=_0x22ac88,_0x2aed0f,_0x20a771;return(_0x20a771=(_0x2aed0f=this[_0x2dcc97(0x23b)])[_0x2dcc97(0x22d)])==null?void 0x0:_0x20a771[_0x2dcc97(0x27d)](_0x2aed0f,_0x39aab2);}[_0x22ac88(0x40a)](_0x573bf4){var _0x50cd7f=_0x22ac88,_0x59ebf9,_0x12e2d6;return(_0x12e2d6=(_0x59ebf9=this['_handler'])[_0x50cd7f(0x320)])==null?void 0x0:_0x12e2d6[_0x50cd7f(0x27d)](_0x59ebf9,_0x573bf4);}['_transformRemoteChangesetByIMECache'](_0x5b0bfd){var _0x3a2ae7=_0x22ac88,_0x224855,_0x4fde47,_0x3c4cb3;return(_0x3c4cb3=(_0x4fde47=(_0x224855=this[_0x3a2ae7(0x23b)])[_0x3a2ae7(0x355)])==null?void 0x0:_0x4fde47[_0x3a2ae7(0x27d)](_0x224855,_0x5b0bfd))!=null?_0x3c4cb3:_0x5b0bfd;}[_0x22ac88(0x492)](_0x2b4bf5){var _0x584688=_0x22ac88,_0x115463,_0x2e4543,_0x365a06;return(_0x365a06=(_0x2e4543=(_0x115463=this[_0x584688(0x23b)])[_0x584688(0x4ab)])==null?void 0x0:_0x2e4543[_0x584688(0x27d)](_0x115463,_0x2b4bf5))!=null?_0x365a06:_0x2b4bf5;}[_0x22ac88(0x40f)](_0x196637){var _0x8c6a1c=_0x22ac88,_0x25c0aa,_0x2ff2fa;if(this['type']===J[_0x8c6a1c(0x3d5)]){const {unitID:_0x5565b4,mutations:_0xc836ae,memberID:_0x20a32f}=_0x196637,_0x3f6da3=_0xc836ae[0x0][_0x8c6a1c(0x4c3)][_0x8c6a1c(0x3f6)];Array[_0x8c6a1c(0x406)](_0x3f6da3)&&_0x3f6da3[_0x8c6a1c(0x295)]>0x0&&((_0x2ff2fa=(_0x25c0aa=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x2ff2fa['call'](_0x25c0aa,{'unitID':_0x5565b4,'memberID':_0x20a32f,'textRanges':_0x3f6da3}));}}[_0x22ac88(0x2aa)](){var _0x883082=_0x22ac88,_0x4dbb7c;(_0x4dbb7c=this[_0x883082(0x545)])==null||_0x4dbb7c['updateOfflineData'](this[_0x883082(0x281)],this[_0x883082(0x48e)],this[_0x883082(0x477)],this[_0x883082(0x378)]);}[_0x22ac88(0x3e5)](){var _0x1b8c5b=_0x22ac88;return this[_0x1b8c5b(0x32d)][_0x1b8c5b(0x285)](this[_0x1b8c5b(0x281)]);}[_0x22ac88(0x38d)](){var _0x374ec8=_0x22ac88;this[_0x374ec8(0x32d)]['incrementRevOfUnit'](this[_0x374ec8(0x281)]);}['_executeRemoteChangeset'](_0x540008){var _0x295001=_0x22ac88,_0x22b805;let _0x37883c=this[_0x295001(0x1da)](_0x540008);_0x37883c=this[_0x295001(0x492)](_0x37883c);const _0x377399=a[_0x295001(0x1fc)](_0x37883c[_0x295001(0x513)],this[_0x295001(0x524)],{'fromCollab':!0x0});if(!_0x377399['result'])throw _0x377399[_0x295001(0x424)]instanceof Error?_0x377399[_0x295001(0x424)]:new Error((_0x22b805=_0x377399[_0x295001(0x424)])!=null?_0x22b805:_0x295001(0x36a));this[_0x295001(0x307)](_0x37883c),this[_0x295001(0x40a)](_0x37883c),this['_transformUndoredo'](_0x540008),this[_0x295001(0x2f9)](_0x37883c),this[_0x295001(0x40f)](_0x37883c),this['_incrementRevisionNumber']();}}exports[_0x22ac88(0x4bc)]=class extends ce{constructor(_0x289377,_0x12955b,_0x8a2e90,_0x14c433,_0x1240fd,_0x4d8e74,_0x3dac1f,_0x12ec3,_0x5424c8,_0x3c88f7){var _0x56e8fb=_0x22ac88;super(_0x289377,_0x12955b,null,[],_0x8a2e90,_0x3dac1f,_0x4d8e74,_0x14c433,_0x3c88f7),A(this,'status',_0x56e8fb(0x39f)),(this[_0x56e8fb(0x459)]=_0x1240fd,this[_0x56e8fb(0x297)]=_0x12ec3,this[_0x56e8fb(0x544)]=_0x5424c8,this[_0x56e8fb(0x2d1)]=_0x3c88f7);}[_0x22ac88(0x3c4)](_0x13bfa0){var _0x11c7d9=_0x22ac88;const _0x441199=this['_injector'][_0x11c7d9(0x515)](exports['PendingState'],this['unitID'],this['type'],[_0x13bfa0],this[_0x11c7d9(0x23b)]);return _0x441199[_0x11c7d9(0x483)](),_0x441199[_0x11c7d9(0x2aa)](),_0x441199;}[_0x22ac88(0x42a)](_0x1f6e47){var _0x496c0b=_0x22ac88;if(this['_checkMissing'](_0x1f6e47))return this[_0x496c0b(0x459)][_0x496c0b(0x515)](exports[_0x496c0b(0x2e7)],this[_0x496c0b(0x281)],this[_0x496c0b(0x48e)],null,[],null,[_0x1f6e47],this[_0x496c0b(0x23b)]);try{const _0x25f9dd=this[_0x496c0b(0x544)][_0x496c0b(0x448)](_0x1f6e47,[ui]);if(I['isTransformMutationsWithChangesetSuccess'](_0x25f9dd)){const {c1Prime:_0x2a6d11}=_0x25f9dd;return this[_0x496c0b(0x4e8)](_0x2a6d11),this;}throw _0x25f9dd[_0x496c0b(0x424)];}catch(_0x368f22){return this['_logService'][_0x496c0b(0x424)](_0x368f22),this[_0x496c0b(0x3a6)](!0x1);}}[_0x22ac88(0x3a6)](_0xffd203){var _0x580123=_0x22ac88;return this['_injector']['createInstance'](exports['ConflictState'],this['unitID'],this['type'],null,[],this[_0x580123(0x23b)],_0xffd203);}[_0x22ac88(0x3fb)](){var _0x402ccd=_0x22ac88;throw new Error(_0x402ccd(0x2cb));}['onRemoteRej'](){var _0x1a4bab=_0x22ac88;throw new Error(_0x1a4bab(0x282));}[_0x22ac88(0x3c6)](){return this;}[_0x22ac88(0x326)](){var _0x3bd624=_0x22ac88;return this[_0x3bd624(0x459)][_0x3bd624(0x515)](exports[_0x3bd624(0x387)],this['unitID'],this['type'],null,[],this[_0x3bd624(0x23b)]);}['toggleOnline'](){return this;}[_0x22ac88(0x450)](){var _0x38256e=_0x22ac88;throw new Error(_0x38256e(0x277));}['fetchMiss'](){var _0x20bf3d=_0x22ac88;const _0x2c692d=this[_0x20bf3d(0x32d)][_0x20bf3d(0x285)](this['unitID']);return this[_0x20bf3d(0x23b)][_0x20bf3d(0x493)]({'from':_0x2c692d,'to':0x0}),this['_injector'][_0x20bf3d(0x515)](exports[_0x20bf3d(0x2e7)],this[_0x20bf3d(0x281)],this[_0x20bf3d(0x48e)],null,[],null,[],this[_0x20bf3d(0x23b)]);}},exports[_0x22ac88(0x4bc)]=ae([w(0x3,a[_0x22ac88(0x371)](I['RevisionService'])),w(0x4,a['Inject'](a['Injector'])),w(0x5,a[_0x22ac88(0x3b4)]),w(0x6,a['ICommandService']),w(0x7,a['ILogService']),w(0x8,I[_0x22ac88(0x337)]),w(0x9,a['Optional'](q))],exports[_0x22ac88(0x4bc)]),exports['PendingState']=class extends ce{constructor(_0x3bdfe7,_0x346d1e,_0x397d9c,_0x585074,_0x78dbf,_0x139fb6,_0x2c001d,_0x5c40f1,_0x322875,_0x4e838a,_0x2f5a15,_0x1dea76,_0xe4048b,_0x50d688){var _0xb5ec7e=_0x22ac88;super(_0x3bdfe7,_0x346d1e,null,_0x397d9c,_0x585074,_0x322875,_0xe4048b,_0x139fb6,_0x50d688),A(this,_0xb5ec7e(0x4c7),'pending'),A(this,_0xb5ec7e(0x4f7),null),A(this,_0xb5ec7e(0x250),null),(this[_0xb5ec7e(0x459)]=_0x78dbf,this['_memberService']=_0x2c001d,this[_0xb5ec7e(0x297)]=_0x5c40f1,this[_0xb5ec7e(0x3b3)]=_0x4e838a,this[_0xb5ec7e(0x544)]=_0x2f5a15,this[_0xb5ec7e(0x388)]=_0x1dea76);}[_0x22ac88(0x3c4)](_0x47bd2a){var _0x3bca2a=_0x22ac88;return this[_0x3bca2a(0x378)]['push'](_0x47bd2a),this[_0x3bca2a(0x2aa)](),this;}['onRemoteChangeset'](_0x59216a){var _0x467441=_0x22ac88;if(this[_0x467441(0x22b)](_0x59216a))return this[_0x467441(0x3bd)](),this[_0x467441(0x459)]['createInstance'](exports['FetchingMissState'],this[_0x467441(0x281)],this[_0x467441(0x48e)],null,this[_0x467441(0x378)],null,[_0x59216a],this[_0x467441(0x23b)]);try{const _0x5a8c93=this['_transformService'][_0x467441(0x448)](_0x59216a,this[_0x467441(0x378)]);if(I[_0x467441(0x45f)](_0x5a8c93)){const {c1Prime:_0x10cf93,m2Prime:_0x3bac9f}=_0x5a8c93;this[_0x467441(0x4e8)](_0x10cf93);const _0x1dad8d=this[_0x467441(0x459)][_0x467441(0x515)](exports[_0x467441(0x51e)],this[_0x467441(0x281)],this[_0x467441(0x48e)],_0x3bac9f,this[_0x467441(0x23b)]);this[_0x467441(0x3bd)]();const _0x5b5d23=new Date()[_0x467441(0x2d9)](),_0x24ebc4=this[_0x467441(0x4f7)]?Math[_0x467441(0x20c)](this[_0x467441(0x4f7)]-_0x5b5d23,0x0):this['_getSendChangesetTimeout']();return _0x1dad8d[_0x467441(0x483)](_0x24ebc4),_0x1dad8d;}throw _0x5a8c93['error'];}catch(_0xdd0211){return this[_0x467441(0x297)][_0x467441(0x424)](_0xdd0211),this[_0x467441(0x3a6)](!0x1);}}[_0x22ac88(0x3fb)](){var _0x276610=_0x22ac88;throw new Error(_0x276610(0x370));}['onRemoteRej'](){var _0x1fc5b8=_0x22ac88;throw new Error(_0x1fc5b8(0x33c));}['onRemoteRetry'](){return this;}[_0x22ac88(0x326)](){var _0x198f9b=_0x22ac88;return this[_0x198f9b(0x3bd)](),this[_0x198f9b(0x459)][_0x198f9b(0x515)](exports[_0x198f9b(0x387)],this['unitID'],this[_0x198f9b(0x48e)],null,this[_0x198f9b(0x378)],this[_0x198f9b(0x23b)]);}[_0x22ac88(0x231)](){return this;}[_0x22ac88(0x483)](_0x1eda91){var _0x197404=_0x22ac88;const _0x27aaff=_0x1eda91!=null?_0x1eda91:this['_getSendChangesetTimeout']();this[_0x197404(0x4f7)]=new Date()[_0x197404(0x2d9)]()+_0x27aaff,this[_0x197404(0x250)]=setTimeout(()=>{var _0x2110bd=_0x197404;this[_0x2110bd(0x3bd)]();let _0x303541=null;switch(this['type']){case J[_0x2110bd(0x403)]:{_0x303541=Ke(this[_0x2110bd(0x378)],this[_0x2110bd(0x281)],this[_0x2110bd(0x388)],this[_0x2110bd(0x32d)],this[_0x2110bd(0x437)]);break;}case J['UNIVER_DOC']:{this[_0x2110bd(0x378)][_0x2110bd(0x2a1)](_0x3aaa72=>_0x3aaa72['id']===ht['RichTextEditingMutation']['id'])?_0x303541=li(this[_0x2110bd(0x378)],this[_0x2110bd(0x281)],this[_0x2110bd(0x388)],this[_0x2110bd(0x32d)],this[_0x2110bd(0x437)]):_0x303541=Ke(this[_0x2110bd(0x378)],this[_0x2110bd(0x281)],this[_0x2110bd(0x388)],this[_0x2110bd(0x32d)],this[_0x2110bd(0x437)]);break;}default:throw new Error(_0x2110bd(0x2b6)+this[_0x2110bd(0x48e)]+'\x20in\x20_schedule.');}const {changeset:_0x2ea805,pendingMutations:_0x1eed4c}=_0x303541;this['_handler'][_0x2110bd(0x223)](_0x2ea805);const _0xef8e5f=_0x1eed4c['length']?this[_0x2110bd(0x459)][_0x2110bd(0x515)](exports[_0x2110bd(0x273)],this[_0x2110bd(0x281)],this['type'],_0x2ea805,_0x1eed4c,this[_0x2110bd(0x23b)],void 0x0):this['_injector']['createInstance'](exports['AwaitingState'],this[_0x2110bd(0x281)],this[_0x2110bd(0x48e)],_0x2ea805,this[_0x2110bd(0x23b)]);_0xef8e5f[_0x2110bd(0x2aa)](),this[_0x2110bd(0x23b)][_0x2110bd(0x503)](this,_0xef8e5f);},_0x27aaff);}[_0x22ac88(0x3c7)](){var _0x25595e=_0x22ac88,_0x41e6a5;const _0x64f2e2=this[_0x25595e(0x3b3)]['getConfig'](K);return(_0x41e6a5=_0x64f2e2==null?void 0x0:_0x64f2e2[_0x25595e(0x47a)])!=null?_0x41e6a5:xt;}[_0x22ac88(0x450)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearScheduledTask'](){var _0x55796f=_0x22ac88;this[_0x55796f(0x250)]!=null&&(clearTimeout(this[_0x55796f(0x250)]),this[_0x55796f(0x250)]=null);}[_0x22ac88(0x3a6)](_0xb7f60f){var _0x107690=_0x22ac88;return this[_0x107690(0x3bd)](),this[_0x107690(0x459)][_0x107690(0x515)](exports[_0x107690(0x4ed)],this[_0x107690(0x281)],this[_0x107690(0x48e)],null,this[_0x107690(0x378)],this[_0x107690(0x23b)],_0xb7f60f);}},exports[_0x22ac88(0x51e)]=ae([w(0x4,a[_0x22ac88(0x371)](a['Injector'])),w(0x5,a[_0x22ac88(0x371)](I[_0x22ac88(0x28e)])),w(0x6,a['Inject'](exports[_0x22ac88(0x457)])),w(0x7,a[_0x22ac88(0x3a5)]),w(0x8,a['ICommandService']),w(0x9,a[_0x22ac88(0x389)]),w(0xa,I[_0x22ac88(0x337)]),w(0xb,a[_0x22ac88(0x52c)]),w(0xc,a[_0x22ac88(0x3b4)]),w(0xd,a[_0x22ac88(0x43b)](q))],exports[_0x22ac88(0x51e)]),exports[_0x22ac88(0x29f)]=class extends ce{constructor(_0x256420,_0x242451,_0x4a8e02,_0x508f8d,_0x3b5d14,_0x4c6b98,_0x672fe2,_0x2d5f35,_0x25690f,_0x1d13b9,_0x5cc5b2){var _0x420959=_0x22ac88;super(_0x256420,_0x242451,_0x4a8e02,[],_0x508f8d,_0x672fe2,_0x1d13b9,_0x4c6b98,_0x5cc5b2),A(this,_0x420959(0x4c7),'awaiting'),A(this,_0x420959(0x432),0x0),A(this,_0x420959(0x4ba)),A(this,_0x420959(0x3cc)),(this[_0x420959(0x459)]=_0x3b5d14,this[_0x420959(0x297)]=_0x2d5f35,this[_0x420959(0x544)]=_0x25690f);}['appendMutation'](_0x52e849){var _0x3eb7a7=_0x22ac88;this[_0x3eb7a7(0x3bd)]();const _0x237b7f=this[_0x3eb7a7(0x459)][_0x3eb7a7(0x515)](exports[_0x3eb7a7(0x273)],this[_0x3eb7a7(0x281)],this[_0x3eb7a7(0x48e)],this[_0x3eb7a7(0x477)],[_0x52e849],this[_0x3eb7a7(0x23b)],this[_0x3eb7a7(0x4ba)]);return _0x237b7f['_updateLocalCache'](),_0x237b7f;}['onRemoteChangeset'](_0x104780){var _0x1104dd=_0x22ac88;if(this[_0x1104dd(0x22b)](_0x104780))return this[_0x1104dd(0x3bd)](),this[_0x1104dd(0x459)][_0x1104dd(0x515)](exports[_0x1104dd(0x2e7)],this[_0x1104dd(0x281)],this[_0x1104dd(0x48e)],this[_0x1104dd(0x477)],[],null,[_0x104780],this[_0x1104dd(0x23b)]);try{const _0x9a6b7=this[_0x1104dd(0x544)][_0x1104dd(0x41f)]([_0x104780],[this[_0x1104dd(0x477)]],!0x1);if(I[_0x1104dd(0x47c)](_0x9a6b7)){const {c1Prime:_0x6b3568,c2Prime:_0x5877da}=_0x9a6b7;this[_0x1104dd(0x4e8)](_0x6b3568[0x0]),_0x5877da[0x0]['baseRev']=this[_0x1104dd(0x3e5)](),this[_0x1104dd(0x3bd)]();const _0x3e2398=this[_0x1104dd(0x459)][_0x1104dd(0x515)](exports[_0x1104dd(0x29f)],this[_0x1104dd(0x281)],this[_0x1104dd(0x48e)],_0x5877da[0x0],this['_handler']);return _0x3e2398[_0x1104dd(0x2aa)](),_0x3e2398;}return this[_0x1104dd(0x3a6)](!0x1);}catch(_0x2a2217){return this[_0x1104dd(0x297)][_0x1104dd(0x424)](_0x2a2217),this[_0x1104dd(0x3a6)](!0x1);}}['onRemoteAck'](_0x10d853){var _0x50f740=_0x22ac88;this[_0x50f740(0x3bd)]();const _0x49f1a0=this[_0x50f740(0x32d)][_0x50f740(0x285)](this[_0x50f740(0x281)]);if(_0x10d853[_0x50f740(0x500)]<_0x49f1a0-0x1)return this;if(this[_0x50f740(0x22b)](_0x10d853))return this[_0x50f740(0x459)]['createInstance'](exports['FetchingMissState'],this['unitID'],this[_0x50f740(0x48e)],null,[],this[_0x50f740(0x477)],[],this[_0x50f740(0x23b)]);this[_0x50f740(0x38d)]();const _0x204c64=this[_0x50f740(0x459)][_0x50f740(0x515)](exports['SyncedState'],this['unitID'],this[_0x50f740(0x48e)],this[_0x50f740(0x23b)]);return _0x204c64[_0x50f740(0x2aa)](),_0x204c64;}[_0x22ac88(0x3b7)](_0x18874a){var _0xd49261=_0x22ac88;return this[_0xd49261(0x3a6)](!!(_0x18874a!=null&&_0x18874a[_0xd49261(0x2f8)]));}[_0x22ac88(0x3c6)](_0x91c6cc){var _0x15d41c=_0x22ac88;return this[_0x15d41c(0x432)]>Rt?this['toggleOffline']():(this[_0x15d41c(0x4ba)]=bt(this[_0x15d41c(0x432)],{'timeout':this['_resendTimeout'],'reqId':_0x91c6cc['reqId']}),this[_0x15d41c(0x3cc)]=this[_0x15d41c(0x4ba)][_0x15d41c(0x382)](({reqId:_0x374a3e,timeout:_0x5ea7de})=>{var _0xf60c4=_0x15d41c;this[_0xf60c4(0x4c2)](_0x374a3e,_0x5ea7de);}),this);}['toggleOffline'](){var _0x6b46c8=_0x22ac88;return this['_clearScheduledTask'](),this['_injector'][_0x6b46c8(0x515)](exports[_0x6b46c8(0x387)],this['unitID'],this[_0x6b46c8(0x48e)],this[_0x6b46c8(0x477)],[],this[_0x6b46c8(0x23b)]);}[_0x22ac88(0x231)](){return this;}[_0x22ac88(0x450)](){var _0x501ba5=_0x22ac88;this[_0x501ba5(0x23b)][_0x501ba5(0x223)](this[_0x501ba5(0x477)]);}['_onConflict'](_0x16832a){var _0x2ed7da=_0x22ac88;return this[_0x2ed7da(0x3bd)](),this['_injector'][_0x2ed7da(0x515)](exports['ConflictState'],this[_0x2ed7da(0x281)],this[_0x2ed7da(0x48e)],this[_0x2ed7da(0x477)],[],this[_0x2ed7da(0x23b)],_0x16832a);}[_0x22ac88(0x4c2)](_0x7d916b,_0x3ea1f6){var _0x1a2008=_0x22ac88,_0x44e818;_0x7d916b===((_0x44e818=this[_0x1a2008(0x477)])==null?void 0x0:_0x44e818[_0x1a2008(0x23d)])&&(this[_0x1a2008(0x450)](),this[_0x1a2008(0x432)]=_0x3ea1f6===0x0?0x3e8:_0x3ea1f6*0x2);}[_0x22ac88(0x3bd)](){var _0x2df8ec=_0x22ac88,_0x1fc2a3;(_0x1fc2a3=this[_0x2df8ec(0x3cc)])==null||_0x1fc2a3[_0x2df8ec(0x3be)](),this[_0x2df8ec(0x432)]=0x0;}},exports[_0x22ac88(0x29f)]=ae([w(0x4,a[_0x22ac88(0x371)](a[_0x22ac88(0x3c3)])),w(0x5,a['Inject'](I[_0x22ac88(0x28e)])),w(0x6,a['ICommandService']),w(0x7,a['ILogService']),w(0x8,I[_0x22ac88(0x337)]),w(0x9,a['IUndoRedoService']),w(0xa,a[_0x22ac88(0x43b)](q))],exports[_0x22ac88(0x29f)]),exports['AwaitingWithPendingState']=class extends ce{constructor(_0x3b58bf,_0x5ccc93,_0x545232,_0x48876e,_0x1f8c43,_0x4b7cdc,_0x5498b8,_0x157a80,_0x51ed26,_0x545257,_0x542f0e,_0x2044af,_0x22abd4){var _0x1afa68=_0x22ac88;super(_0x3b58bf,_0x5ccc93,_0x545232,_0x48876e,_0x1f8c43,_0x51ed26,_0x2044af,_0x157a80,_0x22abd4),A(this,'status',_0x1afa68(0x251)),A(this,'_resendTimeout',0x0),A(this,_0x1afa68(0x4ba)),A(this,'_sender'),(this[_0x1afa68(0x459)]=_0x5498b8,this[_0x1afa68(0x297)]=_0x545257,this[_0x1afa68(0x544)]=_0x542f0e,this['localCacheService']=_0x22abd4,_0x4b7cdc&&(this[_0x1afa68(0x4ba)]=_0x4b7cdc,this[_0x1afa68(0x3cc)]=this[_0x1afa68(0x4ba)][_0x1afa68(0x382)](({reqId:_0x3db69b,timeout:_0x42f7be})=>{var _0x4a5d3c=_0x1afa68;this[_0x4a5d3c(0x4c2)](_0x3db69b,_0x42f7be);})));}['appendMutation'](_0x524ebb){var _0x5ef27d=_0x22ac88;return this[_0x5ef27d(0x378)][_0x5ef27d(0x4a2)](_0x524ebb),this;}[_0x22ac88(0x42a)](_0x14cb1f){var _0x15f6c4=_0x22ac88;if(this[_0x15f6c4(0x22b)](_0x14cb1f))return this[_0x15f6c4(0x3bd)](),this[_0x15f6c4(0x459)][_0x15f6c4(0x515)](exports[_0x15f6c4(0x2e7)],this[_0x15f6c4(0x281)],this[_0x15f6c4(0x48e)],this[_0x15f6c4(0x477)],this[_0x15f6c4(0x378)],null,[_0x14cb1f],this['_handler']);try{const _0x5c5cc2=this[_0x15f6c4(0x544)][_0x15f6c4(0x41f)]([_0x14cb1f],[this[_0x15f6c4(0x477)]],!0x1);if(I[_0x15f6c4(0x47c)](_0x5c5cc2)){const {c1Prime:_0x4209ef,c2Prime:_0x11cdf4}=_0x5c5cc2,_0x1a996c=this[_0x15f6c4(0x544)][_0x15f6c4(0x448)](_0x4209ef[0x0],this[_0x15f6c4(0x378)]);if(I[_0x15f6c4(0x45f)](_0x1a996c)){const {c1Prime:_0x13cf6f,m2Prime:_0x4cd195}=_0x1a996c;return this['_executeRemoteChangeset'](_0x13cf6f),_0x11cdf4[0x0]['baseRev']=this[_0x15f6c4(0x3e5)](),this[_0x15f6c4(0x3bd)](),this['_injector'][_0x15f6c4(0x515)](exports[_0x15f6c4(0x273)],this[_0x15f6c4(0x281)],this['type'],_0x11cdf4[0x0],_0x4cd195,this[_0x15f6c4(0x23b)],void 0x0);}throw _0x1a996c['error'];}throw _0x5c5cc2[_0x15f6c4(0x424)];}catch(_0x300f0c){return this[_0x15f6c4(0x297)][_0x15f6c4(0x424)](_0x300f0c),this[_0x15f6c4(0x3a6)](!0x1);}}[_0x22ac88(0x3fb)](_0x5284c1){var _0xba8a1d=_0x22ac88;if(this['_clearScheduledTask'](),this[_0xba8a1d(0x22b)](_0x5284c1))return this[_0xba8a1d(0x459)][_0xba8a1d(0x515)](exports[_0xba8a1d(0x2e7)],this[_0xba8a1d(0x281)],this['type'],null,this[_0xba8a1d(0x378)],this[_0xba8a1d(0x477)],[],this[_0xba8a1d(0x23b)]);this[_0xba8a1d(0x38d)]();const _0x23f91d=this[_0xba8a1d(0x459)][_0xba8a1d(0x515)](exports[_0xba8a1d(0x51e)],this[_0xba8a1d(0x281)],this['type'],this['_pendingMutations'],this['_handler']);return _0x23f91d[_0xba8a1d(0x483)](),_0x23f91d[_0xba8a1d(0x2aa)](),_0x23f91d;}['onRemoteRej'](_0x6659a1){var _0x171779=_0x22ac88;return this[_0x171779(0x3a6)](!!(_0x6659a1!=null&&_0x6659a1[_0x171779(0x2f8)]));}[_0x22ac88(0x3c6)](_0x4659af){var _0x18feef=_0x22ac88;return this[_0x18feef(0x432)]>Rt?this[_0x18feef(0x326)]():(this[_0x18feef(0x4ba)]=bt(this[_0x18feef(0x432)],{'timeout':this[_0x18feef(0x432)],'reqId':_0x4659af['reqId']}),this['_sender']=this[_0x18feef(0x4ba)]['subscribe'](({reqId:_0x5025ab,timeout:_0x2c3b74})=>{var _0x5da3b7=_0x18feef;this[_0x5da3b7(0x4c2)](_0x5025ab,_0x2c3b74);}),this);}[_0x22ac88(0x326)](){var _0x2e2684=_0x22ac88;return this[_0x2e2684(0x3bd)](),this['_injector']['createInstance'](exports[_0x2e2684(0x387)],this[_0x2e2684(0x281)],this[_0x2e2684(0x48e)],this[_0x2e2684(0x477)],this['_pendingMutations'],this[_0x2e2684(0x23b)]);}['toggleOnline'](){return this;}[_0x22ac88(0x450)](){var _0x22ac55=_0x22ac88;this[_0x22ac55(0x23b)]['onSendChangeset'](this[_0x22ac55(0x477)]);}[_0x22ac88(0x3a6)](_0x51a436){var _0x3307ac=_0x22ac88;return this[_0x3307ac(0x3bd)](),this[_0x3307ac(0x459)][_0x3307ac(0x515)](exports[_0x3307ac(0x4ed)],this[_0x3307ac(0x281)],this[_0x3307ac(0x48e)],null,this[_0x3307ac(0x378)],this[_0x3307ac(0x23b)],_0x51a436);}['_resendWithTimeout'](_0x2ee7af,_0x42ffbd){var _0x1908b7=_0x22ac88,_0x1560a6;_0x2ee7af===((_0x1560a6=this[_0x1908b7(0x477)])==null?void 0x0:_0x1560a6['reqId'])&&(this[_0x1908b7(0x450)](),this[_0x1908b7(0x432)]=_0x42ffbd===0x0?0x3e8:_0x42ffbd*0x2);}[_0x22ac88(0x3bd)](){var _0x454154=_0x22ac88,_0x2e7eea;(_0x2e7eea=this['_sender'])==null||_0x2e7eea['unsubscribe'](),this[_0x454154(0x432)]=0x0;}},exports[_0x22ac88(0x273)]=ae([w(0x6,a[_0x22ac88(0x371)](a[_0x22ac88(0x3c3)])),w(0x7,a[_0x22ac88(0x371)](I[_0x22ac88(0x28e)])),w(0x8,a['ICommandService']),w(0x9,a[_0x22ac88(0x3a5)]),w(0xa,I[_0x22ac88(0x337)]),w(0xb,a[_0x22ac88(0x3b4)]),w(0xc,a[_0x22ac88(0x43b)](q))],exports[_0x22ac88(0x273)]),exports[_0x22ac88(0x4ed)]=class extends ce{constructor(_0x4fd724,_0x3950f4,_0x42ac88,_0x421ca0,_0x44a0d7,_0x536be0=!0x1,_0x254bfc,_0x21dba0,_0x3c1b59,_0x486143,_0x3b0ed2,_0x13ba59,_0x1fc8a4){var _0x5b2450=_0x22ac88;super(_0x4fd724,_0x3950f4,_0x42ac88,_0x421ca0,_0x44a0d7,_0x21dba0,_0x3c1b59,_0x486143,_0x1fc8a4),A(this,_0x5b2450(0x4c7),_0x5b2450(0x1ea)),(this[_0x5b2450(0x41d)]=_0x536be0,this[_0x5b2450(0x3db)]=_0x254bfc,this[_0x5b2450(0x224)]=_0x3b0ed2,this[_0x5b2450(0x309)]=_0x13ba59,this[_0x5b2450(0x2d1)]=_0x1fc8a4,this[_0x5b2450(0x3ba)](),this['_clearLocalCache'](),this['_disableEditing']());}[_0x22ac88(0x3c4)](){return this;}[_0x22ac88(0x42a)](){return this;}[_0x22ac88(0x3fb)](){return this;}['onRemoteRej'](){return this;}[_0x22ac88(0x3c6)](){return this;}[_0x22ac88(0x326)](){return this;}[_0x22ac88(0x231)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x22ac88(0x4d7)](){var _0x475719=_0x22ac88,_0xf7d35b;(_0xf7d35b=this[_0x475719(0x545)])==null||_0xf7d35b[_0x475719(0x2d0)](this[_0x475719(0x281)],this['type'],null,[]);}[_0x22ac88(0x3ba)](){var _0x3edb15=_0x22ac88;this[_0x3edb15(0x41d)]?this[_0x3edb15(0x309)][_0x3edb15(0x208)]({'id':Z[_0x3edb15(0x2af)]}):this[_0x3edb15(0x309)][_0x3edb15(0x208)]({'id':Z[_0x3edb15(0x1e9)]});}['_disableEditing'](){var _0x15fa2d=_0x22ac88;this[_0x15fa2d(0x3db)][_0x15fa2d(0x31f)](new X[(_0x15fa2d(0x50a))](this[_0x15fa2d(0x281)])['id'],!0x1);}},exports[_0x22ac88(0x4ed)]=ae([w(0x6,a[_0x22ac88(0x371)](a[_0x22ac88(0x4b4)])),w(0x7,a[_0x22ac88(0x4f2)]),w(0x8,a[_0x22ac88(0x3b4)]),w(0x9,a['Inject'](I[_0x22ac88(0x28e)])),w(0xa,a[_0x22ac88(0x371)](a['LocaleService'])),w(0xb,a[_0x22ac88(0x371)](ee)),w(0xc,a['Optional'](q))],exports[_0x22ac88(0x4ed)]),exports['OfflineState']=class extends ce{constructor(_0x5c4ebb,_0x3a3982,_0x1dcb92,_0x40e0d4,_0x5bc72d,_0x37c949,_0x85ad01,_0x4e5503,_0x5a35e8,_0x196d9f){var _0x1a5599=_0x22ac88;super(_0x5c4ebb,_0x3a3982,_0x1dcb92,_0x40e0d4,_0x5bc72d,_0x4e5503,_0x5a35e8,_0x85ad01,_0x196d9f),A(this,_0x1a5599(0x4c7),_0x1a5599(0x3fa)),this[_0x1a5599(0x459)]=_0x37c949;}[_0x22ac88(0x3c4)](_0x39a22f){var _0x1b841c=_0x22ac88;return this[_0x1b841c(0x378)]['push'](_0x39a22f),this[_0x1b841c(0x2aa)](),this;}['onRemoteChangeset'](_0x12eeab){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x22ac88(0x3fb)](){var _0x2bdb08=_0x22ac88;throw new Error(_0x2bdb08(0x465));}[_0x22ac88(0x3b7)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x8085c8=_0x22ac88;const {_injector:_0x443d0d,_pendingMutations:_0x54b94d,_awaitingChangeset:_0xf83c96,unitID:_0x2a2780,_handler:_0x3a3728,type:_0x523aad}=this,_0x5bbcff=Ot(_0x443d0d,_0x2a2780,_0x523aad,_0xf83c96,_0x54b94d,_0x3a3728);return _0x5bbcff instanceof exports[_0x8085c8(0x51e)]?_0x5bbcff[_0x8085c8(0x483)]():(_0x5bbcff instanceof exports[_0x8085c8(0x273)]||_0x5bbcff instanceof exports[_0x8085c8(0x29f)])&&_0x5bbcff[_0x8085c8(0x450)](),_0x5bbcff;}['resend'](){var _0x540000=_0x22ac88;throw new Error(_0x540000(0x2a6));}},exports['OfflineState']=ae([w(0x5,a[_0x22ac88(0x371)](a[_0x22ac88(0x3c3)])),w(0x6,a[_0x22ac88(0x371)](I['RevisionService'])),w(0x7,a[_0x22ac88(0x4f2)]),w(0x8,a[_0x22ac88(0x3b4)]),w(0x9,a[_0x22ac88(0x43b)](q))],exports['OfflineState']),exports[_0x22ac88(0x2e7)]=class extends ce{constructor(_0x39bbe5,_0x570e1a,_0x1ddd63,_0x1985d6,_0x16d00c,_0x221e4a,_0x3bd34b,_0x3f2dbe,_0x597a09,_0x6a6b15,_0x287b34,_0x22020e,_0x3e2748,_0x3a3d7d){var _0x5a5851=_0x22ac88;super(_0x39bbe5,_0x570e1a,_0x1ddd63,_0x1985d6,_0x3bd34b,_0x287b34,_0x22020e,_0x597a09,_0x3a3d7d),A(this,'status','fetch_missing'),(this[_0x5a5851(0x3ae)]=_0x16d00c,this[_0x5a5851(0x30f)]=_0x221e4a,this['_injector']=_0x3f2dbe,this[_0x5a5851(0x297)]=_0x6a6b15,this[_0x5a5851(0x544)]=_0x3e2748,this[_0x5a5851(0x2d1)]=_0x3a3d7d);}[_0x22ac88(0x2c9)](_0x288bbe){var _0xe4b76c=_0x22ac88;try{const _0x38b881=[..._0x288bbe,...this[_0xe4b76c(0x30f)]],_0x3f0f4b=[this[_0xe4b76c(0x477)]||this[_0xe4b76c(0x3ae)]][_0xe4b76c(0x211)](_0x687a1c=>!!_0x687a1c);let _0x2bd845,_0x935c47;if(_0x3f0f4b['length']){const _0x507fa9=this[_0xe4b76c(0x544)]['transformChangesets'](_0x38b881,_0x3f0f4b,!0x1);if(!I['isTransformChangesetsSuccess'](_0x507fa9))throw _0x507fa9[_0xe4b76c(0x424)];_0x2bd845=_0x507fa9['c1Prime'],_0x935c47=_0x507fa9[_0xe4b76c(0x472)];}else _0x2bd845=_0x38b881,_0x935c47=[];let _0x10f7e7=this[_0xe4b76c(0x378)];_0x2bd845[_0xe4b76c(0x38e)](_0x505725=>{var _0x2997cd=_0xe4b76c;let _0x3e453e;if(_0x10f7e7['length']){const _0x42ede2=this[_0x2997cd(0x544)][_0x2997cd(0x448)](_0x505725,_0x10f7e7);if(!I[_0x2997cd(0x45f)](_0x42ede2))throw _0x42ede2[_0x2997cd(0x424)];_0x3e453e=_0x42ede2[_0x2997cd(0x2d8)],_0x10f7e7=_0x42ede2[_0x2997cd(0x3b6)];}else _0x3e453e=_0x505725;this[_0x2997cd(0x4e8)](_0x3e453e);}),this[_0xe4b76c(0x3ae)]&&this[_0xe4b76c(0x38d)](),this['_awaitingChangeset']&&_0x935c47['length']&&(_0x935c47[0x0][_0xe4b76c(0x2ce)]=this[_0xe4b76c(0x3e5)]());let _0x4532d6;if(this[_0xe4b76c(0x477)]&&_0x10f7e7[_0xe4b76c(0x295)]!==0x0)_0x4532d6=this[_0xe4b76c(0x459)][_0xe4b76c(0x515)](exports['AwaitingWithPendingState'],this[_0xe4b76c(0x281)],this['type'],_0x935c47[0x0],_0x10f7e7,this[_0xe4b76c(0x23b)],void 0x0);else{if(this[_0xe4b76c(0x477)]&&_0x10f7e7['length']===0x0)_0x935c47[0x0]['baseRev']=this['_getCurrentRevision'](),_0x4532d6=this['_injector'][_0xe4b76c(0x515)](exports[_0xe4b76c(0x29f)],this[_0xe4b76c(0x281)],this[_0xe4b76c(0x48e)],_0x935c47[0x0],this[_0xe4b76c(0x23b)]);else{if(_0x10f7e7[_0xe4b76c(0x295)]!==0x0){const _0x53dc06=this['_injector'][_0xe4b76c(0x515)](exports[_0xe4b76c(0x51e)],this[_0xe4b76c(0x281)],this[_0xe4b76c(0x48e)],_0x10f7e7,this[_0xe4b76c(0x23b)]);_0x53dc06[_0xe4b76c(0x483)](),_0x4532d6=_0x53dc06;}else _0x4532d6=this['_injector'][_0xe4b76c(0x515)](exports[_0xe4b76c(0x4bc)],this[_0xe4b76c(0x281)],this[_0xe4b76c(0x48e)],this[_0xe4b76c(0x23b)]);}}return _0x4532d6[_0xe4b76c(0x2aa)](),_0x4532d6;}catch(_0x4d38b7){return this[_0xe4b76c(0x297)][_0xe4b76c(0x424)]('[FetchMissState]',_0xe4b76c(0x4be),_0x4d38b7),this[_0xe4b76c(0x459)]['createInstance'](exports['ConflictState'],this['unitID'],this['type'],this[_0xe4b76c(0x477)],this[_0xe4b76c(0x378)],this[_0xe4b76c(0x23b)],!0x1);}}['resend'](){var _0xf1162e=_0x22ac88;throw new Error(_0xf1162e(0x42f));}[_0x22ac88(0x3c4)](_0x45614d){var _0x147b68=_0x22ac88;return this[_0x147b68(0x378)][_0x147b68(0x4a2)](_0x45614d),this;}[_0x22ac88(0x42a)](_0x213f33){var _0x1642f3=_0x22ac88;return this[_0x1642f3(0x30f)][_0x1642f3(0x4a2)](_0x213f33),this;}['onRemoteAck'](_0x3882ab){var _0x2b972f=_0x22ac88;if(this[_0x2b972f(0x477)])return this[_0x2b972f(0x3ae)]=this[_0x2b972f(0x477)],this[_0x2b972f(0x477)]=null,this;throw new Error(_0x2b972f(0x3a8));}[_0x22ac88(0x3b7)](_0x2b0e49){var _0x588ef5=_0x22ac88;return this[_0x588ef5(0x3a6)](!!(_0x2b0e49!=null&&_0x2b0e49['isPermissionRej']));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x121354=_0x22ac88;return this[_0x121354(0x459)][_0x121354(0x515)](exports[_0x121354(0x387)],this['unitID'],this[_0x121354(0x48e)],this[_0x121354(0x477)],this[_0x121354(0x378)],this['_handler']);}[_0x22ac88(0x231)](){return this;}[_0x22ac88(0x3a6)](_0x31dd2c){var _0x770642=_0x22ac88;return this[_0x770642(0x459)][_0x770642(0x515)](exports[_0x770642(0x4ed)],this[_0x770642(0x281)],this[_0x770642(0x48e)],this[_0x770642(0x477)],this['_pendingMutations'],this[_0x770642(0x23b)],_0x31dd2c);}},exports['FetchingMissState']=ae([w(0x7,a[_0x22ac88(0x371)](a[_0x22ac88(0x3c3)])),w(0x8,a[_0x22ac88(0x371)](I[_0x22ac88(0x28e)])),w(0x9,a[_0x22ac88(0x3a5)]),w(0xa,a['ICommandService']),w(0xb,a[_0x22ac88(0x3b4)]),w(0xc,I[_0x22ac88(0x337)]),w(0xd,a['Optional'](q))],exports[_0x22ac88(0x2e7)]);function Ot(_0x5524e6,_0x12a459,_0x2ce5e0,_0x59d77c,_0x302b7f,_0x5b7c08){var _0x2b439b=_0x22ac88;return _0x59d77c&&_0x302b7f[_0x2b439b(0x295)]?_0x5524e6['createInstance'](exports[_0x2b439b(0x273)],_0x12a459,_0x2ce5e0,_0x59d77c,_0x302b7f,_0x5b7c08,void 0x0):_0x59d77c?_0x5524e6[_0x2b439b(0x515)](exports[_0x2b439b(0x29f)],_0x12a459,_0x2ce5e0,_0x59d77c,_0x5b7c08):_0x302b7f[_0x2b439b(0x295)]?_0x5524e6['createInstance'](exports[_0x2b439b(0x51e)],_0x12a459,_0x2ce5e0,_0x302b7f,_0x5b7c08):_0x5524e6[_0x2b439b(0x515)](exports[_0x2b439b(0x4bc)],_0x12a459,_0x2ce5e0,_0x5b7c08);}function _0x7ec8(){var _0x1fbf4f=['cfg','MemberService','INTERNAL_ERROR','_injector','UNIVER_UNKNOWN','_decreaseWaiting','MD5','SnapshotService','slice','isTransformMutationsWithChangesetSuccess','Hex','_createSocket','_getAPIPrefixPath','executeCommand','_onUserJoin','[OfflineState]:\x20received\x20acknowledgement.','isInternalEditorID','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_socket','focused$','_tryReconnect','catch','_hash','waitForRoom$','LICENSE_DISTRO_REJECTED','EMAIL_HAS_BEEN_BOUND','HELLO','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','c2Prime','compute','LocaleService','NEW_CHANGESETS','ceil','_awaitingChangeset','setConfig','COLLAB_WEB_SOCKET_URL','sendChangesetTimeout','_change$','isTransformChangesetsSuccess','copyFileMeta','_userManagerService','SUBMIT_CHANGESET_TIMEOUT','SOCKET_FAILED_RETRY','getValue','send','_schedule','update','location','JOINING','csShouldRetryEvent','getMember','LOCAL_CACHE_INTERVAL','_ENC_XFORM_MODE','encrypt','CollaborationController','code','type','OTHER_CLIENT_EDITING','/unit/','_joinRoom','_transformRemoteChangesetByStateCache','onMissingChangesets','actions','subject','INGEST','connection\x20error','JOIN_ROOM_FAILED','parseProtocolChangeset','MentionType','entityInit$','CollaborationSession','USERS_ENTER','b64DecodeUnicode','Undefined','ILocalCacheService','_fetchMissChangesets','push','_handlerCallback','Plugin','_changesetReqId','collaboration-client.config','event$','SEND_CHANGESET_TIMEOUT_KEY','image/bmp','_applyRemoteChangeset','onTransformRemoteChangesetByStateCache','UNKNOWN_CMD','_remoteChangesetQueue','8TfzFUk','msCrypto','not_collab','_append','updateMember','_rescheduleHeartbeat','IPermissionService','_collaborationPaused','/universer-api/snapshot/','_doProcessBlock','_roomCreated$','3609450CcewkR','_resendTimer','_eventService','SyncedState','&source=','failed\x20to\x20apply\x20missed\x20changesets!','_initCloseConn','_onRemoteRetry','post','_resendWithTimeout','params','_startCollaboration','CollaborationSocketService','LOGIN_FAILED','status','HMAC','loginUrlKey','_onUserLeave','objectType','algo','UniverCollaborationClientPlugin','createIdentifier','disposeWithMe','_candidateSocket','DependentOn','HEARTBEAT','objectActions','sessionStatus$','CollaborationImageIoService','override','_clearLocalCache','updatePermissionObjEvent','updateSnapshot','Module','pluginName','UUID','POST','subUnitId','CollaborationSessionService','changesets','_commentUpdate$','[CollaborationUndoRedoService]','People','getRandomValues','APPLY_NON_SEQUENTIAL_REVISION','confirm','OPTIONAL','_executeRemoteChangeset','socketService','OpenSSL','parseChangesetToProtocol','_networkConditionService','ConflictState','image/jpeg','saveSheetBlock','_httpService','onStarting','ICommandService','ONLINE','collaborators','decryptBlock','Base64','_scheduleCompleteTimestamp','originalMeta','/new_changes','_socketMessageSubscription','YUUMI_URL_COL_OUT_OF_RANGE','file','unknown','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','awaitingChangeset','revision','origin','getLocalCacheKey','onStateChange','registerHTTPInterceptor','loadDoc','set','sessionStatus','name','PERMISSION_REJ','WorkbookEditablePermission','words','concatMap','HEARTBEAT_INTERVAL_KEY','sin','_getDownloadEndpointURL','workbook','YUUMI_TABLE_NOT_FOUND_IN_UNIT','CompressMutationService','mutations','unpad','createInstance','IContextService','Quantity','_cipher','fetching\x20missing\x20changesets\x20from\x20','_replayCachedMutations','HmacMD5','_compressMutationService','getTypeOfUnitDisposed$','PendingState','_onOffline','_onRemoteRejected','_singleActiveUnitService','isTransformMutationsWithChangesetFailure','closeSession','_commandService','_keyPriorReset','onSyncEditingCollabCursor','PENDING','randomBytes','LEAVE','HttpImport','rxjs','IUniverInstanceService','session.join-failed','CBC','_getUndoStack','transformSelections','_members$','CLOSE_ROOM','_doCreateSocket','_shouldReportTelemetry','patch','reduce','now','_initRequestHeader','HEARTBEAT_TIMEOUT','getTypeOfUnitAdded$','csRejEvent','BehaviorSubject','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_mode','UNAUTHENTICATED','reset','LIVESHARE_TERMINATE','unitId','NoPadding','_transformService','_localCacheService','padding','MSG_FOR_ERROR','Error\x20on\x20receiving\x20event','224126omCLjn','UNIVER_SLIDE','_key','transformUndoRedo','_collaborationSessionService','toString','uuidv4','/universer-api/snapshot','_createHmacHelper','stopTime','UniverNetworkPlugin','_initDependencies','DEFAULT_COLLAB_WEB_SOCKET_URL','_transformRemoteChangesetByIMECache','key','ciphertext','_status$','ENSURE_SNAPSHOT_EXECUTION','deserializeToCombResponse','OFFLINE','liveShareNewHost','_retryCount','[CollaborationEntity]','kdf','function','_startTelemetryCollaborationNewChangeset','_process','_socketReady','CONFLICT','conflict','_prevBlock','touchDependencies','mergeOverrideWithDependencies','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','from','getActiveSheet','RECV','localeService','_updateState','delay','_toggleOffline','@univerjs/drawing','DEFAULT_FILE_NAME','fetchMissingChangesets','_collaborationTimeoutTimer','reconnect','sequenceExecute','registerDependencies','UPDATE_CURSOR','listCollaborators','_createInitialStateImpl','_replaceFileID','session.room-cnt-exceeds','_substituteRedoStack','method','SerializableCipher','SHOULD_CLOSE_CONN','BlockCipherMode','emitEvent','SheetsSelectionsService','asObservable','__creator','max','UNIVER_COLLABORATION_CLIENT_PLUGIN','_snapshotService','_event$','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','filter','UNDEFINED','1613060HFUzcj','message$','YUUMI_SUBSCRIPTION_NOT_FOUND','UniverInstanceType','JSONX','_undoRedoService','init','_changesetSessionId','UNISCRIPT_RUN','_retryConnectingTimer','_getRedoStack','fetchThroughInterceptors','encode','RichTextEditingMutation','CONNECTOR_DATA_TOO_LARGE','getInterceptPoints','onSendChangeset','_localeService','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_sendHeartbeat','_hasher','YUUMI_ALL_TABLES_IS_INVALID','_type','LICENSE_IMPORT_SIZE_EXCEEDED','_checkMissing','getOwnPropertyDescriptor','onTransformIME','_listenToNetworkCondition','COLLAB_SUBMIT_CHANGESET_URL','_transformStack','toggleOnline','generateRandomId','list','_clearRedo','ALREADY_EXISTS','symbol','/universer-api/stream/file/upload','_clearUndo','next','ERROR_IMAGE_TYPE','_handler','_getUploadFileURL','reqId','deepClone','pending','SOCKET_FAILED','charCodeAt','size','defineProperty','CollaborationUIEventService','_updateStatus','result','authzUrl','SheetCollaborationEntity','put','getMemberID','/block/','getLatestCsReqIdBySid','session','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','capture','_sendingTimer','awaiting_with_pending','hasher','UserProfileImg','LIVESHARE_NEW_HOST','range','ImageUploadStatusType','COMPRESS_MUTATION_APPLY','hasOwnProperty','_sendHeartbeatTimer','random','open$','FAIL','getImageSourceCache','@univerjs/sheets','_onRemoteACK','createEncryptor','OTHER_CLIENTS_EDITING','unitId\x20is\x20not\x20found','getUnitId','join','SNAPSHOT_HAS_BEEN_REMOVED','_HTTPService','telemetry\x20info\x20is\x20not\x20initialized','merge','enableAuthServer','Subject','action','includes','get','downloadEndpointUrl','addImageSourceCache','avatar','csAckEvent','execute','AwaitingWithPendingState','_commentService','/universer-api/uniscript','__Key__','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_getCtorByUniverType','[CollaborationSessionService]','lib','_roomMembers','[DataLoaderService]','call','_waitCount','Failed\x20to\x20update\x20permission\x20point','concat','unitID','[SyncedState]:\x20received\x20rejection.','debug','fromCharCode','getCurrentRevOfUnit','_timeoutTimer','onCommentUpdate','CHANGESET_SHOULD_RETRY','BASE64','shareReplay','ITelemetryService','WordArray','target','RevisionService','clone','univer-pro.collaboration-client.network-condition.service','collabSubmitChangesetUrl','INVITE_CODE_REQUIRED','/resources','_unitInfo$','length','pad','_logService','snapshotServerUrl','dispose','socket$','readInt32LE','delete','DocCollaborationEntity','AuthzIoHttpService','AwaitingState','Decryptor','every','CollaborativeUndoRedoService','YUUMI_ASYNCIO_CANCELLED','_socketService','take','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','getImage','removeMember','close','_updateLocalCache','splice','hostname','CHANGESET_REVISION_CONFILICT','[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.','PERMISSION_DENIED','_xformMode','@univerjs/core','pipe','signUrlServerUrl','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','ISingleActiveUnitService','[PendingState]:\x20unhandled\x20univer\x20type:\x20','href','_getLoginPath','AES','/universer-api/authz','getSheetBlock','EmptyMutation','reject','extend','/role','sigBytes','floor','HEARTBEAT_TIMEOUT_KEY','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','25896piZmrL','_reverseMap','getFocusedUnit','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','roomInfos','onMissedChangesetFetched','SNAPSHOT_SERVER_URL_KEY','[SyncedState]:\x20received\x20acknowledgement.','_sheetTransformSelectionsService','requireSession','baseRev','error$','updateOfflineData','localCacheService','NO_OTHER_CLIENTS_EDITING','YUUMI_RATE_OVER_LIMIT','UNIVER_PROJECT','BufferedBlockAlgorithm','apply','_snapshotServerService','c1Prime','getTime','_telemetryInfo','_redoStacks','dispose$','CommandType','_tryEnsureSocket','_socket$','_map','SNAPSHOT_INVALID_SNAPSHOT','/fetchmissing?from=','HTTPService','_iv','_data','_clearCollaborationTimeoutTimer','FetchingMissState','initWorkbookPermissionChange','APPLY_REVISION_CONFILICT','_undoStacks','resourceIDs','_onConnectionFailed','loadOfflineData','batchAllowed','string','SheetPermissionInitController','NOT_FOUND','fromCollab','getDeserializedSheetBlock','LICENSE_EXPORT_SIZE_EXCEEDED','USERS_LEAVE','_instanceService','_collabSessionService','isPermissionRej','_transformSelections','charAt','newCsEvent','getGlobalObject','state$','_waitForHeartbeatResponse','_initUnitPermissionChange','INVALID_INVITE_CODE','format','Latin1','_throwTelemetryCollaborationNewChangeset','UnitStatus','ws://127.0.0.1:8000/universer-api/comb/connect','uploadFileServerUrl','_transformIMECache','YUUMI_NO_CUBOID_FOR_QUESTION','_collaborationUIEventService','LOGIN_URL_KEY','APPLY_REJECT','loadSheet','UPDATE_PERMISSION_OBJ','HEARTBEAT_INTERVAL','_queuedRemoteChangesets','_exhaustRemoteChangesetQueue','clear','FETCH_MISS','JOIN_ROOM_PERMISSION_DENIED','image/jpg','HmacSHA1','_entityInit$','_DEC_XFORM_MODE','selections','\x0aCurrent:\x20','_entities','close$','toDisposable','userID','Pkcs7','updatePermissionPoint','onTransformState','MOBILE_HAS_BEEN_BOUND','getSnapshotAPIPath','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','getConfig','onCommandExecuted','toggleOffline','onlyLocal','FETCH_MISSING','getCurrentSelections','BlockCipher','CollaborationEntity','_createHelper','_revisionService','disableLocalCache','auth.needGotoLoginAlert','collaboration-client.local-cache-service','/-/object/-/batch_allowed','_substituteUndoStack','decrypt','session.room-full','Encryptor','UNRECOGNIZED','ITransformService','_emitMembers','_onFetchMissResult','?url=','MUTATION','[PendingState]:\x20received\x20rejection.','UNKNOWN_CODE','_onMessage','572754TcxBoP','getCurrentUser','JOIN_ROOM_NOT_EXISTS','fetchMiss','ivSize','getResourcesRequest','WECHAT_HAS_BEEN_BOUND','has','UnitEmbedded','findIndex','_keySchedule','_init','SEND_CHANGESET_TIMEOUT','duration','_oKey','_clearTimeoutTimer','transformStack\x20failed!','CommentService','values','_getAPIPrefix','INVITE_CODE_HAS_BEEN_UES','_onConnectionOpen','onTransformRemoteChangesetByIMECache','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','createSocket','loadUnitOfRevision','prototype','@univerjs-pro/collaboration','takeUntil','mixIn','[CollaborationSession]','_clearRetryConnectingTimer','eventID','_minBufferSize','interceptor','_initMergeInterceptor','_parse','sid','_state','_createInitialState','pauseCollaboration','ERROR_EXCEED_SIZE','x-univer-host','[CollaborationState]:\x20apply\x20error!','CollaborationEvent','ICollaborationSocketService','IDLE','EvpKDF','src','[PendingState]:\x20received\x20acknowledgement.','Inject','YUUMI_AI_RUN_FAILED','_doFinalize','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','1044524MKTIss','_onRecvEvent','AWAITING','_pendingMutations','__esModule','@univerjs/docs','_lockTransition','onTransformSelections','/collaborator','/-/object/list','LIVESHARE_FETCH_OPERATIONS','session.room-permission-denied','data','subscribe','UnitSnapshot','_createHandler','_getSignURL','_nDataBytes','OfflineState','_univerInstanceService','IConfigService','Utf8','INVALID_ARGUMENT','COMMENT_UPDATE','_incrementRevisionNumber','forEach','_submitChangeset','/allowed','members','HttpExport','ERROR_IMAGE','SheetTransformSelectionsService','[UniverCollaborationClientPlugin]','CHANGESET_ACK','Rectangle','SHA1','cmd','add','JOIN','url','image/png','PSEUDO_FETCH_MISSING_RESULT','synced','collaboration_new_changeset','Base','@univerjs-pro/license','startsWith','_onLocalMutation','ILogService','_onConflict','LIVESHARE_OPERATION','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','&assign=','CollaborationUIEventId','leaveEvent','SetSelectionsOperation','Cipher','_acknowledgedAwaitingChangeset','?size=','commentUpdateEvent','_members','collaboratorID','_configService','IUndoRedoService','byteOffset','m2Prime','onRemoteRej','getCollabEntity','socket\x20open.','_showConflictNotification','GLOBAL_ROOMS_CNT_EXCEEDS','_invKeySchedule','_clearScheduledTask','unsubscribe','IMentionIOService','clamp','Malformed\x20UTF-8\x20data','SnapshotServerOverHTTPService','Injector','appendMutation','objects','onRemoteRetry','_getSendChangesetTimeout','collabWebSocketUrl','find','InsertSheetMutation','processBlock','_sender','@univerjs/telemetry','default','PERSON','requestParams','stringify','&to=','socket\x20close','HTTPRequest','UNIVER_DOC','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_removeRoom','encryptBlock','INVITE_CODE_ALREADY_BOUND','parse','_permissionService','awaiting','body','_doCryptBlock','SUCCUSS','reverse','_imageSourceCache','_config','status$','_telemetryService','_getCurrentRevision','COLLAB_WEB_SOCKET_URL_KEY','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','image/gif','ImageSourceType','saveChangeset','crypto','PY_RUNTIME_SCRIPT_ERROR','FileId','unit-cache-','Hasher','readAsDataURL','memberID','APPLY_DUPLICATED','1243067ozyfyX','resolve','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','textRanges','members$','replace','map','offline','onRemoteAck','commentUpdate$','JOIN_ROOM_FULL','complete','finalize','compose','exports','/universer-api/oidc/authpage','UNIVER_SHEET','_transitionLocked','SNAPSHOT_URL_KEY','isArray','byteLength','keySize','createCollaborator','_transformStateCache','updateCursorEvent','_toggleOnline','YUUMI_UNABLE_LOAD_URL','salt','_syncEditingCollabCursor','USER_NOT_INVITED_CODE','/universer-api/comb','IImageIoService','formatter','_onRemoteChangeset','retryConnectingInterval','CipherParams','title','state','getCollabEntity$','routeKey','_unitID','Disposable','_isPermissionRej','AUTHZ_URL_KEY','transformChangesets','saveImage','_sessionStatus$','/universer-api/file/{fileID}/sign-url','blockSize','error','indexOf','joinRsp','COMPRESS_MUTATION_SEND','_clearHeartbeatTimer','INetworkConditionService','onRemoteChangeset','LIVESHARE_REQUEST_HOST','\x0aAfter:\x20','SUBMIT_CHANGESET','_sessions','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','LICENSE_MAX_UNITS_EXCEEDED','setCurrentUser','_resendTimeout','create','RxDisposable','getUnitOnRev','_scheduleCollaborationTimeoutTimer','_memberService','loadUnit','objectID','mode','Optional','textEncoder','RETRY_CONNECTING_MAX_COUNT','UserManagerService','listRoles','submit\x20changeset\x20error!','CHANGESET_REJ','/object/','MergeInterceptorFactory','ISnapshotServerService','_nRounds','MentionIoHttpService','_unlockTransition','transformMutationsWithChangeset','_state$','entries','allowed','repeat','enc','_onJoinRoomEvent','CollaborationStatus','resend','228iGdYJT','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','setWaitCount','infoRsp','headers'];_0x7ec8=function(){return _0x1fbf4f;};return _0x7ec8();}var vi=Object[_0x22ac88(0x22c)],Fe=(_0x31b697,_0x1570fd,_0x27013f,_0x11d8e4)=>{var _0x1abb16=_0x22ac88;for(var _0x1214e7=_0x11d8e4>0x1?void 0x0:_0x11d8e4?vi(_0x1570fd,_0x27013f):_0x1570fd,_0x5b1844=_0x31b697[_0x1abb16(0x295)]-0x1,_0x51b9c6;_0x5b1844>=0x0;_0x5b1844--)(_0x51b9c6=_0x31b697[_0x5b1844])&&(_0x1214e7=_0x51b9c6(_0x1214e7)||_0x1214e7);return _0x1214e7;},j=(_0x4ac1cb,_0x2d1068)=>(_0x323486,_0x21ff41)=>_0x2d1068(_0x323486,_0x21ff41,_0x4ac1cb);exports[_0x22ac88(0x32b)]=class extends a['RxDisposable']{constructor(_0x41d6c9,_0xf5f1e5,_0xed73c7,_0xa8b789,_0x626a1c,_0x57770b,_0x52df60,_0x16d456,_0xf22ddc,_0x2ea58b,_0x33b476,_0x546bab,_0x5b5a48){var _0x351335=_0x22ac88;super(),A(this,_0x351335(0x449),new $[(_0x351335(0x53c))](null)),A(this,_0x351335(0x2fd),this['_state$'][_0x351335(0x20a)]()),A(this,'_state'),A(this,_0x351335(0x4b5),!0x1),A(this,_0x351335(0x21a),''),A(this,_0x351335(0x4a5),0x0),A(this,_0x351335(0x3e3),this[_0x351335(0x2fd)][_0x351335(0x2b2)]($[_0x351335(0x3f9)](_0x3e539d=>_0x3e539d?_0x3e539d['status']:Be[_0x351335(0x1e0)]),$[_0x351335(0x28a)](0x1))),A(this,'_transitionLocked',!0x1),A(this,_0x351335(0x4ad),[]),(this[_0x351335(0x281)]=_0x41d6c9,this[_0x351335(0x24d)]=_0xf5f1e5,this[_0x351335(0x229)]=_0xed73c7,this['_injector']=_0xa8b789,this['_compressMutationService']=_0x626a1c,this['_localeService']=_0x57770b,this[_0x351335(0x32d)]=_0x52df60,this['_eventService']=_0x16d456,this[_0x351335(0x297)]=_0xf22ddc,this[_0x351335(0x524)]=_0x2ea58b,this['_permissionService']=_0x33b476,this[_0x351335(0x521)]=_0x546bab,this[_0x351335(0x545)]=_0x5b5a48);}get[_0x22ac88(0x418)](){return this['_state'];}async[_0x22ac88(0x219)](){var _0x70198d=_0x22ac88;if(this[_0x70198d(0x418)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x70198d(0x34a)]();}[_0x22ac88(0x367)](){var _0x2c8e05=_0x22ac88;return this[_0x2c8e05(0x4b5)]=!0x0,a[_0x2c8e05(0x31c)](()=>{var _0x4d4f5d=_0x2c8e05;this[_0x4d4f5d(0x4b5)]=!0x1,this[_0x4d4f5d(0x310)]();});}['onLocalMutation'](_0x296a63){var _0x126573=_0x22ac88;this[_0x126573(0x3a4)](_0x296a63);}[_0x22ac88(0x1f4)](_0x1b1f57){var _0x341cd9=_0x22ac88;this[_0x341cd9(0x365)]=_0x1b1f57,this[_0x341cd9(0x449)][_0x341cd9(0x239)](_0x1b1f57);}async[_0x22ac88(0x34a)](){var _0x1388d5=_0x22ac88,_0x53da9c;this['_updateState'](await this[_0x1388d5(0x366)]()),this[_0x1388d5(0x521)]&&((_0x53da9c=this[_0x1388d5(0x521)])==null||_0x53da9c['editingUnit'](this['unitID']),this['disposeWithMe'](this[_0x1388d5(0x521)]['getUnitStatus$'](this['unitID'])[_0x1388d5(0x382)](_0x26ede3=>{var _0x35c563=_0x1388d5;this[_0x35c563(0x297)]['debug'](_0x35c563(0x1e3),'editing\x20status\x20changed\x20to',_0x26ede3),_0x26ede3===je['OTHER_CLIENTS_EDITING']?(this[_0x35c563(0x4bb)]['emitEvent']({'id':Z[_0x35c563(0x48f)]}),this[_0x35c563(0x3db)][_0x35c563(0x31f)](new X[(_0x35c563(0x50a))](this[_0x35c563(0x281)])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x35c563(0x3db)][_0x35c563(0x31f)](new X[(_0x35c563(0x50a))](this[_0x35c563(0x281)])['id'],!0x0),this[_0x35c563(0x3db)]['setShowComponents'](!0x0));})));let _0x5e6a54=!0x1;return this[_0x1388d5(0x4cf)](this['session'][_0x1388d5(0x4d4)][_0x1388d5(0x382)](_0x2eed9f=>{var _0x35dd32=_0x1388d5;_0x2eed9f===re[_0x35dd32(0x4f3)]?this[_0x35dd32(0x40c)](_0x5e6a54):_0x2eed9f===re['OFFLINE']&&(_0x5e6a54=!0x0,this[_0x35dd32(0x1f6)]());})),this[_0x1388d5(0x4cf)](this[_0x1388d5(0x24d)][_0x1388d5(0x4a7)][_0x1388d5(0x382)](_0x3c2699=>{var _0x22a4b3=_0x1388d5;try{switch(_0x3c2699[_0x22a4b3(0x35f)]){case I[_0x22a4b3(0x36b)][_0x22a4b3(0x475)]:{this[_0x22a4b3(0x414)](I[_0x22a4b3(0x499)](_0x3c2699[_0x22a4b3(0x381)]));break;}case I[_0x22a4b3(0x36b)][_0x22a4b3(0x396)]:{this['_onRemoteACK'](_0x3c2699[_0x22a4b3(0x381)]);break;}case I[_0x22a4b3(0x36b)][_0x22a4b3(0x441)]:{this[_0x22a4b3(0x520)]();break;}case I['CollaborationEvent'][_0x22a4b3(0x288)]:{this['_onRemoteRetry'](_0x3c2699[_0x22a4b3(0x381)]);break;}case I[_0x22a4b3(0x36b)][_0x22a4b3(0x39e)]:{this[_0x22a4b3(0x339)](_0x3c2699[_0x22a4b3(0x381)][_0x22a4b3(0x4e0)][_0x22a4b3(0x3f9)](_0x25c09d=>I['parseProtocolChangeset'](_0x25c09d)));break;}case I[_0x22a4b3(0x36b)][_0x22a4b3(0x509)]:{this[_0x22a4b3(0x520)]({'isPermissionRej':!0x0});break;}case I[_0x22a4b3(0x36b)][_0x22a4b3(0x21b)]:break;}}catch(_0x2fc5c3){throw console['error'](_0x22a4b3(0x548),_0x2fc5c3),_0x2fc5c3;}})),this['_state'];}[_0x22ac88(0x447)](){var _0x3f69c2=_0x22ac88;this[_0x3f69c2(0x404)]=!0x1;}[_0x22ac88(0x37b)](){var _0x71fd56=_0x22ac88;if(this[_0x71fd56(0x404)])throw new Error(_0x71fd56(0x2ae));this[_0x71fd56(0x404)]=!0x0;}[_0x22ac88(0x3a4)](_0x69c845){var _0x16e664=_0x22ac88;this[_0x16e664(0x37b)](),this[_0x16e664(0x1f4)](this['_state'][_0x16e664(0x3c4)](_0x69c845)),this[_0x16e664(0x447)]();}[_0x22ac88(0x414)](_0x4e5d40){var _0x19fd9f=_0x22ac88;if(!(_0x4e5d40[_0x19fd9f(0x500)]<=this[_0x19fd9f(0x32d)][_0x19fd9f(0x285)](this[_0x19fd9f(0x281)]))){if(this[_0x19fd9f(0x4b5)]){this[_0x19fd9f(0x4ad)][_0x19fd9f(0x4a2)](_0x4e5d40);return;}this[_0x19fd9f(0x4aa)](_0x4e5d40);}}[_0x22ac88(0x310)](){var _0x57d21c=_0x22ac88;this[_0x57d21c(0x4ad)]['forEach'](_0x4ccfe0=>this[_0x57d21c(0x4aa)](_0x4ccfe0)),this[_0x57d21c(0x4ad)]=[];}[_0x22ac88(0x4aa)](_0x1e74dd){var _0x58a805=_0x22ac88;const _0x337434=this[_0x58a805(0x51c)][_0x58a805(0x361)][_0x58a805(0x21e)](this[_0x58a805(0x51c)][_0x58a805(0x361)][_0x58a805(0x222)]()[_0x58a805(0x257)])(_0x1e74dd[_0x58a805(0x513)],null)||_0x1e74dd[_0x58a805(0x513)],_0x21f274={..._0x1e74dd,'mutations':_0x337434};this[_0x58a805(0x37b)](),this[_0x58a805(0x1f4)](this[_0x58a805(0x365)][_0x58a805(0x42a)](_0x21f274)),this[_0x58a805(0x447)]();}[_0x22ac88(0x25f)](_0x31b6ee){var _0x7a4591=_0x22ac88;this[_0x7a4591(0x37b)](),this[_0x7a4591(0x1f4)](this[_0x7a4591(0x365)][_0x7a4591(0x3fb)](_0x31b6ee)),this['_unlockTransition']();}[_0x22ac88(0x520)](_0x55c4e7){var _0x3f22b4=_0x22ac88;this[_0x3f22b4(0x37b)](),this[_0x3f22b4(0x1f4)](this[_0x3f22b4(0x365)]['onRemoteRej'](_0x55c4e7)),this['_unlockTransition']();}[_0x22ac88(0x4c0)](_0x2d35f4){var _0x298f67=_0x22ac88;this['_lockTransition'](),this[_0x298f67(0x1f4)](this[_0x298f67(0x365)]['onRemoteRetry'](_0x2d35f4)),this['_unlockTransition']();}['_onFetchMissResult'](_0x31dae3){var _0x1b0f50=_0x22ac88;if(!(this['_state']instanceof exports[_0x1b0f50(0x2e7)]))throw new TypeError(_0x1b0f50(0x467));const _0x5c7fdc=_0x31dae3[_0x1b0f50(0x3f9)](_0x113b7a=>{var _0x1bf2c1=_0x1b0f50;const _0x384eef=this[_0x1bf2c1(0x51c)]['interceptor']['fetchThroughInterceptors'](this[_0x1bf2c1(0x51c)][_0x1bf2c1(0x361)][_0x1bf2c1(0x222)]()['COMPRESS_MUTATION_APPLY'])(_0x113b7a[_0x1bf2c1(0x513)],null)||_0x113b7a[_0x1bf2c1(0x513)];return{..._0x113b7a,'mutations':_0x384eef};});this[_0x1b0f50(0x37b)](),this[_0x1b0f50(0x1f4)](this['_state'][_0x1b0f50(0x2c9)](_0x5c7fdc)),this[_0x1b0f50(0x447)]();}['_toggleOffline'](){var _0x485392=_0x22ac88;this[_0x485392(0x37b)](),this['_updateState'](this[_0x485392(0x365)][_0x485392(0x326)]()),this[_0x485392(0x447)]();}[_0x22ac88(0x40c)](_0x14297a=!0x1){var _0xa5ccb3=_0x22ac88;this[_0xa5ccb3(0x37b)](),this[_0xa5ccb3(0x1f4)](this[_0xa5ccb3(0x365)][_0xa5ccb3(0x231)]()),this[_0xa5ccb3(0x447)]();const _0x2c1099=this['_state'];_0x14297a&&_0x2c1099 instanceof exports['SyncedState']&&(this[_0xa5ccb3(0x37b)](),this[_0xa5ccb3(0x1f4)](_0x2c1099[_0xa5ccb3(0x342)]()),this[_0xa5ccb3(0x447)]());}async[_0x22ac88(0x366)](){return new Promise(_0x4fb7e0=>{var _0x4d6b40=_0xfcb9;this[_0x4d6b40(0x24d)][_0x4d6b40(0x4d4)][_0x4d6b40(0x2b2)]($[_0x4d6b40(0x2a5)](0x1))[_0x4d6b40(0x382)](async _0x5b5848=>{var _0x231c02=_0x4d6b40;_0x4fb7e0(await this['_createInitialStateImpl'](_0x5b5848===re[_0x231c02(0x4f3)]));});});}[_0x22ac88(0x384)](){var _0x5bcf46=_0x22ac88;const _0x391848=this[_0x5bcf46(0x281)];return{'onStateChange':(_0x2f7a5e,_0x5d9bef)=>{var _0x5235b1=_0x5bcf46;if(_0x2f7a5e!==this[_0x5235b1(0x365)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x2f7a5e[_0x5235b1(0x4c7)]+_0x5235b1(0x42c)+_0x5d9bef[_0x5235b1(0x4c7)]+_0x5235b1(0x319)+this[_0x5235b1(0x365)]['status']);this['_updateState'](_0x5d9bef);},'onSendChangeset':_0x2fe1ef=>{var _0x574b53=_0x5bcf46;_0x2fe1ef[_0x574b53(0x364)]||(_0x2fe1ef[_0x574b53(0x364)]=this[_0x574b53(0x21a)],_0x2fe1ef[_0x574b53(0x23d)]=++this[_0x574b53(0x4a5)]);const _0x36c7df={'eventID':I[_0x574b53(0x36b)][_0x574b53(0x42d)],'data':{'unitID':_0x2fe1ef[_0x574b53(0x281)],'unitType':this[_0x574b53(0x229)],'changeset':_0x2fe1ef,'memberID':this[_0x574b53(0x24d)]['getMemberID']()}};this[_0x574b53(0x24d)][_0x574b53(0x482)](_0x36c7df,this[_0x574b53(0x281)]);},'onMissingChangesets':({from:_0x402034,to:_0x4d9101})=>{var _0x19f108=_0x5bcf46;this[_0x19f108(0x297)]['debug'](_0x19f108(0x1e3),_0x19f108(0x519)+_0x402034+'\x20to\x20'+_0x4d9101);const _0x342c17={'eventID':I[_0x19f108(0x36b)]['FETCH_MISSING'],'data':{'unitID':_0x391848,'unitType':this['_type'],'from':_0x402034,'to':_0x4d9101}};this['session'][_0x19f108(0x482)](_0x342c17,this[_0x19f108(0x281)]);}};}async[_0x22ac88(0x200)](_0x1c93b2){var _0x5156a0=_0x22ac88,_0x5d30aa,_0x30a823,_0x4e62cf;const _0x2cd92d=await((_0x5d30aa=this[_0x5156a0(0x545)])==null?void 0x0:_0x5d30aa[_0x5156a0(0x2ed)](this['unitID'])),_0x20eb0c=(_0x30a823=_0x2cd92d==null?void 0x0:_0x2cd92d['mutations'])!=null?_0x30a823:[],_0x36d585=(_0x4e62cf=_0x2cd92d==null?void 0x0:_0x2cd92d[_0x5156a0(0x4ff)])!=null?_0x4e62cf:null,_0x492da2=!!(_0x36d585!=null&&_0x36d585['sid'])&&!!(_0x36d585!=null&&_0x36d585[_0x5156a0(0x23d)]);this['_changesetSessionId']=_0x492da2?_0x36d585[_0x5156a0(0x364)]:I[_0x5156a0(0x1d3)](),this[_0x5156a0(0x4a5)]=_0x492da2?_0x36d585['reqId']:0x0;const _0xdab006=this[_0x5156a0(0x281)];try{this[_0x5156a0(0x51a)](_0x36d585,_0x20eb0c);}catch(_0x1dabaa){this[_0x5156a0(0x297)][_0x5156a0(0x424)](_0x1dabaa);}const _0x55b633=this[_0x5156a0(0x384)]();if(_0x1c93b2){const _0x49beb8=Ot(this[_0x5156a0(0x459)],_0xdab006,this[_0x5156a0(0x229)],_0x36d585,_0x20eb0c,_0x55b633);return _0x49beb8 instanceof exports[_0x5156a0(0x51e)]?_0x49beb8[_0x5156a0(0x483)]():(_0x49beb8 instanceof exports[_0x5156a0(0x273)]||_0x49beb8 instanceof exports[_0x5156a0(0x29f)])&&_0x49beb8[_0x5156a0(0x450)](),_0x49beb8;}return this[_0x5156a0(0x459)][_0x5156a0(0x515)](exports[_0x5156a0(0x387)],_0xdab006,this[_0x5156a0(0x229)],_0x36d585,_0x20eb0c,_0x55b633);}['_replayCachedMutations'](_0xf2aac9,_0x2957e3){var _0x2ddc94=_0x22ac88,_0x5e9adf,_0xf862ae;const _0xaa51ee=this[_0x2ddc94(0x51c)]['interceptor'][_0x2ddc94(0x21e)](this[_0x2ddc94(0x51c)][_0x2ddc94(0x361)][_0x2ddc94(0x222)]()['COMPRESS_MUTATION_APPLY']);(_0x5e9adf=_0xaa51ee((_0xf2aac9==null?void 0x0:_0xf2aac9['mutations'])||[],null))==null||_0x5e9adf[_0x2ddc94(0x38e)](_0x2b4f4a=>this[_0x2ddc94(0x524)]['executeCommand'](_0x2b4f4a['id'],_0x2b4f4a[_0x2ddc94(0x4c3)])),(_0xf862ae=_0xaa51ee(_0x2957e3||[],null))==null||_0xf862ae['forEach'](_0x5825f0=>this[_0x2ddc94(0x524)][_0x2ddc94(0x463)](_0x5825f0['id'],_0x5825f0[_0x2ddc94(0x4c3)]));}},exports[_0x22ac88(0x32b)]=Fe([j(0x3,a[_0x22ac88(0x371)](a[_0x22ac88(0x3c3)])),j(0x4,a[_0x22ac88(0x371)](I[_0x22ac88(0x512)])),j(0x5,a[_0x22ac88(0x371)](a[_0x22ac88(0x474)])),j(0x6,a[_0x22ac88(0x371)](I[_0x22ac88(0x28e)])),j(0x7,a[_0x22ac88(0x371)](ee)),j(0x8,a[_0x22ac88(0x3a5)]),j(0x9,a[_0x22ac88(0x4f2)]),j(0xa,a['IPermissionService']),j(0xb,a[_0x22ac88(0x43b)](de)),j(0xc,a[_0x22ac88(0x43b)](q))],exports[_0x22ac88(0x32b)]),exports[_0x22ac88(0x29d)]=class extends exports['CollaborationEntity']{constructor(_0x15afc1,_0x41c2b1,_0x345282,_0x3167db,_0x1724b5,_0x4fb778,_0x49412e,_0x232631,_0xb01bd0,_0x369b0e,_0x33a7ab,_0x2fabe0,_0x494f6d){var _0x5b0f97=_0x22ac88;super(_0x15afc1,_0x345282,_0x41c2b1,_0x3167db,_0x1724b5,_0x4fb778,_0x49412e,_0x232631,_0xb01bd0,_0x369b0e,_0x33a7ab,_0x2fabe0,_0x494f6d),A(this,'_handlerCallback',null),(this[_0x5b0f97(0x281)]=_0x15afc1,this[_0x5b0f97(0x48e)]=_0x41c2b1);}['addHandlerCallback'](_0x34408a){var _0x5d319c=_0x22ac88;this[_0x5d319c(0x4a3)]=_0x34408a;}[_0x22ac88(0x299)](){var _0x37434a=_0x22ac88;this[_0x37434a(0x4a3)]=null,super[_0x37434a(0x299)]();}[_0x22ac88(0x384)](){var _0x3f7c48=_0x22ac88;const _0x7cfdf4=super[_0x3f7c48(0x384)]();return _0x7cfdf4[_0x3f7c48(0x22d)]=_0xaadb03=>{var _0xcf6939=_0x3f7c48,_0x592543,_0x15a8fd;return(_0x15a8fd=(_0x592543=this['_handlerCallback'])==null?void 0x0:_0x592543[_0xcf6939(0x22d)])==null?void 0x0:_0x15a8fd[_0xcf6939(0x27d)](_0x592543,_0xaadb03);},_0x7cfdf4[_0x3f7c48(0x320)]=_0x20df1b=>{var _0x5808ef=_0x3f7c48,_0x26b01f,_0x43bced;return(_0x43bced=(_0x26b01f=this[_0x5808ef(0x4a3)])==null?void 0x0:_0x26b01f[_0x5808ef(0x320)])==null?void 0x0:_0x43bced[_0x5808ef(0x27d)](_0x26b01f,_0x20df1b);},_0x7cfdf4['onTransformSelections']=_0x41ac33=>{var _0x14fdde=_0x3f7c48,_0x184827,_0x252763;return(_0x252763=(_0x184827=this[_0x14fdde(0x4a3)])==null?void 0x0:_0x184827[_0x14fdde(0x37c)])==null?void 0x0:_0x252763[_0x14fdde(0x27d)](_0x184827,_0x41ac33);},_0x7cfdf4[_0x3f7c48(0x526)]=_0x32fecd=>{var _0x25f90b=_0x3f7c48,_0x483540,_0x2d399e;return(_0x2d399e=(_0x483540=this[_0x25f90b(0x4a3)])==null?void 0x0:_0x483540[_0x25f90b(0x526)])==null?void 0x0:_0x2d399e['call'](_0x483540,_0x32fecd);},_0x7cfdf4[_0x3f7c48(0x355)]=_0x3dacde=>{var _0x285bae=_0x3f7c48,_0x2be344,_0x18ffbb,_0x223bf7;if(!((_0x2be344=this[_0x285bae(0x4a3)])!=null&&_0x2be344[_0x285bae(0x355)]))throw new Error(_0x285bae(0x452));return(_0x223bf7=(_0x18ffbb=this[_0x285bae(0x4a3)])==null?void 0x0:_0x18ffbb['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x223bf7[_0x285bae(0x27d)](_0x18ffbb,_0x3dacde);},_0x7cfdf4['onTransformRemoteChangesetByStateCache']=_0x2273cb=>{var _0x51ac5e=_0x3f7c48,_0x548383,_0x5839aa,_0x51aacf;if(!((_0x548383=this[_0x51ac5e(0x4a3)])!=null&&_0x548383[_0x51ac5e(0x4ab)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x51aacf=(_0x5839aa=this[_0x51ac5e(0x4a3)])==null?void 0x0:_0x5839aa['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x51aacf[_0x51ac5e(0x27d)](_0x5839aa,_0x2273cb);},_0x7cfdf4;}async[_0x22ac88(0x34a)](){var _0x5a9d33=_0x22ac88;const _0x489b1b=await super[_0x5a9d33(0x34a)]();return this[_0x5a9d33(0x4cf)](this[_0x5a9d33(0x524)][_0x5a9d33(0x325)]((_0x1ed1cf,_0x2aa8ef)=>{var _0x709b2f=_0x5a9d33;if(_0x1ed1cf[_0x709b2f(0x48e)]!==a[_0x709b2f(0x2dd)][_0x709b2f(0x33b)]||_0x2aa8ef!=null&&_0x2aa8ef[_0x709b2f(0x2f2)]||_0x2aa8ef!=null&&_0x2aa8ef[_0x709b2f(0x327)]||_0x1ed1cf['id']===ht[_0x709b2f(0x220)]['id'])return;const _0xfdd5e8=_0x1ed1cf['params'];if((_0xfdd5e8==null?void 0x0:_0xfdd5e8['unitId'])!==this['unitID'])return;const _0x1bf693=_0x1ed1cf,_0x26e30b=this[_0x709b2f(0x51c)][_0x709b2f(0x361)][_0x709b2f(0x21e)](this[_0x709b2f(0x51c)][_0x709b2f(0x361)][_0x709b2f(0x222)]()[_0x709b2f(0x427)])([_0x1bf693],null)||[_0x1bf693];this[_0x709b2f(0x3a4)](_0x26e30b[0x0]);})),_0x489b1b;}},exports[_0x22ac88(0x29d)]=Fe([j(0x3,a[_0x22ac88(0x371)](a[_0x22ac88(0x3c3)])),j(0x4,a[_0x22ac88(0x371)](I[_0x22ac88(0x512)])),j(0x5,a[_0x22ac88(0x371)](a[_0x22ac88(0x474)])),j(0x6,a[_0x22ac88(0x371)](I[_0x22ac88(0x28e)])),j(0x7,a[_0x22ac88(0x371)](ee)),j(0x8,a[_0x22ac88(0x3a5)]),j(0x9,a[_0x22ac88(0x4f2)]),j(0xa,a[_0x22ac88(0x4b4)]),j(0xb,a[_0x22ac88(0x43b)](de)),j(0xc,a[_0x22ac88(0x43b)](q))],exports['DocCollaborationEntity']),exports[_0x22ac88(0x248)]=class extends exports['CollaborationEntity']{constructor(_0x5d9b06,_0x49f68f,_0x1e3207,_0x1b8ddb,_0x493024,_0x1200e7,_0x43da0a,_0x214b36,_0x17290b,_0x18683a,_0x5b8a98,_0x4dddc2,_0x2c5648,_0x5866c1){var _0xa6de22=_0x22ac88;super(_0x5d9b06,_0x1e3207,_0x49f68f,_0x1b8ddb,_0x493024,_0x1200e7,_0x43da0a,_0x17290b,_0x18683a,_0x5b8a98,_0x4dddc2,_0x2c5648,_0x5866c1),this[_0xa6de22(0x281)]=_0x5d9b06,this[_0xa6de22(0x48e)]=_0x49f68f,this[_0xa6de22(0x2cc)]=_0x214b36;}[_0x22ac88(0x384)](){var _0x495975=_0x22ac88;const _0x1f341d=super[_0x495975(0x384)]();return _0x1f341d[_0x495975(0x37c)]=_0x3172bb=>this[_0x495975(0x2cc)][_0x495975(0x530)](_0x3172bb),_0x1f341d;}async[_0x22ac88(0x34a)](){var _0x129439=_0x22ac88;const _0x4916dd=await super[_0x129439(0x34a)]();return this[_0x129439(0x4cf)](this['_commandService'][_0x129439(0x325)]((_0x426be7,_0x299f9c)=>{var _0x203afd=_0x129439;if(_0x426be7['type']!==a['CommandType'][_0x203afd(0x33b)]||_0x299f9c!=null&&_0x299f9c['fromCollab']||_0x299f9c!=null&&_0x299f9c['onlyLocal'])return;const _0x148778=_0x426be7[_0x203afd(0x4c3)];if((_0x148778==null?void 0x0:_0x148778[_0x203afd(0x542)])!==this[_0x203afd(0x281)])return;const _0x5c34bd=_0x426be7,_0x5562ad=this['_compressMutationService']['interceptor'][_0x203afd(0x21e)](this['_compressMutationService'][_0x203afd(0x361)][_0x203afd(0x222)]()[_0x203afd(0x427)])([_0x5c34bd],null)||[_0x5c34bd];this['_onLocalMutation'](_0x5562ad[0x0]);})),_0x4916dd;}},exports[_0x22ac88(0x248)]=Fe([j(0x3,a[_0x22ac88(0x371)](a[_0x22ac88(0x3c3)])),j(0x4,a[_0x22ac88(0x371)](I[_0x22ac88(0x512)])),j(0x5,a[_0x22ac88(0x371)](a[_0x22ac88(0x474)])),j(0x6,a['Inject'](I[_0x22ac88(0x28e)])),j(0x7,a[_0x22ac88(0x371)](exports[_0x22ac88(0x394)])),j(0x8,a['Inject'](ee)),j(0x9,a[_0x22ac88(0x3a5)]),j(0xa,a['ICommandService']),j(0xb,a[_0x22ac88(0x4b4)]),j(0xc,a[_0x22ac88(0x43b)](de)),j(0xd,a['Optional'](q))],exports['SheetCollaborationEntity']);var Si=Object['getOwnPropertyDescriptor'],fi=(_0x5db195,_0x4f7bcb,_0x51a247,_0x5050c3)=>{var _0x52fb57=_0x22ac88;for(var _0x365071=_0x5050c3>0x1?void 0x0:_0x5050c3?Si(_0x4f7bcb,_0x51a247):_0x4f7bcb,_0x12edfb=_0x5db195[_0x52fb57(0x295)]-0x1,_0x15a791;_0x12edfb>=0x0;_0x12edfb--)(_0x15a791=_0x5db195[_0x12edfb])&&(_0x365071=_0x15a791(_0x365071)||_0x365071);return _0x365071;},Se=(_0x4e8a60,_0x3caca5)=>(_0x51eb71,_0x3965c2)=>_0x3caca5(_0x51eb71,_0x3965c2,_0x4e8a60);exports[_0x22ac88(0x48c)]=class extends a[_0x22ac88(0x434)]{constructor(_0x524df1,_0x10cd6a,_0x35400c,_0x3301ec){var _0x159404=_0x22ac88,_0x504341;super(),A(this,_0x159404(0x31a),new Map()),A(this,_0x159404(0x316),new $['Subject']()),A(this,_0x159404(0x49b),this[_0x159404(0x316)][_0x159404(0x20a)]()),(this[_0x159404(0x459)]=_0x524df1,this[_0x159404(0x2f7)]=_0x10cd6a,this[_0x159404(0x3b3)]=_0x35400c,this['_univerInstanceService']=_0x3301ec,((_0x504341=this['_configService'][_0x159404(0x324)](K))==null?void 0x0:_0x504341['enableCollaboration'])!==!0x1&&this[_0x159404(0x34a)]());}['dispose'](){var _0x432fb4=_0x22ac88;super[_0x432fb4(0x299)](),this[_0x432fb4(0x31a)][_0x432fb4(0x38e)](_0x2f5acf=>_0x2f5acf[_0x432fb4(0x299)]()),this['_entities'][_0x432fb4(0x311)]();}['getCollabEntity'](_0x36716c){var _0x420e1a=_0x22ac88,_0xd21835;return(_0xd21835=this[_0x420e1a(0x31a)][_0x420e1a(0x26d)](_0x36716c))!=null?_0xd21835:null;}[_0x22ac88(0x419)](_0x54a330){var _0x335abb=_0x22ac88;const _0x22dd46=this[_0x335abb(0x3b8)](_0x54a330);return _0x22dd46?$['of'](_0x22dd46):this[_0x335abb(0x316)][_0x335abb(0x2b2)](V['filter'](_0x515f1f=>_0x515f1f[_0x335abb(0x281)]===_0x54a330));}['readyForCollab'](_0x169566){var _0x25692f=_0x22ac88;return $['firstValueFrom'](this[_0x25692f(0x419)](_0x169566)[_0x25692f(0x2b2)](V[_0x25692f(0x3f9)](()=>{})));}[_0x22ac88(0x34a)](){var _0x4d08bc=_0x22ac88;this[_0x4d08bc(0x388)][_0x4d08bc(0x53a)](a[_0x4d08bc(0x216)][_0x4d08bc(0x403)])[_0x4d08bc(0x2b2)]($[_0x4d08bc(0x35b)](this[_0x4d08bc(0x2dc)]),V['delay'](0x10))['subscribe'](async _0x1c438f=>{var _0x1ca6eb=_0x4d08bc;const _0x15e522=_0x1c438f[_0x1ca6eb(0x263)](),_0x18b670=await this['_startCollaboration'](_0x15e522,J['UNIVER_SHEET']);this['_entities'][_0x1ca6eb(0x506)](_0x15e522,_0x18b670);}),this[_0x4d08bc(0x388)][_0x4d08bc(0x53a)](a[_0x4d08bc(0x216)][_0x4d08bc(0x3d5)])['pipe']($[_0x4d08bc(0x35b)](this[_0x4d08bc(0x2dc)]),V[_0x4d08bc(0x1f5)](0x10))['pipe'](V[_0x4d08bc(0x211)](_0x51ae03=>!_0x51ae03[_0x4d08bc(0x263)]()[_0x4d08bc(0x3a3)]('__')))[_0x4d08bc(0x382)](async _0x585aaf=>{var _0x237d56=_0x4d08bc;const _0x4b2578=_0x585aaf[_0x237d56(0x263)](),_0x5358d6=await this[_0x237d56(0x4c4)](_0x4b2578,J[_0x237d56(0x3d5)]);this[_0x237d56(0x31a)][_0x237d56(0x506)](_0x4b2578,_0x5358d6);}),$[_0x4d08bc(0x268)](this['_univerInstanceService'][_0x4d08bc(0x51d)](a[_0x4d08bc(0x216)][_0x4d08bc(0x403)]),this[_0x4d08bc(0x388)][_0x4d08bc(0x51d)](a['UniverInstanceType'][_0x4d08bc(0x3d5)]))[_0x4d08bc(0x2b2)]($[_0x4d08bc(0x35b)](this[_0x4d08bc(0x2dc)]))['subscribe'](_0x15c908=>{var _0xa283f5=_0x4d08bc;const _0x509f5c=_0x15c908[_0xa283f5(0x263)](),_0x32ac6b=this[_0xa283f5(0x31a)][_0xa283f5(0x26d)](_0x509f5c);_0x32ac6b&&(_0x32ac6b[_0xa283f5(0x299)](),this['_entities']['delete'](_0x509f5c));});}async[_0x22ac88(0x4c4)](_0x2fabf7,_0x121c1e){var _0x4d59fb=_0x22ac88;const _0x1542d8=await this[_0x4d59fb(0x2f7)]['requireSession'](_0x2fabf7),_0x1cdcec=this['_injector'][_0x4d59fb(0x515)](this[_0x4d59fb(0x278)](_0x121c1e),_0x2fabf7,_0x121c1e,_0x1542d8);return await _0x1cdcec[_0x4d59fb(0x219)](),this[_0x4d59fb(0x316)]['next'](_0x1cdcec),_0x1cdcec;}['_getCtorByUniverType'](_0xdbc0d2){var _0x227f3e=_0x22ac88;switch(_0xdbc0d2){case J['UNIVER_DOC']:return exports[_0x227f3e(0x29d)];case J[_0x227f3e(0x403)]:return exports['SheetCollaborationEntity'];default:throw new Error(_0x227f3e(0x4fe)+_0xdbc0d2);}}},exports[_0x22ac88(0x48c)]=fi([Se(0x0,a[_0x22ac88(0x371)](a[_0x22ac88(0x3c3)])),Se(0x1,a[_0x22ac88(0x371)](exports[_0x22ac88(0x4df)])),Se(0x2,a[_0x22ac88(0x389)]),Se(0x3,a[_0x22ac88(0x52c)])],exports[_0x22ac88(0x48c)]);var pi=Object['getOwnPropertyDescriptor'],Ii=(_0x54b3b7,_0x2d8b58,_0x2525a3,_0x4d7ac3)=>{for(var _0x4a1d11=_0x4d7ac3>0x1?void 0x0:_0x4d7ac3?pi(_0x2d8b58,_0x2525a3):_0x2d8b58,_0x4a07ba=_0x54b3b7['length']-0x1,_0x5b5cd5;_0x4a07ba>=0x0;_0x4a07ba--)(_0x5b5cd5=_0x54b3b7[_0x4a07ba])&&(_0x4a1d11=_0x5b5cd5(_0x4a1d11)||_0x4a1d11);return _0x4a1d11;},Ye=(_0xa37fd1,_0x114e8f)=>(_0x2169a8,_0x511e78)=>_0x114e8f(_0x2169a8,_0x511e78,_0xa37fd1);const gi=_0x22ac88(0x1f8),Ei='Univer';let xe=class extends a[_0x22ac88(0x41c)]{constructor(_0x183e24,_0x2af507){var _0x3520a0=_0x22ac88;super(),this['_univerInstanceService']=_0x183e24,this[_0x3520a0(0x3b3)]=_0x2af507,this['_init']();}[_0x22ac88(0x34a)](){var _0x1a0bb6=_0x22ac88;this[_0x1a0bb6(0x4cf)](this['_univerInstanceService'][_0x1a0bb6(0x469)][_0x1a0bb6(0x382)](()=>{var _0x21cbe3=_0x1a0bb6,_0xa3f627;const _0x1eb984=this['_univerInstanceService'][_0x21cbe3(0x2c6)]();let _0x27ce39=(_0xa3f627=this[_0x21cbe3(0x3b3)][_0x21cbe3(0x324)](gi))!=null?_0xa3f627:Ei;_0x1eb984 instanceof a['Workbook']&&(_0x27ce39=_0x1eb984[_0x21cbe3(0x508)]),document[_0x21cbe3(0x417)]=_0x27ce39;}));}};xe=Ii([Ye(0x0,a[_0x22ac88(0x52c)]),Ye(0x1,a['IConfigService'])],xe);var mi=Object[_0x22ac88(0x22c)],Ci=(_0x761874,_0x373c11,_0x1970b2,_0x545b54)=>{var _0x8b09e6=_0x22ac88;for(var _0x2f2cb9=_0x545b54>0x1?void 0x0:_0x545b54?mi(_0x373c11,_0x1970b2):_0x373c11,_0x3e727a=_0x761874[_0x8b09e6(0x295)]-0x1,_0x481d24;_0x3e727a>=0x0;_0x3e727a--)(_0x481d24=_0x761874[_0x3e727a])&&(_0x2f2cb9=_0x481d24(_0x2f2cb9)||_0x2f2cb9);return _0x2f2cb9;},Ae=(_0x478c01,_0x4f6e99)=>(_0x30ac6b,_0x16871e)=>_0x4f6e99(_0x30ac6b,_0x16871e,_0x478c01);let ye=class{constructor(_0x312352,_0x3bc86b,_0x394376){var _0x3be224=_0x22ac88;this['_configService']=_0x312352,this[_0x3be224(0x4f0)]=_0x3bc86b,this[_0x3be224(0x1f3)]=_0x394376,this[_0x3be224(0x219)]();}['init'](){var _0x5f2986=_0x22ac88;this['_httpService'][_0x5f2986(0x504)]({'priority':0x1,'interceptor':(_0x3235ee,_0x1947cf)=>_0x1947cf(_0x3235ee)[_0x5f2986(0x2b2)]($[_0x5f2986(0x50c)](async _0x4236d1=>{var _0x24003a=_0x5f2986;const _0x2fd255=_0x4236d1;if(_0x2fd255[_0x24003a(0x4c7)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x24003a(0x4e6)](this[_0x24003a(0x1f3)]['t'](_0x24003a(0x32f)))){const _0x139d42=window['encodeURIComponent'](window[_0x24003a(0x485)][_0x24003a(0x2b7)]);window['location'][_0x24003a(0x2b7)]=this[_0x24003a(0x2b8)]()+_0x24003a(0x33a)+_0x139d42;}}return _0x2fd255;}))});}[_0x22ac88(0x2b8)](){var _0x12b365=_0x22ac88,_0x31ff97,_0x41744c;const _0x16374b=this[_0x12b365(0x3b3)]['getConfig'](It),_0x157373=this['_configService'][_0x12b365(0x324)](K);return(_0x41744c=(_0x31ff97=_0x157373==null?void 0x0:_0x157373[_0x12b365(0x4c9)])!=null?_0x31ff97:_0x16374b)!=null?_0x41744c:Wt;}};ye=Ci([Ae(0x0,a[_0x22ac88(0x389)]),Ae(0x1,a['Inject'](Y[_0x22ac88(0x2e3)])),Ae(0x2,a[_0x22ac88(0x371)](a[_0x22ac88(0x474)]))],ye);var Ti=Object[_0x22ac88(0x22c)],bi=(_0x1fb6a4,_0x5188a1,_0x4446a9,_0xe9a382)=>{var _0xd3149=_0x22ac88;for(var _0x51ddbe=_0xe9a382>0x1?void 0x0:_0xe9a382?Ti(_0x5188a1,_0x4446a9):_0x5188a1,_0xa408a2=_0x1fb6a4[_0xd3149(0x295)]-0x1,_0x4db421;_0xa408a2>=0x0;_0xa408a2--)(_0x4db421=_0x1fb6a4[_0xa408a2])&&(_0x51ddbe=_0x4db421(_0x51ddbe)||_0x51ddbe);return _0x51ddbe;},qe=(_0x24c234,_0x54c3fb)=>(_0x552daf,_0x231104)=>_0x54c3fb(_0x552daf,_0x231104,_0x24c234);const Ve=_0x22ac88(0x41e),Ri=_0x22ac88(0x2ba);exports[_0x22ac88(0x29e)]=class extends a[_0x22ac88(0x41c)]{constructor(_0x4a29d9,_0x39e239){var _0x1391df=_0x22ac88;super(),this['_HTTPService']=_0x4a29d9,this[_0x1391df(0x3b3)]=_0x39e239,this[_0x1391df(0x362)]();}[_0x22ac88(0x362)](){var _0x585da8=_0x22ac88;const _0x31418d=this;this[_0x585da8(0x4cf)](this[_0x585da8(0x266)][_0x585da8(0x504)]({'priority':0x3e7,'interceptor':Y[_0x585da8(0x443)]({'isMatch'(_0x1c36d8){var _0x137e5b=_0x585da8,_0xc3f307;if(_0x1c36d8[_0x137e5b(0x204)]==='POST'&&((_0xc3f307=_0x1c36d8[_0x137e5b(0x3d0)])!=null&&_0xc3f307[_0x137e5b(0x3dd)])){const {objectID:_0x240326,objectType:_0x1a6d4e}=_0x1c36d8[_0x137e5b(0x3d0)][_0x137e5b(0x3dd)]||{};if(!_0x240326||_0x1a6d4e===void 0x0)return!0x1;const _0x347b11=_0x31418d[_0x137e5b(0x462)]()+'/'+_0x1a6d4e+'/object/'+_0x240326+'/allowed';if(_0x1c36d8[_0x137e5b(0x39c)]===_0x347b11)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x38d05e){var _0x5eacb3=_0x585da8,_0x509188;return(_0x509188=_0x38d05e[_0x5eacb3(0x3d0)])==null?void 0x0:_0x509188[_0x5eacb3(0x3dd)];},'mergeParamsToRequest'(_0x1fcb7b,_0xb6973a){var _0x2b18d5=_0x585da8;const _0x2693e6=_0x31418d['_getAPIPrefixPath']()+_0x2b18d5(0x331),_0x216ec8=_0x1fcb7b['reduce']((_0x3a0c22,_0x31a51f)=>{var _0x38b103=_0x2b18d5;const {unitID:_0x58a432,objectID:_0x5585c2,objectType:_0x4d709d,actions:_0x5a4bac}=_0x31a51f;return _0x3a0c22[_0x58a432]||(_0x3a0c22[_0x58a432]={}),_0x3a0c22[_0x58a432][_0x5585c2]||(_0x3a0c22[_0x58a432][_0x5585c2]={'objectID':_0x5585c2,'objectType':_0x4d709d,'actions':[]}),_0x3a0c22[_0x58a432][_0x5585c2][_0x38b103(0x494)][_0x38b103(0x4a2)](..._0x5a4bac),_0x3a0c22;},{}),_0x18b939=[];for(const _0x3e2994 in _0x216ec8)for(const _0x2f81de in _0x216ec8[_0x3e2994]){const {actions:_0xf571e3,objectType:_0xb34489}=_0x216ec8[_0x3e2994][_0x2f81de],_0x285ba4=[...new Set(_0xf571e3)];_0x18b939[_0x2b18d5(0x4a2)]({'unitID':_0x3e2994,'objectID':_0x2f81de,'objectType':_0xb34489,'actions':_0x285ba4});}return new Y[(_0x2b18d5(0x3d4))](_0x2b18d5(0x4dd),_0x2693e6,{'headers':_0xb6973a[_0x2b18d5(0x455)],'withCredentials':_0xb6973a['withCredentials'],'responseType':_0xb6973a['responseType'],'body':{'requests':_0x18b939}});}},{'distributeResult'(_0x3fc85c,_0x53f5fc){const {objectActions:_0x3917a1}=_0x3fc85c;return _0x53f5fc['map'](_0x12c166=>{var _0x31d08c=_0xfcb9;const {unitID:_0x27bba6,objectID:_0x114dec,actions:_0x3778bf}=_0x12c166,_0x24c909=_0x3917a1['find'](_0x2490e1=>_0x2490e1[_0x31d08c(0x281)]===_0x27bba6&&_0x2490e1[_0x31d08c(0x439)]===_0x114dec),_0x4f8de4=_0x3778bf[_0x31d08c(0x3f9)](_0x576386=>_0x24c909==null?void 0x0:_0x24c909[_0x31d08c(0x494)][_0x31d08c(0x3c9)](_0x3b6cde=>_0x3b6cde[_0x31d08c(0x26b)]===_0x576386))[_0x31d08c(0x211)](_0x4c46e8=>!!_0x4c46e8);return{'config':_0x12c166,'result':{'actions':_0x4f8de4,'error':_0x3fc85c[_0x31d08c(0x424)]}};});}})}));}[_0x22ac88(0x462)](){var _0x490b46=_0x22ac88,_0x564ace,_0x2d0c5b;const _0x2f9e8f=this[_0x490b46(0x3b3)]['getConfig'](Ve),_0x3658e1=this['_configService'][_0x490b46(0x324)](K);return(_0x2d0c5b=(_0x564ace=_0x3658e1==null?void 0x0:_0x3658e1[_0x490b46(0x247)])!=null?_0x564ace:_0x2f9e8f)!=null?_0x2d0c5b:Ri;}async[_0x22ac88(0x433)](_0x4b8b14){var _0x7108db=_0x22ac88;const _0x3b4ad6=this[_0x7108db(0x462)]()+'/'+_0x4b8b14[_0x7108db(0x4cb)]+'/object';return(await this[_0x7108db(0x266)][_0x7108db(0x4c1)](_0x3b4ad6,{'body':_0x4b8b14}))[_0x7108db(0x3dd)][_0x7108db(0x439)]||'';}async[_0x22ac88(0x233)](_0x393444){var _0x388946=_0x22ac88;const _0x546e53=this[_0x388946(0x462)]()+_0x388946(0x37e);return(await this[_0x388946(0x266)][_0x388946(0x4c1)](_0x546e53,{'body':_0x393444}))[_0x388946(0x3dd)][_0x388946(0x3c5)];}async[_0x22ac88(0x484)](_0x5aad3d){var _0x307b79=_0x22ac88,_0x30fb2b,_0x1d5b37;const _0x4e87f4=this[_0x307b79(0x462)]()+'/'+_0x5aad3d['objectType']+_0x307b79(0x442)+_0x5aad3d['objectID'],_0x4af6c4=await this[_0x307b79(0x266)][_0x307b79(0x249)](_0x4e87f4,{'body':_0x5aad3d});if(((_0x1d5b37=(_0x30fb2b=_0x4af6c4==null?void 0x0:_0x4af6c4[_0x307b79(0x3dd)])==null?void 0x0:_0x30fb2b[_0x307b79(0x424)])==null?void 0x0:_0x1d5b37[_0x307b79(0x48d)])!==0x1)throw new Error(_0x307b79(0x27f));}async[_0x22ac88(0x44b)](_0x2295db){var _0x26e044=_0x22ac88;const _0x2cc35e=this['_getAPIPrefixPath']()+'/'+_0x2295db[_0x26e044(0x4cb)]+_0x26e044(0x442)+_0x2295db['objectID']+_0x26e044(0x390);return(await this['_HTTPService'][_0x26e044(0x4c1)](_0x2cc35e,{'body':_0x2295db}))[_0x26e044(0x3dd)][_0x26e044(0x494)];}async[_0x22ac88(0x2ee)](_0x21a135){var _0x5cd8e6=_0x22ac88;const _0x59ad18=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x5cd8e6(0x266)][_0x5cd8e6(0x4c1)](_0x59ad18,{'body':{'requests':_0x21a135}}))[_0x5cd8e6(0x3dd)][_0x5cd8e6(0x4d3)];}async[_0x22ac88(0x43f)](_0x367202){var _0x1015b3=_0x22ac88;const _0x1d5368=this[_0x1015b3(0x462)]()+'/'+_0x367202[_0x1015b3(0x4cb)]+_0x1015b3(0x2bf),_0x3e8986=await this[_0x1015b3(0x266)][_0x1015b3(0x4c1)](_0x1d5368,{'body':_0x367202});return{'roles':_0x3e8986[_0x1015b3(0x3dd)]['roles'],'actions':_0x3e8986['body'][_0x1015b3(0x494)]};}async['deleteCollaborator'](_0x5b250c){var _0x502191=_0x22ac88;const _0x3d96e7=this[_0x502191(0x462)]()+_0x502191(0x37d);await this[_0x502191(0x266)][_0x502191(0x29c)](_0x3d96e7,{'params':{'collaboratorID':_0x5b250c[_0x502191(0x3b2)],'objectID':_0x5b250c[_0x502191(0x439)],'unitID':_0x5b250c['unitID']}});}async['updateCollaborator'](_0xd75996){var _0x4f5745=_0x22ac88;const _0x3323f6=this[_0x4f5745(0x462)]()+'/collaborator';await this['_HTTPService'][_0x4f5745(0x535)](_0x3323f6,{'body':_0xd75996});}async[_0x22ac88(0x409)](_0xe9b4db){var _0x2a7281=_0x22ac88;const _0x30099e=this['_getAPIPrefixPath']()+_0x2a7281(0x37d);await this[_0x2a7281(0x266)][_0x2a7281(0x4c1)](_0x30099e,{'body':_0xe9b4db});}async[_0x22ac88(0x1ff)](_0xa5530f){var _0x5732f5=_0x22ac88;const _0xaa2899=this[_0x5732f5(0x462)]()+_0x5732f5(0x37d);return(await this[_0x5732f5(0x266)][_0x5732f5(0x26d)](_0xaa2899,{'params':{'objectID':_0xa5530f['objectID'],'unitID':_0xa5530f['unitID']}}))[_0x5732f5(0x3dd)][_0x5732f5(0x4f4)];}async['putCollaborators'](_0x2ebaca){var _0x183810=_0x22ac88;const _0x4efe87=this[_0x183810(0x462)]()+_0x183810(0x37d);await this[_0x183810(0x266)][_0x183810(0x249)](_0x4efe87,{'body':_0x2ebaca});}},exports[_0x22ac88(0x29e)]=bi([qe(0x0,a[_0x22ac88(0x371)](Y[_0x22ac88(0x2e3)])),qe(0x1,a['Inject'](a[_0x22ac88(0x389)]))],exports['AuthzIoHttpService']);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x3432c3){var _0xbbe5d6=_0x22ac88;return _0x3432c3&&_0x3432c3[_0xbbe5d6(0x379)]&&Object[_0xbbe5d6(0x359)][_0xbbe5d6(0x258)]['call'](_0x3432c3,'default')?_0x3432c3[_0xbbe5d6(0x3ce)]:_0x3432c3;}var fe={'exports':{}};function Oi(_0x463940){var _0x1a6c64=_0x22ac88;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x463940+_0x1a6c64(0x24e));}var pe={'exports':{}},yi=pe['exports'],ze;function Q(){var _0x5914bc=_0x22ac88;return ze||(ze=0x1,function(_0x26e2b3,_0x54b4a5){(function(_0x3a365b,_0x28736c){var _0x473b6a=_0xfcb9;_0x26e2b3[_0x473b6a(0x401)]=_0x28736c();}(yi,function(){var _0x5e9534=_0x5e9534||function(_0x26f82d,_0x23e673){var _0x1d29ed=_0xfcb9,_0x4a4fed;if(typeof window<'u'&&window[_0x1d29ed(0x3eb)]&&(_0x4a4fed=window[_0x1d29ed(0x3eb)]),typeof self<'u'&&self[_0x1d29ed(0x3eb)]&&(_0x4a4fed=self['crypto']),typeof globalThis<'u'&&globalThis[_0x1d29ed(0x3eb)]&&(_0x4a4fed=globalThis[_0x1d29ed(0x3eb)]),!_0x4a4fed&&typeof window<'u'&&window[_0x1d29ed(0x4af)]&&(_0x4a4fed=window[_0x1d29ed(0x4af)]),!_0x4a4fed&&typeof Pe<'u'&&Pe[_0x1d29ed(0x3eb)]&&(_0x4a4fed=Pe[_0x1d29ed(0x3eb)]),!_0x4a4fed&&typeof Oi==_0x1d29ed(0x1e5))try{_0x4a4fed=require(_0x1d29ed(0x3eb));}catch{}var _0x2764ae=function(){var _0x370b38=_0x1d29ed;if(_0x4a4fed){if(typeof _0x4a4fed['getRandomValues']=='function')try{return _0x4a4fed[_0x370b38(0x4e4)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4a4fed[_0x370b38(0x528)]==_0x370b38(0x1e5))try{return _0x4a4fed[_0x370b38(0x528)](0x4)[_0x370b38(0x29b)]();}catch{}}throw new Error(_0x370b38(0x356));},_0x481184=Object[_0x1d29ed(0x433)]||(function(){function _0x3ede56(){}return function(_0xf1bb55){var _0x1fd604=_0xfcb9,_0x25341f;return _0x3ede56[_0x1fd604(0x359)]=_0xf1bb55,_0x25341f=new _0x3ede56(),_0x3ede56[_0x1fd604(0x359)]=null,_0x25341f;};}()),_0x1934a9={},_0x36bd00=_0x1934a9['lib']={},_0x21a515=_0x36bd00[_0x1d29ed(0x3a1)]=(function(){return{'extend':function(_0x33129a){var _0xf05d18=_0xfcb9,_0x3d60fb=_0x481184(this);return _0x33129a&&_0x3d60fb[_0xf05d18(0x35c)](_0x33129a),(!_0x3d60fb[_0xf05d18(0x258)](_0xf05d18(0x219))||this['init']===_0x3d60fb[_0xf05d18(0x219)])&&(_0x3d60fb[_0xf05d18(0x219)]=function(){var _0x73515f=_0xf05d18;_0x3d60fb['$super'][_0x73515f(0x219)][_0x73515f(0x2d6)](this,arguments);}),_0x3d60fb['init'][_0xf05d18(0x359)]=_0x3d60fb,_0x3d60fb['$super']=this,_0x3d60fb;},'create':function(){var _0x1a8ddc=_0xfcb9,_0x823d92=this[_0x1a8ddc(0x2be)]();return _0x823d92[_0x1a8ddc(0x219)]['apply'](_0x823d92,arguments),_0x823d92;},'init':function(){},'mixIn':function(_0x124716){var _0x5899e1=_0xfcb9;for(var _0x37ae53 in _0x124716)_0x124716[_0x5899e1(0x258)](_0x37ae53)&&(this[_0x37ae53]=_0x124716[_0x37ae53]);_0x124716[_0x5899e1(0x258)](_0x5899e1(0x1d2))&&(this['toString']=_0x124716['toString']);},'clone':function(){var _0x58cb41=_0xfcb9;return this[_0x58cb41(0x219)][_0x58cb41(0x359)][_0x58cb41(0x2be)](this);}};}()),_0x1399d8=_0x36bd00[_0x1d29ed(0x28c)]=_0x21a515[_0x1d29ed(0x2be)]({'init':function(_0x1ac155,_0x41b98f){var _0x43d0c1=_0x1d29ed;_0x1ac155=this[_0x43d0c1(0x50b)]=_0x1ac155||[],_0x41b98f!=_0x23e673?this[_0x43d0c1(0x2c0)]=_0x41b98f:this[_0x43d0c1(0x2c0)]=_0x1ac155[_0x43d0c1(0x295)]*0x4;},'toString':function(_0x4c64fe){var _0x42dbb4=_0x1d29ed;return(_0x4c64fe||_0xcc6bd7)[_0x42dbb4(0x3d1)](this);},'concat':function(_0x338bff){var _0x1995ca=_0x1d29ed,_0x3a4995=this['words'],_0x4c4d42=_0x338bff[_0x1995ca(0x50b)],_0x369565=this[_0x1995ca(0x2c0)],_0x31916b=_0x338bff[_0x1995ca(0x2c0)];if(this[_0x1995ca(0x3c0)](),_0x369565%0x4)for(var _0x1b06cb=0x0;_0x1b06cb<_0x31916b;_0x1b06cb++){var _0xf6680b=_0x4c4d42[_0x1b06cb>>>0x2]>>>0x18-_0x1b06cb%0x4*0x8&0xff;_0x3a4995[_0x369565+_0x1b06cb>>>0x2]|=_0xf6680b<<0x18-(_0x369565+_0x1b06cb)%0x4*0x8;}else{for(var _0x3a9a10=0x0;_0x3a9a10<_0x31916b;_0x3a9a10+=0x4)_0x3a4995[_0x369565+_0x3a9a10>>>0x2]=_0x4c4d42[_0x3a9a10>>>0x2];}return this[_0x1995ca(0x2c0)]+=_0x31916b,this;},'clamp':function(){var _0x4b545c=_0x1d29ed,_0xe0e89e=this['words'],_0x34772b=this[_0x4b545c(0x2c0)];_0xe0e89e[_0x34772b>>>0x2]&=0xffffffff<<0x20-_0x34772b%0x4*0x8,_0xe0e89e[_0x4b545c(0x295)]=_0x26f82d['ceil'](_0x34772b/0x4);},'clone':function(){var _0x4bd7e9=_0x1d29ed,_0x2c0c34=_0x21a515[_0x4bd7e9(0x28f)]['call'](this);return _0x2c0c34[_0x4bd7e9(0x50b)]=this[_0x4bd7e9(0x50b)]['slice'](0x0),_0x2c0c34;},'random':function(_0x20302e){var _0x1b2a97=_0x1d29ed;for(var _0x1b1ab4=[],_0x1f83a3=0x0;_0x1f83a3<_0x20302e;_0x1f83a3+=0x4)_0x1b1ab4[_0x1b2a97(0x4a2)](_0x2764ae());return new _0x1399d8[(_0x1b2a97(0x219))](_0x1b1ab4,_0x20302e);}}),_0x3417fd=_0x1934a9[_0x1d29ed(0x44d)]={},_0xcc6bd7=_0x3417fd[_0x1d29ed(0x460)]={'stringify':function(_0x15d4de){var _0x429b7d=_0x1d29ed;for(var _0x47ca2a=_0x15d4de['words'],_0xb8ac2f=_0x15d4de['sigBytes'],_0x27b01c=[],_0x4a2688=0x0;_0x4a2688<_0xb8ac2f;_0x4a2688++){var _0x211067=_0x47ca2a[_0x4a2688>>>0x2]>>>0x18-_0x4a2688%0x4*0x8&0xff;_0x27b01c[_0x429b7d(0x4a2)]((_0x211067>>>0x4)[_0x429b7d(0x1d2)](0x10)),_0x27b01c[_0x429b7d(0x4a2)]((_0x211067&0xf)[_0x429b7d(0x1d2)](0x10));}return _0x27b01c[_0x429b7d(0x264)]('');},'parse':function(_0x863d87){var _0x1bc253=_0x1d29ed;for(var _0x5cdd51=_0x863d87['length'],_0x170e5a=[],_0x55deab=0x0;_0x55deab<_0x5cdd51;_0x55deab+=0x2)_0x170e5a[_0x55deab>>>0x3]|=parseInt(_0x863d87['substr'](_0x55deab,0x2),0x10)<<0x18-_0x55deab%0x8*0x4;return new _0x1399d8[(_0x1bc253(0x219))](_0x170e5a,_0x5cdd51/0x2);}},_0xa41f5b=_0x3417fd[_0x1d29ed(0x302)]={'stringify':function(_0x2c1a0d){var _0x4ffe30=_0x1d29ed;for(var _0x43351d=_0x2c1a0d[_0x4ffe30(0x50b)],_0xc9950=_0x2c1a0d[_0x4ffe30(0x2c0)],_0x147238=[],_0x5c20d9=0x0;_0x5c20d9<_0xc9950;_0x5c20d9++){var _0x1422b1=_0x43351d[_0x5c20d9>>>0x2]>>>0x18-_0x5c20d9%0x4*0x8&0xff;_0x147238['push'](String[_0x4ffe30(0x284)](_0x1422b1));}return _0x147238[_0x4ffe30(0x264)]('');},'parse':function(_0xb28260){var _0x3a8a06=_0x1d29ed;for(var _0xdee67a=_0xb28260[_0x3a8a06(0x295)],_0x11b234=[],_0x1b0702=0x0;_0x1b0702<_0xdee67a;_0x1b0702++)_0x11b234[_0x1b0702>>>0x2]|=(_0xb28260['charCodeAt'](_0x1b0702)&0xff)<<0x18-_0x1b0702%0x4*0x8;return new _0x1399d8[(_0x3a8a06(0x219))](_0x11b234,_0xdee67a);}},_0x502101=_0x3417fd['Utf8']={'stringify':function(_0x263a90){var _0x1439e1=_0x1d29ed;try{return decodeURIComponent(escape(_0xa41f5b[_0x1439e1(0x3d1)](_0x263a90)));}catch{throw new Error(_0x1439e1(0x3c1));}},'parse':function(_0x371c8f){var _0x218b7a=_0x1d29ed;return _0xa41f5b[_0x218b7a(0x3da)](unescape(encodeURIComponent(_0x371c8f)));}},_0x37bad2=_0x36bd00[_0x1d29ed(0x2d5)]=_0x21a515[_0x1d29ed(0x2be)]({'reset':function(){var _0x570a11=_0x1d29ed;this['_data']=new _0x1399d8[(_0x570a11(0x219))](),this[_0x570a11(0x386)]=0x0;},'_append':function(_0x581d96){var _0x237a38=_0x1d29ed;typeof _0x581d96==_0x237a38(0x2ef)&&(_0x581d96=_0x502101[_0x237a38(0x3da)](_0x581d96)),this[_0x237a38(0x2e5)][_0x237a38(0x280)](_0x581d96),this[_0x237a38(0x386)]+=_0x581d96[_0x237a38(0x2c0)];},'_process':function(_0x3f159a){var _0x292070=_0x1d29ed,_0x5be052,_0x74c73a=this['_data'],_0x289c07=_0x74c73a[_0x292070(0x50b)],_0x4b15dc=_0x74c73a[_0x292070(0x2c0)],_0x2dd3d5=this['blockSize'],_0x14fe38=_0x2dd3d5*0x4,_0x2e66a4=_0x4b15dc/_0x14fe38;_0x3f159a?_0x2e66a4=_0x26f82d[_0x292070(0x476)](_0x2e66a4):_0x2e66a4=_0x26f82d[_0x292070(0x20c)]((_0x2e66a4|0x0)-this[_0x292070(0x360)],0x0);var _0x20c0e1=_0x2e66a4*_0x2dd3d5,_0x4df404=_0x26f82d['min'](_0x20c0e1*0x4,_0x4b15dc);if(_0x20c0e1){for(var _0x481f41=0x0;_0x481f41<_0x20c0e1;_0x481f41+=_0x2dd3d5)this[_0x292070(0x4b7)](_0x289c07,_0x481f41);_0x5be052=_0x289c07[_0x292070(0x2ab)](0x0,_0x20c0e1),_0x74c73a[_0x292070(0x2c0)]-=_0x4df404;}return new _0x1399d8[(_0x292070(0x219))](_0x5be052,_0x4df404);},'clone':function(){var _0x45221a=_0x1d29ed,_0x17ea7d=_0x21a515['clone'][_0x45221a(0x27d)](this);return _0x17ea7d[_0x45221a(0x2e5)]=this[_0x45221a(0x2e5)][_0x45221a(0x28f)](),_0x17ea7d;},'_minBufferSize':0x0});_0x36bd00['Hasher']=_0x37bad2[_0x1d29ed(0x2be)]({'cfg':_0x21a515['extend'](),'init':function(_0x530c49){var _0x344406=_0x1d29ed;this['cfg']=this[_0x344406(0x456)][_0x344406(0x2be)](_0x530c49),this[_0x344406(0x540)]();},'reset':function(){var _0x312fe1=_0x1d29ed;_0x37bad2['reset'][_0x312fe1(0x27d)](this),this['_doReset']();},'update':function(_0x3137a4){var _0x5dd013=_0x1d29ed;return this[_0x5dd013(0x4b1)](_0x3137a4),this[_0x5dd013(0x1e7)](),this;},'finalize':function(_0x437fb8){var _0x22e096=_0x1d29ed;_0x437fb8&&this[_0x22e096(0x4b1)](_0x437fb8);var _0x32c0bb=this[_0x22e096(0x373)]();return _0x32c0bb;},'blockSize':0x10,'_createHelper':function(_0x4a4536){return function(_0x101615,_0x4467d){var _0x36d660=_0xfcb9;return new _0x4a4536['init'](_0x4467d)[_0x36d660(0x3ff)](_0x101615);};},'_createHmacHelper':function(_0x38b10a){return function(_0xa10636,_0x10f558){var _0x30a157=_0xfcb9;return new _0x5a99bb['HMAC'][(_0x30a157(0x219))](_0x38b10a,_0x10f558)[_0x30a157(0x3ff)](_0xa10636);};}});var _0x5a99bb=_0x1934a9[_0x1d29ed(0x4cc)]={};return _0x1934a9;}(Math);return _0x5e9534;}));}(pe)),pe[_0x5914bc(0x401)];}var Ie={'exports':{}},Ni=Ie[_0x22ac88(0x401)],Je;function yt(){var _0x43631b=_0x22ac88;return Je||(Je=0x1,function(_0x190c82,_0x49f09c){(function(_0x5e654b,_0x4ccd51){var _0x317d3f=_0xfcb9;_0x190c82[_0x317d3f(0x401)]=_0x4ccd51(Q());}(Ni,function(_0x1feeba){var _0x25b503=_0xfcb9;return(function(){var _0x5a46d5=_0xfcb9,_0x1a998e=_0x1feeba,_0x4c005a=_0x1a998e[_0x5a46d5(0x27a)],_0xab980b=_0x4c005a[_0x5a46d5(0x28c)],_0x5e6837=_0x1a998e[_0x5a46d5(0x44d)];_0x5e6837[_0x5a46d5(0x4f6)]={'stringify':function(_0x5e232a){var _0x32ad7e=_0x5a46d5,_0x5c5968=_0x5e232a[_0x32ad7e(0x50b)],_0x9ac316=_0x5e232a[_0x32ad7e(0x2c0)],_0x301d65=this[_0x32ad7e(0x2e0)];_0x5e232a[_0x32ad7e(0x3c0)]();for(var _0x1d9686=[],_0x10079d=0x0;_0x10079d<_0x9ac316;_0x10079d+=0x3)for(var _0x477558=_0x5c5968[_0x10079d>>>0x2]>>>0x18-_0x10079d%0x4*0x8&0xff,_0x2fc59f=_0x5c5968[_0x10079d+0x1>>>0x2]>>>0x18-(_0x10079d+0x1)%0x4*0x8&0xff,_0x46716f=_0x5c5968[_0x10079d+0x2>>>0x2]>>>0x18-(_0x10079d+0x2)%0x4*0x8&0xff,_0x53e826=_0x477558<<0x10|_0x2fc59f<<0x8|_0x46716f,_0x228d77=0x0;_0x228d77<0x4&&_0x10079d+_0x228d77*0.75<_0x9ac316;_0x228d77++)_0x1d9686[_0x32ad7e(0x4a2)](_0x301d65[_0x32ad7e(0x2fa)](_0x53e826>>>0x6*(0x3-_0x228d77)&0x3f));var _0x419388=_0x301d65['charAt'](0x40);if(_0x419388){for(;_0x1d9686[_0x32ad7e(0x295)]%0x4;)_0x1d9686['push'](_0x419388);}return _0x1d9686[_0x32ad7e(0x264)]('');},'parse':function(_0x3bd649){var _0x510732=_0x5a46d5,_0x40aaf2=_0x3bd649[_0x510732(0x295)],_0x2e87c3=this[_0x510732(0x2e0)],_0x49fa97=this[_0x510732(0x2c5)];if(!_0x49fa97){_0x49fa97=this[_0x510732(0x2c5)]=[];for(var _0x2e5b67=0x0;_0x2e5b67<_0x2e87c3['length'];_0x2e5b67++)_0x49fa97[_0x2e87c3[_0x510732(0x241)](_0x2e5b67)]=_0x2e5b67;}var _0x1b0e85=_0x2e87c3['charAt'](0x40);if(_0x1b0e85){var _0x4ce69c=_0x3bd649[_0x510732(0x425)](_0x1b0e85);_0x4ce69c!==-0x1&&(_0x40aaf2=_0x4ce69c);}return _0x12fbd8(_0x3bd649,_0x40aaf2,_0x49fa97);},'_map':_0x5a46d5(0x210)};function _0x12fbd8(_0xff1f7f,_0x1acfec,_0x740b8d){var _0x4f9f94=_0x5a46d5;for(var _0x5d1753=[],_0x3c2f9e=0x0,_0x5d073e=0x0;_0x5d073e<_0x1acfec;_0x5d073e++)if(_0x5d073e%0x4){var _0x3185d9=_0x740b8d[_0xff1f7f['charCodeAt'](_0x5d073e-0x1)]<<_0x5d073e%0x4*0x2,_0x316265=_0x740b8d[_0xff1f7f[_0x4f9f94(0x241)](_0x5d073e)]>>>0x6-_0x5d073e%0x4*0x2,_0x3f2e64=_0x3185d9|_0x316265;_0x5d1753[_0x3c2f9e>>>0x2]|=_0x3f2e64<<0x18-_0x3c2f9e%0x4*0x8,_0x3c2f9e++;}return _0xab980b[_0x4f9f94(0x433)](_0x5d1753,_0x3c2f9e);}}()),_0x1feeba[_0x25b503(0x44d)][_0x25b503(0x4f6)];}));}(Ie)),Ie[_0x43631b(0x401)];}var ge={'exports':{}},Ui=ge[_0x22ac88(0x401)],Xe;function Di(){var _0x46e019=_0x22ac88;return Xe||(Xe=0x1,function(_0x3763e1,_0x3cdc0d){(function(_0x2daf74,_0x4d105a){var _0x305e93=_0xfcb9;_0x3763e1[_0x305e93(0x401)]=_0x4d105a(Q());}(Ui,function(_0x34ad12){var _0x4743be=_0xfcb9;return function(_0x4ff458){var _0x654ebc=_0xfcb9,_0x4cac34=_0x34ad12,_0x383c88=_0x4cac34[_0x654ebc(0x27a)],_0x10e8ac=_0x383c88['WordArray'],_0x425cd3=_0x383c88[_0x654ebc(0x3ef)],_0x40f582=_0x4cac34[_0x654ebc(0x4cc)],_0x50bf16=[];(function(){var _0x5e22db=_0x654ebc;for(var _0x457f77=0x0;_0x457f77<0x40;_0x457f77++)_0x50bf16[_0x457f77]=_0x4ff458['abs'](_0x4ff458[_0x5e22db(0x50e)](_0x457f77+0x1))*0x100000000|0x0;}());var _0x122464=_0x40f582['MD5']=_0x425cd3['extend']({'_doReset':function(){var _0x291afe=_0x654ebc;this[_0x291afe(0x46c)]=new _0x10e8ac[(_0x291afe(0x219))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x11d8c2,_0xe7a2e7){var _0x1f3b25=_0x654ebc;for(var _0x10785a=0x0;_0x10785a<0x10;_0x10785a++){var _0x4a6668=_0xe7a2e7+_0x10785a,_0x404a2e=_0x11d8c2[_0x4a6668];_0x11d8c2[_0x4a6668]=(_0x404a2e<<0x8|_0x404a2e>>>0x18)&0xff00ff|(_0x404a2e<<0x18|_0x404a2e>>>0x8)&0xff00ff00;}var _0x208e59=this['_hash'][_0x1f3b25(0x50b)],_0x35c039=_0x11d8c2[_0xe7a2e7+0x0],_0xc05694=_0x11d8c2[_0xe7a2e7+0x1],_0x5e2006=_0x11d8c2[_0xe7a2e7+0x2],_0xdcb498=_0x11d8c2[_0xe7a2e7+0x3],_0x8148bb=_0x11d8c2[_0xe7a2e7+0x4],_0x237c72=_0x11d8c2[_0xe7a2e7+0x5],_0x25694a=_0x11d8c2[_0xe7a2e7+0x6],_0xc8d8f3=_0x11d8c2[_0xe7a2e7+0x7],_0x13437b=_0x11d8c2[_0xe7a2e7+0x8],_0x175614=_0x11d8c2[_0xe7a2e7+0x9],_0x102f06=_0x11d8c2[_0xe7a2e7+0xa],_0x35edec=_0x11d8c2[_0xe7a2e7+0xb],_0x54e198=_0x11d8c2[_0xe7a2e7+0xc],_0x4edd46=_0x11d8c2[_0xe7a2e7+0xd],_0x29ad84=_0x11d8c2[_0xe7a2e7+0xe],_0x5c5c85=_0x11d8c2[_0xe7a2e7+0xf],_0x1a9295=_0x208e59[0x0],_0xd6eb24=_0x208e59[0x1],_0x5b79ad=_0x208e59[0x2],_0x495f7d=_0x208e59[0x3];_0x1a9295=_0x570410(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0x35c039,0x7,_0x50bf16[0x0]),_0x495f7d=_0x570410(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0xc05694,0xc,_0x50bf16[0x1]),_0x5b79ad=_0x570410(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0x5e2006,0x11,_0x50bf16[0x2]),_0xd6eb24=_0x570410(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0xdcb498,0x16,_0x50bf16[0x3]),_0x1a9295=_0x570410(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0x8148bb,0x7,_0x50bf16[0x4]),_0x495f7d=_0x570410(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0x237c72,0xc,_0x50bf16[0x5]),_0x5b79ad=_0x570410(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0x25694a,0x11,_0x50bf16[0x6]),_0xd6eb24=_0x570410(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0xc8d8f3,0x16,_0x50bf16[0x7]),_0x1a9295=_0x570410(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0x13437b,0x7,_0x50bf16[0x8]),_0x495f7d=_0x570410(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0x175614,0xc,_0x50bf16[0x9]),_0x5b79ad=_0x570410(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0x102f06,0x11,_0x50bf16[0xa]),_0xd6eb24=_0x570410(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0x35edec,0x16,_0x50bf16[0xb]),_0x1a9295=_0x570410(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0x54e198,0x7,_0x50bf16[0xc]),_0x495f7d=_0x570410(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0x4edd46,0xc,_0x50bf16[0xd]),_0x5b79ad=_0x570410(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0x29ad84,0x11,_0x50bf16[0xe]),_0xd6eb24=_0x570410(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0x5c5c85,0x16,_0x50bf16[0xf]),_0x1a9295=_0x1e633b(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0xc05694,0x5,_0x50bf16[0x10]),_0x495f7d=_0x1e633b(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0x25694a,0x9,_0x50bf16[0x11]),_0x5b79ad=_0x1e633b(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0x35edec,0xe,_0x50bf16[0x12]),_0xd6eb24=_0x1e633b(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0x35c039,0x14,_0x50bf16[0x13]),_0x1a9295=_0x1e633b(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0x237c72,0x5,_0x50bf16[0x14]),_0x495f7d=_0x1e633b(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0x102f06,0x9,_0x50bf16[0x15]),_0x5b79ad=_0x1e633b(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0x5c5c85,0xe,_0x50bf16[0x16]),_0xd6eb24=_0x1e633b(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0x8148bb,0x14,_0x50bf16[0x17]),_0x1a9295=_0x1e633b(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0x175614,0x5,_0x50bf16[0x18]),_0x495f7d=_0x1e633b(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0x29ad84,0x9,_0x50bf16[0x19]),_0x5b79ad=_0x1e633b(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0xdcb498,0xe,_0x50bf16[0x1a]),_0xd6eb24=_0x1e633b(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0x13437b,0x14,_0x50bf16[0x1b]),_0x1a9295=_0x1e633b(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0x4edd46,0x5,_0x50bf16[0x1c]),_0x495f7d=_0x1e633b(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0x5e2006,0x9,_0x50bf16[0x1d]),_0x5b79ad=_0x1e633b(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0xc8d8f3,0xe,_0x50bf16[0x1e]),_0xd6eb24=_0x1e633b(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0x54e198,0x14,_0x50bf16[0x1f]),_0x1a9295=_0x40add6(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0x237c72,0x4,_0x50bf16[0x20]),_0x495f7d=_0x40add6(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0x13437b,0xb,_0x50bf16[0x21]),_0x5b79ad=_0x40add6(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0x35edec,0x10,_0x50bf16[0x22]),_0xd6eb24=_0x40add6(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0x29ad84,0x17,_0x50bf16[0x23]),_0x1a9295=_0x40add6(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0xc05694,0x4,_0x50bf16[0x24]),_0x495f7d=_0x40add6(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0x8148bb,0xb,_0x50bf16[0x25]),_0x5b79ad=_0x40add6(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0xc8d8f3,0x10,_0x50bf16[0x26]),_0xd6eb24=_0x40add6(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0x102f06,0x17,_0x50bf16[0x27]),_0x1a9295=_0x40add6(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0x4edd46,0x4,_0x50bf16[0x28]),_0x495f7d=_0x40add6(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0x35c039,0xb,_0x50bf16[0x29]),_0x5b79ad=_0x40add6(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0xdcb498,0x10,_0x50bf16[0x2a]),_0xd6eb24=_0x40add6(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0x25694a,0x17,_0x50bf16[0x2b]),_0x1a9295=_0x40add6(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0x175614,0x4,_0x50bf16[0x2c]),_0x495f7d=_0x40add6(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0x54e198,0xb,_0x50bf16[0x2d]),_0x5b79ad=_0x40add6(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0x5c5c85,0x10,_0x50bf16[0x2e]),_0xd6eb24=_0x40add6(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0x5e2006,0x17,_0x50bf16[0x2f]),_0x1a9295=_0x52d07d(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0x35c039,0x6,_0x50bf16[0x30]),_0x495f7d=_0x52d07d(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0xc8d8f3,0xa,_0x50bf16[0x31]),_0x5b79ad=_0x52d07d(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0x29ad84,0xf,_0x50bf16[0x32]),_0xd6eb24=_0x52d07d(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0x237c72,0x15,_0x50bf16[0x33]),_0x1a9295=_0x52d07d(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0x54e198,0x6,_0x50bf16[0x34]),_0x495f7d=_0x52d07d(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0xdcb498,0xa,_0x50bf16[0x35]),_0x5b79ad=_0x52d07d(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0x102f06,0xf,_0x50bf16[0x36]),_0xd6eb24=_0x52d07d(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0xc05694,0x15,_0x50bf16[0x37]),_0x1a9295=_0x52d07d(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0x13437b,0x6,_0x50bf16[0x38]),_0x495f7d=_0x52d07d(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0x5c5c85,0xa,_0x50bf16[0x39]),_0x5b79ad=_0x52d07d(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0x25694a,0xf,_0x50bf16[0x3a]),_0xd6eb24=_0x52d07d(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0x4edd46,0x15,_0x50bf16[0x3b]),_0x1a9295=_0x52d07d(_0x1a9295,_0xd6eb24,_0x5b79ad,_0x495f7d,_0x8148bb,0x6,_0x50bf16[0x3c]),_0x495f7d=_0x52d07d(_0x495f7d,_0x1a9295,_0xd6eb24,_0x5b79ad,_0x35edec,0xa,_0x50bf16[0x3d]),_0x5b79ad=_0x52d07d(_0x5b79ad,_0x495f7d,_0x1a9295,_0xd6eb24,_0x5e2006,0xf,_0x50bf16[0x3e]),_0xd6eb24=_0x52d07d(_0xd6eb24,_0x5b79ad,_0x495f7d,_0x1a9295,_0x175614,0x15,_0x50bf16[0x3f]),_0x208e59[0x0]=_0x208e59[0x0]+_0x1a9295|0x0,_0x208e59[0x1]=_0x208e59[0x1]+_0xd6eb24|0x0,_0x208e59[0x2]=_0x208e59[0x2]+_0x5b79ad|0x0,_0x208e59[0x3]=_0x208e59[0x3]+_0x495f7d|0x0;},'_doFinalize':function(){var _0x12e356=_0x654ebc,_0x49d6d5=this[_0x12e356(0x2e5)],_0xebea5f=_0x49d6d5[_0x12e356(0x50b)],_0x4d0fb9=this[_0x12e356(0x386)]*0x8,_0x40d7a6=_0x49d6d5[_0x12e356(0x2c0)]*0x8;_0xebea5f[_0x40d7a6>>>0x5]|=0x80<<0x18-_0x40d7a6%0x20;var _0x33ad76=_0x4ff458[_0x12e356(0x2c1)](_0x4d0fb9/0x100000000),_0x60d43b=_0x4d0fb9;_0xebea5f[(_0x40d7a6+0x40>>>0x9<<0x4)+0xf]=(_0x33ad76<<0x8|_0x33ad76>>>0x18)&0xff00ff|(_0x33ad76<<0x18|_0x33ad76>>>0x8)&0xff00ff00,_0xebea5f[(_0x40d7a6+0x40>>>0x9<<0x4)+0xe]=(_0x60d43b<<0x8|_0x60d43b>>>0x18)&0xff00ff|(_0x60d43b<<0x18|_0x60d43b>>>0x8)&0xff00ff00,_0x49d6d5[_0x12e356(0x2c0)]=(_0xebea5f[_0x12e356(0x295)]+0x1)*0x4,this['_process']();for(var _0x2a3c46=this['_hash'],_0xef96be=_0x2a3c46['words'],_0x5e79d5=0x0;_0x5e79d5<0x4;_0x5e79d5++){var _0x41fe6b=_0xef96be[_0x5e79d5];_0xef96be[_0x5e79d5]=(_0x41fe6b<<0x8|_0x41fe6b>>>0x18)&0xff00ff|(_0x41fe6b<<0x18|_0x41fe6b>>>0x8)&0xff00ff00;}return _0x2a3c46;},'clone':function(){var _0x3fd039=_0x654ebc,_0x100d6e=_0x425cd3[_0x3fd039(0x28f)][_0x3fd039(0x27d)](this);return _0x100d6e[_0x3fd039(0x46c)]=this['_hash']['clone'](),_0x100d6e;}});function _0x570410(_0x285bc2,_0x1587af,_0x13a633,_0x5d3fc3,_0x5a841c,_0x31122d,_0x553219){var _0x5089dc=_0x285bc2+(_0x1587af&_0x13a633|~_0x1587af&_0x5d3fc3)+_0x5a841c+_0x553219;return(_0x5089dc<<_0x31122d|_0x5089dc>>>0x20-_0x31122d)+_0x1587af;}function _0x1e633b(_0x545910,_0x515cc5,_0x124654,_0x45d3a4,_0x43d47d,_0x3d10a9,_0x7a8aca){var _0x5a025a=_0x545910+(_0x515cc5&_0x45d3a4|_0x124654&~_0x45d3a4)+_0x43d47d+_0x7a8aca;return(_0x5a025a<<_0x3d10a9|_0x5a025a>>>0x20-_0x3d10a9)+_0x515cc5;}function _0x40add6(_0x50bfb5,_0x188356,_0xde6cd0,_0x472e4a,_0x8ace0,_0x52b37c,_0xcc9d79){var _0x4d979f=_0x50bfb5+(_0x188356^_0xde6cd0^_0x472e4a)+_0x8ace0+_0xcc9d79;return(_0x4d979f<<_0x52b37c|_0x4d979f>>>0x20-_0x52b37c)+_0x188356;}function _0x52d07d(_0x3ed825,_0x3beead,_0x59579c,_0x48d9ab,_0x7555ec,_0x3c982a,_0x5d9d99){var _0x213cea=_0x3ed825+(_0x59579c^(_0x3beead|~_0x48d9ab))+_0x7555ec+_0x5d9d99;return(_0x213cea<<_0x3c982a|_0x213cea>>>0x20-_0x3c982a)+_0x3beead;}_0x4cac34[_0x654ebc(0x45c)]=_0x425cd3[_0x654ebc(0x32c)](_0x122464),_0x4cac34[_0x654ebc(0x51b)]=_0x425cd3[_0x654ebc(0x1d5)](_0x122464);}(Math),_0x34ad12[_0x4743be(0x45c)];}));}(ge)),ge[_0x46e019(0x401)];}var Ee={'exports':{}},me={'exports':{}},Ai=me[_0x22ac88(0x401)],Ze;function Pi(){var _0x3a9fa0=_0x22ac88;return Ze||(Ze=0x1,function(_0xeccb2e,_0x24a15e){(function(_0x3e89e7,_0x4edd82){var _0x3168f6=_0xfcb9;_0xeccb2e[_0x3168f6(0x401)]=_0x4edd82(Q());}(Ai,function(_0x3cb178){return(function(){var _0xa1eaa2=_0xfcb9,_0x531642=_0x3cb178,_0x381175=_0x531642['lib'],_0x4f3bf9=_0x381175[_0xa1eaa2(0x28c)],_0x4d33d8=_0x381175[_0xa1eaa2(0x3ef)],_0x322e99=_0x531642[_0xa1eaa2(0x4cc)],_0x1d0f12=[],_0x4b212f=_0x322e99[_0xa1eaa2(0x398)]=_0x4d33d8[_0xa1eaa2(0x2be)]({'_doReset':function(){var _0x921c67=_0xa1eaa2;this[_0x921c67(0x46c)]=new _0x4f3bf9[(_0x921c67(0x219))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x5eab9c,_0x4ef29f){var _0x40aa30=_0xa1eaa2;for(var _0x4b987f=this[_0x40aa30(0x46c)][_0x40aa30(0x50b)],_0x1ef33e=_0x4b987f[0x0],_0x515f31=_0x4b987f[0x1],_0x2ccf78=_0x4b987f[0x2],_0x4de332=_0x4b987f[0x3],_0x31c77c=_0x4b987f[0x4],_0x560559=0x0;_0x560559<0x50;_0x560559++){if(_0x560559<0x10)_0x1d0f12[_0x560559]=_0x5eab9c[_0x4ef29f+_0x560559]|0x0;else{var _0x3118a6=_0x1d0f12[_0x560559-0x3]^_0x1d0f12[_0x560559-0x8]^_0x1d0f12[_0x560559-0xe]^_0x1d0f12[_0x560559-0x10];_0x1d0f12[_0x560559]=_0x3118a6<<0x1|_0x3118a6>>>0x1f;}var _0x5cf37c=(_0x1ef33e<<0x5|_0x1ef33e>>>0x1b)+_0x31c77c+_0x1d0f12[_0x560559];_0x560559<0x14?_0x5cf37c+=(_0x515f31&_0x2ccf78|~_0x515f31&_0x4de332)+0x5a827999:_0x560559<0x28?_0x5cf37c+=(_0x515f31^_0x2ccf78^_0x4de332)+0x6ed9eba1:_0x560559<0x3c?_0x5cf37c+=(_0x515f31&_0x2ccf78|_0x515f31&_0x4de332|_0x2ccf78&_0x4de332)-0x70e44324:_0x5cf37c+=(_0x515f31^_0x2ccf78^_0x4de332)-0x359d3e2a,_0x31c77c=_0x4de332,_0x4de332=_0x2ccf78,_0x2ccf78=_0x515f31<<0x1e|_0x515f31>>>0x2,_0x515f31=_0x1ef33e,_0x1ef33e=_0x5cf37c;}_0x4b987f[0x0]=_0x4b987f[0x0]+_0x1ef33e|0x0,_0x4b987f[0x1]=_0x4b987f[0x1]+_0x515f31|0x0,_0x4b987f[0x2]=_0x4b987f[0x2]+_0x2ccf78|0x0,_0x4b987f[0x3]=_0x4b987f[0x3]+_0x4de332|0x0,_0x4b987f[0x4]=_0x4b987f[0x4]+_0x31c77c|0x0;},'_doFinalize':function(){var _0xa8cfa0=_0xa1eaa2,_0x191dce=this['_data'],_0x1fb32a=_0x191dce[_0xa8cfa0(0x50b)],_0x1cf1f5=this[_0xa8cfa0(0x386)]*0x8,_0x303b5e=_0x191dce[_0xa8cfa0(0x2c0)]*0x8;return _0x1fb32a[_0x303b5e>>>0x5]|=0x80<<0x18-_0x303b5e%0x20,_0x1fb32a[(_0x303b5e+0x40>>>0x9<<0x4)+0xe]=Math[_0xa8cfa0(0x2c1)](_0x1cf1f5/0x100000000),_0x1fb32a[(_0x303b5e+0x40>>>0x9<<0x4)+0xf]=_0x1cf1f5,_0x191dce['sigBytes']=_0x1fb32a[_0xa8cfa0(0x295)]*0x4,this[_0xa8cfa0(0x1e7)](),this['_hash'];},'clone':function(){var _0x38168c=_0xa1eaa2,_0x337bc4=_0x4d33d8[_0x38168c(0x28f)]['call'](this);return _0x337bc4['_hash']=this['_hash']['clone'](),_0x337bc4;}});_0x531642['SHA1']=_0x4d33d8['_createHelper'](_0x4b212f),_0x531642[_0xa1eaa2(0x315)]=_0x4d33d8['_createHmacHelper'](_0x4b212f);}()),_0x3cb178['SHA1'];}));}(me)),me[_0x3a9fa0(0x401)];}var Ce={'exports':{}},wi=Ce[_0x22ac88(0x401)],Qe;function Li(){var _0x244e60=_0x22ac88;return Qe||(Qe=0x1,function(_0x495381,_0x4c5fcc){(function(_0x1752b8,_0x356e01){var _0x404a5e=_0xfcb9;_0x495381[_0x404a5e(0x401)]=_0x356e01(Q());}(wi,function(_0x10bd32){(function(){var _0x46ca4d=_0xfcb9,_0x22ca51=_0x10bd32,_0x1185a2=_0x22ca51[_0x46ca4d(0x27a)],_0x25c255=_0x1185a2[_0x46ca4d(0x3a1)],_0x49ad93=_0x22ca51[_0x46ca4d(0x44d)],_0x4de0e8=_0x49ad93['Utf8'],_0x31e304=_0x22ca51[_0x46ca4d(0x4cc)];_0x31e304[_0x46ca4d(0x4c8)]=_0x25c255[_0x46ca4d(0x2be)]({'init':function(_0x3739ac,_0x294c57){var _0x4a2a98=_0x46ca4d;_0x3739ac=this['_hasher']=new _0x3739ac[(_0x4a2a98(0x219))](),typeof _0x294c57==_0x4a2a98(0x2ef)&&(_0x294c57=_0x4de0e8['parse'](_0x294c57));var _0xdfc7d=_0x3739ac['blockSize'],_0x5cb2c1=_0xdfc7d*0x4;_0x294c57['sigBytes']>_0x5cb2c1&&(_0x294c57=_0x3739ac[_0x4a2a98(0x3ff)](_0x294c57)),_0x294c57[_0x4a2a98(0x3c0)]();for(var _0x5baba8=this[_0x4a2a98(0x34d)]=_0x294c57[_0x4a2a98(0x28f)](),_0x2d5c9e=this['_iKey']=_0x294c57[_0x4a2a98(0x28f)](),_0x26a423=_0x5baba8[_0x4a2a98(0x50b)],_0x542642=_0x2d5c9e[_0x4a2a98(0x50b)],_0x3e8062=0x0;_0x3e8062<_0xdfc7d;_0x3e8062++)_0x26a423[_0x3e8062]^=0x5c5c5c5c,_0x542642[_0x3e8062]^=0x36363636;_0x5baba8[_0x4a2a98(0x2c0)]=_0x2d5c9e['sigBytes']=_0x5cb2c1,this[_0x4a2a98(0x540)]();},'reset':function(){var _0x551286=_0x46ca4d,_0x197f62=this[_0x551286(0x227)];_0x197f62[_0x551286(0x540)](),_0x197f62[_0x551286(0x484)](this['_iKey']);},'update':function(_0x1c951d){var _0x5dc341=_0x46ca4d;return this[_0x5dc341(0x227)][_0x5dc341(0x484)](_0x1c951d),this;},'finalize':function(_0x1f1eda){var _0x2900d0=_0x46ca4d,_0x48a16a=this[_0x2900d0(0x227)],_0x178815=_0x48a16a[_0x2900d0(0x3ff)](_0x1f1eda);_0x48a16a[_0x2900d0(0x540)]();var _0x56b5f7=_0x48a16a[_0x2900d0(0x3ff)](this['_oKey'][_0x2900d0(0x28f)]()[_0x2900d0(0x280)](_0x178815));return _0x56b5f7;}});}());}));}(Ce)),Ce[_0x244e60(0x401)];}var Mi=Ee[_0x22ac88(0x401)],et;function Nt(){var _0x25393a=_0x22ac88;return et||(et=0x1,function(_0x1e2858,_0x37b8f2){(function(_0x106dfe,_0x4a8a90,_0x3ddbff){var _0x45b1bf=_0xfcb9;_0x1e2858[_0x45b1bf(0x401)]=_0x4a8a90(Q(),Pi(),Li());}(Mi,function(_0x48bec7){var _0x445e92=_0xfcb9;return(function(){var _0x4c3a8e=_0xfcb9,_0x308ad0=_0x48bec7,_0x4fbdf6=_0x308ad0['lib'],_0x4562df=_0x4fbdf6['Base'],_0x14f2ce=_0x4fbdf6[_0x4c3a8e(0x28c)],_0x36214f=_0x308ad0[_0x4c3a8e(0x4cc)],_0x26f233=_0x36214f[_0x4c3a8e(0x45c)],_0x570e89=_0x36214f['EvpKDF']=_0x4562df[_0x4c3a8e(0x2be)]({'cfg':_0x4562df['extend']({'keySize':0x80/0x20,'hasher':_0x26f233,'iterations':0x1}),'init':function(_0x8f4871){var _0x41a827=_0x4c3a8e;this['cfg']=this['cfg'][_0x41a827(0x2be)](_0x8f4871);},'compute':function(_0x136a6a,_0x6ab73b){var _0x3e731e=_0x4c3a8e;for(var _0x462310,_0x1d3c77=this[_0x3e731e(0x456)],_0x5f43e3=_0x1d3c77[_0x3e731e(0x252)][_0x3e731e(0x433)](),_0x37d209=_0x14f2ce[_0x3e731e(0x433)](),_0x2e9f93=_0x37d209[_0x3e731e(0x50b)],_0x272842=_0x1d3c77[_0x3e731e(0x408)],_0x2bb62f=_0x1d3c77['iterations'];_0x2e9f93['length']<_0x272842;){_0x462310&&_0x5f43e3['update'](_0x462310),_0x462310=_0x5f43e3['update'](_0x136a6a)[_0x3e731e(0x3ff)](_0x6ab73b),_0x5f43e3[_0x3e731e(0x540)]();for(var _0x31b092=0x1;_0x31b092<_0x2bb62f;_0x31b092++)_0x462310=_0x5f43e3['finalize'](_0x462310),_0x5f43e3[_0x3e731e(0x540)]();_0x37d209[_0x3e731e(0x280)](_0x462310);}return _0x37d209['sigBytes']=_0x272842*0x4,_0x37d209;}});_0x308ad0[_0x4c3a8e(0x36e)]=function(_0x1eef60,_0x4dcf8b,_0x18218d){var _0x204786=_0x4c3a8e;return _0x570e89[_0x204786(0x433)](_0x18218d)[_0x204786(0x473)](_0x1eef60,_0x4dcf8b);};}()),_0x48bec7[_0x445e92(0x36e)];}));}(Ee)),Ee[_0x25393a(0x401)];}var Te={'exports':{}},xi=Te[_0x22ac88(0x401)],tt;function Ut(){var _0x1b474b=_0x22ac88;return tt||(tt=0x1,function(_0x5dcf8a,_0x4796e8){(function(_0x375a18,_0xb37c36,_0x29886e){var _0x36b6d7=_0xfcb9;_0x5dcf8a[_0x36b6d7(0x401)]=_0xb37c36(Q(),Nt());}(xi,function(_0x1f4f8d){var _0x19e480=_0xfcb9;_0x1f4f8d[_0x19e480(0x27a)][_0x19e480(0x3ad)]||function(_0x1afb44){var _0x516c21=_0x19e480,_0x259cda=_0x1f4f8d,_0xf54749=_0x259cda[_0x516c21(0x27a)],_0x2d9ff4=_0xf54749[_0x516c21(0x3a1)],_0x507f1e=_0xf54749[_0x516c21(0x28c)],_0x12a934=_0xf54749['BufferedBlockAlgorithm'],_0x425415=_0x259cda[_0x516c21(0x44d)];_0x425415[_0x516c21(0x38a)];var _0x5432f0=_0x425415[_0x516c21(0x4f6)],_0x33271d=_0x259cda[_0x516c21(0x4cc)],_0x4f9407=_0x33271d[_0x516c21(0x36e)],_0x4480d2=_0xf54749[_0x516c21(0x3ad)]=_0x12a934[_0x516c21(0x2be)]({'cfg':_0x2d9ff4[_0x516c21(0x2be)](),'createEncryptor':function(_0x5f1721,_0x5cad48){var _0x111413=_0x516c21;return this[_0x111413(0x433)](this['_ENC_XFORM_MODE'],_0x5f1721,_0x5cad48);},'createDecryptor':function(_0x309efc,_0x2996bc){var _0x50e1c3=_0x516c21;return this[_0x50e1c3(0x433)](this[_0x50e1c3(0x317)],_0x309efc,_0x2996bc);},'init':function(_0x309918,_0x4e09dd,_0x34c0e3){var _0x2b43b5=_0x516c21;this[_0x2b43b5(0x456)]=this[_0x2b43b5(0x456)][_0x2b43b5(0x2be)](_0x34c0e3),this[_0x2b43b5(0x2b0)]=_0x309918,this[_0x2b43b5(0x54b)]=_0x4e09dd,this['reset']();},'reset':function(){_0x12a934['reset']['call'](this),this['_doReset']();},'process':function(_0x48936f){var _0x25c140=_0x516c21;return this[_0x25c140(0x4b1)](_0x48936f),this[_0x25c140(0x1e7)]();},'finalize':function(_0x3de652){var _0xb83eef=_0x516c21;_0x3de652&&this[_0xb83eef(0x4b1)](_0x3de652);var _0x3f2456=this[_0xb83eef(0x373)]();return _0x3f2456;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3e5dfe(_0x1ce0e6){var _0x17e1ac=_0xfcb9;return typeof _0x1ce0e6==_0x17e1ac(0x2ef)?_0x4e8150:_0x3ad636;}return function(_0x2136a9){return{'encrypt':function(_0x301634,_0x5434fc,_0xb8b74){var _0x73215b=_0xfcb9;return _0x3e5dfe(_0x5434fc)[_0x73215b(0x48b)](_0x2136a9,_0x301634,_0x5434fc,_0xb8b74);},'decrypt':function(_0x5738e0,_0x22db6a,_0x30abf3){var _0x98f862=_0xfcb9;return _0x3e5dfe(_0x22db6a)[_0x98f862(0x333)](_0x2136a9,_0x5738e0,_0x22db6a,_0x30abf3);}};};}())});_0xf54749['StreamCipher']=_0x4480d2[_0x516c21(0x2be)]({'_doFinalize':function(){var _0x102360=this['_process'](!0x0);return _0x102360;},'blockSize':0x1});var _0x139852=_0x259cda['mode']={},_0x4070ac=_0xf54749[_0x516c21(0x207)]=_0x2d9ff4[_0x516c21(0x2be)]({'createEncryptor':function(_0x1cc498,_0x5bde23){var _0x45dd73=_0x516c21;return this['Encryptor'][_0x45dd73(0x433)](_0x1cc498,_0x5bde23);},'createDecryptor':function(_0x3d03bd,_0x1c9401){var _0x3d5e3e=_0x516c21;return this[_0x3d5e3e(0x2a0)][_0x3d5e3e(0x433)](_0x3d03bd,_0x1c9401);},'init':function(_0x2b6fd8,_0x319722){var _0xb60bb4=_0x516c21;this[_0xb60bb4(0x518)]=_0x2b6fd8,this[_0xb60bb4(0x2e4)]=_0x319722;}}),_0x2a92a3=_0x139852[_0x516c21(0x52e)]=(function(){var _0x1974fc=_0x516c21,_0x3588fc=_0x4070ac[_0x1974fc(0x2be)]();_0x3588fc[_0x1974fc(0x335)]=_0x3588fc['extend']({'processBlock':function(_0x332afc,_0x33df6c){var _0x2e6558=_0x1974fc,_0x195884=this[_0x2e6558(0x518)],_0x4a0a1f=_0x195884[_0x2e6558(0x423)];_0x4f36f5['call'](this,_0x332afc,_0x33df6c,_0x4a0a1f),_0x195884[_0x2e6558(0x3d8)](_0x332afc,_0x33df6c),this[_0x2e6558(0x1eb)]=_0x332afc[_0x2e6558(0x45e)](_0x33df6c,_0x33df6c+_0x4a0a1f);}}),_0x3588fc[_0x1974fc(0x2a0)]=_0x3588fc[_0x1974fc(0x2be)]({'processBlock':function(_0x5078be,_0x21f145){var _0x574f2e=_0x1974fc,_0x27692f=this['_cipher'],_0x2c6057=_0x27692f['blockSize'],_0xc671d1=_0x5078be[_0x574f2e(0x45e)](_0x21f145,_0x21f145+_0x2c6057);_0x27692f[_0x574f2e(0x4f5)](_0x5078be,_0x21f145),_0x4f36f5[_0x574f2e(0x27d)](this,_0x5078be,_0x21f145,_0x2c6057),this[_0x574f2e(0x1eb)]=_0xc671d1;}});function _0x4f36f5(_0x1045d1,_0x33e13a,_0x5bafd6){var _0x2ecad0=_0x1974fc,_0x5393ce,_0x36e827=this[_0x2ecad0(0x2e4)];_0x36e827?(_0x5393ce=_0x36e827,this[_0x2ecad0(0x2e4)]=_0x1afb44):_0x5393ce=this['_prevBlock'];for(var _0x56c917=0x0;_0x56c917<_0x5bafd6;_0x56c917++)_0x1045d1[_0x33e13a+_0x56c917]^=_0x5393ce[_0x56c917];}return _0x3588fc;}()),_0x5b8116=_0x259cda[_0x516c21(0x296)]={},_0x4b26dd=_0x5b8116[_0x516c21(0x31e)]={'pad':function(_0x1b966c,_0x4024f9){var _0xcb8992=_0x516c21;for(var _0x1a470c=_0x4024f9*0x4,_0x1487b8=_0x1a470c-_0x1b966c['sigBytes']%_0x1a470c,_0x61d95a=_0x1487b8<<0x18|_0x1487b8<<0x10|_0x1487b8<<0x8|_0x1487b8,_0xc32b06=[],_0x23454d=0x0;_0x23454d<_0x1487b8;_0x23454d+=0x4)_0xc32b06[_0xcb8992(0x4a2)](_0x61d95a);var _0x55f6dd=_0x507f1e[_0xcb8992(0x433)](_0xc32b06,_0x1487b8);_0x1b966c[_0xcb8992(0x280)](_0x55f6dd);},'unpad':function(_0x5009f4){var _0x595c93=_0x516c21,_0x1b946d=_0x5009f4[_0x595c93(0x50b)][_0x5009f4[_0x595c93(0x2c0)]-0x1>>>0x2]&0xff;_0x5009f4['sigBytes']-=_0x1b946d;}};_0xf54749['BlockCipher']=_0x4480d2['extend']({'cfg':_0x4480d2['cfg'][_0x516c21(0x2be)]({'mode':_0x2a92a3,'padding':_0x4b26dd}),'reset':function(){var _0x373eb2=_0x516c21,_0x3278d8;_0x4480d2['reset'][_0x373eb2(0x27d)](this);var _0x1c11fa=this[_0x373eb2(0x456)],_0x2901b6=_0x1c11fa['iv'],_0x22553b=_0x1c11fa[_0x373eb2(0x43a)];this['_xformMode']==this[_0x373eb2(0x48a)]?_0x3278d8=_0x22553b[_0x373eb2(0x260)]:(_0x3278d8=_0x22553b['createDecryptor'],this['_minBufferSize']=0x1),this['_mode']&&this[_0x373eb2(0x53e)][_0x373eb2(0x20b)]==_0x3278d8?this['_mode'][_0x373eb2(0x219)](this,_0x2901b6&&_0x2901b6[_0x373eb2(0x50b)]):(this[_0x373eb2(0x53e)]=_0x3278d8[_0x373eb2(0x27d)](_0x22553b,this,_0x2901b6&&_0x2901b6['words']),this[_0x373eb2(0x53e)][_0x373eb2(0x20b)]=_0x3278d8);},'_doProcessBlock':function(_0x811865,_0x484444){var _0x395899=_0x516c21;this[_0x395899(0x53e)][_0x395899(0x3cb)](_0x811865,_0x484444);},'_doFinalize':function(){var _0x33400e=_0x516c21,_0x320403,_0x4813c=this['cfg']['padding'];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x4813c[_0x33400e(0x296)](this['_data'],this[_0x33400e(0x423)]),_0x320403=this[_0x33400e(0x1e7)](!0x0)):(_0x320403=this[_0x33400e(0x1e7)](!0x0),_0x4813c[_0x33400e(0x514)](_0x320403)),_0x320403;},'blockSize':0x80/0x20});var _0x5190cb=_0xf54749[_0x516c21(0x416)]=_0x2d9ff4[_0x516c21(0x2be)]({'init':function(_0xf6589a){var _0x2d1479=_0x516c21;this[_0x2d1479(0x35c)](_0xf6589a);},'toString':function(_0x1b6afa){var _0x5755ff=_0x516c21;return(_0x1b6afa||this[_0x5755ff(0x413)])[_0x5755ff(0x3d1)](this);}}),_0x3a8d77=_0x259cda[_0x516c21(0x301)]={},_0x5e4871=_0x3a8d77['OpenSSL']={'stringify':function(_0xccfc18){var _0x138a60=_0x516c21,_0x535c9d,_0x187a9f=_0xccfc18[_0x138a60(0x1dc)],_0x59316a=_0xccfc18[_0x138a60(0x40e)];return _0x59316a?_0x535c9d=_0x507f1e[_0x138a60(0x433)]([0x53616c74,0x65645f5f])[_0x138a60(0x280)](_0x59316a)[_0x138a60(0x280)](_0x187a9f):_0x535c9d=_0x187a9f,_0x535c9d[_0x138a60(0x1d2)](_0x5432f0);},'parse':function(_0x2b645f){var _0x2abd86=_0x516c21,_0x4e16a6,_0x33ecd9=_0x5432f0[_0x2abd86(0x3da)](_0x2b645f),_0x4cc7ab=_0x33ecd9[_0x2abd86(0x50b)];return _0x4cc7ab[0x0]==0x53616c74&&_0x4cc7ab[0x1]==0x65645f5f&&(_0x4e16a6=_0x507f1e[_0x2abd86(0x433)](_0x4cc7ab['slice'](0x2,0x4)),_0x4cc7ab[_0x2abd86(0x2ab)](0x0,0x4),_0x33ecd9[_0x2abd86(0x2c0)]-=0x10),_0x5190cb[_0x2abd86(0x433)]({'ciphertext':_0x33ecd9,'salt':_0x4e16a6});}},_0x3ad636=_0xf54749[_0x516c21(0x205)]=_0x2d9ff4['extend']({'cfg':_0x2d9ff4[_0x516c21(0x2be)]({'format':_0x5e4871}),'encrypt':function(_0x21a721,_0x2409c5,_0x2f36c9,_0x51262e){var _0x268bf7=_0x516c21;_0x51262e=this[_0x268bf7(0x456)][_0x268bf7(0x2be)](_0x51262e);var _0x2a7958=_0x21a721[_0x268bf7(0x260)](_0x2f36c9,_0x51262e),_0x534777=_0x2a7958[_0x268bf7(0x3ff)](_0x2409c5),_0x125249=_0x2a7958['cfg'];return _0x5190cb['create']({'ciphertext':_0x534777,'key':_0x2f36c9,'iv':_0x125249['iv'],'algorithm':_0x21a721,'mode':_0x125249[_0x268bf7(0x43a)],'padding':_0x125249[_0x268bf7(0x546)],'blockSize':_0x21a721['blockSize'],'formatter':_0x51262e['format']});},'decrypt':function(_0x2db527,_0xb66b8,_0x310b10,_0x438a3f){var _0x802628=_0x516c21;_0x438a3f=this['cfg'][_0x802628(0x2be)](_0x438a3f),_0xb66b8=this['_parse'](_0xb66b8,_0x438a3f[_0x802628(0x301)]);var _0x54d824=_0x2db527['createDecryptor'](_0x310b10,_0x438a3f)['finalize'](_0xb66b8['ciphertext']);return _0x54d824;},'_parse':function(_0xb5188e,_0x283a28){var _0x484d82=_0x516c21;return typeof _0xb5188e==_0x484d82(0x2ef)?_0x283a28[_0x484d82(0x3da)](_0xb5188e,this):_0xb5188e;}}),_0x3b9135=_0x259cda['kdf']={},_0x525073=_0x3b9135[_0x516c21(0x4ea)]={'execute':function(_0x5f26c4,_0x8dabe5,_0x2b63d4,_0xcd18d1,_0xc5f623){var _0x2bfb39=_0x516c21;if(_0xcd18d1||(_0xcd18d1=_0x507f1e[_0x2bfb39(0x25a)](0x40/0x8)),_0xc5f623)var _0x2479b1=_0x4f9407[_0x2bfb39(0x433)]({'keySize':_0x8dabe5+_0x2b63d4,'hasher':_0xc5f623})[_0x2bfb39(0x473)](_0x5f26c4,_0xcd18d1);else var _0x2479b1=_0x4f9407[_0x2bfb39(0x433)]({'keySize':_0x8dabe5+_0x2b63d4})[_0x2bfb39(0x473)](_0x5f26c4,_0xcd18d1);var _0x1f2bcb=_0x507f1e[_0x2bfb39(0x433)](_0x2479b1[_0x2bfb39(0x50b)][_0x2bfb39(0x45e)](_0x8dabe5),_0x2b63d4*0x4);return _0x2479b1['sigBytes']=_0x8dabe5*0x4,_0x5190cb[_0x2bfb39(0x433)]({'key':_0x2479b1,'iv':_0x1f2bcb,'salt':_0xcd18d1});}},_0x4e8150=_0xf54749['PasswordBasedCipher']=_0x3ad636[_0x516c21(0x2be)]({'cfg':_0x3ad636['cfg'][_0x516c21(0x2be)]({'kdf':_0x525073}),'encrypt':function(_0x27f48e,_0x565eee,_0x5ee85f,_0x5308ff){var _0x98a4a8=_0x516c21;_0x5308ff=this[_0x98a4a8(0x456)][_0x98a4a8(0x2be)](_0x5308ff);var _0x17aa53=_0x5308ff['kdf'][_0x98a4a8(0x272)](_0x5ee85f,_0x27f48e[_0x98a4a8(0x408)],_0x27f48e[_0x98a4a8(0x343)],_0x5308ff[_0x98a4a8(0x40e)],_0x5308ff['hasher']);_0x5308ff['iv']=_0x17aa53['iv'];var _0x18ad16=_0x3ad636['encrypt']['call'](this,_0x27f48e,_0x565eee,_0x17aa53['key'],_0x5308ff);return _0x18ad16['mixIn'](_0x17aa53),_0x18ad16;},'decrypt':function(_0x17cc15,_0x1d248d,_0x3e4fd0,_0x2ca9a8){var _0x5330e9=_0x516c21;_0x2ca9a8=this['cfg'][_0x5330e9(0x2be)](_0x2ca9a8),_0x1d248d=this[_0x5330e9(0x363)](_0x1d248d,_0x2ca9a8[_0x5330e9(0x301)]);var _0xcb32f=_0x2ca9a8[_0x5330e9(0x1e4)]['execute'](_0x3e4fd0,_0x17cc15[_0x5330e9(0x408)],_0x17cc15[_0x5330e9(0x343)],_0x1d248d[_0x5330e9(0x40e)],_0x2ca9a8[_0x5330e9(0x252)]);_0x2ca9a8['iv']=_0xcb32f['iv'];var _0x108e3c=_0x3ad636[_0x5330e9(0x333)][_0x5330e9(0x27d)](this,_0x17cc15,_0x1d248d,_0xcb32f[_0x5330e9(0x1db)],_0x2ca9a8);return _0x108e3c;}});}();}));}(Te)),Te[_0x1b474b(0x401)];}var ki=fe['exports'],it;function Hi(){var _0x15995c=_0x22ac88;return it||(it=0x1,function(_0xe07df8,_0x49cadd){(function(_0x1949d5,_0x8279cc,_0x2cd13a){var _0x4a7c41=_0xfcb9;_0xe07df8[_0x4a7c41(0x401)]=_0x8279cc(Q(),yt(),Di(),Nt(),Ut());}(ki,function(_0x32466a){var _0x11e2be=_0xfcb9;return(function(){var _0x1461dd=_0xfcb9,_0x2fe0d9=_0x32466a,_0x4e3144=_0x2fe0d9[_0x1461dd(0x27a)],_0x5ef687=_0x4e3144[_0x1461dd(0x32a)],_0x44661c=_0x2fe0d9[_0x1461dd(0x4cc)],_0x33adfd=[],_0x419f07=[],_0xd0a6e9=[],_0x164c91=[],_0x125f20=[],_0x436372=[],_0x483e03=[],_0x5abac0=[],_0x5a1a78=[],_0x55af14=[];(function(){for(var _0x385f8d=[],_0x39501a=0x0;_0x39501a<0x100;_0x39501a++)_0x39501a<0x80?_0x385f8d[_0x39501a]=_0x39501a<<0x1:_0x385f8d[_0x39501a]=_0x39501a<<0x1^0x11b;for(var _0x29d75d=0x0,_0x3d65db=0x0,_0x39501a=0x0;_0x39501a<0x100;_0x39501a++){var _0x13e7ab=_0x3d65db^_0x3d65db<<0x1^_0x3d65db<<0x2^_0x3d65db<<0x3^_0x3d65db<<0x4;_0x13e7ab=_0x13e7ab>>>0x8^_0x13e7ab&0xff^0x63,_0x33adfd[_0x29d75d]=_0x13e7ab,_0x419f07[_0x13e7ab]=_0x29d75d;var _0x53a03c=_0x385f8d[_0x29d75d],_0x5ecf0b=_0x385f8d[_0x53a03c],_0x3b5341=_0x385f8d[_0x5ecf0b],_0x168121=_0x385f8d[_0x13e7ab]*0x101^_0x13e7ab*0x1010100;_0xd0a6e9[_0x29d75d]=_0x168121<<0x18|_0x168121>>>0x8,_0x164c91[_0x29d75d]=_0x168121<<0x10|_0x168121>>>0x10,_0x125f20[_0x29d75d]=_0x168121<<0x8|_0x168121>>>0x18,_0x436372[_0x29d75d]=_0x168121;var _0x168121=_0x3b5341*0x1010101^_0x5ecf0b*0x10001^_0x53a03c*0x101^_0x29d75d*0x1010100;_0x483e03[_0x13e7ab]=_0x168121<<0x18|_0x168121>>>0x8,_0x5abac0[_0x13e7ab]=_0x168121<<0x10|_0x168121>>>0x10,_0x5a1a78[_0x13e7ab]=_0x168121<<0x8|_0x168121>>>0x18,_0x55af14[_0x13e7ab]=_0x168121,_0x29d75d?(_0x29d75d=_0x53a03c^_0x385f8d[_0x385f8d[_0x385f8d[_0x3b5341^_0x53a03c]]],_0x3d65db^=_0x385f8d[_0x385f8d[_0x3d65db]]):_0x29d75d=_0x3d65db=0x1;}}());var _0x5c46cf=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x51ccc9=_0x44661c[_0x1461dd(0x2b9)]=_0x5ef687[_0x1461dd(0x2be)]({'_doReset':function(){var _0xf51172=_0x1461dd,_0x386ff2;if(!(this[_0xf51172(0x445)]&&this[_0xf51172(0x525)]===this[_0xf51172(0x54b)])){for(var _0xe3fba2=this[_0xf51172(0x525)]=this[_0xf51172(0x54b)],_0x781b46=_0xe3fba2['words'],_0x2d33a3=_0xe3fba2[_0xf51172(0x2c0)]/0x4,_0x237fd6=this[_0xf51172(0x445)]=_0x2d33a3+0x6,_0x117dbd=(_0x237fd6+0x1)*0x4,_0xace1d4=this[_0xf51172(0x349)]=[],_0x41f453=0x0;_0x41f453<_0x117dbd;_0x41f453++)_0x41f453<_0x2d33a3?_0xace1d4[_0x41f453]=_0x781b46[_0x41f453]:(_0x386ff2=_0xace1d4[_0x41f453-0x1],_0x41f453%_0x2d33a3?_0x2d33a3>0x6&&_0x41f453%_0x2d33a3==0x4&&(_0x386ff2=_0x33adfd[_0x386ff2>>>0x18]<<0x18|_0x33adfd[_0x386ff2>>>0x10&0xff]<<0x10|_0x33adfd[_0x386ff2>>>0x8&0xff]<<0x8|_0x33adfd[_0x386ff2&0xff]):(_0x386ff2=_0x386ff2<<0x8|_0x386ff2>>>0x18,_0x386ff2=_0x33adfd[_0x386ff2>>>0x18]<<0x18|_0x33adfd[_0x386ff2>>>0x10&0xff]<<0x10|_0x33adfd[_0x386ff2>>>0x8&0xff]<<0x8|_0x33adfd[_0x386ff2&0xff],_0x386ff2^=_0x5c46cf[_0x41f453/_0x2d33a3|0x0]<<0x18),_0xace1d4[_0x41f453]=_0xace1d4[_0x41f453-_0x2d33a3]^_0x386ff2);for(var _0x197ea9=this[_0xf51172(0x3bc)]=[],_0x559372=0x0;_0x559372<_0x117dbd;_0x559372++){var _0x41f453=_0x117dbd-_0x559372;if(_0x559372%0x4)var _0x386ff2=_0xace1d4[_0x41f453];else var _0x386ff2=_0xace1d4[_0x41f453-0x4];_0x559372<0x4||_0x41f453<=0x4?_0x197ea9[_0x559372]=_0x386ff2:_0x197ea9[_0x559372]=_0x483e03[_0x33adfd[_0x386ff2>>>0x18]]^_0x5abac0[_0x33adfd[_0x386ff2>>>0x10&0xff]]^_0x5a1a78[_0x33adfd[_0x386ff2>>>0x8&0xff]]^_0x55af14[_0x33adfd[_0x386ff2&0xff]];}}},'encryptBlock':function(_0x56bd8c,_0x32a796){var _0x3a824a=_0x1461dd;this[_0x3a824a(0x3de)](_0x56bd8c,_0x32a796,this[_0x3a824a(0x349)],_0xd0a6e9,_0x164c91,_0x125f20,_0x436372,_0x33adfd);},'decryptBlock':function(_0x35caea,_0x7e531d){var _0x2eb747=_0x1461dd,_0x1d44ba=_0x35caea[_0x7e531d+0x1];_0x35caea[_0x7e531d+0x1]=_0x35caea[_0x7e531d+0x3],_0x35caea[_0x7e531d+0x3]=_0x1d44ba,this[_0x2eb747(0x3de)](_0x35caea,_0x7e531d,this[_0x2eb747(0x3bc)],_0x483e03,_0x5abac0,_0x5a1a78,_0x55af14,_0x419f07);var _0x1d44ba=_0x35caea[_0x7e531d+0x1];_0x35caea[_0x7e531d+0x1]=_0x35caea[_0x7e531d+0x3],_0x35caea[_0x7e531d+0x3]=_0x1d44ba;},'_doCryptBlock':function(_0x15be5d,_0x4c0566,_0x312bb5,_0x39e1bf,_0x26f5c2,_0x314e9c,_0x5535fc,_0x226037){for(var _0x5968d9=this['_nRounds'],_0x1248b9=_0x15be5d[_0x4c0566]^_0x312bb5[0x0],_0x1ef13b=_0x15be5d[_0x4c0566+0x1]^_0x312bb5[0x1],_0x53840c=_0x15be5d[_0x4c0566+0x2]^_0x312bb5[0x2],_0x34a002=_0x15be5d[_0x4c0566+0x3]^_0x312bb5[0x3],_0x512325=0x4,_0x10df69=0x1;_0x10df69<_0x5968d9;_0x10df69++){var _0xc89532=_0x39e1bf[_0x1248b9>>>0x18]^_0x26f5c2[_0x1ef13b>>>0x10&0xff]^_0x314e9c[_0x53840c>>>0x8&0xff]^_0x5535fc[_0x34a002&0xff]^_0x312bb5[_0x512325++],_0xcebc18=_0x39e1bf[_0x1ef13b>>>0x18]^_0x26f5c2[_0x53840c>>>0x10&0xff]^_0x314e9c[_0x34a002>>>0x8&0xff]^_0x5535fc[_0x1248b9&0xff]^_0x312bb5[_0x512325++],_0x58939f=_0x39e1bf[_0x53840c>>>0x18]^_0x26f5c2[_0x34a002>>>0x10&0xff]^_0x314e9c[_0x1248b9>>>0x8&0xff]^_0x5535fc[_0x1ef13b&0xff]^_0x312bb5[_0x512325++],_0x384d8c=_0x39e1bf[_0x34a002>>>0x18]^_0x26f5c2[_0x1248b9>>>0x10&0xff]^_0x314e9c[_0x1ef13b>>>0x8&0xff]^_0x5535fc[_0x53840c&0xff]^_0x312bb5[_0x512325++];_0x1248b9=_0xc89532,_0x1ef13b=_0xcebc18,_0x53840c=_0x58939f,_0x34a002=_0x384d8c;}var _0xc89532=(_0x226037[_0x1248b9>>>0x18]<<0x18|_0x226037[_0x1ef13b>>>0x10&0xff]<<0x10|_0x226037[_0x53840c>>>0x8&0xff]<<0x8|_0x226037[_0x34a002&0xff])^_0x312bb5[_0x512325++],_0xcebc18=(_0x226037[_0x1ef13b>>>0x18]<<0x18|_0x226037[_0x53840c>>>0x10&0xff]<<0x10|_0x226037[_0x34a002>>>0x8&0xff]<<0x8|_0x226037[_0x1248b9&0xff])^_0x312bb5[_0x512325++],_0x58939f=(_0x226037[_0x53840c>>>0x18]<<0x18|_0x226037[_0x34a002>>>0x10&0xff]<<0x10|_0x226037[_0x1248b9>>>0x8&0xff]<<0x8|_0x226037[_0x1ef13b&0xff])^_0x312bb5[_0x512325++],_0x384d8c=(_0x226037[_0x34a002>>>0x18]<<0x18|_0x226037[_0x1248b9>>>0x10&0xff]<<0x10|_0x226037[_0x1ef13b>>>0x8&0xff]<<0x8|_0x226037[_0x53840c&0xff])^_0x312bb5[_0x512325++];_0x15be5d[_0x4c0566]=_0xc89532,_0x15be5d[_0x4c0566+0x1]=_0xcebc18,_0x15be5d[_0x4c0566+0x2]=_0x58939f,_0x15be5d[_0x4c0566+0x3]=_0x384d8c;},'keySize':0x100/0x20});_0x2fe0d9[_0x1461dd(0x2b9)]=_0x5ef687[_0x1461dd(0x32c)](_0x51ccc9);}()),_0x32466a[_0x11e2be(0x2b9)];}));}(fe)),fe[_0x15995c(0x401)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be['exports'],rt;function Vi(){var _0x1db094=_0x22ac88;return rt||(rt=0x1,function(_0x550a80,_0x311b6f){(function(_0x325015,_0x3ef503){var _0x5a30db=_0xfcb9;_0x550a80[_0x5a30db(0x401)]=_0x3ef503(Q());}(Fi,function(_0x27b656){var _0xbe31b6=_0xfcb9;return _0x27b656[_0xbe31b6(0x44d)][_0xbe31b6(0x38a)];}));}(be)),be[_0x1db094(0x401)];}var Wi=Vi();const Gi=ve(Wi);var Re={'exports':{}},Ki=Re[_0x22ac88(0x401)],st;function Yi(){var _0x1eff6a=_0x22ac88;return st||(st=0x1,function(_0x371c11,_0x3151f9){(function(_0x6c5604,_0x2a2dd0){var _0x25c656=_0xfcb9;_0x371c11[_0x25c656(0x401)]=_0x2a2dd0(Q());}(Ki,function(_0x297b76){var _0x10c72d=_0xfcb9;return(function(){var _0x62b7af=_0xfcb9;if(typeof ArrayBuffer==_0x62b7af(0x1e5)){var _0x56ec67=_0x297b76,_0x167b89=_0x56ec67[_0x62b7af(0x27a)],_0x1132cc=_0x167b89[_0x62b7af(0x28c)],_0x4ef8d1=_0x1132cc[_0x62b7af(0x219)],_0x34e17f=_0x1132cc[_0x62b7af(0x219)]=function(_0x2b3695){var _0x9b6ebb=_0x62b7af;if(_0x2b3695 instanceof ArrayBuffer&&(_0x2b3695=new Uint8Array(_0x2b3695)),(_0x2b3695 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2b3695 instanceof Uint8ClampedArray||_0x2b3695 instanceof Int16Array||_0x2b3695 instanceof Uint16Array||_0x2b3695 instanceof Int32Array||_0x2b3695 instanceof Uint32Array||_0x2b3695 instanceof Float32Array||_0x2b3695 instanceof Float64Array)&&(_0x2b3695=new Uint8Array(_0x2b3695['buffer'],_0x2b3695[_0x9b6ebb(0x3b5)],_0x2b3695[_0x9b6ebb(0x407)])),_0x2b3695 instanceof Uint8Array){for(var _0x6fa2e0=_0x2b3695[_0x9b6ebb(0x407)],_0x3f761f=[],_0x44a09e=0x0;_0x44a09e<_0x6fa2e0;_0x44a09e++)_0x3f761f[_0x44a09e>>>0x2]|=_0x2b3695[_0x44a09e]<<0x18-_0x44a09e%0x4*0x8;_0x4ef8d1[_0x9b6ebb(0x27d)](this,_0x3f761f,_0x6fa2e0);}else _0x4ef8d1[_0x9b6ebb(0x2d6)](this,arguments);};_0x34e17f[_0x62b7af(0x359)]=_0x1132cc;}}()),_0x297b76[_0x10c72d(0x27a)][_0x10c72d(0x28c)];}));}(Re)),Re[_0x1eff6a(0x401)];}var qi=Yi();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0x22ac88(0x401)],ot;function Xi(){var _0x5ea5ef=_0x22ac88;return ot||(ot=0x1,function(_0x234dee,_0x4f2e2d){(function(_0x1ba0af,_0x539cbf,_0x3a7da1){var _0x5dd7cf=_0xfcb9;_0x234dee[_0x5dd7cf(0x401)]=_0x539cbf(Q(),Ut());}(Ji,function(_0x2bb8c4){var _0x5d2030=_0xfcb9;return _0x2bb8c4[_0x5d2030(0x296)][_0x5d2030(0x543)]={'pad':function(){},'unpad':function(){}},_0x2bb8c4[_0x5d2030(0x296)][_0x5d2030(0x543)];}));}(Oe)),Oe[_0x5ea5ef(0x401)];}var Zi=Xi();const Qi=ve(Zi);function _0xfcb9(_0x39117a,_0x3685b9){var _0x7ec8ab=_0x7ec8();return _0xfcb9=function(_0xfcb92c,_0x5641b3){_0xfcb92c=_0xfcb92c-0x1d1;var _0xa440fc=_0x7ec8ab[_0xfcb92c];return _0xa440fc;},_0xfcb9(_0x39117a,_0x3685b9);}function en(_0x2d0b83,_0x3f17e8){var _0x5dcdf0=_0x22ac88;const _0x57feb7=_0x3f17e8-_0x2d0b83[_0x5dcdf0(0x295)]%_0x3f17e8,_0x25adb5=String[_0x5dcdf0(0x284)](_0x57feb7)[_0x5dcdf0(0x44c)](_0x57feb7);return _0x2d0b83+_0x25adb5;}function tn(_0x34da25,_0x1a5cfa){var _0x520139=_0x22ac88;const _0x2d4d8c=zi[_0x520139(0x25a)](0x10),_0x535881=en(_0x34da25,0x10),_0x57d446=ji[_0x520139(0x48b)](Gi['parse'](_0x535881),nt[_0x520139(0x3da)](_0x1a5cfa),{'iv':_0x2d4d8c,'padding':Qi});return _0x2d4d8c[_0x520139(0x280)](_0x57d446['ciphertext'])['toString'](nt);}function nn(){var _0x4ca279=_0x22ac88;const _0x5defb2=wt[_0x4ca279(0x2fc)]()[_0x4ca279(0x276)];if(_0x5defb2){const _0x181667={'time':Math[_0x4ca279(0x2c1)](Date[_0x4ca279(0x537)]()/0x3e8),'domain':location[_0x4ca279(0x2ac)]};return tn(JSON[_0x4ca279(0x3d1)](_0x181667),_0x5defb2);}}var rn=Object[_0x22ac88(0x22c)],sn=(_0xb8cbbf,_0x5ccc34,_0x9b0e9a,_0x501d96)=>{var _0x27622e=_0x22ac88;for(var _0x5e4938=_0x501d96>0x1?void 0x0:_0x501d96?rn(_0x5ccc34,_0x9b0e9a):_0x5ccc34,_0xda27ac=_0xb8cbbf[_0x27622e(0x295)]-0x1,_0xbc158b;_0xda27ac>=0x0;_0xda27ac--)(_0xbc158b=_0xb8cbbf[_0xda27ac])&&(_0x5e4938=_0xbc158b(_0x5e4938)||_0x5e4938);return _0x5e4938;},on=(_0x5eb6c2,_0xd5179c)=>(_0x2101d5,_0x17bb02)=>_0xd5179c(_0x2101d5,_0x17bb02,_0x5eb6c2);let Ne=class{constructor(_0x10382a){var _0x329a41=_0x22ac88;this[_0x329a41(0x4f0)]=_0x10382a,this[_0x329a41(0x538)]();}[_0x22ac88(0x538)](){var _0x375610=_0x22ac88;this[_0x375610(0x4f0)][_0x375610(0x504)]({'interceptor':(_0xe0a364,_0xb7569f)=>{var _0x1be5ae=_0x375610;const _0x20986e=_0xe0a364[_0x1be5ae(0x455)],_0x209f12=nn();return _0x209f12&&_0x20986e['set'](_0x1be5ae(0x369),_0x209f12),_0xb7569f(_0xe0a364);}});}};Ne=sn([on(0x0,a['Inject'](Y['HTTPService']))],Ne);var an=Object[_0x22ac88(0x22c)],cn=(_0x1a3be3,_0x475bbe,_0x42dbe7,_0x31e548)=>{var _0x249c22=_0x22ac88;for(var _0x45527c=_0x31e548>0x1?void 0x0:_0x31e548?an(_0x475bbe,_0x42dbe7):_0x475bbe,_0x55f4ab=_0x1a3be3[_0x249c22(0x295)]-0x1,_0x5d0bee;_0x55f4ab>=0x0;_0x55f4ab--)(_0x5d0bee=_0x1a3be3[_0x55f4ab])&&(_0x45527c=_0x5d0bee(_0x45527c)||_0x45527c);return _0x45527c;},we=(_0x1f3f11,_0x2d8335)=>(_0x1074a0,_0x28273e)=>_0x2d8335(_0x1074a0,_0x28273e,_0x1f3f11);exports['DataLoaderService']=class extends a[_0x22ac88(0x434)]{constructor(_0x2b2d1a,_0x3c1fa1,_0x223626){var _0x140075=_0x22ac88;super(),A(this,_0x140075(0x294),new $[(_0x140075(0x53c))](null)),A(this,'unitInfo$',this[_0x140075(0x294)][_0x140075(0x20a)]()),(this[_0x140075(0x297)]=_0x2b2d1a,this[_0x140075(0x20e)]=_0x3c1fa1,this['_localCacheService']=_0x223626);}async[_0x22ac88(0x358)](_0xe01227,_0x5f5996,_0x2c1aa4){var _0x2adfc4=_0x22ac88;this[_0x2adfc4(0x294)][_0x2adfc4(0x239)]({'unitId':_0xe01227,'type':_0x5f5996});let _0x2ea8a1=null;switch(_0x5f5996){case J[_0x2adfc4(0x403)]:{_0x2ea8a1=await this[_0x2adfc4(0x20e)][_0x2adfc4(0x30c)](_0xe01227,_0x2c1aa4);break;}case J[_0x2adfc4(0x3d5)]:{_0x2ea8a1=await this[_0x2adfc4(0x20e)][_0x2adfc4(0x505)](_0xe01227,_0x2c1aa4);break;}default:{this[_0x2adfc4(0x297)]['error'](_0x2adfc4(0x27c),_0x2adfc4(0x3d6));break;}}return _0x2ea8a1;}async[_0x22ac88(0x438)](_0xc49f61,_0x487d72,_0x16f001){var _0x5b7dac=_0x22ac88,_0x3e621a;this[_0x5b7dac(0x294)]['next']({'unitId':_0xc49f61,'type':_0x487d72,'subUnitId':_0x16f001});let _0x51928d=0x0;const _0x1dbaad=await((_0x3e621a=this[_0x5b7dac(0x545)])==null?void 0x0:_0x3e621a[_0x5b7dac(0x2ed)](_0xc49f61));return _0x1dbaad&&(_0x1dbaad['awaitingChangeset']||_0x1dbaad[_0x5b7dac(0x513)][_0x5b7dac(0x295)]!==0x0)&&(_0x51928d=_0x1dbaad['rev']),_0x51928d===0x0&&this[_0x5b7dac(0x297)][_0x5b7dac(0x283)](_0x5b7dac(0x27c),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x5b7dac(0x358)](_0xc49f61,_0x487d72,_0x51928d);}},exports['DataLoaderService']=cn([we(0x0,a[_0x22ac88(0x3a5)]),we(0x1,a[_0x22ac88(0x371)](I[_0x22ac88(0x45d)])),we(0x2,a[_0x22ac88(0x43b)](q))],exports['DataLoaderService']);var hn=Object[_0x22ac88(0x22c)],_n=(_0x171864,_0x2b4cb8,_0x367a16,_0xef31ca)=>{var _0x5ca6cc=_0x22ac88;for(var _0x546c53=_0xef31ca>0x1?void 0x0:_0xef31ca?hn(_0x2b4cb8,_0x367a16):_0x2b4cb8,_0x3d0262=_0x171864[_0x5ca6cc(0x295)]-0x1,_0x6b17c5;_0x3d0262>=0x0;_0x3d0262--)(_0x6b17c5=_0x171864[_0x3d0262])&&(_0x546c53=_0x6b17c5(_0x546c53)||_0x546c53);return _0x546c53;},Le=(_0x307474,_0x3de253)=>(_0x4f28ca,_0x412afc)=>_0x3de253(_0x4f28ca,_0x412afc,_0x307474);const ln=[_0x22ac88(0x39d),_0x22ac88(0x4ee),_0x22ac88(0x314),_0x22ac88(0x3e8),_0x22ac88(0x4a9)],un=0x5*0x400*0x400,dn=_0x22ac88(0x323),vn=_0x22ac88(0x237),Sn='EXCHANGE_SIGN_URL_SERVER_URL_KEY',fn=_0x22ac88(0x422);exports['CollaborationImageIoService']=class{constructor(_0x37cbcf,_0x5451a5,_0x1bef2b){var _0x3a3912=_0x22ac88;A(this,'_waitCount',0x0),A(this,_0x3a3912(0x47b),new $['Subject']()),A(this,'change$',this['_change$']),A(this,_0x3a3912(0x3e1),new Map()),(this[_0x3a3912(0x4f0)]=_0x37cbcf,this['_configService']=_0x5451a5,this[_0x3a3912(0x388)]=_0x1bef2b);}[_0x22ac88(0x453)](_0x2949a5){var _0x2ae937=_0x22ac88;this[_0x2ae937(0x27e)]=_0x2949a5,this[_0x2ae937(0x47b)][_0x2ae937(0x239)](_0x2949a5);}[_0x22ac88(0x25d)](_0x40732d,_0x4feb88){var _0x3f0eab=_0x22ac88;if(_0x4feb88===z['ImageSourceType'][_0x3f0eab(0x289)]){const _0x84d344=new Image();return _0x84d344[_0x3f0eab(0x36f)]=_0x40732d,_0x84d344;}return this[_0x3f0eab(0x3e1)][_0x3f0eab(0x26d)](_0x40732d);}[_0x22ac88(0x26f)](_0x11dcda,_0x3a6469,_0x10f671){var _0x138df3=_0x22ac88;_0x3a6469===z[_0x138df3(0x3e9)][_0x138df3(0x289)]||_0x10f671==null||this[_0x138df3(0x3e1)]['set'](_0x11dcda,_0x10f671);}async[_0x22ac88(0x2a7)](_0x2d067f){var _0x2a755d=_0x22ac88;try{const _0x3346de=this['_replaceFileID'](this[_0x2a755d(0x385)](),''+_0x2d067f),_0x12bc1d=(await this[_0x2a755d(0x4f0)]['get'](_0x3346de))['body'];if(_0x12bc1d[_0x2a755d(0x424)]&&_0x12bc1d[_0x2a755d(0x424)][_0x2a755d(0x48d)]===gt['OK']){const _0x5395ee=new URL(_0x12bc1d[_0x2a755d(0x39c)],this['_getDownloadEndpointURL']())[_0x2a755d(0x1d2)]();return Promise[_0x2a755d(0x3f4)](_0x5395ee);}return Promise[_0x2a755d(0x2bd)](_0x12bc1d[_0x2a755d(0x424)]);}catch(_0x86fd5f){return Promise[_0x2a755d(0x2bd)](_0x86fd5f);}}async[_0x22ac88(0x420)](_0x4813ca){var _0x1985f2=_0x22ac88;let _0x85b37='';if(!ln[_0x1985f2(0x26c)](_0x4813ca[_0x1985f2(0x48e)]))return this[_0x1985f2(0x45b)](),Promise[_0x1985f2(0x2bd)](new Error(z[_0x1985f2(0x256)][_0x1985f2(0x23a)]));if(_0x4813ca[_0x1985f2(0x242)]>un)return this[_0x1985f2(0x45b)](),Promise['reject'](new Error(z['ImageUploadStatusType'][_0x1985f2(0x368)]));try{const _0x3096f1=new FormData();_0x3096f1['append'](_0x1985f2(0x4fc),_0x4813ca);const _0x30af19=this['_univerInstanceService'][_0x1985f2(0x2c6)](),_0x3b87bb=_0x30af19==null?void 0x0:_0x30af19[_0x1985f2(0x263)]();if(!_0x3b87bb)throw new Error(_0x1985f2(0x262));const _0x5d78a3=this[_0x1985f2(0x23c)]()+_0x1985f2(0x3af)+_0x4813ca[_0x1985f2(0x242)][_0x1985f2(0x1d2)]()+_0x1985f2(0x4bd)+Et[_0x1985f2(0x347)]+_0x1985f2(0x3a9)+encodeURIComponent(_0x3b87bb),_0x2c189e={'body':_0x3096f1},_0x396fc3=(await this['_httpService'][_0x1985f2(0x4c1)](_0x5d78a3,_0x2c189e))['body'];if(typeof _0x396fc3[_0x1985f2(0x3ed)]!=_0x1985f2(0x2ef))return this[_0x1985f2(0x45b)](),Promise[_0x1985f2(0x2bd)](new Error(z['ImageUploadStatusType'][_0x1985f2(0x393)]));_0x85b37=_0x396fc3[_0x1985f2(0x3ed)];}catch{return this[_0x1985f2(0x45b)](),Promise[_0x1985f2(0x2bd)](new Error(z[_0x1985f2(0x256)][_0x1985f2(0x393)]));}return new Promise((_0xd6708b,_0x2c95e7)=>{var _0x189339=_0x1985f2;const _0x4abe0c=new FileReader();_0x4abe0c[_0x189339(0x3f0)](_0x4813ca),_0x4abe0c['onload']=_0x154a7e=>{var _0x9dc52=_0x189339,_0x267cb3;const _0x17811d=(_0x267cb3=_0x154a7e[_0x9dc52(0x28d)])==null?void 0x0:_0x267cb3[_0x9dc52(0x246)];if(_0x17811d==null){this['_decreaseWaiting'](),_0x2c95e7(new Error(z[_0x9dc52(0x256)][_0x9dc52(0x393)]));return;}const _0x20e092=a['Tools'][_0x9dc52(0x232)](0x6);_0xd6708b({'imageId':_0x20e092,'imageSourceType':z[_0x9dc52(0x3e9)][_0x9dc52(0x4dc)],'source':_0x85b37,'base64Cache':_0x17811d,'status':z['ImageUploadStatusType'][_0x9dc52(0x3df)]}),this[_0x9dc52(0x45b)]();};});}[_0x22ac88(0x23c)](){var _0x287f48=_0x22ac88,_0x3d9392,_0x58fd09;const _0x1b6b2f=this[_0x287f48(0x3b3)]['getConfig'](dn),_0x5739ca=this['_configService'][_0x287f48(0x324)](K);return(_0x58fd09=(_0x3d9392=_0x5739ca==null?void 0x0:_0x5739ca[_0x287f48(0x306)])!=null?_0x3d9392:_0x1b6b2f)!=null?_0x58fd09:vn;}[_0x22ac88(0x385)](){var _0x5078bf=_0x22ac88,_0x36574f,_0x53f750;const _0x40533c=this[_0x5078bf(0x3b3)]['getConfig'](Sn),_0x32f2d2=this[_0x5078bf(0x3b3)][_0x5078bf(0x324)](K);return(_0x53f750=(_0x36574f=_0x32f2d2==null?void 0x0:_0x32f2d2[_0x5078bf(0x2b3)])!=null?_0x36574f:_0x40533c)!=null?_0x53f750:fn;}[_0x22ac88(0x50f)](){var _0x487667=_0x22ac88,_0x19f791;const _0x4f432e=this['_configService']['getConfig'](K);return(_0x19f791=_0x4f432e==null?void 0x0:_0x4f432e[_0x487667(0x26e)])!=null?_0x19f791:location[_0x487667(0x501)];}[_0x22ac88(0x201)](_0x5c34b9,_0x232799){var _0x4982c0=_0x22ac88;return _0x5c34b9[_0x4982c0(0x3f8)]('{fileID}',_0x232799);}['_decreaseWaiting'](){var _0x37788a=_0x22ac88;this[_0x37788a(0x27e)]-=0x1,this[_0x37788a(0x47b)][_0x37788a(0x239)](this[_0x37788a(0x27e)]);}},exports[_0x22ac88(0x4d5)]=_n([Le(0x0,a[_0x22ac88(0x371)](Y[_0x22ac88(0x2e3)])),Le(0x1,a[_0x22ac88(0x389)]),Le(0x2,a[_0x22ac88(0x371)](a[_0x22ac88(0x52c)]))],exports[_0x22ac88(0x4d5)]);var pn=Object['getOwnPropertyDescriptor'],In=(_0x38600d,_0x3ccc1a,_0x19d64b,_0x37405)=>{for(var _0x4ae83c=_0x37405>0x1?void 0x0:_0x37405?pn(_0x3ccc1a,_0x19d64b):_0x3ccc1a,_0x1f87c5=_0x38600d['length']-0x1,_0x65261f;_0x1f87c5>=0x0;_0x1f87c5--)(_0x65261f=_0x38600d[_0x1f87c5])&&(_0x4ae83c=_0x65261f(_0x4ae83c)||_0x4ae83c);return _0x4ae83c;},at=(_0xc5b689,_0x4ab1c5)=>(_0x331e5d,_0x364cca)=>_0x4ab1c5(_0x331e5d,_0x364cca,_0xc5b689);const gn=_0x22ac88(0x2ba);exports[_0x22ac88(0x446)]=class{constructor(_0x59050b,_0x35a537){var _0x136e4=_0x22ac88;this['_configService']=_0x59050b,this[_0x136e4(0x266)]=_0x35a537;}['_getAPIPrefixPath'](){var _0x363374=_0x22ac88,_0x4b9db0,_0x4b4e88;const _0x2e8dc4=this[_0x363374(0x3b3)][_0x363374(0x324)](Ve),_0x3c0060=this[_0x363374(0x3b3)]['getConfig'](K);return(_0x4b4e88=(_0x4b9db0=_0x3c0060==null?void 0x0:_0x3c0060[_0x363374(0x247)])!=null?_0x4b9db0:_0x2e8dc4)!=null?_0x4b4e88:gn;}async[_0x22ac88(0x233)](_0x21eba1){var _0x45a6fa=_0x22ac88;const _0x4d5318=this[_0x45a6fa(0x462)]()+_0x45a6fa(0x37d);return{'list':[{'title':_0x45a6fa(0x4e3),'mentions':(await this[_0x45a6fa(0x266)][_0x45a6fa(0x26d)](_0x4d5318,{'params':{'objectID':_0x21eba1[_0x45a6fa(0x542)],'unitID':_0x21eba1['unitId']}}))[_0x45a6fa(0x3dd)]['collaborators'][_0x45a6fa(0x3f9)](_0x46ccdc=>({'objectId':_0x46ccdc['id'],'name':_0x46ccdc[_0x45a6fa(0x495)][_0x45a6fa(0x508)],'metadata':{'icon':_0x46ccdc['subject'][_0x45a6fa(0x270)]},'label':_0x46ccdc[_0x45a6fa(0x495)][_0x45a6fa(0x508)],'objectType':a[_0x45a6fa(0x49a)]['PERSON']})),'metadata':{},'type':a['MentionType'][_0x45a6fa(0x3cf)]}]};}},exports[_0x22ac88(0x446)]=In([at(0x0,a[_0x22ac88(0x371)](a['IConfigService'])),at(0x1,a['Inject'](Y[_0x22ac88(0x2e3)]))],exports[_0x22ac88(0x446)]);var En=Object[_0x22ac88(0x22c)],mn=(_0x4dd968,_0x5d8d08,_0x48e2a1,_0x54e289)=>{var _0x44bf49=_0x22ac88;for(var _0x6cdd34=_0x54e289>0x1?void 0x0:_0x54e289?En(_0x5d8d08,_0x48e2a1):_0x5d8d08,_0x44c790=_0x4dd968[_0x44bf49(0x295)]-0x1,_0x8dcdbf;_0x44c790>=0x0;_0x44c790--)(_0x8dcdbf=_0x4dd968[_0x44c790])&&(_0x6cdd34=_0x8dcdbf(_0x6cdd34)||_0x6cdd34);return _0x6cdd34;},le=(_0xa763c5,_0x487da8)=>(_0x359ef7,_0x2fabce)=>_0x487da8(_0x359ef7,_0x2fabce,_0xa763c5);let Ue=class extends a[_0x22ac88(0x434)]{constructor(_0x272ae3,_0x407b13,_0x3013e8,_0x365d4b,_0x1eca13){var _0x47336b=_0x22ac88;super(),this[_0x47336b(0x459)]=_0x272ae3,this['_univerInstanceService']=_0x407b13,this[_0x47336b(0x3db)]=_0x3013e8,this[_0x47336b(0x1d1)]=_0x365d4b,this[_0x47336b(0x309)]=_0x1eca13,this[_0x47336b(0x2ff)](),this[_0x47336b(0x4bf)]();}['_initCloseConn'](){var _0x2b9424=_0x22ac88;const _0x303b4b=async _0x17f57a=>{var _0x2f86ff=_0xfcb9;(await this[_0x2f86ff(0x1d1)][_0x2f86ff(0x2cd)](_0x17f57a))[_0x2f86ff(0x4a7)]['pipe'](V[_0x2f86ff(0x211)](_0xb21d39=>_0xb21d39[_0x2f86ff(0x35f)]===I['CollaborationEvent'][_0x2f86ff(0x206)]),V[_0x2f86ff(0x35b)](this[_0x2f86ff(0x2dc)]))[_0x2f86ff(0x382)](_0x2ec837=>{var _0xb206af=_0x2f86ff;const _0x30b166=_0x2ec837,{reason:_0x1006e2}=_0x30b166['data'];this[_0xb206af(0x309)][_0xb206af(0x208)]({'id':Z[_0xb206af(0x532)],'data':_0x1006e2}),this['_permissionService'][_0xb206af(0x31f)](new X[(_0xb206af(0x50a))](_0x17f57a)['id'],!0x1),this[_0xb206af(0x1d1)][_0xb206af(0x523)](_0x17f57a);});};$[_0x2b9424(0x268)](this[_0x2b9424(0x388)][_0x2b9424(0x53a)](a[_0x2b9424(0x216)][_0x2b9424(0x403)]),this[_0x2b9424(0x388)][_0x2b9424(0x53a)](a[_0x2b9424(0x216)][_0x2b9424(0x3d5)]))[_0x2b9424(0x2b2)](V[_0x2b9424(0x3f9)](_0x20e2eb=>_0x20e2eb[_0x2b9424(0x263)]()),V[_0x2b9424(0x211)](_0x1dbf1d=>!a[_0x2b9424(0x466)](_0x1dbf1d)),V[_0x2b9424(0x35b)](this[_0x2b9424(0x2dc)]))[_0x2b9424(0x382)](_0x43bac2=>{_0x303b4b(_0x43bac2);});}[_0x22ac88(0x2ff)](){var _0x55ab3b=_0x22ac88;const _0x369c9a=async _0x5bafc5=>{var _0x4f754d=_0xfcb9;const _0x2a35a1=await this['_collaborationSessionService'][_0x4f754d(0x2cd)](_0x5bafc5),_0x4fbf17=this[_0x4f754d(0x459)]['get'](X[_0x4f754d(0x2f0)]);_0x2a35a1['event$']['pipe'](V['filter'](_0x4c14c4=>_0x4c14c4[_0x4f754d(0x35f)]===I[_0x4f754d(0x36b)][_0x4f754d(0x30d)]),V[_0x4f754d(0x35b)](this['dispose$']))[_0x4f754d(0x382)](_0x5eea00=>{var _0x565f4e=_0x4f754d;const _0x24288d=_0x5eea00,{objectId:_0x65cd1a}=_0x24288d[_0x565f4e(0x381)];_0x65cd1a===_0x5bafc5?_0x4fbf17[_0x565f4e(0x2e8)](_0x5bafc5):_0x4fbf17['refreshPermission'](_0x5bafc5,_0x65cd1a);});};$[_0x55ab3b(0x268)](this['_univerInstanceService'][_0x55ab3b(0x53a)](a[_0x55ab3b(0x216)][_0x55ab3b(0x403)]))[_0x55ab3b(0x2b2)](V[_0x55ab3b(0x3f9)](_0x1bff85=>_0x1bff85[_0x55ab3b(0x263)]()),V[_0x55ab3b(0x211)](_0x20b5a8=>!a[_0x55ab3b(0x466)](_0x20b5a8)),V[_0x55ab3b(0x35b)](this[_0x55ab3b(0x2dc)]))['subscribe'](_0x26b232=>{_0x369c9a(_0x26b232);});}};Ue=mn([le(0x0,a[_0x22ac88(0x371)](a[_0x22ac88(0x3c3)])),le(0x1,a[_0x22ac88(0x52c)]),le(0x2,a[_0x22ac88(0x4b4)]),le(0x3,a['Inject'](exports['CollaborationSessionService'])),le(0x4,a['Inject'](ee))],Ue);var Cn=Object[_0x22ac88(0x22c)],Tn=(_0x3960fd,_0x251be1,_0x18005c,_0x40db06)=>{var _0x3548c5=_0x22ac88;for(var _0x11a928=_0x40db06>0x1?void 0x0:_0x40db06?Cn(_0x251be1,_0x18005c):_0x251be1,_0x5580f1=_0x3960fd[_0x3548c5(0x295)]-0x1,_0x35c0fa;_0x5580f1>=0x0;_0x5580f1--)(_0x35c0fa=_0x3960fd[_0x5580f1])&&(_0x11a928=_0x35c0fa(_0x11a928)||_0x11a928);return _0x11a928;},ct=(_0x49429c,_0x315638)=>(_0x18f6d5,_0xe6dcc1)=>_0x315638(_0x18f6d5,_0xe6dcc1,_0x49429c);exports[_0x22ac88(0x3c2)]=class{constructor(_0x5e4c85,_0x12c591){var _0x2a3250=_0x22ac88;this[_0x2a3250(0x3b3)]=_0x5e4c85,this[_0x2a3250(0x4f0)]=_0x12c591;}async[_0x22ac88(0x435)](_0x3d6fb9,_0x4fd41d){var _0x2763f1=_0x22ac88,_0x1e2999;const {unitID:_0x597d2e,type:_0x2ec7bf,revision:_0x5d5d48=0x0}=_0x4fd41d,_0xe08cb0=this['getSnapshotAPIPath']()+'/'+_0x2ec7bf+_0x2763f1(0x490)+_0x597d2e+'/rev/'+_0x5d5d48,_0x444d55=(await this[_0x2763f1(0x4f0)][_0x2763f1(0x26d)](_0xe08cb0))[_0x2763f1(0x3dd)],_0x36f4b9=(_0x1e2999=_0x444d55['snapshot'])==null?void 0x0:_0x1e2999[_0x2763f1(0x510)];if(_0x36f4b9){const _0x40fd01=_0x36f4b9==null?void 0x0:_0x36f4b9[_0x2763f1(0x4f8)],_0x92674a=I[_0x2763f1(0x43c)][_0x2763f1(0x21f)](I[_0x2763f1(0x49e)](_0x40fd01));_0x36f4b9[_0x2763f1(0x4f8)]=_0x92674a,Object[_0x2763f1(0x44a)](_0x36f4b9['sheets'])[_0x2763f1(0x38e)](([,_0x24ea9a])=>{var _0x5b0010=_0x2763f1;const _0x4c1c74=_0x24ea9a[_0x5b0010(0x4f8)],_0xe4aa34=I[_0x5b0010(0x43c)][_0x5b0010(0x21f)](I[_0x5b0010(0x49e)](_0x4c1c74));_0x24ea9a[_0x5b0010(0x4f8)]=_0xe4aa34;});}return _0x444d55;}async[_0x22ac88(0x2bb)](_0x26c2d9,_0x50c806){var _0x1e2eaf=_0x22ac88;const {unitID:_0x2ebb0e,type:_0x15388d,blockID:_0x487478}=_0x50c806,_0x17875f=this['_getAPIPrefix']()+'/'+_0x15388d+_0x1e2eaf(0x490)+_0x2ebb0e+_0x1e2eaf(0x24b)+_0x487478;return(await this['_httpService'][_0x1e2eaf(0x26d)](_0x17875f))['body'];}async[_0x22ac88(0x2f3)](_0x296064,_0x3dc05b){var _0x39047e=_0x22ac88;const {unitID:_0x22e7ba,type:_0x24acad,blockID:_0x337b65}=_0x3dc05b,_0x2cd892=this[_0x39047e(0x352)]()+_0x39047e(0x24b)+_0x24acad+_0x39047e(0x490)+_0x22e7ba+_0x39047e(0x24b)+_0x337b65;return(await this[_0x39047e(0x4f0)][_0x39047e(0x26d)](_0x2cd892))[_0x39047e(0x3dd)];}async[_0x22ac88(0x1f9)](_0x3e62cd,_0x434bfc){var _0x5543a7=_0x22ac88;const {unitID:_0x271e1c,type:_0x129dde,from:_0x5a2250,to:_0x2f4d81}=_0x434bfc,_0x37d320=this[_0x5543a7(0x352)]()+'/'+_0x129dde+_0x5543a7(0x490)+_0x271e1c+_0x5543a7(0x2e2)+_0x5a2250+_0x5543a7(0x3d2)+_0x2f4d81;return(await this['_httpService']['get'](_0x37d320))[_0x5543a7(0x3dd)];}[_0x22ac88(0x322)](){var _0x19befa=_0x22ac88,_0xdc7c4f;return(_0xdc7c4f=this[_0x19befa(0x3b3)][_0x19befa(0x324)](lt))!=null?_0xdc7c4f:this[_0x19befa(0x352)]();}[_0x22ac88(0x352)](){var _0x5db021=_0x22ac88,_0x3373d1,_0x496970;const _0x2d6b8b=this[_0x5db021(0x3b3)][_0x5db021(0x324)](_t),_0x2d87e6=this[_0x5db021(0x3b3)][_0x5db021(0x324)](K);return(_0x496970=(_0x3373d1=_0x2d87e6==null?void 0x0:_0x2d87e6[_0x5db021(0x298)])!=null?_0x3373d1:_0x2d6b8b)!=null?_0x496970:Lt;}async[_0x22ac88(0x344)](_0x292fd0,_0x32b091){var _0x2dd6ab=_0x22ac88;const _0x40e03d=_0x2dd6ab(0x4b6)+_0x32b091[_0x2dd6ab(0x48e)]+_0x2dd6ab(0x490)+_0x32b091[_0x2dd6ab(0x281)]+_0x2dd6ab(0x293);return(await this['_httpService'][_0x2dd6ab(0x26d)](_0x40e03d,{'params':{'resourceId':JSON['stringify'](_0x32b091[_0x2dd6ab(0x2eb)])}}))['body'];}['saveSnapshot'](){var _0xc62c02=_0x22ac88;throw new Error(_0xc62c02(0x1ef));}[_0x22ac88(0x4d9)](){var _0x44fca7=_0x22ac88;throw new Error(_0x44fca7(0x1ef));}[_0x22ac88(0x4ef)](){var _0xedc548=_0x22ac88;throw new Error(_0xedc548(0x1ef));}[_0x22ac88(0x3ea)](){var _0x3921c7=_0x22ac88;throw new Error(_0x3921c7(0x1ef));}[_0x22ac88(0x47d)](){var _0x3254e2=_0x22ac88;throw new Error(_0x3254e2(0x1ef));}[_0x22ac88(0x24c)](){var _0x585179=_0x22ac88;throw new Error(_0x585179(0x1ef));}},exports[_0x22ac88(0x3c2)]=Tn([ct(0x0,a[_0x22ac88(0x389)]),ct(0x1,a[_0x22ac88(0x371)](Y['HTTPService']))],exports[_0x22ac88(0x3c2)]);var bn=Object['getOwnPropertyDescriptor'],Rn=(_0x45ef80,_0x3c3072,_0x743e93,_0x4aafb3)=>{var _0x1747ef=_0x22ac88;for(var _0x175490=_0x4aafb3>0x1?void 0x0:_0x4aafb3?bn(_0x3c3072,_0x743e93):_0x3c3072,_0x406580=_0x45ef80[_0x1747ef(0x295)]-0x1,_0x2bf0c4;_0x406580>=0x0;_0x406580--)(_0x2bf0c4=_0x45ef80[_0x406580])&&(_0x175490=_0x2bf0c4(_0x175490)||_0x175490);return _0x175490;},ue=(_0x49782e,_0x1d4373)=>(_0x186c29,_0x38fdae)=>_0x1d4373(_0x186c29,_0x38fdae,_0x49782e);exports[_0x22ac88(0x2a2)]=class extends a['LocalUndoRedoService']{constructor(_0x13b7b3,_0x28aab4,_0x37da19,_0x3c7f9a,_0x3a921e){var _0x27eb76=_0x22ac88;super(_0x13b7b3,_0x28aab4,_0x37da19),this['_transformService']=_0x3c7f9a,this[_0x27eb76(0x297)]=_0x3a921e;}['transformUndoRedo'](_0x2d9d34,_0x574167){var _0x472c89=_0x22ac88;const _0x2ede97=this[_0x472c89(0x52f)](_0x2d9d34);if(_0x2ede97)try{const _0x491a04=this[_0x472c89(0x230)](_0x2ede97,_0x574167);this[_0x472c89(0x332)](_0x2d9d34,_0x491a04);}catch(_0x534beb){this['_logService'][_0x472c89(0x424)]('[CollaborationUndoRedoService]',_0x534beb),this[_0x472c89(0x238)](_0x2d9d34);}const _0x1fda7c=this['_getRedoStack'](_0x2d9d34);if(_0x1fda7c)try{const _0xf691a8=this[_0x472c89(0x230)](_0x1fda7c,_0x574167);this[_0x472c89(0x203)](_0x2d9d34,_0xf691a8);}catch(_0x5620e8){this[_0x472c89(0x297)][_0x472c89(0x424)](_0x5620e8),this[_0x472c89(0x234)](_0x2d9d34);}}[_0x22ac88(0x238)](_0x21ca79){var _0x5363d2=_0x22ac88;const _0x5e9b17=this[_0x5363d2(0x52f)](_0x21ca79);_0x5e9b17&&(_0x5e9b17['length']=0x0,this[_0x5363d2(0x245)]());}['_clearRedo'](_0xf38a83){var _0x9d8771=_0x22ac88;const _0x3ccfc7=this[_0x9d8771(0x21d)](_0xf38a83);_0x3ccfc7&&(_0x3ccfc7[_0x9d8771(0x295)]=0x0,this[_0x9d8771(0x245)]());}[_0x22ac88(0x332)](_0x3ad926,_0x47b8d5){var _0x173f46=_0x22ac88;this[_0x173f46(0x2ea)][_0x173f46(0x506)](_0x3ad926,_0x47b8d5),this[_0x173f46(0x245)]();}[_0x22ac88(0x203)](_0x4a4eb0,_0xa4ed9a){var _0x4fa18e=_0x22ac88;this[_0x4fa18e(0x2db)]['set'](_0x4a4eb0,_0xa4ed9a),this[_0x4fa18e(0x245)]();}[_0x22ac88(0x230)](_0x3895fe,_0x9c2af1){var _0x4a8958=_0x22ac88;const _0x5bfca6=[];let _0x46550b=_0x9c2af1,_0x418d3b=_0x9c2af1;for(let _0x43ca88=_0x3895fe[_0x4a8958(0x295)]-0x1;_0x43ca88>=0x0;_0x43ca88--){const {unitID:_0x57006d,undoMutations:_0x4cb0bc,redoMutations:_0x36654e}=_0x3895fe[_0x43ca88],_0x1fc9c4=this[_0x4a8958(0x544)]['transformMutationsWithChangeset'](_0x46550b,_0x4cb0bc),_0x2394b6=this[_0x4a8958(0x544)][_0x4a8958(0x448)](_0x418d3b,_0x36654e);if(I[_0x4a8958(0x522)](_0x1fc9c4)||I[_0x4a8958(0x522)](_0x2394b6)){this[_0x4a8958(0x297)][_0x4a8958(0x424)](_0x4a8958(0x4e2),_0x4a8958(0x34f),_0x1fc9c4,_0x2394b6);break;}_0x46550b=_0x1fc9c4['c1Prime'],_0x418d3b=_0x2394b6[_0x4a8958(0x2d8)],_0x5bfca6['push']({'unitID':_0x57006d,'undoMutations':_0x1fc9c4[_0x4a8958(0x3b6)],'redoMutations':_0x2394b6[_0x4a8958(0x3b6)]});}return _0x5bfca6[_0x4a8958(0x3e0)]();}},exports[_0x22ac88(0x2a2)]=Rn([ue(0x0,a[_0x22ac88(0x52c)]),ue(0x1,a[_0x22ac88(0x4f2)]),ue(0x2,a[_0x22ac88(0x516)]),ue(0x3,I[_0x22ac88(0x337)]),ue(0x4,a['ILogService'])],exports[_0x22ac88(0x2a2)]);var On=Object[_0x22ac88(0x243)],yn=Object['getOwnPropertyDescriptor'],Nn=(_0x32c491,_0x3a04a3,_0x466669)=>_0x3a04a3 in _0x32c491?On(_0x32c491,_0x3a04a3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x466669}):_0x32c491[_0x3a04a3]=_0x466669,Un=(_0x36bfea,_0x32c1a0,_0x3ce3bc,_0x478bc8)=>{var _0x540625=_0x22ac88;for(var _0xca91f7=_0x478bc8>0x1?void 0x0:_0x478bc8?yn(_0x32c1a0,_0x3ce3bc):_0x32c1a0,_0x4c7bad=_0x36bfea[_0x540625(0x295)]-0x1,_0x4eed4f;_0x4c7bad>=0x0;_0x4c7bad--)(_0x4eed4f=_0x36bfea[_0x4c7bad])&&(_0xca91f7=_0x4eed4f(_0xca91f7)||_0xca91f7);return _0xca91f7;},Me=(_0x5ee862,_0x331be2)=>(_0x199406,_0x5c352d)=>_0x331be2(_0x199406,_0x5c352d,_0x5ee862),Dn=(_0x4426d2,_0x231bcd,_0x22bb42)=>Nn(_0x4426d2,_0x231bcd+'',_0x22bb42);const An=_0x22ac88(0x20d);exports[_0x22ac88(0x4cd)]=class extends a[_0x22ac88(0x4a4)]{constructor(_0x59314e,_0x1a5e0e,_0x2fc8c7,_0x4846f4){var _0x15e2a2=_0x22ac88;super(),A(this,_0x15e2a2(0x3e2)),(this[_0x15e2a2(0x297)]=_0x1a5e0e,this[_0x15e2a2(0x459)]=_0x2fc8c7,this[_0x15e2a2(0x3b3)]=_0x4846f4);const {..._0x567596}=a[_0x15e2a2(0x268)]({},Yt,_0x59314e);if(!_0x567596[_0x15e2a2(0x4e9)])throw new Error(_0x15e2a2(0x2c3));this[_0x15e2a2(0x3e2)]=_0x567596,this['_configService'][_0x15e2a2(0x478)](K,_0x567596);}[_0x22ac88(0x4f1)](){var _0x29af72=_0x22ac88;this['_registerDependencies'](),this[_0x29af72(0x1d8)]();}['_registerDependencies'](){var _0x3014e7=_0x22ac88,_0x2e9d07,_0x4c72fa;this['_injector'][_0x3014e7(0x346)](a[_0x3014e7(0x3b4)])&&this[_0x3014e7(0x297)][_0x3014e7(0x424)](_0x3014e7(0x395),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x50364c=a[_0x3014e7(0x1ed)]([[a[_0x3014e7(0x3b4)],{'useClass':exports[_0x3014e7(0x2a2)]}],[exports['CollaborationSessionService']],[exports[_0x3014e7(0x457)]],[exports[_0x3014e7(0x394)]],[ye],[Ne],[$e],[Ue],[ee],[exports['DataLoaderService']],[He,{'useClass':this[_0x3014e7(0x3e2)][_0x3014e7(0x4e9)]}],[I[_0x3014e7(0x444)],{'useClass':exports[_0x3014e7(0x3c2)]}],[a['IAuthzIoService'],{'useClass':exports[_0x3014e7(0x29e)]}],[z[_0x3014e7(0x412)],{'useClass':exports[_0x3014e7(0x4d5)]}],[a[_0x3014e7(0x3bf)],{'useClass':exports[_0x3014e7(0x446)]}],[exports[_0x3014e7(0x48c)]],[xe]],(_0x2e9d07=this['_config'])==null?void 0x0:_0x2e9d07[_0x3014e7(0x4d6)]);if(!((_0x4c72fa=this['_config'])!=null&&_0x4c72fa['enableSingleActiveInstanceLock'])){const _0x369f88=_0x50364c[_0x3014e7(0x348)](([_0x39223a])=>_0x39223a===de);_0x369f88!==-0x1&&_0x50364c[_0x3014e7(0x2ab)](_0x369f88,0x1);}a[_0x3014e7(0x1fd)](this[_0x3014e7(0x459)],_0x50364c);}['_initDependencies'](){var _0x2db5ed=_0x22ac88,_0x2b3a64,_0x24d216,_0x2e4b36;this[_0x2db5ed(0x459)][_0x2db5ed(0x26d)](Y['HTTPService'])['registerHTTPInterceptor']({'priority':0x14,'interceptor':Y['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x2b3a64=this['_config'])!=null&&_0x2b3a64['enableOfflineEditing']||(_0x24d216=this[_0x2db5ed(0x459)][_0x2db5ed(0x26d)](q,a[_0x2db5ed(0x517)][_0x2db5ed(0x4e7)]))==null||_0x24d216[_0x2db5ed(0x32e)](),(_0x2e4b36=this['_config'])!=null&&_0x2e4b36[_0x2db5ed(0x269)]&&a[_0x2db5ed(0x1ec)](this[_0x2db5ed(0x459)],[[ye]]),a[_0x2db5ed(0x1ec)](this['_injector'],[[Ne],[exports[_0x2db5ed(0x48c)]],[Ue]]);}},Dn(exports[_0x22ac88(0x4cd)],_0x22ac88(0x4db),An),exports['UniverCollaborationClientPlugin']=Un([a[_0x22ac88(0x4d1)](I['UniverCollaborationPlugin'],Y[_0x22ac88(0x1d7)]),Me(0x1,a[_0x22ac88(0x3a5)]),Me(0x2,a['Inject'](a[_0x22ac88(0x3c3)])),Me(0x3,a[_0x22ac88(0x389)])],exports[_0x22ac88(0x4cd)]),exports[_0x22ac88(0x41e)]=Ve,exports[_0x22ac88(0x471)]=K,exports['COLLAB_SUBMIT_CHANGESET_URL_KEY']=pt,exports[_0x22ac88(0x3e6)]=ut,exports[_0x22ac88(0x44f)]=Be,exports[_0x22ac88(0x3aa)]=Z,exports[_0x22ac88(0x244)]=ee,exports[_0x22ac88(0x350)]=$e,exports[_0x22ac88(0x1d9)]=dt,exports[_0x22ac88(0x2c7)]=Kt,exports['DEFAULT_WS_SESSION_TICKET_URL']=kt,exports[_0x22ac88(0x50d)]=vt,exports[_0x22ac88(0x2c2)]=ke,exports[_0x22ac88(0x36c)]=He,exports[_0x22ac88(0x4a0)]=q,exports[_0x22ac88(0x429)]=mt,exports[_0x22ac88(0x2b5)]=de,exports[_0x22ac88(0x489)]=Ft,exports['LOCAL_CACHE_INTERVAL_KEY']=Bt,exports[_0x22ac88(0x30a)]=It,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=Gt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=ft,exports[_0x22ac88(0x4a8)]=Mt,exports['SNAPSHOT_SERVER_URL_KEY']=_t,exports[_0x22ac88(0x405)]=lt,exports['SessionStatus']=re,exports[_0x22ac88(0x304)]=je,exports[_0x22ac88(0x1df)]=Ct,exports[_0x22ac88(0x502)]=oi,exports['serializeCombRequest']=Tt;
|