@univerjs-pro/collaboration-client 0.8.1-nightly.202506181607 → 0.8.1
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 +11 -11
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 _0x72c010=_0x284f;function _0x284f(_0x429eb1,_0x14d8b6){var _0x347f63=_0x347f();return _0x284f=function(_0x284fdc,_0x925d6d){_0x284fdc=_0x284fdc-0x145;var _0x7ffa8f=_0x347f63[_0x284fdc];return _0x7ffa8f;},_0x284f(_0x429eb1,_0x14d8b6);}(function(_0x431cf3,_0x2197cc){var _0x3b21ff=_0x284f,_0x7bb776=_0x431cf3();while(!![]){try{var _0x227845=parseInt(_0x3b21ff(0x27f))/0x1*(-parseInt(_0x3b21ff(0x1c6))/0x2)+parseInt(_0x3b21ff(0x327))/0x3+-parseInt(_0x3b21ff(0x3fd))/0x4+parseInt(_0x3b21ff(0x155))/0x5*(-parseInt(_0x3b21ff(0x46a))/0x6)+parseInt(_0x3b21ff(0x46b))/0x7+parseInt(_0x3b21ff(0x471))/0x8*(parseInt(_0x3b21ff(0x3de))/0x9)+parseInt(_0x3b21ff(0x39d))/0xa;if(_0x227845===_0x2197cc)break;else _0x7bb776['push'](_0x7bb776['shift']());}catch(_0x5b7968){_0x7bb776['push'](_0x7bb776['shift']());}}}(_0x347f,0xd764f));var Dt=Object[_0x72c010(0x210)],At=(_0x573db9,_0x3159e3,_0x3992c1)=>_0x3159e3 in _0x573db9?Dt(_0x573db9,_0x3159e3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3992c1}):_0x573db9[_0x3159e3]=_0x3992c1,A=(_0x2d9719,_0x255729,_0x32cb68)=>At(_0x2d9719,typeof _0x255729!=_0x72c010(0x2f5)?_0x255729+'':_0x255729,_0x32cb68);Object[_0x72c010(0x210)](exports,Symbol[_0x72c010(0x207)],{'value':_0x72c010(0x2ed)});const a=require(_0x72c010(0x435)),$=require(_0x72c010(0x2a5)),V=require(_0x72c010(0x3b1)),I=require(_0x72c010(0x1e5)),Y=require(_0x72c010(0x1e3)),Pt=require(_0x72c010(0x1f5)),ht=require('@univerjs/docs'),X=require('@univerjs/sheets'),z=require('@univerjs/drawing'),wt=require('@univerjs-pro/license'),_t=_0x72c010(0x250),Lt=_0x72c010(0x1a8),lt='SNAPSHOT_URL_KEY',Mt=_0x72c010(0x150),xt=0x7d0,ut=_0x72c010(0x4b6),dt='ws://127.0.0.1:8000/universer-api/comb/connect',kt=_0x72c010(0x346),vt='HEARTBEAT_INTERVAL',Ht=0x7530,ke=_0x72c010(0x265),St=0x4e20,$t=0x4e20,ft=_0x72c010(0x2f8),jt=0x3,Bt=_0x72c010(0x4b3),Ft=0x3e8,pt='COLLAB_SUBMIT_CHANGESET_URL',Vt=_0x72c010(0x24f),It=_0x72c010(0x371),Wt='/universer-api/oidc/authpage',Gt=_0x72c010(0x1bd),Kt=_0x72c010(0x462);var gt=(_0x18ffa2=>(_0x18ffa2[_0x18ffa2['UNDEFINED']=0x0]=_0x72c010(0x160),_0x18ffa2[_0x18ffa2['OK']=0x1]='OK',_0x18ffa2[_0x18ffa2[_0x72c010(0x395)]=0x2]=_0x72c010(0x395),_0x18ffa2[_0x18ffa2['PERMISSION_DENIED']=0x3]=_0x72c010(0x26d),_0x18ffa2[_0x18ffa2[_0x72c010(0x264)]=0x4]=_0x72c010(0x264),_0x18ffa2[_0x18ffa2[_0x72c010(0x28e)]=0x5]='UNAUTHENTICATED',_0x18ffa2[_0x18ffa2['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x18ffa2[_0x18ffa2['INVALID_ARGUMENT']=0x7]=_0x72c010(0x248),_0x18ffa2[_0x18ffa2[_0x72c010(0x41a)]=0x8]=_0x72c010(0x41a),_0x18ffa2[_0x18ffa2[_0x72c010(0x415)]=0x9]=_0x72c010(0x415),_0x18ffa2[_0x18ffa2['LOGIN_FAILED']=0xa]=_0x72c010(0x274),_0x18ffa2[_0x18ffa2['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x72c010(0x319),_0x18ffa2[_0x18ffa2['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x72c010(0x2a9),_0x18ffa2[_0x18ffa2[_0x72c010(0x1a9)]=0x1772]=_0x72c010(0x1a9),_0x18ffa2[_0x18ffa2[_0x72c010(0x1b4)]=0x1773]=_0x72c010(0x1b4),_0x18ffa2[_0x18ffa2[_0x72c010(0x29e)]=0x1b59]=_0x72c010(0x29e),_0x18ffa2[_0x18ffa2['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x72c010(0x32e),_0x18ffa2[_0x18ffa2[_0x72c010(0x2d5)]=0x1b5b]=_0x72c010(0x2d5),_0x18ffa2[_0x18ffa2[_0x72c010(0x35c)]=0x1b5c]=_0x72c010(0x35c),_0x18ffa2[_0x18ffa2[_0x72c010(0x1bb)]=0x1b5d]=_0x72c010(0x1bb),_0x18ffa2[_0x18ffa2['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x72c010(0x22f),_0x18ffa2[_0x18ffa2['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x72c010(0x1ee),_0x18ffa2[_0x18ffa2[_0x72c010(0x3e8)]=0x232a]=_0x72c010(0x3e8),_0x18ffa2[_0x18ffa2[_0x72c010(0x3c5)]=0x232b]=_0x72c010(0x3c5),_0x18ffa2[_0x18ffa2['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x72c010(0x392),_0x18ffa2[_0x18ffa2[_0x72c010(0x3e0)]=0x232d]=_0x72c010(0x3e0),_0x18ffa2[_0x18ffa2[_0x72c010(0x469)]=0x2711]=_0x72c010(0x469),_0x18ffa2[_0x18ffa2[_0x72c010(0x3e2)]=0x2712]=_0x72c010(0x3e2),_0x18ffa2[_0x18ffa2[_0x72c010(0x397)]=0x2713]=_0x72c010(0x397),_0x18ffa2[_0x18ffa2['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x72c010(0x40d),_0x18ffa2[_0x18ffa2[_0x72c010(0x365)]=0x271a]=_0x72c010(0x365),_0x18ffa2[_0x18ffa2[_0x72c010(0x396)]=0x271b]=_0x72c010(0x396),_0x18ffa2[_0x18ffa2[_0x72c010(0x425)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x18ffa2[_0x18ffa2[_0x72c010(0x49d)]=0x271d]=_0x72c010(0x49d),_0x18ffa2[_0x18ffa2[_0x72c010(0x337)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x18ffa2[_0x18ffa2[_0x72c010(0x169)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x18ffa2[_0x18ffa2[_0x72c010(0x360)]=0x2af9]=_0x72c010(0x360),_0x18ffa2[_0x18ffa2[_0x72c010(0x199)]=0x2ee1]=_0x72c010(0x199),_0x18ffa2[_0x18ffa2[_0x72c010(0x1d6)]=0x2ee2]='INVALID_INVITE_CODE',_0x18ffa2[_0x18ffa2[_0x72c010(0x464)]=0x2ee3]=_0x72c010(0x464),_0x18ffa2[_0x18ffa2[_0x72c010(0x182)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x18ffa2[_0x18ffa2['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x18ffa2[_0x18ffa2[_0x72c010(0x284)]=0x32c9]=_0x72c010(0x284),_0x18ffa2[_0x18ffa2[_0x72c010(0x234)]=0x32ca]=_0x72c010(0x234),_0x18ffa2[_0x18ffa2[_0x72c010(0x148)]=0x32cb]=_0x72c010(0x148),_0x18ffa2[_0x18ffa2[_0x72c010(0x49e)]=-0x1]=_0x72c010(0x49e),_0x18ffa2))(gt||{}),J=(_0x19a790=>(_0x19a790[_0x19a790[_0x72c010(0x4a7)]=0x0]='UNIVER_UNKNOWN',_0x19a790[_0x19a790[_0x72c010(0x356)]=0x1]=_0x72c010(0x356),_0x19a790[_0x19a790[_0x72c010(0x477)]=0x2]=_0x72c010(0x477),_0x19a790[_0x19a790['UNIVER_SLIDE']=0x3]=_0x72c010(0x3d1),_0x19a790[_0x19a790[_0x72c010(0x498)]=0x4]=_0x72c010(0x498),_0x19a790[_0x19a790['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x19a790))(J||{}),W=(_0x5bcad8=>(_0x5bcad8[_0x5bcad8[_0x72c010(0x41e)]=0x0]='UNKNOWN_CMD',_0x5bcad8[_0x5bcad8[_0x72c010(0x326)]=0x1]=_0x72c010(0x326),_0x5bcad8[_0x5bcad8['JOIN']=0x2]=_0x72c010(0x256),_0x5bcad8[_0x5bcad8[_0x72c010(0x331)]=0x3]=_0x72c010(0x331),_0x5bcad8[_0x5bcad8[_0x72c010(0x4a2)]=0x4]=_0x72c010(0x4a2),_0x5bcad8[_0x5bcad8[_0x72c010(0x3ef)]=0x5]=_0x72c010(0x3ef),_0x5bcad8[_0x5bcad8[_0x72c010(0x1f9)]=0x6]=_0x72c010(0x1f9),_0x5bcad8[_0x5bcad8[_0x72c010(0x49e)]=-0x1]=_0x72c010(0x49e),_0x5bcad8))(W||{}),oe=(_0x2343d6=>(_0x2343d6[_0x2343d6[_0x72c010(0x492)]=0x0]=_0x72c010(0x492),_0x2343d6[_0x2343d6['OK']=0x1]='OK',_0x2343d6[_0x2343d6['FAIL']=0x2]=_0x72c010(0x470),_0x2343d6[_0x2343d6['JOIN_ROOM_FULL']=0x3e9]=_0x72c010(0x31e),_0x2343d6[_0x2343d6['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x72c010(0x33b),_0x2343d6[_0x2343d6[_0x72c010(0x30d)]=0x3eb]=_0x72c010(0x30d),_0x2343d6[_0x2343d6[_0x72c010(0x42c)]=0x3ec]=_0x72c010(0x42c),_0x2343d6[_0x2343d6['UNRECOGNIZED']=-0x1]=_0x72c010(0x49e),_0x2343d6))(oe||{}),Et=(_0x2cdb86=>(_0x2cdb86[_0x2cdb86[_0x72c010(0x378)]=0x0]=_0x72c010(0x378),_0x2cdb86[_0x2cdb86['HttpImport']=0x1]=_0x72c010(0x3cd),_0x2cdb86[_0x2cdb86[_0x72c010(0x1b0)]=0x2]=_0x72c010(0x1b0),_0x2cdb86[_0x2cdb86[_0x72c010(0x40e)]=0x3]=_0x72c010(0x40e),_0x2cdb86[_0x2cdb86[_0x72c010(0x2c0)]=0x4]=_0x72c010(0x2c0),_0x2cdb86[_0x2cdb86['UserProfileImg']=0x5]=_0x72c010(0x2dc),_0x2cdb86[_0x2cdb86[_0x72c010(0x49e)]=-0x1]=_0x72c010(0x49e),_0x2cdb86))(Et||{});const K=_0x72c010(0x427),Yt={};var Z=(_0x5a4f75=>(_0x5a4f75[_0x72c010(0x454)]=_0x72c010(0x454),_0x5a4f75[_0x72c010(0x26d)]=_0x72c010(0x26d),_0x5a4f75[_0x72c010(0x15b)]=_0x72c010(0x15b),_0x5a4f75[_0x72c010(0x453)]=_0x72c010(0x453),_0x5a4f75['JOIN_ROOM_FAILED']=_0x72c010(0x4b2),_0x5a4f75[_0x72c010(0x393)]=_0x72c010(0x393),_0x5a4f75[_0x72c010(0x494)]=_0x72c010(0x494),_0x5a4f75['SUBMIT_CHANGESET_TIMEOUT']=_0x72c010(0x352),_0x5a4f75))(Z||{});class ee{constructor(){var _0x1ca0ae=_0x72c010;A(this,_0x1ca0ae(0x401),new $['Subject']()),A(this,_0x1ca0ae(0x2d2),this['_event$']['asObservable']());}[_0x72c010(0x42a)](_0x1e66ae){var _0x26cd61=_0x72c010;this[_0x26cd61(0x401)][_0x26cd61(0x1fb)](_0x1e66ae);}}const mt=a[_0x72c010(0x1ad)](_0x72c010(0x189));function Ct(_0x41fe22){var _0x3f520e=_0x72c010,_0x311b35,_0x56ae3a,_0x170e1d,_0x21fa14,_0x35959c;const _0xd5ae92=_0x41fe22[_0x3f520e(0x35f)],_0x1da0fb=JSON['parse'](_0xd5ae92);switch(_0x1da0fb[_0x3f520e(0x4ad)]){case W[_0x3f520e(0x3ef)]:case W[_0x3f520e(0x326)]:{const _0x4f0a0c=_0x1da0fb[_0x3f520e(0x212)];return{..._0x1da0fb,'data':_0x4f0a0c,'cmd':_0x1da0fb[_0x3f520e(0x4ad)]};}case W[_0x3f520e(0x256)]:{const _0x227911=_0x1da0fb[_0x3f520e(0x3a2)];return{..._0x1da0fb,'data':_0x227911,'cmd':_0x1da0fb[_0x3f520e(0x4ad)]};}case W[_0x3f520e(0x1f9)]:{const _0x50a128=_0x1da0fb['collaMsg'];switch(_0x50a128[_0x3f520e(0x249)]){case I['CollaborationEvent'][_0x3f520e(0x47c)]:return{..._0x1da0fb,'data':{..._0x50a128,'data':(_0x311b35=_0x50a128[_0x3f520e(0x3f5)])==null?void 0x0:_0x311b35['cs']},'cmd':_0x1da0fb[_0x3f520e(0x4ad)]};case I['CollaborationEvent'][_0x3f520e(0x405)]:return{..._0x1da0fb,'data':{..._0x50a128,'data':(_0x56ae3a=_0x50a128['csAckEvent'])==null?void 0x0:_0x56ae3a['cs']},'cmd':_0x1da0fb[_0x3f520e(0x4ad)]};case I['CollaborationEvent']['NEW_CHANGESETS']:return{..._0x1da0fb,'data':{..._0x50a128,'data':(_0x170e1d=_0x50a128[_0x3f520e(0x2fc)])==null?void 0x0:_0x170e1d['cs']},'cmd':_0x1da0fb[_0x3f520e(0x4ad)]};case I['CollaborationEvent'][_0x3f520e(0x2a7)]:return{..._0x1da0fb,'data':{..._0x50a128,'data':(_0x21fa14=_0x50a128['csRejEvent'])==null?void 0x0:_0x21fa14['cs']},'cmd':_0x1da0fb[_0x3f520e(0x4ad)]};case I['CollaborationEvent']['CHANGESET_SHOULD_RETRY']:return{..._0x1da0fb,'data':{..._0x50a128,'data':(_0x35959c=_0x50a128[_0x3f520e(0x463)])==null?void 0x0:_0x35959c['cs']},'cmd':_0x1da0fb[_0x3f520e(0x4ad)]};case I[_0x3f520e(0x3b2)][_0x3f520e(0x1b6)]:return{..._0x1da0fb,'data':{..._0x50a128,'data':_0x50a128[_0x3f520e(0x244)]},'cmd':_0x1da0fb[_0x3f520e(0x4ad)]};case I[_0x3f520e(0x3b2)][_0x3f520e(0x1e4)]:return{..._0x1da0fb,'data':{..._0x50a128,'data':_0x50a128['joinEvent']},'cmd':_0x1da0fb[_0x3f520e(0x4ad)]};case I['CollaborationEvent'][_0x3f520e(0x39c)]:return{..._0x1da0fb,'data':{..._0x50a128,'data':_0x50a128[_0x3f520e(0x228)]},'cmd':_0x1da0fb[_0x3f520e(0x4ad)]};case I[_0x3f520e(0x3b2)][_0x3f520e(0x486)]:return{..._0x1da0fb,'data':{..._0x50a128,'data':_0x50a128[_0x3f520e(0x215)]},'cmd':_0x1da0fb['cmd']};case I['CollaborationEvent'][_0x3f520e(0x490)]:case I[_0x3f520e(0x3b2)]['LIVESHARE_OPERATION']:return{..._0x1da0fb,'data':{..._0x50a128,'data':_0x50a128[_0x3f520e(0x297)]},'cmd':_0x1da0fb[_0x3f520e(0x4ad)]};case I[_0x3f520e(0x3b2)]['LIVESHARE_TERMINATE']:return{..._0x1da0fb,'data':{..._0x50a128,'data':_0x50a128[_0x3f520e(0x215)]},'cmd':_0x1da0fb['cmd']};case I['CollaborationEvent'][_0x3f520e(0x285)]:return{..._0x1da0fb,'data':_0x50a128,'cmd':_0x1da0fb[_0x3f520e(0x4ad)]};case I[_0x3f520e(0x3b2)][_0x3f520e(0x2e9)]:return{..._0x1da0fb,'data':{..._0x50a128,'data':_0x50a128[_0x3f520e(0x431)]},'cmd':_0x1da0fb['cmd']};case I[_0x3f520e(0x3b2)][_0x3f520e(0x3a5)]:return{..._0x1da0fb,'data':{..._0x50a128,'data':_0x50a128[_0x3f520e(0x222)]},'cmd':_0x1da0fb[_0x3f520e(0x4ad)]};case I[_0x3f520e(0x3b2)][_0x3f520e(0x19d)]:return{..._0x1da0fb,'data':{..._0x50a128,'data':_0x50a128[_0x3f520e(0x166)]},'cmd':_0x1da0fb[_0x3f520e(0x4ad)]};case I['CollaborationEvent'][_0x3f520e(0x283)]:return{..._0x1da0fb,'data':{..._0x50a128,'data':_0x50a128[_0x3f520e(0x194)]},'cmd':_0x1da0fb['cmd']};default:return _0x1da0fb;}}default:return _0x1da0fb;}}function Tt(_0x26d40b){var _0x4971b5=_0x72c010;switch(_0x26d40b[_0x4971b5(0x4ad)]){case W[_0x4971b5(0x3ef)]:case W['HELLO']:return JSON[_0x4971b5(0x45a)]({'cmd':_0x26d40b[_0x4971b5(0x4ad)],'routeKey':_0x26d40b[_0x4971b5(0x461)]});case W[_0x4971b5(0x4a2)]:{let _0x4f5105;switch(_0x26d40b['data'][_0x4971b5(0x249)]){case I[_0x4971b5(0x3b2)][_0x4971b5(0x1b6)]:{_0x4f5105={'eventID':I['CollaborationEvent'][_0x4971b5(0x1b6)],'updateCursorEvent':_0x26d40b['data'][_0x4971b5(0x35f)]};break;}case I[_0x4971b5(0x3b2)]['USERS_LEAVE']:{_0x4f5105={'eventID':I[_0x4971b5(0x3b2)][_0x4971b5(0x39c)],'leaveEvent':_0x26d40b[_0x4971b5(0x35f)][_0x4971b5(0x35f)]};break;}case I[_0x4971b5(0x3b2)][_0x4971b5(0x1e4)]:{_0x4f5105={'eventID':I[_0x4971b5(0x3b2)][_0x4971b5(0x1e4)],'joinEvent':_0x26d40b['data'][_0x4971b5(0x35f)]};break;}case I[_0x4971b5(0x3b2)]['LIVESHARE_NEW_HOST']:{_0x4f5105={'eventID':I[_0x4971b5(0x3b2)][_0x4971b5(0x486)],'liveShareNewHost':_0x26d40b[_0x4971b5(0x35f)][_0x4971b5(0x35f)]};break;}case I[_0x4971b5(0x3b2)]['LIVESHARE_OPERATION']:{_0x4f5105={'eventID':I[_0x4971b5(0x3b2)]['LIVESHARE_OPERATION'],'liveShareOperation':_0x26d40b[_0x4971b5(0x35f)][_0x4971b5(0x35f)]};break;}case I[_0x4971b5(0x3b2)][_0x4971b5(0x39b)]:{_0x4f5105={'eventID':I[_0x4971b5(0x3b2)][_0x4971b5(0x39b)],'liveShareTerminate':_0x26d40b[_0x4971b5(0x35f)][_0x4971b5(0x35f)]};break;}case I[_0x4971b5(0x3b2)][_0x4971b5(0x3ce)]:{_0x4f5105={'eventID':I[_0x4971b5(0x3b2)][_0x4971b5(0x3ce)],'liveShareRequestHost':_0x26d40b[_0x4971b5(0x35f)][_0x4971b5(0x35f)]};break;}case I[_0x4971b5(0x3b2)][_0x4971b5(0x490)]:{_0x4f5105={'eventID':I[_0x4971b5(0x3b2)][_0x4971b5(0x490)]};break;}default:_0x4f5105={'eventID':_0x26d40b[_0x4971b5(0x35f)][_0x4971b5(0x249)]};}return JSON[_0x4971b5(0x45a)]({'cmd':_0x26d40b[_0x4971b5(0x4ad)],'routeKey':_0x26d40b[_0x4971b5(0x461)],'collaMsg':_0x4f5105});}case W[_0x4971b5(0x256)]:return JSON[_0x4971b5(0x45a)]({'cmd':_0x26d40b[_0x4971b5(0x4ad)],'routeKey':_0x26d40b[_0x4971b5(0x461)],'joinReq':_0x26d40b[_0x4971b5(0x35f)]});case W['LEAVE']:return JSON[_0x4971b5(0x45a)]({'cmd':_0x26d40b[_0x4971b5(0x4ad)],'routeKey':_0x26d40b[_0x4971b5(0x461)],'leaveReq':_0x26d40b[_0x4971b5(0x35f)]});default:throw new Error(_0x4971b5(0x46d));}}var qt=Object['getOwnPropertyDescriptor'],zt=(_0x4f6bae,_0x26d955,_0x169cfb,_0x20c25d)=>{var _0x23edfd=_0x72c010;for(var _0x2e6da8=_0x20c25d>0x1?void 0x0:_0x20c25d?qt(_0x26d955,_0x169cfb):_0x26d955,_0x89311e=_0x4f6bae[_0x23edfd(0x2f9)]-0x1,_0x29841f;_0x89311e>=0x0;_0x89311e--)(_0x29841f=_0x4f6bae[_0x89311e])&&(_0x2e6da8=_0x29841f(_0x2e6da8)||_0x2e6da8);return _0x2e6da8;},_e=(_0x14ebfa,_0x483fa1)=>(_0x6265c5,_0x4ae955)=>_0x483fa1(_0x6265c5,_0x4ae955,_0x14ebfa);const He=a[_0x72c010(0x1ad)]('univer-pro.collaboration-client-socket-service');function Jt(_0x3da297,_0x562153,_0xa68e19){var _0x405bb0=_0x72c010;return _0x3da297+'/'+_0x562153+_0x405bb0(0x158)+_0xa68e19+_0x405bb0(0x440);}exports[_0x72c010(0x24c)]=class extends a[_0x72c010(0x1df)]{constructor(_0x3ebfa4,_0xda68ec,_0x35a0a8,_0xc7cc,_0x541ca2){var _0x430692=_0x72c010;super(),this[_0x430692(0x39f)]=_0x3ebfa4,this['_httpService']=_0xda68ec,this['_configService']=_0x35a0a8,this[_0x430692(0x452)]=_0xc7cc,this['_snapshotServerService']=_0x541ca2;}[_0x72c010(0x33c)](_0x3957f6){var _0x489ecc=_0x72c010;const _0x3466a6=this[_0x489ecc(0x39f)]['get'](Y[_0x489ecc(0x252)]);if(!_0x3466a6)throw new Error(_0x489ecc(0x347));const _0x1165b4=_0x3466a6['createSocket'](_0x3957f6);if(!_0x1165b4)throw new Error(_0x489ecc(0x472));const _0xc5edeb=new a['DisposableCollection'](),_0x4f84b1=new $['Subject']();_0xc5edeb['add'](_0x1165b4[_0x489ecc(0x46f)][_0x489ecc(0x184)](_0x524cc6=>_0x4f84b1['next'](_0x524cc6))),_0xc5edeb[_0x489ecc(0x358)](a['toDisposable'](()=>_0x4f84b1[_0x489ecc(0x16b)]()));const _0x3cbaba=new $[(_0x489ecc(0x475))]();_0xc5edeb[_0x489ecc(0x358)](_0x1165b4[_0x489ecc(0x3b4)]['subscribe'](_0x575e75=>_0x3cbaba[_0x489ecc(0x1fb)](_0x575e75))),_0xc5edeb[_0x489ecc(0x358)](a[_0x489ecc(0x146)](()=>_0x3cbaba[_0x489ecc(0x16b)]()));const _0x558477=new $[(_0x489ecc(0x475))]();_0xc5edeb[_0x489ecc(0x358)](_0x1165b4[_0x489ecc(0x236)][_0x489ecc(0x184)](_0x21d61a=>{var _0x539823=_0x489ecc;const _0x4e4ba5=Ct(_0x21d61a);_0x558477[_0x539823(0x1fb)](_0x4e4ba5);})),_0xc5edeb[_0x489ecc(0x358)](a[_0x489ecc(0x146)](()=>_0x558477[_0x489ecc(0x16b)]()));let _0x52aeee;const _0x751cd7=()=>{var _0x596e2c=_0x489ecc;_0x3cbaba[_0x596e2c(0x1fb)](new Event(_0x596e2c(0x165))),_0x4f84b1['next'](new Event(_0x596e2c(0x165))),_0x52aeee['close']();};return _0x52aeee={'memberID':'','close$':_0x4f84b1[_0x489ecc(0x2df)](),'error$':_0x3cbaba['asObservable'](),'open$':_0x1165b4[_0x489ecc(0x2c9)],'message$':_0x558477[_0x489ecc(0x2df)](),'send':_0x187fbf=>{var _0x489ace=_0x489ecc;if(_0x187fbf[_0x489ace(0x4ad)]===W[_0x489ace(0x4a2)]){if(_0x187fbf[_0x489ace(0x35f)]['eventID']===I[_0x489ace(0x3b2)]['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x52aeee,_0x187fbf[_0x489ace(0x35f)])[_0x489ace(0x237)](_0x45c25f=>{var _0x223373=_0x489ace;this[_0x223373(0x452)][_0x223373(0x2e5)](_0x45c25f),_0x751cd7();});return;}if(_0x187fbf['data'][_0x489ace(0x249)]===I[_0x489ace(0x3b2)][_0x489ace(0x48c)]){const _0x2a6ee1=_0x187fbf[_0x489ace(0x35f)];this[_0x489ace(0x1f3)](_0x2a6ee1)['then'](_0x2110a4=>{var _0x456e0d=_0x489ace;_0x558477[_0x456e0d(0x1fb)]({'cmd':W['RECV'],'code':oe['OK'],'routeKey':_0x2a6ee1[_0x456e0d(0x35f)][_0x456e0d(0x4af)],'routeType':'','data':{'eventID':I[_0x456e0d(0x3b2)][_0x456e0d(0x4a8)],'data':{'changesets':_0x2110a4}}});})[_0x489ace(0x237)](_0x378759=>{var _0x277b87=_0x489ace;this['_logService'][_0x277b87(0x2e5)](_0x378759),_0x751cd7();});return;}}_0x1165b4[_0x489ace(0x2f6)](Tt(_0x187fbf));},'close':()=>{var _0x116b8e=_0x489ecc;_0x1165b4[_0x116b8e(0x20d)](),_0xc5edeb[_0x116b8e(0x406)]();}},_0x52aeee;}async[_0x72c010(0x362)](_0x543218,_0x5b80a1){var _0x40e195=_0x72c010,_0x5350e9,_0x480cd0;const {unitType:_0x347e2b,unitID:_0x146235,changeset:_0x32d414}=_0x5b80a1[_0x40e195(0x35f)],_0x371cc1={'unitID':_0x146235,'memberID':_0x543218[_0x40e195(0x276)],'type':_0x347e2b,'changeset':I[_0x40e195(0x1d2)](_0x32d414)},_0x3832e2=this[_0x40e195(0x23d)]['getConfig'](pt),_0x9b3120=this['_configService'][_0x40e195(0x282)](K),_0x35eae9=Jt((_0x480cd0=(_0x5350e9=_0x9b3120==null?void 0x0:_0x9b3120[_0x40e195(0x3d6)])!=null?_0x5350e9:_0x3832e2)!=null?_0x480cd0:Vt,_0x347e2b,_0x146235);try{await this[_0x40e195(0x1ec)][_0x40e195(0x306)](_0x35eae9,{'body':_0x371cc1});}catch(_0x325961){throw this[_0x40e195(0x452)][_0x40e195(0x2e5)]('[CollaborationSession]',_0x40e195(0x4aa)),_0x325961;}}async[_0x72c010(0x1f3)](_0x22b29b){var _0x33fcac=_0x72c010;const {unitID:_0x1a8017,from:_0x282bdd,to:_0x561c85,unitType:_0x150c79}=_0x22b29b[_0x33fcac(0x35f)];return(await this[_0x33fcac(0x3bc)][_0x33fcac(0x29f)]({'metadata':void 0x0},{'unitID':_0x1a8017,'type':_0x150c79,'from':_0x282bdd,'to':_0x561c85}))[_0x33fcac(0x28d)];}},exports[_0x72c010(0x24c)]=zt([_e(0x0,a[_0x72c010(0x21f)](a[_0x72c010(0x15c)])),_e(0x1,a['Inject'](Y[_0x72c010(0x48f)])),_e(0x2,a[_0x72c010(0x25f)]),_e(0x3,a['ILogService']),_e(0x4,I[_0x72c010(0x3e1)])],exports[_0x72c010(0x24c)]);const Xt=_0x72c010(0x481);function Zt(_0x51a0f1){var _0x1ab2d0=_0x72c010;return JSON[_0x1ab2d0(0x45a)](_0x51a0f1)[_0x1ab2d0(0x2f9)];}class $e{constructor(){var _0x3e4dd1=_0x72c010;A(this,'_commentUpdate$',new $[(_0x3e4dd1(0x475))]()),A(this,'commentUpdate$',this[_0x3e4dd1(0x298)][_0x3e4dd1(0x2df)]());}['onCommentUpdate'](_0x193288){var _0x4fe8d6=_0x72c010;this[_0x4fe8d6(0x298)][_0x4fe8d6(0x1fb)](_0x193288);}}var Qt=Object[_0x72c010(0x43c)],ei=(_0x335832,_0x3ac3c0,_0x1097d4,_0x500375)=>{var _0x17c4e4=_0x72c010;for(var _0x3dbda0=_0x500375>0x1?void 0x0:_0x500375?Qt(_0x3ac3c0,_0x1097d4):_0x3ac3c0,_0x1bf17c=_0x335832[_0x17c4e4(0x2f9)]-0x1,_0x10d997;_0x1bf17c>=0x0;_0x1bf17c--)(_0x10d997=_0x335832[_0x1bf17c])&&(_0x3dbda0=_0x10d997(_0x3dbda0)||_0x3dbda0);return _0x3dbda0;},We=(_0x5ef8de,_0x215570)=>(_0x53d3d0,_0x41e333)=>_0x215570(_0x53d3d0,_0x41e333,_0x5ef8de);exports[_0x72c010(0x29b)]=class extends a[_0x72c010(0x1df)]{constructor(_0x34e6ca,_0x41a73c){var _0x19c69e=_0x72c010;super(),A(this,'_roomMembers',new Map()),A(this,_0x19c69e(0x443),new $[(_0x19c69e(0x475))]()),(this[_0x19c69e(0x286)]=_0x34e6ca,this[_0x19c69e(0x499)]=_0x41a73c,this[_0x19c69e(0x1ef)]($[_0x19c69e(0x42f)](this[_0x19c69e(0x286)][_0x19c69e(0x465)](a[_0x19c69e(0x30f)][_0x19c69e(0x477)])[_0x19c69e(0x190)](V['map'](_0xede49f=>_0xede49f[_0x19c69e(0x233)]())),this[_0x19c69e(0x286)][_0x19c69e(0x465)](a[_0x19c69e(0x30f)][_0x19c69e(0x356)])['pipe'](V[_0x19c69e(0x14c)](_0x178581=>_0x178581['getUnitId']())),this[_0x19c69e(0x286)]['getTypeOfUnitDisposed$'](a[_0x19c69e(0x30f)]['UNIVER_SLIDE'])['pipe'](V[_0x19c69e(0x14c)](_0x24194e=>_0x24194e[_0x19c69e(0x233)]())))['subscribe'](_0x54eb20=>this[_0x19c69e(0x2c6)](_0x54eb20))));}[_0x72c010(0x262)](_0x25f8f8){var _0x1fbf53=_0x72c010;return this['_roomMembers']['has'](_0x25f8f8)?$['of'](this[_0x1fbf53(0x309)][_0x1fbf53(0x4b7)](_0x25f8f8)):this[_0x1fbf53(0x443)][_0x1fbf53(0x190)](V['map'](_0x171aa2=>{var _0x8bd486=_0x1fbf53;if(_0x171aa2===_0x25f8f8)return this[_0x8bd486(0x309)][_0x8bd486(0x4b7)](_0x171aa2);}));}['setCurrentUser'](_0x1fface){var _0x57ec1d=_0x72c010;this[_0x57ec1d(0x499)][_0x57ec1d(0x455)](_0x1fface);}[_0x72c010(0x161)](){var _0x14e492=_0x72c010;return this['_userManagerService'][_0x14e492(0x161)]();}[_0x72c010(0x4a3)](_0x20ba45,_0x3329f4){var _0x4689c1=_0x72c010;let _0x594ed4=this[_0x4689c1(0x309)]['get'](_0x20ba45);_0x594ed4||(_0x594ed4=new ti(),this[_0x4689c1(0x309)][_0x4689c1(0x268)](_0x20ba45,_0x594ed4),this[_0x4689c1(0x443)][_0x4689c1(0x1fb)](_0x20ba45)),_0x594ed4[_0x4689c1(0x4a3)](_0x3329f4);}[_0x72c010(0x2d1)](_0x3c34d2,_0x29a5e9){var _0x2fa2f3=_0x72c010;const _0x3e095a=this[_0x2fa2f3(0x309)]['get'](_0x3c34d2);_0x3e095a&&_0x3e095a[_0x2fa2f3(0x2d1)](_0x29a5e9);}[_0x72c010(0x373)](_0x53da3e){var _0x4c6ca0=_0x72c010;return this[_0x4c6ca0(0x309)][_0x4c6ca0(0x4b7)](_0x53da3e);}['getMember'](_0x491754,_0x39cfb2){var _0x5b77d8=_0x72c010;const _0x397b31=this[_0x5b77d8(0x309)][_0x5b77d8(0x4b7)](_0x491754);if(_0x397b31)return _0x397b31[_0x5b77d8(0x48a)](_0x39cfb2);}[_0x72c010(0x2c6)](_0x281751){var _0x1772fd=_0x72c010;const _0x29864d=this['_roomMembers'][_0x1772fd(0x4b7)](_0x281751);_0x29864d&&(_0x29864d['dispose'](),this[_0x1772fd(0x309)][_0x1772fd(0x229)](_0x281751));}[_0x72c010(0x406)](){var _0x36ef31=_0x72c010;this[_0x36ef31(0x309)]['forEach'](_0xa8463f=>_0xa8463f[_0x36ef31(0x406)]()),this[_0x36ef31(0x309)]['clear'](),this[_0x36ef31(0x443)][_0x36ef31(0x16b)]();}},exports[_0x72c010(0x29b)]=ei([We(0x0,a['IUniverInstanceService']),We(0x1,a['Inject'](a[_0x72c010(0x487)]))],exports[_0x72c010(0x29b)]);class ti extends a[_0x72c010(0x1df)]{constructor(){var _0x4a4192=_0x72c010;super(...arguments),A(this,_0x4a4192(0x34b),new Map()),A(this,'_members$',new $[(_0x4a4192(0x3cc))](this['_members'])),A(this,_0x4a4192(0x1db),this[_0x4a4192(0x3f3)][_0x4a4192(0x2df)]());}[_0x72c010(0x406)](){var _0x4f55f3=_0x72c010;this['_members'][_0x4f55f3(0x1c9)]();}['updateMember'](_0x521357){var _0x14ad34=_0x72c010;this[_0x14ad34(0x34b)][_0x14ad34(0x268)](_0x521357[_0x14ad34(0x276)],_0x521357),this['_emitMembers']();}['removeMember'](_0x2ce9f8){var _0x2b3679=_0x72c010;this['_members'][_0x2b3679(0x229)](_0x2ce9f8);}[_0x72c010(0x48a)](_0x2be872){var _0x31e6b3=_0x72c010;return this[_0x31e6b3(0x34b)][_0x31e6b3(0x4b7)](_0x2be872);}[_0x72c010(0x3ed)](){var _0x10d7f1=_0x72c010;return Array[_0x10d7f1(0x423)](this[_0x10d7f1(0x34b)]['values']());}['_emitMembers'](){var _0x249d80=_0x72c010;this[_0x249d80(0x3f3)][_0x249d80(0x1fb)](this[_0x249d80(0x34b)]);}}var ii=Object[_0x72c010(0x43c)],ni=(_0x514c0e,_0x5bb97f,_0x355c18,_0x3ab4f3)=>{var _0x2aafac=_0x72c010;for(var _0x1c449a=_0x3ab4f3>0x1?void 0x0:_0x3ab4f3?ii(_0x5bb97f,_0x355c18):_0x5bb97f,_0x39b4f4=_0x514c0e[_0x2aafac(0x2f9)]-0x1,_0x618de7;_0x39b4f4>=0x0;_0x39b4f4--)(_0x618de7=_0x514c0e[_0x39b4f4])&&(_0x1c449a=_0x618de7(_0x1c449a)||_0x1c449a);return _0x1c449a;},se=(_0x14843d,_0x4ee0ef)=>(_0xc5c82e,_0x22c606)=>_0x4ee0ef(_0xc5c82e,_0x22c606,_0x14843d),re=(_0x16781e=>(_0x16781e[_0x16781e['IDLE']=0x0]=_0x72c010(0x2c2),_0x16781e[_0x16781e[_0x72c010(0x398)]=0x1]=_0x72c010(0x398),_0x16781e[_0x16781e[_0x72c010(0x38a)]=0x2]='OFFLINE',_0x16781e[_0x16781e[_0x72c010(0x1c7)]=0x3]=_0x72c010(0x1c7),_0x16781e))(re||{});const Ge={[oe['FAIL']]:_0x72c010(0x3b5),[oe[_0x72c010(0x31e)]]:_0x72c010(0x30a),[oe[_0x72c010(0x33b)]]:_0x72c010(0x25d),[oe['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[oe[_0x72c010(0x42c)]]:_0x72c010(0x2a8)};exports[_0x72c010(0x167)]=class extends a[_0x72c010(0x3d3)]{constructor(_0x2e244f,_0x47a7f5,_0xf474b0,_0xff9537,_0x137abb,_0x3c8dd2,_0x578fff,_0x25ff93,_0x1b15ba){var _0x190dec=_0x72c010;super(),A(this,_0x190dec(0x3bb),new $[(_0x190dec(0x3cc))](0x0)),A(this,_0x190dec(0x3be),this['_sessionStatus$'][_0x190dec(0x2df)]()),A(this,'_event$',new $[(_0x190dec(0x475))]()),A(this,_0x190dec(0x2d2),this['_event$'][_0x190dec(0x2df)]()),A(this,_0x190dec(0x434)),A(this,_0x190dec(0x27e)),A(this,'_collaborationTimeoutTimer'),A(this,_0x190dec(0x270),!0x1),A(this,'_telemetryInfo',null),(this[_0x190dec(0x3a6)]=_0x2e244f,this[_0x190dec(0x452)]=_0xf474b0,this[_0x190dec(0x23d)]=_0xff9537,this['_localeService']=_0x137abb,this['_memberService']=_0x3c8dd2,this[_0x190dec(0x344)]=_0x578fff,this[_0x190dec(0x2b9)]=_0x25ff93,this[_0x190dec(0x196)]=_0x1b15ba,this[_0x190dec(0x270)]=!!this[_0x190dec(0x196)],_0x47a7f5[_0x190dec(0x190)]($['takeUntil'](this[_0x190dec(0x1b8)]))[_0x190dec(0x184)](_0x2fb748=>{var _0x4c5eee=_0x190dec,_0x1ea7f4;typeof _0x2fb748>'u'||(this['_socket']=_0x2fb748,_0x2fb748?(this[_0x4c5eee(0x2a0)](_0x2fb748),this[_0x4c5eee(0x27e)]=_0x2fb748[_0x4c5eee(0x236)][_0x4c5eee(0x184)](_0x495ccf=>{var _0x196f87=_0x4c5eee;_0x495ccf[_0x196f87(0x461)]===this[_0x196f87(0x3a6)]&&this[_0x196f87(0x2ea)](_0x495ccf);})):(this[_0x4c5eee(0x449)](),this[_0x4c5eee(0x3bb)]['next'](0x2),(_0x1ea7f4=this[_0x4c5eee(0x27e)])==null||_0x1ea7f4['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get[_0x72c010(0x1bc)](){var _0x578b86=_0x72c010;return this['_sessionStatus$'][_0x578b86(0x213)]();}[_0x72c010(0x321)](){var _0x36b31f=_0x72c010,_0x55559d,_0x53bd7d;return(_0x53bd7d=(_0x55559d=this[_0x36b31f(0x434)])==null?void 0x0:_0x55559d[_0x36b31f(0x276)])!=null?_0x53bd7d:null;}[_0x72c010(0x406)](){var _0x98847=_0x72c010;super[_0x98847(0x406)](),this['dispose$'][_0x98847(0x1fb)](),this[_0x98847(0x1b8)][_0x98847(0x16b)]();}[_0x72c010(0x20d)](){var _0x49a134=_0x72c010,_0x19cd84,_0x257b8a;this[_0x49a134(0x449)](),(_0x19cd84=this[_0x49a134(0x434)])==null||_0x19cd84['send']({'cmd':W[_0x49a134(0x331)],'data':{'roomID':this[_0x49a134(0x3a6)]}}),(_0x257b8a=this[_0x49a134(0x434)])==null||_0x257b8a[_0x49a134(0x20d)](),this[_0x49a134(0x401)][_0x49a134(0x16b)](),this['_sessionStatus$'][_0x49a134(0x16b)](),this[_0x49a134(0x406)]();}[_0x72c010(0x2ea)](_0x53f34f){var _0x55ef2f=_0x72c010;_0x53f34f['cmd']===W[_0x55ef2f(0x256)]?this[_0x55ef2f(0x1e6)](_0x53f34f):_0x53f34f[_0x55ef2f(0x4ad)]===W[_0x55ef2f(0x1f9)]&&this[_0x55ef2f(0x316)](_0x53f34f);}[_0x72c010(0x2a0)](_0x592436){var _0x3d0ba1=_0x72c010;this['_sessionStatus$']['next'](0x1),_0x592436[_0x3d0ba1(0x2f6)]({'cmd':W['JOIN'],'routeKey':this[_0x3d0ba1(0x3a6)],'routeType':'','data':{'rooms':[{'roomID':this[_0x3d0ba1(0x3a6)]}]}});}['_onJoinRoomEvent'](_0x32f0e7){var _0x4ca8be=_0x72c010,_0x383914;if(_0x32f0e7[_0x4ca8be(0x369)]in Ge){this[_0x4ca8be(0x2b9)][_0x4ca8be(0x42a)]({'id':Z[_0x4ca8be(0x4b2)],'data':Ge[_0x32f0e7[_0x4ca8be(0x369)]]}),this['_sessionStatus$'][_0x4ca8be(0x1fb)](0x2);return;}this[_0x4ca8be(0x3bb)][_0x4ca8be(0x1fb)](0x3);const _0x5b946e=(_0x383914=_0x32f0e7[_0x4ca8be(0x35f)][_0x4ca8be(0x168)][this[_0x4ca8be(0x3a6)]])==null?void 0x0:_0x383914[_0x4ca8be(0x336)];_0x5b946e&&_0x5b946e[_0x4ca8be(0x292)](_0xa594aa=>this[_0x4ca8be(0x1be)][_0x4ca8be(0x4a3)](this[_0x4ca8be(0x3a6)],_0xa594aa));}[_0x72c010(0x316)](_0x26ca52){var _0x42084e=_0x72c010;try{const _0x31dacd=_0x26ca52[_0x42084e(0x35f)];switch(_0x31dacd['eventID']){case I['CollaborationEvent'][_0x42084e(0x1e4)]:this[_0x42084e(0x20f)](_0x31dacd),this['_event$'][_0x42084e(0x1fb)](_0x31dacd);break;case I[_0x42084e(0x3b2)][_0x42084e(0x39c)]:this['_onUserLeave'](_0x31dacd),this[_0x42084e(0x401)][_0x42084e(0x1fb)](_0x31dacd);break;case I[_0x42084e(0x3b2)]['CHANGESET_ACK']:case I[_0x42084e(0x3b2)][_0x42084e(0x28f)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x42084e(0x1fb)](_0x31dacd);break;case I[_0x42084e(0x3b2)][_0x42084e(0x285)]:this[_0x42084e(0x452)][_0x42084e(0x2e5)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x42084e(0x45a)](_0x31dacd)),this['_event$'][_0x42084e(0x1fb)](_0x31dacd);break;case I[_0x42084e(0x3b2)][_0x42084e(0x2e9)]:this[_0x42084e(0x344)][_0x42084e(0x370)](_0x31dacd['data']),this['_event$']['next'](_0x31dacd);break;default:this[_0x42084e(0x401)][_0x42084e(0x1fb)](_0x31dacd);}}catch(_0x29e978){this[_0x42084e(0x452)][_0x42084e(0x2e5)](_0x29e978,_0x26ca52);}}[_0x72c010(0x20f)](_0xe3efa5){var _0xbbccd9=_0x72c010;this[_0xbbccd9(0x1be)][_0xbbccd9(0x4a3)](this['_unitID'],_0xe3efa5['data']);}['_onUserLeave'](_0x11cea4){var _0x102a4d=_0x72c010;this['_memberService'][_0x102a4d(0x2d1)](this['_unitID'],_0x11cea4['data'][_0x102a4d(0x276)]);}async[_0x72c010(0x2f6)](_0x5ad468,_0x5f5a80){var _0x5779d6=_0x72c010;if(this['sessionStatus']!==0x3||!this[_0x5779d6(0x434)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x5ad468[_0x5779d6(0x249)]===I[_0x5779d6(0x3b2)]['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x5779d6(0x2d7)](_0x5ad468)),this[_0x5779d6(0x434)][_0x5779d6(0x2f6)]({'cmd':W[_0x5779d6(0x4a2)],'routeKey':_0x5f5a80,'routeType':'','data':_0x5ad468});}catch(_0x1cdc8b){this[_0x5779d6(0x452)]['error'](_0x1cdc8b);}}['_scheduleCollaborationTimeoutTimer'](){var _0x20dbf0=_0x72c010,_0x3c5edb;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x4d562e=_0x284f;this[_0x4d562e(0x2f4)]=null,this[_0x4d562e(0x2b9)][_0x4d562e(0x42a)]({'id':Z['SUBMIT_CHANGESET_TIMEOUT']});},(_0x3c5edb=this[_0x20dbf0(0x23d)][_0x20dbf0(0x282)](ke))!=null?_0x3c5edb:St);}['_clearCollaborationTimeoutTimer'](){var _0xd110d5=_0x72c010;this[_0xd110d5(0x2f4)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}[_0x72c010(0x2d7)](_0x56a742){if(!this['_shouldReportTelemetry'])return;const {data:_0x5dfc2d}=_0x56a742,{unitID:_0x2ed376,changeset:_0x37a739}=_0x5dfc2d,{mutations:_0x10e665,type:_0x29800a}=_0x37a739;this['_telemetryInfo']={'unitId':_0x2ed376,'type':_0x29800a,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Zt(_0x10e665)};}[_0x72c010(0x340)](){var _0x484093=_0x72c010;if(this[_0x484093(0x270)]){if(!this[_0x484093(0x3d0)]){this[_0x484093(0x452)][_0x484093(0x2e5)](_0x484093(0x417),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x484093(0x3d0)][_0x484093(0x459)]=performance[_0x484093(0x278)](),this[_0x484093(0x3d0)][_0x484093(0x2c8)]=this['_telemetryInfo'][_0x484093(0x459)]-this[_0x484093(0x3d0)]['startTime'],this[_0x484093(0x196)][_0x484093(0x205)](Xt,this['_telemetryInfo']),this[_0x484093(0x3d0)]=null;}}[_0x72c010(0x449)](){var _0xbba0ac=_0x72c010;this[_0xbba0ac(0x3d0)]=null;}},exports[_0x72c010(0x167)]=ni([se(0x2,a['ILogService']),se(0x3,a[_0x72c010(0x25f)]),se(0x4,a[_0x72c010(0x21f)](a['LocaleService'])),se(0x5,a[_0x72c010(0x21f)](exports[_0x72c010(0x29b)])),se(0x6,a[_0x72c010(0x21f)]($e)),se(0x7,a['Inject'](ee)),se(0x8,a[_0x72c010(0x3a8)](Pt[_0x72c010(0x2cc)]))],exports[_0x72c010(0x167)]);var ri=Object[_0x72c010(0x43c)],si=(_0x4624d5,_0x2aedab,_0x2c8560,_0xb03858)=>{var _0x5a8d0f=_0x72c010;for(var _0x5604db=_0xb03858>0x1?void 0x0:_0xb03858?ri(_0x2aedab,_0x2c8560):_0x2aedab,_0x203e3d=_0x4624d5[_0x5a8d0f(0x2f9)]-0x1,_0x1a1f36;_0x203e3d>=0x0;_0x203e3d--)(_0x1a1f36=_0x4624d5[_0x203e3d])&&(_0x5604db=_0x1a1f36(_0x5604db)||_0x5604db);return _0x5604db;},he=(_0x43466f,_0x2d1cd7)=>(_0x35577d,_0x3373b2)=>_0x2d1cd7(_0x35577d,_0x3373b2,_0x43466f);exports[_0x72c010(0x3f8)]=class extends a[_0x72c010(0x1df)]{constructor(_0x312d50,_0x3badc9,_0x75b3b2,_0x4d2319,_0x5cc1a7,_0x43cdb4){var _0x553737=_0x72c010;super(),A(this,_0x553737(0x400),new $['BehaviorSubject'](void 0x0)),A(this,_0x553737(0x1ff),this[_0x553737(0x400)][_0x553737(0x2df)]()),A(this,_0x553737(0x4a9),null),A(this,_0x553737(0x418),new Map()),A(this,'_status$',new $[(_0x553737(0x3cc))](re[_0x553737(0x2c2)])),A(this,_0x553737(0x350),this[_0x553737(0x31f)][_0x553737(0x2df)]()),A(this,_0x553737(0x25a),!0x1),A(this,_0x553737(0x31a)),A(this,_0x553737(0x241),0x0),A(this,_0x553737(0x2b8)),A(this,_0x553737(0x386)),(this[_0x553737(0x39f)]=_0x312d50,this[_0x553737(0x452)]=_0x3badc9,this[_0x553737(0x23d)]=_0x75b3b2,this['_socketService']=_0x4d2319,this['_collaborationUIEventService']=_0x5cc1a7,this[_0x553737(0x353)]=_0x43cdb4,this[_0x553737(0x185)]());}get[_0x72c010(0x434)](){var _0x128795=_0x72c010;return this[_0x128795(0x400)][_0x128795(0x213)]();}[_0x72c010(0x185)](){var _0x4e902f=_0x72c010;this[_0x4e902f(0x353)]&&this['disposeWithMe'](this['_networkConditionService'][_0x4e902f(0x3db)][_0x4e902f(0x184)](_0x1e9b4a=>{var _0x504e5b=_0x4e902f;_0x1e9b4a&&!this[_0x504e5b(0x434)]&&this['reconnect'](),_0x1e9b4a||this[_0x504e5b(0x1c4)]();}));}[_0x72c010(0x406)](){var _0x450de4=_0x72c010;super[_0x450de4(0x406)](),this[_0x450de4(0x2be)](),this[_0x450de4(0x291)](),this[_0x450de4(0x38c)](),this[_0x450de4(0x418)][_0x450de4(0x292)](_0x134a91=>_0x134a91[_0x450de4(0x406)]()),this[_0x450de4(0x418)][_0x450de4(0x1c9)](),this[_0x450de4(0x31f)][_0x450de4(0x16b)]();}async[_0x72c010(0x24e)](_0x4be730){var _0x33d23b=_0x72c010;if(this['_sessions'][_0x33d23b(0x257)](_0x4be730))return this[_0x33d23b(0x418)]['get'](_0x4be730);this[_0x33d23b(0x1b2)]();const _0x5ccf7a=this[_0x33d23b(0x39f)]['createInstance'](exports['CollaborationSession'],_0x4be730,this[_0x33d23b(0x400)]['asObservable']());return this['_sessions'][_0x33d23b(0x268)](_0x4be730,_0x5ccf7a),_0x5ccf7a;}[_0x72c010(0x376)](_0x30aeed){var _0x3b6512=_0x72c010,_0x3507fa;const _0x21f32d=this[_0x3b6512(0x418)][_0x3b6512(0x4b7)](_0x30aeed);_0x21f32d&&(this[_0x3b6512(0x418)][_0x3b6512(0x229)](_0x30aeed),_0x21f32d['close']()),this[_0x3b6512(0x418)][_0x3b6512(0x3ae)]||(_0x3507fa=this[_0x3b6512(0x434)])==null||_0x3507fa[_0x3b6512(0x20d)]();}[_0x72c010(0x3fc)](){var _0x5736ec=_0x72c010;this[_0x5736ec(0x241)]=0x0,this['_clearRetryConnectingTimer'](),this['_tryReconnect']();}[_0x72c010(0x2be)](){var _0x508762=_0x72c010;this[_0x508762(0x31a)]!=null&&(clearTimeout(this[_0x508762(0x31a)]),this[_0x508762(0x31a)]=null);}async['_createSocket'](){var _0x19d1e9=_0x72c010,_0x25f32b,_0xfe1a79;const _0x4fa504=this[_0x19d1e9(0x23d)][_0x19d1e9(0x282)](ut),_0x7be48f=this[_0x19d1e9(0x23d)][_0x19d1e9(0x282)](K),_0x483c6a=(_0xfe1a79=(_0x25f32b=_0x7be48f==null?void 0x0:_0x7be48f['collabWebSocketUrl'])!=null?_0x25f32b:_0x4fa504)!=null?_0xfe1a79:dt,_0x1634b7=await this['_socketService'][_0x19d1e9(0x436)](_0x483c6a);return this['_candidateSocket']=_0x1634b7,_0x1634b7;}async[_0x72c010(0x1b2)](){var _0x3eb25e=_0x72c010,_0x3c393f,_0x2a2c58;try{const _0x2b3895=(_0x2a2c58=(_0x3c393f=this[_0x3eb25e(0x434)])!=null?_0x3c393f:this[_0x3eb25e(0x4a9)])!=null?_0x2a2c58:await this[_0x3eb25e(0x28c)]();if(_0x2b3895){const _0x4c299f=_0x2b3895[_0x3eb25e(0x2f6)];_0x2b3895[_0x3eb25e(0x2f6)]=_0x39ec05=>(this[_0x3eb25e(0x2b3)](),_0x4c299f[_0x3eb25e(0x20a)](_0x2b3895,[_0x39ec05])),_0x2b3895[_0x3eb25e(0x236)][_0x3eb25e(0x184)](_0x5aca7c=>this[_0x3eb25e(0x16a)](_0x2b3895,_0x5aca7c)),_0x2b3895['error$'][_0x3eb25e(0x190)](V['take'](0x1))[_0x3eb25e(0x184)](_0x147019=>this[_0x3eb25e(0x452)][_0x3eb25e(0x2e5)](_0x3eb25e(0x432),_0x147019)),_0x2b3895['open$'][_0x3eb25e(0x190)](V[_0x3eb25e(0x1d1)](0x1))[_0x3eb25e(0x184)](()=>{this['_onConnectionOpen'](_0x2b3895);}),_0x2b3895['close$'][_0x3eb25e(0x190)](V['take'](0x1))[_0x3eb25e(0x184)](_0x5d8781=>{var _0x22cf04=_0x3eb25e;this[_0x22cf04(0x452)][_0x22cf04(0x18f)](_0x22cf04(0x39a),'socket\x20close',_0x5d8781),this[_0x22cf04(0x47b)]();});}}catch(_0xa75d4){this[_0x3eb25e(0x452)][_0x3eb25e(0x2e5)](_0xa75d4),this[_0x3eb25e(0x47b)]();}}['_onConnectionOpen'](_0x2987e0){var _0x33fd10=_0x72c010;this[_0x33fd10(0x452)][_0x33fd10(0x18f)]('[CollaborationSessionService]',_0x33fd10(0x239)),_0x2987e0[_0x33fd10(0x2f6)]({'cmd':W[_0x33fd10(0x326)]}),this[_0x33fd10(0x2b3)]();}['_onOffline'](){var _0x1b20e0=_0x72c010;this['_socketReady']=!0x1,this['_candidateSocket']=null,this['_status$'][_0x1b20e0(0x1fb)](re[_0x1b20e0(0x38a)]),this['_socket$'][_0x1b20e0(0x1fb)](null),this[_0x1b20e0(0x291)](),this[_0x1b20e0(0x38c)]();}[_0x72c010(0x47b)](){var _0x17fcee=_0x72c010,_0x5891fa;this[_0x17fcee(0x1c4)](),this['_retryCount']<((_0x5891fa=this[_0x17fcee(0x23d)][_0x17fcee(0x282)](ft))!=null?_0x5891fa:jt)?(this[_0x17fcee(0x2b9)]['emitEvent']({'id':Z[_0x17fcee(0x393)]}),this[_0x17fcee(0x19a)]()):this[_0x17fcee(0x2b9)][_0x17fcee(0x42a)]({'id':Z[_0x17fcee(0x494)]});}[_0x72c010(0x19a)](){var _0x5c44b0=_0x72c010,_0x14922d;const _0x3a2b52=this[_0x5c44b0(0x241)],_0xa0d9f8=this[_0x5c44b0(0x23d)][_0x5c44b0(0x282)](K),_0x3b1157=_0x3a2b52===0x0?0x0:((_0x14922d=_0xa0d9f8==null?void 0x0:_0xa0d9f8[_0x5c44b0(0x375)])!=null?_0x14922d:$t)*0x2**_0x3a2b52;this[_0x5c44b0(0x31a)]=setTimeout(()=>{var _0x16b79c=_0x5c44b0;clearTimeout(this[_0x16b79c(0x31a)]),this['_retryConnectingTimer']=null,this[_0x16b79c(0x1b2)]();},_0x3b1157),this[_0x5c44b0(0x241)]+=0x1;}[_0x72c010(0x16a)](_0x40b4f5,_0x9b755f){var _0x124446=_0x72c010;const {cmd:_0xb3fed3}=_0x9b755f;_0xb3fed3===W[_0x124446(0x326)]&&!this[_0x124446(0x25a)]&&(_0x40b4f5[_0x124446(0x276)]=_0x9b755f[_0x124446(0x35f)]['memberID'],this['_socket$'][_0x124446(0x1fb)](_0x40b4f5),this[_0x124446(0x31f)][_0x124446(0x1fb)](re['ONLINE']),this[_0x124446(0x25a)]=!0x0,this[_0x124446(0x4a9)]=null),_0xb3fed3===W[_0x124446(0x3ef)]&&this[_0x124446(0x291)](),this[_0x124446(0x2b3)]();}[_0x72c010(0x2b3)](){var _0x1832ee=_0x72c010,_0x578a4b;this['_clearHeartbeatTimer'](),this[_0x1832ee(0x2b8)]=setTimeout(()=>this[_0x1832ee(0x178)](),(_0x578a4b=this['_configService'][_0x1832ee(0x282)](vt))!=null?_0x578a4b:Ht);}[_0x72c010(0x178)](){var _0x5c5043=_0x72c010;this[_0x5c5043(0x434)][_0x5c5043(0x2f6)]({'cmd':W[_0x5c5043(0x3ef)]}),this[_0x5c5043(0x473)]();}[_0x72c010(0x473)](){var _0x11594=_0x72c010,_0x48ef56;this[_0x11594(0x386)]=setTimeout(()=>this[_0x11594(0x47b)](),(_0x48ef56=this[_0x11594(0x23d)][_0x11594(0x282)](ke))!=null?_0x48ef56:St);}['_clearHeartbeatTimer'](){var _0x35fdfc=_0x72c010;this[_0x35fdfc(0x2b8)]!=null&&(clearTimeout(this[_0x35fdfc(0x2b8)]),this[_0x35fdfc(0x2b8)]=null);}[_0x72c010(0x291)](){var _0x50b6be=_0x72c010;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x50b6be(0x386)]),this[_0x50b6be(0x386)]=null);}},exports['CollaborationSessionService']=si([he(0x0,a[_0x72c010(0x21f)](a[_0x72c010(0x15c)])),he(0x1,a[_0x72c010(0x36f)]),he(0x2,a[_0x72c010(0x25f)]),he(0x3,He),he(0x4,a[_0x72c010(0x21f)](ee)),he(0x5,a['Optional'](mt))],exports[_0x72c010(0x3f8)]);const q=a[_0x72c010(0x1ad)](_0x72c010(0x1af));function oi(_0x44e82d){var _0x1831e1=_0x72c010;return _0x1831e1(0x3bd)+_0x44e82d;}var ai=Object['getOwnPropertyDescriptor'],ci=(_0x555f7d,_0x5e5512,_0x3ace1d,_0x31fd20)=>{for(var _0x4d3bdd=_0x31fd20>0x1?void 0x0:_0x31fd20?ai(_0x5e5512,_0x3ace1d):_0x5e5512,_0x1717d5=_0x555f7d['length']-0x1,_0x2cc6d9;_0x1717d5>=0x0;_0x1717d5--)(_0x2cc6d9=_0x555f7d[_0x1717d5])&&(_0x4d3bdd=_0x2cc6d9(_0x4d3bdd)||_0x4d3bdd);return _0x4d3bdd;},De=(_0x5d7b28,_0x982fbc)=>(_0x4da8ff,_0x58a326)=>_0x982fbc(_0x4da8ff,_0x58a326,_0x5d7b28);function hi(_0x341f58){var _0x5a7a59=_0x72c010;const {unitID:_0x28e2fc,mutations:_0x2c7d47}=_0x341f58;return{'unitId':_0x28e2fc,'subUnitId':_0x2c7d47[0x0][_0x5a7a59(0x1de)]['subUnitId']};}exports[_0x72c010(0x1a1)]=class{constructor(_0x4486b2,_0x376475,_0x1e3c32){var _0x52e0b5=_0x72c010;this['_injector']=_0x4486b2,this[_0x52e0b5(0x253)]=_0x376475,this[_0x52e0b5(0x173)]=_0x1e3c32;}[_0x72c010(0x43b)](_0xbf07d4){var _0x5f8315=_0x72c010,_0x1f5f2d,_0x37fc3f,_0x58734f,_0x22ef42;const _0x424732=this['_injector'][_0x5f8315(0x4b7)](X[_0x5f8315(0x1a2)]),{unitId:_0x9c8255,subUnitId:_0x5b7758}=hi(_0xbf07d4),_0x5dc5b2=_0x424732==null?void 0x0:_0x424732['getWorkbookSelections'](_0x9c8255)['getCurrentSelections'](),_0x3e1b32=(_0x37fc3f=(_0x1f5f2d=this[_0x5f8315(0x173)][_0x5f8315(0x303)](_0x9c8255))==null?void 0x0:_0x1f5f2d[_0x5f8315(0x22a)]())==null?void 0x0:_0x37fc3f[_0x5f8315(0x17e)]();if(_0x5dc5b2[_0x5f8315(0x2f9)]===0x0||!_0x9c8255||!_0x5b7758)return;const _0x43e5c1=[{'id':X['SetSelectionsOperation']['id'],'params':{'unitId':_0x9c8255,'subUnitId':_0x3e1b32,'selections':a['Tools'][_0x5f8315(0x16f)](_0x5dc5b2)}}],_0x248d1a=this[_0x5f8315(0x253)][_0x5f8315(0x2f0)](_0xbf07d4,_0x43e5c1);if(!I['isTransformMutationsWithChangesetSuccess'](_0x248d1a))throw _0x248d1a[_0x5f8315(0x2e5)];const _0x16c111=(_0x22ef42=(_0x58734f=_0x248d1a[_0x5f8315(0x4a6)][0x0])==null?void 0x0:_0x58734f[_0x5f8315(0x1de)])==null?void 0x0:_0x22ef42['selections'];if(Array[_0x5f8315(0x163)](_0x16c111)&&_0x16c111[_0x5f8315(0x2f9)]){if(_0x16c111[_0x5f8315(0x2f9)]===_0x43e5c1[0x0][_0x5f8315(0x1de)][_0x5f8315(0x279)]['length']&&_0x16c111[_0x5f8315(0x311)]((_0x38fb41,_0x50b1f7)=>a[_0x5f8315(0x219)][_0x5f8315(0x46c)](_0x38fb41[_0x5f8315(0x42d)],_0x43e5c1[0x0]['params']['selections'][_0x50b1f7][_0x5f8315(0x42d)])))return;this['_injector'][_0x5f8315(0x4b7)](a[_0x5f8315(0x287)])['executeCommand'](X[_0x5f8315(0x49c)]['id'],{'unitId':_0x9c8255,'subUnitId':_0x3e1b32,'selections':_0x16c111});}}},exports['SheetTransformSelectionsService']=ci([De(0x0,a[_0x72c010(0x21f)](a[_0x72c010(0x15c)])),De(0x1,I[_0x72c010(0x170)]),De(0x2,a['IUniverInstanceService'])],exports[_0x72c010(0x1a1)]);const de=a[_0x72c010(0x1ad)]('univer-pro.collaboration-client.single-active-unit-service');var je=(_0xf898e6=>(_0xf898e6[_0xf898e6[_0x72c010(0x225)]=0x0]=_0x72c010(0x225),_0xf898e6[_0xf898e6[_0x72c010(0x38f)]=0x1]=_0x72c010(0x38f),_0xf898e6))(je||{});const _i=new Set([X[_0x72c010(0x1ae)]['id']]);function Ke(_0x13d5dd,_0x58e3df,_0x27a1bc,_0x184d70,_0x549ee2){var _0x301c0e=_0x72c010,_0x3640a8,_0x4bbe01,_0x224049,_0x57578a;const _0x2d3c09=[];for(const _0x1538b3 of _0x13d5dd)if(_i[_0x301c0e(0x257)](_0x1538b3['id'])){if(_0x2d3c09[_0x301c0e(0x2f9)]>0x0)break;_0x2d3c09[_0x301c0e(0x41b)](_0x1538b3);break;}else _0x2d3c09[_0x301c0e(0x41b)](_0x1538b3);const _0x349a8e=(_0x4bbe01=(_0x3640a8=_0x549ee2[_0x301c0e(0x161)]())==null?void 0x0:_0x3640a8[_0x301c0e(0x2c4)])!=null?_0x4bbe01:_0x301c0e(0x3df),_0x4b54bc=(_0x57578a=(_0x224049=_0x549ee2[_0x301c0e(0x161)]())==null?void 0x0:_0x224049['memberID'])!=null?_0x57578a:_0x301c0e(0x3df);return{'changeset':{'unitID':_0x58e3df,'type':I['mapDocumentTypeToUniverType'](_0x27a1bc[_0x301c0e(0x3ad)](_0x58e3df)),'baseRev':_0x184d70['getCurrentRevOfUnit'](_0x58e3df),'revision':0x0,'userID':_0x349a8e,'memberID':_0x4b54bc,'mutations':_0x2d3c09},'pendingMutations':_0x13d5dd[_0x301c0e(0x351)](_0x2d3c09[_0x301c0e(0x2f9)])};}function li(_0x4251fc,_0xc0c766,_0x4ae5dc,_0x42a48e,_0x222a61){var _0x254c10=_0x72c010,_0x3e6d84,_0x44dddd,_0x321730,_0x60e79a;const _0x47906d=[_0x4251fc['reduce']((_0x575967,_0x1cd337)=>{var _0x5e8f94=_0x284f,_0x2246a8;const {id:_0x1255eb}=_0x575967,{id:_0x4ba8c3,type:_0x361229}=_0x1cd337,_0x36d386=(_0x2246a8=_0x575967[_0x5e8f94(0x1de)])!=null?_0x2246a8:{'actions':null},_0x26bf1c=_0x1cd337['params'];if(_0x1255eb&&_0x1255eb!==_0x4ba8c3)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x1255eb+_0x5e8f94(0x1ea)+_0x4ba8c3+'.');return{..._0x575967,'id':_0x4ba8c3,'type':_0x361229,'params':{'unitId':_0x26bf1c[_0x5e8f94(0x2bc)],'textRanges':_0x26bf1c[_0x5e8f94(0x231)],'actions':a['JSONX'][_0x5e8f94(0x447)](_0x36d386[_0x5e8f94(0x1c3)],_0x26bf1c[_0x5e8f94(0x1c3)])}};},{})],_0x10577b=(_0x44dddd=(_0x3e6d84=_0x222a61[_0x254c10(0x161)]())==null?void 0x0:_0x3e6d84[_0x254c10(0x2c4)])!=null?_0x44dddd:_0x254c10(0x3df),_0x32865c=(_0x60e79a=(_0x321730=_0x222a61['getCurrentUser']())==null?void 0x0:_0x321730[_0x254c10(0x276)])!=null?_0x60e79a:_0x254c10(0x3df);return{'changeset':{'unitID':_0xc0c766,'type':I[_0x254c10(0x1ac)](_0x4ae5dc['getUnitType'](_0xc0c766)),'baseRev':_0x42a48e[_0x254c10(0x2b1)](_0xc0c766),'revision':0x0,'userID':_0x10577b,'memberID':_0x32865c,'mutations':_0x47906d},'pendingMutations':[]};}function bt(_0x54195b,_0x27451e){var _0x18dbdd=_0x72c010;const _0x5da84d=new $['ReplaySubject'](0x1);return setTimeout(()=>_0x5da84d[_0x18dbdd(0x1fb)](_0x27451e),_0x54195b),_0x5da84d[_0x18dbdd(0x2df)]()[_0x18dbdd(0x190)]($[_0x18dbdd(0x1d1)](0x1));}const ui={'id':X['EmptyMutation']['id'],'type':a['CommandType'][_0x72c010(0x1e9)],'params':{}};var di=Object[_0x72c010(0x43c)],ae=(_0x5cc173,_0x2789ae,_0x2c1f7e,_0x3f1a7e)=>{var _0x5b4746=_0x72c010;for(var _0x42408a=_0x3f1a7e>0x1?void 0x0:_0x3f1a7e?di(_0x2789ae,_0x2c1f7e):_0x2789ae,_0x500fbb=_0x5cc173[_0x5b4746(0x2f9)]-0x1,_0xcc88a8;_0x500fbb>=0x0;_0x500fbb--)(_0xcc88a8=_0x5cc173[_0x500fbb])&&(_0x42408a=_0xcc88a8(_0x42408a)||_0x42408a);return _0x42408a;},w=(_0x5121b4,_0x46a001)=>(_0x498b67,_0x4c65bc)=>_0x46a001(_0x498b67,_0x4c65bc,_0x5121b4),Be=(_0x48fc21=>(_0x48fc21[_0x72c010(0x43f)]='not_collab',_0x48fc21[_0x72c010(0x2fa)]=_0x72c010(0x27d),_0x48fc21[_0x72c010(0x338)]=_0x72c010(0x242),_0x48fc21['AWAITING']='awaiting',_0x48fc21['AWAITING_WITH_PENDING']=_0x72c010(0x295),_0x48fc21[_0x72c010(0x197)]='fetch_missing',_0x48fc21[_0x72c010(0x15b)]='conflict',_0x48fc21['OFFLINE']=_0x72c010(0x302),_0x48fc21))(Be||{});const Rt=0xea60;class ce{constructor(_0x11be54,_0x2ae913,_0x582a0f,_0x4e2213,_0x391f34,_0x559c22,_0x16dd2c,_0x393a3d,_0x3ca356){var _0x64b8f4=_0x72c010;A(this,_0x64b8f4(0x21b),null),A(this,'_pendingMutations',[]),(this[_0x64b8f4(0x4af)]=_0x11be54,this[_0x64b8f4(0x37b)]=_0x2ae913,this[_0x64b8f4(0x235)]=_0x391f34,this['_commandService']=_0x559c22,this[_0x64b8f4(0x4b0)]=_0x16dd2c,this[_0x64b8f4(0x2c5)]=_0x393a3d,this[_0x64b8f4(0x329)]=_0x3ca356,this[_0x64b8f4(0x21b)]=_0x582a0f,this[_0x64b8f4(0x367)]=_0x4e2213);}[_0x72c010(0x30b)](_0x2ee254){var _0x4de8ee=_0x72c010;const _0xe9e4fc=this[_0x4de8ee(0x2c5)][_0x4de8ee(0x2b1)](this['unitID']);return _0x2ee254[_0x4de8ee(0x147)]>_0xe9e4fc+0x1?(this[_0x4de8ee(0x235)][_0x4de8ee(0x275)]({'from':_0xe9e4fc,'to':_0x2ee254[_0x4de8ee(0x147)]-0x1}),!0x0):!0x1;}[_0x72c010(0x38d)](_0x1403d9){var _0x477793=_0x72c010;this['_undoRedoService'][_0x477793(0x2db)](this[_0x477793(0x4af)],_0x1403d9);}[_0x72c010(0x27a)](_0x2f0950){var _0x5dcd6b=_0x72c010,_0x253767,_0x15001d;(_0x15001d=(_0x253767=this[_0x5dcd6b(0x235)])[_0x5dcd6b(0x296)])==null||_0x15001d[_0x5dcd6b(0x478)](_0x253767,_0x2f0950);}[_0x72c010(0x39e)](_0x3c1486){var _0x237cd8=_0x72c010,_0x1122f8,_0x3d9336;return(_0x3d9336=(_0x1122f8=this['_handler'])[_0x237cd8(0x40b)])==null?void 0x0:_0x3d9336[_0x237cd8(0x478)](_0x1122f8,_0x3c1486);}[_0x72c010(0x3b8)](_0x4f664c){var _0x167ac4=_0x72c010,_0x526729,_0x5d2a30;return(_0x5d2a30=(_0x526729=this[_0x167ac4(0x235)])['onTransformState'])==null?void 0x0:_0x5d2a30['call'](_0x526729,_0x4f664c);}[_0x72c010(0x2ca)](_0x11f9ee){var _0xd89e13=_0x72c010,_0x567956,_0x4e9ac2,_0x50fbcb;return(_0x50fbcb=(_0x4e9ac2=(_0x567956=this['_handler'])[_0xd89e13(0x17d)])==null?void 0x0:_0x4e9ac2[_0xd89e13(0x478)](_0x567956,_0x11f9ee))!=null?_0x50fbcb:_0x11f9ee;}[_0x72c010(0x40a)](_0x3f2a2e){var _0x4bd888=_0x72c010,_0x207db6,_0x4f01b0,_0x49f1bb;return(_0x49f1bb=(_0x4f01b0=(_0x207db6=this[_0x4bd888(0x235)])[_0x4bd888(0x399)])==null?void 0x0:_0x4f01b0['call'](_0x207db6,_0x3f2a2e))!=null?_0x49f1bb:_0x3f2a2e;}[_0x72c010(0x380)](_0x5c39f2){var _0x2a9a48=_0x72c010,_0x539a2d,_0x27633c;if(this[_0x2a9a48(0x37b)]===J[_0x2a9a48(0x356)]){const {unitID:_0x23bd7d,mutations:_0x3d2b15,memberID:_0x5e04a9}=_0x5c39f2,_0xfd37ad=_0x3d2b15[0x0][_0x2a9a48(0x1de)][_0x2a9a48(0x231)];Array[_0x2a9a48(0x163)](_0xfd37ad)&&_0xfd37ad['length']>0x0&&((_0x27633c=(_0x539a2d=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x27633c[_0x2a9a48(0x478)](_0x539a2d,{'unitID':_0x23bd7d,'memberID':_0x5e04a9,'textRanges':_0xfd37ad}));}}['_updateLocalCache'](){var _0x385ab7=_0x72c010,_0x2c9649;(_0x2c9649=this[_0x385ab7(0x329)])==null||_0x2c9649[_0x385ab7(0x3fe)](this['unitID'],this[_0x385ab7(0x37b)],this[_0x385ab7(0x21b)],this[_0x385ab7(0x367)]);}[_0x72c010(0x381)](){var _0x59ed2f=_0x72c010;return this['_revisionService'][_0x59ed2f(0x2b1)](this[_0x59ed2f(0x4af)]);}['_incrementRevisionNumber'](){var _0x2afa8f=_0x72c010;this[_0x2afa8f(0x2c5)][_0x2afa8f(0x430)](this['unitID']);}[_0x72c010(0x41c)](_0x18ab3f){var _0x3313ea=_0x72c010,_0x2a1e78;let _0x53a0cb=this[_0x3313ea(0x2ca)](_0x18ab3f);_0x53a0cb=this[_0x3313ea(0x40a)](_0x53a0cb);const _0x19f2ec=a['sequenceExecute'](_0x53a0cb[_0x3313ea(0x2e2)],this['_commandService'],{'fromCollab':!0x0});if(!_0x19f2ec[_0x3313ea(0x243)])throw _0x19f2ec[_0x3313ea(0x2e5)]instanceof Error?_0x19f2ec[_0x3313ea(0x2e5)]:new Error((_0x2a1e78=_0x19f2ec['error'])!=null?_0x2a1e78:_0x3313ea(0x444));this[_0x3313ea(0x39e)](_0x53a0cb),this[_0x3313ea(0x3b8)](_0x53a0cb),this['_transformUndoredo'](_0x18ab3f),this[_0x3313ea(0x27a)](_0x53a0cb),this[_0x3313ea(0x380)](_0x53a0cb),this[_0x3313ea(0x36b)]();}}exports[_0x72c010(0x3a1)]=class extends ce{constructor(_0x3b2ec4,_0x3ec2fb,_0x4ba124,_0x2811da,_0x43b7a3,_0x484b8d,_0x37f3de,_0x5eea5d,_0x23aa05,_0x3c488b){var _0x545ba2=_0x72c010;super(_0x3b2ec4,_0x3ec2fb,null,[],_0x4ba124,_0x37f3de,_0x484b8d,_0x2811da,_0x3c488b),A(this,_0x545ba2(0x383),_0x545ba2(0x27d)),(this[_0x545ba2(0x39f)]=_0x43b7a3,this['_logService']=_0x5eea5d,this['_transformService']=_0x23aa05,this['localCacheService']=_0x3c488b);}[_0x72c010(0x2e4)](_0x2d4ec1){var _0x5a1877=_0x72c010;const _0x31d34a=this[_0x5a1877(0x39f)][_0x5a1877(0x357)](exports['PendingState'],this[_0x5a1877(0x4af)],this[_0x5a1877(0x37b)],[_0x2d4ec1],this['_handler']);return _0x31d34a[_0x5a1877(0x259)](),_0x31d34a[_0x5a1877(0x341)](),_0x31d34a;}[_0x72c010(0x1e7)](_0x5f5c41){var _0x4c269b=_0x72c010;if(this[_0x4c269b(0x30b)](_0x5f5c41))return this[_0x4c269b(0x39f)][_0x4c269b(0x357)](exports[_0x4c269b(0x1b3)],this['unitID'],this['type'],null,[],null,[_0x5f5c41],this['_handler']);try{const _0x1ae410=this[_0x4c269b(0x253)][_0x4c269b(0x2f0)](_0x5f5c41,[ui]);if(I[_0x4c269b(0x43a)](_0x1ae410)){const {c1Prime:_0x2e2939}=_0x1ae410;return this['_executeRemoteChangeset'](_0x2e2939),this;}throw _0x1ae410['error'];}catch(_0x40389c){return this[_0x4c269b(0x452)][_0x4c269b(0x2e5)](_0x40389c),this[_0x4c269b(0x1b7)](!0x1);}}[_0x72c010(0x1b7)](_0x1525aa){var _0x3cdd50=_0x72c010;return this['_injector']['createInstance'](exports['ConflictState'],this[_0x3cdd50(0x4af)],this[_0x3cdd50(0x37b)],null,[],this[_0x3cdd50(0x235)],_0x1525aa);}['onRemoteAck'](){var _0xd0e854=_0x72c010;throw new Error(_0xd0e854(0x2bb));}[_0x72c010(0x3f2)](){var _0x1e5a3d=_0x72c010;throw new Error(_0x1e5a3d(0x22d));}['onRemoteRetry'](){return this;}[_0x72c010(0x2d6)](){var _0x22503d=_0x72c010;return this['_injector'][_0x22503d(0x357)](exports[_0x22503d(0x1dc)],this[_0x22503d(0x4af)],this[_0x22503d(0x37b)],null,[],this[_0x22503d(0x235)]);}[_0x72c010(0x180)](){return this;}[_0x72c010(0x20c)](){var _0x3737b6=_0x72c010;throw new Error(_0x3737b6(0x28b));}[_0x72c010(0x2ac)](){var _0x585062=_0x72c010;const _0x2b84e2=this[_0x585062(0x2c5)][_0x585062(0x2b1)](this['unitID']);return this[_0x585062(0x235)]['onMissingChangesets']({'from':_0x2b84e2,'to':0x0}),this[_0x585062(0x39f)]['createInstance'](exports['FetchingMissState'],this[_0x585062(0x4af)],this[_0x585062(0x37b)],null,[],null,[],this[_0x585062(0x235)]);}},exports['SyncedState']=ae([w(0x3,a[_0x72c010(0x21f)](I[_0x72c010(0x308)])),w(0x4,a[_0x72c010(0x21f)](a[_0x72c010(0x15c)])),w(0x5,a['IUndoRedoService']),w(0x6,a[_0x72c010(0x287)]),w(0x7,a[_0x72c010(0x36f)]),w(0x8,I[_0x72c010(0x170)]),w(0x9,a[_0x72c010(0x3a8)](q))],exports[_0x72c010(0x3a1)]),exports[_0x72c010(0x3d8)]=class extends ce{constructor(_0x1bca5a,_0x1de2db,_0x1a6338,_0x35593b,_0x571ca3,_0x22e7b7,_0x5e0bb,_0x4530ab,_0x1196db,_0x3edc06,_0x29e961,_0x1f73d5,_0xce479b,_0x1f5c6d){var _0x46b678=_0x72c010;super(_0x1bca5a,_0x1de2db,null,_0x1a6338,_0x35593b,_0x1196db,_0xce479b,_0x22e7b7,_0x1f5c6d),A(this,_0x46b678(0x383),_0x46b678(0x242)),A(this,_0x46b678(0x152),null),A(this,_0x46b678(0x202),null),(this['_injector']=_0x571ca3,this['_memberService']=_0x5e0bb,this[_0x46b678(0x452)]=_0x4530ab,this[_0x46b678(0x23d)]=_0x3edc06,this[_0x46b678(0x253)]=_0x29e961,this[_0x46b678(0x286)]=_0x1f73d5);}[_0x72c010(0x2e4)](_0x4a803c){var _0x2f2cfc=_0x72c010;return this[_0x2f2cfc(0x367)][_0x2f2cfc(0x41b)](_0x4a803c),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x2e53e6){var _0x2077a4=_0x72c010;if(this['_checkMissing'](_0x2e53e6))return this[_0x2077a4(0x36c)](),this[_0x2077a4(0x39f)][_0x2077a4(0x357)](exports[_0x2077a4(0x1b3)],this['unitID'],this['type'],null,this['_pendingMutations'],null,[_0x2e53e6],this['_handler']);try{const _0x53e3fa=this[_0x2077a4(0x253)]['transformMutationsWithChangeset'](_0x2e53e6,this[_0x2077a4(0x367)]);if(I[_0x2077a4(0x43a)](_0x53e3fa)){const {c1Prime:_0x6c0a1,m2Prime:_0x174bdc}=_0x53e3fa;this[_0x2077a4(0x41c)](_0x6c0a1);const _0x5ece28=this['_injector'][_0x2077a4(0x357)](exports['PendingState'],this[_0x2077a4(0x4af)],this['type'],_0x174bdc,this[_0x2077a4(0x235)]);this[_0x2077a4(0x36c)]();const _0x552bf6=new Date()[_0x2077a4(0x19e)](),_0x4d3c43=this[_0x2077a4(0x152)]?Math[_0x2077a4(0x25c)](this[_0x2077a4(0x152)]-_0x552bf6,0x0):this[_0x2077a4(0x156)]();return _0x5ece28[_0x2077a4(0x259)](_0x4d3c43),_0x5ece28;}throw _0x53e3fa[_0x2077a4(0x2e5)];}catch(_0x357a8a){return this['_logService']['error'](_0x357a8a),this[_0x2077a4(0x1b7)](!0x1);}}[_0x72c010(0x2b5)](){var _0xa12924=_0x72c010;throw new Error(_0xa12924(0x232));}[_0x72c010(0x3f2)](){var _0x56a0e5=_0x72c010;throw new Error(_0x56a0e5(0x458));}['onRemoteRetry'](){return this;}[_0x72c010(0x2d6)](){var _0x1aec94=_0x72c010;return this[_0x1aec94(0x36c)](),this['_injector'][_0x1aec94(0x357)](exports[_0x1aec94(0x1dc)],this[_0x1aec94(0x4af)],this[_0x1aec94(0x37b)],null,this[_0x1aec94(0x367)],this[_0x1aec94(0x235)]);}[_0x72c010(0x180)](){return this;}[_0x72c010(0x259)](_0x244b01){var _0x2c2937=_0x72c010;const _0x45b713=_0x244b01!=null?_0x244b01:this[_0x2c2937(0x156)]();this['_scheduleCompleteTimestamp']=new Date()[_0x2c2937(0x19e)]()+_0x45b713,this['_sendingTimer']=setTimeout(()=>{var _0x5d4856=_0x2c2937;this[_0x5d4856(0x36c)]();let _0x3678a1=null;switch(this[_0x5d4856(0x37b)]){case J['UNIVER_SHEET']:{_0x3678a1=Ke(this['_pendingMutations'],this[_0x5d4856(0x4af)],this['_univerInstanceService'],this[_0x5d4856(0x2c5)],this[_0x5d4856(0x1be)]);break;}case J[_0x5d4856(0x356)]:{this['_pendingMutations']['every'](_0x267ddf=>_0x267ddf['id']===ht[_0x5d4856(0x35b)]['id'])?_0x3678a1=li(this['_pendingMutations'],this[_0x5d4856(0x4af)],this[_0x5d4856(0x286)],this['_revisionService'],this[_0x5d4856(0x1be)]):_0x3678a1=Ke(this[_0x5d4856(0x367)],this['unitID'],this['_univerInstanceService'],this[_0x5d4856(0x2c5)],this['_memberService']);break;}default:throw new Error(_0x5d4856(0x3d2)+this[_0x5d4856(0x37b)]+_0x5d4856(0x448));}const {changeset:_0x13edb2,pendingMutations:_0x5b2c69}=_0x3678a1;this[_0x5d4856(0x235)]['onSendChangeset'](_0x13edb2);const _0x5f2fa4=_0x5b2c69[_0x5d4856(0x2f9)]?this[_0x5d4856(0x39f)][_0x5d4856(0x357)](exports[_0x5d4856(0x227)],this[_0x5d4856(0x4af)],this[_0x5d4856(0x37b)],_0x13edb2,_0x5b2c69,this[_0x5d4856(0x235)],void 0x0):this['_injector'][_0x5d4856(0x357)](exports[_0x5d4856(0x37d)],this[_0x5d4856(0x4af)],this[_0x5d4856(0x37b)],_0x13edb2,this[_0x5d4856(0x235)]);_0x5f2fa4[_0x5d4856(0x341)](),this[_0x5d4856(0x235)][_0x5d4856(0x1cf)](this,_0x5f2fa4);},_0x45b713);}[_0x72c010(0x156)](){var _0x5b8f38=_0x72c010,_0x464e28;const _0x233490=this[_0x5b8f38(0x23d)][_0x5b8f38(0x282)](K);return(_0x464e28=_0x233490==null?void 0x0:_0x233490['sendChangesetTimeout'])!=null?_0x464e28:xt;}[_0x72c010(0x20c)](){var _0x3e4941=_0x72c010;throw new Error(_0x3e4941(0x2d9));}[_0x72c010(0x36c)](){var _0x3c545a=_0x72c010;this[_0x3c545a(0x202)]!=null&&(clearTimeout(this[_0x3c545a(0x202)]),this[_0x3c545a(0x202)]=null);}['_onConflict'](_0x3726d1){var _0x4c0dcf=_0x72c010;return this[_0x4c0dcf(0x36c)](),this[_0x4c0dcf(0x39f)]['createInstance'](exports['ConflictState'],this[_0x4c0dcf(0x4af)],this['type'],null,this[_0x4c0dcf(0x367)],this[_0x4c0dcf(0x235)],_0x3726d1);}},exports[_0x72c010(0x3d8)]=ae([w(0x4,a['Inject'](a[_0x72c010(0x15c)])),w(0x5,a['Inject'](I[_0x72c010(0x308)])),w(0x6,a[_0x72c010(0x21f)](exports[_0x72c010(0x29b)])),w(0x7,a[_0x72c010(0x36f)]),w(0x8,a[_0x72c010(0x287)]),w(0x9,a['IConfigService']),w(0xa,I[_0x72c010(0x170)]),w(0xb,a[_0x72c010(0x37f)]),w(0xc,a[_0x72c010(0x34c)]),w(0xd,a[_0x72c010(0x3a8)](q))],exports['PendingState']),exports[_0x72c010(0x37d)]=class extends ce{constructor(_0x2c82c1,_0x4c0f6f,_0xbe822,_0x2ba9a8,_0x2b48f7,_0x1e00a9,_0x36dd95,_0x8ace23,_0x4fdd48,_0x3387f,_0x3dba9b){var _0x1c5467=_0x72c010;super(_0x2c82c1,_0x4c0f6f,_0xbe822,[],_0x2ba9a8,_0x36dd95,_0x3387f,_0x1e00a9,_0x3dba9b),A(this,_0x1c5467(0x383),'awaiting'),A(this,_0x1c5467(0x48d),0x0),A(this,_0x1c5467(0x175)),A(this,_0x1c5467(0x3f9)),(this[_0x1c5467(0x39f)]=_0x2b48f7,this[_0x1c5467(0x452)]=_0x8ace23,this[_0x1c5467(0x253)]=_0x4fdd48);}[_0x72c010(0x2e4)](_0xc715d6){var _0x2c0ceb=_0x72c010;this[_0x2c0ceb(0x36c)]();const _0x1d2cbb=this[_0x2c0ceb(0x39f)][_0x2c0ceb(0x357)](exports[_0x2c0ceb(0x227)],this[_0x2c0ceb(0x4af)],this['type'],this['_awaitingChangeset'],[_0xc715d6],this[_0x2c0ceb(0x235)],this[_0x2c0ceb(0x175)]);return _0x1d2cbb[_0x2c0ceb(0x341)](),_0x1d2cbb;}[_0x72c010(0x1e7)](_0x38a52a){var _0x40d267=_0x72c010;if(this['_checkMissing'](_0x38a52a))return this[_0x40d267(0x36c)](),this[_0x40d267(0x39f)][_0x40d267(0x357)](exports[_0x40d267(0x1b3)],this['unitID'],this[_0x40d267(0x37b)],this[_0x40d267(0x21b)],[],null,[_0x38a52a],this[_0x40d267(0x235)]);try{const _0xa5319=this[_0x40d267(0x253)]['transformChangesets']([_0x38a52a],[this[_0x40d267(0x21b)]],!0x1);if(I[_0x40d267(0x216)](_0xa5319)){const {c1Prime:_0x376de3,c2Prime:_0x584250}=_0xa5319;this[_0x40d267(0x41c)](_0x376de3[0x0]),_0x584250[0x0][_0x40d267(0x1c2)]=this['_getCurrentRevision'](),this[_0x40d267(0x36c)]();const _0x27b761=this[_0x40d267(0x39f)]['createInstance'](exports['AwaitingState'],this[_0x40d267(0x4af)],this[_0x40d267(0x37b)],_0x584250[0x0],this[_0x40d267(0x235)]);return _0x27b761[_0x40d267(0x341)](),_0x27b761;}return this[_0x40d267(0x1b7)](!0x1);}catch(_0x3272ab){return this[_0x40d267(0x452)][_0x40d267(0x2e5)](_0x3272ab),this[_0x40d267(0x1b7)](!0x1);}}[_0x72c010(0x2b5)](_0x2e6e30){var _0x52193a=_0x72c010;this[_0x52193a(0x36c)]();const _0x5ba53b=this[_0x52193a(0x2c5)][_0x52193a(0x2b1)](this[_0x52193a(0x4af)]);if(_0x2e6e30[_0x52193a(0x147)]<_0x5ba53b-0x1)return this;if(this[_0x52193a(0x30b)](_0x2e6e30))return this[_0x52193a(0x39f)][_0x52193a(0x357)](exports[_0x52193a(0x1b3)],this[_0x52193a(0x4af)],this['type'],null,[],this[_0x52193a(0x21b)],[],this['_handler']);this[_0x52193a(0x36b)]();const _0x4d4c1a=this['_injector'][_0x52193a(0x357)](exports[_0x52193a(0x3a1)],this[_0x52193a(0x4af)],this[_0x52193a(0x37b)],this[_0x52193a(0x235)]);return _0x4d4c1a[_0x52193a(0x341)](),_0x4d4c1a;}['onRemoteRej'](_0x3f73e4){var _0x4b6130=_0x72c010;return this[_0x4b6130(0x1b7)](!!(_0x3f73e4!=null&&_0x3f73e4[_0x4b6130(0x277)]));}[_0x72c010(0x4a4)](_0x3dd2ba){var _0x4c031d=_0x72c010;return this[_0x4c031d(0x48d)]>Rt?this['toggleOffline']():(this['_resendTimer']=bt(this[_0x4c031d(0x48d)],{'timeout':this[_0x4c031d(0x48d)],'reqId':_0x3dd2ba['reqId']}),this[_0x4c031d(0x3f9)]=this[_0x4c031d(0x175)][_0x4c031d(0x184)](({reqId:_0x24f00f,timeout:_0x1e6c71})=>{var _0x2c7875=_0x4c031d;this[_0x2c7875(0x2dd)](_0x24f00f,_0x1e6c71);}),this);}[_0x72c010(0x2d6)](){var _0xb1398a=_0x72c010;return this[_0xb1398a(0x36c)](),this[_0xb1398a(0x39f)][_0xb1398a(0x357)](exports[_0xb1398a(0x1dc)],this[_0xb1398a(0x4af)],this[_0xb1398a(0x37b)],this['_awaitingChangeset'],[],this[_0xb1398a(0x235)]);}[_0x72c010(0x180)](){return this;}[_0x72c010(0x20c)](){var _0x15b87d=_0x72c010;this[_0x15b87d(0x235)][_0x15b87d(0x18d)](this[_0x15b87d(0x21b)]);}[_0x72c010(0x1b7)](_0x5d4eda){var _0x2b1050=_0x72c010;return this[_0x2b1050(0x36c)](),this[_0x2b1050(0x39f)][_0x2b1050(0x357)](exports['ConflictState'],this[_0x2b1050(0x4af)],this['type'],this[_0x2b1050(0x21b)],[],this[_0x2b1050(0x235)],_0x5d4eda);}[_0x72c010(0x2dd)](_0x435acb,_0xe4dbb6){var _0x469442=_0x72c010,_0x5a60cb;_0x435acb===((_0x5a60cb=this[_0x469442(0x21b)])==null?void 0x0:_0x5a60cb['reqId'])&&(this[_0x469442(0x20c)](),this[_0x469442(0x48d)]=_0xe4dbb6===0x0?0x3e8:_0xe4dbb6*0x2);}[_0x72c010(0x36c)](){var _0x2434fe=_0x72c010,_0xa00f03;(_0xa00f03=this[_0x2434fe(0x3f9)])==null||_0xa00f03[_0x2434fe(0x23b)](),this['_resendTimeout']=0x0;}},exports[_0x72c010(0x37d)]=ae([w(0x4,a[_0x72c010(0x21f)](a['Injector'])),w(0x5,a['Inject'](I['RevisionService'])),w(0x6,a['ICommandService']),w(0x7,a['ILogService']),w(0x8,I[_0x72c010(0x170)]),w(0x9,a[_0x72c010(0x34c)]),w(0xa,a[_0x72c010(0x3a8)](q))],exports[_0x72c010(0x37d)]),exports['AwaitingWithPendingState']=class extends ce{constructor(_0x4bb14c,_0x54429b,_0x5b8163,_0x39863d,_0x1f6fae,_0x44e230,_0x3bc18e,_0x310436,_0x2ca576,_0x1cab2f,_0x51c4f8,_0x8e5b3f,_0x5d6621){var _0x33ed22=_0x72c010;super(_0x4bb14c,_0x54429b,_0x5b8163,_0x39863d,_0x1f6fae,_0x2ca576,_0x8e5b3f,_0x310436,_0x5d6621),A(this,_0x33ed22(0x383),_0x33ed22(0x295)),A(this,_0x33ed22(0x48d),0x0),A(this,_0x33ed22(0x175)),A(this,'_sender'),(this['_injector']=_0x3bc18e,this[_0x33ed22(0x452)]=_0x1cab2f,this['_transformService']=_0x51c4f8,this[_0x33ed22(0x4a0)]=_0x5d6621,_0x44e230&&(this[_0x33ed22(0x175)]=_0x44e230,this[_0x33ed22(0x3f9)]=this[_0x33ed22(0x175)][_0x33ed22(0x184)](({reqId:_0x3c31f0,timeout:_0x4ac4bd})=>{var _0x2db7e1=_0x33ed22;this[_0x2db7e1(0x2dd)](_0x3c31f0,_0x4ac4bd);})));}[_0x72c010(0x2e4)](_0x1a46ef){return this['_pendingMutations']['push'](_0x1a46ef),this;}[_0x72c010(0x1e7)](_0x36235b){var _0x859bda=_0x72c010;if(this[_0x859bda(0x30b)](_0x36235b))return this[_0x859bda(0x36c)](),this[_0x859bda(0x39f)][_0x859bda(0x357)](exports[_0x859bda(0x1b3)],this[_0x859bda(0x4af)],this[_0x859bda(0x37b)],this[_0x859bda(0x21b)],this[_0x859bda(0x367)],null,[_0x36235b],this['_handler']);try{const _0x196010=this['_transformService']['transformChangesets']([_0x36235b],[this[_0x859bda(0x21b)]],!0x1);if(I[_0x859bda(0x216)](_0x196010)){const {c1Prime:_0xa2c82d,c2Prime:_0x27a481}=_0x196010,_0x7bec7c=this[_0x859bda(0x253)]['transformMutationsWithChangeset'](_0xa2c82d[0x0],this[_0x859bda(0x367)]);if(I[_0x859bda(0x43a)](_0x7bec7c)){const {c1Prime:_0x4af09b,m2Prime:_0x3b7d9e}=_0x7bec7c;return this[_0x859bda(0x41c)](_0x4af09b),_0x27a481[0x0][_0x859bda(0x1c2)]=this['_getCurrentRevision'](),this[_0x859bda(0x36c)](),this['_injector'][_0x859bda(0x357)](exports[_0x859bda(0x227)],this['unitID'],this[_0x859bda(0x37b)],_0x27a481[0x0],_0x3b7d9e,this['_handler'],void 0x0);}throw _0x7bec7c['error'];}throw _0x196010[_0x859bda(0x2e5)];}catch(_0x7ac6da){return this[_0x859bda(0x452)][_0x859bda(0x2e5)](_0x7ac6da),this[_0x859bda(0x1b7)](!0x1);}}[_0x72c010(0x2b5)](_0x5a7304){var _0xef63b1=_0x72c010;if(this[_0xef63b1(0x36c)](),this[_0xef63b1(0x30b)](_0x5a7304))return this[_0xef63b1(0x39f)][_0xef63b1(0x357)](exports[_0xef63b1(0x1b3)],this[_0xef63b1(0x4af)],this[_0xef63b1(0x37b)],null,this[_0xef63b1(0x367)],this[_0xef63b1(0x21b)],[],this[_0xef63b1(0x235)]);this[_0xef63b1(0x36b)]();const _0x46c62b=this[_0xef63b1(0x39f)][_0xef63b1(0x357)](exports[_0xef63b1(0x3d8)],this['unitID'],this[_0xef63b1(0x37b)],this['_pendingMutations'],this[_0xef63b1(0x235)]);return _0x46c62b[_0xef63b1(0x259)](),_0x46c62b[_0xef63b1(0x341)](),_0x46c62b;}[_0x72c010(0x3f2)](_0x3c57be){var _0x527ff2=_0x72c010;return this[_0x527ff2(0x1b7)](!!(_0x3c57be!=null&&_0x3c57be[_0x527ff2(0x277)]));}[_0x72c010(0x4a4)](_0x23bbae){var _0x51a526=_0x72c010;return this[_0x51a526(0x48d)]>Rt?this[_0x51a526(0x2d6)]():(this[_0x51a526(0x175)]=bt(this[_0x51a526(0x48d)],{'timeout':this[_0x51a526(0x48d)],'reqId':_0x23bbae[_0x51a526(0x1d5)]}),this[_0x51a526(0x3f9)]=this[_0x51a526(0x175)]['subscribe'](({reqId:_0x7a16ff,timeout:_0x29537f})=>{var _0x446c26=_0x51a526;this[_0x446c26(0x2dd)](_0x7a16ff,_0x29537f);}),this);}[_0x72c010(0x2d6)](){var _0x190496=_0x72c010;return this[_0x190496(0x36c)](),this['_injector'][_0x190496(0x357)](exports[_0x190496(0x1dc)],this[_0x190496(0x4af)],this[_0x190496(0x37b)],this[_0x190496(0x21b)],this[_0x190496(0x367)],this[_0x190496(0x235)]);}[_0x72c010(0x180)](){return this;}[_0x72c010(0x20c)](){var _0x246d9c=_0x72c010;this[_0x246d9c(0x235)][_0x246d9c(0x18d)](this[_0x246d9c(0x21b)]);}['_onConflict'](_0x31c8cf){var _0xb51b75=_0x72c010;return this['_clearScheduledTask'](),this['_injector'][_0xb51b75(0x357)](exports[_0xb51b75(0x48b)],this[_0xb51b75(0x4af)],this['type'],null,this[_0xb51b75(0x367)],this['_handler'],_0x31c8cf);}[_0x72c010(0x2dd)](_0x44fd7b,_0x53443f){var _0x1a505d=_0x72c010,_0x55aace;_0x44fd7b===((_0x55aace=this['_awaitingChangeset'])==null?void 0x0:_0x55aace[_0x1a505d(0x1d5)])&&(this[_0x1a505d(0x20c)](),this[_0x1a505d(0x48d)]=_0x53443f===0x0?0x3e8:_0x53443f*0x2);}[_0x72c010(0x36c)](){var _0x1d46f8=_0x72c010,_0x390f6e;(_0x390f6e=this['_sender'])==null||_0x390f6e[_0x1d46f8(0x23b)](),this[_0x1d46f8(0x48d)]=0x0;}},exports[_0x72c010(0x227)]=ae([w(0x6,a[_0x72c010(0x21f)](a[_0x72c010(0x15c)])),w(0x7,a[_0x72c010(0x21f)](I[_0x72c010(0x308)])),w(0x8,a[_0x72c010(0x287)]),w(0x9,a[_0x72c010(0x36f)]),w(0xa,I[_0x72c010(0x170)]),w(0xb,a['IUndoRedoService']),w(0xc,a[_0x72c010(0x3a8)](q))],exports['AwaitingWithPendingState']),exports[_0x72c010(0x48b)]=class extends ce{constructor(_0x4f3567,_0x28bb2a,_0x38cca3,_0x52e30f,_0x4ea0b1,_0x2d8c49=!0x1,_0x5234b5,_0x4fb0cd,_0x9b3b71,_0x37729d,_0x38f21e,_0x1a23cd,_0x46ede2){var _0x19f547=_0x72c010;super(_0x4f3567,_0x28bb2a,_0x38cca3,_0x52e30f,_0x4ea0b1,_0x4fb0cd,_0x9b3b71,_0x37729d,_0x46ede2),A(this,_0x19f547(0x383),'conflict'),(this[_0x19f547(0x2de)]=_0x2d8c49,this['_permissionService']=_0x5234b5,this[_0x19f547(0x1f2)]=_0x38f21e,this['_collaborationUIEventService']=_0x1a23cd,this['localCacheService']=_0x46ede2,this[_0x19f547(0x403)](),this[_0x19f547(0x2a2)](),this[_0x19f547(0x2a1)]());}[_0x72c010(0x2e4)](){return this;}[_0x72c010(0x1e7)](){return this;}[_0x72c010(0x2b5)](){return this;}[_0x72c010(0x3f2)](){return this;}[_0x72c010(0x4a4)](){return this;}[_0x72c010(0x2d6)](){return this;}['toggleOnline'](){return this;}[_0x72c010(0x20c)](){var _0xe44525=_0x72c010;throw new Error(_0xe44525(0x1c8));}[_0x72c010(0x2a2)](){var _0x324f10=_0x72c010,_0x35cdbb;(_0x35cdbb=this[_0x324f10(0x329)])==null||_0x35cdbb[_0x324f10(0x3fe)](this[_0x324f10(0x4af)],this['type'],null,[]);}[_0x72c010(0x403)](){var _0x4373a7=_0x72c010;this[_0x4373a7(0x2de)]?this[_0x4373a7(0x2b9)]['emitEvent']({'id':Z[_0x4373a7(0x26d)]}):this[_0x4373a7(0x2b9)]['emitEvent']({'id':Z[_0x4373a7(0x15b)]});}[_0x72c010(0x2a1)](){var _0x25be52=_0x72c010;this[_0x25be52(0x328)]['updatePermissionPoint'](new X[(_0x25be52(0x1eb))](this['unitID'])['id'],!0x1);}},exports[_0x72c010(0x48b)]=ae([w(0x6,a[_0x72c010(0x21f)](a[_0x72c010(0x3c4)])),w(0x7,a['ICommandService']),w(0x8,a[_0x72c010(0x34c)]),w(0x9,a['Inject'](I[_0x72c010(0x308)])),w(0xa,a[_0x72c010(0x21f)](a['LocaleService'])),w(0xb,a[_0x72c010(0x21f)](ee)),w(0xc,a[_0x72c010(0x3a8)](q))],exports[_0x72c010(0x48b)]),exports[_0x72c010(0x1dc)]=class extends ce{constructor(_0x27e84b,_0x50df19,_0xac9bf6,_0x29bb77,_0x5723fd,_0x590282,_0x14ef60,_0x1c0051,_0x14e2aa,_0x34443f){var _0x2eeece=_0x72c010;super(_0x27e84b,_0x50df19,_0xac9bf6,_0x29bb77,_0x5723fd,_0x1c0051,_0x14e2aa,_0x14ef60,_0x34443f),A(this,_0x2eeece(0x383),'offline'),this['_injector']=_0x590282;}[_0x72c010(0x2e4)](_0x350e10){var _0x5bb6e4=_0x72c010;return this[_0x5bb6e4(0x367)]['push'](_0x350e10),this[_0x5bb6e4(0x341)](),this;}[_0x72c010(0x1e7)](_0x5c6721){var _0x117e06=_0x72c010;throw new Error(_0x117e06(0x493));}['onRemoteAck'](){var _0x434942=_0x72c010;throw new Error(_0x434942(0x1d8));}[_0x72c010(0x3f2)](){var _0x2cb5ed=_0x72c010;throw new Error(_0x2cb5ed(0x21d));}[_0x72c010(0x4a4)](){return this;}[_0x72c010(0x2d6)](){return this;}[_0x72c010(0x180)](){var _0x30ed8b=_0x72c010;const {_injector:_0x5d250b,_pendingMutations:_0x229bad,_awaitingChangeset:_0x2362b,unitID:_0x5035de,_handler:_0x338fa1,type:_0x1b782d}=this,_0x40bd60=Ot(_0x5d250b,_0x5035de,_0x1b782d,_0x2362b,_0x229bad,_0x338fa1);return _0x40bd60 instanceof exports[_0x30ed8b(0x3d8)]?_0x40bd60['_schedule']():(_0x40bd60 instanceof exports[_0x30ed8b(0x227)]||_0x40bd60 instanceof exports[_0x30ed8b(0x37d)])&&_0x40bd60['resend'](),_0x40bd60;}[_0x72c010(0x20c)](){var _0x1f7623=_0x72c010;throw new Error(_0x1f7623(0x3b6));}},exports[_0x72c010(0x1dc)]=ae([w(0x5,a[_0x72c010(0x21f)](a[_0x72c010(0x15c)])),w(0x6,a['Inject'](I[_0x72c010(0x308)])),w(0x7,a[_0x72c010(0x287)]),w(0x8,a['IUndoRedoService']),w(0x9,a[_0x72c010(0x3a8)](q))],exports[_0x72c010(0x1dc)]),exports[_0x72c010(0x1b3)]=class extends ce{constructor(_0x2c1974,_0x31b676,_0xaf92c3,_0x56dda9,_0x1346b6,_0x21e833,_0x502663,_0x5ab999,_0x5bd19f,_0x409111,_0x39fdd1,_0x22027f,_0x2d93f9,_0x3064ec){var _0x4408f9=_0x72c010;super(_0x2c1974,_0x31b676,_0xaf92c3,_0x56dda9,_0x502663,_0x39fdd1,_0x22027f,_0x5bd19f,_0x3064ec),A(this,_0x4408f9(0x383),_0x4408f9(0x342)),(this[_0x4408f9(0x366)]=_0x1346b6,this['_queuedRemoteChangesets']=_0x21e833,this[_0x4408f9(0x39f)]=_0x5ab999,this[_0x4408f9(0x452)]=_0x409111,this[_0x4408f9(0x253)]=_0x2d93f9,this[_0x4408f9(0x4a0)]=_0x3064ec);}[_0x72c010(0x442)](_0x5573c3){var _0x53835f=_0x72c010;try{const _0x4614d5=[..._0x5573c3,...this[_0x53835f(0x484)]],_0x3e51a5=[this[_0x53835f(0x21b)]||this[_0x53835f(0x366)]]['filter'](_0x3555ee=>!!_0x3555ee);let _0x1f34e5,_0xf1ccd7;if(_0x3e51a5[_0x53835f(0x2f9)]){const _0x1c417d=this['_transformService'][_0x53835f(0x3fa)](_0x4614d5,_0x3e51a5,!0x1);if(!I[_0x53835f(0x216)](_0x1c417d))throw _0x1c417d[_0x53835f(0x2e5)];_0x1f34e5=_0x1c417d[_0x53835f(0x2af)],_0xf1ccd7=_0x1c417d[_0x53835f(0x3b3)];}else _0x1f34e5=_0x4614d5,_0xf1ccd7=[];let _0x1fdf54=this[_0x53835f(0x367)];_0x1f34e5['forEach'](_0x22d093=>{var _0x48e76a=_0x53835f;let _0xa9c5f7;if(_0x1fdf54[_0x48e76a(0x2f9)]){const _0x3edb38=this[_0x48e76a(0x253)][_0x48e76a(0x2f0)](_0x22d093,_0x1fdf54);if(!I['isTransformMutationsWithChangesetSuccess'](_0x3edb38))throw _0x3edb38['error'];_0xa9c5f7=_0x3edb38[_0x48e76a(0x2af)],_0x1fdf54=_0x3edb38[_0x48e76a(0x4a6)];}else _0xa9c5f7=_0x22d093;this['_executeRemoteChangeset'](_0xa9c5f7);}),this[_0x53835f(0x366)]&&this[_0x53835f(0x36b)](),this[_0x53835f(0x21b)]&&_0xf1ccd7[_0x53835f(0x2f9)]&&(_0xf1ccd7[0x0][_0x53835f(0x1c2)]=this[_0x53835f(0x381)]());let _0x2bdaa2;if(this[_0x53835f(0x21b)]&&_0x1fdf54[_0x53835f(0x2f9)]!==0x0)_0x2bdaa2=this['_injector'][_0x53835f(0x357)](exports['AwaitingWithPendingState'],this[_0x53835f(0x4af)],this['type'],_0xf1ccd7[0x0],_0x1fdf54,this[_0x53835f(0x235)],void 0x0);else{if(this[_0x53835f(0x21b)]&&_0x1fdf54[_0x53835f(0x2f9)]===0x0)_0xf1ccd7[0x0][_0x53835f(0x1c2)]=this[_0x53835f(0x381)](),_0x2bdaa2=this['_injector'][_0x53835f(0x357)](exports[_0x53835f(0x37d)],this[_0x53835f(0x4af)],this[_0x53835f(0x37b)],_0xf1ccd7[0x0],this[_0x53835f(0x235)]);else{if(_0x1fdf54[_0x53835f(0x2f9)]!==0x0){const _0xd0e359=this[_0x53835f(0x39f)]['createInstance'](exports[_0x53835f(0x3d8)],this[_0x53835f(0x4af)],this[_0x53835f(0x37b)],_0x1fdf54,this['_handler']);_0xd0e359[_0x53835f(0x259)](),_0x2bdaa2=_0xd0e359;}else _0x2bdaa2=this[_0x53835f(0x39f)]['createInstance'](exports['SyncedState'],this[_0x53835f(0x4af)],this[_0x53835f(0x37b)],this[_0x53835f(0x235)]);}}return _0x2bdaa2['_updateLocalCache'](),_0x2bdaa2;}catch(_0x1e95e7){return this[_0x53835f(0x452)][_0x53835f(0x2e5)](_0x53835f(0x339),_0x53835f(0x457),_0x1e95e7),this[_0x53835f(0x39f)][_0x53835f(0x357)](exports[_0x53835f(0x48b)],this[_0x53835f(0x4af)],this[_0x53835f(0x37b)],this[_0x53835f(0x21b)],this[_0x53835f(0x367)],this['_handler'],!0x1);}}[_0x72c010(0x20c)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x72c010(0x2e4)](_0x9e9f8a){var _0x1afff7=_0x72c010;return this[_0x1afff7(0x367)]['push'](_0x9e9f8a),this;}[_0x72c010(0x1e7)](_0x21ae35){var _0x424e82=_0x72c010;return this[_0x424e82(0x484)]['push'](_0x21ae35),this;}['onRemoteAck'](_0x7527c2){var _0x3cf4ae=_0x72c010;if(this[_0x3cf4ae(0x21b)])return this[_0x3cf4ae(0x366)]=this[_0x3cf4ae(0x21b)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x72c010(0x3f2)](_0x19a1d8){var _0x5a34be=_0x72c010;return this['_onConflict'](!!(_0x19a1d8!=null&&_0x19a1d8[_0x5a34be(0x277)]));}['onRemoteRetry'](){return this;}[_0x72c010(0x2d6)](){var _0x74aa76=_0x72c010;return this[_0x74aa76(0x39f)]['createInstance'](exports['OfflineState'],this[_0x74aa76(0x4af)],this[_0x74aa76(0x37b)],this[_0x74aa76(0x21b)],this[_0x74aa76(0x367)],this[_0x74aa76(0x235)]);}[_0x72c010(0x180)](){return this;}['_onConflict'](_0x19a895){var _0x527587=_0x72c010;return this[_0x527587(0x39f)][_0x527587(0x357)](exports[_0x527587(0x48b)],this[_0x527587(0x4af)],this[_0x527587(0x37b)],this[_0x527587(0x21b)],this['_pendingMutations'],this[_0x527587(0x235)],_0x19a895);}},exports[_0x72c010(0x1b3)]=ae([w(0x7,a[_0x72c010(0x21f)](a[_0x72c010(0x15c)])),w(0x8,a[_0x72c010(0x21f)](I[_0x72c010(0x308)])),w(0x9,a[_0x72c010(0x36f)]),w(0xa,a['ICommandService']),w(0xb,a[_0x72c010(0x34c)]),w(0xc,I['ITransformService']),w(0xd,a[_0x72c010(0x3a8)](q))],exports[_0x72c010(0x1b3)]);function Ot(_0x4e14df,_0x5290dd,_0x351fe9,_0x155eff,_0x3df75e,_0x1de8e6){var _0x101254=_0x72c010;return _0x155eff&&_0x3df75e[_0x101254(0x2f9)]?_0x4e14df['createInstance'](exports[_0x101254(0x227)],_0x5290dd,_0x351fe9,_0x155eff,_0x3df75e,_0x1de8e6,void 0x0):_0x155eff?_0x4e14df[_0x101254(0x357)](exports['AwaitingState'],_0x5290dd,_0x351fe9,_0x155eff,_0x1de8e6):_0x3df75e['length']?_0x4e14df['createInstance'](exports['PendingState'],_0x5290dd,_0x351fe9,_0x3df75e,_0x1de8e6):_0x4e14df['createInstance'](exports[_0x101254(0x3a1)],_0x5290dd,_0x351fe9,_0x1de8e6);}var vi=Object[_0x72c010(0x43c)],Fe=(_0x40a03e,_0xf23733,_0x55d230,_0x23abba)=>{var _0x36525b=_0x72c010;for(var _0x5758f0=_0x23abba>0x1?void 0x0:_0x23abba?vi(_0xf23733,_0x55d230):_0xf23733,_0x53063a=_0x40a03e[_0x36525b(0x2f9)]-0x1,_0x5af3ea;_0x53063a>=0x0;_0x53063a--)(_0x5af3ea=_0x40a03e[_0x53063a])&&(_0x5758f0=_0x5af3ea(_0x5758f0)||_0x5758f0);return _0x5758f0;},j=(_0x4eb39e,_0x53c915)=>(_0x3b72f3,_0x29740f)=>_0x53c915(_0x3b72f3,_0x29740f,_0x4eb39e);exports['CollaborationEntity']=class extends a[_0x72c010(0x3d3)]{constructor(_0x4f2b25,_0x447e4e,_0x1f89b3,_0x3e8c86,_0x95a271,_0x2ac91d,_0x463003,_0x9813d9,_0x5523b0,_0x316bdb,_0x24cf08,_0x301a90,_0x7fce6a){var _0x55999b=_0x72c010;super(),A(this,_0x55999b(0x211),new $['BehaviorSubject'](null)),A(this,_0x55999b(0x315),this[_0x55999b(0x211)][_0x55999b(0x2df)]()),A(this,'_state'),A(this,'_collaborationPaused',!0x1),A(this,_0x55999b(0x16e),''),A(this,'_changesetReqId',0x0),A(this,'status$',this[_0x55999b(0x315)][_0x55999b(0x190)]($[_0x55999b(0x14c)](_0x178b33=>_0x178b33?_0x178b33[_0x55999b(0x383)]:Be[_0x55999b(0x38a)]),$[_0x55999b(0x21c)](0x1))),A(this,'_transitionLocked',!0x1),A(this,'_remoteChangesetQueue',[]),(this[_0x55999b(0x4af)]=_0x4f2b25,this['session']=_0x447e4e,this['_type']=_0x1f89b3,this[_0x55999b(0x39f)]=_0x3e8c86,this[_0x55999b(0x4b5)]=_0x95a271,this[_0x55999b(0x1f2)]=_0x2ac91d,this[_0x55999b(0x2c5)]=_0x463003,this[_0x55999b(0x32f)]=_0x9813d9,this[_0x55999b(0x452)]=_0x5523b0,this[_0x55999b(0x3ba)]=_0x316bdb,this[_0x55999b(0x328)]=_0x24cf08,this[_0x55999b(0x191)]=_0x301a90,this[_0x55999b(0x329)]=_0x7fce6a);}get[_0x72c010(0x2e7)](){var _0x328cb6=_0x72c010;return this[_0x328cb6(0x43e)];}async[_0x72c010(0x154)](){var _0x11ee8d=_0x72c010;if(this[_0x11ee8d(0x2e7)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x11ee8d(0x15d)]();}[_0x72c010(0x153)](){var _0x31733a=_0x72c010;return this[_0x31733a(0x3b9)]=!0x0,a[_0x31733a(0x146)](()=>{var _0x2dfaff=_0x31733a;this[_0x2dfaff(0x3b9)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x72c010(0x186)](_0x404d04){this['_onLocalMutation'](_0x404d04);}['_updateState'](_0x1b55ed){var _0x50db46=_0x72c010;this['_state']=_0x1b55ed,this[_0x50db46(0x211)][_0x50db46(0x1fb)](_0x1b55ed);}async[_0x72c010(0x15d)](){var _0x5bb8ed=_0x72c010,_0x59d3d4;this[_0x5bb8ed(0x2a3)](await this[_0x5bb8ed(0x226)]()),this[_0x5bb8ed(0x191)]&&((_0x59d3d4=this['_singleActiveUnitService'])==null||_0x59d3d4[_0x5bb8ed(0x3c2)](this[_0x5bb8ed(0x4af)]),this[_0x5bb8ed(0x1ef)](this[_0x5bb8ed(0x191)][_0x5bb8ed(0x269)](this[_0x5bb8ed(0x4af)])['subscribe'](_0x371f7a=>{var _0x4c54ea=_0x5bb8ed;this[_0x4c54ea(0x452)][_0x4c54ea(0x18f)]('[CollaborationEntity]',_0x4c54ea(0x495),_0x371f7a),_0x371f7a===je[_0x4c54ea(0x38f)]?(this[_0x4c54ea(0x32f)][_0x4c54ea(0x42a)]({'id':Z[_0x4c54ea(0x454)]}),this[_0x4c54ea(0x328)][_0x4c54ea(0x330)](new X['WorkbookEditablePermission'](this[_0x4c54ea(0x4af)])['id'],!0x1),this[_0x4c54ea(0x328)]['setShowComponents'](!0x1)):(this[_0x4c54ea(0x328)][_0x4c54ea(0x330)](new X[(_0x4c54ea(0x1eb))](this[_0x4c54ea(0x4af)])['id'],!0x0),this[_0x4c54ea(0x328)][_0x4c54ea(0x1fa)](!0x0));})));let _0x3a8dc5=!0x1;return this[_0x5bb8ed(0x1ef)](this[_0x5bb8ed(0x364)][_0x5bb8ed(0x3be)][_0x5bb8ed(0x184)](_0xab497b=>{var _0x27b4aa=_0x5bb8ed;_0xab497b===re['ONLINE']?this['_toggleOnline'](_0x3a8dc5):_0xab497b===re['OFFLINE']&&(_0x3a8dc5=!0x0,this[_0x27b4aa(0x38b)]());})),this[_0x5bb8ed(0x1ef)](this[_0x5bb8ed(0x364)][_0x5bb8ed(0x2d2)]['subscribe'](_0x404d72=>{var _0x336d0f=_0x5bb8ed;try{switch(_0x404d72[_0x336d0f(0x249)]){case I[_0x336d0f(0x3b2)]['NEW_CHANGESETS']:{this['_onRemoteChangeset'](I[_0x336d0f(0x251)](_0x404d72['data']));break;}case I['CollaborationEvent'][_0x336d0f(0x405)]:{this[_0x336d0f(0x1ed)](_0x404d72[_0x336d0f(0x35f)]);break;}case I[_0x336d0f(0x3b2)][_0x336d0f(0x2a7)]:{this[_0x336d0f(0x3d5)]();break;}case I[_0x336d0f(0x3b2)][_0x336d0f(0x28f)]:{this[_0x336d0f(0x3da)](_0x404d72[_0x336d0f(0x35f)]);break;}case I[_0x336d0f(0x3b2)][_0x336d0f(0x4a8)]:{this['_onFetchMissResult'](_0x404d72[_0x336d0f(0x35f)][_0x336d0f(0x28d)][_0x336d0f(0x14c)](_0x4696d3=>I[_0x336d0f(0x251)](_0x4696d3)));break;}case I[_0x336d0f(0x3b2)][_0x336d0f(0x47c)]:{this[_0x336d0f(0x3d5)]({'isPermissionRej':!0x0});break;}case I[_0x336d0f(0x3b2)][_0x336d0f(0x283)]:break;}}catch(_0x56c19d){throw console[_0x336d0f(0x2e5)](_0x336d0f(0x2fe),_0x56c19d),_0x56c19d;}})),this['_state'];}[_0x72c010(0x18c)](){var _0x3857dc=_0x72c010;this[_0x3857dc(0x348)]=!0x1;}['_lockTransition'](){var _0x73f78d=_0x72c010;if(this[_0x73f78d(0x348)])throw new Error(_0x73f78d(0x468));this[_0x73f78d(0x348)]=!0x0;}[_0x72c010(0x359)](_0x284be0){var _0x1e5a31=_0x72c010;this['_lockTransition'](),this[_0x1e5a31(0x2a3)](this[_0x1e5a31(0x43e)][_0x1e5a31(0x2e4)](_0x284be0)),this['_unlockTransition']();}[_0x72c010(0x2e3)](_0x272bfc){var _0xa5bf35=_0x72c010;if(!(_0x272bfc[_0xa5bf35(0x147)]<=this[_0xa5bf35(0x2c5)]['getCurrentRevOfUnit'](this[_0xa5bf35(0x4af)]))){if(this[_0xa5bf35(0x3b9)]){this[_0xa5bf35(0x27c)][_0xa5bf35(0x41b)](_0x272bfc);return;}this[_0xa5bf35(0x305)](_0x272bfc);}}['_exhaustRemoteChangesetQueue'](){var _0x26276a=_0x72c010;this[_0x26276a(0x27c)][_0x26276a(0x292)](_0x5e2be=>this['_applyRemoteChangeset'](_0x5e2be)),this[_0x26276a(0x27c)]=[];}['_applyRemoteChangeset'](_0x33c29a){var _0x374022=_0x72c010;const _0xedf0f8=this[_0x374022(0x4b5)][_0x374022(0x18a)][_0x374022(0x151)](this[_0x374022(0x4b5)][_0x374022(0x18a)]['getInterceptPoints']()[_0x374022(0x3ca)])(_0x33c29a[_0x374022(0x2e2)],null)||_0x33c29a[_0x374022(0x2e2)],_0xeb9bf2={..._0x33c29a,'mutations':_0xedf0f8};this['_lockTransition'](),this['_updateState'](this[_0x374022(0x43e)]['onRemoteChangeset'](_0xeb9bf2)),this['_unlockTransition']();}[_0x72c010(0x1ed)](_0x164f13){var _0x5c1059=_0x72c010;this[_0x5c1059(0x33d)](),this[_0x5c1059(0x2a3)](this[_0x5c1059(0x43e)][_0x5c1059(0x2b5)](_0x164f13)),this['_unlockTransition']();}[_0x72c010(0x3d5)](_0x196aec){var _0xe794ba=_0x72c010;this[_0xe794ba(0x33d)](),this[_0xe794ba(0x2a3)](this[_0xe794ba(0x43e)]['onRemoteRej'](_0x196aec)),this[_0xe794ba(0x18c)]();}['_onRemoteRetry'](_0x4c7992){var _0xe5ad26=_0x72c010;this[_0xe5ad26(0x33d)](),this[_0xe5ad26(0x2a3)](this[_0xe5ad26(0x43e)][_0xe5ad26(0x4a4)](_0x4c7992)),this[_0xe5ad26(0x18c)]();}[_0x72c010(0x32b)](_0x1957b8){var _0x2b46ab=_0x72c010;if(!(this['_state']instanceof exports[_0x2b46ab(0x1b3)]))throw new TypeError(_0x2b46ab(0x31b));const _0x1a9d8c=_0x1957b8['map'](_0xcaa233=>{var _0x5a0c58=_0x2b46ab;const _0x5030ca=this[_0x5a0c58(0x4b5)][_0x5a0c58(0x18a)][_0x5a0c58(0x151)](this[_0x5a0c58(0x4b5)]['interceptor'][_0x5a0c58(0x377)]()[_0x5a0c58(0x3ca)])(_0xcaa233[_0x5a0c58(0x2e2)],null)||_0xcaa233[_0x5a0c58(0x2e2)];return{..._0xcaa233,'mutations':_0x5030ca};});this[_0x2b46ab(0x33d)](),this['_updateState'](this[_0x2b46ab(0x43e)][_0x2b46ab(0x442)](_0x1a9d8c)),this['_unlockTransition']();}['_toggleOffline'](){var _0x5499f0=_0x72c010;this[_0x5499f0(0x33d)](),this[_0x5499f0(0x2a3)](this[_0x5499f0(0x43e)]['toggleOffline']()),this[_0x5499f0(0x18c)]();}[_0x72c010(0x218)](_0x3d76a8=!0x1){var _0x214131=_0x72c010;this[_0x214131(0x33d)](),this[_0x214131(0x2a3)](this[_0x214131(0x43e)][_0x214131(0x180)]()),this[_0x214131(0x18c)]();const _0x5d21fe=this[_0x214131(0x43e)];_0x3d76a8&&_0x5d21fe instanceof exports[_0x214131(0x3a1)]&&(this[_0x214131(0x33d)](),this[_0x214131(0x2a3)](_0x5d21fe[_0x214131(0x2ac)]()),this[_0x214131(0x18c)]());}async[_0x72c010(0x226)](){return new Promise(_0x3b06c0=>{var _0x283aad=_0x284f;this[_0x283aad(0x364)][_0x283aad(0x3be)][_0x283aad(0x190)]($['take'](0x1))['subscribe'](async _0x4b6137=>{var _0x481950=_0x283aad;_0x3b06c0(await this[_0x481950(0x36e)](_0x4b6137===re[_0x481950(0x1c7)]));});});}[_0x72c010(0x36d)](){var _0x1768bb=_0x72c010;const _0x5baaba=this[_0x1768bb(0x4af)];return{'onStateChange':(_0x1175b5,_0xeeee2)=>{var _0x4293ec=_0x1768bb;if(_0x1175b5!==this[_0x4293ec(0x43e)])throw new Error(_0x4293ec(0x34f)+_0x1175b5[_0x4293ec(0x383)]+_0x4293ec(0x476)+_0xeeee2['status']+'\x0aCurrent:\x20'+this[_0x4293ec(0x43e)][_0x4293ec(0x383)]);this[_0x4293ec(0x2a3)](_0xeeee2);},'onSendChangeset':_0x56d78d=>{var _0x2dffac=_0x1768bb;_0x56d78d[_0x2dffac(0x2ee)]||(_0x56d78d[_0x2dffac(0x2ee)]=this[_0x2dffac(0x16e)],_0x56d78d[_0x2dffac(0x1d5)]=++this['_changesetReqId']);const _0x59db75={'eventID':I['CollaborationEvent'][_0x2dffac(0x1b1)],'data':{'unitID':_0x56d78d['unitID'],'unitType':this[_0x2dffac(0x195)],'changeset':_0x56d78d,'memberID':this[_0x2dffac(0x364)][_0x2dffac(0x321)]()}};this['session'][_0x2dffac(0x2f6)](_0x59db75,this[_0x2dffac(0x4af)]);},'onMissingChangesets':({from:_0x3f03f9,to:_0x4e586c})=>{var _0x3aa071=_0x1768bb;this[_0x3aa071(0x452)][_0x3aa071(0x18f)](_0x3aa071(0x343),_0x3aa071(0x21e)+_0x3f03f9+_0x3aa071(0x3e7)+_0x4e586c);const _0x23b88e={'eventID':I[_0x3aa071(0x3b2)]['FETCH_MISSING'],'data':{'unitID':_0x5baaba,'unitType':this['_type'],'from':_0x3f03f9,'to':_0x4e586c}};this[_0x3aa071(0x364)]['send'](_0x23b88e,this[_0x3aa071(0x4af)]);}};}async['_createInitialStateImpl'](_0x2165bc){var _0x1a9e54=_0x72c010,_0x8be58a,_0x1744a7,_0x5a03b2;const _0x159ca3=await((_0x8be58a=this[_0x1a9e54(0x329)])==null?void 0x0:_0x8be58a['loadOfflineData'](this['unitID'])),_0x216703=(_0x1744a7=_0x159ca3==null?void 0x0:_0x159ca3['mutations'])!=null?_0x1744a7:[],_0x403780=(_0x5a03b2=_0x159ca3==null?void 0x0:_0x159ca3[_0x1a9e54(0x3e3)])!=null?_0x5a03b2:null,_0xd9d777=!!(_0x403780!=null&&_0x403780[_0x1a9e54(0x2ee)])&&!!(_0x403780!=null&&_0x403780[_0x1a9e54(0x1d5)]);this[_0x1a9e54(0x16e)]=_0xd9d777?_0x403780[_0x1a9e54(0x2ee)]:I[_0x1a9e54(0x3b0)](),this[_0x1a9e54(0x368)]=_0xd9d777?_0x403780[_0x1a9e54(0x1d5)]:0x0;const _0x483839=this[_0x1a9e54(0x4af)];try{this['_replayCachedMutations'](_0x403780,_0x216703);}catch(_0x2b884b){this['_logService'][_0x1a9e54(0x2e5)](_0x2b884b);}const _0x57cf3b=this[_0x1a9e54(0x36d)]();if(_0x2165bc){const _0x12481b=Ot(this['_injector'],_0x483839,this[_0x1a9e54(0x195)],_0x403780,_0x216703,_0x57cf3b);return _0x12481b instanceof exports[_0x1a9e54(0x3d8)]?_0x12481b['_schedule']():(_0x12481b instanceof exports['AwaitingWithPendingState']||_0x12481b instanceof exports['AwaitingState'])&&_0x12481b[_0x1a9e54(0x20c)](),_0x12481b;}return this['_injector'][_0x1a9e54(0x357)](exports[_0x1a9e54(0x1dc)],_0x483839,this[_0x1a9e54(0x195)],_0x403780,_0x216703,_0x57cf3b);}[_0x72c010(0x1a4)](_0x4ceaf9,_0x3a180c){var _0x23c5f4=_0x72c010,_0x543a31,_0x459663;const _0xc797b0=this[_0x23c5f4(0x4b5)][_0x23c5f4(0x18a)][_0x23c5f4(0x151)](this[_0x23c5f4(0x4b5)][_0x23c5f4(0x18a)][_0x23c5f4(0x377)]()['COMPRESS_MUTATION_APPLY']);(_0x543a31=_0xc797b0((_0x4ceaf9==null?void 0x0:_0x4ceaf9[_0x23c5f4(0x2e2)])||[],null))==null||_0x543a31[_0x23c5f4(0x292)](_0x528e00=>this[_0x23c5f4(0x3ba)]['executeCommand'](_0x528e00['id'],_0x528e00[_0x23c5f4(0x1de)])),(_0x459663=_0xc797b0(_0x3a180c||[],null))==null||_0x459663['forEach'](_0x32e39e=>this[_0x23c5f4(0x3ba)][_0x23c5f4(0x1f1)](_0x32e39e['id'],_0x32e39e['params']));}},exports[_0x72c010(0x3e5)]=Fe([j(0x3,a[_0x72c010(0x21f)](a['Injector'])),j(0x4,a[_0x72c010(0x21f)](I[_0x72c010(0x2a6)])),j(0x5,a[_0x72c010(0x21f)](a[_0x72c010(0x334)])),j(0x6,a[_0x72c010(0x21f)](I[_0x72c010(0x308)])),j(0x7,a[_0x72c010(0x21f)](ee)),j(0x8,a[_0x72c010(0x36f)]),j(0x9,a['ICommandService']),j(0xa,a[_0x72c010(0x3c4)]),j(0xb,a['Optional'](de)),j(0xc,a[_0x72c010(0x3a8)](q))],exports[_0x72c010(0x3e5)]),exports[_0x72c010(0x3ee)]=class extends exports[_0x72c010(0x3e5)]{constructor(_0x53168d,_0x168dbc,_0x63d5cc,_0x51d91d,_0x310cf6,_0xa0c2eb,_0x73b3f4,_0x1b61aa,_0xe5571f,_0x12f761,_0x252577,_0x42f28b,_0x3bfd71){var _0x5de1f3=_0x72c010;super(_0x53168d,_0x63d5cc,_0x168dbc,_0x51d91d,_0x310cf6,_0xa0c2eb,_0x73b3f4,_0x1b61aa,_0xe5571f,_0x12f761,_0x252577,_0x42f28b,_0x3bfd71),A(this,_0x5de1f3(0x3a4),null),(this[_0x5de1f3(0x4af)]=_0x53168d,this['type']=_0x168dbc);}[_0x72c010(0x394)](_0x1e8733){this['_handlerCallback']=_0x1e8733;}[_0x72c010(0x406)](){var _0x459697=_0x72c010;this[_0x459697(0x3a4)]=null,super[_0x459697(0x406)]();}[_0x72c010(0x36d)](){var _0x34ea80=_0x72c010;const _0x28f81c=super[_0x34ea80(0x36d)]();return _0x28f81c[_0x34ea80(0x40b)]=_0x1a0509=>{var _0xe6409f=_0x34ea80,_0x1be40d,_0x170c65;return(_0x170c65=(_0x1be40d=this['_handlerCallback'])==null?void 0x0:_0x1be40d[_0xe6409f(0x40b)])==null?void 0x0:_0x170c65[_0xe6409f(0x478)](_0x1be40d,_0x1a0509);},_0x28f81c[_0x34ea80(0x16c)]=_0x1d177a=>{var _0x3576f5=_0x34ea80,_0x3b45fd,_0x4823d4;return(_0x4823d4=(_0x3b45fd=this[_0x3576f5(0x3a4)])==null?void 0x0:_0x3b45fd[_0x3576f5(0x16c)])==null?void 0x0:_0x4823d4['call'](_0x3b45fd,_0x1d177a);},_0x28f81c[_0x34ea80(0x296)]=_0x7c1e92=>{var _0x5614b2=_0x34ea80,_0x5d41d7,_0x3770c5;return(_0x3770c5=(_0x5d41d7=this[_0x5614b2(0x3a4)])==null?void 0x0:_0x5d41d7[_0x5614b2(0x296)])==null?void 0x0:_0x3770c5[_0x5614b2(0x478)](_0x5d41d7,_0x7c1e92);},_0x28f81c[_0x34ea80(0x2ae)]=_0x2808b0=>{var _0x4c873c=_0x34ea80,_0x3d56a2,_0x48b696;return(_0x48b696=(_0x3d56a2=this[_0x4c873c(0x3a4)])==null?void 0x0:_0x3d56a2[_0x4c873c(0x2ae)])==null?void 0x0:_0x48b696[_0x4c873c(0x478)](_0x3d56a2,_0x2808b0);},_0x28f81c[_0x34ea80(0x17d)]=_0x369c16=>{var _0x583bc8=_0x34ea80,_0x3ed21f,_0x8c1b01,_0xaf1eda;if(!((_0x3ed21f=this[_0x583bc8(0x3a4)])!=null&&_0x3ed21f['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xaf1eda=(_0x8c1b01=this[_0x583bc8(0x3a4)])==null?void 0x0:_0x8c1b01[_0x583bc8(0x17d)])==null?void 0x0:_0xaf1eda[_0x583bc8(0x478)](_0x8c1b01,_0x369c16);},_0x28f81c[_0x34ea80(0x399)]=_0x35067b=>{var _0x3e00ee=_0x34ea80,_0x153df3,_0x196f5b,_0x416497;if(!((_0x153df3=this[_0x3e00ee(0x3a4)])!=null&&_0x153df3['onTransformRemoteChangesetByStateCache']))throw new Error(_0x3e00ee(0x4a5));return(_0x416497=(_0x196f5b=this[_0x3e00ee(0x3a4)])==null?void 0x0:_0x196f5b[_0x3e00ee(0x399)])==null?void 0x0:_0x416497[_0x3e00ee(0x478)](_0x196f5b,_0x35067b);},_0x28f81c;}async['_init'](){var _0x320534=_0x72c010;const _0x3003de=await super[_0x320534(0x15d)]();return this[_0x320534(0x1ef)](this[_0x320534(0x3ba)][_0x320534(0x320)]((_0x18890e,_0x49775f)=>{var _0x524158=_0x320534;if(_0x18890e[_0x524158(0x37b)]!==a[_0x524158(0x412)]['MUTATION']||_0x49775f!=null&&_0x49775f[_0x524158(0x22b)]||_0x49775f!=null&&_0x49775f[_0x524158(0x1a7)]||_0x18890e['id']===ht['RichTextEditingMutation']['id'])return;const _0x84df04=_0x18890e[_0x524158(0x1de)];if((_0x84df04==null?void 0x0:_0x84df04[_0x524158(0x2bc)])!==this['unitID'])return;const _0x613548=_0x18890e,_0x30bfc0=this[_0x524158(0x4b5)]['interceptor'][_0x524158(0x151)](this['_compressMutationService'][_0x524158(0x18a)][_0x524158(0x377)]()[_0x524158(0x451)])([_0x613548],null)||[_0x613548];this['_onLocalMutation'](_0x30bfc0[0x0]);})),_0x3003de;}},exports['DocCollaborationEntity']=Fe([j(0x3,a[_0x72c010(0x21f)](a[_0x72c010(0x15c)])),j(0x4,a[_0x72c010(0x21f)](I[_0x72c010(0x2a6)])),j(0x5,a[_0x72c010(0x21f)](a[_0x72c010(0x334)])),j(0x6,a[_0x72c010(0x21f)](I[_0x72c010(0x308)])),j(0x7,a[_0x72c010(0x21f)](ee)),j(0x8,a[_0x72c010(0x36f)]),j(0x9,a[_0x72c010(0x287)]),j(0xa,a[_0x72c010(0x3c4)]),j(0xb,a[_0x72c010(0x3a8)](de)),j(0xc,a['Optional'](q))],exports[_0x72c010(0x3ee)]),exports[_0x72c010(0x1d9)]=class extends exports['CollaborationEntity']{constructor(_0x14c875,_0x123d0e,_0x17f608,_0x4ca0e3,_0x5e7b26,_0x508e09,_0x2d7d12,_0x30c2d5,_0x5d6de4,_0x35b78c,_0x41a684,_0xa037ac,_0x27e3af,_0x31639c){var _0x1e55fb=_0x72c010;super(_0x14c875,_0x17f608,_0x123d0e,_0x4ca0e3,_0x5e7b26,_0x508e09,_0x2d7d12,_0x5d6de4,_0x35b78c,_0x41a684,_0xa037ac,_0x27e3af,_0x31639c),this[_0x1e55fb(0x4af)]=_0x14c875,this[_0x1e55fb(0x37b)]=_0x123d0e,this['_sheetTransformSelectionsService']=_0x30c2d5;}[_0x72c010(0x36d)](){var _0x3b2c60=_0x72c010;const _0x5306ee=super[_0x3b2c60(0x36d)]();return _0x5306ee[_0x3b2c60(0x296)]=_0x4f7b41=>this[_0x3b2c60(0x17a)][_0x3b2c60(0x43b)](_0x4f7b41),_0x5306ee;}async[_0x72c010(0x15d)](){var _0xdda5ca=_0x72c010;const _0x11ed09=await super[_0xdda5ca(0x15d)]();return this['disposeWithMe'](this[_0xdda5ca(0x3ba)]['onCommandExecuted']((_0xa29397,_0x587605)=>{var _0x171ee5=_0xdda5ca;if(_0xa29397[_0x171ee5(0x37b)]!==a[_0x171ee5(0x412)]['MUTATION']||_0x587605!=null&&_0x587605[_0x171ee5(0x22b)]||_0x587605!=null&&_0x587605[_0x171ee5(0x1a7)])return;const _0x32ab09=_0xa29397[_0x171ee5(0x1de)];if((_0x32ab09==null?void 0x0:_0x32ab09['unitId'])!==this[_0x171ee5(0x4af)])return;const _0x50b314=_0xa29397,_0x5888c7=this[_0x171ee5(0x4b5)][_0x171ee5(0x18a)][_0x171ee5(0x151)](this[_0x171ee5(0x4b5)][_0x171ee5(0x18a)][_0x171ee5(0x377)]()['COMPRESS_MUTATION_SEND'])([_0x50b314],null)||[_0x50b314];this[_0x171ee5(0x359)](_0x5888c7[0x0]);})),_0x11ed09;}},exports['SheetCollaborationEntity']=Fe([j(0x3,a[_0x72c010(0x21f)](a[_0x72c010(0x15c)])),j(0x4,a[_0x72c010(0x21f)](I[_0x72c010(0x2a6)])),j(0x5,a[_0x72c010(0x21f)](a['LocaleService'])),j(0x6,a[_0x72c010(0x21f)](I[_0x72c010(0x308)])),j(0x7,a[_0x72c010(0x21f)](exports[_0x72c010(0x1a1)])),j(0x8,a[_0x72c010(0x21f)](ee)),j(0x9,a[_0x72c010(0x36f)]),j(0xa,a[_0x72c010(0x287)]),j(0xb,a['IPermissionService']),j(0xc,a['Optional'](de)),j(0xd,a[_0x72c010(0x3a8)](q))],exports[_0x72c010(0x1d9)]);var Si=Object[_0x72c010(0x43c)],fi=(_0xf5012b,_0x22fdc5,_0x1798ff,_0x55274b)=>{for(var _0x4d83b1=_0x55274b>0x1?void 0x0:_0x55274b?Si(_0x22fdc5,_0x1798ff):_0x22fdc5,_0x2121bf=_0xf5012b['length']-0x1,_0x3b2203;_0x2121bf>=0x0;_0x2121bf--)(_0x3b2203=_0xf5012b[_0x2121bf])&&(_0x4d83b1=_0x3b2203(_0x4d83b1)||_0x4d83b1);return _0x4d83b1;},Se=(_0x47660a,_0x2398a9)=>(_0x39e062,_0x17d78c)=>_0x2398a9(_0x39e062,_0x17d78c,_0x47660a);exports[_0x72c010(0x372)]=class extends a['RxDisposable']{constructor(_0x167865,_0x6e857,_0x368f8a,_0x4c593d){var _0x3a718a=_0x72c010,_0xa5a80;super(),A(this,_0x3a718a(0x23e),new Map()),A(this,_0x3a718a(0x32d),new $[(_0x3a718a(0x475))]()),A(this,_0x3a718a(0x26e),this[_0x3a718a(0x32d)]['asObservable']()),(this[_0x3a718a(0x39f)]=_0x167865,this[_0x3a718a(0x3f6)]=_0x6e857,this[_0x3a718a(0x23d)]=_0x368f8a,this['_univerInstanceService']=_0x4c593d,((_0xa5a80=this['_configService']['getConfig'](K))==null?void 0x0:_0xa5a80[_0x3a718a(0x379)])!==!0x1&&this[_0x3a718a(0x15d)]());}[_0x72c010(0x406)](){var _0xaba97a=_0x72c010;super[_0xaba97a(0x406)](),this['_entities']['forEach'](_0x13342c=>_0x13342c[_0xaba97a(0x406)]()),this['_entities'][_0xaba97a(0x1c9)]();}['getCollabEntity'](_0x2377c3){var _0xa883fc=_0x72c010,_0x2c6f8d;return(_0x2c6f8d=this[_0xa883fc(0x23e)][_0xa883fc(0x4b7)](_0x2377c3))!=null?_0x2c6f8d:null;}['getCollabEntity$'](_0x5ba38b){var _0x6b1573=_0x72c010;const _0xdf3259=this[_0x6b1573(0x25b)](_0x5ba38b);return _0xdf3259?$['of'](_0xdf3259):this[_0x6b1573(0x32d)][_0x6b1573(0x190)](V[_0x6b1573(0x1cb)](_0x26c345=>_0x26c345[_0x6b1573(0x4af)]===_0x5ba38b));}[_0x72c010(0x3b7)](_0x185929){var _0x5d54fa=_0x72c010;return $[_0x5d54fa(0x1d0)](this['getCollabEntity$'](_0x185929)[_0x5d54fa(0x190)](V[_0x5d54fa(0x14c)](()=>{})));}[_0x72c010(0x15d)](){var _0x645f05=_0x72c010;this[_0x645f05(0x286)][_0x645f05(0x354)](a['UniverInstanceType']['UNIVER_SHEET'])['pipe']($['takeUntil'](this[_0x645f05(0x1b8)]),V[_0x645f05(0x489)](0x10))[_0x645f05(0x184)](async _0x5f123f=>{var _0x507020=_0x645f05;const _0x2fec5b=_0x5f123f[_0x507020(0x233)](),_0x24724f=await this[_0x507020(0x1fc)](_0x2fec5b,J[_0x507020(0x477)]);this[_0x507020(0x23e)][_0x507020(0x268)](_0x2fec5b,_0x24724f);}),this[_0x645f05(0x286)][_0x645f05(0x354)](a[_0x645f05(0x30f)][_0x645f05(0x356)])[_0x645f05(0x190)]($[_0x645f05(0x3eb)](this['dispose$']),V[_0x645f05(0x489)](0x10))[_0x645f05(0x190)](V[_0x645f05(0x1cb)](_0x43f3a1=>!_0x43f3a1['getUnitId']()['startsWith']('__')))['subscribe'](async _0x277905=>{var _0x3c539a=_0x645f05;const _0x225743=_0x277905[_0x3c539a(0x233)](),_0x4c331e=await this[_0x3c539a(0x1fc)](_0x225743,J['UNIVER_DOC']);this['_entities'][_0x3c539a(0x268)](_0x225743,_0x4c331e);}),$[_0x645f05(0x42f)](this['_univerInstanceService'][_0x645f05(0x465)](a[_0x645f05(0x30f)][_0x645f05(0x477)]),this[_0x645f05(0x286)][_0x645f05(0x465)](a[_0x645f05(0x30f)][_0x645f05(0x356)]))['pipe']($[_0x645f05(0x3eb)](this[_0x645f05(0x1b8)]))['subscribe'](_0x4cdb04=>{var _0x2816aa=_0x645f05;const _0xdf79ad=_0x4cdb04['getUnitId'](),_0x5117cc=this['_entities'][_0x2816aa(0x4b7)](_0xdf79ad);_0x5117cc&&(_0x5117cc[_0x2816aa(0x406)](),this[_0x2816aa(0x23e)]['delete'](_0xdf79ad));});}async['_startCollaboration'](_0x41ab97,_0x3ee043){var _0x3e6482=_0x72c010;const _0x1d417d=await this[_0x3e6482(0x3f6)]['requireSession'](_0x41ab97),_0x3c692b=this[_0x3e6482(0x39f)][_0x3e6482(0x357)](this[_0x3e6482(0x1ab)](_0x3ee043),_0x41ab97,_0x3ee043,_0x1d417d);return await _0x3c692b[_0x3e6482(0x154)](),this[_0x3e6482(0x32d)][_0x3e6482(0x1fb)](_0x3c692b),_0x3c692b;}[_0x72c010(0x1ab)](_0x2cde98){var _0x5de68f=_0x72c010;switch(_0x2cde98){case J['UNIVER_DOC']:return exports['DocCollaborationEntity'];case J['UNIVER_SHEET']:return exports[_0x5de68f(0x1d9)];default:throw new Error(_0x5de68f(0x2b6)+_0x2cde98);}}},exports[_0x72c010(0x372)]=fi([Se(0x0,a[_0x72c010(0x21f)](a[_0x72c010(0x15c)])),Se(0x1,a['Inject'](exports[_0x72c010(0x3f8)])),Se(0x2,a['IConfigService']),Se(0x3,a[_0x72c010(0x37f)])],exports['CollaborationController']);var pi=Object[_0x72c010(0x43c)],Ii=(_0x4a789c,_0x41e141,_0x4797c6,_0x303db3)=>{for(var _0x4d771e=_0x303db3>0x1?void 0x0:_0x303db3?pi(_0x41e141,_0x4797c6):_0x41e141,_0x239a88=_0x4a789c['length']-0x1,_0x2af648;_0x239a88>=0x0;_0x239a88--)(_0x2af648=_0x4a789c[_0x239a88])&&(_0x4d771e=_0x2af648(_0x4d771e)||_0x4d771e);return _0x4d771e;},Ye=(_0x573f6a,_0x139938)=>(_0x490d7c,_0x5945c5)=>_0x139938(_0x490d7c,_0x5945c5,_0x573f6a);const gi=_0x72c010(0x220),Ei=_0x72c010(0x2b7);let xe=class extends a['Disposable']{constructor(_0x5d27e2,_0x1f900b){var _0x1efe64=_0x72c010;super(),this['_univerInstanceService']=_0x5d27e2,this[_0x1efe64(0x23d)]=_0x1f900b,this[_0x1efe64(0x15d)]();}['_init'](){var _0x46493b=_0x72c010;this[_0x46493b(0x1ef)](this[_0x46493b(0x286)][_0x46493b(0x40f)][_0x46493b(0x184)](()=>{var _0x52f578=_0x46493b,_0x25c440;const _0x462b9f=this['_univerInstanceService']['getFocusedUnit']();let _0x6fa04c=(_0x25c440=this['_configService'][_0x52f578(0x282)](gi))!=null?_0x25c440:Ei;_0x462b9f instanceof a[_0x52f578(0x420)]&&(_0x6fa04c=_0x462b9f[_0x52f578(0x3a7)]),document[_0x52f578(0x24b)]=_0x6fa04c;}));}};xe=Ii([Ye(0x0,a['IUniverInstanceService']),Ye(0x1,a[_0x72c010(0x25f)])],xe);var mi=Object[_0x72c010(0x43c)],Ci=(_0x4288b1,_0x183936,_0x4fef03,_0x326438)=>{var _0xfe9ca7=_0x72c010;for(var _0x2059d2=_0x326438>0x1?void 0x0:_0x326438?mi(_0x183936,_0x4fef03):_0x183936,_0x1cee6c=_0x4288b1[_0xfe9ca7(0x2f9)]-0x1,_0x1884dd;_0x1cee6c>=0x0;_0x1cee6c--)(_0x1884dd=_0x4288b1[_0x1cee6c])&&(_0x2059d2=_0x1884dd(_0x2059d2)||_0x2059d2);return _0x2059d2;},Ae=(_0x597efc,_0x158417)=>(_0x42a827,_0x806cf9)=>_0x158417(_0x42a827,_0x806cf9,_0x597efc);let ye=class{constructor(_0x2e3b6f,_0x35868f,_0x2bdee4){var _0x4f32eb=_0x72c010;this[_0x4f32eb(0x23d)]=_0x2e3b6f,this[_0x4f32eb(0x1ec)]=_0x35868f,this['localeService']=_0x2bdee4,this[_0x4f32eb(0x154)]();}[_0x72c010(0x154)](){var _0x41d8db=_0x72c010;this[_0x41d8db(0x1ec)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x38fbec,_0x2e69a9)=>_0x2e69a9(_0x38fbec)[_0x41d8db(0x190)]($['concatMap'](async _0x364028=>{var _0x1df6e2=_0x41d8db;const _0x48c68d=_0x364028;if(_0x48c68d['status']===0x191){if(typeof window>'u')throw new Error(_0x1df6e2(0x426));if(window[_0x1df6e2(0x438)](this[_0x1df6e2(0x174)]['t'](_0x1df6e2(0x2d4)))){const _0x318a36=window['encodeURIComponent'](window[_0x1df6e2(0x3a0)][_0x1df6e2(0x2b4)]);window[_0x1df6e2(0x3a0)][_0x1df6e2(0x2b4)]=this[_0x1df6e2(0x221)]()+'?url='+_0x318a36;}}return _0x48c68d;}))});}[_0x72c010(0x221)](){var _0xe1810e=_0x72c010,_0x45e179,_0x1e108a;const _0x17ba24=this[_0xe1810e(0x23d)][_0xe1810e(0x282)](It),_0x56be80=this[_0xe1810e(0x23d)][_0xe1810e(0x282)](K);return(_0x1e108a=(_0x45e179=_0x56be80==null?void 0x0:_0x56be80[_0xe1810e(0x280)])!=null?_0x45e179:_0x17ba24)!=null?_0x1e108a:Wt;}};ye=Ci([Ae(0x0,a[_0x72c010(0x25f)]),Ae(0x1,a[_0x72c010(0x21f)](Y[_0x72c010(0x48f)])),Ae(0x2,a[_0x72c010(0x21f)](a[_0x72c010(0x334)]))],ye);var Ti=Object[_0x72c010(0x43c)],bi=(_0x4fe7c1,_0x5b8fd9,_0x3adcc1,_0x1000c6)=>{var _0x581ad6=_0x72c010;for(var _0x59b65b=_0x1000c6>0x1?void 0x0:_0x1000c6?Ti(_0x5b8fd9,_0x3adcc1):_0x5b8fd9,_0x5eaee2=_0x4fe7c1[_0x581ad6(0x2f9)]-0x1,_0x59acf9;_0x5eaee2>=0x0;_0x5eaee2--)(_0x59acf9=_0x4fe7c1[_0x5eaee2])&&(_0x59b65b=_0x59acf9(_0x59b65b)||_0x59b65b);return _0x59b65b;},qe=(_0x5d6fef,_0xde9e18)=>(_0x3dcf16,_0x4bf41e)=>_0xde9e18(_0x3dcf16,_0x4bf41e,_0x5d6fef);const Ve='AUTHZ_URL_KEY',Ri=_0x72c010(0x3f1);function _0x347f(){var _0xfa0076=['subject','reconnect','3849612pzKxZn','updateOfflineData','_transformStack','_socket$','_event$','authzUrl','_showConflictNotification','/-/object/-/batch_allowed','CHANGESET_ACK','dispose','&assign=','uploadFileServerUrl','src','_transformRemoteChangesetByStateCache','onTransformIME','/fetchmissing?from=','YUUMI_SUBSCRIPTION_NOT_FOUND','UnitEmbedded','focused$','CipherParams','_snapshotService','CommandType','MD5','_waitCount','COMPLETION_FINISHED','requestParams','[CollaborationSession]','_sessions','_process','TOO_MANY_REQUESTS','push','_executeRemoteChangeset','saveSheetBlock','UNKNOWN_CMD','Failed\x20to\x20update\x20permission\x20point','Workbook','Encryptor','_key','from','list','YUUMI_TABLE_NOT_FOUND_IN_UNIT','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','collaboration-client.config','padding','_nRounds','emitEvent','createDecryptor','GLOBAL_ROOMS_CNT_EXCEEDS','range','[DataLoaderService]','merge','incrementRevOfUnit','commentUpdateEvent','[CollaborationSessionService]:\x20socket\x20error','image/bmp','_socket','@univerjs/core','createSocket','NoPadding','confirm','touchDependencies','isTransformMutationsWithChangesetSuccess','transformSelections','getOwnPropertyDescriptor','_decreaseWaiting','_state','NOT_COLLAB','/new_changes','formatter','onMissedChangesetFetched','_roomCreated$','[CollaborationState]:\x20apply\x20error!','join','/rev/','compose','\x20in\x20_schedule.','_throwTelemetryCollaborationNewChangeset','objectID','includes','saveImage','_map','enc','listCollaborators','originalMeta','COMPRESS_MUTATION_SEND','_logService','CLOSE_ROOM','OTHER_CLIENT_EDITING','setCurrentUser','COLLAB_SUBMIT_CHANGESET_URL_KEY','failed\x20to\x20apply\x20missed\x20changesets!','[PendingState]:\x20received\x20rejection.','stopTime','stringify','blockSize','getRandomValues','HTTPRequest','disableLocalCache','MergeInterceptorFactory','substr','routeKey','/universer-api/uniscript','csShouldRetryEvent','INVITE_CODE_REQUIRED','getTypeOfUnitDisposed$','MentionIoHttpService','getImage','[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.','YUUMI_UNABLE_LOAD_URL','6rraFSS','3855166vGylQM','equals','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','loadDoc','close$','FAIL','872saSaNV','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_waitForHeartbeatResponse','_getRedoStack','Subject','\x0aAfter:\x20','UNIVER_SHEET','call','ImageUploadStatusType','MentionType','_onConnectionFailed','PERMISSION_REJ','FileId','withCredentials','EvpKDF','encrypt','collaboration_new_changeset','_ENC_XFORM_MODE','cfg','_queuedRemoteChangesets','responseType','LIVESHARE_NEW_HOST','UserManagerService','_getAPIPrefixPath','delay','getMember','ConflictState','FETCH_MISSING','_resendTimeout','loadSheet','HTTPService','LIVESHARE_FETCH_OPERATIONS','image/jpeg','UNKNOWN_CODE','[OfflineState]:\x20received\x20changeset.','SOCKET_FAILED','editing\x20status\x20changed\x20to','_hasher','byteOffset','UNIVER_PROJECT','_userManagerService','reduce','AES','SetSelectionsOperation','YUUMI_ALL_TABLES_IS_INVALID','UNRECOGNIZED','_clearRedo','localCacheService','_createHmacHelper','INGEST','updateMember','onRemoteRetry','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','m2Prime','UNIVER_UNKNOWN','PSEUDO_FETCH_MISSING_RESULT','_candidateSocket','submit\x20changeset\x20error!','__creator','IContextService','cmd','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','unitID','_undoRedoService','objects','JOIN_ROOM_FAILED','LOCAL_CACHE_INTERVAL','__Key__','_compressMutationService','COLLAB_WEB_SOCKET_URL','get','readInt32LE','toDisposable','revision','EMAIL_HAS_BEEN_BOUND','UniverCollaborationClientPlugin','CollaborationUIEventService','/block/','map','CollaborationStatus','generateRandomId','People','SEND_CHANGESET_TIMEOUT','fetchThroughInterceptors','_scheduleCompleteTimestamp','pauseCollaboration','init','7906225vlcPtU','_getSendChangesetTimeout','Hasher','/unit/','Utf8','CollaborationUIEventId','CONFLICT','Injector','_init','clone','objectType','UNDEFINED','getCurrentUser','signUrlServerUrl','isArray','Latin1','connection\x20error','shouldCloseConn','CollaborationSession','roomInfos','YUUMI_AI_RUN_FAILED','_onMessage','complete','onTransformState','abs','_changesetSessionId','deepClone','ITransformService','socketService','processBlock','_instanceService','localeService','_resendTimer','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_getAPIPrefix','_sendHeartbeat','reset','_sheetTransformSelectionsService','_change$','updateSnapshot','onTransformRemoteChangesetByIMECache','getSheetId','extend','toggleOnline','/universer-api/file/{fileID}/sign-url','USER_NOT_INVITED_CODE','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','subscribe','_listenToNetworkCondition','onLocalMutation','override','file','univer-pro.collaboration-client.network-condition.service','interceptor','_iKey','_unlockTransition','onSendChangeset','roles','debug','pipe','_singleActiveUnitService','downloadEndpointUrl','HmacSHA1','uniscriptRunEvent','_type','_telemetryService','FETCH_MISS','initWorkbookPermissionChange','INVITE_CODE_HAS_BEEN_UES','_tryReconnect','image/png','SheetPermissionInitController','SHOULD_CLOSE_CONN','getTime','_registerDependencies','min','SheetTransformSelectionsService','SheetsSelectionsService','_keyPriorReset','_replayCachedMutations','SHA1','_parse','onlyLocal','/universer-api/snapshot','SNAPSHOT_HAS_BEEN_REMOVED','words','_getCtorByUniverType','mapDocumentTypeToUniverType','createIdentifier','InsertSheetMutation','collaboration-client.local-cache-service','HttpExport','SUBMIT_CHANGESET','_tryEnsureSocket','FetchingMissState','ENSURE_SNAPSHOT_EXECUTION','patch','UPDATE_CURSOR','_onConflict','dispose$','_append','_initUnitPermissionChange','APPLY_DUPLICATED','sessionStatus','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_memberService','random','_unitInfo$','append','baseRev','actions','_onOffline','fromCharCode','136SzOCOV','ONLINE','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','clear','OpenSSL','filter','_getUploadFileURL','sigBytes','byteLength','onStateChange','firstValueFrom','take','parseChangesetToProtocol','unitId\x20is\x20not\x20found','charCodeAt','reqId','INVALID_INVITE_CODE','url','[OfflineState]:\x20received\x20acknowledgement.','SheetCollaborationEntity','enableOfflineEditing','members$','OfflineState','refreshPermission','params','Disposable','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','lib','key','@univerjs/network','USERS_ENTER','@univerjs-pro/collaboration','_onJoinRoomEvent','onRemoteChangeset','hasher','MUTATION','\x20-\x20','WorkbookEditablePermission','_httpService','_onRemoteACK','LICENSE_MAX_UNITS_EXCEEDED','disposeWithMe','SNAPSHOT_URL_KEY','executeCommand','_localeService','_fetchMissChangesets','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','@univerjs/telemetry','hasOwnProperty','HMAC','loadOfflineData','RECV','setShowComponents','next','_startCollaboration','mode','batchAllowed','socket$','Plugin','LOCAL_CACHE_INTERVAL_KEY','_sendingTimer','algo','CommentService','capture','function','toStringTag','_minBufferSize','randomBytes','apply','iterations','resend','close','ERROR_IMAGE','_onUserJoin','defineProperty','_state$','infoRsp','getValue','createCollaborator','liveShareNewHost','isTransformChangesetsSuccess','decrypt','_toggleOnline','Rectangle','mixIn','_awaitingChangeset','shareReplay','[OfflineState]:\x20received\x20rejection.','fetching\x20missing\x20changesets\x20from\x20','Inject','DEFAULT_FILE_NAME','_getLoginPath','updatePermissionObjEvent','_undoStacks','_config','NO_OTHER_CLIENTS_EDITING','_createInitialState','AwaitingWithPendingState','leaveEvent','delete','getActiveSheet','fromCollab','Decryptor','[SyncedState]:\x20received\x20rejection.','_cipher','CONNECTOR_DATA_TOO_LARGE','_mode','textRanges','[PendingState]:\x20received\x20acknowledgement.','getUnitId','MOBILE_HAS_BEEN_BOUND','_handler','message$','catch','resolve','socket\x20open.','UUID','unsubscribe','repeat','_configService','_entities','put','OPTIONAL','_retryCount','pending','result','updateCursorEvent','replace','_keySchedule','_invKeySchedule','INVALID_ARGUMENT','eventID','BlockCipherMode','title','CollaborationSocketService','SUCCUSS','requireSession','/universer-api/comb','SNAPSHOT_SERVER_URL_KEY','parseProtocolChangeset','ISocketService','_transformService','ERROR_EXCEED_SIZE','RETRY_CONNECTING_MAX_COUNT_KEY','JOIN','has','clamp','_schedule','_socketReady','getCollabEntity','max','session.room-not-exists','toString','IConfigService','/role','POST','waitForRoom$','_initRequestHeader','NOT_FOUND','HEARTBEAT_TIMEOUT','SessionStatus','_reverseMap','set','getUnitStatus$','serializeCombRequest','reject','CollaborationImageIoService','PERMISSION_DENIED','entityInit$','snapshot','_shouldReportTelemetry','_oKey','splice','body','LOGIN_FAILED','onMissingChangesets','memberID','isPermissionRej','now','selections','_transformSelections','onStarting','_remoteChangesetQueue','synced','_socketMessageSubscription','22957gcDMNP','loginUrlKey','ISingleActiveUnitService','getConfig','UNISCRIPT_RUN','WECHAT_HAS_BEEN_BOUND','MSG_FOR_ERROR','_univerInstanceService','ICommandService','_imageSourceCache','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','floor','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_createSocket','changesets','UNAUTHENTICATED','CHANGESET_SHOULD_RETRY','addImageSourceCache','_clearTimeoutTimer','forEach','_getDownloadEndpointURL','string','awaiting_with_pending','onTransformSelections','liveShareOperation','_commentUpdate$','DEFAULT_WS_SESSION_TICKET_URL','IImageIoService','MemberService','setWaitCount','findIndex','APPLY_REJECT','fetchMissingChangesets','_joinRoom','_disableEditing','_clearLocalCache','_updateState','HEARTBEAT_INTERVAL_KEY','rxjs','CompressMutationService','CHANGESET_REJ','session.room-cnt-exceeds','SNAPSHOT_INVALID_SNAPSHOT','keySize','UNIVER_COLLABORATION_CLIENT_PLUGIN','fetchMiss','msCrypto','onSyncEditingCollabCursor','c1Prime','/universer-api/snapshot/','getCurrentRevOfUnit','b64DecodeUnicode','_rescheduleHeartbeat','href','onRemoteAck','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','Univer','_sendHeartbeatTimer','_collaborationUIEventService','exports','[SyncedState]:\x20received\x20acknowledgement.','unitId','getGlobalObject','_clearRetryConnectingTimer','Base64','UnitSnapshot','StreamCipher','IDLE','_getSignURL','userID','_revisionService','_removeRoom','DEFAULT_COLLAB_WEB_SOCKET_URL','duration','open$','_transformRemoteChangesetByIMECache','compute','ITelemetryService','createEncryptor','_doFinalize','getFocusedUnit','ImageSourceType','removeMember','event$','_xformMode','auth.needGotoLoginAlert','APPLY_REVISION_CONFILICT','toggleOffline','_startTelemetryCollaborationNewChangeset','registerDependencies','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','updateCollaborator','transformUndoRedo','UserProfileImg','_resendWithTimeout','_isPermissionRej','asObservable','textEncoder','loadUnitOfRevision','mutations','_onRemoteChangeset','appendMutation','error','{fileID}','state','_substituteUndoStack','COMMENT_UPDATE','_onCombEvent','putCollaborators','setConfig','Module','sid','prototype','transformMutationsWithChangeset','target','_createHelper','_nDataBytes','_collaborationTimeoutTimer','symbol','send','salt','RETRY_CONNECTING_MAX_COUNT','length','SYNCED','collaboratorID','newCsEvent','method','Error\x20on\x20receiving\x20event','find','kdf','/allowed','offline','getUnit','execute','_applyRemoteChangeset','post','finalize','RevisionService','_roomMembers','session.room-full','_checkMissing','_doReset','JOIN_ROOM_PERMISSION_DENIED','buffer','UniverInstanceType','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','every','BlockCipher','Quantity','crypto','state$','_onRecvEvent','Tools','format','CHANGESET_REVISION_CONFILICT','_retryConnectingTimer','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','INetworkConditionService','update','JOIN_ROOM_FULL','_status$','onCommandExecuted','getMemberID','encode','_redoStacks','/object','ivSize','HELLO','3907482PgfAQe','_permissionService','_localCacheService','_substituteRedoStack','_onFetchMissResult','CollaborativeUndoRedoService','_entityInit$','APPLY_NON_SEQUENTIAL_REVISION','_eventService','updatePermissionPoint','LEAVE','BASE64','IAuthzIoService','LocaleService','_collaborationSessionService','members','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','PENDING','[FetchMissState]','Base','JOIN_ROOM_NOT_EXISTS','_doCreateSocket','_lockTransition','action','create','_stopTelemetryCollaborationNewChangeset','_updateLocalCache','fetch_missing','[CollaborationEntity]','_commentService','/universer-api/stream/file/upload','/universer-api/user/session-ticket','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_transitionLocked','getUnitOnRev','charAt','_members','IUndoRedoService','mergeOverrideWithDependencies','DependentOn','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','status$','slice','SUBMIT_CHANGESET_TIMEOUT','_networkConditionService','getTypeOfUnitAdded$','_HTTPService','UNIVER_DOC','createInstance','add','_onLocalMutation','transformStack\x20failed!','RichTextEditingMutation','APPLY_PERMISSION_DENIED','_doProcessBlock','DataLoaderService','data','PY_RUNTIME_SCRIPT_ERROR','pluginName','_submitChangeset','_data','session','YUUMI_NO_CUBOID_FOR_QUESTION','_acknowledgedAwaitingChangeset','_pendingMutations','_changesetReqId','code','_prevBlock','_incrementRevisionNumber','_clearScheduledTask','_createHandler','_createInitialStateImpl','ILogService','onCommentUpdate','LOGIN_URL_KEY','CollaborationController','getRoom','loadUnit','retryConnectingInterval','closeSession','getInterceptPoints','Undefined','enableCollaboration','__esModule','type','ceil','AwaitingState','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','IUniverInstanceService','_syncEditingCollabCursor','_getCurrentRevision','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','status','_initMergeInterceptor','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_timeoutTimer','_updateStatus','deserializeToCombResponse','_doCryptBlock','OFFLINE','_toggleOffline','_clearHeartbeatTimer','_transformUndoredo','$super','OTHER_CLIENTS_EDITING','concat','image/gif','LICENSE_EXPORT_SIZE_EXCEEDED','SOCKET_FAILED_RETRY','addHandlerCallback','INTERNAL_ERROR','YUUMI_ASYNCIO_CANCELLED','YUUMI_RATE_OVER_LIMIT','JOINING','onTransformRemoteChangesetByStateCache','[CollaborationSessionService]','LIVESHARE_TERMINATE','USERS_LEAVE','23408810ycOyBQ','_transformIMECache','_injector','location','SyncedState','joinRsp','AUTHZ_URL_KEY','_handlerCallback','UPDATE_PERMISSION_OBJ','_unitID','name','Optional','pad','Hex','default','collaborators','getUnitType','size','unitInfo$','uuidv4','rxjs/operators','CollaborationEvent','c2Prime','error$','session.join-failed','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','readyForCollab','_transformStateCache','_collaborationPaused','_commandService','_sessionStatus$','_snapshotServerService','unit-cache-','sessionStatus$','SnapshotServerOverHTTPService','WordArray','sheets','editingUnit','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','IPermissionService','LICENSE_IMPORT_SIZE_EXCEEDED','[UniverCollaborationClientPlugin]','_initDependencies','AuthzIoHttpService','parse','COMPRESS_MUTATION_APPLY','ciphertext','BehaviorSubject','HttpImport','LIVESHARE_REQUEST_HOST','copyFileMeta','_telemetryInfo','UNIVER_SLIDE','[PendingState]:\x20unhandled\x20univer\x20type:\x20','RxDisposable','_iv','_onRemoteRejected','collabSubmitChangesetUrl','_getUndoStack','PendingState','saveChangeset','_onRemoteRetry','online$','COLLAB_WEB_SOCKET_URL_KEY','_initCloseConn','65466UnGzRX','unknown','LICENSE_DISTRO_REJECTED','ISnapshotServerService','YUUMI_URL_COL_OUT_OF_RANGE','awaitingChangeset','registerHTTPInterceptor','CollaborationEntity','/object/','\x20to\x20','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','Pkcs7','/-/object/list','takeUntil','/collaborator','getAllMembers','DocCollaborationEntity','HEARTBEAT','getImageSourceCache','/universer-api/authz','onRemoteRej','_members$','_hash','permissionRejEvent','_collabSessionService','[CollaborationUndoRedoService]','CollaborationSessionService','_sender','transformChangesets'];_0x347f=function(){return _0xfa0076;};return _0x347f();}exports[_0x72c010(0x3c8)]=class extends a[_0x72c010(0x1df)]{constructor(_0x4a9f69,_0x4cc8dc){var _0xdf595b=_0x72c010;super(),this[_0xdf595b(0x355)]=_0x4a9f69,this[_0xdf595b(0x23d)]=_0x4cc8dc,this[_0xdf595b(0x384)]();}[_0x72c010(0x384)](){var _0x2a018d=_0x72c010;const _0x1e052b=this;this[_0x2a018d(0x1ef)](this[_0x2a018d(0x355)][_0x2a018d(0x3e4)]({'priority':0x3e7,'interceptor':Y[_0x2a018d(0x45f)]({'isMatch'(_0x2e1887){var _0x16e3a3=_0x2a018d,_0x3597c1;if(_0x2e1887[_0x16e3a3(0x2fd)]===_0x16e3a3(0x261)&&((_0x3597c1=_0x2e1887['requestParams'])!=null&&_0x3597c1['body'])){const {objectID:_0x412756,objectType:_0x4beb6d}=_0x2e1887[_0x16e3a3(0x416)][_0x16e3a3(0x273)]||{};if(!_0x412756||_0x4beb6d===void 0x0)return!0x1;const _0xff693b=_0x1e052b['_getAPIPrefixPath']()+'/'+_0x4beb6d+_0x16e3a3(0x3e6)+_0x412756+_0x16e3a3(0x301);if(_0x2e1887[_0x16e3a3(0x1d7)]===_0xff693b)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xd927a2){var _0x3380b7=_0x2a018d,_0x3c156e;return(_0x3c156e=_0xd927a2['requestParams'])==null?void 0x0:_0x3c156e[_0x3380b7(0x273)];},'mergeParamsToRequest'(_0x4f13b1,_0x4d3854){var _0x7aaa85=_0x2a018d;const _0x9deaa9=_0x1e052b[_0x7aaa85(0x488)]()+_0x7aaa85(0x404),_0x29085a=_0x4f13b1[_0x7aaa85(0x49a)]((_0x2d2726,_0x3dc557)=>{var _0x4302de=_0x7aaa85;const {unitID:_0x321ccc,objectID:_0x58cff2,objectType:_0xe702d,actions:_0x409cf5}=_0x3dc557;return _0x2d2726[_0x321ccc]||(_0x2d2726[_0x321ccc]={}),_0x2d2726[_0x321ccc][_0x58cff2]||(_0x2d2726[_0x321ccc][_0x58cff2]={'objectID':_0x58cff2,'objectType':_0xe702d,'actions':[]}),_0x2d2726[_0x321ccc][_0x58cff2][_0x4302de(0x1c3)][_0x4302de(0x41b)](..._0x409cf5),_0x2d2726;},{}),_0x24be4c=[];for(const _0x4806c8 in _0x29085a)for(const _0x31b78b in _0x29085a[_0x4806c8]){const {actions:_0x40a987,objectType:_0xcbab41}=_0x29085a[_0x4806c8][_0x31b78b],_0x211be5=[...new Set(_0x40a987)];_0x24be4c[_0x7aaa85(0x41b)]({'unitID':_0x4806c8,'objectID':_0x31b78b,'objectType':_0xcbab41,'actions':_0x211be5});}return new Y[(_0x7aaa85(0x45d))](_0x7aaa85(0x261),_0x9deaa9,{'headers':_0x4d3854['headers'],'withCredentials':_0x4d3854[_0x7aaa85(0x47e)],'responseType':_0x4d3854[_0x7aaa85(0x485)],'body':{'requests':_0x24be4c}});}},{'distributeResult'(_0xbb9167,_0x2478f8){const {objectActions:_0x78f827}=_0xbb9167;return _0x2478f8['map'](_0x17f39e=>{var _0x107fcc=_0x284f;const {unitID:_0x2c43b1,objectID:_0x9f7fcb,actions:_0x1d5316}=_0x17f39e,_0x3deb85=_0x78f827[_0x107fcc(0x2ff)](_0x5ab631=>_0x5ab631['unitID']===_0x2c43b1&&_0x5ab631[_0x107fcc(0x44a)]===_0x9f7fcb),_0x2f34f3=_0x1d5316[_0x107fcc(0x14c)](_0xcf27bc=>_0x3deb85==null?void 0x0:_0x3deb85[_0x107fcc(0x1c3)][_0x107fcc(0x2ff)](_0x18143=>_0x18143[_0x107fcc(0x33e)]===_0xcf27bc))[_0x107fcc(0x1cb)](_0x170116=>!!_0x170116);return{'config':_0x17f39e,'result':{'actions':_0x2f34f3,'error':_0xbb9167['error']}};});}})}));}[_0x72c010(0x488)](){var _0x32d2ec=_0x72c010,_0x919a69,_0x1ce5ad;const _0xb1febd=this[_0x32d2ec(0x23d)][_0x32d2ec(0x282)](Ve),_0xab1c2e=this[_0x32d2ec(0x23d)][_0x32d2ec(0x282)](K);return(_0x1ce5ad=(_0x919a69=_0xab1c2e==null?void 0x0:_0xab1c2e[_0x32d2ec(0x402)])!=null?_0x919a69:_0xb1febd)!=null?_0x1ce5ad:Ri;}async[_0x72c010(0x33f)](_0x1c9434){var _0x16beda=_0x72c010;const _0xbad0a2=this[_0x16beda(0x488)]()+'/'+_0x1c9434[_0x16beda(0x15f)]+_0x16beda(0x324);return(await this[_0x16beda(0x355)][_0x16beda(0x306)](_0xbad0a2,{'body':_0x1c9434}))[_0x16beda(0x273)][_0x16beda(0x44a)]||'';}async[_0x72c010(0x424)](_0x14faae){var _0x325e40=_0x72c010;const _0x4194db=this['_getAPIPrefixPath']()+_0x325e40(0x3ea);return(await this[_0x325e40(0x355)]['post'](_0x4194db,{'body':_0x14faae}))[_0x325e40(0x273)][_0x325e40(0x4b1)];}async[_0x72c010(0x31d)](_0x300481){var _0x3b764e=_0x72c010,_0x575456,_0x3a35ba;const _0x8b3417=this['_getAPIPrefixPath']()+'/'+_0x300481[_0x3b764e(0x15f)]+_0x3b764e(0x3e6)+_0x300481[_0x3b764e(0x44a)],_0x11aa86=await this[_0x3b764e(0x355)][_0x3b764e(0x23f)](_0x8b3417,{'body':_0x300481});if(((_0x3a35ba=(_0x575456=_0x11aa86==null?void 0x0:_0x11aa86['body'])==null?void 0x0:_0x575456[_0x3b764e(0x2e5)])==null?void 0x0:_0x3a35ba['code'])!==0x1)throw new Error(_0x3b764e(0x41f));}async['allowed'](_0x1a0ab6){var _0x7e103=_0x72c010;const _0x17db9e=this[_0x7e103(0x488)]()+'/'+_0x1a0ab6[_0x7e103(0x15f)]+_0x7e103(0x3e6)+_0x1a0ab6[_0x7e103(0x44a)]+_0x7e103(0x301);return(await this[_0x7e103(0x355)][_0x7e103(0x306)](_0x17db9e,{'body':_0x1a0ab6}))['body']['actions'];}async[_0x72c010(0x1fe)](_0x21d26a){var _0x11e99f=_0x72c010;const _0x5af2d9=this[_0x11e99f(0x488)]()+_0x11e99f(0x404);return(await this[_0x11e99f(0x355)][_0x11e99f(0x306)](_0x5af2d9,{'body':{'requests':_0x21d26a}}))['body']['objectActions'];}async['listRoles'](_0x14ea11){var _0x3eac45=_0x72c010;const _0x4f3252=this[_0x3eac45(0x488)]()+'/'+_0x14ea11['objectType']+_0x3eac45(0x260),_0x38ab3d=await this[_0x3eac45(0x355)][_0x3eac45(0x306)](_0x4f3252,{'body':_0x14ea11});return{'roles':_0x38ab3d[_0x3eac45(0x273)][_0x3eac45(0x18e)],'actions':_0x38ab3d[_0x3eac45(0x273)][_0x3eac45(0x1c3)]};}async['deleteCollaborator'](_0x1736dc){var _0x59ca28=_0x72c010;const _0x500822=this['_getAPIPrefixPath']()+_0x59ca28(0x3ec);await this[_0x59ca28(0x355)][_0x59ca28(0x229)](_0x500822,{'params':{'collaboratorID':_0x1736dc[_0x59ca28(0x2fb)],'objectID':_0x1736dc[_0x59ca28(0x44a)],'unitID':_0x1736dc[_0x59ca28(0x4af)]}});}async[_0x72c010(0x2da)](_0x45bc80){var _0x2d2d8f=_0x72c010;const _0x3b2692=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x2d2d8f(0x355)][_0x2d2d8f(0x1b5)](_0x3b2692,{'body':_0x45bc80});}async[_0x72c010(0x214)](_0x2513a8){var _0x1a33e7=_0x72c010;const _0x2d6bee=this[_0x1a33e7(0x488)]()+_0x1a33e7(0x3ec);await this[_0x1a33e7(0x355)]['post'](_0x2d6bee,{'body':_0x2513a8});}async[_0x72c010(0x44f)](_0x38887d){var _0x11d3d5=_0x72c010;const _0x7e4d69=this[_0x11d3d5(0x488)]()+_0x11d3d5(0x3ec);return(await this[_0x11d3d5(0x355)][_0x11d3d5(0x4b7)](_0x7e4d69,{'params':{'objectID':_0x38887d[_0x11d3d5(0x44a)],'unitID':_0x38887d[_0x11d3d5(0x4af)]}}))[_0x11d3d5(0x273)][_0x11d3d5(0x3ac)];}async[_0x72c010(0x2eb)](_0x137ac5){var _0x4a997c=_0x72c010;const _0x1687b3=this['_getAPIPrefixPath']()+_0x4a997c(0x3ec);await this[_0x4a997c(0x355)]['put'](_0x1687b3,{'body':_0x137ac5});}},exports[_0x72c010(0x3c8)]=bi([qe(0x0,a[_0x72c010(0x21f)](Y['HTTPService'])),qe(0x1,a[_0x72c010(0x21f)](a[_0x72c010(0x25f)]))],exports[_0x72c010(0x3c8)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x3173d9){var _0x45915f=_0x72c010;return _0x3173d9&&_0x3173d9[_0x45915f(0x37a)]&&Object['prototype'][_0x45915f(0x1f6)][_0x45915f(0x478)](_0x3173d9,_0x45915f(0x3ab))?_0x3173d9['default']:_0x3173d9;}var fe={'exports':{}};function Oi(_0x1d375c){var _0x45634a=_0x72c010;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x1d375c+_0x45634a(0x3c3));}var pe={'exports':{}},yi=pe[_0x72c010(0x2ba)],ze;function Q(){var _0x82900b=_0x72c010;return ze||(ze=0x1,function(_0x2ba876,_0x340383){(function(_0x4116bb,_0x103535){var _0xfd7bdc=_0x284f;_0x2ba876[_0xfd7bdc(0x2ba)]=_0x103535();}(yi,function(){var _0xb2a711=_0xb2a711||function(_0x31fca2,_0x4fefcb){var _0x5bfe6e=_0x284f,_0x586a60;if(typeof window<'u'&&window[_0x5bfe6e(0x314)]&&(_0x586a60=window[_0x5bfe6e(0x314)]),typeof self<'u'&&self[_0x5bfe6e(0x314)]&&(_0x586a60=self[_0x5bfe6e(0x314)]),typeof globalThis<'u'&&globalThis[_0x5bfe6e(0x314)]&&(_0x586a60=globalThis[_0x5bfe6e(0x314)]),!_0x586a60&&typeof window<'u'&&window[_0x5bfe6e(0x2ad)]&&(_0x586a60=window[_0x5bfe6e(0x2ad)]),!_0x586a60&&typeof Pe<'u'&&Pe[_0x5bfe6e(0x314)]&&(_0x586a60=Pe[_0x5bfe6e(0x314)]),!_0x586a60&&typeof Oi=='function')try{_0x586a60=require(_0x5bfe6e(0x314));}catch{}var _0xf1f64d=function(){var _0x10dde4=_0x5bfe6e;if(_0x586a60){if(typeof _0x586a60[_0x10dde4(0x45c)]==_0x10dde4(0x206))try{return _0x586a60[_0x10dde4(0x45c)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x586a60[_0x10dde4(0x209)]==_0x10dde4(0x206))try{return _0x586a60['randomBytes'](0x4)[_0x10dde4(0x145)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x47928a=Object['create']||(function(){function _0x2b0c9d(){}return function(_0x33e4d4){var _0x5d0199=_0x284f,_0x2c72e7;return _0x2b0c9d[_0x5d0199(0x2ef)]=_0x33e4d4,_0x2c72e7=new _0x2b0c9d(),_0x2b0c9d[_0x5d0199(0x2ef)]=null,_0x2c72e7;};}()),_0x5ca683={},_0x56a03f=_0x5ca683['lib']={},_0x3f51ed=_0x56a03f[_0x5bfe6e(0x33a)]=(function(){return{'extend':function(_0x3d076c){var _0x83802d=_0x284f,_0x4ed2d6=_0x47928a(this);return _0x3d076c&&_0x4ed2d6['mixIn'](_0x3d076c),(!_0x4ed2d6['hasOwnProperty'](_0x83802d(0x154))||this['init']===_0x4ed2d6['init'])&&(_0x4ed2d6[_0x83802d(0x154)]=function(){var _0x475923=_0x83802d;_0x4ed2d6[_0x475923(0x38e)]['init'][_0x475923(0x20a)](this,arguments);}),_0x4ed2d6['init']['prototype']=_0x4ed2d6,_0x4ed2d6[_0x83802d(0x38e)]=this,_0x4ed2d6;},'create':function(){var _0x5072ac=_0x284f,_0x391e7a=this['extend']();return _0x391e7a[_0x5072ac(0x154)][_0x5072ac(0x20a)](_0x391e7a,arguments),_0x391e7a;},'init':function(){},'mixIn':function(_0x4f9077){var _0x4d66c3=_0x284f;for(var _0x33909b in _0x4f9077)_0x4f9077['hasOwnProperty'](_0x33909b)&&(this[_0x33909b]=_0x4f9077[_0x33909b]);_0x4f9077[_0x4d66c3(0x1f6)](_0x4d66c3(0x25e))&&(this['toString']=_0x4f9077[_0x4d66c3(0x25e)]);},'clone':function(){var _0x176598=_0x284f;return this['init']['prototype'][_0x176598(0x17f)](this);}};}()),_0x5f233b=_0x56a03f[_0x5bfe6e(0x3c0)]=_0x3f51ed['extend']({'init':function(_0x3abee2,_0x4dd90c){var _0x1ca9c7=_0x5bfe6e;_0x3abee2=this['words']=_0x3abee2||[],_0x4dd90c!=_0x4fefcb?this['sigBytes']=_0x4dd90c:this[_0x1ca9c7(0x1cd)]=_0x3abee2[_0x1ca9c7(0x2f9)]*0x4;},'toString':function(_0x441330){var _0x312eef=_0x5bfe6e;return(_0x441330||_0x342fc7)[_0x312eef(0x45a)](this);},'concat':function(_0x53cc5a){var _0x4e3534=_0x5bfe6e,_0x25d354=this[_0x4e3534(0x1aa)],_0x47e24e=_0x53cc5a[_0x4e3534(0x1aa)],_0x56b951=this[_0x4e3534(0x1cd)],_0x123ccf=_0x53cc5a['sigBytes'];if(this[_0x4e3534(0x258)](),_0x56b951%0x4)for(var _0x16565f=0x0;_0x16565f<_0x123ccf;_0x16565f++){var _0x3f863e=_0x47e24e[_0x16565f>>>0x2]>>>0x18-_0x16565f%0x4*0x8&0xff;_0x25d354[_0x56b951+_0x16565f>>>0x2]|=_0x3f863e<<0x18-(_0x56b951+_0x16565f)%0x4*0x8;}else{for(var _0x1da2d0=0x0;_0x1da2d0<_0x123ccf;_0x1da2d0+=0x4)_0x25d354[_0x56b951+_0x1da2d0>>>0x2]=_0x47e24e[_0x1da2d0>>>0x2];}return this[_0x4e3534(0x1cd)]+=_0x123ccf,this;},'clamp':function(){var _0x34f041=_0x5bfe6e,_0x52d986=this[_0x34f041(0x1aa)],_0x100c77=this['sigBytes'];_0x52d986[_0x100c77>>>0x2]&=0xffffffff<<0x20-_0x100c77%0x4*0x8,_0x52d986[_0x34f041(0x2f9)]=_0x31fca2[_0x34f041(0x37c)](_0x100c77/0x4);},'clone':function(){var _0x3b4e7d=_0x5bfe6e,_0x206820=_0x3f51ed[_0x3b4e7d(0x15e)][_0x3b4e7d(0x478)](this);return _0x206820['words']=this[_0x3b4e7d(0x1aa)][_0x3b4e7d(0x351)](0x0),_0x206820;},'random':function(_0x2ad1ec){var _0x198257=_0x5bfe6e;for(var _0x56030b=[],_0x37800a=0x0;_0x37800a<_0x2ad1ec;_0x37800a+=0x4)_0x56030b[_0x198257(0x41b)](_0xf1f64d());return new _0x5f233b[(_0x198257(0x154))](_0x56030b,_0x2ad1ec);}}),_0x586c1b=_0x5ca683[_0x5bfe6e(0x44e)]={},_0x342fc7=_0x586c1b[_0x5bfe6e(0x3aa)]={'stringify':function(_0x235305){var _0x5330b4=_0x5bfe6e;for(var _0x1707d6=_0x235305[_0x5330b4(0x1aa)],_0x1e1276=_0x235305[_0x5330b4(0x1cd)],_0x2ee85a=[],_0x88882d=0x0;_0x88882d<_0x1e1276;_0x88882d++){var _0x3146f9=_0x1707d6[_0x88882d>>>0x2]>>>0x18-_0x88882d%0x4*0x8&0xff;_0x2ee85a[_0x5330b4(0x41b)]((_0x3146f9>>>0x4)[_0x5330b4(0x25e)](0x10)),_0x2ee85a[_0x5330b4(0x41b)]((_0x3146f9&0xf)[_0x5330b4(0x25e)](0x10));}return _0x2ee85a[_0x5330b4(0x445)]('');},'parse':function(_0xd6dba0){var _0x1a48cd=_0x5bfe6e;for(var _0x297cbf=_0xd6dba0[_0x1a48cd(0x2f9)],_0x1f9ffe=[],_0x5a30cf=0x0;_0x5a30cf<_0x297cbf;_0x5a30cf+=0x2)_0x1f9ffe[_0x5a30cf>>>0x3]|=parseInt(_0xd6dba0[_0x1a48cd(0x460)](_0x5a30cf,0x2),0x10)<<0x18-_0x5a30cf%0x8*0x4;return new _0x5f233b['init'](_0x1f9ffe,_0x297cbf/0x2);}},_0xec2a75=_0x586c1b[_0x5bfe6e(0x164)]={'stringify':function(_0x4385d8){var _0x2abcec=_0x5bfe6e;for(var _0x197fe9=_0x4385d8[_0x2abcec(0x1aa)],_0xe7a72d=_0x4385d8['sigBytes'],_0x425294=[],_0x71da99=0x0;_0x71da99<_0xe7a72d;_0x71da99++){var _0x18cb20=_0x197fe9[_0x71da99>>>0x2]>>>0x18-_0x71da99%0x4*0x8&0xff;_0x425294['push'](String[_0x2abcec(0x1c5)](_0x18cb20));}return _0x425294[_0x2abcec(0x445)]('');},'parse':function(_0x4f4a27){var _0xdb501c=_0x5bfe6e;for(var _0x18358=_0x4f4a27['length'],_0x209e98=[],_0x537026=0x0;_0x537026<_0x18358;_0x537026++)_0x209e98[_0x537026>>>0x2]|=(_0x4f4a27[_0xdb501c(0x1d4)](_0x537026)&0xff)<<0x18-_0x537026%0x4*0x8;return new _0x5f233b[(_0xdb501c(0x154))](_0x209e98,_0x18358);}},_0x56c3da=_0x586c1b[_0x5bfe6e(0x159)]={'stringify':function(_0x20aa52){var _0x38143c=_0x5bfe6e;try{return decodeURIComponent(escape(_0xec2a75[_0x38143c(0x45a)](_0x20aa52)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x71533b){var _0x6e849d=_0x5bfe6e;return _0xec2a75[_0x6e849d(0x3c9)](unescape(encodeURIComponent(_0x71533b)));}},_0x16f950=_0x56a03f['BufferedBlockAlgorithm']=_0x3f51ed[_0x5bfe6e(0x17f)]({'reset':function(){var _0x43196f=_0x5bfe6e;this[_0x43196f(0x363)]=new _0x5f233b['init'](),this[_0x43196f(0x2f3)]=0x0;},'_append':function(_0x393730){var _0x147771=_0x5bfe6e;typeof _0x393730==_0x147771(0x294)&&(_0x393730=_0x56c3da[_0x147771(0x3c9)](_0x393730)),this[_0x147771(0x363)]['concat'](_0x393730),this[_0x147771(0x2f3)]+=_0x393730[_0x147771(0x1cd)];},'_process':function(_0x5817cb){var _0x44e0cd=_0x5bfe6e,_0x9119a5,_0x432395=this['_data'],_0x54b66e=_0x432395[_0x44e0cd(0x1aa)],_0x39069a=_0x432395[_0x44e0cd(0x1cd)],_0x5d0e6a=this['blockSize'],_0x423cc5=_0x5d0e6a*0x4,_0x5549d5=_0x39069a/_0x423cc5;_0x5817cb?_0x5549d5=_0x31fca2['ceil'](_0x5549d5):_0x5549d5=_0x31fca2[_0x44e0cd(0x25c)]((_0x5549d5|0x0)-this[_0x44e0cd(0x208)],0x0);var _0x52d883=_0x5549d5*_0x5d0e6a,_0xcde870=_0x31fca2[_0x44e0cd(0x1a0)](_0x52d883*0x4,_0x39069a);if(_0x52d883){for(var _0x551ba4=0x0;_0x551ba4<_0x52d883;_0x551ba4+=_0x5d0e6a)this[_0x44e0cd(0x35d)](_0x54b66e,_0x551ba4);_0x9119a5=_0x54b66e[_0x44e0cd(0x272)](0x0,_0x52d883),_0x432395[_0x44e0cd(0x1cd)]-=_0xcde870;}return new _0x5f233b['init'](_0x9119a5,_0xcde870);},'clone':function(){var _0x18cf23=_0x5bfe6e,_0x934950=_0x3f51ed[_0x18cf23(0x15e)][_0x18cf23(0x478)](this);return _0x934950[_0x18cf23(0x363)]=this['_data'][_0x18cf23(0x15e)](),_0x934950;},'_minBufferSize':0x0});_0x56a03f[_0x5bfe6e(0x157)]=_0x16f950['extend']({'cfg':_0x3f51ed[_0x5bfe6e(0x17f)](),'init':function(_0x5e7bc3){var _0x3380d6=_0x5bfe6e;this[_0x3380d6(0x483)]=this['cfg']['extend'](_0x5e7bc3),this[_0x3380d6(0x179)]();},'reset':function(){var _0x27838a=_0x5bfe6e;_0x16f950[_0x27838a(0x179)][_0x27838a(0x478)](this),this[_0x27838a(0x30c)]();},'update':function(_0x1b84db){var _0x35d313=_0x5bfe6e;return this[_0x35d313(0x1b9)](_0x1b84db),this[_0x35d313(0x419)](),this;},'finalize':function(_0x399cf6){var _0x56360d=_0x5bfe6e;_0x399cf6&&this[_0x56360d(0x1b9)](_0x399cf6);var _0x54317c=this[_0x56360d(0x2ce)]();return _0x54317c;},'blockSize':0x10,'_createHelper':function(_0x102c7b){return function(_0x3c38fe,_0x1ed4ba){var _0x1aa67c=_0x284f;return new _0x102c7b[(_0x1aa67c(0x154))](_0x1ed4ba)[_0x1aa67c(0x307)](_0x3c38fe);};},'_createHmacHelper':function(_0x450ce0){return function(_0x1f51bb,_0x21f952){var _0x2cf261=_0x284f;return new _0x2cb6b4[(_0x2cf261(0x1f7))][(_0x2cf261(0x154))](_0x450ce0,_0x21f952)[_0x2cf261(0x307)](_0x1f51bb);};}});var _0x2cb6b4=_0x5ca683[_0x5bfe6e(0x203)]={};return _0x5ca683;}(Math);return _0xb2a711;}));}(pe)),pe[_0x82900b(0x2ba)];}var Ie={'exports':{}},Ni=Ie[_0x72c010(0x2ba)],Je;function yt(){var _0x23422f=_0x72c010;return Je||(Je=0x1,function(_0x50f60c,_0x5635b1){(function(_0x45d290,_0x24667f){var _0x3da731=_0x284f;_0x50f60c[_0x3da731(0x2ba)]=_0x24667f(Q());}(Ni,function(_0x4b2364){var _0x3525cf=_0x284f;return(function(){var _0x353b1f=_0x284f,_0x2a9e00=_0x4b2364,_0x4e597f=_0x2a9e00[_0x353b1f(0x1e1)],_0x222a66=_0x4e597f[_0x353b1f(0x3c0)],_0x11d1df=_0x2a9e00[_0x353b1f(0x44e)];_0x11d1df[_0x353b1f(0x2bf)]={'stringify':function(_0x24ae8a){var _0x4e7b16=_0x353b1f,_0xe6481f=_0x24ae8a[_0x4e7b16(0x1aa)],_0x52c971=_0x24ae8a[_0x4e7b16(0x1cd)],_0x947c04=this[_0x4e7b16(0x44d)];_0x24ae8a[_0x4e7b16(0x258)]();for(var _0x3da394=[],_0x5d702e=0x0;_0x5d702e<_0x52c971;_0x5d702e+=0x3)for(var _0x9ae9bf=_0xe6481f[_0x5d702e>>>0x2]>>>0x18-_0x5d702e%0x4*0x8&0xff,_0x5359ec=_0xe6481f[_0x5d702e+0x1>>>0x2]>>>0x18-(_0x5d702e+0x1)%0x4*0x8&0xff,_0x4b80a2=_0xe6481f[_0x5d702e+0x2>>>0x2]>>>0x18-(_0x5d702e+0x2)%0x4*0x8&0xff,_0x151194=_0x9ae9bf<<0x10|_0x5359ec<<0x8|_0x4b80a2,_0x1d128c=0x0;_0x1d128c<0x4&&_0x5d702e+_0x1d128c*0.75<_0x52c971;_0x1d128c++)_0x3da394['push'](_0x947c04[_0x4e7b16(0x34a)](_0x151194>>>0x6*(0x3-_0x1d128c)&0x3f));var _0x371381=_0x947c04['charAt'](0x40);if(_0x371381){for(;_0x3da394[_0x4e7b16(0x2f9)]%0x4;)_0x3da394['push'](_0x371381);}return _0x3da394[_0x4e7b16(0x445)]('');},'parse':function(_0xb69cf1){var _0x4eea27=_0x353b1f,_0x874343=_0xb69cf1[_0x4eea27(0x2f9)],_0x15619b=this[_0x4eea27(0x44d)],_0x1a09ba=this[_0x4eea27(0x267)];if(!_0x1a09ba){_0x1a09ba=this[_0x4eea27(0x267)]=[];for(var _0x2f1678=0x0;_0x2f1678<_0x15619b[_0x4eea27(0x2f9)];_0x2f1678++)_0x1a09ba[_0x15619b[_0x4eea27(0x1d4)](_0x2f1678)]=_0x2f1678;}var _0x4df31e=_0x15619b[_0x4eea27(0x34a)](0x40);if(_0x4df31e){var _0x2bb4ec=_0xb69cf1['indexOf'](_0x4df31e);_0x2bb4ec!==-0x1&&(_0x874343=_0x2bb4ec);}return _0x305176(_0xb69cf1,_0x874343,_0x1a09ba);},'_map':_0x353b1f(0x1e0)};function _0x305176(_0x32fb8b,_0x363182,_0x1b78e2){var _0x2f0309=_0x353b1f;for(var _0x796906=[],_0x1f2041=0x0,_0x37a194=0x0;_0x37a194<_0x363182;_0x37a194++)if(_0x37a194%0x4){var _0x25dbab=_0x1b78e2[_0x32fb8b[_0x2f0309(0x1d4)](_0x37a194-0x1)]<<_0x37a194%0x4*0x2,_0x3b3e68=_0x1b78e2[_0x32fb8b[_0x2f0309(0x1d4)](_0x37a194)]>>>0x6-_0x37a194%0x4*0x2,_0x4da478=_0x25dbab|_0x3b3e68;_0x796906[_0x1f2041>>>0x2]|=_0x4da478<<0x18-_0x1f2041%0x4*0x8,_0x1f2041++;}return _0x222a66[_0x2f0309(0x33f)](_0x796906,_0x1f2041);}}()),_0x4b2364['enc'][_0x3525cf(0x2bf)];}));}(Ie)),Ie[_0x23422f(0x2ba)];}var ge={'exports':{}},Ui=ge[_0x72c010(0x2ba)],Xe;function Di(){var _0x3e8deb=_0x72c010;return Xe||(Xe=0x1,function(_0x105844,_0x173b38){(function(_0x131ce8,_0x334667){_0x105844['exports']=_0x334667(Q());}(Ui,function(_0x47fd7e){var _0x5b4a38=_0x284f;return function(_0x1cc6c3){var _0x5301b1=_0x284f,_0x45f4b4=_0x47fd7e,_0x25150a=_0x45f4b4[_0x5301b1(0x1e1)],_0x30b38d=_0x25150a[_0x5301b1(0x3c0)],_0x13b871=_0x25150a[_0x5301b1(0x157)],_0x15e6c4=_0x45f4b4[_0x5301b1(0x203)],_0x418b09=[];(function(){var _0x51705b=_0x5301b1;for(var _0x5ca368=0x0;_0x5ca368<0x40;_0x5ca368++)_0x418b09[_0x5ca368]=_0x1cc6c3[_0x51705b(0x16d)](_0x1cc6c3['sin'](_0x5ca368+0x1))*0x100000000|0x0;}());var _0x1ec0e1=_0x15e6c4[_0x5301b1(0x413)]=_0x13b871[_0x5301b1(0x17f)]({'_doReset':function(){var _0xc4989=_0x5301b1;this[_0xc4989(0x3f4)]=new _0x30b38d[(_0xc4989(0x154))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x515961,_0x56be75){var _0x2d8533=_0x5301b1;for(var _0x248ff2=0x0;_0x248ff2<0x10;_0x248ff2++){var _0x2eaebb=_0x56be75+_0x248ff2,_0xaa1cf8=_0x515961[_0x2eaebb];_0x515961[_0x2eaebb]=(_0xaa1cf8<<0x8|_0xaa1cf8>>>0x18)&0xff00ff|(_0xaa1cf8<<0x18|_0xaa1cf8>>>0x8)&0xff00ff00;}var _0x3b13a6=this[_0x2d8533(0x3f4)][_0x2d8533(0x1aa)],_0x2f6561=_0x515961[_0x56be75+0x0],_0x106543=_0x515961[_0x56be75+0x1],_0x12f824=_0x515961[_0x56be75+0x2],_0x291061=_0x515961[_0x56be75+0x3],_0x12926a=_0x515961[_0x56be75+0x4],_0x53548c=_0x515961[_0x56be75+0x5],_0x573348=_0x515961[_0x56be75+0x6],_0x401f26=_0x515961[_0x56be75+0x7],_0x1fce8a=_0x515961[_0x56be75+0x8],_0x44a83e=_0x515961[_0x56be75+0x9],_0x13391d=_0x515961[_0x56be75+0xa],_0x31b6d1=_0x515961[_0x56be75+0xb],_0x43fa38=_0x515961[_0x56be75+0xc],_0x1faee6=_0x515961[_0x56be75+0xd],_0x197cbd=_0x515961[_0x56be75+0xe],_0xfda385=_0x515961[_0x56be75+0xf],_0x539f06=_0x3b13a6[0x0],_0x4299c4=_0x3b13a6[0x1],_0x3541a8=_0x3b13a6[0x2],_0x5619ff=_0x3b13a6[0x3];_0x539f06=_0x1df739(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x2f6561,0x7,_0x418b09[0x0]),_0x5619ff=_0x1df739(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0x106543,0xc,_0x418b09[0x1]),_0x3541a8=_0x1df739(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0x12f824,0x11,_0x418b09[0x2]),_0x4299c4=_0x1df739(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0x291061,0x16,_0x418b09[0x3]),_0x539f06=_0x1df739(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x12926a,0x7,_0x418b09[0x4]),_0x5619ff=_0x1df739(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0x53548c,0xc,_0x418b09[0x5]),_0x3541a8=_0x1df739(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0x573348,0x11,_0x418b09[0x6]),_0x4299c4=_0x1df739(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0x401f26,0x16,_0x418b09[0x7]),_0x539f06=_0x1df739(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x1fce8a,0x7,_0x418b09[0x8]),_0x5619ff=_0x1df739(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0x44a83e,0xc,_0x418b09[0x9]),_0x3541a8=_0x1df739(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0x13391d,0x11,_0x418b09[0xa]),_0x4299c4=_0x1df739(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0x31b6d1,0x16,_0x418b09[0xb]),_0x539f06=_0x1df739(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x43fa38,0x7,_0x418b09[0xc]),_0x5619ff=_0x1df739(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0x1faee6,0xc,_0x418b09[0xd]),_0x3541a8=_0x1df739(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0x197cbd,0x11,_0x418b09[0xe]),_0x4299c4=_0x1df739(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0xfda385,0x16,_0x418b09[0xf]),_0x539f06=_0x5a3349(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x106543,0x5,_0x418b09[0x10]),_0x5619ff=_0x5a3349(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0x573348,0x9,_0x418b09[0x11]),_0x3541a8=_0x5a3349(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0x31b6d1,0xe,_0x418b09[0x12]),_0x4299c4=_0x5a3349(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0x2f6561,0x14,_0x418b09[0x13]),_0x539f06=_0x5a3349(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x53548c,0x5,_0x418b09[0x14]),_0x5619ff=_0x5a3349(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0x13391d,0x9,_0x418b09[0x15]),_0x3541a8=_0x5a3349(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0xfda385,0xe,_0x418b09[0x16]),_0x4299c4=_0x5a3349(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0x12926a,0x14,_0x418b09[0x17]),_0x539f06=_0x5a3349(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x44a83e,0x5,_0x418b09[0x18]),_0x5619ff=_0x5a3349(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0x197cbd,0x9,_0x418b09[0x19]),_0x3541a8=_0x5a3349(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0x291061,0xe,_0x418b09[0x1a]),_0x4299c4=_0x5a3349(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0x1fce8a,0x14,_0x418b09[0x1b]),_0x539f06=_0x5a3349(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x1faee6,0x5,_0x418b09[0x1c]),_0x5619ff=_0x5a3349(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0x12f824,0x9,_0x418b09[0x1d]),_0x3541a8=_0x5a3349(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0x401f26,0xe,_0x418b09[0x1e]),_0x4299c4=_0x5a3349(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0x43fa38,0x14,_0x418b09[0x1f]),_0x539f06=_0x5be237(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x53548c,0x4,_0x418b09[0x20]),_0x5619ff=_0x5be237(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0x1fce8a,0xb,_0x418b09[0x21]),_0x3541a8=_0x5be237(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0x31b6d1,0x10,_0x418b09[0x22]),_0x4299c4=_0x5be237(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0x197cbd,0x17,_0x418b09[0x23]),_0x539f06=_0x5be237(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x106543,0x4,_0x418b09[0x24]),_0x5619ff=_0x5be237(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0x12926a,0xb,_0x418b09[0x25]),_0x3541a8=_0x5be237(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0x401f26,0x10,_0x418b09[0x26]),_0x4299c4=_0x5be237(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0x13391d,0x17,_0x418b09[0x27]),_0x539f06=_0x5be237(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x1faee6,0x4,_0x418b09[0x28]),_0x5619ff=_0x5be237(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0x2f6561,0xb,_0x418b09[0x29]),_0x3541a8=_0x5be237(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0x291061,0x10,_0x418b09[0x2a]),_0x4299c4=_0x5be237(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0x573348,0x17,_0x418b09[0x2b]),_0x539f06=_0x5be237(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x44a83e,0x4,_0x418b09[0x2c]),_0x5619ff=_0x5be237(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0x43fa38,0xb,_0x418b09[0x2d]),_0x3541a8=_0x5be237(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0xfda385,0x10,_0x418b09[0x2e]),_0x4299c4=_0x5be237(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0x12f824,0x17,_0x418b09[0x2f]),_0x539f06=_0x21cbdf(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x2f6561,0x6,_0x418b09[0x30]),_0x5619ff=_0x21cbdf(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0x401f26,0xa,_0x418b09[0x31]),_0x3541a8=_0x21cbdf(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0x197cbd,0xf,_0x418b09[0x32]),_0x4299c4=_0x21cbdf(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0x53548c,0x15,_0x418b09[0x33]),_0x539f06=_0x21cbdf(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x43fa38,0x6,_0x418b09[0x34]),_0x5619ff=_0x21cbdf(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0x291061,0xa,_0x418b09[0x35]),_0x3541a8=_0x21cbdf(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0x13391d,0xf,_0x418b09[0x36]),_0x4299c4=_0x21cbdf(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0x106543,0x15,_0x418b09[0x37]),_0x539f06=_0x21cbdf(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x1fce8a,0x6,_0x418b09[0x38]),_0x5619ff=_0x21cbdf(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0xfda385,0xa,_0x418b09[0x39]),_0x3541a8=_0x21cbdf(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0x573348,0xf,_0x418b09[0x3a]),_0x4299c4=_0x21cbdf(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0x1faee6,0x15,_0x418b09[0x3b]),_0x539f06=_0x21cbdf(_0x539f06,_0x4299c4,_0x3541a8,_0x5619ff,_0x12926a,0x6,_0x418b09[0x3c]),_0x5619ff=_0x21cbdf(_0x5619ff,_0x539f06,_0x4299c4,_0x3541a8,_0x31b6d1,0xa,_0x418b09[0x3d]),_0x3541a8=_0x21cbdf(_0x3541a8,_0x5619ff,_0x539f06,_0x4299c4,_0x12f824,0xf,_0x418b09[0x3e]),_0x4299c4=_0x21cbdf(_0x4299c4,_0x3541a8,_0x5619ff,_0x539f06,_0x44a83e,0x15,_0x418b09[0x3f]),_0x3b13a6[0x0]=_0x3b13a6[0x0]+_0x539f06|0x0,_0x3b13a6[0x1]=_0x3b13a6[0x1]+_0x4299c4|0x0,_0x3b13a6[0x2]=_0x3b13a6[0x2]+_0x3541a8|0x0,_0x3b13a6[0x3]=_0x3b13a6[0x3]+_0x5619ff|0x0;},'_doFinalize':function(){var _0xc0a403=_0x5301b1,_0x54282e=this[_0xc0a403(0x363)],_0x45c066=_0x54282e[_0xc0a403(0x1aa)],_0x2a7b0b=this['_nDataBytes']*0x8,_0x344a2e=_0x54282e[_0xc0a403(0x1cd)]*0x8;_0x45c066[_0x344a2e>>>0x5]|=0x80<<0x18-_0x344a2e%0x20;var _0x1dddbf=_0x1cc6c3[_0xc0a403(0x28a)](_0x2a7b0b/0x100000000),_0x5ba7eb=_0x2a7b0b;_0x45c066[(_0x344a2e+0x40>>>0x9<<0x4)+0xf]=(_0x1dddbf<<0x8|_0x1dddbf>>>0x18)&0xff00ff|(_0x1dddbf<<0x18|_0x1dddbf>>>0x8)&0xff00ff00,_0x45c066[(_0x344a2e+0x40>>>0x9<<0x4)+0xe]=(_0x5ba7eb<<0x8|_0x5ba7eb>>>0x18)&0xff00ff|(_0x5ba7eb<<0x18|_0x5ba7eb>>>0x8)&0xff00ff00,_0x54282e[_0xc0a403(0x1cd)]=(_0x45c066[_0xc0a403(0x2f9)]+0x1)*0x4,this[_0xc0a403(0x419)]();for(var _0x2b0a69=this[_0xc0a403(0x3f4)],_0x1ba3c1=_0x2b0a69[_0xc0a403(0x1aa)],_0x16d444=0x0;_0x16d444<0x4;_0x16d444++){var _0x3806c8=_0x1ba3c1[_0x16d444];_0x1ba3c1[_0x16d444]=(_0x3806c8<<0x8|_0x3806c8>>>0x18)&0xff00ff|(_0x3806c8<<0x18|_0x3806c8>>>0x8)&0xff00ff00;}return _0x2b0a69;},'clone':function(){var _0x39efb4=_0x5301b1,_0x135d8b=_0x13b871[_0x39efb4(0x15e)]['call'](this);return _0x135d8b[_0x39efb4(0x3f4)]=this[_0x39efb4(0x3f4)][_0x39efb4(0x15e)](),_0x135d8b;}});function _0x1df739(_0x4b2819,_0x1c7a45,_0x4d8ed5,_0x4a2f1c,_0x37b52b,_0x3d9c63,_0x39cf24){var _0x5ccd38=_0x4b2819+(_0x1c7a45&_0x4d8ed5|~_0x1c7a45&_0x4a2f1c)+_0x37b52b+_0x39cf24;return(_0x5ccd38<<_0x3d9c63|_0x5ccd38>>>0x20-_0x3d9c63)+_0x1c7a45;}function _0x5a3349(_0x1a5b32,_0x45b1c5,_0xf8429d,_0x227351,_0xe160cd,_0x46227e,_0xf50302){var _0xc263cd=_0x1a5b32+(_0x45b1c5&_0x227351|_0xf8429d&~_0x227351)+_0xe160cd+_0xf50302;return(_0xc263cd<<_0x46227e|_0xc263cd>>>0x20-_0x46227e)+_0x45b1c5;}function _0x5be237(_0x874e23,_0x43a692,_0xcb184c,_0x463658,_0x5da703,_0x4e3532,_0x117d84){var _0xd62da8=_0x874e23+(_0x43a692^_0xcb184c^_0x463658)+_0x5da703+_0x117d84;return(_0xd62da8<<_0x4e3532|_0xd62da8>>>0x20-_0x4e3532)+_0x43a692;}function _0x21cbdf(_0x9f8d5c,_0x31fbf2,_0x12af9c,_0x322472,_0x3f9c4f,_0x11533f,_0x57a4da){var _0x506bda=_0x9f8d5c+(_0x12af9c^(_0x31fbf2|~_0x322472))+_0x3f9c4f+_0x57a4da;return(_0x506bda<<_0x11533f|_0x506bda>>>0x20-_0x11533f)+_0x31fbf2;}_0x45f4b4[_0x5301b1(0x413)]=_0x13b871['_createHelper'](_0x1ec0e1),_0x45f4b4['HmacMD5']=_0x13b871['_createHmacHelper'](_0x1ec0e1);}(Math),_0x47fd7e[_0x5b4a38(0x413)];}));}(ge)),ge[_0x3e8deb(0x2ba)];}var Ee={'exports':{}},me={'exports':{}},Ai=me[_0x72c010(0x2ba)],Ze;function Pi(){var _0x58c9d1=_0x72c010;return Ze||(Ze=0x1,function(_0x521d02,_0x510e49){(function(_0x4306a9,_0x522fe8){var _0x29667b=_0x284f;_0x521d02[_0x29667b(0x2ba)]=_0x522fe8(Q());}(Ai,function(_0x278225){var _0x5bfc9f=_0x284f;return(function(){var _0x3daf87=_0x284f,_0x43cdc1=_0x278225,_0x3d3bff=_0x43cdc1['lib'],_0x120c3a=_0x3d3bff['WordArray'],_0x190b03=_0x3d3bff['Hasher'],_0x1a8ceb=_0x43cdc1[_0x3daf87(0x203)],_0xd90227=[],_0x1de0ca=_0x1a8ceb['SHA1']=_0x190b03[_0x3daf87(0x17f)]({'_doReset':function(){var _0x4b5531=_0x3daf87;this[_0x4b5531(0x3f4)]=new _0x120c3a['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xc5de26,_0xb73ae4){var _0x53e041=_0x3daf87;for(var _0x2bd064=this[_0x53e041(0x3f4)][_0x53e041(0x1aa)],_0x4e658f=_0x2bd064[0x0],_0x51bd4c=_0x2bd064[0x1],_0x47a044=_0x2bd064[0x2],_0x1fc388=_0x2bd064[0x3],_0x53ecf8=_0x2bd064[0x4],_0xdc29f6=0x0;_0xdc29f6<0x50;_0xdc29f6++){if(_0xdc29f6<0x10)_0xd90227[_0xdc29f6]=_0xc5de26[_0xb73ae4+_0xdc29f6]|0x0;else{var _0x34bfd7=_0xd90227[_0xdc29f6-0x3]^_0xd90227[_0xdc29f6-0x8]^_0xd90227[_0xdc29f6-0xe]^_0xd90227[_0xdc29f6-0x10];_0xd90227[_0xdc29f6]=_0x34bfd7<<0x1|_0x34bfd7>>>0x1f;}var _0x4467df=(_0x4e658f<<0x5|_0x4e658f>>>0x1b)+_0x53ecf8+_0xd90227[_0xdc29f6];_0xdc29f6<0x14?_0x4467df+=(_0x51bd4c&_0x47a044|~_0x51bd4c&_0x1fc388)+0x5a827999:_0xdc29f6<0x28?_0x4467df+=(_0x51bd4c^_0x47a044^_0x1fc388)+0x6ed9eba1:_0xdc29f6<0x3c?_0x4467df+=(_0x51bd4c&_0x47a044|_0x51bd4c&_0x1fc388|_0x47a044&_0x1fc388)-0x70e44324:_0x4467df+=(_0x51bd4c^_0x47a044^_0x1fc388)-0x359d3e2a,_0x53ecf8=_0x1fc388,_0x1fc388=_0x47a044,_0x47a044=_0x51bd4c<<0x1e|_0x51bd4c>>>0x2,_0x51bd4c=_0x4e658f,_0x4e658f=_0x4467df;}_0x2bd064[0x0]=_0x2bd064[0x0]+_0x4e658f|0x0,_0x2bd064[0x1]=_0x2bd064[0x1]+_0x51bd4c|0x0,_0x2bd064[0x2]=_0x2bd064[0x2]+_0x47a044|0x0,_0x2bd064[0x3]=_0x2bd064[0x3]+_0x1fc388|0x0,_0x2bd064[0x4]=_0x2bd064[0x4]+_0x53ecf8|0x0;},'_doFinalize':function(){var _0x25684c=_0x3daf87,_0x3d9d7e=this[_0x25684c(0x363)],_0x32e5cd=_0x3d9d7e['words'],_0x2f8718=this['_nDataBytes']*0x8,_0x31aedd=_0x3d9d7e[_0x25684c(0x1cd)]*0x8;return _0x32e5cd[_0x31aedd>>>0x5]|=0x80<<0x18-_0x31aedd%0x20,_0x32e5cd[(_0x31aedd+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x2f8718/0x100000000),_0x32e5cd[(_0x31aedd+0x40>>>0x9<<0x4)+0xf]=_0x2f8718,_0x3d9d7e[_0x25684c(0x1cd)]=_0x32e5cd[_0x25684c(0x2f9)]*0x4,this[_0x25684c(0x419)](),this[_0x25684c(0x3f4)];},'clone':function(){var _0x4cf804=_0x3daf87,_0x1ad4db=_0x190b03['clone']['call'](this);return _0x1ad4db[_0x4cf804(0x3f4)]=this[_0x4cf804(0x3f4)][_0x4cf804(0x15e)](),_0x1ad4db;}});_0x43cdc1[_0x3daf87(0x1a5)]=_0x190b03[_0x3daf87(0x2f2)](_0x1de0ca),_0x43cdc1[_0x3daf87(0x193)]=_0x190b03[_0x3daf87(0x4a1)](_0x1de0ca);}()),_0x278225[_0x5bfc9f(0x1a5)];}));}(me)),me[_0x58c9d1(0x2ba)];}var Ce={'exports':{}},wi=Ce[_0x72c010(0x2ba)],Qe;function Li(){var _0x2c8a8b=_0x72c010;return Qe||(Qe=0x1,function(_0x18dd78,_0x35fb06){(function(_0x39ad3e,_0x5ba66c){var _0x12d9e3=_0x284f;_0x18dd78[_0x12d9e3(0x2ba)]=_0x5ba66c(Q());}(wi,function(_0x5308e0){(function(){var _0x55b346=_0x284f,_0x1f344b=_0x5308e0,_0x2f02fe=_0x1f344b[_0x55b346(0x1e1)],_0x16aabb=_0x2f02fe[_0x55b346(0x33a)],_0x3bbb7b=_0x1f344b[_0x55b346(0x44e)],_0x27cb1b=_0x3bbb7b[_0x55b346(0x159)],_0x2c9b25=_0x1f344b[_0x55b346(0x203)];_0x2c9b25[_0x55b346(0x1f7)]=_0x16aabb['extend']({'init':function(_0x26d591,_0x38d3d6){var _0x1f7b5f=_0x55b346;_0x26d591=this[_0x1f7b5f(0x496)]=new _0x26d591[(_0x1f7b5f(0x154))](),typeof _0x38d3d6==_0x1f7b5f(0x294)&&(_0x38d3d6=_0x27cb1b[_0x1f7b5f(0x3c9)](_0x38d3d6));var _0x231a29=_0x26d591[_0x1f7b5f(0x45b)],_0x3098e7=_0x231a29*0x4;_0x38d3d6[_0x1f7b5f(0x1cd)]>_0x3098e7&&(_0x38d3d6=_0x26d591[_0x1f7b5f(0x307)](_0x38d3d6)),_0x38d3d6[_0x1f7b5f(0x258)]();for(var _0x1a4cd8=this[_0x1f7b5f(0x271)]=_0x38d3d6[_0x1f7b5f(0x15e)](),_0x1d2e21=this[_0x1f7b5f(0x18b)]=_0x38d3d6[_0x1f7b5f(0x15e)](),_0x3d4e9f=_0x1a4cd8['words'],_0x3c1e51=_0x1d2e21[_0x1f7b5f(0x1aa)],_0x2545d1=0x0;_0x2545d1<_0x231a29;_0x2545d1++)_0x3d4e9f[_0x2545d1]^=0x5c5c5c5c,_0x3c1e51[_0x2545d1]^=0x36363636;_0x1a4cd8[_0x1f7b5f(0x1cd)]=_0x1d2e21[_0x1f7b5f(0x1cd)]=_0x3098e7,this[_0x1f7b5f(0x179)]();},'reset':function(){var _0x5bb8c2=_0x55b346,_0x493631=this['_hasher'];_0x493631[_0x5bb8c2(0x179)](),_0x493631[_0x5bb8c2(0x31d)](this[_0x5bb8c2(0x18b)]);},'update':function(_0x4689ee){var _0x55089d=_0x55b346;return this[_0x55089d(0x496)]['update'](_0x4689ee),this;},'finalize':function(_0x4096d1){var _0x576951=_0x55b346,_0x1c27c7=this[_0x576951(0x496)],_0x32e8da=_0x1c27c7[_0x576951(0x307)](_0x4096d1);_0x1c27c7[_0x576951(0x179)]();var _0x489e17=_0x1c27c7['finalize'](this[_0x576951(0x271)][_0x576951(0x15e)]()['concat'](_0x32e8da));return _0x489e17;}});}());}));}(Ce)),Ce[_0x2c8a8b(0x2ba)];}var Mi=Ee[_0x72c010(0x2ba)],et;function Nt(){var _0x4d899a=_0x72c010;return et||(et=0x1,function(_0x147b14,_0x533531){(function(_0x17d448,_0x3efa25,_0x408d26){var _0x2ca94e=_0x284f;_0x147b14[_0x2ca94e(0x2ba)]=_0x3efa25(Q(),Pi(),Li());}(Mi,function(_0x56b503){var _0x43a6c8=_0x284f;return(function(){var _0x5d50a5=_0x284f,_0x14fb70=_0x56b503,_0x58d23d=_0x14fb70[_0x5d50a5(0x1e1)],_0x552f7a=_0x58d23d[_0x5d50a5(0x33a)],_0x2cf04e=_0x58d23d['WordArray'],_0x123eb1=_0x14fb70[_0x5d50a5(0x203)],_0x51d875=_0x123eb1[_0x5d50a5(0x413)],_0x4e683b=_0x123eb1[_0x5d50a5(0x47f)]=_0x552f7a[_0x5d50a5(0x17f)]({'cfg':_0x552f7a['extend']({'keySize':0x80/0x20,'hasher':_0x51d875,'iterations':0x1}),'init':function(_0x4de34f){var _0x21e07a=_0x5d50a5;this[_0x21e07a(0x483)]=this[_0x21e07a(0x483)][_0x21e07a(0x17f)](_0x4de34f);},'compute':function(_0x56a07c,_0x26e878){var _0x1e859a=_0x5d50a5;for(var _0x1758ba,_0x556154=this[_0x1e859a(0x483)],_0x25306f=_0x556154['hasher'][_0x1e859a(0x33f)](),_0x26d5da=_0x2cf04e[_0x1e859a(0x33f)](),_0x25dce4=_0x26d5da[_0x1e859a(0x1aa)],_0x48543f=_0x556154['keySize'],_0x354b4a=_0x556154[_0x1e859a(0x20b)];_0x25dce4[_0x1e859a(0x2f9)]<_0x48543f;){_0x1758ba&&_0x25306f[_0x1e859a(0x31d)](_0x1758ba),_0x1758ba=_0x25306f[_0x1e859a(0x31d)](_0x56a07c)[_0x1e859a(0x307)](_0x26e878),_0x25306f[_0x1e859a(0x179)]();for(var _0x4b93d0=0x1;_0x4b93d0<_0x354b4a;_0x4b93d0++)_0x1758ba=_0x25306f[_0x1e859a(0x307)](_0x1758ba),_0x25306f['reset']();_0x26d5da['concat'](_0x1758ba);}return _0x26d5da[_0x1e859a(0x1cd)]=_0x48543f*0x4,_0x26d5da;}});_0x14fb70['EvpKDF']=function(_0x3c16a8,_0xc8291e,_0x201435){var _0x4600ae=_0x5d50a5;return _0x4e683b[_0x4600ae(0x33f)](_0x201435)[_0x4600ae(0x2cb)](_0x3c16a8,_0xc8291e);};}()),_0x56b503[_0x43a6c8(0x47f)];}));}(Ee)),Ee[_0x4d899a(0x2ba)];}var Te={'exports':{}},xi=Te[_0x72c010(0x2ba)],tt;function Ut(){var _0x1c5de9=_0x72c010;return tt||(tt=0x1,function(_0x2b77c2,_0x1ae4f0){(function(_0x373a33,_0x3ff9f2,_0x30bb32){var _0x1285b9=_0x284f;_0x2b77c2[_0x1285b9(0x2ba)]=_0x3ff9f2(Q(),Nt());}(xi,function(_0x251856){var _0x14a0e2=_0x284f;_0x251856[_0x14a0e2(0x1e1)]['Cipher']||function(_0xa0be86){var _0x28928b=_0x14a0e2,_0x4c64d3=_0x251856,_0x459c67=_0x4c64d3[_0x28928b(0x1e1)],_0xe26e81=_0x459c67[_0x28928b(0x33a)],_0x3476e3=_0x459c67['WordArray'],_0x5d2608=_0x459c67['BufferedBlockAlgorithm'],_0x3adfae=_0x4c64d3[_0x28928b(0x44e)];_0x3adfae[_0x28928b(0x159)];var _0x4e3e57=_0x3adfae['Base64'],_0x5ec043=_0x4c64d3['algo'],_0x4e7c85=_0x5ec043[_0x28928b(0x47f)],_0x18c6b7=_0x459c67['Cipher']=_0x5d2608[_0x28928b(0x17f)]({'cfg':_0xe26e81['extend'](),'createEncryptor':function(_0x14a479,_0x376b17){var _0x17c49f=_0x28928b;return this[_0x17c49f(0x33f)](this[_0x17c49f(0x482)],_0x14a479,_0x376b17);},'createDecryptor':function(_0x2e6840,_0xe79140){var _0x5e6af3=_0x28928b;return this[_0x5e6af3(0x33f)](this['_DEC_XFORM_MODE'],_0x2e6840,_0xe79140);},'init':function(_0x1812b5,_0x4d9e39,_0xd48d30){var _0x1e0527=_0x28928b;this[_0x1e0527(0x483)]=this[_0x1e0527(0x483)][_0x1e0527(0x17f)](_0xd48d30),this[_0x1e0527(0x2d3)]=_0x1812b5,this['_key']=_0x4d9e39,this[_0x1e0527(0x179)]();},'reset':function(){var _0x27973c=_0x28928b;_0x5d2608[_0x27973c(0x179)][_0x27973c(0x478)](this),this['_doReset']();},'process':function(_0xc88419){var _0x4b54d7=_0x28928b;return this[_0x4b54d7(0x1b9)](_0xc88419),this[_0x4b54d7(0x419)]();},'finalize':function(_0xc43268){var _0x3eb8d5=_0x28928b;_0xc43268&&this[_0x3eb8d5(0x1b9)](_0xc43268);var _0x2e2666=this['_doFinalize']();return _0x2e2666;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x352aef(_0x7ded7a){var _0x2ae962=_0x284f;return typeof _0x7ded7a==_0x2ae962(0x294)?_0x3be49d:_0x33e478;}return function(_0x283664){return{'encrypt':function(_0x2f5341,_0x269aba,_0x25194e){var _0x5f3b69=_0x284f;return _0x352aef(_0x269aba)[_0x5f3b69(0x480)](_0x283664,_0x2f5341,_0x269aba,_0x25194e);},'decrypt':function(_0x4ad0de,_0x3eac3b,_0x501855){var _0x4a41f9=_0x284f;return _0x352aef(_0x3eac3b)[_0x4a41f9(0x217)](_0x283664,_0x4ad0de,_0x3eac3b,_0x501855);}};};}())});_0x459c67[_0x28928b(0x2c1)]=_0x18c6b7[_0x28928b(0x17f)]({'_doFinalize':function(){var _0x2eb23a=_0x28928b,_0x377bd3=this[_0x2eb23a(0x419)](!0x0);return _0x377bd3;},'blockSize':0x1});var _0x41ada4=_0x4c64d3[_0x28928b(0x1fd)]={},_0x181176=_0x459c67[_0x28928b(0x24a)]=_0xe26e81[_0x28928b(0x17f)]({'createEncryptor':function(_0x51b233,_0x341262){var _0x432fdf=_0x28928b;return this[_0x432fdf(0x421)][_0x432fdf(0x33f)](_0x51b233,_0x341262);},'createDecryptor':function(_0x2fc4fb,_0x4b8a57){var _0x209590=_0x28928b;return this[_0x209590(0x22c)][_0x209590(0x33f)](_0x2fc4fb,_0x4b8a57);},'init':function(_0x7c7fd6,_0x2432ca){var _0x229566=_0x28928b;this[_0x229566(0x22e)]=_0x7c7fd6,this[_0x229566(0x3d4)]=_0x2432ca;}}),_0x2b780d=_0x41ada4['CBC']=(function(){var _0x234a75=_0x28928b,_0x2dfe73=_0x181176[_0x234a75(0x17f)]();_0x2dfe73[_0x234a75(0x421)]=_0x2dfe73[_0x234a75(0x17f)]({'processBlock':function(_0x2e5823,_0x2ce7c3){var _0x35200b=_0x234a75,_0x5da587=this['_cipher'],_0x53d158=_0x5da587['blockSize'];_0x40a89a[_0x35200b(0x478)](this,_0x2e5823,_0x2ce7c3,_0x53d158),_0x5da587['encryptBlock'](_0x2e5823,_0x2ce7c3),this[_0x35200b(0x36a)]=_0x2e5823['slice'](_0x2ce7c3,_0x2ce7c3+_0x53d158);}}),_0x2dfe73[_0x234a75(0x22c)]=_0x2dfe73[_0x234a75(0x17f)]({'processBlock':function(_0x2461e0,_0x36f3d){var _0xb4a9b7=_0x234a75,_0x815ff4=this[_0xb4a9b7(0x22e)],_0x13c4b3=_0x815ff4[_0xb4a9b7(0x45b)],_0x511f2f=_0x2461e0[_0xb4a9b7(0x351)](_0x36f3d,_0x36f3d+_0x13c4b3);_0x815ff4['decryptBlock'](_0x2461e0,_0x36f3d),_0x40a89a['call'](this,_0x2461e0,_0x36f3d,_0x13c4b3),this[_0xb4a9b7(0x36a)]=_0x511f2f;}});function _0x40a89a(_0x12c163,_0x5446c6,_0x185713){var _0x1dc4f3=_0x234a75,_0x23950e,_0x3427d4=this[_0x1dc4f3(0x3d4)];_0x3427d4?(_0x23950e=_0x3427d4,this[_0x1dc4f3(0x3d4)]=_0xa0be86):_0x23950e=this['_prevBlock'];for(var _0x32a8ac=0x0;_0x32a8ac<_0x185713;_0x32a8ac++)_0x12c163[_0x5446c6+_0x32a8ac]^=_0x23950e[_0x32a8ac];}return _0x2dfe73;}()),_0x16246c=_0x4c64d3[_0x28928b(0x3a9)]={},_0x1b7122=_0x16246c[_0x28928b(0x3e9)]={'pad':function(_0x1ed031,_0x44ba06){var _0x521141=_0x28928b;for(var _0x563c05=_0x44ba06*0x4,_0xde637c=_0x563c05-_0x1ed031['sigBytes']%_0x563c05,_0x58d87c=_0xde637c<<0x18|_0xde637c<<0x10|_0xde637c<<0x8|_0xde637c,_0x137089=[],_0x33aa62=0x0;_0x33aa62<_0xde637c;_0x33aa62+=0x4)_0x137089[_0x521141(0x41b)](_0x58d87c);var _0x3b9ebe=_0x3476e3[_0x521141(0x33f)](_0x137089,_0xde637c);_0x1ed031[_0x521141(0x390)](_0x3b9ebe);},'unpad':function(_0x253cac){var _0x55a732=_0x28928b,_0x369aff=_0x253cac[_0x55a732(0x1aa)][_0x253cac[_0x55a732(0x1cd)]-0x1>>>0x2]&0xff;_0x253cac[_0x55a732(0x1cd)]-=_0x369aff;}};_0x459c67[_0x28928b(0x312)]=_0x18c6b7['extend']({'cfg':_0x18c6b7[_0x28928b(0x483)][_0x28928b(0x17f)]({'mode':_0x2b780d,'padding':_0x1b7122}),'reset':function(){var _0xbcb59a=_0x28928b,_0x17a480;_0x18c6b7['reset'][_0xbcb59a(0x478)](this);var _0x2c354c=this[_0xbcb59a(0x483)],_0x2c55c7=_0x2c354c['iv'],_0x32be4c=_0x2c354c[_0xbcb59a(0x1fd)];this[_0xbcb59a(0x2d3)]==this[_0xbcb59a(0x482)]?_0x17a480=_0x32be4c[_0xbcb59a(0x2cd)]:(_0x17a480=_0x32be4c['createDecryptor'],this[_0xbcb59a(0x208)]=0x1),this[_0xbcb59a(0x230)]&&this['_mode'][_0xbcb59a(0x4ab)]==_0x17a480?this[_0xbcb59a(0x230)][_0xbcb59a(0x154)](this,_0x2c55c7&&_0x2c55c7['words']):(this[_0xbcb59a(0x230)]=_0x17a480[_0xbcb59a(0x478)](_0x32be4c,this,_0x2c55c7&&_0x2c55c7[_0xbcb59a(0x1aa)]),this[_0xbcb59a(0x230)][_0xbcb59a(0x4ab)]=_0x17a480);},'_doProcessBlock':function(_0x55d0d3,_0x66fbaf){var _0x1f1469=_0x28928b;this[_0x1f1469(0x230)][_0x1f1469(0x172)](_0x55d0d3,_0x66fbaf);},'_doFinalize':function(){var _0x1664b6=_0x28928b,_0x2b6ab9,_0x34f154=this[_0x1664b6(0x483)][_0x1664b6(0x428)];return this[_0x1664b6(0x2d3)]==this[_0x1664b6(0x482)]?(_0x34f154['pad'](this[_0x1664b6(0x363)],this[_0x1664b6(0x45b)]),_0x2b6ab9=this[_0x1664b6(0x419)](!0x0)):(_0x2b6ab9=this[_0x1664b6(0x419)](!0x0),_0x34f154['unpad'](_0x2b6ab9)),_0x2b6ab9;},'blockSize':0x80/0x20});var _0x1b94db=_0x459c67[_0x28928b(0x410)]=_0xe26e81[_0x28928b(0x17f)]({'init':function(_0x59d80f){var _0x18c8e0=_0x28928b;this[_0x18c8e0(0x21a)](_0x59d80f);},'toString':function(_0x523229){var _0x341046=_0x28928b;return(_0x523229||this[_0x341046(0x441)])[_0x341046(0x45a)](this);}}),_0x15ce85=_0x4c64d3[_0x28928b(0x318)]={},_0x323c71=_0x15ce85['OpenSSL']={'stringify':function(_0x3c9ab7){var _0x31c1ff=_0x28928b,_0x152378,_0x5c1234=_0x3c9ab7[_0x31c1ff(0x3cb)],_0x1a8cbd=_0x3c9ab7[_0x31c1ff(0x2f7)];return _0x1a8cbd?_0x152378=_0x3476e3['create']([0x53616c74,0x65645f5f])['concat'](_0x1a8cbd)[_0x31c1ff(0x390)](_0x5c1234):_0x152378=_0x5c1234,_0x152378[_0x31c1ff(0x25e)](_0x4e3e57);},'parse':function(_0x22bd1f){var _0x575bf6=_0x28928b,_0xc35f1a,_0x433f71=_0x4e3e57[_0x575bf6(0x3c9)](_0x22bd1f),_0x14cca6=_0x433f71[_0x575bf6(0x1aa)];return _0x14cca6[0x0]==0x53616c74&&_0x14cca6[0x1]==0x65645f5f&&(_0xc35f1a=_0x3476e3[_0x575bf6(0x33f)](_0x14cca6[_0x575bf6(0x351)](0x2,0x4)),_0x14cca6[_0x575bf6(0x272)](0x0,0x4),_0x433f71[_0x575bf6(0x1cd)]-=0x10),_0x1b94db[_0x575bf6(0x33f)]({'ciphertext':_0x433f71,'salt':_0xc35f1a});}},_0x33e478=_0x459c67['SerializableCipher']=_0xe26e81[_0x28928b(0x17f)]({'cfg':_0xe26e81[_0x28928b(0x17f)]({'format':_0x323c71}),'encrypt':function(_0x8e5ec4,_0x3b7e51,_0x597d63,_0x3a9c25){var _0x1e7884=_0x28928b;_0x3a9c25=this[_0x1e7884(0x483)][_0x1e7884(0x17f)](_0x3a9c25);var _0x5a0108=_0x8e5ec4[_0x1e7884(0x2cd)](_0x597d63,_0x3a9c25),_0x4ede04=_0x5a0108['finalize'](_0x3b7e51),_0x5d63ff=_0x5a0108[_0x1e7884(0x483)];return _0x1b94db['create']({'ciphertext':_0x4ede04,'key':_0x597d63,'iv':_0x5d63ff['iv'],'algorithm':_0x8e5ec4,'mode':_0x5d63ff[_0x1e7884(0x1fd)],'padding':_0x5d63ff['padding'],'blockSize':_0x8e5ec4[_0x1e7884(0x45b)],'formatter':_0x3a9c25['format']});},'decrypt':function(_0x287d53,_0x33d68d,_0x4d9afc,_0x5d526c){var _0x5d6776=_0x28928b;_0x5d526c=this[_0x5d6776(0x483)]['extend'](_0x5d526c),_0x33d68d=this['_parse'](_0x33d68d,_0x5d526c[_0x5d6776(0x318)]);var _0x5defc2=_0x287d53[_0x5d6776(0x42b)](_0x4d9afc,_0x5d526c)[_0x5d6776(0x307)](_0x33d68d['ciphertext']);return _0x5defc2;},'_parse':function(_0x4feece,_0x1a8251){var _0x5ce074=_0x28928b;return typeof _0x4feece==_0x5ce074(0x294)?_0x1a8251[_0x5ce074(0x3c9)](_0x4feece,this):_0x4feece;}}),_0xc7422e=_0x4c64d3[_0x28928b(0x300)]={},_0x1ad948=_0xc7422e[_0x28928b(0x1ca)]={'execute':function(_0x96c6f1,_0x426f11,_0x595874,_0x3643db,_0x8f1fc1){var _0x17d6cb=_0x28928b;if(_0x3643db||(_0x3643db=_0x3476e3[_0x17d6cb(0x1bf)](0x40/0x8)),_0x8f1fc1)var _0x5d89c5=_0x4e7c85[_0x17d6cb(0x33f)]({'keySize':_0x426f11+_0x595874,'hasher':_0x8f1fc1})['compute'](_0x96c6f1,_0x3643db);else var _0x5d89c5=_0x4e7c85[_0x17d6cb(0x33f)]({'keySize':_0x426f11+_0x595874})[_0x17d6cb(0x2cb)](_0x96c6f1,_0x3643db);var _0x4572fc=_0x3476e3[_0x17d6cb(0x33f)](_0x5d89c5[_0x17d6cb(0x1aa)][_0x17d6cb(0x351)](_0x426f11),_0x595874*0x4);return _0x5d89c5[_0x17d6cb(0x1cd)]=_0x426f11*0x4,_0x1b94db[_0x17d6cb(0x33f)]({'key':_0x5d89c5,'iv':_0x4572fc,'salt':_0x3643db});}},_0x3be49d=_0x459c67['PasswordBasedCipher']=_0x33e478['extend']({'cfg':_0x33e478['cfg']['extend']({'kdf':_0x1ad948}),'encrypt':function(_0x44729c,_0x9d0ab7,_0x281c52,_0x1584c1){var _0x1b3f0d=_0x28928b;_0x1584c1=this[_0x1b3f0d(0x483)]['extend'](_0x1584c1);var _0x314e3a=_0x1584c1[_0x1b3f0d(0x300)]['execute'](_0x281c52,_0x44729c[_0x1b3f0d(0x2aa)],_0x44729c[_0x1b3f0d(0x325)],_0x1584c1[_0x1b3f0d(0x2f7)],_0x1584c1[_0x1b3f0d(0x1e8)]);_0x1584c1['iv']=_0x314e3a['iv'];var _0x1486c8=_0x33e478[_0x1b3f0d(0x480)][_0x1b3f0d(0x478)](this,_0x44729c,_0x9d0ab7,_0x314e3a[_0x1b3f0d(0x1e2)],_0x1584c1);return _0x1486c8[_0x1b3f0d(0x21a)](_0x314e3a),_0x1486c8;},'decrypt':function(_0xaad9e7,_0x16f2f0,_0x3a059e,_0xfa4523){var _0x4f6a09=_0x28928b;_0xfa4523=this[_0x4f6a09(0x483)][_0x4f6a09(0x17f)](_0xfa4523),_0x16f2f0=this[_0x4f6a09(0x1a6)](_0x16f2f0,_0xfa4523['format']);var _0x13600d=_0xfa4523[_0x4f6a09(0x300)][_0x4f6a09(0x304)](_0x3a059e,_0xaad9e7[_0x4f6a09(0x2aa)],_0xaad9e7[_0x4f6a09(0x325)],_0x16f2f0[_0x4f6a09(0x2f7)],_0xfa4523[_0x4f6a09(0x1e8)]);_0xfa4523['iv']=_0x13600d['iv'];var _0x4e5493=_0x33e478[_0x4f6a09(0x217)][_0x4f6a09(0x478)](this,_0xaad9e7,_0x16f2f0,_0x13600d[_0x4f6a09(0x1e2)],_0xfa4523);return _0x4e5493;}});}();}));}(Te)),Te[_0x1c5de9(0x2ba)];}var ki=fe[_0x72c010(0x2ba)],it;function Hi(){var _0x19a9f1=_0x72c010;return it||(it=0x1,function(_0x2d41a9,_0x1df273){(function(_0x183386,_0x2a76e3,_0x32f9f2){var _0x1af109=_0x284f;_0x2d41a9[_0x1af109(0x2ba)]=_0x2a76e3(Q(),yt(),Di(),Nt(),Ut());}(ki,function(_0x502436){var _0x338ce8=_0x284f;return(function(){var _0x33474e=_0x284f,_0x1d02e4=_0x502436,_0x464a90=_0x1d02e4[_0x33474e(0x1e1)],_0x33e548=_0x464a90[_0x33474e(0x312)],_0x37bf86=_0x1d02e4[_0x33474e(0x203)],_0x4d96bf=[],_0x2035a4=[],_0x202e3a=[],_0x3a47a2=[],_0x552aa1=[],_0x200628=[],_0x3a6fd9=[],_0x56c7ca=[],_0x5b15c2=[],_0x12fbf6=[];(function(){for(var _0x3d8a5a=[],_0x4a5bc6=0x0;_0x4a5bc6<0x100;_0x4a5bc6++)_0x4a5bc6<0x80?_0x3d8a5a[_0x4a5bc6]=_0x4a5bc6<<0x1:_0x3d8a5a[_0x4a5bc6]=_0x4a5bc6<<0x1^0x11b;for(var _0x4a7df2=0x0,_0x1f6121=0x0,_0x4a5bc6=0x0;_0x4a5bc6<0x100;_0x4a5bc6++){var _0xa4f24f=_0x1f6121^_0x1f6121<<0x1^_0x1f6121<<0x2^_0x1f6121<<0x3^_0x1f6121<<0x4;_0xa4f24f=_0xa4f24f>>>0x8^_0xa4f24f&0xff^0x63,_0x4d96bf[_0x4a7df2]=_0xa4f24f,_0x2035a4[_0xa4f24f]=_0x4a7df2;var _0x2b3af1=_0x3d8a5a[_0x4a7df2],_0x6cb471=_0x3d8a5a[_0x2b3af1],_0x2c2da4=_0x3d8a5a[_0x6cb471],_0x12434f=_0x3d8a5a[_0xa4f24f]*0x101^_0xa4f24f*0x1010100;_0x202e3a[_0x4a7df2]=_0x12434f<<0x18|_0x12434f>>>0x8,_0x3a47a2[_0x4a7df2]=_0x12434f<<0x10|_0x12434f>>>0x10,_0x552aa1[_0x4a7df2]=_0x12434f<<0x8|_0x12434f>>>0x18,_0x200628[_0x4a7df2]=_0x12434f;var _0x12434f=_0x2c2da4*0x1010101^_0x6cb471*0x10001^_0x2b3af1*0x101^_0x4a7df2*0x1010100;_0x3a6fd9[_0xa4f24f]=_0x12434f<<0x18|_0x12434f>>>0x8,_0x56c7ca[_0xa4f24f]=_0x12434f<<0x10|_0x12434f>>>0x10,_0x5b15c2[_0xa4f24f]=_0x12434f<<0x8|_0x12434f>>>0x18,_0x12fbf6[_0xa4f24f]=_0x12434f,_0x4a7df2?(_0x4a7df2=_0x2b3af1^_0x3d8a5a[_0x3d8a5a[_0x3d8a5a[_0x2c2da4^_0x2b3af1]]],_0x1f6121^=_0x3d8a5a[_0x3d8a5a[_0x1f6121]]):_0x4a7df2=_0x1f6121=0x1;}}());var _0x1ac705=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3f6305=_0x37bf86[_0x33474e(0x49b)]=_0x33e548[_0x33474e(0x17f)]({'_doReset':function(){var _0x6bcc8a=_0x33474e,_0x45a17e;if(!(this[_0x6bcc8a(0x429)]&&this[_0x6bcc8a(0x1a3)]===this[_0x6bcc8a(0x422)])){for(var _0x157145=this['_keyPriorReset']=this[_0x6bcc8a(0x422)],_0x437e1d=_0x157145[_0x6bcc8a(0x1aa)],_0x453799=_0x157145[_0x6bcc8a(0x1cd)]/0x4,_0xae7ff4=this[_0x6bcc8a(0x429)]=_0x453799+0x6,_0x3b3878=(_0xae7ff4+0x1)*0x4,_0x1e0225=this[_0x6bcc8a(0x246)]=[],_0x38547d=0x0;_0x38547d<_0x3b3878;_0x38547d++)_0x38547d<_0x453799?_0x1e0225[_0x38547d]=_0x437e1d[_0x38547d]:(_0x45a17e=_0x1e0225[_0x38547d-0x1],_0x38547d%_0x453799?_0x453799>0x6&&_0x38547d%_0x453799==0x4&&(_0x45a17e=_0x4d96bf[_0x45a17e>>>0x18]<<0x18|_0x4d96bf[_0x45a17e>>>0x10&0xff]<<0x10|_0x4d96bf[_0x45a17e>>>0x8&0xff]<<0x8|_0x4d96bf[_0x45a17e&0xff]):(_0x45a17e=_0x45a17e<<0x8|_0x45a17e>>>0x18,_0x45a17e=_0x4d96bf[_0x45a17e>>>0x18]<<0x18|_0x4d96bf[_0x45a17e>>>0x10&0xff]<<0x10|_0x4d96bf[_0x45a17e>>>0x8&0xff]<<0x8|_0x4d96bf[_0x45a17e&0xff],_0x45a17e^=_0x1ac705[_0x38547d/_0x453799|0x0]<<0x18),_0x1e0225[_0x38547d]=_0x1e0225[_0x38547d-_0x453799]^_0x45a17e);for(var _0x5ce66f=this[_0x6bcc8a(0x247)]=[],_0x28220a=0x0;_0x28220a<_0x3b3878;_0x28220a++){var _0x38547d=_0x3b3878-_0x28220a;if(_0x28220a%0x4)var _0x45a17e=_0x1e0225[_0x38547d];else var _0x45a17e=_0x1e0225[_0x38547d-0x4];_0x28220a<0x4||_0x38547d<=0x4?_0x5ce66f[_0x28220a]=_0x45a17e:_0x5ce66f[_0x28220a]=_0x3a6fd9[_0x4d96bf[_0x45a17e>>>0x18]]^_0x56c7ca[_0x4d96bf[_0x45a17e>>>0x10&0xff]]^_0x5b15c2[_0x4d96bf[_0x45a17e>>>0x8&0xff]]^_0x12fbf6[_0x4d96bf[_0x45a17e&0xff]];}}},'encryptBlock':function(_0x525416,_0x626d6e){var _0x322179=_0x33474e;this[_0x322179(0x389)](_0x525416,_0x626d6e,this[_0x322179(0x246)],_0x202e3a,_0x3a47a2,_0x552aa1,_0x200628,_0x4d96bf);},'decryptBlock':function(_0x4ae75b,_0x3c58df){var _0x29c2e4=_0x33474e,_0x1f1d10=_0x4ae75b[_0x3c58df+0x1];_0x4ae75b[_0x3c58df+0x1]=_0x4ae75b[_0x3c58df+0x3],_0x4ae75b[_0x3c58df+0x3]=_0x1f1d10,this[_0x29c2e4(0x389)](_0x4ae75b,_0x3c58df,this[_0x29c2e4(0x247)],_0x3a6fd9,_0x56c7ca,_0x5b15c2,_0x12fbf6,_0x2035a4);var _0x1f1d10=_0x4ae75b[_0x3c58df+0x1];_0x4ae75b[_0x3c58df+0x1]=_0x4ae75b[_0x3c58df+0x3],_0x4ae75b[_0x3c58df+0x3]=_0x1f1d10;},'_doCryptBlock':function(_0xa65bd5,_0x6e1f20,_0x13dd1d,_0x111967,_0xbfb1d7,_0x5403a5,_0x28c006,_0xbb396c){var _0x2c47a5=_0x33474e;for(var _0x5e2a0c=this[_0x2c47a5(0x429)],_0x5e14ff=_0xa65bd5[_0x6e1f20]^_0x13dd1d[0x0],_0x2301fc=_0xa65bd5[_0x6e1f20+0x1]^_0x13dd1d[0x1],_0x4be417=_0xa65bd5[_0x6e1f20+0x2]^_0x13dd1d[0x2],_0x31146a=_0xa65bd5[_0x6e1f20+0x3]^_0x13dd1d[0x3],_0x2907bc=0x4,_0x50592b=0x1;_0x50592b<_0x5e2a0c;_0x50592b++){var _0x32a697=_0x111967[_0x5e14ff>>>0x18]^_0xbfb1d7[_0x2301fc>>>0x10&0xff]^_0x5403a5[_0x4be417>>>0x8&0xff]^_0x28c006[_0x31146a&0xff]^_0x13dd1d[_0x2907bc++],_0x5654b9=_0x111967[_0x2301fc>>>0x18]^_0xbfb1d7[_0x4be417>>>0x10&0xff]^_0x5403a5[_0x31146a>>>0x8&0xff]^_0x28c006[_0x5e14ff&0xff]^_0x13dd1d[_0x2907bc++],_0x41c102=_0x111967[_0x4be417>>>0x18]^_0xbfb1d7[_0x31146a>>>0x10&0xff]^_0x5403a5[_0x5e14ff>>>0x8&0xff]^_0x28c006[_0x2301fc&0xff]^_0x13dd1d[_0x2907bc++],_0x20b894=_0x111967[_0x31146a>>>0x18]^_0xbfb1d7[_0x5e14ff>>>0x10&0xff]^_0x5403a5[_0x2301fc>>>0x8&0xff]^_0x28c006[_0x4be417&0xff]^_0x13dd1d[_0x2907bc++];_0x5e14ff=_0x32a697,_0x2301fc=_0x5654b9,_0x4be417=_0x41c102,_0x31146a=_0x20b894;}var _0x32a697=(_0xbb396c[_0x5e14ff>>>0x18]<<0x18|_0xbb396c[_0x2301fc>>>0x10&0xff]<<0x10|_0xbb396c[_0x4be417>>>0x8&0xff]<<0x8|_0xbb396c[_0x31146a&0xff])^_0x13dd1d[_0x2907bc++],_0x5654b9=(_0xbb396c[_0x2301fc>>>0x18]<<0x18|_0xbb396c[_0x4be417>>>0x10&0xff]<<0x10|_0xbb396c[_0x31146a>>>0x8&0xff]<<0x8|_0xbb396c[_0x5e14ff&0xff])^_0x13dd1d[_0x2907bc++],_0x41c102=(_0xbb396c[_0x4be417>>>0x18]<<0x18|_0xbb396c[_0x31146a>>>0x10&0xff]<<0x10|_0xbb396c[_0x5e14ff>>>0x8&0xff]<<0x8|_0xbb396c[_0x2301fc&0xff])^_0x13dd1d[_0x2907bc++],_0x20b894=(_0xbb396c[_0x31146a>>>0x18]<<0x18|_0xbb396c[_0x5e14ff>>>0x10&0xff]<<0x10|_0xbb396c[_0x2301fc>>>0x8&0xff]<<0x8|_0xbb396c[_0x4be417&0xff])^_0x13dd1d[_0x2907bc++];_0xa65bd5[_0x6e1f20]=_0x32a697,_0xa65bd5[_0x6e1f20+0x1]=_0x5654b9,_0xa65bd5[_0x6e1f20+0x2]=_0x41c102,_0xa65bd5[_0x6e1f20+0x3]=_0x20b894;},'keySize':0x100/0x20});_0x1d02e4[_0x33474e(0x49b)]=_0x33e548[_0x33474e(0x2f2)](_0x3f6305);}()),_0x502436[_0x338ce8(0x49b)];}));}(fe)),fe[_0x19a9f1(0x2ba)];}var $i=Hi();const ji=ve($i);var Bi=yt();const nt=ve(Bi);var be={'exports':{}},Fi=be[_0x72c010(0x2ba)],rt;function Vi(){var _0x53d9a1=_0x72c010;return rt||(rt=0x1,function(_0x1b76b6,_0x5b4875){(function(_0x3d431d,_0x370311){var _0x1a7b7e=_0x284f;_0x1b76b6[_0x1a7b7e(0x2ba)]=_0x370311(Q());}(Fi,function(_0xd5241a){var _0x252755=_0x284f;return _0xd5241a[_0x252755(0x44e)][_0x252755(0x159)];}));}(be)),be[_0x53d9a1(0x2ba)];}var Wi=Vi();const Gi=ve(Wi);var Re={'exports':{}},Ki=Re[_0x72c010(0x2ba)],st;function Yi(){return st||(st=0x1,function(_0x19c996,_0x573962){(function(_0x5676ca,_0x435b36){var _0x166639=_0x284f;_0x19c996[_0x166639(0x2ba)]=_0x435b36(Q());}(Ki,function(_0x4d2f3b){var _0x1ead06=_0x284f;return(function(){var _0x7989d4=_0x284f;if(typeof ArrayBuffer==_0x7989d4(0x206)){var _0x137c3c=_0x4d2f3b,_0x3fc5f1=_0x137c3c[_0x7989d4(0x1e1)],_0x616508=_0x3fc5f1[_0x7989d4(0x3c0)],_0x5e303c=_0x616508[_0x7989d4(0x154)],_0x559a28=_0x616508[_0x7989d4(0x154)]=function(_0x308897){var _0x10402d=_0x7989d4;if(_0x308897 instanceof ArrayBuffer&&(_0x308897=new Uint8Array(_0x308897)),(_0x308897 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x308897 instanceof Uint8ClampedArray||_0x308897 instanceof Int16Array||_0x308897 instanceof Uint16Array||_0x308897 instanceof Int32Array||_0x308897 instanceof Uint32Array||_0x308897 instanceof Float32Array||_0x308897 instanceof Float64Array)&&(_0x308897=new Uint8Array(_0x308897[_0x10402d(0x30e)],_0x308897[_0x10402d(0x497)],_0x308897['byteLength'])),_0x308897 instanceof Uint8Array){for(var _0x4c371b=_0x308897[_0x10402d(0x1ce)],_0x18965d=[],_0x4ad8dc=0x0;_0x4ad8dc<_0x4c371b;_0x4ad8dc++)_0x18965d[_0x4ad8dc>>>0x2]|=_0x308897[_0x4ad8dc]<<0x18-_0x4ad8dc%0x4*0x8;_0x5e303c[_0x10402d(0x478)](this,_0x18965d,_0x4c371b);}else _0x5e303c[_0x10402d(0x20a)](this,arguments);};_0x559a28['prototype']=_0x616508;}}()),_0x4d2f3b[_0x1ead06(0x1e1)][_0x1ead06(0x3c0)];}));}(Re)),Re['exports'];}var qi=Yi();const zi=ve(qi);var Oe={'exports':{}},Ji=Oe[_0x72c010(0x2ba)],ot;function Xi(){var _0x17c254=_0x72c010;return ot||(ot=0x1,function(_0x1819a2,_0x4e4ef8){(function(_0x5dc898,_0x33ba87,_0x3d2627){var _0x42cc38=_0x284f;_0x1819a2[_0x42cc38(0x2ba)]=_0x33ba87(Q(),Ut());}(Ji,function(_0x4d25a3){var _0x21ea44=_0x284f;return _0x4d25a3[_0x21ea44(0x3a9)][_0x21ea44(0x437)]={'pad':function(){},'unpad':function(){}},_0x4d25a3[_0x21ea44(0x3a9)][_0x21ea44(0x437)];}));}(Oe)),Oe[_0x17c254(0x2ba)];}var Zi=Xi();const Qi=ve(Zi);function en(_0x43d536,_0x45f2e4){var _0x1a9e02=_0x72c010;const _0x36ab48=_0x45f2e4-_0x43d536[_0x1a9e02(0x2f9)]%_0x45f2e4,_0x5c71bb=String[_0x1a9e02(0x1c5)](_0x36ab48)[_0x1a9e02(0x23c)](_0x36ab48);return _0x43d536+_0x5c71bb;}function tn(_0x5e07db,_0x169661){var _0x15bfbe=_0x72c010;const _0x5bc380=zi[_0x15bfbe(0x1bf)](0x10),_0x206419=en(_0x5e07db,0x10),_0x34b941=ji[_0x15bfbe(0x480)](Gi[_0x15bfbe(0x3c9)](_0x206419),nt[_0x15bfbe(0x3c9)](_0x169661),{'iv':_0x5bc380,'padding':Qi});return _0x5bc380[_0x15bfbe(0x390)](_0x34b941[_0x15bfbe(0x3cb)])[_0x15bfbe(0x25e)](nt);}function nn(){var _0x38bbba=_0x72c010;const _0x5d71f7=wt[_0x38bbba(0x2bd)]()[_0x38bbba(0x4b4)];if(_0x5d71f7){const _0x2b73f4={'time':Math[_0x38bbba(0x28a)](Date[_0x38bbba(0x278)]()/0x3e8),'domain':location['hostname']};return tn(JSON[_0x38bbba(0x45a)](_0x2b73f4),_0x5d71f7);}}var rn=Object[_0x72c010(0x43c)],sn=(_0x53e6ae,_0x4f0c16,_0x5bab5c,_0x4aae90)=>{var _0x2f07c2=_0x72c010;for(var _0x369556=_0x4aae90>0x1?void 0x0:_0x4aae90?rn(_0x4f0c16,_0x5bab5c):_0x4f0c16,_0x1d458b=_0x53e6ae[_0x2f07c2(0x2f9)]-0x1,_0x316f29;_0x1d458b>=0x0;_0x1d458b--)(_0x316f29=_0x53e6ae[_0x1d458b])&&(_0x369556=_0x316f29(_0x369556)||_0x369556);return _0x369556;},on=(_0xa276e7,_0x5ccf16)=>(_0x241071,_0x36e78f)=>_0x5ccf16(_0x241071,_0x36e78f,_0xa276e7);let Ne=class{constructor(_0x18ebae){var _0x2e9d55=_0x72c010;this[_0x2e9d55(0x1ec)]=_0x18ebae,this[_0x2e9d55(0x263)]();}[_0x72c010(0x263)](){var _0xd40293=_0x72c010;this[_0xd40293(0x1ec)][_0xd40293(0x3e4)]({'interceptor':(_0x1ba9a1,_0x270b9a)=>{const _0x58ac34=_0x1ba9a1['headers'],_0x41144b=nn();return _0x41144b&&_0x58ac34['set']('x-univer-host',_0x41144b),_0x270b9a(_0x1ba9a1);}});}};Ne=sn([on(0x0,a[_0x72c010(0x21f)](Y[_0x72c010(0x48f)]))],Ne);var an=Object[_0x72c010(0x43c)],cn=(_0x13ccd9,_0x13fe2d,_0x5dd20f,_0x320d22)=>{for(var _0x5c1daf=_0x320d22>0x1?void 0x0:_0x320d22?an(_0x13fe2d,_0x5dd20f):_0x13fe2d,_0x40a34a=_0x13ccd9['length']-0x1,_0x1990f7;_0x40a34a>=0x0;_0x40a34a--)(_0x1990f7=_0x13ccd9[_0x40a34a])&&(_0x5c1daf=_0x1990f7(_0x5c1daf)||_0x5c1daf);return _0x5c1daf;},we=(_0x35fecc,_0x15eae3)=>(_0xbf5a5e,_0x98a7d3)=>_0x15eae3(_0xbf5a5e,_0x98a7d3,_0x35fecc);exports[_0x72c010(0x35e)]=class extends a['RxDisposable']{constructor(_0x479a5c,_0x2edb9b,_0x43d4fc){var _0x21bb8e=_0x72c010;super(),A(this,_0x21bb8e(0x1c0),new $['BehaviorSubject'](null)),A(this,_0x21bb8e(0x3af),this[_0x21bb8e(0x1c0)][_0x21bb8e(0x2df)]()),(this[_0x21bb8e(0x452)]=_0x479a5c,this[_0x21bb8e(0x411)]=_0x2edb9b,this[_0x21bb8e(0x329)]=_0x43d4fc);}async[_0x72c010(0x2e1)](_0xf1b892,_0x21cbee,_0x5a93e7){var _0x405932=_0x72c010;this[_0x405932(0x1c0)]['next']({'unitId':_0xf1b892,'type':_0x21cbee});let _0x525c6c=null;switch(_0x21cbee){case J['UNIVER_SHEET']:{_0x525c6c=await this[_0x405932(0x411)][_0x405932(0x48e)](_0xf1b892,_0x5a93e7);break;}case J[_0x405932(0x356)]:{_0x525c6c=await this[_0x405932(0x411)][_0x405932(0x46e)](_0xf1b892,_0x5a93e7);break;}default:{this['_logService'][_0x405932(0x2e5)](_0x405932(0x42e),_0x405932(0x37e));break;}}return _0x525c6c;}async[_0x72c010(0x374)](_0x694545,_0x12892e,_0x350a7d){var _0x123e76=_0x72c010,_0x240b5e;this[_0x123e76(0x1c0)]['next']({'unitId':_0x694545,'type':_0x12892e,'subUnitId':_0x350a7d});let _0x5b6841=0x0;const _0x5d5f8a=await((_0x240b5e=this[_0x123e76(0x329)])==null?void 0x0:_0x240b5e[_0x123e76(0x1f8)](_0x694545));return _0x5d5f8a&&(_0x5d5f8a[_0x123e76(0x3e3)]||_0x5d5f8a['mutations'][_0x123e76(0x2f9)]!==0x0)&&(_0x5b6841=_0x5d5f8a['rev']),_0x5b6841===0x0&&this[_0x123e76(0x452)][_0x123e76(0x18f)](_0x123e76(0x42e),_0x123e76(0x1f4)),this['loadUnitOfRevision'](_0x694545,_0x12892e,_0x5b6841);}},exports[_0x72c010(0x35e)]=cn([we(0x0,a[_0x72c010(0x36f)]),we(0x1,a[_0x72c010(0x21f)](I['SnapshotService'])),we(0x2,a[_0x72c010(0x3a8)](q))],exports['DataLoaderService']);var hn=Object[_0x72c010(0x43c)],_n=(_0x38e285,_0x215548,_0x339a90,_0x50eacd)=>{var _0x2a59b9=_0x72c010;for(var _0x434ea8=_0x50eacd>0x1?void 0x0:_0x50eacd?hn(_0x215548,_0x339a90):_0x215548,_0x41be4e=_0x38e285[_0x2a59b9(0x2f9)]-0x1,_0x179471;_0x41be4e>=0x0;_0x41be4e--)(_0x179471=_0x38e285[_0x41be4e])&&(_0x434ea8=_0x179471(_0x434ea8)||_0x434ea8);return _0x434ea8;},Le=(_0x481ebe,_0xce942e)=>(_0x5ca4ea,_0x3e46c9)=>_0xce942e(_0x5ca4ea,_0x3e46c9,_0x481ebe);const ln=[_0x72c010(0x19b),_0x72c010(0x491),'image/jpg',_0x72c010(0x391),_0x72c010(0x433)],un=0x5*0x400*0x400,dn='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',vn=_0x72c010(0x345),Sn=_0x72c010(0x176),fn=_0x72c010(0x181);exports[_0x72c010(0x26c)]=class{constructor(_0x14f4da,_0x59a11f,_0x5c8084){var _0x5676ab=_0x72c010;A(this,'_waitCount',0x0),A(this,_0x5676ab(0x17b),new $['Subject']()),A(this,'change$',this[_0x5676ab(0x17b)]),A(this,_0x5676ab(0x288),new Map()),(this['_httpService']=_0x14f4da,this[_0x5676ab(0x23d)]=_0x59a11f,this[_0x5676ab(0x286)]=_0x5c8084);}[_0x72c010(0x29c)](_0x3bca00){var _0x516c0d=_0x72c010;this[_0x516c0d(0x414)]=_0x3bca00,this[_0x516c0d(0x17b)][_0x516c0d(0x1fb)](_0x3bca00);}[_0x72c010(0x3f0)](_0x1cc4bc,_0x497ff7){var _0x2af30a=_0x72c010;if(_0x497ff7===z[_0x2af30a(0x2d0)][_0x2af30a(0x332)]){const _0x2da2c9=new Image();return _0x2da2c9[_0x2af30a(0x409)]=_0x1cc4bc,_0x2da2c9;}return this[_0x2af30a(0x288)]['get'](_0x1cc4bc);}[_0x72c010(0x290)](_0x76e7ba,_0x5665cf,_0x3cf0c2){var _0x302ccb=_0x72c010;_0x5665cf===z[_0x302ccb(0x2d0)][_0x302ccb(0x332)]||_0x3cf0c2==null||this[_0x302ccb(0x288)]['set'](_0x76e7ba,_0x3cf0c2);}async[_0x72c010(0x467)](_0x416dc2){var _0x3d8e95=_0x72c010;try{const _0xfae267=this['_replaceFileID'](this[_0x3d8e95(0x2c3)](),''+_0x416dc2),_0x441c7f=(await this['_httpService'][_0x3d8e95(0x4b7)](_0xfae267))[_0x3d8e95(0x273)];if(_0x441c7f[_0x3d8e95(0x2e5)]&&_0x441c7f['error'][_0x3d8e95(0x369)]===gt['OK']){const _0x5aba37=new URL(_0x441c7f['url'],this[_0x3d8e95(0x293)]())[_0x3d8e95(0x25e)]();return Promise[_0x3d8e95(0x238)](_0x5aba37);}return Promise['reject'](_0x441c7f[_0x3d8e95(0x2e5)]);}catch(_0x385c18){return Promise['reject'](_0x385c18);}}async[_0x72c010(0x44c)](_0x4919cd){var _0xb8d7e7=_0x72c010;let _0x4cbb76='';if(!ln[_0xb8d7e7(0x44b)](_0x4919cd[_0xb8d7e7(0x37b)]))return this[_0xb8d7e7(0x43d)](),Promise[_0xb8d7e7(0x26b)](new Error(z[_0xb8d7e7(0x479)]['ERROR_IMAGE_TYPE']));if(_0x4919cd[_0xb8d7e7(0x3ae)]>un)return this[_0xb8d7e7(0x43d)](),Promise['reject'](new Error(z['ImageUploadStatusType'][_0xb8d7e7(0x254)]));try{const _0x5ea7b7=new FormData();_0x5ea7b7[_0xb8d7e7(0x1c1)](_0xb8d7e7(0x188),_0x4919cd);const _0x4ae87f=this[_0xb8d7e7(0x286)][_0xb8d7e7(0x2cf)](),_0x41993c=_0x4ae87f==null?void 0x0:_0x4ae87f[_0xb8d7e7(0x233)]();if(!_0x41993c)throw new Error(_0xb8d7e7(0x1d3));const _0x5c0b6b=this['_getUploadFileURL']()+'?size='+_0x4919cd['size']['toString']()+'&source='+Et[_0xb8d7e7(0x40e)]+_0xb8d7e7(0x407)+encodeURIComponent(_0x41993c),_0x54de47={'body':_0x5ea7b7},_0xc8c4ce=(await this['_httpService'][_0xb8d7e7(0x306)](_0x5c0b6b,_0x54de47))['body'];if(typeof _0xc8c4ce[_0xb8d7e7(0x47d)]!=_0xb8d7e7(0x294))return this[_0xb8d7e7(0x43d)](),Promise[_0xb8d7e7(0x26b)](new Error(z[_0xb8d7e7(0x479)][_0xb8d7e7(0x20e)]));_0x4cbb76=_0xc8c4ce[_0xb8d7e7(0x47d)];}catch{return this[_0xb8d7e7(0x43d)](),Promise['reject'](new Error(z[_0xb8d7e7(0x479)]['ERROR_IMAGE']));}return new Promise((_0x18fafc,_0x25c5b0)=>{const _0x5eccef=new FileReader();_0x5eccef['readAsDataURL'](_0x4919cd),_0x5eccef['onload']=_0x499835=>{var _0x2b89c0=_0x284f,_0x12e8f3;const _0x17e2a0=(_0x12e8f3=_0x499835[_0x2b89c0(0x2f1)])==null?void 0x0:_0x12e8f3[_0x2b89c0(0x243)];if(_0x17e2a0==null){this['_decreaseWaiting'](),_0x25c5b0(new Error(z[_0x2b89c0(0x479)][_0x2b89c0(0x20e)]));return;}const _0x4afaf1=a[_0x2b89c0(0x317)][_0x2b89c0(0x14e)](0x6);_0x18fafc({'imageId':_0x4afaf1,'imageSourceType':z['ImageSourceType'][_0x2b89c0(0x23a)],'source':_0x4cbb76,'base64Cache':_0x17e2a0,'status':z[_0x2b89c0(0x479)][_0x2b89c0(0x24d)]}),this[_0x2b89c0(0x43d)]();};});}[_0x72c010(0x1cc)](){var _0x21fc81=_0x72c010,_0x4ad9aa,_0x1eddf0;const _0x4a50f5=this[_0x21fc81(0x23d)]['getConfig'](dn),_0x158681=this[_0x21fc81(0x23d)][_0x21fc81(0x282)](K);return(_0x1eddf0=(_0x4ad9aa=_0x158681==null?void 0x0:_0x158681[_0x21fc81(0x408)])!=null?_0x4ad9aa:_0x4a50f5)!=null?_0x1eddf0:vn;}[_0x72c010(0x2c3)](){var _0x14ef96=_0x72c010,_0x1dbd84,_0x100fb9;const _0x134778=this[_0x14ef96(0x23d)]['getConfig'](Sn),_0x54bd6a=this[_0x14ef96(0x23d)][_0x14ef96(0x282)](K);return(_0x100fb9=(_0x1dbd84=_0x54bd6a==null?void 0x0:_0x54bd6a[_0x14ef96(0x162)])!=null?_0x1dbd84:_0x134778)!=null?_0x100fb9:fn;}[_0x72c010(0x293)](){var _0x208806=_0x72c010,_0x96b8b0;const _0x3a17ea=this[_0x208806(0x23d)][_0x208806(0x282)](K);return(_0x96b8b0=_0x3a17ea==null?void 0x0:_0x3a17ea[_0x208806(0x192)])!=null?_0x96b8b0:location['origin'];}['_replaceFileID'](_0x51f062,_0x259439){var _0x161168=_0x72c010;return _0x51f062[_0x161168(0x245)](_0x161168(0x2e6),_0x259439);}[_0x72c010(0x43d)](){var _0x534233=_0x72c010;this[_0x534233(0x414)]-=0x1,this[_0x534233(0x17b)][_0x534233(0x1fb)](this[_0x534233(0x414)]);}},exports[_0x72c010(0x26c)]=_n([Le(0x0,a[_0x72c010(0x21f)](Y[_0x72c010(0x48f)])),Le(0x1,a[_0x72c010(0x25f)]),Le(0x2,a[_0x72c010(0x21f)](a[_0x72c010(0x37f)]))],exports['CollaborationImageIoService']);var pn=Object['getOwnPropertyDescriptor'],In=(_0x2d0a44,_0x366edb,_0x49ea79,_0x54273c)=>{var _0x14ee00=_0x72c010;for(var _0x33a1be=_0x54273c>0x1?void 0x0:_0x54273c?pn(_0x366edb,_0x49ea79):_0x366edb,_0x1b1229=_0x2d0a44[_0x14ee00(0x2f9)]-0x1,_0x62f1ac;_0x1b1229>=0x0;_0x1b1229--)(_0x62f1ac=_0x2d0a44[_0x1b1229])&&(_0x33a1be=_0x62f1ac(_0x33a1be)||_0x33a1be);return _0x33a1be;},at=(_0x43654b,_0x1fb838)=>(_0x7dfdd8,_0x1b4c12)=>_0x1fb838(_0x7dfdd8,_0x1b4c12,_0x43654b);const gn=_0x72c010(0x3f1);exports[_0x72c010(0x466)]=class{constructor(_0x3b7795,_0x53302b){var _0x42c731=_0x72c010;this[_0x42c731(0x23d)]=_0x3b7795,this[_0x42c731(0x355)]=_0x53302b;}['_getAPIPrefixPath'](){var _0xcad381=_0x72c010,_0x32b254,_0x7f914e;const _0x248bae=this[_0xcad381(0x23d)][_0xcad381(0x282)](Ve),_0x1e3cdd=this[_0xcad381(0x23d)][_0xcad381(0x282)](K);return(_0x7f914e=(_0x32b254=_0x1e3cdd==null?void 0x0:_0x1e3cdd[_0xcad381(0x402)])!=null?_0x32b254:_0x248bae)!=null?_0x7f914e:gn;}async[_0x72c010(0x424)](_0x308044){var _0x3bc50c=_0x72c010;const _0x2e37dd=this[_0x3bc50c(0x488)]()+_0x3bc50c(0x3ec);return{'list':[{'title':_0x3bc50c(0x14f),'mentions':(await this[_0x3bc50c(0x355)][_0x3bc50c(0x4b7)](_0x2e37dd,{'params':{'objectID':_0x308044['unitId'],'unitID':_0x308044['unitId']}}))[_0x3bc50c(0x273)][_0x3bc50c(0x3ac)][_0x3bc50c(0x14c)](_0x219f34=>({'objectId':_0x219f34['id'],'name':_0x219f34['subject']['name'],'metadata':{'icon':_0x219f34['subject']['avatar']},'label':_0x219f34[_0x3bc50c(0x3fb)][_0x3bc50c(0x3a7)],'objectType':a[_0x3bc50c(0x47a)]['PERSON']})),'metadata':{},'type':a['MentionType']['PERSON']}]};}},exports[_0x72c010(0x466)]=In([at(0x0,a[_0x72c010(0x21f)](a[_0x72c010(0x25f)])),at(0x1,a[_0x72c010(0x21f)](Y[_0x72c010(0x48f)]))],exports[_0x72c010(0x466)]);var En=Object[_0x72c010(0x43c)],mn=(_0x566b57,_0x4423ad,_0x15ec1b,_0x3f0896)=>{for(var _0x5761d3=_0x3f0896>0x1?void 0x0:_0x3f0896?En(_0x4423ad,_0x15ec1b):_0x4423ad,_0x4514a8=_0x566b57['length']-0x1,_0x34ade7;_0x4514a8>=0x0;_0x4514a8--)(_0x34ade7=_0x566b57[_0x4514a8])&&(_0x5761d3=_0x34ade7(_0x5761d3)||_0x5761d3);return _0x5761d3;},le=(_0x54c72a,_0x28f808)=>(_0x3b83af,_0x491cb1)=>_0x28f808(_0x3b83af,_0x491cb1,_0x54c72a);let Ue=class extends a[_0x72c010(0x3d3)]{constructor(_0x160bcf,_0x20fb5d,_0x29aa8a,_0x209ff8,_0xaf1f7f){var _0x238ec=_0x72c010;super(),this[_0x238ec(0x39f)]=_0x160bcf,this[_0x238ec(0x286)]=_0x20fb5d,this[_0x238ec(0x328)]=_0x29aa8a,this[_0x238ec(0x335)]=_0x209ff8,this[_0x238ec(0x2b9)]=_0xaf1f7f,this[_0x238ec(0x1ba)](),this[_0x238ec(0x3dd)]();}[_0x72c010(0x3dd)](){var _0x50b535=_0x72c010;const _0xad7665=async _0x430285=>{var _0x46cd1e=_0x284f;(await this[_0x46cd1e(0x335)]['requireSession'](_0x430285))[_0x46cd1e(0x2d2)][_0x46cd1e(0x190)](V[_0x46cd1e(0x1cb)](_0x446725=>_0x446725[_0x46cd1e(0x249)]===I[_0x46cd1e(0x3b2)][_0x46cd1e(0x19d)]),V['takeUntil'](this[_0x46cd1e(0x1b8)]))[_0x46cd1e(0x184)](_0x30459f=>{var _0x22378c=_0x46cd1e;const _0x5bf653=_0x30459f,{reason:_0x1477db}=_0x5bf653[_0x22378c(0x35f)];this[_0x22378c(0x2b9)]['emitEvent']({'id':Z[_0x22378c(0x453)],'data':_0x1477db}),this[_0x22378c(0x328)]['updatePermissionPoint'](new X['WorkbookEditablePermission'](_0x430285)['id'],!0x1),this[_0x22378c(0x335)]['closeSession'](_0x430285);});};$['merge'](this[_0x50b535(0x286)][_0x50b535(0x354)](a[_0x50b535(0x30f)][_0x50b535(0x477)]),this[_0x50b535(0x286)][_0x50b535(0x354)](a[_0x50b535(0x30f)]['UNIVER_DOC']))[_0x50b535(0x190)](V[_0x50b535(0x14c)](_0x4a963d=>_0x4a963d[_0x50b535(0x233)]()),V['filter'](_0x568f4a=>!a['isInternalEditorID'](_0x568f4a)),V[_0x50b535(0x3eb)](this[_0x50b535(0x1b8)]))[_0x50b535(0x184)](_0x35a6ea=>{_0xad7665(_0x35a6ea);});}[_0x72c010(0x1ba)](){var _0x5ef3b8=_0x72c010;const _0x77e4e0=async _0xb728d3=>{var _0x42c713=_0x284f;const _0x587b8a=await this[_0x42c713(0x335)][_0x42c713(0x24e)](_0xb728d3),_0x186c00=this['_injector']['get'](X[_0x42c713(0x19c)]);_0x587b8a[_0x42c713(0x2d2)]['pipe'](V[_0x42c713(0x1cb)](_0x3f65eb=>_0x3f65eb[_0x42c713(0x249)]===I[_0x42c713(0x3b2)][_0x42c713(0x3a5)]),V[_0x42c713(0x3eb)](this[_0x42c713(0x1b8)]))['subscribe'](_0x444f1b=>{var _0x417798=_0x42c713;const _0x245812=_0x444f1b,{objectId:_0x49c1ae}=_0x245812[_0x417798(0x35f)];_0x49c1ae===_0xb728d3?_0x186c00[_0x417798(0x198)](_0xb728d3):_0x186c00[_0x417798(0x1dd)](_0xb728d3,_0x49c1ae);});};$[_0x5ef3b8(0x42f)](this[_0x5ef3b8(0x286)][_0x5ef3b8(0x354)](a[_0x5ef3b8(0x30f)][_0x5ef3b8(0x477)]))['pipe'](V[_0x5ef3b8(0x14c)](_0x38485b=>_0x38485b[_0x5ef3b8(0x233)]()),V['filter'](_0x4c12f7=>!a['isInternalEditorID'](_0x4c12f7)),V[_0x5ef3b8(0x3eb)](this['dispose$']))[_0x5ef3b8(0x184)](_0x5a671e=>{_0x77e4e0(_0x5a671e);});}};Ue=mn([le(0x0,a['Inject'](a['Injector'])),le(0x1,a[_0x72c010(0x37f)]),le(0x2,a[_0x72c010(0x3c4)]),le(0x3,a['Inject'](exports['CollaborationSessionService'])),le(0x4,a[_0x72c010(0x21f)](ee))],Ue);var Cn=Object[_0x72c010(0x43c)],Tn=(_0x1118f6,_0x5e0ead,_0x424bd9,_0xfcc9e8)=>{var _0x2234c4=_0x72c010;for(var _0x5e814f=_0xfcc9e8>0x1?void 0x0:_0xfcc9e8?Cn(_0x5e0ead,_0x424bd9):_0x5e0ead,_0x56ebde=_0x1118f6[_0x2234c4(0x2f9)]-0x1,_0x371329;_0x56ebde>=0x0;_0x56ebde--)(_0x371329=_0x1118f6[_0x56ebde])&&(_0x5e814f=_0x371329(_0x5e814f)||_0x5e814f);return _0x5e814f;},ct=(_0x239665,_0x2e15e8)=>(_0xb6577b,_0x326596)=>_0x2e15e8(_0xb6577b,_0x326596,_0x239665);exports[_0x72c010(0x3bf)]=class{constructor(_0x13c400,_0x4d3550){var _0x4b058c=_0x72c010;this['_configService']=_0x13c400,this[_0x4b058c(0x1ec)]=_0x4d3550;}async[_0x72c010(0x349)](_0x54293e,_0x43cfab){var _0x245009=_0x72c010,_0x3b42cc;const {unitID:_0x4b8d4c,type:_0x920dc6,revision:_0x5ee9fe=0x0}=_0x43cfab,_0x1c0761=this['getSnapshotAPIPath']()+'/'+_0x920dc6+_0x245009(0x158)+_0x4b8d4c+_0x245009(0x446)+_0x5ee9fe,_0x13e87c=(await this['_httpService'][_0x245009(0x4b7)](_0x1c0761))['body'],_0x1c314e=(_0x3b42cc=_0x13e87c[_0x245009(0x26f)])==null?void 0x0:_0x3b42cc['workbook'];if(_0x1c314e){const _0x200bf0=_0x1c314e==null?void 0x0:_0x1c314e[_0x245009(0x450)],_0x3ffb18=I[_0x245009(0x2e0)][_0x245009(0x322)](I[_0x245009(0x2b2)](_0x200bf0));_0x1c314e[_0x245009(0x450)]=_0x3ffb18,Object['entries'](_0x1c314e[_0x245009(0x3c1)])[_0x245009(0x292)](([,_0x395e03])=>{var _0x4e45fe=_0x245009;const _0xac8a86=_0x395e03['originalMeta'],_0x1673b5=I['textEncoder'][_0x4e45fe(0x322)](I[_0x4e45fe(0x2b2)](_0xac8a86));_0x395e03[_0x4e45fe(0x450)]=_0x1673b5;});}return _0x13e87c;}async['getSheetBlock'](_0x1ce070,_0x2faffa){var _0x128d2c=_0x72c010;const {unitID:_0x8a102e,type:_0x28da0a,blockID:_0x2cf52f}=_0x2faffa,_0x4a5973=this[_0x128d2c(0x177)]()+'/'+_0x28da0a+_0x128d2c(0x158)+_0x8a102e+_0x128d2c(0x14b)+_0x2cf52f;return(await this[_0x128d2c(0x1ec)]['get'](_0x4a5973))[_0x128d2c(0x273)];}async['getDeserializedSheetBlock'](_0x1a560b,_0x451e00){var _0x1fd964=_0x72c010;const {unitID:_0x5e0af7,type:_0xd7199d,blockID:_0x4b8769}=_0x451e00,_0x543a5b=this['_getAPIPrefix']()+_0x1fd964(0x14b)+_0xd7199d+_0x1fd964(0x158)+_0x5e0af7+'/block/'+_0x4b8769;return(await this[_0x1fd964(0x1ec)]['get'](_0x543a5b))[_0x1fd964(0x273)];}async['fetchMissingChangesets'](_0x817c8d,_0x3eac85){var _0x299e5a=_0x72c010;const {unitID:_0x484238,type:_0x486a74,from:_0x41a64c,to:_0x5d5742}=_0x3eac85,_0xbd62db=this['_getAPIPrefix']()+'/'+_0x486a74+_0x299e5a(0x158)+_0x484238+_0x299e5a(0x40c)+_0x41a64c+'&to='+_0x5d5742;return(await this[_0x299e5a(0x1ec)][_0x299e5a(0x4b7)](_0xbd62db))['body'];}['getSnapshotAPIPath'](){var _0x6bbbe3=_0x72c010,_0x3584f2;return(_0x3584f2=this['_configService'][_0x6bbbe3(0x282)](lt))!=null?_0x3584f2:this[_0x6bbbe3(0x177)]();}['_getAPIPrefix'](){var _0x2d84be=_0x72c010,_0x3dc4c9,_0x563e3e;const _0x69f758=this[_0x2d84be(0x23d)][_0x2d84be(0x282)](_t),_0x2685f4=this[_0x2d84be(0x23d)][_0x2d84be(0x282)](K);return(_0x563e3e=(_0x3dc4c9=_0x2685f4==null?void 0x0:_0x2685f4['snapshotServerUrl'])!=null?_0x3dc4c9:_0x69f758)!=null?_0x563e3e:Lt;}async['getResourcesRequest'](_0x3784d7,_0x4c6c71){var _0x2b40fa=_0x72c010;const _0x113fa3=_0x2b40fa(0x2b0)+_0x4c6c71[_0x2b40fa(0x37b)]+_0x2b40fa(0x158)+_0x4c6c71[_0x2b40fa(0x4af)]+'/resources';return(await this[_0x2b40fa(0x1ec)][_0x2b40fa(0x4b7)](_0x113fa3,{'params':{'resourceId':JSON[_0x2b40fa(0x45a)](_0x4c6c71['resourceIDs'])}}))[_0x2b40fa(0x273)];}['saveSnapshot'](){var _0x383a9e=_0x72c010;throw new Error(_0x383a9e(0x382));}[_0x72c010(0x17c)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x72c010(0x41d)](){var _0x5f8a79=_0x72c010;throw new Error(_0x5f8a79(0x382));}[_0x72c010(0x3d9)](){var _0x18f69b=_0x72c010;throw new Error(_0x18f69b(0x382));}[_0x72c010(0x3cf)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){var _0x57efc9=_0x72c010;throw new Error(_0x57efc9(0x382));}},exports['SnapshotServerOverHTTPService']=Tn([ct(0x0,a[_0x72c010(0x25f)]),ct(0x1,a[_0x72c010(0x21f)](Y[_0x72c010(0x48f)]))],exports[_0x72c010(0x3bf)]);var bn=Object[_0x72c010(0x43c)],Rn=(_0x24d027,_0x47eb1f,_0x5f01ee,_0x4c67a7)=>{var _0x52d0c3=_0x72c010;for(var _0x4e7957=_0x4c67a7>0x1?void 0x0:_0x4c67a7?bn(_0x47eb1f,_0x5f01ee):_0x47eb1f,_0x1bda51=_0x24d027[_0x52d0c3(0x2f9)]-0x1,_0x4489fb;_0x1bda51>=0x0;_0x1bda51--)(_0x4489fb=_0x24d027[_0x1bda51])&&(_0x4e7957=_0x4489fb(_0x4e7957)||_0x4e7957);return _0x4e7957;},ue=(_0x18db11,_0x4ee89a)=>(_0x306338,_0x72a183)=>_0x4ee89a(_0x306338,_0x72a183,_0x18db11);exports[_0x72c010(0x32c)]=class extends a['LocalUndoRedoService']{constructor(_0x16c22b,_0x558273,_0x54ec09,_0x1f318f,_0x35cf26){var _0x4a9d0d=_0x72c010;super(_0x16c22b,_0x558273,_0x54ec09),this[_0x4a9d0d(0x253)]=_0x1f318f,this[_0x4a9d0d(0x452)]=_0x35cf26;}['transformUndoRedo'](_0x12d43c,_0x440810){var _0x5a736c=_0x72c010;const _0x236ee8=this[_0x5a736c(0x3d7)](_0x12d43c);if(_0x236ee8)try{const _0x16ba74=this['_transformStack'](_0x236ee8,_0x440810);this[_0x5a736c(0x2e8)](_0x12d43c,_0x16ba74);}catch(_0x5d9d7f){this['_logService'][_0x5a736c(0x2e5)](_0x5a736c(0x3f7),_0x5d9d7f),this['_clearUndo'](_0x12d43c);}const _0x4c166c=this[_0x5a736c(0x474)](_0x12d43c);if(_0x4c166c)try{const _0x1731e7=this['_transformStack'](_0x4c166c,_0x440810);this[_0x5a736c(0x32a)](_0x12d43c,_0x1731e7);}catch(_0x2dad90){this['_logService'][_0x5a736c(0x2e5)](_0x2dad90),this[_0x5a736c(0x49f)](_0x12d43c);}}['_clearUndo'](_0x285164){var _0x5beca1=_0x72c010;const _0x7600f4=this['_getUndoStack'](_0x285164);_0x7600f4&&(_0x7600f4[_0x5beca1(0x2f9)]=0x0,this['_updateStatus']());}[_0x72c010(0x49f)](_0x3e2ae4){var _0x222fa5=_0x72c010;const _0x32a998=this[_0x222fa5(0x474)](_0x3e2ae4);_0x32a998&&(_0x32a998[_0x222fa5(0x2f9)]=0x0,this[_0x222fa5(0x387)]());}['_substituteUndoStack'](_0x253a7f,_0x509ee8){var _0x526c55=_0x72c010;this[_0x526c55(0x223)]['set'](_0x253a7f,_0x509ee8),this[_0x526c55(0x387)]();}[_0x72c010(0x32a)](_0x271c2d,_0x1eae2b){var _0x3bb5c4=_0x72c010;this[_0x3bb5c4(0x323)][_0x3bb5c4(0x268)](_0x271c2d,_0x1eae2b),this[_0x3bb5c4(0x387)]();}[_0x72c010(0x3ff)](_0x34c0a2,_0x406513){var _0x5e0123=_0x72c010;const _0x5a7594=[];let _0x5451b3=_0x406513,_0x23e3a5=_0x406513;for(let _0x5b67e1=_0x34c0a2[_0x5e0123(0x2f9)]-0x1;_0x5b67e1>=0x0;_0x5b67e1--){const {unitID:_0x209af4,undoMutations:_0x17ff39,redoMutations:_0x551449}=_0x34c0a2[_0x5b67e1],_0x33967a=this[_0x5e0123(0x253)][_0x5e0123(0x2f0)](_0x5451b3,_0x17ff39),_0x192125=this['_transformService'][_0x5e0123(0x2f0)](_0x23e3a5,_0x551449);if(I['isTransformMutationsWithChangesetFailure'](_0x33967a)||I['isTransformMutationsWithChangesetFailure'](_0x192125)){this[_0x5e0123(0x452)][_0x5e0123(0x2e5)](_0x5e0123(0x3f7),_0x5e0123(0x35a),_0x33967a,_0x192125);break;}_0x5451b3=_0x33967a[_0x5e0123(0x2af)],_0x23e3a5=_0x192125[_0x5e0123(0x2af)],_0x5a7594[_0x5e0123(0x41b)]({'unitID':_0x209af4,'undoMutations':_0x33967a['m2Prime'],'redoMutations':_0x192125[_0x5e0123(0x4a6)]});}return _0x5a7594['reverse']();}},exports[_0x72c010(0x32c)]=Rn([ue(0x0,a['IUniverInstanceService']),ue(0x1,a[_0x72c010(0x287)]),ue(0x2,a[_0x72c010(0x4ac)]),ue(0x3,I[_0x72c010(0x170)]),ue(0x4,a[_0x72c010(0x36f)])],exports[_0x72c010(0x32c)]);var On=Object[_0x72c010(0x210)],yn=Object[_0x72c010(0x43c)],Nn=(_0x31549e,_0x3c610b,_0x32e5c9)=>_0x3c610b in _0x31549e?On(_0x31549e,_0x3c610b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x32e5c9}):_0x31549e[_0x3c610b]=_0x32e5c9,Un=(_0x57a53b,_0x459b16,_0x43e293,_0x2a7be6)=>{for(var _0x3e6f39=_0x2a7be6>0x1?void 0x0:_0x2a7be6?yn(_0x459b16,_0x43e293):_0x459b16,_0x17d390=_0x57a53b['length']-0x1,_0xdd65ae;_0x17d390>=0x0;_0x17d390--)(_0xdd65ae=_0x57a53b[_0x17d390])&&(_0x3e6f39=_0xdd65ae(_0x3e6f39)||_0x3e6f39);return _0x3e6f39;},Me=(_0x469291,_0x327871)=>(_0x9415c4,_0x35d68e)=>_0x327871(_0x9415c4,_0x35d68e,_0x469291),Dn=(_0x471bd3,_0x47ae9c,_0xdfa002)=>Nn(_0x471bd3,_0x47ae9c+'',_0xdfa002);const An=_0x72c010(0x2ab);exports[_0x72c010(0x149)]=class extends a[_0x72c010(0x200)]{constructor(_0x243d24,_0x2311a5,_0x3db181,_0x48fc9b){var _0x471d07=_0x72c010;super(),A(this,'_config'),(this['_logService']=_0x2311a5,this[_0x471d07(0x39f)]=_0x3db181,this[_0x471d07(0x23d)]=_0x48fc9b);const {..._0x3900e3}=a[_0x471d07(0x42f)]({},Yt,_0x243d24);if(!_0x3900e3['socketService'])throw new Error(_0x471d07(0x385));this[_0x471d07(0x224)]=_0x3900e3,this[_0x471d07(0x23d)][_0x471d07(0x2ec)](K,_0x3900e3);}[_0x72c010(0x27b)](){var _0x493cb9=_0x72c010;this['_registerDependencies'](),this[_0x493cb9(0x3c7)]();}[_0x72c010(0x19f)](){var _0x23c1fe=_0x72c010,_0x15e540,_0x12bf25;this[_0x23c1fe(0x39f)][_0x23c1fe(0x257)](a[_0x23c1fe(0x34c)])&&this[_0x23c1fe(0x452)]['error'](_0x23c1fe(0x3c6),_0x23c1fe(0x310));const _0x316449=a[_0x23c1fe(0x34d)]([[a[_0x23c1fe(0x34c)],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x23c1fe(0x3f8)]],[exports[_0x23c1fe(0x29b)]],[exports[_0x23c1fe(0x1a1)]],[ye],[Ne],[$e],[Ue],[ee],[exports[_0x23c1fe(0x35e)]],[He,{'useClass':this[_0x23c1fe(0x224)][_0x23c1fe(0x171)]}],[I[_0x23c1fe(0x3e1)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x23c1fe(0x333)],{'useClass':exports[_0x23c1fe(0x3c8)]}],[z[_0x23c1fe(0x29a)],{'useClass':exports['CollaborationImageIoService']}],[a['IMentionIOService'],{'useClass':exports[_0x23c1fe(0x466)]}],[exports[_0x23c1fe(0x372)]],[xe]],(_0x15e540=this[_0x23c1fe(0x224)])==null?void 0x0:_0x15e540[_0x23c1fe(0x187)]);if(!((_0x12bf25=this[_0x23c1fe(0x224)])!=null&&_0x12bf25['enableSingleActiveInstanceLock'])){const _0x12523c=_0x316449[_0x23c1fe(0x29d)](([_0x3a11c2])=>_0x3a11c2===de);_0x12523c!==-0x1&&_0x316449[_0x23c1fe(0x272)](_0x12523c,0x1);}a[_0x23c1fe(0x2d8)](this[_0x23c1fe(0x39f)],_0x316449);}[_0x72c010(0x3c7)](){var _0x54525c=_0x72c010,_0x90601f,_0x2b927d,_0x5b939e;this['_injector']['get'](Y[_0x54525c(0x48f)])[_0x54525c(0x3e4)]({'priority':0x14,'interceptor':Y['ThresholdInterceptorFactory']({'maxParallel':0x6})}),(_0x90601f=this[_0x54525c(0x224)])!=null&&_0x90601f[_0x54525c(0x1da)]||(_0x2b927d=this[_0x54525c(0x39f)][_0x54525c(0x4b7)](q,a[_0x54525c(0x313)][_0x54525c(0x240)]))==null||_0x2b927d[_0x54525c(0x45e)](),(_0x5b939e=this[_0x54525c(0x224)])!=null&&_0x5b939e['enableAuthServer']&&a['touchDependencies'](this[_0x54525c(0x39f)],[[ye]]),a[_0x54525c(0x439)](this[_0x54525c(0x39f)],[[Ne],[exports[_0x54525c(0x372)]],[Ue]]);}},Dn(exports[_0x72c010(0x149)],_0x72c010(0x361),An),exports['UniverCollaborationClientPlugin']=Un([a[_0x72c010(0x34e)](I['UniverCollaborationPlugin'],Y['UniverNetworkPlugin']),Me(0x1,a[_0x72c010(0x36f)]),Me(0x2,a[_0x72c010(0x21f)](a[_0x72c010(0x15c)])),Me(0x3,a[_0x72c010(0x25f)])],exports['UniverCollaborationClientPlugin']),exports[_0x72c010(0x3a3)]=Ve,exports[_0x72c010(0x183)]=K,exports[_0x72c010(0x456)]=pt,exports[_0x72c010(0x3dc)]=ut,exports[_0x72c010(0x14d)]=Be,exports[_0x72c010(0x15a)]=Z,exports[_0x72c010(0x14a)]=ee,exports[_0x72c010(0x204)]=$e,exports[_0x72c010(0x2c7)]=dt,exports[_0x72c010(0x4ae)]=Kt,exports[_0x72c010(0x299)]=kt,exports[_0x72c010(0x2a4)]=vt,exports['HEARTBEAT_TIMEOUT_KEY']=ke,exports['ICollaborationSocketService']=He,exports['ILocalCacheService']=q,exports[_0x72c010(0x31c)]=mt,exports[_0x72c010(0x281)]=de,exports[_0x72c010(0x4b3)]=Ft,exports[_0x72c010(0x201)]=Bt,exports[_0x72c010(0x371)]=It,exports[_0x72c010(0x289)]=Gt,exports[_0x72c010(0x255)]=ft,exports['SEND_CHANGESET_TIMEOUT_KEY']=Mt,exports[_0x72c010(0x250)]=_t,exports[_0x72c010(0x1f0)]=lt,exports[_0x72c010(0x266)]=re,exports['UnitStatus']=je,exports[_0x72c010(0x388)]=Ct,exports['getLocalCacheKey']=oi,exports[_0x72c010(0x26a)]=Tt;
|