@univerjs-pro/collaboration-client 0.8.1-nightly.202506181607 → 0.8.1-nightly.202506191607
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 +9 -9
package/lib/cjs/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
'use strict';var _0x154c14=_0x1a03;(function(_0x5ece0a,_0x544560){var _0x3d49b9=_0x1a03,_0x596d07=_0x5ece0a();while(!![]){try{var _0x33e884=parseInt(_0x3d49b9(0x1d1))/0x1*(-parseInt(_0x3d49b9(0x184))/0x2)+parseInt(_0x3d49b9(0x402))/0x3*(-parseInt(_0x3d49b9(0x238))/0x4)+-parseInt(_0x3d49b9(0x2ec))/0x5+parseInt(_0x3d49b9(0x23b))/0x6+-parseInt(_0x3d49b9(0x265))/0x7+-parseInt(_0x3d49b9(0x376))/0x8*(parseInt(_0x3d49b9(0x47a))/0x9)+-parseInt(_0x3d49b9(0x18f))/0xa*(-parseInt(_0x3d49b9(0x257))/0xb);if(_0x33e884===_0x544560)break;else _0x596d07['push'](_0x596d07['shift']());}catch(_0x27722d){_0x596d07['push'](_0x596d07['shift']());}}}(_0x2d8a,0x5530a));var Dt=Object['defineProperty'],At=(_0x3b76b3,_0xa3afc2,_0x105099)=>_0xa3afc2 in _0x3b76b3?Dt(_0x3b76b3,_0xa3afc2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x105099}):_0x3b76b3[_0xa3afc2]=_0x105099,A=(_0x1b1dd1,_0x43ac1a,_0x5845ca)=>At(_0x1b1dd1,typeof _0x43ac1a!=_0x154c14(0x3dc)?_0x43ac1a+'':_0x43ac1a,_0x5845ca);Object['defineProperty'](exports,Symbol[_0x154c14(0x31b)],{'value':_0x154c14(0x248)});const a=require('@univerjs/core'),$=require('rxjs'),V=require(_0x154c14(0x43b)),I=require(_0x154c14(0x39a)),Y=require(_0x154c14(0x1c5)),Pt=require(_0x154c14(0x223)),ht=require(_0x154c14(0x409)),X=require(_0x154c14(0x2d0)),z=require(_0x154c14(0x3f3)),wt=require(_0x154c14(0x221)),_t=_0x154c14(0x434),Lt=_0x154c14(0x49e),lt=_0x154c14(0x239),Mt=_0x154c14(0x3c8),xt=0x7d0,ut=_0x154c14(0x24f),dt='ws://127.0.0.1:8000/universer-api/comb/connect',kt=_0x154c14(0x419),vt=_0x154c14(0x311),Ht=0x7530,ke=_0x154c14(0x39c),St=0x4e20,$t=0x4e20,ft=_0x154c14(0x2f7),jt=0x3,Bt='LOCAL_CACHE_INTERVAL',Ft=0x3e8,pt=_0x154c14(0x390),Vt=_0x154c14(0x24d),It=_0x154c14(0x408),Wt='/universer-api/oidc/authpage',Gt='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Kt=_0x154c14(0x387);var gt=(_0x5644d6=>(_0x5644d6[_0x5644d6[_0x154c14(0x461)]=0x0]='UNDEFINED',_0x5644d6[_0x5644d6['OK']=0x1]='OK',_0x5644d6[_0x5644d6[_0x154c14(0x350)]=0x2]=_0x154c14(0x350),_0x5644d6[_0x5644d6['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x5644d6[_0x5644d6[_0x154c14(0x2c5)]=0x4]='NOT_FOUND',_0x5644d6[_0x5644d6['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x5644d6[_0x5644d6[_0x154c14(0x34d)]=0x6]=_0x154c14(0x34d),_0x5644d6[_0x5644d6[_0x154c14(0x4d4)]=0x7]=_0x154c14(0x4d4),_0x5644d6[_0x5644d6[_0x154c14(0x219)]=0x8]=_0x154c14(0x219),_0x5644d6[_0x5644d6[_0x154c14(0x36c)]=0x9]=_0x154c14(0x36c),_0x5644d6[_0x5644d6[_0x154c14(0x1f9)]=0xa]=_0x154c14(0x1f9),_0x5644d6[_0x5644d6[_0x154c14(0x303)]=0x1389]=_0x154c14(0x303),_0x5644d6[_0x5644d6[_0x154c14(0x3d9)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5644d6[_0x5644d6['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x154c14(0x31a),_0x5644d6[_0x5644d6[_0x154c14(0x4d6)]=0x1773]=_0x154c14(0x4d6),_0x5644d6[_0x5644d6[_0x154c14(0x278)]=0x1b59]=_0x154c14(0x278),_0x5644d6[_0x5644d6[_0x154c14(0x482)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5644d6[_0x5644d6['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x154c14(0x2a2),_0x5644d6[_0x5644d6['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5644d6[_0x5644d6[_0x154c14(0x215)]=0x1b5d]=_0x154c14(0x215),_0x5644d6[_0x5644d6[_0x154c14(0x33e)]=0x1f41]=_0x154c14(0x33e),_0x5644d6[_0x5644d6[_0x154c14(0x1a7)]=0x2329]=_0x154c14(0x1a7),_0x5644d6[_0x5644d6['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x154c14(0x318),_0x5644d6[_0x5644d6[_0x154c14(0x380)]=0x232b]=_0x154c14(0x380),_0x5644d6[_0x5644d6['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x154c14(0x233),_0x5644d6[_0x5644d6[_0x154c14(0x2d8)]=0x232d]=_0x154c14(0x2d8),_0x5644d6[_0x5644d6[_0x154c14(0x300)]=0x2711]=_0x154c14(0x300),_0x5644d6[_0x5644d6[_0x154c14(0x291)]=0x2712]=_0x154c14(0x291),_0x5644d6[_0x5644d6[_0x154c14(0x4d0)]=0x2713]=_0x154c14(0x4d0),_0x5644d6[_0x5644d6[_0x154c14(0x1e2)]=0x2714]=_0x154c14(0x1e2),_0x5644d6[_0x5644d6['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x154c14(0x4e8),_0x5644d6[_0x5644d6[_0x154c14(0x2e1)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5644d6[_0x5644d6['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x154c14(0x395),_0x5644d6[_0x5644d6['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5644d6[_0x5644d6[_0x154c14(0x398)]=0x271e]=_0x154c14(0x398),_0x5644d6[_0x5644d6[_0x154c14(0x3d4)]=0x271f]=_0x154c14(0x3d4),_0x5644d6[_0x5644d6[_0x154c14(0x4bf)]=0x2af9]=_0x154c14(0x4bf),_0x5644d6[_0x5644d6['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x154c14(0x45b),_0x5644d6[_0x5644d6[_0x154c14(0x4a3)]=0x2ee2]=_0x154c14(0x4a3),_0x5644d6[_0x5644d6[_0x154c14(0x365)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x5644d6[_0x5644d6[_0x154c14(0x3a4)]=0x2ee4]=_0x154c14(0x3a4),_0x5644d6[_0x5644d6[_0x154c14(0x201)]=0x2ee5]=_0x154c14(0x201),_0x5644d6[_0x5644d6[_0x154c14(0x34e)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x5644d6[_0x5644d6[_0x154c14(0x298)]=0x32ca]=_0x154c14(0x298),_0x5644d6[_0x5644d6[_0x154c14(0x183)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5644d6[_0x5644d6[_0x154c14(0x38c)]=-0x1]=_0x154c14(0x38c),_0x5644d6))(gt||{}),J=(_0x37ee19=>(_0x37ee19[_0x37ee19[_0x154c14(0x46f)]=0x0]=_0x154c14(0x46f),_0x37ee19[_0x37ee19[_0x154c14(0x49a)]=0x1]=_0x154c14(0x49a),_0x37ee19[_0x37ee19['UNIVER_SHEET']=0x2]=_0x154c14(0x378),_0x37ee19[_0x37ee19[_0x154c14(0x1a4)]=0x3]=_0x154c14(0x1a4),_0x37ee19[_0x37ee19[_0x154c14(0x465)]=0x4]=_0x154c14(0x465),_0x37ee19[_0x37ee19[_0x154c14(0x38c)]=-0x1]=_0x154c14(0x38c),_0x37ee19))(J||{}),W=(_0x6ec250=>(_0x6ec250[_0x6ec250[_0x154c14(0x1dc)]=0x0]=_0x154c14(0x1dc),_0x6ec250[_0x6ec250[_0x154c14(0x205)]=0x1]=_0x154c14(0x205),_0x6ec250[_0x6ec250['JOIN']=0x2]=_0x154c14(0x2b2),_0x6ec250[_0x6ec250['LEAVE']=0x3]=_0x154c14(0x3cc),_0x6ec250[_0x6ec250[_0x154c14(0x2d1)]=0x4]=_0x154c14(0x2d1),_0x6ec250[_0x6ec250[_0x154c14(0x4fc)]=0x5]=_0x154c14(0x4fc),_0x6ec250[_0x6ec250['RECV']=0x6]=_0x154c14(0x1ff),_0x6ec250[_0x6ec250[_0x154c14(0x38c)]=-0x1]=_0x154c14(0x38c),_0x6ec250))(W||{}),oe=(_0x2785fc=>(_0x2785fc[_0x2785fc[_0x154c14(0x423)]=0x0]=_0x154c14(0x423),_0x2785fc[_0x2785fc['OK']=0x1]='OK',_0x2785fc[_0x2785fc[_0x154c14(0x3ce)]=0x2]=_0x154c14(0x3ce),_0x2785fc[_0x2785fc[_0x154c14(0x2f5)]=0x3e9]=_0x154c14(0x2f5),_0x2785fc[_0x2785fc[_0x154c14(0x413)]=0x3ea]=_0x154c14(0x413),_0x2785fc[_0x2785fc[_0x154c14(0x3a1)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x2785fc[_0x2785fc['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x154c14(0x405),_0x2785fc[_0x2785fc[_0x154c14(0x38c)]=-0x1]='UNRECOGNIZED',_0x2785fc))(oe||{}),Et=(_0x47e581=>(_0x47e581[_0x47e581[_0x154c14(0x440)]=0x0]=_0x154c14(0x440),_0x47e581[_0x47e581[_0x154c14(0x1a1)]=0x1]=_0x154c14(0x1a1),_0x47e581[_0x47e581['HttpExport']=0x2]=_0x154c14(0x3b6),_0x47e581[_0x47e581['UnitEmbedded']=0x3]=_0x154c14(0x1c3),_0x47e581[_0x47e581[_0x154c14(0x285)]=0x4]=_0x154c14(0x285),_0x47e581[_0x47e581[_0x154c14(0x1db)]=0x5]=_0x154c14(0x1db),_0x47e581[_0x47e581[_0x154c14(0x38c)]=-0x1]='UNRECOGNIZED',_0x47e581))(Et||{});const K=_0x154c14(0x208),Yt={};var Z=(_0x356845=>(_0x356845[_0x154c14(0x3f8)]=_0x154c14(0x3f8),_0x356845[_0x154c14(0x3eb)]='PERMISSION_DENIED',_0x356845[_0x154c14(0x393)]='CONFLICT',_0x356845[_0x154c14(0x2cd)]=_0x154c14(0x2cd),_0x356845[_0x154c14(0x204)]='JOIN_ROOM_FAILED',_0x356845[_0x154c14(0x2dd)]='SOCKET_FAILED_RETRY',_0x356845[_0x154c14(0x436)]=_0x154c14(0x436),_0x356845[_0x154c14(0x2b0)]=_0x154c14(0x2b0),_0x356845))(Z||{});class ee{constructor(){var _0x3e9a9d=_0x154c14;A(this,_0x3e9a9d(0x32e),new $[(_0x3e9a9d(0x21e))]()),A(this,_0x3e9a9d(0x35f),this[_0x3e9a9d(0x32e)][_0x3e9a9d(0x416)]());}[_0x154c14(0x1a3)](_0x532e48){var _0x2e572b=_0x154c14;this['_event$'][_0x2e572b(0x4e1)](_0x532e48);}}const mt=a[_0x154c14(0x4ea)](_0x154c14(0x2bd));function Ct(_0x31b970){var _0x10516e=_0x154c14,_0x5e510c,_0x40636d,_0x387d90,_0xe383b5,_0x5d7197;const _0x2f8eb2=_0x31b970[_0x10516e(0x4c1)],_0x3e649e=JSON[_0x10516e(0x1b3)](_0x2f8eb2);switch(_0x3e649e[_0x10516e(0x403)]){case W[_0x10516e(0x4fc)]:case W[_0x10516e(0x205)]:{const _0xfb765e=_0x3e649e[_0x10516e(0x224)];return{..._0x3e649e,'data':_0xfb765e,'cmd':_0x3e649e[_0x10516e(0x403)]};}case W[_0x10516e(0x2b2)]:{const _0x48655b=_0x3e649e['joinRsp'];return{..._0x3e649e,'data':_0x48655b,'cmd':_0x3e649e[_0x10516e(0x403)]};}case W[_0x10516e(0x1ff)]:{const _0x7c8bf0=_0x3e649e[_0x10516e(0x1b7)];switch(_0x7c8bf0[_0x10516e(0x192)]){case I[_0x10516e(0x48b)]['PERMISSION_REJ']:return{..._0x3e649e,'data':{..._0x7c8bf0,'data':(_0x5e510c=_0x7c8bf0['permissionRejEvent'])==null?void 0x0:_0x5e510c['cs']},'cmd':_0x3e649e['cmd']};case I[_0x10516e(0x48b)]['CHANGESET_ACK']:return{..._0x3e649e,'data':{..._0x7c8bf0,'data':(_0x40636d=_0x7c8bf0[_0x10516e(0x472)])==null?void 0x0:_0x40636d['cs']},'cmd':_0x3e649e['cmd']};case I[_0x10516e(0x48b)]['NEW_CHANGESETS']:return{..._0x3e649e,'data':{..._0x7c8bf0,'data':(_0x387d90=_0x7c8bf0[_0x10516e(0x4f9)])==null?void 0x0:_0x387d90['cs']},'cmd':_0x3e649e[_0x10516e(0x403)]};case I[_0x10516e(0x48b)][_0x10516e(0x3ad)]:return{..._0x3e649e,'data':{..._0x7c8bf0,'data':(_0xe383b5=_0x7c8bf0['csRejEvent'])==null?void 0x0:_0xe383b5['cs']},'cmd':_0x3e649e[_0x10516e(0x403)]};case I['CollaborationEvent'][_0x10516e(0x319)]:return{..._0x3e649e,'data':{..._0x7c8bf0,'data':(_0x5d7197=_0x7c8bf0[_0x10516e(0x263)])==null?void 0x0:_0x5d7197['cs']},'cmd':_0x3e649e[_0x10516e(0x403)]};case I[_0x10516e(0x48b)][_0x10516e(0x3ee)]:return{..._0x3e649e,'data':{..._0x7c8bf0,'data':_0x7c8bf0['updateCursorEvent']},'cmd':_0x3e649e[_0x10516e(0x403)]};case I['CollaborationEvent'][_0x10516e(0x2d7)]:return{..._0x3e649e,'data':{..._0x7c8bf0,'data':_0x7c8bf0['joinEvent']},'cmd':_0x3e649e[_0x10516e(0x403)]};case I[_0x10516e(0x48b)][_0x10516e(0x258)]:return{..._0x3e649e,'data':{..._0x7c8bf0,'data':_0x7c8bf0[_0x10516e(0x2d5)]},'cmd':_0x3e649e[_0x10516e(0x403)]};case I[_0x10516e(0x48b)][_0x10516e(0x3b1)]:return{..._0x3e649e,'data':{..._0x7c8bf0,'data':_0x7c8bf0[_0x10516e(0x196)]},'cmd':_0x3e649e[_0x10516e(0x403)]};case I[_0x10516e(0x48b)][_0x10516e(0x3b5)]:case I[_0x10516e(0x48b)][_0x10516e(0x2fe)]:return{..._0x3e649e,'data':{..._0x7c8bf0,'data':_0x7c8bf0['liveShareOperation']},'cmd':_0x3e649e['cmd']};case I[_0x10516e(0x48b)][_0x10516e(0x1f7)]:return{..._0x3e649e,'data':{..._0x7c8bf0,'data':_0x7c8bf0[_0x10516e(0x196)]},'cmd':_0x3e649e[_0x10516e(0x403)]};case I['CollaborationEvent'][_0x10516e(0x2e3)]:return{..._0x3e649e,'data':_0x7c8bf0,'cmd':_0x3e649e[_0x10516e(0x403)]};case I[_0x10516e(0x48b)]['COMMENT_UPDATE']:return{..._0x3e649e,'data':{..._0x7c8bf0,'data':_0x7c8bf0[_0x10516e(0x35a)]},'cmd':_0x3e649e[_0x10516e(0x403)]};case I[_0x10516e(0x48b)]['UPDATE_PERMISSION_OBJ']:return{..._0x3e649e,'data':{..._0x7c8bf0,'data':_0x7c8bf0['updatePermissionObjEvent']},'cmd':_0x3e649e['cmd']};case I[_0x10516e(0x48b)][_0x10516e(0x1b6)]:return{..._0x3e649e,'data':{..._0x7c8bf0,'data':_0x7c8bf0[_0x10516e(0x42e)]},'cmd':_0x3e649e[_0x10516e(0x403)]};case I[_0x10516e(0x48b)]['UNISCRIPT_RUN']:return{..._0x3e649e,'data':{..._0x7c8bf0,'data':_0x7c8bf0[_0x10516e(0x2d3)]},'cmd':_0x3e649e[_0x10516e(0x403)]};default:return _0x3e649e;}}default:return _0x3e649e;}}function Tt(_0x25b690){var _0x2559dd=_0x154c14;switch(_0x25b690[_0x2559dd(0x403)]){case W['HEARTBEAT']:case W[_0x2559dd(0x205)]:return JSON[_0x2559dd(0x276)]({'cmd':_0x25b690[_0x2559dd(0x403)],'routeKey':_0x25b690[_0x2559dd(0x476)]});case W['INGEST']:{let _0x2d8fad;switch(_0x25b690[_0x2559dd(0x4c1)][_0x2559dd(0x192)]){case I[_0x2559dd(0x48b)][_0x2559dd(0x3ee)]:{_0x2d8fad={'eventID':I['CollaborationEvent'][_0x2559dd(0x3ee)],'updateCursorEvent':_0x25b690['data'][_0x2559dd(0x4c1)]};break;}case I['CollaborationEvent']['USERS_LEAVE']:{_0x2d8fad={'eventID':I[_0x2559dd(0x48b)]['USERS_LEAVE'],'leaveEvent':_0x25b690[_0x2559dd(0x4c1)][_0x2559dd(0x4c1)]};break;}case I[_0x2559dd(0x48b)][_0x2559dd(0x2d7)]:{_0x2d8fad={'eventID':I[_0x2559dd(0x48b)][_0x2559dd(0x2d7)],'joinEvent':_0x25b690['data']['data']};break;}case I[_0x2559dd(0x48b)]['LIVESHARE_NEW_HOST']:{_0x2d8fad={'eventID':I['CollaborationEvent'][_0x2559dd(0x3b1)],'liveShareNewHost':_0x25b690['data'][_0x2559dd(0x4c1)]};break;}case I['CollaborationEvent'][_0x2559dd(0x2fe)]:{_0x2d8fad={'eventID':I[_0x2559dd(0x48b)][_0x2559dd(0x2fe)],'liveShareOperation':_0x25b690[_0x2559dd(0x4c1)]['data']};break;}case I[_0x2559dd(0x48b)][_0x2559dd(0x1f7)]:{_0x2d8fad={'eventID':I['CollaborationEvent'][_0x2559dd(0x1f7)],'liveShareTerminate':_0x25b690[_0x2559dd(0x4c1)][_0x2559dd(0x4c1)]};break;}case I['CollaborationEvent'][_0x2559dd(0x261)]:{_0x2d8fad={'eventID':I[_0x2559dd(0x48b)]['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x25b690[_0x2559dd(0x4c1)]['data']};break;}case I[_0x2559dd(0x48b)][_0x2559dd(0x3b5)]:{_0x2d8fad={'eventID':I[_0x2559dd(0x48b)][_0x2559dd(0x3b5)]};break;}default:_0x2d8fad={'eventID':_0x25b690[_0x2559dd(0x4c1)]['eventID']};}return JSON[_0x2559dd(0x276)]({'cmd':_0x25b690[_0x2559dd(0x403)],'routeKey':_0x25b690[_0x2559dd(0x476)],'collaMsg':_0x2d8fad});}case W[_0x2559dd(0x2b2)]:return JSON[_0x2559dd(0x276)]({'cmd':_0x25b690[_0x2559dd(0x403)],'routeKey':_0x25b690['routeKey'],'joinReq':_0x25b690[_0x2559dd(0x4c1)]});case W[_0x2559dd(0x3cc)]:return JSON[_0x2559dd(0x276)]({'cmd':_0x25b690[_0x2559dd(0x403)],'routeKey':_0x25b690[_0x2559dd(0x476)],'leaveReq':_0x25b690[_0x2559dd(0x4c1)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var qt=Object[_0x154c14(0x2bb)],zt=(_0x74b6be,_0x4b935d,_0x1447fc,_0x2ce794)=>{var _0x18fb3c=_0x154c14;for(var _0x469fe2=_0x2ce794>0x1?void 0x0:_0x2ce794?qt(_0x4b935d,_0x1447fc):_0x4b935d,_0x2101dd=_0x74b6be[_0x18fb3c(0x454)]-0x1,_0x1c50cf;_0x2101dd>=0x0;_0x2101dd--)(_0x1c50cf=_0x74b6be[_0x2101dd])&&(_0x469fe2=_0x1c50cf(_0x469fe2)||_0x469fe2);return _0x469fe2;},_e=(_0x4ce786,_0x2ff5a0)=>(_0xf7cecd,_0x4ba117)=>_0x2ff5a0(_0xf7cecd,_0x4ba117,_0x4ce786);const He=a[_0x154c14(0x4ea)]('univer-pro.collaboration-client-socket-service');function Jt(_0x2aa28b,_0x3d61d1,_0x9df79e){var _0x37e5c4=_0x154c14;return _0x2aa28b+'/'+_0x3d61d1+_0x37e5c4(0x1ba)+_0x9df79e+_0x37e5c4(0x3cb);}exports[_0x154c14(0x1b9)]=class extends a[_0x154c14(0x492)]{constructor(_0x10578a,_0xf5d1be,_0x348112,_0x4bd917,_0x2c7534){var _0x1bea5b=_0x154c14;super(),this[_0x1bea5b(0x42d)]=_0x10578a,this[_0x1bea5b(0x2b6)]=_0xf5d1be,this[_0x1bea5b(0x33c)]=_0x348112,this['_logService']=_0x4bd917,this[_0x1bea5b(0x194)]=_0x2c7534;}[_0x154c14(0x36f)](_0x468996){var _0x44b233=_0x154c14;const _0x2829c6=this['_injector'][_0x44b233(0x225)](Y[_0x44b233(0x43f)]);if(!_0x2829c6)throw new Error(_0x44b233(0x44c));const _0x4e4424=_0x2829c6[_0x44b233(0x254)](_0x468996);if(!_0x4e4424)throw new Error(_0x44b233(0x355));const _0x12ee2d=new a[(_0x44b233(0x447))](),_0x450494=new $[(_0x44b233(0x21e))]();_0x12ee2d[_0x44b233(0x232)](_0x4e4424[_0x44b233(0x33a)][_0x44b233(0x356)](_0x92ed64=>_0x450494['next'](_0x92ed64))),_0x12ee2d[_0x44b233(0x232)](a['toDisposable'](()=>_0x450494[_0x44b233(0x188)]()));const _0x5cb83d=new $[(_0x44b233(0x21e))]();_0x12ee2d[_0x44b233(0x232)](_0x4e4424[_0x44b233(0x18e)][_0x44b233(0x356)](_0x3d40e8=>_0x5cb83d['next'](_0x3d40e8))),_0x12ee2d['add'](a['toDisposable'](()=>_0x5cb83d['complete']()));const _0x1a0fd4=new $[(_0x44b233(0x21e))]();_0x12ee2d[_0x44b233(0x232)](_0x4e4424[_0x44b233(0x452)][_0x44b233(0x356)](_0x5d9418=>{var _0x106dbc=_0x44b233;const _0x15d095=Ct(_0x5d9418);_0x1a0fd4[_0x106dbc(0x4e1)](_0x15d095);})),_0x12ee2d[_0x44b233(0x232)](a[_0x44b233(0x432)](()=>_0x1a0fd4[_0x44b233(0x188)]()));let _0x51882a;const _0x4ee2fc=()=>{var _0x226bac=_0x44b233;_0x5cb83d['next'](new Event(_0x226bac(0x487))),_0x450494[_0x226bac(0x4e1)](new Event(_0x226bac(0x487))),_0x51882a[_0x226bac(0x360)]();};return _0x51882a={'memberID':'','close$':_0x450494[_0x44b233(0x416)](),'error$':_0x5cb83d[_0x44b233(0x416)](),'open$':_0x4e4424[_0x44b233(0x267)],'message$':_0x1a0fd4[_0x44b233(0x416)](),'send':_0x1c2bcd=>{var _0x1c8d54=_0x44b233;if(_0x1c2bcd[_0x1c8d54(0x403)]===W[_0x1c8d54(0x2d1)]){if(_0x1c2bcd['data'][_0x1c8d54(0x192)]===I[_0x1c8d54(0x48b)][_0x1c8d54(0x335)]){this[_0x1c8d54(0x1cd)](_0x51882a,_0x1c2bcd[_0x1c8d54(0x4c1)])[_0x1c8d54(0x33d)](_0x8906a4=>{var _0x366ec5=_0x1c8d54;this['_logService'][_0x366ec5(0x1da)](_0x8906a4),_0x4ee2fc();});return;}if(_0x1c2bcd[_0x1c8d54(0x4c1)][_0x1c8d54(0x192)]===I[_0x1c8d54(0x48b)][_0x1c8d54(0x4cd)]){const _0x54396e=_0x1c2bcd['data'];this['_fetchMissChangesets'](_0x54396e)[_0x1c8d54(0x4cb)](_0x2144ab=>{var _0x14dc0f=_0x1c8d54;_0x1a0fd4[_0x14dc0f(0x4e1)]({'cmd':W[_0x14dc0f(0x1ff)],'code':oe['OK'],'routeKey':_0x54396e['data'][_0x14dc0f(0x4b5)],'routeType':'','data':{'eventID':I[_0x14dc0f(0x48b)]['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x2144ab}}});})[_0x1c8d54(0x33d)](_0x3a6a41=>{var _0x561ab5=_0x1c8d54;this[_0x561ab5(0x282)][_0x561ab5(0x1da)](_0x3a6a41),_0x4ee2fc();});return;}}_0x4e4424['send'](Tt(_0x1c2bcd));},'close':()=>{var _0xfdb92b=_0x44b233;_0x4e4424[_0xfdb92b(0x360)](),_0x12ee2d[_0xfdb92b(0x313)]();}},_0x51882a;}async[_0x154c14(0x1cd)](_0x42d28e,_0x467eab){var _0x40890b=_0x154c14,_0x3189a3,_0x455297;const {unitType:_0x3a37c0,unitID:_0x4f11fb,changeset:_0x56f927}=_0x467eab['data'],_0x206510={'unitID':_0x4f11fb,'memberID':_0x42d28e['memberID'],'type':_0x3a37c0,'changeset':I[_0x40890b(0x27d)](_0x56f927)},_0xfba1e=this['_configService']['getConfig'](pt),_0xc05df3=this[_0x40890b(0x33c)][_0x40890b(0x4db)](K),_0x3e4502=Jt((_0x455297=(_0x3189a3=_0xc05df3==null?void 0x0:_0xc05df3[_0x40890b(0x4b3)])!=null?_0x3189a3:_0xfba1e)!=null?_0x455297:Vt,_0x3a37c0,_0x4f11fb);try{await this[_0x40890b(0x2b6)][_0x40890b(0x437)](_0x3e4502,{'body':_0x206510});}catch(_0x3841de){throw this[_0x40890b(0x282)]['error'](_0x40890b(0x424),_0x40890b(0x3b8)),_0x3841de;}}async['_fetchMissChangesets'](_0x157759){var _0xd9d84c=_0x154c14;const {unitID:_0x5ea84d,from:_0x3302e5,to:_0x3afe08,unitType:_0x31e275}=_0x157759[_0xd9d84c(0x4c1)];return(await this[_0xd9d84c(0x194)][_0xd9d84c(0x4a6)]({'metadata':void 0x0},{'unitID':_0x5ea84d,'type':_0x31e275,'from':_0x3302e5,'to':_0x3afe08}))[_0xd9d84c(0x4bc)];}},exports[_0x154c14(0x1b9)]=zt([_e(0x0,a[_0x154c14(0x25b)](a['Injector'])),_e(0x1,a[_0x154c14(0x25b)](Y['HTTPService'])),_e(0x2,a[_0x154c14(0x307)]),_e(0x3,a[_0x154c14(0x36a)]),_e(0x4,I[_0x154c14(0x4de)])],exports[_0x154c14(0x1b9)]);const Xt=_0x154c14(0x4e6);function Zt(_0x213606){var _0x238857=_0x154c14;return JSON[_0x238857(0x276)](_0x213606)['length'];}class $e{constructor(){var _0x364b2f=_0x154c14;A(this,_0x364b2f(0x496),new $[(_0x364b2f(0x21e))]()),A(this,'commentUpdate$',this[_0x364b2f(0x496)][_0x364b2f(0x416)]());}[_0x154c14(0x1fe)](_0x163e27){var _0xe81d06=_0x154c14;this[_0xe81d06(0x496)][_0xe81d06(0x4e1)](_0x163e27);}}var Qt=Object[_0x154c14(0x2bb)],ei=(_0x2b848c,_0x20537c,_0x500010,_0x2d1c5c)=>{for(var _0x5e9255=_0x2d1c5c>0x1?void 0x0:_0x2d1c5c?Qt(_0x20537c,_0x500010):_0x20537c,_0x49bc52=_0x2b848c['length']-0x1,_0x3cf1c2;_0x49bc52>=0x0;_0x49bc52--)(_0x3cf1c2=_0x2b848c[_0x49bc52])&&(_0x5e9255=_0x3cf1c2(_0x5e9255)||_0x5e9255);return _0x5e9255;},We=(_0x5b053b,_0x3a4d50)=>(_0x23df7d,_0x342464)=>_0x3a4d50(_0x23df7d,_0x342464,_0x5b053b);exports['MemberService']=class extends a['Disposable']{constructor(_0x4c1c8c,_0x41eda2){var _0x495163=_0x154c14;super(),A(this,_0x495163(0x2a1),new Map()),A(this,'_roomCreated$',new $['Subject']()),(this[_0x495163(0x1c0)]=_0x4c1c8c,this['_userManagerService']=_0x41eda2,this[_0x495163(0x1b0)]($['merge'](this[_0x495163(0x1c0)]['getTypeOfUnitDisposed$'](a[_0x495163(0x377)][_0x495163(0x378)])[_0x495163(0x37e)](V[_0x495163(0x3f5)](_0x46d5b4=>_0x46d5b4[_0x495163(0x2de)]())),this['_univerInstanceService'][_0x495163(0x25d)](a['UniverInstanceType'][_0x495163(0x49a)])[_0x495163(0x37e)](V[_0x495163(0x3f5)](_0x56a0e6=>_0x56a0e6['getUnitId']())),this[_0x495163(0x1c0)][_0x495163(0x25d)](a[_0x495163(0x377)]['UNIVER_SLIDE'])[_0x495163(0x37e)](V[_0x495163(0x3f5)](_0x105c37=>_0x105c37[_0x495163(0x2de)]())))[_0x495163(0x356)](_0x14a5df=>this[_0x495163(0x4b4)](_0x14a5df))));}['waitForRoom$'](_0x3b1db6){var _0x7c5567=_0x154c14;return this[_0x7c5567(0x2a1)][_0x7c5567(0x3a5)](_0x3b1db6)?$['of'](this[_0x7c5567(0x2a1)]['get'](_0x3b1db6)):this[_0x7c5567(0x43e)][_0x7c5567(0x37e)](V[_0x7c5567(0x3f5)](_0x307f16=>{var _0x3867a6=_0x7c5567;if(_0x307f16===_0x3b1db6)return this[_0x3867a6(0x2a1)][_0x3867a6(0x225)](_0x307f16);}));}['setCurrentUser'](_0x3085fe){var _0x216525=_0x154c14;this[_0x216525(0x241)][_0x216525(0x427)](_0x3085fe);}[_0x154c14(0x2c8)](){var _0x59955d=_0x154c14;return this[_0x59955d(0x241)]['getCurrentUser']();}['updateMember'](_0x2941e3,_0x13ab80){var _0x29484c=_0x154c14;let _0x453eed=this['_roomMembers'][_0x29484c(0x225)](_0x2941e3);_0x453eed||(_0x453eed=new ti(),this[_0x29484c(0x2a1)][_0x29484c(0x18c)](_0x2941e3,_0x453eed),this['_roomCreated$'][_0x29484c(0x4e1)](_0x2941e3)),_0x453eed[_0x29484c(0x367)](_0x13ab80);}[_0x154c14(0x1a8)](_0x2d926a,_0xe45b6){var _0x4d99e9=_0x154c14;const _0x311932=this[_0x4d99e9(0x2a1)]['get'](_0x2d926a);_0x311932&&_0x311932[_0x4d99e9(0x1a8)](_0xe45b6);}[_0x154c14(0x3b4)](_0x507950){var _0x20ba3a=_0x154c14;return this[_0x20ba3a(0x2a1)]['get'](_0x507950);}[_0x154c14(0x2ba)](_0x4e3ac6,_0x9e1348){var _0x4fb1b2=_0x154c14;const _0x2723d6=this[_0x4fb1b2(0x2a1)]['get'](_0x4e3ac6);if(_0x2723d6)return _0x2723d6['getMember'](_0x9e1348);}[_0x154c14(0x4b4)](_0x43c4e6){var _0x33f296=_0x154c14;const _0x25f9a1=this[_0x33f296(0x2a1)][_0x33f296(0x225)](_0x43c4e6);_0x25f9a1&&(_0x25f9a1[_0x33f296(0x313)](),this[_0x33f296(0x2a1)][_0x33f296(0x3cf)](_0x43c4e6));}['dispose'](){var _0x20eb52=_0x154c14;this[_0x20eb52(0x2a1)]['forEach'](_0x165dee=>_0x165dee[_0x20eb52(0x313)]()),this['_roomMembers'][_0x20eb52(0x4ee)](),this[_0x20eb52(0x43e)][_0x20eb52(0x188)]();}},exports[_0x154c14(0x245)]=ei([We(0x0,a[_0x154c14(0x22a)]),We(0x1,a[_0x154c14(0x25b)](a['UserManagerService']))],exports['MemberService']);class ti extends a['Disposable']{constructor(){var _0x418935=_0x154c14;super(...arguments),A(this,'_members',new Map()),A(this,_0x418935(0x41b),new $[(_0x418935(0x200))](this['_members'])),A(this,_0x418935(0x226),this[_0x418935(0x41b)][_0x418935(0x416)]());}[_0x154c14(0x313)](){var _0x385a86=_0x154c14;this[_0x385a86(0x337)]['clear']();}[_0x154c14(0x367)](_0x4bbf7f){var _0x54cb72=_0x154c14;this['_members']['set'](_0x4bbf7f['memberID'],_0x4bbf7f),this[_0x54cb72(0x34a)]();}[_0x154c14(0x1a8)](_0x2295a2){var _0x4574e3=_0x154c14;this[_0x4574e3(0x337)]['delete'](_0x2295a2);}[_0x154c14(0x2ba)](_0x205857){var _0x17bee3=_0x154c14;return this['_members'][_0x17bee3(0x225)](_0x205857);}[_0x154c14(0x25e)](){var _0x21b60a=_0x154c14;return Array[_0x21b60a(0x471)](this[_0x21b60a(0x337)][_0x21b60a(0x18d)]());}[_0x154c14(0x34a)](){var _0x41b297=_0x154c14;this[_0x41b297(0x41b)][_0x41b297(0x4e1)](this[_0x41b297(0x337)]);}}var ii=Object[_0x154c14(0x2bb)],ni=(_0x1fdc91,_0x30719a,_0x4fe0a9,_0x24ec5b)=>{for(var _0xb5190b=_0x24ec5b>0x1?void 0x0:_0x24ec5b?ii(_0x30719a,_0x4fe0a9):_0x30719a,_0x42e7a3=_0x1fdc91['length']-0x1,_0x6bb58f;_0x42e7a3>=0x0;_0x42e7a3--)(_0x6bb58f=_0x1fdc91[_0x42e7a3])&&(_0xb5190b=_0x6bb58f(_0xb5190b)||_0xb5190b);return _0xb5190b;},se=(_0x2b5854,_0x59063f)=>(_0x1570a7,_0xf429ed)=>_0x59063f(_0x1570a7,_0xf429ed,_0x2b5854),re=(_0x28401d=>(_0x28401d[_0x28401d[_0x154c14(0x333)]=0x0]=_0x154c14(0x333),_0x28401d[_0x28401d[_0x154c14(0x4b9)]=0x1]='JOINING',_0x28401d[_0x28401d[_0x154c14(0x1be)]=0x2]=_0x154c14(0x1be),_0x28401d[_0x28401d[_0x154c14(0x38b)]=0x3]=_0x154c14(0x38b),_0x28401d))(re||{});const Ge={[oe[_0x154c14(0x3ce)]]:_0x154c14(0x2c9),[oe[_0x154c14(0x2f5)]]:_0x154c14(0x348),[oe[_0x154c14(0x413)]]:_0x154c14(0x368),[oe[_0x154c14(0x3a1)]]:_0x154c14(0x3c7),[oe[_0x154c14(0x405)]]:_0x154c14(0x1e9)};exports[_0x154c14(0x244)]=class extends a['RxDisposable']{constructor(_0x2c981c,_0x5b09e8,_0x30a264,_0x3f6a00,_0x5dea7,_0x4b1ec8,_0xd4f4e2,_0x4afe07,_0x5343b4){var _0x5d08ab=_0x154c14;super(),A(this,'_sessionStatus$',new $[(_0x5d08ab(0x200))](0x0)),A(this,_0x5d08ab(0x235),this[_0x5d08ab(0x3d2)][_0x5d08ab(0x416)]()),A(this,'_event$',new $[(_0x5d08ab(0x21e))]()),A(this,_0x5d08ab(0x35f),this['_event$'][_0x5d08ab(0x416)]()),A(this,'_socket'),A(this,'_socketMessageSubscription'),A(this,_0x5d08ab(0x316)),A(this,_0x5d08ab(0x4e9),!0x1),A(this,_0x5d08ab(0x1b8),null),(this[_0x5d08ab(0x21d)]=_0x2c981c,this[_0x5d08ab(0x282)]=_0x30a264,this[_0x5d08ab(0x33c)]=_0x3f6a00,this[_0x5d08ab(0x422)]=_0x5dea7,this[_0x5d08ab(0x4ec)]=_0x4b1ec8,this[_0x5d08ab(0x1e0)]=_0xd4f4e2,this['_collaborationUIEventService']=_0x4afe07,this[_0x5d08ab(0x2e5)]=_0x5343b4,this['_shouldReportTelemetry']=!!this[_0x5d08ab(0x2e5)],_0x5b09e8[_0x5d08ab(0x37e)]($['takeUntil'](this[_0x5d08ab(0x491)]))['subscribe'](_0x3d7907=>{var _0x31d444=_0x5d08ab,_0x25f515;typeof _0x3d7907>'u'||(this[_0x31d444(0x1f2)]=_0x3d7907,_0x3d7907?(this[_0x31d444(0x19d)](_0x3d7907),this[_0x31d444(0x26c)]=_0x3d7907[_0x31d444(0x452)]['subscribe'](_0x5ef23c=>{var _0x14686e=_0x31d444;_0x5ef23c[_0x14686e(0x476)]===this[_0x14686e(0x21d)]&&this[_0x14686e(0x297)](_0x5ef23c);})):(this[_0x31d444(0x332)](),this['_sessionStatus$']['next'](0x2),(_0x25f515=this[_0x31d444(0x26c)])==null||_0x25f515[_0x31d444(0x4ab)](),this['_socketMessageSubscription']=null));}));}get[_0x154c14(0x1ad)](){var _0x51d690=_0x154c14;return this[_0x51d690(0x3d2)]['getValue']();}[_0x154c14(0x28c)](){var _0x416d4b=_0x154c14,_0x596181,_0xe38b80;return(_0xe38b80=(_0x596181=this[_0x416d4b(0x1f2)])==null?void 0x0:_0x596181[_0x416d4b(0x417)])!=null?_0xe38b80:null;}[_0x154c14(0x313)](){var _0x25b949=_0x154c14;super['dispose'](),this[_0x25b949(0x491)][_0x25b949(0x4e1)](),this[_0x25b949(0x491)][_0x25b949(0x188)]();}['close'](){var _0xa11f19=_0x154c14,_0x3fb8fd,_0x57c755;this[_0xa11f19(0x332)](),(_0x3fb8fd=this[_0xa11f19(0x1f2)])==null||_0x3fb8fd[_0xa11f19(0x3c9)]({'cmd':W[_0xa11f19(0x3cc)],'data':{'roomID':this[_0xa11f19(0x21d)]}}),(_0x57c755=this[_0xa11f19(0x1f2)])==null||_0x57c755[_0xa11f19(0x360)](),this[_0xa11f19(0x32e)][_0xa11f19(0x188)](),this[_0xa11f19(0x3d2)]['complete'](),this[_0xa11f19(0x313)]();}[_0x154c14(0x297)](_0x23d80c){var _0xca321e=_0x154c14;_0x23d80c[_0xca321e(0x403)]===W[_0xca321e(0x2b2)]?this[_0xca321e(0x271)](_0x23d80c):_0x23d80c[_0xca321e(0x403)]===W[_0xca321e(0x1ff)]&&this[_0xca321e(0x20f)](_0x23d80c);}['_joinRoom'](_0x35d27a){var _0x143b77=_0x154c14;this[_0x143b77(0x3d2)]['next'](0x1),_0x35d27a[_0x143b77(0x3c9)]({'cmd':W[_0x143b77(0x2b2)],'routeKey':this[_0x143b77(0x21d)],'routeType':'','data':{'rooms':[{'roomID':this[_0x143b77(0x21d)]}]}});}[_0x154c14(0x271)](_0x53546c){var _0x350d4e=_0x154c14,_0x1c28c1;if(_0x53546c[_0x350d4e(0x4a1)]in Ge){this[_0x350d4e(0x305)][_0x350d4e(0x1a3)]({'id':Z[_0x350d4e(0x204)],'data':Ge[_0x53546c['code']]}),this[_0x350d4e(0x3d2)][_0x350d4e(0x4e1)](0x2);return;}this[_0x350d4e(0x3d2)][_0x350d4e(0x4e1)](0x3);const _0x31035b=(_0x1c28c1=_0x53546c['data']['roomInfos'][this[_0x350d4e(0x21d)]])==null?void 0x0:_0x1c28c1['members'];_0x31035b&&_0x31035b[_0x350d4e(0x396)](_0x3fbd07=>this[_0x350d4e(0x4ec)][_0x350d4e(0x367)](this['_unitID'],_0x3fbd07));}[_0x154c14(0x20f)](_0x3b26a6){var _0x19b8a0=_0x154c14;try{const _0xf9e594=_0x3b26a6['data'];switch(_0xf9e594[_0x19b8a0(0x192)]){case I[_0x19b8a0(0x48b)][_0x19b8a0(0x2d7)]:this[_0x19b8a0(0x2d6)](_0xf9e594),this[_0x19b8a0(0x32e)][_0x19b8a0(0x4e1)](_0xf9e594);break;case I['CollaborationEvent'][_0x19b8a0(0x258)]:this[_0x19b8a0(0x1ab)](_0xf9e594),this['_event$'][_0x19b8a0(0x4e1)](_0xf9e594);break;case I[_0x19b8a0(0x48b)][_0x19b8a0(0x468)]:case I[_0x19b8a0(0x48b)][_0x19b8a0(0x319)]:this[_0x19b8a0(0x3be)](),this[_0x19b8a0(0x42c)](),this[_0x19b8a0(0x32e)][_0x19b8a0(0x4e1)](_0xf9e594);break;case I['CollaborationEvent'][_0x19b8a0(0x2e3)]:this[_0x19b8a0(0x282)][_0x19b8a0(0x1da)](_0x19b8a0(0x2c6)+JSON['stringify'](_0xf9e594)),this[_0x19b8a0(0x32e)][_0x19b8a0(0x4e1)](_0xf9e594);break;case I[_0x19b8a0(0x48b)][_0x19b8a0(0x479)]:this[_0x19b8a0(0x1e0)][_0x19b8a0(0x1fe)](_0xf9e594[_0x19b8a0(0x4c1)]),this[_0x19b8a0(0x32e)][_0x19b8a0(0x4e1)](_0xf9e594);break;default:this[_0x19b8a0(0x32e)][_0x19b8a0(0x4e1)](_0xf9e594);}}catch(_0x5ac7c5){this[_0x19b8a0(0x282)]['error'](_0x5ac7c5,_0x3b26a6);}}[_0x154c14(0x2d6)](_0x3956be){var _0x4be58d=_0x154c14;this[_0x4be58d(0x4ec)][_0x4be58d(0x367)](this[_0x4be58d(0x21d)],_0x3956be['data']);}[_0x154c14(0x1ab)](_0x3e45bc){var _0x2d83df=_0x154c14;this[_0x2d83df(0x4ec)]['removeMember'](this['_unitID'],_0x3e45bc[_0x2d83df(0x4c1)][_0x2d83df(0x417)]);}async['send'](_0x2a833f,_0x1d7ef5){var _0x1cf59c=_0x154c14;if(this[_0x1cf59c(0x1ad)]!==0x3||!this[_0x1cf59c(0x1f2)])throw new Error(_0x1cf59c(0x349));try{_0x2a833f[_0x1cf59c(0x192)]===I[_0x1cf59c(0x48b)]['SUBMIT_CHANGESET']&&(this[_0x1cf59c(0x27a)](),this['_startTelemetryCollaborationNewChangeset'](_0x2a833f)),this[_0x1cf59c(0x1f2)][_0x1cf59c(0x3c9)]({'cmd':W['INGEST'],'routeKey':_0x1d7ef5,'routeType':'','data':_0x2a833f});}catch(_0x35d55e){this[_0x1cf59c(0x282)][_0x1cf59c(0x1da)](_0x35d55e);}}[_0x154c14(0x27a)](){var _0x2bdf04=_0x154c14,_0x9a5a71;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x583dfd=_0x1a03;this[_0x583dfd(0x316)]=null,this[_0x583dfd(0x305)]['emitEvent']({'id':Z[_0x583dfd(0x2b0)]});},(_0x9a5a71=this[_0x2bdf04(0x33c)]['getConfig'](ke))!=null?_0x9a5a71:St);}[_0x154c14(0x42c)](){var _0x4a9457=_0x154c14;this[_0x4a9457(0x316)]&&(clearTimeout(this[_0x4a9457(0x316)]),this['_collaborationTimeoutTimer']=null);}[_0x154c14(0x3ac)](_0xbe2c4e){var _0x1bf502=_0x154c14;if(!this[_0x1bf502(0x4e9)])return;const {data:_0x2c7c1c}=_0xbe2c4e,{unitID:_0x59a4f9,changeset:_0x11fad2}=_0x2c7c1c,{mutations:_0x3a181c,type:_0x1c75e4}=_0x11fad2;this[_0x1bf502(0x1b8)]={'unitId':_0x59a4f9,'type':_0x1c75e4,'startTime':performance[_0x1bf502(0x38d)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x3a181c)};}[_0x154c14(0x3be)](){var _0x14934f=_0x154c14;if(this[_0x14934f(0x4e9)]){if(!this[_0x14934f(0x1b8)]){this[_0x14934f(0x282)][_0x14934f(0x1da)](_0x14934f(0x424),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x14934f(0x1b8)][_0x14934f(0x475)]=performance[_0x14934f(0x38d)](),this['_telemetryInfo'][_0x14934f(0x3d1)]=this['_telemetryInfo']['stopTime']-this['_telemetryInfo'][_0x14934f(0x3a8)],this[_0x14934f(0x2e5)][_0x14934f(0x345)](Xt,this[_0x14934f(0x1b8)]),this['_telemetryInfo']=null;}}[_0x154c14(0x332)](){var _0x2df0a9=_0x154c14;this[_0x2df0a9(0x1b8)]=null;}},exports['CollaborationSession']=ni([se(0x2,a['ILogService']),se(0x3,a[_0x154c14(0x307)]),se(0x4,a['Inject'](a['LocaleService'])),se(0x5,a[_0x154c14(0x25b)](exports[_0x154c14(0x245)])),se(0x6,a[_0x154c14(0x25b)]($e)),se(0x7,a['Inject'](ee)),se(0x8,a[_0x154c14(0x46e)](Pt[_0x154c14(0x22d)]))],exports['CollaborationSession']);var ri=Object[_0x154c14(0x2bb)],si=(_0x4ebe45,_0x337bf1,_0x50ef0a,_0x39dc17)=>{for(var _0x126d0c=_0x39dc17>0x1?void 0x0:_0x39dc17?ri(_0x337bf1,_0x50ef0a):_0x337bf1,_0x2bf9c0=_0x4ebe45['length']-0x1,_0x5942b8;_0x2bf9c0>=0x0;_0x2bf9c0--)(_0x5942b8=_0x4ebe45[_0x2bf9c0])&&(_0x126d0c=_0x5942b8(_0x126d0c)||_0x126d0c);return _0x126d0c;},he=(_0x495c2e,_0x5a913e)=>(_0x567bc5,_0x1f7760)=>_0x5a913e(_0x567bc5,_0x1f7760,_0x495c2e);exports[_0x154c14(0x28a)]=class extends a[_0x154c14(0x492)]{constructor(_0x24f043,_0x3c0b41,_0x29499c,_0xb25a97,_0x49d9a8,_0x9ff27f){var _0x252e1a=_0x154c14;super(),A(this,_0x252e1a(0x4c9),new $[(_0x252e1a(0x200))](void 0x0)),A(this,'socket$',this['_socket$']['asObservable']()),A(this,_0x252e1a(0x29a),null),A(this,'_sessions',new Map()),A(this,_0x252e1a(0x2d9),new $['BehaviorSubject'](re['IDLE'])),A(this,_0x252e1a(0x41c),this[_0x252e1a(0x2d9)][_0x252e1a(0x416)]()),A(this,_0x252e1a(0x3a7),!0x1),A(this,'_retryConnectingTimer'),A(this,_0x252e1a(0x23d),0x0),A(this,_0x252e1a(0x2c0)),A(this,'_timeoutTimer'),(this[_0x252e1a(0x42d)]=_0x24f043,this['_logService']=_0x3c0b41,this[_0x252e1a(0x33c)]=_0x29499c,this[_0x252e1a(0x1d6)]=_0xb25a97,this[_0x252e1a(0x305)]=_0x49d9a8,this[_0x252e1a(0x270)]=_0x9ff27f,this[_0x252e1a(0x34b)]());}get[_0x154c14(0x1f2)](){var _0x7d637d=_0x154c14;return this[_0x7d637d(0x4c9)][_0x7d637d(0x3ab)]();}['_listenToNetworkCondition'](){var _0x5ec4a2=_0x154c14;this[_0x5ec4a2(0x270)]&&this[_0x5ec4a2(0x1b0)](this[_0x5ec4a2(0x270)]['online$'][_0x5ec4a2(0x356)](_0x71eb18=>{var _0x39bc5a=_0x5ec4a2;_0x71eb18&&!this['_socket']&&this['reconnect'](),_0x71eb18||this[_0x39bc5a(0x1e8)]();}));}[_0x154c14(0x313)](){var _0x277dc5=_0x154c14;super[_0x277dc5(0x313)](),this[_0x277dc5(0x22e)](),this['_clearTimeoutTimer'](),this[_0x277dc5(0x3a0)](),this['_sessions'][_0x277dc5(0x396)](_0x36a60a=>_0x36a60a['dispose']()),this[_0x277dc5(0x3e7)]['clear'](),this[_0x277dc5(0x2d9)]['complete']();}async[_0x154c14(0x2fc)](_0x23937a){var _0xc67b46=_0x154c14;if(this['_sessions'][_0xc67b46(0x3a5)](_0x23937a))return this[_0xc67b46(0x3e7)][_0xc67b46(0x225)](_0x23937a);this[_0xc67b46(0x4a4)]();const _0x1f058b=this[_0xc67b46(0x42d)]['createInstance'](exports[_0xc67b46(0x244)],_0x23937a,this[_0xc67b46(0x4c9)][_0xc67b46(0x416)]());return this[_0xc67b46(0x3e7)][_0xc67b46(0x18c)](_0x23937a,_0x1f058b),_0x1f058b;}[_0x154c14(0x325)](_0x2b9457){var _0xe43791=_0x154c14,_0xaffca8;const _0x271e3a=this[_0xe43791(0x3e7)]['get'](_0x2b9457);_0x271e3a&&(this[_0xe43791(0x3e7)][_0xe43791(0x3cf)](_0x2b9457),_0x271e3a['close']()),this[_0xe43791(0x3e7)][_0xe43791(0x342)]||(_0xaffca8=this[_0xe43791(0x1f2)])==null||_0xaffca8[_0xe43791(0x360)]();}['reconnect'](){var _0x9138cf=_0x154c14;this[_0x9138cf(0x23d)]=0x0,this[_0x9138cf(0x22e)](),this[_0x9138cf(0x399)]();}[_0x154c14(0x22e)](){var _0x2db638=_0x154c14;this[_0x2db638(0x1ee)]!=null&&(clearTimeout(this[_0x2db638(0x1ee)]),this[_0x2db638(0x1ee)]=null);}async[_0x154c14(0x418)](){var _0xb99b31=_0x154c14,_0x33f236,_0x39695d;const _0x54783f=this['_configService'][_0xb99b31(0x4db)](ut),_0x131ce4=this[_0xb99b31(0x33c)][_0xb99b31(0x4db)](K),_0x54b1f2=(_0x39695d=(_0x33f236=_0x131ce4==null?void 0x0:_0x131ce4[_0xb99b31(0x3da)])!=null?_0x33f236:_0x54783f)!=null?_0x39695d:dt,_0x390adc=await this[_0xb99b31(0x1d6)][_0xb99b31(0x254)](_0x54b1f2);return this[_0xb99b31(0x29a)]=_0x390adc,_0x390adc;}async['_tryEnsureSocket'](){var _0x4dc3e4=_0x154c14,_0x378e57,_0x4a337b;try{const _0x1fb295=(_0x4a337b=(_0x378e57=this[_0x4dc3e4(0x1f2)])!=null?_0x378e57:this['_candidateSocket'])!=null?_0x4a337b:await this[_0x4dc3e4(0x418)]();if(_0x1fb295){const _0x5eb90f=_0x1fb295['send'];_0x1fb295[_0x4dc3e4(0x3c9)]=_0x401f31=>(this[_0x4dc3e4(0x1b1)](),_0x5eb90f[_0x4dc3e4(0x341)](_0x1fb295,[_0x401f31])),_0x1fb295['message$'][_0x4dc3e4(0x356)](_0x23cfca=>this[_0x4dc3e4(0x449)](_0x1fb295,_0x23cfca)),_0x1fb295[_0x4dc3e4(0x18e)][_0x4dc3e4(0x37e)](V['take'](0x1))[_0x4dc3e4(0x356)](_0x32dde0=>this[_0x4dc3e4(0x282)][_0x4dc3e4(0x1da)](_0x4dc3e4(0x2f2),_0x32dde0)),_0x1fb295[_0x4dc3e4(0x267)][_0x4dc3e4(0x37e)](V['take'](0x1))[_0x4dc3e4(0x356)](()=>{var _0x557ca4=_0x4dc3e4;this[_0x557ca4(0x47e)](_0x1fb295);}),_0x1fb295[_0x4dc3e4(0x33a)][_0x4dc3e4(0x37e)](V[_0x4dc3e4(0x274)](0x1))[_0x4dc3e4(0x356)](_0x5d4645=>{var _0x5a5f0c=_0x4dc3e4;this[_0x5a5f0c(0x282)]['debug']('[CollaborationSessionService]',_0x5a5f0c(0x3a9),_0x5d4645),this[_0x5a5f0c(0x20c)]();});}}catch(_0x384c6f){this[_0x4dc3e4(0x282)][_0x4dc3e4(0x1da)](_0x384c6f),this[_0x4dc3e4(0x20c)]();}}[_0x154c14(0x47e)](_0x339488){var _0x5e5774=_0x154c14;this['_logService']['debug'](_0x5e5774(0x38e),'socket\x20open.'),_0x339488[_0x5e5774(0x3c9)]({'cmd':W[_0x5e5774(0x205)]}),this[_0x5e5774(0x1b1)]();}['_onOffline'](){var _0x5c0e07=_0x154c14;this[_0x5c0e07(0x3a7)]=!0x1,this['_candidateSocket']=null,this[_0x5c0e07(0x2d9)][_0x5c0e07(0x4e1)](re[_0x5c0e07(0x1be)]),this[_0x5c0e07(0x4c9)][_0x5c0e07(0x4e1)](null),this[_0x5c0e07(0x27b)](),this[_0x5c0e07(0x3a0)]();}[_0x154c14(0x20c)](){var _0x53b756=_0x154c14,_0x113e7d;this[_0x53b756(0x1e8)](),this[_0x53b756(0x23d)]<((_0x113e7d=this[_0x53b756(0x33c)][_0x53b756(0x4db)](ft))!=null?_0x113e7d:jt)?(this[_0x53b756(0x305)]['emitEvent']({'id':Z[_0x53b756(0x2dd)]}),this[_0x53b756(0x399)]()):this['_collaborationUIEventService'][_0x53b756(0x1a3)]({'id':Z[_0x53b756(0x436)]});}['_tryReconnect'](){var _0x1c37f4=_0x154c14,_0x63b7;const _0x34263f=this['_retryCount'],_0x3dde2e=this[_0x1c37f4(0x33c)][_0x1c37f4(0x4db)](K),_0x4f523b=_0x34263f===0x0?0x0:((_0x63b7=_0x3dde2e==null?void 0x0:_0x3dde2e[_0x1c37f4(0x1ed)])!=null?_0x63b7:$t)*0x2**_0x34263f;this[_0x1c37f4(0x1ee)]=setTimeout(()=>{var _0x2a600b=_0x1c37f4;clearTimeout(this[_0x2a600b(0x1ee)]),this[_0x2a600b(0x1ee)]=null,this[_0x2a600b(0x4a4)]();},_0x4f523b),this[_0x1c37f4(0x23d)]+=0x1;}[_0x154c14(0x449)](_0x5af7de,_0x1ffa43){var _0x4f5a8a=_0x154c14;const {cmd:_0x5700ad}=_0x1ffa43;_0x5700ad===W['HELLO']&&!this[_0x4f5a8a(0x3a7)]&&(_0x5af7de['memberID']=_0x1ffa43[_0x4f5a8a(0x4c1)]['memberID'],this[_0x4f5a8a(0x4c9)][_0x4f5a8a(0x4e1)](_0x5af7de),this['_status$']['next'](re['ONLINE']),this['_socketReady']=!0x0,this[_0x4f5a8a(0x29a)]=null),_0x5700ad===W['HEARTBEAT']&&this[_0x4f5a8a(0x27b)](),this[_0x4f5a8a(0x1b1)]();}[_0x154c14(0x1b1)](){var _0x3ab403=_0x154c14,_0x1f3d3b;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x3ab403(0x264)](),(_0x1f3d3b=this[_0x3ab403(0x33c)][_0x3ab403(0x4db)](vt))!=null?_0x1f3d3b:Ht);}[_0x154c14(0x264)](){var _0x1915df=_0x154c14;this[_0x1915df(0x1f2)]['send']({'cmd':W[_0x1915df(0x4fc)]}),this[_0x1915df(0x366)]();}[_0x154c14(0x366)](){var _0x439c63=_0x154c14,_0x71e4be;this[_0x439c63(0x334)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x71e4be=this[_0x439c63(0x33c)][_0x439c63(0x4db)](ke))!=null?_0x71e4be:St);}[_0x154c14(0x3a0)](){var _0x37cf80=_0x154c14;this[_0x37cf80(0x2c0)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x154c14(0x27b)](){var _0x2588c5=_0x154c14;this[_0x2588c5(0x334)]!=null&&(clearTimeout(this[_0x2588c5(0x334)]),this['_timeoutTimer']=null);}},exports[_0x154c14(0x28a)]=si([he(0x0,a[_0x154c14(0x25b)](a[_0x154c14(0x1e7)])),he(0x1,a[_0x154c14(0x36a)]),he(0x2,a[_0x154c14(0x307)]),he(0x3,He),he(0x4,a[_0x154c14(0x25b)](ee)),he(0x5,a[_0x154c14(0x46e)](mt))],exports['CollaborationSessionService']);const q=a[_0x154c14(0x4ea)]('collaboration-client.local-cache-service');function oi(_0x586f5d){return'unit-cache-'+_0x586f5d;}var ai=Object['getOwnPropertyDescriptor'],ci=(_0x376819,_0xfd5977,_0x567e63,_0x44815f)=>{var _0x14dc3e=_0x154c14;for(var _0x38c21c=_0x44815f>0x1?void 0x0:_0x44815f?ai(_0xfd5977,_0x567e63):_0xfd5977,_0x57eae2=_0x376819[_0x14dc3e(0x454)]-0x1,_0x2baf2e;_0x57eae2>=0x0;_0x57eae2--)(_0x2baf2e=_0x376819[_0x57eae2])&&(_0x38c21c=_0x2baf2e(_0x38c21c)||_0x38c21c);return _0x38c21c;},De=(_0xdcba78,_0x40592d)=>(_0x3f5248,_0xe6686b)=>_0x40592d(_0x3f5248,_0xe6686b,_0xdcba78);function hi(_0x448a54){var _0x4ca7aa=_0x154c14;const {unitID:_0xb80f37,mutations:_0x55fdc2}=_0x448a54;return{'unitId':_0xb80f37,'subUnitId':_0x55fdc2[0x0][_0x4ca7aa(0x45c)][_0x4ca7aa(0x41e)]};}exports['SheetTransformSelectionsService']=class{constructor(_0x2eeeac,_0x1c3188,_0x26041b){var _0x3900f7=_0x154c14;this['_injector']=_0x2eeeac,this[_0x3900f7(0x2ee)]=_0x1c3188,this[_0x3900f7(0x2df)]=_0x26041b;}[_0x154c14(0x353)](_0xa707ec){var _0x1c1350=_0x154c14,_0x2514e7,_0x55c94e,_0x87b006,_0x459139;const _0x11dd9d=this[_0x1c1350(0x42d)][_0x1c1350(0x225)](X[_0x1c1350(0x3de)]),{unitId:_0x461738,subUnitId:_0x20a3b7}=hi(_0xa707ec),_0x282c32=_0x11dd9d==null?void 0x0:_0x11dd9d['getWorkbookSelections'](_0x461738)[_0x1c1350(0x18b)](),_0x58b103=(_0x55c94e=(_0x2514e7=this[_0x1c1350(0x2df)][_0x1c1350(0x21f)](_0x461738))==null?void 0x0:_0x2514e7['getActiveSheet']())==null?void 0x0:_0x55c94e[_0x1c1350(0x207)]();if(_0x282c32[_0x1c1350(0x454)]===0x0||!_0x461738||!_0x20a3b7)return;const _0xcc7bbe=[{'id':X[_0x1c1350(0x23c)]['id'],'params':{'unitId':_0x461738,'subUnitId':_0x58b103,'selections':a[_0x1c1350(0x2ae)]['deepClone'](_0x282c32)}}],_0x26f054=this[_0x1c1350(0x2ee)]['transformMutationsWithChangeset'](_0xa707ec,_0xcc7bbe);if(!I[_0x1c1350(0x41a)](_0x26f054))throw _0x26f054['error'];const _0x25aef6=(_0x459139=(_0x87b006=_0x26f054[_0x1c1350(0x442)][0x0])==null?void 0x0:_0x87b006[_0x1c1350(0x45c)])==null?void 0x0:_0x459139['selections'];if(Array[_0x1c1350(0x30c)](_0x25aef6)&&_0x25aef6['length']){if(_0x25aef6[_0x1c1350(0x454)]===_0xcc7bbe[0x0]['params'][_0x1c1350(0x20d)]['length']&&_0x25aef6['every']((_0x32f477,_0x18ff9d)=>a['Rectangle'][_0x1c1350(0x4be)](_0x32f477[_0x1c1350(0x1e1)],_0xcc7bbe[0x0][_0x1c1350(0x45c)][_0x1c1350(0x20d)][_0x18ff9d][_0x1c1350(0x1e1)])))return;this['_injector']['get'](a[_0x1c1350(0x4ba)])[_0x1c1350(0x3c1)](X[_0x1c1350(0x23c)]['id'],{'unitId':_0x461738,'subUnitId':_0x58b103,'selections':_0x25aef6});}}},exports[_0x154c14(0x3e2)]=ci([De(0x0,a[_0x154c14(0x25b)](a[_0x154c14(0x1e7)])),De(0x1,I[_0x154c14(0x1e4)]),De(0x2,a['IUniverInstanceService'])],exports[_0x154c14(0x3e2)]);const de=a[_0x154c14(0x4ea)](_0x154c14(0x3c0));var je=(_0x15e5ea=>(_0x15e5ea[_0x15e5ea[_0x154c14(0x2ca)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x15e5ea[_0x15e5ea['OTHER_CLIENTS_EDITING']=0x1]=_0x154c14(0x42a),_0x15e5ea))(je||{});const _i=new Set([X[_0x154c14(0x45d)]['id']]);function Ke(_0x3f76eb,_0x3f5498,_0x22b127,_0x5aa55e,_0x2a4e4a){var _0x2b4aa0=_0x154c14,_0x3de7f5,_0x226b8c,_0x1166b5,_0x302020;const _0x38f829=[];for(const _0x4de4dd of _0x3f76eb)if(_i[_0x2b4aa0(0x3a5)](_0x4de4dd['id'])){if(_0x38f829[_0x2b4aa0(0x454)]>0x0)break;_0x38f829[_0x2b4aa0(0x4af)](_0x4de4dd);break;}else _0x38f829[_0x2b4aa0(0x4af)](_0x4de4dd);const _0x44f87e=(_0x226b8c=(_0x3de7f5=_0x2a4e4a[_0x2b4aa0(0x2c8)]())==null?void 0x0:_0x3de7f5['userID'])!=null?_0x226b8c:_0x2b4aa0(0x213),_0x2796ba=(_0x302020=(_0x1166b5=_0x2a4e4a[_0x2b4aa0(0x2c8)]())==null?void 0x0:_0x1166b5[_0x2b4aa0(0x417)])!=null?_0x302020:_0x2b4aa0(0x213);return{'changeset':{'unitID':_0x3f5498,'type':I['mapDocumentTypeToUniverType'](_0x22b127[_0x2b4aa0(0x484)](_0x3f5498)),'baseRev':_0x5aa55e[_0x2b4aa0(0x490)](_0x3f5498),'revision':0x0,'userID':_0x44f87e,'memberID':_0x2796ba,'mutations':_0x38f829},'pendingMutations':_0x3f76eb[_0x2b4aa0(0x30f)](_0x38f829[_0x2b4aa0(0x454)])};}function li(_0x28c204,_0x6adc8e,_0x2eca08,_0x52a65d,_0xf8bfda){var _0x5a8374=_0x154c14,_0x2d8f04,_0x47d8b3,_0xe3660d,_0x5af025;const _0x2645fe=[_0x28c204['reduce']((_0x17b92f,_0x5b58ee)=>{var _0x272265=_0x1a03,_0x42a128;const {id:_0x17ad0a}=_0x17b92f,{id:_0x1ef37e,type:_0x3c2d46}=_0x5b58ee,_0x5909b9=(_0x42a128=_0x17b92f[_0x272265(0x45c)])!=null?_0x42a128:{'actions':null},_0x10db73=_0x5b58ee[_0x272265(0x45c)];if(_0x17ad0a&&_0x17ad0a!==_0x1ef37e)throw new Error(_0x272265(0x458)+_0x17ad0a+_0x272265(0x4cc)+_0x1ef37e+'.');return{..._0x17b92f,'id':_0x1ef37e,'type':_0x3c2d46,'params':{'unitId':_0x10db73[_0x272265(0x191)],'textRanges':_0x10db73[_0x272265(0x3bd)],'actions':a[_0x272265(0x485)][_0x272265(0x4f3)](_0x5909b9[_0x272265(0x240)],_0x10db73['actions'])}};},{})],_0x4f797f=(_0x47d8b3=(_0x2d8f04=_0xf8bfda[_0x5a8374(0x2c8)]())==null?void 0x0:_0x2d8f04[_0x5a8374(0x4b8)])!=null?_0x47d8b3:_0x5a8374(0x213),_0x51a86e=(_0x5af025=(_0xe3660d=_0xf8bfda[_0x5a8374(0x2c8)]())==null?void 0x0:_0xe3660d['memberID'])!=null?_0x5af025:_0x5a8374(0x213);return{'changeset':{'unitID':_0x6adc8e,'type':I[_0x5a8374(0x199)](_0x2eca08['getUnitType'](_0x6adc8e)),'baseRev':_0x52a65d[_0x5a8374(0x490)](_0x6adc8e),'revision':0x0,'userID':_0x4f797f,'memberID':_0x51a86e,'mutations':_0x2645fe},'pendingMutations':[]};}function bt(_0x5f2201,_0x35ca4e){var _0x3915d8=_0x154c14;const _0x4ffd91=new $[(_0x3915d8(0x421))](0x1);return setTimeout(()=>_0x4ffd91['next'](_0x35ca4e),_0x5f2201),_0x4ffd91[_0x3915d8(0x416)]()[_0x3915d8(0x37e)]($['take'](0x1));}const ui={'id':X[_0x154c14(0x2ed)]['id'],'type':a[_0x154c14(0x4c0)][_0x154c14(0x210)],'params':{}};var di=Object[_0x154c14(0x2bb)],ae=(_0xacdbdb,_0x89f31c,_0x4a3b68,_0x1727b4)=>{var _0x3d7ede=_0x154c14;for(var _0xa91594=_0x1727b4>0x1?void 0x0:_0x1727b4?di(_0x89f31c,_0x4a3b68):_0x89f31c,_0x44d5a7=_0xacdbdb[_0x3d7ede(0x454)]-0x1,_0x4dda9b;_0x44d5a7>=0x0;_0x44d5a7--)(_0x4dda9b=_0xacdbdb[_0x44d5a7])&&(_0xa91594=_0x4dda9b(_0xa91594)||_0xa91594);return _0xa91594;},w=(_0x59b171,_0x31b81f)=>(_0x205227,_0x188350)=>_0x31b81f(_0x205227,_0x188350,_0x59b171),Be=(_0x488d0c=>(_0x488d0c[_0x154c14(0x3ec)]=_0x154c14(0x220),_0x488d0c['SYNCED']='synced',_0x488d0c[_0x154c14(0x2fa)]='pending',_0x488d0c[_0x154c14(0x32b)]='awaiting',_0x488d0c[_0x154c14(0x358)]='awaiting_with_pending',_0x488d0c[_0x154c14(0x2e4)]=_0x154c14(0x3fe),_0x488d0c[_0x154c14(0x393)]=_0x154c14(0x4b1),_0x488d0c['OFFLINE']='offline',_0x488d0c))(Be||{});const Rt=0xea60;class ce{constructor(_0xe41d0,_0x97e086,_0x44b6a8,_0x212d1e,_0x2cc15b,_0x4e09ee,_0x2d34a6,_0x2f751f,_0x1888b8){var _0x1c470e=_0x154c14;A(this,_0x1c470e(0x346),null),A(this,_0x1c470e(0x320),[]),(this[_0x1c470e(0x4b5)]=_0xe41d0,this[_0x1c470e(0x493)]=_0x97e086,this['_handler']=_0x2cc15b,this[_0x1c470e(0x428)]=_0x4e09ee,this['_undoRedoService']=_0x2d34a6,this['_revisionService']=_0x2f751f,this['_localCacheService']=_0x1888b8,this['_awaitingChangeset']=_0x44b6a8,this[_0x1c470e(0x320)]=_0x212d1e);}[_0x154c14(0x24c)](_0x491bac){var _0x4da654=_0x154c14;const _0x869d15=this['_revisionService'][_0x4da654(0x490)](this[_0x4da654(0x4b5)]);return _0x491bac[_0x4da654(0x4f8)]>_0x869d15+0x1?(this[_0x4da654(0x37d)][_0x4da654(0x294)]({'from':_0x869d15,'to':_0x491bac[_0x4da654(0x4f8)]-0x1}),!0x0):!0x1;}[_0x154c14(0x324)](_0x268141){var _0xe40702=_0x154c14;this[_0xe40702(0x4cf)]['transformUndoRedo'](this[_0xe40702(0x4b5)],_0x268141);}[_0x154c14(0x327)](_0x1d3f68){var _0x3f7dd0=_0x154c14,_0x44982e,_0x18ab08;(_0x18ab08=(_0x44982e=this[_0x3f7dd0(0x37d)])[_0x3f7dd0(0x3d5)])==null||_0x18ab08[_0x3f7dd0(0x2eb)](_0x44982e,_0x1d3f68);}['_transformIMECache'](_0x16044f){var _0x3aa795=_0x154c14,_0x37b407,_0x4cc0b0;return(_0x4cc0b0=(_0x37b407=this[_0x3aa795(0x37d)])[_0x3aa795(0x2f4)])==null?void 0x0:_0x4cc0b0['call'](_0x37b407,_0x16044f);}[_0x154c14(0x37c)](_0x5017fe){var _0x3caaf5=_0x154c14,_0x3503ac,_0x3db267;return(_0x3db267=(_0x3503ac=this[_0x3caaf5(0x37d)])[_0x3caaf5(0x3e8)])==null?void 0x0:_0x3db267['call'](_0x3503ac,_0x5017fe);}['_transformRemoteChangesetByIMECache'](_0x103508){var _0x382cf6=_0x154c14,_0x1c6a66,_0xd19af7,_0x20142c;return(_0x20142c=(_0xd19af7=(_0x1c6a66=this[_0x382cf6(0x37d)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0xd19af7[_0x382cf6(0x2eb)](_0x1c6a66,_0x103508))!=null?_0x20142c:_0x103508;}[_0x154c14(0x29f)](_0x3885d1){var _0x6dbfec=_0x154c14,_0x45e575,_0x2532a8,_0x25a839;return(_0x25a839=(_0x2532a8=(_0x45e575=this[_0x6dbfec(0x37d)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x2532a8['call'](_0x45e575,_0x3885d1))!=null?_0x25a839:_0x3885d1;}[_0x154c14(0x2b1)](_0x256da2){var _0x3a800c=_0x154c14,_0x4cfb4e,_0x1886ae;if(this['type']===J[_0x3a800c(0x49a)]){const {unitID:_0x4c2e93,mutations:_0x571fb1,memberID:_0x39683c}=_0x256da2,_0x4e2686=_0x571fb1[0x0]['params'][_0x3a800c(0x3bd)];Array[_0x3a800c(0x30c)](_0x4e2686)&&_0x4e2686[_0x3a800c(0x454)]>0x0&&((_0x1886ae=(_0x4cfb4e=this[_0x3a800c(0x37d)])[_0x3a800c(0x4e3)])==null||_0x1886ae[_0x3a800c(0x2eb)](_0x4cfb4e,{'unitID':_0x4c2e93,'memberID':_0x39683c,'textRanges':_0x4e2686}));}}['_updateLocalCache'](){var _0x218804=_0x154c14,_0x25c92c;(_0x25c92c=this[_0x218804(0x3e0)])==null||_0x25c92c['updateOfflineData'](this[_0x218804(0x4b5)],this[_0x218804(0x493)],this[_0x218804(0x346)],this[_0x218804(0x320)]);}['_getCurrentRevision'](){var _0x5e18b8=_0x154c14;return this[_0x5e18b8(0x33f)][_0x5e18b8(0x490)](this[_0x5e18b8(0x4b5)]);}['_incrementRevisionNumber'](){var _0x11b99a=_0x154c14;this['_revisionService'][_0x11b99a(0x3b0)](this[_0x11b99a(0x4b5)]);}[_0x154c14(0x322)](_0x3b7b0c){var _0xdfbfce=_0x154c14,_0x4292e7;let _0x16f54b=this['_transformRemoteChangesetByIMECache'](_0x3b7b0c);_0x16f54b=this['_transformRemoteChangesetByStateCache'](_0x16f54b);const _0x56c0fe=a['sequenceExecute'](_0x16f54b['mutations'],this[_0xdfbfce(0x428)],{'fromCollab':!0x0});if(!_0x56c0fe['result'])throw _0x56c0fe[_0xdfbfce(0x1da)]instanceof Error?_0x56c0fe[_0xdfbfce(0x1da)]:new Error((_0x4292e7=_0x56c0fe[_0xdfbfce(0x1da)])!=null?_0x4292e7:_0xdfbfce(0x33b));this[_0xdfbfce(0x330)](_0x16f54b),this['_transformStateCache'](_0x16f54b),this['_transformUndoredo'](_0x3b7b0c),this[_0xdfbfce(0x327)](_0x16f54b),this[_0xdfbfce(0x2b1)](_0x16f54b),this[_0xdfbfce(0x410)]();}}exports[_0x154c14(0x2e7)]=class extends ce{constructor(_0xa10cc,_0x1b4aeb,_0x1ca712,_0x530072,_0x2ad2b2,_0x45f92a,_0x46f828,_0x5b4d87,_0x16f350,_0x586f9b){var _0x4c4d5e=_0x154c14;super(_0xa10cc,_0x1b4aeb,null,[],_0x1ca712,_0x46f828,_0x45f92a,_0x530072,_0x586f9b),A(this,_0x4c4d5e(0x4d2),'synced'),(this['_injector']=_0x2ad2b2,this[_0x4c4d5e(0x282)]=_0x5b4d87,this[_0x4c4d5e(0x2ee)]=_0x16f350,this['localCacheService']=_0x586f9b);}['appendMutation'](_0x102fb7){var _0x5f5c8f=_0x154c14;const _0x24e1f1=this['_injector'][_0x5f5c8f(0x26a)](exports[_0x5f5c8f(0x394)],this[_0x5f5c8f(0x4b5)],this[_0x5f5c8f(0x493)],[_0x102fb7],this[_0x5f5c8f(0x37d)]);return _0x24e1f1[_0x5f5c8f(0x3e5)](),_0x24e1f1[_0x5f5c8f(0x1bd)](),_0x24e1f1;}['onRemoteChangeset'](_0x27b0d8){var _0x15b33=_0x154c14;if(this[_0x15b33(0x24c)](_0x27b0d8))return this[_0x15b33(0x42d)][_0x15b33(0x26a)](exports[_0x15b33(0x34c)],this['unitID'],this[_0x15b33(0x493)],null,[],null,[_0x27b0d8],this['_handler']);try{const _0x13a054=this[_0x15b33(0x2ee)]['transformMutationsWithChangeset'](_0x27b0d8,[ui]);if(I[_0x15b33(0x41a)](_0x13a054)){const {c1Prime:_0x275ea9}=_0x13a054;return this[_0x15b33(0x322)](_0x275ea9),this;}throw _0x13a054[_0x15b33(0x1da)];}catch(_0x2aef78){return this[_0x15b33(0x282)][_0x15b33(0x1da)](_0x2aef78),this[_0x15b33(0x489)](!0x1);}}[_0x154c14(0x489)](_0x13eeff){var _0x1b311a=_0x154c14;return this['_injector'][_0x1b311a(0x26a)](exports[_0x1b311a(0x1c8)],this[_0x1b311a(0x4b5)],this[_0x1b311a(0x493)],null,[],this[_0x1b311a(0x37d)],_0x13eeff);}[_0x154c14(0x1d7)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x154c14(0x45f)](){var _0x137a06=_0x154c14;throw new Error(_0x137a06(0x3ff));}[_0x154c14(0x22b)](){return this;}[_0x154c14(0x230)](){var _0x27b343=_0x154c14;return this[_0x27b343(0x42d)][_0x27b343(0x26a)](exports['OfflineState'],this[_0x27b343(0x4b5)],this[_0x27b343(0x493)],null,[],this['_handler']);}[_0x154c14(0x314)](){return this;}[_0x154c14(0x292)](){var _0x9863b=_0x154c14;throw new Error(_0x9863b(0x1ce));}[_0x154c14(0x370)](){var _0x38a892=_0x154c14;const _0x905da3=this[_0x38a892(0x33f)][_0x38a892(0x490)](this[_0x38a892(0x4b5)]);return this[_0x38a892(0x37d)][_0x38a892(0x294)]({'from':_0x905da3,'to':0x0}),this['_injector'][_0x38a892(0x26a)](exports['FetchingMissState'],this[_0x38a892(0x4b5)],this[_0x38a892(0x493)],null,[],null,[],this[_0x38a892(0x37d)]);}},exports[_0x154c14(0x2e7)]=ae([w(0x3,a[_0x154c14(0x25b)](I['RevisionService'])),w(0x4,a['Inject'](a[_0x154c14(0x1e7)])),w(0x5,a[_0x154c14(0x338)]),w(0x6,a[_0x154c14(0x4ba)]),w(0x7,a['ILogService']),w(0x8,I['ITransformService']),w(0x9,a[_0x154c14(0x46e)](q))],exports[_0x154c14(0x2e7)]),exports[_0x154c14(0x394)]=class extends ce{constructor(_0x4dcc64,_0x2d298e,_0x2716f8,_0x268e61,_0x565df3,_0x44c78b,_0x5eaaa9,_0x3ae440,_0x3d8505,_0x16008a,_0x3b6c7e,_0xe395f8,_0x3d61de,_0x4219db){var _0x5b6467=_0x154c14;super(_0x4dcc64,_0x2d298e,null,_0x2716f8,_0x268e61,_0x3d8505,_0x3d61de,_0x44c78b,_0x4219db),A(this,_0x5b6467(0x4d2),_0x5b6467(0x19f)),A(this,_0x5b6467(0x247),null),A(this,_0x5b6467(0x4ac),null),(this['_injector']=_0x565df3,this['_memberService']=_0x5eaaa9,this[_0x5b6467(0x282)]=_0x3ae440,this[_0x5b6467(0x33c)]=_0x16008a,this[_0x5b6467(0x2ee)]=_0x3b6c7e,this['_univerInstanceService']=_0xe395f8);}[_0x154c14(0x280)](_0x3a2746){var _0x565bc5=_0x154c14;return this['_pendingMutations'][_0x565bc5(0x4af)](_0x3a2746),this['_updateLocalCache'](),this;}[_0x154c14(0x25f)](_0x5edd16){var _0x312280=_0x154c14;if(this[_0x312280(0x24c)](_0x5edd16))return this[_0x312280(0x383)](),this[_0x312280(0x42d)][_0x312280(0x26a)](exports['FetchingMissState'],this[_0x312280(0x4b5)],this[_0x312280(0x493)],null,this[_0x312280(0x320)],null,[_0x5edd16],this[_0x312280(0x37d)]);try{const _0x3a4177=this['_transformService'][_0x312280(0x37b)](_0x5edd16,this[_0x312280(0x320)]);if(I[_0x312280(0x41a)](_0x3a4177)){const {c1Prime:_0x4eb423,m2Prime:_0x52e13c}=_0x3a4177;this[_0x312280(0x322)](_0x4eb423);const _0xb8f8c2=this[_0x312280(0x42d)][_0x312280(0x26a)](exports[_0x312280(0x394)],this[_0x312280(0x4b5)],this[_0x312280(0x493)],_0x52e13c,this[_0x312280(0x37d)]);this[_0x312280(0x383)]();const _0x49cd83=new Date()[_0x312280(0x2fb)](),_0x1b2c4f=this[_0x312280(0x247)]?Math[_0x312280(0x181)](this[_0x312280(0x247)]-_0x49cd83,0x0):this[_0x312280(0x21c)]();return _0xb8f8c2[_0x312280(0x3e5)](_0x1b2c4f),_0xb8f8c2;}throw _0x3a4177['error'];}catch(_0x32fc9c){return this[_0x312280(0x282)][_0x312280(0x1da)](_0x32fc9c),this[_0x312280(0x489)](!0x1);}}[_0x154c14(0x1d7)](){var _0x3859bb=_0x154c14;throw new Error(_0x3859bb(0x3f1));}[_0x154c14(0x45f)](){var _0x3b256c=_0x154c14;throw new Error(_0x3b256c(0x42b));}['onRemoteRetry'](){return this;}[_0x154c14(0x230)](){var _0x50d8fb=_0x154c14;return this[_0x50d8fb(0x383)](),this['_injector'][_0x50d8fb(0x26a)](exports[_0x50d8fb(0x329)],this[_0x50d8fb(0x4b5)],this[_0x50d8fb(0x493)],null,this['_pendingMutations'],this[_0x50d8fb(0x37d)]);}[_0x154c14(0x314)](){return this;}[_0x154c14(0x3e5)](_0x1714e7){var _0x5d54c7=_0x154c14;const _0x6fe1cb=_0x1714e7!=null?_0x1714e7:this[_0x5d54c7(0x21c)]();this['_scheduleCompleteTimestamp']=new Date()[_0x5d54c7(0x2fb)]()+_0x6fe1cb,this[_0x5d54c7(0x4ac)]=setTimeout(()=>{var _0x1913ad=_0x5d54c7;this['_clearScheduledTask']();let _0x2faf19=null;switch(this['type']){case J[_0x1913ad(0x378)]:{_0x2faf19=Ke(this[_0x1913ad(0x320)],this[_0x1913ad(0x4b5)],this[_0x1913ad(0x1c0)],this[_0x1913ad(0x33f)],this['_memberService']);break;}case J[_0x1913ad(0x49a)]:{this[_0x1913ad(0x320)][_0x1913ad(0x193)](_0x2468c6=>_0x2468c6['id']===ht[_0x1913ad(0x2c4)]['id'])?_0x2faf19=li(this[_0x1913ad(0x320)],this[_0x1913ad(0x4b5)],this[_0x1913ad(0x1c0)],this[_0x1913ad(0x33f)],this[_0x1913ad(0x4ec)]):_0x2faf19=Ke(this[_0x1913ad(0x320)],this[_0x1913ad(0x4b5)],this[_0x1913ad(0x1c0)],this[_0x1913ad(0x33f)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x1913ad(0x493)]+_0x1913ad(0x24b));}const {changeset:_0x55c534,pendingMutations:_0x4e9286}=_0x2faf19;this['_handler'][_0x1913ad(0x4a2)](_0x55c534);const _0x57a46c=_0x4e9286[_0x1913ad(0x454)]?this[_0x1913ad(0x42d)][_0x1913ad(0x26a)](exports[_0x1913ad(0x351)],this[_0x1913ad(0x4b5)],this[_0x1913ad(0x493)],_0x55c534,_0x4e9286,this[_0x1913ad(0x37d)],void 0x0):this[_0x1913ad(0x42d)][_0x1913ad(0x26a)](exports['AwaitingState'],this[_0x1913ad(0x4b5)],this[_0x1913ad(0x493)],_0x55c534,this['_handler']);_0x57a46c['_updateLocalCache'](),this[_0x1913ad(0x37d)]['onStateChange'](this,_0x57a46c);},_0x6fe1cb);}[_0x154c14(0x21c)](){var _0x3e672c=_0x154c14,_0x597d99;const _0x12d90c=this['_configService']['getConfig'](K);return(_0x597d99=_0x12d90c==null?void 0x0:_0x12d90c[_0x3e672c(0x1a6)])!=null?_0x597d99:xt;}['resend'](){var _0x11f3d6=_0x154c14;throw new Error(_0x11f3d6(0x462));}[_0x154c14(0x383)](){var _0x4bf0b4=_0x154c14;this[_0x4bf0b4(0x4ac)]!=null&&(clearTimeout(this[_0x4bf0b4(0x4ac)]),this[_0x4bf0b4(0x4ac)]=null);}[_0x154c14(0x489)](_0x3c91a0){var _0x293a50=_0x154c14;return this[_0x293a50(0x383)](),this[_0x293a50(0x42d)]['createInstance'](exports[_0x293a50(0x1c8)],this[_0x293a50(0x4b5)],this[_0x293a50(0x493)],null,this['_pendingMutations'],this[_0x293a50(0x37d)],_0x3c91a0);}},exports[_0x154c14(0x394)]=ae([w(0x4,a[_0x154c14(0x25b)](a[_0x154c14(0x1e7)])),w(0x5,a[_0x154c14(0x25b)](I[_0x154c14(0x4ce)])),w(0x6,a[_0x154c14(0x25b)](exports[_0x154c14(0x245)])),w(0x7,a['ILogService']),w(0x8,a[_0x154c14(0x4ba)]),w(0x9,a[_0x154c14(0x307)]),w(0xa,I[_0x154c14(0x1e4)]),w(0xb,a[_0x154c14(0x22a)]),w(0xc,a['IUndoRedoService']),w(0xd,a[_0x154c14(0x46e)](q))],exports[_0x154c14(0x394)]),exports[_0x154c14(0x37a)]=class extends ce{constructor(_0x5c5cd3,_0x4942b2,_0x23e08d,_0x1836db,_0x30662a,_0x340b30,_0x407dba,_0x41a46c,_0x2ba5e5,_0x4d5494,_0x327b91){var _0x11cd86=_0x154c14;super(_0x5c5cd3,_0x4942b2,_0x23e08d,[],_0x1836db,_0x407dba,_0x4d5494,_0x340b30,_0x327b91),A(this,_0x11cd86(0x4d2),'awaiting'),A(this,'_resendTimeout',0x0),A(this,_0x11cd86(0x3d3)),A(this,_0x11cd86(0x2ce)),(this[_0x11cd86(0x42d)]=_0x30662a,this['_logService']=_0x41a46c,this[_0x11cd86(0x2ee)]=_0x2ba5e5);}[_0x154c14(0x280)](_0x2c703e){var _0x425814=_0x154c14;this['_clearScheduledTask']();const _0x202ae3=this[_0x425814(0x42d)][_0x425814(0x26a)](exports[_0x425814(0x351)],this[_0x425814(0x4b5)],this[_0x425814(0x493)],this[_0x425814(0x346)],[_0x2c703e],this[_0x425814(0x37d)],this[_0x425814(0x3d3)]);return _0x202ae3['_updateLocalCache'](),_0x202ae3;}['onRemoteChangeset'](_0x5f03d5){var _0x54a261=_0x154c14;if(this['_checkMissing'](_0x5f03d5))return this['_clearScheduledTask'](),this[_0x54a261(0x42d)][_0x54a261(0x26a)](exports[_0x54a261(0x34c)],this[_0x54a261(0x4b5)],this['type'],this['_awaitingChangeset'],[],null,[_0x5f03d5],this[_0x54a261(0x37d)]);try{const _0x2bc680=this[_0x54a261(0x2ee)][_0x54a261(0x30d)]([_0x5f03d5],[this['_awaitingChangeset']],!0x1);if(I['isTransformChangesetsSuccess'](_0x2bc680)){const {c1Prime:_0x34b315,c2Prime:_0x1ff1bf}=_0x2bc680;this['_executeRemoteChangeset'](_0x34b315[0x0]),_0x1ff1bf[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x54a261(0x383)]();const _0x5d84b4=this[_0x54a261(0x42d)][_0x54a261(0x26a)](exports[_0x54a261(0x37a)],this[_0x54a261(0x4b5)],this['type'],_0x1ff1bf[0x0],this[_0x54a261(0x37d)]);return _0x5d84b4[_0x54a261(0x1bd)](),_0x5d84b4;}return this['_onConflict'](!0x1);}catch(_0x11acd2){return this['_logService'][_0x54a261(0x1da)](_0x11acd2),this['_onConflict'](!0x1);}}[_0x154c14(0x1d7)](_0x3706d9){var _0x28631a=_0x154c14;this[_0x28631a(0x383)]();const _0x1194a7=this['_revisionService']['getCurrentRevOfUnit'](this[_0x28631a(0x4b5)]);if(_0x3706d9[_0x28631a(0x4f8)]<_0x1194a7-0x1)return this;if(this['_checkMissing'](_0x3706d9))return this[_0x28631a(0x42d)]['createInstance'](exports['FetchingMissState'],this[_0x28631a(0x4b5)],this[_0x28631a(0x493)],null,[],this['_awaitingChangeset'],[],this['_handler']);this[_0x28631a(0x410)]();const _0x2dacf4=this['_injector']['createInstance'](exports['SyncedState'],this[_0x28631a(0x4b5)],this[_0x28631a(0x493)],this['_handler']);return _0x2dacf4[_0x28631a(0x1bd)](),_0x2dacf4;}[_0x154c14(0x45f)](_0x28e44d){return this['_onConflict'](!!(_0x28e44d!=null&&_0x28e44d['isPermissionRej']));}['onRemoteRetry'](_0xb0ee8a){var _0x2fb03d=_0x154c14;return this[_0x2fb03d(0x3ed)]>Rt?this[_0x2fb03d(0x230)]():(this[_0x2fb03d(0x3d3)]=bt(this[_0x2fb03d(0x3ed)],{'timeout':this[_0x2fb03d(0x3ed)],'reqId':_0xb0ee8a['reqId']}),this[_0x2fb03d(0x2ce)]=this[_0x2fb03d(0x3d3)]['subscribe'](({reqId:_0x4b2bb8,timeout:_0x384403})=>{var _0x58000e=_0x2fb03d;this[_0x58000e(0x279)](_0x4b2bb8,_0x384403);}),this);}[_0x154c14(0x230)](){var _0x23db7d=_0x154c14;return this[_0x23db7d(0x383)](),this['_injector'][_0x23db7d(0x26a)](exports[_0x23db7d(0x329)],this['unitID'],this['type'],this['_awaitingChangeset'],[],this[_0x23db7d(0x37d)]);}[_0x154c14(0x314)](){return this;}['resend'](){var _0xab077a=_0x154c14;this[_0xab077a(0x37d)][_0xab077a(0x4a2)](this[_0xab077a(0x346)]);}[_0x154c14(0x489)](_0x216203){var _0x36d605=_0x154c14;return this[_0x36d605(0x383)](),this[_0x36d605(0x42d)][_0x36d605(0x26a)](exports[_0x36d605(0x1c8)],this[_0x36d605(0x4b5)],this[_0x36d605(0x493)],this[_0x36d605(0x346)],[],this[_0x36d605(0x37d)],_0x216203);}[_0x154c14(0x279)](_0x520f3c,_0x46a15c){var _0x324c78=_0x154c14,_0x39d31c;_0x520f3c===((_0x39d31c=this[_0x324c78(0x346)])==null?void 0x0:_0x39d31c[_0x324c78(0x4e7)])&&(this[_0x324c78(0x292)](),this[_0x324c78(0x3ed)]=_0x46a15c===0x0?0x3e8:_0x46a15c*0x2);}[_0x154c14(0x383)](){var _0x17f3ab=_0x154c14,_0x35661c;(_0x35661c=this[_0x17f3ab(0x2ce)])==null||_0x35661c[_0x17f3ab(0x4ab)](),this[_0x17f3ab(0x3ed)]=0x0;}},exports[_0x154c14(0x37a)]=ae([w(0x4,a['Inject'](a[_0x154c14(0x1e7)])),w(0x5,a[_0x154c14(0x25b)](I[_0x154c14(0x4ce)])),w(0x6,a[_0x154c14(0x4ba)]),w(0x7,a[_0x154c14(0x36a)]),w(0x8,I[_0x154c14(0x1e4)]),w(0x9,a[_0x154c14(0x338)]),w(0xa,a[_0x154c14(0x46e)](q))],exports[_0x154c14(0x37a)]),exports[_0x154c14(0x351)]=class extends ce{constructor(_0x41622e,_0x12b117,_0x215f42,_0x2d0816,_0xfc1caa,_0x572a2c,_0x3b1c83,_0x5ec652,_0xb9eeac,_0x32bf70,_0x146cbd,_0x29c46c,_0x57cde1){var _0x50a275=_0x154c14;super(_0x41622e,_0x12b117,_0x215f42,_0x2d0816,_0xfc1caa,_0xb9eeac,_0x29c46c,_0x5ec652,_0x57cde1),A(this,'status','awaiting_with_pending'),A(this,_0x50a275(0x3ed),0x0),A(this,_0x50a275(0x3d3)),A(this,'_sender'),(this[_0x50a275(0x42d)]=_0x3b1c83,this[_0x50a275(0x282)]=_0x32bf70,this[_0x50a275(0x2ee)]=_0x146cbd,this[_0x50a275(0x1f1)]=_0x57cde1,_0x572a2c&&(this['_resendTimer']=_0x572a2c,this[_0x50a275(0x2ce)]=this['_resendTimer'][_0x50a275(0x356)](({reqId:_0x1c31c2,timeout:_0x2c62b4})=>{var _0x97d57d=_0x50a275;this[_0x97d57d(0x279)](_0x1c31c2,_0x2c62b4);})));}[_0x154c14(0x280)](_0x48abad){var _0x563c70=_0x154c14;return this[_0x563c70(0x320)][_0x563c70(0x4af)](_0x48abad),this;}[_0x154c14(0x25f)](_0x57d6a7){var _0x5039e3=_0x154c14;if(this[_0x5039e3(0x24c)](_0x57d6a7))return this[_0x5039e3(0x383)](),this['_injector'][_0x5039e3(0x26a)](exports[_0x5039e3(0x34c)],this['unitID'],this[_0x5039e3(0x493)],this[_0x5039e3(0x346)],this['_pendingMutations'],null,[_0x57d6a7],this[_0x5039e3(0x37d)]);try{const _0x4e9b9d=this[_0x5039e3(0x2ee)][_0x5039e3(0x30d)]([_0x57d6a7],[this[_0x5039e3(0x346)]],!0x1);if(I[_0x5039e3(0x3f9)](_0x4e9b9d)){const {c1Prime:_0x1a6db3,c2Prime:_0x26bd3c}=_0x4e9b9d,_0x5b32e0=this['_transformService'][_0x5039e3(0x37b)](_0x1a6db3[0x0],this[_0x5039e3(0x320)]);if(I['isTransformMutationsWithChangesetSuccess'](_0x5b32e0)){const {c1Prime:_0x3ed4ae,m2Prime:_0x9fb831}=_0x5b32e0;return this[_0x5039e3(0x322)](_0x3ed4ae),_0x26bd3c[0x0]['baseRev']=this[_0x5039e3(0x2e9)](),this[_0x5039e3(0x383)](),this['_injector'][_0x5039e3(0x26a)](exports[_0x5039e3(0x351)],this[_0x5039e3(0x4b5)],this[_0x5039e3(0x493)],_0x26bd3c[0x0],_0x9fb831,this[_0x5039e3(0x37d)],void 0x0);}throw _0x5b32e0[_0x5039e3(0x1da)];}throw _0x4e9b9d[_0x5039e3(0x1da)];}catch(_0x59af70){return this[_0x5039e3(0x282)][_0x5039e3(0x1da)](_0x59af70),this[_0x5039e3(0x489)](!0x1);}}[_0x154c14(0x1d7)](_0x381a87){var _0x469527=_0x154c14;if(this['_clearScheduledTask'](),this[_0x469527(0x24c)](_0x381a87))return this['_injector'][_0x469527(0x26a)](exports['FetchingMissState'],this[_0x469527(0x4b5)],this[_0x469527(0x493)],null,this[_0x469527(0x320)],this[_0x469527(0x346)],[],this[_0x469527(0x37d)]);this[_0x469527(0x410)]();const _0x1749c9=this[_0x469527(0x42d)]['createInstance'](exports['PendingState'],this['unitID'],this[_0x469527(0x493)],this[_0x469527(0x320)],this[_0x469527(0x37d)]);return _0x1749c9[_0x469527(0x3e5)](),_0x1749c9[_0x469527(0x1bd)](),_0x1749c9;}[_0x154c14(0x45f)](_0x800436){var _0x1f1b18=_0x154c14;return this[_0x1f1b18(0x489)](!!(_0x800436!=null&&_0x800436[_0x1f1b18(0x29c)]));}[_0x154c14(0x22b)](_0x1dd666){var _0x2954f8=_0x154c14;return this[_0x2954f8(0x3ed)]>Rt?this[_0x2954f8(0x230)]():(this[_0x2954f8(0x3d3)]=bt(this[_0x2954f8(0x3ed)],{'timeout':this[_0x2954f8(0x3ed)],'reqId':_0x1dd666[_0x2954f8(0x4e7)]}),this['_sender']=this[_0x2954f8(0x3d3)][_0x2954f8(0x356)](({reqId:_0x592b0d,timeout:_0x1de851})=>{var _0x46dd4a=_0x2954f8;this[_0x46dd4a(0x279)](_0x592b0d,_0x1de851);}),this);}[_0x154c14(0x230)](){var _0x4605d1=_0x154c14;return this[_0x4605d1(0x383)](),this[_0x4605d1(0x42d)][_0x4605d1(0x26a)](exports[_0x4605d1(0x329)],this[_0x4605d1(0x4b5)],this[_0x4605d1(0x493)],this[_0x4605d1(0x346)],this[_0x4605d1(0x320)],this[_0x4605d1(0x37d)]);}[_0x154c14(0x314)](){return this;}[_0x154c14(0x292)](){var _0x1027fc=_0x154c14;this['_handler'][_0x1027fc(0x4a2)](this[_0x1027fc(0x346)]);}[_0x154c14(0x489)](_0x34a46a){var _0x41fb89=_0x154c14;return this[_0x41fb89(0x383)](),this[_0x41fb89(0x42d)]['createInstance'](exports['ConflictState'],this['unitID'],this['type'],null,this['_pendingMutations'],this['_handler'],_0x34a46a);}[_0x154c14(0x279)](_0x579e55,_0x249bbc){var _0x2591a4=_0x154c14,_0x376adc;_0x579e55===((_0x376adc=this['_awaitingChangeset'])==null?void 0x0:_0x376adc[_0x2591a4(0x4e7)])&&(this[_0x2591a4(0x292)](),this[_0x2591a4(0x3ed)]=_0x249bbc===0x0?0x3e8:_0x249bbc*0x2);}['_clearScheduledTask'](){var _0x42b62a=_0x154c14,_0x5cf495;(_0x5cf495=this[_0x42b62a(0x2ce)])==null||_0x5cf495[_0x42b62a(0x4ab)](),this['_resendTimeout']=0x0;}},exports[_0x154c14(0x351)]=ae([w(0x6,a[_0x154c14(0x25b)](a[_0x154c14(0x1e7)])),w(0x7,a[_0x154c14(0x25b)](I[_0x154c14(0x4ce)])),w(0x8,a[_0x154c14(0x4ba)]),w(0x9,a[_0x154c14(0x36a)]),w(0xa,I[_0x154c14(0x1e4)]),w(0xb,a[_0x154c14(0x338)]),w(0xc,a[_0x154c14(0x46e)](q))],exports[_0x154c14(0x351)]),exports[_0x154c14(0x1c8)]=class extends ce{constructor(_0x8e5245,_0x17c764,_0x32c39f,_0x281c05,_0x4ae863,_0x27695b=!0x1,_0x2ea6de,_0x101d73,_0x2cc3d4,_0x32d6c8,_0x5f4eee,_0x3cc6d9,_0x4f8b60){var _0x1f3f38=_0x154c14;super(_0x8e5245,_0x17c764,_0x32c39f,_0x281c05,_0x4ae863,_0x101d73,_0x2cc3d4,_0x32d6c8,_0x4f8b60),A(this,'status',_0x1f3f38(0x4b1)),(this[_0x1f3f38(0x3e4)]=_0x27695b,this[_0x1f3f38(0x249)]=_0x2ea6de,this['_localeService']=_0x5f4eee,this['_collaborationUIEventService']=_0x3cc6d9,this[_0x1f3f38(0x1f1)]=_0x4f8b60,this[_0x1f3f38(0x40d)](),this[_0x1f3f38(0x4c8)](),this[_0x1f3f38(0x414)]());}[_0x154c14(0x280)](){return this;}[_0x154c14(0x25f)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x154c14(0x22b)](){return this;}[_0x154c14(0x230)](){return this;}[_0x154c14(0x314)](){return this;}[_0x154c14(0x292)](){var _0x15df13=_0x154c14;throw new Error(_0x15df13(0x1f6));}[_0x154c14(0x4c8)](){var _0x24610f=_0x154c14,_0x4cd8d7;(_0x4cd8d7=this['_localCacheService'])==null||_0x4cd8d7[_0x24610f(0x3d6)](this[_0x24610f(0x4b5)],this[_0x24610f(0x493)],null,[]);}['_showConflictNotification'](){var _0x20306a=_0x154c14;this['_isPermissionRej']?this[_0x20306a(0x305)][_0x20306a(0x1a3)]({'id':Z[_0x20306a(0x3eb)]}):this['_collaborationUIEventService'][_0x20306a(0x1a3)]({'id':Z[_0x20306a(0x393)]});}[_0x154c14(0x414)](){var _0x4aeb6e=_0x154c14;this['_permissionService']['updatePermissionPoint'](new X['WorkbookEditablePermission'](this[_0x4aeb6e(0x4b5)])['id'],!0x1);}},exports[_0x154c14(0x1c8)]=ae([w(0x6,a['Inject'](a[_0x154c14(0x237)])),w(0x7,a[_0x154c14(0x4ba)]),w(0x8,a['IUndoRedoService']),w(0x9,a['Inject'](I[_0x154c14(0x4ce)])),w(0xa,a[_0x154c14(0x25b)](a[_0x154c14(0x3ca)])),w(0xb,a[_0x154c14(0x25b)](ee)),w(0xc,a[_0x154c14(0x46e)](q))],exports[_0x154c14(0x1c8)]),exports[_0x154c14(0x329)]=class extends ce{constructor(_0x27f327,_0x37ae63,_0x39ccec,_0x3b3bcf,_0x1c7707,_0x459a3c,_0x533a9c,_0xfd7ecc,_0x2d2c16,_0x3e1d44){var _0x5617b8=_0x154c14;super(_0x27f327,_0x37ae63,_0x39ccec,_0x3b3bcf,_0x1c7707,_0xfd7ecc,_0x2d2c16,_0x533a9c,_0x3e1d44),A(this,_0x5617b8(0x4d2),_0x5617b8(0x255)),this[_0x5617b8(0x42d)]=_0x459a3c;}['appendMutation'](_0x599062){var _0x8cced7=_0x154c14;return this[_0x8cced7(0x320)][_0x8cced7(0x4af)](_0x599062),this[_0x8cced7(0x1bd)](),this;}[_0x154c14(0x25f)](_0x3d90d7){var _0xe4a4e7=_0x154c14;throw new Error(_0xe4a4e7(0x1a2));}[_0x154c14(0x1d7)](){var _0x4805fa=_0x154c14;throw new Error(_0x4805fa(0x218));}[_0x154c14(0x45f)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x154c14(0x314)](){var _0x5b9c8a=_0x154c14;const {_injector:_0x2f3cf2,_pendingMutations:_0x2d3411,_awaitingChangeset:_0x10788f,unitID:_0x18560f,_handler:_0xc07393,type:_0x23e798}=this,_0x3f4edf=Ot(_0x2f3cf2,_0x18560f,_0x23e798,_0x10788f,_0x2d3411,_0xc07393);return _0x3f4edf instanceof exports['PendingState']?_0x3f4edf[_0x5b9c8a(0x3e5)]():(_0x3f4edf instanceof exports['AwaitingWithPendingState']||_0x3f4edf instanceof exports['AwaitingState'])&&_0x3f4edf[_0x5b9c8a(0x292)](),_0x3f4edf;}[_0x154c14(0x292)](){var _0x1fc6f6=_0x154c14;throw new Error(_0x1fc6f6(0x34f));}},exports['OfflineState']=ae([w(0x5,a[_0x154c14(0x25b)](a['Injector'])),w(0x6,a['Inject'](I[_0x154c14(0x4ce)])),w(0x7,a[_0x154c14(0x4ba)]),w(0x8,a[_0x154c14(0x338)]),w(0x9,a[_0x154c14(0x46e)](q))],exports[_0x154c14(0x329)]),exports[_0x154c14(0x34c)]=class extends ce{constructor(_0x5a28a4,_0x4511b9,_0x16ed51,_0xda8dd,_0x5b50e9,_0x495ecc,_0x3328c7,_0x1f561a,_0x524ab4,_0x49c0d9,_0x250f7e,_0x277272,_0x22769e,_0x6cdc00){var _0x342fc0=_0x154c14;super(_0x5a28a4,_0x4511b9,_0x16ed51,_0xda8dd,_0x3328c7,_0x250f7e,_0x277272,_0x524ab4,_0x6cdc00),A(this,_0x342fc0(0x4d2),'fetch_missing'),(this[_0x342fc0(0x3b9)]=_0x5b50e9,this[_0x342fc0(0x4e5)]=_0x495ecc,this[_0x342fc0(0x42d)]=_0x1f561a,this[_0x342fc0(0x282)]=_0x49c0d9,this['_transformService']=_0x22769e,this[_0x342fc0(0x1f1)]=_0x6cdc00);}[_0x154c14(0x44a)](_0x3c39dc){var _0xc774bd=_0x154c14;try{const _0x1646aa=[..._0x3c39dc,...this[_0xc774bd(0x4e5)]],_0x2903f9=[this[_0xc774bd(0x346)]||this[_0xc774bd(0x3b9)]][_0xc774bd(0x1fd)](_0x4b83b4=>!!_0x4b83b4);let _0x245f84,_0x3a4e5b;if(_0x2903f9[_0xc774bd(0x454)]){const _0x45f0c7=this[_0xc774bd(0x2ee)][_0xc774bd(0x30d)](_0x1646aa,_0x2903f9,!0x1);if(!I[_0xc774bd(0x3f9)](_0x45f0c7))throw _0x45f0c7[_0xc774bd(0x1da)];_0x245f84=_0x45f0c7['c1Prime'],_0x3a4e5b=_0x45f0c7[_0xc774bd(0x3c4)];}else _0x245f84=_0x1646aa,_0x3a4e5b=[];let _0x19a910=this['_pendingMutations'];_0x245f84[_0xc774bd(0x396)](_0x4017c6=>{var _0x8072e9=_0xc774bd;let _0x5ae048;if(_0x19a910[_0x8072e9(0x454)]){const _0x1cf94f=this[_0x8072e9(0x2ee)][_0x8072e9(0x37b)](_0x4017c6,_0x19a910);if(!I[_0x8072e9(0x41a)](_0x1cf94f))throw _0x1cf94f['error'];_0x5ae048=_0x1cf94f['c1Prime'],_0x19a910=_0x1cf94f[_0x8072e9(0x442)];}else _0x5ae048=_0x4017c6;this[_0x8072e9(0x322)](_0x5ae048);}),this[_0xc774bd(0x3b9)]&&this[_0xc774bd(0x410)](),this['_awaitingChangeset']&&_0x3a4e5b[_0xc774bd(0x454)]&&(_0x3a4e5b[0x0][_0xc774bd(0x4e4)]=this[_0xc774bd(0x2e9)]());let _0x2fc97c;if(this['_awaitingChangeset']&&_0x19a910['length']!==0x0)_0x2fc97c=this[_0xc774bd(0x42d)][_0xc774bd(0x26a)](exports[_0xc774bd(0x351)],this[_0xc774bd(0x4b5)],this[_0xc774bd(0x493)],_0x3a4e5b[0x0],_0x19a910,this[_0xc774bd(0x37d)],void 0x0);else{if(this['_awaitingChangeset']&&_0x19a910[_0xc774bd(0x454)]===0x0)_0x3a4e5b[0x0][_0xc774bd(0x4e4)]=this[_0xc774bd(0x2e9)](),_0x2fc97c=this[_0xc774bd(0x42d)][_0xc774bd(0x26a)](exports[_0xc774bd(0x37a)],this['unitID'],this['type'],_0x3a4e5b[0x0],this[_0xc774bd(0x37d)]);else{if(_0x19a910[_0xc774bd(0x454)]!==0x0){const _0x2d415c=this['_injector'][_0xc774bd(0x26a)](exports['PendingState'],this[_0xc774bd(0x4b5)],this[_0xc774bd(0x493)],_0x19a910,this[_0xc774bd(0x37d)]);_0x2d415c[_0xc774bd(0x3e5)](),_0x2fc97c=_0x2d415c;}else _0x2fc97c=this[_0xc774bd(0x42d)][_0xc774bd(0x26a)](exports[_0xc774bd(0x2e7)],this['unitID'],this[_0xc774bd(0x493)],this[_0xc774bd(0x37d)]);}}return _0x2fc97c[_0xc774bd(0x1bd)](),_0x2fc97c;}catch(_0x209c71){return this[_0xc774bd(0x282)][_0xc774bd(0x1da)](_0xc774bd(0x2ac),_0xc774bd(0x27c),_0x209c71),this[_0xc774bd(0x42d)][_0xc774bd(0x26a)](exports[_0xc774bd(0x1c8)],this[_0xc774bd(0x4b5)],this[_0xc774bd(0x493)],this[_0xc774bd(0x346)],this[_0xc774bd(0x320)],this[_0xc774bd(0x37d)],!0x1);}}[_0x154c14(0x292)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x154c14(0x280)](_0x8d3278){var _0x295064=_0x154c14;return this[_0x295064(0x320)]['push'](_0x8d3278),this;}[_0x154c14(0x25f)](_0xa860e){var _0x273cb7=_0x154c14;return this[_0x273cb7(0x4e5)]['push'](_0xa860e),this;}[_0x154c14(0x1d7)](_0x5c90ca){var _0x4b9473=_0x154c14;if(this[_0x4b9473(0x346)])return this[_0x4b9473(0x3b9)]=this[_0x4b9473(0x346)],this['_awaitingChangeset']=null,this;throw new Error(_0x4b9473(0x289));}[_0x154c14(0x45f)](_0x88c07b){var _0x1de1a1=_0x154c14;return this[_0x1de1a1(0x489)](!!(_0x88c07b!=null&&_0x88c07b['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0x154c14(0x230)](){var _0x3e710d=_0x154c14;return this['_injector'][_0x3e710d(0x26a)](exports[_0x3e710d(0x329)],this[_0x3e710d(0x4b5)],this[_0x3e710d(0x493)],this[_0x3e710d(0x346)],this[_0x3e710d(0x320)],this[_0x3e710d(0x37d)]);}['toggleOnline'](){return this;}[_0x154c14(0x489)](_0x61dfa4){var _0x39b96a=_0x154c14;return this[_0x39b96a(0x42d)]['createInstance'](exports[_0x39b96a(0x1c8)],this[_0x39b96a(0x4b5)],this[_0x39b96a(0x493)],this[_0x39b96a(0x346)],this[_0x39b96a(0x320)],this['_handler'],_0x61dfa4);}},exports[_0x154c14(0x34c)]=ae([w(0x7,a[_0x154c14(0x25b)](a[_0x154c14(0x1e7)])),w(0x8,a[_0x154c14(0x25b)](I['RevisionService'])),w(0x9,a[_0x154c14(0x36a)]),w(0xa,a[_0x154c14(0x4ba)]),w(0xb,a[_0x154c14(0x338)]),w(0xc,I[_0x154c14(0x1e4)]),w(0xd,a[_0x154c14(0x46e)](q))],exports[_0x154c14(0x34c)]);function Ot(_0x1e48d3,_0x451b68,_0x33e836,_0x2ace89,_0x1614bf,_0x288353){var _0x2bcc10=_0x154c14;return _0x2ace89&&_0x1614bf[_0x2bcc10(0x454)]?_0x1e48d3['createInstance'](exports[_0x2bcc10(0x351)],_0x451b68,_0x33e836,_0x2ace89,_0x1614bf,_0x288353,void 0x0):_0x2ace89?_0x1e48d3[_0x2bcc10(0x26a)](exports[_0x2bcc10(0x37a)],_0x451b68,_0x33e836,_0x2ace89,_0x288353):_0x1614bf[_0x2bcc10(0x454)]?_0x1e48d3['createInstance'](exports[_0x2bcc10(0x394)],_0x451b68,_0x33e836,_0x1614bf,_0x288353):_0x1e48d3['createInstance'](exports[_0x2bcc10(0x2e7)],_0x451b68,_0x33e836,_0x288353);}var vi=Object['getOwnPropertyDescriptor'],Fe=(_0x586d3a,_0x24c976,_0x9461d0,_0x317cee)=>{var _0x1896df=_0x154c14;for(var _0x5b5b31=_0x317cee>0x1?void 0x0:_0x317cee?vi(_0x24c976,_0x9461d0):_0x24c976,_0x17334d=_0x586d3a[_0x1896df(0x454)]-0x1,_0xfde1e;_0x17334d>=0x0;_0x17334d--)(_0xfde1e=_0x586d3a[_0x17334d])&&(_0x5b5b31=_0xfde1e(_0x5b5b31)||_0x5b5b31);return _0x5b5b31;},j=(_0xaaab09,_0x501743)=>(_0x7306b0,_0x406c66)=>_0x501743(_0x7306b0,_0x406c66,_0xaaab09);exports[_0x154c14(0x4c6)]=class extends a['RxDisposable']{constructor(_0x430361,_0x546ac9,_0x493122,_0x3aa1c2,_0x5e1387,_0x373f30,_0xea338d,_0x5737fc,_0x4533d3,_0x31bb43,_0x414cc1,_0x2171e4,_0x184420){var _0xce4be7=_0x154c14;super(),A(this,_0xce4be7(0x36b),new $[(_0xce4be7(0x200))](null)),A(this,_0xce4be7(0x425),this[_0xce4be7(0x36b)][_0xce4be7(0x416)]()),A(this,_0xce4be7(0x4fd)),A(this,'_collaborationPaused',!0x1),A(this,_0xce4be7(0x25c),''),A(this,_0xce4be7(0x4c5),0x0),A(this,'status$',this[_0xce4be7(0x425)][_0xce4be7(0x37e)]($[_0xce4be7(0x3f5)](_0x45e7db=>_0x45e7db?_0x45e7db[_0xce4be7(0x4d2)]:Be[_0xce4be7(0x1be)]),$[_0xce4be7(0x30b)](0x1))),A(this,_0xce4be7(0x3c6),!0x1),A(this,'_remoteChangesetQueue',[]),(this[_0xce4be7(0x4b5)]=_0x430361,this[_0xce4be7(0x45a)]=_0x546ac9,this[_0xce4be7(0x269)]=_0x493122,this[_0xce4be7(0x42d)]=_0x3aa1c2,this[_0xce4be7(0x272)]=_0x5e1387,this[_0xce4be7(0x422)]=_0x373f30,this[_0xce4be7(0x33f)]=_0xea338d,this[_0xce4be7(0x473)]=_0x5737fc,this[_0xce4be7(0x282)]=_0x4533d3,this[_0xce4be7(0x428)]=_0x31bb43,this[_0xce4be7(0x249)]=_0x414cc1,this[_0xce4be7(0x328)]=_0x2171e4,this[_0xce4be7(0x3e0)]=_0x184420);}get[_0x154c14(0x3b7)](){var _0x468812=_0x154c14;return this[_0x468812(0x4fd)];}async[_0x154c14(0x412)](){var _0x1d8497=_0x154c14;if(this[_0x1d8497(0x3b7)])throw new Error(_0x1d8497(0x347));await this['_init']();}[_0x154c14(0x3e1)](){var _0x4e811d=_0x154c14;return this['_collaborationPaused']=!0x0,a[_0x4e811d(0x432)](()=>{var _0x19a3c5=_0x4e811d;this[_0x19a3c5(0x40f)]=!0x1,this[_0x19a3c5(0x315)]();});}[_0x154c14(0x464)](_0x32c3e3){this['_onLocalMutation'](_0x32c3e3);}[_0x154c14(0x3af)](_0x4f2b80){var _0x48d110=_0x154c14;this[_0x48d110(0x4fd)]=_0x4f2b80,this[_0x48d110(0x36b)][_0x48d110(0x4e1)](_0x4f2b80);}async[_0x154c14(0x2c3)](){var _0x33f767=_0x154c14,_0x3d7e14;this['_updateState'](await this[_0x33f767(0x450)]()),this['_singleActiveUnitService']&&((_0x3d7e14=this[_0x33f767(0x328)])==null||_0x3d7e14[_0x33f767(0x4f5)](this[_0x33f767(0x4b5)]),this[_0x33f767(0x1b0)](this[_0x33f767(0x328)][_0x33f767(0x35b)](this[_0x33f767(0x4b5)])[_0x33f767(0x356)](_0x5f254b=>{var _0x99373c=_0x33f767;this['_logService'][_0x99373c(0x401)]('[CollaborationEntity]',_0x99373c(0x3bb),_0x5f254b),_0x5f254b===je[_0x99373c(0x42a)]?(this[_0x99373c(0x473)][_0x99373c(0x1a3)]({'id':Z[_0x99373c(0x3f8)]}),this[_0x99373c(0x249)][_0x99373c(0x1de)](new X['WorkbookEditablePermission'](this[_0x99373c(0x4b5)])['id'],!0x1),this[_0x99373c(0x249)][_0x99373c(0x1eb)](!0x1)):(this['_permissionService'][_0x99373c(0x1de)](new X[(_0x99373c(0x1bc))](this[_0x99373c(0x4b5)])['id'],!0x0),this[_0x99373c(0x249)][_0x99373c(0x1eb)](!0x0));})));let _0x3620d6=!0x1;return this[_0x33f767(0x1b0)](this[_0x33f767(0x45a)][_0x33f767(0x235)][_0x33f767(0x356)](_0x2d5bbc=>{var _0x3bdb0b=_0x33f767;_0x2d5bbc===re['ONLINE']?this[_0x3bdb0b(0x4fa)](_0x3620d6):_0x2d5bbc===re['OFFLINE']&&(_0x3620d6=!0x0,this[_0x3bdb0b(0x1ac)]());})),this[_0x33f767(0x1b0)](this[_0x33f767(0x45a)]['event$'][_0x33f767(0x356)](_0x5cf864=>{var _0x1cbdf6=_0x33f767;try{switch(_0x5cf864[_0x1cbdf6(0x192)]){case I[_0x1cbdf6(0x48b)][_0x1cbdf6(0x26f)]:{this['_onRemoteChangeset'](I[_0x1cbdf6(0x39b)](_0x5cf864['data']));break;}case I[_0x1cbdf6(0x48b)][_0x1cbdf6(0x468)]:{this['_onRemoteACK'](_0x5cf864[_0x1cbdf6(0x4c1)]);break;}case I[_0x1cbdf6(0x48b)][_0x1cbdf6(0x3ad)]:{this[_0x1cbdf6(0x310)]();break;}case I[_0x1cbdf6(0x48b)]['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x5cf864[_0x1cbdf6(0x4c1)]);break;}case I['CollaborationEvent'][_0x1cbdf6(0x304)]:{this['_onFetchMissResult'](_0x5cf864[_0x1cbdf6(0x4c1)][_0x1cbdf6(0x4bc)][_0x1cbdf6(0x3f5)](_0x54925e=>I[_0x1cbdf6(0x39b)](_0x54925e)));break;}case I[_0x1cbdf6(0x48b)][_0x1cbdf6(0x1a9)]:{this[_0x1cbdf6(0x310)]({'isPermissionRej':!0x0});break;}case I[_0x1cbdf6(0x48b)][_0x1cbdf6(0x29e)]:break;}}catch(_0x4343e8){throw console[_0x1cbdf6(0x1da)]('Error\x20on\x20receiving\x20event',_0x4343e8),_0x4343e8;}})),this['_state'];}[_0x154c14(0x20b)](){var _0x3f004a=_0x154c14;this[_0x3f004a(0x3c6)]=!0x1;}[_0x154c14(0x467)](){var _0x54cf2a=_0x154c14;if(this[_0x54cf2a(0x3c6)])throw new Error(_0x54cf2a(0x189));this[_0x54cf2a(0x3c6)]=!0x0;}[_0x154c14(0x4c3)](_0x27dca6){var _0x397400=_0x154c14;this[_0x397400(0x467)](),this[_0x397400(0x3af)](this[_0x397400(0x4fd)][_0x397400(0x280)](_0x27dca6)),this[_0x397400(0x20b)]();}[_0x154c14(0x2f9)](_0x31ed4a){var _0xb0e76=_0x154c14;if(!(_0x31ed4a[_0xb0e76(0x4f8)]<=this[_0xb0e76(0x33f)][_0xb0e76(0x490)](this[_0xb0e76(0x4b5)]))){if(this[_0xb0e76(0x40f)]){this['_remoteChangesetQueue'][_0xb0e76(0x4af)](_0x31ed4a);return;}this['_applyRemoteChangeset'](_0x31ed4a);}}[_0x154c14(0x315)](){var _0x1a729b=_0x154c14;this[_0x1a729b(0x321)][_0x1a729b(0x396)](_0x47fb22=>this[_0x1a729b(0x2bf)](_0x47fb22)),this[_0x1a729b(0x321)]=[];}[_0x154c14(0x2bf)](_0x4bdcef){var _0x4fb89a=_0x154c14;const _0x139201=this[_0x4fb89a(0x272)][_0x4fb89a(0x47c)][_0x4fb89a(0x4b6)](this[_0x4fb89a(0x272)][_0x4fb89a(0x47c)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x4bdcef[_0x4fb89a(0x309)],null)||_0x4bdcef[_0x4fb89a(0x309)],_0x455f93={..._0x4bdcef,'mutations':_0x139201};this[_0x4fb89a(0x467)](),this[_0x4fb89a(0x3af)](this[_0x4fb89a(0x4fd)]['onRemoteChangeset'](_0x455f93)),this[_0x4fb89a(0x20b)]();}[_0x154c14(0x435)](_0x59a555){var _0x40472f=_0x154c14;this['_lockTransition'](),this['_updateState'](this[_0x40472f(0x4fd)]['onRemoteAck'](_0x59a555)),this[_0x40472f(0x20b)]();}[_0x154c14(0x310)](_0x102c1d){var _0xdafce7=_0x154c14;this[_0xdafce7(0x467)](),this['_updateState'](this[_0xdafce7(0x4fd)][_0xdafce7(0x45f)](_0x102c1d)),this[_0xdafce7(0x20b)]();}[_0x154c14(0x44b)](_0x5dbf83){var _0x40dc7e=_0x154c14;this[_0x40dc7e(0x467)](),this[_0x40dc7e(0x3af)](this[_0x40dc7e(0x4fd)][_0x40dc7e(0x22b)](_0x5dbf83)),this[_0x40dc7e(0x20b)]();}[_0x154c14(0x31d)](_0x486c2d){var _0x25d818=_0x154c14;if(!(this['_state']instanceof exports[_0x25d818(0x34c)]))throw new TypeError(_0x25d818(0x27e));const _0x4351ec=_0x486c2d['map'](_0x5f52c9=>{var _0x13383a=_0x25d818;const _0x150576=this[_0x13383a(0x272)][_0x13383a(0x47c)][_0x13383a(0x4b6)](this[_0x13383a(0x272)][_0x13383a(0x47c)][_0x13383a(0x2d2)]()['COMPRESS_MUTATION_APPLY'])(_0x5f52c9[_0x13383a(0x309)],null)||_0x5f52c9[_0x13383a(0x309)];return{..._0x5f52c9,'mutations':_0x150576};});this[_0x25d818(0x467)](),this[_0x25d818(0x3af)](this[_0x25d818(0x4fd)][_0x25d818(0x44a)](_0x4351ec)),this['_unlockTransition']();}[_0x154c14(0x1ac)](){var _0x544d4f=_0x154c14;this[_0x544d4f(0x467)](),this[_0x544d4f(0x3af)](this[_0x544d4f(0x4fd)][_0x544d4f(0x230)]()),this['_unlockTransition']();}[_0x154c14(0x4fa)](_0x32d2df=!0x1){var _0xcbc59b=_0x154c14;this[_0xcbc59b(0x467)](),this[_0xcbc59b(0x3af)](this['_state']['toggleOnline']()),this['_unlockTransition']();const _0x413cf0=this[_0xcbc59b(0x4fd)];_0x32d2df&&_0x413cf0 instanceof exports[_0xcbc59b(0x2e7)]&&(this[_0xcbc59b(0x467)](),this[_0xcbc59b(0x3af)](_0x413cf0['fetchMiss']()),this[_0xcbc59b(0x20b)]());}async[_0x154c14(0x450)](){return new Promise(_0x27ca0d=>{var _0x1b27f4=_0x1a03;this[_0x1b27f4(0x45a)]['sessionStatus$']['pipe']($[_0x1b27f4(0x274)](0x1))['subscribe'](async _0x3cdfff=>{var _0x3842e3=_0x1b27f4;_0x27ca0d(await this[_0x3842e3(0x343)](_0x3cdfff===re['ONLINE']));});});}[_0x154c14(0x190)](){var _0x4a00fb=_0x154c14;const _0x261a4e=this[_0x4a00fb(0x4b5)];return{'onStateChange':(_0x11f81f,_0x172314)=>{var _0xf82cfe=_0x4a00fb;if(_0x11f81f!==this['_state'])throw new Error(_0xf82cfe(0x3dd)+_0x11f81f[_0xf82cfe(0x4d2)]+_0xf82cfe(0x4ca)+_0x172314[_0xf82cfe(0x4d2)]+_0xf82cfe(0x256)+this[_0xf82cfe(0x4fd)][_0xf82cfe(0x4d2)]);this[_0xf82cfe(0x3af)](_0x172314);},'onSendChangeset':_0x5bcf4e=>{var _0x5d0292=_0x4a00fb;_0x5bcf4e[_0x5d0292(0x3fc)]||(_0x5bcf4e[_0x5d0292(0x3fc)]=this[_0x5d0292(0x25c)],_0x5bcf4e[_0x5d0292(0x4e7)]=++this['_changesetReqId']);const _0x135767={'eventID':I[_0x5d0292(0x48b)][_0x5d0292(0x335)],'data':{'unitID':_0x5bcf4e[_0x5d0292(0x4b5)],'unitType':this[_0x5d0292(0x269)],'changeset':_0x5bcf4e,'memberID':this[_0x5d0292(0x45a)][_0x5d0292(0x28c)]()}};this['session'][_0x5d0292(0x3c9)](_0x135767,this['unitID']);},'onMissingChangesets':({from:_0x225d6d,to:_0xc424e1})=>{var _0x16cbe2=_0x4a00fb;this[_0x16cbe2(0x282)][_0x16cbe2(0x401)](_0x16cbe2(0x2f3),_0x16cbe2(0x295)+_0x225d6d+_0x16cbe2(0x2a7)+_0xc424e1);const _0x199b67={'eventID':I[_0x16cbe2(0x48b)]['FETCH_MISSING'],'data':{'unitID':_0x261a4e,'unitType':this[_0x16cbe2(0x269)],'from':_0x225d6d,'to':_0xc424e1}};this[_0x16cbe2(0x45a)][_0x16cbe2(0x3c9)](_0x199b67,this['unitID']);}};}async['_createInitialStateImpl'](_0x317021){var _0x21b346=_0x154c14,_0xa3e508,_0x5d3d24,_0x2b250b;const _0x22774d=await((_0xa3e508=this[_0x21b346(0x3e0)])==null?void 0x0:_0xa3e508['loadOfflineData'](this[_0x21b346(0x4b5)])),_0x140db4=(_0x5d3d24=_0x22774d==null?void 0x0:_0x22774d[_0x21b346(0x309)])!=null?_0x5d3d24:[],_0x8432b2=(_0x2b250b=_0x22774d==null?void 0x0:_0x22774d[_0x21b346(0x24a)])!=null?_0x2b250b:null,_0x2f033a=!!(_0x8432b2!=null&&_0x8432b2[_0x21b346(0x3fc)])&&!!(_0x8432b2!=null&&_0x8432b2['reqId']);this['_changesetSessionId']=_0x2f033a?_0x8432b2[_0x21b346(0x3fc)]:I[_0x21b346(0x301)](),this[_0x21b346(0x4c5)]=_0x2f033a?_0x8432b2[_0x21b346(0x4e7)]:0x0;const _0x326d7c=this['unitID'];try{this[_0x21b346(0x246)](_0x8432b2,_0x140db4);}catch(_0x1d78a3){this['_logService'][_0x21b346(0x1da)](_0x1d78a3);}const _0x37b348=this[_0x21b346(0x190)]();if(_0x317021){const _0x4f1b1e=Ot(this[_0x21b346(0x42d)],_0x326d7c,this['_type'],_0x8432b2,_0x140db4,_0x37b348);return _0x4f1b1e instanceof exports[_0x21b346(0x394)]?_0x4f1b1e[_0x21b346(0x3e5)]():(_0x4f1b1e instanceof exports['AwaitingWithPendingState']||_0x4f1b1e instanceof exports['AwaitingState'])&&_0x4f1b1e[_0x21b346(0x292)](),_0x4f1b1e;}return this[_0x21b346(0x42d)]['createInstance'](exports[_0x21b346(0x329)],_0x326d7c,this['_type'],_0x8432b2,_0x140db4,_0x37b348);}[_0x154c14(0x246)](_0x2eb0fa,_0x3001f2){var _0x50e392=_0x154c14,_0x3ff6fb,_0x445ff4;const _0x2b5edf=this[_0x50e392(0x272)]['interceptor']['fetchThroughInterceptors'](this[_0x50e392(0x272)][_0x50e392(0x47c)]['getInterceptPoints']()[_0x50e392(0x386)]);(_0x3ff6fb=_0x2b5edf((_0x2eb0fa==null?void 0x0:_0x2eb0fa['mutations'])||[],null))==null||_0x3ff6fb[_0x50e392(0x396)](_0xe8ca53=>this[_0x50e392(0x428)]['executeCommand'](_0xe8ca53['id'],_0xe8ca53[_0x50e392(0x45c)])),(_0x445ff4=_0x2b5edf(_0x3001f2||[],null))==null||_0x445ff4[_0x50e392(0x396)](_0x579521=>this[_0x50e392(0x428)][_0x50e392(0x3c1)](_0x579521['id'],_0x579521[_0x50e392(0x45c)]));}},exports[_0x154c14(0x4c6)]=Fe([j(0x3,a[_0x154c14(0x25b)](a[_0x154c14(0x1e7)])),j(0x4,a[_0x154c14(0x25b)](I['CompressMutationService'])),j(0x5,a['Inject'](a['LocaleService'])),j(0x6,a['Inject'](I[_0x154c14(0x4ce)])),j(0x7,a[_0x154c14(0x25b)](ee)),j(0x8,a[_0x154c14(0x36a)]),j(0x9,a['ICommandService']),j(0xa,a[_0x154c14(0x237)]),j(0xb,a[_0x154c14(0x46e)](de)),j(0xc,a['Optional'](q))],exports[_0x154c14(0x4c6)]),exports['DocCollaborationEntity']=class extends exports[_0x154c14(0x4c6)]{constructor(_0x5e1939,_0x4da039,_0x56489f,_0x65076d,_0x5763db,_0x26b883,_0x4f028a,_0x18e535,_0x41b7a0,_0x338d28,_0x3c152f,_0x148789,_0x590783){var _0x199a91=_0x154c14;super(_0x5e1939,_0x56489f,_0x4da039,_0x65076d,_0x5763db,_0x26b883,_0x4f028a,_0x18e535,_0x41b7a0,_0x338d28,_0x3c152f,_0x148789,_0x590783),A(this,_0x199a91(0x22f),null),(this['unitID']=_0x5e1939,this[_0x199a91(0x493)]=_0x4da039);}[_0x154c14(0x3f7)](_0x51f882){var _0x124013=_0x154c14;this[_0x124013(0x22f)]=_0x51f882;}['dispose'](){var _0x20eb1c=_0x154c14;this['_handlerCallback']=null,super[_0x20eb1c(0x313)]();}[_0x154c14(0x190)](){var _0x2c9db6=_0x154c14;const _0x208c53=super[_0x2c9db6(0x190)]();return _0x208c53['onTransformIME']=_0x47c18d=>{var _0x258756=_0x2c9db6,_0x3465a1,_0x2c331d;return(_0x2c331d=(_0x3465a1=this[_0x258756(0x22f)])==null?void 0x0:_0x3465a1[_0x258756(0x2f4)])==null?void 0x0:_0x2c331d['call'](_0x3465a1,_0x47c18d);},_0x208c53['onTransformState']=_0x31d741=>{var _0x38ab58=_0x2c9db6,_0x43643c,_0x1a2074;return(_0x1a2074=(_0x43643c=this['_handlerCallback'])==null?void 0x0:_0x43643c[_0x38ab58(0x3e8)])==null?void 0x0:_0x1a2074[_0x38ab58(0x2eb)](_0x43643c,_0x31d741);},_0x208c53['onTransformSelections']=_0x400646=>{var _0x3bb817=_0x2c9db6,_0x27ffca,_0x45880b;return(_0x45880b=(_0x27ffca=this[_0x3bb817(0x22f)])==null?void 0x0:_0x27ffca['onTransformSelections'])==null?void 0x0:_0x45880b[_0x3bb817(0x2eb)](_0x27ffca,_0x400646);},_0x208c53[_0x2c9db6(0x4e3)]=_0x2c9e2b=>{var _0xbf0ac6=_0x2c9db6,_0x4ec3cf,_0x300bc6;return(_0x300bc6=(_0x4ec3cf=this[_0xbf0ac6(0x22f)])==null?void 0x0:_0x4ec3cf['onSyncEditingCollabCursor'])==null?void 0x0:_0x300bc6['call'](_0x4ec3cf,_0x2c9e2b);},_0x208c53[_0x2c9db6(0x260)]=_0x1c5175=>{var _0x1aad7a=_0x2c9db6,_0xd09a36,_0x1f9a9a,_0x1478c8;if(!((_0xd09a36=this[_0x1aad7a(0x22f)])!=null&&_0xd09a36['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x1478c8=(_0x1f9a9a=this[_0x1aad7a(0x22f)])==null?void 0x0:_0x1f9a9a[_0x1aad7a(0x260)])==null?void 0x0:_0x1478c8[_0x1aad7a(0x2eb)](_0x1f9a9a,_0x1c5175);},_0x208c53['onTransformRemoteChangesetByStateCache']=_0x102898=>{var _0x29d4b3=_0x2c9db6,_0x4b1f21,_0x213397,_0x1c0da3;if(!((_0x4b1f21=this[_0x29d4b3(0x22f)])!=null&&_0x4b1f21[_0x29d4b3(0x3fa)]))throw new Error(_0x29d4b3(0x469));return(_0x1c0da3=(_0x213397=this[_0x29d4b3(0x22f)])==null?void 0x0:_0x213397[_0x29d4b3(0x3fa)])==null?void 0x0:_0x1c0da3[_0x29d4b3(0x2eb)](_0x213397,_0x102898);},_0x208c53;}async[_0x154c14(0x2c3)](){var _0x16f92c=_0x154c14;const _0x55df7d=await super[_0x16f92c(0x2c3)]();return this[_0x16f92c(0x1b0)](this['_commandService'][_0x16f92c(0x3f0)]((_0x3058af,_0x4e49d4)=>{var _0x12c054=_0x16f92c;if(_0x3058af['type']!==a[_0x12c054(0x4c0)]['MUTATION']||_0x4e49d4!=null&&_0x4e49d4['fromCollab']||_0x4e49d4!=null&&_0x4e49d4[_0x12c054(0x441)]||_0x3058af['id']===ht[_0x12c054(0x2c4)]['id'])return;const _0x331353=_0x3058af[_0x12c054(0x45c)];if((_0x331353==null?void 0x0:_0x331353[_0x12c054(0x191)])!==this[_0x12c054(0x4b5)])return;const _0x130366=_0x3058af,_0xd21055=this[_0x12c054(0x272)][_0x12c054(0x47c)]['fetchThroughInterceptors'](this[_0x12c054(0x272)][_0x12c054(0x47c)][_0x12c054(0x2d2)]()[_0x12c054(0x4a5)])([_0x130366],null)||[_0x130366];this[_0x12c054(0x4c3)](_0xd21055[0x0]);})),_0x55df7d;}},exports[_0x154c14(0x38f)]=Fe([j(0x3,a[_0x154c14(0x25b)](a['Injector'])),j(0x4,a['Inject'](I[_0x154c14(0x2cb)])),j(0x5,a[_0x154c14(0x25b)](a['LocaleService'])),j(0x6,a[_0x154c14(0x25b)](I[_0x154c14(0x4ce)])),j(0x7,a[_0x154c14(0x25b)](ee)),j(0x8,a[_0x154c14(0x36a)]),j(0x9,a[_0x154c14(0x4ba)]),j(0xa,a[_0x154c14(0x237)]),j(0xb,a[_0x154c14(0x46e)](de)),j(0xc,a['Optional'](q))],exports[_0x154c14(0x38f)]),exports['SheetCollaborationEntity']=class extends exports[_0x154c14(0x4c6)]{constructor(_0x68b389,_0x2f4c33,_0x24e800,_0x4e47e5,_0x31a516,_0x1379b3,_0x200964,_0x1ec4c0,_0x1b068d,_0x4a60da,_0x148843,_0x63d2cb,_0x4f03c7,_0xd6dc89){var _0x6d0d67=_0x154c14;super(_0x68b389,_0x24e800,_0x2f4c33,_0x4e47e5,_0x31a516,_0x1379b3,_0x200964,_0x1b068d,_0x4a60da,_0x148843,_0x63d2cb,_0x4f03c7,_0xd6dc89),this[_0x6d0d67(0x4b5)]=_0x68b389,this[_0x6d0d67(0x493)]=_0x2f4c33,this[_0x6d0d67(0x46c)]=_0x1ec4c0;}['_createHandler'](){var _0x4a0e32=_0x154c14;const _0x288b43=super[_0x4a0e32(0x190)]();return _0x288b43[_0x4a0e32(0x3d5)]=_0x14dc69=>this[_0x4a0e32(0x46c)][_0x4a0e32(0x353)](_0x14dc69),_0x288b43;}async['_init'](){var _0x2d1865=_0x154c14;const _0x48f459=await super[_0x2d1865(0x2c3)]();return this['disposeWithMe'](this[_0x2d1865(0x428)][_0x2d1865(0x3f0)]((_0x29afe1,_0x4320b2)=>{var _0x3d312b=_0x2d1865;if(_0x29afe1[_0x3d312b(0x493)]!==a[_0x3d312b(0x4c0)][_0x3d312b(0x210)]||_0x4320b2!=null&&_0x4320b2[_0x3d312b(0x2ef)]||_0x4320b2!=null&&_0x4320b2['onlyLocal'])return;const _0x1dfbb7=_0x29afe1[_0x3d312b(0x45c)];if((_0x1dfbb7==null?void 0x0:_0x1dfbb7['unitId'])!==this[_0x3d312b(0x4b5)])return;const _0x474cc5=_0x29afe1,_0x5c2873=this[_0x3d312b(0x272)][_0x3d312b(0x47c)][_0x3d312b(0x4b6)](this[_0x3d312b(0x272)][_0x3d312b(0x47c)]['getInterceptPoints']()[_0x3d312b(0x4a5)])([_0x474cc5],null)||[_0x474cc5];this[_0x3d312b(0x4c3)](_0x5c2873[0x0]);})),_0x48f459;}},exports['SheetCollaborationEntity']=Fe([j(0x3,a[_0x154c14(0x25b)](a['Injector'])),j(0x4,a[_0x154c14(0x25b)](I[_0x154c14(0x2cb)])),j(0x5,a[_0x154c14(0x25b)](a[_0x154c14(0x3ca)])),j(0x6,a[_0x154c14(0x25b)](I[_0x154c14(0x4ce)])),j(0x7,a[_0x154c14(0x25b)](exports[_0x154c14(0x3e2)])),j(0x8,a[_0x154c14(0x25b)](ee)),j(0x9,a[_0x154c14(0x36a)]),j(0xa,a[_0x154c14(0x4ba)]),j(0xb,a[_0x154c14(0x237)]),j(0xc,a[_0x154c14(0x46e)](de)),j(0xd,a['Optional'](q))],exports[_0x154c14(0x2cc)]);var Si=Object[_0x154c14(0x2bb)],fi=(_0x91748a,_0x39de23,_0x158dc3,_0x19cef9)=>{var _0x3dc00a=_0x154c14;for(var _0x19a914=_0x19cef9>0x1?void 0x0:_0x19cef9?Si(_0x39de23,_0x158dc3):_0x39de23,_0x4887ac=_0x91748a[_0x3dc00a(0x454)]-0x1,_0x4d2ad8;_0x4887ac>=0x0;_0x4887ac--)(_0x4d2ad8=_0x91748a[_0x4887ac])&&(_0x19a914=_0x4d2ad8(_0x19a914)||_0x19a914);return _0x19a914;},Se=(_0x42b755,_0x350f2b)=>(_0x44fa88,_0x477784)=>_0x350f2b(_0x44fa88,_0x477784,_0x42b755);exports[_0x154c14(0x288)]=class extends a['RxDisposable']{constructor(_0x2dd8d0,_0x4eaaa9,_0x5754f0,_0x5426bc){var _0x39c272=_0x154c14,_0x5b8aac;super(),A(this,_0x39c272(0x212),new Map()),A(this,_0x39c272(0x3bc),new $[(_0x39c272(0x21e))]()),A(this,_0x39c272(0x231),this[_0x39c272(0x3bc)][_0x39c272(0x416)]()),(this[_0x39c272(0x42d)]=_0x2dd8d0,this['_collabSessionService']=_0x4eaaa9,this[_0x39c272(0x33c)]=_0x5754f0,this[_0x39c272(0x1c0)]=_0x5426bc,((_0x5b8aac=this[_0x39c272(0x33c)][_0x39c272(0x4db)](K))==null?void 0x0:_0x5b8aac['enableCollaboration'])!==!0x1&&this[_0x39c272(0x2c3)]());}[_0x154c14(0x313)](){var _0x1d8b18=_0x154c14;super[_0x1d8b18(0x313)](),this[_0x1d8b18(0x212)][_0x1d8b18(0x396)](_0x5d8d0f=>_0x5d8d0f[_0x1d8b18(0x313)]()),this[_0x1d8b18(0x212)][_0x1d8b18(0x4ee)]();}[_0x154c14(0x4c7)](_0x4576e8){var _0x3adc32=_0x154c14,_0x4b0cfb;return(_0x4b0cfb=this[_0x3adc32(0x212)][_0x3adc32(0x225)](_0x4576e8))!=null?_0x4b0cfb:null;}[_0x154c14(0x40a)](_0x5e49bc){var _0x302bc0=_0x154c14;const _0x3fa7ff=this['getCollabEntity'](_0x5e49bc);return _0x3fa7ff?$['of'](_0x3fa7ff):this[_0x302bc0(0x3bc)]['pipe'](V[_0x302bc0(0x1fd)](_0x47f970=>_0x47f970[_0x302bc0(0x4b5)]===_0x5e49bc));}['readyForCollab'](_0x394704){var _0x188b08=_0x154c14;return $[_0x188b08(0x26b)](this[_0x188b08(0x40a)](_0x394704)[_0x188b08(0x37e)](V[_0x188b08(0x3f5)](()=>{})));}[_0x154c14(0x2c3)](){var _0x25f02e=_0x154c14;this[_0x25f02e(0x1c0)][_0x25f02e(0x4d9)](a['UniverInstanceType'][_0x25f02e(0x378)])[_0x25f02e(0x37e)]($[_0x25f02e(0x24e)](this['dispose$']),V[_0x25f02e(0x2b3)](0x10))[_0x25f02e(0x356)](async _0x51fd4f=>{var _0x380715=_0x25f02e;const _0x4d009c=_0x51fd4f[_0x380715(0x2de)](),_0x791b3b=await this[_0x380715(0x439)](_0x4d009c,J[_0x380715(0x378)]);this['_entities'][_0x380715(0x18c)](_0x4d009c,_0x791b3b);}),this[_0x25f02e(0x1c0)]['getTypeOfUnitAdded$'](a[_0x25f02e(0x377)][_0x25f02e(0x49a)])[_0x25f02e(0x37e)]($[_0x25f02e(0x24e)](this[_0x25f02e(0x491)]),V['delay'](0x10))[_0x25f02e(0x37e)](V[_0x25f02e(0x1fd)](_0x328f4e=>!_0x328f4e['getUnitId']()[_0x25f02e(0x1c7)]('__')))[_0x25f02e(0x356)](async _0x197e9b=>{var _0x2d97cc=_0x25f02e;const _0x759743=_0x197e9b[_0x2d97cc(0x2de)](),_0x5f0689=await this[_0x2d97cc(0x439)](_0x759743,J[_0x2d97cc(0x49a)]);this['_entities'][_0x2d97cc(0x18c)](_0x759743,_0x5f0689);}),$[_0x25f02e(0x17f)](this['_univerInstanceService'][_0x25f02e(0x25d)](a[_0x25f02e(0x377)][_0x25f02e(0x378)]),this[_0x25f02e(0x1c0)]['getTypeOfUnitDisposed$'](a['UniverInstanceType']['UNIVER_DOC']))[_0x25f02e(0x37e)]($[_0x25f02e(0x24e)](this[_0x25f02e(0x491)]))[_0x25f02e(0x356)](_0x462540=>{var _0x2ff38f=_0x25f02e;const _0x413df3=_0x462540[_0x2ff38f(0x2de)](),_0x389ccd=this[_0x2ff38f(0x212)][_0x2ff38f(0x225)](_0x413df3);_0x389ccd&&(_0x389ccd[_0x2ff38f(0x313)](),this[_0x2ff38f(0x212)][_0x2ff38f(0x3cf)](_0x413df3));});}async[_0x154c14(0x439)](_0x120dd5,_0x60dd85){var _0x13eec9=_0x154c14;const _0x58752e=await this[_0x13eec9(0x1b2)][_0x13eec9(0x2fc)](_0x120dd5),_0x17ce76=this['_injector'][_0x13eec9(0x26a)](this['_getCtorByUniverType'](_0x60dd85),_0x120dd5,_0x60dd85,_0x58752e);return await _0x17ce76[_0x13eec9(0x412)](),this[_0x13eec9(0x3bc)]['next'](_0x17ce76),_0x17ce76;}['_getCtorByUniverType'](_0x3549a5){var _0x421848=_0x154c14;switch(_0x3549a5){case J[_0x421848(0x49a)]:return exports[_0x421848(0x38f)];case J[_0x421848(0x378)]:return exports[_0x421848(0x2cc)];default:throw new Error(_0x421848(0x2a5)+_0x3549a5);}}},exports[_0x154c14(0x288)]=fi([Se(0x0,a[_0x154c14(0x25b)](a['Injector'])),Se(0x1,a[_0x154c14(0x25b)](exports['CollaborationSessionService'])),Se(0x2,a[_0x154c14(0x307)]),Se(0x3,a['IUniverInstanceService'])],exports[_0x154c14(0x288)]);var pi=Object[_0x154c14(0x2bb)],Ii=(_0xb887a9,_0x3a661b,_0x296166,_0x12bfda)=>{for(var _0x3a257f=_0x12bfda>0x1?void 0x0:_0x12bfda?pi(_0x3a661b,_0x296166):_0x3a661b,_0x5375a8=_0xb887a9['length']-0x1,_0x38fc08;_0x5375a8>=0x0;_0x5375a8--)(_0x38fc08=_0xb887a9[_0x5375a8])&&(_0x3a257f=_0x38fc08(_0x3a257f)||_0x3a257f);return _0x3a257f;},Ye=(_0x5b889c,_0x581156)=>(_0x4391bc,_0x5ca8d5)=>_0x581156(_0x4391bc,_0x5ca8d5,_0x5b889c);const gi=_0x154c14(0x202),Ei=_0x154c14(0x187);function _0x1a03(_0x101ed1,_0x3cd2aa){var _0x2d8a6e=_0x2d8a();return _0x1a03=function(_0x1a03bd,_0x1faead){_0x1a03bd=_0x1a03bd-0x17f;var _0x564d6f=_0x2d8a6e[_0x1a03bd];return _0x564d6f;},_0x1a03(_0x101ed1,_0x3cd2aa);}let xe=class extends a[_0x154c14(0x492)]{constructor(_0xf4c3de,_0x1f2e5){var _0x52df7d=_0x154c14;super(),this[_0x52df7d(0x1c0)]=_0xf4c3de,this[_0x52df7d(0x33c)]=_0x1f2e5,this['_init']();}[_0x154c14(0x2c3)](){var _0x4ea6e7=_0x154c14;this['disposeWithMe'](this[_0x4ea6e7(0x1c0)][_0x4ea6e7(0x43d)][_0x4ea6e7(0x356)](()=>{var _0x452bdb=_0x4ea6e7,_0xc15cde;const _0x11cc15=this[_0x452bdb(0x1c0)][_0x452bdb(0x470)]();let _0x31eb9d=(_0xc15cde=this[_0x452bdb(0x33c)][_0x452bdb(0x4db)](gi))!=null?_0xc15cde:Ei;_0x11cc15 instanceof a[_0x452bdb(0x3ba)]&&(_0x31eb9d=_0x11cc15['name']),document[_0x452bdb(0x4bb)]=_0x31eb9d;}));}};xe=Ii([Ye(0x0,a[_0x154c14(0x22a)]),Ye(0x1,a['IConfigService'])],xe);var mi=Object[_0x154c14(0x2bb)],Ci=(_0x514568,_0x2238a1,_0x29f1d1,_0x593857)=>{var _0x4dbef3=_0x154c14;for(var _0x492f0d=_0x593857>0x1?void 0x0:_0x593857?mi(_0x2238a1,_0x29f1d1):_0x2238a1,_0x377937=_0x514568[_0x4dbef3(0x454)]-0x1,_0x761449;_0x377937>=0x0;_0x377937--)(_0x761449=_0x514568[_0x377937])&&(_0x492f0d=_0x761449(_0x492f0d)||_0x492f0d);return _0x492f0d;},Ae=(_0x51a10f,_0x175b66)=>(_0x5bf21b,_0x413341)=>_0x175b66(_0x5bf21b,_0x413341,_0x51a10f);let ye=class{constructor(_0x3bafdc,_0xf9d836,_0x461bbc){var _0x55685e=_0x154c14;this[_0x55685e(0x33c)]=_0x3bafdc,this[_0x55685e(0x2b6)]=_0xf9d836,this[_0x55685e(0x453)]=_0x461bbc,this[_0x55685e(0x412)]();}[_0x154c14(0x412)](){var _0x3b25d9=_0x154c14;this[_0x3b25d9(0x2b6)][_0x3b25d9(0x451)]({'priority':0x1,'interceptor':(_0xfa0309,_0x2f6824)=>_0x2f6824(_0xfa0309)[_0x3b25d9(0x37e)]($['concatMap'](async _0x2b2ef7=>{var _0xac13db=_0x3b25d9;const _0x477ce5=_0x2b2ef7;if(_0x477ce5['status']===0x191){if(typeof window>'u')throw new Error(_0xac13db(0x1cb));if(window[_0xac13db(0x391)](this[_0xac13db(0x453)]['t'](_0xac13db(0x197)))){const _0x4ae48b=window[_0xac13db(0x296)](window['location'][_0xac13db(0x286)]);window[_0xac13db(0x48f)][_0xac13db(0x286)]=this[_0xac13db(0x3ef)]()+_0xac13db(0x216)+_0x4ae48b;}}return _0x477ce5;}))});}['_getLoginPath'](){var _0x523dc7=_0x154c14,_0x364fd0,_0x585b8d;const _0x2bbd84=this[_0x523dc7(0x33c)][_0x523dc7(0x4db)](It),_0x3fb029=this[_0x523dc7(0x33c)][_0x523dc7(0x4db)](K);return(_0x585b8d=(_0x364fd0=_0x3fb029==null?void 0x0:_0x3fb029[_0x523dc7(0x37f)])!=null?_0x364fd0:_0x2bbd84)!=null?_0x585b8d:Wt;}};ye=Ci([Ae(0x0,a[_0x154c14(0x307)]),Ae(0x1,a[_0x154c14(0x25b)](Y[_0x154c14(0x4b7)])),Ae(0x2,a[_0x154c14(0x25b)](a[_0x154c14(0x3ca)]))],ye);var Ti=Object[_0x154c14(0x2bb)],bi=(_0x450a34,_0x3bd137,_0x4c1c55,_0x1a2066)=>{var _0x35fca4=_0x154c14;for(var _0x5cdd10=_0x1a2066>0x1?void 0x0:_0x1a2066?Ti(_0x3bd137,_0x4c1c55):_0x3bd137,_0x3ca9bc=_0x450a34[_0x35fca4(0x454)]-0x1,_0x40d17a;_0x3ca9bc>=0x0;_0x3ca9bc--)(_0x40d17a=_0x450a34[_0x3ca9bc])&&(_0x5cdd10=_0x40d17a(_0x5cdd10)||_0x5cdd10);return _0x5cdd10;},qe=(_0x92bf2f,_0x260de1)=>(_0x1cf8ca,_0x36a95b)=>_0x260de1(_0x1cf8ca,_0x36a95b,_0x92bf2f);const Ve='AUTHZ_URL_KEY',Ri='/universer-api/authz';exports[_0x154c14(0x1d3)]=class extends a[_0x154c14(0x492)]{constructor(_0x3f0c72,_0x2ad0ea){var _0x3ae733=_0x154c14;super(),this['_HTTPService']=_0x3f0c72,this[_0x3ae733(0x33c)]=_0x2ad0ea,this[_0x3ae733(0x411)]();}[_0x154c14(0x411)](){var _0x17ef47=_0x154c14;const _0x21066d=this;this[_0x17ef47(0x1b0)](this[_0x17ef47(0x1f0)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':Y['MergeInterceptorFactory']({'isMatch'(_0x45e82c){var _0x4b2565=_0x17ef47,_0xd41b4a;if(_0x45e82c['method']==='POST'&&((_0xd41b4a=_0x45e82c[_0x4b2565(0x1fc)])!=null&&_0xd41b4a[_0x4b2565(0x49d)])){const {objectID:_0x170f96,objectType:_0x1d2ff4}=_0x45e82c[_0x4b2565(0x1fc)][_0x4b2565(0x49d)]||{};if(!_0x170f96||_0x1d2ff4===void 0x0)return!0x1;const _0xdbf5fc=_0x21066d['_getAPIPrefixPath']()+'/'+_0x1d2ff4+_0x4b2565(0x3e9)+_0x170f96+_0x4b2565(0x1ef);if(_0x45e82c[_0x4b2565(0x2da)]===_0xdbf5fc)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x450d1d){var _0x11d6ee=_0x17ef47,_0x48eee2;return(_0x48eee2=_0x450d1d[_0x11d6ee(0x1fc)])==null?void 0x0:_0x48eee2[_0x11d6ee(0x49d)];},'mergeParamsToRequest'(_0x2e494b,_0x449f3c){var _0x5b5001=_0x17ef47;const _0x24caac=_0x21066d[_0x5b5001(0x259)]()+'/-/object/-/batch_allowed',_0x4ee6df=_0x2e494b[_0x5b5001(0x4f4)]((_0x1d7f04,_0x5d521c)=>{const {unitID:_0x7e2ab4,objectID:_0x107437,objectType:_0x376dc4,actions:_0x3de68f}=_0x5d521c;return _0x1d7f04[_0x7e2ab4]||(_0x1d7f04[_0x7e2ab4]={}),_0x1d7f04[_0x7e2ab4][_0x107437]||(_0x1d7f04[_0x7e2ab4][_0x107437]={'objectID':_0x107437,'objectType':_0x376dc4,'actions':[]}),_0x1d7f04[_0x7e2ab4][_0x107437]['actions']['push'](..._0x3de68f),_0x1d7f04;},{}),_0x26a7ae=[];for(const _0x82f008 in _0x4ee6df)for(const _0x569a3e in _0x4ee6df[_0x82f008]){const {actions:_0x2abe20,objectType:_0xb2e79c}=_0x4ee6df[_0x82f008][_0x569a3e],_0x443119=[...new Set(_0x2abe20)];_0x26a7ae['push']({'unitID':_0x82f008,'objectID':_0x569a3e,'objectType':_0xb2e79c,'actions':_0x443119});}return new Y[(_0x5b5001(0x284))](_0x5b5001(0x20e),_0x24caac,{'headers':_0x449f3c[_0x5b5001(0x323)],'withCredentials':_0x449f3c[_0x5b5001(0x4ed)],'responseType':_0x449f3c[_0x5b5001(0x2e0)],'body':{'requests':_0x26a7ae}});}},{'distributeResult'(_0x4449db,_0x31b16b){var _0x1b63d7=_0x17ef47;const {objectActions:_0x995f03}=_0x4449db;return _0x31b16b[_0x1b63d7(0x3f5)](_0x7ba50f=>{var _0x5f3716=_0x1b63d7;const {unitID:_0x45b476,objectID:_0x2b8f87,actions:_0x52dc16}=_0x7ba50f,_0x21f037=_0x995f03['find'](_0x1c5e99=>_0x1c5e99[_0x5f3716(0x4b5)]===_0x45b476&&_0x1c5e99[_0x5f3716(0x3d0)]===_0x2b8f87),_0xbae652=_0x52dc16['map'](_0x178a65=>_0x21f037==null?void 0x0:_0x21f037[_0x5f3716(0x240)][_0x5f3716(0x4ae)](_0x1f19dc=>_0x1f19dc[_0x5f3716(0x415)]===_0x178a65))['filter'](_0x29b1a0=>!!_0x29b1a0);return{'config':_0x7ba50f,'result':{'actions':_0xbae652,'error':_0x4449db[_0x5f3716(0x1da)]}};});}})}));}['_getAPIPrefixPath'](){var _0x18a1fc=_0x154c14,_0x4da9fc,_0x27b901;const _0x2d8674=this[_0x18a1fc(0x33c)][_0x18a1fc(0x4db)](Ve),_0x2d64ff=this[_0x18a1fc(0x33c)][_0x18a1fc(0x4db)](K);return(_0x27b901=(_0x4da9fc=_0x2d64ff==null?void 0x0:_0x2d64ff[_0x18a1fc(0x3df)])!=null?_0x4da9fc:_0x2d8674)!=null?_0x27b901:Ri;}async[_0x154c14(0x3db)](_0x4f0df7){var _0x480d35=_0x154c14;const _0x45d18a=this[_0x480d35(0x259)]()+'/'+_0x4f0df7['objectType']+'/object';return(await this[_0x480d35(0x1f0)]['post'](_0x45d18a,{'body':_0x4f0df7}))[_0x480d35(0x49d)][_0x480d35(0x3d0)]||'';}async['list'](_0x35f07c){var _0x448f48=_0x154c14;const _0x55db3f=this[_0x448f48(0x259)]()+_0x448f48(0x2c1);return(await this['_HTTPService'][_0x448f48(0x437)](_0x55db3f,{'body':_0x35f07c}))[_0x448f48(0x49d)][_0x448f48(0x2cf)];}async[_0x154c14(0x397)](_0xb50ebc){var _0x2b3cfd=_0x154c14,_0x54cde8,_0xa64c87;const _0x10c893=this[_0x2b3cfd(0x259)]()+'/'+_0xb50ebc[_0x2b3cfd(0x214)]+_0x2b3cfd(0x3e9)+_0xb50ebc[_0x2b3cfd(0x3d0)],_0x1e014b=await this['_HTTPService'][_0x2b3cfd(0x1c1)](_0x10c893,{'body':_0xb50ebc});if(((_0xa64c87=(_0x54cde8=_0x1e014b==null?void 0x0:_0x1e014b[_0x2b3cfd(0x49d)])==null?void 0x0:_0x54cde8['error'])==null?void 0x0:_0xa64c87['code'])!==0x1)throw new Error(_0x2b3cfd(0x1d4));}async[_0x154c14(0x49f)](_0x3300ca){var _0x21150a=_0x154c14;const _0x1fd812=this[_0x21150a(0x259)]()+'/'+_0x3300ca[_0x21150a(0x214)]+_0x21150a(0x3e9)+_0x3300ca[_0x21150a(0x3d0)]+_0x21150a(0x1ef);return(await this[_0x21150a(0x1f0)][_0x21150a(0x437)](_0x1fd812,{'body':_0x3300ca}))[_0x21150a(0x49d)][_0x21150a(0x240)];}async[_0x154c14(0x287)](_0x478199){var _0xc37e74=_0x154c14;const _0x2b7ce3=this[_0xc37e74(0x259)]()+_0xc37e74(0x384);return(await this[_0xc37e74(0x1f0)][_0xc37e74(0x437)](_0x2b7ce3,{'body':{'requests':_0x478199}}))[_0xc37e74(0x49d)][_0xc37e74(0x36e)];}async['listRoles'](_0x13769e){var _0x5ae4d5=_0x154c14;const _0x43f576=this['_getAPIPrefixPath']()+'/'+_0x13769e[_0x5ae4d5(0x214)]+_0x5ae4d5(0x392),_0x3de7c8=await this[_0x5ae4d5(0x1f0)][_0x5ae4d5(0x437)](_0x43f576,{'body':_0x13769e});return{'roles':_0x3de7c8['body']['roles'],'actions':_0x3de7c8[_0x5ae4d5(0x49d)][_0x5ae4d5(0x240)]};}async[_0x154c14(0x4f2)](_0x16fb39){var _0x57c3eb=_0x154c14;const _0x2d6c63=this[_0x57c3eb(0x259)]()+'/collaborator';await this[_0x57c3eb(0x1f0)][_0x57c3eb(0x3cf)](_0x2d6c63,{'params':{'collaboratorID':_0x16fb39['collaboratorID'],'objectID':_0x16fb39['objectID'],'unitID':_0x16fb39['unitID']}});}async[_0x154c14(0x43c)](_0x55724a){var _0x7c9342=_0x154c14;const _0x170748=this[_0x7c9342(0x259)]()+_0x7c9342(0x1d5);await this[_0x7c9342(0x1f0)][_0x7c9342(0x2b9)](_0x170748,{'body':_0x55724a});}async['createCollaborator'](_0x37c457){var _0x1aa1a6=_0x154c14;const _0x14aab5=this[_0x1aa1a6(0x259)]()+_0x1aa1a6(0x1d5);await this[_0x1aa1a6(0x1f0)][_0x1aa1a6(0x437)](_0x14aab5,{'body':_0x37c457});}async[_0x154c14(0x499)](_0x402700){var _0x354337=_0x154c14;const _0x316db9=this['_getAPIPrefixPath']()+_0x354337(0x1d5);return(await this[_0x354337(0x1f0)][_0x354337(0x225)](_0x316db9,{'params':{'objectID':_0x402700['objectID'],'unitID':_0x402700[_0x354337(0x4b5)]}}))[_0x354337(0x49d)]['collaborators'];}async[_0x154c14(0x404)](_0xd2970d){var _0x1b9790=_0x154c14;const _0x2c0732=this['_getAPIPrefixPath']()+_0x1b9790(0x1d5);await this['_HTTPService']['put'](_0x2c0732,{'body':_0xd2970d});}},exports[_0x154c14(0x1d3)]=bi([qe(0x0,a[_0x154c14(0x25b)](Y[_0x154c14(0x4b7)])),qe(0x1,a[_0x154c14(0x25b)](a[_0x154c14(0x307)]))],exports[_0x154c14(0x1d3)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x42f326){var _0x2d8f8f=_0x154c14;return _0x42f326&&_0x42f326[_0x2d8f8f(0x474)]&&Object[_0x2d8f8f(0x4c4)]['hasOwnProperty'][_0x2d8f8f(0x2eb)](_0x42f326,'default')?_0x42f326[_0x2d8f8f(0x251)]:_0x42f326;}var fe={'exports':{}};function Oi(_0x38e2f4){var _0x2e48dc=_0x154c14;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x38e2f4+_0x2e48dc(0x498));}var pe={'exports':{}},yi=pe[_0x154c14(0x374)],ze;function Q(){var _0x5e2057=_0x154c14;return ze||(ze=0x1,function(_0x3255dd,_0x18b653){(function(_0x1f93b2,_0x3feedc){var _0x302645=_0x1a03;_0x3255dd[_0x302645(0x374)]=_0x3feedc();}(yi,function(){var _0x1480fb=_0x1480fb||function(_0xb221c4,_0x897bf6){var _0x184597=_0x1a03,_0xa00c8;if(typeof window<'u'&&window[_0x184597(0x283)]&&(_0xa00c8=window['crypto']),typeof self<'u'&&self['crypto']&&(_0xa00c8=self[_0x184597(0x283)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0xa00c8=globalThis[_0x184597(0x283)]),!_0xa00c8&&typeof window<'u'&&window[_0x184597(0x1bf)]&&(_0xa00c8=window['msCrypto']),!_0xa00c8&&typeof Pe<'u'&&Pe[_0x184597(0x283)]&&(_0xa00c8=Pe[_0x184597(0x283)]),!_0xa00c8&&typeof Oi==_0x184597(0x4a0))try{_0xa00c8=require(_0x184597(0x283));}catch{}var _0x11273a=function(){var _0x4c848f=_0x184597;if(_0xa00c8){if(typeof _0xa00c8[_0x4c848f(0x429)]==_0x4c848f(0x4a0))try{return _0xa00c8[_0x4c848f(0x429)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xa00c8['randomBytes']==_0x4c848f(0x4a0))try{return _0xa00c8[_0x4c848f(0x3bf)](0x4)[_0x4c848f(0x2a6)]();}catch{}}throw new Error(_0x4c848f(0x1fa));},_0x832af7=Object[_0x184597(0x3db)]||(function(){function _0x376203(){}return function(_0xc22f32){var _0x410417=_0x1a03,_0xfc8bb5;return _0x376203[_0x410417(0x4c4)]=_0xc22f32,_0xfc8bb5=new _0x376203(),_0x376203[_0x410417(0x4c4)]=null,_0xfc8bb5;};}()),_0x5f1046={},_0x33a0fc=_0x5f1046[_0x184597(0x362)]={},_0x9c1387=_0x33a0fc[_0x184597(0x46b)]=(function(){return{'extend':function(_0x1148e4){var _0x5ca11e=_0x1a03,_0x3340f1=_0x832af7(this);return _0x1148e4&&_0x3340f1[_0x5ca11e(0x20a)](_0x1148e4),(!_0x3340f1[_0x5ca11e(0x195)](_0x5ca11e(0x412))||this[_0x5ca11e(0x412)]===_0x3340f1[_0x5ca11e(0x412)])&&(_0x3340f1[_0x5ca11e(0x412)]=function(){var _0x22c301=_0x5ca11e;_0x3340f1[_0x22c301(0x1c9)][_0x22c301(0x412)][_0x22c301(0x341)](this,arguments);}),_0x3340f1[_0x5ca11e(0x412)][_0x5ca11e(0x4c4)]=_0x3340f1,_0x3340f1[_0x5ca11e(0x1c9)]=this,_0x3340f1;},'create':function(){var _0x48444c=_0x1a03,_0x4ec667=this[_0x48444c(0x19a)]();return _0x4ec667[_0x48444c(0x412)]['apply'](_0x4ec667,arguments),_0x4ec667;},'init':function(){},'mixIn':function(_0x4205c2){var _0x566920=_0x1a03;for(var _0x4b2d8e in _0x4205c2)_0x4205c2[_0x566920(0x195)](_0x4b2d8e)&&(this[_0x4b2d8e]=_0x4205c2[_0x4b2d8e]);_0x4205c2[_0x566920(0x195)](_0x566920(0x185))&&(this[_0x566920(0x185)]=_0x4205c2[_0x566920(0x185)]);},'clone':function(){return this['init']['prototype']['extend'](this);}};}()),_0x14cfe7=_0x33a0fc[_0x184597(0x1a0)]=_0x9c1387[_0x184597(0x19a)]({'init':function(_0x425916,_0x2ba5e0){var _0x5c92a9=_0x184597;_0x425916=this['words']=_0x425916||[],_0x2ba5e0!=_0x897bf6?this['sigBytes']=_0x2ba5e0:this[_0x5c92a9(0x27f)]=_0x425916[_0x5c92a9(0x454)]*0x4;},'toString':function(_0x5772a9){var _0x511ba9=_0x184597;return(_0x5772a9||_0x18d854)[_0x511ba9(0x276)](this);},'concat':function(_0x495209){var _0x2e54bf=_0x184597,_0x53b60d=this[_0x2e54bf(0x373)],_0x42dc99=_0x495209['words'],_0x7d2182=this['sigBytes'],_0x2c8101=_0x495209['sigBytes'];if(this[_0x2e54bf(0x45e)](),_0x7d2182%0x4)for(var _0x23c6a8=0x0;_0x23c6a8<_0x2c8101;_0x23c6a8++){var _0x798c26=_0x42dc99[_0x23c6a8>>>0x2]>>>0x18-_0x23c6a8%0x4*0x8&0xff;_0x53b60d[_0x7d2182+_0x23c6a8>>>0x2]|=_0x798c26<<0x18-(_0x7d2182+_0x23c6a8)%0x4*0x8;}else{for(var _0x46bdd0=0x0;_0x46bdd0<_0x2c8101;_0x46bdd0+=0x4)_0x53b60d[_0x7d2182+_0x46bdd0>>>0x2]=_0x42dc99[_0x46bdd0>>>0x2];}return this['sigBytes']+=_0x2c8101,this;},'clamp':function(){var _0x1ed53f=_0x184597,_0xe3fc73=this[_0x1ed53f(0x373)],_0x2a54e7=this[_0x1ed53f(0x27f)];_0xe3fc73[_0x2a54e7>>>0x2]&=0xffffffff<<0x20-_0x2a54e7%0x4*0x8,_0xe3fc73['length']=_0xb221c4[_0x1ed53f(0x217)](_0x2a54e7/0x4);},'clone':function(){var _0x2c8aa6=_0x184597,_0x110b24=_0x9c1387['clone']['call'](this);return _0x110b24['words']=this[_0x2c8aa6(0x373)][_0x2c8aa6(0x30f)](0x0),_0x110b24;},'random':function(_0x4753cb){var _0x3ba205=_0x184597;for(var _0x707027=[],_0x5be7ed=0x0;_0x5be7ed<_0x4753cb;_0x5be7ed+=0x4)_0x707027[_0x3ba205(0x4af)](_0x11273a());return new _0x14cfe7[(_0x3ba205(0x412))](_0x707027,_0x4753cb);}}),_0x5f3562=_0x5f1046[_0x184597(0x30e)]={},_0x18d854=_0x5f3562[_0x184597(0x46d)]={'stringify':function(_0x38b3f6){var _0x87954b=_0x184597;for(var _0x2efd02=_0x38b3f6['words'],_0xf1532c=_0x38b3f6[_0x87954b(0x27f)],_0x207233=[],_0x14e8e5=0x0;_0x14e8e5<_0xf1532c;_0x14e8e5++){var _0x18f661=_0x2efd02[_0x14e8e5>>>0x2]>>>0x18-_0x14e8e5%0x4*0x8&0xff;_0x207233[_0x87954b(0x4af)]((_0x18f661>>>0x4)[_0x87954b(0x185)](0x10)),_0x207233['push']((_0x18f661&0xf)[_0x87954b(0x185)](0x10));}return _0x207233['join']('');},'parse':function(_0x3d8a00){var _0x4b7845=_0x184597;for(var _0x29d59d=_0x3d8a00[_0x4b7845(0x454)],_0x3001dc=[],_0x55174b=0x0;_0x55174b<_0x29d59d;_0x55174b+=0x2)_0x3001dc[_0x55174b>>>0x3]|=parseInt(_0x3d8a00[_0x4b7845(0x3c2)](_0x55174b,0x2),0x10)<<0x18-_0x55174b%0x8*0x4;return new _0x14cfe7[(_0x4b7845(0x412))](_0x3001dc,_0x29d59d/0x2);}},_0x137888=_0x5f3562[_0x184597(0x1ea)]={'stringify':function(_0xbc0c6e){var _0x296576=_0x184597;for(var _0x114ec2=_0xbc0c6e[_0x296576(0x373)],_0x189626=_0xbc0c6e[_0x296576(0x27f)],_0x263160=[],_0x4e9305=0x0;_0x4e9305<_0x189626;_0x4e9305++){var _0x3ae4e5=_0x114ec2[_0x4e9305>>>0x2]>>>0x18-_0x4e9305%0x4*0x8&0xff;_0x263160[_0x296576(0x4af)](String[_0x296576(0x2a8)](_0x3ae4e5));}return _0x263160[_0x296576(0x2c2)]('');},'parse':function(_0x126d89){var _0x28f69e=_0x184597;for(var _0x1ab624=_0x126d89['length'],_0xd455ec=[],_0x4746e3=0x0;_0x4746e3<_0x1ab624;_0x4746e3++)_0xd455ec[_0x4746e3>>>0x2]|=(_0x126d89[_0x28f69e(0x3e3)](_0x4746e3)&0xff)<<0x18-_0x4746e3%0x4*0x8;return new _0x14cfe7[(_0x28f69e(0x412))](_0xd455ec,_0x1ab624);}},_0x135ccd=_0x5f3562[_0x184597(0x23e)]={'stringify':function(_0x549d6f){try{return decodeURIComponent(escape(_0x137888['stringify'](_0x549d6f)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x53790f){var _0x4c3a6e=_0x184597;return _0x137888[_0x4c3a6e(0x1b3)](unescape(encodeURIComponent(_0x53790f)));}},_0x2642b=_0x33a0fc['BufferedBlockAlgorithm']=_0x9c1387['extend']({'reset':function(){var _0x54e98d=_0x184597;this[_0x54e98d(0x2d4)]=new _0x14cfe7[(_0x54e98d(0x412))](),this['_nDataBytes']=0x0;},'_append':function(_0x176590){var _0x208d86=_0x184597;typeof _0x176590==_0x208d86(0x4a7)&&(_0x176590=_0x135ccd[_0x208d86(0x1b3)](_0x176590)),this[_0x208d86(0x2d4)]['concat'](_0x176590),this['_nDataBytes']+=_0x176590[_0x208d86(0x27f)];},'_process':function(_0x4d1f6c){var _0xf10845=_0x184597,_0x48a4a3,_0x585f3d=this[_0xf10845(0x2d4)],_0x19c200=_0x585f3d[_0xf10845(0x373)],_0x502446=_0x585f3d['sigBytes'],_0x329319=this[_0xf10845(0x4f0)],_0x2b673c=_0x329319*0x4,_0x3d97c0=_0x502446/_0x2b673c;_0x4d1f6c?_0x3d97c0=_0xb221c4[_0xf10845(0x217)](_0x3d97c0):_0x3d97c0=_0xb221c4[_0xf10845(0x181)]((_0x3d97c0|0x0)-this['_minBufferSize'],0x0);var _0x49a990=_0x3d97c0*_0x329319,_0x4af2ca=_0xb221c4['min'](_0x49a990*0x4,_0x502446);if(_0x49a990){for(var _0x124635=0x0;_0x124635<_0x49a990;_0x124635+=_0x329319)this['_doProcessBlock'](_0x19c200,_0x124635);_0x48a4a3=_0x19c200[_0xf10845(0x186)](0x0,_0x49a990),_0x585f3d['sigBytes']-=_0x4af2ca;}return new _0x14cfe7[(_0xf10845(0x412))](_0x48a4a3,_0x4af2ca);},'clone':function(){var _0x5e542b=_0x184597,_0x5b79b9=_0x9c1387['clone'][_0x5e542b(0x2eb)](this);return _0x5b79b9[_0x5e542b(0x2d4)]=this[_0x5e542b(0x2d4)][_0x5e542b(0x250)](),_0x5b79b9;},'_minBufferSize':0x0});_0x33a0fc['Hasher']=_0x2642b[_0x184597(0x19a)]({'cfg':_0x9c1387[_0x184597(0x19a)](),'init':function(_0x516411){var _0x1bd3a0=_0x184597;this[_0x1bd3a0(0x3d8)]=this[_0x1bd3a0(0x3d8)][_0x1bd3a0(0x19a)](_0x516411),this[_0x1bd3a0(0x3aa)]();},'reset':function(){var _0x22c833=_0x184597;_0x2642b[_0x22c833(0x3aa)][_0x22c833(0x2eb)](this),this[_0x22c833(0x2b5)]();},'update':function(_0x4e77f6){var _0x301683=_0x184597;return this[_0x301683(0x444)](_0x4e77f6),this[_0x301683(0x389)](),this;},'finalize':function(_0x2a8721){var _0x558bc2=_0x184597;_0x2a8721&&this[_0x558bc2(0x444)](_0x2a8721);var _0x3586e6=this[_0x558bc2(0x1d0)]();return _0x3586e6;},'blockSize':0x10,'_createHelper':function(_0x420c34){return function(_0x54562b,_0x306415){var _0x18ed88=_0x1a03;return new _0x420c34[(_0x18ed88(0x412))](_0x306415)[_0x18ed88(0x228)](_0x54562b);};},'_createHmacHelper':function(_0x261104){return function(_0xebb6c4,_0x556301){var _0x57d772=_0x1a03;return new _0x5e836e[(_0x57d772(0x3c5))][(_0x57d772(0x412))](_0x261104,_0x556301)[_0x57d772(0x228)](_0xebb6c4);};}});var _0x5e836e=_0x5f1046[_0x184597(0x460)]={};return _0x5f1046;}(Math);return _0x1480fb;}));}(pe)),pe[_0x5e2057(0x374)];}var Ie={'exports':{}},Ni=Ie['exports'],Je;function yt(){var _0x557cb3=_0x154c14;return Je||(Je=0x1,function(_0x2c29f4,_0x29bf28){(function(_0x2f2fe4,_0x45ec65){var _0x2cffdf=_0x1a03;_0x2c29f4[_0x2cffdf(0x374)]=_0x45ec65(Q());}(Ni,function(_0x5dfba4){var _0x1da595=_0x1a03;return(function(){var _0x4e6875=_0x1a03,_0x569519=_0x5dfba4,_0x515b8a=_0x569519[_0x4e6875(0x362)],_0x3cb422=_0x515b8a['WordArray'],_0x40f779=_0x569519['enc'];_0x40f779[_0x4e6875(0x3d7)]={'stringify':function(_0x59b7bb){var _0x15ab19=_0x4e6875,_0x417861=_0x59b7bb[_0x15ab19(0x373)],_0x5b18f1=_0x59b7bb['sigBytes'],_0x29726b=this[_0x15ab19(0x22c)];_0x59b7bb[_0x15ab19(0x45e)]();for(var _0x5a02fb=[],_0x506b95=0x0;_0x506b95<_0x5b18f1;_0x506b95+=0x3)for(var _0x24f640=_0x417861[_0x506b95>>>0x2]>>>0x18-_0x506b95%0x4*0x8&0xff,_0x314215=_0x417861[_0x506b95+0x1>>>0x2]>>>0x18-(_0x506b95+0x1)%0x4*0x8&0xff,_0x113ec7=_0x417861[_0x506b95+0x2>>>0x2]>>>0x18-(_0x506b95+0x2)%0x4*0x8&0xff,_0x1aac1d=_0x24f640<<0x10|_0x314215<<0x8|_0x113ec7,_0x605274=0x0;_0x605274<0x4&&_0x506b95+_0x605274*0.75<_0x5b18f1;_0x605274++)_0x5a02fb[_0x15ab19(0x4af)](_0x29726b[_0x15ab19(0x426)](_0x1aac1d>>>0x6*(0x3-_0x605274)&0x3f));var _0x2d5a69=_0x29726b[_0x15ab19(0x426)](0x40);if(_0x2d5a69){for(;_0x5a02fb['length']%0x4;)_0x5a02fb[_0x15ab19(0x4af)](_0x2d5a69);}return _0x5a02fb[_0x15ab19(0x2c2)]('');},'parse':function(_0x48ead6){var _0xedd8a3=_0x4e6875,_0x18713f=_0x48ead6[_0xedd8a3(0x454)],_0x3497a4=this[_0xedd8a3(0x22c)],_0x544371=this['_reverseMap'];if(!_0x544371){_0x544371=this[_0xedd8a3(0x388)]=[];for(var _0x4e5663=0x0;_0x4e5663<_0x3497a4['length'];_0x4e5663++)_0x544371[_0x3497a4[_0xedd8a3(0x3e3)](_0x4e5663)]=_0x4e5663;}var _0x30b5ff=_0x3497a4['charAt'](0x40);if(_0x30b5ff){var _0x3293b0=_0x48ead6[_0xedd8a3(0x18a)](_0x30b5ff);_0x3293b0!==-0x1&&(_0x18713f=_0x3293b0);}return _0x1eb056(_0x48ead6,_0x18713f,_0x544371);},'_map':_0x4e6875(0x2dc)};function _0x1eb056(_0x536cdc,_0x12e5bb,_0x4f84ac){var _0x374989=_0x4e6875;for(var _0x298f3e=[],_0x31a820=0x0,_0xeac4be=0x0;_0xeac4be<_0x12e5bb;_0xeac4be++)if(_0xeac4be%0x4){var _0x31a35c=_0x4f84ac[_0x536cdc[_0x374989(0x3e3)](_0xeac4be-0x1)]<<_0xeac4be%0x4*0x2,_0x814aa7=_0x4f84ac[_0x536cdc['charCodeAt'](_0xeac4be)]>>>0x6-_0xeac4be%0x4*0x2,_0x2175f4=_0x31a35c|_0x814aa7;_0x298f3e[_0x31a820>>>0x2]|=_0x2175f4<<0x18-_0x31a820%0x4*0x8,_0x31a820++;}return _0x3cb422[_0x374989(0x3db)](_0x298f3e,_0x31a820);}}()),_0x5dfba4['enc'][_0x1da595(0x3d7)];}));}(Ie)),Ie[_0x557cb3(0x374)];}var ge={'exports':{}},Ui=ge[_0x154c14(0x374)],Xe;function Di(){var _0x46721d=_0x154c14;return Xe||(Xe=0x1,function(_0x2992fd,_0x1ed89a){(function(_0x64e471,_0x39b1f3){var _0x40c7b8=_0x1a03;_0x2992fd[_0x40c7b8(0x374)]=_0x39b1f3(Q());}(Ui,function(_0x1ce4d5){var _0x6690bc=_0x1a03;return function(_0x2b0505){var _0x1d4039=_0x1a03,_0x5a6a7e=_0x1ce4d5,_0x23d84a=_0x5a6a7e[_0x1d4039(0x362)],_0x123bba=_0x23d84a[_0x1d4039(0x1a0)],_0x1965e2=_0x23d84a[_0x1d4039(0x433)],_0x476102=_0x5a6a7e[_0x1d4039(0x460)],_0x5a25c3=[];(function(){var _0x4942f5=_0x1d4039;for(var _0x284cb9=0x0;_0x284cb9<0x40;_0x284cb9++)_0x5a25c3[_0x284cb9]=_0x2b0505[_0x4942f5(0x302)](_0x2b0505['sin'](_0x284cb9+0x1))*0x100000000|0x0;}());var _0x44ebe0=_0x476102[_0x1d4039(0x2ab)]=_0x1965e2[_0x1d4039(0x19a)]({'_doReset':function(){var _0x562bd8=_0x1d4039;this[_0x562bd8(0x4f7)]=new _0x123bba[(_0x562bd8(0x412))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x48241e,_0x46057e){var _0x1426b1=_0x1d4039;for(var _0x2b35cc=0x0;_0x2b35cc<0x10;_0x2b35cc++){var _0x3f7331=_0x46057e+_0x2b35cc,_0x18e395=_0x48241e[_0x3f7331];_0x48241e[_0x3f7331]=(_0x18e395<<0x8|_0x18e395>>>0x18)&0xff00ff|(_0x18e395<<0x18|_0x18e395>>>0x8)&0xff00ff00;}var _0x4cd939=this[_0x1426b1(0x4f7)][_0x1426b1(0x373)],_0x49fe3f=_0x48241e[_0x46057e+0x0],_0x3fd8a9=_0x48241e[_0x46057e+0x1],_0x1ec219=_0x48241e[_0x46057e+0x2],_0x492bd7=_0x48241e[_0x46057e+0x3],_0x444cff=_0x48241e[_0x46057e+0x4],_0x177026=_0x48241e[_0x46057e+0x5],_0xcaf038=_0x48241e[_0x46057e+0x6],_0x43ab1f=_0x48241e[_0x46057e+0x7],_0x5342da=_0x48241e[_0x46057e+0x8],_0x133767=_0x48241e[_0x46057e+0x9],_0x5689a5=_0x48241e[_0x46057e+0xa],_0x1e8afa=_0x48241e[_0x46057e+0xb],_0x3d59b4=_0x48241e[_0x46057e+0xc],_0x258eee=_0x48241e[_0x46057e+0xd],_0x20d6a9=_0x48241e[_0x46057e+0xe],_0x42814e=_0x48241e[_0x46057e+0xf],_0x51a76c=_0x4cd939[0x0],_0x41af19=_0x4cd939[0x1],_0xaa0e1c=_0x4cd939[0x2],_0x61f007=_0x4cd939[0x3];_0x51a76c=_0x2b4eb5(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x49fe3f,0x7,_0x5a25c3[0x0]),_0x61f007=_0x2b4eb5(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0x3fd8a9,0xc,_0x5a25c3[0x1]),_0xaa0e1c=_0x2b4eb5(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0x1ec219,0x11,_0x5a25c3[0x2]),_0x41af19=_0x2b4eb5(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0x492bd7,0x16,_0x5a25c3[0x3]),_0x51a76c=_0x2b4eb5(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x444cff,0x7,_0x5a25c3[0x4]),_0x61f007=_0x2b4eb5(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0x177026,0xc,_0x5a25c3[0x5]),_0xaa0e1c=_0x2b4eb5(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0xcaf038,0x11,_0x5a25c3[0x6]),_0x41af19=_0x2b4eb5(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0x43ab1f,0x16,_0x5a25c3[0x7]),_0x51a76c=_0x2b4eb5(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x5342da,0x7,_0x5a25c3[0x8]),_0x61f007=_0x2b4eb5(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0x133767,0xc,_0x5a25c3[0x9]),_0xaa0e1c=_0x2b4eb5(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0x5689a5,0x11,_0x5a25c3[0xa]),_0x41af19=_0x2b4eb5(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0x1e8afa,0x16,_0x5a25c3[0xb]),_0x51a76c=_0x2b4eb5(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x3d59b4,0x7,_0x5a25c3[0xc]),_0x61f007=_0x2b4eb5(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0x258eee,0xc,_0x5a25c3[0xd]),_0xaa0e1c=_0x2b4eb5(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0x20d6a9,0x11,_0x5a25c3[0xe]),_0x41af19=_0x2b4eb5(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0x42814e,0x16,_0x5a25c3[0xf]),_0x51a76c=_0x4cab65(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x3fd8a9,0x5,_0x5a25c3[0x10]),_0x61f007=_0x4cab65(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0xcaf038,0x9,_0x5a25c3[0x11]),_0xaa0e1c=_0x4cab65(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0x1e8afa,0xe,_0x5a25c3[0x12]),_0x41af19=_0x4cab65(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0x49fe3f,0x14,_0x5a25c3[0x13]),_0x51a76c=_0x4cab65(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x177026,0x5,_0x5a25c3[0x14]),_0x61f007=_0x4cab65(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0x5689a5,0x9,_0x5a25c3[0x15]),_0xaa0e1c=_0x4cab65(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0x42814e,0xe,_0x5a25c3[0x16]),_0x41af19=_0x4cab65(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0x444cff,0x14,_0x5a25c3[0x17]),_0x51a76c=_0x4cab65(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x133767,0x5,_0x5a25c3[0x18]),_0x61f007=_0x4cab65(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0x20d6a9,0x9,_0x5a25c3[0x19]),_0xaa0e1c=_0x4cab65(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0x492bd7,0xe,_0x5a25c3[0x1a]),_0x41af19=_0x4cab65(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0x5342da,0x14,_0x5a25c3[0x1b]),_0x51a76c=_0x4cab65(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x258eee,0x5,_0x5a25c3[0x1c]),_0x61f007=_0x4cab65(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0x1ec219,0x9,_0x5a25c3[0x1d]),_0xaa0e1c=_0x4cab65(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0x43ab1f,0xe,_0x5a25c3[0x1e]),_0x41af19=_0x4cab65(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0x3d59b4,0x14,_0x5a25c3[0x1f]),_0x51a76c=_0x3e2547(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x177026,0x4,_0x5a25c3[0x20]),_0x61f007=_0x3e2547(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0x5342da,0xb,_0x5a25c3[0x21]),_0xaa0e1c=_0x3e2547(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0x1e8afa,0x10,_0x5a25c3[0x22]),_0x41af19=_0x3e2547(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0x20d6a9,0x17,_0x5a25c3[0x23]),_0x51a76c=_0x3e2547(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x3fd8a9,0x4,_0x5a25c3[0x24]),_0x61f007=_0x3e2547(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0x444cff,0xb,_0x5a25c3[0x25]),_0xaa0e1c=_0x3e2547(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0x43ab1f,0x10,_0x5a25c3[0x26]),_0x41af19=_0x3e2547(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0x5689a5,0x17,_0x5a25c3[0x27]),_0x51a76c=_0x3e2547(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x258eee,0x4,_0x5a25c3[0x28]),_0x61f007=_0x3e2547(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0x49fe3f,0xb,_0x5a25c3[0x29]),_0xaa0e1c=_0x3e2547(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0x492bd7,0x10,_0x5a25c3[0x2a]),_0x41af19=_0x3e2547(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0xcaf038,0x17,_0x5a25c3[0x2b]),_0x51a76c=_0x3e2547(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x133767,0x4,_0x5a25c3[0x2c]),_0x61f007=_0x3e2547(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0x3d59b4,0xb,_0x5a25c3[0x2d]),_0xaa0e1c=_0x3e2547(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0x42814e,0x10,_0x5a25c3[0x2e]),_0x41af19=_0x3e2547(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0x1ec219,0x17,_0x5a25c3[0x2f]),_0x51a76c=_0x38c6c8(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x49fe3f,0x6,_0x5a25c3[0x30]),_0x61f007=_0x38c6c8(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0x43ab1f,0xa,_0x5a25c3[0x31]),_0xaa0e1c=_0x38c6c8(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0x20d6a9,0xf,_0x5a25c3[0x32]),_0x41af19=_0x38c6c8(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0x177026,0x15,_0x5a25c3[0x33]),_0x51a76c=_0x38c6c8(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x3d59b4,0x6,_0x5a25c3[0x34]),_0x61f007=_0x38c6c8(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0x492bd7,0xa,_0x5a25c3[0x35]),_0xaa0e1c=_0x38c6c8(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0x5689a5,0xf,_0x5a25c3[0x36]),_0x41af19=_0x38c6c8(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0x3fd8a9,0x15,_0x5a25c3[0x37]),_0x51a76c=_0x38c6c8(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x5342da,0x6,_0x5a25c3[0x38]),_0x61f007=_0x38c6c8(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0x42814e,0xa,_0x5a25c3[0x39]),_0xaa0e1c=_0x38c6c8(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0xcaf038,0xf,_0x5a25c3[0x3a]),_0x41af19=_0x38c6c8(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0x258eee,0x15,_0x5a25c3[0x3b]),_0x51a76c=_0x38c6c8(_0x51a76c,_0x41af19,_0xaa0e1c,_0x61f007,_0x444cff,0x6,_0x5a25c3[0x3c]),_0x61f007=_0x38c6c8(_0x61f007,_0x51a76c,_0x41af19,_0xaa0e1c,_0x1e8afa,0xa,_0x5a25c3[0x3d]),_0xaa0e1c=_0x38c6c8(_0xaa0e1c,_0x61f007,_0x51a76c,_0x41af19,_0x1ec219,0xf,_0x5a25c3[0x3e]),_0x41af19=_0x38c6c8(_0x41af19,_0xaa0e1c,_0x61f007,_0x51a76c,_0x133767,0x15,_0x5a25c3[0x3f]),_0x4cd939[0x0]=_0x4cd939[0x0]+_0x51a76c|0x0,_0x4cd939[0x1]=_0x4cd939[0x1]+_0x41af19|0x0,_0x4cd939[0x2]=_0x4cd939[0x2]+_0xaa0e1c|0x0,_0x4cd939[0x3]=_0x4cd939[0x3]+_0x61f007|0x0;},'_doFinalize':function(){var _0x247108=_0x1d4039,_0x259c67=this[_0x247108(0x2d4)],_0x6aceeb=_0x259c67['words'],_0x5db805=this[_0x247108(0x35e)]*0x8,_0x33a4c7=_0x259c67['sigBytes']*0x8;_0x6aceeb[_0x33a4c7>>>0x5]|=0x80<<0x18-_0x33a4c7%0x20;var _0x61eeac=_0x2b0505[_0x247108(0x2f0)](_0x5db805/0x100000000),_0x2a1fd4=_0x5db805;_0x6aceeb[(_0x33a4c7+0x40>>>0x9<<0x4)+0xf]=(_0x61eeac<<0x8|_0x61eeac>>>0x18)&0xff00ff|(_0x61eeac<<0x18|_0x61eeac>>>0x8)&0xff00ff00,_0x6aceeb[(_0x33a4c7+0x40>>>0x9<<0x4)+0xe]=(_0x2a1fd4<<0x8|_0x2a1fd4>>>0x18)&0xff00ff|(_0x2a1fd4<<0x18|_0x2a1fd4>>>0x8)&0xff00ff00,_0x259c67[_0x247108(0x27f)]=(_0x6aceeb[_0x247108(0x454)]+0x1)*0x4,this[_0x247108(0x389)]();for(var _0x3a5dcb=this['_hash'],_0x1f1917=_0x3a5dcb['words'],_0x2aefb1=0x0;_0x2aefb1<0x4;_0x2aefb1++){var _0x3215a0=_0x1f1917[_0x2aefb1];_0x1f1917[_0x2aefb1]=(_0x3215a0<<0x8|_0x3215a0>>>0x18)&0xff00ff|(_0x3215a0<<0x18|_0x3215a0>>>0x8)&0xff00ff00;}return _0x3a5dcb;},'clone':function(){var _0x49c3a3=_0x1d4039,_0x3792d4=_0x1965e2[_0x49c3a3(0x250)][_0x49c3a3(0x2eb)](this);return _0x3792d4[_0x49c3a3(0x4f7)]=this[_0x49c3a3(0x4f7)]['clone'](),_0x3792d4;}});function _0x2b4eb5(_0x20627b,_0x2b4832,_0x248b0a,_0x42f7a9,_0x53eb5e,_0x230498,_0x5586a9){var _0x18a014=_0x20627b+(_0x2b4832&_0x248b0a|~_0x2b4832&_0x42f7a9)+_0x53eb5e+_0x5586a9;return(_0x18a014<<_0x230498|_0x18a014>>>0x20-_0x230498)+_0x2b4832;}function _0x4cab65(_0x5cdfe8,_0x25f6ae,_0x1ef7f0,_0x2221af,_0x432111,_0x2fc45b,_0x49e0a7){var _0x152c16=_0x5cdfe8+(_0x25f6ae&_0x2221af|_0x1ef7f0&~_0x2221af)+_0x432111+_0x49e0a7;return(_0x152c16<<_0x2fc45b|_0x152c16>>>0x20-_0x2fc45b)+_0x25f6ae;}function _0x3e2547(_0x6f182b,_0x3f56af,_0x410674,_0x13ff9e,_0x15ece,_0x4938fe,_0x34abe6){var _0xeedaf0=_0x6f182b+(_0x3f56af^_0x410674^_0x13ff9e)+_0x15ece+_0x34abe6;return(_0xeedaf0<<_0x4938fe|_0xeedaf0>>>0x20-_0x4938fe)+_0x3f56af;}function _0x38c6c8(_0x51e78e,_0x42c4a6,_0x3b4146,_0x5155a3,_0x171e26,_0x14cfe5,_0x5145f4){var _0xc1317e=_0x51e78e+(_0x3b4146^(_0x42c4a6|~_0x5155a3))+_0x171e26+_0x5145f4;return(_0xc1317e<<_0x14cfe5|_0xc1317e>>>0x20-_0x14cfe5)+_0x42c4a6;}_0x5a6a7e[_0x1d4039(0x2ab)]=_0x1965e2[_0x1d4039(0x4d8)](_0x44ebe0),_0x5a6a7e[_0x1d4039(0x206)]=_0x1965e2[_0x1d4039(0x32d)](_0x44ebe0);}(Math),_0x1ce4d5[_0x6690bc(0x2ab)];}));}(ge)),ge[_0x46721d(0x374)];}var Ee={'exports':{}},me={'exports':{}},Ai=me[_0x154c14(0x374)],Ze;function Pi(){var _0x3d1cf1=_0x154c14;return Ze||(Ze=0x1,function(_0x4e002f,_0x15bbbe){(function(_0x1a62a4,_0x11bb3f){_0x4e002f['exports']=_0x11bb3f(Q());}(Ai,function(_0x4b8006){var _0x44c1a2=_0x1a03;return(function(){var _0x3deb25=_0x1a03,_0x891122=_0x4b8006,_0x5597e6=_0x891122[_0x3deb25(0x362)],_0x26a13b=_0x5597e6[_0x3deb25(0x1a0)],_0x4d281d=_0x5597e6[_0x3deb25(0x433)],_0x233555=_0x891122['algo'],_0x4b7555=[],_0x46a023=_0x233555[_0x3deb25(0x28b)]=_0x4d281d[_0x3deb25(0x19a)]({'_doReset':function(){var _0x1b92c4=_0x3deb25;this['_hash']=new _0x26a13b[(_0x1b92c4(0x412))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2686f5,_0x389e1f){var _0x44000b=_0x3deb25;for(var _0x429b11=this[_0x44000b(0x4f7)][_0x44000b(0x373)],_0x1470fc=_0x429b11[0x0],_0x54dad2=_0x429b11[0x1],_0x1a4376=_0x429b11[0x2],_0x4958d2=_0x429b11[0x3],_0x3e8e81=_0x429b11[0x4],_0x55bef=0x0;_0x55bef<0x50;_0x55bef++){if(_0x55bef<0x10)_0x4b7555[_0x55bef]=_0x2686f5[_0x389e1f+_0x55bef]|0x0;else{var _0xdbc011=_0x4b7555[_0x55bef-0x3]^_0x4b7555[_0x55bef-0x8]^_0x4b7555[_0x55bef-0xe]^_0x4b7555[_0x55bef-0x10];_0x4b7555[_0x55bef]=_0xdbc011<<0x1|_0xdbc011>>>0x1f;}var _0x21e490=(_0x1470fc<<0x5|_0x1470fc>>>0x1b)+_0x3e8e81+_0x4b7555[_0x55bef];_0x55bef<0x14?_0x21e490+=(_0x54dad2&_0x1a4376|~_0x54dad2&_0x4958d2)+0x5a827999:_0x55bef<0x28?_0x21e490+=(_0x54dad2^_0x1a4376^_0x4958d2)+0x6ed9eba1:_0x55bef<0x3c?_0x21e490+=(_0x54dad2&_0x1a4376|_0x54dad2&_0x4958d2|_0x1a4376&_0x4958d2)-0x70e44324:_0x21e490+=(_0x54dad2^_0x1a4376^_0x4958d2)-0x359d3e2a,_0x3e8e81=_0x4958d2,_0x4958d2=_0x1a4376,_0x1a4376=_0x54dad2<<0x1e|_0x54dad2>>>0x2,_0x54dad2=_0x1470fc,_0x1470fc=_0x21e490;}_0x429b11[0x0]=_0x429b11[0x0]+_0x1470fc|0x0,_0x429b11[0x1]=_0x429b11[0x1]+_0x54dad2|0x0,_0x429b11[0x2]=_0x429b11[0x2]+_0x1a4376|0x0,_0x429b11[0x3]=_0x429b11[0x3]+_0x4958d2|0x0,_0x429b11[0x4]=_0x429b11[0x4]+_0x3e8e81|0x0;},'_doFinalize':function(){var _0x4b3959=_0x3deb25,_0x30796e=this['_data'],_0xe4a3b5=_0x30796e[_0x4b3959(0x373)],_0x7ff0f1=this['_nDataBytes']*0x8,_0x4a5aa1=_0x30796e[_0x4b3959(0x27f)]*0x8;return _0xe4a3b5[_0x4a5aa1>>>0x5]|=0x80<<0x18-_0x4a5aa1%0x20,_0xe4a3b5[(_0x4a5aa1+0x40>>>0x9<<0x4)+0xe]=Math[_0x4b3959(0x2f0)](_0x7ff0f1/0x100000000),_0xe4a3b5[(_0x4a5aa1+0x40>>>0x9<<0x4)+0xf]=_0x7ff0f1,_0x30796e[_0x4b3959(0x27f)]=_0xe4a3b5[_0x4b3959(0x454)]*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x5ccc28=_0x3deb25,_0x5b1099=_0x4d281d['clone']['call'](this);return _0x5b1099[_0x5ccc28(0x4f7)]=this[_0x5ccc28(0x4f7)][_0x5ccc28(0x250)](),_0x5b1099;}});_0x891122[_0x3deb25(0x28b)]=_0x4d281d[_0x3deb25(0x4d8)](_0x46a023),_0x891122[_0x3deb25(0x308)]=_0x4d281d[_0x3deb25(0x32d)](_0x46a023);}()),_0x4b8006[_0x44c1a2(0x28b)];}));}(me)),me[_0x3d1cf1(0x374)];}var Ce={'exports':{}},wi=Ce[_0x154c14(0x374)],Qe;function Li(){var _0x1f625f=_0x154c14;return Qe||(Qe=0x1,function(_0x38af84,_0x3a1cd5){(function(_0x2e411b,_0x431cd2){var _0xecf588=_0x1a03;_0x38af84[_0xecf588(0x374)]=_0x431cd2(Q());}(wi,function(_0x1a4722){(function(){var _0x431db0=_0x1a03,_0x39a1a7=_0x1a4722,_0x2fdbfc=_0x39a1a7['lib'],_0xce55e2=_0x2fdbfc[_0x431db0(0x46b)],_0x2c4378=_0x39a1a7[_0x431db0(0x30e)],_0x21b3d3=_0x2c4378[_0x431db0(0x23e)],_0x35da3d=_0x39a1a7[_0x431db0(0x460)];_0x35da3d['HMAC']=_0xce55e2[_0x431db0(0x19a)]({'init':function(_0x15aef7,_0x57154c){var _0x38b013=_0x431db0;_0x15aef7=this['_hasher']=new _0x15aef7[(_0x38b013(0x412))](),typeof _0x57154c==_0x38b013(0x4a7)&&(_0x57154c=_0x21b3d3['parse'](_0x57154c));var _0x1aeef4=_0x15aef7[_0x38b013(0x4f0)],_0x47383b=_0x1aeef4*0x4;_0x57154c['sigBytes']>_0x47383b&&(_0x57154c=_0x15aef7[_0x38b013(0x228)](_0x57154c)),_0x57154c['clamp']();for(var _0x1a7cdf=this[_0x38b013(0x420)]=_0x57154c[_0x38b013(0x250)](),_0x5d55ef=this['_iKey']=_0x57154c[_0x38b013(0x250)](),_0x2de417=_0x1a7cdf[_0x38b013(0x373)],_0x4fd50c=_0x5d55ef['words'],_0x55a245=0x0;_0x55a245<_0x1aeef4;_0x55a245++)_0x2de417[_0x55a245]^=0x5c5c5c5c,_0x4fd50c[_0x55a245]^=0x36363636;_0x1a7cdf[_0x38b013(0x27f)]=_0x5d55ef[_0x38b013(0x27f)]=_0x47383b,this[_0x38b013(0x3aa)]();},'reset':function(){var _0x48f592=_0x431db0,_0x6a0b70=this[_0x48f592(0x44f)];_0x6a0b70[_0x48f592(0x3aa)](),_0x6a0b70[_0x48f592(0x397)](this['_iKey']);},'update':function(_0x46e9ab){var _0x2143ba=_0x431db0;return this[_0x2143ba(0x44f)][_0x2143ba(0x397)](_0x46e9ab),this;},'finalize':function(_0x9040dc){var _0x32ed00=_0x431db0,_0xe1f89c=this['_hasher'],_0x1b2e26=_0xe1f89c['finalize'](_0x9040dc);_0xe1f89c[_0x32ed00(0x3aa)]();var _0x5e742b=_0xe1f89c[_0x32ed00(0x228)](this['_oKey']['clone']()[_0x32ed00(0x406)](_0x1b2e26));return _0x5e742b;}});}());}));}(Ce)),Ce[_0x1f625f(0x374)];}var Mi=Ee['exports'],et;function Nt(){var _0x1b8397=_0x154c14;return et||(et=0x1,function(_0x53c644,_0x41501a){(function(_0x48ed46,_0x1ad8a4,_0x1f2d82){var _0x27109b=_0x1a03;_0x53c644[_0x27109b(0x374)]=_0x1ad8a4(Q(),Pi(),Li());}(Mi,function(_0x3fbcce){return(function(){var _0x31af5f=_0x1a03,_0x67fdf1=_0x3fbcce,_0x5c3145=_0x67fdf1[_0x31af5f(0x362)],_0x24490a=_0x5c3145[_0x31af5f(0x46b)],_0x3532dd=_0x5c3145[_0x31af5f(0x1a0)],_0x1465fb=_0x67fdf1['algo'],_0x4e1127=_0x1465fb[_0x31af5f(0x2ab)],_0x3c744a=_0x1465fb['EvpKDF']=_0x24490a[_0x31af5f(0x19a)]({'cfg':_0x24490a[_0x31af5f(0x19a)]({'keySize':0x80/0x20,'hasher':_0x4e1127,'iterations':0x1}),'init':function(_0x1f9594){var _0x532f6a=_0x31af5f;this[_0x532f6a(0x3d8)]=this[_0x532f6a(0x3d8)][_0x532f6a(0x19a)](_0x1f9594);},'compute':function(_0x1f9464,_0x5c79ad){var _0xa0e0db=_0x31af5f;for(var _0x5a60dd,_0x890f5f=this[_0xa0e0db(0x3d8)],_0xe05e0c=_0x890f5f[_0xa0e0db(0x21b)][_0xa0e0db(0x3db)](),_0x386810=_0x3532dd[_0xa0e0db(0x3db)](),_0x8dab8e=_0x386810['words'],_0x2dc8b3=_0x890f5f[_0xa0e0db(0x1f5)],_0x29be94=_0x890f5f['iterations'];_0x8dab8e[_0xa0e0db(0x454)]<_0x2dc8b3;){_0x5a60dd&&_0xe05e0c[_0xa0e0db(0x397)](_0x5a60dd),_0x5a60dd=_0xe05e0c['update'](_0x1f9464)[_0xa0e0db(0x228)](_0x5c79ad),_0xe05e0c[_0xa0e0db(0x3aa)]();for(var _0x44fee5=0x1;_0x44fee5<_0x29be94;_0x44fee5++)_0x5a60dd=_0xe05e0c[_0xa0e0db(0x228)](_0x5a60dd),_0xe05e0c[_0xa0e0db(0x3aa)]();_0x386810[_0xa0e0db(0x406)](_0x5a60dd);}return _0x386810[_0xa0e0db(0x27f)]=_0x2dc8b3*0x4,_0x386810;}});_0x67fdf1[_0x31af5f(0x277)]=function(_0xe4c5ff,_0x22c7a2,_0x84d2ab){var _0x2db42a=_0x31af5f;return _0x3c744a[_0x2db42a(0x3db)](_0x84d2ab)[_0x2db42a(0x36d)](_0xe4c5ff,_0x22c7a2);};}()),_0x3fbcce['EvpKDF'];}));}(Ee)),Ee[_0x1b8397(0x374)];}var Te={'exports':{}},xi=Te[_0x154c14(0x374)],tt;function Ut(){var _0x11de39=_0x154c14;return tt||(tt=0x1,function(_0x244eb6,_0x2fa1e1){(function(_0x38a7fe,_0x537704,_0x54b87c){var _0x1de59b=_0x1a03;_0x244eb6[_0x1de59b(0x374)]=_0x537704(Q(),Nt());}(xi,function(_0x4c318b){var _0x4abaa1=_0x1a03;_0x4c318b[_0x4abaa1(0x362)][_0x4abaa1(0x400)]||function(_0x3488e3){var _0x805a6e=_0x4abaa1,_0x106368=_0x4c318b,_0x1e0dbd=_0x106368['lib'],_0x28469b=_0x1e0dbd['Base'],_0x5af35f=_0x1e0dbd[_0x805a6e(0x1a0)],_0x978aed=_0x1e0dbd[_0x805a6e(0x1d2)],_0x52034e=_0x106368[_0x805a6e(0x30e)];_0x52034e[_0x805a6e(0x23e)];var _0x19fd92=_0x52034e['Base64'],_0x5d854f=_0x106368['algo'],_0x27d3bc=_0x5d854f['EvpKDF'],_0x5e91ad=_0x1e0dbd['Cipher']=_0x978aed[_0x805a6e(0x19a)]({'cfg':_0x28469b[_0x805a6e(0x19a)](),'createEncryptor':function(_0x467596,_0x3afc38){var _0x2a4cf3=_0x805a6e;return this[_0x2a4cf3(0x3db)](this[_0x2a4cf3(0x2e2)],_0x467596,_0x3afc38);},'createDecryptor':function(_0x440ce0,_0x160c23){var _0x4ee940=_0x805a6e;return this[_0x4ee940(0x3db)](this['_DEC_XFORM_MODE'],_0x440ce0,_0x160c23);},'init':function(_0x593370,_0x255c09,_0x37524f){var _0x565074=_0x805a6e;this[_0x565074(0x3d8)]=this[_0x565074(0x3d8)][_0x565074(0x19a)](_0x37524f),this[_0x565074(0x3b3)]=_0x593370,this[_0x565074(0x31c)]=_0x255c09,this[_0x565074(0x3aa)]();},'reset':function(){var _0x3534bb=_0x805a6e;_0x978aed[_0x3534bb(0x3aa)][_0x3534bb(0x2eb)](this),this[_0x3534bb(0x2b5)]();},'process':function(_0x5c0c45){var _0x568608=_0x805a6e;return this['_append'](_0x5c0c45),this[_0x568608(0x389)]();},'finalize':function(_0x525457){var _0x45b719=_0x805a6e;_0x525457&&this['_append'](_0x525457);var _0x5131ce=this[_0x45b719(0x1d0)]();return _0x5131ce;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4b69af(_0x1c089b){return typeof _0x1c089b=='string'?_0x2177ca:_0x14c2e0;}return function(_0x55d847){return{'encrypt':function(_0x25cac2,_0x7e64de,_0x4ad634){var _0x30b121=_0x1a03;return _0x4b69af(_0x7e64de)[_0x30b121(0x443)](_0x55d847,_0x25cac2,_0x7e64de,_0x4ad634);},'decrypt':function(_0x13d076,_0x564087,_0x2395db){var _0x27a534=_0x1a03;return _0x4b69af(_0x564087)[_0x27a534(0x234)](_0x55d847,_0x13d076,_0x564087,_0x2395db);}};};}())});_0x1e0dbd[_0x805a6e(0x2f1)]=_0x5e91ad['extend']({'_doFinalize':function(){var _0x36b428=_0x805a6e,_0x42c4f6=this[_0x36b428(0x389)](!0x0);return _0x42c4f6;},'blockSize':0x1});var _0x2dc3a2=_0x106368['mode']={},_0x382e2b=_0x1e0dbd[_0x805a6e(0x4fb)]=_0x28469b['extend']({'createEncryptor':function(_0x5f20ea,_0x495cbb){var _0x53412f=_0x805a6e;return this['Encryptor'][_0x53412f(0x3db)](_0x5f20ea,_0x495cbb);},'createDecryptor':function(_0x4ffffe,_0xb62ab5){return this['Decryptor']['create'](_0x4ffffe,_0xb62ab5);},'init':function(_0x4d5c04,_0x3981be){var _0x4ca7fe=_0x805a6e;this[_0x4ca7fe(0x3c3)]=_0x4d5c04,this[_0x4ca7fe(0x1b5)]=_0x3981be;}}),_0x5e5a03=_0x2dc3a2[_0x805a6e(0x1f4)]=(function(){var _0x20b449=_0x805a6e,_0x536caf=_0x382e2b[_0x20b449(0x19a)]();_0x536caf[_0x20b449(0x4ad)]=_0x536caf[_0x20b449(0x19a)]({'processBlock':function(_0x42b4b4,_0xec0f1f){var _0x1acd88=_0x20b449,_0x57cb0b=this[_0x1acd88(0x3c3)],_0x355c81=_0x57cb0b[_0x1acd88(0x4f0)];_0x37696c[_0x1acd88(0x2eb)](this,_0x42b4b4,_0xec0f1f,_0x355c81),_0x57cb0b[_0x1acd88(0x486)](_0x42b4b4,_0xec0f1f),this[_0x1acd88(0x2ad)]=_0x42b4b4[_0x1acd88(0x30f)](_0xec0f1f,_0xec0f1f+_0x355c81);}}),_0x536caf[_0x20b449(0x29b)]=_0x536caf[_0x20b449(0x19a)]({'processBlock':function(_0x1a9329,_0x5e2db4){var _0xcc5ef2=_0x20b449,_0x17f924=this['_cipher'],_0x2c15d7=_0x17f924[_0xcc5ef2(0x4f0)],_0x2277f1=_0x1a9329[_0xcc5ef2(0x30f)](_0x5e2db4,_0x5e2db4+_0x2c15d7);_0x17f924['decryptBlock'](_0x1a9329,_0x5e2db4),_0x37696c[_0xcc5ef2(0x2eb)](this,_0x1a9329,_0x5e2db4,_0x2c15d7),this['_prevBlock']=_0x2277f1;}});function _0x37696c(_0x3c71b3,_0x8b7329,_0x2636e0){var _0x318dcb=_0x20b449,_0x4c1339,_0x8e0298=this[_0x318dcb(0x1b5)];_0x8e0298?(_0x4c1339=_0x8e0298,this['_iv']=_0x3488e3):_0x4c1339=this[_0x318dcb(0x2ad)];for(var _0x4c0b4d=0x0;_0x4c0b4d<_0x2636e0;_0x4c0b4d++)_0x3c71b3[_0x8b7329+_0x4c0b4d]^=_0x4c1339[_0x4c0b4d];}return _0x536caf;}()),_0x45aeba=_0x106368[_0x805a6e(0x41d)]={},_0x448862=_0x45aeba['Pkcs7']={'pad':function(_0x4dfaf0,_0x2cd7a8){var _0x50f49f=_0x805a6e;for(var _0x270f68=_0x2cd7a8*0x4,_0x1065a0=_0x270f68-_0x4dfaf0[_0x50f49f(0x27f)]%_0x270f68,_0x54c594=_0x1065a0<<0x18|_0x1065a0<<0x10|_0x1065a0<<0x8|_0x1065a0,_0x26a3fc=[],_0x18da31=0x0;_0x18da31<_0x1065a0;_0x18da31+=0x4)_0x26a3fc[_0x50f49f(0x4af)](_0x54c594);var _0x3f8947=_0x5af35f['create'](_0x26a3fc,_0x1065a0);_0x4dfaf0[_0x50f49f(0x406)](_0x3f8947);},'unpad':function(_0x4234f5){var _0x21c550=_0x805a6e,_0x1c7f5c=_0x4234f5[_0x21c550(0x373)][_0x4234f5['sigBytes']-0x1>>>0x2]&0xff;_0x4234f5[_0x21c550(0x27f)]-=_0x1c7f5c;}};_0x1e0dbd[_0x805a6e(0x253)]=_0x5e91ad[_0x805a6e(0x19a)]({'cfg':_0x5e91ad[_0x805a6e(0x3d8)][_0x805a6e(0x19a)]({'mode':_0x5e5a03,'padding':_0x448862}),'reset':function(){var _0x49ac2b=_0x805a6e,_0x188397;_0x5e91ad[_0x49ac2b(0x3aa)][_0x49ac2b(0x2eb)](this);var _0x49c9ee=this['cfg'],_0x195c09=_0x49c9ee['iv'],_0x1bab6a=_0x49c9ee[_0x49ac2b(0x4eb)];this['_xformMode']==this[_0x49ac2b(0x2e2)]?_0x188397=_0x1bab6a[_0x49ac2b(0x2a0)]:(_0x188397=_0x1bab6a[_0x49ac2b(0x4d5)],this[_0x49ac2b(0x1ec)]=0x1),this[_0x49ac2b(0x21a)]&&this[_0x49ac2b(0x21a)][_0x49ac2b(0x48c)]==_0x188397?this[_0x49ac2b(0x21a)][_0x49ac2b(0x412)](this,_0x195c09&&_0x195c09['words']):(this['_mode']=_0x188397[_0x49ac2b(0x2eb)](_0x1bab6a,this,_0x195c09&&_0x195c09[_0x49ac2b(0x373)]),this['_mode']['__creator']=_0x188397);},'_doProcessBlock':function(_0x5edb5d,_0x12c0f2){var _0x469f8e=_0x805a6e;this[_0x469f8e(0x21a)]['processBlock'](_0x5edb5d,_0x12c0f2);},'_doFinalize':function(){var _0x4d245e=_0x805a6e,_0x10acbf,_0x129227=this['cfg'][_0x4d245e(0x317)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x129227[_0x4d245e(0x41d)](this[_0x4d245e(0x2d4)],this['blockSize']),_0x10acbf=this[_0x4d245e(0x389)](!0x0)):(_0x10acbf=this[_0x4d245e(0x389)](!0x0),_0x129227['unpad'](_0x10acbf)),_0x10acbf;},'blockSize':0x80/0x20});var _0xb8dd3f=_0x1e0dbd['CipherParams']=_0x28469b[_0x805a6e(0x19a)]({'init':function(_0x324983){var _0x196755=_0x805a6e;this[_0x196755(0x20a)](_0x324983);},'toString':function(_0x46de25){var _0x2456a4=_0x805a6e;return(_0x46de25||this[_0x2456a4(0x430)])[_0x2456a4(0x276)](this);}}),_0x5dba9c=_0x106368[_0x805a6e(0x407)]={},_0x118c1f=_0x5dba9c[_0x805a6e(0x35d)]={'stringify':function(_0x36d8ca){var _0x177533=_0x805a6e,_0x40805e,_0x550e33=_0x36d8ca[_0x177533(0x1a5)],_0x1cec4d=_0x36d8ca[_0x177533(0x1f8)];return _0x1cec4d?_0x40805e=_0x5af35f['create']([0x53616c74,0x65645f5f])[_0x177533(0x406)](_0x1cec4d)[_0x177533(0x406)](_0x550e33):_0x40805e=_0x550e33,_0x40805e[_0x177533(0x185)](_0x19fd92);},'parse':function(_0x2d1fe7){var _0x3b0ae7=_0x805a6e,_0x3a55b2,_0x29cf83=_0x19fd92[_0x3b0ae7(0x1b3)](_0x2d1fe7),_0x3b4bcb=_0x29cf83[_0x3b0ae7(0x373)];return _0x3b4bcb[0x0]==0x53616c74&&_0x3b4bcb[0x1]==0x65645f5f&&(_0x3a55b2=_0x5af35f[_0x3b0ae7(0x3db)](_0x3b4bcb['slice'](0x2,0x4)),_0x3b4bcb[_0x3b0ae7(0x186)](0x0,0x4),_0x29cf83[_0x3b0ae7(0x27f)]-=0x10),_0xb8dd3f[_0x3b0ae7(0x3db)]({'ciphertext':_0x29cf83,'salt':_0x3a55b2});}},_0x14c2e0=_0x1e0dbd[_0x805a6e(0x2f6)]=_0x28469b[_0x805a6e(0x19a)]({'cfg':_0x28469b[_0x805a6e(0x19a)]({'format':_0x118c1f}),'encrypt':function(_0x412f1f,_0x1757a5,_0x118439,_0x50ef53){var _0x386c02=_0x805a6e;_0x50ef53=this[_0x386c02(0x3d8)][_0x386c02(0x19a)](_0x50ef53);var _0xfa7b19=_0x412f1f[_0x386c02(0x2a0)](_0x118439,_0x50ef53),_0x1e0491=_0xfa7b19['finalize'](_0x1757a5),_0x3b4c2a=_0xfa7b19[_0x386c02(0x3d8)];return _0xb8dd3f[_0x386c02(0x3db)]({'ciphertext':_0x1e0491,'key':_0x118439,'iv':_0x3b4c2a['iv'],'algorithm':_0x412f1f,'mode':_0x3b4c2a[_0x386c02(0x4eb)],'padding':_0x3b4c2a[_0x386c02(0x317)],'blockSize':_0x412f1f[_0x386c02(0x4f0)],'formatter':_0x50ef53[_0x386c02(0x407)]});},'decrypt':function(_0x4ca3a4,_0x13696a,_0x216225,_0x5aba06){var _0x411e83=_0x805a6e;_0x5aba06=this[_0x411e83(0x3d8)][_0x411e83(0x19a)](_0x5aba06),_0x13696a=this[_0x411e83(0x381)](_0x13696a,_0x5aba06[_0x411e83(0x407)]);var _0x201328=_0x4ca3a4[_0x411e83(0x4d5)](_0x216225,_0x5aba06)[_0x411e83(0x228)](_0x13696a[_0x411e83(0x1a5)]);return _0x201328;},'_parse':function(_0x1728ac,_0x60ab2f){return typeof _0x1728ac=='string'?_0x60ab2f['parse'](_0x1728ac,this):_0x1728ac;}}),_0x5a8ce8=_0x106368[_0x805a6e(0x1ca)]={},_0x99d595=_0x5a8ce8['OpenSSL']={'execute':function(_0x3ab64f,_0x7c98e5,_0x32a2e0,_0x100a2c,_0x2a5076){var _0x4fb167=_0x805a6e;if(_0x100a2c||(_0x100a2c=_0x5af35f[_0x4fb167(0x481)](0x40/0x8)),_0x2a5076)var _0x407321=_0x27d3bc['create']({'keySize':_0x7c98e5+_0x32a2e0,'hasher':_0x2a5076})['compute'](_0x3ab64f,_0x100a2c);else var _0x407321=_0x27d3bc[_0x4fb167(0x3db)]({'keySize':_0x7c98e5+_0x32a2e0})['compute'](_0x3ab64f,_0x100a2c);var _0x31fd5d=_0x5af35f[_0x4fb167(0x3db)](_0x407321['words'][_0x4fb167(0x30f)](_0x7c98e5),_0x32a2e0*0x4);return _0x407321[_0x4fb167(0x27f)]=_0x7c98e5*0x4,_0xb8dd3f[_0x4fb167(0x3db)]({'key':_0x407321,'iv':_0x31fd5d,'salt':_0x100a2c});}},_0x2177ca=_0x1e0dbd[_0x805a6e(0x266)]=_0x14c2e0[_0x805a6e(0x19a)]({'cfg':_0x14c2e0['cfg'][_0x805a6e(0x19a)]({'kdf':_0x99d595}),'encrypt':function(_0xd19a2a,_0x478f82,_0x4fc744,_0x349fd8){var _0x1ea94a=_0x805a6e;_0x349fd8=this['cfg']['extend'](_0x349fd8);var _0x1d4b3e=_0x349fd8[_0x1ea94a(0x1ca)][_0x1ea94a(0x385)](_0x4fc744,_0xd19a2a[_0x1ea94a(0x1f5)],_0xd19a2a[_0x1ea94a(0x47d)],_0x349fd8['salt'],_0x349fd8[_0x1ea94a(0x21b)]);_0x349fd8['iv']=_0x1d4b3e['iv'];var _0x1feb6a=_0x14c2e0[_0x1ea94a(0x443)]['call'](this,_0xd19a2a,_0x478f82,_0x1d4b3e['key'],_0x349fd8);return _0x1feb6a[_0x1ea94a(0x20a)](_0x1d4b3e),_0x1feb6a;},'decrypt':function(_0x4256a7,_0x4fece1,_0x82c273,_0x2c1aaa){var _0x153c8e=_0x805a6e;_0x2c1aaa=this[_0x153c8e(0x3d8)][_0x153c8e(0x19a)](_0x2c1aaa),_0x4fece1=this['_parse'](_0x4fece1,_0x2c1aaa[_0x153c8e(0x407)]);var _0xae8221=_0x2c1aaa[_0x153c8e(0x1ca)]['execute'](_0x82c273,_0x4256a7[_0x153c8e(0x1f5)],_0x4256a7[_0x153c8e(0x47d)],_0x4fece1['salt'],_0x2c1aaa['hasher']);_0x2c1aaa['iv']=_0xae8221['iv'];var _0x59f7d7=_0x14c2e0['decrypt']['call'](this,_0x4256a7,_0x4fece1,_0xae8221['key'],_0x2c1aaa);return _0x59f7d7;}});}();}));}(Te)),Te[_0x11de39(0x374)];}var ki=fe['exports'],it;function Hi(){var _0x1bd8c2=_0x154c14;return it||(it=0x1,function(_0x1b0747,_0x28a3bf){(function(_0x1aebf5,_0x1299db,_0x2bd983){var _0x488bd2=_0x1a03;_0x1b0747[_0x488bd2(0x374)]=_0x1299db(Q(),yt(),Di(),Nt(),Ut());}(ki,function(_0x135d8e){var _0x37c789=_0x1a03;return(function(){var _0x4d82db=_0x1a03,_0x574b57=_0x135d8e,_0x4ef114=_0x574b57[_0x4d82db(0x362)],_0x14b7ae=_0x4ef114[_0x4d82db(0x253)],_0x29400f=_0x574b57[_0x4d82db(0x460)],_0x3c126e=[],_0x4945f6=[],_0x52e3c9=[],_0x5a115e=[],_0x1a1d45=[],_0x405d24=[],_0xc5c82d=[],_0x4fddcb=[],_0x5a0461=[],_0x2267a7=[];(function(){for(var _0x5eee04=[],_0x1a8e4f=0x0;_0x1a8e4f<0x100;_0x1a8e4f++)_0x1a8e4f<0x80?_0x5eee04[_0x1a8e4f]=_0x1a8e4f<<0x1:_0x5eee04[_0x1a8e4f]=_0x1a8e4f<<0x1^0x11b;for(var _0x2183cf=0x0,_0x36b215=0x0,_0x1a8e4f=0x0;_0x1a8e4f<0x100;_0x1a8e4f++){var _0x1c7557=_0x36b215^_0x36b215<<0x1^_0x36b215<<0x2^_0x36b215<<0x3^_0x36b215<<0x4;_0x1c7557=_0x1c7557>>>0x8^_0x1c7557&0xff^0x63,_0x3c126e[_0x2183cf]=_0x1c7557,_0x4945f6[_0x1c7557]=_0x2183cf;var _0x237e8a=_0x5eee04[_0x2183cf],_0x7a1e00=_0x5eee04[_0x237e8a],_0x2f558b=_0x5eee04[_0x7a1e00],_0x246c25=_0x5eee04[_0x1c7557]*0x101^_0x1c7557*0x1010100;_0x52e3c9[_0x2183cf]=_0x246c25<<0x18|_0x246c25>>>0x8,_0x5a115e[_0x2183cf]=_0x246c25<<0x10|_0x246c25>>>0x10,_0x1a1d45[_0x2183cf]=_0x246c25<<0x8|_0x246c25>>>0x18,_0x405d24[_0x2183cf]=_0x246c25;var _0x246c25=_0x2f558b*0x1010101^_0x7a1e00*0x10001^_0x237e8a*0x101^_0x2183cf*0x1010100;_0xc5c82d[_0x1c7557]=_0x246c25<<0x18|_0x246c25>>>0x8,_0x4fddcb[_0x1c7557]=_0x246c25<<0x10|_0x246c25>>>0x10,_0x5a0461[_0x1c7557]=_0x246c25<<0x8|_0x246c25>>>0x18,_0x2267a7[_0x1c7557]=_0x246c25,_0x2183cf?(_0x2183cf=_0x237e8a^_0x5eee04[_0x5eee04[_0x5eee04[_0x2f558b^_0x237e8a]]],_0x36b215^=_0x5eee04[_0x5eee04[_0x36b215]]):_0x2183cf=_0x36b215=0x1;}}());var _0x4d2825=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x152413=_0x29400f[_0x4d82db(0x344)]=_0x14b7ae[_0x4d82db(0x19a)]({'_doReset':function(){var _0x2ff49d=_0x4d82db,_0x2ee430;if(!(this[_0x2ff49d(0x180)]&&this['_keyPriorReset']===this['_key'])){for(var _0x210894=this['_keyPriorReset']=this[_0x2ff49d(0x31c)],_0x34b58b=_0x210894[_0x2ff49d(0x373)],_0x5132ef=_0x210894[_0x2ff49d(0x27f)]/0x4,_0x32c637=this[_0x2ff49d(0x180)]=_0x5132ef+0x6,_0x646dce=(_0x32c637+0x1)*0x4,_0x2da200=this[_0x2ff49d(0x331)]=[],_0x2e3b21=0x0;_0x2e3b21<_0x646dce;_0x2e3b21++)_0x2e3b21<_0x5132ef?_0x2da200[_0x2e3b21]=_0x34b58b[_0x2e3b21]:(_0x2ee430=_0x2da200[_0x2e3b21-0x1],_0x2e3b21%_0x5132ef?_0x5132ef>0x6&&_0x2e3b21%_0x5132ef==0x4&&(_0x2ee430=_0x3c126e[_0x2ee430>>>0x18]<<0x18|_0x3c126e[_0x2ee430>>>0x10&0xff]<<0x10|_0x3c126e[_0x2ee430>>>0x8&0xff]<<0x8|_0x3c126e[_0x2ee430&0xff]):(_0x2ee430=_0x2ee430<<0x8|_0x2ee430>>>0x18,_0x2ee430=_0x3c126e[_0x2ee430>>>0x18]<<0x18|_0x3c126e[_0x2ee430>>>0x10&0xff]<<0x10|_0x3c126e[_0x2ee430>>>0x8&0xff]<<0x8|_0x3c126e[_0x2ee430&0xff],_0x2ee430^=_0x4d2825[_0x2e3b21/_0x5132ef|0x0]<<0x18),_0x2da200[_0x2e3b21]=_0x2da200[_0x2e3b21-_0x5132ef]^_0x2ee430);for(var _0x3ec2c6=this[_0x2ff49d(0x375)]=[],_0x4e4114=0x0;_0x4e4114<_0x646dce;_0x4e4114++){var _0x2e3b21=_0x646dce-_0x4e4114;if(_0x4e4114%0x4)var _0x2ee430=_0x2da200[_0x2e3b21];else var _0x2ee430=_0x2da200[_0x2e3b21-0x4];_0x4e4114<0x4||_0x2e3b21<=0x4?_0x3ec2c6[_0x4e4114]=_0x2ee430:_0x3ec2c6[_0x4e4114]=_0xc5c82d[_0x3c126e[_0x2ee430>>>0x18]]^_0x4fddcb[_0x3c126e[_0x2ee430>>>0x10&0xff]]^_0x5a0461[_0x3c126e[_0x2ee430>>>0x8&0xff]]^_0x2267a7[_0x3c126e[_0x2ee430&0xff]];}}},'encryptBlock':function(_0x3a68ea,_0x20e384){var _0xcac90e=_0x4d82db;this['_doCryptBlock'](_0x3a68ea,_0x20e384,this[_0xcac90e(0x331)],_0x52e3c9,_0x5a115e,_0x1a1d45,_0x405d24,_0x3c126e);},'decryptBlock':function(_0x4a35a7,_0x5d5a20){var _0xc89a05=_0x4d82db,_0x116384=_0x4a35a7[_0x5d5a20+0x1];_0x4a35a7[_0x5d5a20+0x1]=_0x4a35a7[_0x5d5a20+0x3],_0x4a35a7[_0x5d5a20+0x3]=_0x116384,this[_0xc89a05(0x4df)](_0x4a35a7,_0x5d5a20,this['_invKeySchedule'],_0xc5c82d,_0x4fddcb,_0x5a0461,_0x2267a7,_0x4945f6);var _0x116384=_0x4a35a7[_0x5d5a20+0x1];_0x4a35a7[_0x5d5a20+0x1]=_0x4a35a7[_0x5d5a20+0x3],_0x4a35a7[_0x5d5a20+0x3]=_0x116384;},'_doCryptBlock':function(_0x2903cd,_0x30fe27,_0xb71110,_0x20e12a,_0x3b0a09,_0x2979cb,_0x2ed6aa,_0x398366){var _0x5b3400=_0x4d82db;for(var _0x5695b0=this[_0x5b3400(0x180)],_0x35a26c=_0x2903cd[_0x30fe27]^_0xb71110[0x0],_0x49bc3d=_0x2903cd[_0x30fe27+0x1]^_0xb71110[0x1],_0x3747b8=_0x2903cd[_0x30fe27+0x2]^_0xb71110[0x2],_0x36b5d7=_0x2903cd[_0x30fe27+0x3]^_0xb71110[0x3],_0x169d2c=0x4,_0x450ae9=0x1;_0x450ae9<_0x5695b0;_0x450ae9++){var _0x4f8824=_0x20e12a[_0x35a26c>>>0x18]^_0x3b0a09[_0x49bc3d>>>0x10&0xff]^_0x2979cb[_0x3747b8>>>0x8&0xff]^_0x2ed6aa[_0x36b5d7&0xff]^_0xb71110[_0x169d2c++],_0x43fae7=_0x20e12a[_0x49bc3d>>>0x18]^_0x3b0a09[_0x3747b8>>>0x10&0xff]^_0x2979cb[_0x36b5d7>>>0x8&0xff]^_0x2ed6aa[_0x35a26c&0xff]^_0xb71110[_0x169d2c++],_0x30670b=_0x20e12a[_0x3747b8>>>0x18]^_0x3b0a09[_0x36b5d7>>>0x10&0xff]^_0x2979cb[_0x35a26c>>>0x8&0xff]^_0x2ed6aa[_0x49bc3d&0xff]^_0xb71110[_0x169d2c++],_0x10a7f0=_0x20e12a[_0x36b5d7>>>0x18]^_0x3b0a09[_0x35a26c>>>0x10&0xff]^_0x2979cb[_0x49bc3d>>>0x8&0xff]^_0x2ed6aa[_0x3747b8&0xff]^_0xb71110[_0x169d2c++];_0x35a26c=_0x4f8824,_0x49bc3d=_0x43fae7,_0x3747b8=_0x30670b,_0x36b5d7=_0x10a7f0;}var _0x4f8824=(_0x398366[_0x35a26c>>>0x18]<<0x18|_0x398366[_0x49bc3d>>>0x10&0xff]<<0x10|_0x398366[_0x3747b8>>>0x8&0xff]<<0x8|_0x398366[_0x36b5d7&0xff])^_0xb71110[_0x169d2c++],_0x43fae7=(_0x398366[_0x49bc3d>>>0x18]<<0x18|_0x398366[_0x3747b8>>>0x10&0xff]<<0x10|_0x398366[_0x36b5d7>>>0x8&0xff]<<0x8|_0x398366[_0x35a26c&0xff])^_0xb71110[_0x169d2c++],_0x30670b=(_0x398366[_0x3747b8>>>0x18]<<0x18|_0x398366[_0x36b5d7>>>0x10&0xff]<<0x10|_0x398366[_0x35a26c>>>0x8&0xff]<<0x8|_0x398366[_0x49bc3d&0xff])^_0xb71110[_0x169d2c++],_0x10a7f0=(_0x398366[_0x36b5d7>>>0x18]<<0x18|_0x398366[_0x35a26c>>>0x10&0xff]<<0x10|_0x398366[_0x49bc3d>>>0x8&0xff]<<0x8|_0x398366[_0x3747b8&0xff])^_0xb71110[_0x169d2c++];_0x2903cd[_0x30fe27]=_0x4f8824,_0x2903cd[_0x30fe27+0x1]=_0x43fae7,_0x2903cd[_0x30fe27+0x2]=_0x30670b,_0x2903cd[_0x30fe27+0x3]=_0x10a7f0;},'keySize':0x100/0x20});_0x574b57[_0x4d82db(0x344)]=_0x14b7ae['_createHelper'](_0x152413);}()),_0x135d8e[_0x37c789(0x344)];}));}(fe)),fe[_0x1bd8c2(0x374)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be[_0x154c14(0x374)],rt;function Vi(){return rt||(rt=0x1,function(_0x9ca9ff,_0x596c34){(function(_0x274932,_0x4ec770){var _0x459774=_0x1a03;_0x9ca9ff[_0x459774(0x374)]=_0x4ec770(Q());}(Fi,function(_0x5ed76d){var _0x4ed816=_0x1a03;return _0x5ed76d[_0x4ed816(0x30e)]['Utf8'];}));}(be)),be['exports'];}var Wi=Vi();const Gi=ve(Wi);var Re={'exports':{}},Ki=Re[_0x154c14(0x374)],st;function Yi(){var _0x52428d=_0x154c14;return st||(st=0x1,function(_0x300212,_0xf60773){(function(_0x2411e0,_0x58c9c5){var _0x3b2f7b=_0x1a03;_0x300212[_0x3b2f7b(0x374)]=_0x58c9c5(Q());}(Ki,function(_0x53de1c){var _0x31d3f3=_0x1a03;return(function(){var _0x2d522c=_0x1a03;if(typeof ArrayBuffer==_0x2d522c(0x4a0)){var _0x3e989f=_0x53de1c,_0x31c724=_0x3e989f['lib'],_0x391b7e=_0x31c724[_0x2d522c(0x1a0)],_0x331b95=_0x391b7e[_0x2d522c(0x412)],_0x397554=_0x391b7e[_0x2d522c(0x412)]=function(_0xbbae8){var _0x180f35=_0x2d522c;if(_0xbbae8 instanceof ArrayBuffer&&(_0xbbae8=new Uint8Array(_0xbbae8)),(_0xbbae8 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xbbae8 instanceof Uint8ClampedArray||_0xbbae8 instanceof Int16Array||_0xbbae8 instanceof Uint16Array||_0xbbae8 instanceof Int32Array||_0xbbae8 instanceof Uint32Array||_0xbbae8 instanceof Float32Array||_0xbbae8 instanceof Float64Array)&&(_0xbbae8=new Uint8Array(_0xbbae8['buffer'],_0xbbae8[_0x180f35(0x31e)],_0xbbae8['byteLength'])),_0xbbae8 instanceof Uint8Array){for(var _0x536f98=_0xbbae8[_0x180f35(0x4dc)],_0x500872=[],_0x1d4eeb=0x0;_0x1d4eeb<_0x536f98;_0x1d4eeb++)_0x500872[_0x1d4eeb>>>0x2]|=_0xbbae8[_0x1d4eeb]<<0x18-_0x1d4eeb%0x4*0x8;_0x331b95[_0x180f35(0x2eb)](this,_0x500872,_0x536f98);}else _0x331b95[_0x180f35(0x341)](this,arguments);};_0x397554[_0x2d522c(0x4c4)]=_0x391b7e;}}()),_0x53de1c[_0x31d3f3(0x362)][_0x31d3f3(0x1a0)];}));}(Re)),Re[_0x52428d(0x374)];}var qi=Yi();function _0x2d8a(){var _0x1d1b89=['compute','objectActions','_doCreateSocket','fetchMiss','/universer-api/file/{fileID}/sign-url','SessionStatus','words','exports','_invKeySchedule','496GIpRFD','UniverInstanceType','UNIVER_SHEET','saveImage','AwaitingState','transformMutationsWithChangeset','_transformStateCache','_handler','pipe','loginUrlKey','LICENSE_IMPORT_SIZE_EXCEEDED','_parse','_getSignURL','_clearScheduledTask','/-/object/-/batch_allowed','execute','COMPRESS_MUTATION_APPLY','/universer-api/uniscript','_reverseMap','_process','ILocalCacheService','ONLINE','UNRECOGNIZED','now','[CollaborationSessionService]','DocCollaborationEntity','COLLAB_SUBMIT_CHANGESET_URL','confirm','/role','CONFLICT','PendingState','YUUMI_TABLE_NOT_FOUND_IN_UNIT','forEach','update','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_tryReconnect','@univerjs-pro/collaboration','parseProtocolChangeset','HEARTBEAT_TIMEOUT','_initCloseConn','SEND_CHANGESET_TIMEOUT_KEY','_updateStatus','_clearHeartbeatTimer','JOIN_ROOM_PERMISSION_DENIED','/universer-api/snapshot/','&source=','USER_NOT_INVITED_CODE','has','CollaborationUIEventService','_socketReady','startTime','socket\x20close','reset','getValue','_startTelemetryCollaborationNewChangeset','CHANGESET_REJ','getSheetBlock','_updateState','incrementRevOfUnit','LIVESHARE_NEW_HOST','append','_xformMode','getRoom','LIVESHARE_FETCH_OPERATIONS','HttpExport','state','submit\x20changeset\x20error!','_acknowledgedAwaitingChangeset','Workbook','editing\x20status\x20changed\x20to','_entityInit$','textRanges','_stopTelemetryCollaborationNewChangeset','randomBytes','univer-pro.collaboration-client.single-active-unit-service','executeCommand','substr','_cipher','c2Prime','HMAC','_transitionLocked','session.room-permission-denied','SEND_CHANGESET_TIMEOUT','send','LocaleService','/new_changes','LEAVE','saveChangeset','FAIL','delete','objectID','duration','_sessionStatus$','_resendTimer','YUUMI_AI_RUN_FAILED','onTransformSelections','updateOfflineData','Base64','cfg','SNAPSHOT_INVALID_SNAPSHOT','collabWebSocketUrl','create','symbol','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','SheetsSelectionsService','authzUrl','_localCacheService','pauseCollaboration','SheetTransformSelectionsService','charCodeAt','_isPermissionRej','_schedule','setWaitCount','_sessions','onTransformState','/object/','FileId','PERMISSION_DENIED','NOT_COLLAB','_resendTimeout','UPDATE_CURSOR','_getLoginPath','onCommandExecuted','[PendingState]:\x20received\x20acknowledgement.','isTransformMutationsWithChangesetFailure','@univerjs/drawing','NoPadding','map','uploadFileServerUrl','addHandlerCallback','OTHER_CLIENT_EDITING','isTransformChangesetsSuccess','onTransformRemoteChangesetByStateCache','repeat','sid','/block/','fetch_missing','[SyncedState]:\x20received\x20rejection.','Cipher','debug','3KDPahv','cmd','putCollaborators','GLOBAL_ROOMS_CNT_EXCEEDS','concat','format','LOGIN_URL_KEY','@univerjs/docs','getCollabEntity$','_initRequestHeader','findIndex','_showConflictNotification','&to=','_collaborationPaused','_incrementRevisionNumber','_initMergeInterceptor','init','JOIN_ROOM_NOT_EXISTS','_disableEditing','action','asObservable','memberID','_createSocket','/universer-api/user/session-ticket','isTransformMutationsWithChangesetSuccess','_members$','status$','pad','subUnitId','encode','_oKey','ReplaySubject','_localeService','UNKNOWN_CODE','[CollaborationSession]','state$','charAt','setCurrentUser','_commandService','getRandomValues','OTHER_CLIENTS_EDITING','[PendingState]:\x20received\x20rejection.','_clearCollaborationTimeoutTimer','_injector','shouldCloseConn','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','formatter','DEFAULT_WS_SESSION_TICKET_URL','toDisposable','Hasher','SNAPSHOT_SERVER_URL_KEY','_onRemoteACK','SOCKET_FAILED','post','_clearUndo','_startCollaboration','collaborators','rxjs/operators','updateCollaborator','focused$','_roomCreated$','ISocketService','Undefined','onlyLocal','m2Prime','encrypt','_append','IAuthzIoService','_initUnitPermissionChange','DisposableCollection','_waitCount','_onMessage','onMissedChangesetFetched','_onRemoteRetry','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','[DataLoaderService]','_snapshotService','_hasher','_createInitialState','registerHTTPInterceptor','message$','localeService','length','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','downloadEndpointUrl','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','UniverNetworkPlugin','session','INVITE_CODE_HAS_BEEN_UES','params','InsertSheetMutation','clamp','onRemoteRej','algo','UNDEFINED','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_unitInfo$','onLocalMutation','UNIVER_PROJECT','_replaceFileID','_lockTransition','CHANGESET_ACK','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','Base','_sheetTransformSelectionsService','Hex','Optional','UNIVER_UNKNOWN','getFocusedUnit','from','csAckEvent','_eventService','__esModule','stopTime','routeKey','readAsDataURL','_substituteRedoStack','COMMENT_UPDATE','30852UjCLna','UNIVER_COLLABORATION_CLIENT_PLUGIN','interceptor','ivSize','_onConnectionOpen','snapshot','resourceIDs','random','APPLY_NON_SEQUENTIAL_REVISION','Quantity','getUnitType','JSONX','encryptBlock','connection\x20error','rev','_onConflict','_getUploadFileURL','CollaborationEvent','__creator','target','HEARTBEAT_INTERVAL_KEY','location','getCurrentRevOfUnit','dispose$','Disposable','type','[CollaborationUndoRedoService]','AUTHZ_URL_KEY','_commentUpdate$','HEARTBEAT_TIMEOUT_KEY','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','listCollaborators','UNIVER_DOC','mergeOverrideWithDependencies','ERROR_IMAGE_TYPE','body','/universer-api/snapshot','allowed','function','code','onSendChangeset','INVALID_INVITE_CODE','_tryEnsureSocket','COMPRESS_MUTATION_SEND','fetchMissingChangesets','string','image/jpg','CommentService','_imageSourceCache','unsubscribe','_sendingTimer','Encryptor','find','push','_initDependencies','conflict','OPTIONAL','collabSubmitChangesetUrl','_removeRoom','unitID','fetchThroughInterceptors','HTTPService','userID','JOINING','ICommandService','title','changesets','change$','equals','PY_RUNTIME_SCRIPT_ERROR','CommandType','data','PERSON','_onLocalMutation','prototype','_changesetReqId','CollaborationEntity','getCollabEntity','_clearLocalCache','_socket$','\x0aAfter:\x20','then','\x20-\x20','FETCH_MISSING','RevisionService','_undoRedoService','YUUMI_RATE_OVER_LIMIT','COLLAB_SUBMIT_CHANGESET_URL_KEY','status','registerDependencies','INVALID_ARGUMENT','createDecryptor','ENSURE_SNAPSHOT_EXECUTION','textEncoder','_createHelper','getTypeOfUnitAdded$','enableOfflineEditing','getConfig','byteLength','DataLoaderService','ISnapshotServerService','_doCryptBlock','/fetchmissing?from=','next','touchDependencies','onSyncEditingCollabCursor','baseRev','_queuedRemoteChangesets','collaboration_new_changeset','reqId','YUUMI_NO_CUBOID_FOR_QUESTION','_shouldReportTelemetry','createIdentifier','mode','_memberService','withCredentials','clear','BASE64','blockSize','onStarting','deleteCollaborator','compose','reduce','editingUnit','result','_hash','revision','newCsEvent','_toggleOnline','BlockCipherMode','HEARTBEAT','_state','originalMeta','merge','_nRounds','max','ImageSourceType','EMAIL_HAS_BEEN_BOUND','500LxsRfJ','toString','splice','Univer','complete','[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.','indexOf','getCurrentSelections','set','values','error$','15586370TKepap','_createHandler','unitId','eventID','every','_snapshotServerService','hasOwnProperty','liveShareNewHost','auth.needGotoLoginAlert','RxDisposable','mapDocumentTypeToUniverType','extend','reverse','loadSheet','_joinRoom','image/gif','pending','WordArray','HttpImport','[OfflineState]:\x20received\x20changeset.','emitEvent','UNIVER_SLIDE','ciphertext','sendChangesetTimeout','LICENSE_MAX_UNITS_EXCEEDED','removeMember','PERMISSION_REJ','image/bmp','_onUserLeave','_toggleOffline','sessionStatus','unitInfo$','origin','disposeWithMe','_rescheduleHeartbeat','_collabSessionService','parse','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_iv','SHOULD_CLOSE_CONN','collaMsg','_telemetryInfo','CollaborationSocketService','/unit/','_registerDependencies','WorkbookEditablePermission','_updateLocalCache','OFFLINE','msCrypto','_univerInstanceService','put','updateSnapshot','UnitEmbedded','_getUndoStack','@univerjs/network','_getRedoStack','startsWith','ConflictState','$super','kdf','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','getLocalCacheKey','_submitChangeset','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_collaborationSessionService','_doFinalize','1134ibPIvP','BufferedBlockAlgorithm','AuthzIoHttpService','Failed\x20to\x20update\x20permission\x20point','/collaborator','_socketService','onRemoteAck','UPDATE_PERMISSION_OBJ','x-univer-host','error','UserProfileImg','UNKNOWN_CMD','unitId\x20is\x20not\x20found','updatePermissionPoint','CollaborativeUndoRedoService','_commentService','range','YUUMI_SUBSCRIPTION_NOT_FOUND','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','ITransformService','/universer-api/stream/file/upload','_substituteUndoStack','Injector','_onOffline','session.room-cnt-exceeds','Latin1','setShowComponents','_minBufferSize','retryConnectingInterval','_retryConnectingTimer','/allowed','_HTTPService','localCacheService','_socket','DEFAULT_COLLAB_WEB_SOCKET_URL','CBC','keySize','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','LIVESHARE_TERMINATE','salt','LOGIN_FAILED','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','getImageSourceCache','requestParams','filter','onCommentUpdate','RECV','BehaviorSubject','INVITE_CODE_ALREADY_BOUND','DEFAULT_FILE_NAME','People','JOIN_ROOM_FAILED','HELLO','HmacMD5','getSheetId','collaboration-client.config','Plugin','mixIn','_unlockTransition','_onConnectionFailed','selections','POST','_onRecvEvent','MUTATION','_decreaseWaiting','_entities','unknown','objectType','APPLY_DUPLICATED','?url=','ceil','[OfflineState]:\x20received\x20acknowledgement.','TOO_MANY_REQUESTS','_mode','hasher','_getSendChangesetTimeout','_unitID','Subject','getUnit','not_collab','@univerjs-pro/license','image/jpeg','@univerjs/telemetry','infoRsp','get','members$','socketService','finalize','sheets','IUniverInstanceService','onRemoteRetry','_map','ITelemetryService','_clearRetryConnectingTimer','_handlerCallback','toggleOffline','entityInit$','add','LICENSE_EXPORT_SIZE_EXCEEDED','decrypt','sessionStatus$','[UniverCollaborationClientPlugin]','IPermissionService','1677504FCFTSO','SNAPSHOT_URL_KEY','getGlobalObject','632712wURkaR','SetSelectionsOperation','_retryCount','Utf8','&assign=','actions','_userManagerService','resolve','name','CollaborationSession','MemberService','_replayCachedMutations','_scheduleCompleteTimestamp','Module','_permissionService','awaitingChangeset','\x20in\x20_schedule.','_checkMissing','/universer-api/comb','takeUntil','COLLAB_WEB_SOCKET_URL','clone','default','pluginName','BlockCipher','createSocket','offline','\x0aCurrent:\x20','11RYwxRY','USERS_LEAVE','_getAPIPrefixPath','_change$','Inject','_changesetSessionId','getTypeOfUnitDisposed$','getAllMembers','onRemoteChangeset','onTransformRemoteChangesetByIMECache','LIVESHARE_REQUEST_HOST','IMentionIOService','csShouldRetryEvent','_sendHeartbeat','776230oawuyE','PasswordBasedCipher','open$','refreshPermission','_type','createInstance','firstValueFrom','_socketMessageSubscription','ERROR_IMAGE','loadDoc','NEW_CHANGESETS','_networkConditionService','_onJoinRoomEvent','_compressMutationService','saveSheetBlock','take','saveSnapshot','stringify','EvpKDF','APPLY_REJECT','_resendWithTimeout','_scheduleCollaborationTimeoutTimer','_clearTimeoutTimer','failed\x20to\x20apply\x20missed\x20changesets!','parseChangesetToProtocol','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','sigBytes','appendMutation','b64DecodeUnicode','_logService','crypto','HTTPRequest','UnitSnapshot','href','batchAllowed','CollaborationController','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','CollaborationSessionService','SHA1','getMemberID','_transformStack','LOCAL_CACHE_INTERVAL','serializeCombRequest','avatar','YUUMI_URL_COL_OUT_OF_RANGE','resend','UnitStatus','onMissingChangesets','fetching\x20missing\x20changesets\x20from\x20','encodeURIComponent','_onCombEvent','MOBILE_HAS_BEEN_BOUND','c1Prime','_candidateSocket','Decryptor','isPermissionRej','list','UNISCRIPT_RUN','_transformRemoteChangesetByStateCache','createEncryptor','_roomMembers','APPLY_REVISION_CONFILICT','MentionIoHttpService','_undoStacks','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','readInt32LE','\x20to\x20','fromCharCode','_config','addImageSourceCache','MD5','[FetchMissState]','_prevBlock','Tools','reject','SUBMIT_CHANGESET_TIMEOUT','_syncEditingCollabCursor','JOIN','delay','setConfig','_doReset','_httpService','SnapshotServerOverHTTPService','_clearRedo','patch','getMember','getOwnPropertyDescriptor','signUrlServerUrl','univer-pro.collaboration-client.network-condition.service','ICollaborationSocketService','_applyRemoteChangeset','_sendHeartbeatTimer','/-/object/list','join','_init','RichTextEditingMutation','NOT_FOUND','save\x20fail\x20reason\x20is\x20','getSnapshotAPIPath','getCurrentUser','session.join-failed','NO_OTHER_CLIENTS_EDITING','CompressMutationService','SheetCollaborationEntity','CLOSE_ROOM','_sender','objects','@univerjs/sheets','INGEST','getInterceptPoints','uniscriptRunEvent','_data','leaveEvent','_onUserJoin','USERS_ENTER','LICENSE_DISTRO_REJECTED','_status$','url','snapshotServerUrl','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','SOCKET_FAILED_RETRY','getUnitId','_instanceService','responseType','YUUMI_ASYNCIO_CANCELLED','_ENC_XFORM_MODE','MSG_FOR_ERROR','FETCH_MISS','_telemetryService','copyFileMeta','SyncedState','/universer-api/authz','_getCurrentRevision','UniverCollaborationClientPlugin','call','1444245LqRZlR','EmptyMutation','_transformService','fromCollab','floor','StreamCipher','[CollaborationSessionService]:\x20socket\x20error','[CollaborationEntity]','onTransformIME','JOIN_ROOM_FULL','SerializableCipher','RETRY_CONNECTING_MAX_COUNT','loadUnitOfRevision','_onRemoteChangeset','PENDING','getTime','requireSession','?size=','LIVESHARE_OPERATION','src','YUUMI_UNABLE_LOAD_URL','uuidv4','abs','CHANGESET_REVISION_CONFILICT','PSEUDO_FETCH_MISSING_RESULT','_collaborationUIEventService','UUID','IConfigService','HmacSHA1','mutations','/rev/','shareReplay','isArray','transformChangesets','enc','slice','_onRemoteRejected','HEARTBEAT_INTERVAL','DependentOn','dispose','toggleOnline','_exhaustRemoteChangesetQueue','_collaborationTimeoutTimer','padding','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CHANGESET_SHOULD_RETRY','SNAPSHOT_HAS_BEEN_REMOVED','toStringTag','_key','_onFetchMissResult','byteOffset','ImageUploadStatusType','_pendingMutations','_remoteChangesetQueue','_executeRemoteChangeset','headers','_transformUndoredo','closeSession','INetworkConditionService','_transformSelections','_singleActiveUnitService','OfflineState','onload','AWAITING','CollaborationImageIoService','_createHmacHelper','_event$','subject','_transformIMECache','_keySchedule','_throwTelemetryCollaborationNewChangeset','IDLE','_timeoutTimer','SUBMIT_CHANGESET','_getDownloadEndpointURL','_members','IUndoRedoService','isInternalEditorID','close$','[CollaborationState]:\x20apply\x20error!','_configService','catch','CONNECTOR_DATA_TOO_LARGE','_revisionService','IImageIoService','apply','size','_createInitialStateImpl','AES','capture','_awaitingChangeset','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','session.room-full','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_emitMembers','_listenToNetworkCondition','FetchingMissState','ALREADY_EXISTS','WECHAT_HAS_BEEN_BOUND','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','INTERNAL_ERROR','AwaitingWithPendingState','ERROR_EXCEED_SIZE','transformSelections','MentionType','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','subscribe','transformStack\x20failed!','AWAITING_WITH_PENDING','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','commentUpdateEvent','getUnitStatus$','SUCCUSS','OpenSSL','_nDataBytes','event$','close','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','lib','UniverCollaborationPlugin','getResourcesRequest','INVITE_CODE_REQUIRED','_waitForHeartbeatResponse','updateMember','session.room-not-exists','_getAPIPrefix','ILogService','_state$','COMPLETION_FINISHED'];_0x2d8a=function(){return _0x1d1b89;};return _0x2d8a();}const zi=ve(qi);var Oe={'exports':{}},Ji=Oe['exports'],ot;function Xi(){var _0xf2e2fb=_0x154c14;return ot||(ot=0x1,function(_0x34696b,_0x351b80){(function(_0x46dce6,_0x4425e4,_0x1e4201){var _0x52862f=_0x1a03;_0x34696b[_0x52862f(0x374)]=_0x4425e4(Q(),Ut());}(Ji,function(_0x376157){var _0x5c48de=_0x1a03;return _0x376157['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x376157[_0x5c48de(0x41d)][_0x5c48de(0x3f4)];}));}(Oe)),Oe[_0xf2e2fb(0x374)];}var Zi=Xi();const Qi=ve(Zi);function en(_0x5e6d2b,_0x10c100){var _0x5c46b4=_0x154c14;const _0x2e0999=_0x10c100-_0x5e6d2b[_0x5c46b4(0x454)]%_0x10c100,_0x139e21=String[_0x5c46b4(0x2a8)](_0x2e0999)[_0x5c46b4(0x3fb)](_0x2e0999);return _0x5e6d2b+_0x139e21;}function tn(_0x1a3f88,_0x1c0635){var _0x4c1bfc=_0x154c14;const _0x1354c5=zi[_0x4c1bfc(0x481)](0x10),_0x3d2da5=en(_0x1a3f88,0x10),_0x3d0b03=ji[_0x4c1bfc(0x443)](Gi['parse'](_0x3d2da5),nt[_0x4c1bfc(0x1b3)](_0x1c0635),{'iv':_0x1354c5,'padding':Qi});return _0x1354c5['concat'](_0x3d0b03[_0x4c1bfc(0x1a5)])['toString'](nt);}function nn(){var _0x3fa640=_0x154c14;const _0x54d042=wt[_0x3fa640(0x23a)]()['__Key__'];if(_0x54d042){const _0x28bfa2={'time':Math[_0x3fa640(0x2f0)](Date[_0x3fa640(0x38d)]()/0x3e8),'domain':location['hostname']};return tn(JSON[_0x3fa640(0x276)](_0x28bfa2),_0x54d042);}}var rn=Object[_0x154c14(0x2bb)],sn=(_0x57c40c,_0x29160,_0x3f8f9e,_0x255b7e)=>{var _0x45a1de=_0x154c14;for(var _0x2d1e12=_0x255b7e>0x1?void 0x0:_0x255b7e?rn(_0x29160,_0x3f8f9e):_0x29160,_0x537fb1=_0x57c40c[_0x45a1de(0x454)]-0x1,_0x304ade;_0x537fb1>=0x0;_0x537fb1--)(_0x304ade=_0x57c40c[_0x537fb1])&&(_0x2d1e12=_0x304ade(_0x2d1e12)||_0x2d1e12);return _0x2d1e12;},on=(_0x28a86f,_0x91be91)=>(_0x394e1e,_0x18a2d0)=>_0x91be91(_0x394e1e,_0x18a2d0,_0x28a86f);let Ne=class{constructor(_0x4a5620){var _0x5cfe27=_0x154c14;this[_0x5cfe27(0x2b6)]=_0x4a5620,this[_0x5cfe27(0x40b)]();}[_0x154c14(0x40b)](){var _0xe95d33=_0x154c14;this[_0xe95d33(0x2b6)][_0xe95d33(0x451)]({'interceptor':(_0x510c7d,_0x249f1d)=>{var _0x377d80=_0xe95d33;const _0x285547=_0x510c7d[_0x377d80(0x323)],_0x2d6161=nn();return _0x2d6161&&_0x285547[_0x377d80(0x18c)](_0x377d80(0x1d9),_0x2d6161),_0x249f1d(_0x510c7d);}});}};Ne=sn([on(0x0,a[_0x154c14(0x25b)](Y[_0x154c14(0x4b7)]))],Ne);var an=Object[_0x154c14(0x2bb)],cn=(_0x2a7270,_0x33b447,_0x298a86,_0x152800)=>{var _0x1b2cd0=_0x154c14;for(var _0x336c76=_0x152800>0x1?void 0x0:_0x152800?an(_0x33b447,_0x298a86):_0x33b447,_0x24ba96=_0x2a7270[_0x1b2cd0(0x454)]-0x1,_0x58b95e;_0x24ba96>=0x0;_0x24ba96--)(_0x58b95e=_0x2a7270[_0x24ba96])&&(_0x336c76=_0x58b95e(_0x336c76)||_0x336c76);return _0x336c76;},we=(_0x13d6a7,_0x23821c)=>(_0x559096,_0x5a0048)=>_0x23821c(_0x559096,_0x5a0048,_0x13d6a7);exports['DataLoaderService']=class extends a['RxDisposable']{constructor(_0x391407,_0xb05a44,_0x5a3f08){var _0x5682a1=_0x154c14;super(),A(this,'_unitInfo$',new $['BehaviorSubject'](null)),A(this,_0x5682a1(0x1ae),this[_0x5682a1(0x463)]['asObservable']()),(this[_0x5682a1(0x282)]=_0x391407,this[_0x5682a1(0x44e)]=_0xb05a44,this[_0x5682a1(0x3e0)]=_0x5a3f08);}async[_0x154c14(0x2f8)](_0x269555,_0x114ff3,_0x5f09df){var _0x22888f=_0x154c14;this[_0x22888f(0x463)][_0x22888f(0x4e1)]({'unitId':_0x269555,'type':_0x114ff3});let _0x376953=null;switch(_0x114ff3){case J[_0x22888f(0x378)]:{_0x376953=await this['_snapshotService'][_0x22888f(0x19c)](_0x269555,_0x5f09df);break;}case J[_0x22888f(0x49a)]:{_0x376953=await this['_snapshotService'][_0x22888f(0x26e)](_0x269555,_0x5f09df);break;}default:{this['_logService'][_0x22888f(0x1da)](_0x22888f(0x44d),_0x22888f(0x361));break;}}return _0x376953;}async['loadUnit'](_0x30f29e,_0x5cca02,_0x181ef5){var _0x2067b9=_0x154c14,_0x36e3c9;this[_0x2067b9(0x463)][_0x2067b9(0x4e1)]({'unitId':_0x30f29e,'type':_0x5cca02,'subUnitId':_0x181ef5});let _0x2c1f98=0x0;const _0x2563cd=await((_0x36e3c9=this[_0x2067b9(0x3e0)])==null?void 0x0:_0x36e3c9['loadOfflineData'](_0x30f29e));return _0x2563cd&&(_0x2563cd[_0x2067b9(0x24a)]||_0x2563cd[_0x2067b9(0x309)][_0x2067b9(0x454)]!==0x0)&&(_0x2c1f98=_0x2563cd[_0x2067b9(0x488)]),_0x2c1f98===0x0&&this[_0x2067b9(0x282)][_0x2067b9(0x401)](_0x2067b9(0x44d),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x2067b9(0x2f8)](_0x30f29e,_0x5cca02,_0x2c1f98);}},exports[_0x154c14(0x4dd)]=cn([we(0x0,a[_0x154c14(0x36a)]),we(0x1,a[_0x154c14(0x25b)](I['SnapshotService'])),we(0x2,a[_0x154c14(0x46e)](q))],exports[_0x154c14(0x4dd)]);var hn=Object['getOwnPropertyDescriptor'],_n=(_0x554a49,_0x483c47,_0xf07a68,_0x1ffd0d)=>{var _0xf52807=_0x154c14;for(var _0x2fcbfb=_0x1ffd0d>0x1?void 0x0:_0x1ffd0d?hn(_0x483c47,_0xf07a68):_0x483c47,_0x4eb1c8=_0x554a49[_0xf52807(0x454)]-0x1,_0x5630d0;_0x4eb1c8>=0x0;_0x4eb1c8--)(_0x5630d0=_0x554a49[_0x4eb1c8])&&(_0x2fcbfb=_0x5630d0(_0x2fcbfb)||_0x2fcbfb);return _0x2fcbfb;},Le=(_0x4091f2,_0x31934c)=>(_0x48c96a,_0x4f7872)=>_0x31934c(_0x48c96a,_0x4f7872,_0x4091f2);const ln=['image/png',_0x154c14(0x222),_0x154c14(0x4a8),_0x154c14(0x19e),_0x154c14(0x1aa)],un=0x5*0x400*0x400,dn=_0x154c14(0x46a),vn=_0x154c14(0x1e5),Sn='EXCHANGE_SIGN_URL_SERVER_URL_KEY',fn=_0x154c14(0x371);exports[_0x154c14(0x32c)]=class{constructor(_0x19af8d,_0x152ff2,_0x21ee38){var _0x1e78c7=_0x154c14;A(this,'_waitCount',0x0),A(this,_0x1e78c7(0x25a),new $['Subject']()),A(this,_0x1e78c7(0x4bd),this[_0x1e78c7(0x25a)]),A(this,'_imageSourceCache',new Map()),(this[_0x1e78c7(0x2b6)]=_0x19af8d,this['_configService']=_0x152ff2,this[_0x1e78c7(0x1c0)]=_0x21ee38);}[_0x154c14(0x3e6)](_0x637121){var _0x1ba42b=_0x154c14;this['_waitCount']=_0x637121,this[_0x1ba42b(0x25a)][_0x1ba42b(0x4e1)](_0x637121);}[_0x154c14(0x1fb)](_0x453e8d,_0x3363b1){var _0x120775=_0x154c14;if(_0x3363b1===z[_0x120775(0x182)][_0x120775(0x4ef)]){const _0x9d9b6a=new Image();return _0x9d9b6a[_0x120775(0x2ff)]=_0x453e8d,_0x9d9b6a;}return this[_0x120775(0x4aa)]['get'](_0x453e8d);}[_0x154c14(0x2aa)](_0x588e51,_0x2536b5,_0x30cc75){var _0x40ee3d=_0x154c14;_0x2536b5===z[_0x40ee3d(0x182)]['BASE64']||_0x30cc75==null||this[_0x40ee3d(0x4aa)][_0x40ee3d(0x18c)](_0x588e51,_0x30cc75);}async['getImage'](_0x4bcb44){var _0x542ec1=_0x154c14;try{const _0xd6be2=this[_0x542ec1(0x466)](this[_0x542ec1(0x382)](),''+_0x4bcb44),_0x2f0867=(await this['_httpService'][_0x542ec1(0x225)](_0xd6be2))['body'];if(_0x2f0867[_0x542ec1(0x1da)]&&_0x2f0867[_0x542ec1(0x1da)][_0x542ec1(0x4a1)]===gt['OK']){const _0x228f83=new URL(_0x2f0867[_0x542ec1(0x2da)],this[_0x542ec1(0x336)]())[_0x542ec1(0x185)]();return Promise[_0x542ec1(0x242)](_0x228f83);}return Promise[_0x542ec1(0x2af)](_0x2f0867['error']);}catch(_0x45b3b5){return Promise[_0x542ec1(0x2af)](_0x45b3b5);}}async[_0x154c14(0x379)](_0x3b3a08){var _0x219b03=_0x154c14;let _0x3b57e6='';if(!ln['includes'](_0x3b3a08['type']))return this[_0x219b03(0x211)](),Promise[_0x219b03(0x2af)](new Error(z[_0x219b03(0x31f)][_0x219b03(0x49c)]));if(_0x3b3a08[_0x219b03(0x342)]>un)return this[_0x219b03(0x211)](),Promise[_0x219b03(0x2af)](new Error(z[_0x219b03(0x31f)][_0x219b03(0x352)]));try{const _0x12259a=new FormData();_0x12259a[_0x219b03(0x3b2)]('file',_0x3b3a08);const _0x1241d1=this[_0x219b03(0x1c0)][_0x219b03(0x470)](),_0x390ba3=_0x1241d1==null?void 0x0:_0x1241d1['getUnitId']();if(!_0x390ba3)throw new Error(_0x219b03(0x1dd));const _0x3e9e9b=this[_0x219b03(0x48a)]()+_0x219b03(0x2fd)+_0x3b3a08[_0x219b03(0x342)][_0x219b03(0x185)]()+_0x219b03(0x3a3)+Et['UnitEmbedded']+_0x219b03(0x23f)+encodeURIComponent(_0x390ba3),_0x4e3b59={'body':_0x12259a},_0x1e99d2=(await this[_0x219b03(0x2b6)][_0x219b03(0x437)](_0x3e9e9b,_0x4e3b59))[_0x219b03(0x49d)];if(typeof _0x1e99d2[_0x219b03(0x3ea)]!=_0x219b03(0x4a7))return this['_decreaseWaiting'](),Promise[_0x219b03(0x2af)](new Error(z[_0x219b03(0x31f)][_0x219b03(0x26d)]));_0x3b57e6=_0x1e99d2[_0x219b03(0x3ea)];}catch{return this[_0x219b03(0x211)](),Promise[_0x219b03(0x2af)](new Error(z[_0x219b03(0x31f)][_0x219b03(0x26d)]));}return new Promise((_0x3ff864,_0x598e4f)=>{var _0xc1e0c2=_0x219b03;const _0xb18a1a=new FileReader();_0xb18a1a[_0xc1e0c2(0x477)](_0x3b3a08),_0xb18a1a[_0xc1e0c2(0x32a)]=_0x27b88f=>{var _0x1a0198=_0xc1e0c2,_0x1d82dc;const _0x357ccf=(_0x1d82dc=_0x27b88f[_0x1a0198(0x48d)])==null?void 0x0:_0x1d82dc[_0x1a0198(0x4f6)];if(_0x357ccf==null){this[_0x1a0198(0x211)](),_0x598e4f(new Error(z[_0x1a0198(0x31f)][_0x1a0198(0x26d)]));return;}const _0x429052=a[_0x1a0198(0x2ae)]['generateRandomId'](0x6);_0x3ff864({'imageId':_0x429052,'imageSourceType':z[_0x1a0198(0x182)][_0x1a0198(0x306)],'source':_0x3b57e6,'base64Cache':_0x357ccf,'status':z['ImageUploadStatusType'][_0x1a0198(0x35c)]}),this['_decreaseWaiting']();};});}[_0x154c14(0x48a)](){var _0x40beab=_0x154c14,_0x534d55,_0x1bada6;const _0x26938b=this['_configService'][_0x40beab(0x4db)](dn),_0x48c104=this[_0x40beab(0x33c)][_0x40beab(0x4db)](K);return(_0x1bada6=(_0x534d55=_0x48c104==null?void 0x0:_0x48c104[_0x40beab(0x3f6)])!=null?_0x534d55:_0x26938b)!=null?_0x1bada6:vn;}[_0x154c14(0x382)](){var _0x15fce1=_0x154c14,_0x485b8a,_0x69d343;const _0x52306b=this['_configService'][_0x15fce1(0x4db)](Sn),_0x32b6=this[_0x15fce1(0x33c)][_0x15fce1(0x4db)](K);return(_0x69d343=(_0x485b8a=_0x32b6==null?void 0x0:_0x32b6[_0x15fce1(0x2bc)])!=null?_0x485b8a:_0x52306b)!=null?_0x69d343:fn;}['_getDownloadEndpointURL'](){var _0x5c5690=_0x154c14,_0x52791e;const _0x4fcaf0=this[_0x5c5690(0x33c)][_0x5c5690(0x4db)](K);return(_0x52791e=_0x4fcaf0==null?void 0x0:_0x4fcaf0[_0x5c5690(0x457)])!=null?_0x52791e:location[_0x5c5690(0x1af)];}[_0x154c14(0x466)](_0x5cddc9,_0x305f15){return _0x5cddc9['replace']('{fileID}',_0x305f15);}[_0x154c14(0x211)](){var _0x2abfd5=_0x154c14;this['_waitCount']-=0x1,this[_0x2abfd5(0x25a)][_0x2abfd5(0x4e1)](this[_0x2abfd5(0x448)]);}},exports[_0x154c14(0x32c)]=_n([Le(0x0,a['Inject'](Y[_0x154c14(0x4b7)])),Le(0x1,a[_0x154c14(0x307)]),Le(0x2,a[_0x154c14(0x25b)](a[_0x154c14(0x22a)]))],exports[_0x154c14(0x32c)]);var pn=Object['getOwnPropertyDescriptor'],In=(_0x4b876f,_0x1415ec,_0x2ef89f,_0x84ae85)=>{var _0x1f6991=_0x154c14;for(var _0x2526ff=_0x84ae85>0x1?void 0x0:_0x84ae85?pn(_0x1415ec,_0x2ef89f):_0x1415ec,_0x3a1d50=_0x4b876f[_0x1f6991(0x454)]-0x1,_0x4a069a;_0x3a1d50>=0x0;_0x3a1d50--)(_0x4a069a=_0x4b876f[_0x3a1d50])&&(_0x2526ff=_0x4a069a(_0x2526ff)||_0x2526ff);return _0x2526ff;},at=(_0x1636b3,_0x3c932c)=>(_0x3dc8f9,_0x2089b0)=>_0x3c932c(_0x3dc8f9,_0x2089b0,_0x1636b3);const gn=_0x154c14(0x2e8);exports['MentionIoHttpService']=class{constructor(_0x3394d0,_0x42cb40){var _0x116675=_0x154c14;this['_configService']=_0x3394d0,this[_0x116675(0x1f0)]=_0x42cb40;}[_0x154c14(0x259)](){var _0x8eb576=_0x154c14,_0x597f82,_0x5e1e3e;const _0x16e482=this[_0x8eb576(0x33c)][_0x8eb576(0x4db)](Ve),_0x2bc22a=this[_0x8eb576(0x33c)][_0x8eb576(0x4db)](K);return(_0x5e1e3e=(_0x597f82=_0x2bc22a==null?void 0x0:_0x2bc22a[_0x8eb576(0x3df)])!=null?_0x597f82:_0x16e482)!=null?_0x5e1e3e:gn;}async[_0x154c14(0x29d)](_0x4f1d79){var _0x55f0e2=_0x154c14;const _0x3f7e7e=this['_getAPIPrefixPath']()+_0x55f0e2(0x1d5);return{'list':[{'title':_0x55f0e2(0x203),'mentions':(await this[_0x55f0e2(0x1f0)]['get'](_0x3f7e7e,{'params':{'objectID':_0x4f1d79[_0x55f0e2(0x191)],'unitID':_0x4f1d79[_0x55f0e2(0x191)]}}))[_0x55f0e2(0x49d)][_0x55f0e2(0x43a)][_0x55f0e2(0x3f5)](_0xbd8773=>({'objectId':_0xbd8773['id'],'name':_0xbd8773[_0x55f0e2(0x32f)][_0x55f0e2(0x243)],'metadata':{'icon':_0xbd8773[_0x55f0e2(0x32f)][_0x55f0e2(0x290)]},'label':_0xbd8773[_0x55f0e2(0x32f)][_0x55f0e2(0x243)],'objectType':a['MentionType'][_0x55f0e2(0x4c2)]})),'metadata':{},'type':a[_0x55f0e2(0x354)]['PERSON']}]};}},exports['MentionIoHttpService']=In([at(0x0,a[_0x154c14(0x25b)](a['IConfigService'])),at(0x1,a['Inject'](Y['HTTPService']))],exports[_0x154c14(0x2a3)]);var En=Object[_0x154c14(0x2bb)],mn=(_0x3ecd1b,_0x1611da,_0x346c14,_0xffffb2)=>{var _0x45bf40=_0x154c14;for(var _0x4e6811=_0xffffb2>0x1?void 0x0:_0xffffb2?En(_0x1611da,_0x346c14):_0x1611da,_0x330b76=_0x3ecd1b[_0x45bf40(0x454)]-0x1,_0x24037a;_0x330b76>=0x0;_0x330b76--)(_0x24037a=_0x3ecd1b[_0x330b76])&&(_0x4e6811=_0x24037a(_0x4e6811)||_0x4e6811);return _0x4e6811;},le=(_0x2db397,_0x6fd001)=>(_0x544c9b,_0x123a06)=>_0x6fd001(_0x544c9b,_0x123a06,_0x2db397);let Ue=class extends a[_0x154c14(0x198)]{constructor(_0x2e0e33,_0x5b2cbf,_0x14e057,_0x2b73a5,_0x9cbd51){var _0x2e9edf=_0x154c14;super(),this['_injector']=_0x2e0e33,this[_0x2e9edf(0x1c0)]=_0x5b2cbf,this[_0x2e9edf(0x249)]=_0x14e057,this[_0x2e9edf(0x1cf)]=_0x2b73a5,this[_0x2e9edf(0x305)]=_0x9cbd51,this[_0x2e9edf(0x446)](),this[_0x2e9edf(0x39d)]();}['_initCloseConn'](){var _0x29d6b9=_0x154c14;const _0x139a76=async _0x8b76ae=>{var _0xf2a683=_0x1a03;(await this[_0xf2a683(0x1cf)]['requireSession'](_0x8b76ae))[_0xf2a683(0x35f)][_0xf2a683(0x37e)](V[_0xf2a683(0x1fd)](_0x2c5324=>_0x2c5324[_0xf2a683(0x192)]===I[_0xf2a683(0x48b)]['SHOULD_CLOSE_CONN']),V[_0xf2a683(0x24e)](this[_0xf2a683(0x491)]))[_0xf2a683(0x356)](_0x5d443c=>{var _0x588f2c=_0xf2a683;const _0x4fbc4d=_0x5d443c,{reason:_0x284b54}=_0x4fbc4d[_0x588f2c(0x4c1)];this[_0x588f2c(0x305)][_0x588f2c(0x1a3)]({'id':Z[_0x588f2c(0x2cd)],'data':_0x284b54}),this[_0x588f2c(0x249)][_0x588f2c(0x1de)](new X[(_0x588f2c(0x1bc))](_0x8b76ae)['id'],!0x1),this['_collaborationSessionService'][_0x588f2c(0x325)](_0x8b76ae);});};$['merge'](this['_univerInstanceService'][_0x29d6b9(0x4d9)](a['UniverInstanceType'][_0x29d6b9(0x378)]),this[_0x29d6b9(0x1c0)][_0x29d6b9(0x4d9)](a[_0x29d6b9(0x377)][_0x29d6b9(0x49a)]))[_0x29d6b9(0x37e)](V[_0x29d6b9(0x3f5)](_0x1b89a3=>_0x1b89a3[_0x29d6b9(0x2de)]()),V[_0x29d6b9(0x1fd)](_0x5dc168=>!a[_0x29d6b9(0x339)](_0x5dc168)),V[_0x29d6b9(0x24e)](this[_0x29d6b9(0x491)]))[_0x29d6b9(0x356)](_0xa294fb=>{_0x139a76(_0xa294fb);});}[_0x154c14(0x446)](){var _0x45266f=_0x154c14;const _0x4c5ef5=async _0x1c6c08=>{var _0x4ace24=_0x1a03;const _0x42b145=await this[_0x4ace24(0x1cf)][_0x4ace24(0x2fc)](_0x1c6c08),_0x50cc48=this[_0x4ace24(0x42d)][_0x4ace24(0x225)](X['SheetPermissionInitController']);_0x42b145['event$'][_0x4ace24(0x37e)](V[_0x4ace24(0x1fd)](_0x5cb943=>_0x5cb943[_0x4ace24(0x192)]===I[_0x4ace24(0x48b)][_0x4ace24(0x1d8)]),V[_0x4ace24(0x24e)](this[_0x4ace24(0x491)]))[_0x4ace24(0x356)](_0x3650ed=>{var _0xa31042=_0x4ace24;const _0xa95150=_0x3650ed,{objectId:_0xf1d6dc}=_0xa95150['data'];_0xf1d6dc===_0x1c6c08?_0x50cc48['initWorkbookPermissionChange'](_0x1c6c08):_0x50cc48[_0xa31042(0x268)](_0x1c6c08,_0xf1d6dc);});};$[_0x45266f(0x17f)](this[_0x45266f(0x1c0)][_0x45266f(0x4d9)](a[_0x45266f(0x377)][_0x45266f(0x378)]))[_0x45266f(0x37e)](V['map'](_0x2f479a=>_0x2f479a[_0x45266f(0x2de)]()),V[_0x45266f(0x1fd)](_0x3b43ca=>!a['isInternalEditorID'](_0x3b43ca)),V[_0x45266f(0x24e)](this['dispose$']))[_0x45266f(0x356)](_0x2cc257=>{_0x4c5ef5(_0x2cc257);});}};Ue=mn([le(0x0,a[_0x154c14(0x25b)](a[_0x154c14(0x1e7)])),le(0x1,a[_0x154c14(0x22a)]),le(0x2,a[_0x154c14(0x237)]),le(0x3,a[_0x154c14(0x25b)](exports['CollaborationSessionService'])),le(0x4,a[_0x154c14(0x25b)](ee))],Ue);var Cn=Object[_0x154c14(0x2bb)],Tn=(_0x5676d9,_0x2f941a,_0x3d76bb,_0x12d955)=>{for(var _0x1a4d25=_0x12d955>0x1?void 0x0:_0x12d955?Cn(_0x2f941a,_0x3d76bb):_0x2f941a,_0x5afc54=_0x5676d9['length']-0x1,_0x111909;_0x5afc54>=0x0;_0x5afc54--)(_0x111909=_0x5676d9[_0x5afc54])&&(_0x1a4d25=_0x111909(_0x1a4d25)||_0x1a4d25);return _0x1a4d25;},ct=(_0x1e4b4a,_0x4fdce5)=>(_0x19fcb3,_0x40f5f8)=>_0x4fdce5(_0x19fcb3,_0x40f5f8,_0x1e4b4a);exports[_0x154c14(0x2b7)]=class{constructor(_0xcec710,_0x52fa63){var _0x3dcc05=_0x154c14;this['_configService']=_0xcec710,this[_0x3dcc05(0x2b6)]=_0x52fa63;}async['getUnitOnRev'](_0x750899,_0x5a8bf3){var _0x1d69fb=_0x154c14,_0x1c1fef;const {unitID:_0x1ca44e,type:_0x2f7f75,revision:_0x19c052=0x0}=_0x5a8bf3,_0x2819da=this['getSnapshotAPIPath']()+'/'+_0x2f7f75+_0x1d69fb(0x1ba)+_0x1ca44e+_0x1d69fb(0x30a)+_0x19c052,_0x3ceaf0=(await this[_0x1d69fb(0x2b6)]['get'](_0x2819da))[_0x1d69fb(0x49d)],_0x354c29=(_0x1c1fef=_0x3ceaf0[_0x1d69fb(0x47f)])==null?void 0x0:_0x1c1fef['workbook'];if(_0x354c29){const _0x4541a0=_0x354c29==null?void 0x0:_0x354c29[_0x1d69fb(0x4fe)],_0x5dca88=I[_0x1d69fb(0x4d7)]['encode'](I[_0x1d69fb(0x281)](_0x4541a0));_0x354c29[_0x1d69fb(0x4fe)]=_0x5dca88,Object['entries'](_0x354c29[_0x1d69fb(0x229)])[_0x1d69fb(0x396)](([,_0x1d038b])=>{var _0x3d0d17=_0x1d69fb;const _0x3e5a8e=_0x1d038b[_0x3d0d17(0x4fe)],_0x5e79e1=I[_0x3d0d17(0x4d7)][_0x3d0d17(0x41f)](I[_0x3d0d17(0x281)](_0x3e5a8e));_0x1d038b[_0x3d0d17(0x4fe)]=_0x5e79e1;});}return _0x3ceaf0;}async[_0x154c14(0x3ae)](_0x4d8da7,_0x40e042){var _0x3685b4=_0x154c14;const {unitID:_0x3a143b,type:_0x53aff7,blockID:_0x534f5a}=_0x40e042,_0x48e2d3=this[_0x3685b4(0x369)]()+'/'+_0x53aff7+_0x3685b4(0x1ba)+_0x3a143b+_0x3685b4(0x3fd)+_0x534f5a;return(await this[_0x3685b4(0x2b6)][_0x3685b4(0x225)](_0x48e2d3))['body'];}async['getDeserializedSheetBlock'](_0x13d6f0,_0x3847fd){var _0x4815ea=_0x154c14;const {unitID:_0x3f5a43,type:_0x15d5ec,blockID:_0x1c6bf6}=_0x3847fd,_0x49a01d=this[_0x4815ea(0x369)]()+'/block/'+_0x15d5ec+'/unit/'+_0x3f5a43+_0x4815ea(0x3fd)+_0x1c6bf6;return(await this[_0x4815ea(0x2b6)][_0x4815ea(0x225)](_0x49a01d))[_0x4815ea(0x49d)];}async[_0x154c14(0x4a6)](_0x19a546,_0x41cb13){var _0x28de8e=_0x154c14;const {unitID:_0x581c72,type:_0x425e19,from:_0x443b9d,to:_0x128927}=_0x41cb13,_0x41de54=this[_0x28de8e(0x369)]()+'/'+_0x425e19+'/unit/'+_0x581c72+_0x28de8e(0x4e0)+_0x443b9d+_0x28de8e(0x40e)+_0x128927;return(await this[_0x28de8e(0x2b6)][_0x28de8e(0x225)](_0x41de54))[_0x28de8e(0x49d)];}[_0x154c14(0x2c7)](){var _0x2cc4ef=_0x154c14,_0x3ff6af;return(_0x3ff6af=this[_0x2cc4ef(0x33c)][_0x2cc4ef(0x4db)](lt))!=null?_0x3ff6af:this[_0x2cc4ef(0x369)]();}['_getAPIPrefix'](){var _0x4fe6f6=_0x154c14,_0x5b6421,_0x46c9cc;const _0x118093=this[_0x4fe6f6(0x33c)][_0x4fe6f6(0x4db)](_t),_0x1f6216=this['_configService']['getConfig'](K);return(_0x46c9cc=(_0x5b6421=_0x1f6216==null?void 0x0:_0x1f6216[_0x4fe6f6(0x2db)])!=null?_0x5b6421:_0x118093)!=null?_0x46c9cc:Lt;}async[_0x154c14(0x364)](_0x46e300,_0xdc73a5){var _0x54d432=_0x154c14;const _0x5b657f=_0x54d432(0x3a2)+_0xdc73a5[_0x54d432(0x493)]+_0x54d432(0x1ba)+_0xdc73a5[_0x54d432(0x4b5)]+'/resources';return(await this[_0x54d432(0x2b6)][_0x54d432(0x225)](_0x5b657f,{'params':{'resourceId':JSON[_0x54d432(0x276)](_0xdc73a5[_0x54d432(0x480)])}}))[_0x54d432(0x49d)];}[_0x154c14(0x275)](){var _0x406207=_0x154c14;throw new Error(_0x406207(0x1e3));}[_0x154c14(0x1c2)](){var _0x69faf1=_0x154c14;throw new Error(_0x69faf1(0x1e3));}[_0x154c14(0x273)](){var _0x5814b8=_0x154c14;throw new Error(_0x5814b8(0x1e3));}[_0x154c14(0x3cd)](){var _0x17810a=_0x154c14;throw new Error(_0x17810a(0x1e3));}[_0x154c14(0x2e6)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){var _0x4f88ac=_0x154c14;throw new Error(_0x4f88ac(0x1e3));}},exports['SnapshotServerOverHTTPService']=Tn([ct(0x0,a[_0x154c14(0x307)]),ct(0x1,a[_0x154c14(0x25b)](Y[_0x154c14(0x4b7)]))],exports[_0x154c14(0x2b7)]);var bn=Object[_0x154c14(0x2bb)],Rn=(_0x1e8136,_0x2b2368,_0x1f9076,_0x201f83)=>{var _0x5bc37a=_0x154c14;for(var _0x2bd0f1=_0x201f83>0x1?void 0x0:_0x201f83?bn(_0x2b2368,_0x1f9076):_0x2b2368,_0x2d0720=_0x1e8136[_0x5bc37a(0x454)]-0x1,_0x5f436f;_0x2d0720>=0x0;_0x2d0720--)(_0x5f436f=_0x1e8136[_0x2d0720])&&(_0x2bd0f1=_0x5f436f(_0x2bd0f1)||_0x2bd0f1);return _0x2bd0f1;},ue=(_0x2e514a,_0x158a01)=>(_0x43fbea,_0x549102)=>_0x158a01(_0x43fbea,_0x549102,_0x2e514a);exports[_0x154c14(0x1df)]=class extends a['LocalUndoRedoService']{constructor(_0x440a20,_0x3494a5,_0x3bd75b,_0x58cd6b,_0x17f1b5){var _0x240641=_0x154c14;super(_0x440a20,_0x3494a5,_0x3bd75b),this[_0x240641(0x2ee)]=_0x58cd6b,this[_0x240641(0x282)]=_0x17f1b5;}['transformUndoRedo'](_0x2dd902,_0x9e4909){var _0x330c9b=_0x154c14;const _0x2daec5=this[_0x330c9b(0x1c4)](_0x2dd902);if(_0x2daec5)try{const _0x5a6fe7=this[_0x330c9b(0x28d)](_0x2daec5,_0x9e4909);this['_substituteUndoStack'](_0x2dd902,_0x5a6fe7);}catch(_0x5c686a){this['_logService']['error'](_0x330c9b(0x494),_0x5c686a),this['_clearUndo'](_0x2dd902);}const _0x50893d=this['_getRedoStack'](_0x2dd902);if(_0x50893d)try{const _0x2aa1cf=this['_transformStack'](_0x50893d,_0x9e4909);this['_substituteRedoStack'](_0x2dd902,_0x2aa1cf);}catch(_0x1ccfd3){this[_0x330c9b(0x282)][_0x330c9b(0x1da)](_0x1ccfd3),this[_0x330c9b(0x2b8)](_0x2dd902);}}[_0x154c14(0x438)](_0x36730e){var _0x12d638=_0x154c14;const _0x32fbb8=this[_0x12d638(0x1c4)](_0x36730e);_0x32fbb8&&(_0x32fbb8[_0x12d638(0x454)]=0x0,this[_0x12d638(0x39f)]());}[_0x154c14(0x2b8)](_0x2f9502){var _0x3470fc=_0x154c14;const _0x36421c=this[_0x3470fc(0x1c6)](_0x2f9502);_0x36421c&&(_0x36421c['length']=0x0,this[_0x3470fc(0x39f)]());}[_0x154c14(0x1e6)](_0x233b7f,_0x2657d3){var _0x52de72=_0x154c14;this[_0x52de72(0x2a4)][_0x52de72(0x18c)](_0x233b7f,_0x2657d3),this[_0x52de72(0x39f)]();}[_0x154c14(0x478)](_0x1260eb,_0xd83781){var _0x16302f=_0x154c14;this['_redoStacks'][_0x16302f(0x18c)](_0x1260eb,_0xd83781),this[_0x16302f(0x39f)]();}[_0x154c14(0x28d)](_0x30666b,_0x300ea0){var _0x2b65f6=_0x154c14;const _0x84b212=[];let _0x2465ff=_0x300ea0,_0x74619e=_0x300ea0;for(let _0x34b1d5=_0x30666b[_0x2b65f6(0x454)]-0x1;_0x34b1d5>=0x0;_0x34b1d5--){const {unitID:_0x2d26e9,undoMutations:_0x9d7d9c,redoMutations:_0x29482c}=_0x30666b[_0x34b1d5],_0x170e8e=this[_0x2b65f6(0x2ee)]['transformMutationsWithChangeset'](_0x2465ff,_0x9d7d9c),_0x574450=this[_0x2b65f6(0x2ee)]['transformMutationsWithChangeset'](_0x74619e,_0x29482c);if(I[_0x2b65f6(0x3f2)](_0x170e8e)||I[_0x2b65f6(0x3f2)](_0x574450)){this[_0x2b65f6(0x282)]['error']('[CollaborationUndoRedoService]',_0x2b65f6(0x357),_0x170e8e,_0x574450);break;}_0x2465ff=_0x170e8e['c1Prime'],_0x74619e=_0x574450[_0x2b65f6(0x299)],_0x84b212['push']({'unitID':_0x2d26e9,'undoMutations':_0x170e8e['m2Prime'],'redoMutations':_0x574450[_0x2b65f6(0x442)]});}return _0x84b212[_0x2b65f6(0x19b)]();}},exports['CollaborativeUndoRedoService']=Rn([ue(0x0,a['IUniverInstanceService']),ue(0x1,a[_0x154c14(0x4ba)]),ue(0x2,a['IContextService']),ue(0x3,I[_0x154c14(0x1e4)]),ue(0x4,a[_0x154c14(0x36a)])],exports[_0x154c14(0x1df)]);var On=Object['defineProperty'],yn=Object[_0x154c14(0x2bb)],Nn=(_0x1f0bd1,_0x2af495,_0x51de3d)=>_0x2af495 in _0x1f0bd1?On(_0x1f0bd1,_0x2af495,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x51de3d}):_0x1f0bd1[_0x2af495]=_0x51de3d,Un=(_0x3ddbb2,_0x355199,_0x5e5196,_0x4c628c)=>{for(var _0x490144=_0x4c628c>0x1?void 0x0:_0x4c628c?yn(_0x355199,_0x5e5196):_0x355199,_0xf83fcb=_0x3ddbb2['length']-0x1,_0x30be78;_0xf83fcb>=0x0;_0xf83fcb--)(_0x30be78=_0x3ddbb2[_0xf83fcb])&&(_0x490144=_0x30be78(_0x490144)||_0x490144);return _0x490144;},Me=(_0x29aa27,_0xe493)=>(_0x3d1f2d,_0x303209)=>_0xe493(_0x3d1f2d,_0x303209,_0x29aa27),Dn=(_0x1bdc37,_0x87d597,_0x2e6da7)=>Nn(_0x1bdc37,_0x87d597+'',_0x2e6da7);const An=_0x154c14(0x47b);exports[_0x154c14(0x2ea)]=class extends a[_0x154c14(0x209)]{constructor(_0x3f9bce,_0x3361db,_0x1dcefe,_0x5cb1a8){var _0x565647=_0x154c14;super(),A(this,'_config'),(this[_0x565647(0x282)]=_0x3361db,this[_0x565647(0x42d)]=_0x1dcefe,this[_0x565647(0x33c)]=_0x5cb1a8);const {..._0x536a76}=a[_0x565647(0x17f)]({},Yt,_0x3f9bce);if(!_0x536a76[_0x565647(0x227)])throw new Error(_0x565647(0x359));this[_0x565647(0x2a9)]=_0x536a76,this['_configService'][_0x565647(0x2b4)](K,_0x536a76);}[_0x154c14(0x4f1)](){var _0x53c98d=_0x154c14;this[_0x53c98d(0x1bb)](),this[_0x53c98d(0x4b0)]();}[_0x154c14(0x1bb)](){var _0x41800d=_0x154c14,_0x3a5549,_0x5711da;this[_0x41800d(0x42d)][_0x41800d(0x3a5)](a[_0x41800d(0x338)])&&this[_0x41800d(0x282)][_0x41800d(0x1da)](_0x41800d(0x236),_0x41800d(0x455));const _0x5646bc=a[_0x41800d(0x49b)]([[a[_0x41800d(0x338)],{'useClass':exports[_0x41800d(0x1df)]}],[exports['CollaborationSessionService']],[exports['MemberService']],[exports[_0x41800d(0x3e2)]],[ye],[Ne],[$e],[Ue],[ee],[exports[_0x41800d(0x4dd)]],[He,{'useClass':this[_0x41800d(0x2a9)]['socketService']}],[I[_0x41800d(0x4de)],{'useClass':exports[_0x41800d(0x2b7)]}],[a[_0x41800d(0x445)],{'useClass':exports[_0x41800d(0x1d3)]}],[z[_0x41800d(0x340)],{'useClass':exports[_0x41800d(0x32c)]}],[a[_0x41800d(0x262)],{'useClass':exports['MentionIoHttpService']}],[exports[_0x41800d(0x288)]],[xe]],(_0x3a5549=this['_config'])==null?void 0x0:_0x3a5549['override']);if(!((_0x5711da=this[_0x41800d(0x2a9)])!=null&&_0x5711da['enableSingleActiveInstanceLock'])){const _0x5c76dd=_0x5646bc[_0x41800d(0x40c)](([_0xfc3c45])=>_0xfc3c45===de);_0x5c76dd!==-0x1&&_0x5646bc[_0x41800d(0x186)](_0x5c76dd,0x1);}a[_0x41800d(0x4d3)](this[_0x41800d(0x42d)],_0x5646bc);}[_0x154c14(0x4b0)](){var _0x30b077=_0x154c14,_0x22bd8c,_0xf41f56,_0x20ba40;this[_0x30b077(0x42d)][_0x30b077(0x225)](Y[_0x30b077(0x4b7)])[_0x30b077(0x451)]({'priority':0x14,'interceptor':Y['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x22bd8c=this['_config'])!=null&&_0x22bd8c[_0x30b077(0x4da)]||(_0xf41f56=this[_0x30b077(0x42d)]['get'](q,a[_0x30b077(0x483)][_0x30b077(0x4b2)]))==null||_0xf41f56['disableLocalCache'](),(_0x20ba40=this[_0x30b077(0x2a9)])!=null&&_0x20ba40['enableAuthServer']&&a[_0x30b077(0x4e2)](this[_0x30b077(0x42d)],[[ye]]),a[_0x30b077(0x4e2)](this[_0x30b077(0x42d)],[[Ne],[exports[_0x30b077(0x288)]],[Ue]]);}},Dn(exports['UniverCollaborationClientPlugin'],_0x154c14(0x252),An),exports[_0x154c14(0x2ea)]=Un([a[_0x154c14(0x312)](I[_0x154c14(0x363)],Y[_0x154c14(0x459)]),Me(0x1,a['ILogService']),Me(0x2,a[_0x154c14(0x25b)](a[_0x154c14(0x1e7)])),Me(0x3,a['IConfigService'])],exports[_0x154c14(0x2ea)]),exports[_0x154c14(0x495)]=Ve,exports[_0x154c14(0x42f)]=K,exports[_0x154c14(0x4d1)]=pt,exports['COLLAB_WEB_SOCKET_URL_KEY']=ut,exports['CollaborationStatus']=Be,exports['CollaborationUIEventId']=Z,exports[_0x154c14(0x3a6)]=ee,exports[_0x154c14(0x4a9)]=$e,exports[_0x154c14(0x1f3)]=dt,exports[_0x154c14(0x1b4)]=Kt,exports[_0x154c14(0x431)]=kt,exports[_0x154c14(0x48e)]=vt,exports[_0x154c14(0x497)]=ke,exports[_0x154c14(0x2be)]=He,exports[_0x154c14(0x38a)]=q,exports[_0x154c14(0x326)]=mt,exports['ISingleActiveUnitService']=de,exports[_0x154c14(0x28e)]=Ft,exports['LOCAL_CACHE_INTERVAL_KEY']=Bt,exports[_0x154c14(0x408)]=It,exports[_0x154c14(0x456)]=Gt,exports['RETRY_CONNECTING_MAX_COUNT_KEY']=ft,exports[_0x154c14(0x39e)]=Mt,exports[_0x154c14(0x434)]=_t,exports[_0x154c14(0x239)]=lt,exports[_0x154c14(0x372)]=re,exports[_0x154c14(0x293)]=je,exports['deserializeToCombResponse']=Ct,exports[_0x154c14(0x1cc)]=oi,exports[_0x154c14(0x28f)]=Tt;
|
1
|
+
'use strict';var _0xb98a65=_0x5981;function _0x5981(_0x4050d5,_0x4a00fc){var _0x4dcd52=_0x4dcd();return _0x5981=function(_0x598116,_0x25f3e2){_0x598116=_0x598116-0x13b;var _0x3e7fcb=_0x4dcd52[_0x598116];return _0x3e7fcb;},_0x5981(_0x4050d5,_0x4a00fc);}(function(_0x1f124f,_0x373f9a){var _0x37a423=_0x5981,_0x2de8e5=_0x1f124f();while(!![]){try{var _0x3586ed=-parseInt(_0x37a423(0x3ba))/0x1+parseInt(_0x37a423(0x41a))/0x2*(parseInt(_0x37a423(0x2a2))/0x3)+-parseInt(_0x37a423(0x1d8))/0x4+parseInt(_0x37a423(0x172))/0x5+parseInt(_0x37a423(0x47e))/0x6+-parseInt(_0x37a423(0x212))/0x7+parseInt(_0x37a423(0x1f4))/0x8*(-parseInt(_0x37a423(0x182))/0x9);if(_0x3586ed===_0x373f9a)break;else _0x2de8e5['push'](_0x2de8e5['shift']());}catch(_0x1f8bb0){_0x2de8e5['push'](_0x2de8e5['shift']());}}}(_0x4dcd,0x73b3c));var Ut=Object['defineProperty'],At=(_0x4c9e2e,_0x51b3d4,_0x406524)=>_0x51b3d4 in _0x4c9e2e?Ut(_0x4c9e2e,_0x51b3d4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x406524}):_0x4c9e2e[_0x51b3d4]=_0x406524,A=(_0x4092ac,_0x4ef67e,_0x310c42)=>At(_0x4092ac,typeof _0x4ef67e!='symbol'?_0x4ef67e+'':_0x4ef67e,_0x310c42);Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0xb98a65(0x403)});const a=require(_0xb98a65(0x254)),$=require(_0xb98a65(0x16b)),V=require(_0xb98a65(0x2f9)),p=require(_0xb98a65(0x3cf)),K=require('@univerjs/network'),Pt=require(_0xb98a65(0x401)),ht=require(_0xb98a65(0x36d)),X=require(_0xb98a65(0x493)),z=require(_0xb98a65(0x1d2)),Lt=require(_0xb98a65(0x3f3)),_t=_0xb98a65(0x17c),wt=_0xb98a65(0x439),lt=_0xb98a65(0x46d),Mt=_0xb98a65(0x3f0),xt=0x7d0,ut=_0xb98a65(0x1af),dt=_0xb98a65(0x272),kt=_0xb98a65(0x257),vt=_0xb98a65(0x26b),Ht=0x7530,ke='HEARTBEAT_TIMEOUT',St=0x4e20,$t=0x4e20,ft=_0xb98a65(0x4c7),jt=0x3,Bt=_0xb98a65(0x46a),Ft=0x3e8,It=_0xb98a65(0x2f8),Vt=_0xb98a65(0x32a),pt=_0xb98a65(0x19b),Wt=_0xb98a65(0x49e),Yt=_0xb98a65(0x286),Gt=_0xb98a65(0x450);var gt=(_0x5a488f=>(_0x5a488f[_0x5a488f[_0xb98a65(0x3bb)]=0x0]=_0xb98a65(0x3bb),_0x5a488f[_0x5a488f['OK']=0x1]='OK',_0x5a488f[_0x5a488f['INTERNAL_ERROR']=0x2]=_0xb98a65(0x453),_0x5a488f[_0x5a488f['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x5a488f[_0x5a488f[_0xb98a65(0x2a9)]=0x4]=_0xb98a65(0x2a9),_0x5a488f[_0x5a488f['UNAUTHENTICATED']=0x5]=_0xb98a65(0x250),_0x5a488f[_0x5a488f['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x5a488f[_0x5a488f[_0xb98a65(0x358)]=0x7]=_0xb98a65(0x358),_0x5a488f[_0x5a488f[_0xb98a65(0x44e)]=0x8]=_0xb98a65(0x44e),_0x5a488f[_0x5a488f[_0xb98a65(0x39e)]=0x9]='COMPLETION_FINISHED',_0x5a488f[_0x5a488f[_0xb98a65(0x445)]=0xa]=_0xb98a65(0x445),_0x5a488f[_0x5a488f[_0xb98a65(0x330)]=0xb]=_0xb98a65(0x330),_0x5a488f[_0x5a488f[_0xb98a65(0x466)]=0xc]=_0xb98a65(0x466),_0x5a488f[_0x5a488f['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0xb98a65(0x2fe),_0x5a488f[_0x5a488f['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0xb98a65(0x48e),_0x5a488f[_0x5a488f[_0xb98a65(0x2e6)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5a488f[_0x5a488f[_0xb98a65(0x327)]=0x1771]=_0xb98a65(0x327),_0x5a488f[_0x5a488f[_0xb98a65(0x3d7)]=0x1772]=_0xb98a65(0x3d7),_0x5a488f[_0x5a488f[_0xb98a65(0x23c)]=0x1773]=_0xb98a65(0x23c),_0x5a488f[_0x5a488f[_0xb98a65(0x41d)]=0x1b59]=_0xb98a65(0x41d),_0x5a488f[_0x5a488f[_0xb98a65(0x36f)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5a488f[_0x5a488f[_0xb98a65(0x251)]=0x1b5b]=_0xb98a65(0x251),_0x5a488f[_0x5a488f[_0xb98a65(0x1ea)]=0x1b5c]=_0xb98a65(0x1ea),_0x5a488f[_0x5a488f[_0xb98a65(0x42d)]=0x1b5d]=_0xb98a65(0x42d),_0x5a488f[_0x5a488f[_0xb98a65(0x1aa)]=0x1f41]=_0xb98a65(0x1aa),_0x5a488f[_0x5a488f[_0xb98a65(0x444)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5a488f[_0x5a488f[_0xb98a65(0x1b3)]=0x232a]=_0xb98a65(0x1b3),_0x5a488f[_0x5a488f[_0xb98a65(0x1c5)]=0x232b]=_0xb98a65(0x1c5),_0x5a488f[_0x5a488f[_0xb98a65(0x441)]=0x232c]=_0xb98a65(0x441),_0x5a488f[_0x5a488f[_0xb98a65(0x280)]=0x232d]=_0xb98a65(0x280),_0x5a488f[_0x5a488f[_0xb98a65(0x3d4)]=0x2711]=_0xb98a65(0x3d4),_0x5a488f[_0x5a488f[_0xb98a65(0x2ea)]=0x2712]=_0xb98a65(0x2ea),_0x5a488f[_0x5a488f[_0xb98a65(0x17b)]=0x2713]=_0xb98a65(0x17b),_0x5a488f[_0x5a488f[_0xb98a65(0x4b6)]=0x2714]=_0xb98a65(0x4b6),_0x5a488f[_0x5a488f['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0xb98a65(0x19e),_0x5a488f[_0x5a488f[_0xb98a65(0x462)]=0x271b]=_0xb98a65(0x462),_0x5a488f[_0x5a488f['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0xb98a65(0x3e8),_0x5a488f[_0x5a488f['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0xb98a65(0x3dc),_0x5a488f[_0x5a488f[_0xb98a65(0x443)]=0x271e]=_0xb98a65(0x443),_0x5a488f[_0x5a488f[_0xb98a65(0x274)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x5a488f[_0x5a488f[_0xb98a65(0x1c2)]=0x2720]=_0xb98a65(0x1c2),_0x5a488f[_0x5a488f[_0xb98a65(0x258)]=0x2af9]=_0xb98a65(0x258),_0x5a488f[_0x5a488f['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0xb98a65(0x396),_0x5a488f[_0x5a488f[_0xb98a65(0x28c)]=0x2ee2]='INVALID_INVITE_CODE',_0x5a488f[_0x5a488f[_0xb98a65(0x2a7)]=0x2ee3]=_0xb98a65(0x2a7),_0x5a488f[_0x5a488f[_0xb98a65(0x3b0)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5a488f[_0x5a488f[_0xb98a65(0x473)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x5a488f[_0x5a488f['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0xb98a65(0x264),_0x5a488f[_0x5a488f[_0xb98a65(0x1da)]=0x32ca]=_0xb98a65(0x1da),_0x5a488f[_0x5a488f[_0xb98a65(0x1b7)]=0x32cb]=_0xb98a65(0x1b7),_0x5a488f[_0x5a488f[_0xb98a65(0x15c)]=-0x1]=_0xb98a65(0x15c),_0x5a488f))(gt||{}),J=(_0x54dfed=>(_0x54dfed[_0x54dfed[_0xb98a65(0x470)]=0x0]=_0xb98a65(0x470),_0x54dfed[_0x54dfed['UNIVER_DOC']=0x1]=_0xb98a65(0x153),_0x54dfed[_0x54dfed[_0xb98a65(0x42b)]=0x2]=_0xb98a65(0x42b),_0x54dfed[_0x54dfed[_0xb98a65(0x47a)]=0x3]=_0xb98a65(0x47a),_0x54dfed[_0x54dfed[_0xb98a65(0x419)]=0x4]='UNIVER_PROJECT',_0x54dfed[_0x54dfed[_0xb98a65(0x15c)]=-0x1]=_0xb98a65(0x15c),_0x54dfed))(J||{}),W=(_0x2dbdda=>(_0x2dbdda[_0x2dbdda[_0xb98a65(0x3f2)]=0x0]=_0xb98a65(0x3f2),_0x2dbdda[_0x2dbdda[_0xb98a65(0x189)]=0x1]=_0xb98a65(0x189),_0x2dbdda[_0x2dbdda[_0xb98a65(0x16e)]=0x2]='JOIN',_0x2dbdda[_0x2dbdda['LEAVE']=0x3]=_0xb98a65(0x455),_0x2dbdda[_0x2dbdda[_0xb98a65(0x224)]=0x4]=_0xb98a65(0x224),_0x2dbdda[_0x2dbdda[_0xb98a65(0x4ae)]=0x5]=_0xb98a65(0x4ae),_0x2dbdda[_0x2dbdda['RECV']=0x6]=_0xb98a65(0x468),_0x2dbdda[_0x2dbdda[_0xb98a65(0x15c)]=-0x1]='UNRECOGNIZED',_0x2dbdda))(W||{}),oe=(_0x2cf43c=>(_0x2cf43c[_0x2cf43c['UNKNOWN_CODE']=0x0]=_0xb98a65(0x328),_0x2cf43c[_0x2cf43c['OK']=0x1]='OK',_0x2cf43c[_0x2cf43c[_0xb98a65(0x3ae)]=0x2]=_0xb98a65(0x3ae),_0x2cf43c[_0x2cf43c['JOIN_ROOM_FULL']=0x3e9]=_0xb98a65(0x426),_0x2cf43c[_0x2cf43c[_0xb98a65(0x3cd)]=0x3ea]=_0xb98a65(0x3cd),_0x2cf43c[_0x2cf43c[_0xb98a65(0x1ba)]=0x3eb]=_0xb98a65(0x1ba),_0x2cf43c[_0x2cf43c[_0xb98a65(0x376)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x2cf43c[_0x2cf43c[_0xb98a65(0x15c)]=-0x1]=_0xb98a65(0x15c),_0x2cf43c))(oe||{}),Et=(_0x4f6f55=>(_0x4f6f55[_0x4f6f55[_0xb98a65(0x1f3)]=0x0]=_0xb98a65(0x1f3),_0x4f6f55[_0x4f6f55['HttpImport']=0x1]=_0xb98a65(0x21e),_0x4f6f55[_0x4f6f55[_0xb98a65(0x45b)]=0x2]=_0xb98a65(0x45b),_0x4f6f55[_0x4f6f55[_0xb98a65(0x275)]=0x3]='UnitEmbedded',_0x4f6f55[_0x4f6f55[_0xb98a65(0x2a3)]=0x4]='UnitSnapshot',_0x4f6f55[_0x4f6f55[_0xb98a65(0x248)]=0x5]='UserProfileImg',_0x4f6f55[_0x4f6f55['UNRECOGNIZED']=-0x1]=_0xb98a65(0x15c),_0x4f6f55))(Et||{});const G=_0xb98a65(0x4a9),Kt={};function _0x4dcd(){var _0x5f049f=['[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','EXCHANGE_SIGN_URL_SERVER_URL_KEY','COMPLETION_FINISHED','Injector','every','_clearLocalCache','_permissionService','next','SheetTransformSelectionsService','getSnapshotAPIPath','StreamCipher','FetchingMissState','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','compute','string','_oKey','DataLoaderService','image/bmp','FAIL','_onRemoteACK','USER_NOT_INVITED_CODE','reconnect','sessionStatus','join','error','_httpService','IPermissionService','setShowComponents','not_collab','IMentionIOService','347879MAHnXO','UNDEFINED','univer-pro.collaboration-client.single-active-unit-service','Subject','CHANGESET_REJ','charAt','selections','getLatestCsReqIdBySid','telemetry\x20info\x20is\x20not\x20initialized','_clearRedo','connection\x20error','/allowed','listCollaborators','_clearRetryConnectingTimer','_exhaustRemoteChangesetQueue','_keySchedule','then','_socketService','_onUserLeave','JOIN_ROOM_NOT_EXISTS','PasswordBasedCipher','@univerjs-pro/collaboration','LIVESHARE_NEW_HOST','Optional','getActiveSheet','getInterceptPoints','YUUMI_UNABLE_LOAD_URL','ISingleActiveUnitService','unknown','SNAPSHOT_HAS_BEEN_REMOVED','_createSocket','synced','/-/object/list','event$','YUUMI_ALL_TABLES_IS_INVALID','IContextService','substr','_onRemoteRetry','randomBytes','setConfig','_telemetryInfo','_listenToNetworkCondition','SheetCollaborationEntity','floor','getConfig','_mode','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_key','INetworkConditionService','getTypeOfUnitDisposed$','_unlockTransition','default','firstValueFrom','ReplaySubject','SEND_CHANGESET_TIMEOUT','NEW_CHANGESETS','UNKNOWN_CMD','@univerjs-pro/license','_collaborationTimeoutTimer','apply','MSG_FOR_ERROR','__esModule','pauseCollaboration','merge','_ENC_XFORM_MODE','_queuedRemoteChangesets','LIVESHARE_OPERATION','entries','_onMessage','charCodeAt','_isPermissionRej','@univerjs/telemetry','_createHelper','Module','indexOf','collaboratorID','error$','buffer','_imageSourceCache','prototype','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','removeMember','_userManagerService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_compressMutationService','getSheetId','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','Workbook','[CollaborationState]:\x20apply\x20error!','getCurrentSelections','_unitID','src','OFFLINE','_redoStacks','_memberService','UNIVER_PROJECT','1864814lytuik','SUBMIT_CHANGESET_TIMEOUT','getCollabEntity','APPLY_REJECT','_doFinalize','sigBytes','getRoom','MentionType','retryConnectingInterval','ILogService','x-univer-host','originalMeta','JOIN_ROOM_FULL','createDecryptor','repeat','ILocalCacheService','CollaborationController','UNIVER_SHEET','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','APPLY_DUPLICATED','Inject','params','WorkbookEditablePermission','_parse','_incrementRevisionNumber','shareReplay','_configService','_checkMissing','_getUploadFileURL','ICommandService','reduce','/universer-api/snapshot','IImageIoService','joinEvent','Utf8','Disposable','abs','_collaborationSessionService','init','LICENSE_EXPORT_SIZE_EXCEEDED','map','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','LICENSE_MAX_UNITS_EXCEEDED','LOGIN_FAILED','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','initWorkbookPermissionChange','AWAITING','_snapshotServerService','_iv','c2Prime','onLocalMutation','ConflictState','TOO_MANY_REQUESTS','_disableEditing','/universer-api/uniscript','LOCAL_CACHE_INTERVAL_KEY','__Key__','INTERNAL_ERROR','_candidateSocket','LEAVE','/universer-api/authz','editingUnit','IUndoRedoService','objectID','SUBMIT_CHANGESET','HttpExport','actions','OpenSSL','_state','PERMISSION_DENIED','_tryReconnect','parseProtocolChangeset','YUUMI_ASYNCIO_CANCELLED','HmacMD5','collaboration_new_changeset','_showConflictNotification','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','fromCharCode','RECV','session','LOCAL_CACHE_INTERVAL','COLLAB_SUBMIT_CHANGESET_URL_KEY','_onRemoteChangeset','SNAPSHOT_URL_KEY','loadOfflineData','SyncedState','UNIVER_UNKNOWN','UserManagerService','saveImage','INVITE_CODE_ALREADY_BOUND','_unitInfo$','{fileID}','getDeserializedSheetBlock','_changesetReqId','toDisposable','_socketReady','UNIVER_SLIDE','loadUnitOfRevision','emitEvent','DocCollaborationEntity','4281906JkgPWd','headers','find','href','\x0aCurrent:\x20','_onLocalMutation','PERSON','Error\x20on\x20receiving\x20event','localCacheService','_keyPriorReset','NO_OTHER_CLIENTS_EDITING','_getRedoStack','clear','getUnitType','transformMutationsWithChangeset','/universer-api/snapshot/','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','entityInit$','pipe','_nDataBytes','JOIN_ROOM_FAILED','@univerjs/sheets','subject','clone','_transformSelections','blockSize','_append','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','USERS_LEAVE','slice','getMemberID','_DEC_XFORM_MODE','/universer-api/oidc/authpage','textRanges','lib','CipherParams','_getLoginPath','getRandomValues','stringify','saveSnapshot','univer-pro.collaboration-client.network-condition.service','BlockCipherMode','_telemetryService','collaboration-client.config','OTHER_CLIENT_EDITING','_onConnectionFailed','cmd','_onCombEvent','HEARTBEAT','withCredentials','pluginName','_sendHeartbeat','HMAC','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','registerDependencies','_updateState','YUUMI_SUBSCRIPTION_NOT_FOUND','complete','$super','byteLength','keySize','UniverNetworkPlugin','shouldCloseConn','fetchMissingChangesets','[PendingState]:\x20received\x20rejection.','call','getValue','_transformRemoteChangesetByStateCache','decrypt','getCurrentUser','leaveEvent','_tryEnsureSocket','uniscriptRunEvent','RETRY_CONNECTING_MAX_COUNT','body','_univerInstanceService','ImageSourceType','image/png','authzUrl','crypto','UPDATE_CURSOR','_doCryptBlock','BufferedBlockAlgorithm','_transformIMECache','univer-pro.collaboration-client-socket-service','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','onCommentUpdate','findIndex','enc','permissionRejEvent','_state$','_updateStatus','csAckEvent','parse','_collaborationPaused','_onUserJoin','ImageUploadStatusType','_executeRemoteChangeset','onlyLocal','_onOffline','CHANGESET_ACK','UNIVER_DOC','interceptor','getTypeOfUnitAdded$','_clearCollaborationTimeoutTimer','hasOwnProperty','_retryCount','_doCreateSocket','put','createEncryptor','UNRECOGNIZED','method','changesets','socket\x20open.','_revisionService','_nRounds','\x20to\x20','saveChangeset','transformChangesets','SetSelectionsOperation','readAsDataURL','take','signUrlServerUrl','[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.','setWaitCount','rxjs','newCsEvent','encrypt','JOIN','debug','_onConnectionOpen','_transformService','1421590dLOnWM','unitID','MD5','commentUpdate$','encryptBlock','localeService','capture','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','deleteCollaborator','YUUMI_RATE_OVER_LIMIT','SNAPSHOT_SERVER_URL_KEY','ceil','createSocket','isPermissionRej','open$','USERS_ENTER','36JQcbeJ','reset','getImage','/object/','Rectangle','putCollaborators','touchDependencies','HELLO','[SyncedState]:\x20received\x20acknowledgement.','enableOfflineEditing','message$','DEFAULT_WS_SESSION_TICKET_URL','AUTHZ_URL_KEY','ciphertext','FETCH_MISSING','BlockCipher','HEARTBEAT_INTERVAL_KEY','_createHandler','patch','\x0aAfter:\x20','revision','_replayCachedMutations','ivSize','_initMergeInterceptor','_getCtorByUniverType','LOGIN_URL_KEY','MentionIoHttpService','Latin1','YUUMI_NO_CUBOID_FOR_QUESTION','sequenceExecute','responseType','BASE64','[PendingState]:\x20unhandled\x20univer\x20type:\x20','onRemoteRetry','_clearTimeoutTimer','CollaborationSessionService','Cipher','_status$','/-/object/-/batch_allowed','reqId','CONNECTOR_DATA_TOO_LARGE','onTransformSelections','max','collabWebSocketUrl','Tools','COLLAB_WEB_SOCKET_URL','[CollaborationSessionService]','COMPRESS_MUTATION_SEND','&assign=','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','isTransformMutationsWithChangesetSuccess','_sender','conflict','EMAIL_HAS_BEEN_BOUND','OfflineState','session.room-not-exists','JOIN_ROOM_PERMISSION_DENIED','CompressMutationService','_collaborationUIEventService','_doProcessBlock','_data','onMissedChangesetFetched','sid','_onJoinRoomEvent','YUUMI_CONNECTOR_URL_NOT_FOUND','PERMISSION_REJ','_hash','LICENSE_IMPORT_SIZE_EXCEEDED','create','awaitingChangeset','function','_sendingTimer','roles','_getAPIPrefix','onCommandExecuted','_pendingMutations','socket$','length','_clearScheduledTask','AES','@univerjs/drawing','CHANGESET_SHOULD_RETRY','Encryptor','SheetPermissionInitController','dispose','_commandService','383876mokHkd','image/jpg','MOBILE_HAS_BEEN_BOUND','append','createCollaborator','collabSubmitChangesetUrl','CommandType','OPTIONAL','isTransformChangesetsSuccess','/block/','requireSession','_getCurrentRevision','[OfflineState]:\x20received\x20changeset.','HTTPService','transformStack\x20failed!','avatar','joinRsp','_getUndoStack','APPLY_PERMISSION_DENIED','m2Prime','SnapshotServerOverHTTPService','splice','_shouldReportTelemetry','_HTTPService','awaiting_with_pending','readInt32LE','&source=','Undefined','1473944hNgzpS','addHandlerCallback','_initCloseConn','_handlerCallback','_sheetTransformSelectionsService','add','[OfflineState]:\x20received\x20acknowledgement.','onStateChange','getUnit','toggleOnline','catch','[CollaborationEntity]','_iKey','Pkcs7','_rescheduleHeartbeat','[DataLoaderService]','/fetchmissing?from=','isInternalEditorID','CONFLICT','_scheduleCompleteTimestamp','result','[PendingState]:\x20received\x20acknowledgement.','subscribe','baseRev','eventID','replace','uuidv4','_clearHeartbeatTimer','refreshPermission','resend','1929480tMVJcN','_entityInit$','online$','_removeRoom','disableLocalCache','ONLINE','COMMENT_UPDATE','UniverInstanceType','_entities','close$','setCurrentUser','/rev/','HttpImport','delete','code','file','_instanceService','disposeWithMe','INGEST','AwaitingWithPendingState','unitInfo$','override','_substituteRedoStack','onRemoteRej','Could\x20not\x20dynamically\x20require\x20\x22','data','list','_applyRemoteChangeset','decryptBlock','image/jpeg','Hasher','onMissingChangesets','routeKey','mode','_snapshotService','_remoteChangesetQueue','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_socket','save\x20fail\x20reason\x20is\x20','mergeOverrideWithDependencies','status$','waitForRoom$','ENSURE_SNAPSHOT_EXECUTION','liveShareNewHost','_cipher','_onRecvEvent','_scheduleCollaborationTimeoutTimer','unsubscribe','allowed','_roomMembers','_config','RichTextEditingMutation','isArray','DisposableCollection','UserProfileImg','fetchThroughInterceptors','socketService','session.room-permission-denied','_initUnitPermissionChange','_doReset','socket\x20close','_eventService','UNAUTHENTICATED','APPLY_REVISION_CONFILICT','getUnitOnRev','reverse','@univerjs/core','AuthzIoHttpService','takeUntil','/universer-api/user/session-ticket','PY_RUNTIME_SCRIPT_ERROR','csRejEvent','mixIn','updateSnapshot','saveSheetBlock','COMPRESS_MUTATION_APPLY','generateRandomId','_sessions','_localeService','onRemoteAck','_injector','cfg','WECHAT_HAS_BEEN_BOUND','_getSendChangesetTimeout','CollaborationStatus','loginUrlKey','url','registerHTTPInterceptor','UniverCollaborationClientPlugin','HEARTBEAT_INTERVAL','_handler','getTime','_transformRemoteChangesetByIMECache','SYNCED','getUnitId','format','ws://127.0.0.1:8000/universer-api/comb/connect','UNISCRIPT_RUN','YUUMI_AI_RUN_FAILED','UnitEmbedded','offline','PendingState','copyFileMeta','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_startCollaboration','[CollaborationSession]','defineProperty','collaborators','_throwTelemetryCollaborationNewChangeset','WordArray','LICENSE_DISTRO_REJECTED','has','mutations','updateCursorEvent','_updateLocalCache','_lockTransition','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_getDownloadEndpointURL','[CollaborationUndoRedoService]','post','sin','LIVESHARE_REQUEST_HOST','INVALID_INVITE_CODE','batchAllowed','_substituteUndoStack','_transformStack','_changesetSessionId','hostname','_roomCreated$','/unit/','getFocusedUnit','POST','Base','dispose$','_socket$','CollaborationUIEventService','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','\x20in\x20_schedule.','__creator','CollaborationEvent','_acknowledgedAwaitingChangeset','_emitMembers','random','IConfigService','3fbHyAX','UnitSnapshot','CollaborationEntity','getCurrentRevOfUnit','_commentService','INVITE_CODE_REQUIRED','type','NOT_FOUND','_initDependencies','delay','stopTime','_getSignURL','Plugin','_replaceFileID','ITelemetryService','pad','Hex','[SyncedState]:\x20received\x20rejection.','onSyncEditingCollabCursor','LocaleService','_invKeySchedule','_awaitingChangeset','getOwnPropertyDescriptor','NOT_COLLAB','parseChangesetToProtocol','IUniverInstanceService','getWorkbookSelections','Decryptor','_commentUpdate$','ERROR_IMAGE','_decreaseWaiting','NoPadding','_initRequestHeader','auth.needGotoLoginAlert','location','resourceIDs','sessionStatus$','size','CLOSE_ROOM','appendMutation','_socketMessageSubscription','_members$','getResourcesRequest','_localCacheService','_minBufferSize','/universer-api/file/{fileID}/sign-url','rev','roomInfos','toggleOffline','JSONX','_toggleOnline','getCollabEntity$','RevisionService','transformSelections','finalize','MUTATION','send','createInstance','userID','words','updatePermissionPoint','session.join-failed','_toggleOffline','_hasher','fetchMiss','_init','objects','_collabSessionService','CHANGESET_REVISION_CONFILICT','_schedule','deserializeToCombResponse','getUnitStatus$','YUUMI_URL_COL_OUT_OF_RANGE','_getAPIPrefixPath','onTransformRemoteChangesetByIMECache','[CollaborationSessionService]:\x20socket\x20error','_event$','getImageSourceCache','_sendHeartbeatTimer','CollaborationSocketService','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','startTime','onTransformRemoteChangesetByStateCache','LocalUndoRedoService','SheetsSelectionsService','SEND_CHANGESET_TIMEOUT_KEY','COLLAB_SUBMIT_CHANGESET_URL','rxjs/operators','SOCKET_FAILED_RETRY','AWAITING_WITH_PENDING','_transformUndoredo','filter','EMAIL_VERIFY_CODE_MISMATCH','concat','PENDING','onTransformState','_singleActiveUnitService','executeCommand','forEach','_undoRedoService','includes','submit\x20changeset\x20error!','LIVESHARE_TERMINATE','?size=','onRemoteChangeset','update','RETRY_CONNECTING_MAX_COUNT_KEY','duration','c1Prime','OTHER_CLIENTS_EDITING','AwaitingState','EmptyMutation','snapshotServerUrl','updateOfflineData','infoRsp','FETCH_MISS','values','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','sheets','_process','mapDocumentTypeToUniverType','focused$','HTTPRequest','LIVESHARE_FETCH_OPERATIONS','_waitForHeartbeatResponse','MemberService','COLLAB_WEB_SOCKET_URL_KEY','compose','_startTelemetryCollaborationNewChangeset','&to=','get','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','ISnapshotServerService','SNAPSHOT_INVALID_SNAPSHOT','UNKNOWN_CODE','_fetchMissChangesets','/universer-api/comb','_transformStateCache','now','isTransformMutationsWithChangesetFailure','/collaborator','_onRemoteRejected','MOBILE_VERIFY_CODE_MISMATCH','onTransformIME','_registerDependencies','EvpKDF','ITransformService','_stopTelemetryCollaborationNewChangeset','/universer-api/stream/file/upload','set','state','JOINING','awaiting','UPDATE_PERMISSION_OBJ','SHA1','closeSession','_type','_change$','origin','close','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','CollaborationImageIoService','unitId','asObservable','SOCKET_FAILED','msCrypto','RxDisposable','hasher','loadDoc','failed\x20to\x20apply\x20missed\x20changesets!','clamp','_resendTimeout','key','unit-cache-','action','state$','encode','_networkConditionService','_timeoutTimer','onStarting','exports','_transitionLocked','INVALID_ARGUMENT','uploadFileServerUrl','UnitStatus','Base64','getMember','unpad','onSendChangeset','_syncEditingCollabCursor','push','confirm','range','requestParams','_prevBlock','SUCCUSS','subUnitId','IAuthzIoService','snapshot','_retryConnectingTimer','name','CollaborativeUndoRedoService','CollaborationSession','@univerjs/docs','memberID','APPLY_NON_SEQUENTIAL_REVISION','extend','b64DecodeUnicode','commentUpdateEvent','status','PSEUDO_FETCH_MISSING_RESULT','updatePermissionObjEvent','GLOBAL_ROOMS_CNT_EXCEEDS','ISocketService','deepClone','IDLE','_sessionStatus$','change$','SHOULD_CLOSE_CONN','/resources','createIdentifier','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_logService','toString','getSheetBlock','_clearUndo','_members','padding','_waitCount','algo','updateMember','_createInitialStateImpl','_resendWithTimeout','_xformMode','BehaviorSubject','textEncoder','_createInitialState','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','loadUnit','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','salt','_undoStacks','_onConflict','reject','INVITE_CODE_HAS_BEEN_UES','getGlobalObject','objectType','_resendTimer','workbook','objectActions'];_0x4dcd=function(){return _0x5f049f;};return _0x4dcd();}var Z=(_0x3223fd=>(_0x3223fd['OTHER_CLIENT_EDITING']=_0xb98a65(0x4aa),_0x3223fd['PERMISSION_DENIED']=_0xb98a65(0x45f),_0x3223fd[_0xb98a65(0x206)]=_0xb98a65(0x206),_0x3223fd[_0xb98a65(0x2c8)]=_0xb98a65(0x2c8),_0x3223fd['JOIN_ROOM_FAILED']=_0xb98a65(0x492),_0x3223fd[_0xb98a65(0x2fa)]=_0xb98a65(0x2fa),_0x3223fd[_0xb98a65(0x346)]='SOCKET_FAILED',_0x3223fd['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x3223fd))(Z||{});class ee{constructor(){var _0x1c7d50=_0xb98a65;A(this,'_event$',new $[(_0x1c7d50(0x3bd))]()),A(this,'event$',this[_0x1c7d50(0x2ee)][_0x1c7d50(0x345)]());}['emitEvent'](_0x3fb994){var _0x41da03=_0xb98a65;this[_0x41da03(0x2ee)]['next'](_0x3fb994);}}const mt=a[_0xb98a65(0x37e)](_0xb98a65(0x4a6));function Ct(_0x4488b5){var _0x30547e=_0xb98a65,_0x38ab50,_0x2ddb08,_0x330063,_0x36207b,_0x5dac76;const _0x1a9bdc=_0x4488b5[_0x30547e(0x22b)],_0x923533=JSON[_0x30547e(0x14b)](_0x1a9bdc);switch(_0x923533[_0x30547e(0x4ac)]){case W['HEARTBEAT']:case W[_0x30547e(0x189)]:{const _0x4d68db=_0x923533[_0x30547e(0x314)];return{..._0x923533,'data':_0x4d68db,'cmd':_0x923533['cmd']};}case W[_0x30547e(0x16e)]:{const _0x18f553=_0x923533[_0x30547e(0x1e8)];return{..._0x923533,'data':_0x18f553,'cmd':_0x923533['cmd']};}case W[_0x30547e(0x468)]:{const _0x3050e9=_0x923533['collaMsg'];switch(_0x3050e9[_0x30547e(0x20c)]){case p['CollaborationEvent'][_0x30547e(0x1c3)]:return{..._0x923533,'data':{..._0x3050e9,'data':(_0x38ab50=_0x3050e9[_0x30547e(0x147)])==null?void 0x0:_0x38ab50['cs']},'cmd':_0x923533[_0x30547e(0x4ac)]};case p['CollaborationEvent'][_0x30547e(0x152)]:return{..._0x923533,'data':{..._0x3050e9,'data':(_0x2ddb08=_0x3050e9[_0x30547e(0x14a)])==null?void 0x0:_0x2ddb08['cs']},'cmd':_0x923533[_0x30547e(0x4ac)]};case p[_0x30547e(0x29d)]['NEW_CHANGESETS']:return{..._0x923533,'data':{..._0x3050e9,'data':(_0x330063=_0x3050e9[_0x30547e(0x16c)])==null?void 0x0:_0x330063['cs']},'cmd':_0x923533['cmd']};case p[_0x30547e(0x29d)][_0x30547e(0x3be)]:return{..._0x923533,'data':{..._0x3050e9,'data':(_0x36207b=_0x3050e9[_0x30547e(0x259)])==null?void 0x0:_0x36207b['cs']},'cmd':_0x923533[_0x30547e(0x4ac)]};case p[_0x30547e(0x29d)][_0x30547e(0x1d3)]:return{..._0x923533,'data':{..._0x3050e9,'data':(_0x5dac76=_0x3050e9['csShouldRetryEvent'])==null?void 0x0:_0x5dac76['cs']},'cmd':_0x923533['cmd']};case p['CollaborationEvent'][_0x30547e(0x13e)]:return{..._0x923533,'data':{..._0x3050e9,'data':_0x3050e9[_0x30547e(0x283)]},'cmd':_0x923533['cmd']};case p['CollaborationEvent'][_0x30547e(0x181)]:return{..._0x923533,'data':{..._0x3050e9,'data':_0x3050e9[_0x30547e(0x43b)]},'cmd':_0x923533[_0x30547e(0x4ac)]};case p[_0x30547e(0x29d)][_0x30547e(0x49a)]:return{..._0x923533,'data':{..._0x3050e9,'data':_0x3050e9[_0x30547e(0x4c4)]},'cmd':_0x923533[_0x30547e(0x4ac)]};case p[_0x30547e(0x29d)][_0x30547e(0x3d0)]:return{..._0x923533,'data':{..._0x3050e9,'data':_0x3050e9['liveShareNewHost']},'cmd':_0x923533['cmd']};case p['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']:case p[_0x30547e(0x29d)][_0x30547e(0x3fc)]:return{..._0x923533,'data':{..._0x3050e9,'data':_0x3050e9['liveShareOperation']},'cmd':_0x923533[_0x30547e(0x4ac)]};case p[_0x30547e(0x29d)]['LIVESHARE_TERMINATE']:return{..._0x923533,'data':{..._0x3050e9,'data':_0x3050e9[_0x30547e(0x23d)]},'cmd':_0x923533['cmd']};case p[_0x30547e(0x29d)][_0x30547e(0x3f6)]:return{..._0x923533,'data':_0x3050e9,'cmd':_0x923533['cmd']};case p['CollaborationEvent'][_0x30547e(0x218)]:return{..._0x923533,'data':{..._0x3050e9,'data':_0x3050e9[_0x30547e(0x372)]},'cmd':_0x923533['cmd']};case p['CollaborationEvent'][_0x30547e(0x33b)]:return{..._0x923533,'data':{..._0x3050e9,'data':_0x3050e9[_0x30547e(0x375)]},'cmd':_0x923533['cmd']};case p[_0x30547e(0x29d)][_0x30547e(0x37c)]:return{..._0x923533,'data':{..._0x3050e9,'data':_0x3050e9[_0x30547e(0x4bc)]},'cmd':_0x923533[_0x30547e(0x4ac)]};case p['CollaborationEvent'][_0x30547e(0x273)]:return{..._0x923533,'data':{..._0x3050e9,'data':_0x3050e9[_0x30547e(0x4c6)]},'cmd':_0x923533['cmd']};default:return _0x923533;}}default:return _0x923533;}}function Tt(_0x307e80){var _0x44dee2=_0xb98a65;switch(_0x307e80['cmd']){case W[_0x44dee2(0x4ae)]:case W[_0x44dee2(0x189)]:return JSON[_0x44dee2(0x4a4)]({'cmd':_0x307e80[_0x44dee2(0x4ac)],'routeKey':_0x307e80[_0x44dee2(0x232)]});case W['INGEST']:{let _0x243b0d;switch(_0x307e80[_0x44dee2(0x22b)][_0x44dee2(0x20c)]){case p[_0x44dee2(0x29d)][_0x44dee2(0x13e)]:{_0x243b0d={'eventID':p[_0x44dee2(0x29d)][_0x44dee2(0x13e)],'updateCursorEvent':_0x307e80[_0x44dee2(0x22b)][_0x44dee2(0x22b)]};break;}case p[_0x44dee2(0x29d)]['USERS_LEAVE']:{_0x243b0d={'eventID':p['CollaborationEvent']['USERS_LEAVE'],'leaveEvent':_0x307e80[_0x44dee2(0x22b)]['data']};break;}case p[_0x44dee2(0x29d)][_0x44dee2(0x181)]:{_0x243b0d={'eventID':p[_0x44dee2(0x29d)][_0x44dee2(0x181)],'joinEvent':_0x307e80[_0x44dee2(0x22b)][_0x44dee2(0x22b)]};break;}case p['CollaborationEvent'][_0x44dee2(0x3d0)]:{_0x243b0d={'eventID':p['CollaborationEvent']['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x307e80['data'][_0x44dee2(0x22b)]};break;}case p[_0x44dee2(0x29d)][_0x44dee2(0x3fc)]:{_0x243b0d={'eventID':p[_0x44dee2(0x29d)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x307e80[_0x44dee2(0x22b)][_0x44dee2(0x22b)]};break;}case p[_0x44dee2(0x29d)][_0x44dee2(0x308)]:{_0x243b0d={'eventID':p['CollaborationEvent'][_0x44dee2(0x308)],'liveShareTerminate':_0x307e80[_0x44dee2(0x22b)]['data']};break;}case p['CollaborationEvent']['LIVESHARE_REQUEST_HOST']:{_0x243b0d={'eventID':p['CollaborationEvent'][_0x44dee2(0x28b)],'liveShareRequestHost':_0x307e80[_0x44dee2(0x22b)][_0x44dee2(0x22b)]};break;}case p[_0x44dee2(0x29d)][_0x44dee2(0x31d)]:{_0x243b0d={'eventID':p['CollaborationEvent'][_0x44dee2(0x31d)]};break;}default:_0x243b0d={'eventID':_0x307e80['data']['eventID']};}return JSON[_0x44dee2(0x4a4)]({'cmd':_0x307e80['cmd'],'routeKey':_0x307e80[_0x44dee2(0x232)],'collaMsg':_0x243b0d});}case W['JOIN']:return JSON[_0x44dee2(0x4a4)]({'cmd':_0x307e80[_0x44dee2(0x4ac)],'routeKey':_0x307e80[_0x44dee2(0x232)],'joinReq':_0x307e80[_0x44dee2(0x22b)]});case W[_0x44dee2(0x455)]:return JSON[_0x44dee2(0x4a4)]({'cmd':_0x307e80[_0x44dee2(0x4ac)],'routeKey':_0x307e80[_0x44dee2(0x232)],'leaveReq':_0x307e80[_0x44dee2(0x22b)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var qt=Object[_0xb98a65(0x2b8)],zt=(_0x564b6d,_0x28a06d,_0x18c4ea,_0x29e010)=>{for(var _0x137cbf=_0x29e010>0x1?void 0x0:_0x29e010?qt(_0x28a06d,_0x18c4ea):_0x28a06d,_0x366b97=_0x564b6d['length']-0x1,_0x4366b0;_0x366b97>=0x0;_0x366b97--)(_0x4366b0=_0x564b6d[_0x366b97])&&(_0x137cbf=_0x4366b0(_0x137cbf)||_0x137cbf);return _0x137cbf;},_e=(_0x19e8dc,_0x497a50)=>(_0x5ba233,_0x2b60df)=>_0x497a50(_0x5ba233,_0x2b60df,_0x19e8dc);const He=a[_0xb98a65(0x37e)](_0xb98a65(0x142));function Jt(_0x3f1cd1,_0x1ffbd6,_0x3085f3){var _0x3e8261=_0xb98a65;return _0x3f1cd1+'/'+_0x1ffbd6+_0x3e8261(0x293)+_0x3085f3+'/new_changes';}exports[_0xb98a65(0x2f1)]=class extends a[_0xb98a65(0x43d)]{constructor(_0x36c886,_0x26f6c7,_0x58acc7,_0x3b09af,_0x5352b0){var _0x4e1381=_0xb98a65;super(),this[_0x4e1381(0x262)]=_0x36c886,this['_httpService']=_0x26f6c7,this[_0x4e1381(0x434)]=_0x58acc7,this[_0x4e1381(0x380)]=_0x3b09af,this[_0x4e1381(0x449)]=_0x5352b0;}[_0xb98a65(0x159)](_0x1f67f2){var _0x4942bb=_0xb98a65;const _0x525f4b=this[_0x4942bb(0x262)][_0x4942bb(0x324)](K[_0x4942bb(0x377)]);if(!_0x525f4b)throw new Error(_0x4942bb(0x342));const _0x10eb90=_0x525f4b[_0x4942bb(0x17e)](_0x1f67f2);if(!_0x10eb90)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x494bfe=new a[(_0x4942bb(0x247))](),_0x47a01f=new $['Subject']();_0x494bfe['add'](_0x10eb90[_0x4942bb(0x21b)][_0x4942bb(0x20a)](_0x30b0e7=>_0x47a01f[_0x4942bb(0x3a3)](_0x30b0e7))),_0x494bfe[_0x4942bb(0x1f9)](a['toDisposable'](()=>_0x47a01f['complete']()));const _0x4cf53e=new $[(_0x4942bb(0x3bd))]();_0x494bfe[_0x4942bb(0x1f9)](_0x10eb90[_0x4942bb(0x406)][_0x4942bb(0x20a)](_0x1bfd2b=>_0x4cf53e[_0x4942bb(0x3a3)](_0x1bfd2b))),_0x494bfe[_0x4942bb(0x1f9)](a[_0x4942bb(0x478)](()=>_0x4cf53e[_0x4942bb(0x4b7)]()));const _0x3f3227=new $[(_0x4942bb(0x3bd))]();_0x494bfe[_0x4942bb(0x1f9)](_0x10eb90[_0x4942bb(0x18c)]['subscribe'](_0x51aa34=>{var _0x2f8019=_0x4942bb;const _0x29fa46=Ct(_0x51aa34);_0x3f3227[_0x2f8019(0x3a3)](_0x29fa46);})),_0x494bfe[_0x4942bb(0x1f9)](a[_0x4942bb(0x478)](()=>_0x3f3227[_0x4942bb(0x4b7)]()));let _0x2bf479;const _0x3d157e=()=>{var _0x686b20=_0x4942bb;_0x4cf53e[_0x686b20(0x3a3)](new Event('connection\x20error')),_0x47a01f[_0x686b20(0x3a3)](new Event(_0x686b20(0x3c4))),_0x2bf479[_0x686b20(0x341)]();};return _0x2bf479={'memberID':'','close$':_0x47a01f[_0x4942bb(0x345)](),'error$':_0x4cf53e['asObservable'](),'open$':_0x10eb90[_0x4942bb(0x180)],'message$':_0x3f3227[_0x4942bb(0x345)](),'send':_0x55d047=>{var _0x408587=_0x4942bb;if(_0x55d047['cmd']===W[_0x408587(0x224)]){if(_0x55d047['data'][_0x408587(0x20c)]===p['CollaborationEvent']['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x2bf479,_0x55d047['data'])['catch'](_0x208776=>{var _0x22ce74=_0x408587;this[_0x22ce74(0x380)]['error'](_0x208776),_0x3d157e();});return;}if(_0x55d047[_0x408587(0x22b)][_0x408587(0x20c)]===p[_0x408587(0x29d)][_0x408587(0x190)]){const _0xad5c61=_0x55d047['data'];this['_fetchMissChangesets'](_0xad5c61)[_0x408587(0x3ca)](_0x1fd5fa=>{var _0x1e2005=_0x408587;_0x3f3227[_0x1e2005(0x3a3)]({'cmd':W[_0x1e2005(0x468)],'code':oe['OK'],'routeKey':_0xad5c61[_0x1e2005(0x22b)]['unitID'],'routeType':'','data':{'eventID':p[_0x1e2005(0x29d)][_0x1e2005(0x374)],'data':{'changesets':_0x1fd5fa}}});})[_0x408587(0x1fe)](_0x22aa75=>{var _0x505c9d=_0x408587;this[_0x505c9d(0x380)][_0x505c9d(0x3b4)](_0x22aa75),_0x3d157e();});return;}}_0x10eb90[_0x408587(0x2da)](Tt(_0x55d047));},'close':()=>{var _0x413af3=_0x4942bb;_0x10eb90[_0x413af3(0x341)](),_0x494bfe['dispose']();}},_0x2bf479;}async['_submitChangeset'](_0xa18721,_0x5ea8e6){var _0x2567c6=_0xb98a65,_0xd9061a,_0x54b811;const {unitType:_0x35c4d9,unitID:_0x22945d,changeset:_0x38b6d5}=_0x5ea8e6[_0x2567c6(0x22b)],_0x2b318e={'unitID':_0x22945d,'memberID':_0xa18721[_0x2567c6(0x36e)],'type':_0x35c4d9,'changeset':p[_0x2567c6(0x2ba)](_0x38b6d5)},_0x74a5c7=this['_configService']['getConfig'](It),_0x198c9d=this[_0x2567c6(0x434)][_0x2567c6(0x3e6)](G),_0x1c049c=Jt((_0x54b811=(_0xd9061a=_0x198c9d==null?void 0x0:_0x198c9d[_0x2567c6(0x1dd)])!=null?_0xd9061a:_0x74a5c7)!=null?_0x54b811:Vt,_0x35c4d9,_0x22945d);try{await this[_0x2567c6(0x3b5)][_0x2567c6(0x289)](_0x1c049c,{'body':_0x2b318e});}catch(_0x43c762){throw this[_0x2567c6(0x380)][_0x2567c6(0x3b4)](_0x2567c6(0x27b),_0x2567c6(0x307)),_0x43c762;}}async[_0xb98a65(0x329)](_0x1dc25c){var _0x55fc61=_0xb98a65;const {unitID:_0x33777e,from:_0x157d53,to:_0x1332e6,unitType:_0x1626e2}=_0x1dc25c[_0x55fc61(0x22b)];return(await this[_0x55fc61(0x449)][_0x55fc61(0x4bd)]({'metadata':void 0x0},{'unitID':_0x33777e,'type':_0x1626e2,'from':_0x157d53,'to':_0x1332e6}))[_0x55fc61(0x15e)];}},exports[_0xb98a65(0x2f1)]=zt([_e(0x0,a[_0xb98a65(0x42e)](a[_0xb98a65(0x39f)])),_e(0x1,a['Inject'](K[_0xb98a65(0x1e5)])),_e(0x2,a[_0xb98a65(0x2a1)]),_e(0x3,a[_0xb98a65(0x423)]),_e(0x4,p['ISnapshotServerService'])],exports['CollaborationSocketService']);const Xt=_0xb98a65(0x464);function Zt(_0x332244){var _0x5e4665=_0xb98a65;return JSON['stringify'](_0x332244)[_0x5e4665(0x1cf)];}class $e{constructor(){var _0x1e3876=_0xb98a65;A(this,_0x1e3876(0x2be),new $[(_0x1e3876(0x3bd))]()),A(this,_0x1e3876(0x175),this[_0x1e3876(0x2be)]['asObservable']());}[_0xb98a65(0x144)](_0x44f07){var _0x405241=_0xb98a65;this[_0x405241(0x2be)][_0x405241(0x3a3)](_0x44f07);}}var Qt=Object['getOwnPropertyDescriptor'],ei=(_0x4e7d9d,_0xa35b0b,_0x4a36e7,_0x227c7d)=>{var _0x4c7841=_0xb98a65;for(var _0x28ed74=_0x227c7d>0x1?void 0x0:_0x227c7d?Qt(_0xa35b0b,_0x4a36e7):_0xa35b0b,_0x481606=_0x4e7d9d[_0x4c7841(0x1cf)]-0x1,_0x1a9325;_0x481606>=0x0;_0x481606--)(_0x1a9325=_0x4e7d9d[_0x481606])&&(_0x28ed74=_0x1a9325(_0x28ed74)||_0x28ed74);return _0x28ed74;},We=(_0x898c6a,_0x2589fc)=>(_0x5ade82,_0x4d461a)=>_0x2589fc(_0x5ade82,_0x4d461a,_0x898c6a);exports[_0xb98a65(0x31f)]=class extends a[_0xb98a65(0x43d)]{constructor(_0x474bd9,_0x5c758b){var _0x1cde6d=_0xb98a65;super(),A(this,_0x1cde6d(0x243),new Map()),A(this,_0x1cde6d(0x292),new $[(_0x1cde6d(0x3bd))]()),(this[_0x1cde6d(0x4c9)]=_0x474bd9,this[_0x1cde6d(0x40c)]=_0x5c758b,this[_0x1cde6d(0x223)]($[_0x1cde6d(0x3f9)](this[_0x1cde6d(0x4c9)][_0x1cde6d(0x3eb)](a[_0x1cde6d(0x219)][_0x1cde6d(0x42b)])[_0x1cde6d(0x490)](V[_0x1cde6d(0x442)](_0x262ba2=>_0x262ba2[_0x1cde6d(0x270)]())),this[_0x1cde6d(0x4c9)][_0x1cde6d(0x3eb)](a['UniverInstanceType'][_0x1cde6d(0x153)])['pipe'](V[_0x1cde6d(0x442)](_0x37a298=>_0x37a298[_0x1cde6d(0x270)]())),this[_0x1cde6d(0x4c9)][_0x1cde6d(0x3eb)](a[_0x1cde6d(0x219)][_0x1cde6d(0x47a)])[_0x1cde6d(0x490)](V[_0x1cde6d(0x442)](_0x39c33a=>_0x39c33a[_0x1cde6d(0x270)]())))[_0x1cde6d(0x20a)](_0x30e4af=>this[_0x1cde6d(0x215)](_0x30e4af))));}[_0xb98a65(0x23b)](_0x59f876){var _0x3da291=_0xb98a65;return this[_0x3da291(0x243)][_0x3da291(0x281)](_0x59f876)?$['of'](this[_0x3da291(0x243)][_0x3da291(0x324)](_0x59f876)):this[_0x3da291(0x292)][_0x3da291(0x490)](V[_0x3da291(0x442)](_0x5726ac=>{var _0x1c175e=_0x3da291;if(_0x5726ac===_0x59f876)return this[_0x1c175e(0x243)][_0x1c175e(0x324)](_0x5726ac);}));}['setCurrentUser'](_0x24e0d9){var _0x48cf8c=_0xb98a65;this['_userManagerService'][_0x48cf8c(0x21c)](_0x24e0d9);}[_0xb98a65(0x4c3)](){var _0x31ed4e=_0xb98a65;return this[_0x31ed4e(0x40c)][_0x31ed4e(0x4c3)]();}[_0xb98a65(0x388)](_0x18061d,_0x3eb100){var _0x4dcce0=_0xb98a65;let _0x59b12e=this[_0x4dcce0(0x243)][_0x4dcce0(0x324)](_0x18061d);_0x59b12e||(_0x59b12e=new ti(),this[_0x4dcce0(0x243)]['set'](_0x18061d,_0x59b12e),this[_0x4dcce0(0x292)][_0x4dcce0(0x3a3)](_0x18061d)),_0x59b12e['updateMember'](_0x3eb100);}[_0xb98a65(0x40b)](_0x4a697a,_0x37f7d7){var _0x171514=_0xb98a65;const _0x5c98af=this[_0x171514(0x243)]['get'](_0x4a697a);_0x5c98af&&_0x5c98af[_0x171514(0x40b)](_0x37f7d7);}[_0xb98a65(0x420)](_0x3e4776){var _0x46d9ee=_0xb98a65;return this[_0x46d9ee(0x243)]['get'](_0x3e4776);}[_0xb98a65(0x35c)](_0x2a90b3,_0x53b8cd){var _0x231ba9=_0xb98a65;const _0x140c6f=this['_roomMembers'][_0x231ba9(0x324)](_0x2a90b3);if(_0x140c6f)return _0x140c6f[_0x231ba9(0x35c)](_0x53b8cd);}[_0xb98a65(0x215)](_0xae1d19){var _0x29c03c=_0xb98a65;const _0x52f9ef=this[_0x29c03c(0x243)][_0x29c03c(0x324)](_0xae1d19);_0x52f9ef&&(_0x52f9ef[_0x29c03c(0x1d6)](),this[_0x29c03c(0x243)][_0x29c03c(0x21f)](_0xae1d19));}[_0xb98a65(0x1d6)](){var _0x278816=_0xb98a65;this[_0x278816(0x243)][_0x278816(0x304)](_0x427341=>_0x427341['dispose']()),this['_roomMembers']['clear'](),this[_0x278816(0x292)][_0x278816(0x4b7)]();}},exports[_0xb98a65(0x31f)]=ei([We(0x0,a[_0xb98a65(0x2bb)]),We(0x1,a[_0xb98a65(0x42e)](a[_0xb98a65(0x471)]))],exports['MemberService']);class ti extends a['Disposable']{constructor(){var _0x425d85=_0xb98a65;super(...arguments),A(this,_0x425d85(0x384),new Map()),A(this,_0x425d85(0x2cb),new $[(_0x425d85(0x38c))](this[_0x425d85(0x384)])),A(this,'members$',this[_0x425d85(0x2cb)][_0x425d85(0x345)]());}[_0xb98a65(0x1d6)](){var _0x5eae51=_0xb98a65;this[_0x5eae51(0x384)][_0x5eae51(0x48a)]();}[_0xb98a65(0x388)](_0x58d9ed){var _0x13ca5e=_0xb98a65;this[_0x13ca5e(0x384)][_0x13ca5e(0x337)](_0x58d9ed[_0x13ca5e(0x36e)],_0x58d9ed),this[_0x13ca5e(0x29f)]();}[_0xb98a65(0x40b)](_0x5646fd){var _0x3ea78d=_0xb98a65;this[_0x3ea78d(0x384)][_0x3ea78d(0x21f)](_0x5646fd);}[_0xb98a65(0x35c)](_0x148629){var _0x17f17c=_0xb98a65;return this[_0x17f17c(0x384)]['get'](_0x148629);}['getAllMembers'](){var _0x19ab4a=_0xb98a65;return Array['from'](this[_0x19ab4a(0x384)][_0x19ab4a(0x316)]());}['_emitMembers'](){var _0x43ecbb=_0xb98a65;this[_0x43ecbb(0x2cb)]['next'](this[_0x43ecbb(0x384)]);}}var ii=Object[_0xb98a65(0x2b8)],ni=(_0x2f6d8b,_0x149afd,_0x37b123,_0x27c88b)=>{var _0x269896=_0xb98a65;for(var _0x2285ca=_0x27c88b>0x1?void 0x0:_0x27c88b?ii(_0x149afd,_0x37b123):_0x149afd,_0x25b8ef=_0x2f6d8b[_0x269896(0x1cf)]-0x1,_0x3fbbe8;_0x25b8ef>=0x0;_0x25b8ef--)(_0x3fbbe8=_0x2f6d8b[_0x25b8ef])&&(_0x2285ca=_0x3fbbe8(_0x2285ca)||_0x2285ca);return _0x2285ca;},se=(_0x3fddc1,_0x20e550)=>(_0x14b076,_0x1dcdbc)=>_0x20e550(_0x14b076,_0x1dcdbc,_0x3fddc1),re=(_0x43f3a5=>(_0x43f3a5[_0x43f3a5[_0xb98a65(0x379)]=0x0]=_0xb98a65(0x379),_0x43f3a5[_0x43f3a5[_0xb98a65(0x339)]=0x1]=_0xb98a65(0x339),_0x43f3a5[_0x43f3a5['OFFLINE']=0x2]=_0xb98a65(0x416),_0x43f3a5[_0x43f3a5[_0xb98a65(0x217)]=0x3]='ONLINE',_0x43f3a5))(re||{});const Ye={[oe[_0xb98a65(0x3ae)]]:_0xb98a65(0x2df),[oe[_0xb98a65(0x426)]]:'session.room-full',[oe[_0xb98a65(0x3cd)]]:_0xb98a65(0x1b9),[oe[_0xb98a65(0x1ba)]]:_0xb98a65(0x24b),[oe[_0xb98a65(0x376)]]:'session.room-cnt-exceeds'};exports[_0xb98a65(0x36c)]=class extends a[_0xb98a65(0x348)]{constructor(_0x168361,_0x110148,_0x5fccf6,_0x1a733d,_0x55b609,_0xe8f5d9,_0x3a853c,_0x3f1821,_0x3c414e){var _0x590b30=_0xb98a65;super(),A(this,'_sessionStatus$',new $[(_0x590b30(0x38c))](0x0)),A(this,'sessionStatus$',this[_0x590b30(0x37a)][_0x590b30(0x345)]()),A(this,'_event$',new $[(_0x590b30(0x3bd))]()),A(this,_0x590b30(0x3db),this[_0x590b30(0x2ee)][_0x590b30(0x345)]()),A(this,_0x590b30(0x237)),A(this,'_socketMessageSubscription'),A(this,_0x590b30(0x3f4)),A(this,'_shouldReportTelemetry',!0x1),A(this,_0x590b30(0x3e2),null),(this['_unitID']=_0x168361,this[_0x590b30(0x380)]=_0x5fccf6,this[_0x590b30(0x434)]=_0x1a733d,this[_0x590b30(0x260)]=_0x55b609,this['_memberService']=_0xe8f5d9,this[_0x590b30(0x2a6)]=_0x3a853c,this['_collaborationUIEventService']=_0x3f1821,this[_0x590b30(0x4a8)]=_0x3c414e,this[_0x590b30(0x1ee)]=!!this[_0x590b30(0x4a8)],_0x110148[_0x590b30(0x490)]($[_0x590b30(0x256)](this[_0x590b30(0x297)]))['subscribe'](_0x43ec43=>{var _0x276b9e=_0x590b30,_0x2f644;typeof _0x43ec43>'u'||(this[_0x276b9e(0x237)]=_0x43ec43,_0x43ec43?(this['_joinRoom'](_0x43ec43),this['_socketMessageSubscription']=_0x43ec43[_0x276b9e(0x18c)]['subscribe'](_0x437447=>{var _0x347bdc=_0x276b9e;_0x437447['routeKey']===this[_0x347bdc(0x414)]&&this[_0x347bdc(0x4ad)](_0x437447);})):(this[_0x276b9e(0x27e)](),this[_0x276b9e(0x37a)]['next'](0x2),(_0x2f644=this[_0x276b9e(0x2ca)])==null||_0x2f644[_0x276b9e(0x241)](),this[_0x276b9e(0x2ca)]=null));}));}get['sessionStatus'](){var _0x45297a=_0xb98a65;return this[_0x45297a(0x37a)]['getValue']();}['getMemberID'](){var _0x321806=_0xb98a65,_0x5c7dfb,_0x39ec15;return(_0x39ec15=(_0x5c7dfb=this[_0x321806(0x237)])==null?void 0x0:_0x5c7dfb[_0x321806(0x36e)])!=null?_0x39ec15:null;}[_0xb98a65(0x1d6)](){var _0x32a97a=_0xb98a65;super[_0x32a97a(0x1d6)](),this['dispose$'][_0x32a97a(0x3a3)](),this['dispose$'][_0x32a97a(0x4b7)]();}[_0xb98a65(0x341)](){var _0x1c2216=_0xb98a65,_0x5e1030,_0x1d1b5c;this[_0x1c2216(0x27e)](),(_0x5e1030=this[_0x1c2216(0x237)])==null||_0x5e1030[_0x1c2216(0x2da)]({'cmd':W[_0x1c2216(0x455)],'data':{'roomID':this[_0x1c2216(0x414)]}}),(_0x1d1b5c=this[_0x1c2216(0x237)])==null||_0x1d1b5c[_0x1c2216(0x341)](),this[_0x1c2216(0x2ee)][_0x1c2216(0x4b7)](),this[_0x1c2216(0x37a)][_0x1c2216(0x4b7)](),this['dispose']();}[_0xb98a65(0x4ad)](_0x539034){var _0x5a4b9c=_0xb98a65;_0x539034[_0x5a4b9c(0x4ac)]===W[_0x5a4b9c(0x16e)]?this[_0x5a4b9c(0x1c1)](_0x539034):_0x539034[_0x5a4b9c(0x4ac)]===W['RECV']&&this['_onRecvEvent'](_0x539034);}['_joinRoom'](_0xc54eaf){var _0x3d2450=_0xb98a65;this[_0x3d2450(0x37a)]['next'](0x1),_0xc54eaf['send']({'cmd':W['JOIN'],'routeKey':this[_0x3d2450(0x414)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3d2450(0x414)]}]}});}[_0xb98a65(0x1c1)](_0xc40e78){var _0x430b40=_0xb98a65,_0x8c3dee;if(_0xc40e78['code']in Ye){this['_collaborationUIEventService'][_0x430b40(0x47c)]({'id':Z[_0x430b40(0x492)],'data':Ye[_0xc40e78['code']]}),this[_0x430b40(0x37a)][_0x430b40(0x3a3)](0x2);return;}this[_0x430b40(0x37a)][_0x430b40(0x3a3)](0x3);const _0x47fcca=(_0x8c3dee=_0xc40e78['data'][_0x430b40(0x2d1)][this[_0x430b40(0x414)]])==null?void 0x0:_0x8c3dee['members'];_0x47fcca&&_0x47fcca[_0x430b40(0x304)](_0x2c8a76=>this['_memberService'][_0x430b40(0x388)](this[_0x430b40(0x414)],_0x2c8a76));}[_0xb98a65(0x23f)](_0xda7de4){var _0x2652c5=_0xb98a65;try{const _0x4f92ff=_0xda7de4[_0x2652c5(0x22b)];switch(_0x4f92ff['eventID']){case p[_0x2652c5(0x29d)]['USERS_ENTER']:this[_0x2652c5(0x14d)](_0x4f92ff),this['_event$'][_0x2652c5(0x3a3)](_0x4f92ff);break;case p[_0x2652c5(0x29d)]['USERS_LEAVE']:this['_onUserLeave'](_0x4f92ff),this['_event$']['next'](_0x4f92ff);break;case p[_0x2652c5(0x29d)][_0x2652c5(0x152)]:case p['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:this[_0x2652c5(0x335)](),this['_clearCollaborationTimeoutTimer'](),this[_0x2652c5(0x2ee)][_0x2652c5(0x3a3)](_0x4f92ff);break;case p[_0x2652c5(0x29d)][_0x2652c5(0x3f6)]:this[_0x2652c5(0x380)][_0x2652c5(0x3b4)](_0x2652c5(0x238)+JSON[_0x2652c5(0x4a4)](_0x4f92ff)),this[_0x2652c5(0x2ee)]['next'](_0x4f92ff);break;case p['CollaborationEvent']['COMMENT_UPDATE']:this['_commentService'][_0x2652c5(0x144)](_0x4f92ff[_0x2652c5(0x22b)]),this[_0x2652c5(0x2ee)][_0x2652c5(0x3a3)](_0x4f92ff);break;default:this['_event$'][_0x2652c5(0x3a3)](_0x4f92ff);}}catch(_0x2db2bb){this[_0x2652c5(0x380)]['error'](_0x2db2bb,_0xda7de4);}}['_onUserJoin'](_0x3343a0){var _0x263288=_0xb98a65;this['_memberService'][_0x263288(0x388)](this[_0x263288(0x414)],_0x3343a0[_0x263288(0x22b)]);}[_0xb98a65(0x3cc)](_0x1f18a7){var _0x290611=_0xb98a65;this[_0x290611(0x418)][_0x290611(0x40b)](this[_0x290611(0x414)],_0x1f18a7['data']['memberID']);}async['send'](_0x2533aa,_0x273c5f){var _0x3fbe40=_0xb98a65;if(this[_0x3fbe40(0x3b2)]!==0x3||!this[_0x3fbe40(0x237)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x2533aa[_0x3fbe40(0x20c)]===p[_0x3fbe40(0x29d)][_0x3fbe40(0x45a)]&&(this[_0x3fbe40(0x240)](),this[_0x3fbe40(0x322)](_0x2533aa)),this['_socket'][_0x3fbe40(0x2da)]({'cmd':W['INGEST'],'routeKey':_0x273c5f,'routeType':'','data':_0x2533aa});}catch(_0x25b9ed){this['_logService'][_0x3fbe40(0x3b4)](_0x25b9ed);}}[_0xb98a65(0x240)](){var _0x23edb6=_0xb98a65,_0x52a266;this[_0x23edb6(0x3f4)]=setTimeout(()=>{var _0x1dde5d=_0x23edb6;this[_0x1dde5d(0x3f4)]=null,this['_collaborationUIEventService'][_0x1dde5d(0x47c)]({'id':Z[_0x1dde5d(0x41b)]});},(_0x52a266=this[_0x23edb6(0x434)][_0x23edb6(0x3e6)](ke))!=null?_0x52a266:St);}[_0xb98a65(0x156)](){var _0x3cac6b=_0xb98a65;this[_0x3cac6b(0x3f4)]&&(clearTimeout(this[_0x3cac6b(0x3f4)]),this[_0x3cac6b(0x3f4)]=null);}[_0xb98a65(0x322)](_0x487f13){var _0x125d81=_0xb98a65;if(!this[_0x125d81(0x1ee)])return;const {data:_0x4e509d}=_0x487f13,{unitID:_0x24ec30,changeset:_0x502130}=_0x4e509d,{mutations:_0x16ad81,type:_0x251d2a}=_0x502130;this['_telemetryInfo']={'unitId':_0x24ec30,'type':_0x251d2a,'startTime':performance[_0x125d81(0x32c)](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x16ad81)};}[_0xb98a65(0x335)](){var _0x327f22=_0xb98a65;if(this['_shouldReportTelemetry']){if(!this[_0x327f22(0x3e2)]){this[_0x327f22(0x380)][_0x327f22(0x3b4)](_0x327f22(0x27b),_0x327f22(0x3c2));return;}this['_telemetryInfo']['stopTime']=performance[_0x327f22(0x32c)](),this[_0x327f22(0x3e2)][_0x327f22(0x30d)]=this['_telemetryInfo'][_0x327f22(0x2ac)]-this[_0x327f22(0x3e2)][_0x327f22(0x2f3)],this[_0x327f22(0x4a8)][_0x327f22(0x178)](Xt,this[_0x327f22(0x3e2)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x395d74=_0xb98a65;this[_0x395d74(0x3e2)]=null;}},exports[_0xb98a65(0x36c)]=ni([se(0x2,a[_0xb98a65(0x423)]),se(0x3,a[_0xb98a65(0x2a1)]),se(0x4,a[_0xb98a65(0x42e)](a['LocaleService'])),se(0x5,a[_0xb98a65(0x42e)](exports[_0xb98a65(0x31f)])),se(0x6,a[_0xb98a65(0x42e)]($e)),se(0x7,a[_0xb98a65(0x42e)](ee)),se(0x8,a['Optional'](Pt[_0xb98a65(0x2b0)]))],exports['CollaborationSession']);var ri=Object[_0xb98a65(0x2b8)],si=(_0xddc051,_0x1f0634,_0x463e18,_0x665eda)=>{var _0x2ddd96=_0xb98a65;for(var _0x2c0991=_0x665eda>0x1?void 0x0:_0x665eda?ri(_0x1f0634,_0x463e18):_0x1f0634,_0x1074a8=_0xddc051[_0x2ddd96(0x1cf)]-0x1,_0x30c377;_0x1074a8>=0x0;_0x1074a8--)(_0x30c377=_0xddc051[_0x1074a8])&&(_0x2c0991=_0x30c377(_0x2c0991)||_0x2c0991);return _0x2c0991;},he=(_0x32895e,_0x2b11a7)=>(_0x5b79b5,_0x1925c9)=>_0x2b11a7(_0x5b79b5,_0x1925c9,_0x32895e);exports[_0xb98a65(0x1a5)]=class extends a['Disposable']{constructor(_0x5295f4,_0x5f1355,_0x55eaac,_0x10aaa6,_0x28529e,_0x2dd454){var _0x53cbdd=_0xb98a65;super(),A(this,'_socket$',new $['BehaviorSubject'](void 0x0)),A(this,_0x53cbdd(0x1ce),this[_0x53cbdd(0x298)][_0x53cbdd(0x345)]()),A(this,_0x53cbdd(0x454),null),A(this,'_sessions',new Map()),A(this,_0x53cbdd(0x1a7),new $[(_0x53cbdd(0x38c))](re[_0x53cbdd(0x379)])),A(this,'status$',this[_0x53cbdd(0x1a7)][_0x53cbdd(0x345)]()),A(this,'_socketReady',!0x1),A(this,'_retryConnectingTimer'),A(this,_0x53cbdd(0x158),0x0),A(this,_0x53cbdd(0x2f0)),A(this,_0x53cbdd(0x354)),(this[_0x53cbdd(0x262)]=_0x5295f4,this[_0x53cbdd(0x380)]=_0x5f1355,this[_0x53cbdd(0x434)]=_0x55eaac,this[_0x53cbdd(0x3cb)]=_0x10aaa6,this[_0x53cbdd(0x1bc)]=_0x28529e,this[_0x53cbdd(0x353)]=_0x2dd454,this[_0x53cbdd(0x3e3)]());}get[_0xb98a65(0x237)](){var _0x5494d7=_0xb98a65;return this[_0x5494d7(0x298)][_0x5494d7(0x4c0)]();}[_0xb98a65(0x3e3)](){var _0x229b4a=_0xb98a65;this[_0x229b4a(0x353)]&&this[_0x229b4a(0x223)](this['_networkConditionService'][_0x229b4a(0x214)]['subscribe'](_0x1aafab=>{var _0x12f8c2=_0x229b4a;_0x1aafab&&!this['_socket']&&this[_0x12f8c2(0x3b1)](),_0x1aafab||this[_0x12f8c2(0x151)]();}));}[_0xb98a65(0x1d6)](){var _0x1e1335=_0xb98a65;super[_0x1e1335(0x1d6)](),this[_0x1e1335(0x3c7)](),this[_0x1e1335(0x1a4)](),this[_0x1e1335(0x20f)](),this['_sessions']['forEach'](_0xdfdea3=>_0xdfdea3[_0x1e1335(0x1d6)]()),this[_0x1e1335(0x25f)][_0x1e1335(0x48a)](),this[_0x1e1335(0x1a7)][_0x1e1335(0x4b7)]();}async['requireSession'](_0x35136c){var _0x46a877=_0xb98a65;if(this[_0x46a877(0x25f)][_0x46a877(0x281)](_0x35136c))return this[_0x46a877(0x25f)][_0x46a877(0x324)](_0x35136c);this[_0x46a877(0x4c5)]();const _0x3eb756=this['_injector'][_0x46a877(0x2db)](exports['CollaborationSession'],_0x35136c,this[_0x46a877(0x298)][_0x46a877(0x345)]());return this[_0x46a877(0x25f)][_0x46a877(0x337)](_0x35136c,_0x3eb756),_0x3eb756;}['closeSession'](_0x3bac52){var _0x11fc72=_0xb98a65,_0x276962;const _0x4fda2e=this[_0x11fc72(0x25f)][_0x11fc72(0x324)](_0x3bac52);_0x4fda2e&&(this['_sessions']['delete'](_0x3bac52),_0x4fda2e[_0x11fc72(0x341)]()),this[_0x11fc72(0x25f)]['size']||(_0x276962=this[_0x11fc72(0x237)])==null||_0x276962[_0x11fc72(0x341)]();}[_0xb98a65(0x3b1)](){var _0x1dc4f=_0xb98a65;this[_0x1dc4f(0x158)]=0x0,this[_0x1dc4f(0x3c7)](),this['_tryReconnect']();}[_0xb98a65(0x3c7)](){var _0x472a40=_0xb98a65;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x472a40(0x369)]),this[_0x472a40(0x369)]=null);}async['_createSocket'](){var _0x2c8b63=_0xb98a65,_0x44bc9a,_0x1996e4;const _0x230ce0=this['_configService']['getConfig'](ut),_0x555201=this[_0x2c8b63(0x434)]['getConfig'](G),_0x3b1cf8=(_0x1996e4=(_0x44bc9a=_0x555201==null?void 0x0:_0x555201[_0x2c8b63(0x1ad)])!=null?_0x44bc9a:_0x230ce0)!=null?_0x1996e4:dt,_0x1a8381=await this['_socketService']['createSocket'](_0x3b1cf8);return this[_0x2c8b63(0x454)]=_0x1a8381,_0x1a8381;}async[_0xb98a65(0x4c5)](){var _0x4ae33d=_0xb98a65,_0x4113ac,_0x1f613d;try{const _0x7ed3db=(_0x1f613d=(_0x4113ac=this[_0x4ae33d(0x237)])!=null?_0x4113ac:this['_candidateSocket'])!=null?_0x1f613d:await this[_0x4ae33d(0x3d8)]();if(_0x7ed3db){const _0x1077e2=_0x7ed3db[_0x4ae33d(0x2da)];_0x7ed3db['send']=_0x3bbafa=>(this['_rescheduleHeartbeat'](),_0x1077e2['apply'](_0x7ed3db,[_0x3bbafa])),_0x7ed3db[_0x4ae33d(0x18c)][_0x4ae33d(0x20a)](_0x456717=>this[_0x4ae33d(0x3fe)](_0x7ed3db,_0x456717)),_0x7ed3db['error$']['pipe'](V[_0x4ae33d(0x167)](0x1))[_0x4ae33d(0x20a)](_0x576470=>this[_0x4ae33d(0x380)][_0x4ae33d(0x3b4)](_0x4ae33d(0x2ed),_0x576470)),_0x7ed3db['open$'][_0x4ae33d(0x490)](V[_0x4ae33d(0x167)](0x1))[_0x4ae33d(0x20a)](()=>{this['_onConnectionOpen'](_0x7ed3db);}),_0x7ed3db[_0x4ae33d(0x21b)][_0x4ae33d(0x490)](V[_0x4ae33d(0x167)](0x1))[_0x4ae33d(0x20a)](_0x23a01a=>{var _0x5ea68a=_0x4ae33d;this[_0x5ea68a(0x380)][_0x5ea68a(0x16f)](_0x5ea68a(0x1b0),_0x5ea68a(0x24e),_0x23a01a),this[_0x5ea68a(0x4ab)]();});}}catch(_0x566ceb){this[_0x4ae33d(0x380)][_0x4ae33d(0x3b4)](_0x566ceb),this[_0x4ae33d(0x4ab)]();}}[_0xb98a65(0x170)](_0x5f2c51){var _0x297233=_0xb98a65;this[_0x297233(0x380)][_0x297233(0x16f)]('[CollaborationSessionService]',_0x297233(0x15f)),_0x5f2c51['send']({'cmd':W[_0x297233(0x189)]}),this[_0x297233(0x202)]();}[_0xb98a65(0x151)](){var _0x12ca44=_0xb98a65;this[_0x12ca44(0x479)]=!0x1,this[_0x12ca44(0x454)]=null,this[_0x12ca44(0x1a7)][_0x12ca44(0x3a3)](re['OFFLINE']),this[_0x12ca44(0x298)]['next'](null),this[_0x12ca44(0x1a4)](),this[_0x12ca44(0x20f)]();}[_0xb98a65(0x4ab)](){var _0x52d000=_0xb98a65,_0x26f96b;this['_onOffline'](),this[_0x52d000(0x158)]<((_0x26f96b=this[_0x52d000(0x434)][_0x52d000(0x3e6)](ft))!=null?_0x26f96b:jt)?(this[_0x52d000(0x1bc)][_0x52d000(0x47c)]({'id':Z[_0x52d000(0x2fa)]}),this[_0x52d000(0x460)]()):this[_0x52d000(0x1bc)][_0x52d000(0x47c)]({'id':Z[_0x52d000(0x346)]});}['_tryReconnect'](){var _0x291325=_0xb98a65,_0x2b4e79;const _0x14d3c1=this[_0x291325(0x158)],_0x3ccf95=this['_configService'][_0x291325(0x3e6)](G),_0x5c0a11=_0x14d3c1===0x0?0x0:((_0x2b4e79=_0x3ccf95==null?void 0x0:_0x3ccf95[_0x291325(0x422)])!=null?_0x2b4e79:$t)*0x2**_0x14d3c1;this[_0x291325(0x369)]=setTimeout(()=>{var _0x323584=_0x291325;clearTimeout(this[_0x323584(0x369)]),this['_retryConnectingTimer']=null,this['_tryEnsureSocket']();},_0x5c0a11),this['_retryCount']+=0x1;}[_0xb98a65(0x3fe)](_0x281b2e,_0x10256d){var _0x5b9e52=_0xb98a65;const {cmd:_0x259255}=_0x10256d;_0x259255===W[_0x5b9e52(0x189)]&&!this[_0x5b9e52(0x479)]&&(_0x281b2e['memberID']=_0x10256d['data']['memberID'],this[_0x5b9e52(0x298)]['next'](_0x281b2e),this[_0x5b9e52(0x1a7)][_0x5b9e52(0x3a3)](re[_0x5b9e52(0x217)]),this[_0x5b9e52(0x479)]=!0x0,this[_0x5b9e52(0x454)]=null),_0x259255===W[_0x5b9e52(0x4ae)]&&this[_0x5b9e52(0x1a4)](),this[_0x5b9e52(0x202)]();}[_0xb98a65(0x202)](){var _0x564e15=_0xb98a65,_0x5307f1;this[_0x564e15(0x20f)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x564e15(0x4b1)](),(_0x5307f1=this[_0x564e15(0x434)][_0x564e15(0x3e6)](vt))!=null?_0x5307f1:Ht);}[_0xb98a65(0x4b1)](){var _0x5b9746=_0xb98a65;this[_0x5b9746(0x237)][_0x5b9746(0x2da)]({'cmd':W[_0x5b9746(0x4ae)]}),this['_waitForHeartbeatResponse']();}[_0xb98a65(0x31e)](){var _0x30eaa2=_0xb98a65,_0x52ff91;this[_0x30eaa2(0x354)]=setTimeout(()=>this[_0x30eaa2(0x4ab)](),(_0x52ff91=this[_0x30eaa2(0x434)][_0x30eaa2(0x3e6)](ke))!=null?_0x52ff91:St);}['_clearHeartbeatTimer'](){var _0x4763da=_0xb98a65;this[_0x4763da(0x2f0)]!=null&&(clearTimeout(this[_0x4763da(0x2f0)]),this['_sendHeartbeatTimer']=null);}[_0xb98a65(0x1a4)](){var _0x283ff7=_0xb98a65;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x283ff7(0x354)]),this[_0x283ff7(0x354)]=null);}},exports[_0xb98a65(0x1a5)]=si([he(0x0,a[_0xb98a65(0x42e)](a['Injector'])),he(0x1,a[_0xb98a65(0x423)]),he(0x2,a[_0xb98a65(0x2a1)]),he(0x3,He),he(0x4,a[_0xb98a65(0x42e)](ee)),he(0x5,a[_0xb98a65(0x3d1)](mt))],exports[_0xb98a65(0x1a5)]);const q=a['createIdentifier']('collaboration-client.local-cache-service');function oi(_0x894d5b){var _0xf4270c=_0xb98a65;return _0xf4270c(0x34f)+_0x894d5b;}var ai=Object['getOwnPropertyDescriptor'],ci=(_0x54c014,_0xe19ce9,_0x59b07e,_0x15a9a2)=>{var _0x50eb94=_0xb98a65;for(var _0x3f09de=_0x15a9a2>0x1?void 0x0:_0x15a9a2?ai(_0xe19ce9,_0x59b07e):_0xe19ce9,_0x21dd26=_0x54c014[_0x50eb94(0x1cf)]-0x1,_0x47ec4a;_0x21dd26>=0x0;_0x21dd26--)(_0x47ec4a=_0x54c014[_0x21dd26])&&(_0x3f09de=_0x47ec4a(_0x3f09de)||_0x3f09de);return _0x3f09de;},Ue=(_0x3526e9,_0x33c993)=>(_0xa5c632,_0x30734b)=>_0x33c993(_0xa5c632,_0x30734b,_0x3526e9);function hi(_0x31a07a){var _0x326d3d=_0xb98a65;const {unitID:_0x587ca7,mutations:_0x55c2fa}=_0x31a07a;return{'unitId':_0x587ca7,'subUnitId':_0x55c2fa[0x0][_0x326d3d(0x42f)][_0x326d3d(0x366)]};}exports[_0xb98a65(0x3a4)]=class{constructor(_0x558bdd,_0x3464ce,_0x5f52d9){var _0x3d74b4=_0xb98a65;this[_0x3d74b4(0x262)]=_0x558bdd,this[_0x3d74b4(0x171)]=_0x3464ce,this['_instanceService']=_0x5f52d9;}[_0xb98a65(0x2d7)](_0x3e4f6e){var _0x2f341d=_0xb98a65,_0x24ca5b,_0x1c7482,_0x27cbad,_0x1b3e3e;const _0x2974cf=this[_0x2f341d(0x262)][_0x2f341d(0x324)](X[_0x2f341d(0x2f6)]),{unitId:_0x8d1e20,subUnitId:_0x46fcaf}=hi(_0x3e4f6e),_0x108300=_0x2974cf==null?void 0x0:_0x2974cf[_0x2f341d(0x2bc)](_0x8d1e20)[_0x2f341d(0x413)](),_0x2aac88=(_0x1c7482=(_0x24ca5b=this[_0x2f341d(0x222)][_0x2f341d(0x1fc)](_0x8d1e20))==null?void 0x0:_0x24ca5b[_0x2f341d(0x3d2)]())==null?void 0x0:_0x1c7482[_0x2f341d(0x40f)]();if(_0x108300[_0x2f341d(0x1cf)]===0x0||!_0x8d1e20||!_0x46fcaf)return;const _0x3addc0=[{'id':X[_0x2f341d(0x165)]['id'],'params':{'unitId':_0x8d1e20,'subUnitId':_0x2aac88,'selections':a[_0x2f341d(0x1ae)][_0x2f341d(0x378)](_0x108300)}}],_0x4d8335=this['_transformService'][_0x2f341d(0x48c)](_0x3e4f6e,_0x3addc0);if(!p['isTransformMutationsWithChangesetSuccess'](_0x4d8335))throw _0x4d8335['error'];const _0xb8727e=(_0x1b3e3e=(_0x27cbad=_0x4d8335[_0x2f341d(0x1eb)][0x0])==null?void 0x0:_0x27cbad[_0x2f341d(0x42f)])==null?void 0x0:_0x1b3e3e[_0x2f341d(0x3c0)];if(Array[_0x2f341d(0x246)](_0xb8727e)&&_0xb8727e[_0x2f341d(0x1cf)]){if(_0xb8727e[_0x2f341d(0x1cf)]===_0x3addc0[0x0][_0x2f341d(0x42f)][_0x2f341d(0x3c0)][_0x2f341d(0x1cf)]&&_0xb8727e[_0x2f341d(0x3a0)]((_0x1a7946,_0x1b071d)=>a[_0x2f341d(0x186)]['equals'](_0x1a7946[_0x2f341d(0x362)],_0x3addc0[0x0][_0x2f341d(0x42f)][_0x2f341d(0x3c0)][_0x1b071d][_0x2f341d(0x362)])))return;this[_0x2f341d(0x262)][_0x2f341d(0x324)](a['ICommandService'])[_0x2f341d(0x303)](X['SetSelectionsOperation']['id'],{'unitId':_0x8d1e20,'subUnitId':_0x2aac88,'selections':_0xb8727e});}}},exports[_0xb98a65(0x3a4)]=ci([Ue(0x0,a['Inject'](a[_0xb98a65(0x39f)])),Ue(0x1,p['ITransformService']),Ue(0x2,a[_0xb98a65(0x2bb)])],exports[_0xb98a65(0x3a4)]);const de=a[_0xb98a65(0x37e)](_0xb98a65(0x3bc));var je=(_0x210bf5=>(_0x210bf5[_0x210bf5[_0xb98a65(0x488)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x210bf5[_0x210bf5[_0xb98a65(0x30f)]=0x1]=_0xb98a65(0x30f),_0x210bf5))(je||{});const _i=new Set([X['InsertSheetMutation']['id']]);function Ge(_0xeaf507,_0xa09278,_0x5f14b6,_0x5ae522,_0x427f90){var _0x49fb1d=_0xb98a65,_0x42d83f,_0x889cc,_0x282d57,_0x3fccdf;const _0x17387d=[];for(const _0x51c234 of _0xeaf507)if(_i[_0x49fb1d(0x281)](_0x51c234['id'])){if(_0x17387d[_0x49fb1d(0x1cf)]>0x0)break;_0x17387d[_0x49fb1d(0x360)](_0x51c234);break;}else _0x17387d[_0x49fb1d(0x360)](_0x51c234);const _0x22864e=(_0x889cc=(_0x42d83f=_0x427f90['getCurrentUser']())==null?void 0x0:_0x42d83f[_0x49fb1d(0x2dc)])!=null?_0x889cc:'unknown',_0x286f19=(_0x3fccdf=(_0x282d57=_0x427f90['getCurrentUser']())==null?void 0x0:_0x282d57[_0x49fb1d(0x36e)])!=null?_0x3fccdf:_0x49fb1d(0x3d6);return{'changeset':{'unitID':_0xa09278,'type':p[_0x49fb1d(0x31a)](_0x5f14b6['getUnitType'](_0xa09278)),'baseRev':_0x5ae522[_0x49fb1d(0x2a5)](_0xa09278),'revision':0x0,'userID':_0x22864e,'memberID':_0x286f19,'mutations':_0x17387d},'pendingMutations':_0xeaf507['slice'](_0x17387d['length'])};}function li(_0x2fc0e0,_0x954f3,_0x364e2f,_0x148e22,_0x2e5281){var _0x3999a4=_0xb98a65,_0x3e1dc4,_0x4638c2,_0x26a118,_0x56ac0b;const _0x15adc8=[_0x2fc0e0[_0x3999a4(0x438)]((_0x13a67d,_0x18b7dd)=>{var _0x5aee60=_0x3999a4,_0x340de4;const {id:_0x362a39}=_0x13a67d,{id:_0x3b3f9a,type:_0x2a60fe}=_0x18b7dd,_0x1dd888=(_0x340de4=_0x13a67d[_0x5aee60(0x42f)])!=null?_0x340de4:{'actions':null},_0x3d3c75=_0x18b7dd[_0x5aee60(0x42f)];if(_0x362a39&&_0x362a39!==_0x3b3f9a)throw new Error(_0x5aee60(0x446)+_0x362a39+'\x20-\x20'+_0x3b3f9a+'.');return{..._0x13a67d,'id':_0x3b3f9a,'type':_0x2a60fe,'params':{'unitId':_0x3d3c75[_0x5aee60(0x344)],'textRanges':_0x3d3c75[_0x5aee60(0x49f)],'actions':a[_0x5aee60(0x2d3)][_0x5aee60(0x321)](_0x1dd888[_0x5aee60(0x45c)],_0x3d3c75[_0x5aee60(0x45c)])}};},{})],_0xdfb4d9=(_0x4638c2=(_0x3e1dc4=_0x2e5281[_0x3999a4(0x4c3)]())==null?void 0x0:_0x3e1dc4['userID'])!=null?_0x4638c2:_0x3999a4(0x3d6),_0x4aabd9=(_0x56ac0b=(_0x26a118=_0x2e5281[_0x3999a4(0x4c3)]())==null?void 0x0:_0x26a118[_0x3999a4(0x36e)])!=null?_0x56ac0b:_0x3999a4(0x3d6);return{'changeset':{'unitID':_0x954f3,'type':p[_0x3999a4(0x31a)](_0x364e2f[_0x3999a4(0x48b)](_0x954f3)),'baseRev':_0x148e22['getCurrentRevOfUnit'](_0x954f3),'revision':0x0,'userID':_0xdfb4d9,'memberID':_0x4aabd9,'mutations':_0x15adc8},'pendingMutations':[]};}function bt(_0x4b760c,_0x3aa52f){var _0x1cf351=_0xb98a65;const _0x48e97e=new $[(_0x1cf351(0x3ef))](0x1);return setTimeout(()=>_0x48e97e[_0x1cf351(0x3a3)](_0x3aa52f),_0x4b760c),_0x48e97e[_0x1cf351(0x345)]()['pipe']($['take'](0x1));}const ui={'id':X[_0xb98a65(0x311)]['id'],'type':a[_0xb98a65(0x1de)][_0xb98a65(0x2d9)],'params':{}};var di=Object['getOwnPropertyDescriptor'],ae=(_0x2e0ffb,_0x57332f,_0x3412c6,_0x1a51a4)=>{var _0x559bf1=_0xb98a65;for(var _0x39febe=_0x1a51a4>0x1?void 0x0:_0x1a51a4?di(_0x57332f,_0x3412c6):_0x57332f,_0x2d9332=_0x2e0ffb[_0x559bf1(0x1cf)]-0x1,_0x5f4078;_0x2d9332>=0x0;_0x2d9332--)(_0x5f4078=_0x2e0ffb[_0x2d9332])&&(_0x39febe=_0x5f4078(_0x39febe)||_0x39febe);return _0x39febe;},L=(_0x268b54,_0x18bbcf)=>(_0x2fb995,_0x1e3fd0)=>_0x18bbcf(_0x2fb995,_0x1e3fd0,_0x268b54),Be=(_0x2f6d7a=>(_0x2f6d7a[_0xb98a65(0x2b9)]=_0xb98a65(0x3b8),_0x2f6d7a[_0xb98a65(0x26f)]=_0xb98a65(0x3d9),_0x2f6d7a[_0xb98a65(0x300)]='pending',_0x2f6d7a[_0xb98a65(0x448)]=_0xb98a65(0x33a),_0x2f6d7a[_0xb98a65(0x2fb)]=_0xb98a65(0x1f0),_0x2f6d7a[_0xb98a65(0x315)]='fetch_missing',_0x2f6d7a[_0xb98a65(0x206)]=_0xb98a65(0x1b6),_0x2f6d7a['OFFLINE']='offline',_0x2f6d7a))(Be||{});const Rt=0xea60;class ce{constructor(_0x309407,_0x221bfa,_0x2f21ff,_0x73c621,_0x546b1b,_0x3417b9,_0x225097,_0x31ace8,_0x3ec488){var _0x3947b7=_0xb98a65;A(this,_0x3947b7(0x2b7),null),A(this,_0x3947b7(0x1cd),[]),(this['unitID']=_0x309407,this['type']=_0x221bfa,this[_0x3947b7(0x26c)]=_0x546b1b,this[_0x3947b7(0x1d7)]=_0x3417b9,this[_0x3947b7(0x305)]=_0x225097,this[_0x3947b7(0x160)]=_0x31ace8,this['_localCacheService']=_0x3ec488,this[_0x3947b7(0x2b7)]=_0x2f21ff,this['_pendingMutations']=_0x73c621);}[_0xb98a65(0x435)](_0x2aa4a4){var _0x26bbdd=_0xb98a65;const _0x14083d=this[_0x26bbdd(0x160)]['getCurrentRevOfUnit'](this[_0x26bbdd(0x173)]);return _0x2aa4a4['revision']>_0x14083d+0x1?(this[_0x26bbdd(0x26c)][_0x26bbdd(0x231)]({'from':_0x14083d,'to':_0x2aa4a4[_0x26bbdd(0x196)]-0x1}),!0x0):!0x1;}[_0xb98a65(0x2fc)](_0x390813){var _0x10c7d9=_0xb98a65;this[_0x10c7d9(0x305)]['transformUndoRedo'](this[_0x10c7d9(0x173)],_0x390813);}[_0xb98a65(0x496)](_0x44ac4c){var _0x67faef=_0xb98a65,_0x2cb052,_0x33fa18;(_0x33fa18=(_0x2cb052=this['_handler'])[_0x67faef(0x1ab)])==null||_0x33fa18[_0x67faef(0x4bf)](_0x2cb052,_0x44ac4c);}[_0xb98a65(0x141)](_0x2819dd){var _0x20bf31=_0xb98a65,_0x4ae4a8,_0x3e6ae1;return(_0x3e6ae1=(_0x4ae4a8=this[_0x20bf31(0x26c)])['onTransformIME'])==null?void 0x0:_0x3e6ae1[_0x20bf31(0x4bf)](_0x4ae4a8,_0x2819dd);}['_transformStateCache'](_0x15ea8f){var _0x3d4b86=_0xb98a65,_0x4b4d1f,_0x4377a3;return(_0x4377a3=(_0x4b4d1f=this[_0x3d4b86(0x26c)])[_0x3d4b86(0x301)])==null?void 0x0:_0x4377a3[_0x3d4b86(0x4bf)](_0x4b4d1f,_0x15ea8f);}[_0xb98a65(0x26e)](_0x11da1d){var _0x4ca89a=_0xb98a65,_0x6c9e07,_0x1e235d,_0x54a68a;return(_0x54a68a=(_0x1e235d=(_0x6c9e07=this[_0x4ca89a(0x26c)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x1e235d[_0x4ca89a(0x4bf)](_0x6c9e07,_0x11da1d))!=null?_0x54a68a:_0x11da1d;}['_transformRemoteChangesetByStateCache'](_0x280b36){var _0xd2ab99=_0xb98a65,_0x1d5aaa,_0x151c86,_0x38ce6a;return(_0x38ce6a=(_0x151c86=(_0x1d5aaa=this['_handler'])[_0xd2ab99(0x2f4)])==null?void 0x0:_0x151c86['call'](_0x1d5aaa,_0x280b36))!=null?_0x38ce6a:_0x280b36;}[_0xb98a65(0x35f)](_0x2e1046){var _0x23c9cd=_0xb98a65,_0x5380d5,_0x412c0f;if(this[_0x23c9cd(0x2a8)]===J[_0x23c9cd(0x153)]){const {unitID:_0x364827,mutations:_0x483ed4,memberID:_0x49cadf}=_0x2e1046,_0x4e94d9=_0x483ed4[0x0][_0x23c9cd(0x42f)][_0x23c9cd(0x49f)];Array[_0x23c9cd(0x246)](_0x4e94d9)&&_0x4e94d9[_0x23c9cd(0x1cf)]>0x0&&((_0x412c0f=(_0x5380d5=this[_0x23c9cd(0x26c)])['onSyncEditingCollabCursor'])==null||_0x412c0f[_0x23c9cd(0x4bf)](_0x5380d5,{'unitID':_0x364827,'memberID':_0x49cadf,'textRanges':_0x4e94d9}));}}['_updateLocalCache'](){var _0x55b21f=_0xb98a65,_0x2c6414;(_0x2c6414=this[_0x55b21f(0x2cd)])==null||_0x2c6414[_0x55b21f(0x313)](this[_0x55b21f(0x173)],this['type'],this['_awaitingChangeset'],this[_0x55b21f(0x1cd)]);}[_0xb98a65(0x1e3)](){var _0x35e3f6=_0xb98a65;return this[_0x35e3f6(0x160)][_0x35e3f6(0x2a5)](this[_0x35e3f6(0x173)]);}[_0xb98a65(0x432)](){var _0x131027=_0xb98a65;this[_0x131027(0x160)]['incrementRevOfUnit'](this[_0x131027(0x173)]);}[_0xb98a65(0x14f)](_0xc63f52){var _0x521e4a=_0xb98a65,_0x193134;let _0x260e71=this[_0x521e4a(0x26e)](_0xc63f52);_0x260e71=this[_0x521e4a(0x4c1)](_0x260e71);const _0x5b5779=a[_0x521e4a(0x19f)](_0x260e71[_0x521e4a(0x282)],this[_0x521e4a(0x1d7)],{'fromCollab':!0x0});if(!_0x5b5779[_0x521e4a(0x208)])throw _0x5b5779[_0x521e4a(0x3b4)]instanceof Error?_0x5b5779[_0x521e4a(0x3b4)]:new Error((_0x193134=_0x5b5779['error'])!=null?_0x193134:_0x521e4a(0x412));this[_0x521e4a(0x141)](_0x260e71),this[_0x521e4a(0x32b)](_0x260e71),this[_0x521e4a(0x2fc)](_0xc63f52),this[_0x521e4a(0x496)](_0x260e71),this[_0x521e4a(0x35f)](_0x260e71),this[_0x521e4a(0x432)]();}}exports[_0xb98a65(0x46f)]=class extends ce{constructor(_0x3e3a1a,_0x4bbb18,_0xbacd6,_0x561438,_0x3b137a,_0xebc14f,_0xfc7c2d,_0x3f6ed3,_0x10a3a9,_0x1866a4){var _0x17b660=_0xb98a65;super(_0x3e3a1a,_0x4bbb18,null,[],_0xbacd6,_0xfc7c2d,_0xebc14f,_0x561438,_0x1866a4),A(this,'status',_0x17b660(0x3d9)),(this['_injector']=_0x3b137a,this[_0x17b660(0x380)]=_0x3f6ed3,this['_transformService']=_0x10a3a9,this[_0x17b660(0x486)]=_0x1866a4);}[_0xb98a65(0x2c9)](_0x350667){var _0xb6c97b=_0xb98a65;const _0x390ae2=this[_0xb6c97b(0x262)]['createInstance'](exports[_0xb6c97b(0x277)],this[_0xb6c97b(0x173)],this['type'],[_0x350667],this[_0xb6c97b(0x26c)]);return _0x390ae2[_0xb6c97b(0x2e7)](),_0x390ae2[_0xb6c97b(0x284)](),_0x390ae2;}[_0xb98a65(0x30a)](_0x2ed31a){var _0x44ed4a=_0xb98a65;if(this['_checkMissing'](_0x2ed31a))return this[_0x44ed4a(0x262)][_0x44ed4a(0x2db)](exports[_0x44ed4a(0x3a7)],this[_0x44ed4a(0x173)],this[_0x44ed4a(0x2a8)],null,[],null,[_0x2ed31a],this[_0x44ed4a(0x26c)]);try{const _0x4f2982=this[_0x44ed4a(0x171)][_0x44ed4a(0x48c)](_0x2ed31a,[ui]);if(p[_0x44ed4a(0x1b4)](_0x4f2982)){const {c1Prime:_0x255370}=_0x4f2982;return this[_0x44ed4a(0x14f)](_0x255370),this;}throw _0x4f2982['error'];}catch(_0x21638f){return this[_0x44ed4a(0x380)][_0x44ed4a(0x3b4)](_0x21638f),this['_onConflict'](!0x1);}}['_onConflict'](_0x3824ae){var _0x57cde1=_0xb98a65;return this['_injector'][_0x57cde1(0x2db)](exports[_0x57cde1(0x44d)],this['unitID'],this[_0x57cde1(0x2a8)],null,[],this[_0x57cde1(0x26c)],_0x3824ae);}[_0xb98a65(0x261)](){var _0x32c2c4=_0xb98a65;throw new Error(_0x32c2c4(0x18a));}[_0xb98a65(0x229)](){var _0x278a61=_0xb98a65;throw new Error(_0x278a61(0x2b3));}[_0xb98a65(0x1a3)](){return this;}[_0xb98a65(0x2d2)](){var _0x4d3d2d=_0xb98a65;return this[_0x4d3d2d(0x262)][_0x4d3d2d(0x2db)](exports[_0x4d3d2d(0x1b8)],this[_0x4d3d2d(0x173)],this[_0x4d3d2d(0x2a8)],null,[],this[_0x4d3d2d(0x26c)]);}[_0xb98a65(0x1fd)](){return this;}[_0xb98a65(0x211)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x18da91=_0xb98a65;const _0x3336df=this['_revisionService']['getCurrentRevOfUnit'](this[_0x18da91(0x173)]);return this[_0x18da91(0x26c)][_0x18da91(0x231)]({'from':_0x3336df,'to':0x0}),this[_0x18da91(0x262)]['createInstance'](exports[_0x18da91(0x3a7)],this[_0x18da91(0x173)],this[_0x18da91(0x2a8)],null,[],null,[],this[_0x18da91(0x26c)]);}},exports[_0xb98a65(0x46f)]=ae([L(0x3,a[_0xb98a65(0x42e)](p[_0xb98a65(0x2d6)])),L(0x4,a['Inject'](a[_0xb98a65(0x39f)])),L(0x5,a[_0xb98a65(0x458)]),L(0x6,a[_0xb98a65(0x437)]),L(0x7,a['ILogService']),L(0x8,p[_0xb98a65(0x334)]),L(0x9,a[_0xb98a65(0x3d1)](q))],exports['SyncedState']),exports['PendingState']=class extends ce{constructor(_0x587e36,_0x340599,_0x120b33,_0x2862da,_0x3c98d1,_0x2fc11e,_0x3b4ad1,_0x27fdb7,_0x23ac9a,_0x139662,_0x18f418,_0x42abb9,_0x41380c,_0x1c827f){var _0x3584c2=_0xb98a65;super(_0x587e36,_0x340599,null,_0x120b33,_0x2862da,_0x23ac9a,_0x41380c,_0x2fc11e,_0x1c827f),A(this,_0x3584c2(0x373),'pending'),A(this,_0x3584c2(0x207),null),A(this,'_sendingTimer',null),(this[_0x3584c2(0x262)]=_0x3c98d1,this['_memberService']=_0x3b4ad1,this[_0x3584c2(0x380)]=_0x27fdb7,this[_0x3584c2(0x434)]=_0x139662,this[_0x3584c2(0x171)]=_0x18f418,this[_0x3584c2(0x4c9)]=_0x42abb9);}[_0xb98a65(0x2c9)](_0x39ac33){var _0x3424e8=_0xb98a65;return this['_pendingMutations'][_0x3424e8(0x360)](_0x39ac33),this[_0x3424e8(0x284)](),this;}[_0xb98a65(0x30a)](_0xe8b039){var _0x195cfa=_0xb98a65;if(this[_0x195cfa(0x435)](_0xe8b039))return this[_0x195cfa(0x1d0)](),this[_0x195cfa(0x262)][_0x195cfa(0x2db)](exports[_0x195cfa(0x3a7)],this[_0x195cfa(0x173)],this[_0x195cfa(0x2a8)],null,this['_pendingMutations'],null,[_0xe8b039],this[_0x195cfa(0x26c)]);try{const _0x1ac938=this['_transformService'][_0x195cfa(0x48c)](_0xe8b039,this[_0x195cfa(0x1cd)]);if(p[_0x195cfa(0x1b4)](_0x1ac938)){const {c1Prime:_0x290a29,m2Prime:_0x458bad}=_0x1ac938;this[_0x195cfa(0x14f)](_0x290a29);const _0x26fc12=this[_0x195cfa(0x262)][_0x195cfa(0x2db)](exports[_0x195cfa(0x277)],this[_0x195cfa(0x173)],this['type'],_0x458bad,this[_0x195cfa(0x26c)]);this['_clearScheduledTask']();const _0x541e49=new Date()[_0x195cfa(0x26d)](),_0x1d3fa6=this[_0x195cfa(0x207)]?Math['max'](this[_0x195cfa(0x207)]-_0x541e49,0x0):this['_getSendChangesetTimeout']();return _0x26fc12['_schedule'](_0x1d3fa6),_0x26fc12;}throw _0x1ac938[_0x195cfa(0x3b4)];}catch(_0x475080){return this[_0x195cfa(0x380)][_0x195cfa(0x3b4)](_0x475080),this['_onConflict'](!0x1);}}[_0xb98a65(0x261)](){var _0x4cda71=_0xb98a65;throw new Error(_0x4cda71(0x209));}[_0xb98a65(0x229)](){var _0x41c3fb=_0xb98a65;throw new Error(_0x41c3fb(0x4be));}['onRemoteRetry'](){return this;}[_0xb98a65(0x2d2)](){var _0x45ef4a=_0xb98a65;return this['_clearScheduledTask'](),this[_0x45ef4a(0x262)][_0x45ef4a(0x2db)](exports[_0x45ef4a(0x1b8)],this[_0x45ef4a(0x173)],this[_0x45ef4a(0x2a8)],null,this[_0x45ef4a(0x1cd)],this[_0x45ef4a(0x26c)]);}[_0xb98a65(0x1fd)](){return this;}[_0xb98a65(0x2e7)](_0x51d135){var _0xec3adb=_0xb98a65;const _0x5026b9=_0x51d135!=null?_0x51d135:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()[_0xec3adb(0x26d)]()+_0x5026b9,this[_0xec3adb(0x1c9)]=setTimeout(()=>{var _0x2826d7=_0xec3adb;this[_0x2826d7(0x1d0)]();let _0x5e394f=null;switch(this[_0x2826d7(0x2a8)]){case J['UNIVER_SHEET']:{_0x5e394f=Ge(this[_0x2826d7(0x1cd)],this[_0x2826d7(0x173)],this['_univerInstanceService'],this[_0x2826d7(0x160)],this[_0x2826d7(0x418)]);break;}case J[_0x2826d7(0x153)]:{this[_0x2826d7(0x1cd)][_0x2826d7(0x3a0)](_0x13b760=>_0x13b760['id']===ht['RichTextEditingMutation']['id'])?_0x5e394f=li(this['_pendingMutations'],this[_0x2826d7(0x173)],this[_0x2826d7(0x4c9)],this['_revisionService'],this[_0x2826d7(0x418)]):_0x5e394f=Ge(this[_0x2826d7(0x1cd)],this[_0x2826d7(0x173)],this[_0x2826d7(0x4c9)],this['_revisionService'],this['_memberService']);break;}default:throw new Error(_0x2826d7(0x1a2)+this[_0x2826d7(0x2a8)]+_0x2826d7(0x29b));}const {changeset:_0x5aabcd,pendingMutations:_0x42d968}=_0x5e394f;this[_0x2826d7(0x26c)][_0x2826d7(0x35e)](_0x5aabcd);const _0x2ab986=_0x42d968[_0x2826d7(0x1cf)]?this[_0x2826d7(0x262)][_0x2826d7(0x2db)](exports['AwaitingWithPendingState'],this[_0x2826d7(0x173)],this[_0x2826d7(0x2a8)],_0x5aabcd,_0x42d968,this['_handler'],void 0x0):this['_injector'][_0x2826d7(0x2db)](exports['AwaitingState'],this[_0x2826d7(0x173)],this[_0x2826d7(0x2a8)],_0x5aabcd,this[_0x2826d7(0x26c)]);_0x2ab986['_updateLocalCache'](),this['_handler'][_0x2826d7(0x1fb)](this,_0x2ab986);},_0x5026b9);}[_0xb98a65(0x265)](){var _0x4637a6=_0xb98a65,_0xbac513;const _0x235ffd=this[_0x4637a6(0x434)][_0x4637a6(0x3e6)](G);return(_0xbac513=_0x235ffd==null?void 0x0:_0x235ffd['sendChangesetTimeout'])!=null?_0xbac513:xt;}[_0xb98a65(0x211)](){var _0x37ae72=_0xb98a65;throw new Error(_0x37ae72(0x42c));}[_0xb98a65(0x1d0)](){var _0x433fdd=_0xb98a65;this[_0x433fdd(0x1c9)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x433fdd(0x1c9)]=null);}[_0xb98a65(0x394)](_0x2a9db7){var _0x52250f=_0xb98a65;return this['_clearScheduledTask'](),this[_0x52250f(0x262)][_0x52250f(0x2db)](exports[_0x52250f(0x44d)],this[_0x52250f(0x173)],this[_0x52250f(0x2a8)],null,this[_0x52250f(0x1cd)],this[_0x52250f(0x26c)],_0x2a9db7);}},exports['PendingState']=ae([L(0x4,a[_0xb98a65(0x42e)](a[_0xb98a65(0x39f)])),L(0x5,a['Inject'](p['RevisionService'])),L(0x6,a[_0xb98a65(0x42e)](exports[_0xb98a65(0x31f)])),L(0x7,a['ILogService']),L(0x8,a[_0xb98a65(0x437)]),L(0x9,a[_0xb98a65(0x2a1)]),L(0xa,p[_0xb98a65(0x334)]),L(0xb,a[_0xb98a65(0x2bb)]),L(0xc,a[_0xb98a65(0x458)]),L(0xd,a[_0xb98a65(0x3d1)](q))],exports['PendingState']),exports[_0xb98a65(0x310)]=class extends ce{constructor(_0x1572e0,_0xe377cc,_0x33cafb,_0x1a8774,_0x589308,_0x3e34ec,_0x15ef28,_0x54deb4,_0x6e2bcf,_0x4b1e17,_0x3e75b2){var _0xa25cd5=_0xb98a65;super(_0x1572e0,_0xe377cc,_0x33cafb,[],_0x1a8774,_0x15ef28,_0x4b1e17,_0x3e34ec,_0x3e75b2),A(this,'status','awaiting'),A(this,_0xa25cd5(0x34d),0x0),A(this,_0xa25cd5(0x399)),A(this,_0xa25cd5(0x1b5)),(this[_0xa25cd5(0x262)]=_0x589308,this['_logService']=_0x54deb4,this['_transformService']=_0x6e2bcf);}[_0xb98a65(0x2c9)](_0x4bb2b1){var _0x488a05=_0xb98a65;this[_0x488a05(0x1d0)]();const _0x174d29=this[_0x488a05(0x262)]['createInstance'](exports[_0x488a05(0x225)],this[_0x488a05(0x173)],this['type'],this[_0x488a05(0x2b7)],[_0x4bb2b1],this[_0x488a05(0x26c)],this[_0x488a05(0x399)]);return _0x174d29[_0x488a05(0x284)](),_0x174d29;}['onRemoteChangeset'](_0x18cc0d){var _0x29cea3=_0xb98a65;if(this[_0x29cea3(0x435)](_0x18cc0d))return this[_0x29cea3(0x1d0)](),this[_0x29cea3(0x262)][_0x29cea3(0x2db)](exports[_0x29cea3(0x3a7)],this[_0x29cea3(0x173)],this[_0x29cea3(0x2a8)],this[_0x29cea3(0x2b7)],[],null,[_0x18cc0d],this[_0x29cea3(0x26c)]);try{const _0x4f3658=this[_0x29cea3(0x171)]['transformChangesets']([_0x18cc0d],[this[_0x29cea3(0x2b7)]],!0x1);if(p[_0x29cea3(0x1e0)](_0x4f3658)){const {c1Prime:_0x72220,c2Prime:_0x138223}=_0x4f3658;this[_0x29cea3(0x14f)](_0x72220[0x0]),_0x138223[0x0][_0x29cea3(0x20b)]=this[_0x29cea3(0x1e3)](),this[_0x29cea3(0x1d0)]();const _0x5e17ab=this[_0x29cea3(0x262)][_0x29cea3(0x2db)](exports[_0x29cea3(0x310)],this[_0x29cea3(0x173)],this[_0x29cea3(0x2a8)],_0x138223[0x0],this[_0x29cea3(0x26c)]);return _0x5e17ab[_0x29cea3(0x284)](),_0x5e17ab;}return this[_0x29cea3(0x394)](!0x1);}catch(_0x112342){return this[_0x29cea3(0x380)][_0x29cea3(0x3b4)](_0x112342),this[_0x29cea3(0x394)](!0x1);}}['onRemoteAck'](_0xaafd3d){var _0x4c0df3=_0xb98a65;this[_0x4c0df3(0x1d0)]();const _0x3959d6=this[_0x4c0df3(0x160)][_0x4c0df3(0x2a5)](this['unitID']);if(_0xaafd3d[_0x4c0df3(0x196)]<_0x3959d6-0x1)return this;if(this['_checkMissing'](_0xaafd3d))return this[_0x4c0df3(0x262)][_0x4c0df3(0x2db)](exports[_0x4c0df3(0x3a7)],this[_0x4c0df3(0x173)],this[_0x4c0df3(0x2a8)],null,[],this[_0x4c0df3(0x2b7)],[],this[_0x4c0df3(0x26c)]);this[_0x4c0df3(0x432)]();const _0x49c207=this[_0x4c0df3(0x262)]['createInstance'](exports[_0x4c0df3(0x46f)],this[_0x4c0df3(0x173)],this[_0x4c0df3(0x2a8)],this[_0x4c0df3(0x26c)]);return _0x49c207[_0x4c0df3(0x284)](),_0x49c207;}[_0xb98a65(0x229)](_0x149f2c){var _0x183af5=_0xb98a65;return this[_0x183af5(0x394)](!!(_0x149f2c!=null&&_0x149f2c[_0x183af5(0x17f)]));}['onRemoteRetry'](_0x223dd9){var _0x238c9f=_0xb98a65;return this[_0x238c9f(0x34d)]>Rt?this[_0x238c9f(0x2d2)]():(this[_0x238c9f(0x399)]=bt(this[_0x238c9f(0x34d)],{'timeout':this[_0x238c9f(0x34d)],'reqId':_0x223dd9['reqId']}),this[_0x238c9f(0x1b5)]=this['_resendTimer']['subscribe'](({reqId:_0x58ca48,timeout:_0x2ee736})=>{var _0x301aef=_0x238c9f;this[_0x301aef(0x38a)](_0x58ca48,_0x2ee736);}),this);}[_0xb98a65(0x2d2)](){var _0x260c81=_0xb98a65;return this[_0x260c81(0x1d0)](),this[_0x260c81(0x262)]['createInstance'](exports[_0x260c81(0x1b8)],this[_0x260c81(0x173)],this['type'],this['_awaitingChangeset'],[],this[_0x260c81(0x26c)]);}[_0xb98a65(0x1fd)](){return this;}[_0xb98a65(0x211)](){var _0x58465b=_0xb98a65;this[_0x58465b(0x26c)]['onSendChangeset'](this['_awaitingChangeset']);}['_onConflict'](_0x2f3753){var _0x190058=_0xb98a65;return this[_0x190058(0x1d0)](),this['_injector'][_0x190058(0x2db)](exports['ConflictState'],this['unitID'],this['type'],this[_0x190058(0x2b7)],[],this[_0x190058(0x26c)],_0x2f3753);}['_resendWithTimeout'](_0x19dc9f,_0x31c2b8){var _0x65d7d0=_0xb98a65,_0x929c00;_0x19dc9f===((_0x929c00=this[_0x65d7d0(0x2b7)])==null?void 0x0:_0x929c00['reqId'])&&(this[_0x65d7d0(0x211)](),this[_0x65d7d0(0x34d)]=_0x31c2b8===0x0?0x3e8:_0x31c2b8*0x2);}[_0xb98a65(0x1d0)](){var _0x24d7da=_0xb98a65,_0x2500ac;(_0x2500ac=this[_0x24d7da(0x1b5)])==null||_0x2500ac[_0x24d7da(0x241)](),this[_0x24d7da(0x34d)]=0x0;}},exports['AwaitingState']=ae([L(0x4,a['Inject'](a[_0xb98a65(0x39f)])),L(0x5,a[_0xb98a65(0x42e)](p[_0xb98a65(0x2d6)])),L(0x6,a['ICommandService']),L(0x7,a[_0xb98a65(0x423)]),L(0x8,p['ITransformService']),L(0x9,a[_0xb98a65(0x458)]),L(0xa,a[_0xb98a65(0x3d1)](q))],exports[_0xb98a65(0x310)]),exports[_0xb98a65(0x225)]=class extends ce{constructor(_0x22551b,_0x56a0b2,_0x1ab61f,_0xefed4c,_0xba3b3b,_0x38cbdc,_0x16293c,_0x364be6,_0xaa0d99,_0x532263,_0x4aac1e,_0x4dcf66,_0xc22134){var _0x4613b6=_0xb98a65;super(_0x22551b,_0x56a0b2,_0x1ab61f,_0xefed4c,_0xba3b3b,_0xaa0d99,_0x4dcf66,_0x364be6,_0xc22134),A(this,_0x4613b6(0x373),_0x4613b6(0x1f0)),A(this,_0x4613b6(0x34d),0x0),A(this,_0x4613b6(0x399)),A(this,_0x4613b6(0x1b5)),(this[_0x4613b6(0x262)]=_0x16293c,this['_logService']=_0x532263,this[_0x4613b6(0x171)]=_0x4aac1e,this[_0x4613b6(0x486)]=_0xc22134,_0x38cbdc&&(this[_0x4613b6(0x399)]=_0x38cbdc,this[_0x4613b6(0x1b5)]=this[_0x4613b6(0x399)]['subscribe'](({reqId:_0xf5d41d,timeout:_0x594adc})=>{var _0x1c328d=_0x4613b6;this[_0x1c328d(0x38a)](_0xf5d41d,_0x594adc);})));}[_0xb98a65(0x2c9)](_0xcbdcb3){var _0x11ad4c=_0xb98a65;return this[_0x11ad4c(0x1cd)][_0x11ad4c(0x360)](_0xcbdcb3),this;}[_0xb98a65(0x30a)](_0x4bb685){var _0x2e9baf=_0xb98a65;if(this[_0x2e9baf(0x435)](_0x4bb685))return this['_clearScheduledTask'](),this[_0x2e9baf(0x262)][_0x2e9baf(0x2db)](exports[_0x2e9baf(0x3a7)],this[_0x2e9baf(0x173)],this[_0x2e9baf(0x2a8)],this[_0x2e9baf(0x2b7)],this[_0x2e9baf(0x1cd)],null,[_0x4bb685],this[_0x2e9baf(0x26c)]);try{const _0x490e26=this['_transformService'][_0x2e9baf(0x164)]([_0x4bb685],[this[_0x2e9baf(0x2b7)]],!0x1);if(p['isTransformChangesetsSuccess'](_0x490e26)){const {c1Prime:_0x3d8a9d,c2Prime:_0x44d740}=_0x490e26,_0x42bb4b=this[_0x2e9baf(0x171)][_0x2e9baf(0x48c)](_0x3d8a9d[0x0],this[_0x2e9baf(0x1cd)]);if(p[_0x2e9baf(0x1b4)](_0x42bb4b)){const {c1Prime:_0x13cc99,m2Prime:_0x56390a}=_0x42bb4b;return this['_executeRemoteChangeset'](_0x13cc99),_0x44d740[0x0][_0x2e9baf(0x20b)]=this['_getCurrentRevision'](),this[_0x2e9baf(0x1d0)](),this[_0x2e9baf(0x262)][_0x2e9baf(0x2db)](exports[_0x2e9baf(0x225)],this[_0x2e9baf(0x173)],this[_0x2e9baf(0x2a8)],_0x44d740[0x0],_0x56390a,this[_0x2e9baf(0x26c)],void 0x0);}throw _0x42bb4b[_0x2e9baf(0x3b4)];}throw _0x490e26['error'];}catch(_0x200048){return this[_0x2e9baf(0x380)][_0x2e9baf(0x3b4)](_0x200048),this[_0x2e9baf(0x394)](!0x1);}}['onRemoteAck'](_0x586010){var _0x42d107=_0xb98a65;if(this[_0x42d107(0x1d0)](),this['_checkMissing'](_0x586010))return this[_0x42d107(0x262)]['createInstance'](exports[_0x42d107(0x3a7)],this[_0x42d107(0x173)],this[_0x42d107(0x2a8)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0x1f4836=this[_0x42d107(0x262)][_0x42d107(0x2db)](exports[_0x42d107(0x277)],this[_0x42d107(0x173)],this[_0x42d107(0x2a8)],this[_0x42d107(0x1cd)],this[_0x42d107(0x26c)]);return _0x1f4836[_0x42d107(0x2e7)](),_0x1f4836[_0x42d107(0x284)](),_0x1f4836;}[_0xb98a65(0x229)](_0x53b2b7){var _0x10dc17=_0xb98a65;return this[_0x10dc17(0x394)](!!(_0x53b2b7!=null&&_0x53b2b7[_0x10dc17(0x17f)]));}[_0xb98a65(0x1a3)](_0x41f7fe){var _0x4e177f=_0xb98a65;return this[_0x4e177f(0x34d)]>Rt?this[_0x4e177f(0x2d2)]():(this[_0x4e177f(0x399)]=bt(this['_resendTimeout'],{'timeout':this[_0x4e177f(0x34d)],'reqId':_0x41f7fe[_0x4e177f(0x1a9)]}),this['_sender']=this[_0x4e177f(0x399)][_0x4e177f(0x20a)](({reqId:_0x331d23,timeout:_0x1021c4})=>{var _0x149b83=_0x4e177f;this[_0x149b83(0x38a)](_0x331d23,_0x1021c4);}),this);}[_0xb98a65(0x2d2)](){var _0x4fc1fa=_0xb98a65;return this[_0x4fc1fa(0x1d0)](),this[_0x4fc1fa(0x262)][_0x4fc1fa(0x2db)](exports[_0x4fc1fa(0x1b8)],this[_0x4fc1fa(0x173)],this[_0x4fc1fa(0x2a8)],this[_0x4fc1fa(0x2b7)],this['_pendingMutations'],this[_0x4fc1fa(0x26c)]);}[_0xb98a65(0x1fd)](){return this;}[_0xb98a65(0x211)](){var _0x36f4a1=_0xb98a65;this[_0x36f4a1(0x26c)][_0x36f4a1(0x35e)](this[_0x36f4a1(0x2b7)]);}[_0xb98a65(0x394)](_0x41e35e){var _0x4cc1bd=_0xb98a65;return this['_clearScheduledTask'](),this[_0x4cc1bd(0x262)][_0x4cc1bd(0x2db)](exports[_0x4cc1bd(0x44d)],this['unitID'],this[_0x4cc1bd(0x2a8)],null,this[_0x4cc1bd(0x1cd)],this[_0x4cc1bd(0x26c)],_0x41e35e);}[_0xb98a65(0x38a)](_0x43ad39,_0x5e0c6d){var _0x40bf16=_0xb98a65,_0x2f2be5;_0x43ad39===((_0x2f2be5=this[_0x40bf16(0x2b7)])==null?void 0x0:_0x2f2be5[_0x40bf16(0x1a9)])&&(this[_0x40bf16(0x211)](),this[_0x40bf16(0x34d)]=_0x5e0c6d===0x0?0x3e8:_0x5e0c6d*0x2);}[_0xb98a65(0x1d0)](){var _0x3dd1bb=_0xb98a65,_0x3a3a77;(_0x3a3a77=this['_sender'])==null||_0x3a3a77[_0x3dd1bb(0x241)](),this[_0x3dd1bb(0x34d)]=0x0;}},exports[_0xb98a65(0x225)]=ae([L(0x6,a[_0xb98a65(0x42e)](a[_0xb98a65(0x39f)])),L(0x7,a[_0xb98a65(0x42e)](p[_0xb98a65(0x2d6)])),L(0x8,a[_0xb98a65(0x437)]),L(0x9,a[_0xb98a65(0x423)]),L(0xa,p[_0xb98a65(0x334)]),L(0xb,a[_0xb98a65(0x458)]),L(0xc,a[_0xb98a65(0x3d1)](q))],exports[_0xb98a65(0x225)]),exports['ConflictState']=class extends ce{constructor(_0x176e2c,_0x23dd3c,_0x1aa0a3,_0x24c829,_0x59083a,_0x5d1599=!0x1,_0x1ab4fa,_0x2342a6,_0x5c6725,_0x2455f5,_0x48f154,_0x43b984,_0x55cebc){var _0x4aafb4=_0xb98a65;super(_0x176e2c,_0x23dd3c,_0x1aa0a3,_0x24c829,_0x59083a,_0x2342a6,_0x5c6725,_0x2455f5,_0x55cebc),A(this,_0x4aafb4(0x373),_0x4aafb4(0x1b6)),(this[_0x4aafb4(0x400)]=_0x5d1599,this[_0x4aafb4(0x3a2)]=_0x1ab4fa,this[_0x4aafb4(0x260)]=_0x48f154,this['_collaborationUIEventService']=_0x43b984,this[_0x4aafb4(0x486)]=_0x55cebc,this[_0x4aafb4(0x465)](),this['_clearLocalCache'](),this['_disableEditing']());}['appendMutation'](){return this;}[_0xb98a65(0x30a)](){return this;}[_0xb98a65(0x261)](){return this;}[_0xb98a65(0x229)](){return this;}[_0xb98a65(0x1a3)](){return this;}[_0xb98a65(0x2d2)](){return this;}[_0xb98a65(0x1fd)](){return this;}[_0xb98a65(0x211)](){var _0x31c8f3=_0xb98a65;throw new Error(_0x31c8f3(0x29a));}[_0xb98a65(0x3a1)](){var _0x3b20e0=_0xb98a65,_0xfcc4d7;(_0xfcc4d7=this[_0x3b20e0(0x2cd)])==null||_0xfcc4d7['updateOfflineData'](this['unitID'],this[_0x3b20e0(0x2a8)],null,[]);}[_0xb98a65(0x465)](){var _0x16d4a3=_0xb98a65;this[_0x16d4a3(0x400)]?this['_collaborationUIEventService'][_0x16d4a3(0x47c)]({'id':Z[_0x16d4a3(0x45f)]}):this[_0x16d4a3(0x1bc)]['emitEvent']({'id':Z[_0x16d4a3(0x206)]});}[_0xb98a65(0x44f)](){var _0x237b1e=_0xb98a65;this['_permissionService']['updatePermissionPoint'](new X[(_0x237b1e(0x430))](this[_0x237b1e(0x173)])['id'],!0x1);}},exports[_0xb98a65(0x44d)]=ae([L(0x6,a['Inject'](a[_0xb98a65(0x3b6)])),L(0x7,a[_0xb98a65(0x437)]),L(0x8,a[_0xb98a65(0x458)]),L(0x9,a[_0xb98a65(0x42e)](p[_0xb98a65(0x2d6)])),L(0xa,a[_0xb98a65(0x42e)](a[_0xb98a65(0x2b5)])),L(0xb,a[_0xb98a65(0x42e)](ee)),L(0xc,a[_0xb98a65(0x3d1)](q))],exports[_0xb98a65(0x44d)]),exports[_0xb98a65(0x1b8)]=class extends ce{constructor(_0x33b597,_0x462cdd,_0x44d4f1,_0x56e8e7,_0xdce4c2,_0x24d8cf,_0x55bc01,_0x396f37,_0x10ed60,_0x37a44e){var _0x5ca62f=_0xb98a65;super(_0x33b597,_0x462cdd,_0x44d4f1,_0x56e8e7,_0xdce4c2,_0x396f37,_0x10ed60,_0x55bc01,_0x37a44e),A(this,_0x5ca62f(0x373),_0x5ca62f(0x276)),this[_0x5ca62f(0x262)]=_0x24d8cf;}['appendMutation'](_0x9a16db){var _0x295510=_0xb98a65;return this[_0x295510(0x1cd)][_0x295510(0x360)](_0x9a16db),this[_0x295510(0x284)](),this;}[_0xb98a65(0x30a)](_0x3887fd){var _0xeba76c=_0xb98a65;throw new Error(_0xeba76c(0x1e4));}['onRemoteAck'](){var _0x56e504=_0xb98a65;throw new Error(_0x56e504(0x1fa));}[_0xb98a65(0x229)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0xb98a65(0x1a3)](){return this;}[_0xb98a65(0x2d2)](){return this;}['toggleOnline'](){var _0x2133b8=_0xb98a65;const {_injector:_0x1ad392,_pendingMutations:_0x219468,_awaitingChangeset:_0x38b60c,unitID:_0x499900,_handler:_0x1dac56,type:_0x337cc0}=this,_0x1010e2=Ot(_0x1ad392,_0x499900,_0x337cc0,_0x38b60c,_0x219468,_0x1dac56);return _0x1010e2 instanceof exports[_0x2133b8(0x277)]?_0x1010e2[_0x2133b8(0x2e7)]():(_0x1010e2 instanceof exports['AwaitingWithPendingState']||_0x1010e2 instanceof exports[_0x2133b8(0x310)])&&_0x1010e2[_0x2133b8(0x211)](),_0x1010e2;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},exports[_0xb98a65(0x1b8)]=ae([L(0x5,a[_0xb98a65(0x42e)](a['Injector'])),L(0x6,a[_0xb98a65(0x42e)](p['RevisionService'])),L(0x7,a['ICommandService']),L(0x8,a[_0xb98a65(0x458)]),L(0x9,a[_0xb98a65(0x3d1)](q))],exports[_0xb98a65(0x1b8)]),exports[_0xb98a65(0x3a7)]=class extends ce{constructor(_0x2c63b0,_0x567b01,_0x1acdd6,_0x442483,_0x3a1a82,_0x252ef7,_0x3e15c3,_0xb68dda,_0x26512c,_0xd93c5c,_0x5c5448,_0x5cf6cd,_0x3f392a,_0x4a4de2){var _0x1a6079=_0xb98a65;super(_0x2c63b0,_0x567b01,_0x1acdd6,_0x442483,_0x3e15c3,_0x5c5448,_0x5cf6cd,_0x26512c,_0x4a4de2),A(this,_0x1a6079(0x373),'fetch_missing'),(this[_0x1a6079(0x29e)]=_0x3a1a82,this[_0x1a6079(0x3fb)]=_0x252ef7,this[_0x1a6079(0x262)]=_0xb68dda,this[_0x1a6079(0x380)]=_0xd93c5c,this[_0x1a6079(0x171)]=_0x3f392a,this[_0x1a6079(0x486)]=_0x4a4de2);}['onMissedChangesetFetched'](_0x31bae1){var _0x17c15b=_0xb98a65;try{const _0x2a3240=[..._0x31bae1,...this[_0x17c15b(0x3fb)]],_0x55afda=[this[_0x17c15b(0x2b7)]||this[_0x17c15b(0x29e)]][_0x17c15b(0x2fd)](_0x1eb8fb=>!!_0x1eb8fb);let _0x5405f7,_0x1211da;if(_0x55afda[_0x17c15b(0x1cf)]){const _0x1cae63=this['_transformService'][_0x17c15b(0x164)](_0x2a3240,_0x55afda,!0x1);if(!p['isTransformChangesetsSuccess'](_0x1cae63))throw _0x1cae63['error'];_0x5405f7=_0x1cae63['c1Prime'],_0x1211da=_0x1cae63[_0x17c15b(0x44b)];}else _0x5405f7=_0x2a3240,_0x1211da=[];let _0x5cbf4d=this[_0x17c15b(0x1cd)];_0x5405f7[_0x17c15b(0x304)](_0x37dc44=>{var _0x530875=_0x17c15b;let _0x2b572a;if(_0x5cbf4d['length']){const _0x46ffce=this[_0x530875(0x171)][_0x530875(0x48c)](_0x37dc44,_0x5cbf4d);if(!p[_0x530875(0x1b4)](_0x46ffce))throw _0x46ffce[_0x530875(0x3b4)];_0x2b572a=_0x46ffce[_0x530875(0x30e)],_0x5cbf4d=_0x46ffce[_0x530875(0x1eb)];}else _0x2b572a=_0x37dc44;this[_0x530875(0x14f)](_0x2b572a);}),this[_0x17c15b(0x29e)]&&this[_0x17c15b(0x432)](),this[_0x17c15b(0x2b7)]&&_0x1211da['length']&&(_0x1211da[0x0][_0x17c15b(0x20b)]=this[_0x17c15b(0x1e3)]());let _0x1440ad;if(this[_0x17c15b(0x2b7)]&&_0x5cbf4d['length']!==0x0)_0x1440ad=this['_injector'][_0x17c15b(0x2db)](exports[_0x17c15b(0x225)],this[_0x17c15b(0x173)],this['type'],_0x1211da[0x0],_0x5cbf4d,this[_0x17c15b(0x26c)],void 0x0);else{if(this[_0x17c15b(0x2b7)]&&_0x5cbf4d[_0x17c15b(0x1cf)]===0x0)_0x1211da[0x0][_0x17c15b(0x20b)]=this[_0x17c15b(0x1e3)](),_0x1440ad=this[_0x17c15b(0x262)][_0x17c15b(0x2db)](exports[_0x17c15b(0x310)],this[_0x17c15b(0x173)],this[_0x17c15b(0x2a8)],_0x1211da[0x0],this['_handler']);else{if(_0x5cbf4d['length']!==0x0){const _0x2b2440=this[_0x17c15b(0x262)][_0x17c15b(0x2db)](exports['PendingState'],this[_0x17c15b(0x173)],this[_0x17c15b(0x2a8)],_0x5cbf4d,this[_0x17c15b(0x26c)]);_0x2b2440['_schedule'](),_0x1440ad=_0x2b2440;}else _0x1440ad=this[_0x17c15b(0x262)][_0x17c15b(0x2db)](exports[_0x17c15b(0x46f)],this[_0x17c15b(0x173)],this[_0x17c15b(0x2a8)],this[_0x17c15b(0x26c)]);}}return _0x1440ad[_0x17c15b(0x284)](),_0x1440ad;}catch(_0x3b778c){return this[_0x17c15b(0x380)][_0x17c15b(0x3b4)]('[FetchMissState]',_0x17c15b(0x34b),_0x3b778c),this['_injector'][_0x17c15b(0x2db)](exports[_0x17c15b(0x44d)],this['unitID'],this[_0x17c15b(0x2a8)],this[_0x17c15b(0x2b7)],this[_0x17c15b(0x1cd)],this[_0x17c15b(0x26c)],!0x1);}}[_0xb98a65(0x211)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xb98a65(0x2c9)](_0x4c400e){var _0x5168df=_0xb98a65;return this[_0x5168df(0x1cd)]['push'](_0x4c400e),this;}[_0xb98a65(0x30a)](_0x2d5bd5){return this['_queuedRemoteChangesets']['push'](_0x2d5bd5),this;}['onRemoteAck'](_0x65e404){var _0x1ca954=_0xb98a65;if(this['_awaitingChangeset'])return this[_0x1ca954(0x29e)]=this[_0x1ca954(0x2b7)],this[_0x1ca954(0x2b7)]=null,this;throw new Error(_0x1ca954(0x40d));}['onRemoteRej'](_0x3ee554){var _0x10ae41=_0xb98a65;return this['_onConflict'](!!(_0x3ee554!=null&&_0x3ee554[_0x10ae41(0x17f)]));}[_0xb98a65(0x1a3)](){return this;}[_0xb98a65(0x2d2)](){var _0x311601=_0xb98a65;return this[_0x311601(0x262)]['createInstance'](exports[_0x311601(0x1b8)],this[_0x311601(0x173)],this[_0x311601(0x2a8)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x311601(0x26c)]);}[_0xb98a65(0x1fd)](){return this;}['_onConflict'](_0x371e0f){var _0x230a7d=_0xb98a65;return this['_injector']['createInstance'](exports[_0x230a7d(0x44d)],this['unitID'],this[_0x230a7d(0x2a8)],this[_0x230a7d(0x2b7)],this[_0x230a7d(0x1cd)],this[_0x230a7d(0x26c)],_0x371e0f);}},exports[_0xb98a65(0x3a7)]=ae([L(0x7,a[_0xb98a65(0x42e)](a[_0xb98a65(0x39f)])),L(0x8,a[_0xb98a65(0x42e)](p[_0xb98a65(0x2d6)])),L(0x9,a['ILogService']),L(0xa,a[_0xb98a65(0x437)]),L(0xb,a['IUndoRedoService']),L(0xc,p[_0xb98a65(0x334)]),L(0xd,a[_0xb98a65(0x3d1)](q))],exports[_0xb98a65(0x3a7)]);function Ot(_0x2f5f8f,_0x54d6b1,_0x5debbb,_0x29fa91,_0xae6d78,_0x3db76f){var _0x582f9d=_0xb98a65;return _0x29fa91&&_0xae6d78['length']?_0x2f5f8f['createInstance'](exports['AwaitingWithPendingState'],_0x54d6b1,_0x5debbb,_0x29fa91,_0xae6d78,_0x3db76f,void 0x0):_0x29fa91?_0x2f5f8f[_0x582f9d(0x2db)](exports['AwaitingState'],_0x54d6b1,_0x5debbb,_0x29fa91,_0x3db76f):_0xae6d78[_0x582f9d(0x1cf)]?_0x2f5f8f[_0x582f9d(0x2db)](exports[_0x582f9d(0x277)],_0x54d6b1,_0x5debbb,_0xae6d78,_0x3db76f):_0x2f5f8f[_0x582f9d(0x2db)](exports[_0x582f9d(0x46f)],_0x54d6b1,_0x5debbb,_0x3db76f);}var vi=Object['getOwnPropertyDescriptor'],Fe=(_0x4088aa,_0xb32dd7,_0x4b632e,_0x534dfa)=>{var _0x5f2eae=_0xb98a65;for(var _0x5618f6=_0x534dfa>0x1?void 0x0:_0x534dfa?vi(_0xb32dd7,_0x4b632e):_0xb32dd7,_0x11c928=_0x4088aa[_0x5f2eae(0x1cf)]-0x1,_0x5ae98a;_0x11c928>=0x0;_0x11c928--)(_0x5ae98a=_0x4088aa[_0x11c928])&&(_0x5618f6=_0x5ae98a(_0x5618f6)||_0x5618f6);return _0x5618f6;},j=(_0x5056db,_0x3dbcff)=>(_0x114e32,_0xec6229)=>_0x3dbcff(_0x114e32,_0xec6229,_0x5056db);exports[_0xb98a65(0x2a4)]=class extends a['RxDisposable']{constructor(_0x1bc690,_0x1099ae,_0x331cff,_0x455e1c,_0x5799b7,_0x2b0c93,_0xb2f563,_0x5be051,_0xbf6598,_0x17b304,_0x2ac252,_0x431c95,_0x1ce54e){var _0x2abb4c=_0xb98a65;super(),A(this,_0x2abb4c(0x148),new $[(_0x2abb4c(0x38c))](null)),A(this,_0x2abb4c(0x351),this[_0x2abb4c(0x148)]['asObservable']()),A(this,_0x2abb4c(0x45e)),A(this,'_collaborationPaused',!0x1),A(this,_0x2abb4c(0x290),''),A(this,_0x2abb4c(0x477),0x0),A(this,_0x2abb4c(0x23a),this['state$'][_0x2abb4c(0x490)]($[_0x2abb4c(0x442)](_0x59a53e=>_0x59a53e?_0x59a53e['status']:Be[_0x2abb4c(0x416)]),$[_0x2abb4c(0x433)](0x1))),A(this,_0x2abb4c(0x357),!0x1),A(this,_0x2abb4c(0x235),[]),(this[_0x2abb4c(0x173)]=_0x1bc690,this[_0x2abb4c(0x469)]=_0x1099ae,this[_0x2abb4c(0x33e)]=_0x331cff,this[_0x2abb4c(0x262)]=_0x455e1c,this[_0x2abb4c(0x40e)]=_0x5799b7,this[_0x2abb4c(0x260)]=_0x2b0c93,this[_0x2abb4c(0x160)]=_0xb2f563,this[_0x2abb4c(0x24f)]=_0x5be051,this[_0x2abb4c(0x380)]=_0xbf6598,this[_0x2abb4c(0x1d7)]=_0x17b304,this[_0x2abb4c(0x3a2)]=_0x2ac252,this[_0x2abb4c(0x302)]=_0x431c95,this[_0x2abb4c(0x2cd)]=_0x1ce54e);}get[_0xb98a65(0x338)](){var _0xddc995=_0xb98a65;return this[_0xddc995(0x45e)];}async['init'](){var _0xd4d73d=_0xb98a65;if(this[_0xd4d73d(0x338)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0xd4d73d(0x2e3)]();}[_0xb98a65(0x3f8)](){var _0x176e90=_0xb98a65;return this[_0x176e90(0x14c)]=!0x0,a['toDisposable'](()=>{var _0x4743b0=_0x176e90;this[_0x4743b0(0x14c)]=!0x1,this[_0x4743b0(0x3c8)]();});}[_0xb98a65(0x44c)](_0x8a430){var _0x262c29=_0xb98a65;this[_0x262c29(0x483)](_0x8a430);}[_0xb98a65(0x4b5)](_0xbcd974){var _0xf5186e=_0xb98a65;this[_0xf5186e(0x45e)]=_0xbcd974,this[_0xf5186e(0x148)][_0xf5186e(0x3a3)](_0xbcd974);}async[_0xb98a65(0x2e3)](){var _0x32e722=_0xb98a65,_0x1fd6d4;this['_updateState'](await this[_0x32e722(0x38e)]()),this['_singleActiveUnitService']&&((_0x1fd6d4=this[_0x32e722(0x302)])==null||_0x1fd6d4[_0x32e722(0x457)](this['unitID']),this[_0x32e722(0x223)](this[_0x32e722(0x302)][_0x32e722(0x2e9)](this[_0x32e722(0x173)])[_0x32e722(0x20a)](_0x40b249=>{var _0x40673=_0x32e722;this['_logService'][_0x40673(0x16f)](_0x40673(0x1ff),'editing\x20status\x20changed\x20to',_0x40b249),_0x40b249===je[_0x40673(0x30f)]?(this[_0x40673(0x24f)]['emitEvent']({'id':Z[_0x40673(0x4aa)]}),this[_0x40673(0x3a2)][_0x40673(0x2de)](new X['WorkbookEditablePermission'](this[_0x40673(0x173)])['id'],!0x1),this[_0x40673(0x3a2)][_0x40673(0x3b7)](!0x1)):(this[_0x40673(0x3a2)]['updatePermissionPoint'](new X[(_0x40673(0x430))](this[_0x40673(0x173)])['id'],!0x0),this[_0x40673(0x3a2)][_0x40673(0x3b7)](!0x0));})));let _0x3063ca=!0x1;return this['disposeWithMe'](this[_0x32e722(0x469)][_0x32e722(0x2c6)]['subscribe'](_0x333384=>{var _0xd2771f=_0x32e722;_0x333384===re[_0xd2771f(0x217)]?this['_toggleOnline'](_0x3063ca):_0x333384===re[_0xd2771f(0x416)]&&(_0x3063ca=!0x0,this[_0xd2771f(0x2e0)]());})),this['disposeWithMe'](this[_0x32e722(0x469)][_0x32e722(0x3db)][_0x32e722(0x20a)](_0x35a487=>{var _0xa0c77b=_0x32e722;try{switch(_0x35a487[_0xa0c77b(0x20c)]){case p['CollaborationEvent'][_0xa0c77b(0x3f1)]:{this[_0xa0c77b(0x46c)](p[_0xa0c77b(0x461)](_0x35a487[_0xa0c77b(0x22b)]));break;}case p['CollaborationEvent'][_0xa0c77b(0x152)]:{this[_0xa0c77b(0x3af)](_0x35a487[_0xa0c77b(0x22b)]);break;}case p[_0xa0c77b(0x29d)][_0xa0c77b(0x3be)]:{this[_0xa0c77b(0x32f)]();break;}case p['CollaborationEvent'][_0xa0c77b(0x1d3)]:{this[_0xa0c77b(0x3df)](_0x35a487[_0xa0c77b(0x22b)]);break;}case p['CollaborationEvent'][_0xa0c77b(0x374)]:{this['_onFetchMissResult'](_0x35a487[_0xa0c77b(0x22b)][_0xa0c77b(0x15e)][_0xa0c77b(0x442)](_0x2e8a5a=>p[_0xa0c77b(0x461)](_0x2e8a5a)));break;}case p['CollaborationEvent'][_0xa0c77b(0x1c3)]:{this[_0xa0c77b(0x32f)]({'isPermissionRej':!0x0});break;}case p[_0xa0c77b(0x29d)]['UNISCRIPT_RUN']:break;}}catch(_0x1a80cf){throw console[_0xa0c77b(0x3b4)](_0xa0c77b(0x485),_0x1a80cf),_0x1a80cf;}})),this[_0x32e722(0x45e)];}[_0xb98a65(0x3ec)](){var _0x4000c9=_0xb98a65;this[_0x4000c9(0x357)]=!0x1;}['_lockTransition'](){var _0x508c96=_0xb98a65;if(this[_0x508c96(0x357)])throw new Error(_0x508c96(0x169));this['_transitionLocked']=!0x0;}[_0xb98a65(0x483)](_0x567dc5){var _0x517512=_0xb98a65;this[_0x517512(0x285)](),this[_0x517512(0x4b5)](this[_0x517512(0x45e)][_0x517512(0x2c9)](_0x567dc5)),this[_0x517512(0x3ec)]();}[_0xb98a65(0x46c)](_0x5696a1){var _0x1ee585=_0xb98a65;if(!(_0x5696a1['revision']<=this['_revisionService'][_0x1ee585(0x2a5)](this[_0x1ee585(0x173)]))){if(this['_collaborationPaused']){this['_remoteChangesetQueue']['push'](_0x5696a1);return;}this[_0x1ee585(0x22d)](_0x5696a1);}}[_0xb98a65(0x3c8)](){var _0x104b0c=_0xb98a65;this[_0x104b0c(0x235)][_0x104b0c(0x304)](_0x40423e=>this[_0x104b0c(0x22d)](_0x40423e)),this[_0x104b0c(0x235)]=[];}[_0xb98a65(0x22d)](_0x5653d3){var _0x10d69e=_0xb98a65;const _0xbc0474=this['_compressMutationService'][_0x10d69e(0x154)][_0x10d69e(0x249)](this[_0x10d69e(0x40e)][_0x10d69e(0x154)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x5653d3[_0x10d69e(0x282)],null)||_0x5653d3['mutations'],_0x463804={..._0x5653d3,'mutations':_0xbc0474};this[_0x10d69e(0x285)](),this['_updateState'](this[_0x10d69e(0x45e)][_0x10d69e(0x30a)](_0x463804)),this[_0x10d69e(0x3ec)]();}[_0xb98a65(0x3af)](_0x3074c2){var _0x2488e2=_0xb98a65;this[_0x2488e2(0x285)](),this[_0x2488e2(0x4b5)](this['_state'][_0x2488e2(0x261)](_0x3074c2)),this[_0x2488e2(0x3ec)]();}[_0xb98a65(0x32f)](_0x2cd989){var _0x34fc67=_0xb98a65;this[_0x34fc67(0x285)](),this[_0x34fc67(0x4b5)](this['_state'][_0x34fc67(0x229)](_0x2cd989)),this[_0x34fc67(0x3ec)]();}['_onRemoteRetry'](_0x5affac){var _0x1590c2=_0xb98a65;this[_0x1590c2(0x285)](),this[_0x1590c2(0x4b5)](this['_state']['onRemoteRetry'](_0x5affac)),this['_unlockTransition']();}['_onFetchMissResult'](_0x1bf08d){var _0x39bc37=_0xb98a65;if(!(this[_0x39bc37(0x45e)]instanceof exports['FetchingMissState']))throw new TypeError(_0x39bc37(0x2f2));const _0x1dd60f=_0x1bf08d['map'](_0x4f3c00=>{var _0x289039=_0x39bc37;const _0x162cdf=this['_compressMutationService'][_0x289039(0x154)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x289039(0x154)]['getInterceptPoints']()[_0x289039(0x25d)])(_0x4f3c00[_0x289039(0x282)],null)||_0x4f3c00[_0x289039(0x282)];return{..._0x4f3c00,'mutations':_0x162cdf};});this[_0x39bc37(0x285)](),this[_0x39bc37(0x4b5)](this[_0x39bc37(0x45e)][_0x39bc37(0x1bf)](_0x1dd60f)),this[_0x39bc37(0x3ec)]();}[_0xb98a65(0x2e0)](){var _0x19bcb3=_0xb98a65;this[_0x19bcb3(0x285)](),this['_updateState'](this[_0x19bcb3(0x45e)]['toggleOffline']()),this['_unlockTransition']();}[_0xb98a65(0x2d4)](_0x2a2fa6=!0x1){var _0x8567ba=_0xb98a65;this[_0x8567ba(0x285)](),this[_0x8567ba(0x4b5)](this['_state'][_0x8567ba(0x1fd)]()),this[_0x8567ba(0x3ec)]();const _0x111c1a=this['_state'];_0x2a2fa6&&_0x111c1a instanceof exports[_0x8567ba(0x46f)]&&(this[_0x8567ba(0x285)](),this[_0x8567ba(0x4b5)](_0x111c1a[_0x8567ba(0x2e2)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x5781b5=>{var _0x5339f6=_0x5981;this[_0x5339f6(0x469)]['sessionStatus$'][_0x5339f6(0x490)]($[_0x5339f6(0x167)](0x1))[_0x5339f6(0x20a)](async _0x3621ef=>{var _0x4c98fd=_0x5339f6;_0x5781b5(await this[_0x4c98fd(0x389)](_0x3621ef===re[_0x4c98fd(0x217)]));});});}[_0xb98a65(0x193)](){var _0x586235=_0xb98a65;const _0x26729e=this[_0x586235(0x173)];return{'onStateChange':(_0x4dc6a2,_0x167230)=>{var _0x5f5262=_0x586235;if(_0x4dc6a2!==this[_0x5f5262(0x45e)])throw new Error(_0x5f5262(0x40a)+_0x4dc6a2['status']+_0x5f5262(0x195)+_0x167230['status']+_0x5f5262(0x482)+this[_0x5f5262(0x45e)][_0x5f5262(0x373)]);this[_0x5f5262(0x4b5)](_0x167230);},'onSendChangeset':_0x5dcb69=>{var _0x40c72a=_0x586235;_0x5dcb69[_0x40c72a(0x1c0)]||(_0x5dcb69[_0x40c72a(0x1c0)]=this[_0x40c72a(0x290)],_0x5dcb69['reqId']=++this[_0x40c72a(0x477)]);const _0x96d7a2={'eventID':p[_0x40c72a(0x29d)]['SUBMIT_CHANGESET'],'data':{'unitID':_0x5dcb69[_0x40c72a(0x173)],'unitType':this[_0x40c72a(0x33e)],'changeset':_0x5dcb69,'memberID':this[_0x40c72a(0x469)][_0x40c72a(0x49c)]()}};this[_0x40c72a(0x469)][_0x40c72a(0x2da)](_0x96d7a2,this[_0x40c72a(0x173)]);},'onMissingChangesets':({from:_0x5d342c,to:_0x389ded})=>{var _0xd8baa3=_0x586235;this[_0xd8baa3(0x380)][_0xd8baa3(0x16f)](_0xd8baa3(0x1ff),'fetching\x20missing\x20changesets\x20from\x20'+_0x5d342c+_0xd8baa3(0x162)+_0x389ded);const _0x22d388={'eventID':p[_0xd8baa3(0x29d)][_0xd8baa3(0x190)],'data':{'unitID':_0x26729e,'unitType':this[_0xd8baa3(0x33e)],'from':_0x5d342c,'to':_0x389ded}};this['session'][_0xd8baa3(0x2da)](_0x22d388,this[_0xd8baa3(0x173)]);}};}async['_createInitialStateImpl'](_0x2d1316){var _0x15d9d3=_0xb98a65,_0x4b87c9,_0x53e62b,_0x3efdc8;const _0x4a9b33=await((_0x4b87c9=this['_localCacheService'])==null?void 0x0:_0x4b87c9[_0x15d9d3(0x46e)](this['unitID'])),_0x252824=(_0x53e62b=_0x4a9b33==null?void 0x0:_0x4a9b33[_0x15d9d3(0x282)])!=null?_0x53e62b:[],_0xcb46b=(_0x3efdc8=_0x4a9b33==null?void 0x0:_0x4a9b33[_0x15d9d3(0x1c7)])!=null?_0x3efdc8:null,_0x46a538=!!(_0xcb46b!=null&&_0xcb46b[_0x15d9d3(0x1c0)])&&!!(_0xcb46b!=null&&_0xcb46b[_0x15d9d3(0x1a9)]);this[_0x15d9d3(0x290)]=_0x46a538?_0xcb46b[_0x15d9d3(0x1c0)]:p[_0x15d9d3(0x20e)](),this[_0x15d9d3(0x477)]=_0x46a538?_0xcb46b['reqId']:0x0;const _0x76e6ac=this[_0x15d9d3(0x173)];try{this[_0x15d9d3(0x197)](_0xcb46b,_0x252824);}catch(_0x291273){this[_0x15d9d3(0x380)][_0x15d9d3(0x3b4)](_0x291273);}const _0x420701=this[_0x15d9d3(0x193)]();if(_0x2d1316){const _0xcc4225=Ot(this[_0x15d9d3(0x262)],_0x76e6ac,this['_type'],_0xcb46b,_0x252824,_0x420701);return _0xcc4225 instanceof exports[_0x15d9d3(0x277)]?_0xcc4225['_schedule']():(_0xcc4225 instanceof exports[_0x15d9d3(0x225)]||_0xcc4225 instanceof exports[_0x15d9d3(0x310)])&&_0xcc4225['resend'](),_0xcc4225;}return this['_injector'][_0x15d9d3(0x2db)](exports[_0x15d9d3(0x1b8)],_0x76e6ac,this[_0x15d9d3(0x33e)],_0xcb46b,_0x252824,_0x420701);}['_replayCachedMutations'](_0x4d118b,_0x3f68ee){var _0x3fb86d=_0xb98a65,_0x303fa7,_0x341811;const _0x1a94ee=this[_0x3fb86d(0x40e)]['interceptor'][_0x3fb86d(0x249)](this[_0x3fb86d(0x40e)][_0x3fb86d(0x154)][_0x3fb86d(0x3d3)]()[_0x3fb86d(0x25d)]);(_0x303fa7=_0x1a94ee((_0x4d118b==null?void 0x0:_0x4d118b[_0x3fb86d(0x282)])||[],null))==null||_0x303fa7[_0x3fb86d(0x304)](_0x22ef0f=>this[_0x3fb86d(0x1d7)][_0x3fb86d(0x303)](_0x22ef0f['id'],_0x22ef0f['params'])),(_0x341811=_0x1a94ee(_0x3f68ee||[],null))==null||_0x341811[_0x3fb86d(0x304)](_0x1a1780=>this['_commandService'][_0x3fb86d(0x303)](_0x1a1780['id'],_0x1a1780[_0x3fb86d(0x42f)]));}},exports['CollaborationEntity']=Fe([j(0x3,a['Inject'](a['Injector'])),j(0x4,a[_0xb98a65(0x42e)](p[_0xb98a65(0x1bb)])),j(0x5,a[_0xb98a65(0x42e)](a[_0xb98a65(0x2b5)])),j(0x6,a[_0xb98a65(0x42e)](p[_0xb98a65(0x2d6)])),j(0x7,a['Inject'](ee)),j(0x8,a[_0xb98a65(0x423)]),j(0x9,a['ICommandService']),j(0xa,a[_0xb98a65(0x3b6)]),j(0xb,a[_0xb98a65(0x3d1)](de)),j(0xc,a[_0xb98a65(0x3d1)](q))],exports['CollaborationEntity']),exports[_0xb98a65(0x47d)]=class extends exports[_0xb98a65(0x2a4)]{constructor(_0x3a878f,_0x447dfb,_0xa9fc03,_0x5d7b1a,_0x38cc92,_0x58b0e7,_0xfa63d9,_0x40db38,_0x5a4f26,_0xfe3629,_0x58e824,_0x509053,_0x827ce2){var _0x33f23f=_0xb98a65;super(_0x3a878f,_0xa9fc03,_0x447dfb,_0x5d7b1a,_0x38cc92,_0x58b0e7,_0xfa63d9,_0x40db38,_0x5a4f26,_0xfe3629,_0x58e824,_0x509053,_0x827ce2),A(this,_0x33f23f(0x1f7),null),(this[_0x33f23f(0x173)]=_0x3a878f,this['type']=_0x447dfb);}[_0xb98a65(0x1f5)](_0x126feb){this['_handlerCallback']=_0x126feb;}['dispose'](){this['_handlerCallback']=null,super['dispose']();}[_0xb98a65(0x193)](){var _0x2be6c7=_0xb98a65;const _0x5ae9a3=super[_0x2be6c7(0x193)]();return _0x5ae9a3[_0x2be6c7(0x331)]=_0x4c743b=>{var _0x4a4c9b=_0x2be6c7,_0x4c7529,_0x56cd35;return(_0x56cd35=(_0x4c7529=this[_0x4a4c9b(0x1f7)])==null?void 0x0:_0x4c7529[_0x4a4c9b(0x331)])==null?void 0x0:_0x56cd35['call'](_0x4c7529,_0x4c743b);},_0x5ae9a3[_0x2be6c7(0x301)]=_0x49dccf=>{var _0xf82a54=_0x2be6c7,_0x5439ac,_0x522e78;return(_0x522e78=(_0x5439ac=this[_0xf82a54(0x1f7)])==null?void 0x0:_0x5439ac[_0xf82a54(0x301)])==null?void 0x0:_0x522e78['call'](_0x5439ac,_0x49dccf);},_0x5ae9a3['onTransformSelections']=_0x4efb78=>{var _0x1239e3=_0x2be6c7,_0x260bc6,_0x4ee1da;return(_0x4ee1da=(_0x260bc6=this[_0x1239e3(0x1f7)])==null?void 0x0:_0x260bc6['onTransformSelections'])==null?void 0x0:_0x4ee1da[_0x1239e3(0x4bf)](_0x260bc6,_0x4efb78);},_0x5ae9a3[_0x2be6c7(0x2b4)]=_0x4884e0=>{var _0x5b9be9=_0x2be6c7,_0x44ab27,_0xfe2222;return(_0xfe2222=(_0x44ab27=this[_0x5b9be9(0x1f7)])==null?void 0x0:_0x44ab27[_0x5b9be9(0x2b4)])==null?void 0x0:_0xfe2222[_0x5b9be9(0x4bf)](_0x44ab27,_0x4884e0);},_0x5ae9a3[_0x2be6c7(0x2ec)]=_0x2a913a=>{var _0x1f892e=_0x2be6c7,_0xdddd49,_0x438938,_0x343b0b;if(!((_0xdddd49=this[_0x1f892e(0x1f7)])!=null&&_0xdddd49[_0x1f892e(0x2ec)]))throw new Error(_0x1f892e(0x179));return(_0x343b0b=(_0x438938=this[_0x1f892e(0x1f7)])==null?void 0x0:_0x438938[_0x1f892e(0x2ec)])==null?void 0x0:_0x343b0b['call'](_0x438938,_0x2a913a);},_0x5ae9a3[_0x2be6c7(0x2f4)]=_0x467b48=>{var _0x3fd5be=_0x2be6c7,_0x5cb148,_0x4d62e5,_0x3f4e76;if(!((_0x5cb148=this[_0x3fd5be(0x1f7)])!=null&&_0x5cb148[_0x3fd5be(0x2f4)]))throw new Error(_0x3fd5be(0x37f));return(_0x3f4e76=(_0x4d62e5=this[_0x3fd5be(0x1f7)])==null?void 0x0:_0x4d62e5[_0x3fd5be(0x2f4)])==null?void 0x0:_0x3f4e76[_0x3fd5be(0x4bf)](_0x4d62e5,_0x467b48);},_0x5ae9a3;}async[_0xb98a65(0x2e3)](){var _0xd07c08=_0xb98a65;const _0x53aff9=await super[_0xd07c08(0x2e3)]();return this[_0xd07c08(0x223)](this[_0xd07c08(0x1d7)][_0xd07c08(0x1cc)]((_0x546f06,_0x3fc8f4)=>{var _0x4009ca=_0xd07c08;if(_0x546f06[_0x4009ca(0x2a8)]!==a[_0x4009ca(0x1de)][_0x4009ca(0x2d9)]||_0x3fc8f4!=null&&_0x3fc8f4['fromCollab']||_0x3fc8f4!=null&&_0x3fc8f4[_0x4009ca(0x150)]||_0x546f06['id']===ht[_0x4009ca(0x245)]['id'])return;const _0x184f51=_0x546f06[_0x4009ca(0x42f)];if((_0x184f51==null?void 0x0:_0x184f51[_0x4009ca(0x344)])!==this[_0x4009ca(0x173)])return;const _0x4dccd4=_0x546f06,_0x2365aa=this[_0x4009ca(0x40e)][_0x4009ca(0x154)][_0x4009ca(0x249)](this['_compressMutationService'][_0x4009ca(0x154)]['getInterceptPoints']()[_0x4009ca(0x1b1)])([_0x4dccd4],null)||[_0x4dccd4];this[_0x4009ca(0x483)](_0x2365aa[0x0]);})),_0x53aff9;}},exports[_0xb98a65(0x47d)]=Fe([j(0x3,a['Inject'](a['Injector'])),j(0x4,a[_0xb98a65(0x42e)](p['CompressMutationService'])),j(0x5,a[_0xb98a65(0x42e)](a[_0xb98a65(0x2b5)])),j(0x6,a[_0xb98a65(0x42e)](p[_0xb98a65(0x2d6)])),j(0x7,a[_0xb98a65(0x42e)](ee)),j(0x8,a[_0xb98a65(0x423)]),j(0x9,a[_0xb98a65(0x437)]),j(0xa,a[_0xb98a65(0x3b6)]),j(0xb,a[_0xb98a65(0x3d1)](de)),j(0xc,a['Optional'](q))],exports[_0xb98a65(0x47d)]),exports[_0xb98a65(0x3e4)]=class extends exports['CollaborationEntity']{constructor(_0x495360,_0x4f1cc3,_0x1361a0,_0x4e3334,_0x3256f2,_0x57a12d,_0x1e4268,_0x3c7e6e,_0x474de6,_0x17361f,_0x469660,_0x5bb46d,_0x49d14b,_0x20bc52){var _0x54abd1=_0xb98a65;super(_0x495360,_0x1361a0,_0x4f1cc3,_0x4e3334,_0x3256f2,_0x57a12d,_0x1e4268,_0x474de6,_0x17361f,_0x469660,_0x5bb46d,_0x49d14b,_0x20bc52),this[_0x54abd1(0x173)]=_0x495360,this[_0x54abd1(0x2a8)]=_0x4f1cc3,this[_0x54abd1(0x1f8)]=_0x3c7e6e;}[_0xb98a65(0x193)](){var _0x5ac705=_0xb98a65;const _0x374816=super['_createHandler']();return _0x374816[_0x5ac705(0x1ab)]=_0x1c6796=>this['_sheetTransformSelectionsService'][_0x5ac705(0x2d7)](_0x1c6796),_0x374816;}async[_0xb98a65(0x2e3)](){var _0x1410ab=_0xb98a65;const _0xa5538f=await super[_0x1410ab(0x2e3)]();return this[_0x1410ab(0x223)](this[_0x1410ab(0x1d7)]['onCommandExecuted']((_0xa4f3c3,_0x6783b8)=>{var _0x20ef75=_0x1410ab;if(_0xa4f3c3[_0x20ef75(0x2a8)]!==a[_0x20ef75(0x1de)][_0x20ef75(0x2d9)]||_0x6783b8!=null&&_0x6783b8['fromCollab']||_0x6783b8!=null&&_0x6783b8[_0x20ef75(0x150)])return;const _0x41280b=_0xa4f3c3[_0x20ef75(0x42f)];if((_0x41280b==null?void 0x0:_0x41280b['unitId'])!==this['unitID'])return;const _0x1159fd=_0xa4f3c3,_0x381399=this[_0x20ef75(0x40e)][_0x20ef75(0x154)][_0x20ef75(0x249)](this[_0x20ef75(0x40e)][_0x20ef75(0x154)][_0x20ef75(0x3d3)]()[_0x20ef75(0x1b1)])([_0x1159fd],null)||[_0x1159fd];this[_0x20ef75(0x483)](_0x381399[0x0]);})),_0xa5538f;}},exports[_0xb98a65(0x3e4)]=Fe([j(0x3,a['Inject'](a['Injector'])),j(0x4,a[_0xb98a65(0x42e)](p['CompressMutationService'])),j(0x5,a[_0xb98a65(0x42e)](a[_0xb98a65(0x2b5)])),j(0x6,a[_0xb98a65(0x42e)](p[_0xb98a65(0x2d6)])),j(0x7,a[_0xb98a65(0x42e)](exports[_0xb98a65(0x3a4)])),j(0x8,a[_0xb98a65(0x42e)](ee)),j(0x9,a[_0xb98a65(0x423)]),j(0xa,a[_0xb98a65(0x437)]),j(0xb,a['IPermissionService']),j(0xc,a[_0xb98a65(0x3d1)](de)),j(0xd,a[_0xb98a65(0x3d1)](q))],exports[_0xb98a65(0x3e4)]);var Si=Object[_0xb98a65(0x2b8)],fi=(_0x1825d9,_0x136650,_0x41c74b,_0x1b5445)=>{var _0x51c306=_0xb98a65;for(var _0x55c755=_0x1b5445>0x1?void 0x0:_0x1b5445?Si(_0x136650,_0x41c74b):_0x136650,_0x3be3c5=_0x1825d9[_0x51c306(0x1cf)]-0x1,_0xddfd93;_0x3be3c5>=0x0;_0x3be3c5--)(_0xddfd93=_0x1825d9[_0x3be3c5])&&(_0x55c755=_0xddfd93(_0x55c755)||_0x55c755);return _0x55c755;},Se=(_0x353236,_0x48b984)=>(_0x5816a4,_0xb0fe57)=>_0x48b984(_0x5816a4,_0xb0fe57,_0x353236);exports[_0xb98a65(0x42a)]=class extends a['RxDisposable']{constructor(_0x5182a2,_0x37b732,_0x7f105c,_0x59257a){var _0x1a4b8e=_0xb98a65,_0x5681cb;super(),A(this,_0x1a4b8e(0x21a),new Map()),A(this,_0x1a4b8e(0x213),new $[(_0x1a4b8e(0x3bd))]()),A(this,_0x1a4b8e(0x48f),this[_0x1a4b8e(0x213)][_0x1a4b8e(0x345)]()),(this['_injector']=_0x5182a2,this[_0x1a4b8e(0x2e5)]=_0x37b732,this[_0x1a4b8e(0x434)]=_0x7f105c,this[_0x1a4b8e(0x4c9)]=_0x59257a,((_0x5681cb=this[_0x1a4b8e(0x434)][_0x1a4b8e(0x3e6)](G))==null?void 0x0:_0x5681cb['enableCollaboration'])!==!0x1&&this[_0x1a4b8e(0x2e3)]());}[_0xb98a65(0x1d6)](){var _0x30eee8=_0xb98a65;super['dispose'](),this[_0x30eee8(0x21a)]['forEach'](_0x4d6ba7=>_0x4d6ba7[_0x30eee8(0x1d6)]()),this['_entities'][_0x30eee8(0x48a)]();}[_0xb98a65(0x41c)](_0x2f22aa){var _0x420a9c=_0xb98a65,_0x5aa33c;return(_0x5aa33c=this[_0x420a9c(0x21a)][_0x420a9c(0x324)](_0x2f22aa))!=null?_0x5aa33c:null;}[_0xb98a65(0x2d5)](_0x537045){var _0x1ad4c4=_0xb98a65;const _0x123cda=this[_0x1ad4c4(0x41c)](_0x537045);return _0x123cda?$['of'](_0x123cda):this[_0x1ad4c4(0x213)]['pipe'](V[_0x1ad4c4(0x2fd)](_0x18279b=>_0x18279b[_0x1ad4c4(0x173)]===_0x537045));}['readyForCollab'](_0x567045){var _0x30ec61=_0xb98a65;return $[_0x30ec61(0x3ee)](this['getCollabEntity$'](_0x567045)[_0x30ec61(0x490)](V['map'](()=>{})));}[_0xb98a65(0x2e3)](){var _0x3c2d47=_0xb98a65;this['_univerInstanceService'][_0x3c2d47(0x155)](a[_0x3c2d47(0x219)][_0x3c2d47(0x42b)])[_0x3c2d47(0x490)]($[_0x3c2d47(0x256)](this[_0x3c2d47(0x297)]),V[_0x3c2d47(0x2ab)](0x10))[_0x3c2d47(0x20a)](async _0x3bf265=>{var _0x451f8e=_0x3c2d47;const _0x339dd2=_0x3bf265[_0x451f8e(0x270)](),_0x5e8606=await this['_startCollaboration'](_0x339dd2,J[_0x451f8e(0x42b)]);this['_entities'][_0x451f8e(0x337)](_0x339dd2,_0x5e8606);}),this[_0x3c2d47(0x4c9)][_0x3c2d47(0x155)](a[_0x3c2d47(0x219)][_0x3c2d47(0x153)])[_0x3c2d47(0x490)]($[_0x3c2d47(0x256)](this[_0x3c2d47(0x297)]),V[_0x3c2d47(0x2ab)](0x10))[_0x3c2d47(0x490)](V['filter'](_0x3a752f=>!_0x3a752f[_0x3c2d47(0x270)]()['startsWith']('__')))[_0x3c2d47(0x20a)](async _0x462b0a=>{var _0x4f739d=_0x3c2d47;const _0xb019=_0x462b0a[_0x4f739d(0x270)](),_0x478e07=await this[_0x4f739d(0x27a)](_0xb019,J[_0x4f739d(0x153)]);this['_entities'][_0x4f739d(0x337)](_0xb019,_0x478e07);}),$['merge'](this[_0x3c2d47(0x4c9)][_0x3c2d47(0x3eb)](a[_0x3c2d47(0x219)]['UNIVER_SHEET']),this[_0x3c2d47(0x4c9)][_0x3c2d47(0x3eb)](a[_0x3c2d47(0x219)]['UNIVER_DOC']))['pipe']($[_0x3c2d47(0x256)](this[_0x3c2d47(0x297)]))[_0x3c2d47(0x20a)](_0x177c9a=>{var _0x5a2ef4=_0x3c2d47;const _0x2d5c6b=_0x177c9a[_0x5a2ef4(0x270)](),_0x23f3ad=this[_0x5a2ef4(0x21a)][_0x5a2ef4(0x324)](_0x2d5c6b);_0x23f3ad&&(_0x23f3ad[_0x5a2ef4(0x1d6)](),this[_0x5a2ef4(0x21a)][_0x5a2ef4(0x21f)](_0x2d5c6b));});}async[_0xb98a65(0x27a)](_0x5fc2d4,_0x505c65){var _0x553d00=_0xb98a65;const _0x255433=await this[_0x553d00(0x2e5)][_0x553d00(0x1e2)](_0x5fc2d4),_0xc60f53=this[_0x553d00(0x262)]['createInstance'](this[_0x553d00(0x19a)](_0x505c65),_0x5fc2d4,_0x505c65,_0x255433);return await _0xc60f53[_0x553d00(0x440)](),this['_entityInit$']['next'](_0xc60f53),_0xc60f53;}[_0xb98a65(0x19a)](_0x4031e3){var _0x164105=_0xb98a65;switch(_0x4031e3){case J['UNIVER_DOC']:return exports['DocCollaborationEntity'];case J[_0x164105(0x42b)]:return exports[_0x164105(0x3e4)];default:throw new Error(_0x164105(0x317)+_0x4031e3);}}},exports['CollaborationController']=fi([Se(0x0,a[_0xb98a65(0x42e)](a[_0xb98a65(0x39f)])),Se(0x1,a[_0xb98a65(0x42e)](exports[_0xb98a65(0x1a5)])),Se(0x2,a[_0xb98a65(0x2a1)]),Se(0x3,a[_0xb98a65(0x2bb)])],exports[_0xb98a65(0x42a)]);var Ii=Object[_0xb98a65(0x2b8)],pi=(_0x1eb192,_0x414b07,_0x1ea7a6,_0x2fdf1a)=>{var _0x481858=_0xb98a65;for(var _0x482d5f=_0x2fdf1a>0x1?void 0x0:_0x2fdf1a?Ii(_0x414b07,_0x1ea7a6):_0x414b07,_0x26ce76=_0x1eb192[_0x481858(0x1cf)]-0x1,_0x37a362;_0x26ce76>=0x0;_0x26ce76--)(_0x37a362=_0x1eb192[_0x26ce76])&&(_0x482d5f=_0x37a362(_0x482d5f)||_0x482d5f);return _0x482d5f;},Ke=(_0x3169f9,_0x4f27dc)=>(_0x59899d,_0x450010)=>_0x4f27dc(_0x59899d,_0x450010,_0x3169f9);const gi='DEFAULT_FILE_NAME',Ei='Univer';let xe=class extends a[_0xb98a65(0x43d)]{constructor(_0x4a839d,_0x43dccb){var _0x1f84cc=_0xb98a65;super(),this[_0x1f84cc(0x4c9)]=_0x4a839d,this[_0x1f84cc(0x434)]=_0x43dccb,this['_init']();}[_0xb98a65(0x2e3)](){var _0x4fb2ce=_0xb98a65;this[_0x4fb2ce(0x223)](this['_univerInstanceService'][_0x4fb2ce(0x31b)]['subscribe'](()=>{var _0x380528=_0x4fb2ce,_0x504a06;const _0xb43842=this[_0x380528(0x4c9)][_0x380528(0x294)]();let _0x5ed5dc=(_0x504a06=this['_configService'][_0x380528(0x3e6)](gi))!=null?_0x504a06:Ei;_0xb43842 instanceof a[_0x380528(0x411)]&&(_0x5ed5dc=_0xb43842[_0x380528(0x36a)]),document['title']=_0x5ed5dc;}));}};xe=pi([Ke(0x0,a[_0xb98a65(0x2bb)]),Ke(0x1,a['IConfigService'])],xe);var mi=Object[_0xb98a65(0x2b8)],Ci=(_0x5836aa,_0x3e6126,_0xf994a3,_0x331901)=>{for(var _0xb8b34=_0x331901>0x1?void 0x0:_0x331901?mi(_0x3e6126,_0xf994a3):_0x3e6126,_0x2914a6=_0x5836aa['length']-0x1,_0x1b9bf1;_0x2914a6>=0x0;_0x2914a6--)(_0x1b9bf1=_0x5836aa[_0x2914a6])&&(_0xb8b34=_0x1b9bf1(_0xb8b34)||_0xb8b34);return _0xb8b34;},Ae=(_0xc612f8,_0x13d8f6)=>(_0x484cf1,_0x28160d)=>_0x13d8f6(_0x484cf1,_0x28160d,_0xc612f8);let ye=class{constructor(_0x4aa3e1,_0x28c2b1,_0x2c3fdb){var _0x433a69=_0xb98a65;this['_configService']=_0x4aa3e1,this[_0x433a69(0x3b5)]=_0x28c2b1,this['localeService']=_0x2c3fdb,this[_0x433a69(0x440)]();}[_0xb98a65(0x440)](){var _0x10348a=_0xb98a65;this[_0x10348a(0x3b5)][_0x10348a(0x269)]({'priority':0x1,'interceptor':(_0x560387,_0x2c40a2)=>_0x2c40a2(_0x560387)[_0x10348a(0x490)]($['concatMap'](async _0x2b87d4=>{var _0x163780=_0x10348a;const _0x2ba18c=_0x2b87d4;if(_0x2ba18c['status']===0x191){if(typeof window>'u')throw new Error(_0x163780(0x4b3));if(window[_0x163780(0x361)](this[_0x163780(0x177)]['t'](_0x163780(0x2c3)))){const _0x2636e5=window['encodeURIComponent'](window[_0x163780(0x2c4)][_0x163780(0x481)]);window[_0x163780(0x2c4)][_0x163780(0x481)]=this[_0x163780(0x4a2)]()+'?url='+_0x2636e5;}}return _0x2ba18c;}))});}[_0xb98a65(0x4a2)](){var _0x2f0897=_0xb98a65,_0x246056,_0x548937;const _0x2fad94=this[_0x2f0897(0x434)][_0x2f0897(0x3e6)](pt),_0x30df81=this[_0x2f0897(0x434)]['getConfig'](G);return(_0x548937=(_0x246056=_0x30df81==null?void 0x0:_0x30df81[_0x2f0897(0x267)])!=null?_0x246056:_0x2fad94)!=null?_0x548937:Wt;}};ye=Ci([Ae(0x0,a[_0xb98a65(0x2a1)]),Ae(0x1,a[_0xb98a65(0x42e)](K[_0xb98a65(0x1e5)])),Ae(0x2,a[_0xb98a65(0x42e)](a[_0xb98a65(0x2b5)]))],ye);var Ti=Object[_0xb98a65(0x2b8)],bi=(_0x3f266d,_0x29d901,_0x457155,_0x4e6957)=>{var _0x187f2d=_0xb98a65;for(var _0x178ebb=_0x4e6957>0x1?void 0x0:_0x4e6957?Ti(_0x29d901,_0x457155):_0x29d901,_0x25723f=_0x3f266d[_0x187f2d(0x1cf)]-0x1,_0x37f3ed;_0x25723f>=0x0;_0x25723f--)(_0x37f3ed=_0x3f266d[_0x25723f])&&(_0x178ebb=_0x37f3ed(_0x178ebb)||_0x178ebb);return _0x178ebb;},qe=(_0x4108ef,_0x38c1b0)=>(_0x198ade,_0x293a75)=>_0x38c1b0(_0x198ade,_0x293a75,_0x4108ef);const Ve='AUTHZ_URL_KEY',Ri=_0xb98a65(0x456);exports[_0xb98a65(0x255)]=class extends a[_0xb98a65(0x43d)]{constructor(_0x35ca18,_0x25a837){var _0x4ac3e4=_0xb98a65;super(),this[_0x4ac3e4(0x1ef)]=_0x35ca18,this[_0x4ac3e4(0x434)]=_0x25a837,this[_0x4ac3e4(0x199)]();}[_0xb98a65(0x199)](){var _0x20b847=_0xb98a65;const _0x4cc1e7=this;this[_0x20b847(0x223)](this[_0x20b847(0x1ef)][_0x20b847(0x269)]({'priority':0x3e7,'interceptor':K['MergeInterceptorFactory']({'isMatch'(_0x5efb5e){var _0x193343=_0x20b847,_0x1f5d43;if(_0x5efb5e[_0x193343(0x15d)]===_0x193343(0x295)&&((_0x1f5d43=_0x5efb5e[_0x193343(0x363)])!=null&&_0x1f5d43[_0x193343(0x4c8)])){const {objectID:_0x38316e,objectType:_0x5b4fe6}=_0x5efb5e[_0x193343(0x363)]['body']||{};if(!_0x38316e||_0x5b4fe6===void 0x0)return!0x1;const _0x419b1c=_0x4cc1e7[_0x193343(0x2eb)]()+'/'+_0x5b4fe6+_0x193343(0x185)+_0x38316e+_0x193343(0x3c5);if(_0x5efb5e[_0x193343(0x268)]===_0x419b1c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x2ce30d){var _0x154f74=_0x20b847,_0xf9e1d3;return(_0xf9e1d3=_0x2ce30d[_0x154f74(0x363)])==null?void 0x0:_0xf9e1d3['body'];},'mergeParamsToRequest'(_0x46ff18,_0xfa07b8){var _0x57dd21=_0x20b847;const _0x4048f1=_0x4cc1e7[_0x57dd21(0x2eb)]()+_0x57dd21(0x1a8),_0x303754=_0x46ff18[_0x57dd21(0x438)]((_0x3cf0fe,_0x2a4e8d)=>{var _0x1c1605=_0x57dd21;const {unitID:_0x17340f,objectID:_0x5ef51b,objectType:_0x5bc172,actions:_0x5cea08}=_0x2a4e8d;return _0x3cf0fe[_0x17340f]||(_0x3cf0fe[_0x17340f]={}),_0x3cf0fe[_0x17340f][_0x5ef51b]||(_0x3cf0fe[_0x17340f][_0x5ef51b]={'objectID':_0x5ef51b,'objectType':_0x5bc172,'actions':[]}),_0x3cf0fe[_0x17340f][_0x5ef51b]['actions'][_0x1c1605(0x360)](..._0x5cea08),_0x3cf0fe;},{}),_0x34ee7a=[];for(const _0x19ad2a in _0x303754)for(const _0x2a54e9 in _0x303754[_0x19ad2a]){const {actions:_0x49581d,objectType:_0x3062}=_0x303754[_0x19ad2a][_0x2a54e9],_0x322725=[...new Set(_0x49581d)];_0x34ee7a[_0x57dd21(0x360)]({'unitID':_0x19ad2a,'objectID':_0x2a54e9,'objectType':_0x3062,'actions':_0x322725});}return new K[(_0x57dd21(0x31c))]('POST',_0x4048f1,{'headers':_0xfa07b8['headers'],'withCredentials':_0xfa07b8[_0x57dd21(0x4af)],'responseType':_0xfa07b8[_0x57dd21(0x1a0)],'body':{'requests':_0x34ee7a}});}},{'distributeResult'(_0x3b7817,_0x40e677){const {objectActions:_0x3cf2fa}=_0x3b7817;return _0x40e677['map'](_0x583329=>{var _0x118168=_0x5981;const {unitID:_0x523c38,objectID:_0x4c5b90,actions:_0x48d2a0}=_0x583329,_0xbb3ad9=_0x3cf2fa[_0x118168(0x480)](_0xedc9ff=>_0xedc9ff[_0x118168(0x173)]===_0x523c38&&_0xedc9ff['objectID']===_0x4c5b90),_0x3f04f2=_0x48d2a0[_0x118168(0x442)](_0x571e23=>_0xbb3ad9==null?void 0x0:_0xbb3ad9[_0x118168(0x45c)][_0x118168(0x480)](_0x5bf73a=>_0x5bf73a[_0x118168(0x350)]===_0x571e23))[_0x118168(0x2fd)](_0x53bd5e=>!!_0x53bd5e);return{'config':_0x583329,'result':{'actions':_0x3f04f2,'error':_0x3b7817[_0x118168(0x3b4)]}};});}})}));}[_0xb98a65(0x2eb)](){var _0x4e5bce=_0xb98a65,_0x2f2086,_0x15a01d;const _0x5c8d9e=this[_0x4e5bce(0x434)][_0x4e5bce(0x3e6)](Ve),_0x77bf55=this[_0x4e5bce(0x434)][_0x4e5bce(0x3e6)](G);return(_0x15a01d=(_0x2f2086=_0x77bf55==null?void 0x0:_0x77bf55[_0x4e5bce(0x13c)])!=null?_0x2f2086:_0x5c8d9e)!=null?_0x15a01d:Ri;}async['create'](_0x4cc035){var _0x3f2bbd=_0xb98a65;const _0x380cd8=this[_0x3f2bbd(0x2eb)]()+'/'+_0x4cc035[_0x3f2bbd(0x398)]+'/object';return(await this[_0x3f2bbd(0x1ef)][_0x3f2bbd(0x289)](_0x380cd8,{'body':_0x4cc035}))[_0x3f2bbd(0x4c8)][_0x3f2bbd(0x459)]||'';}async[_0xb98a65(0x22c)](_0x5be657){var _0x4740c6=_0xb98a65;const _0x2be236=this[_0x4740c6(0x2eb)]()+_0x4740c6(0x3da);return(await this[_0x4740c6(0x1ef)][_0x4740c6(0x289)](_0x2be236,{'body':_0x5be657}))[_0x4740c6(0x4c8)][_0x4740c6(0x2e4)];}async[_0xb98a65(0x30b)](_0x458a03){var _0x3cb4e4=_0xb98a65,_0x10184e,_0xc2f4a2;const _0x51b110=this[_0x3cb4e4(0x2eb)]()+'/'+_0x458a03[_0x3cb4e4(0x398)]+_0x3cb4e4(0x185)+_0x458a03[_0x3cb4e4(0x459)],_0x48b66c=await this[_0x3cb4e4(0x1ef)][_0x3cb4e4(0x15a)](_0x51b110,{'body':_0x458a03});if(((_0xc2f4a2=(_0x10184e=_0x48b66c==null?void 0x0:_0x48b66c[_0x3cb4e4(0x4c8)])==null?void 0x0:_0x10184e[_0x3cb4e4(0x3b4)])==null?void 0x0:_0xc2f4a2['code'])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0xb98a65(0x242)](_0x51c827){var _0x5089a7=_0xb98a65;const _0x23a6ec=this[_0x5089a7(0x2eb)]()+'/'+_0x51c827['objectType']+'/object/'+_0x51c827[_0x5089a7(0x459)]+'/allowed';return(await this[_0x5089a7(0x1ef)]['post'](_0x23a6ec,{'body':_0x51c827}))[_0x5089a7(0x4c8)]['actions'];}async[_0xb98a65(0x28d)](_0x5b118f){var _0x560410=_0xb98a65;const _0x46037d=this['_getAPIPrefixPath']()+_0x560410(0x1a8);return(await this[_0x560410(0x1ef)]['post'](_0x46037d,{'body':{'requests':_0x5b118f}}))[_0x560410(0x4c8)][_0x560410(0x39b)];}async['listRoles'](_0x9e6484){var _0x239f19=_0xb98a65;const _0x1c7fd7=this[_0x239f19(0x2eb)]()+'/'+_0x9e6484[_0x239f19(0x398)]+'/role',_0x12ea1f=await this[_0x239f19(0x1ef)][_0x239f19(0x289)](_0x1c7fd7,{'body':_0x9e6484});return{'roles':_0x12ea1f[_0x239f19(0x4c8)][_0x239f19(0x1ca)],'actions':_0x12ea1f[_0x239f19(0x4c8)][_0x239f19(0x45c)]};}async[_0xb98a65(0x17a)](_0x13120c){var _0x591db8=_0xb98a65;const _0x511d66=this[_0x591db8(0x2eb)]()+_0x591db8(0x32e);await this['_HTTPService'][_0x591db8(0x21f)](_0x511d66,{'params':{'collaboratorID':_0x13120c[_0x591db8(0x405)],'objectID':_0x13120c[_0x591db8(0x459)],'unitID':_0x13120c[_0x591db8(0x173)]}});}async['updateCollaborator'](_0xb121ff){var _0x140ed8=_0xb98a65;const _0x4f7337=this[_0x140ed8(0x2eb)]()+'/collaborator';await this[_0x140ed8(0x1ef)][_0x140ed8(0x194)](_0x4f7337,{'body':_0xb121ff});}async[_0xb98a65(0x1dc)](_0x2cc950){var _0x2163d7=_0xb98a65;const _0x377631=this[_0x2163d7(0x2eb)]()+_0x2163d7(0x32e);await this[_0x2163d7(0x1ef)][_0x2163d7(0x289)](_0x377631,{'body':_0x2cc950});}async[_0xb98a65(0x3c6)](_0x22cf16){var _0x2bbabb=_0xb98a65;const _0x558b20=this[_0x2bbabb(0x2eb)]()+'/collaborator';return(await this[_0x2bbabb(0x1ef)][_0x2bbabb(0x324)](_0x558b20,{'params':{'objectID':_0x22cf16['objectID'],'unitID':_0x22cf16[_0x2bbabb(0x173)]}}))[_0x2bbabb(0x4c8)]['collaborators'];}async[_0xb98a65(0x187)](_0x19b7d2){var _0x434385=_0xb98a65;const _0x266c68=this['_getAPIPrefixPath']()+_0x434385(0x32e);await this[_0x434385(0x1ef)][_0x434385(0x15a)](_0x266c68,{'body':_0x19b7d2});}},exports[_0xb98a65(0x255)]=bi([qe(0x0,a[_0xb98a65(0x42e)](K[_0xb98a65(0x1e5)])),qe(0x1,a['Inject'](a[_0xb98a65(0x2a1)]))],exports[_0xb98a65(0x255)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x3e86f6){var _0x2b3a99=_0xb98a65;return _0x3e86f6&&_0x3e86f6[_0x2b3a99(0x3f7)]&&Object['prototype'][_0x2b3a99(0x157)][_0x2b3a99(0x4bf)](_0x3e86f6,'default')?_0x3e86f6[_0x2b3a99(0x3ed)]:_0x3e86f6;}var fe={'exports':{}};function Oi(_0x365b1b){var _0x2e687c=_0xb98a65;throw new Error(_0x2e687c(0x22a)+_0x365b1b+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ie={'exports':{}},yi=Ie['exports'],ze;function Q(){var _0x5d5f3e=_0xb98a65;return ze||(ze=0x1,function(_0x2fa863,_0x5ca69d){(function(_0x5aadee,_0x3cf0af){var _0x1a7e52=_0x5981;_0x2fa863[_0x1a7e52(0x356)]=_0x3cf0af();}(yi,function(){var _0x29e760=_0x29e760||function(_0x2052fe,_0x4c7754){var _0x37e2f5=_0x5981,_0x1a9eee;if(typeof window<'u'&&window['crypto']&&(_0x1a9eee=window[_0x37e2f5(0x13d)]),typeof self<'u'&&self[_0x37e2f5(0x13d)]&&(_0x1a9eee=self[_0x37e2f5(0x13d)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1a9eee=globalThis[_0x37e2f5(0x13d)]),!_0x1a9eee&&typeof window<'u'&&window[_0x37e2f5(0x347)]&&(_0x1a9eee=window[_0x37e2f5(0x347)]),!_0x1a9eee&&typeof Pe<'u'&&Pe[_0x37e2f5(0x13d)]&&(_0x1a9eee=Pe['crypto']),!_0x1a9eee&&typeof Oi==_0x37e2f5(0x1c8))try{_0x1a9eee=require('crypto');}catch{}var _0x275747=function(){var _0x3e2d44=_0x37e2f5;if(_0x1a9eee){if(typeof _0x1a9eee[_0x3e2d44(0x4a3)]==_0x3e2d44(0x1c8))try{return _0x1a9eee['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1a9eee[_0x3e2d44(0x3e0)]==_0x3e2d44(0x1c8))try{return _0x1a9eee[_0x3e2d44(0x3e0)](0x4)[_0x3e2d44(0x1f1)]();}catch{}}throw new Error(_0x3e2d44(0x325));},_0x545d21=Object['create']||(function(){function _0x32076c(){}return function(_0x279603){var _0x51d212=_0x5981,_0x28bee0;return _0x32076c[_0x51d212(0x409)]=_0x279603,_0x28bee0=new _0x32076c(),_0x32076c[_0x51d212(0x409)]=null,_0x28bee0;};}()),_0x5b65de={},_0x3fb94d=_0x5b65de['lib']={},_0x4978fc=_0x3fb94d[_0x37e2f5(0x296)]=(function(){return{'extend':function(_0x5f5581){var _0x4e554f=_0x5981,_0x4feb1b=_0x545d21(this);return _0x5f5581&&_0x4feb1b['mixIn'](_0x5f5581),(!_0x4feb1b[_0x4e554f(0x157)](_0x4e554f(0x440))||this[_0x4e554f(0x440)]===_0x4feb1b[_0x4e554f(0x440)])&&(_0x4feb1b['init']=function(){var _0x5c2d0f=_0x4e554f;_0x4feb1b[_0x5c2d0f(0x4b8)][_0x5c2d0f(0x440)]['apply'](this,arguments);}),_0x4feb1b['init'][_0x4e554f(0x409)]=_0x4feb1b,_0x4feb1b[_0x4e554f(0x4b8)]=this,_0x4feb1b;},'create':function(){var _0x378934=_0x5981,_0x1ecfce=this[_0x378934(0x370)]();return _0x1ecfce[_0x378934(0x440)][_0x378934(0x3f5)](_0x1ecfce,arguments),_0x1ecfce;},'init':function(){},'mixIn':function(_0x44149a){var _0x3d39d3=_0x5981;for(var _0x2b2873 in _0x44149a)_0x44149a[_0x3d39d3(0x157)](_0x2b2873)&&(this[_0x2b2873]=_0x44149a[_0x2b2873]);_0x44149a[_0x3d39d3(0x157)]('toString')&&(this[_0x3d39d3(0x381)]=_0x44149a['toString']);},'clone':function(){var _0x16e072=_0x5981;return this[_0x16e072(0x440)]['prototype'][_0x16e072(0x370)](this);}};}()),_0x119573=_0x3fb94d['WordArray']=_0x4978fc['extend']({'init':function(_0x42cf6a,_0x414b5b){var _0x38547e=_0x37e2f5;_0x42cf6a=this[_0x38547e(0x2dd)]=_0x42cf6a||[],_0x414b5b!=_0x4c7754?this[_0x38547e(0x41f)]=_0x414b5b:this[_0x38547e(0x41f)]=_0x42cf6a['length']*0x4;},'toString':function(_0x28537e){var _0x3f734f=_0x37e2f5;return(_0x28537e||_0x348258)[_0x3f734f(0x4a4)](this);},'concat':function(_0x2681f7){var _0x27e34f=_0x37e2f5,_0x4400eb=this[_0x27e34f(0x2dd)],_0x44ebf4=_0x2681f7['words'],_0x161029=this['sigBytes'],_0x57fb13=_0x2681f7[_0x27e34f(0x41f)];if(this[_0x27e34f(0x34c)](),_0x161029%0x4)for(var _0x4777a8=0x0;_0x4777a8<_0x57fb13;_0x4777a8++){var _0x324a0c=_0x44ebf4[_0x4777a8>>>0x2]>>>0x18-_0x4777a8%0x4*0x8&0xff;_0x4400eb[_0x161029+_0x4777a8>>>0x2]|=_0x324a0c<<0x18-(_0x161029+_0x4777a8)%0x4*0x8;}else{for(var _0x5901d3=0x0;_0x5901d3<_0x57fb13;_0x5901d3+=0x4)_0x4400eb[_0x161029+_0x5901d3>>>0x2]=_0x44ebf4[_0x5901d3>>>0x2];}return this[_0x27e34f(0x41f)]+=_0x57fb13,this;},'clamp':function(){var _0x4a072d=_0x37e2f5,_0x5a6a26=this[_0x4a072d(0x2dd)],_0x45bb23=this['sigBytes'];_0x5a6a26[_0x45bb23>>>0x2]&=0xffffffff<<0x20-_0x45bb23%0x4*0x8,_0x5a6a26[_0x4a072d(0x1cf)]=_0x2052fe['ceil'](_0x45bb23/0x4);},'clone':function(){var _0x1ce2c0=_0x37e2f5,_0x313776=_0x4978fc[_0x1ce2c0(0x495)]['call'](this);return _0x313776[_0x1ce2c0(0x2dd)]=this[_0x1ce2c0(0x2dd)][_0x1ce2c0(0x49b)](0x0),_0x313776;},'random':function(_0x1b4357){var _0x43cb7c=_0x37e2f5;for(var _0x304b99=[],_0x597e32=0x0;_0x597e32<_0x1b4357;_0x597e32+=0x4)_0x304b99['push'](_0x275747());return new _0x119573[(_0x43cb7c(0x440))](_0x304b99,_0x1b4357);}}),_0x1568f8=_0x5b65de['enc']={},_0x348258=_0x1568f8[_0x37e2f5(0x2b2)]={'stringify':function(_0x16dca8){var _0x3e7184=_0x37e2f5;for(var _0x4a30c0=_0x16dca8['words'],_0x3cfedd=_0x16dca8[_0x3e7184(0x41f)],_0x2324db=[],_0x31713b=0x0;_0x31713b<_0x3cfedd;_0x31713b++){var _0x4ae513=_0x4a30c0[_0x31713b>>>0x2]>>>0x18-_0x31713b%0x4*0x8&0xff;_0x2324db[_0x3e7184(0x360)]((_0x4ae513>>>0x4)[_0x3e7184(0x381)](0x10)),_0x2324db['push']((_0x4ae513&0xf)['toString'](0x10));}return _0x2324db[_0x3e7184(0x3b3)]('');},'parse':function(_0xafa3d1){var _0x325673=_0x37e2f5;for(var _0xb2ca1d=_0xafa3d1[_0x325673(0x1cf)],_0x358619=[],_0x50d15a=0x0;_0x50d15a<_0xb2ca1d;_0x50d15a+=0x2)_0x358619[_0x50d15a>>>0x3]|=parseInt(_0xafa3d1[_0x325673(0x3de)](_0x50d15a,0x2),0x10)<<0x18-_0x50d15a%0x8*0x4;return new _0x119573[(_0x325673(0x440))](_0x358619,_0xb2ca1d/0x2);}},_0x5dbcaa=_0x1568f8[_0x37e2f5(0x19d)]={'stringify':function(_0xe9c4eb){var _0x4ddf87=_0x37e2f5;for(var _0x175f89=_0xe9c4eb[_0x4ddf87(0x2dd)],_0x4ca049=_0xe9c4eb[_0x4ddf87(0x41f)],_0x3631fa=[],_0x4f63b9=0x0;_0x4f63b9<_0x4ca049;_0x4f63b9++){var _0x1b8584=_0x175f89[_0x4f63b9>>>0x2]>>>0x18-_0x4f63b9%0x4*0x8&0xff;_0x3631fa[_0x4ddf87(0x360)](String['fromCharCode'](_0x1b8584));}return _0x3631fa[_0x4ddf87(0x3b3)]('');},'parse':function(_0x23e71e){var _0x1da047=_0x37e2f5;for(var _0x4f8345=_0x23e71e['length'],_0x4077ec=[],_0x3b6635=0x0;_0x3b6635<_0x4f8345;_0x3b6635++)_0x4077ec[_0x3b6635>>>0x2]|=(_0x23e71e['charCodeAt'](_0x3b6635)&0xff)<<0x18-_0x3b6635%0x4*0x8;return new _0x119573[(_0x1da047(0x440))](_0x4077ec,_0x4f8345);}},_0x5357bb=_0x1568f8['Utf8']={'stringify':function(_0x18df39){var _0x1b9089=_0x37e2f5;try{return decodeURIComponent(escape(_0x5dbcaa[_0x1b9089(0x4a4)](_0x18df39)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x4aeee7){var _0x7edcd3=_0x37e2f5;return _0x5dbcaa[_0x7edcd3(0x14b)](unescape(encodeURIComponent(_0x4aeee7)));}},_0x276cb3=_0x3fb94d[_0x37e2f5(0x140)]=_0x4978fc[_0x37e2f5(0x370)]({'reset':function(){var _0x320563=_0x37e2f5;this['_data']=new _0x119573[(_0x320563(0x440))](),this[_0x320563(0x491)]=0x0;},'_append':function(_0x2c3e80){var _0x23af06=_0x37e2f5;typeof _0x2c3e80==_0x23af06(0x3aa)&&(_0x2c3e80=_0x5357bb[_0x23af06(0x14b)](_0x2c3e80)),this[_0x23af06(0x1be)][_0x23af06(0x2ff)](_0x2c3e80),this[_0x23af06(0x491)]+=_0x2c3e80[_0x23af06(0x41f)];},'_process':function(_0x4c8c18){var _0x21c3b5=_0x37e2f5,_0x195ba8,_0x5e62e0=this['_data'],_0x33172b=_0x5e62e0[_0x21c3b5(0x2dd)],_0x3a6603=_0x5e62e0[_0x21c3b5(0x41f)],_0x10daf5=this[_0x21c3b5(0x497)],_0x946e3=_0x10daf5*0x4,_0x5dd0c8=_0x3a6603/_0x946e3;_0x4c8c18?_0x5dd0c8=_0x2052fe[_0x21c3b5(0x17d)](_0x5dd0c8):_0x5dd0c8=_0x2052fe[_0x21c3b5(0x1ac)]((_0x5dd0c8|0x0)-this[_0x21c3b5(0x2ce)],0x0);var _0x1b280d=_0x5dd0c8*_0x10daf5,_0x3904a6=_0x2052fe['min'](_0x1b280d*0x4,_0x3a6603);if(_0x1b280d){for(var _0x1bd6da=0x0;_0x1bd6da<_0x1b280d;_0x1bd6da+=_0x10daf5)this[_0x21c3b5(0x1bd)](_0x33172b,_0x1bd6da);_0x195ba8=_0x33172b[_0x21c3b5(0x1ed)](0x0,_0x1b280d),_0x5e62e0['sigBytes']-=_0x3904a6;}return new _0x119573[(_0x21c3b5(0x440))](_0x195ba8,_0x3904a6);},'clone':function(){var _0x5aa635=_0x37e2f5,_0x13ab9d=_0x4978fc[_0x5aa635(0x495)]['call'](this);return _0x13ab9d[_0x5aa635(0x1be)]=this[_0x5aa635(0x1be)][_0x5aa635(0x495)](),_0x13ab9d;},'_minBufferSize':0x0});_0x3fb94d[_0x37e2f5(0x230)]=_0x276cb3[_0x37e2f5(0x370)]({'cfg':_0x4978fc['extend'](),'init':function(_0x5df91c){var _0x560584=_0x37e2f5;this['cfg']=this['cfg'][_0x560584(0x370)](_0x5df91c),this[_0x560584(0x183)]();},'reset':function(){var _0x541a69=_0x37e2f5;_0x276cb3['reset'][_0x541a69(0x4bf)](this),this[_0x541a69(0x24d)]();},'update':function(_0x53686e){var _0x57802=_0x37e2f5;return this[_0x57802(0x498)](_0x53686e),this[_0x57802(0x319)](),this;},'finalize':function(_0x361463){var _0x3b6af9=_0x37e2f5;_0x361463&&this[_0x3b6af9(0x498)](_0x361463);var _0x5ce0af=this[_0x3b6af9(0x41e)]();return _0x5ce0af;},'blockSize':0x10,'_createHelper':function(_0x96618){return function(_0x52adf8,_0x3a3898){var _0x1181fa=_0x5981;return new _0x96618[(_0x1181fa(0x440))](_0x3a3898)[_0x1181fa(0x2d8)](_0x52adf8);};},'_createHmacHelper':function(_0x1e9d46){return function(_0x16db90,_0x2952b5){var _0x5146e6=_0x5981;return new _0x3050ec[(_0x5146e6(0x4b2))]['init'](_0x1e9d46,_0x2952b5)[_0x5146e6(0x2d8)](_0x16db90);};}});var _0x3050ec=_0x5b65de[_0x37e2f5(0x387)]={};return _0x5b65de;}(Math);return _0x29e760;}));}(Ie)),Ie[_0x5d5f3e(0x356)];}var pe={'exports':{}},Ni=pe[_0xb98a65(0x356)],Je;function yt(){var _0x537cac=_0xb98a65;return Je||(Je=0x1,function(_0x43a7c9,_0x4ccfd0){(function(_0xee415b,_0x305eb0){var _0xade857=_0x5981;_0x43a7c9[_0xade857(0x356)]=_0x305eb0(Q());}(Ni,function(_0x35b44f){var _0x48b889=_0x5981;return(function(){var _0x1d42dd=_0x5981,_0x303db9=_0x35b44f,_0x349098=_0x303db9[_0x1d42dd(0x4a0)],_0x45187c=_0x349098['WordArray'],_0x54f531=_0x303db9[_0x1d42dd(0x146)];_0x54f531[_0x1d42dd(0x35b)]={'stringify':function(_0x1cc575){var _0x5b0bcb=_0x1d42dd,_0x44bd7f=_0x1cc575[_0x5b0bcb(0x2dd)],_0x5bbcd7=_0x1cc575[_0x5b0bcb(0x41f)],_0x1773a7=this['_map'];_0x1cc575[_0x5b0bcb(0x34c)]();for(var _0x407d02=[],_0x16fedf=0x0;_0x16fedf<_0x5bbcd7;_0x16fedf+=0x3)for(var _0x558cc2=_0x44bd7f[_0x16fedf>>>0x2]>>>0x18-_0x16fedf%0x4*0x8&0xff,_0x2167bc=_0x44bd7f[_0x16fedf+0x1>>>0x2]>>>0x18-(_0x16fedf+0x1)%0x4*0x8&0xff,_0x544b7e=_0x44bd7f[_0x16fedf+0x2>>>0x2]>>>0x18-(_0x16fedf+0x2)%0x4*0x8&0xff,_0x198b9c=_0x558cc2<<0x10|_0x2167bc<<0x8|_0x544b7e,_0x2be88c=0x0;_0x2be88c<0x4&&_0x16fedf+_0x2be88c*0.75<_0x5bbcd7;_0x2be88c++)_0x407d02[_0x5b0bcb(0x360)](_0x1773a7['charAt'](_0x198b9c>>>0x6*(0x3-_0x2be88c)&0x3f));var _0x3ed309=_0x1773a7[_0x5b0bcb(0x3bf)](0x40);if(_0x3ed309){for(;_0x407d02[_0x5b0bcb(0x1cf)]%0x4;)_0x407d02[_0x5b0bcb(0x360)](_0x3ed309);}return _0x407d02[_0x5b0bcb(0x3b3)]('');},'parse':function(_0x4be52b){var _0xcb05ec=_0x1d42dd,_0xb4d7c2=_0x4be52b[_0xcb05ec(0x1cf)],_0x449cb3=this['_map'],_0x23535b=this['_reverseMap'];if(!_0x23535b){_0x23535b=this['_reverseMap']=[];for(var _0x510509=0x0;_0x510509<_0x449cb3[_0xcb05ec(0x1cf)];_0x510509++)_0x23535b[_0x449cb3[_0xcb05ec(0x3ff)](_0x510509)]=_0x510509;}var _0x25fe3c=_0x449cb3[_0xcb05ec(0x3bf)](0x40);if(_0x25fe3c){var _0x3687bb=_0x4be52b[_0xcb05ec(0x404)](_0x25fe3c);_0x3687bb!==-0x1&&(_0xb4d7c2=_0x3687bb);}return _0x3c7730(_0x4be52b,_0xb4d7c2,_0x23535b);},'_map':_0x1d42dd(0x3a8)};function _0x3c7730(_0x5e6bf0,_0xf280f0,_0xa48b88){var _0x573c1a=_0x1d42dd;for(var _0x5ba21d=[],_0x5dd626=0x0,_0x49fc4f=0x0;_0x49fc4f<_0xf280f0;_0x49fc4f++)if(_0x49fc4f%0x4){var _0xade90a=_0xa48b88[_0x5e6bf0[_0x573c1a(0x3ff)](_0x49fc4f-0x1)]<<_0x49fc4f%0x4*0x2,_0x191f2b=_0xa48b88[_0x5e6bf0['charCodeAt'](_0x49fc4f)]>>>0x6-_0x49fc4f%0x4*0x2,_0x302339=_0xade90a|_0x191f2b;_0x5ba21d[_0x5dd626>>>0x2]|=_0x302339<<0x18-_0x5dd626%0x4*0x8,_0x5dd626++;}return _0x45187c['create'](_0x5ba21d,_0x5dd626);}}()),_0x35b44f[_0x48b889(0x146)][_0x48b889(0x35b)];}));}(pe)),pe[_0x537cac(0x356)];}var ge={'exports':{}},Di=ge[_0xb98a65(0x356)],Xe;function Ui(){var _0x23bb06=_0xb98a65;return Xe||(Xe=0x1,function(_0x3df56b,_0x275ec0){(function(_0x208c3b,_0x11f42b){var _0x55c3e5=_0x5981;_0x3df56b[_0x55c3e5(0x356)]=_0x11f42b(Q());}(Di,function(_0x1f1fde){var _0xe6227d=_0x5981;return function(_0x2908d6){var _0x4ae9ff=_0x5981,_0x3b0fec=_0x1f1fde,_0x28e2ba=_0x3b0fec['lib'],_0x34938b=_0x28e2ba[_0x4ae9ff(0x27f)],_0x563296=_0x28e2ba[_0x4ae9ff(0x230)],_0x32311b=_0x3b0fec['algo'],_0x569422=[];(function(){var _0x1209fc=_0x4ae9ff;for(var _0x4bd5ff=0x0;_0x4bd5ff<0x40;_0x4bd5ff++)_0x569422[_0x4bd5ff]=_0x2908d6[_0x1209fc(0x43e)](_0x2908d6[_0x1209fc(0x28a)](_0x4bd5ff+0x1))*0x100000000|0x0;}());var _0x341ea8=_0x32311b[_0x4ae9ff(0x174)]=_0x563296[_0x4ae9ff(0x370)]({'_doReset':function(){var _0x1e3718=_0x4ae9ff;this[_0x1e3718(0x1c4)]=new _0x34938b[(_0x1e3718(0x440))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x337d20,_0x14ee42){for(var _0x675139=0x0;_0x675139<0x10;_0x675139++){var _0x143228=_0x14ee42+_0x675139,_0x42b4f5=_0x337d20[_0x143228];_0x337d20[_0x143228]=(_0x42b4f5<<0x8|_0x42b4f5>>>0x18)&0xff00ff|(_0x42b4f5<<0x18|_0x42b4f5>>>0x8)&0xff00ff00;}var _0x156320=this['_hash']['words'],_0x5dfecb=_0x337d20[_0x14ee42+0x0],_0x21f0a1=_0x337d20[_0x14ee42+0x1],_0x18b33a=_0x337d20[_0x14ee42+0x2],_0x17b412=_0x337d20[_0x14ee42+0x3],_0x4bec7b=_0x337d20[_0x14ee42+0x4],_0x4d09a4=_0x337d20[_0x14ee42+0x5],_0x399881=_0x337d20[_0x14ee42+0x6],_0x4ea611=_0x337d20[_0x14ee42+0x7],_0x9830fa=_0x337d20[_0x14ee42+0x8],_0x25e6bc=_0x337d20[_0x14ee42+0x9],_0x38b66a=_0x337d20[_0x14ee42+0xa],_0x1df82e=_0x337d20[_0x14ee42+0xb],_0x2c0c20=_0x337d20[_0x14ee42+0xc],_0x389c50=_0x337d20[_0x14ee42+0xd],_0x23a435=_0x337d20[_0x14ee42+0xe],_0x39a0b8=_0x337d20[_0x14ee42+0xf],_0xdcf157=_0x156320[0x0],_0x22b77f=_0x156320[0x1],_0x2f1725=_0x156320[0x2],_0x14d3ab=_0x156320[0x3];_0xdcf157=_0x1a52c7(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x5dfecb,0x7,_0x569422[0x0]),_0x14d3ab=_0x1a52c7(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x21f0a1,0xc,_0x569422[0x1]),_0x2f1725=_0x1a52c7(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x18b33a,0x11,_0x569422[0x2]),_0x22b77f=_0x1a52c7(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x17b412,0x16,_0x569422[0x3]),_0xdcf157=_0x1a52c7(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x4bec7b,0x7,_0x569422[0x4]),_0x14d3ab=_0x1a52c7(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x4d09a4,0xc,_0x569422[0x5]),_0x2f1725=_0x1a52c7(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x399881,0x11,_0x569422[0x6]),_0x22b77f=_0x1a52c7(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x4ea611,0x16,_0x569422[0x7]),_0xdcf157=_0x1a52c7(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x9830fa,0x7,_0x569422[0x8]),_0x14d3ab=_0x1a52c7(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x25e6bc,0xc,_0x569422[0x9]),_0x2f1725=_0x1a52c7(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x38b66a,0x11,_0x569422[0xa]),_0x22b77f=_0x1a52c7(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x1df82e,0x16,_0x569422[0xb]),_0xdcf157=_0x1a52c7(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x2c0c20,0x7,_0x569422[0xc]),_0x14d3ab=_0x1a52c7(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x389c50,0xc,_0x569422[0xd]),_0x2f1725=_0x1a52c7(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x23a435,0x11,_0x569422[0xe]),_0x22b77f=_0x1a52c7(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x39a0b8,0x16,_0x569422[0xf]),_0xdcf157=_0x32a32c(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x21f0a1,0x5,_0x569422[0x10]),_0x14d3ab=_0x32a32c(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x399881,0x9,_0x569422[0x11]),_0x2f1725=_0x32a32c(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x1df82e,0xe,_0x569422[0x12]),_0x22b77f=_0x32a32c(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x5dfecb,0x14,_0x569422[0x13]),_0xdcf157=_0x32a32c(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x4d09a4,0x5,_0x569422[0x14]),_0x14d3ab=_0x32a32c(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x38b66a,0x9,_0x569422[0x15]),_0x2f1725=_0x32a32c(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x39a0b8,0xe,_0x569422[0x16]),_0x22b77f=_0x32a32c(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x4bec7b,0x14,_0x569422[0x17]),_0xdcf157=_0x32a32c(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x25e6bc,0x5,_0x569422[0x18]),_0x14d3ab=_0x32a32c(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x23a435,0x9,_0x569422[0x19]),_0x2f1725=_0x32a32c(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x17b412,0xe,_0x569422[0x1a]),_0x22b77f=_0x32a32c(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x9830fa,0x14,_0x569422[0x1b]),_0xdcf157=_0x32a32c(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x389c50,0x5,_0x569422[0x1c]),_0x14d3ab=_0x32a32c(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x18b33a,0x9,_0x569422[0x1d]),_0x2f1725=_0x32a32c(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x4ea611,0xe,_0x569422[0x1e]),_0x22b77f=_0x32a32c(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x2c0c20,0x14,_0x569422[0x1f]),_0xdcf157=_0x26632a(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x4d09a4,0x4,_0x569422[0x20]),_0x14d3ab=_0x26632a(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x9830fa,0xb,_0x569422[0x21]),_0x2f1725=_0x26632a(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x1df82e,0x10,_0x569422[0x22]),_0x22b77f=_0x26632a(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x23a435,0x17,_0x569422[0x23]),_0xdcf157=_0x26632a(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x21f0a1,0x4,_0x569422[0x24]),_0x14d3ab=_0x26632a(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x4bec7b,0xb,_0x569422[0x25]),_0x2f1725=_0x26632a(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x4ea611,0x10,_0x569422[0x26]),_0x22b77f=_0x26632a(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x38b66a,0x17,_0x569422[0x27]),_0xdcf157=_0x26632a(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x389c50,0x4,_0x569422[0x28]),_0x14d3ab=_0x26632a(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x5dfecb,0xb,_0x569422[0x29]),_0x2f1725=_0x26632a(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x17b412,0x10,_0x569422[0x2a]),_0x22b77f=_0x26632a(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x399881,0x17,_0x569422[0x2b]),_0xdcf157=_0x26632a(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x25e6bc,0x4,_0x569422[0x2c]),_0x14d3ab=_0x26632a(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x2c0c20,0xb,_0x569422[0x2d]),_0x2f1725=_0x26632a(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x39a0b8,0x10,_0x569422[0x2e]),_0x22b77f=_0x26632a(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x18b33a,0x17,_0x569422[0x2f]),_0xdcf157=_0x48332c(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x5dfecb,0x6,_0x569422[0x30]),_0x14d3ab=_0x48332c(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x4ea611,0xa,_0x569422[0x31]),_0x2f1725=_0x48332c(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x23a435,0xf,_0x569422[0x32]),_0x22b77f=_0x48332c(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x4d09a4,0x15,_0x569422[0x33]),_0xdcf157=_0x48332c(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x2c0c20,0x6,_0x569422[0x34]),_0x14d3ab=_0x48332c(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x17b412,0xa,_0x569422[0x35]),_0x2f1725=_0x48332c(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x38b66a,0xf,_0x569422[0x36]),_0x22b77f=_0x48332c(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x21f0a1,0x15,_0x569422[0x37]),_0xdcf157=_0x48332c(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x9830fa,0x6,_0x569422[0x38]),_0x14d3ab=_0x48332c(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x39a0b8,0xa,_0x569422[0x39]),_0x2f1725=_0x48332c(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x399881,0xf,_0x569422[0x3a]),_0x22b77f=_0x48332c(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x389c50,0x15,_0x569422[0x3b]),_0xdcf157=_0x48332c(_0xdcf157,_0x22b77f,_0x2f1725,_0x14d3ab,_0x4bec7b,0x6,_0x569422[0x3c]),_0x14d3ab=_0x48332c(_0x14d3ab,_0xdcf157,_0x22b77f,_0x2f1725,_0x1df82e,0xa,_0x569422[0x3d]),_0x2f1725=_0x48332c(_0x2f1725,_0x14d3ab,_0xdcf157,_0x22b77f,_0x18b33a,0xf,_0x569422[0x3e]),_0x22b77f=_0x48332c(_0x22b77f,_0x2f1725,_0x14d3ab,_0xdcf157,_0x25e6bc,0x15,_0x569422[0x3f]),_0x156320[0x0]=_0x156320[0x0]+_0xdcf157|0x0,_0x156320[0x1]=_0x156320[0x1]+_0x22b77f|0x0,_0x156320[0x2]=_0x156320[0x2]+_0x2f1725|0x0,_0x156320[0x3]=_0x156320[0x3]+_0x14d3ab|0x0;},'_doFinalize':function(){var _0x18170e=_0x4ae9ff,_0x8e7003=this[_0x18170e(0x1be)],_0x146f9c=_0x8e7003[_0x18170e(0x2dd)],_0x9c1c07=this[_0x18170e(0x491)]*0x8,_0x38ae5e=_0x8e7003[_0x18170e(0x41f)]*0x8;_0x146f9c[_0x38ae5e>>>0x5]|=0x80<<0x18-_0x38ae5e%0x20;var _0x7d045a=_0x2908d6[_0x18170e(0x3e5)](_0x9c1c07/0x100000000),_0xf09292=_0x9c1c07;_0x146f9c[(_0x38ae5e+0x40>>>0x9<<0x4)+0xf]=(_0x7d045a<<0x8|_0x7d045a>>>0x18)&0xff00ff|(_0x7d045a<<0x18|_0x7d045a>>>0x8)&0xff00ff00,_0x146f9c[(_0x38ae5e+0x40>>>0x9<<0x4)+0xe]=(_0xf09292<<0x8|_0xf09292>>>0x18)&0xff00ff|(_0xf09292<<0x18|_0xf09292>>>0x8)&0xff00ff00,_0x8e7003['sigBytes']=(_0x146f9c[_0x18170e(0x1cf)]+0x1)*0x4,this['_process']();for(var _0x4af785=this[_0x18170e(0x1c4)],_0x435359=_0x4af785['words'],_0x2c1b29=0x0;_0x2c1b29<0x4;_0x2c1b29++){var _0x472f48=_0x435359[_0x2c1b29];_0x435359[_0x2c1b29]=(_0x472f48<<0x8|_0x472f48>>>0x18)&0xff00ff|(_0x472f48<<0x18|_0x472f48>>>0x8)&0xff00ff00;}return _0x4af785;},'clone':function(){var _0x21bb3b=_0x4ae9ff,_0x4d52a7=_0x563296[_0x21bb3b(0x495)][_0x21bb3b(0x4bf)](this);return _0x4d52a7[_0x21bb3b(0x1c4)]=this[_0x21bb3b(0x1c4)]['clone'](),_0x4d52a7;}});function _0x1a52c7(_0x5268e8,_0xf24c85,_0x237e76,_0x3aee81,_0x52cec6,_0x435c64,_0x2477d2){var _0x87edde=_0x5268e8+(_0xf24c85&_0x237e76|~_0xf24c85&_0x3aee81)+_0x52cec6+_0x2477d2;return(_0x87edde<<_0x435c64|_0x87edde>>>0x20-_0x435c64)+_0xf24c85;}function _0x32a32c(_0x392c07,_0x1efcbc,_0x2d070b,_0x147a1c,_0x3153e2,_0x2160cd,_0x5a7a7f){var _0x91200d=_0x392c07+(_0x1efcbc&_0x147a1c|_0x2d070b&~_0x147a1c)+_0x3153e2+_0x5a7a7f;return(_0x91200d<<_0x2160cd|_0x91200d>>>0x20-_0x2160cd)+_0x1efcbc;}function _0x26632a(_0x4c43a2,_0xbd7804,_0x2fd78a,_0x1f5974,_0x49b567,_0x4090ea,_0x531c07){var _0x171b4f=_0x4c43a2+(_0xbd7804^_0x2fd78a^_0x1f5974)+_0x49b567+_0x531c07;return(_0x171b4f<<_0x4090ea|_0x171b4f>>>0x20-_0x4090ea)+_0xbd7804;}function _0x48332c(_0xd8e206,_0x461576,_0x681c4a,_0x5b3a3d,_0x4c1bb8,_0x4aaed6,_0x208eef){var _0x1be5ac=_0xd8e206+(_0x681c4a^(_0x461576|~_0x5b3a3d))+_0x4c1bb8+_0x208eef;return(_0x1be5ac<<_0x4aaed6|_0x1be5ac>>>0x20-_0x4aaed6)+_0x461576;}_0x3b0fec[_0x4ae9ff(0x174)]=_0x563296[_0x4ae9ff(0x402)](_0x341ea8),_0x3b0fec[_0x4ae9ff(0x463)]=_0x563296['_createHmacHelper'](_0x341ea8);}(Math),_0x1f1fde[_0xe6227d(0x174)];}));}(ge)),ge[_0x23bb06(0x356)];}var Ee={'exports':{}},me={'exports':{}},Ai=me[_0xb98a65(0x356)],Ze;function Pi(){var _0x49c5db=_0xb98a65;return Ze||(Ze=0x1,function(_0x50013d,_0x1a89bc){(function(_0x3a3b56,_0x1cf999){var _0x4e5e73=_0x5981;_0x50013d[_0x4e5e73(0x356)]=_0x1cf999(Q());}(Ai,function(_0x5892d5){return(function(){var _0x38e97a=_0x5981,_0x3e64aa=_0x5892d5,_0x37f00d=_0x3e64aa[_0x38e97a(0x4a0)],_0xcd30db=_0x37f00d[_0x38e97a(0x27f)],_0x1d64f8=_0x37f00d['Hasher'],_0x444e59=_0x3e64aa[_0x38e97a(0x387)],_0x32e8ef=[],_0x5396db=_0x444e59['SHA1']=_0x1d64f8['extend']({'_doReset':function(){var _0x2f5637=_0x38e97a;this['_hash']=new _0xcd30db[(_0x2f5637(0x440))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x413c6a,_0x22cfbb){var _0x2b0733=_0x38e97a;for(var _0x5e78b3=this[_0x2b0733(0x1c4)]['words'],_0x7b8f29=_0x5e78b3[0x0],_0x2f07dd=_0x5e78b3[0x1],_0x130035=_0x5e78b3[0x2],_0x5e3f18=_0x5e78b3[0x3],_0x25e4e3=_0x5e78b3[0x4],_0x48fe8d=0x0;_0x48fe8d<0x50;_0x48fe8d++){if(_0x48fe8d<0x10)_0x32e8ef[_0x48fe8d]=_0x413c6a[_0x22cfbb+_0x48fe8d]|0x0;else{var _0x15b9fd=_0x32e8ef[_0x48fe8d-0x3]^_0x32e8ef[_0x48fe8d-0x8]^_0x32e8ef[_0x48fe8d-0xe]^_0x32e8ef[_0x48fe8d-0x10];_0x32e8ef[_0x48fe8d]=_0x15b9fd<<0x1|_0x15b9fd>>>0x1f;}var _0x5f4a32=(_0x7b8f29<<0x5|_0x7b8f29>>>0x1b)+_0x25e4e3+_0x32e8ef[_0x48fe8d];_0x48fe8d<0x14?_0x5f4a32+=(_0x2f07dd&_0x130035|~_0x2f07dd&_0x5e3f18)+0x5a827999:_0x48fe8d<0x28?_0x5f4a32+=(_0x2f07dd^_0x130035^_0x5e3f18)+0x6ed9eba1:_0x48fe8d<0x3c?_0x5f4a32+=(_0x2f07dd&_0x130035|_0x2f07dd&_0x5e3f18|_0x130035&_0x5e3f18)-0x70e44324:_0x5f4a32+=(_0x2f07dd^_0x130035^_0x5e3f18)-0x359d3e2a,_0x25e4e3=_0x5e3f18,_0x5e3f18=_0x130035,_0x130035=_0x2f07dd<<0x1e|_0x2f07dd>>>0x2,_0x2f07dd=_0x7b8f29,_0x7b8f29=_0x5f4a32;}_0x5e78b3[0x0]=_0x5e78b3[0x0]+_0x7b8f29|0x0,_0x5e78b3[0x1]=_0x5e78b3[0x1]+_0x2f07dd|0x0,_0x5e78b3[0x2]=_0x5e78b3[0x2]+_0x130035|0x0,_0x5e78b3[0x3]=_0x5e78b3[0x3]+_0x5e3f18|0x0,_0x5e78b3[0x4]=_0x5e78b3[0x4]+_0x25e4e3|0x0;},'_doFinalize':function(){var _0x4070bd=_0x38e97a,_0x3d6332=this[_0x4070bd(0x1be)],_0x14ba35=_0x3d6332[_0x4070bd(0x2dd)],_0x4987d8=this[_0x4070bd(0x491)]*0x8,_0x4659a6=_0x3d6332[_0x4070bd(0x41f)]*0x8;return _0x14ba35[_0x4659a6>>>0x5]|=0x80<<0x18-_0x4659a6%0x20,_0x14ba35[(_0x4659a6+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x4987d8/0x100000000),_0x14ba35[(_0x4659a6+0x40>>>0x9<<0x4)+0xf]=_0x4987d8,_0x3d6332[_0x4070bd(0x41f)]=_0x14ba35[_0x4070bd(0x1cf)]*0x4,this[_0x4070bd(0x319)](),this['_hash'];},'clone':function(){var _0x169ea2=_0x38e97a,_0x2627e7=_0x1d64f8[_0x169ea2(0x495)][_0x169ea2(0x4bf)](this);return _0x2627e7[_0x169ea2(0x1c4)]=this[_0x169ea2(0x1c4)]['clone'](),_0x2627e7;}});_0x3e64aa[_0x38e97a(0x33c)]=_0x1d64f8['_createHelper'](_0x5396db),_0x3e64aa['HmacSHA1']=_0x1d64f8['_createHmacHelper'](_0x5396db);}()),_0x5892d5['SHA1'];}));}(me)),me[_0x49c5db(0x356)];}var Ce={'exports':{}},Li=Ce[_0xb98a65(0x356)],Qe;function wi(){var _0x2c0c16=_0xb98a65;return Qe||(Qe=0x1,function(_0x5e6aeb,_0x3b39b5){(function(_0x5da778,_0x248b48){_0x5e6aeb['exports']=_0x248b48(Q());}(Li,function(_0xc66f2a){(function(){var _0x3eec23=_0x5981,_0x543e4b=_0xc66f2a,_0x1b0f37=_0x543e4b[_0x3eec23(0x4a0)],_0x8d7ede=_0x1b0f37[_0x3eec23(0x296)],_0xa806af=_0x543e4b[_0x3eec23(0x146)],_0x4d6845=_0xa806af[_0x3eec23(0x43c)],_0x43acfc=_0x543e4b['algo'];_0x43acfc[_0x3eec23(0x4b2)]=_0x8d7ede[_0x3eec23(0x370)]({'init':function(_0x3be27d,_0x2539f1){var _0x5196e9=_0x3eec23;_0x3be27d=this[_0x5196e9(0x2e1)]=new _0x3be27d['init'](),typeof _0x2539f1=='string'&&(_0x2539f1=_0x4d6845[_0x5196e9(0x14b)](_0x2539f1));var _0x3e2873=_0x3be27d[_0x5196e9(0x497)],_0x412c4b=_0x3e2873*0x4;_0x2539f1[_0x5196e9(0x41f)]>_0x412c4b&&(_0x2539f1=_0x3be27d[_0x5196e9(0x2d8)](_0x2539f1)),_0x2539f1[_0x5196e9(0x34c)]();for(var _0x248c02=this[_0x5196e9(0x3ab)]=_0x2539f1[_0x5196e9(0x495)](),_0x3c221a=this[_0x5196e9(0x200)]=_0x2539f1['clone'](),_0x16920c=_0x248c02[_0x5196e9(0x2dd)],_0x27f67f=_0x3c221a['words'],_0x2a0799=0x0;_0x2a0799<_0x3e2873;_0x2a0799++)_0x16920c[_0x2a0799]^=0x5c5c5c5c,_0x27f67f[_0x2a0799]^=0x36363636;_0x248c02['sigBytes']=_0x3c221a['sigBytes']=_0x412c4b,this[_0x5196e9(0x183)]();},'reset':function(){var _0x1338f8=_0x3eec23,_0x39bc8f=this[_0x1338f8(0x2e1)];_0x39bc8f[_0x1338f8(0x183)](),_0x39bc8f[_0x1338f8(0x30b)](this[_0x1338f8(0x200)]);},'update':function(_0x4b7e64){var _0x350440=_0x3eec23;return this[_0x350440(0x2e1)][_0x350440(0x30b)](_0x4b7e64),this;},'finalize':function(_0x40b1ec){var _0x1f674c=_0x3eec23,_0x7a9aa7=this[_0x1f674c(0x2e1)],_0x5ab264=_0x7a9aa7[_0x1f674c(0x2d8)](_0x40b1ec);_0x7a9aa7[_0x1f674c(0x183)]();var _0x59a181=_0x7a9aa7['finalize'](this[_0x1f674c(0x3ab)][_0x1f674c(0x495)]()[_0x1f674c(0x2ff)](_0x5ab264));return _0x59a181;}});}());}));}(Ce)),Ce[_0x2c0c16(0x356)];}var Mi=Ee[_0xb98a65(0x356)],et;function Nt(){var _0x49f65a=_0xb98a65;return et||(et=0x1,function(_0x5c19f8,_0x3b6350){(function(_0x257c6a,_0x5e0465,_0x3d9814){var _0x58d2b1=_0x5981;_0x5c19f8[_0x58d2b1(0x356)]=_0x5e0465(Q(),Pi(),wi());}(Mi,function(_0x14b8f6){return(function(){var _0x729d93=_0x5981,_0xb9d16e=_0x14b8f6,_0x406ee9=_0xb9d16e[_0x729d93(0x4a0)],_0x2f6dec=_0x406ee9[_0x729d93(0x296)],_0x544a80=_0x406ee9[_0x729d93(0x27f)],_0x13b8a2=_0xb9d16e[_0x729d93(0x387)],_0x9ccceb=_0x13b8a2['MD5'],_0x1ea31b=_0x13b8a2[_0x729d93(0x333)]=_0x2f6dec[_0x729d93(0x370)]({'cfg':_0x2f6dec[_0x729d93(0x370)]({'keySize':0x80/0x20,'hasher':_0x9ccceb,'iterations':0x1}),'init':function(_0x100985){var _0xd1c5fc=_0x729d93;this[_0xd1c5fc(0x263)]=this['cfg']['extend'](_0x100985);},'compute':function(_0x18d3f8,_0x1776a7){var _0x2ec0d6=_0x729d93;for(var _0x19b2f2,_0x1a8473=this[_0x2ec0d6(0x263)],_0x153fd5=_0x1a8473[_0x2ec0d6(0x349)][_0x2ec0d6(0x1c6)](),_0x337a4a=_0x544a80['create'](),_0x1b0af3=_0x337a4a[_0x2ec0d6(0x2dd)],_0x2bba60=_0x1a8473[_0x2ec0d6(0x4ba)],_0x558952=_0x1a8473['iterations'];_0x1b0af3[_0x2ec0d6(0x1cf)]<_0x2bba60;){_0x19b2f2&&_0x153fd5[_0x2ec0d6(0x30b)](_0x19b2f2),_0x19b2f2=_0x153fd5[_0x2ec0d6(0x30b)](_0x18d3f8)[_0x2ec0d6(0x2d8)](_0x1776a7),_0x153fd5[_0x2ec0d6(0x183)]();for(var _0x53e22f=0x1;_0x53e22f<_0x558952;_0x53e22f++)_0x19b2f2=_0x153fd5[_0x2ec0d6(0x2d8)](_0x19b2f2),_0x153fd5[_0x2ec0d6(0x183)]();_0x337a4a[_0x2ec0d6(0x2ff)](_0x19b2f2);}return _0x337a4a[_0x2ec0d6(0x41f)]=_0x2bba60*0x4,_0x337a4a;}});_0xb9d16e[_0x729d93(0x333)]=function(_0x36250a,_0x3fdf73,_0x505154){var _0x10d0bd=_0x729d93;return _0x1ea31b[_0x10d0bd(0x1c6)](_0x505154)['compute'](_0x36250a,_0x3fdf73);};}()),_0x14b8f6['EvpKDF'];}));}(Ee)),Ee[_0x49f65a(0x356)];}var Te={'exports':{}},xi=Te['exports'],tt;function Dt(){return tt||(tt=0x1,function(_0x4b07b7,_0x3c83d4){(function(_0x52fb1b,_0x3ad3a3,_0x5cc0cb){var _0x20457d=_0x5981;_0x4b07b7[_0x20457d(0x356)]=_0x3ad3a3(Q(),Nt());}(xi,function(_0x310055){var _0x31904f=_0x5981;_0x310055[_0x31904f(0x4a0)][_0x31904f(0x1a6)]||function(_0x4ffbbd){var _0x23a586=_0x31904f,_0x5e438c=_0x310055,_0x48aac7=_0x5e438c['lib'],_0x3c8e92=_0x48aac7[_0x23a586(0x296)],_0x1f161d=_0x48aac7['WordArray'],_0x5899d9=_0x48aac7[_0x23a586(0x140)],_0x142704=_0x5e438c[_0x23a586(0x146)];_0x142704[_0x23a586(0x43c)];var _0x40cdd6=_0x142704['Base64'],_0x18b364=_0x5e438c[_0x23a586(0x387)],_0x4e5e29=_0x18b364['EvpKDF'],_0xe0be91=_0x48aac7['Cipher']=_0x5899d9[_0x23a586(0x370)]({'cfg':_0x3c8e92[_0x23a586(0x370)](),'createEncryptor':function(_0x81ac2a,_0x544cd2){var _0x2e4d91=_0x23a586;return this['create'](this[_0x2e4d91(0x3fa)],_0x81ac2a,_0x544cd2);},'createDecryptor':function(_0x12e40c,_0x2b0eee){var _0x36f195=_0x23a586;return this[_0x36f195(0x1c6)](this[_0x36f195(0x49d)],_0x12e40c,_0x2b0eee);},'init':function(_0x601c56,_0x10c01b,_0x545821){var _0x1f010b=_0x23a586;this[_0x1f010b(0x263)]=this[_0x1f010b(0x263)][_0x1f010b(0x370)](_0x545821),this[_0x1f010b(0x38b)]=_0x601c56,this[_0x1f010b(0x3e9)]=_0x10c01b,this[_0x1f010b(0x183)]();},'reset':function(){var _0x5cfb52=_0x23a586;_0x5899d9[_0x5cfb52(0x183)][_0x5cfb52(0x4bf)](this),this[_0x5cfb52(0x24d)]();},'process':function(_0x3a148e){var _0x56c582=_0x23a586;return this[_0x56c582(0x498)](_0x3a148e),this[_0x56c582(0x319)]();},'finalize':function(_0x257848){var _0x35a921=_0x23a586;_0x257848&&this[_0x35a921(0x498)](_0x257848);var _0x894a7f=this[_0x35a921(0x41e)]();return _0x894a7f;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5488f5(_0x59bf7a){var _0x5a67a1=_0x5981;return typeof _0x59bf7a==_0x5a67a1(0x3aa)?_0xe8e166:_0x51d9dc;}return function(_0x163ad1){return{'encrypt':function(_0x442a58,_0x5f378d,_0x55d0b9){var _0x2c3687=_0x5981;return _0x5488f5(_0x5f378d)[_0x2c3687(0x16d)](_0x163ad1,_0x442a58,_0x5f378d,_0x55d0b9);},'decrypt':function(_0x107153,_0x377e87,_0x3b073b){var _0x26ae54=_0x5981;return _0x5488f5(_0x377e87)[_0x26ae54(0x4c2)](_0x163ad1,_0x107153,_0x377e87,_0x3b073b);}};};}())});_0x48aac7[_0x23a586(0x3a6)]=_0xe0be91[_0x23a586(0x370)]({'_doFinalize':function(){var _0x3c661=this['_process'](!0x0);return _0x3c661;},'blockSize':0x1});var _0x1123f5=_0x5e438c[_0x23a586(0x233)]={},_0x6e6761=_0x48aac7[_0x23a586(0x4a7)]=_0x3c8e92[_0x23a586(0x370)]({'createEncryptor':function(_0x42154b,_0x4db339){var _0x278279=_0x23a586;return this['Encryptor'][_0x278279(0x1c6)](_0x42154b,_0x4db339);},'createDecryptor':function(_0x33b1ce,_0x5f34b6){var _0x1df046=_0x23a586;return this[_0x1df046(0x2bd)][_0x1df046(0x1c6)](_0x33b1ce,_0x5f34b6);},'init':function(_0x2d32fb,_0x4bb4f2){var _0x187b20=_0x23a586;this[_0x187b20(0x23e)]=_0x2d32fb,this[_0x187b20(0x44a)]=_0x4bb4f2;}}),_0xb9b905=_0x1123f5['CBC']=(function(){var _0x19e1d1=_0x23a586,_0x246485=_0x6e6761[_0x19e1d1(0x370)]();_0x246485[_0x19e1d1(0x1d4)]=_0x246485['extend']({'processBlock':function(_0x4b152b,_0x1a55c9){var _0x3533d3=_0x19e1d1,_0x58c6e0=this[_0x3533d3(0x23e)],_0x14195d=_0x58c6e0[_0x3533d3(0x497)];_0x5a011e['call'](this,_0x4b152b,_0x1a55c9,_0x14195d),_0x58c6e0[_0x3533d3(0x176)](_0x4b152b,_0x1a55c9),this[_0x3533d3(0x364)]=_0x4b152b['slice'](_0x1a55c9,_0x1a55c9+_0x14195d);}}),_0x246485[_0x19e1d1(0x2bd)]=_0x246485['extend']({'processBlock':function(_0xed5962,_0x1f9d1a){var _0x3c7a07=_0x19e1d1,_0x4897d5=this[_0x3c7a07(0x23e)],_0x16480b=_0x4897d5[_0x3c7a07(0x497)],_0x205a19=_0xed5962[_0x3c7a07(0x49b)](_0x1f9d1a,_0x1f9d1a+_0x16480b);_0x4897d5[_0x3c7a07(0x22e)](_0xed5962,_0x1f9d1a),_0x5a011e['call'](this,_0xed5962,_0x1f9d1a,_0x16480b),this[_0x3c7a07(0x364)]=_0x205a19;}});function _0x5a011e(_0x4382bc,_0x1646f4,_0x12d76a){var _0x14b240=_0x19e1d1,_0x3d3580,_0x8999ad=this[_0x14b240(0x44a)];_0x8999ad?(_0x3d3580=_0x8999ad,this[_0x14b240(0x44a)]=_0x4ffbbd):_0x3d3580=this['_prevBlock'];for(var _0x220956=0x0;_0x220956<_0x12d76a;_0x220956++)_0x4382bc[_0x1646f4+_0x220956]^=_0x3d3580[_0x220956];}return _0x246485;}()),_0x1df800=_0x5e438c[_0x23a586(0x2b1)]={},_0x19cc5a=_0x1df800[_0x23a586(0x201)]={'pad':function(_0x10991a,_0x31c8a3){var _0x377d57=_0x23a586;for(var _0xc0b9ac=_0x31c8a3*0x4,_0x2f7cbc=_0xc0b9ac-_0x10991a[_0x377d57(0x41f)]%_0xc0b9ac,_0x343864=_0x2f7cbc<<0x18|_0x2f7cbc<<0x10|_0x2f7cbc<<0x8|_0x2f7cbc,_0x1fde60=[],_0x566a02=0x0;_0x566a02<_0x2f7cbc;_0x566a02+=0x4)_0x1fde60[_0x377d57(0x360)](_0x343864);var _0x511bce=_0x1f161d[_0x377d57(0x1c6)](_0x1fde60,_0x2f7cbc);_0x10991a[_0x377d57(0x2ff)](_0x511bce);},'unpad':function(_0x586a58){var _0x4dc7a0=_0x23a586,_0x32f0a6=_0x586a58[_0x4dc7a0(0x2dd)][_0x586a58['sigBytes']-0x1>>>0x2]&0xff;_0x586a58['sigBytes']-=_0x32f0a6;}};_0x48aac7[_0x23a586(0x191)]=_0xe0be91[_0x23a586(0x370)]({'cfg':_0xe0be91[_0x23a586(0x263)][_0x23a586(0x370)]({'mode':_0xb9b905,'padding':_0x19cc5a}),'reset':function(){var _0x274f64=_0x23a586,_0x240ba2;_0xe0be91[_0x274f64(0x183)][_0x274f64(0x4bf)](this);var _0x12b9dc=this[_0x274f64(0x263)],_0x261b4f=_0x12b9dc['iv'],_0xc50c0f=_0x12b9dc[_0x274f64(0x233)];this[_0x274f64(0x38b)]==this[_0x274f64(0x3fa)]?_0x240ba2=_0xc50c0f[_0x274f64(0x15b)]:(_0x240ba2=_0xc50c0f[_0x274f64(0x427)],this[_0x274f64(0x2ce)]=0x1),this[_0x274f64(0x3e7)]&&this[_0x274f64(0x3e7)][_0x274f64(0x29c)]==_0x240ba2?this[_0x274f64(0x3e7)][_0x274f64(0x440)](this,_0x261b4f&&_0x261b4f[_0x274f64(0x2dd)]):(this[_0x274f64(0x3e7)]=_0x240ba2['call'](_0xc50c0f,this,_0x261b4f&&_0x261b4f[_0x274f64(0x2dd)]),this[_0x274f64(0x3e7)]['__creator']=_0x240ba2);},'_doProcessBlock':function(_0x5efc04,_0x163c35){var _0x10764d=_0x23a586;this[_0x10764d(0x3e7)]['processBlock'](_0x5efc04,_0x163c35);},'_doFinalize':function(){var _0x500e71=_0x23a586,_0x33ad29,_0x2355cb=this[_0x500e71(0x263)][_0x500e71(0x385)];return this[_0x500e71(0x38b)]==this[_0x500e71(0x3fa)]?(_0x2355cb[_0x500e71(0x2b1)](this[_0x500e71(0x1be)],this[_0x500e71(0x497)]),_0x33ad29=this[_0x500e71(0x319)](!0x0)):(_0x33ad29=this[_0x500e71(0x319)](!0x0),_0x2355cb[_0x500e71(0x35d)](_0x33ad29)),_0x33ad29;},'blockSize':0x80/0x20});var _0x284815=_0x48aac7[_0x23a586(0x4a1)]=_0x3c8e92['extend']({'init':function(_0x15df95){this['mixIn'](_0x15df95);},'toString':function(_0x705524){var _0x3f264c=_0x23a586;return(_0x705524||this['formatter'])[_0x3f264c(0x4a4)](this);}}),_0x3f7ce6=_0x5e438c['format']={},_0xb96a5a=_0x3f7ce6['OpenSSL']={'stringify':function(_0x14208e){var _0x37bc6c=_0x23a586,_0xc82877,_0x26220d=_0x14208e[_0x37bc6c(0x18f)],_0x56d55c=_0x14208e['salt'];return _0x56d55c?_0xc82877=_0x1f161d[_0x37bc6c(0x1c6)]([0x53616c74,0x65645f5f])[_0x37bc6c(0x2ff)](_0x56d55c)[_0x37bc6c(0x2ff)](_0x26220d):_0xc82877=_0x26220d,_0xc82877[_0x37bc6c(0x381)](_0x40cdd6);},'parse':function(_0x4fdecb){var _0x223934=_0x23a586,_0x5cc600,_0x26a1bf=_0x40cdd6[_0x223934(0x14b)](_0x4fdecb),_0x21fa92=_0x26a1bf[_0x223934(0x2dd)];return _0x21fa92[0x0]==0x53616c74&&_0x21fa92[0x1]==0x65645f5f&&(_0x5cc600=_0x1f161d[_0x223934(0x1c6)](_0x21fa92[_0x223934(0x49b)](0x2,0x4)),_0x21fa92[_0x223934(0x1ed)](0x0,0x4),_0x26a1bf[_0x223934(0x41f)]-=0x10),_0x284815[_0x223934(0x1c6)]({'ciphertext':_0x26a1bf,'salt':_0x5cc600});}},_0x51d9dc=_0x48aac7['SerializableCipher']=_0x3c8e92[_0x23a586(0x370)]({'cfg':_0x3c8e92['extend']({'format':_0xb96a5a}),'encrypt':function(_0x513b3a,_0x48a6d2,_0x2a18f7,_0x643b4c){var _0x11b9c1=_0x23a586;_0x643b4c=this['cfg'][_0x11b9c1(0x370)](_0x643b4c);var _0x453fa7=_0x513b3a[_0x11b9c1(0x15b)](_0x2a18f7,_0x643b4c),_0x2f4995=_0x453fa7[_0x11b9c1(0x2d8)](_0x48a6d2),_0x9317b9=_0x453fa7[_0x11b9c1(0x263)];return _0x284815[_0x11b9c1(0x1c6)]({'ciphertext':_0x2f4995,'key':_0x2a18f7,'iv':_0x9317b9['iv'],'algorithm':_0x513b3a,'mode':_0x9317b9[_0x11b9c1(0x233)],'padding':_0x9317b9[_0x11b9c1(0x385)],'blockSize':_0x513b3a[_0x11b9c1(0x497)],'formatter':_0x643b4c[_0x11b9c1(0x271)]});},'decrypt':function(_0x17084a,_0x546106,_0x19c7b5,_0x26a6a1){var _0x4ccc97=_0x23a586;_0x26a6a1=this[_0x4ccc97(0x263)][_0x4ccc97(0x370)](_0x26a6a1),_0x546106=this[_0x4ccc97(0x431)](_0x546106,_0x26a6a1[_0x4ccc97(0x271)]);var _0x37899f=_0x17084a['createDecryptor'](_0x19c7b5,_0x26a6a1)[_0x4ccc97(0x2d8)](_0x546106['ciphertext']);return _0x37899f;},'_parse':function(_0x8f1f6c,_0x30b4d9){var _0x18b8b4=_0x23a586;return typeof _0x8f1f6c==_0x18b8b4(0x3aa)?_0x30b4d9[_0x18b8b4(0x14b)](_0x8f1f6c,this):_0x8f1f6c;}}),_0x1aca0e=_0x5e438c['kdf']={},_0x14499e=_0x1aca0e[_0x23a586(0x45d)]={'execute':function(_0x21219e,_0x47a1f2,_0x32f958,_0x5f2061,_0x56ea85){var _0x319522=_0x23a586;if(_0x5f2061||(_0x5f2061=_0x1f161d[_0x319522(0x2a0)](0x40/0x8)),_0x56ea85)var _0x328614=_0x4e5e29[_0x319522(0x1c6)]({'keySize':_0x47a1f2+_0x32f958,'hasher':_0x56ea85})[_0x319522(0x3a9)](_0x21219e,_0x5f2061);else var _0x328614=_0x4e5e29[_0x319522(0x1c6)]({'keySize':_0x47a1f2+_0x32f958})['compute'](_0x21219e,_0x5f2061);var _0x348e6a=_0x1f161d[_0x319522(0x1c6)](_0x328614[_0x319522(0x2dd)][_0x319522(0x49b)](_0x47a1f2),_0x32f958*0x4);return _0x328614['sigBytes']=_0x47a1f2*0x4,_0x284815[_0x319522(0x1c6)]({'key':_0x328614,'iv':_0x348e6a,'salt':_0x5f2061});}},_0xe8e166=_0x48aac7[_0x23a586(0x3ce)]=_0x51d9dc['extend']({'cfg':_0x51d9dc['cfg'][_0x23a586(0x370)]({'kdf':_0x14499e}),'encrypt':function(_0xd7f7d4,_0x232d82,_0x5a6ce3,_0x3b6ef1){var _0xed8eb8=_0x23a586;_0x3b6ef1=this[_0xed8eb8(0x263)][_0xed8eb8(0x370)](_0x3b6ef1);var _0x4a8844=_0x3b6ef1['kdf']['execute'](_0x5a6ce3,_0xd7f7d4[_0xed8eb8(0x4ba)],_0xd7f7d4[_0xed8eb8(0x198)],_0x3b6ef1['salt'],_0x3b6ef1[_0xed8eb8(0x349)]);_0x3b6ef1['iv']=_0x4a8844['iv'];var _0x213f43=_0x51d9dc[_0xed8eb8(0x16d)][_0xed8eb8(0x4bf)](this,_0xd7f7d4,_0x232d82,_0x4a8844[_0xed8eb8(0x34e)],_0x3b6ef1);return _0x213f43[_0xed8eb8(0x25a)](_0x4a8844),_0x213f43;},'decrypt':function(_0x16d6df,_0x463981,_0x17e837,_0x221600){var _0x1371d0=_0x23a586;_0x221600=this['cfg']['extend'](_0x221600),_0x463981=this['_parse'](_0x463981,_0x221600[_0x1371d0(0x271)]);var _0x3cfd47=_0x221600['kdf']['execute'](_0x17e837,_0x16d6df[_0x1371d0(0x4ba)],_0x16d6df[_0x1371d0(0x198)],_0x463981[_0x1371d0(0x392)],_0x221600[_0x1371d0(0x349)]);_0x221600['iv']=_0x3cfd47['iv'];var _0xa6f93=_0x51d9dc['decrypt'][_0x1371d0(0x4bf)](this,_0x16d6df,_0x463981,_0x3cfd47['key'],_0x221600);return _0xa6f93;}});}();}));}(Te)),Te['exports'];}var ki=fe[_0xb98a65(0x356)],it;function Hi(){var _0x1dee0f=_0xb98a65;return it||(it=0x1,function(_0x1ea31e,_0x4ac438){(function(_0x471e86,_0x1e298a,_0x32d37a){var _0x3f598b=_0x5981;_0x1ea31e[_0x3f598b(0x356)]=_0x1e298a(Q(),yt(),Ui(),Nt(),Dt());}(ki,function(_0x9a3932){var _0x47fc23=_0x5981;return(function(){var _0x48cfcd=_0x5981,_0x482636=_0x9a3932,_0x41dc94=_0x482636[_0x48cfcd(0x4a0)],_0x3b1962=_0x41dc94[_0x48cfcd(0x191)],_0x29d9fc=_0x482636[_0x48cfcd(0x387)],_0x391d3a=[],_0x3a3510=[],_0x25c9ec=[],_0x2c30ad=[],_0x15c162=[],_0x4143ce=[],_0x8e8800=[],_0x141dda=[],_0x44bb08=[],_0x6e1274=[];(function(){for(var _0x11e39a=[],_0x215233=0x0;_0x215233<0x100;_0x215233++)_0x215233<0x80?_0x11e39a[_0x215233]=_0x215233<<0x1:_0x11e39a[_0x215233]=_0x215233<<0x1^0x11b;for(var _0x44fe79=0x0,_0x228934=0x0,_0x215233=0x0;_0x215233<0x100;_0x215233++){var _0xcdcb5a=_0x228934^_0x228934<<0x1^_0x228934<<0x2^_0x228934<<0x3^_0x228934<<0x4;_0xcdcb5a=_0xcdcb5a>>>0x8^_0xcdcb5a&0xff^0x63,_0x391d3a[_0x44fe79]=_0xcdcb5a,_0x3a3510[_0xcdcb5a]=_0x44fe79;var _0x20f46f=_0x11e39a[_0x44fe79],_0x5b0ae7=_0x11e39a[_0x20f46f],_0x554866=_0x11e39a[_0x5b0ae7],_0x4c242f=_0x11e39a[_0xcdcb5a]*0x101^_0xcdcb5a*0x1010100;_0x25c9ec[_0x44fe79]=_0x4c242f<<0x18|_0x4c242f>>>0x8,_0x2c30ad[_0x44fe79]=_0x4c242f<<0x10|_0x4c242f>>>0x10,_0x15c162[_0x44fe79]=_0x4c242f<<0x8|_0x4c242f>>>0x18,_0x4143ce[_0x44fe79]=_0x4c242f;var _0x4c242f=_0x554866*0x1010101^_0x5b0ae7*0x10001^_0x20f46f*0x101^_0x44fe79*0x1010100;_0x8e8800[_0xcdcb5a]=_0x4c242f<<0x18|_0x4c242f>>>0x8,_0x141dda[_0xcdcb5a]=_0x4c242f<<0x10|_0x4c242f>>>0x10,_0x44bb08[_0xcdcb5a]=_0x4c242f<<0x8|_0x4c242f>>>0x18,_0x6e1274[_0xcdcb5a]=_0x4c242f,_0x44fe79?(_0x44fe79=_0x20f46f^_0x11e39a[_0x11e39a[_0x11e39a[_0x554866^_0x20f46f]]],_0x228934^=_0x11e39a[_0x11e39a[_0x228934]]):_0x44fe79=_0x228934=0x1;}}());var _0x20a249=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xa2747a=_0x29d9fc['AES']=_0x3b1962['extend']({'_doReset':function(){var _0x34d6e6=_0x48cfcd,_0x5dd6b9;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x34d6e6(0x3e9)])){for(var _0x4d1fc4=this[_0x34d6e6(0x487)]=this[_0x34d6e6(0x3e9)],_0x3fa5d6=_0x4d1fc4[_0x34d6e6(0x2dd)],_0x1e2aa4=_0x4d1fc4['sigBytes']/0x4,_0x8ea786=this[_0x34d6e6(0x161)]=_0x1e2aa4+0x6,_0x4873f3=(_0x8ea786+0x1)*0x4,_0x1f2420=this['_keySchedule']=[],_0x5a23c1=0x0;_0x5a23c1<_0x4873f3;_0x5a23c1++)_0x5a23c1<_0x1e2aa4?_0x1f2420[_0x5a23c1]=_0x3fa5d6[_0x5a23c1]:(_0x5dd6b9=_0x1f2420[_0x5a23c1-0x1],_0x5a23c1%_0x1e2aa4?_0x1e2aa4>0x6&&_0x5a23c1%_0x1e2aa4==0x4&&(_0x5dd6b9=_0x391d3a[_0x5dd6b9>>>0x18]<<0x18|_0x391d3a[_0x5dd6b9>>>0x10&0xff]<<0x10|_0x391d3a[_0x5dd6b9>>>0x8&0xff]<<0x8|_0x391d3a[_0x5dd6b9&0xff]):(_0x5dd6b9=_0x5dd6b9<<0x8|_0x5dd6b9>>>0x18,_0x5dd6b9=_0x391d3a[_0x5dd6b9>>>0x18]<<0x18|_0x391d3a[_0x5dd6b9>>>0x10&0xff]<<0x10|_0x391d3a[_0x5dd6b9>>>0x8&0xff]<<0x8|_0x391d3a[_0x5dd6b9&0xff],_0x5dd6b9^=_0x20a249[_0x5a23c1/_0x1e2aa4|0x0]<<0x18),_0x1f2420[_0x5a23c1]=_0x1f2420[_0x5a23c1-_0x1e2aa4]^_0x5dd6b9);for(var _0x32e4fb=this['_invKeySchedule']=[],_0x51ef22=0x0;_0x51ef22<_0x4873f3;_0x51ef22++){var _0x5a23c1=_0x4873f3-_0x51ef22;if(_0x51ef22%0x4)var _0x5dd6b9=_0x1f2420[_0x5a23c1];else var _0x5dd6b9=_0x1f2420[_0x5a23c1-0x4];_0x51ef22<0x4||_0x5a23c1<=0x4?_0x32e4fb[_0x51ef22]=_0x5dd6b9:_0x32e4fb[_0x51ef22]=_0x8e8800[_0x391d3a[_0x5dd6b9>>>0x18]]^_0x141dda[_0x391d3a[_0x5dd6b9>>>0x10&0xff]]^_0x44bb08[_0x391d3a[_0x5dd6b9>>>0x8&0xff]]^_0x6e1274[_0x391d3a[_0x5dd6b9&0xff]];}}},'encryptBlock':function(_0x85a999,_0x365d5d){var _0x2a65c1=_0x48cfcd;this[_0x2a65c1(0x13f)](_0x85a999,_0x365d5d,this[_0x2a65c1(0x3c9)],_0x25c9ec,_0x2c30ad,_0x15c162,_0x4143ce,_0x391d3a);},'decryptBlock':function(_0x3c0a4d,_0x53901e){var _0x54825f=_0x48cfcd,_0x257d71=_0x3c0a4d[_0x53901e+0x1];_0x3c0a4d[_0x53901e+0x1]=_0x3c0a4d[_0x53901e+0x3],_0x3c0a4d[_0x53901e+0x3]=_0x257d71,this['_doCryptBlock'](_0x3c0a4d,_0x53901e,this[_0x54825f(0x2b6)],_0x8e8800,_0x141dda,_0x44bb08,_0x6e1274,_0x3a3510);var _0x257d71=_0x3c0a4d[_0x53901e+0x1];_0x3c0a4d[_0x53901e+0x1]=_0x3c0a4d[_0x53901e+0x3],_0x3c0a4d[_0x53901e+0x3]=_0x257d71;},'_doCryptBlock':function(_0x34826a,_0x4fd686,_0x5f3098,_0x28b9e8,_0x1e6426,_0xc5e8,_0x4ba9b7,_0x4aaf2e){var _0x55177b=_0x48cfcd;for(var _0x2cacfb=this[_0x55177b(0x161)],_0xf381ea=_0x34826a[_0x4fd686]^_0x5f3098[0x0],_0x420fbd=_0x34826a[_0x4fd686+0x1]^_0x5f3098[0x1],_0x2e6274=_0x34826a[_0x4fd686+0x2]^_0x5f3098[0x2],_0x5911c8=_0x34826a[_0x4fd686+0x3]^_0x5f3098[0x3],_0x4ea704=0x4,_0x4cfeb6=0x1;_0x4cfeb6<_0x2cacfb;_0x4cfeb6++){var _0xcebacd=_0x28b9e8[_0xf381ea>>>0x18]^_0x1e6426[_0x420fbd>>>0x10&0xff]^_0xc5e8[_0x2e6274>>>0x8&0xff]^_0x4ba9b7[_0x5911c8&0xff]^_0x5f3098[_0x4ea704++],_0x5bc9b3=_0x28b9e8[_0x420fbd>>>0x18]^_0x1e6426[_0x2e6274>>>0x10&0xff]^_0xc5e8[_0x5911c8>>>0x8&0xff]^_0x4ba9b7[_0xf381ea&0xff]^_0x5f3098[_0x4ea704++],_0x5cde5e=_0x28b9e8[_0x2e6274>>>0x18]^_0x1e6426[_0x5911c8>>>0x10&0xff]^_0xc5e8[_0xf381ea>>>0x8&0xff]^_0x4ba9b7[_0x420fbd&0xff]^_0x5f3098[_0x4ea704++],_0x3255a4=_0x28b9e8[_0x5911c8>>>0x18]^_0x1e6426[_0xf381ea>>>0x10&0xff]^_0xc5e8[_0x420fbd>>>0x8&0xff]^_0x4ba9b7[_0x2e6274&0xff]^_0x5f3098[_0x4ea704++];_0xf381ea=_0xcebacd,_0x420fbd=_0x5bc9b3,_0x2e6274=_0x5cde5e,_0x5911c8=_0x3255a4;}var _0xcebacd=(_0x4aaf2e[_0xf381ea>>>0x18]<<0x18|_0x4aaf2e[_0x420fbd>>>0x10&0xff]<<0x10|_0x4aaf2e[_0x2e6274>>>0x8&0xff]<<0x8|_0x4aaf2e[_0x5911c8&0xff])^_0x5f3098[_0x4ea704++],_0x5bc9b3=(_0x4aaf2e[_0x420fbd>>>0x18]<<0x18|_0x4aaf2e[_0x2e6274>>>0x10&0xff]<<0x10|_0x4aaf2e[_0x5911c8>>>0x8&0xff]<<0x8|_0x4aaf2e[_0xf381ea&0xff])^_0x5f3098[_0x4ea704++],_0x5cde5e=(_0x4aaf2e[_0x2e6274>>>0x18]<<0x18|_0x4aaf2e[_0x5911c8>>>0x10&0xff]<<0x10|_0x4aaf2e[_0xf381ea>>>0x8&0xff]<<0x8|_0x4aaf2e[_0x420fbd&0xff])^_0x5f3098[_0x4ea704++],_0x3255a4=(_0x4aaf2e[_0x5911c8>>>0x18]<<0x18|_0x4aaf2e[_0xf381ea>>>0x10&0xff]<<0x10|_0x4aaf2e[_0x420fbd>>>0x8&0xff]<<0x8|_0x4aaf2e[_0x2e6274&0xff])^_0x5f3098[_0x4ea704++];_0x34826a[_0x4fd686]=_0xcebacd,_0x34826a[_0x4fd686+0x1]=_0x5bc9b3,_0x34826a[_0x4fd686+0x2]=_0x5cde5e,_0x34826a[_0x4fd686+0x3]=_0x3255a4;},'keySize':0x100/0x20});_0x482636[_0x48cfcd(0x1d1)]=_0x3b1962[_0x48cfcd(0x402)](_0xa2747a);}()),_0x9a3932[_0x47fc23(0x1d1)];}));}(fe)),fe[_0x1dee0f(0x356)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be[_0xb98a65(0x356)],rt;function Vi(){return rt||(rt=0x1,function(_0x2cf96f,_0x210ff2){(function(_0x53bcd5,_0xff5260){_0x2cf96f['exports']=_0xff5260(Q());}(Fi,function(_0x400ab1){var _0x47d90d=_0x5981;return _0x400ab1['enc'][_0x47d90d(0x43c)];}));}(be)),be['exports'];}var Wi=Vi();const Yi=ve(Wi);var Re={'exports':{}},Gi=Re[_0xb98a65(0x356)],st;function Ki(){var _0x3280f1=_0xb98a65;return st||(st=0x1,function(_0x42e042,_0x563a1){(function(_0x1bb861,_0x5d12dc){var _0x1c11cd=_0x5981;_0x42e042[_0x1c11cd(0x356)]=_0x5d12dc(Q());}(Gi,function(_0x476af9){var _0x3b723a=_0x5981;return(function(){var _0x5af792=_0x5981;if(typeof ArrayBuffer==_0x5af792(0x1c8)){var _0x29f2a2=_0x476af9,_0x48850d=_0x29f2a2[_0x5af792(0x4a0)],_0x180ba8=_0x48850d[_0x5af792(0x27f)],_0x465b66=_0x180ba8[_0x5af792(0x440)],_0x2b93fa=_0x180ba8[_0x5af792(0x440)]=function(_0x12b321){var _0x68cd48=_0x5af792;if(_0x12b321 instanceof ArrayBuffer&&(_0x12b321=new Uint8Array(_0x12b321)),(_0x12b321 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x12b321 instanceof Uint8ClampedArray||_0x12b321 instanceof Int16Array||_0x12b321 instanceof Uint16Array||_0x12b321 instanceof Int32Array||_0x12b321 instanceof Uint32Array||_0x12b321 instanceof Float32Array||_0x12b321 instanceof Float64Array)&&(_0x12b321=new Uint8Array(_0x12b321[_0x68cd48(0x407)],_0x12b321['byteOffset'],_0x12b321[_0x68cd48(0x4b9)])),_0x12b321 instanceof Uint8Array){for(var _0x31ab78=_0x12b321[_0x68cd48(0x4b9)],_0x2869f3=[],_0x22a59f=0x0;_0x22a59f<_0x31ab78;_0x22a59f++)_0x2869f3[_0x22a59f>>>0x2]|=_0x12b321[_0x22a59f]<<0x18-_0x22a59f%0x4*0x8;_0x465b66[_0x68cd48(0x4bf)](this,_0x2869f3,_0x31ab78);}else _0x465b66[_0x68cd48(0x3f5)](this,arguments);};_0x2b93fa[_0x5af792(0x409)]=_0x180ba8;}}()),_0x476af9[_0x3b723a(0x4a0)][_0x3b723a(0x27f)];}));}(Re)),Re[_0x3280f1(0x356)];}var qi=Ki();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0xb98a65(0x356)],ot;function Xi(){var _0x5b14d4=_0xb98a65;return ot||(ot=0x1,function(_0x241fce,_0x4848f7){(function(_0x98eca,_0x2518af,_0x1b016c){_0x241fce['exports']=_0x2518af(Q(),Dt());}(Ji,function(_0x722dc3){var _0x458532=_0x5981;return _0x722dc3[_0x458532(0x2b1)][_0x458532(0x2c1)]={'pad':function(){},'unpad':function(){}},_0x722dc3[_0x458532(0x2b1)][_0x458532(0x2c1)];}));}(Oe)),Oe[_0x5b14d4(0x356)];}var Zi=Xi();const Qi=ve(Zi);function en(_0xab94dc,_0x3ec412){var _0x495315=_0xb98a65;const _0x4d06a6=_0x3ec412-_0xab94dc[_0x495315(0x1cf)]%_0x3ec412,_0x22970b=String[_0x495315(0x467)](_0x4d06a6)[_0x495315(0x428)](_0x4d06a6);return _0xab94dc+_0x22970b;}function tn(_0x1d7625,_0x50b6e5){var _0x13aab2=_0xb98a65;const _0x4c5adb=zi[_0x13aab2(0x2a0)](0x10),_0x480ff1=en(_0x1d7625,0x10),_0x248d03=ji[_0x13aab2(0x16d)](Yi[_0x13aab2(0x14b)](_0x480ff1),nt['parse'](_0x50b6e5),{'iv':_0x4c5adb,'padding':Qi});return _0x4c5adb[_0x13aab2(0x2ff)](_0x248d03[_0x13aab2(0x18f)])[_0x13aab2(0x381)](nt);}function nn(){var _0x32d203=_0xb98a65;const _0x5a52c2=Lt[_0x32d203(0x397)]()[_0x32d203(0x452)];if(_0x5a52c2){const _0x1cf49c={'time':Math[_0x32d203(0x3e5)](Date[_0x32d203(0x32c)]()/0x3e8),'domain':location[_0x32d203(0x291)]};return tn(JSON[_0x32d203(0x4a4)](_0x1cf49c),_0x5a52c2);}}var rn=Object['getOwnPropertyDescriptor'],sn=(_0x39559f,_0x1ceb7e,_0x8a87d8,_0x2e53af)=>{var _0x1ff7c1=_0xb98a65;for(var _0x1c97c0=_0x2e53af>0x1?void 0x0:_0x2e53af?rn(_0x1ceb7e,_0x8a87d8):_0x1ceb7e,_0x151d65=_0x39559f[_0x1ff7c1(0x1cf)]-0x1,_0x18043f;_0x151d65>=0x0;_0x151d65--)(_0x18043f=_0x39559f[_0x151d65])&&(_0x1c97c0=_0x18043f(_0x1c97c0)||_0x1c97c0);return _0x1c97c0;},on=(_0x95da86,_0x143dd8)=>(_0x247a6c,_0x1d17ae)=>_0x143dd8(_0x247a6c,_0x1d17ae,_0x95da86);let Ne=class{constructor(_0x229d1e){var _0x28101d=_0xb98a65;this[_0x28101d(0x3b5)]=_0x229d1e,this['_initRequestHeader']();}[_0xb98a65(0x2c2)](){var _0x504fec=_0xb98a65;this[_0x504fec(0x3b5)][_0x504fec(0x269)]({'interceptor':(_0x18d045,_0x336c1a)=>{var _0x1efebd=_0x504fec;const _0x273dd5=_0x18d045[_0x1efebd(0x47f)],_0x2481ef=nn();return _0x2481ef&&_0x273dd5[_0x1efebd(0x337)](_0x1efebd(0x424),_0x2481ef),_0x336c1a(_0x18d045);}});}};Ne=sn([on(0x0,a[_0xb98a65(0x42e)](K[_0xb98a65(0x1e5)]))],Ne);var an=Object['getOwnPropertyDescriptor'],cn=(_0x4be4d5,_0x12eecc,_0x2065df,_0xf36333)=>{var _0x10734e=_0xb98a65;for(var _0x3150fe=_0xf36333>0x1?void 0x0:_0xf36333?an(_0x12eecc,_0x2065df):_0x12eecc,_0x32df55=_0x4be4d5[_0x10734e(0x1cf)]-0x1,_0x3ee1eb;_0x32df55>=0x0;_0x32df55--)(_0x3ee1eb=_0x4be4d5[_0x32df55])&&(_0x3150fe=_0x3ee1eb(_0x3150fe)||_0x3150fe);return _0x3150fe;},Le=(_0x51629e,_0xea3dbe)=>(_0x3fde05,_0x4ce547)=>_0xea3dbe(_0x3fde05,_0x4ce547,_0x51629e);exports[_0xb98a65(0x3ac)]=class extends a[_0xb98a65(0x348)]{constructor(_0x1f0252,_0x419c17,_0x1c588d){var _0x409f83=_0xb98a65;super(),A(this,_0x409f83(0x474),new $[(_0x409f83(0x38c))](null)),A(this,_0x409f83(0x226),this[_0x409f83(0x474)][_0x409f83(0x345)]()),(this['_logService']=_0x1f0252,this['_snapshotService']=_0x419c17,this[_0x409f83(0x2cd)]=_0x1c588d);}async[_0xb98a65(0x47b)](_0x47898b,_0x49090d,_0x182429){var _0x3d5c8f=_0xb98a65;this[_0x3d5c8f(0x474)][_0x3d5c8f(0x3a3)]({'unitId':_0x47898b,'type':_0x49090d});let _0x5e216a=null;switch(_0x49090d){case J[_0x3d5c8f(0x42b)]:{_0x5e216a=await this['_snapshotService']['loadSheet'](_0x47898b,_0x182429);break;}case J[_0x3d5c8f(0x153)]:{_0x5e216a=await this[_0x3d5c8f(0x234)][_0x3d5c8f(0x34a)](_0x47898b,_0x182429);break;}default:{this['_logService'][_0x3d5c8f(0x3b4)](_0x3d5c8f(0x203),_0x3d5c8f(0x38f));break;}}return _0x5e216a;}async[_0xb98a65(0x390)](_0x353805,_0x33abd5,_0x27427b){var _0x46c5e7=_0xb98a65,_0x231d8c;this[_0x46c5e7(0x474)][_0x46c5e7(0x3a3)]({'unitId':_0x353805,'type':_0x33abd5,'subUnitId':_0x27427b});let _0x138328=0x0;const _0x4fb0bd=await((_0x231d8c=this[_0x46c5e7(0x2cd)])==null?void 0x0:_0x231d8c[_0x46c5e7(0x46e)](_0x353805));return _0x4fb0bd&&(_0x4fb0bd[_0x46c5e7(0x1c7)]||_0x4fb0bd[_0x46c5e7(0x282)][_0x46c5e7(0x1cf)]!==0x0)&&(_0x138328=_0x4fb0bd[_0x46c5e7(0x2d0)]),_0x138328===0x0&&this['_logService']['debug']('[DataLoaderService]',_0x46c5e7(0x236)),this['loadUnitOfRevision'](_0x353805,_0x33abd5,_0x138328);}},exports['DataLoaderService']=cn([Le(0x0,a[_0xb98a65(0x423)]),Le(0x1,a[_0xb98a65(0x42e)](p['SnapshotService'])),Le(0x2,a[_0xb98a65(0x3d1)](q))],exports[_0xb98a65(0x3ac)]);var hn=Object[_0xb98a65(0x2b8)],_n=(_0x4b5f26,_0x5c38de,_0x88464c,_0x5332ab)=>{var _0x426357=_0xb98a65;for(var _0x31d519=_0x5332ab>0x1?void 0x0:_0x5332ab?hn(_0x5c38de,_0x88464c):_0x5c38de,_0x156209=_0x4b5f26[_0x426357(0x1cf)]-0x1,_0x1d530e;_0x156209>=0x0;_0x156209--)(_0x1d530e=_0x4b5f26[_0x156209])&&(_0x31d519=_0x1d530e(_0x31d519)||_0x31d519);return _0x31d519;},we=(_0x16bbd1,_0xb00a49)=>(_0x7f7274,_0x101fb0)=>_0xb00a49(_0x7f7274,_0x101fb0,_0x16bbd1);const ln=[_0xb98a65(0x13b),_0xb98a65(0x22f),_0xb98a65(0x1d9),'image/gif',_0xb98a65(0x3ad)],un=0x5*0x400*0x400,dn='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',vn=_0xb98a65(0x336),Sn=_0xb98a65(0x39d),fn=_0xb98a65(0x2cf);exports[_0xb98a65(0x343)]=class{constructor(_0x466a84,_0xd2de6d,_0x4ed741){var _0x3cafa8=_0xb98a65;A(this,'_waitCount',0x0),A(this,_0x3cafa8(0x33f),new $[(_0x3cafa8(0x3bd))]()),A(this,_0x3cafa8(0x37b),this[_0x3cafa8(0x33f)]),A(this,'_imageSourceCache',new Map()),(this[_0x3cafa8(0x3b5)]=_0x466a84,this[_0x3cafa8(0x434)]=_0xd2de6d,this[_0x3cafa8(0x4c9)]=_0x4ed741);}[_0xb98a65(0x16a)](_0x50258e){var _0x4c9a3f=_0xb98a65;this[_0x4c9a3f(0x386)]=_0x50258e,this['_change$'][_0x4c9a3f(0x3a3)](_0x50258e);}[_0xb98a65(0x2ef)](_0x530ab9,_0x576828){var _0x4ebe14=_0xb98a65;if(_0x576828===z[_0x4ebe14(0x4ca)][_0x4ebe14(0x1a1)]){const _0x238ebc=new Image();return _0x238ebc[_0x4ebe14(0x415)]=_0x530ab9,_0x238ebc;}return this['_imageSourceCache'][_0x4ebe14(0x324)](_0x530ab9);}['addImageSourceCache'](_0x4c1d49,_0x3679c9,_0x59b015){var _0x20e3c4=_0xb98a65;_0x3679c9===z['ImageSourceType'][_0x20e3c4(0x1a1)]||_0x59b015==null||this[_0x20e3c4(0x408)][_0x20e3c4(0x337)](_0x4c1d49,_0x59b015);}async[_0xb98a65(0x184)](_0x5cf1d8){var _0x5862b5=_0xb98a65;try{const _0x8dd458=this[_0x5862b5(0x2af)](this[_0x5862b5(0x2ad)](),''+_0x5cf1d8),_0x2ff1c0=(await this[_0x5862b5(0x3b5)]['get'](_0x8dd458))[_0x5862b5(0x4c8)];if(_0x2ff1c0[_0x5862b5(0x3b4)]&&_0x2ff1c0['error'][_0x5862b5(0x220)]===gt['OK']){const _0x112765=new URL(_0x2ff1c0['url'],this[_0x5862b5(0x287)]())[_0x5862b5(0x381)]();return Promise['resolve'](_0x112765);}return Promise[_0x5862b5(0x395)](_0x2ff1c0[_0x5862b5(0x3b4)]);}catch(_0x2bc907){return Promise['reject'](_0x2bc907);}}async[_0xb98a65(0x472)](_0x323d47){var _0x676262=_0xb98a65;let _0x569f31='';if(!ln[_0x676262(0x306)](_0x323d47[_0x676262(0x2a8)]))return this[_0x676262(0x2c0)](),Promise[_0x676262(0x395)](new Error(z[_0x676262(0x14e)]['ERROR_IMAGE_TYPE']));if(_0x323d47[_0x676262(0x2c7)]>un)return this[_0x676262(0x2c0)](),Promise[_0x676262(0x395)](new Error(z[_0x676262(0x14e)]['ERROR_EXCEED_SIZE']));try{const _0x3c6591=new FormData();_0x3c6591[_0x676262(0x1db)](_0x676262(0x221),_0x323d47);const _0x3b0da0=this[_0x676262(0x4c9)][_0x676262(0x294)](),_0xac5c14=_0x3b0da0==null?void 0x0:_0x3b0da0[_0x676262(0x270)]();if(!_0xac5c14)throw new Error('unitId\x20is\x20not\x20found');const _0x44500d=this['_getUploadFileURL']()+_0x676262(0x309)+_0x323d47['size']['toString']()+_0x676262(0x1f2)+Et[_0x676262(0x275)]+_0x676262(0x1b2)+encodeURIComponent(_0xac5c14),_0x58ad4c={'body':_0x3c6591},_0x438179=(await this[_0x676262(0x3b5)][_0x676262(0x289)](_0x44500d,_0x58ad4c))[_0x676262(0x4c8)];if(typeof _0x438179['FileId']!=_0x676262(0x3aa))return this['_decreaseWaiting'](),Promise[_0x676262(0x395)](new Error(z[_0x676262(0x14e)][_0x676262(0x2bf)]));_0x569f31=_0x438179['FileId'];}catch{return this[_0x676262(0x2c0)](),Promise[_0x676262(0x395)](new Error(z[_0x676262(0x14e)]['ERROR_IMAGE']));}return new Promise((_0x12ae7f,_0x267ea4)=>{var _0xdbfc6a=_0x676262;const _0x21f688=new FileReader();_0x21f688[_0xdbfc6a(0x166)](_0x323d47),_0x21f688['onload']=_0x7becc3=>{var _0x1dfe4b=_0xdbfc6a,_0x1900ed;const _0xfd43e5=(_0x1900ed=_0x7becc3['target'])==null?void 0x0:_0x1900ed[_0x1dfe4b(0x208)];if(_0xfd43e5==null){this[_0x1dfe4b(0x2c0)](),_0x267ea4(new Error(z[_0x1dfe4b(0x14e)]['ERROR_IMAGE']));return;}const _0x14e11d=a[_0x1dfe4b(0x1ae)][_0x1dfe4b(0x25e)](0x6);_0x12ae7f({'imageId':_0x14e11d,'imageSourceType':z[_0x1dfe4b(0x4ca)]['UUID'],'source':_0x569f31,'base64Cache':_0xfd43e5,'status':z[_0x1dfe4b(0x14e)][_0x1dfe4b(0x365)]}),this['_decreaseWaiting']();};});}[_0xb98a65(0x436)](){var _0x1692a9=_0xb98a65,_0xcf97e9,_0x4adca6;const _0x465a98=this[_0x1692a9(0x434)][_0x1692a9(0x3e6)](dn),_0x17f2f2=this['_configService'][_0x1692a9(0x3e6)](G);return(_0x4adca6=(_0xcf97e9=_0x17f2f2==null?void 0x0:_0x17f2f2[_0x1692a9(0x359)])!=null?_0xcf97e9:_0x465a98)!=null?_0x4adca6:vn;}[_0xb98a65(0x2ad)](){var _0x4e3a55=_0xb98a65,_0x333b5a,_0x136e1f;const _0x3dfae0=this[_0x4e3a55(0x434)][_0x4e3a55(0x3e6)](Sn),_0x4f9a79=this[_0x4e3a55(0x434)]['getConfig'](G);return(_0x136e1f=(_0x333b5a=_0x4f9a79==null?void 0x0:_0x4f9a79[_0x4e3a55(0x168)])!=null?_0x333b5a:_0x3dfae0)!=null?_0x136e1f:fn;}['_getDownloadEndpointURL'](){var _0x31ad22=_0xb98a65,_0x41b568;const _0x5bedf3=this[_0x31ad22(0x434)][_0x31ad22(0x3e6)](G);return(_0x41b568=_0x5bedf3==null?void 0x0:_0x5bedf3['downloadEndpointUrl'])!=null?_0x41b568:location[_0x31ad22(0x340)];}[_0xb98a65(0x2af)](_0x1a6528,_0x5e93cf){var _0x4e7c17=_0xb98a65;return _0x1a6528[_0x4e7c17(0x20d)](_0x4e7c17(0x475),_0x5e93cf);}['_decreaseWaiting'](){var _0x2966c1=_0xb98a65;this[_0x2966c1(0x386)]-=0x1,this[_0x2966c1(0x33f)][_0x2966c1(0x3a3)](this[_0x2966c1(0x386)]);}},exports[_0xb98a65(0x343)]=_n([we(0x0,a['Inject'](K[_0xb98a65(0x1e5)])),we(0x1,a[_0xb98a65(0x2a1)]),we(0x2,a[_0xb98a65(0x42e)](a[_0xb98a65(0x2bb)]))],exports['CollaborationImageIoService']);var In=Object[_0xb98a65(0x2b8)],pn=(_0x4ec4a1,_0x1e0ce6,_0x47e241,_0x34cff1)=>{var _0xd768c0=_0xb98a65;for(var _0x16b60a=_0x34cff1>0x1?void 0x0:_0x34cff1?In(_0x1e0ce6,_0x47e241):_0x1e0ce6,_0x4fd51e=_0x4ec4a1[_0xd768c0(0x1cf)]-0x1,_0x4dc7a2;_0x4fd51e>=0x0;_0x4fd51e--)(_0x4dc7a2=_0x4ec4a1[_0x4fd51e])&&(_0x16b60a=_0x4dc7a2(_0x16b60a)||_0x16b60a);return _0x16b60a;},at=(_0x452f30,_0x341f0f)=>(_0x42614b,_0x4c8ee2)=>_0x341f0f(_0x42614b,_0x4c8ee2,_0x452f30);const gn='/universer-api/authz';exports[_0xb98a65(0x19c)]=class{constructor(_0x4e0fac,_0x1b583a){var _0x2a9b5d=_0xb98a65;this[_0x2a9b5d(0x434)]=_0x4e0fac,this[_0x2a9b5d(0x1ef)]=_0x1b583a;}['_getAPIPrefixPath'](){var _0x3754da=_0xb98a65,_0x53592a,_0x371754;const _0x207763=this[_0x3754da(0x434)]['getConfig'](Ve),_0x5d2c69=this['_configService'][_0x3754da(0x3e6)](G);return(_0x371754=(_0x53592a=_0x5d2c69==null?void 0x0:_0x5d2c69[_0x3754da(0x13c)])!=null?_0x53592a:_0x207763)!=null?_0x371754:gn;}async[_0xb98a65(0x22c)](_0x147a07){var _0x481bbc=_0xb98a65;const _0x1870ed=this['_getAPIPrefixPath']()+_0x481bbc(0x32e);return{'list':[{'title':'People','mentions':(await this[_0x481bbc(0x1ef)][_0x481bbc(0x324)](_0x1870ed,{'params':{'objectID':_0x147a07[_0x481bbc(0x344)],'unitID':_0x147a07[_0x481bbc(0x344)]}}))['body'][_0x481bbc(0x27d)][_0x481bbc(0x442)](_0x22d85b=>({'objectId':_0x22d85b['id'],'name':_0x22d85b[_0x481bbc(0x494)][_0x481bbc(0x36a)],'metadata':{'icon':_0x22d85b[_0x481bbc(0x494)][_0x481bbc(0x1e7)]},'label':_0x22d85b[_0x481bbc(0x494)][_0x481bbc(0x36a)],'objectType':a[_0x481bbc(0x421)][_0x481bbc(0x484)]})),'metadata':{},'type':a[_0x481bbc(0x421)][_0x481bbc(0x484)]}]};}},exports[_0xb98a65(0x19c)]=pn([at(0x0,a[_0xb98a65(0x42e)](a[_0xb98a65(0x2a1)])),at(0x1,a[_0xb98a65(0x42e)](K[_0xb98a65(0x1e5)]))],exports['MentionIoHttpService']);var En=Object['getOwnPropertyDescriptor'],mn=(_0x3b5cd5,_0x37cb37,_0x1fac4d,_0x130543)=>{for(var _0x261ff7=_0x130543>0x1?void 0x0:_0x130543?En(_0x37cb37,_0x1fac4d):_0x37cb37,_0x161c5a=_0x3b5cd5['length']-0x1,_0x1bdab0;_0x161c5a>=0x0;_0x161c5a--)(_0x1bdab0=_0x3b5cd5[_0x161c5a])&&(_0x261ff7=_0x1bdab0(_0x261ff7)||_0x261ff7);return _0x261ff7;},le=(_0x24cdfb,_0x1a8827)=>(_0x14ba54,_0x4353b5)=>_0x1a8827(_0x14ba54,_0x4353b5,_0x24cdfb);let De=class extends a['RxDisposable']{constructor(_0x42894e,_0x35740d,_0x1d75e9,_0x9b80f6,_0x1c91c2){var _0x4b793d=_0xb98a65;super(),this[_0x4b793d(0x262)]=_0x42894e,this['_univerInstanceService']=_0x35740d,this[_0x4b793d(0x3a2)]=_0x1d75e9,this[_0x4b793d(0x43f)]=_0x9b80f6,this[_0x4b793d(0x1bc)]=_0x1c91c2,this[_0x4b793d(0x24c)](),this[_0x4b793d(0x1f6)]();}[_0xb98a65(0x1f6)](){var _0x2bd6a9=_0xb98a65;const _0x523233=async _0x43d2f5=>{var _0x16b318=_0x5981;(await this[_0x16b318(0x43f)][_0x16b318(0x1e2)](_0x43d2f5))[_0x16b318(0x3db)][_0x16b318(0x490)](V[_0x16b318(0x2fd)](_0x373ec2=>_0x373ec2[_0x16b318(0x20c)]===p[_0x16b318(0x29d)][_0x16b318(0x37c)]),V[_0x16b318(0x256)](this[_0x16b318(0x297)]))[_0x16b318(0x20a)](_0x362251=>{var _0xc90031=_0x16b318;const _0x163087=_0x362251,{reason:_0x579e4a}=_0x163087['data'];this[_0xc90031(0x1bc)][_0xc90031(0x47c)]({'id':Z[_0xc90031(0x2c8)],'data':_0x579e4a}),this[_0xc90031(0x3a2)][_0xc90031(0x2de)](new X[(_0xc90031(0x430))](_0x43d2f5)['id'],!0x1),this[_0xc90031(0x43f)][_0xc90031(0x33d)](_0x43d2f5);});};$[_0x2bd6a9(0x3f9)](this[_0x2bd6a9(0x4c9)][_0x2bd6a9(0x155)](a['UniverInstanceType'][_0x2bd6a9(0x42b)]),this['_univerInstanceService'][_0x2bd6a9(0x155)](a[_0x2bd6a9(0x219)]['UNIVER_DOC']))[_0x2bd6a9(0x490)](V['map'](_0x2e0f7b=>_0x2e0f7b[_0x2bd6a9(0x270)]()),V['filter'](_0x37f33d=>!a['isInternalEditorID'](_0x37f33d)),V['takeUntil'](this[_0x2bd6a9(0x297)]))[_0x2bd6a9(0x20a)](_0x3f7f5b=>{_0x523233(_0x3f7f5b);});}['_initUnitPermissionChange'](){var _0x36bea1=_0xb98a65;const _0x535ed5=async _0x292709=>{var _0x23dcfd=_0x5981;const _0x3e09aa=await this['_collaborationSessionService'][_0x23dcfd(0x1e2)](_0x292709),_0x135a3b=this[_0x23dcfd(0x262)][_0x23dcfd(0x324)](X[_0x23dcfd(0x1d5)]);_0x3e09aa['event$'][_0x23dcfd(0x490)](V[_0x23dcfd(0x2fd)](_0x5c2bfd=>_0x5c2bfd[_0x23dcfd(0x20c)]===p[_0x23dcfd(0x29d)][_0x23dcfd(0x33b)]),V[_0x23dcfd(0x256)](this[_0x23dcfd(0x297)]))[_0x23dcfd(0x20a)](_0x4923f0=>{var _0x2ba7a2=_0x23dcfd;const _0x5c7ece=_0x4923f0,{objectId:_0x3f41c2}=_0x5c7ece[_0x2ba7a2(0x22b)];_0x3f41c2===_0x292709?_0x135a3b[_0x2ba7a2(0x447)](_0x292709):_0x135a3b[_0x2ba7a2(0x210)](_0x292709,_0x3f41c2);});};$[_0x36bea1(0x3f9)](this[_0x36bea1(0x4c9)][_0x36bea1(0x155)](a[_0x36bea1(0x219)]['UNIVER_SHEET']))['pipe'](V['map'](_0x16160b=>_0x16160b[_0x36bea1(0x270)]()),V[_0x36bea1(0x2fd)](_0x4a0d17=>!a[_0x36bea1(0x205)](_0x4a0d17)),V['takeUntil'](this[_0x36bea1(0x297)]))['subscribe'](_0x4d5254=>{_0x535ed5(_0x4d5254);});}};De=mn([le(0x0,a[_0xb98a65(0x42e)](a[_0xb98a65(0x39f)])),le(0x1,a['IUniverInstanceService']),le(0x2,a['IPermissionService']),le(0x3,a[_0xb98a65(0x42e)](exports[_0xb98a65(0x1a5)])),le(0x4,a[_0xb98a65(0x42e)](ee))],De);var Cn=Object[_0xb98a65(0x2b8)],Tn=(_0x5a9eed,_0xe17c9a,_0x1e9293,_0xa8bf4f)=>{var _0x3fc31f=_0xb98a65;for(var _0x5bbdac=_0xa8bf4f>0x1?void 0x0:_0xa8bf4f?Cn(_0xe17c9a,_0x1e9293):_0xe17c9a,_0x2bb1b6=_0x5a9eed[_0x3fc31f(0x1cf)]-0x1,_0x268ad4;_0x2bb1b6>=0x0;_0x2bb1b6--)(_0x268ad4=_0x5a9eed[_0x2bb1b6])&&(_0x5bbdac=_0x268ad4(_0x5bbdac)||_0x5bbdac);return _0x5bbdac;},ct=(_0x36b029,_0x4edf51)=>(_0x3897db,_0x192557)=>_0x4edf51(_0x3897db,_0x192557,_0x36b029);exports[_0xb98a65(0x1ec)]=class{constructor(_0x489c34,_0x561d53){var _0x531b2e=_0xb98a65;this[_0x531b2e(0x434)]=_0x489c34,this[_0x531b2e(0x3b5)]=_0x561d53;}async[_0xb98a65(0x252)](_0x7767e5,_0x70cc80){var _0x1c3544=_0xb98a65,_0x4db95e;const {unitID:_0x22f922,type:_0xbef03f,revision:_0xc0b6b9=0x0}=_0x70cc80,_0x1ec440=this[_0x1c3544(0x3a5)]()+'/'+_0xbef03f+_0x1c3544(0x293)+_0x22f922+_0x1c3544(0x21d)+_0xc0b6b9,_0xf541eb=(await this[_0x1c3544(0x3b5)][_0x1c3544(0x324)](_0x1ec440))[_0x1c3544(0x4c8)],_0x39177a=(_0x4db95e=_0xf541eb[_0x1c3544(0x368)])==null?void 0x0:_0x4db95e[_0x1c3544(0x39a)];if(_0x39177a){const _0x24ad22=_0x39177a==null?void 0x0:_0x39177a['originalMeta'],_0x670735=p['textEncoder']['encode'](p[_0x1c3544(0x371)](_0x24ad22));_0x39177a['originalMeta']=_0x670735,Object[_0x1c3544(0x3fd)](_0x39177a[_0x1c3544(0x318)])[_0x1c3544(0x304)](([,_0xb95e30])=>{var _0x18dd7b=_0x1c3544;const _0x58ed8a=_0xb95e30[_0x18dd7b(0x425)],_0x163f4c=p[_0x18dd7b(0x38d)][_0x18dd7b(0x352)](p[_0x18dd7b(0x371)](_0x58ed8a));_0xb95e30[_0x18dd7b(0x425)]=_0x163f4c;});}return _0xf541eb;}async[_0xb98a65(0x382)](_0x168dcb,_0x4e587f){var _0x2b642b=_0xb98a65;const {unitID:_0x3789d9,type:_0x53368c,blockID:_0x216109}=_0x4e587f,_0x557f03=this['_getAPIPrefix']()+'/'+_0x53368c+_0x2b642b(0x293)+_0x3789d9+_0x2b642b(0x1e1)+_0x216109;return(await this['_httpService'][_0x2b642b(0x324)](_0x557f03))[_0x2b642b(0x4c8)];}async[_0xb98a65(0x476)](_0x5c0e70,_0x4c67af){var _0x2187a6=_0xb98a65;const {unitID:_0x2f27b2,type:_0x8081d4,blockID:_0x3a7149}=_0x4c67af,_0x235492=this['_getAPIPrefix']()+_0x2187a6(0x1e1)+_0x8081d4+_0x2187a6(0x293)+_0x2f27b2+_0x2187a6(0x1e1)+_0x3a7149;return(await this['_httpService'][_0x2187a6(0x324)](_0x235492))[_0x2187a6(0x4c8)];}async[_0xb98a65(0x4bd)](_0x4a279c,_0x151cb6){var _0x494f13=_0xb98a65;const {unitID:_0x39009f,type:_0x1ebb2e,from:_0xf79cc8,to:_0x42940e}=_0x151cb6,_0x194e33=this[_0x494f13(0x1cb)]()+'/'+_0x1ebb2e+_0x494f13(0x293)+_0x39009f+_0x494f13(0x204)+_0xf79cc8+_0x494f13(0x323)+_0x42940e;return(await this[_0x494f13(0x3b5)][_0x494f13(0x324)](_0x194e33))[_0x494f13(0x4c8)];}['getSnapshotAPIPath'](){var _0x22033f=_0xb98a65,_0x3a0e85;return(_0x3a0e85=this[_0x22033f(0x434)][_0x22033f(0x3e6)](lt))!=null?_0x3a0e85:this[_0x22033f(0x1cb)]();}['_getAPIPrefix'](){var _0xd6452=_0xb98a65,_0x5cc31,_0x298fae;const _0x50c776=this['_configService'][_0xd6452(0x3e6)](_t),_0x18828d=this[_0xd6452(0x434)][_0xd6452(0x3e6)](G);return(_0x298fae=(_0x5cc31=_0x18828d==null?void 0x0:_0x18828d[_0xd6452(0x312)])!=null?_0x5cc31:_0x50c776)!=null?_0x298fae:wt;}async[_0xb98a65(0x2cc)](_0x14cc37,_0x25ec9e){var _0x45815f=_0xb98a65;const _0x150d69=_0x45815f(0x48d)+_0x25ec9e[_0x45815f(0x2a8)]+_0x45815f(0x293)+_0x25ec9e[_0x45815f(0x173)]+_0x45815f(0x37d);return(await this[_0x45815f(0x3b5)][_0x45815f(0x324)](_0x150d69,{'params':{'resourceId':JSON[_0x45815f(0x4a4)](_0x25ec9e[_0x45815f(0x2c5)])}}))[_0x45815f(0x4c8)];}[_0xb98a65(0x4a5)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xb98a65(0x25b)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xb98a65(0x25c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xb98a65(0x163)](){var _0x341869=_0xb98a65;throw new Error(_0x341869(0x499));}[_0xb98a65(0x278)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xb98a65(0x3c1)](){var _0x477b4c=_0xb98a65;throw new Error(_0x477b4c(0x499));}},exports[_0xb98a65(0x1ec)]=Tn([ct(0x0,a[_0xb98a65(0x2a1)]),ct(0x1,a[_0xb98a65(0x42e)](K['HTTPService']))],exports[_0xb98a65(0x1ec)]);var bn=Object[_0xb98a65(0x2b8)],Rn=(_0x34c821,_0x3e0d18,_0x5bbba3,_0x506c06)=>{for(var _0x2866b8=_0x506c06>0x1?void 0x0:_0x506c06?bn(_0x3e0d18,_0x5bbba3):_0x3e0d18,_0x57ded5=_0x34c821['length']-0x1,_0x363f02;_0x57ded5>=0x0;_0x57ded5--)(_0x363f02=_0x34c821[_0x57ded5])&&(_0x2866b8=_0x363f02(_0x2866b8)||_0x2866b8);return _0x2866b8;},ue=(_0x2a23bd,_0x447247)=>(_0x5dc0d5,_0x2c86ba)=>_0x447247(_0x5dc0d5,_0x2c86ba,_0x2a23bd);exports[_0xb98a65(0x36b)]=class extends a[_0xb98a65(0x2f5)]{constructor(_0x5818cf,_0x4b0e70,_0x2088a4,_0x5c6b9a,_0x467ef5){var _0x457490=_0xb98a65;super(_0x5818cf,_0x4b0e70,_0x2088a4),this[_0x457490(0x171)]=_0x5c6b9a,this[_0x457490(0x380)]=_0x467ef5;}['transformUndoRedo'](_0x3c6e8c,_0x5c2eaa){var _0x182231=_0xb98a65;const _0x1bd5d6=this[_0x182231(0x1e9)](_0x3c6e8c);if(_0x1bd5d6)try{const _0x4b6203=this[_0x182231(0x28f)](_0x1bd5d6,_0x5c2eaa);this[_0x182231(0x28e)](_0x3c6e8c,_0x4b6203);}catch(_0x2872f7){this['_logService'][_0x182231(0x3b4)](_0x182231(0x288),_0x2872f7),this[_0x182231(0x383)](_0x3c6e8c);}const _0x1fabbf=this[_0x182231(0x489)](_0x3c6e8c);if(_0x1fabbf)try{const _0x39d76c=this[_0x182231(0x28f)](_0x1fabbf,_0x5c2eaa);this[_0x182231(0x228)](_0x3c6e8c,_0x39d76c);}catch(_0x33ec0b){this[_0x182231(0x380)][_0x182231(0x3b4)](_0x33ec0b),this[_0x182231(0x3c3)](_0x3c6e8c);}}[_0xb98a65(0x383)](_0x2e23ae){var _0x658ea7=_0xb98a65;const _0x34a20e=this[_0x658ea7(0x1e9)](_0x2e23ae);_0x34a20e&&(_0x34a20e[_0x658ea7(0x1cf)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x24a099){var _0x572c89=_0xb98a65;const _0x34127f=this[_0x572c89(0x489)](_0x24a099);_0x34127f&&(_0x34127f[_0x572c89(0x1cf)]=0x0,this['_updateStatus']());}[_0xb98a65(0x28e)](_0x2d8000,_0x4b0dfd){var _0x521c5d=_0xb98a65;this[_0x521c5d(0x393)][_0x521c5d(0x337)](_0x2d8000,_0x4b0dfd),this[_0x521c5d(0x149)]();}[_0xb98a65(0x228)](_0x27b168,_0x1785eb){var _0x32636f=_0xb98a65;this[_0x32636f(0x417)][_0x32636f(0x337)](_0x27b168,_0x1785eb),this[_0x32636f(0x149)]();}[_0xb98a65(0x28f)](_0x4a8654,_0x9de09){var _0x390d51=_0xb98a65;const _0x18ca61=[];let _0x11b738=_0x9de09,_0x3cd21d=_0x9de09;for(let _0x3c43dc=_0x4a8654['length']-0x1;_0x3c43dc>=0x0;_0x3c43dc--){const {unitID:_0x2bf4aa,undoMutations:_0x32cb0d,redoMutations:_0x3b29ae}=_0x4a8654[_0x3c43dc],_0x363a1e=this['_transformService'][_0x390d51(0x48c)](_0x11b738,_0x32cb0d),_0x42291e=this['_transformService'][_0x390d51(0x48c)](_0x3cd21d,_0x3b29ae);if(p[_0x390d51(0x32d)](_0x363a1e)||p[_0x390d51(0x32d)](_0x42291e)){this['_logService'][_0x390d51(0x3b4)]('[CollaborationUndoRedoService]',_0x390d51(0x1e6),_0x363a1e,_0x42291e);break;}_0x11b738=_0x363a1e[_0x390d51(0x30e)],_0x3cd21d=_0x42291e['c1Prime'],_0x18ca61[_0x390d51(0x360)]({'unitID':_0x2bf4aa,'undoMutations':_0x363a1e[_0x390d51(0x1eb)],'redoMutations':_0x42291e[_0x390d51(0x1eb)]});}return _0x18ca61[_0x390d51(0x253)]();}},exports[_0xb98a65(0x36b)]=Rn([ue(0x0,a[_0xb98a65(0x2bb)]),ue(0x1,a['ICommandService']),ue(0x2,a[_0xb98a65(0x3dd)]),ue(0x3,p['ITransformService']),ue(0x4,a[_0xb98a65(0x423)])],exports[_0xb98a65(0x36b)]);var On=Object[_0xb98a65(0x27c)],yn=Object[_0xb98a65(0x2b8)],Nn=(_0x28e762,_0x58ea73,_0x550f08)=>_0x58ea73 in _0x28e762?On(_0x28e762,_0x58ea73,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x550f08}):_0x28e762[_0x58ea73]=_0x550f08,Dn=(_0x50a3b3,_0x5cf9f7,_0x17bfef,_0x53f97d)=>{var _0x3693fa=_0xb98a65;for(var _0x54ec20=_0x53f97d>0x1?void 0x0:_0x53f97d?yn(_0x5cf9f7,_0x17bfef):_0x5cf9f7,_0x269b3b=_0x50a3b3[_0x3693fa(0x1cf)]-0x1,_0x130329;_0x269b3b>=0x0;_0x269b3b--)(_0x130329=_0x50a3b3[_0x269b3b])&&(_0x54ec20=_0x130329(_0x54ec20)||_0x54ec20);return _0x54ec20;},Me=(_0x21bfc3,_0x3bd912)=>(_0x5dd389,_0x4cd53d)=>_0x3bd912(_0x5dd389,_0x4cd53d,_0x21bfc3),Un=(_0x99e7a8,_0x25e46a,_0x35abef)=>Nn(_0x99e7a8,_0x25e46a+'',_0x35abef);const An='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0xb98a65(0x26a)]=class extends a[_0xb98a65(0x2ae)]{constructor(_0x3b955d,_0xbae697,_0x277502,_0x580439){var _0x23673c=_0xb98a65;super(),A(this,'_config'),(this[_0x23673c(0x380)]=_0xbae697,this[_0x23673c(0x262)]=_0x277502,this[_0x23673c(0x434)]=_0x580439);const {..._0x31a44e}=a[_0x23673c(0x3f9)]({},Kt,_0x3b955d);if(!_0x31a44e[_0x23673c(0x24a)])throw new Error(_0x23673c(0x39c));this[_0x23673c(0x244)]=_0x31a44e,this[_0x23673c(0x434)][_0x23673c(0x3e1)](G,_0x31a44e);}[_0xb98a65(0x355)](){var _0x28c7d1=_0xb98a65;this['_registerDependencies'](),this[_0x28c7d1(0x2aa)]();}[_0xb98a65(0x332)](){var _0x43e227=_0xb98a65,_0x28d0b9,_0x1bda07;this[_0x43e227(0x262)][_0x43e227(0x281)](a[_0x43e227(0x458)])&&this['_logService'][_0x43e227(0x3b4)]('[UniverCollaborationClientPlugin]',_0x43e227(0x391));const _0x3273a1=a[_0x43e227(0x239)]([[a[_0x43e227(0x458)],{'useClass':exports[_0x43e227(0x36b)]}],[exports['CollaborationSessionService']],[exports['MemberService']],[exports[_0x43e227(0x3a4)]],[ye],[Ne],[$e],[De],[ee],[exports[_0x43e227(0x3ac)]],[He,{'useClass':this[_0x43e227(0x244)][_0x43e227(0x24a)]}],[p[_0x43e227(0x326)],{'useClass':exports[_0x43e227(0x1ec)]}],[a[_0x43e227(0x367)],{'useClass':exports[_0x43e227(0x255)]}],[z[_0x43e227(0x43a)],{'useClass':exports['CollaborationImageIoService']}],[a[_0x43e227(0x3b9)],{'useClass':exports[_0x43e227(0x19c)]}],[exports[_0x43e227(0x42a)]],[xe]],(_0x28d0b9=this[_0x43e227(0x244)])==null?void 0x0:_0x28d0b9[_0x43e227(0x227)]);if(!((_0x1bda07=this[_0x43e227(0x244)])!=null&&_0x1bda07['enableSingleActiveInstanceLock'])){const _0x3c18a8=_0x3273a1[_0x43e227(0x145)](([_0x58eb22])=>_0x58eb22===de);_0x3c18a8!==-0x1&&_0x3273a1[_0x43e227(0x1ed)](_0x3c18a8,0x1);}a[_0x43e227(0x4b4)](this[_0x43e227(0x262)],_0x3273a1);}[_0xb98a65(0x2aa)](){var _0xed7183=_0xb98a65,_0xc19fb8,_0x21499a,_0x5a44c9;this[_0xed7183(0x262)]['get'](K['HTTPService'])['registerHTTPInterceptor']({'priority':0x14,'interceptor':K['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0xc19fb8=this[_0xed7183(0x244)])!=null&&_0xc19fb8[_0xed7183(0x18b)]||(_0x21499a=this[_0xed7183(0x262)]['get'](q,a['Quantity'][_0xed7183(0x1df)]))==null||_0x21499a[_0xed7183(0x216)](),(_0x5a44c9=this[_0xed7183(0x244)])!=null&&_0x5a44c9['enableAuthServer']&&a['touchDependencies'](this[_0xed7183(0x262)],[[ye]]),a[_0xed7183(0x188)](this['_injector'],[[Ne],[exports[_0xed7183(0x42a)]],[De]]);}},Un(exports[_0xb98a65(0x26a)],_0xb98a65(0x4b0),An),exports[_0xb98a65(0x26a)]=Dn([a['DependentOn'](p['UniverCollaborationPlugin'],K[_0xb98a65(0x4bb)]),Me(0x1,a[_0xb98a65(0x423)]),Me(0x2,a[_0xb98a65(0x42e)](a[_0xb98a65(0x39f)])),Me(0x3,a[_0xb98a65(0x2a1)])],exports[_0xb98a65(0x26a)]),exports[_0xb98a65(0x18e)]=Ve,exports[_0xb98a65(0x143)]=G,exports[_0xb98a65(0x46b)]=It,exports[_0xb98a65(0x320)]=ut,exports[_0xb98a65(0x266)]=Be,exports['CollaborationUIEventId']=Z,exports[_0xb98a65(0x299)]=ee,exports['CommentService']=$e,exports['DEFAULT_COLLAB_WEB_SOCKET_URL']=dt,exports[_0xb98a65(0x279)]=Gt,exports[_0xb98a65(0x18d)]=kt,exports[_0xb98a65(0x192)]=vt,exports['HEARTBEAT_TIMEOUT_KEY']=ke,exports['ICollaborationSocketService']=He,exports[_0xb98a65(0x429)]=q,exports[_0xb98a65(0x3ea)]=mt,exports[_0xb98a65(0x3d5)]=de,exports[_0xb98a65(0x46a)]=Ft,exports[_0xb98a65(0x451)]=Bt,exports[_0xb98a65(0x19b)]=pt,exports[_0xb98a65(0x410)]=Yt,exports[_0xb98a65(0x30c)]=ft,exports[_0xb98a65(0x2f7)]=Mt,exports[_0xb98a65(0x17c)]=_t,exports[_0xb98a65(0x46d)]=lt,exports['SessionStatus']=re,exports[_0xb98a65(0x35a)]=je,exports[_0xb98a65(0x2e8)]=Ct,exports['getLocalCacheKey']=oi,exports['serializeCombRequest']=Tt;
|